@elaraai/e3-ui 1.0.94 → 1.0.96
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/allocation/adapters.d.ts +159 -0
- package/dist/src/allocation/adapters.d.ts.map +1 -0
- package/dist/src/allocation/adapters.js +241 -0
- package/dist/src/allocation/adapters.js.map +1 -0
- package/dist/src/allocation/functions.d.ts +664 -0
- package/dist/src/allocation/functions.d.ts.map +1 -0
- package/dist/src/allocation/functions.js +782 -0
- package/dist/src/allocation/functions.js.map +1 -0
- package/dist/src/allocation/index.d.ts +2985 -0
- package/dist/src/allocation/index.d.ts.map +1 -0
- package/dist/src/allocation/index.js +499 -0
- package/dist/src/allocation/index.js.map +1 -0
- package/dist/src/allocation/types.d.ts +832 -0
- package/dist/src/allocation/types.d.ts.map +1 -0
- package/dist/src/allocation/types.js +360 -0
- package/dist/src/allocation/types.js.map +1 -0
- package/dist/src/bind/func.d.ts +14 -0
- package/dist/src/bind/func.d.ts.map +1 -1
- package/dist/src/bind/func.js +22 -1
- package/dist/src/bind/func.js.map +1 -1
- package/dist/src/calendar/index.d.ts +510 -1639
- package/dist/src/calendar/index.d.ts.map +1 -1
- package/dist/src/calendar/index.js +56 -29
- package/dist/src/calendar/index.js.map +1 -1
- package/dist/src/flowchart/canvas.d.ts +9 -21
- package/dist/src/flowchart/canvas.d.ts.map +1 -1
- package/dist/src/flowchart/canvas.js +10 -22
- package/dist/src/flowchart/canvas.js.map +1 -1
- package/dist/src/flowchart/flowchart.d.ts +19 -13
- package/dist/src/flowchart/flowchart.d.ts.map +1 -1
- package/dist/src/flowchart/flowchart.js.map +1 -1
- package/dist/src/flowchart/index.d.ts +44 -21
- package/dist/src/flowchart/index.d.ts.map +1 -1
- package/dist/src/flowchart/index.js +43 -20
- package/dist/src/flowchart/index.js.map +1 -1
- package/dist/src/flowchart/library.d.ts +166 -81
- package/dist/src/flowchart/library.d.ts.map +1 -1
- package/dist/src/flowchart/library.js +232 -105
- package/dist/src/flowchart/library.js.map +1 -1
- package/dist/src/flowchart/over.d.ts +9 -16
- package/dist/src/flowchart/over.d.ts.map +1 -1
- package/dist/src/flowchart/over.js +9 -16
- package/dist/src/flowchart/over.js.map +1 -1
- package/dist/src/flowchart/payload.d.ts +710 -508
- package/dist/src/flowchart/payload.d.ts.map +1 -1
- package/dist/src/flowchart/payload.js +128 -74
- package/dist/src/flowchart/payload.js.map +1 -1
- package/dist/src/flowchart/window.d.ts +132 -347
- package/dist/src/flowchart/window.d.ts.map +1 -1
- package/dist/src/flowchart/window.js +48 -55
- package/dist/src/flowchart/window.js.map +1 -1
- package/dist/src/index.d.ts +11 -7
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +14 -6
- package/dist/src/index.js.map +1 -1
- package/dist/src/internal.d.ts +18 -7
- package/dist/src/internal.d.ts.map +1 -1
- package/dist/src/internal.js +28 -9
- package/dist/src/internal.js.map +1 -1
- package/dist/src/plan/event-rows.d.ts +26 -10
- package/dist/src/plan/event-rows.d.ts.map +1 -1
- package/dist/src/plan/event-rows.js +39 -13
- package/dist/src/plan/event-rows.js.map +1 -1
- package/dist/src/plan/ir.d.ts +244 -815
- package/dist/src/plan/ir.d.ts.map +1 -1
- package/dist/src/plan/ir.js +8 -6
- package/dist/src/plan/ir.js.map +1 -1
- package/dist/src/plan/library.d.ts +3 -0
- package/dist/src/plan/library.d.ts.map +1 -1
- package/dist/src/plan/library.js +1 -1
- package/dist/src/plan/library.js.map +1 -1
- package/dist/src/plan/ordered-source.d.ts +1 -0
- package/dist/src/plan/ordered-source.d.ts.map +1 -1
- package/dist/src/plan/plan.d.ts +559 -1667
- package/dist/src/plan/plan.d.ts.map +1 -1
- package/dist/src/plan/plan.js +123 -45
- package/dist/src/plan/plan.js.map +1 -1
- package/dist/src/plan/root.d.ts +16 -20
- package/dist/src/plan/root.d.ts.map +1 -1
- package/dist/src/plan/root.js +23 -33
- package/dist/src/plan/root.js.map +1 -1
- package/dist/src/roster/coverage.d.ts +17 -231
- package/dist/src/roster/coverage.d.ts.map +1 -1
- package/dist/src/roster/coverage.js +94 -90
- package/dist/src/roster/coverage.js.map +1 -1
- package/dist/src/roster/fit.d.ts +59 -0
- package/dist/src/roster/fit.d.ts.map +1 -0
- package/dist/src/roster/fit.js +155 -0
- package/dist/src/roster/fit.js.map +1 -0
- package/dist/src/roster/index.d.ts +2862 -3662
- package/dist/src/roster/index.d.ts.map +1 -1
- package/dist/src/roster/index.js +383 -81
- package/dist/src/roster/index.js.map +1 -1
- package/dist/src/roster/library.d.ts +37 -92
- package/dist/src/roster/library.d.ts.map +1 -1
- package/dist/src/roster/library.js +25 -64
- package/dist/src/roster/library.js.map +1 -1
- package/dist/src/roster/lists.d.ts +195 -0
- package/dist/src/roster/lists.d.ts.map +1 -0
- package/dist/src/roster/lists.js +233 -0
- package/dist/src/roster/lists.js.map +1 -0
- package/dist/src/roster/rules.d.ts +17 -260
- package/dist/src/roster/rules.d.ts.map +1 -1
- package/dist/src/roster/rules.js +135 -132
- package/dist/src/roster/rules.js.map +1 -1
- package/dist/src/roster/targets.d.ts +115 -0
- package/dist/src/roster/targets.d.ts.map +1 -0
- package/dist/src/roster/targets.js +213 -0
- package/dist/src/roster/targets.js.map +1 -0
- package/dist/src/roster/times.d.ts +251 -0
- package/dist/src/roster/times.d.ts.map +1 -0
- package/dist/src/roster/times.js +174 -0
- package/dist/src/roster/times.js.map +1 -0
- package/dist/src/roster/types.d.ts +828 -183
- package/dist/src/roster/types.d.ts.map +1 -1
- package/dist/src/roster/types.js +224 -97
- package/dist/src/roster/types.js.map +1 -1
- package/dist/src/schedule/accessor.d.ts +28 -0
- package/dist/src/schedule/accessor.d.ts.map +1 -0
- package/dist/src/schedule/accessor.js +39 -0
- package/dist/src/schedule/accessor.js.map +1 -0
- package/dist/src/schedule/events.d.ts +170 -42
- package/dist/src/schedule/events.d.ts.map +1 -1
- package/dist/src/schedule/events.js +431 -171
- package/dist/src/schedule/events.js.map +1 -1
- package/dist/src/schedule/index.d.ts +41 -4
- package/dist/src/schedule/index.d.ts.map +1 -1
- package/dist/src/schedule/index.js +35 -3
- package/dist/src/schedule/index.js.map +1 -1
- package/dist/src/schedule/library.d.ts +13 -3
- package/dist/src/schedule/library.d.ts.map +1 -1
- package/dist/src/schedule/library.js +11 -4
- package/dist/src/schedule/library.js.map +1 -1
- package/dist/src/schedule/periods.d.ts +115 -0
- package/dist/src/schedule/periods.d.ts.map +1 -0
- package/dist/src/schedule/periods.js +215 -0
- package/dist/src/schedule/periods.js.map +1 -0
- package/dist/src/schedule/record-window.d.ts +25 -3
- package/dist/src/schedule/record-window.d.ts.map +1 -1
- package/dist/src/schedule/record-window.js +31 -18
- package/dist/src/schedule/record-window.js.map +1 -1
- package/dist/src/schedule/resources.d.ts +82 -4
- package/dist/src/schedule/resources.d.ts.map +1 -1
- package/dist/src/schedule/resources.js +44 -14
- package/dist/src/schedule/resources.js.map +1 -1
- package/dist/src/schedule/session.d.ts +69 -0
- package/dist/src/schedule/session.d.ts.map +1 -0
- package/dist/src/schedule/session.js +121 -0
- package/dist/src/schedule/session.js.map +1 -0
- package/dist/src/schedule/templates.d.ts +14 -2
- package/dist/src/schedule/templates.d.ts.map +1 -1
- package/dist/src/schedule/templates.js +5 -3
- package/dist/src/schedule/templates.js.map +1 -1
- package/dist/src/schedule/types.d.ts +1671 -37
- package/dist/src/schedule/types.d.ts.map +1 -1
- package/dist/src/schedule/types.js +196 -5
- package/dist/src/schedule/types.js.map +1 -1
- package/dist/src/schedule/window.d.ts +14 -0
- package/dist/src/schedule/window.d.ts.map +1 -1
- package/dist/src/schedule/window.js +14 -4
- package/dist/src/schedule/window.js.map +1 -1
- package/dist/src/schedule/words.d.ts +22 -0
- package/dist/src/schedule/words.d.ts.map +1 -0
- package/dist/src/schedule/words.js +25 -0
- package/dist/src/schedule/words.js.map +1 -0
- package/dist/src/sheet/index.d.ts +61 -27
- package/dist/src/sheet/index.d.ts.map +1 -1
- package/dist/src/sheet/index.js +59 -25
- package/dist/src/sheet/index.js.map +1 -1
- package/dist/src/sheet/library.d.ts +21 -3
- package/dist/src/sheet/library.d.ts.map +1 -1
- package/dist/src/sheet/library.js +23 -6
- package/dist/src/sheet/library.js.map +1 -1
- package/dist/src/sheet/registers.d.ts +100 -85
- package/dist/src/sheet/registers.d.ts.map +1 -1
- package/dist/src/sheet/registers.js +100 -85
- package/dist/src/sheet/registers.js.map +1 -1
- package/dist/src/sheet/root.d.ts +8 -12
- package/dist/src/sheet/root.d.ts.map +1 -1
- package/dist/src/sheet/root.js +6 -40
- package/dist/src/sheet/root.js.map +1 -1
- package/dist/src/sheet/sheet.d.ts +598 -2349
- package/dist/src/sheet/sheet.d.ts.map +1 -1
- package/dist/src/sheet/sheet.js +124 -37
- package/dist/src/sheet/sheet.js.map +1 -1
- package/dist/src/sheet/sub-rows.d.ts +74 -28
- package/dist/src/sheet/sub-rows.d.ts.map +1 -1
- package/dist/src/sheet/sub-rows.js +74 -28
- package/dist/src/sheet/sub-rows.js.map +1 -1
- package/dist/src/sheet/templates.d.ts +98 -34
- package/dist/src/sheet/templates.d.ts.map +1 -1
- package/dist/src/sheet/templates.js +102 -58
- package/dist/src/sheet/templates.js.map +1 -1
- package/dist/src/sheet/types.d.ts +289 -1359
- package/dist/src/sheet/types.d.ts.map +1 -1
- package/dist/src/sheet/types.js +20 -26
- package/dist/src/sheet/types.js.map +1 -1
- package/dist/src/sheet/views.d.ts +10 -11
- package/dist/src/sheet/views.d.ts.map +1 -1
- package/dist/src/sheet/views.js +15 -20
- package/dist/src/sheet/views.js.map +1 -1
- package/dist/src/{roster/visibility.d.ts → utils/key-visibility.d.ts} +42 -7
- package/dist/src/utils/key-visibility.d.ts.map +1 -0
- package/dist/src/utils/key-visibility.js +36 -0
- package/dist/src/utils/key-visibility.js.map +1 -0
- package/dist/src/utils/ordered-source.d.ts +1 -0
- package/dist/src/utils/ordered-source.d.ts.map +1 -1
- package/dist/src/utils/ordered-source.js +8 -3
- package/dist/src/utils/ordered-source.js.map +1 -1
- package/dist/src/utils/record-sources.d.ts +107 -0
- package/dist/src/utils/record-sources.d.ts.map +1 -0
- package/dist/src/utils/record-sources.js +132 -0
- package/dist/src/utils/record-sources.js.map +1 -0
- package/dist/test/allocation/allocation.examples.d.ts +2902 -0
- package/dist/test/allocation/allocation.examples.d.ts.map +1 -0
- package/dist/test/allocation/allocation.examples.js +643 -0
- package/dist/test/allocation/allocation.examples.js.map +1 -0
- package/dist/test/allocation/fit.examples.d.ts +546 -0
- package/dist/test/allocation/fit.examples.d.ts.map +1 -0
- package/dist/test/allocation/fit.examples.js +171 -0
- package/dist/test/allocation/fit.examples.js.map +1 -0
- package/dist/test/allocation/kiln-yard.d.ts +181 -0
- package/dist/test/allocation/kiln-yard.d.ts.map +1 -0
- package/dist/test/allocation/kiln-yard.js +228 -0
- package/dist/test/allocation/kiln-yard.js.map +1 -0
- package/dist/test/bind/data/data.examples.d.ts +651 -1
- package/dist/test/bind/data/data.examples.d.ts.map +1 -1
- package/dist/test/bind/data/data.examples.js +140 -2
- package/dist/test/bind/data/data.examples.js.map +1 -1
- package/dist/test/bind/func/func.examples.d.ts +10 -1
- package/dist/test/bind/func/func.examples.d.ts.map +1 -1
- package/dist/test/bind/func/func.examples.js +8 -1
- package/dist/test/bind/func/func.examples.js.map +1 -1
- package/dist/test/bind/record/record.examples.d.ts +633 -1
- package/dist/test/bind/record/record.examples.d.ts.map +1 -1
- package/dist/test/bind/record/record.examples.js +26 -2
- package/dist/test/bind/record/record.examples.js.map +1 -1
- package/dist/test/calendar/calendar-records.examples.d.ts.map +1 -1
- package/dist/test/calendar/calendar-records.examples.js +18 -14
- package/dist/test/calendar/calendar-records.examples.js.map +1 -1
- package/dist/test/calendar/calendar.examples.d.ts +521 -16
- package/dist/test/calendar/calendar.examples.d.ts.map +1 -1
- package/dist/test/calendar/calendar.examples.js +182 -135
- package/dist/test/calendar/calendar.examples.js.map +1 -1
- package/dist/test/examples-package.d.ts +75 -0
- package/dist/test/examples-package.d.ts.map +1 -0
- package/dist/test/examples-package.js +263 -0
- package/dist/test/examples-package.js.map +1 -0
- package/dist/test/flowchart/flowchart.examples.d.ts +211 -19
- package/dist/test/flowchart/flowchart.examples.d.ts.map +1 -1
- package/dist/test/flowchart/flowchart.examples.js +102 -75
- package/dist/test/flowchart/flowchart.examples.js.map +1 -1
- package/dist/test/plan/plan-events.examples.d.ts +1439 -209
- package/dist/test/plan/plan-events.examples.d.ts.map +1 -1
- package/dist/test/plan/plan-events.examples.js +199 -59
- package/dist/test/plan/plan-events.examples.js.map +1 -1
- package/dist/test/plan/plan-records.examples.d.ts +420 -0
- package/dist/test/plan/plan-records.examples.d.ts.map +1 -1
- package/dist/test/plan/plan-records.examples.js +70 -19
- package/dist/test/plan/plan-records.examples.js.map +1 -1
- package/dist/test/plan/plan-windows.examples.d.ts +636 -55
- package/dist/test/plan/plan-windows.examples.d.ts.map +1 -1
- package/dist/test/plan/plan-windows.examples.js +69 -33
- package/dist/test/plan/plan-windows.examples.js.map +1 -1
- package/dist/test/plan/plan.examples.d.ts +153 -31
- package/dist/test/plan/plan.examples.d.ts.map +1 -1
- package/dist/test/plan/plan.examples.js +178 -101
- package/dist/test/plan/plan.examples.js.map +1 -1
- package/dist/test/roster/domain.examples.d.ts +467 -250
- package/dist/test/roster/domain.examples.d.ts.map +1 -1
- package/dist/test/roster/domain.examples.js +92 -29
- package/dist/test/roster/domain.examples.js.map +1 -1
- package/dist/test/roster/roster-records.examples.d.ts +430 -586
- package/dist/test/roster/roster-records.examples.d.ts.map +1 -1
- package/dist/test/roster/roster-records.examples.js +102 -43
- package/dist/test/roster/roster-records.examples.js.map +1 -1
- package/dist/test/roster/roster.examples.d.ts +2319 -606
- package/dist/test/roster/roster.examples.d.ts.map +1 -1
- package/dist/test/roster/roster.examples.js +456 -148
- package/dist/test/roster/roster.examples.js.map +1 -1
- package/dist/test/roster/warehouse.d.ts +172 -63
- package/dist/test/roster/warehouse.d.ts.map +1 -1
- package/dist/test/roster/warehouse.js +172 -39
- package/dist/test/roster/warehouse.js.map +1 -1
- package/dist/test/schedule/schedule.examples.d.ts +3499 -0
- package/dist/test/schedule/schedule.examples.d.ts.map +1 -0
- package/dist/test/schedule/schedule.examples.js +192 -0
- package/dist/test/schedule/schedule.examples.js.map +1 -0
- package/dist/test/sheet/sheet-records.examples.d.ts.map +1 -1
- package/dist/test/sheet/sheet-records.examples.js +22 -18
- package/dist/test/sheet/sheet-records.examples.js.map +1 -1
- package/dist/test/sheet/sheet.examples.d.ts +715 -26
- package/dist/test/sheet/sheet.examples.d.ts.map +1 -1
- package/dist/test/sheet/sheet.examples.js +204 -130
- package/dist/test/sheet/sheet.examples.js.map +1 -1
- package/package.json +17 -10
- package/dist/src/roster/people.d.ts +0 -50
- package/dist/src/roster/people.d.ts.map +0 -1
- package/dist/src/roster/people.js +0 -32
- package/dist/src/roster/people.js.map +0 -1
- package/dist/src/roster/visibility.d.ts.map +0 -1
- package/dist/src/roster/visibility.js +0 -25
- package/dist/src/roster/visibility.js.map +0 -1
|
@@ -18,8 +18,11 @@
|
|
|
18
18
|
* - `patch.ts` — `Flowchart.patch`, a patch over one of a flow's rows.
|
|
19
19
|
* - `library.ts` — `Flowchart.library`, the library pane's tabs — the Flows
|
|
20
20
|
* tab, the state and transition templates and the author's tabs, each
|
|
21
|
-
* reading its own rows
|
|
21
|
+
* reading its own rows and following the source of the slice it names —
|
|
22
|
+
* and their wire.
|
|
22
23
|
* - `canvas.ts` — the canvas: what the flowchart draws its flow with.
|
|
24
|
+
* - `window.ts` — the `flows` source of its slice: the Flows tab's pages, a
|
|
25
|
+
* flow read by its name, and the tab's own search (#1346).
|
|
23
26
|
* - `payload.ts` — the payload, its carrier, the shared keys, the props and
|
|
24
27
|
* their refusals.
|
|
25
28
|
* - `flowchart.ts` — the tag.
|
|
@@ -38,7 +41,7 @@ export { FlowchartTag } from "./flowchart.js";
|
|
|
38
41
|
export { FlowchartCanvasType, buildCanvas, } from "./canvas.js";
|
|
39
42
|
export { flowchartOver, } from "./over.js";
|
|
40
43
|
export { FlowchartPatchTypeFor, flowchartPatch } from "./patch.js";
|
|
41
|
-
export { FlowchartCardType, FlowchartDecisionCardType, FlowchartLandsType, FlowchartLaneCardType, FlowchartLibraryFactories, FlowchartLibraryTabType, FlowchartStateCardType, FlowchartTransitionCardType, libraryFlows, libraryStates, libraryTab, libraryTransitions, } from "./library.js";
|
|
44
|
+
export { FlowchartCardType, FlowchartDecisionCardType, FlowchartLandsType, FlowchartLaneCardType, FlowchartLibraryFactories, FlowchartLibraryTabType, FlowchartStateCardType, FlowchartTransitionCardType, buildLibrary as buildFlowchartLibrary, libraryFlows, libraryStates, libraryTab, libraryTransitions, } from "./library.js";
|
|
42
45
|
export { FlowchartComponent, FlowchartDataType, FlowchartFlowApplyType, FlowchartFlowsApplyType, FlowchartFlowsHandleType, FlowchartHistoryType, FlowchartInspectorType, FlowchartPayloadType, FlowchartSessionApplyType, FlowchartSourceType, createFlowchartPayload, flowchartKeys, } from "./payload.js";
|
|
43
46
|
export { flowchartValue, flowchartValues, } from "./values.js";
|
|
44
47
|
/** The East types a flowchart is written with. */
|
|
@@ -74,12 +77,12 @@ const MEMBERS = {
|
|
|
74
77
|
*
|
|
75
78
|
* @remarks
|
|
76
79
|
* - **Its frame**: it renders in its builder frame wherever it is used — one
|
|
77
|
-
* toolbar (find state, LR · TD, the freshness chip
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
80
|
+
* toolbar (find state, LR · TD, the freshness chip, the slice's rail and,
|
|
81
|
+
* where it edits, the history item), the canvas filling main and scrolling
|
|
82
|
+
* both ways inside it, and the footer's counts; a library pane when
|
|
83
|
+
* `library` lists tabs, and the inspector pane unless `inspector={false}`.
|
|
84
|
+
* It fills the box it is given and draws no border: give it a box of its
|
|
85
|
+
* own height.
|
|
83
86
|
* - **Its inspector** (#1250, on by default, ruled by the user on
|
|
84
87
|
* 2026-10-08): the end pane, Details and Issues — Issues with its count, and
|
|
85
88
|
* collapsed a rail with its icon and the issue count. Details shows what is
|
|
@@ -117,10 +120,14 @@ const MEMBERS = {
|
|
|
117
120
|
* (`Flowchart.library.states(rows, …)`) and transition templates
|
|
118
121
|
* (`Flowchart.library.transitions(rows, …)`), each card a drag source; and
|
|
119
122
|
* the author's own cards (`Flowchart.library.tab(rows, …)`), a drag source
|
|
120
|
-
* when the tab declares a `drop`. Each data tab reads its own rows
|
|
121
|
-
*
|
|
122
|
-
*
|
|
123
|
-
*
|
|
123
|
+
* when the tab declares a `drop`. Each data tab reads its own rows apart
|
|
124
|
+
* from the flows and from the other tabs. Templates are records (#1340,
|
|
125
|
+
* ruling 9): each list's rows are its record's (`Data.bind(record).read()`,
|
|
126
|
+
* a `Dict<String, T>`), and it names its `source` of the slice. An author's
|
|
127
|
+
* tab reads an Array or a `Dict<String, T>`, and naming a `source` follows
|
|
128
|
+
* it. A click selects a card, and a click on the selected card lets it go;
|
|
129
|
+
* an empty tab says so in the shared empty state, and one the rail leaves
|
|
130
|
+
* none says so, with a Clear.
|
|
124
131
|
* - **Its drops** (#1249): a card carried onto the canvas lands where its tab
|
|
125
132
|
* says — a state template on a lane, adding a state at the row under the
|
|
126
133
|
* pointer, its key the drop's, made unique or minted; a transition template
|
|
@@ -150,8 +157,17 @@ const MEMBERS = {
|
|
|
150
157
|
* is a record of one entry. Or they are the host's (`data`): flows by name
|
|
151
158
|
* or one flow — a value, an expression or a bind handle — the value's type
|
|
152
159
|
* picking the arm, one prop taking either; `Flowchart.over` builds one flow
|
|
153
|
-
* from the host's own tables through their row mappers
|
|
154
|
-
* narrows
|
|
160
|
+
* from the host's own tables through their row mappers. The host's flows
|
|
161
|
+
* are never narrowed: a task narrows the rows it builds them from.
|
|
162
|
+
* - **Its narrowing** (#1346) is one `Slice.bindRecords`, `slice={{ slice:
|
|
163
|
+
* Slice.bindRecords(key, { flows, … }) }}`, its rail on the toolbar. Over a
|
|
164
|
+
* record, its `flows` source — `Data.bindPaged(record, { indexes })` over
|
|
165
|
+
* the same record, its `fields` the indexes' — narrows the Flows tab, which
|
|
166
|
+
* pages it a window at a time with its count, the tab's own search finding
|
|
167
|
+
* within the narrowing by the source's `search` fields; the open flow is
|
|
168
|
+
* read by its name whatever the narrowing, and keeps its drafts. Each other
|
|
169
|
+
* source narrows the templates list or the author's tab that names it, by
|
|
170
|
+
* its cards' keys.
|
|
155
171
|
* - **A dataset's value** is written as literals with `Flowchart.values`
|
|
156
172
|
* (flows by name) or `Flowchart.value` (one flow), checked when the package
|
|
157
173
|
* builds.
|
|
@@ -159,11 +175,16 @@ const MEMBERS = {
|
|
|
159
175
|
* `onSelectTrigger`) and a traced path (`onTracePath`), and vetoes a
|
|
160
176
|
* connection with `canConnect`.
|
|
161
177
|
* - **Refused when the surface is built**, each naming the prop and the
|
|
162
|
-
* remedy: flows from both `record` and `data`, or neither; `onApply
|
|
163
|
-
*
|
|
164
|
-
*
|
|
165
|
-
*
|
|
166
|
-
*
|
|
178
|
+
* remedy: flows from both `record` and `data`, or neither; `onApply` over a
|
|
179
|
+
* record; `window`, which the slice's `flows` source replaced; a `slice`
|
|
180
|
+
* that is not `{ slice }` — the bare handle a flow from the host's tables
|
|
181
|
+
* was narrowed by — or not `Slice.bindRecords` (`Slice.bind`,
|
|
182
|
+
* `Slice.bindRecord`), or holding a source nothing names; a `flows` source
|
|
183
|
+
* over `data`; `affordances` outside `slice`; a templates list written in
|
|
184
|
+
* the code, naming no source, or naming `flows`, and the two lists naming
|
|
185
|
+
* one source; `flow` over one flow; a record of one flow, or of another
|
|
186
|
+
* type, or not bound with its patch mutation; `"brush"` among the
|
|
187
|
+
* affordances; `height` or `maxHeight`, which the box it fills sets; `density`, which nothing drew by — the canvas draws at one
|
|
167
188
|
* rhythm, the spec's 116×40 cards in their lanes (#1251); a callback for an
|
|
168
189
|
* edit (`onAddState`, `onCreateLink`, …)
|
|
169
190
|
* or `linkMode`, which the session's gestures replace; a hover card's
|
|
@@ -173,7 +194,9 @@ const MEMBERS = {
|
|
|
173
194
|
* another type than `(Row, (Row) => Null) => UIComponentType`; a library
|
|
174
195
|
* that lists a tab twice — the Flows tab or a template tab, or two of the
|
|
175
196
|
* author's tabs of one name — or the Flows tab over one flow; a data tab
|
|
176
|
-
* whose rows are neither an Array nor a `Dict<String, T
|
|
197
|
+
* whose rows are neither an Array nor a `Dict<String, T>`, or a templates
|
|
198
|
+
* list's or a sourced tab's that are no `Dict<String, T>`; a tab's source
|
|
199
|
+
* the slice lacks; a `states` drop
|
|
177
200
|
* over another type than a state's patch, a `transitions` drop over another
|
|
178
201
|
* than a transition's, and a `tab` drop over none of a flow's row types.
|
|
179
202
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/flowchart/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/flowchart/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,OAAO,EAAE,YAAY,EAAyB,MAAM,gBAAgB,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EACH,iBAAiB,EACjB,yBAAyB,EACzB,kBAAkB,EAClB,qBAAqB,EACrB,yBAAyB,EACzB,uBAAuB,EACvB,sBAAsB,EACtB,2BAA2B,GAE9B,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,qBAAqB,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AACnE,OAAO,EACH,kBAAkB,EAClB,iBAAiB,EACjB,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EACpB,yBAAyB,EACzB,mBAAmB,EACnB,sBAAsB,GACzB,MAAM,cAAc,CAAC;AACtB,OAAO,EACH,qBAAqB,EACrB,iB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AY,EAAE,yBAAyB;KAC1C;CACJ,CAAC,CAAC"}
|
|
@@ -22,18 +22,26 @@
|
|
|
22
22
|
* transition, a lane's header or a decision's diamond.
|
|
23
23
|
*
|
|
24
24
|
* Each data tab takes its own bound data (the user, 2026-10-08), apart from
|
|
25
|
-
* the flows and from the other tabs
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
* lands on
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
25
|
+
* the flows and from the other tabs, read as `Sheet.library.tab` reads its
|
|
26
|
+
* rows: its accessors `(row, key) => …` reified once into a describe function
|
|
27
|
+
* the rows' map then calls, a Dict's key the second argument and an Array's
|
|
28
|
+
* index, printed, in its place. A card crosses the closed payload as the
|
|
29
|
+
* fields its drop sets, typed by the row it lands on — a flow's rows are the
|
|
30
|
+
* flowchart's own types. Dropped on the canvas (#1249), a state template adds
|
|
31
|
+
* a state where it lands on a lane, a transition template retypes the
|
|
32
|
+
* transition it lands on, and an author's card sets its fields on what its
|
|
33
|
+
* drop's type names; ⏎ on a card drops it on the canvas's selection.
|
|
34
|
+
*
|
|
35
|
+
* Templates are records (#1340, ruling 9): the state and the transition
|
|
36
|
+
* templates are each a record of their own, read whole
|
|
37
|
+
* (`Data.bind(record).read()`, a `Dict<String, T>`), each card keyed by its
|
|
38
|
+
* record's key, and each list names its `source` of the flowchart's one
|
|
39
|
+
* `Slice.bindRecords`, which narrows its cards by those keys as it narrows
|
|
40
|
+
* anything of that record's — a list written in the code names none, and is
|
|
41
|
+
* refused, naming the change (#1346). An author's tab reads an `Array<T>` or
|
|
42
|
+
* a `Dict<String, T>`, each card keyed by its `key`, a key that repeats
|
|
43
|
+
* keeping its first card; naming a `source` it follows that source by its
|
|
44
|
+
* cards' keys, and naming none it lists its rows whole.
|
|
37
45
|
*
|
|
38
46
|
* @packageDocumentation
|
|
39
47
|
*/
|
|
@@ -225,10 +233,10 @@ export type FlowchartLandsType = typeof FlowchartLandsType;
|
|
|
225
233
|
* tab's name is the author's when given; left out, the renderer names it in
|
|
226
234
|
* its words (`States`, `Transitions`), so a host translates it.
|
|
227
235
|
*
|
|
228
|
-
* @property flows - Every flow in the record; a click opens one
|
|
229
|
-
* @property states - State templates from the tab's own
|
|
230
|
-
* @property transitions - Transition templates from the tab's own
|
|
231
|
-
* @property tab - The author's own cards: its name, its icon,
|
|
236
|
+
* @property flows - Every flow in the record — over a slice, those its `flows` source narrows them to; a click opens one
|
|
237
|
+
* @property states - State templates from the tab's own record: its name, its icon, its cards, and the source of the slice they follow, by their keys (#1346)
|
|
238
|
+
* @property transitions - Transition templates from the tab's own record: its name, its icon, its cards, and the source of the slice they follow, by their keys (#1346)
|
|
239
|
+
* @property tab - The author's own cards: its name, its icon, its cards by what they land on, and the source of the slice they follow, by their keys — none, its cards whole (#1346)
|
|
232
240
|
*/
|
|
233
241
|
export declare const FlowchartLibraryTabType: VariantType<{
|
|
234
242
|
readonly flows: NullType;
|
|
@@ -248,6 +256,7 @@ export declare const FlowchartLibraryTabType: VariantType<{
|
|
|
248
256
|
readonly meta: OptionType<StringType>;
|
|
249
257
|
readonly group: OptionType<StringType>;
|
|
250
258
|
}>>;
|
|
259
|
+
readonly source: StringType;
|
|
251
260
|
}>;
|
|
252
261
|
readonly transitions: StructType<{
|
|
253
262
|
readonly name: OptionType<StringType>;
|
|
@@ -274,6 +283,7 @@ export declare const FlowchartLibraryTabType: VariantType<{
|
|
|
274
283
|
readonly meta: OptionType<StringType>;
|
|
275
284
|
readonly group: OptionType<StringType>;
|
|
276
285
|
}>>;
|
|
286
|
+
readonly source: StringType;
|
|
277
287
|
}>;
|
|
278
288
|
readonly tab: StructType<{
|
|
279
289
|
readonly name: StringType;
|
|
@@ -345,6 +355,7 @@ export declare const FlowchartLibraryTabType: VariantType<{
|
|
|
345
355
|
readonly group: OptionType<StringType>;
|
|
346
356
|
}>>;
|
|
347
357
|
}>;
|
|
358
|
+
readonly source: OptionType<StringType>;
|
|
348
359
|
}>;
|
|
349
360
|
}>;
|
|
350
361
|
/** Type representing {@link FlowchartLibraryTabType}. */
|
|
@@ -357,8 +368,6 @@ export type FlowchartLibraryTabType = typeof FlowchartLibraryTabType;
|
|
|
357
368
|
* @typeParam T - The rows' element type
|
|
358
369
|
*/
|
|
359
370
|
export interface FlowchartCardAccessors<T extends EastType> {
|
|
360
|
-
/** The card's key — unique within the tab; a key that repeats keeps its first card. */
|
|
361
|
-
key: (row: ExprType<T>, key: ExprType<StringType>) => SubtypeExprOrValue<StringType>;
|
|
362
371
|
/** The card's name. */
|
|
363
372
|
label: (row: ExprType<T>, key: ExprType<StringType>) => SubtypeExprOrValue<StringType>;
|
|
364
373
|
/** The line under it — return the field's `Option`. */
|
|
@@ -368,7 +377,8 @@ export interface FlowchartCardAccessors<T extends EastType> {
|
|
|
368
377
|
}
|
|
369
378
|
/**
|
|
370
379
|
* A state template tab — `Flowchart.library.states(rows, { … })`: its name
|
|
371
|
-
* and icon, what each card shows, and the fields of the state it adds.
|
|
380
|
+
* and icon, what each card shows, and the fields of the state it adds. Each
|
|
381
|
+
* card is keyed by its templates record's key (#1346): it takes no `key`.
|
|
372
382
|
*
|
|
373
383
|
* @typeParam T - The rows' element type
|
|
374
384
|
*/
|
|
@@ -379,11 +389,18 @@ export interface FlowchartStatesConfig<T extends EastType> extends FlowchartCard
|
|
|
379
389
|
icon?: string;
|
|
380
390
|
/** The fields of the state a card dropped on a lane adds, over a state's defaults: `Flowchart.patch(Flowchart.Types.State, { … })`. */
|
|
381
391
|
drop: (row: ExprType<T>, key: ExprType<StringType>) => ExprType<FlowchartPatchOf<FlowchartStateType>>;
|
|
392
|
+
/**
|
|
393
|
+
* The source of the flowchart's `Slice.bindRecords` over this templates
|
|
394
|
+
* record (#1340, ruling 9): its shown keys narrow the tab's cards, each
|
|
395
|
+
* card's key its record's key. A templates list must name one.
|
|
396
|
+
*/
|
|
397
|
+
source?: string;
|
|
382
398
|
}
|
|
383
399
|
/**
|
|
384
400
|
* A transition template tab — `Flowchart.library.transitions(rows, { … })`:
|
|
385
401
|
* its name and icon, what each card shows, and the fields it sets on the
|
|
386
|
-
* transition it lands on.
|
|
402
|
+
* transition it lands on. Each card is keyed by its templates record's key
|
|
403
|
+
* (#1346): it takes no `key`.
|
|
387
404
|
*
|
|
388
405
|
* @typeParam T - The rows' element type
|
|
389
406
|
*/
|
|
@@ -398,6 +415,12 @@ export interface FlowchartTransitionsConfig<T extends EastType> extends Flowchar
|
|
|
398
415
|
* and its other fields, never its `key`, `from` or `to`.
|
|
399
416
|
*/
|
|
400
417
|
drop: (row: ExprType<T>, key: ExprType<StringType>) => ExprType<FlowchartPatchOf<FlowchartLinkType>>;
|
|
418
|
+
/**
|
|
419
|
+
* The source of the flowchart's `Slice.bindRecords` over this templates
|
|
420
|
+
* record (#1340, ruling 9): its shown keys narrow the tab's cards, each
|
|
421
|
+
* card's key its record's key. A templates list must name one.
|
|
422
|
+
*/
|
|
423
|
+
source?: string;
|
|
401
424
|
}
|
|
402
425
|
/**
|
|
403
426
|
* An author's tab — `Flowchart.library.tab(rows, { … })`: its name and icon,
|
|
@@ -410,6 +433,12 @@ export interface FlowchartTransitionsConfig<T extends EastType> extends Flowchar
|
|
|
410
433
|
export interface FlowchartTabConfig<T extends EastType, P extends EastType = EastType> extends FlowchartCardAccessors<T> {
|
|
411
434
|
/** The tab's name: its label in the tab row, and its identity in `library`. */
|
|
412
435
|
name: string;
|
|
436
|
+
/**
|
|
437
|
+
* The card's key — unique within the tab; a key that repeats keeps its
|
|
438
|
+
* first card. Following a `source`, it is the key of that record's row:
|
|
439
|
+
* the tab follows the source by it.
|
|
440
|
+
*/
|
|
441
|
+
key: (row: ExprType<T>, key: ExprType<StringType>) => SubtypeExprOrValue<StringType>;
|
|
413
442
|
/** A Font Awesome solid icon name for the tab's cards. */
|
|
414
443
|
icon?: string;
|
|
415
444
|
/**
|
|
@@ -419,6 +448,13 @@ export interface FlowchartTabConfig<T extends EastType, P extends EastType = Eas
|
|
|
419
448
|
* Without one, the cards are read, never dragged.
|
|
420
449
|
*/
|
|
421
450
|
drop?: (row: ExprType<T>, key: ExprType<StringType>) => ExprType<P>;
|
|
451
|
+
/**
|
|
452
|
+
* The source of the flowchart's `Slice.bindRecords` whose shown keys
|
|
453
|
+
* filter this tab's cards (#1346), each card's key its row's key in that
|
|
454
|
+
* record; omitted, the tab lists its rows whole. It counts what it shows,
|
|
455
|
+
* and says so when the rail leaves it none.
|
|
456
|
+
*/
|
|
457
|
+
source?: string;
|
|
422
458
|
}
|
|
423
459
|
/** The Flows tab, as `Flowchart.library.flows()` returns it. */
|
|
424
460
|
export interface FlowchartFlowsTab {
|
|
@@ -449,8 +485,10 @@ export type FlowchartLibraryTab = FlowchartFlowsTab | FlowchartStatesTab | Flowc
|
|
|
449
485
|
* which lists flows by name — one flow has none to list (FB16).
|
|
450
486
|
*/
|
|
451
487
|
export type FlowchartOneFlowLibraryTab = FlowchartStatesTab | FlowchartTransitionsTab | FlowchartAuthorTab;
|
|
452
|
-
/** The rows
|
|
488
|
+
/** The rows an author's tab reads: an Array, or a Dict by String keys — a record's, when it follows a source. */
|
|
453
489
|
export type FlowchartLibraryRows<T extends EastType> = SubtypeExprOrValue<ArrayType<T>> | SubtypeExprOrValue<DictType<StringType, T>>;
|
|
490
|
+
/** The rows a templates list reads (#1340, ruling 9): its templates record's, by String keys — its binding's `read()`. */
|
|
491
|
+
export type FlowchartTemplateRows<T extends EastType> = SubtypeExprOrValue<DictType<StringType, T>>;
|
|
454
492
|
/**
|
|
455
493
|
* The Flows tab — `Flowchart.library.flows()` (FB13, FB14): every flow the
|
|
456
494
|
* flowchart holds, by name, each card its name and its description — or, with
|
|
@@ -522,33 +560,35 @@ export type FlowchartLibraryRows<T extends EastType> = SubtypeExprOrValue<ArrayT
|
|
|
522
560
|
export declare function libraryFlows(): FlowchartFlowsTab;
|
|
523
561
|
/**
|
|
524
562
|
* The state templates — `Flowchart.library.states(rows, { … })` (FB26,
|
|
525
|
-
* decisions 6 and 7): one card per row of the tab's own
|
|
526
|
-
* line under it, the tab's icon — grouped by its `group` and
|
|
527
|
-
* key, label and line. Each card is a drag source, and a click
|
|
528
|
-
* click on the selected card letting it go. A card dropped on a
|
|
529
|
-
* state there, seeded with the fields its `drop` sets over a
|
|
530
|
-
* (#1249).
|
|
563
|
+
* decisions 6 and 7): one card per row of the tab's own templates record —
|
|
564
|
+
* its label, the line under it, the tab's icon — grouped by its `group` and
|
|
565
|
+
* searched by its key, label and line. Each card is a drag source, and a click
|
|
566
|
+
* selects it, a click on the selected card letting it go. A card dropped on a
|
|
567
|
+
* lane adds a state there, seeded with the fields its `drop` sets over a
|
|
568
|
+
* state's defaults (#1249).
|
|
531
569
|
*
|
|
532
570
|
* @remarks
|
|
533
|
-
*
|
|
534
|
-
*
|
|
535
|
-
*
|
|
536
|
-
*
|
|
537
|
-
*
|
|
538
|
-
*
|
|
539
|
-
*
|
|
540
|
-
* `
|
|
571
|
+
* Templates are records (#1340, ruling 9): the rows are a templates record's,
|
|
572
|
+
* read whole — `Data.bind(record).read()`, a `Dict<String, T>` — apart from
|
|
573
|
+
* the flows and from the other tabs, each accessor taking a row and its key.
|
|
574
|
+
* A card's key is its record's key, and the tab follows `source`, the
|
|
575
|
+
* flowchart's slice's source over that record, by it (#1346). Left out, the
|
|
576
|
+
* tab's name is `States`, in the flowchart's words. Refused when the surface
|
|
577
|
+
* is built: a list naming no source — one written in the code — or one the
|
|
578
|
+
* slice lacks, or `flows`; rows that are no `Dict<String, T>`; a `key`, which
|
|
579
|
+
* the record's keys are; a `drop` over another type than
|
|
580
|
+
* `Flowchart.Types.State`; and the tab listed twice.
|
|
541
581
|
*
|
|
542
582
|
* @typeParam T - The rows' element type
|
|
543
|
-
* @param rows - The rows —
|
|
544
|
-
* @param config - The tab's name and icon, what each card shows, and its `
|
|
583
|
+
* @param rows - The templates record's rows — a `Dict<String, T>` expression, its binding's `read()`
|
|
584
|
+
* @param config - The tab's name and icon, what each card shows, its `drop` and its `source` ({@link FlowchartStatesConfig})
|
|
545
585
|
* @returns The tab
|
|
546
586
|
*
|
|
547
587
|
* @example
|
|
548
588
|
* ```tsx
|
|
549
589
|
* // .tsx file with the `@jsxImportSource @elaraai/e3-ui` pragma
|
|
550
|
-
* import {
|
|
551
|
-
* import { Box, Reactive, UIComponentType } from "@elaraai/east-ui";
|
|
590
|
+
* import { DictType, East, IntegerType, OptionType, StringType, StructType, none, some, variant } from "@elaraai/east";
|
|
591
|
+
* import { Box, Reactive, Slice, UIComponentType } from "@elaraai/east-ui";
|
|
552
592
|
* import { Data, Flowchart, Record } from "@elaraai/e3-ui";
|
|
553
593
|
* import e3 from "@elaraai/e3";
|
|
554
594
|
*
|
|
@@ -582,57 +622,71 @@ export declare function libraryFlows(): FlowchartFlowsTab;
|
|
|
582
622
|
* },
|
|
583
623
|
* }));
|
|
584
624
|
* export const depotFlowsPatch = e3.mutation.patch(depotFlows);
|
|
585
|
-
* export const StepTemplate = StructType({
|
|
586
|
-
* export const stepTemplates = e3.
|
|
587
|
-
*
|
|
588
|
-
*
|
|
589
|
-
*
|
|
590
|
-
*
|
|
591
|
-
*
|
|
625
|
+
* export const StepTemplate = StructType({ name: StringType, kind: StringType, slots: OptionType(IntegerType) });
|
|
626
|
+
* export const stepTemplates = e3.record("flowchart_step_templates", DictType(StringType, StepTemplate), new Map([
|
|
627
|
+
* ["ARV", { name: "Arrived", kind: "Intake", slots: none }],
|
|
628
|
+
* ["SCN", { name: "Scanned", kind: "Intake", slots: none }],
|
|
629
|
+
* ["CH*", { name: "Sort chutes", kind: "Sort", slots: some(12n) }],
|
|
630
|
+
* ["HLD", { name: "Held", kind: "Hold", slots: none }],
|
|
631
|
+
* ["LDD", { name: "Loaded", kind: "Load", slots: none }],
|
|
592
632
|
* ]));
|
|
633
|
+
* export const stepsByKind = e3.recordIndex("flowchart_steps_by_kind", stepTemplates, { on: ["kind"] });
|
|
593
634
|
* export const MoveTemplate = StructType({ kind: Flowchart.Types.Kind, decision: OptionType(StringType), note: StringType });
|
|
594
635
|
* export const moveTemplates = e3.record("flowchart_move_templates", DictType(StringType, MoveTemplate), new Map([
|
|
595
636
|
* ["Observed", { kind: variant("observed", null), decision: none, note: "Mined from the scans" }],
|
|
596
637
|
* ["Planned", { kind: variant("planned", null), decision: none, note: "The designed path" }],
|
|
597
638
|
* ["Routed", { kind: variant("planned", null), decision: some("route"), note: "Governed by the route decision" }],
|
|
598
639
|
* ]));
|
|
599
|
-
* export const
|
|
600
|
-
* export const
|
|
601
|
-
*
|
|
602
|
-
*
|
|
640
|
+
* export const movesByKind = e3.recordIndex("flowchart_moves_by_kind", moveTemplates, { on: ["kind"] });
|
|
641
|
+
* export const DecisionOwner = StructType({ name: StringType, desk: StringType });
|
|
642
|
+
* export const decisionOwners = e3.record("flowchart_decision_owners", DictType(StringType, DecisionOwner), new Map([
|
|
643
|
+
* ["sort-planner", { name: "Sort planner", desk: "Sort hall" }],
|
|
644
|
+
* ["customs-desk", { name: "Customs desk", desk: "Hold bay" }],
|
|
603
645
|
* ]));
|
|
646
|
+
* export const ownersByDesk = e3.recordIndex("flowchart_owners_by_desk", decisionOwners, { on: ["desk"] });
|
|
604
647
|
*
|
|
605
648
|
* const flowchart = East.function([], UIComponentType, (_$) => (
|
|
606
649
|
* <Reactive>{$ => {
|
|
607
650
|
* const flows = $.let(Record.bind(depotFlows, [depotFlowsPatch]));
|
|
651
|
+
* // What a tab reads whole binds with Data.bind, which keeps it loaded beside its pages.
|
|
608
652
|
* const steps = $.let(Data.bind(stepTemplates));
|
|
609
|
-
* const moves = $.let(
|
|
653
|
+
* const moves = $.let(Data.bind(moveTemplates));
|
|
610
654
|
* const owners = $.let(Data.bind(decisionOwners));
|
|
655
|
+
* // One rail over the library's records, a source each (#1346): each tab follows the source it names.
|
|
656
|
+
* const slice = $.let(Slice.bindRecords("flowchart.depot", {
|
|
657
|
+
* steps: { source: Data.bindPaged(stepTemplates, { indexes: [stepsByKind] }), label: "Steps", icon: { prefix: "fas", name: "box" },
|
|
658
|
+
* fields: { kind: { label: "Step kind", hints: ["Intake", "Sort", "Hold", "Load"] } } },
|
|
659
|
+
* moves: { source: Data.bindPaged(moveTemplates, { indexes: [movesByKind] }), label: "Transitions", icon: { prefix: "fas", name: "arrow-right" },
|
|
660
|
+
* fields: { kind: { label: "Transition kind" } } },
|
|
661
|
+
* owners: { source: Data.bindPaged(decisionOwners, { indexes: [ownersByDesk] }), label: "Owners", icon: { prefix: "fas", name: "user-tie" },
|
|
662
|
+
* fields: { desk: { label: "Desk", hints: ["Sort hall", "Hold bay"] } } },
|
|
663
|
+
* }));
|
|
611
664
|
* return (
|
|
612
665
|
* <Box height="560px">
|
|
613
666
|
* <Flowchart
|
|
614
667
|
* record={flows}
|
|
615
668
|
* flow="Inbound parcels"
|
|
616
669
|
* name="depot"
|
|
670
|
+
* slice={{ slice }}
|
|
617
671
|
* library={[
|
|
618
672
|
* Flowchart.library.flows(),
|
|
619
|
-
* // Step types,
|
|
673
|
+
* // Step types, a templates record by code: a card dropped on a lane adds a state seeded with what its drop sets.
|
|
620
674
|
* Flowchart.library.states(steps.read(), {
|
|
621
|
-
* name: "Steps", icon: "box",
|
|
622
|
-
*
|
|
623
|
-
* drop: s => Flowchart.patch(Flowchart.Types.State, { key:
|
|
675
|
+
* name: "Steps", icon: "box", source: "steps",
|
|
676
|
+
* label: s => s.name, meta: (_s, code) => some(code), group: s => s.kind,
|
|
677
|
+
* drop: (s, code) => Flowchart.patch(Flowchart.Types.State, { key: code, label: some(s.name), members: s.slots }),
|
|
624
678
|
* }),
|
|
625
|
-
* // Transition types, a record
|
|
679
|
+
* // Transition types, a templates record by name: a card dropped on a transition retypes it.
|
|
626
680
|
* Flowchart.library.transitions(moves.read(), {
|
|
627
|
-
* icon: "arrow-right",
|
|
628
|
-
*
|
|
681
|
+
* icon: "arrow-right", source: "moves",
|
|
682
|
+
* label: (_m, name) => name, meta: m => some(m.note),
|
|
629
683
|
* drop: m => Flowchart.patch(Flowchart.Types.Link, { kind: some(m.kind), trigger: m.decision }),
|
|
630
684
|
* }),
|
|
631
|
-
* // The author's own cards: a role dropped on a decision owns it.
|
|
685
|
+
* // The author's own cards, a record of roles: a role dropped on a decision owns it.
|
|
632
686
|
* Flowchart.library.tab(owners.read(), {
|
|
633
|
-
* name: "Owners", icon: "user-tie",
|
|
634
|
-
* key:
|
|
635
|
-
* drop:
|
|
687
|
+
* name: "Owners", icon: "user-tie", source: "owners",
|
|
688
|
+
* key: (_o, role) => role, label: o => o.name, meta: o => some(o.desk),
|
|
689
|
+
* drop: (_o, role) => Flowchart.patch(Flowchart.Types.Trigger, { owner: some(role) }),
|
|
636
690
|
* }),
|
|
637
691
|
* ]}
|
|
638
692
|
* />
|
|
@@ -642,7 +696,7 @@ export declare function libraryFlows(): FlowchartFlowsTab;
|
|
|
642
696
|
* ));
|
|
643
697
|
* ```
|
|
644
698
|
*/
|
|
645
|
-
export declare function libraryStates<T extends EastType>(rows:
|
|
699
|
+
export declare function libraryStates<T extends EastType>(rows: FlowchartTemplateRows<T>, config: FlowchartStatesConfig<T>): FlowchartStatesTab;
|
|
646
700
|
/**
|
|
647
701
|
* The transition templates — `Flowchart.library.transitions(rows, { … })`
|
|
648
702
|
* (FB26, decision 8): one card per row of the tab's own rows, as
|
|
@@ -652,20 +706,22 @@ export declare function libraryStates<T extends EastType>(rows: FlowchartLibrary
|
|
|
652
706
|
* connection makes a transition of the default type, and a card retypes it.
|
|
653
707
|
*
|
|
654
708
|
* @remarks
|
|
655
|
-
* The rows are read as {@link libraryStates}' are
|
|
656
|
-
*
|
|
657
|
-
*
|
|
658
|
-
*
|
|
659
|
-
*
|
|
660
|
-
*
|
|
661
|
-
*
|
|
709
|
+
* The rows are a templates record's, read as {@link libraryStates}' are, each
|
|
710
|
+
* card keyed by its record's key, and the tab follows its `source` as theirs
|
|
711
|
+
* does. Left out, the tab's name is `Transitions`, in the flowchart's words.
|
|
712
|
+
* Refused when the surface is built: a list naming no source, or one the slice
|
|
713
|
+
* lacks, or `flows`; rows that are no `Dict<String, T>`; a `key`; a `drop`
|
|
714
|
+
* over another type than `Flowchart.Types.Link`; and the tab listed twice;
|
|
715
|
+
* and, when the tab's cards are read, a card whose `drop` sets the
|
|
716
|
+
* transition's `key`, `from` or `to` — the fields a patch sets are values its
|
|
717
|
+
* rows give, which the build cannot see.
|
|
662
718
|
*
|
|
663
719
|
* @typeParam T - The rows' element type
|
|
664
|
-
* @param rows - The rows —
|
|
665
|
-
* @param config - The tab's name and icon, what each card shows, and its `
|
|
720
|
+
* @param rows - The templates record's rows — a `Dict<String, T>` expression, its binding's `read()`
|
|
721
|
+
* @param config - The tab's name and icon, what each card shows, its `drop` and its `source` ({@link FlowchartTransitionsConfig})
|
|
666
722
|
* @returns The tab
|
|
667
723
|
*/
|
|
668
|
-
export declare function libraryTransitions<T extends EastType>(rows:
|
|
724
|
+
export declare function libraryTransitions<T extends EastType>(rows: FlowchartTemplateRows<T>, config: FlowchartTransitionsConfig<T>): FlowchartTransitionsTab;
|
|
669
725
|
/**
|
|
670
726
|
* A tab of the author's own cards — `Flowchart.library.tab(rows, { … })`
|
|
671
727
|
* (FB27): one card per row of the tab's own rows, as {@link libraryStates}'
|
|
@@ -675,15 +731,19 @@ export declare function libraryTransitions<T extends EastType>(rows: FlowchartLi
|
|
|
675
731
|
* its fields there (#1249); without one, the cards are read, never dragged.
|
|
676
732
|
*
|
|
677
733
|
* @remarks
|
|
678
|
-
* The rows are
|
|
679
|
-
*
|
|
680
|
-
*
|
|
681
|
-
*
|
|
734
|
+
* The rows are an `Array<T>` or a `Dict<String, T>` the app binds, each
|
|
735
|
+
* accessor taking a row and its key, a Dict's key or an Array's index,
|
|
736
|
+
* printed; a key that repeats keeps its first card. Naming a `source` of the
|
|
737
|
+
* flowchart's slice (#1346), the tab follows it by its cards' keys, each a
|
|
738
|
+
* row's key in that record; naming none, it lists its rows whole. A tab's
|
|
739
|
+
* name is its identity in `library`. Refused when the surface is built: rows
|
|
740
|
+
* that are neither an Array nor a `Dict<String, T>`; a `source` the slice
|
|
741
|
+
* lacks; a `drop` over none of a flow's row types; and two tabs of one name.
|
|
682
742
|
*
|
|
683
743
|
* @typeParam T - The rows' element type
|
|
684
744
|
* @typeParam P - The patch `drop` returns
|
|
685
745
|
* @param rows - The rows — an `Array<T>` or a `Dict<String, T>` value or expression, such as a binding's `read()`
|
|
686
|
-
* @param config - The tab's name and icon, what each card shows, and its `
|
|
746
|
+
* @param config - The tab's name and icon, what each card shows, its `drop` and its `source` ({@link FlowchartTabConfig})
|
|
687
747
|
* @returns The tab
|
|
688
748
|
*/
|
|
689
749
|
export declare function libraryTab<T extends EastType, P extends EastType = EastType>(rows: FlowchartLibraryRows<T>, config: FlowchartTabConfig<T, P>): FlowchartAuthorTab;
|
|
@@ -700,6 +760,29 @@ export interface FlowchartLibrary {
|
|
|
700
760
|
}
|
|
701
761
|
/** The library pane's tabs, each a factory (`Flowchart.library`). */
|
|
702
762
|
export declare const FlowchartLibraryFactories: FlowchartLibrary;
|
|
763
|
+
/**
|
|
764
|
+
* Checks the library's templates lists against the flowchart's slice, before
|
|
765
|
+
* the slice itself is checked, so a list written in the code is refused with
|
|
766
|
+
* the change to make before a source no list names is (#1340, ruling 9): each
|
|
767
|
+
* templates list is a record of its own, naming its source of the flowchart's
|
|
768
|
+
* one `Slice.bindRecords`.
|
|
769
|
+
*
|
|
770
|
+
* @param library - The flowchart's `library`, as given
|
|
771
|
+
* @param names - The sources the slice names, read before it is checked (`sliceSourceNames`)
|
|
772
|
+
* @throws {Error} Naming the list and the change to make: a list naming no source — one written in the code — or one the slice lacks, a list naming `flows`, and the state and the transition templates naming one source
|
|
773
|
+
* @internal
|
|
774
|
+
*/
|
|
775
|
+
export declare function checkTemplatesSources(library: unknown, names: readonly string[]): void;
|
|
776
|
+
/**
|
|
777
|
+
* The sources the library names (#1346), each once, in its order: each
|
|
778
|
+
* templates list's and each author's tab's — what the flowchart's slice may
|
|
779
|
+
* hold beside `flows`.
|
|
780
|
+
*
|
|
781
|
+
* @param library - The flowchart's `library`, as given
|
|
782
|
+
* @returns The sources' names
|
|
783
|
+
* @internal
|
|
784
|
+
*/
|
|
785
|
+
export declare function librarySources(library: unknown): string[];
|
|
703
786
|
/**
|
|
704
787
|
* The library pane on the wire (`Flowchart Builder Spec.md` §4.2, §4.4, FB16,
|
|
705
788
|
* FB25–FB29): its tabs in the order `library` lists them; none when it is
|
|
@@ -707,14 +790,16 @@ export declare const FlowchartLibraryFactories: FlowchartLibrary;
|
|
|
707
790
|
*
|
|
708
791
|
* @param library - The tabs, each a `Flowchart.library.*` call
|
|
709
792
|
* @param many - Whether the flowchart holds flows by name, rather than one flow
|
|
793
|
+
* @param sources - The flowchart's slice's sources, which each templates list's and each author's tab's `source` must be one of
|
|
710
794
|
* @returns The tabs on the wire
|
|
711
795
|
* @throws {Error} Naming the tab and the remedy: a `library` that is no list
|
|
712
796
|
* of `Flowchart.library.*` calls; a tab listed twice — the Flows tab, the
|
|
713
797
|
* state templates or the transition templates, or two of the author's tabs
|
|
714
798
|
* of one name; the Flows tab over one flow; and each of a data tab's
|
|
715
|
-
* refusals — rows that are neither an Array nor a
|
|
716
|
-
* `
|
|
799
|
+
* refusals — a source the slice lacks, rows that are neither an Array nor a
|
|
800
|
+
* `Dict<String, T>` (a templates record's, for a templates list), a
|
|
801
|
+
* templates list's `key`, and a `drop` of another type than its tab's
|
|
717
802
|
* @internal
|
|
718
803
|
*/
|
|
719
|
-
export declare function buildLibrary(library: unknown, many: boolean): ExprType<ArrayType<FlowchartLibraryTabType>>;
|
|
804
|
+
export declare function buildLibrary(library: unknown, many: boolean, sources?: readonly string[]): ExprType<ArrayType<FlowchartLibraryTabType>>;
|
|
720
805
|
//# sourceMappingURL=library.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"library.d.ts","sourceRoot":"","sources":["../../../src/flowchart/library.ts"],"names":[],"mappings":"A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