@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
@@ -1 +1 @@
1
- {"version":3,"file":"record.examples.d.ts","sourceRoot":"","sources":["../../../../test/bind/record/record.examples.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,sCAAsC;AACtC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAQ,WAAW,EAAE,QAAQ,EAAE,UAAU,EAAE,UAAU,EAAW,MAAM,eAAe,CAAC;AAQlH,eAAO,MAAM,OAAO,0JAAwC,CAAC;AAC7D,eAAO,MAAM,SAAS,4EACsE,CAAC;AAC7F,eAAO,MAAM,KAAK,6DACgD,CAAC;AAInE,eAAO,MAAM,IAAI,uEAEmG,CAAC;AAErH,eAAO,MAAM,gBAAgB,6CAwC3B,CAAC;AAEH,eAAO,MAAM,gBAAgB,6CAsB3B,CAAC;AAIH,eAAO,MAAM,OAAO;;;EAAqD,CAAC;AAC1E,eAAO,MAAM,IAAI;;;6GAA8D,CAAC;AAChF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAA0B,CAAC;AAOjD,eAAO,MAAM,WAAW;;;qHAAsE,CAAC;AAC/F,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAiC,CAAC;AAC/D,eAAO,MAAM,gBAAgB;;;;;CAG3B,CAAC;AACH,eAAO,MAAM,QAAQ;;;EAAqD,CAAC;AAC3E,eAAO,MAAM,QAAQ;;;;;;EAAgE,CAAC;AACtF,eAAO,MAAM,WAAW;;;;;;qHAAuE,CAAC;AAChG,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAiC,CAAC;AAC/D,eAAO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,MAAM,iBAAiB,6CAmB5B,CAAC"}
@@ -11,18 +11,22 @@ import e3 from "@elaraai/e3";
11
11
  // The package-side record + mutation definitions. `Record.bind` takes the
12
12
  // record def + its mutations — the state type, mutation names and arg types
13
13
  // all come from them, so the binding can never drift from the deployed record.
14
- export const counter = e3.record("counter", IntegerType, 0n);
15
- export const increment = e3.mutation.reduce("increment", counter, East.function([IntegerType, IntegerType], IntegerType, ($, state, by) => state.add(by)));
16
- export const reset = e3.mutation.reduce("reset", counter, East.function([IntegerType], IntegerType, (_$, _state) => 0n));
17
- // What the record runtime's specs write beside them (#1378): a take off the
18
- // counter that refuses to leave it below zero, so a mutation fails as a
19
- // reducer's program does.
20
- export const take = e3.mutation.reduce("take", counter, East.function([IntegerType, IntegerType], IntegerType, (_$, state, n) => East.less(state, n).ifElse(() => East.error("the counter holds fewer than that"), () => state.subtract(n))));
14
+ export const counter = e3.record("counter", IntegerType, {
15
+ initial: 0n,
16
+ mutations: (mutation) => ({
17
+ increment: mutation.reduce(East.function([IntegerType, IntegerType], IntegerType, ($, state, by) => state.add(by))),
18
+ reset: mutation.reduce(East.function([IntegerType], IntegerType, (_$, _state) => 0n)),
19
+ // What the record runtime's specs write beside them (#1378): a take off the
20
+ // counter that refuses to leave it below zero, so a mutation fails as a
21
+ // reducer's program does.
22
+ take: mutation.reduce(East.function([IntegerType, IntegerType], IntegerType, (_$, state, n) => East.less(state, n).ifElse(() => East.error("the counter holds fewer than that"), () => state.subtract(n)))),
23
+ }),
24
+ });
21
25
  export const recordBindMutate = example({
22
26
  keywords: ["Record", "bind", "mutate", "Reactive", "Button", "read", "pending", "status", "system of record"],
23
27
  description: "Bind an e3.record + its mutations; buttons apply typed mutations, a stat shows the current state, and the mutate lifecycle status is rendered",
24
28
  fn: East.function([], UIComponentType, (_$) => (_jsx(Reactive, { children: $ => {
25
- const r = $.let(Record.bind(counter, [increment, reset]));
29
+ const r = $.let(Record.bind(counter, ["increment", "reset"]));
26
30
  const status = $.let(r.mutate.status().getTag().upperCase());
27
31
  // Surface the failure detail so a failed mutation shows WHY, not just
28
32
  // that it failed.
@@ -50,7 +54,7 @@ export const recordBindStatus = example({
50
54
  keywords: ["Record", "bind", "status", "error", "lifecycle", "mutate"],
51
55
  description: "Render the mutation lifecycle (idle / running / committed / failed / cancelled) and any failure",
52
56
  fn: East.function([], UIComponentType, (_$) => (_jsx(Reactive, { children: $ => {
53
- const r = $.let(Record.bind(counter, [increment]));
57
+ const r = $.let(Record.bind(counter, ["increment"]));
54
58
  const bump = $.const(East.function([], NullType, $ => { $(r.mutate.increment(1n)); }));
55
59
  const statusLine = $.let(r.mutate.status().getTag().upperCase());
56
60
  const detail = $.let(r.mutate.error().match({
@@ -64,34 +68,50 @@ export const recordBindStatus = example({
64
68
  // A keyed record a Sheet edits — each job's key is its id — and its patch
65
69
  // door, which every Save commits through.
66
70
  export const JobType = StructType({ task: StringType, qty: IntegerType });
67
- export const jobs = e3.record("jobs", DictType(StringType, JobType), new Map());
68
- export const jobsPatch = e3.mutation.patch(jobs);
71
+ export const jobs = e3.record("jobs", DictType(StringType, JobType), {
72
+ initial: new Map(),
73
+ mutations: (mutation) => ({
74
+ patch: mutation.patch(),
75
+ }),
76
+ });
69
77
  // The records `Record.onApply`'s specs commit through beside the jobs (#1378),
70
78
  // each through its patch door: jobs whose index refuses a quantity below zero,
71
79
  // so a write fails as an index's program does; a page whose cells a layout
72
80
  // edits inside its one entry; and a week whose groups and loose tasks a Sheet
73
81
  // edits inside its entry.
74
- export const checkedJobs = e3.record("checked_jobs", DictType(StringType, JobType), new Map());
75
- export const checkedJobsPatch = e3.mutation.patch(checkedJobs);
76
- export const checkedJobsByQty = e3.recordIndex("checked_jobs_by_qty", checkedJobs, {
77
- key: East.function([StringType, JobType], IntegerType, (_$, _id, job) => East.less(job.qty, 0n).ifElse(() => East.error("a job's quantity is never below zero"), () => job.qty)),
82
+ export const checkedJobs = e3.record("checked_jobs", DictType(StringType, JobType), {
83
+ initial: new Map(),
84
+ indexes: (index) => ({
85
+ checked_jobs_by_qty: index.key(East.function([StringType, JobType], IntegerType, (_$, _id, job) => East.less(job.qty, 0n).ifElse(() => East.error("a job's quantity is never below zero"), () => job.qty))),
86
+ }),
87
+ mutations: (mutation) => ({
88
+ patch: mutation.patch(),
89
+ }),
78
90
  });
79
91
  export const CellType = StructType({ key: StringType, span: IntegerType });
80
92
  export const PageType = StructType({ title: StringType, cells: ArrayType(CellType) });
81
- export const layoutPages = e3.record("layout_pages", DictType(StringType, PageType), new Map());
82
- export const layoutPagesPatch = e3.mutation.patch(layoutPages);
93
+ export const layoutPages = e3.record("layout_pages", DictType(StringType, PageType), {
94
+ initial: new Map(),
95
+ mutations: (mutation) => ({
96
+ patch: mutation.patch(),
97
+ }),
98
+ });
83
99
  export const WeekLineType = StructType({ id: StringType, task: StringType });
84
100
  export const WeekGroupType = StructType({ id: StringType, name: StringType, lines: ArrayType(WeekLineType) });
85
101
  export const WeekEntryType = Editing.Types.Entry(WeekGroupType, "lines");
86
102
  export const WeekType = StructType({ title: StringType, entries: ArrayType(WeekEntryType) });
87
- export const plannedWeeks = e3.record("planned_weeks", DictType(StringType, WeekType), new Map());
88
- export const plannedWeeksPatch = e3.mutation.patch(plannedWeeks);
103
+ export const plannedWeeks = e3.record("planned_weeks", DictType(StringType, WeekType), {
104
+ initial: new Map(),
105
+ mutations: (mutation) => ({
106
+ patch: mutation.patch(),
107
+ }),
108
+ });
89
109
  export const recordSheetApply = example({
90
110
  keywords: ["Record", "onApply", "Sheet", "Save", "patch", "commit", "conflict", "discard", "bindPaged", "editing", "system of record"],
91
111
  description: "A Sheet over a record: its rows paged from the record, each Save one commit through the record's patch door — a stale Save is a conflict naming the entry, and nothing is overwritten",
92
112
  fn: East.function([], UIComponentType, (_$) => (_jsx(Reactive, { children: $ => {
93
113
  const rows = $.let(Data.bindPaged(jobs));
94
- const record = $.let(Record.bind(jobs, [jobsPatch]));
114
+ const record = $.let(Record.bind(jobs));
95
115
  return (_jsx(Box, { height: "360px", children: _jsx(Sheet, { data: rows, columns: {
96
116
  task: Sheet.column.text(JobType, { header: "Task", width: "220px" }),
97
117
  qty: Sheet.column.integer(JobType, { header: "Qty", width: "96px" }),
@@ -103,7 +123,7 @@ export const recordBindHistory = example({
103
123
  keywords: ["Record", "bind", "history", "audit", "commit", "chain"],
104
124
  description: "Read the record's commit history (the audit trail) alongside its current value",
105
125
  fn: East.function([], UIComponentType, (_$) => (_jsx(Reactive, { children: $ => {
106
- const r = $.let(Record.bind(counter, [increment]));
126
+ const r = $.let(Record.bind(counter, ["increment"]));
107
127
  const count = $.let(r.history().match({
108
128
  some: (_$, commits) => commits.size(),
109
129
  none: _$ => 0n,
@@ -1 +1 @@
1
- {"version":3,"file":"record.examples.js","sourceRoot":"","sources":["../../../../test/bind/record/record.examples.tsx"],"names":[],"mappings":";AAAA;;;GAGG;AACH,sCAAsC;AACtC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAClH,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC/G,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,MAAM,aAAa,CAAC;AAE7B,0EAA0E;AAC1E,4EAA4E;AAC5E,+EAA+E;AAC/E,MAAM,CAAC,MAAM,OAAO,GAAG,EAAE,CAAC,MAAM,CAAC,SAAS,EAAE,WAAW,EAAE,EAAE,CAAC,CAAC;AAC7D,MAAM,CAAC,MAAM,SAAS,GAAG,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,WAAW,EAAE,OAAO,EAC5D,IAAI,CAAC,QAAQ,CAAC,CAAC,WAAW,EAAE,W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,cAAE,CAAC,CAAC,EAAE;YACX,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;YACrD,MAAM,KAAK,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,KAAK,CAAC;gBAClC,IAAI,EAAE,CAAC,EAAE,EAAE,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,EAAE;gBACrC,IAAI,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE;aACjB,CAAC,CAAC,CAAC;YACJ,OAAO,CACH,MAAC,MAAM,IAAC,GAAG,EAAC,GAAG,EAAC,KAAK,EAAC,SAAS,aAC3B,KAAC,IAAI,IAAC,KAAK,EAAC,SAAS,EAAC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,GAAI,EACrD,KAAC,IAAI,CAAC,SAAS,cAAE,IAAI,CAAC,GAAG,CAAA,GAAG,KAAK,UAAU,GAAkB,IACxD,CACZ,CAAC;QACN,CAAC,GAAY,CAChB,CAAC;IACF,MAAM,EAAE,EAAE;CACb,CAAC,CAAC"}
@@ -21,208 +21,200 @@ export declare const indexedCalendarEvents: e3.RecordDef<DictType<StringType, St
21
21
  readonly machine: StringType;
22
22
  readonly status: StringType;
23
23
  readonly customer: StringType;
24
- }>>, [variant<"field", "records">, variant<"field", "indexed_calendar_events">]>;
25
- export declare const indexedCalendarPatch: e3.MutationDef<"patch", DictType<StringType, StructType<{
24
+ }>>, [variant<"field", "records">, variant<"field", "indexed_calendar_events">], e3.IndexesOf<{
25
+ calendar_by_time: e3.IndexDraft<StructType<{
26
+ on: StructType<Record<never, never>>;
27
+ node: import("@elaraai/east").IntegerType;
28
+ at: OptionType<DateTimeType>;
29
+ }>, import("@elaraai/east").NullType, readonly [], {
30
+ readonly interval: {
31
+ readonly from: "start";
32
+ readonly to: "end";
33
+ };
34
+ }>;
35
+ calendar_by_status_time: e3.IndexDraft<StructType<{
36
+ on: StructType<{
37
+ status: StringType;
38
+ }>;
39
+ node: import("@elaraai/east").IntegerType;
40
+ at: OptionType<DateTimeType>;
41
+ }>, import("@elaraai/east").NullType, readonly ["status"], {
42
+ readonly interval: {
43
+ readonly from: "start";
44
+ readonly to: "end";
45
+ };
46
+ }>;
47
+ calendar_by_machine_time: e3.IndexDraft<StructType<{
48
+ on: StructType<{
49
+ machine: StringType;
50
+ }>;
51
+ node: import("@elaraai/east").IntegerType;
52
+ at: OptionType<DateTimeType>;
53
+ }>, import("@elaraai/east").NullType, readonly ["machine"], {
54
+ readonly interval: {
55
+ readonly from: "start";
56
+ readonly to: "end";
57
+ };
58
+ }>;
59
+ }, DictType<StringType, StructType<{
26
60
  readonly title: StringType;
27
61
  readonly start: OptionType<DateTimeType>;
28
62
  readonly end: OptionType<DateTimeType>;
29
63
  readonly machine: StringType;
30
64
  readonly status: StringType;
31
65
  readonly customer: StringType;
32
- }>>, [import("@elaraai/east").VariantType<{
33
- unchanged: import("@elaraai/east").NullType;
34
- replace: StructType<{
35
- before: DictType<StringType, StructType<{
36
- readonly title: StringType;
37
- readonly start: OptionType<DateTimeType>;
38
- readonly end: OptionType<DateTimeType>;
39
- readonly machine: StringType;
40
- readonly status: StringType;
41
- readonly customer: StringType;
42
- }>>;
43
- after: DictType<StringType, StructType<{
44
- readonly title: StringType;
45
- readonly start: OptionType<DateTimeType>;
46
- readonly end: OptionType<DateTimeType>;
47
- readonly machine: StringType;
48
- readonly status: StringType;
49
- readonly customer: StringType;
50
- }>>;
51
- }>;
52
- patch: DictType<StringType, import("@elaraai/east").VariantType<{
53
- delete: StructType<{
54
- readonly title: StringType;
55
- readonly start: OptionType<DateTimeType>;
56
- readonly end: OptionType<DateTimeType>;
57
- readonly machine: StringType;
58
- readonly status: StringType;
59
- readonly customer: StringType;
60
- }>;
61
- insert: StructType<{
62
- readonly title: StringType;
63
- readonly start: OptionType<DateTimeType>;
64
- readonly end: OptionType<DateTimeType>;
65
- readonly machine: StringType;
66
- readonly status: StringType;
67
- readonly customer: StringType;
66
+ }>>>, e3.MutationsOf<{
67
+ patch: e3.MutationDraft<[import("@elaraai/east").VariantType<{
68
+ unchanged: import("@elaraai/east").NullType;
69
+ replace: StructType<{
70
+ before: DictType<StringType, StructType<{
71
+ readonly title: StringType;
72
+ readonly start: OptionType<DateTimeType>;
73
+ readonly end: OptionType<DateTimeType>;
74
+ readonly machine: StringType;
75
+ readonly status: StringType;
76
+ readonly customer: StringType;
77
+ }>>;
78
+ after: DictType<StringType, StructType<{
79
+ readonly title: StringType;
80
+ readonly start: OptionType<DateTimeType>;
81
+ readonly end: OptionType<DateTimeType>;
82
+ readonly machine: StringType;
83
+ readonly status: StringType;
84
+ readonly customer: StringType;
85
+ }>>;
68
86
  }>;
69
- update: import("@elaraai/east").VariantType<{
70
- unchanged: import("@elaraai/east").NullType;
71
- replace: StructType<{
72
- before: StructType<{
73
- readonly title: StringType;
74
- readonly start: OptionType<DateTimeType>;
75
- readonly end: OptionType<DateTimeType>;
76
- readonly machine: StringType;
77
- readonly status: StringType;
78
- readonly customer: StringType;
79
- }>;
80
- after: StructType<{
81
- readonly title: StringType;
82
- readonly start: OptionType<DateTimeType>;
83
- readonly end: OptionType<DateTimeType>;
84
- readonly machine: StringType;
85
- readonly status: StringType;
86
- readonly customer: StringType;
87
- }>;
87
+ patch: DictType<StringType, import("@elaraai/east").VariantType<{
88
+ delete: StructType<{
89
+ readonly title: StringType;
90
+ readonly start: OptionType<DateTimeType>;
91
+ readonly end: OptionType<DateTimeType>;
92
+ readonly machine: StringType;
93
+ readonly status: StringType;
94
+ readonly customer: StringType;
88
95
  }>;
89
- patch: StructType<{
90
- readonly title: import("@elaraai/east").VariantType<{
91
- unchanged: import("@elaraai/east").NullType;
92
- replace: StructType<{
93
- before: StringType;
94
- after: StringType;
96
+ insert: StructType<{
97
+ readonly title: StringType;
98
+ readonly start: OptionType<DateTimeType>;
99
+ readonly end: OptionType<DateTimeType>;
100
+ readonly machine: StringType;
101
+ readonly status: StringType;
102
+ readonly customer: StringType;
103
+ }>;
104
+ update: import("@elaraai/east").VariantType<{
105
+ unchanged: import("@elaraai/east").NullType;
106
+ replace: StructType<{
107
+ before: StructType<{
108
+ readonly title: StringType;
109
+ readonly start: OptionType<DateTimeType>;
110
+ readonly end: OptionType<DateTimeType>;
111
+ readonly machine: StringType;
112
+ readonly status: StringType;
113
+ readonly customer: StringType;
114
+ }>;
115
+ after: StructType<{
116
+ readonly title: StringType;
117
+ readonly start: OptionType<DateTimeType>;
118
+ readonly end: OptionType<DateTimeType>;
119
+ readonly machine: StringType;
120
+ readonly status: StringType;
121
+ readonly customer: StringType;
95
122
  }>;
96
123
  }>;
97
- readonly start: import("@elaraai/east").VariantType<{
98
- unchanged: import("@elaraai/east").NullType;
99
- replace: StructType<{
100
- before: OptionType<DateTimeType>;
101
- after: OptionType<DateTimeType>;
124
+ patch: StructType<{
125
+ readonly title: import("@elaraai/east").VariantType<{
126
+ unchanged: import("@elaraai/east").NullType;
127
+ replace: StructType<{
128
+ before: StringType;
129
+ after: StringType;
130
+ }>;
102
131
  }>;
103
- patch: import("@elaraai/east").VariantType<{
104
- none: import("@elaraai/east").VariantType<{
105
- unchanged: import("@elaraai/east").NullType;
106
- replace: StructType<{
107
- before: import("@elaraai/east").NullType;
108
- after: import("@elaraai/east").NullType;
109
- }>;
132
+ readonly start: import("@elaraai/east").VariantType<{
133
+ unchanged: import("@elaraai/east").NullType;
134
+ replace: StructType<{
135
+ before: OptionType<DateTimeType>;
136
+ after: OptionType<DateTimeType>;
110
137
  }>;
111
- some: import("@elaraai/east").VariantType<{
112
- unchanged: import("@elaraai/east").NullType;
113
- replace: StructType<{
114
- before: DateTimeType;
115
- after: DateTimeType;
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: DateTimeType;
150
+ after: DateTimeType;
151
+ }>;
116
152
  }>;
117
153
  }>;
118
154
  }>;
119
- }>;
120
- readonly end: import("@elaraai/east").VariantType<{
121
- unchanged: import("@elaraai/east").NullType;
122
- replace: StructType<{
123
- before: OptionType<DateTimeType>;
124
- after: OptionType<DateTimeType>;
125
- }>;
126
- patch: import("@elaraai/east").VariantType<{
127
- none: import("@elaraai/east").VariantType<{
128
- unchanged: import("@elaraai/east").NullType;
129
- replace: StructType<{
130
- before: import("@elaraai/east").NullType;
131
- after: import("@elaraai/east").NullType;
132
- }>;
155
+ readonly end: import("@elaraai/east").VariantType<{
156
+ unchanged: import("@elaraai/east").NullType;
157
+ replace: StructType<{
158
+ before: OptionType<DateTimeType>;
159
+ after: OptionType<DateTimeType>;
133
160
  }>;
134
- some: import("@elaraai/east").VariantType<{
135
- unchanged: import("@elaraai/east").NullType;
136
- replace: StructType<{
137
- before: DateTimeType;
138
- after: DateTimeType;
161
+ patch: import("@elaraai/east").VariantType<{
162
+ none: import("@elaraai/east").VariantType<{
163
+ unchanged: import("@elaraai/east").NullType;
164
+ replace: StructType<{
165
+ before: import("@elaraai/east").NullType;
166
+ after: import("@elaraai/east").NullType;
167
+ }>;
168
+ }>;
169
+ some: import("@elaraai/east").VariantType<{
170
+ unchanged: import("@elaraai/east").NullType;
171
+ replace: StructType<{
172
+ before: DateTimeType;
173
+ after: DateTimeType;
174
+ }>;
139
175
  }>;
140
176
  }>;
141
177
  }>;
142
- }>;
143
- readonly machine: import("@elaraai/east").VariantType<{
144
- unchanged: import("@elaraai/east").NullType;
145
- replace: StructType<{
146
- before: StringType;
147
- after: StringType;
178
+ readonly machine: import("@elaraai/east").VariantType<{
179
+ unchanged: import("@elaraai/east").NullType;
180
+ replace: StructType<{
181
+ before: StringType;
182
+ after: StringType;
183
+ }>;
148
184
  }>;
149
- }>;
150
- readonly status: import("@elaraai/east").VariantType<{
151
- unchanged: import("@elaraai/east").NullType;
152
- replace: StructType<{
153
- before: StringType;
154
- after: StringType;
185
+ readonly status: import("@elaraai/east").VariantType<{
186
+ unchanged: import("@elaraai/east").NullType;
187
+ replace: StructType<{
188
+ before: StringType;
189
+ after: StringType;
190
+ }>;
155
191
  }>;
156
- }>;
157
- readonly customer: import("@elaraai/east").VariantType<{
158
- unchanged: import("@elaraai/east").NullType;
159
- replace: StructType<{
160
- before: StringType;
161
- after: StringType;
192
+ readonly customer: import("@elaraai/east").VariantType<{
193
+ unchanged: import("@elaraai/east").NullType;
194
+ replace: StructType<{
195
+ before: StringType;
196
+ after: StringType;
197
+ }>;
162
198
  }>;
163
199
  }>;
164
200
  }>;
165
- }>;
166
- }>>;
167
- }>]>;
168
- export declare const indexedCalendarByTime: e3.RecordIndexDef<"calendar_by_time", DictType<StringType, StructType<{
169
- readonly title: StringType;
170
- readonly start: OptionType<DateTimeType>;
171
- readonly end: OptionType<DateTimeType>;
172
- readonly machine: StringType;
173
- readonly status: StringType;
174
- readonly customer: StringType;
175
- }>>, StructType<Record<never, never> & {
176
- __interval: import("@elaraai/east").IntegerType;
177
- } & {
178
- start: OptionType<DateTimeType>;
179
- }>, import("@elaraai/east").NullType, readonly ["start"]> & {
180
- interval: {
181
- readonly from: "start";
182
- readonly to: "end";
183
- };
184
- };
185
- export declare const indexedCalendarByStatus: e3.RecordIndexDef<"calendar_by_status_time", DictType<StringType, StructType<{
186
- readonly title: StringType;
187
- readonly start: OptionType<DateTimeType>;
188
- readonly end: OptionType<DateTimeType>;
189
- readonly machine: StringType;
190
- readonly status: StringType;
191
- readonly customer: StringType;
192
- }>>, StructType<{
193
- status: StringType;
194
- } & {
195
- __interval: import("@elaraai/east").IntegerType;
196
- } & {
197
- start: OptionType<DateTimeType>;
198
- }>, import("@elaraai/east").NullType, readonly ["status", "start"]> & {
199
- interval: {
200
- readonly from: "start";
201
- readonly to: "end";
202
- };
203
- };
204
- export declare const indexedCalendarByMachine: e3.RecordIndexDef<"calendar_by_machine_time", DictType<StringType, StructType<{
201
+ }>>;
202
+ }>]>;
203
+ }, DictType<StringType, StructType<{
205
204
  readonly title: StringType;
206
205
  readonly start: OptionType<DateTimeType>;
207
206
  readonly end: OptionType<DateTimeType>;
208
207
  readonly machine: StringType;
209
208
  readonly status: StringType;
210
209
  readonly customer: StringType;
211
- }>>, StructType<{
212
- machine: StringType;
213
- } & {
214
- __interval: import("@elaraai/east").IntegerType;
215
- } & {
216
- start: OptionType<DateTimeType>;
217
- }>, import("@elaraai/east").NullType, readonly ["machine", "start"]> & {
218
- interval: {
219
- readonly from: "start";
220
- readonly to: "end";
221
- };
222
- };
210
+ }>>>>;
223
211
  export declare const indexedCalendarMachines: e3.RecordDef<DictType<StringType, StructType<{
224
212
  readonly name: StringType;
225
- }>>, [variant<"field", "records">, variant<"field", "indexed_calendar_machines">]>;
213
+ }>>, [variant<"field", "records">, variant<"field", "indexed_calendar_machines">], e3.IndexesOf<Record<never, never>, DictType<StringType, StructType<{
214
+ readonly name: StringType;
215
+ }>>>, e3.MutationsOf<Record<never, never>, DictType<StringType, StructType<{
216
+ readonly name: StringType;
217
+ }>>>>;
226
218
  export declare const calendarRecordIndexes: import("@elaraai/east").ExampleDef<[], any>;
227
219
  export declare const calendarRecordIndexesMobile: import("@elaraai/east").ExampleDef<[], any>;
228
220
  //# sourceMappingURL=calendar-records.examples.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"calendar-records.examples.d.ts","sourceRoot":"","sources":["../../../test/calendar/calendar-records.examples.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,sCAAsC;AACtC,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAQ,UAAU,EAAE,UAAU,EAAE,UAAU,EAAuB,OAAO,EAAoB,MAAM,eAAe,CAAC;AAGjJ,OAAO,KAAK,EAAE,MAAM,aAA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;;;;KAUhC,CAAC;AACH,eAAO,MAAM,uBAAuB;;;;;;KAIlC,CAAC;AAEH,eAAO,MAAM,qBAAqB,6CA4BhC,CAAC;AAEH,eAAO,MAAM,2BAA2B,6CA4BtC,CAAC"}
@@ -38,22 +38,30 @@ function calendarSeed() {
38
38
  }
39
39
  return rows;
40
40
  }
41
- export const indexedCalendarEvents = e3.record("indexed_calendar_events", DictType(StringType, IndexedCalendarEvent), calendarSeed());
42
- export const indexedCalendarPatch = e3.mutation.patch(indexedCalendarEvents);
43
- export const indexedCalendarByTime = e3.recordIndex("calendar_by_time", indexedCalendarEvents, { interval: { from: "start", to: "end" } });
44
- export const indexedCalendarByStatus = e3.recordIndex("calendar_by_status_time", indexedCalendarEvents, { on: ["status"], interval: { from: "start", to: "end" } });
45
- export const indexedCalendarByMachine = e3.recordIndex("calendar_by_machine_time", indexedCalendarEvents, { on: ["machine"], interval: { from: "start", to: "end" } });
46
- export const indexedCalendarMachines = e3.record("indexed_calendar_machines", DictType(StringType, StructType({ name: StringType })), new Map([
47
- ["press-a", { name: "Press A" }], ["press-b", { name: "Press B" }],
48
- ]));
41
+ export const indexedCalendarEvents = e3.record("indexed_calendar_events", DictType(StringType, IndexedCalendarEvent), {
42
+ initial: calendarSeed(),
43
+ indexes: (index) => ({
44
+ calendar_by_time: index.interval({ from: "start", to: "end" }),
45
+ calendar_by_status_time: index.interval({ on: ["status"], from: "start", to: "end" }),
46
+ calendar_by_machine_time: index.interval({ on: ["machine"], from: "start", to: "end" }),
47
+ }),
48
+ mutations: (mutation) => ({
49
+ patch: mutation.patch(),
50
+ }),
51
+ });
52
+ export const indexedCalendarMachines = e3.record("indexed_calendar_machines", DictType(StringType, StructType({ name: StringType })), {
53
+ initial: new Map([
54
+ ["press-a", { name: "Press A" }], ["press-b", { name: "Press B" }],
55
+ ]),
56
+ });
49
57
  export const calendarRecordIndexes = example({
50
58
  description: "12,000 events across a year, narrowed through interval indexes. The opening days demonstrate carry-in and year-long events; navigate to other dates for the larger production schedule. Filters and navigation share Slice, and drafts save by original key.",
51
59
  keywords: ["Calendar", "Slice", "Slice.bindRecords", "interval", "overlap", "records", "paging"],
52
60
  inputs: [],
53
61
  fn: East.function([], UIComponentType, _$ => _jsx(Reactive, { children: $ => {
54
- const events = $.let(Record.bind(indexedCalendarEvents, [indexedCalendarPatch]));
62
+ const events = $.let(Record.bind(indexedCalendarEvents));
55
63
  const entries = $.let(Data.bindPaged(indexedCalendarEvents));
56
- const indexed = $.let(Data.bindPaged(indexedCalendarEvents, { indexes: [indexedCalendarByTime, indexedCalendarByStatus, indexedCalendarByMachine] }));
64
+ const indexed = $.let(Data.bindPaged(indexedCalendarEvents, { indexes: ["calendar_by_time", "calendar_by_status_time", "calendar_by_machine_time"] }));
57
65
  // The rail's one source, named after the kind it narrows (#1343): its interval indexes keep every overlapping event.
58
66
  const slice = $.let(Slice.bindRecords("ex.calendarRecordIndexes", {
59
67
  job: { source: indexed, icon: { prefix: "fas", name: "print" },
@@ -74,9 +82,9 @@ export const calendarRecordIndexesMobile = example({
74
82
  keywords: ["Calendar", "Slice", "Slice.bindRecords", "interval", "mobile", "agenda"],
75
83
  inputs: [],
76
84
  fn: East.function([], UIComponentType, _$ => _jsx(Reactive, { children: $ => {
77
- const events = $.let(Record.bind(indexedCalendarEvents, [indexedCalendarPatch]));
85
+ const events = $.let(Record.bind(indexedCalendarEvents));
78
86
  const entries = $.let(Data.bindPaged(indexedCalendarEvents));
79
- const indexed = $.let(Data.bindPaged(indexedCalendarEvents, { indexes: [indexedCalendarByTime, indexedCalendarByStatus, indexedCalendarByMachine] }));
87
+ const indexed = $.let(Data.bindPaged(indexedCalendarEvents, { indexes: ["calendar_by_time", "calendar_by_status_time", "calendar_by_machine_time"] }));
80
88
  // The rail's one source, named after the kind it narrows (#1343): its interval indexes keep every overlapping event.
81
89
  const slice = $.let(Slice.bindRecords("ex.calendarRecordIndexesMobile", {
82
90
  job: { source: indexed, icon: { prefix: "fas", name: "print" },