@elaraai/e3-ui 1.0.103 → 1.0.105

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 (287) hide show
  1. package/dist/src/allocation/functions.d.ts +2 -1
  2. package/dist/src/allocation/functions.d.ts.map +1 -1
  3. package/dist/src/allocation/functions.js +3 -2
  4. package/dist/src/allocation/functions.js.map +1 -1
  5. package/dist/src/allocation/index.d.ts +120 -1
  6. package/dist/src/allocation/index.d.ts.map +1 -1
  7. package/dist/src/allocation/index.js +24 -4
  8. package/dist/src/allocation/index.js.map +1 -1
  9. package/dist/src/bind/data-indexed.d.ts +25 -4
  10. package/dist/src/bind/data-indexed.d.ts.map +1 -1
  11. package/dist/src/bind/data-indexed.js +58 -7
  12. package/dist/src/bind/data-indexed.js.map +1 -1
  13. package/dist/src/bind/data.d.ts +12 -14
  14. package/dist/src/bind/data.d.ts.map +1 -1
  15. package/dist/src/bind/data.js +11 -11
  16. package/dist/src/bind/data.js.map +1 -1
  17. package/dist/src/bind/func.d.ts +7 -2
  18. package/dist/src/bind/func.d.ts.map +1 -1
  19. package/dist/src/bind/func.js +10 -3
  20. package/dist/src/bind/func.js.map +1 -1
  21. package/dist/src/calendar/index.d.ts +148 -1
  22. package/dist/src/calendar/index.d.ts.map +1 -1
  23. package/dist/src/calendar/index.js +55 -5
  24. package/dist/src/calendar/index.js.map +1 -1
  25. package/dist/src/flowchart/canvas.d.ts +32 -14
  26. package/dist/src/flowchart/canvas.d.ts.map +1 -1
  27. package/dist/src/flowchart/canvas.js +21 -6
  28. package/dist/src/flowchart/canvas.js.map +1 -1
  29. package/dist/src/flowchart/details.d.ts +469 -0
  30. package/dist/src/flowchart/details.d.ts.map +1 -0
  31. package/dist/src/flowchart/details.js +1035 -0
  32. package/dist/src/flowchart/details.js.map +1 -0
  33. package/dist/src/flowchart/flowchart.d.ts +16 -72
  34. package/dist/src/flowchart/flowchart.d.ts.map +1 -1
  35. package/dist/src/flowchart/flowchart.js +10 -1
  36. package/dist/src/flowchart/flowchart.js.map +1 -1
  37. package/dist/src/flowchart/index.d.ts +282 -251
  38. package/dist/src/flowchart/index.d.ts.map +1 -1
  39. package/dist/src/flowchart/index.js +234 -220
  40. package/dist/src/flowchart/index.js.map +1 -1
  41. package/dist/src/flowchart/kinds.d.ts +438 -0
  42. package/dist/src/flowchart/kinds.d.ts.map +1 -0
  43. package/dist/src/flowchart/kinds.js +799 -0
  44. package/dist/src/flowchart/kinds.js.map +1 -0
  45. package/dist/src/flowchart/library.d.ts +154 -739
  46. package/dist/src/flowchart/library.d.ts.map +1 -1
  47. package/dist/src/flowchart/library.js +191 -673
  48. package/dist/src/flowchart/library.js.map +1 -1
  49. package/dist/src/flowchart/payload.d.ts +3652 -7843
  50. package/dist/src/flowchart/payload.d.ts.map +1 -1
  51. package/dist/src/flowchart/payload.js +331 -469
  52. package/dist/src/flowchart/payload.js.map +1 -1
  53. package/dist/src/flowchart/templates.d.ts +657 -0
  54. package/dist/src/flowchart/templates.d.ts.map +1 -0
  55. package/dist/src/flowchart/templates.js +658 -0
  56. package/dist/src/flowchart/templates.js.map +1 -0
  57. package/dist/src/flowchart/types.d.ts +2258 -214
  58. package/dist/src/flowchart/types.d.ts.map +1 -1
  59. package/dist/src/flowchart/types.js +374 -124
  60. package/dist/src/flowchart/types.js.map +1 -1
  61. package/dist/src/index.d.ts +13 -15
  62. package/dist/src/index.d.ts.map +1 -1
  63. package/dist/src/index.js +24 -29
  64. package/dist/src/index.js.map +1 -1
  65. package/dist/src/internal.d.ts +5 -7
  66. package/dist/src/internal.d.ts.map +1 -1
  67. package/dist/src/internal.js +12 -19
  68. package/dist/src/internal.js.map +1 -1
  69. package/dist/src/ontology/index.d.ts +44 -15
  70. package/dist/src/ontology/index.d.ts.map +1 -1
  71. package/dist/src/ontology/index.js +19 -11
  72. package/dist/src/ontology/index.js.map +1 -1
  73. package/dist/src/plan/event-rows.d.ts +2 -1
  74. package/dist/src/plan/event-rows.d.ts.map +1 -1
  75. package/dist/src/plan/event-rows.js +6 -4
  76. package/dist/src/plan/event-rows.js.map +1 -1
  77. package/dist/src/plan/ir.d.ts +1 -0
  78. package/dist/src/plan/ir.d.ts.map +1 -1
  79. package/dist/src/plan/plan.d.ts +145 -1
  80. package/dist/src/plan/plan.d.ts.map +1 -1
  81. package/dist/src/plan/plan.js +67 -3
  82. package/dist/src/plan/plan.js.map +1 -1
  83. package/dist/src/plan/types.d.ts +1 -0
  84. package/dist/src/plan/types.d.ts.map +1 -1
  85. package/dist/src/query/builder.d.ts +362 -315
  86. package/dist/src/query/builder.d.ts.map +1 -1
  87. package/dist/src/query/builder.js +12 -1
  88. package/dist/src/query/builder.js.map +1 -1
  89. package/dist/src/query/index.d.ts +5 -1
  90. package/dist/src/query/index.d.ts.map +1 -1
  91. package/dist/src/query/index.js +3 -1
  92. package/dist/src/query/index.js.map +1 -1
  93. package/dist/src/roster/fit.d.ts +5 -2
  94. package/dist/src/roster/fit.d.ts.map +1 -1
  95. package/dist/src/roster/fit.js +5 -3
  96. package/dist/src/roster/fit.js.map +1 -1
  97. package/dist/src/roster/index.d.ts +103 -2
  98. package/dist/src/roster/index.d.ts.map +1 -1
  99. package/dist/src/roster/index.js +45 -6
  100. package/dist/src/roster/index.js.map +1 -1
  101. package/dist/src/runtime/index.d.ts +1 -3
  102. package/dist/src/runtime/index.d.ts.map +1 -1
  103. package/dist/src/runtime/index.js +1 -3
  104. package/dist/src/runtime/index.js.map +1 -1
  105. package/dist/src/schedule/record-window.d.ts +1 -0
  106. package/dist/src/schedule/record-window.d.ts.map +1 -1
  107. package/dist/src/schematic/index.d.ts +1 -1
  108. package/dist/src/schematic/index.d.ts.map +1 -1
  109. package/dist/src/schematic/index.js +1 -1
  110. package/dist/src/schematic/index.js.map +1 -1
  111. package/dist/src/schematic/kinds.d.ts +4 -24
  112. package/dist/src/schematic/kinds.d.ts.map +1 -1
  113. package/dist/src/schematic/kinds.js +8 -212
  114. package/dist/src/schematic/kinds.js.map +1 -1
  115. package/dist/src/schematic/payload.d.ts +140 -1
  116. package/dist/src/schematic/payload.d.ts.map +1 -1
  117. package/dist/src/schematic/payload.js +38 -1
  118. package/dist/src/schematic/payload.js.map +1 -1
  119. package/dist/src/schematic/types.d.ts.map +1 -1
  120. package/dist/src/schematic/types.js +4 -36
  121. package/dist/src/schematic/types.js.map +1 -1
  122. package/dist/src/schematic/window.d.ts +9 -42
  123. package/dist/src/schematic/window.d.ts.map +1 -1
  124. package/dist/src/schematic/window.js +10 -115
  125. package/dist/src/schematic/window.js.map +1 -1
  126. package/dist/src/sheet/actions.d.ts +388 -0
  127. package/dist/src/sheet/actions.d.ts.map +1 -0
  128. package/dist/src/sheet/actions.js +594 -0
  129. package/dist/src/sheet/actions.js.map +1 -0
  130. package/dist/src/sheet/bridge.d.ts +12 -1
  131. package/dist/src/sheet/bridge.d.ts.map +1 -1
  132. package/dist/src/sheet/bridge.js +30 -6
  133. package/dist/src/sheet/bridge.js.map +1 -1
  134. package/dist/src/sheet/columns.d.ts +5 -2
  135. package/dist/src/sheet/columns.d.ts.map +1 -1
  136. package/dist/src/sheet/columns.js.map +1 -1
  137. package/dist/src/sheet/draft-bridge.d.ts +9 -4
  138. package/dist/src/sheet/draft-bridge.d.ts.map +1 -1
  139. package/dist/src/sheet/draft-bridge.js +22 -7
  140. package/dist/src/sheet/draft-bridge.js.map +1 -1
  141. package/dist/src/sheet/fields.d.ts +13 -0
  142. package/dist/src/sheet/fields.d.ts.map +1 -1
  143. package/dist/src/sheet/fields.js +3 -0
  144. package/dist/src/sheet/fields.js.map +1 -1
  145. package/dist/src/sheet/index.d.ts +32 -2
  146. package/dist/src/sheet/index.d.ts.map +1 -1
  147. package/dist/src/sheet/index.js +18 -3
  148. package/dist/src/sheet/index.js.map +1 -1
  149. package/dist/src/sheet/library.d.ts +8 -0
  150. package/dist/src/sheet/library.d.ts.map +1 -1
  151. package/dist/src/sheet/root.d.ts +23 -1
  152. package/dist/src/sheet/root.d.ts.map +1 -1
  153. package/dist/src/sheet/root.js +40 -5
  154. package/dist/src/sheet/root.js.map +1 -1
  155. package/dist/src/sheet/sheet.d.ts +7843 -4132
  156. package/dist/src/sheet/sheet.d.ts.map +1 -1
  157. package/dist/src/sheet/sheet.js +41 -2
  158. package/dist/src/sheet/sheet.js.map +1 -1
  159. package/dist/src/sheet/templates.d.ts +4 -0
  160. package/dist/src/sheet/templates.d.ts.map +1 -1
  161. package/dist/src/sheet/types.d.ts +12449 -5268
  162. package/dist/src/sheet/types.d.ts.map +1 -1
  163. package/dist/src/sheet/types.js +114 -2
  164. package/dist/src/sheet/types.js.map +1 -1
  165. package/dist/src/utils/derive.d.ts +1 -1
  166. package/dist/src/utils/derive.js +1 -1
  167. package/dist/src/utils/record-kind.d.ts +625 -0
  168. package/dist/src/utils/record-kind.d.ts.map +1 -0
  169. package/dist/src/utils/record-kind.js +450 -0
  170. package/dist/src/utils/record-kind.js.map +1 -0
  171. package/dist/src/utils/views.d.ts +55 -0
  172. package/dist/src/utils/views.d.ts.map +1 -0
  173. package/dist/src/utils/views.js +72 -0
  174. package/dist/src/utils/views.js.map +1 -0
  175. package/dist/src/utils/vocabulary.d.ts +48 -0
  176. package/dist/src/utils/vocabulary.d.ts.map +1 -0
  177. package/dist/src/utils/vocabulary.js +47 -0
  178. package/dist/src/utils/vocabulary.js.map +1 -0
  179. package/dist/test/allocation/allocation.examples.d.ts +2 -0
  180. package/dist/test/allocation/allocation.examples.d.ts.map +1 -1
  181. package/dist/test/allocation/allocation.examples.js +81 -2
  182. package/dist/test/allocation/allocation.examples.js.map +1 -1
  183. package/dist/test/bind/func/func.examples.d.ts +19 -1
  184. package/dist/test/bind/func/func.examples.d.ts.map +1 -1
  185. package/dist/test/bind/func/func.examples.js +36 -1
  186. package/dist/test/bind/func/func.examples.js.map +1 -1
  187. package/dist/test/calendar/calendar.examples.d.ts +2 -0
  188. package/dist/test/calendar/calendar.examples.d.ts.map +1 -1
  189. package/dist/test/calendar/calendar.examples.js +80 -2
  190. package/dist/test/calendar/calendar.examples.js.map +1 -1
  191. package/dist/test/decision/queue.examples.d.ts +1 -0
  192. package/dist/test/decision/queue.examples.d.ts.map +1 -1
  193. package/dist/test/decision/queue.examples.js +12 -0
  194. package/dist/test/decision/queue.examples.js.map +1 -1
  195. package/dist/test/examples-package.d.ts.map +1 -1
  196. package/dist/test/examples-package.js +5 -4
  197. package/dist/test/examples-package.js.map +1 -1
  198. package/dist/test/flowchart/flowchart.examples.d.ts +1250 -4605
  199. package/dist/test/flowchart/flowchart.examples.d.ts.map +1 -1
  200. package/dist/test/flowchart/flowchart.examples.js +861 -512
  201. package/dist/test/flowchart/flowchart.examples.js.map +1 -1
  202. package/dist/test/ontology/ontology.examples.d.ts +2 -3
  203. package/dist/test/ontology/ontology.examples.d.ts.map +1 -1
  204. package/dist/test/ontology/ontology.examples.js +32 -21
  205. package/dist/test/ontology/ontology.examples.js.map +1 -1
  206. package/dist/test/plan/plan-events.examples.d.ts +1 -0
  207. package/dist/test/plan/plan-events.examples.d.ts.map +1 -1
  208. package/dist/test/plan/plan-events.examples.js +44 -0
  209. package/dist/test/plan/plan-events.examples.js.map +1 -1
  210. package/dist/test/plan/plan-nested.examples.d.ts +2 -2
  211. package/dist/test/plan/plan-nested.examples.js +5 -5
  212. package/dist/test/plan/plan-nested.examples.js.map +1 -1
  213. package/dist/test/plan/plan-records.examples.d.ts.map +1 -1
  214. package/dist/test/plan/plan-records.examples.js +1 -1
  215. package/dist/test/plan/plan-records.examples.js.map +1 -1
  216. package/dist/test/query/query.examples.d.ts +2 -0
  217. package/dist/test/query/query.examples.d.ts.map +1 -1
  218. package/dist/test/query/query.examples.js +37 -1
  219. package/dist/test/query/query.examples.js.map +1 -1
  220. package/dist/test/roster/roster.examples.d.ts +2 -0
  221. package/dist/test/roster/roster.examples.d.ts.map +1 -1
  222. package/dist/test/roster/roster.examples.js +76 -15
  223. package/dist/test/roster/roster.examples.js.map +1 -1
  224. package/dist/test/schematic/schematic-records.examples.d.ts.map +1 -1
  225. package/dist/test/schematic/schematic-records.examples.js +6 -4
  226. package/dist/test/schematic/schematic-records.examples.js.map +1 -1
  227. package/dist/test/schematic/schematic.examples.d.ts +1 -0
  228. package/dist/test/schematic/schematic.examples.d.ts.map +1 -1
  229. package/dist/test/schematic/schematic.examples.js +144 -0
  230. package/dist/test/schematic/schematic.examples.js.map +1 -1
  231. package/dist/test/sheet/sheet-actions.examples.d.ts +1264 -0
  232. package/dist/test/sheet/sheet-actions.examples.d.ts.map +1 -0
  233. package/dist/test/sheet/sheet-actions.examples.js +394 -0
  234. package/dist/test/sheet/sheet-actions.examples.js.map +1 -0
  235. package/dist/test/sheet/sheet.examples.d.ts +1 -0
  236. package/dist/test/sheet/sheet.examples.d.ts.map +1 -1
  237. package/dist/test/sheet/sheet.examples.js +77 -0
  238. package/dist/test/sheet/sheet.examples.js.map +1 -1
  239. package/dist/test/studio/studio.examples.d.ts +1 -0
  240. package/dist/test/studio/studio.examples.d.ts.map +1 -1
  241. package/dist/test/studio/studio.examples.js +18 -8
  242. package/dist/test/studio/studio.examples.js.map +1 -1
  243. package/package.json +12 -12
  244. package/dist/src/diff/index.d.ts +0 -407
  245. package/dist/src/diff/index.d.ts.map +0 -1
  246. package/dist/src/diff/index.js +0 -203
  247. package/dist/src/diff/index.js.map +0 -1
  248. package/dist/src/experiment/index.d.ts +0 -1033
  249. package/dist/src/experiment/index.d.ts.map +0 -1
  250. package/dist/src/experiment/index.js +0 -197
  251. package/dist/src/experiment/index.js.map +0 -1
  252. package/dist/src/experiment/types.d.ts +0 -1093
  253. package/dist/src/experiment/types.d.ts.map +0 -1
  254. package/dist/src/experiment/types.js +0 -423
  255. package/dist/src/experiment/types.js.map +0 -1
  256. package/dist/src/flowchart/over.d.ts +0 -227
  257. package/dist/src/flowchart/over.d.ts.map +0 -1
  258. package/dist/src/flowchart/over.js +0 -213
  259. package/dist/src/flowchart/over.js.map +0 -1
  260. package/dist/src/flowchart/patch.d.ts +0 -64
  261. package/dist/src/flowchart/patch.d.ts.map +0 -1
  262. package/dist/src/flowchart/patch.js +0 -67
  263. package/dist/src/flowchart/patch.js.map +0 -1
  264. package/dist/src/flowchart/values.d.ts +0 -271
  265. package/dist/src/flowchart/values.d.ts.map +0 -1
  266. package/dist/src/flowchart/values.js +0 -220
  267. package/dist/src/flowchart/values.js.map +0 -1
  268. package/dist/src/flowchart/window.d.ts +0 -306
  269. package/dist/src/flowchart/window.d.ts.map +0 -1
  270. package/dist/src/flowchart/window.js +0 -63
  271. package/dist/src/flowchart/window.js.map +0 -1
  272. package/dist/src/runtime/diff.d.ts +0 -36
  273. package/dist/src/runtime/diff.d.ts.map +0 -1
  274. package/dist/src/runtime/diff.js +0 -34
  275. package/dist/src/runtime/diff.js.map +0 -1
  276. package/dist/src/runtime/experiment.d.ts +0 -48
  277. package/dist/src/runtime/experiment.d.ts.map +0 -1
  278. package/dist/src/runtime/experiment.js +0 -10
  279. package/dist/src/runtime/experiment.js.map +0 -1
  280. package/dist/test/diff/diff.examples.d.ts +0 -313
  281. package/dist/test/diff/diff.examples.d.ts.map +0 -1
  282. package/dist/test/diff/diff.examples.js +0 -452
  283. package/dist/test/diff/diff.examples.js.map +0 -1
  284. package/dist/test/experiment/experiment.examples.d.ts +0 -1512
  285. package/dist/test/experiment/experiment.examples.d.ts.map +0 -1
  286. package/dist/test/experiment/experiment.examples.js +0 -609
  287. package/dist/test/experiment/experiment.examples.js.map +0 -1
@@ -1 +1 @@
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,E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,eAAe,EAAE,4BAA4B;QAC7C,SAAS,EAAE,sBAAsB;QACjC,aAAa,EAAE,0BAA0B;QACzC,UAAU,EAAE,uBAAuB;QACnC,eAAe,EAAE,4BAA4B;QAC7C,SAAS,EAAE,sBAAsB;QACjC,UAAU,EAAE,uBAAuB;QACnC,eAAe,EAAE,4BAA4B;QAC7C,SAAS,EAAE,sBAAsB;QACjC,aAAa,EAAE,0BAA0B;QACzC,QAAQ,EAAE,qBAAqB;QAC/B,QAAQ,EAAE,qBAAqB;QAC/B,UAAU,EAAE,uBAAuB;QACnC,OAAO,EAAE,wBAAwB;QACjC,OAAO,EAAE,oBAAoB;QAC7B,IAAI,EAAE,iBAAiB;QACvB,IAAI,EAAE,iBAAiB;QACvB,SAAS,EAAE,sBAAsB;QACjC,OAAO,EAAE,oBAAoB;KAChC;CACJ,CAAC,CAAC"}
@@ -0,0 +1,438 @@
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
+ * The Flowchart's kinds (#1500, `Flowchart Records Spec.md` §2, §3, R1–R4):
7
+ * `Flowchart.states`, `transitions`, `lanes` and `decisions`. Each takes a
8
+ * record of the app's and maps its fields to the Flowchart's roles, as the
9
+ * Schematic's kinds do (`schematic/kinds.ts`): the Flowchart stores nothing in
10
+ * a shape of its own, and no record of the app's holds a type of the
11
+ * Flowchart's.
12
+ *
13
+ * - **A role is a field of the row where a gesture writes it or it names
14
+ * another row's key** (R2): a state's `label`, `lane` and `order`; a
15
+ * transition's `from`, `to` and `decision`; a lane's `label` and `order`; a
16
+ * decision's `queue`. Each is checked against the row's type when the code
17
+ * compiles — a field of another type is a type error naming the fields that
18
+ * fit — and again at build, in the kind's words. Every other role is an
19
+ * accessor over the row and its key, reified once and called per row: a
20
+ * state's `members`; a transition's `kind` and `evidence`; a decision's
21
+ * `label`, `letter`, `owner` and `outcomes`.
22
+ * - **A gesture writes only its roles' fields** (R8): every other field of the
23
+ * row reads back as it was, and a new row takes a card's values, or its
24
+ * type's defaults.
25
+ * - **How a kind is bound follows how it is read** (R3): a state or a
26
+ * transition `Record.bind(record)`, editable — read whole, or through its
27
+ * source of the slice with `entries: Data.bindPaged(record)` beside it —
28
+ * `Data.bind(record)`, read only and whole, or `Data.bindPaged(record)`
29
+ * alone, read only, through its source; a lane or a decision `Record.bind`
30
+ * or `Data.bind`, read whole. Every other form is refused, naming the one to
31
+ * use.
32
+ *
33
+ * A kind closes its record behind East functions over beast2 bytes (§3, "What
34
+ * the payload carries") — its stored rows a read holds, each one's roles
35
+ * beside its bytes; a drafted row's roles; a gesture's write and a new row;
36
+ * the fields an author's card sets; the shared editing session over the
37
+ * record with its patch door; the record read by key; its history, its form,
38
+ * its own Details and the app's check — through the machinery the Schematic's
39
+ * kinds share (`utils/record-kind.ts`), so the payload is one type whatever
40
+ * the rows hold, and the renderer needs no row type.
41
+ *
42
+ * @packageDocumentation
43
+ */
44
+ import { ArrayType, FloatType, IntegerType, OptionType, SetType, StringType, type DictType, type EastType, type ExprType, type StructType } from "@elaraai/east";
45
+ import { type FieldHints } from "@elaraai/east-ui/internal";
46
+ import { type FieldName, type FieldsOf } from "../schedule/fields.js";
47
+ import { type KindAccessor as Accessor, type KindBinding, type KindRowInspector as RowInspector, type RecordSide } from "../utils/record-kind.js";
48
+ import { type FlowchartDetails, type FlowchartDetailsSpec, type FlowchartTransitionDetailsSpec } from "./details.js";
49
+ import { type FlowchartTemplates } from "./templates.js";
50
+ import { FlowchartDecisionKindType, FlowchartEvidenceType, FlowchartLaneKindType, FlowchartLinkKindType, FlowchartStateKindType, FlowchartTransitionKindType } from "./types.js";
51
+ /** Fields of R a name fits: a String, or an Option of one. */
52
+ export type FlowchartTextField<R extends StructType> = FieldsOf<R, StringType | OptionType<StringType>>;
53
+ /** Fields of R that name a row of another kind by its key: a String — or, `Optional`, an Option of one too: a transition's decision. */
54
+ export type FlowchartKeyField<R extends StructType, Optional extends boolean = false> = FieldsOf<R, Optional extends true ? StringType | OptionType<StringType> : StringType>;
55
+ /** Fields of R that name several states by their keys: a decision's queue, an Array or a Set of Strings. */
56
+ export type FlowchartKeysField<R extends StructType> = FieldsOf<R, ArrayType<StringType> | SetType<StringType>>;
57
+ /** Fields of R that place a row: a state's among its lane's, a Float; a lane's among the lanes, an Integer or a Float. */
58
+ export type FlowchartOrderField<R extends StructType, N extends EastType = FloatType> = FieldsOf<R, N>;
59
+ /** R with the fields its roles write left out: the values a card gives a new row. */
60
+ export type FlowchartValuesOf<R extends StructType, F extends string> = StructType<{
61
+ [K in Exclude<FieldName<R>, F>]: R["fields"][K];
62
+ }>;
63
+ /**
64
+ * A state's or a transition's record, bound (R3): `Record.bind`'s or
65
+ * `Data.bind`'s handle, read whole, or `Data.bindPaged`'s, read through its
66
+ * source — each over a `Dict<String, R>`, its row type `R` inferred from the
67
+ * handle.
68
+ *
69
+ * @typeParam R - The record's row type
70
+ */
71
+ export type FlowchartBinding<R extends StructType> = {
72
+ readonly read: (...args: never[]) => ExprType<DictType<StringType, R>>;
73
+ readonly binding: unknown;
74
+ } | {
75
+ readonly page: (...args: never[]) => ExprType<OptionType<DictType<StringType, R>>>;
76
+ readonly revision: unknown;
77
+ };
78
+ /**
79
+ * A lane's or a decision's record, bound (R3): `Record.bind`'s or
80
+ * `Data.bind`'s handle, read whole — a small record over a `Dict<String, R>`.
81
+ *
82
+ * @typeParam R - The record's row type
83
+ */
84
+ export type FlowchartWholeBinding<R extends StructType> = {
85
+ readonly read: (...args: never[]) => ExprType<DictType<StringType, R>>;
86
+ readonly binding: unknown;
87
+ };
88
+ /** The key a Flowchart's declarations carry their sort under. */
89
+ export declare const FLOWCHART_DEF: unique symbol;
90
+ /** The Flowchart's kinds, by the prop each fills. */
91
+ export type FlowchartKindSort = "states" | "transitions" | "lanes" | "decisions";
92
+ /** A kind, declared: what the Flowchart's `states`, `transitions`, `lanes` or `decisions` take. */
93
+ export interface FlowchartKindDeclaration<D extends FlowchartKindSort, W extends EastType> {
94
+ /** What it is. */
95
+ readonly [FLOWCHART_DEF]: D;
96
+ /** Its record's row type. */
97
+ readonly rowType: StructType;
98
+ /** What one is called. */
99
+ readonly name: string;
100
+ /** How its record is bound. */
101
+ readonly form: KindBinding["form"];
102
+ /** Whether it has cards. */
103
+ readonly hasTemplates: boolean;
104
+ /** The slice's source its cards follow; `undefined` for none, or for a list naming none, which the Flowchart refuses. */
105
+ readonly templatesSource: string | undefined;
106
+ /**
107
+ * The kind on the wire.
108
+ *
109
+ * @param part - Its source of the slice, the one named after it, when the slice has one: a state's or a transition's
110
+ * @param every - Whether, read through its source, it reads every row — under `narrowed="dim"`, which draws what the
111
+ * narrowing leaves out as context (R6) — rather than what its narrowing holds
112
+ * @returns The kind, closed
113
+ * @throws {Error} When it is bound in a form its read does not take (R3), naming the form to use
114
+ */
115
+ build(part: ExprType<StructType> | undefined, every: boolean): ExprType<W>;
116
+ }
117
+ /** The states, declared. */
118
+ export interface FlowchartStates extends FlowchartKindDeclaration<"states", typeof FlowchartStateKindType> {
119
+ /** Whether a state names its lane: the lanes are its columns. */
120
+ readonly lane: boolean;
121
+ /** Whether a read of its details shows in the inspector alone: refused beside `inspector={false}` (#1507). */
122
+ readonly inspectorReads: boolean;
123
+ /** Its details' row type and the rail's source whose picks weigh them (#1522); `undefined` for details none weighs, or none. */
124
+ readonly weighedBy: {
125
+ readonly source: string;
126
+ readonly rowType: StructType;
127
+ } | undefined;
128
+ }
129
+ /** The transitions, declared. */
130
+ export interface FlowchartTransitions extends FlowchartKindDeclaration<"transitions", typeof FlowchartTransitionKindType> {
131
+ /** Whether a transition names the decision that governs it. */
132
+ readonly decision: boolean;
133
+ /** Whether a read of its details shows in the inspector alone: refused beside `inspector={false}` (#1507). */
134
+ readonly inspectorReads: boolean;
135
+ /** Its details' row type and the rail's source whose picks weigh them (#1522); `undefined` for details none weighs, or none. */
136
+ readonly weighedBy: {
137
+ readonly source: string;
138
+ readonly rowType: StructType;
139
+ } | undefined;
140
+ }
141
+ /** The lanes, declared. */
142
+ export type FlowchartLanes = FlowchartKindDeclaration<"lanes", typeof FlowchartLaneKindType>;
143
+ /** The decisions, declared. */
144
+ export type FlowchartDecisions = FlowchartKindDeclaration<"decisions", typeof FlowchartDecisionKindType>;
145
+ /**
146
+ * Whether something is a Flowchart kind of the sort given.
147
+ *
148
+ * @param value - What a prop holds
149
+ * @param sort - The sort the prop takes
150
+ * @returns Whether it is one
151
+ */
152
+ export declare function isFlowchartKind(value: unknown, sort: FlowchartKindSort): boolean;
153
+ /**
154
+ * The states (R1, R2): a record of the app's, each row a state, its card on
155
+ * the canvas.
156
+ *
157
+ * @typeParam R - The record's row type
158
+ * @typeParam L - The `lane` field
159
+ * @typeParam O - The `order` field
160
+ */
161
+ export interface FlowchartStatesSpec<R extends StructType, L extends string, O extends string> extends RecordSide<R> {
162
+ /** What one is called: in the inspector, Issues and the library; "State" unless given. */
163
+ name?: string;
164
+ /** Its Font Awesome solid icon; "square" unless given. */
165
+ icon?: string;
166
+ /** The field its card's name is: a String, or an Option of one. A rename writes it. */
167
+ label: FlowchartTextField<R>;
168
+ /** The String field naming its lane by the lane's key: a move across lanes writes it. Needs `lanes`. */
169
+ lane?: L;
170
+ /** The Float field placing it in its lane: a move between two cards writes the middle of theirs. Without it, the states stand by key. */
171
+ order?: O;
172
+ /** A class of interchangeable states: the ×N badge. */
173
+ members?: Accessor<R, OptionType<IntegerType>>;
174
+ /**
175
+ * Its details (#1507): `Flowchart.details(binding, { details: [ … ] })` over the app's rows keyed as the states are,
176
+ * drawn on each card and shown in full in the inspector, each read where its `show` says.
177
+ */
178
+ details?: FlowchartDetails<StructType, FlowchartDetailsSpec<StructType>, unknown>;
179
+ /** The Steps tab's cards: `Flowchart.templates(rows, { name, values, source })`, each giving every field but `lane` and `order`. */
180
+ templates?: FlowchartTemplates<FlowchartValuesOf<R, L | O>>;
181
+ /** Hints for the inspector's form over the fields no role writes (`Fields`). */
182
+ fields?: FieldHints<R["fields"]>;
183
+ /** Its own Details in the inspector, in place of its form. */
184
+ inspector?: RowInspector<R>;
185
+ }
186
+ /**
187
+ * Declares the states (see the module docs, R1–R3).
188
+ *
189
+ * @typeParam R - The record's row type
190
+ * @typeParam L - The `lane` field
191
+ * @typeParam O - The `order` field
192
+ * @param binding - The app's record of states: `Record.bind(record)`, its record declaring `patch: mutation.patch()`, to edit
193
+ * them — read whole, or through the slice's `states` source with `entries: Data.bindPaged(record)` — or `Data.bind(record)`,
194
+ * read whole, or `Data.bindPaged(record)`, read through their source, to read them only
195
+ * @param spec - What one is called, its icon, the fields its roles are, its accessors, and its cards, form, Details and check
196
+ * @returns The states, for the Flowchart's `states`
197
+ * @throws {Error} Naming the role or the binding (R2, R3): a role naming a field the row lacks, or one of another type;
198
+ * `label` and `lane` naming one field; an accessor returning another type; cards written in the code, or giving other
199
+ * fields than every field but `lane` and `order`; and a record that is no binding of a record of structs keyed by
200
+ * String, a `Record.bind` without its patch door, or `entries` beside a read-only binding
201
+ *
202
+ * @example
203
+ * ```tsx
204
+ * // .tsx file with the `@jsxImportSource @elaraai/e3-ui` pragma
205
+ * import { DateTimeType, DictType, East, FloatType, IntegerType, NullType, OptionType, StringType, StructType, VariantType, none, some, variant } from "@elaraai/east";
206
+ * import { Box, Reactive, UIComponentType } from "@elaraai/east-ui";
207
+ * import { Flowchart, Record } from "@elaraai/e3-ui";
208
+ * import e3 from "@elaraai/e3";
209
+ *
210
+ * // The depot's four records, each declaring its patch door: Save writes each through its own.
211
+ * export const DepotState = StructType({
212
+ * name: StringType, // what its card calls it
213
+ * phase: StringType, // the lane it stands in, by the lane's key
214
+ * seq: FloatType, // its place in its lane
215
+ * slots: OptionType(IntegerType), // a class of interchangeable states: the ×N badge
216
+ * flow: StringType, // the flow it belongs to: one record holds the depot's flows
217
+ * });
218
+ * export const DepotTransition = StructType({
219
+ * src: StringType, // the state it leaves, by its key
220
+ * dst: StringType, // the state it enters
221
+ * kind: VariantType({ planned: NullType, observed: NullType }),
222
+ * trigger: OptionType(StringType), // the decision that governs it, by its key
223
+ * volume: OptionType(FloatType), // the parcels measured on it
224
+ * n: OptionType(IntegerType), // the moves behind them
225
+ * at: OptionType(DateTimeType), // when they were measured
226
+ * flow: StringType,
227
+ * });
228
+ * export const DepotLane = StructType({ label: StringType, seq: FloatType });
229
+ * export const DepotDecision = StructType({ name: StringType, owner: StringType });
230
+ * export const depotStates = e3.record("flowchart_depot_states", DictType(StringType, DepotState), {
231
+ * initial: new Map([
232
+ * ["ARV", { name: "Arrived", phase: "intake", seq: 1, slots: none, flow: "Parcels" }],
233
+ * ["SCN", { name: "Scanned", phase: "intake", seq: 2, slots: none, flow: "Parcels" }],
234
+ * ["IND", { name: "Inducted", phase: "induct", seq: 1, slots: none, flow: "Parcels" }],
235
+ * ["LBL", { name: "Relabelled", phase: "induct", seq: 2, slots: none, flow: "Parcels" }],
236
+ * ["CH*", { name: "Sort chutes (class)", phase: "sort", seq: 1, slots: some(14n), flow: "Parcels" }],
237
+ * ["SRD", { name: "Sorted", phase: "sort", seq: 2, slots: none, flow: "Parcels" }],
238
+ * ["HLD", { name: "Held", phase: "hold", seq: 1, slots: none, flow: "Parcels" }],
239
+ * ["CLR", { name: "Cleared", phase: "hold", seq: 2, slots: none, flow: "Parcels" }],
240
+ * ["LDD", { name: "Loaded", phase: "dispatch", seq: 1, slots: none, flow: "Parcels" }],
241
+ * ["DSP", { name: "Dispatched", phase: "dispatch", seq: 2, slots: none, flow: "Parcels" }],
242
+ * // The returns flow's states, beside the parcels'.
243
+ * ["RCV", { name: "Received", phase: "intake", seq: 3, slots: none, flow: "Returns" }],
244
+ * ["INS", { name: "Inspected", phase: "hold", seq: 3, slots: none, flow: "Returns" }],
245
+ * ["RSD", { name: "Resent", phase: "dispatch", seq: 3, slots: none, flow: "Returns" }],
246
+ * ]),
247
+ * mutations: (mutation) => ({ patch: mutation.patch() }),
248
+ * indexes: (index) => ({
249
+ * flowchart_states_by_flow: index.on(["flow"]),
250
+ * flowchart_states_by_lane: index.on(["flow", "phase"]),
251
+ * }),
252
+ * });
253
+ * export const depotTransitions = e3.record("flowchart_depot_transitions", DictType(StringType, DepotTransition), {
254
+ * initial: new Map([
255
+ * ["l1", { src: "ARV", dst: "SCN", kind: variant("planned", null), trigger: none, volume: some(18460), n: some(412n), at: some(new Date("2026-06-30T00:00:00Z")), flow: "Parcels" }],
256
+ * ["l2", { src: "SCN", dst: "IND", kind: variant("planned", null), trigger: none, volume: some(18390), n: some(409n), at: some(new Date("2026-06-30T00:00:00Z")), flow: "Parcels" }],
257
+ * // In place: parcels inducted again, counted but not weighed.
258
+ * ["l3", { src: "IND", dst: "IND", kind: variant("observed", null), trigger: none, volume: none, n: some(2n), at: some(new Date("2026-06-30T00:00:00Z")), flow: "Parcels" }],
259
+ * ["l4", { src: "IND", dst: "CH*", kind: variant("planned", null), trigger: some("route"), volume: some(17350), n: some(386n), at: some(new Date("2026-06-30T00:00:00Z")), flow: "Parcels" }],
260
+ * ["l5", { src: "CH*", dst: "SRD", kind: variant("planned", null), trigger: none, volume: some(18210), n: some(405n), at: some(new Date("2026-06-30T00:00:00Z")), flow: "Parcels" }],
261
+ * ["l6", { src: "SRD", dst: "HLD", kind: variant("planned", null), trigger: none, volume: some(8420), n: some(188n), at: some(new Date("2026-06-30T00:00:00Z")), flow: "Parcels" }],
262
+ * ["l7", { src: "HLD", dst: "CLR", kind: variant("planned", null), trigger: some("customs"), volume: some(8350), n: some(186n), at: some(new Date("2026-06-30T00:00:00Z")), flow: "Parcels" }],
263
+ * ["l8", { src: "CLR", dst: "LDD", kind: variant("planned", null), trigger: none, volume: some(8240), n: some(183n), at: some(new Date("2026-06-30T00:00:00Z")), flow: "Parcels" }],
264
+ * ["l9", { src: "LDD", dst: "DSP", kind: variant("planned", null), trigger: none, volume: some(17030), n: some(378n), at: some(new Date("2026-06-30T00:00:00Z")), flow: "Parcels" }],
265
+ * // Its far end names a state no row is keyed by: drawn as a ghost, and listed in Issues.
266
+ * ["l10", { src: "DSP", dst: "DLV", kind: variant("planned", null), trigger: none, volume: none, n: none, at: none, flow: "Parcels" }],
267
+ * // Observed, not planned: parcels relabelled before they are sorted.
268
+ * ["l11", { src: "IND", dst: "LBL", kind: variant("observed", null), trigger: none, volume: some(980), n: some(22n), at: some(new Date("2026-06-30T00:00:00Z")), flow: "Parcels" }],
269
+ * ["l12", { src: "LBL", dst: "CH*", kind: variant("observed", null), trigger: none, volume: some(975), n: some(22n), at: some(new Date("2026-06-30T00:00:00Z")), flow: "Parcels" }],
270
+ * ["l13", { src: "SRD", dst: "LDD", kind: variant("planned", null), trigger: none, volume: some(8790), n: some(195n), at: some(new Date("2026-06-30T00:00:00Z")), flow: "Parcels" }],
271
+ * ["r1", { src: "RCV", dst: "INS", kind: variant("planned", null), trigger: none, volume: some(640), n: some(15n), at: some(new Date("2026-06-30T00:00:00Z")), flow: "Returns" }],
272
+ * ["r2", { src: "INS", dst: "RSD", kind: variant("planned", null), trigger: none, volume: some(610), n: some(14n), at: some(new Date("2026-06-30T00:00:00Z")), flow: "Returns" }],
273
+ * ]),
274
+ * mutations: (mutation) => ({ patch: mutation.patch() }),
275
+ * indexes: (index) => ({
276
+ * flowchart_transitions_by_flow: index.on(["flow"]),
277
+ * }),
278
+ * });
279
+ * export const depotLanes = e3.record("flowchart_depot_lanes", DictType(StringType, DepotLane), {
280
+ * initial: new Map([
281
+ * ["intake", { label: "Intake", seq: 1 }], ["induct", { label: "Induct", seq: 2 }], ["sort", { label: "Sort", seq: 3 }],
282
+ * ["hold", { label: "Hold", seq: 4 }], ["dispatch", { label: "Dispatch", seq: 5 }],
283
+ * ]),
284
+ * mutations: (mutation) => ({ patch: mutation.patch() }),
285
+ * });
286
+ * export const depotDecisions = e3.record("flowchart_depot_decisions", DictType(StringType, DepotDecision), {
287
+ * initial: new Map([["route", { name: "route", owner: "sort-planner" }], ["customs", { name: "customs", owner: "customs-desk" }]]),
288
+ * mutations: (mutation) => ({ patch: mutation.patch() }),
289
+ * });
290
+ *
291
+ * const flowchartDepotEditing = East.function([], UIComponentType, (_$) => (
292
+ * <Reactive>{$ => {
293
+ * const states = $.let(Record.bind(depotStates));
294
+ * const transitions = $.let(Record.bind(depotTransitions));
295
+ * const lanes = $.let(Record.bind(depotLanes));
296
+ * const decisions = $.let(Record.bind(depotDecisions));
297
+ * return (
298
+ * <Box height="600px">
299
+ * <Flowchart
300
+ * states={Flowchart.states(states, {
301
+ * label: "name", lane: "phase", order: "seq", members: (s) => s.slots,
302
+ * // The app's check on a drafted state: Save waits until it names its flow, and Issues says why.
303
+ * ready: (s) => s.flow.equal("").ifElse(
304
+ * () => variant("incomplete", [{ field: "flow", message: "Give the state its flow" }]),
305
+ * () => variant("ready", null),
306
+ * ),
307
+ * })}
308
+ * transitions={Flowchart.transitions(transitions, { from: "src", to: "dst", decision: "trigger", kind: (t) => t.kind })}
309
+ * lanes={Flowchart.lanes(lanes, { label: "label", order: "seq" })}
310
+ * decisions={Flowchart.decisions(decisions, { label: (d) => d.name, owner: (d) => some(d.owner) })}
311
+ * name="depotEditing"
312
+ * />
313
+ * </Box>
314
+ * );
315
+ * }}</Reactive>
316
+ * ));
317
+ * ```
318
+ */
319
+ export declare function flowchartStates<R extends StructType, L extends FlowchartKeyField<R> = never, O extends FlowchartOrderField<R> = never>(binding: FlowchartBinding<R>, spec: FlowchartStatesSpec<R, L, O>): FlowchartStates;
320
+ /**
321
+ * The transitions (R1, R2): a record of the app's, each row a transition
322
+ * between two states.
323
+ *
324
+ * @typeParam R - The record's row type
325
+ * @typeParam F - The `from` field
326
+ * @typeParam T - The `to` field
327
+ * @typeParam D - The `decision` field
328
+ */
329
+ export interface FlowchartTransitionsSpec<R extends StructType, F extends string, T extends string, D extends string> extends RecordSide<R> {
330
+ /** What one is called; "Transition" unless given. */
331
+ name?: string;
332
+ /** Its Font Awesome solid icon; "arrow-right" unless given. */
333
+ icon?: string;
334
+ /** The String field naming the state it leaves, by its key: Connect writes both ends. */
335
+ from: F;
336
+ /** The String field naming the state it enters. */
337
+ to: T;
338
+ /** The field naming the decision that governs it, by its key: a String, empty for none, or an Option of one. Needs `decisions`. */
339
+ decision?: D;
340
+ /** Planned or observed: planned unless given. */
341
+ kind?: Accessor<R, typeof FlowchartLinkKindType>;
342
+ /** The label's evidence line and the stroke's weight. */
343
+ evidence?: Accessor<R, OptionType<typeof FlowchartEvidenceType>>;
344
+ /**
345
+ * Its details (#1507): `Flowchart.details(binding, { details: [ … ] })` over the app's rows keyed as the transitions
346
+ * are, drawn as lines under each label's evidence — figures and lists, three lines at most — and shown in full in the
347
+ * inspector; its tags and histograms show there alone, a type error otherwise, with its words.
348
+ */
349
+ details?: FlowchartDetails<StructType, FlowchartTransitionDetailsSpec>;
350
+ /** The Transitions tab's cards: `Flowchart.templates(rows, { name, values, source })`, each giving every field but `from` and `to`. */
351
+ templates?: FlowchartTemplates<FlowchartValuesOf<R, F | T>>;
352
+ /** Hints for the inspector's form over the fields no role writes (`Fields`). */
353
+ fields?: FieldHints<R["fields"]>;
354
+ /** Its own Details in the inspector, in place of its form. */
355
+ inspector?: RowInspector<R>;
356
+ }
357
+ /**
358
+ * Declares the transitions (see the module docs, R1–R3).
359
+ *
360
+ * @typeParam R - The record's row type
361
+ * @typeParam F - The `from` field
362
+ * @typeParam T - The `to` field
363
+ * @typeParam D - The `decision` field
364
+ * @param binding - The app's record of transitions, bound as `Flowchart.states`' is
365
+ * @param spec - What one is called, its icon, its ends and its decision, its accessors, and its cards, form, Details and check
366
+ * @returns The transitions, for the Flowchart's `transitions`
367
+ * @throws {Error} Naming the role or the binding, as `Flowchart.states` does, and `from`, `to` and `decision` naming one field
368
+ */
369
+ export declare function flowchartTransitions<R extends StructType, F extends FlowchartKeyField<R>, T extends FlowchartKeyField<R>, D extends FlowchartKeyField<R, true> = never>(binding: FlowchartBinding<R>, spec: FlowchartTransitionsSpec<R, F, T, D>): FlowchartTransitions;
370
+ /**
371
+ * The lanes (R1, R2, D5): a small record of the app's, read whole, each row a
372
+ * column of the canvas.
373
+ *
374
+ * @typeParam R - The record's row type
375
+ * @typeParam O - The `order` field
376
+ */
377
+ export interface FlowchartLanesSpec<R extends StructType, O extends string> {
378
+ /** What one is called; "Lane" unless given. */
379
+ name?: string;
380
+ /** The field its header is: a String, or an Option of one. + LANE and a rename write it. */
381
+ label: FlowchartTextField<R>;
382
+ /** The Integer or Float field placing it among the lanes: + LANE writes one past the last. Without it, the lanes stand by key. */
383
+ order?: O;
384
+ /** The Lanes tab's cards: `Flowchart.templates(rows, { name, values, source })`, each giving every field but `order`. */
385
+ templates?: FlowchartTemplates<FlowchartValuesOf<R, O>>;
386
+ /** Hints for the inspector's form over the fields no role writes (`Fields`). */
387
+ fields?: FieldHints<R["fields"]>;
388
+ /** Its own Details in the inspector, in place of its form. */
389
+ inspector?: RowInspector<R>;
390
+ }
391
+ /**
392
+ * Declares the lanes (see the module docs, R1–R3, D5).
393
+ *
394
+ * @typeParam R - The record's row type
395
+ * @typeParam O - The `order` field
396
+ * @param binding - The app's record of lanes: `Record.bind(record)`, its record declaring `patch: mutation.patch()`, to edit
397
+ * them, or `Data.bind(record)` to read them — each read whole
398
+ * @param spec - What one is called, the fields its header and its order are, and its cards, form and Details
399
+ * @returns The lanes, for the Flowchart's `lanes`
400
+ * @throws {Error} Naming the role or the binding, as `Flowchart.states` does: a paged read, and `entries`, among them —
401
+ * the lanes are read whole
402
+ */
403
+ export declare function flowchartLanes<R extends StructType, O extends FlowchartOrderField<R, IntegerType | FloatType> = never>(binding: FlowchartWholeBinding<R>, spec: FlowchartLanesSpec<R, O>): FlowchartLanes;
404
+ /**
405
+ * The decisions (R1, R2): a small record of the app's, read whole, each row a
406
+ * lettered diamond on the transitions that name it.
407
+ *
408
+ * @typeParam R - The record's row type
409
+ */
410
+ export interface FlowchartDecisionsSpec<R extends StructType> {
411
+ /** What one is called; "Decision" unless given. */
412
+ name?: string;
413
+ /** Its name. */
414
+ label: Accessor<R, StringType>;
415
+ /** The diamond's letter: the label's first unless given. */
416
+ letter?: Accessor<R, OptionType<StringType>>;
417
+ /** Who owns it. */
418
+ owner?: Accessor<R, OptionType<StringType>>;
419
+ /** Its outcomes' summary line. */
420
+ outcomes?: Accessor<R, OptionType<StringType>>;
421
+ /** The Array or Set of String field naming the states queued at it, by key: a state's Del takes its key out. */
422
+ queue?: FlowchartKeysField<R>;
423
+ /** Hints for the inspector's form over the fields no role writes (`Fields`). */
424
+ fields?: FieldHints<R["fields"]>;
425
+ /** Its own Details in the inspector, in place of its form. */
426
+ inspector?: RowInspector<R>;
427
+ }
428
+ /**
429
+ * Declares the decisions (see the module docs, R1–R3).
430
+ *
431
+ * @typeParam R - The record's row type
432
+ * @param binding - The app's record of decisions, bound as `Flowchart.lanes`' is
433
+ * @param spec - What one is called, its accessors, its queue, and its form and Details
434
+ * @returns The decisions, for the Flowchart's `decisions`
435
+ * @throws {Error} Naming the role or the binding, as `Flowchart.lanes` does, and a `label` that is no accessor
436
+ */
437
+ export declare function flowchartDecisions<R extends StructType>(binding: FlowchartWholeBinding<R>, spec: FlowchartDecisionsSpec<R>): FlowchartDecisions;
438
+ //# sourceMappingURL=kinds.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kinds.d.ts","sourceRoot":"","sources":["../../../src/flowchart/kinds.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AAEH,OAAO,EACH,SAAS,EAA2C,SAAS,EAAE,WAAW,EAAE,UAAU,EAAa,OAAO,EAAE,UAAU,EAEnG,KAAK,QAAQ,EAAE,KAAK,QAAQ,EAAE,KAAK,QAAQ,EAAqB,KAAK,UAAU,EACrG,MAAM,eAAe,CAAC;AACvB,OAAO,EAAoB,KAAK,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAE9E,OAAO,EAAW,KAAK,SAAS,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE/E,OAAO,EAEH,KAAK,YAAY,IAAI,QAAQ,E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