@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.
- package/dist/src/allocation/index.d.ts +258 -7
- package/dist/src/allocation/index.d.ts.map +1 -1
- package/dist/src/allocation/index.js +30 -1
- package/dist/src/allocation/index.js.map +1 -1
- package/dist/src/allocation/types.d.ts +41 -0
- package/dist/src/allocation/types.d.ts.map +1 -1
- package/dist/src/allocation/types.js +35 -0
- package/dist/src/allocation/types.js.map +1 -1
- package/dist/src/bind/data-indexed.d.ts +31 -4
- package/dist/src/bind/data-indexed.d.ts.map +1 -1
- package/dist/src/bind/data-indexed.js +54 -10
- package/dist/src/bind/data-indexed.js.map +1 -1
- package/dist/src/calendar/index.d.ts +540 -14
- package/dist/src/calendar/index.d.ts.map +1 -1
- package/dist/src/calendar/index.js +43 -7
- package/dist/src/calendar/index.js.map +1 -1
- package/dist/src/calendar/paged.d.ts +89 -0
- package/dist/src/calendar/paged.d.ts.map +1 -0
- package/dist/src/calendar/paged.js +148 -0
- package/dist/src/calendar/paged.js.map +1 -0
- package/dist/src/flowchart/payload.d.ts +156 -0
- package/dist/src/flowchart/payload.d.ts.map +1 -1
- package/dist/src/flowchart/window.d.ts +12 -0
- package/dist/src/flowchart/window.d.ts.map +1 -1
- package/dist/src/index.d.ts +11 -2
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +19 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/internal.d.ts +11 -5
- package/dist/src/internal.d.ts.map +1 -1
- package/dist/src/internal.js +28 -7
- package/dist/src/internal.js.map +1 -1
- package/dist/src/plan/builders.d.ts +12 -8
- package/dist/src/plan/builders.d.ts.map +1 -1
- package/dist/src/plan/builders.js +12 -8
- package/dist/src/plan/builders.js.map +1 -1
- package/dist/src/plan/event-rows.d.ts +228 -156
- package/dist/src/plan/event-rows.d.ts.map +1 -1
- package/dist/src/plan/event-rows.js +239 -54
- package/dist/src/plan/event-rows.js.map +1 -1
- package/dist/src/plan/index.d.ts +5 -0
- package/dist/src/plan/index.d.ts.map +1 -1
- package/dist/src/plan/index.js +3 -0
- package/dist/src/plan/index.js.map +1 -1
- package/dist/src/plan/ir.d.ts +70 -0
- package/dist/src/plan/ir.d.ts.map +1 -1
- package/dist/src/plan/ordered-source.d.ts +2038 -1
- package/dist/src/plan/ordered-source.d.ts.map +1 -1
- package/dist/src/plan/ordered-source.js +19 -11
- package/dist/src/plan/ordered-source.js.map +1 -1
- package/dist/src/plan/plan.d.ts +513 -32
- package/dist/src/plan/plan.d.ts.map +1 -1
- package/dist/src/plan/plan.js +119 -32
- package/dist/src/plan/plan.js.map +1 -1
- package/dist/src/plan/root.d.ts +4 -2
- package/dist/src/plan/root.d.ts.map +1 -1
- package/dist/src/plan/root.js +6 -4
- package/dist/src/plan/root.js.map +1 -1
- package/dist/src/plan/series.d.ts +13 -0
- package/dist/src/plan/series.d.ts.map +1 -1
- package/dist/src/plan/series.js +61 -7
- package/dist/src/plan/series.js.map +1 -1
- package/dist/src/plan/types.d.ts +14 -0
- package/dist/src/plan/types.d.ts.map +1 -1
- package/dist/src/plan/types.js +8 -0
- package/dist/src/plan/types.js.map +1 -1
- package/dist/src/roster/index.d.ts +608 -20
- package/dist/src/roster/index.d.ts.map +1 -1
- package/dist/src/roster/index.js +103 -29
- package/dist/src/roster/index.js.map +1 -1
- package/dist/src/roster/library.d.ts +12 -2
- package/dist/src/roster/library.d.ts.map +1 -1
- package/dist/src/roster/library.js +8 -0
- package/dist/src/roster/library.js.map +1 -1
- package/dist/src/roster/lists.d.ts +59 -12
- package/dist/src/roster/lists.d.ts.map +1 -1
- package/dist/src/roster/lists.js +51 -58
- package/dist/src/roster/lists.js.map +1 -1
- package/dist/src/roster/times.d.ts +402 -0
- package/dist/src/roster/times.d.ts.map +1 -1
- package/dist/src/roster/types.d.ts +913 -1
- package/dist/src/roster/types.d.ts.map +1 -1
- package/dist/src/roster/types.js +43 -3
- package/dist/src/roster/types.js.map +1 -1
- package/dist/src/schedule/cell-checks.d.ts +85 -0
- package/dist/src/schedule/cell-checks.d.ts.map +1 -0
- package/dist/src/schedule/cell-checks.js +211 -0
- package/dist/src/schedule/cell-checks.js.map +1 -0
- package/dist/src/schedule/events.d.ts +42 -10
- package/dist/src/schedule/events.d.ts.map +1 -1
- package/dist/src/schedule/events.js +349 -155
- package/dist/src/schedule/events.js.map +1 -1
- package/dist/src/schedule/fields.d.ts +134 -0
- package/dist/src/schedule/fields.d.ts.map +1 -0
- package/dist/src/schedule/fields.js +207 -0
- package/dist/src/schedule/fields.js.map +1 -0
- package/dist/src/schedule/library.d.ts +11 -3
- package/dist/src/schedule/library.d.ts.map +1 -1
- package/dist/src/schedule/library.js +9 -6
- package/dist/src/schedule/library.js.map +1 -1
- package/dist/src/schedule/optimise.d.ts +124 -0
- package/dist/src/schedule/optimise.d.ts.map +1 -0
- package/dist/src/schedule/optimise.js +140 -0
- package/dist/src/schedule/optimise.js.map +1 -0
- package/dist/src/schedule/pages.d.ts +76 -0
- package/dist/src/schedule/pages.d.ts.map +1 -0
- package/dist/src/schedule/pages.js +86 -0
- package/dist/src/schedule/pages.js.map +1 -0
- package/dist/src/schedule/record-window.d.ts +119 -6
- package/dist/src/schedule/record-window.d.ts.map +1 -1
- package/dist/src/schedule/record-window.js +139 -60
- package/dist/src/schedule/record-window.js.map +1 -1
- package/dist/src/schedule/resources.d.ts +8 -4
- package/dist/src/schedule/resources.d.ts.map +1 -1
- package/dist/src/schedule/resources.js +35 -15
- package/dist/src/schedule/resources.js.map +1 -1
- package/dist/src/schedule/session.d.ts +14 -0
- package/dist/src/schedule/session.d.ts.map +1 -1
- package/dist/src/schedule/session.js +29 -17
- package/dist/src/schedule/session.js.map +1 -1
- package/dist/src/schedule/types.d.ts +426 -36
- package/dist/src/schedule/types.d.ts.map +1 -1
- package/dist/src/schedule/types.js +63 -17
- package/dist/src/schedule/types.js.map +1 -1
- package/dist/src/schedule/window.d.ts +30 -9
- package/dist/src/schedule/window.d.ts.map +1 -1
- package/dist/src/schedule/window.js +101 -49
- package/dist/src/schedule/window.js.map +1 -1
- package/dist/src/schematic/index.d.ts +277 -0
- package/dist/src/schematic/index.d.ts.map +1 -0
- package/dist/src/schematic/index.js +206 -0
- package/dist/src/schematic/index.js.map +1 -0
- package/dist/src/schematic/kinds.d.ts +501 -0
- package/dist/src/schematic/kinds.d.ts.map +1 -0
- package/dist/src/schematic/kinds.js +1027 -0
- package/dist/src/schematic/kinds.js.map +1 -0
- package/dist/src/schematic/layers.d.ts +74 -0
- package/dist/src/schematic/layers.d.ts.map +1 -0
- package/dist/src/schematic/layers.js +99 -0
- package/dist/src/schematic/layers.js.map +1 -0
- package/dist/src/schematic/library.d.ts +202 -0
- package/dist/src/schematic/library.d.ts.map +1 -0
- package/dist/src/schematic/library.js +244 -0
- package/dist/src/schematic/library.js.map +1 -0
- package/dist/src/schematic/payload.d.ts +8360 -0
- package/dist/src/schematic/payload.d.ts.map +1 -0
- package/dist/src/schematic/payload.js +446 -0
- package/dist/src/schematic/payload.js.map +1 -0
- package/dist/src/schematic/schematic.d.ts +27 -0
- package/dist/src/schematic/schematic.d.ts.map +1 -0
- package/dist/src/schematic/schematic.js +17 -0
- package/dist/src/schematic/schematic.js.map +1 -0
- package/dist/src/schematic/shapes.d.ts +150 -0
- package/dist/src/schematic/shapes.d.ts.map +1 -0
- package/dist/src/schematic/shapes.js +171 -0
- package/dist/src/schematic/shapes.js.map +1 -0
- package/dist/src/schematic/templates.d.ts +96 -0
- package/dist/src/schematic/templates.d.ts.map +1 -0
- package/dist/src/schematic/templates.js +91 -0
- package/dist/src/schematic/templates.js.map +1 -0
- package/dist/src/schematic/types.d.ts +5766 -0
- package/dist/src/schematic/types.d.ts.map +1 -0
- package/dist/src/schematic/types.js +688 -0
- package/dist/src/schematic/types.js.map +1 -0
- package/dist/src/schematic/window.d.ts +212 -0
- package/dist/src/schematic/window.d.ts.map +1 -0
- package/dist/src/schematic/window.js +337 -0
- package/dist/src/schematic/window.js.map +1 -0
- package/dist/src/sheet/editing-bridge.d.ts +4 -2
- package/dist/src/sheet/editing-bridge.d.ts.map +1 -1
- package/dist/src/sheet/editing-bridge.js +8 -2
- package/dist/src/sheet/editing-bridge.js.map +1 -1
- package/dist/src/sheet/editing-types.d.ts +9 -5
- package/dist/src/sheet/editing-types.d.ts.map +1 -1
- package/dist/src/sheet/editing-types.js +9 -5
- package/dist/src/sheet/editing-types.js.map +1 -1
- package/dist/src/sheet/index.d.ts +18 -8
- package/dist/src/sheet/index.d.ts.map +1 -1
- package/dist/src/sheet/index.js +15 -7
- package/dist/src/sheet/index.js.map +1 -1
- package/dist/src/sheet/optimise.d.ts +69 -0
- package/dist/src/sheet/optimise.d.ts.map +1 -0
- package/dist/src/sheet/optimise.js +81 -0
- package/dist/src/sheet/optimise.js.map +1 -0
- package/dist/src/sheet/registers.d.ts +5 -5
- package/dist/src/sheet/registers.js +5 -5
- package/dist/src/sheet/root.d.ts +2 -0
- package/dist/src/sheet/root.d.ts.map +1 -1
- package/dist/src/sheet/root.js +2 -2
- package/dist/src/sheet/root.js.map +1 -1
- package/dist/src/sheet/sheet.d.ts +753 -573
- package/dist/src/sheet/sheet.d.ts.map +1 -1
- package/dist/src/sheet/sheet.js +45 -13
- package/dist/src/sheet/sheet.js.map +1 -1
- package/dist/src/sheet/types.d.ts +92 -12
- package/dist/src/sheet/types.d.ts.map +1 -1
- package/dist/src/sheet/types.js +4 -8
- package/dist/src/sheet/types.js.map +1 -1
- package/dist/src/utils/keyed-rows.d.ts +41 -0
- package/dist/src/utils/keyed-rows.d.ts.map +1 -0
- package/dist/src/utils/keyed-rows.js +64 -0
- package/dist/src/utils/keyed-rows.js.map +1 -0
- package/dist/src/utils/optimise.d.ts +79 -0
- package/dist/src/utils/optimise.d.ts.map +1 -0
- package/dist/src/utils/optimise.js +46 -0
- package/dist/src/utils/optimise.js.map +1 -0
- package/dist/test/allocation/allocation.examples.d.ts +6 -18
- package/dist/test/allocation/allocation.examples.d.ts.map +1 -1
- package/dist/test/allocation/allocation.examples.js +3 -3
- package/dist/test/allocation/allocation.examples.js.map +1 -1
- package/dist/test/allocation/optimise.examples.d.ts +109 -0
- package/dist/test/allocation/optimise.examples.d.ts.map +1 -0
- package/dist/test/allocation/optimise.examples.js +223 -0
- package/dist/test/allocation/optimise.examples.js.map +1 -0
- package/dist/test/bind/data/data.examples.d.ts +540 -36
- package/dist/test/bind/data/data.examples.d.ts.map +1 -1
- package/dist/test/bind/data/data.examples.js +66 -2
- package/dist/test/bind/data/data.examples.js.map +1 -1
- package/dist/test/bind/record/record.examples.d.ts +1 -3
- package/dist/test/bind/record/record.examples.d.ts.map +1 -1
- package/dist/test/calendar/calendar-records.examples.d.ts.map +1 -1
- package/dist/test/calendar/calendar-records.examples.js +3 -3
- package/dist/test/calendar/calendar-records.examples.js.map +1 -1
- package/dist/test/calendar/calendar-windows.examples.d.ts +9 -0
- package/dist/test/calendar/calendar-windows.examples.d.ts.map +1 -0
- package/dist/test/calendar/calendar-windows.examples.js +111 -0
- package/dist/test/calendar/calendar-windows.examples.js.map +1 -0
- package/dist/test/calendar/calendar.examples.d.ts +7 -21
- package/dist/test/calendar/calendar.examples.d.ts.map +1 -1
- package/dist/test/calendar/calendar.examples.js +7 -7
- package/dist/test/calendar/calendar.examples.js.map +1 -1
- package/dist/test/calendar/optimise.examples.d.ts +132 -0
- package/dist/test/calendar/optimise.examples.d.ts.map +1 -0
- package/dist/test/calendar/optimise.examples.js +75 -0
- package/dist/test/calendar/optimise.examples.js.map +1 -0
- package/dist/test/examples-package.d.ts +46 -10
- package/dist/test/examples-package.d.ts.map +1 -1
- package/dist/test/examples-package.js +142 -32
- package/dist/test/examples-package.js.map +1 -1
- package/dist/test/flowchart/flowchart.examples.d.ts +10 -30
- package/dist/test/flowchart/flowchart.examples.d.ts.map +1 -1
- package/dist/test/plan/optimise.examples.d.ts +207 -0
- package/dist/test/plan/optimise.examples.d.ts.map +1 -0
- package/dist/test/plan/optimise.examples.js +98 -0
- package/dist/test/plan/optimise.examples.js.map +1 -0
- package/dist/test/plan/plan-events.examples.d.ts +8 -24
- package/dist/test/plan/plan-events.examples.d.ts.map +1 -1
- package/dist/test/plan/plan-events.examples.js +3 -3
- package/dist/test/plan/plan-events.examples.js.map +1 -1
- package/dist/test/plan/plan-records.examples.d.ts +200 -19
- package/dist/test/plan/plan-records.examples.d.ts.map +1 -1
- package/dist/test/plan/plan-records.examples.js +125 -28
- package/dist/test/plan/plan-records.examples.js.map +1 -1
- package/dist/test/plan/plan-windows.examples.d.ts +853 -36
- package/dist/test/plan/plan-windows.examples.d.ts.map +1 -1
- package/dist/test/plan/plan-windows.examples.js +166 -29
- package/dist/test/plan/plan-windows.examples.js.map +1 -1
- package/dist/test/plan/plan.examples.d.ts +7 -21
- package/dist/test/plan/plan.examples.d.ts.map +1 -1
- package/dist/test/plan/plan.examples.js +11 -9
- package/dist/test/plan/plan.examples.js.map +1 -1
- package/dist/test/roster/domain.examples.d.ts +804 -0
- package/dist/test/roster/domain.examples.d.ts.map +1 -1
- package/dist/test/roster/domain.examples.js +3 -3
- package/dist/test/roster/domain.examples.js.map +1 -1
- package/dist/test/roster/optimise.examples.d.ts +485 -0
- package/dist/test/roster/optimise.examples.d.ts.map +1 -0
- package/dist/test/roster/optimise.examples.js +155 -0
- package/dist/test/roster/optimise.examples.js.map +1 -0
- package/dist/test/roster/roster-records.examples.d.ts +6 -18
- package/dist/test/roster/roster-records.examples.d.ts.map +1 -1
- package/dist/test/roster/roster-records.examples.js +1 -1
- package/dist/test/roster/roster-records.examples.js.map +1 -1
- package/dist/test/roster/roster.examples.d.ts +3391 -21
- package/dist/test/roster/roster.examples.d.ts.map +1 -1
- package/dist/test/roster/roster.examples.js +54 -7
- package/dist/test/roster/roster.examples.js.map +1 -1
- package/dist/test/roster/warehouse.d.ts +150 -7
- package/dist/test/roster/warehouse.d.ts.map +1 -1
- package/dist/test/roster/warehouse.js +36 -11
- package/dist/test/roster/warehouse.js.map +1 -1
- package/dist/test/schedule/schedule.examples.d.ts +1 -3
- package/dist/test/schedule/schedule.examples.d.ts.map +1 -1
- package/dist/test/schematic/schematic-records.examples.d.ts +444 -0
- package/dist/test/schematic/schematic-records.examples.d.ts.map +1 -0
- package/dist/test/schematic/schematic-records.examples.js +205 -0
- package/dist/test/schematic/schematic-records.examples.js.map +1 -0
- package/dist/test/schematic/schematic.examples.d.ts +2289 -0
- package/dist/test/schematic/schematic.examples.d.ts.map +1 -0
- package/dist/test/schematic/schematic.examples.js +453 -0
- package/dist/test/schematic/schematic.examples.js.map +1 -0
- package/dist/test/sheet/optimise.examples.d.ts +177 -0
- package/dist/test/sheet/optimise.examples.d.ts.map +1 -0
- package/dist/test/sheet/optimise.examples.js +75 -0
- package/dist/test/sheet/optimise.examples.js.map +1 -0
- package/dist/test/sheet/sheet-records.examples.d.ts +95 -204
- package/dist/test/sheet/sheet-records.examples.d.ts.map +1 -1
- package/dist/test/sheet/sheet-records.examples.js +42 -17
- package/dist/test/sheet/sheet-records.examples.js.map +1 -1
- package/dist/test/sheet/sheet.examples.d.ts +17 -33
- package/dist/test/sheet/sheet.examples.d.ts.map +1 -1
- package/dist/test/sheet/sheet.examples.js +18 -15
- package/dist/test/sheet/sheet.examples.js.map +1 -1
- package/package.json +11 -11
|
@@ -3,15 +3,12 @@
|
|
|
3
3
|
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
4
|
*/
|
|
5
5
|
/** @jsxImportSource @elaraai/east-ui */
|
|
6
|
-
import {
|
|
7
|
-
/**
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
readonly end: DateTimeType;
|
|
13
|
-
}>;
|
|
14
|
-
/** Work orders retain their original String record keys through every index. */
|
|
6
|
+
import { BooleanType, DateTimeType, DictType, IntegerType, SetType, StringType, StructType, variant } from "@elaraai/east";
|
|
7
|
+
/**
|
|
8
|
+
* A work order: edited as a Sheet row, and a row of the Plan whose operations
|
|
9
|
+
* are a record of their own (`plan/plan-records.examples.tsx`). Its String
|
|
10
|
+
* record key is kept through every index.
|
|
11
|
+
*/
|
|
15
12
|
export declare const IndexedWork: StructType<{
|
|
16
13
|
readonly reference: StringType;
|
|
17
14
|
readonly job: StringType;
|
|
@@ -20,13 +17,13 @@ export declare const IndexedWork: StructType<{
|
|
|
20
17
|
readonly quantity: IntegerType;
|
|
21
18
|
readonly urgent: BooleanType;
|
|
22
19
|
readonly tags: SetType<StringType>;
|
|
23
|
-
readonly operations: ArrayType<StructType<{
|
|
24
|
-
readonly key: StringType;
|
|
25
|
-
readonly label: StringType;
|
|
26
|
-
readonly start: DateTimeType;
|
|
27
|
-
readonly end: DateTimeType;
|
|
28
|
-
}>>;
|
|
29
20
|
}>;
|
|
21
|
+
/** The `i`-th work order's reference, its record key: `JOB-` and its number plus 10,000, so key order is number order. */
|
|
22
|
+
export declare const indexedWorkReference: import("@elaraai/east").CallableFunctionExpr<[IntegerType], StringType>;
|
|
23
|
+
/** The job the `i`-th work order runs: cut panels, edge band, inspect and pack, in turn. */
|
|
24
|
+
export declare const indexedWorkJob: import("@elaraai/east").CallableFunctionExpr<[IntegerType], StringType>;
|
|
25
|
+
/** When the `i`-th work order is due: a day of the ninety from 1 October 2026, each order thirty-seven days on from the one before. */
|
|
26
|
+
export declare const indexedWorkDue: import("@elaraai/east").CallableFunctionExpr<[IntegerType], DateTimeType>;
|
|
30
27
|
export declare const indexedWorkCount: import("@elaraai/e3").DatasetDef<IntegerType, [variant<"field", "inputs">, variant<"field", "indexed_work_count">]>;
|
|
31
28
|
export declare const indexedWorkGenerated: import("@elaraai/e3").TaskDef<DictType<StringType, StructType<{
|
|
32
29
|
readonly reference: StringType;
|
|
@@ -36,12 +33,6 @@ export declare const indexedWorkGenerated: import("@elaraai/e3").TaskDef<DictTyp
|
|
|
36
33
|
readonly quantity: IntegerType;
|
|
37
34
|
readonly urgent: BooleanType;
|
|
38
35
|
readonly tags: SetType<StringType>;
|
|
39
|
-
readonly operations: ArrayType<StructType<{
|
|
40
|
-
readonly key: StringType;
|
|
41
|
-
readonly label: StringType;
|
|
42
|
-
readonly start: DateTimeType;
|
|
43
|
-
readonly end: DateTimeType;
|
|
44
|
-
}>>;
|
|
45
36
|
}>>, [variant<"field", "tasks">, variant<"field", "indexed_work_generated">, variant<"field", "output">]>;
|
|
46
37
|
export declare const indexedWorkOrders: import("@elaraai/e3").RecordDef<DictType<StringType, StructType<{
|
|
47
38
|
readonly reference: StringType;
|
|
@@ -51,12 +42,6 @@ export declare const indexedWorkOrders: import("@elaraai/e3").RecordDef<DictType
|
|
|
51
42
|
readonly quantity: IntegerType;
|
|
52
43
|
readonly urgent: BooleanType;
|
|
53
44
|
readonly tags: SetType<StringType>;
|
|
54
|
-
readonly operations: ArrayType<StructType<{
|
|
55
|
-
readonly key: StringType;
|
|
56
|
-
readonly label: StringType;
|
|
57
|
-
readonly start: DateTimeType;
|
|
58
|
-
readonly end: DateTimeType;
|
|
59
|
-
}>>;
|
|
60
45
|
}>>, [variant<"field", "records">, variant<"field", "indexed_work_orders">]>;
|
|
61
46
|
export declare const indexedWorkPatch: import("@elaraai/e3").MutationDef<"patch", DictType<StringType, StructType<{
|
|
62
47
|
readonly reference: StringType;
|
|
@@ -66,12 +51,6 @@ export declare const indexedWorkPatch: import("@elaraai/e3").MutationDef<"patch"
|
|
|
66
51
|
readonly quantity: IntegerType;
|
|
67
52
|
readonly urgent: BooleanType;
|
|
68
53
|
readonly tags: SetType<StringType>;
|
|
69
|
-
readonly operations: ArrayType<StructType<{
|
|
70
|
-
readonly key: StringType;
|
|
71
|
-
readonly label: StringType;
|
|
72
|
-
readonly start: DateTimeType;
|
|
73
|
-
readonly end: DateTimeType;
|
|
74
|
-
}>>;
|
|
75
54
|
}>>, [import("@elaraai/east").VariantType<{
|
|
76
55
|
unchanged: import("@elaraai/east").NullType;
|
|
77
56
|
replace: StructType<{
|
|
@@ -83,12 +62,6 @@ export declare const indexedWorkPatch: import("@elaraai/e3").MutationDef<"patch"
|
|
|
83
62
|
readonly quantity: IntegerType;
|
|
84
63
|
readonly urgent: BooleanType;
|
|
85
64
|
readonly tags: SetType<StringType>;
|
|
86
|
-
readonly operations: ArrayType<StructType<{
|
|
87
|
-
readonly key: StringType;
|
|
88
|
-
readonly label: StringType;
|
|
89
|
-
readonly start: DateTimeType;
|
|
90
|
-
readonly end: DateTimeType;
|
|
91
|
-
}>>;
|
|
92
65
|
}>>;
|
|
93
66
|
after: DictType<StringType, StructType<{
|
|
94
67
|
readonly reference: StringType;
|
|
@@ -98,12 +71,6 @@ export declare const indexedWorkPatch: import("@elaraai/e3").MutationDef<"patch"
|
|
|
98
71
|
readonly quantity: IntegerType;
|
|
99
72
|
readonly urgent: BooleanType;
|
|
100
73
|
readonly tags: SetType<StringType>;
|
|
101
|
-
readonly operations: ArrayType<StructType<{
|
|
102
|
-
readonly key: StringType;
|
|
103
|
-
readonly label: StringType;
|
|
104
|
-
readonly start: DateTimeType;
|
|
105
|
-
readonly end: DateTimeType;
|
|
106
|
-
}>>;
|
|
107
74
|
}>>;
|
|
108
75
|
}>;
|
|
109
76
|
patch: DictType<StringType, import("@elaraai/east").VariantType<{
|
|
@@ -115,12 +82,6 @@ export declare const indexedWorkPatch: import("@elaraai/e3").MutationDef<"patch"
|
|
|
115
82
|
readonly quantity: IntegerType;
|
|
116
83
|
readonly urgent: BooleanType;
|
|
117
84
|
readonly tags: SetType<StringType>;
|
|
118
|
-
readonly operations: ArrayType<StructType<{
|
|
119
|
-
readonly key: StringType;
|
|
120
|
-
readonly label: StringType;
|
|
121
|
-
readonly start: DateTimeType;
|
|
122
|
-
readonly end: DateTimeType;
|
|
123
|
-
}>>;
|
|
124
85
|
}>;
|
|
125
86
|
insert: StructType<{
|
|
126
87
|
readonly reference: StringType;
|
|
@@ -130,12 +91,6 @@ export declare const indexedWorkPatch: import("@elaraai/e3").MutationDef<"patch"
|
|
|
130
91
|
readonly quantity: IntegerType;
|
|
131
92
|
readonly urgent: BooleanType;
|
|
132
93
|
readonly tags: SetType<StringType>;
|
|
133
|
-
readonly operations: ArrayType<StructType<{
|
|
134
|
-
readonly key: StringType;
|
|
135
|
-
readonly label: StringType;
|
|
136
|
-
readonly start: DateTimeType;
|
|
137
|
-
readonly end: DateTimeType;
|
|
138
|
-
}>>;
|
|
139
94
|
}>;
|
|
140
95
|
update: import("@elaraai/east").VariantType<{
|
|
141
96
|
unchanged: import("@elaraai/east").NullType;
|
|
@@ -148,12 +103,6 @@ export declare const indexedWorkPatch: import("@elaraai/e3").MutationDef<"patch"
|
|
|
148
103
|
readonly quantity: IntegerType;
|
|
149
104
|
readonly urgent: BooleanType;
|
|
150
105
|
readonly tags: SetType<StringType>;
|
|
151
|
-
readonly operations: ArrayType<StructType<{
|
|
152
|
-
readonly key: StringType;
|
|
153
|
-
readonly label: StringType;
|
|
154
|
-
readonly start: DateTimeType;
|
|
155
|
-
readonly end: DateTimeType;
|
|
156
|
-
}>>;
|
|
157
106
|
}>;
|
|
158
107
|
after: StructType<{
|
|
159
108
|
readonly reference: StringType;
|
|
@@ -163,12 +112,6 @@ export declare const indexedWorkPatch: import("@elaraai/e3").MutationDef<"patch"
|
|
|
163
112
|
readonly quantity: IntegerType;
|
|
164
113
|
readonly urgent: BooleanType;
|
|
165
114
|
readonly tags: SetType<StringType>;
|
|
166
|
-
readonly operations: ArrayType<StructType<{
|
|
167
|
-
readonly key: StringType;
|
|
168
|
-
readonly label: StringType;
|
|
169
|
-
readonly start: DateTimeType;
|
|
170
|
-
readonly end: DateTimeType;
|
|
171
|
-
}>>;
|
|
172
115
|
}>;
|
|
173
116
|
}>;
|
|
174
117
|
patch: StructType<{
|
|
@@ -225,88 +168,6 @@ export declare const indexedWorkPatch: import("@elaraai/e3").MutationDef<"patch"
|
|
|
225
168
|
insert: import("@elaraai/east").NullType;
|
|
226
169
|
}>>;
|
|
227
170
|
}>;
|
|
228
|
-
readonly operations: import("@elaraai/east").VariantType<{
|
|
229
|
-
unchanged: import("@elaraai/east").NullType;
|
|
230
|
-
replace: StructType<{
|
|
231
|
-
before: ArrayType<StructType<{
|
|
232
|
-
readonly key: StringType;
|
|
233
|
-
readonly label: StringType;
|
|
234
|
-
readonly start: DateTimeType;
|
|
235
|
-
readonly end: DateTimeType;
|
|
236
|
-
}>>;
|
|
237
|
-
after: ArrayType<StructType<{
|
|
238
|
-
readonly key: StringType;
|
|
239
|
-
readonly label: StringType;
|
|
240
|
-
readonly start: DateTimeType;
|
|
241
|
-
readonly end: DateTimeType;
|
|
242
|
-
}>>;
|
|
243
|
-
}>;
|
|
244
|
-
patch: ArrayType<StructType<{
|
|
245
|
-
key: IntegerType;
|
|
246
|
-
offset: IntegerType;
|
|
247
|
-
operation: import("@elaraai/east").VariantType<{
|
|
248
|
-
delete: StructType<{
|
|
249
|
-
readonly key: StringType;
|
|
250
|
-
readonly label: StringType;
|
|
251
|
-
readonly start: DateTimeType;
|
|
252
|
-
readonly end: DateTimeType;
|
|
253
|
-
}>;
|
|
254
|
-
insert: StructType<{
|
|
255
|
-
readonly key: StringType;
|
|
256
|
-
readonly label: StringType;
|
|
257
|
-
readonly start: DateTimeType;
|
|
258
|
-
readonly end: DateTimeType;
|
|
259
|
-
}>;
|
|
260
|
-
update: import("@elaraai/east").VariantType<{
|
|
261
|
-
unchanged: import("@elaraai/east").NullType;
|
|
262
|
-
replace: StructType<{
|
|
263
|
-
before: StructType<{
|
|
264
|
-
readonly key: StringType;
|
|
265
|
-
readonly label: StringType;
|
|
266
|
-
readonly start: DateTimeType;
|
|
267
|
-
readonly end: DateTimeType;
|
|
268
|
-
}>;
|
|
269
|
-
after: StructType<{
|
|
270
|
-
readonly key: StringType;
|
|
271
|
-
readonly label: StringType;
|
|
272
|
-
readonly start: DateTimeType;
|
|
273
|
-
readonly end: DateTimeType;
|
|
274
|
-
}>;
|
|
275
|
-
}>;
|
|
276
|
-
patch: StructType<{
|
|
277
|
-
readonly key: import("@elaraai/east").VariantType<{
|
|
278
|
-
unchanged: import("@elaraai/east").NullType;
|
|
279
|
-
replace: StructType<{
|
|
280
|
-
before: StringType;
|
|
281
|
-
after: StringType;
|
|
282
|
-
}>;
|
|
283
|
-
}>;
|
|
284
|
-
readonly label: import("@elaraai/east").VariantType<{
|
|
285
|
-
unchanged: import("@elaraai/east").NullType;
|
|
286
|
-
replace: StructType<{
|
|
287
|
-
before: StringType;
|
|
288
|
-
after: StringType;
|
|
289
|
-
}>;
|
|
290
|
-
}>;
|
|
291
|
-
readonly start: import("@elaraai/east").VariantType<{
|
|
292
|
-
unchanged: import("@elaraai/east").NullType;
|
|
293
|
-
replace: StructType<{
|
|
294
|
-
before: DateTimeType;
|
|
295
|
-
after: DateTimeType;
|
|
296
|
-
}>;
|
|
297
|
-
}>;
|
|
298
|
-
readonly end: import("@elaraai/east").VariantType<{
|
|
299
|
-
unchanged: import("@elaraai/east").NullType;
|
|
300
|
-
replace: StructType<{
|
|
301
|
-
before: DateTimeType;
|
|
302
|
-
after: DateTimeType;
|
|
303
|
-
}>;
|
|
304
|
-
}>;
|
|
305
|
-
}>;
|
|
306
|
-
}>;
|
|
307
|
-
}>;
|
|
308
|
-
}>>;
|
|
309
|
-
}>;
|
|
310
171
|
}>;
|
|
311
172
|
}>;
|
|
312
173
|
}>>;
|
|
@@ -319,18 +180,10 @@ export declare const indexedWorkByStatusDue: import("@elaraai/e3").RecordIndexDe
|
|
|
319
180
|
readonly quantity: IntegerType;
|
|
320
181
|
readonly urgent: BooleanType;
|
|
321
182
|
readonly tags: SetType<StringType>;
|
|
322
|
-
readonly operations: ArrayType<StructType<{
|
|
323
|
-
readonly key: StringType;
|
|
324
|
-
readonly label: StringType;
|
|
325
|
-
readonly start: DateTimeType;
|
|
326
|
-
readonly end: DateTimeType;
|
|
327
|
-
}>>;
|
|
328
183
|
}>>, StructType<{
|
|
329
184
|
status: StringType;
|
|
330
185
|
due: DateTimeType;
|
|
331
|
-
}>, import("@elaraai/east").NullType, readonly ["status", "due"]
|
|
332
|
-
interval: undefined;
|
|
333
|
-
};
|
|
186
|
+
}>, import("@elaraai/east").NullType, readonly ["status", "due"]>;
|
|
334
187
|
export declare const indexedWorkByDue: import("@elaraai/e3").RecordIndexDef<"by_due", DictType<StringType, StructType<{
|
|
335
188
|
readonly reference: StringType;
|
|
336
189
|
readonly job: StringType;
|
|
@@ -339,15 +192,7 @@ export declare const indexedWorkByDue: import("@elaraai/e3").RecordIndexDef<"by_
|
|
|
339
192
|
readonly quantity: IntegerType;
|
|
340
193
|
readonly urgent: BooleanType;
|
|
341
194
|
readonly tags: SetType<StringType>;
|
|
342
|
-
|
|
343
|
-
readonly key: StringType;
|
|
344
|
-
readonly label: StringType;
|
|
345
|
-
readonly start: DateTimeType;
|
|
346
|
-
readonly end: DateTimeType;
|
|
347
|
-
}>>;
|
|
348
|
-
}>>, DateTimeType, import("@elaraai/east").NullType, readonly ["due"]> & {
|
|
349
|
-
interval: undefined;
|
|
350
|
-
};
|
|
195
|
+
}>>, DateTimeType, import("@elaraai/east").NullType, readonly ["due"]>;
|
|
351
196
|
export declare const indexedWorkByJob: import("@elaraai/e3").RecordIndexDef<"by_job", DictType<StringType, StructType<{
|
|
352
197
|
readonly reference: StringType;
|
|
353
198
|
readonly job: StringType;
|
|
@@ -356,15 +201,7 @@ export declare const indexedWorkByJob: import("@elaraai/e3").RecordIndexDef<"by_
|
|
|
356
201
|
readonly quantity: IntegerType;
|
|
357
202
|
readonly urgent: BooleanType;
|
|
358
203
|
readonly tags: SetType<StringType>;
|
|
359
|
-
|
|
360
|
-
readonly key: StringType;
|
|
361
|
-
readonly label: StringType;
|
|
362
|
-
readonly start: DateTimeType;
|
|
363
|
-
readonly end: DateTimeType;
|
|
364
|
-
}>>;
|
|
365
|
-
}>>, StringType, import("@elaraai/east").NullType, readonly ["job"]> & {
|
|
366
|
-
interval: undefined;
|
|
367
|
-
};
|
|
204
|
+
}>>, StringType, import("@elaraai/east").NullType, readonly ["job"]>;
|
|
368
205
|
export declare const indexedWorkByQuantity: import("@elaraai/e3").RecordIndexDef<"by_quantity", DictType<StringType, StructType<{
|
|
369
206
|
readonly reference: StringType;
|
|
370
207
|
readonly job: StringType;
|
|
@@ -373,15 +210,7 @@ export declare const indexedWorkByQuantity: import("@elaraai/e3").RecordIndexDef
|
|
|
373
210
|
readonly quantity: IntegerType;
|
|
374
211
|
readonly urgent: BooleanType;
|
|
375
212
|
readonly tags: SetType<StringType>;
|
|
376
|
-
|
|
377
|
-
readonly key: StringType;
|
|
378
|
-
readonly label: StringType;
|
|
379
|
-
readonly start: DateTimeType;
|
|
380
|
-
readonly end: DateTimeType;
|
|
381
|
-
}>>;
|
|
382
|
-
}>>, IntegerType, import("@elaraai/east").NullType, readonly ["quantity"]> & {
|
|
383
|
-
interval: undefined;
|
|
384
|
-
};
|
|
213
|
+
}>>, IntegerType, import("@elaraai/east").NullType, readonly ["quantity"]>;
|
|
385
214
|
export declare const indexedWorkByUrgent: import("@elaraai/e3").RecordIndexDef<"by_urgent", DictType<StringType, StructType<{
|
|
386
215
|
readonly reference: StringType;
|
|
387
216
|
readonly job: StringType;
|
|
@@ -390,15 +219,7 @@ export declare const indexedWorkByUrgent: import("@elaraai/e3").RecordIndexDef<"
|
|
|
390
219
|
readonly quantity: IntegerType;
|
|
391
220
|
readonly urgent: BooleanType;
|
|
392
221
|
readonly tags: SetType<StringType>;
|
|
393
|
-
|
|
394
|
-
readonly key: StringType;
|
|
395
|
-
readonly label: StringType;
|
|
396
|
-
readonly start: DateTimeType;
|
|
397
|
-
readonly end: DateTimeType;
|
|
398
|
-
}>>;
|
|
399
|
-
}>>, BooleanType, import("@elaraai/east").NullType, readonly ["urgent"]> & {
|
|
400
|
-
interval: undefined;
|
|
401
|
-
};
|
|
222
|
+
}>>, BooleanType, import("@elaraai/east").NullType, readonly ["urgent"]>;
|
|
402
223
|
export declare const indexedWorkByTag: import("@elaraai/e3").RecordIndexDef<"by_tag", DictType<StringType, StructType<{
|
|
403
224
|
readonly reference: StringType;
|
|
404
225
|
readonly job: StringType;
|
|
@@ -407,15 +228,85 @@ export declare const indexedWorkByTag: import("@elaraai/e3").RecordIndexDef<"by_
|
|
|
407
228
|
readonly quantity: IntegerType;
|
|
408
229
|
readonly urgent: BooleanType;
|
|
409
230
|
readonly tags: SetType<StringType>;
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
231
|
+
}>>, StringType, import("@elaraai/east").NullType, readonly ["tags"]>;
|
|
232
|
+
/**
|
|
233
|
+
* The lens's benchmark record (#1349): a row of a million, in one of ten
|
|
234
|
+
* groups, and flagged or not. Empty here, so neither the showcase nor a test
|
|
235
|
+
* deploys a million rows: e3-ui-components' lens benchmark (`E3_UI_PERF=1`)
|
|
236
|
+
* fills it through its patch door, then draws two narrowings over it — the ten
|
|
237
|
+
* rows flagged, and the three groups that hold three in ten.
|
|
238
|
+
*/
|
|
239
|
+
export declare const LensBenchRow: StructType<{
|
|
240
|
+
readonly group: IntegerType;
|
|
241
|
+
readonly flag: BooleanType;
|
|
242
|
+
}>;
|
|
243
|
+
export declare const lensBenchRows: import("@elaraai/e3").RecordDef<DictType<StringType, StructType<{
|
|
244
|
+
readonly group: IntegerType;
|
|
245
|
+
readonly flag: BooleanType;
|
|
246
|
+
}>>, [variant<"field", "records">, variant<"field", "lens_bench_rows">]>;
|
|
247
|
+
export declare const lensBenchPatch: import("@elaraai/e3").MutationDef<"patch", DictType<StringType, StructType<{
|
|
248
|
+
readonly group: IntegerType;
|
|
249
|
+
readonly flag: BooleanType;
|
|
250
|
+
}>>, [import("@elaraai/east").VariantType<{
|
|
251
|
+
unchanged: import("@elaraai/east").NullType;
|
|
252
|
+
replace: StructType<{
|
|
253
|
+
before: DictType<StringType, StructType<{
|
|
254
|
+
readonly group: IntegerType;
|
|
255
|
+
readonly flag: BooleanType;
|
|
256
|
+
}>>;
|
|
257
|
+
after: DictType<StringType, StructType<{
|
|
258
|
+
readonly group: IntegerType;
|
|
259
|
+
readonly flag: BooleanType;
|
|
260
|
+
}>>;
|
|
261
|
+
}>;
|
|
262
|
+
patch: DictType<StringType, import("@elaraai/east").VariantType<{
|
|
263
|
+
delete: StructType<{
|
|
264
|
+
readonly group: IntegerType;
|
|
265
|
+
readonly flag: BooleanType;
|
|
266
|
+
}>;
|
|
267
|
+
insert: StructType<{
|
|
268
|
+
readonly group: IntegerType;
|
|
269
|
+
readonly flag: BooleanType;
|
|
270
|
+
}>;
|
|
271
|
+
update: import("@elaraai/east").VariantType<{
|
|
272
|
+
unchanged: import("@elaraai/east").NullType;
|
|
273
|
+
replace: StructType<{
|
|
274
|
+
before: StructType<{
|
|
275
|
+
readonly group: IntegerType;
|
|
276
|
+
readonly flag: BooleanType;
|
|
277
|
+
}>;
|
|
278
|
+
after: StructType<{
|
|
279
|
+
readonly group: IntegerType;
|
|
280
|
+
readonly flag: BooleanType;
|
|
281
|
+
}>;
|
|
282
|
+
}>;
|
|
283
|
+
patch: StructType<{
|
|
284
|
+
readonly group: import("@elaraai/east").VariantType<{
|
|
285
|
+
unchanged: import("@elaraai/east").NullType;
|
|
286
|
+
replace: StructType<{
|
|
287
|
+
before: IntegerType;
|
|
288
|
+
after: IntegerType;
|
|
289
|
+
}>;
|
|
290
|
+
}>;
|
|
291
|
+
readonly flag: import("@elaraai/east").VariantType<{
|
|
292
|
+
unchanged: import("@elaraai/east").NullType;
|
|
293
|
+
replace: StructType<{
|
|
294
|
+
before: BooleanType;
|
|
295
|
+
after: BooleanType;
|
|
296
|
+
}>;
|
|
297
|
+
}>;
|
|
298
|
+
}>;
|
|
299
|
+
}>;
|
|
415
300
|
}>>;
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
|
|
301
|
+
}>]>;
|
|
302
|
+
export declare const lensBenchByGroup: import("@elaraai/e3").RecordIndexDef<"lens_bench_by_group", DictType<StringType, StructType<{
|
|
303
|
+
readonly group: IntegerType;
|
|
304
|
+
readonly flag: BooleanType;
|
|
305
|
+
}>>, IntegerType, import("@elaraai/east").NullType, readonly ["group"]>;
|
|
306
|
+
export declare const lensBenchByFlag: import("@elaraai/e3").RecordIndexDef<"lens_bench_by_flag", DictType<StringType, StructType<{
|
|
307
|
+
readonly group: IntegerType;
|
|
308
|
+
readonly flag: BooleanType;
|
|
309
|
+
}>>, BooleanType, import("@elaraai/east").NullType, readonly ["flag"]>;
|
|
419
310
|
export declare const sheetRecordIndexes: import("@elaraai/east").ExampleDef<[], any>;
|
|
420
311
|
export declare const sheetRecordIndexesMobile: import("@elaraai/east").ExampleDef<[], any>;
|
|
421
312
|
//# sourceMappingURL=sheet-records.examples.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sheet-records.examples.d.ts","sourceRoot":"","sources":["../../../test/sheet/sheet-records.examples.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,wCAAwC;AAExC,OAAO,
|
|
1
|
+
{"version":3,"file":"sheet-records.examples.d.ts","sourceRoot":"","sources":["../../../test/sheet/sheet-records.examples.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,wCAAwC;AAExC,OAAO,EAAa,WAAW,EAAE,YAAY,EAAE,QAAQ,EAAQ,WAAW,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAW,OAAO,EAAE,MAAM,eAAe,CAAC;AAKrJ;;;;GAIG;AACH,eAAO,MAAM,WAAW;;;;;;;;EAAuK,CAAC;AAGhM,0HAA0H;AAC1H,eAAO,MAAM,oBAAoB,yEAAsF,CAAC;AAExH,4FAA4F;AAC5F,eAAO,MAAM,cAAc,yEAGzB,CAAC;AAEH,uIAAuI;AACvI,eAAO,MAAM,cAAc,2EAGzB,CAAC;AAuBH,eAAO,MAAM,gBAAgB,qHAAwE,CAAC;AACtG,eAAO,MAAM,oBAAoB;;;;;;;;yGAAsE,CAAC;AACxG,eAAO,MAAM,iBAAiB;;;;;;;;4EAAiF,CAAC;AAChH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAuC,CAAC;AACrE,eAAO,MAAM,sBAAsB;;;;;;;;;;;iEAAgF,CAAC;AACpH,eAAO,MAAM,gBAAgB;;;;;;;;sEAA+D,CAAC;AAC7F,eAAO,MAAM,gBAAgB;;;;;;;;oEAA+D,CAAC;AAC7F,eAAO,MAAM,qBAAqB;;;;;;;;0EAAyE,CAAC;AAC5G,eAAO,MAAM,mBAAmB;;;;;;;;wEAAqE,CAAC;AACtG,eAAO,MAAM,gBAAgB;;;;;;;;qEAAgE,CAAC;AAE9F;;;;;;GAMG;AACH,eAAO,MAAM,YAAY;;;EAAwD,CAAC;AAClF,eAAO,MAAM,aAAa;;;wEAA8E,CAAC;AACzG,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAmC,CAAC;AAC/D,eAAO,MAAM,gBAAgB;;;uEAA0E,CAAC;AACxG,eAAO,MAAM,eAAe;;;sEAAwE,CAAC;AAErG,eAAO,MAAM,kBAAkB,6CAuB7B,CAAC;AAEH,eAAO,MAAM,wBAAwB,6CAuBnC,CAAC"}
|
|
@@ -8,27 +8,40 @@ import { ArrayType, BooleanType, DateTimeType, DictType, East, IntegerType, SetT
|
|
|
8
8
|
import { Box, Reactive, Slice, State, UIComponentType } from "@elaraai/east-ui";
|
|
9
9
|
import { Data, Record, Sheet } from "@elaraai/e3-ui";
|
|
10
10
|
import e3 from "@elaraai/e3";
|
|
11
|
-
/**
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
/**
|
|
12
|
+
* A work order: edited as a Sheet row, and a row of the Plan whose operations
|
|
13
|
+
* are a record of their own (`plan/plan-records.examples.tsx`). Its String
|
|
14
|
+
* record key is kept through every index.
|
|
15
|
+
*/
|
|
16
|
+
export const IndexedWork = StructType({ reference: StringType, job: StringType, status: StringType, due: DateTimeType, quantity: IntegerType, urgent: BooleanType, tags: SetType(StringType) });
|
|
15
17
|
const Work = DictType(StringType, IndexedWork);
|
|
18
|
+
/** The `i`-th work order's reference, its record key: `JOB-` and its number plus 10,000, so key order is number order. */
|
|
19
|
+
export const indexedWorkReference = East.function([IntegerType], StringType, (_$, i) => East.str `JOB-${i.add(10000n)}`);
|
|
20
|
+
/** The job the `i`-th work order runs: cut panels, edge band, inspect and pack, in turn. */
|
|
21
|
+
export const indexedWorkJob = East.function([IntegerType], StringType, ($, i) => {
|
|
22
|
+
const jobs = $.const(["Cut panels", "Edge band", "Inspect", "Pack"], ArrayType(StringType));
|
|
23
|
+
return jobs.get(i.remainder(4n));
|
|
24
|
+
});
|
|
25
|
+
/** When the `i`-th work order is due: a day of the ninety from 1 October 2026, each order thirty-seven days on from the one before. */
|
|
26
|
+
export const indexedWorkDue = East.function([IntegerType], DateTimeType, ($, i) => {
|
|
27
|
+
const start = $.const(new Date("2026-10-01T00:00:00Z"));
|
|
28
|
+
return start.addMilliseconds(i.multiply(37n).remainder(90n).multiply(86400000n));
|
|
29
|
+
});
|
|
16
30
|
/** The same pure generator seeds the example record and runs as an e3 task. */
|
|
17
31
|
const generateWork = East.function([IntegerType], Work, ($, count) => {
|
|
18
32
|
const rows = $.let(new Map(), Work);
|
|
19
33
|
const statuses = $.const(["Ready", "Scheduled", "Done"], ArrayType(StringType));
|
|
20
|
-
const
|
|
21
|
-
const
|
|
34
|
+
const referenceOf = $.const(indexedWorkReference);
|
|
35
|
+
const jobOf = $.const(indexedWorkJob);
|
|
36
|
+
const dueOf = $.const(indexedWorkDue);
|
|
22
37
|
const i = $.let(0n);
|
|
23
38
|
$.while(i.less(count), ($) => {
|
|
24
|
-
const reference = $.const(
|
|
25
|
-
const due = $.const(start.addMilliseconds(i.multiply(37n).remainder(90n).multiply(86400000n)));
|
|
39
|
+
const reference = $.const(referenceOf(i));
|
|
26
40
|
$(rows.insert(reference, {
|
|
27
|
-
reference, job:
|
|
28
|
-
due,
|
|
41
|
+
reference, job: jobOf(i), status: statuses.get(i.remainder(3n)),
|
|
42
|
+
due: dueOf(i),
|
|
29
43
|
quantity: i.remainder(24n).add(1n).multiply(100n), urgent: i.remainder(5n).equal(0n),
|
|
30
44
|
tags: i.remainder(2n).equal(0n).ifElse(() => new Set(["Production"]), () => new Set(["Dispatch"])),
|
|
31
|
-
operations: [{ key: East.str `${reference}-run`, label: jobs.get(i.remainder(4n)), start: due.addMilliseconds(21600000n), end: due.addMilliseconds(50400000n) }],
|
|
32
45
|
}));
|
|
33
46
|
$.assign(i, i.add(1n));
|
|
34
47
|
});
|
|
@@ -44,12 +57,24 @@ export const indexedWorkByJob = e3.recordIndex("by_job", indexedWorkOrders, { on
|
|
|
44
57
|
export const indexedWorkByQuantity = e3.recordIndex("by_quantity", indexedWorkOrders, { on: ["quantity"] });
|
|
45
58
|
export const indexedWorkByUrgent = e3.recordIndex("by_urgent", indexedWorkOrders, { on: ["urgent"] });
|
|
46
59
|
export const indexedWorkByTag = e3.recordIndex("by_tag", indexedWorkOrders, { on: ["tags"] });
|
|
60
|
+
/**
|
|
61
|
+
* The lens's benchmark record (#1349): a row of a million, in one of ten
|
|
62
|
+
* groups, and flagged or not. Empty here, so neither the showcase nor a test
|
|
63
|
+
* deploys a million rows: e3-ui-components' lens benchmark (`E3_UI_PERF=1`)
|
|
64
|
+
* fills it through its patch door, then draws two narrowings over it — the ten
|
|
65
|
+
* rows flagged, and the three groups that hold three in ten.
|
|
66
|
+
*/
|
|
67
|
+
export const LensBenchRow = StructType({ group: IntegerType, flag: BooleanType });
|
|
68
|
+
export const lensBenchRows = e3.record("lens_bench_rows", DictType(StringType, LensBenchRow), new Map());
|
|
69
|
+
export const lensBenchPatch = e3.mutation.patch(lensBenchRows);
|
|
70
|
+
export const lensBenchByGroup = e3.recordIndex("lens_bench_by_group", lensBenchRows, { on: ["group"] });
|
|
71
|
+
export const lensBenchByFlag = e3.recordIndex("lens_bench_by_flag", lensBenchRows, { on: ["flag"] });
|
|
47
72
|
export const sheetRecordIndexes = example({
|
|
48
|
-
keywords: ["Sheet", "Slice.bindRecords", "rows", "Data.bindPaged", "Record", "Record.onApply", "recordIndex", "saved views", "RecordView", "paging", "primary key", "filter"],
|
|
49
|
-
description: "50,000 work orders
|
|
73
|
+
keywords: ["Sheet", "Slice.bindRecords", "rows", "Data.bindPaged", "Record", "Record.onApply", "recordIndex", "lens", "saved views", "RecordView", "paging", "primary key", "filter"],
|
|
74
|
+
description: "50,000 work orders in the record's order, the rail's rows source narrowing them through maintained record indexes and the sheet drawing the narrowing over them as the lens, a filtered spreadsheet: only the rows it keeps, one after another, each at its row number. Choose Ready and Scheduled together, then a Due range: e3 places their rows from the indexes alone, and the sheet reads only the segments near the view. Save retains original keys and hidden drafts; saved tabs retain every source's narrowing.",
|
|
50
75
|
fn: East.function([], UIComponentType, (_$) => (_jsx(Reactive, { children: ($) => {
|
|
51
76
|
const record = $.let(Record.bind(indexedWorkOrders, [indexedWorkPatch]));
|
|
52
|
-
// One rail over the work orders: its `rows` source narrows them, and the sheet
|
|
77
|
+
// One rail over the work orders: its `rows` source narrows them, and the sheet draws the narrowing over the record's rows.
|
|
53
78
|
const slice = $.let(Slice.bindRecords("ex.sheetRecordIndexes", {
|
|
54
79
|
rows: {
|
|
55
80
|
source: Data.bindPaged(indexedWorkOrders, { indexes: [indexedWorkByStatusDue, indexedWorkByDue, indexedWorkByJob, indexedWorkByQuantity, indexedWorkByUrgent, indexedWorkByTag] }),
|
|
@@ -63,11 +88,11 @@ export const sheetRecordIndexes = example({
|
|
|
63
88
|
inputs: [],
|
|
64
89
|
});
|
|
65
90
|
export const sheetRecordIndexesMobile = example({
|
|
66
|
-
keywords: ["Sheet", "Slice.bindRecords", "rows", "mobile", "record", "filters", "saved views", "RecordView"],
|
|
67
|
-
description: "The same indexed work orders in a phone-width frame, with the rail's shared Slice controls on the toolbar's responsive ladder.",
|
|
91
|
+
keywords: ["Sheet", "Slice.bindRecords", "rows", "mobile", "record", "filters", "lens", "saved views", "RecordView"],
|
|
92
|
+
description: "The same indexed work orders and their lens in a phone-width frame, with the rail's shared Slice controls on the toolbar's responsive ladder.",
|
|
68
93
|
fn: East.function([], UIComponentType, (_$) => (_jsx(Reactive, { children: ($) => {
|
|
69
94
|
const record = $.let(Record.bind(indexedWorkOrders, [indexedWorkPatch]));
|
|
70
|
-
// One rail over the work orders: its `rows` source narrows them, and the sheet
|
|
95
|
+
// One rail over the work orders: its `rows` source narrows them, and the sheet draws the narrowing over the record's rows.
|
|
71
96
|
const slice = $.let(Slice.bindRecords("ex.sheetRecordIndexesMobile", {
|
|
72
97
|
rows: {
|
|
73
98
|
source: Data.bindPaged(indexedWorkOrders, { indexes: [indexedWorkByStatusDue, indexedWorkByDue, indexedWorkByJob, indexedWorkByQuantity, indexedWorkByUrgent, indexedWorkByTag] }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sheet-records.examples.js","sourceRoot":"","sources":["../../../test/sheet/sheet-records.examples.tsx"],"names":[],"mappings":";AAAA;;;GAGG;AAEH,wCAAwC;AAExC,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACrJ,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAChF,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,MAAM,aAAa,CAAC;AAE7B
|
|
1
|
+
{"version":3,"file":"sheet-records.examples.js","sourceRoot":"","sources":["../../../test/sheet/sheet-records.examples.tsx"],"names":[],"mappings":";AAAA;;;GAGG;AAEH,wCAAwC;AAExC,OAAO,EAAE,SAAS,EAAE,WAA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