@algorisys/zen-ui-react 0.0.0-stage → 13.8.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/AGENTS.md +301 -0
- package/COMMERCIAL.md +73 -0
- package/LICENSE +79 -0
- package/README.md +45 -2
- package/dist/_core/aggregate.d.ts +35 -0
- package/dist/_core/analytic-chart-echarts.d.ts +47 -0
- package/dist/_core/analytic-chart.d.ts +250 -0
- package/dist/_core/andon.d.ts +31 -0
- package/dist/_core/barcode.d.ts +91 -0
- package/dist/_core/capacity.d.ts +45 -0
- package/dist/_core/chart.d.ts +88 -0
- package/dist/_core/chunk-upload.d.ts +55 -0
- package/dist/_core/cn.d.ts +2 -0
- package/dist/_core/color.d.ts +50 -0
- package/dist/_core/column-filter.d.ts +50 -0
- package/dist/_core/column-mapper.d.ts +40 -0
- package/dist/_core/columns.d.ts +158 -0
- package/dist/_core/countdown.d.ts +57 -0
- package/dist/_core/critical-path.d.ts +80 -0
- package/dist/_core/date-input.d.ts +36 -0
- package/dist/_core/date-range.d.ts +113 -0
- package/dist/_core/density.d.ts +27 -0
- package/dist/_core/diff.d.ts +74 -0
- package/dist/_core/direction.d.ts +66 -0
- package/dist/_core/document.d.ts +58 -0
- package/dist/_core/export-request.d.ts +131 -0
- package/dist/_core/filter.d.ts +114 -0
- package/dist/_core/flexible-column-layout.d.ts +56 -0
- package/dist/_core/gantt.d.ts +866 -0
- package/dist/_core/genealogy.d.ts +36 -0
- package/dist/_core/grid-range.d.ts +60 -0
- package/dist/_core/icons.d.ts +88 -0
- package/dist/_core/index.d.ts +46 -0
- package/dist/_core/keys.d.ts +62 -0
- package/dist/_core/line-eta.d.ts +30 -0
- package/dist/_core/live.d.ts +11 -0
- package/dist/_core/lookup.d.ts +43 -0
- package/dist/_core/machine-state.d.ts +48 -0
- package/dist/_core/mask.d.ts +67 -0
- package/dist/_core/measurement.d.ts +41 -0
- package/dist/_core/media.d.ts +100 -0
- package/dist/_core/messages.d.ts +970 -0
- package/dist/_core/number-format.d.ts +86 -0
- package/dist/_core/oee.d.ts +61 -0
- package/dist/_core/pivot.d.ts +154 -0
- package/dist/_core/planned-vs-actual.d.ts +46 -0
- package/dist/_core/planning.d.ts +140 -0
- package/dist/_core/production-progress.d.ts +33 -0
- package/dist/_core/production.d.ts +404 -0
- package/dist/_core/rate-bars.d.ts +39 -0
- package/dist/_core/reason-codes.d.ts +27 -0
- package/dist/_core/release-notes.d.ts +68 -0
- package/dist/_core/reschedule.d.ts +131 -0
- package/dist/_core/routing.d.ts +41 -0
- package/dist/_core/row-keys.d.ts +39 -0
- package/dist/_core/scan.d.ts +39 -0
- package/dist/_core/shifts.d.ts +51 -0
- package/dist/_core/sidebar.d.ts +26 -0
- package/dist/_core/sortable.d.ts +118 -0
- package/dist/_core/splitter.d.ts +91 -0
- package/dist/_core/spreadsheet.d.ts +66 -0
- package/dist/_core/state-timeline.d.ts +106 -0
- package/dist/_core/status-bar.d.ts +28 -0
- package/dist/_core/step-runner.d.ts +63 -0
- package/dist/_core/theme.d.ts +27 -0
- package/dist/_core/tree-select.d.ts +60 -0
- package/dist/_core/uno-preset.d.ts +194 -0
- package/dist/_core/variants.d.ts +111 -0
- package/dist/_core/views.d.ts +54 -0
- package/dist/_core/virtual-window.d.ts +53 -0
- package/dist/components/NavTag.d.ts +12 -0
- package/dist/components/NavTag.d.ts.map +1 -0
- package/dist/components/ReleaseNotes.d.ts +3 -0
- package/dist/components/ReleaseNotes.d.ts.map +1 -0
- package/dist/components/Welcome.d.ts +3 -0
- package/dist/components/Welcome.d.ts.map +1 -0
- package/dist/components/accordion/accordion.d.ts +34 -0
- package/dist/components/accordion/accordion.d.ts.map +1 -0
- package/dist/components/alert/alert.d.ts +47 -0
- package/dist/components/alert/alert.d.ts.map +1 -0
- package/dist/components/analytic-chart/analytic-chart.d.ts +56 -0
- package/dist/components/analytic-chart/analytic-chart.d.ts.map +1 -0
- package/dist/components/andon/andon.d.ts +84 -0
- package/dist/components/andon/andon.d.ts.map +1 -0
- package/dist/components/avatar/avatar.d.ts +32 -0
- package/dist/components/avatar/avatar.d.ts.map +1 -0
- package/dist/components/badge/badge.d.ts +14 -0
- package/dist/components/badge/badge.d.ts.map +1 -0
- package/dist/components/banner/banner.d.ts +45 -0
- package/dist/components/banner/banner.d.ts.map +1 -0
- package/dist/components/barcode/barcode.d.ts +53 -0
- package/dist/components/barcode/barcode.d.ts.map +1 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts +36 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts.map +1 -0
- package/dist/components/button/button-family.d.ts +48 -0
- package/dist/components/button/button-family.d.ts.map +1 -0
- package/dist/components/button/button.d.ts +31 -0
- package/dist/components/button/button.d.ts.map +1 -0
- package/dist/components/camera/camera.d.ts +23 -0
- package/dist/components/camera/camera.d.ts.map +1 -0
- package/dist/components/capacity-heatmap/capacity-heatmap.d.ts +68 -0
- package/dist/components/capacity-heatmap/capacity-heatmap.d.ts.map +1 -0
- package/dist/components/card/card.d.ts +37 -0
- package/dist/components/card/card.d.ts.map +1 -0
- package/dist/components/card/card.selectable.d.ts +41 -0
- package/dist/components/card/card.selectable.d.ts.map +1 -0
- package/dist/components/carousel/carousel.d.ts +40 -0
- package/dist/components/carousel/carousel.d.ts.map +1 -0
- package/dist/components/chart/chart.d.ts +58 -0
- package/dist/components/chart/chart.d.ts.map +1 -0
- package/dist/components/chunk-uploader/chunk-uploader.d.ts +58 -0
- package/dist/components/chunk-uploader/chunk-uploader.d.ts.map +1 -0
- package/dist/components/code-editor/code-editor.d.ts +98 -0
- package/dist/components/code-editor/code-editor.d.ts.map +1 -0
- package/dist/components/collapsible/collapsible.d.ts +25 -0
- package/dist/components/collapsible/collapsible.d.ts.map +1 -0
- package/dist/components/color-picker/color-palette.d.ts +29 -0
- package/dist/components/color-picker/color-palette.d.ts.map +1 -0
- package/dist/components/color-picker/color-picker.d.ts +37 -0
- package/dist/components/color-picker/color-picker.d.ts.map +1 -0
- package/dist/components/column-mapper/column-mapper.d.ts +42 -0
- package/dist/components/column-mapper/column-mapper.d.ts.map +1 -0
- package/dist/components/combobox/combobox.d.ts +118 -0
- package/dist/components/combobox/combobox.d.ts.map +1 -0
- package/dist/components/combobox/command.d.ts +100 -0
- package/dist/components/combobox/command.d.ts.map +1 -0
- package/dist/components/combobox/multi-combobox.d.ts +71 -0
- package/dist/components/combobox/multi-combobox.d.ts.map +1 -0
- package/dist/components/context-menu/context-menu.d.ts +54 -0
- package/dist/components/context-menu/context-menu.d.ts.map +1 -0
- package/dist/components/countdown/countdown.d.ts +63 -0
- package/dist/components/countdown/countdown.d.ts.map +1 -0
- package/dist/components/data-table/body-table.d.ts +66 -0
- package/dist/components/data-table/body-table.d.ts.map +1 -0
- package/dist/components/data-table/data-table.d.ts +475 -0
- package/dist/components/data-table/data-table.d.ts.map +1 -0
- package/dist/components/data-table/edit-cell.d.ts +84 -0
- package/dist/components/data-table/edit-cell.d.ts.map +1 -0
- package/dist/components/data-table/filters.d.ts +77 -0
- package/dist/components/data-table/filters.d.ts.map +1 -0
- package/dist/components/data-table/table.d.ts +33 -0
- package/dist/components/data-table/table.d.ts.map +1 -0
- package/dist/components/demo-helpers.d.ts +21 -0
- package/dist/components/demo-helpers.d.ts.map +1 -0
- package/dist/components/diagram-canvas/diagram-canvas.d.ts +87 -0
- package/dist/components/diagram-canvas/diagram-canvas.d.ts.map +1 -0
- package/dist/components/dialog/alert-dialog.d.ts +47 -0
- package/dist/components/dialog/alert-dialog.d.ts.map +1 -0
- package/dist/components/dialog/dialog.d.ts +59 -0
- package/dist/components/dialog/dialog.d.ts.map +1 -0
- package/dist/components/diff-view/diff-view.d.ts +42 -0
- package/dist/components/diff-view/diff-view.d.ts.map +1 -0
- package/dist/components/direction/direction.d.ts +37 -0
- package/dist/components/direction/direction.d.ts.map +1 -0
- package/dist/components/divider/divider.d.ts +13 -0
- package/dist/components/divider/divider.d.ts.map +1 -0
- package/dist/components/document-tabs/document-tabs.d.ts +76 -0
- package/dist/components/document-tabs/document-tabs.d.ts.map +1 -0
- package/dist/components/document-viewer/document-viewer.d.ts +67 -0
- package/dist/components/document-viewer/document-viewer.d.ts.map +1 -0
- package/dist/components/dropdown-menu/dropdown-menu.d.ts +72 -0
- package/dist/components/dropdown-menu/dropdown-menu.d.ts.map +1 -0
- package/dist/components/dropdown-menu/menu-parts.d.ts +20 -0
- package/dist/components/dropdown-menu/menu-parts.d.ts.map +1 -0
- package/dist/components/dynamic-page/dynamic-page.d.ts +36 -0
- package/dist/components/dynamic-page/dynamic-page.d.ts.map +1 -0
- package/dist/components/empty-state/empty-state.d.ts +42 -0
- package/dist/components/empty-state/empty-state.d.ts.map +1 -0
- package/dist/components/fab/fab.d.ts +23 -0
- package/dist/components/fab/fab.d.ts.map +1 -0
- package/dist/components/file-upload/file-upload.d.ts +53 -0
- package/dist/components/file-upload/file-upload.d.ts.map +1 -0
- package/dist/components/filter-bar/filter-bar.d.ts +56 -0
- package/dist/components/filter-bar/filter-bar.d.ts.map +1 -0
- package/dist/components/filter-builder/filter-builder.d.ts +38 -0
- package/dist/components/filter-builder/filter-builder.d.ts.map +1 -0
- package/dist/components/flexible-column-layout/flexible-column-layout.d.ts +62 -0
- package/dist/components/flexible-column-layout/flexible-column-layout.d.ts.map +1 -0
- package/dist/components/form/amount-field/amount-field.d.ts +83 -0
- package/dist/components/form/amount-field/amount-field.d.ts.map +1 -0
- package/dist/components/form/checkbox/checkbox.d.ts +18 -0
- package/dist/components/form/checkbox/checkbox.d.ts.map +1 -0
- package/dist/components/form/date-picker/date-input.d.ts +50 -0
- package/dist/components/form/date-picker/date-input.d.ts.map +1 -0
- package/dist/components/form/date-picker/date-picker.d.ts +46 -0
- package/dist/components/form/date-picker/date-picker.d.ts.map +1 -0
- package/dist/components/form/date-picker/date-range-picker.d.ts +37 -0
- package/dist/components/form/date-picker/date-range-picker.d.ts.map +1 -0
- package/dist/components/form/date-picker/date-time-picker.d.ts +36 -0
- package/dist/components/form/date-picker/date-time-picker.d.ts.map +1 -0
- package/dist/components/form/dynamic-date-range/dynamic-date-range.d.ts +40 -0
- package/dist/components/form/dynamic-date-range/dynamic-date-range.d.ts.map +1 -0
- package/dist/components/form/input/input.constants.d.ts +2 -0
- package/dist/components/form/input/input.constants.d.ts.map +1 -0
- package/dist/components/form/input/input.d.ts +13 -0
- package/dist/components/form/input/input.d.ts.map +1 -0
- package/dist/components/form/input/speech-recognition.types.d.ts +46 -0
- package/dist/components/form/input/speech-recognition.types.d.ts.map +1 -0
- package/dist/components/form/input/textarea.d.ts +10 -0
- package/dist/components/form/input/textarea.d.ts.map +1 -0
- package/dist/components/form/label/label.d.ts +41 -0
- package/dist/components/form/label/label.d.ts.map +1 -0
- package/dist/components/form/mask-input/mask-input.d.ts +47 -0
- package/dist/components/form/mask-input/mask-input.d.ts.map +1 -0
- package/dist/components/form/native-select/native-select.d.ts +42 -0
- package/dist/components/form/native-select/native-select.d.ts.map +1 -0
- package/dist/components/form/number-field/number-field.d.ts +24 -0
- package/dist/components/form/number-field/number-field.d.ts.map +1 -0
- package/dist/components/form/otp/otp.d.ts +48 -0
- package/dist/components/form/otp/otp.d.ts.map +1 -0
- package/dist/components/form/password-input/password-input.d.ts +29 -0
- package/dist/components/form/password-input/password-input.d.ts.map +1 -0
- package/dist/components/form/phone-input/phone-input.constants.d.ts +3 -0
- package/dist/components/form/phone-input/phone-input.constants.d.ts.map +1 -0
- package/dist/components/form/phone-input/phone-input.d.ts +36 -0
- package/dist/components/form/phone-input/phone-input.d.ts.map +1 -0
- package/dist/components/form/radio/radio-group.d.ts +31 -0
- package/dist/components/form/radio/radio-group.d.ts.map +1 -0
- package/dist/components/form/search/search.d.ts +33 -0
- package/dist/components/form/search/search.d.ts.map +1 -0
- package/dist/components/form/select/select.d.ts +97 -0
- package/dist/components/form/select/select.d.ts.map +1 -0
- package/dist/components/form/slider/slider.d.ts +33 -0
- package/dist/components/form/slider/slider.d.ts.map +1 -0
- package/dist/components/form/switch/switch.d.ts +18 -0
- package/dist/components/form/switch/switch.d.ts.map +1 -0
- package/dist/components/form/tag-input/tag-input.d.ts +48 -0
- package/dist/components/form/tag-input/tag-input.d.ts.map +1 -0
- package/dist/components/form/time-picker/time-picker.d.ts +36 -0
- package/dist/components/form/time-picker/time-picker.d.ts.map +1 -0
- package/dist/components/form-builder/bound-fields.d.ts +79 -0
- package/dist/components/form-builder/bound-fields.d.ts.map +1 -0
- package/dist/components/form-builder/form.d.ts +56 -0
- package/dist/components/form-builder/form.d.ts.map +1 -0
- package/dist/components/gantt/gantt.d.ts +271 -0
- package/dist/components/gantt/gantt.d.ts.map +1 -0
- package/dist/components/gantt/schedule-grid.d.ts +268 -0
- package/dist/components/gantt/schedule-grid.d.ts.map +1 -0
- package/dist/components/genealogy-graph/genealogy-graph.d.ts +51 -0
- package/dist/components/genealogy-graph/genealogy-graph.d.ts.map +1 -0
- package/dist/components/icon/icon.d.ts +13 -0
- package/dist/components/icon/icon.d.ts.map +1 -0
- package/dist/components/line-card/line-card.d.ts +70 -0
- package/dist/components/line-card/line-card.d.ts.map +1 -0
- package/dist/components/link/link.d.ts +37 -0
- package/dist/components/link/link.d.ts.map +1 -0
- package/dist/components/listbox/virtualized-items.d.ts +80 -0
- package/dist/components/listbox/virtualized-items.d.ts.map +1 -0
- package/dist/components/live-indicator/live-indicator.d.ts +37 -0
- package/dist/components/live-indicator/live-indicator.d.ts.map +1 -0
- package/dist/components/loading/loading.d.ts +24 -0
- package/dist/components/loading/loading.d.ts.map +1 -0
- package/dist/components/locale/locale.d.ts +36 -0
- package/dist/components/locale/locale.d.ts.map +1 -0
- package/dist/components/lookup-field/lookup-field.d.ts +84 -0
- package/dist/components/lookup-field/lookup-field.d.ts.map +1 -0
- package/dist/components/map/map.d.ts +28 -0
- package/dist/components/map/map.d.ts.map +1 -0
- package/dist/components/measurement-input/measurement-input.d.ts +48 -0
- package/dist/components/measurement-input/measurement-input.d.ts.map +1 -0
- package/dist/components/media-timeline/media-timeline.d.ts +102 -0
- package/dist/components/media-timeline/media-timeline.d.ts.map +1 -0
- package/dist/components/message-popover/message-popover.d.ts +63 -0
- package/dist/components/message-popover/message-popover.d.ts.map +1 -0
- package/dist/components/micro-chart/micro-chart.d.ts +85 -0
- package/dist/components/micro-chart/micro-chart.d.ts.map +1 -0
- package/dist/components/notifications-inbox/notifications-inbox.d.ts +66 -0
- package/dist/components/notifications-inbox/notifications-inbox.d.ts.map +1 -0
- package/dist/components/object/object.d.ts +82 -0
- package/dist/components/object/object.d.ts.map +1 -0
- package/dist/components/object-page/object-page.d.ts +87 -0
- package/dist/components/object-page/object-page.d.ts.map +1 -0
- package/dist/components/oee-gauge/oee-gauge.d.ts +41 -0
- package/dist/components/oee-gauge/oee-gauge.d.ts.map +1 -0
- package/dist/components/page/page.d.ts +27 -0
- package/dist/components/page/page.d.ts.map +1 -0
- package/dist/components/page-header/page-header.d.ts +46 -0
- package/dist/components/page-header/page-header.d.ts.map +1 -0
- package/dist/components/pagination/pagination.d.ts +37 -0
- package/dist/components/pagination/pagination.d.ts.map +1 -0
- package/dist/components/paper/paper.d.ts +25 -0
- package/dist/components/paper/paper.d.ts.map +1 -0
- package/dist/components/patterns/list-report-data.d.ts +37 -0
- package/dist/components/patterns/list-report-data.d.ts.map +1 -0
- package/dist/components/pivot/index.d.ts +18 -0
- package/dist/components/pivot/index.d.ts.map +1 -0
- package/dist/components/pivot/internal/use-windowed-option-pages.d.ts +40 -0
- package/dist/components/pivot/internal/use-windowed-option-pages.d.ts.map +1 -0
- package/dist/components/pivot/internal/windowed-virtual-list.d.ts +35 -0
- package/dist/components/pivot/internal/windowed-virtual-list.d.ts.map +1 -0
- package/dist/components/pivot/pivot-drop-zone.d.ts +22 -0
- package/dist/components/pivot/pivot-drop-zone.d.ts.map +1 -0
- package/dist/components/pivot/pivot-field-chip.d.ts +38 -0
- package/dist/components/pivot/pivot-field-chip.d.ts.map +1 -0
- package/dist/components/pivot/pivot-filter-menu.d.ts +41 -0
- package/dist/components/pivot/pivot-filter-menu.d.ts.map +1 -0
- package/dist/components/pivot/pivot-grid.d.ts +91 -0
- package/dist/components/pivot/pivot-grid.d.ts.map +1 -0
- package/dist/components/pivot/pivot-workbench.d.ts +29 -0
- package/dist/components/pivot/pivot-workbench.d.ts.map +1 -0
- package/dist/components/pivot-demo-data.d.ts +33 -0
- package/dist/components/pivot-demo-data.d.ts.map +1 -0
- package/dist/components/planned-vs-actual/planned-vs-actual.d.ts +58 -0
- package/dist/components/planned-vs-actual/planned-vs-actual.d.ts.map +1 -0
- package/dist/components/planning-calendar/planning-calendar.d.ts +83 -0
- package/dist/components/planning-calendar/planning-calendar.d.ts.map +1 -0
- package/dist/components/popover/popover.d.ts +19 -0
- package/dist/components/popover/popover.d.ts.map +1 -0
- package/dist/components/proctor/proctor.d.ts +77 -0
- package/dist/components/proctor/proctor.d.ts.map +1 -0
- package/dist/components/production-progress/production-progress.d.ts +53 -0
- package/dist/components/production-progress/production-progress.d.ts.map +1 -0
- package/dist/components/production-schedule/production-schedule.d.ts +248 -0
- package/dist/components/production-schedule/production-schedule.d.ts.map +1 -0
- package/dist/components/progress/progress.d.ts +20 -0
- package/dist/components/progress/progress.d.ts.map +1 -0
- package/dist/components/qr-scanner/qr-scanner.d.ts +80 -0
- package/dist/components/qr-scanner/qr-scanner.d.ts.map +1 -0
- package/dist/components/rate-bars/rate-bars.d.ts +54 -0
- package/dist/components/rate-bars/rate-bars.d.ts.map +1 -0
- package/dist/components/reason-code-picker/reason-code-picker.d.ts +42 -0
- package/dist/components/reason-code-picker/reason-code-picker.d.ts.map +1 -0
- package/dist/components/rich-text/rich-text.d.ts +56 -0
- package/dist/components/rich-text/rich-text.d.ts.map +1 -0
- package/dist/components/routing-graph/routing-graph.d.ts +49 -0
- package/dist/components/routing-graph/routing-graph.d.ts.map +1 -0
- package/dist/components/scan-input/scan-input.d.ts +64 -0
- package/dist/components/scan-input/scan-input.d.ts.map +1 -0
- package/dist/components/schedule-backlog/schedule-backlog.d.ts +62 -0
- package/dist/components/schedule-backlog/schedule-backlog.d.ts.map +1 -0
- package/dist/components/scroll-area/scroll-area.d.ts +17 -0
- package/dist/components/scroll-area/scroll-area.d.ts.map +1 -0
- package/dist/components/select-dialog/select-dialog.d.ts +56 -0
- package/dist/components/select-dialog/select-dialog.d.ts.map +1 -0
- package/dist/components/select-list/filter.d.ts +4 -0
- package/dist/components/select-list/filter.d.ts.map +1 -0
- package/dist/components/select-list/select-list.d.ts +40 -0
- package/dist/components/select-list/select-list.d.ts.map +1 -0
- package/dist/components/sheet/sheet.d.ts +64 -0
- package/dist/components/sheet/sheet.d.ts.map +1 -0
- package/dist/components/shellbar/shellbar.d.ts +72 -0
- package/dist/components/shellbar/shellbar.d.ts.map +1 -0
- package/dist/components/shift-navigator/shift-navigator.d.ts +50 -0
- package/dist/components/shift-navigator/shift-navigator.d.ts.map +1 -0
- package/dist/components/shortcuts/shortcuts.d.ts +132 -0
- package/dist/components/shortcuts/shortcuts.d.ts.map +1 -0
- package/dist/components/sidebar/sidebar.d.ts +155 -0
- package/dist/components/sidebar/sidebar.d.ts.map +1 -0
- package/dist/components/skeleton/skeleton.d.ts +13 -0
- package/dist/components/skeleton/skeleton.d.ts.map +1 -0
- package/dist/components/skip-to-content/skip-to-content.d.ts +23 -0
- package/dist/components/skip-to-content/skip-to-content.d.ts.map +1 -0
- package/dist/components/sortable-list/sortable-list.d.ts +72 -0
- package/dist/components/sortable-list/sortable-list.d.ts.map +1 -0
- package/dist/components/splitter/splitter.d.ts +57 -0
- package/dist/components/splitter/splitter.d.ts.map +1 -0
- package/dist/components/spreadsheet-grid/spreadsheet-grid.d.ts +67 -0
- package/dist/components/spreadsheet-grid/spreadsheet-grid.d.ts.map +1 -0
- package/dist/components/stack/stack.d.ts +41 -0
- package/dist/components/stack/stack.d.ts.map +1 -0
- package/dist/components/stat-card/stat-card.d.ts +77 -0
- package/dist/components/stat-card/stat-card.d.ts.map +1 -0
- package/dist/components/state-pill/state-pill.d.ts +42 -0
- package/dist/components/state-pill/state-pill.d.ts.map +1 -0
- package/dist/components/state-timeline/state-timeline.d.ts +67 -0
- package/dist/components/state-timeline/state-timeline.d.ts.map +1 -0
- package/dist/components/status-bar/status-bar.d.ts +58 -0
- package/dist/components/status-bar/status-bar.d.ts.map +1 -0
- package/dist/components/step-runner/step-runner.d.ts +61 -0
- package/dist/components/step-runner/step-runner.d.ts.map +1 -0
- package/dist/components/stepper/stepper.d.ts +111 -0
- package/dist/components/stepper/stepper.d.ts.map +1 -0
- package/dist/components/survey/likert.d.ts +84 -0
- package/dist/components/survey/likert.d.ts.map +1 -0
- package/dist/components/survey/nps.d.ts +42 -0
- package/dist/components/survey/nps.d.ts.map +1 -0
- package/dist/components/survey/rating.d.ts +49 -0
- package/dist/components/survey/rating.d.ts.map +1 -0
- package/dist/components/svg_components.d.ts +36 -0
- package/dist/components/svg_components.d.ts.map +1 -0
- package/dist/components/tabs/tabs.d.ts +49 -0
- package/dist/components/tabs/tabs.d.ts.map +1 -0
- package/dist/components/theme/theme.d.ts +37 -0
- package/dist/components/theme/theme.d.ts.map +1 -0
- package/dist/components/theme-switcher.d.ts +13 -0
- package/dist/components/theme-switcher.d.ts.map +1 -0
- package/dist/components/tile/tile.d.ts +62 -0
- package/dist/components/tile/tile.d.ts.map +1 -0
- package/dist/components/timeline/timeline.d.ts +75 -0
- package/dist/components/timeline/timeline.d.ts.map +1 -0
- package/dist/components/toast/toast.d.ts +41 -0
- package/dist/components/toast/toast.d.ts.map +1 -0
- package/dist/components/toast/toaster.d.ts +26 -0
- package/dist/components/toast/toaster.d.ts.map +1 -0
- package/dist/components/toast/use-toast.d.ts +104 -0
- package/dist/components/toast/use-toast.d.ts.map +1 -0
- package/dist/components/toolbar/toolbar.d.ts +45 -0
- package/dist/components/toolbar/toolbar.d.ts.map +1 -0
- package/dist/components/tooltip/tooltip.d.ts +28 -0
- package/dist/components/tooltip/tooltip.d.ts.map +1 -0
- package/dist/components/tree/tree.d.ts +54 -0
- package/dist/components/tree/tree.d.ts.map +1 -0
- package/dist/components/tree-select/tree-select.d.ts +53 -0
- package/dist/components/tree-select/tree-select.d.ts.map +1 -0
- package/dist/components/tree-table/tree-table.d.ts +77 -0
- package/dist/components/tree-table/tree-table.d.ts.map +1 -0
- package/dist/components/upload-collection/upload-collection.d.ts +64 -0
- package/dist/components/upload-collection/upload-collection.d.ts.map +1 -0
- package/dist/components/url-data-table/url-data-table.d.ts +102 -0
- package/dist/components/url-data-table/url-data-table.d.ts.map +1 -0
- package/dist/components/value-help/value-help.d.ts +65 -0
- package/dist/components/value-help/value-help.d.ts.map +1 -0
- package/dist/components/view-manager/view-manager.d.ts +52 -0
- package/dist/components/view-manager/view-manager.d.ts.map +1 -0
- package/dist/components/view-settings/view-settings-dialog.d.ts +66 -0
- package/dist/components/view-settings/view-settings-dialog.d.ts.map +1 -0
- package/dist/components/waveform/waveform.d.ts +61 -0
- package/dist/components/waveform/waveform.d.ts.map +1 -0
- package/dist/index.d.ts +373 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +764 -0
- package/dist/index.js.map +1 -0
- package/dist/index10.js +62 -0
- package/dist/index10.js.map +1 -0
- package/dist/index100.js +136 -0
- package/dist/index100.js.map +1 -0
- package/dist/index101.js +253 -0
- package/dist/index101.js.map +1 -0
- package/dist/index102.js +145 -0
- package/dist/index102.js.map +1 -0
- package/dist/index103.js +25 -0
- package/dist/index103.js.map +1 -0
- package/dist/index104.js +124 -0
- package/dist/index104.js.map +1 -0
- package/dist/index105.js +1794 -0
- package/dist/index105.js.map +1 -0
- package/dist/index106.js +241 -0
- package/dist/index106.js.map +1 -0
- package/dist/index107.js +424 -0
- package/dist/index107.js.map +1 -0
- package/dist/index108.js +198 -0
- package/dist/index108.js.map +1 -0
- package/dist/index109.js +844 -0
- package/dist/index109.js.map +1 -0
- package/dist/index11.js +105 -0
- package/dist/index11.js.map +1 -0
- package/dist/index110.js +582 -0
- package/dist/index110.js.map +1 -0
- package/dist/index111.js +765 -0
- package/dist/index111.js.map +1 -0
- package/dist/index112.js +224 -0
- package/dist/index112.js.map +1 -0
- package/dist/index113.js +142 -0
- package/dist/index113.js.map +1 -0
- package/dist/index114.js +113 -0
- package/dist/index114.js.map +1 -0
- package/dist/index115.js +51 -0
- package/dist/index115.js.map +1 -0
- package/dist/index116.js +46 -0
- package/dist/index116.js.map +1 -0
- package/dist/index117.js +107 -0
- package/dist/index117.js.map +1 -0
- package/dist/index118.js +24 -0
- package/dist/index118.js.map +1 -0
- package/dist/index119.js +205 -0
- package/dist/index119.js.map +1 -0
- package/dist/index12.js +165 -0
- package/dist/index12.js.map +1 -0
- package/dist/index120.js +69 -0
- package/dist/index120.js.map +1 -0
- package/dist/index121.js +122 -0
- package/dist/index121.js.map +1 -0
- package/dist/index122.js +29 -0
- package/dist/index122.js.map +1 -0
- package/dist/index123.js +127 -0
- package/dist/index123.js.map +1 -0
- package/dist/index124.js +20 -0
- package/dist/index124.js.map +1 -0
- package/dist/index125.js +110 -0
- package/dist/index125.js.map +1 -0
- package/dist/index126.js +39 -0
- package/dist/index126.js.map +1 -0
- package/dist/index127.js +76 -0
- package/dist/index127.js.map +1 -0
- package/dist/index128.js +26 -0
- package/dist/index128.js.map +1 -0
- package/dist/index129.js +129 -0
- package/dist/index129.js.map +1 -0
- package/dist/index13.js +107 -0
- package/dist/index13.js.map +1 -0
- package/dist/index130.js +47 -0
- package/dist/index130.js.map +1 -0
- package/dist/index131.js +191 -0
- package/dist/index131.js.map +1 -0
- package/dist/index132.js +34 -0
- package/dist/index132.js.map +1 -0
- package/dist/index133.js +56 -0
- package/dist/index133.js.map +1 -0
- package/dist/index134.js +9 -0
- package/dist/index134.js.map +1 -0
- package/dist/index135.js +89 -0
- package/dist/index135.js.map +1 -0
- package/dist/index136.js +21 -0
- package/dist/index136.js.map +1 -0
- package/dist/index137.js +88 -0
- package/dist/index137.js.map +1 -0
- package/dist/index138.js +82 -0
- package/dist/index138.js.map +1 -0
- package/dist/index139.js +88 -0
- package/dist/index139.js.map +1 -0
- package/dist/index14.js +151 -0
- package/dist/index14.js.map +1 -0
- package/dist/index140.js +33 -0
- package/dist/index140.js.map +1 -0
- package/dist/index141.js +79 -0
- package/dist/index141.js.map +1 -0
- package/dist/index142.js +44 -0
- package/dist/index142.js.map +1 -0
- package/dist/index143.js +86 -0
- package/dist/index143.js.map +1 -0
- package/dist/index144.js +7 -0
- package/dist/index144.js.map +1 -0
- package/dist/index145.js +71 -0
- package/dist/index145.js.map +1 -0
- package/dist/index146.js +40 -0
- package/dist/index146.js.map +1 -0
- package/dist/index147.js +118 -0
- package/dist/index147.js.map +1 -0
- package/dist/index148.js +91 -0
- package/dist/index148.js.map +1 -0
- package/dist/index149.js +108 -0
- package/dist/index149.js.map +1 -0
- package/dist/index15.js +142 -0
- package/dist/index15.js.map +1 -0
- package/dist/index150.js +46 -0
- package/dist/index150.js.map +1 -0
- package/dist/index151.js +198 -0
- package/dist/index151.js.map +1 -0
- package/dist/index152.js +62 -0
- package/dist/index152.js.map +1 -0
- package/dist/index153.js +81 -0
- package/dist/index153.js.map +1 -0
- package/dist/index154.js +162 -0
- package/dist/index154.js.map +1 -0
- package/dist/index155.js +162 -0
- package/dist/index155.js.map +1 -0
- package/dist/index156.js +175 -0
- package/dist/index156.js.map +1 -0
- package/dist/index157.js +125 -0
- package/dist/index157.js.map +1 -0
- package/dist/index158.js +123 -0
- package/dist/index158.js.map +1 -0
- package/dist/index159.js +222 -0
- package/dist/index159.js.map +1 -0
- package/dist/index16.js +121 -0
- package/dist/index16.js.map +1 -0
- package/dist/index160.js +147 -0
- package/dist/index160.js.map +1 -0
- package/dist/index161.js +20 -0
- package/dist/index161.js.map +1 -0
- package/dist/index162.js +146 -0
- package/dist/index162.js.map +1 -0
- package/dist/index163.js +50 -0
- package/dist/index163.js.map +1 -0
- package/dist/index164.js +187 -0
- package/dist/index164.js.map +1 -0
- package/dist/index165.js +35 -0
- package/dist/index165.js.map +1 -0
- package/dist/index166.js +60 -0
- package/dist/index166.js.map +1 -0
- package/dist/index167.js +223 -0
- package/dist/index167.js.map +1 -0
- package/dist/index168.js +48 -0
- package/dist/index168.js.map +1 -0
- package/dist/index169.js +117 -0
- package/dist/index169.js.map +1 -0
- package/dist/index17.js +202 -0
- package/dist/index17.js.map +1 -0
- package/dist/index170.js +51 -0
- package/dist/index170.js.map +1 -0
- package/dist/index171.js +111 -0
- package/dist/index171.js.map +1 -0
- package/dist/index172.js +20 -0
- package/dist/index172.js.map +1 -0
- package/dist/index173.js +100 -0
- package/dist/index173.js.map +1 -0
- package/dist/index174.js +299 -0
- package/dist/index174.js.map +1 -0
- package/dist/index175.js +59 -0
- package/dist/index175.js.map +1 -0
- package/dist/index176.js +168 -0
- package/dist/index176.js.map +1 -0
- package/dist/index177.js +241 -0
- package/dist/index177.js.map +1 -0
- package/dist/index178.js +308 -0
- package/dist/index178.js.map +1 -0
- package/dist/index179.js +287 -0
- package/dist/index179.js.map +1 -0
- package/dist/index18.js +153 -0
- package/dist/index18.js.map +1 -0
- package/dist/index180.js +118 -0
- package/dist/index180.js.map +1 -0
- package/dist/index181.js +103 -0
- package/dist/index181.js.map +1 -0
- package/dist/index182.js +110 -0
- package/dist/index182.js.map +1 -0
- package/dist/index183.js +541 -0
- package/dist/index183.js.map +1 -0
- package/dist/index184.js +160 -0
- package/dist/index184.js.map +1 -0
- package/dist/index185.js +227 -0
- package/dist/index185.js.map +1 -0
- package/dist/index186.js +795 -0
- package/dist/index186.js.map +1 -0
- package/dist/index187.js +62 -0
- package/dist/index187.js.map +1 -0
- package/dist/index188.js +166 -0
- package/dist/index188.js.map +1 -0
- package/dist/index189.js +54 -0
- package/dist/index189.js.map +1 -0
- package/dist/index19.js +121 -0
- package/dist/index19.js.map +1 -0
- package/dist/index190.js +61 -0
- package/dist/index190.js.map +1 -0
- package/dist/index191.js +53 -0
- package/dist/index191.js.map +1 -0
- package/dist/index192.js +135 -0
- package/dist/index192.js.map +1 -0
- package/dist/index193.js +155 -0
- package/dist/index193.js.map +1 -0
- package/dist/index194.js +283 -0
- package/dist/index194.js.map +1 -0
- package/dist/index195.js +205 -0
- package/dist/index195.js.map +1 -0
- package/dist/index196.js +56 -0
- package/dist/index196.js.map +1 -0
- package/dist/index197.js +75 -0
- package/dist/index197.js.map +1 -0
- package/dist/index198.js +206 -0
- package/dist/index198.js.map +1 -0
- package/dist/index199.js +31 -0
- package/dist/index199.js.map +1 -0
- package/dist/index20.js +268 -0
- package/dist/index20.js.map +1 -0
- package/dist/index200.js +36 -0
- package/dist/index200.js.map +1 -0
- package/dist/index201.js +139 -0
- package/dist/index201.js.map +1 -0
- package/dist/index202.js +245 -0
- package/dist/index202.js.map +1 -0
- package/dist/index203.js +11 -0
- package/dist/index203.js.map +1 -0
- package/dist/index204.js +245 -0
- package/dist/index204.js.map +1 -0
- package/dist/index205.js +11 -0
- package/dist/index205.js.map +1 -0
- package/dist/index206.js +82 -0
- package/dist/index206.js.map +1 -0
- package/dist/index207.js +26 -0
- package/dist/index207.js.map +1 -0
- package/dist/index208.js +137 -0
- package/dist/index208.js.map +1 -0
- package/dist/index209.js +371 -0
- package/dist/index209.js.map +1 -0
- package/dist/index21.js +112 -0
- package/dist/index21.js.map +1 -0
- package/dist/index210.js +31 -0
- package/dist/index210.js.map +1 -0
- package/dist/index211.js +82 -0
- package/dist/index211.js.map +1 -0
- package/dist/index212.js +242 -0
- package/dist/index212.js.map +1 -0
- package/dist/index213.js +252 -0
- package/dist/index213.js.map +1 -0
- package/dist/index214.js +376 -0
- package/dist/index214.js.map +1 -0
- package/dist/index215.js +232 -0
- package/dist/index215.js.map +1 -0
- package/dist/index216.js +888 -0
- package/dist/index216.js.map +1 -0
- package/dist/index217.js +525 -0
- package/dist/index217.js.map +1 -0
- package/dist/index218.js +52 -0
- package/dist/index218.js.map +1 -0
- package/dist/index219.js +108 -0
- package/dist/index219.js.map +1 -0
- package/dist/index22.js +101 -0
- package/dist/index22.js.map +1 -0
- package/dist/index220.js +108 -0
- package/dist/index220.js.map +1 -0
- package/dist/index221.js +52 -0
- package/dist/index221.js.map +1 -0
- package/dist/index222.js +44 -0
- package/dist/index222.js.map +1 -0
- package/dist/index223.js +113 -0
- package/dist/index223.js.map +1 -0
- package/dist/index224.js +152 -0
- package/dist/index224.js.map +1 -0
- package/dist/index225.js +8 -0
- package/dist/index225.js.map +1 -0
- package/dist/index226.js +25 -0
- package/dist/index226.js.map +1 -0
- package/dist/index227.js +85 -0
- package/dist/index227.js.map +1 -0
- package/dist/index228.js +533 -0
- package/dist/index228.js.map +1 -0
- package/dist/index229.js +339 -0
- package/dist/index229.js.map +1 -0
- package/dist/index23.js +165 -0
- package/dist/index23.js.map +1 -0
- package/dist/index230.js +227 -0
- package/dist/index230.js.map +1 -0
- package/dist/index231.js +41 -0
- package/dist/index231.js.map +1 -0
- package/dist/index232.js +126 -0
- package/dist/index232.js.map +1 -0
- package/dist/index233.js +245 -0
- package/dist/index233.js.map +1 -0
- package/dist/index234.js +331 -0
- package/dist/index234.js.map +1 -0
- package/dist/index235.js +233 -0
- package/dist/index235.js.map +1 -0
- package/dist/index236.js +101 -0
- package/dist/index236.js.map +1 -0
- package/dist/index237.js +447 -0
- package/dist/index237.js.map +1 -0
- package/dist/index238.js +15 -0
- package/dist/index238.js.map +1 -0
- package/dist/index239.js +1022 -0
- package/dist/index239.js.map +1 -0
- package/dist/index24.js +248 -0
- package/dist/index24.js.map +1 -0
- package/dist/index240.js +236 -0
- package/dist/index240.js.map +1 -0
- package/dist/index241.js +121 -0
- package/dist/index241.js.map +1 -0
- package/dist/index242.js +164 -0
- package/dist/index242.js.map +1 -0
- package/dist/index243.js +95 -0
- package/dist/index243.js.map +1 -0
- package/dist/index244.js +91 -0
- package/dist/index244.js.map +1 -0
- package/dist/index245.js +2680 -0
- package/dist/index245.js.map +1 -0
- package/dist/index246.js +483 -0
- package/dist/index246.js.map +1 -0
- package/dist/index247.js +236 -0
- package/dist/index247.js.map +1 -0
- package/dist/index248.js +250 -0
- package/dist/index248.js.map +1 -0
- package/dist/index249.js +62 -0
- package/dist/index249.js.map +1 -0
- package/dist/index25.js +111 -0
- package/dist/index25.js.map +1 -0
- package/dist/index250.js +62 -0
- package/dist/index250.js.map +1 -0
- package/dist/index251.js +30 -0
- package/dist/index251.js.map +1 -0
- package/dist/index252.js +160 -0
- package/dist/index252.js.map +1 -0
- package/dist/index253.js +626 -0
- package/dist/index253.js.map +1 -0
- package/dist/index254.js +1955 -0
- package/dist/index254.js.map +1 -0
- package/dist/index255.js +107 -0
- package/dist/index255.js.map +1 -0
- package/dist/index256.js +8 -0
- package/dist/index256.js.map +1 -0
- package/dist/index257.js +650 -0
- package/dist/index257.js.map +1 -0
- package/dist/index258.js +155 -0
- package/dist/index258.js.map +1 -0
- package/dist/index259.js +18807 -0
- package/dist/index259.js.map +1 -0
- package/dist/index26.js +79 -0
- package/dist/index26.js.map +1 -0
- package/dist/index260.js +64 -0
- package/dist/index260.js.map +1 -0
- package/dist/index261.js +34 -0
- package/dist/index261.js.map +1 -0
- package/dist/index262.js +76 -0
- package/dist/index262.js.map +1 -0
- package/dist/index263.js +313 -0
- package/dist/index263.js.map +1 -0
- package/dist/index264.js +24 -0
- package/dist/index264.js.map +1 -0
- package/dist/index265.js +97 -0
- package/dist/index265.js.map +1 -0
- package/dist/index266.js +11683 -0
- package/dist/index266.js.map +1 -0
- package/dist/index267.js +109 -0
- package/dist/index267.js.map +1 -0
- package/dist/index268.js +71 -0
- package/dist/index268.js.map +1 -0
- package/dist/index269.js +71 -0
- package/dist/index269.js.map +1 -0
- package/dist/index27.js +180 -0
- package/dist/index27.js.map +1 -0
- package/dist/index270.js +30 -0
- package/dist/index270.js.map +1 -0
- package/dist/index271.js +17 -0
- package/dist/index271.js.map +1 -0
- package/dist/index272.js +10 -0
- package/dist/index272.js.map +1 -0
- package/dist/index273.js +57 -0
- package/dist/index273.js.map +1 -0
- package/dist/index274.js +221 -0
- package/dist/index274.js.map +1 -0
- package/dist/index275.js +19 -0
- package/dist/index275.js.map +1 -0
- package/dist/index276.js +139 -0
- package/dist/index276.js.map +1 -0
- package/dist/index277.js +14 -0
- package/dist/index277.js.map +1 -0
- package/dist/index278.js +263 -0
- package/dist/index278.js.map +1 -0
- package/dist/index279.js +16 -0
- package/dist/index279.js.map +1 -0
- package/dist/index28.js +222 -0
- package/dist/index28.js.map +1 -0
- package/dist/index280.js +97 -0
- package/dist/index280.js.map +1 -0
- package/dist/index281.js +37 -0
- package/dist/index281.js.map +1 -0
- package/dist/index282.js +53 -0
- package/dist/index282.js.map +1 -0
- package/dist/index283.js +53 -0
- package/dist/index283.js.map +1 -0
- package/dist/index284.js +12 -0
- package/dist/index284.js.map +1 -0
- package/dist/index285.js +33 -0
- package/dist/index285.js.map +1 -0
- package/dist/index286.js +642 -0
- package/dist/index286.js.map +1 -0
- package/dist/index287.js +11 -0
- package/dist/index287.js.map +1 -0
- package/dist/index288.js +7 -0
- package/dist/index288.js.map +1 -0
- package/dist/index289.js +7 -0
- package/dist/index289.js.map +1 -0
- package/dist/index29.js +65 -0
- package/dist/index29.js.map +1 -0
- package/dist/index290.js +189 -0
- package/dist/index290.js.map +1 -0
- package/dist/index291.js +28 -0
- package/dist/index291.js.map +1 -0
- package/dist/index292.js +9 -0
- package/dist/index292.js.map +1 -0
- package/dist/index293.js +51 -0
- package/dist/index293.js.map +1 -0
- package/dist/index294.js +233 -0
- package/dist/index294.js.map +1 -0
- package/dist/index295.js +25 -0
- package/dist/index295.js.map +1 -0
- package/dist/index296.js +396 -0
- package/dist/index296.js.map +1 -0
- package/dist/index297.js +790 -0
- package/dist/index297.js.map +1 -0
- package/dist/index298.js +25 -0
- package/dist/index298.js.map +1 -0
- package/dist/index299.js +28 -0
- package/dist/index299.js.map +1 -0
- package/dist/index30.js +135 -0
- package/dist/index30.js.map +1 -0
- package/dist/index300.js +32 -0
- package/dist/index300.js.map +1 -0
- package/dist/index301.js +8 -0
- package/dist/index301.js.map +1 -0
- package/dist/index302.js +57 -0
- package/dist/index302.js.map +1 -0
- package/dist/index303.js +103 -0
- package/dist/index303.js.map +1 -0
- package/dist/index304.js +34 -0
- package/dist/index304.js.map +1 -0
- package/dist/index305.js +54 -0
- package/dist/index305.js.map +1 -0
- package/dist/index306.js +18 -0
- package/dist/index306.js.map +1 -0
- package/dist/index307.js +8 -0
- package/dist/index307.js.map +1 -0
- package/dist/index308.js +6 -0
- package/dist/index308.js.map +1 -0
- package/dist/index309.js +27 -0
- package/dist/index309.js.map +1 -0
- package/dist/index31.js +261 -0
- package/dist/index31.js.map +1 -0
- package/dist/index310.js +116 -0
- package/dist/index310.js.map +1 -0
- package/dist/index311.js +19 -0
- package/dist/index311.js.map +1 -0
- package/dist/index312.js +512 -0
- package/dist/index312.js.map +1 -0
- package/dist/index313.js +129 -0
- package/dist/index313.js.map +1 -0
- package/dist/index314.js +137 -0
- package/dist/index314.js.map +1 -0
- package/dist/index315.js +3016 -0
- package/dist/index315.js.map +1 -0
- package/dist/index316.js +72 -0
- package/dist/index316.js.map +1 -0
- package/dist/index317.js +12 -0
- package/dist/index317.js.map +1 -0
- package/dist/index318.js +17 -0
- package/dist/index318.js.map +1 -0
- package/dist/index319.js +69 -0
- package/dist/index319.js.map +1 -0
- package/dist/index32.js +167 -0
- package/dist/index32.js.map +1 -0
- package/dist/index320.js +68 -0
- package/dist/index320.js.map +1 -0
- package/dist/index321.js +53 -0
- package/dist/index321.js.map +1 -0
- package/dist/index322.js +8 -0
- package/dist/index322.js.map +1 -0
- package/dist/index323.js +16 -0
- package/dist/index323.js.map +1 -0
- package/dist/index324.js +9 -0
- package/dist/index324.js.map +1 -0
- package/dist/index325.js +21 -0
- package/dist/index325.js.map +1 -0
- package/dist/index326.js +8 -0
- package/dist/index326.js.map +1 -0
- package/dist/index327.js +8 -0
- package/dist/index327.js.map +1 -0
- package/dist/index328.js +9 -0
- package/dist/index328.js.map +1 -0
- package/dist/index329.js +9 -0
- package/dist/index329.js.map +1 -0
- package/dist/index33.js +57 -0
- package/dist/index33.js.map +1 -0
- package/dist/index330.js +8 -0
- package/dist/index330.js.map +1 -0
- package/dist/index331.js +8 -0
- package/dist/index331.js.map +1 -0
- package/dist/index332.js +10 -0
- package/dist/index332.js.map +1 -0
- package/dist/index333.js +28 -0
- package/dist/index333.js.map +1 -0
- package/dist/index334.js +8 -0
- package/dist/index334.js.map +1 -0
- package/dist/index335.js +8 -0
- package/dist/index335.js.map +1 -0
- package/dist/index336.js +8 -0
- package/dist/index336.js.map +1 -0
- package/dist/index337.js +9 -0
- package/dist/index337.js.map +1 -0
- package/dist/index338.js +8 -0
- package/dist/index338.js.map +1 -0
- package/dist/index339.js +9 -0
- package/dist/index339.js.map +1 -0
- package/dist/index34.js +68 -0
- package/dist/index34.js.map +1 -0
- package/dist/index340.js +8 -0
- package/dist/index340.js.map +1 -0
- package/dist/index341.js +12 -0
- package/dist/index341.js.map +1 -0
- package/dist/index342.js +9 -0
- package/dist/index342.js.map +1 -0
- package/dist/index343.js +8 -0
- package/dist/index343.js.map +1 -0
- package/dist/index344.js +8 -0
- package/dist/index344.js.map +1 -0
- package/dist/index345.js +10 -0
- package/dist/index345.js.map +1 -0
- package/dist/index346.js +156 -0
- package/dist/index346.js.map +1 -0
- package/dist/index347.js +43 -0
- package/dist/index347.js.map +1 -0
- package/dist/index348.js +8 -0
- package/dist/index348.js.map +1 -0
- package/dist/index349.js +11 -0
- package/dist/index349.js.map +1 -0
- package/dist/index35.js +25 -0
- package/dist/index35.js.map +1 -0
- package/dist/index350.js +17 -0
- package/dist/index350.js.map +1 -0
- package/dist/index351.js +17 -0
- package/dist/index351.js.map +1 -0
- package/dist/index352.js +11 -0
- package/dist/index352.js.map +1 -0
- package/dist/index353.js +35 -0
- package/dist/index353.js.map +1 -0
- package/dist/index354.js +14 -0
- package/dist/index354.js.map +1 -0
- package/dist/index355.js +14 -0
- package/dist/index355.js.map +1 -0
- package/dist/index356.js +12 -0
- package/dist/index356.js.map +1 -0
- package/dist/index357.js +17 -0
- package/dist/index357.js.map +1 -0
- package/dist/index358.js +105 -0
- package/dist/index358.js.map +1 -0
- package/dist/index359.js +23 -0
- package/dist/index359.js.map +1 -0
- package/dist/index36.js +37 -0
- package/dist/index36.js.map +1 -0
- package/dist/index360.js +57 -0
- package/dist/index360.js.map +1 -0
- package/dist/index361.js +76 -0
- package/dist/index361.js.map +1 -0
- package/dist/index362.js +13 -0
- package/dist/index362.js.map +1 -0
- package/dist/index363.js +24 -0
- package/dist/index363.js.map +1 -0
- package/dist/index364.js +20 -0
- package/dist/index364.js.map +1 -0
- package/dist/index365.js +27 -0
- package/dist/index365.js.map +1 -0
- package/dist/index366.js +10 -0
- package/dist/index366.js.map +1 -0
- package/dist/index367.js +9 -0
- package/dist/index367.js.map +1 -0
- package/dist/index368.js +27 -0
- package/dist/index368.js.map +1 -0
- package/dist/index369.js +38 -0
- package/dist/index369.js.map +1 -0
- package/dist/index37.js +82 -0
- package/dist/index37.js.map +1 -0
- package/dist/index370.js +17 -0
- package/dist/index370.js.map +1 -0
- package/dist/index371.js +8 -0
- package/dist/index371.js.map +1 -0
- package/dist/index372.js +8 -0
- package/dist/index372.js.map +1 -0
- package/dist/index373.js +8 -0
- package/dist/index373.js.map +1 -0
- package/dist/index374.js +8 -0
- package/dist/index374.js.map +1 -0
- package/dist/index375.js +8 -0
- package/dist/index375.js.map +1 -0
- package/dist/index376.js +7 -0
- package/dist/index376.js.map +1 -0
- package/dist/index377.js +8 -0
- package/dist/index377.js.map +1 -0
- package/dist/index378.js +25 -0
- package/dist/index378.js.map +1 -0
- package/dist/index379.js +9 -0
- package/dist/index379.js.map +1 -0
- package/dist/index38.js +43 -0
- package/dist/index38.js.map +1 -0
- package/dist/index380.js +8 -0
- package/dist/index380.js.map +1 -0
- package/dist/index381.js +9 -0
- package/dist/index381.js.map +1 -0
- package/dist/index382.js +7 -0
- package/dist/index382.js.map +1 -0
- package/dist/index383.js +7 -0
- package/dist/index383.js.map +1 -0
- package/dist/index384.js +8 -0
- package/dist/index384.js.map +1 -0
- package/dist/index385.js +7 -0
- package/dist/index385.js.map +1 -0
- package/dist/index386.js +8 -0
- package/dist/index386.js.map +1 -0
- package/dist/index387.js +7 -0
- package/dist/index387.js.map +1 -0
- package/dist/index388.js +7 -0
- package/dist/index388.js.map +1 -0
- package/dist/index389.js +7 -0
- package/dist/index389.js.map +1 -0
- package/dist/index39.js +172 -0
- package/dist/index39.js.map +1 -0
- package/dist/index390.js +116 -0
- package/dist/index390.js.map +1 -0
- package/dist/index391.js +132 -0
- package/dist/index391.js.map +1 -0
- package/dist/index392.js +9 -0
- package/dist/index392.js.map +1 -0
- package/dist/index393.js +38 -0
- package/dist/index393.js.map +1 -0
- package/dist/index394.js +13 -0
- package/dist/index394.js.map +1 -0
- package/dist/index395.js +10 -0
- package/dist/index395.js.map +1 -0
- package/dist/index396.js +19 -0
- package/dist/index396.js.map +1 -0
- package/dist/index397.js +20 -0
- package/dist/index397.js.map +1 -0
- package/dist/index398.js +9 -0
- package/dist/index398.js.map +1 -0
- package/dist/index399.js +9 -0
- package/dist/index399.js.map +1 -0
- package/dist/index4.js +29 -0
- package/dist/index4.js.map +1 -0
- package/dist/index40.js +71 -0
- package/dist/index40.js.map +1 -0
- package/dist/index400.js +62 -0
- package/dist/index400.js.map +1 -0
- package/dist/index401.js +91 -0
- package/dist/index401.js.map +1 -0
- package/dist/index402.js +10 -0
- package/dist/index402.js.map +1 -0
- package/dist/index403.js +8 -0
- package/dist/index403.js.map +1 -0
- package/dist/index404.js +10 -0
- package/dist/index404.js.map +1 -0
- package/dist/index405.js +20 -0
- package/dist/index405.js.map +1 -0
- package/dist/index406.js +8 -0
- package/dist/index406.js.map +1 -0
- package/dist/index407.js +8 -0
- package/dist/index407.js.map +1 -0
- package/dist/index408.js +16 -0
- package/dist/index408.js.map +1 -0
- package/dist/index409.js +13 -0
- package/dist/index409.js.map +1 -0
- package/dist/index41.js +402 -0
- package/dist/index41.js.map +1 -0
- package/dist/index410.js +17 -0
- package/dist/index410.js.map +1 -0
- package/dist/index411.js +17 -0
- package/dist/index411.js.map +1 -0
- package/dist/index412.js +8 -0
- package/dist/index412.js.map +1 -0
- package/dist/index413.js +9 -0
- package/dist/index413.js.map +1 -0
- package/dist/index414.js +10 -0
- package/dist/index414.js.map +1 -0
- package/dist/index415.js +9 -0
- package/dist/index415.js.map +1 -0
- package/dist/index416.js +58 -0
- package/dist/index416.js.map +1 -0
- package/dist/index417.js +12 -0
- package/dist/index417.js.map +1 -0
- package/dist/index418.js +8 -0
- package/dist/index418.js.map +1 -0
- package/dist/index419.js +8 -0
- package/dist/index419.js.map +1 -0
- package/dist/index42.js +83 -0
- package/dist/index42.js.map +1 -0
- package/dist/index420.js +12 -0
- package/dist/index420.js.map +1 -0
- package/dist/index421.js +8 -0
- package/dist/index421.js.map +1 -0
- package/dist/index422.js +8 -0
- package/dist/index422.js.map +1 -0
- package/dist/index423.js +7 -0
- package/dist/index423.js.map +1 -0
- package/dist/index424.js +14 -0
- package/dist/index424.js.map +1 -0
- package/dist/index425.js +13 -0
- package/dist/index425.js.map +1 -0
- package/dist/index426.js +13 -0
- package/dist/index426.js.map +1 -0
- package/dist/index427.js +14 -0
- package/dist/index427.js.map +1 -0
- package/dist/index428.js +14 -0
- package/dist/index428.js.map +1 -0
- package/dist/index429.js +13 -0
- package/dist/index429.js.map +1 -0
- package/dist/index43.js +49 -0
- package/dist/index43.js.map +1 -0
- package/dist/index430.js +10 -0
- package/dist/index430.js.map +1 -0
- package/dist/index431.js +9 -0
- package/dist/index431.js.map +1 -0
- package/dist/index432.js +8 -0
- package/dist/index432.js.map +1 -0
- package/dist/index433.js +9 -0
- package/dist/index433.js.map +1 -0
- package/dist/index434.js +10 -0
- package/dist/index434.js.map +1 -0
- package/dist/index435.js +9 -0
- package/dist/index435.js.map +1 -0
- package/dist/index436.js +12 -0
- package/dist/index436.js.map +1 -0
- package/dist/index437.js +23 -0
- package/dist/index437.js.map +1 -0
- package/dist/index438.js +27 -0
- package/dist/index438.js.map +1 -0
- package/dist/index439.js +20 -0
- package/dist/index439.js.map +1 -0
- package/dist/index44.js +232 -0
- package/dist/index44.js.map +1 -0
- package/dist/index440.js +11 -0
- package/dist/index440.js.map +1 -0
- package/dist/index441.js +14 -0
- package/dist/index441.js.map +1 -0
- package/dist/index442.js +14 -0
- package/dist/index442.js.map +1 -0
- package/dist/index443.js +25 -0
- package/dist/index443.js.map +1 -0
- package/dist/index444.js +12 -0
- package/dist/index444.js.map +1 -0
- package/dist/index445.js +13 -0
- package/dist/index445.js.map +1 -0
- package/dist/index446.js +13 -0
- package/dist/index446.js.map +1 -0
- package/dist/index447.js +8 -0
- package/dist/index447.js.map +1 -0
- package/dist/index448.js +9 -0
- package/dist/index448.js.map +1 -0
- package/dist/index449.js +20 -0
- package/dist/index449.js.map +1 -0
- package/dist/index45.js +86 -0
- package/dist/index45.js.map +1 -0
- package/dist/index450.js +13 -0
- package/dist/index450.js.map +1 -0
- package/dist/index451.js +22 -0
- package/dist/index451.js.map +1 -0
- package/dist/index452.js +24 -0
- package/dist/index452.js.map +1 -0
- package/dist/index453.js +16 -0
- package/dist/index453.js.map +1 -0
- package/dist/index454.js +33 -0
- package/dist/index454.js.map +1 -0
- package/dist/index455.js +16 -0
- package/dist/index455.js.map +1 -0
- package/dist/index456.js +29 -0
- package/dist/index456.js.map +1 -0
- package/dist/index457.js +9 -0
- package/dist/index457.js.map +1 -0
- package/dist/index458.js +7 -0
- package/dist/index458.js.map +1 -0
- package/dist/index459.js +26 -0
- package/dist/index459.js.map +1 -0
- package/dist/index46.js +55 -0
- package/dist/index46.js.map +1 -0
- package/dist/index460.js +15 -0
- package/dist/index460.js.map +1 -0
- package/dist/index461.js +7 -0
- package/dist/index461.js.map +1 -0
- package/dist/index462.js +26 -0
- package/dist/index462.js.map +1 -0
- package/dist/index463.js +16 -0
- package/dist/index463.js.map +1 -0
- package/dist/index464.js +31 -0
- package/dist/index464.js.map +1 -0
- package/dist/index465.js +8 -0
- package/dist/index465.js.map +1 -0
- package/dist/index466.js +8 -0
- package/dist/index466.js.map +1 -0
- package/dist/index467.js +21 -0
- package/dist/index467.js.map +1 -0
- package/dist/index468.js +16 -0
- package/dist/index468.js.map +1 -0
- package/dist/index469.js +89 -0
- package/dist/index469.js.map +1 -0
- package/dist/index47.js +44 -0
- package/dist/index47.js.map +1 -0
- package/dist/index470.js +8 -0
- package/dist/index470.js.map +1 -0
- package/dist/index471.js +8 -0
- package/dist/index471.js.map +1 -0
- package/dist/index472.js +7 -0
- package/dist/index472.js.map +1 -0
- package/dist/index473.js +19 -0
- package/dist/index473.js.map +1 -0
- package/dist/index474.js +12 -0
- package/dist/index474.js.map +1 -0
- package/dist/index475.js +9 -0
- package/dist/index475.js.map +1 -0
- package/dist/index476.js +8 -0
- package/dist/index476.js.map +1 -0
- package/dist/index477.js +549 -0
- package/dist/index477.js.map +1 -0
- package/dist/index478.js +50 -0
- package/dist/index478.js.map +1 -0
- package/dist/index479.js +21 -0
- package/dist/index479.js.map +1 -0
- package/dist/index48.js +100 -0
- package/dist/index48.js.map +1 -0
- package/dist/index480.js +9 -0
- package/dist/index480.js.map +1 -0
- package/dist/index481.js +11 -0
- package/dist/index481.js.map +1 -0
- package/dist/index482.js +10 -0
- package/dist/index482.js.map +1 -0
- package/dist/index483.js +11 -0
- package/dist/index483.js.map +1 -0
- package/dist/index484.js +15 -0
- package/dist/index484.js.map +1 -0
- package/dist/index485.js +12 -0
- package/dist/index485.js.map +1 -0
- package/dist/index486.js +16 -0
- package/dist/index486.js.map +1 -0
- package/dist/index487.js +71 -0
- package/dist/index487.js.map +1 -0
- package/dist/index488.js +34 -0
- package/dist/index488.js.map +1 -0
- package/dist/index489.js +12 -0
- package/dist/index489.js.map +1 -0
- package/dist/index49.js +190 -0
- package/dist/index49.js.map +1 -0
- package/dist/index490.js +156 -0
- package/dist/index490.js.map +1 -0
- package/dist/index491.js +111 -0
- package/dist/index491.js.map +1 -0
- package/dist/index492.js +8 -0
- package/dist/index492.js.map +1 -0
- package/dist/index493.js +59 -0
- package/dist/index493.js.map +1 -0
- package/dist/index494.js +19 -0
- package/dist/index494.js.map +1 -0
- package/dist/index495.js +32 -0
- package/dist/index495.js.map +1 -0
- package/dist/index496.js +16 -0
- package/dist/index496.js.map +1 -0
- package/dist/index497.js +10 -0
- package/dist/index497.js.map +1 -0
- package/dist/index5.js +24 -0
- package/dist/index5.js.map +1 -0
- package/dist/index50.js +308 -0
- package/dist/index50.js.map +1 -0
- package/dist/index51.js +22 -0
- package/dist/index51.js.map +1 -0
- package/dist/index52.js +345 -0
- package/dist/index52.js.map +1 -0
- package/dist/index53.js +90 -0
- package/dist/index53.js.map +1 -0
- package/dist/index54.js +236 -0
- package/dist/index54.js.map +1 -0
- package/dist/index55.js +185 -0
- package/dist/index55.js.map +1 -0
- package/dist/index56.js +107 -0
- package/dist/index56.js.map +1 -0
- package/dist/index57.js +270 -0
- package/dist/index57.js.map +1 -0
- package/dist/index58.js +207 -0
- package/dist/index58.js.map +1 -0
- package/dist/index59.js +113 -0
- package/dist/index59.js.map +1 -0
- package/dist/index6.js +11 -0
- package/dist/index6.js.map +1 -0
- package/dist/index60.js +234 -0
- package/dist/index60.js.map +1 -0
- package/dist/index61.js +103 -0
- package/dist/index61.js.map +1 -0
- package/dist/index62.js +146 -0
- package/dist/index62.js.map +1 -0
- package/dist/index63.js +35 -0
- package/dist/index63.js.map +1 -0
- package/dist/index64.js +21 -0
- package/dist/index64.js.map +1 -0
- package/dist/index65.js +25 -0
- package/dist/index65.js.map +1 -0
- package/dist/index66.js +45 -0
- package/dist/index66.js.map +1 -0
- package/dist/index67.js +91 -0
- package/dist/index67.js.map +1 -0
- package/dist/index68.js +18 -0
- package/dist/index68.js.map +1 -0
- package/dist/index69.js +39 -0
- package/dist/index69.js.map +1 -0
- package/dist/index7.js +34 -0
- package/dist/index7.js.map +1 -0
- package/dist/index70.js +149 -0
- package/dist/index70.js.map +1 -0
- package/dist/index71.js +79 -0
- package/dist/index71.js.map +1 -0
- package/dist/index72.js +34 -0
- package/dist/index72.js.map +1 -0
- package/dist/index73.js +122 -0
- package/dist/index73.js.map +1 -0
- package/dist/index74.js +155 -0
- package/dist/index74.js.map +1 -0
- package/dist/index75.js +116 -0
- package/dist/index75.js.map +1 -0
- package/dist/index76.js +42 -0
- package/dist/index76.js.map +1 -0
- package/dist/index77.js +103 -0
- package/dist/index77.js.map +1 -0
- package/dist/index78.js +375 -0
- package/dist/index78.js.map +1 -0
- package/dist/index79.js +130 -0
- package/dist/index79.js.map +1 -0
- package/dist/index8.js +45 -0
- package/dist/index8.js.map +1 -0
- package/dist/index80.js +83 -0
- package/dist/index80.js.map +1 -0
- package/dist/index81.js +167 -0
- package/dist/index81.js.map +1 -0
- package/dist/index82.js +117 -0
- package/dist/index82.js.map +1 -0
- package/dist/index83.js +41 -0
- package/dist/index83.js.map +1 -0
- package/dist/index84.js +117 -0
- package/dist/index84.js.map +1 -0
- package/dist/index85.js +150 -0
- package/dist/index85.js.map +1 -0
- package/dist/index86.js +46 -0
- package/dist/index86.js.map +1 -0
- package/dist/index87.js +19 -0
- package/dist/index87.js.map +1 -0
- package/dist/index88.js +161 -0
- package/dist/index88.js.map +1 -0
- package/dist/index89.js +16 -0
- package/dist/index89.js.map +1 -0
- package/dist/index9.js +79 -0
- package/dist/index9.js.map +1 -0
- package/dist/index90.js +29 -0
- package/dist/index90.js.map +1 -0
- package/dist/index91.js +90 -0
- package/dist/index91.js.map +1 -0
- package/dist/index92.js +89 -0
- package/dist/index92.js.map +1 -0
- package/dist/index93.js +89 -0
- package/dist/index93.js.map +1 -0
- package/dist/index94.js +127 -0
- package/dist/index94.js.map +1 -0
- package/dist/index95.js +134 -0
- package/dist/index95.js.map +1 -0
- package/dist/index96.js +75 -0
- package/dist/index96.js.map +1 -0
- package/dist/index97.js +41 -0
- package/dist/index97.js.map +1 -0
- package/dist/index98.js +103 -0
- package/dist/index98.js.map +1 -0
- package/dist/index99.js +95 -0
- package/dist/index99.js.map +1 -0
- package/dist/lib/anchored.d.ts +28 -0
- package/dist/lib/anchored.d.ts.map +1 -0
- package/dist/lib/cn.d.ts +2 -0
- package/dist/lib/cn.d.ts.map +1 -0
- package/dist/lib/theme.d.ts +15 -0
- package/dist/lib/theme.d.ts.map +1 -0
- package/dist/nav.d.ts +63 -0
- package/dist/nav.d.ts.map +1 -0
- package/dist/preflight.css +95 -0
- package/dist/previews/accordion.jpg +0 -0
- package/dist/previews/alert.jpg +0 -0
- package/dist/previews/amount-field.jpg +0 -0
- package/dist/previews/analytic-chart.jpg +0 -0
- package/dist/previews/andon.jpg +0 -0
- package/dist/previews/avatar-new.jpg +0 -0
- package/dist/previews/avatar.jpg +0 -0
- package/dist/previews/badge-new.jpg +0 -0
- package/dist/previews/badge.jpg +0 -0
- package/dist/previews/banner.jpg +0 -0
- package/dist/previews/barcode.jpg +0 -0
- package/dist/previews/bound-fields.jpg +0 -0
- package/dist/previews/breadcrumb.jpg +0 -0
- package/dist/previews/button-family.jpg +0 -0
- package/dist/previews/button-new.jpg +0 -0
- package/dist/previews/button.jpg +0 -0
- package/dist/previews/camera.jpg +0 -0
- package/dist/previews/capacity-heatmap.jpg +0 -0
- package/dist/previews/card.jpg +0 -0
- package/dist/previews/carousel.jpg +0 -0
- package/dist/previews/chart.jpg +0 -0
- package/dist/previews/checkbox-new.jpg +0 -0
- package/dist/previews/checkbox.jpg +0 -0
- package/dist/previews/chunk-uploader.jpg +0 -0
- package/dist/previews/code-editor.jpg +0 -0
- package/dist/previews/collapsible.jpg +0 -0
- package/dist/previews/color-picker.jpg +0 -0
- package/dist/previews/column-mapper.jpg +0 -0
- package/dist/previews/combobox.jpg +0 -0
- package/dist/previews/context-menu.jpg +0 -0
- package/dist/previews/countdown.jpg +0 -0
- package/dist/previews/data-table.jpg +0 -0
- package/dist/previews/date-input.jpg +0 -0
- package/dist/previews/date-picker-new.jpg +0 -0
- package/dist/previews/date-picker.jpg +0 -0
- package/dist/previews/date-range-picker.jpg +0 -0
- package/dist/previews/date-time-picker.jpg +0 -0
- package/dist/previews/diagram-canvas.jpg +0 -0
- package/dist/previews/dialog.jpg +0 -0
- package/dist/previews/diff-view.jpg +0 -0
- package/dist/previews/direction.jpg +0 -0
- package/dist/previews/document-tabs.jpg +0 -0
- package/dist/previews/document-viewer.jpg +0 -0
- package/dist/previews/dropdown-menu.jpg +0 -0
- package/dist/previews/dynamic-date-range.jpg +0 -0
- package/dist/previews/dynamic-page.jpg +0 -0
- package/dist/previews/empty-state.jpg +0 -0
- package/dist/previews/fab-new.jpg +0 -0
- package/dist/previews/fab.jpg +0 -0
- package/dist/previews/file-upload.jpg +0 -0
- package/dist/previews/filter-bar.jpg +0 -0
- package/dist/previews/filter-builder.jpg +0 -0
- package/dist/previews/flexible-column-layout.jpg +0 -0
- package/dist/previews/form-bound.jpg +0 -0
- package/dist/previews/form-new.jpg +0 -0
- package/dist/previews/form.jpg +0 -0
- package/dist/previews/gantt.jpg +0 -0
- package/dist/previews/genealogy-graph.jpg +0 -0
- package/dist/previews/icon.jpg +0 -0
- package/dist/previews/input-new.jpg +0 -0
- package/dist/previews/input.jpg +0 -0
- package/dist/previews/label.jpg +0 -0
- package/dist/previews/lazy-options.jpg +0 -0
- package/dist/previews/likert.jpg +0 -0
- package/dist/previews/line-card.jpg +0 -0
- package/dist/previews/link.jpg +0 -0
- package/dist/previews/list-report.jpg +0 -0
- package/dist/previews/live-indicator.jpg +0 -0
- package/dist/previews/loading-new.jpg +0 -0
- package/dist/previews/loading.jpg +0 -0
- package/dist/previews/localization.jpg +0 -0
- package/dist/previews/lookup-field.jpg +0 -0
- package/dist/previews/map.jpg +0 -0
- package/dist/previews/mask-input.jpg +0 -0
- package/dist/previews/measurement-input.jpg +0 -0
- package/dist/previews/media-timeline.jpg +0 -0
- package/dist/previews/message-popover.jpg +0 -0
- package/dist/previews/micro-chart.jpg +0 -0
- package/dist/previews/multi-combobox.jpg +0 -0
- package/dist/previews/native-select.jpg +0 -0
- package/dist/previews/notifications-inbox.jpg +0 -0
- package/dist/previews/nps.jpg +0 -0
- package/dist/previews/number-field-new.jpg +0 -0
- package/dist/previews/number-field.jpg +0 -0
- package/dist/previews/object-page.jpg +0 -0
- package/dist/previews/object.jpg +0 -0
- package/dist/previews/oee-gauge.jpg +0 -0
- package/dist/previews/otp-new.jpg +0 -0
- package/dist/previews/otp.jpg +0 -0
- package/dist/previews/page-header.jpg +0 -0
- package/dist/previews/page.jpg +0 -0
- package/dist/previews/pagination.jpg +0 -0
- package/dist/previews/paper.jpg +0 -0
- package/dist/previews/password-input.jpg +0 -0
- package/dist/previews/phone-input-new.jpg +0 -0
- package/dist/previews/phone-input.jpg +0 -0
- package/dist/previews/pivot.jpg +0 -0
- package/dist/previews/planned-vs-actual.jpg +0 -0
- package/dist/previews/planning-calendar.jpg +0 -0
- package/dist/previews/popover.jpg +0 -0
- package/dist/previews/proctor.jpg +0 -0
- package/dist/previews/production-progress.jpg +0 -0
- package/dist/previews/production-schedule.jpg +0 -0
- package/dist/previews/progress-new.jpg +0 -0
- package/dist/previews/progress.jpg +0 -0
- package/dist/previews/qr-scanner.jpg +0 -0
- package/dist/previews/radio-group.jpg +0 -0
- package/dist/previews/rate-bars.jpg +0 -0
- package/dist/previews/rating.jpg +0 -0
- package/dist/previews/reason-code-picker.jpg +0 -0
- package/dist/previews/rich-text.jpg +0 -0
- package/dist/previews/routing-graph.jpg +0 -0
- package/dist/previews/scan-input.jpg +0 -0
- package/dist/previews/scroll-area-new.jpg +0 -0
- package/dist/previews/scroll-area.jpg +0 -0
- package/dist/previews/search.jpg +0 -0
- package/dist/previews/select-dialog.jpg +0 -0
- package/dist/previews/select-new.jpg +0 -0
- package/dist/previews/select.jpg +0 -0
- package/dist/previews/separator.jpg +0 -0
- package/dist/previews/sheet.jpg +0 -0
- package/dist/previews/shellbar.jpg +0 -0
- package/dist/previews/shift-navigator.jpg +0 -0
- package/dist/previews/shortcuts.jpg +0 -0
- package/dist/previews/sidebar.jpg +0 -0
- package/dist/previews/skeleton-new.jpg +0 -0
- package/dist/previews/skeleton.jpg +0 -0
- package/dist/previews/skip-to-content.jpg +0 -0
- package/dist/previews/slider-new.jpg +0 -0
- package/dist/previews/slider.jpg +0 -0
- package/dist/previews/sortable-list.jpg +0 -0
- package/dist/previews/splitter.jpg +0 -0
- package/dist/previews/spreadsheet-grid.jpg +0 -0
- package/dist/previews/stack.jpg +0 -0
- package/dist/previews/stat-card.jpg +0 -0
- package/dist/previews/state-pill.jpg +0 -0
- package/dist/previews/state-timeline.jpg +0 -0
- package/dist/previews/status-bar.jpg +0 -0
- package/dist/previews/step-runner.jpg +0 -0
- package/dist/previews/stepper.jpg +0 -0
- package/dist/previews/switch-new.jpg +0 -0
- package/dist/previews/switch.jpg +0 -0
- package/dist/previews/tabs.jpg +0 -0
- package/dist/previews/tag-input.jpg +0 -0
- package/dist/previews/textarea.jpg +0 -0
- package/dist/previews/theme.jpg +0 -0
- package/dist/previews/tile.jpg +0 -0
- package/dist/previews/time-picker.jpg +0 -0
- package/dist/previews/timeline.jpg +0 -0
- package/dist/previews/toast.jpg +0 -0
- package/dist/previews/toolbar.jpg +0 -0
- package/dist/previews/tooltip-new.jpg +0 -0
- package/dist/previews/tooltip.jpg +0 -0
- package/dist/previews/tree-select.jpg +0 -0
- package/dist/previews/tree-table.jpg +0 -0
- package/dist/previews/tree.jpg +0 -0
- package/dist/previews/upload-collection.jpg +0 -0
- package/dist/previews/value-help.jpg +0 -0
- package/dist/previews/view-manager.jpg +0 -0
- package/dist/previews/view-settings.jpg +0 -0
- package/dist/previews/virtualized-items.jpg +0 -0
- package/dist/previews/waveform.jpg +0 -0
- package/dist/release-notes.d.ts +7 -0
- package/dist/release-notes.d.ts.map +1 -0
- package/dist/style.css +1 -0
- package/dist/styles.d.ts +2 -0
- package/dist/vite.svg +1 -0
- package/package.json +163 -4
- package/skills/zen-ui/SKILL.md +171 -0
- package/skills/zen-ui/references/api/accordion.md +35 -0
- package/skills/zen-ui/references/api/alert-dialog.md +66 -0
- package/skills/zen-ui/references/api/alert.md +51 -0
- package/skills/zen-ui/references/api/amount-field.md +67 -0
- package/skills/zen-ui/references/api/analytic-chart-analytic-chart.md +48 -0
- package/skills/zen-ui/references/api/andon-andon.md +45 -0
- package/skills/zen-ui/references/api/avatar.md +46 -0
- package/skills/zen-ui/references/api/badge.md +27 -0
- package/skills/zen-ui/references/api/banner.md +51 -0
- package/skills/zen-ui/references/api/barcode.md +43 -0
- package/skills/zen-ui/references/api/bound-fields.md +106 -0
- package/skills/zen-ui/references/api/breadcrumb.md +42 -0
- package/skills/zen-ui/references/api/button-family.md +75 -0
- package/skills/zen-ui/references/api/button.md +33 -0
- package/skills/zen-ui/references/api/camera.md +27 -0
- package/skills/zen-ui/references/api/capacity-heatmap.md +27 -0
- package/skills/zen-ui/references/api/capacity.md +40 -0
- package/skills/zen-ui/references/api/card.md +46 -0
- package/skills/zen-ui/references/api/card.selectable.md +32 -0
- package/skills/zen-ui/references/api/carousel.md +26 -0
- package/skills/zen-ui/references/api/chart-chart.md +32 -0
- package/skills/zen-ui/references/api/checkbox.md +27 -0
- package/skills/zen-ui/references/api/chunk-upload.md +27 -0
- package/skills/zen-ui/references/api/chunk-uploader.md +42 -0
- package/skills/zen-ui/references/api/code-editor.md +70 -0
- package/skills/zen-ui/references/api/collapsible.md +29 -0
- package/skills/zen-ui/references/api/color-palette.md +28 -0
- package/skills/zen-ui/references/api/color-picker.md +28 -0
- package/skills/zen-ui/references/api/color.md +17 -0
- package/skills/zen-ui/references/api/column-mapper-column-mapper.md +26 -0
- package/skills/zen-ui/references/api/combobox.md +45 -0
- package/skills/zen-ui/references/api/command.md +52 -0
- package/skills/zen-ui/references/api/components-pivot.md +100 -0
- package/skills/zen-ui/references/api/context-menu.md +106 -0
- package/skills/zen-ui/references/api/countdown-countdown.md +46 -0
- package/skills/zen-ui/references/api/critical-path.md +38 -0
- package/skills/zen-ui/references/api/data-table.md +110 -0
- package/skills/zen-ui/references/api/date-input.md +41 -0
- package/skills/zen-ui/references/api/date-picker.md +32 -0
- package/skills/zen-ui/references/api/date-range-picker.md +33 -0
- package/skills/zen-ui/references/api/date-range.md +38 -0
- package/skills/zen-ui/references/api/date-time-picker.md +30 -0
- package/skills/zen-ui/references/api/diagram-canvas.md +53 -0
- package/skills/zen-ui/references/api/dialog.md +66 -0
- package/skills/zen-ui/references/api/diff-view.md +30 -0
- package/skills/zen-ui/references/api/diff.md +34 -0
- package/skills/zen-ui/references/api/direction.md +25 -0
- package/skills/zen-ui/references/api/divider.md +22 -0
- package/skills/zen-ui/references/api/document-tabs.md +37 -0
- package/skills/zen-ui/references/api/document-viewer.md +42 -0
- package/skills/zen-ui/references/api/document.md +29 -0
- package/skills/zen-ui/references/api/dropdown-menu.md +97 -0
- package/skills/zen-ui/references/api/dynamic-date-range.md +29 -0
- package/skills/zen-ui/references/api/dynamic-page.md +49 -0
- package/skills/zen-ui/references/api/edit-cell.md +22 -0
- package/skills/zen-ui/references/api/empty-state.md +42 -0
- package/skills/zen-ui/references/api/fab.md +29 -0
- package/skills/zen-ui/references/api/file-upload.md +38 -0
- package/skills/zen-ui/references/api/filter-bar.md +39 -0
- package/skills/zen-ui/references/api/filter-builder.md +60 -0
- package/skills/zen-ui/references/api/filters.md +29 -0
- package/skills/zen-ui/references/api/flexible-column-layout.md +39 -0
- package/skills/zen-ui/references/api/form.md +44 -0
- package/skills/zen-ui/references/api/gantt-gantt.md +88 -0
- package/skills/zen-ui/references/api/genealogy-graph.md +33 -0
- package/skills/zen-ui/references/api/genealogy.md +26 -0
- package/skills/zen-ui/references/api/icon.md +31 -0
- package/skills/zen-ui/references/api/index.md +202 -0
- package/skills/zen-ui/references/api/input.constants.md +16 -0
- package/skills/zen-ui/references/api/input.md +20 -0
- package/skills/zen-ui/references/api/label.md +27 -0
- package/skills/zen-ui/references/api/lib-theme.md +27 -0
- package/skills/zen-ui/references/api/likert.md +39 -0
- package/skills/zen-ui/references/api/line-card.md +30 -0
- package/skills/zen-ui/references/api/line-eta.md +20 -0
- package/skills/zen-ui/references/api/link.md +29 -0
- package/skills/zen-ui/references/api/live-indicator.md +25 -0
- package/skills/zen-ui/references/api/live.md +17 -0
- package/skills/zen-ui/references/api/loading.md +27 -0
- package/skills/zen-ui/references/api/locale.md +977 -0
- package/skills/zen-ui/references/api/lookup-field.md +45 -0
- package/skills/zen-ui/references/api/machine-state.md +24 -0
- package/skills/zen-ui/references/api/map.md +31 -0
- package/skills/zen-ui/references/api/mask-input.md +27 -0
- package/skills/zen-ui/references/api/mask.md +16 -0
- package/skills/zen-ui/references/api/measurement-input.md +28 -0
- package/skills/zen-ui/references/api/measurement.md +44 -0
- package/skills/zen-ui/references/api/media-timeline.md +41 -0
- package/skills/zen-ui/references/api/media.md +29 -0
- package/skills/zen-ui/references/api/message-popover.md +40 -0
- package/skills/zen-ui/references/api/micro-chart.md +77 -0
- package/skills/zen-ui/references/api/multi-combobox.md +37 -0
- package/skills/zen-ui/references/api/native-select.md +20 -0
- package/skills/zen-ui/references/api/notifications-inbox.md +45 -0
- package/skills/zen-ui/references/api/nps.md +31 -0
- package/skills/zen-ui/references/api/number-field.md +26 -0
- package/skills/zen-ui/references/api/object-page.md +42 -0
- package/skills/zen-ui/references/api/object.md +59 -0
- package/skills/zen-ui/references/api/oee-gauge.md +29 -0
- package/skills/zen-ui/references/api/oee.md +46 -0
- package/skills/zen-ui/references/api/otp.md +49 -0
- package/skills/zen-ui/references/api/page-header.md +28 -0
- package/skills/zen-ui/references/api/page.md +32 -0
- package/skills/zen-ui/references/api/pagination.md +30 -0
- package/skills/zen-ui/references/api/paper.md +45 -0
- package/skills/zen-ui/references/api/password-input.md +23 -0
- package/skills/zen-ui/references/api/phone-input.constants.md +17 -0
- package/skills/zen-ui/references/api/phone-input.md +33 -0
- package/skills/zen-ui/references/api/planned-vs-actual-planned-vs-actual.md +30 -0
- package/skills/zen-ui/references/api/planning-calendar.md +55 -0
- package/skills/zen-ui/references/api/planning.md +16 -0
- package/skills/zen-ui/references/api/popover.md +35 -0
- package/skills/zen-ui/references/api/proctor.md +55 -0
- package/skills/zen-ui/references/api/production-progress-production-progress.md +27 -0
- package/skills/zen-ui/references/api/production-schedule.md +92 -0
- package/skills/zen-ui/references/api/production.md +89 -0
- package/skills/zen-ui/references/api/progress.md +29 -0
- package/skills/zen-ui/references/api/qr-scanner.md +38 -0
- package/skills/zen-ui/references/api/radio-group.md +37 -0
- package/skills/zen-ui/references/api/rate-bars-rate-bars.md +29 -0
- package/skills/zen-ui/references/api/rating.md +33 -0
- package/skills/zen-ui/references/api/reason-code-picker.md +28 -0
- package/skills/zen-ui/references/api/reason-codes.md +25 -0
- package/skills/zen-ui/references/api/reschedule.md +48 -0
- package/skills/zen-ui/references/api/rich-text.md +30 -0
- package/skills/zen-ui/references/api/routing-graph.md +37 -0
- package/skills/zen-ui/references/api/routing.md +31 -0
- package/skills/zen-ui/references/api/row-keys.md +24 -0
- package/skills/zen-ui/references/api/scan-input.md +32 -0
- package/skills/zen-ui/references/api/scan.md +36 -0
- package/skills/zen-ui/references/api/schedule-backlog.md +33 -0
- package/skills/zen-ui/references/api/scroll-area.md +24 -0
- package/skills/zen-ui/references/api/search.md +30 -0
- package/skills/zen-ui/references/api/select-dialog.md +40 -0
- package/skills/zen-ui/references/api/select.md +72 -0
- package/skills/zen-ui/references/api/sheet.md +71 -0
- package/skills/zen-ui/references/api/shellbar.md +62 -0
- package/skills/zen-ui/references/api/shift-navigator.md +27 -0
- package/skills/zen-ui/references/api/shifts.md +39 -0
- package/skills/zen-ui/references/api/shortcuts.md +60 -0
- package/skills/zen-ui/references/api/sidebar.md +110 -0
- package/skills/zen-ui/references/api/skeleton.md +20 -0
- package/skills/zen-ui/references/api/skip-to-content.md +24 -0
- package/skills/zen-ui/references/api/slider.md +28 -0
- package/skills/zen-ui/references/api/sortable-list.md +44 -0
- package/skills/zen-ui/references/api/sortable.md +46 -0
- package/skills/zen-ui/references/api/splitter-splitter.md +49 -0
- package/skills/zen-ui/references/api/spreadsheet-grid.md +46 -0
- package/skills/zen-ui/references/api/spreadsheet.md +40 -0
- package/skills/zen-ui/references/api/stack.md +26 -0
- package/skills/zen-ui/references/api/stat-card.md +42 -0
- package/skills/zen-ui/references/api/state-pill.md +28 -0
- package/skills/zen-ui/references/api/state-timeline-state-timeline.md +36 -0
- package/skills/zen-ui/references/api/status-bar-status-bar.md +44 -0
- package/skills/zen-ui/references/api/step-runner-step-runner.md +34 -0
- package/skills/zen-ui/references/api/stepper.md +64 -0
- package/skills/zen-ui/references/api/switch.md +27 -0
- package/skills/zen-ui/references/api/table.md +50 -0
- package/skills/zen-ui/references/api/tabs.md +49 -0
- package/skills/zen-ui/references/api/tag-input.md +33 -0
- package/skills/zen-ui/references/api/textarea.md +20 -0
- package/skills/zen-ui/references/api/theme-theme.md +22 -0
- package/skills/zen-ui/references/api/tile.md +37 -0
- package/skills/zen-ui/references/api/time-picker.md +33 -0
- package/skills/zen-ui/references/api/timeline.md +44 -0
- package/skills/zen-ui/references/api/toast.md +58 -0
- package/skills/zen-ui/references/api/toaster.md +24 -0
- package/skills/zen-ui/references/api/toolbar.md +36 -0
- package/skills/zen-ui/references/api/tooltip.md +41 -0
- package/skills/zen-ui/references/api/tree-select.md +44 -0
- package/skills/zen-ui/references/api/tree-table.md +57 -0
- package/skills/zen-ui/references/api/tree.md +38 -0
- package/skills/zen-ui/references/api/upload-collection.md +44 -0
- package/skills/zen-ui/references/api/url-data-table.md +62 -0
- package/skills/zen-ui/references/api/use-toast.md +44 -0
- package/skills/zen-ui/references/api/value-help.md +55 -0
- package/skills/zen-ui/references/api/view-manager.md +37 -0
- package/skills/zen-ui/references/api/view-settings-dialog.md +56 -0
- package/skills/zen-ui/references/api/virtualized-items.md +28 -0
- package/skills/zen-ui/references/api/waveform.md +35 -0
- package/skills/zen-ui/references/api/zen-ui-core-analytic-chart.md +98 -0
- package/skills/zen-ui/references/api/zen-ui-core-andon.md +26 -0
- package/skills/zen-ui/references/api/zen-ui-core-chart.md +25 -0
- package/skills/zen-ui/references/api/zen-ui-core-column-mapper.md +42 -0
- package/skills/zen-ui/references/api/zen-ui-core-countdown.md +20 -0
- package/skills/zen-ui/references/api/zen-ui-core-gantt.md +119 -0
- package/skills/zen-ui/references/api/zen-ui-core-pivot.md +88 -0
- package/skills/zen-ui/references/api/zen-ui-core-planned-vs-actual.md +44 -0
- package/skills/zen-ui/references/api/zen-ui-core-production-progress.md +35 -0
- package/skills/zen-ui/references/api/zen-ui-core-rate-bars.md +34 -0
- package/skills/zen-ui/references/api/zen-ui-core-splitter.md +29 -0
- package/skills/zen-ui/references/api/zen-ui-core-state-timeline.md +67 -0
- package/skills/zen-ui/references/api/zen-ui-core-status-bar.md +25 -0
- package/skills/zen-ui/references/api/zen-ui-core-step-runner.md +44 -0
- package/skills/zen-ui/references/catalogue.md +168 -0
package/dist/index25.js
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { jsxs as l, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import * as t from "react";
|
|
3
|
+
import { normalizeHex as a, colorLabel as S } from "./index210.js";
|
|
4
|
+
import { Button as A } from "./index71.js";
|
|
5
|
+
import { Input as D } from "./index4.js";
|
|
6
|
+
import { Popover as E, PopoverTrigger as I, PopoverContent as R } from "./index35.js";
|
|
7
|
+
import { ColorPalette as T } from "./index26.js";
|
|
8
|
+
import { useLocale as B } from "./index90.js";
|
|
9
|
+
import { cn as u } from "./index199.js";
|
|
10
|
+
const F = [
|
|
11
|
+
{ value: "#ef4444", key: "colorPicker.red" },
|
|
12
|
+
{ value: "#f97316", key: "colorPicker.orange" },
|
|
13
|
+
{ value: "#facc15", key: "colorPicker.yellow" },
|
|
14
|
+
{ value: "#22c55e", key: "colorPicker.green" },
|
|
15
|
+
{ value: "#3b82f6", key: "colorPicker.blue" },
|
|
16
|
+
{ value: "#6366f1", key: "colorPicker.indigo" },
|
|
17
|
+
{ value: "#a855f7", key: "colorPicker.purple" },
|
|
18
|
+
{ value: "#ec4899", key: "colorPicker.pink" },
|
|
19
|
+
{ value: "#78716c", key: "colorPicker.stone" },
|
|
20
|
+
{ value: "#000000", key: "colorPicker.black" }
|
|
21
|
+
], M = ({
|
|
22
|
+
value: z,
|
|
23
|
+
defaultValue: h,
|
|
24
|
+
onValueChange: g,
|
|
25
|
+
colors: y,
|
|
26
|
+
allowCustom: b = !0,
|
|
27
|
+
label: C,
|
|
28
|
+
placeholder: P,
|
|
29
|
+
disabled: p,
|
|
30
|
+
className: x
|
|
31
|
+
}) => {
|
|
32
|
+
const n = B(), c = y ?? F.map((e) => ({ value: e.value, label: n.t(e.key) })), m = C ?? n.t("colorPicker.chooseAColour"), N = P ?? n.t("colorPicker.pickAColour"), [w, j] = t.useState(() => a(h ?? "") ?? ""), f = z !== void 0, o = f ? a(z) ?? "" : w, [d, L] = t.useState(!1), [O, k] = t.useState("");
|
|
33
|
+
t.useEffect(() => k(o), [o, d]);
|
|
34
|
+
const s = (e) => {
|
|
35
|
+
const i = a(e);
|
|
36
|
+
i && (f || j(i), g?.(i));
|
|
37
|
+
}, v = c.map((e) => typeof e == "string" ? { value: e } : e).find(
|
|
38
|
+
(e) => a(e.value) === o
|
|
39
|
+
);
|
|
40
|
+
return /* @__PURE__ */ l(E, { open: d, onOpenChange: L, children: [
|
|
41
|
+
/* @__PURE__ */ r(I, { asChild: !0, children: /* @__PURE__ */ l(
|
|
42
|
+
A,
|
|
43
|
+
{
|
|
44
|
+
variant: "outline",
|
|
45
|
+
color: "neutral",
|
|
46
|
+
disabled: p,
|
|
47
|
+
"aria-label": m,
|
|
48
|
+
className: u("zen-justify-start zen-gap-2 zen-font-normal", x),
|
|
49
|
+
children: [
|
|
50
|
+
/* @__PURE__ */ r(
|
|
51
|
+
"span",
|
|
52
|
+
{
|
|
53
|
+
"aria-hidden": !0,
|
|
54
|
+
className: "zen-h-4 zen-w-4 zen-shrink-0 zen-rounded-zen-sm zen-border zen-border-zen-border",
|
|
55
|
+
style: { backgroundColor: o || "transparent" }
|
|
56
|
+
}
|
|
57
|
+
),
|
|
58
|
+
/* @__PURE__ */ r("span", { className: u(!o && "zen-text-zen-muted-fg"), children: o ? v ? S(v) : o : N })
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
) }),
|
|
62
|
+
/* @__PURE__ */ l(R, { align: "start", className: "zen-w-auto zen-flex zen-flex-col zen-gap-3", children: [
|
|
63
|
+
c.length ? /* @__PURE__ */ r(T, { colors: c, value: o, onValueChange: s, label: m }) : null,
|
|
64
|
+
b ? /* @__PURE__ */ l("div", { className: "zen-flex zen-items-center zen-gap-2", children: [
|
|
65
|
+
/* @__PURE__ */ l(
|
|
66
|
+
"label",
|
|
67
|
+
{
|
|
68
|
+
className: u(
|
|
69
|
+
"zen-relative zen-inline-flex zen-h-8 zen-w-8 zen-shrink-0 zen-cursor-pointer",
|
|
70
|
+
"zen-items-center zen-justify-center zen-overflow-hidden zen-rounded-zen-sm",
|
|
71
|
+
"zen-border zen-border-zen-border"
|
|
72
|
+
),
|
|
73
|
+
style: { backgroundColor: o || "transparent" },
|
|
74
|
+
title: n.t("colorPicker.customColour"),
|
|
75
|
+
children: [
|
|
76
|
+
/* @__PURE__ */ r("span", { className: "zen-sr-only", children: n.t("colorPicker.customColour") }),
|
|
77
|
+
/* @__PURE__ */ r(
|
|
78
|
+
"input",
|
|
79
|
+
{
|
|
80
|
+
type: "color",
|
|
81
|
+
value: o || "#000000",
|
|
82
|
+
onChange: (e) => s(e.target.value),
|
|
83
|
+
disabled: p,
|
|
84
|
+
className: "zen-absolute zen-inset-0 zen-cursor-pointer zen-opacity-0"
|
|
85
|
+
}
|
|
86
|
+
)
|
|
87
|
+
]
|
|
88
|
+
}
|
|
89
|
+
),
|
|
90
|
+
/* @__PURE__ */ r(
|
|
91
|
+
D,
|
|
92
|
+
{
|
|
93
|
+
value: O,
|
|
94
|
+
onChange: (e) => {
|
|
95
|
+
k(e.target.value), s(e.target.value);
|
|
96
|
+
},
|
|
97
|
+
placeholder: "#3b82f6",
|
|
98
|
+
"aria-label": n.t("colorPicker.hexColour"),
|
|
99
|
+
spellCheck: !1,
|
|
100
|
+
autoComplete: "off",
|
|
101
|
+
className: "zen-h-8 zen-w-28 zen-font-mono zen-text-xs"
|
|
102
|
+
}
|
|
103
|
+
)
|
|
104
|
+
] }) : null
|
|
105
|
+
] })
|
|
106
|
+
] });
|
|
107
|
+
};
|
|
108
|
+
export {
|
|
109
|
+
M as ColorPicker
|
|
110
|
+
};
|
|
111
|
+
//# sourceMappingURL=index25.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index25.js","sources":["../src/components/color-picker/color-picker.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { colorLabel, normalizeHex, type ColorOption } from \"@algorisys/zen-ui-core/color\";\nimport { cn } from \"../../lib/cn\";\nimport { Button } from \"../button/button\";\nimport { Input } from \"../form/input/input\";\nimport { Popover, PopoverContent, PopoverTrigger } from \"../popover/popover\";\nimport { ColorPalette } from \"./color-palette\";\nimport { useLocale } from \"../locale/locale\";\n\n/**\n * ColorPicker — a swatch that opens a palette, a hex field and the platform's\n * own picker.\n *\n * <ColorPicker value={brand} onValueChange={setBrand} />\n * <ColorPicker colors={BRAND} allowCustom={false} />\n *\n * The gradient area is the OS picker (`<input type=\"color\">`) rather than a\n * hand-rolled saturation/value canvas. That is a deliberate trade: the native\n * one is keyboard-accessible, screen-reader-labelled, eyedropper-equipped and\n * localised on every platform, for free and with no dependency. A canvas would\n * be a drag-maths reimplementation of all of it, worse. `allowCustom={false}`\n * removes it when a brand palette is the whole point.\n *\n * The hex field takes what people actually paste: \"3b82f6\", \"#ABC\", \" #fff \".\n * It commits only a colour that parses, so the value can never be nonsense —\n * and it does not fight you while typing.\n */\n\nexport interface ColorPickerProps {\n value?: string;\n defaultValue?: string;\n onValueChange?: (hex: string) => void;\n /** The palette inside the popover. Omit for none. */\n colors?: (string | ColorOption)[];\n /** The hex field + the platform picker. Default true. */\n allowCustom?: boolean;\n /** Accessible name for the trigger. */\n label?: string;\n /** Text when nothing is chosen yet. */\n placeholder?: string;\n disabled?: boolean;\n className?: string;\n}\n\n// The default swatches name their colour through the catalogue, so a translated app\n// announces \"Rot\", not \"Red\". Resolved where a locale is in scope.\nconst DEFAULT_COLORS = [\n { value: \"#ef4444\", key: \"colorPicker.red\" },\n { value: \"#f97316\", key: \"colorPicker.orange\" },\n { value: \"#facc15\", key: \"colorPicker.yellow\" },\n { value: \"#22c55e\", key: \"colorPicker.green\" },\n { value: \"#3b82f6\", key: \"colorPicker.blue\" },\n { value: \"#6366f1\", key: \"colorPicker.indigo\" },\n { value: \"#a855f7\", key: \"colorPicker.purple\" },\n { value: \"#ec4899\", key: \"colorPicker.pink\" },\n { value: \"#78716c\", key: \"colorPicker.stone\" },\n { value: \"#000000\", key: \"colorPicker.black\" },\n] as const;\n\nexport const ColorPicker: React.FC<ColorPickerProps> = ({\n value: valueProp,\n defaultValue,\n onValueChange,\n colors: colorsProp,\n allowCustom = true,\n label: labelProp,\n placeholder: placeholderProp,\n disabled,\n className,\n}) => {\n const loc = useLocale();\n const colors = colorsProp ?? DEFAULT_COLORS.map((c): ColorOption => ({ value: c.value, label: loc.t(c.key) }));\n const label = labelProp ?? loc.t(\"colorPicker.chooseAColour\");\n const placeholder = placeholderProp ?? loc.t(\"colorPicker.pickAColour\");\n const [inner, setInner] = React.useState(() => normalizeHex(defaultValue ?? \"\") ?? \"\");\n const isControlled = valueProp !== undefined;\n const value = isControlled ? (normalizeHex(valueProp) ?? \"\") : inner;\n\n const [open, setOpen] = React.useState(false);\n // The field holds what is being TYPED, which is not always a colour yet:\n // \"#3b8\" is three keystrokes from valid. Committing per keystroke would\n // fight the user, so the draft lives here and only valid hex escapes.\n const [draft, setDraft] = React.useState(\"\");\n React.useEffect(() => setDraft(value), [value, open]);\n\n const update = (hex: string) => {\n const next = normalizeHex(hex);\n if (!next) return;\n if (!isControlled) setInner(next);\n onValueChange?.(next);\n };\n\n const named = colors.map((c) => (typeof c === \"string\" ? { value: c } : c)).find(\n (c) => normalizeHex(c.value) === value,\n );\n\n return (\n <Popover open={open} onOpenChange={setOpen}>\n <PopoverTrigger asChild>\n <Button\n variant=\"outline\"\n color=\"neutral\"\n disabled={disabled}\n aria-label={label}\n className={cn(\"zen-justify-start zen-gap-2 zen-font-normal\", className)}\n >\n <span\n aria-hidden\n className=\"zen-h-4 zen-w-4 zen-shrink-0 zen-rounded-zen-sm zen-border zen-border-zen-border\"\n style={{ backgroundColor: value || \"transparent\" }}\n />\n <span className={cn(!value && \"zen-text-zen-muted-fg\")}>\n {value ? (named ? colorLabel(named) : value) : placeholder}\n </span>\n </Button>\n </PopoverTrigger>\n <PopoverContent align=\"start\" className=\"zen-w-auto zen-flex zen-flex-col zen-gap-3\">\n {colors.length ? (\n <ColorPalette colors={colors} value={value} onValueChange={update} label={label} />\n ) : null}\n\n {allowCustom ? (\n <div className=\"zen-flex zen-items-center zen-gap-2\">\n {/* The platform's picker. A label element rather than a bare input:\n a native colour swatch is unlabelled and near-impossible to\n style, so it hides inside its own trigger. */}\n <label\n className={cn(\n \"zen-relative zen-inline-flex zen-h-8 zen-w-8 zen-shrink-0 zen-cursor-pointer\",\n \"zen-items-center zen-justify-center zen-overflow-hidden zen-rounded-zen-sm\",\n \"zen-border zen-border-zen-border\",\n )}\n style={{ backgroundColor: value || \"transparent\" }}\n title={loc.t(\"colorPicker.customColour\")}\n >\n <span className=\"zen-sr-only\">{loc.t(\"colorPicker.customColour\")}</span>\n <input\n type=\"color\"\n value={value || \"#000000\"}\n onChange={(e) => update(e.target.value)}\n disabled={disabled}\n className=\"zen-absolute zen-inset-0 zen-cursor-pointer zen-opacity-0\"\n />\n </label>\n <Input\n value={draft}\n onChange={(e) => {\n setDraft(e.target.value);\n update(e.target.value);\n }}\n placeholder=\"#3b82f6\"\n aria-label={loc.t(\"colorPicker.hexColour\")}\n spellCheck={false}\n autoComplete=\"off\"\n className=\"zen-h-8 zen-w-28 zen-font-mono zen-text-xs\"\n />\n </div>\n ) : null}\n </PopoverContent>\n </Popover>\n );\n};\n"],"names":["DEFAULT_COLORS","ColorPicker","valueProp","defaultValue","onValueChange","colorsProp","allowCustom","labelProp","placeholderProp","disabled","className","loc","useLocale","colors","c","label","placeholder","inner","setInner","React","normalizeHex","isControlled","value","open","setOpen","draft","setDraft","update","hex","next","named","jsxs","Popover","jsx","PopoverTrigger","Button","cn","colorLabel","PopoverContent","ColorPalette","Input"],"mappings":"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"}
|
package/dist/index250.js
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
function m(t) {
|
|
2
|
+
const n = t.columnDef.meta;
|
|
3
|
+
if (typeof n?.label == "string" && n.label.trim() !== "") return n.label;
|
|
4
|
+
const e = t.columnDef.header;
|
|
5
|
+
return typeof e == "string" && e.trim() !== "" ? e : t.id;
|
|
6
|
+
}
|
|
7
|
+
function g(t, n, e, r = t) {
|
|
8
|
+
const l = t.indexOf(n);
|
|
9
|
+
if (l < 0) return null;
|
|
10
|
+
const c = new Set(r), s = e === "earlier" ? -1 : 1;
|
|
11
|
+
let i = l + s;
|
|
12
|
+
for (; i >= 0 && i < t.length && !c.has(t[i]); ) i += s;
|
|
13
|
+
if (i < 0 || i >= t.length) return null;
|
|
14
|
+
const o = t.slice();
|
|
15
|
+
return o.splice(l, 1), o.splice(i, 0, n), o;
|
|
16
|
+
}
|
|
17
|
+
const f = 16, a = 64;
|
|
18
|
+
function d(t, n = {}) {
|
|
19
|
+
const e = n.shift ? a : f, r = n.rtl ? "ArrowLeft" : "ArrowRight", l = n.rtl ? "ArrowRight" : "ArrowLeft";
|
|
20
|
+
return t === r ? e : t === l ? -e : null;
|
|
21
|
+
}
|
|
22
|
+
function C(t, n, e = 20, r = Number.MAX_SAFE_INTEGER) {
|
|
23
|
+
return Math.min(Math.max(Math.round(t + n), e), r);
|
|
24
|
+
}
|
|
25
|
+
function S(t) {
|
|
26
|
+
return t.respectColumnSizes ?? !!(t.enableColumnPinning || t.enableColumnResizing);
|
|
27
|
+
}
|
|
28
|
+
function p(t, n) {
|
|
29
|
+
if (t && !(n.explicitSize === void 0 && !n.resized && !n.pinned))
|
|
30
|
+
return Math.round(n.size);
|
|
31
|
+
}
|
|
32
|
+
function E(t, n) {
|
|
33
|
+
const e = t?.className;
|
|
34
|
+
return typeof e == "function" ? n && e(n.original) || void 0 : e || void 0;
|
|
35
|
+
}
|
|
36
|
+
function w(t) {
|
|
37
|
+
return t?.headerClassName || void 0;
|
|
38
|
+
}
|
|
39
|
+
const h = ["__drag__", "__expand__", "__select__"], u = (t) => h.includes(t);
|
|
40
|
+
function M(t, n) {
|
|
41
|
+
const e = _(t);
|
|
42
|
+
return { left: e.left.length ? [...n.filter(u), ...e.left] : e.left, right: e.right };
|
|
43
|
+
}
|
|
44
|
+
function _(t) {
|
|
45
|
+
return { left: (t.left ?? []).filter((n) => !u(n)), right: (t.right ?? []).filter((n) => !u(n)) };
|
|
46
|
+
}
|
|
47
|
+
export {
|
|
48
|
+
f as COLUMN_RESIZE_STEP,
|
|
49
|
+
a as COLUMN_RESIZE_STEP_LARGE,
|
|
50
|
+
h as UTILITY_COLUMN_IDS,
|
|
51
|
+
C as clampColumnSize,
|
|
52
|
+
E as columnCellClass,
|
|
53
|
+
w as columnHeaderClass,
|
|
54
|
+
m as columnLabel,
|
|
55
|
+
p as columnMinWidth,
|
|
56
|
+
d as columnResizeDelta,
|
|
57
|
+
g as moveColumn,
|
|
58
|
+
S as respectsColumnSizes,
|
|
59
|
+
M as withUtilityPins,
|
|
60
|
+
_ as withoutUtilityPins
|
|
61
|
+
};
|
|
62
|
+
//# sourceMappingURL=index250.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index250.js","sources":["../../core/src/columns.ts"],"sourcesContent":["/**\n * DataTable column management: what a column is called, and the keyboard half\n * of reordering and resizing. Pure, shared by every binding.\n *\n * bun run check:columns\n *\n * A column's name is used where the header itself cannot be: the Columns\n * menu, the sort button's and resize handle's accessible names, and export\n * headers. A header given as a FUNCTION (to wrap the label in a span, align a\n * figure column, add an icon) has no text to read, so the name used to fall\n * back to the column id (\"posting_date\"). `meta.label` names it.\n */\n\n/** The shape of a TanStack column this module reads: no table types needed. */\nexport interface NamedColumn {\n id: string;\n columnDef: { header?: unknown; meta?: unknown };\n}\n\n/** A column's plain-text name: `meta.label`, else a string header, else the id. */\nexport function columnLabel(column: NamedColumn): string {\n const meta = column.columnDef.meta as { label?: unknown } | undefined;\n if (typeof meta?.label === \"string\" && meta.label.trim() !== \"\") return meta.label;\n const header = column.columnDef.header;\n if (typeof header === \"string\" && header.trim() !== \"\") return header;\n return column.id;\n}\n\n/**\n * The column order after moving `id` one place `direction` (\"earlier\" is\n * towards the start), or null when it cannot move (already at that end, or not\n * in `order`).\n *\n * `order` is the FULL leaf order, DataTable's own columns (selection, expand,\n * drag) included; `movable` is the subset the user manages (what the Columns\n * menu lists). A move steps over everything else, so \"Move later\" always\n * changes the column's place among the columns the user can see in the menu,\n * rather than trading places with an invisible selection column and appearing\n * to do nothing.\n */\nexport function moveColumn(\n order: readonly string[],\n id: string,\n direction: \"earlier\" | \"later\",\n movable: readonly string[] = order,\n): string[] | null {\n const from = order.indexOf(id);\n if (from < 0) return null;\n const can = new Set(movable);\n const step = direction === \"earlier\" ? -1 : 1;\n let to = from + step;\n while (to >= 0 && to < order.length && !can.has(order[to]!)) to += step;\n if (to < 0 || to >= order.length) return null;\n const next = order.slice();\n next.splice(from, 1);\n next.splice(to, 0, id);\n return next;\n}\n\n/** Arrow-key resize steps, in px. Shift takes the larger one. */\nexport const COLUMN_RESIZE_STEP = 16;\nexport const COLUMN_RESIZE_STEP_LARGE = 64;\n\n/**\n * The width change a key on a column's resize handle asks for, or null when\n * the key is not a resize key (leave the event alone).\n *\n * The handle sits on the column's inline END, so the arrow that points away\n * from the column widens it: ArrowRight in left-to-right, ArrowLeft in\n * right-to-left. Home / End are not handled: a column has no natural minimum\n * or maximum a user would aim for.\n */\nexport function columnResizeDelta(key: string, opts: { shift?: boolean; rtl?: boolean } = {}): number | null {\n const step = opts.shift ? COLUMN_RESIZE_STEP_LARGE : COLUMN_RESIZE_STEP;\n const grow = opts.rtl ? \"ArrowLeft\" : \"ArrowRight\";\n const shrink = opts.rtl ? \"ArrowRight\" : \"ArrowLeft\";\n if (key === grow) return step;\n if (key === shrink) return -step;\n return null;\n}\n\n/** `size + delta`, kept inside the column's own limits. */\nexport function clampColumnSize(size: number, delta: number, min = 20, max = Number.MAX_SAFE_INTEGER): number {\n return Math.min(Math.max(Math.round(size + delta), min), max);\n}\n\n/** A table's column layout state: TanStack's columnOrder / Visibility / Pinning. */\nexport interface ColumnLayoutState {\n /** Ids first, in this order; the rest follow in definition order. */\n order?: readonly string[];\n /** `false` hides a column; anything else (or absent) shows it. */\n visibility?: Readonly<Record<string, boolean>>;\n pinning?: { left?: readonly string[]; right?: readonly string[] };\n}\n\n/**\n * Leaf ids in `order`, as TanStack orders them: the ids `order` names (that\n * exist), in that order, then every other id in definition order. Hidden and\n * pinned columns included: this is the Columns menu's order.\n */\nexport function orderedColumnIds(ids: readonly string[], order: readonly string[] = []): string[] {\n const known = new Set(ids);\n const first = order.filter((id, i) => known.has(id) && order.indexOf(id) === i);\n const listed = new Set(first);\n return [...first, ...ids.filter((id) => !listed.has(id))];\n}\n\n/**\n * The visible columns, split the way they render: left-pinned (in the pin\n * list's order), then the rest in column order, then right-pinned. A column\n * pinned to both sides counts as left; a hidden pinned column is not shown.\n */\nexport function columnLayout(\n ids: readonly string[],\n state: ColumnLayoutState = {},\n): { left: string[]; center: string[]; right: string[] } {\n const visible = (id: string) => state.visibility?.[id] !== false;\n const known = new Set(ids);\n const pick = (list: readonly string[] = []) =>\n list.filter((id, i) => known.has(id) && visible(id) && list.indexOf(id) === i);\n const left = pick(state.pinning?.left);\n const leftSet = new Set(left);\n const right = pick(state.pinning?.right).filter((id) => !leftSet.has(id));\n const pinned = new Set([...left, ...right]);\n const center = orderedColumnIds(ids, state.order).filter((id) => visible(id) && !pinned.has(id));\n return { left, center, right };\n}\n\n/**\n * `respectColumnSizes` resolved: on when set, else on with pinning or resizing\n * (a pinned column's offset and a resized column's width both assume the\n * column really is that wide; squeezed, pinning misaligns and resizing does\n * nothing the moment the table is full).\n */\nexport function respectsColumnSizes(opts: {\n respectColumnSizes?: boolean;\n enableColumnPinning?: boolean;\n enableColumnResizing?: boolean;\n}): boolean {\n return opts.respectColumnSizes ?? !!(opts.enableColumnPinning || opts.enableColumnResizing);\n}\n\n/**\n * The `min-width` a header cell gets so the browser cannot squeeze a column\n * below its size. A table's automatic layout treats `width` as a hint and\n * shrinks every column to fit the container; a minimum is the one width it\n * keeps, and a table whose minimums do not fit scrolls instead.\n *\n * Only columns with a width somebody chose: an explicit `size`, a width the\n * user resized to, or a pinned column (its sticky offset is computed from its\n * size). An unsized column stays automatic. Undefined when the table does not\n * respect sizes.\n */\nexport function columnMinWidth(\n respect: boolean,\n column: { size: number; explicitSize?: number; resized?: boolean; pinned?: boolean },\n): number | undefined {\n if (!respect) return undefined;\n if (column.explicitSize === undefined && !column.resized && !column.pinned) return undefined;\n return Math.round(column.size);\n}\n\n/**\n * A column's own classes, from `meta`: `className` for its cells (a string, or\n * a function of the row for per-cell styling — a negative balance in red), and\n * `headerClassName` for its header cell. A function `className` applies to\n * body cells only; a footer or header has no row to ask about.\n */\nexport interface ColumnClassMeta<TRow = unknown> {\n className?: string | ((row: TRow) => string | undefined | false | null);\n headerClassName?: string;\n}\n\n/** The class for one of the column's cells; `row` is the row's ORIGINAL data, omitted for a footer. */\nexport function columnCellClass(meta: unknown, row?: { original: unknown }): string | undefined {\n const c = (meta as ColumnClassMeta | undefined)?.className;\n if (typeof c === \"function\") return row ? c(row.original) || undefined : undefined;\n return c || undefined;\n}\n\nexport function columnHeaderClass(meta: unknown): string | undefined {\n return (meta as ColumnClassMeta | undefined)?.headerClassName || undefined;\n}\n\n/** DataTable's own columns: row drag, expand, selection. */\nexport const UTILITY_COLUMN_IDS = [\"__drag__\", \"__expand__\", \"__select__\"] as const;\nconst isUtility = (id: string) => (UTILITY_COLUMN_IDS as readonly string[]).includes(id);\n\nexport interface PinState {\n left?: string[];\n right?: string[];\n}\n\n/**\n * The pinning the table renders: when any column is pinned left, the utility\n * columns in `present` (display order) are pinned left before it — otherwise a\n * row's checkbox scrolls away from the name pinned beside it.\n */\nexport function withUtilityPins(state: PinState, present: readonly string[]): { left: string[]; right: string[] } {\n const own = withoutUtilityPins(state);\n return { left: own.left.length ? [...present.filter(isUtility), ...own.left] : own.left, right: own.right };\n}\n\n/** The pinning an app is told about and persists: its own columns only. */\nexport function withoutUtilityPins(state: PinState): { left: string[]; right: string[] } {\n return { left: (state.left ?? []).filter((id) => !isUtility(id)), right: (state.right ?? []).filter((id) => !isUtility(id)) };\n}\n\n/**\n * Rows in pinned order: the top pins (in pin order), the displayed rows that\n * are not pinned, then the bottom pins. Pinned rows come from `all`, so a pin\n * holds when a filter or the page would hide the row — what TanStack's row\n * pinning does in React and Solid (keepPinnedRows); vanilla has no TanStack.\n * Ids that are not in the data are ignored.\n */\nexport function pinnedRowOrder<T>(\n all: readonly T[],\n display: readonly T[],\n idOf: (row: T) => string,\n pinning: { top?: readonly string[]; bottom?: readonly string[] },\n): { rows: T[]; top: Set<string>; bottom: Set<string> } {\n const byId = new Map(all.map((r) => [idOf(r), r] as const));\n const pick = (list: readonly string[] = []) => list.filter((id) => byId.has(id));\n const topIds = pick(pinning.top);\n const bottomIds = pick(pinning.bottom).filter((id) => !topIds.includes(id));\n const top = new Set(topIds);\n const bottom = new Set(bottomIds);\n const center = display.filter((r) => !top.has(idOf(r)) && !bottom.has(idOf(r)));\n return {\n rows: [...topIds.map((id) => byId.get(id)!), ...center, ...bottomIds.map((id) => byId.get(id)!)],\n top,\n bottom,\n };\n}\n"],"names":["columnLabel","column","meta","header","moveColumn","order","id","direction","movable","from","can","step","to","next","COLUMN_RESIZE_STEP","COLUMN_RESIZE_STEP_LARGE","columnResizeDelta","key","opts","grow","shrink","clampColumnSize","size","delta","min","max","respectsColumnSizes","columnMinWidth","respect","columnCellClass","row","c","columnHeaderClass","UTILITY_COLUMN_IDS","isUtility","withUtilityPins","state","present","own","withoutUtilityPins"],"mappings":"AAoBO,SAASA,EAAYC,GAA6B;AACvD,QAAMC,IAAOD,EAAO,UAAU;AAC9B,MAAI,OAAOC,GAAM,SAAU,YAAYA,EAAK,MAAM,WAAW,GAAI,QAAOA,EAAK;AAC7E,QAAMC,IAASF,EAAO,UAAU;AAChC,SAAI,OAAOE,KAAW,YAAYA,EAAO,KAAA,MAAW,KAAWA,IACxDF,EAAO;AAChB;AAcO,SAASG,EACdC,GACAC,GACAC,GACAC,IAA6BH,GACZ;AACjB,QAAMI,IAAOJ,EAAM,QAAQC,CAAE;AAC7B,MAAIG,IAAO,EAAG,QAAO;AACrB,QAAMC,IAAM,IAAI,IAAIF,CAAO,GACrBG,IAAOJ,MAAc,YAAY,KAAK;AAC5C,MAAIK,IAAKH,IAAOE;AAChB,SAAOC,KAAM,KAAKA,IAAKP,EAAM,UAAU,CAACK,EAAI,IAAIL,EAAMO,CAAE,CAAE,IAAG,CAAAA,KAAMD;AACnE,MAAIC,IAAK,KAAKA,KAAMP,EAAM,OAAQ,QAAO;AACzC,QAAMQ,IAAOR,EAAM,MAAA;AACnB,SAAAQ,EAAK,OAAOJ,GAAM,CAAC,GACnBI,EAAK,OAAOD,GAAI,GAAGN,CAAE,GACdO;AACT;AAGO,MAAMC,IAAqB,IACrBC,IAA2B;AAWjC,SAASC,EAAkBC,GAAaC,IAA2C,IAAmB;AAC3G,QAAMP,IAAOO,EAAK,QAAQH,IAA2BD,GAC/CK,IAAOD,EAAK,MAAM,cAAc,cAChCE,IAASF,EAAK,MAAM,eAAe;AACzC,SAAID,MAAQE,IAAaR,IACrBM,MAAQG,IAAe,CAACT,IACrB;AACT;AAGO,SAASU,EAAgBC,GAAcC,GAAeC,IAAM,IAAIC,IAAM,OAAO,kBAA0B;AAC5G,SAAO,KAAK,IAAI,KAAK,IAAI,KAAK,MAAMH,IAAOC,CAAK,GAAGC,CAAG,GAAGC,CAAG;AAC9D;AAkDO,SAASC,EAAoBR,GAIxB;AACV,SAAOA,EAAK,sBAAsB,CAAC,EAAEA,EAAK,uBAAuBA,EAAK;AACxE;AAaO,SAASS,EACdC,GACA3B,GACoB;AACpB,MAAK2B,KACD,EAAA3B,EAAO,iBAAiB,UAAa,CAACA,EAAO,WAAW,CAACA,EAAO;AACpE,WAAO,KAAK,MAAMA,EAAO,IAAI;AAC/B;AAcO,SAAS4B,EAAgB3B,GAAe4B,GAAiD;AAC9F,QAAMC,IAAK7B,GAAsC;AACjD,SAAI,OAAO6B,KAAM,aAAmBD,KAAMC,EAAED,EAAI,QAAQ,KAAK,SACtDC,KAAK;AACd;AAEO,SAASC,EAAkB9B,GAAmC;AACnE,SAAQA,GAAsC,mBAAmB;AACnE;AAGO,MAAM+B,IAAqB,CAAC,YAAY,cAAc,YAAY,GACnEC,IAAY,CAAC5B,MAAgB2B,EAAyC,SAAS3B,CAAE;AAYhF,SAAS6B,EAAgBC,GAAiBC,GAAiE;AAChH,QAAMC,IAAMC,EAAmBH,CAAK;AACpC,SAAO,EAAE,MAAME,EAAI,KAAK,SAAS,CAAC,GAAGD,EAAQ,OAAOH,CAAS,GAAG,GAAGI,EAAI,IAAI,IAAIA,EAAI,MAAM,OAAOA,EAAI,MAAA;AACtG;AAGO,SAASC,EAAmBH,GAAsD;AACvF,SAAO,EAAE,OAAOA,EAAM,QAAQ,IAAI,OAAO,CAAC9B,MAAO,CAAC4B,EAAU5B,CAAE,CAAC,GAAG,QAAQ8B,EAAM,SAAS,IAAI,OAAO,CAAC9B,MAAO,CAAC4B,EAAU5B,CAAE,CAAC,EAAA;AAC5H;"}
|
package/dist/index251.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
const l = (e) => e == null || e === "" ? !0 : Array.isArray(e) ? e.length === 0 || e.every((s) => s == null || s === "") : typeof e == "object" && "value" in e ? l(e.value) : !1;
|
|
2
|
+
function c(e) {
|
|
3
|
+
const s = /* @__PURE__ */ new Set(), r = (e.sort ?? []).filter((t) => s.has(t.id) ? !1 : (s.add(t.id), !0)).map((t) => ({ id: t.id, desc: !!t.desc }));
|
|
4
|
+
return {
|
|
5
|
+
version: 1,
|
|
6
|
+
format: e.format,
|
|
7
|
+
filename: e.filename,
|
|
8
|
+
...e.title ? { title: e.title } : {},
|
|
9
|
+
...e.locale ? { locale: e.locale } : {},
|
|
10
|
+
scope: e.selectedIds && e.selectedIds.length ? { kind: "selected", ids: [...new Set(e.selectedIds)] } : { kind: "all" },
|
|
11
|
+
columns: e.columns.map((t) => ({ ...t })),
|
|
12
|
+
sort: r,
|
|
13
|
+
filters: {
|
|
14
|
+
...e.search && e.search.trim() ? { search: e.search.trim() } : {},
|
|
15
|
+
columns: (e.columnFilters ?? []).filter((t) => !l(t.value)).map((t) => ({ id: t.id, value: t.value }))
|
|
16
|
+
},
|
|
17
|
+
grouping: [...new Set(e.grouping ?? [])],
|
|
18
|
+
...e.context && Object.keys(e.context).length ? { context: e.context } : {}
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
const a = {
|
|
22
|
+
xlsx: { extension: "xlsx", mime: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" },
|
|
23
|
+
pdf: { extension: "pdf", mime: "application/pdf" },
|
|
24
|
+
csv: { extension: "csv", mime: "text/csv;charset=utf-8" }
|
|
25
|
+
};
|
|
26
|
+
export {
|
|
27
|
+
a as EXPORT_FILE,
|
|
28
|
+
c as buildExportRequest
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=index251.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index251.js","sources":["../../core/src/export-request.ts"],"sourcesContent":["/**\n * Server-side export: the request a table hands to the app's server, shared\n * by every binding.\n *\n * bun run check:export-request\n *\n * A large list never lives in the browser: a ledger of a million lines shows\n * one page of it. So an export cannot be built from the rows on screen; the\n * server, which has all of them, builds it. zen-ui's part is to describe\n * exactly what the user is looking at, so the server's file matches the\n * screen: the visible columns in their order (header, width, alignment,\n * format, total), the filters, sort and grouping, the locale, and whether it\n * is every matching row or a selection. The app's endpoint reads this,\n * queries its database and renders the file with its own tools (openpyxl,\n * a print format, …). The request is a few kilobytes whatever the data's size.\n *\n * The shape is versioned (`version: 1`) and only ever grows: a server written\n * for version 1 keeps working when fields are added.\n */\n\nexport type ExportFormat = \"xlsx\" | \"pdf\" | \"csv\";\n\n/** How a column's values are meant to be read, so the server formats them as the screen does. */\nexport type ExportColumnFormat =\n | { kind: \"text\" }\n | { kind: \"number\"; precision?: number }\n | { kind: \"amount\"; currency?: string; precision?: number }\n | { kind: \"quantity\"; unit?: string; precision?: number }\n | { kind: \"percent\"; precision?: number }\n | { kind: \"date\" }\n | { kind: \"datetime\" }\n | { kind: \"boolean\" };\n\nexport interface ExportColumn {\n /** The column's id: the field the server reads. */\n id: string;\n /** Its heading, as the user sees it (in their language). */\n header: string;\n /** Width on screen, in CSS pixels: a spreadsheet's column width can follow it. */\n width: number;\n align: \"start\" | \"end\";\n format: ExportColumnFormat;\n /** A total under this column, of this kind (\"custom\": the app's own function; the server decides). */\n total?: \"sum\" | \"count\" | \"avg\" | \"min\" | \"max\" | \"custom\";\n}\n\nexport interface ExportRequest {\n version: 1;\n format: ExportFormat;\n /** A file name without extension. */\n filename: string;\n title?: string;\n /** BCP 47, for the server's number and date formatting. */\n locale?: string;\n /** Every row the filters match, or only these selected row ids (which may be on pages never loaded). */\n scope: { kind: \"all\" } | { kind: \"selected\"; ids: string[] };\n columns: ExportColumn[];\n /** In priority order. */\n sort: { id: string; desc: boolean }[];\n filters: {\n /** The table's search box. */\n search?: string;\n /**\n * Per-column filter values as the table holds them: a string, a\n * { op, value } (DataTable's operator names: contains, equals, starts,\n * ends; eq, ne, gt, gte, lt, lte), a [min, max] range, an array of\n * choices, or a boolean.\n */\n columns: { id: string; value: unknown }[];\n };\n /** Column ids, outermost first. */\n grouping: string[];\n /** Anything else the app passed (a FilterBuilder tree, a saved view's id). */\n context?: Record<string, unknown>;\n}\n\nconst isEmptyFilter = (v: unknown): boolean => {\n if (v === null || v === undefined || v === \"\") return true;\n if (Array.isArray(v)) return v.length === 0 || v.every((x) => x === null || x === undefined || x === \"\");\n if (typeof v === \"object\" && \"value\" in (v as object)) return isEmptyFilter((v as { value: unknown }).value);\n return false;\n};\n\n/** Build a request from a table's state, dropping what means nothing (empty filters, duplicate sorts). */\nexport function buildExportRequest(input: {\n format: ExportFormat;\n filename: string;\n title?: string;\n locale?: string;\n selectedIds?: string[] | null;\n columns: ExportColumn[];\n sort?: { id: string; desc: boolean }[];\n search?: string;\n columnFilters?: { id: string; value: unknown }[];\n grouping?: string[];\n context?: Record<string, unknown>;\n}): ExportRequest {\n const seenSort = new Set<string>();\n const sort = (input.sort ?? []).filter((s) => (seenSort.has(s.id) ? false : (seenSort.add(s.id), true))).map((s) => ({ id: s.id, desc: !!s.desc }));\n const request: ExportRequest = {\n version: 1,\n format: input.format,\n filename: input.filename,\n ...(input.title ? { title: input.title } : {}),\n ...(input.locale ? { locale: input.locale } : {}),\n scope: input.selectedIds && input.selectedIds.length ? { kind: \"selected\", ids: [...new Set(input.selectedIds)] } : { kind: \"all\" },\n columns: input.columns.map((c) => ({ ...c })),\n sort,\n filters: {\n ...(input.search && input.search.trim() ? { search: input.search.trim() } : {}),\n columns: (input.columnFilters ?? []).filter((f) => !isEmptyFilter(f.value)).map((f) => ({ id: f.id, value: f.value })),\n },\n grouping: [...new Set(input.grouping ?? [])],\n ...(input.context && Object.keys(input.context).length ? { context: input.context } : {}),\n };\n return request;\n}\n\nconst FORMATS = new Set([\"xlsx\", \"pdf\", \"csv\"]);\nconst KINDS = new Set([\"text\", \"number\", \"amount\", \"quantity\", \"percent\", \"date\", \"datetime\", \"boolean\"]);\nconst TOTALS = new Set([\"sum\", \"count\", \"avg\", \"min\", \"max\", \"custom\"]);\n\n/**\n * Read a request on a JavaScript server (Node, Bun, an edge function): the\n * request, or null and what was wrong. Never throws: the body came over the\n * network and is the client's word, not the server's. A server in another\n * language reads the same JSON; the shape is documented above.\n */\nexport function parseExportRequest(input: unknown): { request: ExportRequest | null; problems: string[] } {\n const problems: string[] = [];\n const o = typeof input === \"string\" ? safeJson(input) : input;\n if (!o || typeof o !== \"object\" || Array.isArray(o)) return { request: null, problems: [\"not an object\"] };\n const r = o as Record<string, unknown>;\n if (r.version !== 1) problems.push(`unsupported version ${JSON.stringify(r.version)}`);\n if (!FORMATS.has(r.format as string)) problems.push(`unknown format ${JSON.stringify(r.format)}`);\n if (typeof r.filename !== \"string\" || !r.filename) problems.push(\"no filename\");\n const cols = Array.isArray(r.columns) ? r.columns : [];\n if (!cols.length) problems.push(\"no columns\");\n const ids = new Set<string>();\n cols.forEach((c, i) => {\n const col = c as Record<string, unknown> | null;\n if (!col || typeof col.id !== \"string\" || !col.id) return problems.push(`column ${i}: no id`);\n if (ids.has(col.id)) problems.push(`column ${i}: duplicate id ${col.id}`);\n ids.add(col.id);\n if (typeof col.header !== \"string\") problems.push(`column ${col.id}: no header`);\n const f = col.format as Record<string, unknown> | undefined;\n if (!f || !KINDS.has(f.kind as string)) problems.push(`column ${col.id}: unknown format`);\n if (col.total !== undefined && !TOTALS.has(col.total as string)) problems.push(`column ${col.id}: unknown total`);\n });\n const scope = r.scope as Record<string, unknown> | undefined;\n if (!scope || (scope.kind !== \"all\" && !(scope.kind === \"selected\" && Array.isArray(scope.ids) && scope.ids.every((x) => typeof x === \"string\")))) problems.push(\"bad scope\");\n if (!Array.isArray(r.sort) || !r.sort.every((s) => s && typeof (s as { id: unknown }).id === \"string\")) problems.push(\"bad sort\");\n const filters = r.filters as Record<string, unknown> | undefined;\n if (!filters || !Array.isArray(filters.columns)) problems.push(\"bad filters\");\n if (!Array.isArray(r.grouping)) problems.push(\"bad grouping\");\n return problems.length ? { request: null, problems } : { request: o as ExportRequest, problems };\n}\n\nfunction safeJson(s: string): unknown {\n try {\n return JSON.parse(s);\n } catch {\n return null;\n }\n}\n\n/** The usual file extension and MIME type for a format, for the app's response. */\nexport const EXPORT_FILE: Record<ExportFormat, { extension: string; mime: string }> = {\n xlsx: { extension: \"xlsx\", mime: \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\" },\n pdf: { extension: \"pdf\", mime: \"application/pdf\" },\n csv: { extension: \"csv\", mime: \"text/csv;charset=utf-8\" },\n};\n"],"names":["isEmptyFilter","v","x","buildExportRequest","input","seenSort","sort","s","c","f","EXPORT_FILE"],"mappings":"AA4EA,MAAMA,IAAgB,CAACC,MACjBA,KAAM,QAA2BA,MAAM,KAAW,KAClD,MAAM,QAAQA,CAAC,IAAUA,EAAE,WAAW,KAAKA,EAAE,MAAM,CAACC,MAAMA,KAAM,QAA2BA,MAAM,EAAE,IACnG,OAAOD,KAAM,YAAY,WAAYA,IAAqBD,EAAeC,EAAyB,KAAK,IACpG;AAIF,SAASE,EAAmBC,GAYjB;AAChB,QAAMC,wBAAe,IAAA,GACfC,KAAQF,EAAM,QAAQ,CAAA,GAAI,OAAO,CAACG,MAAOF,EAAS,IAAIE,EAAE,EAAE,IAAI,MAASF,EAAS,IAAIE,EAAE,EAAE,GAAG,GAAM,EAAE,IAAI,CAACA,OAAO,EAAE,IAAIA,EAAE,IAAI,MAAM,CAAC,CAACA,EAAE,OAAO;AAiBlJ,SAhB+B;AAAA,IAC7B,SAAS;AAAA,IACT,QAAQH,EAAM;AAAA,IACd,UAAUA,EAAM;AAAA,IAChB,GAAIA,EAAM,QAAQ,EAAE,OAAOA,EAAM,MAAA,IAAU,CAAA;AAAA,IAC3C,GAAIA,EAAM,SAAS,EAAE,QAAQA,EAAM,OAAA,IAAW,CAAA;AAAA,IAC9C,OAAOA,EAAM,eAAeA,EAAM,YAAY,SAAS,EAAE,MAAM,YAAY,KAAK,CAAC,GAAG,IAAI,IAAIA,EAAM,WAAW,CAAC,MAAM,EAAE,MAAM,MAAA;AAAA,IAC5H,SAASA,EAAM,QAAQ,IAAI,CAACI,OAAO,EAAE,GAAGA,EAAA,EAAI;AAAA,IAC5C,MAAAF;AAAA,IACA,SAAS;AAAA,MACP,GAAIF,EAAM,UAAUA,EAAM,OAAO,KAAA,IAAS,EAAE,QAAQA,EAAM,OAAO,KAAA,EAAK,IAAM,CAAA;AAAA,MAC5E,UAAUA,EAAM,iBAAiB,CAAA,GAAI,OAAO,CAACK,MAAM,CAACT,EAAcS,EAAE,KAAK,CAAC,EAAE,IAAI,CAACA,OAAO,EAAE,IAAIA,EAAE,IAAI,OAAOA,EAAE,QAAQ;AAAA,IAAA;AAAA,IAEvH,UAAU,CAAC,GAAG,IAAI,IAAIL,EAAM,YAAY,CAAA,CAAE,CAAC;AAAA,IAC3C,GAAIA,EAAM,WAAW,OAAO,KAAKA,EAAM,OAAO,EAAE,SAAS,EAAE,SAASA,EAAM,QAAA,IAAY,CAAA;AAAA,EAAC;AAG3F;AAmDO,MAAMM,IAAyE;AAAA,EACpF,MAAM,EAAE,WAAW,QAAQ,MAAM,oEAAA;AAAA,EACjC,KAAK,EAAE,WAAW,OAAO,MAAM,kBAAA;AAAA,EAC/B,KAAK,EAAE,WAAW,OAAO,MAAM,yBAAA;AACjC;"}
|
package/dist/index252.js
ADDED
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { jsx as r, Fragment as h, jsxs as x } from "react/jsx-runtime";
|
|
2
|
+
import * as f from "react";
|
|
3
|
+
import { Input as N } from "./index4.js";
|
|
4
|
+
import { NumberField as y } from "./index11.js";
|
|
5
|
+
import { Select as D, SelectTrigger as E, SelectValue as k, SelectContent as C, SelectItem as w } from "./index39.js";
|
|
6
|
+
import { useLocale as S } from "./index90.js";
|
|
7
|
+
import { cn as R } from "./index199.js";
|
|
8
|
+
const z = "zen-flex zen-items-center zen-w-full zen-h-full -zen-m-2 zen-p-1.6 zen-bg-zen-background zen-ring-2 zen-ring-zen-ring zen-rounded-zen-sm";
|
|
9
|
+
function p(n, i) {
|
|
10
|
+
const l = f.useRef(!1);
|
|
11
|
+
return {
|
|
12
|
+
commit: (s) => {
|
|
13
|
+
l.current || (l.current = !0, n(s));
|
|
14
|
+
},
|
|
15
|
+
cancel: () => {
|
|
16
|
+
l.current || (l.current = !0, i());
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function T({ initialValue: n, seeded: i, onCommit: l, onCancel: s }) {
|
|
21
|
+
const [u, e] = f.useState(String(n ?? "")), m = f.useRef(null), o = p(l, s);
|
|
22
|
+
return f.useEffect(() => {
|
|
23
|
+
const t = m.current;
|
|
24
|
+
t?.focus(), i ? t?.setSelectionRange(t.value.length, t.value.length) : t?.select();
|
|
25
|
+
}, []), /* @__PURE__ */ r("div", { className: z, children: /* @__PURE__ */ r(
|
|
26
|
+
N,
|
|
27
|
+
{
|
|
28
|
+
ref: m,
|
|
29
|
+
value: u,
|
|
30
|
+
onChange: (t) => e(t.target.value),
|
|
31
|
+
onKeyDown: (t) => {
|
|
32
|
+
t.key === "Enter" ? (t.preventDefault(), o.commit(u)) : t.key === "Escape" && (t.preventDefault(), o.cancel());
|
|
33
|
+
},
|
|
34
|
+
onBlur: () => o.commit(u),
|
|
35
|
+
className: "zen-h-7 zen-text-sm zen-border-0 zen-ring-0 focus-visible:zen-ring-0 zen-px-1"
|
|
36
|
+
}
|
|
37
|
+
) });
|
|
38
|
+
}
|
|
39
|
+
function I({ initialValue: n, seeded: i, onCommit: l, onCancel: s }) {
|
|
40
|
+
const u = typeof n == "number" ? n : n === "" || n === null || n === void 0 ? null : Number(n), [e, m] = f.useState(
|
|
41
|
+
Number.isNaN(u) ? null : u
|
|
42
|
+
), o = p(l, s), t = f.useRef(null);
|
|
43
|
+
return f.useEffect(() => {
|
|
44
|
+
t.current?.focus(), i || t.current?.select();
|
|
45
|
+
}, []), /* @__PURE__ */ r(
|
|
46
|
+
"div",
|
|
47
|
+
{
|
|
48
|
+
className: z,
|
|
49
|
+
onKeyDown: (c) => {
|
|
50
|
+
c.key === "Enter" ? (c.preventDefault(), o.commit(e)) : c.key === "Escape" && (c.preventDefault(), o.cancel());
|
|
51
|
+
},
|
|
52
|
+
onBlur: (c) => {
|
|
53
|
+
c.currentTarget.contains(c.relatedTarget) || o.commit(e);
|
|
54
|
+
},
|
|
55
|
+
tabIndex: -1,
|
|
56
|
+
children: /* @__PURE__ */ r(
|
|
57
|
+
y,
|
|
58
|
+
{
|
|
59
|
+
ref: t,
|
|
60
|
+
value: e ?? void 0,
|
|
61
|
+
onValueChange: m,
|
|
62
|
+
className: "zen-h-7 zen-text-sm zen-border-0 zen-ring-0 focus-visible:zen-ring-0 zen-px-1"
|
|
63
|
+
}
|
|
64
|
+
)
|
|
65
|
+
}
|
|
66
|
+
);
|
|
67
|
+
}
|
|
68
|
+
function K({
|
|
69
|
+
initialValue: n,
|
|
70
|
+
onCommit: i,
|
|
71
|
+
onCancel: l,
|
|
72
|
+
options: s
|
|
73
|
+
}) {
|
|
74
|
+
const u = p(i, l);
|
|
75
|
+
return /* @__PURE__ */ r(
|
|
76
|
+
"div",
|
|
77
|
+
{
|
|
78
|
+
className: z,
|
|
79
|
+
onKeyDown: (e) => {
|
|
80
|
+
e.key === "Escape" && (e.preventDefault(), u.cancel());
|
|
81
|
+
},
|
|
82
|
+
children: /* @__PURE__ */ x(
|
|
83
|
+
D,
|
|
84
|
+
{
|
|
85
|
+
value: String(n ?? ""),
|
|
86
|
+
onValueChange: (e) => u.commit(e),
|
|
87
|
+
open: !0,
|
|
88
|
+
onOpenChange: (e) => {
|
|
89
|
+
e || u.cancel();
|
|
90
|
+
},
|
|
91
|
+
children: [
|
|
92
|
+
/* @__PURE__ */ r(E, { className: "zen-h-7 zen-text-sm", children: /* @__PURE__ */ r(k, {}) }),
|
|
93
|
+
/* @__PURE__ */ r(C, { children: s.map((e) => /* @__PURE__ */ r(w, { value: e.value, children: e.label }, e.value)) })
|
|
94
|
+
]
|
|
95
|
+
}
|
|
96
|
+
)
|
|
97
|
+
}
|
|
98
|
+
);
|
|
99
|
+
}
|
|
100
|
+
function $({
|
|
101
|
+
cell: n,
|
|
102
|
+
editing: i,
|
|
103
|
+
onStartEdit: l,
|
|
104
|
+
onCommit: s,
|
|
105
|
+
onCancel: u,
|
|
106
|
+
children: e,
|
|
107
|
+
navigable: m,
|
|
108
|
+
seed: o
|
|
109
|
+
}) {
|
|
110
|
+
const t = S(), c = n.column.columnDef.meta;
|
|
111
|
+
if (!(typeof c?.editable == "function" ? c.editable(n.row.original) : !!c?.editable)) return /* @__PURE__ */ r(h, { children: e });
|
|
112
|
+
if (i) {
|
|
113
|
+
const a = c?.editVariant ?? "text", g = n.getValue(), d = {
|
|
114
|
+
initialValue: o === void 0 || a === "select" ? g : a === "number" ? /^[0-9]$/.test(o) ? Number(o) : null : o,
|
|
115
|
+
seeded: o !== void 0 && a !== "select",
|
|
116
|
+
onCommit: s,
|
|
117
|
+
onCancel: u
|
|
118
|
+
};
|
|
119
|
+
switch (a) {
|
|
120
|
+
case "number":
|
|
121
|
+
return /* @__PURE__ */ r(I, { ...d });
|
|
122
|
+
case "select":
|
|
123
|
+
return /* @__PURE__ */ r(K, { ...d, options: c?.editOptions ?? [] });
|
|
124
|
+
default:
|
|
125
|
+
return /* @__PURE__ */ r(T, { ...d });
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
if (m)
|
|
129
|
+
return /* @__PURE__ */ r(
|
|
130
|
+
"div",
|
|
131
|
+
{
|
|
132
|
+
onDoubleClick: l,
|
|
133
|
+
className: "zen-w-full zen-h-full zen-inline-flex zen-items-center zen-cursor-text",
|
|
134
|
+
children: e
|
|
135
|
+
}
|
|
136
|
+
);
|
|
137
|
+
const v = n.column.columnDef.header, b = typeof v == "string" ? v : n.column.id;
|
|
138
|
+
return /* @__PURE__ */ r(
|
|
139
|
+
"div",
|
|
140
|
+
{
|
|
141
|
+
onDoubleClick: l,
|
|
142
|
+
onKeyDown: (a) => {
|
|
143
|
+
(a.key === "Enter" || a.key === " ") && (a.preventDefault(), l());
|
|
144
|
+
},
|
|
145
|
+
tabIndex: 0,
|
|
146
|
+
role: "button",
|
|
147
|
+
"aria-label": t.t("dataTable.editCell", { column: b }),
|
|
148
|
+
className: R(
|
|
149
|
+
"zen-w-full zen-h-full zen-inline-flex zen-items-center zen-cursor-text",
|
|
150
|
+
"zen-rounded-zen-sm",
|
|
151
|
+
"focus-visible:zen-outline-none focus-visible:zen-ring-1 focus-visible:zen-ring-zen-ring"
|
|
152
|
+
),
|
|
153
|
+
children: e
|
|
154
|
+
}
|
|
155
|
+
);
|
|
156
|
+
}
|
|
157
|
+
export {
|
|
158
|
+
$ as EditableCell
|
|
159
|
+
};
|
|
160
|
+
//# sourceMappingURL=index252.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index252.js","sources":["../src/components/data-table/edit-cell.tsx"],"sourcesContent":["import * as React from \"react\";\nimport type { Cell, RowData } from \"@tanstack/react-table\";\nimport { cn } from \"../../lib/cn\";\nimport { Input } from \"../form/input/input\";\nimport { NumberField } from \"../form/number-field/number-field\";\nimport {\n Select,\n SelectContent,\n SelectItem,\n SelectTrigger,\n SelectValue,\n} from \"../form/select/select\";\nimport { useLocale } from \"../locale/locale\";\n\n/**\n * Inline cell editing.\n *\n * Declare `meta.editable: true` on a column (or a function\n * `(row) => boolean` for per-row control) and DataTable will:\n *\n * - render the cell normally until activated\n * - activate on double-click or Enter / Space when the cell is focused\n * - swap the cell content for the matching input control\n * (text by default, number / select via `meta.editVariant`)\n * - commit on Enter or blur via the caller's `onCellEdit(payload)`\n * - cancel on Escape (restore prior render)\n *\n * The component is uncontrolled with respect to data — the caller still\n * owns the source `data` array and updates it from `onCellEdit`.\n *\n * <DataTable\n * data={rows}\n * columns={[\n * { accessorKey: \"name\", header: \"Name\",\n * meta: { editable: true } },\n * { accessorKey: \"salary\", header: \"Salary\",\n * meta: { editable: true, editVariant: \"number\" } },\n * { accessorKey: \"role\", header: \"Role\",\n * meta: { editable: true, editVariant: \"select\",\n * editOptions: [{ label: \"Admin\", value: \"Admin\" }, …] } },\n * ]}\n * onCellEdit={({ rowId, columnId, value }) => {\n * setRows(prev => prev.map(r =>\n * r.id === rowId ? { ...r, [columnId]: value } : r));\n * }}\n * />\n */\n\nexport type EditVariant = \"text\" | \"number\" | \"select\";\n\nexport interface CellEditPayload {\n /** Stable row id — pass `getRowId` on your column defs for reliable identity. */\n rowId: string;\n columnId: string;\n /** Newly committed value. Stringified for text; number-or-null for number. */\n value: unknown;\n}\n\nexport interface EditingState {\n rowId: string;\n columnId: string;\n /** What was typed to start the edit (cell navigation): the editor starts from it. */\n seed?: string;\n}\n\ndeclare module \"@tanstack/react-table\" {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n interface ColumnMeta<TData extends RowData, TValue> {\n editable?: boolean | ((row: TData) => boolean);\n editVariant?: EditVariant;\n /** Options used by the `select` edit variant. */\n editOptions?: { label: string; value: string }[];\n }\n}\n\n/* ---------------------------- editor inputs -------------------------------- */\n\ninterface EditorProps {\n initialValue: unknown;\n /** The edit began by typing: keep the cursor after what was typed, not select it. */\n seeded?: boolean;\n onCommit: (value: unknown) => void;\n onCancel: () => void;\n}\n\nconst editorWrapClass =\n \"zen-flex zen-items-center zen-w-full zen-h-full -zen-m-2 zen-p-1.6 zen-bg-zen-background zen-ring-2 zen-ring-zen-ring zen-rounded-zen-sm\";\n\n/**\n * An editor ends once: whichever of commit and cancel comes first wins, and\n * the other is ignored. Cancelling removes the input, and removing a focused\n * input fires its blur, which must not then save what Esc threw away.\n */\nfunction useEndsOnce(onCommit: (value: unknown) => void, onCancel: () => void) {\n const done = React.useRef(false);\n return {\n commit: (value: unknown) => {\n if (done.current) return;\n done.current = true;\n onCommit(value);\n },\n cancel: () => {\n if (done.current) return;\n done.current = true;\n onCancel();\n },\n };\n}\n\nfunction TextEditor({ initialValue, seeded, onCommit, onCancel }: EditorProps) {\n const [value, setValue] = React.useState(String(initialValue ?? \"\"));\n const ref = React.useRef<HTMLInputElement>(null);\n const end = useEndsOnce(onCommit, onCancel);\n React.useEffect(() => {\n const input = ref.current;\n input?.focus();\n if (seeded) input?.setSelectionRange(input.value.length, input.value.length);\n else input?.select();\n // eslint-disable-next-line react-hooks/exhaustive-deps -- on mount only\n }, []);\n return (\n <div className={editorWrapClass}>\n <Input\n ref={ref}\n value={value}\n onChange={(e) => setValue(e.target.value)}\n onKeyDown={(e) => {\n if (e.key === \"Enter\") {\n e.preventDefault();\n end.commit(value);\n } else if (e.key === \"Escape\") {\n e.preventDefault();\n end.cancel();\n }\n }}\n onBlur={() => end.commit(value)}\n className=\"zen-h-7 zen-text-sm zen-border-0 zen-ring-0 focus-visible:zen-ring-0 zen-px-1\"\n />\n </div>\n );\n}\n\nfunction NumberEditor({ initialValue, seeded, onCommit, onCancel }: EditorProps) {\n const initial =\n typeof initialValue === \"number\"\n ? initialValue\n : initialValue === \"\" || initialValue === null || initialValue === undefined\n ? null\n : Number(initialValue);\n const [value, setValue] = React.useState<number | null>(\n Number.isNaN(initial as number) ? null : initial,\n );\n const end = useEndsOnce(onCommit, onCancel);\n // The editor takes focus with its value selected: without this it opened\n // with focus nowhere and typing went to the page.\n const ref = React.useRef<HTMLInputElement>(null);\n React.useEffect(() => {\n ref.current?.focus();\n // A number input has no settable cursor; focusing leaves it after the value.\n if (!seeded) ref.current?.select();\n // eslint-disable-next-line react-hooks/exhaustive-deps -- on mount only\n }, []);\n return (\n <div\n className={editorWrapClass}\n onKeyDown={(e) => {\n if (e.key === \"Enter\") {\n e.preventDefault();\n end.commit(value);\n } else if (e.key === \"Escape\") {\n e.preventDefault();\n end.cancel();\n }\n }}\n onBlur={(e) => {\n // Only commit when focus leaves the whole wrapper, not on internal\n // focus jumps (e.g. clicking the ± steppers).\n if (!e.currentTarget.contains(e.relatedTarget as Node | null)) {\n end.commit(value);\n }\n }}\n tabIndex={-1}\n >\n <NumberField\n ref={ref}\n value={value ?? undefined}\n onValueChange={setValue}\n className=\"zen-h-7 zen-text-sm zen-border-0 zen-ring-0 focus-visible:zen-ring-0 zen-px-1\"\n />\n </div>\n );\n}\n\nfunction SelectEditor({\n initialValue,\n onCommit,\n onCancel,\n options,\n}: EditorProps & { options: { label: string; value: string }[] }) {\n const end = useEndsOnce(onCommit, onCancel);\n return (\n <div\n className={editorWrapClass}\n onKeyDown={(e) => {\n if (e.key === \"Escape\") {\n e.preventDefault();\n end.cancel();\n }\n }}\n >\n {/* Controlled, so a pick reaches onValueChange at once. Uncontrolled,\n Radix reports the new value from an effect, after the close that\n follows the pick had already cancelled the edit and unmounted this:\n a pick never saved. Picking calls onValueChange, then onOpenChange\n (false); the edit ends once, so the close after a pick is ignored. */}\n <Select\n value={String(initialValue ?? \"\")}\n onValueChange={(v) => end.commit(v)}\n open\n onOpenChange={(open) => {\n // Closing the popover without picking = cancel back to the\n // last rendered value.\n if (!open) end.cancel();\n }}\n >\n <SelectTrigger className=\"zen-h-7 zen-text-sm\">\n <SelectValue />\n </SelectTrigger>\n <SelectContent>\n {options.map((o) => (\n <SelectItem key={o.value} value={o.value}>\n {o.label}\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n </div>\n );\n}\n\n/* ---------------------------- public editor cell -------------------------- */\n\nexport interface EditableCellProps<TData> {\n cell: Cell<TData, unknown>;\n /** When true, this is the cell currently in edit mode. */\n editing: boolean;\n onStartEdit: () => void;\n onCommit: (value: unknown) => void;\n onCancel: () => void;\n /** The cell's rendered (non-edit) content. */\n children: React.ReactNode;\n /**\n * The table moves focus cell by cell (enableCellNavigation): the cell itself\n * is the focus target and starts the edit, so the display is not a button\n * of its own.\n */\n navigable?: boolean;\n /** What was typed to start this edit. */\n seed?: string;\n}\n\n/**\n * EditableCell — wraps a cell renderer with double-click-to-edit + the\n * matching editor. Read-only / non-editable cells render through unchanged.\n */\nexport function EditableCell<TData>({\n cell,\n editing,\n onStartEdit,\n onCommit,\n onCancel,\n children,\n navigable,\n seed,\n}: EditableCellProps<TData>) {\n const loc = useLocale();\n const meta = cell.column.columnDef.meta as\n | {\n editable?: boolean | ((row: TData) => boolean);\n editVariant?: EditVariant;\n editOptions?: { label: string; value: string }[];\n }\n | undefined;\n const editable =\n typeof meta?.editable === \"function\"\n ? meta.editable(cell.row.original)\n : !!meta?.editable;\n\n if (!editable) return <>{children}</>;\n\n if (editing) {\n const variant = meta?.editVariant ?? \"text\";\n const value = cell.getValue();\n // Typing a character starts the edit from it: a digit for a number,\n // anything for text; a select just opens.\n const initialValue =\n seed === undefined || variant === \"select\"\n ? value\n : variant === \"number\"\n ? /^[0-9]$/.test(seed)\n ? Number(seed)\n : null\n : seed;\n const props = {\n initialValue,\n seeded: seed !== undefined && variant !== \"select\",\n onCommit,\n onCancel,\n };\n switch (variant) {\n case \"number\":\n return <NumberEditor {...props} />;\n case \"select\":\n return <SelectEditor {...props} options={meta?.editOptions ?? []} />;\n case \"text\":\n default:\n return <TextEditor {...props} />;\n }\n }\n\n if (navigable) {\n return (\n <div\n onDoubleClick={onStartEdit}\n className=\"zen-w-full zen-h-full zen-inline-flex zen-items-center zen-cursor-text\"\n >\n {children}\n </div>\n );\n }\n\n const colHeader = cell.column.columnDef.header;\n const columnName = typeof colHeader === \"string\" ? colHeader : cell.column.id;\n return (\n <div\n onDoubleClick={onStartEdit}\n onKeyDown={(e) => {\n if (e.key === \"Enter\" || e.key === \" \") {\n e.preventDefault();\n onStartEdit();\n }\n }}\n tabIndex={0}\n role=\"button\"\n aria-label={loc.t(\"dataTable.editCell\", { column: columnName })}\n className={cn(\n \"zen-w-full zen-h-full zen-inline-flex zen-items-center zen-cursor-text\",\n \"zen-rounded-zen-sm\",\n \"focus-visible:zen-outline-none focus-visible:zen-ring-1 focus-visible:zen-ring-zen-ring\",\n )}\n >\n {children}\n </div>\n );\n}\n"],"names":["editorWrapClass","useEndsOnce","onCommit","onCancel","done","React","value","TextEditor","initialValue","seeded","setValue","ref","end","input","jsx","Input","e","NumberEditor","initial","NumberField","SelectEditor","options","jsxs","Select","v","open","SelectTrigger","SelectValue","SelectContent","o","SelectItem","EditableCell","cell","editing","onStartEdit","children","navigable","seed","loc","useLocale","meta","Fragment","variant","props","colHeader","columnName","cn"],"mappings":"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"}
|