@elaraai/e3-ui 1.0.96 → 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
|
@@ -5,11 +5,14 @@
|
|
|
5
5
|
import { ArrayType, BooleanType, DateTimeType, DictType, FunctionType, IntegerType, NullType, OptionType, StringType, StructType, VariantType, type EastType, type ExprType, type SubtypeExprOrValue } from "@elaraai/east";
|
|
6
6
|
import { type UIElement } from "@elaraai/east-ui";
|
|
7
7
|
import { RowSourceType, type RecordSlicesChromeOptions } from "@elaraai/east-ui/internal";
|
|
8
|
+
import type { OptimiseHandle } from "../utils/optimise.js";
|
|
8
9
|
import { type ScheduleNamespace } from "../schedule/index.js";
|
|
10
|
+
import { ScheduleOptimiseRequestTypeFor, ScheduleOptimiseResultTypeFor } from "../schedule/optimise.js";
|
|
9
11
|
import type { ScheduleEventKind } from "../schedule/events.js";
|
|
10
12
|
import type { ScheduleResourceKind } from "../schedule/resources.js";
|
|
11
13
|
import { type ScheduleTabDeclaration, type ScheduleLibraryTabConfig } from "../schedule/library.js";
|
|
12
14
|
import { ScheduleCandidateType, ScheduleEventRefType } from "../schedule/types.js";
|
|
15
|
+
export { CalendarPagedType, createCalendarPaged } from "./paged.js";
|
|
13
16
|
/** Calendar's layout: a time grid, resource columns or a horizontal timeline. */
|
|
14
17
|
export declare const CalendarLayoutType: VariantType<{
|
|
15
18
|
readonly calendar: NullType;
|
|
@@ -89,10 +92,14 @@ export declare const CalendarSettingsType: StructType<{
|
|
|
89
92
|
}>;
|
|
90
93
|
/**
|
|
91
94
|
* Calendar's closed interface to its React renderer. The frame is a renderer detail.
|
|
95
|
+
* @property resources - The resource kinds, their rows resolved — none for a kind paged a window at a time, whose resources come through `paged`
|
|
96
|
+
* @property paged - A paged resource kind's resources a window at a time (#1424) — of the narrowing's, when its source of the slice narrows it; `none` while no resource kind is paged
|
|
92
97
|
* @property slice - The narrowing's chrome: a Slice over the event kinds', the resource kinds' and the templates' records, one rail (#1343)
|
|
93
98
|
* @property narrowed - Each source's narrowed keys, paged through its own data, by the source's name — a resource
|
|
94
|
-
* kind's narrow its columns, rows and Choosers, a templates list's and a tab's their cards; an event kind
|
|
95
|
-
* own narrowing through its part
|
|
99
|
+
* kind's read whole narrow its columns, rows and Choosers, a templates list's and a tab's their cards; an event kind
|
|
100
|
+
* reads its own narrowing through its part, and a paged resource kind its windows
|
|
101
|
+
* @property optimise - The app's optimiser, by its `e3.function`'s name (#1409): what the Elara eye calls over the window in
|
|
102
|
+
* view, its result one edit of the session; `none`, no eye
|
|
96
103
|
*/
|
|
97
104
|
export declare const CalendarPayloadType: StructType<{
|
|
98
105
|
readonly events: ArrayType<StructType<{
|
|
@@ -216,7 +223,7 @@ export declare const CalendarPayloadType: StructType<{
|
|
|
216
223
|
readonly readonly: NullType;
|
|
217
224
|
}>;
|
|
218
225
|
}>>;
|
|
219
|
-
readonly items: FunctionType<[DateTimeType, DateTimeType, DictType<StringType, import("@elaraai/east").BlobType>], OptionType<ArrayType<StructType<{
|
|
226
|
+
readonly items: FunctionType<[DateTimeType, DateTimeType, DictType<StringType, import("@elaraai/east").BlobType>, OptionType<import("@elaraai/east").BlobType>], OptionType<ArrayType<StructType<{
|
|
220
227
|
readonly kind: StringType;
|
|
221
228
|
readonly key: StringType;
|
|
222
229
|
readonly title: StringType;
|
|
@@ -240,7 +247,7 @@ export declare const CalendarPayloadType: StructType<{
|
|
|
240
247
|
readonly minutes: IntegerType;
|
|
241
248
|
readonly due: OptionType<DateTimeType>;
|
|
242
249
|
}>>>>;
|
|
243
|
-
readonly unscheduled: FunctionType<[DateTimeType, DateTimeType, DictType<StringType, import("@elaraai/east").BlobType>], OptionType<ArrayType<StructType<{
|
|
250
|
+
readonly unscheduled: FunctionType<[DateTimeType, DateTimeType, DictType<StringType, import("@elaraai/east").BlobType>, OptionType<import("@elaraai/east").BlobType>], OptionType<ArrayType<StructType<{
|
|
244
251
|
readonly kind: StringType;
|
|
245
252
|
readonly key: StringType;
|
|
246
253
|
readonly title: StringType;
|
|
@@ -495,7 +502,7 @@ export declare const CalendarPayloadType: StructType<{
|
|
|
495
502
|
readonly at: DateTimeType;
|
|
496
503
|
readonly delta: OptionType<StringType>;
|
|
497
504
|
}>>>>;
|
|
498
|
-
readonly event: FunctionType<[StringType, DictType<StringType, import("@elaraai/east").BlobType>, DateTimeType, DateTimeType], OptionType<StructType<{
|
|
505
|
+
readonly event: FunctionType<[StringType, DictType<StringType, import("@elaraai/east").BlobType>, DateTimeType, DateTimeType, OptionType<OptionType<import("@elaraai/east").BlobType>>], OptionType<StructType<{
|
|
499
506
|
readonly item: StructType<{
|
|
500
507
|
readonly kind: StringType;
|
|
501
508
|
readonly key: StringType;
|
|
@@ -534,6 +541,54 @@ export declare const CalendarPayloadType: StructType<{
|
|
|
534
541
|
readonly allow: NullType;
|
|
535
542
|
}>;
|
|
536
543
|
readonly inspector: OptionType<FunctionType<[import("@elaraai/east").BlobType, FunctionType<[import("@elaraai/east").BlobType], NullType>], import("@elaraai/east").RecursiveType<import("@elaraai/east-ui").UIComponentNode>>>;
|
|
544
|
+
readonly seriesKey: FunctionType<[OptionType<StructType<{
|
|
545
|
+
readonly kind: StringType;
|
|
546
|
+
readonly key: StringType;
|
|
547
|
+
}>>], OptionType<StringType>>;
|
|
548
|
+
readonly cellsType: import("@elaraai/east").RecursiveType<VariantType<{
|
|
549
|
+
readonly Never: NullType;
|
|
550
|
+
readonly Null: NullType;
|
|
551
|
+
readonly Boolean: NullType;
|
|
552
|
+
readonly Integer: NullType;
|
|
553
|
+
readonly Float: NullType;
|
|
554
|
+
readonly String: NullType;
|
|
555
|
+
readonly DateTime: NullType;
|
|
556
|
+
readonly Blob: NullType;
|
|
557
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
558
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
559
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
560
|
+
readonly Dict: StructType<{
|
|
561
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
562
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
563
|
+
}>;
|
|
564
|
+
readonly Struct: ArrayType<StructType<{
|
|
565
|
+
readonly name: StringType;
|
|
566
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
567
|
+
}>>;
|
|
568
|
+
readonly Variant: ArrayType<StructType<{
|
|
569
|
+
readonly name: StringType;
|
|
570
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
571
|
+
}>>;
|
|
572
|
+
readonly Recursive: VariantType<{
|
|
573
|
+
readonly ref: IntegerType;
|
|
574
|
+
readonly wrapper: StructType<{
|
|
575
|
+
readonly id: IntegerType;
|
|
576
|
+
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
577
|
+
}>;
|
|
578
|
+
}>;
|
|
579
|
+
readonly Function: StructType<{
|
|
580
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
581
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
582
|
+
}>;
|
|
583
|
+
readonly AsyncFunction: StructType<{
|
|
584
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
585
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
586
|
+
}>;
|
|
587
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
588
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
589
|
+
}>>;
|
|
590
|
+
readonly count: FunctionType<[DateTimeType, DateTimeType], OptionType<IntegerType>>;
|
|
591
|
+
readonly countExact: BooleanType;
|
|
537
592
|
}>>;
|
|
538
593
|
readonly resources: ArrayType<StructType<{
|
|
539
594
|
readonly key: StringType;
|
|
@@ -544,6 +599,131 @@ export declare const CalendarPayloadType: StructType<{
|
|
|
544
599
|
readonly label: StringType;
|
|
545
600
|
readonly meta: OptionType<StringType>;
|
|
546
601
|
}>>;
|
|
602
|
+
readonly keyType: import("@elaraai/east").RecursiveType<VariantType<{
|
|
603
|
+
readonly Never: NullType;
|
|
604
|
+
readonly Null: NullType;
|
|
605
|
+
readonly Boolean: NullType;
|
|
606
|
+
readonly Integer: NullType;
|
|
607
|
+
readonly Float: NullType;
|
|
608
|
+
readonly String: NullType;
|
|
609
|
+
readonly DateTime: NullType;
|
|
610
|
+
readonly Blob: NullType;
|
|
611
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
612
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
613
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
614
|
+
readonly Dict: StructType<{
|
|
615
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
616
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
617
|
+
}>;
|
|
618
|
+
readonly Struct: ArrayType<StructType<{
|
|
619
|
+
readonly name: StringType;
|
|
620
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
621
|
+
}>>;
|
|
622
|
+
readonly Variant: ArrayType<StructType<{
|
|
623
|
+
readonly name: StringType;
|
|
624
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
625
|
+
}>>;
|
|
626
|
+
readonly Recursive: VariantType<{
|
|
627
|
+
readonly ref: IntegerType;
|
|
628
|
+
readonly wrapper: StructType<{
|
|
629
|
+
readonly id: IntegerType;
|
|
630
|
+
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
631
|
+
}>;
|
|
632
|
+
}>;
|
|
633
|
+
readonly Function: StructType<{
|
|
634
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
635
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
636
|
+
}>;
|
|
637
|
+
readonly AsyncFunction: StructType<{
|
|
638
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
639
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
640
|
+
}>;
|
|
641
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
642
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
643
|
+
}>>;
|
|
644
|
+
readonly rowType: import("@elaraai/east").RecursiveType<VariantType<{
|
|
645
|
+
readonly Never: NullType;
|
|
646
|
+
readonly Null: NullType;
|
|
647
|
+
readonly Boolean: NullType;
|
|
648
|
+
readonly Integer: NullType;
|
|
649
|
+
readonly Float: NullType;
|
|
650
|
+
readonly String: NullType;
|
|
651
|
+
readonly DateTime: NullType;
|
|
652
|
+
readonly Blob: NullType;
|
|
653
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
654
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
655
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
656
|
+
readonly Dict: StructType<{
|
|
657
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
658
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
659
|
+
}>;
|
|
660
|
+
readonly Struct: ArrayType<StructType<{
|
|
661
|
+
readonly name: StringType;
|
|
662
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
663
|
+
}>>;
|
|
664
|
+
readonly Variant: ArrayType<StructType<{
|
|
665
|
+
readonly name: StringType;
|
|
666
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
667
|
+
}>>;
|
|
668
|
+
readonly Recursive: VariantType<{
|
|
669
|
+
readonly ref: IntegerType;
|
|
670
|
+
readonly wrapper: StructType<{
|
|
671
|
+
readonly id: IntegerType;
|
|
672
|
+
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
673
|
+
}>;
|
|
674
|
+
}>;
|
|
675
|
+
readonly Function: StructType<{
|
|
676
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
677
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
678
|
+
}>;
|
|
679
|
+
readonly AsyncFunction: StructType<{
|
|
680
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
681
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
682
|
+
}>;
|
|
683
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
684
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
685
|
+
}>>;
|
|
686
|
+
readonly records: OptionType<FunctionType<[], import("@elaraai/east").BlobType>>;
|
|
687
|
+
}>>;
|
|
688
|
+
readonly paged: OptionType<StructType<{
|
|
689
|
+
readonly kind: StringType;
|
|
690
|
+
readonly id: StringType;
|
|
691
|
+
readonly rows: FunctionType<[IntegerType, IntegerType], OptionType<ArrayType<StructType<{
|
|
692
|
+
readonly key: StringType;
|
|
693
|
+
readonly label: StringType;
|
|
694
|
+
readonly meta: OptionType<StringType>;
|
|
695
|
+
}>>>>;
|
|
696
|
+
readonly keys: FunctionType<[IntegerType, IntegerType], OptionType<ArrayType<StringType>>>;
|
|
697
|
+
readonly total: FunctionType<[], OptionType<IntegerType>>;
|
|
698
|
+
readonly revision: FunctionType<[], OptionType<StringType>>;
|
|
699
|
+
readonly refresh: FunctionType<[OptionType<StringType>], NullType>;
|
|
700
|
+
readonly query: OptionType<FunctionType<[], StringType>>;
|
|
701
|
+
readonly seek: OptionType<FunctionType<[VariantType<{
|
|
702
|
+
readonly key: StringType;
|
|
703
|
+
readonly prefix: StringType;
|
|
704
|
+
readonly fields: StructType<{
|
|
705
|
+
readonly values: ArrayType<StringType>;
|
|
706
|
+
readonly prefix: OptionType<StringType>;
|
|
707
|
+
}>;
|
|
708
|
+
readonly range: StructType<{
|
|
709
|
+
readonly from: ArrayType<StringType>;
|
|
710
|
+
readonly to: ArrayType<StringType>;
|
|
711
|
+
}>;
|
|
712
|
+
}>], OptionType<StructType<{
|
|
713
|
+
readonly found: BooleanType;
|
|
714
|
+
readonly row: IntegerType;
|
|
715
|
+
readonly count: IntegerType;
|
|
716
|
+
}>>>>;
|
|
717
|
+
readonly entries: FunctionType<[IntegerType, IntegerType], OptionType<ArrayType<StructType<{
|
|
718
|
+
readonly key: StringType;
|
|
719
|
+
readonly label: StringType;
|
|
720
|
+
readonly meta: OptionType<StringType>;
|
|
721
|
+
}>>>>;
|
|
722
|
+
readonly byKey: FunctionType<[StringType], OptionType<OptionType<StructType<{
|
|
723
|
+
readonly key: StringType;
|
|
724
|
+
readonly label: StringType;
|
|
725
|
+
readonly meta: OptionType<StringType>;
|
|
726
|
+
}>>>>;
|
|
547
727
|
}>>;
|
|
548
728
|
readonly settings: StructType<{
|
|
549
729
|
readonly layout: VariantType<{
|
|
@@ -714,6 +894,39 @@ export declare const CalendarPayloadType: StructType<{
|
|
|
714
894
|
readonly to: import("@elaraai/east").StringType;
|
|
715
895
|
readonly optional: import("@elaraai/east").BooleanType;
|
|
716
896
|
}>>;
|
|
897
|
+
readonly area: OptionType<StructType<{
|
|
898
|
+
readonly x: import("@elaraai/east").StringType;
|
|
899
|
+
readonly y: import("@elaraai/east").StringType;
|
|
900
|
+
readonly width: OptionType<import("@elaraai/east").StringType>;
|
|
901
|
+
readonly height: OptionType<import("@elaraai/east").StringType>;
|
|
902
|
+
readonly centre: import("@elaraai/east").BooleanType;
|
|
903
|
+
readonly cell: import("@elaraai/east").FloatType;
|
|
904
|
+
readonly optional: import("@elaraai/east").BooleanType;
|
|
905
|
+
}>>;
|
|
906
|
+
readonly series: OptionType<StructType<{
|
|
907
|
+
readonly key: import("@elaraai/east").StringType;
|
|
908
|
+
readonly from: import("@elaraai/east").StringType;
|
|
909
|
+
readonly to: import("@elaraai/east").StringType;
|
|
910
|
+
readonly tile: VariantType<{
|
|
911
|
+
readonly day: NullType;
|
|
912
|
+
readonly week: NullType;
|
|
913
|
+
readonly month: NullType;
|
|
914
|
+
readonly quarter: NullType;
|
|
915
|
+
readonly year: NullType;
|
|
916
|
+
}>;
|
|
917
|
+
}>>;
|
|
918
|
+
readonly summary: OptionType<StructType<{
|
|
919
|
+
readonly key: import("@elaraai/east").StringType;
|
|
920
|
+
readonly from: import("@elaraai/east").StringType;
|
|
921
|
+
readonly to: import("@elaraai/east").StringType;
|
|
922
|
+
readonly tile: VariantType<{
|
|
923
|
+
readonly day: NullType;
|
|
924
|
+
readonly week: NullType;
|
|
925
|
+
readonly month: NullType;
|
|
926
|
+
readonly quarter: NullType;
|
|
927
|
+
readonly year: NullType;
|
|
928
|
+
}>;
|
|
929
|
+
}>>;
|
|
717
930
|
}>>;
|
|
718
931
|
readonly range: OptionType<import("@elaraai/east").StringType>;
|
|
719
932
|
readonly search: ArrayType<import("@elaraai/east").StringType>;
|
|
@@ -727,6 +940,12 @@ export declare const CalendarPayloadType: StructType<{
|
|
|
727
940
|
readonly to: import("@elaraai/east").StringType;
|
|
728
941
|
}>;
|
|
729
942
|
readonly prefix: import("@elaraai/east").StringType;
|
|
943
|
+
readonly window: StructType<{
|
|
944
|
+
readonly minX: import("@elaraai/east").FloatType;
|
|
945
|
+
readonly minY: import("@elaraai/east").FloatType;
|
|
946
|
+
readonly maxX: import("@elaraai/east").FloatType;
|
|
947
|
+
readonly maxY: import("@elaraai/east").FloatType;
|
|
948
|
+
}>;
|
|
730
949
|
}>>;
|
|
731
950
|
}>>;
|
|
732
951
|
}>;
|
|
@@ -738,6 +957,12 @@ export declare const CalendarPayloadType: StructType<{
|
|
|
738
957
|
readonly to: import("@elaraai/east").StringType;
|
|
739
958
|
}>;
|
|
740
959
|
readonly prefix: import("@elaraai/east").StringType;
|
|
960
|
+
readonly window: StructType<{
|
|
961
|
+
readonly minX: import("@elaraai/east").FloatType;
|
|
962
|
+
readonly minY: import("@elaraai/east").FloatType;
|
|
963
|
+
readonly maxX: import("@elaraai/east").FloatType;
|
|
964
|
+
readonly maxY: import("@elaraai/east").FloatType;
|
|
965
|
+
}>;
|
|
741
966
|
}>>;
|
|
742
967
|
readonly preset: OptionType<import("@elaraai/east").StringType>;
|
|
743
968
|
readonly resolution: OptionType<VariantType<{
|
|
@@ -758,6 +983,12 @@ export declare const CalendarPayloadType: StructType<{
|
|
|
758
983
|
readonly to: import("@elaraai/east").StringType;
|
|
759
984
|
}>;
|
|
760
985
|
readonly prefix: import("@elaraai/east").StringType;
|
|
986
|
+
readonly window: StructType<{
|
|
987
|
+
readonly minX: import("@elaraai/east").FloatType;
|
|
988
|
+
readonly minY: import("@elaraai/east").FloatType;
|
|
989
|
+
readonly maxX: import("@elaraai/east").FloatType;
|
|
990
|
+
readonly maxY: import("@elaraai/east").FloatType;
|
|
991
|
+
}>;
|
|
761
992
|
}>>;
|
|
762
993
|
readonly preset: OptionType<import("@elaraai/east").StringType>;
|
|
763
994
|
readonly resolution: OptionType<VariantType<{
|
|
@@ -783,6 +1014,12 @@ export declare const CalendarPayloadType: StructType<{
|
|
|
783
1014
|
readonly to: import("@elaraai/east").StringType;
|
|
784
1015
|
}>;
|
|
785
1016
|
readonly prefix: import("@elaraai/east").StringType;
|
|
1017
|
+
readonly window: StructType<{
|
|
1018
|
+
readonly minX: import("@elaraai/east").FloatType;
|
|
1019
|
+
readonly minY: import("@elaraai/east").FloatType;
|
|
1020
|
+
readonly maxX: import("@elaraai/east").FloatType;
|
|
1021
|
+
readonly maxY: import("@elaraai/east").FloatType;
|
|
1022
|
+
}>;
|
|
786
1023
|
}>>], OptionType<import("@elaraai/east").IntegerType>>;
|
|
787
1024
|
readonly total: import("@elaraai/east").FunctionType<[], OptionType<import("@elaraai/east").IntegerType>>;
|
|
788
1025
|
readonly domain: import("@elaraai/east").FunctionType<[import("@elaraai/east").StringType], OptionType<StructType<{
|
|
@@ -824,6 +1061,12 @@ export declare const CalendarPayloadType: StructType<{
|
|
|
824
1061
|
readonly to: import("@elaraai/east").StringType;
|
|
825
1062
|
}>;
|
|
826
1063
|
readonly prefix: import("@elaraai/east").StringType;
|
|
1064
|
+
readonly window: StructType<{
|
|
1065
|
+
readonly minX: import("@elaraai/east").FloatType;
|
|
1066
|
+
readonly minY: import("@elaraai/east").FloatType;
|
|
1067
|
+
readonly maxX: import("@elaraai/east").FloatType;
|
|
1068
|
+
readonly maxY: import("@elaraai/east").FloatType;
|
|
1069
|
+
}>;
|
|
827
1070
|
}>>, import("@elaraai/east").StringType], OptionType<import("@elaraai/east").BooleanType>>;
|
|
828
1071
|
readonly containsRow: import("@elaraai/east").FunctionType<[import("@elaraai/east").DictType<import("@elaraai/east").StringType, VariantType<{
|
|
829
1072
|
readonly values: ArrayType<import("@elaraai/east").StringType>;
|
|
@@ -832,6 +1075,12 @@ export declare const CalendarPayloadType: StructType<{
|
|
|
832
1075
|
readonly to: import("@elaraai/east").StringType;
|
|
833
1076
|
}>;
|
|
834
1077
|
readonly prefix: import("@elaraai/east").StringType;
|
|
1078
|
+
readonly window: StructType<{
|
|
1079
|
+
readonly minX: import("@elaraai/east").FloatType;
|
|
1080
|
+
readonly minY: import("@elaraai/east").FloatType;
|
|
1081
|
+
readonly maxX: import("@elaraai/east").FloatType;
|
|
1082
|
+
readonly maxY: import("@elaraai/east").FloatType;
|
|
1083
|
+
}>;
|
|
835
1084
|
}>>, import("@elaraai/east").StringType, import("@elaraai/east").BlobType], OptionType<import("@elaraai/east").BooleanType>>;
|
|
836
1085
|
}>;
|
|
837
1086
|
}>>;
|
|
@@ -872,6 +1121,9 @@ export declare const CalendarPayloadType: StructType<{
|
|
|
872
1121
|
readonly key: StringType;
|
|
873
1122
|
}>>;
|
|
874
1123
|
}>], OptionType<StringType>>>;
|
|
1124
|
+
readonly optimise: OptionType<StructType<{
|
|
1125
|
+
readonly name: StringType;
|
|
1126
|
+
}>>;
|
|
875
1127
|
readonly onSelect: OptionType<FunctionType<[StructType<{
|
|
876
1128
|
readonly kind: StringType;
|
|
877
1129
|
readonly key: StringType;
|
|
@@ -1001,7 +1253,7 @@ export declare const CalendarComponent: import("@elaraai/east-ui").UIComponentDe
|
|
|
1001
1253
|
readonly readonly: NullType;
|
|
1002
1254
|
}>;
|
|
1003
1255
|
}>>;
|
|
1004
|
-
readonly items: FunctionType<[DateTimeType, DateTimeType, DictType<StringType, import("@elaraai/east").BlobType>], OptionType<ArrayType<StructType<{
|
|
1256
|
+
readonly items: FunctionType<[DateTimeType, DateTimeType, DictType<StringType, import("@elaraai/east").BlobType>, OptionType<import("@elaraai/east").BlobType>], OptionType<ArrayType<StructType<{
|
|
1005
1257
|
readonly kind: StringType;
|
|
1006
1258
|
readonly key: StringType;
|
|
1007
1259
|
readonly title: StringType;
|
|
@@ -1025,7 +1277,7 @@ export declare const CalendarComponent: import("@elaraai/east-ui").UIComponentDe
|
|
|
1025
1277
|
readonly minutes: IntegerType;
|
|
1026
1278
|
readonly due: OptionType<DateTimeType>;
|
|
1027
1279
|
}>>>>;
|
|
1028
|
-
readonly unscheduled: FunctionType<[DateTimeType, DateTimeType, DictType<StringType, import("@elaraai/east").BlobType>], OptionType<ArrayType<StructType<{
|
|
1280
|
+
readonly unscheduled: FunctionType<[DateTimeType, DateTimeType, DictType<StringType, import("@elaraai/east").BlobType>, OptionType<import("@elaraai/east").BlobType>], OptionType<ArrayType<StructType<{
|
|
1029
1281
|
readonly kind: StringType;
|
|
1030
1282
|
readonly key: StringType;
|
|
1031
1283
|
readonly title: StringType;
|
|
@@ -1280,7 +1532,7 @@ export declare const CalendarComponent: import("@elaraai/east-ui").UIComponentDe
|
|
|
1280
1532
|
readonly at: DateTimeType;
|
|
1281
1533
|
readonly delta: OptionType<StringType>;
|
|
1282
1534
|
}>>>>;
|
|
1283
|
-
readonly event: FunctionType<[StringType, DictType<StringType, import("@elaraai/east").BlobType>, DateTimeType, DateTimeType], OptionType<StructType<{
|
|
1535
|
+
readonly event: FunctionType<[StringType, DictType<StringType, import("@elaraai/east").BlobType>, DateTimeType, DateTimeType, OptionType<OptionType<import("@elaraai/east").BlobType>>], OptionType<StructType<{
|
|
1284
1536
|
readonly item: StructType<{
|
|
1285
1537
|
readonly kind: StringType;
|
|
1286
1538
|
readonly key: StringType;
|
|
@@ -1319,6 +1571,54 @@ export declare const CalendarComponent: import("@elaraai/east-ui").UIComponentDe
|
|
|
1319
1571
|
readonly allow: NullType;
|
|
1320
1572
|
}>;
|
|
1321
1573
|
readonly inspector: OptionType<FunctionType<[import("@elaraai/east").BlobType, FunctionType<[import("@elaraai/east").BlobType], NullType>], import("@elaraai/east").RecursiveType<import("@elaraai/east-ui").UIComponentNode>>>;
|
|
1574
|
+
readonly seriesKey: FunctionType<[OptionType<StructType<{
|
|
1575
|
+
readonly kind: StringType;
|
|
1576
|
+
readonly key: StringType;
|
|
1577
|
+
}>>], OptionType<StringType>>;
|
|
1578
|
+
readonly cellsType: import("@elaraai/east").RecursiveType<VariantType<{
|
|
1579
|
+
readonly Never: NullType;
|
|
1580
|
+
readonly Null: NullType;
|
|
1581
|
+
readonly Boolean: NullType;
|
|
1582
|
+
readonly Integer: NullType;
|
|
1583
|
+
readonly Float: NullType;
|
|
1584
|
+
readonly String: NullType;
|
|
1585
|
+
readonly DateTime: NullType;
|
|
1586
|
+
readonly Blob: NullType;
|
|
1587
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
1588
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
1589
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
1590
|
+
readonly Dict: StructType<{
|
|
1591
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
1592
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
1593
|
+
}>;
|
|
1594
|
+
readonly Struct: ArrayType<StructType<{
|
|
1595
|
+
readonly name: StringType;
|
|
1596
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
1597
|
+
}>>;
|
|
1598
|
+
readonly Variant: ArrayType<StructType<{
|
|
1599
|
+
readonly name: StringType;
|
|
1600
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
1601
|
+
}>>;
|
|
1602
|
+
readonly Recursive: VariantType<{
|
|
1603
|
+
readonly ref: IntegerType;
|
|
1604
|
+
readonly wrapper: StructType<{
|
|
1605
|
+
readonly id: IntegerType;
|
|
1606
|
+
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
1607
|
+
}>;
|
|
1608
|
+
}>;
|
|
1609
|
+
readonly Function: StructType<{
|
|
1610
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
1611
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
1612
|
+
}>;
|
|
1613
|
+
readonly AsyncFunction: StructType<{
|
|
1614
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
1615
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
1616
|
+
}>;
|
|
1617
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
1618
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
1619
|
+
}>>;
|
|
1620
|
+
readonly count: FunctionType<[DateTimeType, DateTimeType], OptionType<IntegerType>>;
|
|
1621
|
+
readonly countExact: BooleanType;
|
|
1322
1622
|
}>>;
|
|
1323
1623
|
readonly resources: ArrayType<StructType<{
|
|
1324
1624
|
readonly key: StringType;
|
|
@@ -1329,6 +1629,131 @@ export declare const CalendarComponent: import("@elaraai/east-ui").UIComponentDe
|
|
|
1329
1629
|
readonly label: StringType;
|
|
1330
1630
|
readonly meta: OptionType<StringType>;
|
|
1331
1631
|
}>>;
|
|
1632
|
+
readonly keyType: import("@elaraai/east").RecursiveType<VariantType<{
|
|
1633
|
+
readonly Never: NullType;
|
|
1634
|
+
readonly Null: NullType;
|
|
1635
|
+
readonly Boolean: NullType;
|
|
1636
|
+
readonly Integer: NullType;
|
|
1637
|
+
readonly Float: NullType;
|
|
1638
|
+
readonly String: NullType;
|
|
1639
|
+
readonly DateTime: NullType;
|
|
1640
|
+
readonly Blob: NullType;
|
|
1641
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
1642
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
1643
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
1644
|
+
readonly Dict: StructType<{
|
|
1645
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
1646
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
1647
|
+
}>;
|
|
1648
|
+
readonly Struct: ArrayType<StructType<{
|
|
1649
|
+
readonly name: StringType;
|
|
1650
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
1651
|
+
}>>;
|
|
1652
|
+
readonly Variant: ArrayType<StructType<{
|
|
1653
|
+
readonly name: StringType;
|
|
1654
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
1655
|
+
}>>;
|
|
1656
|
+
readonly Recursive: VariantType<{
|
|
1657
|
+
readonly ref: IntegerType;
|
|
1658
|
+
readonly wrapper: StructType<{
|
|
1659
|
+
readonly id: IntegerType;
|
|
1660
|
+
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
1661
|
+
}>;
|
|
1662
|
+
}>;
|
|
1663
|
+
readonly Function: StructType<{
|
|
1664
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
1665
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
1666
|
+
}>;
|
|
1667
|
+
readonly AsyncFunction: StructType<{
|
|
1668
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
1669
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
1670
|
+
}>;
|
|
1671
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
1672
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
1673
|
+
}>>;
|
|
1674
|
+
readonly rowType: import("@elaraai/east").RecursiveType<VariantType<{
|
|
1675
|
+
readonly Never: NullType;
|
|
1676
|
+
readonly Null: NullType;
|
|
1677
|
+
readonly Boolean: NullType;
|
|
1678
|
+
readonly Integer: NullType;
|
|
1679
|
+
readonly Float: NullType;
|
|
1680
|
+
readonly String: NullType;
|
|
1681
|
+
readonly DateTime: NullType;
|
|
1682
|
+
readonly Blob: NullType;
|
|
1683
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
1684
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
1685
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
1686
|
+
readonly Dict: StructType<{
|
|
1687
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
1688
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
1689
|
+
}>;
|
|
1690
|
+
readonly Struct: ArrayType<StructType<{
|
|
1691
|
+
readonly name: StringType;
|
|
1692
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
1693
|
+
}>>;
|
|
1694
|
+
readonly Variant: ArrayType<StructType<{
|
|
1695
|
+
readonly name: StringType;
|
|
1696
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
1697
|
+
}>>;
|
|
1698
|
+
readonly Recursive: VariantType<{
|
|
1699
|
+
readonly ref: IntegerType;
|
|
1700
|
+
readonly wrapper: StructType<{
|
|
1701
|
+
readonly id: IntegerType;
|
|
1702
|
+
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
1703
|
+
}>;
|
|
1704
|
+
}>;
|
|
1705
|
+
readonly Function: StructType<{
|
|
1706
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
1707
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
1708
|
+
}>;
|
|
1709
|
+
readonly AsyncFunction: StructType<{
|
|
1710
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
1711
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
1712
|
+
}>;
|
|
1713
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
1714
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
1715
|
+
}>>;
|
|
1716
|
+
readonly records: OptionType<FunctionType<[], import("@elaraai/east").BlobType>>;
|
|
1717
|
+
}>>;
|
|
1718
|
+
readonly paged: OptionType<StructType<{
|
|
1719
|
+
readonly kind: StringType;
|
|
1720
|
+
readonly id: StringType;
|
|
1721
|
+
readonly rows: FunctionType<[IntegerType, IntegerType], OptionType<ArrayType<StructType<{
|
|
1722
|
+
readonly key: StringType;
|
|
1723
|
+
readonly label: StringType;
|
|
1724
|
+
readonly meta: OptionType<StringType>;
|
|
1725
|
+
}>>>>;
|
|
1726
|
+
readonly keys: FunctionType<[IntegerType, IntegerType], OptionType<ArrayType<StringType>>>;
|
|
1727
|
+
readonly total: FunctionType<[], OptionType<IntegerType>>;
|
|
1728
|
+
readonly revision: FunctionType<[], OptionType<StringType>>;
|
|
1729
|
+
readonly refresh: FunctionType<[OptionType<StringType>], NullType>;
|
|
1730
|
+
readonly query: OptionType<FunctionType<[], StringType>>;
|
|
1731
|
+
readonly seek: OptionType<FunctionType<[VariantType<{
|
|
1732
|
+
readonly key: StringType;
|
|
1733
|
+
readonly prefix: StringType;
|
|
1734
|
+
readonly fields: StructType<{
|
|
1735
|
+
readonly values: ArrayType<StringType>;
|
|
1736
|
+
readonly prefix: OptionType<StringType>;
|
|
1737
|
+
}>;
|
|
1738
|
+
readonly range: StructType<{
|
|
1739
|
+
readonly from: ArrayType<StringType>;
|
|
1740
|
+
readonly to: ArrayType<StringType>;
|
|
1741
|
+
}>;
|
|
1742
|
+
}>], OptionType<StructType<{
|
|
1743
|
+
readonly found: BooleanType;
|
|
1744
|
+
readonly row: IntegerType;
|
|
1745
|
+
readonly count: IntegerType;
|
|
1746
|
+
}>>>>;
|
|
1747
|
+
readonly entries: FunctionType<[IntegerType, IntegerType], OptionType<ArrayType<StructType<{
|
|
1748
|
+
readonly key: StringType;
|
|
1749
|
+
readonly label: StringType;
|
|
1750
|
+
readonly meta: OptionType<StringType>;
|
|
1751
|
+
}>>>>;
|
|
1752
|
+
readonly byKey: FunctionType<[StringType], OptionType<OptionType<StructType<{
|
|
1753
|
+
readonly key: StringType;
|
|
1754
|
+
readonly label: StringType;
|
|
1755
|
+
readonly meta: OptionType<StringType>;
|
|
1756
|
+
}>>>>;
|
|
1332
1757
|
}>>;
|
|
1333
1758
|
readonly settings: StructType<{
|
|
1334
1759
|
readonly layout: VariantType<{
|
|
@@ -1499,6 +1924,39 @@ export declare const CalendarComponent: import("@elaraai/east-ui").UIComponentDe
|
|
|
1499
1924
|
readonly to: import("@elaraai/east").StringType;
|
|
1500
1925
|
readonly optional: import("@elaraai/east").BooleanType;
|
|
1501
1926
|
}>>;
|
|
1927
|
+
readonly area: OptionType<StructType<{
|
|
1928
|
+
readonly x: import("@elaraai/east").StringType;
|
|
1929
|
+
readonly y: import("@elaraai/east").StringType;
|
|
1930
|
+
readonly width: OptionType<import("@elaraai/east").StringType>;
|
|
1931
|
+
readonly height: OptionType<import("@elaraai/east").StringType>;
|
|
1932
|
+
readonly centre: import("@elaraai/east").BooleanType;
|
|
1933
|
+
readonly cell: import("@elaraai/east").FloatType;
|
|
1934
|
+
readonly optional: import("@elaraai/east").BooleanType;
|
|
1935
|
+
}>>;
|
|
1936
|
+
readonly series: OptionType<StructType<{
|
|
1937
|
+
readonly key: import("@elaraai/east").StringType;
|
|
1938
|
+
readonly from: import("@elaraai/east").StringType;
|
|
1939
|
+
readonly to: import("@elaraai/east").StringType;
|
|
1940
|
+
readonly tile: VariantType<{
|
|
1941
|
+
readonly day: NullType;
|
|
1942
|
+
readonly week: NullType;
|
|
1943
|
+
readonly month: NullType;
|
|
1944
|
+
readonly quarter: NullType;
|
|
1945
|
+
readonly year: NullType;
|
|
1946
|
+
}>;
|
|
1947
|
+
}>>;
|
|
1948
|
+
readonly summary: OptionType<StructType<{
|
|
1949
|
+
readonly key: import("@elaraai/east").StringType;
|
|
1950
|
+
readonly from: import("@elaraai/east").StringType;
|
|
1951
|
+
readonly to: import("@elaraai/east").StringType;
|
|
1952
|
+
readonly tile: VariantType<{
|
|
1953
|
+
readonly day: NullType;
|
|
1954
|
+
readonly week: NullType;
|
|
1955
|
+
readonly month: NullType;
|
|
1956
|
+
readonly quarter: NullType;
|
|
1957
|
+
readonly year: NullType;
|
|
1958
|
+
}>;
|
|
1959
|
+
}>>;
|
|
1502
1960
|
}>>;
|
|
1503
1961
|
readonly range: OptionType<import("@elaraai/east").StringType>;
|
|
1504
1962
|
readonly search: ArrayType<import("@elaraai/east").StringType>;
|
|
@@ -1512,6 +1970,12 @@ export declare const CalendarComponent: import("@elaraai/east-ui").UIComponentDe
|
|
|
1512
1970
|
readonly to: import("@elaraai/east").StringType;
|
|
1513
1971
|
}>;
|
|
1514
1972
|
readonly prefix: import("@elaraai/east").StringType;
|
|
1973
|
+
readonly window: StructType<{
|
|
1974
|
+
readonly minX: import("@elaraai/east").FloatType;
|
|
1975
|
+
readonly minY: import("@elaraai/east").FloatType;
|
|
1976
|
+
readonly maxX: import("@elaraai/east").FloatType;
|
|
1977
|
+
readonly maxY: import("@elaraai/east").FloatType;
|
|
1978
|
+
}>;
|
|
1515
1979
|
}>>;
|
|
1516
1980
|
}>>;
|
|
1517
1981
|
}>;
|
|
@@ -1523,6 +1987,12 @@ export declare const CalendarComponent: import("@elaraai/east-ui").UIComponentDe
|
|
|
1523
1987
|
readonly to: import("@elaraai/east").StringType;
|
|
1524
1988
|
}>;
|
|
1525
1989
|
readonly prefix: import("@elaraai/east").StringType;
|
|
1990
|
+
readonly window: StructType<{
|
|
1991
|
+
readonly minX: import("@elaraai/east").FloatType;
|
|
1992
|
+
readonly minY: import("@elaraai/east").FloatType;
|
|
1993
|
+
readonly maxX: import("@elaraai/east").FloatType;
|
|
1994
|
+
readonly maxY: import("@elaraai/east").FloatType;
|
|
1995
|
+
}>;
|
|
1526
1996
|
}>>;
|
|
1527
1997
|
readonly preset: OptionType<import("@elaraai/east").StringType>;
|
|
1528
1998
|
readonly resolution: OptionType<VariantType<{
|
|
@@ -1543,6 +2013,12 @@ export declare const CalendarComponent: import("@elaraai/east-ui").UIComponentDe
|
|
|
1543
2013
|
readonly to: import("@elaraai/east").StringType;
|
|
1544
2014
|
}>;
|
|
1545
2015
|
readonly prefix: import("@elaraai/east").StringType;
|
|
2016
|
+
readonly window: StructType<{
|
|
2017
|
+
readonly minX: import("@elaraai/east").FloatType;
|
|
2018
|
+
readonly minY: import("@elaraai/east").FloatType;
|
|
2019
|
+
readonly maxX: import("@elaraai/east").FloatType;
|
|
2020
|
+
readonly maxY: import("@elaraai/east").FloatType;
|
|
2021
|
+
}>;
|
|
1546
2022
|
}>>;
|
|
1547
2023
|
readonly preset: OptionType<import("@elaraai/east").StringType>;
|
|
1548
2024
|
readonly resolution: OptionType<VariantType<{
|
|
@@ -1568,6 +2044,12 @@ export declare const CalendarComponent: import("@elaraai/east-ui").UIComponentDe
|
|
|
1568
2044
|
readonly to: import("@elaraai/east").StringType;
|
|
1569
2045
|
}>;
|
|
1570
2046
|
readonly prefix: import("@elaraai/east").StringType;
|
|
2047
|
+
readonly window: StructType<{
|
|
2048
|
+
readonly minX: import("@elaraai/east").FloatType;
|
|
2049
|
+
readonly minY: import("@elaraai/east").FloatType;
|
|
2050
|
+
readonly maxX: import("@elaraai/east").FloatType;
|
|
2051
|
+
readonly maxY: import("@elaraai/east").FloatType;
|
|
2052
|
+
}>;
|
|
1571
2053
|
}>>], OptionType<import("@elaraai/east").IntegerType>>;
|
|
1572
2054
|
readonly total: import("@elaraai/east").FunctionType<[], OptionType<import("@elaraai/east").IntegerType>>;
|
|
1573
2055
|
readonly domain: import("@elaraai/east").FunctionType<[import("@elaraai/east").StringType], OptionType<StructType<{
|
|
@@ -1609,6 +2091,12 @@ export declare const CalendarComponent: import("@elaraai/east-ui").UIComponentDe
|
|
|
1609
2091
|
readonly to: import("@elaraai/east").StringType;
|
|
1610
2092
|
}>;
|
|
1611
2093
|
readonly prefix: import("@elaraai/east").StringType;
|
|
2094
|
+
readonly window: StructType<{
|
|
2095
|
+
readonly minX: import("@elaraai/east").FloatType;
|
|
2096
|
+
readonly minY: import("@elaraai/east").FloatType;
|
|
2097
|
+
readonly maxX: import("@elaraai/east").FloatType;
|
|
2098
|
+
readonly maxY: import("@elaraai/east").FloatType;
|
|
2099
|
+
}>;
|
|
1612
2100
|
}>>, import("@elaraai/east").StringType], OptionType<import("@elaraai/east").BooleanType>>;
|
|
1613
2101
|
readonly containsRow: import("@elaraai/east").FunctionType<[import("@elaraai/east").DictType<import("@elaraai/east").StringType, VariantType<{
|
|
1614
2102
|
readonly values: ArrayType<import("@elaraai/east").StringType>;
|
|
@@ -1617,6 +2105,12 @@ export declare const CalendarComponent: import("@elaraai/east-ui").UIComponentDe
|
|
|
1617
2105
|
readonly to: import("@elaraai/east").StringType;
|
|
1618
2106
|
}>;
|
|
1619
2107
|
readonly prefix: import("@elaraai/east").StringType;
|
|
2108
|
+
readonly window: StructType<{
|
|
2109
|
+
readonly minX: import("@elaraai/east").FloatType;
|
|
2110
|
+
readonly minY: import("@elaraai/east").FloatType;
|
|
2111
|
+
readonly maxX: import("@elaraai/east").FloatType;
|
|
2112
|
+
readonly maxY: import("@elaraai/east").FloatType;
|
|
2113
|
+
}>;
|
|
1620
2114
|
}>>, import("@elaraai/east").StringType, import("@elaraai/east").BlobType], OptionType<import("@elaraai/east").BooleanType>>;
|
|
1621
2115
|
}>;
|
|
1622
2116
|
}>>;
|
|
@@ -1657,6 +2151,9 @@ export declare const CalendarComponent: import("@elaraai/east-ui").UIComponentDe
|
|
|
1657
2151
|
readonly key: StringType;
|
|
1658
2152
|
}>>;
|
|
1659
2153
|
}>], OptionType<StringType>>>;
|
|
2154
|
+
readonly optimise: OptionType<StructType<{
|
|
2155
|
+
readonly name: StringType;
|
|
2156
|
+
}>>;
|
|
1660
2157
|
readonly onSelect: OptionType<FunctionType<[StructType<{
|
|
1661
2158
|
readonly kind: StringType;
|
|
1662
2159
|
readonly key: StringType;
|
|
@@ -1682,15 +2179,23 @@ declare function authorTab<K extends EastType, R extends EastType, P extends Eas
|
|
|
1682
2179
|
export interface CalendarProps {
|
|
1683
2180
|
/** Event kinds, each bound to its own record and patch mutation. */
|
|
1684
2181
|
events: Readonly<Record<string, ScheduleEventKind<EastType, EastType>>>;
|
|
1685
|
-
/**
|
|
2182
|
+
/**
|
|
2183
|
+
* Resource kinds read from keyed data, commonly bound records — or one of them a paged read of its record
|
|
2184
|
+
* (`Calendar.resources(Data.bindPaged(record), { … })`, #1424): its resources come a window at a time, the timeline's
|
|
2185
|
+
* rows and the Resources view's columns the windows around the view, its Choosers searching it by key. An event kind
|
|
2186
|
+
* placed on it is read a cell at a time: its source of the slice lists a series index and a summary index of its
|
|
2187
|
+
* record (`e3.recordIndex.series`, `e3.recordIndex.summary`, filed by its resource field over its own times) beside
|
|
2188
|
+
* its interval index, or it is refused.
|
|
2189
|
+
*/
|
|
1686
2190
|
resources?: Readonly<Record<string, ScheduleResourceKind<EastType, EastType>>>;
|
|
1687
2191
|
/**
|
|
1688
2192
|
* The narrowing: `Slice.bindRecords(key, { … })`, one rail, a source per record it narrows (#1343). A source named
|
|
1689
2193
|
* after an event kind's slot (`job`) narrows that kind's events in every layout, its backlog and its choices,
|
|
1690
2194
|
* through its interval index — its `range` the kind's start field, which the Calendar's navigation writes in
|
|
1691
2195
|
* every event source at once — and the kind gives `entries` beside it. A source named after a resource kind's slot
|
|
1692
|
-
* (`machines`) narrows its columns, rows and choices
|
|
1693
|
-
*
|
|
2196
|
+
* (`machines`) narrows its columns, rows and choices — a paged kind's windows are its narrowed rows themselves,
|
|
2197
|
+
* `Data.bindPaged(record, { indexes })` over the kind's own record, in its index's order (#1424). A source a templates
|
|
2198
|
+
* list or a tab names narrows its cards. Overlaps and checks read every event. Omitted, no Slice controls.
|
|
1694
2199
|
*/
|
|
1695
2200
|
slice?: RecordSlicesChromeOptions;
|
|
1696
2201
|
/** The library's tabs, in order; omitted or empty, no start pane. */
|
|
@@ -1721,6 +2226,16 @@ export interface CalendarProps {
|
|
|
1721
2226
|
now?: SubtypeExprOrValue<DateTimeType>;
|
|
1722
2227
|
/** Refuses a candidate placement with a message; none permits it. */
|
|
1723
2228
|
canDrop?: SubtypeExprOrValue<FunctionType<[typeof ScheduleCandidateType], OptionType<StringType>>>;
|
|
2229
|
+
/**
|
|
2230
|
+
* The app's optimiser (#1409): `Func.bind` of its `e3.function` from `Calendar.Types.OptimiseRequest(E, S)` — the window in
|
|
2231
|
+
* view, the run number, every event kind's rows in the window and its backlog by slot and by key, and the resource kinds'
|
|
2232
|
+
* rows as context — to `Calendar.Types.OptimiseResult(E)`, the events complete. `E` and `S` are the kinds' row types by slot
|
|
2233
|
+
* (`Calendar.Types.OptimiseRequest({ job: Job }, { machines: Machine })`); a kind keyed otherwise than by String gives its
|
|
2234
|
+
* record type, `DictType(K, R)`. The Elara eye in the toolbar calls it once per run; the result lands in the session as one
|
|
2235
|
+
* edit, which one Undo reverts and Save commits with everything else. Omitted, no eye. The tag cannot see its kinds' row
|
|
2236
|
+
* types in TypeScript, so it checks the handle at build, and refuses one over other rows naming both.
|
|
2237
|
+
*/
|
|
2238
|
+
optimise?: OptimiseHandle;
|
|
1724
2239
|
/** Observes each selected event's kind and record key. */
|
|
1725
2240
|
onSelect?: SubtypeExprOrValue<FunctionType<[typeof ScheduleEventRefType], NullType>>;
|
|
1726
2241
|
/** Keeps this calendar's view, library, panes and editing history distinct. */
|
|
@@ -1734,7 +2249,15 @@ export interface CalendarProps {
|
|
|
1734
2249
|
* @throws {Error} When kinds or library tabs are invalid, a kind has no `title` (#1367), working hours are outside the
|
|
1735
2250
|
* day, `slice` is not `Slice.bindRecords` or names a source no kind, templates list or tab names, a templates list is
|
|
1736
2251
|
* written in the code or names no source of the slice (templates are records, #1340), or a tab names a source the
|
|
1737
|
-
* slice lacks
|
|
2252
|
+
* slice lacks, or `optimise` is not `Func.bind` of a function from `OptimiseRequest(E, S)` to `OptimiseResult(E)` over
|
|
2253
|
+
* the kinds' rows (#1409); more than one resource kind is paged, or an event kind is placed on the paged kind and on
|
|
2254
|
+
* another, or with no source of the slice — its record read whole, or the days in view read through its day index —
|
|
2255
|
+
* each naming the series and summary indexes to declare over the kind's own fields (#1424). The series and summary
|
|
2256
|
+
* indexes an event kind's source lists are refused in the same words as the Calendar is evaluated, the source's
|
|
2257
|
+
* indexes read only then: one filed by another field than the kind's resource, or over other times than its events';
|
|
2258
|
+
* a series index for a kind not placed on the paged kind alone; two series, or two summaries, by one tile over the
|
|
2259
|
+
* same fields; a series index with no summary beside it; and, for a kind on the paged kind, a source listing no
|
|
2260
|
+
* series index
|
|
1738
2261
|
* @internal
|
|
1739
2262
|
*/
|
|
1740
2263
|
export declare function createCalendarPayload(props: CalendarProps): ExprType<typeof CalendarPayloadType>;
|
|
@@ -1748,11 +2271,15 @@ export interface CalendarNamespace extends Omit<ScheduleNamespace, "Types"> {
|
|
|
1748
2271
|
backlog: typeof backlogTab;
|
|
1749
2272
|
tab: typeof authorTab;
|
|
1750
2273
|
};
|
|
1751
|
-
/** Shared schedule types
|
|
2274
|
+
/** Shared schedule types, Calendar's view state, and the optimiser's request and answer over its kinds (#1409). */
|
|
1752
2275
|
Types: ScheduleNamespace["Types"] & {
|
|
1753
2276
|
Layout: typeof CalendarLayoutType;
|
|
1754
2277
|
Period: typeof CalendarPeriodType;
|
|
1755
2278
|
View: typeof CalendarViewType;
|
|
2279
|
+
/** `OptimiseRequest(E, S)` — what the app's optimiser is asked: the window, the run, every event kind's rows and the resource kinds' by slot. */
|
|
2280
|
+
OptimiseRequest: typeof ScheduleOptimiseRequestTypeFor;
|
|
2281
|
+
/** `OptimiseResult(E)` — what it answers: the events, complete. */
|
|
2282
|
+
OptimiseResult: typeof ScheduleOptimiseResultTypeFor;
|
|
1756
2283
|
};
|
|
1757
2284
|
}
|
|
1758
2285
|
/**
|
|
@@ -1790,5 +2317,4 @@ export interface CalendarNamespace extends Omit<ScheduleNamespace, "Types"> {
|
|
|
1790
2317
|
* ```
|
|
1791
2318
|
*/
|
|
1792
2319
|
export declare const Calendar: CalendarNamespace;
|
|
1793
|
-
export {};
|
|
1794
2320
|
//# sourceMappingURL=index.d.ts.map
|