@medyll/idae-machine 0.135.2 → 0.136.2

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 (375) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +555 -360
  3. package/cli.cjs +22 -0
  4. package/dist/__fixtures__/demoModel.d.ts +79 -0
  5. package/dist/__fixtures__/demoModel.js +146 -0
  6. package/dist/ai/frame/AiChatSession.svelte +152 -0
  7. package/dist/ai/frame/AiChatSession.svelte.d.ts +7 -0
  8. package/dist/ai/frame/index.d.ts +1 -0
  9. package/dist/ai/frame/index.js +2 -0
  10. package/dist/ai/index.d.ts +9 -0
  11. package/dist/ai/index.js +12 -0
  12. package/dist/ai/schema/ai-catalogs.d.ts +2 -0
  13. package/dist/ai/schema/ai-catalogs.js +86 -0
  14. package/dist/ai/schema/ai-chat-session.d.ts +2 -0
  15. package/dist/ai/schema/ai-chat-session.js +35 -0
  16. package/dist/ai/schema/ai-companion.d.ts +2 -0
  17. package/dist/ai/schema/ai-companion.js +25 -0
  18. package/dist/ai/schema/ai-message.d.ts +2 -0
  19. package/dist/ai/schema/ai-message.js +20 -0
  20. package/dist/ai/schema/ai-tool-call.d.ts +2 -0
  21. package/dist/ai/schema/ai-tool-call.js +18 -0
  22. package/dist/ai/schema/ai-user-prompt.d.ts +2 -0
  23. package/dist/ai/schema/ai-user-prompt.js +17 -0
  24. package/dist/ai/schema/tag.d.ts +2 -0
  25. package/dist/ai/schema/tag.js +14 -0
  26. package/dist/ai/streamIntoRecord.d.ts +31 -0
  27. package/dist/ai/streamIntoRecord.js +79 -0
  28. package/dist/config.d.ts +17 -0
  29. package/dist/config.js +19 -0
  30. package/dist/data-ui/controls/AlphabetFilter.svelte +114 -0
  31. package/dist/data-ui/controls/AlphabetFilter.svelte.d.ts +10 -0
  32. package/dist/data-ui/controls/ButtonAction.svelte +151 -0
  33. package/dist/data-ui/controls/ButtonAction.svelte.d.ts +18 -0
  34. package/dist/data-ui/controls/DataFind.svelte +174 -0
  35. package/dist/data-ui/controls/DataFind.svelte.d.ts +10 -0
  36. package/dist/data-ui/controls/DataGroup.svelte +150 -0
  37. package/dist/data-ui/controls/DataGroup.svelte.d.ts +7 -0
  38. package/dist/data-ui/controls/DataSort.svelte +78 -0
  39. package/dist/data-ui/controls/DataSort.svelte.d.ts +9 -0
  40. package/dist/data-ui/controls/DataToolbar.svelte +67 -0
  41. package/dist/data-ui/controls/DataToolbar.svelte.d.ts +11 -0
  42. package/dist/data-ui/controls/Find.svelte +38 -0
  43. package/dist/data-ui/controls/Find.svelte.d.ts +9 -0
  44. package/dist/data-ui/controls/FkFilter.svelte +94 -0
  45. package/dist/data-ui/controls/FkFilter.svelte.d.ts +11 -0
  46. package/dist/data-ui/controls/Group.svelte +36 -0
  47. package/dist/data-ui/controls/Group.svelte.d.ts +8 -0
  48. package/dist/data-ui/controls/ListMode.svelte +79 -0
  49. package/dist/data-ui/controls/ListMode.svelte.d.ts +10 -0
  50. package/dist/data-ui/controls/Sort.svelte +100 -0
  51. package/dist/data-ui/controls/Sort.svelte.d.ts +8 -0
  52. package/dist/data-ui/data/DataCount.svelte +67 -0
  53. package/dist/data-ui/data/DataCount.svelte.d.ts +36 -0
  54. package/dist/data-ui/data/DataFk.svelte +54 -0
  55. package/dist/data-ui/data/DataFk.svelte.d.ts +11 -0
  56. package/dist/data-ui/data/DataForm.svelte +191 -0
  57. package/dist/data-ui/data/DataForm.svelte.d.ts +15 -0
  58. package/dist/data-ui/data/DataList.svelte +645 -0
  59. package/dist/data-ui/data/DataList.svelte.d.ts +75 -0
  60. package/dist/data-ui/data/DataListFk.svelte +111 -0
  61. package/dist/data-ui/data/DataListFk.svelte.d.ts +13 -0
  62. package/dist/data-ui/data/DataListRfk.svelte +111 -0
  63. package/dist/data-ui/data/DataListRfk.svelte.d.ts +13 -0
  64. package/dist/data-ui/data/DataRecord.svelte +167 -0
  65. package/dist/data-ui/data/DataRecord.svelte.d.ts +22 -0
  66. package/dist/data-ui/data/DataRfk.svelte +73 -0
  67. package/dist/data-ui/data/DataRfk.svelte.d.ts +15 -0
  68. package/dist/data-ui/data/index.d.ts +7 -0
  69. package/dist/data-ui/data/index.js +8 -0
  70. package/dist/data-ui/field/DataField.svelte +343 -0
  71. package/dist/data-ui/field/DataField.svelte.d.ts +33 -0
  72. package/dist/{form/FieldInPlace.svelte → data-ui/field/DataFieldEdit.svelte} +103 -98
  73. package/dist/{form/FieldInPlace.svelte.d.ts → data-ui/field/DataFieldEdit.svelte.d.ts} +5 -5
  74. package/dist/data-ui/field/index.d.ts +2 -0
  75. package/dist/data-ui/field/index.js +3 -0
  76. package/dist/data-ui/field/snippets/FieldAiPrompt.svelte +145 -0
  77. package/dist/data-ui/field/snippets/FieldAiPrompt.svelte.d.ts +14 -0
  78. package/dist/data-ui/field/snippets/FieldBoolean.svelte +43 -0
  79. package/dist/data-ui/field/snippets/FieldBoolean.svelte.d.ts +12 -0
  80. package/dist/data-ui/field/snippets/FieldColor.svelte +48 -0
  81. package/dist/data-ui/field/snippets/FieldColor.svelte.d.ts +10 -0
  82. package/dist/data-ui/field/snippets/FieldCurrency.svelte +105 -0
  83. package/dist/data-ui/field/snippets/FieldCurrency.svelte.d.ts +15 -0
  84. package/dist/data-ui/field/snippets/FieldEmail.svelte +77 -0
  85. package/dist/data-ui/field/snippets/FieldEmail.svelte.d.ts +14 -0
  86. package/dist/data-ui/field/snippets/FieldIcon.svelte +73 -0
  87. package/dist/data-ui/field/snippets/FieldIcon.svelte.d.ts +11 -0
  88. package/dist/data-ui/field/snippets/FieldSelect.svelte +71 -0
  89. package/dist/data-ui/field/snippets/FieldSelect.svelte.d.ts +15 -0
  90. package/dist/data-ui/field/snippets/FieldText.svelte +52 -0
  91. package/dist/data-ui/field/snippets/FieldText.svelte.d.ts +13 -0
  92. package/dist/data-ui/field/snippets/FieldTextarea.svelte +50 -0
  93. package/dist/data-ui/field/snippets/FieldTextarea.svelte.d.ts +13 -0
  94. package/dist/data-ui/field/snippets/index.d.ts +9 -0
  95. package/dist/data-ui/field/snippets/index.js +10 -0
  96. package/dist/data-ui/fragments/ContextMenu.svelte +109 -0
  97. package/dist/data-ui/fragments/ContextMenu.svelte.d.ts +4 -0
  98. package/dist/data-ui/fragments/ContextMenuContent.svelte +275 -0
  99. package/dist/data-ui/fragments/ContextMenuContent.svelte.d.ts +8 -0
  100. package/dist/data-ui/fragments/Frame.svelte +43 -0
  101. package/dist/data-ui/fragments/Frame.svelte.d.ts +10 -0
  102. package/dist/data-ui/fragments/InfoLine.svelte +123 -0
  103. package/dist/data-ui/fragments/InfoLine.svelte.d.ts +12 -0
  104. package/dist/data-ui/fragments/Selector.svelte +56 -0
  105. package/dist/data-ui/fragments/Selector.svelte.d.ts +10 -0
  106. package/dist/{fragments → data-ui/fragments}/Skeleton.svelte +21 -21
  107. package/dist/data-ui/fragments/Tile.svelte +126 -0
  108. package/dist/data-ui/fragments/Tile.svelte.d.ts +14 -0
  109. package/dist/data-ui/fragments/contextMenu.svelte.d.ts +22 -0
  110. package/dist/data-ui/fragments/contextMenu.svelte.js +31 -0
  111. package/dist/data-ui/fragments/dialog/Dialog.svelte +185 -0
  112. package/dist/data-ui/fragments/dialog/Dialog.svelte.d.ts +29 -0
  113. package/dist/data-ui/fragments/dialog/dialog.svelte.d.ts +27 -0
  114. package/dist/data-ui/fragments/dialog/dialog.svelte.js +41 -0
  115. package/dist/data-ui/fragments/index.d.ts +11 -0
  116. package/dist/data-ui/fragments/index.js +11 -0
  117. package/dist/data-ui/utils/__tests__/HostProbe.svelte +18 -0
  118. package/dist/data-ui/utils/__tests__/HostProbe.svelte.d.ts +8 -0
  119. package/dist/data-ui/utils/data-utils.d.ts +29 -0
  120. package/dist/data-ui/utils/data-utils.js +83 -0
  121. package/dist/data-ui/utils/dataRelationUtils.d.ts +37 -0
  122. package/dist/data-ui/utils/dataRelationUtils.js +125 -0
  123. package/dist/data-ui/utils/diagramUtils.d.ts +6 -0
  124. package/dist/data-ui/utils/diagramUtils.js +131 -0
  125. package/dist/data-ui/utils/draggable.d.ts +15 -0
  126. package/dist/data-ui/utils/draggable.js +61 -0
  127. package/dist/data-ui/utils/menuPrefs.d.ts +80 -0
  128. package/dist/data-ui/utils/menuPrefs.js +119 -0
  129. package/dist/data-ui/utils/useMachinePrefs.svelte.d.ts +38 -0
  130. package/dist/data-ui/utils/useMachinePrefs.svelte.js +117 -0
  131. package/dist/data-ui/utils/useMenuTree.svelte.d.ts +26 -0
  132. package/dist/data-ui/utils/useMenuTree.svelte.js +68 -0
  133. package/dist/data-ui/utils/useRecordData.svelte.d.ts +22 -0
  134. package/dist/data-ui/utils/useRecordData.svelte.js +50 -0
  135. package/dist/data-ui/utils/useViewFields.svelte.d.ts +22 -0
  136. package/dist/data-ui/utils/useViewFields.svelte.js +59 -0
  137. package/dist/demo/.gitkeep +0 -0
  138. package/dist/demo/demo-status.json +9 -0
  139. package/dist/idae/boot.d.ts +28 -0
  140. package/dist/idae/boot.js +43 -0
  141. package/dist/idae/bridge/register.d.ts +4 -0
  142. package/dist/idae/bridge/register.js +15 -0
  143. package/dist/idae/capabilities/Capabilities.d.ts +10 -0
  144. package/dist/idae/capabilities/Capabilities.js +34 -0
  145. package/dist/idae/codefield/CodeFieldConvention.d.ts +3 -0
  146. package/dist/idae/codefield/CodeFieldConvention.js +25 -0
  147. package/dist/idae/fieldcatalog/defaultFieldTypesDef.d.ts +2 -0
  148. package/dist/idae/fieldcatalog/defaultFieldTypesDef.js +104 -0
  149. package/dist/idae/frames/FrameCatalog.d.ts +31 -0
  150. package/dist/idae/frames/FrameCatalog.js +31 -0
  151. package/dist/idae/index.d.ts +14 -0
  152. package/dist/idae/index.js +13 -0
  153. package/dist/idae/menu/IdaeMenuManager.d.ts +79 -0
  154. package/dist/idae/menu/IdaeMenuManager.js +108 -0
  155. package/dist/idae/menu/IdaeMenuStore.d.ts +77 -0
  156. package/dist/idae/menu/IdaeMenuStore.js +68 -0
  157. package/dist/idae/menu/menuSnapshot.d.ts +30 -0
  158. package/dist/idae/menu/menuSnapshot.js +30 -0
  159. package/dist/idae/meta/MetaModelProvider.d.ts +11 -0
  160. package/dist/idae/meta/MetaModelProvider.js +43 -0
  161. package/dist/idae/relations/RelationPolicy.d.ts +19 -0
  162. package/dist/idae/relations/RelationPolicy.js +125 -0
  163. package/dist/idae/rights/RightsPolicy.d.ts +16 -0
  164. package/dist/idae/rights/RightsPolicy.js +80 -0
  165. package/dist/idae/userscope/UserScopePolicy.d.ts +9 -0
  166. package/dist/idae/userscope/UserScopePolicy.js +42 -0
  167. package/dist/idae/userscope/navTracking.d.ts +11 -0
  168. package/dist/idae/userscope/navTracking.js +15 -0
  169. package/dist/index.d.ts +68 -35
  170. package/dist/index.js +82 -36
  171. package/dist/main/__tests__/_relationTestUtils.d.ts +12 -0
  172. package/dist/main/__tests__/_relationTestUtils.js +53 -0
  173. package/dist/main/__tests__/helpers/mockCollection.d.ts +21 -0
  174. package/dist/main/__tests__/helpers/mockCollection.js +27 -0
  175. package/dist/main/api/types.d.ts +29 -0
  176. package/dist/main/ext/hooks.d.ts +32 -0
  177. package/dist/main/ext/hooks.js +31 -0
  178. package/dist/main/ext/interfaces.d.ts +69 -0
  179. package/dist/main/ext/interfaces.js +3 -0
  180. package/dist/main/ext/registry.d.ts +29 -0
  181. package/dist/main/ext/registry.js +30 -0
  182. package/dist/main/frame/MachineFrameManager.d.ts +187 -0
  183. package/dist/main/frame/MachineFrameManager.js +403 -0
  184. package/dist/main/frame/contextMenuSetup.d.ts +9 -0
  185. package/dist/main/frame/contextMenuSetup.js +42 -0
  186. package/dist/main/frame/frameUrl.d.ts +1 -0
  187. package/dist/main/frame/frameUrl.js +8 -0
  188. package/dist/main/frame/frameUtils.d.ts +16 -0
  189. package/dist/main/frame/frameUtils.js +26 -0
  190. package/dist/main/frame/linkParser.d.ts +9 -0
  191. package/dist/main/frame/linkParser.js +15 -0
  192. package/dist/main/index.d.ts +15 -0
  193. package/dist/main/index.js +19 -0
  194. package/dist/main/machine/MachineAction.d.ts +62 -0
  195. package/dist/main/machine/MachineAction.js +96 -0
  196. package/dist/main/machine/MachineError.js +2 -2
  197. package/dist/main/machine/MachineFieldType.d.ts +25 -6
  198. package/dist/main/machine/MachineFieldType.js +118 -27
  199. package/dist/main/machine/MachineFkFold.d.ts +34 -0
  200. package/dist/main/machine/MachineFkFold.js +57 -0
  201. package/dist/main/machine/MachineRecordIdentity.d.ts +26 -0
  202. package/dist/main/machine/MachineRecordIdentity.js +44 -0
  203. package/dist/main/machine/MachineRights.d.ts +50 -0
  204. package/dist/main/machine/MachineRights.js +133 -0
  205. package/dist/main/machine/MachineRouter.d.ts +56 -0
  206. package/dist/main/machine/MachineRouter.js +250 -0
  207. package/dist/main/machine/MachineScheme.d.ts +40 -70
  208. package/dist/main/machine/MachineScheme.js +107 -94
  209. package/dist/main/machine/MachineSchemeField.js +32 -16
  210. package/dist/main/machine/MachineSchemeFieldForge.d.ts +11 -11
  211. package/dist/main/machine/MachineSchemeFieldForge.js +33 -21
  212. package/dist/main/machine/MachineSchemeFieldValues.d.ts +8 -9
  213. package/dist/main/machine/MachineSchemeFieldValues.js +12 -9
  214. package/dist/main/machine/MachineSchemeValidate.d.ts +69 -13
  215. package/dist/main/machine/MachineSchemeValidate.js +173 -46
  216. package/dist/main/machine/MachineSchemeValues.d.ts +32 -21
  217. package/dist/main/machine/MachineSchemeValues.js +132 -104
  218. package/dist/main/machine/SchemeFieldDefaultValues.d.ts +4 -2
  219. package/dist/main/machine/SchemeFieldDefaultValues.js +8 -2
  220. package/dist/main/machine/authState.svelte.d.ts +11 -0
  221. package/dist/main/machine/authState.svelte.js +17 -0
  222. package/dist/main/machine/fieldBuilder.d.ts +23 -0
  223. package/dist/main/machine/fieldBuilder.d.ts.map +1 -0
  224. package/dist/main/machine/fieldBuilder.js +10 -0
  225. package/dist/main/machine/fieldBuilder.js.map +1 -0
  226. package/dist/main/machine/machineLabel.d.ts +11 -0
  227. package/dist/main/machine/machineLabel.js +23 -0
  228. package/dist/main/machine/validateRules.d.ts +38 -0
  229. package/dist/main/machine/validateRules.js +109 -0
  230. package/dist/main/machine.d.ts +207 -68
  231. package/dist/main/machine.js +482 -96
  232. package/dist/main/machineDb.d.ts +21 -8
  233. package/dist/main/machineDb.js +33 -4
  234. package/dist/main/machineIdbAdapter.d.ts +83 -0
  235. package/dist/main/machineIdbAdapter.js +347 -0
  236. package/dist/main/machineModelBuilder.d.ts +31 -0
  237. package/dist/main/machineModelBuilder.js +58 -0
  238. package/dist/main/machineParserForge.d.ts +9 -18
  239. package/dist/main/machineParserForge.js +92 -35
  240. package/dist/main/machineSchemaCache.d.ts +8 -0
  241. package/dist/main/machineSchemaCache.js +58 -0
  242. package/dist/main/machineSchemaDoctor.d.ts +17 -0
  243. package/dist/main/machineSchemaDoctor.js +73 -0
  244. package/dist/main/machineSchemaLoader.d.ts +18 -0
  245. package/dist/main/machineSchemaLoader.js +43 -0
  246. package/dist/main/machineSeed.d.ts +21 -0
  247. package/dist/main/machineSeed.js +44 -0
  248. package/dist/main/router/componentRegistry.d.ts +35 -0
  249. package/dist/main/router/componentRegistry.js +35 -0
  250. package/dist/main/router/urlParser.d.ts +17 -0
  251. package/dist/main/router/urlParser.js +41 -0
  252. package/dist/main/warmupUtils.d.ts +40 -0
  253. package/dist/main/warmupUtils.js +73 -0
  254. package/dist/mcp/MachineMcpClient.d.ts +43 -0
  255. package/dist/mcp/MachineMcpClient.js +175 -0
  256. package/dist/shell/Frame.svelte +67 -0
  257. package/dist/shell/Frame.svelte.d.ts +11 -0
  258. package/dist/shell/auth/Login.svelte +244 -0
  259. package/dist/shell/auth/Login.svelte.d.ts +3 -0
  260. package/dist/shell/frame/dashboard/Dashboard.svelte +0 -0
  261. package/dist/shell/frame/dashboard/Dashboard.svelte.d.ts +26 -0
  262. package/dist/shell/frame/diagram/Diagram.svelte +244 -0
  263. package/dist/shell/frame/diagram/Diagram.svelte.d.ts +9 -0
  264. package/dist/shell/frame/explorer/Explorer.svelte +86 -0
  265. package/dist/shell/frame/explorer/Explorer.svelte.d.ts +29 -0
  266. package/dist/shell/frame/explorer/ExplorerContent.svelte +126 -0
  267. package/dist/shell/frame/explorer/ExplorerContent.svelte.d.ts +32 -0
  268. package/dist/shell/frame/index.d.ts +8 -0
  269. package/dist/shell/frame/index.js +9 -0
  270. package/dist/shell/frame/main-menu-content/MainMenuContent.svelte +100 -0
  271. package/dist/shell/frame/main-menu-content/MainMenuContent.svelte.d.ts +6 -0
  272. package/dist/shell/frame/planning/Planning.svelte +426 -0
  273. package/dist/shell/frame/planning/Planning.svelte.d.ts +12 -0
  274. package/dist/shell/frame/rbac/RbacMatrix.svelte +197 -0
  275. package/dist/shell/frame/rbac/RbacMatrix.svelte.d.ts +7 -0
  276. package/dist/shell/frame/space/Space.svelte +554 -0
  277. package/dist/shell/frame/space/Space.svelte.d.ts +8 -0
  278. package/dist/shell/frame/synthesis/Synthesis.svelte +383 -0
  279. package/dist/shell/frame/synthesis/Synthesis.svelte.d.ts +8 -0
  280. package/dist/shell/frame/today/Today.svelte +174 -0
  281. package/dist/shell/frame/today/Today.svelte.d.ts +3 -0
  282. package/dist/shell/layout/App.svelte +30 -0
  283. package/dist/shell/layout/App.svelte.d.ts +3 -0
  284. package/dist/shell/layout/Breadcrumb.svelte +67 -0
  285. package/dist/shell/layout/Breadcrumb.svelte.d.ts +12 -0
  286. package/dist/shell/layout/Columner.svelte +214 -0
  287. package/dist/shell/layout/Columner.svelte.d.ts +16 -0
  288. package/dist/shell/layout/DevResetPanel.svelte +194 -0
  289. package/dist/shell/layout/DevResetPanel.svelte.d.ts +7 -0
  290. package/dist/shell/layout/Fiche.svelte +111 -0
  291. package/dist/shell/layout/Fiche.svelte.d.ts +7 -0
  292. package/dist/shell/layout/FicheUpdate.svelte +53 -0
  293. package/dist/shell/layout/FicheUpdate.svelte.d.ts +7 -0
  294. package/dist/shell/layout/MainMenu.svelte +256 -0
  295. package/dist/shell/layout/MainMenu.svelte.d.ts +6 -0
  296. package/dist/shell/layout/MenuSettings.svelte +182 -0
  297. package/dist/shell/layout/MenuSettings.svelte.d.ts +6 -0
  298. package/dist/shell/layout/RecordTimeline.svelte +199 -0
  299. package/dist/shell/layout/RecordTimeline.svelte.d.ts +8 -0
  300. package/dist/shell/layout/RecordToolbar.svelte +39 -0
  301. package/dist/shell/layout/RecordToolbar.svelte.d.ts +7 -0
  302. package/dist/shell/layout/TaskBar.svelte +118 -0
  303. package/dist/shell/layout/TaskBar.svelte.d.ts +7 -0
  304. package/dist/shell/layout/TemplateShell.svelte +48 -0
  305. package/dist/shell/layout/TemplateShell.svelte.d.ts +15 -0
  306. package/dist/shell/layout/ThemeToggle.svelte +46 -0
  307. package/dist/shell/layout/ThemeToggle.svelte.d.ts +3 -0
  308. package/dist/shell/layout/index.d.ts +8 -0
  309. package/dist/shell/layout/index.js +9 -0
  310. package/dist/storage/ApiStorageAdapter.d.ts +41 -0
  311. package/dist/storage/ApiStorageAdapter.js +111 -0
  312. package/dist/storage/IdbStorageAdapter.d.ts +31 -0
  313. package/dist/storage/IdbStorageAdapter.js +72 -0
  314. package/dist/storage/MemoryStorageAdapter.d.ts +33 -0
  315. package/dist/storage/MemoryStorageAdapter.js +132 -0
  316. package/dist/storage/README.md +222 -0
  317. package/dist/storage/StorageAdapter.d.ts +75 -0
  318. package/dist/storage/StorageAdapter.js +7 -0
  319. package/dist/storage/demo/storage-demo.d.ts +22 -0
  320. package/dist/storage/demo/storage-demo.js +107 -0
  321. package/dist/storage/index.d.ts +9 -0
  322. package/dist/storage/index.js +9 -0
  323. package/dist/types/entity-types.d.ts +444 -0
  324. package/dist/types/entity-types.js +16 -0
  325. package/dist/types/index.d.ts +7 -0
  326. package/dist/types/index.js +6 -0
  327. package/dist/types/machine-model.d.ts +198 -0
  328. package/dist/types/machine-model.js +5 -0
  329. package/dist/types/qoolie-svelte.d.ts +11 -0
  330. package/dist/types/schema-utils.d.ts +32 -0
  331. package/dist/types/schema-utils.js +103 -0
  332. package/dist/utils/generateCode.d.ts +5 -0
  333. package/dist/utils/generateCode.js +9 -0
  334. package/dist/utils/logger.d.ts +10 -0
  335. package/dist/utils/logger.js +20 -0
  336. package/package.json +59 -33
  337. package/cli.js +0 -46
  338. package/dist/db/CrudService.d.ts +0 -9
  339. package/dist/db/CrudService.js +0 -45
  340. package/dist/demo/dbSchema.d.ts +0 -446
  341. package/dist/demo/dbSchema.js +0 -449
  342. package/dist/demo/testScheme.d.ts +0 -56
  343. package/dist/demo/testScheme.js +0 -42
  344. package/dist/form/CreateUpdate.svelte +0 -219
  345. package/dist/form/CreateUpdate.svelte.d.ts +0 -27
  346. package/dist/form/DataProvider.svelte +0 -23
  347. package/dist/form/DataProvider.svelte.d.ts +0 -7
  348. package/dist/form/FieldValue.svelte +0 -148
  349. package/dist/form/FieldValue.svelte.d.ts +0 -34
  350. package/dist/form/types.d.ts +0 -17
  351. package/dist/fragments/Confirm.svelte +0 -73
  352. package/dist/fragments/Confirm.svelte.d.ts +0 -7
  353. package/dist/fragments/Frame.svelte +0 -19
  354. package/dist/fragments/Frame.svelte.d.ts +0 -32
  355. package/dist/fragments/InfoLine.svelte +0 -21
  356. package/dist/fragments/InfoLine.svelte.d.ts +0 -35
  357. package/dist/fragments/Selector.svelte +0 -26
  358. package/dist/fragments/Selector.svelte.d.ts +0 -38
  359. package/dist/main/machine/MachineSchemeField.d.ts +0 -19
  360. package/dist/types/appschemeTypes.d.ts +0 -71
  361. package/dist/types/appschemeTypes.js +0 -83
  362. package/dist/ui/CollectionButton.svelte +0 -29
  363. package/dist/ui/CollectionButton.svelte.d.ts +0 -29
  364. package/dist/ui/CollectionFks.svelte +0 -24
  365. package/dist/ui/CollectionFks.svelte.d.ts +0 -9
  366. package/dist/ui/CollectionList.svelte +0 -100
  367. package/dist/ui/CollectionList.svelte.d.ts +0 -36
  368. package/dist/ui/CollectionListFieldValues.svelte +0 -59
  369. package/dist/ui/CollectionListFieldValues.svelte.d.ts +0 -9
  370. package/dist/ui/CollectionListMenu.svelte +0 -39
  371. package/dist/ui/CollectionListMenu.svelte.d.ts +0 -34
  372. package/dist/ui/CollectionReverseFks.svelte +0 -37
  373. package/dist/ui/CollectionReverseFks.svelte.d.ts +0 -14
  374. /package/dist/{fragments → data-ui/fragments}/Skeleton.svelte.d.ts +0 -0
  375. /package/dist/{form → main/api}/types.js +0 -0
@@ -0,0 +1,214 @@
1
+ <script module lang="ts">
2
+ import type { Component } from 'svelte';
3
+ import type { TplCollectionName } from '../../types/machine-model.js';
4
+
5
+ export type ColumnId = string;
6
+
7
+ export interface ColumnerProps {
8
+ collection: TplCollectionName;
9
+ collectionId?: string | number;
10
+ /** Override rendered component — must accept collection + collectionId? + linkTarget? props. */
11
+ component?: Component<any, any, any>;
12
+ componentProps?: Record<string, unknown>;
13
+ /** frameId of the parent Columner dock — passed by framer on programmatic mount. */
14
+ parentFrameId?: string;
15
+ }
16
+ </script>
17
+
18
+ <script lang="ts">
19
+ import { mount, unmount, untrack } from 'svelte';
20
+ import { machine } from '../../main/machine.js';
21
+ import { componentRegistry } from '../../main/router/componentRegistry.js';
22
+ import type { FrameControls } from '../../main/frame/MachineFrameManager.js';
23
+ import DataList from '../../data-ui/data/DataList.svelte';
24
+ import { generateFrameId } from '../../main/frame/frameUtils.js';
25
+ import Columner from './Columner.svelte';
26
+
27
+ let { collection, collectionId, component = DataList, componentProps = {}, parentFrameId }: ColumnerProps = $props();
28
+
29
+ const id: ColumnId = generateFrameId('col');
30
+ const frameId = `columner:${id}`;
31
+ let dock: HTMLElement;
32
+ let sticky = $state(false);
33
+
34
+ const Comp = $derived(component);
35
+
36
+ $effect(() => {
37
+ // hide/show instances — state preserved across toggles (mirrors createHost semantics)
38
+ const instances = new Map<string, { app: Record<string, unknown>; el: HTMLElement }>();
39
+ let activeKey: string | null = null;
40
+
41
+ function hideAll() {
42
+ for (const { el } of instances.values()) el.style.display = 'none';
43
+ }
44
+
45
+ const controls: FrameControls = {
46
+ load: (modulePath, col, colId, vars) => {
47
+ const key = `${modulePath}::${col}:${colId ?? ''}`;
48
+
49
+ // Toggle off: same content already showing
50
+ if (key === activeKey) {
51
+ hideAll();
52
+ activeKey = null;
53
+ return;
54
+ }
55
+
56
+ hideAll();
57
+
58
+ // Already mounted but hidden — show it
59
+ const existing = instances.get(key);
60
+ if (existing) {
61
+ existing.el.style.display = '';
62
+ activeKey = key;
63
+ return;
64
+ }
65
+
66
+ // New content — resolve + mount a child Columner in the dock
67
+ activeKey = key;
68
+ componentRegistry.resolve(modulePath).then((Comp) => {
69
+ if (activeKey !== key) return; // superseded
70
+ const el = document.createElement('div');
71
+ el.style.cssText = 'width:100%;height:100%;';
72
+ dock.appendChild(el);
73
+ const app = mount(Columner, {
74
+ target: el,
75
+ props: {
76
+ collection: col,
77
+ collectionId: colId,
78
+ component: Comp,
79
+ parentFrameId: frameId,
80
+ } satisfies ColumnerProps
81
+ }) as Record<string, unknown>;
82
+ instances.set(key, { app, el });
83
+ }).catch((err) => {
84
+ console.error(`[Columner] failed to resolve "${modulePath}":`, err);
85
+ });
86
+ },
87
+ show: () => {
88
+ const inst = activeKey ? instances.get(activeKey) : null;
89
+ if (inst) inst.el.style.display = '';
90
+ },
91
+ hide: () => hideAll(),
92
+ toggle: () => {
93
+ const inst = activeKey ? instances.get(activeKey) : null;
94
+ if (inst) inst.el.style.display = inst.el.style.display === 'none' ? '' : 'none';
95
+ },
96
+ close: () => {
97
+ for (const { app } of instances.values()) unmount(app);
98
+ instances.clear();
99
+ activeKey = null;
100
+ },
101
+ };
102
+
103
+ untrack(() => machine.framer.register(frameId, controls, { replace: true }));
104
+
105
+ return () => {
106
+ controls.close();
107
+ untrack(() => machine.framer.unregister(frameId));
108
+ };
109
+ });
110
+ </script>
111
+
112
+ <columner-componet>
113
+ <columner-column>
114
+ <columner-header class:sticky>
115
+ <columner-controls>
116
+ <button class="ctrl-pin" onclick={() => (sticky = !sticky)} title={sticky ? 'Unpin' : 'Pin'}>
117
+ {sticky ? '📌' : '📍'}
118
+ </button>
119
+ {#if parentFrameId}
120
+ <button
121
+ class="ctrl-close"
122
+ onclick={() => machine.framer.close(parentFrameId)}
123
+ title="Close"
124
+ >✕</button>
125
+ {/if}
126
+ </columner-controls>
127
+ </columner-header>
128
+ <columner-body>
129
+ <Comp
130
+ {collection}
131
+ {collectionId}
132
+ {...componentProps}
133
+ linkTarget={frameId}
134
+ />
135
+ </columner-body>
136
+ </columner-column>
137
+ <columner-dock bind:this={dock}></columner-dock>
138
+ </columner-componet>
139
+
140
+ <style>
141
+ @layer components {
142
+ columner-componet {
143
+ display: flex;
144
+ flex-direction: row;
145
+ height: 100%;
146
+ }
147
+
148
+ columner-column {
149
+ display: flex;
150
+ flex-direction: column;
151
+ min-width: calc(var(--gutter-3xl) * 4.5);
152
+ flex-shrink: 0;
153
+ height: 100%;
154
+ border-right: var(--border-width) solid var(--color-border-strong);
155
+ background: var(--color-surface-raised);
156
+ }
157
+
158
+ columner-dock {
159
+ display: contents;
160
+ }
161
+
162
+ columner-header {
163
+ display: flex;
164
+ align-items: center;
165
+ padding: var(--pad-xs) var(--pad-sm);
166
+ min-height: var(--header-height);
167
+ border-bottom: var(--border-width) solid var(--color-border-strong);
168
+ background: var(--color-surface-alt);
169
+ flex-shrink: 0;
170
+ }
171
+
172
+ columner-header.sticky {
173
+ position: sticky;
174
+ top: 0;
175
+ z-index: var(--z-dropdown);
176
+ }
177
+
178
+ columner-controls {
179
+ display: flex;
180
+ gap: var(--gutter-xs);
181
+ margin-left: auto;
182
+ }
183
+
184
+ columner-body {
185
+ display: flex;
186
+ flex-direction: column;
187
+ flex: 1;
188
+ overflow-y: auto;
189
+ }
190
+
191
+ button {
192
+ display: flex;
193
+ align-items: center;
194
+ justify-content: center;
195
+ width: var(--control-height);
196
+ height: var(--control-height);
197
+ border: none;
198
+ border-radius: var(--radius-xs);
199
+ background: transparent;
200
+ cursor: pointer;
201
+ font-size: var(--text-base);
202
+ transition: background-color var(--transition-normal);
203
+ }
204
+
205
+ button:hover {
206
+ background: var(--color-surface-hover);
207
+ }
208
+
209
+ .ctrl-close:hover {
210
+ background: var(--color-critical);
211
+ color: var(--default-color-surface-light);
212
+ }
213
+ }
214
+ </style>
@@ -0,0 +1,16 @@
1
+ import type { Component } from 'svelte';
2
+ import type { TplCollectionName } from '../../types/machine-model.js';
3
+ export type ColumnId = string;
4
+ export interface ColumnerProps {
5
+ collection: TplCollectionName;
6
+ collectionId?: string | number;
7
+ /** Override rendered component — must accept collection + collectionId? + linkTarget? props. */
8
+ component?: Component<any, any, any>;
9
+ componentProps?: Record<string, unknown>;
10
+ /** frameId of the parent Columner dock — passed by framer on programmatic mount. */
11
+ parentFrameId?: string;
12
+ }
13
+ import Columner from './Columner.svelte';
14
+ declare const Columner: Component<ColumnerProps, {}, "">;
15
+ type Columner = ReturnType<typeof Columner>;
16
+ export default Columner;
@@ -0,0 +1,194 @@
1
+ <!--
2
+ DevResetPanel.svelte
3
+ Dev-only panel to reset server data and/or client IDB.
4
+ @role dev-tool
5
+ @prop {string} [serverUrl] - Base server URL (default: API_URL from $lib/config)
6
+ @prop {string} [org] - Org name for server reset (default: 'demo')
7
+ -->
8
+ <script lang="ts">
9
+ import { machine } from '../../main/machine.js';
10
+ import { API_URL } from '../../config.js';
11
+
12
+ let {
13
+ serverUrl = API_URL,
14
+ org = 'demo'
15
+ }: {
16
+ serverUrl?: string;
17
+ org?: string;
18
+ } = $props();
19
+
20
+ type StepKey = 'clear' | 'deploy' | 'seed' | 'idb';
21
+ type StepState = 'idle' | 'running' | 'ok' | 'error';
22
+
23
+ let steps = $state<Record<StepKey, StepState>>({
24
+ clear: 'idle',
25
+ deploy: 'idle',
26
+ seed: 'idle',
27
+ idb: 'idle',
28
+ });
29
+ let errorMsg = $state<string | null>(null);
30
+
31
+ function icon(s: StepState) {
32
+ return s === 'running' ? '⏳' : s === 'ok' ? '✅' : s === 'error' ? '❌' : '○';
33
+ }
34
+
35
+ async function serverReset(selectedSteps: StepKey[]): Promise<boolean> {
36
+ errorMsg = null;
37
+ for (const s of selectedSteps) steps[s] = 'running';
38
+
39
+ try {
40
+ const res = await fetch(`${serverUrl}/api/admin/reset`, {
41
+ method: 'POST',
42
+ headers: { 'Content-Type': 'application/json' },
43
+ body: JSON.stringify({ org, steps: selectedSteps.filter(s => s !== 'idb') }),
44
+ });
45
+ const json = await res.json();
46
+
47
+ if (!res.ok || !json.ok) {
48
+ for (const s of selectedSteps) steps[s] = 'error';
49
+ errorMsg = json.error ?? `HTTP ${res.status}`;
50
+ return false;
51
+ }
52
+
53
+ for (const [s, result] of Object.entries(json.results ?? {})) {
54
+ steps[s as StepKey] = result === 'ok' ? 'ok' : 'idle';
55
+ }
56
+ return true;
57
+ } catch (err) {
58
+ for (const s of selectedSteps) steps[s] = 'error';
59
+ errorMsg = String(err);
60
+ return false;
61
+ }
62
+ }
63
+
64
+ async function clearIdb() {
65
+ steps.idb = 'running';
66
+ errorMsg = null;
67
+ try {
68
+ await machine.resetClientData(); // reloads page
69
+ } catch (err) {
70
+ steps.idb = 'error';
71
+ errorMsg = String(err);
72
+ }
73
+ }
74
+
75
+ async function doClear() { await serverReset(['clear']); }
76
+ async function doDeploy() { await serverReset(['deploy']); }
77
+ async function doSeed() { await serverReset(['seed']); }
78
+ async function doFullReset() {
79
+ const ok = await serverReset(['clear', 'deploy', 'seed']);
80
+ if (ok) await clearIdb();
81
+ }
82
+ </script>
83
+
84
+ <div class="dev-reset-panel">
85
+ <header class="dev-reset-header">
86
+ <span class="dev-badge">DEV</span>
87
+ <strong>Reset</strong>
88
+ </header>
89
+
90
+ <div class="dev-reset-steps">
91
+ <div class="step">
92
+ <span class="step-icon">{icon(steps.clear)}</span>
93
+ <span class="step-label">Clear MongoDB</span>
94
+ <button class="btn-dev" onclick={doClear} disabled={steps.clear === 'running'}>
95
+ Clear
96
+ </button>
97
+ </div>
98
+ <div class="step">
99
+ <span class="step-icon">{icon(steps.deploy)}</span>
100
+ <span class="step-label">Deploy schema</span>
101
+ <button class="btn-dev" onclick={doDeploy} disabled={steps.deploy === 'running'}>
102
+ Deploy
103
+ </button>
104
+ </div>
105
+ <div class="step">
106
+ <span class="step-icon">{icon(steps.seed)}</span>
107
+ <span class="step-label">Seed data</span>
108
+ <button class="btn-dev" onclick={doSeed} disabled={steps.seed === 'running'}>
109
+ Seed
110
+ </button>
111
+ </div>
112
+ <div class="step">
113
+ <span class="step-icon">{icon(steps.idb)}</span>
114
+ <span class="step-label">Clear IDB (reload)</span>
115
+ <button class="btn-dev btn-danger" onclick={clearIdb} disabled={steps.idb === 'running'}>
116
+ Clear IDB
117
+ </button>
118
+ </div>
119
+ </div>
120
+
121
+ <div class="dev-reset-actions">
122
+ <button
123
+ class="btn-dev btn-danger btn-full"
124
+ onclick={doFullReset}
125
+ disabled={Object.values(steps).some(s => s === 'running')}
126
+ >
127
+ ⚠ Full reset (clear + deploy + seed + IDB)
128
+ </button>
129
+ </div>
130
+
131
+ {#if errorMsg}
132
+ <div class="dev-reset-error">{errorMsg}</div>
133
+ {/if}
134
+ </div>
135
+
136
+ <style>
137
+ @layer components {
138
+ .dev-reset-panel {
139
+ border: var(--focus-ring-width) solid var(--color-warning);
140
+ border-radius: var(--radius-xs);
141
+ background: color-mix(in oklch, var(--color-warning) 12%, var(--color-surface-raised));
142
+ padding: var(--pad-sm);
143
+ font-size: var(--text-xs);
144
+ }
145
+ .dev-reset-header {
146
+ display: flex;
147
+ align-items: center;
148
+ gap: var(--gutter-sm);
149
+ margin-bottom: var(--marg-sm);
150
+ }
151
+ .dev-badge {
152
+ background: var(--color-warning);
153
+ color: var(--default-color-surface-light);
154
+ font-size: var(--text-xs);
155
+ font-weight: var(--font-bold);
156
+ padding: 0 var(--pad-xs);
157
+ border-radius: var(--radius-xs);
158
+ letter-spacing: var(--tracking-wider);
159
+ }
160
+ .dev-reset-steps {
161
+ display: flex;
162
+ flex-direction: column;
163
+ gap: var(--gutter-xs);
164
+ margin-bottom: var(--marg-sm);
165
+ }
166
+ .step {
167
+ display: flex;
168
+ align-items: center;
169
+ gap: var(--gutter-sm);
170
+ }
171
+ .step-icon { width: 1.2em; text-align: center; }
172
+ .step-label { flex: 1; }
173
+ .dev-reset-actions { margin-top: var(--marg-sm); }
174
+ .btn-dev {
175
+ padding: var(--pad-xs) var(--pad-sm);
176
+ font-size: var(--text-xs);
177
+ border: var(--border-width) solid var(--color-warning);
178
+ background: var(--color-surface-raised);
179
+ border-radius: var(--radius-xs);
180
+ cursor: pointer;
181
+ }
182
+ .btn-dev:hover:not(:disabled) { background: color-mix(in oklch, var(--color-warning) 16%, var(--color-surface-raised)); }
183
+ .btn-dev:disabled { opacity: 0.5; cursor: not-allowed; }
184
+ .btn-danger { border-color: var(--color-critical); color: var(--color-critical); }
185
+ .btn-danger:hover:not(:disabled) { background: color-mix(in oklch, var(--color-critical) 12%, var(--color-surface-raised)); }
186
+ .btn-full { width: 100%; padding: var(--pad-xs) var(--pad-sm); }
187
+ .dev-reset-error {
188
+ margin-top: var(--marg-xs);
189
+ color: var(--color-critical);
190
+ font-size: var(--text-xs);
191
+ word-break: break-all;
192
+ }
193
+ }
194
+ </style>
@@ -0,0 +1,7 @@
1
+ type $$ComponentProps = {
2
+ serverUrl?: string;
3
+ org?: string;
4
+ };
5
+ declare const DevResetPanel: import("svelte").Component<$$ComponentProps, {}, "">;
6
+ type DevResetPanel = ReturnType<typeof DevResetPanel>;
7
+ export default DevResetPanel;
@@ -0,0 +1,111 @@
1
+ <script lang="ts">
2
+ import DataRecord from '../../data-ui/data/DataRecord.svelte';
3
+ import RecordToolbar from './RecordToolbar.svelte';
4
+ import RecordTimeline from './RecordTimeline.svelte';
5
+ let {
6
+ collection,
7
+ collectionId
8
+ }: {
9
+ collection: string;
10
+ collectionId: string | number;
11
+ } = $props();
12
+ </script>
13
+
14
+ <fiche-component>
15
+ <fiche-header>
16
+ <RecordToolbar {collection} {collectionId} />
17
+ </fiche-header>
18
+ <fiche-zone>
19
+ <sidebar-info>
20
+ <DataRecord {collection} {collectionId} showFields={['icon']} showLabel={false} />
21
+ </sidebar-info>
22
+ <zone-main-half>
23
+ <zone-main-content>
24
+ <zone-main-fields><DataRecord {collection} {collectionId} groupFieldBy="appscheme_field_group" /></zone-main-fields>
25
+ <fiche-timeline><RecordTimeline {collection} {collectionId} /></fiche-timeline>
26
+ </zone-main-content>
27
+ <info-bar-right>
28
+ <DataRecord {collection} {collectionId} view="fk" />
29
+ </info-bar-right>
30
+ </zone-main-half>
31
+ </fiche-zone>
32
+ </fiche-component>
33
+
34
+ <style>
35
+ /* Custom tags default to display:inline — without explicit block/flex the
36
+ fiche collapses and its content is clipped by the host (dialog) body.
37
+ :global required: Svelte scopes element selectors, but these tags are
38
+ mounted dynamically by the framer host. */
39
+ @layer components {
40
+ :global(fiche-component) {
41
+ display: flex;
42
+ flex-direction: column;
43
+ min-height: 0;
44
+ gap: 0;
45
+ padding: 0;
46
+ width: 100%;
47
+ max-inline-size: calc(var(--gutter-3xl) * 12);
48
+ background: var(--color-surface-raised);
49
+ }
50
+
51
+ :global(fiche-header) {
52
+ display: block;
53
+ background: var(--color-surface-alt);
54
+ border-bottom: var(--border-width) solid var(--color-border-strong);
55
+ }
56
+
57
+ :global(fiche-zone) {
58
+ display: flex;
59
+ flex: 1;
60
+ min-height: 0;
61
+ gap: 0;
62
+ }
63
+
64
+ :global(sidebar-info) {
65
+ display: block;
66
+ flex: 0 0 calc(var(--gutter-3xl) * 2);
67
+ padding: var(--pad-sm);
68
+ background: var(--color-surface-alt);
69
+ border-right: var(--border-width) solid var(--color-border);
70
+ }
71
+
72
+ :global(zone-main-half) {
73
+ display: flex;
74
+ flex-direction: row;
75
+ flex: 1;
76
+ min-width: 0;
77
+ gap: 0;
78
+ }
79
+
80
+ /* was a bare <div> with no flex-grow — zone-main-half's flex children
81
+ default to shrink-to-fit, so the grouped fields never stretched,
82
+ leaving a dead gap before info-bar-right. */
83
+ :global(zone-main-fields) {
84
+ display: block;
85
+ flex: 1;
86
+ min-width: 0;
87
+ }
88
+
89
+ :global(zone-main-content) {
90
+ display: flex;
91
+ flex-direction: column;
92
+ flex: 1;
93
+ min-width: 0;
94
+ gap: var(--gutter-sm);
95
+ padding: var(--pad-sm);
96
+ }
97
+
98
+ :global(fiche-timeline) {
99
+ display: block;
100
+ }
101
+
102
+ :global(info-bar-right) {
103
+ display: block;
104
+ flex: 0 0 calc(var(--gutter-3xl) * 3);
105
+ max-width: calc(var(--gutter-3xl) * 3);
106
+ padding: var(--pad-sm);
107
+ background: var(--color-surface-alt);
108
+ border-left: var(--border-width) solid var(--color-border);
109
+ }
110
+ }
111
+ </style>
@@ -0,0 +1,7 @@
1
+ type $$ComponentProps = {
2
+ collection: string;
3
+ collectionId: string | number;
4
+ };
5
+ declare const Fiche: import("svelte").Component<$$ComponentProps, {}, "">;
6
+ type Fiche = ReturnType<typeof Fiche>;
7
+ export default Fiche;
@@ -0,0 +1,53 @@
1
+ <script lang="ts">
2
+ import { DataForm, machine } from "../../index.js";
3
+ let {
4
+ collection,
5
+ collectionId
6
+ }: {
7
+ collection: string;
8
+ collectionId: string;
9
+ } = $props();
10
+ </script>
11
+
12
+ <fiche-component>
13
+ <fiche-header>
14
+ <toolbar-component>
15
+ <button onclick={() => machine.framer.loadFrame('synthesis', collection, collectionId)}>synthese</button>
16
+ </toolbar-component>
17
+ </fiche-header>
18
+ <fiche-zone>
19
+ <zone-main>
20
+ <DataForm {collection} dataId={collectionId} mode="update" groupFieldBy="appscheme_field_group" />
21
+ </zone-main>
22
+ </fiche-zone>
23
+ </fiche-component>
24
+
25
+ <style>
26
+ @layer components {
27
+ :global(fiche-component) {
28
+ display: flex;
29
+ flex-direction: column;
30
+ min-height: 0;
31
+ gap: var(--gutter-sm);
32
+ padding: var(--pad-md);
33
+ }
34
+
35
+ :global(fiche-header) {
36
+ display: block;
37
+ }
38
+
39
+ :global(fiche-zone) {
40
+ display: flex;
41
+ flex: 1;
42
+ min-height: 0;
43
+ gap: var(--gutter-md);
44
+ }
45
+
46
+ :global(zone-main) {
47
+ display: flex;
48
+ flex-direction: column;
49
+ flex: 1;
50
+ min-width: 0;
51
+ }
52
+ }
53
+ </style>
@@ -0,0 +1,7 @@
1
+ type $$ComponentProps = {
2
+ collection: string;
3
+ collectionId: string;
4
+ };
5
+ declare const FicheUpdate: import("svelte").Component<$$ComponentProps, {}, "">;
6
+ type FicheUpdate = ReturnType<typeof FicheUpdate>;
7
+ export default FicheUpdate;