diff --git a/dev/prod/src/platform.ts b/dev/prod/src/platform.ts
index e3fb41130c..7a40946c79 100644
--- a/dev/prod/src/platform.ts
+++ b/dev/prod/src/platform.ts
@@ -87,6 +87,5 @@ export async function configurePlatform() {
addLocation(imageCropperId, () => import(/* webpackChunkName: "image-cropper" */ '@anticrm/image-cropper-resources'))
addLocation(inventoryId, () => import(/* webpackChunkName: "inventory" */ '@anticrm/inventory-resources'))
addLocation(templatesId, () => import(/* webpackChunkName: "templates" */ '@anticrm/templates-resources'))
- addLocation(templatesId, () => import(/* webpackChunkName: "templates" */ '@anticrm/templates-resources'))
addLocation(notificationId, () => import(/* webpackChunkName: "notification" */ '@anticrm/notification-resources'))
}
diff --git a/packages/ui/src/components/Component.svelte b/packages/ui/src/components/Component.svelte
index 76e0244d92..9c62c4e69f 100644
--- a/packages/ui/src/components/Component.svelte
+++ b/packages/ui/src/components/Component.svelte
@@ -33,7 +33,7 @@
{:then Ctor}
-
+
diff --git a/plugins/lead-resources/package.json b/plugins/lead-resources/package.json
index d848abcfd5..2b224857a8 100644
--- a/plugins/lead-resources/package.json
+++ b/plugins/lead-resources/package.json
@@ -40,11 +40,9 @@
"@anticrm/contact": "~0.6.2",
"@anticrm/view": "~0.6.0",
"@anticrm/task": "~0.6.0",
- "@anticrm/task-resources": "~0.6.0",
"@anticrm/view-resources": "~0.6.0",
"@anticrm/attachment-resources": "~0.6.0",
"@anticrm/contact-resources": "~0.6.0",
- "@anticrm/chunter-resources": "~0.6.0",
- "@anticrm/workbench-resources": "~0.6.1"
+ "@anticrm/chunter-resources": "~0.6.0"
}
}
diff --git a/plugins/lead-resources/src/components/CreateFunnel.svelte b/plugins/lead-resources/src/components/CreateFunnel.svelte
index 3c0042ff2e..c42f7a2da0 100644
--- a/plugins/lead-resources/src/components/CreateFunnel.svelte
+++ b/plugins/lead-resources/src/components/CreateFunnel.svelte
@@ -16,11 +16,10 @@
-
-
-
- {#if tasks.length > 0}
-
- {:else}
-
- {/if}
-
-
-
diff --git a/plugins/task-resources/src/components/kanban/KanbanTemplateSelector.svelte b/plugins/task-resources/src/components/kanban/KanbanTemplateSelector.svelte
index 304ffd01cf..794c78190e 100644
--- a/plugins/task-resources/src/components/kanban/KanbanTemplateSelector.svelte
+++ b/plugins/task-resources/src/components/kanban/KanbanTemplateSelector.svelte
@@ -15,10 +15,11 @@
diff --git a/plugins/task-resources/src/index.ts b/plugins/task-resources/src/index.ts
index ed0392da70..5065fdeda1 100644
--- a/plugins/task-resources/src/index.ts
+++ b/plugins/task-resources/src/index.ts
@@ -38,9 +38,8 @@ import TodoItemPresenter from './components/todos/TodoItemPresenter.svelte'
import Todos from './components/todos/Todos.svelte'
import TodoStatePresenter from './components/todos/TodoStatePresenter.svelte'
-export { default as KanbanTemplateEditor } from './components/kanban/KanbanTemplateEditor.svelte'
-export { default as KanbanTemplateSelector } from './components/kanban/KanbanTemplateSelector.svelte'
-export { default as Tasks } from './components/Tasks.svelte'
+import KanbanTemplateEditor from './components/kanban/KanbanTemplateEditor.svelte'
+import KanbanTemplateSelector from './components/kanban/KanbanTemplateSelector.svelte'
async function createTask (object: Doc): Promise {
showPopup(CreateTask, { parent: object._id, space: object.space })
@@ -142,7 +141,9 @@ export default async (): Promise => ({
TodoStatePresenter,
StatusTableView,
TaskHeader,
- DoneStateEditor
+ DoneStateEditor,
+ KanbanTemplateEditor,
+ KanbanTemplateSelector
},
actionImpl: {
CreateTask: createTask,
diff --git a/plugins/task/src/index.ts b/plugins/task/src/index.ts
index 18200eb9f9..e96b4083a5 100644
--- a/plugins/task/src/index.ts
+++ b/plugins/task/src/index.ts
@@ -220,6 +220,10 @@ const task = plugin(taskId, {
space: {
ProjectTemplates: '' as Ref,
Sequence: '' as Ref
+ },
+ component: {
+ KanbanTemplateEditor: '' as AnyComponent,
+ KanbanTemplateSelector: '' as AnyComponent
}
})
diff --git a/plugins/templates-resources/package.json b/plugins/templates-resources/package.json
index b87b4da59d..00a46e0c51 100644
--- a/plugins/templates-resources/package.json
+++ b/plugins/templates-resources/package.json
@@ -37,9 +37,6 @@
"@anticrm/ui": "~0.6.0",
"@anticrm/presentation": "~0.6.2",
"@anticrm/text-editor": "~0.6.0",
- "@anticrm/setting": "~0.6.0",
- "@anticrm/chunter": "~0.6.0",
- "@anticrm/chunter-resources": "~0.6.0",
"@anticrm/core": "~0.6.11",
"@anticrm/view-resources": "~0.6.0"
}
diff --git a/plugins/templates-resources/src/components/TemplatePopup.svelte b/plugins/templates-resources/src/components/TemplatePopup.svelte
index 7119c7a03e..8913f510c9 100644
--- a/plugins/templates-resources/src/components/TemplatePopup.svelte
+++ b/plugins/templates-resources/src/components/TemplatePopup.svelte
@@ -17,9 +17,8 @@
import { createQuery } from '@anticrm/presentation'
import { MessageTemplate } from '@anticrm/templates'
import { TextEditorHandler } from '@anticrm/text-editor'
- import { closePopup, EditWithIcon, IconSearch, Label, ScrollBox } from '@anticrm/ui'
+ import { closePopup, EditWithIcon, IconSearch, Label } from '@anticrm/ui'
import templates from '../plugin'
- import TemplateElement from './TemplateElement.svelte'
export let editor: TextEditorHandler
let items: MessageTemplate[] = []
diff --git a/plugins/templates-resources/src/components/Templates.svelte b/plugins/templates-resources/src/components/Templates.svelte
index ee5b265605..0356c037c0 100644
--- a/plugins/templates-resources/src/components/Templates.svelte
+++ b/plugins/templates-resources/src/components/Templates.svelte
@@ -3,7 +3,7 @@
import { getClient, LiveQuery, MessageViewer } from '@anticrm/presentation'
import { MessageTemplate } from '@anticrm/templates'
import { StyledTextEditor } from '@anticrm/text-editor'
- import { Button, CircleButton, EditBox, Icon, IconAdd, Label, ScrollBox } from '@anticrm/ui'
+ import { Button, CircleButton, EditBox, Icon, IconAdd, Label } from '@anticrm/ui'
import templatesPlugin from '../plugin'
import TemplateElement from './TemplateElement.svelte'
diff --git a/plugins/templates/package.json b/plugins/templates/package.json
index a020ec7d25..7c8bbfb4d8 100644
--- a/plugins/templates/package.json
+++ b/plugins/templates/package.json
@@ -28,7 +28,6 @@
"dependencies": {
"@anticrm/platform": "~0.6.5",
"@anticrm/core": "~0.6.11",
- "@anticrm/ui": "~0.6.0",
- "@anticrm/setting": "~0.6.0"
+ "@anticrm/ui": "~0.6.0"
}
}