@elaraai/east-ui 1.0.4 → 1.0.5
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/README.md +3 -2
- package/dist/src/buttons/button/index.d.ts +20 -20
- package/dist/src/buttons/button/index.d.ts.map +1 -1
- package/dist/src/buttons/button/index.js +25 -21
- package/dist/src/buttons/button/index.js.map +1 -1
- package/dist/src/buttons/button-group/index.d.ts.map +1 -1
- package/dist/src/buttons/button-group/index.js +3 -1
- package/dist/src/buttons/button-group/index.js.map +1 -1
- package/dist/src/buttons/button-group/types.d.ts +3 -7
- package/dist/src/buttons/button-group/types.d.ts.map +1 -1
- package/dist/src/buttons/close-button/index.d.ts +2 -5
- package/dist/src/buttons/close-button/index.d.ts.map +1 -1
- package/dist/src/buttons/close-button/index.js +10 -9
- package/dist/src/buttons/close-button/index.js.map +1 -1
- package/dist/src/buttons/close-button/types.d.ts +1 -3
- package/dist/src/buttons/close-button/types.d.ts.map +1 -1
- package/dist/src/buttons/copy-button/index.d.ts +3 -7
- package/dist/src/buttons/copy-button/index.d.ts.map +1 -1
- package/dist/src/buttons/copy-button/index.js +11 -11
- package/dist/src/buttons/copy-button/index.js.map +1 -1
- package/dist/src/buttons/copy-button/types.d.ts +1 -3
- package/dist/src/buttons/copy-button/types.d.ts.map +1 -1
- package/dist/src/buttons/icon-button/index.d.ts +23 -29
- package/dist/src/buttons/icon-button/index.d.ts.map +1 -1
- package/dist/src/buttons/icon-button/index.js +31 -33
- package/dist/src/buttons/icon-button/index.js.map +1 -1
- package/dist/src/buttons/icon-button/types.d.ts +16 -7
- package/dist/src/buttons/icon-button/types.d.ts.map +1 -1
- package/dist/src/buttons/icon-button/types.js.map +1 -1
- package/dist/src/buttons/toggle/index.d.ts +13 -14
- package/dist/src/buttons/toggle/index.d.ts.map +1 -1
- package/dist/src/buttons/toggle/index.js +22 -20
- package/dist/src/buttons/toggle/index.js.map +1 -1
- package/dist/src/buttons/toggle/types.d.ts +3 -3
- package/dist/src/buttons/toggle/types.d.ts.map +1 -1
- package/dist/src/charts/chart/index.d.ts +1615 -0
- package/dist/src/charts/chart/index.d.ts.map +1 -0
- package/dist/src/charts/chart/index.js +354 -0
- package/dist/src/charts/chart/index.js.map +1 -0
- package/dist/src/charts/index.d.ts +7 -6724
- package/dist/src/charts/index.d.ts.map +1 -1
- package/dist/src/charts/index.js +7 -1035
- package/dist/src/charts/index.js.map +1 -1
- package/dist/src/charts/spec/index.d.ts +2568 -146
- package/dist/src/charts/spec/index.d.ts.map +1 -1
- package/dist/src/charts/spec/index.js +762 -59
- package/dist/src/charts/spec/index.js.map +1 -1
- package/dist/src/charts/spec/types.d.ts +494 -17
- package/dist/src/charts/spec/types.d.ts.map +1 -1
- package/dist/src/charts/spec/types.js +298 -8
- package/dist/src/charts/spec/types.js.map +1 -1
- package/dist/src/collections/blend/index.d.ts +525 -0
- package/dist/src/collections/blend/index.d.ts.map +1 -0
- package/dist/src/collections/blend/index.js +283 -0
- package/dist/src/collections/blend/index.js.map +1 -0
- package/dist/src/collections/blend/types.d.ts +373 -0
- package/dist/src/collections/blend/types.d.ts.map +1 -0
- package/dist/src/collections/blend/types.js +168 -0
- package/dist/src/collections/blend/types.js.map +1 -0
- package/dist/src/collections/calendar/index.d.ts +211 -0
- package/dist/src/collections/calendar/index.d.ts.map +1 -0
- package/dist/src/collections/calendar/index.js +153 -0
- package/dist/src/collections/calendar/index.js.map +1 -0
- package/dist/src/collections/calendar/types.d.ts +116 -0
- package/dist/src/collections/calendar/types.d.ts.map +1 -0
- package/dist/src/collections/calendar/types.js +81 -0
- package/dist/src/collections/calendar/types.js.map +1 -0
- package/dist/src/collections/data-list/index.d.ts +2 -31666
- package/dist/src/collections/data-list/index.d.ts.map +1 -1
- package/dist/src/collections/gantt/index.d.ts +34 -93
- package/dist/src/collections/gantt/index.d.ts.map +1 -1
- package/dist/src/collections/gantt/index.js +120 -121
- package/dist/src/collections/gantt/index.js.map +1 -1
- package/dist/src/collections/gantt/types.d.ts +149 -58
- package/dist/src/collections/gantt/types.d.ts.map +1 -1
- package/dist/src/collections/gantt/types.js +92 -20
- package/dist/src/collections/gantt/types.js.map +1 -1
- package/dist/src/collections/index.d.ts +5 -0
- package/dist/src/collections/index.d.ts.map +1 -1
- package/dist/src/collections/index.js +5 -0
- package/dist/src/collections/index.js.map +1 -1
- package/dist/src/collections/library/index.d.ts +436 -0
- package/dist/src/collections/library/index.d.ts.map +1 -0
- package/dist/src/collections/library/index.js +284 -0
- package/dist/src/collections/library/index.js.map +1 -0
- package/dist/src/collections/library/types.d.ts +329 -0
- package/dist/src/collections/library/types.d.ts.map +1 -0
- package/dist/src/collections/library/types.js +204 -0
- package/dist/src/collections/library/types.js.map +1 -0
- package/dist/src/collections/matrix/index.d.ts +244 -31884
- package/dist/src/collections/matrix/index.d.ts.map +1 -1
- package/dist/src/collections/matrix/index.js +573 -327
- package/dist/src/collections/matrix/index.js.map +1 -1
- package/dist/src/collections/matrix/types.d.ts +206 -195
- package/dist/src/collections/matrix/types.d.ts.map +1 -1
- package/dist/src/collections/matrix/types.js +113 -135
- package/dist/src/collections/matrix/types.js.map +1 -1
- package/dist/src/collections/pagination/index.d.ts +8 -35
- package/dist/src/collections/pagination/index.d.ts.map +1 -1
- package/dist/src/collections/pagination/index.js +12 -42
- package/dist/src/collections/pagination/index.js.map +1 -1
- package/dist/src/collections/pagination/types.d.ts +34 -1
- package/dist/src/collections/pagination/types.d.ts.map +1 -1
- package/dist/src/collections/pagination/types.js +27 -1
- package/dist/src/collections/pagination/types.js.map +1 -1
- package/dist/src/collections/planner/index.d.ts +428 -257
- package/dist/src/collections/planner/index.d.ts.map +1 -1
- package/dist/src/collections/planner/index.js +557 -717
- package/dist/src/collections/planner/index.js.map +1 -1
- package/dist/src/collections/planner/types.d.ts +346 -339
- package/dist/src/collections/planner/types.d.ts.map +1 -1
- package/dist/src/collections/planner/types.js +238 -185
- package/dist/src/collections/planner/types.js.map +1 -1
- package/dist/src/collections/roster/index.d.ts +396 -0
- package/dist/src/collections/roster/index.d.ts.map +1 -0
- package/dist/src/collections/roster/index.js +227 -0
- package/dist/src/collections/roster/index.js.map +1 -0
- package/dist/src/collections/roster/types.d.ts +240 -0
- package/dist/src/collections/roster/types.d.ts.map +1 -0
- package/dist/src/collections/roster/types.js +113 -0
- package/dist/src/collections/roster/types.js.map +1 -0
- package/dist/src/collections/schematic/index.d.ts +681 -0
- package/dist/src/collections/schematic/index.d.ts.map +1 -0
- package/dist/src/collections/schematic/index.js +365 -0
- package/dist/src/collections/schematic/index.js.map +1 -0
- package/dist/src/collections/schematic/types.d.ts +590 -0
- package/dist/src/collections/schematic/types.d.ts.map +1 -0
- package/dist/src/collections/schematic/types.js +247 -0
- package/dist/src/collections/schematic/types.js.map +1 -0
- package/dist/src/collections/table/index.d.ts +18 -31669
- package/dist/src/collections/table/index.d.ts.map +1 -1
- package/dist/src/collections/table/index.js +13 -0
- package/dist/src/collections/table/index.js.map +1 -1
- package/dist/src/component.d.ts +3959 -22701
- package/dist/src/component.d.ts.map +1 -1
- package/dist/src/component.js +85 -130
- package/dist/src/component.js.map +1 -1
- package/dist/src/container/card/index.d.ts +48 -35
- package/dist/src/container/card/index.d.ts.map +1 -1
- package/dist/src/container/card/index.js +49 -61
- package/dist/src/container/card/index.js.map +1 -1
- package/dist/src/contracts/drag.d.ts +223 -0
- package/dist/src/contracts/drag.d.ts.map +1 -0
- package/dist/src/contracts/drag.js +138 -0
- package/dist/src/contracts/drag.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/slice-affordances.d.ts +9 -4
- package/dist/src/contracts/slice-affordances.d.ts.map +1 -1
- package/dist/src/contracts/slice-affordances.js +8 -3
- package/dist/src/contracts/slice-affordances.js.map +1 -1
- package/dist/src/disclosure/accordion/index.d.ts +8 -8
- package/dist/src/disclosure/accordion/index.d.ts.map +1 -1
- package/dist/src/disclosure/accordion/index.js +16 -14
- package/dist/src/disclosure/accordion/index.js.map +1 -1
- package/dist/src/disclosure/accordion/types.d.ts +10 -6
- package/dist/src/disclosure/accordion/types.d.ts.map +1 -1
- package/dist/src/disclosure/carousel/index.d.ts.map +1 -1
- package/dist/src/disclosure/carousel/index.js +16 -12
- package/dist/src/disclosure/carousel/index.js.map +1 -1
- package/dist/src/disclosure/carousel/types.d.ts +1 -3
- package/dist/src/disclosure/carousel/types.d.ts.map +1 -1
- package/dist/src/disclosure/collapsible/index.d.ts +27 -11
- package/dist/src/disclosure/collapsible/index.d.ts.map +1 -1
- package/dist/src/disclosure/collapsible/index.js +15 -16
- package/dist/src/disclosure/collapsible/index.js.map +1 -1
- package/dist/src/disclosure/collapsible/types.d.ts +1 -16
- package/dist/src/disclosure/collapsible/types.d.ts.map +1 -1
- package/dist/src/disclosure/collapsible/types.js +1 -1
- package/dist/src/disclosure/collapsible/types.js.map +1 -1
- package/dist/src/disclosure/option-list/index.d.ts +6 -4
- package/dist/src/disclosure/option-list/index.d.ts.map +1 -1
- package/dist/src/disclosure/option-list/index.js +5 -3
- package/dist/src/disclosure/option-list/index.js.map +1 -1
- package/dist/src/disclosure/segment-group/index.d.ts +27 -19
- package/dist/src/disclosure/segment-group/index.d.ts.map +1 -1
- package/dist/src/disclosure/segment-group/index.js +16 -17
- package/dist/src/disclosure/segment-group/index.js.map +1 -1
- package/dist/src/disclosure/show-more/index.js +3 -3
- package/dist/src/disclosure/show-more/index.js.map +1 -1
- package/dist/src/disclosure/show-more/types.d.ts +1 -3
- package/dist/src/disclosure/show-more/types.d.ts.map +1 -1
- package/dist/src/disclosure/tabs/index.d.ts +9 -10
- package/dist/src/disclosure/tabs/index.d.ts.map +1 -1
- package/dist/src/disclosure/tabs/index.js +15 -14
- package/dist/src/disclosure/tabs/index.js.map +1 -1
- package/dist/src/disclosure/tabs/types.d.ts +4 -6
- package/dist/src/disclosure/tabs/types.d.ts.map +1 -1
- package/dist/src/display/avatar/index.d.ts +6 -0
- package/dist/src/display/avatar/index.d.ts.map +1 -1
- package/dist/src/display/avatar/index.js +8 -1
- package/dist/src/display/avatar/index.js.map +1 -1
- package/dist/src/display/avatar/types.d.ts +15 -2
- package/dist/src/display/avatar/types.d.ts.map +1 -1
- package/dist/src/display/avatar/types.js +3 -1
- package/dist/src/display/avatar/types.js.map +1 -1
- package/dist/src/display/avatar-group/index.d.ts.map +1 -1
- package/dist/src/display/avatar-group/index.js +14 -1
- package/dist/src/display/avatar-group/index.js.map +1 -1
- package/dist/src/display/avatar-group/types.d.ts +21 -2
- package/dist/src/display/avatar-group/types.d.ts.map +1 -1
- package/dist/src/display/avatar-group/types.js +3 -1
- package/dist/src/display/avatar-group/types.js.map +1 -1
- package/dist/src/display/badge/index.d.ts +6 -0
- package/dist/src/display/badge/index.d.ts.map +1 -1
- package/dist/src/display/badge/index.js +8 -1
- package/dist/src/display/badge/index.js.map +1 -1
- package/dist/src/display/badge/types.d.ts +15 -2
- package/dist/src/display/badge/types.d.ts.map +1 -1
- package/dist/src/display/badge/types.js +3 -1
- package/dist/src/display/badge/types.js.map +1 -1
- package/dist/src/display/bar-strip/index.d.ts +3 -1
- package/dist/src/display/bar-strip/index.d.ts.map +1 -1
- package/dist/src/display/bar-strip/index.js +10 -1
- package/dist/src/display/bar-strip/index.js.map +1 -1
- package/dist/src/display/bar-strip/types.d.ts +10 -2
- package/dist/src/display/bar-strip/types.d.ts.map +1 -1
- package/dist/src/display/bar-strip/types.js +1 -1
- package/dist/src/display/bar-strip/types.js.map +1 -1
- package/dist/src/display/chip-rail/index.d.ts +109 -0
- package/dist/src/display/chip-rail/index.d.ts.map +1 -0
- package/dist/src/{layout → display}/chip-rail/index.js +19 -17
- package/dist/src/display/chip-rail/index.js.map +1 -0
- package/dist/src/{layout → display}/chip-rail/types.d.ts +10 -4
- package/dist/src/display/chip-rail/types.d.ts.map +1 -0
- package/dist/src/{layout → display}/chip-rail/types.js +1 -1
- package/dist/src/display/chip-rail/types.js.map +1 -0
- package/dist/src/display/editable-chip/index.d.ts +3 -0
- package/dist/src/display/editable-chip/index.d.ts.map +1 -1
- package/dist/src/display/editable-chip/index.js +10 -1
- package/dist/src/display/editable-chip/index.js.map +1 -1
- package/dist/src/display/editable-chip/types.d.ts +10 -2
- package/dist/src/display/editable-chip/types.d.ts.map +1 -1
- package/dist/src/display/editable-chip/types.js +1 -1
- package/dist/src/display/editable-chip/types.js.map +1 -1
- package/dist/src/display/icon/index.d.ts +5 -8
- package/dist/src/display/icon/index.d.ts.map +1 -1
- package/dist/src/display/icon/index.js +8 -9
- package/dist/src/display/icon/index.js.map +1 -1
- package/dist/src/display/icon/types.d.ts +5 -0
- package/dist/src/display/icon/types.d.ts.map +1 -1
- package/dist/src/display/icon/types.js.map +1 -1
- package/dist/src/display/index.d.ts +2 -0
- package/dist/src/display/index.d.ts.map +1 -1
- package/dist/src/display/index.js +2 -0
- package/dist/src/display/index.js.map +1 -1
- package/dist/src/display/kbd/index.d.ts.map +1 -1
- package/dist/src/display/kbd/index.js +8 -1
- package/dist/src/display/kbd/index.js.map +1 -1
- package/dist/src/display/kbd/types.d.ts +16 -2
- package/dist/src/display/kbd/types.d.ts.map +1 -1
- package/dist/src/display/kbd/types.js +3 -1
- package/dist/src/display/kbd/types.js.map +1 -1
- package/dist/src/display/meter/index.d.ts +3 -0
- package/dist/src/display/meter/index.d.ts.map +1 -1
- package/dist/src/display/meter/index.js +10 -0
- package/dist/src/display/meter/index.js.map +1 -1
- package/dist/src/display/meter/types.d.ts +10 -0
- package/dist/src/display/meter/types.d.ts.map +1 -1
- package/dist/src/display/meter/types.js +1 -0
- package/dist/src/display/meter/types.js.map +1 -1
- package/dist/src/display/metric-chip/index.d.ts +12 -8
- package/dist/src/display/metric-chip/index.d.ts.map +1 -1
- package/dist/src/display/metric-chip/index.js +27 -18
- package/dist/src/display/metric-chip/index.js.map +1 -1
- package/dist/src/display/metric-chip/types.d.ts +16 -5
- package/dist/src/display/metric-chip/types.d.ts.map +1 -1
- package/dist/src/display/metric-chip/types.js +1 -1
- package/dist/src/display/metric-chip/types.js.map +1 -1
- package/dist/src/display/segmented-meter/index.d.ts +3 -0
- package/dist/src/display/segmented-meter/index.d.ts.map +1 -1
- package/dist/src/display/segmented-meter/index.js +10 -0
- package/dist/src/display/segmented-meter/index.js.map +1 -1
- package/dist/src/display/segmented-meter/types.d.ts +10 -0
- package/dist/src/display/segmented-meter/types.d.ts.map +1 -1
- package/dist/src/display/segmented-meter/types.js +1 -0
- package/dist/src/display/segmented-meter/types.js.map +1 -1
- package/dist/src/display/stat/index.d.ts +13 -11
- package/dist/src/display/stat/index.d.ts.map +1 -1
- package/dist/src/display/stat/index.js +34 -23
- package/dist/src/display/stat/index.js.map +1 -1
- package/dist/src/display/stat/types.d.ts +23 -5
- package/dist/src/display/stat/types.d.ts.map +1 -1
- package/dist/src/display/stat/types.js +7 -7
- package/dist/src/display/stat/types.js.map +1 -1
- package/dist/src/display/tag/index.d.ts +5 -0
- package/dist/src/display/tag/index.d.ts.map +1 -1
- package/dist/src/display/tag/index.js +7 -1
- package/dist/src/display/tag/index.js.map +1 -1
- package/dist/src/display/tag/types.d.ts +15 -2
- package/dist/src/display/tag/types.d.ts.map +1 -1
- package/dist/src/display/tag/types.js +3 -1
- package/dist/src/display/tag/types.js.map +1 -1
- package/dist/src/display/trace/index.d.ts +104 -0
- package/dist/src/display/trace/index.d.ts.map +1 -0
- package/dist/src/display/trace/index.js +106 -0
- package/dist/src/display/trace/index.js.map +1 -0
- package/dist/src/display/trace/types.d.ts +140 -0
- package/dist/src/display/trace/types.d.ts.map +1 -0
- package/dist/src/display/trace/types.js +75 -0
- package/dist/src/display/trace/types.js.map +1 -0
- package/dist/src/feedback/banner/index.d.ts +25 -13
- package/dist/src/feedback/banner/index.d.ts.map +1 -1
- package/dist/src/feedback/banner/index.js +26 -22
- package/dist/src/feedback/banner/index.js.map +1 -1
- package/dist/src/feedback/empty-state/index.d.ts +20 -12
- package/dist/src/feedback/empty-state/index.d.ts.map +1 -1
- package/dist/src/feedback/empty-state/index.js +26 -22
- package/dist/src/feedback/empty-state/index.js.map +1 -1
- package/dist/src/feedback/progress/index.d.ts +13 -10
- package/dist/src/feedback/progress/index.d.ts.map +1 -1
- package/dist/src/feedback/progress/index.js +15 -15
- package/dist/src/feedback/progress/index.js.map +1 -1
- package/dist/src/feedback/skeleton/index.d.ts +16 -11
- package/dist/src/feedback/skeleton/index.d.ts.map +1 -1
- package/dist/src/feedback/skeleton/index.js +12 -10
- package/dist/src/feedback/skeleton/index.js.map +1 -1
- package/dist/src/feedback/status/index.d.ts +16 -11
- package/dist/src/feedback/status/index.d.ts.map +1 -1
- package/dist/src/feedback/status/index.js +23 -21
- package/dist/src/feedback/status/index.js.map +1 -1
- package/dist/src/format/index.d.ts +1 -1
- package/dist/src/format/index.d.ts.map +1 -1
- package/dist/src/format/index.js +1 -1
- package/dist/src/format/index.js.map +1 -1
- package/dist/src/format/types.d.ts +736 -0
- package/dist/src/format/types.d.ts.map +1 -0
- package/dist/src/format/types.js +473 -0
- package/dist/src/format/types.js.map +1 -0
- package/dist/src/forms/combobox/index.d.ts +9 -13
- package/dist/src/forms/combobox/index.d.ts.map +1 -1
- package/dist/src/forms/combobox/index.js +9 -12
- package/dist/src/forms/combobox/index.js.map +1 -1
- package/dist/src/forms/combobox/types.d.ts +13 -0
- package/dist/src/forms/combobox/types.d.ts.map +1 -1
- package/dist/src/forms/date-range-input/index.d.ts +6 -7
- package/dist/src/forms/date-range-input/index.d.ts.map +1 -1
- package/dist/src/forms/date-range-input/index.js +34 -34
- package/dist/src/forms/date-range-input/index.js.map +1 -1
- package/dist/src/forms/date-range-input/types.d.ts +4 -0
- package/dist/src/forms/date-range-input/types.d.ts.map +1 -1
- package/dist/src/forms/date-range-input/types.js.map +1 -1
- package/dist/src/forms/field/index.d.ts +8 -0
- package/dist/src/forms/field/index.d.ts.map +1 -1
- package/dist/src/forms/field/types.d.ts +16 -0
- package/dist/src/forms/field/types.d.ts.map +1 -1
- package/dist/src/forms/file-upload/index.d.ts +5 -1
- package/dist/src/forms/file-upload/index.d.ts.map +1 -1
- package/dist/src/forms/file-upload/index.js +9 -2
- package/dist/src/forms/file-upload/index.js.map +1 -1
- package/dist/src/forms/file-upload/types.d.ts +34 -0
- package/dist/src/forms/file-upload/types.d.ts.map +1 -1
- package/dist/src/forms/file-upload/types.js +22 -0
- package/dist/src/forms/file-upload/types.js.map +1 -1
- package/dist/src/forms/index.d.ts +0 -1
- package/dist/src/forms/index.d.ts.map +1 -1
- package/dist/src/forms/index.js +0 -1
- package/dist/src/forms/index.js.map +1 -1
- package/dist/src/forms/input/index.d.ts +5 -0
- package/dist/src/forms/input/index.d.ts.map +1 -1
- package/dist/src/forms/input/index.js +3 -1
- package/dist/src/forms/input/index.js.map +1 -1
- package/dist/src/forms/input/types.d.ts +8 -0
- package/dist/src/forms/input/types.d.ts.map +1 -1
- package/dist/src/forms/input/types.js +2 -0
- package/dist/src/forms/input/types.js.map +1 -1
- package/dist/src/forms/radio-card-group/index.d.ts +12 -12
- package/dist/src/forms/radio-card-group/index.d.ts.map +1 -1
- package/dist/src/forms/radio-card-group/index.js +39 -38
- package/dist/src/forms/radio-card-group/index.js.map +1 -1
- package/dist/src/forms/radio-card-group/types.d.ts +4 -0
- package/dist/src/forms/radio-card-group/types.d.ts.map +1 -1
- package/dist/src/forms/radio-card-group/types.js.map +1 -1
- package/dist/src/forms/radio-group/index.d.ts +12 -12
- package/dist/src/forms/radio-group/index.d.ts.map +1 -1
- package/dist/src/forms/radio-group/index.js +42 -39
- package/dist/src/forms/radio-group/index.js.map +1 -1
- package/dist/src/forms/radio-group/types.d.ts +10 -1
- package/dist/src/forms/radio-group/types.d.ts.map +1 -1
- package/dist/src/forms/radio-group/types.js.map +1 -1
- package/dist/src/forms/select/index.d.ts +9 -13
- package/dist/src/forms/select/index.d.ts.map +1 -1
- package/dist/src/forms/select/index.js +9 -12
- package/dist/src/forms/select/index.js.map +1 -1
- package/dist/src/forms/select/types.d.ts +13 -0
- package/dist/src/forms/select/types.d.ts.map +1 -1
- package/dist/src/forms/time-range-input/index.d.ts +6 -7
- package/dist/src/forms/time-range-input/index.d.ts.map +1 -1
- package/dist/src/forms/time-range-input/index.js +31 -31
- package/dist/src/forms/time-range-input/index.js.map +1 -1
- package/dist/src/forms/time-range-input/types.d.ts +4 -0
- package/dist/src/forms/time-range-input/types.d.ts.map +1 -1
- package/dist/src/forms/time-range-input/types.js.map +1 -1
- package/dist/src/index.d.ts +41 -25
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +38 -24
- package/dist/src/index.js.map +1 -1
- package/dist/src/internal.d.ts +40 -22
- package/dist/src/internal.d.ts.map +1 -1
- package/dist/src/internal.js +44 -34
- package/dist/src/internal.js.map +1 -1
- package/dist/src/layout/box/index.d.ts +4 -0
- package/dist/src/layout/box/index.d.ts.map +1 -1
- package/dist/src/layout/box/index.js +9 -1
- package/dist/src/layout/box/index.js.map +1 -1
- package/dist/src/layout/box/types.d.ts +10 -2
- package/dist/src/layout/box/types.d.ts.map +1 -1
- package/dist/src/layout/box/types.js +1 -1
- package/dist/src/layout/box/types.js.map +1 -1
- package/dist/src/layout/flex/index.d.ts +4 -0
- package/dist/src/layout/flex/index.d.ts.map +1 -1
- package/dist/src/layout/flex/index.js +9 -1
- package/dist/src/layout/flex/index.js.map +1 -1
- package/dist/src/layout/flex/types.d.ts +10 -2
- package/dist/src/layout/flex/types.d.ts.map +1 -1
- package/dist/src/layout/flex/types.js +1 -1
- package/dist/src/layout/flex/types.js.map +1 -1
- package/dist/src/layout/grid/index.d.ts +3 -0
- package/dist/src/layout/grid/index.d.ts.map +1 -1
- package/dist/src/layout/grid/index.js +8 -1
- package/dist/src/layout/grid/index.js.map +1 -1
- package/dist/src/layout/grid/types.d.ts +10 -2
- package/dist/src/layout/grid/types.d.ts.map +1 -1
- package/dist/src/layout/grid/types.js +1 -1
- package/dist/src/layout/grid/types.js.map +1 -1
- package/dist/src/layout/index.d.ts +0 -1
- package/dist/src/layout/index.d.ts.map +1 -1
- package/dist/src/layout/index.js +0 -1
- package/dist/src/layout/index.js.map +1 -1
- package/dist/src/layout/scroll-area/index.d.ts +2 -31666
- package/dist/src/layout/scroll-area/index.d.ts.map +1 -1
- package/dist/src/layout/scroll-area/index.js +11 -11
- package/dist/src/layout/scroll-area/index.js.map +1 -1
- package/dist/src/layout/scroll-area/types.d.ts +1 -3
- package/dist/src/layout/scroll-area/types.d.ts.map +1 -1
- package/dist/src/layout/separator/index.d.ts +2 -31666
- package/dist/src/layout/separator/index.d.ts.map +1 -1
- package/dist/src/layout/splitter/index.d.ts +32 -18
- package/dist/src/layout/splitter/index.d.ts.map +1 -1
- package/dist/src/layout/splitter/index.js +33 -47
- package/dist/src/layout/splitter/index.js.map +1 -1
- package/dist/src/layout/stack/index.d.ts +4 -0
- package/dist/src/layout/stack/index.d.ts.map +1 -1
- package/dist/src/layout/stack/index.js +9 -1
- package/dist/src/layout/stack/index.js.map +1 -1
- package/dist/src/layout/stack/types.d.ts +10 -2
- package/dist/src/layout/stack/types.d.ts.map +1 -1
- package/dist/src/layout/stack/types.js +1 -1
- package/dist/src/layout/stack/types.js.map +1 -1
- package/dist/src/layout/sticky/index.d.ts +2 -31666
- package/dist/src/layout/sticky/index.d.ts.map +1 -1
- package/dist/src/layout/sticky/index.js +4 -4
- package/dist/src/layout/sticky/index.js.map +1 -1
- package/dist/src/layout/sticky/types.d.ts +1 -3
- package/dist/src/layout/sticky/types.d.ts.map +1 -1
- package/dist/src/overlays/dialog/index.d.ts +18 -16
- package/dist/src/overlays/dialog/index.d.ts.map +1 -1
- package/dist/src/overlays/dialog/index.js +31 -60
- package/dist/src/overlays/dialog/index.js.map +1 -1
- package/dist/src/overlays/drawer/index.d.ts +26 -16
- package/dist/src/overlays/drawer/index.d.ts.map +1 -1
- package/dist/src/overlays/drawer/index.js +28 -52
- package/dist/src/overlays/drawer/index.js.map +1 -1
- package/dist/src/overlays/drawer/types.d.ts +3 -0
- package/dist/src/overlays/drawer/types.d.ts.map +1 -1
- package/dist/src/overlays/hover-card/index.d.ts +33 -27
- package/dist/src/overlays/hover-card/index.d.ts.map +1 -1
- package/dist/src/overlays/hover-card/index.js +33 -61
- package/dist/src/overlays/hover-card/index.js.map +1 -1
- package/dist/src/overlays/menu/index.d.ts +114 -42
- package/dist/src/overlays/menu/index.d.ts.map +1 -1
- package/dist/src/overlays/menu/index.js +101 -60
- package/dist/src/overlays/menu/index.js.map +1 -1
- package/dist/src/overlays/menu/types.d.ts +37 -3
- package/dist/src/overlays/menu/types.d.ts.map +1 -1
- package/dist/src/overlays/menu/types.js +18 -4
- package/dist/src/overlays/menu/types.js.map +1 -1
- package/dist/src/overlays/popover/index.d.ts +16 -16
- package/dist/src/overlays/popover/index.d.ts.map +1 -1
- package/dist/src/overlays/popover/index.js +22 -52
- package/dist/src/overlays/popover/index.js.map +1 -1
- package/dist/src/overlays/toggle-tip/index.d.ts +14 -14
- package/dist/src/overlays/toggle-tip/index.d.ts.map +1 -1
- package/dist/src/overlays/toggle-tip/index.js +18 -47
- package/dist/src/overlays/toggle-tip/index.js.map +1 -1
- package/dist/src/overlays/tooltip/index.d.ts +20 -15
- package/dist/src/overlays/tooltip/index.d.ts.map +1 -1
- package/dist/src/overlays/tooltip/index.js +19 -28
- package/dist/src/overlays/tooltip/index.js.map +1 -1
- package/dist/src/platform/hotkey/index.d.ts +3 -30
- package/dist/src/platform/hotkey/index.d.ts.map +1 -1
- package/dist/src/platform/hotkey/index.js +3 -28
- package/dist/src/platform/hotkey/index.js.map +1 -1
- package/dist/src/platform/hotkey/types.d.ts +37 -0
- package/dist/src/platform/hotkey/types.d.ts.map +1 -0
- package/dist/src/platform/hotkey/types.js +36 -0
- package/dist/src/platform/hotkey/types.js.map +1 -0
- package/dist/src/platform/slice/impl.d.ts +3 -2
- package/dist/src/platform/slice/impl.d.ts.map +1 -1
- package/dist/src/platform/slice/impl.js +23 -6
- package/dist/src/platform/slice/impl.js.map +1 -1
- package/dist/src/platform/slice/index.d.ts +1390 -135
- package/dist/src/platform/slice/index.d.ts.map +1 -1
- package/dist/src/platform/slice/index.js +52 -9
- package/dist/src/platform/slice/index.js.map +1 -1
- package/dist/src/runtime/buttons/button-group.d.ts +41 -0
- package/dist/src/runtime/buttons/button-group.d.ts.map +1 -0
- package/dist/src/runtime/buttons/button-group.js +36 -0
- package/dist/src/runtime/buttons/button-group.js.map +1 -0
- package/dist/src/runtime/buttons/button.d.ts +36 -0
- package/dist/src/runtime/buttons/button.d.ts.map +1 -0
- package/dist/src/runtime/buttons/button.js +32 -0
- package/dist/src/runtime/buttons/button.js.map +1 -0
- package/dist/src/runtime/buttons/close-button.d.ts +36 -0
- package/dist/src/runtime/buttons/close-button.d.ts.map +1 -0
- package/dist/src/runtime/buttons/close-button.js +34 -0
- package/dist/src/runtime/buttons/close-button.js.map +1 -0
- package/dist/src/runtime/buttons/copy-button.d.ts +37 -0
- package/dist/src/runtime/buttons/copy-button.d.ts.map +1 -0
- package/dist/src/runtime/buttons/copy-button.js +33 -0
- package/dist/src/runtime/buttons/copy-button.js.map +1 -0
- package/dist/src/runtime/buttons/icon-button.d.ts +40 -0
- package/dist/src/runtime/buttons/icon-button.d.ts.map +1 -0
- package/dist/src/runtime/buttons/icon-button.js +38 -0
- package/dist/src/runtime/buttons/icon-button.js.map +1 -0
- package/dist/src/runtime/buttons/index.d.ts +12 -0
- package/dist/src/runtime/buttons/index.d.ts.map +1 -0
- package/dist/src/runtime/buttons/index.js +12 -0
- package/dist/src/runtime/buttons/index.js.map +1 -0
- package/dist/src/runtime/buttons/toggle.d.ts +45 -0
- package/dist/src/runtime/buttons/toggle.d.ts.map +1 -0
- package/dist/src/runtime/buttons/toggle.js +41 -0
- package/dist/src/runtime/buttons/toggle.js.map +1 -0
- package/dist/src/runtime/charts/chart.d.ts +69 -0
- package/dist/src/runtime/charts/chart.d.ts.map +1 -0
- package/dist/src/runtime/charts/chart.js +66 -0
- package/dist/src/runtime/charts/chart.js.map +1 -0
- package/dist/src/runtime/charts/index.d.ts +8 -0
- package/dist/src/runtime/charts/index.d.ts.map +1 -0
- package/dist/src/runtime/charts/index.js +8 -0
- package/dist/src/runtime/charts/index.js.map +1 -0
- package/dist/src/runtime/charts/sparkline.d.ts +42 -0
- package/dist/src/runtime/charts/sparkline.d.ts.map +1 -0
- package/dist/src/runtime/charts/sparkline.js +40 -0
- package/dist/src/runtime/charts/sparkline.js.map +1 -0
- package/dist/src/runtime/children.d.ts +46 -0
- package/dist/src/runtime/children.d.ts.map +1 -0
- package/dist/src/runtime/children.js +73 -0
- package/dist/src/runtime/children.js.map +1 -0
- package/dist/src/runtime/collections/blend.d.ts +58 -0
- package/dist/src/runtime/collections/blend.d.ts.map +1 -0
- package/dist/src/runtime/collections/blend.js +58 -0
- package/dist/src/runtime/collections/blend.js.map +1 -0
- package/dist/src/runtime/collections/calendar.d.ts +49 -0
- package/dist/src/runtime/collections/calendar.d.ts.map +1 -0
- package/dist/src/runtime/collections/calendar.js +49 -0
- package/dist/src/runtime/collections/calendar.js.map +1 -0
- package/dist/src/runtime/collections/data-list.d.ts +41 -0
- package/dist/src/runtime/collections/data-list.d.ts.map +1 -0
- package/dist/src/runtime/collections/data-list.js +39 -0
- package/dist/src/runtime/collections/data-list.js.map +1 -0
- package/dist/src/runtime/collections/gantt.d.ts +67 -0
- package/dist/src/runtime/collections/gantt.d.ts.map +1 -0
- package/dist/src/runtime/collections/gantt.js +58 -0
- package/dist/src/runtime/collections/gantt.js.map +1 -0
- package/dist/src/runtime/collections/index.d.ts +18 -0
- package/dist/src/runtime/collections/index.d.ts.map +1 -0
- package/dist/src/runtime/collections/index.js +18 -0
- package/dist/src/runtime/collections/index.js.map +1 -0
- package/dist/src/runtime/collections/library.d.ts +56 -0
- package/dist/src/runtime/collections/library.d.ts.map +1 -0
- package/dist/src/runtime/collections/library.js +56 -0
- package/dist/src/runtime/collections/library.js.map +1 -0
- package/dist/src/runtime/collections/matrix.d.ts +71 -0
- package/dist/src/runtime/collections/matrix.d.ts.map +1 -0
- package/dist/src/runtime/collections/matrix.js +66 -0
- package/dist/src/runtime/collections/matrix.js.map +1 -0
- package/dist/src/runtime/collections/pagination.d.ts +44 -0
- package/dist/src/runtime/collections/pagination.d.ts.map +1 -0
- package/dist/src/runtime/collections/pagination.js +42 -0
- package/dist/src/runtime/collections/pagination.js.map +1 -0
- package/dist/src/runtime/collections/planner.d.ts +80 -0
- package/dist/src/runtime/collections/planner.d.ts.map +1 -0
- package/dist/src/runtime/collections/planner.js +76 -0
- package/dist/src/runtime/collections/planner.js.map +1 -0
- package/dist/src/runtime/collections/roster.d.ts +60 -0
- package/dist/src/runtime/collections/roster.d.ts.map +1 -0
- package/dist/src/runtime/collections/roster.js +59 -0
- package/dist/src/runtime/collections/roster.js.map +1 -0
- package/dist/src/runtime/collections/schematic.d.ts +62 -0
- package/dist/src/runtime/collections/schematic.d.ts.map +1 -0
- package/dist/src/runtime/collections/schematic.js +59 -0
- package/dist/src/runtime/collections/schematic.js.map +1 -0
- package/dist/src/runtime/collections/table.d.ts +70 -0
- package/dist/src/runtime/collections/table.d.ts.map +1 -0
- package/dist/src/runtime/collections/table.js +63 -0
- package/dist/src/runtime/collections/table.js.map +1 -0
- package/dist/src/runtime/collections/tree-view.d.ts +49 -0
- package/dist/src/runtime/collections/tree-view.d.ts.map +1 -0
- package/dist/src/runtime/collections/tree-view.js +46 -0
- package/dist/src/runtime/collections/tree-view.js.map +1 -0
- package/dist/src/runtime/combinators.d.ts +111 -0
- package/dist/src/runtime/combinators.d.ts.map +1 -0
- package/dist/src/runtime/combinators.js +106 -0
- package/dist/src/runtime/combinators.js.map +1 -0
- package/dist/src/runtime/container/card.d.ts +54 -0
- package/dist/src/runtime/container/card.d.ts.map +1 -0
- package/dist/src/runtime/container/card.js +51 -0
- package/dist/src/runtime/container/card.js.map +1 -0
- package/dist/src/runtime/container/index.d.ts +7 -0
- package/dist/src/runtime/container/index.d.ts.map +1 -0
- package/dist/src/runtime/container/index.js +7 -0
- package/dist/src/runtime/container/index.js.map +1 -0
- package/dist/src/runtime/disclosure/accordion.d.ts +54 -0
- package/dist/src/runtime/disclosure/accordion.d.ts.map +1 -0
- package/dist/src/runtime/disclosure/accordion.js +51 -0
- package/dist/src/runtime/disclosure/accordion.js.map +1 -0
- package/dist/src/runtime/disclosure/carousel.d.ts +46 -0
- package/dist/src/runtime/disclosure/carousel.d.ts.map +1 -0
- package/dist/src/runtime/disclosure/carousel.js +41 -0
- package/dist/src/runtime/disclosure/carousel.js.map +1 -0
- package/dist/src/runtime/disclosure/collapsible.d.ts +41 -0
- package/dist/src/runtime/disclosure/collapsible.d.ts.map +1 -0
- package/dist/src/runtime/disclosure/collapsible.js +39 -0
- package/dist/src/runtime/disclosure/collapsible.js.map +1 -0
- package/dist/src/runtime/disclosure/index.d.ts +13 -0
- package/dist/src/runtime/disclosure/index.d.ts.map +1 -0
- package/dist/src/runtime/disclosure/index.js +13 -0
- package/dist/src/runtime/disclosure/index.js.map +1 -0
- package/dist/src/runtime/disclosure/option-list.d.ts +58 -0
- package/dist/src/runtime/disclosure/option-list.d.ts.map +1 -0
- package/dist/src/runtime/disclosure/option-list.js +55 -0
- package/dist/src/runtime/disclosure/option-list.js.map +1 -0
- package/dist/src/runtime/disclosure/segment-group.d.ts +52 -0
- package/dist/src/runtime/disclosure/segment-group.d.ts.map +1 -0
- package/dist/src/runtime/disclosure/segment-group.js +49 -0
- package/dist/src/runtime/disclosure/segment-group.js.map +1 -0
- package/dist/src/runtime/disclosure/show-more.d.ts +38 -0
- package/dist/src/runtime/disclosure/show-more.d.ts.map +1 -0
- package/dist/src/runtime/disclosure/show-more.js +36 -0
- package/dist/src/runtime/disclosure/show-more.js.map +1 -0
- package/dist/src/runtime/disclosure/tabs.d.ts +55 -0
- package/dist/src/runtime/disclosure/tabs.d.ts.map +1 -0
- package/dist/src/runtime/disclosure/tabs.js +52 -0
- package/dist/src/runtime/disclosure/tabs.js.map +1 -0
- package/dist/src/runtime/display/avatar-group.d.ts +41 -0
- package/dist/src/runtime/display/avatar-group.d.ts.map +1 -0
- package/dist/src/runtime/display/avatar-group.js +37 -0
- package/dist/src/runtime/display/avatar-group.js.map +1 -0
- package/dist/src/runtime/display/avatar.d.ts +37 -0
- package/dist/src/runtime/display/avatar.d.ts.map +1 -0
- package/dist/src/runtime/display/avatar.js +35 -0
- package/dist/src/runtime/display/avatar.js.map +1 -0
- package/dist/src/runtime/display/badge.d.ts +40 -0
- package/dist/src/runtime/display/badge.d.ts.map +1 -0
- package/dist/src/runtime/display/badge.js +38 -0
- package/dist/src/runtime/display/badge.js.map +1 -0
- package/dist/src/runtime/display/bar-strip.d.ts +46 -0
- package/dist/src/runtime/display/bar-strip.d.ts.map +1 -0
- package/dist/src/runtime/display/bar-strip.js +42 -0
- package/dist/src/runtime/display/bar-strip.js.map +1 -0
- package/dist/src/runtime/display/chip-rail.d.ts +48 -0
- package/dist/src/runtime/display/chip-rail.d.ts.map +1 -0
- package/dist/src/runtime/display/chip-rail.js +43 -0
- package/dist/src/runtime/display/chip-rail.js.map +1 -0
- package/dist/src/runtime/display/editable-chip.d.ts +36 -0
- package/dist/src/runtime/display/editable-chip.d.ts.map +1 -0
- package/dist/src/runtime/display/editable-chip.js +34 -0
- package/dist/src/runtime/display/editable-chip.js.map +1 -0
- package/dist/src/runtime/display/icon.d.ts +36 -0
- package/dist/src/runtime/display/icon.d.ts.map +1 -0
- package/dist/src/runtime/display/icon.js +34 -0
- package/dist/src/runtime/display/icon.js.map +1 -0
- package/dist/src/runtime/display/index.d.ts +20 -0
- package/dist/src/runtime/display/index.d.ts.map +1 -0
- package/dist/src/runtime/display/index.js +20 -0
- package/dist/src/runtime/display/index.js.map +1 -0
- package/dist/src/runtime/display/kbd.d.ts +34 -0
- package/dist/src/runtime/display/kbd.d.ts.map +1 -0
- package/dist/src/runtime/display/kbd.js +32 -0
- package/dist/src/runtime/display/kbd.js.map +1 -0
- package/dist/src/runtime/display/meter.d.ts +36 -0
- package/dist/src/runtime/display/meter.d.ts.map +1 -0
- package/dist/src/runtime/display/meter.js +34 -0
- package/dist/src/runtime/display/meter.js.map +1 -0
- package/dist/src/runtime/display/metric-chip.d.ts +36 -0
- package/dist/src/runtime/display/metric-chip.d.ts.map +1 -0
- package/dist/src/runtime/display/metric-chip.js +34 -0
- package/dist/src/runtime/display/metric-chip.js.map +1 -0
- package/dist/src/runtime/display/segmented-meter.d.ts +43 -0
- package/dist/src/runtime/display/segmented-meter.d.ts.map +1 -0
- package/dist/src/runtime/display/segmented-meter.js +39 -0
- package/dist/src/runtime/display/segmented-meter.js.map +1 -0
- package/dist/src/runtime/display/stat.d.ts +38 -0
- package/dist/src/runtime/display/stat.d.ts.map +1 -0
- package/dist/src/runtime/display/stat.js +36 -0
- package/dist/src/runtime/display/stat.js.map +1 -0
- package/dist/src/runtime/display/tag.d.ts +39 -0
- package/dist/src/runtime/display/tag.d.ts.map +1 -0
- package/dist/src/runtime/display/tag.js +37 -0
- package/dist/src/runtime/display/tag.js.map +1 -0
- package/dist/src/runtime/display/trace.d.ts +50 -0
- package/dist/src/runtime/display/trace.d.ts.map +1 -0
- package/dist/src/runtime/display/trace.js +46 -0
- package/dist/src/runtime/display/trace.js.map +1 -0
- package/dist/src/runtime/feedback/banner.d.ts +44 -0
- package/dist/src/runtime/feedback/banner.d.ts.map +1 -0
- package/dist/src/runtime/feedback/banner.js +42 -0
- package/dist/src/runtime/feedback/banner.js.map +1 -0
- package/dist/src/runtime/feedback/empty-state.d.ts +43 -0
- package/dist/src/runtime/feedback/empty-state.d.ts.map +1 -0
- package/dist/src/runtime/feedback/empty-state.js +41 -0
- package/dist/src/runtime/feedback/empty-state.js.map +1 -0
- package/dist/src/runtime/feedback/index.d.ts +11 -0
- package/dist/src/runtime/feedback/index.d.ts.map +1 -0
- package/dist/src/runtime/feedback/index.js +11 -0
- package/dist/src/runtime/feedback/index.js.map +1 -0
- package/dist/src/runtime/feedback/progress.d.ts +37 -0
- package/dist/src/runtime/feedback/progress.d.ts.map +1 -0
- package/dist/src/runtime/feedback/progress.js +35 -0
- package/dist/src/runtime/feedback/progress.js.map +1 -0
- package/dist/src/runtime/feedback/skeleton.d.ts +39 -0
- package/dist/src/runtime/feedback/skeleton.d.ts.map +1 -0
- package/dist/src/runtime/feedback/skeleton.js +37 -0
- package/dist/src/runtime/feedback/skeleton.js.map +1 -0
- package/dist/src/runtime/feedback/status.d.ts +41 -0
- package/dist/src/runtime/feedback/status.d.ts.map +1 -0
- package/dist/src/runtime/feedback/status.js +39 -0
- package/dist/src/runtime/feedback/status.js.map +1 -0
- package/dist/src/runtime/forms/checkbox.d.ts +34 -0
- package/dist/src/runtime/forms/checkbox.d.ts.map +1 -0
- package/dist/src/runtime/forms/checkbox.js +32 -0
- package/dist/src/runtime/forms/checkbox.js.map +1 -0
- package/dist/src/runtime/forms/combobox.d.ts +50 -0
- package/dist/src/runtime/forms/combobox.d.ts.map +1 -0
- package/dist/src/runtime/forms/combobox.js +47 -0
- package/dist/src/runtime/forms/combobox.js.map +1 -0
- package/dist/src/runtime/forms/date-range-input.d.ts +38 -0
- package/dist/src/runtime/forms/date-range-input.d.ts.map +1 -0
- package/dist/src/runtime/forms/date-range-input.js +36 -0
- package/dist/src/runtime/forms/date-range-input.js.map +1 -0
- package/dist/src/runtime/forms/field.d.ts +77 -0
- package/dist/src/runtime/forms/field.d.ts.map +1 -0
- package/dist/src/runtime/forms/field.js +62 -0
- package/dist/src/runtime/forms/field.js.map +1 -0
- package/dist/src/runtime/forms/file-upload.d.ts +35 -0
- package/dist/src/runtime/forms/file-upload.d.ts.map +1 -0
- package/dist/src/runtime/forms/file-upload.js +33 -0
- package/dist/src/runtime/forms/file-upload.js.map +1 -0
- package/dist/src/runtime/forms/index.d.ts +20 -0
- package/dist/src/runtime/forms/index.d.ts.map +1 -0
- package/dist/src/runtime/forms/index.js +20 -0
- package/dist/src/runtime/forms/index.js.map +1 -0
- package/dist/src/runtime/forms/input.d.ts +57 -0
- package/dist/src/runtime/forms/input.d.ts.map +1 -0
- package/dist/src/runtime/forms/input.js +57 -0
- package/dist/src/runtime/forms/input.js.map +1 -0
- package/dist/src/runtime/forms/radio-card-group.d.ts +44 -0
- package/dist/src/runtime/forms/radio-card-group.d.ts.map +1 -0
- package/dist/src/runtime/forms/radio-card-group.js +42 -0
- package/dist/src/runtime/forms/radio-card-group.js.map +1 -0
- package/dist/src/runtime/forms/radio-group.d.ts +44 -0
- package/dist/src/runtime/forms/radio-group.d.ts.map +1 -0
- package/dist/src/runtime/forms/radio-group.js +42 -0
- package/dist/src/runtime/forms/radio-group.js.map +1 -0
- package/dist/src/runtime/forms/select.d.ts +49 -0
- package/dist/src/runtime/forms/select.d.ts.map +1 -0
- package/dist/src/runtime/forms/select.js +46 -0
- package/dist/src/runtime/forms/select.js.map +1 -0
- package/dist/src/runtime/forms/slider.d.ts +36 -0
- package/dist/src/runtime/forms/slider.d.ts.map +1 -0
- package/dist/src/runtime/forms/slider.js +34 -0
- package/dist/src/runtime/forms/slider.js.map +1 -0
- package/dist/src/runtime/forms/switch.d.ts +34 -0
- package/dist/src/runtime/forms/switch.d.ts.map +1 -0
- package/dist/src/runtime/forms/switch.js +32 -0
- package/dist/src/runtime/forms/switch.js.map +1 -0
- package/dist/src/runtime/forms/tags-input.d.ts +37 -0
- package/dist/src/runtime/forms/tags-input.d.ts.map +1 -0
- package/dist/src/runtime/forms/tags-input.js +35 -0
- package/dist/src/runtime/forms/tags-input.js.map +1 -0
- package/dist/src/runtime/forms/textarea.d.ts +36 -0
- package/dist/src/runtime/forms/textarea.d.ts.map +1 -0
- package/dist/src/runtime/forms/textarea.js +34 -0
- package/dist/src/runtime/forms/textarea.js.map +1 -0
- package/dist/src/runtime/forms/time-range-input.d.ts +38 -0
- package/dist/src/runtime/forms/time-range-input.d.ts.map +1 -0
- package/dist/src/runtime/forms/time-range-input.js +36 -0
- package/dist/src/runtime/forms/time-range-input.js.map +1 -0
- package/dist/src/runtime/index.d.ts +42 -0
- package/dist/src/runtime/index.d.ts.map +1 -0
- package/dist/src/runtime/index.js +41 -0
- package/dist/src/runtime/index.js.map +1 -0
- package/dist/src/runtime/layout/box.d.ts +38 -0
- package/dist/src/runtime/layout/box.d.ts.map +1 -0
- package/dist/src/runtime/layout/box.js +36 -0
- package/dist/src/runtime/layout/box.js.map +1 -0
- package/dist/src/runtime/layout/flex.d.ts +41 -0
- package/dist/src/runtime/layout/flex.d.ts.map +1 -0
- package/dist/src/runtime/layout/flex.js +39 -0
- package/dist/src/runtime/layout/flex.js.map +1 -0
- package/dist/src/runtime/layout/grid.d.ts +52 -0
- package/dist/src/runtime/layout/grid.d.ts.map +1 -0
- package/dist/src/runtime/layout/grid.js +49 -0
- package/dist/src/runtime/layout/grid.js.map +1 -0
- package/dist/src/runtime/layout/index.d.ts +14 -0
- package/dist/src/runtime/layout/index.d.ts.map +1 -0
- package/dist/src/runtime/layout/index.js +14 -0
- package/dist/src/runtime/layout/index.js.map +1 -0
- package/dist/src/runtime/layout/scroll-area.d.ts +44 -0
- package/dist/src/runtime/layout/scroll-area.d.ts.map +1 -0
- package/dist/src/runtime/layout/scroll-area.js +42 -0
- package/dist/src/runtime/layout/scroll-area.js.map +1 -0
- package/dist/src/runtime/layout/separator.d.ts +39 -0
- package/dist/src/runtime/layout/separator.d.ts.map +1 -0
- package/dist/src/runtime/layout/separator.js +37 -0
- package/dist/src/runtime/layout/separator.js.map +1 -0
- package/dist/src/runtime/layout/splitter.d.ts +53 -0
- package/dist/src/runtime/layout/splitter.d.ts.map +1 -0
- package/dist/src/runtime/layout/splitter.js +50 -0
- package/dist/src/runtime/layout/splitter.js.map +1 -0
- package/dist/src/runtime/layout/stack.d.ts +99 -0
- package/dist/src/runtime/layout/stack.d.ts.map +1 -0
- package/dist/src/runtime/layout/stack.js +93 -0
- package/dist/src/runtime/layout/stack.js.map +1 -0
- package/dist/src/runtime/layout/sticky.d.ts +44 -0
- package/dist/src/runtime/layout/sticky.d.ts.map +1 -0
- package/dist/src/runtime/layout/sticky.js +42 -0
- package/dist/src/runtime/layout/sticky.js.map +1 -0
- package/dist/src/runtime/navigation/breadcrumb.d.ts +41 -0
- package/dist/src/runtime/navigation/breadcrumb.d.ts.map +1 -0
- package/dist/src/runtime/navigation/breadcrumb.js +39 -0
- package/dist/src/runtime/navigation/breadcrumb.js.map +1 -0
- package/dist/src/runtime/navigation/index.d.ts +8 -0
- package/dist/src/runtime/navigation/index.d.ts.map +1 -0
- package/dist/src/runtime/navigation/index.js +8 -0
- package/dist/src/runtime/navigation/index.js.map +1 -0
- package/dist/src/runtime/navigation/nav-list.d.ts +54 -0
- package/dist/src/runtime/navigation/nav-list.d.ts.map +1 -0
- package/dist/src/runtime/navigation/nav-list.js +52 -0
- package/dist/src/runtime/navigation/nav-list.js.map +1 -0
- package/dist/src/runtime/overlays/action-bar.d.ts +45 -0
- package/dist/src/runtime/overlays/action-bar.d.ts.map +1 -0
- package/dist/src/runtime/overlays/action-bar.js +43 -0
- package/dist/src/runtime/overlays/action-bar.js.map +1 -0
- package/dist/src/runtime/overlays/command-palette.d.ts +45 -0
- package/dist/src/runtime/overlays/command-palette.d.ts.map +1 -0
- package/dist/src/runtime/overlays/command-palette.js +43 -0
- package/dist/src/runtime/overlays/command-palette.js.map +1 -0
- package/dist/src/runtime/overlays/dialog.d.ts +47 -0
- package/dist/src/runtime/overlays/dialog.d.ts.map +1 -0
- package/dist/src/runtime/overlays/dialog.js +44 -0
- package/dist/src/runtime/overlays/dialog.js.map +1 -0
- package/dist/src/runtime/overlays/drawer.d.ts +46 -0
- package/dist/src/runtime/overlays/drawer.d.ts.map +1 -0
- package/dist/src/runtime/overlays/drawer.js +43 -0
- package/dist/src/runtime/overlays/drawer.js.map +1 -0
- package/dist/src/runtime/overlays/hover-card.d.ts +43 -0
- package/dist/src/runtime/overlays/hover-card.d.ts.map +1 -0
- package/dist/src/runtime/overlays/hover-card.js +41 -0
- package/dist/src/runtime/overlays/hover-card.js.map +1 -0
- package/dist/src/runtime/overlays/index.d.ts +15 -0
- package/dist/src/runtime/overlays/index.d.ts.map +1 -0
- package/dist/src/runtime/overlays/index.js +15 -0
- package/dist/src/runtime/overlays/index.js.map +1 -0
- package/dist/src/runtime/overlays/menu.d.ts +49 -0
- package/dist/src/runtime/overlays/menu.d.ts.map +1 -0
- package/dist/src/runtime/overlays/menu.js +46 -0
- package/dist/src/runtime/overlays/menu.js.map +1 -0
- package/dist/src/runtime/overlays/popover.d.ts +37 -0
- package/dist/src/runtime/overlays/popover.d.ts.map +1 -0
- package/dist/src/runtime/overlays/popover.js +35 -0
- package/dist/src/runtime/overlays/popover.js.map +1 -0
- package/dist/src/runtime/overlays/toggle-tip.d.ts +44 -0
- package/dist/src/runtime/overlays/toggle-tip.d.ts.map +1 -0
- package/dist/src/runtime/overlays/toggle-tip.js +42 -0
- package/dist/src/runtime/overlays/toggle-tip.js.map +1 -0
- package/dist/src/runtime/overlays/tooltip.d.ts +37 -0
- package/dist/src/runtime/overlays/tooltip.d.ts.map +1 -0
- package/dist/src/runtime/overlays/tooltip.js +35 -0
- package/dist/src/runtime/overlays/tooltip.js.map +1 -0
- package/dist/src/runtime/platform-hotkey.d.ts +41 -0
- package/dist/src/runtime/platform-hotkey.d.ts.map +1 -0
- package/dist/src/runtime/platform-hotkey.js +39 -0
- package/dist/src/runtime/platform-hotkey.js.map +1 -0
- package/dist/src/runtime/reactive/index.d.ts +8 -0
- package/dist/src/runtime/reactive/index.d.ts.map +1 -0
- package/dist/src/runtime/reactive/index.js +7 -0
- package/dist/src/runtime/reactive/index.js.map +1 -0
- package/dist/src/runtime/reactive/reactive.d.ts +59 -0
- package/dist/src/runtime/reactive/reactive.d.ts.map +1 -0
- package/dist/src/runtime/reactive/reactive.js +53 -0
- package/dist/src/runtime/reactive/reactive.js.map +1 -0
- package/dist/src/runtime/runtime.d.ts +92 -0
- package/dist/src/runtime/runtime.d.ts.map +1 -0
- package/dist/src/runtime/runtime.js +47 -0
- package/dist/src/runtime/runtime.js.map +1 -0
- package/dist/src/runtime/slice.d.ts +84 -0
- package/dist/src/runtime/slice.d.ts.map +1 -0
- package/dist/src/runtime/slice.js +379 -0
- package/dist/src/runtime/slice.js.map +1 -0
- package/dist/src/runtime/typography/code-block.d.ts +38 -0
- package/dist/src/runtime/typography/code-block.d.ts.map +1 -0
- package/dist/src/runtime/typography/code-block.js +36 -0
- package/dist/src/runtime/typography/code-block.js.map +1 -0
- package/dist/src/runtime/typography/code.d.ts +36 -0
- package/dist/src/runtime/typography/code.d.ts.map +1 -0
- package/dist/src/runtime/typography/code.js +34 -0
- package/dist/src/runtime/typography/code.js.map +1 -0
- package/dist/src/runtime/typography/heading.d.ts +39 -0
- package/dist/src/runtime/typography/heading.d.ts.map +1 -0
- package/dist/src/runtime/typography/heading.js +37 -0
- package/dist/src/runtime/typography/heading.js.map +1 -0
- package/dist/src/runtime/typography/highlight.d.ts +37 -0
- package/dist/src/runtime/typography/highlight.d.ts.map +1 -0
- package/dist/src/runtime/typography/highlight.js +35 -0
- package/dist/src/runtime/typography/highlight.js.map +1 -0
- package/dist/src/runtime/typography/index.d.ts +16 -0
- package/dist/src/runtime/typography/index.d.ts.map +1 -0
- package/dist/src/runtime/typography/index.js +16 -0
- package/dist/src/runtime/typography/index.js.map +1 -0
- package/dist/src/runtime/typography/link.d.ts +37 -0
- package/dist/src/runtime/typography/link.d.ts.map +1 -0
- package/dist/src/runtime/typography/link.js +35 -0
- package/dist/src/runtime/typography/link.js.map +1 -0
- package/dist/src/runtime/typography/list.d.ts +42 -0
- package/dist/src/runtime/typography/list.d.ts.map +1 -0
- package/dist/src/runtime/typography/list.js +40 -0
- package/dist/src/runtime/typography/list.js.map +1 -0
- package/dist/src/runtime/typography/mark.d.ts +35 -0
- package/dist/src/runtime/typography/mark.d.ts.map +1 -0
- package/dist/src/runtime/typography/mark.js +33 -0
- package/dist/src/runtime/typography/mark.js.map +1 -0
- package/dist/src/runtime/typography/note.d.ts +38 -0
- package/dist/src/runtime/typography/note.d.ts.map +1 -0
- package/dist/src/runtime/typography/note.js +36 -0
- package/dist/src/runtime/typography/note.js.map +1 -0
- package/dist/src/runtime/typography/numeric.d.ts +43 -0
- package/dist/src/runtime/typography/numeric.d.ts.map +1 -0
- package/dist/src/runtime/typography/numeric.js +41 -0
- package/dist/src/runtime/typography/numeric.js.map +1 -0
- package/dist/src/runtime/typography/text.d.ts +94 -0
- package/dist/src/runtime/typography/text.d.ts.map +1 -0
- package/dist/src/runtime/typography/text.js +208 -0
- package/dist/src/runtime/typography/text.js.map +1 -0
- package/dist/src/slice/breakdown/index.d.ts +11 -4
- package/dist/src/slice/breakdown/index.d.ts.map +1 -1
- package/dist/src/slice/breakdown/index.js +4 -4
- package/dist/src/slice/breakdown/index.js.map +1 -1
- package/dist/src/slice/breakdown/types.d.ts +6 -1
- package/dist/src/slice/breakdown/types.d.ts.map +1 -1
- package/dist/src/slice/cohort/index.d.ts +12 -5
- package/dist/src/slice/cohort/index.d.ts.map +1 -1
- package/dist/src/slice/cohort/index.js +9 -9
- package/dist/src/slice/cohort/index.js.map +1 -1
- package/dist/src/slice/cohort/types.d.ts +6 -1
- package/dist/src/slice/cohort/types.d.ts.map +1 -1
- package/dist/src/slice/filter/index.d.ts +11 -5
- package/dist/src/slice/filter/index.d.ts.map +1 -1
- package/dist/src/slice/filter/index.js +6 -7
- package/dist/src/slice/filter/index.js.map +1 -1
- package/dist/src/slice/filter/types.d.ts +6 -1
- package/dist/src/slice/filter/types.d.ts.map +1 -1
- package/dist/src/slice/index.d.ts +687 -267
- package/dist/src/slice/index.d.ts.map +1 -1
- package/dist/src/slice/index.js +3 -6
- package/dist/src/slice/index.js.map +1 -1
- package/dist/src/slice/legend/index.d.ts +18 -4
- 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/legend/types.d.ts +6 -1
- package/dist/src/slice/legend/types.d.ts.map +1 -1
- package/dist/src/slice/rail/index.d.ts +49 -0
- package/dist/src/slice/rail/index.d.ts.map +1 -0
- package/dist/src/slice/rail/index.js +39 -0
- package/dist/src/slice/rail/index.js.map +1 -0
- package/dist/src/slice/range/index.d.ts +10 -3
- package/dist/src/slice/range/index.d.ts.map +1 -1
- package/dist/src/slice/range/index.js +4 -4
- package/dist/src/slice/range/index.js.map +1 -1
- package/dist/src/slice/range/types.d.ts +6 -1
- package/dist/src/slice/range/types.d.ts.map +1 -1
- package/dist/src/slice/search/index.d.ts +11 -4
- package/dist/src/slice/search/index.d.ts.map +1 -1
- package/dist/src/slice/search/index.js +6 -6
- package/dist/src/slice/search/index.js.map +1 -1
- package/dist/src/slice/search/types.d.ts +6 -1
- package/dist/src/slice/search/types.d.ts.map +1 -1
- package/dist/src/slice/summary/index.d.ts +18 -4
- package/dist/src/slice/summary/index.d.ts.map +1 -1
- package/dist/src/slice/summary/index.js +4 -4
- package/dist/src/slice/summary/index.js.map +1 -1
- package/dist/src/slice/summary/types.d.ts +6 -1
- package/dist/src/slice/summary/types.d.ts.map +1 -1
- package/dist/src/typography/highlight/index.d.ts +13 -13
- package/dist/src/typography/highlight/index.d.ts.map +1 -1
- package/dist/src/typography/highlight/index.js +17 -20
- package/dist/src/typography/highlight/index.js.map +1 -1
- package/dist/src/typography/highlight/types.d.ts +5 -2
- package/dist/src/typography/highlight/types.d.ts.map +1 -1
- package/dist/src/typography/link/index.d.ts +9 -8
- package/dist/src/typography/link/index.d.ts.map +1 -1
- package/dist/src/typography/link/index.js +14 -12
- package/dist/src/typography/link/index.js.map +1 -1
- package/dist/src/typography/link/types.d.ts +4 -2
- package/dist/src/typography/link/types.d.ts.map +1 -1
- package/dist/src/typography/numeric/index.d.ts +1 -1
- package/dist/src/typography/numeric/index.d.ts.map +1 -1
- package/dist/src/typography/numeric/index.js +1 -1
- package/dist/src/typography/numeric/index.js.map +1 -1
- package/dist/src/typography/numeric/types.d.ts +1 -1
- package/dist/src/typography/numeric/types.js +1 -1
- package/dist/test/buttons/button-group.examples.d.ts.map +1 -1
- package/dist/test/buttons/button-group.examples.js +9 -20
- package/dist/test/buttons/button-group.examples.js.map +1 -1
- package/dist/test/buttons/button.examples.d.ts.map +1 -1
- package/dist/test/buttons/button.examples.js +16 -53
- package/dist/test/buttons/button.examples.js.map +1 -1
- package/dist/test/buttons/close-button.examples.d.ts.map +1 -1
- package/dist/test/buttons/close-button.examples.js +10 -24
- package/dist/test/buttons/close-button.examples.js.map +1 -1
- package/dist/test/buttons/copy-button.examples.d.ts.map +1 -1
- package/dist/test/buttons/copy-button.examples.js +7 -18
- package/dist/test/buttons/copy-button.examples.js.map +1 -1
- package/dist/test/buttons/icon-button.examples.d.ts.map +1 -1
- package/dist/test/buttons/icon-button.examples.js +10 -27
- package/dist/test/buttons/icon-button.examples.js.map +1 -1
- package/dist/test/buttons/index.d.ts +12 -0
- package/dist/test/buttons/index.d.ts.map +1 -0
- package/dist/test/buttons/index.js +12 -0
- package/dist/test/buttons/index.js.map +1 -0
- package/dist/test/buttons/toggle.examples.d.ts.map +1 -1
- package/dist/test/buttons/toggle.examples.js +9 -21
- package/dist/test/buttons/toggle.examples.js.map +1 -1
- package/dist/test/charts/chart.examples.d.ts +23 -0
- package/dist/test/charts/chart.examples.d.ts.map +1 -0
- package/dist/test/charts/chart.examples.js +325 -0
- package/dist/test/charts/chart.examples.js.map +1 -0
- package/dist/test/charts/index.d.ts +2 -7
- package/dist/test/charts/index.d.ts.map +1 -1
- package/dist/test/charts/index.js +2 -7
- package/dist/test/charts/index.js.map +1 -1
- package/dist/test/charts/sparkline.examples.d.ts +0 -4
- package/dist/test/charts/sparkline.examples.d.ts.map +1 -1
- package/dist/test/charts/sparkline.examples.js +15 -104
- package/dist/test/charts/sparkline.examples.js.map +1 -1
- package/dist/test/collections/blend.examples.d.ts +5 -0
- package/dist/test/collections/blend.examples.d.ts.map +1 -0
- package/dist/test/collections/blend.examples.js +105 -0
- package/dist/test/collections/blend.examples.js.map +1 -0
- package/dist/test/collections/calendar.examples.d.ts +4 -0
- package/dist/test/collections/calendar.examples.d.ts.map +1 -0
- package/dist/test/collections/calendar.examples.js +84 -0
- package/dist/test/collections/calendar.examples.js.map +1 -0
- package/dist/test/collections/data-list.examples.d.ts.map +1 -1
- package/dist/test/collections/data-list.examples.js +50 -55
- package/dist/test/collections/data-list.examples.js.map +1 -1
- package/dist/test/collections/gantt.examples.d.ts +4 -13
- package/dist/test/collections/gantt.examples.d.ts.map +1 -1
- package/dist/test/collections/gantt.examples.js +203 -465
- package/dist/test/collections/gantt.examples.js.map +1 -1
- package/dist/test/collections/index.d.ts +3 -0
- package/dist/test/collections/index.d.ts.map +1 -1
- package/dist/test/collections/index.js +3 -0
- package/dist/test/collections/index.js.map +1 -1
- package/dist/test/collections/library.examples.d.ts +4 -0
- package/dist/test/collections/library.examples.d.ts.map +1 -0
- package/dist/test/collections/library.examples.js +79 -0
- package/dist/test/collections/library.examples.js.map +1 -0
- package/dist/test/collections/matrix.examples.d.ts +43 -12
- package/dist/test/collections/matrix.examples.d.ts.map +1 -1
- package/dist/test/collections/matrix.examples.js +172 -592
- package/dist/test/collections/matrix.examples.js.map +1 -1
- package/dist/test/collections/pagination.examples.d.ts +0 -4
- package/dist/test/collections/pagination.examples.d.ts.map +1 -1
- package/dist/test/collections/pagination.examples.js +24 -33
- package/dist/test/collections/pagination.examples.js.map +1 -1
- package/dist/test/collections/planner.examples.d.ts +43 -27
- package/dist/test/collections/planner.examples.d.ts.map +1 -1
- package/dist/test/collections/planner.examples.js +149 -596
- package/dist/test/collections/planner.examples.js.map +1 -1
- package/dist/test/collections/roster.examples.d.ts +5 -0
- package/dist/test/collections/roster.examples.d.ts.map +1 -0
- package/dist/test/collections/roster.examples.js +115 -0
- package/dist/test/collections/roster.examples.js.map +1 -0
- package/dist/test/collections/schematic.examples.d.ts +5 -0
- package/dist/test/collections/schematic.examples.d.ts.map +1 -0
- package/dist/test/collections/schematic.examples.js +144 -0
- package/dist/test/collections/schematic.examples.js.map +1 -0
- package/dist/test/collections/table.examples.d.ts +0 -11
- package/dist/test/collections/table.examples.d.ts.map +1 -1
- package/dist/test/collections/table.examples.js +170 -495
- package/dist/test/collections/table.examples.js.map +1 -1
- package/dist/test/collections/tree-view.examples.d.ts.map +1 -1
- package/dist/test/collections/tree-view.examples.js +125 -156
- package/dist/test/collections/tree-view.examples.js.map +1 -1
- package/dist/test/container/card.examples.d.ts.map +1 -1
- package/dist/test/container/card.examples.js +26 -111
- package/dist/test/container/card.examples.js.map +1 -1
- package/dist/test/container/index.d.ts +7 -0
- package/dist/test/container/index.d.ts.map +1 -0
- package/dist/test/container/index.js +7 -0
- package/dist/test/container/index.js.map +1 -0
- package/dist/test/disclosure/accordion.examples.d.ts.map +1 -1
- package/dist/test/disclosure/accordion.examples.js +41 -106
- package/dist/test/disclosure/accordion.examples.js.map +1 -1
- package/dist/test/disclosure/carousel.examples.d.ts.map +1 -1
- package/dist/test/disclosure/carousel.examples.js +14 -104
- package/dist/test/disclosure/carousel.examples.js.map +1 -1
- package/dist/test/disclosure/collapsible.examples.d.ts.map +1 -1
- package/dist/test/disclosure/collapsible.examples.js +10 -22
- package/dist/test/disclosure/collapsible.examples.js.map +1 -1
- package/dist/test/disclosure/index.d.ts +5 -0
- package/dist/test/disclosure/index.d.ts.map +1 -1
- package/dist/test/disclosure/index.js +5 -0
- package/dist/test/disclosure/index.js.map +1 -1
- package/dist/test/disclosure/option-list.examples.d.ts.map +1 -1
- package/dist/test/disclosure/option-list.examples.js +21 -44
- package/dist/test/disclosure/option-list.examples.js.map +1 -1
- package/dist/test/disclosure/segment-group.examples.d.ts.map +1 -1
- package/dist/test/disclosure/segment-group.examples.js +29 -43
- package/dist/test/disclosure/segment-group.examples.js.map +1 -1
- package/dist/test/disclosure/show-more.examples.d.ts.map +1 -1
- package/dist/test/disclosure/show-more.examples.js +8 -8
- package/dist/test/disclosure/show-more.examples.js.map +1 -1
- package/dist/test/disclosure/tabs.examples.d.ts.map +1 -1
- package/dist/test/disclosure/tabs.examples.js +56 -146
- package/dist/test/disclosure/tabs.examples.js.map +1 -1
- package/dist/test/display/avatar-group.examples.d.ts +1 -4
- package/dist/test/display/avatar-group.examples.d.ts.map +1 -1
- package/dist/test/display/avatar-group.examples.js +18 -17
- package/dist/test/display/avatar-group.examples.js.map +1 -1
- package/dist/test/display/avatar.examples.d.ts +1 -0
- package/dist/test/display/avatar.examples.d.ts.map +1 -1
- package/dist/test/display/avatar.examples.js +21 -28
- package/dist/test/display/avatar.examples.js.map +1 -1
- package/dist/test/display/badge.examples.d.ts +1 -0
- package/dist/test/display/badge.examples.d.ts.map +1 -1
- package/dist/test/display/badge.examples.js +26 -64
- package/dist/test/display/badge.examples.js.map +1 -1
- package/dist/test/display/bar-strip.examples.d.ts +1 -4
- package/dist/test/display/bar-strip.examples.d.ts.map +1 -1
- package/dist/test/display/bar-strip.examples.js +41 -18
- package/dist/test/display/bar-strip.examples.js.map +1 -1
- package/dist/test/display/chip-rail.examples.d.ts +7 -0
- package/dist/test/display/chip-rail.examples.d.ts.map +1 -0
- package/dist/test/display/chip-rail.examples.js +59 -0
- package/dist/test/display/chip-rail.examples.js.map +1 -0
- package/dist/test/display/combine.examples.d.ts +2 -0
- package/dist/test/display/combine.examples.d.ts.map +1 -0
- package/dist/test/display/combine.examples.js +174 -0
- package/dist/test/display/combine.examples.js.map +1 -0
- package/dist/test/display/editable-chip.examples.d.ts +1 -4
- package/dist/test/display/editable-chip.examples.d.ts.map +1 -1
- package/dist/test/display/editable-chip.examples.js +22 -18
- package/dist/test/display/editable-chip.examples.js.map +1 -1
- package/dist/test/display/icon.examples.d.ts.map +1 -1
- package/dist/test/display/icon.examples.js +10 -25
- package/dist/test/display/icon.examples.js.map +1 -1
- package/dist/test/display/index.d.ts +11 -0
- package/dist/test/display/index.d.ts.map +1 -1
- package/dist/test/display/index.js +11 -0
- package/dist/test/display/index.js.map +1 -1
- package/dist/test/display/kbd.examples.d.ts +1 -4
- package/dist/test/display/kbd.examples.d.ts.map +1 -1
- package/dist/test/display/kbd.examples.js +18 -8
- package/dist/test/display/kbd.examples.js.map +1 -1
- package/dist/test/display/meter.examples.d.ts +1 -4
- package/dist/test/display/meter.examples.d.ts.map +1 -1
- package/dist/test/display/meter.examples.js +19 -9
- package/dist/test/display/meter.examples.js.map +1 -1
- package/dist/test/display/metric-chip.examples.d.ts +1 -4
- package/dist/test/display/metric-chip.examples.d.ts.map +1 -1
- package/dist/test/display/metric-chip.examples.js +19 -9
- package/dist/test/display/metric-chip.examples.js.map +1 -1
- package/dist/test/display/segmented-meter.examples.d.ts +1 -4
- package/dist/test/display/segmented-meter.examples.d.ts.map +1 -1
- package/dist/test/display/segmented-meter.examples.js +40 -14
- package/dist/test/display/segmented-meter.examples.js.map +1 -1
- package/dist/test/display/stat.examples.d.ts +1 -0
- package/dist/test/display/stat.examples.d.ts.map +1 -1
- package/dist/test/display/stat.examples.js +22 -28
- package/dist/test/display/stat.examples.js.map +1 -1
- package/dist/test/display/tag.examples.d.ts +1 -0
- package/dist/test/display/tag.examples.d.ts.map +1 -1
- package/dist/test/display/tag.examples.js +25 -71
- package/dist/test/display/tag.examples.js.map +1 -1
- package/dist/test/display/trace.examples.d.ts +5 -0
- package/dist/test/display/trace.examples.d.ts.map +1 -0
- package/dist/test/display/trace.examples.js +62 -0
- package/dist/test/display/trace.examples.js.map +1 -0
- package/dist/test/extension.examples.d.ts +1 -27
- package/dist/test/extension.examples.d.ts.map +1 -1
- package/dist/test/extension.examples.js +34 -42
- package/dist/test/extension.examples.js.map +1 -1
- package/dist/test/feedback/banner.examples.d.ts.map +1 -1
- package/dist/test/feedback/banner.examples.js +13 -37
- package/dist/test/feedback/banner.examples.js.map +1 -1
- package/dist/test/feedback/empty-state.examples.d.ts.map +1 -1
- package/dist/test/feedback/empty-state.examples.js +7 -19
- package/dist/test/feedback/empty-state.examples.js.map +1 -1
- package/dist/test/feedback/index.d.ts +5 -0
- package/dist/test/feedback/index.d.ts.map +1 -1
- package/dist/test/feedback/index.js +5 -0
- package/dist/test/feedback/index.js.map +1 -1
- package/dist/test/feedback/progress.examples.d.ts +0 -1
- package/dist/test/feedback/progress.examples.d.ts.map +1 -1
- package/dist/test/feedback/progress.examples.js +13 -55
- package/dist/test/feedback/progress.examples.js.map +1 -1
- package/dist/test/feedback/skeleton.examples.d.ts.map +1 -1
- package/dist/test/feedback/skeleton.examples.js +7 -11
- package/dist/test/feedback/skeleton.examples.js.map +1 -1
- package/dist/test/feedback/status.examples.d.ts.map +1 -1
- package/dist/test/feedback/status.examples.js +8 -17
- package/dist/test/feedback/status.examples.js.map +1 -1
- package/dist/test/forms/checkbox.examples.d.ts.map +1 -1
- package/dist/test/forms/checkbox.examples.js +9 -23
- package/dist/test/forms/checkbox.examples.js.map +1 -1
- package/dist/test/forms/combobox.examples.d.ts.map +1 -1
- package/dist/test/forms/combobox.examples.js +69 -112
- package/dist/test/forms/combobox.examples.js.map +1 -1
- package/dist/test/forms/date-range-input.examples.d.ts.map +1 -1
- package/dist/test/forms/date-range-input.examples.js +16 -34
- package/dist/test/forms/date-range-input.examples.js.map +1 -1
- package/dist/test/forms/field.examples.d.ts.map +1 -1
- package/dist/test/forms/field.examples.js +8 -28
- package/dist/test/forms/field.examples.js.map +1 -1
- package/dist/test/forms/file-upload.examples.d.ts +1 -0
- package/dist/test/forms/file-upload.examples.d.ts.map +1 -1
- package/dist/test/forms/file-upload.examples.js +23 -49
- package/dist/test/forms/file-upload.examples.js.map +1 -1
- package/dist/test/forms/index.d.ts +5 -0
- package/dist/test/forms/index.d.ts.map +1 -1
- package/dist/test/forms/index.js +5 -0
- package/dist/test/forms/index.js.map +1 -1
- package/dist/test/forms/input.examples.d.ts +1 -0
- package/dist/test/forms/input.examples.d.ts.map +1 -1
- package/dist/test/forms/input.examples.js +30 -74
- package/dist/test/forms/input.examples.js.map +1 -1
- package/dist/test/forms/radio-card-group.examples.d.ts.map +1 -1
- package/dist/test/forms/radio-card-group.examples.js +30 -36
- package/dist/test/forms/radio-card-group.examples.js.map +1 -1
- package/dist/test/forms/radio-group.examples.d.ts.map +1 -1
- package/dist/test/forms/radio-group.examples.js +31 -37
- package/dist/test/forms/radio-group.examples.js.map +1 -1
- package/dist/test/forms/select.examples.d.ts.map +1 -1
- package/dist/test/forms/select.examples.js +32 -44
- package/dist/test/forms/select.examples.js.map +1 -1
- package/dist/test/forms/slider.examples.d.ts.map +1 -1
- package/dist/test/forms/slider.examples.js +11 -22
- package/dist/test/forms/slider.examples.js.map +1 -1
- package/dist/test/forms/switch.examples.d.ts.map +1 -1
- package/dist/test/forms/switch.examples.js +9 -23
- package/dist/test/forms/switch.examples.js.map +1 -1
- package/dist/test/forms/tags-input.examples.d.ts.map +1 -1
- package/dist/test/forms/tags-input.examples.js +14 -42
- package/dist/test/forms/tags-input.examples.js.map +1 -1
- package/dist/test/forms/textarea.examples.d.ts.map +1 -1
- package/dist/test/forms/textarea.examples.js +14 -46
- package/dist/test/forms/textarea.examples.js.map +1 -1
- package/dist/test/forms/time-range-input.examples.d.ts.map +1 -1
- package/dist/test/forms/time-range-input.examples.js +20 -38
- package/dist/test/forms/time-range-input.examples.js.map +1 -1
- package/dist/test/layout/box.examples.d.ts.map +1 -1
- package/dist/test/layout/box.examples.js +20 -180
- package/dist/test/layout/box.examples.js.map +1 -1
- package/dist/test/layout/flex.examples.d.ts.map +1 -1
- package/dist/test/layout/flex.examples.js +15 -133
- package/dist/test/layout/flex.examples.js.map +1 -1
- package/dist/test/layout/grid.examples.d.ts.map +1 -1
- package/dist/test/layout/grid.examples.js +66 -105
- package/dist/test/layout/grid.examples.js.map +1 -1
- package/dist/test/layout/index.d.ts +3 -0
- package/dist/test/layout/index.d.ts.map +1 -1
- package/dist/test/layout/index.js +3 -0
- package/dist/test/layout/index.js.map +1 -1
- package/dist/test/layout/scroll-area.examples.d.ts.map +1 -1
- package/dist/test/layout/scroll-area.examples.js +6 -14
- package/dist/test/layout/scroll-area.examples.js.map +1 -1
- package/dist/test/layout/separator.examples.d.ts.map +1 -1
- package/dist/test/layout/separator.examples.js +17 -74
- package/dist/test/layout/separator.examples.js.map +1 -1
- package/dist/test/layout/splitter.examples.d.ts.map +1 -1
- package/dist/test/layout/splitter.examples.js +41 -70
- package/dist/test/layout/splitter.examples.js.map +1 -1
- package/dist/test/layout/stack.examples.d.ts +1 -0
- package/dist/test/layout/stack.examples.d.ts.map +1 -1
- package/dist/test/layout/stack.examples.js +24 -93
- package/dist/test/layout/stack.examples.js.map +1 -1
- package/dist/test/layout/sticky.examples.d.ts.map +1 -1
- package/dist/test/layout/sticky.examples.js +6 -33
- package/dist/test/layout/sticky.examples.js.map +1 -1
- package/dist/test/navigation/breadcrumb.examples.d.ts.map +1 -1
- package/dist/test/navigation/breadcrumb.examples.js +30 -26
- package/dist/test/navigation/breadcrumb.examples.js.map +1 -1
- package/dist/test/navigation/index.d.ts +8 -0
- package/dist/test/navigation/index.d.ts.map +1 -0
- package/dist/test/navigation/index.js +8 -0
- package/dist/test/navigation/index.js.map +1 -0
- package/dist/test/navigation/nav-list.examples.d.ts.map +1 -1
- package/dist/test/navigation/nav-list.examples.js +58 -60
- package/dist/test/navigation/nav-list.examples.js.map +1 -1
- package/dist/test/overlays/command-palette.examples.d.ts.map +1 -1
- package/dist/test/overlays/command-palette.examples.js +45 -47
- package/dist/test/overlays/command-palette.examples.js.map +1 -1
- package/dist/test/overlays/dialog.examples.d.ts.map +1 -1
- package/dist/test/overlays/dialog.examples.js +13 -41
- package/dist/test/overlays/dialog.examples.js.map +1 -1
- package/dist/test/overlays/drawer.examples.d.ts.map +1 -1
- package/dist/test/overlays/drawer.examples.js +15 -39
- package/dist/test/overlays/drawer.examples.js.map +1 -1
- package/dist/test/overlays/hover-card.examples.d.ts.map +1 -1
- package/dist/test/overlays/hover-card.examples.js +13 -32
- package/dist/test/overlays/hover-card.examples.js.map +1 -1
- package/dist/test/overlays/index.d.ts +2 -0
- package/dist/test/overlays/index.d.ts.map +1 -1
- package/dist/test/overlays/index.js +2 -0
- package/dist/test/overlays/index.js.map +1 -1
- package/dist/test/overlays/menu.examples.d.ts.map +1 -1
- package/dist/test/overlays/menu.examples.js +26 -21
- package/dist/test/overlays/menu.examples.js.map +1 -1
- package/dist/test/overlays/popover.examples.d.ts.map +1 -1
- package/dist/test/overlays/popover.examples.js +17 -33
- package/dist/test/overlays/popover.examples.js.map +1 -1
- package/dist/test/overlays/toggle-tip.examples.d.ts.map +1 -1
- package/dist/test/overlays/toggle-tip.examples.js +9 -20
- package/dist/test/overlays/toggle-tip.examples.js.map +1 -1
- package/dist/test/overlays/tooltip.examples.d.ts.map +1 -1
- package/dist/test/overlays/tooltip.examples.js +8 -5
- package/dist/test/overlays/tooltip.examples.js.map +1 -1
- package/dist/test/platform/clipboard.examples.d.ts.map +1 -1
- package/dist/test/platform/clipboard.examples.js +10 -14
- package/dist/test/platform/clipboard.examples.js.map +1 -1
- package/dist/test/platform/download.examples.d.ts.map +1 -1
- package/dist/test/platform/download.examples.js +10 -11
- package/dist/test/platform/download.examples.js.map +1 -1
- package/dist/test/platform/index.d.ts +11 -0
- package/dist/test/platform/index.d.ts.map +1 -0
- package/dist/test/platform/index.js +11 -0
- package/dist/test/platform/index.js.map +1 -0
- package/dist/test/platform/share.examples.d.ts.map +1 -1
- package/dist/test/platform/share.examples.js +7 -6
- package/dist/test/platform/share.examples.js.map +1 -1
- package/dist/test/platform/slice.examples.d.ts.map +1 -1
- package/dist/test/platform/slice.examples.js +211 -214
- package/dist/test/platform/slice.examples.js.map +1 -1
- package/dist/test/platform/state.examples.d.ts.map +1 -1
- package/dist/test/platform/state.examples.js +7 -9
- package/dist/test/platform/state.examples.js.map +1 -1
- package/dist/test/slice/slice.examples.d.ts +10 -17
- package/dist/test/slice/slice.examples.d.ts.map +1 -1
- package/dist/test/slice/slice.examples.js +184 -483
- package/dist/test/slice/slice.examples.js.map +1 -1
- package/dist/test/style.examples.d.ts.map +1 -1
- package/dist/test/style.examples.js +28 -74
- package/dist/test/style.examples.js.map +1 -1
- package/dist/test/typography/code-block.examples.d.ts.map +1 -1
- package/dist/test/typography/code-block.examples.js +16 -43
- package/dist/test/typography/code-block.examples.js.map +1 -1
- package/dist/test/typography/code.examples.d.ts.map +1 -1
- package/dist/test/typography/code.examples.js +14 -30
- package/dist/test/typography/code.examples.js.map +1 -1
- package/dist/test/typography/heading.examples.d.ts.map +1 -1
- package/dist/test/typography/heading.examples.js +15 -52
- package/dist/test/typography/heading.examples.js.map +1 -1
- package/dist/test/typography/highlight.examples.d.ts.map +1 -1
- package/dist/test/typography/highlight.examples.js +14 -16
- package/dist/test/typography/highlight.examples.js.map +1 -1
- package/dist/test/typography/index.d.ts +7 -4
- package/dist/test/typography/index.d.ts.map +1 -1
- package/dist/test/typography/index.js +7 -4
- package/dist/test/typography/index.js.map +1 -1
- package/dist/test/typography/link.examples.d.ts.map +1 -1
- package/dist/test/typography/link.examples.js +14 -30
- package/dist/test/typography/link.examples.js.map +1 -1
- package/dist/test/typography/list.examples.d.ts.map +1 -1
- package/dist/test/typography/list.examples.js +35 -79
- package/dist/test/typography/list.examples.js.map +1 -1
- package/dist/test/typography/mark.examples.d.ts.map +1 -1
- package/dist/test/typography/mark.examples.js +15 -33
- package/dist/test/typography/mark.examples.js.map +1 -1
- package/dist/test/typography/note.examples.d.ts.map +1 -1
- package/dist/test/typography/note.examples.js +8 -10
- package/dist/test/typography/note.examples.js.map +1 -1
- package/dist/test/typography/numeric.examples.d.ts.map +1 -1
- package/dist/test/typography/numeric.examples.js +10 -39
- package/dist/test/typography/numeric.examples.js.map +1 -1
- package/dist/test/typography/text.examples.d.ts.map +1 -1
- package/dist/test/typography/text.examples.js +25 -138
- package/dist/test/typography/text.examples.js.map +1 -1
- package/package.json +23 -15
- package/dist/src/charts/area/index.d.ts +0 -186
- package/dist/src/charts/area/index.d.ts.map +0 -1
- package/dist/src/charts/area/index.js +0 -419
- package/dist/src/charts/area/index.js.map +0 -1
- package/dist/src/charts/area/types.d.ts +0 -1816
- package/dist/src/charts/area/types.d.ts.map +0 -1
- package/dist/src/charts/area/types.js +0 -130
- package/dist/src/charts/area/types.js.map +0 -1
- package/dist/src/charts/bar/index.d.ts +0 -97
- package/dist/src/charts/bar/index.d.ts.map +0 -1
- package/dist/src/charts/bar/index.js +0 -228
- package/dist/src/charts/bar/index.js.map +0 -1
- package/dist/src/charts/bar/types.d.ts +0 -920
- package/dist/src/charts/bar/types.d.ts.map +0 -1
- package/dist/src/charts/bar/types.js +0 -62
- package/dist/src/charts/bar/types.js.map +0 -1
- package/dist/src/charts/composed/index.d.ts +0 -99
- package/dist/src/charts/composed/index.d.ts.map +0 -1
- package/dist/src/charts/composed/index.js +0 -317
- package/dist/src/charts/composed/index.js.map +0 -1
- package/dist/src/charts/composed/types.d.ts +0 -1246
- package/dist/src/charts/composed/types.d.ts.map +0 -1
- package/dist/src/charts/composed/types.js +0 -88
- package/dist/src/charts/composed/types.js.map +0 -1
- package/dist/src/charts/line/index.d.ts +0 -97
- package/dist/src/charts/line/index.d.ts.map +0 -1
- package/dist/src/charts/line/index.js +0 -221
- package/dist/src/charts/line/index.js.map +0 -1
- package/dist/src/charts/line/types.d.ts +0 -964
- package/dist/src/charts/line/types.d.ts.map +0 -1
- package/dist/src/charts/line/types.js +0 -95
- package/dist/src/charts/line/types.js.map +0 -1
- package/dist/src/charts/pie/index.d.ts +0 -36
- package/dist/src/charts/pie/index.d.ts.map +0 -1
- package/dist/src/charts/pie/index.js +0 -58
- package/dist/src/charts/pie/index.js.map +0 -1
- package/dist/src/charts/pie/types.d.ts +0 -129
- package/dist/src/charts/pie/types.d.ts.map +0 -1
- package/dist/src/charts/pie/types.js +0 -58
- package/dist/src/charts/pie/types.js.map +0 -1
- package/dist/src/charts/radar/index.d.ts +0 -44
- package/dist/src/charts/radar/index.d.ts.map +0 -1
- package/dist/src/charts/radar/index.js +0 -85
- package/dist/src/charts/radar/index.js.map +0 -1
- package/dist/src/charts/radar/types.d.ts +0 -144
- package/dist/src/charts/radar/types.d.ts.map +0 -1
- package/dist/src/charts/radar/types.js +0 -36
- package/dist/src/charts/radar/types.js.map +0 -1
- package/dist/src/charts/scatter/index.d.ts +0 -95
- package/dist/src/charts/scatter/index.d.ts.map +0 -1
- package/dist/src/charts/scatter/index.js +0 -167
- package/dist/src/charts/scatter/index.js.map +0 -1
- package/dist/src/charts/scatter/types.d.ts +0 -868
- package/dist/src/charts/scatter/types.d.ts.map +0 -1
- package/dist/src/charts/scatter/types.js +0 -55
- package/dist/src/charts/scatter/types.js.map +0 -1
- package/dist/src/charts/types.d.ts +0 -2476
- package/dist/src/charts/types.d.ts.map +0 -1
- package/dist/src/charts/types.js +0 -1732
- package/dist/src/charts/types.js.map +0 -1
- package/dist/src/forms/time-scale-control/index.d.ts +0 -54
- package/dist/src/forms/time-scale-control/index.d.ts.map +0 -1
- package/dist/src/forms/time-scale-control/index.js +0 -135
- package/dist/src/forms/time-scale-control/index.js.map +0 -1
- package/dist/src/forms/time-scale-control/types.d.ts +0 -206
- package/dist/src/forms/time-scale-control/types.d.ts.map +0 -1
- package/dist/src/forms/time-scale-control/types.js +0 -97
- package/dist/src/forms/time-scale-control/types.js.map +0 -1
- package/dist/src/layout/chip-rail/index.d.ts +0 -31771
- package/dist/src/layout/chip-rail/index.d.ts.map +0 -1
- package/dist/src/layout/chip-rail/index.js.map +0 -1
- package/dist/src/layout/chip-rail/types.d.ts.map +0 -1
- package/dist/src/layout/chip-rail/types.js.map +0 -1
- package/dist/src/slice/chart/index.d.ts +0 -201
- package/dist/src/slice/chart/index.d.ts.map +0 -1
- package/dist/src/slice/chart/index.js +0 -67
- package/dist/src/slice/chart/index.js.map +0 -1
- package/dist/src/slice/frame/index.d.ts +0 -77
- package/dist/src/slice/frame/index.d.ts.map +0 -1
- package/dist/src/slice/frame/index.js +0 -60
- package/dist/src/slice/frame/index.js.map +0 -1
- package/dist/test/charts/area.examples.d.ts +0 -30
- package/dist/test/charts/area.examples.d.ts.map +0 -1
- package/dist/test/charts/area.examples.js +0 -695
- package/dist/test/charts/area.examples.js.map +0 -1
- package/dist/test/charts/bar.examples.d.ts +0 -26
- package/dist/test/charts/bar.examples.d.ts.map +0 -1
- package/dist/test/charts/bar.examples.js +0 -561
- package/dist/test/charts/bar.examples.js.map +0 -1
- package/dist/test/charts/composed.examples.d.ts +0 -25
- package/dist/test/charts/composed.examples.d.ts.map +0 -1
- package/dist/test/charts/composed.examples.js +0 -616
- package/dist/test/charts/composed.examples.js.map +0 -1
- package/dist/test/charts/line.examples.d.ts +0 -29
- package/dist/test/charts/line.examples.d.ts.map +0 -1
- package/dist/test/charts/line.examples.js +0 -657
- package/dist/test/charts/line.examples.js.map +0 -1
- package/dist/test/charts/pie.examples.d.ts +0 -12
- package/dist/test/charts/pie.examples.d.ts.map +0 -1
- package/dist/test/charts/pie.examples.js +0 -137
- package/dist/test/charts/pie.examples.js.map +0 -1
- package/dist/test/charts/radar.examples.d.ts +0 -10
- package/dist/test/charts/radar.examples.d.ts.map +0 -1
- package/dist/test/charts/radar.examples.js +0 -123
- package/dist/test/charts/radar.examples.js.map +0 -1
- package/dist/test/charts/scatter.examples.d.ts +0 -22
- package/dist/test/charts/scatter.examples.d.ts.map +0 -1
- package/dist/test/charts/scatter.examples.js +0 -461
- package/dist/test/charts/scatter.examples.js.map +0 -1
- package/dist/test/forms/time-scale-control.examples.d.ts +0 -6
- package/dist/test/forms/time-scale-control.examples.d.ts.map +0 -1
- package/dist/test/forms/time-scale-control.examples.js +0 -70
- package/dist/test/forms/time-scale-control.examples.js.map +0 -1
- package/dist/test/layout/chip-rail.examples.d.ts +0 -4
- package/dist/test/layout/chip-rail.examples.d.ts.map +0 -1
- package/dist/test/layout/chip-rail.examples.js +0 -48
- package/dist/test/layout/chip-rail.examples.js.map +0 -1
|
@@ -144,6 +144,83 @@ export declare const SliceCompareType: VariantType<{
|
|
|
144
144
|
readonly previousYear: NullType;
|
|
145
145
|
}>;
|
|
146
146
|
export type SliceCompareType = typeof SliceCompareType;
|
|
147
|
+
/**
|
|
148
|
+
* Schema configuration for a slice. Declares every dimension on `T` that
|
|
149
|
+
* the user can filter, search, break by, or restrict via Range.
|
|
150
|
+
*
|
|
151
|
+
* The module-scope value uses the `"T"` placeholder for use inside the
|
|
152
|
+
* `slice_bind` generic-platform declaration. Consumer code never touches
|
|
153
|
+
* this — `Slice.config({...})` materialises a concrete instance per row
|
|
154
|
+
* type internally.
|
|
155
|
+
*
|
|
156
|
+
* @property fields - Dict of declared dimensions keyed by `fieldId`
|
|
157
|
+
* @property rangeFieldId - Optional id of the field `Slice.Range` narrows on.
|
|
158
|
+
* Must reference a datetime / integer / float field.
|
|
159
|
+
* Renderer dispatches the right control based on the
|
|
160
|
+
* field's type.
|
|
161
|
+
* @property searchFieldIds - Fields the typeahead search applies to
|
|
162
|
+
* @property breakdownFieldIds - Fields available as breakdown dimensions
|
|
163
|
+
*/
|
|
164
|
+
/**
|
|
165
|
+
* Materialise the concrete `SliceConfig` East type for a row type — for
|
|
166
|
+
* payloads that carry a slice config across an encoding boundary (e.g. a
|
|
167
|
+
* `DecisionQueue`'s queue-owned slice). The module-scope `SliceConfigType`
|
|
168
|
+
* keeps the `"T"` placeholder for the `slice_bind` declaration.
|
|
169
|
+
*/
|
|
170
|
+
export declare function sliceConfigTypeFor<T extends EastType>(rowType: T): StructType<{
|
|
171
|
+
readonly fields: DictType<StringType, VariantType<{
|
|
172
|
+
readonly string: StructType<{
|
|
173
|
+
readonly label: StringType;
|
|
174
|
+
readonly accessor: FunctionType<[T], StringType>;
|
|
175
|
+
}>;
|
|
176
|
+
readonly integer: StructType<{
|
|
177
|
+
readonly label: StringType;
|
|
178
|
+
readonly accessor: FunctionType<[T], IntegerType>;
|
|
179
|
+
}>;
|
|
180
|
+
readonly float: StructType<{
|
|
181
|
+
readonly label: StringType;
|
|
182
|
+
readonly accessor: FunctionType<[T], FloatType>;
|
|
183
|
+
}>;
|
|
184
|
+
readonly datetime: StructType<{
|
|
185
|
+
readonly label: StringType;
|
|
186
|
+
readonly accessor: FunctionType<[T], DateTimeType>;
|
|
187
|
+
}>;
|
|
188
|
+
readonly boolean: StructType<{
|
|
189
|
+
readonly label: StringType;
|
|
190
|
+
readonly accessor: FunctionType<[T], BooleanType>;
|
|
191
|
+
}>;
|
|
192
|
+
}>>;
|
|
193
|
+
readonly rangeFieldId: OptionType<StringType>;
|
|
194
|
+
readonly searchFieldIds: ArrayType<StringType>;
|
|
195
|
+
readonly breakdownFieldIds: ArrayType<StringType>;
|
|
196
|
+
}>;
|
|
197
|
+
export declare const SliceConfigType: StructType<{
|
|
198
|
+
readonly fields: DictType<StringType, VariantType<{
|
|
199
|
+
readonly string: StructType<{
|
|
200
|
+
readonly label: StringType;
|
|
201
|
+
readonly accessor: FunctionType<["T"], StringType>;
|
|
202
|
+
}>;
|
|
203
|
+
readonly integer: StructType<{
|
|
204
|
+
readonly label: StringType;
|
|
205
|
+
readonly accessor: FunctionType<["T"], IntegerType>;
|
|
206
|
+
}>;
|
|
207
|
+
readonly float: StructType<{
|
|
208
|
+
readonly label: StringType;
|
|
209
|
+
readonly accessor: FunctionType<["T"], FloatType>;
|
|
210
|
+
}>;
|
|
211
|
+
readonly datetime: StructType<{
|
|
212
|
+
readonly label: StringType;
|
|
213
|
+
readonly accessor: FunctionType<["T"], DateTimeType>;
|
|
214
|
+
}>;
|
|
215
|
+
readonly boolean: StructType<{
|
|
216
|
+
readonly label: StringType;
|
|
217
|
+
readonly accessor: FunctionType<["T"], BooleanType>;
|
|
218
|
+
}>;
|
|
219
|
+
}>>;
|
|
220
|
+
readonly rangeFieldId: OptionType<StringType>;
|
|
221
|
+
readonly searchFieldIds: ArrayType<StringType>;
|
|
222
|
+
readonly breakdownFieldIds: ArrayType<StringType>;
|
|
223
|
+
}>;
|
|
147
224
|
/**
|
|
148
225
|
* One field declaration in `Slice.config`. Only the label is required —
|
|
149
226
|
* the accessor is auto-derived as `r => r[fieldId]` and the field's kind
|
|
@@ -854,14 +931,27 @@ export declare const SliceBreakdownGroupArrayType: ArrayType<StructType<{
|
|
|
854
931
|
}>>;
|
|
855
932
|
export type SliceBreakdownGroupArrayType = typeof SliceBreakdownGroupArrayType;
|
|
856
933
|
/**
|
|
857
|
-
* One point of a pivoted series —
|
|
934
|
+
* One point of a pivoted series — a typed x position and its aggregated value.
|
|
858
935
|
*
|
|
859
|
-
* @
|
|
936
|
+
* @remarks
|
|
937
|
+
* The x coordinate is the chart's {@link ChartXType} (band category / linear
|
|
938
|
+
* number / time date), so the pivot feeds `Chart.Spec.series` directly and the
|
|
939
|
+
* renderer derives the scale from the coordinate.
|
|
940
|
+
*
|
|
941
|
+
* @property x - The point's typed x coordinate
|
|
860
942
|
* @property value - Aggregated (summed) numeric value at this `x`
|
|
943
|
+
* @property size - Mirrors {@link ChartPointType} so the pivot feeds
|
|
944
|
+
* `Chart.Spec.series` directly; always `none` (slice series
|
|
945
|
+
* carry no per-point bubble magnitude)
|
|
861
946
|
*/
|
|
862
947
|
export declare const SliceSeriesPointType: StructType<{
|
|
863
|
-
readonly x:
|
|
948
|
+
readonly x: VariantType<{
|
|
949
|
+
readonly category: StringType;
|
|
950
|
+
readonly number: FloatType;
|
|
951
|
+
readonly time: DateTimeType;
|
|
952
|
+
}>;
|
|
864
953
|
readonly value: FloatType;
|
|
954
|
+
readonly size: OptionType<FloatType>;
|
|
865
955
|
}>;
|
|
866
956
|
export type SliceSeriesPointType = typeof SliceSeriesPointType;
|
|
867
957
|
/**
|
|
@@ -878,8 +968,13 @@ export declare const SliceSeriesType: StructType<{
|
|
|
878
968
|
readonly key: StringType;
|
|
879
969
|
readonly color: StringType;
|
|
880
970
|
readonly points: ArrayType<StructType<{
|
|
881
|
-
readonly x:
|
|
971
|
+
readonly x: VariantType<{
|
|
972
|
+
readonly category: StringType;
|
|
973
|
+
readonly number: FloatType;
|
|
974
|
+
readonly time: DateTimeType;
|
|
975
|
+
}>;
|
|
882
976
|
readonly value: FloatType;
|
|
977
|
+
readonly size: OptionType<FloatType>;
|
|
883
978
|
}>>;
|
|
884
979
|
}>;
|
|
885
980
|
export type SliceSeriesType = typeof SliceSeriesType;
|
|
@@ -888,16 +983,21 @@ export declare const SliceSeriesArrayType: ArrayType<StructType<{
|
|
|
888
983
|
readonly key: StringType;
|
|
889
984
|
readonly color: StringType;
|
|
890
985
|
readonly points: ArrayType<StructType<{
|
|
891
|
-
readonly x:
|
|
986
|
+
readonly x: VariantType<{
|
|
987
|
+
readonly category: StringType;
|
|
988
|
+
readonly number: FloatType;
|
|
989
|
+
readonly time: DateTimeType;
|
|
990
|
+
}>;
|
|
892
991
|
readonly value: FloatType;
|
|
992
|
+
readonly size: OptionType<FloatType>;
|
|
893
993
|
}>>;
|
|
894
994
|
}>>;
|
|
895
995
|
export type SliceSeriesArrayType = typeof SliceSeriesArrayType;
|
|
896
996
|
/**
|
|
897
997
|
* Render density for a `Slice.*` affordance. `compact` = the one-row eyebrow
|
|
898
|
-
* form used inside a
|
|
998
|
+
* form used inside a chrome rail; `focused` = the standalone configuration
|
|
899
999
|
* surface. Components default to `focused` standalone and `compact` when the
|
|
900
|
-
* surrounding
|
|
1000
|
+
* surrounding rail sets the density.
|
|
901
1001
|
*/
|
|
902
1002
|
export declare const SliceDensityType: VariantType<{
|
|
903
1003
|
readonly compact: NullType;
|
|
@@ -1433,11 +1533,11 @@ export declare const SliceBindType: StructType<{
|
|
|
1433
1533
|
readonly label: StringType;
|
|
1434
1534
|
readonly kind: StringType;
|
|
1435
1535
|
}>>>;
|
|
1436
|
-
/** Field ids the typeahead searches over —
|
|
1536
|
+
/** Field ids the typeahead searches over — the chrome rail shows Search when non-empty. */
|
|
1437
1537
|
readonly searchFieldIds: FunctionType<[], ArrayType<StringType>>;
|
|
1438
|
-
/** Field id `Slice.Range` narrows on —
|
|
1538
|
+
/** Field id `Slice.Range` narrows on — the chrome rail shows Range when `some`. */
|
|
1439
1539
|
readonly rangeFieldId: FunctionType<[], OptionType<StringType>>;
|
|
1440
|
-
/** Total bound rows, before any narrowing — used by the
|
|
1540
|
+
/** Total bound rows, before any narrowing — used by the chrome footer ("N of M"). */
|
|
1441
1541
|
readonly totalCount: FunctionType<[], IntegerType>;
|
|
1442
1542
|
/** Count of bound rows passing every active narrowing — used by Filter / Summary. */
|
|
1443
1543
|
readonly resultCount: FunctionType<[], IntegerType>;
|
|
@@ -1459,8 +1559,13 @@ export declare const SliceBindType: StructType<{
|
|
|
1459
1559
|
readonly key: StringType;
|
|
1460
1560
|
readonly color: StringType;
|
|
1461
1561
|
readonly points: ArrayType<StructType<{
|
|
1462
|
-
readonly x:
|
|
1562
|
+
readonly x: VariantType<{
|
|
1563
|
+
readonly category: StringType;
|
|
1564
|
+
readonly number: FloatType;
|
|
1565
|
+
readonly time: DateTimeType;
|
|
1566
|
+
}>;
|
|
1463
1567
|
readonly value: FloatType;
|
|
1568
|
+
readonly size: OptionType<FloatType>;
|
|
1464
1569
|
}>>;
|
|
1465
1570
|
}>>>;
|
|
1466
1571
|
/** Typeahead suggestions for the current query (via the bind `toMatch`) → `[{ id, label, meta }]`. */
|
|
@@ -1474,102 +1579,1106 @@ export declare const SliceBindType: StructType<{
|
|
|
1474
1579
|
}>;
|
|
1475
1580
|
export type SliceBindType = typeof SliceBindType;
|
|
1476
1581
|
/**
|
|
1477
|
-
*
|
|
1478
|
-
*
|
|
1479
|
-
*
|
|
1480
|
-
* ```ts
|
|
1481
|
-
* import { East, ArrayType, StringType, IntegerType, NullType, variant, some, none } from "@elaraai/east";
|
|
1482
|
-
* import { Reactive, Slice, Text, UIComponentType } from "@elaraai/east-ui";
|
|
1483
|
-
*
|
|
1484
|
-
* // 1. Declare the row type
|
|
1485
|
-
* const UserEventType = StructType({
|
|
1486
|
-
* timestamp: DateTimeType,
|
|
1487
|
-
* country: StringType,
|
|
1488
|
-
* sessions: IntegerType,
|
|
1489
|
-
* });
|
|
1490
|
-
*
|
|
1491
|
-
* const view = East.function([], UIComponentType, (_$) => {
|
|
1492
|
-
* return Reactive.Root(East.function([], UIComponentType, $ => {
|
|
1493
|
-
* // 2. Bind with a config declaring available dimensions
|
|
1494
|
-
* const slice = $.let(Slice.bind("view.events", East.value({
|
|
1495
|
-
* fields: new Map([
|
|
1496
|
-
* ["timestamp", variant("datetime", { label: "Time", accessor: East.function([UserEventType], DateTimeType, ($, r) => r.timestamp) })],
|
|
1497
|
-
* ["country", variant("string", { label: "Country", accessor: East.function([UserEventType], StringType, ($, r) => r.country) })],
|
|
1498
|
-
* ["sessions", variant("integer", { label: "Sessions", accessor: East.function([UserEventType], IntegerType, ($, r) => r.sessions) })],
|
|
1499
|
-
* ]),
|
|
1500
|
-
* timeFieldId: some("timestamp"),
|
|
1501
|
-
* searchFieldIds: ["country"],
|
|
1502
|
-
* breakdownFieldIds: ["country"],
|
|
1503
|
-
* })));
|
|
1504
|
-
*
|
|
1505
|
-
* // 3. Add a TYPED filter — `integerGte` carries an IntegerType, not a parsed string
|
|
1506
|
-
* $(slice.addFilter(East.value({
|
|
1507
|
-
* fieldId: "sessions",
|
|
1508
|
-
* op: variant("integerGte", 10n),
|
|
1509
|
-
* }, Slice.Types.Predicate)));
|
|
1510
|
-
*
|
|
1511
|
-
* // 4. Apply: pure narrowing engine
|
|
1512
|
-
* // const filtered = $.let(Slice.apply.where(slice.read(), config, events));
|
|
1513
|
-
*
|
|
1514
|
-
* const state = $.let(slice.read(), Slice.Types.State);
|
|
1515
|
-
* return Text.Root(East.str`${state.filters.length()} active filters`);
|
|
1516
|
-
* }));
|
|
1517
|
-
* });
|
|
1518
|
-
* ```
|
|
1582
|
+
* The slice-chrome payload every slice-accepting component carries — the
|
|
1583
|
+
* bound handle plus the affordances its rail mounts. Chrome only: the
|
|
1584
|
+
* component's data is always fed explicitly (`Slice.rows([RowType], slice)`).
|
|
1519
1585
|
*/
|
|
1520
|
-
export declare const
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
readonly
|
|
1548
|
-
readonly
|
|
1549
|
-
readonly
|
|
1550
|
-
}
|
|
1551
|
-
readonly
|
|
1552
|
-
readonly
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1586
|
+
export declare const SliceChromeType: StructType<{
|
|
1587
|
+
readonly slice: StructType<{
|
|
1588
|
+
/** The store key this slice is bound to — lets renderers self-subscribe. */
|
|
1589
|
+
readonly key: StringType;
|
|
1590
|
+
/** Read the entire slice state; tracked for reactive re-render. */
|
|
1591
|
+
readonly read: FunctionType<[], StructType<{
|
|
1592
|
+
readonly range: OptionType<VariantType<{
|
|
1593
|
+
readonly datetime: StructType<{
|
|
1594
|
+
readonly from: DateTimeType;
|
|
1595
|
+
readonly to: DateTimeType;
|
|
1596
|
+
}>;
|
|
1597
|
+
readonly datetimePreset: VariantType<{
|
|
1598
|
+
readonly today: NullType;
|
|
1599
|
+
readonly last7d: NullType;
|
|
1600
|
+
readonly last30d: NullType;
|
|
1601
|
+
readonly last90d: NullType;
|
|
1602
|
+
readonly ytd: NullType;
|
|
1603
|
+
}>;
|
|
1604
|
+
readonly integer: StructType<{
|
|
1605
|
+
readonly from: IntegerType;
|
|
1606
|
+
readonly to: IntegerType;
|
|
1607
|
+
}>;
|
|
1608
|
+
readonly float: StructType<{
|
|
1609
|
+
readonly from: FloatType;
|
|
1610
|
+
readonly to: FloatType;
|
|
1611
|
+
}>;
|
|
1612
|
+
}>>;
|
|
1613
|
+
readonly compare: OptionType<VariantType<{
|
|
1614
|
+
readonly previousPeriod: NullType;
|
|
1615
|
+
readonly previousYear: NullType;
|
|
1616
|
+
}>>;
|
|
1617
|
+
readonly filters: ArrayType<VariantType<{
|
|
1618
|
+
readonly string: StructType<{
|
|
1619
|
+
readonly fieldId: StringType;
|
|
1620
|
+
readonly op: VariantType<{
|
|
1621
|
+
readonly eq: StringType;
|
|
1622
|
+
readonly neq: StringType;
|
|
1623
|
+
readonly in: SetType<StringType>;
|
|
1624
|
+
readonly notIn: SetType<StringType>;
|
|
1625
|
+
readonly contains: StringType;
|
|
1626
|
+
readonly matches: StringType;
|
|
1627
|
+
}>;
|
|
1628
|
+
}>;
|
|
1629
|
+
readonly integer: StructType<{
|
|
1630
|
+
readonly fieldId: StringType;
|
|
1631
|
+
readonly op: VariantType<{
|
|
1632
|
+
readonly eq: IntegerType;
|
|
1633
|
+
readonly neq: IntegerType;
|
|
1634
|
+
readonly lt: IntegerType;
|
|
1635
|
+
readonly lte: IntegerType;
|
|
1636
|
+
readonly gt: IntegerType;
|
|
1637
|
+
readonly gte: IntegerType;
|
|
1638
|
+
readonly in: SetType<IntegerType>;
|
|
1639
|
+
}>;
|
|
1640
|
+
}>;
|
|
1641
|
+
readonly float: StructType<{
|
|
1642
|
+
readonly fieldId: StringType;
|
|
1643
|
+
readonly op: VariantType<{
|
|
1644
|
+
readonly lt: FloatType;
|
|
1645
|
+
readonly lte: FloatType;
|
|
1646
|
+
readonly gt: FloatType;
|
|
1647
|
+
readonly gte: FloatType;
|
|
1648
|
+
}>;
|
|
1649
|
+
}>;
|
|
1650
|
+
readonly datetime: StructType<{
|
|
1651
|
+
readonly fieldId: StringType;
|
|
1652
|
+
readonly op: VariantType<{
|
|
1653
|
+
readonly before: DateTimeType;
|
|
1654
|
+
readonly after: DateTimeType;
|
|
1655
|
+
readonly between: StructType<{
|
|
1656
|
+
readonly from: DateTimeType;
|
|
1657
|
+
readonly to: DateTimeType;
|
|
1658
|
+
}>;
|
|
1659
|
+
}>;
|
|
1660
|
+
}>;
|
|
1661
|
+
readonly boolean: StructType<{
|
|
1662
|
+
readonly fieldId: StringType;
|
|
1663
|
+
readonly op: VariantType<{
|
|
1664
|
+
readonly is: BooleanType;
|
|
1665
|
+
}>;
|
|
1666
|
+
}>;
|
|
1667
|
+
}>>;
|
|
1668
|
+
readonly cohorts: ArrayType<StructType<{
|
|
1669
|
+
readonly id: StringType;
|
|
1670
|
+
readonly name: StringType;
|
|
1671
|
+
readonly filters: ArrayType<VariantType<{
|
|
1672
|
+
readonly string: StructType<{
|
|
1673
|
+
readonly fieldId: StringType;
|
|
1674
|
+
readonly op: VariantType<{
|
|
1675
|
+
readonly eq: StringType;
|
|
1676
|
+
readonly neq: StringType;
|
|
1677
|
+
readonly in: SetType<StringType>;
|
|
1678
|
+
readonly notIn: SetType<StringType>;
|
|
1679
|
+
readonly contains: StringType;
|
|
1680
|
+
readonly matches: StringType;
|
|
1681
|
+
}>;
|
|
1682
|
+
}>;
|
|
1683
|
+
readonly integer: StructType<{
|
|
1684
|
+
readonly fieldId: StringType;
|
|
1685
|
+
readonly op: VariantType<{
|
|
1686
|
+
readonly eq: IntegerType;
|
|
1687
|
+
readonly neq: IntegerType;
|
|
1688
|
+
readonly lt: IntegerType;
|
|
1689
|
+
readonly lte: IntegerType;
|
|
1690
|
+
readonly gt: IntegerType;
|
|
1691
|
+
readonly gte: IntegerType;
|
|
1692
|
+
readonly in: SetType<IntegerType>;
|
|
1693
|
+
}>;
|
|
1694
|
+
}>;
|
|
1695
|
+
readonly float: StructType<{
|
|
1696
|
+
readonly fieldId: StringType;
|
|
1697
|
+
readonly op: VariantType<{
|
|
1698
|
+
readonly lt: FloatType;
|
|
1699
|
+
readonly lte: FloatType;
|
|
1700
|
+
readonly gt: FloatType;
|
|
1701
|
+
readonly gte: FloatType;
|
|
1702
|
+
}>;
|
|
1703
|
+
}>;
|
|
1704
|
+
readonly datetime: StructType<{
|
|
1705
|
+
readonly fieldId: StringType;
|
|
1706
|
+
readonly op: VariantType<{
|
|
1707
|
+
readonly before: DateTimeType;
|
|
1708
|
+
readonly after: DateTimeType;
|
|
1709
|
+
readonly between: StructType<{
|
|
1710
|
+
readonly from: DateTimeType;
|
|
1711
|
+
readonly to: DateTimeType;
|
|
1712
|
+
}>;
|
|
1713
|
+
}>;
|
|
1714
|
+
}>;
|
|
1715
|
+
readonly boolean: StructType<{
|
|
1716
|
+
readonly fieldId: StringType;
|
|
1717
|
+
readonly op: VariantType<{
|
|
1718
|
+
readonly is: BooleanType;
|
|
1719
|
+
}>;
|
|
1720
|
+
}>;
|
|
1721
|
+
}>>;
|
|
1722
|
+
}>>;
|
|
1723
|
+
readonly activeCohorts: SetType<StringType>;
|
|
1724
|
+
readonly breakdown: OptionType<StructType<{
|
|
1725
|
+
readonly fieldId: StringType;
|
|
1726
|
+
readonly limit: OptionType<IntegerType>;
|
|
1727
|
+
}>>;
|
|
1728
|
+
readonly search: OptionType<StringType>;
|
|
1729
|
+
readonly visible: OptionType<SetType<StringType>>;
|
|
1730
|
+
readonly selectedIndex: OptionType<IntegerType>;
|
|
1731
|
+
}>>;
|
|
1732
|
+
/** Replace the entire slice state. Rare — prefer the structured mutators. */
|
|
1733
|
+
readonly write: FunctionType<[StructType<{
|
|
1734
|
+
readonly range: OptionType<VariantType<{
|
|
1735
|
+
readonly datetime: StructType<{
|
|
1736
|
+
readonly from: DateTimeType;
|
|
1737
|
+
readonly to: DateTimeType;
|
|
1738
|
+
}>;
|
|
1739
|
+
readonly datetimePreset: VariantType<{
|
|
1740
|
+
readonly today: NullType;
|
|
1741
|
+
readonly last7d: NullType;
|
|
1742
|
+
readonly last30d: NullType;
|
|
1743
|
+
readonly last90d: NullType;
|
|
1744
|
+
readonly ytd: NullType;
|
|
1745
|
+
}>;
|
|
1746
|
+
readonly integer: StructType<{
|
|
1747
|
+
readonly from: IntegerType;
|
|
1748
|
+
readonly to: IntegerType;
|
|
1749
|
+
}>;
|
|
1750
|
+
readonly float: StructType<{
|
|
1751
|
+
readonly from: FloatType;
|
|
1752
|
+
readonly to: FloatType;
|
|
1753
|
+
}>;
|
|
1754
|
+
}>>;
|
|
1755
|
+
readonly compare: OptionType<VariantType<{
|
|
1756
|
+
readonly previousPeriod: NullType;
|
|
1757
|
+
readonly previousYear: NullType;
|
|
1758
|
+
}>>;
|
|
1759
|
+
readonly filters: ArrayType<VariantType<{
|
|
1760
|
+
readonly string: StructType<{
|
|
1761
|
+
readonly fieldId: StringType;
|
|
1762
|
+
readonly op: VariantType<{
|
|
1763
|
+
readonly eq: StringType;
|
|
1764
|
+
readonly neq: StringType;
|
|
1765
|
+
readonly in: SetType<StringType>;
|
|
1766
|
+
readonly notIn: SetType<StringType>;
|
|
1767
|
+
readonly contains: StringType;
|
|
1768
|
+
readonly matches: StringType;
|
|
1769
|
+
}>;
|
|
1770
|
+
}>;
|
|
1771
|
+
readonly integer: StructType<{
|
|
1772
|
+
readonly fieldId: StringType;
|
|
1773
|
+
readonly op: VariantType<{
|
|
1774
|
+
readonly eq: IntegerType;
|
|
1775
|
+
readonly neq: IntegerType;
|
|
1776
|
+
readonly lt: IntegerType;
|
|
1777
|
+
readonly lte: IntegerType;
|
|
1778
|
+
readonly gt: IntegerType;
|
|
1779
|
+
readonly gte: IntegerType;
|
|
1780
|
+
readonly in: SetType<IntegerType>;
|
|
1781
|
+
}>;
|
|
1782
|
+
}>;
|
|
1783
|
+
readonly float: StructType<{
|
|
1784
|
+
readonly fieldId: StringType;
|
|
1785
|
+
readonly op: VariantType<{
|
|
1786
|
+
readonly lt: FloatType;
|
|
1787
|
+
readonly lte: FloatType;
|
|
1788
|
+
readonly gt: FloatType;
|
|
1789
|
+
readonly gte: FloatType;
|
|
1790
|
+
}>;
|
|
1791
|
+
}>;
|
|
1792
|
+
readonly datetime: StructType<{
|
|
1793
|
+
readonly fieldId: StringType;
|
|
1794
|
+
readonly op: VariantType<{
|
|
1795
|
+
readonly before: DateTimeType;
|
|
1796
|
+
readonly after: DateTimeType;
|
|
1797
|
+
readonly between: StructType<{
|
|
1798
|
+
readonly from: DateTimeType;
|
|
1799
|
+
readonly to: DateTimeType;
|
|
1800
|
+
}>;
|
|
1801
|
+
}>;
|
|
1802
|
+
}>;
|
|
1803
|
+
readonly boolean: StructType<{
|
|
1804
|
+
readonly fieldId: StringType;
|
|
1805
|
+
readonly op: VariantType<{
|
|
1806
|
+
readonly is: BooleanType;
|
|
1807
|
+
}>;
|
|
1808
|
+
}>;
|
|
1809
|
+
}>>;
|
|
1810
|
+
readonly cohorts: ArrayType<StructType<{
|
|
1811
|
+
readonly id: StringType;
|
|
1812
|
+
readonly name: StringType;
|
|
1813
|
+
readonly filters: ArrayType<VariantType<{
|
|
1814
|
+
readonly string: StructType<{
|
|
1815
|
+
readonly fieldId: StringType;
|
|
1816
|
+
readonly op: VariantType<{
|
|
1817
|
+
readonly eq: StringType;
|
|
1818
|
+
readonly neq: StringType;
|
|
1819
|
+
readonly in: SetType<StringType>;
|
|
1820
|
+
readonly notIn: SetType<StringType>;
|
|
1821
|
+
readonly contains: StringType;
|
|
1822
|
+
readonly matches: StringType;
|
|
1823
|
+
}>;
|
|
1824
|
+
}>;
|
|
1825
|
+
readonly integer: StructType<{
|
|
1826
|
+
readonly fieldId: StringType;
|
|
1827
|
+
readonly op: VariantType<{
|
|
1828
|
+
readonly eq: IntegerType;
|
|
1829
|
+
readonly neq: IntegerType;
|
|
1830
|
+
readonly lt: IntegerType;
|
|
1831
|
+
readonly lte: IntegerType;
|
|
1832
|
+
readonly gt: IntegerType;
|
|
1833
|
+
readonly gte: IntegerType;
|
|
1834
|
+
readonly in: SetType<IntegerType>;
|
|
1835
|
+
}>;
|
|
1836
|
+
}>;
|
|
1837
|
+
readonly float: StructType<{
|
|
1838
|
+
readonly fieldId: StringType;
|
|
1839
|
+
readonly op: VariantType<{
|
|
1840
|
+
readonly lt: FloatType;
|
|
1841
|
+
readonly lte: FloatType;
|
|
1842
|
+
readonly gt: FloatType;
|
|
1843
|
+
readonly gte: FloatType;
|
|
1844
|
+
}>;
|
|
1845
|
+
}>;
|
|
1846
|
+
readonly datetime: StructType<{
|
|
1847
|
+
readonly fieldId: StringType;
|
|
1848
|
+
readonly op: VariantType<{
|
|
1849
|
+
readonly before: DateTimeType;
|
|
1850
|
+
readonly after: DateTimeType;
|
|
1851
|
+
readonly between: StructType<{
|
|
1852
|
+
readonly from: DateTimeType;
|
|
1853
|
+
readonly to: DateTimeType;
|
|
1854
|
+
}>;
|
|
1855
|
+
}>;
|
|
1856
|
+
}>;
|
|
1857
|
+
readonly boolean: StructType<{
|
|
1858
|
+
readonly fieldId: StringType;
|
|
1859
|
+
readonly op: VariantType<{
|
|
1860
|
+
readonly is: BooleanType;
|
|
1861
|
+
}>;
|
|
1862
|
+
}>;
|
|
1863
|
+
}>>;
|
|
1864
|
+
}>>;
|
|
1865
|
+
readonly activeCohorts: SetType<StringType>;
|
|
1866
|
+
readonly breakdown: OptionType<StructType<{
|
|
1867
|
+
readonly fieldId: StringType;
|
|
1868
|
+
readonly limit: OptionType<IntegerType>;
|
|
1869
|
+
}>>;
|
|
1870
|
+
readonly search: OptionType<StringType>;
|
|
1871
|
+
readonly visible: OptionType<SetType<StringType>>;
|
|
1872
|
+
readonly selectedIndex: OptionType<IntegerType>;
|
|
1873
|
+
}>], NullType>;
|
|
1874
|
+
/** Set or clear the ranged narrowing. `none` clears; `some(range)` activates. */
|
|
1875
|
+
readonly setRange: FunctionType<[OptionType<VariantType<{
|
|
1876
|
+
readonly datetime: StructType<{
|
|
1877
|
+
readonly from: DateTimeType;
|
|
1878
|
+
readonly to: DateTimeType;
|
|
1879
|
+
}>;
|
|
1880
|
+
readonly datetimePreset: VariantType<{
|
|
1881
|
+
readonly today: NullType;
|
|
1882
|
+
readonly last7d: NullType;
|
|
1883
|
+
readonly last30d: NullType;
|
|
1884
|
+
readonly last90d: NullType;
|
|
1885
|
+
readonly ytd: NullType;
|
|
1886
|
+
}>;
|
|
1887
|
+
readonly integer: StructType<{
|
|
1888
|
+
readonly from: IntegerType;
|
|
1889
|
+
readonly to: IntegerType;
|
|
1890
|
+
}>;
|
|
1891
|
+
readonly float: StructType<{
|
|
1892
|
+
readonly from: FloatType;
|
|
1893
|
+
readonly to: FloatType;
|
|
1894
|
+
}>;
|
|
1895
|
+
}>>], NullType>;
|
|
1896
|
+
/** Set or clear the comparison period. `none` clears. */
|
|
1897
|
+
readonly setCompare: FunctionType<[OptionType<VariantType<{
|
|
1898
|
+
readonly previousPeriod: NullType;
|
|
1899
|
+
readonly previousYear: NullType;
|
|
1900
|
+
}>>], NullType>;
|
|
1901
|
+
/** Append a new filter clause to the AND chain. */
|
|
1902
|
+
readonly addFilter: FunctionType<[VariantType<{
|
|
1903
|
+
readonly string: StructType<{
|
|
1904
|
+
readonly fieldId: StringType;
|
|
1905
|
+
readonly op: VariantType<{
|
|
1906
|
+
readonly eq: StringType;
|
|
1907
|
+
readonly neq: StringType;
|
|
1908
|
+
readonly in: SetType<StringType>;
|
|
1909
|
+
readonly notIn: SetType<StringType>;
|
|
1910
|
+
readonly contains: StringType;
|
|
1911
|
+
readonly matches: StringType;
|
|
1912
|
+
}>;
|
|
1913
|
+
}>;
|
|
1914
|
+
readonly integer: StructType<{
|
|
1915
|
+
readonly fieldId: StringType;
|
|
1916
|
+
readonly op: VariantType<{
|
|
1917
|
+
readonly eq: IntegerType;
|
|
1918
|
+
readonly neq: IntegerType;
|
|
1919
|
+
readonly lt: IntegerType;
|
|
1920
|
+
readonly lte: IntegerType;
|
|
1921
|
+
readonly gt: IntegerType;
|
|
1922
|
+
readonly gte: IntegerType;
|
|
1923
|
+
readonly in: SetType<IntegerType>;
|
|
1924
|
+
}>;
|
|
1925
|
+
}>;
|
|
1926
|
+
readonly float: StructType<{
|
|
1927
|
+
readonly fieldId: StringType;
|
|
1928
|
+
readonly op: VariantType<{
|
|
1929
|
+
readonly lt: FloatType;
|
|
1930
|
+
readonly lte: FloatType;
|
|
1931
|
+
readonly gt: FloatType;
|
|
1932
|
+
readonly gte: FloatType;
|
|
1933
|
+
}>;
|
|
1934
|
+
}>;
|
|
1935
|
+
readonly datetime: StructType<{
|
|
1936
|
+
readonly fieldId: StringType;
|
|
1937
|
+
readonly op: VariantType<{
|
|
1938
|
+
readonly before: DateTimeType;
|
|
1939
|
+
readonly after: DateTimeType;
|
|
1940
|
+
readonly between: StructType<{
|
|
1941
|
+
readonly from: DateTimeType;
|
|
1942
|
+
readonly to: DateTimeType;
|
|
1943
|
+
}>;
|
|
1944
|
+
}>;
|
|
1945
|
+
}>;
|
|
1946
|
+
readonly boolean: StructType<{
|
|
1947
|
+
readonly fieldId: StringType;
|
|
1948
|
+
readonly op: VariantType<{
|
|
1949
|
+
readonly is: BooleanType;
|
|
1950
|
+
}>;
|
|
1951
|
+
}>;
|
|
1952
|
+
}>], NullType>;
|
|
1953
|
+
/** Remove the filter at the given index. */
|
|
1954
|
+
readonly removeFilter: FunctionType<[IntegerType], NullType>;
|
|
1955
|
+
/** Clear every applied filter (and active cohorts). */
|
|
1956
|
+
readonly clearFilters: FunctionType<[], NullType>;
|
|
1957
|
+
/** Register a new cohort definition. Errors if id already exists. */
|
|
1958
|
+
readonly defineCohort: FunctionType<[StructType<{
|
|
1959
|
+
readonly id: StringType;
|
|
1960
|
+
readonly name: StringType;
|
|
1961
|
+
readonly filters: ArrayType<VariantType<{
|
|
1962
|
+
readonly string: StructType<{
|
|
1963
|
+
readonly fieldId: StringType;
|
|
1964
|
+
readonly op: VariantType<{
|
|
1965
|
+
readonly eq: StringType;
|
|
1966
|
+
readonly neq: StringType;
|
|
1967
|
+
readonly in: SetType<StringType>;
|
|
1968
|
+
readonly notIn: SetType<StringType>;
|
|
1969
|
+
readonly contains: StringType;
|
|
1970
|
+
readonly matches: StringType;
|
|
1971
|
+
}>;
|
|
1972
|
+
}>;
|
|
1973
|
+
readonly integer: StructType<{
|
|
1974
|
+
readonly fieldId: StringType;
|
|
1975
|
+
readonly op: VariantType<{
|
|
1976
|
+
readonly eq: IntegerType;
|
|
1977
|
+
readonly neq: IntegerType;
|
|
1978
|
+
readonly lt: IntegerType;
|
|
1979
|
+
readonly lte: IntegerType;
|
|
1980
|
+
readonly gt: IntegerType;
|
|
1981
|
+
readonly gte: IntegerType;
|
|
1982
|
+
readonly in: SetType<IntegerType>;
|
|
1983
|
+
}>;
|
|
1984
|
+
}>;
|
|
1985
|
+
readonly float: StructType<{
|
|
1986
|
+
readonly fieldId: StringType;
|
|
1987
|
+
readonly op: VariantType<{
|
|
1988
|
+
readonly lt: FloatType;
|
|
1989
|
+
readonly lte: FloatType;
|
|
1990
|
+
readonly gt: FloatType;
|
|
1991
|
+
readonly gte: FloatType;
|
|
1992
|
+
}>;
|
|
1993
|
+
}>;
|
|
1994
|
+
readonly datetime: StructType<{
|
|
1995
|
+
readonly fieldId: StringType;
|
|
1996
|
+
readonly op: VariantType<{
|
|
1997
|
+
readonly before: DateTimeType;
|
|
1998
|
+
readonly after: DateTimeType;
|
|
1999
|
+
readonly between: StructType<{
|
|
2000
|
+
readonly from: DateTimeType;
|
|
2001
|
+
readonly to: DateTimeType;
|
|
2002
|
+
}>;
|
|
2003
|
+
}>;
|
|
2004
|
+
}>;
|
|
2005
|
+
readonly boolean: StructType<{
|
|
2006
|
+
readonly fieldId: StringType;
|
|
2007
|
+
readonly op: VariantType<{
|
|
2008
|
+
readonly is: BooleanType;
|
|
2009
|
+
}>;
|
|
2010
|
+
}>;
|
|
2011
|
+
}>>;
|
|
2012
|
+
}>], NullType>;
|
|
2013
|
+
/** Replace the cohort with the given id in place (keeps active state). */
|
|
2014
|
+
readonly updateCohort: FunctionType<[StringType, StructType<{
|
|
2015
|
+
readonly id: StringType;
|
|
2016
|
+
readonly name: StringType;
|
|
2017
|
+
readonly filters: ArrayType<VariantType<{
|
|
2018
|
+
readonly string: StructType<{
|
|
2019
|
+
readonly fieldId: StringType;
|
|
2020
|
+
readonly op: VariantType<{
|
|
2021
|
+
readonly eq: StringType;
|
|
2022
|
+
readonly neq: StringType;
|
|
2023
|
+
readonly in: SetType<StringType>;
|
|
2024
|
+
readonly notIn: SetType<StringType>;
|
|
2025
|
+
readonly contains: StringType;
|
|
2026
|
+
readonly matches: StringType;
|
|
2027
|
+
}>;
|
|
2028
|
+
}>;
|
|
2029
|
+
readonly integer: StructType<{
|
|
2030
|
+
readonly fieldId: StringType;
|
|
2031
|
+
readonly op: VariantType<{
|
|
2032
|
+
readonly eq: IntegerType;
|
|
2033
|
+
readonly neq: IntegerType;
|
|
2034
|
+
readonly lt: IntegerType;
|
|
2035
|
+
readonly lte: IntegerType;
|
|
2036
|
+
readonly gt: IntegerType;
|
|
2037
|
+
readonly gte: IntegerType;
|
|
2038
|
+
readonly in: SetType<IntegerType>;
|
|
2039
|
+
}>;
|
|
2040
|
+
}>;
|
|
2041
|
+
readonly float: StructType<{
|
|
2042
|
+
readonly fieldId: StringType;
|
|
2043
|
+
readonly op: VariantType<{
|
|
2044
|
+
readonly lt: FloatType;
|
|
2045
|
+
readonly lte: FloatType;
|
|
2046
|
+
readonly gt: FloatType;
|
|
2047
|
+
readonly gte: FloatType;
|
|
2048
|
+
}>;
|
|
2049
|
+
}>;
|
|
2050
|
+
readonly datetime: StructType<{
|
|
2051
|
+
readonly fieldId: StringType;
|
|
2052
|
+
readonly op: VariantType<{
|
|
2053
|
+
readonly before: DateTimeType;
|
|
2054
|
+
readonly after: DateTimeType;
|
|
2055
|
+
readonly between: StructType<{
|
|
2056
|
+
readonly from: DateTimeType;
|
|
2057
|
+
readonly to: DateTimeType;
|
|
2058
|
+
}>;
|
|
2059
|
+
}>;
|
|
2060
|
+
}>;
|
|
2061
|
+
readonly boolean: StructType<{
|
|
2062
|
+
readonly fieldId: StringType;
|
|
2063
|
+
readonly op: VariantType<{
|
|
2064
|
+
readonly is: BooleanType;
|
|
2065
|
+
}>;
|
|
2066
|
+
}>;
|
|
2067
|
+
}>>;
|
|
2068
|
+
}>], NullType>;
|
|
2069
|
+
/** Drop a cohort from the registry (and from active cohorts). */
|
|
2070
|
+
readonly removeCohort: FunctionType<[StringType], NullType>;
|
|
2071
|
+
/** Flip whether the cohort with this id is being applied. */
|
|
2072
|
+
readonly toggleCohort: FunctionType<[StringType], NullType>;
|
|
2073
|
+
/** Set or clear the group-by dimension. `none` = no breakdown. */
|
|
2074
|
+
readonly setBreakdown: FunctionType<[OptionType<StructType<{
|
|
2075
|
+
readonly fieldId: StringType;
|
|
2076
|
+
readonly limit: OptionType<IntegerType>;
|
|
2077
|
+
}>>], NullType>;
|
|
2078
|
+
/** Set the typeahead query. `none` clears; `some("query")` activates it. */
|
|
2079
|
+
readonly setSearch: FunctionType<[OptionType<StringType>], NullType>;
|
|
2080
|
+
/** Set the visible-series whitelist. `none` = all series visible. */
|
|
2081
|
+
readonly setVisible: FunctionType<[OptionType<SetType<StringType>>], NullType>;
|
|
2082
|
+
/** Set the master-detail selection index. `none` = no selection. */
|
|
2083
|
+
readonly select: FunctionType<[OptionType<IntegerType>], NullType>;
|
|
2084
|
+
/** True when at least one narrowing is active. */
|
|
2085
|
+
readonly isActive: FunctionType<[], BooleanType>;
|
|
2086
|
+
/** Count of currently-applied narrowings — used by `Slice.Summary`. */
|
|
2087
|
+
readonly activeCount: FunctionType<[], IntegerType>;
|
|
2088
|
+
/** Selectable breakdown dimensions for this slice's config → `[{ fieldId, label }]`. */
|
|
2089
|
+
readonly dimensions: FunctionType<[], ArrayType<StructType<{
|
|
2090
|
+
readonly fieldId: StringType;
|
|
2091
|
+
readonly label: StringType;
|
|
2092
|
+
}>>>;
|
|
2093
|
+
/** Every filterable field → `[{ fieldId, label, kind }]`; feeds the predicate builder. */
|
|
2094
|
+
readonly fields: FunctionType<[], ArrayType<StructType<{
|
|
2095
|
+
readonly fieldId: StringType;
|
|
2096
|
+
readonly label: StringType;
|
|
2097
|
+
readonly kind: StringType;
|
|
2098
|
+
}>>>;
|
|
2099
|
+
/** Field ids the typeahead searches over — the chrome rail shows Search when non-empty. */
|
|
2100
|
+
readonly searchFieldIds: FunctionType<[], ArrayType<StringType>>;
|
|
2101
|
+
/** Field id `Slice.Range` narrows on — the chrome rail shows Range when `some`. */
|
|
2102
|
+
readonly rangeFieldId: FunctionType<[], OptionType<StringType>>;
|
|
2103
|
+
/** Total bound rows, before any narrowing — used by the chrome footer ("N of M"). */
|
|
2104
|
+
readonly totalCount: FunctionType<[], IntegerType>;
|
|
2105
|
+
/** Count of bound rows passing every active narrowing — used by Filter / Summary. */
|
|
2106
|
+
readonly resultCount: FunctionType<[], IntegerType>;
|
|
2107
|
+
/** Active-breakdown series over the bound rows → `[{ key, count }]` — Breakdown / Legend. */
|
|
2108
|
+
readonly groups: FunctionType<[], ArrayType<StructType<{
|
|
2109
|
+
readonly key: StringType;
|
|
2110
|
+
readonly count: IntegerType;
|
|
2111
|
+
readonly color: StringType;
|
|
2112
|
+
}>>>;
|
|
2113
|
+
/**
|
|
2114
|
+
* Pivot the narrowed rows into chart-ready multi-series long format:
|
|
2115
|
+
* grouped by the active breakdown dimension (`key`) and the given x-axis
|
|
2116
|
+
* field, summing the value field → `[{ key, x, value }]`. Feed a
|
|
2117
|
+
* multi-series chart by filtering per (statically-known) series key.
|
|
2118
|
+
* @param xFieldId - field whose value positions each point on the x-axis
|
|
2119
|
+
* @param valueFieldId - numeric field summed into each point's `value`
|
|
2120
|
+
*/
|
|
2121
|
+
readonly series: FunctionType<[StringType, StringType], ArrayType<StructType<{
|
|
2122
|
+
readonly key: StringType;
|
|
2123
|
+
readonly color: StringType;
|
|
2124
|
+
readonly points: ArrayType<StructType<{
|
|
2125
|
+
readonly x: VariantType<{
|
|
2126
|
+
readonly category: StringType;
|
|
2127
|
+
readonly number: FloatType;
|
|
2128
|
+
readonly time: DateTimeType;
|
|
2129
|
+
}>;
|
|
2130
|
+
readonly value: FloatType;
|
|
2131
|
+
readonly size: OptionType<FloatType>;
|
|
2132
|
+
}>>;
|
|
2133
|
+
}>>>;
|
|
2134
|
+
/** Typeahead suggestions for the current query (via the bind `toMatch`) → `[{ id, label, meta }]`. */
|
|
2135
|
+
readonly matches: FunctionType<[], ArrayType<StructType<{
|
|
2136
|
+
readonly id: StringType;
|
|
2137
|
+
readonly label: StringType;
|
|
2138
|
+
readonly meta: OptionType<StringType>;
|
|
2139
|
+
}>>>;
|
|
2140
|
+
/** Size of each cohort over the bound rows, keyed by cohort id — Cohort chips. */
|
|
2141
|
+
readonly cohortCounts: FunctionType<[], DictType<StringType, IntegerType>>;
|
|
2142
|
+
}>;
|
|
2143
|
+
readonly affordances: ArrayType<VariantType<{
|
|
2144
|
+
readonly filter: NullType;
|
|
2145
|
+
readonly search: NullType;
|
|
2146
|
+
readonly breakdown: NullType;
|
|
2147
|
+
readonly range: NullType;
|
|
2148
|
+
readonly cohort: NullType;
|
|
2149
|
+
readonly brush: NullType;
|
|
2150
|
+
}>>;
|
|
2151
|
+
}>;
|
|
2152
|
+
/** Type alias for {@link SliceChromeType}. */
|
|
2153
|
+
export type SliceChromeType = typeof SliceChromeType;
|
|
2154
|
+
/**
|
|
2155
|
+
* Slice platform — typed narrowing state for the `Slice.*` UI family.
|
|
2156
|
+
*
|
|
2157
|
+
* @example
|
|
2158
|
+
* ```ts
|
|
2159
|
+
* import { East, ArrayType, StringType, IntegerType, NullType, variant, some, none } from "@elaraai/east";
|
|
2160
|
+
* import { Reactive, Slice, Text, UIComponentType } from "@elaraai/east-ui";
|
|
2161
|
+
*
|
|
2162
|
+
* // 1. Declare the row type
|
|
2163
|
+
* const UserEventType = StructType({
|
|
2164
|
+
* timestamp: DateTimeType,
|
|
2165
|
+
* country: StringType,
|
|
2166
|
+
* sessions: IntegerType,
|
|
2167
|
+
* });
|
|
2168
|
+
*
|
|
2169
|
+
* const view = East.function([], UIComponentType, (_$) => {
|
|
2170
|
+
* return Reactive.Root(East.function([], UIComponentType, $ => {
|
|
2171
|
+
* // 2. Bind with a config declaring available dimensions
|
|
2172
|
+
* const slice = $.let(Slice.bind("view.events", East.value({
|
|
2173
|
+
* fields: new Map([
|
|
2174
|
+
* ["timestamp", variant("datetime", { label: "Time", accessor: East.function([UserEventType], DateTimeType, ($, r) => r.timestamp) })],
|
|
2175
|
+
* ["country", variant("string", { label: "Country", accessor: East.function([UserEventType], StringType, ($, r) => r.country) })],
|
|
2176
|
+
* ["sessions", variant("integer", { label: "Sessions", accessor: East.function([UserEventType], IntegerType, ($, r) => r.sessions) })],
|
|
2177
|
+
* ]),
|
|
2178
|
+
* timeFieldId: some("timestamp"),
|
|
2179
|
+
* searchFieldIds: ["country"],
|
|
2180
|
+
* breakdownFieldIds: ["country"],
|
|
2181
|
+
* })));
|
|
2182
|
+
*
|
|
2183
|
+
* // 3. Add a TYPED filter — `integerGte` carries an IntegerType, not a parsed string
|
|
2184
|
+
* $(slice.addFilter(East.value({
|
|
2185
|
+
* fieldId: "sessions",
|
|
2186
|
+
* op: variant("integerGte", 10n),
|
|
2187
|
+
* }, Slice.Types.Predicate)));
|
|
2188
|
+
*
|
|
2189
|
+
* // 4. Apply: pure narrowing engine
|
|
2190
|
+
* // const filtered = $.let(Slice.apply.where(slice.read(), config, events));
|
|
2191
|
+
*
|
|
2192
|
+
* const state = $.let(slice.read(), Slice.Types.State);
|
|
2193
|
+
* return Text.Root(East.str`${state.filters.length()} active filters`);
|
|
2194
|
+
* }));
|
|
2195
|
+
* });
|
|
2196
|
+
* ```
|
|
2197
|
+
*/
|
|
2198
|
+
export declare const Slice: {
|
|
2199
|
+
/**
|
|
2200
|
+
* Bind a slice to a named key. Returns a closure struct UI components
|
|
2201
|
+
* plug into and downstream consumers read.
|
|
2202
|
+
*
|
|
2203
|
+
* The third argument is the initial `SliceState` — built ergonomically
|
|
2204
|
+
* with `Slice.state({...})` (omitted fields default to "no narrowing
|
|
2205
|
+
* active"). First bind for a key seeds the store with it; subsequent
|
|
2206
|
+
* binds return a fresh closure struct over the existing state and ignore
|
|
2207
|
+
* the initial value. `read()` tracks the dependency so `Reactive.Root`
|
|
2208
|
+
* re-renders on change.
|
|
2209
|
+
*
|
|
2210
|
+
* @example
|
|
2211
|
+
* ```ts
|
|
2212
|
+
* // Empty slice — all defaults
|
|
2213
|
+
* const slice = $.let(Slice.bind([EventType], "view.events", cfg, Slice.state({})));
|
|
2214
|
+
*
|
|
2215
|
+
* // Seeded — a preset range and an active cohort on first bind
|
|
2216
|
+
* const seeded = $.let(Slice.bind([EventType], "view.seeded", cfg, Slice.state({
|
|
2217
|
+
* range: some(variant("datetimePreset", variant("last30d", null))),
|
|
2218
|
+
* cohorts: [{ id: "power", name: "Power users", filters: [] }],
|
|
2219
|
+
* activeCohorts: new Set(["power"]),
|
|
2220
|
+
* })));
|
|
2221
|
+
* ```
|
|
2222
|
+
*/
|
|
2223
|
+
readonly bind: import("@elaraai/east").GenericPlatformDefinition<readonly ["T"], readonly [StringType, StructType<{
|
|
2224
|
+
readonly fields: DictType<StringType, VariantType<{
|
|
2225
|
+
readonly string: StructType<{
|
|
2226
|
+
readonly label: StringType;
|
|
2227
|
+
readonly accessor: FunctionType<["T"], StringType>;
|
|
2228
|
+
}>;
|
|
2229
|
+
readonly integer: StructType<{
|
|
2230
|
+
readonly label: StringType;
|
|
2231
|
+
readonly accessor: FunctionType<["T"], IntegerType>;
|
|
2232
|
+
}>;
|
|
2233
|
+
readonly float: StructType<{
|
|
2234
|
+
readonly label: StringType;
|
|
2235
|
+
readonly accessor: FunctionType<["T"], FloatType>;
|
|
2236
|
+
}>;
|
|
2237
|
+
readonly datetime: StructType<{
|
|
2238
|
+
readonly label: StringType;
|
|
2239
|
+
readonly accessor: FunctionType<["T"], DateTimeType>;
|
|
2240
|
+
}>;
|
|
2241
|
+
readonly boolean: StructType<{
|
|
2242
|
+
readonly label: StringType;
|
|
2243
|
+
readonly accessor: FunctionType<["T"], BooleanType>;
|
|
2244
|
+
}>;
|
|
2245
|
+
}>>;
|
|
2246
|
+
readonly rangeFieldId: OptionType<StringType>;
|
|
2247
|
+
readonly searchFieldIds: ArrayType<StringType>;
|
|
2248
|
+
readonly breakdownFieldIds: ArrayType<StringType>;
|
|
2249
|
+
}>, StructType<{
|
|
2250
|
+
readonly range: OptionType<VariantType<{
|
|
2251
|
+
readonly datetime: StructType<{
|
|
2252
|
+
readonly from: DateTimeType;
|
|
2253
|
+
readonly to: DateTimeType;
|
|
2254
|
+
}>;
|
|
2255
|
+
readonly datetimePreset: VariantType<{
|
|
2256
|
+
readonly today: NullType;
|
|
2257
|
+
readonly last7d: NullType;
|
|
2258
|
+
readonly last30d: NullType;
|
|
2259
|
+
readonly last90d: NullType;
|
|
2260
|
+
readonly ytd: NullType;
|
|
2261
|
+
}>;
|
|
2262
|
+
readonly integer: StructType<{
|
|
2263
|
+
readonly from: IntegerType;
|
|
2264
|
+
readonly to: IntegerType;
|
|
2265
|
+
}>;
|
|
2266
|
+
readonly float: StructType<{
|
|
2267
|
+
readonly from: FloatType;
|
|
2268
|
+
readonly to: FloatType;
|
|
2269
|
+
}>;
|
|
2270
|
+
}>>;
|
|
2271
|
+
readonly compare: OptionType<VariantType<{
|
|
2272
|
+
readonly previousPeriod: NullType;
|
|
2273
|
+
readonly previousYear: NullType;
|
|
2274
|
+
}>>;
|
|
2275
|
+
readonly filters: ArrayType<VariantType<{
|
|
2276
|
+
readonly string: StructType<{
|
|
2277
|
+
readonly fieldId: StringType;
|
|
2278
|
+
readonly op: VariantType<{
|
|
2279
|
+
readonly eq: StringType;
|
|
2280
|
+
readonly neq: StringType;
|
|
2281
|
+
readonly in: SetType<StringType>;
|
|
2282
|
+
readonly notIn: SetType<StringType>;
|
|
2283
|
+
readonly contains: StringType;
|
|
2284
|
+
readonly matches: StringType;
|
|
2285
|
+
}>;
|
|
2286
|
+
}>;
|
|
2287
|
+
readonly integer: StructType<{
|
|
2288
|
+
readonly fieldId: StringType;
|
|
2289
|
+
readonly op: VariantType<{
|
|
2290
|
+
readonly eq: IntegerType;
|
|
2291
|
+
readonly neq: IntegerType;
|
|
2292
|
+
readonly lt: IntegerType;
|
|
2293
|
+
readonly lte: IntegerType;
|
|
2294
|
+
readonly gt: IntegerType;
|
|
2295
|
+
readonly gte: IntegerType;
|
|
2296
|
+
readonly in: SetType<IntegerType>;
|
|
2297
|
+
}>;
|
|
2298
|
+
}>;
|
|
2299
|
+
readonly float: StructType<{
|
|
2300
|
+
readonly fieldId: StringType;
|
|
2301
|
+
readonly op: VariantType<{
|
|
2302
|
+
readonly lt: FloatType;
|
|
2303
|
+
readonly lte: FloatType;
|
|
2304
|
+
readonly gt: FloatType;
|
|
2305
|
+
readonly gte: FloatType;
|
|
2306
|
+
}>;
|
|
2307
|
+
}>;
|
|
2308
|
+
readonly datetime: StructType<{
|
|
2309
|
+
readonly fieldId: StringType;
|
|
2310
|
+
readonly op: VariantType<{
|
|
2311
|
+
readonly before: DateTimeType;
|
|
2312
|
+
readonly after: DateTimeType;
|
|
2313
|
+
readonly between: StructType<{
|
|
2314
|
+
readonly from: DateTimeType;
|
|
2315
|
+
readonly to: DateTimeType;
|
|
2316
|
+
}>;
|
|
2317
|
+
}>;
|
|
2318
|
+
}>;
|
|
2319
|
+
readonly boolean: StructType<{
|
|
2320
|
+
readonly fieldId: StringType;
|
|
2321
|
+
readonly op: VariantType<{
|
|
2322
|
+
readonly is: BooleanType;
|
|
2323
|
+
}>;
|
|
2324
|
+
}>;
|
|
2325
|
+
}>>;
|
|
2326
|
+
readonly cohorts: ArrayType<StructType<{
|
|
2327
|
+
readonly id: StringType;
|
|
2328
|
+
readonly name: StringType;
|
|
2329
|
+
readonly filters: ArrayType<VariantType<{
|
|
2330
|
+
readonly string: StructType<{
|
|
2331
|
+
readonly fieldId: StringType;
|
|
2332
|
+
readonly op: VariantType<{
|
|
2333
|
+
readonly eq: StringType;
|
|
2334
|
+
readonly neq: StringType;
|
|
2335
|
+
readonly in: SetType<StringType>;
|
|
2336
|
+
readonly notIn: SetType<StringType>;
|
|
2337
|
+
readonly contains: StringType;
|
|
2338
|
+
readonly matches: StringType;
|
|
2339
|
+
}>;
|
|
2340
|
+
}>;
|
|
2341
|
+
readonly integer: StructType<{
|
|
2342
|
+
readonly fieldId: StringType;
|
|
2343
|
+
readonly op: VariantType<{
|
|
2344
|
+
readonly eq: IntegerType;
|
|
2345
|
+
readonly neq: IntegerType;
|
|
2346
|
+
readonly lt: IntegerType;
|
|
2347
|
+
readonly lte: IntegerType;
|
|
2348
|
+
readonly gt: IntegerType;
|
|
2349
|
+
readonly gte: IntegerType;
|
|
2350
|
+
readonly in: SetType<IntegerType>;
|
|
2351
|
+
}>;
|
|
2352
|
+
}>;
|
|
2353
|
+
readonly float: StructType<{
|
|
2354
|
+
readonly fieldId: StringType;
|
|
2355
|
+
readonly op: VariantType<{
|
|
2356
|
+
readonly lt: FloatType;
|
|
2357
|
+
readonly lte: FloatType;
|
|
2358
|
+
readonly gt: FloatType;
|
|
2359
|
+
readonly gte: FloatType;
|
|
2360
|
+
}>;
|
|
2361
|
+
}>;
|
|
2362
|
+
readonly datetime: StructType<{
|
|
2363
|
+
readonly fieldId: StringType;
|
|
2364
|
+
readonly op: VariantType<{
|
|
2365
|
+
readonly before: DateTimeType;
|
|
2366
|
+
readonly after: DateTimeType;
|
|
2367
|
+
readonly between: StructType<{
|
|
2368
|
+
readonly from: DateTimeType;
|
|
2369
|
+
readonly to: DateTimeType;
|
|
2370
|
+
}>;
|
|
2371
|
+
}>;
|
|
2372
|
+
}>;
|
|
2373
|
+
readonly boolean: StructType<{
|
|
2374
|
+
readonly fieldId: StringType;
|
|
2375
|
+
readonly op: VariantType<{
|
|
2376
|
+
readonly is: BooleanType;
|
|
2377
|
+
}>;
|
|
2378
|
+
}>;
|
|
2379
|
+
}>>;
|
|
2380
|
+
}>>;
|
|
2381
|
+
readonly activeCohorts: SetType<StringType>;
|
|
2382
|
+
readonly breakdown: OptionType<StructType<{
|
|
2383
|
+
readonly fieldId: StringType;
|
|
2384
|
+
readonly limit: OptionType<IntegerType>;
|
|
2385
|
+
}>>;
|
|
2386
|
+
readonly search: OptionType<StringType>;
|
|
2387
|
+
readonly visible: OptionType<SetType<StringType>>;
|
|
2388
|
+
readonly selectedIndex: OptionType<IntegerType>;
|
|
2389
|
+
}>, ArrayType<"T">, OptionType<FunctionType<["T"], StructType<{
|
|
2390
|
+
readonly id: StringType;
|
|
2391
|
+
readonly label: StringType;
|
|
2392
|
+
readonly meta: OptionType<StringType>;
|
|
2393
|
+
}>>>], StructType<{
|
|
2394
|
+
/** The store key this slice is bound to — lets renderers self-subscribe. */
|
|
2395
|
+
readonly key: StringType;
|
|
2396
|
+
/** Read the entire slice state; tracked for reactive re-render. */
|
|
2397
|
+
readonly read: FunctionType<[], StructType<{
|
|
2398
|
+
readonly range: OptionType<VariantType<{
|
|
2399
|
+
readonly datetime: StructType<{
|
|
2400
|
+
readonly from: DateTimeType;
|
|
2401
|
+
readonly to: DateTimeType;
|
|
2402
|
+
}>;
|
|
2403
|
+
readonly datetimePreset: VariantType<{
|
|
2404
|
+
readonly today: NullType;
|
|
2405
|
+
readonly last7d: NullType;
|
|
2406
|
+
readonly last30d: NullType;
|
|
2407
|
+
readonly last90d: NullType;
|
|
2408
|
+
readonly ytd: NullType;
|
|
2409
|
+
}>;
|
|
2410
|
+
readonly integer: StructType<{
|
|
2411
|
+
readonly from: IntegerType;
|
|
2412
|
+
readonly to: IntegerType;
|
|
2413
|
+
}>;
|
|
2414
|
+
readonly float: StructType<{
|
|
2415
|
+
readonly from: FloatType;
|
|
2416
|
+
readonly to: FloatType;
|
|
2417
|
+
}>;
|
|
2418
|
+
}>>;
|
|
2419
|
+
readonly compare: OptionType<VariantType<{
|
|
2420
|
+
readonly previousPeriod: NullType;
|
|
2421
|
+
readonly previousYear: NullType;
|
|
2422
|
+
}>>;
|
|
2423
|
+
readonly filters: ArrayType<VariantType<{
|
|
2424
|
+
readonly string: StructType<{
|
|
2425
|
+
readonly fieldId: StringType;
|
|
2426
|
+
readonly op: VariantType<{
|
|
2427
|
+
readonly eq: StringType;
|
|
2428
|
+
readonly neq: StringType;
|
|
2429
|
+
readonly in: SetType<StringType>;
|
|
2430
|
+
readonly notIn: SetType<StringType>;
|
|
2431
|
+
readonly contains: StringType;
|
|
2432
|
+
readonly matches: StringType;
|
|
2433
|
+
}>;
|
|
2434
|
+
}>;
|
|
2435
|
+
readonly integer: StructType<{
|
|
2436
|
+
readonly fieldId: StringType;
|
|
2437
|
+
readonly op: VariantType<{
|
|
2438
|
+
readonly eq: IntegerType;
|
|
2439
|
+
readonly neq: IntegerType;
|
|
2440
|
+
readonly lt: IntegerType;
|
|
2441
|
+
readonly lte: IntegerType;
|
|
2442
|
+
readonly gt: IntegerType;
|
|
2443
|
+
readonly gte: IntegerType;
|
|
2444
|
+
readonly in: SetType<IntegerType>;
|
|
2445
|
+
}>;
|
|
2446
|
+
}>;
|
|
2447
|
+
readonly float: StructType<{
|
|
2448
|
+
readonly fieldId: StringType;
|
|
2449
|
+
readonly op: VariantType<{
|
|
2450
|
+
readonly lt: FloatType;
|
|
2451
|
+
readonly lte: FloatType;
|
|
2452
|
+
readonly gt: FloatType;
|
|
2453
|
+
readonly gte: FloatType;
|
|
2454
|
+
}>;
|
|
2455
|
+
}>;
|
|
2456
|
+
readonly datetime: StructType<{
|
|
2457
|
+
readonly fieldId: StringType;
|
|
2458
|
+
readonly op: VariantType<{
|
|
2459
|
+
readonly before: DateTimeType;
|
|
2460
|
+
readonly after: DateTimeType;
|
|
2461
|
+
readonly between: StructType<{
|
|
2462
|
+
readonly from: DateTimeType;
|
|
2463
|
+
readonly to: DateTimeType;
|
|
2464
|
+
}>;
|
|
2465
|
+
}>;
|
|
2466
|
+
}>;
|
|
2467
|
+
readonly boolean: StructType<{
|
|
2468
|
+
readonly fieldId: StringType;
|
|
2469
|
+
readonly op: VariantType<{
|
|
2470
|
+
readonly is: BooleanType;
|
|
2471
|
+
}>;
|
|
2472
|
+
}>;
|
|
2473
|
+
}>>;
|
|
2474
|
+
readonly cohorts: ArrayType<StructType<{
|
|
2475
|
+
readonly id: StringType;
|
|
2476
|
+
readonly name: StringType;
|
|
2477
|
+
readonly filters: ArrayType<VariantType<{
|
|
2478
|
+
readonly string: StructType<{
|
|
2479
|
+
readonly fieldId: StringType;
|
|
2480
|
+
readonly op: VariantType<{
|
|
2481
|
+
readonly eq: StringType;
|
|
2482
|
+
readonly neq: StringType;
|
|
2483
|
+
readonly in: SetType<StringType>;
|
|
2484
|
+
readonly notIn: SetType<StringType>;
|
|
2485
|
+
readonly contains: StringType;
|
|
2486
|
+
readonly matches: StringType;
|
|
2487
|
+
}>;
|
|
2488
|
+
}>;
|
|
2489
|
+
readonly integer: StructType<{
|
|
2490
|
+
readonly fieldId: StringType;
|
|
2491
|
+
readonly op: VariantType<{
|
|
2492
|
+
readonly eq: IntegerType;
|
|
2493
|
+
readonly neq: IntegerType;
|
|
2494
|
+
readonly lt: IntegerType;
|
|
2495
|
+
readonly lte: IntegerType;
|
|
2496
|
+
readonly gt: IntegerType;
|
|
2497
|
+
readonly gte: IntegerType;
|
|
2498
|
+
readonly in: SetType<IntegerType>;
|
|
2499
|
+
}>;
|
|
2500
|
+
}>;
|
|
2501
|
+
readonly float: StructType<{
|
|
2502
|
+
readonly fieldId: StringType;
|
|
2503
|
+
readonly op: VariantType<{
|
|
2504
|
+
readonly lt: FloatType;
|
|
2505
|
+
readonly lte: FloatType;
|
|
2506
|
+
readonly gt: FloatType;
|
|
2507
|
+
readonly gte: FloatType;
|
|
2508
|
+
}>;
|
|
2509
|
+
}>;
|
|
2510
|
+
readonly datetime: StructType<{
|
|
2511
|
+
readonly fieldId: StringType;
|
|
2512
|
+
readonly op: VariantType<{
|
|
2513
|
+
readonly before: DateTimeType;
|
|
2514
|
+
readonly after: DateTimeType;
|
|
2515
|
+
readonly between: StructType<{
|
|
2516
|
+
readonly from: DateTimeType;
|
|
2517
|
+
readonly to: DateTimeType;
|
|
2518
|
+
}>;
|
|
2519
|
+
}>;
|
|
2520
|
+
}>;
|
|
2521
|
+
readonly boolean: StructType<{
|
|
2522
|
+
readonly fieldId: StringType;
|
|
2523
|
+
readonly op: VariantType<{
|
|
2524
|
+
readonly is: BooleanType;
|
|
2525
|
+
}>;
|
|
2526
|
+
}>;
|
|
2527
|
+
}>>;
|
|
2528
|
+
}>>;
|
|
2529
|
+
readonly activeCohorts: SetType<StringType>;
|
|
2530
|
+
readonly breakdown: OptionType<StructType<{
|
|
2531
|
+
readonly fieldId: StringType;
|
|
2532
|
+
readonly limit: OptionType<IntegerType>;
|
|
2533
|
+
}>>;
|
|
2534
|
+
readonly search: OptionType<StringType>;
|
|
2535
|
+
readonly visible: OptionType<SetType<StringType>>;
|
|
2536
|
+
readonly selectedIndex: OptionType<IntegerType>;
|
|
2537
|
+
}>>;
|
|
2538
|
+
/** Replace the entire slice state. Rare — prefer the structured mutators. */
|
|
2539
|
+
readonly write: FunctionType<[StructType<{
|
|
2540
|
+
readonly range: OptionType<VariantType<{
|
|
2541
|
+
readonly datetime: StructType<{
|
|
2542
|
+
readonly from: DateTimeType;
|
|
2543
|
+
readonly to: DateTimeType;
|
|
2544
|
+
}>;
|
|
2545
|
+
readonly datetimePreset: VariantType<{
|
|
2546
|
+
readonly today: NullType;
|
|
2547
|
+
readonly last7d: NullType;
|
|
2548
|
+
readonly last30d: NullType;
|
|
2549
|
+
readonly last90d: NullType;
|
|
2550
|
+
readonly ytd: NullType;
|
|
2551
|
+
}>;
|
|
2552
|
+
readonly integer: StructType<{
|
|
2553
|
+
readonly from: IntegerType;
|
|
2554
|
+
readonly to: IntegerType;
|
|
2555
|
+
}>;
|
|
2556
|
+
readonly float: StructType<{
|
|
2557
|
+
readonly from: FloatType;
|
|
2558
|
+
readonly to: FloatType;
|
|
2559
|
+
}>;
|
|
2560
|
+
}>>;
|
|
2561
|
+
readonly compare: OptionType<VariantType<{
|
|
2562
|
+
readonly previousPeriod: NullType;
|
|
2563
|
+
readonly previousYear: NullType;
|
|
2564
|
+
}>>;
|
|
2565
|
+
readonly filters: ArrayType<VariantType<{
|
|
2566
|
+
readonly string: StructType<{
|
|
2567
|
+
readonly fieldId: StringType;
|
|
2568
|
+
readonly op: VariantType<{
|
|
2569
|
+
readonly eq: StringType;
|
|
2570
|
+
readonly neq: StringType;
|
|
2571
|
+
readonly in: SetType<StringType>;
|
|
2572
|
+
readonly notIn: SetType<StringType>;
|
|
2573
|
+
readonly contains: StringType;
|
|
2574
|
+
readonly matches: StringType;
|
|
2575
|
+
}>;
|
|
2576
|
+
}>;
|
|
2577
|
+
readonly integer: StructType<{
|
|
2578
|
+
readonly fieldId: StringType;
|
|
2579
|
+
readonly op: VariantType<{
|
|
2580
|
+
readonly eq: IntegerType;
|
|
2581
|
+
readonly neq: IntegerType;
|
|
2582
|
+
readonly lt: IntegerType;
|
|
2583
|
+
readonly lte: IntegerType;
|
|
2584
|
+
readonly gt: IntegerType;
|
|
2585
|
+
readonly gte: IntegerType;
|
|
2586
|
+
readonly in: SetType<IntegerType>;
|
|
2587
|
+
}>;
|
|
2588
|
+
}>;
|
|
2589
|
+
readonly float: StructType<{
|
|
2590
|
+
readonly fieldId: StringType;
|
|
2591
|
+
readonly op: VariantType<{
|
|
2592
|
+
readonly lt: FloatType;
|
|
2593
|
+
readonly lte: FloatType;
|
|
2594
|
+
readonly gt: FloatType;
|
|
2595
|
+
readonly gte: FloatType;
|
|
2596
|
+
}>;
|
|
2597
|
+
}>;
|
|
2598
|
+
readonly datetime: StructType<{
|
|
2599
|
+
readonly fieldId: StringType;
|
|
2600
|
+
readonly op: VariantType<{
|
|
2601
|
+
readonly before: DateTimeType;
|
|
2602
|
+
readonly after: DateTimeType;
|
|
2603
|
+
readonly between: StructType<{
|
|
2604
|
+
readonly from: DateTimeType;
|
|
2605
|
+
readonly to: DateTimeType;
|
|
2606
|
+
}>;
|
|
2607
|
+
}>;
|
|
2608
|
+
}>;
|
|
2609
|
+
readonly boolean: StructType<{
|
|
2610
|
+
readonly fieldId: StringType;
|
|
2611
|
+
readonly op: VariantType<{
|
|
2612
|
+
readonly is: BooleanType;
|
|
2613
|
+
}>;
|
|
2614
|
+
}>;
|
|
2615
|
+
}>>;
|
|
2616
|
+
readonly cohorts: ArrayType<StructType<{
|
|
2617
|
+
readonly id: StringType;
|
|
2618
|
+
readonly name: StringType;
|
|
2619
|
+
readonly filters: ArrayType<VariantType<{
|
|
2620
|
+
readonly string: StructType<{
|
|
2621
|
+
readonly fieldId: StringType;
|
|
2622
|
+
readonly op: VariantType<{
|
|
2623
|
+
readonly eq: StringType;
|
|
2624
|
+
readonly neq: StringType;
|
|
2625
|
+
readonly in: SetType<StringType>;
|
|
2626
|
+
readonly notIn: SetType<StringType>;
|
|
2627
|
+
readonly contains: StringType;
|
|
2628
|
+
readonly matches: StringType;
|
|
2629
|
+
}>;
|
|
2630
|
+
}>;
|
|
2631
|
+
readonly integer: StructType<{
|
|
2632
|
+
readonly fieldId: StringType;
|
|
2633
|
+
readonly op: VariantType<{
|
|
2634
|
+
readonly eq: IntegerType;
|
|
2635
|
+
readonly neq: IntegerType;
|
|
2636
|
+
readonly lt: IntegerType;
|
|
2637
|
+
readonly lte: IntegerType;
|
|
2638
|
+
readonly gt: IntegerType;
|
|
2639
|
+
readonly gte: IntegerType;
|
|
2640
|
+
readonly in: SetType<IntegerType>;
|
|
2641
|
+
}>;
|
|
2642
|
+
}>;
|
|
2643
|
+
readonly float: StructType<{
|
|
2644
|
+
readonly fieldId: StringType;
|
|
2645
|
+
readonly op: VariantType<{
|
|
2646
|
+
readonly lt: FloatType;
|
|
2647
|
+
readonly lte: FloatType;
|
|
2648
|
+
readonly gt: FloatType;
|
|
2649
|
+
readonly gte: FloatType;
|
|
2650
|
+
}>;
|
|
2651
|
+
}>;
|
|
2652
|
+
readonly datetime: StructType<{
|
|
2653
|
+
readonly fieldId: StringType;
|
|
2654
|
+
readonly op: VariantType<{
|
|
2655
|
+
readonly before: DateTimeType;
|
|
2656
|
+
readonly after: DateTimeType;
|
|
2657
|
+
readonly between: StructType<{
|
|
2658
|
+
readonly from: DateTimeType;
|
|
2659
|
+
readonly to: DateTimeType;
|
|
2660
|
+
}>;
|
|
2661
|
+
}>;
|
|
2662
|
+
}>;
|
|
2663
|
+
readonly boolean: StructType<{
|
|
2664
|
+
readonly fieldId: StringType;
|
|
2665
|
+
readonly op: VariantType<{
|
|
2666
|
+
readonly is: BooleanType;
|
|
2667
|
+
}>;
|
|
2668
|
+
}>;
|
|
2669
|
+
}>>;
|
|
2670
|
+
}>>;
|
|
2671
|
+
readonly activeCohorts: SetType<StringType>;
|
|
2672
|
+
readonly breakdown: OptionType<StructType<{
|
|
2673
|
+
readonly fieldId: StringType;
|
|
2674
|
+
readonly limit: OptionType<IntegerType>;
|
|
2675
|
+
}>>;
|
|
2676
|
+
readonly search: OptionType<StringType>;
|
|
2677
|
+
readonly visible: OptionType<SetType<StringType>>;
|
|
2678
|
+
readonly selectedIndex: OptionType<IntegerType>;
|
|
2679
|
+
}>], NullType>;
|
|
2680
|
+
/** Set or clear the ranged narrowing. `none` clears; `some(range)` activates. */
|
|
2681
|
+
readonly setRange: FunctionType<[OptionType<VariantType<{
|
|
1573
2682
|
readonly datetime: StructType<{
|
|
1574
2683
|
readonly from: DateTimeType;
|
|
1575
2684
|
readonly to: DateTimeType;
|
|
@@ -1589,12 +2698,14 @@ export declare const Slice: {
|
|
|
1589
2698
|
readonly from: FloatType;
|
|
1590
2699
|
readonly to: FloatType;
|
|
1591
2700
|
}>;
|
|
1592
|
-
}
|
|
1593
|
-
|
|
2701
|
+
}>>], NullType>;
|
|
2702
|
+
/** Set or clear the comparison period. `none` clears. */
|
|
2703
|
+
readonly setCompare: FunctionType<[OptionType<VariantType<{
|
|
1594
2704
|
readonly previousPeriod: NullType;
|
|
1595
2705
|
readonly previousYear: NullType;
|
|
1596
|
-
}
|
|
1597
|
-
|
|
2706
|
+
}>>], NullType>;
|
|
2707
|
+
/** Append a new filter clause to the AND chain. */
|
|
2708
|
+
readonly addFilter: FunctionType<[VariantType<{
|
|
1598
2709
|
readonly string: StructType<{
|
|
1599
2710
|
readonly fieldId: StringType;
|
|
1600
2711
|
readonly op: VariantType<{
|
|
@@ -1644,8 +2755,13 @@ export declare const Slice: {
|
|
|
1644
2755
|
readonly is: BooleanType;
|
|
1645
2756
|
}>;
|
|
1646
2757
|
}>;
|
|
1647
|
-
}
|
|
1648
|
-
|
|
2758
|
+
}>], NullType>;
|
|
2759
|
+
/** Remove the filter at the given index. */
|
|
2760
|
+
readonly removeFilter: FunctionType<[IntegerType], NullType>;
|
|
2761
|
+
/** Clear every applied filter (and active cohorts). */
|
|
2762
|
+
readonly clearFilters: FunctionType<[], NullType>;
|
|
2763
|
+
/** Register a new cohort definition. Errors if id already exists. */
|
|
2764
|
+
readonly defineCohort: FunctionType<[StructType<{
|
|
1649
2765
|
readonly id: StringType;
|
|
1650
2766
|
readonly name: StringType;
|
|
1651
2767
|
readonly filters: ArrayType<VariantType<{
|
|
@@ -1699,20 +2815,139 @@ export declare const Slice: {
|
|
|
1699
2815
|
}>;
|
|
1700
2816
|
}>;
|
|
1701
2817
|
}>>;
|
|
1702
|
-
}
|
|
1703
|
-
|
|
1704
|
-
readonly
|
|
2818
|
+
}>], NullType>;
|
|
2819
|
+
/** Replace the cohort with the given id in place (keeps active state). */
|
|
2820
|
+
readonly updateCohort: FunctionType<[StringType, StructType<{
|
|
2821
|
+
readonly id: StringType;
|
|
2822
|
+
readonly name: StringType;
|
|
2823
|
+
readonly filters: ArrayType<VariantType<{
|
|
2824
|
+
readonly string: StructType<{
|
|
2825
|
+
readonly fieldId: StringType;
|
|
2826
|
+
readonly op: VariantType<{
|
|
2827
|
+
readonly eq: StringType;
|
|
2828
|
+
readonly neq: StringType;
|
|
2829
|
+
readonly in: SetType<StringType>;
|
|
2830
|
+
readonly notIn: SetType<StringType>;
|
|
2831
|
+
readonly contains: StringType;
|
|
2832
|
+
readonly matches: StringType;
|
|
2833
|
+
}>;
|
|
2834
|
+
}>;
|
|
2835
|
+
readonly integer: StructType<{
|
|
2836
|
+
readonly fieldId: StringType;
|
|
2837
|
+
readonly op: VariantType<{
|
|
2838
|
+
readonly eq: IntegerType;
|
|
2839
|
+
readonly neq: IntegerType;
|
|
2840
|
+
readonly lt: IntegerType;
|
|
2841
|
+
readonly lte: IntegerType;
|
|
2842
|
+
readonly gt: IntegerType;
|
|
2843
|
+
readonly gte: IntegerType;
|
|
2844
|
+
readonly in: SetType<IntegerType>;
|
|
2845
|
+
}>;
|
|
2846
|
+
}>;
|
|
2847
|
+
readonly float: StructType<{
|
|
2848
|
+
readonly fieldId: StringType;
|
|
2849
|
+
readonly op: VariantType<{
|
|
2850
|
+
readonly lt: FloatType;
|
|
2851
|
+
readonly lte: FloatType;
|
|
2852
|
+
readonly gt: FloatType;
|
|
2853
|
+
readonly gte: FloatType;
|
|
2854
|
+
}>;
|
|
2855
|
+
}>;
|
|
2856
|
+
readonly datetime: StructType<{
|
|
2857
|
+
readonly fieldId: StringType;
|
|
2858
|
+
readonly op: VariantType<{
|
|
2859
|
+
readonly before: DateTimeType;
|
|
2860
|
+
readonly after: DateTimeType;
|
|
2861
|
+
readonly between: StructType<{
|
|
2862
|
+
readonly from: DateTimeType;
|
|
2863
|
+
readonly to: DateTimeType;
|
|
2864
|
+
}>;
|
|
2865
|
+
}>;
|
|
2866
|
+
}>;
|
|
2867
|
+
readonly boolean: StructType<{
|
|
2868
|
+
readonly fieldId: StringType;
|
|
2869
|
+
readonly op: VariantType<{
|
|
2870
|
+
readonly is: BooleanType;
|
|
2871
|
+
}>;
|
|
2872
|
+
}>;
|
|
2873
|
+
}>>;
|
|
2874
|
+
}>], NullType>;
|
|
2875
|
+
/** Drop a cohort from the registry (and from active cohorts). */
|
|
2876
|
+
readonly removeCohort: FunctionType<[StringType], NullType>;
|
|
2877
|
+
/** Flip whether the cohort with this id is being applied. */
|
|
2878
|
+
readonly toggleCohort: FunctionType<[StringType], NullType>;
|
|
2879
|
+
/** Set or clear the group-by dimension. `none` = no breakdown. */
|
|
2880
|
+
readonly setBreakdown: FunctionType<[OptionType<StructType<{
|
|
1705
2881
|
readonly fieldId: StringType;
|
|
1706
2882
|
readonly limit: OptionType<IntegerType>;
|
|
1707
|
-
}
|
|
1708
|
-
|
|
1709
|
-
readonly
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
readonly
|
|
1714
|
-
|
|
1715
|
-
|
|
2883
|
+
}>>], NullType>;
|
|
2884
|
+
/** Set the typeahead query. `none` clears; `some("query")` activates it. */
|
|
2885
|
+
readonly setSearch: FunctionType<[OptionType<StringType>], NullType>;
|
|
2886
|
+
/** Set the visible-series whitelist. `none` = all series visible. */
|
|
2887
|
+
readonly setVisible: FunctionType<[OptionType<SetType<StringType>>], NullType>;
|
|
2888
|
+
/** Set the master-detail selection index. `none` = no selection. */
|
|
2889
|
+
readonly select: FunctionType<[OptionType<IntegerType>], NullType>;
|
|
2890
|
+
/** True when at least one narrowing is active. */
|
|
2891
|
+
readonly isActive: FunctionType<[], BooleanType>;
|
|
2892
|
+
/** Count of currently-applied narrowings — used by `Slice.Summary`. */
|
|
2893
|
+
readonly activeCount: FunctionType<[], IntegerType>;
|
|
2894
|
+
/** Selectable breakdown dimensions for this slice's config → `[{ fieldId, label }]`. */
|
|
2895
|
+
readonly dimensions: FunctionType<[], ArrayType<StructType<{
|
|
2896
|
+
readonly fieldId: StringType;
|
|
2897
|
+
readonly label: StringType;
|
|
2898
|
+
}>>>;
|
|
2899
|
+
/** Every filterable field → `[{ fieldId, label, kind }]`; feeds the predicate builder. */
|
|
2900
|
+
readonly fields: FunctionType<[], ArrayType<StructType<{
|
|
2901
|
+
readonly fieldId: StringType;
|
|
2902
|
+
readonly label: StringType;
|
|
2903
|
+
readonly kind: StringType;
|
|
2904
|
+
}>>>;
|
|
2905
|
+
/** Field ids the typeahead searches over — the chrome rail shows Search when non-empty. */
|
|
2906
|
+
readonly searchFieldIds: FunctionType<[], ArrayType<StringType>>;
|
|
2907
|
+
/** Field id `Slice.Range` narrows on — the chrome rail shows Range when `some`. */
|
|
2908
|
+
readonly rangeFieldId: FunctionType<[], OptionType<StringType>>;
|
|
2909
|
+
/** Total bound rows, before any narrowing — used by the chrome footer ("N of M"). */
|
|
2910
|
+
readonly totalCount: FunctionType<[], IntegerType>;
|
|
2911
|
+
/** Count of bound rows passing every active narrowing — used by Filter / Summary. */
|
|
2912
|
+
readonly resultCount: FunctionType<[], IntegerType>;
|
|
2913
|
+
/** Active-breakdown series over the bound rows → `[{ key, count }]` — Breakdown / Legend. */
|
|
2914
|
+
readonly groups: FunctionType<[], ArrayType<StructType<{
|
|
2915
|
+
readonly key: StringType;
|
|
2916
|
+
readonly count: IntegerType;
|
|
2917
|
+
readonly color: StringType;
|
|
2918
|
+
}>>>;
|
|
2919
|
+
/**
|
|
2920
|
+
* Pivot the narrowed rows into chart-ready multi-series long format:
|
|
2921
|
+
* grouped by the active breakdown dimension (`key`) and the given x-axis
|
|
2922
|
+
* field, summing the value field → `[{ key, x, value }]`. Feed a
|
|
2923
|
+
* multi-series chart by filtering per (statically-known) series key.
|
|
2924
|
+
* @param xFieldId - field whose value positions each point on the x-axis
|
|
2925
|
+
* @param valueFieldId - numeric field summed into each point's `value`
|
|
2926
|
+
*/
|
|
2927
|
+
readonly series: FunctionType<[StringType, StringType], ArrayType<StructType<{
|
|
2928
|
+
readonly key: StringType;
|
|
2929
|
+
readonly color: StringType;
|
|
2930
|
+
readonly points: ArrayType<StructType<{
|
|
2931
|
+
readonly x: VariantType<{
|
|
2932
|
+
readonly category: StringType;
|
|
2933
|
+
readonly number: FloatType;
|
|
2934
|
+
readonly time: DateTimeType;
|
|
2935
|
+
}>;
|
|
2936
|
+
readonly value: FloatType;
|
|
2937
|
+
readonly size: OptionType<FloatType>;
|
|
2938
|
+
}>>;
|
|
2939
|
+
}>>>;
|
|
2940
|
+
/** Typeahead suggestions for the current query (via the bind `toMatch`) → `[{ id, label, meta }]`. */
|
|
2941
|
+
readonly matches: FunctionType<[], ArrayType<StructType<{
|
|
2942
|
+
readonly id: StringType;
|
|
2943
|
+
readonly label: StringType;
|
|
2944
|
+
readonly meta: OptionType<StringType>;
|
|
2945
|
+
}>>>;
|
|
2946
|
+
/** Size of each cohort over the bound rows, keyed by cohort id — Cohort chips. */
|
|
2947
|
+
readonly cohortCounts: FunctionType<[], DictType<StringType, IntegerType>>;
|
|
2948
|
+
}>>;
|
|
2949
|
+
/** Narrowed rows for a bound slice — the typed data feed (`Slice.rows([RowType], slice)`). */
|
|
2950
|
+
readonly rows: import("@elaraai/east").GenericPlatformDefinition<readonly ["T"], readonly [StructType<{
|
|
1716
2951
|
/** The store key this slice is bound to — lets renderers self-subscribe. */
|
|
1717
2952
|
readonly key: StringType;
|
|
1718
2953
|
/** Read the entire slice state; tracked for reactive re-render. */
|
|
@@ -2224,11 +3459,11 @@ export declare const Slice: {
|
|
|
2224
3459
|
readonly label: StringType;
|
|
2225
3460
|
readonly kind: StringType;
|
|
2226
3461
|
}>>>;
|
|
2227
|
-
/** Field ids the typeahead searches over —
|
|
3462
|
+
/** Field ids the typeahead searches over — the chrome rail shows Search when non-empty. */
|
|
2228
3463
|
readonly searchFieldIds: FunctionType<[], ArrayType<StringType>>;
|
|
2229
|
-
/** Field id `Slice.Range` narrows on —
|
|
3464
|
+
/** Field id `Slice.Range` narrows on — the chrome rail shows Range when `some`. */
|
|
2230
3465
|
readonly rangeFieldId: FunctionType<[], OptionType<StringType>>;
|
|
2231
|
-
/** Total bound rows, before any narrowing — used by the
|
|
3466
|
+
/** Total bound rows, before any narrowing — used by the chrome footer ("N of M"). */
|
|
2232
3467
|
readonly totalCount: FunctionType<[], IntegerType>;
|
|
2233
3468
|
/** Count of bound rows passing every active narrowing — used by Filter / Summary. */
|
|
2234
3469
|
readonly resultCount: FunctionType<[], IntegerType>;
|
|
@@ -2250,8 +3485,13 @@ export declare const Slice: {
|
|
|
2250
3485
|
readonly key: StringType;
|
|
2251
3486
|
readonly color: StringType;
|
|
2252
3487
|
readonly points: ArrayType<StructType<{
|
|
2253
|
-
readonly x:
|
|
3488
|
+
readonly x: VariantType<{
|
|
3489
|
+
readonly category: StringType;
|
|
3490
|
+
readonly number: FloatType;
|
|
3491
|
+
readonly time: DateTimeType;
|
|
3492
|
+
}>;
|
|
2254
3493
|
readonly value: FloatType;
|
|
3494
|
+
readonly size: OptionType<FloatType>;
|
|
2255
3495
|
}>>;
|
|
2256
3496
|
}>>>;
|
|
2257
3497
|
/** Typeahead suggestions for the current query (via the bind `toMatch`) → `[{ id, label, meta }]`. */
|
|
@@ -2262,7 +3502,7 @@ export declare const Slice: {
|
|
|
2262
3502
|
}>>>;
|
|
2263
3503
|
/** Size of each cohort over the bound rows, keyed by cohort id — Cohort chips. */
|
|
2264
3504
|
readonly cohortCounts: FunctionType<[], DictType<StringType, IntegerType>>;
|
|
2265
|
-
}>>;
|
|
3505
|
+
}>], ArrayType<"T">>;
|
|
2266
3506
|
/**
|
|
2267
3507
|
* Pure narrowing engine. State + config + data → narrowed data.
|
|
2268
3508
|
* Stateless, deterministic, host-impl-portable.
|
|
@@ -3794,11 +5034,11 @@ export declare const Slice: {
|
|
|
3794
5034
|
readonly label: StringType;
|
|
3795
5035
|
readonly kind: StringType;
|
|
3796
5036
|
}>>>;
|
|
3797
|
-
/** Field ids the typeahead searches over —
|
|
5037
|
+
/** Field ids the typeahead searches over — the chrome rail shows Search when non-empty. */
|
|
3798
5038
|
readonly searchFieldIds: FunctionType<[], ArrayType<StringType>>;
|
|
3799
|
-
/** Field id `Slice.Range` narrows on —
|
|
5039
|
+
/** Field id `Slice.Range` narrows on — the chrome rail shows Range when `some`. */
|
|
3800
5040
|
readonly rangeFieldId: FunctionType<[], OptionType<StringType>>;
|
|
3801
|
-
/** Total bound rows, before any narrowing — used by the
|
|
5041
|
+
/** Total bound rows, before any narrowing — used by the chrome footer ("N of M"). */
|
|
3802
5042
|
readonly totalCount: FunctionType<[], IntegerType>;
|
|
3803
5043
|
/** Count of bound rows passing every active narrowing — used by Filter / Summary. */
|
|
3804
5044
|
readonly resultCount: FunctionType<[], IntegerType>;
|
|
@@ -3820,8 +5060,13 @@ export declare const Slice: {
|
|
|
3820
5060
|
readonly key: StringType;
|
|
3821
5061
|
readonly color: StringType;
|
|
3822
5062
|
readonly points: ArrayType<StructType<{
|
|
3823
|
-
readonly x:
|
|
5063
|
+
readonly x: VariantType<{
|
|
5064
|
+
readonly category: StringType;
|
|
5065
|
+
readonly number: FloatType;
|
|
5066
|
+
readonly time: DateTimeType;
|
|
5067
|
+
}>;
|
|
3824
5068
|
readonly value: FloatType;
|
|
5069
|
+
readonly size: OptionType<FloatType>;
|
|
3825
5070
|
}>>;
|
|
3826
5071
|
}>>>;
|
|
3827
5072
|
/** Typeahead suggestions for the current query (via the bind `toMatch`) → `[{ id, label, meta }]`. */
|
|
@@ -3839,15 +5084,25 @@ export declare const Slice: {
|
|
|
3839
5084
|
readonly color: StringType;
|
|
3840
5085
|
}>;
|
|
3841
5086
|
readonly SeriesPoint: StructType<{
|
|
3842
|
-
readonly x:
|
|
5087
|
+
readonly x: VariantType<{
|
|
5088
|
+
readonly category: StringType;
|
|
5089
|
+
readonly number: FloatType;
|
|
5090
|
+
readonly time: DateTimeType;
|
|
5091
|
+
}>;
|
|
3843
5092
|
readonly value: FloatType;
|
|
5093
|
+
readonly size: OptionType<FloatType>;
|
|
3844
5094
|
}>;
|
|
3845
5095
|
readonly Series: StructType<{
|
|
3846
5096
|
readonly key: StringType;
|
|
3847
5097
|
readonly color: StringType;
|
|
3848
5098
|
readonly points: ArrayType<StructType<{
|
|
3849
|
-
readonly x:
|
|
5099
|
+
readonly x: VariantType<{
|
|
5100
|
+
readonly category: StringType;
|
|
5101
|
+
readonly number: FloatType;
|
|
5102
|
+
readonly time: DateTimeType;
|
|
5103
|
+
}>;
|
|
3850
5104
|
readonly value: FloatType;
|
|
5105
|
+
readonly size: OptionType<FloatType>;
|
|
3851
5106
|
}>>;
|
|
3852
5107
|
}>;
|
|
3853
5108
|
readonly Dimension: StructType<{
|