@elaraai/e3-ui 1.0.97 → 1.0.99

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 (491) hide show
  1. package/README.md +0 -2
  2. package/dist/src/allocation/adapters.d.ts +1 -1
  3. package/dist/src/allocation/adapters.js +1 -1
  4. package/dist/src/allocation/index.d.ts +232 -25
  5. package/dist/src/allocation/index.d.ts.map +1 -1
  6. package/dist/src/allocation/index.js +35 -6
  7. package/dist/src/allocation/index.js.map +1 -1
  8. package/dist/src/allocation/types.d.ts +41 -0
  9. package/dist/src/allocation/types.d.ts.map +1 -1
  10. package/dist/src/allocation/types.js +35 -0
  11. package/dist/src/allocation/types.js.map +1 -1
  12. package/dist/src/bind/data-indexed.d.ts +286 -37
  13. package/dist/src/bind/data-indexed.d.ts.map +1 -1
  14. package/dist/src/bind/data-indexed.js +259 -38
  15. package/dist/src/bind/data-indexed.js.map +1 -1
  16. package/dist/src/bind/data.d.ts +48 -9
  17. package/dist/src/bind/data.d.ts.map +1 -1
  18. package/dist/src/bind/data.js +48 -3
  19. package/dist/src/bind/data.js.map +1 -1
  20. package/dist/src/bind/record.d.ts +61 -24
  21. package/dist/src/bind/record.d.ts.map +1 -1
  22. package/dist/src/bind/record.js +17 -57
  23. package/dist/src/bind/record.js.map +1 -1
  24. package/dist/src/calendar/index.d.ts +522 -36
  25. package/dist/src/calendar/index.d.ts.map +1 -1
  26. package/dist/src/calendar/index.js +53 -13
  27. package/dist/src/calendar/index.js.map +1 -1
  28. package/dist/src/calendar/paged.d.ts +89 -0
  29. package/dist/src/calendar/paged.d.ts.map +1 -0
  30. package/dist/src/calendar/paged.js +148 -0
  31. package/dist/src/calendar/paged.js.map +1 -0
  32. package/dist/src/flowchart/index.d.ts +35 -31
  33. package/dist/src/flowchart/index.d.ts.map +1 -1
  34. package/dist/src/flowchart/index.js +35 -31
  35. package/dist/src/flowchart/index.js.map +1 -1
  36. package/dist/src/flowchart/library.d.ts +108 -84
  37. package/dist/src/flowchart/library.d.ts.map +1 -1
  38. package/dist/src/flowchart/library.js +108 -84
  39. package/dist/src/flowchart/library.js.map +1 -1
  40. package/dist/src/flowchart/payload.d.ts +105 -17
  41. package/dist/src/flowchart/payload.d.ts.map +1 -1
  42. package/dist/src/flowchart/payload.js +3 -3
  43. package/dist/src/flowchart/payload.js.map +1 -1
  44. package/dist/src/flowchart/values.d.ts +35 -31
  45. package/dist/src/flowchart/values.d.ts.map +1 -1
  46. package/dist/src/flowchart/values.js +35 -31
  47. package/dist/src/flowchart/values.js.map +1 -1
  48. package/dist/src/flowchart/window.d.ts.map +1 -1
  49. package/dist/src/flowchart/window.js +3 -2
  50. package/dist/src/flowchart/window.js.map +1 -1
  51. package/dist/src/index.d.ts +13 -4
  52. package/dist/src/index.d.ts.map +1 -1
  53. package/dist/src/index.js +20 -1
  54. package/dist/src/index.js.map +1 -1
  55. package/dist/src/internal.d.ts +18 -8
  56. package/dist/src/internal.d.ts.map +1 -1
  57. package/dist/src/internal.js +40 -10
  58. package/dist/src/internal.js.map +1 -1
  59. package/dist/src/plan/assemble.d.ts +8 -0
  60. package/dist/src/plan/assemble.d.ts.map +1 -1
  61. package/dist/src/plan/assemble.js +1 -1
  62. package/dist/src/plan/assemble.js.map +1 -1
  63. package/dist/src/plan/builders.d.ts +1530 -10
  64. package/dist/src/plan/builders.d.ts.map +1 -1
  65. package/dist/src/plan/builders.js +260 -122
  66. package/dist/src/plan/builders.js.map +1 -1
  67. package/dist/src/plan/event-rows.d.ts +224 -157
  68. package/dist/src/plan/event-rows.d.ts.map +1 -1
  69. package/dist/src/plan/event-rows.js +201 -56
  70. package/dist/src/plan/event-rows.js.map +1 -1
  71. package/dist/src/plan/factories.d.ts +72 -4
  72. package/dist/src/plan/factories.d.ts.map +1 -1
  73. package/dist/src/plan/factories.js +147 -1
  74. package/dist/src/plan/factories.js.map +1 -1
  75. package/dist/src/plan/index.d.ts +152 -125
  76. package/dist/src/plan/index.d.ts.map +1 -1
  77. package/dist/src/plan/index.js +138 -122
  78. package/dist/src/plan/index.js.map +1 -1
  79. package/dist/src/plan/ir.d.ts +1139 -8
  80. package/dist/src/plan/ir.d.ts.map +1 -1
  81. package/dist/src/plan/ir.js +5 -0
  82. package/dist/src/plan/ir.js.map +1 -1
  83. package/dist/src/plan/library.d.ts +65 -42
  84. package/dist/src/plan/library.d.ts.map +1 -1
  85. package/dist/src/plan/library.js +65 -42
  86. package/dist/src/plan/library.js.map +1 -1
  87. package/dist/src/plan/nested-checks.d.ts +146 -0
  88. package/dist/src/plan/nested-checks.d.ts.map +1 -0
  89. package/dist/src/plan/nested-checks.js +468 -0
  90. package/dist/src/plan/nested-checks.js.map +1 -0
  91. package/dist/src/plan/nested-patch.d.ts +35 -0
  92. package/dist/src/plan/nested-patch.d.ts.map +1 -0
  93. package/dist/src/plan/nested-patch.js +143 -0
  94. package/dist/src/plan/nested-patch.js.map +1 -0
  95. package/dist/src/plan/nested-read.d.ts +3250 -0
  96. package/dist/src/plan/nested-read.d.ts.map +1 -0
  97. package/dist/src/plan/nested-read.js +163 -0
  98. package/dist/src/plan/nested-read.js.map +1 -0
  99. package/dist/src/plan/nested.d.ts +280 -0
  100. package/dist/src/plan/nested.d.ts.map +1 -0
  101. package/dist/src/plan/nested.js +6 -0
  102. package/dist/src/plan/nested.js.map +1 -0
  103. package/dist/src/plan/ordered-source.d.ts +3067 -1
  104. package/dist/src/plan/ordered-source.d.ts.map +1 -1
  105. package/dist/src/plan/ordered-source.js +67 -17
  106. package/dist/src/plan/ordered-source.js.map +1 -1
  107. package/dist/src/plan/over.d.ts +111 -75
  108. package/dist/src/plan/over.d.ts.map +1 -1
  109. package/dist/src/plan/over.js +111 -75
  110. package/dist/src/plan/over.js.map +1 -1
  111. package/dist/src/plan/pick.d.ts +15 -3
  112. package/dist/src/plan/pick.d.ts.map +1 -1
  113. package/dist/src/plan/pick.js +75 -36
  114. package/dist/src/plan/pick.js.map +1 -1
  115. package/dist/src/plan/plan.d.ts +3143 -501
  116. package/dist/src/plan/plan.d.ts.map +1 -1
  117. package/dist/src/plan/plan.js +133 -34
  118. package/dist/src/plan/plan.js.map +1 -1
  119. package/dist/src/plan/reads.d.ts +421 -0
  120. package/dist/src/plan/reads.d.ts.map +1 -0
  121. package/dist/src/plan/reads.js +143 -0
  122. package/dist/src/plan/reads.js.map +1 -0
  123. package/dist/src/plan/refs.d.ts +111 -75
  124. package/dist/src/plan/refs.d.ts.map +1 -1
  125. package/dist/src/plan/refs.js +111 -75
  126. package/dist/src/plan/refs.js.map +1 -1
  127. package/dist/src/plan/root.d.ts +14 -7
  128. package/dist/src/plan/root.d.ts.map +1 -1
  129. package/dist/src/plan/root.js +82 -17
  130. package/dist/src/plan/root.js.map +1 -1
  131. package/dist/src/plan/series.d.ts +5153 -4331
  132. package/dist/src/plan/series.d.ts.map +1 -1
  133. package/dist/src/plan/series.js +1082 -266
  134. package/dist/src/plan/series.js.map +1 -1
  135. package/dist/src/plan/shade.d.ts +981 -0
  136. package/dist/src/plan/shade.d.ts.map +1 -0
  137. package/dist/src/plan/shade.js +60 -0
  138. package/dist/src/plan/shade.js.map +1 -0
  139. package/dist/src/plan/types.d.ts +192 -18
  140. package/dist/src/plan/types.d.ts.map +1 -1
  141. package/dist/src/plan/types.js +77 -19
  142. package/dist/src/plan/types.js.map +1 -1
  143. package/dist/src/query/builder.d.ts +3 -3
  144. package/dist/src/query/builder.d.ts.map +1 -1
  145. package/dist/src/query/builder.js +1 -1
  146. package/dist/src/query/library.d.ts +3 -3
  147. package/dist/src/query/library.d.ts.map +1 -1
  148. package/dist/src/query/library.js +1 -1
  149. package/dist/src/query/queries.d.ts +2 -2
  150. package/dist/src/query/queries.js +1 -1
  151. package/dist/src/query/saved.d.ts +8 -4
  152. package/dist/src/query/saved.d.ts.map +1 -1
  153. package/dist/src/query/saved.js +8 -4
  154. package/dist/src/query/saved.js.map +1 -1
  155. package/dist/src/query/types.d.ts +8 -3
  156. package/dist/src/query/types.d.ts.map +1 -1
  157. package/dist/src/query/types.js +8 -3
  158. package/dist/src/query/types.js.map +1 -1
  159. package/dist/src/roster/index.d.ts +583 -39
  160. package/dist/src/roster/index.d.ts.map +1 -1
  161. package/dist/src/roster/index.js +109 -35
  162. package/dist/src/roster/index.js.map +1 -1
  163. package/dist/src/roster/library.d.ts +12 -2
  164. package/dist/src/roster/library.d.ts.map +1 -1
  165. package/dist/src/roster/library.js +8 -0
  166. package/dist/src/roster/library.js.map +1 -1
  167. package/dist/src/roster/lists.d.ts +59 -12
  168. package/dist/src/roster/lists.d.ts.map +1 -1
  169. package/dist/src/roster/lists.js +51 -58
  170. package/dist/src/roster/lists.js.map +1 -1
  171. package/dist/src/roster/targets.d.ts +8 -4
  172. package/dist/src/roster/targets.d.ts.map +1 -1
  173. package/dist/src/roster/targets.js +9 -5
  174. package/dist/src/roster/targets.js.map +1 -1
  175. package/dist/src/roster/times.d.ts +402 -0
  176. package/dist/src/roster/times.d.ts.map +1 -1
  177. package/dist/src/roster/types.d.ts +913 -1
  178. package/dist/src/roster/types.d.ts.map +1 -1
  179. package/dist/src/roster/types.js +43 -3
  180. package/dist/src/roster/types.js.map +1 -1
  181. package/dist/src/schedule/cell-checks.d.ts +85 -0
  182. package/dist/src/schedule/cell-checks.d.ts.map +1 -0
  183. package/dist/src/schedule/cell-checks.js +211 -0
  184. package/dist/src/schedule/cell-checks.js.map +1 -0
  185. package/dist/src/schedule/days.d.ts +1 -1
  186. package/dist/src/schedule/days.js +1 -1
  187. package/dist/src/schedule/events.d.ts +52 -16
  188. package/dist/src/schedule/events.d.ts.map +1 -1
  189. package/dist/src/schedule/events.js +574 -356
  190. package/dist/src/schedule/events.js.map +1 -1
  191. package/dist/src/schedule/fields.d.ts +134 -0
  192. package/dist/src/schedule/fields.d.ts.map +1 -0
  193. package/dist/src/schedule/fields.js +207 -0
  194. package/dist/src/schedule/fields.js.map +1 -0
  195. package/dist/src/schedule/library.d.ts +11 -3
  196. package/dist/src/schedule/library.d.ts.map +1 -1
  197. package/dist/src/schedule/library.js +9 -6
  198. package/dist/src/schedule/library.js.map +1 -1
  199. package/dist/src/schedule/optimise.d.ts +124 -0
  200. package/dist/src/schedule/optimise.d.ts.map +1 -0
  201. package/dist/src/schedule/optimise.js +140 -0
  202. package/dist/src/schedule/optimise.js.map +1 -0
  203. package/dist/src/schedule/pages.d.ts +76 -0
  204. package/dist/src/schedule/pages.d.ts.map +1 -0
  205. package/dist/src/schedule/pages.js +86 -0
  206. package/dist/src/schedule/pages.js.map +1 -0
  207. package/dist/src/schedule/patch.d.ts +1 -1
  208. package/dist/src/schedule/patch.js +1 -1
  209. package/dist/src/schedule/periods.d.ts +8 -4
  210. package/dist/src/schedule/periods.d.ts.map +1 -1
  211. package/dist/src/schedule/periods.js +1 -1
  212. package/dist/src/schedule/periods.js.map +1 -1
  213. package/dist/src/schedule/record-window.d.ts +115 -22
  214. package/dist/src/schedule/record-window.d.ts.map +1 -1
  215. package/dist/src/schedule/record-window.js +140 -62
  216. package/dist/src/schedule/record-window.js.map +1 -1
  217. package/dist/src/schedule/resources.d.ts +9 -5
  218. package/dist/src/schedule/resources.d.ts.map +1 -1
  219. package/dist/src/schedule/resources.js +35 -15
  220. package/dist/src/schedule/resources.js.map +1 -1
  221. package/dist/src/schedule/session.d.ts +15 -1
  222. package/dist/src/schedule/session.d.ts.map +1 -1
  223. package/dist/src/schedule/session.js +30 -18
  224. package/dist/src/schedule/session.js.map +1 -1
  225. package/dist/src/schedule/types.d.ts +455 -37
  226. package/dist/src/schedule/types.d.ts.map +1 -1
  227. package/dist/src/schedule/types.js +79 -18
  228. package/dist/src/schedule/types.js.map +1 -1
  229. package/dist/src/schedule/window.d.ts +30 -9
  230. package/dist/src/schedule/window.d.ts.map +1 -1
  231. package/dist/src/schedule/window.js +101 -49
  232. package/dist/src/schedule/window.js.map +1 -1
  233. package/dist/src/schematic/index.d.ts +287 -0
  234. package/dist/src/schematic/index.d.ts.map +1 -0
  235. package/dist/src/schematic/index.js +216 -0
  236. package/dist/src/schematic/index.js.map +1 -0
  237. package/dist/src/schematic/kinds.d.ts +501 -0
  238. package/dist/src/schematic/kinds.d.ts.map +1 -0
  239. package/dist/src/schematic/kinds.js +1027 -0
  240. package/dist/src/schematic/kinds.js.map +1 -0
  241. package/dist/src/schematic/layers.d.ts +74 -0
  242. package/dist/src/schematic/layers.d.ts.map +1 -0
  243. package/dist/src/schematic/layers.js +99 -0
  244. package/dist/src/schematic/layers.js.map +1 -0
  245. package/dist/src/schematic/library.d.ts +202 -0
  246. package/dist/src/schematic/library.d.ts.map +1 -0
  247. package/dist/src/schematic/library.js +244 -0
  248. package/dist/src/schematic/library.js.map +1 -0
  249. package/dist/src/schematic/payload.d.ts +8310 -0
  250. package/dist/src/schematic/payload.d.ts.map +1 -0
  251. package/dist/src/schematic/payload.js +446 -0
  252. package/dist/src/schematic/payload.js.map +1 -0
  253. package/dist/src/schematic/schematic.d.ts +27 -0
  254. package/dist/src/schematic/schematic.d.ts.map +1 -0
  255. package/dist/src/schematic/schematic.js +17 -0
  256. package/dist/src/schematic/schematic.js.map +1 -0
  257. package/dist/src/schematic/shapes.d.ts +150 -0
  258. package/dist/src/schematic/shapes.d.ts.map +1 -0
  259. package/dist/src/schematic/shapes.js +171 -0
  260. package/dist/src/schematic/shapes.js.map +1 -0
  261. package/dist/src/schematic/templates.d.ts +96 -0
  262. package/dist/src/schematic/templates.d.ts.map +1 -0
  263. package/dist/src/schematic/templates.js +91 -0
  264. package/dist/src/schematic/templates.js.map +1 -0
  265. package/dist/src/schematic/types.d.ts +5766 -0
  266. package/dist/src/schematic/types.d.ts.map +1 -0
  267. package/dist/src/schematic/types.js +688 -0
  268. package/dist/src/schematic/types.js.map +1 -0
  269. package/dist/src/schematic/window.d.ts +213 -0
  270. package/dist/src/schematic/window.d.ts.map +1 -0
  271. package/dist/src/schematic/window.js +340 -0
  272. package/dist/src/schematic/window.js.map +1 -0
  273. package/dist/src/sheet/bridge.d.ts +19 -0
  274. package/dist/src/sheet/bridge.d.ts.map +1 -1
  275. package/dist/src/sheet/bridge.js +28 -21
  276. package/dist/src/sheet/bridge.js.map +1 -1
  277. package/dist/src/sheet/editing-bridge.d.ts +4 -2
  278. package/dist/src/sheet/editing-bridge.d.ts.map +1 -1
  279. package/dist/src/sheet/editing-bridge.js +8 -2
  280. package/dist/src/sheet/editing-bridge.js.map +1 -1
  281. package/dist/src/sheet/editing-types.d.ts +9 -5
  282. package/dist/src/sheet/editing-types.d.ts.map +1 -1
  283. package/dist/src/sheet/editing-types.js +9 -5
  284. package/dist/src/sheet/editing-types.js.map +1 -1
  285. package/dist/src/sheet/index.d.ts +84 -54
  286. package/dist/src/sheet/index.d.ts.map +1 -1
  287. package/dist/src/sheet/index.js +81 -53
  288. package/dist/src/sheet/index.js.map +1 -1
  289. package/dist/src/sheet/library.d.ts +13 -8
  290. package/dist/src/sheet/library.d.ts.map +1 -1
  291. package/dist/src/sheet/library.js +13 -8
  292. package/dist/src/sheet/library.js.map +1 -1
  293. package/dist/src/sheet/optimise.d.ts +69 -0
  294. package/dist/src/sheet/optimise.d.ts.map +1 -0
  295. package/dist/src/sheet/optimise.js +81 -0
  296. package/dist/src/sheet/optimise.js.map +1 -0
  297. package/dist/src/sheet/record.d.ts +1 -1
  298. package/dist/src/sheet/record.js +2 -2
  299. package/dist/src/sheet/record.js.map +1 -1
  300. package/dist/src/sheet/registers.d.ts +157 -133
  301. package/dist/src/sheet/registers.d.ts.map +1 -1
  302. package/dist/src/sheet/registers.js +157 -133
  303. package/dist/src/sheet/registers.js.map +1 -1
  304. package/dist/src/sheet/root.d.ts +6 -1
  305. package/dist/src/sheet/root.d.ts.map +1 -1
  306. package/dist/src/sheet/root.js +17 -5
  307. package/dist/src/sheet/root.js.map +1 -1
  308. package/dist/src/sheet/sheet.d.ts +696 -590
  309. package/dist/src/sheet/sheet.d.ts.map +1 -1
  310. package/dist/src/sheet/sheet.js +49 -15
  311. package/dist/src/sheet/sheet.js.map +1 -1
  312. package/dist/src/sheet/sub-rows.d.ts +106 -76
  313. package/dist/src/sheet/sub-rows.d.ts.map +1 -1
  314. package/dist/src/sheet/sub-rows.js +106 -76
  315. package/dist/src/sheet/sub-rows.js.map +1 -1
  316. package/dist/src/sheet/types.d.ts +57 -20
  317. package/dist/src/sheet/types.d.ts.map +1 -1
  318. package/dist/src/sheet/types.js +4 -8
  319. package/dist/src/sheet/types.js.map +1 -1
  320. package/dist/src/studio/builder.d.ts +3 -153
  321. package/dist/src/studio/builder.d.ts.map +1 -1
  322. package/dist/src/studio/builder.js +1 -1
  323. package/dist/src/studio/canvas.d.ts +5 -4
  324. package/dist/src/studio/canvas.d.ts.map +1 -1
  325. package/dist/src/studio/canvas.js +8 -7
  326. package/dist/src/studio/canvas.js.map +1 -1
  327. package/dist/src/studio/component.d.ts +30 -20
  328. package/dist/src/studio/component.d.ts.map +1 -1
  329. package/dist/src/studio/component.js +26 -61
  330. package/dist/src/studio/component.js.map +1 -1
  331. package/dist/src/studio/index.d.ts +2 -2
  332. package/dist/src/studio/index.d.ts.map +1 -1
  333. package/dist/src/studio/index.js +1 -1
  334. package/dist/src/studio/index.js.map +1 -1
  335. package/dist/src/studio/inspector.d.ts +10 -39
  336. package/dist/src/studio/inspector.d.ts.map +1 -1
  337. package/dist/src/studio/inspector.js +11 -31
  338. package/dist/src/studio/inspector.js.map +1 -1
  339. package/dist/src/studio/library.d.ts +3 -169
  340. package/dist/src/studio/library.d.ts.map +1 -1
  341. package/dist/src/studio/library.js +1 -1
  342. package/dist/src/studio/page.d.ts +0 -8
  343. package/dist/src/studio/page.d.ts.map +1 -1
  344. package/dist/src/studio/pages.d.ts +17 -591
  345. package/dist/src/studio/pages.d.ts.map +1 -1
  346. package/dist/src/studio/pages.js +17 -44
  347. package/dist/src/studio/pages.js.map +1 -1
  348. package/dist/src/studio/palette.d.ts +2 -7
  349. package/dist/src/studio/palette.d.ts.map +1 -1
  350. package/dist/src/studio/palette.js +4 -5
  351. package/dist/src/studio/palette.js.map +1 -1
  352. package/dist/src/studio/publish.d.ts +8 -18
  353. package/dist/src/studio/publish.d.ts.map +1 -1
  354. package/dist/src/studio/publish.js +10 -36
  355. package/dist/src/studio/publish.js.map +1 -1
  356. package/dist/src/utils/derive.d.ts +12 -12
  357. package/dist/src/utils/derive.d.ts.map +1 -1
  358. package/dist/src/utils/derive.js +5 -2
  359. package/dist/src/utils/derive.js.map +1 -1
  360. package/dist/src/utils/keyed-rows.d.ts +41 -0
  361. package/dist/src/utils/keyed-rows.d.ts.map +1 -0
  362. package/dist/src/utils/keyed-rows.js +64 -0
  363. package/dist/src/utils/keyed-rows.js.map +1 -0
  364. package/dist/src/utils/optimise.d.ts +79 -0
  365. package/dist/src/utils/optimise.d.ts.map +1 -0
  366. package/dist/src/utils/optimise.js +46 -0
  367. package/dist/src/utils/optimise.js.map +1 -0
  368. package/dist/src/utils/ordered-source.d.ts.map +1 -1
  369. package/dist/src/utils/ordered-source.js +14 -5
  370. package/dist/src/utils/ordered-source.js.map +1 -1
  371. package/dist/test/allocation/allocation.examples.d.ts +1900 -1610
  372. package/dist/test/allocation/allocation.examples.d.ts.map +1 -1
  373. package/dist/test/allocation/allocation.examples.js +179 -89
  374. package/dist/test/allocation/allocation.examples.js.map +1 -1
  375. package/dist/test/allocation/optimise.examples.d.ts +109 -0
  376. package/dist/test/allocation/optimise.examples.d.ts.map +1 -0
  377. package/dist/test/allocation/optimise.examples.js +223 -0
  378. package/dist/test/allocation/optimise.examples.js.map +1 -0
  379. package/dist/test/bind/data/data.examples.d.ts +1172 -514
  380. package/dist/test/bind/data/data.examples.d.ts.map +1 -1
  381. package/dist/test/bind/data/data.examples.js +284 -164
  382. package/dist/test/bind/data/data.examples.js.map +1 -1
  383. package/dist/test/bind/record/record.examples.d.ts +457 -428
  384. package/dist/test/bind/record/record.examples.d.ts.map +1 -1
  385. package/dist/test/bind/record/record.examples.js +41 -21
  386. package/dist/test/bind/record/record.examples.js.map +1 -1
  387. package/dist/test/calendar/calendar-records.examples.d.ts +162 -170
  388. package/dist/test/calendar/calendar-records.examples.d.ts.map +1 -1
  389. package/dist/test/calendar/calendar-records.examples.js +20 -12
  390. package/dist/test/calendar/calendar-records.examples.js.map +1 -1
  391. package/dist/test/calendar/calendar-windows.examples.d.ts +9 -0
  392. package/dist/test/calendar/calendar-windows.examples.d.ts.map +1 -0
  393. package/dist/test/calendar/calendar-windows.examples.js +111 -0
  394. package/dist/test/calendar/calendar-windows.examples.js.map +1 -0
  395. package/dist/test/calendar/calendar.examples.d.ts +1172 -915
  396. package/dist/test/calendar/calendar.examples.d.ts.map +1 -1
  397. package/dist/test/calendar/calendar.examples.js +211 -124
  398. package/dist/test/calendar/calendar.examples.js.map +1 -1
  399. package/dist/test/calendar/optimise.examples.d.ts +132 -0
  400. package/dist/test/calendar/optimise.examples.d.ts.map +1 -0
  401. package/dist/test/calendar/optimise.examples.js +75 -0
  402. package/dist/test/calendar/optimise.examples.js.map +1 -0
  403. package/dist/test/examples-package.d.ts +49 -16
  404. package/dist/test/examples-package.d.ts.map +1 -1
  405. package/dist/test/examples-package.js +138 -49
  406. package/dist/test/examples-package.js.map +1 -1
  407. package/dist/test/flowchart/flowchart.examples.d.ts +3841 -2840
  408. package/dist/test/flowchart/flowchart.examples.d.ts.map +1 -1
  409. package/dist/test/flowchart/flowchart.examples.js +211 -121
  410. package/dist/test/flowchart/flowchart.examples.js.map +1 -1
  411. package/dist/test/plan/optimise.examples.d.ts +207 -0
  412. package/dist/test/plan/optimise.examples.d.ts.map +1 -0
  413. package/dist/test/plan/optimise.examples.js +98 -0
  414. package/dist/test/plan/optimise.examples.js.map +1 -0
  415. package/dist/test/plan/plan-events.examples.d.ts +4055 -3279
  416. package/dist/test/plan/plan-events.examples.d.ts.map +1 -1
  417. package/dist/test/plan/plan-events.examples.js +492 -319
  418. package/dist/test/plan/plan-events.examples.js.map +1 -1
  419. package/dist/test/plan/plan-nested.examples.d.ts +1829 -0
  420. package/dist/test/plan/plan-nested.examples.d.ts.map +1 -0
  421. package/dist/test/plan/plan-nested.examples.js +321 -0
  422. package/dist/test/plan/plan-nested.examples.js.map +1 -0
  423. package/dist/test/plan/plan-records.examples.d.ts +391 -244
  424. package/dist/test/plan/plan-records.examples.d.ts.map +1 -1
  425. package/dist/test/plan/plan-records.examples.js +186 -65
  426. package/dist/test/plan/plan-records.examples.js.map +1 -1
  427. package/dist/test/plan/plan-windows.examples.d.ts +1978 -803
  428. package/dist/test/plan/plan-windows.examples.d.ts.map +1 -1
  429. package/dist/test/plan/plan-windows.examples.js +269 -99
  430. package/dist/test/plan/plan-windows.examples.js.map +1 -1
  431. package/dist/test/plan/plan.examples.d.ts +2238 -5726
  432. package/dist/test/plan/plan.examples.d.ts.map +1 -1
  433. package/dist/test/plan/plan.examples.js +846 -973
  434. package/dist/test/plan/plan.examples.js.map +1 -1
  435. package/dist/test/query/query.examples.d.ts +5221 -3005
  436. package/dist/test/query/query.examples.d.ts.map +1 -1
  437. package/dist/test/query/query.examples.js +169 -118
  438. package/dist/test/query/query.examples.js.map +1 -1
  439. package/dist/test/roster/domain.examples.d.ts +804 -0
  440. package/dist/test/roster/domain.examples.d.ts.map +1 -1
  441. package/dist/test/roster/domain.examples.js +3 -3
  442. package/dist/test/roster/domain.examples.js.map +1 -1
  443. package/dist/test/roster/optimise.examples.d.ts +485 -0
  444. package/dist/test/roster/optimise.examples.d.ts.map +1 -0
  445. package/dist/test/roster/optimise.examples.js +155 -0
  446. package/dist/test/roster/optimise.examples.js.map +1 -0
  447. package/dist/test/roster/roster-records.examples.d.ts +364 -404
  448. package/dist/test/roster/roster-records.examples.d.ts.map +1 -1
  449. package/dist/test/roster/roster-records.examples.js +40 -26
  450. package/dist/test/roster/roster-records.examples.js.map +1 -1
  451. package/dist/test/roster/roster.examples.d.ts +5091 -1424
  452. package/dist/test/roster/roster.examples.d.ts.map +1 -1
  453. package/dist/test/roster/roster.examples.js +255 -109
  454. package/dist/test/roster/roster.examples.js.map +1 -1
  455. package/dist/test/roster/warehouse.d.ts +150 -7
  456. package/dist/test/roster/warehouse.d.ts.map +1 -1
  457. package/dist/test/roster/warehouse.js +36 -11
  458. package/dist/test/roster/warehouse.js.map +1 -1
  459. package/dist/test/schedule/schedule.examples.d.ts +2646 -2473
  460. package/dist/test/schedule/schedule.examples.d.ts.map +1 -1
  461. package/dist/test/schedule/schedule.examples.js +144 -88
  462. package/dist/test/schedule/schedule.examples.js.map +1 -1
  463. package/dist/test/schematic/schematic-records.examples.d.ts +454 -0
  464. package/dist/test/schematic/schematic-records.examples.d.ts.map +1 -0
  465. package/dist/test/schematic/schematic-records.examples.js +219 -0
  466. package/dist/test/schematic/schematic-records.examples.js.map +1 -0
  467. package/dist/test/schematic/schematic.examples.d.ts +2640 -0
  468. package/dist/test/schematic/schematic.examples.d.ts.map +1 -0
  469. package/dist/test/schematic/schematic.examples.js +559 -0
  470. package/dist/test/schematic/schematic.examples.js.map +1 -0
  471. package/dist/test/sheet/optimise.examples.d.ts +184 -0
  472. package/dist/test/sheet/optimise.examples.d.ts.map +1 -0
  473. package/dist/test/sheet/optimise.examples.js +79 -0
  474. package/dist/test/sheet/optimise.examples.js.map +1 -0
  475. package/dist/test/sheet/sheet-records.examples.d.ts +208 -356
  476. package/dist/test/sheet/sheet-records.examples.d.ts.map +1 -1
  477. package/dist/test/sheet/sheet-records.examples.js +66 -29
  478. package/dist/test/sheet/sheet-records.examples.js.map +1 -1
  479. package/dist/test/sheet/sheet.examples.d.ts +3650 -3377
  480. package/dist/test/sheet/sheet.examples.d.ts.map +1 -1
  481. package/dist/test/sheet/sheet.examples.js +406 -296
  482. package/dist/test/sheet/sheet.examples.js.map +1 -1
  483. package/dist/test/studio/component.examples.js +2 -2
  484. package/dist/test/studio/component.examples.js.map +1 -1
  485. package/dist/test/studio/page.examples.js +6 -6
  486. package/dist/test/studio/page.examples.js.map +1 -1
  487. package/dist/test/studio/studio.examples.d.ts +2329 -873
  488. package/dist/test/studio/studio.examples.d.ts.map +1 -1
  489. package/dist/test/studio/studio.examples.js +155 -107
  490. package/dist/test/studio/studio.examples.js.map +1 -1
  491. package/package.json +15 -11
@@ -3,22 +3,20 @@
3
3
  * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
4
  */
5
5
  /** @jsxImportSource @elaraai/e3-ui */
6
- import { ArrayType, DateTimeType, DictType, FloatType, IntegerType, OptionType, StringType, StructType } from "@elaraai/east";
7
- /** A job dropped on a press: a decision at the bucket it landed in. */
6
+ import { DateTimeType, DictType, FloatType, IntegerType, OptionType, StringType, StructType, variant } from "@elaraai/east";
7
+ /** A job dropped on a press, under its id: a mark at the bucket it landed in. */
8
8
  export declare const PlanPressJob: StructType<{
9
- readonly key: StringType;
10
9
  readonly at: import("@elaraai/east").VariantType<{
11
10
  readonly time: DateTimeType;
12
11
  readonly number: FloatType;
13
12
  readonly ordinal: StringType;
14
13
  }>;
15
14
  }>;
16
- /** A press: its name, the crew that runs it (none yet), and the jobs dropped on it. */
15
+ /** A press: its name, the crew that runs it (none yet), and the jobs dropped on it, by their ids (#1436). */
17
16
  export declare const PlanPress: StructType<{
18
17
  readonly label: StringType;
19
18
  readonly crew: OptionType<StringType>;
20
- readonly jobs: ArrayType<StructType<{
21
- readonly key: StringType;
19
+ readonly jobs: DictType<StringType, StructType<{
22
20
  readonly at: import("@elaraai/east").VariantType<{
23
21
  readonly time: DateTimeType;
24
22
  readonly number: FloatType;
@@ -30,152 +28,91 @@ export declare const PlanPress: StructType<{
30
28
  export declare const planPresses: import("@elaraai/e3").RecordDef<DictType<StringType, StructType<{
31
29
  readonly label: StringType;
32
30
  readonly crew: OptionType<StringType>;
33
- readonly jobs: ArrayType<StructType<{
34
- readonly key: StringType;
31
+ readonly jobs: DictType<StringType, StructType<{
35
32
  readonly at: import("@elaraai/east").VariantType<{
36
33
  readonly time: DateTimeType;
37
34
  readonly number: FloatType;
38
35
  readonly ordinal: StringType;
39
36
  }>;
40
37
  }>>;
41
- }>>, [import("@elaraai/east").variant<"field", "records">, import("@elaraai/east").variant<"field", "plan_presses">]>;
42
- /** The presses' patch door: a canvas's Save commits through it. */
43
- export declare const planPressesPatch: import("@elaraai/e3").MutationDef<"patch", DictType<StringType, StructType<{
38
+ }>>, [variant<"field", "records">, variant<"field", "plan_presses">], import("@elaraai/e3").IndexesOf<Record<never, never>, DictType<StringType, StructType<{
44
39
  readonly label: StringType;
45
40
  readonly crew: OptionType<StringType>;
46
- readonly jobs: ArrayType<StructType<{
47
- readonly key: StringType;
41
+ readonly jobs: DictType<StringType, StructType<{
48
42
  readonly at: import("@elaraai/east").VariantType<{
49
43
  readonly time: DateTimeType;
50
44
  readonly number: FloatType;
51
45
  readonly ordinal: StringType;
52
46
  }>;
53
47
  }>>;
54
- }>>, [import("@elaraai/east").VariantType<{
55
- unchanged: import("@elaraai/east").NullType;
56
- replace: StructType<{
57
- before: DictType<StringType, StructType<{
58
- readonly label: StringType;
59
- readonly crew: OptionType<StringType>;
60
- readonly jobs: ArrayType<StructType<{
61
- readonly key: StringType;
62
- readonly at: import("@elaraai/east").VariantType<{
63
- readonly time: DateTimeType;
64
- readonly number: FloatType;
65
- readonly ordinal: StringType;
66
- }>;
67
- }>>;
68
- }>>;
69
- after: DictType<StringType, StructType<{
70
- readonly label: StringType;
71
- readonly crew: OptionType<StringType>;
72
- readonly jobs: ArrayType<StructType<{
73
- readonly key: StringType;
74
- readonly at: import("@elaraai/east").VariantType<{
75
- readonly time: DateTimeType;
76
- readonly number: FloatType;
77
- readonly ordinal: StringType;
78
- }>;
79
- }>>;
80
- }>>;
81
- }>;
82
- patch: DictType<StringType, import("@elaraai/east").VariantType<{
83
- delete: StructType<{
84
- readonly label: StringType;
85
- readonly crew: OptionType<StringType>;
86
- readonly jobs: ArrayType<StructType<{
87
- readonly key: StringType;
88
- readonly at: import("@elaraai/east").VariantType<{
89
- readonly time: DateTimeType;
90
- readonly number: FloatType;
91
- readonly ordinal: StringType;
92
- }>;
48
+ }>>>, import("@elaraai/e3").MutationsOf<{
49
+ patch: import("@elaraai/e3").MutationDraft<[import("@elaraai/east").VariantType<{
50
+ unchanged: import("@elaraai/east").NullType;
51
+ replace: StructType<{
52
+ before: DictType<StringType, StructType<{
53
+ readonly label: StringType;
54
+ readonly crew: OptionType<StringType>;
55
+ readonly jobs: DictType<StringType, StructType<{
56
+ readonly at: import("@elaraai/east").VariantType<{
57
+ readonly time: DateTimeType;
58
+ readonly number: FloatType;
59
+ readonly ordinal: StringType;
60
+ }>;
61
+ }>>;
93
62
  }>>;
94
- }>;
95
- insert: StructType<{
96
- readonly label: StringType;
97
- readonly crew: OptionType<StringType>;
98
- readonly jobs: ArrayType<StructType<{
99
- readonly key: StringType;
100
- readonly at: import("@elaraai/east").VariantType<{
101
- readonly time: DateTimeType;
102
- readonly number: FloatType;
103
- readonly ordinal: StringType;
104
- }>;
63
+ after: DictType<StringType, StructType<{
64
+ readonly label: StringType;
65
+ readonly crew: OptionType<StringType>;
66
+ readonly jobs: DictType<StringType, StructType<{
67
+ readonly at: import("@elaraai/east").VariantType<{
68
+ readonly time: DateTimeType;
69
+ readonly number: FloatType;
70
+ readonly ordinal: StringType;
71
+ }>;
72
+ }>>;
105
73
  }>>;
106
74
  }>;
107
- update: import("@elaraai/east").VariantType<{
108
- unchanged: import("@elaraai/east").NullType;
109
- replace: StructType<{
110
- before: StructType<{
111
- readonly label: StringType;
112
- readonly crew: OptionType<StringType>;
113
- readonly jobs: ArrayType<StructType<{
114
- readonly key: StringType;
115
- readonly at: import("@elaraai/east").VariantType<{
116
- readonly time: DateTimeType;
117
- readonly number: FloatType;
118
- readonly ordinal: StringType;
119
- }>;
120
- }>>;
121
- }>;
122
- after: StructType<{
123
- readonly label: StringType;
124
- readonly crew: OptionType<StringType>;
125
- readonly jobs: ArrayType<StructType<{
126
- readonly key: StringType;
127
- readonly at: import("@elaraai/east").VariantType<{
128
- readonly time: DateTimeType;
129
- readonly number: FloatType;
130
- readonly ordinal: StringType;
131
- }>;
132
- }>>;
133
- }>;
134
- }>;
135
- patch: StructType<{
136
- readonly label: import("@elaraai/east").VariantType<{
137
- unchanged: import("@elaraai/east").NullType;
138
- replace: StructType<{
139
- before: StringType;
140
- after: StringType;
141
- }>;
142
- }>;
143
- readonly crew: import("@elaraai/east").VariantType<{
144
- unchanged: import("@elaraai/east").NullType;
145
- replace: StructType<{
146
- before: OptionType<StringType>;
147
- after: OptionType<StringType>;
75
+ patch: DictType<StringType, import("@elaraai/east").VariantType<{
76
+ delete: StructType<{
77
+ readonly label: StringType;
78
+ readonly crew: OptionType<StringType>;
79
+ readonly jobs: DictType<StringType, StructType<{
80
+ readonly at: import("@elaraai/east").VariantType<{
81
+ readonly time: DateTimeType;
82
+ readonly number: FloatType;
83
+ readonly ordinal: StringType;
148
84
  }>;
149
- patch: import("@elaraai/east").VariantType<{
150
- none: import("@elaraai/east").VariantType<{
151
- unchanged: import("@elaraai/east").NullType;
152
- replace: StructType<{
153
- before: import("@elaraai/east").NullType;
154
- after: import("@elaraai/east").NullType;
155
- }>;
156
- }>;
157
- some: import("@elaraai/east").VariantType<{
158
- unchanged: import("@elaraai/east").NullType;
159
- replace: StructType<{
160
- before: StringType;
161
- after: StringType;
162
- }>;
163
- }>;
85
+ }>>;
86
+ }>;
87
+ insert: StructType<{
88
+ readonly label: StringType;
89
+ readonly crew: OptionType<StringType>;
90
+ readonly jobs: DictType<StringType, StructType<{
91
+ readonly at: import("@elaraai/east").VariantType<{
92
+ readonly time: DateTimeType;
93
+ readonly number: FloatType;
94
+ readonly ordinal: StringType;
164
95
  }>;
165
- }>;
166
- readonly jobs: import("@elaraai/east").VariantType<{
167
- unchanged: import("@elaraai/east").NullType;
168
- replace: StructType<{
169
- before: ArrayType<StructType<{
170
- readonly key: StringType;
96
+ }>>;
97
+ }>;
98
+ update: import("@elaraai/east").VariantType<{
99
+ unchanged: import("@elaraai/east").NullType;
100
+ replace: StructType<{
101
+ before: StructType<{
102
+ readonly label: StringType;
103
+ readonly crew: OptionType<StringType>;
104
+ readonly jobs: DictType<StringType, StructType<{
171
105
  readonly at: import("@elaraai/east").VariantType<{
172
106
  readonly time: DateTimeType;
173
107
  readonly number: FloatType;
174
108
  readonly ordinal: StringType;
175
109
  }>;
176
110
  }>>;
177
- after: ArrayType<StructType<{
178
- readonly key: StringType;
111
+ }>;
112
+ after: StructType<{
113
+ readonly label: StringType;
114
+ readonly crew: OptionType<StringType>;
115
+ readonly jobs: DictType<StringType, StructType<{
179
116
  readonly at: import("@elaraai/east").VariantType<{
180
117
  readonly time: DateTimeType;
181
118
  readonly number: FloatType;
@@ -183,12 +120,58 @@ export declare const planPressesPatch: import("@elaraai/e3").MutationDef<"patch"
183
120
  }>;
184
121
  }>>;
185
122
  }>;
186
- patch: ArrayType<StructType<{
187
- key: IntegerType;
188
- offset: IntegerType;
189
- operation: import("@elaraai/east").VariantType<{
123
+ }>;
124
+ patch: StructType<{
125
+ readonly label: import("@elaraai/east").VariantType<{
126
+ unchanged: import("@elaraai/east").NullType;
127
+ replace: StructType<{
128
+ before: StringType;
129
+ after: StringType;
130
+ }>;
131
+ }>;
132
+ readonly crew: import("@elaraai/east").VariantType<{
133
+ unchanged: import("@elaraai/east").NullType;
134
+ replace: StructType<{
135
+ before: OptionType<StringType>;
136
+ after: OptionType<StringType>;
137
+ }>;
138
+ patch: import("@elaraai/east").VariantType<{
139
+ none: import("@elaraai/east").VariantType<{
140
+ unchanged: import("@elaraai/east").NullType;
141
+ replace: StructType<{
142
+ before: import("@elaraai/east").NullType;
143
+ after: import("@elaraai/east").NullType;
144
+ }>;
145
+ }>;
146
+ some: import("@elaraai/east").VariantType<{
147
+ unchanged: import("@elaraai/east").NullType;
148
+ replace: StructType<{
149
+ before: StringType;
150
+ after: StringType;
151
+ }>;
152
+ }>;
153
+ }>;
154
+ }>;
155
+ readonly jobs: import("@elaraai/east").VariantType<{
156
+ unchanged: import("@elaraai/east").NullType;
157
+ replace: StructType<{
158
+ before: DictType<StringType, StructType<{
159
+ readonly at: import("@elaraai/east").VariantType<{
160
+ readonly time: DateTimeType;
161
+ readonly number: FloatType;
162
+ readonly ordinal: StringType;
163
+ }>;
164
+ }>>;
165
+ after: DictType<StringType, StructType<{
166
+ readonly at: import("@elaraai/east").VariantType<{
167
+ readonly time: DateTimeType;
168
+ readonly number: FloatType;
169
+ readonly ordinal: StringType;
170
+ }>;
171
+ }>>;
172
+ }>;
173
+ patch: DictType<StringType, import("@elaraai/east").VariantType<{
190
174
  delete: StructType<{
191
- readonly key: StringType;
192
175
  readonly at: import("@elaraai/east").VariantType<{
193
176
  readonly time: DateTimeType;
194
177
  readonly number: FloatType;
@@ -196,7 +179,6 @@ export declare const planPressesPatch: import("@elaraai/e3").MutationDef<"patch"
196
179
  }>;
197
180
  }>;
198
181
  insert: StructType<{
199
- readonly key: StringType;
200
182
  readonly at: import("@elaraai/east").VariantType<{
201
183
  readonly time: DateTimeType;
202
184
  readonly number: FloatType;
@@ -207,7 +189,6 @@ export declare const planPressesPatch: import("@elaraai/e3").MutationDef<"patch"
207
189
  unchanged: import("@elaraai/east").NullType;
208
190
  replace: StructType<{
209
191
  before: StructType<{
210
- readonly key: StringType;
211
192
  readonly at: import("@elaraai/east").VariantType<{
212
193
  readonly time: DateTimeType;
213
194
  readonly number: FloatType;
@@ -215,7 +196,6 @@ export declare const planPressesPatch: import("@elaraai/e3").MutationDef<"patch"
215
196
  }>;
216
197
  }>;
217
198
  after: StructType<{
218
- readonly key: StringType;
219
199
  readonly at: import("@elaraai/east").VariantType<{
220
200
  readonly time: DateTimeType;
221
201
  readonly number: FloatType;
@@ -224,13 +204,6 @@ export declare const planPressesPatch: import("@elaraai/e3").MutationDef<"patch"
224
204
  }>;
225
205
  }>;
226
206
  patch: StructType<{
227
- readonly key: import("@elaraai/east").VariantType<{
228
- unchanged: import("@elaraai/east").NullType;
229
- replace: StructType<{
230
- before: StringType;
231
- after: StringType;
232
- }>;
233
- }>;
234
207
  readonly at: import("@elaraai/east").VariantType<{
235
208
  unchanged: import("@elaraai/east").NullType;
236
209
  replace: StructType<{
@@ -271,13 +244,23 @@ export declare const planPressesPatch: import("@elaraai/e3").MutationDef<"patch"
271
244
  }>;
272
245
  }>;
273
246
  }>;
274
- }>;
275
- }>>;
247
+ }>>;
248
+ }>;
276
249
  }>;
277
250
  }>;
251
+ }>>;
252
+ }>]>;
253
+ }, DictType<StringType, StructType<{
254
+ readonly label: StringType;
255
+ readonly crew: OptionType<StringType>;
256
+ readonly jobs: DictType<StringType, StructType<{
257
+ readonly at: import("@elaraai/east").VariantType<{
258
+ readonly time: DateTimeType;
259
+ readonly number: FloatType;
260
+ readonly ordinal: StringType;
278
261
  }>;
279
262
  }>>;
280
- }>]>;
263
+ }>>>>;
281
264
  /** A row a canvas narrows through its rail: when it falls, its owner and its hall. */
282
265
  export declare const PlanDatedRow: StructType<{
283
266
  readonly at: DateTimeType;
@@ -289,107 +272,91 @@ export declare const planDatedRows: import("@elaraai/e3").RecordDef<DictType<Str
289
272
  readonly at: DateTimeType;
290
273
  readonly owner: StringType;
291
274
  readonly hall: StringType;
292
- }>>, [import("@elaraai/east").variant<"field", "records">, import("@elaraai/east").variant<"field", "plan_dated_rows">]>;
293
- /** The rows' patch door: another session's rows go in through it. */
294
- export declare const planDatedRowsPatch: import("@elaraai/e3").MutationDef<"patch", DictType<StringType, StructType<{
275
+ }>>, [variant<"field", "records">, variant<"field", "plan_dated_rows">], import("@elaraai/e3").IndexesOf<{
276
+ plan_dated_rows_by_at: import("@elaraai/e3").IndexDraft<DateTimeType, import("@elaraai/east").NullType, readonly ["at"], unknown>;
277
+ plan_dated_rows_by_owner_at: import("@elaraai/e3").IndexDraft<StructType<{
278
+ at: DateTimeType;
279
+ owner: StringType;
280
+ }>, import("@elaraai/east").NullType, readonly ["owner", "at"], unknown>;
281
+ plan_dated_rows_by_hall_at: import("@elaraai/e3").IndexDraft<StructType<{
282
+ at: DateTimeType;
283
+ hall: StringType;
284
+ }>, import("@elaraai/east").NullType, readonly ["hall", "at"], unknown>;
285
+ }, DictType<StringType, StructType<{
295
286
  readonly at: DateTimeType;
296
287
  readonly owner: StringType;
297
288
  readonly hall: StringType;
298
- }>>, [import("@elaraai/east").VariantType<{
299
- unchanged: import("@elaraai/east").NullType;
300
- replace: StructType<{
301
- before: DictType<StringType, StructType<{
302
- readonly at: DateTimeType;
303
- readonly owner: StringType;
304
- readonly hall: StringType;
305
- }>>;
306
- after: DictType<StringType, StructType<{
307
- readonly at: DateTimeType;
308
- readonly owner: StringType;
309
- readonly hall: StringType;
310
- }>>;
311
- }>;
312
- patch: DictType<StringType, import("@elaraai/east").VariantType<{
313
- delete: StructType<{
314
- readonly at: DateTimeType;
315
- readonly owner: StringType;
316
- readonly hall: StringType;
317
- }>;
318
- insert: StructType<{
319
- readonly at: DateTimeType;
320
- readonly owner: StringType;
321
- readonly hall: StringType;
289
+ }>>>, import("@elaraai/e3").MutationsOf<{
290
+ patch: import("@elaraai/e3").MutationDraft<[import("@elaraai/east").VariantType<{
291
+ unchanged: import("@elaraai/east").NullType;
292
+ replace: StructType<{
293
+ before: DictType<StringType, StructType<{
294
+ readonly at: DateTimeType;
295
+ readonly owner: StringType;
296
+ readonly hall: StringType;
297
+ }>>;
298
+ after: DictType<StringType, StructType<{
299
+ readonly at: DateTimeType;
300
+ readonly owner: StringType;
301
+ readonly hall: StringType;
302
+ }>>;
322
303
  }>;
323
- update: import("@elaraai/east").VariantType<{
324
- unchanged: import("@elaraai/east").NullType;
325
- replace: StructType<{
326
- before: StructType<{
327
- readonly at: DateTimeType;
328
- readonly owner: StringType;
329
- readonly hall: StringType;
330
- }>;
331
- after: StructType<{
332
- readonly at: DateTimeType;
333
- readonly owner: StringType;
334
- readonly hall: StringType;
335
- }>;
304
+ patch: DictType<StringType, import("@elaraai/east").VariantType<{
305
+ delete: StructType<{
306
+ readonly at: DateTimeType;
307
+ readonly owner: StringType;
308
+ readonly hall: StringType;
309
+ }>;
310
+ insert: StructType<{
311
+ readonly at: DateTimeType;
312
+ readonly owner: StringType;
313
+ readonly hall: StringType;
336
314
  }>;
337
- patch: StructType<{
338
- readonly at: import("@elaraai/east").VariantType<{
339
- unchanged: import("@elaraai/east").NullType;
340
- replace: StructType<{
341
- before: DateTimeType;
342
- after: DateTimeType;
315
+ update: import("@elaraai/east").VariantType<{
316
+ unchanged: import("@elaraai/east").NullType;
317
+ replace: StructType<{
318
+ before: StructType<{
319
+ readonly at: DateTimeType;
320
+ readonly owner: StringType;
321
+ readonly hall: StringType;
343
322
  }>;
344
- }>;
345
- readonly owner: import("@elaraai/east").VariantType<{
346
- unchanged: import("@elaraai/east").NullType;
347
- replace: StructType<{
348
- before: StringType;
349
- after: StringType;
323
+ after: StructType<{
324
+ readonly at: DateTimeType;
325
+ readonly owner: StringType;
326
+ readonly hall: StringType;
350
327
  }>;
351
328
  }>;
352
- readonly hall: import("@elaraai/east").VariantType<{
353
- unchanged: import("@elaraai/east").NullType;
354
- replace: StructType<{
355
- before: StringType;
356
- after: StringType;
329
+ patch: StructType<{
330
+ readonly at: import("@elaraai/east").VariantType<{
331
+ unchanged: import("@elaraai/east").NullType;
332
+ replace: StructType<{
333
+ before: DateTimeType;
334
+ after: DateTimeType;
335
+ }>;
336
+ }>;
337
+ readonly owner: import("@elaraai/east").VariantType<{
338
+ unchanged: import("@elaraai/east").NullType;
339
+ replace: StructType<{
340
+ before: StringType;
341
+ after: StringType;
342
+ }>;
343
+ }>;
344
+ readonly hall: import("@elaraai/east").VariantType<{
345
+ unchanged: import("@elaraai/east").NullType;
346
+ replace: StructType<{
347
+ before: StringType;
348
+ after: StringType;
349
+ }>;
357
350
  }>;
358
351
  }>;
359
352
  }>;
360
- }>;
361
- }>>;
362
- }>]>;
363
- /** The rows by date: the window's index. */
364
- export declare const planDatedRowsByAt: import("@elaraai/e3").RecordIndexDef<"plan_dated_rows_by_at", DictType<StringType, StructType<{
365
- readonly at: DateTimeType;
366
- readonly owner: StringType;
367
- readonly hall: StringType;
368
- }>>, DateTimeType, import("@elaraai/east").NullType, readonly ["at"]> & {
369
- interval: undefined;
370
- };
371
- /** The rows by owner, then date: an owner chosen beside the window. */
372
- export declare const planDatedRowsByOwnerAt: import("@elaraai/e3").RecordIndexDef<"plan_dated_rows_by_owner_at", DictType<StringType, StructType<{
373
- readonly at: DateTimeType;
374
- readonly owner: StringType;
375
- readonly hall: StringType;
376
- }>>, StructType<{
377
- at: DateTimeType;
378
- owner: StringType;
379
- }>, import("@elaraai/east").NullType, readonly ["owner", "at"]> & {
380
- interval: undefined;
381
- };
382
- /** The rows by hall, then date: a hall chosen beside the window. */
383
- export declare const planDatedRowsByHallAt: import("@elaraai/e3").RecordIndexDef<"plan_dated_rows_by_hall_at", DictType<StringType, StructType<{
353
+ }>>;
354
+ }>]>;
355
+ }, DictType<StringType, StructType<{
384
356
  readonly at: DateTimeType;
385
357
  readonly owner: StringType;
386
358
  readonly hall: StringType;
387
- }>>, StructType<{
388
- at: DateTimeType;
389
- hall: StringType;
390
- }>, import("@elaraai/east").NullType, readonly ["hall", "at"]> & {
391
- interval: undefined;
392
- };
359
+ }>>>>;
393
360
  /** An order on a number axis: the day it is due. */
394
361
  export declare const PlanDayOrder: StructType<{
395
362
  readonly day: IntegerType;
@@ -397,13 +364,13 @@ export declare const PlanDayOrder: StructType<{
397
364
  /** Twelve orders, one a day from day 1 to day 12: a number axis's window is a range of their days. */
398
365
  export declare const planDayOrders: import("@elaraai/e3").RecordDef<DictType<StringType, StructType<{
399
366
  readonly day: IntegerType;
400
- }>>, [import("@elaraai/east").variant<"field", "records">, import("@elaraai/east").variant<"field", "plan_day_orders">]>;
401
- /** The orders by day. */
402
- export declare const planDayOrdersByDay: import("@elaraai/e3").RecordIndexDef<"plan_day_orders_by_day", DictType<StringType, StructType<{
367
+ }>>, [variant<"field", "records">, variant<"field", "plan_day_orders">], import("@elaraai/e3").IndexesOf<{
368
+ plan_day_orders_by_day: import("@elaraai/e3").IndexDraft<IntegerType, import("@elaraai/east").NullType, readonly ["day"], unknown>;
369
+ }, DictType<StringType, StructType<{
370
+ readonly day: IntegerType;
371
+ }>>>, import("@elaraai/e3").MutationsOf<Record<never, never>, DictType<StringType, StructType<{
403
372
  readonly day: IntegerType;
404
- }>>, IntegerType, import("@elaraai/east").NullType, readonly ["day"]> & {
405
- interval: undefined;
406
- };
373
+ }>>>>;
407
374
  /** A van's run on a number axis: the day it leaves, which may fall part way through one. */
408
375
  export declare const PlanDayVan: StructType<{
409
376
  readonly day: FloatType;
@@ -411,13 +378,193 @@ export declare const PlanDayVan: StructType<{
411
378
  /** Two vans, leaving on day 1 and on day 12: a number axis's window is a range of their days. */
412
379
  export declare const planDayVans: import("@elaraai/e3").RecordDef<DictType<StringType, StructType<{
413
380
  readonly day: FloatType;
414
- }>>, [import("@elaraai/east").variant<"field", "records">, import("@elaraai/east").variant<"field", "plan_day_vans">]>;
415
- /** The vans by day. */
416
- export declare const planDayVansByDay: import("@elaraai/e3").RecordIndexDef<"plan_day_vans_by_day", DictType<StringType, StructType<{
381
+ }>>, [variant<"field", "records">, variant<"field", "plan_day_vans">], import("@elaraai/e3").IndexesOf<{
382
+ plan_day_vans_by_day: import("@elaraai/e3").IndexDraft<FloatType, import("@elaraai/east").NullType, readonly ["day"], unknown>;
383
+ }, DictType<StringType, StructType<{
417
384
  readonly day: FloatType;
418
- }>>, FloatType, import("@elaraai/east").NullType, readonly ["day"]> & {
419
- interval: undefined;
420
- };
385
+ }>>>, import("@elaraai/e3").MutationsOf<Record<never, never>, DictType<StringType, StructType<{
386
+ readonly day: FloatType;
387
+ }>>>>;
388
+ /** An operation on a work order: the order it is on, by its key, the work it does, and when it runs. */
389
+ export declare const PlanOperation: StructType<{
390
+ readonly work: StringType;
391
+ readonly label: StringType;
392
+ readonly start: DateTimeType;
393
+ readonly end: DateTimeType;
394
+ }>;
395
+ /** How many work orders' operations the task generates: the Sheet's 50,000 orders'. */
396
+ export declare const planOperationCount: import("@elaraai/e3").DatasetDef<IntegerType, [variant<"field", "inputs">, variant<"field", "plan_operation_count">]>;
397
+ /** The task that generates the operations from their count. */
398
+ export declare const planOperationsGenerated: import("@elaraai/e3").TaskDef<DictType<StringType, StructType<{
399
+ readonly work: StringType;
400
+ readonly label: StringType;
401
+ readonly start: DateTimeType;
402
+ readonly end: DateTimeType;
403
+ }>>, [variant<"field", "tasks">, variant<"field", "plan_operations_generated">, variant<"field", "output">]>;
404
+ /** The 50,000 work orders' operations, one an order, keyed by the operation's key: read through the indexes below, never whole. */
405
+ export declare const planOperations: import("@elaraai/e3").RecordDef<DictType<StringType, StructType<{
406
+ readonly work: StringType;
407
+ readonly label: StringType;
408
+ readonly start: DateTimeType;
409
+ readonly end: DateTimeType;
410
+ }>>, [variant<"field", "records">, variant<"field", "plan_operations">], import("@elaraai/e3").IndexesOf<{
411
+ plan_operations_by_time: import("@elaraai/e3").IndexDraft<StructType<{
412
+ on: StructType<Record<never, never>>;
413
+ node: IntegerType;
414
+ at: DateTimeType;
415
+ }>, import("@elaraai/east").NullType, readonly [], {
416
+ readonly interval: {
417
+ readonly from: "start";
418
+ readonly to: "end";
419
+ };
420
+ }>;
421
+ plan_operations_by_work_week: import("@elaraai/e3").IndexDraft<StructType<{
422
+ on: StructType<Record<never, never>>;
423
+ key: StringType;
424
+ level: import("@elaraai/e3-types").RecordLevelType;
425
+ tile: DateTimeType;
426
+ }>, StructType<{
427
+ readonly work: StringType;
428
+ readonly label: StringType;
429
+ readonly start: DateTimeType;
430
+ readonly end: DateTimeType;
431
+ }>, readonly [], {
432
+ readonly series: import("@elaraai/e3").TimeTileOf<{
433
+ readonly key: "work";
434
+ readonly from: "start";
435
+ readonly to: "end";
436
+ readonly tile: "week";
437
+ }>;
438
+ }>;
439
+ plan_operations_by_work_month: import("@elaraai/e3").IndexDraft<StructType<{
440
+ on: StructType<Record<never, never>>;
441
+ key: StringType;
442
+ tile: DateTimeType;
443
+ }>, StructType<{
444
+ readonly count: IntegerType;
445
+ readonly ms: IntegerType;
446
+ }>, readonly [], {
447
+ readonly summary: import("@elaraai/e3").TimeTileOf<{
448
+ readonly key: "work";
449
+ readonly from: "start";
450
+ readonly to: "end";
451
+ readonly tile: "month";
452
+ }>;
453
+ }>;
454
+ }, DictType<StringType, StructType<{
455
+ readonly work: StringType;
456
+ readonly label: StringType;
457
+ readonly start: DateTimeType;
458
+ readonly end: DateTimeType;
459
+ }>>>, import("@elaraai/e3").MutationsOf<{
460
+ patch: import("@elaraai/e3").MutationDraft<[import("@elaraai/east").VariantType<{
461
+ unchanged: import("@elaraai/east").NullType;
462
+ replace: StructType<{
463
+ before: DictType<StringType, StructType<{
464
+ readonly work: StringType;
465
+ readonly label: StringType;
466
+ readonly start: DateTimeType;
467
+ readonly end: DateTimeType;
468
+ }>>;
469
+ after: DictType<StringType, StructType<{
470
+ readonly work: StringType;
471
+ readonly label: StringType;
472
+ readonly start: DateTimeType;
473
+ readonly end: DateTimeType;
474
+ }>>;
475
+ }>;
476
+ patch: DictType<StringType, import("@elaraai/east").VariantType<{
477
+ delete: StructType<{
478
+ readonly work: StringType;
479
+ readonly label: StringType;
480
+ readonly start: DateTimeType;
481
+ readonly end: DateTimeType;
482
+ }>;
483
+ insert: StructType<{
484
+ readonly work: StringType;
485
+ readonly label: StringType;
486
+ readonly start: DateTimeType;
487
+ readonly end: DateTimeType;
488
+ }>;
489
+ update: import("@elaraai/east").VariantType<{
490
+ unchanged: import("@elaraai/east").NullType;
491
+ replace: StructType<{
492
+ before: StructType<{
493
+ readonly work: StringType;
494
+ readonly label: StringType;
495
+ readonly start: DateTimeType;
496
+ readonly end: DateTimeType;
497
+ }>;
498
+ after: StructType<{
499
+ readonly work: StringType;
500
+ readonly label: StringType;
501
+ readonly start: DateTimeType;
502
+ readonly end: DateTimeType;
503
+ }>;
504
+ }>;
505
+ patch: StructType<{
506
+ readonly work: import("@elaraai/east").VariantType<{
507
+ unchanged: import("@elaraai/east").NullType;
508
+ replace: StructType<{
509
+ before: StringType;
510
+ after: StringType;
511
+ }>;
512
+ }>;
513
+ readonly label: import("@elaraai/east").VariantType<{
514
+ unchanged: import("@elaraai/east").NullType;
515
+ replace: StructType<{
516
+ before: StringType;
517
+ after: StringType;
518
+ }>;
519
+ }>;
520
+ readonly start: import("@elaraai/east").VariantType<{
521
+ unchanged: import("@elaraai/east").NullType;
522
+ replace: StructType<{
523
+ before: DateTimeType;
524
+ after: DateTimeType;
525
+ }>;
526
+ }>;
527
+ readonly end: import("@elaraai/east").VariantType<{
528
+ unchanged: import("@elaraai/east").NullType;
529
+ replace: StructType<{
530
+ before: DateTimeType;
531
+ after: DateTimeType;
532
+ }>;
533
+ }>;
534
+ }>;
535
+ }>;
536
+ }>>;
537
+ }>]>;
538
+ }, DictType<StringType, StructType<{
539
+ readonly work: StringType;
540
+ readonly label: StringType;
541
+ readonly start: DateTimeType;
542
+ readonly end: DateTimeType;
543
+ }>>>>;
544
+ /**
545
+ * The Sheet's 50,000 work orders on a Plan, a row each, and their operations
546
+ * a record of their own placed on them (#1344, #1039). The work orders are a
547
+ * paged resource kind, narrowed through the rail's `orders` source — named
548
+ * after the kind's slot — over their indexes: by Status, Due, Job, Quantity,
549
+ * Urgent and Tag, with the presets and the search, opening on the orders Ready
550
+ * and due in the first fortnight of October. The canvas pages the narrowing's
551
+ * orders themselves, in its index's order, and the dates on screen never
552
+ * decide which are listed: Due is a field of the rail the viewer sets. The
553
+ * rail's `operation` source lists the operations' interval index, their series
554
+ * index and their summary, its range their start, so it holds the canvas's
555
+ * window: the canvas reads the operations of the orders in view a cell at a
556
+ * time, a pan within the weeks it holds reads nothing, and the orders' rows
557
+ * stay where they are as the dates move. Moving or resizing an operation
558
+ * drafts it in the operations kind's session, whatever the rail shows, and
559
+ * Save commits it through the operations' patch door by its key — so a
560
+ * million work orders, each with a year of operations, read what is on screen.
561
+ */
421
562
  export declare const planRecordIndexes: import("@elaraai/east").ExampleDef<[], any>;
563
+ /**
564
+ * The work orders Plan of `planRecordIndexes` in a phone-width frame: the same
565
+ * paged work orders narrowed through the same rail, on the toolbar's responsive
566
+ * ladder, and the same operations read a cell at a time, their source holding
567
+ * the canvas's window — the narrow layout's cards drawn from the same reads.
568
+ */
422
569
  export declare const planRecordIndexesMobile: import("@elaraai/east").ExampleDef<[], any>;
423
570
  //# sourceMappingURL=plan-records.examples.d.ts.map