@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":"types.js","sourceRoot":"","sources":["../../../../src/collections/sheet/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,EAGH,SAAS,EAET,iBAAiB,EACjB,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,WAAW,EACX,QAAQ,EACR,UAAU,EACV,UAAU,EACV,UAAU,EACV,WAAW,GACd,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,iBAAiB,EAAqB,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAA0B,MAAM,aAAa,CAAC;AAC7E,OAAO,EAAE,gBAAgB,EAAE,MAA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E,MAAgB,EAAE,KAAe;IACjF,IAAI,OAAO,MAAM,KAAK,QAAQ;QAAE,OAAO,wBAAwB,CAAC,KAAK,EAAE,MAAe,EAAE,KAA6B,CAAC,CAAC;IACvH,OAAO,mBAAmB,CAAC,KAAK,EAAE,MAA8B,CAAC,CAAC;AACtE,CAAC;AAKD,MAAM,UAAU,qBAAqB,CAAC,KAAiB,EAAE,MAAgB;IACrE,IAAI,OAAO,MAAM,KAAK,QAAQ;QAAE,OAAO,6BAA6B,CAAC,KAAK,EAAE,MAAe,CAAC,CAAC;IAC7F,OAAO,wBAAwB,CAAC,KAAK,CAAC,CAAC;AAC3C,CAAC"}
|
|
@@ -1,150 +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
|
-
* `<App>` — the application shell (#367).
|
|
7
|
-
*
|
|
8
|
-
* Composes the first-class navigation primitives (`Navigation.bind` + `<NavList>`
|
|
9
|
-
* + `<Breadcrumb>` + `<Pages>`) into one surface: a collapsible nav rail, a
|
|
10
|
-
* breadcrumb app bar, an optional brand logo, app-bar slots, and the routed page
|
|
11
|
-
* body. The factory pre-builds `rail` / `breadcrumb` as plain `NavList` /
|
|
12
|
-
* `Breadcrumb` values that read the shared `nav` handle (so they re-evaluate on
|
|
13
|
-
* navigation when `<App>` is authored inside the enclosing `<Reactive>`), and
|
|
14
|
-
* `body` as a `<Pages>` value. The renderer is dumb layout + chrome (shell
|
|
15
|
-
* recipe, collapse state, `AppProvider` host-slot injection).
|
|
16
|
-
*
|
|
17
|
-
* Rail rows are derived from the `Navigation.config`: every argless (`NullType`)
|
|
18
|
-
* route that declares a `section` becomes a row (grouped, with its `icon` /
|
|
19
|
-
* `badge`), the active row is the current route, and a click navigates to it.
|
|
20
|
-
* Routes without a `section` (or with a payload) stay reachable but hidden — the
|
|
21
|
-
* deep pages you navigate to programmatically.
|
|
22
|
-
*
|
|
23
|
-
* @packageDocumentation
|
|
24
|
-
*/
|
|
25
|
-
import { type ExprType, type SubtypeExprOrValue, ArrayType, StringType } from "@elaraai/east";
|
|
26
|
-
import { UIComponentType } from "../../component.js";
|
|
27
|
-
import { ImageSourceType } from "../../display/image/types.js";
|
|
28
|
-
import { DensityType } from "../../style.js";
|
|
29
|
-
import type { DensityLiteral } from "../../style.js";
|
|
30
|
-
import { type NavConfig, type NavRoutes, type BoundNav, type PagesHandlers } from "../pages/index.js";
|
|
31
|
-
/**
|
|
32
|
-
* TypeScript input for `App.Root` — the application shell.
|
|
33
|
-
*
|
|
34
|
-
* @typeParam R - The routes map (fixed by `nav` / `config`, so `pages` is
|
|
35
|
-
* contextually typed and exhaustive).
|
|
36
|
-
* @property nav - The handle from `Navigation.bind(config, key, initial)`, bound
|
|
37
|
-
* in the enclosing `<Reactive>`. Drives the rail, breadcrumb and body.
|
|
38
|
-
* @property config - The `Navigation.config` value — the single source of truth
|
|
39
|
-
* for each route's label / rail `icon` / `section` / `badge` (the bound `nav`
|
|
40
|
-
* handle carries no labels, so the shell needs the config to build the rail
|
|
41
|
-
* and breadcrumb).
|
|
42
|
-
* @property pages - One body per route — `($, payload, nav) => <…/>` (the same
|
|
43
|
-
* registry `<Pages>` takes).
|
|
44
|
-
* @property title - Header surface title / wordmark; also the logo's alt text.
|
|
45
|
-
* @property logo - Brand image source (`Image.url` / `Image.dataUri` /
|
|
46
|
-
* `Image.blob`); the shell renders + sizes the `<Image>` into the logo region.
|
|
47
|
-
* @property logoCollapsed - Optional source for the collapsed (56 px) rail mark;
|
|
48
|
-
* defaults to `logo`.
|
|
49
|
-
* @property collapsible - Whether the rail can collapse (default `true`).
|
|
50
|
-
* @property themeToggle - Add a built-in dark/light item to the app bar (default
|
|
51
|
-
* `false` — the host normally injects theme via `AppProvider`).
|
|
52
|
-
* @property barStart - Optional app-bar nodes rendered after the breadcrumb
|
|
53
|
-
* (leading cluster) — e.g. an environment switcher.
|
|
54
|
-
* @property barEnd - Optional app-bar nodes rendered at the trailing edge —
|
|
55
|
-
* `<IconButton>` / `<Menu>` / `<Avatar>` actions.
|
|
56
|
-
* @property rail - Optional rail in place of the one the config derives — a
|
|
57
|
-
* `<NavList>` over rows that are data, such as the pages a record holds.
|
|
58
|
-
* @property breadcrumb - Optional breadcrumb in place of the one the nav path
|
|
59
|
-
* derives — one that names what the route's payload is.
|
|
60
|
-
*/
|
|
61
|
-
export interface AppInput<R extends NavRoutes> {
|
|
62
|
-
/** The nav handle from `Navigation.bind(config, key, initial)`. */
|
|
63
|
-
nav: BoundNav<R>;
|
|
64
|
-
/** The `Navigation.config` value (labels / rail icons / sections). */
|
|
65
|
-
config: NavConfig<R>;
|
|
66
|
-
/** One body per route — `($, payload, nav) => <…/>`. */
|
|
67
|
-
pages: PagesHandlers<NoInfer<R>>;
|
|
68
|
-
/** Header surface title / wordmark; also the logo alt text. */
|
|
69
|
-
title?: SubtypeExprOrValue<StringType>;
|
|
70
|
-
/** Brand image source — the shell renders + sizes the `<Image>`. */
|
|
71
|
-
logo?: SubtypeExprOrValue<ImageSourceType>;
|
|
72
|
-
/** Collapsed-rail (56 px) mark source; defaults to `logo`. */
|
|
73
|
-
logoCollapsed?: SubtypeExprOrValue<ImageSourceType>;
|
|
74
|
-
/** Whether the rail can collapse (default `true`). */
|
|
75
|
-
collapsible?: boolean;
|
|
76
|
-
/** Add a built-in dark/light app-bar item (default `false`). */
|
|
77
|
-
themeToggle?: boolean;
|
|
78
|
-
/** App-bar density (default `comfortable`) — `comfortable` (2 rows) /
|
|
79
|
-
* `compact` (tighter 2 rows) / `condensed` (breadcrumb + title on one row,
|
|
80
|
-
* ~40 px shorter). Only the app bar changes; the rail + body stay constant.
|
|
81
|
-
* Falls back to an inherited density when unset. */
|
|
82
|
-
density?: SubtypeExprOrValue<DensityType> | DensityLiteral;
|
|
83
|
-
/** App-bar nodes after the breadcrumb (leading). */
|
|
84
|
-
barStart?: SubtypeExprOrValue<ArrayType<UIComponentType>>;
|
|
85
|
-
/** App-bar nodes at the trailing edge. */
|
|
86
|
-
barEnd?: SubtypeExprOrValue<ArrayType<UIComponentType>>;
|
|
87
|
-
/**
|
|
88
|
-
* The rail, in place of the one the config derives — a `<NavList>` whose
|
|
89
|
-
* rows are data (a route per row of a record, which a static config cannot
|
|
90
|
-
* list). Its rows navigate through the same `nav` handle.
|
|
91
|
-
*/
|
|
92
|
-
rail?: SubtypeExprOrValue<UIComponentType>;
|
|
93
|
-
/**
|
|
94
|
-
* The breadcrumb, in place of the one the nav path derives — for routes
|
|
95
|
-
* whose static labels do not name what their payload is.
|
|
96
|
-
*/
|
|
97
|
-
breadcrumb?: SubtypeExprOrValue<UIComponentType>;
|
|
98
|
-
}
|
|
99
|
-
/**
|
|
100
|
-
* Creates an `App` — the application shell composed from the navigation
|
|
101
|
-
* primitives.
|
|
102
|
-
*
|
|
103
|
-
* @param input - The {@link AppInput} (`nav` + `config` + `pages` + shell options).
|
|
104
|
-
* @returns An East expression of type `UIComponentType`.
|
|
105
|
-
*
|
|
106
|
-
* @remarks
|
|
107
|
-
* Author `<App>` **inside** the enclosing `<Reactive>` that binds `nav`, so the
|
|
108
|
-
* rail's active row and the breadcrumb re-evaluate on navigation.
|
|
109
|
-
*
|
|
110
|
-
* @example
|
|
111
|
-
* ```ts
|
|
112
|
-
* import { East, NullType, StringType, StructType } from "@elaraai/east";
|
|
113
|
-
* import { App, Navigation, Reactive, Text, VStack, UIComponentType, Image } from "@elaraai/east-ui";
|
|
114
|
-
*
|
|
115
|
-
* const example = East.function([], UIComponentType, (_$) => {
|
|
116
|
-
* const routes = Navigation.config({
|
|
117
|
-
* overview: { value: NullType, label: "Overview", section: "Analyse", icon: { prefix: "fas", name: "gauge-high" } },
|
|
118
|
-
* audit: { value: NullType, label: "Audit", section: "Manage", icon: { prefix: "fas", name: "list-check" } },
|
|
119
|
-
* });
|
|
120
|
-
* return Reactive.Root(East.function([], UIComponentType, ($) => {
|
|
121
|
-
* const nav = $.let(Navigation.bind(routes, "app.route", [routes.Page.overview()]));
|
|
122
|
-
* return App.Root({
|
|
123
|
-
* nav,
|
|
124
|
-
* config: routes,
|
|
125
|
-
* title: "Acme Ops",
|
|
126
|
-
* logo: Image.dataUri("data:image/svg+xml,<svg/>"),
|
|
127
|
-
* pages: {
|
|
128
|
-
* overview: ($, _p, _nav) => VStack.Root([Text.Root("Overview")]),
|
|
129
|
-
* audit: ($, _p, _nav) => VStack.Root([Text.Root("Audit")]),
|
|
130
|
-
* },
|
|
131
|
-
* });
|
|
132
|
-
* }));
|
|
133
|
-
* });
|
|
134
|
-
* ```
|
|
135
|
-
*/
|
|
136
|
-
declare function createApp<R extends NavRoutes>(input: AppInput<R>): ExprType<UIComponentType>;
|
|
137
|
-
/**
|
|
138
|
-
* The `App` namespace — the application shell.
|
|
139
|
-
*
|
|
140
|
-
* @remarks
|
|
141
|
-
* Authored as the `<App nav={…} config={…} pages={{…}} />` tag; `App.Root({ nav,
|
|
142
|
-
* config, pages, … })` is the underlying factory. Bind the handle once with
|
|
143
|
-
* `Navigation.bind` in the enclosing `<Reactive>` and pass the same `config`.
|
|
144
|
-
*/
|
|
145
|
-
export declare const App: {
|
|
146
|
-
/** Build an `App` application shell from `{ nav, config, pages, … }`. See {@link createApp}. */
|
|
147
|
-
readonly Root: typeof createApp;
|
|
148
|
-
};
|
|
149
|
-
export {};
|
|
150
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/navigation/app/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EACH,KAAK,QAAQ,EACb,KAAK,kBAAkB,EAEvB,SAAS,EAGT,UAAU,EAIb,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OA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;;OAGG;IACH,UAAU,CAAC,EAAE,kBAAkB,CAAC,eAAe,CAAC,CAAC;CACpD;AA6FD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,iBAAS,SAAS,CAAC,CAAC,SAAS,SAAS,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,GAAG,QAAQ,CAAC,eAAe,CAAC,CAuBrF;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,GAAG;IACZ,gGAAgG;;CAE1F,CAAC"}
|
|
@@ -1,191 +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
|
-
* `<App>` — the application shell (#367).
|
|
7
|
-
*
|
|
8
|
-
* Composes the first-class navigation primitives (`Navigation.bind` + `<NavList>`
|
|
9
|
-
* + `<Breadcrumb>` + `<Pages>`) into one surface: a collapsible nav rail, a
|
|
10
|
-
* breadcrumb app bar, an optional brand logo, app-bar slots, and the routed page
|
|
11
|
-
* body. The factory pre-builds `rail` / `breadcrumb` as plain `NavList` /
|
|
12
|
-
* `Breadcrumb` values that read the shared `nav` handle (so they re-evaluate on
|
|
13
|
-
* navigation when `<App>` is authored inside the enclosing `<Reactive>`), and
|
|
14
|
-
* `body` as a `<Pages>` value. The renderer is dumb layout + chrome (shell
|
|
15
|
-
* recipe, collapse state, `AppProvider` host-slot injection).
|
|
16
|
-
*
|
|
17
|
-
* Rail rows are derived from the `Navigation.config`: every argless (`NullType`)
|
|
18
|
-
* route that declares a `section` becomes a row (grouped, with its `icon` /
|
|
19
|
-
* `badge`), the active row is the current route, and a click navigates to it.
|
|
20
|
-
* Routes without a `section` (or with a payload) stay reachable but hidden — the
|
|
21
|
-
* deep pages you navigate to programmatically.
|
|
22
|
-
*
|
|
23
|
-
* @packageDocumentation
|
|
24
|
-
*/
|
|
25
|
-
import { East, ArrayType, FunctionType, NullType, StringType, variant, some, none, } from "@elaraai/east";
|
|
26
|
-
import { UIComponentType } from "../../component.js";
|
|
27
|
-
import { ImageSourceType } from "../../display/image/types.js";
|
|
28
|
-
import { DensityType } from "../../style.js";
|
|
29
|
-
import { NavList } from "../nav-list/index.js";
|
|
30
|
-
import { Breadcrumb, BreadcrumbItemType } from "../breadcrumb/index.js";
|
|
31
|
-
import { Pages } from "../pages/index.js";
|
|
32
|
-
// ============================================================================
|
|
33
|
-
// Rail — a NavList derived from the config
|
|
34
|
-
// ============================================================================
|
|
35
|
-
/** Build the rail `NavList` value: config routes with a `section` grouped into
|
|
36
|
-
* sections, the active row = the current route, click = navigate to it. */
|
|
37
|
-
function buildRail(input) {
|
|
38
|
-
const { nav, config } = input;
|
|
39
|
-
// The current route tag drives the active row. Read inside the enclosing
|
|
40
|
-
// <Reactive> (where <App> is authored), so it re-evaluates on navigation.
|
|
41
|
-
const currentTag = nav.current().getTag();
|
|
42
|
-
const order = [];
|
|
43
|
-
const bySection = new Map();
|
|
44
|
-
for (const [name, cfg] of Object.entries(config.routes)) {
|
|
45
|
-
// Only argless routes with a section are rail rows (navigable from a
|
|
46
|
-
// bare click); payload / section-less routes stay hidden.
|
|
47
|
-
if (cfg.section === undefined || cfg.value !== NullType)
|
|
48
|
-
continue;
|
|
49
|
-
if (!bySection.has(cfg.section)) {
|
|
50
|
-
bySection.set(cfg.section, []);
|
|
51
|
-
order.push(cfg.section);
|
|
52
|
-
}
|
|
53
|
-
const item = {
|
|
54
|
-
key: name,
|
|
55
|
-
label: cfg.label,
|
|
56
|
-
active: currentTag.equals(name),
|
|
57
|
-
};
|
|
58
|
-
if (cfg.icon !== undefined)
|
|
59
|
-
item.icon = cfg.icon;
|
|
60
|
-
if (cfg.badge !== undefined)
|
|
61
|
-
item.badge = cfg.badge;
|
|
62
|
-
bySection.get(cfg.section).push(item);
|
|
63
|
-
}
|
|
64
|
-
const sections = order.map(label => ({ label, items: bySection.get(label) }));
|
|
65
|
-
return NavList.Root(sections, { surface: "shell", onSelect: buildRailOnSelect(input) });
|
|
66
|
-
}
|
|
67
|
-
/** Build the rail `onSelect(key)` — a static dispatch that navigates to the
|
|
68
|
-
* clicked argless route (`navigateTo([variant(route, null)])`). */
|
|
69
|
-
function buildRailOnSelect(input) {
|
|
70
|
-
const { nav, config } = input;
|
|
71
|
-
return East.function([StringType], NullType, ($, key) => {
|
|
72
|
-
for (const [name, cfg] of Object.entries(config.routes)) {
|
|
73
|
-
if (cfg.section === undefined || cfg.value !== NullType)
|
|
74
|
-
continue;
|
|
75
|
-
$.if(key.equals(name), $ => {
|
|
76
|
-
// `name` is a runtime string over the config, so `variant` can't
|
|
77
|
-
// narrow it to a route key — cast the argless route value.
|
|
78
|
-
const target = $.const(East.value([variant(name, null)], ArrayType(config.Route)));
|
|
79
|
-
$(nav.navigateTo(target));
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
});
|
|
83
|
-
}
|
|
84
|
-
// ============================================================================
|
|
85
|
-
// Breadcrumb — derived from the nav path stack
|
|
86
|
-
// ============================================================================
|
|
87
|
-
/** Build the breadcrumb `Breadcrumb` value from `nav.path()`: one crumb per
|
|
88
|
-
* path segment, its label from the config, the leaf marked current. */
|
|
89
|
-
function buildBreadcrumb(input) {
|
|
90
|
-
const { nav, config } = input;
|
|
91
|
-
// Per-route label arms (exhaustive over the config) — a `match` rather than a
|
|
92
|
-
// Dict lookup, matching the hand-wired app-shell example and avoiding a
|
|
93
|
-
// runtime dict.
|
|
94
|
-
const labelArms = {};
|
|
95
|
-
for (const [name, cfg] of Object.entries(config.routes))
|
|
96
|
-
labelArms[name] = () => cfg.label;
|
|
97
|
-
// One crumb per path segment: label via the route match, the leaf marked
|
|
98
|
-
// current, each crumb navigating back to its prefix. `.map`'s 3rd arg is the
|
|
99
|
-
// index, so the leaf (last segment) can be detected and prefixes sliced. Read
|
|
100
|
-
// inside the enclosing <Reactive> so the whole trail re-evaluates on navigation.
|
|
101
|
-
const items = nav.path().map(($, seg, i) => {
|
|
102
|
-
const isLeaf = $.let(East.equal(i, nav.path().size().subtract(1n)));
|
|
103
|
-
const prefixLen = $.let(i.add(1n));
|
|
104
|
-
const jump = $.const(East.function([], NullType, $ => {
|
|
105
|
-
$(nav.navigateTo(nav.path().slice(0n, prefixLen)));
|
|
106
|
-
}));
|
|
107
|
-
const label = seg.match(labelArms);
|
|
108
|
-
return $.const({
|
|
109
|
-
label,
|
|
110
|
-
current: some(isLeaf),
|
|
111
|
-
onClick: some(jump),
|
|
112
|
-
}, BreadcrumbItemType);
|
|
113
|
-
});
|
|
114
|
-
return Breadcrumb.Root(items, { leadingSeparator: true });
|
|
115
|
-
}
|
|
116
|
-
// ============================================================================
|
|
117
|
-
// App factory
|
|
118
|
-
// ============================================================================
|
|
119
|
-
/**
|
|
120
|
-
* Creates an `App` — the application shell composed from the navigation
|
|
121
|
-
* primitives.
|
|
122
|
-
*
|
|
123
|
-
* @param input - The {@link AppInput} (`nav` + `config` + `pages` + shell options).
|
|
124
|
-
* @returns An East expression of type `UIComponentType`.
|
|
125
|
-
*
|
|
126
|
-
* @remarks
|
|
127
|
-
* Author `<App>` **inside** the enclosing `<Reactive>` that binds `nav`, so the
|
|
128
|
-
* rail's active row and the breadcrumb re-evaluate on navigation.
|
|
129
|
-
*
|
|
130
|
-
* @example
|
|
131
|
-
* ```ts
|
|
132
|
-
* import { East, NullType, StringType, StructType } from "@elaraai/east";
|
|
133
|
-
* import { App, Navigation, Reactive, Text, VStack, UIComponentType, Image } from "@elaraai/east-ui";
|
|
134
|
-
*
|
|
135
|
-
* const example = East.function([], UIComponentType, (_$) => {
|
|
136
|
-
* const routes = Navigation.config({
|
|
137
|
-
* overview: { value: NullType, label: "Overview", section: "Analyse", icon: { prefix: "fas", name: "gauge-high" } },
|
|
138
|
-
* audit: { value: NullType, label: "Audit", section: "Manage", icon: { prefix: "fas", name: "list-check" } },
|
|
139
|
-
* });
|
|
140
|
-
* return Reactive.Root(East.function([], UIComponentType, ($) => {
|
|
141
|
-
* const nav = $.let(Navigation.bind(routes, "app.route", [routes.Page.overview()]));
|
|
142
|
-
* return App.Root({
|
|
143
|
-
* nav,
|
|
144
|
-
* config: routes,
|
|
145
|
-
* title: "Acme Ops",
|
|
146
|
-
* logo: Image.dataUri("data:image/svg+xml,<svg/>"),
|
|
147
|
-
* pages: {
|
|
148
|
-
* overview: ($, _p, _nav) => VStack.Root([Text.Root("Overview")]),
|
|
149
|
-
* audit: ($, _p, _nav) => VStack.Root([Text.Root("Audit")]),
|
|
150
|
-
* },
|
|
151
|
-
* });
|
|
152
|
-
* }));
|
|
153
|
-
* });
|
|
154
|
-
* ```
|
|
155
|
-
*/
|
|
156
|
-
function createApp(input) {
|
|
157
|
-
const { nav, pages } = input;
|
|
158
|
-
const body = Pages.Root({ nav, pages: pages });
|
|
159
|
-
const rail = input.rail !== undefined ? East.value(input.rail, UIComponentType) : buildRail(input);
|
|
160
|
-
const breadcrumb = input.breadcrumb !== undefined ? East.value(input.breadcrumb, UIComponentType) : buildBreadcrumb(input);
|
|
161
|
-
const emptyChildren = East.value([], ArrayType(UIComponentType));
|
|
162
|
-
return East.value(variant("App", {
|
|
163
|
-
title: input.title !== undefined ? some(input.title) : none,
|
|
164
|
-
logo: input.logo !== undefined ? some(input.logo) : none,
|
|
165
|
-
logoCollapsed: input.logoCollapsed !== undefined ? some(input.logoCollapsed) : none,
|
|
166
|
-
rail,
|
|
167
|
-
breadcrumb,
|
|
168
|
-
body,
|
|
169
|
-
barStart: input.barStart ?? emptyChildren,
|
|
170
|
-
barEnd: input.barEnd ?? emptyChildren,
|
|
171
|
-
collapsible: input.collapsible ?? true,
|
|
172
|
-
themeToggle: input.themeToggle ?? false,
|
|
173
|
-
density: input.density !== undefined
|
|
174
|
-
? some(typeof input.density === "string" ? East.value(variant(input.density, null), DensityType) : input.density)
|
|
175
|
-
: none,
|
|
176
|
-
navKey: nav.key,
|
|
177
|
-
}), UIComponentType);
|
|
178
|
-
}
|
|
179
|
-
/**
|
|
180
|
-
* The `App` namespace — the application shell.
|
|
181
|
-
*
|
|
182
|
-
* @remarks
|
|
183
|
-
* Authored as the `<App nav={…} config={…} pages={{…}} />` tag; `App.Root({ nav,
|
|
184
|
-
* config, pages, … })` is the underlying factory. Bind the handle once with
|
|
185
|
-
* `Navigation.bind` in the enclosing `<Reactive>` and pass the same `config`.
|
|
186
|
-
*/
|
|
187
|
-
export const App = {
|
|
188
|
-
/** Build an `App` application shell from `{ nav, config, pages, … }`. See {@link createApp}. */
|
|
189
|
-
Root: createApp,
|
|
190
|
-
};
|
|
191
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/navigation/app/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAGH,IAAI,EACJ,SAAS,EACT,YAAY,EACZ,QAAQ,EACR,UAAU,EACV,OAAO,EACP,IAAI,EACJ,IAAI,GACP,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,EAAE,OAAO,EAA2C,MAAM,sBAAsB,CAAC;AACxF,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,EAAE,KAAK,EAAqE,MAAM,mBAAmB,CAAC;AA2E7G,+EAA+E;AAC/E,2CAA2C;AAC3C,+EAA+E;AAE/E;4EAC4E;AAC5E,SAAS,SAAS,CAAsB,KAAkB;IACtD,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IAC9B,yEAAyE;IACzE,0EAA0E;IAC1E,MAAM,UAAU,GAAG,GAAG,CAAC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AAU;QACV,IAAI;QACJ,QAAQ,EAAE,KAAK,CAAC,QAAQ,IAAI,aAAa;QACzC,MAAM,EAAE,KAAK,CAAC,MAAM,IAAI,aAAa;QACrC,WAAW,EAAE,KAAK,CAAC,WAAW,IAAI,IAAI;QACtC,WAAW,EAAE,KAAK,CAAC,WAAW,IAAI,KAAK;QACvC,OAAO,EAAE,KAAK,CAAC,OAAO,KAAK,SAAS;YAChC,CAAC,CAAC,IAAI,CAAC,OAAO,KAAK,CAAC,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC;YACjH,CAAC,CAAC,IAAI;QACV,MAAM,EAAE,GAAG,CAAC,GAAG;KAClB,CAAC,EAAE,eAAe,CAAC,CAAC;AACzB,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG;IACf,gGAAgG;IAChG,IAAI,EAAE,SAAS;CACT,CAAC"}
|
|
@@ -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
|
-
* `Navigation` — the config/bind handle for first-class navigation.
|
|
7
|
-
*
|
|
8
|
-
* `Navigation.config({...})` declares each route's payload type + label (the
|
|
9
|
-
* single source of truth). `Navigation.bind(config, key, initial)` returns a
|
|
10
|
-
* handle whose `go.<route>(payload)` closures are derived from the config (the
|
|
11
|
-
* `Record.bind` pattern). `config.Page.<route>(payload)` are typed segment
|
|
12
|
-
* constructors (`≡ variant(route, payload)`) for `navigateTo`.
|
|
13
|
-
*
|
|
14
|
-
* @packageDocumentation
|
|
15
|
-
*/
|
|
16
|
-
import { ArrayType, NullType, type BlockBuilder, type ExprType, type SubtypeExprOrValue } from "@elaraai/east";
|
|
17
|
-
import { UIComponentType } from "../../component.js";
|
|
18
|
-
import { type NavRoutes, type RouteVariantOf, type BoundNav } from "./types.js";
|
|
19
|
-
export { NavBindHandleType, navBindPlatformFn, NavBindPrimitives, routeVariantType, type NavRoutes, type NavRouteConfig, type RouteVariantOf, type NavHandleType, type BoundNav, } from "./types.js";
|
|
20
|
-
/**
|
|
21
|
-
* Per-route typed segment constructors. `Page.<route>(payload)` returns
|
|
22
|
-
* `variant(route, payload)`, type-checked against the config's payload — so a
|
|
23
|
-
* whole typed path is `[Page.overview(), Page.detail(row)]` (identical to the
|
|
24
|
-
* raw `[variant("overview", null), variant("detail", row)]`).
|
|
25
|
-
*/
|
|
26
|
-
export type PageConstructors<R extends NavRoutes> = {
|
|
27
|
-
[K in keyof R]: R[K]["value"] extends typeof NullType ? () => ExprType<RouteVariantOf<R>> : (payload: SubtypeExprOrValue<R[K]["value"]>) => ExprType<RouteVariantOf<R>>;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* A built navigation config: the routes map, the derived `Route` variant East
|
|
31
|
-
* type, and the typed {@link PageConstructors}. Consumed by {@link Navigation.bind}
|
|
32
|
-
* and `<Pages>`.
|
|
33
|
-
*
|
|
34
|
-
* @typeParam R - The routes map.
|
|
35
|
-
*/
|
|
36
|
-
export interface NavConfig<R extends NavRoutes> {
|
|
37
|
-
/** The routes map (route name → payload type + label). */
|
|
38
|
-
readonly routes: R;
|
|
39
|
-
/** The derived `Route` variant East type. */
|
|
40
|
-
readonly Route: RouteVariantOf<R>;
|
|
41
|
-
/** Typed segment constructors — `Page.<route>(payload)`. */
|
|
42
|
-
readonly Page: PageConstructors<R>;
|
|
43
|
-
}
|
|
44
|
-
declare function createNavConfig<R extends NavRoutes>(routes: R): NavConfig<R>;
|
|
45
|
-
/**
|
|
46
|
-
* Bind a navigation config to a reactive path-stack handle.
|
|
47
|
-
*
|
|
48
|
-
* Builds the concrete handle type from the config and instantiates the
|
|
49
|
-
* {@link navBindPlatformFn} platform over it — so `go.<route>` keeps each route's
|
|
50
|
-
* payload type, exactly as `Record.bind` keeps each `mutate.<name>`'s arg types.
|
|
51
|
-
*
|
|
52
|
-
* @param config - A {@link Navigation.config} value.
|
|
53
|
-
* @param key - The browser-local store key the path is persisted under.
|
|
54
|
-
* @param initial - The initial path (e.g. `[config.Page.overview()]`).
|
|
55
|
-
* @returns A handle: `path` / `current` / `depth` / `canPop` / `pop` /
|
|
56
|
-
* `go.<route>(payload)` / `navigateTo(path)` / `labelOf(route)`.
|
|
57
|
-
*/
|
|
58
|
-
declare function bindNavigation<R extends NavRoutes>(config: NavConfig<R>, key: string, initial: SubtypeExprOrValue<ArrayType<RouteVariantOf<R>>>): BoundNav<R>;
|
|
59
|
-
/**
|
|
60
|
-
* The `Navigation` namespace — first-class navigation config + bind handle.
|
|
61
|
-
*
|
|
62
|
-
* @remarks
|
|
63
|
-
* `Navigation.config({...})` is the single source of truth for each route's
|
|
64
|
-
* payload type + label; `Navigation.bind(config, key, initial)` returns the
|
|
65
|
-
* path-stack handle UI components plug into.
|
|
66
|
-
*/
|
|
67
|
-
export declare const Navigation: {
|
|
68
|
-
/** Build a navigation config from a routes map (types + labels). */
|
|
69
|
-
readonly config: typeof createNavConfig;
|
|
70
|
-
/** Bind a config to a reactive path-stack handle. */
|
|
71
|
-
readonly bind: typeof bindNavigation;
|
|
72
|
-
};
|
|
73
|
-
/**
|
|
74
|
-
* The page registry: one body per route, receiving `($, payload, nav)` — the
|
|
75
|
-
* inner block builder, the route's typed payload, and the (re-bound) handle to
|
|
76
|
-
* navigate with. Typed from the config so a wrong payload arg is a compile error;
|
|
77
|
-
* every route must be handled (exhaustive).
|
|
78
|
-
*/
|
|
79
|
-
export type PagesHandlers<R extends NavRoutes> = {
|
|
80
|
-
[K in keyof R]: ($: BlockBuilder<typeof UIComponentType>, payload: ExprType<R[K]["value"]>, nav: BoundNav<R>) => SubtypeExprOrValue<typeof UIComponentType>;
|
|
81
|
-
};
|
|
82
|
-
/**
|
|
83
|
-
* The input to the `<Pages>` switcher: the nav handle (bound once in the
|
|
84
|
-
* enclosing `<Reactive>` via `Navigation.bind`, shared with the chrome) plus
|
|
85
|
-
* the typed page registry.
|
|
86
|
-
*
|
|
87
|
-
* @remarks
|
|
88
|
-
* Taking the **bound handle** as a prop — rather than re-binding internally
|
|
89
|
-
* from a key — is what makes Pages re-render on navigation inside an e3 `ui()`
|
|
90
|
-
* task (#114): one binding, subscribed via the correct store, drives both the
|
|
91
|
-
* writer (`nav.go.*` / `nav.pop()`) and the Pages render (`nav.current()`).
|
|
92
|
-
* `R` is fixed by `nav`, so every `pages` handler is contextually typed.
|
|
93
|
-
*/
|
|
94
|
-
export interface PagesInput<R extends NavRoutes> {
|
|
95
|
-
/** The nav handle from `Navigation.bind(config, key, initial)`, bound in the enclosing `<Reactive>`. */
|
|
96
|
-
nav: BoundNav<R>;
|
|
97
|
-
/** One body per route — see {@link PagesHandlers}. `R` is fixed by `nav`, so the handlers are contextually typed. */
|
|
98
|
-
pages: PagesHandlers<NoInfer<R>>;
|
|
99
|
-
}
|
|
100
|
-
/**
|
|
101
|
-
* Build a `<Pages>` content-switcher from a bound nav handle + a typed page
|
|
102
|
-
* registry.
|
|
103
|
-
*
|
|
104
|
-
* @param input - The {@link PagesInput} (`nav` handle + `pages` registry).
|
|
105
|
-
* @returns A `Pages` `UIComponentType` value.
|
|
106
|
-
*/
|
|
107
|
-
declare function createPages<R extends NavRoutes>({ nav, pages }: PagesInput<R>): ExprType<typeof UIComponentType>;
|
|
108
|
-
/**
|
|
109
|
-
* The `Pages` namespace — the first-class navigation content-switcher.
|
|
110
|
-
*
|
|
111
|
-
* @remarks
|
|
112
|
-
* Authored as the `<Pages nav={…} pages={{…}} />` tag; `Pages.Root({ nav,
|
|
113
|
-
* pages })` is the underlying factory. Bind the handle once with
|
|
114
|
-
* `Navigation.bind` in the enclosing `<Reactive>` and share it with the chrome
|
|
115
|
-
* (`<Breadcrumb nav>` / `<NavList nav>`).
|
|
116
|
-
*/
|
|
117
|
-
export declare const Pages: {
|
|
118
|
-
/** Build a `<Pages>` content-switcher from `{ nav, pages }`. See {@link createPages}. */
|
|
119
|
-
readonly Root: typeof createPages;
|
|
120
|
-
};
|
|
121
|
-
/**
|
|
122
|
-
* The input to the `<Route>` slot: the nav handle (bound once in the enclosing
|
|
123
|
-
* `<Reactive>` via `Navigation.bind`, shared with the body `<Pages>` and the
|
|
124
|
-
* chrome) plus the typed route registry — one body per route, receiving
|
|
125
|
-
* `($, payload, nav)` exactly like {@link PagesHandlers}.
|
|
126
|
-
*
|
|
127
|
-
* @remarks
|
|
128
|
-
* `R` is fixed by `nav`, so every `routes` handler is contextually typed and
|
|
129
|
-
* the registry is exhaustive against the `Navigation.config`.
|
|
130
|
-
*/
|
|
131
|
-
export interface RouteInput<R extends NavRoutes> {
|
|
132
|
-
/** The nav handle from `Navigation.bind(config, key, initial)`, bound in the enclosing `<Reactive>`. */
|
|
133
|
-
nav: BoundNav<R>;
|
|
134
|
-
/** One body per route — see {@link PagesHandlers}. `R` is fixed by `nav`, so the handlers are contextually typed. */
|
|
135
|
-
routes: PagesHandlers<NoInfer<R>>;
|
|
136
|
-
}
|
|
137
|
-
/**
|
|
138
|
-
* Build a `<Route>` hosting slot from a bound nav handle + a typed route
|
|
139
|
-
* registry — `<Pages>` generalized to any slot.
|
|
140
|
-
*
|
|
141
|
-
* Renders only the active route's body and remounts it on navigation, but is
|
|
142
|
-
* placeable anywhere (a header widget, a sidebar, a drawer body). The body
|
|
143
|
-
* `<Pages>` and any number of `<Route>` slots bind the **same** `nav` handle,
|
|
144
|
-
* so they stay in lockstep and each remounts *its own* slot on navigation.
|
|
145
|
-
*
|
|
146
|
-
* @param input - The {@link RouteInput} (`nav` handle + `routes` registry).
|
|
147
|
-
* @returns A `Route` `UIComponentType` value.
|
|
148
|
-
*/
|
|
149
|
-
declare function createRoute<R extends NavRoutes>({ nav, routes }: RouteInput<R>): ExprType<typeof UIComponentType>;
|
|
150
|
-
/**
|
|
151
|
-
* The `Route` namespace — the nav-typed hosting slot.
|
|
152
|
-
*
|
|
153
|
-
* @remarks
|
|
154
|
-
* Authored as the `<Route nav={…} routes={{…}} />` tag; `Route.Root({ nav,
|
|
155
|
-
* routes })` is the underlying factory. Use it to swap a **stateful**
|
|
156
|
-
* component (its own `<Reactive>` / binds) in any slot by route: each case is
|
|
157
|
-
* a self-contained component built with the existing binds, torn down and
|
|
158
|
-
* rebuilt fresh when the route changes. For a non-route key (a `State`-bound
|
|
159
|
-
* mode, a tagged selection), use `<Match on cases>` instead.
|
|
160
|
-
*/
|
|
161
|
-
export declare const Route: {
|
|
162
|
-
/** Build a `<Route>` hosting slot from `{ nav, routes }`. See {@link createRoute}. */
|
|
163
|
-
readonly Root: typeof createRoute;
|
|
164
|
-
};
|
|
165
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/navigation/pages/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;GAUG;AAEH,OAAO,EAEH,SAAS,EACT,QAAQ,EAGR,KAAK,YAAY,EACjB,KAAK,QAAQ,EACb,KAAK,kBAAkB,EAC1B,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,OAAO,EAIH,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,KAAK,QAAQ,EAChB,MAAM,YAAY,CAAC;AAEpB,OAAO,EACH,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,QAAQ,GAChB,MAAM,YAAY,CAAC;AAMpB;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,SAAS,IAAI;KAC/C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