@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":"index111.js","sources":["../src/components/production-schedule/production-schedule.tsx"],"sourcesContent":["import * as React from \"react\";\nimport {\n flattenProductionResources,\n ganttConnectors,\n ganttFitRange,\n placeAppointment,\n productionLoad,\n productionCriticalPath,\n productionReschedule,\n productionSequenceConflicts,\n productionLateMs,\n snapToMinutes,\n directionOf,\n durationMessage,\n PRODUCTION_DRAG_TYPE,\n type GanttBarAnchor,\n type GanttCalendar,\n type GanttDependency,\n type GanttDependencyStyle,\n type GanttConnector,\n type GanttTaskStatus,\n type GanttView,\n type PlanningColumn,\n type PlanningRange,\n type ProductionLoadBucket,\n type ProductionOperationNode,\n type ProductionPlacement,\n type ProductionResourceNode,\n type ProductionRow as ProductionRowData,\n type ProductionFloat,\n type ProductionMove,\n type ProductionProposal,\n type ProductionSetupMatrix,\n} from \"@algorisys/zen-ui-core\";\nimport { cn } from \"../../lib/cn\";\nimport { Badge } from \"../badge/badge\";\nimport {\n EmptyState,\n EmptyStateDescription,\n EmptyStateIcon,\n EmptyStateTitle,\n} from \"../empty-state/empty-state\";\nimport { Icon } from \"../icon/icon\";\nimport { Skeleton } from \"../skeleton/skeleton\";\nimport { TooltipProvider } from \"../tooltip/tooltip\";\nimport {\n INDENT_PX,\n ScheduleGrid,\n useScheduleAxis,\n useScrollerMetrics,\n type ScheduleColumn,\n} from \"../gantt/schedule-grid\";\nimport { useLocale, type MessageKey } from \"../locale/locale\";\n\n/**\n * ProductionSchedule — what each machine is doing, and whether it can.\n *\n * <ProductionSchedule resources={cells} operations={jobs} calendar={plant} />\n *\n * The sibling of `Gantt`, and a SEPARATE component rather than a mode of it —\n * the decision, its reasoning and the three corrections to that reasoning are\n * in docs/production-scheduling-gap-analysis.md. The short version: a row here\n * is a work centre holding a sequence of operations, each with a changeover, a\n * capacity claim and a routing position. That is a different renderer contract\n * from a row holding one bar with a percentage and a baseline, and no flag\n * describes both without half the props becoming inapplicable.\n *\n * What the two DO share is everything that does not depend on what a row is:\n * ../gantt/schedule-grid renders the axis, the frozen pane, the windowing, the\n * connector overlay and the treegrid keyboard model for both, and\n * @algorisys/zen-ui-core/gantt does the working-time arithmetic underneath\n * both. Sharing in core and in one internal renderer is the point of the split;\n * two copies of either would be the thing it was supposed to avoid.\n *\n * THREE THINGS THIS SHOWS THAT A PROJECT GANTT CANNOT:\n *\n * - **Lanes.** A machine double-booked at 10:00 draws two bars side by side\n * rather than one over the other. Rows are a uniform height across the chart\n * — the window and the connector routes both need that — so the height comes\n * from the busiest row and every row uses it.\n * - **Setup.** The changeover is drawn as its own leading block in its own\n * hatch, because it occupies the machine and makes nothing. It counts in the\n * load; a plant that measures only run time reports itself less busy than it\n * is by exactly its changeovers.\n * - **Load.** A histogram under the axis: booked working time over available\n * working time, per column. Both sides are working quantities, which is why\n * the calendar had to exist before this could.\n *\n * ONE LAYOUT TRAP, and it is the caller's to avoid. The fit axis sizes itself\n * from the scroller's measured width, so it needs a container with a width of\n * its OWN. Drop the chart into a flex row or an inline-block whose width comes\n * from its content and the two define each other: measured on this repo's own\n * demo page, identical data rendered at 516px in one section and 1800px in\n * another, purely because the wrapper lacked `width: 100%`. Give the wrapper a\n * definite width — the component's root already carries `w-full` for exactly\n * this reason, but it cannot fix a parent that has none.\n *\n * READ-ONLY, and deliberately so for now. There is no drag-to-reschedule: the\n * decision (DECISION 2 in the gap analysis) is DEFERRED until there is an\n * overload on screen to drag at, not settled against. Two of its consequences\n * are honoured here already because they are cheaper kept than retrofitted —\n * the component is fully controlled, and conflicts are computed and REPORTED,\n * never enforced. Overtime gets authorised and due dates get renegotiated; a\n * component that refused a booking would be wrong in every plant whose rules\n * differ from the ones we guessed.\n */\n\n/** A machine, a cell, a line. They nest; a collapsed one carries all its work. */\nexport interface ProductionResource extends ProductionResourceNode {\n name: string;\n /** Second line under the name — an asset number, a location. */\n subtitle?: string;\n children?: ProductionResource[];\n}\n\nexport interface ProductionOperation extends ProductionOperationNode {\n name: string;\n /** The works order it belongs to. Shown in the tooltip. */\n order?: string;\n /** Overrides the derived status colour's words, not its colour. */\n statusLabel?: string;\n}\n\n/** Which columns the frozen pane can carry. */\nexport type ProductionPaneColumn = \"resource\" | \"jobs\" | \"capacity\" | \"load\" | \"float\";\n\nexport interface ProductionScheduleProps {\n resources: ProductionResource[];\n operations: ProductionOperation[];\n /**\n * Routing links between operations — op 10 finishes, op 20 starts. Drawn with\n * the same four link types a Gantt dependency has.\n */\n dependencies?: GanttDependency[];\n /** Draw the routing layer. Default true. */\n showDependencies?: boolean;\n /**\n * The colour and dash of one link's arrow, from the caller's own data —\n * typically its `kind`, to tell a job's next step from a wait on another job:\n * `(d) => d.kind === \"sequence\" ? { color: \"var(--zen-color-info)\" } : { dash: \"4 3\" }`.\n * Give each kind a dash as well as a colour; red already means late here.\n * A link the plan breaks is still drawn red and thick.\n */\n dependencyStyle?: (dependency: GanttDependency) => GanttDependencyStyle | undefined;\n\n /**\n * When the plant is open. A resource's own `calendar` overrides it.\n *\n * Strongly recommended here, unlike on `Gantt`: without one every duration is\n * wall-clock, so a changeover runs through the night, and load is measured\n * against 24 hours a day the plant does not have.\n */\n calendar?: GanttCalendar;\n /** Hours per column in the DAY view. Default 1; 0.25 for quarter-hour columns. */\n hourStep?: number;\n\n /**\n * Sequence-dependent changeover, keyed on the pair of `setupFamily` values.\n *\n * With one supplied, an operation that states no `setupMinutes` gets one\n * derived from what ran before it on the same machine. This is the difference\n * between a changeover and a changeover *cost*: white to black is an hour of\n * washing out, black to white is fifteen minutes, and a single per-operation\n * duration cannot say so.\n */\n setupMatrix?: ProductionSetupMatrix;\n\n /** Uncontrolled starting view. Default \"fit\". */\n defaultView?: GanttView;\n view?: GanttView;\n onViewChange?: (view: GanttView) => void;\n views?: GanttView[];\n\n defaultDate?: Date;\n date?: Date;\n onDateChange?: (date: Date) => void;\n\n /** Ids of the open parents. Controlled; pair with `onExpandedChange`. */\n expanded?: string[];\n /** Uncontrolled starting set. Omit it and everything opens. */\n defaultExpanded?: string[];\n onExpandedChange?: (ids: string[]) => void;\n\n onOperationClick?: (operation: ProductionOperation, row: ProductionRowData<ProductionResource, ProductionOperation>) => void;\n\n /**\n * Called with what WOULD happen if the user's move were made. Supplying it is\n * what turns rescheduling on.\n *\n * The component never applies it. It stays controlled: it renders the\n * `operations` it is given, hands you a proposal, and changes nothing until\n * you pass a new array. That is what keeps undo yours — a history of arrays\n * you already own — and it is why there is no internal pending state to get\n * out of sync with your ERP.\n *\n * `proposal.cascade` includes the operation the user dragged, first. Persist\n * only that one and you have written a schedule nobody saw. `conflicts` and\n * `cycles` are reported, never enforced: overtime gets authorised, and a\n * supervisor who knows both jobs can run may double-book deliberately.\n */\n onReschedule?: (proposal: ProductionProposal) => void;\n /**\n * Whether an operation may be moved at all. Default: everything may, once\n * `onReschedule` is supplied.\n *\n * This GATES THE AFFORDANCE rather than the outcome — a forbidden operation\n * simply is not draggable, so a user never does the work of moving something\n * and then gets told no. Returning a rejection after the drag is the version\n * that feels like a bug.\n */\n canReschedule?: (operation: ProductionOperation) => boolean;\n /**\n * Accepts work dragged in from a backlog (`ScheduleBacklog`, or anything\n * that sets `PRODUCTION_DRAG_TYPE` to an operation id) onto a work centre.\n * The drop is PROPOSED, like a reschedule: this is called with where it\n * landed (snapped to 15 minutes) and nothing changes until the caller passes\n * new `operations` — `productionPlaceProposal` gives the cascade and\n * conflicts. Only leaf work centres accept a drop; a parent stands for its\n * children. Without it the chart renders exactly as before.\n */\n onPlace?: (at: { operationId: string; resourceId: string; start: Date }) => void;\n\n /**\n * How many operations may stack on one row before the rest are counted as\n * overflow. Default 3.\n *\n * Bounded because it sets the height of EVERY row: one badly double-booked\n * machine would otherwise make the whole chart tall.\n */\n maxLanes?: number;\n /** Draw the load histogram under the axis. Default true. */\n showLoad?: boolean;\n /**\n * Compute float and mark the critical path. Off by default: it is a graph\n * pass over every operation, and a schedule with no routing has nothing to\n * be critical about.\n *\n * With `until` supplied it is measured against a real due date, and every\n * operation can then have NEGATIVE float — which is the plant being late,\n * not a fault. Without it, the latest finish in the schedule is the end, so\n * the longest chain is critical by construction.\n */\n showCriticalPath?: boolean;\n /** The date float is measured against. Default: the schedule's own last finish. */\n until?: Date;\n\n now?: Date;\n columnWidth?: number;\n hideToolbar?: boolean;\n /** Which pane columns, in preference order. Default all four. */\n columns?: ProductionPaneColumn[];\n\n loading?: boolean;\n loadingRows?: number;\n emptyState?: React.ReactNode;\n\n /**\n * The least height of a row in px. Default 36. Rows are taller when a\n * resource stacks more lanes (see `maxLanes`); every row shares one height,\n * because the row window and the routing arrows place rows at index × height.\n */\n rowHeight?: number;\n /** The chart's maximum height before it scrolls (px, or any CSS length). Default 32rem. */\n maxBodyHeight?: number | string;\n /** Classes for a resource's row — a tint for a down machine. */\n rowClassName?: (resource: ProductionResource, row: ProductionRowData<ProductionResource, ProductionOperation>) => string | undefined;\n /** Classes for an operation's bar, applied after its status colours so they win. */\n barClassName?: (operation: ProductionOperation) => string | undefined | false | null;\n /**\n * A CSS colour for a stripe on the bar's leading edge — a second channel\n * beside the status fill, for a shift, a line or a customer:\n * `(op) => shiftColour[op.shift]`. A value rather than a class, so the colour\n * can come from data.\n */\n barAccent?: (operation: ProductionOperation) => string | undefined | false | null;\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 giving the columns their date context: the date above\n * hours, the month above days or weeks, the year above months. Each label\n * stays in view while the axis scrolls sideways, so a planner following an\n * order across weeks never has to look up to the toolbar for the month. Off\n * by default: the header is then the single row it always was.\n */\n headerGroups?: boolean;\n /**\n * One continuous timeline over the whole plan, scrolled sideways: Day, Week,\n * Month, Quarter and Year set the ZOOM instead of a one-period window, so a\n * bar is never cut at a period edge and an order can be followed across\n * weeks. Previous / Next / Today scroll; the title names the period in the\n * middle of the screen. Turns `headerGroups` on unless it is set to false.\n * Fit is continuous already and is unaffected. Off by default.\n */\n continuous?: boolean;\n /**\n * How much room a row and its lane bars takes: \"compact\", \"comfortable\" (the default, and the\n * size it always was) or \"touch\" (48px targets, for shop-floor tablets).\n * Opt-in: it does not follow data-density, so setting that on a page moves\n * nothing here. An explicit size prop wins over it.\n */\n density?: Density;\n className?: string;\n}\n\ntype Row = ProductionRowData<ProductionResource, ProductionOperation>;\n\nconst PANE_PX: Record<ProductionPaneColumn, number> = {\n resource: 180,\n jobs: 60,\n capacity: 72,\n load: 84,\n float: 84,\n};\n\nconst PANE_LABEL: Record<ProductionPaneColumn, MessageKey> = {\n resource: \"productionSchedule.column.resource\",\n jobs: \"productionSchedule.column.jobs\",\n capacity: \"productionSchedule.column.capacity\",\n load: \"productionSchedule.load\",\n /* The row's TIGHTEST operation, because a row is only as movable as the job\n on it with the least room. Reporting an average would say a machine has\n four hours of slack while one of its jobs has none. */\n float: \"productionSchedule.column.float\",\n};\n\n/** Place in the FULL set, so a dropped column does not renumber the others. */\nconst COL_INDEX: Record<ProductionPaneColumn | \"timeline\", number> = {\n resource: 1,\n jobs: 2,\n capacity: 3,\n load: 4,\n float: 5,\n timeline: 6,\n};\n\nconst DEFAULT_PANE: ProductionPaneColumn[] = [\"resource\", \"jobs\", \"capacity\", \"load\"];\n\n/** One lane's bar, and the gap to the next. Row height is derived from these. */\nimport { laneBarPx, scheduleRowPx, type Density } from \"@algorisys/zen-ui-core/density\";\nconst LANE_GAP_PX = 4;\n/** Space above and below the stack, so bars never touch the row border. */\nconst LANE_PAD_PX = 14;\n\nconst FOOTER_PX = 40;\n\nconst BAR_CLASS: Record<GanttTaskStatus, string> = {\n \"not-started\": \"zen-bg-zen-muted zen-border-zen-border\",\n \"on-track\": \"zen-bg-zen-info-soft zen-border-zen-info\",\n delayed: \"zen-bg-zen-error-soft zen-border-zen-error\",\n complete: \"zen-bg-zen-success-soft zen-border-zen-success\",\n};\n\nconst FILL_CLASS: Record<GanttTaskStatus, string> = {\n \"not-started\": \"zen-bg-zen-neutral\",\n \"on-track\": \"zen-bg-zen-info\",\n delayed: \"zen-bg-zen-error\",\n complete: \"zen-bg-zen-success\",\n};\n\nconst parentIds = (resources: ProductionResource[]): string[] => {\n const out: string[] = [];\n const walk = (list: ProductionResource[]) => {\n for (const resource of list) {\n if (resource.children && resource.children.length > 0) {\n out.push(resource.id);\n walk(resource.children);\n }\n }\n };\n walk(resources);\n return out;\n};\n\nconst formatTime = (d: Date): string =>\n `${d.getDate()} ${d.toLocaleString(undefined, { month: \"short\" })} ${String(d.getHours()).padStart(2, \"0\")}:${String(d.getMinutes()).padStart(2, \"0\")}`;\n\nconst pct = (n: number) => `${Math.round(n * 100)}%`;\n\nexport const ProductionSchedule = ({\n resources,\n operations,\n dependencies,\n showDependencies = true,\n calendar,\n hourStep,\n setupMatrix,\n defaultView,\n view: viewProp,\n onViewChange,\n views,\n defaultDate,\n date: dateProp,\n onDateChange,\n expanded: expandedProp,\n defaultExpanded,\n onExpandedChange,\n onOperationClick,\n onReschedule,\n canReschedule,\n onPlace,\n maxLanes = 3,\n showLoad = true,\n showCriticalPath = false,\n until,\n now: nowProp,\n columnWidth,\n hideToolbar,\n columns: paneColumnsProp,\n loading,\n loadingRows = 6,\n emptyState,\n rowHeight: rowHeightProp,\n maxBodyHeight,\n headerClassName,\n headerGroups: headerGroupsProp,\n continuous,\n density,\n rowClassName,\n barClassName,\n barAccent,\n dependencyStyle,\n className,\n}: ProductionScheduleProps) => {\n const loc = useLocale();\n const [innerView, setInnerView] = React.useState<GanttView>(defaultView ?? \"fit\");\n const [innerDate, setInnerDate] = React.useState<Date>(defaultDate ?? new Date());\n const [innerExpanded, setInnerExpanded] = React.useState<string[] | null>(defaultExpanded ?? null);\n\n const scrollerRef = React.useRef<HTMLDivElement>(null);\n const { metrics, setMetrics } = useScrollerMetrics(scrollerRef);\n\n const view = viewProp ?? innerView;\n const anchor = dateProp ?? innerDate;\n /* Read once per MOUNT, not per render — a fresh `now` every frame would\n invalidate every memo below on every scroll tick. */\n const nowFallback = React.useRef<Date>(null);\n if (nowFallback.current === null) nowFallback.current = new Date();\n const now = nowProp ?? nowFallback.current;\n const nowTime = now.getTime();\n const anchorTime = anchor.getTime();\n\n const setDate = (next: Date) => {\n if (dateProp === undefined) setInnerDate(next);\n onDateChange?.(next);\n };\n\n const expandedIds = expandedProp ?? innerExpanded;\n const expandedSet = React.useMemo(\n () => (expandedIds === null ? null : new Set(expandedIds)),\n [expandedIds],\n );\n const toggle = (id: string) => {\n const base = expandedIds ?? parentIds(resources);\n const next = base.includes(id) ? base.filter((x) => x !== id) : [...base, id];\n if (expandedProp === undefined) setInnerExpanded(next);\n onExpandedChange?.(next);\n };\n\n /* Fit takes its range from the OPERATIONS, not the resources — a machine has\n no dates of its own, so the plan's span is the span of the work booked on\n it. Shaped as tasks for `ganttFitRange`, which asks only for start/end. */\n /* The plan's padded span: what Fit shows, and what a continuous axis spans.\n Computed only when one of them needs it. */\n const planSpan = React.useMemo(() => {\n if (view !== \"fit\" && !continuous) return null;\n return ganttFitRange(\n operations.map((operation) => ({\n id: operation.id,\n start: operation.start,\n end: operation.end,\n /* Setup claims the machine too, so it belongs inside the range. Without\n it a chart whose first job opens with a two-hour changeover starts\n two hours after the work does. */\n workingMinutes:\n operation.end === undefined\n ? (operation.setupMinutes ?? 0) + (operation.runMinutes ?? 0)\n : undefined,\n })),\n { calendar },\n );\n }, [view, continuous, operations, calendar]);\n const fitRange = view === \"fit\" ? planSpan : null;\n // Continuous turns the date row on, because a scrolled axis needs it; an\n // explicit `headerGroups={false}` still wins.\n const headerGroups = headerGroupsProp ?? !!continuous;\n\n const requestedPane = paneColumnsProp ?? DEFAULT_PANE;\n\n /* Placeholder widths only — the real columns are built below, once `rows`\n exist. `useScheduleAxis` needs nothing but the keys and the widths. */\n const paneSpec = React.useMemo(\n () => requestedPane.map((key) => ({ key, width: PANE_PX[key] })),\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [requestedPane.join(\",\")],\n );\n\n const axis = useScheduleAxis({\n view,\n anchor,\n fitRange,\n now,\n calendar,\n hourStep,\n columnWidth,\n paneColumns: paneSpec,\n available: metrics.width,\n grouped: headerGroups,\n continuous,\n plan: planSpan,\n });\n const { range, columns, axisWidth, minGapMs } = axis;\n\n const { rows, rowIndexById, operationIndex } = React.useMemo(\n () =>\n flattenProductionResources<ProductionResource, ProductionOperation>(\n resources ?? [],\n operations ?? [],\n (resource) => (expandedSet === null ? true : expandedSet.has(resource.id)),\n { calendar, maxLanes, minGapMs, setupMatrix },\n ),\n [resources, operations, expandedSet, calendar, maxLanes, minGapMs, setupMatrix],\n );\n\n /* ONE height for the whole chart, from the busiest row. Rows that varied\n would break both the window (arithmetic, not measurement) and the connector\n routes (which place an endpoint at rowIndex * rowHeight + rowHeight / 2). */\n const laneCount = Math.max(1, ...rows.map((row) => row.lanes.length));\n // Density sets the lane bars and the least row height; rowHeight wins over it.\n const laneBar = laneBarPx(density);\n const rowHeight = Math.max(\n scheduleRowPx(density, rowHeightProp),\n laneCount * laneBar + (laneCount - 1) * LANE_GAP_PX + LANE_PAD_PX,\n );\n const stackTop = (rowHeight - (laneCount * laneBar + (laneCount - 1) * LANE_GAP_PX)) / 2;\n const laneTop = (lane: number) => stackTop + lane * (laneBar + LANE_GAP_PX);\n\n /** Every operation placed on the axis, keyed by id — routing needs it. */\n const placements = React.useMemo(() => {\n const map = new Map<string, { placement: ProductionPlacement<ProductionOperation>; row: Row }>();\n for (const row of rows) {\n for (const lane of row.lanes) {\n for (const placement of lane) map.set(placement.operation.id, { placement, row });\n }\n }\n return map;\n }, [rows]);\n\n const connectors = React.useMemo(() => {\n if (!showDependencies || !dependencies || dependencies.length === 0) return [];\n const anchors = new Map<string, GanttBarAnchor>();\n for (const [id, entry] of placements) {\n const placed = placeAppointment(entry.placement.span, range);\n if (!placed) continue;\n const lane = operationIndex.get(id)?.lane ?? 0;\n anchors.set(id, {\n rowIndex: entry.row.index,\n startPct: placed.startPct,\n widthPct: placed.widthPct,\n /* The LANE's centre, not the row's. A routing arrow that pointed at the\n middle of a three-lane row would miss every bar in it. */\n yOffset: laneTop(lane) + laneBar / 2,\n });\n }\n /* Routing links name OPERATIONS, and a link whose endpoint folded into a\n collapsed parent still has an anchor because the operation is drawn on\n that parent's row. Ids that name a resource rather than an operation are\n resolved here too, so a link between two work centres still draws. */\n for (const [id, index] of rowIndexById) {\n if (anchors.has(id)) continue;\n const row = rows[index];\n const first = row?.lanes[0]?.[0];\n if (!first) continue;\n const placed = placeAppointment(first.span, range);\n if (placed) {\n anchors.set(id, {\n rowIndex: index,\n startPct: placed.startPct,\n widthPct: placed.widthPct,\n yOffset: laneTop(0) + laneBar / 2,\n });\n }\n }\n return ganttConnectors(anchors, dependencies, { axisWidth, rowHeight });\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [showDependencies, dependencies, placements, rowIndexById, rows, range, axisWidth, rowHeight, laneCount]);\n\n /** Load for the WHOLE chart — every operation on every visible row. */\n const totalLoad = React.useMemo(() => {\n if (!showLoad) return null;\n /* Roots only, so an expanded tree does not count its own work once per\n level — every operation is inside exactly one root's subtree. */\n const roots = rows.filter((row) => row.parentId === null);\n const all = roots.flatMap((row) => row.subtree);\n const capacity = roots.reduce((sum, row) => sum + row.capacity, 0);\n return productionLoad(all, columns, { calendar, capacity: Math.max(1, capacity) });\n }, [showLoad, rows, columns, calendar]);\n\n /** Per row, over the visible range only — what the Load pane column shows. */\n const rowLoad = React.useMemo(() => {\n const map = new Map<number, ProductionLoadBucket>();\n const whole: PlanningColumn[] = [\n { start: range.start, end: range.end, label: \"\", sublabel: \"\", nonWorking: false, today: false },\n ];\n for (const row of rows) {\n map.set(\n row.index,\n productionLoad(row.subtree, whole, {\n calendar: row.resource.calendar ?? calendar,\n capacity: row.capacity,\n })[0],\n );\n }\n return map;\n }, [rows, range, calendar]);\n\n /**\n * Float per operation, and which of them have none.\n *\n * Off unless asked for: it is a graph pass over every operation, and a\n * schedule with no routing has nothing to be critical about.\n */\n const cpa = React.useMemo(() => {\n if (!showCriticalPath) return null;\n return productionCriticalPath(operations ?? [], dependencies ?? [], {\n calendar,\n setupMatrix,\n until,\n });\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [showCriticalPath, operations, dependencies, calendar, setupMatrix, until?.getTime()]);\n\n /** The tightest float on each row — a row is only as movable as its worst job. */\n const rowFloat = React.useMemo(() => {\n const map = new Map<number, ProductionFloat>();\n if (!cpa) return map;\n for (const row of rows) {\n let worst: ProductionFloat | undefined;\n for (const placement of row.subtree) {\n const value = cpa.byOperation.get(placement.operation.id);\n if (!value) continue;\n if (!worst || value.totalFloatMinutes < worst.totalFloatMinutes) worst = value;\n }\n if (worst) map.set(row.index, worst);\n }\n return map;\n }, [cpa, rows]);\n\n const paneColumns = React.useMemo<ScheduleColumn<Row>[]>(\n () =>\n requestedPane.map((key) => ({\n key,\n label: loc.t(PANE_LABEL[key]),\n width: PANE_PX[key],\n colIndex: COL_INDEX[key],\n className: key === \"resource\" ? \"zen-min-w-0 zen-gap-1 zen-pe-2\" : \"zen-px-2\",\n style:\n key === \"resource\"\n ? (row: Row) => ({ paddingInlineStart: 8 + row.depth * INDENT_PX })\n : undefined,\n render: (row: Row) => (\n <ProductionPaneCell\n column={key}\n row={row}\n load={rowLoad.get(row.index)}\n float={rowFloat.get(row.index)}\n onToggle={toggle}\n />\n ),\n })),\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [requestedPane.join(\",\"), rowLoad, rowFloat, expandedIds, resources],\n );\n\n /**\n * Routing links whose lag the schedule does not respect.\n *\n * Reported, never enforced — a planner who knowingly overlaps two operations\n * because the first one's last pallet is already off the machine is making a\n * decision, not an error. The link is drawn in the error tone and thicker;\n * the bars stay exactly where the caller put them.\n */\n const violated = React.useMemo(() => {\n if (!showDependencies || !dependencies || dependencies.length === 0) return null;\n const byId = new Map<string, ProductionPlacement>();\n for (const [id, entry] of placements) byId.set(id, entry.placement);\n const found = productionSequenceConflicts(dependencies, byId, { calendar });\n return new Set(found.map((c) => `${c.operationIds[0]}->${c.operationIds[1]}`));\n }, [showDependencies, dependencies, placements, calendar]);\n\n const connectorAccent = React.useCallback(\n (connector: { from: string; to: string }) => violated?.has(`${connector.from}->${connector.to}`) ?? false,\n [violated],\n );\n // Memoized so the grid's memoized connector layer is not rebuilt every render.\n const connectorStyle = React.useMemo(\n () => (dependencyStyle ? (c: GanttConnector) => dependencyStyle(c.dependency) : undefined),\n [dependencyStyle],\n );\n\n /* ------------------------------------------------------------------ *\n * Rescheduling.\n *\n * The component proposes and never applies, so there is no pending move to\n * hold — only which operation is being dragged and by how far, which is\n * pixels and is discarded on release. `productionReschedule` does the\n * arithmetic; this decides what the pixels mean.\n * ------------------------------------------------------------------ */\n const editable = onReschedule !== undefined;\n const mayMove = React.useCallback(\n (operation: ProductionOperation) => editable && (canReschedule?.(operation) ?? true),\n [editable, canReschedule],\n );\n\n /** Milliseconds per pixel, so a drag reads as time rather than as distance. */\n const msPerPx = axisWidth > 0 ? (range.end.getTime() - range.start.getTime()) / axisWidth : 0;\n\n const calendarFor = React.useCallback(\n (resourceId: string) => {\n const find = (list: ProductionResource[]): GanttCalendar | undefined => {\n for (const resource of list) {\n if (resource.id === resourceId) return resource.calendar ?? calendar;\n const inner = resource.children ? find(resource.children) : undefined;\n if (inner) return inner;\n }\n return undefined;\n };\n return find(resources ?? []) ?? calendar;\n },\n [resources, calendar],\n );\n\n const propose = React.useCallback(\n (move: ProductionMove) => {\n if (!onReschedule) return;\n onReschedule(\n productionReschedule(operations, dependencies ?? [], move, {\n calendar,\n calendarFor,\n resources,\n setupMatrix,\n }),\n );\n },\n [onReschedule, operations, dependencies, calendar, calendarFor, resources, setupMatrix],\n );\n\n const setView = (next: GanttView) => {\n /* Leaving fit re-anchors when the anchor is nowhere near the work, or\n clicking Day on next week's schedule lands on an empty shift. */\n if (view === \"fit\" && next !== \"fit\" && fitRange) {\n const from = fitRange.start.getTime();\n const to = fitRange.end.getTime();\n if (anchorTime < from || anchorTime >= to) {\n setDate(nowTime >= from && nowTime < to ? now : fitRange.start);\n }\n }\n if (viewProp === undefined) setInnerView(next);\n onViewChange?.(next);\n };\n\n const isCritical = React.useCallback(\n (id: string) => cpa?.byOperation.get(id)?.critical ?? false,\n [cpa],\n );\n\n const renderTrack = React.useCallback(\n (row: Row) => (\n <ProductionTrack\n row={row}\n range={range}\n laneTop={laneTop}\n onOperationClick={onOperationClick}\n mayMove={mayMove}\n msPerPx={msPerPx}\n onPropose={propose}\n isCritical={isCritical}\n onPlace={onPlace}\n barClass={barClassName}\n accent={barAccent}\n barPx={laneBar}\n />\n ),\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [range, onOperationClick, rowHeight, laneCount, mayMove, msPerPx, propose, isCritical, onPlace, barClassName, barAccent, laneBar],\n );\n\n const renderFooter = React.useCallback(\n (context: { columns: PlanningColumn[]; columnWidths: number[]; axisWidth: number; paneWidth: number }) => (\n <ProductionLoadStrip {...context} buckets={totalLoad!} />\n ),\n [totalLoad],\n );\n\n if (loading) {\n return (\n <div\n className={cn(\n \"zen-flex zen-w-full zen-flex-col zen-gap-2 zen-rounded-zen-md zen-border zen-border-zen-border zen-p-3\",\n className,\n )}\n role=\"status\"\n aria-label={loc.t(\"productionSchedule.loadingProductionSchedule\")}\n >\n {Array.from({ length: loadingRows }, (_, i) => (\n <div key={i} className=\"zen-flex zen-items-center zen-gap-3\">\n <Skeleton className=\"zen-h-4\" style={{ width: PANE_PX.resource - 24 - (i % 3) * INDENT_PX }} />\n <Skeleton className=\"zen-h-4 zen-w-12\" />\n {/* Two blocks per row, because a machine's day is a sequence — one\n long bar would read as the wrong component for a second. */}\n <Skeleton className=\"zen-h-4\" style={{ marginInlineStart: `${(i * 29) % 40}%`, width: `${12 + ((i * 7) % 18)}%` }} />\n <Skeleton className=\"zen-h-4\" style={{ width: `${10 + ((i * 11) % 20)}%` }} />\n </div>\n ))}\n </div>\n );\n }\n\n if (rows.length === 0) {\n return (\n <div className={cn(\"zen-w-full\", className)}>\n {emptyState ?? (\n <EmptyState bordered>\n <EmptyStateIcon>\n <Icon name=\"cog\" size={22} />\n </EmptyStateIcon>\n <EmptyStateTitle>{loc.t(\"productionSchedule.noResources\")}</EmptyStateTitle>\n <EmptyStateDescription>\n {loc.t(\"productionSchedule.addAWorkCentreAnd\")}\n </EmptyStateDescription>\n </EmptyState>\n )}\n </div>\n );\n }\n\n return (\n <TooltipProvider delayDuration={200}>\n <ScheduleGrid<Row>\n rows={rows}\n rowId={(row) => row.resource.id}\n columns={paneColumns}\n colCount={6}\n timelineColIndex={COL_INDEX.timeline}\n renderTrack={renderTrack}\n rowHeight={rowHeight}\n rowClass={rowClassName ? (row) => rowClassName(row.resource, row) : undefined}\n maxBodyHeight={maxBodyHeight}\n headerClassName={headerClassName}\n headerGroups={headerGroups}\n renderFooter={totalLoad ? renderFooter : undefined}\n view={view}\n anchor={anchor}\n now={now}\n connectors={connectors}\n connectorAccent={connectorAccent}\n connectorStyle={connectorStyle}\n views={views}\n hideToolbar={hideToolbar}\n onViewChange={setView}\n onDateChange={setDate}\n onToggle={(row) => toggle(row.resource.id)}\n onActivate={(row) => {\n const first = row.lanes[0]?.[0];\n if (first) onOperationClick?.(first.operation, row);\n }}\n ariaLabel={loc.t(\"productionSchedule.productionSchedule\")}\n className={className}\n scrollerRef={scrollerRef}\n axis={axis}\n metrics={metrics}\n setMetrics={setMetrics}\n />\n </TooltipProvider>\n );\n};\n\n/** \"4h 30m\", \"0\", \"-2h\" — float is minutes, and nobody reads minutes past 90. */\nconst formatFloat = (minutes: number): string => {\n const sign = minutes < 0 ? \"-\" : \"\";\n const total = Math.abs(minutes);\n if (total === 0) return \"0\";\n if (total < 60) return `${sign}${total}m`;\n const hours = Math.floor(total / 60);\n const rest = total % 60;\n return rest === 0 ? `${sign}${hours}h` : `${sign}${hours}h ${rest}m`;\n};\n\nconst ProductionPaneCell = ({\n column,\n row,\n load,\n float,\n onToggle,\n}: {\n column: ProductionPaneColumn;\n row: Row;\n load?: ProductionLoadBucket;\n float?: ProductionFloat;\n onToggle: (id: string) => void;\n}) => {\n const loc = useLocale();\n const { resource } = row;\n\n if (column === \"resource\") {\n return (\n <>\n {row.hasChildren ? (\n <button\n type=\"button\"\n /* Out of the tab order, in the grid's — the chevron is reached by\n arrowing to the first column and pressing the forward arrow. */\n tabIndex={-1}\n onClick={() => onToggle(resource.id)}\n aria-label={loc.t(row.expanded ? \"productionSchedule.collapseResource\" : \"productionSchedule.expandResource\", { name: resource.name })}\n className=\"zen-flex zen-h-5 zen-w-5 zen-shrink-0 zen-items-center zen-justify-center zen-rounded-zen-sm zen-text-zen-muted-fg hover:zen-bg-zen-muted focus-visible:zen-outline-none focus-visible:zen-ring-2 focus-visible:zen-ring-zen-ring\"\n >\n <Icon\n name={row.expanded ? \"chevron-down\" : \"chevron-right\"}\n size={14}\n className={row.expanded ? undefined : \"rtl:zen-rotate-180\"}\n />\n </button>\n ) : (\n <span aria-hidden=\"true\" className=\"zen-h-5 zen-w-5 zen-shrink-0\" />\n )}\n <span className=\"zen-min-w-0\">\n <span\n className={cn(\n \"zen-block zen-truncate zen-text-sm zen-text-zen-foreground\",\n row.hasChildren && \"zen-font-semibold\",\n )}\n title={resource.name}\n >\n {resource.name}\n </span>\n {resource.subtitle && (\n <span className=\"zen-block zen-truncate zen-[font-size:var(--zen-schedule-label-font-size)] zen-text-zen-muted-fg\">\n {resource.subtitle}\n </span>\n )}\n </span>\n {/* HERE, and not in the Capacity column where it started, because the\n pane sheds columns to give the axis room and Capacity is among the\n first to go. A conflict marker that vanishes when the container\n narrows is worse than no marker at all: the schedule then looks\n fine. The resource column is the one that is never dropped.\n (Found by check-schedule-dom, after the anchored views learned to\n shrink and section 3's pane shed down to one column.)\n Overload is about CAPACITY, not overlap — two jobs at once on a\n two-operator cell is fine and must not be flagged. */}\n {row.overloaded && (\n <Icon\n name=\"warn\"\n size={13}\n className=\"zen-ms-auto zen-shrink-0 zen-text-zen-error\"\n title={loc.t(\"productionSchedule.overCapacity\")}\n />\n )}\n </>\n );\n }\n\n if (column === \"jobs\") {\n const count = row.subtree.length;\n return (\n <span className=\"zen-text-sm zen-text-zen-muted-fg\">\n {count === 0 ? \"—\" : count}\n {/* Never silently dropped: a row that hid six jobs is the worst thing\n this component could do. */}\n {row.overflow > 0 && (\n <span className=\"zen-ms-1 zen-[font-size:var(--zen-schedule-label-font-size)] zen-text-zen-error\">+{row.overflow}</span>\n )}\n </span>\n );\n }\n\n if (column === \"capacity\") {\n return (\n <span className=\"zen-flex zen-items-center zen-gap-1 zen-text-sm zen-text-zen-muted-fg\">\n <span dir=\"ltr\">×{row.capacity}</span>\n </span>\n );\n }\n\n if (column === \"float\") {\n if (!float) return <span className=\"zen-text-sm zen-text-zen-muted-fg\">—</span>;\n return (\n <Badge\n dir=\"ltr\"\n variant=\"soft\"\n color={float.totalFloatMinutes < 0 ? \"error\" : float.critical ? \"warning\" : \"neutral\"}\n /* The words, not only the colour: \"Critical\" and a negative number are\n different situations, and a chart that already uses red for overload\n cannot carry a third meaning on hue alone. */\n /* Negative FREE float is not \"minus five hours of room\" — it is an\n overlap that already exists, and phrasing it as a countdown reads as\n a rounding error rather than as a schedule that does not work. */\n title={\n float.totalFloatMinutes < 0\n ? loc.t(\"productionSchedule.floatLate\", { time: formatFloat(-float.totalFloatMinutes) })\n : float.freeFloatMinutes < 0\n ? loc.t(\"productionSchedule.floatOverlaps\", { time: formatFloat(-float.freeFloatMinutes) })\n : float.critical\n ? loc.t(\"productionSchedule.floatCritical\")\n : loc.t(\"productionSchedule.floatFree\", { time: formatFloat(float.freeFloatMinutes) })\n }\n >\n {float.critical && float.totalFloatMinutes === 0\n ? loc.t(\"productionSchedule.critical\")\n : formatFloat(float.totalFloatMinutes)}\n </Badge>\n );\n }\n\n /* A shut resource over the visible range has no utilisation — not 0%. An\n empty bar there would claim the machine was idle when it was closed. */\n if (!load || load.utilisation === null) {\n return <span className=\"zen-text-sm zen-text-zen-muted-fg\">—</span>;\n }\n return (\n <Badge\n dir=\"ltr\"\n variant=\"soft\"\n color={load.overloaded ? \"error\" : load.utilisation >= 0.85 ? \"warning\" : \"success\"}\n >\n {pct(load.utilisation)}\n </Badge>\n );\n};\n\n/** Every operation on one resource row, in its lane. */\nconst ProductionTrack = ({\n row,\n range,\n laneTop,\n onOperationClick,\n mayMove,\n msPerPx,\n onPropose,\n isCritical,\n onPlace,\n barClass,\n accent,\n barPx,\n}: {\n row: Row;\n range: PlanningRange;\n laneTop: (lane: number) => number;\n onOperationClick?: (operation: ProductionOperation, row: Row) => void;\n mayMove: (operation: ProductionOperation) => boolean;\n msPerPx: number;\n onPropose: (move: ProductionMove) => void;\n isCritical: (id: string) => boolean;\n onPlace?: (at: { operationId: string; resourceId: string; start: Date }) => void;\n barClass?: (operation: ProductionOperation) => string | undefined | false | null;\n accent?: (operation: ProductionOperation) => string | undefined | false | null;\n barPx: number;\n}) => {\n const loc = useLocale();\n const accepts = onPlace !== undefined && !row.hasChildren;\n // Where a drag is hovering, as a fraction of the track — drawn as a line.\n const [hover, setHover] = React.useState<number | null>(null);\n const fractionAt = (el: HTMLElement, clientX: number) => {\n const r = el.getBoundingClientRect();\n const f = directionOf(el) === \"rtl\" ? (r.right - clientX) / r.width : (clientX - r.left) / r.width;\n return Math.min(1, Math.max(0, f));\n };\n const carries = (e: React.DragEvent) => [...e.dataTransfer.types].includes(PRODUCTION_DRAG_TYPE);\n const onDragOver = (e: React.DragEvent<HTMLDivElement>) => {\n if (!accepts || !carries(e)) return;\n e.preventDefault();\n e.dataTransfer.dropEffect = \"move\";\n setHover(fractionAt(e.currentTarget, e.clientX));\n };\n const onDrop = (e: React.DragEvent<HTMLDivElement>) => {\n setHover(null);\n if (!accepts || !carries(e)) return;\n e.preventDefault();\n const id = e.dataTransfer.getData(PRODUCTION_DRAG_TYPE);\n if (!id) return;\n const from = range.start.getTime();\n const span = range.end.getTime() - from;\n const start = new Date(snapToMinutes(from + fractionAt(e.currentTarget, e.clientX) * span, 15));\n onPlace?.({ operationId: id, resourceId: row.resource.id, start });\n };\n const content = (\n <>\n {row.lanes.length === 0 && (\n /* An expanded parent draws nothing because its children draw its work —\n which is a fact worth saying, not a blank cell. */\n <span className=\"zen-sr-only\">\n {row.hasChildren && row.expanded\n ? loc.t(\"productionSchedule.workBelow\")\n : loc.t(\"productionSchedule.nothingBooked\")}\n </span>\n )}\n {row.lanes.map((lane, laneIndex) =>\n lane.map((placement) => (\n <ProductionBar\n key={placement.operation.id}\n placement={placement}\n row={row}\n range={range}\n top={laneTop(laneIndex)}\n onOperationClick={onOperationClick}\n mayMove={mayMove}\n msPerPx={msPerPx}\n onPropose={onPropose}\n critical={isCritical(placement.operation.id)}\n barClass={barClass?.(placement.operation) || undefined}\n accent={accent?.(placement.operation) || undefined}\n barPx={barPx}\n />\n )),\n )}\n </>\n );\n /* The drop layer exists only when drops are accepted, so a chart without\n `onPlace` renders the DOM it always did. */\n if (!accepts) return content;\n return (\n <div\n data-drop-target=\"\"\n className={cn(\"zen-absolute zen-inset-0\", hover !== null && \"zen-bg-zen-primary-soft\")}\n onDragOver={onDragOver}\n onDragLeave={() => setHover(null)}\n onDrop={onDrop}\n >\n {content}\n {hover !== null && hover !== 0 && (\n <span\n aria-hidden=\"true\"\n className=\"zen-pointer-events-none zen-absolute zen-inset-y-0 zen-w-0.5 zen-bg-zen-primary\"\n style={{ insetInlineStart: `${hover * 100}%` }}\n />\n )}\n </div>\n );\n};\n\nconst ProductionBar = ({\n placement,\n row,\n range,\n top,\n onOperationClick,\n mayMove,\n msPerPx,\n onPropose,\n critical,\n barClass,\n accent,\n barPx,\n}: {\n placement: ProductionPlacement<ProductionOperation>;\n row: Row;\n range: PlanningRange;\n top: number;\n onOperationClick?: (operation: ProductionOperation, row: Row) => void;\n mayMove: (operation: ProductionOperation) => boolean;\n msPerPx: number;\n onPropose: (move: ProductionMove) => void;\n critical: boolean;\n barClass?: string;\n accent?: string;\n barPx: number;\n}) => {\n const loc = useLocale();\n const { operation } = placement;\n const placed = placeAppointment(placement.span, range);\n const status = operation.status ?? \"on-track\";\n const progress = operation.percentComplete ?? null;\n const lateMs = productionLateMs(placement.span.end, operation.due) ?? 0;\n const lateText = (() => {\n if (lateMs <= 0) return null;\n const d = durationMessage(lateMs);\n return loc.t(\"productionSchedule.late\", { duration: loc.t(d.key, d.values) });\n })();\n\n /**\n * The booking broken into the stretches the plant is open, with each stretch\n * split again at the point setup ends.\n *\n * Two things are being drawn at once and they are not the same thing: the\n * gaps (the plant is shut) and the changeover (the machine is busy making\n * nothing). Drawing setup as a single leading block would be wrong the moment\n * a changeover spans a lunch break — which is exactly when a planner cares.\n */\n const pieces = React.useMemo(() => {\n if (!placed) return [];\n const from = Math.max(placement.span.start.getTime(), range.start.getTime());\n const to = Math.min(placement.span.end.getTime(), range.end.getTime());\n const total = to - from;\n if (total <= 0) return [];\n\n const setupEnd = placement.setup ? placement.setup.end.getTime() : from;\n const parts = placement.segments ?? [placement.span];\n const out: Array<{ key: number; startPct: number; widthPct: number; setupPct: number }> = [];\n for (const part of parts) {\n const start = Math.max(part.start.getTime(), from);\n const end = Math.min(part.end.getTime(), to);\n if (end <= start) continue;\n const width = end - start;\n // How much of THIS stretch is still changeover.\n const setupWithin = Math.max(0, Math.min(setupEnd, end) - start);\n out.push({\n key: start,\n startPct: ((start - from) / total) * 100,\n widthPct: (width / total) * 100,\n setupPct: (setupWithin / width) * 100,\n });\n }\n return out;\n }, [placed, placement, range]);\n\n /* PHYSICAL pixels of drag, held here and discarded on release. It is the ONLY\n state this component keeps about a move, and deliberately: the proposal\n goes to the caller, who owns whether anything actually happens.\n \n Physical rather than direction-corrected, because it is fed to `translate`,\n which is a physical property — a logical value would send the preview the\n wrong way under RTL while the proposal went the right way, which is the\n kind of thing that looks like a rendering fault rather than a bug. The\n conversion to \"later or earlier in time\" happens once, at the proposal. */\n const [dragPx, setDragPx] = React.useState<number | null>(null);\n const movable = mayMove(operation);\n\n /** Where the booking would start, given a pixel offset. */\n const proposedStart = (px: number) => new Date(placement.span.start.getTime() + px * msPerPx);\n\n const onPointerDown = (event: React.PointerEvent<HTMLButtonElement>) => {\n if (!movable || event.button !== 0) return;\n const originX = event.clientX;\n const target = event.currentTarget;\n /* Captured so the gesture survives the pointer leaving the bar — which it\n does immediately, because the bar is what is moving. */\n target.setPointerCapture(event.pointerId);\n /* Direction-aware: under RTL the axis runs the other way, so dragging left\n moves a job LATER. Reading it from the element rather than from a prop\n keeps it correct inside a nested DirectionProvider. */\n const rtl = getComputedStyle(target).direction === \"rtl\";\n\n let moved = 0;\n const onMove = (e: PointerEvent) => {\n moved = e.clientX - originX;\n setDragPx(moved);\n };\n const finish = (commit: boolean) => {\n target.releasePointerCapture?.(event.pointerId);\n target.removeEventListener(\"pointermove\", onMove);\n target.removeEventListener(\"pointerup\", onUp);\n target.removeEventListener(\"pointercancel\", onCancel);\n window.removeEventListener(\"keydown\", onKey);\n setDragPx(null);\n /* A few pixels is a click, not a drag. Without this every click on a bar\n proposes a move of about ninety seconds. */\n if (commit && Math.abs(moved) > 3) {\n onPropose({ operationId: operation.id, start: proposedStart(moved * (rtl ? -1 : 1)) });\n }\n else if (commit) onOperationClick?.(operation, row);\n };\n const onUp = () => finish(true);\n const onCancel = () => finish(false);\n // Escape abandons the gesture, which is the only way out of a drag that\n // has gone somewhere the user did not mean.\n const onKey = (e: KeyboardEvent) => {\n if (e.key === \"Escape\") finish(false);\n };\n\n target.addEventListener(\"pointermove\", onMove);\n target.addEventListener(\"pointerup\", onUp);\n target.addEventListener(\"pointercancel\", onCancel);\n window.addEventListener(\"keydown\", onKey);\n };\n\n /**\n * The keyboard path, and it is not optional.\n *\n * A drag-only affordance is unreachable for anyone not using a pointer, and\n * \"reschedule\" is the component's primary action once it is switched on.\n * Alt+Arrow nudges by an hour, Shift+Alt+Arrow by a day — modified so the\n * plain arrows keep moving between cells, which is the grid's own navigation\n * and must not be captured by whatever bar happens to be focused.\n */\n const onBarKeyDown = (event: React.KeyboardEvent<HTMLButtonElement>) => {\n if (!movable || !event.altKey) return;\n const rtl = getComputedStyle(event.currentTarget).direction === \"rtl\";\n const forward = rtl ? \"ArrowLeft\" : \"ArrowRight\";\n const backward = rtl ? \"ArrowRight\" : \"ArrowLeft\";\n if (event.key !== forward && event.key !== backward) return;\n event.preventDefault();\n event.stopPropagation();\n const stepMs = (event.shiftKey ? 24 : 1) * 60 * 60_000 * (event.key === forward ? 1 : -1);\n onPropose({\n operationId: operation.id,\n start: new Date(placement.span.start.getTime() + stepMs),\n });\n };\n\n if (!placed) return null;\n\n const title = [\n operation.name,\n operation.order ? loc.t(\"productionSchedule.order\", { order: operation.order }) : null,\n `${formatTime(placement.span.start)} – ${formatTime(placement.span.end)}`,\n placement.setup ? loc.t(\"productionSchedule.inclChangeover\") : null,\n critical ? loc.t(\"productionSchedule.onCriticalPath\") : null,\n lateText,\n progress === null ? null : `${Math.round(progress)}%`,\n ]\n .filter(Boolean)\n .join(\" · \");\n\n /* No Radix Tooltip here, deliberately, and the other two bindings agree.\n The native `title` already carries the same sentence, and a tooltip\n trigger installs pointer handlers on a bar that is DRAGGABLE — they\n compete with the pointer capture the drag depends on. A hover card on\n something you are in the middle of moving is noise anyway. */\n return (\n <button\n type=\"button\"\n /* Reachable, not tabbable: the timeline CELL carries the tab stop,\n and `data-gantt-bar` is how the keyboard scrolls this into view. */\n tabIndex={-1}\n data-gantt-bar=\"\"\n data-gantt-movable={movable ? \"\" : undefined}\n /* One handler, guarded inside, rather than a conditional one. When a\n bar is movable the pointer gesture calls this itself once it has\n told a click from a drag by distance, so attaching it here too\n would fire on both. Kept identical to the Solid binding, where a\n conditional handler also trips solid/reactivity. */\n onClick={() => {\n if (!movable) onOperationClick?.(operation, row);\n }}\n onPointerDown={onPointerDown}\n onKeyDown={onBarKeyDown}\n className={cn(\n \"zen-absolute zen-rounded-zen-sm\",\n \"focus-visible:zen-outline-none focus-visible:zen-ring-2 focus-visible:zen-ring-zen-ring\",\n onOperationClick && \"hover:zen-brightness-95\",\n /* The affordance IS the gate: an operation the caller will not let\n move simply does not offer to. */\n movable && \"zen-cursor-grab active:zen-cursor-grabbing\",\n /* A RING, not a recolour. The bar's fill already carries status, so\n a critical operation cannot be signalled by hue without taking\n that meaning away — and the Float column says \"Critical\" in words\n beside it, because a ring on its own is not a legend. */\n critical && \"zen-ring-2 zen-ring-zen-warning zen-ring-offset-1\",\n dragPx !== null && \"zen-z-20 zen-opacity-80 zen-shadow-zen-md\",\n )}\n style={{\n insetInlineStart: `${placed.startPct}%`,\n width: `${placed.widthPct}%`,\n top,\n height: barPx,\n /* Logical, so the preview follows the pointer under RTL too. */\n ...(dragPx !== null ? { translate: `${dragPx}px` } : null),\n }}\n title={title}\n >\n <span className=\"zen-sr-only\">\n {loc.t(\"productionSchedule.barSpan\", {\n name: operation.name,\n start: formatTime(placement.span.start),\n end: formatTime(placement.span.end),\n changeover: placement.setup ? loc.t(\"productionSchedule.barChangeover\") : \"\",\n progress: progress === null ? \"\" : loc.t(\"productionSchedule.barProgress\", { percent: Math.round(progress) }),\n })}\n {lateText && <>. {lateText}</>}\n </span>\n {pieces.map((piece) => (\n <span\n key={piece.key}\n aria-hidden=\"true\"\n className={cn(\n \"zen-absolute zen-inset-y-0 zen-overflow-hidden zen-rounded-zen-sm zen-border\",\n BAR_CLASS[status],\n barClass,\n )}\n style={{ insetInlineStart: `${piece.startPct}%`, width: `${piece.widthPct}%` }}\n >\n {/* The changeover, in a hatch rather than a colour: it is not a\n lighter kind of work, it is not work. A second solid tone\n would read as a second job. */}\n {piece.setupPct > 0 && (\n <span\n className=\"zen-absolute zen-inset-y-0 zen-start-0 zen-opacity-70\"\n style={{\n width: `${piece.setupPct}%`,\n backgroundImage:\n \"repeating-linear-gradient(45deg, var(--zen-color-muted-fg) 0 2px, transparent 2px 5px)\",\n }}\n />\n )}\n {progress !== null && piece.setupPct < 100 && (\n <span\n className={cn(\"zen-absolute zen-inset-y-0\", FILL_CLASS[status])}\n style={{\n insetInlineStart: `${piece.setupPct}%`,\n width: `${((100 - piece.setupPct) * progress) / 100}%`,\n }}\n />\n )}\n </span>\n ))}\n {/* Late: a solid end cap in the error colour. Status is the bar's fill,\n so lateness gets its own mark rather than a recolour — and words\n in the tooltip and the accessible name. */}\n {/* The caller's stripe at the START, so it never meets the late cap at\n the end — the two marks answer different questions. */}\n {accent && (\n <span\n aria-hidden=\"true\"\n data-production-accent=\"\"\n className=\"zen-absolute zen-inset-y-0 zen-start-0 zen-w-1 zen-rounded-s-zen-sm\"\n style={{ backgroundColor: accent }}\n />\n )}\n {lateMs > 0 && (\n <span\n aria-hidden=\"true\"\n data-late=\"\"\n className=\"zen-absolute zen-inset-y-0 zen-end-0 zen-w-1.5 zen-rounded-e-zen-sm zen-bg-zen-error\"\n />\n )}\n </button>\n );\n};\n\n/**\n * The load histogram: booked working time over available working time, column\n * by column.\n *\n * Bars grow from the BOTTOM and are clipped at 100%, with the overflow drawn in\n * the error tone above the line — so 140% reads as \"40% more than there is\"\n * rather than as a taller bar the eye has to compare against nothing.\n */\nconst ProductionLoadStrip = ({\n columns,\n columnWidths,\n axisWidth,\n paneWidth,\n buckets,\n}: {\n columns: PlanningColumn[];\n columnWidths: number[];\n axisWidth: number;\n paneWidth: number;\n buckets: ProductionLoadBucket[];\n}) => {\n const loc = useLocale();\n return (\n <>\n <div\n className=\"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-px-3 zen-text-xs zen-font-semibold zen-text-zen-muted-fg\"\n style={{ width: paneWidth, insetInlineStart: 0, height: FOOTER_PX }}\n >\n {loc.t(\"productionSchedule.load\")}\n </div>\n <div className=\"zen-flex\" style={{ width: axisWidth, height: FOOTER_PX }}>\n {columns.map((column, i) => {\n const bucket = buckets[i];\n const utilisation = bucket?.utilisation ?? null;\n /* Null is not zero. A shut day has no utilisation to draw, and an empty\n bar there would say the plant was idle rather than closed. */\n const height = utilisation === null ? 0 : Math.min(1, utilisation);\n const over = utilisation === null ? 0 : Math.max(0, Math.min(1, utilisation - 1));\n return (\n <div\n key={column.start.getTime()}\n className={cn(\n \"zen-relative zen-shrink-0 zen-border-e zen-border-zen-border last:zen-border-e-0\",\n utilisation === null && \"zen-bg-zen-muted\",\n )}\n style={{ width: columnWidths[i] }}\n title={\n utilisation === null\n ? loc.t(\"productionSchedule.closed\")\n : loc.t(bucket.overloaded ? \"productionSchedule.ofCapacityOver\" : \"productionSchedule.ofCapacity\", { percent: pct(utilisation) })\n }\n >\n <span\n aria-hidden=\"true\"\n className={cn(\n \"zen-absolute zen-bottom-0 zen-start-0 zen-end-0\",\n bucket?.overloaded ? \"zen-bg-zen-error\" : \"zen-bg-zen-info\",\n )}\n style={{ height: `${height * 100}%` }}\n />\n {over > 0 && (\n <span\n aria-hidden=\"true\"\n className=\"zen-absolute zen-start-0 zen-end-0 zen-top-0 zen-bg-zen-error\"\n style={{ height: `${Math.max(3, over * 100)}%` }}\n />\n )}\n </div>\n );\n })}\n </div>\n </>\n );\n};\n"],"names":["PANE_PX","PANE_LABEL","COL_INDEX","DEFAULT_PANE","LANE_GAP_PX","LANE_PAD_PX","FOOTER_PX","BAR_CLASS","FILL_CLASS","parentIds","resources","out","walk","list","resource","formatTime","d","pct","n","ProductionSchedule","operations","dependencies","showDependencies","calendar","hourStep","setupMatrix","defaultView","viewProp","onViewChange","views","defaultDate","dateProp","onDateChange","expandedProp","defaultExpanded","onExpandedChange","onOperationClick","onReschedule","canReschedule","onPlace","maxLanes","showLoad","showCriticalPath","until","nowProp","columnWidth","hideToolbar","paneColumnsProp","loading","loadingRows","emptyState","rowHeightProp","maxBodyHeight","headerClassName","headerGroupsProp","continuous","density","rowClassName","barClassName","barAccent","dependencyStyle","className","loc","useLocale","innerView","setInnerView","React","innerDate","setInnerDate","innerExpanded","setInnerExpanded","scrollerRef","metrics","setMetrics","useScrollerMetrics","view","anchor","nowFallback","now","nowTime","anchorTime","setDate","next","expandedIds","expandedSet","toggle","id","base","x","planSpan","ganttFitRange","operation","fitRange","headerGroups","requestedPane","paneSpec","key","axis","useScheduleAxis","range","columns","axisWidth","minGapMs","rows","rowIndexById","operationIndex","flattenProductionResources","laneCount","row","laneBar","laneBarPx","rowHeight","scheduleRowPx","stackTop","laneTop","lane","placements","map","placement","connectors","anchors","entry","placed","placeAppointment","index","first","ganttConnectors","totalLoad","roots","all","capacity","sum","productionLoad","rowLoad","whole","cpa","productionCriticalPath","rowFloat","worst","value","paneColumns","INDENT_PX","jsx","ProductionPaneCell","violated","byId","found","productionSequenceConflicts","connectorAccent","connector","connectorStyle","c","editable","mayMove","msPerPx","calendarFor","resourceId","find","inner","propose","move","productionReschedule","setView","from","to","isCritical","renderTrack","ProductionTrack","renderFooter","context","ProductionLoadStrip","cn","_","i","jsxs","Skeleton","EmptyState","EmptyStateIcon","Icon","EmptyStateTitle","EmptyStateDescription","TooltipProvider","ScheduleGrid","formatFloat","minutes","sign","total","hours","rest","column","load","float","onToggle","Fragment","count","Badge","onPropose","barClass","accent","barPx","accepts","hover","setHover","fractionAt","el","clientX","r","f","directionOf","carries","e","PRODUCTION_DRAG_TYPE","onDragOver","onDrop","span","start","snapToMinutes","content","laneIndex","ProductionBar","top","critical","status","progress","lateMs","productionLateMs","lateText","durationMessage","pieces","setupEnd","parts","part","end","width","setupWithin","dragPx","setDragPx","movable","proposedStart","px","onPointerDown","event","originX","target","rtl","moved","onMove","finish","commit","onUp","onCancel","onKey","onBarKeyDown","forward","backward","stepMs","title","piece","columnWidths","paneWidth","buckets","bucket","utilisation","height","over"],"mappings":";;;;;;;;;;;;;;;;;;;;AAsTA,MAAMA,KAAgD;AAAA,EACpD,UAAU;AAAA,EACV,MAAM;AAAA,EACN,UAAU;AAAA,EACV,MAAM;AAAA,EACN,OAAO;AACT,GAEMC,KAAuD;AAAA,EAC3D,UAAU;AAAA,EACV,MAAM;AAAA,EACN,UAAU;AAAA,EACV,MAAM;AAAA;AAAA;AAAA;AAAA,EAIN,OAAO;AACT,GAGMC,KAA+D;AAAA,EACnE,UAAU;AAAA,EACV,MAAM;AAAA,EACN,UAAU;AAAA,EACV,MAAM;AAAA,EACN,OAAO;AAAA,EACP,UAAU;AACZ,GAEMC,KAAuC,CAAC,YAAY,QAAQ,YAAY,MAAM,GAI9EC,KAAc,GAEdC,KAAc,IAEdC,KAAY,IAEZC,KAA6C;AAAA,EACjD,eAAe;AAAA,EACf,YAAY;AAAA,EACZ,SAAS;AAAA,EACT,UAAU;AACZ,GAEMC,KAA8C;AAAA,EAClD,eAAe;AAAA,EACf,YAAY;AAAA,EACZ,SAAS;AAAA,EACT,UAAU;AACZ,GAEMC,KAAY,CAACC,MAA8C;AAC/D,QAAMC,IAAgB,CAAA,GAChBC,IAAO,CAACC,MAA+B;AAC3C,eAAWC,KAAYD;AACrB,MAAIC,EAAS,YAAYA,EAAS,SAAS,SAAS,MAClDH,EAAI,KAAKG,EAAS,EAAE,GACpBF,EAAKE,EAAS,QAAQ;AAAA,EAG5B;AACA,SAAAF,EAAKF,CAAS,GACPC;AACT,GAEMI,KAAa,CAACC,MAClB,GAAGA,EAAE,QAAA,CAAS,IAAIA,EAAE,eAAe,QAAW,EAAE,OAAO,QAAA,CAAS,CAAC,IAAI,OAAOA,EAAE,UAAU,EAAE,SAAS,GAAG,GAAG,CAAC,IAAI,OAAOA,EAAE,YAAY,EAAE,SAAS,GAAG,GAAG,CAAC,IAEjJC,KAAM,CAACC,MAAc,GAAG,KA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A;AAAA,UACjD;AAAA,QAAA;AAAA,QAzBG3E,EAAO,MAAM,QAAA;AAAA,MAAQ;AAAA,IA6BhC,CAAC,EAAA,CACH;AAAA,EAAA,GACF;AAEF;"}
|
package/dist/index112.js
ADDED
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
import { ganttWorkingMs as D, ganttWorkingSegments as F, ganttAddWorkingMs as R, ganttSubWorkingMs as N } from "./index110.js";
|
|
2
|
+
function O(a, s, d) {
|
|
3
|
+
const n = a.minutes ?? {}, o = d ?? "*", e = [
|
|
4
|
+
s === null ? void 0 : n[s]?.[o],
|
|
5
|
+
s === null ? void 0 : n[s]?.["*"],
|
|
6
|
+
n["*"]?.[o],
|
|
7
|
+
n["*"]?.["*"]
|
|
8
|
+
];
|
|
9
|
+
for (const t of e)
|
|
10
|
+
if (typeof t == "number") return Math.max(0, t);
|
|
11
|
+
return Math.max(0, a.fallbackMinutes ?? 0);
|
|
12
|
+
}
|
|
13
|
+
function B(a, s) {
|
|
14
|
+
const d = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
|
|
15
|
+
for (const o of a) {
|
|
16
|
+
const e = n.get(o.resourceId);
|
|
17
|
+
e ? e.push(o) : n.set(o.resourceId, [o]);
|
|
18
|
+
}
|
|
19
|
+
for (const o of n.values()) {
|
|
20
|
+
const e = [...o].sort((r, u) => r.start.getTime() - u.start.getTime());
|
|
21
|
+
let t = null;
|
|
22
|
+
for (const r of e)
|
|
23
|
+
d.set(r.id, O(s, t, r.setupFamily ?? null)), t = r.setupFamily ?? null;
|
|
24
|
+
}
|
|
25
|
+
return d;
|
|
26
|
+
}
|
|
27
|
+
const L = 6e4;
|
|
28
|
+
function G(a, s, d = {}) {
|
|
29
|
+
const n = (l, p) => s ? R(s, l, p) : new Date(l.getTime() + p), o = Math.max(0, (a.setupMinutes ?? d.setupMinutes ?? 0) * L), e = new Date(a.start.getTime()), t = o > 0 ? n(e, o) : e;
|
|
30
|
+
let r;
|
|
31
|
+
if (a.end)
|
|
32
|
+
r = new Date(Math.max(a.end.getTime(), t.getTime()));
|
|
33
|
+
else if (typeof a.runMinutes == "number" && a.runMinutes > 0)
|
|
34
|
+
r = n(t, a.runMinutes * L);
|
|
35
|
+
else
|
|
36
|
+
return null;
|
|
37
|
+
const u = { start: e, end: r };
|
|
38
|
+
if (u.end.getTime() <= u.start.getTime()) return null;
|
|
39
|
+
let c = null, f = u;
|
|
40
|
+
if (s) {
|
|
41
|
+
const l = F(s, u.start, u.end, d);
|
|
42
|
+
l.length > 0 && (f = { start: l[0].start, end: l[l.length - 1].end }, c = l.length > 1 ? l : null);
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
operation: a,
|
|
46
|
+
setup: o > 0 ? { start: e, end: t } : null,
|
|
47
|
+
run: { start: t, end: r },
|
|
48
|
+
span: f,
|
|
49
|
+
segments: c
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function H(a) {
|
|
53
|
+
const s = [];
|
|
54
|
+
for (const o of a) {
|
|
55
|
+
const e = o.operation.load ?? 1;
|
|
56
|
+
e <= 0 || (s.push({ at: o.span.start.getTime(), delta: e }), s.push({ at: o.span.end.getTime(), delta: -e }));
|
|
57
|
+
}
|
|
58
|
+
s.sort((o, e) => o.at - e.at || o.delta - e.delta);
|
|
59
|
+
let d = 0, n = 0;
|
|
60
|
+
for (const o of s)
|
|
61
|
+
d += o.delta, d > n && (n = d);
|
|
62
|
+
return n;
|
|
63
|
+
}
|
|
64
|
+
function U(a, s) {
|
|
65
|
+
const d = [...a].sort(
|
|
66
|
+
(t, r) => t.span.start.getTime() - r.span.start.getTime() || t.span.end.getTime() - r.span.end.getTime()
|
|
67
|
+
), n = [], o = [];
|
|
68
|
+
let e = 0;
|
|
69
|
+
for (const t of d) {
|
|
70
|
+
const r = t.span.start.getTime();
|
|
71
|
+
let u = !1;
|
|
72
|
+
for (let c = 0; c < n.length; c++)
|
|
73
|
+
if (r >= o[c]) {
|
|
74
|
+
n[c].push(t), o[c] = t.span.end.getTime(), u = !0;
|
|
75
|
+
break;
|
|
76
|
+
}
|
|
77
|
+
if (!u) {
|
|
78
|
+
if (n.length >= s) {
|
|
79
|
+
e += 1;
|
|
80
|
+
continue;
|
|
81
|
+
}
|
|
82
|
+
n.push([t]), o.push(t.span.end.getTime());
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
return { lanes: n, overflow: e };
|
|
86
|
+
}
|
|
87
|
+
function z(a, s, d, n = {}) {
|
|
88
|
+
const { calendar: o, maxLanes: e = 3, setupMatrix: t, ...r } = n, u = t ? B(s, t) : null, c = /* @__PURE__ */ new Map();
|
|
89
|
+
for (const i of s) {
|
|
90
|
+
const g = c.get(i.resourceId);
|
|
91
|
+
g ? g.push(i) : c.set(i.resourceId, [i]);
|
|
92
|
+
}
|
|
93
|
+
const f = (i, g) => {
|
|
94
|
+
for (const h of c.get(i.id) ?? []) g.push(h);
|
|
95
|
+
for (const h of i.children ?? []) f(h, g);
|
|
96
|
+
return g;
|
|
97
|
+
}, l = (i) => {
|
|
98
|
+
if (typeof i.capacity == "number" && i.capacity > 0) return i.capacity;
|
|
99
|
+
const g = i.children ?? [];
|
|
100
|
+
return g.length === 0 ? 1 : g.reduce((h, y) => h + l(y), 0);
|
|
101
|
+
}, p = [], m = /* @__PURE__ */ new Map(), k = /* @__PURE__ */ new Map(), T = (i, g) => {
|
|
102
|
+
m.set(i.id, g);
|
|
103
|
+
for (const h of i.children ?? []) T(h, g);
|
|
104
|
+
}, w = (i, g, h) => {
|
|
105
|
+
const y = i.children ?? [], x = y.length > 0, b = x ? d(i) : !1, v = p.length, P = (M) => M.map(
|
|
106
|
+
(I) => G(I, i.calendar ?? o, {
|
|
107
|
+
...r,
|
|
108
|
+
setupMinutes: u?.get(I.id)
|
|
109
|
+
})
|
|
110
|
+
).filter((I) => I !== null), S = P(f(i, [])), W = b ? P(c.get(i.id) ?? []) : S, { lanes: C, overflow: A } = U(W, e), E = l(i);
|
|
111
|
+
if (p.push({
|
|
112
|
+
resource: i,
|
|
113
|
+
depth: g,
|
|
114
|
+
index: v,
|
|
115
|
+
parentId: h,
|
|
116
|
+
hasChildren: x,
|
|
117
|
+
expanded: b,
|
|
118
|
+
capacity: E,
|
|
119
|
+
lanes: C,
|
|
120
|
+
subtree: S,
|
|
121
|
+
overflow: A,
|
|
122
|
+
/* Over the SUBTREE, not over what is drawn: a cell whose children are
|
|
123
|
+
collectively over its capacity is over capacity whether or not it
|
|
124
|
+
happens to be expanded. Expansion is a view state and must not change
|
|
125
|
+
what the schedule says is wrong. */
|
|
126
|
+
overloaded: H(S) > E
|
|
127
|
+
}), m.set(i.id, v), C.forEach((M, I) => {
|
|
128
|
+
for (const q of M)
|
|
129
|
+
k.set(q.operation.id, { rowIndex: v, lane: I });
|
|
130
|
+
}), !!x)
|
|
131
|
+
if (b) for (const M of y) w(M, g + 1, i.id);
|
|
132
|
+
else for (const M of y) T(M, v);
|
|
133
|
+
};
|
|
134
|
+
for (const i of a) w(i, 0, null);
|
|
135
|
+
return { rows: p, rowIndexById: m, operationIndex: k };
|
|
136
|
+
}
|
|
137
|
+
function J(a, s, d = {}) {
|
|
138
|
+
const { calendar: n, capacity: o = 1 } = d;
|
|
139
|
+
return s.map((e) => {
|
|
140
|
+
const t = e.start.getTime(), r = e.end.getTime(), c = (n ? D(n, e.start, e.end) : Math.max(0, r - t)) * Math.max(0, o);
|
|
141
|
+
let f = 0;
|
|
142
|
+
for (const l of a) {
|
|
143
|
+
const p = l.operation.load ?? 1;
|
|
144
|
+
if (p <= 0) continue;
|
|
145
|
+
const m = l.segments ?? [l.span];
|
|
146
|
+
for (const k of m) {
|
|
147
|
+
const T = Math.max(k.start.getTime(), t), w = Math.min(k.end.getTime(), r);
|
|
148
|
+
w <= T || (f += (n ? D(n, new Date(T), new Date(w)) : w - T) * p);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
return {
|
|
152
|
+
start: e.start,
|
|
153
|
+
end: e.end,
|
|
154
|
+
availableMs: c,
|
|
155
|
+
bookedMs: f,
|
|
156
|
+
utilisation: c > 0 ? f / c : null,
|
|
157
|
+
overloaded: c > 0 && f > c
|
|
158
|
+
};
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
const _ = {
|
|
162
|
+
"finish-to-start": { from: "end", to: "start" },
|
|
163
|
+
"start-to-start": { from: "start", to: "start" },
|
|
164
|
+
"finish-to-finish": { from: "end", to: "end" },
|
|
165
|
+
"start-to-finish": { from: "start", to: "end" }
|
|
166
|
+
};
|
|
167
|
+
function K(a, s, d = {}) {
|
|
168
|
+
const { calendar: n } = d, o = [];
|
|
169
|
+
for (const e of a) {
|
|
170
|
+
if (e.from === e.to) continue;
|
|
171
|
+
const t = s.get(e.from), r = s.get(e.to);
|
|
172
|
+
if (!t || !r) continue;
|
|
173
|
+
const u = e.type ?? "finish-to-start", c = _[u], f = c.from === "end" ? t.span.end : t.span.start, l = c.to === "end" ? r.span.end : r.span.start, p = (e.lagMinutes ?? 0) * L;
|
|
174
|
+
let m;
|
|
175
|
+
p > 0 ? m = n ? R(n, f, p) : new Date(f.getTime() + p) : p < 0 ? m = n ? N(n, f, -p) : new Date(f.getTime() + p) : m = f, l.getTime() < m.getTime() && o.push({
|
|
176
|
+
kind: "sequence",
|
|
177
|
+
resourceId: r.operation.resourceId,
|
|
178
|
+
operationIds: [e.from, e.to]
|
|
179
|
+
});
|
|
180
|
+
}
|
|
181
|
+
return o;
|
|
182
|
+
}
|
|
183
|
+
function Q(a, s, d = {}) {
|
|
184
|
+
const n = [], o = /* @__PURE__ */ new Set(), e = (t) => {
|
|
185
|
+
o.add(t.id);
|
|
186
|
+
for (const r of t.children ?? []) e(r);
|
|
187
|
+
};
|
|
188
|
+
for (const t of a) e(t.resource);
|
|
189
|
+
for (const t of a) {
|
|
190
|
+
const r = t.subtree;
|
|
191
|
+
t.overloaded && n.push({
|
|
192
|
+
kind: "over-capacity",
|
|
193
|
+
resourceId: t.resource.id,
|
|
194
|
+
operationIds: r.map((c) => c.operation.id)
|
|
195
|
+
});
|
|
196
|
+
const u = t.resource.calendar ?? d.calendar;
|
|
197
|
+
if (u)
|
|
198
|
+
for (const c of r)
|
|
199
|
+
D(u, c.span.start, c.span.end) === 0 && n.push({
|
|
200
|
+
kind: "non-working",
|
|
201
|
+
resourceId: t.resource.id,
|
|
202
|
+
operationIds: [c.operation.id]
|
|
203
|
+
});
|
|
204
|
+
}
|
|
205
|
+
for (const t of s)
|
|
206
|
+
o.has(t.resourceId) || n.push({ kind: "unknown-resource", resourceId: t.resourceId, operationIds: [t.id] });
|
|
207
|
+
return n;
|
|
208
|
+
}
|
|
209
|
+
function V(a, s) {
|
|
210
|
+
return s ? Math.max(0, a.getTime() - s.getTime()) : null;
|
|
211
|
+
}
|
|
212
|
+
export {
|
|
213
|
+
z as flattenProductionResources,
|
|
214
|
+
U as packProductionLanes,
|
|
215
|
+
Q as productionConflicts,
|
|
216
|
+
V as productionLateMs,
|
|
217
|
+
J as productionLoad,
|
|
218
|
+
H as productionPeakLoad,
|
|
219
|
+
G as productionPlacement,
|
|
220
|
+
K as productionSequenceConflicts,
|
|
221
|
+
O as productionSetupMinutes,
|
|
222
|
+
B as productionSetupPlan
|
|
223
|
+
};
|
|
224
|
+
//# sourceMappingURL=index112.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index112.js","sources":["../../core/src/production.ts"],"sourcesContent":["/**\n * Layout maths for a production schedule — rows that are MACHINES rather than\n * tasks, and the arithmetic of whether they can do the work booked on them.\n *\n * This is tier (b) of docs/production-scheduling-gap-analysis.md, and it sits\n * on ./gantt rather than beside it: the axis, the connectors, the row window\n * and — critically — the working-time model are all shared, because every\n * number here is a working-time quantity. \"Is this work centre overloaded?\" is\n * *hours booked ÷ hours available*, and both come from `ganttWorkingMs`. That\n * dependency is the whole reason the tiers are in the order they are.\n *\n * Four things a production schedule has that a project one does not:\n *\n * 1. **Many operations per row.** A task owns its row; a machine's day is a\n * sequence of jobs. They are packed into LANES so a double-booking is\n * visible as two bars side by side rather than one drawn over the other.\n * 2. **Setup.** A changeover consumes the machine and produces nothing. It is\n * part of the booking, drawn as a distinct leading stretch, and counted in\n * the load — a plant that ignores setup reports itself 15% less busy than\n * it is.\n * 3. **Finite capacity.** A resource runs `capacity` operations at once (two\n * operators on one cell, four identical presses treated as one row). Past\n * that it is overloaded, and overload is a fact about a BUCKET of time, not\n * about a pair of bars.\n * 4. **Load as a quantity**, per axis column, so the overload has somewhere to\n * be drawn.\n *\n * READ-ONLY, and that is a recorded decision rather than an omission — see\n * DECISION 2 in the gap analysis. Nothing here mutates a schedule or proposes\n * one. Conflicts are COMPUTED AND REPORTED, never enforced: overtime gets\n * authorised, due dates get renegotiated, and a supervisor may knowingly\n * double-book a machine that has two operators. A module that refused the\n * booking would be wrong in every plant whose rules differ from the ones we\n * guessed.\n *\n * As in ./gantt and ./planning, everything is the caller's local `Date`,\n * deliberately unconverted, and every failure here is silent — an operation\n * packed into the wrong lane is a plausible schedule, a load bucket that\n * forgot setup is a plausible number. scripts/check-production.ts is where\n * they are pinned.\n */\n\nimport {\n ganttAddWorkingMs,\n ganttSubWorkingMs,\n ganttWorkingMs,\n ganttWorkingSegments,\n type GanttCalendar,\n type GanttDependency,\n type GanttDependencyType,\n type GanttSegmentOptions,\n type GanttSpan,\n type GanttTaskStatus,\n} from \"./gantt\";\nimport type { PlanningColumn } from \"./planning\";\n\n/**\n * The minimum an operation must have for the maths to work. A binding's own\n * type adds the display fields — name, order, lot, quantity — and extends this.\n */\nexport interface ProductionOperationNode {\n id: string;\n /** The resource it is booked on. Must name a resource in the tree. */\n resourceId: string;\n /** When the machine is claimed — the start of SETUP, not of the run. */\n start: Date;\n /**\n * Run time in WORKING minutes, resolved through the calendar. This is the\n * normal way to state an operation: how long the work takes is a property of\n * the job, and when it lands is a property of the plant's shifts.\n */\n runMinutes?: number;\n /**\n * An explicit end, which wins over `runMinutes` — a stated end is a\n * statement, a duration is a derivation. Measured from the end of setup.\n */\n end?: Date;\n /**\n * Changeover before the run, in working minutes. It occupies the machine and\n * makes nothing, which is exactly why it has to be counted rather than\n * assumed away.\n *\n * A stated number is a STATEMENT and wins over anything derived, the same way\n * `end` wins over `runMinutes`. Leave it off and a `ProductionSetupMatrix`\n * derives it from what ran before — see `setupFamily`.\n */\n setupMinutes?: number;\n /**\n * What this operation is, for changeover purposes — a product, a colour, a\n * material, a tooling set.\n *\n * Changeover is SEQUENCE-DEPENDENT and that is not a refinement: going from\n * white paint to black costs minutes, and black to white costs an hour of\n * washing out. A per-operation duration cannot express a cost that depends on\n * what the machine did before, so the matrix is keyed on the pair.\n */\n setupFamily?: string;\n /**\n * When the operation is due. Optional: a bar that ends after it is drawn\n * late and says by how much (`productionLateMs`). Reported, never enforced —\n * due dates get renegotiated.\n */\n due?: Date;\n /**\n * How much of the resource's capacity this consumes. Default 1. A job that\n * needs both operators on a two-operator cell is 2.\n */\n load?: number;\n percentComplete?: number;\n status?: GanttTaskStatus;\n}\n\n/**\n * A machine, a cell, a line, a whole plant. They nest, and a parent shows its\n * descendants' work when it is collapsed — the same projection `flattenGanttTasks`\n * makes, for the same reason: a folded row that showed nothing would read as a\n * line with no work on it.\n */\nexport interface ProductionResourceNode {\n id: string;\n /**\n * How many operations can run at once. Default 1.\n *\n * On a PARENT this is its own number, not the sum of its children's — a line\n * of four machines has whatever capacity the line itself has, which is\n * usually four but is a fact somebody has to state rather than one to infer.\n * Omit it on a parent and the sum of the children is used, because that is\n * the answer that is right more often than 1 is.\n */\n capacity?: number;\n /**\n * This resource's own working calendar, overriding the chart's. A furnace on\n * continuous run inside a plant on two shifts is the case this exists for.\n */\n calendar?: GanttCalendar;\n children?: ProductionResourceNode[];\n}\n\n/**\n * What a changeover costs, per (from, to) pair of setup families.\n *\n * `\"*\"` matches anything on either side, so a plant with one expensive\n * transition writes that one rule and a fallback rather than an N×N table it\n * has to maintain. Lookup is most-specific-first and pinned in\n * scripts/check-production.ts, because \"which rule won\" is exactly the kind of\n * thing that is invisible once it is drawn.\n */\nexport interface ProductionSetupMatrix {\n /** `minutes[fromFamily][toFamily]`, either key optionally `\"*\"`. */\n minutes: Record<string, Record<string, number>>;\n /** When nothing matches. Default 0 — no rule means no changeover, not a guess. */\n fallbackMinutes?: number;\n}\n\n/**\n * The changeover from `from` to `to`, in working minutes.\n *\n * `from` is null for the first operation on a resource: there is nothing to\n * change over FROM, and charging a full changeover for it would inflate every\n * shift's first job. A plant that really does pay a warm-up writes a `\"*\"` rule\n * against its own family and gets it that way, deliberately rather than by\n * default.\n */\nexport function productionSetupMinutes(\n matrix: ProductionSetupMatrix,\n from: string | null,\n to: string | null,\n): number {\n const rows = matrix.minutes ?? {};\n const target = to ?? \"*\";\n const candidates: Array<number | undefined> = [\n from === null ? undefined : rows[from]?.[target],\n from === null ? undefined : rows[from]?.[\"*\"],\n rows[\"*\"]?.[target],\n rows[\"*\"]?.[\"*\"],\n ];\n for (const value of candidates) {\n if (typeof value === \"number\") return Math.max(0, value);\n }\n return Math.max(0, matrix.fallbackMinutes ?? 0);\n}\n\n/**\n * Each operation's changeover, derived from what ran before it on the same\n * resource.\n *\n * TIME ORDER, not lane order. Lanes are a packing artefact — which lane a job\n * lands in depends on what else overlapped it — so attributing a changeover to\n * \"the previous job in lane 1\" would make the cost depend on how the chart drew\n * itself. The previous job in TIME on that machine is the physical answer, and\n * on a capacity-1 resource it is the only one. On a multi-capacity resource it\n * is an approximation, and a deliberate one: which spindle or operator picked\n * the job up is not modelled here, so neither is a per-spindle changeover.\n *\n * NOT CIRCULAR, though it looks it. Setup changes a span, spans decide lane\n * packing — but the ordering used here is by the caller's `start`, which is\n * given and which nothing derives. So: order by start, derive setups, build\n * spans, then pack.\n */\nexport function productionSetupPlan<O extends ProductionOperationNode>(\n operations: O[],\n matrix: ProductionSetupMatrix,\n): Map<string, number> {\n const out = new Map<string, number>();\n const byResource = new Map<string, O[]>();\n for (const operation of operations) {\n const list = byResource.get(operation.resourceId);\n if (list) list.push(operation);\n else byResource.set(operation.resourceId, [operation]);\n }\n\n for (const list of byResource.values()) {\n const ordered = [...list].sort((a, b) => a.start.getTime() - b.start.getTime());\n let previous: string | null = null;\n for (const operation of ordered) {\n out.set(operation.id, productionSetupMinutes(matrix, previous, operation.setupFamily ?? null));\n previous = operation.setupFamily ?? null;\n }\n }\n return out;\n}\n\n/** An operation resolved onto the clock: where setup ends and the run begins. */\nexport interface ProductionPlacement<O extends ProductionOperationNode = ProductionOperationNode> {\n operation: O;\n /** The changeover, or null when there is none. */\n setup: GanttSpan | null;\n /** The work itself. */\n run: GanttSpan;\n /** setup.start (or run.start) through run.end — what the machine is claimed for. */\n span: GanttSpan;\n /**\n * The stretches of `span` where the plant is actually open, or null when the\n * booking is drawn whole. Same contract as `GanttRow.segments`: whenever\n * segments exist, `span` has been clamped to them.\n */\n segments: GanttSpan[] | null;\n}\n\n/** One visible line of the chart: a resource, and the work packed onto it. */\nexport interface ProductionRow<\n R extends ProductionResourceNode = ProductionResourceNode,\n O extends ProductionOperationNode = ProductionOperationNode,\n> {\n resource: R;\n depth: number;\n index: number;\n parentId: string | null;\n hasChildren: boolean;\n expanded: boolean;\n /** What the resource can run at once, resolved through the parent rule above. */\n capacity: number;\n /**\n * Operations packed so that no lane holds two that overlap. Lane 0 is the\n * one nearest the top.\n *\n * Packing rather than stacking-by-index: sorting into \"first lane that is\n * free\" keeps a busy machine's day on ONE line when nothing overlaps, which\n * is the common case, and only grows when there is a genuine double-booking\n * to show.\n */\n lanes: ProductionPlacement<O>[][];\n /**\n * Every placement in this resource's SUBTREE, regardless of expansion — what\n * the row is responsible for, as opposed to what it draws.\n *\n * They are not the same question and answering both with `lanes` gets one of\n * them wrong. An expanded parent draws nothing (its children draw its work\n * once each), so a load computed from `lanes` reports a busy cell as 0%\n * loaded — which reads as an idle machine rather than as a row that delegates.\n * Capacity and load are always about the subtree; the bars are about the row.\n */\n subtree: ProductionPlacement<O>[];\n /** Operations that did not fit inside `maxLanes`. Reported, never dropped silently. */\n overflow: number;\n /**\n * True where more capacity is consumed at some instant than the resource has.\n *\n * NOT the same as \"has more than one lane\": a two-operator cell running two\n * jobs at once is two lanes and perfectly fine. Overload is about `capacity`,\n * and conflating the two is how a correct schedule gets painted red.\n */\n overloaded: boolean;\n}\n\nexport interface ProductionFlatten<\n R extends ProductionResourceNode = ProductionResourceNode,\n O extends ProductionOperationNode = ProductionOperationNode,\n> {\n rows: ProductionRow<R, O>[];\n /**\n * EVERY resource id, visible or not, mapped to the row that represents it —\n * a resource inside a collapsed parent maps to the ancestor it folded into,\n * so a connector touching its work still has somewhere to point.\n */\n rowIndexById: Map<string, number>;\n /** Every operation id to the row it is drawn on, and the lane it landed in. */\n operationIndex: Map<string, { rowIndex: number; lane: number }>;\n}\n\nconst MINUTE = 60_000;\n\n/**\n * Where an operation actually sits, with setup resolved through the calendar.\n *\n * Setup FIRST, then the run — and both through working time, which is the\n * whole point. A 45-minute changeover starting at 16:30 on a shift that ends at\n * 17:00 does not finish at 17:15; it finishes at 06:15 the next morning, and\n * the run has not started yet. Wall-clock arithmetic reports this operation as\n * done before anybody arrives.\n *\n * Returns null when there is nothing to draw: no positive duration and no\n * explicit end. A zero-length booking is not a milestone here — a machine\n * claimed for no time is a data error, and inventing a width would hide it.\n */\nexport interface ProductionPlacementOptions extends GanttSegmentOptions {\n /**\n * Changeover derived from the sequence, used only when the operation does not\n * state its own. A stated `setupMinutes` is a statement and wins.\n */\n setupMinutes?: number;\n}\n\nexport function productionPlacement<O extends ProductionOperationNode>(\n operation: O,\n calendar?: GanttCalendar,\n segmentOptions: ProductionPlacementOptions = {},\n): ProductionPlacement<O> | null {\n const add = (from: Date, ms: number): Date =>\n calendar ? ganttAddWorkingMs(calendar, from, ms) : new Date(from.getTime() + ms);\n\n const setupMs = Math.max(0, (operation.setupMinutes ?? segmentOptions.setupMinutes ?? 0) * MINUTE);\n const setupStart = new Date(operation.start.getTime());\n const runStart = setupMs > 0 ? add(setupStart, setupMs) : setupStart;\n\n let runEnd: Date;\n if (operation.end) {\n // An explicit end is measured from where the run begins, so adding setup to\n // an operation never silently shortens the work it was going to do.\n runEnd = new Date(Math.max(operation.end.getTime(), runStart.getTime()));\n } else if (typeof operation.runMinutes === \"number\" && operation.runMinutes > 0) {\n runEnd = add(runStart, operation.runMinutes * MINUTE);\n } else {\n return null;\n }\n\n const span = { start: setupStart, end: runEnd };\n if (span.end.getTime() <= span.start.getTime()) return null;\n\n let segments: GanttSpan[] | null = null;\n let clamped = span;\n if (calendar) {\n const parts = ganttWorkingSegments(calendar, span.start, span.end, segmentOptions);\n if (parts.length > 0) {\n /* Clamped to the working stretches, exactly as GanttRow.span is: an\n unclamped envelope would put a routing arrow two days left of a bar\n whose first working segment is Monday. */\n clamped = { start: parts[0].start, end: parts[parts.length - 1].end };\n segments = parts.length > 1 ? parts : null;\n }\n }\n\n return {\n operation,\n setup: setupMs > 0 ? { start: setupStart, end: runStart } : null,\n run: { start: runStart, end: runEnd },\n span: clamped,\n segments,\n };\n}\n\n/**\n * The most capacity consumed at any one instant, and when.\n *\n * A sweep over the endpoints rather than a pairwise overlap test: pairwise is\n * O(n²) and, worse, answers the wrong question — three jobs that overlap only\n * two-at-a-time never exceed a capacity of 2, and a pairwise check would flag\n * the resource anyway.\n */\nexport function productionPeakLoad(placements: ProductionPlacement[]): number {\n const events: Array<{ at: number; delta: number }> = [];\n for (const placement of placements) {\n const load = placement.operation.load ?? 1;\n if (load <= 0) continue;\n events.push({ at: placement.span.start.getTime(), delta: load });\n events.push({ at: placement.span.end.getTime(), delta: -load });\n }\n // Ends before starts at the same instant: a job finishing at 14:00 and the\n // next starting at 14:00 is a handover, not a double-booking.\n events.sort((a, b) => a.at - b.at || a.delta - b.delta);\n\n let current = 0;\n let peak = 0;\n for (const event of events) {\n current += event.delta;\n if (current > peak) peak = current;\n }\n return peak;\n}\n\n/**\n * Pack placements into lanes, so no lane holds two that overlap.\n *\n * First-fit over lanes sorted by start. Anything past `maxLanes` is refused\n * rather than dropped — the caller reports the count, because a row that\n * quietly hid six jobs is the worst failure this module can have.\n */\nexport function packProductionLanes<O extends ProductionOperationNode>(\n placements: ProductionPlacement<O>[],\n maxLanes: number,\n): { lanes: ProductionPlacement<O>[][]; overflow: number } {\n const sorted = [...placements].sort(\n (a, b) => a.span.start.getTime() - b.span.start.getTime() || a.span.end.getTime() - b.span.end.getTime(),\n );\n\n const lanes: ProductionPlacement<O>[][] = [];\n const lastEnd: number[] = [];\n let overflow = 0;\n\n for (const placement of sorted) {\n const start = placement.span.start.getTime();\n let placed = false;\n for (let i = 0; i < lanes.length; i++) {\n // `>=` so a job starting exactly when the previous one ends shares a lane.\n if (start >= lastEnd[i]) {\n lanes[i].push(placement);\n lastEnd[i] = placement.span.end.getTime();\n placed = true;\n break;\n }\n }\n if (placed) continue;\n if (lanes.length >= maxLanes) {\n overflow += 1;\n continue;\n }\n lanes.push([placement]);\n lastEnd.push(placement.span.end.getTime());\n }\n\n return { lanes, overflow };\n}\n\nexport interface ProductionFlattenOptions extends GanttSegmentOptions {\n /** The plant's calendar. A resource's own `calendar` overrides it. */\n calendar?: GanttCalendar;\n /**\n * Sequence-dependent changeover. With one supplied, an operation that states\n * no `setupMinutes` gets one derived from what ran before it on the same\n * resource — see `productionSetupPlan`.\n */\n setupMatrix?: ProductionSetupMatrix;\n /**\n * How many lanes a row may grow to. Default 3.\n *\n * Bounded because rows are a FIXED height — the window and the connector\n * routes both depend on it — so lanes are drawn by dividing a row rather than\n * by growing one. Past three the bars are thinner than the gap between them.\n */\n maxLanes?: number;\n}\n\n/**\n * The resource tree, projected onto the rows on screen, with the work packed on.\n *\n * A collapsed parent carries every operation booked anywhere beneath it, which\n * is what makes folding a line up into one row show the line's actual load\n * rather than an empty strip.\n */\nexport function flattenProductionResources<\n R extends ProductionResourceNode,\n O extends ProductionOperationNode,\n>(\n resources: R[],\n operations: O[],\n isExpanded: (resource: R) => boolean,\n options: ProductionFlattenOptions = {},\n): ProductionFlatten<R, O> {\n const { calendar, maxLanes = 3, setupMatrix, ...segmentOptions } = options;\n\n /* Derived ONCE for the whole set, before anything is placed: a changeover\n depends on the operation before it on that machine, so it cannot be worked\n out row by row while the rows are being built. */\n const setups = setupMatrix ? productionSetupPlan(operations, setupMatrix) : null;\n\n const byResource = new Map<string, O[]>();\n for (const operation of operations) {\n const list = byResource.get(operation.resourceId);\n if (list) list.push(operation);\n else byResource.set(operation.resourceId, [operation]);\n }\n\n /** Every operation booked on `resource` or anything under it. */\n const collect = (resource: ProductionResourceNode, into: O[]): O[] => {\n for (const operation of byResource.get(resource.id) ?? []) into.push(operation);\n for (const child of resource.children ?? []) collect(child, into);\n return into;\n };\n\n /** Stated, or the sum of the children, or 1. See ProductionResourceNode. */\n const capacityOf = (resource: ProductionResourceNode): number => {\n if (typeof resource.capacity === \"number\" && resource.capacity > 0) return resource.capacity;\n const children = resource.children ?? [];\n if (children.length === 0) return 1;\n return children.reduce((sum, child) => sum + capacityOf(child), 0);\n };\n\n const rows: ProductionRow<R, O>[] = [];\n const rowIndexById = new Map<string, number>();\n const operationIndex = new Map<string, { rowIndex: number; lane: number }>();\n\n const claim = (resource: ProductionResourceNode, index: number): void => {\n rowIndexById.set(resource.id, index);\n for (const child of resource.children ?? []) claim(child, index);\n };\n\n const walk = (resource: R, depth: number, parentId: string | null): void => {\n const children = (resource.children ?? []) as R[];\n const hasChildren = children.length > 0;\n const expanded = hasChildren ? isExpanded(resource) : false;\n const index = rows.length;\n\n /* Its own work when open, everything beneath it when closed. An open parent\n showing its children's work too would draw every bar twice. */\n const place = (list: O[]) =>\n list\n .map((operation) =>\n productionPlacement(operation, resource.calendar ?? calendar, {\n ...segmentOptions,\n setupMinutes: setups?.get(operation.id),\n }),\n )\n .filter((p): p is ProductionPlacement<O> => p !== null);\n\n const subtree = place(collect(resource, []));\n /* Drawn: its own work when open, everything beneath it when closed. An open\n parent drawing its children's work too would render every bar twice. */\n const drawn = expanded ? place(byResource.get(resource.id) ?? []) : subtree;\n\n const { lanes, overflow } = packProductionLanes(drawn, maxLanes);\n const capacity = capacityOf(resource);\n\n rows.push({\n resource,\n depth,\n index,\n parentId,\n hasChildren,\n expanded,\n capacity,\n lanes,\n subtree,\n overflow,\n /* Over the SUBTREE, not over what is drawn: a cell whose children are\n collectively over its capacity is over capacity whether or not it\n happens to be expanded. Expansion is a view state and must not change\n what the schedule says is wrong. */\n overloaded: productionPeakLoad(subtree) > capacity,\n });\n rowIndexById.set(resource.id, index);\n lanes.forEach((lane, laneIndex) => {\n for (const placement of lane) {\n operationIndex.set(placement.operation.id, { rowIndex: index, lane: laneIndex });\n }\n });\n\n if (!hasChildren) return;\n if (expanded) for (const child of children) walk(child, depth + 1, resource.id);\n else for (const child of children) claim(child, index);\n };\n\n for (const resource of resources) walk(resource, 0, null);\n return { rows, rowIndexById, operationIndex };\n}\n\n/** How busy a resource is over one column of the axis. */\nexport interface ProductionLoadBucket {\n start: Date;\n end: Date;\n /** Working milliseconds the resource offers here — open time × capacity. */\n availableMs: number;\n /** Working milliseconds booked, SETUP INCLUDED. */\n bookedMs: number;\n /**\n * `bookedMs / availableMs`, or null where nothing is available.\n *\n * Null rather than 0 or Infinity, and the distinction matters: a Sunday on a\n * 24/5 plant has no capacity and no work, which is not 0% utilised — it is\n * not a question. Drawing it as an empty bar says the plant was idle.\n */\n utilisation: number | null;\n /** Booked past what is available. Reported; never enforced. */\n overloaded: boolean;\n}\n\nexport interface ProductionLoadOptions {\n calendar?: GanttCalendar;\n /** Parallel capacity. Default 1. */\n capacity?: number;\n}\n\n/**\n * Load per axis column — the number the histogram under the chart draws.\n *\n * Both sides are WORKING quantities, which is the whole argument for tier (a)\n * coming first. Available time is the plant's open hours in the column, times\n * capacity; booked time is the working part of each operation's span, setup\n * included. Measure either in wall clock and the answer is wrong on exactly the\n * columns that matter — the ones next to a shutdown, where wall-clock booking\n * runs through hours the plant did not have.\n *\n * Clipped to the column, so an operation spanning four days contributes each\n * day its own share rather than all of it to the first.\n */\nexport function productionLoad(\n placements: ProductionPlacement[],\n columns: PlanningColumn[],\n options: ProductionLoadOptions = {},\n): ProductionLoadBucket[] {\n const { calendar, capacity = 1 } = options;\n\n return columns.map((column) => {\n const from = column.start.getTime();\n const to = column.end.getTime();\n const openMs = calendar ? ganttWorkingMs(calendar, column.start, column.end) : Math.max(0, to - from);\n const availableMs = openMs * Math.max(0, capacity);\n\n let bookedMs = 0;\n for (const placement of placements) {\n const load = placement.operation.load ?? 1;\n if (load <= 0) continue;\n /* Over the SEGMENTS where they exist, not the envelope: a job that spans\n a weekend books no time on Saturday, and charging it there would show a\n shut plant at 100%. */\n const parts = placement.segments ?? [placement.span];\n for (const part of parts) {\n const start = Math.max(part.start.getTime(), from);\n const end = Math.min(part.end.getTime(), to);\n if (end <= start) continue;\n bookedMs +=\n (calendar ? ganttWorkingMs(calendar, new Date(start), new Date(end)) : end - start) * load;\n }\n }\n\n return {\n start: column.start,\n end: column.end,\n availableMs,\n bookedMs,\n utilisation: availableMs > 0 ? bookedMs / availableMs : null,\n overloaded: availableMs > 0 && bookedMs > availableMs,\n };\n });\n}\n\n/**\n * Whether a routing link is satisfied, and by how much it is not.\n *\n * The four link types anchor at different ends, and getting that wrong reports\n * a healthy schedule as broken: a start-to-start link with four hours of lag\n * asks about the two STARTS, not about the predecessor's finish.\n */\nconst LAG_ANCHORS: Record<GanttDependencyType, { from: \"start\" | \"end\"; to: \"start\" | \"end\" }> = {\n \"finish-to-start\": { from: \"end\", to: \"start\" },\n \"start-to-start\": { from: \"start\", to: \"start\" },\n \"finish-to-finish\": { from: \"end\", to: \"end\" },\n \"start-to-finish\": { from: \"start\", to: \"end\" },\n};\n\n/**\n * Routing links the schedule violates, as data.\n *\n * The earliest the successor MAY sit is the predecessor's anchor plus the lag,\n * measured in working time — four hours of cooling that starts at 16:00 on a\n * single-shift plant is not over at 20:00. A negative lag is a lead and walks\n * backwards through the calendar instead, which is why `ganttSubWorkingMs`\n * exists.\n *\n * REPORTED, NEVER ENFORCED, like everything else here. A planner who knowingly\n * overlaps two operations because the first one's last pallet is already off\n * the machine is not making an error the component should refuse; they are\n * making a decision it should show.\n *\n * A link naming an operation with no placement is skipped rather than reported:\n * \"this link is violated\" about a job that is not on the chart is noise, and\n * `unknown-resource` already covers work that vanished.\n */\nexport function productionSequenceConflicts(\n dependencies: GanttDependency[],\n placements: Map<string, ProductionPlacement>,\n options: { calendar?: GanttCalendar } = {},\n): ProductionConflict[] {\n const { calendar } = options;\n const out: ProductionConflict[] = [];\n\n for (const dependency of dependencies) {\n if (dependency.from === dependency.to) continue;\n const a = placements.get(dependency.from);\n const b = placements.get(dependency.to);\n if (!a || !b) continue;\n\n const type = dependency.type ?? \"finish-to-start\";\n const anchors = LAG_ANCHORS[type];\n const predecessor = anchors.from === \"end\" ? a.span.end : a.span.start;\n const successor = anchors.to === \"end\" ? b.span.end : b.span.start;\n\n const lagMs = (dependency.lagMinutes ?? 0) * MINUTE;\n let earliest: Date;\n if (lagMs > 0) {\n earliest = calendar ? ganttAddWorkingMs(calendar, predecessor, lagMs) : new Date(predecessor.getTime() + lagMs);\n } else if (lagMs < 0) {\n earliest = calendar\n ? ganttSubWorkingMs(calendar, predecessor, -lagMs)\n : new Date(predecessor.getTime() + lagMs);\n } else {\n earliest = predecessor;\n }\n\n if (successor.getTime() < earliest.getTime()) {\n out.push({\n kind: \"sequence\",\n resourceId: b.operation.resourceId,\n operationIds: [dependency.from, dependency.to],\n });\n }\n }\n\n return out;\n}\n\n/** What the schedule says is wrong. Reported to the caller, never acted on. */\nexport type ProductionConflictKind =\n /** More capacity consumed at once than the resource has. */\n | \"over-capacity\"\n /** Booked into time the plant is shut — a holiday, a weekend, a shutdown. */\n | \"non-working\"\n /** Booked on a resource id that is not in the tree. */\n | \"unknown-resource\"\n /** A routing link's lag is not respected — the successor sits too early. */\n | \"sequence\";\n\nexport interface ProductionConflict {\n kind: ProductionConflictKind;\n /** The resource it is about, where there is one. */\n resourceId: string;\n /** The operations involved. Empty for a resource-level finding. */\n operationIds: string[];\n}\n\n/**\n * Everything the schedule can tell is wrong, as data.\n *\n * REPORTED, NOT ENFORCED — the recorded decision, and the one thing about this\n * module that must not drift. Overtime gets authorised, due dates get\n * renegotiated, and a supervisor may knowingly double-book a cell that has two\n * operators today. A module that refused those bookings would be wrong in every\n * plant whose rules differ from the ones we guessed, and it would be wrong\n * invisibly, because the schedule it drew would look fine.\n *\n * `unknown-resource` is the one that is nearly always a bug rather than a\n * choice: an operation naming a resource that does not exist is drawn nowhere\n * at all, so without this it vanishes from the chart in silence.\n */\nexport function productionConflicts<O extends ProductionOperationNode>(\n rows: ProductionRow<ProductionResourceNode, O>[],\n operations: O[],\n options: { calendar?: GanttCalendar } = {},\n): ProductionConflict[] {\n const out: ProductionConflict[] = [];\n const known = new Set<string>();\n const collectIds = (resource: ProductionResourceNode) => {\n known.add(resource.id);\n for (const child of resource.children ?? []) collectIds(child);\n };\n for (const row of rows) collectIds(row.resource);\n\n for (const row of rows) {\n const placements = row.subtree;\n if (row.overloaded) {\n out.push({\n kind: \"over-capacity\",\n resourceId: row.resource.id,\n operationIds: placements.map((p) => p.operation.id),\n });\n }\n\n const calendar = row.resource.calendar ?? options.calendar;\n if (!calendar) continue;\n for (const placement of placements) {\n /* No working time at all inside the booking. `productionPlacement` keeps\n the raw span in that case and draws it whole, deliberately — a bar that\n vanished would read as data that failed to load, where a bar sitting on\n shaded ground reads as \"you have booked into a closed plant\", which is\n the thing the planner has to see. */\n if (ganttWorkingMs(calendar, placement.span.start, placement.span.end) === 0) {\n out.push({\n kind: \"non-working\",\n resourceId: row.resource.id,\n operationIds: [placement.operation.id],\n });\n }\n }\n }\n\n for (const operation of operations) {\n if (!known.has(operation.resourceId)) {\n out.push({ kind: \"unknown-resource\", resourceId: operation.resourceId, operationIds: [operation.id] });\n }\n }\n\n return out;\n}\n\n/**\n * How late something finishing at `end` is against `due`, in ms: 0 when on\n * time (finishing exactly at the due time is on time), null with no due date —\n * which is not \"on time\", nobody said when it was due.\n */\nexport function productionLateMs(end: Date, due: Date | undefined): number | null {\n if (!due) return null;\n return Math.max(0, end.getTime() - due.getTime());\n}\n"],"names":["productionSetupMinutes","matrix","from","to","rows","target","candidates","value","productionSetupPlan","operations","out","byResource","operation","list","ordered","a","b","previous","MINUTE","productionPlacement","calendar","segmentOptions","add","ms","ganttAddWorkingMs","setupMs","setupStart","runStart","runEnd","span","segments","clamped","parts","ganttWorkingSegments","productionPeakLoad","placements","events","placement","load","current","peak","event","packProductionLanes","maxLanes","sorted","lanes","lastEnd","overflow","start","placed","i","flattenProductionResources","resources","isExpanded","options","setupMatrix","setups","collect","resource","into","child","capacityOf","children","sum","rowIndexById","operationIndex","claim","index","walk","depth","parentId","hasChildren","expanded","place","p","subtree","drawn","capacity","lane","laneIndex","productionLoad","columns","column","availableMs","ganttWorkingMs","bookedMs","part","end","LAG_ANCHORS","productionSequenceConflicts","dependencies","dependency","type","anchors","predecessor","successor","lagMs","earliest","ganttSubWorkingMs","productionConflicts","known","collectIds","row","productionLateMs","due"],"mappings":";AAmKO,SAASA,EACdC,GACAC,GACAC,GACQ;AACR,QAAMC,IAAOH,EAAO,WAAW,CAAA,GACzBI,IAASF,KAAM,KACfG,IAAwC;AAAA,IAC5CJ,MAAS,OAAO,SAAYE,EAAKF,CAAI,IAAIG,CAAM;AAAA,IAC/CH,MAAS,OAAO,SAAYE,EAAKF,CAAI,IAAI,GAAG;AAAA,IAC5CE,EAAK,GAAG,IAAIC,CAAM;AAAA,IAClBD,EAAK,GAAG,IAAI,GAAG;AAAA,EAAA;AAEjB,aAAWG,KAASD;AAClB,QAAI,OAAOC,KAAU,iBAAiB,KAAK,IAAI,GAAGA,CAAK;AAEzD,SAAO,KAAK,IAAI,GAAGN,EAAO,mBAAmB,CAAC;AAChD;AAmBO,SAASO,EACdC,GACAR,GACqB;AACrB,QAAMS,wBAAU,IAAA,GACVC,wBAAiB,IAAA;AACvB,aAAWC,KAAaH,GAAY;AAClC,UAAMI,IAAOF,EAAW,IAAIC,EAAU,UAAU;AAChD,IAAIC,IAAMA,EAAK,KAA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