@elaraai/east-ui 1.0.85 → 1.0.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/buttons/button/index.d.ts +4 -0
- package/dist/src/buttons/button/index.d.ts.map +1 -1
- package/dist/src/buttons/button/index.js +8 -1
- package/dist/src/buttons/button/index.js.map +1 -1
- package/dist/src/buttons/button/types.d.ts +6 -5
- package/dist/src/buttons/button/types.d.ts.map +1 -1
- package/dist/src/buttons/button/types.js.map +1 -1
- package/dist/src/buttons/icon-button/index.d.ts +5 -5
- package/dist/src/buttons/icon-button/index.d.ts.map +1 -1
- package/dist/src/buttons/icon-button/index.js +8 -2
- package/dist/src/buttons/icon-button/index.js.map +1 -1
- package/dist/src/buttons/icon-button/types.d.ts +8 -12
- package/dist/src/buttons/icon-button/types.d.ts.map +1 -1
- package/dist/src/buttons/icon-button/types.js +2 -2
- package/dist/src/buttons/icon-button/types.js.map +1 -1
- package/dist/src/buttons/toggle/index.d.ts +4 -0
- package/dist/src/buttons/toggle/index.d.ts.map +1 -1
- package/dist/src/buttons/toggle/index.js +6 -1
- package/dist/src/buttons/toggle/index.js.map +1 -1
- package/dist/src/buttons/toggle/types.d.ts +3 -2
- package/dist/src/buttons/toggle/types.d.ts.map +1 -1
- package/dist/src/buttons/toggle/types.js.map +1 -1
- package/dist/src/charts/chart/index.d.ts.map +1 -1
- package/dist/src/charts/chart/index.js +3 -3
- package/dist/src/charts/chart/index.js.map +1 -1
- package/dist/src/charts/spec/index.d.ts.map +1 -1
- package/dist/src/charts/spec/index.js +5 -2
- package/dist/src/charts/spec/index.js.map +1 -1
- package/dist/src/collections/deck/index.d.ts.map +1 -1
- package/dist/src/collections/deck/index.js +2 -2
- package/dist/src/collections/deck/index.js.map +1 -1
- package/dist/src/collections/index.d.ts +0 -6
- package/dist/src/collections/index.d.ts.map +1 -1
- package/dist/src/collections/index.js +0 -6
- package/dist/src/collections/index.js.map +1 -1
- package/dist/src/collections/library/index.d.ts +1 -1
- package/dist/src/collections/library/index.d.ts.map +1 -1
- package/dist/src/collections/library/index.js +2 -2
- package/dist/src/collections/library/index.js.map +1 -1
- package/dist/src/collections/schematic/index.d.ts.map +1 -1
- package/dist/src/collections/schematic/index.js +2 -2
- package/dist/src/collections/schematic/index.js.map +1 -1
- package/dist/src/collections/table/index.d.ts +1 -1
- package/dist/src/collections/table/index.d.ts.map +1 -1
- package/dist/src/collections/table/index.js +2 -2
- package/dist/src/collections/table/index.js.map +1 -1
- package/dist/src/collections/tree-view/index.d.ts +11 -32
- package/dist/src/collections/tree-view/index.d.ts.map +1 -1
- package/dist/src/collections/tree-view/index.js +15 -10
- package/dist/src/collections/tree-view/index.js.map +1 -1
- package/dist/src/component.d.ts +673 -9344
- package/dist/src/component.d.ts.map +1 -1
- package/dist/src/component.js +5 -259
- package/dist/src/component.js.map +1 -1
- package/dist/src/contracts/approval.d.ts +6 -8
- package/dist/src/contracts/approval.d.ts.map +1 -1
- package/dist/src/contracts/approval.js +6 -8
- package/dist/src/contracts/approval.js.map +1 -1
- package/dist/src/contracts/drag.d.ts +1 -1
- package/dist/src/contracts/drag.d.ts.map +1 -1
- package/dist/src/contracts/drag.js +4 -5
- package/dist/src/contracts/drag.js.map +1 -1
- package/dist/src/contracts/editing.d.ts +19 -19
- package/dist/src/contracts/editing.js +14 -14
- package/dist/src/contracts/fields.d.ts +471 -0
- package/dist/src/contracts/fields.d.ts.map +1 -0
- package/dist/src/contracts/fields.js +492 -0
- package/dist/src/contracts/fields.js.map +1 -0
- package/dist/src/contracts/index.d.ts +1 -0
- package/dist/src/contracts/index.d.ts.map +1 -1
- package/dist/src/contracts/index.js +1 -0
- package/dist/src/contracts/index.js.map +1 -1
- package/dist/src/contracts/indexed-source.d.ts +118 -0
- package/dist/src/contracts/indexed-source.d.ts.map +1 -0
- package/dist/src/contracts/indexed-source.js +89 -0
- package/dist/src/contracts/indexed-source.js.map +1 -0
- package/dist/src/contracts/pick.d.ts +0 -16
- package/dist/src/contracts/pick.d.ts.map +1 -1
- package/dist/src/contracts/review.d.ts +4 -6
- package/dist/src/contracts/review.d.ts.map +1 -1
- package/dist/src/contracts/review.js +4 -6
- package/dist/src/contracts/review.js.map +1 -1
- package/dist/src/contracts/source.d.ts +2 -2
- package/dist/src/contracts/source.d.ts.map +1 -1
- package/dist/src/contracts/source.js.map +1 -1
- package/dist/src/contracts/states.d.ts +1 -3
- package/dist/src/contracts/states.d.ts.map +1 -1
- package/dist/src/contracts/states.js +1 -3
- package/dist/src/contracts/states.js.map +1 -1
- package/dist/src/display/editable-chip/index.d.ts +2 -0
- package/dist/src/display/editable-chip/index.d.ts.map +1 -1
- package/dist/src/display/editable-chip/index.js +4 -1
- package/dist/src/display/editable-chip/index.js.map +1 -1
- package/dist/src/display/icon/index.d.ts +14 -31
- package/dist/src/display/icon/index.d.ts.map +1 -1
- package/dist/src/display/icon/index.js +15 -19
- package/dist/src/display/icon/index.js.map +1 -1
- package/dist/src/display/icon/solid.d.ts +24 -0
- package/dist/src/display/icon/solid.d.ts.map +1 -0
- package/dist/src/display/icon/solid.js +39 -0
- package/dist/src/display/icon/solid.js.map +1 -0
- package/dist/src/display/icon/types.d.ts +14 -38
- package/dist/src/display/icon/types.d.ts.map +1 -1
- package/dist/src/display/icon/types.js +6 -15
- package/dist/src/display/icon/types.js.map +1 -1
- package/dist/src/display/metric-chip/index.d.ts +2 -0
- package/dist/src/display/metric-chip/index.d.ts.map +1 -1
- package/dist/src/display/metric-chip/index.js +4 -1
- package/dist/src/display/metric-chip/index.js.map +1 -1
- package/dist/src/display/stat/index.d.ts +2 -0
- package/dist/src/display/stat/index.d.ts.map +1 -1
- package/dist/src/display/stat/index.js +4 -1
- package/dist/src/display/stat/index.js.map +1 -1
- package/dist/src/display/stat/types.d.ts +3 -5
- package/dist/src/display/stat/types.d.ts.map +1 -1
- package/dist/src/display/stat/types.js +5 -2
- package/dist/src/display/stat/types.js.map +1 -1
- package/dist/src/feedback/banner/index.d.ts +5 -3
- package/dist/src/feedback/banner/index.d.ts.map +1 -1
- package/dist/src/feedback/banner/index.js +4 -1
- package/dist/src/feedback/banner/index.js.map +1 -1
- package/dist/src/feedback/empty-state/index.d.ts +16 -19
- package/dist/src/feedback/empty-state/index.d.ts.map +1 -1
- package/dist/src/feedback/empty-state/index.js +17 -10
- package/dist/src/feedback/empty-state/index.js.map +1 -1
- package/dist/src/feedback/status/index.d.ts +5 -3
- package/dist/src/feedback/status/index.d.ts.map +1 -1
- package/dist/src/feedback/status/index.js +4 -1
- package/dist/src/feedback/status/index.js.map +1 -1
- package/dist/src/index.d.ts +5 -6
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +12 -11
- package/dist/src/index.js.map +1 -1
- package/dist/src/internal.d.ts +23 -16
- package/dist/src/internal.d.ts.map +1 -1
- package/dist/src/internal.js +29 -13
- package/dist/src/internal.js.map +1 -1
- package/dist/src/navigation/index.d.ts +0 -2
- package/dist/src/navigation/index.d.ts.map +1 -1
- package/dist/src/navigation/index.js +0 -2
- package/dist/src/navigation/index.js.map +1 -1
- package/dist/src/navigation/nav-list/index.d.ts +2 -0
- package/dist/src/navigation/nav-list/index.d.ts.map +1 -1
- package/dist/src/navigation/nav-list/index.js +4 -1
- package/dist/src/navigation/nav-list/index.js.map +1 -1
- package/dist/src/navigation/nav-list/types.d.ts +3 -14
- package/dist/src/navigation/nav-list/types.d.ts.map +1 -1
- package/dist/src/navigation/nav-list/types.js.map +1 -1
- package/dist/src/overlays/command-palette/index.d.ts +2 -0
- package/dist/src/overlays/command-palette/index.d.ts.map +1 -1
- package/dist/src/overlays/command-palette/index.js +5 -0
- package/dist/src/overlays/command-palette/index.js.map +1 -1
- package/dist/src/overlays/command-palette/types.d.ts +0 -8
- package/dist/src/overlays/command-palette/types.d.ts.map +1 -1
- package/dist/src/pick/index.d.ts +1 -17
- package/dist/src/pick/index.d.ts.map +1 -1
- package/dist/src/pick/index.js +1 -1
- package/dist/src/platform/slice/index.d.ts +1324 -2039
- package/dist/src/platform/slice/index.d.ts.map +1 -1
- package/dist/src/platform/slice/index.js +55 -74
- package/dist/src/platform/slice/index.js.map +1 -1
- package/dist/src/platform/slice/local.d.ts +743 -0
- package/dist/src/platform/slice/local.d.ts.map +1 -0
- package/dist/src/platform/slice/local.js +133 -0
- package/dist/src/platform/slice/local.js.map +1 -0
- package/dist/src/platform/slice/record-chrome.d.ts +211 -0
- package/dist/src/platform/slice/record-chrome.d.ts.map +1 -0
- package/dist/src/platform/slice/record-chrome.js +52 -0
- package/dist/src/platform/slice/record-chrome.js.map +1 -0
- package/dist/src/platform/slice/record-interval.d.ts +24 -0
- package/dist/src/platform/slice/record-interval.d.ts.map +1 -0
- package/dist/src/platform/slice/record-interval.js +61 -0
- package/dist/src/platform/slice/record-interval.js.map +1 -0
- package/dist/src/platform/slice/record-plan.d.ts +54 -0
- package/dist/src/platform/slice/record-plan.d.ts.map +1 -0
- package/dist/src/platform/slice/record-plan.js +139 -0
- package/dist/src/platform/slice/record-plan.js.map +1 -0
- package/dist/src/platform/slice/record-types.d.ts +2739 -0
- package/dist/src/platform/slice/record-types.d.ts.map +1 -0
- package/dist/src/platform/slice/record-types.js +209 -0
- package/dist/src/platform/slice/record-types.js.map +1 -0
- package/dist/src/platform/slice/record.d.ts +109 -0
- package/dist/src/platform/slice/record.d.ts.map +1 -0
- package/dist/src/platform/slice/record.js +210 -0
- package/dist/src/platform/slice/record.js.map +1 -0
- package/dist/src/reactive/match.d.ts +4 -6
- package/dist/src/reactive/match.d.ts.map +1 -1
- package/dist/src/reactive/match.js +4 -6
- package/dist/src/reactive/match.js.map +1 -1
- package/dist/src/runtime/collections/deck.d.ts.map +1 -1
- package/dist/src/runtime/collections/index.d.ts +0 -6
- package/dist/src/runtime/collections/index.d.ts.map +1 -1
- package/dist/src/runtime/collections/index.js +0 -6
- package/dist/src/runtime/collections/index.js.map +1 -1
- package/dist/src/runtime/display/icon.d.ts +6 -5
- package/dist/src/runtime/display/icon.d.ts.map +1 -1
- package/dist/src/runtime/display/icon.js +6 -5
- package/dist/src/runtime/display/icon.js.map +1 -1
- package/dist/src/runtime/feedback/empty-state.d.ts +5 -5
- package/dist/src/runtime/feedback/empty-state.js +5 -5
- package/dist/src/runtime/layout/dock.d.ts +2 -1
- package/dist/src/runtime/layout/dock.d.ts.map +1 -1
- package/dist/src/runtime/layout/dock.js +2 -1
- package/dist/src/runtime/layout/dock.js.map +1 -1
- package/dist/src/runtime/navigation/index.d.ts +0 -3
- package/dist/src/runtime/navigation/index.d.ts.map +1 -1
- package/dist/src/runtime/navigation/index.js +0 -3
- package/dist/src/runtime/navigation/index.js.map +1 -1
- package/dist/src/runtime/reactive/match.d.ts +2 -3
- package/dist/src/runtime/reactive/match.d.ts.map +1 -1
- package/dist/src/runtime/reactive/match.js +2 -3
- package/dist/src/runtime/reactive/match.js.map +1 -1
- package/dist/src/runtime/record-slice-source.d.ts +78 -0
- package/dist/src/runtime/record-slice-source.d.ts.map +1 -0
- package/dist/src/runtime/record-slice-source.js +201 -0
- package/dist/src/runtime/record-slice-source.js.map +1 -0
- package/dist/src/runtime/record-slice.d.ts +110 -0
- package/dist/src/runtime/record-slice.d.ts.map +1 -0
- package/dist/src/runtime/record-slice.js +374 -0
- package/dist/src/runtime/record-slice.js.map +1 -0
- package/dist/src/runtime/slice.d.ts +11 -13
- package/dist/src/runtime/slice.d.ts.map +1 -1
- package/dist/src/runtime/slice.js +41 -93
- package/dist/src/runtime/slice.js.map +1 -1
- package/dist/src/shared/plot-gutter.d.ts +1 -1
- package/dist/src/shared/plot-gutter.js +1 -1
- package/dist/src/shared/resolve-tag.d.ts +23 -0
- package/dist/src/shared/resolve-tag.d.ts.map +1 -0
- package/dist/src/shared/resolve-tag.js +26 -0
- package/dist/src/shared/resolve-tag.js.map +1 -0
- package/dist/src/shared/tree.d.ts +1 -1
- package/dist/src/shared/tree.js +1 -1
- package/dist/src/slice/breakdown/index.d.ts +1 -1
- package/dist/src/slice/breakdown/index.d.ts.map +1 -1
- package/dist/src/slice/breakdown/index.js +3 -3
- package/dist/src/slice/breakdown/index.js.map +1 -1
- package/dist/src/slice/cohort/index.d.ts +4 -5
- package/dist/src/slice/cohort/index.d.ts.map +1 -1
- package/dist/src/slice/cohort/index.js +6 -7
- package/dist/src/slice/cohort/index.js.map +1 -1
- package/dist/src/slice/filter/index.d.ts +1 -1
- package/dist/src/slice/filter/index.d.ts.map +1 -1
- package/dist/src/slice/filter/index.js +3 -3
- package/dist/src/slice/filter/index.js.map +1 -1
- package/dist/src/slice/index.d.ts +20 -2230
- package/dist/src/slice/index.d.ts.map +1 -1
- package/dist/src/slice/legend/index.d.ts +2 -2
- package/dist/src/slice/legend/index.d.ts.map +1 -1
- package/dist/src/slice/legend/index.js +4 -4
- package/dist/src/slice/legend/index.js.map +1 -1
- package/dist/src/slice/rail/index.d.ts +7 -4
- package/dist/src/slice/rail/index.d.ts.map +1 -1
- package/dist/src/slice/rail/index.js +10 -5
- package/dist/src/slice/rail/index.js.map +1 -1
- package/dist/src/slice/range/index.d.ts +1 -1
- package/dist/src/slice/range/index.d.ts.map +1 -1
- package/dist/src/slice/range/index.js +3 -3
- package/dist/src/slice/range/index.js.map +1 -1
- package/dist/src/slice/record/index.d.ts +171 -0
- package/dist/src/slice/record/index.d.ts.map +1 -0
- package/dist/src/slice/record/index.js +10 -0
- package/dist/src/slice/record/index.js.map +1 -0
- package/dist/src/slice/search/index.d.ts +6 -6
- package/dist/src/slice/search/index.d.ts.map +1 -1
- package/dist/src/slice/search/index.js +7 -7
- package/dist/src/slice/search/index.js.map +1 -1
- package/dist/src/slice/summary/index.d.ts +1 -1
- package/dist/src/slice/summary/index.d.ts.map +1 -1
- package/dist/src/slice/summary/index.js +3 -3
- package/dist/src/slice/summary/index.js.map +1 -1
- package/dist/src/typography/list/index.d.ts +2 -8
- package/dist/src/typography/list/index.d.ts.map +1 -1
- package/dist/src/typography/list/index.js +4 -1
- package/dist/src/typography/list/index.js.map +1 -1
- package/dist/src/typography/list/types.d.ts +0 -8
- package/dist/src/typography/list/types.d.ts.map +1 -1
- package/dist/test/collections/deck.examples.d.ts.map +1 -1
- package/dist/test/collections/deck.examples.js +6 -7
- package/dist/test/collections/deck.examples.js.map +1 -1
- package/dist/test/collections/index.d.ts +0 -1
- package/dist/test/collections/index.d.ts.map +1 -1
- package/dist/test/collections/index.js +0 -1
- package/dist/test/collections/index.js.map +1 -1
- package/dist/test/collections/library.examples.d.ts.map +1 -1
- package/dist/test/collections/library.examples.js +6 -7
- package/dist/test/collections/library.examples.js.map +1 -1
- package/dist/test/collections/schematic.examples.d.ts.map +1 -1
- package/dist/test/collections/schematic.examples.js +11 -19
- package/dist/test/collections/schematic.examples.js.map +1 -1
- package/dist/test/collections/tree-view.examples.js +2 -2
- package/dist/test/contracts/editing.examples.d.ts +1 -0
- package/dist/test/contracts/editing.examples.d.ts.map +1 -1
- package/dist/test/contracts/editing.examples.js +37 -6
- package/dist/test/contracts/editing.examples.js.map +1 -1
- package/dist/test/contracts/fields.examples.d.ts +7 -0
- package/dist/test/contracts/fields.examples.d.ts.map +1 -0
- package/dist/test/contracts/fields.examples.js +42 -0
- package/dist/test/contracts/fields.examples.js.map +1 -0
- package/dist/test/display/avatar.examples.d.ts.map +1 -1
- package/dist/test/display/avatar.examples.js +3 -3
- package/dist/test/display/avatar.examples.js.map +1 -1
- package/dist/test/display/icon.examples.d.ts.map +1 -1
- package/dist/test/display/icon.examples.js +12 -11
- package/dist/test/display/icon.examples.js.map +1 -1
- package/dist/test/feedback/empty-state.examples.js +9 -9
- package/dist/test/feedback/empty-state.examples.js.map +1 -1
- package/dist/test/layout/dock.examples.d.ts +0 -8
- package/dist/test/layout/dock.examples.d.ts.map +1 -1
- package/dist/test/layout/dock.examples.js +2 -42
- package/dist/test/layout/dock.examples.js.map +1 -1
- package/dist/test/layout/snap-grid.examples.d.ts.map +1 -1
- package/dist/test/layout/snap-grid.examples.js +18 -28
- package/dist/test/layout/snap-grid.examples.js.map +1 -1
- package/dist/test/navigation/index.d.ts +0 -2
- package/dist/test/navigation/index.d.ts.map +1 -1
- package/dist/test/navigation/index.js +0 -2
- package/dist/test/navigation/index.js.map +1 -1
- package/dist/test/navigation/nav-list.examples.js.map +1 -1
- package/dist/test/platform/index.d.ts +1 -0
- package/dist/test/platform/index.d.ts.map +1 -1
- package/dist/test/platform/index.js +1 -0
- package/dist/test/platform/index.js.map +1 -1
- package/dist/test/platform/slice-local.examples.d.ts +2 -0
- package/dist/test/platform/slice-local.examples.d.ts.map +1 -0
- package/dist/test/platform/slice-local.examples.js +31 -0
- package/dist/test/platform/slice-local.examples.js.map +1 -0
- package/dist/test/platform/slice.examples.js +61 -61
- package/dist/test/platform/slice.examples.js.map +1 -1
- package/dist/test/slice/slice.examples.d.ts +0 -1
- package/dist/test/slice/slice.examples.d.ts.map +1 -1
- package/dist/test/slice/slice.examples.js +67 -181
- package/dist/test/slice/slice.examples.js.map +1 -1
- package/package.json +4 -4
- package/dist/src/collections/board/index.d.ts +0 -855
- package/dist/src/collections/board/index.d.ts.map +0 -1
- package/dist/src/collections/board/index.js +0 -416
- package/dist/src/collections/board/index.js.map +0 -1
- package/dist/src/collections/board/types.d.ts +0 -111
- package/dist/src/collections/board/types.d.ts.map +0 -1
- package/dist/src/collections/board/types.js +0 -89
- package/dist/src/collections/board/types.js.map +0 -1
- package/dist/src/collections/calendar/index.d.ts +0 -446
- package/dist/src/collections/calendar/index.d.ts.map +0 -1
- package/dist/src/collections/calendar/index.js +0 -287
- package/dist/src/collections/calendar/index.js.map +0 -1
- package/dist/src/collections/calendar/types.d.ts +0 -338
- package/dist/src/collections/calendar/types.d.ts.map +0 -1
- package/dist/src/collections/calendar/types.js +0 -206
- package/dist/src/collections/calendar/types.js.map +0 -1
- package/dist/src/collections/flowchart/index.d.ts +0 -430
- package/dist/src/collections/flowchart/index.d.ts.map +0 -1
- package/dist/src/collections/flowchart/index.js +0 -292
- package/dist/src/collections/flowchart/index.js.map +0 -1
- package/dist/src/collections/flowchart/types.d.ts +0 -333
- package/dist/src/collections/flowchart/types.d.ts.map +0 -1
- package/dist/src/collections/flowchart/types.js +0 -263
- package/dist/src/collections/flowchart/types.js.map +0 -1
- package/dist/src/collections/plan/assemble.d.ts +0 -2274
- package/dist/src/collections/plan/assemble.d.ts.map +0 -1
- package/dist/src/collections/plan/assemble.js +0 -210
- package/dist/src/collections/plan/assemble.js.map +0 -1
- package/dist/src/collections/plan/builders.d.ts +0 -765
- package/dist/src/collections/plan/builders.d.ts.map +0 -1
- package/dist/src/collections/plan/builders.js +0 -673
- package/dist/src/collections/plan/builders.js.map +0 -1
- package/dist/src/collections/plan/factories.d.ts +0 -512
- package/dist/src/collections/plan/factories.d.ts.map +0 -1
- package/dist/src/collections/plan/factories.js +0 -539
- package/dist/src/collections/plan/factories.js.map +0 -1
- package/dist/src/collections/plan/index.d.ts +0 -324
- package/dist/src/collections/plan/index.d.ts.map +0 -1
- package/dist/src/collections/plan/index.js +0 -193
- package/dist/src/collections/plan/index.js.map +0 -1
- package/dist/src/collections/plan/ir.d.ts +0 -2490
- package/dist/src/collections/plan/ir.d.ts.map +0 -1
- package/dist/src/collections/plan/ir.js +0 -107
- package/dist/src/collections/plan/ir.js.map +0 -1
- package/dist/src/collections/plan/pick.d.ts +0 -133
- package/dist/src/collections/plan/pick.d.ts.map +0 -1
- package/dist/src/collections/plan/pick.js +0 -208
- package/dist/src/collections/plan/pick.js.map +0 -1
- package/dist/src/collections/plan/root.d.ts +0 -297
- package/dist/src/collections/plan/root.d.ts.map +0 -1
- package/dist/src/collections/plan/root.js +0 -427
- package/dist/src/collections/plan/root.js.map +0 -1
- package/dist/src/collections/plan/series.d.ts +0 -13887
- package/dist/src/collections/plan/series.d.ts.map +0 -1
- package/dist/src/collections/plan/series.js +0 -1710
- package/dist/src/collections/plan/series.js.map +0 -1
- package/dist/src/collections/plan/types.d.ts +0 -12612
- package/dist/src/collections/plan/types.d.ts.map +0 -1
- package/dist/src/collections/plan/types.js +0 -1345
- package/dist/src/collections/plan/types.js.map +0 -1
- package/dist/src/collections/roster/index.d.ts +0 -787
- package/dist/src/collections/roster/index.d.ts.map +0 -1
- package/dist/src/collections/roster/index.js +0 -325
- package/dist/src/collections/roster/index.js.map +0 -1
- package/dist/src/collections/roster/types.d.ts +0 -97
- package/dist/src/collections/roster/types.d.ts.map +0 -1
- package/dist/src/collections/roster/types.js +0 -72
- package/dist/src/collections/roster/types.js.map +0 -1
- package/dist/src/collections/sheet/bridge.d.ts +0 -376
- package/dist/src/collections/sheet/bridge.d.ts.map +0 -1
- package/dist/src/collections/sheet/bridge.js +0 -773
- package/dist/src/collections/sheet/bridge.js.map +0 -1
- package/dist/src/collections/sheet/columns.d.ts +0 -410
- package/dist/src/collections/sheet/columns.d.ts.map +0 -1
- package/dist/src/collections/sheet/columns.js +0 -99
- package/dist/src/collections/sheet/columns.js.map +0 -1
- package/dist/src/collections/sheet/context-bridge.d.ts +0 -48
- package/dist/src/collections/sheet/context-bridge.d.ts.map +0 -1
- package/dist/src/collections/sheet/context-bridge.js +0 -216
- package/dist/src/collections/sheet/context-bridge.js.map +0 -1
- package/dist/src/collections/sheet/draft-bridge.d.ts +0 -37
- package/dist/src/collections/sheet/draft-bridge.d.ts.map +0 -1
- package/dist/src/collections/sheet/draft-bridge.js +0 -153
- package/dist/src/collections/sheet/draft-bridge.js.map +0 -1
- package/dist/src/collections/sheet/drafts.d.ts +0 -14
- package/dist/src/collections/sheet/drafts.d.ts.map +0 -1
- package/dist/src/collections/sheet/drafts.js +0 -14
- package/dist/src/collections/sheet/drafts.js.map +0 -1
- package/dist/src/collections/sheet/editing-bridge.d.ts +0 -36
- package/dist/src/collections/sheet/editing-bridge.d.ts.map +0 -1
- package/dist/src/collections/sheet/editing-bridge.js +0 -196
- package/dist/src/collections/sheet/editing-bridge.js.map +0 -1
- package/dist/src/collections/sheet/editing-types.d.ts +0 -268
- package/dist/src/collections/sheet/editing-types.d.ts.map +0 -1
- package/dist/src/collections/sheet/editing-types.js +0 -34
- package/dist/src/collections/sheet/editing-types.js.map +0 -1
- package/dist/src/collections/sheet/edits.d.ts +0 -37
- package/dist/src/collections/sheet/edits.d.ts.map +0 -1
- package/dist/src/collections/sheet/edits.js +0 -31
- package/dist/src/collections/sheet/edits.js.map +0 -1
- package/dist/src/collections/sheet/group.d.ts +0 -165
- package/dist/src/collections/sheet/group.d.ts.map +0 -1
- package/dist/src/collections/sheet/group.js +0 -52
- package/dist/src/collections/sheet/group.js.map +0 -1
- package/dist/src/collections/sheet/index.d.ts +0 -351
- package/dist/src/collections/sheet/index.d.ts.map +0 -1
- package/dist/src/collections/sheet/index.js +0 -208
- package/dist/src/collections/sheet/index.js.map +0 -1
- package/dist/src/collections/sheet/link.d.ts +0 -398
- package/dist/src/collections/sheet/link.d.ts.map +0 -1
- package/dist/src/collections/sheet/link.js +0 -228
- package/dist/src/collections/sheet/link.js.map +0 -1
- package/dist/src/collections/sheet/registers.d.ts +0 -278
- package/dist/src/collections/sheet/registers.d.ts.map +0 -1
- package/dist/src/collections/sheet/registers.js +0 -268
- package/dist/src/collections/sheet/registers.js.map +0 -1
- package/dist/src/collections/sheet/root.d.ts +0 -328
- package/dist/src/collections/sheet/root.d.ts.map +0 -1
- package/dist/src/collections/sheet/root.js +0 -432
- package/dist/src/collections/sheet/root.js.map +0 -1
- package/dist/src/collections/sheet/seed-bridge.d.ts +0 -14
- package/dist/src/collections/sheet/seed-bridge.d.ts.map +0 -1
- package/dist/src/collections/sheet/seed-bridge.js +0 -51
- package/dist/src/collections/sheet/seed-bridge.js.map +0 -1
- package/dist/src/collections/sheet/sub-rows.d.ts +0 -249
- package/dist/src/collections/sheet/sub-rows.d.ts.map +0 -1
- package/dist/src/collections/sheet/sub-rows.js +0 -222
- package/dist/src/collections/sheet/sub-rows.js.map +0 -1
- package/dist/src/collections/sheet/transactions.d.ts +0 -76
- package/dist/src/collections/sheet/transactions.d.ts.map +0 -1
- package/dist/src/collections/sheet/transactions.js +0 -40
- package/dist/src/collections/sheet/transactions.js.map +0 -1
- package/dist/src/collections/sheet/types.d.ts +0 -14992
- package/dist/src/collections/sheet/types.d.ts.map +0 -1
- package/dist/src/collections/sheet/types.js +0 -1061
- package/dist/src/collections/sheet/types.js.map +0 -1
- package/dist/src/navigation/app/index.d.ts +0 -150
- package/dist/src/navigation/app/index.d.ts.map +0 -1
- package/dist/src/navigation/app/index.js +0 -191
- package/dist/src/navigation/app/index.js.map +0 -1
- package/dist/src/navigation/pages/index.d.ts +0 -165
- package/dist/src/navigation/pages/index.d.ts.map +0 -1
- package/dist/src/navigation/pages/index.js +0 -152
- package/dist/src/navigation/pages/index.js.map +0 -1
- package/dist/src/navigation/pages/types.d.ts +0 -111
- package/dist/src/navigation/pages/types.d.ts.map +0 -1
- package/dist/src/navigation/pages/types.js +0 -101
- package/dist/src/navigation/pages/types.js.map +0 -1
- package/dist/src/runtime/collections/board.d.ts +0 -73
- package/dist/src/runtime/collections/board.d.ts.map +0 -1
- package/dist/src/runtime/collections/board.js +0 -68
- package/dist/src/runtime/collections/board.js.map +0 -1
- package/dist/src/runtime/collections/calendar.d.ts +0 -54
- package/dist/src/runtime/collections/calendar.d.ts.map +0 -1
- package/dist/src/runtime/collections/calendar.js +0 -54
- package/dist/src/runtime/collections/calendar.js.map +0 -1
- package/dist/src/runtime/collections/flowchart.d.ts +0 -58
- package/dist/src/runtime/collections/flowchart.d.ts.map +0 -1
- package/dist/src/runtime/collections/flowchart.js +0 -54
- package/dist/src/runtime/collections/flowchart.js.map +0 -1
- package/dist/src/runtime/collections/plan.d.ts +0 -181
- package/dist/src/runtime/collections/plan.d.ts.map +0 -1
- package/dist/src/runtime/collections/plan.js +0 -186
- package/dist/src/runtime/collections/plan.js.map +0 -1
- package/dist/src/runtime/collections/roster.d.ts +0 -60
- package/dist/src/runtime/collections/roster.d.ts.map +0 -1
- package/dist/src/runtime/collections/roster.js +0 -59
- package/dist/src/runtime/collections/roster.js.map +0 -1
- package/dist/src/runtime/collections/sheet.d.ts +0 -122
- package/dist/src/runtime/collections/sheet.d.ts.map +0 -1
- package/dist/src/runtime/collections/sheet.js +0 -73
- package/dist/src/runtime/collections/sheet.js.map +0 -1
- package/dist/src/runtime/navigation/app.d.ts +0 -52
- package/dist/src/runtime/navigation/app.d.ts.map +0 -1
- package/dist/src/runtime/navigation/app.js +0 -53
- package/dist/src/runtime/navigation/app.js.map +0 -1
- package/dist/src/runtime/navigation/pages.d.ts +0 -50
- package/dist/src/runtime/navigation/pages.d.ts.map +0 -1
- package/dist/src/runtime/navigation/pages.js +0 -52
- package/dist/src/runtime/navigation/pages.js.map +0 -1
- package/dist/src/runtime/navigation/route.d.ts +0 -46
- package/dist/src/runtime/navigation/route.d.ts.map +0 -1
- package/dist/src/runtime/navigation/route.js +0 -47
- package/dist/src/runtime/navigation/route.js.map +0 -1
- package/dist/test/collections/board.examples.d.ts +0 -18
- package/dist/test/collections/board.examples.d.ts.map +0 -1
- package/dist/test/collections/board.examples.js +0 -297
- package/dist/test/collections/board.examples.js.map +0 -1
- package/dist/test/collections/calendar.examples.d.ts +0 -5
- package/dist/test/collections/calendar.examples.d.ts.map +0 -1
- package/dist/test/collections/calendar.examples.js +0 -147
- package/dist/test/collections/calendar.examples.js.map +0 -1
- package/dist/test/collections/flowchart.examples.d.ts +0 -17
- package/dist/test/collections/flowchart.examples.d.ts.map +0 -1
- package/dist/test/collections/flowchart.examples.js +0 -243
- package/dist/test/collections/flowchart.examples.js.map +0 -1
- package/dist/test/collections/plan.examples.d.ts +0 -200
- package/dist/test/collections/plan.examples.d.ts.map +0 -1
- package/dist/test/collections/plan.examples.js +0 -3665
- package/dist/test/collections/plan.examples.js.map +0 -1
- package/dist/test/collections/roster.examples.d.ts +0 -26
- package/dist/test/collections/roster.examples.d.ts.map +0 -1
- package/dist/test/collections/roster.examples.js +0 -237
- package/dist/test/collections/roster.examples.js.map +0 -1
- package/dist/test/collections/sheet-link.examples.d.ts +0 -7
- package/dist/test/collections/sheet-link.examples.d.ts.map +0 -1
- package/dist/test/collections/sheet-link.examples.js +0 -41
- package/dist/test/collections/sheet-link.examples.js.map +0 -1
- package/dist/test/collections/sheet-transactions.examples.d.ts +0 -7
- package/dist/test/collections/sheet-transactions.examples.d.ts.map +0 -1
- package/dist/test/collections/sheet-transactions.examples.js +0 -58
- package/dist/test/collections/sheet-transactions.examples.js.map +0 -1
- package/dist/test/collections/sheet.examples.d.ts +0 -96
- package/dist/test/collections/sheet.examples.d.ts.map +0 -1
- package/dist/test/collections/sheet.examples.js +0 -1040
- package/dist/test/collections/sheet.examples.js.map +0 -1
- package/dist/test/navigation/app.examples.d.ts +0 -22
- package/dist/test/navigation/app.examples.d.ts.map +0 -1
- package/dist/test/navigation/app.examples.js +0 -136
- package/dist/test/navigation/app.examples.js.map +0 -1
- package/dist/test/navigation/pages.examples.d.ts +0 -13
- package/dist/test/navigation/pages.examples.d.ts.map +0 -1
- package/dist/test/navigation/pages.examples.js +0 -113
- package/dist/test/navigation/pages.examples.js.map +0 -1
- package/dist/test/navigation/route.examples.d.ts +0 -13
- package/dist/test/navigation/route.examples.d.ts.map +0 -1
- package/dist/test/navigation/route.examples.js +0 -69
- package/dist/test/navigation/route.examples.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/collections/board/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EACH,KAAK,QAAQ,EACb,KAAK,kBAAkB,EACvB,KAAK,MAAM,EAMX,SAAS,EACT,WAAW,EACX,YAAY,EACZ,WAAW,EACX,UAAU,EACV,UAAU,EACV,UAAU,EACV,QAAQ,EACX,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,OAAO,EAAE,WAAW,EAAE,KAAK,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,EAAiB,WAAW,EAAE,aAAa,EAAE,MAAM,yBAA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-day assignment board: an areas × shifts grid where
|
|
7
|
-
* each cell holds multiple people as chips under the shared event-state
|
|
8
|
-
* grammar (committed / proposed / rejected, with the `model` flavour
|
|
9
|
-
* rendering as a dashed ghost). Takes the flat tables a dataset naturally
|
|
10
|
-
* provides — areas, shifts, people, and assignments — each with a
|
|
11
|
-
* chart-style field encoding; the factory joins assignments to people by
|
|
12
|
-
* person key and groups them into cells by `area × shift`. Optional
|
|
13
|
-
* `requirements` add per-cell coverage (`n/required` numerals, open-slot
|
|
14
|
-
* placeholders, under / over tones).
|
|
15
|
-
*
|
|
16
|
-
* Declares the drag & drop **target** role: `id` + `sources` connect it to
|
|
17
|
-
* sibling Libraries, and every completed drag (add / move / remove) funnels
|
|
18
|
-
* through one `onDrag` callback as a `DragEventType` value. The component
|
|
19
|
-
* renders no built-in user-facing copy — every string it shows arrives as
|
|
20
|
-
* data or a prop.
|
|
21
|
-
*
|
|
22
|
-
* @packageDocumentation
|
|
23
|
-
*/
|
|
24
|
-
import { East, Expr, variant, some, none, ArrayType, BooleanType, FunctionType, IntegerType, OptionType, StringType, StructType, NullType, } from "@elaraai/east";
|
|
25
|
-
import { UIComponentType } from "../../component.js";
|
|
26
|
-
import { mapRows } from "../../shared/reify.js";
|
|
27
|
-
import { DensityType } from "../../style/interaction.js";
|
|
28
|
-
import { CanDropFnType, CellRefType, DragEventType } from "../../contracts/drag.js";
|
|
29
|
-
import { PlannerStateType } from "../../contracts/states.js";
|
|
30
|
-
import { BoardModeType, BoardEntityType, BoardAssignmentType, BoardRequirementType, } from "./types.js";
|
|
31
|
-
import { RowRefType, RowReviewType, buildReview } from "../../contracts/review.js";
|
|
32
|
-
// Re-export types
|
|
33
|
-
export { BoardModeType, BoardEntityType, BoardAssignmentType, BoardRequirementType, } from "./types.js";
|
|
34
|
-
/**
|
|
35
|
-
* East StructType for the Board component.
|
|
36
|
-
*
|
|
37
|
-
* @remarks
|
|
38
|
-
* Flat resolved tables — the renderer groups assignments into cells by
|
|
39
|
-
* `area × shift` and joins each to `people` by person key for the chip face.
|
|
40
|
-
* Assignment states reuse the Planner event-state grammar
|
|
41
|
-
* ({@link PlannerStateType}); the `model` flavour renders as the dashed
|
|
42
|
-
* ghost with the acceptance affordance. The component renders no built-in
|
|
43
|
-
* user-facing copy. Defined here (not `types.ts`) since #265: the root
|
|
44
|
-
* carries the shared review config, whose `summary` is a `UIComponentType` —
|
|
45
|
-
* `component.ts` mirrors this arm inline with the recursion `node`.
|
|
46
|
-
*
|
|
47
|
-
* @property id - DnD target identity
|
|
48
|
-
* @property sources - Library ids accepted for `add` drags
|
|
49
|
-
* @property mode - `published` (committed-only, immutable) or `edit`
|
|
50
|
-
* @property areaHeader - Optional frozen area column header (none = blank)
|
|
51
|
-
* @property areaWidth - Optional CSS width for the frozen area column
|
|
52
|
-
* @property areas - The grid rows
|
|
53
|
-
* @property shifts - The grid columns (this day's shift types, in order)
|
|
54
|
-
* @property people - The chip directory (faces), joined by person key
|
|
55
|
-
* @property assignments - The person chips (grouped into cells by area × shift)
|
|
56
|
-
* @property requirements - Optional per-cell coverage (none = no coverage chrome)
|
|
57
|
-
* @property density - Optional density
|
|
58
|
-
* @property maxVisible - Optional per-cell chip cap before the `+N` overflow
|
|
59
|
-
* @property summary - Optional status-strip text (open / proposed counts)
|
|
60
|
-
* @property canDrop - Optional IR-level drop veto over synthesized candidate events
|
|
61
|
-
* @property onDrag - Drag funnel — add / move / remove events
|
|
62
|
-
* @property onSelect - Assignment / cell click callback
|
|
63
|
-
* @property onAccept - Ghost-assignment acceptance callback (ONE proposed assignment)
|
|
64
|
-
* @property onAddAt - Open-slot / empty-cell click callback (edit mode)
|
|
65
|
-
* @property review - Optional batch review foot (shared contract, #265)
|
|
66
|
-
*/
|
|
67
|
-
export const BoardRootType = StructType({
|
|
68
|
-
/** DnD target identity */
|
|
69
|
-
id: StringType,
|
|
70
|
-
/** Library ids accepted for `add` drags */
|
|
71
|
-
sources: ArrayType(StringType),
|
|
72
|
-
/** `published` (committed-only, immutable) or `edit` */
|
|
73
|
-
mode: BoardModeType,
|
|
74
|
-
/** Optional frozen area column header (none = blank) */
|
|
75
|
-
areaHeader: OptionType(StringType),
|
|
76
|
-
/** Optional CSS width for the frozen area column (none = the Planner-consistent 150px) */
|
|
77
|
-
areaWidth: OptionType(StringType),
|
|
78
|
-
/** The grid rows */
|
|
79
|
-
areas: ArrayType(BoardEntityType),
|
|
80
|
-
/** The grid columns (this day's shift types, in order) */
|
|
81
|
-
shifts: ArrayType(BoardEntityType),
|
|
82
|
-
/** The chip directory (faces), joined by person key */
|
|
83
|
-
people: ArrayType(BoardEntityType),
|
|
84
|
-
/** The person chips (grouped into cells by area × shift) */
|
|
85
|
-
assignments: ArrayType(BoardAssignmentType),
|
|
86
|
-
/** Optional per-cell coverage (none = no coverage chrome) */
|
|
87
|
-
requirements: OptionType(ArrayType(BoardRequirementType)),
|
|
88
|
-
/** Optional density */
|
|
89
|
-
density: OptionType(DensityType),
|
|
90
|
-
/** Optional per-cell chip cap before the `+N` overflow */
|
|
91
|
-
maxVisible: OptionType(IntegerType),
|
|
92
|
-
/** Uniform sizing (#320): bound the board; it scrolls within. `"fill"` fills the parent box. */
|
|
93
|
-
height: OptionType(StringType),
|
|
94
|
-
/** Uniform sizing (#320): max-height cap; content-sized up to it. */
|
|
95
|
-
maxHeight: OptionType(StringType),
|
|
96
|
-
/** Optional status-strip text (open / proposed counts) */
|
|
97
|
-
summary: OptionType(StringType),
|
|
98
|
-
/** Optional IR-level drop veto — consulted per hovered cell with the
|
|
99
|
-
* synthesized candidate event ({@link CanDropFnType} semantics); `false`
|
|
100
|
-
* ⇒ the ⊘ invalid stage and the drop is a no-op. Absent ⇒ accept. The
|
|
101
|
-
* factory's deprecated `canAssign` sugar compiles into this predicate. */
|
|
102
|
-
canDrop: OptionType(CanDropFnType),
|
|
103
|
-
/** Drag funnel — add / move / remove events */
|
|
104
|
-
onDrag: OptionType(FunctionType([DragEventType], NullType)),
|
|
105
|
-
/** Assignment / cell click callback */
|
|
106
|
-
onSelect: OptionType(FunctionType([CellRefType], NullType)),
|
|
107
|
-
/** Ghost-assignment acceptance callback — resolves ONE proposed
|
|
108
|
-
* assignment; `review`'s batch verbs sign off the whole board. The
|
|
109
|
-
* interplay is host-owned (no implicit cascading in the component). */
|
|
110
|
-
onAccept: OptionType(FunctionType([CellRefType], NullType)),
|
|
111
|
-
/** Open-slot / empty-cell click callback (edit mode) */
|
|
112
|
-
onAddAt: OptionType(FunctionType([CellRefType], NullType)),
|
|
113
|
-
/** Optional batch review foot (#265) — the shared contract's commitBar
|
|
114
|
-
* verbs (`onApproveAll` / `onRejectAll` / `onRerun` + `summary`). Board
|
|
115
|
-
* is single-day areas × shifts, so v1 renders the FOOT only: the
|
|
116
|
-
* per-row fields (`columnLabel`, `onApprove`, `onReject`) are unused
|
|
117
|
-
* (a per-area decision column is an epic candidate); the factory warns
|
|
118
|
-
* when they are set. */
|
|
119
|
-
review: OptionType(RowReviewType),
|
|
120
|
-
});
|
|
121
|
-
function resolveEntities(rows, mapper) {
|
|
122
|
-
if (mapper === undefined) {
|
|
123
|
-
return East.value(rows, ArrayType(BoardEntityType));
|
|
124
|
-
}
|
|
125
|
-
return mapRows(East.value(rows), BoardEntityType, (row) => {
|
|
126
|
-
const r = mapper(row);
|
|
127
|
-
if (r instanceof Expr)
|
|
128
|
-
return East.value(r, BoardEntityType);
|
|
129
|
-
return East.value({
|
|
130
|
-
key: r.key,
|
|
131
|
-
label: r.label,
|
|
132
|
-
sublabel: r.sublabel !== undefined ? some(r.sublabel) : none,
|
|
133
|
-
}, BoardEntityType);
|
|
134
|
-
});
|
|
135
|
-
}
|
|
136
|
-
/** Board v1 renders the review FOOT only — warn (and drop) per-row fields
|
|
137
|
-
* so a host wiring `onApprove` learns it is inert here (#265). */
|
|
138
|
-
function reviewFootOnly(review) {
|
|
139
|
-
if (review.onApprove !== undefined || review.onReject !== undefined || review.columnLabel !== undefined) {
|
|
140
|
-
console.warn("[Board] review.columnLabel / onApprove / onReject are unused — Board renders the batch foot only (per-area decisions are tracked as an epic #259 candidate).");
|
|
141
|
-
}
|
|
142
|
-
const { onApprove: _onApprove, onReject: _onReject, columnLabel: _columnLabel, ...foot } = review;
|
|
143
|
-
return foot;
|
|
144
|
-
}
|
|
145
|
-
function buildRoot(areas, shifts, people, assignments, config) {
|
|
146
|
-
const assignmentMapper = config.assignment;
|
|
147
|
-
const resolvedAssignments = assignmentMapper === undefined
|
|
148
|
-
? East.value(assignments, ArrayType(BoardAssignmentType))
|
|
149
|
-
: mapRows(East.value(assignments), BoardAssignmentType, (row) => {
|
|
150
|
-
const r = assignmentMapper(row);
|
|
151
|
-
if (r instanceof Expr)
|
|
152
|
-
return East.value(r, BoardAssignmentType);
|
|
153
|
-
return East.value({
|
|
154
|
-
key: r.key,
|
|
155
|
-
person: r.person,
|
|
156
|
-
area: r.area,
|
|
157
|
-
shift: r.shift,
|
|
158
|
-
state: r.state,
|
|
159
|
-
}, BoardAssignmentType);
|
|
160
|
-
});
|
|
161
|
-
const requirementMapper = config.requirement;
|
|
162
|
-
const resolvedRequirements = config.requirements === undefined
|
|
163
|
-
? none
|
|
164
|
-
: some(requirementMapper === undefined
|
|
165
|
-
? East.value(config.requirements, ArrayType(BoardRequirementType))
|
|
166
|
-
: mapRows(East.value(config.requirements), BoardRequirementType, (row) => {
|
|
167
|
-
const r = requirementMapper(row);
|
|
168
|
-
if (r instanceof Expr)
|
|
169
|
-
return East.value(r, BoardRequirementType);
|
|
170
|
-
return East.value({
|
|
171
|
-
area: r.area,
|
|
172
|
-
shift: r.shift,
|
|
173
|
-
required: r.required,
|
|
174
|
-
}, BoardRequirementType);
|
|
175
|
-
}));
|
|
176
|
-
const mode = config.mode !== undefined
|
|
177
|
-
? (typeof config.mode === "string" ? East.value(variant(config.mode, null), BoardModeType) : config.mode)
|
|
178
|
-
: East.value(variant("published", null), BoardModeType);
|
|
179
|
-
const density = config.density !== undefined
|
|
180
|
-
? some(typeof config.density === "string" ? East.value(variant(config.density, null), DensityType) : config.density)
|
|
181
|
-
: none;
|
|
182
|
-
const maxVisible = config.maxVisible !== undefined
|
|
183
|
-
? some(typeof config.maxVisible === "number" ? BigInt(config.maxVisible) : config.maxVisible)
|
|
184
|
-
: none;
|
|
185
|
-
// Compile the deprecated `canAssign` sugar into the shared `canDrop`
|
|
186
|
-
// contract: an `add`'s person is the dragged card's key; a `move`'s person
|
|
187
|
-
// is resolved from the authored assignments by the moving event's key
|
|
188
|
-
// (allowing when unresolvable — e.g. a chip added optimistically this
|
|
189
|
-
// session); sink kinds are always structurally valid. When the host also
|
|
190
|
-
// supplies an explicit `canDrop`, both predicates must allow.
|
|
191
|
-
const canAssignFn = config.canAssign;
|
|
192
|
-
const compiledCanAssign = canAssignFn === undefined ? undefined
|
|
193
|
-
: East.function([DragEventType], BooleanType, ($, ev) => {
|
|
194
|
-
const fn = $.const(canAssignFn, FunctionType([StringType, StringType, StringType], BooleanType));
|
|
195
|
-
const rows = $.const(resolvedAssignments);
|
|
196
|
-
return ev.match({
|
|
197
|
-
add: (_$, add) => fn(add.from.key, add.into.row, add.into.slot),
|
|
198
|
-
move: ($, mv) => {
|
|
199
|
-
const key = $.const(mv.from.event.match({ some: (_$, k) => k, none: (_$) => East.value("") }));
|
|
200
|
-
return rows.firstMap((_$, a) => East.equal(a.key, key).ifElse(() => some(a.person), () => none)).match({
|
|
201
|
-
some: (_$, person) => fn(person, mv.to.row, mv.to.slot),
|
|
202
|
-
none: (_$) => East.value(true),
|
|
203
|
-
});
|
|
204
|
-
},
|
|
205
|
-
remove: (_$) => East.value(true),
|
|
206
|
-
resize: (_$) => East.value(true),
|
|
207
|
-
});
|
|
208
|
-
});
|
|
209
|
-
const userCanDrop = config.canDrop;
|
|
210
|
-
const canDrop = compiledCanAssign !== undefined && userCanDrop !== undefined
|
|
211
|
-
? East.function([DragEventType], BooleanType, ($, ev) => {
|
|
212
|
-
const compiled = $.const(compiledCanAssign);
|
|
213
|
-
const user = $.const(userCanDrop, CanDropFnType);
|
|
214
|
-
return compiled(ev).and(_$ => user(ev));
|
|
215
|
-
})
|
|
216
|
-
: compiledCanAssign ?? userCanDrop;
|
|
217
|
-
return East.value(variant("Board", {
|
|
218
|
-
id: config.id,
|
|
219
|
-
sources: East.value(config.sources ?? [], ArrayType(StringType)),
|
|
220
|
-
mode,
|
|
221
|
-
areaHeader: config.areaHeader !== undefined ? some(config.areaHeader) : none,
|
|
222
|
-
areaWidth: config.areaWidth !== undefined ? some(config.areaWidth) : none,
|
|
223
|
-
areas: resolveEntities(areas, config.area),
|
|
224
|
-
shifts: resolveEntities(shifts, config.shift),
|
|
225
|
-
people: resolveEntities(people, config.person),
|
|
226
|
-
assignments: resolvedAssignments,
|
|
227
|
-
requirements: resolvedRequirements,
|
|
228
|
-
density,
|
|
229
|
-
maxVisible,
|
|
230
|
-
height: config.height !== undefined ? some(config.height) : none,
|
|
231
|
-
maxHeight: config.maxHeight !== undefined ? some(config.maxHeight) : none,
|
|
232
|
-
summary: config.summary !== undefined ? some(config.summary) : none,
|
|
233
|
-
canDrop: canDrop !== undefined ? some(canDrop) : none,
|
|
234
|
-
review: config.review !== undefined ? some(buildReview(reviewFootOnly(config.review), RowReviewType)) : none,
|
|
235
|
-
onDrag: config.onDrag !== undefined ? some(config.onDrag) : none,
|
|
236
|
-
onSelect: config.onSelect !== undefined ? some(config.onSelect) : none,
|
|
237
|
-
onAccept: config.onAccept !== undefined ? some(config.onAccept) : none,
|
|
238
|
-
onAddAt: config.onAddAt !== undefined ? some(config.onAddAt) : none,
|
|
239
|
-
}), UIComponentType);
|
|
240
|
-
}
|
|
241
|
-
/**
|
|
242
|
-
* Creates a Board — single-day areas × shifts assignment scheduling.
|
|
243
|
-
*
|
|
244
|
-
* @typeParam A - The areas-table input
|
|
245
|
-
* @typeParam S - The shifts-table input
|
|
246
|
-
* @typeParam P - The people-table input
|
|
247
|
-
* @typeParam X - The assignments-table input
|
|
248
|
-
* @param areas - The area rows (one grid row each)
|
|
249
|
-
* @param shifts - The shift rows (one grid column each, in order)
|
|
250
|
-
* @param people - The people rows (chip faces, joined by the encoded person key)
|
|
251
|
-
* @param assignments - The assignment rows (grouped into cells by area × shift)
|
|
252
|
-
* @param config - The Board configuration ({@link BoardConfig})
|
|
253
|
-
* @returns An East expression of `UIComponentType`
|
|
254
|
-
*
|
|
255
|
-
* @example
|
|
256
|
-
* ```ts
|
|
257
|
-
* import { East, variant } from "@elaraai/east";
|
|
258
|
-
* import { Board, UIComponentType } from "@elaraai/east-ui";
|
|
259
|
-
*
|
|
260
|
-
* const example = East.function([], UIComponentType, _$ =>
|
|
261
|
-
* Board.Root(
|
|
262
|
-
* [{ id: "icu", name: "ICU" }],
|
|
263
|
-
* [{ id: "am", name: "AM" }],
|
|
264
|
-
* [{ id: "patel", name: "Patel, R." }],
|
|
265
|
-
* [{ id: "x1", personId: "patel", areaId: "icu", shiftId: "am", state: variant("committed", null) }],
|
|
266
|
-
* {
|
|
267
|
-
* id: "board-tue",
|
|
268
|
-
* sources: ["people"],
|
|
269
|
-
* mode: "edit",
|
|
270
|
-
* area: a => ({ key: a.id, label: a.name }),
|
|
271
|
-
* shift: s => ({ key: s.id, label: s.name }),
|
|
272
|
-
* person: p => ({ key: p.id, label: p.name }),
|
|
273
|
-
* assignment: x => ({ key: x.id, person: x.personId, area: x.areaId,
|
|
274
|
-
* shift: x.shiftId, state: x.state }),
|
|
275
|
-
* },
|
|
276
|
-
* ),
|
|
277
|
-
* );
|
|
278
|
-
* ```
|
|
279
|
-
*/
|
|
280
|
-
function createBoard(areas, shifts, people, assignments, config) {
|
|
281
|
-
return buildRoot(areas, shifts, people, assignments, config);
|
|
282
|
-
}
|
|
283
|
-
// ============================================================================
|
|
284
|
-
// Namespace export
|
|
285
|
-
// ============================================================================
|
|
286
|
-
/**
|
|
287
|
-
* Board component namespace.
|
|
288
|
-
*
|
|
289
|
-
* @remarks
|
|
290
|
-
* `Board.Root(areas, shifts, people, assignments, config)` builds the
|
|
291
|
-
* single-day grid from the flat tables; assignment states reuse the Planner
|
|
292
|
-
* event-state grammar (`Board.Types.State`), so data carries typed
|
|
293
|
-
* `variant(...)` values.
|
|
294
|
-
*/
|
|
295
|
-
export const Board = {
|
|
296
|
-
/**
|
|
297
|
-
* Creates a Board — single-day areas × shifts assignment scheduling with
|
|
298
|
-
* the drag & drop target role.
|
|
299
|
-
*
|
|
300
|
-
* @typeParam A - The areas-table input
|
|
301
|
-
* @typeParam S - The shifts-table input
|
|
302
|
-
* @typeParam P - The people-table input
|
|
303
|
-
* @typeParam X - The assignments-table input
|
|
304
|
-
* @param areas - The area rows (one grid row each)
|
|
305
|
-
* @param shifts - The shift rows (one grid column each, in order)
|
|
306
|
-
* @param people - The people rows (chip faces, joined by the encoded person key)
|
|
307
|
-
* @param assignments - The assignment rows (grouped into cells by area × shift)
|
|
308
|
-
* @param config - The Board configuration ({@link BoardConfig})
|
|
309
|
-
* @returns An East expression of `UIComponentType`
|
|
310
|
-
*
|
|
311
|
-
* @remarks
|
|
312
|
-
* Published mode renders committed assignments only, pointer-immutable;
|
|
313
|
-
* edit mode enables drag handles on proposed assignments, open-slot /
|
|
314
|
-
* empty-cell add, and ghost acceptance. Dropping a person onto a cell
|
|
315
|
-
* that already holds them is a no-op (the duplicate-person guard); the
|
|
316
|
-
* same person in different cells is legal — host policy. Cross-area
|
|
317
|
-
* moves arrive as plain `move` events — the host derives any swap
|
|
318
|
-
* representation from `from.row ≠ to.row`.
|
|
319
|
-
*
|
|
320
|
-
* @example
|
|
321
|
-
* ```ts
|
|
322
|
-
* import { East, variant } from "@elaraai/east";
|
|
323
|
-
* import { Board, UIComponentType } from "@elaraai/east-ui";
|
|
324
|
-
*
|
|
325
|
-
* const example = East.function([], UIComponentType, _$ =>
|
|
326
|
-
* Board.Root(
|
|
327
|
-
* [{ id: "icu", name: "ICU" }],
|
|
328
|
-
* [{ id: "am", name: "AM" }],
|
|
329
|
-
* [{ id: "patel", name: "Patel, R." }],
|
|
330
|
-
* [{ id: "x1", personId: "patel", areaId: "icu", shiftId: "am", state: variant("committed", null) }],
|
|
331
|
-
* {
|
|
332
|
-
* id: "board-tue",
|
|
333
|
-
* area: a => ({ key: a.id, label: a.name }),
|
|
334
|
-
* shift: s => ({ key: s.id, label: s.name }),
|
|
335
|
-
* person: p => ({ key: p.id, label: p.name }),
|
|
336
|
-
* assignment: x => ({ key: x.id, person: x.personId, area: x.areaId,
|
|
337
|
-
* shift: x.shiftId, state: x.state }),
|
|
338
|
-
* },
|
|
339
|
-
* ),
|
|
340
|
-
* );
|
|
341
|
-
* ```
|
|
342
|
-
*/
|
|
343
|
-
Root: createBoard,
|
|
344
|
-
Types: {
|
|
345
|
-
/**
|
|
346
|
-
* East StructType for the Board component.
|
|
347
|
-
*
|
|
348
|
-
* @remarks
|
|
349
|
-
* Flat resolved tables; the renderer groups assignments into cells
|
|
350
|
-
* by `area × shift` and joins each to `people` by person key. See
|
|
351
|
-
* {@link BoardRootType} for per-field docs.
|
|
352
|
-
*
|
|
353
|
-
* @property id - DnD target identity
|
|
354
|
-
* @property sources - Library ids accepted for `add` drags
|
|
355
|
-
* @property mode - `published` or `edit`
|
|
356
|
-
* @property areaHeader - Optional frozen area column header
|
|
357
|
-
* @property areas - The grid rows
|
|
358
|
-
* @property shifts - The grid columns, in order
|
|
359
|
-
* @property people - The chip directory (faces)
|
|
360
|
-
* @property assignments - The person chips
|
|
361
|
-
* @property requirements - Optional per-cell coverage
|
|
362
|
-
* @property density - Optional density
|
|
363
|
-
* @property maxVisible - Optional per-cell chip cap
|
|
364
|
-
* @property summary - Optional status-strip text
|
|
365
|
-
* @property onDrag - Drag funnel
|
|
366
|
-
* @property onSelect - Assignment / cell click callback
|
|
367
|
-
* @property onAccept - Ghost acceptance callback
|
|
368
|
-
* @property onAddAt - Open-slot / empty-cell click callback
|
|
369
|
-
*/
|
|
370
|
-
Board: BoardRootType,
|
|
371
|
-
/** The review configuration — the shared `RowReviewType`; Board v1 renders the batch foot only (#265). */
|
|
372
|
-
Review: RowReviewType,
|
|
373
|
-
/**
|
|
374
|
-
* Board render mode (`published` / `edit`).
|
|
375
|
-
*
|
|
376
|
-
* @property published - Committed-only, pointer-immutable
|
|
377
|
-
* @property edit - Operator + model proposals are interactive
|
|
378
|
-
*/
|
|
379
|
-
Mode: BoardModeType,
|
|
380
|
-
/**
|
|
381
|
-
* A resolved board entity — area row, shift column, or person face.
|
|
382
|
-
*
|
|
383
|
-
* @property key - Entity identity — the key assignments reference
|
|
384
|
-
* @property label - Display name
|
|
385
|
-
* @property sublabel - Optional muted second line
|
|
386
|
-
*/
|
|
387
|
-
Entity: BoardEntityType,
|
|
388
|
-
/**
|
|
389
|
-
* A resolved assignment — one person chip in one (area, shift) cell.
|
|
390
|
-
*
|
|
391
|
-
* @property key - Stable assignment identity
|
|
392
|
-
* @property person - The person key (joined for the chip face)
|
|
393
|
-
* @property area - The area key (the grid row)
|
|
394
|
-
* @property shift - The shift key (the grid column)
|
|
395
|
-
* @property state - The audit state
|
|
396
|
-
*/
|
|
397
|
-
Assignment: BoardAssignmentType,
|
|
398
|
-
/**
|
|
399
|
-
* A resolved coverage requirement for one (area, shift) cell.
|
|
400
|
-
*
|
|
401
|
-
* @property area - The area key
|
|
402
|
-
* @property shift - The shift key
|
|
403
|
-
* @property required - Required headcount for the cell
|
|
404
|
-
*/
|
|
405
|
-
Requirement: BoardRequirementType,
|
|
406
|
-
/**
|
|
407
|
-
* The shared event-state grammar (committed / proposed / rejected).
|
|
408
|
-
*
|
|
409
|
-
* @property committed - A published assignment
|
|
410
|
-
* @property proposed - A proposal (`added` / `model` / `removed`)
|
|
411
|
-
* @property rejected - A rejected proposal
|
|
412
|
-
*/
|
|
413
|
-
State: PlannerStateType,
|
|
414
|
-
},
|
|
415
|
-
};
|
|
416
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/collections/board/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;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|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
-
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
-
*/
|
|
5
|
-
import { IntegerType, NullType, OptionType, StringType, StructType, VariantType } from "@elaraai/east";
|
|
6
|
-
/**
|
|
7
|
-
* Board render mode.
|
|
8
|
-
*
|
|
9
|
-
* @remarks
|
|
10
|
-
* Published boards render committed assignments only, with no grips and no
|
|
11
|
-
* pointer interaction; edit mode enables drag handles, open-slot / empty-cell
|
|
12
|
-
* add, and ghost acceptance.
|
|
13
|
-
*
|
|
14
|
-
* @property published - Committed-only, pointer-immutable
|
|
15
|
-
* @property edit - Operator + model proposals are interactive
|
|
16
|
-
*/
|
|
17
|
-
export declare const BoardModeType: VariantType<{
|
|
18
|
-
/** Committed-only, pointer-immutable */
|
|
19
|
-
readonly published: NullType;
|
|
20
|
-
/** Operator + model proposals are interactive */
|
|
21
|
-
readonly edit: NullType;
|
|
22
|
-
}>;
|
|
23
|
-
/**
|
|
24
|
-
* Type representing board mode values.
|
|
25
|
-
*/
|
|
26
|
-
export type BoardModeType = typeof BoardModeType;
|
|
27
|
-
/**
|
|
28
|
-
* String literal form of {@link BoardModeType} tags.
|
|
29
|
-
*/
|
|
30
|
-
export type BoardModeLiteral = "published" | "edit";
|
|
31
|
-
/**
|
|
32
|
-
* A resolved board entity — an area row, a shift column, or a person face.
|
|
33
|
-
*
|
|
34
|
-
* @remarks
|
|
35
|
-
* One generic `key` / `label` / `sublabel` shape serves all three board
|
|
36
|
-
* tables: `areas` (rows), `shifts` (columns; `sublabel` typically the time
|
|
37
|
-
* window), and `people` (the chip directory assignments join by person key).
|
|
38
|
-
*
|
|
39
|
-
* @property key - Entity identity — the key assignments reference
|
|
40
|
-
* @property label - Display name
|
|
41
|
-
* @property sublabel - Optional muted second line (e.g. wing, time window, role)
|
|
42
|
-
*/
|
|
43
|
-
export declare const BoardEntityType: StructType<{
|
|
44
|
-
/** Entity identity — the key assignments reference */
|
|
45
|
-
readonly key: StringType;
|
|
46
|
-
/** Display name */
|
|
47
|
-
readonly label: StringType;
|
|
48
|
-
/** Optional muted second line (e.g. wing, time window, role) */
|
|
49
|
-
readonly sublabel: OptionType<StringType>;
|
|
50
|
-
}>;
|
|
51
|
-
/**
|
|
52
|
-
* Type representing resolved board entities.
|
|
53
|
-
*/
|
|
54
|
-
export type BoardEntityType = typeof BoardEntityType;
|
|
55
|
-
/**
|
|
56
|
-
* A resolved assignment — one person chip in one (area, shift) cell.
|
|
57
|
-
*
|
|
58
|
-
* @remarks
|
|
59
|
-
* Carries no display label: the chip face comes from joining `person` to the
|
|
60
|
-
* board's `people` table by key.
|
|
61
|
-
*
|
|
62
|
-
* @property key - Stable assignment identity — referenced by drag-grammar cell refs
|
|
63
|
-
* @property person - The person key (joined to `people` for the chip face)
|
|
64
|
-
* @property area - The area key (the grid row)
|
|
65
|
-
* @property shift - The shift key (the grid column)
|
|
66
|
-
* @property state - The audit state (committed / proposed / rejected)
|
|
67
|
-
*/
|
|
68
|
-
export declare const BoardAssignmentType: StructType<{
|
|
69
|
-
/** Stable assignment identity — referenced by drag-grammar cell refs */
|
|
70
|
-
readonly key: StringType;
|
|
71
|
-
/** The person key (joined to `people` for the chip face) */
|
|
72
|
-
readonly person: StringType;
|
|
73
|
-
/** The area key (the grid row) */
|
|
74
|
-
readonly area: StringType;
|
|
75
|
-
/** The shift key (the grid column) */
|
|
76
|
-
readonly shift: StringType;
|
|
77
|
-
/** The audit state (committed / proposed / rejected) */
|
|
78
|
-
readonly state: VariantType<{
|
|
79
|
-
readonly committed: NullType;
|
|
80
|
-
readonly proposed: VariantType<{
|
|
81
|
-
readonly added: NullType;
|
|
82
|
-
readonly model: NullType;
|
|
83
|
-
readonly removed: NullType;
|
|
84
|
-
}>;
|
|
85
|
-
readonly rejected: NullType;
|
|
86
|
-
}>;
|
|
87
|
-
}>;
|
|
88
|
-
/**
|
|
89
|
-
* Type representing resolved assignments.
|
|
90
|
-
*/
|
|
91
|
-
export type BoardAssignmentType = typeof BoardAssignmentType;
|
|
92
|
-
/**
|
|
93
|
-
* A resolved coverage requirement for one (area, shift) cell.
|
|
94
|
-
*
|
|
95
|
-
* @property area - The area key
|
|
96
|
-
* @property shift - The shift key
|
|
97
|
-
* @property required - Required headcount for the cell
|
|
98
|
-
*/
|
|
99
|
-
export declare const BoardRequirementType: StructType<{
|
|
100
|
-
/** The area key */
|
|
101
|
-
readonly area: StringType;
|
|
102
|
-
/** The shift key */
|
|
103
|
-
readonly shift: StringType;
|
|
104
|
-
/** Required headcount for the cell */
|
|
105
|
-
readonly required: IntegerType;
|
|
106
|
-
}>;
|
|
107
|
-
/**
|
|
108
|
-
* Type representing resolved coverage requirements.
|
|
109
|
-
*/
|
|
110
|
-
export type BoardRequirementType = typeof BoardRequirementType;
|
|
111
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/collections/board/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACH,WAAW,EACX,QAAQ,EACR,UAAU,EACV,UAAU,EACV,UAAU,EACV,WAAW,EACd,MAAM,eAAe,CAAC;AAIvB;;;;;;;;;;GAUG;AACH,eAAO,MAAM,aAAa;IACtB,wCAAwC;;IAExC,iDAAiD;;EAEnD,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,OAAO,aAAa,CAAC;AAEjD;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,WAAW,GAAG,MAAM,CAAC;AAEpD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,eAAe;IACxB,sDAAsD;;IAEtD,mBAAmB;;IAEnB,gEAAgE;;EAElE,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAC;AAErD;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,mBAAmB;IAC5B,wEAAwE;;IAExE,4DAA4D;;IAE5D,kCAAkC;;IAElC,sCAAsC;;IAEtC,wDAAwD;;;;;;;;;;EAE1D,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC;AAE7D;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB;IAC7B,mBAAmB;;IAEnB,oBAAoB;;IAEpB,sCAAsC;;EAExC,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC"}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
-
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
-
*/
|
|
5
|
-
import { IntegerType, NullType, OptionType, StringType, StructType, VariantType, } from "@elaraai/east";
|
|
6
|
-
import { PlannerStateType } from "../../contracts/states.js";
|
|
7
|
-
/**
|
|
8
|
-
* Board render mode.
|
|
9
|
-
*
|
|
10
|
-
* @remarks
|
|
11
|
-
* Published boards render committed assignments only, with no grips and no
|
|
12
|
-
* pointer interaction; edit mode enables drag handles, open-slot / empty-cell
|
|
13
|
-
* add, and ghost acceptance.
|
|
14
|
-
*
|
|
15
|
-
* @property published - Committed-only, pointer-immutable
|
|
16
|
-
* @property edit - Operator + model proposals are interactive
|
|
17
|
-
*/
|
|
18
|
-
export const BoardModeType = VariantType({
|
|
19
|
-
/** Committed-only, pointer-immutable */
|
|
20
|
-
published: NullType,
|
|
21
|
-
/** Operator + model proposals are interactive */
|
|
22
|
-
edit: NullType,
|
|
23
|
-
});
|
|
24
|
-
/**
|
|
25
|
-
* A resolved board entity — an area row, a shift column, or a person face.
|
|
26
|
-
*
|
|
27
|
-
* @remarks
|
|
28
|
-
* One generic `key` / `label` / `sublabel` shape serves all three board
|
|
29
|
-
* tables: `areas` (rows), `shifts` (columns; `sublabel` typically the time
|
|
30
|
-
* window), and `people` (the chip directory assignments join by person key).
|
|
31
|
-
*
|
|
32
|
-
* @property key - Entity identity — the key assignments reference
|
|
33
|
-
* @property label - Display name
|
|
34
|
-
* @property sublabel - Optional muted second line (e.g. wing, time window, role)
|
|
35
|
-
*/
|
|
36
|
-
export const BoardEntityType = StructType({
|
|
37
|
-
/** Entity identity — the key assignments reference */
|
|
38
|
-
key: StringType,
|
|
39
|
-
/** Display name */
|
|
40
|
-
label: StringType,
|
|
41
|
-
/** Optional muted second line (e.g. wing, time window, role) */
|
|
42
|
-
sublabel: OptionType(StringType),
|
|
43
|
-
});
|
|
44
|
-
/**
|
|
45
|
-
* A resolved assignment — one person chip in one (area, shift) cell.
|
|
46
|
-
*
|
|
47
|
-
* @remarks
|
|
48
|
-
* Carries no display label: the chip face comes from joining `person` to the
|
|
49
|
-
* board's `people` table by key.
|
|
50
|
-
*
|
|
51
|
-
* @property key - Stable assignment identity — referenced by drag-grammar cell refs
|
|
52
|
-
* @property person - The person key (joined to `people` for the chip face)
|
|
53
|
-
* @property area - The area key (the grid row)
|
|
54
|
-
* @property shift - The shift key (the grid column)
|
|
55
|
-
* @property state - The audit state (committed / proposed / rejected)
|
|
56
|
-
*/
|
|
57
|
-
export const BoardAssignmentType = StructType({
|
|
58
|
-
/** Stable assignment identity — referenced by drag-grammar cell refs */
|
|
59
|
-
key: StringType,
|
|
60
|
-
/** The person key (joined to `people` for the chip face) */
|
|
61
|
-
person: StringType,
|
|
62
|
-
/** The area key (the grid row) */
|
|
63
|
-
area: StringType,
|
|
64
|
-
/** The shift key (the grid column) */
|
|
65
|
-
shift: StringType,
|
|
66
|
-
/** The audit state (committed / proposed / rejected) */
|
|
67
|
-
state: PlannerStateType,
|
|
68
|
-
});
|
|
69
|
-
/**
|
|
70
|
-
* A resolved coverage requirement for one (area, shift) cell.
|
|
71
|
-
*
|
|
72
|
-
* @property area - The area key
|
|
73
|
-
* @property shift - The shift key
|
|
74
|
-
* @property required - Required headcount for the cell
|
|
75
|
-
*/
|
|
76
|
-
export const BoardRequirementType = StructType({
|
|
77
|
-
/** The area key */
|
|
78
|
-
area: StringType,
|
|
79
|
-
/** The shift key */
|
|
80
|
-
shift: StringType,
|
|
81
|
-
/** Required headcount for the cell */
|
|
82
|
-
required: IntegerType,
|
|
83
|
-
});
|
|
84
|
-
// NOTE (#265): `BoardRootType` moved to `./index.ts` — the root now carries
|
|
85
|
-
// the shared review config (`review.summary` is a `UIComponentType`), so it is
|
|
86
|
-
// UIComp-coupled and can no longer live in this `component.ts`-importable
|
|
87
|
-
// module. `component.ts` spells the Board arm inline with the recursion
|
|
88
|
-
// `node` (the Planner precedent).
|
|
89
|
-
//# sourceMappingURL=types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/collections/board/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACH,WAAW,EACX,QAAQ,EACR,UAAU,EACV,UAAU,EACV,UAAU,EACV,WAAW,GACd,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAE7D;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,WAAW,CAAC;IACrC,wCAAwC;IACxC,SAAS,EAAE,QAAQ;IACnB,iDAAiD;IACjD,IAAI,EAAE,QAAQ;CACjB,CAAC,CAAC;AAYH;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,UAAU,CAAC;IACtC,sDAAsD;IACtD,GAAG,EAAE,UAAU;IACf,mBAAmB;IACnB,KAAK,EAAE,UAAU;IACjB,gEAAgE;IAChE,QAAQ,EAAE,UAAU,CAAC,UAAU,CAAC;CACnC,CAAC,CAAC;AAOH;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,UAAU,CAAC;IAC1C,wEAAwE;IACxE,GAAG,EAAE,UAAU;IACf,4DAA4D;IAC5D,MAAM,EAAE,UAAU;IAClB,kCAAkC;IAClC,IAAI,EAAE,UAAU;IAChB,sCAAsC;IACtC,KAAK,EAAE,UAAU;IACjB,wDAAwD;IACxD,KAAK,EAAE,gBAAgB;CAC1B,CAAC,CAAC;AAOH;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,UAAU,CAAC;IAC3C,mBAAmB;IACnB,IAAI,EAAE,UAAU;IAChB,oBAAoB;IACpB,KAAK,EAAE,UAAU;IACjB,sCAAsC;IACtC,QAAQ,EAAE,WAAW;CACxB,CAAC,CAAC;AAOH,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,wEAAwE;AACxE,kCAAkC"}
|