@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
|
@@ -0,0 +1,471 @@
|
|
|
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
|
+
* The fields contract (#1147) — a typed form over an East struct: the form a
|
|
7
|
+
* builder's inspector shows for what it has selected. Each field's editor
|
|
8
|
+
* comes from its East type, and a hint adds only what a type cannot say — a
|
|
9
|
+
* label, a unit, the words for a variant's cases, the keyed set a String
|
|
10
|
+
* names. A hint is checked against the field it is given to, so
|
|
11
|
+
* `Fields.number` on a String field fails to compile.
|
|
12
|
+
*
|
|
13
|
+
* `Fields.specs(R, hints)` resolves a struct's fields and hints into the
|
|
14
|
+
* closed {@link FieldSpecType} a renderer reads: east-ui-components'
|
|
15
|
+
* `FieldForm` draws each as the shared `Field` around the shared input its
|
|
16
|
+
* type takes. It is a shared part, never an East component — e3-ui's
|
|
17
|
+
* builders carry the specs in their payloads: the Sheet's and the Plan's
|
|
18
|
+
* inspectors, and the Calendar's, whose `Calendar.field` is `Fields`.
|
|
19
|
+
*
|
|
20
|
+
* | Field type | Editor with no hint | Hint |
|
|
21
|
+
* |---|---|---|
|
|
22
|
+
* | `String` | Text | `Fields.text`, `Fields.reference` |
|
|
23
|
+
* | `Integer`, `Float` | Number, with its steppers | `Fields.number` (bigints for an Integer field, numbers for a Float) |
|
|
24
|
+
* | `Boolean` | Checkbox | — |
|
|
25
|
+
* | `DateTime` | Date and time | — |
|
|
26
|
+
* | A variant of empty cases | Select, each case's name spelled out | `Fields.select` |
|
|
27
|
+
* | `Set<String>`, `Array<String>` | Tags, typed freely | `Fields.tags` |
|
|
28
|
+
* | `Array` of a struct with one String and one Boolean field | Checklist | `Fields.checklist` |
|
|
29
|
+
* | A struct | Its fields, grouped under its name | a hint per nested field |
|
|
30
|
+
* | `Option<T>` | `T`'s editor, which can be cleared | `T`'s hint |
|
|
31
|
+
* | Anything else | Printed, read-only | `Fields.readonly`; `Fields.hidden` hides any field |
|
|
32
|
+
*
|
|
33
|
+
* A field's type is told by East's own `isTypeEqual`.
|
|
34
|
+
*
|
|
35
|
+
* @packageDocumentation
|
|
36
|
+
*/
|
|
37
|
+
import { ArrayType, BooleanType, DateTimeType, FloatType, IntegerType, NullType, OptionType, SetType, StringType, StructType, VariantType, type ValueTypeOf } from "@elaraai/east";
|
|
38
|
+
/**
|
|
39
|
+
* One choice of a select: a case of the field's variant, and its words.
|
|
40
|
+
*
|
|
41
|
+
* @property case - The case's name
|
|
42
|
+
* @property label - What the select shows for it
|
|
43
|
+
*/
|
|
44
|
+
export declare const FieldOptionType: StructType<{
|
|
45
|
+
readonly case: StringType;
|
|
46
|
+
readonly label: StringType;
|
|
47
|
+
}>;
|
|
48
|
+
/**
|
|
49
|
+
* How a field is edited — the closed set of editors a renderer draws. Which
|
|
50
|
+
* input draws one is the field's type's: an Integer's or a Float's number, a
|
|
51
|
+
* Set's or an Array's tags.
|
|
52
|
+
*
|
|
53
|
+
* @property text - A text box, showing `placeholder` while empty
|
|
54
|
+
* @property number - A number with its steppers, moved by `step`, clamped to `min` and `max`; its `unit` and bounds in the line under it
|
|
55
|
+
* @property checkbox - A checkbox
|
|
56
|
+
* @property datetime - A date and a time — or, at `precision`, a date or a time alone (a host's choice: the Sheet's inspector picks a date at a date column's level, #1188)
|
|
57
|
+
* @property select - A choice of the variant's cases, each with its words
|
|
58
|
+
* @property tags - Values typed freely, `options` suggested as they are typed
|
|
59
|
+
* @property checklist - Items each with its done box: the item struct's `text` and `done` fields
|
|
60
|
+
* @property reference - A key of the keyed set the host lists under `of`
|
|
61
|
+
* @property readonly - Printed, never edited
|
|
62
|
+
*/
|
|
63
|
+
export declare const FieldEditorType: VariantType<{
|
|
64
|
+
readonly text: StructType<{
|
|
65
|
+
readonly placeholder: OptionType<StringType>;
|
|
66
|
+
}>;
|
|
67
|
+
readonly number: StructType<{
|
|
68
|
+
readonly unit: OptionType<StringType>;
|
|
69
|
+
readonly step: OptionType<FloatType>;
|
|
70
|
+
readonly min: OptionType<FloatType>;
|
|
71
|
+
readonly max: OptionType<FloatType>;
|
|
72
|
+
}>;
|
|
73
|
+
readonly checkbox: NullType;
|
|
74
|
+
readonly datetime: StructType<{
|
|
75
|
+
readonly precision: OptionType<VariantType<{
|
|
76
|
+
readonly date: NullType;
|
|
77
|
+
readonly time: NullType;
|
|
78
|
+
readonly datetime: NullType;
|
|
79
|
+
}>>;
|
|
80
|
+
}>;
|
|
81
|
+
readonly select: ArrayType<StructType<{
|
|
82
|
+
readonly case: StringType;
|
|
83
|
+
readonly label: StringType;
|
|
84
|
+
}>>;
|
|
85
|
+
readonly tags: StructType<{
|
|
86
|
+
readonly options: ArrayType<StringType>;
|
|
87
|
+
}>;
|
|
88
|
+
readonly checklist: StructType<{
|
|
89
|
+
readonly text: StringType;
|
|
90
|
+
readonly done: StringType;
|
|
91
|
+
}>;
|
|
92
|
+
readonly reference: StructType<{
|
|
93
|
+
readonly of: StringType;
|
|
94
|
+
}>;
|
|
95
|
+
readonly readonly: NullType;
|
|
96
|
+
}>;
|
|
97
|
+
/**
|
|
98
|
+
* One field of a form, resolved: where it is, what it is called, how it is
|
|
99
|
+
* edited, and its type, to read and write its value.
|
|
100
|
+
*
|
|
101
|
+
* @property path - The field's names from the struct down — one name, or a nested struct's field under its own
|
|
102
|
+
* @property label - Its label
|
|
103
|
+
* @property help - A line under it, the hint's
|
|
104
|
+
* @property group - The nested struct it sits in, as its heading names it (`Address`, `Address · Geo`)
|
|
105
|
+
* @property type - The field's East type, an `Option` included: what its value is read and written as
|
|
106
|
+
* @property optional - Whether it is an `Option`, which its editor can clear
|
|
107
|
+
* @property editor - How it is edited
|
|
108
|
+
*/
|
|
109
|
+
export declare const FieldSpecType: StructType<{
|
|
110
|
+
readonly path: ArrayType<StringType>;
|
|
111
|
+
readonly label: StringType;
|
|
112
|
+
readonly help: OptionType<StringType>;
|
|
113
|
+
readonly group: OptionType<StringType>;
|
|
114
|
+
readonly type: import("@elaraai/east").RecursiveType<VariantType<{
|
|
115
|
+
readonly Never: NullType;
|
|
116
|
+
readonly Null: NullType;
|
|
117
|
+
readonly Boolean: NullType;
|
|
118
|
+
readonly Integer: NullType;
|
|
119
|
+
readonly Float: NullType;
|
|
120
|
+
readonly String: NullType;
|
|
121
|
+
readonly DateTime: NullType;
|
|
122
|
+
readonly Blob: NullType;
|
|
123
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
124
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
125
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
126
|
+
readonly Dict: StructType<{
|
|
127
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
128
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
129
|
+
}>;
|
|
130
|
+
readonly Struct: ArrayType<StructType<{
|
|
131
|
+
readonly name: StringType;
|
|
132
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
133
|
+
}>>;
|
|
134
|
+
readonly Variant: ArrayType<StructType<{
|
|
135
|
+
readonly name: StringType;
|
|
136
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
137
|
+
}>>;
|
|
138
|
+
readonly Recursive: VariantType<{
|
|
139
|
+
readonly ref: IntegerType;
|
|
140
|
+
readonly wrapper: StructType<{
|
|
141
|
+
readonly id: IntegerType;
|
|
142
|
+
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
143
|
+
}>;
|
|
144
|
+
}>;
|
|
145
|
+
readonly Function: StructType<{
|
|
146
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
147
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
148
|
+
}>;
|
|
149
|
+
readonly AsyncFunction: StructType<{
|
|
150
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
151
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
152
|
+
}>;
|
|
153
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
154
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
155
|
+
}>>;
|
|
156
|
+
readonly optional: BooleanType;
|
|
157
|
+
readonly editor: VariantType<{
|
|
158
|
+
readonly text: StructType<{
|
|
159
|
+
readonly placeholder: OptionType<StringType>;
|
|
160
|
+
}>;
|
|
161
|
+
readonly number: StructType<{
|
|
162
|
+
readonly unit: OptionType<StringType>;
|
|
163
|
+
readonly step: OptionType<FloatType>;
|
|
164
|
+
readonly min: OptionType<FloatType>;
|
|
165
|
+
readonly max: OptionType<FloatType>;
|
|
166
|
+
}>;
|
|
167
|
+
readonly checkbox: NullType;
|
|
168
|
+
readonly datetime: StructType<{
|
|
169
|
+
readonly precision: OptionType<VariantType<{
|
|
170
|
+
readonly date: NullType;
|
|
171
|
+
readonly time: NullType;
|
|
172
|
+
readonly datetime: NullType;
|
|
173
|
+
}>>;
|
|
174
|
+
}>;
|
|
175
|
+
readonly select: ArrayType<StructType<{
|
|
176
|
+
readonly case: StringType;
|
|
177
|
+
readonly label: StringType;
|
|
178
|
+
}>>;
|
|
179
|
+
readonly tags: StructType<{
|
|
180
|
+
readonly options: ArrayType<StringType>;
|
|
181
|
+
}>;
|
|
182
|
+
readonly checklist: StructType<{
|
|
183
|
+
readonly text: StringType;
|
|
184
|
+
readonly done: StringType;
|
|
185
|
+
}>;
|
|
186
|
+
readonly reference: StructType<{
|
|
187
|
+
readonly of: StringType;
|
|
188
|
+
}>;
|
|
189
|
+
readonly readonly: NullType;
|
|
190
|
+
}>;
|
|
191
|
+
}>;
|
|
192
|
+
/** One resolved field, decoded — what `Fields.specs` returns, a payload carries and `FieldForm` reads. */
|
|
193
|
+
export type FieldSpecValue = ValueTypeOf<typeof FieldSpecType>;
|
|
194
|
+
/** How a field is edited, decoded. */
|
|
195
|
+
export type FieldEditorValue = ValueTypeOf<typeof FieldEditorType>;
|
|
196
|
+
/** The key a hint carries its kind under — a symbol, so no struct field's name is taken for a hint. */
|
|
197
|
+
export declare const FIELD_HINT: unique symbol;
|
|
198
|
+
/** What every hint but `hidden` takes. */
|
|
199
|
+
export interface FieldHintOptions {
|
|
200
|
+
/** The field's label — its name spelled out by default (`created_by` → "Created by"). */
|
|
201
|
+
readonly label?: string;
|
|
202
|
+
/** A line under the field. */
|
|
203
|
+
readonly help?: string;
|
|
204
|
+
}
|
|
205
|
+
/** A hint of one kind. */
|
|
206
|
+
export interface FieldHintOf<K extends string> {
|
|
207
|
+
/** The hint's kind. */
|
|
208
|
+
readonly [FIELD_HINT]: K;
|
|
209
|
+
}
|
|
210
|
+
/** A String field's text box ({@link fieldText}). */
|
|
211
|
+
export interface TextFieldHint extends FieldHintOf<"text">, FieldHintOptions {
|
|
212
|
+
/** What the box shows while empty. */
|
|
213
|
+
readonly placeholder?: string;
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* A number field's number ({@link fieldNumber}).
|
|
217
|
+
*
|
|
218
|
+
* @typeParam N - `bigint` for an Integer field, `number` for a Float
|
|
219
|
+
*/
|
|
220
|
+
export interface NumberFieldHint<N extends bigint | number> extends FieldHintOf<"number">, FieldHintOptions {
|
|
221
|
+
/** What a number counts — `people`, `kg` — in the line under it. */
|
|
222
|
+
readonly unit?: string;
|
|
223
|
+
/** How far its steppers move it: 1 by default. */
|
|
224
|
+
readonly step?: N;
|
|
225
|
+
/** The least it may be. */
|
|
226
|
+
readonly min?: N;
|
|
227
|
+
/** The most it may be. */
|
|
228
|
+
readonly max?: N;
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* A variant field's select ({@link fieldSelect}).
|
|
232
|
+
*
|
|
233
|
+
* @typeParam C - The variant's cases
|
|
234
|
+
*/
|
|
235
|
+
export interface SelectFieldHint<C extends string> extends FieldHintOf<"select">, FieldHintOptions {
|
|
236
|
+
/** The words for a case, where its name spelled out will not do. */
|
|
237
|
+
readonly labels?: {
|
|
238
|
+
readonly [K in C]?: string;
|
|
239
|
+
};
|
|
240
|
+
}
|
|
241
|
+
/** A string collection's tags ({@link fieldTags}). */
|
|
242
|
+
export interface TagsFieldHint extends FieldHintOf<"tags">, FieldHintOptions {
|
|
243
|
+
/** The values suggested as a tag is typed. */
|
|
244
|
+
readonly options?: readonly string[];
|
|
245
|
+
}
|
|
246
|
+
/** An item list's checklist ({@link fieldChecklist}). */
|
|
247
|
+
export interface ChecklistFieldHint extends FieldHintOf<"checklist">, FieldHintOptions {
|
|
248
|
+
/** The item's String field its text is — needed when it has several. */
|
|
249
|
+
readonly text?: string;
|
|
250
|
+
/** The item's Boolean field its done box is — needed when it has several. */
|
|
251
|
+
readonly done?: string;
|
|
252
|
+
}
|
|
253
|
+
/** A String field holding a key of a keyed set the host lists ({@link fieldReference}). */
|
|
254
|
+
export interface ReferenceFieldHint extends FieldHintOf<"reference">, FieldHintOptions {
|
|
255
|
+
/** The keyed set's name: the host's choices for it are what the select offers. */
|
|
256
|
+
readonly of: string;
|
|
257
|
+
}
|
|
258
|
+
/** A field printed, never edited ({@link fieldReadonly}). */
|
|
259
|
+
export interface ReadonlyFieldHint extends FieldHintOf<"readonly">, FieldHintOptions {
|
|
260
|
+
}
|
|
261
|
+
/** A field the form leaves out ({@link fieldHidden}). */
|
|
262
|
+
export type HiddenFieldHint = FieldHintOf<"hidden">;
|
|
263
|
+
/** What any field takes. */
|
|
264
|
+
type AnyFieldHint = ReadonlyFieldHint | HiddenFieldHint;
|
|
265
|
+
/** Whether a variant's cases are an Option's. */
|
|
266
|
+
type IsOption<C> = [Exclude<keyof C, "none" | "some">] extends [never] ? ("none" extends keyof C ? ("some" extends keyof C ? true : false) : false) : false;
|
|
267
|
+
/**
|
|
268
|
+
* The hints a field of type `T` takes: its editor's own, `readonly` and
|
|
269
|
+
* `hidden`; an `Option`'s are its value's — but an `Option` of a struct,
|
|
270
|
+
* printed whole, takes only those two — and a struct's a hint per field.
|
|
271
|
+
*
|
|
272
|
+
* @typeParam T - The field's East type
|
|
273
|
+
*/
|
|
274
|
+
export type FieldHint<T> = T extends VariantType<infer C> ? IsOption<C> extends true ? C["some" & keyof C] extends StructType ? AnyFieldHint : FieldHint<C["some" & keyof C]> : C[keyof C] extends NullType ? SelectFieldHint<keyof C & string> | AnyFieldHint : AnyFieldHint : T extends StringType ? TextFieldHint | ReferenceFieldHint | AnyFieldHint : T extends IntegerType ? NumberFieldHint<bigint> | AnyFieldHint : T extends FloatType ? NumberFieldHint<number> | AnyFieldHint : T extends SetType<StringType> ? TagsFieldHint | AnyFieldHint : T extends ArrayType<StringType> ? TagsFieldHint | AnyFieldHint : T extends ArrayType<StructType> ? ChecklistFieldHint | AnyFieldHint : T extends StructType<infer F extends {
|
|
275
|
+
[K in string]: unknown;
|
|
276
|
+
}> ? FieldHints<F> | AnyFieldHint : T extends BooleanType | DateTimeType ? AnyFieldHint : AnyFieldHint;
|
|
277
|
+
/**
|
|
278
|
+
* A struct's hints: for any of its fields, a hint that fits the field's type.
|
|
279
|
+
*
|
|
280
|
+
* @typeParam F - The struct's fields
|
|
281
|
+
*/
|
|
282
|
+
export type FieldHints<F extends {
|
|
283
|
+
[K in string]: unknown;
|
|
284
|
+
}> = {
|
|
285
|
+
readonly [K in keyof F]?: FieldHint<F[K]>;
|
|
286
|
+
};
|
|
287
|
+
/**
|
|
288
|
+
* A String field's text box.
|
|
289
|
+
*
|
|
290
|
+
* @param options - Its label, a line under it, and its placeholder
|
|
291
|
+
* @returns The hint
|
|
292
|
+
*/
|
|
293
|
+
export declare function fieldText(options?: FieldHintOptions & {
|
|
294
|
+
readonly placeholder?: string;
|
|
295
|
+
}): TextFieldHint;
|
|
296
|
+
/**
|
|
297
|
+
* A number field's number: its steppers move it by its step, clamped to its
|
|
298
|
+
* bounds; its unit and bounds in the line under it.
|
|
299
|
+
*
|
|
300
|
+
* @typeParam N - `bigint` for an Integer field, `number` for a Float: the bounds and the step are the field's
|
|
301
|
+
* @param options - Its label, a line under it, its unit, its step and its bounds
|
|
302
|
+
* @returns The hint
|
|
303
|
+
*/
|
|
304
|
+
export declare function fieldNumber<N extends bigint | number = never>(options?: FieldHintOptions & {
|
|
305
|
+
readonly unit?: string;
|
|
306
|
+
readonly step?: N;
|
|
307
|
+
readonly min?: N;
|
|
308
|
+
readonly max?: N;
|
|
309
|
+
}): NumberFieldHint<N>;
|
|
310
|
+
/**
|
|
311
|
+
* A variant field's select, with words for the cases whose names, spelled
|
|
312
|
+
* out, will not do. The select offers the cases it labels first, in its
|
|
313
|
+
* order, then the rest in the variant's: East keeps a variant's cases in name
|
|
314
|
+
* order, and a status reads best in its own.
|
|
315
|
+
*
|
|
316
|
+
* @typeParam C - The cases it labels
|
|
317
|
+
* @param options - Its label, a line under it, and the words for its cases
|
|
318
|
+
* @returns The hint
|
|
319
|
+
* @example
|
|
320
|
+
* ```ts
|
|
321
|
+
* import { ArrayType, East, NullType, StringType, StructType, VariantType } from "@elaraai/east";
|
|
322
|
+
* import { Fields } from "@elaraai/east-ui";
|
|
323
|
+
*
|
|
324
|
+
* const choices = East.function([], ArrayType(StringType), ($) => {
|
|
325
|
+
* const Status = VariantType({ planned: NullType, in_progress: NullType, on_hold: NullType, done: NullType });
|
|
326
|
+
* const Job = StructType({ task: StringType, status: Status });
|
|
327
|
+
* const specs = $.const(Fields.specs(Job, {
|
|
328
|
+
* status: Fields.select({ labels: { planned: "Planned", in_progress: "Underway", on_hold: "Paused" } }),
|
|
329
|
+
* }), ArrayType(Fields.Types.Spec));
|
|
330
|
+
* return specs.get(0n).editor.unwrap("select").map((_$, option) => option.label);
|
|
331
|
+
* });
|
|
332
|
+
* ```
|
|
333
|
+
*/
|
|
334
|
+
export declare function fieldSelect<C extends string = never>(options?: FieldHintOptions & {
|
|
335
|
+
readonly labels?: {
|
|
336
|
+
readonly [K in C]?: string;
|
|
337
|
+
};
|
|
338
|
+
}): SelectFieldHint<C>;
|
|
339
|
+
/**
|
|
340
|
+
* A string collection's tags, typed freely, with the values suggested as a
|
|
341
|
+
* tag is typed.
|
|
342
|
+
*
|
|
343
|
+
* @param options - Its label, a line under it, and the values suggested
|
|
344
|
+
* @returns The hint
|
|
345
|
+
*/
|
|
346
|
+
export declare function fieldTags(options?: FieldHintOptions & {
|
|
347
|
+
readonly options?: readonly string[];
|
|
348
|
+
}): TagsFieldHint;
|
|
349
|
+
/**
|
|
350
|
+
* An item list's checklist: each item's text and done box, the items done of
|
|
351
|
+
* all, an item added by name. Names the item's text and done fields where it
|
|
352
|
+
* has several.
|
|
353
|
+
*
|
|
354
|
+
* @param options - Its label, a line under it, and the item's text and done fields
|
|
355
|
+
* @returns The hint
|
|
356
|
+
*/
|
|
357
|
+
export declare function fieldChecklist(options?: FieldHintOptions & {
|
|
358
|
+
readonly text?: string;
|
|
359
|
+
readonly done?: string;
|
|
360
|
+
}): ChecklistFieldHint;
|
|
361
|
+
/**
|
|
362
|
+
* A String field holding a key of a keyed set the host lists: a select of the
|
|
363
|
+
* host's choices for `of`, with Unassigned first for an `Option`.
|
|
364
|
+
*
|
|
365
|
+
* @param options - The keyed set's name, the field's label and a line under it
|
|
366
|
+
* @returns The hint
|
|
367
|
+
*/
|
|
368
|
+
export declare function fieldReference(options: FieldHintOptions & {
|
|
369
|
+
readonly of: string;
|
|
370
|
+
}): ReferenceFieldHint;
|
|
371
|
+
/**
|
|
372
|
+
* A field printed, never edited.
|
|
373
|
+
*
|
|
374
|
+
* @param options - Its label and a line under it
|
|
375
|
+
* @returns The hint
|
|
376
|
+
*/
|
|
377
|
+
export declare function fieldReadonly(options?: FieldHintOptions): ReadonlyFieldHint;
|
|
378
|
+
/**
|
|
379
|
+
* A field the form leaves out.
|
|
380
|
+
*
|
|
381
|
+
* @returns The hint
|
|
382
|
+
*/
|
|
383
|
+
export declare function fieldHidden(): HiddenFieldHint;
|
|
384
|
+
/**
|
|
385
|
+
* A field's or a case's name spelled out for a person: its words split at
|
|
386
|
+
* underscores, dashes and case changes, the first capitalised —
|
|
387
|
+
* `in_progress` → "In progress", `createdBy` → "Created by".
|
|
388
|
+
*
|
|
389
|
+
* @param name - The name
|
|
390
|
+
* @returns Its words
|
|
391
|
+
*/
|
|
392
|
+
export declare function spellOut(name: string): string;
|
|
393
|
+
/**
|
|
394
|
+
* Resolves a struct's fields and hints into the specs a form draws: each
|
|
395
|
+
* field's editor from its type, or from its hint, checked against the type;
|
|
396
|
+
* the hinted fields first, in hint order, then the rest in declared order; a
|
|
397
|
+
* nested struct's fields flattened by path, under its name; `omit`'s and the
|
|
398
|
+
* hidden fields left out.
|
|
399
|
+
*
|
|
400
|
+
* @typeParam R - The struct
|
|
401
|
+
* @param rowType - The struct the form edits
|
|
402
|
+
* @param hints - A hint for any of its fields, a nested struct's a hint per field
|
|
403
|
+
* @param omit - Fields of the struct the form leaves out — a host's own (the Calendar's title, start and end)
|
|
404
|
+
* @returns The specs, in the form's order
|
|
405
|
+
* @throws {Error} Naming the field, for a hint that does not fit its field's type, a select labelling a case its variant does not have, a checklist whose text and done fields cannot be found, or a name the struct does not have
|
|
406
|
+
* @example
|
|
407
|
+
* ```ts
|
|
408
|
+
* import { ArrayType, BooleanType, East, IntegerType, OptionType, StringType, StructType, VariantType, NullType } from "@elaraai/east";
|
|
409
|
+
* import { Fields } from "@elaraai/east-ui";
|
|
410
|
+
*
|
|
411
|
+
* const form = East.function([], ArrayType(StringType), ($) => {
|
|
412
|
+
* const Status = VariantType({ planned: NullType, in_progress: NullType, on_hold: NullType });
|
|
413
|
+
* const Check = StructType({ text: StringType, done: BooleanType });
|
|
414
|
+
* const Job = StructType({
|
|
415
|
+
* task: StringType, crew: IntegerType, status: Status, rush: BooleanType,
|
|
416
|
+
* bay: OptionType(StringType), checks: ArrayType(Check), notes: StringType,
|
|
417
|
+
* });
|
|
418
|
+
* const specs = $.const(Fields.specs(Job, {
|
|
419
|
+
* crew: Fields.number({ unit: "people", min: 1n, max: 20n }),
|
|
420
|
+
* status: Fields.select({ labels: { on_hold: "Paused" } }),
|
|
421
|
+
* bay: Fields.reference({ of: "bays", label: "Work bay" }),
|
|
422
|
+
* notes: Fields.hidden(),
|
|
423
|
+
* }), ArrayType(Fields.Types.Spec));
|
|
424
|
+
* return specs.map((_$, spec) => East.str`${spec.label}: ${spec.editor.getTag()}`);
|
|
425
|
+
* });
|
|
426
|
+
* ```
|
|
427
|
+
*/
|
|
428
|
+
export declare function fieldSpecs<R extends StructType>(rowType: R, hints?: FieldHints<R["fields"]>, omit?: readonly (keyof R["fields"] & string)[]): FieldSpecValue[];
|
|
429
|
+
/**
|
|
430
|
+
* The type of the {@link Fields} namespace — declared explicitly so the
|
|
431
|
+
* declaration emit stays within TypeScript's serialization limit.
|
|
432
|
+
*/
|
|
433
|
+
export interface FieldsNamespace {
|
|
434
|
+
/** A String field's text box. */
|
|
435
|
+
text: typeof fieldText;
|
|
436
|
+
/** A number field's stepper — bigints for an Integer field, numbers for a Float. */
|
|
437
|
+
number: typeof fieldNumber;
|
|
438
|
+
/** A variant field's select, with words for its cases. */
|
|
439
|
+
select: typeof fieldSelect;
|
|
440
|
+
/** A string collection's tags, with the values offered. */
|
|
441
|
+
tags: typeof fieldTags;
|
|
442
|
+
/** An item list's checklist, naming its items' text and done fields. */
|
|
443
|
+
checklist: typeof fieldChecklist;
|
|
444
|
+
/** A String field holding a key of a keyed set the host lists. */
|
|
445
|
+
reference: typeof fieldReference;
|
|
446
|
+
/** A field printed, never edited. */
|
|
447
|
+
readonly: typeof fieldReadonly;
|
|
448
|
+
/** A field the form leaves out. */
|
|
449
|
+
hidden: typeof fieldHidden;
|
|
450
|
+
/** Resolves a struct's fields and hints into the specs a form draws. */
|
|
451
|
+
specs: typeof fieldSpecs;
|
|
452
|
+
/** The fields contract's East types. */
|
|
453
|
+
Types: {
|
|
454
|
+
/** One field of a form, resolved ({@link FieldSpecType}). */
|
|
455
|
+
Spec: typeof FieldSpecType;
|
|
456
|
+
/** How a field is edited ({@link FieldEditorType}). */
|
|
457
|
+
Editor: typeof FieldEditorType;
|
|
458
|
+
/** One choice of a select ({@link FieldOptionType}). */
|
|
459
|
+
Option: typeof FieldOptionType;
|
|
460
|
+
};
|
|
461
|
+
}
|
|
462
|
+
/**
|
|
463
|
+
* The fields contract (#1147) — a typed form over an East struct: each
|
|
464
|
+
* field's editor from its type, a hint for what a type cannot say, and
|
|
465
|
+
* `Fields.specs` resolving them into the specs east-ui-components'
|
|
466
|
+
* `FieldForm` draws. A builder's inspector carries them; the Calendar's
|
|
467
|
+
* `Calendar.field` is this namespace.
|
|
468
|
+
*/
|
|
469
|
+
export declare const Fields: FieldsNamespace;
|
|
470
|
+
export {};
|
|
471
|
+
//# sourceMappingURL=fields.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../../src/contracts/fields.ts"],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