@restio/ui 0.0.9-SNAPSHOT → 0.0.11-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.
- package/dist/assets/svg/alert.svg +1 -0
- package/dist/assets/svg/arrow-down-up.svg +1 -0
- package/dist/assets/svg/arrow-down.svg +1 -0
- package/dist/assets/svg/arrow-left.svg +1 -0
- package/dist/assets/svg/arrow-right.svg +1 -0
- package/dist/assets/svg/arrow-up.svg +1 -0
- package/dist/assets/svg/arrow_drop_down.svg +1 -0
- package/dist/assets/svg/calendar.svg +1 -0
- package/dist/assets/svg/check.svg +1 -0
- package/dist/assets/svg/chevron-down.svg +1 -0
- package/dist/assets/svg/chevron-right.svg +1 -0
- package/dist/assets/svg/clipboard.svg +1 -0
- package/dist/assets/svg/close.svg +1 -0
- package/dist/assets/svg/copy.svg +1 -0
- package/dist/assets/svg/cursor.svg +1 -0
- package/dist/assets/svg/cut.svg +1 -0
- package/dist/assets/svg/delete.svg +1 -0
- package/dist/assets/svg/discussion.svg +1 -0
- package/dist/assets/svg/dock-left-arrow.svg +1 -0
- package/dist/assets/svg/dock-right-arrow.svg +1 -0
- package/dist/assets/svg/document-outline.svg +1 -0
- package/dist/assets/svg/download.svg +1 -0
- package/dist/assets/svg/drag.svg +1 -0
- package/dist/assets/svg/error.svg +1 -0
- package/dist/assets/svg/expand-right.svg +1 -0
- package/dist/assets/svg/expand.svg +1 -0
- package/dist/assets/svg/eye.svg +1 -0
- package/dist/assets/svg/fullscreen.svg +1 -0
- package/dist/assets/svg/gear.svg +1 -0
- package/dist/assets/svg/groups.svg +1 -0
- package/dist/assets/svg/help.svg +1 -0
- package/dist/assets/svg/info.svg +1 -0
- package/dist/assets/svg/logo.svg +9 -0
- package/dist/assets/svg/menu.svg +1 -0
- package/dist/assets/svg/message-bubble-question-mark.svg +1 -0
- package/dist/assets/svg/pencil.svg +1 -0
- package/dist/assets/svg/plus.svg +1 -0
- package/dist/assets/svg/restio.svg +5 -0
- package/dist/assets/svg/search.svg +1 -0
- package/dist/assets/svg/send.svg +1 -0
- package/dist/assets/svg/shrink-right.svg +1 -0
- package/dist/assets/svg/sidebar.svg +1 -0
- package/dist/assets/svg/terminal.svg +1 -0
- package/dist/assets/svg/timer.svg +1 -0
- package/dist/assets/svg/warning.svg +1 -0
- package/dist/assets/svg/zoom-minus.svg +1 -0
- package/dist/assets/svg/zoom-plus.svg +1 -0
- package/dist/components/anchored-overlay/anchored-overlay-types.d.ts +1 -1
- package/dist/components/anchored-overlay/anchored-overlay.d.ts +2 -2
- package/dist/components/banner/banner-types.d.ts +1 -1
- package/dist/components/banner/banner.d.ts +2 -2
- package/dist/components/button/button-types.d.ts +1 -1
- package/dist/components/button/button.d.ts +2 -2
- package/dist/components/button-group/button-group.d.ts +2 -2
- package/dist/components/checkbox/checkbox-types.d.ts +1 -1
- package/dist/components/checkbox/checkbox.d.ts +2 -2
- package/dist/components/code-block/code-block.d.ts +1 -1
- package/dist/components/file-upload/file-upload-types.d.ts +1 -1
- package/dist/components/file-upload/file-upload.d.ts +2 -2
- package/dist/components/graph/graph.d.ts +1 -1
- package/dist/components/input/date/date-calendar.d.ts +2 -2
- package/dist/components/input/date/date-input-field.d.ts +2 -2
- package/dist/components/input/date/date-picker.d.ts +2 -2
- package/dist/components/input/date/date-range-input-field.d.ts +2 -2
- package/dist/components/input/date/date-range-picker.d.ts +2 -2
- package/dist/components/input/date/date-shortcuts.d.ts +2 -2
- package/dist/components/input/date/date-types.d.ts +1 -1
- package/dist/components/input/date/date-utils.d.ts +1 -1
- package/dist/components/input/input.d.ts +2 -2
- package/dist/components/input/number/input-number-types.d.ts +1 -1
- package/dist/components/input/number/input-number.d.ts +2 -2
- package/dist/components/input/text/input-text-types.d.ts +1 -1
- package/dist/components/input/text/input-text.d.ts +2 -2
- package/dist/components/kbd/kbd.d.ts +2 -2
- package/dist/components/kbd-group/kbd-group.d.ts +2 -2
- package/dist/components/list/list-types.d.ts +1 -1
- package/dist/components/list/list-utils.d.ts +4 -4
- package/dist/components/list/list.d.ts +1 -1
- package/dist/components/menu/anchored-navigation-menu.d.ts +3 -3
- package/dist/components/menu/menu-assets.d.ts +1 -1
- package/dist/components/menu/menu-types.d.ts +2 -2
- package/dist/components/menu/menu.d.ts +2 -2
- package/dist/components/otp/otp.d.ts +2 -3
- package/dist/components/select/select-types.d.ts +1 -1
- package/dist/components/select/select.d.ts +2 -2
- package/dist/components/tag/tag-types.d.ts +1 -1
- package/dist/components/tag/tag.d.ts +2 -2
- package/dist/components/textarea/textarea-types.d.ts +2 -2
- package/dist/components/textarea/textarea.d.ts +2 -2
- package/dist/components/toast-group/toast-group-types.d.ts +1 -1
- package/dist/components/toast-group/toast-group.d.ts +2 -2
- package/dist/components/typography/typography-types.d.ts +12 -3
- package/dist/components/typography/typography-types.d.ts.map +1 -1
- package/dist/components/typography/typography.d.ts +2 -2
- package/dist/custom-components/chat/chat-types.d.ts +1 -1
- package/dist/custom-components/chat/chat.d.ts +1 -1
- package/dist/custom-components/chat/chat.d.ts.map +1 -1
- package/dist/custom-components/layout/layout.d.ts +2 -2
- package/dist/custom-components/layout-builder/layout-builder-validation.d.ts +2 -8
- package/dist/custom-components/layout-builder/layout-builder.d.ts +2 -2
- package/dist/custom-components/layout-builder/layout-json-editor-types.d.ts +1 -1
- package/dist/custom-components/layout-builder/layout-json-editor.d.ts +2 -2
- package/dist/custom-components/markdown/components/img/zoomable-image.d.ts +5 -0
- package/dist/custom-components/markdown/components/img/zoomable-image.d.ts.map +1 -0
- package/dist/custom-components/markdown/markdown-types.d.ts +6 -3
- package/dist/custom-components/markdown/markdown-types.d.ts.map +1 -1
- package/dist/custom-components/markdown/markdown.d.ts +2 -2
- package/dist/custom-components/markdown/markdown.d.ts.map +1 -1
- package/dist/custom-components/mindmap/index.d.ts +2 -2
- package/dist/custom-components/mindmap/mind-tree-types.d.ts +1 -1
- package/dist/custom-components/mindmap/mind-tree.d.ts +1 -1
- package/dist/custom-components/mindmap/reingold-tilford-algorithm.d.ts +1 -1
- package/dist/custom-components/shortcut-tooltip/shortcut-tooltip.d.ts +2 -2
- package/dist/custom-components/timeline/skeleton/timeline-skeleton.d.ts +1 -1
- package/dist/custom-components/timeline/timeline.d.ts +2 -2
- package/dist/custom-components/workflow/layout/workflow-edge.d.ts +1 -1
- package/dist/custom-components/workflow/layout/workflow-layout-types.d.ts +1 -1
- package/dist/custom-components/workflow/layout/workflow-layout.d.ts +2 -2
- package/dist/custom-components/workflow/node/workflow-node.d.ts +1 -1
- package/dist/custom-components/workflow/panel/workflow-panel-types.d.ts +1 -1
- package/dist/custom-components/workflow/panel/workflow-panel.d.ts +1 -1
- package/dist/custom-components/workflow/toolbar/workflow-toolbar.d.ts +1 -1
- package/dist/custom-components/workflow/utils/workflow-validation.d.ts +2 -2
- package/dist/custom-components/workflow/workflow-types.d.ts +3 -3
- package/dist/custom-components/workflow/workflow.d.ts +1 -1
- package/dist/data-components/calendar/calendar-types.d.ts +20 -1
- package/dist/data-components/calendar/calendar-types.d.ts.map +1 -1
- package/dist/data-components/calendar/calendar-utils.d.ts +5 -0
- package/dist/data-components/calendar/calendar-utils.d.ts.map +1 -1
- package/dist/data-components/calendar/calendar.d.ts +2 -2
- package/dist/data-components/calendar/calendar.d.ts.map +1 -1
- package/dist/data-components/cell/cell-switch.d.ts +1 -1
- package/dist/data-components/cell/cell-types.d.ts +2 -2
- package/dist/data-components/cell/cell.d.ts +1 -1
- package/dist/data-components/chart/chart-types.d.ts +1 -1
- package/dist/data-components/chart/chart.d.ts +1 -1
- package/dist/data-components/chart/sankey/sankeyChart.d.ts +1 -1
- package/dist/data-components/data-structure/data-structure-utils.d.ts +1 -1
- package/dist/data-components/data-structure/data-structure.d.ts +1 -1
- package/dist/data-components/data-structure/stories-assets.d.ts +1 -5
- package/dist/data-components/filter/filter-engine.d.ts +15 -0
- package/dist/data-components/filter/filter-engine.d.ts.map +1 -0
- package/dist/data-components/filter/filter-types.d.ts +41 -0
- package/dist/data-components/filter/filter-types.d.ts.map +1 -0
- package/dist/data-components/filter/filter-utils.d.ts +26 -0
- package/dist/data-components/filter/filter-utils.d.ts.map +1 -0
- package/dist/data-components/form/form-types.d.ts +2 -2
- package/dist/data-components/form/form.d.ts +1 -1
- package/dist/data-components/gantt/ai-assistant/gantt-ai-executor.d.ts +9 -0
- package/dist/data-components/gantt/ai-assistant/gantt-ai-executor.d.ts.map +1 -0
- package/dist/data-components/gantt/ai-assistant/gantt-ai-panel.d.ts +12 -0
- package/dist/data-components/gantt/ai-assistant/gantt-ai-panel.d.ts.map +1 -0
- package/dist/data-components/gantt/ai-assistant/gantt-ai-schema.d.ts +7 -0
- package/dist/data-components/gantt/ai-assistant/gantt-ai-schema.d.ts.map +1 -0
- package/dist/data-components/gantt/ai-assistant/gantt-ai-tools.d.ts +3 -0
- package/dist/data-components/gantt/ai-assistant/gantt-ai-tools.d.ts.map +1 -0
- package/dist/data-components/gantt/arrows/gantt-arrows.d.ts +21 -0
- package/dist/data-components/gantt/arrows/gantt-arrows.d.ts.map +1 -0
- package/dist/data-components/gantt/gantt-context.d.ts +13 -0
- package/dist/data-components/gantt/gantt-context.d.ts.map +1 -0
- package/dist/data-components/gantt/gantt-types.d.ts +101 -0
- package/dist/data-components/gantt/gantt-types.d.ts.map +1 -0
- package/dist/data-components/gantt/gantt-utils.d.ts +61 -0
- package/dist/data-components/gantt/gantt-utils.d.ts.map +1 -0
- package/dist/data-components/gantt/gantt.d.ts +4 -0
- package/dist/data-components/gantt/gantt.d.ts.map +1 -0
- package/dist/data-components/gantt/hooks/useGanttDrag.d.ts +15 -0
- package/dist/data-components/gantt/hooks/useGanttDrag.d.ts.map +1 -0
- package/dist/data-components/gantt/hooks/useGanttTimeline.d.ts +18 -0
- package/dist/data-components/gantt/hooks/useGanttTimeline.d.ts.map +1 -0
- package/dist/data-components/gantt/sidebar/gantt-sidebar-types.d.ts +10 -0
- package/dist/data-components/gantt/sidebar/gantt-sidebar-types.d.ts.map +1 -0
- package/dist/data-components/gantt/sidebar/gantt-sidebar.d.ts +3 -0
- package/dist/data-components/gantt/sidebar/gantt-sidebar.d.ts.map +1 -0
- package/dist/data-components/gantt/stories/gantt-stories-utils.d.ts +13 -0
- package/dist/data-components/gantt/stories/gantt-stories-utils.d.ts.map +1 -0
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-executor.d.ts +6 -2
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-executor.d.ts.map +1 -1
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-mock.d.ts +1 -1
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-panel-types.d.ts +6 -1
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-panel-types.d.ts.map +1 -1
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-panel.d.ts +2 -2
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-panel.d.ts.map +1 -1
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-schema.d.ts +2 -2
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-tools.d.ts +3 -1
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-tools.d.ts.map +1 -1
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-types.d.ts +37 -1
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-types.d.ts.map +1 -1
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-validator.d.ts +2 -2
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-validator.d.ts.map +1 -1
- package/dist/data-components/table-grid/external-functionalities/import/csv/createDataStructureFromFile.d.ts +1 -1
- package/dist/data-components/table-grid/external-functionalities/import/csv/index.d.ts +6 -6
- package/dist/data-components/table-grid/external-functionalities/import/csv/inferColumns.d.ts +1 -1
- package/dist/data-components/table-grid/footer/table-grid-footer-types.d.ts +1 -1
- package/dist/data-components/table-grid/footer/table-grid-footer.d.ts +1 -1
- package/dist/data-components/table-grid/formula/formula-builder-types.d.ts +1 -1
- package/dist/data-components/table-grid/formula/formula-builder.d.ts +1 -1
- package/dist/data-components/table-grid/grouping/grouping.d.ts +15 -0
- package/dist/data-components/table-grid/grouping/grouping.d.ts.map +1 -0
- package/dist/data-components/table-grid/header/grouping/group-panel-types.d.ts +1 -1
- package/dist/data-components/table-grid/header/grouping/group-panel.d.ts +1 -1
- package/dist/data-components/table-grid/header/table-grid-column-menu.d.ts +1 -1
- package/dist/data-components/table-grid/header/table-grid-column-menu.d.ts.map +1 -1
- package/dist/data-components/table-grid/header/table-grid-header-types.d.ts +1 -1
- package/dist/data-components/table-grid/header/table-grid-header.d.ts +1 -1
- package/dist/data-components/table-grid/hooks/use-table.d.ts +1 -1
- package/dist/data-components/table-grid/pinning/pinning-utils.d.ts +1 -1
- package/dist/data-components/table-grid/pivot/pivot-config-panel-types.d.ts +2 -2
- package/dist/data-components/table-grid/pivot/pivot-config-panel.d.ts +1 -1
- package/dist/data-components/table-grid/pivot/pivot-config-panel.d.ts.map +1 -1
- package/dist/data-components/table-grid/pivot/pivot-table.d.ts +1 -1
- package/dist/data-components/table-grid/pivot/pivot-types.d.ts +1 -1
- package/dist/data-components/table-grid/pivot/pivot-utils.d.ts +2 -2
- package/dist/data-components/table-grid/row/table-grid-row-types.d.ts +1 -1
- package/dist/data-components/table-grid/row/table-grid-row-utils.d.ts +2 -2
- package/dist/data-components/table-grid/row/table-grid-row.d.ts +1 -1
- package/dist/data-components/table-grid/row/table-grid-row.d.ts.map +1 -1
- package/dist/data-components/table-grid/selection/selection-utils.d.ts +6 -6
- package/dist/data-components/table-grid/selection/selection-utils.d.ts.map +1 -1
- package/dist/data-components/table-grid/sidebar/table-grid-sidebar-types.d.ts +5 -1
- package/dist/data-components/table-grid/sidebar/table-grid-sidebar-types.d.ts.map +1 -1
- package/dist/data-components/table-grid/sidebar/table-grid-sidebar.d.ts +2 -2
- package/dist/data-components/table-grid/sidebar/table-grid-sidebar.d.ts.map +1 -1
- package/dist/data-components/table-grid/sorting/sorting.d.ts +4 -6
- package/dist/data-components/table-grid/sorting/sorting.d.ts.map +1 -1
- package/dist/data-components/table-grid/table-context/table-context-types.d.ts +2 -2
- package/dist/data-components/table-grid/table-context/table-context.d.ts +2 -2
- package/dist/data-components/table-grid/table-grid-context.d.ts +2 -2
- package/dist/data-components/table-grid/table-grid-context.d.ts.map +1 -1
- package/dist/data-components/table-grid/table-grid-panels.d.ts +22 -0
- package/dist/data-components/table-grid/table-grid-panels.d.ts.map +1 -0
- package/dist/data-components/table-grid/table-grid-types.d.ts +39 -9
- package/dist/data-components/table-grid/table-grid-types.d.ts.map +1 -1
- package/dist/data-components/table-grid/table-grid.d.ts +9 -2
- package/dist/data-components/table-grid/table-grid.d.ts.map +1 -1
- package/dist/data-components/table-grid/table-utils.d.ts +15 -3
- package/dist/data-components/table-grid/table-utils.d.ts.map +1 -1
- package/dist/experimental-components/contribution-heatmap/contribution-heatmap-utils.d.ts +1 -1
- package/dist/experimental-components/contribution-heatmap/contribution-heatmap.d.ts +2 -2
- package/dist/experimental-components/filter-builder/filter-builder-types.d.ts +11 -23
- package/dist/experimental-components/filter-builder/filter-builder-types.d.ts.map +1 -1
- package/dist/experimental-components/filter-builder/filter-builder.d.ts +5 -7
- package/dist/experimental-components/filter-builder/filter-builder.d.ts.map +1 -1
- package/dist/framework-components/appbar/appbar-types.d.ts +1 -1
- package/dist/framework-components/appbar/appbar.d.ts +2 -2
- package/dist/framework-components/breadcrumbs/breadcrumbs.d.ts +2 -2
- package/dist/framework-components/drawer/drawer-types.d.ts +2 -2
- package/dist/framework-components/drawer/drawer.d.ts +2 -2
- package/dist/framework-components/scaffold/scaffold-context.d.ts +2 -2
- package/dist/framework-components/scaffold/scaffold-types.d.ts +1 -1
- package/dist/framework-components/scaffold/scaffold.d.ts +2 -2
- package/dist/framework-components/sidebar/sidebar-context.d.ts +2 -2
- package/dist/framework-components/sidebar/sidebar-logo/sidebar-logo.d.ts +1 -1
- package/dist/framework-components/sidebar/sidebar-types.d.ts +1 -1
- package/dist/framework-components/sidebar/sidebar.d.ts +3 -3
- package/dist/hooks/useDynamicVirtualList.d.ts.map +1 -1
- package/dist/hooks/useFixedVirtualList.d.ts +1 -1
- package/dist/hooks/useShortcut.d.ts +1 -1
- package/dist/hooks/useTour/useTour-context-internal.d.ts +2 -2
- package/dist/hooks/useTour/useTour-context.d.ts +3 -3
- package/dist/hooks/useTour/useTour-types.d.ts +1 -1
- package/dist/hooks/useTour/useTour.d.ts +1 -1
- package/dist/hooks/useVirtualListScroll.d.ts +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/providers/ai-assistant/ai-assistant-prompts.d.ts +1 -1
- package/dist/providers/ai-assistant/ai-assistant-types.d.ts +2 -0
- package/dist/providers/ai-assistant/ai-assistant-types.d.ts.map +1 -1
- package/dist/providers/ai-assistant/ai-assistant-validator.d.ts +1 -1
- package/dist/providers/ai-assistant/ai-chat-panel-types.d.ts +1 -1
- package/dist/providers/ai-assistant/ai-chat-panel.d.ts +1 -1
- package/dist/providers/ai-assistant/ai-chat-panel.d.ts.map +1 -1
- package/dist/providers/shortcut/shortcut-context.d.ts +2 -2
- package/dist/providers/shortcut/shortcut-provider.d.ts +1 -1
- package/dist/providers/theme/themeProvider.d.ts +2 -2
- package/dist/restio-ui.cjs.js +137 -0
- package/dist/restio-ui.es.js +36326 -0
- package/dist/ui.css +2 -0
- package/dist/utility-components/avatar/avatar-types.d.ts +1 -1
- package/dist/utility-components/avatar/avatar.d.ts +2 -2
- package/dist/utility-components/chip/chip-types.d.ts +2 -2
- package/dist/utility-components/chip/chip.d.ts +2 -2
- package/dist/utility-components/helper-text/helper-text-types.d.ts +1 -1
- package/dist/utility-components/helper-text/helper-text.d.ts +1 -1
- package/dist/utility-components/icon/icon-assets.d.ts.map +1 -1
- package/dist/utility-components/icon/icon-types.d.ts +1 -1
- package/dist/utility-components/icon/icon.d.ts +2 -2
- package/dist/utility-components/label/label.d.ts +1 -1
- package/dist/utility-components/overlay-panel/overlay-panel.d.ts +2 -2
- package/dist/utility-components/overlay-panel/use-focus-trap.d.ts +1 -1
- package/dist/utility-components/skeleton/skeleton.d.ts +2 -2
- package/dist/utility-components/stack/stack.d.ts +2 -2
- package/dist/utility-components/toast/toast-types.d.ts +1 -1
- package/dist/utility-components/toast/toast.d.ts +2 -2
- package/dist/utils/general.d.ts +1 -1
- package/package.json +3 -3
- package/dist/components/anchored-overlay/anchored-overlay-types.js +0 -2
- package/dist/components/anchored-overlay/anchored-overlay-types.js.map +0 -1
- package/dist/components/anchored-overlay/anchored-overlay.js +0 -67
- package/dist/components/anchored-overlay/anchored-overlay.js.map +0 -1
- package/dist/components/banner/banner-types.js +0 -2
- package/dist/components/banner/banner-types.js.map +0 -1
- package/dist/components/banner/banner.js +0 -29
- package/dist/components/banner/banner.js.map +0 -1
- package/dist/components/button/button-types.js +0 -2
- package/dist/components/button/button-types.js.map +0 -1
- package/dist/components/button/button.js +0 -20
- package/dist/components/button/button.js.map +0 -1
- package/dist/components/button-group/button-group-types.js +0 -2
- package/dist/components/button-group/button-group-types.js.map +0 -1
- package/dist/components/button-group/button-group.js +0 -16
- package/dist/components/button-group/button-group.js.map +0 -1
- package/dist/components/checkbox/checkbox-types.js +0 -2
- package/dist/components/checkbox/checkbox-types.js.map +0 -1
- package/dist/components/checkbox/checkbox.js +0 -19
- package/dist/components/checkbox/checkbox.js.map +0 -1
- package/dist/components/code-block/code-block.js +0 -9
- package/dist/components/code-block/code-block.js.map +0 -1
- package/dist/components/file-upload/file-upload-types.js +0 -2
- package/dist/components/file-upload/file-upload-types.js.map +0 -1
- package/dist/components/file-upload/file-upload-utils.js +0 -10
- package/dist/components/file-upload/file-upload-utils.js.map +0 -1
- package/dist/components/file-upload/file-upload.js +0 -106
- package/dist/components/file-upload/file-upload.js.map +0 -1
- package/dist/components/graph/graph-types.js +0 -2
- package/dist/components/graph/graph-types.js.map +0 -1
- package/dist/components/graph/graph.js +0 -21
- package/dist/components/graph/graph.js.map +0 -1
- package/dist/components/input/date/date-calendar.js +0 -114
- package/dist/components/input/date/date-calendar.js.map +0 -1
- package/dist/components/input/date/date-input-field.js +0 -61
- package/dist/components/input/date/date-input-field.js.map +0 -1
- package/dist/components/input/date/date-picker.js +0 -35
- package/dist/components/input/date/date-picker.js.map +0 -1
- package/dist/components/input/date/date-range-input-field.js +0 -90
- package/dist/components/input/date/date-range-input-field.js.map +0 -1
- package/dist/components/input/date/date-range-picker.js +0 -74
- package/dist/components/input/date/date-range-picker.js.map +0 -1
- package/dist/components/input/date/date-shortcuts.js +0 -47
- package/dist/components/input/date/date-shortcuts.js.map +0 -1
- package/dist/components/input/date/date-types.js +0 -2
- package/dist/components/input/date/date-types.js.map +0 -1
- package/dist/components/input/date/date-utils.js +0 -203
- package/dist/components/input/date/date-utils.js.map +0 -1
- package/dist/components/input/input-types.js +0 -2
- package/dist/components/input/input-types.js.map +0 -1
- package/dist/components/input/input.js +0 -14
- package/dist/components/input/input.js.map +0 -1
- package/dist/components/input/number/input-number-types.js +0 -2
- package/dist/components/input/number/input-number-types.js.map +0 -1
- package/dist/components/input/number/input-number.js +0 -11
- package/dist/components/input/number/input-number.js.map +0 -1
- package/dist/components/input/text/input-text-types.js +0 -2
- package/dist/components/input/text/input-text-types.js.map +0 -1
- package/dist/components/input/text/input-text.js +0 -8
- package/dist/components/input/text/input-text.js.map +0 -1
- package/dist/components/kbd/kbd-types.js +0 -2
- package/dist/components/kbd/kbd-types.js.map +0 -1
- package/dist/components/kbd/kbd.js +0 -12
- package/dist/components/kbd/kbd.js.map +0 -1
- package/dist/components/kbd-group/kbd-group-types.js +0 -2
- package/dist/components/kbd-group/kbd-group-types.js.map +0 -1
- package/dist/components/kbd-group/kbd-group.js +0 -15
- package/dist/components/kbd-group/kbd-group.js.map +0 -1
- package/dist/components/list/list-types.js +0 -2
- package/dist/components/list/list-types.js.map +0 -1
- package/dist/components/list/list-utils.js +0 -73
- package/dist/components/list/list-utils.js.map +0 -1
- package/dist/components/list/list.js +0 -68
- package/dist/components/list/list.js.map +0 -1
- package/dist/components/menu/anchored-navigation-menu.js +0 -48
- package/dist/components/menu/anchored-navigation-menu.js.map +0 -1
- package/dist/components/menu/menu-assets.js +0 -35
- package/dist/components/menu/menu-assets.js.map +0 -1
- package/dist/components/menu/menu-types.js +0 -2
- package/dist/components/menu/menu-types.js.map +0 -1
- package/dist/components/menu/menu.js +0 -86
- package/dist/components/menu/menu.js.map +0 -1
- package/dist/components/otp/otp-types.js +0 -2
- package/dist/components/otp/otp-types.js.map +0 -1
- package/dist/components/otp/otp-utils.js +0 -22
- package/dist/components/otp/otp-utils.js.map +0 -1
- package/dist/components/otp/otp.js +0 -85
- package/dist/components/otp/otp.js.map +0 -1
- package/dist/components/select/select-types.js +0 -2
- package/dist/components/select/select-types.js.map +0 -1
- package/dist/components/select/select.js +0 -52
- package/dist/components/select/select.js.map +0 -1
- package/dist/components/tag/tag-types.js +0 -2
- package/dist/components/tag/tag-types.js.map +0 -1
- package/dist/components/tag/tag.js +0 -16
- package/dist/components/tag/tag.js.map +0 -1
- package/dist/components/textarea/textarea-types.js +0 -2
- package/dist/components/textarea/textarea-types.js.map +0 -1
- package/dist/components/textarea/textarea.js +0 -19
- package/dist/components/textarea/textarea.js.map +0 -1
- package/dist/components/toast-group/toast-group-types.js +0 -2
- package/dist/components/toast-group/toast-group-types.js.map +0 -1
- package/dist/components/toast-group/toast-group.js +0 -25
- package/dist/components/toast-group/toast-group.js.map +0 -1
- package/dist/components/typography/typography-types.js +0 -11
- package/dist/components/typography/typography-types.js.map +0 -1
- package/dist/components/typography/typography.js +0 -17
- package/dist/components/typography/typography.js.map +0 -1
- package/dist/custom-components/chat/chat-types.js +0 -2
- package/dist/custom-components/chat/chat-types.js.map +0 -1
- package/dist/custom-components/chat/chat.js +0 -14
- package/dist/custom-components/chat/chat.js.map +0 -1
- package/dist/custom-components/layout/layout-types.js +0 -2
- package/dist/custom-components/layout/layout-types.js.map +0 -1
- package/dist/custom-components/layout/layout.js +0 -46
- package/dist/custom-components/layout/layout.js.map +0 -1
- package/dist/custom-components/layout-builder/layout-builder-constants.js +0 -25
- package/dist/custom-components/layout-builder/layout-builder-constants.js.map +0 -1
- package/dist/custom-components/layout-builder/layout-builder-schema.js +0 -169
- package/dist/custom-components/layout-builder/layout-builder-schema.js.map +0 -1
- package/dist/custom-components/layout-builder/layout-builder-templates.js +0 -206
- package/dist/custom-components/layout-builder/layout-builder-templates.js.map +0 -1
- package/dist/custom-components/layout-builder/layout-builder-types.js +0 -2
- package/dist/custom-components/layout-builder/layout-builder-types.js.map +0 -1
- package/dist/custom-components/layout-builder/layout-builder-utils.js +0 -251
- package/dist/custom-components/layout-builder/layout-builder-utils.js.map +0 -1
- package/dist/custom-components/layout-builder/layout-builder-validation.js +0 -445
- package/dist/custom-components/layout-builder/layout-builder-validation.js.map +0 -1
- package/dist/custom-components/layout-builder/layout-builder.js +0 -908
- package/dist/custom-components/layout-builder/layout-builder.js.map +0 -1
- package/dist/custom-components/layout-builder/layout-json-editor-types.js +0 -2
- package/dist/custom-components/layout-builder/layout-json-editor-types.js.map +0 -1
- package/dist/custom-components/layout-builder/layout-json-editor.js +0 -103
- package/dist/custom-components/layout-builder/layout-json-editor.js.map +0 -1
- package/dist/custom-components/layout-builder/stories/hooks/useHistory.js +0 -100
- package/dist/custom-components/layout-builder/stories/hooks/useHistory.js.map +0 -1
- package/dist/custom-components/markdown/markdown-types.js +0 -2
- package/dist/custom-components/markdown/markdown-types.js.map +0 -1
- package/dist/custom-components/markdown/markdown-utils.js +0 -10
- package/dist/custom-components/markdown/markdown-utils.js.map +0 -1
- package/dist/custom-components/markdown/markdown.js +0 -39
- package/dist/custom-components/markdown/markdown.js.map +0 -1
- package/dist/custom-components/mindmap/index.js +0 -2
- package/dist/custom-components/mindmap/index.js.map +0 -1
- package/dist/custom-components/mindmap/mind-tree-types.js +0 -2
- package/dist/custom-components/mindmap/mind-tree-types.js.map +0 -1
- package/dist/custom-components/mindmap/mind-tree.js +0 -201
- package/dist/custom-components/mindmap/mind-tree.js.map +0 -1
- package/dist/custom-components/mindmap/reingold-tilford-algorithm.js +0 -277
- package/dist/custom-components/mindmap/reingold-tilford-algorithm.js.map +0 -1
- package/dist/custom-components/shortcut-tooltip/shortcut-tooltip-types.js +0 -2
- package/dist/custom-components/shortcut-tooltip/shortcut-tooltip-types.js.map +0 -1
- package/dist/custom-components/shortcut-tooltip/shortcut-tooltip.js +0 -32
- package/dist/custom-components/shortcut-tooltip/shortcut-tooltip.js.map +0 -1
- package/dist/custom-components/timeline/skeleton/timeline-skeleton.js +0 -19
- package/dist/custom-components/timeline/skeleton/timeline-skeleton.js.map +0 -1
- package/dist/custom-components/timeline/timeline-types.js +0 -2
- package/dist/custom-components/timeline/timeline-types.js.map +0 -1
- package/dist/custom-components/timeline/timeline.js +0 -64
- package/dist/custom-components/timeline/timeline.js.map +0 -1
- package/dist/custom-components/workflow/layout/workflow-edge.js +0 -31
- package/dist/custom-components/workflow/layout/workflow-edge.js.map +0 -1
- package/dist/custom-components/workflow/layout/workflow-layout-types.js +0 -2
- package/dist/custom-components/workflow/layout/workflow-layout-types.js.map +0 -1
- package/dist/custom-components/workflow/layout/workflow-layout.js +0 -284
- package/dist/custom-components/workflow/layout/workflow-layout.js.map +0 -1
- package/dist/custom-components/workflow/node/workflow-node.js +0 -22
- package/dist/custom-components/workflow/node/workflow-node.js.map +0 -1
- package/dist/custom-components/workflow/panel/workflow-panel-types.js +0 -2
- package/dist/custom-components/workflow/panel/workflow-panel-types.js.map +0 -1
- package/dist/custom-components/workflow/panel/workflow-panel.js +0 -53
- package/dist/custom-components/workflow/panel/workflow-panel.js.map +0 -1
- package/dist/custom-components/workflow/toolbar/workflow-toolbar-types.js +0 -2
- package/dist/custom-components/workflow/toolbar/workflow-toolbar-types.js.map +0 -1
- package/dist/custom-components/workflow/toolbar/workflow-toolbar.js +0 -19
- package/dist/custom-components/workflow/toolbar/workflow-toolbar.js.map +0 -1
- package/dist/custom-components/workflow/utils/workflow-validation.js +0 -257
- package/dist/custom-components/workflow/utils/workflow-validation.js.map +0 -1
- package/dist/custom-components/workflow/workflow-types.js +0 -2
- package/dist/custom-components/workflow/workflow-types.js.map +0 -1
- package/dist/custom-components/workflow/workflow.js +0 -125
- package/dist/custom-components/workflow/workflow.js.map +0 -1
- package/dist/data-components/assets/data-components-asset.js +0 -2
- package/dist/data-components/assets/data-components-asset.js.map +0 -1
- package/dist/data-components/calendar/calendar-types.js +0 -2
- package/dist/data-components/calendar/calendar-types.js.map +0 -1
- package/dist/data-components/calendar/calendar-utils.js +0 -2
- package/dist/data-components/calendar/calendar-utils.js.map +0 -1
- package/dist/data-components/calendar/calendar.js +0 -78
- package/dist/data-components/calendar/calendar.js.map +0 -1
- package/dist/data-components/cell/cell-switch.js +0 -68
- package/dist/data-components/cell/cell-switch.js.map +0 -1
- package/dist/data-components/cell/cell-types.js +0 -2
- package/dist/data-components/cell/cell-types.js.map +0 -1
- package/dist/data-components/cell/cell-utils.js +0 -60
- package/dist/data-components/cell/cell-utils.js.map +0 -1
- package/dist/data-components/cell/cell.js +0 -63
- package/dist/data-components/cell/cell.js.map +0 -1
- package/dist/data-components/chart/chart-types.js +0 -2
- package/dist/data-components/chart/chart-types.js.map +0 -1
- package/dist/data-components/chart/chart.js +0 -121
- package/dist/data-components/chart/chart.js.map +0 -1
- package/dist/data-components/chart/sankey/sankeyChart.js +0 -111
- package/dist/data-components/chart/sankey/sankeyChart.js.map +0 -1
- package/dist/data-components/data-structure/data-structure-utils.js +0 -28
- package/dist/data-components/data-structure/data-structure-utils.js.map +0 -1
- package/dist/data-components/data-structure/data-structure.js +0 -2
- package/dist/data-components/data-structure/data-structure.js.map +0 -1
- package/dist/data-components/data-structure/stories-assets.js +0 -199
- package/dist/data-components/data-structure/stories-assets.js.map +0 -1
- package/dist/data-components/form/form-types.js +0 -2
- package/dist/data-components/form/form-types.js.map +0 -1
- package/dist/data-components/form/form.js +0 -124
- package/dist/data-components/form/form.js.map +0 -1
- package/dist/data-components/table-grid/aggregation/aggregation-utils.js +0 -31
- package/dist/data-components/table-grid/aggregation/aggregation-utils.js.map +0 -1
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-executor.js +0 -264
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-executor.js.map +0 -1
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-mock.js +0 -306
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-mock.js.map +0 -1
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-panel-types.js +0 -2
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-panel-types.js.map +0 -1
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-panel.js +0 -33
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-panel.js.map +0 -1
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-schema.js +0 -59
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-schema.js.map +0 -1
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-tools.js +0 -167
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-tools.js.map +0 -1
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-types.js +0 -2
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-types.js.map +0 -1
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-validator.js +0 -157
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-validator.js.map +0 -1
- package/dist/data-components/table-grid/external-functionalities/import/csv/autoDetect.js +0 -27
- package/dist/data-components/table-grid/external-functionalities/import/csv/autoDetect.js.map +0 -1
- package/dist/data-components/table-grid/external-functionalities/import/csv/createDataStructureFromFile.js +0 -21
- package/dist/data-components/table-grid/external-functionalities/import/csv/createDataStructureFromFile.js.map +0 -1
- package/dist/data-components/table-grid/external-functionalities/import/csv/csvToObj.js +0 -21
- package/dist/data-components/table-grid/external-functionalities/import/csv/csvToObj.js.map +0 -1
- package/dist/data-components/table-grid/external-functionalities/import/csv/detectDelimeter.js +0 -12
- package/dist/data-components/table-grid/external-functionalities/import/csv/detectDelimeter.js.map +0 -1
- package/dist/data-components/table-grid/external-functionalities/import/csv/index.js +0 -7
- package/dist/data-components/table-grid/external-functionalities/import/csv/index.js.map +0 -1
- package/dist/data-components/table-grid/external-functionalities/import/csv/inferColumns.js +0 -15
- package/dist/data-components/table-grid/external-functionalities/import/csv/inferColumns.js.map +0 -1
- package/dist/data-components/table-grid/external-functionalities/import/csv/parseDelimeted.js +0 -50
- package/dist/data-components/table-grid/external-functionalities/import/csv/parseDelimeted.js.map +0 -1
- package/dist/data-components/table-grid/footer/table-grid-footer-types.js +0 -2
- package/dist/data-components/table-grid/footer/table-grid-footer-types.js.map +0 -1
- package/dist/data-components/table-grid/footer/table-grid-footer.js +0 -47
- package/dist/data-components/table-grid/footer/table-grid-footer.js.map +0 -1
- package/dist/data-components/table-grid/formula/evaluator.js +0 -91
- package/dist/data-components/table-grid/formula/evaluator.js.map +0 -1
- package/dist/data-components/table-grid/formula/formula-builder-types.js +0 -2
- package/dist/data-components/table-grid/formula/formula-builder-types.js.map +0 -1
- package/dist/data-components/table-grid/formula/formula-builder.js +0 -47
- package/dist/data-components/table-grid/formula/formula-builder.js.map +0 -1
- package/dist/data-components/table-grid/formula/formula.test.js +0 -50
- package/dist/data-components/table-grid/formula/formula.test.js.map +0 -1
- package/dist/data-components/table-grid/formula/index.js +0 -40
- package/dist/data-components/table-grid/formula/index.js.map +0 -1
- package/dist/data-components/table-grid/formula/parser.js +0 -179
- package/dist/data-components/table-grid/formula/parser.js.map +0 -1
- package/dist/data-components/table-grid/formula/tokenizer.js +0 -140
- package/dist/data-components/table-grid/formula/tokenizer.js.map +0 -1
- package/dist/data-components/table-grid/formula/types.js +0 -2
- package/dist/data-components/table-grid/formula/types.js.map +0 -1
- package/dist/data-components/table-grid/header/grouping/group-panel-types.js +0 -2
- package/dist/data-components/table-grid/header/grouping/group-panel-types.js.map +0 -1
- package/dist/data-components/table-grid/header/grouping/group-panel.js +0 -91
- package/dist/data-components/table-grid/header/grouping/group-panel.js.map +0 -1
- package/dist/data-components/table-grid/header/table-grid-column-menu.js +0 -84
- package/dist/data-components/table-grid/header/table-grid-column-menu.js.map +0 -1
- package/dist/data-components/table-grid/header/table-grid-header-types.js +0 -2
- package/dist/data-components/table-grid/header/table-grid-header-types.js.map +0 -1
- package/dist/data-components/table-grid/header/table-grid-header.js +0 -148
- package/dist/data-components/table-grid/header/table-grid-header.js.map +0 -1
- package/dist/data-components/table-grid/hooks/use-table.js +0 -18
- package/dist/data-components/table-grid/hooks/use-table.js.map +0 -1
- package/dist/data-components/table-grid/pinning/pinning-utils.js +0 -70
- package/dist/data-components/table-grid/pinning/pinning-utils.js.map +0 -1
- package/dist/data-components/table-grid/pivot/pivot-config-panel-types.js +0 -2
- package/dist/data-components/table-grid/pivot/pivot-config-panel-types.js.map +0 -1
- package/dist/data-components/table-grid/pivot/pivot-config-panel.js +0 -89
- package/dist/data-components/table-grid/pivot/pivot-config-panel.js.map +0 -1
- package/dist/data-components/table-grid/pivot/pivot-table.js +0 -26
- package/dist/data-components/table-grid/pivot/pivot-table.js.map +0 -1
- package/dist/data-components/table-grid/pivot/pivot-types.js +0 -2
- package/dist/data-components/table-grid/pivot/pivot-types.js.map +0 -1
- package/dist/data-components/table-grid/pivot/pivot-utils.js +0 -150
- package/dist/data-components/table-grid/pivot/pivot-utils.js.map +0 -1
- package/dist/data-components/table-grid/row/table-grid-row-types.js +0 -2
- package/dist/data-components/table-grid/row/table-grid-row-types.js.map +0 -1
- package/dist/data-components/table-grid/row/table-grid-row-utils.js +0 -35
- package/dist/data-components/table-grid/row/table-grid-row-utils.js.map +0 -1
- package/dist/data-components/table-grid/row/table-grid-row.js +0 -68
- package/dist/data-components/table-grid/row/table-grid-row.js.map +0 -1
- package/dist/data-components/table-grid/selection/selection-types.js +0 -2
- package/dist/data-components/table-grid/selection/selection-types.js.map +0 -1
- package/dist/data-components/table-grid/selection/selection-utils.js +0 -136
- package/dist/data-components/table-grid/selection/selection-utils.js.map +0 -1
- package/dist/data-components/table-grid/sidebar/table-grid-sidebar-types.js +0 -2
- package/dist/data-components/table-grid/sidebar/table-grid-sidebar-types.js.map +0 -1
- package/dist/data-components/table-grid/sidebar/table-grid-sidebar.js +0 -7
- package/dist/data-components/table-grid/sidebar/table-grid-sidebar.js.map +0 -1
- package/dist/data-components/table-grid/sorting/sorting.js +0 -45
- package/dist/data-components/table-grid/sorting/sorting.js.map +0 -1
- package/dist/data-components/table-grid/table-context/table-context-types.js +0 -2
- package/dist/data-components/table-grid/table-context/table-context-types.js.map +0 -1
- package/dist/data-components/table-grid/table-context/table-context.js +0 -4
- package/dist/data-components/table-grid/table-context/table-context.js.map +0 -1
- package/dist/data-components/table-grid/table-grid-context.js +0 -258
- package/dist/data-components/table-grid/table-grid-context.js.map +0 -1
- package/dist/data-components/table-grid/table-grid-types.js +0 -2
- package/dist/data-components/table-grid/table-grid-types.js.map +0 -1
- package/dist/data-components/table-grid/table-grid.js +0 -144
- package/dist/data-components/table-grid/table-grid.js.map +0 -1
- package/dist/data-components/table-grid/table-utils.js +0 -116
- package/dist/data-components/table-grid/table-utils.js.map +0 -1
- package/dist/experimental-components/contribution-heatmap/contribution-heatmap-types.js +0 -2
- package/dist/experimental-components/contribution-heatmap/contribution-heatmap-types.js.map +0 -1
- package/dist/experimental-components/contribution-heatmap/contribution-heatmap-utils.js +0 -61
- package/dist/experimental-components/contribution-heatmap/contribution-heatmap-utils.js.map +0 -1
- package/dist/experimental-components/contribution-heatmap/contribution-heatmap.js +0 -23
- package/dist/experimental-components/contribution-heatmap/contribution-heatmap.js.map +0 -1
- package/dist/experimental-components/filter-builder/filter-builder-types.js +0 -2
- package/dist/experimental-components/filter-builder/filter-builder-types.js.map +0 -1
- package/dist/experimental-components/filter-builder/filter-builder.js +0 -139
- package/dist/experimental-components/filter-builder/filter-builder.js.map +0 -1
- package/dist/framework-components/appbar/appbar-assets.js +0 -5
- package/dist/framework-components/appbar/appbar-assets.js.map +0 -1
- package/dist/framework-components/appbar/appbar-types.js +0 -2
- package/dist/framework-components/appbar/appbar-types.js.map +0 -1
- package/dist/framework-components/appbar/appbar.js +0 -36
- package/dist/framework-components/appbar/appbar.js.map +0 -1
- package/dist/framework-components/breadcrumbs/breadcrumbs-types.js +0 -2
- package/dist/framework-components/breadcrumbs/breadcrumbs-types.js.map +0 -1
- package/dist/framework-components/breadcrumbs/breadcrumbs.js +0 -31
- package/dist/framework-components/breadcrumbs/breadcrumbs.js.map +0 -1
- package/dist/framework-components/drawer/drawer-types.js +0 -2
- package/dist/framework-components/drawer/drawer-types.js.map +0 -1
- package/dist/framework-components/drawer/drawer.js +0 -10
- package/dist/framework-components/drawer/drawer.js.map +0 -1
- package/dist/framework-components/scaffold/scaffold-context.js +0 -10
- package/dist/framework-components/scaffold/scaffold-context.js.map +0 -1
- package/dist/framework-components/scaffold/scaffold-types.js +0 -2
- package/dist/framework-components/scaffold/scaffold-types.js.map +0 -1
- package/dist/framework-components/scaffold/scaffold.js +0 -76
- package/dist/framework-components/scaffold/scaffold.js.map +0 -1
- package/dist/framework-components/sidebar/sidebar-assets.js +0 -4
- package/dist/framework-components/sidebar/sidebar-assets.js.map +0 -1
- package/dist/framework-components/sidebar/sidebar-context.js +0 -9
- package/dist/framework-components/sidebar/sidebar-context.js.map +0 -1
- package/dist/framework-components/sidebar/sidebar-logo/sidebar-logo-types.js +0 -2
- package/dist/framework-components/sidebar/sidebar-logo/sidebar-logo-types.js.map +0 -1
- package/dist/framework-components/sidebar/sidebar-logo/sidebar-logo.js +0 -12
- package/dist/framework-components/sidebar/sidebar-logo/sidebar-logo.js.map +0 -1
- package/dist/framework-components/sidebar/sidebar-types.js +0 -2
- package/dist/framework-components/sidebar/sidebar-types.js.map +0 -1
- package/dist/framework-components/sidebar/sidebar.js +0 -42
- package/dist/framework-components/sidebar/sidebar.js.map +0 -1
- package/dist/hooks/useDynamicVirtualList.js +0 -208
- package/dist/hooks/useDynamicVirtualList.js.map +0 -1
- package/dist/hooks/useFixedVirtualList.js +0 -64
- package/dist/hooks/useFixedVirtualList.js.map +0 -1
- package/dist/hooks/useShortcut.js +0 -86
- package/dist/hooks/useShortcut.js.map +0 -1
- package/dist/hooks/useTour/useTour-context-internal.js +0 -7
- package/dist/hooks/useTour/useTour-context-internal.js.map +0 -1
- package/dist/hooks/useTour/useTour-context.js +0 -54
- package/dist/hooks/useTour/useTour-context.js.map +0 -1
- package/dist/hooks/useTour/useTour-types.js +0 -2
- package/dist/hooks/useTour/useTour-types.js.map +0 -1
- package/dist/hooks/useTour/useTour.js +0 -408
- package/dist/hooks/useTour/useTour.js.map +0 -1
- package/dist/hooks/useVirtualListScroll.js +0 -79
- package/dist/hooks/useVirtualListScroll.js.map +0 -1
- package/dist/index.js +0 -63
- package/dist/index.js.map +0 -1
- package/dist/providers/ai-assistant/ai-assistant-prompts.js +0 -98
- package/dist/providers/ai-assistant/ai-assistant-prompts.js.map +0 -1
- package/dist/providers/ai-assistant/ai-assistant-types.js +0 -5
- package/dist/providers/ai-assistant/ai-assistant-types.js.map +0 -1
- package/dist/providers/ai-assistant/ai-assistant-validator.js +0 -74
- package/dist/providers/ai-assistant/ai-assistant-validator.js.map +0 -1
- package/dist/providers/ai-assistant/ai-chat-panel-types.js +0 -2
- package/dist/providers/ai-assistant/ai-chat-panel-types.js.map +0 -1
- package/dist/providers/ai-assistant/ai-chat-panel.js +0 -111
- package/dist/providers/ai-assistant/ai-chat-panel.js.map +0 -1
- package/dist/providers/shortcut/shortcut-context.js +0 -7
- package/dist/providers/shortcut/shortcut-context.js.map +0 -1
- package/dist/providers/shortcut/shortcut-provider.js +0 -267
- package/dist/providers/shortcut/shortcut-provider.js.map +0 -1
- package/dist/providers/theme/index.js +0 -2
- package/dist/providers/theme/index.js.map +0 -1
- package/dist/providers/theme/theme-provider-types.js +0 -2
- package/dist/providers/theme/theme-provider-types.js.map +0 -1
- package/dist/providers/theme/themeProvider.js +0 -17
- package/dist/providers/theme/themeProvider.js.map +0 -1
- package/dist/test/vitest.utils.js +0 -2
- package/dist/test/vitest.utils.js.map +0 -1
- package/dist/types/global-types.js +0 -10
- package/dist/types/global-types.js.map +0 -1
- package/dist/types/storybook-types.js +0 -2
- package/dist/types/storybook-types.js.map +0 -1
- package/dist/utility-components/avatar/avatar-types.js +0 -2
- package/dist/utility-components/avatar/avatar-types.js.map +0 -1
- package/dist/utility-components/avatar/avatar.js +0 -10
- package/dist/utility-components/avatar/avatar.js.map +0 -1
- package/dist/utility-components/chip/chip-types.js +0 -2
- package/dist/utility-components/chip/chip-types.js.map +0 -1
- package/dist/utility-components/chip/chip.js +0 -11
- package/dist/utility-components/chip/chip.js.map +0 -1
- package/dist/utility-components/helper-text/helper-text-types.js +0 -2
- package/dist/utility-components/helper-text/helper-text-types.js.map +0 -1
- package/dist/utility-components/helper-text/helper-text.js +0 -12
- package/dist/utility-components/helper-text/helper-text.js.map +0 -1
- package/dist/utility-components/icon/icon-assets.js +0 -95
- package/dist/utility-components/icon/icon-assets.js.map +0 -1
- package/dist/utility-components/icon/icon-types.js +0 -2
- package/dist/utility-components/icon/icon-types.js.map +0 -1
- package/dist/utility-components/icon/icon.js +0 -28
- package/dist/utility-components/icon/icon.js.map +0 -1
- package/dist/utility-components/label/label-types.js +0 -2
- package/dist/utility-components/label/label-types.js.map +0 -1
- package/dist/utility-components/label/label.js +0 -10
- package/dist/utility-components/label/label.js.map +0 -1
- package/dist/utility-components/overlay-panel/overlay-panel-types.js +0 -2
- package/dist/utility-components/overlay-panel/overlay-panel-types.js.map +0 -1
- package/dist/utility-components/overlay-panel/overlay-panel.js +0 -98
- package/dist/utility-components/overlay-panel/overlay-panel.js.map +0 -1
- package/dist/utility-components/overlay-panel/use-focus-trap.js +0 -61
- package/dist/utility-components/overlay-panel/use-focus-trap.js.map +0 -1
- package/dist/utility-components/skeleton/skeleton-types.js +0 -2
- package/dist/utility-components/skeleton/skeleton-types.js.map +0 -1
- package/dist/utility-components/skeleton/skeleton.js +0 -14
- package/dist/utility-components/skeleton/skeleton.js.map +0 -1
- package/dist/utility-components/stack/stack-types.js +0 -2
- package/dist/utility-components/stack/stack-types.js.map +0 -1
- package/dist/utility-components/stack/stack.js +0 -12
- package/dist/utility-components/stack/stack.js.map +0 -1
- package/dist/utility-components/toast/toast-types.js +0 -2
- package/dist/utility-components/toast/toast-types.js.map +0 -1
- package/dist/utility-components/toast/toast.js +0 -21
- package/dist/utility-components/toast/toast.js.map +0 -1
- package/dist/utils/general.js +0 -27
- package/dist/utils/general.js.map +0 -1
- package/dist/utils/shortcut-utils.js +0 -164
- package/dist/utils/shortcut-utils.js.map +0 -1
|
@@ -1,284 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Default layout configuration
|
|
3
|
-
*/
|
|
4
|
-
export const DEFAULT_LAYOUT = {
|
|
5
|
-
direction: "TB",
|
|
6
|
-
nodeSpacingX: 120,
|
|
7
|
-
nodeSpacingY: 100,
|
|
8
|
-
nodeWidth: 300,
|
|
9
|
-
nodeHeight: 75,
|
|
10
|
-
padding: 50,
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* Calculate hierarchical levels for nodes in a DAG
|
|
14
|
-
*/
|
|
15
|
-
export function calculateNodeLevels(nodes, edges) {
|
|
16
|
-
const levels = new Map();
|
|
17
|
-
const visited = new Set();
|
|
18
|
-
const inDegree = new Map();
|
|
19
|
-
// Initialize in-degree for all nodes
|
|
20
|
-
nodes.forEach((node) => {
|
|
21
|
-
inDegree.set(node.id, 0);
|
|
22
|
-
});
|
|
23
|
-
// Calculate in-degree
|
|
24
|
-
edges.forEach((edge) => {
|
|
25
|
-
const current = inDegree.get(edge.target) || 0;
|
|
26
|
-
inDegree.set(edge.target, current + 1);
|
|
27
|
-
});
|
|
28
|
-
// Find root nodes (in-degree = 0)
|
|
29
|
-
const queue = [];
|
|
30
|
-
nodes.forEach((node) => {
|
|
31
|
-
if (inDegree.get(node.id) === 0) {
|
|
32
|
-
queue.push(node.id);
|
|
33
|
-
levels.set(node.id, 0);
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
// BFS to assign levels
|
|
37
|
-
while (queue.length > 0) {
|
|
38
|
-
const nodeId = queue.shift();
|
|
39
|
-
visited.add(nodeId);
|
|
40
|
-
const currentLevel = levels.get(nodeId) || 0;
|
|
41
|
-
// Find children
|
|
42
|
-
const children = edges
|
|
43
|
-
.filter((edge) => edge.source === nodeId)
|
|
44
|
-
.map((edge) => edge.target);
|
|
45
|
-
children.forEach((childId) => {
|
|
46
|
-
const childInDegree = inDegree.get(childId) - 1;
|
|
47
|
-
inDegree.set(childId, childInDegree);
|
|
48
|
-
// Update level to be max of current and parent level + 1
|
|
49
|
-
const newLevel = currentLevel + 1;
|
|
50
|
-
const existingLevel = levels.get(childId) || 0;
|
|
51
|
-
levels.set(childId, Math.max(existingLevel, newLevel));
|
|
52
|
-
if (childInDegree === 0 && !visited.has(childId)) {
|
|
53
|
-
queue.push(childId);
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
return levels;
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* Position nodes in a hierarchical layout
|
|
61
|
-
*/
|
|
62
|
-
export function positionNodes(nodes, edges, layout) {
|
|
63
|
-
const config = { ...DEFAULT_LAYOUT, ...layout };
|
|
64
|
-
const levels = calculateNodeLevels(nodes, edges);
|
|
65
|
-
// Group nodes by level
|
|
66
|
-
const nodesByLevel = new Map();
|
|
67
|
-
nodes.forEach((node) => {
|
|
68
|
-
const level = levels.get(node.id) || 0;
|
|
69
|
-
if (!nodesByLevel.has(level)) {
|
|
70
|
-
nodesByLevel.set(level, []);
|
|
71
|
-
}
|
|
72
|
-
nodesByLevel.get(level).push(node);
|
|
73
|
-
});
|
|
74
|
-
const positionedNodes = [];
|
|
75
|
-
// Position nodes level by level
|
|
76
|
-
nodesByLevel.forEach((levelNodes, level) => {
|
|
77
|
-
levelNodes.forEach((node, indexInLevel) => {
|
|
78
|
-
let x, y;
|
|
79
|
-
if (config.direction === "TB") {
|
|
80
|
-
// Top to bottom: levels are Y axis, siblings spread on X axis
|
|
81
|
-
y = config.padding + level * (config.nodeHeight + config.nodeSpacingY);
|
|
82
|
-
x =
|
|
83
|
-
config.padding +
|
|
84
|
-
indexInLevel * (config.nodeWidth + config.nodeSpacingX);
|
|
85
|
-
}
|
|
86
|
-
else {
|
|
87
|
-
// Left to right: levels are X axis, siblings spread on Y axis
|
|
88
|
-
x = config.padding + level * (config.nodeWidth + config.nodeSpacingX);
|
|
89
|
-
y =
|
|
90
|
-
config.padding +
|
|
91
|
-
indexInLevel * (config.nodeHeight + config.nodeSpacingY);
|
|
92
|
-
}
|
|
93
|
-
positionedNodes.push({
|
|
94
|
-
...node,
|
|
95
|
-
x,
|
|
96
|
-
y,
|
|
97
|
-
level,
|
|
98
|
-
});
|
|
99
|
-
});
|
|
100
|
-
});
|
|
101
|
-
// Center align nodes within their level
|
|
102
|
-
return centerAlignNodes(positionedNodes, config);
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* Center align nodes at the same level
|
|
106
|
-
*/
|
|
107
|
-
function centerAlignNodes(nodes, layout) {
|
|
108
|
-
const nodesByLevel = new Map();
|
|
109
|
-
nodes.forEach((node) => {
|
|
110
|
-
if (!nodesByLevel.has(node.level)) {
|
|
111
|
-
nodesByLevel.set(node.level, []);
|
|
112
|
-
}
|
|
113
|
-
nodesByLevel.get(node.level).push(node);
|
|
114
|
-
});
|
|
115
|
-
// Find the level with most nodes
|
|
116
|
-
let maxNodesInLevel = 0;
|
|
117
|
-
nodesByLevel.forEach((levelNodes) => {
|
|
118
|
-
maxNodesInLevel = Math.max(maxNodesInLevel, levelNodes.length);
|
|
119
|
-
});
|
|
120
|
-
// Calculate max width/height
|
|
121
|
-
const maxDimension = layout.direction === "TB"
|
|
122
|
-
? maxNodesInLevel * (layout.nodeWidth + layout.nodeSpacingX) -
|
|
123
|
-
layout.nodeSpacingX
|
|
124
|
-
: maxNodesInLevel * (layout.nodeHeight + layout.nodeSpacingY) -
|
|
125
|
-
layout.nodeSpacingY;
|
|
126
|
-
// Center each level (mutating the position properties is intentional here)
|
|
127
|
-
nodesByLevel.forEach((levelNodes) => {
|
|
128
|
-
const levelDimension = layout.direction === "TB"
|
|
129
|
-
? levelNodes.length * (layout.nodeWidth + layout.nodeSpacingX) -
|
|
130
|
-
layout.nodeSpacingX
|
|
131
|
-
: levelNodes.length * (layout.nodeHeight + layout.nodeSpacingY) -
|
|
132
|
-
layout.nodeSpacingY;
|
|
133
|
-
const offset = (maxDimension - levelDimension) / 2;
|
|
134
|
-
levelNodes.forEach((node) => {
|
|
135
|
-
if (layout.direction === "TB") {
|
|
136
|
-
// eslint-disable-next-line no-param-reassign
|
|
137
|
-
node.x += offset;
|
|
138
|
-
}
|
|
139
|
-
else {
|
|
140
|
-
// eslint-disable-next-line no-param-reassign
|
|
141
|
-
node.y += offset;
|
|
142
|
-
}
|
|
143
|
-
});
|
|
144
|
-
});
|
|
145
|
-
return nodes;
|
|
146
|
-
}
|
|
147
|
-
/**
|
|
148
|
-
* Get the center connection point on a node's edge
|
|
149
|
-
*/
|
|
150
|
-
export function getConnectionPoint(node, side, layout) {
|
|
151
|
-
const { x, y } = node;
|
|
152
|
-
const { nodeWidth, nodeHeight } = layout;
|
|
153
|
-
switch (side) {
|
|
154
|
-
case "top":
|
|
155
|
-
return { x: x + nodeWidth / 2, y, side };
|
|
156
|
-
case "right":
|
|
157
|
-
return { x: x + nodeWidth, y: y + nodeHeight / 2, side };
|
|
158
|
-
case "bottom":
|
|
159
|
-
return { x: x + nodeWidth / 2, y: y + nodeHeight, side };
|
|
160
|
-
case "left":
|
|
161
|
-
return { x, y: y + nodeHeight / 2, side };
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
/**
|
|
165
|
-
* Determine which sides to connect based on layout direction and node positions
|
|
166
|
-
*/
|
|
167
|
-
export function getConnectionSides(sourceNode, targetNode, layout) {
|
|
168
|
-
if (layout.direction === "TB") {
|
|
169
|
-
// Top to bottom flow: check if nodes are at different levels
|
|
170
|
-
if (targetNode.level > sourceNode.level) {
|
|
171
|
-
return {
|
|
172
|
-
sourceSide: "bottom",
|
|
173
|
-
targetSide: "top",
|
|
174
|
-
};
|
|
175
|
-
}
|
|
176
|
-
else if (targetNode.level < sourceNode.level) {
|
|
177
|
-
return {
|
|
178
|
-
sourceSide: "top",
|
|
179
|
-
targetSide: "bottom",
|
|
180
|
-
};
|
|
181
|
-
}
|
|
182
|
-
else {
|
|
183
|
-
// Same level, connect horizontally
|
|
184
|
-
if (targetNode.x > sourceNode.x) {
|
|
185
|
-
return { sourceSide: "right", targetSide: "left" };
|
|
186
|
-
}
|
|
187
|
-
else {
|
|
188
|
-
return { sourceSide: "left", targetSide: "right" };
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
else {
|
|
193
|
-
// Left to right flow: check if nodes are at different levels
|
|
194
|
-
if (targetNode.level > sourceNode.level) {
|
|
195
|
-
return {
|
|
196
|
-
sourceSide: "right",
|
|
197
|
-
targetSide: "left",
|
|
198
|
-
};
|
|
199
|
-
}
|
|
200
|
-
else if (targetNode.level < sourceNode.level) {
|
|
201
|
-
return {
|
|
202
|
-
sourceSide: "left",
|
|
203
|
-
targetSide: "right",
|
|
204
|
-
};
|
|
205
|
-
}
|
|
206
|
-
else {
|
|
207
|
-
// Same level, connect vertically
|
|
208
|
-
if (targetNode.y > sourceNode.y) {
|
|
209
|
-
return { sourceSide: "bottom", targetSide: "top" };
|
|
210
|
-
}
|
|
211
|
-
else {
|
|
212
|
-
return { sourceSide: "top", targetSide: "bottom" };
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
/**
|
|
218
|
-
* Generate smooth bezier curve path (XY Flow style)
|
|
219
|
-
* Uses cubic bezier curves with control points offset from connection points
|
|
220
|
-
*/
|
|
221
|
-
export function getBezierPath(start, end) {
|
|
222
|
-
// Calculate control point offset based on distance
|
|
223
|
-
const dx = Math.abs(end.x - start.x);
|
|
224
|
-
const dy = Math.abs(end.y - start.y);
|
|
225
|
-
const distance = Math.sqrt(dx * dx + dy * dy);
|
|
226
|
-
// Control point offset: 40% of distance, minimum 50px
|
|
227
|
-
const offset = Math.max(50, distance * 0.4);
|
|
228
|
-
// Calculate control points based on connection side
|
|
229
|
-
let sourceControlX = start.x;
|
|
230
|
-
let sourceControlY = start.y;
|
|
231
|
-
let targetControlX = end.x;
|
|
232
|
-
let targetControlY = end.y;
|
|
233
|
-
// Source control point
|
|
234
|
-
switch (start.side) {
|
|
235
|
-
case "right":
|
|
236
|
-
sourceControlX = start.x + offset;
|
|
237
|
-
break;
|
|
238
|
-
case "left":
|
|
239
|
-
sourceControlX = start.x - offset;
|
|
240
|
-
break;
|
|
241
|
-
case "bottom":
|
|
242
|
-
sourceControlY = start.y + offset;
|
|
243
|
-
break;
|
|
244
|
-
case "top":
|
|
245
|
-
sourceControlY = start.y - offset;
|
|
246
|
-
break;
|
|
247
|
-
}
|
|
248
|
-
// Target control point
|
|
249
|
-
switch (end.side) {
|
|
250
|
-
case "right":
|
|
251
|
-
targetControlX = end.x + offset;
|
|
252
|
-
break;
|
|
253
|
-
case "left":
|
|
254
|
-
targetControlX = end.x - offset;
|
|
255
|
-
break;
|
|
256
|
-
case "bottom":
|
|
257
|
-
targetControlY = end.y + offset;
|
|
258
|
-
break;
|
|
259
|
-
case "top":
|
|
260
|
-
targetControlY = end.y - offset;
|
|
261
|
-
break;
|
|
262
|
-
}
|
|
263
|
-
// Generate cubic bezier curve
|
|
264
|
-
return `M ${start.x},${start.y} C ${sourceControlX},${sourceControlY} ${targetControlX},${targetControlY} ${end.x},${end.y}`;
|
|
265
|
-
}
|
|
266
|
-
/**
|
|
267
|
-
* Calculate total workflow dimensions
|
|
268
|
-
*/
|
|
269
|
-
export function calculateWorkflowDimensions(nodes, layout) {
|
|
270
|
-
if (nodes.length === 0) {
|
|
271
|
-
return { width: 0, height: 0 };
|
|
272
|
-
}
|
|
273
|
-
let maxX = 0;
|
|
274
|
-
let maxY = 0;
|
|
275
|
-
nodes.forEach((node) => {
|
|
276
|
-
maxX = Math.max(maxX, node.x + layout.nodeWidth);
|
|
277
|
-
maxY = Math.max(maxY, node.y + layout.nodeHeight);
|
|
278
|
-
});
|
|
279
|
-
return {
|
|
280
|
-
width: maxX + layout.padding,
|
|
281
|
-
height: maxY + layout.padding,
|
|
282
|
-
};
|
|
283
|
-
}
|
|
284
|
-
//# sourceMappingURL=workflow-layout.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-layout.js","sourceRoot":"","sources":["../../../../src/custom-components/workflow/layout/workflow-layout.ts"],"names":[],"mappings":"AAOA;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAA6B;IACtD,SAAS,EAAE,IAAI;IACf,YAAY,EAAE,GAAG;IACjB,YAAY,EAAE,GAAG;IACjB,SAAS,EAAE,GAAG;IACd,UAAU,EAAE,EAAE;IACd,OAAO,EAAE,EAAE;CACZ,CAAC;AAEF;;GAEG;AACH,MAAM,UAAU,mBAAmB,CACjC,KAA4B,EAC5B,KAAqB;IAErB,MAAM,MAAM,GAAG,IAAI,GAAG,EAAkB,CAAC;IACzC,MAAM,OAAO,GAAG,IAAI,GAAG,EAAU,CAAC;IAClC,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAkB,CAAC;IAE3C,qCAAqC;IACrC,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;QACrB,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;IAC3B,CAAC,CAAC,CAAC;IAEH,sBAAsB;IACtB,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;QACrB,MAAM,OAAO,GAAG,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QAC/C,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,GAAG,CAAC,CAAC,CAAC;IACzC,CAAC,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8B;IAC9B,OAAO,KAAK,KAAK,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,MAAM,cAAc,IAAI,cAAc,IAAI,cAAc,IAAI,cAAc,IAAI,GAAG,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,EAAE,CAAC;AAC/H,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,2BAA2B,CACzC,KAA8B,EAC9B,MAAgC;IAEhC,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACvB,OAAO,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC;IACjC,CAAC;IAED,IAAI,IAAI,GAAG,CAAC,CAAC;IACb,IAAI,IAAI,GAAG,CAAC,CAAC;IAEb,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;QACrB,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;QACjD,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC;IACpD,CAAC,CAAC,CAAC;IAEH,OAAO;QACL,KAAK,EAAE,IAAI,GAAG,MAAM,CAAC,OAAO;QAC5B,MAAM,EAAE,IAAI,GAAG,MAAM,CAAC,OAAO;KAC9B,CAAC;AACJ,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Icon } from "../../../utility-components/icon/icon";
|
|
3
|
-
import styles from "./workflow-node.module.css";
|
|
4
|
-
import Typography from "../../../components/typography/typography";
|
|
5
|
-
export function WorkflowNode({ node, onClick, className }) {
|
|
6
|
-
const handleClick = () => {
|
|
7
|
-
if (onClick) {
|
|
8
|
-
onClick(node);
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
const handleKeyDown = (e) => {
|
|
12
|
-
if (e.key === "Enter" || e.key === " ") {
|
|
13
|
-
e.preventDefault();
|
|
14
|
-
handleClick();
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
return (_jsxs("div", { className: [styles["rst-workflow-node"], className, node.className].filter(Boolean).join(" "), style: {
|
|
18
|
-
left: `${node.x}px`,
|
|
19
|
-
top: `${node.y}px`,
|
|
20
|
-
}, onClick: handleClick, onKeyDown: handleKeyDown, role: "button", tabIndex: 0, "aria-label": `Workflow node: ${node.label}`, children: [_jsxs("div", { className: styles["rst-workflow-node-header"], children: [node.icon && _jsx(Icon, { src: node.icon }), _jsx(Typography, { variant: "title", children: node.label })] }), node.description && (_jsx("div", { className: styles["rst-workflow-node-content"], children: _jsx(Typography, { variant: "body", children: node.description }) })), node.metadata && Object.keys(node.metadata).length > 0 && (_jsx("div", { className: styles["rst-workflow-node-footer"], children: Object.entries(node.metadata).map(([key, value]) => (_jsxs("span", { className: styles["rst-workflow-node-metadata"], children: [key, ": ", String(value)] }, key))) }))] }));
|
|
21
|
-
}
|
|
22
|
-
//# sourceMappingURL=workflow-node.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-node.js","sourceRoot":"","sources":["../../../../src/custom-components/workflow/node/workflow-node.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,uCAAuC,CAAC;AAC7D,OAAO,MAAM,MAAM,4BAA4B,CAAC;AAChD,OAAO,UAAU,MAAM,2CAA2C,CAAC;AAEnE,MAAM,UAAU,YAAY,CAAkB,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAA4B;IAClG,MAAM,WAAW,GAAG,GAAG,EAAE;QACvB,IAAI,OAAO,EAAE,CAAC;YACZ,OAAO,CAAC,IAAI,CAAC,CAAC;QAChB,CAAC;IACH,CAAC,CAAC;IAEF,MAAM,aAAa,GAAG,CAAC,CAAsB,EAAE,EAAE;QAC/C,IAAI,CAAC,CAAC,GA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EAAE,CAAC,CACnD,gBAAgB,SAAS,EAAE,MAAM,CAAC,4BAA4B,CAAC,aAC5D,GAAG,QAAI,MAAM,CAAC,KAAK,CAAC,KADZ,GAAG,CAEP,CACR,CAAC,GACE,CACP,IACG,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-panel-types.js","sourceRoot":"","sources":["../../../../src/custom-components/workflow/panel/workflow-panel-types.ts"],"names":[],"mappings":""}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { useState } from "react";
|
|
3
|
-
import { Icon } from "../../../utility-components/icon/icon";
|
|
4
|
-
import Typography from "../../../components/typography/typography";
|
|
5
|
-
import styles from "./workflow-panel.module.css";
|
|
6
|
-
import { Button } from "../../../components/button/button";
|
|
7
|
-
import { Select } from "../../../components/select/select";
|
|
8
|
-
export function WorkflowPanel({ selectedNode, allNodes, hasOutputs, onCreateNode, onConnectNode, onClose, className }) {
|
|
9
|
-
const [connectionType, setConnectionType] = useState("default");
|
|
10
|
-
const [showAdvanced, setShowAdvanced] = useState(false);
|
|
11
|
-
if (!selectedNode) {
|
|
12
|
-
return null;
|
|
13
|
-
}
|
|
14
|
-
// Filter out the selected node from available nodes
|
|
15
|
-
const availableNodes = allNodes.filter((node) => node.id !== selectedNode.id);
|
|
16
|
-
const handleCreateNode = () => {
|
|
17
|
-
onCreateNode(selectedNode.id);
|
|
18
|
-
};
|
|
19
|
-
const handleConnectNode = (targetNodeId) => {
|
|
20
|
-
onConnectNode(selectedNode.id, targetNodeId);
|
|
21
|
-
};
|
|
22
|
-
// Get node type badge styling
|
|
23
|
-
const getNodeTypeBadge = () => {
|
|
24
|
-
const type = selectedNode.nodeType || "task";
|
|
25
|
-
const badges = {
|
|
26
|
-
start: { icon: "play", label: "Start Node", color: "var(--rst-borderColor-success-default)" },
|
|
27
|
-
task: { icon: "check-circle", label: "Task Node", color: "var(--rst-borderColor-accent-default)" },
|
|
28
|
-
decision: { icon: "git-branch", label: "Decision Node", color: "var(--rst-borderColor-attention-default)" },
|
|
29
|
-
end: { icon: "check", label: "End Node", color: "var(--rst-borderColor-danger-default)" },
|
|
30
|
-
};
|
|
31
|
-
return badges[type] || badges.task;
|
|
32
|
-
};
|
|
33
|
-
const badge = getNodeTypeBadge();
|
|
34
|
-
return (_jsxs("div", { className: [styles["rst-workflow-panel"], className].filter(Boolean).join(" "), children: [_jsxs("div", { className: styles["rst-workflow-panel-header"], children: [_jsxs("div", { children: [_jsx(Typography, { variant: "title", className: styles["rst-workflow-panel-title"], children: selectedNode.label }), _jsxs("div", { className: styles["rst-workflow-panel-badge"], style: { borderColor: badge.color, color: badge.color }, children: [_jsx(Icon, { src: badge.icon }), _jsx("span", { children: badge.label })] })] }), _jsx("button", { className: styles["rst-workflow-panel-close"], onClick: onClose, "aria-label": "Close panel", type: "button", children: _jsx(Icon, { src: "close" }) })] }), _jsxs("div", { className: styles["rst-workflow-panel-content"], children: [_jsxs("div", { className: styles["rst-workflow-panel-section"], children: [_jsxs("div", { className: styles["rst-workflow-panel-section-title"], children: [_jsx(Icon, { src: "info" }), "Node Information"] }), _jsxs("div", { className: styles["rst-workflow-panel-info"], children: [_jsxs("div", { className: styles["rst-workflow-panel-info-row"], children: [_jsx("span", { className: styles["rst-workflow-panel-info-label"], children: "ID:" }), _jsx("span", { className: styles["rst-workflow-panel-info-value"], children: selectedNode.id })] }), selectedNode.description && (_jsxs("div", { className: styles["rst-workflow-panel-info-row"], children: [_jsx("span", { className: styles["rst-workflow-panel-info-label"], children: "Description:" }), _jsx("span", { className: styles["rst-workflow-panel-info-value"], children: selectedNode.description })] })), _jsxs("div", { className: styles["rst-workflow-panel-info-row"], children: [_jsx("span", { className: styles["rst-workflow-panel-info-label"], children: "Type:" }), _jsx("span", { className: styles["rst-workflow-panel-info-value"], children: selectedNode.nodeType || "task" })] })] })] }), selectedNode.actions && selectedNode.actions.length > 0 && (_jsxs(_Fragment, { children: [_jsx("div", { className: styles["rst-workflow-panel-divider"] }), _jsxs("div", { className: styles["rst-workflow-panel-section"], children: [_jsxs("div", { className: styles["rst-workflow-panel-section-title"], children: [_jsx(Icon, { src: "zap" }), "Actions (", selectedNode.actions.length, ")"] }), _jsx("div", { className: styles["rst-workflow-panel-actions"], children: selectedNode.actions.map((action) => (_jsxs("div", { className: styles["rst-workflow-panel-action-item"], children: [_jsx(Icon, { src: getActionIcon(action.type) }), _jsxs("div", { className: styles["rst-workflow-panel-action-content"], children: [_jsx("div", { className: styles["rst-workflow-panel-action-name"], children: action.name }), _jsx("div", { className: styles["rst-workflow-panel-action-type"], children: action.type })] })] }, action.id))) })] })] })), _jsx("div", { className: styles["rst-workflow-panel-divider"] }), _jsxs("div", { className: styles["rst-workflow-panel-section"], children: [_jsxs("div", { className: styles["rst-workflow-panel-section-title"], children: [_jsx(Icon, { src: "git-branch" }), "Connections"] }), !hasOutputs ? (_jsxs(_Fragment, { children: [_jsxs("div", { className: styles["rst-workflow-panel-connection-group"], children: [_jsx("div", { className: styles["rst-workflow-panel-connection-label"], children: "Create & Connect New Node" }), _jsx(Button, { leadingVisual: "plus", variant: "primary", size: "small", onClick: handleCreateNode, type: "button", children: "Create Node" })] }), availableNodes.length > 0 && (_jsxs(_Fragment, { children: [_jsx("div", { className: styles["rst-workflow-panel-connection-divider"], children: "OR" }), _jsxs("div", { className: styles["rst-workflow-panel-connection-group"], children: [_jsx("div", { className: styles["rst-workflow-panel-connection-label"], children: "Connect to Existing Node" }), _jsx(Select, { value: connectionType, onChange: (value) => setConnectionType(Array.isArray(value) ? value[0] : value), options: [
|
|
35
|
-
{ value: "default", id: "default" },
|
|
36
|
-
{ value: "conditional", id: "conditional" },
|
|
37
|
-
{ value: "success", id: "success" },
|
|
38
|
-
{ value: "error", id: "error" },
|
|
39
|
-
{ value: "timeout", id: "timeout" },
|
|
40
|
-
] }), _jsx("div", { className: styles["rst-workflow-panel-node-list"], children: availableNodes.map((node) => (_jsxs("button", { className: styles["rst-workflow-panel-node-button"], onClick: () => handleConnectNode(node.id), type: "button", children: [_jsx(Icon, { src: node.icon || "file" }), _jsx("span", { children: node.label }), node.nodeType && _jsx("span", { className: styles["rst-workflow-panel-node-type"], children: node.nodeType })] }, node.id))) })] })] }))] })) : (_jsxs("div", { className: styles["rst-workflow-panel-connection-info"], children: [_jsx(Icon, { src: "check-circle" }), _jsx("span", { children: "This node already has outgoing connections." })] }))] }), _jsx("div", { className: styles["rst-workflow-panel-divider"] }), _jsxs("button", { className: styles["rst-workflow-panel-advanced-toggle"], onClick: () => setShowAdvanced(!showAdvanced), type: "button", children: [_jsx("span", { children: "Advanced Settings" }), _jsx(Icon, { src: showAdvanced ? "chevron-up" : "chevron-down" })] }), showAdvanced && (_jsx("div", { className: styles["rst-workflow-panel-section"], children: _jsxs("div", { className: styles["rst-workflow-panel-info"], children: [_jsxs("div", { className: styles["rst-workflow-panel-info-row"], children: [_jsx("span", { className: styles["rst-workflow-panel-info-label"], children: "Data Records:" }), _jsx("span", { className: styles["rst-workflow-panel-info-value"], children: selectedNode.data?.length || 0 })] }), _jsxs("div", { className: styles["rst-workflow-panel-info-row"], children: [_jsx("span", { className: styles["rst-workflow-panel-info-label"], children: "Columns:" }), _jsx("span", { className: styles["rst-workflow-panel-info-value"], children: selectedNode.columns?.length || 0 })] }), selectedNode.metadata && Object.keys(selectedNode.metadata).length > 0 && (_jsxs("div", { className: styles["rst-workflow-panel-info-row"], children: [_jsx("span", { className: styles["rst-workflow-panel-info-label"], children: "Metadata:" }), _jsxs("span", { className: styles["rst-workflow-panel-info-value"], children: [Object.keys(selectedNode.metadata).length, " properties"] })] }))] }) }))] })] }));
|
|
41
|
-
}
|
|
42
|
-
// Helper function to get action icon
|
|
43
|
-
function getActionIcon(type) {
|
|
44
|
-
const icons = {
|
|
45
|
-
api: "globe",
|
|
46
|
-
transform: "code",
|
|
47
|
-
wait: "clock",
|
|
48
|
-
notification: "bell",
|
|
49
|
-
condition: "git-branch",
|
|
50
|
-
};
|
|
51
|
-
return icons[type] || "zap";
|
|
52
|
-
}
|
|
53
|
-
//# sourceMappingURL=workflow-panel.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-panel.js","sourceRoot":"","sources":["../../../../src/custom-components/workflow/panel/workflow-panel.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,IAAI,EAAE,MAAM,uCAAuC,CAAC;AAC7D,OAAO,UAAU,MAAM,2CAA2C,CAAC;AACnE,OAAO,MAAM,MAAM,6BAA6B,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAC3D,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAE3D,MAAM,UAAU,aAAa,CAAQ,EAAE,YAAY,EAAE,QAAQ,EAAE,UAAU,EAAE,YAAY,EAAE,aAAa,EAAE,OAAO,EAAE,SAAS,EAA6B;IACrJ,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,QAAQ,CAAS,SAAS,CAAC,CAAC;IACxE,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAExD,IAAI,CAAC,YAAY,EAAE,CAAC;QAClB,OAAO,IAAI,CAAC;IACd,CAAC;IAED,oDAAoD;IACpD,MAAM,cAAc,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,YAAY,CAAC,EAAE,CAAC,CAAC;IAE9E,MAAM,gBAAgB,GAAG,GAAG,EAAE;QAC5B,YAAY,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;IAChC,CAAC,CAAC;IAEF,MAAM,iBAAiB,GAAG,CAAC,YAAoB,EAAE,EAAE;QACjD,aAAa,CAAC,YAAY,CAAC,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MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC,MAAM,GAAG,CAAC,IAAI,CACzE,eAAK,SAAS,EAAE,MAAM,CAAC,6BAA6B,CAAC,aACnD,eAAM,SAAS,EAAE,MAAM,CAAC,+BAA+B,CAAC,0BAAkB,EAC1E,gBAAM,SAAS,EAAE,MAAM,CAAC,+BAA+B,CAAC,aAAG,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC,MAAM,mBAAmB,IACnH,CACP,IACG,GACF,CACP,IACG,IACF,CACP,CAAC;AACJ,CAAC;AAED,qCAAqC;AACrC,SAAS,aAAa,CAAC,IAAY;IACjC,MAAM,KAAK,GAA2B;QACpC,GAAG,EAAE,OAAO;QACZ,SAAS,EAAE,MAAM;QACjB,IAAI,EAAE,OAAO;QACb,YAAY,EAAE,MAAM;QACpB,SAAS,EAAE,YAAY;KACxB,CAAC;IACF,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,KAAK,CAAC;AAC9B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-toolbar-types.js","sourceRoot":"","sources":["../../../../src/custom-components/workflow/toolbar/workflow-toolbar-types.ts"],"names":[],"mappings":""}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Button } from "../../../components/button/button";
|
|
3
|
-
import styles from "./workflow-toolbar.module.css";
|
|
4
|
-
export function WorkflowToolbar({ mode, onModeChange, zoom, onZoomChange, minZoom = 0.1, maxZoom = 2, className }) {
|
|
5
|
-
const handleZoomIn = () => {
|
|
6
|
-
const newZoom = Math.min(zoom + 0.1, maxZoom);
|
|
7
|
-
onZoomChange(Number(newZoom.toFixed(1)));
|
|
8
|
-
};
|
|
9
|
-
const handleZoomOut = () => {
|
|
10
|
-
const newZoom = Math.max(zoom - 0.1, minZoom);
|
|
11
|
-
onZoomChange(Number(newZoom.toFixed(1)));
|
|
12
|
-
};
|
|
13
|
-
const handleResetZoom = () => {
|
|
14
|
-
onZoomChange(1);
|
|
15
|
-
};
|
|
16
|
-
const zoomPercentage = Math.round(zoom * 100);
|
|
17
|
-
return (_jsxs("div", { className: [styles["rst-workflow-toolbar"], className].filter(Boolean).join(" "), children: [_jsx(Button, { variant: mode === "pointer" ? "primary" : "base", size: "small", leadingVisual: "cursor", onClick: () => onModeChange("pointer"), "aria-label": "Pointer mode", title: "Pointer mode - Select and interact with nodes", children: "Pointer" }), _jsx(Button, { variant: mode === "drag" ? "primary" : "base", size: "small", leadingVisual: "drag", onClick: () => onModeChange("drag"), "aria-label": "Drag mode", title: "Drag mode - Pan the canvas", children: "Drag" }), _jsx("div", { className: styles["rst-workflow-toolbar-divider"] }), _jsx(Button, { variant: "base", size: "small", leadingVisual: "zoom-minus", onClick: handleZoomOut, disabled: zoom <= minZoom, "aria-label": "Zoom out", title: "Zoom out" }), _jsx(Button, { variant: "base", size: "small", onClick: handleResetZoom, "aria-label": "Reset zoom", title: "Reset zoom to 100%", value: `${zoomPercentage}%` }), _jsx(Button, { variant: "base", size: "small", leadingVisual: "zoom-plus", onClick: handleZoomIn, disabled: zoom >= maxZoom, "aria-label": "Zoom in", title: "Zoom in" })] }));
|
|
18
|
-
}
|
|
19
|
-
//# sourceMappingURL=workflow-toolbar.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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,Y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