@dxos/plugin-kanban 0.8.4-main.dedc0f3 → 0.8.4-main.dfabb4ec29

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.
Files changed (275) hide show
  1. package/dist/lib/neutral/KanbanContainer-QK6LNCYT.mjs +132 -0
  2. package/dist/lib/neutral/KanbanContainer-QK6LNCYT.mjs.map +7 -0
  3. package/dist/lib/neutral/KanbanPlugin.mjs +36 -0
  4. package/dist/lib/neutral/KanbanPlugin.mjs.map +7 -0
  5. package/dist/lib/neutral/KanbanPlugin.node.mjs +27 -0
  6. package/dist/lib/neutral/KanbanPlugin.node.mjs.map +7 -0
  7. package/dist/lib/neutral/KanbanSettings-G6M47NSK.mjs +83 -0
  8. package/dist/lib/neutral/KanbanSettings-G6M47NSK.mjs.map +7 -0
  9. package/dist/lib/neutral/blueprint-definition-FHVIEKTQ.mjs +15 -0
  10. package/dist/lib/neutral/blueprint-definition-FHVIEKTQ.mjs.map +7 -0
  11. package/dist/lib/neutral/blueprints/index.mjs +8 -0
  12. package/dist/lib/neutral/capabilities/index.mjs +19 -0
  13. package/dist/lib/neutral/capabilities/index.mjs.map +7 -0
  14. package/dist/lib/neutral/chunk-E65AME5F.mjs +255 -0
  15. package/dist/lib/neutral/chunk-E65AME5F.mjs.map +7 -0
  16. package/dist/lib/neutral/chunk-J5LGTIGS.mjs +10 -0
  17. package/dist/lib/neutral/chunk-KDPM77BD.mjs +21 -0
  18. package/dist/lib/neutral/chunk-KDPM77BD.mjs.map +7 -0
  19. package/dist/lib/neutral/chunk-Z7O5CETK.mjs +8 -0
  20. package/dist/lib/neutral/chunk-Z7O5CETK.mjs.map +7 -0
  21. package/dist/lib/neutral/chunk-ZTQW5KQS.mjs +26 -0
  22. package/dist/lib/neutral/chunk-ZTQW5KQS.mjs.map +7 -0
  23. package/dist/lib/neutral/components/index.mjs +243 -0
  24. package/dist/lib/neutral/components/index.mjs.map +7 -0
  25. package/dist/lib/neutral/containers/index.mjs +11 -0
  26. package/dist/lib/neutral/containers/index.mjs.map +7 -0
  27. package/dist/lib/neutral/create-object-DKBSI46K.mjs +40 -0
  28. package/dist/lib/neutral/create-object-DKBSI46K.mjs.map +7 -0
  29. package/dist/lib/neutral/delete-card-QKT6OXGP.mjs +24 -0
  30. package/dist/lib/neutral/delete-card-QKT6OXGP.mjs.map +7 -0
  31. package/dist/lib/neutral/delete-card-field-XQKM7ZXE.mjs +42 -0
  32. package/dist/lib/neutral/delete-card-field-XQKM7ZXE.mjs.map +7 -0
  33. package/dist/lib/neutral/hooks/index.mjs +432 -0
  34. package/dist/lib/neutral/hooks/index.mjs.map +7 -0
  35. package/dist/lib/neutral/index.mjs +34 -0
  36. package/dist/lib/neutral/index.mjs.map +7 -0
  37. package/dist/lib/neutral/meta.json +1 -0
  38. package/dist/lib/neutral/meta.mjs +8 -0
  39. package/dist/lib/neutral/meta.mjs.map +7 -0
  40. package/dist/lib/neutral/migrations-4NS6H7U2.mjs +31 -0
  41. package/dist/lib/neutral/migrations-4NS6H7U2.mjs.map +7 -0
  42. package/dist/lib/neutral/operation-handler-B7IW6MXU.mjs +13 -0
  43. package/dist/lib/neutral/operation-handler-B7IW6MXU.mjs.map +7 -0
  44. package/dist/lib/neutral/operations/index.mjs +8 -0
  45. package/dist/lib/neutral/operations/index.mjs.map +7 -0
  46. package/dist/lib/neutral/plugin.mjs +16 -0
  47. package/dist/lib/neutral/plugin.mjs.map +7 -0
  48. package/dist/lib/neutral/react-surface-6RVSCHMJ.mjs +93 -0
  49. package/dist/lib/neutral/react-surface-6RVSCHMJ.mjs.map +7 -0
  50. package/dist/lib/neutral/restore-card-XW7AHMPO.mjs +21 -0
  51. package/dist/lib/neutral/restore-card-XW7AHMPO.mjs.map +7 -0
  52. package/dist/lib/neutral/restore-card-field-QOAUY3RJ.mjs +40 -0
  53. package/dist/lib/neutral/restore-card-field-QOAUY3RJ.mjs.map +7 -0
  54. package/dist/lib/neutral/testing/index.mjs +60 -0
  55. package/dist/lib/neutral/testing/index.mjs.map +7 -0
  56. package/dist/lib/neutral/translations.mjs +44 -0
  57. package/dist/lib/neutral/translations.mjs.map +7 -0
  58. package/dist/lib/neutral/types/index.mjs +22 -0
  59. package/dist/lib/neutral/types/index.mjs.map +7 -0
  60. package/dist/lib/neutral/undo-mappings-6CHW6BOF.mjs +42 -0
  61. package/dist/lib/neutral/undo-mappings-6CHW6BOF.mjs.map +7 -0
  62. package/dist/types/src/KanbanPlugin.d.ts +3 -1
  63. package/dist/types/src/KanbanPlugin.d.ts.map +1 -1
  64. package/dist/types/src/KanbanPlugin.node.d.ts +4 -0
  65. package/dist/types/src/KanbanPlugin.node.d.ts.map +1 -0
  66. package/dist/types/src/KanbanPlugin.test.d.ts +2 -0
  67. package/dist/types/src/KanbanPlugin.test.d.ts.map +1 -0
  68. package/dist/types/src/blueprints/index.d.ts +2 -0
  69. package/dist/types/src/blueprints/index.d.ts.map +1 -0
  70. package/dist/types/src/blueprints/kanban-blueprint.d.ts +4 -0
  71. package/dist/types/src/blueprints/kanban-blueprint.d.ts.map +1 -0
  72. package/dist/types/src/capabilities/artifact-definition.d.ts +3 -2
  73. package/dist/types/src/capabilities/artifact-definition.d.ts.map +1 -1
  74. package/dist/types/src/capabilities/blueprint-definition.d.ts +5 -4
  75. package/dist/types/src/capabilities/blueprint-definition.d.ts.map +1 -1
  76. package/dist/types/src/capabilities/create-object.d.ts +11 -0
  77. package/dist/types/src/capabilities/create-object.d.ts.map +1 -0
  78. package/dist/types/src/capabilities/index.d.ts +13 -3
  79. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  80. package/dist/types/src/capabilities/migrations.d.ts +5 -0
  81. package/dist/types/src/capabilities/migrations.d.ts.map +1 -0
  82. package/dist/types/src/capabilities/operation-handler.d.ts +6 -0
  83. package/dist/types/src/capabilities/operation-handler.d.ts.map +1 -0
  84. package/dist/types/src/capabilities/react-surface.d.ts +3 -2
  85. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
  86. package/dist/types/src/capabilities/undo-mappings.d.ts +5 -0
  87. package/dist/types/src/capabilities/undo-mappings.d.ts.map +1 -0
  88. package/dist/types/src/components/KanbanBoard/KanbanBoard.d.ts +37 -0
  89. package/dist/types/src/components/KanbanBoard/KanbanBoard.d.ts.map +1 -0
  90. package/dist/types/src/components/KanbanBoard/KanbanBoard.stories.d.ts +72 -0
  91. package/dist/types/src/components/KanbanBoard/KanbanBoard.stories.d.ts.map +1 -0
  92. package/dist/types/src/components/KanbanBoard/KanbanCard.d.ts +9 -0
  93. package/dist/types/src/components/KanbanBoard/KanbanCard.d.ts.map +1 -0
  94. package/dist/types/src/components/KanbanBoard/KanbanColumn.d.ts +8 -0
  95. package/dist/types/src/components/KanbanBoard/KanbanColumn.d.ts.map +1 -0
  96. package/dist/types/src/components/KanbanBoard/context.d.ts +38 -0
  97. package/dist/types/src/components/KanbanBoard/context.d.ts.map +1 -0
  98. package/dist/types/src/components/KanbanBoard/index.d.ts +2 -0
  99. package/dist/types/src/components/KanbanBoard/index.d.ts.map +1 -0
  100. package/dist/types/src/components/index.d.ts +1 -2
  101. package/dist/types/src/components/index.d.ts.map +1 -1
  102. package/dist/types/src/containers/KanbanContainer/KanbanContainer.d.ts +6 -0
  103. package/dist/types/src/containers/KanbanContainer/KanbanContainer.d.ts.map +1 -0
  104. package/dist/types/src/containers/KanbanContainer/KanbanContainer.stories.d.ts +79 -0
  105. package/dist/types/src/containers/KanbanContainer/KanbanContainer.stories.d.ts.map +1 -0
  106. package/dist/types/src/containers/KanbanContainer/index.d.ts +2 -0
  107. package/dist/types/src/containers/KanbanContainer/index.d.ts.map +1 -0
  108. package/dist/types/src/containers/KanbanSettings/KanbanSettings.d.ts +13 -0
  109. package/dist/types/src/containers/KanbanSettings/KanbanSettings.d.ts.map +1 -0
  110. package/dist/types/src/containers/KanbanSettings/index.d.ts +2 -0
  111. package/dist/types/src/containers/KanbanSettings/index.d.ts.map +1 -0
  112. package/dist/types/src/containers/index.d.ts +4 -0
  113. package/dist/types/src/containers/index.d.ts.map +1 -0
  114. package/dist/types/src/hooks/index.d.ts +7 -0
  115. package/dist/types/src/hooks/index.d.ts.map +1 -0
  116. package/dist/types/src/hooks/useEchoChangeCallback.d.ts +13 -0
  117. package/dist/types/src/hooks/useEchoChangeCallback.d.ts.map +1 -0
  118. package/dist/types/src/hooks/useItemsProjection.d.ts +10 -0
  119. package/dist/types/src/hooks/useItemsProjection.d.ts.map +1 -0
  120. package/dist/types/src/hooks/useKanbanBoardModel.browser.test.d.ts +2 -0
  121. package/dist/types/src/hooks/useKanbanBoardModel.browser.test.d.ts.map +1 -0
  122. package/dist/types/src/hooks/useKanbanBoardModel.d.ts +16 -0
  123. package/dist/types/src/hooks/useKanbanBoardModel.d.ts.map +1 -0
  124. package/dist/types/src/hooks/useKanbanColumnEventHandler.d.ts +22 -0
  125. package/dist/types/src/hooks/useKanbanColumnEventHandler.d.ts.map +1 -0
  126. package/dist/types/src/hooks/useKanbanItemEventHandler.d.ts +19 -0
  127. package/dist/types/src/hooks/useKanbanItemEventHandler.d.ts.map +1 -0
  128. package/dist/types/src/hooks/useProjectionModel.d.ts +15 -0
  129. package/dist/types/src/hooks/useProjectionModel.d.ts.map +1 -0
  130. package/dist/types/src/index.d.ts +3 -1
  131. package/dist/types/src/index.d.ts.map +1 -1
  132. package/dist/types/src/meta.d.ts +2 -3
  133. package/dist/types/src/meta.d.ts.map +1 -1
  134. package/dist/types/src/operations/delete-card-field.d.ts +5 -0
  135. package/dist/types/src/operations/delete-card-field.d.ts.map +1 -0
  136. package/dist/types/src/operations/delete-card.d.ts +5 -0
  137. package/dist/types/src/operations/delete-card.d.ts.map +1 -0
  138. package/dist/types/src/operations/index.d.ts +3 -0
  139. package/dist/types/src/operations/index.d.ts.map +1 -0
  140. package/dist/types/src/operations/restore-card-field.d.ts +5 -0
  141. package/dist/types/src/operations/restore-card-field.d.ts.map +1 -0
  142. package/dist/types/src/operations/restore-card.d.ts +5 -0
  143. package/dist/types/src/operations/restore-card.d.ts.map +1 -0
  144. package/dist/types/src/playwright/board-manager.d.ts +5 -0
  145. package/dist/types/src/playwright/board-manager.d.ts.map +1 -0
  146. package/dist/types/src/playwright/playwright.config.d.ts +3 -0
  147. package/dist/types/src/playwright/playwright.config.d.ts.map +1 -0
  148. package/dist/types/src/playwright/smoke.spec.d.ts +2 -0
  149. package/dist/types/src/playwright/smoke.spec.d.ts.map +1 -0
  150. package/dist/types/src/plugin.d.ts +4 -0
  151. package/dist/types/src/plugin.d.ts.map +1 -0
  152. package/dist/types/src/testing/KanbanCardTileSimple.d.ts +7 -0
  153. package/dist/types/src/testing/KanbanCardTileSimple.d.ts.map +1 -0
  154. package/dist/types/src/testing/index.d.ts +2 -0
  155. package/dist/types/src/testing/index.d.ts.map +1 -0
  156. package/dist/types/src/translations.d.ts +50 -22
  157. package/dist/types/src/translations.d.ts.map +1 -1
  158. package/dist/types/src/types/Kanban.d.ts +109 -0
  159. package/dist/types/src/types/Kanban.d.ts.map +1 -0
  160. package/dist/types/src/types/KanbanOperation.d.ts +52 -0
  161. package/dist/types/src/types/KanbanOperation.d.ts.map +1 -0
  162. package/dist/types/src/types/constants.d.ts +6 -0
  163. package/dist/types/src/types/constants.d.ts.map +1 -0
  164. package/dist/types/src/types/index.d.ts +3 -0
  165. package/dist/types/src/types/index.d.ts.map +1 -1
  166. package/dist/types/src/types/migrations.test.d.ts +2 -0
  167. package/dist/types/src/types/migrations.test.d.ts.map +1 -0
  168. package/dist/types/src/types/schema.d.ts +18 -52
  169. package/dist/types/src/types/schema.d.ts.map +1 -1
  170. package/dist/types/src/types/types.d.ts +28 -0
  171. package/dist/types/src/types/types.d.ts.map +1 -1
  172. package/dist/types/src/util/arrangement.d.ts +72 -0
  173. package/dist/types/src/util/arrangement.d.ts.map +1 -0
  174. package/dist/types/src/util/arrangement.test.d.ts +2 -0
  175. package/dist/types/src/util/arrangement.test.d.ts.map +1 -0
  176. package/dist/types/src/util/index.d.ts +2 -0
  177. package/dist/types/src/util/index.d.ts.map +1 -0
  178. package/dist/types/tsconfig.tsbuildinfo +1 -1
  179. package/package.json +120 -57
  180. package/src/KanbanPlugin.node.ts +21 -0
  181. package/src/KanbanPlugin.test.ts +31 -0
  182. package/src/KanbanPlugin.tsx +29 -57
  183. package/src/blueprints/index.ts +5 -0
  184. package/src/blueprints/kanban-blueprint.ts +27 -0
  185. package/src/capabilities/artifact-definition.ts +117 -113
  186. package/src/capabilities/blueprint-definition.ts +13 -24
  187. package/src/capabilities/create-object.ts +40 -0
  188. package/src/capabilities/index.ts +12 -4
  189. package/src/capabilities/migrations.ts +35 -0
  190. package/src/capabilities/operation-handler.ts +14 -0
  191. package/src/capabilities/react-surface.tsx +79 -68
  192. package/src/capabilities/undo-mappings.ts +34 -0
  193. package/src/components/KanbanBoard/KanbanBoard.stories.tsx +146 -0
  194. package/src/components/KanbanBoard/KanbanBoard.tsx +164 -0
  195. package/src/components/KanbanBoard/KanbanCard.tsx +101 -0
  196. package/src/components/KanbanBoard/KanbanColumn.tsx +72 -0
  197. package/src/components/KanbanBoard/context.ts +54 -0
  198. package/src/components/KanbanBoard/index.ts +5 -0
  199. package/src/components/index.ts +1 -2
  200. package/src/containers/KanbanContainer/KanbanContainer.stories.tsx +277 -0
  201. package/src/containers/KanbanContainer/KanbanContainer.tsx +178 -0
  202. package/src/containers/KanbanContainer/index.ts +5 -0
  203. package/src/containers/KanbanSettings/KanbanSettings.tsx +94 -0
  204. package/src/containers/KanbanSettings/index.ts +5 -0
  205. package/src/containers/index.ts +8 -0
  206. package/src/hooks/index.ts +10 -0
  207. package/src/hooks/useEchoChangeCallback.ts +30 -0
  208. package/src/hooks/useItemsProjection.ts +44 -0
  209. package/src/hooks/useKanbanBoardModel.browser.test.ts +235 -0
  210. package/src/hooks/useKanbanBoardModel.ts +157 -0
  211. package/src/hooks/useKanbanColumnEventHandler.ts +106 -0
  212. package/src/hooks/useKanbanItemEventHandler.ts +133 -0
  213. package/src/hooks/useProjectionModel.ts +58 -0
  214. package/src/index.ts +3 -2
  215. package/src/meta.ts +9 -7
  216. package/src/operations/delete-card-field.ts +47 -0
  217. package/src/operations/delete-card.ts +23 -0
  218. package/src/operations/index.ts +10 -0
  219. package/src/operations/restore-card-field.ts +41 -0
  220. package/src/operations/restore-card.ts +21 -0
  221. package/src/playwright/board-manager.ts +13 -0
  222. package/src/playwright/playwright.config.ts +19 -0
  223. package/src/playwright/smoke.spec.ts +107 -0
  224. package/src/plugin.ts +11 -0
  225. package/src/testing/KanbanCardTileSimple.tsx +82 -0
  226. package/src/testing/index.ts +5 -0
  227. package/src/translations.ts +28 -20
  228. package/src/types/Kanban.ts +151 -0
  229. package/src/types/KanbanOperation.ts +67 -0
  230. package/src/types/constants.ts +9 -0
  231. package/src/types/index.ts +4 -0
  232. package/src/types/migrations.test.ts +83 -0
  233. package/src/types/schema.ts +33 -45
  234. package/src/types/types.ts +35 -0
  235. package/src/util/arrangement.test.ts +218 -0
  236. package/src/util/arrangement.ts +177 -0
  237. package/src/util/index.ts +5 -0
  238. package/dist/lib/browser/blueprint-definition-GFG7LX2C.mjs +0 -28
  239. package/dist/lib/browser/blueprint-definition-GFG7LX2C.mjs.map +0 -7
  240. package/dist/lib/browser/chunk-NCNNL74W.mjs +0 -82
  241. package/dist/lib/browser/chunk-NCNNL74W.mjs.map +0 -7
  242. package/dist/lib/browser/index.mjs +0 -106
  243. package/dist/lib/browser/index.mjs.map +0 -7
  244. package/dist/lib/browser/intent-resolver-KHOAFPNN.mjs +0 -111
  245. package/dist/lib/browser/intent-resolver-KHOAFPNN.mjs.map +0 -7
  246. package/dist/lib/browser/meta.json +0 -1
  247. package/dist/lib/browser/react-surface-UBRYXDKS.mjs +0 -253
  248. package/dist/lib/browser/react-surface-UBRYXDKS.mjs.map +0 -7
  249. package/dist/lib/browser/types/index.mjs +0 -11
  250. package/dist/lib/node-esm/blueprint-definition-MIMDXMUM.mjs +0 -30
  251. package/dist/lib/node-esm/blueprint-definition-MIMDXMUM.mjs.map +0 -7
  252. package/dist/lib/node-esm/chunk-5B3LKGA7.mjs +0 -84
  253. package/dist/lib/node-esm/chunk-5B3LKGA7.mjs.map +0 -7
  254. package/dist/lib/node-esm/index.mjs +0 -107
  255. package/dist/lib/node-esm/index.mjs.map +0 -7
  256. package/dist/lib/node-esm/intent-resolver-MKO5HVES.mjs +0 -112
  257. package/dist/lib/node-esm/intent-resolver-MKO5HVES.mjs.map +0 -7
  258. package/dist/lib/node-esm/meta.json +0 -1
  259. package/dist/lib/node-esm/react-surface-B2FPS52G.mjs +0 -254
  260. package/dist/lib/node-esm/react-surface-B2FPS52G.mjs.map +0 -7
  261. package/dist/lib/node-esm/types/index.mjs +0 -12
  262. package/dist/types/src/capabilities/intent-resolver.d.ts +0 -4
  263. package/dist/types/src/capabilities/intent-resolver.d.ts.map +0 -1
  264. package/dist/types/src/components/KanbanContainer.d.ts +0 -7
  265. package/dist/types/src/components/KanbanContainer.d.ts.map +0 -1
  266. package/dist/types/src/components/KanbanContainer.stories.d.ts +0 -41
  267. package/dist/types/src/components/KanbanContainer.stories.d.ts.map +0 -1
  268. package/dist/types/src/components/KanbanViewEditor.d.ts +0 -8
  269. package/dist/types/src/components/KanbanViewEditor.d.ts.map +0 -1
  270. package/src/capabilities/intent-resolver.ts +0 -71
  271. package/src/components/KanbanContainer.stories.tsx +0 -190
  272. package/src/components/KanbanContainer.tsx +0 -95
  273. package/src/components/KanbanViewEditor.tsx +0 -62
  274. /package/dist/lib/{browser/types → neutral/blueprints}/index.mjs.map +0 -0
  275. /package/dist/lib/{node-esm/types/index.mjs.map → neutral/chunk-J5LGTIGS.mjs.map} +0 -0
@@ -0,0 +1,38 @@
1
+ import { type ComponentType } from 'react';
2
+ import { type Obj } from '@dxos/echo';
3
+ import { type MosaicTileProps } from '@dxos/react-ui-mosaic';
4
+ import { type ProjectionModel } from '@dxos/schema';
5
+ import { type ColumnStructure, type KanbanChangeCallback } from '#types';
6
+ /**
7
+ * Card tile props. Defined here (rather than in `KanbanCard.tsx`) so the
8
+ * context type can reference it without forming a cycle through that
9
+ * module's runtime exports — webkit treats the resulting TDZ as a hard
10
+ * error while other engines are lenient.
11
+ */
12
+ export type KanbanCardProps = Pick<MosaicTileProps<Obj.Unknown>, 'location' | 'data' | 'debug' | 'draggable'>;
13
+ /**
14
+ * Column tile props. See note on {@link KanbanCardProps}.
15
+ */
16
+ export type KanbanColumnProps = Pick<MosaicTileProps<ColumnStructure>, 'location' | 'data' | 'debug' | 'draggable'>;
17
+ /**
18
+ * Context value for the Kanban board.
19
+ * Items are Echo objects (Obj.Unknown).
20
+ */
21
+ export type KanbanBoardContextValue = {
22
+ kanbanId: string;
23
+ projection: ProjectionModel | undefined;
24
+ columnFieldPath: string | undefined;
25
+ change: KanbanChangeCallback<Obj.Unknown>;
26
+ pivotFieldId: string | undefined;
27
+ getPivotAttributes: (columnValue: string) => {
28
+ title: string;
29
+ color: string;
30
+ };
31
+ itemTile?: ComponentType<KanbanCardProps>;
32
+ onCardAdd?: (columnValue: string | undefined) => string | undefined;
33
+ onCardRemove?: (card: Obj.Unknown) => void;
34
+ };
35
+ export declare const KanbanBoardContext: import("react").FC<KanbanBoardContextValue & {
36
+ children: React.ReactNode;
37
+ }>, useKanbanBoard: (consumerName: string) => KanbanBoardContextValue;
38
+ //# sourceMappingURL=context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../../src/components/KanbanBoard/context.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD,OAAO,EAAE,KAAK,eAAe,EAAE,KAAK,oBAAoB,EAAiD,MAAM,QAAQ,CAAC;AAIxH;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,OAAO,GAAG,WAAW,CAAC,CAAC;AAE9G;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,eAAe,CAAC,eAAe,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,OAAO,GAAG,WAAW,CAAC,CAAC;AAEpH;;;GAGG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,eAAe,GAAG,SAAS,CAAC;IACxC,eAAe,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,MAAM,EAAE,oBAAoB,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IAC1C,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,kBAAkB,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9E,QAAQ,CAAC,EAAE,aAAa,CAAC,eAAe,CAAC,CAAC;IAC1C,SAAS,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,KAAK,MAAM,GAAG,SAAS,CAAC;IACpE,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,CAAC,OAAO,KAAK,IAAI,CAAC;CAC5C,CAAC;AAEF,eAAO,MAAO,kBAAkB;;IAAE,cAAc,mDAS9C,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './KanbanBoard';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/KanbanBoard/index.ts"],"names":[],"mappings":"AAIA,cAAc,eAAe,CAAC"}
@@ -1,3 +1,2 @@
1
- export * from './KanbanContainer';
2
- export * from './KanbanViewEditor';
1
+ export * from './KanbanBoard';
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,eAAe,CAAC"}
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { type AppSurface } from '@dxos/app-toolkit/ui';
3
+ import { Kanban } from '#types';
4
+ export type KanbanContainerProps = AppSurface.ObjectArticleProps<Kanban.Kanban>;
5
+ export declare const KanbanContainer: (props: KanbanContainerProps) => React.JSX.Element;
6
+ //# sourceMappingURL=KanbanContainer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KanbanContainer.d.ts","sourceRoot":"","sources":["../../../../../src/containers/KanbanContainer/KanbanContainer.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAIhE,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAUvD,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC,kBAAkB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AAEhF,eAAO,MAAM,eAAe,UAAW,oBAAoB,sBAS1D,CAAC"}
@@ -0,0 +1,79 @@
1
+ import { type Decorator, type StoryObj } from '@storybook/react-vite';
2
+ import React from 'react';
3
+ declare const meta: {
4
+ title: string;
5
+ component: () => React.JSX.Element | null;
6
+ render: () => React.JSX.Element;
7
+ decorators: Decorator[];
8
+ parameters: {
9
+ layout: string;
10
+ translations: [{
11
+ readonly 'en-US': {
12
+ readonly [x: string]: {
13
+ readonly 'typename.label': 'Kanban';
14
+ readonly 'typename.label_zero': 'Kanbans';
15
+ readonly 'typename.label_one': 'Kanban';
16
+ readonly 'typename.label_other': 'Kanbans';
17
+ readonly 'object-name.placeholder': 'New kanban';
18
+ readonly 'add-object.label': 'Add kanban';
19
+ readonly 'rename-object.label': 'Rename kanban';
20
+ readonly 'delete-object.label': 'Delete kanban';
21
+ readonly 'object-deleted.label': 'Kanban deleted';
22
+ readonly 'action-menu.label'?: undefined;
23
+ readonly 'plugin.name'?: undefined;
24
+ readonly 'kanban-title.label'?: undefined;
25
+ readonly 'column-title.label'?: undefined;
26
+ readonly 'column-title.placeholder'?: undefined;
27
+ readonly 'add-column.label'?: undefined;
28
+ readonly 'add-card.label'?: undefined;
29
+ readonly 'new-column-name.label'?: undefined;
30
+ readonly 'remove-card.label'?: undefined;
31
+ readonly 'remove-empty-column.label'?: undefined;
32
+ readonly 'column-drag-handle.label'?: undefined;
33
+ readonly 'delete-column.label'?: undefined;
34
+ readonly 'card-field-deleted.label'?: undefined;
35
+ readonly 'card-deleted.label'?: undefined;
36
+ readonly 'select-pivot.placeholder'?: undefined;
37
+ } | {
38
+ readonly 'typename.label'?: undefined;
39
+ readonly 'typename.label_zero'?: undefined;
40
+ readonly 'typename.label_one'?: undefined;
41
+ readonly 'typename.label_other'?: undefined;
42
+ readonly 'object-name.placeholder'?: undefined;
43
+ readonly 'add-object.label'?: undefined;
44
+ readonly 'rename-object.label'?: undefined;
45
+ readonly 'delete-object.label'?: undefined;
46
+ readonly 'object-deleted.label'?: undefined;
47
+ readonly 'action-menu.label': 'Actions';
48
+ readonly 'plugin.name': 'Kanban';
49
+ readonly 'kanban-title.label': 'Title';
50
+ readonly 'column-title.label': 'Column title';
51
+ readonly 'column-title.placeholder': 'New column';
52
+ readonly 'add-column.label': 'Add column';
53
+ readonly 'add-card.label': 'Add card';
54
+ readonly 'new-column-name.label': 'New column name';
55
+ readonly 'remove-card.label': 'Remove card';
56
+ readonly 'remove-empty-column.label': 'Remove empty column';
57
+ readonly 'column-drag-handle.label': 'Drag to rearrange';
58
+ readonly 'delete-column.label': 'Delete column';
59
+ readonly 'card-field-deleted.label': 'Card field deleted';
60
+ readonly 'card-deleted.label': 'Card deleted';
61
+ readonly 'select-pivot.placeholder': 'Select a pivot column in board settings to display columns.';
62
+ };
63
+ };
64
+ }];
65
+ };
66
+ };
67
+ export default meta;
68
+ type Story = StoryObj<typeof meta>;
69
+ /**
70
+ * Default story using static runtime schema (immutable).
71
+ * Schema mutations are not allowed.
72
+ */
73
+ export declare const Default: Story;
74
+ /**
75
+ * Story variant that uses a mutable database schema (EchoSchema).
76
+ * This allows testing schema mutations like adding/removing fields.
77
+ */
78
+ export declare const MutableSchema: Story;
79
+ //# sourceMappingURL=KanbanContainer.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KanbanContainer.stories.d.ts","sourceRoot":"","sources":["../../../../../src/containers/KanbanContainer/KanbanContainer.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,SAAS,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjF,OAAO,KAA2C,MAAM,OAAO,CAAC;AAoJhE,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAS+B,CAAC;eAE3B,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC;;;GAGG;AACH,eAAO,MAAM,OAAO,EAAE,KAiErB,CAAC;AAEF;;;GAGG;AAKH,eAAO,MAAM,aAAa,EAAE,KA2B3B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { KanbanContainer as default } from './KanbanContainer';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/containers/KanbanContainer/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,IAAI,OAAO,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { type AppSurface } from '@dxos/app-toolkit/ui';
3
+ import { type Kanban } from '#types';
4
+ export type KanbanSettingsProps = AppSurface.ObjectPropertiesProps<Kanban.Kanban>;
5
+ /**
6
+ * Settings panel for a Kanban. Renders fields common to every kanban
7
+ * (currently the "Hide uncategorized column" toggle); for view-variant
8
+ * kanbans an additional "Column field" picker drives the View's pivot
9
+ * field. Items-variant kanbans use a hardcoded `spec.pivotField`, so that
10
+ * field is omitted there.
11
+ */
12
+ export declare const KanbanSettings: ({ subject: object }: KanbanSettingsProps) => React.JSX.Element;
13
+ //# sourceMappingURL=KanbanSettings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KanbanSettings.d.ts","sourceRoot":"","sources":["../../../../../src/containers/KanbanSettings/KanbanSettings.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAEhE,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAQvD,OAAO,EAAE,KAAK,MAAM,EAAuE,MAAM,QAAQ,CAAC;AAE1G,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC,qBAAqB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AAElF;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,wBAAyB,mBAAmB,sBAmEtE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { KanbanSettings as default } from './KanbanSettings';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/containers/KanbanSettings/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,IAAI,OAAO,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type ComponentType } from 'react';
2
+ export declare const KanbanContainer: ComponentType<any>;
3
+ export declare const KanbanSettings: ComponentType<any>;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/containers/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,aAAa,EAAQ,MAAM,OAAO,CAAC;AAEjD,eAAO,MAAM,eAAe,EAAE,aAAa,CAAC,GAAG,CAA2C,CAAC;AAC3F,eAAO,MAAM,cAAc,EAAE,aAAa,CAAC,GAAG,CAA0C,CAAC"}
@@ -0,0 +1,7 @@
1
+ export * from './useEchoChangeCallback';
2
+ export * from './useItemsProjection';
3
+ export * from './useKanbanBoardModel';
4
+ export * from './useKanbanColumnEventHandler';
5
+ export * from './useKanbanItemEventHandler';
6
+ export * from './useProjectionModel';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/index.ts"],"names":[],"mappings":"AAIA,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sBAAsB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { Obj } from '@dxos/echo';
2
+ import { type Kanban, type KanbanChangeCallback } from '#types';
3
+ /**
4
+ * Creates a change callback for ECHO-backed kanban and items (plain function, no hooks).
5
+ * Use this when the kanban and items are stored in the ECHO database.
6
+ */
7
+ export declare const createEchoChangeCallback: <T extends Obj.Unknown>(kanban: Kanban.Kanban) => KanbanChangeCallback<T>;
8
+ /**
9
+ * Returns a memoized ECHO change callback for the given kanban.
10
+ * Returns null when kanban is undefined.
11
+ */
12
+ export declare const useEchoChangeCallback: <T extends Obj.Unknown = Obj.Unknown>(kanban: Kanban.Kanban | undefined) => KanbanChangeCallback<T> | null;
13
+ //# sourceMappingURL=useEchoChangeCallback.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useEchoChangeCallback.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useEchoChangeCallback.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAEjC,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,oBAAoB,EAAE,MAAM,QAAQ,CAAC;AAEhE;;;GAGG;AACH,eAAO,MAAM,wBAAwB,GAAI,CAAC,SAAS,GAAG,CAAC,OAAO,UAAU,MAAM,CAAC,MAAM,KAAG,oBAAoB,CAAC,CAAC,CAO5G,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,qBAAqB,GAAI,CAAC,SAAS,GAAG,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,UAC/D,MAAM,CAAC,MAAM,GAAG,SAAS,KAChC,oBAAoB,CAAC,CAAC,CAAC,GAAG,IAAsF,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { ProjectionModel } from '@dxos/schema';
2
+ import { type Kanban } from '#types';
3
+ /**
4
+ * Minimal `ProjectionModel` for `spec.kind === 'items'` (no View). Supplies `pivotField`
5
+ * and column options from `arrangement.columns` keys—written by sync so columns exist
6
+ * before refs hydrate. Stubs `getFieldProjections` / `getHiddenProperties` for shared
7
+ * board/card UI; hides the pivot on the card body (column shows it); Expando cards render title only.
8
+ */
9
+ export declare const useItemsProjection: (kanban: Kanban.KanbanItems) => ProjectionModel;
10
+ //# sourceMappingURL=useItemsProjection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useItemsProjection.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useItemsProjection.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,QAAQ,CAAC;AAErC;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,WAAY,MAAM,CAAC,WAAW,KAAG,eA0B/D,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=useKanbanBoardModel.browser.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useKanbanBoardModel.browser.test.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useKanbanBoardModel.browser.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,16 @@
1
+ import { Atom, type Registry } from '@effect-atom/atom-react';
2
+ import type { BoardModel } from '@dxos/react-ui-mosaic';
3
+ import type { ProjectionModel } from '@dxos/schema';
4
+ import { type BaseKanbanItem, type ColumnStructure, type Kanban } from '#types';
5
+ /**
6
+ * Builds a board model that maps kanban arrangement and projection onto columns and per-column items.
7
+ *
8
+ * @template T - Item type (must have id; defaults to BaseKanbanItem).
9
+ * @param kanban - Kanban object (arrangement, view).
10
+ * @param projection - ProjectionModel for pivot field and options.
11
+ * @param itemsAtom - Atom holding the full item list.
12
+ * @param registry - Registry for reading atom values.
13
+ * @returns BoardModel with columns atom, items family, and getColumns/getItems.
14
+ */
15
+ export declare function useKanbanBoardModel<T extends BaseKanbanItem = BaseKanbanItem>(kanban: Kanban.Kanban, projection: ProjectionModel, itemsAtom: Atom.Atom<T[]>, registry: Registry.Registry): BoardModel<ColumnStructure, T>;
16
+ //# sourceMappingURL=useKanbanBoardModel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useKanbanBoardModel.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useKanbanBoardModel.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAK9D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,eAAe,EAAE,KAAK,MAAM,EAAE,MAAM,QAAQ,CAAC;AAShF;;;;;;;;;GASG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,cAAc,GAAG,cAAc,EAC3E,MAAM,EAAE,MAAM,CAAC,MAAM,EACrB,UAAU,EAAE,eAAe,EAC3B,SAAS,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,EACzB,QAAQ,EAAE,QAAQ,CAAC,QAAQ,GAC1B,UAAU,CAAC,eAAe,EAAE,CAAC,CAAC,CAwHhC"}
@@ -0,0 +1,22 @@
1
+ import type { BoardModel, MosaicEventHandler } from '@dxos/react-ui-mosaic';
2
+ import type { ProjectionModel } from '@dxos/schema';
3
+ import { type BaseKanbanItem, type ColumnStructure, type KanbanChangeCallback } from '#types';
4
+ /**
5
+ * Builds the column drag-and-drop handler for the kanban board (reorder columns).
6
+ *
7
+ * @template T - Item type (extends BaseKanbanItem).
8
+ * @param id - Handler id.
9
+ * @param model - Board model for getColumns / getColumnId.
10
+ * @param projection - ProjectionModel for pivot field options (column order).
11
+ * @param pivotFieldId - Pivot field id; undefined disables drop.
12
+ * @param change - Callback to persist kanban.arrangement.order.
13
+ * @returns MosaicEventHandler for column tiles.
14
+ */
15
+ export declare function useKanbanColumnEventHandler<T extends BaseKanbanItem>({ id, model, projection, pivotFieldId, change }: {
16
+ id: string;
17
+ model: BoardModel<ColumnStructure, T>;
18
+ projection: ProjectionModel | undefined;
19
+ pivotFieldId: string | undefined;
20
+ change: KanbanChangeCallback<T>;
21
+ }): MosaicEventHandler<ColumnStructure>;
22
+ //# sourceMappingURL=useKanbanColumnEventHandler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useKanbanColumnEventHandler.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useKanbanColumnEventHandler.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,kBAAkB,EAAkB,MAAM,uBAAuB,CAAC;AAC5F,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAGpD,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,eAAe,EAAE,KAAK,oBAAoB,EAAuB,MAAM,QAAQ,CAAC;AAEnH;;;;;;;;;;GAUG;AACH,wBAAgB,2BAA2B,CAAC,CAAC,SAAS,cAAc,EAAE,EACpE,EAAE,EACF,KAAK,EACL,UAAU,EACV,YAAY,EACZ,MAAM,EACP,EAAE;IACD,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,UAAU,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC;IACtC,UAAU,EAAE,eAAe,GAAG,SAAS,CAAC;IACxC,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,MAAM,EAAE,oBAAoB,CAAC,CAAC,CAAC,CAAC;CACjC,GAAG,kBAAkB,CAAC,eAAe,CAAC,CAsEtC"}
@@ -0,0 +1,19 @@
1
+ import type { BoardModel, MosaicEventHandler } from '@dxos/react-ui-mosaic';
2
+ import { type BaseKanbanItem, type ColumnStructure, type KanbanChangeCallback } from '#types';
3
+ /**
4
+ * Builds the item drag-and-drop handler for a single column (reorder and move between columns).
5
+ *
6
+ * @template T - Item type (extends BaseKanbanItem).
7
+ * @param column - Column structure for this tile.
8
+ * @param columnFieldPath - Item property path for the pivot field (used when moving to another column).
9
+ * @param model - Board model for getColumns / getItems.
10
+ * @param change - Callback to persist arrangement and item field updates.
11
+ * @returns MosaicEventHandler for item tiles in this column.
12
+ */
13
+ export declare function useKanbanItemEventHandler<T extends BaseKanbanItem>({ column, columnFieldPath, model, change }: {
14
+ column: ColumnStructure;
15
+ columnFieldPath: string | undefined;
16
+ model: BoardModel<ColumnStructure, T>;
17
+ change: KanbanChangeCallback<T>;
18
+ }): MosaicEventHandler<T>;
19
+ //# sourceMappingURL=useKanbanItemEventHandler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useKanbanItemEventHandler.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useKanbanItemEventHandler.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,kBAAkB,EAAkB,MAAM,uBAAuB,CAAC;AAE5F,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EAE1B,MAAM,QAAQ,CAAC;AAShB;;;;;;;;;GASG;AACH,wBAAgB,yBAAyB,CAAC,CAAC,SAAS,cAAc,EAAE,EAClE,MAAM,EACN,eAAe,EACf,KAAK,EACL,MAAM,EACP,EAAE;IACD,MAAM,EAAE,eAAe,CAAC;IACxB,eAAe,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,KAAK,EAAE,UAAU,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC;IACtC,MAAM,EAAE,oBAAoB,CAAC,CAAC,CAAC,CAAC;CACjC,GAAG,kBAAkB,CAAC,CAAC,CAAC,CAyFxB"}
@@ -0,0 +1,15 @@
1
+ import { type Registry } from '@effect-atom/atom-react';
2
+ import { Type } from '@dxos/echo';
3
+ import { ProjectionModel } from '@dxos/schema';
4
+ import { type Kanban } from '#types';
5
+ /**
6
+ * Loads the kanban view and builds a ProjectionModel for field projections and pivot.
7
+ *
8
+ * @template S - Entity schema type.
9
+ * @param schema - Echo schema for the viewed type (or undefined).
10
+ * @param kanban - Kanban object whose view to load (or undefined).
11
+ * @param registry - Atom registry for reactive state.
12
+ * @returns ProjectionModel when loaded, or undefined while loading or when schema/kanban are missing.
13
+ */
14
+ export declare const useProjectionModel: <S extends Type.AnyEntity>(schema: S | undefined, kanban: Kanban.Kanban | undefined, registry: Registry.Registry) => ProjectionModel | undefined;
15
+ //# sourceMappingURL=useProjectionModel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useProjectionModel.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useProjectionModel.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAGxD,OAAO,EAAc,IAAI,EAAE,MAAM,YAAY,CAAC;AAG9C,OAAO,EAAE,eAAe,EAA4B,MAAM,cAAc,CAAC;AAEzE,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,QAAQ,CAAC;AAErC;;;;;;;;GAQG;AACH,eAAO,MAAM,kBAAkB,GAAI,CAAC,SAAS,IAAI,CAAC,SAAS,UACjD,CAAC,GAAG,SAAS,UACb,MAAM,CAAC,MAAM,GAAG,SAAS,YACvB,QAAQ,CAAC,QAAQ,gCA+B5B,CAAC"}
@@ -1,3 +1,5 @@
1
+ export * from './blueprints';
1
2
  export * from './meta';
2
- export * from './KanbanPlugin';
3
+ export * from './operations';
4
+ export * from './types';
3
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,QAAQ,CAAC;AAEvB,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC"}
@@ -1,4 +1,3 @@
1
- import { type PluginMeta } from '@dxos/app-framework';
2
- export declare const KANBAN_PLUGIN = "dxos.org/plugin/kanban";
3
- export declare const meta: PluginMeta;
1
+ import { type Plugin } from '@dxos/app-framework';
2
+ export declare const meta: Plugin.Meta;
4
3
  //# sourceMappingURL=meta.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD,eAAO,MAAM,aAAa,2BAA2B,CAAC;AAEtD,eAAO,MAAM,IAAI,EAAE,UAQlB,CAAC"}
1
+ {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAGlD,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,IAWzB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { Operation } from '@dxos/compute';
2
+ import { KanbanOperation } from '../types';
3
+ declare const handler: Operation.WithHandler<typeof KanbanOperation.DeleteCardField>;
4
+ export default handler;
5
+ //# sourceMappingURL=delete-card-field.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-card-field.d.ts","sourceRoot":"","sources":["../../../../src/operations/delete-card-field.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAM1C,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAE3C,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,eAAe,CA+B1E,CAAC;eAEa,OAAO"}
@@ -0,0 +1,5 @@
1
+ import { Operation } from '@dxos/compute';
2
+ import { KanbanOperation } from '../types';
3
+ declare const handler: Operation.WithHandler<typeof KanbanOperation.DeleteCard>;
4
+ export default handler;
5
+ //# sourceMappingURL=delete-card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-card.d.ts","sourceRoot":"","sources":["../../../../src/operations/delete-card.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAI1C,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAE3C,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,UAAU,CAUrE,CAAC;eAEa,OAAO"}
@@ -0,0 +1,3 @@
1
+ import { OperationHandlerSet } from '@dxos/compute';
2
+ export declare const KanbanOperationHandlerSet: OperationHandlerSet.OperationHandlerSet;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/operations/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEpD,eAAO,MAAM,yBAAyB,yCAKrC,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { Operation } from '@dxos/compute';
2
+ import { KanbanOperation } from '../types';
3
+ declare const handler: Operation.WithHandler<typeof KanbanOperation.RestoreCardField>;
4
+ export default handler;
5
+ //# sourceMappingURL=restore-card-field.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"restore-card-field.d.ts","sourceRoot":"","sources":["../../../../src/operations/restore-card-field.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAM1C,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAE3C,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,gBAAgB,CAyB3E,CAAC;eAEa,OAAO"}
@@ -0,0 +1,5 @@
1
+ import { Operation } from '@dxos/compute';
2
+ import { KanbanOperation } from '../types';
3
+ declare const handler: Operation.WithHandler<typeof KanbanOperation.RestoreCard>;
4
+ export default handler;
5
+ //# sourceMappingURL=restore-card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"restore-card.d.ts","sourceRoot":"","sources":["../../../../src/operations/restore-card.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAI1C,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAE3C,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,WAAW,CAQtE,CAAC;eAEa,OAAO"}
@@ -0,0 +1,5 @@
1
+ import { BoardManager as MosaicBoardManager } from '@dxos/react-ui-mosaic/playwright';
2
+ export declare class BoardManager extends MosaicBoardManager {
3
+ waitUntilReady(): Promise<void>;
4
+ }
5
+ //# sourceMappingURL=board-manager.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"board-manager.d.ts","sourceRoot":"","sources":["../../../../src/playwright/board-manager.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,IAAI,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtF,qBAAa,YAAa,SAAQ,kBAAkB;IAC5C,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC,CAIpC;CACF"}
@@ -0,0 +1,3 @@
1
+ declare const _default: import("@playwright/test").PlaywrightTestConfig<{}, {}>;
2
+ export default _default;
3
+ //# sourceMappingURL=playwright.config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"playwright.config.d.ts","sourceRoot":"","sources":["../../../../src/playwright/playwright.config.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=smoke.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"smoke.spec.d.ts","sourceRoot":"","sources":["../../../../src/playwright/smoke.spec.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import { Plugin } from '@dxos/app-framework';
2
+ export declare const KanbanPlugin: Plugin.PluginFactory<void>;
3
+ export { KanbanOperationHandlerSet } from './operations';
4
+ //# sourceMappingURL=plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../src/plugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAI7C,eAAO,MAAM,YAAY,4BAA6C,CAAC;AAEvE,OAAO,EAAE,yBAAyB,EAAE,MAAM,cAAc,CAAC"}
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { type KanbanCardProps } from '#components';
3
+ /**
4
+ * Card tile without Surface; for stories and tests when plugin manager is not available.
5
+ */
6
+ export declare const KanbanCardTileSimple: React.ForwardRefExoticComponent<KanbanCardProps & React.RefAttributes<HTMLDivElement>>;
7
+ //# sourceMappingURL=KanbanCardTileSimple.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KanbanCardTileSimple.d.ts","sourceRoot":"","sources":["../../../../src/testing/KanbanCardTileSimple.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAqD,MAAM,OAAO,CAAC;AAO1E,OAAO,EAAE,KAAK,eAAe,EAAkB,MAAM,aAAa,CAAC;AAKnE;;GAEG;AACH,eAAO,MAAM,oBAAoB,wFA4DhC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { KanbanCardTileSimple } from './KanbanCardTileSimple';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/testing/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC"}
@@ -1,27 +1,55 @@
1
- import { Kanban } from '@dxos/react-ui-kanban/types';
2
- import { meta } from './meta';
3
1
  export declare const translations: [{
4
2
  readonly 'en-US': {
5
- readonly [Kanban.Kanban.typename]: {
6
- readonly 'typename label': "Kanban";
7
- readonly 'typename label_zero': "Kanbans";
8
- readonly 'typename label_one': "Kanban";
9
- readonly 'typename label_other': "Kanbans";
10
- readonly 'object name placeholder': "New kanban";
11
- };
12
- readonly [meta.id]: {
13
- readonly 'plugin name': "Kanban";
14
- readonly 'kanban title label': "Title";
15
- readonly 'column title label': "Column title";
16
- readonly 'column title placeholder': "New column";
17
- readonly 'item title label': "Item title";
18
- readonly 'item title placeholder': "New item";
19
- readonly 'add column label': "Add column";
20
- readonly 'add item label': "Add card";
21
- readonly 'delete column label': "Delete column";
22
- readonly 'delete item label': "Delete card";
23
- readonly 'card field deleted label': "Card field deleted";
24
- readonly 'card deleted label': "Card deleted";
3
+ readonly [x: string]: {
4
+ readonly 'typename.label': 'Kanban';
5
+ readonly 'typename.label_zero': 'Kanbans';
6
+ readonly 'typename.label_one': 'Kanban';
7
+ readonly 'typename.label_other': 'Kanbans';
8
+ readonly 'object-name.placeholder': 'New kanban';
9
+ readonly 'add-object.label': 'Add kanban';
10
+ readonly 'rename-object.label': 'Rename kanban';
11
+ readonly 'delete-object.label': 'Delete kanban';
12
+ readonly 'object-deleted.label': 'Kanban deleted';
13
+ readonly 'action-menu.label'?: undefined;
14
+ readonly 'plugin.name'?: undefined;
15
+ readonly 'kanban-title.label'?: undefined;
16
+ readonly 'column-title.label'?: undefined;
17
+ readonly 'column-title.placeholder'?: undefined;
18
+ readonly 'add-column.label'?: undefined;
19
+ readonly 'add-card.label'?: undefined;
20
+ readonly 'new-column-name.label'?: undefined;
21
+ readonly 'remove-card.label'?: undefined;
22
+ readonly 'remove-empty-column.label'?: undefined;
23
+ readonly 'column-drag-handle.label'?: undefined;
24
+ readonly 'delete-column.label'?: undefined;
25
+ readonly 'card-field-deleted.label'?: undefined;
26
+ readonly 'card-deleted.label'?: undefined;
27
+ readonly 'select-pivot.placeholder'?: undefined;
28
+ } | {
29
+ readonly 'typename.label'?: undefined;
30
+ readonly 'typename.label_zero'?: undefined;
31
+ readonly 'typename.label_one'?: undefined;
32
+ readonly 'typename.label_other'?: undefined;
33
+ readonly 'object-name.placeholder'?: undefined;
34
+ readonly 'add-object.label'?: undefined;
35
+ readonly 'rename-object.label'?: undefined;
36
+ readonly 'delete-object.label'?: undefined;
37
+ readonly 'object-deleted.label'?: undefined;
38
+ readonly 'action-menu.label': 'Actions';
39
+ readonly 'plugin.name': 'Kanban';
40
+ readonly 'kanban-title.label': 'Title';
41
+ readonly 'column-title.label': 'Column title';
42
+ readonly 'column-title.placeholder': 'New column';
43
+ readonly 'add-column.label': 'Add column';
44
+ readonly 'add-card.label': 'Add card';
45
+ readonly 'new-column-name.label': 'New column name';
46
+ readonly 'remove-card.label': 'Remove card';
47
+ readonly 'remove-empty-column.label': 'Remove empty column';
48
+ readonly 'column-drag-handle.label': 'Drag to rearrange';
49
+ readonly 'delete-column.label': 'Delete column';
50
+ readonly 'card-field-deleted.label': 'Card field deleted';
51
+ readonly 'card-deleted.label': 'Card deleted';
52
+ readonly 'select-pivot.placeholder': 'Select a pivot column in board settings to display columns.';
25
53
  };
26
54
  };
27
55
  }];
@@ -1 +1 @@
1
- {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAErD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,YAAY;;QAGnB,SAAA,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC;;;;;;UAMvB;QACD,SAAA,CAAC,IAAI,CAAC,EAAE,CAAC;;;;;;;;;;;;;UAaR;;EAGwB,CAAC"}
1
+ {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,YAAY;;;uCAIC,QAAQ;4CACH,SAAS;2CACV,QAAQ;6CACN,SAAS;gDACN,YAAY;yCACnB,YAAY;4CACT,eAAe;4CACf,eAAe;6CACd,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;0CAGnB,SAAS;oCACf,QAAQ;2CACD,OAAO;2CACP,cAAc;iDACR,YAAY;yCACpB,YAAY;uCACd,UAAU;8CACH,iBAAiB;0CACrB,aAAa;kDACL,qBAAqB;iDACtB,mBAAmB;4CACxB,eAAe;iDACV,oBAAoB;2CAC1B,cAAc;iDACR,6DAA6D;;;EAIlE,CAAC"}