@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
@@ -5,11 +5,14 @@
5
5
  import { ArrayType, BooleanType, DateTimeType, DictType, FunctionType, IntegerType, NullType, OptionType, StringType, StructType, VariantType, type EastType, type ExprType, type SubtypeExprOrValue } from "@elaraai/east";
6
6
  import { type UIElement } from "@elaraai/east-ui";
7
7
  import { RowSourceType, type RecordSlicesChromeOptions } from "@elaraai/east-ui/internal";
8
+ import type { OptimiseHandle } from "../utils/optimise.js";
8
9
  import { type ScheduleNamespace } from "../schedule/index.js";
10
+ import { ScheduleOptimiseRequestTypeFor, ScheduleOptimiseResultTypeFor } from "../schedule/optimise.js";
9
11
  import type { ScheduleEventKind } from "../schedule/events.js";
10
12
  import type { ScheduleResourceKind } from "../schedule/resources.js";
11
13
  import { type ScheduleTabDeclaration, type ScheduleLibraryTabConfig } from "../schedule/library.js";
12
14
  import { ScheduleCandidateType, ScheduleEventRefType } from "../schedule/types.js";
15
+ export { CalendarPagedType, createCalendarPaged } from "./paged.js";
13
16
  /** Calendar's layout: a time grid, resource columns or a horizontal timeline. */
14
17
  export declare const CalendarLayoutType: VariantType<{
15
18
  readonly calendar: NullType;
@@ -89,10 +92,14 @@ export declare const CalendarSettingsType: StructType<{
89
92
  }>;
90
93
  /**
91
94
  * Calendar's closed interface to its React renderer. The frame is a renderer detail.
95
+ * @property resources - The resource kinds, their rows resolved — none for a kind paged a window at a time, whose resources come through `paged`
96
+ * @property paged - A paged resource kind's resources a window at a time (#1424) — of the narrowing's, when its source of the slice narrows it; `none` while no resource kind is paged
92
97
  * @property slice - The narrowing's chrome: a Slice over the event kinds', the resource kinds' and the templates' records, one rail (#1343)
93
98
  * @property narrowed - Each source's narrowed keys, paged through its own data, by the source's name — a resource
94
- * kind's narrow its columns, rows and Choosers, a templates list's and a tab's their cards; an event kind reads its
95
- * own narrowing through its part
99
+ * kind's read whole narrow its columns, rows and Choosers, a templates list's and a tab's their cards; an event kind
100
+ * reads its own narrowing through its part, and a paged resource kind its windows
101
+ * @property optimise - The app's optimiser, by its `e3.function`'s name (#1409): what the Elara eye calls over the window in
102
+ * view, its result one edit of the session; `none`, no eye
96
103
  */
97
104
  export declare const CalendarPayloadType: StructType<{
98
105
  readonly events: ArrayType<StructType<{
@@ -216,7 +223,7 @@ export declare const CalendarPayloadType: StructType<{
216
223
  readonly readonly: NullType;
217
224
  }>;
218
225
  }>>;
219
- readonly items: FunctionType<[DateTimeType, DateTimeType, DictType<StringType, import("@elaraai/east").BlobType>], OptionType<ArrayType<StructType<{
226
+ readonly items: FunctionType<[DateTimeType, DateTimeType, DictType<StringType, import("@elaraai/east").BlobType>, OptionType<import("@elaraai/east").BlobType>], OptionType<ArrayType<StructType<{
220
227
  readonly kind: StringType;
221
228
  readonly key: StringType;
222
229
  readonly title: StringType;
@@ -240,7 +247,7 @@ export declare const CalendarPayloadType: StructType<{
240
247
  readonly minutes: IntegerType;
241
248
  readonly due: OptionType<DateTimeType>;
242
249
  }>>>>;
243
- readonly unscheduled: FunctionType<[DateTimeType, DateTimeType, DictType<StringType, import("@elaraai/east").BlobType>], OptionType<ArrayType<StructType<{
250
+ readonly unscheduled: FunctionType<[DateTimeType, DateTimeType, DictType<StringType, import("@elaraai/east").BlobType>, OptionType<import("@elaraai/east").BlobType>], OptionType<ArrayType<StructType<{
244
251
  readonly kind: StringType;
245
252
  readonly key: StringType;
246
253
  readonly title: StringType;
@@ -495,7 +502,7 @@ export declare const CalendarPayloadType: StructType<{
495
502
  readonly at: DateTimeType;
496
503
  readonly delta: OptionType<StringType>;
497
504
  }>>>>;
498
- readonly event: FunctionType<[StringType, DictType<StringType, import("@elaraai/east").BlobType>, DateTimeType, DateTimeType], OptionType<StructType<{
505
+ readonly event: FunctionType<[StringType, DictType<StringType, import("@elaraai/east").BlobType>, DateTimeType, DateTimeType, OptionType<OptionType<import("@elaraai/east").BlobType>>], OptionType<StructType<{
499
506
  readonly item: StructType<{
500
507
  readonly kind: StringType;
501
508
  readonly key: StringType;
@@ -528,12 +535,63 @@ export declare const CalendarPayloadType: StructType<{
528
535
  readonly end: StringType;
529
536
  readonly resource: OptionType<StringType>;
530
537
  readonly status: OptionType<StringType>;
538
+ readonly quantity: OptionType<StringType>;
539
+ readonly parts: OptionType<StringType>;
540
+ readonly withTimes: ArrayType<StringType>;
531
541
  }>;
532
542
  readonly overlaps: VariantType<{
533
543
  readonly warn: NullType;
534
544
  readonly allow: NullType;
535
545
  }>;
536
546
  readonly inspector: OptionType<FunctionType<[import("@elaraai/east").BlobType, FunctionType<[import("@elaraai/east").BlobType], NullType>], import("@elaraai/east").RecursiveType<import("@elaraai/east-ui").UIComponentNode>>>;
547
+ readonly seriesKey: FunctionType<[OptionType<StructType<{
548
+ readonly kind: StringType;
549
+ readonly key: StringType;
550
+ }>>], OptionType<StringType>>;
551
+ readonly cellsType: import("@elaraai/east").RecursiveType<VariantType<{
552
+ readonly Never: NullType;
553
+ readonly Null: NullType;
554
+ readonly Boolean: NullType;
555
+ readonly Integer: NullType;
556
+ readonly Float: NullType;
557
+ readonly String: NullType;
558
+ readonly DateTime: NullType;
559
+ readonly Blob: NullType;
560
+ readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
561
+ readonly Array: import("@elaraai/east").RecursiveTypeMarker;
562
+ readonly Set: import("@elaraai/east").RecursiveTypeMarker;
563
+ readonly Dict: StructType<{
564
+ readonly key: import("@elaraai/east").RecursiveTypeMarker;
565
+ readonly value: import("@elaraai/east").RecursiveTypeMarker;
566
+ }>;
567
+ readonly Struct: ArrayType<StructType<{
568
+ readonly name: StringType;
569
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
570
+ }>>;
571
+ readonly Variant: ArrayType<StructType<{
572
+ readonly name: StringType;
573
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
574
+ }>>;
575
+ readonly Recursive: VariantType<{
576
+ readonly ref: IntegerType;
577
+ readonly wrapper: StructType<{
578
+ readonly id: IntegerType;
579
+ readonly inner: import("@elaraai/east").RecursiveTypeMarker;
580
+ }>;
581
+ }>;
582
+ readonly Function: StructType<{
583
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
584
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
585
+ }>;
586
+ readonly AsyncFunction: StructType<{
587
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
588
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
589
+ }>;
590
+ readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
591
+ readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
592
+ }>>;
593
+ readonly count: FunctionType<[DateTimeType, DateTimeType], OptionType<IntegerType>>;
594
+ readonly countExact: BooleanType;
537
595
  }>>;
538
596
  readonly resources: ArrayType<StructType<{
539
597
  readonly key: StringType;
@@ -544,6 +602,131 @@ export declare const CalendarPayloadType: StructType<{
544
602
  readonly label: StringType;
545
603
  readonly meta: OptionType<StringType>;
546
604
  }>>;
605
+ readonly keyType: import("@elaraai/east").RecursiveType<VariantType<{
606
+ readonly Never: NullType;
607
+ readonly Null: NullType;
608
+ readonly Boolean: NullType;
609
+ readonly Integer: NullType;
610
+ readonly Float: NullType;
611
+ readonly String: NullType;
612
+ readonly DateTime: NullType;
613
+ readonly Blob: NullType;
614
+ readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
615
+ readonly Array: import("@elaraai/east").RecursiveTypeMarker;
616
+ readonly Set: import("@elaraai/east").RecursiveTypeMarker;
617
+ readonly Dict: StructType<{
618
+ readonly key: import("@elaraai/east").RecursiveTypeMarker;
619
+ readonly value: import("@elaraai/east").RecursiveTypeMarker;
620
+ }>;
621
+ readonly Struct: ArrayType<StructType<{
622
+ readonly name: StringType;
623
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
624
+ }>>;
625
+ readonly Variant: ArrayType<StructType<{
626
+ readonly name: StringType;
627
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
628
+ }>>;
629
+ readonly Recursive: VariantType<{
630
+ readonly ref: IntegerType;
631
+ readonly wrapper: StructType<{
632
+ readonly id: IntegerType;
633
+ readonly inner: import("@elaraai/east").RecursiveTypeMarker;
634
+ }>;
635
+ }>;
636
+ readonly Function: StructType<{
637
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
638
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
639
+ }>;
640
+ readonly AsyncFunction: StructType<{
641
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
642
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
643
+ }>;
644
+ readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
645
+ readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
646
+ }>>;
647
+ readonly rowType: import("@elaraai/east").RecursiveType<VariantType<{
648
+ readonly Never: NullType;
649
+ readonly Null: NullType;
650
+ readonly Boolean: NullType;
651
+ readonly Integer: NullType;
652
+ readonly Float: NullType;
653
+ readonly String: NullType;
654
+ readonly DateTime: NullType;
655
+ readonly Blob: NullType;
656
+ readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
657
+ readonly Array: import("@elaraai/east").RecursiveTypeMarker;
658
+ readonly Set: import("@elaraai/east").RecursiveTypeMarker;
659
+ readonly Dict: StructType<{
660
+ readonly key: import("@elaraai/east").RecursiveTypeMarker;
661
+ readonly value: import("@elaraai/east").RecursiveTypeMarker;
662
+ }>;
663
+ readonly Struct: ArrayType<StructType<{
664
+ readonly name: StringType;
665
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
666
+ }>>;
667
+ readonly Variant: ArrayType<StructType<{
668
+ readonly name: StringType;
669
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
670
+ }>>;
671
+ readonly Recursive: VariantType<{
672
+ readonly ref: IntegerType;
673
+ readonly wrapper: StructType<{
674
+ readonly id: IntegerType;
675
+ readonly inner: import("@elaraai/east").RecursiveTypeMarker;
676
+ }>;
677
+ }>;
678
+ readonly Function: StructType<{
679
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
680
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
681
+ }>;
682
+ readonly AsyncFunction: StructType<{
683
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
684
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
685
+ }>;
686
+ readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
687
+ readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
688
+ }>>;
689
+ readonly records: OptionType<FunctionType<[], import("@elaraai/east").BlobType>>;
690
+ }>>;
691
+ readonly paged: OptionType<StructType<{
692
+ readonly kind: StringType;
693
+ readonly id: StringType;
694
+ readonly rows: FunctionType<[IntegerType, IntegerType], OptionType<ArrayType<StructType<{
695
+ readonly key: StringType;
696
+ readonly label: StringType;
697
+ readonly meta: OptionType<StringType>;
698
+ }>>>>;
699
+ readonly keys: FunctionType<[IntegerType, IntegerType], OptionType<ArrayType<StringType>>>;
700
+ readonly total: FunctionType<[], OptionType<IntegerType>>;
701
+ readonly revision: FunctionType<[], OptionType<StringType>>;
702
+ readonly refresh: FunctionType<[OptionType<StringType>], NullType>;
703
+ readonly query: OptionType<FunctionType<[], StringType>>;
704
+ readonly seek: OptionType<FunctionType<[VariantType<{
705
+ readonly key: StringType;
706
+ readonly prefix: StringType;
707
+ readonly fields: StructType<{
708
+ readonly values: ArrayType<StringType>;
709
+ readonly prefix: OptionType<StringType>;
710
+ }>;
711
+ readonly range: StructType<{
712
+ readonly from: ArrayType<StringType>;
713
+ readonly to: ArrayType<StringType>;
714
+ }>;
715
+ }>], OptionType<StructType<{
716
+ readonly found: BooleanType;
717
+ readonly row: IntegerType;
718
+ readonly count: IntegerType;
719
+ }>>>>;
720
+ readonly entries: FunctionType<[IntegerType, IntegerType], OptionType<ArrayType<StructType<{
721
+ readonly key: StringType;
722
+ readonly label: StringType;
723
+ readonly meta: OptionType<StringType>;
724
+ }>>>>;
725
+ readonly byKey: FunctionType<[StringType], OptionType<OptionType<StructType<{
726
+ readonly key: StringType;
727
+ readonly label: StringType;
728
+ readonly meta: OptionType<StringType>;
729
+ }>>>>;
547
730
  }>>;
548
731
  readonly settings: StructType<{
549
732
  readonly layout: VariantType<{
@@ -714,6 +897,39 @@ export declare const CalendarPayloadType: StructType<{
714
897
  readonly to: import("@elaraai/east").StringType;
715
898
  readonly optional: import("@elaraai/east").BooleanType;
716
899
  }>>;
900
+ readonly area: OptionType<StructType<{
901
+ readonly x: import("@elaraai/east").StringType;
902
+ readonly y: import("@elaraai/east").StringType;
903
+ readonly width: OptionType<import("@elaraai/east").StringType>;
904
+ readonly height: OptionType<import("@elaraai/east").StringType>;
905
+ readonly centre: import("@elaraai/east").BooleanType;
906
+ readonly cell: import("@elaraai/east").FloatType;
907
+ readonly optional: import("@elaraai/east").BooleanType;
908
+ }>>;
909
+ readonly series: OptionType<StructType<{
910
+ readonly key: import("@elaraai/east").StringType;
911
+ readonly from: import("@elaraai/east").StringType;
912
+ readonly to: import("@elaraai/east").StringType;
913
+ readonly tile: VariantType<{
914
+ readonly day: NullType;
915
+ readonly week: NullType;
916
+ readonly month: NullType;
917
+ readonly quarter: NullType;
918
+ readonly year: NullType;
919
+ }>;
920
+ }>>;
921
+ readonly summary: OptionType<StructType<{
922
+ readonly key: import("@elaraai/east").StringType;
923
+ readonly from: import("@elaraai/east").StringType;
924
+ readonly to: import("@elaraai/east").StringType;
925
+ readonly tile: VariantType<{
926
+ readonly day: NullType;
927
+ readonly week: NullType;
928
+ readonly month: NullType;
929
+ readonly quarter: NullType;
930
+ readonly year: NullType;
931
+ }>;
932
+ }>>;
717
933
  }>>;
718
934
  readonly range: OptionType<import("@elaraai/east").StringType>;
719
935
  readonly search: ArrayType<import("@elaraai/east").StringType>;
@@ -776,14 +992,25 @@ export declare const CalendarPayloadType: StructType<{
776
992
  readonly clear: import("@elaraai/east").FunctionType<[import("@elaraai/east").StringType], NullType>;
777
993
  readonly clearAll: import("@elaraai/east").FunctionType<[], NullType>;
778
994
  readonly count: import("@elaraai/east").FunctionType<[], OptionType<import("@elaraai/east").IntegerType>>;
779
- readonly countWhere: import("@elaraai/east").FunctionType<[import("@elaraai/east").DictType<import("@elaraai/east").StringType, VariantType<{
780
- readonly values: ArrayType<import("@elaraai/east").StringType>;
781
- readonly range: StructType<{
782
- readonly from: import("@elaraai/east").StringType;
783
- readonly to: import("@elaraai/east").StringType;
784
- }>;
785
- readonly prefix: import("@elaraai/east").StringType;
786
- }>>], OptionType<import("@elaraai/east").IntegerType>>;
995
+ readonly countWhere: import("@elaraai/east").FunctionType<[StructType<{
996
+ readonly where: import("@elaraai/east").DictType<import("@elaraai/east").StringType, VariantType<{
997
+ readonly values: ArrayType<import("@elaraai/east").StringType>;
998
+ readonly range: StructType<{
999
+ readonly from: import("@elaraai/east").StringType;
1000
+ readonly to: import("@elaraai/east").StringType;
1001
+ }>;
1002
+ readonly prefix: import("@elaraai/east").StringType;
1003
+ }>>;
1004
+ readonly area: OptionType<VariantType<{
1005
+ readonly window: StructType<{
1006
+ readonly minX: import("@elaraai/east").FloatType;
1007
+ readonly minY: import("@elaraai/east").FloatType;
1008
+ readonly maxX: import("@elaraai/east").FloatType;
1009
+ readonly maxY: import("@elaraai/east").FloatType;
1010
+ }>;
1011
+ readonly unplaced: NullType;
1012
+ }>>;
1013
+ }>], OptionType<import("@elaraai/east").IntegerType>>;
787
1014
  readonly total: import("@elaraai/east").FunctionType<[], OptionType<import("@elaraai/east").IntegerType>>;
788
1015
  readonly domain: import("@elaraai/east").FunctionType<[import("@elaraai/east").StringType], OptionType<StructType<{
789
1016
  readonly from: import("@elaraai/east").StringType;
@@ -872,6 +1099,9 @@ export declare const CalendarPayloadType: StructType<{
872
1099
  readonly key: StringType;
873
1100
  }>>;
874
1101
  }>], OptionType<StringType>>>;
1102
+ readonly optimise: OptionType<StructType<{
1103
+ readonly name: StringType;
1104
+ }>>;
875
1105
  readonly onSelect: OptionType<FunctionType<[StructType<{
876
1106
  readonly kind: StringType;
877
1107
  readonly key: StringType;
@@ -1001,7 +1231,7 @@ export declare const CalendarComponent: import("@elaraai/east-ui").UIComponentDe
1001
1231
  readonly readonly: NullType;
1002
1232
  }>;
1003
1233
  }>>;
1004
- readonly items: FunctionType<[DateTimeType, DateTimeType, DictType<StringType, import("@elaraai/east").BlobType>], OptionType<ArrayType<StructType<{
1234
+ readonly items: FunctionType<[DateTimeType, DateTimeType, DictType<StringType, import("@elaraai/east").BlobType>, OptionType<import("@elaraai/east").BlobType>], OptionType<ArrayType<StructType<{
1005
1235
  readonly kind: StringType;
1006
1236
  readonly key: StringType;
1007
1237
  readonly title: StringType;
@@ -1025,7 +1255,7 @@ export declare const CalendarComponent: import("@elaraai/east-ui").UIComponentDe
1025
1255
  readonly minutes: IntegerType;
1026
1256
  readonly due: OptionType<DateTimeType>;
1027
1257
  }>>>>;
1028
- readonly unscheduled: FunctionType<[DateTimeType, DateTimeType, DictType<StringType, import("@elaraai/east").BlobType>], OptionType<ArrayType<StructType<{
1258
+ readonly unscheduled: FunctionType<[DateTimeType, DateTimeType, DictType<StringType, import("@elaraai/east").BlobType>, OptionType<import("@elaraai/east").BlobType>], OptionType<ArrayType<StructType<{
1029
1259
  readonly kind: StringType;
1030
1260
  readonly key: StringType;
1031
1261
  readonly title: StringType;
@@ -1280,7 +1510,7 @@ export declare const CalendarComponent: import("@elaraai/east-ui").UIComponentDe
1280
1510
  readonly at: DateTimeType;
1281
1511
  readonly delta: OptionType<StringType>;
1282
1512
  }>>>>;
1283
- readonly event: FunctionType<[StringType, DictType<StringType, import("@elaraai/east").BlobType>, DateTimeType, DateTimeType], OptionType<StructType<{
1513
+ readonly event: FunctionType<[StringType, DictType<StringType, import("@elaraai/east").BlobType>, DateTimeType, DateTimeType, OptionType<OptionType<import("@elaraai/east").BlobType>>], OptionType<StructType<{
1284
1514
  readonly item: StructType<{
1285
1515
  readonly kind: StringType;
1286
1516
  readonly key: StringType;
@@ -1313,12 +1543,63 @@ export declare const CalendarComponent: import("@elaraai/east-ui").UIComponentDe
1313
1543
  readonly end: StringType;
1314
1544
  readonly resource: OptionType<StringType>;
1315
1545
  readonly status: OptionType<StringType>;
1546
+ readonly quantity: OptionType<StringType>;
1547
+ readonly parts: OptionType<StringType>;
1548
+ readonly withTimes: ArrayType<StringType>;
1316
1549
  }>;
1317
1550
  readonly overlaps: VariantType<{
1318
1551
  readonly warn: NullType;
1319
1552
  readonly allow: NullType;
1320
1553
  }>;
1321
1554
  readonly inspector: OptionType<FunctionType<[import("@elaraai/east").BlobType, FunctionType<[import("@elaraai/east").BlobType], NullType>], import("@elaraai/east").RecursiveType<import("@elaraai/east-ui").UIComponentNode>>>;
1555
+ readonly seriesKey: FunctionType<[OptionType<StructType<{
1556
+ readonly kind: StringType;
1557
+ readonly key: StringType;
1558
+ }>>], OptionType<StringType>>;
1559
+ readonly cellsType: import("@elaraai/east").RecursiveType<VariantType<{
1560
+ readonly Never: NullType;
1561
+ readonly Null: NullType;
1562
+ readonly Boolean: NullType;
1563
+ readonly Integer: NullType;
1564
+ readonly Float: NullType;
1565
+ readonly String: NullType;
1566
+ readonly DateTime: NullType;
1567
+ readonly Blob: NullType;
1568
+ readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
1569
+ readonly Array: import("@elaraai/east").RecursiveTypeMarker;
1570
+ readonly Set: import("@elaraai/east").RecursiveTypeMarker;
1571
+ readonly Dict: StructType<{
1572
+ readonly key: import("@elaraai/east").RecursiveTypeMarker;
1573
+ readonly value: import("@elaraai/east").RecursiveTypeMarker;
1574
+ }>;
1575
+ readonly Struct: ArrayType<StructType<{
1576
+ readonly name: StringType;
1577
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
1578
+ }>>;
1579
+ readonly Variant: ArrayType<StructType<{
1580
+ readonly name: StringType;
1581
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
1582
+ }>>;
1583
+ readonly Recursive: VariantType<{
1584
+ readonly ref: IntegerType;
1585
+ readonly wrapper: StructType<{
1586
+ readonly id: IntegerType;
1587
+ readonly inner: import("@elaraai/east").RecursiveTypeMarker;
1588
+ }>;
1589
+ }>;
1590
+ readonly Function: StructType<{
1591
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
1592
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
1593
+ }>;
1594
+ readonly AsyncFunction: StructType<{
1595
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
1596
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
1597
+ }>;
1598
+ readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
1599
+ readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
1600
+ }>>;
1601
+ readonly count: FunctionType<[DateTimeType, DateTimeType], OptionType<IntegerType>>;
1602
+ readonly countExact: BooleanType;
1322
1603
  }>>;
1323
1604
  readonly resources: ArrayType<StructType<{
1324
1605
  readonly key: StringType;
@@ -1329,6 +1610,131 @@ export declare const CalendarComponent: import("@elaraai/east-ui").UIComponentDe
1329
1610
  readonly label: StringType;
1330
1611
  readonly meta: OptionType<StringType>;
1331
1612
  }>>;
1613
+ readonly keyType: import("@elaraai/east").RecursiveType<VariantType<{
1614
+ readonly Never: NullType;
1615
+ readonly Null: NullType;
1616
+ readonly Boolean: NullType;
1617
+ readonly Integer: NullType;
1618
+ readonly Float: NullType;
1619
+ readonly String: NullType;
1620
+ readonly DateTime: NullType;
1621
+ readonly Blob: NullType;
1622
+ readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
1623
+ readonly Array: import("@elaraai/east").RecursiveTypeMarker;
1624
+ readonly Set: import("@elaraai/east").RecursiveTypeMarker;
1625
+ readonly Dict: StructType<{
1626
+ readonly key: import("@elaraai/east").RecursiveTypeMarker;
1627
+ readonly value: import("@elaraai/east").RecursiveTypeMarker;
1628
+ }>;
1629
+ readonly Struct: ArrayType<StructType<{
1630
+ readonly name: StringType;
1631
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
1632
+ }>>;
1633
+ readonly Variant: ArrayType<StructType<{
1634
+ readonly name: StringType;
1635
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
1636
+ }>>;
1637
+ readonly Recursive: VariantType<{
1638
+ readonly ref: IntegerType;
1639
+ readonly wrapper: StructType<{
1640
+ readonly id: IntegerType;
1641
+ readonly inner: import("@elaraai/east").RecursiveTypeMarker;
1642
+ }>;
1643
+ }>;
1644
+ readonly Function: StructType<{
1645
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
1646
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
1647
+ }>;
1648
+ readonly AsyncFunction: StructType<{
1649
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
1650
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
1651
+ }>;
1652
+ readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
1653
+ readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
1654
+ }>>;
1655
+ readonly rowType: import("@elaraai/east").RecursiveType<VariantType<{
1656
+ readonly Never: NullType;
1657
+ readonly Null: NullType;
1658
+ readonly Boolean: NullType;
1659
+ readonly Integer: NullType;
1660
+ readonly Float: NullType;
1661
+ readonly String: NullType;
1662
+ readonly DateTime: NullType;
1663
+ readonly Blob: NullType;
1664
+ readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
1665
+ readonly Array: import("@elaraai/east").RecursiveTypeMarker;
1666
+ readonly Set: import("@elaraai/east").RecursiveTypeMarker;
1667
+ readonly Dict: StructType<{
1668
+ readonly key: import("@elaraai/east").RecursiveTypeMarker;
1669
+ readonly value: import("@elaraai/east").RecursiveTypeMarker;
1670
+ }>;
1671
+ readonly Struct: ArrayType<StructType<{
1672
+ readonly name: StringType;
1673
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
1674
+ }>>;
1675
+ readonly Variant: ArrayType<StructType<{
1676
+ readonly name: StringType;
1677
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
1678
+ }>>;
1679
+ readonly Recursive: VariantType<{
1680
+ readonly ref: IntegerType;
1681
+ readonly wrapper: StructType<{
1682
+ readonly id: IntegerType;
1683
+ readonly inner: import("@elaraai/east").RecursiveTypeMarker;
1684
+ }>;
1685
+ }>;
1686
+ readonly Function: StructType<{
1687
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
1688
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
1689
+ }>;
1690
+ readonly AsyncFunction: StructType<{
1691
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
1692
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
1693
+ }>;
1694
+ readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
1695
+ readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
1696
+ }>>;
1697
+ readonly records: OptionType<FunctionType<[], import("@elaraai/east").BlobType>>;
1698
+ }>>;
1699
+ readonly paged: OptionType<StructType<{
1700
+ readonly kind: StringType;
1701
+ readonly id: StringType;
1702
+ readonly rows: FunctionType<[IntegerType, IntegerType], OptionType<ArrayType<StructType<{
1703
+ readonly key: StringType;
1704
+ readonly label: StringType;
1705
+ readonly meta: OptionType<StringType>;
1706
+ }>>>>;
1707
+ readonly keys: FunctionType<[IntegerType, IntegerType], OptionType<ArrayType<StringType>>>;
1708
+ readonly total: FunctionType<[], OptionType<IntegerType>>;
1709
+ readonly revision: FunctionType<[], OptionType<StringType>>;
1710
+ readonly refresh: FunctionType<[OptionType<StringType>], NullType>;
1711
+ readonly query: OptionType<FunctionType<[], StringType>>;
1712
+ readonly seek: OptionType<FunctionType<[VariantType<{
1713
+ readonly key: StringType;
1714
+ readonly prefix: StringType;
1715
+ readonly fields: StructType<{
1716
+ readonly values: ArrayType<StringType>;
1717
+ readonly prefix: OptionType<StringType>;
1718
+ }>;
1719
+ readonly range: StructType<{
1720
+ readonly from: ArrayType<StringType>;
1721
+ readonly to: ArrayType<StringType>;
1722
+ }>;
1723
+ }>], OptionType<StructType<{
1724
+ readonly found: BooleanType;
1725
+ readonly row: IntegerType;
1726
+ readonly count: IntegerType;
1727
+ }>>>>;
1728
+ readonly entries: FunctionType<[IntegerType, IntegerType], OptionType<ArrayType<StructType<{
1729
+ readonly key: StringType;
1730
+ readonly label: StringType;
1731
+ readonly meta: OptionType<StringType>;
1732
+ }>>>>;
1733
+ readonly byKey: FunctionType<[StringType], OptionType<OptionType<StructType<{
1734
+ readonly key: StringType;
1735
+ readonly label: StringType;
1736
+ readonly meta: OptionType<StringType>;
1737
+ }>>>>;
1332
1738
  }>>;
1333
1739
  readonly settings: StructType<{
1334
1740
  readonly layout: VariantType<{
@@ -1499,6 +1905,39 @@ export declare const CalendarComponent: import("@elaraai/east-ui").UIComponentDe
1499
1905
  readonly to: import("@elaraai/east").StringType;
1500
1906
  readonly optional: import("@elaraai/east").BooleanType;
1501
1907
  }>>;
1908
+ readonly area: OptionType<StructType<{
1909
+ readonly x: import("@elaraai/east").StringType;
1910
+ readonly y: import("@elaraai/east").StringType;
1911
+ readonly width: OptionType<import("@elaraai/east").StringType>;
1912
+ readonly height: OptionType<import("@elaraai/east").StringType>;
1913
+ readonly centre: import("@elaraai/east").BooleanType;
1914
+ readonly cell: import("@elaraai/east").FloatType;
1915
+ readonly optional: import("@elaraai/east").BooleanType;
1916
+ }>>;
1917
+ readonly series: OptionType<StructType<{
1918
+ readonly key: import("@elaraai/east").StringType;
1919
+ readonly from: import("@elaraai/east").StringType;
1920
+ readonly to: import("@elaraai/east").StringType;
1921
+ readonly tile: VariantType<{
1922
+ readonly day: NullType;
1923
+ readonly week: NullType;
1924
+ readonly month: NullType;
1925
+ readonly quarter: NullType;
1926
+ readonly year: NullType;
1927
+ }>;
1928
+ }>>;
1929
+ readonly summary: OptionType<StructType<{
1930
+ readonly key: import("@elaraai/east").StringType;
1931
+ readonly from: import("@elaraai/east").StringType;
1932
+ readonly to: import("@elaraai/east").StringType;
1933
+ readonly tile: VariantType<{
1934
+ readonly day: NullType;
1935
+ readonly week: NullType;
1936
+ readonly month: NullType;
1937
+ readonly quarter: NullType;
1938
+ readonly year: NullType;
1939
+ }>;
1940
+ }>>;
1502
1941
  }>>;
1503
1942
  readonly range: OptionType<import("@elaraai/east").StringType>;
1504
1943
  readonly search: ArrayType<import("@elaraai/east").StringType>;
@@ -1561,14 +2000,25 @@ export declare const CalendarComponent: import("@elaraai/east-ui").UIComponentDe
1561
2000
  readonly clear: import("@elaraai/east").FunctionType<[import("@elaraai/east").StringType], NullType>;
1562
2001
  readonly clearAll: import("@elaraai/east").FunctionType<[], NullType>;
1563
2002
  readonly count: import("@elaraai/east").FunctionType<[], OptionType<import("@elaraai/east").IntegerType>>;
1564
- readonly countWhere: import("@elaraai/east").FunctionType<[import("@elaraai/east").DictType<import("@elaraai/east").StringType, VariantType<{
1565
- readonly values: ArrayType<import("@elaraai/east").StringType>;
1566
- readonly range: StructType<{
1567
- readonly from: import("@elaraai/east").StringType;
1568
- readonly to: import("@elaraai/east").StringType;
1569
- }>;
1570
- readonly prefix: import("@elaraai/east").StringType;
1571
- }>>], OptionType<import("@elaraai/east").IntegerType>>;
2003
+ readonly countWhere: import("@elaraai/east").FunctionType<[StructType<{
2004
+ readonly where: import("@elaraai/east").DictType<import("@elaraai/east").StringType, VariantType<{
2005
+ readonly values: ArrayType<import("@elaraai/east").StringType>;
2006
+ readonly range: StructType<{
2007
+ readonly from: import("@elaraai/east").StringType;
2008
+ readonly to: import("@elaraai/east").StringType;
2009
+ }>;
2010
+ readonly prefix: import("@elaraai/east").StringType;
2011
+ }>>;
2012
+ readonly area: OptionType<VariantType<{
2013
+ readonly window: StructType<{
2014
+ readonly minX: import("@elaraai/east").FloatType;
2015
+ readonly minY: import("@elaraai/east").FloatType;
2016
+ readonly maxX: import("@elaraai/east").FloatType;
2017
+ readonly maxY: import("@elaraai/east").FloatType;
2018
+ }>;
2019
+ readonly unplaced: NullType;
2020
+ }>>;
2021
+ }>], OptionType<import("@elaraai/east").IntegerType>>;
1572
2022
  readonly total: import("@elaraai/east").FunctionType<[], OptionType<import("@elaraai/east").IntegerType>>;
1573
2023
  readonly domain: import("@elaraai/east").FunctionType<[import("@elaraai/east").StringType], OptionType<StructType<{
1574
2024
  readonly from: import("@elaraai/east").StringType;
@@ -1657,6 +2107,9 @@ export declare const CalendarComponent: import("@elaraai/east-ui").UIComponentDe
1657
2107
  readonly key: StringType;
1658
2108
  }>>;
1659
2109
  }>], OptionType<StringType>>>;
2110
+ readonly optimise: OptionType<StructType<{
2111
+ readonly name: StringType;
2112
+ }>>;
1660
2113
  readonly onSelect: OptionType<FunctionType<[StructType<{
1661
2114
  readonly kind: StringType;
1662
2115
  readonly key: StringType;
@@ -1682,15 +2135,23 @@ declare function authorTab<K extends EastType, R extends EastType, P extends Eas
1682
2135
  export interface CalendarProps {
1683
2136
  /** Event kinds, each bound to its own record and patch mutation. */
1684
2137
  events: Readonly<Record<string, ScheduleEventKind<EastType, EastType>>>;
1685
- /** Resource kinds read from keyed data, commonly bound records. */
2138
+ /**
2139
+ * Resource kinds read from keyed data, commonly bound records — or one of them a paged read of its record
2140
+ * (`Calendar.resources(Data.bindPaged(record), { … })`, #1424): its resources come a window at a time, the timeline's
2141
+ * rows and the Resources view's columns the windows around the view, its Choosers searching it by key. An event kind
2142
+ * placed on it is read a cell at a time: its source of the slice lists a series index and a summary index of its
2143
+ * record (`index.series`, `index.summary`, filed by its resource field over its own times) beside
2144
+ * its interval index, or it is refused.
2145
+ */
1686
2146
  resources?: Readonly<Record<string, ScheduleResourceKind<EastType, EastType>>>;
1687
2147
  /**
1688
2148
  * The narrowing: `Slice.bindRecords(key, { … })`, one rail, a source per record it narrows (#1343). A source named
1689
2149
  * after an event kind's slot (`job`) narrows that kind's events in every layout, its backlog and its choices,
1690
2150
  * through its interval index — its `range` the kind's start field, which the Calendar's navigation writes in
1691
2151
  * every event source at once — and the kind gives `entries` beside it. A source named after a resource kind's slot
1692
- * (`machines`) narrows its columns, rows and choices. A source a templates list or a tab names narrows its cards.
1693
- * Overlaps and checks read every event. Omitted, no Slice controls.
2152
+ * (`machines`) narrows its columns, rows and choices — a paged kind's windows are its narrowed rows themselves,
2153
+ * `Data.bindPaged(record, { indexes })` over the kind's own record, in its index's order (#1424). A source a templates
2154
+ * list or a tab names narrows its cards. Overlaps and checks read every event. Omitted, no Slice controls.
1694
2155
  */
1695
2156
  slice?: RecordSlicesChromeOptions;
1696
2157
  /** The library's tabs, in order; omitted or empty, no start pane. */
@@ -1721,6 +2182,16 @@ export interface CalendarProps {
1721
2182
  now?: SubtypeExprOrValue<DateTimeType>;
1722
2183
  /** Refuses a candidate placement with a message; none permits it. */
1723
2184
  canDrop?: SubtypeExprOrValue<FunctionType<[typeof ScheduleCandidateType], OptionType<StringType>>>;
2185
+ /**
2186
+ * The app's optimiser (#1409): `Func.bind` of its `e3.function` from `Calendar.Types.OptimiseRequest(E, S)` — the window in
2187
+ * view, the run number, every event kind's rows in the window and its backlog by slot and by key, and the resource kinds'
2188
+ * rows as context — to `Calendar.Types.OptimiseResult(E)`, the events complete. `E` and `S` are the kinds' row types by slot
2189
+ * (`Calendar.Types.OptimiseRequest({ job: Job }, { machines: Machine })`); a kind keyed otherwise than by String gives its
2190
+ * record type, `DictType(K, R)`. The Elara eye in the toolbar calls it once per run; the result lands in the session as one
2191
+ * edit, which one Undo reverts and Save commits with everything else. Omitted, no eye. The tag cannot see its kinds' row
2192
+ * types in TypeScript, so it checks the handle at build, and refuses one over other rows naming both.
2193
+ */
2194
+ optimise?: OptimiseHandle;
1724
2195
  /** Observes each selected event's kind and record key. */
1725
2196
  onSelect?: SubtypeExprOrValue<FunctionType<[typeof ScheduleEventRefType], NullType>>;
1726
2197
  /** Keeps this calendar's view, library, panes and editing history distinct. */
@@ -1734,7 +2205,15 @@ export interface CalendarProps {
1734
2205
  * @throws {Error} When kinds or library tabs are invalid, a kind has no `title` (#1367), working hours are outside the
1735
2206
  * day, `slice` is not `Slice.bindRecords` or names a source no kind, templates list or tab names, a templates list is
1736
2207
  * written in the code or names no source of the slice (templates are records, #1340), or a tab names a source the
1737
- * slice lacks
2208
+ * slice lacks, or `optimise` is not `Func.bind` of a function from `OptimiseRequest(E, S)` to `OptimiseResult(E)` over
2209
+ * the kinds' rows (#1409); more than one resource kind is paged, or an event kind is placed on the paged kind and on
2210
+ * another, or with no source of the slice — its record read whole, or the days in view read through its day index —
2211
+ * each naming the series and summary indexes to declare over the kind's own fields (#1424). The series and summary
2212
+ * indexes an event kind's source lists are refused in the same words as the Calendar is evaluated, the source's
2213
+ * indexes read only then: one filed by another field than the kind's resource, or over other times than its events';
2214
+ * a series index for a kind not placed on the paged kind alone; two series, or two summaries, by one tile over the
2215
+ * same fields; a series index with no summary beside it; and, for a kind on the paged kind, a source listing no
2216
+ * series index
1738
2217
  * @internal
1739
2218
  */
1740
2219
  export declare function createCalendarPayload(props: CalendarProps): ExprType<typeof CalendarPayloadType>;
@@ -1748,11 +2227,15 @@ export interface CalendarNamespace extends Omit<ScheduleNamespace, "Types"> {
1748
2227
  backlog: typeof backlogTab;
1749
2228
  tab: typeof authorTab;
1750
2229
  };
1751
- /** Shared schedule types and Calendar's view state. */
2230
+ /** Shared schedule types, Calendar's view state, and the optimiser's request and answer over its kinds (#1409). */
1752
2231
  Types: ScheduleNamespace["Types"] & {
1753
2232
  Layout: typeof CalendarLayoutType;
1754
2233
  Period: typeof CalendarPeriodType;
1755
2234
  View: typeof CalendarViewType;
2235
+ /** `OptimiseRequest(E, S)` — what the app's optimiser is asked: the window, the run, every event kind's rows and the resource kinds' by slot. */
2236
+ OptimiseRequest: typeof ScheduleOptimiseRequestTypeFor;
2237
+ /** `OptimiseResult(E)` — what it answers: the events, complete. */
2238
+ OptimiseResult: typeof ScheduleOptimiseResultTypeFor;
1756
2239
  };
1757
2240
  }
1758
2241
  /**
@@ -1775,14 +2258,18 @@ export interface CalendarNamespace extends Omit<ScheduleNamespace, "Types"> {
1775
2258
  * import e3 from "@elaraai/e3";
1776
2259
  *
1777
2260
  * export const CalendarAppointment = StructType({ title: StringType, start: DateTimeType, end: DateTimeType });
1778
- * export const calendarAppointments = e3.record("calendar_appointments", DictType(StringType, CalendarAppointment), new Map([
1779
- * ["check", { title: "Safety check", start: new Date("2026-10-01T09:00:00Z"), end: new Date("2026-10-01T10:00:00Z") }],
1780
- * ["review", { title: "Production review", start: new Date("2026-10-01T11:00:00Z"), end: new Date("2026-10-01T12:00:00Z") }],
1781
- * ]));
1782
- * export const calendarAppointmentsPatch = e3.mutation.patch(calendarAppointments);
2261
+ * export const calendarAppointments = e3.record("calendar_appointments", DictType(StringType, CalendarAppointment), {
2262
+ * initial: new Map([
2263
+ * ["check", { title: "Safety check", start: new Date("2026-10-01T09:00:00Z"), end: new Date("2026-10-01T10:00:00Z") }],
2264
+ * ["review", { title: "Production review", start: new Date("2026-10-01T11:00:00Z"), end: new Date("2026-10-01T12:00:00Z") }],
2265
+ * ]),
2266
+ * mutations: (mutation) => ({
2267
+ * patch: mutation.patch(),
2268
+ * }),
2269
+ * });
1783
2270
  *
1784
2271
  * const appointmentsCalendar = East.function([], UIComponentType, _$ => <Reactive>{$ => {
1785
- * const appointments = $.let(Record.bind(calendarAppointments, [calendarAppointmentsPatch]));
2272
+ * const appointments = $.let(Record.bind(calendarAppointments));
1786
2273
  * return <Box height="640px"><Calendar inspector view={{ period: "day", date: new Date("2026-10-01T00:00:00Z") }}
1787
2274
  * events={{ appointment: Calendar.events(appointments, { name: "Appointment", icon: "calendar", title: "title", start: "start", end: "end" }) }} />
1788
2275
  * </Box>;
@@ -1790,5 +2277,4 @@ export interface CalendarNamespace extends Omit<ScheduleNamespace, "Types"> {
1790
2277
  * ```
1791
2278
  */
1792
2279
  export declare const Calendar: CalendarNamespace;
1793
- export {};
1794
2280
  //# sourceMappingURL=index.d.ts.map