@dxos/plugin-kanban 0.8.4-main.abd8ff62ef → 0.8.4-main.bc2380dfbc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +102 -5
- package/README.md +1 -1
- package/dist/lib/neutral/KanbanArticle-NEJ3LNBO.mjs +132 -0
- package/dist/lib/neutral/KanbanArticle-NEJ3LNBO.mjs.map +7 -0
- package/dist/lib/neutral/KanbanPlugin.mjs +36 -0
- package/dist/lib/neutral/KanbanPlugin.mjs.map +7 -0
- package/dist/lib/neutral/KanbanPlugin.node.mjs +27 -0
- package/dist/lib/neutral/KanbanPlugin.node.mjs.map +7 -0
- package/dist/lib/neutral/KanbanPlugin.workerd.mjs +21 -0
- package/dist/lib/neutral/KanbanPlugin.workerd.mjs.map +7 -0
- package/dist/lib/neutral/KanbanSettings-G6M47NSK.mjs +83 -0
- package/dist/lib/neutral/KanbanSettings-G6M47NSK.mjs.map +7 -0
- package/dist/lib/neutral/blueprint-definition-FHVIEKTQ.mjs +15 -0
- package/dist/lib/neutral/blueprint-definition-FHVIEKTQ.mjs.map +7 -0
- package/dist/lib/neutral/blueprints/index.mjs +8 -0
- package/dist/lib/neutral/capabilities/index.mjs +19 -0
- package/dist/lib/neutral/capabilities/index.mjs.map +7 -0
- package/dist/lib/neutral/chunk-6FPBLOS3.mjs +8 -0
- package/dist/lib/neutral/chunk-6FPBLOS3.mjs.map +7 -0
- package/dist/lib/{browser/index.mjs → neutral/chunk-KDPM77BD.mjs} +1 -9
- package/dist/lib/neutral/chunk-KDPM77BD.mjs.map +7 -0
- package/dist/lib/neutral/chunk-OQ72EEGU.mjs +254 -0
- package/dist/lib/neutral/chunk-OQ72EEGU.mjs.map +7 -0
- package/dist/lib/{browser/blueprints/index.mjs → neutral/chunk-ZTQW5KQS.mjs} +3 -4
- package/dist/lib/{browser/blueprints/index.mjs.map → neutral/chunk-ZTQW5KQS.mjs.map} +2 -2
- package/dist/lib/neutral/components/index.mjs +243 -0
- package/dist/lib/neutral/components/index.mjs.map +7 -0
- package/dist/lib/neutral/containers/index.mjs +11 -0
- package/dist/lib/neutral/containers/index.mjs.map +7 -0
- package/dist/lib/neutral/create-object-DKBSI46K.mjs +40 -0
- package/dist/lib/neutral/create-object-DKBSI46K.mjs.map +7 -0
- package/dist/lib/{browser/delete-card-7OSCNCW2.mjs → neutral/delete-card-356CBACE.mjs} +4 -4
- package/dist/lib/neutral/delete-card-356CBACE.mjs.map +7 -0
- package/dist/lib/{browser/delete-card-field-NSB2RE3Z.mjs → neutral/delete-card-field-IRCZL2BR.mjs} +4 -4
- package/dist/lib/neutral/delete-card-field-IRCZL2BR.mjs.map +7 -0
- package/dist/lib/neutral/hooks/index.mjs +432 -0
- package/dist/lib/neutral/hooks/index.mjs.map +7 -0
- package/dist/lib/neutral/index.mjs +34 -0
- package/dist/lib/neutral/index.mjs.map +7 -0
- package/dist/lib/neutral/meta.json +1 -0
- package/dist/lib/neutral/meta.mjs +8 -0
- package/dist/lib/neutral/meta.mjs.map +7 -0
- package/dist/lib/neutral/migrations-IWBT35UT.mjs +31 -0
- package/dist/lib/neutral/migrations-IWBT35UT.mjs.map +7 -0
- package/dist/lib/neutral/operation-handler-B7IW6MXU.mjs +13 -0
- package/dist/lib/neutral/operation-handler-B7IW6MXU.mjs.map +7 -0
- package/dist/lib/neutral/operations/index.mjs +8 -0
- package/dist/lib/neutral/operations/index.mjs.map +7 -0
- package/dist/lib/neutral/plugin.mjs +16 -0
- package/dist/lib/neutral/plugin.mjs.map +7 -0
- package/dist/lib/neutral/react-surface-QROEHBRW.mjs +93 -0
- package/dist/lib/neutral/react-surface-QROEHBRW.mjs.map +7 -0
- package/dist/lib/{browser/restore-card-FO3WERIE.mjs → neutral/restore-card-P25Y4YSE.mjs} +4 -4
- package/dist/lib/neutral/restore-card-P25Y4YSE.mjs.map +7 -0
- package/dist/lib/{browser/restore-card-field-U5XYEEOW.mjs → neutral/restore-card-field-NHR3R4XI.mjs} +4 -4
- package/dist/lib/neutral/restore-card-field-NHR3R4XI.mjs.map +7 -0
- package/dist/lib/neutral/testing/index.mjs +60 -0
- package/dist/lib/neutral/testing/index.mjs.map +7 -0
- package/dist/lib/neutral/types/index.mjs +22 -0
- package/dist/lib/neutral/types/index.mjs.map +7 -0
- package/dist/lib/neutral/undo-mappings-6CHW6BOF.mjs +42 -0
- package/dist/lib/neutral/undo-mappings-6CHW6BOF.mjs.map +7 -0
- package/dist/types/src/KanbanPlugin.d.ts.map +1 -1
- package/dist/types/src/KanbanPlugin.node.d.ts.map +1 -1
- package/dist/types/src/KanbanPlugin.workerd.d.ts +4 -0
- package/dist/types/src/KanbanPlugin.workerd.d.ts.map +1 -0
- package/dist/types/src/capabilities/artifact-definition.d.ts.map +1 -1
- package/dist/types/src/capabilities/create-object.d.ts +11 -0
- package/dist/types/src/capabilities/create-object.d.ts.map +1 -0
- package/dist/types/src/capabilities/index.d.ts +6 -0
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/migrations.d.ts +2 -1
- package/dist/types/src/capabilities/migrations.d.ts.map +1 -1
- package/dist/types/src/components/KanbanBoard/KanbanBoard.d.ts +3 -23
- package/dist/types/src/components/KanbanBoard/KanbanBoard.d.ts.map +1 -1
- package/dist/types/src/components/KanbanBoard/KanbanBoard.stories.d.ts.map +1 -1
- package/dist/types/src/components/KanbanBoard/KanbanCard.d.ts +2 -3
- package/dist/types/src/components/KanbanBoard/KanbanCard.d.ts.map +1 -1
- package/dist/types/src/components/KanbanBoard/KanbanColumn.d.ts +2 -3
- package/dist/types/src/components/KanbanBoard/KanbanColumn.d.ts.map +1 -1
- package/dist/types/src/components/KanbanBoard/context.d.ts +38 -0
- package/dist/types/src/components/KanbanBoard/context.d.ts.map +1 -0
- package/dist/types/src/containers/KanbanArticle/KanbanArticle.d.ts +6 -0
- package/dist/types/src/containers/KanbanArticle/KanbanArticle.d.ts.map +1 -0
- package/dist/types/src/containers/{KanbanContainer/KanbanContainer.stories.d.ts → KanbanArticle/KanbanArticle.stories.d.ts} +1 -1
- package/dist/types/src/containers/KanbanArticle/KanbanArticle.stories.d.ts.map +1 -0
- package/dist/types/src/containers/KanbanArticle/index.d.ts +2 -0
- package/dist/types/src/containers/KanbanArticle/index.d.ts.map +1 -0
- package/dist/types/src/containers/index.d.ts +1 -1
- package/dist/types/src/containers/index.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +3 -2
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/operations/delete-card-field.d.ts +2 -2
- package/dist/types/src/operations/delete-card-field.d.ts.map +1 -1
- package/dist/types/src/operations/delete-card.d.ts +2 -2
- package/dist/types/src/operations/delete-card.d.ts.map +1 -1
- package/dist/types/src/operations/index.d.ts +0 -1
- package/dist/types/src/operations/index.d.ts.map +1 -1
- package/dist/types/src/operations/restore-card-field.d.ts +2 -2
- package/dist/types/src/operations/restore-card-field.d.ts.map +1 -1
- package/dist/types/src/operations/restore-card.d.ts +2 -2
- package/dist/types/src/operations/restore-card.d.ts.map +1 -1
- package/dist/types/src/plugin.d.ts +4 -0
- package/dist/types/src/plugin.d.ts.map +1 -0
- package/dist/types/src/types/Kanban.d.ts +1 -2
- package/dist/types/src/types/Kanban.d.ts.map +1 -1
- package/dist/types/src/{operations/definitions.d.ts → types/KanbanOperation.d.ts} +1 -1
- package/dist/types/src/types/KanbanOperation.d.ts.map +1 -0
- package/dist/types/src/types/index.d.ts +2 -1
- package/dist/types/src/types/index.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +101 -73
- package/src/KanbanPlugin.node.ts +3 -37
- package/src/KanbanPlugin.tsx +11 -38
- package/src/KanbanPlugin.workerd.ts +18 -0
- package/src/capabilities/artifact-definition.ts +3 -4
- package/src/capabilities/create-object.ts +40 -0
- package/src/capabilities/index.ts +1 -0
- package/src/capabilities/migrations.ts +3 -3
- package/src/capabilities/react-surface.tsx +3 -4
- package/src/capabilities/undo-mappings.ts +1 -1
- package/src/components/KanbanBoard/KanbanBoard.stories.tsx +1 -2
- package/src/components/KanbanBoard/KanbanBoard.tsx +13 -47
- package/src/components/KanbanBoard/KanbanCard.tsx +75 -72
- package/src/components/KanbanBoard/KanbanColumn.tsx +9 -8
- package/src/components/KanbanBoard/context.ts +54 -0
- package/src/containers/{KanbanContainer/KanbanContainer.stories.tsx → KanbanArticle/KanbanArticle.stories.tsx} +9 -8
- package/src/containers/{KanbanContainer/KanbanContainer.tsx → KanbanArticle/KanbanArticle.tsx} +8 -8
- package/src/containers/KanbanArticle/index.ts +5 -0
- package/src/containers/index.ts +1 -1
- package/src/hooks/useKanbanBoardModel.browser.test.ts +1 -2
- package/src/index.ts +3 -6
- package/src/operations/delete-card-field.ts +2 -2
- package/src/operations/delete-card.ts +2 -2
- package/src/operations/index.ts +0 -2
- package/src/operations/restore-card-field.ts +2 -2
- package/src/operations/restore-card.ts +2 -2
- package/src/playwright/smoke.spec.ts +3 -3
- package/src/plugin.ts +11 -0
- package/src/types/Kanban.ts +1 -2
- package/src/{operations/definitions.ts → types/KanbanOperation.ts} +4 -0
- package/src/types/index.ts +3 -1
- package/src/types/migrations.test.ts +2 -3
- package/src/types/schema.ts +1 -1
- package/src/util/arrangement.test.ts +1 -2
- package/dist/lib/browser/chunk-T32TEM55.mjs +0 -105
- package/dist/lib/browser/chunk-T32TEM55.mjs.map +0 -7
- package/dist/lib/browser/delete-card-7OSCNCW2.mjs.map +0 -7
- package/dist/lib/browser/delete-card-field-NSB2RE3Z.mjs.map +0 -7
- package/dist/lib/browser/index.mjs.map +0 -7
- package/dist/lib/browser/meta.json +0 -1
- package/dist/lib/browser/operations/index.mjs +0 -13
- package/dist/lib/browser/operations/index.mjs.map +0 -7
- package/dist/lib/browser/restore-card-FO3WERIE.mjs.map +0 -7
- package/dist/lib/browser/restore-card-field-U5XYEEOW.mjs.map +0 -7
- package/dist/lib/browser/types/index.mjs +0 -160
- package/dist/lib/browser/types/index.mjs.map +0 -7
- package/dist/lib/node-esm/blueprints/index.mjs +0 -28
- package/dist/lib/node-esm/blueprints/index.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-HSLMI22Q.mjs +0 -11
- package/dist/lib/node-esm/chunk-W2RNFBMZ.mjs +0 -106
- package/dist/lib/node-esm/chunk-W2RNFBMZ.mjs.map +0 -7
- package/dist/lib/node-esm/delete-card-ZIREL6HN.mjs +0 -25
- package/dist/lib/node-esm/delete-card-ZIREL6HN.mjs.map +0 -7
- package/dist/lib/node-esm/delete-card-field-IPTEGVPP.mjs +0 -43
- package/dist/lib/node-esm/delete-card-field-IPTEGVPP.mjs.map +0 -7
- package/dist/lib/node-esm/index.mjs +0 -30
- package/dist/lib/node-esm/index.mjs.map +0 -7
- package/dist/lib/node-esm/meta.json +0 -1
- package/dist/lib/node-esm/operations/index.mjs +0 -14
- package/dist/lib/node-esm/operations/index.mjs.map +0 -7
- package/dist/lib/node-esm/restore-card-WJJ4YB7K.mjs +0 -22
- package/dist/lib/node-esm/restore-card-WJJ4YB7K.mjs.map +0 -7
- package/dist/lib/node-esm/restore-card-field-L24WJXAW.mjs +0 -41
- package/dist/lib/node-esm/restore-card-field-L24WJXAW.mjs.map +0 -7
- package/dist/lib/node-esm/translations.mjs +0 -45
- package/dist/lib/node-esm/translations.mjs.map +0 -7
- package/dist/lib/node-esm/types/index.mjs +0 -161
- package/dist/lib/node-esm/types/index.mjs.map +0 -7
- package/dist/types/src/containers/KanbanContainer/KanbanContainer.d.ts +0 -6
- package/dist/types/src/containers/KanbanContainer/KanbanContainer.d.ts.map +0 -1
- package/dist/types/src/containers/KanbanContainer/KanbanContainer.stories.d.ts.map +0 -1
- package/dist/types/src/containers/KanbanContainer/index.d.ts +0 -2
- package/dist/types/src/containers/KanbanContainer/index.d.ts.map +0 -1
- package/dist/types/src/operations/definitions.d.ts.map +0 -1
- package/src/containers/KanbanContainer/index.ts +0 -5
- /package/dist/lib/{browser/chunk-J5LGTIGS.mjs.map → neutral/blueprints/index.mjs.map} +0 -0
- /package/dist/lib/{browser → neutral}/chunk-J5LGTIGS.mjs +0 -0
- /package/dist/lib/{node-esm/chunk-HSLMI22Q.mjs.map → neutral/chunk-J5LGTIGS.mjs.map} +0 -0
- /package/dist/lib/{browser → neutral}/translations.mjs +0 -0
- /package/dist/lib/{browser → neutral}/translations.mjs.map +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/plugin-kanban",
|
|
3
|
-
"version": "0.8.4-main.
|
|
3
|
+
"version": "0.8.4-main.bc2380dfbc",
|
|
4
4
|
"description": "Kanban DXOS Surface plugin",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -8,57 +8,84 @@
|
|
|
8
8
|
"type": "git",
|
|
9
9
|
"url": "https://github.com/dxos/dxos"
|
|
10
10
|
},
|
|
11
|
-
"license": "
|
|
11
|
+
"license": "FSL-1.1-Apache-2.0",
|
|
12
12
|
"author": "DXOS.org",
|
|
13
13
|
"sideEffects": true,
|
|
14
14
|
"type": "module",
|
|
15
15
|
"imports": {
|
|
16
|
-
"#blueprints":
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"#
|
|
22
|
-
|
|
16
|
+
"#blueprints": {
|
|
17
|
+
"source": "./src/blueprints/index.ts",
|
|
18
|
+
"types": "./dist/types/src/blueprints/index.d.ts",
|
|
19
|
+
"default": "./dist/lib/neutral/blueprints/index.mjs"
|
|
20
|
+
},
|
|
21
|
+
"#capabilities": {
|
|
22
|
+
"source": "./src/capabilities/index.ts",
|
|
23
|
+
"types": "./dist/types/src/capabilities/index.d.ts",
|
|
24
|
+
"default": "./dist/lib/neutral/capabilities/index.mjs"
|
|
25
|
+
},
|
|
26
|
+
"#components": {
|
|
27
|
+
"source": "./src/components/index.ts",
|
|
28
|
+
"types": "./dist/types/src/components/index.d.ts",
|
|
29
|
+
"default": "./dist/lib/neutral/components/index.mjs"
|
|
30
|
+
},
|
|
31
|
+
"#containers": {
|
|
32
|
+
"source": "./src/containers/index.ts",
|
|
33
|
+
"types": "./dist/types/src/containers/index.d.ts",
|
|
34
|
+
"default": "./dist/lib/neutral/containers/index.mjs"
|
|
35
|
+
},
|
|
36
|
+
"#hooks": {
|
|
37
|
+
"source": "./src/hooks/index.ts",
|
|
38
|
+
"types": "./dist/types/src/hooks/index.d.ts",
|
|
39
|
+
"default": "./dist/lib/neutral/hooks/index.mjs"
|
|
40
|
+
},
|
|
41
|
+
"#meta": {
|
|
42
|
+
"source": "./src/meta.ts",
|
|
43
|
+
"types": "./dist/types/src/meta.d.ts",
|
|
44
|
+
"default": "./dist/lib/neutral/meta.mjs"
|
|
45
|
+
},
|
|
46
|
+
"#operations": {
|
|
47
|
+
"source": "./src/operations/index.ts",
|
|
48
|
+
"types": "./dist/types/src/operations/index.d.ts",
|
|
49
|
+
"default": "./dist/lib/neutral/operations/index.mjs"
|
|
50
|
+
},
|
|
23
51
|
"#plugin": {
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
52
|
+
"source": {
|
|
53
|
+
"workerd": "./src/KanbanPlugin.workerd.ts",
|
|
54
|
+
"node": "./src/KanbanPlugin.node.ts",
|
|
55
|
+
"default": "./src/KanbanPlugin.tsx"
|
|
56
|
+
},
|
|
57
|
+
"types": "./dist/types/src/KanbanPlugin.d.ts",
|
|
58
|
+
"workerd": "./dist/lib/neutral/KanbanPlugin.workerd.mjs",
|
|
59
|
+
"node": "./dist/lib/neutral/KanbanPlugin.node.mjs",
|
|
60
|
+
"default": "./dist/lib/neutral/KanbanPlugin.mjs"
|
|
27
61
|
},
|
|
28
62
|
"#testing": "./src/testing/index.ts",
|
|
29
|
-
"#translations":
|
|
30
|
-
|
|
63
|
+
"#translations": {
|
|
64
|
+
"source": "./src/translations.ts",
|
|
65
|
+
"types": "./dist/types/src/translations.d.ts",
|
|
66
|
+
"default": "./dist/lib/neutral/translations.mjs"
|
|
67
|
+
},
|
|
68
|
+
"#types": {
|
|
69
|
+
"source": "./src/types/index.ts",
|
|
70
|
+
"types": "./dist/types/src/types/index.d.ts",
|
|
71
|
+
"default": "./dist/lib/neutral/types/index.mjs"
|
|
72
|
+
}
|
|
31
73
|
},
|
|
32
74
|
"exports": {
|
|
33
75
|
".": {
|
|
34
76
|
"source": "./src/index.ts",
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"types": "./dist/types/src/index.d.ts"
|
|
77
|
+
"types": "./dist/types/src/index.d.ts",
|
|
78
|
+
"default": "./dist/lib/neutral/index.mjs"
|
|
38
79
|
},
|
|
39
|
-
"./
|
|
40
|
-
"source": "./src/
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"types": "./dist/types/src/blueprints/index.d.ts"
|
|
44
|
-
},
|
|
45
|
-
"./operations": {
|
|
46
|
-
"source": "./src/operations/index.ts",
|
|
47
|
-
"browser": "./dist/lib/browser/operations/index.mjs",
|
|
48
|
-
"node": "./dist/lib/node-esm/operations/index.mjs",
|
|
49
|
-
"types": "./dist/types/src/operations/index.d.ts"
|
|
80
|
+
"./plugin": {
|
|
81
|
+
"source": "./src/plugin.ts",
|
|
82
|
+
"types": "./dist/types/src/plugin.d.ts",
|
|
83
|
+
"default": "./dist/lib/neutral/plugin.mjs"
|
|
50
84
|
},
|
|
51
85
|
"./translations": {
|
|
52
86
|
"source": "./src/translations.ts",
|
|
53
87
|
"types": "./dist/types/src/translations.d.ts",
|
|
54
|
-
"
|
|
55
|
-
"node": "./dist/lib/node-esm/translations.mjs"
|
|
56
|
-
},
|
|
57
|
-
"./types": {
|
|
58
|
-
"source": "./src/types/index.ts",
|
|
59
|
-
"browser": "./dist/lib/browser/types/index.mjs",
|
|
60
|
-
"node": "./dist/lib/node-esm/types/index.mjs",
|
|
61
|
-
"types": "./dist/types/src/types/index.d.ts"
|
|
88
|
+
"default": "./dist/lib/neutral/translations.mjs"
|
|
62
89
|
}
|
|
63
90
|
},
|
|
64
91
|
"types": "dist/types/src/index.d.ts",
|
|
@@ -70,54 +97,55 @@
|
|
|
70
97
|
"@effect-atom/atom-react": "^0.5.0",
|
|
71
98
|
"@radix-ui/react-context": "1.1.1",
|
|
72
99
|
"effect": "3.20.0",
|
|
73
|
-
"@dxos/ai": "0.8.4-main.
|
|
74
|
-
"@dxos/app-framework": "0.8.4-main.
|
|
75
|
-
"@dxos/
|
|
76
|
-
"@dxos/
|
|
77
|
-
"@dxos/
|
|
78
|
-
"@dxos/
|
|
79
|
-
"@dxos/
|
|
80
|
-
"@dxos/echo
|
|
81
|
-
"@dxos/
|
|
82
|
-
"@dxos/
|
|
83
|
-
"@dxos/
|
|
84
|
-
"@dxos/plugin-client": "0.8.4-main.
|
|
85
|
-
"@dxos/plugin-search": "0.8.4-main.
|
|
86
|
-
"@dxos/
|
|
87
|
-
"@dxos/plugin-
|
|
88
|
-
"@dxos/
|
|
89
|
-
"@dxos/random": "0.8.4-main.
|
|
90
|
-
"@dxos/react-client": "0.8.4-main.
|
|
91
|
-
"@dxos/react-ui
|
|
92
|
-
"@dxos/react-ui-menu": "0.8.4-main.
|
|
93
|
-
"@dxos/react-ui-
|
|
94
|
-
"@dxos/react-ui-
|
|
95
|
-
"@dxos/schema": "0.8.4-main.
|
|
96
|
-
"@dxos/types": "0.8.4-main.
|
|
97
|
-
"@dxos/
|
|
100
|
+
"@dxos/ai": "0.8.4-main.bc2380dfbc",
|
|
101
|
+
"@dxos/app-framework": "0.8.4-main.bc2380dfbc",
|
|
102
|
+
"@dxos/app-toolkit": "0.8.4-main.bc2380dfbc",
|
|
103
|
+
"@dxos/async": "0.8.4-main.bc2380dfbc",
|
|
104
|
+
"@dxos/assistant": "0.8.4-main.bc2380dfbc",
|
|
105
|
+
"@dxos/client": "0.8.4-main.bc2380dfbc",
|
|
106
|
+
"@dxos/compute": "0.8.4-main.bc2380dfbc",
|
|
107
|
+
"@dxos/echo": "0.8.4-main.bc2380dfbc",
|
|
108
|
+
"@dxos/echo-atom": "0.8.4-main.bc2380dfbc",
|
|
109
|
+
"@dxos/invariant": "0.8.4-main.bc2380dfbc",
|
|
110
|
+
"@dxos/log": "0.8.4-main.bc2380dfbc",
|
|
111
|
+
"@dxos/plugin-client": "0.8.4-main.bc2380dfbc",
|
|
112
|
+
"@dxos/plugin-search": "0.8.4-main.bc2380dfbc",
|
|
113
|
+
"@dxos/effect": "0.8.4-main.bc2380dfbc",
|
|
114
|
+
"@dxos/plugin-graph": "0.8.4-main.bc2380dfbc",
|
|
115
|
+
"@dxos/plugin-space": "0.8.4-main.bc2380dfbc",
|
|
116
|
+
"@dxos/random": "0.8.4-main.bc2380dfbc",
|
|
117
|
+
"@dxos/react-client": "0.8.4-main.bc2380dfbc",
|
|
118
|
+
"@dxos/react-ui": "0.8.4-main.bc2380dfbc",
|
|
119
|
+
"@dxos/react-ui-menu": "0.8.4-main.bc2380dfbc",
|
|
120
|
+
"@dxos/react-ui-form": "0.8.4-main.bc2380dfbc",
|
|
121
|
+
"@dxos/react-ui-mosaic": "0.8.4-main.bc2380dfbc",
|
|
122
|
+
"@dxos/schema": "0.8.4-main.bc2380dfbc",
|
|
123
|
+
"@dxos/types": "0.8.4-main.bc2380dfbc",
|
|
124
|
+
"@dxos/react-ui-stack": "0.8.4-main.bc2380dfbc",
|
|
125
|
+
"@dxos/util": "0.8.4-main.bc2380dfbc"
|
|
98
126
|
},
|
|
99
127
|
"devDependencies": {
|
|
100
128
|
"@types/react": "~19.2.7",
|
|
101
129
|
"@types/react-dom": "~19.2.3",
|
|
102
130
|
"react": "~19.2.3",
|
|
103
131
|
"react-dom": "~19.2.3",
|
|
104
|
-
"vite": "^8.0.
|
|
105
|
-
"@dxos/echo-db": "0.8.4-main.
|
|
106
|
-
"@dxos/plugin-
|
|
107
|
-
"@dxos/
|
|
108
|
-
"@dxos/plugin-
|
|
109
|
-
"@dxos/
|
|
110
|
-
"@dxos/
|
|
111
|
-
"@dxos/
|
|
112
|
-
"@dxos/
|
|
113
|
-
"@dxos/
|
|
132
|
+
"vite": "^8.0.13",
|
|
133
|
+
"@dxos/echo-db": "0.8.4-main.bc2380dfbc",
|
|
134
|
+
"@dxos/plugin-preview": "0.8.4-main.bc2380dfbc",
|
|
135
|
+
"@dxos/keys": "0.8.4-main.bc2380dfbc",
|
|
136
|
+
"@dxos/plugin-testing": "0.8.4-main.bc2380dfbc",
|
|
137
|
+
"@dxos/test-utils": "0.8.4-main.bc2380dfbc",
|
|
138
|
+
"@dxos/ui-theme": "0.8.4-main.bc2380dfbc",
|
|
139
|
+
"@dxos/plugin-theme": "0.8.4-main.bc2380dfbc",
|
|
140
|
+
"@dxos/react-ui-syntax-highlighter": "0.8.4-main.bc2380dfbc",
|
|
141
|
+
"@dxos/storybook-utils": "0.8.4-main.bc2380dfbc"
|
|
114
142
|
},
|
|
115
143
|
"peerDependencies": {
|
|
116
144
|
"effect": "3.20.0",
|
|
117
145
|
"react": "~19.2.3",
|
|
118
146
|
"react-dom": "~19.2.3",
|
|
119
|
-
"@dxos/ui
|
|
120
|
-
"@dxos/
|
|
147
|
+
"@dxos/react-ui": "0.8.4-main.bc2380dfbc",
|
|
148
|
+
"@dxos/ui-theme": "0.8.4-main.bc2380dfbc"
|
|
121
149
|
},
|
|
122
150
|
"publishConfig": {
|
|
123
151
|
"access": "public"
|
package/src/KanbanPlugin.node.ts
CHANGED
|
@@ -2,50 +2,16 @@
|
|
|
2
2
|
// Copyright 2023 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
-
import * as Effect from 'effect/Effect';
|
|
6
|
-
import * as Option from 'effect/Option';
|
|
7
|
-
|
|
8
5
|
import { Plugin } from '@dxos/app-framework';
|
|
9
6
|
import { AppPlugin } from '@dxos/app-toolkit';
|
|
10
|
-
import { Operation } from '@dxos/compute';
|
|
11
|
-
import { Annotation, Type } from '@dxos/echo';
|
|
12
|
-
import { SpaceOperation } from '@dxos/plugin-space/operations';
|
|
13
|
-
import { type CreateObject } from '@dxos/plugin-space/types';
|
|
14
|
-
import { ViewModel } from '@dxos/schema';
|
|
15
7
|
|
|
16
|
-
import { BlueprintDefinition, OperationHandler, UndoMappings } from '#capabilities';
|
|
8
|
+
import { BlueprintDefinition, CreateObject, OperationHandler, UndoMappings } from '#capabilities';
|
|
17
9
|
import { meta } from '#meta';
|
|
18
|
-
import {
|
|
10
|
+
import { Kanban } from '#types';
|
|
19
11
|
|
|
20
12
|
export const KanbanPlugin = Plugin.define(meta).pipe(
|
|
21
13
|
AppPlugin.addBlueprintDefinitionModule({ activate: BlueprintDefinition }),
|
|
22
|
-
AppPlugin.
|
|
23
|
-
metadata: {
|
|
24
|
-
id: Type.getTypename(Kanban.Kanban),
|
|
25
|
-
metadata: {
|
|
26
|
-
icon: Annotation.IconAnnotation.get(Kanban.Kanban).pipe(Option.getOrThrow).icon,
|
|
27
|
-
iconHue: Annotation.IconAnnotation.get(Kanban.Kanban).pipe(Option.getOrThrow).hue ?? 'white',
|
|
28
|
-
inputSchema: CreateKanbanSchema,
|
|
29
|
-
createObject: ((props, options) =>
|
|
30
|
-
Effect.gen(function* () {
|
|
31
|
-
const object = yield* Effect.promise(async () => {
|
|
32
|
-
const { view } = await ViewModel.makeFromDatabase({
|
|
33
|
-
db: options.db,
|
|
34
|
-
typename: props.typename,
|
|
35
|
-
pivotFieldName: props.initialPivotColumn,
|
|
36
|
-
});
|
|
37
|
-
return Kanban.make({ name: props.name, view });
|
|
38
|
-
});
|
|
39
|
-
return yield* Operation.invoke(SpaceOperation.AddObject, {
|
|
40
|
-
object,
|
|
41
|
-
target: options.target,
|
|
42
|
-
hidden: true,
|
|
43
|
-
targetNodeId: options.targetNodeId,
|
|
44
|
-
});
|
|
45
|
-
})) satisfies CreateObject,
|
|
46
|
-
},
|
|
47
|
-
},
|
|
48
|
-
}),
|
|
14
|
+
AppPlugin.addCreateObjectModule({ activate: CreateObject }),
|
|
49
15
|
AppPlugin.addOperationHandlerModule({ activate: OperationHandler }),
|
|
50
16
|
AppPlugin.addUndoMappingsModule({ activate: UndoMappings }),
|
|
51
17
|
AppPlugin.addSchemaModule({ schema: [Kanban.Kanban] }),
|
package/src/KanbanPlugin.tsx
CHANGED
|
@@ -2,52 +2,25 @@
|
|
|
2
2
|
// Copyright 2023 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
-
import * as Effect from 'effect/Effect';
|
|
6
|
-
import * as Option from 'effect/Option';
|
|
7
|
-
|
|
8
5
|
import { Plugin } from '@dxos/app-framework';
|
|
9
6
|
import { AppPlugin } from '@dxos/app-toolkit';
|
|
10
|
-
import {
|
|
11
|
-
import { Annotation, Type } from '@dxos/echo';
|
|
12
|
-
import { ClientEvents } from '@dxos/plugin-client/types';
|
|
13
|
-
import { SpaceOperation } from '@dxos/plugin-space/operations';
|
|
14
|
-
import { type CreateObject } from '@dxos/plugin-space/types';
|
|
15
|
-
import { ViewModel } from '@dxos/schema';
|
|
7
|
+
import { ClientEvents } from '@dxos/plugin-client';
|
|
16
8
|
|
|
17
|
-
import {
|
|
9
|
+
import {
|
|
10
|
+
BlueprintDefinition,
|
|
11
|
+
CreateObject,
|
|
12
|
+
Migrations,
|
|
13
|
+
OperationHandler,
|
|
14
|
+
UndoMappings,
|
|
15
|
+
ReactSurface,
|
|
16
|
+
} from '#capabilities';
|
|
18
17
|
import { meta } from '#meta';
|
|
19
18
|
import { translations } from '#translations';
|
|
20
|
-
import {
|
|
19
|
+
import { Kanban } from '#types';
|
|
21
20
|
|
|
22
21
|
export const KanbanPlugin = Plugin.define(meta).pipe(
|
|
23
22
|
AppPlugin.addBlueprintDefinitionModule({ activate: BlueprintDefinition }),
|
|
24
|
-
AppPlugin.
|
|
25
|
-
metadata: {
|
|
26
|
-
id: Type.getTypename(Kanban.Kanban),
|
|
27
|
-
metadata: {
|
|
28
|
-
icon: Annotation.IconAnnotation.get(Kanban.Kanban).pipe(Option.getOrThrow).icon,
|
|
29
|
-
iconHue: Annotation.IconAnnotation.get(Kanban.Kanban).pipe(Option.getOrThrow).hue ?? 'white',
|
|
30
|
-
inputSchema: CreateKanbanSchema,
|
|
31
|
-
createObject: ((props, options) =>
|
|
32
|
-
Effect.gen(function* () {
|
|
33
|
-
const object = yield* Effect.promise(async () => {
|
|
34
|
-
const { view } = await ViewModel.makeFromDatabase({
|
|
35
|
-
db: options.db,
|
|
36
|
-
typename: props.typename,
|
|
37
|
-
pivotFieldName: props.initialPivotColumn,
|
|
38
|
-
});
|
|
39
|
-
return Kanban.make({ name: props.name, view });
|
|
40
|
-
});
|
|
41
|
-
return yield* Operation.invoke(SpaceOperation.AddObject, {
|
|
42
|
-
object,
|
|
43
|
-
target: options.target,
|
|
44
|
-
hidden: true,
|
|
45
|
-
targetNodeId: options.targetNodeId,
|
|
46
|
-
});
|
|
47
|
-
})) satisfies CreateObject,
|
|
48
|
-
},
|
|
49
|
-
},
|
|
50
|
-
}),
|
|
23
|
+
AppPlugin.addCreateObjectModule({ activate: CreateObject }),
|
|
51
24
|
AppPlugin.addOperationHandlerModule({ activate: OperationHandler }),
|
|
52
25
|
AppPlugin.addUndoMappingsModule({ activate: UndoMappings }),
|
|
53
26
|
AppPlugin.addSchemaModule({ schema: [Kanban.Kanban] }),
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2023 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
import { Plugin } from '@dxos/app-framework';
|
|
6
|
+
import { AppPlugin } from '@dxos/app-toolkit';
|
|
7
|
+
|
|
8
|
+
import { OperationHandler } from '#capabilities';
|
|
9
|
+
import { meta } from '#meta';
|
|
10
|
+
import { Kanban } from '#types';
|
|
11
|
+
|
|
12
|
+
export const KanbanPlugin = Plugin.define(meta).pipe(
|
|
13
|
+
AppPlugin.addOperationHandlerModule({ activate: OperationHandler }),
|
|
14
|
+
AppPlugin.addSchemaModule({ schema: [Kanban.Kanban] }),
|
|
15
|
+
Plugin.make,
|
|
16
|
+
);
|
|
17
|
+
|
|
18
|
+
export default KanbanPlugin;
|
|
@@ -12,11 +12,10 @@ import { ToolResult, createTool } from '@dxos/ai';
|
|
|
12
12
|
import { Capabilities, Capability, type PromiseIntentDispatcher } from '@dxos/app-framework';
|
|
13
13
|
import { createArtifactElement } from '@dxos/assistant';
|
|
14
14
|
import { defineArtifact } from '@dxos/compute';
|
|
15
|
-
import { Obj, Query } from '@dxos/echo';
|
|
16
|
-
import { View } from '@dxos/echo';
|
|
15
|
+
import { Filter, Obj, Query, View } from '@dxos/echo';
|
|
17
16
|
import { invariant } from '@dxos/invariant';
|
|
18
|
-
import { SpaceOperation } from '@dxos/plugin-space
|
|
19
|
-
import {
|
|
17
|
+
import { SpaceOperation } from '@dxos/plugin-space';
|
|
18
|
+
import { type Space } from '@dxos/react-client/echo';
|
|
20
19
|
import { ViewModel } from '@dxos/schema';
|
|
21
20
|
import { isNonNullable } from '@dxos/util';
|
|
22
21
|
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2023 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
import * as Effect from 'effect/Effect';
|
|
6
|
+
|
|
7
|
+
import { Capability } from '@dxos/app-framework';
|
|
8
|
+
import { Operation } from '@dxos/compute';
|
|
9
|
+
import { Type } from '@dxos/echo';
|
|
10
|
+
import { SpaceOperation } from '@dxos/plugin-space';
|
|
11
|
+
import { SpaceCapabilities } from '@dxos/plugin-space';
|
|
12
|
+
import { ViewModel } from '@dxos/schema';
|
|
13
|
+
|
|
14
|
+
import { CreateKanbanSchema, Kanban } from '#types';
|
|
15
|
+
|
|
16
|
+
export default Capability.makeModule(
|
|
17
|
+
Effect.fnUntraced(function* () {
|
|
18
|
+
return Capability.contributes(SpaceCapabilities.CreateObjectEntry, {
|
|
19
|
+
id: Type.getTypename(Kanban.Kanban),
|
|
20
|
+
inputSchema: CreateKanbanSchema,
|
|
21
|
+
createObject: (props, options) =>
|
|
22
|
+
Effect.gen(function* () {
|
|
23
|
+
const object = yield* Effect.promise(async () => {
|
|
24
|
+
const { view } = await ViewModel.makeFromDatabase({
|
|
25
|
+
db: options.db,
|
|
26
|
+
typename: props.typename,
|
|
27
|
+
pivotFieldName: props.initialPivotColumn,
|
|
28
|
+
});
|
|
29
|
+
return Kanban.make({ name: props.name, view });
|
|
30
|
+
});
|
|
31
|
+
return yield* Operation.invoke(SpaceOperation.AddObject, {
|
|
32
|
+
object,
|
|
33
|
+
target: options.target,
|
|
34
|
+
hidden: true,
|
|
35
|
+
targetNodeId: options.targetNodeId,
|
|
36
|
+
});
|
|
37
|
+
}),
|
|
38
|
+
});
|
|
39
|
+
}),
|
|
40
|
+
);
|
|
@@ -7,6 +7,7 @@ import { Capability } from '@dxos/app-framework';
|
|
|
7
7
|
import type { Blueprint, OperationHandlerSet } from '@dxos/compute';
|
|
8
8
|
|
|
9
9
|
export const BlueprintDefinition = Capability.lazy('BlueprintDefinition', () => import('./blueprint-definition'));
|
|
10
|
+
export const CreateObject = Capability.lazy('CreateObject', () => import('./create-object'));
|
|
10
11
|
export const Migrations = Capability.lazy('Migrations', () => import('./migrations'));
|
|
11
12
|
export const OperationHandler = Capability.lazy<OperationHandlerSet.OperationHandlerSet>(
|
|
12
13
|
'OperationHandler',
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
import * as Effect from 'effect/Effect';
|
|
6
6
|
|
|
7
7
|
import { Capability } from '@dxos/app-framework';
|
|
8
|
-
import {
|
|
9
|
-
import { ClientCapabilities } from '@dxos/plugin-client
|
|
8
|
+
import { Migration } from '@dxos/echo';
|
|
9
|
+
import { ClientCapabilities } from '@dxos/plugin-client';
|
|
10
10
|
|
|
11
11
|
import { Kanban } from '#types';
|
|
12
12
|
|
|
@@ -16,7 +16,7 @@ import { Kanban } from '#types';
|
|
|
16
16
|
* pre-migration objects were all view-based by construction.
|
|
17
17
|
*/
|
|
18
18
|
const migrations = [
|
|
19
|
-
|
|
19
|
+
Migration.define({
|
|
20
20
|
from: Kanban.KanbanV1,
|
|
21
21
|
to: Kanban.Kanban,
|
|
22
22
|
transform: async (from) => ({
|
|
@@ -10,12 +10,11 @@ import React, { useMemo } from 'react';
|
|
|
10
10
|
import { Capabilities, Capability } from '@dxos/app-framework';
|
|
11
11
|
import { Surface } from '@dxos/app-framework/ui';
|
|
12
12
|
import { AppSurface } from '@dxos/app-toolkit/ui';
|
|
13
|
-
import { Database, JsonSchema, Obj } from '@dxos/echo';
|
|
14
|
-
import { type Collection } from '@dxos/echo';
|
|
13
|
+
import { type Collection, Database, JsonSchema, Obj } from '@dxos/echo';
|
|
15
14
|
import { findAnnotation } from '@dxos/effect';
|
|
16
15
|
import { type FormFieldComponentProps, SelectField, useFormValues } from '@dxos/react-ui-form';
|
|
17
16
|
|
|
18
|
-
import {
|
|
17
|
+
import { KanbanArticle, KanbanSettings } from '#containers';
|
|
19
18
|
import { Kanban, PivotColumnAnnotationId } from '#types';
|
|
20
19
|
|
|
21
20
|
export default Capability.makeModule(() =>
|
|
@@ -28,7 +27,7 @@ export default Capability.makeModule(() =>
|
|
|
28
27
|
AppSurface.object(AppSurface.Article, Kanban.Kanban),
|
|
29
28
|
AppSurface.object(AppSurface.Section, Kanban.Kanban),
|
|
30
29
|
),
|
|
31
|
-
component: ({ data, role }) => <
|
|
30
|
+
component: ({ data, role }) => <KanbanArticle role={role} subject={data.subject} />,
|
|
32
31
|
}),
|
|
33
32
|
Surface.create({
|
|
34
33
|
id: 'object-properties',
|
|
@@ -5,7 +5,7 @@ import * as Effect from 'effect/Effect';
|
|
|
5
5
|
import { Capabilities, Capability, UndoMapping } from '@dxos/app-framework';
|
|
6
6
|
|
|
7
7
|
import { meta } from '#meta';
|
|
8
|
-
import { KanbanOperation } from '#
|
|
8
|
+
import { KanbanOperation } from '#types';
|
|
9
9
|
|
|
10
10
|
export default Capability.makeModule(() =>
|
|
11
11
|
Effect.succeed(
|
|
@@ -6,8 +6,7 @@ import { Atom, RegistryContext } from '@effect-atom/atom-react';
|
|
|
6
6
|
import { type Meta, type StoryObj } from '@storybook/react-vite';
|
|
7
7
|
import React, { useCallback, useContext, useEffect, useMemo, useState } from 'react';
|
|
8
8
|
|
|
9
|
-
import { Filter, JsonSchema, Obj, Query } from '@dxos/echo';
|
|
10
|
-
import { type View } from '@dxos/echo';
|
|
9
|
+
import { Filter, JsonSchema, Obj, Query, type View } from '@dxos/echo';
|
|
11
10
|
import { random } from '@dxos/random';
|
|
12
11
|
import { withMosaic } from '@dxos/react-ui-mosaic/testing';
|
|
13
12
|
import { Loading, withLayout, withTheme } from '@dxos/react-ui/testing';
|
|
@@ -3,15 +3,7 @@
|
|
|
3
3
|
//
|
|
4
4
|
|
|
5
5
|
import { type Atom, RegistryContext } from '@effect-atom/atom-react';
|
|
6
|
-
import {
|
|
7
|
-
import React, {
|
|
8
|
-
type ComponentPropsWithoutRef,
|
|
9
|
-
type ComponentType,
|
|
10
|
-
type PropsWithChildren,
|
|
11
|
-
useCallback,
|
|
12
|
-
useContext,
|
|
13
|
-
useMemo,
|
|
14
|
-
} from 'react';
|
|
6
|
+
import React, { type ComponentPropsWithoutRef, type PropsWithChildren, useCallback, useContext, useMemo } from 'react';
|
|
15
7
|
|
|
16
8
|
import { Obj } from '@dxos/echo';
|
|
17
9
|
import { useTranslation } from '@dxos/react-ui';
|
|
@@ -21,46 +13,20 @@ import { composable, composableProps } from '@dxos/ui-theme';
|
|
|
21
13
|
|
|
22
14
|
import { useKanbanBoardModel, useKanbanColumnEventHandler } from '#hooks';
|
|
23
15
|
import { meta } from '#meta';
|
|
24
|
-
import { type Kanban,
|
|
25
|
-
|
|
26
|
-
import {
|
|
27
|
-
|
|
16
|
+
import { type Kanban, UNCATEGORIZED_ATTRIBUTES, UNCATEGORIZED_VALUE } from '#types';
|
|
17
|
+
|
|
18
|
+
import {
|
|
19
|
+
KanbanBoardContext,
|
|
20
|
+
type KanbanBoardContextValue,
|
|
21
|
+
type KanbanCardProps,
|
|
22
|
+
type KanbanColumnProps,
|
|
23
|
+
useKanbanBoard,
|
|
24
|
+
} from './context';
|
|
25
|
+
import { KanbanCard } from './KanbanCard';
|
|
26
|
+
import { KanbanColumn } from './KanbanColumn';
|
|
28
27
|
|
|
29
28
|
// TODO(burdon): Rename Kanban.
|
|
30
29
|
|
|
31
|
-
//
|
|
32
|
-
// Context
|
|
33
|
-
//
|
|
34
|
-
|
|
35
|
-
const KANBAN_BOARD_NAME = 'KanbanBoard.Context';
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Context value for the Kanban board.
|
|
39
|
-
* Items are Echo objects (Obj.Unknown).
|
|
40
|
-
*/
|
|
41
|
-
type KanbanBoardContextValue = {
|
|
42
|
-
kanbanId: string;
|
|
43
|
-
projection: ProjectionModel | undefined;
|
|
44
|
-
columnFieldPath: string | undefined;
|
|
45
|
-
change: KanbanChangeCallback<Obj.Unknown>;
|
|
46
|
-
pivotFieldId: string | undefined;
|
|
47
|
-
getPivotAttributes: (columnValue: string) => { title: string; color: string };
|
|
48
|
-
itemTile?: ComponentType<KanbanCardProps>; // TODO(burdon): Prop.
|
|
49
|
-
onCardAdd?: (columnValue: string | undefined) => string | undefined;
|
|
50
|
-
onCardRemove?: (card: Obj.Unknown) => void;
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
const [KanbanBoardContext, useKanbanBoard] = createContext<KanbanBoardContextValue>(KANBAN_BOARD_NAME, {
|
|
54
|
-
kanbanId: 'never',
|
|
55
|
-
projection: undefined,
|
|
56
|
-
columnFieldPath: undefined,
|
|
57
|
-
change: { kanban: () => {}, setItemField: () => {} },
|
|
58
|
-
pivotFieldId: undefined,
|
|
59
|
-
getPivotAttributes: (id: string) =>
|
|
60
|
-
id === UNCATEGORIZED_VALUE ? UNCATEGORIZED_ATTRIBUTES : { title: id, color: 'neutral' },
|
|
61
|
-
itemTile: (() => null) as ComponentType<KanbanCardProps>,
|
|
62
|
-
});
|
|
63
|
-
|
|
64
30
|
//
|
|
65
31
|
// Root
|
|
66
32
|
//
|
|
@@ -124,7 +90,7 @@ export const KanbanBoardRoot = ({
|
|
|
124
90
|
|
|
125
91
|
if (columns.length === 0) {
|
|
126
92
|
return (
|
|
127
|
-
<div
|
|
93
|
+
<div className='flex flex-1 items-center justify-center p-8 text-center text-description'>
|
|
128
94
|
{t('select-pivot.placeholder')}
|
|
129
95
|
</div>
|
|
130
96
|
);
|