@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index257.js","sources":["../src/components/gantt/schedule-grid.tsx"],"sourcesContent":["import * as React from \"react\";\nimport {\n ganttColumns,\n ganttColumnWidths,\n ganttColumnWindow,\n ganttContinuousRange,\n ganttFitHourStep,\n ganttFitUnit,\n ganttHeaderGroups,\n ganttViewUnit,\n ganttPaneColumns,\n ganttRange,\n ganttRangeColumns,\n ganttRangeLabel,\n ganttRowWindow,\n ganttSpanLabel,\n nowPct,\n shiftGanttAnchor,\n type GanttAnchoredView,\n type GanttColumnUnit,\n type GanttConnector,\n type GanttDependencyStyle,\n type GanttHeaderGroup,\n type GanttCalendar,\n type GanttView,\n type PlanningColumn,\n type PlanningRange,\n} from \"@algorisys/zen-ui-core\";\nimport { cn } from \"../../lib/cn\";\nimport { Button } from \"../button/button\";\nimport { Icon } from \"../icon/icon\";\nimport { useLocale, type MessageKey } from \"../locale/locale\";\n\n/**\n * ScheduleGrid — the chrome every schedule chart needs, and none of what any\n * particular one MEANS.\n *\n * This is the shared renderer behind `Gantt`, extracted so a second schedule\n * component can be built without a second copy of it. It is internal: nothing\n * here is exported from the package index, so its shape can change without a\n * major version.\n *\n * The split is by whether a thing depends on what a row IS. It does not:\n *\n * - the axis — range, columns, per-column widths, the now marker, and the\n * six views including `fit`, whose range comes from data the caller supplies;\n * - the frozen pane — which columns survive the container width, and the\n * sticky, scroll-locked geometry that holds them;\n * - row windowing, and the spacers that keep the scrollbar honest;\n * - the connector overlay, drawn whole rather than windowed;\n * - the treegrid: roving tabindex, arrow-key navigation, expand/collapse,\n * focus that survives a row unmounting under it;\n * - the toolbar.\n *\n * What the caller brings is a list of rows, a `render` per pane column, and a\n * `renderTrack` for whatever goes on the axis — one bar for a project task, a\n * whole sequence of operations for a work centre. Neither shape is privileged\n * here.\n *\n * THE SPLIT IS NOT ARBITRARY. Everything above is a thing that was got wrong\n * once and pinned: bars land on gridlines only because widths come from each\n * column's own duration; the pane sheds a column only when shedding achieves a\n * fit; focus survives a windowed row unmounting only because the new scroll\n * position is pushed into state in the same commit. A second component\n * re-deriving any of that would re-derive the bugs with it.\n */\n\n/**\n * Default pixel height of a row.\n *\n * A chart may raise it — a resource row holding three lanes of operations needs\n * more than a task row holding one bar — but every row in ONE chart is the same\n * height, and that is not negotiable: `ganttRowWindow` is arithmetic rather than\n * measurement, and `ganttConnectors` places an endpoint at\n * `rowIndex * rowHeight + rowHeight / 2`. Rows that varied would need a\n * measured offset table, and both of those would have to read it.\n */\nexport const ROW_PX = 36;\nexport const HEADER_PX = 44;\n/** The optional group row above the column labels (`headerGroups`). */\nexport const GROUP_PX = 22;\n/** Indent per level of hierarchy, applied by the caller inside its first column. */\nexport const INDENT_PX = 14;\n\n/**\n * NOMINAL column width per anchored view — the axis is `columns.length × this`,\n * and each column then takes its own share of that by duration\n * (`ganttColumnWidths`). For day, week and month every column is the same\n * length, so this is also the literal width; for quarter and year it is the\n * average.\n *\n * One number cannot serve all five. A week is 7 columns and can afford to be\n * wide; a month is 31 and cannot, or every plan opens scrolled halfway off its\n * own axis. Quarter is ~14 weeks and year is 12 months, both of which want the\n * whole span to fit a normal screen — that is the entire point of having them.\n */\nconst COLUMN_PX: Record<GanttAnchoredView, number> = {\n day: 56,\n week: 128,\n month: 44,\n /* Sized to FIT, not to breathe: a year you have to scroll sideways to reach\n December in is not showing you the year, which is the only reason the view\n exists. 14 × 72 and 12 × 80 both land near 1000px — inside a normal content\n column — and \"13 Jul\" and \"Sep\" are comfortable at those widths. */\n quarter: 72,\n year: 80,\n};\n\n/**\n * Fit sizes its columns to the CONTAINER, because \"the whole plan without\n * scrolling sideways\" is the only thing the view is for and a table of fixed\n * widths cannot promise it. These are the FLOORS: the narrowest each unit's\n * label survives at, measured against the label it actually draws — \"08:00\",\n * \"31\", \"13\", \"Sep\". Below them the labels stop being labels, and scrolling is\n * the better failure.\n *\n * Tighter than COLUMN_PX above, deliberately. Those are widths chosen to\n * breathe; these are widths chosen to fit, and the difference is the whole\n * point of a view that adapts.\n */\nconst FIT_MIN_COLUMN_PX: Record<GanttColumnUnit, number> = {\n hour: 40,\n day: 20,\n /* 26, not the quarter view's 72: a fit week column draws \"13\" with the month\n only where it changes, not \"13 Jul\" twenty times over. */\n week: 26,\n month: 30,\n};\n\n/**\n * The narrowest each ANCHORED view survives at, measured against the label it\n * actually draws — \"08:00\", \"Mon 12\", \"31\", \"13 Jul\", \"Sep\".\n *\n * These exist so an anchored view can SHRINK toward its floor rather than\n * scroll. It never grows past COLUMN_PX above, and that asymmetry is the\n * point: stretching a week view to the window would make \"how long is that\n * bar\" a question about the browser, while shrinking it is simply the\n * alternative to dragging the chart sideways to see Thursday.\n */\n/** A week column of a month drawn in weeks (`monthUnit: \"week\"`): wide enough\n * for a label on a bar, which is why anyone asks for it. Floor, then ceiling. */\nconst MONTH_WEEK_PX = { min: 64, max: 180 };\n\nconst MIN_COLUMN_PX: Record<GanttAnchoredView, number> = {\n day: 34,\n week: 44,\n month: 20,\n quarter: 38,\n year: 30,\n};\n\n/**\n * A floor under what the pane will shed for. Nothing narrower than this is a\n * chart — it is a legend — so a view whose columns want less than this still\n * costs the pane this much.\n */\nconst MIN_AXIS_PX = 280;\n\n/** Half-height of the connector arrowhead, in the axis's pixel space. */\nconst ARROW_PX = 5;\n\n/** Matches `zen-max-h-[32rem]` on the scroller — 32rem at the 16px root. Used\n * only to seed the window before the element has been measured. */\nconst SCROLLER_MAX_PX = 512;\n\n/** Grid cells are focus targets, so they need a ring of their own. Inset,\n * because a cell is flush against its neighbours and an outset ring is drawn\n * under the next cell's background. */\nconst CELL_FOCUS_CLASS =\n \"focus-visible:zen-outline-none focus-visible:zen-ring-2 focus-visible:zen-ring-inset focus-visible:zen-ring-zen-ring\";\n\nconst VIEW_LABEL: Record<GanttView, MessageKey> = {\n fit: \"scheduleGrid.views.fit\",\n day: \"scheduleGrid.views.day\",\n week: \"scheduleGrid.views.week\",\n month: \"scheduleGrid.views.month\",\n quarter: \"scheduleGrid.views.quarter\",\n year: \"scheduleGrid.views.year\",\n};\n\n/* Fit first: it is the default, and it is the one that answers \"what does this\n plan look like\" before you have decided which zoom to argue about. */\nexport const ALL_VIEWS: GanttView[] = [\"fit\", \"day\", \"week\", \"month\", \"quarter\", \"year\"];\n\n/**\n * The minimum the chrome needs to know about a row. Everything else about it\n * reaches this module only through a column's `render`, which is the point.\n */\nexport interface ScheduleRowShape {\n /** Position in the visible list. This is the row's y coordinate. */\n index: number;\n /** 0 for a root. Drives `aria-level`; the visual indent is the caller's. */\n depth: number;\n hasChildren: boolean;\n expanded: boolean;\n}\n\n/** One column of the frozen pane. */\nexport interface ScheduleColumn<R> {\n key: string;\n /** Heading text, and what a screen reader calls the column. */\n label: string;\n /** Fixed, because a sticky pane cannot be sized by its content. */\n width: number;\n /**\n * Its place in the FULL column set, 1-based — not its place among the columns\n * that survived. `aria-colindex` names a column's position in the whole table,\n * which is exactly what lets a partially rendered row be announced correctly.\n */\n colIndex: number;\n render: (row: R) => React.ReactNode;\n /** Overrides the cell's accessible name, where the content cannot carry it. */\n ariaLabel?: (row: R) => string | undefined;\n /** Extra classes on the cell. Padding differs between a name column and the rest. */\n className?: string;\n /** Per-row inline style, for an indent that depends on depth. */\n style?: (row: R) => React.CSSProperties | undefined;\n}\n\nexport interface ScheduleGridProps<R extends ScheduleRowShape> {\n rows: R[];\n /** Stable across renders, and the React key. */\n rowId: (row: R) => string;\n\n /**\n * The pane's columns, in PREFERENCE order: what is listed last is the first\n * to go when the container cannot hold both the pane and a usable axis. The\n * first is never dropped.\n */\n columns: ScheduleColumn<R>[];\n /** How many columns the table has in total, including the timeline. */\n colCount: number;\n /** `aria-colindex` for the timeline column. */\n timelineColIndex: number;\n /** What goes on the axis for this row — one bar, or a whole sequence. */\n renderTrack: (row: R, axisWidth: number) => React.ReactNode;\n /**\n * Uniform height for every row, defaulting to ROW_PX. Raise it for a chart\n * whose rows hold more than one bar; see ROW_PX for why it cannot vary\n * between rows.\n */\n rowHeight?: number;\n /** Classes for one row (the whole strip: pane and timeline). */\n rowClass?: (row: R) => string | undefined;\n /** The scroller's maximum height (px, or any CSS length). Default 32rem. */\n maxBodyHeight?: number | string;\n /**\n * Classes for the header: the row and its frozen pane, applied after their\n * own, so a caller's background and text colour win\n * (`\"zen-bg-zen-primary-soft zen-text-zen-primary-soft-fg\"`).\n */\n headerClassName?: string;\n /**\n * A second header row above the column labels giving their date context: the\n * date above hours, the month above days or weeks, the year above months.\n * Each group's label stays in view while the axis scrolls sideways. Off by\n * default — the header is then exactly the single row it always was.\n */\n headerGroups?: boolean;\n /**\n * A strip under the rows, aligned to the axis and stuck to the bottom of the\n * scroller — a load histogram, a capacity trace, a shift band.\n *\n * Outside the `treegrid` element rather than inside it, deliberately: a div\n * that is not a `row` inside a grid is invalid ARIA, and a fake row would be\n * counted by `aria-rowcount` and announced as data.\n */\n renderFooter?: (context: {\n columns: PlanningColumn[];\n columnWidths: number[];\n axisWidth: number;\n paneWidth: number;\n }) => React.ReactNode;\n\n /* ---- the axis ----\n Only what the TOOLBAR needs. The axis itself arrives already resolved, in\n `axis`, because the caller has to run `useScheduleAxis` anyway: it needs\n `range` and `axisWidth` to place its own bars in the same render, and a\n second pass measuring the DOM is how two sources of truth for one geometry\n get created. */\n view: GanttView;\n anchor: Date;\n now: Date;\n\n connectors?: GanttConnector[];\n /**\n * Which connectors are drawn as a problem rather than as a fact.\n *\n * The grid does not know what makes a link wrong — a Gantt dependency has no\n * notion of one, and a production routing's lag lives in a different module —\n * so the caller decides and this only draws it.\n */\n connectorAccent?: (connector: GanttConnector) => boolean;\n /** The caller's colour and dash for one arrow. An accented arrow keeps the dash but not the colour. */\n connectorStyle?: (connector: GanttConnector) => GanttDependencyStyle | undefined;\n\n /* ---- toolbar ---- */\n views?: GanttView[];\n hideToolbar?: boolean;\n /** A row of its own under the toolbar — the legend. Drawn even with the toolbar hidden. */\n legend?: React.ReactNode;\n onViewChange: (view: GanttView) => void;\n onDateChange: (date: Date) => void;\n\n /* ---- interaction ---- */\n onToggle: (row: R) => void;\n onActivate?: (row: R) => void;\n\n ariaLabel: string;\n className?: string;\n}\n\n/**\n * Everything the axis resolves to, and what the pane could afford after it.\n *\n * Exported because the caller needs `range` and `axisWidth` to place its own\n * bars, and needs them BEFORE it renders — a second pass measuring the DOM is\n * how two sources of truth for the same geometry get created.\n */\nexport interface ScheduleAxis {\n range: PlanningRange;\n columns: PlanningColumn[];\n columnWidths: number[];\n axisWidth: number;\n paneWidth: number;\n isFit: boolean;\n /** What one column is: hour, day, week or month. What the header groups by. */\n unit: GanttColumnUnit;\n /** A continuous axis: the whole plan at the view's zoom, scrolled, not paged. */\n continuous: boolean;\n /** A continuous range that hit the column cap and was windowed round the anchor. */\n clamped: boolean;\n /** Milliseconds worth roughly one pixel — what a split-bar gap is judged against. */\n minGapMs: number;\n}\n\n/**\n * Resolve the axis and the pane together, in the one order that works.\n *\n * The chain has a real dependency in it and it is easy to get backwards: the\n * pane sheds against what the axis WANTS, and then a fit axis spends whatever\n * the pane left over. Doing it the other way round — pane first at a fixed\n * minimum — is the version that left a year axis at 1292px keeping all four\n * columns and scrolling anyway.\n *\n * The caller runs this itself rather than reading it back out of the grid,\n * because it needs `range` and `axisWidth` to place bars in the same render.\n */\nexport function useScheduleAxis(options: {\n view: GanttView;\n anchor: Date;\n fitRange: PlanningRange | null;\n now: Date;\n calendar?: GanttCalendar;\n hourStep?: number;\n columnWidth?: number;\n paneColumns: readonly { key: string; width: number }[];\n /** The scroller's measured `clientWidth`, or 0 before it has been measured. */\n available: number;\n /** The header draws a group row, so columns drop the context it carries. */\n grouped?: boolean;\n /** One scrolling timeline over the whole plan: the view sets the ZOOM. Fit ignores it. */\n continuous?: boolean;\n /** The plan's span, for a continuous axis; null when nothing has dates. */\n plan?: PlanningRange | null;\n /**\n * The month view's columns: \"day\" (default) or \"week\". Anchored month only —\n * a continuous axis zooms by its own unit and Fit chooses its own.\n */\n monthUnit?: \"day\" | \"week\";\n}): ScheduleAxis & { paneKeys: string[] } {\n const { view, anchor, fitRange, now, calendar, hourStep, columnWidth, paneColumns, available, grouped, plan } = options;\n const continuous = !!options.continuous && view !== \"fit\";\n /** The anchored month, drawn in weeks. Sized as weeks, grouped as weeks. */\n const monthWeeks = options.monthUnit === \"week\" && view === \"month\" && !continuous;\n const monthUnit = monthWeeks ? (\"week\" as const) : undefined;\n\n const isFit = view === \"fit\";\n /* The one place the two view worlds meet. Every anchored function refuses\n `fit` at the TYPE level, so there is no path by which a fit view reaches\n `ganttRange` and silently gets a month. */\n const anchoredView: GanttAnchoredView = isFit ? \"month\" : view;\n\n /* Keyed on the INSTANT, not the Date object. A `Date` is a fresh identity on\n every render even when it names the same millisecond, so depending on the\n object defeats the memo entirely. */\n const anchorTime = anchor.getTime();\n const nowTime = now.getTime();\n\n const fitUnit = fitRange ? ganttFitUnit(fitRange.end.getTime() - fitRange.start.getTime()) : null;\n /* A fit hour axis picks its own step so 48 one-hour columns never happen —\n see `ganttFitHourStep`. A stated `hourStep` still wins: it is the caller\n saying what resolution they schedule at. */\n const effectiveHourStep =\n fitUnit === \"hour\" && hourStep === undefined && fitRange\n ? ganttFitHourStep(fitRange.end.getTime() - fitRange.start.getTime())\n : hourStep;\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n const anchoredRange = React.useMemo(() => ganttRange(anchoredView, anchor), [anchoredView, anchorTime]);\n /* Continuous: the whole plan at this zoom. It only CHANGES when the anchor\n leaves the plan or the range is capped: Previous / Next / Today otherwise\n scroll, they do not swap the window. */\n const planStart = plan?.start.getTime();\n const planEnd = plan?.end.getTime();\n const continuousRange = React.useMemo(\n () => (continuous ? ganttContinuousRange(anchoredView, plan ?? null, anchor) : null),\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [continuous, anchoredView, planStart, planEnd, anchorTime],\n );\n const range = fitRange ?? continuousRange?.range ?? anchoredRange;\n\n const columns = React.useMemo(\n () =>\n fitRange && fitUnit\n ? ganttRangeColumns(fitRange, fitUnit, { now, calendar, hourStep: effectiveHourStep, grouped })\n : continuousRange\n ? ganttRangeColumns(continuousRange.range, ganttViewUnit(anchoredView), { now, calendar, hourStep, grouped })\n : ganttColumns(anchoredView, anchor, { now, calendar, hourStep, grouped, monthUnit }),\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [fitRange, fitUnit, anchoredView, anchorTime, nowTime, calendar, effectiveHourStep, grouped, continuousRange, monthUnit],\n );\n\n /* Two numbers, not one, and the pane negotiates against the SMALLER.\n \n `floorAxis` is the narrowest the axis survives at; `ceilingAxis` is the\n widest it will take. Fit has no ceiling — it spends whatever is left, which\n is what \"the whole plan without scrolling\" means. An anchored view's\n ceiling is its comfortable width and it will SHRINK below that rather than\n scroll, but never grow above it: stretching a week view to the window would\n make \"how long is that bar\" a question about the browser.\n \n Shedding pane columns against the floor rather than the ceiling is what\n lets a year axis at 1292px keep all four columns at 71px per month instead\n of losing two to buy 80px per month. Order matters: shrink first, shed only\n when even the floor will not fit. */\n // A continuous axis scrolls, so the pane negotiates only against a usable\n // viewport, not against the whole plan's width.\n const floorAxis = continuous\n ? MIN_AXIS_PX\n : columnWidth !== undefined\n ? columns.length * columnWidth\n : fitUnit\n ? columns.length * FIT_MIN_COLUMN_PX[fitUnit]\n : monthWeeks\n ? columns.length * MONTH_WEEK_PX.min\n : columns.length * MIN_COLUMN_PX[anchoredView];\n const ceilingAxis =\n columnWidth !== undefined\n ? columns.length * columnWidth\n : fitUnit\n ? Number.POSITIVE_INFINITY\n : monthWeeks\n ? columns.length * MONTH_WEEK_PX.max\n : columns.length * COLUMN_PX[anchoredView];\n\n const widths = React.useMemo(() => {\n const map: Record<string, number> = {};\n for (const column of paneColumns) map[column.key] = column.width;\n return map;\n }, [paneColumns]);\n const requestedKey = paneColumns.map((c) => c.key).join(\",\");\n const paneKeys = React.useMemo(\n () =>\n ganttPaneColumns(\n paneColumns.map((c) => c.key),\n widths,\n available,\n Math.max(MIN_AXIS_PX, floorAxis),\n ),\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [requestedKey, widths, available, floorAxis],\n );\n const paneWidth = paneKeys.reduce((sum, key) => sum + (widths[key] ?? 0), 0);\n\n /* Whatever the pane left over, clamped between the two. Below `floorAxis` the\n labels stop being labels and scrolling is the better failure; above\n `ceilingAxis` an anchored view would be stretching.\n \n UNMEASURED is not zero-width, here as in the pane: with no measurement an\n anchored view takes its comfortable width — exactly what it did before any\n of this existed — and a fit view takes its floor. `useLayoutEffect` measures\n before paint, so this only decides what a DOM-less render produces. */\n // Continuous: each column at the zoom's width; a short plan still fills the viewport.\n const naturalContinuous = columns.length * (columnWidth ?? COLUMN_PX[anchoredView]);\n const axisWidth = continuous\n ? available > 0\n ? Math.max(naturalContinuous, available - paneWidth)\n : naturalContinuous\n : available > 0\n ? Math.min(ceilingAxis, Math.max(floorAxis, available - paneWidth))\n : Number.isFinite(ceilingAxis)\n ? ceilingAxis\n : floorAxis;\n\n /* Per column, from its own duration — NOT axisWidth / columns.length. A year\n of 28-to-31-day months drawn at one uniform width walks every bar off its\n gridline by up to three days, and looks entirely reasonable doing it. */\n const columnWidths = React.useMemo(\n () => ganttColumnWidths(columns, range, axisWidth),\n [columns, range, axisWidth],\n );\n\n /* Splitting a bar is a GEOMETRY decision, not a data one: a gap that would\n draw narrower than a pixel is not worth a second DOM node, and at a year\n zoom that is every gap. */\n const minGapMs = React.useMemo(\n () => (axisWidth > 0 ? (range.end.getTime() - range.start.getTime()) / axisWidth : 0),\n [range, axisWidth],\n );\n\n const unit: GanttColumnUnit = fitUnit ?? (monthWeeks ? \"week\" : ganttViewUnit(anchoredView));\n\n const clamped = continuousRange?.clamped ?? false;\n\n return { range, columns, columnWidths, axisWidth, paneWidth, isFit, unit, continuous, clamped, minGapMs, paneKeys };\n}\n\n/**\n * The scroller's measurements, and the callback that refreshes them.\n *\n * Layout, not passive: the pane's columns and the fit axis's width are both\n * computed FROM this, so reading it after paint would draw a four-column pane\n * and a floor-width axis for one frame and then replace them.\n */\nexport function useScrollerMetrics(ref: React.RefObject<HTMLDivElement | null>) {\n /* `height` is seeded with the scroller's own max height rather than 0. At 0\n the first paint mounts only the overscan and then visibly fills in a frame\n later. `width` is seeded at 0, meaning UNMEASURED — which the pane reads as\n \"keep every column\" rather than as a zero-width container. */\n // `left`: horizontal scroll, LOGICAL (Chrome's RTL scrollLeft is negative).\n const [metrics, setMetrics] = React.useState({ top: 0, height: SCROLLER_MAX_PX, width: 0, left: 0 });\n\n const measure = React.useCallback(() => {\n const el = ref.current;\n if (!el) return;\n const left = Math.abs(el.scrollLeft);\n setMetrics((prev) =>\n prev.top === el.scrollTop && prev.height === el.clientHeight && prev.width === el.clientWidth && prev.left === left\n ? prev\n : { top: el.scrollTop, height: el.clientHeight, width: el.clientWidth, left },\n );\n }, [ref]);\n\n React.useLayoutEffect(() => {\n const el = ref.current;\n if (!el) return;\n /* Coalesced into one frame. A wheel gesture fires scroll far faster than\n React can render, and setState per event turns a smooth scroll into a\n queue of renders that arrive after the user has stopped. */\n let frame = 0;\n const read = () => {\n frame = 0;\n measure();\n };\n const onScroll = () => {\n if (frame === 0) frame = requestAnimationFrame(read);\n };\n el.addEventListener(\"scroll\", onScroll, { passive: true });\n const observer = new ResizeObserver(onScroll);\n observer.observe(el);\n return () => {\n if (frame !== 0) cancelAnimationFrame(frame);\n el.removeEventListener(\"scroll\", onScroll);\n observer.disconnect();\n };\n }, [ref, measure]);\n\n /* Every commit, deliberately without a dependency list. A ResizeObserver\n watches the BORDER box, which does not move when a vertical scrollbar\n appears inside it — but `clientWidth` drops by the scrollbar's width, and\n the fit axis is sized from `clientWidth`. Expanding a phase past a\n screenful would otherwise leave the axis ~15px too wide and trade the\n vertical scrollbar for a horizontal one. `measure` bails when nothing\n changed, so this cannot loop. */\n React.useLayoutEffect(measure);\n\n return { metrics, setMetrics, measure };\n}\n\nexport function ScheduleGrid<R extends ScheduleRowShape>({\n rows,\n rowId,\n columns: paneColumns,\n colCount,\n timelineColIndex,\n renderTrack,\n rowHeight = ROW_PX,\n rowClass,\n maxBodyHeight,\n headerClassName,\n headerGroups,\n renderFooter,\n view,\n anchor,\n now,\n connectors,\n connectorAccent,\n connectorStyle,\n views,\n hideToolbar,\n legend,\n onViewChange,\n onDateChange,\n onToggle,\n onActivate,\n ariaLabel,\n className,\n scrollerRef,\n axis,\n metrics,\n setMetrics,\n}: ScheduleGridProps<R> & {\n /** Owned by the caller, because the caller measures it to resolve the axis. */\n scrollerRef: React.RefObject<HTMLDivElement | null>;\n axis: ScheduleAxis & { paneKeys: string[] };\n metrics: { top: number; height: number; width: number; left: number };\n setMetrics: React.Dispatch<React.SetStateAction<{ top: number; height: number; width: number; left: number }>>;\n}) {\n const loc = useLocale();\n const { range, columns, columnWidths, axisWidth, paneWidth, isFit, paneKeys } = axis;\n /* The header's height, read by everything that has to clear it: the sticky\n row itself, scrolling a row into view, and the keyboard's page size. */\n const headerPx = HEADER_PX + (headerGroups ? GROUP_PX : 0);\n const groups = React.useMemo(\n () => (headerGroups ? ganttHeaderGroups(columns, axis.unit) : []),\n [headerGroups, columns, axis.unit],\n );\n /** A group's width: the sum of its columns', so it lines up to the pixel. */\n const groupWidth = (g: GanttHeaderGroup) =>\n columnWidths.slice(g.firstColumn, g.firstColumn + g.columnCount).reduce((a, b) => a + b, 0);\n /* \"July 2026\" where it fits, \"Jul\" where it does not: two narrow days of June\n at the start of a week truncated \"June 2026\" to \"Ju…\", which names no month\n at all. Estimated (about 7px a character at text-xs, plus the padding)\n rather than measured, so the choice is stable and costs no layout read;\n the truncation stays as the last resort. */\n const groupLabel = (g: GanttHeaderGroup) => (groupWidth(g) >= g.label.length * 7 + 16 ? g.label : g.shortLabel);\n /** The per-column header cells: label, and the sublabel when there is one. */\n /* Only the columns near the viewport are drawn on a continuous axis: an hourly\n zoom over six weeks is about a thousand columns, and every mounted row\n drawing all of them is tens of thousands of nodes. One viewport of overscan\n each side keeps a fast scroll from showing bare rows. */\n const viewportPx = Math.max(0, metrics.width - paneWidth);\n const columnWindow = React.useMemo(\n () => (axis.continuous ? ganttColumnWindow(columnWidths, metrics.left, viewportPx, Math.max(viewportPx, 400)) : null),\n [axis.continuous, columnWidths, metrics.left, viewportPx],\n );\n const headerCell = (column: PlanningColumn, width: number, offset?: number) => (\n <div\n key={column.start.getTime()}\n className={cn(\n \"zen-flex zen-shrink-0 zen-flex-col zen-items-center zen-justify-center zen-overflow-hidden zen-border-e zen-border-zen-border last:zen-border-e-0\",\n offset !== undefined && \"zen-absolute zen-inset-y-0\",\n column.nonWorking && \"zen-bg-zen-muted\",\n column.today && \"zen-bg-zen-primary-soft\",\n )}\n style={offset !== undefined ? { width, insetInlineStart: offset } : { width }}\n >\n <span className=\"zen-text-xs zen-font-medium zen-text-zen-foreground\">\n {column.label}\n </span>\n {column.sublabel && (\n <span className=\"zen-[font-size:var(--zen-schedule-label-font-size)] zen-text-zen-muted-fg\">{column.sublabel}</span>\n )}\n </div>\n );\n const axisCells = columnWindow ? (\n // Windowed: positioned cells in a full-width box, so the header still spans\n // the whole axis and lines up with the rows below it.\n <div data-schedule-windowed=\"\" className=\"zen-relative zen-h-full zen-w-full\">\n {columnWindow.offsets.map((offset, k) => {\n const i = columnWindow.first + k;\n return headerCell(columns[i], columnWidths[i], offset);\n })}\n </div>\n ) : (\n columns.map((column, i) => headerCell(column, columnWidths[i]))\n );\n /* Narrowed from `view` rather than from `axis.isFit`, so the compiler can see\n that \"fit\" cannot reach an anchored function. That refusal is the whole\n point of the two view types. */\n const anchoredView: GanttAnchoredView = view === \"fit\" ? \"month\" : view;\n\n /* ---- continuous axis: scrolled, not paged --------------------------------- */\n const offsetOf = (t: Date) => (axis.minGapMs > 0 ? (t.getTime() - range.start.getTime()) / axis.minGapMs : 0);\n /** The instant under the middle of the visible axis. What the title names. */\n const centreTime = new Date(range.start.getTime() + (metrics.left + viewportPx / 2) * axis.minGapMs);\n /** Where Previous / Next step from: the middle of the screen when continuous. */\n const stepFrom = axis.continuous ? centreTime : anchor;\n /* Bring the anchor's period to the inline start whenever the ANCHOR, the view\n or the range changes: that is what Previous / Next / Today and a zoom\n change all come down to. Keyed, so the user's own scrolling (which changes\n none of them) is never fought. Waits for the first measurement. */\n const scrolledFor = React.useRef(\"\");\n const scrollKey = `${view}|${anchor.getTime()}|${range.start.getTime()}|${range.end.getTime()}`;\n React.useEffect(() => {\n if (!axis.continuous || metrics.width === 0 || scrolledFor.current === scrollKey) return;\n scrolledFor.current = scrollKey;\n const target = offsetOf(ganttRange(anchoredView, anchor).start);\n const frame = requestAnimationFrame(() => {\n const el = scrollerRef.current;\n if (!el) return;\n const x = Math.max(0, target);\n el.scrollLeft = getComputedStyle(el).direction === \"rtl\" ? -x : x;\n });\n return () => cancelAnimationFrame(frame);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [axis.continuous, metrics.width > 0, scrollKey]);\n\n /* ---- the sideways scrollbar, kept to the axis ------------------------------ */\n /* One scroller means one native scrollbar, and it runs the scroller's whole\n width — under the frozen pane too, where it promises a pane that scrolls\n and then does not move it. The thumb's travel also reads against a track\n longer than the thing it scrolls.\n\n So a second scrollbar is laid exactly OVER the native one: blank under the\n pane, and a real scrollbar under the axis whose content is the axis' width.\n Both have the same scroll range (pane + axis - viewport on one side, axis -\n (viewport - pane) on the other), so `scrollLeft` copies across unscaled and\n under RTL keeps whatever sign the browser gives it.\n\n Over, not instead of: nothing is hidden or clipped, so the layout is the\n one it always was. Where scrollbars take no room (macOS, touch) the\n measured thickness is 0, nothing is drawn, and the native overlay bar is\n left alone. */\n const [bars, setBars] = React.useState({ x: 0, y: 0, edge: 0 });\n /* Every commit, like `measure`: a scrollbar appears and goes with the rows\n and the axis, not with anything a dependency list could name. Bails when\n nothing changed, so it cannot loop — which is the chain the rule warns of. */\n // eslint-disable-next-line react-hooks/exhaustive-deps\n React.useLayoutEffect(() => {\n const el = scrollerRef.current;\n if (!el) return;\n const edge = el.clientTop;\n const x = Math.max(0, el.offsetHeight - el.clientHeight - edge * 2);\n const y = Math.max(0, el.offsetWidth - el.clientWidth - edge * 2);\n setBars((prev) => (prev.x === x && prev.y === y && prev.edge === edge ? prev : { x, y, edge }));\n });\n const axisBar = bars.x > 0 && paneWidth > 0 && viewportPx > 0;\n const axisBarRef = React.useRef<HTMLDivElement | null>(null);\n /* Compared before it is written: an equal write fires no scroll event, and\n that is the whole of what stops the two from answering each other. */\n const copyScroll = (from: HTMLElement | null, to: HTMLElement | null) => {\n if (from && to && Math.abs(to.scrollLeft - from.scrollLeft) >= 1) to.scrollLeft = from.scrollLeft;\n };\n React.useEffect(() => {\n const el = scrollerRef.current;\n if (!axisBar || !el) return;\n const follow = () => copyScroll(el, axisBarRef.current);\n el.addEventListener(\"scroll\", follow, { passive: true });\n return () => el.removeEventListener(\"scroll\", follow);\n }, [axisBar, scrollerRef]);\n /* The bar mounts, or its range changes, with the chart already scrolled. */\n React.useLayoutEffect(() => {\n if (axisBar) copyScroll(scrollerRef.current, axisBarRef.current);\n }, [axisBar, axisWidth, metrics.width, scrollerRef]);\n\n const marker = nowPct(range, now);\n const bodyHeight = rows.length * rowHeight;\n\n const visibleColumns = React.useMemo(\n () => paneKeys.map((key) => paneColumns.find((c) => c.key === key)!).filter(Boolean),\n [paneKeys, paneColumns],\n );\n const cellCount = visibleColumns.length + 1;\n\n /* Which rows actually go in the DOM. Always on: a threshold would mean the\n windowed path is the one no demo and no check ever runs, and production is\n the first thing to try it. Below a screenful the window covers every row,\n so small plans render exactly as they did. */\n const rowWindow = ganttRowWindow(rows.length, rowHeight, metrics.top, metrics.height);\n const visibleRows = rows.slice(rowWindow.startIndex, rowWindow.endIndex);\n\n /* The connector layer is memoized as an ELEMENT, not just as data. It is one\n SVG of up to several thousand paths, it does not depend on scroll, and\n without this React reconciles every one of those nodes on each scroll frame\n — measured at 13ms per frame of pure diffing for 3,000 links. It is\n deliberately NOT windowed: a link between two off-screen tasks still routes\n through the visible band, and culling it would blink connectors in and out\n as their endpoints scrolled away. */\n const connectorLayer = React.useMemo(() => {\n if (!connectors || connectors.length === 0) return null;\n return (\n /* Mirrored under RTL rather than recomputed: the bars are placed with\n logical inset properties, so the axis is already flipped and the routes\n have to flip with it — arrowheads included. */\n <svg\n aria-hidden=\"true\"\n className=\"zen-pointer-events-none zen-absolute zen-top-0 zen-z-10 rtl:-zen-scale-x-100\"\n width={axisWidth}\n height={bodyHeight}\n viewBox={`0 0 ${axisWidth} ${bodyHeight}`}\n style={{ insetInlineStart: paneWidth }}\n >\n {connectors.map((connector) => {\n /* zen-stroke-* / zen-fill-* generate nothing under this preset — the\n token has to be named directly. */\n const accented = connectorAccent?.(connector) ?? false;\n const styled = connectorStyle?.(connector);\n /* A broken link stays red whatever its kind: that is the one arrow\n the reader has to act on. Its dash survives, so it still says\n which kind it was. */\n const tone = accented\n ? \"var(--zen-color-error)\"\n : (styled?.color ?? \"var(--zen-color-muted-fg)\");\n return (\n <g key={connector.id}>\n <path\n d={connector.d}\n fill=\"none\"\n stroke={tone}\n strokeDasharray={styled?.dash}\n /* Thicker as well as red: colour alone is not a signal, and a\n red line on a chart that already uses red for delay needs a\n second channel to be read as \"this link is broken\". */\n strokeWidth={accented ? 2.25 : 1.5}\n />\n <polygon\n points={[\n `${connector.arrow.x},${connector.arrow.y}`,\n `${connector.arrow.x - connector.arrow.dir * ARROW_PX * 1.6},${connector.arrow.y - ARROW_PX}`,\n `${connector.arrow.x - connector.arrow.dir * ARROW_PX * 1.6},${connector.arrow.y + ARROW_PX}`,\n ].join(\" \")}\n fill={tone}\n />\n </g>\n );\n })}\n </svg>\n );\n }, [connectors, connectorAccent, connectorStyle, axisWidth, bodyHeight, paneWidth]);\n\n /* ------------------------------------------------------------------ *\n * Keyboard: one tab stop, APG grid navigation inside.\n *\n * Tab-through-the-bars is not a navigation model at 10,000 rows — it is\n * 10,000 tab stops between the reader and whatever comes after the chart.\n * Roving tabindex fixes both halves: exactly one cell is tabbable, and the\n * arrows do the moving.\n * ------------------------------------------------------------------ */\n const [active, setActive] = React.useState({ row: 0, col: 0 });\n const activeRow = Math.min(Math.max(active.row, 0), Math.max(rows.length - 1, 0));\n const activeCol = Math.min(Math.max(active.col, 0), cellCount - 1);\n\n /* The tab stop follows the VIEWPORT when the active row has been scrolled out\n of the window. Anchoring it to the active row instead would leave no cell\n with tabindex 0 at all — the row is not in the DOM — and Tab would skip the\n entire chart, which is a worse regression than the one this replaces. */\n const tabRow = Math.min(Math.max(activeRow, rowWindow.startIndex), Math.max(rowWindow.endIndex - 1, 0));\n\n /* Set when WE move focus, so the layout effect below knows the difference\n between \"the row we asked for has finally mounted\" and \"the user scrolled\n away from a focused cell\". */\n const pendingFocusRef = React.useRef<{ row: number; col: number } | null>(null);\n /* Whether focus has ever been inside the chart. Recorded from the event\n rather than from an effect: focusing a cell changes no React state, so no\n effect runs to notice it, and the rescue below would still think focus was\n outside when the row unmounts. */\n const hadFocusRef = React.useRef(false);\n\n /* Bails on an unchanged position, so re-focusing the cell we just moved to\n does not queue a render whose only effect is to allocate a new object. */\n const focusCell = React.useCallback((row: number, col: number) => {\n setActive((prev) => (prev.row === row && prev.col === col ? prev : { row, col }));\n }, []);\n\n const scrollRowIntoView = (rowIndex: number) => {\n const el = scrollerRef.current;\n if (!el) return;\n /* The header is sticky and covers the top headerPx of the viewport, so a\n row scrolled flush to the top is a row hidden behind the column titles. */\n const rowTop = headerPx + rowIndex * rowHeight;\n const upper = rowTop - headerPx;\n const lower = rowTop + rowHeight - el.clientHeight;\n const next = Math.max(0, Math.min(Math.max(el.scrollTop, lower), upper));\n if (next === el.scrollTop) return;\n el.scrollTop = next;\n /* Pushed into state in the same commit rather than waiting for the scroll\n event's rAF: the row has to be in the window on THIS render, or the\n effect that focuses it finds nothing and focus stays where it was. */\n setMetrics((prev) => (prev.top === next ? prev : { ...prev, top: next }));\n };\n\n const moveTo = (row: number, col: number) => {\n setActive({ row, col });\n pendingFocusRef.current = { row, col };\n scrollRowIntoView(row);\n };\n\n React.useLayoutEffect(() => {\n const pending = pendingFocusRef.current;\n const el = scrollerRef.current;\n if (!pending || !el) return;\n const cell = el.querySelector<HTMLElement>(`[data-gantt-cell=\"${pending.row}:${pending.col}\"]`);\n // Not mounted yet — stay pending, and the next commit will find it.\n if (!cell) return;\n pendingFocusRef.current = null;\n hadFocusRef.current = true;\n /* preventScroll, then adjusted by hand. The browser's own scrolling would\n drag the timeline cell — which is the whole axis wide — fully into view,\n jumping the axis to a place nobody asked for. */\n cell.focus({ preventScroll: true });\n\n /* Sideways, from rects rather than from offsets, so RTL needs no special\n case: the pane is at the INLINE start in both directions and a relative\n `scrollLeft` nudge in physical pixels means the same thing under either\n of the browsers' two RTL scrollLeft conventions. The bar, not the cell —\n the cell spans the entire axis, so \"bring the cell into view\" is\n satisfied by any scroll position at all. */\n const bar = cell.querySelector<HTMLElement>(\"[data-gantt-bar]\");\n if (!bar) return;\n const box = bar.getBoundingClientRect();\n const viewport = el.getBoundingClientRect();\n const rtl = getComputedStyle(el).direction === \"rtl\";\n const minX = rtl ? viewport.left : viewport.left + paneWidth;\n const maxX = rtl ? viewport.right - paneWidth : viewport.right;\n if (box.left < minX) el.scrollLeft -= minX - box.left;\n else if (box.right > maxX) el.scrollLeft += Math.min(box.right - maxX, box.left - minX);\n });\n\n const onGridKeyDown = (event: React.KeyboardEvent<HTMLDivElement>) => {\n if (event.altKey || event.metaKey) return;\n const el = scrollerRef.current;\n /* Arrow keys follow the VISUAL direction, which is what APG specifies and\n what a reader expects from the key with an arrow drawn on it. */\n const rtl = el ? getComputedStyle(el).direction === \"rtl\" : false;\n const forward = rtl ? \"ArrowLeft\" : \"ArrowRight\";\n const backward = rtl ? \"ArrowRight\" : \"ArrowLeft\";\n /* A screenful of rows, minus the header the sticky row covers. At least\n one, so a chart shorter than its own header still moves. */\n const page = Math.max(1, Math.floor((metrics.height - headerPx) / rowHeight));\n const last = rows.length - 1;\n const row = rows[activeRow];\n\n let nextRow = activeRow;\n let nextCol = activeCol;\n\n switch (event.key) {\n case \"ArrowDown\":\n nextRow = Math.min(last, activeRow + 1);\n break;\n case \"ArrowUp\":\n nextRow = Math.max(0, activeRow - 1);\n break;\n case forward:\n /* On the first column, forward EXPANDS a closed parent rather than\n moving — the treegrid pattern, and the only way to open a subtree\n without a pointer. It moves as usual once there is nothing to open. */\n if (activeCol === 0 && row?.hasChildren && !row.expanded) {\n event.preventDefault();\n onToggle(row);\n return;\n }\n nextCol = Math.min(cellCount - 1, activeCol + 1);\n break;\n case backward:\n if (activeCol === 0 && row?.hasChildren && row.expanded) {\n event.preventDefault();\n onToggle(row);\n return;\n }\n nextCol = Math.max(0, activeCol - 1);\n break;\n case \"Home\":\n nextCol = 0;\n if (event.ctrlKey) nextRow = 0;\n break;\n case \"End\":\n nextCol = cellCount - 1;\n if (event.ctrlKey) nextRow = last;\n break;\n case \"PageDown\":\n nextRow = Math.min(last, activeRow + page);\n break;\n case \"PageUp\":\n nextRow = Math.max(0, activeRow - page);\n break;\n case \"Enter\":\n case \" \":\n event.preventDefault();\n if (row) onActivate?.(row);\n return;\n default:\n return;\n }\n\n // Swallowed even when the move is a no-op at an edge, or ArrowDown on the\n // last row scrolls the PAGE while the chart appears to ignore it.\n event.preventDefault();\n if (nextRow === activeRow && nextCol === activeCol) return;\n moveTo(nextRow, nextCol);\n };\n\n /* Focus rescue. Scrolling a focused cell out of the window unmounts it and\n the browser drops focus to <body> — so the next Tab restarts from the top\n of the PAGE, stranding a keyboard user who was reading row 4,000. This puts\n focus on the scroller instead: still inside the chart, still scrolled where\n they left it, and Tab continues from there, into the cell the roving\n tabindex has meanwhile moved to the visible band.\n Deliberately NOT \"keep the focused row mounted\": that row can be thousands\n of rows from the window, and mounting the span between them is the exact\n thing windowing exists to avoid. */\n React.useEffect(() => {\n const el = scrollerRef.current;\n if (!el) return;\n // A move of ours is mid-flight; the effect above owns focus this commit.\n if (pendingFocusRef.current) return;\n if (el.contains(document.activeElement)) return;\n /* Only rescue when focus fell to <body>, which is what unmounting the\n focused node does. If it went to some other element the user moved it\n deliberately and stealing it back would be worse than the problem. */\n if (hadFocusRef.current && document.activeElement === document.body) {\n el.focus({ preventScroll: true });\n return;\n }\n hadFocusRef.current = false;\n }, [rowWindow.startIndex, rowWindow.endIndex, scrollerRef]);\n\n return (\n /* Positioned only so the axis scrollbar can be pinned to the foot of the\n scroller, which is always the last thing in here. A sibling of the\n scroller rather than a wrapper around it: the scroller stays the grid's\n parent and the toolbar's next sibling, which is how callers find it. */\n <div className={cn(\"zen-relative zen-flex zen-w-full zen-flex-col zen-gap-3\", className)}>\n {!hideToolbar && (\n <div className=\"zen-flex zen-flex-wrap zen-items-center zen-gap-2\">\n {/* GONE under fit, not disabled and not left live. A fit axis has no\n anchor to move, so Previous, Today and Next have nothing to\n change — and three buttons that visibly do nothing are read as a\n broken chart, which is worse than three buttons that are not\n there. The range label stays: it is the one thing that still\n says something, and it says it about the plan instead. */}\n {!isFit && (\n <>\n <Button\n variant=\"outline\"\n size=\"sm\"\n aria-label={loc.t(\"scheduleGrid.previous\")}\n /* Continuous: a period back from what is ON SCREEN, not from an\n anchor the user may have scrolled a month away from. */\n onClick={() => onDateChange(shiftGanttAnchor(anchoredView, stepFrom, -1))}\n >\n {/* Logical, not physical: under RTL the axis runs the other way. */}\n <Icon name=\"chevron-left\" size={14} className=\"rtl:zen-rotate-180\" />\n </Button>\n <Button variant=\"outline\" size=\"sm\" onClick={() => onDateChange(now)}>\n {loc.t(\"scheduleGrid.today\")}\n </Button>\n <Button\n variant=\"outline\"\n size=\"sm\"\n aria-label={loc.t(\"scheduleGrid.next\")}\n onClick={() => onDateChange(shiftGanttAnchor(anchoredView, stepFrom, 1))}\n >\n <Icon name=\"chevron-right\" size={14} className=\"rtl:zen-rotate-180\" />\n </Button>\n </>\n )}\n\n <span\n /* \"29 Jun – 31 Jul 2026\" opens with a number, and bidi reorders a\n leading number to the far side of an RTL run — it renders as\n \"Jun – 31 Jul 2026 29\". `auto` rather than `ltr` because the\n month names come from `toLocaleString`: under an Arabic locale\n the label really is RTL, and pinning it would break the case\n that is actually right. */\n dir=\"auto\"\n className=\"zen-mx-1 zen-text-sm zen-font-medium zen-text-zen-foreground\"\n >\n {isFit ? ganttSpanLabel(range) : ganttRangeLabel(anchoredView, axis.continuous ? centreTime : anchor)}\n </span>\n\n <div className=\"zen-ms-auto zen-flex zen-gap-1\" role=\"group\" aria-label={loc.t(\"scheduleGrid.view\")}>\n {(views ?? ALL_VIEWS).map((v) => (\n <Button\n key={v}\n variant={view === v ? \"solid\" : \"outline\"}\n size=\"sm\"\n aria-pressed={view === v}\n onClick={() => {\n /* A continuous zoom change re-anchors to the middle of what is\n on screen first, so zooming keeps the reader's place. */\n if (axis.continuous && v !== \"fit\") onDateChange(centreTime);\n onViewChange(v);\n }}\n >\n {loc.t(VIEW_LABEL[v])}\n </Button>\n ))}\n </div>\n </div>\n )}\n\n {/* Its own row, not squeezed into the toolbar: a key of five or six\n entries beside the view switcher wrapped the switcher onto a line of\n its own at ordinary widths. */}\n {legend}\n\n {/* ONE scroller. The frozen pane is sticky at the inline start and the\n header sticky at the top, so vertical scroll moves both panes and\n horizontal scroll moves only the axis — with no scroll listener to\n fall out of sync. */}\n <div\n ref={scrollerRef}\n /* Focusable so the focus rescue has somewhere to land, and so a\n keyboard user can scroll the chart without first tabbing to a cell. */\n tabIndex={-1}\n onFocus={() => {\n hadFocusRef.current = true;\n }}\n className={cn(\n \"zen-relative zen-overflow-auto zen-rounded-zen-md zen-border zen-border-zen-border focus-visible:zen-outline-none\",\n maxBodyHeight === undefined && \"zen-max-h-[32rem]\",\n )}\n style={maxBodyHeight === undefined ? undefined : { maxHeight: maxBodyHeight }}\n >\n <div\n style={{ width: paneWidth + axisWidth }}\n /* treegrid, not grid: the rows form a tree, and that is what makes\n left and right on the first column mean collapse and expand\n rather than nothing. `aria-level` and `aria-expanded` on each row\n are the other half of the same claim. */\n role=\"treegrid\"\n /* The TRUE totals, not the windowed ones. This is the whole reason\n a virtualized grid needs explicit row semantics: without them a\n screen reader counts the DOM and announces \"row 3 of 26\" in a\n 10,000-row plan. +1 for the header row. `aria-colcount` does not\n shrink when the pane sheds a column — see ScheduleColumn.colIndex. */\n aria-rowcount={rows.length + 1}\n aria-colcount={colCount}\n aria-label={ariaLabel}\n onKeyDown={onGridKeyDown}\n >\n <div\n role=\"row\"\n aria-rowindex={1}\n className={cn(\"zen-sticky zen-top-0 zen-z-30 zen-flex zen-border-b zen-border-zen-border zen-bg-zen-muted\", headerClassName)}\n style={{ height: headerPx, boxSizing: \"border-box\" }}\n >\n <div\n className={cn(\n \"zen-sticky zen-z-40 zen-flex zen-shrink-0 zen-items-center zen-border-e zen-border-zen-border zen-bg-zen-muted zen-text-xs zen-font-semibold zen-text-zen-muted-fg\",\n headerClassName,\n )}\n style={{ width: paneWidth, insetInlineStart: 0 }}\n >\n {visibleColumns.map((column) => (\n <div\n key={column.key}\n role=\"columnheader\"\n aria-colindex={column.colIndex}\n className={cn(\"zen-truncate\", column.className ?? \"zen-px-2\")}\n style={{ width: column.width }}\n >\n {column.label}\n </div>\n ))}\n </div>\n\n <div\n role=\"columnheader\"\n aria-colindex={timelineColIndex}\n aria-label={loc.t(\"scheduleGrid.timeline\")}\n className={headerGroups ? \"zen-flex zen-flex-col\" : \"zen-flex\"}\n style={{ width: axisWidth }}\n >\n {/* Without groups the cells are the header's direct children,\n exactly as before; with them, the group row sits above and the\n cells move into a marked row of their own. */}\n {headerGroups ? (\n <>\n {/* aria-hidden: the column labels and the toolbar's range title\n already say the date to a screen reader. */}\n <div\n aria-hidden=\"true\"\n data-schedule-groups=\"\"\n className=\"zen-flex zen-shrink-0 zen-border-b zen-border-zen-border\"\n style={{ height: GROUP_PX, boxSizing: \"border-box\" }}\n >\n {groups.map((g) => (\n /* No overflow clipping here: a clipping ancestor becomes the\n label's scroll container and `sticky` stops working. */\n <div\n key={g.start.getTime()}\n data-schedule-group=\"\"\n className=\"zen-shrink-0 zen-border-e zen-border-zen-border last:zen-border-e-0\"\n style={{ width: groupWidth(g) }}\n >\n {/* Sticky just past the frozen pane, so the month or the\n date stays on screen while its columns scroll by. */}\n <span\n className=\"zen-sticky zen-inline-block zen-max-w-full zen-truncate zen-px-2 zen-align-top zen-text-xs zen-font-semibold zen-text-zen-foreground\"\n style={{ insetInlineStart: paneWidth, lineHeight: `${GROUP_PX - 1}px` }}\n >\n {groupLabel(g)}\n </span>\n </div>\n ))}\n </div>\n <div data-schedule-axis-row=\"\" className=\"zen-flex zen-min-h-0 zen-flex-1\">\n {axisCells}\n </div>\n </>\n ) : (\n axisCells\n )}\n </div>\n </div>\n\n <div className=\"zen-relative\" style={{ height: bodyHeight }}>\n {/* Spacers stand in for the rows that are not mounted, so the\n scrollbar measures the whole plan rather than the window.\n Spacers rather than a transform on purpose: a transformed\n ancestor makes `position: sticky` resolve against IT instead\n of the scroll container, and the frozen pane would come\n unstuck the moment the window moved. */}\n {rowWindow.paddingTop > 0 && (\n <div aria-hidden=\"true\" style={{ height: rowWindow.paddingTop }} />\n )}\n {visibleRows.map((row) => (\n <ScheduleRow\n key={rowId(row)}\n row={row}\n columns={visibleColumns}\n axisColumns={columns}\n columnWidths={columnWidths}\n columnWindow={columnWindow}\n axisWidth={axisWidth}\n paneWidth={paneWidth}\n timelineColIndex={timelineColIndex}\n renderTrack={renderTrack}\n rowHeight={rowHeight}\n rowClass={rowClass?.(row)}\n /* -1 on every row but one. The grid is a single tab stop, and\n which cell holds it is the roving tabindex's whole job. */\n tabCol={row.index === tabRow ? activeCol : -1}\n onFocusCell={focusCell}\n />\n ))}\n {rowWindow.paddingBottom > 0 && (\n <div aria-hidden=\"true\" style={{ height: rowWindow.paddingBottom }} />\n )}\n\n {marker !== null && (\n <div\n aria-hidden=\"true\"\n className=\"zen-pointer-events-none zen-absolute zen-top-0 zen-z-10 zen-w-px zen-bg-zen-error\"\n style={{\n height: bodyHeight,\n insetInlineStart: paneWidth + (marker / 100) * axisWidth,\n }}\n />\n )}\n\n {connectorLayer}\n </div>\n </div>\n\n {renderFooter && (\n <div\n className=\"zen-sticky zen-bottom-0 zen-z-30 zen-flex zen-border-t zen-border-zen-border zen-bg-zen-muted\"\n style={{ width: paneWidth + axisWidth }}\n >\n {renderFooter({ columns, columnWidths, axisWidth, paneWidth })}\n </div>\n )}\n </div>\n\n {axisBar && (\n <div\n /* Decoration over a scrollbar the keyboard and a screen reader\n already have: the scroller itself is what they scroll. */\n aria-hidden=\"true\"\n data-schedule-scrollbar=\"\"\n className=\"zen-absolute zen-z-40 zen-flex zen-bg-zen-background\"\n style={{\n bottom: bars.edge,\n insetInlineStart: bars.edge,\n /* Short of the corner the vertical scrollbar ends in. */\n insetInlineEnd: bars.edge + bars.y,\n height: bars.x,\n }}\n >\n <div\n className=\"zen-shrink-0 zen-border-e zen-border-zen-border\"\n style={{ width: paneWidth, boxSizing: \"border-box\" }}\n />\n <div\n ref={axisBarRef}\n /* A scroller with nothing focusable in it is a tab stop of its own\n in Chrome, and the chart is exactly one. */\n tabIndex={-1}\n onScroll={() => copyScroll(axisBarRef.current, scrollerRef.current)}\n className=\"zen-min-w-0 zen-flex-1 zen-overflow-x-scroll zen-overflow-y-hidden\"\n >\n <div style={{ width: axisWidth, height: 1 }} />\n </div>\n </div>\n )}\n </div>\n );\n}\n\ninterface ScheduleRowProps<R extends ScheduleRowShape> {\n row: R;\n columns: ScheduleColumn<R>[];\n axisColumns: PlanningColumn[];\n columnWidths: number[];\n /** A continuous axis draws only these columns, positioned; null draws all. */\n columnWindow: { first: number; last: number; offsets: number[] } | null;\n axisWidth: number;\n paneWidth: number;\n timelineColIndex: number;\n renderTrack: (row: R, axisWidth: number) => React.ReactNode;\n /**\n * Uniform height for every row, defaulting to ROW_PX. Raise it for a chart\n * whose rows hold more than one bar; see ROW_PX for why it cannot vary\n * between rows.\n */\n rowHeight?: number;\n /**\n * A strip under the rows, aligned to the axis and stuck to the bottom of the\n * scroller — a load histogram, a capacity trace, a shift band.\n *\n * Outside the `treegrid` element rather than inside it, deliberately: a div\n * that is not a `row` inside a grid is invalid ARIA, and a fake row would be\n * counted by `aria-rowcount` and announced as data.\n */\n renderFooter?: (context: {\n columns: PlanningColumn[];\n columnWidths: number[];\n axisWidth: number;\n paneWidth: number;\n }) => React.ReactNode;\n rowClass?: string;\n /** Which cell of THIS row carries the grid's single tab stop, or -1. */\n tabCol: number;\n onFocusCell: (row: number, col: number) => void;\n}\n\nfunction ScheduleRow<R extends ScheduleRowShape>({\n row,\n columns,\n axisColumns,\n columnWindow,\n columnWidths,\n axisWidth,\n paneWidth,\n timelineColIndex,\n renderTrack,\n rowHeight,\n rowClass,\n tabCol,\n onFocusCell,\n}: ScheduleRowProps<R>) {\n const timelineCol = columns.length;\n return (\n <div\n role=\"row\"\n /* The row's TRUE position in the plan, +1 for the header. A windowed grid\n that numbers rows from the DOM tells a screen-reader user they are on\n row 3 of 26 when they are on row 4,812 of 10,000. */\n aria-rowindex={row.index + 2}\n /* treegrid semantics, and the only place the tree is stated to a screen\n reader: the indent is a paddingInlineStart nobody can hear. */\n aria-level={row.depth + 1}\n aria-expanded={row.hasChildren ? row.expanded : undefined}\n className={cn(\n \"zen-flex zen-border-b zen-border-zen-border last:zen-border-b-0\",\n /* The frozen pane is the row's CHILD, so it covers the row's content\n box and stops one pixel short of its bottom border. Whatever is drawn\n over the axis at that height then shows through the pane as it\n scrolls under: a dependency line routed along a row boundary crossed\n the whole pane, and the today marker left a dot on every rule. The\n pane redraws the rule itself, one pixel below its own box and at its\n own stacking level. Not on the last row, which has no rule to cover. */\n \"[&:not(:last-child)>div:first-child]:zen-shadow-[0_1px_0_0_var(--zen-color-border)]\",\n rowClass,\n )}\n style={{ height: rowHeight, boxSizing: \"border-box\" }}\n >\n <div\n className=\"zen-sticky zen-z-20 zen-flex zen-shrink-0 zen-items-center zen-border-e zen-border-zen-border zen-bg-zen-background\"\n style={{ width: paneWidth, insetInlineStart: 0 }}\n >\n {columns.map((column, col) => (\n <div\n key={column.key}\n role=\"gridcell\"\n aria-colindex={column.colIndex}\n /* How the keyboard finds a cell that may not have been in the DOM\n when the move was decided — see the focus effect. */\n data-gantt-cell={`${row.index}:${col}`}\n tabIndex={tabCol === col ? 0 : -1}\n onFocus={() => onFocusCell(row.index, col)}\n aria-label={column.ariaLabel?.(row)}\n className={cn(\"zen-flex zen-items-center\", column.className ?? \"zen-px-2\", CELL_FOCUS_CLASS)}\n style={{ width: column.width, ...column.style?.(row) }}\n >\n {column.render(row)}\n </div>\n ))}\n </div>\n\n <div\n role=\"gridcell\"\n aria-colindex={timelineColIndex}\n data-gantt-cell={`${row.index}:${timelineCol}`}\n tabIndex={tabCol === timelineCol ? 0 : -1}\n onFocus={() => onFocusCell(row.index, timelineCol)}\n className={cn(\"zen-relative zen-shrink-0\", CELL_FOCUS_CLASS)}\n style={{ width: axisWidth }}\n >\n {/* The column rules as a background layer rather than as parents of the\n bar: a bar spanning four days cannot live inside one day's box.\n\n On a row the caller has tinted (a rowClassName band) the shading\n turns TRANSLUCENT, so the band still shows on a weekend or on today.\n Only there: an untinted row keeps the shade it always had, because\n 40% of a pale grey over white all but disappears. color-mix rather\n than `/40`: the theme colours are bare var()s, and UnoCSS drops an\n alpha modifier on those without a word — `/40` has always come out\n fully opaque, which is the look every untinted chart has today. */}\n <div aria-hidden=\"true\" className=\"zen-absolute zen-inset-0 zen-flex\">\n {(columnWindow ? columnWindow.offsets.map((_, k) => columnWindow.first + k) : axisColumns.map((_, i) => i)).map((i) => {\n const column = axisColumns[i];\n const offset = columnWindow ? columnWindow.offsets[i - columnWindow.first] : undefined;\n return (\n <div\n key={column.start.getTime()}\n className={cn(\n \"zen-shrink-0 zen-border-e zen-border-zen-border last:zen-border-e-0\",\n offset !== undefined && \"zen-absolute zen-inset-y-0\",\n column.nonWorking &&\n (rowClass\n ? \"zen-bg-[color-mix(in_srgb,var(--zen-color-muted)_40%,transparent)]\"\n : \"zen-bg-zen-muted\"),\n column.today &&\n (rowClass\n ? \"zen-bg-[color-mix(in_srgb,var(--zen-color-primary-soft)_40%,transparent)]\"\n : \"zen-bg-zen-primary-soft\"),\n )}\n style={offset !== undefined ? { width: columnWidths[i], insetInlineStart: offset } : { width: columnWidths[i] }}\n />\n );\n })}\n </div>\n\n {renderTrack(row, axisWidth)}\n </div>\n </div>\n );\n}\n"],"names":["ROW_PX","HEADER_PX","GROUP_PX","INDENT_PX","COLUMN_PX","FIT_MIN_COLUMN_PX","MONTH_WEEK_PX","MIN_COLUMN_PX","MIN_AXIS_PX","ARROW_PX","SCROLLER_MAX_PX","CELL_FOCUS_CLASS","VIEW_LABEL","ALL_VIEWS","useScheduleAxis","options","view","anchor","fitRange","now","calendar","hourStep","columnWidth","paneColumns","available","grouped","plan","continuous","monthWeeks","monthUnit","isFit","anchoredView","anchorTime","nowTime","fitUnit","ganttFitUnit","effectiveHourStep","ganttFitHourStep","anchoredRange","React","ganttRange","planStart","planEnd","continuousRange","ganttContinuousRange","range","columns","ganttRangeColumns","ganttViewUnit","ganttColumns","floorAxis","ceilingAxis","widths","map","column","requestedKey","c","paneKeys","ganttPaneColumns","paneWidth","sum","key","naturalContinuous","axisWidth","columnWidths","ganttColumnWidths","minGapMs","unit","clamped","useScrollerMetrics","ref","metrics","setMetrics","measure","el","left","prev","frame","read","onScroll","observer","ScheduleGrid","rows","rowId","colCount","timelineColIndex","renderTrack","rowHeight","rowClass","maxBodyHeight","headerClassName","headerGroups","renderFooter","connectors","connectorAccent","connectorStyle","views","hideToolbar","legend","onViewChange","onDateChange","onToggle","onActivate","ariaLabel","className","scrollerRef","axis","loc","useLocale","headerPx","groups","ganttHeaderGroups","groupWidth","g","a","b","groupLabel","viewportPx","columnWindow","ganttColumnWindow","headerCell","width","offset","jsxs","cn","jsx","axisCells","k","i","offsetOf","t","centreTime","stepFrom","scrolledFor","scrollKey","target","x","bars","setBars","edge","y","axisBar","axisBarRef","copyScroll","from","to","follow","marker","nowPct","bodyHeight","visibleColumns","cellCount","rowWindow","ganttRowWindow","visibleRows","connectorLayer","connector","accented","styled","tone","active","setActive","activeRow","activeCol","tabRow","pendingFocusRef","hadFocusRef","focusCell","row","col","scrollRowIntoView","rowIndex","rowTop","upper","lower","next","moveTo","pending","cell","bar","box","viewport","rtl","minX","maxX","onGridKeyDown","event","forward","backward","page","last","nextRow","nextCol","Fragment","Button","shiftGanttAnchor","Icon","ganttSpanLabel","ganttRangeLabel","v","ScheduleRow","axisColumns","tabCol","onFocusCell","timelineCol","_"],"mappings":";;;;;;;;;;AA6EO,MAAMA,KAAS,IACTC,KAAY,IAEZC,KAAW,IAEXC,KAAY,IAcnBC,KAA+C;AAAA,EACnD,KAAK;AAAA,EACL,MAAM;AAAA,EACN,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA,EAKP,SAAS;AAAA,EACT,MAAM;AACR,GAcMC,KAAqD;AAAA,EACzD,MAAM;AAAA,EACN,KAAK;AAAA;AAAA;AAAA,EAGL,MAAM;AAAA,EACN,OAAO;AACT,GAcMC,KAAgB,EAAE,KAAK,IAAI,KAAK,IAAA,GAEhCC,KAAmD;AAAA,EACvD,KAAK;AAAA,EACL,MAAM;AAAA,EACN,OAAO;AAAA,EACP,SAAS;AAAA,EACT,MAAM;AACR,GAOMC,KAAc,KAGdC,KAAW,GAIXC,KAAkB,KAKlBC,KACJ,wHAEIC,KAA4C;AAAA,EAChD,KAAK;AAAA,EACL,KAAK;AAAA,EACL,MAAM;AAAA,EACN,OAAO;AAAA,EACP,SAAS;AAAA,EACT,MAAM;AACR,GAIaC,KAAyB,CAA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AA6BjH,EAAgB;AAAA,YAC3D,OAAO,EAAE,OAAOoD,EAAA;AAAA,YAYhB,UAAA;AAAA,cAAA,gBAAA8D,EAAC,OAAA,EAAI,eAAY,QAAO,WAAU,qCAC9B,eAAeP,EAAa,QAAQ,IAAI,CAACuF,GAAG9E,MAAMT,EAAa,QAAQS,CAAC,IAAI0E,EAAY,IAAI,CAACI,GAAG7E,MAAMA,CAAC,GAAG,IAAI,CAACA,MAAM;AACrH,sBAAM1E,IAASmJ,EAAYzE,CAAC,GACtBN,IAASJ,IAAeA,EAAa,QAAQU,IAAIV,EAAa,KAAK,IAAI;AAC7E,uBACE,gBAAAO;AAAA,kBAAC;AAAA,kBAAA;AAAA,oBAEC,WAAWD;AAAA,sBACT;AAAA,sBACAF,MAAW,UAAa;AAAA,sBACxBpE,EAAO,eACJkC,IACG,uEACA;AAAA,sBACNlC,EAAO,UACJkC,IACG,8EACA;AAAA,oBAAA;AAAA,oBAER,OAAOkC,MAAW,SAAY,EAAE,OAAO1D,EAAagE,CAAC,GAAG,kBAAkBN,MAAW,EAAE,OAAO1D,EAAagE,CAAC,EAAA;AAAA,kBAAE;AAAA,kBAbzG1E,EAAO,MAAM,QAAA;AAAA,gBAAQ;AAAA,cAgBhC,CAAC,EAAA,CACH;AAAA,cAECgC,EAAYkF,GAAKzG,CAAS;AAAA,YAAA;AAAA,UAAA;AAAA,QAAA;AAAA,MAC7B;AAAA,IAAA;AAAA,EAAA;AAGN;"}
|
package/dist/index258.js
ADDED
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import $ from "./index303.js";
|
|
2
|
+
import k, { memo as X, useState as U, useRef as l, useCallback as Q, useEffect as E } from "react";
|
|
3
|
+
var te = { wrapper: { display: "flex", position: "relative", textAlign: "initial" }, fullWidth: { width: "100%" }, hide: { display: "none" } }, J = te, ne = { container: { display: "flex", height: "100%", width: "100%", justifyContent: "center", alignItems: "center" } }, ie = ne;
|
|
4
|
+
function ue({ children: e }) {
|
|
5
|
+
return k.createElement("div", { style: ie.container }, e);
|
|
6
|
+
}
|
|
7
|
+
var oe = ue, ae = oe;
|
|
8
|
+
function le({ width: e, height: n, isEditorReady: u, loading: r, _ref: g, className: p, wrapperProps: v }) {
|
|
9
|
+
return k.createElement("section", { style: { ...J.wrapper, width: e, height: n }, ...v }, !u && k.createElement(ae, null, r), k.createElement("div", { ref: g, style: { ...J.fullWidth, ...!u && J.hide }, className: p }));
|
|
10
|
+
}
|
|
11
|
+
var ce = le, q = X(ce);
|
|
12
|
+
function de(e) {
|
|
13
|
+
E(e, []);
|
|
14
|
+
}
|
|
15
|
+
var K = de;
|
|
16
|
+
function se(e, n, u = !0) {
|
|
17
|
+
let r = l(!0);
|
|
18
|
+
E(r.current || !u ? () => {
|
|
19
|
+
r.current = !1;
|
|
20
|
+
} : e, n);
|
|
21
|
+
}
|
|
22
|
+
var M = se;
|
|
23
|
+
function R() {
|
|
24
|
+
}
|
|
25
|
+
function O(e, n, u, r) {
|
|
26
|
+
return fe(e, r) || ge(e, n, u, r);
|
|
27
|
+
}
|
|
28
|
+
function fe(e, n) {
|
|
29
|
+
return e.editor.getModel(ee(e, n));
|
|
30
|
+
}
|
|
31
|
+
function ge(e, n, u, r) {
|
|
32
|
+
return e.editor.createModel(n, u, r ? ee(e, r) : void 0);
|
|
33
|
+
}
|
|
34
|
+
function ee(e, n) {
|
|
35
|
+
return e.Uri.parse(n);
|
|
36
|
+
}
|
|
37
|
+
function pe({ original: e, modified: n, language: u, originalLanguage: r, modifiedLanguage: g, originalModelPath: p, modifiedModelPath: v, keepCurrentOriginalModel: L = !1, keepCurrentModifiedModel: T = !1, theme: w = "light", loading: b = "Loading...", options: m = {}, height: F = "100%", width: I = "100%", className: z, wrapperProps: H = {}, beforeMount: W = R, onMount: j = R }) {
|
|
38
|
+
let [h, y] = U(!1), [S, a] = U(!0), c = l(null), o = l(null), x = l(null), s = l(j), t = l(W), C = l(!1);
|
|
39
|
+
K(() => {
|
|
40
|
+
let i = $.init();
|
|
41
|
+
return i.then((d) => (o.current = d) && a(!1)).catch((d) => d?.type !== "cancelation" && console.error("Monaco initialization: error:", d)), () => c.current ? P() : i.cancel();
|
|
42
|
+
}), M(() => {
|
|
43
|
+
if (c.current && o.current) {
|
|
44
|
+
let i = c.current.getOriginalEditor(), d = O(o.current, e || "", r || u || "text", p || "");
|
|
45
|
+
d !== i.getModel() && i.setModel(d);
|
|
46
|
+
}
|
|
47
|
+
}, [p], h), M(() => {
|
|
48
|
+
if (c.current && o.current) {
|
|
49
|
+
let i = c.current.getModifiedEditor(), d = O(o.current, n || "", g || u || "text", v || "");
|
|
50
|
+
d !== i.getModel() && i.setModel(d);
|
|
51
|
+
}
|
|
52
|
+
}, [v], h), M(() => {
|
|
53
|
+
let i = c.current.getModifiedEditor();
|
|
54
|
+
i.getOption(o.current.editor.EditorOption.readOnly) ? i.setValue(n || "") : n !== i.getValue() && (i.executeEdits("", [{ range: i.getModel().getFullModelRange(), text: n || "", forceMoveMarkers: !0 }]), i.pushUndoStop());
|
|
55
|
+
}, [n], h), M(() => {
|
|
56
|
+
c.current?.getModel()?.original.setValue(e || "");
|
|
57
|
+
}, [e], h), M(() => {
|
|
58
|
+
let { original: i, modified: d } = c.current.getModel();
|
|
59
|
+
o.current.editor.setModelLanguage(i, r || u || "text"), o.current.editor.setModelLanguage(d, g || u || "text");
|
|
60
|
+
}, [u, r, g], h), M(() => {
|
|
61
|
+
o.current?.editor.setTheme(w);
|
|
62
|
+
}, [w], h), M(() => {
|
|
63
|
+
c.current?.updateOptions(m);
|
|
64
|
+
}, [m], h);
|
|
65
|
+
let N = Q(() => {
|
|
66
|
+
if (!o.current) return;
|
|
67
|
+
t.current(o.current);
|
|
68
|
+
let i = O(o.current, e || "", r || u || "text", p || ""), d = O(o.current, n || "", g || u || "text", v || "");
|
|
69
|
+
c.current?.setModel({ original: i, modified: d });
|
|
70
|
+
}, [u, n, g, e, r, p, v]), _ = Q(() => {
|
|
71
|
+
!C.current && x.current && (c.current = o.current.editor.createDiffEditor(x.current, { automaticLayout: !0, ...m }), N(), o.current?.editor.setTheme(w), y(!0), C.current = !0);
|
|
72
|
+
}, [m, w, N]);
|
|
73
|
+
E(() => {
|
|
74
|
+
h && s.current(c.current, o.current);
|
|
75
|
+
}, [h]), E(() => {
|
|
76
|
+
!S && !h && _();
|
|
77
|
+
}, [S, h, _]);
|
|
78
|
+
function P() {
|
|
79
|
+
let i = c.current?.getModel();
|
|
80
|
+
L || i?.original?.dispose(), T || i?.modified?.dispose(), c.current?.dispose();
|
|
81
|
+
}
|
|
82
|
+
return k.createElement(q, { width: I, height: F, isEditorReady: h, loading: b, _ref: x, className: z, wrapperProps: H });
|
|
83
|
+
}
|
|
84
|
+
var he = pe;
|
|
85
|
+
X(he);
|
|
86
|
+
function Me(e) {
|
|
87
|
+
let n = l();
|
|
88
|
+
return E(() => {
|
|
89
|
+
n.current = e;
|
|
90
|
+
}, [e]), n.current;
|
|
91
|
+
}
|
|
92
|
+
var ve = Me, D = /* @__PURE__ */ new Map();
|
|
93
|
+
function me({ defaultValue: e, defaultLanguage: n, defaultPath: u, value: r, language: g, path: p, theme: v = "light", line: L, loading: T = "Loading...", options: w = {}, overrideServices: b = {}, saveViewState: m = !0, keepCurrentModel: F = !1, width: I = "100%", height: z = "100%", className: H, wrapperProps: W = {}, beforeMount: j = R, onMount: h = R, onChange: y, onValidate: S = R }) {
|
|
94
|
+
let [a, c] = U(!1), [o, x] = U(!0), s = l(null), t = l(null), C = l(null), N = l(h), _ = l(j), P = l(), i = l(r), d = ve(p), Y = l(!1), A = l(!1);
|
|
95
|
+
K(() => {
|
|
96
|
+
let f = $.init();
|
|
97
|
+
return f.then((V) => (s.current = V) && x(!1)).catch((V) => V?.type !== "cancelation" && console.error("Monaco initialization: error:", V)), () => t.current ? re() : f.cancel();
|
|
98
|
+
}), M(() => {
|
|
99
|
+
let f = O(s.current, e || r || "", n || g || "", p || u || "");
|
|
100
|
+
f !== t.current?.getModel() && (m && D.set(d, t.current?.saveViewState()), t.current?.setModel(f), m && t.current?.restoreViewState(D.get(p)));
|
|
101
|
+
}, [p], a), M(() => {
|
|
102
|
+
t.current?.updateOptions(w);
|
|
103
|
+
}, [w], a), M(() => {
|
|
104
|
+
!t.current || r === void 0 || (t.current.getOption(s.current.editor.EditorOption.readOnly) ? t.current.setValue(r) : r !== t.current.getValue() && (A.current = !0, t.current.executeEdits("", [{ range: t.current.getModel().getFullModelRange(), text: r, forceMoveMarkers: !0 }]), t.current.pushUndoStop(), A.current = !1));
|
|
105
|
+
}, [r], a), M(() => {
|
|
106
|
+
let f = t.current?.getModel();
|
|
107
|
+
f && g && s.current?.editor.setModelLanguage(f, g);
|
|
108
|
+
}, [g], a), M(() => {
|
|
109
|
+
L !== void 0 && t.current?.revealLine(L);
|
|
110
|
+
}, [L], a), M(() => {
|
|
111
|
+
s.current?.editor.setTheme(v);
|
|
112
|
+
}, [v], a);
|
|
113
|
+
let Z = Q(() => {
|
|
114
|
+
if (!(!C.current || !s.current) && !Y.current) {
|
|
115
|
+
_.current(s.current);
|
|
116
|
+
let f = p || u, V = O(s.current, r || e || "", n || g || "", f || "");
|
|
117
|
+
t.current = s.current?.editor.create(C.current, { model: V, automaticLayout: !0, ...w }, b), m && t.current.restoreViewState(D.get(f)), s.current.editor.setTheme(v), L !== void 0 && t.current.revealLine(L), c(!0), Y.current = !0;
|
|
118
|
+
}
|
|
119
|
+
}, [e, n, u, r, g, p, w, b, m, v, L]);
|
|
120
|
+
E(() => {
|
|
121
|
+
a && N.current(t.current, s.current);
|
|
122
|
+
}, [a]), E(() => {
|
|
123
|
+
!o && !a && Z();
|
|
124
|
+
}, [o, a, Z]), i.current = r, E(() => {
|
|
125
|
+
a && y && (P.current?.dispose(), P.current = t.current?.onDidChangeModelContent((f) => {
|
|
126
|
+
A.current || y(t.current.getValue(), f);
|
|
127
|
+
}));
|
|
128
|
+
}, [a, y]), E(() => {
|
|
129
|
+
if (a) {
|
|
130
|
+
let f = s.current.editor.onDidChangeMarkers((V) => {
|
|
131
|
+
let B = t.current.getModel()?.uri;
|
|
132
|
+
if (B && V.find((G) => G.path === B.path)) {
|
|
133
|
+
let G = s.current.editor.getModelMarkers({ resource: B });
|
|
134
|
+
S?.(G);
|
|
135
|
+
}
|
|
136
|
+
});
|
|
137
|
+
return () => {
|
|
138
|
+
f?.dispose();
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
return () => {
|
|
142
|
+
};
|
|
143
|
+
}, [a, S]);
|
|
144
|
+
function re() {
|
|
145
|
+
P.current?.dispose(), F ? m && D.set(p, t.current.saveViewState()) : t.current.getModel()?.dispose(), t.current.dispose();
|
|
146
|
+
}
|
|
147
|
+
return k.createElement(q, { width: I, height: z, isEditorReady: a, loading: T, _ref: C, className: H, wrapperProps: W });
|
|
148
|
+
}
|
|
149
|
+
var we = me, Ee = X(we), Ce = Ee;
|
|
150
|
+
export {
|
|
151
|
+
Ee as Editor,
|
|
152
|
+
Ce as default,
|
|
153
|
+
$ as loader
|
|
154
|
+
};
|
|
155
|
+
//# sourceMappingURL=index258.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index258.js","sources":["../../../node_modules/.bun/@monaco-editor+react@4.7.0+2cc8d6860a7fcbed/node_modules/@monaco-editor/react/dist/index.mjs"],"sourcesContent":["import _t from\"@monaco-editor/loader\";import{memo as Te}from\"react\";import ke,{useState as re,useRef as S,useCallback as oe,useEffect as ne}from\"react\";import Se from\"@monaco-editor/loader\";import{memo as ye}from\"react\";import K from\"react\";var le={wrapper:{display:\"flex\",position:\"relative\",textAlign:\"initial\"},fullWidth:{width:\"100%\"},hide:{display:\"none\"}},v=le;import me from\"react\";var ae={container:{display:\"flex\",height:\"100%\",width:\"100%\",justifyContent:\"center\",alignItems:\"center\"}},Y=ae;function Me({children:e}){return me.createElement(\"div\",{style:Y.container},e)}var Z=Me;var $=Z;function Ee({width:e,height:r,isEditorReady:n,loading:t,_ref:a,className:m,wrapperProps:E}){return K.createElement(\"section\",{style:{...v.wrapper,width:e,height:r},...E},!n&&K.createElement($,null,t),K.createElement(\"div\",{ref:a,style:{...v.fullWidth,...!n&&v.hide},className:m}))}var ee=Ee;var H=ye(ee);import{useEffect as xe}from\"react\";function Ce(e){xe(e,[])}var k=Ce;import{useEffect as ge,useRef as Re}from\"react\";function he(e,r,n=!0){let t=Re(!0);ge(t.current||!n?()=>{t.current=!1}:e,r)}var l=he;function D(){}function h(e,r,n,t){return De(e,t)||be(e,r,n,t)}function De(e,r){return e.editor.getModel(te(e,r))}function be(e,r,n,t){return e.editor.createModel(r,n,t?te(e,t):void 0)}function te(e,r){return e.Uri.parse(r)}function Oe({original:e,modified:r,language:n,originalLanguage:t,modifiedLanguage:a,originalModelPath:m,modifiedModelPath:E,keepCurrentOriginalModel:g=!1,keepCurrentModifiedModel:N=!1,theme:x=\"light\",loading:P=\"Loading...\",options:y={},height:V=\"100%\",width:z=\"100%\",className:F,wrapperProps:j={},beforeMount:A=D,onMount:q=D}){let[M,O]=re(!1),[T,s]=re(!0),u=S(null),c=S(null),w=S(null),d=S(q),o=S(A),b=S(!1);k(()=>{let i=Se.init();return i.then(f=>(c.current=f)&&s(!1)).catch(f=>f?.type!==\"cancelation\"&&console.error(\"Monaco initialization: error:\",f)),()=>u.current?I():i.cancel()}),l(()=>{if(u.current&&c.current){let i=u.current.getOriginalEditor(),f=h(c.current,e||\"\",t||n||\"text\",m||\"\");f!==i.getModel()&&i.setModel(f)}},[m],M),l(()=>{if(u.current&&c.current){let i=u.current.getModifiedEditor(),f=h(c.current,r||\"\",a||n||\"text\",E||\"\");f!==i.getModel()&&i.setModel(f)}},[E],M),l(()=>{let i=u.current.getModifiedEditor();i.getOption(c.current.editor.EditorOption.readOnly)?i.setValue(r||\"\"):r!==i.getValue()&&(i.executeEdits(\"\",[{range:i.getModel().getFullModelRange(),text:r||\"\",forceMoveMarkers:!0}]),i.pushUndoStop())},[r],M),l(()=>{u.current?.getModel()?.original.setValue(e||\"\")},[e],M),l(()=>{let{original:i,modified:f}=u.current.getModel();c.current.editor.setModelLanguage(i,t||n||\"text\"),c.current.editor.setModelLanguage(f,a||n||\"text\")},[n,t,a],M),l(()=>{c.current?.editor.setTheme(x)},[x],M),l(()=>{u.current?.updateOptions(y)},[y],M);let L=oe(()=>{if(!c.current)return;o.current(c.current);let i=h(c.current,e||\"\",t||n||\"text\",m||\"\"),f=h(c.current,r||\"\",a||n||\"text\",E||\"\");u.current?.setModel({original:i,modified:f})},[n,r,a,e,t,m,E]),U=oe(()=>{!b.current&&w.current&&(u.current=c.current.editor.createDiffEditor(w.current,{automaticLayout:!0,...y}),L(),c.current?.editor.setTheme(x),O(!0),b.current=!0)},[y,x,L]);ne(()=>{M&&d.current(u.current,c.current)},[M]),ne(()=>{!T&&!M&&U()},[T,M,U]);function I(){let i=u.current?.getModel();g||i?.original?.dispose(),N||i?.modified?.dispose(),u.current?.dispose()}return ke.createElement(H,{width:z,height:V,isEditorReady:M,loading:P,_ref:w,className:F,wrapperProps:j})}var ie=Oe;var we=Te(ie);import{useState as Ie}from\"react\";import ce from\"@monaco-editor/loader\";function Pe(){let[e,r]=Ie(ce.__getMonacoInstance());return k(()=>{let n;return e||(n=ce.init(),n.then(t=>{r(t)})),()=>n?.cancel()}),e}var Le=Pe;import{memo as ze}from\"react\";import We,{useState as ue,useEffect as W,useRef as C,useCallback as _e}from\"react\";import Ne from\"@monaco-editor/loader\";import{useEffect as Ue,useRef as ve}from\"react\";function He(e){let r=ve();return Ue(()=>{r.current=e},[e]),r.current}var se=He;var _=new Map;function Ve({defaultValue:e,defaultLanguage:r,defaultPath:n,value:t,language:a,path:m,theme:E=\"light\",line:g,loading:N=\"Loading...\",options:x={},overrideServices:P={},saveViewState:y=!0,keepCurrentModel:V=!1,width:z=\"100%\",height:F=\"100%\",className:j,wrapperProps:A={},beforeMount:q=D,onMount:M=D,onChange:O,onValidate:T=D}){let[s,u]=ue(!1),[c,w]=ue(!0),d=C(null),o=C(null),b=C(null),L=C(M),U=C(q),I=C(),i=C(t),f=se(m),Q=C(!1),B=C(!1);k(()=>{let p=Ne.init();return p.then(R=>(d.current=R)&&w(!1)).catch(R=>R?.type!==\"cancelation\"&&console.error(\"Monaco initialization: error:\",R)),()=>o.current?pe():p.cancel()}),l(()=>{let p=h(d.current,e||t||\"\",r||a||\"\",m||n||\"\");p!==o.current?.getModel()&&(y&&_.set(f,o.current?.saveViewState()),o.current?.setModel(p),y&&o.current?.restoreViewState(_.get(m)))},[m],s),l(()=>{o.current?.updateOptions(x)},[x],s),l(()=>{!o.current||t===void 0||(o.current.getOption(d.current.editor.EditorOption.readOnly)?o.current.setValue(t):t!==o.current.getValue()&&(B.current=!0,o.current.executeEdits(\"\",[{range:o.current.getModel().getFullModelRange(),text:t,forceMoveMarkers:!0}]),o.current.pushUndoStop(),B.current=!1))},[t],s),l(()=>{let p=o.current?.getModel();p&&a&&d.current?.editor.setModelLanguage(p,a)},[a],s),l(()=>{g!==void 0&&o.current?.revealLine(g)},[g],s),l(()=>{d.current?.editor.setTheme(E)},[E],s);let X=_e(()=>{if(!(!b.current||!d.current)&&!Q.current){U.current(d.current);let p=m||n,R=h(d.current,t||e||\"\",r||a||\"\",p||\"\");o.current=d.current?.editor.create(b.current,{model:R,automaticLayout:!0,...x},P),y&&o.current.restoreViewState(_.get(p)),d.current.editor.setTheme(E),g!==void 0&&o.current.revealLine(g),u(!0),Q.current=!0}},[e,r,n,t,a,m,x,P,y,E,g]);W(()=>{s&&L.current(o.current,d.current)},[s]),W(()=>{!c&&!s&&X()},[c,s,X]),i.current=t,W(()=>{s&&O&&(I.current?.dispose(),I.current=o.current?.onDidChangeModelContent(p=>{B.current||O(o.current.getValue(),p)}))},[s,O]),W(()=>{if(s){let p=d.current.editor.onDidChangeMarkers(R=>{let G=o.current.getModel()?.uri;if(G&&R.find(J=>J.path===G.path)){let J=d.current.editor.getModelMarkers({resource:G});T?.(J)}});return()=>{p?.dispose()}}return()=>{}},[s,T]);function pe(){I.current?.dispose(),V?y&&_.set(m,o.current.saveViewState()):o.current.getModel()?.dispose(),o.current.dispose()}return We.createElement(H,{width:z,height:F,isEditorReady:s,loading:N,_ref:b,className:j,wrapperProps:A})}var fe=Ve;var de=ze(fe);var Ft=de;export{we as DiffEditor,de as Editor,Ft as default,_t as loader,Le as useMonaco};\n//# sourceMappingURL=index.mjs.map"],"names":["le","v","ae","Y","Me","me","Z","$","Ee","r","n","t","a","m","E","K","ee","H","ye","Ce","xe","k","he","Re","ge","l","D","h","De","be","te","Oe","g","N","x","P","y","V","z","F","j","A","q","M","O","re","T","s","u","S","c","w","d","o","b","Se","f","I","L","oe","U","ne","ke","ie","Te","He","ve","Ue","se","_","Ve","ue","C","Q","B","p","Ne","R","pe","X","_e","W","G","J","We","fe","de","ze","Ft"],"mappings":";;AAAiP,IAAIA,KAAG,EAAC,SAAQ,EAAC,SAAQ,QAAO,UAAS,YAAW,WAAU,UAAS,GAAE,WAAU,EAAC,OAAM,OAAM,GAAE,MAAK,EAAC,SAAQ,OAAM,EAAC,GAAEC,IAAED,IAA6BE,KAAG,EAAC,WAAU,EAAC,SAAQ,QAAO,QAAO,QAAO,OAAM,QAAO,gBAAe,UAAS,YAAW,SAAQ,EAAC,GAAEC,KAAED;AAAG,SAASE,GAAG,EAAC,UAAS,EAAC,GAAE;AAAC,SAAOC,EAAG,cAAc,OAAM,EAAC,OAAMF,GAAE,UAAS,GAAE,CAAC;AAAC;AAAC,IAAIG,KAAEF,IAAOG,KAAED;AAAE,SAASE,GAAG,EAAC,OAAM,GAAE,QAAOC,GAAE,eAAcC,GAAE,SAAQC,GAAE,MAAKC,GAAE,WAAUC,GAAE,cAAaC,EAAC,GAAE;AAAC,SAAOC,EAAE,cAAc,WAAU,EAAC,OAAM,EAAC,GAAGd,EAAE,SAAQ,OAAM,GAAE,QAAOQ,EAAC,GAAE,GAAGK,EAAC,GAAE,CAACJ,KAAGK,EAAE,cAAcR,IAAE,MAAKI,CAAC,GAAEI,EAAE,cAAc,OAAM,EAAC,KAAIH,G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