impact-nova 0.1.0
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/README.md +237 -0
- package/dist/App.d.ts +2 -0
- package/dist/assets/flatten.worker-C7x-Wj6s.js +1 -0
- package/dist/components/layout/dashboard-layout.d.ts +25 -0
- package/dist/components/ui/accordion-nested-list/accordion-nested-list.d.ts +3 -0
- package/dist/components/ui/accordion-nested-list/accordion-nested-list.js +105 -0
- package/dist/components/ui/accordion-nested-list/hooks/useAccordionNestedListState.d.ts +19 -0
- package/dist/components/ui/accordion-nested-list/hooks/useAccordionNestedListState.js +41 -0
- package/dist/components/ui/accordion-nested-list/index.d.ts +2 -0
- package/dist/components/ui/accordion-nested-list/index.js +4 -0
- package/dist/components/ui/accordion.d.ts +10 -0
- package/dist/components/ui/accordion.js +52 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/actions-cell-renderer.d.ts +30 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/actions-cell-renderer.js +27 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/badge-cell-renderer.d.ts +44 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/badge-cell-renderer.js +22 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/checkbox-display-renderer.d.ts +29 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/checkbox-display-renderer.js +36 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/date-display-renderer.d.ts +37 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/date-display-renderer.js +50 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/editors/date-cell-editor.d.ts +33 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/editors/date-cell-editor.js +73 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/editors/input-cell-editor.d.ts +21 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/editors/input-cell-editor.js +91 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/editors/select-cell-editor.d.ts +45 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/editors/select-cell-editor.js +64 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/editors/split-cell-editor.d.ts +9 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/editors/split-cell-editor.js +85 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/editors/textarea-cell-editor.d.ts +31 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/editors/textarea-cell-editor.js +61 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/empty-cell-renderer.d.ts +10 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/empty-cell-renderer.js +5 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/index.d.ts +90 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/index.js +65 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/input-display-renderer.d.ts +35 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/input-display-renderer.js +27 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/link-with-batch-cell-renderer.d.ts +63 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/link-with-batch-cell-renderer.js +148 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/select-display-renderer.d.ts +45 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/select-display-renderer.js +25 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/split-cell-renderer.d.ts +13 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/split-cell-renderer.js +67 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/status-badge-renderer.d.ts +35 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/status-badge-renderer.js +26 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/switch-display-renderer.d.ts +35 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/switch-display-renderer.js +38 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/textarea-display-renderer.d.ts +34 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/textarea-display-renderer.js +32 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/types.d.ts +129 -0
- package/dist/components/ui/ag-grid-react/cell-renderers/types.js +74 -0
- package/dist/components/ui/ag-grid-react/headers/advanced-filter/advanced-filter-dialog.d.ts +24 -0
- package/dist/components/ui/ag-grid-react/headers/advanced-filter/advanced-filter-dialog.js +223 -0
- package/dist/components/ui/ag-grid-react/headers/advanced-filter/column-filter-section.d.ts +24 -0
- package/dist/components/ui/ag-grid-react/headers/advanced-filter/column-filter-section.js +230 -0
- package/dist/components/ui/ag-grid-react/headers/column-menu/column-settings-menu.d.ts +11 -0
- package/dist/components/ui/ag-grid-react/headers/column-menu/column-settings-menu.js +113 -0
- package/dist/components/ui/ag-grid-react/headers/components/header-info.d.ts +37 -0
- package/dist/components/ui/ag-grid-react/headers/components/header-info.js +93 -0
- package/dist/components/ui/ag-grid-react/headers/components/info-modal.d.ts +12 -0
- package/dist/components/ui/ag-grid-react/headers/components/info-modal.js +18 -0
- package/dist/components/ui/ag-grid-react/headers/components/lazy-tooltip.d.ts +16 -0
- package/dist/components/ui/ag-grid-react/headers/components/lazy-tooltip.js +13 -0
- package/dist/components/ui/ag-grid-react/headers/components/section-renderers.d.ts +32 -0
- package/dist/components/ui/ag-grid-react/headers/components/section-renderers.js +78 -0
- package/dist/components/ui/ag-grid-react/headers/context/grid-header-context.d.ts +34 -0
- package/dist/components/ui/ag-grid-react/headers/context/grid-header-context.js +6 -0
- package/dist/components/ui/ag-grid-react/headers/custom-header-group.d.ts +12 -0
- package/dist/components/ui/ag-grid-react/headers/custom-header-group.js +33 -0
- package/dist/components/ui/ag-grid-react/headers/custom-header.d.ts +4 -0
- package/dist/components/ui/ag-grid-react/headers/custom-header.js +230 -0
- package/dist/components/ui/ag-grid-react/headers/header-search-input.d.ts +29 -0
- package/dist/components/ui/ag-grid-react/headers/header-search-input.js +352 -0
- package/dist/components/ui/ag-grid-react/headers/utils/date-utils.d.ts +46 -0
- package/dist/components/ui/ag-grid-react/headers/utils/date-utils.js +38 -0
- package/dist/components/ui/ag-grid-react/headers/utils/filter-utils.d.ts +117 -0
- package/dist/components/ui/ag-grid-react/headers/utils/filter-utils.js +434 -0
- package/dist/components/ui/ag-grid-react/index.d.ts +5 -0
- package/dist/components/ui/ag-grid-react/index.js +183 -0
- package/dist/components/ui/ag-grid-react/process-backend-columndefs.d.ts +31 -0
- package/dist/components/ui/ag-grid-react/process-backend-columndefs.js +61 -0
- package/dist/components/ui/ag-grid-react/theme.d.ts +2 -0
- package/dist/components/ui/ag-grid-react/theme.js +46 -0
- package/dist/components/ui/ag-grid-react/value-formatters.d.ts +22 -0
- package/dist/components/ui/ag-grid-react/value-formatters.js +95 -0
- package/dist/components/ui/alert-dialog.d.ts +20 -0
- package/dist/components/ui/alert-dialog.js +114 -0
- package/dist/components/ui/alert.d.ts +11 -0
- package/dist/components/ui/alert.js +54 -0
- package/dist/components/ui/avatar.d.ts +14 -0
- package/dist/components/ui/avatar.js +60 -0
- package/dist/components/ui/badge.d.ts +10 -0
- package/dist/components/ui/badge.js +54 -0
- package/dist/components/ui/breadcrumb.d.ts +24 -0
- package/dist/components/ui/breadcrumb.js +150 -0
- package/dist/components/ui/button-group.d.ts +17 -0
- package/dist/components/ui/button-group.js +110 -0
- package/dist/components/ui/button-variants.d.ts +4 -0
- package/dist/components/ui/button-variants.js +31 -0
- package/dist/components/ui/button.d.ts +10 -0
- package/dist/components/ui/button.js +27 -0
- package/dist/components/ui/calendar.d.ts +46 -0
- package/dist/components/ui/calendar.js +660 -0
- package/dist/components/ui/card.d.ts +8 -0
- package/dist/components/ui/card.js +61 -0
- package/dist/components/ui/chart/chart.d.ts +29 -0
- package/dist/components/ui/chart/chart.js +203 -0
- package/dist/components/ui/chart/chart.utils.d.ts +3 -0
- package/dist/components/ui/chart/chart.utils.js +192 -0
- package/dist/components/ui/chart/index.d.ts +3 -0
- package/dist/components/ui/chart/index.js +12 -0
- package/dist/components/ui/checkbox.d.ts +8 -0
- package/dist/components/ui/checkbox.js +54 -0
- package/dist/components/ui/chips.d.ts +13 -0
- package/dist/components/ui/chips.js +60 -0
- package/dist/components/ui/data-table/data-table-column-list.d.ts +6 -0
- package/dist/components/ui/data-table/data-table-column-list.js +153 -0
- package/dist/components/ui/data-table/data-table-context.d.ts +18 -0
- package/dist/components/ui/data-table/data-table-context.js +11 -0
- package/dist/components/ui/data-table/data-table-format-options.d.ts +1 -0
- package/dist/components/ui/data-table/data-table-format-options.js +74 -0
- package/dist/components/ui/data-table/data-table-sheet.d.ts +20 -0
- package/dist/components/ui/data-table/data-table-sheet.js +81 -0
- package/dist/components/ui/data-table/data-table-view-options.d.ts +8 -0
- package/dist/components/ui/data-table/data-table-view-options.js +75 -0
- package/dist/components/ui/data-table/data-table.d.ts +26 -0
- package/dist/components/ui/data-table/data-table.js +67 -0
- package/dist/components/ui/data-table/index.d.ts +6 -0
- package/dist/components/ui/data-table/index.js +20 -0
- package/dist/components/ui/data-table/stories/fakeServer.d.ts +14 -0
- package/dist/components/ui/data-table/stories/interfaces.d.ts +15 -0
- package/dist/components/ui/date-picker/date-picker.d.ts +3 -0
- package/dist/components/ui/date-picker/date-picker.js +116 -0
- package/dist/components/ui/date-picker/date-range-picker.d.ts +3 -0
- package/dist/components/ui/date-picker/date-range-picker.js +195 -0
- package/dist/components/ui/date-picker/index.d.ts +18 -0
- package/dist/components/ui/date-picker/index.js +20 -0
- package/dist/components/ui/date-picker/month-picker.d.ts +3 -0
- package/dist/components/ui/date-picker/month-picker.js +117 -0
- package/dist/components/ui/date-picker/month-range-picker.d.ts +3 -0
- package/dist/components/ui/date-picker/month-range-picker.js +193 -0
- package/dist/components/ui/date-picker/multi-date-picker.d.ts +3 -0
- package/dist/components/ui/date-picker/multi-date-picker.js +94 -0
- package/dist/components/ui/date-picker/multi-month-picker.d.ts +3 -0
- package/dist/components/ui/date-picker/multi-month-picker.js +93 -0
- package/dist/components/ui/date-picker/multi-week-picker.d.ts +3 -0
- package/dist/components/ui/date-picker/multi-week-picker.js +98 -0
- package/dist/components/ui/date-picker/week-picker.d.ts +3 -0
- package/dist/components/ui/date-picker/week-picker.js +135 -0
- package/dist/components/ui/date-picker/week-range-picker.d.ts +3 -0
- package/dist/components/ui/date-picker/week-range-picker.js +207 -0
- package/dist/components/ui/dialog.d.ts +25 -0
- package/dist/components/ui/dialog.js +116 -0
- package/dist/components/ui/drawer.d.ts +22 -0
- package/dist/components/ui/drawer.js +98 -0
- package/dist/components/ui/dropdown-menu.d.ts +42 -0
- package/dist/components/ui/dropdown-menu.js +193 -0
- package/dist/components/ui/dynamic-layout.d.ts +12 -0
- package/dist/components/ui/dynamic-layout.js +50 -0
- package/dist/components/ui/empty-container.d.ts +8 -0
- package/dist/components/ui/empty-container.js +108 -0
- package/dist/components/ui/file-upload.d.ts +12 -0
- package/dist/components/ui/file-upload.js +241 -0
- package/dist/components/ui/filter-panel/filter-panel.d.ts +7 -0
- package/dist/components/ui/filter-panel/filter-panel.js +101 -0
- package/dist/components/ui/filter-panel/index.d.ts +2 -0
- package/dist/components/ui/filter-panel/index.js +8 -0
- package/dist/components/ui/filter-strip/filter-strip.d.ts +3 -0
- package/dist/components/ui/filter-strip/filter-strip.js +95 -0
- package/dist/components/ui/filter-strip/filter-summary.d.ts +15 -0
- package/dist/components/ui/filter-strip/filter-summary.js +204 -0
- package/dist/components/ui/filter-strip/filter-tag-list.d.ts +9 -0
- package/dist/components/ui/filter-strip/filter-tag-list.js +136 -0
- package/dist/components/ui/filter-strip/index.d.ts +2 -0
- package/dist/components/ui/filter-strip/index.js +4 -0
- package/dist/components/ui/header.d.ts +15 -0
- package/dist/components/ui/header.js +125 -0
- package/dist/components/ui/horizontal-scroller/horizontal-scroller.d.ts +4 -0
- package/dist/components/ui/horizontal-scroller/horizontal-scroller.js +165 -0
- package/dist/components/ui/horizontal-scroller/index.d.ts +2 -0
- package/dist/components/ui/horizontal-scroller/index.js +1 -0
- package/dist/components/ui/hover-card.d.ts +6 -0
- package/dist/components/ui/hover-card.js +23 -0
- package/dist/components/ui/input.d.ts +17 -0
- package/dist/components/ui/input.js +107 -0
- package/dist/components/ui/label.d.ts +3 -0
- package/dist/components/ui/label.js +18 -0
- package/dist/components/ui/loader.d.ts +11 -0
- package/dist/components/ui/loader.js +72 -0
- package/dist/components/ui/nested-list/components/NestedListApplyDiscardButtons.d.ts +11 -0
- package/dist/components/ui/nested-list/components/NestedListApplyDiscardButtons.js +37 -0
- package/dist/components/ui/nested-list/components/NestedListCategoryFilters.d.ts +10 -0
- package/dist/components/ui/nested-list/components/NestedListCategoryFilters.js +33 -0
- package/dist/components/ui/nested-list/components/NestedListContent.d.ts +21 -0
- package/dist/components/ui/nested-list/components/NestedListContent.js +73 -0
- package/dist/components/ui/nested-list/components/NestedListDragOverlay.d.ts +7 -0
- package/dist/components/ui/nested-list/components/NestedListHeader.d.ts +18 -0
- package/dist/components/ui/nested-list/components/NestedListHeader.js +86 -0
- package/dist/components/ui/nested-list/components/SortableItem.d.ts +17 -0
- package/dist/components/ui/nested-list/components/SortableItem.js +139 -0
- package/dist/components/ui/nested-list/hooks/useNestedListDragDrop.d.ts +14 -0
- package/dist/components/ui/nested-list/hooks/useNestedListDragDrop.js +168 -0
- package/dist/components/ui/nested-list/hooks/useNestedListHandlers.d.ts +42 -0
- package/dist/components/ui/nested-list/hooks/useNestedListHandlers.js +185 -0
- package/dist/components/ui/nested-list/hooks/useNestedListSelectAll.d.ts +16 -0
- package/dist/components/ui/nested-list/hooks/useNestedListSelectAll.js +62 -0
- package/dist/components/ui/nested-list/hooks/useNestedListState.d.ts +73 -0
- package/dist/components/ui/nested-list/hooks/useNestedListState.js +165 -0
- package/dist/components/ui/nested-list/index.d.ts +2 -0
- package/dist/components/ui/nested-list/index.js +6 -0
- package/dist/components/ui/nested-list/nested-list.d.ts +3 -0
- package/dist/components/ui/nested-list/nested-list.js +363 -0
- package/dist/components/ui/notification-panel/index.d.ts +3 -0
- package/dist/components/ui/notification-panel/index.js +20 -0
- package/dist/components/ui/notification-panel/notification-item.d.ts +14 -0
- package/dist/components/ui/notification-panel/notification-item.js +86 -0
- package/dist/components/ui/notification-panel/notification-list.d.ts +5 -0
- package/dist/components/ui/notification-panel/notification-list.js +45 -0
- package/dist/components/ui/notification-panel/notification-panel.d.ts +9 -0
- package/dist/components/ui/notification-panel/notification-panel.js +58 -0
- package/dist/components/ui/popover.d.ts +24 -0
- package/dist/components/ui/popover.js +84 -0
- package/dist/components/ui/portal.d.ts +7 -0
- package/dist/components/ui/portal.js +18 -0
- package/dist/components/ui/progress-bar.d.ts +1 -0
- package/dist/components/ui/progress.d.ts +9 -0
- package/dist/components/ui/progress.js +61 -0
- package/dist/components/ui/prompt.d.ts +26 -0
- package/dist/components/ui/prompt.js +141 -0
- package/dist/components/ui/radio-group.d.ts +11 -0
- package/dist/components/ui/radio-group.js +68 -0
- package/dist/components/ui/select/components/LabelWithSequence.d.ts +13 -0
- package/dist/components/ui/select/components/LabelWithSequence.js +18 -0
- package/dist/components/ui/select/components/Submenu.d.ts +15 -0
- package/dist/components/ui/select/components/Submenu.js +85 -0
- package/dist/components/ui/select/hooks/useClickOutside.d.ts +15 -0
- package/dist/components/ui/select/hooks/useClickOutside.js +43 -0
- package/dist/components/ui/select/hooks/useFlattenOptions.d.ts +24 -0
- package/dist/components/ui/select/hooks/useFlattenOptions.js +233 -0
- package/dist/components/ui/select/hooks/useMenuPosition.d.ts +2 -0
- package/dist/components/ui/select/hooks/useMenuPosition.js +89 -0
- package/dist/components/ui/select/hooks/useSelectionModel.d.ts +6 -0
- package/dist/components/ui/select/hooks/useSelectionModel.js +25 -0
- package/dist/components/ui/select/hooks/useVisibleStats.d.ts +16 -0
- package/dist/components/ui/select/hooks/useVisibleStats.js +54 -0
- package/dist/components/ui/select/index.d.ts +3 -0
- package/dist/components/ui/select/index.js +13 -0
- package/dist/components/ui/select/select.d.ts +6 -0
- package/dist/components/ui/select/select.js +814 -0
- package/dist/components/ui/select/utils/select.d.ts +12 -0
- package/dist/components/ui/select/utils/select.js +72 -0
- package/dist/components/ui/select/workers/flatten.worker.d.ts +9 -0
- package/dist/components/ui/select/workers/flatten.worker.js +11 -0
- package/dist/components/ui/separator.d.ts +4 -0
- package/dist/components/ui/separator.js +24 -0
- package/dist/components/ui/sheet.d.ts +30 -0
- package/dist/components/ui/sheet.js +157 -0
- package/dist/components/ui/sidebar.d.ts +98 -0
- package/dist/components/ui/sidebar.js +681 -0
- package/dist/components/ui/skeleton.d.ts +2 -0
- package/dist/components/ui/skeleton.js +17 -0
- package/dist/components/ui/slider.d.ts +4 -0
- package/dist/components/ui/slider.js +23 -0
- package/dist/components/ui/smart-input.d.ts +25 -0
- package/dist/components/ui/smart-input.js +177 -0
- package/dist/components/ui/stepper.d.ts +22 -0
- package/dist/components/ui/stepper.js +137 -0
- package/dist/components/ui/switch.d.ts +4 -0
- package/dist/components/ui/switch.js +27 -0
- package/dist/components/ui/tabs.d.ts +14 -0
- package/dist/components/ui/tabs.js +102 -0
- package/dist/components/ui/tag-group.d.ts +22 -0
- package/dist/components/ui/tag-group.js +56 -0
- package/dist/components/ui/tag.d.ts +16 -0
- package/dist/components/ui/tag.js +72 -0
- package/dist/components/ui/textarea.d.ts +13 -0
- package/dist/components/ui/textarea.js +85 -0
- package/dist/components/ui/toast.d.ts +17 -0
- package/dist/components/ui/toast.js +102 -0
- package/dist/components/ui/toaster.d.ts +6 -0
- package/dist/components/ui/toaster.js +100 -0
- package/dist/components/ui/tooltip.d.ts +14 -0
- package/dist/components/ui/tooltip.js +49 -0
- package/dist/components/ui/types/accordion-nested-list.types.d.ts +112 -0
- package/dist/components/ui/types/accordion.types.d.ts +1 -0
- package/dist/components/ui/types/ag-grid.types.d.ts +164 -0
- package/dist/components/ui/types/alert.types.d.ts +5 -0
- package/dist/components/ui/types/avatar.types.d.ts +1 -0
- package/dist/components/ui/types/badge.types.d.ts +1 -0
- package/dist/components/ui/types/breadcrumb.types.d.ts +1 -0
- package/dist/components/ui/types/button-group.types.d.ts +1 -0
- package/dist/components/ui/types/button.types.d.ts +1 -0
- package/dist/components/ui/types/card.types.d.ts +1 -0
- package/dist/components/ui/types/chart.types.d.ts +23 -0
- package/dist/components/ui/types/checkbox.types.d.ts +1 -0
- package/dist/components/ui/types/chips.types.d.ts +1 -0
- package/dist/components/ui/types/date-picker.types.d.ts +100 -0
- package/dist/components/ui/types/dialog.types.d.ts +8 -0
- package/dist/components/ui/types/dynamic-layout.types.d.ts +1 -0
- package/dist/components/ui/types/empty-container.types.d.ts +18 -0
- package/dist/components/ui/types/file-upload.types.d.ts +23 -0
- package/dist/components/ui/types/filter-panel.types.d.ts +42 -0
- package/dist/components/ui/types/filter-strip.types.d.ts +86 -0
- package/dist/components/ui/types/horizontal-scroller.types.d.ts +49 -0
- package/dist/components/ui/types/hover-card.types.d.ts +1 -0
- package/dist/components/ui/types/input.types.d.ts +1 -0
- package/dist/components/ui/types/loader.types.d.ts +1 -0
- package/dist/components/ui/types/nested-list.types.d.ts +63 -0
- package/dist/components/ui/types/nested-list.types.js +24 -0
- package/dist/components/ui/types/notification-panel.types.d.ts +63 -0
- package/dist/components/ui/types/popover.types.d.ts +1 -0
- package/dist/components/ui/types/progress-bar.types.d.ts +2 -0
- package/dist/components/ui/types/prompt.types.d.ts +1 -0
- package/dist/components/ui/types/radio-button-group.types.d.ts +1 -0
- package/dist/components/ui/types/select.types.d.ts +329 -0
- package/dist/components/ui/types/sidebar.types.d.ts +1 -0
- package/dist/components/ui/types/slider.types.d.ts +1 -0
- package/dist/components/ui/types/stepper.types.d.ts +1 -0
- package/dist/components/ui/types/switch.types.d.ts +1 -0
- package/dist/components/ui/types/tabs.types.d.ts +1 -0
- package/dist/components/ui/types/tag-group.types.d.ts +1 -0
- package/dist/components/ui/types/tag.types.d.ts +1 -0
- package/dist/components/ui/types/text-area.types.d.ts +1 -0
- package/dist/hooks/use-mobile.d.ts +1 -0
- package/dist/hooks/use-toast.d.ts +45 -0
- package/dist/hooks/use-toast.js +97 -0
- package/dist/ia-logo.svg +18 -0
- package/dist/icons/assets/PivotMode.svg.js +4 -0
- package/dist/icons/assets/PivotMode.svg2.js +5 -0
- package/dist/icons/assets/alan.svg.js +4 -0
- package/dist/icons/assets/alan.svg2.js +5 -0
- package/dist/icons/assets/alerts.svg.js +4 -0
- package/dist/icons/assets/alerts.svg2.js +5 -0
- package/dist/icons/assets/analyticalSearch.svg.js +4 -0
- package/dist/icons/assets/analyticalSearch.svg2.js +5 -0
- package/dist/icons/assets/back.svg.js +4 -0
- package/dist/icons/assets/back.svg2.js +5 -0
- package/dist/icons/assets/backdrop.svg.js +4 -0
- package/dist/icons/assets/backdrop.svg2.js +15 -0
- package/dist/icons/assets/bell.svg.js +4 -0
- package/dist/icons/assets/bell.svg2.js +5 -0
- package/dist/icons/assets/bin.svg.js +4 -0
- package/dist/icons/assets/bin.svg2.js +5 -0
- package/dist/icons/assets/blocks.svg.js +4 -0
- package/dist/icons/assets/blocks.svg2.js +5 -0
- package/dist/icons/assets/box.svg.js +4 -0
- package/dist/icons/assets/box.svg2.js +5 -0
- package/dist/icons/assets/calender-month.svg.js +4 -0
- package/dist/icons/assets/calender-month.svg2.js +5 -0
- package/dist/icons/assets/calender.svg.js +4 -0
- package/dist/icons/assets/calender.svg2.js +5 -0
- package/dist/icons/assets/chart.svg.js +4 -0
- package/dist/icons/assets/chart.svg2.js +5 -0
- package/dist/icons/assets/checkmark.svg.js +4 -0
- package/dist/icons/assets/checkmark.svg2.js +5 -0
- package/dist/icons/assets/chevronRight.svg.js +4 -0
- package/dist/icons/assets/chevronRight.svg2.js +5 -0
- package/dist/icons/assets/collapse.svg.js +4 -0
- package/dist/icons/assets/collapse.svg2.js +5 -0
- package/dist/icons/assets/column.svg.js +4 -0
- package/dist/icons/assets/column.svg2.js +5 -0
- package/dist/icons/assets/copy.svg.js +4 -0
- package/dist/icons/assets/copy.svg2.js +5 -0
- package/dist/icons/assets/createNewDocument.svg.js +4 -0
- package/dist/icons/assets/createNewDocument.svg2.js +5 -0
- package/dist/icons/assets/cross.svg.js +4 -0
- package/dist/icons/assets/cross.svg2.js +5 -0
- package/dist/icons/assets/delete.svg.js +4 -0
- package/dist/icons/assets/delete.svg2.js +5 -0
- package/dist/icons/assets/density.svg.js +4 -0
- package/dist/icons/assets/density.svg2.js +5 -0
- package/dist/icons/assets/document.svg.js +4 -0
- package/dist/icons/assets/document.svg2.js +5 -0
- package/dist/icons/assets/drag.svg.js +4 -0
- package/dist/icons/assets/drag.svg2.js +5 -0
- package/dist/icons/assets/draw.svg.js +4 -0
- package/dist/icons/assets/draw.svg2.js +5 -0
- package/dist/icons/assets/email.svg.js +4 -0
- package/dist/icons/assets/email.svg2.js +5 -0
- package/dist/icons/assets/errorCircle.svg.js +4 -0
- package/dist/icons/assets/errorCircle.svg2.js +5 -0
- package/dist/icons/assets/expand.svg.js +4 -0
- package/dist/icons/assets/expand.svg2.js +5 -0
- package/dist/icons/assets/filter.svg.js +4 -0
- package/dist/icons/assets/filter.svg2.js +5 -0
- package/dist/icons/assets/fiveSideStar.svg.js +4 -0
- package/dist/icons/assets/fiveSideStar.svg2.js +5 -0
- package/dist/icons/assets/floppy.svg.js +4 -0
- package/dist/icons/assets/floppy.svg2.js +5 -0
- package/dist/icons/assets/font.svg.js +4 -0
- package/dist/icons/assets/font.svg2.js +5 -0
- package/dist/icons/assets/funnel-hide.svg.js +4 -0
- package/dist/icons/assets/funnel-hide.svg2.js +5 -0
- package/dist/icons/assets/funnel-show.svg.js +4 -0
- package/dist/icons/assets/funnel-show.svg2.js +5 -0
- package/dist/icons/assets/globe.svg.js +4 -0
- package/dist/icons/assets/globe.svg2.js +5 -0
- package/dist/icons/assets/hamburger-closed.svg.js +4 -0
- package/dist/icons/assets/hamburger-closed.svg2.js +5 -0
- package/dist/icons/assets/hamburger-open.svg.js +4 -0
- package/dist/icons/assets/hamburger-open.svg2.js +5 -0
- package/dist/icons/assets/help-icon.svg.js +4 -0
- package/dist/icons/assets/help-icon.svg2.js +5 -0
- package/dist/icons/assets/ia-logo.svg.js +4 -0
- package/dist/icons/assets/ia-logo.svg2.js +5 -0
- package/dist/icons/assets/illustration_1.svg.js +4 -0
- package/dist/icons/assets/illustration_1.svg2.js +5 -0
- package/dist/icons/assets/info-icon.svg.js +4 -0
- package/dist/icons/assets/info-icon.svg2.js +5 -0
- package/dist/icons/assets/loadingSpinner.svg.js +4 -0
- package/dist/icons/assets/loadingSpinner.svg2.js +5 -0
- package/dist/icons/assets/locked.svg.js +4 -0
- package/dist/icons/assets/locked.svg2.js +5 -0
- package/dist/icons/assets/loginArrow.svg.js +4 -0
- package/dist/icons/assets/loginArrow.svg2.js +5 -0
- package/dist/icons/assets/matchWith.svg.js +4 -0
- package/dist/icons/assets/matchWith.svg2.js +5 -0
- package/dist/icons/assets/message-icon.svg.js +4 -0
- package/dist/icons/assets/message-icon.svg2.js +5 -0
- package/dist/icons/assets/more.svg.js +4 -0
- package/dist/icons/assets/more.svg2.js +5 -0
- package/dist/icons/assets/multi-color-filter.svg.js +4 -0
- package/dist/icons/assets/multi-color-filter.svg2.js +5 -0
- package/dist/icons/assets/paperrocket.svg.js +4 -0
- package/dist/icons/assets/paperrocket.svg2.js +5 -0
- package/dist/icons/assets/pencil.svg.js +4 -0
- package/dist/icons/assets/pencil.svg2.js +5 -0
- package/dist/icons/assets/person.svg.js +4 -0
- package/dist/icons/assets/person.svg2.js +5 -0
- package/dist/icons/assets/pin.svg.js +4 -0
- package/dist/icons/assets/pin.svg2.js +5 -0
- package/dist/icons/assets/plus.svg.js +4 -0
- package/dist/icons/assets/plus.svg2.js +5 -0
- package/dist/icons/assets/reset.svg.js +4 -0
- package/dist/icons/assets/reset.svg2.js +5 -0
- package/dist/icons/assets/rocket.svg.js +4 -0
- package/dist/icons/assets/rocket.svg2.js +5 -0
- package/dist/icons/assets/search.svg.js +4 -0
- package/dist/icons/assets/search.svg2.js +5 -0
- package/dist/icons/assets/settings.svg.js +4 -0
- package/dist/icons/assets/settings.svg2.js +5 -0
- package/dist/icons/assets/shapes.svg.js +4 -0
- package/dist/icons/assets/shapes.svg2.js +5 -0
- package/dist/icons/assets/stack-comfort.svg.js +4 -0
- package/dist/icons/assets/stack-comfort.svg2.js +5 -0
- package/dist/icons/assets/stack-compact.svg.js +4 -0
- package/dist/icons/assets/stack-compact.svg2.js +5 -0
- package/dist/icons/assets/stack.svg.js +4 -0
- package/dist/icons/assets/stack.svg2.js +5 -0
- package/dist/icons/assets/store.svg.js +4 -0
- package/dist/icons/assets/store.svg2.js +5 -0
- package/dist/icons/assets/table.svg.js +4 -0
- package/dist/icons/assets/table.svg2.js +5 -0
- package/dist/icons/assets/three-dots.svg.js +4 -0
- package/dist/icons/assets/three-dots.svg2.js +5 -0
- package/dist/icons/assets/trendingDown.svg.js +4 -0
- package/dist/icons/assets/trendingDown.svg2.js +5 -0
- package/dist/icons/assets/trendingFlat.svg.js +4 -0
- package/dist/icons/assets/trendingFlat.svg2.js +5 -0
- package/dist/icons/assets/trendingNeutral.svg.js +4 -0
- package/dist/icons/assets/trendingNeutral.svg2.js +5 -0
- package/dist/icons/assets/trendingUp.svg.js +4 -0
- package/dist/icons/assets/trendingUp.svg2.js +5 -0
- package/dist/icons/assets/unpin.svg.js +4 -0
- package/dist/icons/assets/unpin.svg2.js +5 -0
- package/dist/icons/assets/upload.svg.js +4 -0
- package/dist/icons/assets/upload.svg2.js +5 -0
- package/dist/icons/assets/webp/bill-or-receipt.webp.js +4 -0
- package/dist/icons/assets/webp/checklist-with-pen.webp.js +4 -0
- package/dist/icons/assets/webp/click-me-arrow.webp.js +4 -0
- package/dist/icons/assets/webp/csv-logo.webp.js +4 -0
- package/dist/icons/assets/webp/dollar.webp.js +4 -0
- package/dist/icons/assets/webp/empty-state-1.webp.js +4 -0
- package/dist/icons/assets/webp/empty-state-2.webp.js +4 -0
- package/dist/icons/assets/webp/empty-state-3.webp.js +4 -0
- package/dist/icons/assets/webp/empty-state-4.webp.js +4 -0
- package/dist/icons/assets/webp/empty-state-5.webp.js +4 -0
- package/dist/icons/assets/webp/empty-state-6.webp.js +4 -0
- package/dist/icons/assets/webp/excel-logo.webp.js +4 -0
- package/dist/icons/assets/webp/file-upload.webp.js +4 -0
- package/dist/icons/assets/webp/inventory-adjustment.webp.js +4 -0
- package/dist/icons/assets/webp/multicolor-bell.webp.js +4 -0
- package/dist/icons/assets/webp/price-tag.webp.js +4 -0
- package/dist/icons/assets/webp/receipts-stack.webp.js +4 -0
- package/dist/icons/assets/webp/recommended-receipt.webp.js +4 -0
- package/dist/icons/assets/webp/return-carton.webp.js +4 -0
- package/dist/icons/assets/webp/shipping-container.webp.js +4 -0
- package/dist/icons/assets/webp/stack-of-packaged-boxes.webp.js +4 -0
- package/dist/icons/assets/webp/text-logo.webp.js +4 -0
- package/dist/icons/assets/webp/two-stacked-packaged-boxes.webp.js +4 -0
- package/dist/icons/assets/webp/warranty.webp.js +4 -0
- package/dist/icons/index.d.ts +119 -0
- package/dist/icons/index.js +382 -0
- package/dist/impact-nova.css +1 -0
- package/dist/index.d.ts +57 -0
- package/dist/index.js +340 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/utils.js +18 -0
- package/dist/main.d.ts +0 -0
- package/dist/vite.svg +1 -0
- package/package.json +515 -0
- package/tailwind.config.d.ts +6 -0
- package/tailwind.config.js +182 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { jsx as d } from "react/jsx-runtime";
|
|
2
|
+
import * as o from "react";
|
|
3
|
+
import { cn as t } from "../../lib/utils.js";
|
|
4
|
+
const s = o.forwardRef(({ className: a, ...e }, r) => /* @__PURE__ */ d(
|
|
5
|
+
"div",
|
|
6
|
+
{
|
|
7
|
+
ref: r,
|
|
8
|
+
className: t(
|
|
9
|
+
"rounded-xl border bg-card text-card-foreground shadow",
|
|
10
|
+
a
|
|
11
|
+
),
|
|
12
|
+
...e
|
|
13
|
+
}
|
|
14
|
+
));
|
|
15
|
+
s.displayName = "Card";
|
|
16
|
+
const i = o.forwardRef(({ className: a, ...e }, r) => /* @__PURE__ */ d(
|
|
17
|
+
"div",
|
|
18
|
+
{
|
|
19
|
+
ref: r,
|
|
20
|
+
className: t("flex flex-col space-y-1.5 p-6", a),
|
|
21
|
+
...e
|
|
22
|
+
}
|
|
23
|
+
));
|
|
24
|
+
i.displayName = "CardHeader";
|
|
25
|
+
const c = o.forwardRef(({ className: a, ...e }, r) => /* @__PURE__ */ d(
|
|
26
|
+
"div",
|
|
27
|
+
{
|
|
28
|
+
ref: r,
|
|
29
|
+
className: t("font-semibold leading-none tracking-tight", a),
|
|
30
|
+
...e
|
|
31
|
+
}
|
|
32
|
+
));
|
|
33
|
+
c.displayName = "CardTitle";
|
|
34
|
+
const m = o.forwardRef(({ className: a, ...e }, r) => /* @__PURE__ */ d(
|
|
35
|
+
"div",
|
|
36
|
+
{
|
|
37
|
+
ref: r,
|
|
38
|
+
className: t("text-sm text-muted-foreground", a),
|
|
39
|
+
...e
|
|
40
|
+
}
|
|
41
|
+
));
|
|
42
|
+
m.displayName = "CardDescription";
|
|
43
|
+
const n = o.forwardRef(({ className: a, ...e }, r) => /* @__PURE__ */ d("div", { ref: r, className: t("p-6 pt-0", a), ...e }));
|
|
44
|
+
n.displayName = "CardContent";
|
|
45
|
+
const f = o.forwardRef(({ className: a, ...e }, r) => /* @__PURE__ */ d(
|
|
46
|
+
"div",
|
|
47
|
+
{
|
|
48
|
+
ref: r,
|
|
49
|
+
className: t("flex items-center p-6 pt-0", a),
|
|
50
|
+
...e
|
|
51
|
+
}
|
|
52
|
+
));
|
|
53
|
+
f.displayName = "CardFooter";
|
|
54
|
+
export {
|
|
55
|
+
s as Card,
|
|
56
|
+
n as CardContent,
|
|
57
|
+
m as CardDescription,
|
|
58
|
+
f as CardFooter,
|
|
59
|
+
i as CardHeader,
|
|
60
|
+
c as CardTitle
|
|
61
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { default as HighchartsReact } from 'highcharts-react-official';
|
|
2
|
+
import { ChartProps } from '../types/chart.types';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
declare global {
|
|
5
|
+
interface Document {
|
|
6
|
+
webkitFullscreenElement?: Element;
|
|
7
|
+
webkitExitFullscreen?: () => Promise<void>;
|
|
8
|
+
msFullscreenElement?: Element;
|
|
9
|
+
msExitFullscreen?: () => Promise<void>;
|
|
10
|
+
}
|
|
11
|
+
interface HTMLElement {
|
|
12
|
+
webkitRequestFullscreen?: () => Promise<void>;
|
|
13
|
+
msRequestFullscreen?: () => Promise<void>;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
interface ChartContainerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
17
|
+
isLoading?: boolean;
|
|
18
|
+
}
|
|
19
|
+
declare const ChartContainer: React.ForwardRefExoticComponent<ChartContainerProps & React.RefAttributes<HTMLDivElement>>;
|
|
20
|
+
declare const ChartHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
+
declare const ChartTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLHeadingElement>>;
|
|
22
|
+
declare const ChartActions: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
23
|
+
declare const ChartFullScreen: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
|
|
24
|
+
interface ChartContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
25
|
+
loader?: React.ReactNode;
|
|
26
|
+
}
|
|
27
|
+
declare const ChartContent: React.ForwardRefExoticComponent<ChartContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
28
|
+
declare const Chart: React.ForwardRefExoticComponent<ChartProps & React.RefAttributes<HighchartsReact.RefObject>>;
|
|
29
|
+
export { Chart, ChartContainer, ChartHeader, ChartTitle, ChartActions, ChartFullScreen, ChartContent };
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
import { jsx as s, jsxs as v } from "react/jsx-runtime";
|
|
2
|
+
import * as n from "react";
|
|
3
|
+
import * as l from "highcharts";
|
|
4
|
+
import H from "highcharts-react-official";
|
|
5
|
+
import { cn as g } from "../../../lib/utils.js";
|
|
6
|
+
import { Skeleton as k } from "../skeleton.js";
|
|
7
|
+
import { Minimize2 as A, Maximize2 as T } from "lucide-react";
|
|
8
|
+
import { Button as j } from "../button.js";
|
|
9
|
+
import B from "highcharts/highcharts-more";
|
|
10
|
+
import M from "highcharts/highcharts-3d";
|
|
11
|
+
import I from "highcharts/modules/heatmap";
|
|
12
|
+
import P from "highcharts/modules/treemap";
|
|
13
|
+
import D from "highcharts/modules/venn";
|
|
14
|
+
import V from "highcharts/modules/stock";
|
|
15
|
+
import O from "highcharts/modules/accessibility";
|
|
16
|
+
import G from "highcharts/modules/exporting";
|
|
17
|
+
import J from "highcharts/modules/dumbbell";
|
|
18
|
+
import K from "highcharts/modules/lollipop";
|
|
19
|
+
import Q from "highcharts-border-radius";
|
|
20
|
+
import { getBaseChartOptions as U } from "./chart.utils.js";
|
|
21
|
+
const c = (e, r) => {
|
|
22
|
+
typeof e == "function" ? e(r) : typeof e == "object" && e.default && typeof e.default == "function" && e.default(r);
|
|
23
|
+
};
|
|
24
|
+
typeof l == "object" && (c(B, l), c(M, l), c(I, l), c(P, l), c(D, l), c(O, l), c(G, l), c(J, l), c(K, l), c(V, l), c(Q, l));
|
|
25
|
+
const b = n.createContext(null), L = () => {
|
|
26
|
+
const e = n.useContext(b);
|
|
27
|
+
if (!e)
|
|
28
|
+
throw new Error("Chart components must be used within a ChartContainer");
|
|
29
|
+
return e;
|
|
30
|
+
}, z = n.forwardRef(
|
|
31
|
+
({ className: e, children: r, isLoading: i = !1, ...o }, m) => {
|
|
32
|
+
const a = n.useRef(null), h = n.useRef(null), [u, f] = n.useState(!1), [x, p] = n.useState(!1);
|
|
33
|
+
n.useImperativeHandle(m, () => a.current);
|
|
34
|
+
const w = () => {
|
|
35
|
+
const t = a.current;
|
|
36
|
+
t && (p(!0), t.classList.add("fullscreen-animating"), setTimeout(() => {
|
|
37
|
+
t.requestFullscreen ? t.requestFullscreen() : t.webkitRequestFullscreen ? t.webkitRequestFullscreen() : t.msRequestFullscreen && t.msRequestFullscreen(), f(!0), t.classList.remove("fullscreen-animating");
|
|
38
|
+
}, 200));
|
|
39
|
+
}, C = () => {
|
|
40
|
+
const t = a.current;
|
|
41
|
+
t && (p(!0), t.classList.add("fullscreen-animating-out"), setTimeout(() => {
|
|
42
|
+
document.exitFullscreen ? document.exitFullscreen() : document.webkitExitFullscreen ? document.webkitExitFullscreen() : document.msExitFullscreen && document.msExitFullscreen(), f(!1), t.classList.remove("fullscreen-animating-out");
|
|
43
|
+
}, 200));
|
|
44
|
+
}, q = () => {
|
|
45
|
+
u ? C() : w();
|
|
46
|
+
};
|
|
47
|
+
return n.useEffect(() => {
|
|
48
|
+
const t = () => {
|
|
49
|
+
document.fullscreenElement || document.webkitFullscreenElement || document.msFullscreenElement || f(!1);
|
|
50
|
+
};
|
|
51
|
+
return document.addEventListener("fullscreenchange", t), document.addEventListener("webkitfullscreenchange", t), () => {
|
|
52
|
+
document.removeEventListener("fullscreenchange", t), document.removeEventListener(
|
|
53
|
+
"webkitfullscreenchange",
|
|
54
|
+
t
|
|
55
|
+
);
|
|
56
|
+
};
|
|
57
|
+
}, []), n.useEffect(() => {
|
|
58
|
+
if (!h?.current?.chart) return;
|
|
59
|
+
const t = h.current.chart;
|
|
60
|
+
let d = null;
|
|
61
|
+
const E = () => {
|
|
62
|
+
u && a.current ? (d && cancelAnimationFrame(d), d = requestAnimationFrame(() => {
|
|
63
|
+
const F = a.current;
|
|
64
|
+
if (!F) return;
|
|
65
|
+
const R = F.getBoundingClientRect(), N = F.querySelector('[class*="ChartContent"]');
|
|
66
|
+
if (N) {
|
|
67
|
+
const y = N.getBoundingClientRect();
|
|
68
|
+
t.setSize(y.width, y.height, !1);
|
|
69
|
+
} else
|
|
70
|
+
t.setSize(R.width, R.height, !1);
|
|
71
|
+
d = null;
|
|
72
|
+
})) : (t.setSize(null, null, !1), t.reflow());
|
|
73
|
+
};
|
|
74
|
+
return window.addEventListener("resize", E), () => {
|
|
75
|
+
d && cancelAnimationFrame(d), window.removeEventListener("resize", E);
|
|
76
|
+
};
|
|
77
|
+
}, [u]), /* @__PURE__ */ s(
|
|
78
|
+
b.Provider,
|
|
79
|
+
{
|
|
80
|
+
value: {
|
|
81
|
+
isExpanded: u,
|
|
82
|
+
toggleFullscreen: q,
|
|
83
|
+
isLoading: i,
|
|
84
|
+
containerRef: a,
|
|
85
|
+
chartComponentRef: h
|
|
86
|
+
},
|
|
87
|
+
children: /* @__PURE__ */ s(
|
|
88
|
+
"div",
|
|
89
|
+
{
|
|
90
|
+
ref: a,
|
|
91
|
+
className: g(
|
|
92
|
+
e,
|
|
93
|
+
"w-full relative bg-card transition-all duration-200 ease-in-out",
|
|
94
|
+
u && "fixed inset-0 z-50 h-screen w-screen p-4 bg-background flex flex-col",
|
|
95
|
+
x && "overflow-hidden"
|
|
96
|
+
),
|
|
97
|
+
...o,
|
|
98
|
+
children: r
|
|
99
|
+
}
|
|
100
|
+
)
|
|
101
|
+
}
|
|
102
|
+
);
|
|
103
|
+
}
|
|
104
|
+
);
|
|
105
|
+
z.displayName = "ChartContainer";
|
|
106
|
+
const W = n.forwardRef(
|
|
107
|
+
({ className: e, children: r, ...i }, o) => /* @__PURE__ */ s("div", { ref: o, className: g("flex items-center justify-between mb-4", e), ...i, children: r })
|
|
108
|
+
);
|
|
109
|
+
W.displayName = "ChartHeader";
|
|
110
|
+
const X = n.forwardRef(
|
|
111
|
+
({ className: e, ...r }, i) => /* @__PURE__ */ s("h3", { ref: i, className: g("text-lg font-semibold leading-none tracking-tight", e), ...r })
|
|
112
|
+
);
|
|
113
|
+
X.displayName = "ChartTitle";
|
|
114
|
+
const Y = n.forwardRef(
|
|
115
|
+
({ className: e, ...r }, i) => /* @__PURE__ */ s("div", { ref: i, className: g("flex items-center gap-2", e), ...r })
|
|
116
|
+
);
|
|
117
|
+
Y.displayName = "ChartActions";
|
|
118
|
+
const Z = n.forwardRef(
|
|
119
|
+
({ className: e, ...r }, i) => {
|
|
120
|
+
const { toggleFullscreen: o, isExpanded: m } = L();
|
|
121
|
+
return /* @__PURE__ */ v(
|
|
122
|
+
j,
|
|
123
|
+
{
|
|
124
|
+
variant: "ghost",
|
|
125
|
+
size: "icon",
|
|
126
|
+
onClick: o,
|
|
127
|
+
ref: i,
|
|
128
|
+
className: g("h-8 w-8", e),
|
|
129
|
+
"aria-label": "Toggle Fullscreen",
|
|
130
|
+
...r,
|
|
131
|
+
children: [
|
|
132
|
+
m ? /* @__PURE__ */ s(A, { className: "h-4 w-4" }) : /* @__PURE__ */ s(T, { className: "h-4 w-4" }),
|
|
133
|
+
/* @__PURE__ */ s("span", { className: "sr-only", children: "Toggle Fullscreen" })
|
|
134
|
+
]
|
|
135
|
+
}
|
|
136
|
+
);
|
|
137
|
+
}
|
|
138
|
+
);
|
|
139
|
+
Z.displayName = "ChartFullScreen";
|
|
140
|
+
const S = n.forwardRef(
|
|
141
|
+
({ className: e, children: r, loader: i, ...o }, m) => {
|
|
142
|
+
const { isLoading: a, chartComponentRef: h, isExpanded: u } = L();
|
|
143
|
+
return a && i ? /* @__PURE__ */ s("div", { ref: m, className: g(e, "w-full relative flex items-center justify-center flex-1 min-h-[300px]", u && "min-h-0"), ...o, children: i }) : /* @__PURE__ */ v("div", { ref: m, className: g(e, "w-full relative flex-1 min-h-[300px]", u && "min-h-0"), ...o, children: [
|
|
144
|
+
a && /* @__PURE__ */ v("div", { className: "absolute inset-0 z-10 bg-background/50 flex flex-col gap-2 p-4", children: [
|
|
145
|
+
/* @__PURE__ */ s(k, { className: "h-8 w-1/3" }),
|
|
146
|
+
/* @__PURE__ */ s(k, { className: "flex-1 w-full" })
|
|
147
|
+
] }),
|
|
148
|
+
n.Children.map(r, (f) => n.isValidElement(f) ? n.cloneElement(f, { ref: h }) : f)
|
|
149
|
+
] });
|
|
150
|
+
}
|
|
151
|
+
);
|
|
152
|
+
S.displayName = "ChartContent";
|
|
153
|
+
const _ = n.forwardRef(
|
|
154
|
+
(e, r) => {
|
|
155
|
+
const {
|
|
156
|
+
height: i,
|
|
157
|
+
width: o,
|
|
158
|
+
className: m,
|
|
159
|
+
isLoading: a,
|
|
160
|
+
loader: h,
|
|
161
|
+
title: u,
|
|
162
|
+
children: f,
|
|
163
|
+
...x
|
|
164
|
+
} = e, p = n.useContext(b), w = n.useMemo(() => {
|
|
165
|
+
const C = U({ title: u, ...x });
|
|
166
|
+
return {
|
|
167
|
+
...C,
|
|
168
|
+
chart: {
|
|
169
|
+
...C.chart,
|
|
170
|
+
height: i ?? null,
|
|
171
|
+
width: o ?? null
|
|
172
|
+
}
|
|
173
|
+
};
|
|
174
|
+
}, [e]);
|
|
175
|
+
return p ? /* @__PURE__ */ s(
|
|
176
|
+
H,
|
|
177
|
+
{
|
|
178
|
+
highcharts: l,
|
|
179
|
+
options: w,
|
|
180
|
+
ref: r,
|
|
181
|
+
containerProps: { style: { height: "100%", width: "100%" } }
|
|
182
|
+
}
|
|
183
|
+
) : /* @__PURE__ */ s(z, { className: m, isLoading: a, children: /* @__PURE__ */ s(S, { loader: h, children: /* @__PURE__ */ s(
|
|
184
|
+
H,
|
|
185
|
+
{
|
|
186
|
+
highcharts: l,
|
|
187
|
+
options: w,
|
|
188
|
+
ref: r,
|
|
189
|
+
containerProps: { style: { height: "100%", width: "100%" } }
|
|
190
|
+
}
|
|
191
|
+
) }) });
|
|
192
|
+
}
|
|
193
|
+
);
|
|
194
|
+
_.displayName = "Chart";
|
|
195
|
+
export {
|
|
196
|
+
_ as Chart,
|
|
197
|
+
Y as ChartActions,
|
|
198
|
+
z as ChartContainer,
|
|
199
|
+
S as ChartContent,
|
|
200
|
+
Z as ChartFullScreen,
|
|
201
|
+
W as ChartHeader,
|
|
202
|
+
X as ChartTitle
|
|
203
|
+
};
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
const y = (r) => {
|
|
2
|
+
const {
|
|
3
|
+
type: s = "column",
|
|
4
|
+
title: l,
|
|
5
|
+
subtitle: n,
|
|
6
|
+
xAxisCategories: a,
|
|
7
|
+
xAxisTitle: t,
|
|
8
|
+
yAxisTitle: p,
|
|
9
|
+
series: d,
|
|
10
|
+
options: o,
|
|
11
|
+
stacked: i,
|
|
12
|
+
is3D: f,
|
|
13
|
+
showLegend: x = !0,
|
|
14
|
+
showTooltip: h = !0
|
|
15
|
+
} = r, e = {
|
|
16
|
+
chart: {
|
|
17
|
+
type: s,
|
|
18
|
+
backgroundColor: "transparent",
|
|
19
|
+
style: {
|
|
20
|
+
fontFamily: "Manrope, sans-serif"
|
|
21
|
+
},
|
|
22
|
+
options3d: f ? {
|
|
23
|
+
enabled: !0,
|
|
24
|
+
alpha: 15,
|
|
25
|
+
beta: 15,
|
|
26
|
+
depth: 50,
|
|
27
|
+
viewDistance: 25
|
|
28
|
+
} : void 0
|
|
29
|
+
},
|
|
30
|
+
title: {
|
|
31
|
+
text: l ?? "",
|
|
32
|
+
align: "left",
|
|
33
|
+
style: {
|
|
34
|
+
fontSize: "18px",
|
|
35
|
+
fontWeight: "600",
|
|
36
|
+
color: "hsl(var(--foreground))"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
subtitle: {
|
|
40
|
+
text: n,
|
|
41
|
+
align: "left"
|
|
42
|
+
},
|
|
43
|
+
credits: {
|
|
44
|
+
enabled: !1
|
|
45
|
+
},
|
|
46
|
+
exporting: {
|
|
47
|
+
enabled: !1
|
|
48
|
+
},
|
|
49
|
+
xAxis: {
|
|
50
|
+
categories: a,
|
|
51
|
+
title: t ? {
|
|
52
|
+
text: t,
|
|
53
|
+
style: {
|
|
54
|
+
color: "#60697d",
|
|
55
|
+
fontFamily: '"Manrope", sans-serif',
|
|
56
|
+
fontSize: "14px",
|
|
57
|
+
fontStyle: "normal",
|
|
58
|
+
fontWeight: "500",
|
|
59
|
+
lineHeight: "20px"
|
|
60
|
+
}
|
|
61
|
+
} : void 0,
|
|
62
|
+
gridLineWidth: 0,
|
|
63
|
+
lineColor: "hsl(var(--border))",
|
|
64
|
+
tickColor: "hsl(var(--border))",
|
|
65
|
+
labels: {
|
|
66
|
+
style: {
|
|
67
|
+
color: "#60697d",
|
|
68
|
+
fontFamily: '"Manrope", sans-serif',
|
|
69
|
+
fontSize: "12px",
|
|
70
|
+
fontWeight: "500"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
yAxis: {
|
|
75
|
+
title: {
|
|
76
|
+
text: p,
|
|
77
|
+
margin: 30,
|
|
78
|
+
style: {
|
|
79
|
+
color: "#60697d",
|
|
80
|
+
fontFamily: '"Manrope", sans-serif',
|
|
81
|
+
fontSize: "14px",
|
|
82
|
+
fontStyle: "normal",
|
|
83
|
+
fontWeight: "500",
|
|
84
|
+
lineHeight: "20px"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
lineWidth: 1,
|
|
88
|
+
lineColor: "hsl(var(--border))",
|
|
89
|
+
gridLineColor: "hsl(var(--border))",
|
|
90
|
+
gridLineDashStyle: "Dash",
|
|
91
|
+
labels: {
|
|
92
|
+
style: {
|
|
93
|
+
color: "#60697d",
|
|
94
|
+
fontFamily: '"Manrope", sans-serif',
|
|
95
|
+
fontSize: "12px",
|
|
96
|
+
fontWeight: "500"
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
legend: {
|
|
101
|
+
enabled: x,
|
|
102
|
+
symbolRadius: 2,
|
|
103
|
+
itemStyle: {
|
|
104
|
+
color: "#60697d",
|
|
105
|
+
fontWeight: "500",
|
|
106
|
+
fontSize: "12px"
|
|
107
|
+
},
|
|
108
|
+
itemHoverStyle: {
|
|
109
|
+
color: "hsl(var(--primary))"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
tooltip: {
|
|
113
|
+
enabled: h,
|
|
114
|
+
backgroundColor: "hsl(var(--popover))",
|
|
115
|
+
borderColor: "hsl(var(--border))",
|
|
116
|
+
borderRadius: 8,
|
|
117
|
+
style: {
|
|
118
|
+
color: "hsl(var(--popover-foreground))"
|
|
119
|
+
},
|
|
120
|
+
shadow: !0
|
|
121
|
+
},
|
|
122
|
+
plotOptions: {
|
|
123
|
+
column: {
|
|
124
|
+
borderRadius: 4,
|
|
125
|
+
stacking: i ? "normal" : void 0,
|
|
126
|
+
borderWidth: 0
|
|
127
|
+
},
|
|
128
|
+
bar: {
|
|
129
|
+
borderRadius: 4,
|
|
130
|
+
stacking: i ? "normal" : void 0,
|
|
131
|
+
borderWidth: 1,
|
|
132
|
+
borderColor: "#ffffff"
|
|
133
|
+
},
|
|
134
|
+
pie: {
|
|
135
|
+
allowPointSelect: !0,
|
|
136
|
+
cursor: "pointer",
|
|
137
|
+
dataLabels: {
|
|
138
|
+
enabled: !0
|
|
139
|
+
},
|
|
140
|
+
showInLegend: !0
|
|
141
|
+
},
|
|
142
|
+
series: {
|
|
143
|
+
animation: {
|
|
144
|
+
duration: 1e3
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
series: d
|
|
149
|
+
};
|
|
150
|
+
return {
|
|
151
|
+
...e,
|
|
152
|
+
...o,
|
|
153
|
+
chart: {
|
|
154
|
+
...e.chart,
|
|
155
|
+
...o?.chart
|
|
156
|
+
},
|
|
157
|
+
xAxis: {
|
|
158
|
+
...e.xAxis,
|
|
159
|
+
...Array.isArray(o?.xAxis) ? {} : o?.xAxis
|
|
160
|
+
},
|
|
161
|
+
yAxis: Array.isArray(o?.yAxis) ? o?.yAxis.map((b) => ({
|
|
162
|
+
...e.yAxis,
|
|
163
|
+
...b
|
|
164
|
+
})) : {
|
|
165
|
+
...e.yAxis,
|
|
166
|
+
...o?.yAxis
|
|
167
|
+
},
|
|
168
|
+
plotOptions: {
|
|
169
|
+
...e.plotOptions,
|
|
170
|
+
...o?.plotOptions,
|
|
171
|
+
column: {
|
|
172
|
+
...e.plotOptions?.column,
|
|
173
|
+
...o?.plotOptions?.column
|
|
174
|
+
},
|
|
175
|
+
bar: {
|
|
176
|
+
...e.plotOptions?.bar,
|
|
177
|
+
...o?.plotOptions?.bar
|
|
178
|
+
},
|
|
179
|
+
pie: {
|
|
180
|
+
...e.plotOptions?.pie,
|
|
181
|
+
...o?.plotOptions?.pie
|
|
182
|
+
},
|
|
183
|
+
series: {
|
|
184
|
+
...e.plotOptions?.series,
|
|
185
|
+
...o?.plotOptions?.series
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
export {
|
|
191
|
+
y as getBaseChartOptions
|
|
192
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Chart as a, ChartActions as e, ChartContainer as C, ChartContent as h, ChartFullScreen as o, ChartHeader as n, ChartTitle as i } from "./chart.js";
|
|
2
|
+
import { getBaseChartOptions as p } from "./chart.utils.js";
|
|
3
|
+
export {
|
|
4
|
+
a as Chart,
|
|
5
|
+
e as ChartActions,
|
|
6
|
+
C as ChartContainer,
|
|
7
|
+
h as ChartContent,
|
|
8
|
+
o as ChartFullScreen,
|
|
9
|
+
n as ChartHeader,
|
|
10
|
+
i as ChartTitle,
|
|
11
|
+
p as getBaseChartOptions
|
|
12
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
|
3
|
+
declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
4
|
+
label?: string;
|
|
5
|
+
helperText?: React.ReactNode;
|
|
6
|
+
isError?: boolean;
|
|
7
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
|
8
|
+
export { Checkbox };
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import * as l from "react";
|
|
3
|
+
import * as o from "@radix-ui/react-checkbox";
|
|
4
|
+
import { Check as b, Minus as u } from "lucide-react";
|
|
5
|
+
import { cn as a } from "../../lib/utils.js";
|
|
6
|
+
const h = l.forwardRef(({ className: n, label: r, helperText: d, isError: i, disabled: s, ...c }, m) => /* @__PURE__ */ t("div", { className: "flex items-center", children: [
|
|
7
|
+
/* @__PURE__ */ e(
|
|
8
|
+
o.Root,
|
|
9
|
+
{
|
|
10
|
+
ref: m,
|
|
11
|
+
className: a(
|
|
12
|
+
"peer h-4 w-4 shrink-0 rounded-[4px] border border-tertiary-border bg-white ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:border-primary data-[state=checked]:bg-accent data-[state=checked]:text-primary data-[state=indeterminate]:border-primary data-[state=indeterminate]:bg-accent data-[state=indeterminate]:text-primary mr-[7px]",
|
|
13
|
+
i && "border-destructive focus-visible:ring-destructive",
|
|
14
|
+
s && "border-border text-disabled-text data-[state=checked]:bg-disabled-secondary-bg data-[state=checked]:text-disabled-text",
|
|
15
|
+
n
|
|
16
|
+
),
|
|
17
|
+
disabled: s,
|
|
18
|
+
...c,
|
|
19
|
+
children: /* @__PURE__ */ t(
|
|
20
|
+
o.Indicator,
|
|
21
|
+
{
|
|
22
|
+
className: a("flex items-center justify-center text-current group"),
|
|
23
|
+
children: [
|
|
24
|
+
/* @__PURE__ */ e(b, { className: "h-3 w-3 hidden group-data-[state=checked]:block", strokeWidth: 3 }),
|
|
25
|
+
/* @__PURE__ */ e(u, { className: "h-3 w-3 hidden group-data-[state=indeterminate]:block", strokeWidth: 3 })
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
)
|
|
29
|
+
}
|
|
30
|
+
),
|
|
31
|
+
(r || d) && /* @__PURE__ */ t("div", { className: "grid gap-1.5 leading-none", children: [
|
|
32
|
+
r && /* @__PURE__ */ t(
|
|
33
|
+
"label",
|
|
34
|
+
{
|
|
35
|
+
htmlFor: c.id,
|
|
36
|
+
className: a(
|
|
37
|
+
"text-sm font-medium leading-[20px] text-secondary-foreground peer-data-[state=checked]:text-foreground peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
|
|
38
|
+
i && "text-destructive",
|
|
39
|
+
s && "text-disabled-text"
|
|
40
|
+
),
|
|
41
|
+
children: [
|
|
42
|
+
r,
|
|
43
|
+
" ",
|
|
44
|
+
c.required && /* @__PURE__ */ e("span", { className: "text-destructive", children: "*" })
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
),
|
|
48
|
+
d && /* @__PURE__ */ e("p", { className: a("text-sm text-muted-foreground", i && "text-destructive"), children: d })
|
|
49
|
+
] })
|
|
50
|
+
] }));
|
|
51
|
+
h.displayName = o.Root.displayName;
|
|
52
|
+
export {
|
|
53
|
+
h as Checkbox
|
|
54
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
declare const chipVariants: (props?: {
|
|
4
|
+
variant?: "default" | "secondary" | "tertiary" | "destructive" | "outline";
|
|
5
|
+
size?: "sm" | "md" | "lg";
|
|
6
|
+
shape?: "rounded" | "pill";
|
|
7
|
+
} & import('class-variance-authority/types').ClassProp) => string;
|
|
8
|
+
export interface ChipProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof chipVariants> {
|
|
9
|
+
onRemove?: () => void;
|
|
10
|
+
removable?: boolean;
|
|
11
|
+
}
|
|
12
|
+
declare const Chip: React.ForwardRefExoticComponent<ChipProps & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
export { Chip, chipVariants };
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { jsxs as c, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import * as p from "react";
|
|
3
|
+
import { cva as f } from "class-variance-authority";
|
|
4
|
+
import { Cross as l } from "../../icons/index.js";
|
|
5
|
+
import { cn as m } from "../../lib/utils.js";
|
|
6
|
+
const g = f(
|
|
7
|
+
"inline-flex items-center gap-1.5 px-2.5 py-0.5 text-xs font-medium transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
|
|
8
|
+
{
|
|
9
|
+
variants: {
|
|
10
|
+
variant: {
|
|
11
|
+
default: "bg-primary text-primary-foreground",
|
|
12
|
+
secondary: "bg-secondary text-secondary-foreground",
|
|
13
|
+
tertiary: "border border-tertiary-border bg-background text-[#60697d] hover:bg-accent hover:text-secondary-hover-foreground hover:border-secondary-hover-foreground",
|
|
14
|
+
outline: "border border-input bg-background",
|
|
15
|
+
destructive: "bg-destructive text-destructive-foreground"
|
|
16
|
+
},
|
|
17
|
+
size: {
|
|
18
|
+
sm: "px-2 py-0.5 text-xs",
|
|
19
|
+
md: "px-2.5 py-0.5 text-xs",
|
|
20
|
+
lg: "px-3 py-1 text-sm"
|
|
21
|
+
},
|
|
22
|
+
shape: {
|
|
23
|
+
pill: "rounded-full",
|
|
24
|
+
rounded: "rounded-[12px]"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
defaultVariants: {
|
|
28
|
+
variant: "default",
|
|
29
|
+
size: "md",
|
|
30
|
+
shape: "pill"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
), x = p.forwardRef(
|
|
34
|
+
({ className: e, variant: o, size: t, shape: n, onRemove: i, removable: s, children: a, ...d }, u) => /* @__PURE__ */ c(
|
|
35
|
+
"div",
|
|
36
|
+
{
|
|
37
|
+
ref: u,
|
|
38
|
+
className: m(g({ variant: o, size: t, shape: n }), e),
|
|
39
|
+
...d,
|
|
40
|
+
children: [
|
|
41
|
+
a,
|
|
42
|
+
s && /* @__PURE__ */ r(
|
|
43
|
+
"button",
|
|
44
|
+
{
|
|
45
|
+
type: "button",
|
|
46
|
+
onClick: i,
|
|
47
|
+
className: "ml-1 p-1 rounded-full hover:bg-black/20 focus:outline-none focus:ring-2 focus:ring-ring",
|
|
48
|
+
"aria-label": "Remove",
|
|
49
|
+
children: /* @__PURE__ */ r(l, { size: 8 })
|
|
50
|
+
}
|
|
51
|
+
)
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
)
|
|
55
|
+
);
|
|
56
|
+
x.displayName = "Chip";
|
|
57
|
+
export {
|
|
58
|
+
x as Chip,
|
|
59
|
+
g as chipVariants
|
|
60
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
interface DataTableColumnListProps {
|
|
2
|
+
enableApplyDiscard?: boolean;
|
|
3
|
+
enableLazyHierarchy?: boolean;
|
|
4
|
+
}
|
|
5
|
+
export declare const DataTableColumnList: ({ enableApplyDiscard, enableLazyHierarchy }: DataTableColumnListProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|