@elaraai/e3-ui 1.0.97 → 1.0.98

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 (304) hide show
  1. package/dist/src/allocation/index.d.ts +258 -7
  2. package/dist/src/allocation/index.d.ts.map +1 -1
  3. package/dist/src/allocation/index.js +30 -1
  4. package/dist/src/allocation/index.js.map +1 -1
  5. package/dist/src/allocation/types.d.ts +41 -0
  6. package/dist/src/allocation/types.d.ts.map +1 -1
  7. package/dist/src/allocation/types.js +35 -0
  8. package/dist/src/allocation/types.js.map +1 -1
  9. package/dist/src/bind/data-indexed.d.ts +31 -4
  10. package/dist/src/bind/data-indexed.d.ts.map +1 -1
  11. package/dist/src/bind/data-indexed.js +54 -10
  12. package/dist/src/bind/data-indexed.js.map +1 -1
  13. package/dist/src/calendar/index.d.ts +540 -14
  14. package/dist/src/calendar/index.d.ts.map +1 -1
  15. package/dist/src/calendar/index.js +43 -7
  16. package/dist/src/calendar/index.js.map +1 -1
  17. package/dist/src/calendar/paged.d.ts +89 -0
  18. package/dist/src/calendar/paged.d.ts.map +1 -0
  19. package/dist/src/calendar/paged.js +148 -0
  20. package/dist/src/calendar/paged.js.map +1 -0
  21. package/dist/src/flowchart/payload.d.ts +156 -0
  22. package/dist/src/flowchart/payload.d.ts.map +1 -1
  23. package/dist/src/flowchart/window.d.ts +12 -0
  24. package/dist/src/flowchart/window.d.ts.map +1 -1
  25. package/dist/src/index.d.ts +11 -2
  26. package/dist/src/index.d.ts.map +1 -1
  27. package/dist/src/index.js +19 -0
  28. package/dist/src/index.js.map +1 -1
  29. package/dist/src/internal.d.ts +11 -5
  30. package/dist/src/internal.d.ts.map +1 -1
  31. package/dist/src/internal.js +28 -7
  32. package/dist/src/internal.js.map +1 -1
  33. package/dist/src/plan/builders.d.ts +12 -8
  34. package/dist/src/plan/builders.d.ts.map +1 -1
  35. package/dist/src/plan/builders.js +12 -8
  36. package/dist/src/plan/builders.js.map +1 -1
  37. package/dist/src/plan/event-rows.d.ts +228 -156
  38. package/dist/src/plan/event-rows.d.ts.map +1 -1
  39. package/dist/src/plan/event-rows.js +239 -54
  40. package/dist/src/plan/event-rows.js.map +1 -1
  41. package/dist/src/plan/index.d.ts +5 -0
  42. package/dist/src/plan/index.d.ts.map +1 -1
  43. package/dist/src/plan/index.js +3 -0
  44. package/dist/src/plan/index.js.map +1 -1
  45. package/dist/src/plan/ir.d.ts +70 -0
  46. package/dist/src/plan/ir.d.ts.map +1 -1
  47. package/dist/src/plan/ordered-source.d.ts +2038 -1
  48. package/dist/src/plan/ordered-source.d.ts.map +1 -1
  49. package/dist/src/plan/ordered-source.js +19 -11
  50. package/dist/src/plan/ordered-source.js.map +1 -1
  51. package/dist/src/plan/plan.d.ts +513 -32
  52. package/dist/src/plan/plan.d.ts.map +1 -1
  53. package/dist/src/plan/plan.js +119 -32
  54. package/dist/src/plan/plan.js.map +1 -1
  55. package/dist/src/plan/root.d.ts +4 -2
  56. package/dist/src/plan/root.d.ts.map +1 -1
  57. package/dist/src/plan/root.js +6 -4
  58. package/dist/src/plan/root.js.map +1 -1
  59. package/dist/src/plan/series.d.ts +13 -0
  60. package/dist/src/plan/series.d.ts.map +1 -1
  61. package/dist/src/plan/series.js +61 -7
  62. package/dist/src/plan/series.js.map +1 -1
  63. package/dist/src/plan/types.d.ts +14 -0
  64. package/dist/src/plan/types.d.ts.map +1 -1
  65. package/dist/src/plan/types.js +8 -0
  66. package/dist/src/plan/types.js.map +1 -1
  67. package/dist/src/roster/index.d.ts +608 -20
  68. package/dist/src/roster/index.d.ts.map +1 -1
  69. package/dist/src/roster/index.js +103 -29
  70. package/dist/src/roster/index.js.map +1 -1
  71. package/dist/src/roster/library.d.ts +12 -2
  72. package/dist/src/roster/library.d.ts.map +1 -1
  73. package/dist/src/roster/library.js +8 -0
  74. package/dist/src/roster/library.js.map +1 -1
  75. package/dist/src/roster/lists.d.ts +59 -12
  76. package/dist/src/roster/lists.d.ts.map +1 -1
  77. package/dist/src/roster/lists.js +51 -58
  78. package/dist/src/roster/lists.js.map +1 -1
  79. package/dist/src/roster/times.d.ts +402 -0
  80. package/dist/src/roster/times.d.ts.map +1 -1
  81. package/dist/src/roster/types.d.ts +913 -1
  82. package/dist/src/roster/types.d.ts.map +1 -1
  83. package/dist/src/roster/types.js +43 -3
  84. package/dist/src/roster/types.js.map +1 -1
  85. package/dist/src/schedule/cell-checks.d.ts +85 -0
  86. package/dist/src/schedule/cell-checks.d.ts.map +1 -0
  87. package/dist/src/schedule/cell-checks.js +211 -0
  88. package/dist/src/schedule/cell-checks.js.map +1 -0
  89. package/dist/src/schedule/events.d.ts +42 -10
  90. package/dist/src/schedule/events.d.ts.map +1 -1
  91. package/dist/src/schedule/events.js +349 -155
  92. package/dist/src/schedule/events.js.map +1 -1
  93. package/dist/src/schedule/fields.d.ts +134 -0
  94. package/dist/src/schedule/fields.d.ts.map +1 -0
  95. package/dist/src/schedule/fields.js +207 -0
  96. package/dist/src/schedule/fields.js.map +1 -0
  97. package/dist/src/schedule/library.d.ts +11 -3
  98. package/dist/src/schedule/library.d.ts.map +1 -1
  99. package/dist/src/schedule/library.js +9 -6
  100. package/dist/src/schedule/library.js.map +1 -1
  101. package/dist/src/schedule/optimise.d.ts +124 -0
  102. package/dist/src/schedule/optimise.d.ts.map +1 -0
  103. package/dist/src/schedule/optimise.js +140 -0
  104. package/dist/src/schedule/optimise.js.map +1 -0
  105. package/dist/src/schedule/pages.d.ts +76 -0
  106. package/dist/src/schedule/pages.d.ts.map +1 -0
  107. package/dist/src/schedule/pages.js +86 -0
  108. package/dist/src/schedule/pages.js.map +1 -0
  109. package/dist/src/schedule/record-window.d.ts +119 -6
  110. package/dist/src/schedule/record-window.d.ts.map +1 -1
  111. package/dist/src/schedule/record-window.js +139 -60
  112. package/dist/src/schedule/record-window.js.map +1 -1
  113. package/dist/src/schedule/resources.d.ts +8 -4
  114. package/dist/src/schedule/resources.d.ts.map +1 -1
  115. package/dist/src/schedule/resources.js +35 -15
  116. package/dist/src/schedule/resources.js.map +1 -1
  117. package/dist/src/schedule/session.d.ts +14 -0
  118. package/dist/src/schedule/session.d.ts.map +1 -1
  119. package/dist/src/schedule/session.js +29 -17
  120. package/dist/src/schedule/session.js.map +1 -1
  121. package/dist/src/schedule/types.d.ts +426 -36
  122. package/dist/src/schedule/types.d.ts.map +1 -1
  123. package/dist/src/schedule/types.js +63 -17
  124. package/dist/src/schedule/types.js.map +1 -1
  125. package/dist/src/schedule/window.d.ts +30 -9
  126. package/dist/src/schedule/window.d.ts.map +1 -1
  127. package/dist/src/schedule/window.js +101 -49
  128. package/dist/src/schedule/window.js.map +1 -1
  129. package/dist/src/schematic/index.d.ts +277 -0
  130. package/dist/src/schematic/index.d.ts.map +1 -0
  131. package/dist/src/schematic/index.js +206 -0
  132. package/dist/src/schematic/index.js.map +1 -0
  133. package/dist/src/schematic/kinds.d.ts +501 -0
  134. package/dist/src/schematic/kinds.d.ts.map +1 -0
  135. package/dist/src/schematic/kinds.js +1027 -0
  136. package/dist/src/schematic/kinds.js.map +1 -0
  137. package/dist/src/schematic/layers.d.ts +74 -0
  138. package/dist/src/schematic/layers.d.ts.map +1 -0
  139. package/dist/src/schematic/layers.js +99 -0
  140. package/dist/src/schematic/layers.js.map +1 -0
  141. package/dist/src/schematic/library.d.ts +202 -0
  142. package/dist/src/schematic/library.d.ts.map +1 -0
  143. package/dist/src/schematic/library.js +244 -0
  144. package/dist/src/schematic/library.js.map +1 -0
  145. package/dist/src/schematic/payload.d.ts +8360 -0
  146. package/dist/src/schematic/payload.d.ts.map +1 -0
  147. package/dist/src/schematic/payload.js +446 -0
  148. package/dist/src/schematic/payload.js.map +1 -0
  149. package/dist/src/schematic/schematic.d.ts +27 -0
  150. package/dist/src/schematic/schematic.d.ts.map +1 -0
  151. package/dist/src/schematic/schematic.js +17 -0
  152. package/dist/src/schematic/schematic.js.map +1 -0
  153. package/dist/src/schematic/shapes.d.ts +150 -0
  154. package/dist/src/schematic/shapes.d.ts.map +1 -0
  155. package/dist/src/schematic/shapes.js +171 -0
  156. package/dist/src/schematic/shapes.js.map +1 -0
  157. package/dist/src/schematic/templates.d.ts +96 -0
  158. package/dist/src/schematic/templates.d.ts.map +1 -0
  159. package/dist/src/schematic/templates.js +91 -0
  160. package/dist/src/schematic/templates.js.map +1 -0
  161. package/dist/src/schematic/types.d.ts +5766 -0
  162. package/dist/src/schematic/types.d.ts.map +1 -0
  163. package/dist/src/schematic/types.js +688 -0
  164. package/dist/src/schematic/types.js.map +1 -0
  165. package/dist/src/schematic/window.d.ts +212 -0
  166. package/dist/src/schematic/window.d.ts.map +1 -0
  167. package/dist/src/schematic/window.js +337 -0
  168. package/dist/src/schematic/window.js.map +1 -0
  169. package/dist/src/sheet/editing-bridge.d.ts +4 -2
  170. package/dist/src/sheet/editing-bridge.d.ts.map +1 -1
  171. package/dist/src/sheet/editing-bridge.js +8 -2
  172. package/dist/src/sheet/editing-bridge.js.map +1 -1
  173. package/dist/src/sheet/editing-types.d.ts +9 -5
  174. package/dist/src/sheet/editing-types.d.ts.map +1 -1
  175. package/dist/src/sheet/editing-types.js +9 -5
  176. package/dist/src/sheet/editing-types.js.map +1 -1
  177. package/dist/src/sheet/index.d.ts +18 -8
  178. package/dist/src/sheet/index.d.ts.map +1 -1
  179. package/dist/src/sheet/index.js +15 -7
  180. package/dist/src/sheet/index.js.map +1 -1
  181. package/dist/src/sheet/optimise.d.ts +69 -0
  182. package/dist/src/sheet/optimise.d.ts.map +1 -0
  183. package/dist/src/sheet/optimise.js +81 -0
  184. package/dist/src/sheet/optimise.js.map +1 -0
  185. package/dist/src/sheet/registers.d.ts +5 -5
  186. package/dist/src/sheet/registers.js +5 -5
  187. package/dist/src/sheet/root.d.ts +2 -0
  188. package/dist/src/sheet/root.d.ts.map +1 -1
  189. package/dist/src/sheet/root.js +2 -2
  190. package/dist/src/sheet/root.js.map +1 -1
  191. package/dist/src/sheet/sheet.d.ts +753 -573
  192. package/dist/src/sheet/sheet.d.ts.map +1 -1
  193. package/dist/src/sheet/sheet.js +45 -13
  194. package/dist/src/sheet/sheet.js.map +1 -1
  195. package/dist/src/sheet/types.d.ts +92 -12
  196. package/dist/src/sheet/types.d.ts.map +1 -1
  197. package/dist/src/sheet/types.js +4 -8
  198. package/dist/src/sheet/types.js.map +1 -1
  199. package/dist/src/utils/keyed-rows.d.ts +41 -0
  200. package/dist/src/utils/keyed-rows.d.ts.map +1 -0
  201. package/dist/src/utils/keyed-rows.js +64 -0
  202. package/dist/src/utils/keyed-rows.js.map +1 -0
  203. package/dist/src/utils/optimise.d.ts +79 -0
  204. package/dist/src/utils/optimise.d.ts.map +1 -0
  205. package/dist/src/utils/optimise.js +46 -0
  206. package/dist/src/utils/optimise.js.map +1 -0
  207. package/dist/test/allocation/allocation.examples.d.ts +6 -18
  208. package/dist/test/allocation/allocation.examples.d.ts.map +1 -1
  209. package/dist/test/allocation/allocation.examples.js +3 -3
  210. package/dist/test/allocation/allocation.examples.js.map +1 -1
  211. package/dist/test/allocation/optimise.examples.d.ts +109 -0
  212. package/dist/test/allocation/optimise.examples.d.ts.map +1 -0
  213. package/dist/test/allocation/optimise.examples.js +223 -0
  214. package/dist/test/allocation/optimise.examples.js.map +1 -0
  215. package/dist/test/bind/data/data.examples.d.ts +540 -36
  216. package/dist/test/bind/data/data.examples.d.ts.map +1 -1
  217. package/dist/test/bind/data/data.examples.js +66 -2
  218. package/dist/test/bind/data/data.examples.js.map +1 -1
  219. package/dist/test/bind/record/record.examples.d.ts +1 -3
  220. package/dist/test/bind/record/record.examples.d.ts.map +1 -1
  221. package/dist/test/calendar/calendar-records.examples.d.ts.map +1 -1
  222. package/dist/test/calendar/calendar-records.examples.js +3 -3
  223. package/dist/test/calendar/calendar-records.examples.js.map +1 -1
  224. package/dist/test/calendar/calendar-windows.examples.d.ts +9 -0
  225. package/dist/test/calendar/calendar-windows.examples.d.ts.map +1 -0
  226. package/dist/test/calendar/calendar-windows.examples.js +111 -0
  227. package/dist/test/calendar/calendar-windows.examples.js.map +1 -0
  228. package/dist/test/calendar/calendar.examples.d.ts +7 -21
  229. package/dist/test/calendar/calendar.examples.d.ts.map +1 -1
  230. package/dist/test/calendar/calendar.examples.js +7 -7
  231. package/dist/test/calendar/calendar.examples.js.map +1 -1
  232. package/dist/test/calendar/optimise.examples.d.ts +132 -0
  233. package/dist/test/calendar/optimise.examples.d.ts.map +1 -0
  234. package/dist/test/calendar/optimise.examples.js +75 -0
  235. package/dist/test/calendar/optimise.examples.js.map +1 -0
  236. package/dist/test/examples-package.d.ts +46 -10
  237. package/dist/test/examples-package.d.ts.map +1 -1
  238. package/dist/test/examples-package.js +142 -32
  239. package/dist/test/examples-package.js.map +1 -1
  240. package/dist/test/flowchart/flowchart.examples.d.ts +10 -30
  241. package/dist/test/flowchart/flowchart.examples.d.ts.map +1 -1
  242. package/dist/test/plan/optimise.examples.d.ts +207 -0
  243. package/dist/test/plan/optimise.examples.d.ts.map +1 -0
  244. package/dist/test/plan/optimise.examples.js +98 -0
  245. package/dist/test/plan/optimise.examples.js.map +1 -0
  246. package/dist/test/plan/plan-events.examples.d.ts +8 -24
  247. package/dist/test/plan/plan-events.examples.d.ts.map +1 -1
  248. package/dist/test/plan/plan-events.examples.js +3 -3
  249. package/dist/test/plan/plan-events.examples.js.map +1 -1
  250. package/dist/test/plan/plan-records.examples.d.ts +200 -19
  251. package/dist/test/plan/plan-records.examples.d.ts.map +1 -1
  252. package/dist/test/plan/plan-records.examples.js +125 -28
  253. package/dist/test/plan/plan-records.examples.js.map +1 -1
  254. package/dist/test/plan/plan-windows.examples.d.ts +853 -36
  255. package/dist/test/plan/plan-windows.examples.d.ts.map +1 -1
  256. package/dist/test/plan/plan-windows.examples.js +166 -29
  257. package/dist/test/plan/plan-windows.examples.js.map +1 -1
  258. package/dist/test/plan/plan.examples.d.ts +7 -21
  259. package/dist/test/plan/plan.examples.d.ts.map +1 -1
  260. package/dist/test/plan/plan.examples.js +11 -9
  261. package/dist/test/plan/plan.examples.js.map +1 -1
  262. package/dist/test/roster/domain.examples.d.ts +804 -0
  263. package/dist/test/roster/domain.examples.d.ts.map +1 -1
  264. package/dist/test/roster/domain.examples.js +3 -3
  265. package/dist/test/roster/domain.examples.js.map +1 -1
  266. package/dist/test/roster/optimise.examples.d.ts +485 -0
  267. package/dist/test/roster/optimise.examples.d.ts.map +1 -0
  268. package/dist/test/roster/optimise.examples.js +155 -0
  269. package/dist/test/roster/optimise.examples.js.map +1 -0
  270. package/dist/test/roster/roster-records.examples.d.ts +6 -18
  271. package/dist/test/roster/roster-records.examples.d.ts.map +1 -1
  272. package/dist/test/roster/roster-records.examples.js +1 -1
  273. package/dist/test/roster/roster-records.examples.js.map +1 -1
  274. package/dist/test/roster/roster.examples.d.ts +3391 -21
  275. package/dist/test/roster/roster.examples.d.ts.map +1 -1
  276. package/dist/test/roster/roster.examples.js +54 -7
  277. package/dist/test/roster/roster.examples.js.map +1 -1
  278. package/dist/test/roster/warehouse.d.ts +150 -7
  279. package/dist/test/roster/warehouse.d.ts.map +1 -1
  280. package/dist/test/roster/warehouse.js +36 -11
  281. package/dist/test/roster/warehouse.js.map +1 -1
  282. package/dist/test/schedule/schedule.examples.d.ts +1 -3
  283. package/dist/test/schedule/schedule.examples.d.ts.map +1 -1
  284. package/dist/test/schematic/schematic-records.examples.d.ts +444 -0
  285. package/dist/test/schematic/schematic-records.examples.d.ts.map +1 -0
  286. package/dist/test/schematic/schematic-records.examples.js +205 -0
  287. package/dist/test/schematic/schematic-records.examples.js.map +1 -0
  288. package/dist/test/schematic/schematic.examples.d.ts +2289 -0
  289. package/dist/test/schematic/schematic.examples.d.ts.map +1 -0
  290. package/dist/test/schematic/schematic.examples.js +453 -0
  291. package/dist/test/schematic/schematic.examples.js.map +1 -0
  292. package/dist/test/sheet/optimise.examples.d.ts +177 -0
  293. package/dist/test/sheet/optimise.examples.d.ts.map +1 -0
  294. package/dist/test/sheet/optimise.examples.js +75 -0
  295. package/dist/test/sheet/optimise.examples.js.map +1 -0
  296. package/dist/test/sheet/sheet-records.examples.d.ts +95 -204
  297. package/dist/test/sheet/sheet-records.examples.d.ts.map +1 -1
  298. package/dist/test/sheet/sheet-records.examples.js +42 -17
  299. package/dist/test/sheet/sheet-records.examples.js.map +1 -1
  300. package/dist/test/sheet/sheet.examples.d.ts +17 -33
  301. package/dist/test/sheet/sheet.examples.d.ts.map +1 -1
  302. package/dist/test/sheet/sheet.examples.js +18 -15
  303. package/dist/test/sheet/sheet.examples.js.map +1 -1
  304. package/package.json +11 -11
@@ -3,7 +3,7 @@
3
3
  * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
4
  */
5
5
  /** @jsxImportSource @elaraai/e3-ui */
6
- import { ArrayType, DateTimeType, DictType, FloatType, IntegerType, OptionType, StringType, StructType } from "@elaraai/east";
6
+ import { ArrayType, DateTimeType, DictType, FloatType, IntegerType, OptionType, StringType, StructType, variant } from "@elaraai/east";
7
7
  /** A job dropped on a press: a decision at the bucket it landed in. */
8
8
  export declare const PlanPressJob: StructType<{
9
9
  readonly key: StringType;
@@ -38,7 +38,7 @@ export declare const planPresses: import("@elaraai/e3").RecordDef<DictType<Strin
38
38
  readonly ordinal: StringType;
39
39
  }>;
40
40
  }>>;
41
- }>>, [import("@elaraai/east").variant<"field", "records">, import("@elaraai/east").variant<"field", "plan_presses">]>;
41
+ }>>, [variant<"field", "records">, variant<"field", "plan_presses">]>;
42
42
  /** The presses' patch door: a canvas's Save commits through it. */
43
43
  export declare const planPressesPatch: import("@elaraai/e3").MutationDef<"patch", DictType<StringType, StructType<{
44
44
  readonly label: StringType;
@@ -289,7 +289,7 @@ export declare const planDatedRows: import("@elaraai/e3").RecordDef<DictType<Str
289
289
  readonly at: DateTimeType;
290
290
  readonly owner: StringType;
291
291
  readonly hall: StringType;
292
- }>>, [import("@elaraai/east").variant<"field", "records">, import("@elaraai/east").variant<"field", "plan_dated_rows">]>;
292
+ }>>, [variant<"field", "records">, variant<"field", "plan_dated_rows">]>;
293
293
  /** The rows' patch door: another session's rows go in through it. */
294
294
  export declare const planDatedRowsPatch: import("@elaraai/e3").MutationDef<"patch", DictType<StringType, StructType<{
295
295
  readonly at: DateTimeType;
@@ -365,9 +365,7 @@ export declare const planDatedRowsByAt: import("@elaraai/e3").RecordIndexDef<"pl
365
365
  readonly at: DateTimeType;
366
366
  readonly owner: StringType;
367
367
  readonly hall: StringType;
368
- }>>, DateTimeType, import("@elaraai/east").NullType, readonly ["at"]> & {
369
- interval: undefined;
370
- };
368
+ }>>, DateTimeType, import("@elaraai/east").NullType, readonly ["at"]>;
371
369
  /** The rows by owner, then date: an owner chosen beside the window. */
372
370
  export declare const planDatedRowsByOwnerAt: import("@elaraai/e3").RecordIndexDef<"plan_dated_rows_by_owner_at", DictType<StringType, StructType<{
373
371
  readonly at: DateTimeType;
@@ -376,9 +374,7 @@ export declare const planDatedRowsByOwnerAt: import("@elaraai/e3").RecordIndexDe
376
374
  }>>, StructType<{
377
375
  at: DateTimeType;
378
376
  owner: StringType;
379
- }>, import("@elaraai/east").NullType, readonly ["owner", "at"]> & {
380
- interval: undefined;
381
- };
377
+ }>, import("@elaraai/east").NullType, readonly ["owner", "at"]>;
382
378
  /** The rows by hall, then date: a hall chosen beside the window. */
383
379
  export declare const planDatedRowsByHallAt: import("@elaraai/e3").RecordIndexDef<"plan_dated_rows_by_hall_at", DictType<StringType, StructType<{
384
380
  readonly at: DateTimeType;
@@ -387,9 +383,7 @@ export declare const planDatedRowsByHallAt: import("@elaraai/e3").RecordIndexDef
387
383
  }>>, StructType<{
388
384
  at: DateTimeType;
389
385
  hall: StringType;
390
- }>, import("@elaraai/east").NullType, readonly ["hall", "at"]> & {
391
- interval: undefined;
392
- };
386
+ }>, import("@elaraai/east").NullType, readonly ["hall", "at"]>;
393
387
  /** An order on a number axis: the day it is due. */
394
388
  export declare const PlanDayOrder: StructType<{
395
389
  readonly day: IntegerType;
@@ -397,13 +391,11 @@ export declare const PlanDayOrder: StructType<{
397
391
  /** Twelve orders, one a day from day 1 to day 12: a number axis's window is a range of their days. */
398
392
  export declare const planDayOrders: import("@elaraai/e3").RecordDef<DictType<StringType, StructType<{
399
393
  readonly day: IntegerType;
400
- }>>, [import("@elaraai/east").variant<"field", "records">, import("@elaraai/east").variant<"field", "plan_day_orders">]>;
394
+ }>>, [variant<"field", "records">, variant<"field", "plan_day_orders">]>;
401
395
  /** The orders by day. */
402
396
  export declare const planDayOrdersByDay: import("@elaraai/e3").RecordIndexDef<"plan_day_orders_by_day", DictType<StringType, StructType<{
403
397
  readonly day: IntegerType;
404
- }>>, IntegerType, import("@elaraai/east").NullType, readonly ["day"]> & {
405
- interval: undefined;
406
- };
398
+ }>>, IntegerType, import("@elaraai/east").NullType, readonly ["day"]>;
407
399
  /** A van's run on a number axis: the day it leaves, which may fall part way through one. */
408
400
  export declare const PlanDayVan: StructType<{
409
401
  readonly day: FloatType;
@@ -411,13 +403,202 @@ export declare const PlanDayVan: StructType<{
411
403
  /** Two vans, leaving on day 1 and on day 12: a number axis's window is a range of their days. */
412
404
  export declare const planDayVans: import("@elaraai/e3").RecordDef<DictType<StringType, StructType<{
413
405
  readonly day: FloatType;
414
- }>>, [import("@elaraai/east").variant<"field", "records">, import("@elaraai/east").variant<"field", "plan_day_vans">]>;
406
+ }>>, [variant<"field", "records">, variant<"field", "plan_day_vans">]>;
415
407
  /** The vans by day. */
416
408
  export declare const planDayVansByDay: import("@elaraai/e3").RecordIndexDef<"plan_day_vans_by_day", DictType<StringType, StructType<{
417
409
  readonly day: FloatType;
418
- }>>, FloatType, import("@elaraai/east").NullType, readonly ["day"]> & {
419
- interval: undefined;
410
+ }>>, FloatType, import("@elaraai/east").NullType, readonly ["day"]>;
411
+ /** An operation on a work order: the order it is on, by its key, the work it does, and when it runs. */
412
+ export declare const PlanOperation: StructType<{
413
+ readonly work: StringType;
414
+ readonly label: StringType;
415
+ readonly start: DateTimeType;
416
+ readonly end: DateTimeType;
417
+ }>;
418
+ /** How many work orders' operations the task generates: the Sheet's 50,000 orders'. */
419
+ export declare const planOperationCount: import("@elaraai/e3").DatasetDef<IntegerType, [variant<"field", "inputs">, variant<"field", "plan_operation_count">]>;
420
+ /** The task that generates the operations from their count. */
421
+ export declare const planOperationsGenerated: import("@elaraai/e3").TaskDef<DictType<StringType, StructType<{
422
+ readonly work: StringType;
423
+ readonly label: StringType;
424
+ readonly start: DateTimeType;
425
+ readonly end: DateTimeType;
426
+ }>>, [variant<"field", "tasks">, variant<"field", "plan_operations_generated">, variant<"field", "output">]>;
427
+ /** The 50,000 work orders' operations, one an order, keyed by the operation's key: read through the indexes below, never whole. */
428
+ export declare const planOperations: import("@elaraai/e3").RecordDef<DictType<StringType, StructType<{
429
+ readonly work: StringType;
430
+ readonly label: StringType;
431
+ readonly start: DateTimeType;
432
+ readonly end: DateTimeType;
433
+ }>>, [variant<"field", "records">, variant<"field", "plan_operations">]>;
434
+ /** The operations' patch door: a canvas's Save commits through it, by the operation's key. */
435
+ export declare const planOperationsPatch: import("@elaraai/e3").MutationDef<"patch", DictType<StringType, StructType<{
436
+ readonly work: StringType;
437
+ readonly label: StringType;
438
+ readonly start: DateTimeType;
439
+ readonly end: DateTimeType;
440
+ }>>, [import("@elaraai/east").VariantType<{
441
+ unchanged: import("@elaraai/east").NullType;
442
+ replace: StructType<{
443
+ before: DictType<StringType, StructType<{
444
+ readonly work: StringType;
445
+ readonly label: StringType;
446
+ readonly start: DateTimeType;
447
+ readonly end: DateTimeType;
448
+ }>>;
449
+ after: DictType<StringType, StructType<{
450
+ readonly work: StringType;
451
+ readonly label: StringType;
452
+ readonly start: DateTimeType;
453
+ readonly end: DateTimeType;
454
+ }>>;
455
+ }>;
456
+ patch: DictType<StringType, import("@elaraai/east").VariantType<{
457
+ delete: StructType<{
458
+ readonly work: StringType;
459
+ readonly label: StringType;
460
+ readonly start: DateTimeType;
461
+ readonly end: DateTimeType;
462
+ }>;
463
+ insert: StructType<{
464
+ readonly work: StringType;
465
+ readonly label: StringType;
466
+ readonly start: DateTimeType;
467
+ readonly end: DateTimeType;
468
+ }>;
469
+ update: import("@elaraai/east").VariantType<{
470
+ unchanged: import("@elaraai/east").NullType;
471
+ replace: StructType<{
472
+ before: StructType<{
473
+ readonly work: StringType;
474
+ readonly label: StringType;
475
+ readonly start: DateTimeType;
476
+ readonly end: DateTimeType;
477
+ }>;
478
+ after: StructType<{
479
+ readonly work: StringType;
480
+ readonly label: StringType;
481
+ readonly start: DateTimeType;
482
+ readonly end: DateTimeType;
483
+ }>;
484
+ }>;
485
+ patch: StructType<{
486
+ readonly work: import("@elaraai/east").VariantType<{
487
+ unchanged: import("@elaraai/east").NullType;
488
+ replace: StructType<{
489
+ before: StringType;
490
+ after: StringType;
491
+ }>;
492
+ }>;
493
+ readonly label: import("@elaraai/east").VariantType<{
494
+ unchanged: import("@elaraai/east").NullType;
495
+ replace: StructType<{
496
+ before: StringType;
497
+ after: StringType;
498
+ }>;
499
+ }>;
500
+ readonly start: import("@elaraai/east").VariantType<{
501
+ unchanged: import("@elaraai/east").NullType;
502
+ replace: StructType<{
503
+ before: DateTimeType;
504
+ after: DateTimeType;
505
+ }>;
506
+ }>;
507
+ readonly end: import("@elaraai/east").VariantType<{
508
+ unchanged: import("@elaraai/east").NullType;
509
+ replace: StructType<{
510
+ before: DateTimeType;
511
+ after: DateTimeType;
512
+ }>;
513
+ }>;
514
+ }>;
515
+ }>;
516
+ }>>;
517
+ }>]>;
518
+ /** The operations over the interval each runs: the canvas's window, and the rail's exact count of the operations in it. */
519
+ export declare const planOperationsByTime: import("@elaraai/e3").RecordIndexDef<"plan_operations_by_time", DictType<StringType, StructType<{
520
+ readonly work: StringType;
521
+ readonly label: StringType;
522
+ readonly start: DateTimeType;
523
+ readonly end: DateTimeType;
524
+ }>>, StructType<Record<never, never> & {
525
+ __interval: IntegerType;
526
+ } & {
527
+ start: DateTimeType;
528
+ }>, import("@elaraai/east").NullType, readonly ["start"]> & {
529
+ interval: {
530
+ readonly from: "start";
531
+ readonly to: "end";
532
+ };
420
533
  };
534
+ /** The operations by their work order and the weeks they touch: a cell is the operations of fifty orders in one week. */
535
+ export declare const planOperationsByWorkWeek: import("@elaraai/e3").RecordIndexDef<"plan_operations_by_work_week", DictType<StringType, StructType<{
536
+ readonly work: StringType;
537
+ readonly label: StringType;
538
+ readonly start: DateTimeType;
539
+ readonly end: DateTimeType;
540
+ }>>, StructType<Record<never, never> & {
541
+ __tile: DateTimeType;
542
+ } & {
543
+ work: StringType;
544
+ }>, StructType<{
545
+ readonly work: StringType;
546
+ readonly label: StringType;
547
+ readonly start: DateTimeType;
548
+ readonly end: DateTimeType;
549
+ }>, readonly ["__tile", "work"]> & {
550
+ series: import("@elaraai/e3").TimeTileOf<{
551
+ readonly key: "work";
552
+ readonly from: "start";
553
+ readonly to: "end";
554
+ readonly tile: "week";
555
+ }>;
556
+ };
557
+ /** How busy each work order is, a month at a time: what the canvas shades where the operations in view are too many to draw. */
558
+ export declare const planOperationsByWorkMonth: import("@elaraai/e3").RecordIndexDef<"plan_operations_by_work_month", DictType<StringType, StructType<{
559
+ readonly work: StringType;
560
+ readonly label: StringType;
561
+ readonly start: DateTimeType;
562
+ readonly end: DateTimeType;
563
+ }>>, StructType<Record<never, never> & {
564
+ __tile: DateTimeType;
565
+ } & {
566
+ work: StringType;
567
+ }>, StructType<{
568
+ readonly count: IntegerType;
569
+ readonly ms: IntegerType;
570
+ }>, readonly ["__tile", "work"]> & {
571
+ summary: import("@elaraai/e3").TimeTileOf<{
572
+ readonly key: "work";
573
+ readonly from: "start";
574
+ readonly to: "end";
575
+ readonly tile: "month";
576
+ }>;
577
+ };
578
+ /**
579
+ * The Sheet's 50,000 work orders on a Plan, a row each, and their operations
580
+ * a record of their own placed on them (#1344, #1039). The work orders are a
581
+ * paged resource kind, narrowed through the rail's `orders` source — named
582
+ * after the kind's slot — over their indexes: by Status, Due, Job, Quantity,
583
+ * Urgent and Tag, with the presets and the search, opening on the orders Ready
584
+ * and due in the first fortnight of October. The canvas pages the narrowing's
585
+ * orders themselves, in its index's order, and the dates on screen never
586
+ * decide which are listed: Due is a field of the rail the viewer sets. The
587
+ * rail's `operation` source lists the operations' interval index, their series
588
+ * index and their summary, its range their start, so it holds the canvas's
589
+ * window: the canvas reads the operations of the orders in view a cell at a
590
+ * time, a pan within the weeks it holds reads nothing, and the orders' rows
591
+ * stay where they are as the dates move. Moving or resizing an operation
592
+ * drafts it in the operations kind's session, whatever the rail shows, and
593
+ * Save commits it through the operations' patch door by its key — so a
594
+ * million work orders, each with a year of operations, read what is on screen.
595
+ */
421
596
  export declare const planRecordIndexes: import("@elaraai/east").ExampleDef<[], any>;
597
+ /**
598
+ * The work orders Plan of `planRecordIndexes` in a phone-width frame: the same
599
+ * paged work orders narrowed through the same rail, on the toolbar's responsive
600
+ * ladder, and the same operations read a cell at a time, their source holding
601
+ * the canvas's window — the narrow layout's cards drawn from the same reads.
602
+ */
422
603
  export declare const planRecordIndexesMobile: import("@elaraai/east").ExampleDef<[], any>;
423
604
  //# sourceMappingURL=plan-records.examples.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plan-records.examples.d.ts","sourceRoot":"","sources":["../../../test/plan/plan-records.examples.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,sCAAsC;AACtC,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,QAAQ,EAAQ,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAuB,MAAM,eAAe,CAAC;AAMzJ,uEAAuE;AACvE,eAAO,MAAM,YAAY;;;;;;;EAA0D,CAAC;AACpF,uFAAuF;AACvF,eAAO,MAAM,SAAS;;;;;;;;;;;EAAiG,CAAC;AACxH,uHAAuH;AACvH,eAAO,MAAM,WAAW;;;;;;;;;;;qHAIrB,CAAC;AACJ,mEAAmE;AACnE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AM,UAAU;;EAAiC,CAAC;AACzD,iGAAiG;AACjG,eAAO,MAAM,WAAW;;sEAErB,CAAC;AACJ,uBAAuB;AACvB,eAAO,MAAM,gBAAgB;;mEAAuE,CAAC;AAErG,wGAAwG;AACxG,eAAO,MAAM,aAAa;;;;;EAA8F,CAAC;AAuBzH,uFAAuF;AACvF,eAAO,MAAM,kBAAkB,uHAA0E,CAAC;AAC1G,+DAA+D;AAC/D,eAAO,MAAM,uBAAuB;;;;;4GAAiF,CAAC;AACtH,mIAAmI;AACnI,eAAO,MAAM,cAAc;;;;;wEAAyF,CAAC;AACrH,8FAA8F;AAC9F,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAoC,CAAC;AACrE,2HAA2H;AAC3H,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;CAAmG,CAAC;AACrI,yHAAyH;AACzH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;CAEnC,CAAC;AACH,gIAAgI;AAChI,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;CAEpC,CAAC;AAEH;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,iBAAiB,6CA4C5B,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,6CAwClC,CAAC"}
@@ -4,11 +4,11 @@ import { jsx as _jsx } from "@elaraai/e3-ui/jsx-runtime";
4
4
  * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
5
5
  */
6
6
  /** @jsxImportSource @elaraai/e3-ui */
7
- import { ArrayType, DateTimeType, DictType, East, FloatType, IntegerType, OptionType, StringType, StructType, example, none, some } from "@elaraai/east";
7
+ import { ArrayType, DateTimeType, DictType, East, FloatType, IntegerType, OptionType, StringType, StructType, example, none, some, variant } from "@elaraai/east";
8
8
  import { Box, Reactive, Slice, UIComponentType } from "@elaraai/east-ui";
9
- import { Data, Plan, Record } from "@elaraai/e3-ui";
9
+ import { Data, Plan, Record, Schedule } from "@elaraai/e3-ui";
10
10
  import e3 from "@elaraai/e3";
11
- import { IndexedWork, indexedWorkOrders, indexedWorkPatch, indexedWorkByStatusDue, indexedWorkByDue, indexedWorkByJob, indexedWorkByQuantity, indexedWorkByUrgent, indexedWorkByTag } from "../sheet/sheet-records.examples.js";
11
+ import { indexedWorkByDue, indexedWorkByJob, indexedWorkByQuantity, indexedWorkByStatusDue, indexedWorkByTag, indexedWorkByUrgent, indexedWorkDue, indexedWorkJob, indexedWorkOrders, indexedWorkReference, } from "../sheet/sheet-records.examples.js";
12
12
  /** A job dropped on a press: a decision at the bucket it landed in. */
13
13
  export const PlanPressJob = StructType({ key: StringType, at: Plan.Types.Instant });
14
14
  /** A press: its name, the crew that runs it (none yet), and the jobs dropped on it. */
@@ -54,43 +54,140 @@ export const planDayVans = e3.record("plan_day_vans", DictType(StringType, PlanD
54
54
  ]));
55
55
  /** The vans by day. */
56
56
  export const planDayVansByDay = e3.recordIndex("plan_day_vans_by_day", planDayVans, { on: ["day"] });
57
+ /** An operation on a work order: the order it is on, by its key, the work it does, and when it runs. */
58
+ export const PlanOperation = StructType({ work: StringType, label: StringType, start: DateTimeType, end: DateTimeType });
59
+ const Operations = DictType(StringType, PlanOperation);
60
+ /**
61
+ * The work orders' operations, from their count: each of the first `count` orders' run of its job on the day it is
62
+ * due, 06:00 to 14:00, keyed by its order's reference and `-run`. The same pure generator seeds the record and runs as
63
+ * an e3 task.
64
+ */
65
+ const generateOperations = East.function([IntegerType], Operations, ($, count) => {
66
+ const rows = $.let(new Map(), Operations);
67
+ const referenceOf = $.const(indexedWorkReference);
68
+ const jobOf = $.const(indexedWorkJob);
69
+ const dueOf = $.const(indexedWorkDue);
70
+ const i = $.let(0n);
71
+ $.while(i.less(count), ($2) => {
72
+ const work = $2.const(referenceOf(i));
73
+ const due = $2.const(dueOf(i));
74
+ $2(rows.insert(East.str `${work}-run`, { work, label: jobOf(i), start: due.addMilliseconds(21600000n), end: due.addMilliseconds(50400000n) }));
75
+ $2.assign(i, i.add(1n));
76
+ });
77
+ return rows;
78
+ });
79
+ /** How many work orders' operations the task generates: the Sheet's 50,000 orders'. */
80
+ export const planOperationCount = e3.input("plan_operation_count", IntegerType, variant("value", 50000n));
81
+ /** The task that generates the operations from their count. */
82
+ export const planOperationsGenerated = e3.task("plan_operations_generated", [planOperationCount], generateOperations);
83
+ /** The 50,000 work orders' operations, one an order, keyed by the operation's key: read through the indexes below, never whole. */
84
+ export const planOperations = e3.record("plan_operations", Operations, East.compile(generateOperations, [])(50000n));
85
+ /** The operations' patch door: a canvas's Save commits through it, by the operation's key. */
86
+ export const planOperationsPatch = e3.mutation.patch(planOperations);
87
+ /** The operations over the interval each runs: the canvas's window, and the rail's exact count of the operations in it. */
88
+ export const planOperationsByTime = e3.recordIndex.interval("plan_operations_by_time", planOperations, { from: "start", to: "end" });
89
+ /** The operations by their work order and the weeks they touch: a cell is the operations of fifty orders in one week. */
90
+ export const planOperationsByWorkWeek = e3.recordIndex.series("plan_operations_by_work_week", planOperations, {
91
+ key: "work", from: "start", to: "end", tile: "week",
92
+ });
93
+ /** How busy each work order is, a month at a time: what the canvas shades where the operations in view are too many to draw. */
94
+ export const planOperationsByWorkMonth = e3.recordIndex.summary("plan_operations_by_work_month", planOperations, {
95
+ key: "work", from: "start", to: "end", tile: "month",
96
+ });
97
+ /**
98
+ * The Sheet's 50,000 work orders on a Plan, a row each, and their operations
99
+ * a record of their own placed on them (#1344, #1039). The work orders are a
100
+ * paged resource kind, narrowed through the rail's `orders` source — named
101
+ * after the kind's slot — over their indexes: by Status, Due, Job, Quantity,
102
+ * Urgent and Tag, with the presets and the search, opening on the orders Ready
103
+ * and due in the first fortnight of October. The canvas pages the narrowing's
104
+ * orders themselves, in its index's order, and the dates on screen never
105
+ * decide which are listed: Due is a field of the rail the viewer sets. The
106
+ * rail's `operation` source lists the operations' interval index, their series
107
+ * index and their summary, its range their start, so it holds the canvas's
108
+ * window: the canvas reads the operations of the orders in view a cell at a
109
+ * time, a pan within the weeks it holds reads nothing, and the orders' rows
110
+ * stay where they are as the dates move. Moving or resizing an operation
111
+ * drafts it in the operations kind's session, whatever the rail shows, and
112
+ * Save commits it through the operations' patch door by its key — so a
113
+ * million work orders, each with a year of operations, read what is on screen.
114
+ */
57
115
  export const planRecordIndexes = example({
58
- description: "The Sheet's 50,000 bound work orders on a Plan, narrowed through one rail: the slice's `rows` source (`Slice.bindRecords`) gives the canvas its rows, paged from it. Multiple statuses combine with the Due range through the status/due index, and the Due range is the canvas's window — the toolbar's dates, its range and the horizon brush write it. Operations remain nested under their original work-order keys when moved and saved.",
59
- keywords: ["Plan", "Slice", "bindRecords", "rows", "indexes", "paging", "Record", "editing", "range", "brush", "window"], inputs: [],
60
- fn: East.function([], UIComponentType, _$ => (_jsx(Reactive, { children: $ => {
61
- const record = $.let(Record.bind(indexedWorkOrders, [indexedWorkPatch]));
62
- // One rail, its `rows` source the canvas's rows: the orders it narrows to, paged in its index's order.
116
+ keywords: [
117
+ "Plan", "Schedule", "Schedule.resources", "Schedule.events", "Slice", "Slice.bindRecords", "source", "rail", "narrow",
118
+ "resource kind", "paged", "Data.bindPaged", "e3.recordIndex", "interval index", "series index", "summary index",
119
+ "e3.recordIndex.interval", "e3.recordIndex.series", "e3.recordIndex.summary", "cell", "window", "range", "large record",
120
+ "million rows", "work orders", "operations", "Record.bind", "entries", "editing", "Save", "#1344", "#1039",
121
+ ],
122
+ description: "The Sheet's 50,000 work orders on a Plan — a paged resource kind narrowed through the rail's `orders` source over their indexes: Status with a Due range, Job, Quantity, Urgent and Tag, the presets and the search, Due a field of the rail the viewer sets — and their operations a record of their own placed on them, read a cell at a time: the `operation` source lists their interval, series and summary indexes, its range the canvas's window, so the orders' rows stay as the dates move and only the cells around the rows in view are read; a moved operation is a draft of its kind's session, saved through the operations' patch door by its key",
123
+ fn: East.function([], UIComponentType, (_$) => (_jsx(Reactive, { children: $ => {
124
+ const orders = $.let(Data.bindPaged(indexedWorkOrders));
125
+ const operations = $.let(Record.bind(planOperations, [planOperationsPatch]));
126
+ const operationEntries = $.let(Data.bindPaged(planOperations));
127
+ // One rail. Its `orders` source narrows the paged work orders through their indexes, and the canvas pages the
128
+ // narrowing's orders, their Due a field of the rail the viewer sets. Its `operation` source reads the
129
+ // operations a cell at a time through their series and summary indexes, its range the canvas's window.
63
130
  const slice = $.let(Slice.bindRecords("ex.planRecordIndexes", {
64
- rows: {
131
+ orders: {
65
132
  source: Data.bindPaged(indexedWorkOrders, { indexes: [indexedWorkByStatusDue, indexedWorkByDue, indexedWorkByJob, indexedWorkByQuantity, indexedWorkByUrgent, indexedWorkByTag] }),
66
- label: "Work orders",
133
+ label: "Work orders", icon: { prefix: "fas", name: "clipboard-list" },
67
134
  fields: { status: { label: "Status", hints: ["Ready", "Scheduled", "Done"] }, due: { label: "Due" }, job: { label: "Job" }, quantity: { label: "Quantity" }, urgent: { label: "Urgent" }, tags: { label: "Tag", hints: ["Production", "Dispatch"] } },
68
- range: "due", search: ["job"], initial: { status: ["Ready"], due: { from: new Date("2026-10-01T00:00:00Z"), to: new Date("2026-10-15T00:00:00Z") } },
135
+ search: ["job"], initial: { status: ["Ready"], due: { from: new Date("2026-10-01T00:00:00Z"), to: new Date("2026-10-15T00:00:00Z") } },
136
+ },
137
+ operation: {
138
+ source: Data.bindPaged(planOperations, { indexes: [planOperationsByTime, planOperationsByWorkWeek, planOperationsByWorkMonth] }),
139
+ label: "Operations", fields: { start: { label: "Dates" } }, range: "start",
69
140
  },
70
- }, { presets: [{ id: "ready", name: "Ready", where: { rows: { status: ["Ready"] } } }, { id: "urgent", name: "Urgent", where: { rows: { urgent: [true] } } }] }));
71
- return _jsx(Box, { width: "100%", height: "760px", children: _jsx(Plan, { id: "planRecordIndexes", slice: { slice }, axis: Plan.axis({ window: { min: new Date("2026-10-01T00:00:00Z"), max: new Date("2026-12-30T00:00:00Z") }, resolution: "day", resolutions: ["month", "week", "day"] }), series: [Plan.series.span(IndexedWork, { key: "work", title: "Work orders", label: row => row.reference, id: true, sub: row => some(row.status),
72
- runs: row => row.operations.map((_$2, operation) => Plan.run({ key: operation.key, label: operation.label, start: operation.start, end: operation.end, state: "confirmed" })),
73
- edit: { items: "operations", key: "key", start: "start", end: "end" },
74
- })], editing: { onApply: Record.onApply(record, { keyed: true }) }, style: { height: "fill" } }) });
141
+ }, { presets: [{ id: "ready", name: "Ready", where: { orders: { status: ["Ready"] } } }, { id: "urgent", name: "Urgent", where: { orders: { urgent: [true] } } }] }));
142
+ return _jsx(Box, { width: "100%", height: "760px", children: _jsx(Plan, { id: "planRecordIndexes", slice: { slice }, axis: Plan.axis({ window: { min: new Date("2026-10-01T00:00:00Z"), max: new Date("2026-10-15T00:00:00Z") }, resolution: "day", resolutions: ["month", "week", "day"] }), resources: {
143
+ orders: Schedule.resources(orders, { name: "Work orders", icon: "clipboard-list", label: (w) => w.reference, sub: (w) => some(w.status) }),
144
+ }, events: {
145
+ operation: Schedule.events(operations, {
146
+ name: "Operation", icon: "gears", title: "label", start: "start", end: "end",
147
+ resource: { field: "work", of: "orders" }, entries: operationEntries,
148
+ }),
149
+ }, style: { height: "fill" } }) });
75
150
  } }))),
151
+ inputs: [],
76
152
  });
153
+ /**
154
+ * The work orders Plan of `planRecordIndexes` in a phone-width frame: the same
155
+ * paged work orders narrowed through the same rail, on the toolbar's responsive
156
+ * ladder, and the same operations read a cell at a time, their source holding
157
+ * the canvas's window — the narrow layout's cards drawn from the same reads.
158
+ */
77
159
  export const planRecordIndexesMobile = example({
78
- description: "A phone-width Plan over the same indexed work orders, narrowed through the same one rail — its `rows` source the canvas's rows — sharing the responsive Slice controls and date window.",
79
- keywords: ["Plan", "Slice", "bindRecords", "rows", "mobile", "indexes", "paging"], inputs: [],
80
- fn: East.function([], UIComponentType, _$ => (_jsx(Reactive, { children: $ => {
81
- const record = $.let(Record.bind(indexedWorkOrders, [indexedWorkPatch]));
160
+ keywords: [
161
+ "Plan", "Schedule", "Schedule.resources", "Schedule.events", "Slice", "Slice.bindRecords", "rail", "mobile", "narrow layout",
162
+ "resource kind", "paged", "Data.bindPaged", "series index", "summary index", "cell", "work orders", "operations", "#1344", "#1039",
163
+ ],
164
+ description: "The work orders Plan of planRecordIndexes in a phone-width frame — the paged work orders narrowed through the same rail on the toolbar's responsive ladder, Due a field of it, and their operations read a cell at a time, their source holding the canvas's window, so the dates never narrow the orders",
165
+ fn: East.function([], UIComponentType, (_$) => (_jsx(Reactive, { children: $ => {
166
+ const orders = $.let(Data.bindPaged(indexedWorkOrders));
167
+ const operations = $.let(Record.bind(planOperations, [planOperationsPatch]));
168
+ const operationEntries = $.let(Data.bindPaged(planOperations));
169
+ // The rail of planRecordIndexes: the paged work orders by their indexes, and the operations by cells, holding the window.
82
170
  const slice = $.let(Slice.bindRecords("ex.planRecordIndexesMobile", {
83
- rows: {
171
+ orders: {
84
172
  source: Data.bindPaged(indexedWorkOrders, { indexes: [indexedWorkByStatusDue, indexedWorkByDue, indexedWorkByJob, indexedWorkByQuantity, indexedWorkByUrgent, indexedWorkByTag] }),
85
- label: "Work orders",
173
+ label: "Work orders", icon: { prefix: "fas", name: "clipboard-list" },
86
174
  fields: { status: { label: "Status", hints: ["Ready", "Scheduled", "Done"] }, due: { label: "Due" }, job: { label: "Job" }, quantity: { label: "Quantity" }, urgent: { label: "Urgent" }, tags: { label: "Tag", hints: ["Production", "Dispatch"] } },
87
- range: "due", search: ["job"], initial: { status: ["Ready"], due: { from: new Date("2026-10-01T00:00:00Z"), to: new Date("2026-10-15T00:00:00Z") } },
175
+ search: ["job"], initial: { status: ["Ready"], due: { from: new Date("2026-10-01T00:00:00Z"), to: new Date("2026-10-15T00:00:00Z") } },
176
+ },
177
+ operation: {
178
+ source: Data.bindPaged(planOperations, { indexes: [planOperationsByTime, planOperationsByWorkWeek, planOperationsByWorkMonth] }),
179
+ label: "Operations", fields: { start: { label: "Dates" } }, range: "start",
88
180
  },
89
- }, { presets: [{ id: "ready", name: "Ready", where: { rows: { status: ["Ready"] } } }, { id: "urgent", name: "Urgent", where: { rows: { urgent: [true] } } }] }));
90
- return _jsx(Box, { width: "100%", maxWidth: "390px", height: "760px", children: _jsx(Plan, { id: "planRecordIndexesMobile", slice: { slice }, axis: Plan.axis({ window: { min: new Date("2026-10-01T00:00:00Z"), max: new Date("2026-12-30T00:00:00Z") }, resolution: "day", resolutions: ["month", "week", "day"] }), series: [Plan.series.span(IndexedWork, { key: "work", title: "Work orders", label: row => row.reference, id: true, sub: row => some(row.status),
91
- runs: row => row.operations.map((_$2, operation) => Plan.run({ key: operation.key, label: operation.label, start: operation.start, end: operation.end, state: "confirmed" })),
92
- edit: { items: "operations", key: "key", start: "start", end: "end" },
93
- })], editing: { onApply: Record.onApply(record, { keyed: true }) }, style: { height: "fill" } }) });
181
+ }, { presets: [{ id: "ready", name: "Ready", where: { orders: { status: ["Ready"] } } }, { id: "urgent", name: "Urgent", where: { orders: { urgent: [true] } } }] }));
182
+ return _jsx(Box, { width: "100%", maxWidth: "390px", height: "760px", children: _jsx(Plan, { id: "planRecordIndexesMobile", slice: { slice }, axis: Plan.axis({ window: { min: new Date("2026-10-01T00:00:00Z"), max: new Date("2026-10-15T00:00:00Z") }, resolution: "day", resolutions: ["month", "week", "day"] }), resources: {
183
+ orders: Schedule.resources(orders, { name: "Work orders", icon: "clipboard-list", label: (w) => w.reference, sub: (w) => some(w.status) }),
184
+ }, events: {
185
+ operation: Schedule.events(operations, {
186
+ name: "Operation", icon: "gears", title: "label", start: "start", end: "end",
187
+ resource: { field: "work", of: "orders" }, entries: operationEntries,
188
+ }),
189
+ }, style: { height: "fill" } }) });
94
190
  } }))),
191
+ inputs: [],
95
192
  });
96
193
  //# sourceMappingURL=plan-records.examples.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"plan-records.examples.js","sourceRoot":"","sources":["../../../test/plan/plan-records.examples.tsx"],"names":[],"mappings":";AAAA;;;GAGG;AACH,sCAAsC;AACt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