@elaraai/e3-ui 1.0.98 → 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 (381) 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 +46 -90
  5. package/dist/src/allocation/index.d.ts.map +1 -1
  6. package/dist/src/allocation/index.js +5 -5
  7. package/dist/src/allocation/index.js.map +1 -1
  8. package/dist/src/bind/data-indexed.d.ts +273 -51
  9. package/dist/src/bind/data-indexed.d.ts.map +1 -1
  10. package/dist/src/bind/data-indexed.js +233 -56
  11. package/dist/src/bind/data-indexed.js.map +1 -1
  12. package/dist/src/bind/data.d.ts +48 -9
  13. package/dist/src/bind/data.d.ts.map +1 -1
  14. package/dist/src/bind/data.js +48 -3
  15. package/dist/src/bind/data.js.map +1 -1
  16. package/dist/src/bind/record.d.ts +61 -24
  17. package/dist/src/bind/record.d.ts.map +1 -1
  18. package/dist/src/bind/record.js +17 -57
  19. package/dist/src/bind/record.js.map +1 -1
  20. package/dist/src/calendar/index.d.ts +55 -95
  21. package/dist/src/calendar/index.d.ts.map +1 -1
  22. package/dist/src/calendar/index.js +10 -6
  23. package/dist/src/calendar/index.js.map +1 -1
  24. package/dist/src/flowchart/index.d.ts +35 -31
  25. package/dist/src/flowchart/index.d.ts.map +1 -1
  26. package/dist/src/flowchart/index.js +35 -31
  27. package/dist/src/flowchart/index.js.map +1 -1
  28. package/dist/src/flowchart/library.d.ts +108 -84
  29. package/dist/src/flowchart/library.d.ts.map +1 -1
  30. package/dist/src/flowchart/library.js +108 -84
  31. package/dist/src/flowchart/library.js.map +1 -1
  32. package/dist/src/flowchart/payload.d.ts +39 -107
  33. package/dist/src/flowchart/payload.d.ts.map +1 -1
  34. package/dist/src/flowchart/payload.js +3 -3
  35. package/dist/src/flowchart/payload.js.map +1 -1
  36. package/dist/src/flowchart/values.d.ts +35 -31
  37. package/dist/src/flowchart/values.d.ts.map +1 -1
  38. package/dist/src/flowchart/values.js +35 -31
  39. package/dist/src/flowchart/values.js.map +1 -1
  40. package/dist/src/flowchart/window.d.ts +0 -12
  41. package/dist/src/flowchart/window.d.ts.map +1 -1
  42. package/dist/src/flowchart/window.js +3 -2
  43. package/dist/src/flowchart/window.js.map +1 -1
  44. package/dist/src/index.d.ts +2 -2
  45. package/dist/src/index.d.ts.map +1 -1
  46. package/dist/src/index.js +1 -1
  47. package/dist/src/index.js.map +1 -1
  48. package/dist/src/internal.d.ts +7 -3
  49. package/dist/src/internal.d.ts.map +1 -1
  50. package/dist/src/internal.js +12 -3
  51. package/dist/src/internal.js.map +1 -1
  52. package/dist/src/plan/assemble.d.ts +8 -0
  53. package/dist/src/plan/assemble.d.ts.map +1 -1
  54. package/dist/src/plan/assemble.js +1 -1
  55. package/dist/src/plan/assemble.js.map +1 -1
  56. package/dist/src/plan/builders.d.ts +1518 -2
  57. package/dist/src/plan/builders.d.ts.map +1 -1
  58. package/dist/src/plan/builders.js +248 -114
  59. package/dist/src/plan/builders.js.map +1 -1
  60. package/dist/src/plan/event-rows.d.ts +9 -14
  61. package/dist/src/plan/event-rows.d.ts.map +1 -1
  62. package/dist/src/plan/event-rows.js +6 -46
  63. package/dist/src/plan/event-rows.js.map +1 -1
  64. package/dist/src/plan/factories.d.ts +72 -4
  65. package/dist/src/plan/factories.d.ts.map +1 -1
  66. package/dist/src/plan/factories.js +147 -1
  67. package/dist/src/plan/factories.js.map +1 -1
  68. package/dist/src/plan/index.d.ts +147 -125
  69. package/dist/src/plan/index.d.ts.map +1 -1
  70. package/dist/src/plan/index.js +135 -122
  71. package/dist/src/plan/index.js.map +1 -1
  72. package/dist/src/plan/ir.d.ts +1105 -44
  73. package/dist/src/plan/ir.d.ts.map +1 -1
  74. package/dist/src/plan/ir.js +5 -0
  75. package/dist/src/plan/ir.js.map +1 -1
  76. package/dist/src/plan/library.d.ts +65 -42
  77. package/dist/src/plan/library.d.ts.map +1 -1
  78. package/dist/src/plan/library.js +65 -42
  79. package/dist/src/plan/library.js.map +1 -1
  80. package/dist/src/plan/nested-checks.d.ts +146 -0
  81. package/dist/src/plan/nested-checks.d.ts.map +1 -0
  82. package/dist/src/plan/nested-checks.js +468 -0
  83. package/dist/src/plan/nested-checks.js.map +1 -0
  84. package/dist/src/plan/nested-patch.d.ts +35 -0
  85. package/dist/src/plan/nested-patch.d.ts.map +1 -0
  86. package/dist/src/plan/nested-patch.js +143 -0
  87. package/dist/src/plan/nested-patch.js.map +1 -0
  88. package/dist/src/plan/nested-read.d.ts +3250 -0
  89. package/dist/src/plan/nested-read.d.ts.map +1 -0
  90. package/dist/src/plan/nested-read.js +163 -0
  91. package/dist/src/plan/nested-read.js.map +1 -0
  92. package/dist/src/plan/nested.d.ts +280 -0
  93. package/dist/src/plan/nested.d.ts.map +1 -0
  94. package/dist/src/plan/nested.js +6 -0
  95. package/dist/src/plan/nested.js.map +1 -0
  96. package/dist/src/plan/ordered-source.d.ts +1030 -1
  97. package/dist/src/plan/ordered-source.d.ts.map +1 -1
  98. package/dist/src/plan/ordered-source.js +48 -6
  99. package/dist/src/plan/ordered-source.js.map +1 -1
  100. package/dist/src/plan/over.d.ts +111 -75
  101. package/dist/src/plan/over.d.ts.map +1 -1
  102. package/dist/src/plan/over.js +111 -75
  103. package/dist/src/plan/over.js.map +1 -1
  104. package/dist/src/plan/pick.d.ts +15 -3
  105. package/dist/src/plan/pick.d.ts.map +1 -1
  106. package/dist/src/plan/pick.js +75 -36
  107. package/dist/src/plan/pick.js.map +1 -1
  108. package/dist/src/plan/plan.d.ts +2719 -558
  109. package/dist/src/plan/plan.d.ts.map +1 -1
  110. package/dist/src/plan/plan.js +14 -2
  111. package/dist/src/plan/plan.js.map +1 -1
  112. package/dist/src/plan/reads.d.ts +421 -0
  113. package/dist/src/plan/reads.d.ts.map +1 -0
  114. package/dist/src/plan/reads.js +143 -0
  115. package/dist/src/plan/reads.js.map +1 -0
  116. package/dist/src/plan/refs.d.ts +111 -75
  117. package/dist/src/plan/refs.d.ts.map +1 -1
  118. package/dist/src/plan/refs.js +111 -75
  119. package/dist/src/plan/refs.js.map +1 -1
  120. package/dist/src/plan/root.d.ts +10 -5
  121. package/dist/src/plan/root.d.ts.map +1 -1
  122. package/dist/src/plan/root.js +76 -13
  123. package/dist/src/plan/root.js.map +1 -1
  124. package/dist/src/plan/series.d.ts +5140 -4331
  125. package/dist/src/plan/series.d.ts.map +1 -1
  126. package/dist/src/plan/series.js +1026 -264
  127. package/dist/src/plan/series.js.map +1 -1
  128. package/dist/src/plan/shade.d.ts +981 -0
  129. package/dist/src/plan/shade.d.ts.map +1 -0
  130. package/dist/src/plan/shade.js +60 -0
  131. package/dist/src/plan/shade.js.map +1 -0
  132. package/dist/src/plan/types.d.ts +178 -18
  133. package/dist/src/plan/types.d.ts.map +1 -1
  134. package/dist/src/plan/types.js +69 -19
  135. package/dist/src/plan/types.js.map +1 -1
  136. package/dist/src/query/builder.d.ts +3 -3
  137. package/dist/src/query/builder.d.ts.map +1 -1
  138. package/dist/src/query/builder.js +1 -1
  139. package/dist/src/query/library.d.ts +3 -3
  140. package/dist/src/query/library.d.ts.map +1 -1
  141. package/dist/src/query/library.js +1 -1
  142. package/dist/src/query/queries.d.ts +2 -2
  143. package/dist/src/query/queries.js +1 -1
  144. package/dist/src/query/saved.d.ts +8 -4
  145. package/dist/src/query/saved.d.ts.map +1 -1
  146. package/dist/src/query/saved.js +8 -4
  147. package/dist/src/query/saved.js.map +1 -1
  148. package/dist/src/query/types.d.ts +8 -3
  149. package/dist/src/query/types.d.ts.map +1 -1
  150. package/dist/src/query/types.js +8 -3
  151. package/dist/src/query/types.js.map +1 -1
  152. package/dist/src/roster/index.d.ts +47 -91
  153. package/dist/src/roster/index.d.ts.map +1 -1
  154. package/dist/src/roster/index.js +6 -6
  155. package/dist/src/roster/index.js.map +1 -1
  156. package/dist/src/roster/targets.d.ts +8 -4
  157. package/dist/src/roster/targets.d.ts.map +1 -1
  158. package/dist/src/roster/targets.js +9 -5
  159. package/dist/src/roster/targets.js.map +1 -1
  160. package/dist/src/schedule/cell-checks.js +3 -3
  161. package/dist/src/schedule/cell-checks.js.map +1 -1
  162. package/dist/src/schedule/days.d.ts +1 -1
  163. package/dist/src/schedule/days.js +1 -1
  164. package/dist/src/schedule/events.d.ts +10 -6
  165. package/dist/src/schedule/events.d.ts.map +1 -1
  166. package/dist/src/schedule/events.js +252 -228
  167. package/dist/src/schedule/events.js.map +1 -1
  168. package/dist/src/schedule/patch.d.ts +1 -1
  169. package/dist/src/schedule/patch.js +1 -1
  170. package/dist/src/schedule/periods.d.ts +8 -4
  171. package/dist/src/schedule/periods.d.ts.map +1 -1
  172. package/dist/src/schedule/periods.js +1 -1
  173. package/dist/src/schedule/periods.js.map +1 -1
  174. package/dist/src/schedule/record-window.d.ts +38 -58
  175. package/dist/src/schedule/record-window.d.ts.map +1 -1
  176. package/dist/src/schedule/record-window.js +15 -16
  177. package/dist/src/schedule/record-window.js.map +1 -1
  178. package/dist/src/schedule/resources.d.ts +1 -1
  179. package/dist/src/schedule/session.d.ts +1 -1
  180. package/dist/src/schedule/session.js +1 -1
  181. package/dist/src/schedule/types.d.ts +29 -1
  182. package/dist/src/schedule/types.d.ts.map +1 -1
  183. package/dist/src/schedule/types.js +16 -1
  184. package/dist/src/schedule/types.js.map +1 -1
  185. package/dist/src/schematic/index.d.ts +19 -9
  186. package/dist/src/schematic/index.d.ts.map +1 -1
  187. package/dist/src/schematic/index.js +19 -9
  188. package/dist/src/schematic/index.js.map +1 -1
  189. package/dist/src/schematic/kinds.d.ts +4 -4
  190. package/dist/src/schematic/kinds.js +9 -9
  191. package/dist/src/schematic/kinds.js.map +1 -1
  192. package/dist/src/schematic/payload.d.ts +38 -88
  193. package/dist/src/schematic/payload.d.ts.map +1 -1
  194. package/dist/src/schematic/payload.js +4 -4
  195. package/dist/src/schematic/payload.js.map +1 -1
  196. package/dist/src/schematic/window.d.ts +8 -7
  197. package/dist/src/schematic/window.d.ts.map +1 -1
  198. package/dist/src/schematic/window.js +22 -19
  199. package/dist/src/schematic/window.js.map +1 -1
  200. package/dist/src/sheet/bridge.d.ts +19 -0
  201. package/dist/src/sheet/bridge.d.ts.map +1 -1
  202. package/dist/src/sheet/bridge.js +28 -21
  203. package/dist/src/sheet/bridge.js.map +1 -1
  204. package/dist/src/sheet/index.d.ts +66 -46
  205. package/dist/src/sheet/index.d.ts.map +1 -1
  206. package/dist/src/sheet/index.js +66 -46
  207. package/dist/src/sheet/index.js.map +1 -1
  208. package/dist/src/sheet/library.d.ts +13 -8
  209. package/dist/src/sheet/library.d.ts.map +1 -1
  210. package/dist/src/sheet/library.js +13 -8
  211. package/dist/src/sheet/library.js.map +1 -1
  212. package/dist/src/sheet/record.d.ts +1 -1
  213. package/dist/src/sheet/record.js +2 -2
  214. package/dist/src/sheet/record.js.map +1 -1
  215. package/dist/src/sheet/registers.d.ts +152 -128
  216. package/dist/src/sheet/registers.d.ts.map +1 -1
  217. package/dist/src/sheet/registers.js +152 -128
  218. package/dist/src/sheet/registers.js.map +1 -1
  219. package/dist/src/sheet/root.d.ts +4 -1
  220. package/dist/src/sheet/root.d.ts.map +1 -1
  221. package/dist/src/sheet/root.js +15 -3
  222. package/dist/src/sheet/root.js.map +1 -1
  223. package/dist/src/sheet/sheet.d.ts +39 -113
  224. package/dist/src/sheet/sheet.d.ts.map +1 -1
  225. package/dist/src/sheet/sheet.js +7 -5
  226. package/dist/src/sheet/sheet.js.map +1 -1
  227. package/dist/src/sheet/sub-rows.d.ts +106 -76
  228. package/dist/src/sheet/sub-rows.d.ts.map +1 -1
  229. package/dist/src/sheet/sub-rows.js +106 -76
  230. package/dist/src/sheet/sub-rows.js.map +1 -1
  231. package/dist/src/sheet/types.d.ts +19 -62
  232. package/dist/src/sheet/types.d.ts.map +1 -1
  233. package/dist/src/studio/builder.d.ts +3 -153
  234. package/dist/src/studio/builder.d.ts.map +1 -1
  235. package/dist/src/studio/builder.js +1 -1
  236. package/dist/src/studio/canvas.d.ts +5 -4
  237. package/dist/src/studio/canvas.d.ts.map +1 -1
  238. package/dist/src/studio/canvas.js +8 -7
  239. package/dist/src/studio/canvas.js.map +1 -1
  240. package/dist/src/studio/component.d.ts +30 -20
  241. package/dist/src/studio/component.d.ts.map +1 -1
  242. package/dist/src/studio/component.js +26 -61
  243. package/dist/src/studio/component.js.map +1 -1
  244. package/dist/src/studio/index.d.ts +2 -2
  245. package/dist/src/studio/index.d.ts.map +1 -1
  246. package/dist/src/studio/index.js +1 -1
  247. package/dist/src/studio/index.js.map +1 -1
  248. package/dist/src/studio/inspector.d.ts +10 -39
  249. package/dist/src/studio/inspector.d.ts.map +1 -1
  250. package/dist/src/studio/inspector.js +11 -31
  251. package/dist/src/studio/inspector.js.map +1 -1
  252. package/dist/src/studio/library.d.ts +3 -169
  253. package/dist/src/studio/library.d.ts.map +1 -1
  254. package/dist/src/studio/library.js +1 -1
  255. package/dist/src/studio/page.d.ts +0 -8
  256. package/dist/src/studio/page.d.ts.map +1 -1
  257. package/dist/src/studio/pages.d.ts +17 -591
  258. package/dist/src/studio/pages.d.ts.map +1 -1
  259. package/dist/src/studio/pages.js +17 -44
  260. package/dist/src/studio/pages.js.map +1 -1
  261. package/dist/src/studio/palette.d.ts +2 -7
  262. package/dist/src/studio/palette.d.ts.map +1 -1
  263. package/dist/src/studio/palette.js +4 -5
  264. package/dist/src/studio/palette.js.map +1 -1
  265. package/dist/src/studio/publish.d.ts +8 -18
  266. package/dist/src/studio/publish.d.ts.map +1 -1
  267. package/dist/src/studio/publish.js +10 -36
  268. package/dist/src/studio/publish.js.map +1 -1
  269. package/dist/src/utils/derive.d.ts +12 -12
  270. package/dist/src/utils/derive.d.ts.map +1 -1
  271. package/dist/src/utils/derive.js +5 -2
  272. package/dist/src/utils/derive.js.map +1 -1
  273. package/dist/src/utils/ordered-source.d.ts.map +1 -1
  274. package/dist/src/utils/ordered-source.js +14 -5
  275. package/dist/src/utils/ordered-source.js.map +1 -1
  276. package/dist/test/allocation/allocation.examples.d.ts +1900 -1598
  277. package/dist/test/allocation/allocation.examples.d.ts.map +1 -1
  278. package/dist/test/allocation/allocation.examples.js +179 -89
  279. package/dist/test/allocation/allocation.examples.js.map +1 -1
  280. package/dist/test/allocation/optimise.examples.d.ts.map +1 -1
  281. package/dist/test/allocation/optimise.examples.js +7 -7
  282. package/dist/test/allocation/optimise.examples.js.map +1 -1
  283. package/dist/test/bind/data/data.examples.d.ts +1057 -903
  284. package/dist/test/bind/data/data.examples.d.ts.map +1 -1
  285. package/dist/test/bind/data/data.examples.js +260 -204
  286. package/dist/test/bind/data/data.examples.js.map +1 -1
  287. package/dist/test/bind/record/record.examples.d.ts +457 -426
  288. package/dist/test/bind/record/record.examples.d.ts.map +1 -1
  289. package/dist/test/bind/record/record.examples.js +41 -21
  290. package/dist/test/bind/record/record.examples.js.map +1 -1
  291. package/dist/test/calendar/calendar-records.examples.d.ts +162 -170
  292. package/dist/test/calendar/calendar-records.examples.d.ts.map +1 -1
  293. package/dist/test/calendar/calendar-records.examples.js +20 -12
  294. package/dist/test/calendar/calendar-records.examples.js.map +1 -1
  295. package/dist/test/calendar/calendar-windows.examples.d.ts.map +1 -1
  296. package/dist/test/calendar/calendar-windows.examples.js +12 -12
  297. package/dist/test/calendar/calendar-windows.examples.js.map +1 -1
  298. package/dist/test/calendar/calendar.examples.d.ts +1172 -901
  299. package/dist/test/calendar/calendar.examples.d.ts.map +1 -1
  300. package/dist/test/calendar/calendar.examples.js +211 -124
  301. package/dist/test/calendar/calendar.examples.js.map +1 -1
  302. package/dist/test/calendar/optimise.examples.js +2 -2
  303. package/dist/test/calendar/optimise.examples.js.map +1 -1
  304. package/dist/test/examples-package.d.ts +6 -9
  305. package/dist/test/examples-package.d.ts.map +1 -1
  306. package/dist/test/examples-package.js +11 -32
  307. package/dist/test/examples-package.js.map +1 -1
  308. package/dist/test/flowchart/flowchart.examples.d.ts +3841 -2820
  309. package/dist/test/flowchart/flowchart.examples.d.ts.map +1 -1
  310. package/dist/test/flowchart/flowchart.examples.js +211 -121
  311. package/dist/test/flowchart/flowchart.examples.js.map +1 -1
  312. package/dist/test/plan/optimise.examples.js +2 -2
  313. package/dist/test/plan/optimise.examples.js.map +1 -1
  314. package/dist/test/plan/plan-events.examples.d.ts +4055 -3263
  315. package/dist/test/plan/plan-events.examples.d.ts.map +1 -1
  316. package/dist/test/plan/plan-events.examples.js +492 -319
  317. package/dist/test/plan/plan-events.examples.js.map +1 -1
  318. package/dist/test/plan/plan-nested.examples.d.ts +1829 -0
  319. package/dist/test/plan/plan-nested.examples.d.ts.map +1 -0
  320. package/dist/test/plan/plan-nested.examples.js +321 -0
  321. package/dist/test/plan/plan-nested.examples.js.map +1 -0
  322. package/dist/test/plan/plan-records.examples.d.ts +328 -362
  323. package/dist/test/plan/plan-records.examples.d.ts.map +1 -1
  324. package/dist/test/plan/plan-records.examples.js +81 -57
  325. package/dist/test/plan/plan-records.examples.js.map +1 -1
  326. package/dist/test/plan/plan-windows.examples.d.ts +1756 -1398
  327. package/dist/test/plan/plan-windows.examples.d.ts.map +1 -1
  328. package/dist/test/plan/plan-windows.examples.js +161 -128
  329. package/dist/test/plan/plan-windows.examples.js.map +1 -1
  330. package/dist/test/plan/plan.examples.d.ts +2238 -5712
  331. package/dist/test/plan/plan.examples.d.ts.map +1 -1
  332. package/dist/test/plan/plan.examples.js +839 -968
  333. package/dist/test/plan/plan.examples.js.map +1 -1
  334. package/dist/test/query/query.examples.d.ts +5221 -3005
  335. package/dist/test/query/query.examples.d.ts.map +1 -1
  336. package/dist/test/query/query.examples.js +169 -118
  337. package/dist/test/query/query.examples.js.map +1 -1
  338. package/dist/test/roster/optimise.examples.d.ts.map +1 -1
  339. package/dist/test/roster/optimise.examples.js +7 -7
  340. package/dist/test/roster/optimise.examples.js.map +1 -1
  341. package/dist/test/roster/roster-records.examples.d.ts +364 -392
  342. package/dist/test/roster/roster-records.examples.d.ts.map +1 -1
  343. package/dist/test/roster/roster-records.examples.js +40 -26
  344. package/dist/test/roster/roster-records.examples.js.map +1 -1
  345. package/dist/test/roster/roster.examples.d.ts +4605 -4308
  346. package/dist/test/roster/roster.examples.d.ts.map +1 -1
  347. package/dist/test/roster/roster.examples.js +212 -113
  348. package/dist/test/roster/roster.examples.js.map +1 -1
  349. package/dist/test/schedule/schedule.examples.d.ts +2646 -2471
  350. package/dist/test/schedule/schedule.examples.d.ts.map +1 -1
  351. package/dist/test/schedule/schedule.examples.js +144 -88
  352. package/dist/test/schedule/schedule.examples.js.map +1 -1
  353. package/dist/test/schematic/schematic-records.examples.d.ts +286 -276
  354. package/dist/test/schematic/schematic-records.examples.d.ts.map +1 -1
  355. package/dist/test/schematic/schematic-records.examples.js +52 -38
  356. package/dist/test/schematic/schematic-records.examples.js.map +1 -1
  357. package/dist/test/schematic/schematic.examples.d.ts +1842 -1491
  358. package/dist/test/schematic/schematic.examples.d.ts.map +1 -1
  359. package/dist/test/schematic/schematic.examples.js +240 -134
  360. package/dist/test/schematic/schematic.examples.js.map +1 -1
  361. package/dist/test/sheet/optimise.examples.d.ts +102 -95
  362. package/dist/test/sheet/optimise.examples.d.ts.map +1 -1
  363. package/dist/test/sheet/optimise.examples.js +7 -3
  364. package/dist/test/sheet/optimise.examples.js.map +1 -1
  365. package/dist/test/sheet/sheet-records.examples.d.ts +175 -214
  366. package/dist/test/sheet/sheet-records.examples.d.ts.map +1 -1
  367. package/dist/test/sheet/sheet-records.examples.js +29 -17
  368. package/dist/test/sheet/sheet-records.examples.js.map +1 -1
  369. package/dist/test/sheet/sheet.examples.d.ts +3642 -3353
  370. package/dist/test/sheet/sheet.examples.d.ts.map +1 -1
  371. package/dist/test/sheet/sheet.examples.js +389 -282
  372. package/dist/test/sheet/sheet.examples.js.map +1 -1
  373. package/dist/test/studio/component.examples.js +2 -2
  374. package/dist/test/studio/component.examples.js.map +1 -1
  375. package/dist/test/studio/page.examples.js +6 -6
  376. package/dist/test/studio/page.examples.js.map +1 -1
  377. package/dist/test/studio/studio.examples.d.ts +2329 -873
  378. package/dist/test/studio/studio.examples.d.ts.map +1 -1
  379. package/dist/test/studio/studio.examples.js +155 -107
  380. package/dist/test/studio/studio.examples.js.map +1 -1
  381. 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, variant } 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
- }>>, [variant<"field", "records">, 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;
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;
141
84
  }>;
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>;
148
- }>;
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,101 +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
- }>>, [variant<"field", "records">, 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
- /** The rows by owner, then date: an owner chosen beside the window. */
370
- export declare const planDatedRowsByOwnerAt: import("@elaraai/e3").RecordIndexDef<"plan_dated_rows_by_owner_at", DictType<StringType, StructType<{
371
- readonly at: DateTimeType;
372
- readonly owner: StringType;
373
- readonly hall: StringType;
374
- }>>, StructType<{
375
- at: DateTimeType;
376
- owner: StringType;
377
- }>, import("@elaraai/east").NullType, readonly ["owner", "at"]>;
378
- /** The rows by hall, then date: a hall chosen beside the window. */
379
- export declare const planDatedRowsByHallAt: import("@elaraai/e3").RecordIndexDef<"plan_dated_rows_by_hall_at", DictType<StringType, StructType<{
353
+ }>>;
354
+ }>]>;
355
+ }, DictType<StringType, StructType<{
380
356
  readonly at: DateTimeType;
381
357
  readonly owner: StringType;
382
358
  readonly hall: StringType;
383
- }>>, StructType<{
384
- at: DateTimeType;
385
- hall: StringType;
386
- }>, import("@elaraai/east").NullType, readonly ["hall", "at"]>;
359
+ }>>>>;
387
360
  /** An order on a number axis: the day it is due. */
388
361
  export declare const PlanDayOrder: StructType<{
389
362
  readonly day: IntegerType;
@@ -391,11 +364,13 @@ export declare const PlanDayOrder: StructType<{
391
364
  /** Twelve orders, one a day from day 1 to day 12: a number axis's window is a range of their days. */
392
365
  export declare const planDayOrders: import("@elaraai/e3").RecordDef<DictType<StringType, StructType<{
393
366
  readonly day: IntegerType;
394
- }>>, [variant<"field", "records">, variant<"field", "plan_day_orders">]>;
395
- /** The orders by day. */
396
- 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<{
397
372
  readonly day: IntegerType;
398
- }>>, IntegerType, import("@elaraai/east").NullType, readonly ["day"]>;
373
+ }>>>>;
399
374
  /** A van's run on a number axis: the day it leaves, which may fall part way through one. */
400
375
  export declare const PlanDayVan: StructType<{
401
376
  readonly day: FloatType;
@@ -403,11 +378,13 @@ export declare const PlanDayVan: StructType<{
403
378
  /** Two vans, leaving on day 1 and on day 12: a number axis's window is a range of their days. */
404
379
  export declare const planDayVans: import("@elaraai/e3").RecordDef<DictType<StringType, StructType<{
405
380
  readonly day: FloatType;
406
- }>>, [variant<"field", "records">, variant<"field", "plan_day_vans">]>;
407
- /** The vans by day. */
408
- 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<{
409
384
  readonly day: FloatType;
410
- }>>, FloatType, import("@elaraai/east").NullType, readonly ["day"]>;
385
+ }>>>, import("@elaraai/e3").MutationsOf<Record<never, never>, DictType<StringType, StructType<{
386
+ readonly day: FloatType;
387
+ }>>>>;
411
388
  /** An operation on a work order: the order it is on, by its key, the work it does, and when it runs. */
412
389
  export declare const PlanOperation: StructType<{
413
390
  readonly work: StringType;
@@ -430,151 +407,140 @@ export declare const planOperations: import("@elaraai/e3").RecordDef<DictType<St
430
407
  readonly label: StringType;
431
408
  readonly start: DateTimeType;
432
409
  readonly end: DateTimeType;
433
- }>>, [variant<"field", "records">, variant<"field", "plan_operations">]>;
434
- /** The operations' patch door: a canvas's Save commits through it, by the operation's key. */
435
- export declare const planOperationsPatch: import("@elaraai/e3").MutationDef<"patch", DictType<StringType, StructType<{
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<{
436
455
  readonly work: StringType;
437
456
  readonly label: StringType;
438
457
  readonly start: DateTimeType;
439
458
  readonly end: DateTimeType;
440
- }>>, [import("@elaraai/east").VariantType<{
441
- unchanged: import("@elaraai/east").NullType;
442
- replace: StructType<{
443
- before: DictType<StringType, StructType<{
444
- readonly work: StringType;
445
- readonly label: StringType;
446
- readonly start: DateTimeType;
447
- readonly end: DateTimeType;
448
- }>>;
449
- after: DictType<StringType, StructType<{
450
- readonly work: StringType;
451
- readonly label: StringType;
452
- readonly start: DateTimeType;
453
- readonly end: DateTimeType;
454
- }>>;
455
- }>;
456
- patch: DictType<StringType, import("@elaraai/east").VariantType<{
457
- delete: StructType<{
458
- readonly work: StringType;
459
- readonly label: StringType;
460
- readonly start: DateTimeType;
461
- readonly end: DateTimeType;
462
- }>;
463
- insert: StructType<{
464
- readonly work: StringType;
465
- readonly label: StringType;
466
- readonly start: DateTimeType;
467
- 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
+ }>>;
468
475
  }>;
469
- update: import("@elaraai/east").VariantType<{
470
- unchanged: import("@elaraai/east").NullType;
471
- replace: StructType<{
472
- before: StructType<{
473
- readonly work: StringType;
474
- readonly label: StringType;
475
- readonly start: DateTimeType;
476
- readonly end: DateTimeType;
477
- }>;
478
- after: StructType<{
479
- readonly work: StringType;
480
- readonly label: StringType;
481
- readonly start: DateTimeType;
482
- readonly end: DateTimeType;
483
- }>;
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;
484
482
  }>;
485
- patch: StructType<{
486
- readonly work: import("@elaraai/east").VariantType<{
487
- unchanged: import("@elaraai/east").NullType;
488
- replace: StructType<{
489
- before: StringType;
490
- after: StringType;
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;
491
497
  }>;
492
- }>;
493
- readonly label: import("@elaraai/east").VariantType<{
494
- unchanged: import("@elaraai/east").NullType;
495
- replace: StructType<{
496
- before: StringType;
497
- after: StringType;
498
+ after: StructType<{
499
+ readonly work: StringType;
500
+ readonly label: StringType;
501
+ readonly start: DateTimeType;
502
+ readonly end: DateTimeType;
498
503
  }>;
499
504
  }>;
500
- readonly start: import("@elaraai/east").VariantType<{
501
- unchanged: import("@elaraai/east").NullType;
502
- replace: StructType<{
503
- before: DateTimeType;
504
- after: DateTimeType;
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
+ }>;
505
512
  }>;
506
- }>;
507
- readonly end: import("@elaraai/east").VariantType<{
508
- unchanged: import("@elaraai/east").NullType;
509
- replace: StructType<{
510
- before: DateTimeType;
511
- after: DateTimeType;
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
+ }>;
512
533
  }>;
513
534
  }>;
514
535
  }>;
515
- }>;
516
- }>>;
517
- }>]>;
518
- /** The operations over the interval each runs: the canvas's window, and the rail's exact count of the operations in it. */
519
- export declare const planOperationsByTime: import("@elaraai/e3").RecordIndexDef<"plan_operations_by_time", DictType<StringType, StructType<{
520
- readonly work: StringType;
521
- readonly label: StringType;
522
- readonly start: DateTimeType;
523
- readonly end: DateTimeType;
524
- }>>, StructType<Record<never, never> & {
525
- __interval: IntegerType;
526
- } & {
527
- start: DateTimeType;
528
- }>, import("@elaraai/east").NullType, readonly ["start"]> & {
529
- interval: {
530
- readonly from: "start";
531
- readonly to: "end";
532
- };
533
- };
534
- /** The operations by their work order and the weeks they touch: a cell is the operations of fifty orders in one week. */
535
- export declare const planOperationsByWorkWeek: import("@elaraai/e3").RecordIndexDef<"plan_operations_by_work_week", DictType<StringType, StructType<{
536
- readonly work: StringType;
537
- readonly label: StringType;
538
- readonly start: DateTimeType;
539
- readonly end: DateTimeType;
540
- }>>, StructType<Record<never, never> & {
541
- __tile: DateTimeType;
542
- } & {
543
- work: StringType;
544
- }>, StructType<{
545
- readonly work: StringType;
546
- readonly label: StringType;
547
- readonly start: DateTimeType;
548
- readonly end: DateTimeType;
549
- }>, readonly ["__tile", "work"]> & {
550
- series: import("@elaraai/e3").TimeTileOf<{
551
- readonly key: "work";
552
- readonly from: "start";
553
- readonly to: "end";
554
- readonly tile: "week";
555
- }>;
556
- };
557
- /** How busy each work order is, a month at a time: what the canvas shades where the operations in view are too many to draw. */
558
- export declare const planOperationsByWorkMonth: import("@elaraai/e3").RecordIndexDef<"plan_operations_by_work_month", DictType<StringType, StructType<{
536
+ }>>;
537
+ }>]>;
538
+ }, DictType<StringType, StructType<{
559
539
  readonly work: StringType;
560
540
  readonly label: StringType;
561
541
  readonly start: DateTimeType;
562
542
  readonly end: DateTimeType;
563
- }>>, StructType<Record<never, never> & {
564
- __tile: DateTimeType;
565
- } & {
566
- work: StringType;
567
- }>, StructType<{
568
- readonly count: IntegerType;
569
- readonly ms: IntegerType;
570
- }>, readonly ["__tile", "work"]> & {
571
- summary: import("@elaraai/e3").TimeTileOf<{
572
- readonly key: "work";
573
- readonly from: "start";
574
- readonly to: "end";
575
- readonly tile: "month";
576
- }>;
577
- };
543
+ }>>>>;
578
544
  /**
579
545
  * The Sheet's 50,000 work orders on a Plan, a row each, and their operations
580
546
  * a record of their own placed on them (#1344, #1039). The work orders are a