@restio/ui 0.0.9-SNAPSHOT → 0.0.10-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/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 +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/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/markdown-types.d.ts +3 -3
- package/dist/custom-components/markdown/markdown.d.ts +2 -2
- 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/table-grid/ai-assistant/ai-assistant-executor.d.ts +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 +1 -1
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-panel.d.ts +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 +1 -1
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-types.d.ts +1 -1
- package/dist/data-components/table-grid/ai-assistant/ai-assistant-validator.d.ts +2 -2
- 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/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-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-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/selection/selection-utils.d.ts +2 -2
- 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 +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-types.d.ts +18 -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 +2 -2
- package/dist/data-components/table-grid/table-grid.d.ts.map +1 -1
- package/dist/data-components/table-grid/table-utils.d.ts +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 +0 -1
- package/dist/providers/ai-assistant/ai-assistant-prompts.d.ts +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/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 +109 -0
- package/dist/restio-ui.es.js +35079 -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-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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useTour.js","sourceRoot":"","sources":["../../../src/hooks/useTour/useTour.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAE7E,OAAO,EAAE,MAAM,EAAE,MAAM,gCAAgC,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,4CAA4C,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAEzD,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAC1C,OAAO,UAAU,MAAM,wCAAwC,CAAC;AAEhE,iFAAiF;AAEjF,SAAS,gBAAgB,CAAC,IAAa,EAAE,SAAwB;IAC/D,IAAI,SAAS,KAAK,MAAM;QAAE,OAAO,SAAS,CAAC;IAE3C,MAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC;IAC1B,MAAM,WAAW,GAAG,MAAM,CAAC,WAAW,GAAG,IAAI,CAAC,MAAM,CAAC;IACrD,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC;IAC5B,MAAM,UAAU,GAAG,MAAM,CAAC,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC;IAElD,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,W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AO,CAAC,OAAO,GAAG,IAAI,CAAC;IAEvB,MAAM,QAAQ,GAAiB;QAC7B,KAAK;QACL,MAAM;QACN,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,IAAI;QACJ,KAAK;QACL,MAAM;QACN,UAAU;QACV,SAAS;QACT,UAAU;QACV,QAAQ;QACR,MAAM;KACP,CAAC;IACF,WAAW,CAAC,OAAO,GAAG,QAAQ,CAAC;IAE/B,OAAO,QAAQ,CAAC;AAClB,CAAC"}
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { useCallback, useRef, useState } from "react";
|
|
2
|
-
/**
|
|
3
|
-
* A custom hook to implement virtual scrolling for a list of items.
|
|
4
|
-
*
|
|
5
|
-
* @param items - The list of items to be displayed
|
|
6
|
-
* @param itemHeight - Height of each item in pixels
|
|
7
|
-
* @param containerHeight - Height of the visible container
|
|
8
|
-
* @param overscan - Number of extra items to render above/below viewport
|
|
9
|
-
*/
|
|
10
|
-
export function useVirtualListScroll({ items, itemHeight, containerHeight, overscan = 5, }) {
|
|
11
|
-
// Track the scroll position
|
|
12
|
-
const [scrollTop, setScrollTop] = useState(0);
|
|
13
|
-
// Reference to the scrollable container element
|
|
14
|
-
const containerRef = useRef(null);
|
|
15
|
-
// Calculate the total height of all items
|
|
16
|
-
const totalHeight = items.length * itemHeight;
|
|
17
|
-
// Calculate which items should be visible
|
|
18
|
-
const startIndex = Math.max(0, Math.floor(scrollTop / itemHeight) - overscan);
|
|
19
|
-
const endIndex = Math.min(items.length - 1, Math.floor((scrollTop + containerHeight) / itemHeight) + overscan);
|
|
20
|
-
// Create the array of virtual items that should be rendered
|
|
21
|
-
const virtualItems = [];
|
|
22
|
-
for (let i = startIndex; i <= endIndex; i++) {
|
|
23
|
-
virtualItems.push({
|
|
24
|
-
item: items[i],
|
|
25
|
-
index: i,
|
|
26
|
-
offsetTop: i * itemHeight,
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
// Handle scroll events
|
|
30
|
-
const handleScroll = useCallback((event) => {
|
|
31
|
-
const scrollTop = event.target.scrollTop;
|
|
32
|
-
setScrollTop(scrollTop);
|
|
33
|
-
}, []);
|
|
34
|
-
// Handle scroll to view element in the list with keyboard
|
|
35
|
-
const scrollToIndex = (index) => {
|
|
36
|
-
if (!containerRef.current)
|
|
37
|
-
return;
|
|
38
|
-
const itemTop = index * itemHeight;
|
|
39
|
-
const itemBottom = itemTop + itemHeight;
|
|
40
|
-
const container = containerRef.current;
|
|
41
|
-
const containerScrollTop = container.scrollTop;
|
|
42
|
-
const containerBottom = containerScrollTop + containerHeight;
|
|
43
|
-
if (itemTop < containerScrollTop) {
|
|
44
|
-
container.scrollTop = itemTop;
|
|
45
|
-
}
|
|
46
|
-
else if (itemBottom > containerBottom) {
|
|
47
|
-
container.scrollTop = itemBottom - containerHeight;
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
return {
|
|
51
|
-
virtualItems,
|
|
52
|
-
containerProps: {
|
|
53
|
-
ref: containerRef,
|
|
54
|
-
style: {
|
|
55
|
-
maxHeight: `${containerHeight}px`,
|
|
56
|
-
overflowY: "auto",
|
|
57
|
-
position: "relative",
|
|
58
|
-
willChange: "transform",
|
|
59
|
-
},
|
|
60
|
-
onScroll: handleScroll,
|
|
61
|
-
},
|
|
62
|
-
innerProps: {
|
|
63
|
-
style: {
|
|
64
|
-
height: `${totalHeight}px`,
|
|
65
|
-
position: "relative",
|
|
66
|
-
width: "100%",
|
|
67
|
-
},
|
|
68
|
-
},
|
|
69
|
-
scrollInfo: {
|
|
70
|
-
scrollTop,
|
|
71
|
-
viewportHeight: containerHeight,
|
|
72
|
-
totalHeight,
|
|
73
|
-
startIndex,
|
|
74
|
-
endIndex,
|
|
75
|
-
},
|
|
76
|
-
scrollToIndex,
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
//# sourceMappingURL=useVirtualListScroll.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useVirtualListScroll.js","sour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
import './globals.css';
|
|
2
|
-
export { OTPComponent as OTP } from './components/otp/otp';
|
|
3
|
-
export { Banner } from './components/banner/banner';
|
|
4
|
-
export { Button } from './components/button/button';
|
|
5
|
-
export { Checkbox } from './components/checkbox/checkbox';
|
|
6
|
-
export { AnchoredOverlay } from './components/anchored-overlay/anchored-overlay';
|
|
7
|
-
export { Graph } from './components/graph/graph';
|
|
8
|
-
export { Kbd } from './components/kbd/kbd';
|
|
9
|
-
export { Icon } from './utility-components/icon/icon';
|
|
10
|
-
export { Avatar } from './utility-components/avatar/avatar';
|
|
11
|
-
export { Markdown } from './custom-components/markdown/markdown';
|
|
12
|
-
export { Select } from './components/select/select';
|
|
13
|
-
export { ContributionHeatmap } from './experimental-components/contribution-heatmap/contribution-heatmap';
|
|
14
|
-
export { Typography } from './components/typography/typography';
|
|
15
|
-
export { TextInput } from './components/input/text/input-text';
|
|
16
|
-
export { NumberInput } from './components/input/number/input-number';
|
|
17
|
-
export { Label } from './utility-components/label/label';
|
|
18
|
-
export { Timeline } from './custom-components/timeline/timeline';
|
|
19
|
-
export { Layout } from './custom-components/layout/layout';
|
|
20
|
-
export { useTour } from './hooks/useTour/useTour';
|
|
21
|
-
export { TourProvider, useTourManager } from './hooks/useTour/useTour-context';
|
|
22
|
-
export { useHistory } from './custom-components/layout-builder/stories/hooks/useHistory';
|
|
23
|
-
export { Stack } from './utility-components/stack/stack';
|
|
24
|
-
export { Menu } from './components/menu/menu';
|
|
25
|
-
export { Chart } from './data-components/chart/chart';
|
|
26
|
-
export { TableGrid } from './data-components/table-grid/table-grid';
|
|
27
|
-
export { TableGridRow } from './data-components/table-grid/row/table-grid-row';
|
|
28
|
-
export { TableProvider } from './data-components/table-grid/table-grid-context';
|
|
29
|
-
export { AIChatPanel } from './providers/ai-assistant/ai-chat-panel';
|
|
30
|
-
export { buildSystemPrompt } from './providers/ai-assistant/ai-assistant-prompts';
|
|
31
|
-
export { validateToolCalls as validateToolCallsGeneric } from './providers/ai-assistant/ai-assistant-validator';
|
|
32
|
-
// AI Assistant — table-grid-specific
|
|
33
|
-
export { MockAIProvider } from './data-components/table-grid/ai-assistant/ai-assistant-mock';
|
|
34
|
-
export { toolDefinitions as tableGridToolDefinitions } from './data-components/table-grid/ai-assistant/ai-assistant-tools';
|
|
35
|
-
export { buildColumnSchema } from './data-components/table-grid/ai-assistant/ai-assistant-schema';
|
|
36
|
-
// Reusable Cell component (works with both TableGrid and Form components)
|
|
37
|
-
export { Cell } from './data-components/cell/cell';
|
|
38
|
-
// Global types
|
|
39
|
-
export { CellType } from './types/global-types';
|
|
40
|
-
// Date components
|
|
41
|
-
export { DatePicker } from './components/input/date/date-picker';
|
|
42
|
-
export { DateRangePicker } from './components/input/date/date-range-picker';
|
|
43
|
-
// Shortcut Provider and Hook
|
|
44
|
-
export { ShortcutProvider } from './providers/shortcut/shortcut-provider';
|
|
45
|
-
export { useShortcut } from './hooks/useShortcut';
|
|
46
|
-
export { useDynamicVirtualList } from './hooks/useDynamicVirtualList';
|
|
47
|
-
// Layout System Components
|
|
48
|
-
export { AppBar } from './framework-components/appbar/appbar';
|
|
49
|
-
export { Breadcrumbs } from './framework-components/breadcrumbs/breadcrumbs';
|
|
50
|
-
export { Sidebar } from './framework-components/sidebar/sidebar';
|
|
51
|
-
export { Scaffold } from './framework-components/scaffold/scaffold';
|
|
52
|
-
export { useScaffold } from './framework-components/scaffold/scaffold-context';
|
|
53
|
-
// Mind Tree Component
|
|
54
|
-
export { MindTree } from './custom-components/mindmap/mind-tree';
|
|
55
|
-
export { Calendar } from './data-components/calendar/calendar';
|
|
56
|
-
export { Form } from './data-components/form/form';
|
|
57
|
-
export { LayoutBuilder } from './custom-components/layout-builder/layout-builder';
|
|
58
|
-
export { FileUpload } from './components/file-upload/file-upload';
|
|
59
|
-
export { Workflow } from './custom-components/workflow/workflow';
|
|
60
|
-
export { WorkflowToolbar } from './custom-components/workflow/toolbar/workflow-toolbar';
|
|
61
|
-
export { WorkflowPanel } from './custom-components/workflow/panel/workflow-panel';
|
|
62
|
-
export { validateWorkflow, getReachableNodes, getTopologicalOrder } from './custom-components/workflow/utils/workflow-validation';
|
|
63
|
-
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,CAAA;AAEtB,OAAO,EAAE,YAAY,IAAI,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAG3D,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAGpD,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAGpD,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAG1D,OAAO,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAC;AAGjF,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAEjD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAI3C,OAAO,EAAE,IAAI,EAAE,MAAM,gCAAgC,CAAC;AAGtD,OAAO,EAAE,MAAM,EAAE,MAAM,oCAAoC,CAAC;AAG5D,OAAO,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC;AAGjE,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAGpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,qEAAqE,CAAA;AAGzG,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAGhE,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAG/D,OAAO,EAAC,WAAW,EAAC,MAAM,wCAAwC,CAAC;AAInE,OAAO,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AAGzD,OAAO,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC;AAGjE,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAC;AAG3D,OAAO,EAAE,OAAO,EAAE,MA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A2B;AAC3B,OAAO,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAG9D,OAAO,EAAE,WAAW,EAAE,MAAM,gDAAgD,CAAC;AAG7E,OAAO,EAAE,OAAO,EAAE,MAAM,wCAAwC,CAAC;AAGjE,OAAO,EAAE,QAAQ,EAAE,MAAM,0CAA0C,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,MAAM,kDAAkD,CAAC;AAG/E,wBAAwB;AACxB,OAAO,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC;AASjE,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAG/D,OAAO,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AAGnD,OAAO,EAAE,aAAa,EAAE,MAAM,mDAAmD,CAAC;AAElF,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAGlE,OAAO,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC;AA8BjE,OAAO,EAAE,eAAe,EAAE,MAAM,uDAAuD,CAAC;AAMxF,OAAO,EAAE,aAAa,EAAE,MAAM,mDAAmD,CAAC;AAGlF,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EACjB,mBAAmB,EACpB,MAAM,wDAAwD,CAAC"}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Builds a system prompt for a real LLM that describes available columns, tools,
|
|
3
|
-
* and the expected JSON output format. Use this when integrating with OpenAI,
|
|
4
|
-
* Anthropic, or any other LLM provider.
|
|
5
|
-
*/
|
|
6
|
-
export function buildSystemPrompt(schema, tools, tableContext) {
|
|
7
|
-
const columnsSection = schema
|
|
8
|
-
.map((col) => {
|
|
9
|
-
let line = ` - id: "${col.id}", label: "${col.label}", type: ${col.type}`;
|
|
10
|
-
if (col.options && col.options.length > 0) {
|
|
11
|
-
line += `, options: [${col.options.map((o) => `"${o}"`).join(", ")}]`;
|
|
12
|
-
}
|
|
13
|
-
return line;
|
|
14
|
-
})
|
|
15
|
-
.join("\n");
|
|
16
|
-
const toolsSection = tools
|
|
17
|
-
.map((tool) => {
|
|
18
|
-
const params = tool.parameters
|
|
19
|
-
.map((p) => ` - ${p.name} (${p.type}${p.required ? ", required" : ""}): ${p.description}`)
|
|
20
|
-
.join("\n");
|
|
21
|
-
return ` ### ${tool.name}\n ${tool.description}\n Parameters:\n${params}`;
|
|
22
|
-
})
|
|
23
|
-
.join("\n\n");
|
|
24
|
-
let tableStateSection = "";
|
|
25
|
-
if (tableContext) {
|
|
26
|
-
const stateParts = [];
|
|
27
|
-
if (tableContext.sorting && tableContext.sorting.length > 0) {
|
|
28
|
-
const sortDesc = tableContext.sorting.map((s) => `"${s.column}" ${s.direction}`).join(", ");
|
|
29
|
-
stateParts.push(`- Sorting: ${sortDesc}`);
|
|
30
|
-
}
|
|
31
|
-
else {
|
|
32
|
-
stateParts.push("- Sorting: none");
|
|
33
|
-
}
|
|
34
|
-
if (tableContext.grouping && tableContext.grouping.length > 0) {
|
|
35
|
-
stateParts.push(`- Grouping: ${tableContext.grouping.map((g) => `"${g}"`).join(", ")}`);
|
|
36
|
-
}
|
|
37
|
-
else {
|
|
38
|
-
stateParts.push("- Grouping: none");
|
|
39
|
-
}
|
|
40
|
-
if (tableContext.selectedRowIds && tableContext.selectedRowIds.length > 0) {
|
|
41
|
-
stateParts.push(`- Selected rows (IDs): ${tableContext.selectedRowIds.join(", ")}`);
|
|
42
|
-
}
|
|
43
|
-
else {
|
|
44
|
-
stateParts.push("- Selected rows: none");
|
|
45
|
-
}
|
|
46
|
-
if (tableContext.hiddenColumnIds && tableContext.hiddenColumnIds.length > 0) {
|
|
47
|
-
stateParts.push(`- Hidden columns: ${tableContext.hiddenColumnIds.map((c) => `"${c}"`).join(", ")}`);
|
|
48
|
-
}
|
|
49
|
-
else {
|
|
50
|
-
stateParts.push("- Hidden columns: none");
|
|
51
|
-
}
|
|
52
|
-
if (tableContext.columnOrder && tableContext.columnOrder.length > 0) {
|
|
53
|
-
stateParts.push(`- Column order: ${tableContext.columnOrder.map((c) => `"${c}"`).join(", ")}`);
|
|
54
|
-
}
|
|
55
|
-
if (tableContext.columnPinning && Object.keys(tableContext.columnPinning).length > 0) {
|
|
56
|
-
const pinDesc = Object.entries(tableContext.columnPinning)
|
|
57
|
-
.map(([col, side]) => `"${col}" → ${side}`)
|
|
58
|
-
.join(", ");
|
|
59
|
-
stateParts.push(`- Pinned columns: ${pinDesc}`);
|
|
60
|
-
}
|
|
61
|
-
tableStateSection = `\n\n## Current Table State\n${stateParts.join("\n")}`;
|
|
62
|
-
if (tableContext.rows.length > 0) {
|
|
63
|
-
const total = tableContext.rows.length;
|
|
64
|
-
const preview = tableContext.rows.slice(0, 100);
|
|
65
|
-
tableStateSection += `\n\n## Table Data (${Math.min(total, 100)} of ${total} rows)\nEach object is one row. Use rowIndex (0-based) to reference rows in tool calls.\n\`\`\`json\n${JSON.stringify(preview)}\n\`\`\``;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
return `You are an AI assistant that helps users interact with a data component.
|
|
69
|
-
You receive natural language requests and respond with structured tool calls.
|
|
70
|
-
|
|
71
|
-
## Available Columns
|
|
72
|
-
${columnsSection}
|
|
73
|
-
|
|
74
|
-
## Available Tools
|
|
75
|
-
${toolsSection}${tableStateSection}
|
|
76
|
-
|
|
77
|
-
## Response Format
|
|
78
|
-
You MUST respond with valid JSON in the following format:
|
|
79
|
-
{
|
|
80
|
-
"message": "A brief description of what you are doing",
|
|
81
|
-
"toolCalls": [
|
|
82
|
-
{
|
|
83
|
-
"tool": "tool_name",
|
|
84
|
-
"arguments": { ... }
|
|
85
|
-
}
|
|
86
|
-
]
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
## Rules
|
|
90
|
-
1. ONLY use tools and columns listed above.
|
|
91
|
-
2. Use column "id" values (not labels) in tool call arguments.
|
|
92
|
-
3. You can return multiple tool calls in a single response — they will be executed sequentially.
|
|
93
|
-
4. If the user request is unclear, return an empty toolCalls array and ask for clarification in the message.
|
|
94
|
-
5. Match column references case-insensitively. If the user says "Name", map it to the column with label "Name".
|
|
95
|
-
6. Respond in the same language as the user's input.
|
|
96
|
-
7. When using fill_column_from_column, read each row's sourceColumn value from the Table Data section and determine the best targetColumn value. Return every row's assignment in the "edits" array.`;
|
|
97
|
-
}
|
|
98
|
-
//# sourceMappingURL=ai-assistant-prompts.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ai-assistant-prompts.js","sourceRoot":"","sources":["../../../src/providers/ai-assistant/ai-assistant-prompts.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,MAAM,UAAU,iBAAiB,CAAC,MAAsB,EAAE,KAAuB,EAAE,YAA6B;IAC9G,MAAM,cAAc,GAAG,MAAM;SAC1B,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE;QACX,IAAI,IAAI,GAAG,YAAY,GAAG,CAAC,EAAE,cAAc,GAAG,CAAC,KAAK,YAAY,GAAG,CAAC,IAAI,EAAE,CAAC;QAC3E,IAAI,GAAG,CAAC,OAAO,IAAI,GAAG,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAC1C,IAAI,IAAI,eAAe,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC;QACxE,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC,CAAC;SACD,IAAI,CAAC,IAAI,CAAC,CAAC;IAEd,MAAM,YAAY,GAAG,KAAK;SACvB,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACZ,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU;aAC3B,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC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BAA+B,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;QAE3E,IAAI,YAAY,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YACjC,MAAM,KAAK,GAAG,YAAY,CAAC,IAAI,CAAC,MAAM,CAAC;YACvC,MAAM,OAAO,GAAG,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;YAChD,iBAAiB,IAAI,sBAAsB,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,OAAO,KAAK,wGAAwG,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,UAAU,CAAC;QACvN,CAAC;IACH,CAAC;IAED,OAAO;;;;EAIP,cAAc;;;EAGd,YAAY,GAAG,iBAAiB;;;;;;;;;;;;;;;;;;;;;qMAqBmK,CAAC;AACtM,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ai-assistant-types.js","sourceRoot":"","sources":["../../../src/providers/ai-assistant/ai-assistant-types.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,4CAA4C;AAC5C,+DAA+D"}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Resolves a column reference (can be a label or id, case-insensitive) to the canonical column id.
|
|
3
|
-
*/
|
|
4
|
-
export function resolveColumnId(ref, schema) {
|
|
5
|
-
const lower = ref.toLowerCase();
|
|
6
|
-
const byId = schema.find((c) => c.id.toLowerCase() === lower);
|
|
7
|
-
if (byId)
|
|
8
|
-
return byId.id;
|
|
9
|
-
const byLabel = schema.find((c) => c.label.toLowerCase() === lower);
|
|
10
|
-
if (byLabel)
|
|
11
|
-
return byLabel.id;
|
|
12
|
-
return null;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Normalizes an operator string to a canonical form.
|
|
16
|
-
*/
|
|
17
|
-
export function normalizeOperator(op) {
|
|
18
|
-
const map = {
|
|
19
|
-
"=": "equals",
|
|
20
|
-
"==": "equals",
|
|
21
|
-
"===": "equals",
|
|
22
|
-
equals: "equals",
|
|
23
|
-
eq: "equals",
|
|
24
|
-
"!=": "not_equals",
|
|
25
|
-
"!==": "not_equals",
|
|
26
|
-
not_equals: "not_equals",
|
|
27
|
-
neq: "not_equals",
|
|
28
|
-
contains: "contains",
|
|
29
|
-
like: "contains",
|
|
30
|
-
">": "greater_than",
|
|
31
|
-
greater_than: "greater_than",
|
|
32
|
-
gt: "greater_than",
|
|
33
|
-
"<": "less_than",
|
|
34
|
-
less_than: "less_than",
|
|
35
|
-
lt: "less_than",
|
|
36
|
-
};
|
|
37
|
-
return map[op] ?? "equals";
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Validates and normalizes tool calls against a set of tool definitions and a column schema.
|
|
41
|
-
* This is generic — the tool-specific column resolution is delegated to the optional `resolveCall` callback.
|
|
42
|
-
* If no `resolveCall` is provided, tools are validated only for existence and required parameters.
|
|
43
|
-
*/
|
|
44
|
-
export function validateToolCalls(calls, toolDefs, schema, resolveCall) {
|
|
45
|
-
const valid = [];
|
|
46
|
-
const errors = [];
|
|
47
|
-
for (const call of calls) {
|
|
48
|
-
const def = toolDefs.find((t) => t.name === call.tool);
|
|
49
|
-
if (!def) {
|
|
50
|
-
errors.push(`Unknown tool "${call.tool}"`);
|
|
51
|
-
continue;
|
|
52
|
-
}
|
|
53
|
-
const missingParams = def.parameters.filter((p) => p.required && !(p.name in call.arguments));
|
|
54
|
-
if (missingParams.length > 0) {
|
|
55
|
-
errors.push(`Tool "${call.tool}" missing required parameters: ${missingParams.map((p) => p.name).join(", ")}`);
|
|
56
|
-
continue;
|
|
57
|
-
}
|
|
58
|
-
if (resolveCall) {
|
|
59
|
-
const result = resolveCall(call, schema);
|
|
60
|
-
if (result.errors.length > 0) {
|
|
61
|
-
errors.push(...result.errors);
|
|
62
|
-
continue;
|
|
63
|
-
}
|
|
64
|
-
if (result.resolved) {
|
|
65
|
-
valid.push(result.resolved);
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
else {
|
|
69
|
-
valid.push(call);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
return { valid, errors };
|
|
73
|
-
}
|
|
74
|
-
//# sourceMappingURL=ai-assistant-validator.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ai-assistant-validator.js","sourceRoot":"","sources":["../../../src/providers/ai-assistant/ai-assistant-validator.ts"],"names":[],"mappings":"AAOA;;GAEG;AACH,MAAM,UAAU,eAAe,CAAC,GAAW,EAAE,MAAsB;IACjE,MAAM,KAAK,GAAG,GAAG,CAAC,WAAW,EAAE,CAAC;IAChC,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,WAAW,EAAE,KAAK,KAAK,CAAC,CAAC;IAC9D,IAAI,IAAI;QAAE,OAAO,IAAI,CAAC,EAAE,CAAC;IACzB,MAAM,OAAO,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,EAAE,KAAK,KAAK,CAAC,CAAC;IACpE,IAAI,OAAO;QAAE,OAAO,OAAO,CAAC,EAAE,CAAC;IAC/B,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,iBAAiB,CAAC,EAAU;IAC1C,MAAM,GAAG,GAA2B;QAClC,GAAG,EAAE,QAAQ;QACb,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,QAAQ;QACf,MAAM,EAAE,QAAQ;QAChB,EAAE,EAAE,QAAQ;QACZ,IAAI,EAAE,YAAY;QAClB,KAAK,EAAE,YAAY;QACnB,UAAU,EAAE,YAAY;QACxB,GAAG,EAAE,YAAY;QACjB,QAAQ,EAAE,UAAU;QACpB,IAAI,EAAE,UAAU;QAChB,GAAG,EAAE,cAAc;QACnB,YAAY,EAAE,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MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBAC7B,MAAM,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC;gBAC9B,SAAS;YACX,CAAC;YACD,IAAI,MAAM,CAAC,QAAQ,EAAE,CAAC;gBACpB,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;YAC9B,CAAC;QACH,CAAC;aAAM,CAAC;YACN,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACnB,CAAC;IACH,CAAC;IAED,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC;AAC3B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ai-chat-panel-types.js","sourceRoot":"","sources":["../../../src/providers/ai-assistant/ai-chat-panel-types.ts"],"names":[],"mappings":""}
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useState, useCallback } from "react";
|
|
3
|
-
import { Chat } from "../../custom-components/chat/chat";
|
|
4
|
-
export function AIChatPanel({ aiProvider, toolDefinitions, schema, tableContext, onExecute, onValidate, emptyStateText, requiresConfirmation, quickActions, }) {
|
|
5
|
-
const [messages, setMessages] = useState([]);
|
|
6
|
-
const [inputValue, setInputValue] = useState("");
|
|
7
|
-
const [isProcessing, setIsProcessing] = useState(false);
|
|
8
|
-
const [pendingData, setPendingData] = useState(null);
|
|
9
|
-
const sendMessage = useCallback(async (text) => {
|
|
10
|
-
if (!text || isProcessing || pendingData)
|
|
11
|
-
return;
|
|
12
|
-
const userMessage = {
|
|
13
|
-
id: `msg-${Date.now()}`,
|
|
14
|
-
role: "user",
|
|
15
|
-
content: text,
|
|
16
|
-
timestamp: new Date().toISOString(),
|
|
17
|
-
};
|
|
18
|
-
setMessages((prev) => [...prev, userMessage]);
|
|
19
|
-
setIsProcessing(true);
|
|
20
|
-
try {
|
|
21
|
-
const response = await aiProvider.processMessage(text, schema, toolDefinitions, tableContext);
|
|
22
|
-
let validCalls = response.toolCalls;
|
|
23
|
-
let validationErrors = [];
|
|
24
|
-
if (onValidate) {
|
|
25
|
-
const result = onValidate(response.toolCalls, schema);
|
|
26
|
-
validCalls = result.valid;
|
|
27
|
-
validationErrors = result.errors;
|
|
28
|
-
}
|
|
29
|
-
if (requiresConfirmation && validCalls.length > 0) {
|
|
30
|
-
const messageId = `msg-${Date.now() + 1}`;
|
|
31
|
-
const assistantMessage = {
|
|
32
|
-
id: messageId,
|
|
33
|
-
role: "assistant",
|
|
34
|
-
content: response.message,
|
|
35
|
-
toolCalls: validCalls,
|
|
36
|
-
status: "pending",
|
|
37
|
-
timestamp: new Date().toISOString(),
|
|
38
|
-
};
|
|
39
|
-
setMessages((prev) => [...prev, assistantMessage]);
|
|
40
|
-
setPendingData({ messageId, validCalls, validationErrors });
|
|
41
|
-
}
|
|
42
|
-
else {
|
|
43
|
-
let executionResults = [];
|
|
44
|
-
if (validCalls.length > 0) {
|
|
45
|
-
executionResults = onExecute(validCalls);
|
|
46
|
-
}
|
|
47
|
-
if (validationErrors.length > 0) {
|
|
48
|
-
executionResults = [...executionResults, ...validationErrors.map((err) => ({ tool: "validation", success: false, message: err }))];
|
|
49
|
-
}
|
|
50
|
-
const assistantMessage = {
|
|
51
|
-
id: `msg-${Date.now() + 1}`,
|
|
52
|
-
role: "assistant",
|
|
53
|
-
content: response.message,
|
|
54
|
-
toolCalls: validCalls,
|
|
55
|
-
executionResults,
|
|
56
|
-
timestamp: new Date().toISOString(),
|
|
57
|
-
};
|
|
58
|
-
setMessages((prev) => [...prev, assistantMessage]);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
catch (err) {
|
|
62
|
-
const errorMessage = {
|
|
63
|
-
id: `msg-${Date.now() + 1}`,
|
|
64
|
-
role: "assistant",
|
|
65
|
-
content: err instanceof Error ? err.message : "An error occurred while processing your request.",
|
|
66
|
-
timestamp: new Date().toISOString(),
|
|
67
|
-
};
|
|
68
|
-
setMessages((prev) => [...prev, errorMessage]);
|
|
69
|
-
}
|
|
70
|
-
finally {
|
|
71
|
-
setIsProcessing(false);
|
|
72
|
-
}
|
|
73
|
-
}, [isProcessing, pendingData, aiProvider, schema, tableContext, toolDefinitions, onExecute, onValidate, requiresConfirmation]);
|
|
74
|
-
const handleSubmit = useCallback(async (e) => {
|
|
75
|
-
e?.preventDefault();
|
|
76
|
-
const text = inputValue.trim();
|
|
77
|
-
if (!text)
|
|
78
|
-
return;
|
|
79
|
-
setInputValue("");
|
|
80
|
-
await sendMessage(text);
|
|
81
|
-
}, [inputValue, sendMessage]);
|
|
82
|
-
const handleQuickAction = useCallback(async (prompt) => {
|
|
83
|
-
await sendMessage(prompt);
|
|
84
|
-
}, [sendMessage]);
|
|
85
|
-
const handleConfirm = useCallback(() => {
|
|
86
|
-
if (!pendingData)
|
|
87
|
-
return;
|
|
88
|
-
const executionResults = onExecute(pendingData.validCalls);
|
|
89
|
-
const allResults = pendingData.validationErrors.length > 0
|
|
90
|
-
? [...executionResults, ...pendingData.validationErrors.map((err) => ({ tool: "validation", success: false, message: err }))]
|
|
91
|
-
: executionResults;
|
|
92
|
-
setMessages((prev) => prev.map((msg) => (msg.id === pendingData.messageId ? { ...msg, status: "confirmed", executionResults: allResults } : msg)));
|
|
93
|
-
setPendingData(null);
|
|
94
|
-
}, [pendingData, onExecute]);
|
|
95
|
-
const handleReject = useCallback(() => {
|
|
96
|
-
if (!pendingData)
|
|
97
|
-
return;
|
|
98
|
-
setMessages((prev) => prev.map((msg) => msg.id === pendingData.messageId
|
|
99
|
-
? { ...msg, status: "rejected", executionResults: [{ tool: "confirmation", success: false, message: "Discarded by user" }] }
|
|
100
|
-
: msg));
|
|
101
|
-
setPendingData(null);
|
|
102
|
-
}, [pendingData]);
|
|
103
|
-
const handleKeyDown = useCallback((e) => {
|
|
104
|
-
if (e.key === "Enter" && !e.shiftKey) {
|
|
105
|
-
e.preventDefault();
|
|
106
|
-
handleSubmit();
|
|
107
|
-
}
|
|
108
|
-
}, [handleSubmit]);
|
|
109
|
-
return (_jsx(Chat, { messages: messages, isProcessing: isProcessing, emptyStateText: emptyStateText, inputValue: inputValue, onInputChange: setInputValue, onKeyDown: handleKeyDown, onSubmit: handleSubmit, onConfirm: pendingData ? handleConfirm : undefined, onReject: pendingData ? handleReject : undefined, quickActions: quickActions, onQuickAction: handleQuickAction }));
|
|
110
|
-
}
|
|
111
|
-
//# sourceMappingURL=ai-chat-panel.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ai-chat-panel.js","sourceRoot":"","sources":["../../../src/providers/ai-assistant/ai-chat-panel.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAG9C,OAAO,EAAE,IAAI,EAAE,MAAM,mCAAmC,CAAC;AAQzD,MAAM,UAAU,WAAW,CAAC,EAC1B,UAAU,EACV,eAAe,EACf,MAAM,EACN,YAAY,EACZ,SAAS,EACT,UAAU,EACV,cAAc,EACd,oBAAoB,EACpB,YAAY,GACK;IACjB,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAgB,EAAE,CAAC,CAAC;IAC5D,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;IACjD,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IACxD,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAqB,IAAI,CAAC,CAAC;IAEzE,MAAM,WAAW,GAAG,WAAW,CAC7B,KAAK,EAAE,IAAY,EAAE,EAAE;QACrB,IAAI,CAAC,IAAI,IAAI,YAAY,IAAI,WAAW;YAAE,OAAO;QAEjD,MAAM,WAAW,GAAgB;YAC/B,EAAE,EAAE,OAAO,IAAI,CAAC,GAAG,EAAE,EA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AAQ,EAAE,QAAQ,EAClB,YAAY,EAAE,YAAY,EAC1B,cAAc,EAAE,cAAc,EAC9B,UAAU,EAAE,UAAU,EACtB,aAAa,EAAE,aAAa,EAC5B,SAAS,EAAE,aAAa,EACxB,QAAQ,EAAE,YAAY,EACtB,SAAS,EAAE,WAAW,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,EAClD,QAAQ,EAAE,WAAW,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,EAChD,YAAY,EAAE,YAAY,EAC1B,aAAa,EAAE,iBAAiB,GAChC,CACH,CAAC;AACJ,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { createContext } from "react";
|
|
2
|
-
/**
|
|
3
|
-
* Context for shortcut management throughout the application
|
|
4
|
-
* Provides methods for registering, unregistering, and triggering shortcuts
|
|
5
|
-
*/
|
|
6
|
-
export const ShortcutContext = createContext(null);
|
|
7
|
-
//# sourceMappingURL=shortcut-context.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shortcut-context.js","sourceRoot":"","sources":["../../../src/providers/shortcut/shortcut-context.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAGtC;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,aAAa,CAA8B,IAAI,CAAC,CAAC"}
|