@elaraai/east-ui 1.0.80 → 1.0.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/charts/chart/index.d.ts +4 -0
- package/dist/src/charts/chart/index.d.ts.map +1 -1
- package/dist/src/charts/spec/index.d.ts +8 -0
- package/dist/src/charts/spec/index.d.ts.map +1 -1
- package/dist/src/collections/deck/index.d.ts +8 -0
- package/dist/src/collections/deck/index.d.ts.map +1 -1
- package/dist/src/collections/index.d.ts +2 -2
- package/dist/src/collections/index.d.ts.map +1 -1
- package/dist/src/collections/index.js.map +1 -1
- package/dist/src/collections/library/index.d.ts +4 -0
- package/dist/src/collections/library/index.d.ts.map +1 -1
- package/dist/src/collections/library/types.d.ts +4 -0
- package/dist/src/collections/library/types.d.ts.map +1 -1
- package/dist/src/collections/matrix/index.d.ts +56 -19
- package/dist/src/collections/matrix/index.d.ts.map +1 -1
- package/dist/src/collections/matrix/index.js +38 -24
- package/dist/src/collections/matrix/index.js.map +1 -1
- package/dist/src/collections/plan/assemble.d.ts +655 -2113
- package/dist/src/collections/plan/assemble.d.ts.map +1 -1
- package/dist/src/collections/plan/assemble.js +159 -136
- package/dist/src/collections/plan/assemble.js.map +1 -1
- package/dist/src/collections/plan/builders.d.ts +193 -40
- package/dist/src/collections/plan/builders.d.ts.map +1 -1
- package/dist/src/collections/plan/builders.js +162 -32
- package/dist/src/collections/plan/builders.js.map +1 -1
- package/dist/src/collections/plan/factories.d.ts +290 -116
- package/dist/src/collections/plan/factories.d.ts.map +1 -1
- package/dist/src/collections/plan/factories.js +281 -156
- package/dist/src/collections/plan/factories.js.map +1 -1
- package/dist/src/collections/plan/index.d.ts +111 -58
- package/dist/src/collections/plan/index.d.ts.map +1 -1
- package/dist/src/collections/plan/index.js +62 -31
- package/dist/src/collections/plan/index.js.map +1 -1
- package/dist/src/collections/plan/ir.d.ts +759 -1769
- package/dist/src/collections/plan/ir.d.ts.map +1 -1
- package/dist/src/collections/plan/ir.js +51 -27
- package/dist/src/collections/plan/ir.js.map +1 -1
- package/dist/src/collections/plan/pick.d.ts +89 -71
- package/dist/src/collections/plan/pick.d.ts.map +1 -1
- package/dist/src/collections/plan/pick.js +101 -86
- package/dist/src/collections/plan/pick.js.map +1 -1
- package/dist/src/collections/plan/root.d.ts +164 -77
- package/dist/src/collections/plan/root.d.ts.map +1 -1
- package/dist/src/collections/plan/root.js +350 -42
- package/dist/src/collections/plan/root.js.map +1 -1
- package/dist/src/collections/plan/series.d.ts +12524 -10527
- package/dist/src/collections/plan/series.d.ts.map +1 -1
- package/dist/src/collections/plan/series.js +1596 -298
- package/dist/src/collections/plan/series.js.map +1 -1
- package/dist/src/collections/plan/types.d.ts +6115 -2802
- package/dist/src/collections/plan/types.d.ts.map +1 -1
- package/dist/src/collections/plan/types.js +575 -170
- package/dist/src/collections/plan/types.js.map +1 -1
- package/dist/src/collections/sheet/bridge.d.ts +154 -43
- package/dist/src/collections/sheet/bridge.d.ts.map +1 -1
- package/dist/src/collections/sheet/bridge.js +383 -240
- package/dist/src/collections/sheet/bridge.js.map +1 -1
- package/dist/src/collections/sheet/columns.d.ts +66 -16
- package/dist/src/collections/sheet/columns.d.ts.map +1 -1
- package/dist/src/collections/sheet/columns.js +25 -25
- package/dist/src/collections/sheet/columns.js.map +1 -1
- package/dist/src/collections/sheet/context-bridge.d.ts +48 -0
- package/dist/src/collections/sheet/context-bridge.d.ts.map +1 -0
- package/dist/src/collections/sheet/context-bridge.js +216 -0
- package/dist/src/collections/sheet/context-bridge.js.map +1 -0
- package/dist/src/collections/sheet/draft-bridge.d.ts +37 -0
- package/dist/src/collections/sheet/draft-bridge.d.ts.map +1 -0
- package/dist/src/collections/sheet/draft-bridge.js +153 -0
- package/dist/src/collections/sheet/draft-bridge.js.map +1 -0
- package/dist/src/collections/sheet/drafts.d.ts +14 -0
- package/dist/src/collections/sheet/drafts.d.ts.map +1 -0
- package/dist/src/collections/sheet/drafts.js +14 -0
- package/dist/src/collections/sheet/drafts.js.map +1 -0
- package/dist/src/collections/sheet/editing-bridge.d.ts +36 -0
- package/dist/src/collections/sheet/editing-bridge.d.ts.map +1 -0
- package/dist/src/collections/sheet/editing-bridge.js +196 -0
- package/dist/src/collections/sheet/editing-bridge.js.map +1 -0
- package/dist/src/collections/sheet/editing-types.d.ts +268 -0
- package/dist/src/collections/sheet/editing-types.d.ts.map +1 -0
- package/dist/src/collections/sheet/editing-types.js +34 -0
- package/dist/src/collections/sheet/editing-types.js.map +1 -0
- package/dist/src/collections/sheet/edits.d.ts +37 -0
- package/dist/src/collections/sheet/edits.d.ts.map +1 -0
- package/dist/src/collections/sheet/edits.js +31 -0
- package/dist/src/collections/sheet/edits.js.map +1 -0
- package/dist/src/collections/sheet/group.d.ts +165 -0
- package/dist/src/collections/sheet/group.d.ts.map +1 -0
- package/dist/src/collections/sheet/group.js +52 -0
- package/dist/src/collections/sheet/group.js.map +1 -0
- package/dist/src/collections/sheet/index.d.ts +171 -27
- package/dist/src/collections/sheet/index.d.ts.map +1 -1
- package/dist/src/collections/sheet/index.js +99 -17
- package/dist/src/collections/sheet/index.js.map +1 -1
- package/dist/src/collections/sheet/link.d.ts +22 -16
- package/dist/src/collections/sheet/link.d.ts.map +1 -1
- package/dist/src/collections/sheet/link.js +18 -12
- package/dist/src/collections/sheet/link.js.map +1 -1
- package/dist/src/collections/sheet/registers.d.ts +152 -5
- package/dist/src/collections/sheet/registers.d.ts.map +1 -1
- package/dist/src/collections/sheet/registers.js +154 -5
- package/dist/src/collections/sheet/registers.js.map +1 -1
- package/dist/src/collections/sheet/root.d.ts +175 -26
- package/dist/src/collections/sheet/root.d.ts.map +1 -1
- package/dist/src/collections/sheet/root.js +150 -26
- package/dist/src/collections/sheet/root.js.map +1 -1
- package/dist/src/collections/sheet/seed-bridge.d.ts +14 -0
- package/dist/src/collections/sheet/seed-bridge.d.ts.map +1 -0
- package/dist/src/collections/sheet/seed-bridge.js +51 -0
- package/dist/src/collections/sheet/seed-bridge.js.map +1 -0
- package/dist/src/collections/sheet/sub-rows.d.ts +249 -0
- package/dist/src/collections/sheet/sub-rows.d.ts.map +1 -0
- package/dist/src/collections/sheet/sub-rows.js +222 -0
- package/dist/src/collections/sheet/sub-rows.js.map +1 -0
- package/dist/src/collections/sheet/transactions.d.ts +76 -0
- package/dist/src/collections/sheet/transactions.d.ts.map +1 -0
- package/dist/src/collections/sheet/transactions.js +40 -0
- package/dist/src/collections/sheet/transactions.js.map +1 -0
- package/dist/src/collections/sheet/types.d.ts +12034 -3651
- package/dist/src/collections/sheet/types.d.ts.map +1 -1
- package/dist/src/collections/sheet/types.js +365 -48
- package/dist/src/collections/sheet/types.js.map +1 -1
- package/dist/src/collections/table/index.d.ts +98 -123
- package/dist/src/collections/table/index.d.ts.map +1 -1
- package/dist/src/collections/table/index.js +97 -111
- package/dist/src/collections/table/index.js.map +1 -1
- package/dist/src/collections/table/types.d.ts +87 -31
- package/dist/src/collections/table/types.d.ts.map +1 -1
- package/dist/src/collections/table/types.js +51 -26
- package/dist/src/collections/table/types.js.map +1 -1
- package/dist/src/collections/value-tree/flatten.d.ts.map +1 -1
- package/dist/src/collections/value-tree/flatten.js +4 -1
- package/dist/src/collections/value-tree/flatten.js.map +1 -1
- package/dist/src/component.d.ts +5075 -4079
- package/dist/src/component.d.ts.map +1 -1
- package/dist/src/component.js +46 -46
- package/dist/src/component.js.map +1 -1
- package/dist/src/contracts/approval.d.ts +10 -8
- package/dist/src/contracts/approval.d.ts.map +1 -1
- package/dist/src/contracts/approval.js +10 -8
- package/dist/src/contracts/approval.js.map +1 -1
- package/dist/src/contracts/drag.d.ts +11 -9
- package/dist/src/contracts/drag.d.ts.map +1 -1
- package/dist/src/contracts/drag.js +28 -21
- package/dist/src/contracts/drag.js.map +1 -1
- package/dist/src/contracts/editing.d.ts +1283 -0
- package/dist/src/contracts/editing.d.ts.map +1 -0
- package/dist/src/contracts/editing.js +711 -0
- package/dist/src/contracts/editing.js.map +1 -0
- package/dist/src/contracts/index.d.ts +2 -1
- package/dist/src/contracts/index.d.ts.map +1 -1
- package/dist/src/contracts/index.js +2 -1
- package/dist/src/contracts/index.js.map +1 -1
- package/dist/src/contracts/pick.d.ts +6 -7
- package/dist/src/contracts/pick.d.ts.map +1 -1
- package/dist/src/contracts/pick.js +6 -7
- package/dist/src/contracts/pick.js.map +1 -1
- package/dist/src/contracts/review.d.ts +3 -1
- package/dist/src/contracts/review.d.ts.map +1 -1
- package/dist/src/contracts/review.js +3 -1
- package/dist/src/contracts/review.js.map +1 -1
- package/dist/src/contracts/source.d.ts +270 -80
- package/dist/src/contracts/source.d.ts.map +1 -1
- package/dist/src/contracts/source.js +357 -58
- package/dist/src/contracts/source.js.map +1 -1
- package/dist/src/display/chip-rail/index.d.ts.map +1 -1
- package/dist/src/display/chip-rail/index.js +10 -10
- package/dist/src/display/chip-rail/index.js.map +1 -1
- package/dist/src/extension.d.ts +2 -1
- package/dist/src/extension.d.ts.map +1 -1
- package/dist/src/extension.js +2 -1
- package/dist/src/extension.js.map +1 -1
- package/dist/src/format/index.d.ts +1 -154
- package/dist/src/format/index.d.ts.map +1 -1
- package/dist/src/format/types.d.ts +35 -23
- package/dist/src/format/types.d.ts.map +1 -1
- package/dist/src/format/types.js +16 -14
- package/dist/src/format/types.js.map +1 -1
- package/dist/src/forms/field/index.js +4 -4
- package/dist/src/forms/field/index.js.map +1 -1
- package/dist/src/forms/file-upload/index.js +16 -16
- package/dist/src/forms/file-upload/index.js.map +1 -1
- package/dist/src/index.d.ts +4 -2
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +12 -5
- package/dist/src/index.js.map +1 -1
- package/dist/src/internal.d.ts +8 -3
- package/dist/src/internal.d.ts.map +1 -1
- package/dist/src/internal.js +11 -3
- package/dist/src/internal.js.map +1 -1
- package/dist/src/layout/box/index.d.ts.map +1 -1
- package/dist/src/layout/box/index.js +47 -47
- package/dist/src/layout/box/index.js.map +1 -1
- package/dist/src/layout/flex/index.d.ts.map +1 -1
- package/dist/src/layout/flex/index.js +47 -47
- package/dist/src/layout/flex/index.js.map +1 -1
- package/dist/src/layout/grid/index.js +11 -11
- package/dist/src/layout/grid/index.js.map +1 -1
- package/dist/src/layout/scroll-area/index.d.ts.map +1 -1
- package/dist/src/layout/scroll-area/index.js +8 -8
- package/dist/src/layout/scroll-area/index.js.map +1 -1
- package/dist/src/layout/separator/index.d.ts.map +1 -1
- package/dist/src/layout/separator/index.js +6 -6
- package/dist/src/layout/separator/index.js.map +1 -1
- package/dist/src/layout/stack/index.d.ts.map +1 -1
- package/dist/src/layout/stack/index.js +46 -46
- package/dist/src/layout/stack/index.js.map +1 -1
- package/dist/src/layout/sticky/index.d.ts.map +1 -1
- package/dist/src/layout/sticky/index.js +8 -8
- package/dist/src/layout/sticky/index.js.map +1 -1
- package/dist/src/overlays/action-bar/index.d.ts.map +1 -1
- package/dist/src/overlays/action-bar/index.js +8 -8
- package/dist/src/overlays/action-bar/index.js.map +1 -1
- package/dist/src/platform/index.d.ts +1 -1
- package/dist/src/platform/index.d.ts.map +1 -1
- package/dist/src/platform/index.js +1 -1
- package/dist/src/platform/index.js.map +1 -1
- package/dist/src/platform/slice/impl.d.ts +62 -51
- package/dist/src/platform/slice/impl.d.ts.map +1 -1
- package/dist/src/platform/slice/impl.js +155 -72
- package/dist/src/platform/slice/impl.js.map +1 -1
- package/dist/src/platform/slice/index.d.ts +3744 -2226
- package/dist/src/platform/slice/index.d.ts.map +1 -1
- package/dist/src/platform/slice/index.js +43 -1
- package/dist/src/platform/slice/index.js.map +1 -1
- package/dist/src/runtime/collections/deck.d.ts +4 -0
- package/dist/src/runtime/collections/deck.d.ts.map +1 -1
- package/dist/src/runtime/collections/matrix.d.ts +10 -9
- package/dist/src/runtime/collections/matrix.d.ts.map +1 -1
- package/dist/src/runtime/collections/matrix.js +11 -6
- package/dist/src/runtime/collections/matrix.js.map +1 -1
- package/dist/src/runtime/collections/plan.d.ts +148 -65
- package/dist/src/runtime/collections/plan.d.ts.map +1 -1
- package/dist/src/runtime/collections/plan.js +155 -67
- package/dist/src/runtime/collections/plan.js.map +1 -1
- package/dist/src/runtime/collections/sheet.d.ts +56 -23
- package/dist/src/runtime/collections/sheet.d.ts.map +1 -1
- package/dist/src/runtime/collections/sheet.js +30 -22
- package/dist/src/runtime/collections/sheet.js.map +1 -1
- package/dist/src/runtime/collections/table.d.ts +18 -11
- package/dist/src/runtime/collections/table.d.ts.map +1 -1
- package/dist/src/runtime/collections/table.js +7 -4
- package/dist/src/runtime/collections/table.js.map +1 -1
- package/dist/src/shared/reify.d.ts +4 -46
- package/dist/src/shared/reify.d.ts.map +1 -1
- package/dist/src/shared/reify.js +4 -61
- package/dist/src/shared/reify.js.map +1 -1
- package/dist/src/shared/tree.d.ts +88 -0
- package/dist/src/shared/tree.d.ts.map +1 -0
- package/dist/src/shared/tree.js +134 -0
- package/dist/src/shared/tree.js.map +1 -0
- package/dist/src/slice/breakdown/index.d.ts +4 -0
- package/dist/src/slice/breakdown/index.d.ts.map +1 -1
- package/dist/src/slice/breakdown/types.d.ts +4 -0
- package/dist/src/slice/breakdown/types.d.ts.map +1 -1
- package/dist/src/slice/cohort/index.d.ts +24 -4
- package/dist/src/slice/cohort/index.d.ts.map +1 -1
- package/dist/src/slice/cohort/index.js +8 -4
- package/dist/src/slice/cohort/index.js.map +1 -1
- package/dist/src/slice/cohort/types.d.ts +11 -0
- package/dist/src/slice/cohort/types.d.ts.map +1 -1
- package/dist/src/slice/cohort/types.js +7 -0
- package/dist/src/slice/cohort/types.js.map +1 -1
- package/dist/src/slice/filter/index.d.ts +4 -0
- package/dist/src/slice/filter/index.d.ts.map +1 -1
- package/dist/src/slice/filter/types.d.ts +4 -0
- package/dist/src/slice/filter/types.d.ts.map +1 -1
- package/dist/src/slice/index.d.ts +736 -0
- package/dist/src/slice/index.d.ts.map +1 -1
- package/dist/src/slice/legend/index.d.ts +4 -0
- package/dist/src/slice/legend/index.d.ts.map +1 -1
- package/dist/src/slice/legend/types.d.ts +4 -0
- package/dist/src/slice/legend/types.d.ts.map +1 -1
- package/dist/src/slice/rail/index.d.ts +8 -4
- package/dist/src/slice/rail/index.d.ts.map +1 -1
- package/dist/src/slice/rail/index.js.map +1 -1
- package/dist/src/slice/range/index.d.ts +4 -0
- package/dist/src/slice/range/index.d.ts.map +1 -1
- package/dist/src/slice/range/types.d.ts +4 -0
- package/dist/src/slice/range/types.d.ts.map +1 -1
- package/dist/src/slice/search/index.d.ts +4 -0
- package/dist/src/slice/search/index.d.ts.map +1 -1
- package/dist/src/slice/search/types.d.ts +4 -0
- package/dist/src/slice/search/types.d.ts.map +1 -1
- package/dist/src/slice/summary/index.d.ts +4 -0
- package/dist/src/slice/summary/index.d.ts.map +1 -1
- package/dist/src/slice/summary/types.d.ts +4 -0
- package/dist/src/slice/summary/types.d.ts.map +1 -1
- package/dist/src/typography/code/index.js +1 -1
- package/dist/src/typography/code/index.js.map +1 -1
- package/dist/src/typography/code-block/index.js +7 -7
- package/dist/src/typography/code-block/index.js.map +1 -1
- package/dist/src/typography/heading/index.js +2 -2
- package/dist/src/typography/heading/index.js.map +1 -1
- package/dist/src/typography/list/index.js +1 -1
- package/dist/src/typography/list/index.js.map +1 -1
- package/dist/src/typography/mark/index.js +1 -1
- package/dist/src/typography/mark/index.js.map +1 -1
- package/dist/src/typography/note/index.js +1 -1
- package/dist/src/typography/note/index.js.map +1 -1
- package/dist/src/typography/numeric/index.d.ts +3 -308
- package/dist/src/typography/numeric/index.d.ts.map +1 -1
- package/dist/src/typography/numeric/index.js +4 -4
- package/dist/src/typography/numeric/index.js.map +1 -1
- package/dist/src/typography/numeric/types.d.ts +1 -154
- package/dist/src/typography/numeric/types.d.ts.map +1 -1
- package/dist/src/typography/text/index.js +1 -1
- package/dist/src/typography/text/index.js.map +1 -1
- package/dist/test/collections/matrix.examples.d.ts +7 -3
- package/dist/test/collections/matrix.examples.d.ts.map +1 -1
- package/dist/test/collections/matrix.examples.js +55 -24
- package/dist/test/collections/matrix.examples.js.map +1 -1
- package/dist/test/collections/paged-source.examples.d.ts +4 -0
- package/dist/test/collections/paged-source.examples.d.ts.map +1 -1
- package/dist/test/collections/paged-source.examples.js +98 -13
- package/dist/test/collections/paged-source.examples.js.map +1 -1
- package/dist/test/collections/plan.examples.d.ts +101 -26
- package/dist/test/collections/plan.examples.d.ts.map +1 -1
- package/dist/test/collections/plan.examples.js +1481 -755
- package/dist/test/collections/plan.examples.js.map +1 -1
- package/dist/test/collections/sheet-link.examples.d.ts +7 -0
- package/dist/test/collections/sheet-link.examples.d.ts.map +1 -0
- package/dist/test/collections/sheet-link.examples.js +41 -0
- package/dist/test/collections/sheet-link.examples.js.map +1 -0
- package/dist/test/collections/sheet-transactions.examples.d.ts +7 -0
- package/dist/test/collections/sheet-transactions.examples.d.ts.map +1 -0
- package/dist/test/collections/sheet-transactions.examples.js +58 -0
- package/dist/test/collections/sheet-transactions.examples.js.map +1 -0
- package/dist/test/collections/sheet.examples.d.ts +52 -5
- package/dist/test/collections/sheet.examples.d.ts.map +1 -1
- package/dist/test/collections/sheet.examples.js +500 -158
- package/dist/test/collections/sheet.examples.js.map +1 -1
- package/dist/test/collections/table.examples.d.ts +31 -3
- package/dist/test/collections/table.examples.d.ts.map +1 -1
- package/dist/test/collections/table.examples.js +188 -28
- package/dist/test/collections/table.examples.js.map +1 -1
- package/dist/test/contracts/editing.examples.d.ts +7 -0
- package/dist/test/contracts/editing.examples.d.ts.map +1 -0
- package/dist/test/contracts/editing.examples.js +58 -0
- package/dist/test/contracts/editing.examples.js.map +1 -0
- package/dist/test/layout/splitter.examples.d.ts.map +1 -1
- package/dist/test/layout/splitter.examples.js +3 -1
- package/dist/test/layout/splitter.examples.js.map +1 -1
- package/dist/test/platform/slice.examples.d.ts.map +1 -1
- package/dist/test/platform/slice.examples.js +1 -0
- package/dist/test/platform/slice.examples.js.map +1 -1
- package/dist/test/slice/slice.examples.d.ts.map +1 -1
- package/dist/test/slice/slice.examples.js +5 -2
- package/dist/test/slice/slice.examples.js.map +1 -1
- package/package.json +4 -3
- package/dist/src/collections/plan/data-forms.d.ts +0 -332
- package/dist/src/collections/plan/data-forms.d.ts.map +0 -1
- package/dist/src/collections/plan/data-forms.js +0 -212
- package/dist/src/collections/plan/data-forms.js.map +0 -1
|
@@ -4,18 +4,25 @@
|
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* The Plan kind factories — `span` / `buckets` / `chart` / `heat` / `table` /
|
|
7
|
-
* `cards` / `events` / `group
|
|
8
|
-
*
|
|
9
|
-
*
|
|
7
|
+
* `cards` / `events` / `group` — the vocabulary for rows no dataset holds,
|
|
8
|
+
* placed on a canvas by a `Plan.series.rows` entry. Each returns its row's
|
|
9
|
+
* STREAM (`PlanRowsValue` — the row, then its nested rows), so factories
|
|
10
|
+
* compose: a nested `rows:` input is other factories' results, placed under
|
|
11
|
+
* the parent in order (#822). A nesting parent DECLARES its rollup / aggregate
|
|
12
|
+
* / subtotal; the renderer derives the values from the subtree.
|
|
13
|
+
*
|
|
14
|
+
* The per-kind constructors ({@link spanKind} … {@link groupKind}) are shared
|
|
15
|
+
* with the data-driven series, so a hand-built row and a row made from a
|
|
16
|
+
* source entry carry the same kind for the same input.
|
|
10
17
|
*
|
|
11
18
|
* @packageDocumentation
|
|
12
19
|
*/
|
|
13
|
-
import { type ExprType, type SubtypeExprOrValue, ArrayType, BooleanType, FloatType, StringType } from "@elaraai/east";
|
|
20
|
+
import { type ExprType, type SubtypeExprOrValue, ArrayType, BooleanType, FloatType, OptionType, StringType } from "@elaraai/east";
|
|
14
21
|
import { type AxisOptions, type ChartLayer } from "../../charts/chart/index.js";
|
|
15
22
|
import { TableAggregateType, type TableAggregateLiteral } from "../table/types.js";
|
|
16
23
|
import { TickFormatType } from "../../format/types.js";
|
|
17
|
-
import { type PlanRollupLiteral, type PlanAggregateLiteral, PlanAggregateType, type PlanTableEmphasisLiteral, PlanTableEmphasisType, PlanTableSeriesType, PlanTableSplitType, type PlanTableSplitLiteral, PlanChartHeightType, type PlanChartHeightLiteral, PlanPortType, PlanCellMarkerType, PlanChartLayerType, type PlanAxisSideLiteral, PlanRollupType, PlanRunType, PlanDecisionMarkType, PlanBucketEventType, PlanChipType, PlanEventMarkType, PlanLaneType, type PlanRowsValue, type PlanAxisKindLiteral, type PlanElementsInput, type PlanHeatCellsInput, type PlanTableCellsInput } from "./types.js";
|
|
18
|
-
import { type
|
|
24
|
+
import { type PlanRollupLiteral, type PlanAggregateLiteral, PlanAggregateType, type PlanTableEmphasisLiteral, PlanTableEmphasisType, PlanTableSeriesType, PlanTableSplitType, type PlanTableSplitLiteral, PlanChartHeightType, type PlanChartHeightLiteral, PlanHeatCellsType, PlanPortType, PlanCellMarkerType, PlanChartLayerType, type PlanAxisSideLiteral, PlanRollupType, PlanRunType, PlanDecisionMarkType, PlanBucketEventType, PlanChipType, PlanEventMarkType, PlanLaneType, PlanRowKindType, PlanGroupSummaryType, type PlanRowsValue, type PlanAxisKindLiteral, type PlanElementsInput, type PlanHeatCellsInput, type PlanTableCellsInput } from "./types.js";
|
|
25
|
+
import { type PlanFoldInput, type PlanHeatScaleInput } from "./builders.js";
|
|
19
26
|
import { type PlanRowBaseInput, type PlanRowsInput } from "./assemble.js";
|
|
20
27
|
/**
|
|
21
28
|
* The Plan-only channels a chart layer can carry via {@link Plan.layer}.
|
|
@@ -23,6 +30,7 @@ import { type PlanRowBaseInput, type PlanRowsInput } from "./assemble.js";
|
|
|
23
30
|
* @property axis - Which y-axis the layer scales against (default `"left"`)
|
|
24
31
|
* @property breach - Breach threshold (`{ above }` / `{ below }`) — beyond it, marks render warn
|
|
25
32
|
* @property series - Stack series id for column layers (stacked columns pair by it)
|
|
33
|
+
* @property fold - How a line, area or column layer folds the points in one bucket (#824)
|
|
26
34
|
*/
|
|
27
35
|
export interface PlanLayerChannels {
|
|
28
36
|
/** Which y-axis the layer scales against (default `"left"`; left ticks print in the gutter edge). */
|
|
@@ -35,6 +43,10 @@ export interface PlanLayerChannels {
|
|
|
35
43
|
};
|
|
36
44
|
/** Stack series id for column layers. */
|
|
37
45
|
series?: SubtypeExprOrValue<StringType>;
|
|
46
|
+
/** How a line, area or column layer folds the points in one bucket at a coarser resolution than
|
|
47
|
+
* theirs — `"sum"` / `"mean"` / `"min"` / `"max"` / `"last"` / `"count"` (default: a column's
|
|
48
|
+
* `"sum"`, a line's or an area's `"mean"`, #824). Scatter and band layers draw every point. */
|
|
49
|
+
fold?: PlanFoldInput;
|
|
38
50
|
}
|
|
39
51
|
/** A Chart layer wrapped with Plan-only channels — see {@link Plan.layer}. */
|
|
40
52
|
export interface PlanWrappedLayer {
|
|
@@ -49,7 +61,7 @@ export interface PlanWrappedLayer {
|
|
|
49
61
|
export type PlanChartLayerInput = ChartLayer | PlanWrappedLayer;
|
|
50
62
|
/**
|
|
51
63
|
* Wraps a Chart layer builder result with the Plan-only channels (axis side,
|
|
52
|
-
* breach threshold, stack series).
|
|
64
|
+
* breach threshold, stack series, and how a coarser bucket folds its points).
|
|
53
65
|
*
|
|
54
66
|
* @param layer - The `Chart.Line` / `Column` / `Area` / `Scatter` / `Band` / `ref*` builder result
|
|
55
67
|
* @param channels - The Plan-only channels ({@link PlanLayerChannels})
|
|
@@ -67,56 +79,268 @@ export declare function consumeLayers(inputs: PlanChartLayerInput | PlanChartLay
|
|
|
67
79
|
*/
|
|
68
80
|
export declare function createFixedHeight(size: SubtypeExprOrValue<StringType>): ExprType<PlanChartHeightType>;
|
|
69
81
|
/**
|
|
70
|
-
*
|
|
71
|
-
*
|
|
82
|
+
* A chart-row y-axis input — the `Chart.Root` axis vocabulary
|
|
83
|
+
* ({@link AxisOptions}), restricted to the members a Plan chart row's
|
|
84
|
+
* value axis supports: `domain` (`[min, max]`), `tickValues` and `format`.
|
|
85
|
+
* Same names, same types, same guards as a `Chart.Root` y-axis — temporal
|
|
86
|
+
* domains / tick positions are a build-time error (the time axis is the
|
|
87
|
+
* shared canvas scale, `Plan.axis`).
|
|
88
|
+
*/
|
|
89
|
+
export type PlanChartAxisInput = Pick<AxisOptions, "domain" | "tickValues" | "format">;
|
|
90
|
+
/**
|
|
91
|
+
* The parts of a span row's kind. A band's sums come from the runs'
|
|
92
|
+
* quantities, unit by unit — each quantity carries its own unit (#824).
|
|
72
93
|
*
|
|
73
|
-
* @typeParam K - The axis kind
|
|
74
|
-
* @property runs - The row's own runs
|
|
94
|
+
* @typeParam K - The axis kind the parts' instants ride
|
|
95
|
+
* @property runs - The row's own runs
|
|
75
96
|
* @property decisions - Decision diamonds on run transitions
|
|
76
97
|
* @property ports - Quantity in/out glyphs
|
|
77
|
-
* @property rollup - Rollup mode when `rows` nest (default `"union"`)
|
|
78
|
-
* @property unit - Quantity unit for band sums (pairs with runs' `qty`)
|
|
79
|
-
* @property rows - Nested child subtrees (factory results)
|
|
80
98
|
*/
|
|
81
|
-
export interface
|
|
99
|
+
export interface PlanSpanParts<K extends PlanAxisKindLiteral = never> {
|
|
82
100
|
/** The row's own runs (`Plan.run` values — their kind brands the row). */
|
|
83
101
|
runs?: PlanElementsInput<PlanRunType, K>;
|
|
84
102
|
/** Decision diamonds on run transitions (`Plan.decision` values). */
|
|
85
103
|
decisions?: PlanElementsInput<PlanDecisionMarkType, K>;
|
|
86
104
|
/** Quantity in/out glyphs (`Plan.port` values). */
|
|
87
105
|
ports?: PlanElementsInput<typeof PlanPortType, K>;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* A span row's kind.
|
|
109
|
+
*
|
|
110
|
+
* @param parts - The row's runs, decisions and ports
|
|
111
|
+
* @param rollup - The declared rollup — `some` on a row whose subtree rolls up into its bands
|
|
112
|
+
* @returns The kind
|
|
113
|
+
*/
|
|
114
|
+
export declare function spanKind(parts: PlanSpanParts<PlanAxisKindLiteral>, rollup: SubtypeExprOrValue<OptionType<PlanRollupType>>): ExprType<PlanRowKindType>;
|
|
115
|
+
/**
|
|
116
|
+
* The parts of a bucket row's kind.
|
|
117
|
+
*
|
|
118
|
+
* @typeParam K - The axis kind the parts' instants ride
|
|
119
|
+
* @property lanes - Per-row sub-slot lanes
|
|
120
|
+
* @property events - The row's tiles
|
|
121
|
+
* @property markers - Cell status rings
|
|
122
|
+
*/
|
|
123
|
+
export interface PlanBucketsParts<K extends PlanAxisKindLiteral = never> {
|
|
124
|
+
/** Per-row sub-slot lanes (`PlanLaneType` values — `{ key, label: some("AM") }`); omitted ⇒ unbucketed. */
|
|
125
|
+
lanes?: SubtypeExprOrValue<ArrayType<PlanLaneType>>;
|
|
126
|
+
/** The row's tiles (`Plan.event` values — their kind brands the row). */
|
|
127
|
+
events?: PlanElementsInput<PlanBucketEventType, K>;
|
|
128
|
+
/** Cell status rings (`Plan.marker` values). */
|
|
129
|
+
markers?: PlanElementsInput<typeof PlanCellMarkerType, K>;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* A bucket row's kind.
|
|
133
|
+
*
|
|
134
|
+
* @param parts - The row's lanes, tiles and markers
|
|
135
|
+
* @returns The kind
|
|
136
|
+
*/
|
|
137
|
+
export declare function bucketsKind(parts: PlanBucketsParts<PlanAxisKindLiteral>): ExprType<PlanRowKindType>;
|
|
138
|
+
/**
|
|
139
|
+
* The parts of a chart row's kind.
|
|
140
|
+
*
|
|
141
|
+
* @property layers - The Chart layer builders, consumed as data
|
|
142
|
+
* @property left - The left y-axis
|
|
143
|
+
* @property right - The right y-axis
|
|
144
|
+
* @property height - The height mode
|
|
145
|
+
* @property expandedHeight - The height the expanded state opens to
|
|
146
|
+
* @property expandable - Spark ↔ expanded toggle
|
|
147
|
+
*/
|
|
148
|
+
export interface PlanChartParts {
|
|
149
|
+
/** The Chart layer builders, consumed as data. The x accessor's static type picks the
|
|
150
|
+
* instant arm (`DateTimeType` ⇒ `time`, numeric ⇒ `number`, `StringType` ⇒ `ordinal`) and
|
|
151
|
+
* must match the canvas axis at render; `Chart.Bar` is a build-time error. */
|
|
152
|
+
layers: PlanChartLayerInput | PlanChartLayerInput[];
|
|
153
|
+
/** The left y-axis (ticks print inside the gutter's right edge). */
|
|
154
|
+
left?: PlanChartAxisInput;
|
|
155
|
+
/** The right y-axis (ticks at the plot's right edge). */
|
|
156
|
+
right?: PlanChartAxisInput;
|
|
157
|
+
/** Height mode — `"spark"` (32px, default) / `"expanded"` (88px) / `Plan.fixed(px)`. */
|
|
158
|
+
height?: PlanChartHeightLiteral | SubtypeExprOrValue<PlanChartHeightType>;
|
|
159
|
+
/** Height the EXPANDED state opens to (default 88px) — a CSS px size (`"120px"`, the shared
|
|
160
|
+
* component-height type). Pairs with `expandable` so a spark can toggle open to a custom
|
|
161
|
+
* composition height; also applies when `height: "expanded"` is declared. */
|
|
162
|
+
expandedHeight?: SubtypeExprOrValue<StringType>;
|
|
163
|
+
/** Spark ↔ expanded toggle (caret; default `false`). */
|
|
164
|
+
expandable?: SubtypeExprOrValue<BooleanType> | boolean;
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* A chart row's kind — Chart layers consumed AS DATA.
|
|
168
|
+
*
|
|
169
|
+
* @param parts - The row's layers and axes ({@link PlanChartParts})
|
|
170
|
+
* @returns The kind
|
|
171
|
+
*/
|
|
172
|
+
export declare function chartKind(parts: PlanChartParts): ExprType<PlanRowKindType>;
|
|
173
|
+
/**
|
|
174
|
+
* The parts of a heat row's kind.
|
|
175
|
+
*
|
|
176
|
+
* @typeParam K - The axis kind the cells' instants ride
|
|
177
|
+
* @property cells - The row's cells
|
|
178
|
+
* @property scale - The scale a parent's derived cells paint on
|
|
179
|
+
*/
|
|
180
|
+
export interface PlanHeatParts<K extends PlanAxisKindLiteral = never> {
|
|
181
|
+
/** The row's cells (`Plan.heatCells` / `Plan.weightCells` / `Plan.segmentCells` — their kind brands the row). */
|
|
182
|
+
cells?: PlanHeatCellsInput<K>;
|
|
183
|
+
/** The scale a parent's DERIVED cells paint on (min / max / warn threshold) — the row's own, not an
|
|
184
|
+
* empty cells arm's (#824). A row's own cells paint on their arm's scale (`Plan.heatCells(cells, { min, max })`). */
|
|
185
|
+
scale?: PlanHeatScaleInput;
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* A heat row's kind.
|
|
189
|
+
*
|
|
190
|
+
* @param parts - The row's cells and the scale its derived cells paint on
|
|
191
|
+
* @param aggregate - The declared aggregate — how a parent with no cells of its own derives them from its children
|
|
192
|
+
* @returns The kind
|
|
193
|
+
*/
|
|
194
|
+
export declare function heatKind(parts: PlanHeatParts<PlanAxisKindLiteral>, aggregate: SubtypeExprOrValue<OptionType<PlanAggregateType>>): ExprType<PlanRowKindType>;
|
|
195
|
+
/**
|
|
196
|
+
* The parts of a table row's kind.
|
|
197
|
+
*
|
|
198
|
+
* @typeParam K - The axis kind the cells' instants ride
|
|
199
|
+
* @property cells - The row's cells (sugar for one plain series)
|
|
200
|
+
* @property series - Multi-series cells
|
|
201
|
+
* @property split - Part layout when several series render
|
|
202
|
+
* @property format - Numeral format for the row's values and derived subtotals
|
|
203
|
+
* @property emphasis - Row emphasis
|
|
204
|
+
* @property fold - How a bucket folds the `cells` sugar's cells at a coarser resolution
|
|
205
|
+
*/
|
|
206
|
+
export interface PlanTableParts<K extends PlanAxisKindLiteral = never> {
|
|
207
|
+
/** The row's cells (`Plan.tableCells` result — its kind brands the row) — sugar for ONE unstyled series. */
|
|
208
|
+
cells?: PlanTableCellsInput<K>;
|
|
209
|
+
/** How a bucket folds the `cells` at a coarser resolution than theirs (default `"sum"`, #824) — a
|
|
210
|
+
* `series` entry declares its own (`Plan.tableSeries({ fold })`). */
|
|
211
|
+
fold?: PlanFoldInput;
|
|
212
|
+
/** Multi-series cells — one `Plan.tableSeries` per value position (exclusive with `cells`). */
|
|
213
|
+
series?: PlanElementsInput<PlanTableSeriesType, K>;
|
|
214
|
+
/** Part layout when several series render — `"horizontal"` (default) / `"vertical"` (stacked lines; the row grows). */
|
|
215
|
+
split?: SubtypeExprOrValue<PlanTableSplitType> | PlanTableSplitLiteral;
|
|
216
|
+
/** Numeral format for the row's values + derived subtotals — a `Format.*` spec (the shared `TickFormatType`). */
|
|
217
|
+
format?: SubtypeExprOrValue<TickFormatType>;
|
|
218
|
+
/** Row emphasis — `"body"` (default) / `"header"` / `"footer"` (2px top rule). */
|
|
219
|
+
emphasis?: SubtypeExprOrValue<PlanTableEmphasisType> | PlanTableEmphasisLiteral;
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* A table row's kind — its value series (`cells` wraps into one unstyled
|
|
223
|
+
* series, so the renderer has a single representation).
|
|
224
|
+
*
|
|
225
|
+
* @param parts - The row's cells or series, split, format, emphasis and the cells' fold
|
|
226
|
+
* @param aggregate - The declared subtotal mode — how a parent with no values of its own derives them from its children
|
|
227
|
+
* @returns The kind
|
|
228
|
+
* @throws {Error} When both `cells` and `series` are given, or `fold` with `series` (each series declares its own)
|
|
229
|
+
*/
|
|
230
|
+
export declare function tableKind(parts: PlanTableParts<PlanAxisKindLiteral>, aggregate: SubtypeExprOrValue<OptionType<TableAggregateType>>): ExprType<PlanRowKindType>;
|
|
231
|
+
/**
|
|
232
|
+
* A cards row's kind.
|
|
233
|
+
*
|
|
234
|
+
* @param chips - The row's shift chips
|
|
235
|
+
* @returns The kind
|
|
236
|
+
*/
|
|
237
|
+
export declare function cardsKind(chips: PlanElementsInput<PlanChipType, PlanAxisKindLiteral> | undefined): ExprType<PlanRowKindType>;
|
|
238
|
+
/**
|
|
239
|
+
* An event row's kind.
|
|
240
|
+
*
|
|
241
|
+
* @param marks - The row's marks
|
|
242
|
+
* @returns The kind
|
|
243
|
+
*/
|
|
244
|
+
export declare function eventsKind(marks: PlanElementsInput<PlanEventMarkType, PlanAxisKindLiteral> | undefined): ExprType<PlanRowKindType>;
|
|
245
|
+
/**
|
|
246
|
+
* A group strip's ONE summary declaration (#824) — explicit cells, a declared
|
|
247
|
+
* aggregate, or a plain band — from the two inputs an author writes it with.
|
|
248
|
+
*
|
|
249
|
+
* @param cells - Explicit collapsed-strip cells, if given
|
|
250
|
+
* @param aggregate - The declared strip aggregation over the members' heat cells, if given
|
|
251
|
+
* @param where - Who is asking, for the message
|
|
252
|
+
* @returns The summary
|
|
253
|
+
* @throws {Error} When both are given — a strip shows one or the other
|
|
254
|
+
*/
|
|
255
|
+
export declare function groupSummary(cells: SubtypeExprOrValue<PlanHeatCellsType> | undefined, aggregate: SubtypeExprOrValue<PlanAggregateType> | PlanAggregateLiteral | undefined, where: string): ExprType<PlanGroupSummaryType>;
|
|
256
|
+
/**
|
|
257
|
+
* A group strip's kind.
|
|
258
|
+
*
|
|
259
|
+
* @param summary - What the collapsed strip shows ({@link groupSummary})
|
|
260
|
+
* @returns The kind
|
|
261
|
+
*/
|
|
262
|
+
export declare function groupKind(summary: SubtypeExprOrValue<PlanGroupSummaryType>): ExprType<PlanRowKindType>;
|
|
263
|
+
/**
|
|
264
|
+
* Input for {@link Plan.span} — a state-run row, optionally nesting child
|
|
265
|
+
* rows whose runs the renderer rolls up into the parent's bands.
|
|
266
|
+
*
|
|
267
|
+
* @typeParam K - The axis kind inferred from the runs / decisions / ports / nested rows
|
|
268
|
+
* @property runs - The row's own runs (`Plan.run` values)
|
|
269
|
+
* @property decisions - Decision diamonds on run transitions
|
|
270
|
+
* @property ports - Quantity in/out glyphs
|
|
271
|
+
* @property rollup - Rollup mode when `rows` nest (default `"union"`; bands sum the runs' quantities per unit)
|
|
272
|
+
* @property rows - Nested child streams (other kind factories' results)
|
|
273
|
+
*/
|
|
274
|
+
export interface PlanSpanInput<K extends PlanAxisKindLiteral = never> extends PlanRowBaseInput, PlanSpanParts<K> {
|
|
88
275
|
/** Rollup mode when `rows` nest — `"union"` (default) / `"byStatus"` / `"sum"`, or a `PlanRollupType` expression. */
|
|
89
276
|
rollup?: SubtypeExprOrValue<PlanRollupType> | PlanRollupLiteral;
|
|
90
|
-
/**
|
|
91
|
-
unit?: SubtypeExprOrValue<StringType>;
|
|
92
|
-
/** Nested child subtrees (factory results / `Plan.rows`). */
|
|
277
|
+
/** Nested child streams (other kind factories' results). */
|
|
93
278
|
rows?: PlanRowsInput<K>;
|
|
94
279
|
}
|
|
95
280
|
/**
|
|
96
|
-
* Creates a span row (the Gantt surface) — continuous state-run bars
|
|
97
|
-
*
|
|
98
|
-
*
|
|
281
|
+
* Creates a span row (the Gantt surface) — continuous state-run bars. With
|
|
282
|
+
* nested `rows` it DECLARES a rollup (default `"union"`), and the renderer
|
|
283
|
+
* derives the parent's union / byStatus bands from the subtree's runs (`×k`
|
|
284
|
+
* peak concurrency, quantities summed unit by unit, pessimistic certainty).
|
|
99
285
|
*
|
|
100
286
|
* @typeParam K - The axis kind the row's instants ride (inferred; `never` when erased)
|
|
101
287
|
* @param input - The span configuration ({@link PlanSpanInput})
|
|
102
|
-
* @returns The
|
|
288
|
+
* @returns The row stream — the span row, then every nested row under it — branded with its kind
|
|
103
289
|
*
|
|
104
290
|
* @example
|
|
105
|
-
* ```
|
|
106
|
-
*
|
|
107
|
-
* import {
|
|
108
|
-
* import { Plan } from "@elaraai/east-ui
|
|
109
|
-
*
|
|
110
|
-
* const
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
* })
|
|
119
|
-
* );
|
|
291
|
+
* ```tsx
|
|
292
|
+
* // .tsx file with the `@jsxImportSource @elaraai/east-ui` pragma
|
|
293
|
+
* import { ArrayType, DateTimeType, DictType, East, IntegerType, StringType, StructType, variant } from "@elaraai/east";
|
|
294
|
+
* import { EventStateType, Plan, UIComponentType } from "@elaraai/east-ui";
|
|
295
|
+
*
|
|
296
|
+
* const canvas = East.function([], UIComponentType, ($) => {
|
|
297
|
+
* // Monday of ISO week n, 2026 — window W27–W38 (half-open), now W31.
|
|
298
|
+
* const week = $.const(East.function([IntegerType], DateTimeType, ($, n) => {
|
|
299
|
+
* const w1 = $.const(new Date("2025-12-29T00:00:00Z"), DateTimeType);
|
|
300
|
+
* return w1.addWeeks(n.subtract(1n));
|
|
301
|
+
* }));
|
|
302
|
+
* const JobRow = StructType({
|
|
303
|
+
* batch: StringType, start: DateTimeType, end: DateTimeType, state: EventStateType,
|
|
304
|
+
* });
|
|
305
|
+
* const MachineRow = StructType({ jobs: ArrayType(JobRow) });
|
|
306
|
+
* const machines = $.const(new Map([
|
|
307
|
+
* ["L1-M03", { jobs: [{ batch: "B-214", start: week(28n), end: week(31n), state: variant("in-progress", null) }] }],
|
|
308
|
+
* ["L1-M04", { jobs: [{ batch: "B-208", start: week(27n), end: week(30n), state: variant("actual", null) }] }],
|
|
309
|
+
* ]), DictType(StringType, MachineRow));
|
|
310
|
+
* const axis = $.const(Plan.axis({ window: { min: week(27n), max: week(39n) }, resolution: "week", now: week(31n) }));
|
|
311
|
+
* return (
|
|
312
|
+
* <Plan
|
|
313
|
+
* axis={axis}
|
|
314
|
+
* data={machines}
|
|
315
|
+
* series={[
|
|
316
|
+
* Plan.series.span(MachineRow, {
|
|
317
|
+
* key: "machines", title: "Machines",
|
|
318
|
+
* label: (_r, k) => k, id: true,
|
|
319
|
+
* runs: r => r.jobs.map((_$, j) => Plan.run({
|
|
320
|
+
* key: j.batch, start: j.start, end: j.end,
|
|
321
|
+
* label: East.str`RUN · ${j.batch}`, state: j.state,
|
|
322
|
+
* })),
|
|
323
|
+
* }),
|
|
324
|
+
* // Rows no dataset holds — the planned shutdown, written out once.
|
|
325
|
+
* // `Plan.span` nests: the parent DECLARES its rollup and the canvas
|
|
326
|
+
* // derives the band from its two rows' runs. The series list is the
|
|
327
|
+
* // layout, so this block sits below the machines.
|
|
328
|
+
* Plan.series.rows(MachineRow, { key: "works", title: "Planned works", subtitle: "literal rows" }, [
|
|
329
|
+
* Plan.span({
|
|
330
|
+
* key: "shutdown", label: "SHUTDOWN", rollup: "union", rows: [
|
|
331
|
+
* Plan.span({ key: "elec", label: "Electrical", runs: [
|
|
332
|
+
* Plan.run({ key: "iso", start: week(33n), end: week(34n), label: "ISOLATE", state: "confirmed" }),
|
|
333
|
+
* ] }),
|
|
334
|
+
* Plan.span({ key: "mech", label: "Mechanical", runs: [
|
|
335
|
+
* Plan.run({ key: "reline", start: week(34n), end: week(36n), label: "RELINE", state: "recommended" }),
|
|
336
|
+
* ] }),
|
|
337
|
+
* ],
|
|
338
|
+
* }),
|
|
339
|
+
* ]),
|
|
340
|
+
* ]}
|
|
341
|
+
* />
|
|
342
|
+
* );
|
|
343
|
+
* });
|
|
120
344
|
* ```
|
|
121
345
|
*/
|
|
122
346
|
export declare function createSpan<K extends PlanAxisKindLiteral = never>(input: PlanSpanInput<K>): PlanRowsValue<K>;
|
|
@@ -129,13 +353,7 @@ export declare function createSpan<K extends PlanAxisKindLiteral = never>(input:
|
|
|
129
353
|
* @property events - The row's tiles (`Plan.event` values)
|
|
130
354
|
* @property markers - Cell status rings (`Plan.marker` values)
|
|
131
355
|
*/
|
|
132
|
-
export interface PlanBucketsInput<K extends PlanAxisKindLiteral = never> extends PlanRowBaseInput {
|
|
133
|
-
/** Per-row sub-slot lanes (`PlanLaneType` values — `{ key, label: some("AM") }`); omitted ⇒ unbucketed. */
|
|
134
|
-
lanes?: SubtypeExprOrValue<ArrayType<PlanLaneType>>;
|
|
135
|
-
/** The row's tiles (`Plan.event` values — their kind brands the row). */
|
|
136
|
-
events?: PlanElementsInput<PlanBucketEventType, K>;
|
|
137
|
-
/** Cell status rings (`Plan.marker` values). */
|
|
138
|
-
markers?: PlanElementsInput<typeof PlanCellMarkerType, K>;
|
|
356
|
+
export interface PlanBucketsInput<K extends PlanAxisKindLiteral = never> extends PlanRowBaseInput, PlanBucketsParts<K> {
|
|
139
357
|
}
|
|
140
358
|
/**
|
|
141
359
|
* Creates a bucket row (the Planner surface, verbatim) — allocation tiles in
|
|
@@ -144,18 +362,9 @@ export interface PlanBucketsInput<K extends PlanAxisKindLiteral = never> extends
|
|
|
144
362
|
*
|
|
145
363
|
* @typeParam K - The axis kind the row's instants ride (inferred; `never` when erased)
|
|
146
364
|
* @param input - The buckets configuration ({@link PlanBucketsInput})
|
|
147
|
-
* @returns
|
|
365
|
+
* @returns A one-row stream, branded with its kind
|
|
148
366
|
*/
|
|
149
367
|
export declare function createBuckets<K extends PlanAxisKindLiteral = never>(input: PlanBucketsInput<K>): PlanRowsValue<K>;
|
|
150
|
-
/**
|
|
151
|
-
* A chart-row y-axis input — the `Chart.Root` axis vocabulary
|
|
152
|
-
* ({@link AxisOptions}), restricted to the members a Plan chart row's
|
|
153
|
-
* value axis supports: `domain` (`[min, max]`), `tickValues` and `format`.
|
|
154
|
-
* Same names, same types, same guards as a `Chart.Root` y-axis — temporal
|
|
155
|
-
* domains / tick positions are a build-time error (the time axis is the
|
|
156
|
-
* shared canvas scale, `Plan.axis`).
|
|
157
|
-
*/
|
|
158
|
-
export type PlanChartAxisInput = Pick<AxisOptions, "domain" | "tickValues" | "format">;
|
|
159
368
|
/**
|
|
160
369
|
* Input for {@link Plan.chart} — a measure row consuming Chart layer
|
|
161
370
|
* builders as data.
|
|
@@ -166,25 +375,7 @@ export type PlanChartAxisInput = Pick<AxisOptions, "domain" | "tickValues" | "fo
|
|
|
166
375
|
* @property height - `"spark"` (32px, default) / `"expanded"` (88px) / `Plan.fixed(px)`
|
|
167
376
|
* @property expandable - Spark ↔ expanded toggle (caret)
|
|
168
377
|
*/
|
|
169
|
-
export interface PlanChartInput extends Omit<PlanRowBaseInput, "height"
|
|
170
|
-
/** The Chart layer builders, consumed as data. The x accessor's static type picks the
|
|
171
|
-
* instant arm (`DateTimeType` ⇒ `time`, numeric ⇒ `number`, `StringType` ⇒ `ordinal`) and
|
|
172
|
-
* must match the canvas axis at render; `Chart.Bar` is a build-time error. */
|
|
173
|
-
layers: PlanChartLayerInput | PlanChartLayerInput[];
|
|
174
|
-
/** The left y-axis (ticks print inside the gutter's right edge). */
|
|
175
|
-
left?: PlanChartAxisInput;
|
|
176
|
-
/** The right y-axis (ticks at the plot's right edge). */
|
|
177
|
-
right?: PlanChartAxisInput;
|
|
178
|
-
/** Height mode — `"spark"` (32px, default) / `"expanded"` (88px) /
|
|
179
|
-
* `Plan.fixed(px)`. Replaces the base row-height override for chart rows. */
|
|
180
|
-
height?: PlanChartHeightLiteral | SubtypeExprOrValue<PlanChartHeightType>;
|
|
181
|
-
/** Height the EXPANDED state opens to (default 88px) — a CSS px size
|
|
182
|
-
* (`"120px"`, the shared component-height type). Pairs with `expandable`
|
|
183
|
-
* so a spark can toggle open to a custom composition height; also
|
|
184
|
-
* applies when `height: "expanded"` is declared. */
|
|
185
|
-
expandedHeight?: SubtypeExprOrValue<StringType>;
|
|
186
|
-
/** Spark ↔ expanded toggle (caret). */
|
|
187
|
-
expandable?: SubtypeExprOrValue<BooleanType> | boolean;
|
|
378
|
+
export interface PlanChartInput extends Omit<PlanRowBaseInput, "height">, PlanChartParts {
|
|
188
379
|
}
|
|
189
380
|
/**
|
|
190
381
|
* Creates a chart row — Chart layers consumed AS DATA (reified `{t, y}`
|
|
@@ -193,7 +384,7 @@ export interface PlanChartInput extends Omit<PlanRowBaseInput, "height"> {
|
|
|
193
384
|
* build-time error.
|
|
194
385
|
*
|
|
195
386
|
* @param input - The chart configuration ({@link PlanChartInput})
|
|
196
|
-
* @returns
|
|
387
|
+
* @returns A one-row stream
|
|
197
388
|
*/
|
|
198
389
|
export declare function createChart(input: PlanChartInput): PlanRowsValue;
|
|
199
390
|
/**
|
|
@@ -204,27 +395,24 @@ export declare function createChart(input: PlanChartInput): PlanRowsValue;
|
|
|
204
395
|
* @property cells - The row's cells; omit with `rows` + `aggregate` to compute from children
|
|
205
396
|
* @property aggregate - Parent derivation mode (`"mean"` / `"max"` / `"sum"`)
|
|
206
397
|
* @property scale - Heat scale + warn threshold for computed parent cells
|
|
207
|
-
* @property rows - Nested child
|
|
398
|
+
* @property rows - Nested child streams
|
|
208
399
|
*/
|
|
209
|
-
export interface PlanHeatInput<K extends PlanAxisKindLiteral = never> extends PlanRowBaseInput {
|
|
210
|
-
/** The row's cells (`Plan.heatCells` / `Plan.weightCells` / `Plan.segmentCells` — their kind brands the row); omit with `rows` + `aggregate` to compute from the children. */
|
|
211
|
-
cells?: PlanHeatCellsInput<K>;
|
|
400
|
+
export interface PlanHeatInput<K extends PlanAxisKindLiteral = never> extends PlanRowBaseInput, PlanHeatParts<K> {
|
|
212
401
|
/** Parent derivation mode over children (`"mean"` / `"max"` / `"sum"`, or a `PlanAggregateType` expression). */
|
|
213
402
|
aggregate?: SubtypeExprOrValue<PlanAggregateType> | PlanAggregateLiteral;
|
|
214
|
-
/**
|
|
215
|
-
scale?: PlanHeatCellsOptions;
|
|
216
|
-
/** Nested child subtrees. */
|
|
403
|
+
/** Nested child streams. */
|
|
217
404
|
rows?: PlanRowsInput<K>;
|
|
218
405
|
}
|
|
219
406
|
/**
|
|
220
407
|
* Creates a heat row (the Matrix cell recipes on the shared axis) — colour
|
|
221
408
|
* depth, weight bars or segment compositions. With `rows` and no explicit
|
|
222
|
-
* `cells`, the parent's cells
|
|
223
|
-
* children's heat cells; the warn ring stays on
|
|
409
|
+
* `cells`, the renderer derives the parent's cells — the per-bucket
|
|
410
|
+
* `aggregate` of its direct children's heat cells; the warn ring stays on
|
|
411
|
+
* the breaching child.
|
|
224
412
|
*
|
|
225
413
|
* @typeParam K - The axis kind the row's instants ride (inferred; `never` when erased)
|
|
226
414
|
* @param input - The heat configuration ({@link PlanHeatInput})
|
|
227
|
-
* @returns The
|
|
415
|
+
* @returns The row stream — the heat row, then every nested row under it — branded with its kind
|
|
228
416
|
*/
|
|
229
417
|
export declare function createHeat<K extends PlanAxisKindLiteral = never>(input: PlanHeatInput<K>): PlanRowsValue<K>;
|
|
230
418
|
/**
|
|
@@ -234,37 +422,24 @@ export declare function createHeat<K extends PlanAxisKindLiteral = never>(input:
|
|
|
234
422
|
* @typeParam K - The axis kind inferred from the cells / series / nested rows
|
|
235
423
|
* @property cells - The row's cells (`Plan.tableCells`); omit with `rows` + `aggregate` to compute subtotals
|
|
236
424
|
* @property aggregate - Subtotal mode (the Table #317 vocabulary)
|
|
237
|
-
* @property format - Numeral format for
|
|
425
|
+
* @property format - Numeral format for the row's values and derived subtotals (a `Format.*` spec)
|
|
238
426
|
* @property emphasis - Row emphasis (`"body"` / `"header"` / `"footer"`)
|
|
239
|
-
* @property rows - Nested child
|
|
427
|
+
* @property rows - Nested child streams
|
|
240
428
|
*/
|
|
241
|
-
export interface PlanTableInput<K extends PlanAxisKindLiteral = never> extends PlanRowBaseInput {
|
|
242
|
-
/** The row's cells (`Plan.tableCells` result — its kind brands the row) — sugar for ONE unstyled
|
|
243
|
-
* series; omit with `rows` + `aggregate` to compute subtotals. */
|
|
244
|
-
cells?: PlanTableCellsInput<K>;
|
|
245
|
-
/** Multi-series cells — one `Plan.tableSeries` per value position, each
|
|
246
|
-
* with its own cells + per-position style (exclusive with `cells`). */
|
|
247
|
-
series?: PlanElementsInput<PlanTableSeriesType, K>;
|
|
248
|
-
/** Part layout when several series render — `"horizontal"` (default,
|
|
249
|
-
* side by side) / `"vertical"` (stacked lines; the row grows). */
|
|
250
|
-
split?: SubtypeExprOrValue<PlanTableSplitType> | PlanTableSplitLiteral;
|
|
429
|
+
export interface PlanTableInput<K extends PlanAxisKindLiteral = never> extends PlanRowBaseInput, PlanTableParts<K> {
|
|
251
430
|
/** Subtotal mode over children — `"sum"` / `"mean"` / `"min"` / `"max"` / `"count"`, or a `TableAggregateType` expression. */
|
|
252
431
|
aggregate?: SubtypeExprOrValue<TableAggregateType> | TableAggregateLiteral;
|
|
253
|
-
/**
|
|
254
|
-
format?: SubtypeExprOrValue<TickFormatType>;
|
|
255
|
-
/** Row emphasis — `"body"` (default) / `"header"` / `"footer"` (2px top rule), or a `PlanTableEmphasisType` expression. */
|
|
256
|
-
emphasis?: SubtypeExprOrValue<PlanTableEmphasisType> | PlanTableEmphasisLiteral;
|
|
257
|
-
/** Nested child subtrees. */
|
|
432
|
+
/** Nested child streams. */
|
|
258
433
|
rows?: PlanRowsInput<K>;
|
|
259
434
|
}
|
|
260
435
|
/**
|
|
261
|
-
* Creates a table row (
|
|
436
|
+
* Creates a table row (bucketed numerals under the shared time-bucket columns).
|
|
262
437
|
* With `rows` and no explicit `cells`, the parent prints per-bucket
|
|
263
438
|
* subtotals via `aggregate` — a collapsed parent reads as its subtotal line.
|
|
264
439
|
*
|
|
265
440
|
* @typeParam K - The axis kind the row's instants ride (inferred; `never` when erased)
|
|
266
441
|
* @param input - The table configuration ({@link PlanTableInput})
|
|
267
|
-
* @returns The
|
|
442
|
+
* @returns The row stream — the table row, then every nested row under it — branded with its kind
|
|
268
443
|
*/
|
|
269
444
|
export declare function createTable<K extends PlanAxisKindLiteral = never>(input: PlanTableInput<K>): PlanRowsValue<K>;
|
|
270
445
|
/**
|
|
@@ -283,7 +458,7 @@ export interface PlanCardsInput<K extends PlanAxisKindLiteral = never> extends P
|
|
|
283
458
|
*
|
|
284
459
|
* @typeParam K - The axis kind the row's instants ride (inferred; `never` when erased)
|
|
285
460
|
* @param input - The cards configuration ({@link PlanCardsInput})
|
|
286
|
-
* @returns
|
|
461
|
+
* @returns A one-row stream, branded with its kind
|
|
287
462
|
*/
|
|
288
463
|
export declare function createCards<K extends PlanAxisKindLiteral = never>(input: PlanCardsInput<K>): PlanRowsValue<K>;
|
|
289
464
|
/**
|
|
@@ -302,37 +477,36 @@ export interface PlanEventsInput<K extends PlanAxisKindLiteral = never> extends
|
|
|
302
477
|
*
|
|
303
478
|
* @typeParam K - The axis kind the row's instants ride (inferred; `never` when erased)
|
|
304
479
|
* @param input - The events configuration ({@link PlanEventsInput})
|
|
305
|
-
* @returns
|
|
480
|
+
* @returns A one-row stream, branded with its kind
|
|
306
481
|
*/
|
|
307
482
|
export declare function createEvents<K extends PlanAxisKindLiteral = never>(input: PlanEventsInput<K>): PlanRowsValue<K>;
|
|
308
483
|
/**
|
|
309
484
|
* Input for {@link Plan.group} — the heterogeneous canvas container.
|
|
310
485
|
*
|
|
311
486
|
* @typeParam K - The axis kind inferred from the summary cells / member rows
|
|
312
|
-
* @property summary - Explicit collapsed-strip heat cells
|
|
313
|
-
* @property summaryAggregate - DECLARED strip aggregation over
|
|
314
|
-
* @property
|
|
315
|
-
* @property rows - The group's member subtrees (any kinds)
|
|
487
|
+
* @property summary - Explicit collapsed-strip heat cells (exclusive with `summaryAggregate`)
|
|
488
|
+
* @property summaryAggregate - DECLARED strip aggregation over the members' heat rows (the renderer derives the cells)
|
|
489
|
+
* @property rows - The group's member streams (any kinds)
|
|
316
490
|
*/
|
|
317
491
|
export interface PlanGroupInput<K extends PlanAxisKindLiteral = never> extends PlanRowBaseInput {
|
|
318
|
-
/** Explicit collapsed-strip cells (`PlanHeatCellsType` — a `Plan.heatCells` result's kind brands the strip)
|
|
492
|
+
/** Explicit collapsed-strip cells (`PlanHeatCellsType` — a `Plan.heatCells` result's kind brands the strip);
|
|
493
|
+
* exclusive with `summaryAggregate`. */
|
|
319
494
|
summary?: PlanHeatCellsInput<K>;
|
|
320
|
-
/** DECLARED strip aggregation over
|
|
495
|
+
/** DECLARED strip aggregation over the members' heat rows — `"mean"`/`"max"`/`"sum"` or a `PlanAggregateType` expression. */
|
|
321
496
|
summaryAggregate?: SubtypeExprOrValue<PlanAggregateType> | PlanAggregateLiteral;
|
|
322
|
-
/**
|
|
323
|
-
collapsed?: SubtypeExprOrValue<BooleanType> | boolean;
|
|
324
|
-
/** The group's member subtrees (any row kinds — their axis kinds union into the group's). */
|
|
497
|
+
/** The group's member streams (any row kinds — their axis kinds union into the group's). */
|
|
325
498
|
rows?: PlanRowsInput<K>;
|
|
326
499
|
}
|
|
327
500
|
/**
|
|
328
501
|
* Creates a group strip — the canvas-level heterogeneous container. Collapsed
|
|
329
502
|
* it rests as its summary heat strip — explicit `summary` cells, or the
|
|
330
|
-
* renderer-derived `summaryAggregate` declaration (
|
|
503
|
+
* renderer-derived `summaryAggregate` declaration (neither ⇒ a plain band);
|
|
331
504
|
* expanding swaps the strip for the member rows in place.
|
|
332
505
|
*
|
|
333
506
|
* @typeParam K - The axis kind the group's instants ride (inferred; `never` when erased)
|
|
334
507
|
* @param input - The group configuration ({@link PlanGroupInput})
|
|
335
|
-
* @returns The
|
|
508
|
+
* @returns The row stream — the group strip, then every member under it — branded with its kind
|
|
509
|
+
* @throws {Error} When both `summary` and `summaryAggregate` are given
|
|
336
510
|
*/
|
|
337
511
|
export declare function createGroup<K extends PlanAxisKindLiteral = never>(input: PlanGroupInput<K>): PlanRowsValue<K>;
|
|
338
512
|
//# sourceMappingURL=factories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"factories.d.ts","sourceRoot":"","sources":["../../../../src/collections/plan/factories.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH
|
|
1
|
+
{"version":3,"file":"factories.d.ts","sourceRoot":"","sources":["../../../../src/collections/plan/factories.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACH,KAAK,QAAQ,EACb,KAAK,kBAAkB,EAGvB,SAAS,EACT,WAAW,EACX,SAAS,EACT,UAAU,EACV,UAAU,EAIb,MAAM,eAAe,CAAC;AAEvB,OAAO,EACH,KAAK,WAAW,EAChB,KAAK,UAAU,EAIlB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,kBAAkB,EAAE,KAAK,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AACnF,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,iBAAiB,EACjB,KAAK,wBAAwB,EAC7B,qBAAqB,EACrB,mBAAmB,EACnB,kBAAkB,EAClB,KAAK,qBAAqB,EAE1B,mBAAmB,EACnB,KAAK,sBAAsB,EAC3B,iBAAiB,EAEjB,YAAY,EACZ,kBAAkB,EAGlB,kBAAkB,EAElB,KAAK,mBAAmB,EAExB,cAAc,EACd,WAAW,EACX,oBAAoB,EACpB,mBAAmB,EACnB,YAAY,EACZ,iBAAiB,EACjB,YAAY,EACZ,eAAe,EAGf,oBAAoB,EAEpB,KAAK,aAAa,EAClB,KAAK,mBA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