@elaraai/east-ui 1.0.67 → 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
|
@@ -75,4 +75,134 @@ export type StateValueLiteral = "ready" | "loading" | "empty" | "stale" | "error
|
|
|
75
75
|
* ```
|
|
76
76
|
*/
|
|
77
77
|
export declare function StateValue(state: StateValueLiteral): ExprType<StateValueType>;
|
|
78
|
+
/**
|
|
79
|
+
* The sub-flavour of a `proposed` event. It rides inside the `proposed` arm of
|
|
80
|
+
* {@link EventStateType}, so it is only representable while proposed — a
|
|
81
|
+
* confirmed or actual event can never carry a flavour.
|
|
82
|
+
*
|
|
83
|
+
* @remarks
|
|
84
|
+
* Consumer code passes string literals (`"added"`, `"recommended"`,
|
|
85
|
+
* `"removed"`) to the owning component's event builder rather than
|
|
86
|
+
* constructing this variant directly. The flavour records *provenance and
|
|
87
|
+
* intent*: `added` is an operator's own proposal, `recommended` is the
|
|
88
|
+
* optimiser's recommendation, and `removed` proposes deleting an existing
|
|
89
|
+
* scheduled event (rendered struck through until the call is made).
|
|
90
|
+
*
|
|
91
|
+
* @property added - An operator proposal
|
|
92
|
+
* @property recommended - The optimiser's recommendation
|
|
93
|
+
* @property removed - A proposed deletion of an existing event (struck through)
|
|
94
|
+
*/
|
|
95
|
+
export declare const EventFlavourType: VariantType<{
|
|
96
|
+
readonly added: NullType;
|
|
97
|
+
readonly recommended: NullType;
|
|
98
|
+
readonly removed: NullType;
|
|
99
|
+
}>;
|
|
100
|
+
export type EventFlavourType = typeof EventFlavourType;
|
|
101
|
+
/**
|
|
102
|
+
* The event lifecycle — the audit vocabulary every scheduled-event surface
|
|
103
|
+
* speaks: `estimated → proposed → confirmed → in-progress → actual`, with
|
|
104
|
+
* `rejected` the terminal decline.
|
|
105
|
+
*
|
|
106
|
+
* @remarks
|
|
107
|
+
* The certainty ladder, lowest first:
|
|
108
|
+
*
|
|
109
|
+
* | State | Meaning | Canonical rendering |
|
|
110
|
+
* |---|---|---|
|
|
111
|
+
* | `estimated` | a forecast — nothing has been put forward | ghost (faint dashed, muted italic) |
|
|
112
|
+
* | `proposed` | awaiting a call; the flavour (see {@link EventFlavourType}) carries provenance | dashed brand outline, italic |
|
|
113
|
+
* | `confirmed` | accepted into the plan | solid brand outline |
|
|
114
|
+
* | `in-progress` | executing now (typically straddling the now-line) | solid observed fill |
|
|
115
|
+
* | `actual` | happened — observed truth, audit-locked | solid observed fill |
|
|
116
|
+
* | `rejected` | declined; kept for diff context | greyed dashed |
|
|
117
|
+
*
|
|
118
|
+
* Consumer code passes string literals to event builders — `"estimated"`,
|
|
119
|
+
* `"added"`, `"recommended"`, `"removed"`, `"confirmed"`, `"in-progress"`,
|
|
120
|
+
* `"actual"`, or `"rejected"` — and the builder maps them to the appropriate
|
|
121
|
+
* (possibly nested) variant. `proposed` is never written directly; use the
|
|
122
|
+
* flavour shorthands instead. `rejected` events are kept in the IR so diff
|
|
123
|
+
* views can show what was declined without re-fetching history.
|
|
124
|
+
* `in-progress` is declared, not derived — a confirmed run past its start is
|
|
125
|
+
* *late*, not in progress; only the host knows which.
|
|
126
|
+
*
|
|
127
|
+
* Distinct on purpose from the *reviewer's* verdict on a subject
|
|
128
|
+
* (`ApprovalStateType` in `contracts/review.ts`): the optimiser writes
|
|
129
|
+
* `proposed(recommended)` events, the affected row rests `pending`, and an
|
|
130
|
+
* operator's Approve resolves the row's proposals to `confirmed`.
|
|
131
|
+
*
|
|
132
|
+
* @property estimated - A forecast; lowest certainty
|
|
133
|
+
* @property proposed - Put forward, awaiting a call; the flavour (see {@link EventFlavourType}) is nested
|
|
134
|
+
* @property confirmed - Accepted into the plan
|
|
135
|
+
* @property in-progress - Executing now
|
|
136
|
+
* @property actual - Observed truth; audit-locked
|
|
137
|
+
* @property rejected - Reviewed and declined; kept for diff
|
|
138
|
+
*/
|
|
139
|
+
export declare const EventStateType: VariantType<{
|
|
140
|
+
readonly estimated: NullType;
|
|
141
|
+
readonly proposed: VariantType<{
|
|
142
|
+
readonly added: NullType;
|
|
143
|
+
readonly recommended: NullType;
|
|
144
|
+
readonly removed: NullType;
|
|
145
|
+
}>;
|
|
146
|
+
readonly confirmed: NullType;
|
|
147
|
+
readonly "in-progress": NullType;
|
|
148
|
+
readonly actual: NullType;
|
|
149
|
+
readonly rejected: NullType;
|
|
150
|
+
}>;
|
|
151
|
+
export type EventStateType = typeof EventStateType;
|
|
152
|
+
/** String-literal shorthand accepted by event builders for {@link EventStateType}. */
|
|
153
|
+
export type EventStateLiteral = "estimated" | "added" | "recommended" | "removed" | "confirmed" | "in-progress" | "actual" | "rejected";
|
|
154
|
+
/**
|
|
155
|
+
* The sub-flavour of a `proposed` item. It rides inside the `proposed` arm of
|
|
156
|
+
* {@link PlannerStateType}, so it is only representable while proposed — a
|
|
157
|
+
* committed item can never carry a flavour.
|
|
158
|
+
*
|
|
159
|
+
* @remarks
|
|
160
|
+
* The flavour records *provenance and intent*: `added` is an operator's own
|
|
161
|
+
* proposal, `model` is a model's suggestion (rendered italic / dashed by the
|
|
162
|
+
* consuming surfaces), and `removed` proposes deleting an existing committed
|
|
163
|
+
* item (rendered struck through until the call is made).
|
|
164
|
+
*
|
|
165
|
+
* @property added - An operator proposal
|
|
166
|
+
* @property model - A model's suggestion (rendered italic)
|
|
167
|
+
* @property removed - A proposed deletion of a committed item (struck through)
|
|
168
|
+
*/
|
|
169
|
+
export declare const PlannerFlavourType: VariantType<{
|
|
170
|
+
readonly added: NullType;
|
|
171
|
+
readonly model: NullType;
|
|
172
|
+
readonly removed: NullType;
|
|
173
|
+
}>;
|
|
174
|
+
export type PlannerFlavourType = typeof PlannerFlavourType;
|
|
175
|
+
/**
|
|
176
|
+
* The three-state audit grammar — `committed` is audit-locked and read-only;
|
|
177
|
+
* `proposed` is dirty-patch owned (carrying its {@link PlannerFlavourType});
|
|
178
|
+
* `rejected` is a proposal that was turned down, kept for diff context.
|
|
179
|
+
*
|
|
180
|
+
* @remarks
|
|
181
|
+
* The shared state vocabulary of the assignment surfaces — Roster shifts,
|
|
182
|
+
* Board assignments, and Blend allocations all carry these values in their
|
|
183
|
+
* data. Named for the Planner component that coined it (retired in favour of
|
|
184
|
+
* the `Plan` canvas, #571); the name is kept so existing data and imports
|
|
185
|
+
* round-trip unchanged.
|
|
186
|
+
*
|
|
187
|
+
* Two sibling vocabularies stay distinct on purpose:
|
|
188
|
+
* - {@link EventStateType} is the richer *scheduled-event* lifecycle the Plan
|
|
189
|
+
* canvas speaks (`estimated → proposed → confirmed → in-progress → actual`).
|
|
190
|
+
* - `ApprovalStateType` (`contracts/review.ts`) is the *reviewer's* verdict on
|
|
191
|
+
* a subject — a model writes `proposed(model)` items, the affected row rests
|
|
192
|
+
* `pending`, and an operator's Approve resolves them.
|
|
193
|
+
*
|
|
194
|
+
* @property committed - Audit-locked, immutable
|
|
195
|
+
* @property proposed - Drafted; the flavour (see {@link PlannerFlavourType}) is nested
|
|
196
|
+
* @property rejected - Reviewed and declined; kept for diff
|
|
197
|
+
*/
|
|
198
|
+
export declare const PlannerStateType: VariantType<{
|
|
199
|
+
readonly committed: NullType;
|
|
200
|
+
readonly proposed: VariantType<{
|
|
201
|
+
readonly added: NullType;
|
|
202
|
+
readonly model: NullType;
|
|
203
|
+
readonly removed: NullType;
|
|
204
|
+
}>;
|
|
205
|
+
readonly rejected: NullType;
|
|
206
|
+
}>;
|
|
207
|
+
export type PlannerStateType = typeof PlannerStateType;
|
|
78
208
|
//# sourceMappingURL=states.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"states.d.ts","sourceRoot":"","sources":["../../../src/contracts/states.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAQ,QAAQ,EAAW,WAAW,EAAE,KAAK,QAAQ,EAAE,MAAM,eAAe,CAAC;AAMpF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,eAAO,MAAM,cAAc;;;;;;;;EAQzB,CAAC;AAEH;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,cAAc,CAAC;AAEnD;;GAEG;AACH,MAAM,MAAM,iBAAiB,GACvB,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,GACvC,OAAO,GAAG,UAAU,GAAG,mBAAmB,CAAC;AAEjD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,iBAAiB,GAAG,QAAQ,CAAC,cAAc,CAAC,CAE7E"}
|
|
1
|
+
{"version":3,"file":"states.d.ts","sourceRoot":"","sources":["../../../src/contracts/states.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH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StateValue(state) {
|
|
73
73
|
return East.value(variant(state, null), StateValueType);
|
|
74
74
|
}
|
|
75
|
+
// ============================================================================
|
|
76
|
+
// Event lifecycle — estimated → proposed → confirmed → in-progress → actual
|
|
77
|
+
// ============================================================================
|
|
78
|
+
/**
|
|
79
|
+
* The sub-flavour of a `proposed` event. It rides inside the `proposed` arm of
|
|
80
|
+
* {@link EventStateType}, so it is only representable while proposed — a
|
|
81
|
+
* confirmed or actual event can never carry a flavour.
|
|
82
|
+
*
|
|
83
|
+
* @remarks
|
|
84
|
+
* Consumer code passes string literals (`"added"`, `"recommended"`,
|
|
85
|
+
* `"removed"`) to the owning component's event builder rather than
|
|
86
|
+
* constructing this variant directly. The flavour records *provenance and
|
|
87
|
+
* intent*: `added` is an operator's own proposal, `recommended` is the
|
|
88
|
+
* optimiser's recommendation, and `removed` proposes deleting an existing
|
|
89
|
+
* scheduled event (rendered struck through until the call is made).
|
|
90
|
+
*
|
|
91
|
+
* @property added - An operator proposal
|
|
92
|
+
* @property recommended - The optimiser's recommendation
|
|
93
|
+
* @property removed - A proposed deletion of an existing event (struck through)
|
|
94
|
+
*/
|
|
95
|
+
export const EventFlavourType = VariantType({
|
|
96
|
+
added: NullType,
|
|
97
|
+
recommended: NullType,
|
|
98
|
+
removed: NullType,
|
|
99
|
+
});
|
|
100
|
+
/**
|
|
101
|
+
* The event lifecycle — the audit vocabulary every scheduled-event surface
|
|
102
|
+
* speaks: `estimated → proposed → confirmed → in-progress → actual`, with
|
|
103
|
+
* `rejected` the terminal decline.
|
|
104
|
+
*
|
|
105
|
+
* @remarks
|
|
106
|
+
* The certainty ladder, lowest first:
|
|
107
|
+
*
|
|
108
|
+
* | State | Meaning | Canonical rendering |
|
|
109
|
+
* |---|---|---|
|
|
110
|
+
* | `estimated` | a forecast — nothing has been put forward | ghost (faint dashed, muted italic) |
|
|
111
|
+
* | `proposed` | awaiting a call; the flavour (see {@link EventFlavourType}) carries provenance | dashed brand outline, italic |
|
|
112
|
+
* | `confirmed` | accepted into the plan | solid brand outline |
|
|
113
|
+
* | `in-progress` | executing now (typically straddling the now-line) | solid observed fill |
|
|
114
|
+
* | `actual` | happened — observed truth, audit-locked | solid observed fill |
|
|
115
|
+
* | `rejected` | declined; kept for diff context | greyed dashed |
|
|
116
|
+
*
|
|
117
|
+
* Consumer code passes string literals to event builders — `"estimated"`,
|
|
118
|
+
* `"added"`, `"recommended"`, `"removed"`, `"confirmed"`, `"in-progress"`,
|
|
119
|
+
* `"actual"`, or `"rejected"` — and the builder maps them to the appropriate
|
|
120
|
+
* (possibly nested) variant. `proposed` is never written directly; use the
|
|
121
|
+
* flavour shorthands instead. `rejected` events are kept in the IR so diff
|
|
122
|
+
* views can show what was declined without re-fetching history.
|
|
123
|
+
* `in-progress` is declared, not derived — a confirmed run past its start is
|
|
124
|
+
* *late*, not in progress; only the host knows which.
|
|
125
|
+
*
|
|
126
|
+
* Distinct on purpose from the *reviewer's* verdict on a subject
|
|
127
|
+
* (`ApprovalStateType` in `contracts/review.ts`): the optimiser writes
|
|
128
|
+
* `proposed(recommended)` events, the affected row rests `pending`, and an
|
|
129
|
+
* operator's Approve resolves the row's proposals to `confirmed`.
|
|
130
|
+
*
|
|
131
|
+
* @property estimated - A forecast; lowest certainty
|
|
132
|
+
* @property proposed - Put forward, awaiting a call; the flavour (see {@link EventFlavourType}) is nested
|
|
133
|
+
* @property confirmed - Accepted into the plan
|
|
134
|
+
* @property in-progress - Executing now
|
|
135
|
+
* @property actual - Observed truth; audit-locked
|
|
136
|
+
* @property rejected - Reviewed and declined; kept for diff
|
|
137
|
+
*/
|
|
138
|
+
export const EventStateType = VariantType({
|
|
139
|
+
estimated: NullType,
|
|
140
|
+
proposed: EventFlavourType,
|
|
141
|
+
confirmed: NullType,
|
|
142
|
+
"in-progress": NullType,
|
|
143
|
+
actual: NullType,
|
|
144
|
+
rejected: NullType,
|
|
145
|
+
});
|
|
146
|
+
// ============================================================================
|
|
147
|
+
// Three-state audit grammar — committed → proposed(flavour) → rejected
|
|
148
|
+
// ============================================================================
|
|
149
|
+
/**
|
|
150
|
+
* The sub-flavour of a `proposed` item. It rides inside the `proposed` arm of
|
|
151
|
+
* {@link PlannerStateType}, so it is only representable while proposed — a
|
|
152
|
+
* committed item can never carry a flavour.
|
|
153
|
+
*
|
|
154
|
+
* @remarks
|
|
155
|
+
* The flavour records *provenance and intent*: `added` is an operator's own
|
|
156
|
+
* proposal, `model` is a model's suggestion (rendered italic / dashed by the
|
|
157
|
+
* consuming surfaces), and `removed` proposes deleting an existing committed
|
|
158
|
+
* item (rendered struck through until the call is made).
|
|
159
|
+
*
|
|
160
|
+
* @property added - An operator proposal
|
|
161
|
+
* @property model - A model's suggestion (rendered italic)
|
|
162
|
+
* @property removed - A proposed deletion of a committed item (struck through)
|
|
163
|
+
*/
|
|
164
|
+
export const PlannerFlavourType = VariantType({
|
|
165
|
+
added: NullType,
|
|
166
|
+
model: NullType,
|
|
167
|
+
removed: NullType,
|
|
168
|
+
});
|
|
169
|
+
/**
|
|
170
|
+
* The three-state audit grammar — `committed` is audit-locked and read-only;
|
|
171
|
+
* `proposed` is dirty-patch owned (carrying its {@link PlannerFlavourType});
|
|
172
|
+
* `rejected` is a proposal that was turned down, kept for diff context.
|
|
173
|
+
*
|
|
174
|
+
* @remarks
|
|
175
|
+
* The shared state vocabulary of the assignment surfaces — Roster shifts,
|
|
176
|
+
* Board assignments, and Blend allocations all carry these values in their
|
|
177
|
+
* data. Named for the Planner component that coined it (retired in favour of
|
|
178
|
+
* the `Plan` canvas, #571); the name is kept so existing data and imports
|
|
179
|
+
* round-trip unchanged.
|
|
180
|
+
*
|
|
181
|
+
* Two sibling vocabularies stay distinct on purpose:
|
|
182
|
+
* - {@link EventStateType} is the richer *scheduled-event* lifecycle the Plan
|
|
183
|
+
* canvas speaks (`estimated → proposed → confirmed → in-progress → actual`).
|
|
184
|
+
* - `ApprovalStateType` (`contracts/review.ts`) is the *reviewer's* verdict on
|
|
185
|
+
* a subject — a model writes `proposed(model)` items, the affected row rests
|
|
186
|
+
* `pending`, and an operator's Approve resolves them.
|
|
187
|
+
*
|
|
188
|
+
* @property committed - Audit-locked, immutable
|
|
189
|
+
* @property proposed - Drafted; the flavour (see {@link PlannerFlavourType}) is nested
|
|
190
|
+
* @property rejected - Reviewed and declined; kept for diff
|
|
191
|
+
*/
|
|
192
|
+
export const PlannerStateType = VariantType({
|
|
193
|
+
committed: NullType,
|
|
194
|
+
proposed: PlannerFlavourType,
|
|
195
|
+
rejected: NullType,
|
|
196
|
+
});
|
|
75
197
|
//# sourceMappingURL=states.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"states.js","sourceRoot":"","sources":["../../../src/contracts/states.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,WAAW,EAAiB,MAAM,eAAe,CAAC;AAEpF,+EAA+E;AAC/E,qCAAqC;AACrC,+EAA+E;AAE/E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,WAAW,CAAC;IACtC,KAAK,EAAE,QAAQ;IACf,OAAO,EAAE,QAAQ;IACjB,KAAK,EAAE,QAAQ;IACf,KAAK,EAAE,QAAQ;IACf,KAAK,EAAE,QAAQ;IACf,QAAQ,EAAE,QAAQ;IAClB,mBAAmB,EAAE,QAAQ;CAChC,CAAC,CAAC;AAcH;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,UAAU,UAAU,CAAC,KAAwB;IAC/C,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,EAAE,cAAc,CAAC,CAAC;AAC5D,CAAC"}
|
|
1
|
+
{"version":3,"file":"states.js","sourceRoot":"","sources":["../../../src/contracts/states.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,WAAW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O,EAAE,QAAQ;CACpB,CAAC,CAAC;AAGH;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,WAAW,CAAC;IACxC,SAAS,EAAE,QAAQ;IACnB,QAAQ,EAAG,kBAAkB;IAC7B,QAAQ,EAAG,QAAQ;CACtB,CAAC,CAAC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
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
|
+
* Shared time vocabulary — the calendar-unit resolution of a bucketed time
|
|
7
|
+
* axis and the snap step of a time-axis drag. Cross-cutting contracts used by
|
|
8
|
+
* the Slice platform (`Slice.Range`'s resolution segment), the Plan canvas
|
|
9
|
+
* axis, and time-axis drag/duration snapping.
|
|
10
|
+
*
|
|
11
|
+
* Lifted from the Planner (`PlannerResolutionType`) and Gantt
|
|
12
|
+
* (`TimeStepType`) IR so the vocabulary survives those components — the
|
|
13
|
+
* historical names remain as re-export aliases at their original import
|
|
14
|
+
* paths.
|
|
15
|
+
*
|
|
16
|
+
* @packageDocumentation
|
|
17
|
+
*/
|
|
18
|
+
import { FloatType, NullType, VariantType } from "@elaraai/east";
|
|
19
|
+
/**
|
|
20
|
+
* The calendar unit of each bucket on a bucketed time axis — the resolution a
|
|
21
|
+
* shared time scale divides its window by (`n = window ÷ resolution`).
|
|
22
|
+
*
|
|
23
|
+
* @remarks
|
|
24
|
+
* On surfaces with a pinned window, resolution sets bucket *identity*: the
|
|
25
|
+
* column set, event placement, and drag slot keys — not just header labels.
|
|
26
|
+
* `auto` (or an absent resolution) lets the consumer infer the unit from the
|
|
27
|
+
* axis extent (the Planner rule: a pinned range spanning ≤ 14 days derives one
|
|
28
|
+
* column per day, anything else one column per month; `hour` is never chosen
|
|
29
|
+
* automatically). The fixed arms force the unit regardless of extent.
|
|
30
|
+
*
|
|
31
|
+
* Windows are half-open calendar ranges `[min, max)` — a 12-week window at
|
|
32
|
+
* `week` resolution is exactly 12 columns.
|
|
33
|
+
*
|
|
34
|
+
* @property auto - Infer from the pinned range span (≤ 14 days ⇒ day, else month)
|
|
35
|
+
* @property hour - One bucket per hour
|
|
36
|
+
* @property day - One bucket per day
|
|
37
|
+
* @property week - One bucket per week
|
|
38
|
+
* @property month - One bucket per calendar month
|
|
39
|
+
* @property quarter - One bucket per calendar quarter
|
|
40
|
+
* @property year - One bucket per calendar year
|
|
41
|
+
*/
|
|
42
|
+
export declare const TimeResolutionType: VariantType<{
|
|
43
|
+
readonly auto: NullType;
|
|
44
|
+
readonly hour: NullType;
|
|
45
|
+
readonly day: NullType;
|
|
46
|
+
readonly week: NullType;
|
|
47
|
+
readonly month: NullType;
|
|
48
|
+
readonly quarter: NullType;
|
|
49
|
+
readonly year: NullType;
|
|
50
|
+
}>;
|
|
51
|
+
export type TimeResolutionType = typeof TimeResolutionType;
|
|
52
|
+
/** String-literal shorthand for {@link TimeResolutionType}. */
|
|
53
|
+
export type TimeResolutionLiteral = "auto" | "hour" | "day" | "week" | "month" | "quarter" | "year";
|
|
54
|
+
/**
|
|
55
|
+
* Time step variant type for drag/duration snapping on a time axis.
|
|
56
|
+
*
|
|
57
|
+
* @remarks
|
|
58
|
+
* Each variant contains a float value representing the step size in that
|
|
59
|
+
* unit. Used by time-axis surfaces to snap event-body drags and edge
|
|
60
|
+
* (duration) drags to a calendar grid.
|
|
61
|
+
*
|
|
62
|
+
* @property minutes - Step size in minutes (e.g. 15 for 15-minute intervals)
|
|
63
|
+
* @property hours - Step size in hours (e.g. 1 for hourly)
|
|
64
|
+
* @property days - Step size in days (e.g. 1 for daily, 0.5 for half-day)
|
|
65
|
+
* @property weeks - Step size in weeks (e.g. 1 for weekly)
|
|
66
|
+
* @property months - Step size in months (e.g. 1 for monthly)
|
|
67
|
+
*/
|
|
68
|
+
export declare const TimeStepType: VariantType<{
|
|
69
|
+
readonly minutes: FloatType;
|
|
70
|
+
readonly hours: FloatType;
|
|
71
|
+
readonly days: FloatType;
|
|
72
|
+
readonly weeks: FloatType;
|
|
73
|
+
readonly months: FloatType;
|
|
74
|
+
}>;
|
|
75
|
+
export type TimeStepType = typeof TimeStepType;
|
|
76
|
+
//# sourceMappingURL=time.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"time.d.ts","sourceRoot":"","sources":["../../../src/contracts/time.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;GAYG;AAEH,OAAO,EACH,SAAS,EACT,QAAQ,EACR,WAAW,EACd,MAAM,eAAe,CAAC;AAMvB;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;EAQ7B,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC;AAE3D,+DAA+D;AAC/D,MAAM,MAAM,qBAAqB,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;AAMpG;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,YAAY;;;;;;EAMvB,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAC"}
|
|
@@ -0,0 +1,78 @@
|
|
|
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
|
+
* Shared time vocabulary — the calendar-unit resolution of a bucketed time
|
|
7
|
+
* axis and the snap step of a time-axis drag. Cross-cutting contracts used by
|
|
8
|
+
* the Slice platform (`Slice.Range`'s resolution segment), the Plan canvas
|
|
9
|
+
* axis, and time-axis drag/duration snapping.
|
|
10
|
+
*
|
|
11
|
+
* Lifted from the Planner (`PlannerResolutionType`) and Gantt
|
|
12
|
+
* (`TimeStepType`) IR so the vocabulary survives those components — the
|
|
13
|
+
* historical names remain as re-export aliases at their original import
|
|
14
|
+
* paths.
|
|
15
|
+
*
|
|
16
|
+
* @packageDocumentation
|
|
17
|
+
*/
|
|
18
|
+
import { FloatType, NullType, VariantType, } from "@elaraai/east";
|
|
19
|
+
// ============================================================================
|
|
20
|
+
// Time resolution — the calendar unit of a bucketed axis column
|
|
21
|
+
// ============================================================================
|
|
22
|
+
/**
|
|
23
|
+
* The calendar unit of each bucket on a bucketed time axis — the resolution a
|
|
24
|
+
* shared time scale divides its window by (`n = window ÷ resolution`).
|
|
25
|
+
*
|
|
26
|
+
* @remarks
|
|
27
|
+
* On surfaces with a pinned window, resolution sets bucket *identity*: the
|
|
28
|
+
* column set, event placement, and drag slot keys — not just header labels.
|
|
29
|
+
* `auto` (or an absent resolution) lets the consumer infer the unit from the
|
|
30
|
+
* axis extent (the Planner rule: a pinned range spanning ≤ 14 days derives one
|
|
31
|
+
* column per day, anything else one column per month; `hour` is never chosen
|
|
32
|
+
* automatically). The fixed arms force the unit regardless of extent.
|
|
33
|
+
*
|
|
34
|
+
* Windows are half-open calendar ranges `[min, max)` — a 12-week window at
|
|
35
|
+
* `week` resolution is exactly 12 columns.
|
|
36
|
+
*
|
|
37
|
+
* @property auto - Infer from the pinned range span (≤ 14 days ⇒ day, else month)
|
|
38
|
+
* @property hour - One bucket per hour
|
|
39
|
+
* @property day - One bucket per day
|
|
40
|
+
* @property week - One bucket per week
|
|
41
|
+
* @property month - One bucket per calendar month
|
|
42
|
+
* @property quarter - One bucket per calendar quarter
|
|
43
|
+
* @property year - One bucket per calendar year
|
|
44
|
+
*/
|
|
45
|
+
export const TimeResolutionType = VariantType({
|
|
46
|
+
auto: NullType,
|
|
47
|
+
hour: NullType,
|
|
48
|
+
day: NullType,
|
|
49
|
+
week: NullType,
|
|
50
|
+
month: NullType,
|
|
51
|
+
quarter: NullType,
|
|
52
|
+
year: NullType,
|
|
53
|
+
});
|
|
54
|
+
// ============================================================================
|
|
55
|
+
// Time step — drag / duration snapping
|
|
56
|
+
// ============================================================================
|
|
57
|
+
/**
|
|
58
|
+
* Time step variant type for drag/duration snapping on a time axis.
|
|
59
|
+
*
|
|
60
|
+
* @remarks
|
|
61
|
+
* Each variant contains a float value representing the step size in that
|
|
62
|
+
* unit. Used by time-axis surfaces to snap event-body drags and edge
|
|
63
|
+
* (duration) drags to a calendar grid.
|
|
64
|
+
*
|
|
65
|
+
* @property minutes - Step size in minutes (e.g. 15 for 15-minute intervals)
|
|
66
|
+
* @property hours - Step size in hours (e.g. 1 for hourly)
|
|
67
|
+
* @property days - Step size in days (e.g. 1 for daily, 0.5 for half-day)
|
|
68
|
+
* @property weeks - Step size in weeks (e.g. 1 for weekly)
|
|
69
|
+
* @property months - Step size in months (e.g. 1 for monthly)
|
|
70
|
+
*/
|
|
71
|
+
export const TimeStepType = VariantType({
|
|
72
|
+
minutes: FloatType,
|
|
73
|
+
hours: FloatType,
|
|
74
|
+
days: FloatType,
|
|
75
|
+
weeks: FloatType,
|
|
76
|
+
months: FloatType,
|
|
77
|
+
});
|
|
78
|
+
//# sourceMappingURL=time.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"time.js","sourceRoot":"","sources":["../../../src/contracts/time.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;GAYG;AAEH,OAAO,EACH,SAAS,EACT,QAAQ,EACR,WAAW,GACd,MAAM,eAAe,CAAC;AAEvB,+EAA+E;AAC/E,gEAAgE;AAChE,+EAA+E;AAE/E;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,WAAW,CAAC;IAC1C,IAAI,EAAK,QAAQ;IACjB,IAAI,EAAK,QAAQ;IACjB,GAAG,EAAM,QAAQ;IACjB,IAAI,EAAK,QAAQ;IACjB,KAAK,EAAI,QAAQ;IACjB,OAAO,EAAE,QAAQ;IACjB,IAAI,EAAK,QAAQ;CACpB,CAAC,CAAC;AAMH,+EAA+E;AAC/E,uCAAuC;AACvC,+EAA+E;AAE/E;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,WAAW,CAAC;IACpC,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,SAAS;IAChB,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,SAAS;IAChB,MAAM,EAAE,SAAS;CACpB,CAAC,CAAC"}
|
|
@@ -151,7 +151,7 @@ export interface TraceOptions {
|
|
|
151
151
|
nowLineColor?: SubtypeExprOrValue<StringType>;
|
|
152
152
|
/** Width of the left-hand track-name gutter (any CSS length, e.g. `"120px"`); omit for the density default. */
|
|
153
153
|
labelWidth?: SubtypeExprOrValue<StringType>;
|
|
154
|
-
/** Shared plot gutter (#147) — pins the step lane to `[left, W−right]` (px) so a Trace stacked under a Chart lines up on a common x. `left` supersedes `labelWidth`; when present the steps become flexible (`1fr`) and the lane fills the container.
|
|
154
|
+
/** Shared plot gutter (#147) — pins the step lane to `[left, W−right]` (px) so a Trace stacked under a Chart lines up on a common x. `left` supersedes `labelWidth`; when present the steps become flexible (`1fr`) and the lane fills the container. */
|
|
155
155
|
plotGutter?: PlotGutter;
|
|
156
156
|
}
|
|
157
157
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/display/trace/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACH,KAAK,kBAAkB,EACvB,SAAS,EACT,SAAS,EACT,WAAW,EACX,QAAQ,EACR,UAAU,EACV,UAAU,EACV,UAAU,EACV,WAAW,EACd,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAkB,KAAK,UAAU,EAAE,MAAM,6B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@@ -30,12 +30,18 @@ export type { ContainerChildrenType } from "./runtime/children.js";
|
|
|
30
30
|
export type { UIElement } from "./runtime/runtime.js";
|
|
31
31
|
export { Style } from "./style.js";
|
|
32
32
|
export { DensityType, type DensityLiteral, StatusTokenType, type StatusTokenLiteral } from "./style/interaction.js";
|
|
33
|
+
export { StatusValueType, type StatusValueLiteral } from "./feedback/status/types.js";
|
|
33
34
|
export { LibraryRefType, CellRefType, DragSinkType, type DragSinkLiteral, DragEdgeType, type DragEdgeLiteral, DragEventType, CanDropFnType, } from "./contracts/drag.js";
|
|
34
35
|
export { ApprovalStateType, type ApprovalStateLiteral, RowRefType, reviewType, type ReviewStructType, RowReviewType, type ReviewConfig, deriveApproval, } from "./contracts/review.js";
|
|
36
|
+
export { EventFlavourType, EventStateType, type EventStateLiteral, } from "./contracts/states.js";
|
|
37
|
+
export { TimeResolutionType, type TimeResolutionLiteral, } from "./contracts/time.js";
|
|
38
|
+
export { SeekRangeType, SeekQueryType, PagedSourceType, type PagedSource, RowSourceType, type RowSource, type PagedSourceLike, type RowSourceInput, Paged, type PagedOfOptions, } from "./contracts/source.js";
|
|
39
|
+
export { PickStateType, PickItemType, PickStateHandleType, PickBindType, PickPanelType, PickHandleType, type PickHandle, type PickOptions, } from "./contracts/pick.js";
|
|
40
|
+
export { Pick, type PickPanelOptions } from "./pick/index.js";
|
|
35
41
|
export { Format } from "./format/index.js";
|
|
36
42
|
export type { NumberFormatOptions, CurrencyFormatOptions, PercentFormatOptions, CompactFormatOptions, UnitFormatOptions, } from "./format/index.js";
|
|
37
43
|
export { Text, Code, Heading, Link, Highlight, Mark, List, CodeBlock, Numeric, Note, } from "./runtime/typography/index.js";
|
|
38
|
-
export { Box, Flex, Stack, VStack, HStack,
|
|
44
|
+
export { Box, Flex, Stack, VStack, HStack, Separator, Grid, Splitter, Sticky, ScrollArea, Expandable, Dock, Configurator, } from "./runtime/layout/index.js";
|
|
39
45
|
export { Button, IconButton, CopyButton, CloseButton, Toggle, ButtonGroup } from "./runtime/buttons/index.js";
|
|
40
46
|
export type { ButtonLabelInput, ButtonOptions } from "./buttons/index.js";
|
|
41
47
|
export { Input, Checkbox, RadioGroup, RadioCardGroup, TimeRangeInput, DateRangeInput, Switch, Select, Combobox, Slider, Field, FileUpload, Textarea, TagsInput } from "./runtime/forms/index.js";
|
|
@@ -47,8 +53,10 @@ export { Navigation } from "./navigation/index.js";
|
|
|
47
53
|
export type { NavRoutes, NavRouteConfig, NavConfig, RouteVariantOf, NavHandleType, BoundNav, PageConstructors, } from "./navigation/index.js";
|
|
48
54
|
export { Badge, Tag, Avatar, Image, Stat, Icon, MetricChip, EditableChip, Kbd, Meter, SegmentedMeter, BarStrip, AvatarGroup, Trace, ChipRail } from "./runtime/display/index.js";
|
|
49
55
|
export type { IconName } from "./display/index.js";
|
|
56
|
+
export { IconType } from "./display/icon/types.js";
|
|
57
|
+
export type { IconPayload } from "./buttons/button/types.js";
|
|
50
58
|
export { Card } from "./runtime/container/index.js";
|
|
51
|
-
export { DataList, Deck, ValueTree, Matrix, Pagination, Table, TreeView,
|
|
59
|
+
export { DataList, Deck, ValueTree, Matrix, Pagination, Table, TreeView, Plan, Library, Roster, Board, Calendar, Schematic, Flowchart, Map, Blend } from "./runtime/collections/index.js";
|
|
52
60
|
export { Chart, Sparkline } from "./runtime/charts/index.js";
|
|
53
61
|
export { Accordion, Carousel, Collapsible, Disclosure, OptionList, SegmentGroup, Story, Tabs } from "./runtime/disclosure/index.js";
|
|
54
62
|
export { Tooltip, Menu, Dialog, Drawer, Popover, HoverCard, ActionBar, ToggleTip, CommandPalette } from "./runtime/overlays/index.js";
|
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;GAmBG;AAGH,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAGxC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T,KAAK,cAAc,EACnB,KAAK,kBAAkB,GAC1B,MAAM,gBAAgB,CAAC;AAIxB,OAAO,EAAE,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,WAAW,EAAE,YAAY,EAAE,cAAc,EAAE,WAAW,EAAE,oBAAoB,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AACvL,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EACH,gBAAgB,EAAE,oBAAoB,EAAE,eAAe,EACvD,eAAe,EAAE,wBAAwB,EACzC,eAAe,EAAE,oBAAoB,EACrC,mBAAmB,EAAE,qBAAqB,GAC7C,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,mBAAmB,EAAE,MAAM,yBAAyB,CAAC"}
|
package/dist/src/index.js
CHANGED
|
@@ -30,16 +30,32 @@ export { coalesceChildren } from "./runtime/children.js";
|
|
|
30
30
|
// Style System
|
|
31
31
|
export { Style } from "./style.js";
|
|
32
32
|
export { DensityType, StatusTokenType } from "./style/interaction.js";
|
|
33
|
+
export { StatusValueType } from "./feedback/status/types.js";
|
|
33
34
|
// Drag & drop grammar contract — hosts type `onDrag` handlers against these
|
|
34
35
|
export { LibraryRefType, CellRefType, DragSinkType, DragEdgeType, DragEventType, CanDropFnType, } from "./contracts/drag.js";
|
|
35
36
|
// Review / approval grammar contract — hosts type `review` configs against these
|
|
36
37
|
export { ApprovalStateType, RowRefType, reviewType, RowReviewType, deriveApproval, } from "./contracts/review.js";
|
|
38
|
+
// Event lifecycle contract — the estimated → proposed → confirmed →
|
|
39
|
+
// in-progress → actual audit vocabulary scheduled-event surfaces speak
|
|
40
|
+
export { EventFlavourType, EventStateType, } from "./contracts/states.js";
|
|
41
|
+
// Shared time contract — bucketed-axis resolution + drag/duration snap steps
|
|
42
|
+
export { TimeResolutionType, } from "./contracts/time.js";
|
|
43
|
+
// Row-source contract (#567) — how a collection takes its rows: inline, or a
|
|
44
|
+
// windowed source fetched a page at a time. east-ui declares the shape;
|
|
45
|
+
// whoever can fetch windows produces one (`Data.bindPaged` in @elaraai/e3-ui,
|
|
46
|
+
// or `Paged.of` for a collection already in hand).
|
|
47
|
+
export { SeekRangeType, SeekQueryType, PagedSourceType, RowSourceType, Paged, } from "./contracts/source.js";
|
|
48
|
+
// Pick contract (#590) — which of a component's declared things are shown. A
|
|
49
|
+
// Plan picks row series, a Table would pick columns. The handle is what
|
|
50
|
+
// decouples: `Pick.Panel` renders the library and never imports the component.
|
|
51
|
+
export { PickStateType, PickItemType, PickStateHandleType, PickBindType, PickPanelType, PickHandleType, } from "./contracts/pick.js";
|
|
52
|
+
export { Pick } from "./pick/index.js";
|
|
37
53
|
// Format helpers
|
|
38
54
|
export { Format } from "./format/index.js";
|
|
39
55
|
// Typography
|
|
40
56
|
export { Text, Code, Heading, Link, Highlight, Mark, List, CodeBlock, Numeric, Note, } from "./runtime/typography/index.js";
|
|
41
57
|
// Layout
|
|
42
|
-
export { Box, Flex, Stack, VStack, HStack,
|
|
58
|
+
export { Box, Flex, Stack, VStack, HStack, Separator, Grid, Splitter, Sticky, ScrollArea, Expandable, Dock, Configurator, } from "./runtime/layout/index.js";
|
|
43
59
|
// Buttons
|
|
44
60
|
export { Button, IconButton, CopyButton, CloseButton, Toggle, ButtonGroup } from "./runtime/buttons/index.js";
|
|
45
61
|
// Forms
|
|
@@ -56,10 +72,14 @@ export { NavListType, NavSectionType, NavItemType } from "./navigation/index.js"
|
|
|
56
72
|
export { Navigation } from "./navigation/index.js";
|
|
57
73
|
// Display
|
|
58
74
|
export { Badge, Tag, Avatar, Image, Stat, Icon, MetricChip, EditableChip, Kbd, Meter, SegmentedMeter, BarStrip, AvatarGroup, Trace, ChipRail } from "./runtime/display/index.js";
|
|
75
|
+
// The icon VALUE type + its plain-JS authoring payload. Public because any
|
|
76
|
+
// per-item icon accessor (`Pick.bind`'s, a custom tag's) has to build one,
|
|
77
|
+
// and `Button`/`Banner`/`Status` already make the concept part of authoring.
|
|
78
|
+
export { IconType } from "./display/icon/types.js";
|
|
59
79
|
// Containers
|
|
60
80
|
export { Card } from "./runtime/container/index.js";
|
|
61
81
|
// Collections
|
|
62
|
-
export { DataList, Deck, ValueTree, Matrix, Pagination, Table, TreeView,
|
|
82
|
+
export { DataList, Deck, ValueTree, Matrix, Pagination, Table, TreeView, Plan, Library, Roster, Board, Calendar, Schematic, Flowchart, Map, Blend } from "./runtime/collections/index.js";
|
|
63
83
|
// Charts
|
|
64
84
|
export { Chart, Sparkline } from "./runtime/charts/index.js";
|
|
65
85
|
// Disclosure
|
package/dist/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,8CAA8C;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC,0EAA0E;AAC1E,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAEzF,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAIzD,eAAe;AACf,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,WAAW,EAAuB,eAAe,EAA2B,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,8CAA8C;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC,0EAA0E;AAC1E,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAEzF,OAAO,EAA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,WAAW,EAAE,YAAY,EAAE,cAAc,EAAE,WAAW,EAAE,oBAAoB,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AACvL,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EACH,gBAAgB,EAAE,oBAAoB,EAAE,eAAe,EACvD,eAAe,EAAE,wBAAwB,EACzC,eAAe,EAAE,oBAAoB,EACrC,mBAAmB,EAAE,qBAAqB,GAC7C,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAqD,MAAM,yBAAyB,CAAC"}
|
package/dist/src/internal.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ export { ApprovalStateType, type ApprovalStateLiteral, RowRefType, reviewType, t
|
|
|
24
24
|
export { Format } from "./format/index.js";
|
|
25
25
|
export type { NumberFormatOptions, CurrencyFormatOptions, PercentFormatOptions, CompactFormatOptions, UnitFormatOptions, } from "./format/index.js";
|
|
26
26
|
export { Text, Code, Heading, Link, Highlight, Mark, List, CodeBlock, Numeric, Note, } from "./typography/index.js";
|
|
27
|
-
export { Box, Flex, Stack,
|
|
27
|
+
export { Box, Flex, Stack, Separator, Grid, Splitter, Configurator, Sticky, ScrollArea, Expandable, Dock, } from "./layout/index.js";
|
|
28
28
|
export { Button, IconButton, CopyButton, CloseButton, Toggle, ButtonGroup } from "./buttons/index.js";
|
|
29
29
|
export type { ButtonLabelInput, ButtonOptions } from "./buttons/index.js";
|
|
30
30
|
export { Input, Checkbox, RadioGroup, RadioCardGroup, TimeRangeInput, DateRangeInput, Switch, Select, Combobox, Slider, Field, FileUpload, Textarea, TagsInput } from "./forms/index.js";
|
|
@@ -36,7 +36,8 @@ export type { AppInput } from "./navigation/index.js";
|
|
|
36
36
|
export type { NavRoutes, NavRouteConfig, NavConfig, RouteVariantOf, NavHandleType, BoundNav, PageConstructors, PagesHandlers, PagesInput, RouteInput, } from "./navigation/index.js";
|
|
37
37
|
export { Badge, Tag, Avatar, Image, Stat, Icon, MetricChip, EditableChip, Kbd, Meter, SegmentedMeter, BarStrip, AvatarGroup, Trace, ChipRail, type IconName } from "./display/index.js";
|
|
38
38
|
export { Card } from "./container/index.js";
|
|
39
|
-
export { DataList, Deck, ValueTree, Matrix, Pagination, Table, TreeView,
|
|
39
|
+
export { DataList, Deck, ValueTree, Matrix, Pagination, Table, TreeView, Plan, Library, Roster, Board, Calendar, Schematic, Flowchart, Map, Blend } from "./collections/index.js";
|
|
40
|
+
export type { PlanConfig, PlanRowBaseInput, PlanSpanInput, PlanBucketsInput, PlanChartInput, PlanHeatInput, PlanTableInput, PlanCardsInput, PlanEventsInput, PlanGroupInput, PlanRunInput, PlanDecisionInput, PlanPortInput, PlanBucketEventInput, PlanCellMarkerInput, PlanChipInput, PlanEventMarkInput, PlanSegmentInput, PlanTableSeriesInput, PlanExpandInput, PlanLinkInput, PlanIconInput, PlanLayerChannels, PlanChartLayerInput, PlanChartAxisInput, PlanHeatCellsOptions, PlanSpanOfConfig, PlanHeatOfConfig, PlanTableOfConfig, PlanReviewConfig, PlanRowsInput, PlanRowsValue, PlanSeriesValue, PlanSeriesInput, PlanSeriesEnvelopeConfig, PlanSpanSeriesConfig, PlanHeatSeriesConfig, PlanTableSeriesOfConfig, PlanBucketsSeriesConfig, PlanCardsSeriesConfig, PlanEventsSeriesConfig, PlanChartSeriesConfig, PlanGroupSeriesChrome, } from "./collections/index.js";
|
|
40
41
|
export { Chart } from "./charts/chart/index.js";
|
|
41
42
|
export { Sparkline } from "./charts/index.js";
|
|
42
43
|
export { Accordion, Carousel, Collapsible, Disclosure, OptionList, SegmentGroup, Story, Tabs } from "./disclosure/index.js";
|
|
@@ -49,12 +50,13 @@ export { EastUI, component, type UIComponentDef, type UIComponentOptions, } from
|
|
|
49
50
|
export { State, StateBindPrimitives, SliceApplyImpl, sliceDimensions, sliceFields, sliceMatches, sliceBreakdown, sliceSeries, SLICE_SERIES_PALETTE, Clipboard, Download, Share } from "./platform/index.js";
|
|
50
51
|
export { SliceConfigType, sliceConfigTypeFor, SliceChromeType, SliceStateType, SliceBindType, SliceBindPrimitives } from "./platform/slice/index.js";
|
|
51
52
|
export { SliceAffordanceType, type SliceAffordanceLiteral } from "./contracts/slice-affordances.js";
|
|
53
|
+
export { PickStateType, PickItemType, PickBindType, PickPanelType } from "./contracts/pick.js";
|
|
54
|
+
export { Pick } from "./pick/index.js";
|
|
52
55
|
export { Slice, SliceSummaryType, SliceRangePickerType, SliceFilterType, SliceLegendType, SliceBreakdownPickerType, SliceSearchType, SliceSearchMatchType, } from "./slice/index.js";
|
|
53
56
|
export { optionsTag, content, leaf, container, hasKeys } from "./runtime/combinators.js";
|
|
54
57
|
export type { JsxTag, ContainerProps, ContentProps, ValueProps, OptionsProps } from "./runtime/combinators.js";
|
|
55
58
|
export * from "./layout/box/types.js";
|
|
56
59
|
export * from "./layout/stack/types.js";
|
|
57
|
-
export * from "./layout/aligned-stack/types.js";
|
|
58
60
|
export * from "./shared/plot-gutter.js";
|
|
59
61
|
export { reifyAccessor } from "./shared/reify.js";
|
|
60
62
|
export * from "./layout/grid/types.js";
|