@elaraai/east-ui 1.0.41 → 1.0.43

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.
Files changed (41) hide show
  1. package/dist/src/collections/flowchart/index.d.ts +430 -0
  2. package/dist/src/collections/flowchart/index.d.ts.map +1 -0
  3. package/dist/src/collections/flowchart/index.js +292 -0
  4. package/dist/src/collections/flowchart/index.js.map +1 -0
  5. package/dist/src/collections/flowchart/types.d.ts +333 -0
  6. package/dist/src/collections/flowchart/types.d.ts.map +1 -0
  7. package/dist/src/collections/flowchart/types.js +263 -0
  8. package/dist/src/collections/flowchart/types.js.map +1 -0
  9. package/dist/src/collections/index.d.ts +1 -0
  10. package/dist/src/collections/index.d.ts.map +1 -1
  11. package/dist/src/collections/index.js +1 -0
  12. package/dist/src/collections/index.js.map +1 -1
  13. package/dist/src/component.d.ts +727 -0
  14. package/dist/src/component.d.ts.map +1 -1
  15. package/dist/src/component.js +39 -0
  16. package/dist/src/component.js.map +1 -1
  17. package/dist/src/index.d.ts +1 -1
  18. package/dist/src/index.d.ts.map +1 -1
  19. package/dist/src/index.js +1 -1
  20. package/dist/src/index.js.map +1 -1
  21. package/dist/src/internal.d.ts +1 -1
  22. package/dist/src/internal.d.ts.map +1 -1
  23. package/dist/src/internal.js +1 -1
  24. package/dist/src/internal.js.map +1 -1
  25. package/dist/src/runtime/collections/flowchart.d.ts +58 -0
  26. package/dist/src/runtime/collections/flowchart.d.ts.map +1 -0
  27. package/dist/src/runtime/collections/flowchart.js +54 -0
  28. package/dist/src/runtime/collections/flowchart.js.map +1 -0
  29. package/dist/src/runtime/collections/index.d.ts +1 -0
  30. package/dist/src/runtime/collections/index.d.ts.map +1 -1
  31. package/dist/src/runtime/collections/index.js +1 -0
  32. package/dist/src/runtime/collections/index.js.map +1 -1
  33. package/dist/test/collections/flowchart.examples.d.ts +7 -0
  34. package/dist/test/collections/flowchart.examples.d.ts.map +1 -0
  35. package/dist/test/collections/flowchart.examples.js +283 -0
  36. package/dist/test/collections/flowchart.examples.js.map +1 -0
  37. package/dist/test/collections/value-tree.examples.d.ts +1 -0
  38. package/dist/test/collections/value-tree.examples.d.ts.map +1 -1
  39. package/dist/test/collections/value-tree.examples.js +22 -1
  40. package/dist/test/collections/value-tree.examples.js.map +1 -1
  41. package/package.json +3 -3
@@ -0,0 +1,430 @@
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
+ import { type ExprType, type SubtypeExprOrValue, type TypeOf, ArrayType, BooleanType, DateTimeType, FunctionType, IntegerType, NullType, OptionType, StringType, StructType } from "@elaraai/east";
6
+ import { UIComponentType } from "../../component.js";
7
+ import { DensityType, type DensityLiteral } from "../../style/interaction.js";
8
+ import { SliceBindType, SliceChromeType } from "../../platform/slice/index.js";
9
+ import { type SliceAffordanceLiteral } from "../../contracts/slice-affordances.js";
10
+ import { FlowchartLinkKindType, FlowchartOrientationType, FlowchartLinkModeType, FlowchartStateType, FlowchartLinkType, FlowchartLaneType, FlowchartTriggerType, FlowchartFreshnessType, FlowchartLinkCreateEventType, FlowchartLaneRenameEventType, FlowchartStateAddEventType, FlowchartStateEditEventType, FlowchartStateMoveEventType } from "./types.js";
11
+ export { FlowchartLinkKindType, FlowchartOrientationType, FlowchartLinkModeType, FlowchartEvidenceType, FlowchartStateType, FlowchartLinkType, FlowchartLaneType, FlowchartTriggerType, FlowchartFreshnessType, FlowchartLinkCreateEventType, FlowchartLaneRenameEventType, FlowchartStateAddEventType, FlowchartStateEditEventType, FlowchartStateMoveEventType, } from "./types.js";
12
+ /**
13
+ * East type for the Flowchart root — the resolved mirror of the inline
14
+ * `Flowchart` struct in `component.ts`. Keep the two spellings in sync
15
+ * field-for-field.
16
+ *
17
+ * @remarks
18
+ * Per-field docs live on {@link FlowchartConfig}; events and collection
19
+ * row types are documented in `./types.ts`.
20
+ */
21
+ export declare const FlowchartRootType: StructType<{
22
+ states: ArrayType<FlowchartStateType>;
23
+ links: ArrayType<FlowchartLinkType>;
24
+ lanes: ArrayType<FlowchartLaneType>;
25
+ triggers: ArrayType<FlowchartTriggerType>;
26
+ orientation: OptionType<FlowchartOrientationType>;
27
+ freshness: OptionType<FlowchartFreshnessType>;
28
+ minimap: OptionType<BooleanType>;
29
+ legend: OptionType<BooleanType>;
30
+ density: OptionType<DensityType>;
31
+ height: OptionType<StringType>;
32
+ maxHeight: OptionType<StringType>;
33
+ slice: OptionType<SliceChromeType>;
34
+ stateHover: OptionType<FunctionType<[StringType], UIComponentType>>;
35
+ linkHover: OptionType<FunctionType<[StringType], UIComponentType>>;
36
+ triggerHover: OptionType<FunctionType<[StringType], UIComponentType>>;
37
+ onSelectState: OptionType<FunctionType<[StringType], NullType>>;
38
+ onSelectLink: OptionType<FunctionType<[StringType], NullType>>;
39
+ onSelectTrigger: OptionType<FunctionType<[StringType], NullType>>;
40
+ onTracePath: OptionType<FunctionType<[StringType], NullType>>;
41
+ linkMode: OptionType<FlowchartLinkModeType>;
42
+ onCreateLink: OptionType<FunctionType<[FlowchartLinkCreateEventType], NullType>>;
43
+ onDeleteLink: OptionType<FunctionType<[StringType], NullType>>;
44
+ canConnect: OptionType<FunctionType<[StringType, StringType], BooleanType>>;
45
+ onAddLane: OptionType<FunctionType<[], NullType>>;
46
+ onRenameLane: OptionType<FunctionType<[FlowchartLaneRenameEventType], NullType>>;
47
+ onDeleteLane: OptionType<FunctionType<[StringType], NullType>>;
48
+ onAddState: OptionType<FunctionType<[FlowchartStateAddEventType], NullType>>;
49
+ onEditState: OptionType<FunctionType<[FlowchartStateEditEventType], NullType>>;
50
+ onMoveState: OptionType<FunctionType<[FlowchartStateMoveEventType], NullType>>;
51
+ readOnly: OptionType<BooleanType>;
52
+ }>;
53
+ /**
54
+ * Type representing the flowchart root.
55
+ */
56
+ export type FlowchartRootType = typeof FlowchartRootType;
57
+ /**
58
+ * The struct element type of a `SubtypeExprOrValue<ArrayType<StructType>>`.
59
+ */
60
+ export type RowElement<T extends SubtypeExprOrValue<ArrayType<StructType>>> = TypeOf<T> extends ArrayType<infer S> ? (S extends StructType ? S : never) : never;
61
+ /** String shorthand for {@link FlowchartLinkKindType}. */
62
+ export type FlowchartLinkKindLiteral = "planned" | "observed";
63
+ /** String shorthand for {@link FlowchartOrientationType}. */
64
+ export type FlowchartOrientationLiteral = "LR" | "TD";
65
+ /** String shorthand for {@link FlowchartLinkModeType}. */
66
+ export type FlowchartLinkModeLiteral = "draw" | "connect";
67
+ /**
68
+ * Fields the `state` mapper returns — one state node, before defaults.
69
+ */
70
+ export interface FlowchartStateFields {
71
+ /** Short mono code — the node identity ("RCT"). */
72
+ key: SubtypeExprOrValue<StringType>;
73
+ /** Optional display label under the code. */
74
+ label?: SubtypeExprOrValue<StringType>;
75
+ /** The lane (ordered phase) this state belongs to. */
76
+ lane: SubtypeExprOrValue<StringType>;
77
+ /** Optional state-class member count → the ×N badge (an Option so per-row absence is expressible). */
78
+ members?: SubtypeExprOrValue<OptionType<IntegerType>>;
79
+ /** Optional free-text notes surfaced on hover / inspector. */
80
+ notes?: SubtypeExprOrValue<StringType>;
81
+ }
82
+ /**
83
+ * Evidence fields the `link` mapper may return — all optional, per-row
84
+ * absence via each field's Option.
85
+ */
86
+ export interface FlowchartEvidenceFields {
87
+ /** Total measured volume behind the arrow (drives stroke weight + badge). */
88
+ volume?: SubtypeExprOrValue<OptionType<FloatTypeAlias>>;
89
+ /** Event count behind the arrow (e.g. transfers). */
90
+ count?: SubtypeExprOrValue<OptionType<IntegerType>>;
91
+ /** When the evidence was measured. */
92
+ measuredAt?: SubtypeExprOrValue<OptionType<DateTimeType>>;
93
+ /** Volume unit suffix for badges ("kt"). */
94
+ unit?: SubtypeExprOrValue<StringType>;
95
+ }
96
+ type FloatTypeAlias = import("@elaraai/east").FloatType;
97
+ /**
98
+ * Fields the `link` mapper returns — one transition, before defaults.
99
+ */
100
+ export interface FlowchartLinkFields {
101
+ /** Optional stable identity (selection / delete events); default derived from endpoints. */
102
+ key?: SubtypeExprOrValue<StringType>;
103
+ /** Source state key. */
104
+ from: SubtypeExprOrValue<StringType>;
105
+ /** Target state key. */
106
+ to: SubtypeExprOrValue<StringType>;
107
+ /** Optional kind — "planned" (default, solid) | "observed" (dashed). */
108
+ kind?: SubtypeExprOrValue<FlowchartLinkKindType> | FlowchartLinkKindLiteral;
109
+ /** Optional decision trigger key (0..1 per link) → the lettered diamond. */
110
+ trigger?: SubtypeExprOrValue<OptionType<StringType>>;
111
+ /** Optional imported evidence (weight, badges, provenance). */
112
+ evidence?: FlowchartEvidenceFields;
113
+ }
114
+ /**
115
+ * Fields the `lane` mapper returns — one ordered phase band.
116
+ */
117
+ export interface FlowchartLaneFields {
118
+ /** Lane identity referenced by states. */
119
+ key: SubtypeExprOrValue<StringType>;
120
+ /** Optional band header label (defaults to the key, uppercased). */
121
+ label?: SubtypeExprOrValue<StringType>;
122
+ }
123
+ /**
124
+ * Fields the `trigger` mapper returns — one decision trigger.
125
+ */
126
+ export interface FlowchartTriggerFields {
127
+ /** Trigger identity referenced by links. */
128
+ key: SubtypeExprOrValue<StringType>;
129
+ /** Decision name ("press"). */
130
+ label: SubtypeExprOrValue<StringType>;
131
+ /** Optional diamond letter (default: first letter of the label). */
132
+ letter?: SubtypeExprOrValue<StringType>;
133
+ /** Optional owning role / system ("press-scheduler"). */
134
+ owner?: SubtypeExprOrValue<StringType>;
135
+ /** Optional state keys queued at the decision. */
136
+ queue?: SubtypeExprOrValue<ArrayType<StringType>>;
137
+ /** Optional outcome summary line ("P* (×14 slots)"). */
138
+ outcomes?: SubtypeExprOrValue<StringType>;
139
+ }
140
+ /**
141
+ * A literal lanes input — plain `{ key, label? }` entries in band order.
142
+ */
143
+ export type FlowchartLaneLiteral = {
144
+ key: string;
145
+ label?: string;
146
+ };
147
+ /**
148
+ * Eyebrow freshness chip input.
149
+ */
150
+ export interface FlowchartFreshnessInput {
151
+ /** Chip label ("evidence-2026.06"). */
152
+ label: SubtypeExprOrValue<StringType>;
153
+ /** Optional stamp printed after the label. */
154
+ date?: SubtypeExprOrValue<DateTimeType>;
155
+ }
156
+ /**
157
+ * Configuration for a Flowchart.
158
+ *
159
+ * @remarks
160
+ * A self-contained, slice-consuming state-transition flowchart: states as
161
+ * nodes in ordered phase lanes, H/V-routed transition arrows, optional
162
+ * per-link decision triggers (lettered diamonds), evidence-weighted
163
+ * strokes, and built-in hover-card / inspector / highlight surfaces
164
+ * derived from core + declared fields ("no new canvas encodings").
165
+ *
166
+ * @typeParam S - The states-table row struct
167
+ * @typeParam L - The links-table row struct
168
+ * @typeParam N - The lanes-table row struct
169
+ * @typeParam T - The triggers-table row struct
170
+ */
171
+ export interface FlowchartConfig<S extends StructType = StructType, L extends StructType = StructType, N extends StructType = StructType, T extends StructType = StructType> {
172
+ /** Row mapper from a state row to node fields — omit when rows are already `Flowchart.Types.State`. */
173
+ state?: (row: ExprType<S>) => FlowchartStateFields | ExprType<FlowchartStateType>;
174
+ /** Row mapper from a link row to transition fields — omit when rows are already `Flowchart.Types.Link`. */
175
+ link?: (row: ExprType<L>) => FlowchartLinkFields | ExprType<FlowchartLinkType>;
176
+ /** Row mapper from a lane row to band fields — omit for literal `{ key, label? }` arrays or `Flowchart.Types.Lane` rows. */
177
+ lane?: (row: ExprType<N>) => FlowchartLaneFields | ExprType<FlowchartLaneType>;
178
+ /** Optional decision-trigger rows; links reference them by key. */
179
+ triggers?: SubtypeExprOrValue<ArrayType<StructType>>;
180
+ /** Row mapper from a trigger row — omit when rows are already `Flowchart.Types.Trigger`. */
181
+ trigger?: (row: ExprType<T>) => FlowchartTriggerFields | ExprType<FlowchartTriggerType>;
182
+ /** Initial orientation — "LR" (default) | "TD"; the eyebrow segment toggles it (view state, never a chip). */
183
+ orientation?: SubtypeExprOrValue<FlowchartOrientationType> | FlowchartOrientationLiteral;
184
+ /** Optional eyebrow freshness chip. */
185
+ freshness?: FlowchartFreshnessInput;
186
+ /** Optional minimap toggle (default: auto — shown at ≥ 25 states). */
187
+ minimap?: SubtypeExprOrValue<BooleanType> | boolean;
188
+ /** Optional legend toggle (default true). */
189
+ legend?: SubtypeExprOrValue<BooleanType> | boolean;
190
+ /** Optional density. */
191
+ density?: SubtypeExprOrValue<DensityType> | DensityLiteral;
192
+ /** Optional height — pins the component (uniform sizing #320); body scrolls within. */
193
+ height?: SubtypeExprOrValue<StringType>;
194
+ /** Optional maxHeight — caps the component, content-sized until the cap. */
195
+ maxHeight?: SubtypeExprOrValue<StringType>;
196
+ /** Optional bound slice handle — mounts the eyebrow slice cluster; consumers feed `links` via `Slice.rows`. */
197
+ slice?: SubtypeExprOrValue<SliceBindType>;
198
+ /** Slice affordances (default `["filter","search"]`; search = "⌕ find state"). `"brush"` is a build-time error — a flowchart has no continuous 1-D axis. */
199
+ affordances?: SliceAffordanceLiteral[];
200
+ /** Optional hover-card content builder for STATES — receives the hovered state's key and returns arbitrary UI, evaluated lazily on hover; absent ⇒ no state hover card. */
201
+ stateHover?: SubtypeExprOrValue<FunctionType<[StringType], UIComponentType>>;
202
+ /** Optional hover-card content builder for LINKS — receives the hovered link's key; absent ⇒ no link hover card. */
203
+ linkHover?: SubtypeExprOrValue<FunctionType<[StringType], UIComponentType>>;
204
+ /** Optional hover-card content builder for TRIGGERS — receives the hovered trigger's key; absent ⇒ no trigger hover card. */
205
+ triggerHover?: SubtypeExprOrValue<FunctionType<[StringType], UIComponentType>>;
206
+ /** Optional state-click callback (node key). */
207
+ onSelectState?: SubtypeExprOrValue<FunctionType<[StringType], NullType>>;
208
+ /** Optional link-click callback (link key). */
209
+ onSelectLink?: SubtypeExprOrValue<FunctionType<[StringType], NullType>>;
210
+ /** Optional trigger-click callback (trigger key; the click also highlights governed links). */
211
+ onSelectTrigger?: SubtypeExprOrValue<FunctionType<[StringType], NullType>>;
212
+ /** Optional ⌥-click trace-path callback (link key). */
213
+ onTracePath?: SubtypeExprOrValue<FunctionType<[StringType], NullType>>;
214
+ /** Link-authoring mode — "draw" (adds locally) | "connect" (event-only); absent ⇒ read-only links. */
215
+ linkMode?: SubtypeExprOrValue<FlowchartLinkModeType> | FlowchartLinkModeLiteral;
216
+ /** Optional link-creation callback — a completed out-handle → node drag ({ from, to }). */
217
+ onCreateLink?: SubtypeExprOrValue<FunctionType<[FlowchartLinkCreateEventType], NullType>>;
218
+ /** Optional link-delete callback — Del with a link selected (link key). */
219
+ onDeleteLink?: SubtypeExprOrValue<FunctionType<[StringType], NullType>>;
220
+ /** Optional connection validator — `(from, to)` BEFORE the draft snaps; false forbids the pair. A throwing validator logs and ALLOWS (fail-open). */
221
+ canConnect?: SubtypeExprOrValue<FunctionType<[StringType, StringType], BooleanType>>;
222
+ /** Optional add-lane callback — its presence renders the dashed "+ LANE" tail affordance (full lane height); absent ⇒ no affordance. */
223
+ onAddLane?: SubtypeExprOrValue<FunctionType<[], NullType>>;
224
+ /** Optional lane-rename callback — its presence makes lane headers click-to-edit (Enter / blur commits, Esc cancels); receives { key, label }. */
225
+ onRenameLane?: SubtypeExprOrValue<FunctionType<[FlowchartLaneRenameEventType], NullType>>;
226
+ /** Optional lane-delete callback — its presence renders an × beside each header (lane key). The HOST decides the cascade; the canvas stays safe either way: states referencing a missing lane fall into the LAST lane, and links to deleted states render as the neg-dashed "No state row" ghosts — orphans stay visible. */
227
+ onDeleteLane?: SubtypeExprOrValue<FunctionType<[StringType], NullType>>;
228
+ /** Optional state-add callback — its presence enables the "+ STATE" ghost: hovering a lane band reveals one dashed node-footprint ghost parked one row below the lane's last node; click turns it into the inline editor (code auto-focused, label below); ⏎ commits { lane, key, label }, esc / blur-empty dismisses. The committed state starts unconnected. */
229
+ onAddState?: SubtypeExprOrValue<FunctionType<[FlowchartStateAddEventType], NullType>>;
230
+ /** Optional state-edit callback — its presence makes nodes double-click-to-edit in the same inline editor; receives { key, code, label } where key is the ORIGINAL identity (rekeying links is the host's call). */
231
+ onEditState?: SubtypeExprOrValue<FunctionType<[FlowchartStateEditEventType], NullType>>;
232
+ /** Optional state-move callback — its presence lets nodes drag across lanes (candidate bands highlight while dragging); receives { key, lane } on drop. */
233
+ onMoveState?: SubtypeExprOrValue<FunctionType<[FlowchartStateMoveEventType], NullType>>;
234
+ /** Optional runtime edit gate — true suppresses every authoring affordance (connect gesture, Del delete, + LANE) without unwiring the callbacks; selection and hover stay (inspecting isn't editing). Reactive-capable: feed a permission / published-mode flag. */
235
+ readOnly?: SubtypeExprOrValue<BooleanType> | boolean;
236
+ }
237
+ /**
238
+ * Creates a Flowchart — a self-contained state-transition flowchart.
239
+ *
240
+ * @typeParam S - The states-table input
241
+ * @typeParam L - The links-table input
242
+ * @typeParam N - The lanes-table input
243
+ * @typeParam T - The triggers-table input
244
+ * @param states - The state rows (nodes)
245
+ * @param config - The Flowchart configuration ({@link FlowchartConfig}) plus
246
+ * the `links` / `lanes` (required) and `triggers` (optional) tables
247
+ * @returns An East expression of `UIComponentType`
248
+ *
249
+ * @example
250
+ * ```ts
251
+ * import { East } from "@elaraai/east";
252
+ * import { Flowchart, UIComponentType } from "@elaraai/east-ui";
253
+ *
254
+ * const example = East.function([], UIComponentType, _$ =>
255
+ * Flowchart.Root(
256
+ * [{ code: "RMI", name: "Raw intake", phase: "prep" },
257
+ * { code: "CUT", name: "Cut blanks", phase: "prep" }],
258
+ * {
259
+ * state: s => ({ key: s.code, label: s.name, lane: s.phase }),
260
+ * links: [{ src: "RMI", dst: "CUT" }],
261
+ * link: l => ({ from: l.src, to: l.dst }),
262
+ * lanes: [{ key: "prep", label: "Prep" }],
263
+ * },
264
+ * ),
265
+ * );
266
+ * ```
267
+ */
268
+ declare function createFlowchart<S extends SubtypeExprOrValue<ArrayType<StructType>>, L extends SubtypeExprOrValue<ArrayType<StructType>>, N extends SubtypeExprOrValue<ArrayType<StructType>> = [], T extends SubtypeExprOrValue<ArrayType<StructType>> = []>(states: S, config: FlowchartConfig<RowElement<S>, RowElement<L>, RowElement<N>, RowElement<T>> & {
269
+ links: L;
270
+ lanes: N | readonly FlowchartLaneLiteral[];
271
+ triggers?: T;
272
+ }): ExprType<UIComponentType>;
273
+ /**
274
+ * Flowchart component namespace.
275
+ *
276
+ * @remarks
277
+ * `Flowchart.Root(states, config)` builds the flowchart from up to four
278
+ * flat tables (states, links, lanes, triggers); closed-set fields in data
279
+ * (`kind`, `orientation`, `linkMode`) are typed variant values
280
+ * (`Flowchart.Types.*`).
281
+ */
282
+ export declare const Flowchart: {
283
+ /**
284
+ * Creates a Flowchart — a self-contained state-transition flowchart.
285
+ *
286
+ * @remarks
287
+ * See {@link FlowchartConfig} for per-field docs. States render as
288
+ * nodes in ordered phase lanes; links as H/V-routed arrows; triggers
289
+ * as lettered diamonds. Hover cards, the inspector and the highlight
290
+ * grammar are built-in surfaces derived from core + declared fields.
291
+ */
292
+ readonly Root: typeof createFlowchart;
293
+ /**
294
+ * East types for flowchart rows, closed-set fields and events.
295
+ */
296
+ readonly Types: {
297
+ /**
298
+ * East StructType for the Flowchart component.
299
+ *
300
+ * @remarks
301
+ * See {@link FlowchartRootType} for per-field docs.
302
+ */
303
+ readonly Flowchart: StructType<{
304
+ states: ArrayType<FlowchartStateType>;
305
+ links: ArrayType<FlowchartLinkType>;
306
+ lanes: ArrayType<FlowchartLaneType>;
307
+ triggers: ArrayType<FlowchartTriggerType>;
308
+ orientation: OptionType<FlowchartOrientationType>;
309
+ freshness: OptionType<FlowchartFreshnessType>;
310
+ minimap: OptionType<BooleanType>;
311
+ legend: OptionType<BooleanType>;
312
+ density: OptionType<DensityType>;
313
+ height: OptionType<StringType>;
314
+ maxHeight: OptionType<StringType>;
315
+ slice: OptionType<SliceChromeType>;
316
+ stateHover: OptionType<FunctionType<[StringType], UIComponentType>>;
317
+ linkHover: OptionType<FunctionType<[StringType], UIComponentType>>;
318
+ triggerHover: OptionType<FunctionType<[StringType], UIComponentType>>;
319
+ onSelectState: OptionType<FunctionType<[StringType], NullType>>;
320
+ onSelectLink: OptionType<FunctionType<[StringType], NullType>>;
321
+ onSelectTrigger: OptionType<FunctionType<[StringType], NullType>>;
322
+ onTracePath: OptionType<FunctionType<[StringType], NullType>>;
323
+ linkMode: OptionType<FlowchartLinkModeType>;
324
+ onCreateLink: OptionType<FunctionType<[FlowchartLinkCreateEventType], NullType>>;
325
+ onDeleteLink: OptionType<FunctionType<[StringType], NullType>>;
326
+ canConnect: OptionType<FunctionType<[StringType, StringType], BooleanType>>;
327
+ onAddLane: OptionType<FunctionType<[], NullType>>;
328
+ onRenameLane: OptionType<FunctionType<[FlowchartLaneRenameEventType], NullType>>;
329
+ onDeleteLane: OptionType<FunctionType<[StringType], NullType>>;
330
+ onAddState: OptionType<FunctionType<[FlowchartStateAddEventType], NullType>>;
331
+ onEditState: OptionType<FunctionType<[FlowchartStateEditEventType], NullType>>;
332
+ onMoveState: OptionType<FunctionType<[FlowchartStateMoveEventType], NullType>>;
333
+ readOnly: OptionType<BooleanType>;
334
+ }>;
335
+ /** One state node ({@link FlowchartStateType}). */
336
+ readonly State: StructType<{
337
+ readonly key: StringType;
338
+ readonly label: OptionType<StringType>;
339
+ readonly lane: StringType;
340
+ readonly members: OptionType<IntegerType>;
341
+ readonly notes: OptionType<StringType>;
342
+ }>;
343
+ /** One transition ({@link FlowchartLinkType}). */
344
+ readonly Link: StructType<{
345
+ readonly key: OptionType<StringType>;
346
+ readonly from: StringType;
347
+ readonly to: StringType;
348
+ readonly kind: OptionType<import("@elaraai/east").VariantType<{
349
+ readonly planned: NullType;
350
+ readonly observed: NullType;
351
+ }>>;
352
+ readonly trigger: OptionType<StringType>;
353
+ readonly evidence: OptionType<StructType<{
354
+ readonly volume: OptionType<import("@elaraai/east").FloatType>;
355
+ readonly count: OptionType<IntegerType>;
356
+ readonly measuredAt: OptionType<DateTimeType>;
357
+ readonly unit: OptionType<StringType>;
358
+ }>>;
359
+ }>;
360
+ /** One ordered phase band ({@link FlowchartLaneType}). */
361
+ readonly Lane: StructType<{
362
+ readonly key: StringType;
363
+ readonly label: OptionType<StringType>;
364
+ }>;
365
+ /** One decision trigger ({@link FlowchartTriggerType}). */
366
+ readonly Trigger: StructType<{
367
+ readonly key: StringType;
368
+ readonly label: StringType;
369
+ readonly letter: OptionType<StringType>;
370
+ readonly owner: OptionType<StringType>;
371
+ readonly queue: OptionType<ArrayType<StringType>>;
372
+ readonly outcomes: OptionType<StringType>;
373
+ }>;
374
+ /** Imported link evidence ({@link FlowchartEvidenceType}). */
375
+ readonly Evidence: StructType<{
376
+ readonly volume: OptionType<import("@elaraai/east").FloatType>;
377
+ readonly count: OptionType<IntegerType>;
378
+ readonly measuredAt: OptionType<DateTimeType>;
379
+ readonly unit: OptionType<StringType>;
380
+ }>;
381
+ /** Link kind — planned | observed ({@link FlowchartLinkKindType}). */
382
+ readonly Kind: import("@elaraai/east").VariantType<{
383
+ readonly planned: NullType;
384
+ readonly observed: NullType;
385
+ }>;
386
+ /** Canvas orientation — LR | TD ({@link FlowchartOrientationType}). */
387
+ readonly Orientation: import("@elaraai/east").VariantType<{
388
+ readonly LR: NullType;
389
+ readonly TD: NullType;
390
+ }>;
391
+ /** Link-authoring mode — draw | connect ({@link FlowchartLinkModeType}). */
392
+ readonly LinkMode: import("@elaraai/east").VariantType<{
393
+ readonly draw: NullType;
394
+ readonly connect: NullType;
395
+ }>;
396
+ /** Eyebrow freshness chip ({@link FlowchartFreshnessType}). */
397
+ readonly Freshness: StructType<{
398
+ readonly label: StringType;
399
+ readonly date: OptionType<DateTimeType>;
400
+ }>;
401
+ /** Link-creation event ({@link FlowchartLinkCreateEventType}). */
402
+ readonly LinkCreateEvent: StructType<{
403
+ readonly from: StringType;
404
+ readonly to: StringType;
405
+ }>;
406
+ /** Lane-rename event ({@link FlowchartLaneRenameEventType}). */
407
+ readonly LaneRenameEvent: StructType<{
408
+ readonly key: StringType;
409
+ readonly label: StringType;
410
+ }>;
411
+ /** State-add event ({@link FlowchartStateAddEventType}). */
412
+ readonly StateAddEvent: StructType<{
413
+ readonly lane: StringType;
414
+ readonly key: StringType;
415
+ readonly label: StringType;
416
+ }>;
417
+ /** State-edit event ({@link FlowchartStateEditEventType}). */
418
+ readonly StateEditEvent: StructType<{
419
+ readonly key: StringType;
420
+ readonly code: StringType;
421
+ readonly label: StringType;
422
+ }>;
423
+ /** State-move event ({@link FlowchartStateMoveEventType}). */
424
+ readonly StateMoveEvent: StructType<{
425
+ readonly key: StringType;
426
+ readonly lane: StringType;
427
+ }>;
428
+ };
429
+ };
430
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/collections/flowchart/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACH,KAAK,QAAQ,EACb,KAAK,kBAAkB,EACvB,KAAK,MAAM,EAMX,SAAS,EACT,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,QAAQ,EACR,UAAU,EACV,UAAU,EACV,UAAU,EACb,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,OAAO,EAAE,WAAW,EAAE,KAAK,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAC/E,OAAO,EAAuB,KAAK,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AACxG,OAAO,EACH,qBAAqB,EACrB,wBAAwB,EACxB,qBAAqB,EAErB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,oBAAoB,EACpB,sBAAsB,EACtB,4BAA4B,EAC5B,4BAA4B,EAC5B,0BAA0B,EAC1B,2BAA2B,EAC3B,2BAA2B,EAC9B,MAAM,YAAY,CAAC;AAGpB,OAAO,EACH,qBAAqB,EACrB,wBAAwB,EACxB,qBAAqB,EACrB,qBAAqB,EACrB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,oBAAoB,EACpB,sBAAsB,EACtB,4BAA4B,EAC5B,4BAA4B,EAC5B,0BAA0B,E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