@elaraai/east-ui 1.0.68 → 1.0.69
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 +2 -2
- package/dist/src/charts/chart/index.d.ts +39 -4
- package/dist/src/charts/chart/index.d.ts.map +1 -1
- package/dist/src/charts/chart/index.js +3 -3
- package/dist/src/charts/chart/index.js.map +1 -1
- package/dist/src/charts/spec/index.d.ts +61 -3
- package/dist/src/charts/spec/index.d.ts.map +1 -1
- package/dist/src/charts/spec/types.d.ts +1 -1
- package/dist/src/charts/spec/types.js +1 -1
- package/dist/src/collections/blend/index.d.ts +1 -1
- package/dist/src/collections/blend/index.d.ts.map +1 -1
- package/dist/src/collections/blend/index.js +1 -1
- package/dist/src/collections/blend/index.js.map +1 -1
- package/dist/src/collections/blend/types.js +1 -1
- package/dist/src/collections/blend/types.js.map +1 -1
- package/dist/src/collections/board/index.d.ts +4 -4
- package/dist/src/collections/board/index.d.ts.map +1 -1
- package/dist/src/collections/board/index.js +1 -1
- package/dist/src/collections/board/index.js.map +1 -1
- package/dist/src/collections/board/types.js +1 -1
- package/dist/src/collections/board/types.js.map +1 -1
- package/dist/src/collections/calendar/index.d.ts +1 -1
- package/dist/src/collections/calendar/index.d.ts.map +1 -1
- package/dist/src/collections/deck/index.d.ts +58 -0
- package/dist/src/collections/deck/index.d.ts.map +1 -1
- package/dist/src/collections/index.d.ts +1 -2
- package/dist/src/collections/index.d.ts.map +1 -1
- package/dist/src/collections/index.js +1 -2
- package/dist/src/collections/index.js.map +1 -1
- package/dist/src/collections/library/index.d.ts +29 -0
- package/dist/src/collections/library/index.d.ts.map +1 -1
- package/dist/src/collections/library/types.d.ts +29 -0
- package/dist/src/collections/library/types.d.ts.map +1 -1
- package/dist/src/collections/matrix/index.d.ts +1 -1
- package/dist/src/collections/matrix/index.d.ts.map +1 -1
- package/dist/src/collections/plan/assemble.d.ts +3732 -0
- package/dist/src/collections/plan/assemble.d.ts.map +1 -0
- package/dist/src/collections/plan/assemble.js +187 -0
- package/dist/src/collections/plan/assemble.js.map +1 -0
- package/dist/src/collections/plan/builders.d.ts +612 -0
- package/dist/src/collections/plan/builders.d.ts.map +1 -0
- package/dist/src/collections/plan/builders.js +543 -0
- package/dist/src/collections/plan/builders.js.map +1 -0
- package/dist/src/collections/plan/data-forms.d.ts +332 -0
- package/dist/src/collections/plan/data-forms.d.ts.map +1 -0
- package/dist/src/collections/plan/data-forms.js +212 -0
- package/dist/src/collections/plan/data-forms.js.map +1 -0
- package/dist/src/collections/plan/factories.d.ts +338 -0
- package/dist/src/collections/plan/factories.d.ts.map +1 -0
- package/dist/src/collections/plan/factories.js +414 -0
- package/dist/src/collections/plan/factories.js.map +1 -0
- package/dist/src/collections/plan/index.d.ts +271 -0
- package/dist/src/collections/plan/index.d.ts.map +1 -0
- package/dist/src/collections/plan/index.js +162 -0
- package/dist/src/collections/plan/index.js.map +1 -0
- package/dist/src/collections/plan/ir.d.ts +3496 -0
- package/dist/src/collections/plan/ir.d.ts.map +1 -0
- package/dist/src/collections/plan/ir.js +83 -0
- package/dist/src/collections/plan/ir.js.map +1 -0
- package/dist/src/collections/plan/pick.d.ts +115 -0
- package/dist/src/collections/plan/pick.d.ts.map +1 -0
- package/dist/src/collections/plan/pick.js +193 -0
- package/dist/src/collections/plan/pick.js.map +1 -0
- package/dist/src/collections/plan/root.d.ts +210 -0
- package/dist/src/collections/plan/root.d.ts.map +1 -0
- package/dist/src/collections/plan/root.js +146 -0
- package/dist/src/collections/plan/root.js.map +1 -0
- package/dist/src/collections/plan/series.d.ts +11890 -0
- package/dist/src/collections/plan/series.d.ts.map +1 -0
- package/dist/src/collections/plan/series.js +412 -0
- package/dist/src/collections/plan/series.js.map +1 -0
- package/dist/src/collections/plan/types.d.ts +9291 -0
- package/dist/src/collections/plan/types.d.ts.map +1 -0
- package/dist/src/collections/plan/types.js +940 -0
- package/dist/src/collections/plan/types.js.map +1 -0
- package/dist/src/collections/roster/index.d.ts +4 -4
- package/dist/src/collections/roster/index.d.ts.map +1 -1
- package/dist/src/collections/roster/index.js +1 -1
- package/dist/src/collections/roster/index.js.map +1 -1
- package/dist/src/collections/roster/types.d.ts +1 -1
- package/dist/src/collections/roster/types.d.ts.map +1 -1
- package/dist/src/collections/roster/types.js +4 -3
- package/dist/src/collections/roster/types.js.map +1 -1
- package/dist/src/collections/table/index.d.ts +70 -2
- package/dist/src/collections/table/index.d.ts.map +1 -1
- package/dist/src/collections/table/index.js +55 -11
- package/dist/src/collections/table/index.js.map +1 -1
- package/dist/src/collections/table/types.d.ts +1 -1
- package/dist/src/collections/table/types.d.ts.map +1 -1
- package/dist/src/component.d.ts +3898 -1339
- package/dist/src/component.d.ts.map +1 -1
- package/dist/src/component.js +83 -146
- package/dist/src/component.js.map +1 -1
- package/dist/src/container/card/types.d.ts +1 -1
- package/dist/src/container/card/types.d.ts.map +1 -1
- package/dist/src/contracts/approval.d.ts +117 -0
- package/dist/src/contracts/approval.d.ts.map +1 -0
- package/dist/src/contracts/approval.js +105 -0
- package/dist/src/contracts/approval.js.map +1 -0
- package/dist/src/contracts/drag.d.ts +3 -3
- package/dist/src/contracts/drag.d.ts.map +1 -1
- package/dist/src/contracts/drag.js +23 -10
- package/dist/src/contracts/drag.js.map +1 -1
- package/dist/src/contracts/index.d.ts +4 -1
- package/dist/src/contracts/index.d.ts.map +1 -1
- package/dist/src/contracts/index.js +4 -1
- package/dist/src/contracts/index.js.map +1 -1
- package/dist/src/contracts/pick.d.ts +705 -0
- package/dist/src/contracts/pick.d.ts.map +1 -0
- package/dist/src/contracts/pick.js +360 -0
- package/dist/src/contracts/pick.js.map +1 -0
- package/dist/src/contracts/review.d.ts +7 -99
- package/dist/src/contracts/review.d.ts.map +1 -1
- package/dist/src/contracts/review.js +11 -85
- package/dist/src/contracts/review.js.map +1 -1
- package/dist/src/contracts/slice-affordances.d.ts +13 -4
- package/dist/src/contracts/slice-affordances.d.ts.map +1 -1
- package/dist/src/contracts/slice-affordances.js +13 -3
- package/dist/src/contracts/slice-affordances.js.map +1 -1
- package/dist/src/contracts/source.d.ts +432 -0
- package/dist/src/contracts/source.d.ts.map +1 -0
- package/dist/src/contracts/source.js +505 -0
- package/dist/src/contracts/source.js.map +1 -0
- package/dist/src/contracts/states.d.ts +130 -0
- package/dist/src/contracts/states.d.ts.map +1 -1
- package/dist/src/contracts/states.js +122 -0
- package/dist/src/contracts/states.js.map +1 -1
- package/dist/src/contracts/time.d.ts +76 -0
- package/dist/src/contracts/time.d.ts.map +1 -0
- package/dist/src/contracts/time.js +78 -0
- package/dist/src/contracts/time.js.map +1 -0
- package/dist/src/display/trace/types.d.ts +1 -1
- package/dist/src/display/trace/types.d.ts.map +1 -1
- package/dist/src/index.d.ts +10 -2
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +22 -2
- package/dist/src/index.js.map +1 -1
- package/dist/src/internal.d.ts +5 -3
- package/dist/src/internal.d.ts.map +1 -1
- package/dist/src/internal.js +4 -3
- package/dist/src/internal.js.map +1 -1
- package/dist/src/layout/dock/index.d.ts +1 -1
- package/dist/src/layout/dock/index.js +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/overlays/drawer/types.d.ts +1 -1
- package/dist/src/overlays/drawer/types.d.ts.map +1 -1
- package/dist/src/pick/index.d.ts +443 -0
- package/dist/src/pick/index.d.ts.map +1 -0
- package/dist/src/pick/index.js +64 -0
- package/dist/src/pick/index.js.map +1 -0
- package/dist/src/pick/panel/index.d.ts +64 -0
- package/dist/src/pick/panel/index.d.ts.map +1 -0
- package/dist/src/pick/panel/index.js +61 -0
- package/dist/src/pick/panel/index.js.map +1 -0
- package/dist/src/platform/slice/index.d.ts +291 -0
- package/dist/src/platform/slice/index.d.ts.map +1 -1
- package/dist/src/platform/slice/index.js +16 -0
- package/dist/src/platform/slice/index.js.map +1 -1
- package/dist/src/runtime/collections/deck.d.ts +29 -0
- package/dist/src/runtime/collections/deck.d.ts.map +1 -1
- package/dist/src/runtime/collections/index.d.ts +1 -2
- package/dist/src/runtime/collections/index.d.ts.map +1 -1
- package/dist/src/runtime/collections/index.js +1 -2
- package/dist/src/runtime/collections/index.js.map +1 -1
- package/dist/src/runtime/collections/library.d.ts +1 -1
- package/dist/src/runtime/collections/library.js +1 -1
- package/dist/src/runtime/collections/plan.d.ts +98 -0
- package/dist/src/runtime/collections/plan.d.ts.map +1 -0
- package/dist/src/runtime/collections/plan.js +98 -0
- package/dist/src/runtime/collections/plan.js.map +1 -0
- package/dist/src/runtime/collections/schematic.d.ts +1 -1
- package/dist/src/runtime/collections/schematic.js +1 -1
- package/dist/src/runtime/collections/table.d.ts +9 -1
- package/dist/src/runtime/collections/table.d.ts.map +1 -1
- package/dist/src/runtime/collections/table.js +1 -7
- package/dist/src/runtime/collections/table.js.map +1 -1
- package/dist/src/runtime/layout/dock.d.ts +2 -2
- package/dist/src/runtime/layout/dock.js +2 -2
- package/dist/src/runtime/layout/index.d.ts +0 -1
- package/dist/src/runtime/layout/index.d.ts.map +1 -1
- package/dist/src/runtime/layout/index.js +0 -1
- package/dist/src/runtime/layout/index.js.map +1 -1
- package/dist/src/shared/plot-gutter.d.ts +6 -23
- package/dist/src/shared/plot-gutter.d.ts.map +1 -1
- package/dist/src/shared/plot-gutter.js +6 -19
- package/dist/src/shared/plot-gutter.js.map +1 -1
- package/dist/src/shared/reify.d.ts +47 -4
- package/dist/src/shared/reify.d.ts.map +1 -1
- package/dist/src/shared/reify.js +62 -4
- package/dist/src/shared/reify.js.map +1 -1
- package/dist/src/slice/breakdown/index.d.ts +27 -0
- package/dist/src/slice/breakdown/index.d.ts.map +1 -1
- package/dist/src/slice/breakdown/types.d.ts +27 -0
- package/dist/src/slice/breakdown/types.d.ts.map +1 -1
- package/dist/src/slice/cohort/index.d.ts +54 -0
- package/dist/src/slice/cohort/index.d.ts.map +1 -1
- package/dist/src/slice/cohort/types.d.ts +27 -0
- package/dist/src/slice/cohort/types.d.ts.map +1 -1
- package/dist/src/slice/filter/index.d.ts +27 -0
- package/dist/src/slice/filter/index.d.ts.map +1 -1
- package/dist/src/slice/filter/types.d.ts +27 -0
- package/dist/src/slice/filter/types.d.ts.map +1 -1
- package/dist/src/slice/index.d.ts +405 -0
- package/dist/src/slice/index.d.ts.map +1 -1
- package/dist/src/slice/legend/index.d.ts +27 -0
- package/dist/src/slice/legend/index.d.ts.map +1 -1
- package/dist/src/slice/legend/types.d.ts +27 -0
- package/dist/src/slice/legend/types.d.ts.map +1 -1
- package/dist/src/slice/range/index.d.ts +60 -18
- package/dist/src/slice/range/index.d.ts.map +1 -1
- package/dist/src/slice/range/index.js +9 -1
- package/dist/src/slice/range/index.js.map +1 -1
- package/dist/src/slice/range/types.d.ts +63 -22
- package/dist/src/slice/range/types.d.ts.map +1 -1
- package/dist/src/slice/range/types.js +12 -5
- package/dist/src/slice/range/types.js.map +1 -1
- package/dist/src/slice/search/index.d.ts +27 -0
- package/dist/src/slice/search/index.d.ts.map +1 -1
- package/dist/src/slice/search/types.d.ts +27 -0
- package/dist/src/slice/search/types.d.ts.map +1 -1
- package/dist/src/slice/summary/index.d.ts +27 -0
- package/dist/src/slice/summary/index.d.ts.map +1 -1
- package/dist/src/slice/summary/types.d.ts +27 -0
- package/dist/src/slice/summary/types.d.ts.map +1 -1
- package/dist/src/style/content.d.ts +4 -6
- package/dist/src/style/content.d.ts.map +1 -1
- package/dist/src/style/content.js +4 -6
- package/dist/src/style/content.js.map +1 -1
- package/dist/src/style/scheme.js +1 -1
- package/dist/src/style/scheme.js.map +1 -1
- package/dist/test/collections/index.d.ts +2 -2
- package/dist/test/collections/index.d.ts.map +1 -1
- package/dist/test/collections/index.js +2 -2
- package/dist/test/collections/index.js.map +1 -1
- package/dist/test/collections/paged-source.examples.d.ts +9 -0
- package/dist/test/collections/paged-source.examples.d.ts.map +1 -0
- package/dist/test/collections/paged-source.examples.js +136 -0
- package/dist/test/collections/paged-source.examples.js.map +1 -0
- package/dist/test/collections/plan.examples.d.ts +125 -0
- package/dist/test/collections/plan.examples.d.ts.map +1 -0
- package/dist/test/collections/plan.examples.js +2939 -0
- package/dist/test/collections/plan.examples.js.map +1 -0
- package/dist/test/contracts/pick.examples.d.ts +6 -0
- package/dist/test/contracts/pick.examples.d.ts.map +1 -0
- package/dist/test/contracts/pick.examples.js +89 -0
- package/dist/test/contracts/pick.examples.js.map +1 -0
- package/dist/test/layout/dock.examples.d.ts +4 -4
- package/dist/test/layout/dock.examples.d.ts.map +1 -1
- package/dist/test/layout/dock.examples.js +34 -16
- package/dist/test/layout/dock.examples.js.map +1 -1
- package/dist/test/slice/slice.examples.d.ts +2 -1
- package/dist/test/slice/slice.examples.d.ts.map +1 -1
- package/dist/test/slice/slice.examples.js +67 -9
- package/dist/test/slice/slice.examples.js.map +1 -1
- package/package.json +3 -3
- package/dist/src/collections/gantt/index.d.ts +0 -377
- package/dist/src/collections/gantt/index.d.ts.map +0 -1
- package/dist/src/collections/gantt/index.js +0 -896
- package/dist/src/collections/gantt/index.js.map +0 -1
- package/dist/src/collections/gantt/types.d.ts +0 -353
- package/dist/src/collections/gantt/types.d.ts.map +0 -1
- package/dist/src/collections/gantt/types.js +0 -207
- package/dist/src/collections/gantt/types.js.map +0 -1
- package/dist/src/collections/planner/index.d.ts +0 -624
- package/dist/src/collections/planner/index.d.ts.map +0 -1
- package/dist/src/collections/planner/index.js +0 -941
- package/dist/src/collections/planner/index.js.map +0 -1
- package/dist/src/collections/planner/types.d.ts +0 -615
- package/dist/src/collections/planner/types.d.ts.map +0 -1
- package/dist/src/collections/planner/types.js +0 -423
- package/dist/src/collections/planner/types.js.map +0 -1
- package/dist/src/layout/aligned-stack/index.d.ts +0 -101
- package/dist/src/layout/aligned-stack/index.d.ts.map +0 -1
- package/dist/src/layout/aligned-stack/index.js +0 -105
- package/dist/src/layout/aligned-stack/index.js.map +0 -1
- package/dist/src/layout/aligned-stack/types.d.ts +0 -50
- package/dist/src/layout/aligned-stack/types.d.ts.map +0 -1
- package/dist/src/layout/aligned-stack/types.js +0 -24
- package/dist/src/layout/aligned-stack/types.js.map +0 -1
- package/dist/src/runtime/collections/gantt.d.ts +0 -67
- package/dist/src/runtime/collections/gantt.d.ts.map +0 -1
- package/dist/src/runtime/collections/gantt.js +0 -58
- package/dist/src/runtime/collections/gantt.js.map +0 -1
- package/dist/src/runtime/collections/planner.d.ts +0 -80
- package/dist/src/runtime/collections/planner.d.ts.map +0 -1
- package/dist/src/runtime/collections/planner.js +0 -76
- package/dist/src/runtime/collections/planner.js.map +0 -1
- package/dist/src/runtime/layout/aligned-stack.d.ts +0 -38
- package/dist/src/runtime/layout/aligned-stack.d.ts.map +0 -1
- package/dist/src/runtime/layout/aligned-stack.js +0 -36
- package/dist/src/runtime/layout/aligned-stack.js.map +0 -1
- package/dist/test/collections/gantt.examples.d.ts +0 -33
- package/dist/test/collections/gantt.examples.d.ts.map +0 -1
- package/dist/test/collections/gantt.examples.js +0 -359
- package/dist/test/collections/gantt.examples.js.map +0 -1
- package/dist/test/collections/planner.examples.d.ts +0 -47
- package/dist/test/collections/planner.examples.d.ts.map +0 -1
- package/dist/test/collections/planner.examples.js +0 -546
- package/dist/test/collections/planner.examples.js.map +0 -1
- package/dist/test/layout/aligned-stack.examples.d.ts +0 -25
- package/dist/test/layout/aligned-stack.examples.d.ts.map +0 -1
- package/dist/test/layout/aligned-stack.examples.js +0 -294
- package/dist/test/layout/aligned-stack.examples.js.map +0 -1
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
+
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* `Plan` — the axis-aligned composite canvas. One shared axis
|
|
7
|
+
* (`{ time | number | ordinal }`, declared once and carried by every element
|
|
8
|
+
* instant — #631); heterogeneous rows: span rows (Gantt state-runs), bucket
|
|
9
|
+
* rows (Planner lanes), chart rows (Chart layers consumed as data),
|
|
10
|
+
* heat/table rows (Matrix cells / bucketed numerals), cards rows (Roster
|
|
11
|
+
* chips) and event rows — sliced and reviewed as one surface.
|
|
12
|
+
*
|
|
13
|
+
* Rows are **flat and KEYED** in the IR (`Dict<String, PlanRow>`) with
|
|
14
|
+
* `parent` keys; the kind factories nest via `rows:` / `groupBy`, and the
|
|
15
|
+
* declared aggregates — span rollup bands (union / byStatus, `×k` peak
|
|
16
|
+
* concurrency, summed quantities, pessimistic certainty), per-bucket heat
|
|
17
|
+
* `mean`/`max`/`sum`, table subtotals, strip summaries and member counts — are
|
|
18
|
+
* derived renderer-side from the tree the `parent` keys encode. Every factory
|
|
19
|
+
* returns the row's **subtree** (`ExprType<PlanRowsCollectionType>`), so
|
|
20
|
+
* factories compose: a nested `rows:` input is just other factories' results,
|
|
21
|
+
* and a repeated key is one row, not two (#568).
|
|
22
|
+
*
|
|
23
|
+
* The module is the namespace assembler over the split sources:
|
|
24
|
+
* `types.ts` (UIComp-free data) · `ir.ts` (resolved IR types) ·
|
|
25
|
+
* `builders.ts` (value/cell builders) · `assemble.ts` (row envelope + eager
|
|
26
|
+
* engines) · `factories.ts` (kind factories + chart consumption) ·
|
|
27
|
+
* `data-forms.ts` (the accessor config surfaces + grouping engine) · `root.ts`
|
|
28
|
+
* (templates + `Plan.Root`).
|
|
29
|
+
*
|
|
30
|
+
* @packageDocumentation
|
|
31
|
+
*/
|
|
32
|
+
import { PlanAxisType, PlanTimeAxisType, PlanNumberAxisType, PlanOrdinalAxisType, PlanInstantType, PlanGrainType, PlanGutterType, PlanPortType, PlanRollupType, PlanCellMarkerType, PlanStretchType, PlanContentType, PlanAnimationType, PlanChartPointType, PlanAxisSideType, PlanBreachType, PlanChartAxisType, PlanChartLayerType, PlanChartHeightType, PlanHeatCellType, PlanWeightCellType, PlanSegmentType, PlanSegmentCellType, PlanHeatCellsType, PlanAggregateType, PlanTableToneType, PlanTableCellType, PlanTableSeriesType, PlanTableSplitType, PlanTableEmphasisType, PlanEventMarkKindType, PlanRowRefType, PlanRunClickEventType, PlanEventClickEventType, PlanMarkClickEventType, PlanChipClickEventType, PlanCellClickEventType, PlanGroupToggleEventType, PlanFooterItemType, PlanStyleType, PlanLinkType, PlanExpandAxisType, PlanElementRefType, PlanExpandType, PlanRunType, PlanDecisionMarkType, PlanBucketEventType, PlanChipType, PlanEventMarkType, PlanLaneType, PlanRowKindType, PlanRowType, PlanRowsCollectionType } from "./types.js";
|
|
33
|
+
import { PlanReviewType, PlanRootType } from "./ir.js";
|
|
34
|
+
import { createAxis, at, createRun, createDecision, createPort, createBucketEvent, createLane, createCellMarker, createChip, createEventMark, markKind, createHeatCells, createWeightCells, createSegmentCells, createSegment, createTableCells, createTableSeries, createLink } from "./builders.js";
|
|
35
|
+
import { createLayer, createFixedHeight, createSpan, createBuckets, createChart, createHeat, createTable, createCards, createEvents, createGroup } from "./factories.js";
|
|
36
|
+
import { PlanSeriesType, createSeriesSpan, createSeriesBuckets, createSeriesChart, createSeriesHeat, createSeriesTable, createSeriesCards, createSeriesEvents, createSeriesGroup, createSeriesRows } from "./series.js";
|
|
37
|
+
import { createPlanRoot } from "./root.js";
|
|
38
|
+
import { createPlanPick, createPlanPickItems } from "./pick.js";
|
|
39
|
+
export { PlanAxisType, PlanTimeAxisType, PlanNumberAxisType, PlanOrdinalAxisType, PlanInstantType, type PlanInstantLikeType, type PlanInstantInput, type PlanAxisKindLiteral, PlanAxisKindBrand, type PlanKinded, type PlanKindOf, type PlanInstantExpr, type PlanRunExpr, type PlanDecisionMarkExpr, type PlanPortExpr, type PlanBucketEventExpr, type PlanCellMarkerExpr, type PlanChipExpr, type PlanEventMarkExpr, type PlanHeatCellsExpr, type PlanTableCellsExpr, type PlanTableSeriesExpr, type PlanAxisExpr, type PlanElementsInput, type PlanRecordInput, type PlanKindedRecord, type PlanCellsInput, type PlanHeatCellsInput, type PlanTableCellsInput, type PlanAxisInput, type PlanAxisOptions, type PlanNumberAxisOptions, type PlanOrdinalAxisOptions, PlanGrainType, type PlanGrainLiteral, PlanGutterType, PlanGutterSwatchType, PlanPortType, PlanRollupType, type PlanRollupLiteral, PlanCellMarkerType, PlanStretchType, type PlanStretchLiteral, PlanContentAlignType, type PlanContentAlignLiteral, PlanContentType, PlanAnimationType, type PlanAnimationLiteral, PlanChartPointType, PlanAxisSideType, type PlanAxisSideLiteral, PlanBreachType, PlanChartBandPointType, PlanChartAxisType, PlanChartLayerType, PlanChartHeightType, type PlanChartHeightLiteral, PlanHeatCellType, PlanWeightCellType, PlanSegmentType, PlanSegmentCellType, PlanHeatCellsType, PlanAggregateType, type PlanAggregateLiteral, PlanTableToneType, type PlanTableToneLiteral, PlanTableCellType, PlanTableSeriesType, PlanTableSplitType, type PlanTableSplitLiteral, PlanTableEmphasisType, type PlanTableEmphasisLiteral, PlanEventMarkKindType, PlanRowRefType, PlanRunClickEventType, PlanEventClickEventType, PlanMarkClickEventType, PlanChipClickEventType, PlanCellClickEventType, PlanGroupToggleEventType, PlanFooterItemType, PlanStyleType, PlanLinkType, PlanExpandAxisType, type PlanExpandAxisLiteral, PlanElementRefType, PlanExpandType, PlanRunType, PlanDecisionMarkType, PlanBucketEventType, PlanChipType, PlanEventMarkType, PlanLaneType, PlanRowKindType, PlanRowType, PlanRowsCollectionType, type PlanRowsValue, } from "./types.js";
|
|
40
|
+
export { PlanReviewType, PlanRootType } from "./ir.js";
|
|
41
|
+
export { resolvePlanEventState, resolveInstant, type PlanAxisBuilder, type PlanRawTableCellType, type PlanIconInput, type PlanRunInput, type PlanDecisionInput, type PlanPortInput, type PlanBucketEventInput, type PlanLaneInput, type PlanCellMarkerInput, type PlanChipInput, type PlanEventMarkInput, type PlanHeatCellsOptions, type PlanSegmentInput, type PlanTableSeriesInput, type PlanLinkInput, } from "./builders.js";
|
|
42
|
+
export { type PlanExpandInput, type PlanRowBaseInput, type PlanRowsInput } from "./assemble.js";
|
|
43
|
+
export { type PlanLayerChannels, type PlanWrappedLayer, type PlanChartLayerInput, type PlanChartAxisInput, type PlanSpanInput, type PlanBucketsInput, type PlanChartInput, type PlanHeatInput, type PlanTableInput, type PlanCardsInput, type PlanEventsInput, type PlanGroupInput, } from "./factories.js";
|
|
44
|
+
export { type PlanAccessor, type PlanElementsAccessor, type PlanKindedAccessor, type PlanSpanOfConfig, type PlanHeatOfConfig, type PlanTableOfConfig, } from "./data-forms.js";
|
|
45
|
+
export { type PlanReviewConfig, type PlanConfig } from "./root.js";
|
|
46
|
+
export { type PlanPickOptions, createPlanPick, createPlanPickItems } from "./pick.js";
|
|
47
|
+
export { PlanSeriesType, type PlanSeriesValue, type PlanSeriesInput, type PlanSeriesEnvelopeConfig, type PlanSpanSeriesConfig, type PlanHeatSeriesConfig, type PlanTableSeriesOfConfig, type PlanBucketsSeriesConfig, type PlanCardsSeriesConfig, type PlanEventsSeriesConfig, type PlanChartSeriesConfig, type PlanGroupSeriesChrome, type PlanGroupSeriesByConfig, } from "./series.js";
|
|
48
|
+
/**
|
|
49
|
+
* The type of the {@link Plan} namespace. Declared explicitly (rather than
|
|
50
|
+
* inferred from `as const`) so the declaration emit stays within
|
|
51
|
+
* TypeScript's serialization limit.
|
|
52
|
+
*/
|
|
53
|
+
export interface PlanNamespace {
|
|
54
|
+
/** Creates the Plan root (the `<Plan>` tag's factory). */
|
|
55
|
+
Root: typeof createPlanRoot;
|
|
56
|
+
/** Builds the shared axis declaration — `Plan.axis({ … })` is the `time`
|
|
57
|
+
* shorthand; `Plan.axis.time` / `.number` / `.ordinal` declare each kind. */
|
|
58
|
+
axis: typeof createAxis;
|
|
59
|
+
/** Builds one instant explicitly — `Plan.at.time(d)` / `.number(n)` /
|
|
60
|
+
* `.ordinal(s)` (element builders wrap by type; these are for records
|
|
61
|
+
* written as data and for reading as a declaration). */
|
|
62
|
+
at: typeof at;
|
|
63
|
+
/** Span-row SUBTREE builder (`series.rows` chrome + nested `rows:` input). */
|
|
64
|
+
span: typeof createSpan;
|
|
65
|
+
/** Bucket-row subtree builder. */
|
|
66
|
+
buckets: typeof createBuckets;
|
|
67
|
+
/** Chart-row subtree builder — Chart layer builders consumed as data. */
|
|
68
|
+
chart: typeof createChart;
|
|
69
|
+
/** Heat-row subtree builder. */
|
|
70
|
+
heat: typeof createHeat;
|
|
71
|
+
/** Table-row subtree builder. */
|
|
72
|
+
table: typeof createTable;
|
|
73
|
+
/** Cards rows (Roster chips). */
|
|
74
|
+
cards: typeof createCards;
|
|
75
|
+
/** Event rows (instant marks). */
|
|
76
|
+
events: typeof createEvents;
|
|
77
|
+
/** Group strips (the heterogeneous container). */
|
|
78
|
+
group: typeof createGroup;
|
|
79
|
+
/** Data-driven row SERIES over one source (`data` + `series` props) —
|
|
80
|
+
* each builder takes the row type first and returns a real East series
|
|
81
|
+
* value (`Plan Data Interface.md` §3.5a). */
|
|
82
|
+
series: {
|
|
83
|
+
/** A span series (runs; groupBy rollup parents). */
|
|
84
|
+
span: typeof createSeriesSpan;
|
|
85
|
+
/** A bucket series (Planner tiles). */
|
|
86
|
+
buckets: typeof createSeriesBuckets;
|
|
87
|
+
/** A chart series (layers from each row's data). */
|
|
88
|
+
chart: typeof createSeriesChart;
|
|
89
|
+
/** A heat series (groupBy aggregate parents). */
|
|
90
|
+
heat: typeof createSeriesHeat;
|
|
91
|
+
/** A table series (groupBy subtotal parents). */
|
|
92
|
+
table: typeof createSeriesTable;
|
|
93
|
+
/** A cards series (Roster chips). */
|
|
94
|
+
cards: typeof createSeriesCards;
|
|
95
|
+
/** An events series (instant marks). */
|
|
96
|
+
events: typeof createSeriesEvents;
|
|
97
|
+
/** A group strip around child series. */
|
|
98
|
+
group: typeof createSeriesGroup;
|
|
99
|
+
/** Literal one-off chrome rows, placed by their own keys. */
|
|
100
|
+
rows: typeof createSeriesRows;
|
|
101
|
+
};
|
|
102
|
+
/** Builds one span run. */
|
|
103
|
+
run: typeof createRun;
|
|
104
|
+
/** Builds one decision diamond. */
|
|
105
|
+
decision: typeof createDecision;
|
|
106
|
+
/** Builds one quantity port glyph. */
|
|
107
|
+
port: typeof createPort;
|
|
108
|
+
/** Builds one bucket-event tile. */
|
|
109
|
+
event: typeof createBucketEvent;
|
|
110
|
+
/** Builds one bucket-row lane. */
|
|
111
|
+
lane: typeof createLane;
|
|
112
|
+
/** Builds one bucket-cell status marker. */
|
|
113
|
+
marker: typeof createCellMarker;
|
|
114
|
+
/** Builds one cards chip. */
|
|
115
|
+
chip: typeof createChip;
|
|
116
|
+
/** Builds one event-row mark. */
|
|
117
|
+
mark: typeof createEventMark;
|
|
118
|
+
/** Builds one link edge of the canvas's link graph (`Plan.Root`'s `links`). */
|
|
119
|
+
link: typeof createLink;
|
|
120
|
+
/** Non-null mark-kind builders (`Plan.markKind.decision(applied)`). */
|
|
121
|
+
markKind: typeof markKind;
|
|
122
|
+
/** Wraps heat cells into the `heat` arm (scale + warn threshold). */
|
|
123
|
+
heatCells: typeof createHeatCells;
|
|
124
|
+
/** Wraps weight cells into the `weight` arm. */
|
|
125
|
+
weightCells: typeof createWeightCells;
|
|
126
|
+
/** Wraps segment cells into the `segments` arm. */
|
|
127
|
+
segmentCells: typeof createSegmentCells;
|
|
128
|
+
/** Builds one segment of a segment cell. */
|
|
129
|
+
segment: typeof createSegment;
|
|
130
|
+
/** Builds formatted per-bucket table cells from raw values. */
|
|
131
|
+
tableCells: typeof createTableCells;
|
|
132
|
+
/** Builds one table-row value series (per-position style, raw cells). */
|
|
133
|
+
tableSeries: typeof createTableSeries;
|
|
134
|
+
/** Wraps a Chart layer with the Plan-only channels (axis / breach / series). */
|
|
135
|
+
layer: typeof createLayer;
|
|
136
|
+
/** Pins a chart row to an explicit pixel height. */
|
|
137
|
+
fixed: typeof createFixedHeight;
|
|
138
|
+
/** Binds the canvas's row series to a persisted pick (#590) — the library
|
|
139
|
+
* lists sections and kinds, and `Pick.active` feeds the survivors back. */
|
|
140
|
+
pick: typeof createPlanPick;
|
|
141
|
+
/** The library entries for the canvas's series — no state binding. */
|
|
142
|
+
pickItems: typeof createPlanPickItems;
|
|
143
|
+
/** The Plan East types. */
|
|
144
|
+
Types: {
|
|
145
|
+
/** The Plan root IR ({@link PlanRootType}). */
|
|
146
|
+
Root: typeof PlanRootType;
|
|
147
|
+
/** The shared axis declaration — `{ time | number | ordinal }`. */
|
|
148
|
+
Axis: typeof PlanAxisType;
|
|
149
|
+
/** The `time` axis arm. */
|
|
150
|
+
TimeAxis: typeof PlanTimeAxisType;
|
|
151
|
+
/** The `number` axis arm. */
|
|
152
|
+
NumberAxis: typeof PlanNumberAxisType;
|
|
153
|
+
/** The `ordinal` axis arm. */
|
|
154
|
+
OrdinalAxis: typeof PlanOrdinalAxisType;
|
|
155
|
+
/** One instant on the shared axis — `{ time | number | ordinal }`. */
|
|
156
|
+
Instant: typeof PlanInstantType;
|
|
157
|
+
/** The two grains (group / resource). */
|
|
158
|
+
Grain: typeof PlanGrainType;
|
|
159
|
+
/** One flat canvas row. */
|
|
160
|
+
Row: typeof PlanRowType;
|
|
161
|
+
/** The canvas's row COLLECTION — rows keyed by their stable `key`. */
|
|
162
|
+
Rows: typeof PlanRowsCollectionType;
|
|
163
|
+
/** The eight-arm row kind. */
|
|
164
|
+
RowKind: typeof PlanRowKindType;
|
|
165
|
+
/** The gutter identity. */
|
|
166
|
+
Gutter: typeof PlanGutterType;
|
|
167
|
+
/** One span run. */
|
|
168
|
+
Run: typeof PlanRunType;
|
|
169
|
+
/** One decision diamond. */
|
|
170
|
+
DecisionMark: typeof PlanDecisionMarkType;
|
|
171
|
+
/** One quantity port. */
|
|
172
|
+
Port: typeof PlanPortType;
|
|
173
|
+
/** The rollup mode (union / byStatus / sum). */
|
|
174
|
+
Rollup: typeof PlanRollupType;
|
|
175
|
+
/** One bucket-event tile. */
|
|
176
|
+
BucketEvent: typeof PlanBucketEventType;
|
|
177
|
+
/** One bucket-row lane. */
|
|
178
|
+
Lane: typeof PlanLaneType;
|
|
179
|
+
/** One bucket-cell status marker. */
|
|
180
|
+
CellMarker: typeof PlanCellMarkerType;
|
|
181
|
+
/** The tile fill axis. */
|
|
182
|
+
Stretch: typeof PlanStretchType;
|
|
183
|
+
/** The tile two-axis content alignment. */
|
|
184
|
+
Content: typeof PlanContentType;
|
|
185
|
+
/** The tile attention animation. */
|
|
186
|
+
Animation: typeof PlanAnimationType;
|
|
187
|
+
/** One data-only chart layer. */
|
|
188
|
+
ChartLayer: typeof PlanChartLayerType;
|
|
189
|
+
/** One `{t, y}` chart point. */
|
|
190
|
+
ChartPoint: typeof PlanChartPointType;
|
|
191
|
+
/** A chart y-axis declaration. */
|
|
192
|
+
ChartAxis: typeof PlanChartAxisType;
|
|
193
|
+
/** The chart height mode (spark / expanded / fixed). */
|
|
194
|
+
ChartHeight: typeof PlanChartHeightType;
|
|
195
|
+
/** The y-axis side (left / right). */
|
|
196
|
+
AxisSide: typeof PlanAxisSideType;
|
|
197
|
+
/** A breach threshold. */
|
|
198
|
+
Breach: typeof PlanBreachType;
|
|
199
|
+
/** A heat row's cells (heat / weight / segments). */
|
|
200
|
+
HeatCells: typeof PlanHeatCellsType;
|
|
201
|
+
/** One heat cell. */
|
|
202
|
+
HeatCell: typeof PlanHeatCellType;
|
|
203
|
+
/** One weight cell. */
|
|
204
|
+
WeightCell: typeof PlanWeightCellType;
|
|
205
|
+
/** One segment cell. */
|
|
206
|
+
SegmentCell: typeof PlanSegmentCellType;
|
|
207
|
+
/** One segment of a segment cell. */
|
|
208
|
+
Segment: typeof PlanSegmentType;
|
|
209
|
+
/** The heat aggregation mode. */
|
|
210
|
+
Aggregate: typeof PlanAggregateType;
|
|
211
|
+
/** One table cell. */
|
|
212
|
+
TableCell: typeof PlanTableCellType;
|
|
213
|
+
/** One table-row value series (cells + per-position style). */
|
|
214
|
+
TableSeries: typeof PlanTableSeriesType;
|
|
215
|
+
/** The multi-series part layout (horizontal / vertical). */
|
|
216
|
+
TableSplit: typeof PlanTableSplitType;
|
|
217
|
+
/** The table-cell tone. */
|
|
218
|
+
TableTone: typeof PlanTableToneType;
|
|
219
|
+
/** The table-row emphasis. */
|
|
220
|
+
TableEmphasis: typeof PlanTableEmphasisType;
|
|
221
|
+
/** One cards chip. */
|
|
222
|
+
Chip: typeof PlanChipType;
|
|
223
|
+
/** One event mark. */
|
|
224
|
+
EventMark: typeof PlanEventMarkType;
|
|
225
|
+
/** The event-mark kind. */
|
|
226
|
+
EventMarkKind: typeof PlanEventMarkKindType;
|
|
227
|
+
/** One link edge of the canvas's link graph (the ribbon shape). */
|
|
228
|
+
Link: typeof PlanLinkType;
|
|
229
|
+
/** A row's expand-in-place declaration (R2). */
|
|
230
|
+
Expand: typeof PlanExpandType;
|
|
231
|
+
/** The expand render's axis treatment (keep / dim / off). */
|
|
232
|
+
ExpandAxis: typeof PlanExpandAxisType;
|
|
233
|
+
/** The review config at the keyed-row subject. */
|
|
234
|
+
Review: typeof PlanReviewType;
|
|
235
|
+
/** The keyed row-subject reference. */
|
|
236
|
+
RowRef: typeof PlanRowRefType;
|
|
237
|
+
/** The series type CONSTRUCTOR — `Plan.Types.Series(RowType)` gives the
|
|
238
|
+
* concrete variant type of one series over that row type. */
|
|
239
|
+
Series: typeof PlanSeriesType;
|
|
240
|
+
/** The `onRunClick` payload. */
|
|
241
|
+
RunClickEvent: typeof PlanRunClickEventType;
|
|
242
|
+
/** The `onEventClick` payload. */
|
|
243
|
+
EventClickEvent: typeof PlanEventClickEventType;
|
|
244
|
+
/** The `onMarkClick` payload. */
|
|
245
|
+
MarkClickEvent: typeof PlanMarkClickEventType;
|
|
246
|
+
/** The `onChipClick` payload. */
|
|
247
|
+
ChipClickEvent: typeof PlanChipClickEventType;
|
|
248
|
+
/** The `onCellClick` payload. */
|
|
249
|
+
CellClickEvent: typeof PlanCellClickEventType;
|
|
250
|
+
/** One canvas element by reference — the `popover` / `hover` resolvers' subject. */
|
|
251
|
+
ElementRef: typeof PlanElementRefType;
|
|
252
|
+
/** The `onGroupToggle` payload. */
|
|
253
|
+
GroupToggleEvent: typeof PlanGroupToggleEventType;
|
|
254
|
+
/** One status-footer item. */
|
|
255
|
+
FooterItem: typeof PlanFooterItemType;
|
|
256
|
+
/** The Plan style. */
|
|
257
|
+
Style: typeof PlanStyleType;
|
|
258
|
+
};
|
|
259
|
+
}
|
|
260
|
+
/**
|
|
261
|
+
* The `Plan` namespace — the axis-aligned composite canvas. Assemble a
|
|
262
|
+
* Plan with `Plan.Root` (the `<Plan>` tag), declare the axis with
|
|
263
|
+
* `Plan.axis` (`time`) / `Plan.axis.number` / `Plan.axis.ordinal`, build
|
|
264
|
+
* rows with the kind factories (`Plan.span` / `buckets` / `chart` / `heat` /
|
|
265
|
+
* `table` / `cards` / `events` / `group`, or drive them from data with
|
|
266
|
+
* `Plan.series.*`), place content with the value builders (`Plan.run` /
|
|
267
|
+
* `event` / `chip` / `mark` / …, instants via `Plan.at.*` when written as
|
|
268
|
+
* data), and reach every East type via `Plan.Types.*`.
|
|
269
|
+
*/
|
|
270
|
+
export declare const Plan: PlanNamespace;
|
|
271
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/collections/plan/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,OAAO,EACH,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,EACnB,eAAe,EACf,aAAa,EACb,cAAc,EACd,YAAY,EACZ,cAAc,EACd,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,cAAc,EACd,iBAAiB,EACjB,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,EACf,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,qBAAqB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E,OAAO,cAAc,CAAC;QAC9B,uCAAuC;QACvC,MAAM,EAAE,OAAO,cAAc,CAAC;QAC9B;sEAC8D;QAC9D,MAAM,EAAE,OAAO,cAAc,CAAC;QAC9B,gCAAgC;QAChC,aAAa,EAAE,OAAO,qBAAqB,CAAC;QAC5C,kCAAkC;QAClC,eAAe,EAAE,OAAO,uBAAuB,CAAC;QAChD,iCAAiC;QACjC,cAAc,EAAE,OAAO,sBAAsB,CAAC;QAC9C,iCAAiC;QACjC,cAAc,EAAE,OAAO,sBAAsB,CAAC;QAC9C,iCAAiC;QACjC,cAAc,EAAE,OAAO,sBAAsB,CAAC;QAC9C,oFAAoF;QACpF,UAAU,EAAE,OAAO,kBAAkB,CAAC;QACtC,mCAAmC;QACnC,gBAAgB,EAAE,OAAO,wBAAwB,CAAC;QAClD,8BAA8B;QAC9B,UAAU,EAAE,OAAO,kBAAkB,CAAC;QACtC,sBAAsB;QACtB,KAAK,EAAE,OAAO,aAAa,CAAC;KAC/B,CAAC;CACL;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,IAAI,EAAE,aAqGlB,CAAC"}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
+
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* `Plan` — the axis-aligned composite canvas. One shared axis
|
|
7
|
+
* (`{ time | number | ordinal }`, declared once and carried by every element
|
|
8
|
+
* instant — #631); heterogeneous rows: span rows (Gantt state-runs), bucket
|
|
9
|
+
* rows (Planner lanes), chart rows (Chart layers consumed as data),
|
|
10
|
+
* heat/table rows (Matrix cells / bucketed numerals), cards rows (Roster
|
|
11
|
+
* chips) and event rows — sliced and reviewed as one surface.
|
|
12
|
+
*
|
|
13
|
+
* Rows are **flat and KEYED** in the IR (`Dict<String, PlanRow>`) with
|
|
14
|
+
* `parent` keys; the kind factories nest via `rows:` / `groupBy`, and the
|
|
15
|
+
* declared aggregates — span rollup bands (union / byStatus, `×k` peak
|
|
16
|
+
* concurrency, summed quantities, pessimistic certainty), per-bucket heat
|
|
17
|
+
* `mean`/`max`/`sum`, table subtotals, strip summaries and member counts — are
|
|
18
|
+
* derived renderer-side from the tree the `parent` keys encode. Every factory
|
|
19
|
+
* returns the row's **subtree** (`ExprType<PlanRowsCollectionType>`), so
|
|
20
|
+
* factories compose: a nested `rows:` input is just other factories' results,
|
|
21
|
+
* and a repeated key is one row, not two (#568).
|
|
22
|
+
*
|
|
23
|
+
* The module is the namespace assembler over the split sources:
|
|
24
|
+
* `types.ts` (UIComp-free data) · `ir.ts` (resolved IR types) ·
|
|
25
|
+
* `builders.ts` (value/cell builders) · `assemble.ts` (row envelope + eager
|
|
26
|
+
* engines) · `factories.ts` (kind factories + chart consumption) ·
|
|
27
|
+
* `data-forms.ts` (the accessor config surfaces + grouping engine) · `root.ts`
|
|
28
|
+
* (templates + `Plan.Root`).
|
|
29
|
+
*
|
|
30
|
+
* @packageDocumentation
|
|
31
|
+
*/
|
|
32
|
+
import { PlanAxisType, PlanTimeAxisType, PlanNumberAxisType, PlanOrdinalAxisType, PlanInstantType, PlanGrainType, PlanGutterType, PlanPortType, PlanRollupType, PlanCellMarkerType, PlanStretchType, PlanContentType, PlanAnimationType, PlanChartPointType, PlanAxisSideType, PlanBreachType, PlanChartAxisType, PlanChartLayerType, PlanChartHeightType, PlanHeatCellType, PlanWeightCellType, PlanSegmentType, PlanSegmentCellType, PlanHeatCellsType, PlanAggregateType, PlanTableToneType, PlanTableCellType, PlanTableSeriesType, PlanTableSplitType, PlanTableEmphasisType, PlanEventMarkKindType, PlanRowRefType, PlanRunClickEventType, PlanEventClickEventType, PlanMarkClickEventType, PlanChipClickEventType, PlanCellClickEventType, PlanGroupToggleEventType, PlanFooterItemType, PlanStyleType, PlanLinkType, PlanExpandAxisType, PlanElementRefType, PlanExpandType, PlanRunType, PlanDecisionMarkType, PlanBucketEventType, PlanChipType, PlanEventMarkType, PlanLaneType, PlanRowKindType, PlanRowType, PlanRowsCollectionType, } from "./types.js";
|
|
33
|
+
import { PlanReviewType, PlanRootType } from "./ir.js";
|
|
34
|
+
import { createAxis, at, createRun, createDecision, createPort, createBucketEvent, createLane, createCellMarker, createChip, createEventMark, markKind, createHeatCells, createWeightCells, createSegmentCells, createSegment, createTableCells, createTableSeries, createLink, } from "./builders.js";
|
|
35
|
+
import { createLayer, createFixedHeight, createSpan, createBuckets, createChart, createHeat, createTable, createCards, createEvents, createGroup, } from "./factories.js";
|
|
36
|
+
import { PlanSeriesType, createSeriesSpan, createSeriesBuckets, createSeriesChart, createSeriesHeat, createSeriesTable, createSeriesCards, createSeriesEvents, createSeriesGroup, createSeriesRows, } from "./series.js";
|
|
37
|
+
import { createPlanRoot } from "./root.js";
|
|
38
|
+
import { createPlanPick, createPlanPickItems } from "./pick.js";
|
|
39
|
+
// Re-export the UIComp-free types so consumers reach everything via this barrel.
|
|
40
|
+
export { PlanAxisType, PlanTimeAxisType, PlanNumberAxisType, PlanOrdinalAxisType, PlanInstantType, PlanAxisKindBrand, PlanGrainType, PlanGutterType, PlanGutterSwatchType, PlanPortType, PlanRollupType, PlanCellMarkerType, PlanStretchType, PlanContentAlignType, PlanContentType, PlanAnimationType, PlanChartPointType, PlanAxisSideType, PlanBreachType, PlanChartBandPointType, PlanChartAxisType, PlanChartLayerType, PlanChartHeightType, PlanHeatCellType, PlanWeightCellType, PlanSegmentType, PlanSegmentCellType, PlanHeatCellsType, PlanAggregateType, PlanTableToneType, PlanTableCellType, PlanTableSeriesType, PlanTableSplitType, PlanTableEmphasisType, PlanEventMarkKindType, PlanRowRefType, PlanRunClickEventType, PlanEventClickEventType, PlanMarkClickEventType, PlanChipClickEventType, PlanCellClickEventType, PlanGroupToggleEventType, PlanFooterItemType, PlanStyleType, PlanLinkType, PlanExpandAxisType, PlanElementRefType, PlanExpandType, PlanRunType, PlanDecisionMarkType, PlanBucketEventType, PlanChipType, PlanEventMarkType, PlanLaneType, PlanRowKindType, PlanRowType, PlanRowsCollectionType, } from "./types.js";
|
|
41
|
+
// ── Public surface — re-exported from the split modules ─────────────────────
|
|
42
|
+
export { PlanReviewType, PlanRootType } from "./ir.js";
|
|
43
|
+
export { resolvePlanEventState, resolveInstant, } from "./builders.js";
|
|
44
|
+
export {} from "./assemble.js";
|
|
45
|
+
export {} from "./factories.js";
|
|
46
|
+
export {} from "./data-forms.js";
|
|
47
|
+
export {} from "./root.js";
|
|
48
|
+
export { createPlanPick, createPlanPickItems } from "./pick.js";
|
|
49
|
+
export { PlanSeriesType, } from "./series.js";
|
|
50
|
+
/**
|
|
51
|
+
* The `Plan` namespace — the axis-aligned composite canvas. Assemble a
|
|
52
|
+
* Plan with `Plan.Root` (the `<Plan>` tag), declare the axis with
|
|
53
|
+
* `Plan.axis` (`time`) / `Plan.axis.number` / `Plan.axis.ordinal`, build
|
|
54
|
+
* rows with the kind factories (`Plan.span` / `buckets` / `chart` / `heat` /
|
|
55
|
+
* `table` / `cards` / `events` / `group`, or drive them from data with
|
|
56
|
+
* `Plan.series.*`), place content with the value builders (`Plan.run` /
|
|
57
|
+
* `event` / `chip` / `mark` / …, instants via `Plan.at.*` when written as
|
|
58
|
+
* data), and reach every East type via `Plan.Types.*`.
|
|
59
|
+
*/
|
|
60
|
+
export const Plan = {
|
|
61
|
+
Root: createPlanRoot,
|
|
62
|
+
axis: createAxis,
|
|
63
|
+
at,
|
|
64
|
+
span: createSpan,
|
|
65
|
+
buckets: createBuckets,
|
|
66
|
+
chart: createChart,
|
|
67
|
+
heat: createHeat,
|
|
68
|
+
table: createTable,
|
|
69
|
+
cards: createCards,
|
|
70
|
+
events: createEvents,
|
|
71
|
+
group: createGroup,
|
|
72
|
+
series: {
|
|
73
|
+
span: createSeriesSpan,
|
|
74
|
+
buckets: createSeriesBuckets,
|
|
75
|
+
chart: createSeriesChart,
|
|
76
|
+
heat: createSeriesHeat,
|
|
77
|
+
table: createSeriesTable,
|
|
78
|
+
cards: createSeriesCards,
|
|
79
|
+
events: createSeriesEvents,
|
|
80
|
+
group: createSeriesGroup,
|
|
81
|
+
rows: createSeriesRows,
|
|
82
|
+
},
|
|
83
|
+
run: createRun,
|
|
84
|
+
decision: createDecision,
|
|
85
|
+
port: createPort,
|
|
86
|
+
event: createBucketEvent,
|
|
87
|
+
lane: createLane,
|
|
88
|
+
marker: createCellMarker,
|
|
89
|
+
chip: createChip,
|
|
90
|
+
mark: createEventMark,
|
|
91
|
+
link: createLink,
|
|
92
|
+
markKind,
|
|
93
|
+
heatCells: createHeatCells,
|
|
94
|
+
weightCells: createWeightCells,
|
|
95
|
+
segmentCells: createSegmentCells,
|
|
96
|
+
segment: createSegment,
|
|
97
|
+
tableCells: createTableCells,
|
|
98
|
+
tableSeries: createTableSeries,
|
|
99
|
+
layer: createLayer,
|
|
100
|
+
fixed: createFixedHeight,
|
|
101
|
+
pick: createPlanPick,
|
|
102
|
+
pickItems: createPlanPickItems,
|
|
103
|
+
Types: {
|
|
104
|
+
Root: PlanRootType,
|
|
105
|
+
Axis: PlanAxisType,
|
|
106
|
+
TimeAxis: PlanTimeAxisType,
|
|
107
|
+
NumberAxis: PlanNumberAxisType,
|
|
108
|
+
OrdinalAxis: PlanOrdinalAxisType,
|
|
109
|
+
Instant: PlanInstantType,
|
|
110
|
+
Grain: PlanGrainType,
|
|
111
|
+
Row: PlanRowType,
|
|
112
|
+
Rows: PlanRowsCollectionType,
|
|
113
|
+
RowKind: PlanRowKindType,
|
|
114
|
+
Gutter: PlanGutterType,
|
|
115
|
+
Run: PlanRunType,
|
|
116
|
+
DecisionMark: PlanDecisionMarkType,
|
|
117
|
+
Port: PlanPortType,
|
|
118
|
+
Rollup: PlanRollupType,
|
|
119
|
+
BucketEvent: PlanBucketEventType,
|
|
120
|
+
Lane: PlanLaneType,
|
|
121
|
+
CellMarker: PlanCellMarkerType,
|
|
122
|
+
Stretch: PlanStretchType,
|
|
123
|
+
Content: PlanContentType,
|
|
124
|
+
Animation: PlanAnimationType,
|
|
125
|
+
ChartLayer: PlanChartLayerType,
|
|
126
|
+
ChartPoint: PlanChartPointType,
|
|
127
|
+
ChartAxis: PlanChartAxisType,
|
|
128
|
+
ChartHeight: PlanChartHeightType,
|
|
129
|
+
AxisSide: PlanAxisSideType,
|
|
130
|
+
Breach: PlanBreachType,
|
|
131
|
+
HeatCells: PlanHeatCellsType,
|
|
132
|
+
HeatCell: PlanHeatCellType,
|
|
133
|
+
WeightCell: PlanWeightCellType,
|
|
134
|
+
SegmentCell: PlanSegmentCellType,
|
|
135
|
+
Segment: PlanSegmentType,
|
|
136
|
+
Aggregate: PlanAggregateType,
|
|
137
|
+
TableCell: PlanTableCellType,
|
|
138
|
+
TableSeries: PlanTableSeriesType,
|
|
139
|
+
TableSplit: PlanTableSplitType,
|
|
140
|
+
TableTone: PlanTableToneType,
|
|
141
|
+
TableEmphasis: PlanTableEmphasisType,
|
|
142
|
+
Chip: PlanChipType,
|
|
143
|
+
EventMark: PlanEventMarkType,
|
|
144
|
+
EventMarkKind: PlanEventMarkKindType,
|
|
145
|
+
Link: PlanLinkType,
|
|
146
|
+
Expand: PlanExpandType,
|
|
147
|
+
ExpandAxis: PlanExpandAxisType,
|
|
148
|
+
Review: PlanReviewType,
|
|
149
|
+
RowRef: PlanRowRefType,
|
|
150
|
+
Series: PlanSeriesType,
|
|
151
|
+
RunClickEvent: PlanRunClickEventType,
|
|
152
|
+
EventClickEvent: PlanEventClickEventType,
|
|
153
|
+
MarkClickEvent: PlanMarkClickEventType,
|
|
154
|
+
ChipClickEvent: PlanChipClickEventType,
|
|
155
|
+
CellClickEvent: PlanCellClickEventType,
|
|
156
|
+
ElementRef: PlanElementRefType,
|
|
157
|
+
GroupToggleEvent: PlanGroupToggleEventType,
|
|
158
|
+
FooterItem: PlanFooterItemType,
|
|
159
|
+
Style: PlanStyleType,
|
|
160
|
+
},
|
|
161
|
+
};
|
|
162
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/collections/plan/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,OAAO,EACH,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,EACnB,eAAe,EACf,aAAa,EACb,cAAc,EACd,YAAY,EACZ,cAAc,EACd,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,cAAc,EACd,iBAAiB,EACjB,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,EAClB,eAAe,EACf,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,qBAAqB,EACrB,qBAAqB,EACrB,cAAc,EACd,qBAAqB,EACrB,uBAAuB,EACvB,sBAAsB,EACtB,sBAAsB,EACtB,sBAAsB,EACtB,wBAAwB,EACxB,kBAAkB,EAClB,aAAa,EACb,YAAY,EACZ,kBAAkB,EAClB,kBAAkB,EAClB,cAAc,EACd,WAAW,EACX,oBAAoB,EACpB,mBAAmB,EACnB,YAAY,EACZ,iBAAiB,EACjB,YAAY,EACZ,eAAe,EACf,WAAW,EACX,sBAAsB,GACzB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvD,OAAO,EACH,UAAU,EACV,EAAE,EACF,SAAS,EACT,cAAc,EACd,UAAU,EACV,iBAAiB,EACjB,UAAU,EACV,gBAAgB,EAChB,UAAU,EACV,eAAe,EACf,QAAQ,EACR,eAAe,EACf,iBAAiB,EACjB,kBAAkB,EAClB,aAAa,EACb,gBAAgB,EAChB,iBAAiB,EACjB,UAAU,GACb,MAAM,eAAe,CAAC;AACvB,OAAO,EACH,WAAW,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