@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,165 +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
|
-
/**
|
|
6
|
-
* `Sheet.group` and `Sheet.group.cell.*` — grouped rows (#740): the group is
|
|
7
|
-
* the row, its lines live in one `Array<L>` field of its own type, and the
|
|
8
|
-
* band a group draws above its lines shows the group's own fields under the
|
|
9
|
-
* line columns.
|
|
10
|
-
*
|
|
11
|
-
* `Sheet.group(P, "lines", { title, sub?, cells?, folded?, noun? })` names
|
|
12
|
-
* the lines field and the band; each `cells` entry is a group field declared
|
|
13
|
-
* over the group's row with `Sheet.group.cell.<kind>(P, "field", cfg)` — the
|
|
14
|
-
* same builders as `Sheet.column.<kind>` minus the header, keyed in `cells`
|
|
15
|
-
* by the LINE column it sits under. A band cell edits like any cell: the
|
|
16
|
-
* edit joins the sheet's batch and reaches the host through `onUpdate` or
|
|
17
|
-
* `onApply`. `editable: false` and a `value:` projection are read-only.
|
|
18
|
-
*
|
|
19
|
-
* The builders only CAPTURE; the root describes each cell against the group's
|
|
20
|
-
* row type and reifies the accessors (`root.ts`, `bridge.ts`).
|
|
21
|
-
*
|
|
22
|
-
* @packageDocumentation
|
|
23
|
-
*/
|
|
24
|
-
import type { EastType, ExprType, SubtypeExprOrValue, BooleanType, DateTimeType, FloatType, IntegerType, OptionType, StringType, StructType } from "@elaraai/east";
|
|
25
|
-
import type { TickFormatType } from "../../format/types.js";
|
|
26
|
-
import type { SheetColumnKindLiteral, SheetLinesField, SheetLineOf } from "./types.js";
|
|
27
|
-
import type { SheetAnyColumnConfig, SheetFieldKey } from "./columns.js";
|
|
28
|
-
/**
|
|
29
|
-
* A built band cell — what a `Sheet.group.cell.*` builder returns and the
|
|
30
|
-
* `cells` map holds.
|
|
31
|
-
*
|
|
32
|
-
* @typeParam P - The group's row type
|
|
33
|
-
*/
|
|
34
|
-
export interface SheetGroupCell<P extends StructType> {
|
|
35
|
-
/** The cell's kind. */
|
|
36
|
-
readonly kind: SheetColumnKindLiteral;
|
|
37
|
-
/** The group field the cell reads and writes. */
|
|
38
|
-
readonly field: SheetFieldKey<P>;
|
|
39
|
-
/** The author's config, as given. @internal */
|
|
40
|
-
readonly config: SheetAnyColumnConfig;
|
|
41
|
-
/** The register the cell resolves against. @internal */
|
|
42
|
-
readonly register?: string;
|
|
43
|
-
/** Phantom — the row type. @internal */
|
|
44
|
-
readonly __row?: (r: P) => void;
|
|
45
|
-
}
|
|
46
|
-
/** The keys of a group row whose field is `A` or its `Option`. */
|
|
47
|
-
export type SheetFieldOf<P extends StructType, A extends EastType> = {
|
|
48
|
-
[K in SheetFieldKey<P>]: P["fields"][K] extends A | OptionType<A> ? K : never;
|
|
49
|
-
}[SheetFieldKey<P>];
|
|
50
|
-
/**
|
|
51
|
-
* What every band cell takes.
|
|
52
|
-
*
|
|
53
|
-
* @property editable - `false` makes the cell read-only
|
|
54
|
-
*/
|
|
55
|
-
export interface SheetGroupCellBaseConfig {
|
|
56
|
-
/** `false` makes the cell read-only. */
|
|
57
|
-
editable?: boolean;
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* A derived read — the cell displays the projection over the group row and
|
|
61
|
-
* is read-only; it may reach into the group's lines.
|
|
62
|
-
*
|
|
63
|
-
* @typeParam P - The group's row type
|
|
64
|
-
* @typeParam T - The kind's payload type
|
|
65
|
-
*/
|
|
66
|
-
export interface SheetGroupValueConfig<P extends StructType, T extends EastType> {
|
|
67
|
-
/** The projection over the group row. */
|
|
68
|
-
value: (row: ExprType<P>) => SubtypeExprOrValue<T | OptionType<T>>;
|
|
69
|
-
}
|
|
70
|
-
/** Config for `Sheet.group.cell.date`. */
|
|
71
|
-
export interface SheetGroupDateConfig extends SheetGroupCellBaseConfig {
|
|
72
|
-
/** A display pattern (East date tokens). */
|
|
73
|
-
format?: SubtypeExprOrValue<StringType>;
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* Config for `Sheet.group.cell.quantity`. A band has no driver member, so a
|
|
77
|
-
* band quantity carries no unit; the line column's unit is the driver's.
|
|
78
|
-
*/
|
|
79
|
-
export interface SheetGroupQuantityConfig extends SheetGroupCellBaseConfig {
|
|
80
|
-
/** A display format. */
|
|
81
|
-
format?: SubtypeExprOrValue<TickFormatType>;
|
|
82
|
-
}
|
|
83
|
-
/** Config for `Sheet.group.cell.stamped`. */
|
|
84
|
-
export interface SheetGroupStampedConfig {
|
|
85
|
-
/** The owning system. */
|
|
86
|
-
owner?: SubtypeExprOrValue<StringType>;
|
|
87
|
-
}
|
|
88
|
-
/** A text band cell — `Sheet.group.cell.text(P, "field", cfg)` on a `String` / `Option<String>` field, or a `value:` projection on any field. */
|
|
89
|
-
export declare function text<P extends StructType>(groupType: P, field: SheetFieldKey<P>, config: SheetGroupCellBaseConfig & SheetGroupValueConfig<P, StringType>): SheetGroupCell<P>;
|
|
90
|
-
export declare function text<P extends StructType>(groupType: P, field: SheetFieldOf<P, StringType>, config?: SheetGroupCellBaseConfig): SheetGroupCell<P>;
|
|
91
|
-
/** A date band cell — `Sheet.group.cell.date(P, "field", cfg)` on a `DateTime` / `Option<DateTime>` field. */
|
|
92
|
-
export declare function date<P extends StructType>(groupType: P, field: SheetFieldKey<P>, config: SheetGroupDateConfig & SheetGroupValueConfig<P, DateTimeType>): SheetGroupCell<P>;
|
|
93
|
-
export declare function date<P extends StructType>(groupType: P, field: SheetFieldOf<P, DateTimeType>, config?: SheetGroupDateConfig): SheetGroupCell<P>;
|
|
94
|
-
/** A quantity band cell — `Sheet.group.cell.quantity(P, "field", cfg)` on a `Float` / `Option<Float>` field, or a `value:` projection (a total over the lines, say). */
|
|
95
|
-
export declare function quantity<P extends StructType>(groupType: P, field: SheetFieldKey<P>, config: SheetGroupQuantityConfig & SheetGroupValueConfig<P, FloatType>): SheetGroupCell<P>;
|
|
96
|
-
export declare function quantity<P extends StructType>(groupType: P, field: SheetFieldOf<P, FloatType>, config?: SheetGroupQuantityConfig): SheetGroupCell<P>;
|
|
97
|
-
/** An integer band cell — `Sheet.group.cell.integer(P, "field", cfg)` on an `Integer` / `Option<Integer>` field. */
|
|
98
|
-
export declare function integer<P extends StructType>(groupType: P, field: SheetFieldKey<P>, config: SheetGroupCellBaseConfig & SheetGroupValueConfig<P, IntegerType>): SheetGroupCell<P>;
|
|
99
|
-
export declare function integer<P extends StructType>(groupType: P, field: SheetFieldOf<P, IntegerType>, config?: SheetGroupCellBaseConfig): SheetGroupCell<P>;
|
|
100
|
-
/** A reference band cell — `Sheet.group.cell.reference(P, register, "field", cfg)`: a lookup over a flat member list, on a `String` / `Option<String>` field. */
|
|
101
|
-
export declare function reference<P extends StructType>(_groupType: P, register: string, field: SheetFieldOf<P, StringType>, config?: SheetGroupCellBaseConfig): SheetGroupCell<P>;
|
|
102
|
-
/** An enum band cell — `Sheet.group.cell.enum(P, register, "field", cfg)`: an upper-cased register word with its valence dot, on a `String` / `Option<String>` field. */
|
|
103
|
-
export declare function enumCell<P extends StructType>(_groupType: P, register: string, field: SheetFieldOf<P, StringType>, config?: SheetGroupCellBaseConfig): SheetGroupCell<P>;
|
|
104
|
-
/** A stamped band cell — `Sheet.group.cell.stamped(P, "field", cfg)`: a read-only code an upstream system owns, on a `String` / `Option<String>` field. */
|
|
105
|
-
export declare function stamped<P extends StructType>(_groupType: P, field: SheetFieldOf<P, StringType>, config?: SheetGroupStampedConfig): SheetGroupCell<P>;
|
|
106
|
-
/**
|
|
107
|
-
* What `Sheet.group(P, "lines", …)` takes.
|
|
108
|
-
*
|
|
109
|
-
* @typeParam P - The group's row type
|
|
110
|
-
* @typeParam L - The line type the lines field holds
|
|
111
|
-
* @property title - The band's title — a `String` field of the group row; ⏎ / F2 on the band renames it
|
|
112
|
-
* @property sub - The band's eyebrow — an accessor over the group row, display only
|
|
113
|
-
* @property cells - Band cells keyed by the LINE column they sit under
|
|
114
|
-
* @property folded - Whether a group opens folded — an accessor over the group row
|
|
115
|
-
* @property noun - The word the renderer prints for a group — fold-all, the footer count, hints, the new-group button (#844); omitted, the renderer's own word in the viewer's language (`"group"` / `"groups"` in English, #861)
|
|
116
|
-
*/
|
|
117
|
-
export interface SheetGroupConfig<P extends StructType, L extends StructType = StructType> {
|
|
118
|
-
/** The band's title — a `String` field of the group row. */
|
|
119
|
-
title: SheetFieldOf<P, StringType>;
|
|
120
|
-
/** The band's eyebrow — display only. */
|
|
121
|
-
sub?: (row: ExprType<P>) => SubtypeExprOrValue<StringType>;
|
|
122
|
-
/** Band cells keyed by the line column they sit under. */
|
|
123
|
-
cells?: {
|
|
124
|
-
[K in SheetFieldKey<L>]?: SheetGroupCell<P>;
|
|
125
|
-
};
|
|
126
|
-
/** Whether a group opens folded. */
|
|
127
|
-
folded?: (row: ExprType<P>) => SubtypeExprOrValue<BooleanType>;
|
|
128
|
-
/** The word the renderer prints for a group. */
|
|
129
|
-
noun?: {
|
|
130
|
-
/** One group (`"order"`). */
|
|
131
|
-
singular: SubtypeExprOrValue<StringType>;
|
|
132
|
-
/** Several (`"orders"`). */
|
|
133
|
-
plural: SubtypeExprOrValue<StringType>;
|
|
134
|
-
};
|
|
135
|
-
}
|
|
136
|
-
/**
|
|
137
|
-
* A built group declaration — what `Sheet.group(…)` returns and the `group`
|
|
138
|
-
* prop takes.
|
|
139
|
-
*
|
|
140
|
-
* @typeParam P - The group's row type
|
|
141
|
-
* @typeParam F - The lines field
|
|
142
|
-
*/
|
|
143
|
-
export interface SheetGroupValue<P extends StructType, F extends string> {
|
|
144
|
-
/** The group's row type. */
|
|
145
|
-
readonly rowType: P;
|
|
146
|
-
/** The field holding the lines. */
|
|
147
|
-
readonly lines: F;
|
|
148
|
-
/** The author's config, as given. @internal */
|
|
149
|
-
readonly config: SheetGroupConfig<P, StructType>;
|
|
150
|
-
}
|
|
151
|
-
/**
|
|
152
|
-
* Declares grouped rows — `Sheet.group(P, "lines", { title, sub?, cells?, folded?, noun? })`
|
|
153
|
-
* (#740): the group is the row, `lines` names the `Array<Line>` field
|
|
154
|
-
* holding its lines, and the band draws the title, the eyebrow and the
|
|
155
|
-
* `cells` under their line columns.
|
|
156
|
-
*
|
|
157
|
-
* @typeParam P - The group's row type
|
|
158
|
-
* @typeParam F - The lines field — an `Array<Line>` field of `P`
|
|
159
|
-
* @param rowType - The group's row type value
|
|
160
|
-
* @param lines - The lines field
|
|
161
|
-
* @param config - The band ({@link SheetGroupConfig})
|
|
162
|
-
* @returns The declaration the `group` prop takes
|
|
163
|
-
*/
|
|
164
|
-
export declare function createGroup<P extends StructType, F extends SheetLinesField<P>>(rowType: P, lines: F, config: SheetGroupConfig<P, SheetLineOf<P, F>>): SheetGroupValue<P, F>;
|
|
165
|
-
//# sourceMappingURL=group.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
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A6B;QAC7B,QAAQ,EAAE,kBAAkB,CAAC,UAAU,CAAC,CAAC;QACzC,4BAA4B;QAC5B,MAAM,EAAE,kBAAkB,CAAC,UAAU,CAAC,CAAC;KAC1C,CAAC;CACL;AAED;;;;;;GAMG;AACH,MAAM,WAAW,eAAe,CAAC,CAAC,SAAS,UAAU,EAAE,CAAC,SAAS,MAAM;IACnE,4BAA4B;IAC5B,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAC;IACpB,mCAAmC;IACnC,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAC;IAClB,+CAA+C;IAC/C,QAAQ,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC;CACpD;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS,UAAU,EAAE,CAAC,SAAS,eAAe,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,gBAAgB,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC,CAE3K"}
|
|
@@ -1,52 +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
|
-
// ============================================================================
|
|
6
|
-
// Builders
|
|
7
|
-
// ============================================================================
|
|
8
|
-
/** Build one band cell value. */
|
|
9
|
-
function cell(kind, field, config, extra = {}) {
|
|
10
|
-
return { kind, field, config: config, ...extra };
|
|
11
|
-
}
|
|
12
|
-
export function text(_groupType, field, config = {}) {
|
|
13
|
-
return cell("text", field, config);
|
|
14
|
-
}
|
|
15
|
-
export function date(_groupType, field, config = {}) {
|
|
16
|
-
return cell("date", field, config);
|
|
17
|
-
}
|
|
18
|
-
export function quantity(_groupType, field, config = {}) {
|
|
19
|
-
return cell("quantity", field, config);
|
|
20
|
-
}
|
|
21
|
-
export function integer(_groupType, field, config = {}) {
|
|
22
|
-
return cell("integer", field, config);
|
|
23
|
-
}
|
|
24
|
-
/** A reference band cell — `Sheet.group.cell.reference(P, register, "field", cfg)`: a lookup over a flat member list, on a `String` / `Option<String>` field. */
|
|
25
|
-
export function reference(_groupType, register, field, config = {}) {
|
|
26
|
-
return cell("reference", field, config, { register });
|
|
27
|
-
}
|
|
28
|
-
/** An enum band cell — `Sheet.group.cell.enum(P, register, "field", cfg)`: an upper-cased register word with its valence dot, on a `String` / `Option<String>` field. */
|
|
29
|
-
export function enumCell(_groupType, register, field, config = {}) {
|
|
30
|
-
return cell("enum", field, config, { register });
|
|
31
|
-
}
|
|
32
|
-
/** A stamped band cell — `Sheet.group.cell.stamped(P, "field", cfg)`: a read-only code an upstream system owns, on a `String` / `Option<String>` field. */
|
|
33
|
-
export function stamped(_groupType, field, config = {}) {
|
|
34
|
-
return cell("stamped", field, config);
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Declares grouped rows — `Sheet.group(P, "lines", { title, sub?, cells?, folded?, noun? })`
|
|
38
|
-
* (#740): the group is the row, `lines` names the `Array<Line>` field
|
|
39
|
-
* holding its lines, and the band draws the title, the eyebrow and the
|
|
40
|
-
* `cells` under their line columns.
|
|
41
|
-
*
|
|
42
|
-
* @typeParam P - The group's row type
|
|
43
|
-
* @typeParam F - The lines field — an `Array<Line>` field of `P`
|
|
44
|
-
* @param rowType - The group's row type value
|
|
45
|
-
* @param lines - The lines field
|
|
46
|
-
* @param config - The band ({@link SheetGroupConfig})
|
|
47
|
-
* @returns The declaration the `group` prop takes
|
|
48
|
-
*/
|
|
49
|
-
export function createGroup(rowType, lines, config) {
|
|
50
|
-
return { rowType, lines, config: config };
|
|
51
|
-
}
|
|
52
|
-
//# sourceMappingURL=group.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"group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C,MAAM,EAAE,KAAyB,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC;AACzE,CAAC;AAED,2JAA2J;AAC3J,MAAM,UAAU,OAAO,CAAuB,UAAa,EAAE,KAAkC,EAAE,SAAkC,EAAE;IACjI,OAAO,IAAI,CAAC,SAAS,EAAE,KAAyB,EAAE,MAAM,CAAC,CAAC;AAC9D,CAAC;AAmDD;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,WAAW,CAAqD,OAAU,EAAE,KAAQ,EAAE,MAA8C;IAChJ,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAyC,EAAE,CAAC;AACjF,CAAC"}
|
|
@@ -1,351 +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
|
-
/**
|
|
6
|
-
* `Sheet` — the planning spreadsheet (`libs/east-ui/docs/proposals/Sheet
|
|
7
|
-
* Spec.md`): a sheet whose rows are the host's records, whose columns are
|
|
8
|
-
* TYPED (a date, a quantity with a unit, a register lookup, a directed link
|
|
9
|
-
* between register members, a stamped read-only code), whose blank tail
|
|
10
|
-
* invites the next row, and whose copilot fills cells and proposes whole
|
|
11
|
-
* rows from rules the author writes as East functions.
|
|
12
|
-
*
|
|
13
|
-
* The module is the namespace assembler over the split sources:
|
|
14
|
-
* `types.ts` (the closed wire types + the typed constructors) ·
|
|
15
|
-
* `columns.ts` (`Sheet.column.*`) · `registers.ts` (`Sheet.register.*`,
|
|
16
|
-
* `Sheet.driver`) · `link.ts` (`Sheet.link.*`) · `group.ts` (`Sheet.group`,
|
|
17
|
-
* `Sheet.group.cell.*`) · `sub-rows.ts` (`Sheet.subRows` / `Sheet.subRow`) ·
|
|
18
|
-
* `transactions.ts` and `drafts.ts` (the Sheet's names for the shared editing
|
|
19
|
-
* contract, `contracts/editing.ts` #879 — `Sheet.apply`, the checked batch
|
|
20
|
-
* types, the draft entry types and the `onPatch` event — plus the new-row
|
|
21
|
-
* contexts only a sheet has) · `edits.ts` (the `edits` capabilities) ·
|
|
22
|
-
* `bridge.ts` (the typed bridge) · `context-bridge.ts`, `draft-bridge.ts` and
|
|
23
|
-
* `seed-bridge.ts` (draft-aware contexts, draft decoding and the `newRow` /
|
|
24
|
-
* `newGroup` defaults) · `editing-bridge.ts` and `editing-types.ts` (the
|
|
25
|
-
* editing session's callbacks and their closed transport, the inline
|
|
26
|
-
* `onUpdate` adapter among them) · `root.ts` (`Sheet.Root`).
|
|
27
|
-
*
|
|
28
|
-
* One namespace object per category, the `Plan.series` / `Plan.at` /
|
|
29
|
-
* `Plan.Types` split, so categories never mix as they grow.
|
|
30
|
-
*
|
|
31
|
-
* @packageDocumentation
|
|
32
|
-
*/
|
|
33
|
-
import { type ExprType, type StructType } from "@elaraai/east";
|
|
34
|
-
import { SheetMemberType, SheetLinkType, SheetCellType, SheetRowType, SheetLineType, SheetBandType, SheetGroupCellType, SheetGroupType, SheetRowsCollectionType, SheetRowsType, SheetRegisterMemberType, SheetRegisterType, SheetDriverType, SheetHalfType, SheetSidesValueType, SheetStoreType, SheetMemberKindType, SheetMultipleType, SheetSideLockType, SheetSidesType, SheetCountedType, SheetContextType, SheetFillType, SheetProposalType, SheetProviderType, SheetProposerType, SheetSuggestType, SheetCheckContextType, SheetCheckType, SheetArityType, SheetColumnKindType, SheetColumnType, SheetViewType, SheetEditType, SheetSelectionType, SheetFooterItemType, SheetStyleType, SheetRootType, SheetFillTypeFor, SheetPatchTypeFor, SheetProposalTypeFor, SheetFacetType, SheetSubRowType, SheetDateLevelType, SheetOptionsRuleType, SheetNounType, sheetContextType, sheetCheckContextType, type SheetPatchInput, type SheetPatchOf } from "./types.js";
|
|
35
|
-
import { text, date, quantity, integer, lookup, reference, enumColumn, set, link, stamped, custom } from "./columns.js";
|
|
36
|
-
import { createMembers, concatMembers, createDriver } from "./registers.js";
|
|
37
|
-
import { createArity, check, parseLink, printLink, SheetMembersType, SheetRegisterMembersType } from "./link.js";
|
|
38
|
-
import { createSheet } from "./root.js";
|
|
39
|
-
import { createSubRows, createSubRow } from "./sub-rows.js";
|
|
40
|
-
import { createGroup, text as groupText, date as groupDate, quantity as groupQuantity, integer as groupInteger, reference as groupReference, enumCell as groupEnum, stamped as groupStamped } from "./group.js";
|
|
41
|
-
import { applySheet, SheetPositionType, SheetEntryPlacementType, SheetRowDestinationType, SheetFieldIssueType, SheetReadinessType, SheetIssueType, SheetBatchReadinessType, SheetOriginType, SheetApplyResultType, SheetNewRowType, SheetNewGroupType, SheetDraftTypeFor, SheetBaseTypeFor, SheetChangeTypeFor, SheetChangeSetTypeFor, SheetAppliedTypeFor } from "./transactions.js";
|
|
42
|
-
export * from "./transactions.js";
|
|
43
|
-
import { SheetEntryTypeFor, SheetDraftGroupTypeFor, SheetDraftEntryTypeFor, SheetDraftChangeTypeFor, SheetPatchEventTypeFor } from "./drafts.js";
|
|
44
|
-
export * from "./drafts.js";
|
|
45
|
-
export * from "./editing-types.js";
|
|
46
|
-
export { SheetMemberType, SheetLinkType, SheetCellType, SheetRowType, SheetLineType, SheetBandType, SheetFacetType, SheetSubRowType, SheetDateLevelType, type SheetDateLevelLiteral, SheetOptionsRuleType, SheetNounType, SHEET_TITLE_CELL, sheetRuleCell, SheetGroupCellType, SheetGroupType, SheetRowsCollectionType, SheetRowsType, SheetRegisterMemberType, SheetRegisterType, SheetDriverType, SheetHalfType, type SheetHalfLiteral, SheetSidesValueType, type SheetSidesLiteral, SheetStoreType, type SheetStoreLiteral, SheetMemberKindType, SheetMultipleType, SheetSideLockType, SheetSidesType, SheetCountedType, SheetContextType, SheetFillType, SheetProposalType, SheetProviderType, SheetProposerType, SheetSuggestType, SheetCheckContextType, SheetCheckType, SheetArityType, SheetColumnKindType, type SheetColumnKindLiteral, SheetColumnType, SheetViewType, SheetEditType, SheetSelectionType, SheetFooterItemType, SheetStyleType, SheetRootType, SheetContextTypeFor, SheetFillTypeFor, SheetPatchTypeFor, SheetProposalTypeFor, SheetCheckContextTypeFor, SheetGroupContextTypeFor, SheetGroupCheckContextTypeFor, sheetContextType, sheetCheckContextType, sheetLinesOf, type SheetContextOf, type SheetFillOf, type SheetPatchOf, type SheetProposalOf, type SheetCheckContextOf, type SheetGroupContextOf, type SheetGroupCheckContextOf, type SheetAnyContextOf, type SheetAnyCheckContextOf, type SheetLinesField, type SheetLineOf, type SheetEntryOf, type SheetPatchInput, type SheetFieldsOf, } from "./types.js";
|
|
47
|
-
export { type SheetColumn, type SheetColumnSpec, type SheetFieldKey, type SheetMemberArrayField, type SheetFillInput, type SheetOptionsInput, type SheetColumnBaseConfig, type SheetValueConfig, type SheetTextConfig, type SheetDateConfig, type SheetQuantityConfig, type SheetIntegerConfig, type SheetLookupConfig, type SheetReferenceConfig, type SheetEnumConfig, type SheetMemberKindInput, type SheetMultipleInput, type SheetSetConfig, type SheetSidesInput, type SheetLinkConfig, type SheetStampedConfig, type SheetCustomConfig, } from "./columns.js";
|
|
48
|
-
export { type SheetRegisterValue, type SheetMembersConfig, type SheetDriverConfig, type SheetDriverValue, } from "./registers.js";
|
|
49
|
-
export { type SheetArityInput, type SheetCheckInput, type SheetExistsCheck, type SheetLocksInput, SheetMembersType, SheetRegisterMembersType, printMember, linkKeys, } from "./link.js";
|
|
50
|
-
export { type SheetOptions, type SheetReadyInput, type SheetGroupedOptions, type SheetEntriesOptions, type SheetSuggestInput, type SheetProposerInput, type SheetStringField, type SheetBindHandle, createSheet, } from "./root.js";
|
|
51
|
-
export { type SheetGroupCell, type SheetGroupConfig, type SheetGroupValue, type SheetGroupCellBaseConfig, type SheetGroupValueConfig, type SheetGroupDateConfig, type SheetGroupQuantityConfig, type SheetGroupStampedConfig, type SheetFieldOf, createGroup, } from "./group.js";
|
|
52
|
-
export { type SheetArrayField, type SheetElementOf, type SheetSubRowSources, type SheetSubRowsValue, type SheetSubRowInput, createSubRows, createSubRow, } from "./sub-rows.js";
|
|
53
|
-
export { type SheetColumnMeta, type SheetRuleCellMeta, describeColumn, describeGroupCell, optionPayload, cellTagOf } from "./bridge.js";
|
|
54
|
-
/**
|
|
55
|
-
* Builds a row patch — `Sheet.patch(R, { … })`: the fields it sets, every
|
|
56
|
-
* other field `none`. A proposer returns patches as its proposed rows
|
|
57
|
-
* (§3.6), and `newRow` / `newGroup` return one as a new row's explicit
|
|
58
|
-
* defaults, including required fields no column shows — a field it leaves
|
|
59
|
-
* `none` starts missing. Takes the literal-record form of `R`'s fields, each
|
|
60
|
-
* a literal or an expression of the FIELD's type.
|
|
61
|
-
*
|
|
62
|
-
* @typeParam R - The host's row type
|
|
63
|
-
* @param rowType - The row type value
|
|
64
|
-
* @param record - The fields to set
|
|
65
|
-
* @returns An expression of `Sheet.Types.Patch(R)`
|
|
66
|
-
*
|
|
67
|
-
* @example
|
|
68
|
-
* ```tsx
|
|
69
|
-
* // .tsx file with the `@jsxImportSource @elaraai/east-ui` pragma
|
|
70
|
-
* import { ArrayType, East, IntegerType, StringType, StructType } from "@elaraai/east";
|
|
71
|
-
* import { Reactive, Sheet, State, Text, UIComponentType, VStack } from "@elaraai/east-ui";
|
|
72
|
-
*
|
|
73
|
-
* const sheet = East.function([], UIComponentType, (_$) => (
|
|
74
|
-
* <Reactive>{$ => {
|
|
75
|
-
* const RowType = StructType({ id: StringType, task: StringType, qty: IntegerType, createdBy: StringType });
|
|
76
|
-
* const jobs = $.const(State.bind([ArrayType(RowType)], "sheet_insertion_jobs", [
|
|
77
|
-
* { id: "rough", task: "Rough machining", qty: 120n, createdBy: "planner" },
|
|
78
|
-
* { id: "inspect", task: "Inspect lots", qty: 4n, createdBy: "planner" },
|
|
79
|
-
* { id: "finish", task: "Finish housings", qty: 120n, createdBy: "planner" },
|
|
80
|
-
* ]));
|
|
81
|
-
* const saved = $.const(jobs.read());
|
|
82
|
-
* return <VStack gap="3" align="stretch">
|
|
83
|
-
* <Text textStyle="caption" color="fg.muted">Hover or focus a gutter to insert before a row. Select a row marker for Insert above/below, or use Alt+Insert and Alt+Shift+Insert. Name the draft and Apply to save it.</Text>
|
|
84
|
-
* <Sheet data={jobs} id="id" columns={{ task: Sheet.column.text(RowType), qty: Sheet.column.integer(RowType) }}
|
|
85
|
-
* edits={{ insertRows: true, removeRows: false, moveRows: "none" }}
|
|
86
|
-
* newRow={East.function([Sheet.Types.NewRow], Sheet.Types.Patch(RowType), () => Sheet.patch(RowType, { qty: 1n, createdBy: "planner" }))}
|
|
87
|
-
* onUpdate={jobs.write} blanks={2n} />
|
|
88
|
-
* <Text.MonoLabel>{East.str`SAVED · ${saved.map((_$, row) => row.task).stringJoin(" → ")}`}</Text.MonoLabel>
|
|
89
|
-
* </VStack>;
|
|
90
|
-
* }}</Reactive>
|
|
91
|
-
* ));
|
|
92
|
-
* ```
|
|
93
|
-
*/
|
|
94
|
-
export declare function createPatch<R extends StructType>(rowType: R, record: SheetPatchInput<R>): ExprType<SheetPatchOf<R>>;
|
|
95
|
-
/**
|
|
96
|
-
* The type of the {@link Sheet} namespace. Declared explicitly (rather than
|
|
97
|
-
* inferred from `as const`) so the declaration emit stays within
|
|
98
|
-
* TypeScript's serialization limit.
|
|
99
|
-
*/
|
|
100
|
-
export interface SheetNamespace {
|
|
101
|
-
/** Creates the Sheet root (the `<Sheet>` tag's factory). */
|
|
102
|
-
Root: typeof createSheet;
|
|
103
|
-
/** The column builders — each takes the row type first (§3.2). */
|
|
104
|
-
column: {
|
|
105
|
-
/** Free text. */
|
|
106
|
-
text: typeof text;
|
|
107
|
-
/** A UTC-midnight date with the B§3 grammar. */
|
|
108
|
-
date: typeof date;
|
|
109
|
-
/** A float with a unit per driver member. */
|
|
110
|
-
quantity: typeof quantity;
|
|
111
|
-
/** A whole number. */
|
|
112
|
-
integer: typeof integer;
|
|
113
|
-
/** The driver column — scored candidates from the driver's register. */
|
|
114
|
-
lookup: typeof lookup;
|
|
115
|
-
/** A lookup over a flat member list. */
|
|
116
|
-
reference: typeof reference;
|
|
117
|
-
/** An upper-cased register word with a valence dot. */
|
|
118
|
-
enum: typeof enumColumn;
|
|
119
|
-
/** Comma members — the link grammar without an arrow. */
|
|
120
|
-
set: typeof set;
|
|
121
|
-
/** `from > to` — the split cell (§3.4). */
|
|
122
|
-
link: typeof link;
|
|
123
|
-
/** A read-only code an upstream system owns. */
|
|
124
|
-
stamped: typeof stamped;
|
|
125
|
-
/** An author parse / print pair over the field's payload (§3.9). */
|
|
126
|
-
custom: typeof custom;
|
|
127
|
-
};
|
|
128
|
-
/** Registers — the grammar's vocabulary, projected from the host's rows (§3.3). */
|
|
129
|
-
register: {
|
|
130
|
-
/** Members from rows through accessors, reified once; duplicates fold by key. */
|
|
131
|
-
members: typeof createMembers;
|
|
132
|
-
/** Joins member sets of different kinds into one register. */
|
|
133
|
-
concat: typeof concatMembers;
|
|
134
|
-
};
|
|
135
|
-
/** The driver declaration — the `lookup` column whose member decides what the row does. */
|
|
136
|
-
driver: typeof createDriver;
|
|
137
|
-
/** The link value's helpers (§3.4). */
|
|
138
|
-
link: {
|
|
139
|
-
/** A link column's arity rule. */
|
|
140
|
-
arity: typeof createArity;
|
|
141
|
-
/** The built-in member checks (`exists`). */
|
|
142
|
-
check: typeof check;
|
|
143
|
-
/** The grammar's parse — text and a register's members to a link value. */
|
|
144
|
-
parse: typeof parseLink;
|
|
145
|
-
/** The grammar's print — a link value to the planner's text. */
|
|
146
|
-
print: typeof printLink;
|
|
147
|
-
};
|
|
148
|
-
/** A row patch — the fields a proposal or a new row's defaults set (§3.6). */
|
|
149
|
-
patch: typeof createPatch;
|
|
150
|
-
/** Sub rows (#844) — `Sheet.subRows(R, { field: (item, row) => Sheet.subRow({ … }) })`, keyed by `R`'s array fields. */
|
|
151
|
-
subRows: typeof createSubRows;
|
|
152
|
-
/** One sub row — `Sheet.subRow({ code?, name, chips?, facets?, id? })`. */
|
|
153
|
-
subRow: typeof createSubRow;
|
|
154
|
-
/** Applies a checked entry batch atomically to a collection — the shared `Editing.apply` (#879). */
|
|
155
|
-
apply: typeof applySheet;
|
|
156
|
-
/**
|
|
157
|
-
* Grouped rows (#740) — `Sheet.group(P, "lines", { title, sub?, cells?, folded?, noun? })`
|
|
158
|
-
* declares the group's lines field (an `Array` of line structs) and its
|
|
159
|
-
* band; `Sheet.group.cell.*` builds the band's cells over the group's
|
|
160
|
-
* fields. Over `Types.Entry(P, "lines")` entries, rows of the line type
|
|
161
|
-
* stand between the groups as loose rows (#846).
|
|
162
|
-
*/
|
|
163
|
-
group: typeof createGroup & {
|
|
164
|
-
/** The band cell builders — each takes the group's row type first. */
|
|
165
|
-
cell: {
|
|
166
|
-
/** Free text. */
|
|
167
|
-
text: typeof groupText;
|
|
168
|
-
/** A UTC-midnight date. */
|
|
169
|
-
date: typeof groupDate;
|
|
170
|
-
/** A float — no unit on a band. */
|
|
171
|
-
quantity: typeof groupQuantity;
|
|
172
|
-
/** A whole number. */
|
|
173
|
-
integer: typeof groupInteger;
|
|
174
|
-
/** A lookup over a flat member list. */
|
|
175
|
-
reference: typeof groupReference;
|
|
176
|
-
/** An upper-cased register word with a valence dot. */
|
|
177
|
-
enum: typeof groupEnum;
|
|
178
|
-
/** A read-only code an upstream system owns. */
|
|
179
|
-
stamped: typeof groupStamped;
|
|
180
|
-
};
|
|
181
|
-
};
|
|
182
|
-
/**
|
|
183
|
-
* The Sheet East types — the closed wire types and the typed constructors.
|
|
184
|
-
* The transaction and draft types (`Entry`, `DraftGroup`, `DraftEntry`,
|
|
185
|
-
* `DraftChange`, `PatchEvent`, `Position`, `EntryPlacement`, `FieldIssue`,
|
|
186
|
-
* `Readiness`, `Issue`, `BatchReadiness`, `Origin`, `ApplyResult`, `Draft`,
|
|
187
|
-
* `Base`, `Change`, `ChangeSet`, `Applied`) are the shared editing
|
|
188
|
-
* contract's — each the same value as its `Editing.Types` name (#879).
|
|
189
|
-
*/
|
|
190
|
-
Types: {
|
|
191
|
-
/** `Entry(G, "rows")` — the group-or-row union of a source holding groups beside ungrouped rows: as a sheet's `data`, loose rows between the groups (#846) ({@link SheetEntryTypeFor}). */
|
|
192
|
-
Entry: typeof SheetEntryTypeFor;
|
|
193
|
-
/** DraftGroup type for source-bound editing. */
|
|
194
|
-
DraftGroup: typeof SheetDraftGroupTypeFor;
|
|
195
|
-
/** DraftEntry type for source-bound editing. */
|
|
196
|
-
DraftEntry: typeof SheetDraftEntryTypeFor;
|
|
197
|
-
/** DraftChange type for source-bound editing. */
|
|
198
|
-
DraftChange: typeof SheetDraftChangeTypeFor;
|
|
199
|
-
/** PatchEvent type for source-bound editing. */
|
|
200
|
-
PatchEvent: typeof SheetPatchEventTypeFor;
|
|
201
|
-
/** Position contract for checked Sheet transactions. */
|
|
202
|
-
Position: typeof SheetPositionType;
|
|
203
|
-
/** EntryPlacement contract for checked Sheet transactions. */
|
|
204
|
-
EntryPlacement: typeof SheetEntryPlacementType;
|
|
205
|
-
/** RowDestination contract for checked Sheet transactions. */
|
|
206
|
-
RowDestination: typeof SheetRowDestinationType;
|
|
207
|
-
/** FieldIssue contract for checked Sheet transactions. */
|
|
208
|
-
FieldIssue: typeof SheetFieldIssueType;
|
|
209
|
-
/** Readiness contract for checked Sheet transactions. */
|
|
210
|
-
Readiness: typeof SheetReadinessType;
|
|
211
|
-
/** Issue contract for checked Sheet transactions. */
|
|
212
|
-
Issue: typeof SheetIssueType;
|
|
213
|
-
/** BatchReadiness contract for checked Sheet transactions. */
|
|
214
|
-
BatchReadiness: typeof SheetBatchReadinessType;
|
|
215
|
-
/** Origin contract for checked Sheet transactions. */
|
|
216
|
-
Origin: typeof SheetOriginType;
|
|
217
|
-
/** ApplyResult contract for checked Sheet transactions. */
|
|
218
|
-
ApplyResult: typeof SheetApplyResultType;
|
|
219
|
-
/** NewRow contract for checked Sheet transactions. */
|
|
220
|
-
NewRow: typeof SheetNewRowType;
|
|
221
|
-
/** NewGroup contract for checked Sheet transactions. */
|
|
222
|
-
NewGroup: typeof SheetNewGroupType;
|
|
223
|
-
/** Draft contract for checked Sheet transactions. */
|
|
224
|
-
Draft: typeof SheetDraftTypeFor;
|
|
225
|
-
/** Base contract for checked Sheet transactions. */
|
|
226
|
-
Base: typeof SheetBaseTypeFor;
|
|
227
|
-
/** Change contract for checked Sheet transactions. */
|
|
228
|
-
Change: typeof SheetChangeTypeFor;
|
|
229
|
-
/** ChangeSet contract for checked Sheet transactions. */
|
|
230
|
-
ChangeSet: typeof SheetChangeSetTypeFor;
|
|
231
|
-
/** Applied contract for checked Sheet transactions. */
|
|
232
|
-
Applied: typeof SheetAppliedTypeFor;
|
|
233
|
-
/** The Sheet root IR ({@link SheetRootType}). */
|
|
234
|
-
Root: typeof SheetRootType;
|
|
235
|
-
/** One wire row — id, `owned`, one cell per declared column, and on a grouped sheet its lines and band ({@link SheetRowType}). */
|
|
236
|
-
Row: typeof SheetRowType;
|
|
237
|
-
/** One line of a group row on the wire ({@link SheetLineType}). */
|
|
238
|
-
Line: typeof SheetLineType;
|
|
239
|
-
/** One sub row — a lead, a detail and an id ({@link SheetSubRowType}). */
|
|
240
|
-
SubRow: typeof SheetSubRowType;
|
|
241
|
-
/** One labelled fact of a sub row's detail ({@link SheetFacetType}). */
|
|
242
|
-
Facet: typeof SheetFacetType;
|
|
243
|
-
/** How deep a date column reads a row's date ({@link SheetDateLevelType}). */
|
|
244
|
-
DateLevel: typeof SheetDateLevelType;
|
|
245
|
-
/** A column's options rule on the wire ({@link SheetOptionsRuleType}). */
|
|
246
|
-
OptionsRule: typeof SheetOptionsRuleType;
|
|
247
|
-
/** The word the renderer prints for a group ({@link SheetNounType}). */
|
|
248
|
-
Noun: typeof SheetNounType;
|
|
249
|
-
/** The band a group row draws ({@link SheetBandType}). */
|
|
250
|
-
Band: typeof SheetBandType;
|
|
251
|
-
/** The group declaration on the wire ({@link SheetGroupType}). */
|
|
252
|
-
Group: typeof SheetGroupType;
|
|
253
|
-
/** One band cell on the wire ({@link SheetGroupCellType}). */
|
|
254
|
-
GroupCell: typeof SheetGroupCellType;
|
|
255
|
-
/** The sheet's row collection ({@link SheetRowsCollectionType}). */
|
|
256
|
-
Rows: typeof SheetRowsCollectionType;
|
|
257
|
-
/** How the rows arrive — inline or paged ({@link SheetRowsType}). */
|
|
258
|
-
RowSource: typeof SheetRowsType;
|
|
259
|
-
/** One cell — the literal cell plus the typed link ({@link SheetCellType}). */
|
|
260
|
-
Cell: typeof SheetCellType;
|
|
261
|
-
/** The typed link value — `{ from, to }` member lists ({@link SheetLinkType}). */
|
|
262
|
-
Link: typeof SheetLinkType;
|
|
263
|
-
/** One link member ({@link SheetMemberType}). */
|
|
264
|
-
Member: typeof SheetMemberType;
|
|
265
|
-
/** A list of link members. */
|
|
266
|
-
Members: typeof SheetMembersType;
|
|
267
|
-
/** A count of a countable member ({@link SheetCountedType}). */
|
|
268
|
-
Counted: typeof SheetCountedType;
|
|
269
|
-
/** Which halves a driver member makes live ({@link SheetSidesValueType}). */
|
|
270
|
-
Sides: typeof SheetSidesValueType;
|
|
271
|
-
/** One half of a link ({@link SheetHalfType}). */
|
|
272
|
-
Half: typeof SheetHalfType;
|
|
273
|
-
/** How a `String`-backed link writes back ({@link SheetStoreType}). */
|
|
274
|
-
Store: typeof SheetStoreType;
|
|
275
|
-
/** One register member ({@link SheetRegisterMemberType}). */
|
|
276
|
-
RegisterMember: typeof SheetRegisterMemberType;
|
|
277
|
-
/** A list of register members — what `Sheet.link.parse` resolves against. */
|
|
278
|
-
RegisterMembers: typeof SheetRegisterMembersType;
|
|
279
|
-
/** One register ({@link SheetRegisterType}). */
|
|
280
|
-
Register: typeof SheetRegisterType;
|
|
281
|
-
/** The driver ({@link SheetDriverType}). */
|
|
282
|
-
Driver: typeof SheetDriverType;
|
|
283
|
-
/** One member kind a link column accepts ({@link SheetMemberKindType}). */
|
|
284
|
-
MemberKind: typeof SheetMemberKindType;
|
|
285
|
-
/** The counted-member grammar ({@link SheetMultipleType}). */
|
|
286
|
-
Multiple: typeof SheetMultipleType;
|
|
287
|
-
/** One lock rule ({@link SheetSideLockType}). */
|
|
288
|
-
SideLock: typeof SheetSideLockType;
|
|
289
|
-
/** A link column's applied sides declaration ({@link SheetSidesType}). */
|
|
290
|
-
SidesDeclaration: typeof SheetSidesType;
|
|
291
|
-
/** One declared column ({@link SheetColumnType}). */
|
|
292
|
-
Column: typeof SheetColumnType;
|
|
293
|
-
/** The column kind ({@link SheetColumnKindType}). */
|
|
294
|
-
ColumnKind: typeof SheetColumnKindType;
|
|
295
|
-
/** The WIRE copilot context ({@link SheetContextType}); authors use `Context(R, D)`. */
|
|
296
|
-
WireContext: typeof SheetContextType;
|
|
297
|
-
/** The WIRE fill ({@link SheetFillType}); authors use `Fill(T)`. */
|
|
298
|
-
WireFill: typeof SheetFillType;
|
|
299
|
-
/** The WIRE proposal ({@link SheetProposalType}); authors use `Proposal(R)`. */
|
|
300
|
-
WireProposal: typeof SheetProposalType;
|
|
301
|
-
/** A fill provider on the wire — sync or async ({@link SheetProviderType}). */
|
|
302
|
-
Provider: typeof SheetProviderType;
|
|
303
|
-
/** A row proposer on the wire ({@link SheetProposerType}). */
|
|
304
|
-
Proposer: typeof SheetProposerType;
|
|
305
|
-
/** The row-proposal declaration ({@link SheetSuggestType}). */
|
|
306
|
-
Suggest: typeof SheetSuggestType;
|
|
307
|
-
/** The WIRE check context ({@link SheetCheckContextType}); authors use `CheckContext(R)`. */
|
|
308
|
-
WireCheckContext: typeof SheetCheckContextType;
|
|
309
|
-
/** One member check ({@link SheetCheckType}). */
|
|
310
|
-
Check: typeof SheetCheckType;
|
|
311
|
-
/** A link column's arity rule on the wire ({@link SheetArityType}). */
|
|
312
|
-
Arity: typeof SheetArityType;
|
|
313
|
-
/** One saved view ({@link SheetViewType}). */
|
|
314
|
-
View: typeof SheetViewType;
|
|
315
|
-
/** The WIRE edit event ({@link SheetEditType}); internal gesture transport. */
|
|
316
|
-
WireEdit: typeof SheetEditType;
|
|
317
|
-
/** The selection ring's position ({@link SheetSelectionType}). */
|
|
318
|
-
Selection: typeof SheetSelectionType;
|
|
319
|
-
/** One footer item ({@link SheetFooterItemType}). */
|
|
320
|
-
FooterItem: typeof SheetFooterItemType;
|
|
321
|
-
/** The Sheet style ({@link SheetStyleType}). */
|
|
322
|
-
Style: typeof SheetStyleType;
|
|
323
|
-
/** `Context(R, D)` — the copilot context typed over the host's row and the driver's; `Context(P, "lines", D)` on a grouped sheet ({@link SheetContextTypeFor}, {@link SheetGroupContextTypeFor}). */
|
|
324
|
-
Context: typeof sheetContextType;
|
|
325
|
-
/** Constructs the draft-aware row, neighbours, group and driver context. */
|
|
326
|
-
DraftContext: typeof sheetContextType;
|
|
327
|
-
/** `Fill(T)` — a proposed value of a column's payload ({@link SheetFillTypeFor}). */
|
|
328
|
-
Fill: typeof SheetFillTypeFor;
|
|
329
|
-
/** `Patch(R)` — a row patch, every field an `Option` ({@link SheetPatchTypeFor}). */
|
|
330
|
-
Patch: typeof SheetPatchTypeFor;
|
|
331
|
-
/** `Proposal(R)` — a patch plus its provenance ({@link SheetProposalTypeFor}). */
|
|
332
|
-
Proposal: typeof SheetProposalTypeFor;
|
|
333
|
-
/** `CheckContext(R)` — what an author's member check sees; `CheckContext(P, "lines")` on a grouped sheet ({@link SheetCheckContextTypeFor}, {@link SheetGroupCheckContextTypeFor}). */
|
|
334
|
-
CheckContext: typeof sheetCheckContextType;
|
|
335
|
-
};
|
|
336
|
-
}
|
|
337
|
-
/**
|
|
338
|
-
* The `Sheet` namespace — the planning spreadsheet. Assemble a sheet with
|
|
339
|
-
* `Sheet.Root` (the `<Sheet>` tag), declare columns with `Sheet.column.*`
|
|
340
|
-
* (row type first), registers with `Sheet.register.members` / `.concat` and
|
|
341
|
-
* the driver with `Sheet.driver`, link rules with `Sheet.link.*`, proposed
|
|
342
|
-
* rows and new-row defaults with `Sheet.patch`, grouped rows with
|
|
343
|
-
* `Sheet.group` (#740), sub rows with `Sheet.subRows` / `Sheet.subRow`
|
|
344
|
-
* (#844), apply a checked batch to a collection with `Sheet.apply`, and
|
|
345
|
-
* reach every East type — the closed wire types and the typed constructors
|
|
346
|
-
* `DraftContext(R, D)` / `Fill(T)` / `Patch(R)` / `Proposal(R)` /
|
|
347
|
-
* `PatchEvent(E)` / `ChangeSet(E)` / `Entry(G, "rows")` / `CheckContext(R)`
|
|
348
|
-
* — via `Sheet.Types.*`. The `<Sheet>` tag carries every member but `Root`.
|
|
349
|
-
*/
|
|
350
|
-
export declare const Sheet: SheetNamespace;
|
|
351
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/collections/sheet/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,EAEH,KAAK,QAAQ,EAGb,KAAK,UAAU,EAGlB,MAAM,eAAe,CAAC;AAEvB,OAAO,EACH,eAAe,EACf,aAAa,EACb,aAAa,EACb,YAAY,EACZ,aAAa,EACb,aAAa,EACb,kBAAkB,EAClB,cAAc,EACd,uBAAuB,EACvB,aAAa,EACb,uBAAuB,EACvB,iBAAiB,EACjB,eAAe,EACf,aAAa,EACb,mBAAmB,EACnB,cAAc,EACd,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,EACjB,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,EACb,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,qBAAqB,EACrB,cAAc,EACd,cAAc,EACd,mBAAmB,EACnB,eAAe,EACf,aAAa,EACb,aAAa,EACb,kBAAkB,EAClB,mBAAmB,EACnB,cAAc,EACd,aAAa,EACb,gBAAgB,EAChB,iBAAiB,EACjB,oBAAoB,EACpB,cAAc,EACd,eAAe,EACf,kBAAkB,EAClB,oBAAoB,EACpB,aAAa,EACb,gBAAgB,EAChB,qBAAqB,EACrB,KAAK,eAAe,EACpB,KAAK,YAAY,EACpB,MAAM,YAAY,CAAC;AACpB,OAAO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