@restio/ui 0.0.7-SNAPSHOT → 0.0.9-SNAPSHOT

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 (679) hide show
  1. package/dist/components/anchored-overlay/anchored-overlay-types.d.ts +1 -1
  2. package/dist/components/anchored-overlay/anchored-overlay-types.js +2 -0
  3. package/dist/components/anchored-overlay/anchored-overlay-types.js.map +1 -0
  4. package/dist/components/anchored-overlay/anchored-overlay.d.ts +2 -2
  5. package/dist/components/anchored-overlay/anchored-overlay.js +67 -0
  6. package/dist/components/anchored-overlay/anchored-overlay.js.map +1 -0
  7. package/dist/components/banner/banner-types.d.ts +1 -1
  8. package/dist/components/banner/banner-types.js +2 -0
  9. package/dist/components/banner/banner-types.js.map +1 -0
  10. package/dist/components/banner/banner.d.ts +2 -2
  11. package/dist/components/banner/banner.js +29 -0
  12. package/dist/components/banner/banner.js.map +1 -0
  13. package/dist/components/button/button-types.d.ts +1 -1
  14. package/dist/components/button/button-types.js +2 -0
  15. package/dist/components/button/button-types.js.map +1 -0
  16. package/dist/components/button/button.d.ts +2 -2
  17. package/dist/components/button/button.js +20 -0
  18. package/dist/components/button/button.js.map +1 -0
  19. package/dist/components/button-group/button-group-types.js +2 -0
  20. package/dist/components/button-group/button-group-types.js.map +1 -0
  21. package/dist/components/button-group/button-group.d.ts +2 -2
  22. package/dist/components/button-group/button-group.js +16 -0
  23. package/dist/components/button-group/button-group.js.map +1 -0
  24. package/dist/components/checkbox/checkbox-types.d.ts +1 -1
  25. package/dist/components/checkbox/checkbox-types.js +2 -0
  26. package/dist/components/checkbox/checkbox-types.js.map +1 -0
  27. package/dist/components/checkbox/checkbox.d.ts +2 -2
  28. package/dist/components/checkbox/checkbox.js +19 -0
  29. package/dist/components/checkbox/checkbox.js.map +1 -0
  30. package/dist/components/code-block/code-block.d.ts +1 -1
  31. package/dist/components/code-block/code-block.js +9 -0
  32. package/dist/components/code-block/code-block.js.map +1 -0
  33. package/dist/components/file-upload/file-upload-types.d.ts +1 -1
  34. package/dist/components/file-upload/file-upload-types.js +2 -0
  35. package/dist/components/file-upload/file-upload-types.js.map +1 -0
  36. package/dist/components/file-upload/file-upload-utils.js +10 -0
  37. package/dist/components/file-upload/file-upload-utils.js.map +1 -0
  38. package/dist/components/file-upload/file-upload.d.ts +2 -2
  39. package/dist/components/file-upload/file-upload.js +106 -0
  40. package/dist/components/file-upload/file-upload.js.map +1 -0
  41. package/dist/components/graph/graph-types.js +2 -0
  42. package/dist/components/graph/graph-types.js.map +1 -0
  43. package/dist/components/graph/graph.d.ts +1 -1
  44. package/dist/components/graph/graph.js +21 -0
  45. package/dist/components/graph/graph.js.map +1 -0
  46. package/dist/components/input/date/date-calendar.d.ts +2 -2
  47. package/dist/components/input/date/date-calendar.js +114 -0
  48. package/dist/components/input/date/date-calendar.js.map +1 -0
  49. package/dist/components/input/date/date-input-field.d.ts +2 -2
  50. package/dist/components/input/date/date-input-field.js +61 -0
  51. package/dist/components/input/date/date-input-field.js.map +1 -0
  52. package/dist/components/input/date/date-picker.d.ts +2 -2
  53. package/dist/components/input/date/date-picker.js +35 -0
  54. package/dist/components/input/date/date-picker.js.map +1 -0
  55. package/dist/components/input/date/date-range-input-field.d.ts +2 -2
  56. package/dist/components/input/date/date-range-input-field.js +90 -0
  57. package/dist/components/input/date/date-range-input-field.js.map +1 -0
  58. package/dist/components/input/date/date-range-picker.d.ts +2 -2
  59. package/dist/components/input/date/date-range-picker.js +74 -0
  60. package/dist/components/input/date/date-range-picker.js.map +1 -0
  61. package/dist/components/input/date/date-shortcuts.d.ts +2 -2
  62. package/dist/components/input/date/date-shortcuts.js +47 -0
  63. package/dist/components/input/date/date-shortcuts.js.map +1 -0
  64. package/dist/components/input/date/date-types.d.ts +1 -1
  65. package/dist/components/input/date/date-types.js +2 -0
  66. package/dist/components/input/date/date-types.js.map +1 -0
  67. package/dist/components/input/date/date-utils.d.ts +1 -1
  68. package/dist/components/input/date/date-utils.js +203 -0
  69. package/dist/components/input/date/date-utils.js.map +1 -0
  70. package/dist/components/input/input-types.js +2 -0
  71. package/dist/components/input/input-types.js.map +1 -0
  72. package/dist/components/input/input.d.ts +2 -2
  73. package/dist/components/input/input.js +14 -0
  74. package/dist/components/input/input.js.map +1 -0
  75. package/dist/components/input/number/input-number-types.d.ts +1 -1
  76. package/dist/components/input/number/input-number-types.js +2 -0
  77. package/dist/components/input/number/input-number-types.js.map +1 -0
  78. package/dist/components/input/number/input-number.d.ts +2 -2
  79. package/dist/components/input/number/input-number.js +11 -0
  80. package/dist/components/input/number/input-number.js.map +1 -0
  81. package/dist/components/input/text/input-text-types.d.ts +1 -1
  82. package/dist/components/input/text/input-text-types.js +2 -0
  83. package/dist/components/input/text/input-text-types.js.map +1 -0
  84. package/dist/components/input/text/input-text.d.ts +2 -2
  85. package/dist/components/input/text/input-text.js +8 -0
  86. package/dist/components/input/text/input-text.js.map +1 -0
  87. package/dist/components/kbd/kbd-types.js +2 -0
  88. package/dist/components/kbd/kbd-types.js.map +1 -0
  89. package/dist/components/kbd/kbd.d.ts +2 -2
  90. package/dist/components/kbd/kbd.js +12 -0
  91. package/dist/components/kbd/kbd.js.map +1 -0
  92. package/dist/components/kbd-group/kbd-group-types.js +2 -0
  93. package/dist/components/kbd-group/kbd-group-types.js.map +1 -0
  94. package/dist/components/kbd-group/kbd-group.d.ts +2 -2
  95. package/dist/components/kbd-group/kbd-group.js +15 -0
  96. package/dist/components/kbd-group/kbd-group.js.map +1 -0
  97. package/dist/components/list/list-types.d.ts +1 -1
  98. package/dist/components/list/list-types.js +2 -0
  99. package/dist/components/list/list-types.js.map +1 -0
  100. package/dist/components/list/list-utils.d.ts +4 -4
  101. package/dist/components/list/list-utils.js +73 -0
  102. package/dist/components/list/list-utils.js.map +1 -0
  103. package/dist/components/list/list.d.ts +1 -1
  104. package/dist/components/list/list.d.ts.map +1 -1
  105. package/dist/components/list/list.js +68 -0
  106. package/dist/components/list/list.js.map +1 -0
  107. package/dist/components/menu/anchored-navigation-menu.d.ts +3 -3
  108. package/dist/components/menu/anchored-navigation-menu.js +48 -0
  109. package/dist/components/menu/anchored-navigation-menu.js.map +1 -0
  110. package/dist/components/menu/menu-assets.d.ts +1 -1
  111. package/dist/components/menu/menu-assets.js +35 -0
  112. package/dist/components/menu/menu-assets.js.map +1 -0
  113. package/dist/components/menu/menu-types.d.ts +2 -2
  114. package/dist/components/menu/menu-types.js +2 -0
  115. package/dist/components/menu/menu-types.js.map +1 -0
  116. package/dist/components/menu/menu.d.ts +2 -2
  117. package/dist/components/menu/menu.js +86 -0
  118. package/dist/components/menu/menu.js.map +1 -0
  119. package/dist/components/otp/otp-types.js +2 -0
  120. package/dist/components/otp/otp-types.js.map +1 -0
  121. package/dist/components/otp/otp-utils.js +22 -0
  122. package/dist/components/otp/otp-utils.js.map +1 -0
  123. package/dist/components/otp/otp.d.ts +3 -2
  124. package/dist/components/otp/otp.js +85 -0
  125. package/dist/components/otp/otp.js.map +1 -0
  126. package/dist/components/select/select-types.d.ts +1 -1
  127. package/dist/components/select/select-types.js +2 -0
  128. package/dist/components/select/select-types.js.map +1 -0
  129. package/dist/components/select/select.d.ts +2 -2
  130. package/dist/components/select/select.js +52 -0
  131. package/dist/components/select/select.js.map +1 -0
  132. package/dist/components/tag/tag-types.d.ts +1 -1
  133. package/dist/components/tag/tag-types.js +2 -0
  134. package/dist/components/tag/tag-types.js.map +1 -0
  135. package/dist/components/tag/tag.d.ts +2 -2
  136. package/dist/components/tag/tag.js +16 -0
  137. package/dist/components/tag/tag.js.map +1 -0
  138. package/dist/components/textarea/textarea-types.d.ts +2 -2
  139. package/dist/components/textarea/textarea-types.js +2 -0
  140. package/dist/components/textarea/textarea-types.js.map +1 -0
  141. package/dist/components/textarea/textarea.d.ts +2 -2
  142. package/dist/components/textarea/textarea.js +19 -0
  143. package/dist/components/textarea/textarea.js.map +1 -0
  144. package/dist/components/toast-group/toast-group-types.d.ts +1 -1
  145. package/dist/components/toast-group/toast-group-types.js +2 -0
  146. package/dist/components/toast-group/toast-group-types.js.map +1 -0
  147. package/dist/components/toast-group/toast-group.d.ts +2 -2
  148. package/dist/components/toast-group/toast-group.js +25 -0
  149. package/dist/components/toast-group/toast-group.js.map +1 -0
  150. package/dist/components/typography/typography-types.d.ts +1 -1
  151. package/dist/components/typography/typography-types.js +11 -0
  152. package/dist/components/typography/typography-types.js.map +1 -0
  153. package/dist/components/typography/typography.d.ts +2 -2
  154. package/dist/components/typography/typography.js +17 -0
  155. package/dist/components/typography/typography.js.map +1 -0
  156. package/dist/custom-components/chat/chat-types.d.ts +1 -1
  157. package/dist/custom-components/chat/chat-types.js +2 -0
  158. package/dist/custom-components/chat/chat-types.js.map +1 -0
  159. package/dist/custom-components/chat/chat.d.ts +1 -1
  160. package/dist/custom-components/chat/chat.js +14 -0
  161. package/dist/custom-components/chat/chat.js.map +1 -0
  162. package/dist/custom-components/layout/layout-types.js +2 -0
  163. package/dist/custom-components/layout/layout-types.js.map +1 -0
  164. package/dist/custom-components/layout/layout.d.ts +2 -2
  165. package/dist/custom-components/layout/layout.js +46 -0
  166. package/dist/custom-components/layout/layout.js.map +1 -0
  167. package/dist/custom-components/layout-builder/layout-builder-constants.js +25 -0
  168. package/dist/custom-components/layout-builder/layout-builder-constants.js.map +1 -0
  169. package/dist/custom-components/layout-builder/layout-builder-schema.js +169 -0
  170. package/dist/custom-components/layout-builder/layout-builder-schema.js.map +1 -0
  171. package/dist/custom-components/layout-builder/layout-builder-templates.js +206 -0
  172. package/dist/custom-components/layout-builder/layout-builder-templates.js.map +1 -0
  173. package/dist/custom-components/layout-builder/layout-builder-types.js +2 -0
  174. package/dist/custom-components/layout-builder/layout-builder-types.js.map +1 -0
  175. package/dist/custom-components/layout-builder/layout-builder-utils.js +251 -0
  176. package/dist/custom-components/layout-builder/layout-builder-utils.js.map +1 -0
  177. package/dist/custom-components/layout-builder/layout-builder-validation.d.ts +8 -2
  178. package/dist/custom-components/layout-builder/layout-builder-validation.js +445 -0
  179. package/dist/custom-components/layout-builder/layout-builder-validation.js.map +1 -0
  180. package/dist/custom-components/layout-builder/layout-builder.d.ts +2 -2
  181. package/dist/custom-components/layout-builder/layout-builder.js +908 -0
  182. package/dist/custom-components/layout-builder/layout-builder.js.map +1 -0
  183. package/dist/custom-components/layout-builder/layout-json-editor-types.d.ts +1 -1
  184. package/dist/custom-components/layout-builder/layout-json-editor-types.js +2 -0
  185. package/dist/custom-components/layout-builder/layout-json-editor-types.js.map +1 -0
  186. package/dist/custom-components/layout-builder/layout-json-editor.d.ts +2 -2
  187. package/dist/custom-components/layout-builder/layout-json-editor.js +103 -0
  188. package/dist/custom-components/layout-builder/layout-json-editor.js.map +1 -0
  189. package/dist/custom-components/layout-builder/stories/hooks/useHistory.js +100 -0
  190. package/dist/custom-components/layout-builder/stories/hooks/useHistory.js.map +1 -0
  191. package/dist/custom-components/markdown/markdown-types.d.ts +3 -3
  192. package/dist/custom-components/markdown/markdown-types.js +2 -0
  193. package/dist/custom-components/markdown/markdown-types.js.map +1 -0
  194. package/dist/custom-components/markdown/markdown-utils.js +10 -0
  195. package/dist/custom-components/markdown/markdown-utils.js.map +1 -0
  196. package/dist/custom-components/markdown/markdown.d.ts +2 -2
  197. package/dist/custom-components/markdown/markdown.js +39 -0
  198. package/dist/custom-components/markdown/markdown.js.map +1 -0
  199. package/dist/custom-components/mindmap/index.d.ts +2 -2
  200. package/dist/custom-components/mindmap/index.js +2 -0
  201. package/dist/custom-components/mindmap/index.js.map +1 -0
  202. package/dist/custom-components/mindmap/mind-tree-types.d.ts +1 -1
  203. package/dist/custom-components/mindmap/mind-tree-types.js +2 -0
  204. package/dist/custom-components/mindmap/mind-tree-types.js.map +1 -0
  205. package/dist/custom-components/mindmap/mind-tree.d.ts +1 -1
  206. package/dist/custom-components/mindmap/mind-tree.js +201 -0
  207. package/dist/custom-components/mindmap/mind-tree.js.map +1 -0
  208. package/dist/custom-components/mindmap/reingold-tilford-algorithm.d.ts +1 -1
  209. package/dist/custom-components/mindmap/reingold-tilford-algorithm.js +277 -0
  210. package/dist/custom-components/mindmap/reingold-tilford-algorithm.js.map +1 -0
  211. package/dist/custom-components/shortcut-tooltip/shortcut-tooltip-types.js +2 -0
  212. package/dist/custom-components/shortcut-tooltip/shortcut-tooltip-types.js.map +1 -0
  213. package/dist/custom-components/shortcut-tooltip/shortcut-tooltip.d.ts +2 -2
  214. package/dist/custom-components/shortcut-tooltip/shortcut-tooltip.js +32 -0
  215. package/dist/custom-components/shortcut-tooltip/shortcut-tooltip.js.map +1 -0
  216. package/dist/custom-components/timeline/skeleton/timeline-skeleton.d.ts +1 -1
  217. package/dist/custom-components/timeline/skeleton/timeline-skeleton.js +19 -0
  218. package/dist/custom-components/timeline/skeleton/timeline-skeleton.js.map +1 -0
  219. package/dist/custom-components/timeline/timeline-types.js +2 -0
  220. package/dist/custom-components/timeline/timeline-types.js.map +1 -0
  221. package/dist/custom-components/timeline/timeline.d.ts +2 -2
  222. package/dist/custom-components/timeline/timeline.js +64 -0
  223. package/dist/custom-components/timeline/timeline.js.map +1 -0
  224. package/dist/custom-components/workflow/layout/workflow-edge.d.ts +1 -1
  225. package/dist/custom-components/workflow/layout/workflow-edge.js +31 -0
  226. package/dist/custom-components/workflow/layout/workflow-edge.js.map +1 -0
  227. package/dist/custom-components/workflow/layout/workflow-layout-types.d.ts +1 -1
  228. package/dist/custom-components/workflow/layout/workflow-layout-types.js +2 -0
  229. package/dist/custom-components/workflow/layout/workflow-layout-types.js.map +1 -0
  230. package/dist/custom-components/workflow/layout/workflow-layout.d.ts +2 -2
  231. package/dist/custom-components/workflow/layout/workflow-layout.js +284 -0
  232. package/dist/custom-components/workflow/layout/workflow-layout.js.map +1 -0
  233. package/dist/custom-components/workflow/node/workflow-node.d.ts +1 -1
  234. package/dist/custom-components/workflow/node/workflow-node.js +22 -0
  235. package/dist/custom-components/workflow/node/workflow-node.js.map +1 -0
  236. package/dist/custom-components/workflow/panel/workflow-panel-types.d.ts +1 -1
  237. package/dist/custom-components/workflow/panel/workflow-panel-types.js +2 -0
  238. package/dist/custom-components/workflow/panel/workflow-panel-types.js.map +1 -0
  239. package/dist/custom-components/workflow/panel/workflow-panel.d.ts +1 -1
  240. package/dist/custom-components/workflow/panel/workflow-panel.js +53 -0
  241. package/dist/custom-components/workflow/panel/workflow-panel.js.map +1 -0
  242. package/dist/custom-components/workflow/toolbar/workflow-toolbar-types.js +2 -0
  243. package/dist/custom-components/workflow/toolbar/workflow-toolbar-types.js.map +1 -0
  244. package/dist/custom-components/workflow/toolbar/workflow-toolbar.d.ts +1 -1
  245. package/dist/custom-components/workflow/toolbar/workflow-toolbar.js +19 -0
  246. package/dist/custom-components/workflow/toolbar/workflow-toolbar.js.map +1 -0
  247. package/dist/custom-components/workflow/utils/workflow-validation.d.ts +2 -2
  248. package/dist/custom-components/workflow/utils/workflow-validation.js +257 -0
  249. package/dist/custom-components/workflow/utils/workflow-validation.js.map +1 -0
  250. package/dist/custom-components/workflow/workflow-types.d.ts +3 -3
  251. package/dist/custom-components/workflow/workflow-types.js +2 -0
  252. package/dist/custom-components/workflow/workflow-types.js.map +1 -0
  253. package/dist/custom-components/workflow/workflow.d.ts +1 -1
  254. package/dist/custom-components/workflow/workflow.js +125 -0
  255. package/dist/custom-components/workflow/workflow.js.map +1 -0
  256. package/dist/data-components/assets/data-components-asset.js +2 -0
  257. package/dist/data-components/assets/data-components-asset.js.map +1 -0
  258. package/dist/data-components/calendar/calendar-types.d.ts +1 -1
  259. package/dist/data-components/calendar/calendar-types.js +2 -0
  260. package/dist/data-components/calendar/calendar-types.js.map +1 -0
  261. package/dist/data-components/calendar/calendar-utils.js +2 -0
  262. package/dist/data-components/calendar/calendar-utils.js.map +1 -0
  263. package/dist/data-components/calendar/calendar.d.ts +1 -1
  264. package/dist/data-components/calendar/calendar.js +78 -0
  265. package/dist/data-components/calendar/calendar.js.map +1 -0
  266. package/dist/data-components/cell/cell-switch.d.ts +1 -1
  267. package/dist/data-components/cell/cell-switch.js +68 -0
  268. package/dist/data-components/cell/cell-switch.js.map +1 -0
  269. package/dist/data-components/cell/cell-types.d.ts +2 -2
  270. package/dist/data-components/cell/cell-types.js +2 -0
  271. package/dist/data-components/cell/cell-types.js.map +1 -0
  272. package/dist/data-components/cell/cell-utils.js +60 -0
  273. package/dist/data-components/cell/cell-utils.js.map +1 -0
  274. package/dist/data-components/cell/cell.d.ts +1 -1
  275. package/dist/data-components/cell/cell.js +63 -0
  276. package/dist/data-components/cell/cell.js.map +1 -0
  277. package/dist/data-components/chart/chart-types.d.ts +1 -1
  278. package/dist/data-components/chart/chart-types.js +2 -0
  279. package/dist/data-components/chart/chart-types.js.map +1 -0
  280. package/dist/data-components/chart/chart.d.ts +1 -1
  281. package/dist/data-components/chart/chart.js +121 -0
  282. package/dist/data-components/chart/chart.js.map +1 -0
  283. package/dist/data-components/chart/sankey/sankeyChart.d.ts +1 -1
  284. package/dist/data-components/chart/sankey/sankeyChart.js +111 -0
  285. package/dist/data-components/chart/sankey/sankeyChart.js.map +1 -0
  286. package/dist/data-components/data-structure/data-structure-utils.d.ts +1 -1
  287. package/dist/data-components/data-structure/data-structure-utils.js +28 -0
  288. package/dist/data-components/data-structure/data-structure-utils.js.map +1 -0
  289. package/dist/data-components/data-structure/data-structure.d.ts +1 -1
  290. package/dist/data-components/data-structure/data-structure.js +2 -0
  291. package/dist/data-components/data-structure/data-structure.js.map +1 -0
  292. package/dist/data-components/data-structure/stories-assets.d.ts +5 -1
  293. package/dist/data-components/data-structure/stories-assets.js +199 -0
  294. package/dist/data-components/data-structure/stories-assets.js.map +1 -0
  295. package/dist/data-components/form/form-types.d.ts +2 -2
  296. package/dist/data-components/form/form-types.js +2 -0
  297. package/dist/data-components/form/form-types.js.map +1 -0
  298. package/dist/data-components/form/form.d.ts +1 -1
  299. package/dist/data-components/form/form.js +124 -0
  300. package/dist/data-components/form/form.js.map +1 -0
  301. package/dist/data-components/table-grid/aggregation/aggregation-utils.js +31 -0
  302. package/dist/data-components/table-grid/aggregation/aggregation-utils.js.map +1 -0
  303. package/dist/data-components/table-grid/ai-assistant/ai-assistant-executor.d.ts +1 -1
  304. package/dist/data-components/table-grid/ai-assistant/ai-assistant-executor.js +264 -0
  305. package/dist/data-components/table-grid/ai-assistant/ai-assistant-executor.js.map +1 -0
  306. package/dist/data-components/table-grid/ai-assistant/ai-assistant-mock.d.ts +1 -1
  307. package/dist/data-components/table-grid/ai-assistant/ai-assistant-mock.js +306 -0
  308. package/dist/data-components/table-grid/ai-assistant/ai-assistant-mock.js.map +1 -0
  309. package/dist/data-components/table-grid/ai-assistant/ai-assistant-panel-types.d.ts +1 -1
  310. package/dist/data-components/table-grid/ai-assistant/ai-assistant-panel-types.js +2 -0
  311. package/dist/data-components/table-grid/ai-assistant/ai-assistant-panel-types.js.map +1 -0
  312. package/dist/data-components/table-grid/ai-assistant/ai-assistant-panel.d.ts +1 -1
  313. package/dist/data-components/table-grid/ai-assistant/ai-assistant-panel.js +33 -0
  314. package/dist/data-components/table-grid/ai-assistant/ai-assistant-panel.js.map +1 -0
  315. package/dist/data-components/table-grid/ai-assistant/ai-assistant-schema.d.ts +2 -2
  316. package/dist/data-components/table-grid/ai-assistant/ai-assistant-schema.js +59 -0
  317. package/dist/data-components/table-grid/ai-assistant/ai-assistant-schema.js.map +1 -0
  318. package/dist/data-components/table-grid/ai-assistant/ai-assistant-tools.d.ts +1 -1
  319. package/dist/data-components/table-grid/ai-assistant/ai-assistant-tools.js +167 -0
  320. package/dist/data-components/table-grid/ai-assistant/ai-assistant-tools.js.map +1 -0
  321. package/dist/data-components/table-grid/ai-assistant/ai-assistant-types.d.ts +1 -1
  322. package/dist/data-components/table-grid/ai-assistant/ai-assistant-types.js +2 -0
  323. package/dist/data-components/table-grid/ai-assistant/ai-assistant-types.js.map +1 -0
  324. package/dist/data-components/table-grid/ai-assistant/ai-assistant-validator.d.ts +2 -2
  325. package/dist/data-components/table-grid/ai-assistant/ai-assistant-validator.js +157 -0
  326. package/dist/data-components/table-grid/ai-assistant/ai-assistant-validator.js.map +1 -0
  327. package/dist/data-components/table-grid/external-functionalities/import/csv/autoDetect.js +27 -0
  328. package/dist/data-components/table-grid/external-functionalities/import/csv/autoDetect.js.map +1 -0
  329. package/dist/data-components/table-grid/external-functionalities/import/csv/createDataStructureFromFile.d.ts +1 -1
  330. package/dist/data-components/table-grid/external-functionalities/import/csv/createDataStructureFromFile.js +21 -0
  331. package/dist/data-components/table-grid/external-functionalities/import/csv/createDataStructureFromFile.js.map +1 -0
  332. package/dist/data-components/table-grid/external-functionalities/import/csv/csvToObj.js +21 -0
  333. package/dist/data-components/table-grid/external-functionalities/import/csv/csvToObj.js.map +1 -0
  334. package/dist/data-components/table-grid/external-functionalities/import/csv/detectDelimeter.js +12 -0
  335. package/dist/data-components/table-grid/external-functionalities/import/csv/detectDelimeter.js.map +1 -0
  336. package/dist/data-components/table-grid/external-functionalities/import/csv/index.d.ts +6 -6
  337. package/dist/data-components/table-grid/external-functionalities/import/csv/index.js +7 -0
  338. package/dist/data-components/table-grid/external-functionalities/import/csv/index.js.map +1 -0
  339. package/dist/data-components/table-grid/external-functionalities/import/csv/inferColumns.d.ts +1 -1
  340. package/dist/data-components/table-grid/external-functionalities/import/csv/inferColumns.js +15 -0
  341. package/dist/data-components/table-grid/external-functionalities/import/csv/inferColumns.js.map +1 -0
  342. package/dist/data-components/table-grid/external-functionalities/import/csv/parseDelimeted.js +50 -0
  343. package/dist/data-components/table-grid/external-functionalities/import/csv/parseDelimeted.js.map +1 -0
  344. package/dist/data-components/table-grid/footer/table-grid-footer-types.d.ts +1 -1
  345. package/dist/data-components/table-grid/footer/table-grid-footer-types.js +2 -0
  346. package/dist/data-components/table-grid/footer/table-grid-footer-types.js.map +1 -0
  347. package/dist/data-components/table-grid/footer/table-grid-footer.d.ts +1 -1
  348. package/dist/data-components/table-grid/footer/table-grid-footer.js +47 -0
  349. package/dist/data-components/table-grid/footer/table-grid-footer.js.map +1 -0
  350. package/dist/data-components/table-grid/formula/evaluator.js +91 -0
  351. package/dist/data-components/table-grid/formula/evaluator.js.map +1 -0
  352. package/dist/data-components/table-grid/formula/formula-builder-types.d.ts +1 -1
  353. package/dist/data-components/table-grid/formula/formula-builder-types.js +2 -0
  354. package/dist/data-components/table-grid/formula/formula-builder-types.js.map +1 -0
  355. package/dist/data-components/table-grid/formula/formula-builder.d.ts +1 -1
  356. package/dist/data-components/table-grid/formula/formula-builder.js +47 -0
  357. package/dist/data-components/table-grid/formula/formula-builder.js.map +1 -0
  358. package/dist/data-components/table-grid/formula/formula.test.js +50 -0
  359. package/dist/data-components/table-grid/formula/formula.test.js.map +1 -0
  360. package/dist/data-components/table-grid/formula/index.js +40 -0
  361. package/dist/data-components/table-grid/formula/index.js.map +1 -0
  362. package/dist/data-components/table-grid/formula/parser.js +179 -0
  363. package/dist/data-components/table-grid/formula/parser.js.map +1 -0
  364. package/dist/data-components/table-grid/formula/tokenizer.js +140 -0
  365. package/dist/data-components/table-grid/formula/tokenizer.js.map +1 -0
  366. package/dist/data-components/table-grid/formula/types.js +2 -0
  367. package/dist/data-components/table-grid/formula/types.js.map +1 -0
  368. package/dist/data-components/table-grid/header/grouping/group-panel-types.d.ts +1 -1
  369. package/dist/data-components/table-grid/header/grouping/group-panel-types.js +2 -0
  370. package/dist/data-components/table-grid/header/grouping/group-panel-types.js.map +1 -0
  371. package/dist/data-components/table-grid/header/grouping/group-panel.d.ts +1 -1
  372. package/dist/data-components/table-grid/header/grouping/group-panel.js +91 -0
  373. package/dist/data-components/table-grid/header/grouping/group-panel.js.map +1 -0
  374. package/dist/data-components/table-grid/header/table-grid-column-menu.d.ts +1 -1
  375. package/dist/data-components/table-grid/header/table-grid-column-menu.js +84 -0
  376. package/dist/data-components/table-grid/header/table-grid-column-menu.js.map +1 -0
  377. package/dist/data-components/table-grid/header/table-grid-header-types.d.ts +1 -1
  378. package/dist/data-components/table-grid/header/table-grid-header-types.js +2 -0
  379. package/dist/data-components/table-grid/header/table-grid-header-types.js.map +1 -0
  380. package/dist/data-components/table-grid/header/table-grid-header.d.ts +1 -1
  381. package/dist/data-components/table-grid/header/table-grid-header.js +148 -0
  382. package/dist/data-components/table-grid/header/table-grid-header.js.map +1 -0
  383. package/dist/data-components/table-grid/hooks/use-table.d.ts +1 -1
  384. package/dist/data-components/table-grid/hooks/use-table.js +18 -0
  385. package/dist/data-components/table-grid/hooks/use-table.js.map +1 -0
  386. package/dist/data-components/table-grid/pinning/pinning-utils.d.ts +1 -1
  387. package/dist/data-components/table-grid/pinning/pinning-utils.js +70 -0
  388. package/dist/data-components/table-grid/pinning/pinning-utils.js.map +1 -0
  389. package/dist/data-components/table-grid/pivot/pivot-config-panel-types.d.ts +2 -2
  390. package/dist/data-components/table-grid/pivot/pivot-config-panel-types.js +2 -0
  391. package/dist/data-components/table-grid/pivot/pivot-config-panel-types.js.map +1 -0
  392. package/dist/data-components/table-grid/pivot/pivot-config-panel.d.ts +1 -1
  393. package/dist/data-components/table-grid/pivot/pivot-config-panel.js +89 -0
  394. package/dist/data-components/table-grid/pivot/pivot-config-panel.js.map +1 -0
  395. package/dist/data-components/table-grid/pivot/pivot-table.d.ts +1 -1
  396. package/dist/data-components/table-grid/pivot/pivot-table.js +26 -0
  397. package/dist/data-components/table-grid/pivot/pivot-table.js.map +1 -0
  398. package/dist/data-components/table-grid/pivot/pivot-types.d.ts +1 -1
  399. package/dist/data-components/table-grid/pivot/pivot-types.js +2 -0
  400. package/dist/data-components/table-grid/pivot/pivot-types.js.map +1 -0
  401. package/dist/data-components/table-grid/pivot/pivot-utils.d.ts +2 -2
  402. package/dist/data-components/table-grid/pivot/pivot-utils.js +150 -0
  403. package/dist/data-components/table-grid/pivot/pivot-utils.js.map +1 -0
  404. package/dist/data-components/table-grid/row/table-grid-row-types.d.ts +3 -1
  405. package/dist/data-components/table-grid/row/table-grid-row-types.d.ts.map +1 -1
  406. package/dist/data-components/table-grid/row/table-grid-row-types.js +2 -0
  407. package/dist/data-components/table-grid/row/table-grid-row-types.js.map +1 -0
  408. package/dist/data-components/table-grid/row/table-grid-row-utils.d.ts +2 -2
  409. package/dist/data-components/table-grid/row/table-grid-row-utils.js +35 -0
  410. package/dist/data-components/table-grid/row/table-grid-row-utils.js.map +1 -0
  411. package/dist/data-components/table-grid/row/table-grid-row.d.ts +2 -2
  412. package/dist/data-components/table-grid/row/table-grid-row.d.ts.map +1 -1
  413. package/dist/data-components/table-grid/row/table-grid-row.js +68 -0
  414. package/dist/data-components/table-grid/row/table-grid-row.js.map +1 -0
  415. package/dist/data-components/table-grid/selection/selection-types.js +2 -0
  416. package/dist/data-components/table-grid/selection/selection-types.js.map +1 -0
  417. package/dist/data-components/table-grid/selection/selection-utils.d.ts +2 -2
  418. package/dist/data-components/table-grid/selection/selection-utils.js +136 -0
  419. package/dist/data-components/table-grid/selection/selection-utils.js.map +1 -0
  420. package/dist/data-components/table-grid/sidebar/table-grid-sidebar-types.js +2 -0
  421. package/dist/data-components/table-grid/sidebar/table-grid-sidebar-types.js.map +1 -0
  422. package/dist/data-components/table-grid/sidebar/table-grid-sidebar.d.ts +1 -1
  423. package/dist/data-components/table-grid/sidebar/table-grid-sidebar.js +7 -0
  424. package/dist/data-components/table-grid/sidebar/table-grid-sidebar.js.map +1 -0
  425. package/dist/data-components/table-grid/sorting/sorting.d.ts +1 -1
  426. package/dist/data-components/table-grid/sorting/sorting.js +45 -0
  427. package/dist/data-components/table-grid/sorting/sorting.js.map +1 -0
  428. package/dist/data-components/table-grid/table-context/table-context-types.d.ts +2 -2
  429. package/dist/data-components/table-grid/table-context/table-context-types.js +2 -0
  430. package/dist/data-components/table-grid/table-context/table-context-types.js.map +1 -0
  431. package/dist/data-components/table-grid/table-context/table-context.d.ts +2 -2
  432. package/dist/data-components/table-grid/table-context/table-context.js +4 -0
  433. package/dist/data-components/table-grid/table-context/table-context.js.map +1 -0
  434. package/dist/data-components/table-grid/table-grid-context.d.ts +2 -2
  435. package/dist/data-components/table-grid/table-grid-context.d.ts.map +1 -1
  436. package/dist/data-components/table-grid/table-grid-context.js +258 -0
  437. package/dist/data-components/table-grid/table-grid-context.js.map +1 -0
  438. package/dist/data-components/table-grid/table-grid-types.d.ts +9 -7
  439. package/dist/data-components/table-grid/table-grid-types.d.ts.map +1 -1
  440. package/dist/data-components/table-grid/table-grid-types.js +2 -0
  441. package/dist/data-components/table-grid/table-grid-types.js.map +1 -0
  442. package/dist/data-components/table-grid/table-grid.d.ts +1 -1
  443. package/dist/data-components/table-grid/table-grid.d.ts.map +1 -1
  444. package/dist/data-components/table-grid/table-grid.js +144 -0
  445. package/dist/data-components/table-grid/table-grid.js.map +1 -0
  446. package/dist/data-components/table-grid/table-utils.d.ts +1 -1
  447. package/dist/data-components/table-grid/table-utils.js +116 -0
  448. package/dist/data-components/table-grid/table-utils.js.map +1 -0
  449. package/dist/experimental-components/contribution-heatmap/contribution-heatmap-types.js +2 -0
  450. package/dist/experimental-components/contribution-heatmap/contribution-heatmap-types.js.map +1 -0
  451. package/dist/experimental-components/contribution-heatmap/contribution-heatmap-utils.d.ts +1 -1
  452. package/dist/experimental-components/contribution-heatmap/contribution-heatmap-utils.js +61 -0
  453. package/dist/experimental-components/contribution-heatmap/contribution-heatmap-utils.js.map +1 -0
  454. package/dist/experimental-components/contribution-heatmap/contribution-heatmap.d.ts +2 -2
  455. package/dist/experimental-components/contribution-heatmap/contribution-heatmap.js +23 -0
  456. package/dist/experimental-components/contribution-heatmap/contribution-heatmap.js.map +1 -0
  457. package/dist/experimental-components/filter-builder/filter-builder-types.d.ts +1 -1
  458. package/dist/experimental-components/filter-builder/filter-builder-types.js +2 -0
  459. package/dist/experimental-components/filter-builder/filter-builder-types.js.map +1 -0
  460. package/dist/experimental-components/filter-builder/filter-builder.d.ts +3 -2
  461. package/dist/experimental-components/filter-builder/filter-builder.js +139 -0
  462. package/dist/experimental-components/filter-builder/filter-builder.js.map +1 -0
  463. package/dist/framework-components/appbar/appbar-assets.js +5 -0
  464. package/dist/framework-components/appbar/appbar-assets.js.map +1 -0
  465. package/dist/framework-components/appbar/appbar-types.d.ts +1 -1
  466. package/dist/framework-components/appbar/appbar-types.js +2 -0
  467. package/dist/framework-components/appbar/appbar-types.js.map +1 -0
  468. package/dist/framework-components/appbar/appbar.d.ts +2 -2
  469. package/dist/framework-components/appbar/appbar.js +36 -0
  470. package/dist/framework-components/appbar/appbar.js.map +1 -0
  471. package/dist/framework-components/breadcrumbs/breadcrumbs-types.js +2 -0
  472. package/dist/framework-components/breadcrumbs/breadcrumbs-types.js.map +1 -0
  473. package/dist/framework-components/breadcrumbs/breadcrumbs.d.ts +2 -2
  474. package/dist/framework-components/breadcrumbs/breadcrumbs.js +31 -0
  475. package/dist/framework-components/breadcrumbs/breadcrumbs.js.map +1 -0
  476. package/dist/framework-components/drawer/drawer-types.d.ts +2 -2
  477. package/dist/framework-components/drawer/drawer-types.js +2 -0
  478. package/dist/framework-components/drawer/drawer-types.js.map +1 -0
  479. package/dist/framework-components/drawer/drawer.d.ts +2 -2
  480. package/dist/framework-components/drawer/drawer.js +10 -0
  481. package/dist/framework-components/drawer/drawer.js.map +1 -0
  482. package/dist/framework-components/scaffold/scaffold-context.d.ts +2 -2
  483. package/dist/framework-components/scaffold/scaffold-context.js +10 -0
  484. package/dist/framework-components/scaffold/scaffold-context.js.map +1 -0
  485. package/dist/framework-components/scaffold/scaffold-types.d.ts +1 -1
  486. package/dist/framework-components/scaffold/scaffold-types.js +2 -0
  487. package/dist/framework-components/scaffold/scaffold-types.js.map +1 -0
  488. package/dist/framework-components/scaffold/scaffold.d.ts +2 -2
  489. package/dist/framework-components/scaffold/scaffold.js +76 -0
  490. package/dist/framework-components/scaffold/scaffold.js.map +1 -0
  491. package/dist/framework-components/sidebar/sidebar-assets.js +4 -0
  492. package/dist/framework-components/sidebar/sidebar-assets.js.map +1 -0
  493. package/dist/framework-components/sidebar/sidebar-context.d.ts +2 -2
  494. package/dist/framework-components/sidebar/sidebar-context.js +9 -0
  495. package/dist/framework-components/sidebar/sidebar-context.js.map +1 -0
  496. package/dist/framework-components/sidebar/sidebar-logo/sidebar-logo-types.js +2 -0
  497. package/dist/framework-components/sidebar/sidebar-logo/sidebar-logo-types.js.map +1 -0
  498. package/dist/framework-components/sidebar/sidebar-logo/sidebar-logo.d.ts +1 -1
  499. package/dist/framework-components/sidebar/sidebar-logo/sidebar-logo.js +12 -0
  500. package/dist/framework-components/sidebar/sidebar-logo/sidebar-logo.js.map +1 -0
  501. package/dist/framework-components/sidebar/sidebar-types.d.ts +1 -1
  502. package/dist/framework-components/sidebar/sidebar-types.js +2 -0
  503. package/dist/framework-components/sidebar/sidebar-types.js.map +1 -0
  504. package/dist/framework-components/sidebar/sidebar.d.ts +3 -3
  505. package/dist/framework-components/sidebar/sidebar.js +42 -0
  506. package/dist/framework-components/sidebar/sidebar.js.map +1 -0
  507. package/dist/hooks/useDynamicVirtualList.d.ts +76 -0
  508. package/dist/hooks/useDynamicVirtualList.d.ts.map +1 -0
  509. package/dist/hooks/useDynamicVirtualList.js +208 -0
  510. package/dist/hooks/useDynamicVirtualList.js.map +1 -0
  511. package/dist/hooks/useFixedVirtualList.d.ts +35 -0
  512. package/dist/hooks/useFixedVirtualList.d.ts.map +1 -0
  513. package/dist/hooks/useFixedVirtualList.js +64 -0
  514. package/dist/hooks/useFixedVirtualList.js.map +1 -0
  515. package/dist/hooks/useShortcut.d.ts +1 -1
  516. package/dist/hooks/useShortcut.js +86 -0
  517. package/dist/hooks/useShortcut.js.map +1 -0
  518. package/dist/hooks/useTour/useTour-context-internal.d.ts +2 -2
  519. package/dist/hooks/useTour/useTour-context-internal.js +7 -0
  520. package/dist/hooks/useTour/useTour-context-internal.js.map +1 -0
  521. package/dist/hooks/useTour/useTour-context.d.ts +3 -3
  522. package/dist/hooks/useTour/useTour-context.js +54 -0
  523. package/dist/hooks/useTour/useTour-context.js.map +1 -0
  524. package/dist/hooks/useTour/useTour-types.d.ts +1 -1
  525. package/dist/hooks/useTour/useTour-types.js +2 -0
  526. package/dist/hooks/useTour/useTour-types.js.map +1 -0
  527. package/dist/hooks/useTour/useTour.d.ts +1 -1
  528. package/dist/hooks/useTour/useTour.js +408 -0
  529. package/dist/hooks/useTour/useTour.js.map +1 -0
  530. package/dist/hooks/useVirtualListScroll.d.ts +1 -1
  531. package/dist/hooks/useVirtualListScroll.js +79 -0
  532. package/dist/hooks/useVirtualListScroll.js.map +1 -0
  533. package/dist/index.d.ts +3 -0
  534. package/dist/index.d.ts.map +1 -1
  535. package/dist/index.js +63 -0
  536. package/dist/index.js.map +1 -0
  537. package/dist/providers/ai-assistant/ai-assistant-prompts.d.ts +1 -1
  538. package/dist/providers/ai-assistant/ai-assistant-prompts.js +98 -0
  539. package/dist/providers/ai-assistant/ai-assistant-prompts.js.map +1 -0
  540. package/dist/providers/ai-assistant/ai-assistant-types.js +5 -0
  541. package/dist/providers/ai-assistant/ai-assistant-types.js.map +1 -0
  542. package/dist/providers/ai-assistant/ai-assistant-validator.d.ts +1 -1
  543. package/dist/providers/ai-assistant/ai-assistant-validator.js +74 -0
  544. package/dist/providers/ai-assistant/ai-assistant-validator.js.map +1 -0
  545. package/dist/providers/ai-assistant/ai-chat-panel-types.d.ts +1 -1
  546. package/dist/providers/ai-assistant/ai-chat-panel-types.js +2 -0
  547. package/dist/providers/ai-assistant/ai-chat-panel-types.js.map +1 -0
  548. package/dist/providers/ai-assistant/ai-chat-panel.d.ts +1 -1
  549. package/dist/providers/ai-assistant/ai-chat-panel.js +111 -0
  550. package/dist/providers/ai-assistant/ai-chat-panel.js.map +1 -0
  551. package/dist/providers/shortcut/shortcut-context.d.ts +2 -2
  552. package/dist/providers/shortcut/shortcut-context.js +7 -0
  553. package/dist/providers/shortcut/shortcut-context.js.map +1 -0
  554. package/dist/providers/shortcut/shortcut-provider.d.ts +1 -1
  555. package/dist/providers/shortcut/shortcut-provider.js +267 -0
  556. package/dist/providers/shortcut/shortcut-provider.js.map +1 -0
  557. package/dist/providers/theme/index.js +2 -0
  558. package/dist/providers/theme/index.js.map +1 -0
  559. package/dist/providers/theme/theme-provider-types.js +2 -0
  560. package/dist/providers/theme/theme-provider-types.js.map +1 -0
  561. package/dist/providers/theme/themeProvider.d.ts +2 -2
  562. package/dist/providers/theme/themeProvider.js +17 -0
  563. package/dist/providers/theme/themeProvider.js.map +1 -0
  564. package/dist/test/vitest.utils.js +2 -0
  565. package/dist/test/vitest.utils.js.map +1 -0
  566. package/dist/types/global-types.js +10 -0
  567. package/dist/types/global-types.js.map +1 -0
  568. package/dist/types/storybook-types.js +2 -0
  569. package/dist/types/storybook-types.js.map +1 -0
  570. package/dist/utility-components/avatar/avatar-types.d.ts +1 -1
  571. package/dist/utility-components/avatar/avatar-types.js +2 -0
  572. package/dist/utility-components/avatar/avatar-types.js.map +1 -0
  573. package/dist/utility-components/avatar/avatar.d.ts +2 -2
  574. package/dist/utility-components/avatar/avatar.js +10 -0
  575. package/dist/utility-components/avatar/avatar.js.map +1 -0
  576. package/dist/utility-components/chip/chip-types.d.ts +2 -2
  577. package/dist/utility-components/chip/chip-types.js +2 -0
  578. package/dist/utility-components/chip/chip-types.js.map +1 -0
  579. package/dist/utility-components/chip/chip.d.ts +2 -2
  580. package/dist/utility-components/chip/chip.js +11 -0
  581. package/dist/utility-components/chip/chip.js.map +1 -0
  582. package/dist/utility-components/helper-text/helper-text-types.d.ts +1 -1
  583. package/dist/utility-components/helper-text/helper-text-types.js +2 -0
  584. package/dist/utility-components/helper-text/helper-text-types.js.map +1 -0
  585. package/dist/utility-components/helper-text/helper-text.d.ts +1 -1
  586. package/dist/utility-components/helper-text/helper-text.js +12 -0
  587. package/dist/utility-components/helper-text/helper-text.js.map +1 -0
  588. package/dist/utility-components/icon/icon-assets.js +95 -0
  589. package/dist/utility-components/icon/icon-assets.js.map +1 -0
  590. package/dist/utility-components/icon/icon-types.d.ts +1 -1
  591. package/dist/utility-components/icon/icon-types.js +2 -0
  592. package/dist/utility-components/icon/icon-types.js.map +1 -0
  593. package/dist/utility-components/icon/icon.d.ts +2 -2
  594. package/dist/utility-components/icon/icon.js +28 -0
  595. package/dist/utility-components/icon/icon.js.map +1 -0
  596. package/dist/utility-components/label/label-types.js +2 -0
  597. package/dist/utility-components/label/label-types.js.map +1 -0
  598. package/dist/utility-components/label/label.d.ts +1 -1
  599. package/dist/utility-components/label/label.js +10 -0
  600. package/dist/utility-components/label/label.js.map +1 -0
  601. package/dist/utility-components/overlay-panel/overlay-panel-types.js +2 -0
  602. package/dist/utility-components/overlay-panel/overlay-panel-types.js.map +1 -0
  603. package/dist/utility-components/overlay-panel/overlay-panel.d.ts +2 -2
  604. package/dist/utility-components/overlay-panel/overlay-panel.js +98 -0
  605. package/dist/utility-components/overlay-panel/overlay-panel.js.map +1 -0
  606. package/dist/utility-components/overlay-panel/use-focus-trap.d.ts +1 -1
  607. package/dist/utility-components/overlay-panel/use-focus-trap.js +61 -0
  608. package/dist/utility-components/overlay-panel/use-focus-trap.js.map +1 -0
  609. package/dist/utility-components/skeleton/skeleton-types.js +2 -0
  610. package/dist/utility-components/skeleton/skeleton-types.js.map +1 -0
  611. package/dist/utility-components/skeleton/skeleton.d.ts +2 -2
  612. package/dist/utility-components/skeleton/skeleton.js +14 -0
  613. package/dist/utility-components/skeleton/skeleton.js.map +1 -0
  614. package/dist/utility-components/stack/stack-types.js +2 -0
  615. package/dist/utility-components/stack/stack-types.js.map +1 -0
  616. package/dist/utility-components/stack/stack.d.ts +2 -2
  617. package/dist/utility-components/stack/stack.js +12 -0
  618. package/dist/utility-components/stack/stack.js.map +1 -0
  619. package/dist/utility-components/toast/toast-types.d.ts +1 -1
  620. package/dist/utility-components/toast/toast-types.js +2 -0
  621. package/dist/utility-components/toast/toast-types.js.map +1 -0
  622. package/dist/utility-components/toast/toast.d.ts +2 -2
  623. package/dist/utility-components/toast/toast.js +21 -0
  624. package/dist/utility-components/toast/toast.js.map +1 -0
  625. package/dist/utils/general.d.ts +1 -1
  626. package/dist/utils/general.js +27 -0
  627. package/dist/utils/general.js.map +1 -0
  628. package/dist/utils/shortcut-utils.js +164 -0
  629. package/dist/utils/shortcut-utils.js.map +1 -0
  630. package/package.json +1 -1
  631. package/dist/assets/svg/alert.svg +0 -1
  632. package/dist/assets/svg/arrow-down-up.svg +0 -1
  633. package/dist/assets/svg/arrow-down.svg +0 -1
  634. package/dist/assets/svg/arrow-left.svg +0 -1
  635. package/dist/assets/svg/arrow-right.svg +0 -1
  636. package/dist/assets/svg/arrow-up.svg +0 -1
  637. package/dist/assets/svg/arrow_drop_down.svg +0 -1
  638. package/dist/assets/svg/calendar.svg +0 -1
  639. package/dist/assets/svg/check.svg +0 -1
  640. package/dist/assets/svg/chevron-down.svg +0 -1
  641. package/dist/assets/svg/chevron-right.svg +0 -1
  642. package/dist/assets/svg/clipboard.svg +0 -1
  643. package/dist/assets/svg/close.svg +0 -1
  644. package/dist/assets/svg/copy.svg +0 -1
  645. package/dist/assets/svg/cursor.svg +0 -1
  646. package/dist/assets/svg/cut.svg +0 -1
  647. package/dist/assets/svg/delete.svg +0 -1
  648. package/dist/assets/svg/dock-left-arrow.svg +0 -1
  649. package/dist/assets/svg/dock-right-arrow.svg +0 -1
  650. package/dist/assets/svg/document-outline.svg +0 -1
  651. package/dist/assets/svg/download.svg +0 -1
  652. package/dist/assets/svg/drag.svg +0 -1
  653. package/dist/assets/svg/error.svg +0 -1
  654. package/dist/assets/svg/expand-right.svg +0 -1
  655. package/dist/assets/svg/expand.svg +0 -1
  656. package/dist/assets/svg/eye.svg +0 -1
  657. package/dist/assets/svg/fullscreen.svg +0 -1
  658. package/dist/assets/svg/gear.svg +0 -1
  659. package/dist/assets/svg/groups.svg +0 -1
  660. package/dist/assets/svg/help.svg +0 -1
  661. package/dist/assets/svg/info.svg +0 -1
  662. package/dist/assets/svg/logo.svg +0 -9
  663. package/dist/assets/svg/menu.svg +0 -1
  664. package/dist/assets/svg/message-bubble-question-mark.svg +0 -1
  665. package/dist/assets/svg/pencil.svg +0 -1
  666. package/dist/assets/svg/plus.svg +0 -1
  667. package/dist/assets/svg/restio.svg +0 -5
  668. package/dist/assets/svg/search.svg +0 -1
  669. package/dist/assets/svg/send.svg +0 -1
  670. package/dist/assets/svg/shrink-right.svg +0 -1
  671. package/dist/assets/svg/sidebar.svg +0 -1
  672. package/dist/assets/svg/terminal.svg +0 -1
  673. package/dist/assets/svg/timer.svg +0 -1
  674. package/dist/assets/svg/warning.svg +0 -1
  675. package/dist/assets/svg/zoom-minus.svg +0 -1
  676. package/dist/assets/svg/zoom-plus.svg +0 -1
  677. package/dist/restio-ui.cjs.js +0 -109
  678. package/dist/restio-ui.es.js +0 -34377
  679. package/dist/ui.css +0 -2
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workflow-toolbar.js","sourceRoot":"","sources":["../../../../src/custom-components/workflow/toolbar/workflow-toolbar.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAC3D,OAAO,MAAM,MAAM,+BAA+B,CAAC;AAEnD,MAAM,UAAU,eAAe,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,YAAY,EAAE,OAAO,GAAG,GAAG,EAAE,OAAO,GAAG,CAAC,EAAE,SAAS,EAAwB;IACrI,MAAM,YAAY,GAAG,GAAG,EAAE;QACxB,MAAM,OAAO,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,GAAG,GAAG,EAAE,OAAO,CAAC,CAAC;QAC9C,YAAY,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAC3C,CAAC,CAAC;IAEF,MAAM,aAAa,GAAG,GAAG,EAAE;QACzB,MAAM,OAAO,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,GAAG,GAAG,EAAE,OAAO,CAAC,CAAC;QAC9C,YAAY,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAC3C,CAAC,CAAC;IAEF,MAAM,eAAe,GAAG,GAAG,EAAE;QAC3B,YAAY,CAAC,CAAC,CA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AM,EAAC,IAAI,EAAC,OAAO,EAAC,aAAa,EAAC,WAAW,EAAC,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,IAAI,IAAI,OAAO,gBAAa,SAAS,EAAC,KAAK,EAAC,SAAS,GAAG,IACnJ,CACP,CAAC;AACJ,CAAC"}
@@ -1,5 +1,5 @@
1
- import { WorkflowNode } from '../workflow-types';
2
- import { WorkflowEdge } from '../layout/workflow-layout-types';
1
+ import { WorkflowNode } from "../workflow-types";
2
+ import { WorkflowEdge } from "../layout/workflow-layout-types";
3
3
  /**
4
4
  * Validation result
5
5
  */
@@ -0,0 +1,257 @@
1
+ /**
2
+ * Validates the structure of a workflow
3
+ */
4
+ export function validateWorkflow(nodes, edges) {
5
+ const errors = [];
6
+ const warnings = [];
7
+ // Create node map for quick lookup
8
+ const nodeMap = new Map(nodes.map(node => [node.id, node]));
9
+ // Validate nodes exist
10
+ validateNodesExist(nodes, edges, nodeMap, errors);
11
+ // Validate start and end nodes
12
+ validateStartEndNodes(nodes, edges, errors, warnings);
13
+ // Validate orphaned nodes
14
+ validateOrphanedNodes(nodes, edges, warnings);
15
+ // Validate circular dependencies
16
+ validateCircularDependencies(nodes, edges, errors);
17
+ // Validate conditional edges
18
+ validateConditionalEdges(edges, warnings);
19
+ // Validate duplicate edges
20
+ validateDuplicateEdges(edges, warnings);
21
+ return {
22
+ valid: errors.length === 0,
23
+ errors,
24
+ warnings,
25
+ };
26
+ }
27
+ /**
28
+ * Validates that all edges reference existing nodes
29
+ */
30
+ function validateNodesExist(nodes, edges, nodeMap, errors) {
31
+ for (const edge of edges) {
32
+ if (!nodeMap.has(edge.source)) {
33
+ errors.push({
34
+ type: 'invalid-edge',
35
+ message: `Edge ${edge.id} references non-existent source node: ${edge.source}`,
36
+ relatedIds: [edge.id, edge.source],
37
+ });
38
+ }
39
+ if (!nodeMap.has(edge.target)) {
40
+ errors.push({
41
+ type: 'invalid-edge',
42
+ message: `Edge ${edge.id} references non-existent target node: ${edge.target}`,
43
+ relatedIds: [edge.id, edge.target],
44
+ });
45
+ }
46
+ }
47
+ }
48
+ /**
49
+ * Validates start and end nodes
50
+ */
51
+ function validateStartEndNodes(nodes, edges, errors, warnings) {
52
+ const startNodes = nodes.filter(node => node.nodeType === 'start');
53
+ const endNodes = nodes.filter(node => node.nodeType === 'end');
54
+ // Check for start nodes
55
+ if (startNodes.length === 0) {
56
+ // Check if there are nodes with no incoming edges (implicit start)
57
+ const nodesWithIncoming = new Set(edges.map(e => e.target));
58
+ const implicitStarts = nodes.filter(node => !nodesWithIncoming.has(node.id));
59
+ if (implicitStarts.length === 0) {
60
+ errors.push({
61
+ type: 'missing-start',
62
+ message: 'Workflow must have at least one start node or a node with no incoming edges',
63
+ relatedIds: [],
64
+ });
65
+ }
66
+ }
67
+ else if (startNodes.length > 1) {
68
+ warnings.push({
69
+ type: 'unreachable-node',
70
+ message: `Workflow has multiple start nodes (${startNodes.length}). This may be intentional for parallel execution.`,
71
+ relatedIds: startNodes.map(n => n.id),
72
+ });
73
+ }
74
+ // Check for end nodes
75
+ if (endNodes.length === 0) {
76
+ // Check if there are nodes with no outgoing edges (implicit end)
77
+ const nodesWithOutgoing = new Set(edges.map(e => e.source));
78
+ const implicitEnds = nodes.filter(node => !nodesWithOutgoing.has(node.id));
79
+ if (implicitEnds.length === 0) {
80
+ warnings.push({
81
+ type: 'dead-end',
82
+ message: 'Workflow should have at least one end node or a node with no outgoing edges',
83
+ relatedIds: [],
84
+ });
85
+ }
86
+ }
87
+ }
88
+ /**
89
+ * Validates orphaned nodes (nodes with no connections)
90
+ */
91
+ function validateOrphanedNodes(nodes, edges, warnings) {
92
+ const connectedNodes = new Set();
93
+ for (const edge of edges) {
94
+ connectedNodes.add(edge.source);
95
+ connectedNodes.add(edge.target);
96
+ }
97
+ const orphanedNodes = nodes.filter(node => !connectedNodes.has(node.id));
98
+ if (orphanedNodes.length > 0) {
99
+ warnings.push({
100
+ type: 'orphaned-node',
101
+ message: `Found ${orphanedNodes.length} orphaned node(s) with no connections`,
102
+ relatedIds: orphanedNodes.map(node => node.id),
103
+ });
104
+ }
105
+ }
106
+ /**
107
+ * Validates circular dependencies using DFS
108
+ */
109
+ function validateCircularDependencies(nodes, edges, errors) {
110
+ // Build adjacency list
111
+ const adjacencyList = new Map();
112
+ for (const node of nodes) {
113
+ adjacencyList.set(node.id, []);
114
+ }
115
+ for (const edge of edges) {
116
+ const neighbors = adjacencyList.get(edge.source) || [];
117
+ neighbors.push(edge.target);
118
+ adjacencyList.set(edge.source, neighbors);
119
+ }
120
+ // DFS to detect cycles
121
+ const visited = new Set();
122
+ const recursionStack = new Set();
123
+ const cycles = [];
124
+ function dfs(nodeId, path) {
125
+ visited.add(nodeId);
126
+ recursionStack.add(nodeId);
127
+ path.push(nodeId);
128
+ const neighbors = adjacencyList.get(nodeId) || [];
129
+ for (const neighbor of neighbors) {
130
+ if (!visited.has(neighbor)) {
131
+ dfs(neighbor, [...path]);
132
+ }
133
+ else if (recursionStack.has(neighbor)) {
134
+ // Found a cycle
135
+ const cycleStart = path.indexOf(neighbor);
136
+ const cycle = path.slice(cycleStart);
137
+ cycle.push(neighbor);
138
+ cycles.push(cycle);
139
+ }
140
+ }
141
+ recursionStack.delete(nodeId);
142
+ }
143
+ for (const node of nodes) {
144
+ if (!visited.has(node.id)) {
145
+ dfs(node.id, []);
146
+ }
147
+ }
148
+ // Report cycles
149
+ for (const cycle of cycles) {
150
+ errors.push({
151
+ type: 'circular-dependency',
152
+ message: `Circular dependency detected: ${cycle.join(' → ')}`,
153
+ relatedIds: cycle,
154
+ });
155
+ }
156
+ }
157
+ /**
158
+ * Validates conditional edges have conditions
159
+ */
160
+ function validateConditionalEdges(edges, warnings) {
161
+ const conditionalWithoutCondition = edges.filter(edge => edge.type === 'conditional' && !edge.condition);
162
+ if (conditionalWithoutCondition.length > 0) {
163
+ warnings.push({
164
+ type: 'missing-condition',
165
+ message: `${conditionalWithoutCondition.length} conditional edge(s) are missing condition logic`,
166
+ relatedIds: conditionalWithoutCondition.map(edge => edge.id),
167
+ });
168
+ }
169
+ }
170
+ /**
171
+ * Validates duplicate edges between same nodes
172
+ */
173
+ function validateDuplicateEdges(edges, warnings) {
174
+ const edgeMap = new Map();
175
+ for (const edge of edges) {
176
+ const key = `${edge.source}->${edge.target}`;
177
+ const existing = edgeMap.get(key) || [];
178
+ existing.push(edge.id);
179
+ edgeMap.set(key, existing);
180
+ }
181
+ for (const [key, edgeIds] of edgeMap.entries()) {
182
+ if (edgeIds.length > 1) {
183
+ warnings.push({
184
+ type: 'duplicate-edge',
185
+ message: `Multiple edges between same nodes: ${key}`,
186
+ relatedIds: edgeIds,
187
+ });
188
+ }
189
+ }
190
+ }
191
+ /**
192
+ * Gets all reachable nodes from a start node
193
+ */
194
+ export function getReachableNodes(startNodeId, edges) {
195
+ const reachable = new Set();
196
+ const queue = [startNodeId];
197
+ while (queue.length > 0) {
198
+ const current = queue.shift();
199
+ if (reachable.has(current)) {
200
+ continue;
201
+ }
202
+ reachable.add(current);
203
+ // Add all targets of edges from current node
204
+ const outgoingEdges = edges.filter(edge => edge.source === current);
205
+ for (const edge of outgoingEdges) {
206
+ if (!reachable.has(edge.target)) {
207
+ queue.push(edge.target);
208
+ }
209
+ }
210
+ }
211
+ return reachable;
212
+ }
213
+ /**
214
+ * Gets topological order of nodes (for execution planning)
215
+ */
216
+ export function getTopologicalOrder(nodes, edges) {
217
+ // Build adjacency list and in-degree map
218
+ const adjacencyList = new Map();
219
+ const inDegree = new Map();
220
+ for (const node of nodes) {
221
+ adjacencyList.set(node.id, []);
222
+ inDegree.set(node.id, 0);
223
+ }
224
+ for (const edge of edges) {
225
+ const neighbors = adjacencyList.get(edge.source) || [];
226
+ neighbors.push(edge.target);
227
+ adjacencyList.set(edge.source, neighbors);
228
+ inDegree.set(edge.target, (inDegree.get(edge.target) || 0) + 1);
229
+ }
230
+ // Kahn's algorithm
231
+ const queue = [];
232
+ const result = [];
233
+ // Start with nodes that have no incoming edges
234
+ for (const [nodeId, degree] of inDegree.entries()) {
235
+ if (degree === 0) {
236
+ queue.push(nodeId);
237
+ }
238
+ }
239
+ while (queue.length > 0) {
240
+ const current = queue.shift();
241
+ result.push(current);
242
+ const neighbors = adjacencyList.get(current) || [];
243
+ for (const neighbor of neighbors) {
244
+ const newDegree = (inDegree.get(neighbor) || 0) - 1;
245
+ inDegree.set(neighbor, newDegree);
246
+ if (newDegree === 0) {
247
+ queue.push(neighbor);
248
+ }
249
+ }
250
+ }
251
+ // If result doesn't include all nodes, there's a cycle
252
+ if (result.length !== nodes.length) {
253
+ return null; // Cycle detected
254
+ }
255
+ return result;
256
+ }
257
+ //# sourceMappingURL=workflow-validation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workflow-validation.js","sourceRoot":"","sources":["../../../../src/custom-components/workflow/utils/workflow-validation.ts"],"names":[],"mappings":"AA6CA;;GAEG;AACH,MAAM,UAAU,gBAAgB,CAC9B,KAA4B,EAC5B,KAAqB;IAErB,MAAM,MAAM,GAAsB,EAAE,CAAC;IACrC,MAAM,QAAQ,GAAwB,EAAE,CAAC;IAEzC,mCAAmC;IACnC,MAAM,OAAO,GAAG,IAAI,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IAE5D,uBAAuB;IACvB,kBAAkB,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAElD,+BAA+B;IAC/B,qBAAqB,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC;IAEtD,0BAA0B;IAC1B,qBAAqB,CAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;IAE9C,iCAAiC;IACjC,4BAA4B,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC;IAEnD,6BAA6B;IAC7B,wBAAwB,CAAC,KAAK,EAAE,QAAQ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,IAAI,CAAC,MAAM,CAAC,CAAC;QACrB,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACxB,MAAM,OAAO,GAAG,KAAK,CAAC,KAAK,EAAG,CAAC;QAC/B,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAErB,MAAM,SAAS,GAAG,aAAa,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;QACnD,KAAK,MAAM,QAAQ,IAAI,SAAS,EAAE,CAAC;YACjC,MAAM,SAAS,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;YACpD,QAAQ,CAAC,GAAG,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC;YAElC,IAAI,SAAS,KAAK,CAAC,EAAE,CAAC;gBACpB,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YACvB,CAAC;QACH,CAAC;IACH,CAAC;IAED,uDAAuD;IACvD,IAAI,MAAM,CAAC,MAAM,KAAK,KAAK,CAAC,MAAM,EAAE,CAAC;QACnC,OAAO,IAAI,CAAC,CAAC,iBAAiB;IAChC,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -1,6 +1,6 @@
1
- import { DataStructureColumn } from '../../data-components/data-structure/data-structure';
2
- import { FormColumn } from '../../data-components/form/form-types';
3
- import { WorkflowEdge, WorkflowLayout } from './layout/workflow-layout-types';
1
+ import { DataStructureColumn } from "../../data-components/data-structure/data-structure";
2
+ import { FormColumn } from "../../data-components/form/form-types";
3
+ import { WorkflowEdge, WorkflowLayout } from "./layout/workflow-layout-types";
4
4
  /**
5
5
  * Type of workflow node
6
6
  */
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=workflow-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workflow-types.js","sourceRoot":"","sources":["../../../src/custom-components/workflow/workflow-types.ts"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
- import { WorkflowProps } from './workflow-types';
1
+ import { WorkflowProps } from "./workflow-types";
2
2
  /**
3
3
  * Workflow component for rendering Directed Acyclic Graphs (DAGs)
4
4
  */
@@ -0,0 +1,125 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useMemo, useState, useRef } from "react";
3
+ import { WorkflowNode as WorkflowNodeComponent } from "./node/workflow-node";
4
+ import { WorkflowEdge } from "./layout/workflow-edge";
5
+ import { WorkflowToolbar } from "./toolbar/workflow-toolbar";
6
+ import { WorkflowPanel } from "./panel/workflow-panel";
7
+ import { positionNodes, calculateWorkflowDimensions, DEFAULT_LAYOUT } from "./layout/workflow-layout";
8
+ import styles from "./workflow.module.css";
9
+ /**
10
+ * Workflow component for rendering Directed Acyclic Graphs (DAGs)
11
+ */
12
+ export function Workflow({ nodes, edges, layout: layoutConfig, showToolbar = true, showPanel = true, defaultZoom = 1, minZoom = 0.1, maxZoom = 2, onNodeClick, onEdgeClick, onNodeCreate, onNodeConnect, className, ...props }) {
13
+ const [mode, setMode] = useState("pointer");
14
+ const [zoom, setZoom] = useState(defaultZoom);
15
+ const [pan, setPan] = useState({ x: 0, y: 0 });
16
+ const [isDragging, setIsDragging] = useState(false);
17
+ const [dragStart, setDragStart] = useState({ x: 0, y: 0 });
18
+ const [selectedNode, setSelectedNode] = useState(null);
19
+ const containerRef = useRef(null);
20
+ // Merge layout configuration with defaults
21
+ const layout = useMemo(() => ({ ...DEFAULT_LAYOUT, ...layoutConfig }), [layoutConfig]);
22
+ // Calculate node positions
23
+ const positionedNodes = useMemo(() => positionNodes(nodes, edges, layout), [nodes, edges, layout]);
24
+ // Calculate workflow dimensions
25
+ const { width, height } = useMemo(() => calculateWorkflowDimensions(positionedNodes, layout), [positionedNodes, layout]);
26
+ // Create a map for quick node lookup
27
+ const nodeMap = useMemo(() => {
28
+ const map = new Map();
29
+ positionedNodes.forEach((node) => {
30
+ map.set(node.id, node);
31
+ });
32
+ return map;
33
+ }, [positionedNodes]);
34
+ // Check if selected node has output connections
35
+ const selectedNodeHasOutputs = useMemo(() => {
36
+ if (!selectedNode)
37
+ return false;
38
+ return edges.some((edge) => edge.source === selectedNode.id);
39
+ }, [selectedNode, edges]);
40
+ // Handle node click
41
+ const handleNodeClick = (node) => {
42
+ setSelectedNode(node);
43
+ if (onNodeClick) {
44
+ onNodeClick(node);
45
+ }
46
+ };
47
+ // Handle panel close
48
+ const handlePanelClose = () => {
49
+ setSelectedNode(null);
50
+ };
51
+ // Handle create node
52
+ const handleCreateNode = (sourceNodeId) => {
53
+ if (onNodeCreate) {
54
+ onNodeCreate(sourceNodeId);
55
+ }
56
+ };
57
+ // Handle connect node
58
+ const handleConnectNode = (sourceNodeId, targetNodeId) => {
59
+ if (onNodeConnect) {
60
+ onNodeConnect(sourceNodeId, targetNodeId);
61
+ }
62
+ };
63
+ // Handle mouse down for dragging
64
+ const handleMouseDown = (e) => {
65
+ if (mode === "drag") {
66
+ setIsDragging(true);
67
+ setDragStart({ x: e.clientX - pan.x, y: e.clientY - pan.y });
68
+ if (containerRef.current) {
69
+ containerRef.current.style.cursor = "grabbing";
70
+ }
71
+ }
72
+ };
73
+ // Handle mouse move for dragging
74
+ const handleMouseMove = (e) => {
75
+ if (isDragging && mode === "drag") {
76
+ setPan({
77
+ x: e.clientX - dragStart.x,
78
+ y: e.clientY - dragStart.y,
79
+ });
80
+ }
81
+ };
82
+ // Handle mouse up for dragging
83
+ const handleMouseUp = () => {
84
+ if (isDragging) {
85
+ setIsDragging(false);
86
+ if (containerRef.current) {
87
+ containerRef.current.style.cursor = mode === "drag" ? "grab" : "default";
88
+ }
89
+ }
90
+ };
91
+ // Handle mouse leave
92
+ const handleMouseLeave = () => {
93
+ if (isDragging) {
94
+ setIsDragging(false);
95
+ if (containerRef.current) {
96
+ containerRef.current.style.cursor = mode === "drag" ? "grab" : "default";
97
+ }
98
+ }
99
+ };
100
+ // Handle wheel for zooming
101
+ //FIXME: Unable to preventDefault inside passive event listener invocation.
102
+ const handleWheel = (e) => {
103
+ if (e.ctrlKey || e.metaKey) {
104
+ e.preventDefault();
105
+ const delta = e.deltaY > 0 ? -0.1 : 0.1;
106
+ const newZoom = Math.max(minZoom, Math.min(maxZoom, zoom + delta));
107
+ setZoom(Number(newZoom.toFixed(1)));
108
+ }
109
+ };
110
+ // Update cursor based on mode
111
+ const cursor = mode === "drag" ? (isDragging ? "grabbing" : "grab") : "default";
112
+ return (_jsxs("div", { ref: containerRef, className: [styles["rst-workflow"], className].filter(Boolean).join(" "), onMouseDown: handleMouseDown, onMouseMove: handleMouseMove, onMouseUp: handleMouseUp, onMouseLeave: handleMouseLeave, onWheel: handleWheel, style: { cursor }, ...props, children: [showToolbar && _jsx(WorkflowToolbar, { mode: mode, onModeChange: setMode, zoom: zoom, onZoomChange: setZoom, minZoom: minZoom, maxZoom: maxZoom }), _jsxs("div", { className: styles["rst-workflow-viewport"], style: {
113
+ transform: `translate(${pan.x}px, ${pan.y}px) scale(${zoom})`,
114
+ transformOrigin: "0 0",
115
+ }, children: [_jsxs("svg", { className: styles["rst-workflow-svg"], width: width, height: height, xmlns: "http://www.w3.org/2000/svg", children: [_jsx("defs", { children: _jsx("marker", { id: "arrowhead", markerWidth: "10", markerHeight: "10", refX: "9", refY: "3", orient: "auto", markerUnits: "strokeWidth", children: _jsx("path", { d: "M0,0 L0,6 L9,3 z", className: styles["rst-workflow-arrow"] }) }) }), _jsx("g", { className: styles["rst-workflow-edges"], children: edges.map((edge) => {
116
+ const sourceNode = nodeMap.get(edge.source);
117
+ const targetNode = nodeMap.get(edge.target);
118
+ if (!sourceNode || !targetNode) {
119
+ console.warn(`Edge ${edge.id} references non-existent node(s): source=${edge.source}, target=${edge.target}`);
120
+ return null;
121
+ }
122
+ return _jsx(WorkflowEdge, { edge: edge, sourceNode: sourceNode, targetNode: targetNode, layout: layout, onClick: onEdgeClick }, edge.id);
123
+ }) })] }), _jsx("div", { className: styles["rst-workflow-nodes"], style: { width: `${width}px`, height: `${height}px` }, children: positionedNodes.map((node) => (_jsx(WorkflowNodeComponent, { node: node, onClick: handleNodeClick }, node.id))) })] }), showPanel && selectedNode && (_jsx(WorkflowPanel, { selectedNode: selectedNode, allNodes: nodes, hasOutputs: selectedNodeHasOutputs, onCreateNode: handleCreateNode, onConnectNode: handleConnectNode, onClose: handlePanelClose }))] }));
124
+ }
125
+ //# sourceMappingURL=workflow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workflow.js","sourceRoot":"","sources":["../../../src/custom-components/workflow/workflow.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAEzD,OAAO,EAAE,YAAY,IAAI,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7E,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEvD,OAAO,EAAE,aAAa,EAAE,2BAA2B,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AACtG,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAE3C;;GAEG;AACH,MAAM,UAAU,QAAQ,CAAC,EACvB,KAAK,EACL,KAAK,EACL,MAAM,EAAE,YAAY,EACpB,WAAW,GAAG,IAAI,EAClB,SAAS,GAAG,IAAI,EAChB,WAAW,GAAG,CAAC,EACf,OAAO,GAAG,GAAG,EACb,OAAO,GAAG,CAAC,EACX,WAAW,EACX,WAAW,EACX,YAAY,EACZ,aAAa,EACb,SAAS,EACT,GAAG,KAAK,EACM;IACd,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAe,SAAS,CAAC,CAAC;IAC1D,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAC,WAAW,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,WAAW,IAAzG,IAAI,CAAC,EAAE,CAAsG,CAAC;gCAC1I,CAAC,CAAC,GACA,IACA,EAGN,cAAK,SAAS,EAAE,MAAM,CAAC,oBAAoB,CAAC,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,IAAI,EAAE,YAChG,eAAe,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAC7B,KAAC,qBAAqB,IAAe,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,eAAe,IAA7C,IAAI,CAAC,EAAE,CAA0C,CAC9E,CAAC,GACE,IACF,EAGL,SAAS,IAAI,YAAY,IAAI,CAC5B,KAAC,aAAa,IACZ,YAAY,EAAE,YAAY,EAC1B,QAAQ,EAAE,KAAK,EACf,UAAU,EAAE,sBAAsB,EAClC,YAAY,EAAE,gBAAgB,EAC9B,aAAa,EAAE,iBAAiB,EAChC,OAAO,EAAE,gBAAgB,GACzB,CACH,IACG,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1,2 @@
1
+ export const fewOptions = ["Developer", "CTO", "Architect", "Manager", "Intern"];
2
+ //# sourceMappingURL=data-components-asset.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-components-asset.js","sourceRoot":"","sources":["../../../src/data-components/assets/data-components-asset.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,WAAW,EAAE,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,CAAC,CAAC"}
@@ -1,4 +1,4 @@
1
- import { DataStructureComponent, DataStructureColumn } from '../data-structure/data-structure';
1
+ import { DataStructureComponent, DataStructureColumn } from "../data-structure/data-structure";
2
2
  export interface CalendarProps<TData> extends DataStructureComponent<TData> {
3
3
  /** Column id or accessorKey for the date column (must resolve to a Date or ISO string) */
4
4
  dateColumnId: string | keyof TData;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=calendar-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar-types.js","sourceRoot":"","sources":["../../../src/data-components/calendar/calendar-types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=calendar-utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar-utils.js","sourceRoot":"","sources":["../../../src/data-components/calendar/calendar-utils.ts"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
- import { CalendarProps } from './calendar-types';
1
+ import { CalendarProps } from "./calendar-types";
2
2
  export declare function Calendar<TData>({ data, columns, dateColumnId, eventColumnId, initialMonth }: CalendarProps<TData>): import("react/jsx-runtime").JSX.Element;
3
3
  export default Calendar;
4
4
  //# sourceMappingURL=calendar.d.ts.map
@@ -0,0 +1,78 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useCallback, useMemo } from "react";
3
+ import styles from "./calendar.module.css";
4
+ import { generateColumnsFromSchema } from "../data-structure/data-structure-utils";
5
+ function toDate(value) {
6
+ if (!value)
7
+ return null;
8
+ if (value instanceof Date)
9
+ return value;
10
+ if (typeof value === "string" || typeof value === "number") {
11
+ const d = new Date(value);
12
+ return isNaN(d.getTime()) ? null : d;
13
+ }
14
+ return null;
15
+ }
16
+ function startOfMonth(d) {
17
+ return new Date(d.getFullYear(), d.getMonth(), 1);
18
+ }
19
+ function addDays(d, days) {
20
+ const r = new Date(d);
21
+ r.setDate(r.getDate() + days);
22
+ return r;
23
+ }
24
+ export function Calendar({ data, columns, dateColumnId, eventColumnId, initialMonth }) {
25
+ // Generate columns from schema if not provided
26
+ const schema = data[0] ? Object.keys(data[0]) : [];
27
+ const formColumns = columns || generateColumnsFromSchema(schema);
28
+ const monthStart = useMemo(() => startOfMonth(initialMonth || new Date()), [initialMonth]);
29
+ // helpers to resolve column value by column definition
30
+ const resolveValue = useCallback((row, colId) => {
31
+ // try to find a column with id === colId
32
+ const col = formColumns.find((c) => c.id === String(colId) || c.accessorKey === colId);
33
+ if (!col)
34
+ return row[colId];
35
+ if (col.accessorFn)
36
+ return col.accessorFn(row);
37
+ if (col.accessorKey)
38
+ return row[col.accessorKey];
39
+ return row[col.id] ?? row[colId];
40
+ }, [formColumns]);
41
+ // group events by date
42
+ const eventsByDate = useMemo(() => {
43
+ const map = new Map();
44
+ data.forEach((row) => {
45
+ const raw = resolveValue(row, dateColumnId);
46
+ const d = toDate(raw);
47
+ if (!d)
48
+ return;
49
+ const key = d.toISOString().slice(0, 10);
50
+ if (!map.has(key))
51
+ map.set(key, []);
52
+ map.get(key).push(row);
53
+ });
54
+ return map;
55
+ }, [data, resolveValue, dateColumnId]);
56
+ // build calendar grid days (start from sunday)
57
+ const start = useMemo(() => {
58
+ const s = startOfMonth(monthStart);
59
+ const day = s.getDay();
60
+ return addDays(s, -day);
61
+ }, [monthStart]);
62
+ const cells = [];
63
+ for (let i = 0; i < 42; i++) {
64
+ cells.push(addDays(start, i));
65
+ }
66
+ return (_jsxs("div", { className: styles["rst-calendar"], children: [_jsx("div", { style: { marginBottom: 8, fontWeight: 700 }, children: monthStart.toLocaleString(undefined, { month: "long", year: "numeric" }) }), _jsx("div", { className: styles["rst-calendar-grid"], children: cells.map((d) => {
67
+ const key = d.toISOString().slice(0, 10);
68
+ const events = eventsByDate.get(key) ?? [];
69
+ const otherMonth = d.getMonth() !== monthStart.getMonth();
70
+ return (_jsxs("div", { className: styles["rst-calendar-cell"] + (otherMonth ? " " + styles["rst-calendar-cell--otherMonth"] : ""), children: [_jsx("div", { className: styles["rst-calendar-date"], children: d.getDate() }), _jsx("div", { children: events.map((row, i) => {
71
+ const titleRaw = resolveValue(row, eventColumnId);
72
+ const title = typeof titleRaw === "string" || typeof titleRaw === "number" ? String(titleRaw) : JSON.stringify(titleRaw);
73
+ return (_jsx("div", { className: styles["rst-calendar-event"], title: title, children: title }, i));
74
+ }) })] }, key));
75
+ }) })] }));
76
+ }
77
+ export default Calendar;
78
+ //# sourceMappingURL=calendar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar.js","sourceRoot":"","sources":["../../../src/data-components/calendar/calendar.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEpD,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAC3C,OAAO,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AAGnF,SAAS,MAAM,CAAC,KAAc;IAC5B,IAAI,CAAC,KAAK;QAAE,OAAO,IAAI,CAAC;IACxB,IAAI,KAAK,YAAY,IAAI;QAAE,OAAO,KAAK,CAAC;IACxC,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC3D,MAAM,CAAC,GAAG,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC;QAC1B,OAAO,KAAK,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IACvC,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED,SAAS,YAAY,CAAC,CAAO;IAC3B,OAAO,IAAI,IAAI,CAAC,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC;AACpD,CAAC;AAED,SAAS,OAAO,CAAC,CAAO,EAAE,IAAY;IACpC,MAAM,CAAC,GAAG,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;IACtB,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,CAAC;IAC9B,OAAO,CAAC,CAAC;AACX,CAAC;AAED,MAAM,UAAU,QAAQ,CAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,YAAY,EAAwB;IAChH,+CAA+C;IAC/C,MAAM,MAAM,GAAG,IAAI,CAAC,CAAC,CAA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from '../data-structure/data-structure';
1
+ import { DataStructureColumn } from "../data-structure/data-structure";
2
2
  /**
3
3
  * Renders the appropriate editor component based on value type and column configuration
4
4
  * @param value - Current draft value