@dxos/plugin-kanban 0.8.4-main.c85a9c8dae → 0.8.4-main.d9fc60f731

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 (285) hide show
  1. package/LICENSE +102 -5
  2. package/PLUGIN.mdl +398 -0
  3. package/README.md +1 -1
  4. package/dist/lib/neutral/KanbanArticle-V3UCZQB6.mjs +133 -0
  5. package/dist/lib/neutral/KanbanArticle-V3UCZQB6.mjs.map +7 -0
  6. package/dist/lib/neutral/KanbanPlugin.mjs +44 -0
  7. package/dist/lib/neutral/KanbanPlugin.mjs.map +7 -0
  8. package/dist/lib/neutral/KanbanPlugin.node.mjs +27 -0
  9. package/dist/lib/neutral/KanbanPlugin.node.mjs.map +7 -0
  10. package/dist/lib/neutral/KanbanPlugin.workerd.mjs +21 -0
  11. package/dist/lib/neutral/KanbanPlugin.workerd.mjs.map +7 -0
  12. package/dist/lib/{browser/KanbanViewEditor-IH5CJ6BW.mjs → neutral/KanbanSettings-Q2RJW4U4.mjs} +38 -21
  13. package/dist/lib/neutral/KanbanSettings-Q2RJW4U4.mjs.map +7 -0
  14. package/dist/lib/{browser/blueprint-definition-HFEKGFJK.mjs → neutral/blueprint-definition-FHVIEKTQ.mjs} +4 -6
  15. package/dist/lib/neutral/blueprint-definition-FHVIEKTQ.mjs.map +7 -0
  16. package/dist/lib/{browser → neutral}/blueprints/index.mjs +1 -1
  17. package/dist/lib/neutral/capabilities/index.mjs +17 -0
  18. package/dist/lib/neutral/capabilities/index.mjs.map +7 -0
  19. package/dist/lib/neutral/chunk-6ZHHQWO5.mjs +39 -0
  20. package/dist/lib/neutral/chunk-6ZHHQWO5.mjs.map +7 -0
  21. package/dist/lib/neutral/chunk-PNGVV67W.mjs +246 -0
  22. package/dist/lib/neutral/chunk-PNGVV67W.mjs.map +7 -0
  23. package/dist/lib/neutral/chunk-UWUD7L3O.mjs +8 -0
  24. package/dist/lib/neutral/chunk-UWUD7L3O.mjs.map +7 -0
  25. package/dist/lib/{browser/chunk-TLYZSC7O.mjs → neutral/chunk-ZTQW5KQS.mjs} +3 -6
  26. package/dist/lib/neutral/chunk-ZTQW5KQS.mjs.map +7 -0
  27. package/dist/lib/{browser/KanbanContainer-BCXSJ6KS.mjs → neutral/components/index.mjs} +81 -142
  28. package/dist/lib/neutral/components/index.mjs.map +7 -0
  29. package/dist/lib/neutral/containers/index.mjs +11 -0
  30. package/dist/lib/neutral/containers/index.mjs.map +7 -0
  31. package/dist/lib/neutral/create-object-DKBSI46K.mjs +40 -0
  32. package/dist/lib/neutral/create-object-DKBSI46K.mjs.map +7 -0
  33. package/dist/lib/neutral/delete-card-4QF3TKXO.mjs +24 -0
  34. package/dist/lib/neutral/delete-card-4QF3TKXO.mjs.map +7 -0
  35. package/dist/lib/neutral/delete-card-field-5M4ZHKLO.mjs +39 -0
  36. package/dist/lib/neutral/delete-card-field-5M4ZHKLO.mjs.map +7 -0
  37. package/dist/lib/{node-esm/chunk-CSL3HF2X.mjs → neutral/hooks/index.mjs} +128 -82
  38. package/dist/lib/neutral/hooks/index.mjs.map +7 -0
  39. package/dist/lib/neutral/index.mjs +34 -0
  40. package/dist/lib/neutral/meta.json +1 -0
  41. package/dist/lib/neutral/meta.mjs +8 -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/plugin.mjs +16 -0
  46. package/dist/lib/neutral/plugin.mjs.map +7 -0
  47. package/dist/lib/{browser/react-surface-FOMOGFVW.mjs → neutral/react-surface-MROAQQQ6.mjs} +30 -38
  48. package/dist/lib/neutral/react-surface-MROAQQQ6.mjs.map +7 -0
  49. package/dist/lib/neutral/restore-card-5NI7HMIJ.mjs +21 -0
  50. package/dist/lib/neutral/restore-card-5NI7HMIJ.mjs.map +7 -0
  51. package/dist/lib/neutral/restore-card-field-QM2R67J5.mjs +37 -0
  52. package/dist/lib/neutral/restore-card-field-QM2R67J5.mjs.map +7 -0
  53. package/dist/lib/neutral/testing/index.mjs +62 -0
  54. package/dist/lib/neutral/testing/index.mjs.map +7 -0
  55. package/dist/lib/neutral/translations.mjs +44 -0
  56. package/dist/lib/neutral/translations.mjs.map +7 -0
  57. package/dist/lib/{browser → neutral}/types/index.mjs +7 -5
  58. package/dist/lib/neutral/undo-mappings-6CHW6BOF.mjs +42 -0
  59. package/dist/lib/neutral/undo-mappings-6CHW6BOF.mjs.map +7 -0
  60. package/dist/types/src/KanbanPlugin.d.ts +1 -0
  61. package/dist/types/src/KanbanPlugin.d.ts.map +1 -1
  62. package/dist/types/src/KanbanPlugin.node.d.ts +4 -0
  63. package/dist/types/src/KanbanPlugin.node.d.ts.map +1 -0
  64. package/dist/types/src/KanbanPlugin.test.d.ts +2 -0
  65. package/dist/types/src/KanbanPlugin.test.d.ts.map +1 -0
  66. package/dist/types/src/KanbanPlugin.workerd.d.ts +4 -0
  67. package/dist/types/src/KanbanPlugin.workerd.d.ts.map +1 -0
  68. package/dist/types/src/blueprints/kanban-blueprint.d.ts +2 -2
  69. package/dist/types/src/blueprints/kanban-blueprint.d.ts.map +1 -1
  70. package/dist/types/src/capabilities/artifact-definition.d.ts.map +1 -0
  71. package/dist/types/src/capabilities/blueprint-definition.d.ts +6 -0
  72. package/dist/types/src/capabilities/blueprint-definition.d.ts.map +1 -0
  73. package/dist/types/src/capabilities/create-object.d.ts +11 -0
  74. package/dist/types/src/capabilities/create-object.d.ts.map +1 -0
  75. package/dist/types/src/capabilities/index.d.ts +12 -3
  76. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  77. package/dist/types/src/capabilities/operation-handler.d.ts +6 -0
  78. package/dist/types/src/capabilities/operation-handler.d.ts.map +1 -0
  79. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -0
  80. package/dist/types/src/capabilities/undo-mappings.d.ts +5 -0
  81. package/dist/types/src/capabilities/undo-mappings.d.ts.map +1 -0
  82. package/dist/types/src/components/KanbanBoard/KanbanBoard.d.ts +17 -38
  83. package/dist/types/src/components/KanbanBoard/KanbanBoard.d.ts.map +1 -1
  84. package/dist/types/src/components/KanbanBoard/KanbanBoard.stories.d.ts +48 -46
  85. package/dist/types/src/components/KanbanBoard/KanbanBoard.stories.d.ts.map +1 -1
  86. package/dist/types/src/components/KanbanBoard/KanbanCard.d.ts +2 -3
  87. package/dist/types/src/components/KanbanBoard/KanbanCard.d.ts.map +1 -1
  88. package/dist/types/src/components/KanbanBoard/KanbanColumn.d.ts +2 -3
  89. package/dist/types/src/components/KanbanBoard/KanbanColumn.d.ts.map +1 -1
  90. package/dist/types/src/components/KanbanBoard/context.d.ts +38 -0
  91. package/dist/types/src/components/KanbanBoard/context.d.ts.map +1 -0
  92. package/dist/types/src/containers/KanbanArticle/KanbanArticle.d.ts +6 -0
  93. package/dist/types/src/containers/KanbanArticle/KanbanArticle.d.ts.map +1 -0
  94. package/dist/types/src/containers/KanbanArticle/KanbanArticle.stories.d.ts +79 -0
  95. package/dist/types/src/containers/KanbanArticle/KanbanArticle.stories.d.ts.map +1 -0
  96. package/dist/types/src/containers/KanbanArticle/index.d.ts +2 -0
  97. package/dist/types/src/containers/KanbanArticle/index.d.ts.map +1 -0
  98. package/dist/types/src/containers/KanbanSettings/KanbanSettings.d.ts +13 -0
  99. package/dist/types/src/containers/KanbanSettings/KanbanSettings.d.ts.map +1 -0
  100. package/dist/types/src/containers/KanbanSettings/index.d.ts +2 -0
  101. package/dist/types/src/containers/KanbanSettings/index.d.ts.map +1 -0
  102. package/dist/types/src/containers/index.d.ts +2 -2
  103. package/dist/types/src/containers/index.d.ts.map +1 -1
  104. package/dist/types/src/hooks/index.d.ts +1 -0
  105. package/dist/types/src/hooks/index.d.ts.map +1 -1
  106. package/dist/types/src/hooks/useEchoChangeCallback.d.ts +1 -1
  107. package/dist/types/src/hooks/useEchoChangeCallback.d.ts.map +1 -1
  108. package/dist/types/src/hooks/useItemsProjection.d.ts +10 -0
  109. package/dist/types/src/hooks/useItemsProjection.d.ts.map +1 -0
  110. package/dist/types/src/hooks/useKanbanBoardModel.browser.test.d.ts +2 -0
  111. package/dist/types/src/hooks/useKanbanBoardModel.browser.test.d.ts.map +1 -0
  112. package/dist/types/src/hooks/useKanbanBoardModel.d.ts +1 -1
  113. package/dist/types/src/hooks/useKanbanBoardModel.d.ts.map +1 -1
  114. package/dist/types/src/hooks/useKanbanColumnEventHandler.d.ts +2 -2
  115. package/dist/types/src/hooks/useKanbanColumnEventHandler.d.ts.map +1 -1
  116. package/dist/types/src/hooks/useKanbanItemEventHandler.d.ts +2 -2
  117. package/dist/types/src/hooks/useKanbanItemEventHandler.d.ts.map +1 -1
  118. package/dist/types/src/hooks/useProjectionModel.d.ts +1 -1
  119. package/dist/types/src/hooks/useProjectionModel.d.ts.map +1 -1
  120. package/dist/types/src/index.d.ts +3 -1
  121. package/dist/types/src/index.d.ts.map +1 -1
  122. package/dist/types/src/meta.d.ts +1 -1
  123. package/dist/types/src/meta.d.ts.map +1 -1
  124. package/dist/types/src/operations/delete-card-field.d.ts +5 -0
  125. package/dist/types/src/operations/delete-card-field.d.ts.map +1 -0
  126. package/dist/types/src/operations/delete-card.d.ts +5 -0
  127. package/dist/types/src/operations/delete-card.d.ts.map +1 -0
  128. package/dist/types/src/operations/index.d.ts +3 -0
  129. package/dist/types/src/operations/index.d.ts.map +1 -0
  130. package/dist/types/src/operations/restore-card-field.d.ts +5 -0
  131. package/dist/types/src/operations/restore-card-field.d.ts.map +1 -0
  132. package/dist/types/src/operations/restore-card.d.ts +5 -0
  133. package/dist/types/src/operations/restore-card.d.ts.map +1 -0
  134. package/dist/types/src/playwright/board-manager.d.ts.map +1 -1
  135. package/dist/types/src/playwright/playwright.config.d.ts.map +1 -1
  136. package/dist/types/src/plugin.d.ts +4 -0
  137. package/dist/types/src/plugin.d.ts.map +1 -0
  138. package/dist/types/src/testing/KanbanCardTileSimple.d.ts +4 -2
  139. package/dist/types/src/testing/KanbanCardTileSimple.d.ts.map +1 -1
  140. package/dist/types/src/translations.d.ts +48 -46
  141. package/dist/types/src/translations.d.ts.map +1 -1
  142. package/dist/types/src/types/Kanban.d.ts +66 -9
  143. package/dist/types/src/types/Kanban.d.ts.map +1 -1
  144. package/dist/types/src/types/KanbanOperation.d.ts +52 -0
  145. package/dist/types/src/types/KanbanOperation.d.ts.map +1 -0
  146. package/dist/types/src/types/constants.d.ts +3 -3
  147. package/dist/types/src/types/constants.d.ts.map +1 -1
  148. package/dist/types/src/types/index.d.ts +2 -1
  149. package/dist/types/src/types/index.d.ts.map +1 -1
  150. package/dist/types/src/types/schema.d.ts +15 -104
  151. package/dist/types/src/types/schema.d.ts.map +1 -1
  152. package/dist/types/src/types/types.d.ts +2 -2
  153. package/dist/types/src/util/arrangement.d.ts +8 -4
  154. package/dist/types/src/util/arrangement.d.ts.map +1 -1
  155. package/dist/types/tsconfig.tsbuildinfo +1 -1
  156. package/package.json +115 -63
  157. package/src/KanbanPlugin.node.ts +21 -0
  158. package/src/KanbanPlugin.test.ts +31 -0
  159. package/src/KanbanPlugin.tsx +15 -29
  160. package/src/KanbanPlugin.workerd.ts +18 -0
  161. package/src/blueprints/kanban-blueprint.ts +4 -8
  162. package/src/capabilities/{artifact-definition/artifact-definition.ts → artifact-definition.ts} +12 -11
  163. package/src/capabilities/{blueprint-definition/blueprint-definition.ts → blueprint-definition.ts} +3 -1
  164. package/src/capabilities/create-object.ts +40 -0
  165. package/src/capabilities/index.ts +12 -3
  166. package/src/capabilities/operation-handler.ts +14 -0
  167. package/src/capabilities/{react-surface/react-surface.tsx → react-surface.tsx} +35 -19
  168. package/src/capabilities/undo-mappings.ts +34 -0
  169. package/src/components/KanbanBoard/KanbanBoard.stories.tsx +22 -19
  170. package/src/components/KanbanBoard/KanbanBoard.tsx +43 -63
  171. package/src/components/KanbanBoard/KanbanCard.tsx +77 -63
  172. package/src/components/KanbanBoard/KanbanColumn.tsx +19 -16
  173. package/src/components/KanbanBoard/context.ts +54 -0
  174. package/src/containers/{KanbanContainer/KanbanContainer.stories.tsx → KanbanArticle/KanbanArticle.stories.tsx} +67 -53
  175. package/src/containers/KanbanArticle/KanbanArticle.tsx +180 -0
  176. package/src/containers/KanbanArticle/index.ts +5 -0
  177. package/src/containers/KanbanSettings/KanbanSettings.tsx +94 -0
  178. package/src/containers/KanbanSettings/index.ts +5 -0
  179. package/src/containers/index.ts +2 -2
  180. package/src/hooks/index.ts +1 -0
  181. package/src/hooks/useEchoChangeCallback.ts +3 -3
  182. package/src/hooks/useItemsProjection.ts +44 -0
  183. package/src/hooks/{useKanbanBoardModel.test.ts → useKanbanBoardModel.browser.test.ts} +13 -19
  184. package/src/hooks/useKanbanBoardModel.ts +20 -6
  185. package/src/hooks/useKanbanColumnEventHandler.ts +1 -1
  186. package/src/hooks/useKanbanItemEventHandler.ts +1 -1
  187. package/src/hooks/useProjectionModel.ts +5 -5
  188. package/src/index.ts +3 -2
  189. package/src/meta.ts +22 -5
  190. package/src/operations/delete-card-field.ts +42 -0
  191. package/src/operations/delete-card.ts +23 -0
  192. package/src/operations/index.ts +10 -0
  193. package/src/operations/restore-card-field.ts +36 -0
  194. package/src/operations/restore-card.ts +21 -0
  195. package/src/playwright/smoke.spec.ts +3 -3
  196. package/src/plugin.ts +11 -0
  197. package/src/testing/KanbanCardTileSimple.tsx +29 -23
  198. package/src/translations.ts +26 -25
  199. package/src/types/Kanban.ts +85 -18
  200. package/src/types/KanbanOperation.ts +79 -0
  201. package/src/types/index.ts +3 -1
  202. package/src/types/schema.ts +20 -78
  203. package/src/types/types.ts +2 -2
  204. package/src/util/arrangement.test.ts +23 -14
  205. package/src/util/arrangement.ts +25 -15
  206. package/src/vite-env.d.ts +10 -0
  207. package/dist/lib/browser/KanbanContainer-BCXSJ6KS.mjs.map +0 -7
  208. package/dist/lib/browser/KanbanViewEditor-IH5CJ6BW.mjs.map +0 -7
  209. package/dist/lib/browser/blueprint-definition-HFEKGFJK.mjs.map +0 -7
  210. package/dist/lib/browser/chunk-QSWCFMEB.mjs +0 -385
  211. package/dist/lib/browser/chunk-QSWCFMEB.mjs.map +0 -7
  212. package/dist/lib/browser/chunk-RNFIFE2P.mjs +0 -213
  213. package/dist/lib/browser/chunk-RNFIFE2P.mjs.map +0 -7
  214. package/dist/lib/browser/chunk-TLYZSC7O.mjs.map +0 -7
  215. package/dist/lib/browser/index.mjs +0 -101
  216. package/dist/lib/browser/index.mjs.map +0 -7
  217. package/dist/lib/browser/meta.json +0 -1
  218. package/dist/lib/browser/operation-resolver-BRA2OHUE.mjs +0 -162
  219. package/dist/lib/browser/operation-resolver-BRA2OHUE.mjs.map +0 -7
  220. package/dist/lib/browser/react-surface-FOMOGFVW.mjs.map +0 -7
  221. package/dist/lib/node-esm/KanbanContainer-EHRTLE7M.mjs +0 -305
  222. package/dist/lib/node-esm/KanbanContainer-EHRTLE7M.mjs.map +0 -7
  223. package/dist/lib/node-esm/KanbanViewEditor-WDACFC35.mjs +0 -67
  224. package/dist/lib/node-esm/KanbanViewEditor-WDACFC35.mjs.map +0 -7
  225. package/dist/lib/node-esm/blueprint-definition-NARBX32U.mjs +0 -18
  226. package/dist/lib/node-esm/blueprint-definition-NARBX32U.mjs.map +0 -7
  227. package/dist/lib/node-esm/blueprints/index.mjs +0 -9
  228. package/dist/lib/node-esm/chunk-4AWDHQVY.mjs +0 -214
  229. package/dist/lib/node-esm/chunk-4AWDHQVY.mjs.map +0 -7
  230. package/dist/lib/node-esm/chunk-CSL3HF2X.mjs.map +0 -7
  231. package/dist/lib/node-esm/chunk-HSLMI22Q.mjs +0 -11
  232. package/dist/lib/node-esm/chunk-X3UJUQIV.mjs +0 -31
  233. package/dist/lib/node-esm/chunk-X3UJUQIV.mjs.map +0 -7
  234. package/dist/lib/node-esm/index.mjs +0 -102
  235. package/dist/lib/node-esm/index.mjs.map +0 -7
  236. package/dist/lib/node-esm/meta.json +0 -1
  237. package/dist/lib/node-esm/operation-resolver-UEQ64LCN.mjs +0 -163
  238. package/dist/lib/node-esm/operation-resolver-UEQ64LCN.mjs.map +0 -7
  239. package/dist/lib/node-esm/react-surface-AITKFRBE.mjs +0 -100
  240. package/dist/lib/node-esm/react-surface-AITKFRBE.mjs.map +0 -7
  241. package/dist/lib/node-esm/types/index.mjs +0 -21
  242. package/dist/types/src/capabilities/artifact-definition/artifact-definition.d.ts.map +0 -1
  243. package/dist/types/src/capabilities/artifact-definition/index.d.ts +0 -3
  244. package/dist/types/src/capabilities/artifact-definition/index.d.ts.map +0 -1
  245. package/dist/types/src/capabilities/blueprint-definition/blueprint-definition.d.ts +0 -6
  246. package/dist/types/src/capabilities/blueprint-definition/blueprint-definition.d.ts.map +0 -1
  247. package/dist/types/src/capabilities/blueprint-definition/index.d.ts +0 -3
  248. package/dist/types/src/capabilities/blueprint-definition/index.d.ts.map +0 -1
  249. package/dist/types/src/capabilities/operation-resolver/index.d.ts +0 -3
  250. package/dist/types/src/capabilities/operation-resolver/index.d.ts.map +0 -1
  251. package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts +0 -5
  252. package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts.map +0 -1
  253. package/dist/types/src/capabilities/react-surface/index.d.ts +0 -3
  254. package/dist/types/src/capabilities/react-surface/index.d.ts.map +0 -1
  255. package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +0 -1
  256. package/dist/types/src/containers/KanbanContainer/KanbanContainer.d.ts +0 -6
  257. package/dist/types/src/containers/KanbanContainer/KanbanContainer.d.ts.map +0 -1
  258. package/dist/types/src/containers/KanbanContainer/KanbanContainer.stories.d.ts +0 -77
  259. package/dist/types/src/containers/KanbanContainer/KanbanContainer.stories.d.ts.map +0 -1
  260. package/dist/types/src/containers/KanbanContainer/index.d.ts +0 -3
  261. package/dist/types/src/containers/KanbanContainer/index.d.ts.map +0 -1
  262. package/dist/types/src/containers/KanbanViewEditor/KanbanViewEditor.d.ts +0 -6
  263. package/dist/types/src/containers/KanbanViewEditor/KanbanViewEditor.d.ts.map +0 -1
  264. package/dist/types/src/containers/KanbanViewEditor/index.d.ts +0 -3
  265. package/dist/types/src/containers/KanbanViewEditor/index.d.ts.map +0 -1
  266. package/dist/types/src/hooks/useKanbanBoardModel.test.d.ts +0 -2
  267. package/dist/types/src/hooks/useKanbanBoardModel.test.d.ts.map +0 -1
  268. package/src/capabilities/artifact-definition/index.ts +0 -7
  269. package/src/capabilities/blueprint-definition/index.ts +0 -7
  270. package/src/capabilities/operation-resolver/index.ts +0 -7
  271. package/src/capabilities/operation-resolver/operation-resolver.ts +0 -133
  272. package/src/capabilities/react-surface/index.ts +0 -7
  273. package/src/containers/KanbanContainer/KanbanContainer.tsx +0 -87
  274. package/src/containers/KanbanContainer/index.ts +0 -7
  275. package/src/containers/KanbanViewEditor/KanbanViewEditor.tsx +0 -63
  276. package/src/containers/KanbanViewEditor/index.ts +0 -7
  277. /package/dist/lib/{browser → neutral}/blueprints/index.mjs.map +0 -0
  278. /package/dist/lib/{browser → neutral}/chunk-J5LGTIGS.mjs +0 -0
  279. /package/dist/lib/{browser → neutral}/chunk-J5LGTIGS.mjs.map +0 -0
  280. /package/dist/lib/{browser/types → neutral}/index.mjs.map +0 -0
  281. /package/dist/lib/{node-esm/blueprints/index.mjs.map → neutral/meta.mjs.map} +0 -0
  282. /package/dist/lib/{node-esm/types → neutral/operations}/index.mjs.map +0 -0
  283. /package/dist/lib/{node-esm/chunk-HSLMI22Q.mjs.map → neutral/types/index.mjs.map} +0 -0
  284. /package/dist/types/src/capabilities/{artifact-definition/artifact-definition.d.ts → artifact-definition.d.ts} +0 -0
  285. /package/dist/types/src/capabilities/{react-surface/react-surface.d.ts → react-surface.d.ts} +0 -0
@@ -1,19 +1,21 @@
1
1
  import {
2
2
  CreateKanbanSchema,
3
- KanbanOperation,
3
+ KanbanOperation_exports,
4
+ KanbanSettingsSchema,
5
+ KanbanViewSettingsSchema,
4
6
  Kanban_exports,
5
7
  PivotColumnAnnotationId,
6
- SettingsSchema,
7
8
  UNCATEGORIZED_ATTRIBUTES,
8
9
  UNCATEGORIZED_VALUE
9
- } from "../chunk-RNFIFE2P.mjs";
10
+ } from "../chunk-PNGVV67W.mjs";
10
11
  import "../chunk-J5LGTIGS.mjs";
11
12
  export {
12
13
  CreateKanbanSchema,
13
14
  Kanban_exports as Kanban,
14
- KanbanOperation,
15
+ KanbanOperation_exports as KanbanOperation,
16
+ KanbanSettingsSchema,
17
+ KanbanViewSettingsSchema,
15
18
  PivotColumnAnnotationId,
16
- SettingsSchema,
17
19
  UNCATEGORIZED_ATTRIBUTES,
18
20
  UNCATEGORIZED_VALUE
19
21
  };
@@ -0,0 +1,42 @@
1
+ import "./chunk-J5LGTIGS.mjs";
2
+
3
+ // src/capabilities/undo-mappings.ts
4
+ import * as Effect from "effect/Effect";
5
+ import { Capabilities, Capability, UndoMapping } from "@dxos/app-framework";
6
+ import { meta } from "#meta";
7
+ import { KanbanOperation } from "#types";
8
+ var undo_mappings_default = Capability.makeModule(() => Effect.succeed(Capability.contributes(Capabilities.UndoMapping, [
9
+ UndoMapping.make({
10
+ operation: KanbanOperation.DeleteCardField,
11
+ inverse: KanbanOperation.RestoreCardField,
12
+ deriveContext: (input, output) => ({
13
+ view: input.view,
14
+ field: output.field,
15
+ props: output.props,
16
+ index: output.index
17
+ }),
18
+ message: [
19
+ "card-field-deleted.label",
20
+ {
21
+ ns: meta.id
22
+ }
23
+ ]
24
+ }),
25
+ UndoMapping.make({
26
+ operation: KanbanOperation.DeleteCard,
27
+ inverse: KanbanOperation.RestoreCard,
28
+ deriveContext: (_input, output) => ({
29
+ card: output.card
30
+ }),
31
+ message: [
32
+ "card-deleted.label",
33
+ {
34
+ ns: meta.id
35
+ }
36
+ ]
37
+ })
38
+ ])));
39
+ export {
40
+ undo_mappings_default as default
41
+ };
42
+ //# sourceMappingURL=undo-mappings-6CHW6BOF.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/capabilities/undo-mappings.ts"],
4
+ "sourcesContent": ["// Copyright 2025 DXOS.org\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capabilities, Capability, UndoMapping } from '@dxos/app-framework';\n\nimport { meta } from '#meta';\nimport { KanbanOperation } from '#types';\n\nexport default Capability.makeModule(() =>\n Effect.succeed(\n Capability.contributes(Capabilities.UndoMapping, [\n UndoMapping.make({\n operation: KanbanOperation.DeleteCardField,\n inverse: KanbanOperation.RestoreCardField,\n deriveContext: (input, output) => ({\n view: input.view,\n field: output.field,\n props: output.props,\n index: output.index,\n }),\n message: ['card-field-deleted.label', { ns: meta.id }],\n }),\n UndoMapping.make({\n operation: KanbanOperation.DeleteCard,\n inverse: KanbanOperation.RestoreCard,\n deriveContext: (_input, output) => ({\n card: output.card,\n }),\n message: ['card-deleted.label', { ns: meta.id }],\n }),\n ]),\n ),\n);\n"],
5
+ "mappings": ";;;AAEA,YAAYA,YAAY;AAExB,SAASC,cAAcC,YAAYC,mBAAmB;AAEtD,SAASC,YAAY;AACrB,SAASC,uBAAuB;AAEhC,IAAA,wBAAeH,WAAWI,WAAW,MAC5BC,eACLL,WAAWM,YAAYP,aAAaE,aAAa;EAC/CA,YAAYM,KAAK;IACfC,WAAWL,gBAAgBM;IAC3BC,SAASP,gBAAgBQ;IACzBC,eAAe,CAACC,OAAOC,YAAY;MACjCC,MAAMF,MAAME;MACZC,OAAOF,OAAOE;MACdC,OAAOH,OAAOG;MACdC,OAAOJ,OAAOI;IAChB;IACAC,SAAS;MAAC;MAA4B;QAAEC,IAAIlB,KAAKmB;MAAG;;EACtD,CAAA;EACApB,YAAYM,KAAK;IACfC,WAAWL,gBAAgBmB;IAC3BZ,SAASP,gBAAgBoB;IACzBX,eAAe,CAACY,QAAQV,YAAY;MAClCW,MAAMX,OAAOW;IACf;IACAN,SAAS;MAAC;MAAsB;QAAEC,IAAIlB,KAAKmB;MAAG;;EAChD,CAAA;CACD,CAAA,CAAA;",
6
+ "names": ["Effect", "Capabilities", "Capability", "UndoMapping", "meta", "KanbanOperation", "makeModule", "succeed", "contributes", "make", "operation", "DeleteCardField", "inverse", "RestoreCardField", "deriveContext", "input", "output", "view", "field", "props", "index", "message", "ns", "id", "DeleteCard", "RestoreCard", "_input", "card"]
7
+ }
@@ -1,3 +1,4 @@
1
1
  import { Plugin } from '@dxos/app-framework';
2
2
  export declare const KanbanPlugin: Plugin.PluginFactory<void>;
3
+ export default KanbanPlugin;
3
4
  //# sourceMappingURL=KanbanPlugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"KanbanPlugin.d.ts","sourceRoot":"","sources":["../../../src/KanbanPlugin.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAW7C,eAAO,MAAM,YAAY,4BA0BxB,CAAC"}
1
+ {"version":3,"file":"KanbanPlugin.d.ts","sourceRoot":"","sources":["../../../src/KanbanPlugin.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAW7C,eAAO,MAAM,YAAY,4BAYxB,CAAC;eAEa,YAAY"}
@@ -0,0 +1,4 @@
1
+ import { Plugin } from '@dxos/app-framework';
2
+ export declare const KanbanPlugin: Plugin.PluginFactory<void>;
3
+ export default KanbanPlugin;
4
+ //# sourceMappingURL=KanbanPlugin.node.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KanbanPlugin.node.d.ts","sourceRoot":"","sources":["../../../src/KanbanPlugin.node.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAO7C,eAAO,MAAM,YAAY,4BAOxB,CAAC;eAEa,YAAY"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=KanbanPlugin.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KanbanPlugin.test.d.ts","sourceRoot":"","sources":["../../../src/KanbanPlugin.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import { Plugin } from '@dxos/app-framework';
2
+ export declare const KanbanPlugin: Plugin.PluginFactory<void>;
3
+ export default KanbanPlugin;
4
+ //# sourceMappingURL=KanbanPlugin.workerd.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KanbanPlugin.workerd.d.ts","sourceRoot":"","sources":["../../../src/KanbanPlugin.workerd.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAO7C,eAAO,MAAM,YAAY,4BAIxB,CAAC;eAEa,YAAY"}
@@ -1,4 +1,4 @@
1
- import { type AppCapabilities } from '@dxos/app-toolkit';
2
- declare const blueprint: AppCapabilities.BlueprintDefinition;
1
+ import { Blueprint } from '@dxos/compute';
2
+ declare const blueprint: Blueprint.Definition;
3
3
  export default blueprint;
4
4
  //# sourceMappingURL=kanban-blueprint.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"kanban-blueprint.d.ts","sourceRoot":"","sources":["../../../../src/blueprints/kanban-blueprint.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAoBzD,QAAA,MAAM,SAAS,EAAE,eAAe,CAAC,mBAIhC,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"kanban-blueprint.d.ts","sourceRoot":"","sources":["../../../../src/blueprints/kanban-blueprint.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAY,MAAM,eAAe,CAAC;AAiBpD,QAAA,MAAM,SAAS,EAAE,SAAS,CAAC,UAG1B,CAAC;eAEa,SAAS"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"artifact-definition.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/artifact-definition.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAIxC,OAAO,EAAgB,UAAU,EAAE,KAAK,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAM7F,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAWrD,OAAO,CAAC,MAAM,CAAC,CAAC;IACd,UAAU,qBAAqB;QAC7B,KAAK,CAAC,EAAE,KAAK,CAAC;QACd,QAAQ,CAAC,EAAE,uBAAuB,CAAC;KACpC;CACF"}
@@ -0,0 +1,6 @@
1
+ import * as Effect from 'effect/Effect';
2
+ import { Capability } from '@dxos/app-framework';
3
+ import type { Blueprint } from '@dxos/compute';
4
+ declare const blueprintDefinition: (props: []) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Blueprint.Definition>>[], Error, Capability.Service>;
5
+ export default blueprintDefinition;
6
+ //# sourceMappingURL=blueprint-definition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blueprint-definition.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/blueprint-definition.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGjD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAI/C,QAAA,MAAM,mBAAmB,iIAG8E,CAAC;eAEzF,mBAAmB"}
@@ -0,0 +1,11 @@
1
+ import * as Effect from 'effect/Effect';
2
+ import { Capability } from '@dxos/app-framework';
3
+ import { SpaceCapabilities } from '@dxos/plugin-space';
4
+ declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Readonly<{
5
+ id: string;
6
+ createObject: import("@dxos/plugin-space").CreateObject;
7
+ inputSchema?: import("effect/Schema").Schema.AnyNoContext;
8
+ customPanel?: import("react").ComponentType<SpaceCapabilities.CreateObjectCustomPanelProps>;
9
+ }>>>, never, never>;
10
+ export default _default;
11
+ //# sourceMappingURL=create-object.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-object.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/create-object.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAIjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC"}
@@ -1,4 +1,13 @@
1
- export * from './blueprint-definition';
2
- export * from './operation-resolver';
3
- export * from './react-surface';
1
+ import { Capability } from '@dxos/app-framework';
2
+ import type { Blueprint, OperationHandlerSet } from '@dxos/compute';
3
+ export declare const BlueprintDefinition: Capability.LazyCapability<[], Capability.Capability<Capability.InterfaceDef<Blueprint.Definition>>[], Error>;
4
+ export declare const CreateObject: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<Readonly<{
5
+ id: string;
6
+ createObject: import("@dxos/plugin-space").CreateObject;
7
+ inputSchema?: import("effect/Schema").Schema.AnyNoContext;
8
+ customPanel?: import("react").ComponentType<import("@dxos/plugin-space").SpaceCapabilities.CreateObjectCustomPanelProps>;
9
+ }>>>, Error>;
10
+ export declare const OperationHandler: Capability.LazyCapability<OperationHandlerSet.OperationHandlerSet, Capability.ModuleReturn, Error>;
11
+ export declare const ReactSurface: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-framework/Capabilities").ReactSurface>>, Error>;
12
+ export declare const UndoMappings: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-framework/Capabilities").UndoMapping[]>>, Error>;
4
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,OAAO,KAAK,EAAE,SAAS,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEpE,eAAO,MAAM,mBAAmB,8GAAiF,CAAC;AAClH,eAAO,MAAM,YAAY;;;;;YAAmE,CAAC;AAC7F,eAAO,MAAM,gBAAgB,oGAG5B,CAAC;AACF,eAAO,MAAM,YAAY,iJAAmE,CAAC;AAC7F,eAAO,MAAM,YAAY,kJAAmE,CAAC"}
@@ -0,0 +1,6 @@
1
+ import * as Effect from 'effect/Effect';
2
+ import { Capability } from '@dxos/app-framework';
3
+ import type { OperationHandlerSet } from '@dxos/compute';
4
+ declare const _default: (props: OperationHandlerSet.OperationHandlerSet) => Effect.Effect<Capability.ModuleReturn, Error, Capability.Service>;
5
+ export default _default;
6
+ //# sourceMappingURL=operation-handler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operation-handler.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/operation-handler.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import * as Effect from 'effect/Effect';
2
+ import { Capabilities, Capability } from '@dxos/app-framework';
3
+ declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Capabilities.UndoMapping[]>>, never, never>;
4
+ export default _default;
5
+ //# sourceMappingURL=undo-mappings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"undo-mappings.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/undo-mappings.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAe,MAAM,qBAAqB,CAAC"}
@@ -1,30 +1,10 @@
1
1
  import { type Atom } from '@effect-atom/atom-react';
2
- import React, { type ComponentPropsWithoutRef, type ComponentType, type PropsWithChildren } from 'react';
2
+ import React, { type ComponentPropsWithoutRef, type PropsWithChildren } from 'react';
3
3
  import { Obj } from '@dxos/echo';
4
4
  import type { ProjectionModel } from '@dxos/schema';
5
- import { type Kanban, type KanbanChangeCallback } from '../../types';
6
- import { type KanbanCardProps } from './KanbanCard';
7
- import { type KanbanColumnProps } from './KanbanColumn';
8
- /**
9
- * Context value for the Kanban board.
10
- * Items are Echo objects (Obj.Unknown).
11
- */
12
- type KanbanBoardContextValue = {
13
- kanbanId: string;
14
- projection: ProjectionModel | undefined;
15
- columnFieldPath: string | undefined;
16
- change: KanbanChangeCallback<Obj.Unknown>;
17
- pivotFieldId: string | undefined;
18
- getPivotAttributes: (columnValue: string) => {
19
- title: string;
20
- color: string;
21
- };
22
- itemTile?: ComponentType<KanbanCardProps>;
23
- onCardAdd?: (columnValue: string | undefined) => string | undefined;
24
- onCardRemove?: (card: Obj.Unknown) => void;
25
- };
26
- declare const useKanbanBoard: (consumerName: string) => KanbanBoardContextValue;
27
- type KanbanBoardRootProps = PropsWithChildren<Pick<KanbanBoardContextValue, 'change' | 'itemTile'> & {
5
+ import { type Kanban } from '#types';
6
+ import { type KanbanBoardContextValue, type KanbanCardProps, type KanbanColumnProps, useKanbanBoard } from './context';
7
+ type KanbanBoardRootProps = PropsWithChildren<{
28
8
  kanban: Kanban.Kanban;
29
9
  /** Required when providing context; Root derives columnFieldPath, pivotFieldId, getPivotAttributes from kanban + projection. */
30
10
  projection: ProjectionModel;
@@ -32,24 +12,23 @@ type KanbanBoardRootProps = PropsWithChildren<Pick<KanbanBoardContextValue, 'cha
32
12
  items: Atom.Atom<Obj.Unknown[]>;
33
13
  onCardAdd?: (columnValue: string | undefined) => string | undefined;
34
14
  onCardRemove?: (card: Obj.Unknown) => void;
35
- } & ComponentPropsWithoutRef<'div'>>;
36
- export declare const KanbanBoardRoot: {
37
- ({ children, change, itemTile, kanban, projection, items, onCardAdd, onCardRemove, ...props }: KanbanBoardRootProps): React.JSX.Element;
38
- displayName: string;
39
- };
40
- export declare const KanbanBoardContent: {
41
- (): React.JSX.Element;
42
- displayName: string;
43
- };
15
+ } & Pick<KanbanBoardContextValue, 'change' | 'itemTile'> & ComponentPropsWithoutRef<'div'>>;
16
+ export declare function KanbanBoardRoot({ children, kanban, projection, items, change, itemTile, onCardAdd, onCardRemove }: KanbanBoardRootProps): React.JSX.Element;
17
+ export declare namespace KanbanBoardRoot {
18
+ var displayName: string;
19
+ }
20
+ type KanbanBoardContentProps = {};
21
+ export declare const KanbanBoardContent: React.ForwardRefExoticComponent<Omit<KanbanBoardContentProps, "className"> & {
22
+ classNames?: import("@dxos/ui-types").ClassNameValue;
23
+ } & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
44
24
  export declare const KanbanBoard: {
45
25
  Root: {
46
- ({ children, change, itemTile, kanban, projection, items, onCardAdd, onCardRemove, ...props }: KanbanBoardRootProps): React.JSX.Element;
47
- displayName: string;
48
- };
49
- Content: {
50
- (): React.JSX.Element;
26
+ ({ children, kanban, projection, items, change, itemTile, onCardAdd, onCardRemove, }: KanbanBoardRootProps): React.JSX.Element;
51
27
  displayName: string;
52
28
  };
29
+ Content: React.ForwardRefExoticComponent<Omit<KanbanBoardContentProps, "className"> & {
30
+ classNames?: import("@dxos/ui-types").ClassNameValue;
31
+ } & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
53
32
  Column: React.ForwardRefExoticComponent<KanbanColumnProps & React.RefAttributes<HTMLDivElement>>;
54
33
  Card: React.ForwardRefExoticComponent<KanbanCardProps & React.RefAttributes<HTMLDivElement>>;
55
34
  };
@@ -1 +1 @@
1
- {"version":3,"file":"KanbanBoard.d.ts","sourceRoot":"","sources":["../../../../../src/components/KanbanBoard/KanbanBoard.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,EAAmB,MAAM,yBAAyB,CAAC;AAErE,OAAO,KAAK,EAAE,EACZ,KAAK,wBAAwB,EAC7B,KAAK,aAAa,EAClB,KAAK,iBAAiB,EAIvB,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAGjC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAIpD,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,oBAAoB,EAAiD,MAAM,aAAa,CAAC;AAEpH,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAUtE;;;GAGG;AACH,KAAK,uBAAuB,GAAG;IAC7B,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,QAAA,MAA2B,cAAc,mDASvC,CAAC;AAQH,KAAK,oBAAoB,GAAG,iBAAiB,CAC3C,IAAI,CAAC,uBAAuB,EAAE,QAAQ,GAAG,UAAU,CAAC,GAAG;IACrD,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC;IACtB,gIAAgI;IAChI,UAAU,EAAE,eAAe,CAAC;IAC5B,kFAAkF;IAClF,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC,CAAC;IAChC,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,GAAG,wBAAwB,CAAC,KAAK,CAAC,CACpC,CAAC;AAEF,eAAO,MAAM,eAAe;mGAUzB,oBAAoB;;CAqDtB,CAAC;AAUF,eAAO,MAAM,kBAAkB;;;CAa9B,CAAC;AAQF,eAAO,MAAM,WAAW;;uGApFrB,oBAAoB;;;;;;;;;CAyFtB,CAAC;AAEF,OAAO,EAAE,cAAc,EAAE,CAAC;AAE1B,YAAY,EAAE,oBAAoB,IAAI,gBAAgB,EAAE,eAAe,EAAE,iBAAiB,EAAE,CAAC"}
1
+ {"version":3,"file":"KanbanBoard.d.ts","sourceRoot":"","sources":["../../../../../src/components/KanbanBoard/KanbanBoard.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,EAAmB,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EAAE,EAAE,KAAK,wBAAwB,EAAE,KAAK,iBAAiB,EAAoC,MAAM,OAAO,CAAC;AAEvH,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAIjC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAIpD,OAAO,EAAE,KAAK,MAAM,EAAiD,MAAM,QAAQ,CAAC;AAEpF,OAAO,EAEL,KAAK,uBAAuB,EAC5B,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,cAAc,EACf,MAAM,WAAW,CAAC;AAYnB,KAAK,oBAAoB,GAAG,iBAAiB,CAC3C;IACE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC;IACtB,gIAAgI;IAChI,UAAU,EAAE,eAAe,CAAC;IAC5B,kFAAkF;IAClF,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC,CAAC;IAChC,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,GAAG,IAAI,CAAC,uBAAuB,EAAE,QAAQ,GAAG,UAAU,CAAC,GACtD,wBAAwB,CAAC,KAAK,CAAC,CAClC,CAAC;wCAE8B,EAC9B,QAAQ,EACR,MAAM,EACN,UAAU,EACV,KAAK,EACL,MAAM,EACN,QAAqB,EACrB,SAAS,EACT,YAAY,EACb,EAAE,oBAAoB;;;;AAkEvB,KAAK,uBAAuB,GAAG,EAAE,CAAC;AAElC,eAAO,MAAM,kBAAkB;;2HAqB7B,CAAC;AAQH,eAAO,MAAM,WAAW;IACtB,IAAI;8FAlGH,oBAAoB;;;IAmGrB,OAAO;;;IACP,MAAM;IACN,IAAI;CACL,CAAC;AAEF,OAAO,EAAE,cAAc,EAAE,CAAC;AAE1B,YAAY,EAAE,oBAAoB,IAAI,gBAAgB,EAAE,eAAe,EAAE,iBAAiB,EAAE,CAAC"}
@@ -9,53 +9,55 @@ declare const meta: {
9
9
  translations: [{
10
10
  readonly 'en-US': {
11
11
  readonly [x: string]: {
12
- readonly 'typename label': "Kanban";
13
- readonly 'typename label_zero': "Kanbans";
14
- readonly 'typename label_one': "Kanban";
15
- readonly 'typename label_other': "Kanbans";
16
- readonly 'object name placeholder': "New kanban";
17
- readonly 'rename object label': "Rename kanban";
18
- readonly 'delete object label': "Delete kanban";
19
- readonly 'object deleted label': "Kanban deleted";
20
- readonly 'action menu label'?: undefined;
21
- readonly 'plugin name'?: undefined;
22
- readonly 'kanban title label'?: undefined;
23
- readonly 'column title label'?: undefined;
24
- readonly 'column title placeholder'?: undefined;
25
- readonly 'add column label'?: undefined;
26
- readonly 'add card label'?: undefined;
27
- readonly 'new column name label'?: undefined;
28
- readonly 'remove card label'?: undefined;
29
- readonly 'remove empty column label'?: undefined;
30
- readonly 'column drag handle label'?: undefined;
31
- readonly 'delete column label'?: undefined;
32
- readonly 'card field deleted label'?: undefined;
33
- readonly 'card deleted label'?: undefined;
34
- readonly 'select pivot placeholder'?: undefined;
12
+ readonly 'typename.label': 'Kanban';
13
+ readonly 'typename.label_zero': 'Kanbans';
14
+ readonly 'typename.label_one': 'Kanban';
15
+ readonly 'typename.label_other': 'Kanbans';
16
+ readonly 'object-name.placeholder': 'New kanban';
17
+ readonly 'add-object.label': 'Add kanban';
18
+ readonly 'rename-object.label': 'Rename kanban';
19
+ readonly 'delete-object.label': 'Delete kanban';
20
+ readonly 'object-deleted.label': 'Kanban deleted';
21
+ readonly 'action-menu.label'?: undefined;
22
+ readonly 'plugin.name'?: undefined;
23
+ readonly 'kanban-title.label'?: undefined;
24
+ readonly 'column-title.label'?: undefined;
25
+ readonly 'column-title.placeholder'?: undefined;
26
+ readonly 'add-column.label'?: undefined;
27
+ readonly 'add-card.label'?: undefined;
28
+ readonly 'new-column-name.label'?: undefined;
29
+ readonly 'remove-card.label'?: undefined;
30
+ readonly 'remove-empty-column.label'?: undefined;
31
+ readonly 'column-drag-handle.label'?: undefined;
32
+ readonly 'delete-column.label'?: undefined;
33
+ readonly 'card-field-deleted.label'?: undefined;
34
+ readonly 'card-deleted.label'?: undefined;
35
+ readonly 'select-pivot.placeholder'?: undefined;
35
36
  } | {
36
- readonly 'action menu label': "Actions";
37
- readonly 'plugin name': "Kanban";
38
- readonly 'kanban title label': "Title";
39
- readonly 'column title label': "Column title";
40
- readonly 'column title placeholder': "New column";
41
- readonly 'add column label': "Add column";
42
- readonly 'add card label': "Add card";
43
- readonly 'new column name label': "New column name";
44
- readonly 'remove card label': "Remove card";
45
- readonly 'remove empty column label': "Remove empty column";
46
- readonly 'column drag handle label': "Drag to rearrange";
47
- readonly 'delete column label': "Delete column";
48
- readonly 'card field deleted label': "Card field deleted";
49
- readonly 'card deleted label': "Card deleted";
50
- readonly 'select pivot placeholder': "Select a pivot column in board settings to display columns.";
51
- readonly 'typename label'?: undefined;
52
- readonly 'typename label_zero'?: undefined;
53
- readonly 'typename label_one'?: undefined;
54
- readonly 'typename label_other'?: undefined;
55
- readonly 'object name placeholder'?: undefined;
56
- readonly 'rename object label'?: undefined;
57
- readonly 'delete object label'?: undefined;
58
- readonly 'object deleted label'?: undefined;
37
+ readonly 'typename.label'?: undefined;
38
+ readonly 'typename.label_zero'?: undefined;
39
+ readonly 'typename.label_one'?: undefined;
40
+ readonly 'typename.label_other'?: undefined;
41
+ readonly 'object-name.placeholder'?: undefined;
42
+ readonly 'add-object.label'?: undefined;
43
+ readonly 'rename-object.label'?: undefined;
44
+ readonly 'delete-object.label'?: undefined;
45
+ readonly 'object-deleted.label'?: undefined;
46
+ readonly 'action-menu.label': 'Actions';
47
+ readonly 'plugin.name': 'Kanban';
48
+ readonly 'kanban-title.label': 'Title';
49
+ readonly 'column-title.label': 'Column title';
50
+ readonly 'column-title.placeholder': 'New column';
51
+ readonly 'add-column.label': 'Add column';
52
+ readonly 'add-card.label': 'Add card';
53
+ readonly 'new-column-name.label': 'New column name';
54
+ readonly 'remove-card.label': 'Remove card';
55
+ readonly 'remove-empty-column.label': 'Remove empty column';
56
+ readonly 'column-drag-handle.label': 'Drag to rearrange';
57
+ readonly 'delete-column.label': 'Delete column';
58
+ readonly 'card-field-deleted.label': 'Card field deleted';
59
+ readonly 'card-deleted.label': 'Card deleted';
60
+ readonly 'select-pivot.placeholder': 'Select a pivot column in board settings to display columns.';
59
61
  };
60
62
  };
61
63
  }];
@@ -1 +1 @@
1
- {"version":3,"file":"KanbanBoard.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/KanbanBoard/KanbanBoard.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAgE,MAAM,OAAO,CAAC;AAsHrF,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQ2B,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
1
+ {"version":3,"file":"KanbanBoard.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/KanbanBoard/KanbanBoard.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAgE,MAAM,OAAO,CAAC;AAyHrF,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQ2B,CAAC;eAEvB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
- import { Obj } from '@dxos/echo';
3
- import { type MosaicTileProps } from '@dxos/react-ui-mosaic';
4
- export type KanbanCardProps = Pick<MosaicTileProps<Obj.Unknown>, 'location' | 'data' | 'debug'>;
2
+ import { type KanbanCardProps } from './context';
3
+ export { type KanbanCardProps };
5
4
  /**
6
5
  * Mosaic Tile for Kanban card.
7
6
  * Uses Surface for content; requires plugin manager context.
@@ -1 +1 @@
1
- {"version":3,"file":"KanbanCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/KanbanBoard/KanbanCard.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAqD,MAAM,OAAO,CAAC;AAI1E,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAGjC,OAAO,EAAiB,KAAK,eAAe,EAAY,MAAM,uBAAuB,CAAC;AAQtF,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC;AAEhG;;;GAGG;AACH,eAAO,MAAM,UAAU,wFA2DrB,CAAC"}
1
+ {"version":3,"file":"KanbanCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/KanbanBoard/KanbanCard.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAqD,MAAM,OAAO,CAAC;AAW1E,OAAO,EAAE,KAAK,eAAe,EAAkB,MAAM,WAAW,CAAC;AAEjE,OAAO,EAAE,KAAK,eAAe,EAAE,CAAC;AAIhC;;;GAGG;AACH,eAAO,MAAM,UAAU,wFAyEtB,CAAC"}
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
- import { type MosaicTileProps } from '@dxos/react-ui-mosaic';
3
- import { type ColumnStructure } from '../../types';
4
- export type KanbanColumnProps = Pick<MosaicTileProps<ColumnStructure>, 'location' | 'data' | 'debug'>;
2
+ import { type KanbanColumnProps } from './context';
3
+ export { type KanbanColumnProps };
5
4
  /**
6
5
  * Mosaic Tile for Kanban column.
7
6
  */
@@ -1 +1 @@
1
- {"version":3,"file":"KanbanColumn.d.ts","sourceRoot":"","sources":["../../../../../src/components/KanbanBoard/KanbanColumn.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAGlD,OAAO,EAAS,KAAK,eAAe,EAAY,MAAM,uBAAuB,CAAC;AAG9E,OAAO,EAAE,KAAK,eAAe,EAAuB,MAAM,aAAa,CAAC;AAMxE,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,eAAe,CAAC,eAAe,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC;AAEtG;;GAEG;AACH,eAAO,MAAM,YAAY,0FA6CxB,CAAC"}
1
+ {"version":3,"file":"KanbanColumn.d.ts","sourceRoot":"","sources":["../../../../../src/components/KanbanBoard/KanbanColumn.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAmC,MAAM,OAAO,CAAC;AAQxD,OAAO,EAAE,KAAK,iBAAiB,EAAkB,MAAM,WAAW,CAAC;AAEnE,OAAO,EAAE,KAAK,iBAAiB,EAAE,CAAC;AAIlC;;GAEG;AACH,eAAO,MAAM,YAAY,0FAgDxB,CAAC"}
@@ -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,6 @@
1
+ import React from 'react';
2
+ import { type AppSurface } from '@dxos/app-toolkit/ui';
3
+ import { Kanban } from '#types';
4
+ export type KanbanArticleProps = AppSurface.ObjectArticleProps<Kanban.Kanban>;
5
+ export declare const KanbanArticle: (props: KanbanArticleProps) => React.JSX.Element;
6
+ //# sourceMappingURL=KanbanArticle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KanbanArticle.d.ts","sourceRoot":"","sources":["../../../../../src/containers/KanbanArticle/KanbanArticle.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAIhE,OAAO,EAAmB,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAUxE,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,kBAAkB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AAE9E,eAAO,MAAM,aAAa,UAAW,kBAAkB,sBAStD,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 database-stored Type.Type entity (mutable schema).
76
+ * This allows testing schema mutations like adding/removing fields.
77
+ */
78
+ export declare const MutableSchema: Story;
79
+ //# sourceMappingURL=KanbanArticle.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KanbanArticle.stories.d.ts","sourceRoot":"","sources":["../../../../../src/containers/KanbanArticle/KanbanArticle.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,SAAS,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjF,OAAO,KAA2C,MAAM,OAAO,CAAC;AAkJhE,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,KA6B3B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { KanbanArticle as default } from './KanbanArticle';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/containers/KanbanArticle/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,IAAI,OAAO,EAAE,MAAM,iBAAiB,CAAC"}