@elaraai/e3-ui 1.0.94 → 1.0.95

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 (303) hide show
  1. package/dist/src/allocation/adapters.d.ts +159 -0
  2. package/dist/src/allocation/adapters.d.ts.map +1 -0
  3. package/dist/src/allocation/adapters.js +241 -0
  4. package/dist/src/allocation/adapters.js.map +1 -0
  5. package/dist/src/allocation/functions.d.ts +664 -0
  6. package/dist/src/allocation/functions.d.ts.map +1 -0
  7. package/dist/src/allocation/functions.js +782 -0
  8. package/dist/src/allocation/functions.js.map +1 -0
  9. package/dist/src/allocation/index.d.ts +2985 -0
  10. package/dist/src/allocation/index.d.ts.map +1 -0
  11. package/dist/src/allocation/index.js +499 -0
  12. package/dist/src/allocation/index.js.map +1 -0
  13. package/dist/src/allocation/types.d.ts +832 -0
  14. package/dist/src/allocation/types.d.ts.map +1 -0
  15. package/dist/src/allocation/types.js +360 -0
  16. package/dist/src/allocation/types.js.map +1 -0
  17. package/dist/src/bind/func.d.ts +14 -0
  18. package/dist/src/bind/func.d.ts.map +1 -1
  19. package/dist/src/bind/func.js +22 -1
  20. package/dist/src/bind/func.js.map +1 -1
  21. package/dist/src/calendar/index.d.ts +510 -1639
  22. package/dist/src/calendar/index.d.ts.map +1 -1
  23. package/dist/src/calendar/index.js +56 -29
  24. package/dist/src/calendar/index.js.map +1 -1
  25. package/dist/src/flowchart/canvas.d.ts +9 -21
  26. package/dist/src/flowchart/canvas.d.ts.map +1 -1
  27. package/dist/src/flowchart/canvas.js +10 -22
  28. package/dist/src/flowchart/canvas.js.map +1 -1
  29. package/dist/src/flowchart/flowchart.d.ts +19 -13
  30. package/dist/src/flowchart/flowchart.d.ts.map +1 -1
  31. package/dist/src/flowchart/flowchart.js.map +1 -1
  32. package/dist/src/flowchart/index.d.ts +44 -21
  33. package/dist/src/flowchart/index.d.ts.map +1 -1
  34. package/dist/src/flowchart/index.js +43 -20
  35. package/dist/src/flowchart/index.js.map +1 -1
  36. package/dist/src/flowchart/library.d.ts +166 -81
  37. package/dist/src/flowchart/library.d.ts.map +1 -1
  38. package/dist/src/flowchart/library.js +232 -105
  39. package/dist/src/flowchart/library.js.map +1 -1
  40. package/dist/src/flowchart/over.d.ts +9 -16
  41. package/dist/src/flowchart/over.d.ts.map +1 -1
  42. package/dist/src/flowchart/over.js +9 -16
  43. package/dist/src/flowchart/over.js.map +1 -1
  44. package/dist/src/flowchart/payload.d.ts +710 -508
  45. package/dist/src/flowchart/payload.d.ts.map +1 -1
  46. package/dist/src/flowchart/payload.js +128 -74
  47. package/dist/src/flowchart/payload.js.map +1 -1
  48. package/dist/src/flowchart/window.d.ts +132 -347
  49. package/dist/src/flowchart/window.d.ts.map +1 -1
  50. package/dist/src/flowchart/window.js +48 -55
  51. package/dist/src/flowchart/window.js.map +1 -1
  52. package/dist/src/index.d.ts +11 -7
  53. package/dist/src/index.d.ts.map +1 -1
  54. package/dist/src/index.js +14 -6
  55. package/dist/src/index.js.map +1 -1
  56. package/dist/src/internal.d.ts +18 -7
  57. package/dist/src/internal.d.ts.map +1 -1
  58. package/dist/src/internal.js +28 -9
  59. package/dist/src/internal.js.map +1 -1
  60. package/dist/src/plan/event-rows.d.ts +26 -10
  61. package/dist/src/plan/event-rows.d.ts.map +1 -1
  62. package/dist/src/plan/event-rows.js +39 -13
  63. package/dist/src/plan/event-rows.js.map +1 -1
  64. package/dist/src/plan/ir.d.ts +244 -815
  65. package/dist/src/plan/ir.d.ts.map +1 -1
  66. package/dist/src/plan/ir.js +8 -6
  67. package/dist/src/plan/ir.js.map +1 -1
  68. package/dist/src/plan/library.d.ts +3 -0
  69. package/dist/src/plan/library.d.ts.map +1 -1
  70. package/dist/src/plan/library.js +1 -1
  71. package/dist/src/plan/library.js.map +1 -1
  72. package/dist/src/plan/ordered-source.d.ts +1 -0
  73. package/dist/src/plan/ordered-source.d.ts.map +1 -1
  74. package/dist/src/plan/plan.d.ts +559 -1667
  75. package/dist/src/plan/plan.d.ts.map +1 -1
  76. package/dist/src/plan/plan.js +123 -45
  77. package/dist/src/plan/plan.js.map +1 -1
  78. package/dist/src/plan/root.d.ts +16 -20
  79. package/dist/src/plan/root.d.ts.map +1 -1
  80. package/dist/src/plan/root.js +23 -33
  81. package/dist/src/plan/root.js.map +1 -1
  82. package/dist/src/roster/coverage.d.ts +17 -231
  83. package/dist/src/roster/coverage.d.ts.map +1 -1
  84. package/dist/src/roster/coverage.js +94 -90
  85. package/dist/src/roster/coverage.js.map +1 -1
  86. package/dist/src/roster/fit.d.ts +59 -0
  87. package/dist/src/roster/fit.d.ts.map +1 -0
  88. package/dist/src/roster/fit.js +155 -0
  89. package/dist/src/roster/fit.js.map +1 -0
  90. package/dist/src/roster/index.d.ts +2862 -3662
  91. package/dist/src/roster/index.d.ts.map +1 -1
  92. package/dist/src/roster/index.js +383 -81
  93. package/dist/src/roster/index.js.map +1 -1
  94. package/dist/src/roster/library.d.ts +37 -92
  95. package/dist/src/roster/library.d.ts.map +1 -1
  96. package/dist/src/roster/library.js +25 -64
  97. package/dist/src/roster/library.js.map +1 -1
  98. package/dist/src/roster/lists.d.ts +195 -0
  99. package/dist/src/roster/lists.d.ts.map +1 -0
  100. package/dist/src/roster/lists.js +233 -0
  101. package/dist/src/roster/lists.js.map +1 -0
  102. package/dist/src/roster/rules.d.ts +17 -260
  103. package/dist/src/roster/rules.d.ts.map +1 -1
  104. package/dist/src/roster/rules.js +135 -132
  105. package/dist/src/roster/rules.js.map +1 -1
  106. package/dist/src/roster/targets.d.ts +115 -0
  107. package/dist/src/roster/targets.d.ts.map +1 -0
  108. package/dist/src/roster/targets.js +213 -0
  109. package/dist/src/roster/targets.js.map +1 -0
  110. package/dist/src/roster/times.d.ts +251 -0
  111. package/dist/src/roster/times.d.ts.map +1 -0
  112. package/dist/src/roster/times.js +174 -0
  113. package/dist/src/roster/times.js.map +1 -0
  114. package/dist/src/roster/types.d.ts +828 -183
  115. package/dist/src/roster/types.d.ts.map +1 -1
  116. package/dist/src/roster/types.js +224 -97
  117. package/dist/src/roster/types.js.map +1 -1
  118. package/dist/src/schedule/accessor.d.ts +28 -0
  119. package/dist/src/schedule/accessor.d.ts.map +1 -0
  120. package/dist/src/schedule/accessor.js +39 -0
  121. package/dist/src/schedule/accessor.js.map +1 -0
  122. package/dist/src/schedule/events.d.ts +170 -42
  123. package/dist/src/schedule/events.d.ts.map +1 -1
  124. package/dist/src/schedule/events.js +431 -171
  125. package/dist/src/schedule/events.js.map +1 -1
  126. package/dist/src/schedule/index.d.ts +41 -4
  127. package/dist/src/schedule/index.d.ts.map +1 -1
  128. package/dist/src/schedule/index.js +35 -3
  129. package/dist/src/schedule/index.js.map +1 -1
  130. package/dist/src/schedule/library.d.ts +13 -3
  131. package/dist/src/schedule/library.d.ts.map +1 -1
  132. package/dist/src/schedule/library.js +11 -4
  133. package/dist/src/schedule/library.js.map +1 -1
  134. package/dist/src/schedule/periods.d.ts +115 -0
  135. package/dist/src/schedule/periods.d.ts.map +1 -0
  136. package/dist/src/schedule/periods.js +215 -0
  137. package/dist/src/schedule/periods.js.map +1 -0
  138. package/dist/src/schedule/record-window.d.ts +25 -3
  139. package/dist/src/schedule/record-window.d.ts.map +1 -1
  140. package/dist/src/schedule/record-window.js +31 -18
  141. package/dist/src/schedule/record-window.js.map +1 -1
  142. package/dist/src/schedule/resources.d.ts +82 -4
  143. package/dist/src/schedule/resources.d.ts.map +1 -1
  144. package/dist/src/schedule/resources.js +44 -14
  145. package/dist/src/schedule/resources.js.map +1 -1
  146. package/dist/src/schedule/session.d.ts +69 -0
  147. package/dist/src/schedule/session.d.ts.map +1 -0
  148. package/dist/src/schedule/session.js +121 -0
  149. package/dist/src/schedule/session.js.map +1 -0
  150. package/dist/src/schedule/templates.d.ts +14 -2
  151. package/dist/src/schedule/templates.d.ts.map +1 -1
  152. package/dist/src/schedule/templates.js +5 -3
  153. package/dist/src/schedule/templates.js.map +1 -1
  154. package/dist/src/schedule/types.d.ts +1671 -37
  155. package/dist/src/schedule/types.d.ts.map +1 -1
  156. package/dist/src/schedule/types.js +196 -5
  157. package/dist/src/schedule/types.js.map +1 -1
  158. package/dist/src/schedule/window.d.ts +14 -0
  159. package/dist/src/schedule/window.d.ts.map +1 -1
  160. package/dist/src/schedule/window.js +14 -4
  161. package/dist/src/schedule/window.js.map +1 -1
  162. package/dist/src/schedule/words.d.ts +22 -0
  163. package/dist/src/schedule/words.d.ts.map +1 -0
  164. package/dist/src/schedule/words.js +25 -0
  165. package/dist/src/schedule/words.js.map +1 -0
  166. package/dist/src/sheet/index.d.ts +61 -27
  167. package/dist/src/sheet/index.d.ts.map +1 -1
  168. package/dist/src/sheet/index.js +59 -25
  169. package/dist/src/sheet/index.js.map +1 -1
  170. package/dist/src/sheet/library.d.ts +21 -3
  171. package/dist/src/sheet/library.d.ts.map +1 -1
  172. package/dist/src/sheet/library.js +23 -6
  173. package/dist/src/sheet/library.js.map +1 -1
  174. package/dist/src/sheet/registers.d.ts +100 -85
  175. package/dist/src/sheet/registers.d.ts.map +1 -1
  176. package/dist/src/sheet/registers.js +100 -85
  177. package/dist/src/sheet/registers.js.map +1 -1
  178. package/dist/src/sheet/root.d.ts +8 -12
  179. package/dist/src/sheet/root.d.ts.map +1 -1
  180. package/dist/src/sheet/root.js +6 -40
  181. package/dist/src/sheet/root.js.map +1 -1
  182. package/dist/src/sheet/sheet.d.ts +598 -2349
  183. package/dist/src/sheet/sheet.d.ts.map +1 -1
  184. package/dist/src/sheet/sheet.js +124 -37
  185. package/dist/src/sheet/sheet.js.map +1 -1
  186. package/dist/src/sheet/sub-rows.d.ts +74 -28
  187. package/dist/src/sheet/sub-rows.d.ts.map +1 -1
  188. package/dist/src/sheet/sub-rows.js +74 -28
  189. package/dist/src/sheet/sub-rows.js.map +1 -1
  190. package/dist/src/sheet/templates.d.ts +98 -34
  191. package/dist/src/sheet/templates.d.ts.map +1 -1
  192. package/dist/src/sheet/templates.js +102 -58
  193. package/dist/src/sheet/templates.js.map +1 -1
  194. package/dist/src/sheet/types.d.ts +289 -1359
  195. package/dist/src/sheet/types.d.ts.map +1 -1
  196. package/dist/src/sheet/types.js +20 -26
  197. package/dist/src/sheet/types.js.map +1 -1
  198. package/dist/src/sheet/views.d.ts +10 -11
  199. package/dist/src/sheet/views.d.ts.map +1 -1
  200. package/dist/src/sheet/views.js +15 -20
  201. package/dist/src/sheet/views.js.map +1 -1
  202. package/dist/src/{roster/visibility.d.ts → utils/key-visibility.d.ts} +42 -7
  203. package/dist/src/utils/key-visibility.d.ts.map +1 -0
  204. package/dist/src/utils/key-visibility.js +36 -0
  205. package/dist/src/utils/key-visibility.js.map +1 -0
  206. package/dist/src/utils/ordered-source.d.ts +1 -0
  207. package/dist/src/utils/ordered-source.d.ts.map +1 -1
  208. package/dist/src/utils/ordered-source.js +8 -3
  209. package/dist/src/utils/ordered-source.js.map +1 -1
  210. package/dist/src/utils/record-sources.d.ts +107 -0
  211. package/dist/src/utils/record-sources.d.ts.map +1 -0
  212. package/dist/src/utils/record-sources.js +132 -0
  213. package/dist/src/utils/record-sources.js.map +1 -0
  214. package/dist/test/allocation/allocation.examples.d.ts +2902 -0
  215. package/dist/test/allocation/allocation.examples.d.ts.map +1 -0
  216. package/dist/test/allocation/allocation.examples.js +643 -0
  217. package/dist/test/allocation/allocation.examples.js.map +1 -0
  218. package/dist/test/allocation/fit.examples.d.ts +546 -0
  219. package/dist/test/allocation/fit.examples.d.ts.map +1 -0
  220. package/dist/test/allocation/fit.examples.js +171 -0
  221. package/dist/test/allocation/fit.examples.js.map +1 -0
  222. package/dist/test/allocation/kiln-yard.d.ts +181 -0
  223. package/dist/test/allocation/kiln-yard.d.ts.map +1 -0
  224. package/dist/test/allocation/kiln-yard.js +228 -0
  225. package/dist/test/allocation/kiln-yard.js.map +1 -0
  226. package/dist/test/bind/data/data.examples.d.ts +651 -1
  227. package/dist/test/bind/data/data.examples.d.ts.map +1 -1
  228. package/dist/test/bind/data/data.examples.js +140 -2
  229. package/dist/test/bind/data/data.examples.js.map +1 -1
  230. package/dist/test/bind/func/func.examples.d.ts +10 -1
  231. package/dist/test/bind/func/func.examples.d.ts.map +1 -1
  232. package/dist/test/bind/func/func.examples.js +8 -1
  233. package/dist/test/bind/func/func.examples.js.map +1 -1
  234. package/dist/test/bind/record/record.examples.d.ts +633 -1
  235. package/dist/test/bind/record/record.examples.d.ts.map +1 -1
  236. package/dist/test/bind/record/record.examples.js +26 -2
  237. package/dist/test/bind/record/record.examples.js.map +1 -1
  238. package/dist/test/calendar/calendar-records.examples.d.ts.map +1 -1
  239. package/dist/test/calendar/calendar-records.examples.js +18 -14
  240. package/dist/test/calendar/calendar-records.examples.js.map +1 -1
  241. package/dist/test/calendar/calendar.examples.d.ts +521 -16
  242. package/dist/test/calendar/calendar.examples.d.ts.map +1 -1
  243. package/dist/test/calendar/calendar.examples.js +182 -135
  244. package/dist/test/calendar/calendar.examples.js.map +1 -1
  245. package/dist/test/examples-package.d.ts +75 -0
  246. package/dist/test/examples-package.d.ts.map +1 -0
  247. package/dist/test/examples-package.js +263 -0
  248. package/dist/test/examples-package.js.map +1 -0
  249. package/dist/test/flowchart/flowchart.examples.d.ts +211 -19
  250. package/dist/test/flowchart/flowchart.examples.d.ts.map +1 -1
  251. package/dist/test/flowchart/flowchart.examples.js +102 -75
  252. package/dist/test/flowchart/flowchart.examples.js.map +1 -1
  253. package/dist/test/plan/plan-events.examples.d.ts +1439 -209
  254. package/dist/test/plan/plan-events.examples.d.ts.map +1 -1
  255. package/dist/test/plan/plan-events.examples.js +199 -59
  256. package/dist/test/plan/plan-events.examples.js.map +1 -1
  257. package/dist/test/plan/plan-records.examples.d.ts +420 -0
  258. package/dist/test/plan/plan-records.examples.d.ts.map +1 -1
  259. package/dist/test/plan/plan-records.examples.js +70 -19
  260. package/dist/test/plan/plan-records.examples.js.map +1 -1
  261. package/dist/test/plan/plan-windows.examples.d.ts +636 -55
  262. package/dist/test/plan/plan-windows.examples.d.ts.map +1 -1
  263. package/dist/test/plan/plan-windows.examples.js +69 -33
  264. package/dist/test/plan/plan-windows.examples.js.map +1 -1
  265. package/dist/test/plan/plan.examples.d.ts +153 -31
  266. package/dist/test/plan/plan.examples.d.ts.map +1 -1
  267. package/dist/test/plan/plan.examples.js +178 -101
  268. package/dist/test/plan/plan.examples.js.map +1 -1
  269. package/dist/test/roster/domain.examples.d.ts +467 -250
  270. package/dist/test/roster/domain.examples.d.ts.map +1 -1
  271. package/dist/test/roster/domain.examples.js +92 -29
  272. package/dist/test/roster/domain.examples.js.map +1 -1
  273. package/dist/test/roster/roster-records.examples.d.ts +430 -586
  274. package/dist/test/roster/roster-records.examples.d.ts.map +1 -1
  275. package/dist/test/roster/roster-records.examples.js +102 -43
  276. package/dist/test/roster/roster-records.examples.js.map +1 -1
  277. package/dist/test/roster/roster.examples.d.ts +2319 -606
  278. package/dist/test/roster/roster.examples.d.ts.map +1 -1
  279. package/dist/test/roster/roster.examples.js +456 -148
  280. package/dist/test/roster/roster.examples.js.map +1 -1
  281. package/dist/test/roster/warehouse.d.ts +172 -63
  282. package/dist/test/roster/warehouse.d.ts.map +1 -1
  283. package/dist/test/roster/warehouse.js +172 -39
  284. package/dist/test/roster/warehouse.js.map +1 -1
  285. package/dist/test/schedule/schedule.examples.d.ts +3499 -0
  286. package/dist/test/schedule/schedule.examples.d.ts.map +1 -0
  287. package/dist/test/schedule/schedule.examples.js +192 -0
  288. package/dist/test/schedule/schedule.examples.js.map +1 -0
  289. package/dist/test/sheet/sheet-records.examples.d.ts.map +1 -1
  290. package/dist/test/sheet/sheet-records.examples.js +22 -18
  291. package/dist/test/sheet/sheet-records.examples.js.map +1 -1
  292. package/dist/test/sheet/sheet.examples.d.ts +715 -26
  293. package/dist/test/sheet/sheet.examples.d.ts.map +1 -1
  294. package/dist/test/sheet/sheet.examples.js +204 -130
  295. package/dist/test/sheet/sheet.examples.js.map +1 -1
  296. package/package.json +17 -10
  297. package/dist/src/roster/people.d.ts +0 -50
  298. package/dist/src/roster/people.d.ts.map +0 -1
  299. package/dist/src/roster/people.js +0 -32
  300. package/dist/src/roster/people.js.map +0 -1
  301. package/dist/src/roster/visibility.d.ts.map +0 -1
  302. package/dist/src/roster/visibility.js +0 -25
  303. package/dist/src/roster/visibility.js.map +0 -1
@@ -2,68 +2,61 @@
2
2
  * Copyright (c) 2025 Elara AI Pty Ltd
3
3
  * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
4
  */
5
- /** Paged flow records: preserve index order in the list and primary identity in edits. */
6
- import { ArrayType, BlobType, East, OptionType, StringType, StructType, FunctionType, isTypeEqual, none, some, variant, } from "@elaraai/east";
7
- import { buildRowSource, resolveRowSource, PinnedSourceType, RecordSliceChromeType, recordSliceChrome, } from "@elaraai/east-ui/internal";
8
- import { FlowchartFlowType, FlowchartFlowsType } from "./types.js";
5
+ /**
6
+ * The `flows` source of a flowchart's slice (#1340, #1346): the Flows tab
7
+ * pages the flows its rail narrows the record to, in its index's order, each
8
+ * row keeping the record's primary key — its name — as the flow's identity;
9
+ * the open flow is read by that key, whatever the narrowing; and the tab's own
10
+ * search reads a narrowing of its own through the source's part.
11
+ *
12
+ * @packageDocumentation
13
+ */
14
+ import { ArrayType, BlobType, East, IntegerType, OptionType, StringType, StructType, FunctionType, isTypeEqual, none, printType, some, } from "@elaraai/east";
15
+ import { buildRowSource, resolveRowSource, LiveSourceType, RecordSliceWhereType } from "@elaraai/east-ui/internal";
16
+ import { FlowchartFlowType } from "./types.js";
9
17
  /** A list entry retains the record's primary key even when sorted by an index. */
10
18
  export const FlowchartEntryType = StructType({ name: StringType, flow: FlowchartFlowType });
11
- /** The normalized, snapshot-pinned list of flows. */
12
- export const FlowchartWindowType = PinnedSourceType(ArrayType(FlowchartEntryType));
19
+ /**
20
+ * The normalized list of flows, pinned to the record's snapshot and to the rail's narrowing (#1354): a live source,
21
+ * read under the narrowing as it stands, its `query` naming it.
22
+ */
23
+ export const FlowchartWindowType = LiveSourceType(ArrayType(FlowchartEntryType));
13
24
  /** Read by primary identity: outer none is pending; inner none is confirmed absence. */
14
25
  export const FlowchartReadEntryType = FunctionType([StringType], OptionType(OptionType(BlobType)));
15
- /** The shared record filter controls, independent of the list's current query. */
16
- export const FlowchartRecordChromeType = OptionType(RecordSliceChromeType);
17
26
  /**
18
- * Normalize a record window without reading the whole record.
19
- * @param window - Data.bindPaged(record), or Slice.rows of its record slice
20
- * @param slice - Shared record Slice controls; required for an indexed window
21
- * @returns The window, primary-key reader and optional Slice chrome
22
- * @throws {Error} When the window does not contain complete, pinned flow entries
27
+ * A page of the flows a narrowing holds (#1340, ruling 11): the Flows tab's
28
+ * own search — the rail's choices and the search's text — read through the
29
+ * `flows` source's `pageWhere`, never the rail's state; `none` while it is read.
30
+ */
31
+ export const FlowchartSearchType = FunctionType([RecordSliceWhereType, IntegerType, IntegerType], OptionType(ArrayType(FlowchartEntryType)));
32
+ /**
33
+ * The `flows` source's reads, over the source as the payload's block bound
34
+ * it (#1356): a function captures what it reads, so each holds the `flows`
35
+ * source alone, never the whole slice.
36
+ *
37
+ * @param part - The `flows` source's part of the slice, bound: its `pageWhere`, a narrowing's page, the rail's state unchanged, and its `readEntry`, a flow by its name, whatever the narrowing
38
+ * @param rows - Its narrowed data — `Slice.rows(slice, "flows")` — bound
39
+ * @returns The Flows tab's window, the read of a flow by its name, and the tab's search's page
40
+ * @throws {Error} When the source pages anything but a record of flows by name, its rows joined
23
41
  * @internal
24
42
  */
25
- export function flowchartWindow(window, slice) {
26
- const resolved = resolveRowSource(window, "Flowchart");
27
- const joined = resolved.kind === "ordered" && resolved.elementType.type === "Struct"
28
- ? resolved.elementType.fields.row : undefined;
29
- const indexed = resolved.kind === "ordered" && isTypeEqual(resolved.keyType, StringType)
30
- && joined?.type === "Variant" && joined.cases.some !== undefined
31
- && isTypeEqual(joined.cases.some, FlowchartFlowType);
32
- if (resolved.kind === "inline" || !resolved.pinned
33
- || (!isTypeEqual(resolved.collectionType, FlowchartFlowsType) && !indexed)) {
34
- throw new Error("Flowchart: `window` must page complete flows from the bound record — Data.bindPaged(record), or Slice.rows(recordSlice) with joined rows");
35
- }
36
- if (indexed && slice === undefined) {
37
- throw new Error("Flowchart: an indexed `window` needs slice={{ slice: recordSlice }} so Save confirms changes by their original record IDs");
43
+ export function flowchartWindow(part, rows) {
44
+ const resolved = resolveRowSource(rows, "Flowchart.slice's flows");
45
+ const joined = resolved.kind === "ordered" && resolved.elementType.type === "Struct" ? resolved.elementType.fields.row : undefined;
46
+ const flows = resolved.kind === "ordered" && resolved.query && isTypeEqual(resolved.keyType, StringType)
47
+ && joined?.type === "Variant" && joined.cases.some !== undefined && isTypeEqual(joined.cases.some, FlowchartFlowType);
48
+ if (!flows) {
49
+ throw new Error(`Flowchart: \`slice\`'s \`flows\` source pages a record of flows by name, Flowchart.Types.Flows, its rows joined — Data.bindPaged(record, { indexes }) over the record \`record\` binds — and this one pages ${printType(resolved.collectionType)}`);
38
50
  }
39
- const rowsType = ArrayType(FlowchartEntryType);
40
- const source = buildRowSource(resolved, rowsType, (collection) => {
41
- if (!indexed)
42
- return collection.toArray((_$, flow, name) => ({ name, flow }));
43
- const rows = collection;
44
- return rows.map((_$, entry) => ({ name: entry.key, flow: entry.row.unwrap("some") }));
45
- }).unwrap("pinned");
46
- const chrome = slice === undefined ? undefined : recordSliceChrome(slice);
47
- const entry = chrome !== undefined ? chrome.slice.readEntry
48
- : East.function([StringType], OptionType(OptionType(BlobType)), ($, name) => {
49
- const src = $.const(source);
50
- const answer = $.let(none, OptionType(OptionType(BlobType)));
51
- $.match(src.seek, { some: ($, seek) => {
52
- $.match(seek(variant("key", East.print(name))), { some: ($, found) => {
53
- $.if(found.found.not(), ($) => { $.assign(answer, some(none)); });
54
- $.if(found.found, ($) => {
55
- $.match(src.page(found.row, 1n), { some: ($, rows) => {
56
- const flow = $.let(none, OptionType(BlobType));
57
- $.for(rows, ($, row) => {
58
- $.if(row.name.equal(name), ($) => { $.assign(flow, some(East.Blob.encodeBeast(row.flow, "v2"))); });
59
- });
60
- $.assign(answer, some(flow));
61
- } });
62
- });
63
- } });
64
- } });
65
- return answer;
66
- });
67
- return { window: source, entry, chrome: chrome === undefined ? none : some(chrome) };
51
+ const entries = (collection) => collection.map((_$, entry) => ({ name: entry.key, flow: entry.row.unwrap("some") }));
52
+ const window = buildRowSource(resolved, ArrayType(FlowchartEntryType), (collection) => entries(collection)).unwrap("live");
53
+ const search = East.function([RecordSliceWhereType, IntegerType, IntegerType], OptionType(ArrayType(FlowchartEntryType)), ($, where, offset, limit) => {
54
+ const page = $.const(part.pageWhere);
55
+ const result = $.let(none, OptionType(ArrayType(FlowchartEntryType)));
56
+ const found = $.let(page(where, offset, limit));
57
+ $.match(found, { some: ($2, held) => { $2.assign(result, some(entries(held))); } });
58
+ return result;
59
+ });
60
+ return { window, entry: part.readEntry, search };
68
61
  }
69
62
  //# sourceMappingURL=window.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"window.js","sourceRoot":"","sources":["../../../src/flowchart/window.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,0FAA0F;AAC1F,OAAO,EACH,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAC3E,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,GACnC,MAAM,eAAe,CAAC;AACvB,OAAO,EACH,cAAc,EAAE,gBAAgB,EAAE,gBAAgB,EAClD,qBAAqB,EAAE,iBAAiB,GAC3C,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEnE,kFAAkF;AAClF,MAAM,CAAC,MAAM,kBAAkB,GAAG,UAAU,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC,CAAC;AAC5F,qDAAqD;AACrD,MAAM,CAAC,MAAM,mBAAmB,GAAG,gBAAgB,CAAC,SAAS,CAAC,kBAAkB,CAAC,CAAC,CAAC;A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C,CAAC;IACxK,MAAM,MAAM,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC,oBAAoB,EAAE,WAAW,EAAE,WAAW,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,kBAAkB,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE;QAClJ,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAE,IAA6B,CAAC,SAAS,CAAC,CAAC;QAC/D,MAAM,MAAM,GAAG,CAAC,CAAC,GAAG,CAAC,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC;QACtE,MAAM,KAAK,GAAG,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC;QAChD,CAAC,CAAC,KAAK,CAAC,KAAK,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,IAAI,EAAE,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;QACpF,OAAO,MAAM,CAAC;IAClB,CAAC,CAAC,CAAC;IACH,OAAO,EAAE,MAAM,EAAE,KAAK,EAAG,IAA6B,CAAC,SAAS,EAAE,MAAM,EAAE,CAAC;AAC/E,CAAC"}
@@ -22,7 +22,8 @@
22
22
  * (`Flowchart.values`, `Flowchart.value`, `Flowchart.over`,
23
23
  * `Flowchart.patch`, `Flowchart.library`, `Flowchart.Types`).
24
24
  * - `Schedule` — the event and resource kinds the Calendar and Plan's builder
25
- * share (`Schedule.events`, `Schedule.resources`).
25
+ * share (`Schedule.events`, `Schedule.resources`), and what a builder
26
+ * publishes (`Schedule.periods`).
26
27
  * - `<Diff>` — review pending changes for any combination of bindings.
27
28
  * - `<Ontology>` — graph editor over an `OntologyType`-bound dataset.
28
29
  * - `Data.bind` — workspace-scoped reactive dataset binding.
@@ -50,9 +51,9 @@ export { Studio, StudioComponentType, StudioFrameType, StudioCellType, StudioEnt
50
51
  export { Query, QueryAggregateFunctionType, QueryAggregateType, QueryComparisonType, QueryConditionType, QueryDatePartType, QueryGroupByType, QueryInputType, QueryMatchType, QueryPickFieldType, QueryResultType, QueryRootEntryType, QuerySortDirectionType, QueryStepInputType, QueryStepType, QueryStepValueType, QueryStepsType, SavedQueriesType, SavedQueryType, type QueriesHandle, type QueryBuilderOptions, type QueryLibraryOptions, type QueryNamespace, type QueryTypes, type SavedQueryInput, } from './query/index.js';
51
52
  export { DataSourceType, type BoundSource } from './bind/sources.js';
52
53
  export { Plan, type PlanNamespace, type PlanProps, type PlanConfig, type PlanRowsItem, type PlanOverRows, type PlanLibraryTab, type PlanLibraryTabConfig, } from './plan/index.js';
53
- export { Sheet, type SheetNamespace, type SheetOptions, type SheetCommon, type SheetTemplate, type SheetTemplatesInput, type SheetLibraryTab, type SheetLibraryTabConfig, } from './sheet/index.js';
54
- export { Flowchart, type FlowchartNamespace, type FlowchartTypes, type FlowchartCommon, type FlowchartRecordHandle, type FlowchartBindHandle, type FlowchartInspectorOptions, type FlowchartRowInspector, type FlowchartLibrary, type FlowchartLibraryTab, type FlowchartOneFlowLibraryTab, type FlowchartLibraryRows, type FlowchartFlowsTab, type FlowchartStatesTab, type FlowchartTransitionsTab, type FlowchartAuthorTab, type FlowchartCardAccessors, type FlowchartStatesConfig, type FlowchartTransitionsConfig, type FlowchartTabConfig, type FlowchartCanvasOptions, type FlowchartSliceOptions, type FlowchartFreshnessInput, type FlowchartOrientationLiteral, type FlowchartTables, type FlowchartStateFields, type FlowchartLinkFields, type FlowchartLaneFields, type FlowchartTriggerFields, type FlowchartEvidenceFields, type FlowchartLaneLiteral, type FlowchartFlowInput, type FlowchartLaneInput, type FlowchartStateInput, type FlowchartLinkInput, type FlowchartEvidenceInput, type FlowchartTriggerInput, type FlowchartLinkKindLiteral, type FlowchartRowType, type FlowchartPatchOf, type FlowchartPatchInput, } from './flowchart/index.js';
55
- export { Schedule, type ScheduleNamespace, type ScheduleBacklog, type ScheduleEventKind, type ScheduleEventsBase, type ScheduleEventsConfig, type ScheduleInstantEventsConfig, type ScheduleInstantTemplate, type ScheduleOverlapsLiteral, type SchedulePatchInput, type SchedulePatchOf, type ScheduleQuantity, type ScheduleRecordHandle, type ScheduleResourceKind, type ScheduleResourcesConfig, type ScheduleTemplate, } from './schedule/index.js';
54
+ export { Sheet, type SheetNamespace, type SheetOptions, type SheetCommon, type SheetTemplates, type SheetTemplatesConfig, type SheetTemplatesProp, type SheetLibraryTab, type SheetLibraryTabConfig, } from './sheet/index.js';
55
+ export { Flowchart, type FlowchartNamespace, type FlowchartTypes, type FlowchartCommon, type FlowchartRecordHandle, type FlowchartBindHandle, type FlowchartInspectorOptions, type FlowchartRowInspector, type FlowchartLibrary, type FlowchartLibraryTab, type FlowchartOneFlowLibraryTab, type FlowchartLibraryRows, type FlowchartTemplateRows, type FlowchartFlowsTab, type FlowchartStatesTab, type FlowchartTransitionsTab, type FlowchartAuthorTab, type FlowchartCardAccessors, type FlowchartStatesConfig, type FlowchartTransitionsConfig, type FlowchartTabConfig, type FlowchartCanvasOptions, type FlowchartFreshnessInput, type FlowchartOrientationLiteral, type FlowchartTables, type FlowchartStateFields, type FlowchartLinkFields, type FlowchartLaneFields, type FlowchartTriggerFields, type FlowchartEvidenceFields, type FlowchartLaneLiteral, type FlowchartFlowInput, type FlowchartLaneInput, type FlowchartStateInput, type FlowchartLinkInput, type FlowchartEvidenceInput, type FlowchartTriggerInput, type FlowchartLinkKindLiteral, type FlowchartRowType, type FlowchartPatchOf, type FlowchartPatchInput, } from './flowchart/index.js';
56
+ export { Schedule, type ScheduleNamespace, type ScheduleBacklog, type ScheduleEventKind, type ScheduleEventsBase, type ScheduleEventsConfig, type ScheduleInstantEventsConfig, type ScheduleInstantTemplate, type ScheduleOverlapsLiteral, type ScheduleParts, type SchedulePatchInput, type SchedulePatchOf, type SchedulePeriods, type SchedulePeriodsConfig, type ScheduleQuantity, type ScheduleRecordHandle, type ScheduleResourceKind, type ScheduleResourcesConfig, type ScheduleTemplate, } from './schedule/index.js';
56
57
  export { Diff } from './runtime/diff.js';
57
58
  export { DiffPayloadType, DiffStyleType, type DiffOptions, } from './diff/index.js';
58
59
  export { Ontology } from './runtime/ontology.js';
@@ -67,7 +68,10 @@ export { type DecisionQueueOptions } from './decision/queue.js';
67
68
  export { DecisionJournal } from './runtime/decision/journal.js';
68
69
  export { type DecisionJournalOptions } from './decision/journal.js';
69
70
  export { Calendar, type CalendarProps, type CalendarLibraryTab } from "./calendar/index.js";
70
- export { Roster, type RosterProps, type RosterNamespace, type RosterWeeksHandle } from "./roster/index.js";
71
- export type { RosterPeopleConfig } from "./roster/people.js";
72
- export type { RosterPatchOptions, RosterLibraryTabConfig, RosterLibraryTab } from "./roster/library.js";
71
+ export { Roster, type RosterProps, type RosterNamespace } from "./roster/index.js";
72
+ export type { RosterActivitiesConfig, RosterGroups, RosterGroupsConfig, RosterPositions, RosterPositionsConfig, RosterProposals, RosterProposalsConfig, RosterShifts, RosterShiftsConfig, } from "./roster/lists.js";
73
+ export type { RosterTargets, RosterTargetsConfig } from "./roster/targets.js";
74
+ export type { RosterLibraryTab } from "./roster/library.js";
75
+ export { Allocation, type AllocationNamespace, type AllocationProps, type AllocationColumn, type AllocationLibraryDeclaration, type AllocationNoun, } from "./allocation/index.js";
76
+ export type { AllocationArrivals, AllocationArrivalsConfig } from "./allocation/adapters.js";
73
77
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AAEH,OAAO,EACH,IAAI,EACJ,gBAAgB,EAChB,KAAK,mBAAmB,EACxB,eAAe,EACf,KAAK,UAAU,EACf,kBAAk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E,qBAAqB,EACxI,YAAY,EAAE,kBAAkB,GACnC,MAAM,mBAAmB,CAAC;AAC3B,YAAY,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC9E,YAAY,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAK5D,OAAO,EACH,UAAU,EAAE,KAAK,mBAAmB,EAAE,KAAK,eAAe,EAAE,KAAK,gBAAgB,EAAE,KAAK,4BAA4B,EAAE,KAAK,cAAc,GAC5I,MAAM,uBAAuB,CAAC;AAC/B,YAAY,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC"}
package/dist/src/index.js CHANGED
@@ -22,7 +22,8 @@
22
22
  * (`Flowchart.values`, `Flowchart.value`, `Flowchart.over`,
23
23
  * `Flowchart.patch`, `Flowchart.library`, `Flowchart.Types`).
24
24
  * - `Schedule` — the event and resource kinds the Calendar and Plan's builder
25
- * share (`Schedule.events`, `Schedule.resources`).
25
+ * share (`Schedule.events`, `Schedule.resources`), and what a builder
26
+ * publishes (`Schedule.periods`).
26
27
  * - `<Diff>` — review pending changes for any combination of bindings.
27
28
  * - `<Ontology>` — graph editor over an `OntologyType`-bound dataset.
28
29
  * - `Data.bind` — workspace-scoped reactive dataset binding.
@@ -65,22 +66,25 @@ export { Plan, } from './plan/index.js';
65
66
  // `<Sheet>` — over an e3 record or the host's rows, in its frame, its library
66
67
  // and inspector panes optional props — its authoring vocabulary on `Sheet`
67
68
  // (`Sheet.column.*`, `Sheet.register.*`, `Sheet.driver`, `Sheet.link.*`,
68
- // `Sheet.group`, `Sheet.patch`, `Sheet.library.*`, `Sheet.field`,
69
- // `Sheet.apply`, `Sheet.Types`), and its props.
69
+ // `Sheet.group`, `Sheet.patch`, `Sheet.templates`, `Sheet.library.*`,
70
+ // `Sheet.field`, `Sheet.apply`, `Sheet.Types`), and its props.
70
71
  export { Sheet, } from './sheet/index.js';
71
72
  // The Flowchart (#1243–#1250): the state-transition flowchart a solution
72
73
  // mounts, `<Flowchart>` — states in ordered phase lanes, H/V-routed
73
74
  // transitions, decision triggers and evidence-weighted strokes, over a record
74
75
  // of flows or the host's flow, in its frame, its library pane an optional
75
76
  // prop and its inspector on by default, every gesture a transaction of its
76
- // editing session — the values, patches, library tabs and East types it is
77
- // written with (`Flowchart.values`, `Flowchart.value`, `Flowchart.over`,
77
+ // editing session, narrowed through one `Slice.bindRecords` (#1346) — the
78
+ // values, patches, library tabs and East types it is written with
79
+ // (`Flowchart.values`, `Flowchart.value`, `Flowchart.over`,
78
80
  // `Flowchart.patch`, `Flowchart.library`, `Flowchart.Types`), and its props.
79
81
  export { Flowchart, } from './flowchart/index.js';
80
82
  // Schedule (#1218, #1190): the event and resource kinds the Calendar and
81
83
  // Plan's builder share — `Schedule.events`, `Schedule.resources`,
82
84
  // `Schedule.field`, `Schedule.patch`, `Schedule.days`, `Schedule.unscheduled`
83
- // and `Schedule.Types` — with Plan's options beside the Calendar's.
85
+ // and `Schedule.Types` — with Plan's options beside the Calendar's, and the
86
+ // Roster's and the Allocation's beside them, with what a builder publishes,
87
+ // `Schedule.periods` (#1367).
84
88
  export { Schedule, } from './schedule/index.js';
85
89
  // e3 `<Diff>` tag + its types
86
90
  export { Diff } from './runtime/diff.js';
@@ -107,4 +111,8 @@ export {} from './decision/journal.js';
107
111
  export { Calendar } from "./calendar/index.js";
108
112
  // Record-backed staffing roster.
109
113
  export { Roster } from "./roster/index.js";
114
+ // The Allocation (#1371): a day's arrivals booked into lane slots and
115
+ // allocated to resources, over the app's own bins, lanes, resources, arrivals
116
+ // and days, with the app's fit on e3.
117
+ export { Allocation, } from "./allocation/index.js";
110
118
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AAEH,OAAO,EACH,IAAI,EACJ,gBAAg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O,EACH,UAAU,GACb,MAAM,uBAAuB,CAAC"}
@@ -23,11 +23,12 @@ export { Func, FuncStatusType, FuncErrorType, FuncBindingType, FuncBindHandleTyp
23
23
  export { Record, RecordMutateStatusType, RecordErrorType, RecordBindingType, RecordBindHandleType, RecordOutcomeType, type BoundRecord, type RecordApplyOptions, type RecordApplyInsideOptions, recordBindPlatformFn, RecordBindPrimitives, } from './bind/record.js';
24
24
  export { DataManifestType, type DataManifest } from './utils/manifest.js';
25
25
  export { deriveManifest, deriveUiAccess, UiAccessType, type UiAccess } from './utils/derive.js';
26
+ export { recordSources, sliceSourceNames, tabSource, templatesSource, type RecordSources, type RecordSourcesSpec } from './utils/record-sources.js';
26
27
  export { StudioInternal as Studio, StudioComponentType, StudioFrameType, StudioCellChangeType, StudioCellType, StudioChangeType, StudioEntryType, StudioKeyType, StudioLiveType, StudioPageEntryType, StudioPageType, StudioPagesHandleType, StudioPagesType, StudioStatusType, StudioVersionType, fingerprintOf, saveCells, type StudioNamespace, type StudioInternalNamespace, type StudioTypes, type StudioComponentMeta, type StudioFrameLiteral, type StudioPagesHandle, type StudioPageOptions, type StudioVersionLiteral, type StudioBuilderOptions, type StudioLibraryOptions, StudioPageComponent, StudioPagePayloadType, StudioBuilderComponent, StudioBuilderPayloadType, StudioLibraryComponent, StudioLibraryPayloadType, StudioLibraryPageType, StudioLibraryTemplateType, libraryProjects, libraryPages, libraryTemplates, layoutSummary, nameWriteRefusal, builderKeys, paletteCards, palettePages, PaletteCardType, PalettePageType, canvasTiles, CanvasTileType, StudioSaveTemplatePayloadType, inspectorSelection, InspectorLayoutType, InspectorSelectionType, StudioInspectorPayloadType, PublishChangeType, PublishStandingType, PublishSummaryType, StudioPublishPayloadType, publishSummary, publishRefusal, } from './studio/index.js';
27
28
  export { QueryInternal as Query, QueryAggregateFunctionType, QueryAggregateType, QueryBuilder, QueryBuilderComponent, QueryBuilderPayloadType, QueryLibrary, QueryLibraryComponent, QueryLibraryPayloadType, QueryComparisonType, QueryConditionType, QueryDatePartType, QueryGroupByType, QueryInputType, QueryMatchType, QueryPickFieldType, QueryResultType, QueryRootBoundType, QueryRootEntryType, QuerySortDirectionType, QueryStepInputType, QueryStepType, QueryStepValueType, QueryStepsType, QueriesHandleType, SavedQueriesPatchType, SavedQueriesType, SavedQueryType, queryKeys, rootBound, saveQuery, savedQueriesValue, type QueriesHandle, type QueryBuilderOptions, type QueryInternalNamespace, type QueryLibraryOptions, type QueryNamespace, type QueryTypes, type SavedQueryInput, } from './query/index.js';
28
29
  export { DataSourceType, dataSources, type BoundSource } from './bind/sources.js';
29
30
  export { PlanInternal as Plan, PlanTag, PlanComponent, PlanPayloadType, PlanSettingsType, PlanEventBlocksType, PlanEventCanDropType, createPlanPayload, createPlanRoot, buildPlanRoot, planKeys, createOver, createEventRef, eventRefKind, type PlanTagType, type PlanProps, type PlanRowsItem, type PlanOverRows, type PlanCanvasOptions, PlanRootType, PlanEditingType, PlanWriteRequestType, PlanReadyEntryType, PLAN_PAGE_SIZE, type PlanNamespace, type PlanInternalNamespace, type PlanConfig, type PlanRowBaseInput, type PlanSpanInput, type PlanBucketsInput, type PlanChartInput, type PlanHeatInput, type PlanTableInput, type PlanCardsInput, type PlanEventsInput, type PlanGroupInput, type PlanRunInput, type PlanDecisionInput, type PlanPortInput, type PlanBucketEventInput, type PlanCellMarkerInput, type PlanChipInput, type PlanEventMarkInput, type PlanSegmentInput, type PlanTableSeriesInput, type PlanExpandInput, type PlanLinkInput, type PlanIconInput, type PlanLayerChannels, type PlanChartLayerInput, type PlanChartAxisInput, type PlanHeatCellsOptions, type PlanEditingConfig, type PlanBindHandle, type PlanEditInput, type PlanRowsInput, type PlanRowsValue, type PlanSeriesArm, type PlanSeriesValue, type PlanSeriesInput, type PlanSeriesIdentity, type PlanEntryExpr, type PlanAccessor, type PlanChildren, type PlanChildrenInput, type PlanSeriesRowConfig, type PlanSpanSeriesConfig, type PlanHeatSeriesConfig, type PlanTableSeriesOfConfig, type PlanBucketsSeriesConfig, type PlanCardsSeriesConfig, type PlanEventsSeriesConfig, type PlanChartSeriesConfig, type PlanGroupSeriesConfig, type PlanSectionSeriesConfig, type PlanViewsSeriesConfig, } from './plan/index.js';
30
- export { createEventBlocks, createEventPaged, eventDrawsOf, PlanEventDraftsType, PlanEventPagedType, PlanEventPlacedType, } from './plan/event-rows.js';
31
+ export { createEventBlocks, createEventPaged, eventDrawsOf, PlanEventDraftsType, PlanEventPagedType, PlanEventPlacedType, PlanEventShownType, } from './plan/event-rows.js';
31
32
  export { PlanLibraryCardType, PlanLibraryHidesType, PlanLibraryRowsItemType, PlanLibrarySeriesType, PlanLibraryTabType, planHideId, type PlanLibraryTab, type PlanLibraryTabConfig, } from './plan/library.js';
32
33
  export { SheetInternal as Sheet, type SheetNamespace, type SheetInternalNamespace, type SheetOptions, type SheetGroupedOptions, type SheetEntriesOptions, type SheetReadyInput, type SheetSuggestInput, type SheetProposerInput, type SheetStringField, type SheetBindHandle, type SheetColumn, type SheetColumnSpec, type SheetFieldKey, type SheetMemberArrayField, type SheetFillInput, type SheetOptionsInput, type SheetColumnBaseConfig, type SheetValueConfig, type SheetTextConfig, type SheetDateConfig, type SheetQuantityConfig, type SheetIntegerConfig, type SheetLookupConfig, type SheetReferenceConfig, type SheetEnumConfig, type SheetMemberKindInput, type SheetMultipleInput, type SheetSetConfig, type SheetSidesInput, type SheetLinkConfig, type SheetStampedConfig, type SheetCustomConfig, type SheetRegisterValue, type SheetMembersConfig, type SheetDriverConfig, type SheetDriverValue, type SheetArityInput, type SheetCheckInput, type SheetExistsCheck, type SheetLocksInput, } from './sheet/index.js';
33
34
  export * from './sheet/types.js';
@@ -37,16 +38,18 @@ export * from './sheet/editing-types.js';
37
38
  export { recordRows, type SheetRecordEntry, type SheetRecordRows, type SheetRecordRowsOptions } from './sheet/record.js';
38
39
  export { createSheetRoot, createSheetRootWith, createSheetBuild, type SheetBuild, type SheetInternalOptions } from './sheet/root.js';
39
40
  export { SheetComponent, SheetPayloadType, SheetInspectorType, SheetInspectorPaneType, SheetHistoryType, buildInspector, buildInspectorPane, createSheetPayload, sheetKeys, type SheetTagType, type SheetRecordHandle, type SheetEntryRows, type SheetLooseEntryRows, type SheetEntriesField, type SheetCommon, } from './sheet/sheet.js';
40
- export { SheetTemplateWireType, buildTemplates, type SheetTemplate, type SheetTemplatesInput } from './sheet/templates.js';
41
- export { SheetLibraryCardType, SheetLibraryDropType, SheetLibraryTabType, buildLibrary, type SheetLibraryTab, type SheetLibraryTabConfig, } from './sheet/library.js';
41
+ export { SheetTemplateWireType, buildTemplates, isSheetTemplates, sheetTemplates, type SheetTemplates, type SheetTemplatesConfig, type SheetTemplatesList, type SheetTemplatesProp, } from './sheet/templates.js';
42
+ export { SheetLibraryCardType, SheetLibraryDropType, SheetLibraryTabType, buildLibrary, librarySources, type SheetLibraryTab, type SheetLibraryTabConfig, } from './sheet/library.js';
42
43
  export { SheetFieldType, SheetFormType, SheetFormsType, buildForms } from './sheet/fields.js';
43
- export { FlowchartInternal as Flowchart, FlowchartTag, FlowchartComponent, FlowchartPayloadType, FlowchartCanvasType, FlowchartSourceType, FlowchartDataType, FlowchartFlowsHandleType, FlowchartSessionApplyType, FlowchartInspectorType, type FlowchartInspectorOptions, type FlowchartRowInspector, FlowchartLibraryFactories, libraryFlows, libraryStates, libraryTransitions, libraryTab, type FlowchartLibrary, type FlowchartLibraryTab, type FlowchartOneFlowLibraryTab, type FlowchartLibraryRows, type FlowchartFlowsTab, type FlowchartStatesTab, type FlowchartTransitionsTab, type FlowchartAuthorTab, type FlowchartCardAccessors, type FlowchartStatesConfig, type FlowchartTransitionsConfig, type FlowchartTabConfig, FlowchartFlowsApplyType, FlowchartFlowApplyType, FlowchartHistoryType, FlowchartLibraryTabType, FlowchartLandsType, FlowchartCardType, FlowchartStateCardType, FlowchartTransitionCardType, FlowchartLaneCardType, FlowchartDecisionCardType, FlowchartPatchTypeFor, buildCanvas, createFlowchartPayload, flowchartKeys, flowchartOver, flowchartPatch, flowchartValue, flowchartValues, type FlowchartTagType, type FlowchartNamespace, type FlowchartInternalNamespace, type FlowchartTypes, type FlowchartCommon, type FlowchartRecordHandle, type FlowchartBindHandle, type FlowchartCanvasOptions, type FlowchartSliceOptions, type FlowchartFreshnessInput, type FlowchartOrientationLiteral, type RowElement, type FlowchartTables, type FlowchartStateFields, type FlowchartLinkFields, type FlowchartLaneFields, type FlowchartTriggerFields, type FlowchartEvidenceFields, type FlowchartLaneLiteral, type FlowchartFlowInput, type FlowchartLaneInput, type FlowchartStateInput, type FlowchartLinkInput, type FlowchartEvidenceInput, type FlowchartTriggerInput, type FlowchartLinkKindLiteral, type FlowchartRowType, type FlowchartPatchOf, type FlowchartPatchInput, } from './flowchart/index.js';
44
+ export { FlowchartInternal as Flowchart, FlowchartTag, FlowchartComponent, FlowchartPayloadType, FlowchartCanvasType, FlowchartSourceType, FlowchartDataType, FlowchartFlowsHandleType, FlowchartSessionApplyType, FlowchartInspectorType, type FlowchartInspectorOptions, type FlowchartRowInspector, FlowchartLibraryFactories, buildFlowchartLibrary, libraryFlows, libraryStates, libraryTransitions, libraryTab, type FlowchartLibrary, type FlowchartLibraryTab, type FlowchartOneFlowLibraryTab, type FlowchartLibraryRows, type FlowchartTemplateRows, type FlowchartFlowsTab, type FlowchartStatesTab, type FlowchartTransitionsTab, type FlowchartAuthorTab, type FlowchartCardAccessors, type FlowchartStatesConfig, type FlowchartTransitionsConfig, type FlowchartTabConfig, FlowchartFlowsApplyType, FlowchartFlowApplyType, FlowchartHistoryType, FlowchartLibraryTabType, FlowchartLandsType, FlowchartCardType, FlowchartStateCardType, FlowchartTransitionCardType, FlowchartLaneCardType, FlowchartDecisionCardType, FlowchartPatchTypeFor, buildCanvas, createFlowchartPayload, flowchartKeys, flowchartOver, flowchartPatch, flowchartValue, flowchartValues, type FlowchartTagType, type FlowchartNamespace, type FlowchartInternalNamespace, type FlowchartTypes, type FlowchartCommon, type FlowchartRecordHandle, type FlowchartBindHandle, type FlowchartCanvasOptions, type FlowchartFreshnessInput, type FlowchartOrientationLiteral, type RowElement, type FlowchartTables, type FlowchartStateFields, type FlowchartLinkFields, type FlowchartLaneFields, type FlowchartTriggerFields, type FlowchartEvidenceFields, type FlowchartLaneLiteral, type FlowchartFlowInput, type FlowchartLaneInput, type FlowchartStateInput, type FlowchartLinkInput, type FlowchartEvidenceInput, type FlowchartTriggerInput, type FlowchartLinkKindLiteral, type FlowchartRowType, type FlowchartPatchOf, type FlowchartPatchInput, } from './flowchart/index.js';
44
45
  export * from './flowchart/types.js';
45
- export { ScheduleInternal as Schedule, scheduleCheck, type ScheduleNamespace, type ScheduleInternalNamespace, } from './schedule/index.js';
46
+ export { ScheduleInternal as Schedule, scheduleCheck, scheduleTitled, type ScheduleNamespace, type ScheduleInternalNamespace, } from './schedule/index.js';
46
47
  export * from './schedule/types.js';
47
- export { scheduleEvents, type ScheduleAtField, type ScheduleBacklog, type ScheduleEventKind, type ScheduleEventsBase, type ScheduleEventsConfig, type ScheduleFloatField, type ScheduleInstantEventsConfig, type ScheduleInstantField, type ScheduleInstantTemplate, type ScheduleOverlapsLiteral, type ScheduleQuantity, type ScheduleRecordHandle, type ScheduleResourceField, type ScheduleResourceOf, type ScheduleStateField, type ScheduleStatusCasesOf, type ScheduleStatusConfig, type ScheduleStatusField, type ScheduleStringField, type ScheduleTemplate, type ScheduleValuesOf, } from './schedule/events.js';
48
- export { SCHEDULE_DEF, scheduleResources, type ScheduleResourceKind, type ScheduleResourcesConfig } from './schedule/resources.js';
48
+ export { scheduleEvents, type ScheduleAtField, type ScheduleBacklog, type ScheduleCaseOf, type ScheduleDictFloatField, type ScheduleEventKind, type ScheduleEventsBase, type ScheduleEventsConfig, type ScheduleFloatField, type ScheduleInstantEventsConfig, type ScheduleIntegerField, type ScheduleInstantField, type ScheduleInstantTemplate, type ScheduleOptionStringField, type ScheduleOverlapsLiteral, type ScheduleParts, type ScheduleQuantity, type ScheduleRecordHandle, type ScheduleResourceField, type ScheduleResourceOf, type ScheduleSetStringField, type ScheduleStateField, type ScheduleStatusCasesOf, type ScheduleStatusConfig, type ScheduleStatusField, type ScheduleStringField, type ScheduleTemplate, type ScheduleTimeStepField, type ScheduleValuesOf, } from './schedule/events.js';
49
+ export { schedulePeriods, type SchedulePeriods, type SchedulePeriodsConfig } from './schedule/periods.js';
50
+ export { SCHEDULE_DEF, scheduleResources, type ScheduleResourceAccessor, type ScheduleResourceAccessors, type ScheduleResourceKind, type ScheduleResourcesConfig, } from './schedule/resources.js';
49
51
  export { scheduleDays, scheduleUnscheduled } from './schedule/days.js';
52
+ export { scheduleNumberText } from './schedule/words.js';
50
53
  export { SCHEDULE_INDEX_PAGE, ScheduleKeyReadType, checkEntries, checkIndexWindow, joinRefusal, scheduleBacklogWindow, scheduleDayWindow, scheduleEntryByKey, scheduleLastKey, type ScheduleWindowProp, } from './schedule/window.js';
51
54
  export { SchedulePatchTypeFor, schedulePatch, type SchedulePatchInput, type SchedulePatchOf } from './schedule/patch.js';
52
55
  export { Diff, DiffComponent, DiffPayloadType, DiffStyleType, type DiffOptions, } from './diff/index.js';
@@ -63,4 +66,12 @@ export * from "./roster/types.js";
63
66
  export * from "./roster/library.js";
64
67
  export * from "./roster/coverage.js";
65
68
  export * from "./roster/rules.js";
69
+ export * from "./roster/fit.js";
70
+ export * from "./roster/times.js";
71
+ export * from "./roster/lists.js";
72
+ export * from "./roster/targets.js";
73
+ export * from "./allocation/index.js";
74
+ export * from "./allocation/types.js";
75
+ export * from "./allocation/functions.js";
76
+ export * from "./allocation/adapters.js";
66
77
  //# sourceMappingURL=internal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../src/internal.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACH,IAAI,EACJ,gBAAgB,EAChB,KAAK,mBAAmB,EACxB,eAAe,EACf,KAAK,UAAU,EACf,kBAAkB,EAClB,KAAK,eAAe,EACpB,cAAc,EACd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,EACf,cAAc,EACd,KAAK,cAAc,EACnB,KAAK,mBAAmB,GAC3B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACH,aAAa,EACb,sBAAsB,EACtB,wBAAwB,EACxB,kBAAkB,EAClB,KAAK,oBAAoB,GAC5B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACH,eAAe,EACf,wBAAwB,EACxB,0BAA0B,EAC1B,KAAK,sBAAsB,GAC9B,MAAM,uBAAuB,CAAC;AAE/B,cAAc,qBAAqB,CAAC;AAGpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AAIpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC"}
@@ -23,6 +23,8 @@ export { Func, FuncStatusType, FuncErrorType, FuncBindingType, FuncBindHandleTyp
23
23
  export { Record, RecordMutateStatusType, RecordErrorType, RecordBindingType, RecordBindHandleType, RecordOutcomeType, recordBindPlatformFn, RecordBindPrimitives, } from './bind/record.js';
24
24
  export { DataManifestType } from './utils/manifest.js';
25
25
  export { deriveManifest, deriveUiAccess, UiAccessType } from './utils/derive.js';
26
+ // A builder's narrowing (#1340): the one check of its `slice` every builder's tag makes, of a tab's `source`, and of a templates list's.
27
+ export { recordSources, sliceSourceNames, tabSource, templatesSource } from './utils/record-sources.js';
26
28
  // The Studio (#787): its components' factories and carriers, the payloads the
27
29
  // renderers take, and the East the renderers call. `Studio` here is the
28
30
  // internal namespace — the public one, and the page functions.
@@ -41,9 +43,10 @@ export { DataSourceType, dataSources } from './bind/sources.js';
41
43
  export { PlanInternal as Plan, PlanTag, PlanComponent, PlanPayloadType, PlanSettingsType, PlanEventBlocksType, PlanEventCanDropType, createPlanPayload, createPlanRoot, buildPlanRoot, planKeys, createOver, createEventRef, eventRefKind, PlanRootType, PlanEditingType, PlanWriteRequestType, PlanReadyEntryType, PLAN_PAGE_SIZE, } from './plan/index.js';
42
44
  // The resources' rows a Plan of event kinds draws over a window (#1192): the
43
45
  // `blocks` seam its payload carries, made inside the payload's assembly, and
44
- // the drafts it reads, by kind; and a paged resource kind's rows, a window of
45
- // its resources at a time, with the events placed on them (#1199).
46
- export { createEventBlocks, createEventPaged, eventDrawsOf, PlanEventDraftsType, PlanEventPagedType, PlanEventPlacedType, } from './plan/event-rows.js';
46
+ // the drafts it reads, by kind, and the resources the rail shows (#1344); and a
47
+ // paged resource kind's rows, a window of its resources at a time, with the
48
+ // events placed on them (#1199).
49
+ export { createEventBlocks, createEventPaged, eventDrawsOf, PlanEventDraftsType, PlanEventPagedType, PlanEventPlacedType, PlanEventShownType, } from './plan/event-rows.js';
47
50
  // The Plan's library pane on the wire (#1195): its tabs, an author's tab's
48
51
  // cards, the Series tab's lines and what hiding each hides, and the ids a
49
52
  // viewer's hidden set holds.
@@ -65,28 +68,34 @@ export * from './sheet/editing-types.js';
65
68
  export { recordRows } from './sheet/record.js';
66
69
  export { createSheetRoot, createSheetRootWith, createSheetBuild } from './sheet/root.js';
67
70
  export { SheetComponent, SheetPayloadType, SheetInspectorType, SheetInspectorPaneType, SheetHistoryType, buildInspector, buildInspectorPane, createSheetPayload, sheetKeys, } from './sheet/sheet.js';
68
- export { SheetTemplateWireType, buildTemplates } from './sheet/templates.js';
69
- export { SheetLibraryCardType, SheetLibraryDropType, SheetLibraryTabType, buildLibrary, } from './sheet/library.js';
71
+ export { SheetTemplateWireType, buildTemplates, isSheetTemplates, sheetTemplates, } from './sheet/templates.js';
72
+ export { SheetLibraryCardType, SheetLibraryDropType, SheetLibraryTabType, buildLibrary, librarySources, } from './sheet/library.js';
70
73
  export { SheetFieldType, SheetFormType, SheetFormsType, buildForms } from './sheet/fields.js';
71
74
  // The Flowchart (#1243–#1250): `<Flowchart>` with its namespace, the payload
72
75
  // the renderer takes through the `Flowchart` carrier — its canvas, its source
73
76
  // of flows with the editing session's Save over a record or the host's flows,
74
- // its library's wire, each data tab's cards read from its own rows, and its
77
+ // a record's flows paged through its slice's `flows` source (#1346), its
78
+ // library's wire, each data tab's cards read from its own rows and following
79
+ // the source it names, its rail and each source's narrowed keys, and its
75
80
  // inspector's, each kind's own Details — its shared keys, its library's tabs,
76
81
  // and the types a flowchart is written with. `Flowchart` here is the internal
77
82
  // namespace — the public one, `Flowchart.Payload`, `Flowchart.Component` and
78
83
  // the payload's types.
79
- export { FlowchartInternal as Flowchart, FlowchartTag, FlowchartComponent, FlowchartPayloadType, FlowchartCanvasType, FlowchartSourceType, FlowchartDataType, FlowchartFlowsHandleType, FlowchartSessionApplyType, FlowchartInspectorType, FlowchartLibraryFactories, libraryFlows, libraryStates, libraryTransitions, libraryTab, FlowchartFlowsApplyType, FlowchartFlowApplyType, FlowchartHistoryType, FlowchartLibraryTabType, FlowchartLandsType, FlowchartCardType, FlowchartStateCardType, FlowchartTransitionCardType, FlowchartLaneCardType, FlowchartDecisionCardType, FlowchartPatchTypeFor, buildCanvas, createFlowchartPayload, flowchartKeys, flowchartOver, flowchartPatch, flowchartValue, flowchartValues, } from './flowchart/index.js';
84
+ export { FlowchartInternal as Flowchart, FlowchartTag, FlowchartComponent, FlowchartPayloadType, FlowchartCanvasType, FlowchartSourceType, FlowchartDataType, FlowchartFlowsHandleType, FlowchartSessionApplyType, FlowchartInspectorType, FlowchartLibraryFactories, buildFlowchartLibrary, libraryFlows, libraryStates, libraryTransitions, libraryTab, FlowchartFlowsApplyType, FlowchartFlowApplyType, FlowchartHistoryType, FlowchartLibraryTabType, FlowchartLandsType, FlowchartCardType, FlowchartStateCardType, FlowchartTransitionCardType, FlowchartLaneCardType, FlowchartDecisionCardType, FlowchartPatchTypeFor, buildCanvas, createFlowchartPayload, flowchartKeys, flowchartOver, flowchartPatch, flowchartValue, flowchartValues, } from './flowchart/index.js';
80
85
  export * from './flowchart/types.js';
81
86
  // Schedule (#1218, #1190): the kinds the Calendar and Plan's builder share,
82
87
  // the checks a builder makes across its slots, and the kinds' wire, the
83
88
  // Calendar's and Plan's. `Schedule` here is the internal namespace — the
84
89
  // public one, `check` and the wire types.
85
- export { ScheduleInternal as Schedule, scheduleCheck, } from './schedule/index.js';
90
+ export { ScheduleInternal as Schedule, scheduleCheck, scheduleTitled, } from './schedule/index.js';
86
91
  export * from './schedule/types.js';
87
92
  export { scheduleEvents, } from './schedule/events.js';
88
- export { SCHEDULE_DEF, scheduleResources } from './schedule/resources.js';
93
+ // What a builder publishes (#1367): the app's record of periods, its status a field of the app's.
94
+ export { schedulePeriods } from './schedule/periods.js';
95
+ export { SCHEDULE_DEF, scheduleResources, } from './schedule/resources.js';
89
96
  export { scheduleDays, scheduleUnscheduled } from './schedule/days.js';
97
+ // The number the Allocation's and the Roster's pure functions write, one printer for both.
98
+ export { scheduleNumberText } from './schedule/words.js';
90
99
  // The window reader (#1199): an event kind's record read a window at a time,
91
100
  // through its day index and its backlog index — the Calendar's and Plan's —
92
101
  // and one entry of a record read by its key, through its own entries.
@@ -109,4 +118,14 @@ export * from "./roster/types.js";
109
118
  export * from "./roster/library.js";
110
119
  export * from "./roster/coverage.js";
111
120
  export * from "./roster/rules.js";
121
+ export * from "./roster/fit.js";
122
+ export * from "./roster/times.js";
123
+ export * from "./roster/lists.js";
124
+ export * from "./roster/targets.js";
125
+ // The Allocation's renderer contracts, its adapters and its pure functions,
126
+ // which the renderer compiles over the bins' row type (#1371).
127
+ export * from "./allocation/index.js";
128
+ export * from "./allocation/types.js";
129
+ export * from "./allocation/functions.js";
130
+ export * from "./allocation/adapters.js";
112
131
  //# sourceMappingURL=internal.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"internal.js","sourceRoot":"","sources":["../../src/internal.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;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Ac,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AAEpC,4EAA4E;AAC5E,+DAA+D;AAC/D,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC"}
@@ -33,6 +33,12 @@
33
33
  * resource kind draws no rows; a hidden measure no row under each resource. A
34
34
  * resource's first row is its own, and stays while its kind shows.
35
35
  *
36
+ * What the rail shows of a resource kind narrows its rows (#1344): a kind its
37
+ * Plan's slice names a source after draws the resources whose keys that source
38
+ * shows, as the renderer hands them in, and the events on the others draw
39
+ * nowhere — never on the Unassigned row, for their kind has their resource.
40
+ * A kind no source narrows draws every resource.
41
+ *
36
42
  * A resource kind given its resources as a paged read (#1199, PB55) is PAGED,
37
43
  * as a paged canvas pages its blocks: its rows come a window of resources at a
38
44
  * time as the canvas scrolls, through the payload's `paged`
@@ -47,7 +53,7 @@
47
53
  *
48
54
  * @packageDocumentation
49
55
  */
50
- import { ArrayType, BooleanType, DateTimeType, DictType, FunctionType, IntegerType, NullType, OptionType, StringType, StructType, type EastType, type ExprType } from "@elaraai/east";
56
+ import { ArrayType, BooleanType, DateTimeType, DictType, FunctionType, IntegerType, NullType, OptionType, SetType, StringType, StructType, type EastType, type ExprType } from "@elaraai/east";
51
57
  import { PlanEventKindType } from "../schedule/types.js";
52
58
  import type { ScheduleEventKind } from "../schedule/events.js";
53
59
  import type { ScheduleResourceKind } from "../schedule/resources.js";
@@ -59,16 +65,25 @@ import { type PlanDrawLiteral } from "./types.js";
59
65
  export declare const PlanEventDraftsType: DictType<StringType, DictType<StringType, import("@elaraai/east").BlobType>>;
60
66
  /** Type representing {@link PlanEventDraftsType}. */
61
67
  export type PlanEventDraftsType = typeof PlanEventDraftsType;
68
+ /**
69
+ * The resources the rail shows (#1344): by a resource kind's slot, the keys of
70
+ * the resources its source shows. A kind it does not name draws every resource.
71
+ */
72
+ export declare const PlanEventShownType: DictType<StringType, SetType<StringType>>;
73
+ /** Type representing {@link PlanEventShownType}. */
74
+ export type PlanEventShownType = typeof PlanEventShownType;
62
75
  /**
63
76
  * The resources' rows over a window, every event kind's drafts in place
64
77
  * (#1192): `(from, to, drafts by kind, then by entry id, the ids the viewer
65
- * hides)` → the canvas's blocks, `none` while a kind's read is in flight. The
66
- * hidden ids are the library's Series tab's (#1195): `resources.<slot>`,
67
- * `events.<slot>` and `measures.<key>` stay out, and the rest are not this
68
- * seam's. A paged resource kind's place (#1199) is an empty block that is not
69
- * fixed, which the payload's `paged` fills a window at a time.
78
+ * hides, the resources the rail shows)` → the canvas's blocks, `none` while a
79
+ * kind's read is in flight. The hidden ids are the library's Series tab's
80
+ * (#1195): `resources.<slot>`, `events.<slot>` and `measures.<key>` stay out,
81
+ * and the rest are not this seam's. A resource kind the shown resources name
82
+ * draws those alone (#1344). A paged resource kind's place (#1199) is an empty
83
+ * block that is not fixed, which the payload's `paged` fills a window at a
84
+ * time.
70
85
  */
71
- export declare const PlanEventBlocksType: FunctionType<[DateTimeType, DateTimeType, DictType<StringType, DictType<StringType, import("@elaraai/east").BlobType>>, ArrayType<StringType>], OptionType<ArrayType<StructType<{
86
+ export declare const PlanEventBlocksType: FunctionType<[DateTimeType, DateTimeType, DictType<StringType, DictType<StringType, import("@elaraai/east").BlobType>>, ArrayType<StringType>, DictType<StringType, SetType<StringType>>], OptionType<ArrayType<StructType<{
72
87
  readonly fixed: BooleanType;
73
88
  readonly parent: OptionType<import("@elaraai/east").VariantType<{
74
89
  readonly entry: StructType<{
@@ -1228,9 +1243,10 @@ export declare const PlanEventPlacedType: DictType<StringType, DictType<StringTy
1228
1243
  /** Type representing {@link PlanEventPlacedType}. */
1229
1244
  export type PlanEventPlacedType = typeof PlanEventPlacedType;
1230
1245
  /**
1231
- * The `blocks` seam (see the module docs): `(from, to, drafts, hidden)` → the
1232
- * resources' rows over `[from, to)`, every kind's drafts in place, what the
1233
- * viewer hides left out.
1246
+ * The `blocks` seam (see the module docs): `(from, to, drafts, hidden, shown)`
1247
+ * → the resources' rows over `[from, to)`, every kind's drafts in place, what
1248
+ * the viewer hides left out, and of a resource kind the rail narrows the
1249
+ * resources it shows.
1234
1250
  *
1235
1251
  * @remarks
1236
1252
  * Made inside the function that assembles the payload, so `built` is the