@elaraai/east-ui 1.0.39 → 1.0.41
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/collections/calendar/index.d.ts +275 -62
- package/dist/src/collections/calendar/index.d.ts.map +1 -1
- package/dist/src/collections/calendar/index.js +168 -51
- package/dist/src/collections/calendar/index.js.map +1 -1
- package/dist/src/collections/calendar/types.d.ts +228 -22
- package/dist/src/collections/calendar/types.d.ts.map +1 -1
- package/dist/src/collections/calendar/types.js +132 -18
- package/dist/src/collections/calendar/types.js.map +1 -1
- package/dist/src/collections/deck/index.d.ts +2229 -0
- package/dist/src/collections/deck/index.d.ts.map +1 -0
- package/dist/src/collections/deck/index.js +461 -0
- package/dist/src/collections/deck/index.js.map +1 -0
- package/dist/src/collections/deck/types.d.ts +327 -0
- package/dist/src/collections/deck/types.d.ts.map +1 -0
- package/dist/src/collections/deck/types.js +206 -0
- package/dist/src/collections/deck/types.js.map +1 -0
- package/dist/src/collections/index.d.ts +2 -0
- package/dist/src/collections/index.d.ts.map +1 -1
- package/dist/src/collections/index.js +2 -0
- package/dist/src/collections/index.js.map +1 -1
- package/dist/src/collections/value-tree/index.d.ts +380 -0
- package/dist/src/collections/value-tree/index.d.ts.map +1 -0
- package/dist/src/collections/value-tree/index.js +688 -0
- package/dist/src/collections/value-tree/index.js.map +1 -0
- package/dist/src/collections/value-tree/materialize.d.ts +65 -0
- package/dist/src/collections/value-tree/materialize.d.ts.map +1 -0
- package/dist/src/collections/value-tree/materialize.js +238 -0
- package/dist/src/collections/value-tree/materialize.js.map +1 -0
- package/dist/src/collections/value-tree/types.d.ts +324 -0
- package/dist/src/collections/value-tree/types.d.ts.map +1 -0
- package/dist/src/collections/value-tree/types.js +168 -0
- package/dist/src/collections/value-tree/types.js.map +1 -0
- package/dist/src/component.d.ts +1047 -61
- package/dist/src/component.d.ts.map +1 -1
- package/dist/src/component.js +97 -3
- package/dist/src/component.js.map +1 -1
- package/dist/src/index.d.ts +3 -3
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +2 -2
- package/dist/src/index.js.map +1 -1
- package/dist/src/internal.d.ts +4 -3
- package/dist/src/internal.d.ts.map +1 -1
- package/dist/src/internal.js +3 -3
- package/dist/src/internal.js.map +1 -1
- package/dist/src/layout/splitter/index.d.ts +1 -0
- package/dist/src/layout/splitter/index.d.ts.map +1 -1
- package/dist/src/layout/splitter/index.js +2 -1
- package/dist/src/layout/splitter/index.js.map +1 -1
- package/dist/src/layout/splitter/types.d.ts +9 -0
- package/dist/src/layout/splitter/types.d.ts.map +1 -1
- package/dist/src/layout/splitter/types.js +4 -0
- package/dist/src/layout/splitter/types.js.map +1 -1
- package/dist/src/navigation/app/index.d.ts +135 -0
- package/dist/src/navigation/app/index.d.ts.map +1 -0
- package/dist/src/navigation/app/index.js +191 -0
- package/dist/src/navigation/app/index.js.map +1 -0
- package/dist/src/navigation/index.d.ts +1 -0
- package/dist/src/navigation/index.d.ts.map +1 -1
- package/dist/src/navigation/index.js +1 -0
- package/dist/src/navigation/index.js.map +1 -1
- package/dist/src/navigation/pages/types.d.ts +15 -1
- package/dist/src/navigation/pages/types.d.ts.map +1 -1
- package/dist/src/navigation/pages/types.js.map +1 -1
- package/dist/src/platform/slice/impl.js +2 -2
- package/dist/src/platform/slice/impl.js.map +1 -1
- package/dist/src/runtime/collections/calendar.d.ts +10 -5
- package/dist/src/runtime/collections/calendar.d.ts.map +1 -1
- package/dist/src/runtime/collections/calendar.js +10 -5
- package/dist/src/runtime/collections/calendar.js.map +1 -1
- package/dist/src/runtime/collections/deck.d.ts +1066 -0
- package/dist/src/runtime/collections/deck.d.ts.map +1 -0
- package/dist/src/runtime/collections/deck.js +54 -0
- package/dist/src/runtime/collections/deck.js.map +1 -0
- package/dist/src/runtime/collections/index.d.ts +2 -0
- package/dist/src/runtime/collections/index.d.ts.map +1 -1
- package/dist/src/runtime/collections/index.js +2 -0
- package/dist/src/runtime/collections/index.js.map +1 -1
- package/dist/src/runtime/collections/value-tree.d.ts +202 -0
- package/dist/src/runtime/collections/value-tree.d.ts.map +1 -0
- package/dist/src/runtime/collections/value-tree.js +49 -0
- package/dist/src/runtime/collections/value-tree.js.map +1 -0
- package/dist/src/runtime/navigation/app.d.ts +50 -0
- package/dist/src/runtime/navigation/app.d.ts.map +1 -0
- package/dist/src/runtime/navigation/app.js +51 -0
- package/dist/src/runtime/navigation/app.js.map +1 -0
- package/dist/src/runtime/navigation/index.d.ts +1 -0
- package/dist/src/runtime/navigation/index.d.ts.map +1 -1
- package/dist/src/runtime/navigation/index.js +1 -0
- package/dist/src/runtime/navigation/index.js.map +1 -1
- package/dist/test/collections/calendar.examples.d.ts +2 -0
- package/dist/test/collections/calendar.examples.d.ts.map +1 -1
- package/dist/test/collections/calendar.examples.js +74 -42
- package/dist/test/collections/calendar.examples.js.map +1 -1
- package/dist/test/collections/deck.examples.d.ts +8 -0
- package/dist/test/collections/deck.examples.d.ts.map +1 -0
- package/dist/test/collections/deck.examples.js +169 -0
- package/dist/test/collections/deck.examples.js.map +1 -0
- package/dist/test/collections/planner.examples.js +2 -2
- package/dist/test/collections/value-tree.examples.d.ts +10 -0
- package/dist/test/collections/value-tree.examples.d.ts.map +1 -0
- package/dist/test/collections/value-tree.examples.js +263 -0
- package/dist/test/collections/value-tree.examples.js.map +1 -0
- package/dist/test/display/image.examples.js +1 -1
- package/dist/test/display/image.examples.js.map +1 -1
- package/dist/test/layout/aligned-stack.examples.js +4 -4
- package/dist/test/layout/aligned-stack.examples.js.map +1 -1
- package/dist/test/layout/dock.examples.js +6 -6
- package/dist/test/layout/dock.examples.js.map +1 -1
- package/dist/test/layout/splitter.examples.d.ts +1 -0
- package/dist/test/layout/splitter.examples.d.ts.map +1 -1
- package/dist/test/layout/splitter.examples.js +11 -0
- package/dist/test/layout/splitter.examples.js.map +1 -1
- package/dist/test/navigation/app.examples.d.ts +22 -0
- package/dist/test/navigation/app.examples.d.ts.map +1 -0
- package/dist/test/navigation/app.examples.js +116 -0
- package/dist/test/navigation/app.examples.js.map +1 -0
- package/dist/test/navigation/nav-list.examples.js +2 -2
- package/dist/test/navigation/nav-list.examples.js.map +1 -1
- package/dist/test/overlays/drawer.examples.js +2 -2
- package/dist/test/overlays/drawer.examples.js.map +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,2229 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
+
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Deck — the declarative grouped card collection (#359).
|
|
7
|
+
*
|
|
8
|
+
* `Deck.Root(data, config)` renders rows as presentation cards: a
|
|
9
|
+
* structured face (`card` accessor — title / sublabel / icon / status /
|
|
10
|
+
* tone / facts) or a fully custom face (`render` accessor returning any
|
|
11
|
+
* UI component), grouped by named GROUP BY toolbar options, laid out as
|
|
12
|
+
* a wrapping card grid or a single-column list. Filtering and search
|
|
13
|
+
* flow through the SLICE interface (like Table) — a Deck has no bespoke
|
|
14
|
+
* search of its own.
|
|
15
|
+
*
|
|
16
|
+
* Cards carry two states: the LIST face (the summary above) and an
|
|
17
|
+
* optional VIEW state rendered in an anchored POPOVER CARD. The
|
|
18
|
+
* `onClick` and `onHover` accessors return the popover's BODY content
|
|
19
|
+
* (any UI component); the popover's head is INHERITED from the card
|
|
20
|
+
* face (icon, title, sublabel, status, tone rule). Clicking opens a
|
|
21
|
+
* sticky popover (Esc / outside / × closes); hovering shows a transient
|
|
22
|
+
* peek on hover-capable pointers. `onOpen` / `onClose` report the
|
|
23
|
+
* click-popover transitions; `onCardClick` remains the plain tap
|
|
24
|
+
* callback. Cards are tap targets, never drag sources.
|
|
25
|
+
*/
|
|
26
|
+
import { type ExprType, type SubtypeExprOrValue, type ValueTypeOf, ArrayType, AsyncFunctionType, BooleanType, DictType, Expr, FloatType, FunctionType, NullType, OptionType, StringType, StructType } from "@elaraai/east";
|
|
27
|
+
import { UIComponentType } from "../../component.js";
|
|
28
|
+
import { type IconName } from "../../display/icon/types.js";
|
|
29
|
+
import { type StatusTokenLiteral } from "../../style/interaction.js";
|
|
30
|
+
import { ValueFormatType } from "../../contracts/format.js";
|
|
31
|
+
import { SliceBindType } from "../../platform/slice/index.js";
|
|
32
|
+
import { type SliceAffordanceLiteral } from "../../contracts/slice-affordances.js";
|
|
33
|
+
import type { RowElement } from "../library/index.js";
|
|
34
|
+
import { DeckFactType, DeckMetricType, DeckStatusesType, type DeckLayoutLiteral, type DeckStyle } from "./types.js";
|
|
35
|
+
export { DeckFactType, DeckFillType, DeckLayoutType, DeckMetricType, DeckNoteType, DeckReadoutType, DeckRowsType, DeckStatusColorType, DeckStatusType, DeckStatusesType, DeckStyleType, type DeckLayoutLiteral, type DeckStyle, } from "./types.js";
|
|
36
|
+
/**
|
|
37
|
+
* The structured face produced by the `card` accessor — the per-row
|
|
38
|
+
* fields before the factory merges in groups / search / custom face.
|
|
39
|
+
*/
|
|
40
|
+
export declare const DeckCardFaceType: StructType<{
|
|
41
|
+
readonly key: StringType;
|
|
42
|
+
readonly title: StringType;
|
|
43
|
+
readonly sublabel: OptionType<StringType>;
|
|
44
|
+
readonly icon: OptionType<StringType>;
|
|
45
|
+
readonly status: OptionType<StringType>;
|
|
46
|
+
readonly metrics: ArrayType<StructType<{
|
|
47
|
+
readonly label: StringType;
|
|
48
|
+
readonly value: OptionType<FloatType>;
|
|
49
|
+
readonly format: OptionType<import("@elaraai/east").VariantType<{
|
|
50
|
+
readonly number: NullType;
|
|
51
|
+
readonly currency: StructType<{
|
|
52
|
+
readonly code: StringType;
|
|
53
|
+
readonly compact: BooleanType;
|
|
54
|
+
}>;
|
|
55
|
+
readonly percent: NullType;
|
|
56
|
+
readonly compact: NullType;
|
|
57
|
+
readonly date: StringType;
|
|
58
|
+
readonly time: StringType;
|
|
59
|
+
readonly datetime: StringType;
|
|
60
|
+
}>>;
|
|
61
|
+
readonly text: OptionType<StringType>;
|
|
62
|
+
readonly warn: BooleanType;
|
|
63
|
+
}>>;
|
|
64
|
+
readonly fill: OptionType<StructType<{
|
|
65
|
+
readonly value: FloatType;
|
|
66
|
+
readonly max: FloatType;
|
|
67
|
+
readonly format: OptionType<import("@elaraai/east").VariantType<{
|
|
68
|
+
readonly number: NullType;
|
|
69
|
+
readonly currency: StructType<{
|
|
70
|
+
readonly code: StringType;
|
|
71
|
+
readonly compact: BooleanType;
|
|
72
|
+
}>;
|
|
73
|
+
readonly percent: NullType;
|
|
74
|
+
readonly compact: NullType;
|
|
75
|
+
readonly date: StringType;
|
|
76
|
+
readonly time: StringType;
|
|
77
|
+
readonly datetime: StringType;
|
|
78
|
+
}>>;
|
|
79
|
+
readonly text: OptionType<StringType>;
|
|
80
|
+
}>>;
|
|
81
|
+
readonly facts: ArrayType<StructType<{
|
|
82
|
+
readonly label: StringType;
|
|
83
|
+
readonly value: import("@elaraai/east").VariantType<{
|
|
84
|
+
readonly meter: StructType<{
|
|
85
|
+
readonly value: FloatType;
|
|
86
|
+
readonly max: FloatType;
|
|
87
|
+
readonly text: OptionType<StringType>;
|
|
88
|
+
}>;
|
|
89
|
+
readonly chips: ArrayType<StringType>;
|
|
90
|
+
readonly text: StringType;
|
|
91
|
+
}>;
|
|
92
|
+
}>>;
|
|
93
|
+
readonly filtered: BooleanType;
|
|
94
|
+
}>;
|
|
95
|
+
/**
|
|
96
|
+
* Type representing the structured Deck card face.
|
|
97
|
+
*/
|
|
98
|
+
export type DeckCardFaceType = typeof DeckCardFaceType;
|
|
99
|
+
/**
|
|
100
|
+
* A resolved Deck item — the face merged with groups / search / custom
|
|
101
|
+
* face at factory time (the renderer never sees the host row type).
|
|
102
|
+
*
|
|
103
|
+
* @remarks
|
|
104
|
+
* Mirrors the inline `Deck` variant's `items` element in `component.ts`
|
|
105
|
+
* (the Card convention for containers whose payload references the
|
|
106
|
+
* recursive `UIComponentType`).
|
|
107
|
+
*/
|
|
108
|
+
export declare const DeckItemType: StructType<{
|
|
109
|
+
readonly key: StringType;
|
|
110
|
+
readonly title: StringType;
|
|
111
|
+
readonly sublabel: OptionType<StringType>;
|
|
112
|
+
readonly icon: OptionType<StringType>;
|
|
113
|
+
readonly status: OptionType<StringType>;
|
|
114
|
+
readonly metrics: ArrayType<StructType<{
|
|
115
|
+
readonly label: StringType;
|
|
116
|
+
readonly value: OptionType<FloatType>;
|
|
117
|
+
readonly format: OptionType<import("@elaraai/east").VariantType<{
|
|
118
|
+
readonly number: NullType;
|
|
119
|
+
readonly currency: StructType<{
|
|
120
|
+
readonly code: StringType;
|
|
121
|
+
readonly compact: BooleanType;
|
|
122
|
+
}>;
|
|
123
|
+
readonly percent: NullType;
|
|
124
|
+
readonly compact: NullType;
|
|
125
|
+
readonly date: StringType;
|
|
126
|
+
readonly time: StringType;
|
|
127
|
+
readonly datetime: StringType;
|
|
128
|
+
}>>;
|
|
129
|
+
readonly text: OptionType<StringType>;
|
|
130
|
+
readonly warn: BooleanType;
|
|
131
|
+
}>>;
|
|
132
|
+
readonly fill: OptionType<StructType<{
|
|
133
|
+
readonly value: FloatType;
|
|
134
|
+
readonly max: FloatType;
|
|
135
|
+
readonly format: OptionType<import("@elaraai/east").VariantType<{
|
|
136
|
+
readonly number: NullType;
|
|
137
|
+
readonly currency: StructType<{
|
|
138
|
+
readonly code: StringType;
|
|
139
|
+
readonly compact: BooleanType;
|
|
140
|
+
}>;
|
|
141
|
+
readonly percent: NullType;
|
|
142
|
+
readonly compact: NullType;
|
|
143
|
+
readonly date: StringType;
|
|
144
|
+
readonly time: StringType;
|
|
145
|
+
readonly datetime: StringType;
|
|
146
|
+
}>>;
|
|
147
|
+
readonly text: OptionType<StringType>;
|
|
148
|
+
}>>;
|
|
149
|
+
readonly facts: ArrayType<StructType<{
|
|
150
|
+
readonly label: StringType;
|
|
151
|
+
readonly value: import("@elaraai/east").VariantType<{
|
|
152
|
+
readonly meter: StructType<{
|
|
153
|
+
readonly value: FloatType;
|
|
154
|
+
readonly max: FloatType;
|
|
155
|
+
readonly text: OptionType<StringType>;
|
|
156
|
+
}>;
|
|
157
|
+
readonly chips: ArrayType<StringType>;
|
|
158
|
+
readonly text: StringType;
|
|
159
|
+
}>;
|
|
160
|
+
}>>;
|
|
161
|
+
readonly filtered: BooleanType;
|
|
162
|
+
readonly groups: DictType<StringType, StringType>;
|
|
163
|
+
readonly face: OptionType<import("@elaraai/east").RecursiveType<import("../../component.js").UIComponentNode>>;
|
|
164
|
+
readonly detail: OptionType<import("@elaraai/east").RecursiveType<import("../../component.js").UIComponentNode>>;
|
|
165
|
+
readonly hover: OptionType<import("@elaraai/east").RecursiveType<import("../../component.js").UIComponentNode>>;
|
|
166
|
+
}>;
|
|
167
|
+
/**
|
|
168
|
+
* Type representing a resolved Deck item.
|
|
169
|
+
*/
|
|
170
|
+
export type DeckItemType = typeof DeckItemType;
|
|
171
|
+
/**
|
|
172
|
+
* The full Deck payload — mirrors the inline `Deck` variant in
|
|
173
|
+
* `component.ts`; use for `ValueTypeOf<typeof Deck.Types.Deck>` in
|
|
174
|
+
* renderers and assertions.
|
|
175
|
+
*/
|
|
176
|
+
export declare const DeckRootType: StructType<{
|
|
177
|
+
readonly items: ArrayType<StructType<{
|
|
178
|
+
readonly key: StringType;
|
|
179
|
+
readonly title: StringType;
|
|
180
|
+
readonly sublabel: OptionType<StringType>;
|
|
181
|
+
readonly icon: OptionType<StringType>;
|
|
182
|
+
readonly status: OptionType<StringType>;
|
|
183
|
+
readonly metrics: ArrayType<StructType<{
|
|
184
|
+
readonly label: StringType;
|
|
185
|
+
readonly value: OptionType<FloatType>;
|
|
186
|
+
readonly format: OptionType<import("@elaraai/east").VariantType<{
|
|
187
|
+
readonly number: NullType;
|
|
188
|
+
readonly currency: StructType<{
|
|
189
|
+
readonly code: StringType;
|
|
190
|
+
readonly compact: BooleanType;
|
|
191
|
+
}>;
|
|
192
|
+
readonly percent: NullType;
|
|
193
|
+
readonly compact: NullType;
|
|
194
|
+
readonly date: StringType;
|
|
195
|
+
readonly time: StringType;
|
|
196
|
+
readonly datetime: StringType;
|
|
197
|
+
}>>;
|
|
198
|
+
readonly text: OptionType<StringType>;
|
|
199
|
+
readonly warn: BooleanType;
|
|
200
|
+
}>>;
|
|
201
|
+
readonly fill: OptionType<StructType<{
|
|
202
|
+
readonly value: FloatType;
|
|
203
|
+
readonly max: FloatType;
|
|
204
|
+
readonly format: OptionType<import("@elaraai/east").VariantType<{
|
|
205
|
+
readonly number: NullType;
|
|
206
|
+
readonly currency: StructType<{
|
|
207
|
+
readonly code: StringType;
|
|
208
|
+
readonly compact: BooleanType;
|
|
209
|
+
}>;
|
|
210
|
+
readonly percent: NullType;
|
|
211
|
+
readonly compact: NullType;
|
|
212
|
+
readonly date: StringType;
|
|
213
|
+
readonly time: StringType;
|
|
214
|
+
readonly datetime: StringType;
|
|
215
|
+
}>>;
|
|
216
|
+
readonly text: OptionType<StringType>;
|
|
217
|
+
}>>;
|
|
218
|
+
readonly facts: ArrayType<StructType<{
|
|
219
|
+
readonly label: StringType;
|
|
220
|
+
readonly value: import("@elaraai/east").VariantType<{
|
|
221
|
+
readonly meter: StructType<{
|
|
222
|
+
readonly value: FloatType;
|
|
223
|
+
readonly max: FloatType;
|
|
224
|
+
readonly text: OptionType<StringType>;
|
|
225
|
+
}>;
|
|
226
|
+
readonly chips: ArrayType<StringType>;
|
|
227
|
+
readonly text: StringType;
|
|
228
|
+
}>;
|
|
229
|
+
}>>;
|
|
230
|
+
readonly filtered: BooleanType;
|
|
231
|
+
readonly groups: DictType<StringType, StringType>;
|
|
232
|
+
readonly face: OptionType<import("@elaraai/east").RecursiveType<import("../../component.js").UIComponentNode>>;
|
|
233
|
+
readonly detail: OptionType<import("@elaraai/east").RecursiveType<import("../../component.js").UIComponentNode>>;
|
|
234
|
+
readonly hover: OptionType<import("@elaraai/east").RecursiveType<import("../../component.js").UIComponentNode>>;
|
|
235
|
+
}>>;
|
|
236
|
+
readonly statuses: DictType<StringType, StructType<{
|
|
237
|
+
readonly label: StringType;
|
|
238
|
+
readonly color: import("@elaraai/east").VariantType<{
|
|
239
|
+
readonly token: import("@elaraai/east").VariantType<{
|
|
240
|
+
readonly success: NullType;
|
|
241
|
+
readonly warning: NullType;
|
|
242
|
+
readonly danger: NullType;
|
|
243
|
+
readonly info: NullType;
|
|
244
|
+
readonly neutral: NullType;
|
|
245
|
+
}>;
|
|
246
|
+
readonly custom: StringType;
|
|
247
|
+
}>;
|
|
248
|
+
readonly pulse: BooleanType;
|
|
249
|
+
readonly hint: OptionType<StringType>;
|
|
250
|
+
}>>;
|
|
251
|
+
readonly groupOptions: ArrayType<StructType<{
|
|
252
|
+
readonly key: StringType;
|
|
253
|
+
readonly label: StringType;
|
|
254
|
+
}>>;
|
|
255
|
+
readonly groupSummaries: DictType<StringType, DictType<StringType, StringType>>;
|
|
256
|
+
readonly footer: ArrayType<StructType<{
|
|
257
|
+
readonly label: StringType;
|
|
258
|
+
readonly value: StringType;
|
|
259
|
+
}>>;
|
|
260
|
+
readonly legend: BooleanType;
|
|
261
|
+
readonly layout: OptionType<import("@elaraai/east").VariantType<{
|
|
262
|
+
readonly grid: NullType;
|
|
263
|
+
readonly list: NullType;
|
|
264
|
+
}>>;
|
|
265
|
+
readonly onCardClick: OptionType<FunctionType<[StringType], NullType>>;
|
|
266
|
+
readonly onOpen: OptionType<AsyncFunctionType<[StringType], NullType>>;
|
|
267
|
+
readonly onClose: OptionType<AsyncFunctionType<[], NullType>>;
|
|
268
|
+
readonly slice: OptionType<StructType<{
|
|
269
|
+
readonly slice: StructType<{
|
|
270
|
+
readonly key: StringType;
|
|
271
|
+
readonly read: FunctionType<[], StructType<{
|
|
272
|
+
readonly range: OptionType<import("@elaraai/east").VariantType<{
|
|
273
|
+
readonly datetime: StructType<{
|
|
274
|
+
readonly from: import("@elaraai/east").DateTimeType;
|
|
275
|
+
readonly to: import("@elaraai/east").DateTimeType;
|
|
276
|
+
}>;
|
|
277
|
+
readonly datetimePreset: import("@elaraai/east").VariantType<{
|
|
278
|
+
readonly today: NullType;
|
|
279
|
+
readonly last7d: NullType;
|
|
280
|
+
readonly last30d: NullType;
|
|
281
|
+
readonly last90d: NullType;
|
|
282
|
+
readonly ytd: NullType;
|
|
283
|
+
}>;
|
|
284
|
+
readonly integer: StructType<{
|
|
285
|
+
readonly from: import("@elaraai/east").IntegerType;
|
|
286
|
+
readonly to: import("@elaraai/east").IntegerType;
|
|
287
|
+
}>;
|
|
288
|
+
readonly float: StructType<{
|
|
289
|
+
readonly from: FloatType;
|
|
290
|
+
readonly to: FloatType;
|
|
291
|
+
}>;
|
|
292
|
+
}>>;
|
|
293
|
+
readonly compare: OptionType<import("@elaraai/east").VariantType<{
|
|
294
|
+
readonly previousPeriod: NullType;
|
|
295
|
+
readonly previousYear: NullType;
|
|
296
|
+
}>>;
|
|
297
|
+
readonly filters: ArrayType<import("@elaraai/east").VariantType<{
|
|
298
|
+
readonly string: StructType<{
|
|
299
|
+
readonly fieldId: StringType;
|
|
300
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
301
|
+
readonly eq: StringType;
|
|
302
|
+
readonly neq: StringType;
|
|
303
|
+
readonly in: import("@elaraai/east").SetType<StringType>;
|
|
304
|
+
readonly notIn: import("@elaraai/east").SetType<StringType>;
|
|
305
|
+
readonly contains: StringType;
|
|
306
|
+
readonly matches: StringType;
|
|
307
|
+
readonly startsWith: StringType;
|
|
308
|
+
readonly endsWith: StringType;
|
|
309
|
+
readonly isEmpty: NullType;
|
|
310
|
+
readonly isNotEmpty: NullType;
|
|
311
|
+
}>;
|
|
312
|
+
}>;
|
|
313
|
+
readonly integer: StructType<{
|
|
314
|
+
readonly fieldId: StringType;
|
|
315
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
316
|
+
readonly eq: import("@elaraai/east").IntegerType;
|
|
317
|
+
readonly neq: import("@elaraai/east").IntegerType;
|
|
318
|
+
readonly lt: import("@elaraai/east").IntegerType;
|
|
319
|
+
readonly lte: import("@elaraai/east").IntegerType;
|
|
320
|
+
readonly gt: import("@elaraai/east").IntegerType;
|
|
321
|
+
readonly gte: import("@elaraai/east").IntegerType;
|
|
322
|
+
readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
|
|
323
|
+
}>;
|
|
324
|
+
}>;
|
|
325
|
+
readonly float: StructType<{
|
|
326
|
+
readonly fieldId: StringType;
|
|
327
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
328
|
+
readonly lt: FloatType;
|
|
329
|
+
readonly lte: FloatType;
|
|
330
|
+
readonly gt: FloatType;
|
|
331
|
+
readonly gte: FloatType;
|
|
332
|
+
}>;
|
|
333
|
+
}>;
|
|
334
|
+
readonly datetime: StructType<{
|
|
335
|
+
readonly fieldId: StringType;
|
|
336
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
337
|
+
readonly before: import("@elaraai/east").DateTimeType;
|
|
338
|
+
readonly after: import("@elaraai/east").DateTimeType;
|
|
339
|
+
readonly between: StructType<{
|
|
340
|
+
readonly from: import("@elaraai/east").DateTimeType;
|
|
341
|
+
readonly to: import("@elaraai/east").DateTimeType;
|
|
342
|
+
}>;
|
|
343
|
+
}>;
|
|
344
|
+
}>;
|
|
345
|
+
readonly boolean: StructType<{
|
|
346
|
+
readonly fieldId: StringType;
|
|
347
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
348
|
+
readonly is: BooleanType;
|
|
349
|
+
}>;
|
|
350
|
+
}>;
|
|
351
|
+
}>>;
|
|
352
|
+
readonly cohorts: ArrayType<StructType<{
|
|
353
|
+
readonly id: StringType;
|
|
354
|
+
readonly name: StringType;
|
|
355
|
+
readonly filters: ArrayType<import("@elaraai/east").VariantType<{
|
|
356
|
+
readonly string: StructType<{
|
|
357
|
+
readonly fieldId: StringType;
|
|
358
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
359
|
+
readonly eq: StringType;
|
|
360
|
+
readonly neq: StringType;
|
|
361
|
+
readonly in: import("@elaraai/east").SetType<StringType>;
|
|
362
|
+
readonly notIn: import("@elaraai/east").SetType<StringType>;
|
|
363
|
+
readonly contains: StringType;
|
|
364
|
+
readonly matches: StringType;
|
|
365
|
+
readonly startsWith: StringType;
|
|
366
|
+
readonly endsWith: StringType;
|
|
367
|
+
readonly isEmpty: NullType;
|
|
368
|
+
readonly isNotEmpty: NullType;
|
|
369
|
+
}>;
|
|
370
|
+
}>;
|
|
371
|
+
readonly integer: StructType<{
|
|
372
|
+
readonly fieldId: StringType;
|
|
373
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
374
|
+
readonly eq: import("@elaraai/east").IntegerType;
|
|
375
|
+
readonly neq: import("@elaraai/east").IntegerType;
|
|
376
|
+
readonly lt: import("@elaraai/east").IntegerType;
|
|
377
|
+
readonly lte: import("@elaraai/east").IntegerType;
|
|
378
|
+
readonly gt: import("@elaraai/east").IntegerType;
|
|
379
|
+
readonly gte: import("@elaraai/east").IntegerType;
|
|
380
|
+
readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
|
|
381
|
+
}>;
|
|
382
|
+
}>;
|
|
383
|
+
readonly float: StructType<{
|
|
384
|
+
readonly fieldId: StringType;
|
|
385
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
386
|
+
readonly lt: FloatType;
|
|
387
|
+
readonly lte: FloatType;
|
|
388
|
+
readonly gt: FloatType;
|
|
389
|
+
readonly gte: FloatType;
|
|
390
|
+
}>;
|
|
391
|
+
}>;
|
|
392
|
+
readonly datetime: StructType<{
|
|
393
|
+
readonly fieldId: StringType;
|
|
394
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
395
|
+
readonly before: import("@elaraai/east").DateTimeType;
|
|
396
|
+
readonly after: import("@elaraai/east").DateTimeType;
|
|
397
|
+
readonly between: StructType<{
|
|
398
|
+
readonly from: import("@elaraai/east").DateTimeType;
|
|
399
|
+
readonly to: import("@elaraai/east").DateTimeType;
|
|
400
|
+
}>;
|
|
401
|
+
}>;
|
|
402
|
+
}>;
|
|
403
|
+
readonly boolean: StructType<{
|
|
404
|
+
readonly fieldId: StringType;
|
|
405
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
406
|
+
readonly is: BooleanType;
|
|
407
|
+
}>;
|
|
408
|
+
}>;
|
|
409
|
+
}>>;
|
|
410
|
+
}>>;
|
|
411
|
+
readonly activeCohorts: import("@elaraai/east").SetType<StringType>;
|
|
412
|
+
readonly breakdown: OptionType<StructType<{
|
|
413
|
+
readonly fieldId: StringType;
|
|
414
|
+
readonly limit: OptionType<import("@elaraai/east").IntegerType>;
|
|
415
|
+
}>>;
|
|
416
|
+
readonly search: OptionType<StringType>;
|
|
417
|
+
readonly visible: OptionType<import("@elaraai/east").SetType<StringType>>;
|
|
418
|
+
readonly selectedIndex: OptionType<import("@elaraai/east").IntegerType>;
|
|
419
|
+
}>>;
|
|
420
|
+
readonly write: FunctionType<[StructType<{
|
|
421
|
+
readonly range: OptionType<import("@elaraai/east").VariantType<{
|
|
422
|
+
readonly datetime: StructType<{
|
|
423
|
+
readonly from: import("@elaraai/east").DateTimeType;
|
|
424
|
+
readonly to: import("@elaraai/east").DateTimeType;
|
|
425
|
+
}>;
|
|
426
|
+
readonly datetimePreset: import("@elaraai/east").VariantType<{
|
|
427
|
+
readonly today: NullType;
|
|
428
|
+
readonly last7d: NullType;
|
|
429
|
+
readonly last30d: NullType;
|
|
430
|
+
readonly last90d: NullType;
|
|
431
|
+
readonly ytd: NullType;
|
|
432
|
+
}>;
|
|
433
|
+
readonly integer: StructType<{
|
|
434
|
+
readonly from: import("@elaraai/east").IntegerType;
|
|
435
|
+
readonly to: import("@elaraai/east").IntegerType;
|
|
436
|
+
}>;
|
|
437
|
+
readonly float: StructType<{
|
|
438
|
+
readonly from: FloatType;
|
|
439
|
+
readonly to: FloatType;
|
|
440
|
+
}>;
|
|
441
|
+
}>>;
|
|
442
|
+
readonly compare: OptionType<import("@elaraai/east").VariantType<{
|
|
443
|
+
readonly previousPeriod: NullType;
|
|
444
|
+
readonly previousYear: NullType;
|
|
445
|
+
}>>;
|
|
446
|
+
readonly filters: ArrayType<import("@elaraai/east").VariantType<{
|
|
447
|
+
readonly string: StructType<{
|
|
448
|
+
readonly fieldId: StringType;
|
|
449
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
450
|
+
readonly eq: StringType;
|
|
451
|
+
readonly neq: StringType;
|
|
452
|
+
readonly in: import("@elaraai/east").SetType<StringType>;
|
|
453
|
+
readonly notIn: import("@elaraai/east").SetType<StringType>;
|
|
454
|
+
readonly contains: StringType;
|
|
455
|
+
readonly matches: StringType;
|
|
456
|
+
readonly startsWith: StringType;
|
|
457
|
+
readonly endsWith: StringType;
|
|
458
|
+
readonly isEmpty: NullType;
|
|
459
|
+
readonly isNotEmpty: NullType;
|
|
460
|
+
}>;
|
|
461
|
+
}>;
|
|
462
|
+
readonly integer: StructType<{
|
|
463
|
+
readonly fieldId: StringType;
|
|
464
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
465
|
+
readonly eq: import("@elaraai/east").IntegerType;
|
|
466
|
+
readonly neq: import("@elaraai/east").IntegerType;
|
|
467
|
+
readonly lt: import("@elaraai/east").IntegerType;
|
|
468
|
+
readonly lte: import("@elaraai/east").IntegerType;
|
|
469
|
+
readonly gt: import("@elaraai/east").IntegerType;
|
|
470
|
+
readonly gte: import("@elaraai/east").IntegerType;
|
|
471
|
+
readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
|
|
472
|
+
}>;
|
|
473
|
+
}>;
|
|
474
|
+
readonly float: StructType<{
|
|
475
|
+
readonly fieldId: StringType;
|
|
476
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
477
|
+
readonly lt: FloatType;
|
|
478
|
+
readonly lte: FloatType;
|
|
479
|
+
readonly gt: FloatType;
|
|
480
|
+
readonly gte: FloatType;
|
|
481
|
+
}>;
|
|
482
|
+
}>;
|
|
483
|
+
readonly datetime: StructType<{
|
|
484
|
+
readonly fieldId: StringType;
|
|
485
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
486
|
+
readonly before: import("@elaraai/east").DateTimeType;
|
|
487
|
+
readonly after: import("@elaraai/east").DateTimeType;
|
|
488
|
+
readonly between: StructType<{
|
|
489
|
+
readonly from: import("@elaraai/east").DateTimeType;
|
|
490
|
+
readonly to: import("@elaraai/east").DateTimeType;
|
|
491
|
+
}>;
|
|
492
|
+
}>;
|
|
493
|
+
}>;
|
|
494
|
+
readonly boolean: StructType<{
|
|
495
|
+
readonly fieldId: StringType;
|
|
496
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
497
|
+
readonly is: BooleanType;
|
|
498
|
+
}>;
|
|
499
|
+
}>;
|
|
500
|
+
}>>;
|
|
501
|
+
readonly cohorts: ArrayType<StructType<{
|
|
502
|
+
readonly id: StringType;
|
|
503
|
+
readonly name: StringType;
|
|
504
|
+
readonly filters: ArrayType<import("@elaraai/east").VariantType<{
|
|
505
|
+
readonly string: StructType<{
|
|
506
|
+
readonly fieldId: StringType;
|
|
507
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
508
|
+
readonly eq: StringType;
|
|
509
|
+
readonly neq: StringType;
|
|
510
|
+
readonly in: import("@elaraai/east").SetType<StringType>;
|
|
511
|
+
readonly notIn: import("@elaraai/east").SetType<StringType>;
|
|
512
|
+
readonly contains: StringType;
|
|
513
|
+
readonly matches: StringType;
|
|
514
|
+
readonly startsWith: StringType;
|
|
515
|
+
readonly endsWith: StringType;
|
|
516
|
+
readonly isEmpty: NullType;
|
|
517
|
+
readonly isNotEmpty: NullType;
|
|
518
|
+
}>;
|
|
519
|
+
}>;
|
|
520
|
+
readonly integer: StructType<{
|
|
521
|
+
readonly fieldId: StringType;
|
|
522
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
523
|
+
readonly eq: import("@elaraai/east").IntegerType;
|
|
524
|
+
readonly neq: import("@elaraai/east").IntegerType;
|
|
525
|
+
readonly lt: import("@elaraai/east").IntegerType;
|
|
526
|
+
readonly lte: import("@elaraai/east").IntegerType;
|
|
527
|
+
readonly gt: import("@elaraai/east").IntegerType;
|
|
528
|
+
readonly gte: import("@elaraai/east").IntegerType;
|
|
529
|
+
readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
|
|
530
|
+
}>;
|
|
531
|
+
}>;
|
|
532
|
+
readonly float: StructType<{
|
|
533
|
+
readonly fieldId: StringType;
|
|
534
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
535
|
+
readonly lt: FloatType;
|
|
536
|
+
readonly lte: FloatType;
|
|
537
|
+
readonly gt: FloatType;
|
|
538
|
+
readonly gte: FloatType;
|
|
539
|
+
}>;
|
|
540
|
+
}>;
|
|
541
|
+
readonly datetime: StructType<{
|
|
542
|
+
readonly fieldId: StringType;
|
|
543
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
544
|
+
readonly before: import("@elaraai/east").DateTimeType;
|
|
545
|
+
readonly after: import("@elaraai/east").DateTimeType;
|
|
546
|
+
readonly between: StructType<{
|
|
547
|
+
readonly from: import("@elaraai/east").DateTimeType;
|
|
548
|
+
readonly to: import("@elaraai/east").DateTimeType;
|
|
549
|
+
}>;
|
|
550
|
+
}>;
|
|
551
|
+
}>;
|
|
552
|
+
readonly boolean: StructType<{
|
|
553
|
+
readonly fieldId: StringType;
|
|
554
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
555
|
+
readonly is: BooleanType;
|
|
556
|
+
}>;
|
|
557
|
+
}>;
|
|
558
|
+
}>>;
|
|
559
|
+
}>>;
|
|
560
|
+
readonly activeCohorts: import("@elaraai/east").SetType<StringType>;
|
|
561
|
+
readonly breakdown: OptionType<StructType<{
|
|
562
|
+
readonly fieldId: StringType;
|
|
563
|
+
readonly limit: OptionType<import("@elaraai/east").IntegerType>;
|
|
564
|
+
}>>;
|
|
565
|
+
readonly search: OptionType<StringType>;
|
|
566
|
+
readonly visible: OptionType<import("@elaraai/east").SetType<StringType>>;
|
|
567
|
+
readonly selectedIndex: OptionType<import("@elaraai/east").IntegerType>;
|
|
568
|
+
}>], NullType>;
|
|
569
|
+
readonly setRange: FunctionType<[OptionType<import("@elaraai/east").VariantType<{
|
|
570
|
+
readonly datetime: StructType<{
|
|
571
|
+
readonly from: import("@elaraai/east").DateTimeType;
|
|
572
|
+
readonly to: import("@elaraai/east").DateTimeType;
|
|
573
|
+
}>;
|
|
574
|
+
readonly datetimePreset: import("@elaraai/east").VariantType<{
|
|
575
|
+
readonly today: NullType;
|
|
576
|
+
readonly last7d: NullType;
|
|
577
|
+
readonly last30d: NullType;
|
|
578
|
+
readonly last90d: NullType;
|
|
579
|
+
readonly ytd: NullType;
|
|
580
|
+
}>;
|
|
581
|
+
readonly integer: StructType<{
|
|
582
|
+
readonly from: import("@elaraai/east").IntegerType;
|
|
583
|
+
readonly to: import("@elaraai/east").IntegerType;
|
|
584
|
+
}>;
|
|
585
|
+
readonly float: StructType<{
|
|
586
|
+
readonly from: FloatType;
|
|
587
|
+
readonly to: FloatType;
|
|
588
|
+
}>;
|
|
589
|
+
}>>], NullType>;
|
|
590
|
+
readonly setCompare: FunctionType<[OptionType<import("@elaraai/east").VariantType<{
|
|
591
|
+
readonly previousPeriod: NullType;
|
|
592
|
+
readonly previousYear: NullType;
|
|
593
|
+
}>>], NullType>;
|
|
594
|
+
readonly addFilter: FunctionType<[import("@elaraai/east").VariantType<{
|
|
595
|
+
readonly string: StructType<{
|
|
596
|
+
readonly fieldId: StringType;
|
|
597
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
598
|
+
readonly eq: StringType;
|
|
599
|
+
readonly neq: StringType;
|
|
600
|
+
readonly in: import("@elaraai/east").SetType<StringType>;
|
|
601
|
+
readonly notIn: import("@elaraai/east").SetType<StringType>;
|
|
602
|
+
readonly contains: StringType;
|
|
603
|
+
readonly matches: StringType;
|
|
604
|
+
readonly startsWith: StringType;
|
|
605
|
+
readonly endsWith: StringType;
|
|
606
|
+
readonly isEmpty: NullType;
|
|
607
|
+
readonly isNotEmpty: NullType;
|
|
608
|
+
}>;
|
|
609
|
+
}>;
|
|
610
|
+
readonly integer: StructType<{
|
|
611
|
+
readonly fieldId: StringType;
|
|
612
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
613
|
+
readonly eq: import("@elaraai/east").IntegerType;
|
|
614
|
+
readonly neq: import("@elaraai/east").IntegerType;
|
|
615
|
+
readonly lt: import("@elaraai/east").IntegerType;
|
|
616
|
+
readonly lte: import("@elaraai/east").IntegerType;
|
|
617
|
+
readonly gt: import("@elaraai/east").IntegerType;
|
|
618
|
+
readonly gte: import("@elaraai/east").IntegerType;
|
|
619
|
+
readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
|
|
620
|
+
}>;
|
|
621
|
+
}>;
|
|
622
|
+
readonly float: StructType<{
|
|
623
|
+
readonly fieldId: StringType;
|
|
624
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
625
|
+
readonly lt: FloatType;
|
|
626
|
+
readonly lte: FloatType;
|
|
627
|
+
readonly gt: FloatType;
|
|
628
|
+
readonly gte: FloatType;
|
|
629
|
+
}>;
|
|
630
|
+
}>;
|
|
631
|
+
readonly datetime: StructType<{
|
|
632
|
+
readonly fieldId: StringType;
|
|
633
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
634
|
+
readonly before: import("@elaraai/east").DateTimeType;
|
|
635
|
+
readonly after: import("@elaraai/east").DateTimeType;
|
|
636
|
+
readonly between: StructType<{
|
|
637
|
+
readonly from: import("@elaraai/east").DateTimeType;
|
|
638
|
+
readonly to: import("@elaraai/east").DateTimeType;
|
|
639
|
+
}>;
|
|
640
|
+
}>;
|
|
641
|
+
}>;
|
|
642
|
+
readonly boolean: StructType<{
|
|
643
|
+
readonly fieldId: StringType;
|
|
644
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
645
|
+
readonly is: BooleanType;
|
|
646
|
+
}>;
|
|
647
|
+
}>;
|
|
648
|
+
}>], NullType>;
|
|
649
|
+
readonly removeFilter: FunctionType<[import("@elaraai/east").IntegerType], NullType>;
|
|
650
|
+
readonly clearFilters: FunctionType<[], NullType>;
|
|
651
|
+
readonly defineCohort: FunctionType<[StructType<{
|
|
652
|
+
readonly id: StringType;
|
|
653
|
+
readonly name: StringType;
|
|
654
|
+
readonly filters: ArrayType<import("@elaraai/east").VariantType<{
|
|
655
|
+
readonly string: StructType<{
|
|
656
|
+
readonly fieldId: StringType;
|
|
657
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
658
|
+
readonly eq: StringType;
|
|
659
|
+
readonly neq: StringType;
|
|
660
|
+
readonly in: import("@elaraai/east").SetType<StringType>;
|
|
661
|
+
readonly notIn: import("@elaraai/east").SetType<StringType>;
|
|
662
|
+
readonly contains: StringType;
|
|
663
|
+
readonly matches: StringType;
|
|
664
|
+
readonly startsWith: StringType;
|
|
665
|
+
readonly endsWith: StringType;
|
|
666
|
+
readonly isEmpty: NullType;
|
|
667
|
+
readonly isNotEmpty: NullType;
|
|
668
|
+
}>;
|
|
669
|
+
}>;
|
|
670
|
+
readonly integer: StructType<{
|
|
671
|
+
readonly fieldId: StringType;
|
|
672
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
673
|
+
readonly eq: import("@elaraai/east").IntegerType;
|
|
674
|
+
readonly neq: import("@elaraai/east").IntegerType;
|
|
675
|
+
readonly lt: import("@elaraai/east").IntegerType;
|
|
676
|
+
readonly lte: import("@elaraai/east").IntegerType;
|
|
677
|
+
readonly gt: import("@elaraai/east").IntegerType;
|
|
678
|
+
readonly gte: import("@elaraai/east").IntegerType;
|
|
679
|
+
readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
|
|
680
|
+
}>;
|
|
681
|
+
}>;
|
|
682
|
+
readonly float: StructType<{
|
|
683
|
+
readonly fieldId: StringType;
|
|
684
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
685
|
+
readonly lt: FloatType;
|
|
686
|
+
readonly lte: FloatType;
|
|
687
|
+
readonly gt: FloatType;
|
|
688
|
+
readonly gte: FloatType;
|
|
689
|
+
}>;
|
|
690
|
+
}>;
|
|
691
|
+
readonly datetime: StructType<{
|
|
692
|
+
readonly fieldId: StringType;
|
|
693
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
694
|
+
readonly before: import("@elaraai/east").DateTimeType;
|
|
695
|
+
readonly after: import("@elaraai/east").DateTimeType;
|
|
696
|
+
readonly between: StructType<{
|
|
697
|
+
readonly from: import("@elaraai/east").DateTimeType;
|
|
698
|
+
readonly to: import("@elaraai/east").DateTimeType;
|
|
699
|
+
}>;
|
|
700
|
+
}>;
|
|
701
|
+
}>;
|
|
702
|
+
readonly boolean: StructType<{
|
|
703
|
+
readonly fieldId: StringType;
|
|
704
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
705
|
+
readonly is: BooleanType;
|
|
706
|
+
}>;
|
|
707
|
+
}>;
|
|
708
|
+
}>>;
|
|
709
|
+
}>], NullType>;
|
|
710
|
+
readonly updateCohort: FunctionType<[StringType, StructType<{
|
|
711
|
+
readonly id: StringType;
|
|
712
|
+
readonly name: StringType;
|
|
713
|
+
readonly filters: ArrayType<import("@elaraai/east").VariantType<{
|
|
714
|
+
readonly string: StructType<{
|
|
715
|
+
readonly fieldId: StringType;
|
|
716
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
717
|
+
readonly eq: StringType;
|
|
718
|
+
readonly neq: StringType;
|
|
719
|
+
readonly in: import("@elaraai/east").SetType<StringType>;
|
|
720
|
+
readonly notIn: import("@elaraai/east").SetType<StringType>;
|
|
721
|
+
readonly contains: StringType;
|
|
722
|
+
readonly matches: StringType;
|
|
723
|
+
readonly startsWith: StringType;
|
|
724
|
+
readonly endsWith: StringType;
|
|
725
|
+
readonly isEmpty: NullType;
|
|
726
|
+
readonly isNotEmpty: NullType;
|
|
727
|
+
}>;
|
|
728
|
+
}>;
|
|
729
|
+
readonly integer: StructType<{
|
|
730
|
+
readonly fieldId: StringType;
|
|
731
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
732
|
+
readonly eq: import("@elaraai/east").IntegerType;
|
|
733
|
+
readonly neq: import("@elaraai/east").IntegerType;
|
|
734
|
+
readonly lt: import("@elaraai/east").IntegerType;
|
|
735
|
+
readonly lte: import("@elaraai/east").IntegerType;
|
|
736
|
+
readonly gt: import("@elaraai/east").IntegerType;
|
|
737
|
+
readonly gte: import("@elaraai/east").IntegerType;
|
|
738
|
+
readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
|
|
739
|
+
}>;
|
|
740
|
+
}>;
|
|
741
|
+
readonly float: StructType<{
|
|
742
|
+
readonly fieldId: StringType;
|
|
743
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
744
|
+
readonly lt: FloatType;
|
|
745
|
+
readonly lte: FloatType;
|
|
746
|
+
readonly gt: FloatType;
|
|
747
|
+
readonly gte: FloatType;
|
|
748
|
+
}>;
|
|
749
|
+
}>;
|
|
750
|
+
readonly datetime: StructType<{
|
|
751
|
+
readonly fieldId: StringType;
|
|
752
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
753
|
+
readonly before: import("@elaraai/east").DateTimeType;
|
|
754
|
+
readonly after: import("@elaraai/east").DateTimeType;
|
|
755
|
+
readonly between: StructType<{
|
|
756
|
+
readonly from: import("@elaraai/east").DateTimeType;
|
|
757
|
+
readonly to: import("@elaraai/east").DateTimeType;
|
|
758
|
+
}>;
|
|
759
|
+
}>;
|
|
760
|
+
}>;
|
|
761
|
+
readonly boolean: StructType<{
|
|
762
|
+
readonly fieldId: StringType;
|
|
763
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
764
|
+
readonly is: BooleanType;
|
|
765
|
+
}>;
|
|
766
|
+
}>;
|
|
767
|
+
}>>;
|
|
768
|
+
}>], NullType>;
|
|
769
|
+
readonly removeCohort: FunctionType<[StringType], NullType>;
|
|
770
|
+
readonly toggleCohort: FunctionType<[StringType], NullType>;
|
|
771
|
+
readonly setBreakdown: FunctionType<[OptionType<StructType<{
|
|
772
|
+
readonly fieldId: StringType;
|
|
773
|
+
readonly limit: OptionType<import("@elaraai/east").IntegerType>;
|
|
774
|
+
}>>], NullType>;
|
|
775
|
+
readonly setSearch: FunctionType<[OptionType<StringType>], NullType>;
|
|
776
|
+
readonly setVisible: FunctionType<[OptionType<import("@elaraai/east").SetType<StringType>>], NullType>;
|
|
777
|
+
readonly select: FunctionType<[OptionType<import("@elaraai/east").IntegerType>], NullType>;
|
|
778
|
+
readonly isActive: FunctionType<[], BooleanType>;
|
|
779
|
+
readonly activeCount: FunctionType<[], import("@elaraai/east").IntegerType>;
|
|
780
|
+
readonly dimensions: FunctionType<[], ArrayType<StructType<{
|
|
781
|
+
readonly fieldId: StringType;
|
|
782
|
+
readonly label: StringType;
|
|
783
|
+
}>>>;
|
|
784
|
+
readonly fields: FunctionType<[], ArrayType<StructType<{
|
|
785
|
+
readonly fieldId: StringType;
|
|
786
|
+
readonly label: StringType;
|
|
787
|
+
readonly kind: StringType;
|
|
788
|
+
readonly hints: ArrayType<StringType>;
|
|
789
|
+
readonly format: OptionType<import("@elaraai/east").VariantType<{
|
|
790
|
+
readonly number: NullType;
|
|
791
|
+
readonly currency: StructType<{
|
|
792
|
+
readonly code: StringType;
|
|
793
|
+
readonly compact: BooleanType;
|
|
794
|
+
}>;
|
|
795
|
+
readonly percent: NullType;
|
|
796
|
+
readonly compact: NullType;
|
|
797
|
+
readonly date: StringType;
|
|
798
|
+
readonly time: StringType;
|
|
799
|
+
readonly datetime: StringType;
|
|
800
|
+
}>>;
|
|
801
|
+
}>>>;
|
|
802
|
+
readonly searchFieldIds: FunctionType<[], ArrayType<StringType>>;
|
|
803
|
+
readonly rangeFieldId: FunctionType<[], OptionType<StringType>>;
|
|
804
|
+
readonly totalCount: FunctionType<[], import("@elaraai/east").IntegerType>;
|
|
805
|
+
readonly resultCount: FunctionType<[], import("@elaraai/east").IntegerType>;
|
|
806
|
+
readonly groups: FunctionType<[], ArrayType<StructType<{
|
|
807
|
+
readonly key: StringType;
|
|
808
|
+
readonly count: import("@elaraai/east").IntegerType;
|
|
809
|
+
readonly color: StringType;
|
|
810
|
+
}>>>;
|
|
811
|
+
readonly series: FunctionType<[StringType, StringType], ArrayType<StructType<{
|
|
812
|
+
readonly key: StringType;
|
|
813
|
+
readonly color: StringType;
|
|
814
|
+
readonly points: ArrayType<StructType<{
|
|
815
|
+
readonly x: import("@elaraai/east").VariantType<{
|
|
816
|
+
readonly category: StringType;
|
|
817
|
+
readonly number: FloatType;
|
|
818
|
+
readonly time: import("@elaraai/east").DateTimeType;
|
|
819
|
+
}>;
|
|
820
|
+
readonly value: FloatType;
|
|
821
|
+
readonly size: OptionType<FloatType>;
|
|
822
|
+
readonly color: OptionType<StringType>;
|
|
823
|
+
}>>;
|
|
824
|
+
}>>>;
|
|
825
|
+
readonly matches: FunctionType<[], ArrayType<StructType<{
|
|
826
|
+
readonly id: StringType;
|
|
827
|
+
readonly label: StringType;
|
|
828
|
+
readonly meta: OptionType<StringType>;
|
|
829
|
+
}>>>;
|
|
830
|
+
readonly cohortCounts: FunctionType<[], DictType<StringType, import("@elaraai/east").IntegerType>>;
|
|
831
|
+
readonly toggleFilter: FunctionType<[import("@elaraai/east").VariantType<{
|
|
832
|
+
readonly string: StructType<{
|
|
833
|
+
readonly fieldId: StringType;
|
|
834
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
835
|
+
readonly eq: StringType;
|
|
836
|
+
readonly neq: StringType;
|
|
837
|
+
readonly in: import("@elaraai/east").SetType<StringType>;
|
|
838
|
+
readonly notIn: import("@elaraai/east").SetType<StringType>;
|
|
839
|
+
readonly contains: StringType;
|
|
840
|
+
readonly matches: StringType;
|
|
841
|
+
readonly startsWith: StringType;
|
|
842
|
+
readonly endsWith: StringType;
|
|
843
|
+
readonly isEmpty: NullType;
|
|
844
|
+
readonly isNotEmpty: NullType;
|
|
845
|
+
}>;
|
|
846
|
+
}>;
|
|
847
|
+
readonly integer: StructType<{
|
|
848
|
+
readonly fieldId: StringType;
|
|
849
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
850
|
+
readonly eq: import("@elaraai/east").IntegerType;
|
|
851
|
+
readonly neq: import("@elaraai/east").IntegerType;
|
|
852
|
+
readonly lt: import("@elaraai/east").IntegerType;
|
|
853
|
+
readonly lte: import("@elaraai/east").IntegerType;
|
|
854
|
+
readonly gt: import("@elaraai/east").IntegerType;
|
|
855
|
+
readonly gte: import("@elaraai/east").IntegerType;
|
|
856
|
+
readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
|
|
857
|
+
}>;
|
|
858
|
+
}>;
|
|
859
|
+
readonly float: StructType<{
|
|
860
|
+
readonly fieldId: StringType;
|
|
861
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
862
|
+
readonly lt: FloatType;
|
|
863
|
+
readonly lte: FloatType;
|
|
864
|
+
readonly gt: FloatType;
|
|
865
|
+
readonly gte: FloatType;
|
|
866
|
+
}>;
|
|
867
|
+
}>;
|
|
868
|
+
readonly datetime: StructType<{
|
|
869
|
+
readonly fieldId: StringType;
|
|
870
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
871
|
+
readonly before: import("@elaraai/east").DateTimeType;
|
|
872
|
+
readonly after: import("@elaraai/east").DateTimeType;
|
|
873
|
+
readonly between: StructType<{
|
|
874
|
+
readonly from: import("@elaraai/east").DateTimeType;
|
|
875
|
+
readonly to: import("@elaraai/east").DateTimeType;
|
|
876
|
+
}>;
|
|
877
|
+
}>;
|
|
878
|
+
}>;
|
|
879
|
+
readonly boolean: StructType<{
|
|
880
|
+
readonly fieldId: StringType;
|
|
881
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
882
|
+
readonly is: BooleanType;
|
|
883
|
+
}>;
|
|
884
|
+
}>;
|
|
885
|
+
}>], NullType>;
|
|
886
|
+
readonly facetGroups: FunctionType<[], ArrayType<StructType<{
|
|
887
|
+
readonly key: StringType;
|
|
888
|
+
readonly count: import("@elaraai/east").IntegerType;
|
|
889
|
+
readonly color: StringType;
|
|
890
|
+
}>>>;
|
|
891
|
+
}>;
|
|
892
|
+
readonly affordances: ArrayType<import("@elaraai/east").VariantType<{
|
|
893
|
+
readonly filter: NullType;
|
|
894
|
+
readonly search: NullType;
|
|
895
|
+
readonly breakdown: NullType;
|
|
896
|
+
readonly range: NullType;
|
|
897
|
+
readonly cohort: NullType;
|
|
898
|
+
readonly brush: NullType;
|
|
899
|
+
readonly presets: NullType;
|
|
900
|
+
readonly legend: NullType;
|
|
901
|
+
}>>;
|
|
902
|
+
}>>;
|
|
903
|
+
readonly style: OptionType<StructType<{
|
|
904
|
+
readonly height: OptionType<StringType>;
|
|
905
|
+
readonly maxHeight: OptionType<StringType>;
|
|
906
|
+
readonly minCardWidth: OptionType<StringType>;
|
|
907
|
+
}>>;
|
|
908
|
+
}>;
|
|
909
|
+
/**
|
|
910
|
+
* Type representing the full Deck payload.
|
|
911
|
+
*/
|
|
912
|
+
export type DeckRootType = typeof DeckRootType;
|
|
913
|
+
/**
|
|
914
|
+
* The structured card-face fields accepted by the `card` accessor.
|
|
915
|
+
*
|
|
916
|
+
* @property key - Card identity (reported by `onCardClick` / `onOpen`)
|
|
917
|
+
* @property title - Primary identity line
|
|
918
|
+
* @property sublabel - Optional muted mono-uppercase second line
|
|
919
|
+
* @property icon - Optional Font Awesome solid icon name
|
|
920
|
+
* @property status - Optional status KEY into the deck's `statuses`
|
|
921
|
+
* registry — drives the solid status tag (+ dot / pulse), the faint
|
|
922
|
+
* face wash and the fill-bar colour
|
|
923
|
+
* @property metrics - Optional metric strip (`Deck.metric(...)`)
|
|
924
|
+
* @property fill - Optional status-coloured fill bar
|
|
925
|
+
* @property facts - Optional labelled facts (`Deck.meter` / `Deck.chips` / `Deck.text`)
|
|
926
|
+
* @property filtered - Render de-emphasised (the `Slice.partition` "keep the excluded" feed)
|
|
927
|
+
*/
|
|
928
|
+
export interface DeckCardFields {
|
|
929
|
+
/** Card identity (reported by `onCardClick` / `onOpen`) */
|
|
930
|
+
key: SubtypeExprOrValue<StringType>;
|
|
931
|
+
/** Primary identity line */
|
|
932
|
+
title: SubtypeExprOrValue<StringType>;
|
|
933
|
+
/** Optional muted mono-uppercase second line */
|
|
934
|
+
sublabel?: SubtypeExprOrValue<StringType>;
|
|
935
|
+
/** Optional Font Awesome solid icon name */
|
|
936
|
+
icon?: SubtypeExprOrValue<StringType> | IconName;
|
|
937
|
+
/** Optional status key into the deck's `statuses` registry */
|
|
938
|
+
status?: SubtypeExprOrValue<StringType>;
|
|
939
|
+
/** Optional metric strip (`Deck.metric(...)`) */
|
|
940
|
+
metrics?: Array<ExprType<DeckMetricType>>;
|
|
941
|
+
/** Optional status-coloured fill bar */
|
|
942
|
+
fill?: DeckFillFields;
|
|
943
|
+
/** Optional labelled facts */
|
|
944
|
+
facts?: Array<ExprType<typeof DeckFactType>>;
|
|
945
|
+
/** Render de-emphasised (dimmed) */
|
|
946
|
+
filtered?: SubtypeExprOrValue<BooleanType>;
|
|
947
|
+
}
|
|
948
|
+
/**
|
|
949
|
+
* The card fill-bar fields.
|
|
950
|
+
*
|
|
951
|
+
* @property value - Current value
|
|
952
|
+
* @property max - Full-bar value
|
|
953
|
+
* @property format - Reading format: a shared {@link ValueFormatType}
|
|
954
|
+
* spec over `value`, or an accessor over `(value, max)`; omitted, the
|
|
955
|
+
* renderer shows the percentage
|
|
956
|
+
*/
|
|
957
|
+
export interface DeckFillFields {
|
|
958
|
+
/** Current value */
|
|
959
|
+
value: SubtypeExprOrValue<FloatType>;
|
|
960
|
+
/** Full-bar value */
|
|
961
|
+
max: SubtypeExprOrValue<FloatType>;
|
|
962
|
+
/** Reading format (spec over `value`, or accessor over `(value, max)`) */
|
|
963
|
+
format?: ExprType<ValueFormatType> | ((value: ExprType<FloatType>, max: ExprType<FloatType>) => SubtypeExprOrValue<StringType>);
|
|
964
|
+
}
|
|
965
|
+
/**
|
|
966
|
+
* One entry of the `Deck.statuses` config.
|
|
967
|
+
*
|
|
968
|
+
* @property label - The tag / legend label
|
|
969
|
+
* @property color - A standard status tone literal, or any custom CSS
|
|
970
|
+
* colour (the faint face tint is derived from it)
|
|
971
|
+
* @property pulse - Pulse the tag dot (active states)
|
|
972
|
+
* @property hint - Optional legend / group-head description
|
|
973
|
+
*/
|
|
974
|
+
export interface DeckStatusOption {
|
|
975
|
+
/** The tag / legend label */
|
|
976
|
+
label: string;
|
|
977
|
+
/** Standard status tone literal, or a custom CSS colour */
|
|
978
|
+
color: StatusTokenLiteral | (string & {});
|
|
979
|
+
/** Pulse the tag dot (active states) */
|
|
980
|
+
pulse?: boolean;
|
|
981
|
+
/** Optional legend / group-head description */
|
|
982
|
+
hint?: string;
|
|
983
|
+
}
|
|
984
|
+
/**
|
|
985
|
+
* Builds the deck's status registry — the single definition per state
|
|
986
|
+
* that drives the card's solid status tag (+ dot / pulse), the faint
|
|
987
|
+
* face wash, the fill-bar colour, group-head swatches, the legend and
|
|
988
|
+
* the popover head wash. Card faces reference entries by key via their
|
|
989
|
+
* `status` field.
|
|
990
|
+
*
|
|
991
|
+
* @param statuses - Status key → definition
|
|
992
|
+
* @returns The registry value for the `statuses` config option
|
|
993
|
+
*/
|
|
994
|
+
declare function createStatuses(statuses: Record<string, DeckStatusOption>): ValueTypeOf<DeckStatusesType>;
|
|
995
|
+
/** Format option: a shared {@link ValueFormatType} spec, or a text
|
|
996
|
+
* accessor over the raw value (reified at authoring time). */
|
|
997
|
+
type DeckFormatOption = ExprType<ValueFormatType> | ((value: ExprType<FloatType>) => SubtypeExprOrValue<StringType>);
|
|
998
|
+
/**
|
|
999
|
+
* Builds one card metric — a label-over-value pair in the mono tabular
|
|
1000
|
+
* voice. The value stays RAW in the payload; display formatting uses
|
|
1001
|
+
* the shared {@link ValueFormatType} vocabulary (`Chart.format.*`) or a
|
|
1002
|
+
* text accessor. Option-valued metrics render "—" when `none`.
|
|
1003
|
+
*
|
|
1004
|
+
* @param label - Metric caption (mono uppercase)
|
|
1005
|
+
* @param value - The raw value (Float, or an Option of Float)
|
|
1006
|
+
* @param options - `format` (spec or accessor) + `warn` flag
|
|
1007
|
+
* @returns A {@link DeckMetricType} expression
|
|
1008
|
+
*/
|
|
1009
|
+
declare function createMetric(label: SubtypeExprOrValue<StringType>, value: SubtypeExprOrValue<FloatType> | Expr, options?: {
|
|
1010
|
+
/** Display format: a `Chart.format.*` spec or a text accessor */
|
|
1011
|
+
format?: DeckFormatOption;
|
|
1012
|
+
/** Render the value in the danger tone */
|
|
1013
|
+
warn?: SubtypeExprOrValue<BooleanType>;
|
|
1014
|
+
}): ExprType<DeckMetricType>;
|
|
1015
|
+
/**
|
|
1016
|
+
* One cell of a `Deck.Readout` rail.
|
|
1017
|
+
*
|
|
1018
|
+
* @property label - Cell caption (mono uppercase)
|
|
1019
|
+
* @property value - The raw value (Float, or an Option of Float)
|
|
1020
|
+
* @property format - Display format (spec or accessor)
|
|
1021
|
+
* @property unit - Optional small muted unit suffix
|
|
1022
|
+
* @property warn - Render the value in the danger tone
|
|
1023
|
+
*/
|
|
1024
|
+
export interface DeckReadoutCell {
|
|
1025
|
+
/** Cell caption (mono uppercase) */
|
|
1026
|
+
label: SubtypeExprOrValue<StringType>;
|
|
1027
|
+
/** The raw value (Float, or an Option of Float) */
|
|
1028
|
+
value: SubtypeExprOrValue<FloatType> | Expr;
|
|
1029
|
+
/** Display format (spec or accessor) */
|
|
1030
|
+
format?: DeckFormatOption;
|
|
1031
|
+
/** Optional small muted unit suffix */
|
|
1032
|
+
unit?: SubtypeExprOrValue<StringType>;
|
|
1033
|
+
/** Render the value in the danger tone */
|
|
1034
|
+
warn?: SubtypeExprOrValue<BooleanType>;
|
|
1035
|
+
}
|
|
1036
|
+
/**
|
|
1037
|
+
* Creates a readout rail — a bordered grid of big mono values with
|
|
1038
|
+
* units, the popover body's headline numbers.
|
|
1039
|
+
*
|
|
1040
|
+
* @param cells - The readout cells ({@link DeckReadoutCell})
|
|
1041
|
+
* @returns An East expression of `UIComponentType`
|
|
1042
|
+
*/
|
|
1043
|
+
declare function createReadout(cells: DeckReadoutCell[]): ExprType<UIComponentType>;
|
|
1044
|
+
/**
|
|
1045
|
+
* Creates key–value detail rows — the popover body's labelled facts
|
|
1046
|
+
* (mono uppercase key column, body-voice values).
|
|
1047
|
+
*
|
|
1048
|
+
* @param rows - The rows (`label` + `value`)
|
|
1049
|
+
* @returns An East expression of `UIComponentType`
|
|
1050
|
+
*/
|
|
1051
|
+
declare function createRows(rows: Array<{
|
|
1052
|
+
label: SubtypeExprOrValue<StringType>;
|
|
1053
|
+
value: SubtypeExprOrValue<StringType>;
|
|
1054
|
+
}>): ExprType<UIComponentType>;
|
|
1055
|
+
/**
|
|
1056
|
+
* Creates a dashed-top mono footnote — the popover body's trailing note.
|
|
1057
|
+
*
|
|
1058
|
+
* @param text - The note text
|
|
1059
|
+
* @returns An East expression of `UIComponentType`
|
|
1060
|
+
*/
|
|
1061
|
+
declare function createNote(text: SubtypeExprOrValue<StringType>): ExprType<UIComponentType>;
|
|
1062
|
+
/**
|
|
1063
|
+
* A named GROUP BY toolbar option.
|
|
1064
|
+
*
|
|
1065
|
+
* @property key - Option identity (persisted as the active grouping)
|
|
1066
|
+
* @property label - Toolbar label
|
|
1067
|
+
* @property value - Accessor from a row to its group value
|
|
1068
|
+
* @property summary - Optional accessor from a group's rows to the
|
|
1069
|
+
* right-aligned group-head summary text
|
|
1070
|
+
*/
|
|
1071
|
+
export interface DeckGroupOption<R extends StructType> {
|
|
1072
|
+
/** Option identity (persisted as the active grouping) */
|
|
1073
|
+
key: string;
|
|
1074
|
+
/** Toolbar label */
|
|
1075
|
+
label: string;
|
|
1076
|
+
/** Accessor from a row to its group value */
|
|
1077
|
+
value: (row: ExprType<R>) => SubtypeExprOrValue<StringType>;
|
|
1078
|
+
/** Optional accessor from a group's rows to the group-head summary */
|
|
1079
|
+
summary?: (rows: ExprType<ArrayType<R>>) => SubtypeExprOrValue<StringType>;
|
|
1080
|
+
}
|
|
1081
|
+
/**
|
|
1082
|
+
* Configuration for {@link Deck.Root}.
|
|
1083
|
+
*
|
|
1084
|
+
* @property card - Accessor from a row to the structured card face (the
|
|
1085
|
+
* LIST state — the summary)
|
|
1086
|
+
* @property render - Optional accessor from a row to a fully custom card
|
|
1087
|
+
* body (any UI component), rendered inside the card frame beneath the
|
|
1088
|
+
* structured face fields
|
|
1089
|
+
* @property onClick - Optional accessor from a row to the click
|
|
1090
|
+
* popover's BODY (any UI component); the popover head is inherited
|
|
1091
|
+
* from the card face. Opens sticky on tap (Esc / outside / × closes)
|
|
1092
|
+
* @property onHover - Optional accessor from a row to the hover peek's
|
|
1093
|
+
* BODY (same inherited-head popover) — hover-capable pointers only
|
|
1094
|
+
* @property groupBy - Named GROUP BY toolbar options (empty = no toolbar)
|
|
1095
|
+
* @property layout - `"grid"` (default — wrapping card rows) or `"list"`
|
|
1096
|
+
* @property onCardClick - Optional tap callback with the card `key`
|
|
1097
|
+
* @property onOpen - Optional callback when the click popover opens (card `key`)
|
|
1098
|
+
* @property onClose - Optional callback when it closes
|
|
1099
|
+
* @property slice - Optional bound slice handle (rail chrome renders
|
|
1100
|
+
* above) — filtering and search flow through the slice, like Table
|
|
1101
|
+
* @property affordances - Rail affordances when `slice` is set (default
|
|
1102
|
+
* `["filter", "search"]`)
|
|
1103
|
+
* @property style - Layout style (height / maxHeight / minCardWidth)
|
|
1104
|
+
*/
|
|
1105
|
+
export interface DeckConfig<R extends StructType> {
|
|
1106
|
+
/** Accessor from a row to the structured card face (the LIST state) */
|
|
1107
|
+
card: (row: ExprType<R>) => DeckCardFields | ExprType<DeckCardFaceType>;
|
|
1108
|
+
/** Status registry (`Deck.statuses(...)`) — card `status` keys resolve here */
|
|
1109
|
+
statuses?: ValueTypeOf<DeckStatusesType>;
|
|
1110
|
+
/** Optional accessor from a row to a fully custom card body */
|
|
1111
|
+
render?: (row: ExprType<R>) => ExprType<UIComponentType>;
|
|
1112
|
+
/** Optional accessor from a row to the click popover's body */
|
|
1113
|
+
onClick?: (row: ExprType<R>) => ExprType<UIComponentType>;
|
|
1114
|
+
/** Optional accessor from a row to the hover peek's body */
|
|
1115
|
+
onHover?: (row: ExprType<R>) => ExprType<UIComponentType>;
|
|
1116
|
+
/** Optional board-foot key/value stats */
|
|
1117
|
+
footer?: Array<{
|
|
1118
|
+
label: string;
|
|
1119
|
+
value: SubtypeExprOrValue<StringType>;
|
|
1120
|
+
}>;
|
|
1121
|
+
/** Render the status legend beneath the board (from the registry) */
|
|
1122
|
+
legend?: boolean;
|
|
1123
|
+
/** Named GROUP BY toolbar options (empty = no toolbar) */
|
|
1124
|
+
groupBy?: Array<DeckGroupOption<R>>;
|
|
1125
|
+
/** `"grid"` (default) or `"list"` */
|
|
1126
|
+
layout?: DeckLayoutLiteral;
|
|
1127
|
+
/** Optional tap callback with the card `key` */
|
|
1128
|
+
onCardClick?: SubtypeExprOrValue<FunctionType<[StringType], NullType>>;
|
|
1129
|
+
/** Optional view-opened callback with the card `key` */
|
|
1130
|
+
onOpen?: SubtypeExprOrValue<FunctionType<[StringType], NullType>> | SubtypeExprOrValue<AsyncFunctionType<[StringType], NullType>>;
|
|
1131
|
+
/** Optional view-closed callback */
|
|
1132
|
+
onClose?: SubtypeExprOrValue<FunctionType<[], NullType>> | SubtypeExprOrValue<AsyncFunctionType<[], NullType>>;
|
|
1133
|
+
/** Optional bound slice handle (filter/search flow through it) */
|
|
1134
|
+
slice?: SubtypeExprOrValue<SliceBindType>;
|
|
1135
|
+
/** Rail affordances when `slice` is set (default `["filter", "search"]`) */
|
|
1136
|
+
affordances?: SliceAffordanceLiteral[];
|
|
1137
|
+
/** Layout style (height / maxHeight / minCardWidth) */
|
|
1138
|
+
style?: DeckStyle;
|
|
1139
|
+
}
|
|
1140
|
+
/**
|
|
1141
|
+
* Creates a Deck — a declarative grouped card collection.
|
|
1142
|
+
*
|
|
1143
|
+
* @typeParam T - The array-of-structs data expression type
|
|
1144
|
+
* @param data - The rows (one card per element)
|
|
1145
|
+
* @param config - The Deck configuration ({@link DeckConfig})
|
|
1146
|
+
* @returns An East expression of `UIComponentType`
|
|
1147
|
+
*
|
|
1148
|
+
* @example
|
|
1149
|
+
* ```ts
|
|
1150
|
+
* import { East } from "@elaraai/east";
|
|
1151
|
+
* import { Deck, UIComponentType } from "@elaraai/east-ui";
|
|
1152
|
+
*
|
|
1153
|
+
* const example = East.function([], UIComponentType, _$ =>
|
|
1154
|
+
* Deck.Root(
|
|
1155
|
+
* [{ id: "a-201", name: "Line A", state: "RUNNING", load: 0.62 }],
|
|
1156
|
+
* {
|
|
1157
|
+
* card: r => ({
|
|
1158
|
+
* key: r.id, title: r.name,
|
|
1159
|
+
* status: Deck.status(r.state, "success"),
|
|
1160
|
+
* facts: [Deck.meter("Load", r.load.multiply(100.0), 100.0, East.str`${East.print(r.load.multiply(100.0))}%`)],
|
|
1161
|
+
* }),
|
|
1162
|
+
* groupBy: [{ key: "state", label: "Status", value: r => r.state }],
|
|
1163
|
+
* },
|
|
1164
|
+
* ),
|
|
1165
|
+
* );
|
|
1166
|
+
* ```
|
|
1167
|
+
*/
|
|
1168
|
+
declare function createDeck<T extends SubtypeExprOrValue<ArrayType<StructType>>>(data: T, config: DeckConfig<RowElement<T>>): ExprType<UIComponentType>;
|
|
1169
|
+
/**
|
|
1170
|
+
* Creates a meter fact (utilisation bar + right-aligned text).
|
|
1171
|
+
*
|
|
1172
|
+
* @param label - Fact caption
|
|
1173
|
+
* @param value - Current value
|
|
1174
|
+
* @param max - Full-bar value
|
|
1175
|
+
* @param text - Right-aligned reading
|
|
1176
|
+
* @returns A {@link DeckFactType} expression
|
|
1177
|
+
*/
|
|
1178
|
+
declare function createMeterFact(label: SubtypeExprOrValue<StringType>, value: SubtypeExprOrValue<FloatType>, max: SubtypeExprOrValue<FloatType>, text: SubtypeExprOrValue<StringType>): ExprType<DeckFactType>;
|
|
1179
|
+
/**
|
|
1180
|
+
* Creates a chips fact (a row of small chips).
|
|
1181
|
+
*
|
|
1182
|
+
* @param label - Fact caption
|
|
1183
|
+
* @param values - Chip texts
|
|
1184
|
+
* @returns A {@link DeckFactType} expression
|
|
1185
|
+
*/
|
|
1186
|
+
declare function createChipsFact(label: SubtypeExprOrValue<StringType>, values: SubtypeExprOrValue<ArrayType<StringType>>): ExprType<DeckFactType>;
|
|
1187
|
+
/**
|
|
1188
|
+
* Creates a text fact (a muted caption line).
|
|
1189
|
+
*
|
|
1190
|
+
* @param label - Fact caption
|
|
1191
|
+
* @param text - The caption text
|
|
1192
|
+
* @returns A {@link DeckFactType} expression
|
|
1193
|
+
*/
|
|
1194
|
+
declare function createTextFact(label: SubtypeExprOrValue<StringType>, text: SubtypeExprOrValue<StringType>): ExprType<DeckFactType>;
|
|
1195
|
+
/**
|
|
1196
|
+
* Deck component namespace.
|
|
1197
|
+
*
|
|
1198
|
+
* @remarks
|
|
1199
|
+
* `Deck.Root(data, config)` builds the card collection; the `card` mapper
|
|
1200
|
+
* returns plain face fields per row; `Deck.status` / `Deck.meter` /
|
|
1201
|
+
* `Deck.chips` / `Deck.text` build the face values. Group-by options are
|
|
1202
|
+
* plain config literals, like Library's.
|
|
1203
|
+
*/
|
|
1204
|
+
export declare const Deck: {
|
|
1205
|
+
/**
|
|
1206
|
+
* Creates a Deck — a declarative grouped card collection.
|
|
1207
|
+
*
|
|
1208
|
+
* @param data - The rows (one card per element)
|
|
1209
|
+
* @param config - The Deck configuration ({@link DeckConfig})
|
|
1210
|
+
* @returns An East expression of `UIComponentType`
|
|
1211
|
+
*/
|
|
1212
|
+
readonly Root: typeof createDeck;
|
|
1213
|
+
/** Builds the status registry for the `statuses` config option. */
|
|
1214
|
+
readonly statuses: typeof createStatuses;
|
|
1215
|
+
/** Builds one card metric (label-over-value, raw value + shared format). */
|
|
1216
|
+
readonly metric: typeof createMetric;
|
|
1217
|
+
/** Creates a readout rail (popover headline numbers). */
|
|
1218
|
+
readonly Readout: typeof createReadout;
|
|
1219
|
+
/** Creates key–value detail rows (popover labelled facts). */
|
|
1220
|
+
readonly Rows: typeof createRows;
|
|
1221
|
+
/** Creates a dashed-top mono footnote (popover trailing note). */
|
|
1222
|
+
readonly Note: typeof createNote;
|
|
1223
|
+
/** Creates a meter fact (utilisation bar + right-aligned text). */
|
|
1224
|
+
readonly meter: typeof createMeterFact;
|
|
1225
|
+
/** Creates a chips fact (a row of small chips). */
|
|
1226
|
+
readonly chips: typeof createChipsFact;
|
|
1227
|
+
/** Creates a text fact (a muted caption line). */
|
|
1228
|
+
readonly text: typeof createTextFact;
|
|
1229
|
+
readonly Types: {
|
|
1230
|
+
/** The full Deck payload (mirrors the inline `component.ts` variant). */
|
|
1231
|
+
readonly Deck: StructType<{
|
|
1232
|
+
readonly items: ArrayType<StructType<{
|
|
1233
|
+
readonly key: StringType;
|
|
1234
|
+
readonly title: StringType;
|
|
1235
|
+
readonly sublabel: OptionType<StringType>;
|
|
1236
|
+
readonly icon: OptionType<StringType>;
|
|
1237
|
+
readonly status: OptionType<StringType>;
|
|
1238
|
+
readonly metrics: ArrayType<StructType<{
|
|
1239
|
+
readonly label: StringType;
|
|
1240
|
+
readonly value: OptionType<FloatType>;
|
|
1241
|
+
readonly format: OptionType<import("@elaraai/east").VariantType<{
|
|
1242
|
+
readonly number: NullType;
|
|
1243
|
+
readonly currency: StructType<{
|
|
1244
|
+
readonly code: StringType;
|
|
1245
|
+
readonly compact: BooleanType;
|
|
1246
|
+
}>;
|
|
1247
|
+
readonly percent: NullType;
|
|
1248
|
+
readonly compact: NullType;
|
|
1249
|
+
readonly date: StringType;
|
|
1250
|
+
readonly time: StringType;
|
|
1251
|
+
readonly datetime: StringType;
|
|
1252
|
+
}>>;
|
|
1253
|
+
readonly text: OptionType<StringType>;
|
|
1254
|
+
readonly warn: BooleanType;
|
|
1255
|
+
}>>;
|
|
1256
|
+
readonly fill: OptionType<StructType<{
|
|
1257
|
+
readonly value: FloatType;
|
|
1258
|
+
readonly max: FloatType;
|
|
1259
|
+
readonly format: OptionType<import("@elaraai/east").VariantType<{
|
|
1260
|
+
readonly number: NullType;
|
|
1261
|
+
readonly currency: StructType<{
|
|
1262
|
+
readonly code: StringType;
|
|
1263
|
+
readonly compact: BooleanType;
|
|
1264
|
+
}>;
|
|
1265
|
+
readonly percent: NullType;
|
|
1266
|
+
readonly compact: NullType;
|
|
1267
|
+
readonly date: StringType;
|
|
1268
|
+
readonly time: StringType;
|
|
1269
|
+
readonly datetime: StringType;
|
|
1270
|
+
}>>;
|
|
1271
|
+
readonly text: OptionType<StringType>;
|
|
1272
|
+
}>>;
|
|
1273
|
+
readonly facts: ArrayType<StructType<{
|
|
1274
|
+
readonly label: StringType;
|
|
1275
|
+
readonly value: import("@elaraai/east").VariantType<{
|
|
1276
|
+
readonly meter: StructType<{
|
|
1277
|
+
readonly value: FloatType;
|
|
1278
|
+
readonly max: FloatType;
|
|
1279
|
+
readonly text: OptionType<StringType>;
|
|
1280
|
+
}>;
|
|
1281
|
+
readonly chips: ArrayType<StringType>;
|
|
1282
|
+
readonly text: StringType;
|
|
1283
|
+
}>;
|
|
1284
|
+
}>>;
|
|
1285
|
+
readonly filtered: BooleanType;
|
|
1286
|
+
readonly groups: DictType<StringType, StringType>;
|
|
1287
|
+
readonly face: OptionType<import("@elaraai/east").RecursiveType<import("../../component.js").UIComponentNode>>;
|
|
1288
|
+
readonly detail: OptionType<import("@elaraai/east").RecursiveType<import("../../component.js").UIComponentNode>>;
|
|
1289
|
+
readonly hover: OptionType<import("@elaraai/east").RecursiveType<import("../../component.js").UIComponentNode>>;
|
|
1290
|
+
}>>;
|
|
1291
|
+
readonly statuses: DictType<StringType, StructType<{
|
|
1292
|
+
readonly label: StringType;
|
|
1293
|
+
readonly color: import("@elaraai/east").VariantType<{
|
|
1294
|
+
readonly token: import("@elaraai/east").VariantType<{
|
|
1295
|
+
readonly success: NullType;
|
|
1296
|
+
readonly warning: NullType;
|
|
1297
|
+
readonly danger: NullType;
|
|
1298
|
+
readonly info: NullType;
|
|
1299
|
+
readonly neutral: NullType;
|
|
1300
|
+
}>;
|
|
1301
|
+
readonly custom: StringType;
|
|
1302
|
+
}>;
|
|
1303
|
+
readonly pulse: BooleanType;
|
|
1304
|
+
readonly hint: OptionType<StringType>;
|
|
1305
|
+
}>>;
|
|
1306
|
+
readonly groupOptions: ArrayType<StructType<{
|
|
1307
|
+
readonly key: StringType;
|
|
1308
|
+
readonly label: StringType;
|
|
1309
|
+
}>>;
|
|
1310
|
+
readonly groupSummaries: DictType<StringType, DictType<StringType, StringType>>;
|
|
1311
|
+
readonly footer: ArrayType<StructType<{
|
|
1312
|
+
readonly label: StringType;
|
|
1313
|
+
readonly value: StringType;
|
|
1314
|
+
}>>;
|
|
1315
|
+
readonly legend: BooleanType;
|
|
1316
|
+
readonly layout: OptionType<import("@elaraai/east").VariantType<{
|
|
1317
|
+
readonly grid: NullType;
|
|
1318
|
+
readonly list: NullType;
|
|
1319
|
+
}>>;
|
|
1320
|
+
readonly onCardClick: OptionType<FunctionType<[StringType], NullType>>;
|
|
1321
|
+
readonly onOpen: OptionType<AsyncFunctionType<[StringType], NullType>>;
|
|
1322
|
+
readonly onClose: OptionType<AsyncFunctionType<[], NullType>>;
|
|
1323
|
+
readonly slice: OptionType<StructType<{
|
|
1324
|
+
readonly slice: StructType<{
|
|
1325
|
+
readonly key: StringType;
|
|
1326
|
+
readonly read: FunctionType<[], StructType<{
|
|
1327
|
+
readonly range: OptionType<import("@elaraai/east").VariantType<{
|
|
1328
|
+
readonly datetime: StructType<{
|
|
1329
|
+
readonly from: import("@elaraai/east").DateTimeType;
|
|
1330
|
+
readonly to: import("@elaraai/east").DateTimeType;
|
|
1331
|
+
}>;
|
|
1332
|
+
readonly datetimePreset: import("@elaraai/east").VariantType<{
|
|
1333
|
+
readonly today: NullType;
|
|
1334
|
+
readonly last7d: NullType;
|
|
1335
|
+
readonly last30d: NullType;
|
|
1336
|
+
readonly last90d: NullType;
|
|
1337
|
+
readonly ytd: NullType;
|
|
1338
|
+
}>;
|
|
1339
|
+
readonly integer: StructType<{
|
|
1340
|
+
readonly from: import("@elaraai/east").IntegerType;
|
|
1341
|
+
readonly to: import("@elaraai/east").IntegerType;
|
|
1342
|
+
}>;
|
|
1343
|
+
readonly float: StructType<{
|
|
1344
|
+
readonly from: FloatType;
|
|
1345
|
+
readonly to: FloatType;
|
|
1346
|
+
}>;
|
|
1347
|
+
}>>;
|
|
1348
|
+
readonly compare: OptionType<import("@elaraai/east").VariantType<{
|
|
1349
|
+
readonly previousPeriod: NullType;
|
|
1350
|
+
readonly previousYear: NullType;
|
|
1351
|
+
}>>;
|
|
1352
|
+
readonly filters: ArrayType<import("@elaraai/east").VariantType<{
|
|
1353
|
+
readonly string: StructType<{
|
|
1354
|
+
readonly fieldId: StringType;
|
|
1355
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1356
|
+
readonly eq: StringType;
|
|
1357
|
+
readonly neq: StringType;
|
|
1358
|
+
readonly in: import("@elaraai/east").SetType<StringType>;
|
|
1359
|
+
readonly notIn: import("@elaraai/east").SetType<StringType>;
|
|
1360
|
+
readonly contains: StringType;
|
|
1361
|
+
readonly matches: StringType;
|
|
1362
|
+
readonly startsWith: StringType;
|
|
1363
|
+
readonly endsWith: StringType;
|
|
1364
|
+
readonly isEmpty: NullType;
|
|
1365
|
+
readonly isNotEmpty: NullType;
|
|
1366
|
+
}>;
|
|
1367
|
+
}>;
|
|
1368
|
+
readonly integer: StructType<{
|
|
1369
|
+
readonly fieldId: StringType;
|
|
1370
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1371
|
+
readonly eq: import("@elaraai/east").IntegerType;
|
|
1372
|
+
readonly neq: import("@elaraai/east").IntegerType;
|
|
1373
|
+
readonly lt: import("@elaraai/east").IntegerType;
|
|
1374
|
+
readonly lte: import("@elaraai/east").IntegerType;
|
|
1375
|
+
readonly gt: import("@elaraai/east").IntegerType;
|
|
1376
|
+
readonly gte: import("@elaraai/east").IntegerType;
|
|
1377
|
+
readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
|
|
1378
|
+
}>;
|
|
1379
|
+
}>;
|
|
1380
|
+
readonly float: StructType<{
|
|
1381
|
+
readonly fieldId: StringType;
|
|
1382
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1383
|
+
readonly lt: FloatType;
|
|
1384
|
+
readonly lte: FloatType;
|
|
1385
|
+
readonly gt: FloatType;
|
|
1386
|
+
readonly gte: FloatType;
|
|
1387
|
+
}>;
|
|
1388
|
+
}>;
|
|
1389
|
+
readonly datetime: StructType<{
|
|
1390
|
+
readonly fieldId: StringType;
|
|
1391
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1392
|
+
readonly before: import("@elaraai/east").DateTimeType;
|
|
1393
|
+
readonly after: import("@elaraai/east").DateTimeType;
|
|
1394
|
+
readonly between: StructType<{
|
|
1395
|
+
readonly from: import("@elaraai/east").DateTimeType;
|
|
1396
|
+
readonly to: import("@elaraai/east").DateTimeType;
|
|
1397
|
+
}>;
|
|
1398
|
+
}>;
|
|
1399
|
+
}>;
|
|
1400
|
+
readonly boolean: StructType<{
|
|
1401
|
+
readonly fieldId: StringType;
|
|
1402
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1403
|
+
readonly is: BooleanType;
|
|
1404
|
+
}>;
|
|
1405
|
+
}>;
|
|
1406
|
+
}>>;
|
|
1407
|
+
readonly cohorts: ArrayType<StructType<{
|
|
1408
|
+
readonly id: StringType;
|
|
1409
|
+
readonly name: StringType;
|
|
1410
|
+
readonly filters: ArrayType<import("@elaraai/east").VariantType<{
|
|
1411
|
+
readonly string: StructType<{
|
|
1412
|
+
readonly fieldId: StringType;
|
|
1413
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1414
|
+
readonly eq: StringType;
|
|
1415
|
+
readonly neq: StringType;
|
|
1416
|
+
readonly in: import("@elaraai/east").SetType<StringType>;
|
|
1417
|
+
readonly notIn: import("@elaraai/east").SetType<StringType>;
|
|
1418
|
+
readonly contains: StringType;
|
|
1419
|
+
readonly matches: StringType;
|
|
1420
|
+
readonly startsWith: StringType;
|
|
1421
|
+
readonly endsWith: StringType;
|
|
1422
|
+
readonly isEmpty: NullType;
|
|
1423
|
+
readonly isNotEmpty: NullType;
|
|
1424
|
+
}>;
|
|
1425
|
+
}>;
|
|
1426
|
+
readonly integer: StructType<{
|
|
1427
|
+
readonly fieldId: StringType;
|
|
1428
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1429
|
+
readonly eq: import("@elaraai/east").IntegerType;
|
|
1430
|
+
readonly neq: import("@elaraai/east").IntegerType;
|
|
1431
|
+
readonly lt: import("@elaraai/east").IntegerType;
|
|
1432
|
+
readonly lte: import("@elaraai/east").IntegerType;
|
|
1433
|
+
readonly gt: import("@elaraai/east").IntegerType;
|
|
1434
|
+
readonly gte: import("@elaraai/east").IntegerType;
|
|
1435
|
+
readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
|
|
1436
|
+
}>;
|
|
1437
|
+
}>;
|
|
1438
|
+
readonly float: StructType<{
|
|
1439
|
+
readonly fieldId: StringType;
|
|
1440
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1441
|
+
readonly lt: FloatType;
|
|
1442
|
+
readonly lte: FloatType;
|
|
1443
|
+
readonly gt: FloatType;
|
|
1444
|
+
readonly gte: FloatType;
|
|
1445
|
+
}>;
|
|
1446
|
+
}>;
|
|
1447
|
+
readonly datetime: StructType<{
|
|
1448
|
+
readonly fieldId: StringType;
|
|
1449
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1450
|
+
readonly before: import("@elaraai/east").DateTimeType;
|
|
1451
|
+
readonly after: import("@elaraai/east").DateTimeType;
|
|
1452
|
+
readonly between: StructType<{
|
|
1453
|
+
readonly from: import("@elaraai/east").DateTimeType;
|
|
1454
|
+
readonly to: import("@elaraai/east").DateTimeType;
|
|
1455
|
+
}>;
|
|
1456
|
+
}>;
|
|
1457
|
+
}>;
|
|
1458
|
+
readonly boolean: StructType<{
|
|
1459
|
+
readonly fieldId: StringType;
|
|
1460
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1461
|
+
readonly is: BooleanType;
|
|
1462
|
+
}>;
|
|
1463
|
+
}>;
|
|
1464
|
+
}>>;
|
|
1465
|
+
}>>;
|
|
1466
|
+
readonly activeCohorts: import("@elaraai/east").SetType<StringType>;
|
|
1467
|
+
readonly breakdown: OptionType<StructType<{
|
|
1468
|
+
readonly fieldId: StringType;
|
|
1469
|
+
readonly limit: OptionType<import("@elaraai/east").IntegerType>;
|
|
1470
|
+
}>>;
|
|
1471
|
+
readonly search: OptionType<StringType>;
|
|
1472
|
+
readonly visible: OptionType<import("@elaraai/east").SetType<StringType>>;
|
|
1473
|
+
readonly selectedIndex: OptionType<import("@elaraai/east").IntegerType>;
|
|
1474
|
+
}>>;
|
|
1475
|
+
readonly write: FunctionType<[StructType<{
|
|
1476
|
+
readonly range: OptionType<import("@elaraai/east").VariantType<{
|
|
1477
|
+
readonly datetime: StructType<{
|
|
1478
|
+
readonly from: import("@elaraai/east").DateTimeType;
|
|
1479
|
+
readonly to: import("@elaraai/east").DateTimeType;
|
|
1480
|
+
}>;
|
|
1481
|
+
readonly datetimePreset: import("@elaraai/east").VariantType<{
|
|
1482
|
+
readonly today: NullType;
|
|
1483
|
+
readonly last7d: NullType;
|
|
1484
|
+
readonly last30d: NullType;
|
|
1485
|
+
readonly last90d: NullType;
|
|
1486
|
+
readonly ytd: NullType;
|
|
1487
|
+
}>;
|
|
1488
|
+
readonly integer: StructType<{
|
|
1489
|
+
readonly from: import("@elaraai/east").IntegerType;
|
|
1490
|
+
readonly to: import("@elaraai/east").IntegerType;
|
|
1491
|
+
}>;
|
|
1492
|
+
readonly float: StructType<{
|
|
1493
|
+
readonly from: FloatType;
|
|
1494
|
+
readonly to: FloatType;
|
|
1495
|
+
}>;
|
|
1496
|
+
}>>;
|
|
1497
|
+
readonly compare: OptionType<import("@elaraai/east").VariantType<{
|
|
1498
|
+
readonly previousPeriod: NullType;
|
|
1499
|
+
readonly previousYear: NullType;
|
|
1500
|
+
}>>;
|
|
1501
|
+
readonly filters: ArrayType<import("@elaraai/east").VariantType<{
|
|
1502
|
+
readonly string: StructType<{
|
|
1503
|
+
readonly fieldId: StringType;
|
|
1504
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1505
|
+
readonly eq: StringType;
|
|
1506
|
+
readonly neq: StringType;
|
|
1507
|
+
readonly in: import("@elaraai/east").SetType<StringType>;
|
|
1508
|
+
readonly notIn: import("@elaraai/east").SetType<StringType>;
|
|
1509
|
+
readonly contains: StringType;
|
|
1510
|
+
readonly matches: StringType;
|
|
1511
|
+
readonly startsWith: StringType;
|
|
1512
|
+
readonly endsWith: StringType;
|
|
1513
|
+
readonly isEmpty: NullType;
|
|
1514
|
+
readonly isNotEmpty: NullType;
|
|
1515
|
+
}>;
|
|
1516
|
+
}>;
|
|
1517
|
+
readonly integer: StructType<{
|
|
1518
|
+
readonly fieldId: StringType;
|
|
1519
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1520
|
+
readonly eq: import("@elaraai/east").IntegerType;
|
|
1521
|
+
readonly neq: import("@elaraai/east").IntegerType;
|
|
1522
|
+
readonly lt: import("@elaraai/east").IntegerType;
|
|
1523
|
+
readonly lte: import("@elaraai/east").IntegerType;
|
|
1524
|
+
readonly gt: import("@elaraai/east").IntegerType;
|
|
1525
|
+
readonly gte: import("@elaraai/east").IntegerType;
|
|
1526
|
+
readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
|
|
1527
|
+
}>;
|
|
1528
|
+
}>;
|
|
1529
|
+
readonly float: StructType<{
|
|
1530
|
+
readonly fieldId: StringType;
|
|
1531
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1532
|
+
readonly lt: FloatType;
|
|
1533
|
+
readonly lte: FloatType;
|
|
1534
|
+
readonly gt: FloatType;
|
|
1535
|
+
readonly gte: FloatType;
|
|
1536
|
+
}>;
|
|
1537
|
+
}>;
|
|
1538
|
+
readonly datetime: StructType<{
|
|
1539
|
+
readonly fieldId: StringType;
|
|
1540
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1541
|
+
readonly before: import("@elaraai/east").DateTimeType;
|
|
1542
|
+
readonly after: import("@elaraai/east").DateTimeType;
|
|
1543
|
+
readonly between: StructType<{
|
|
1544
|
+
readonly from: import("@elaraai/east").DateTimeType;
|
|
1545
|
+
readonly to: import("@elaraai/east").DateTimeType;
|
|
1546
|
+
}>;
|
|
1547
|
+
}>;
|
|
1548
|
+
}>;
|
|
1549
|
+
readonly boolean: StructType<{
|
|
1550
|
+
readonly fieldId: StringType;
|
|
1551
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1552
|
+
readonly is: BooleanType;
|
|
1553
|
+
}>;
|
|
1554
|
+
}>;
|
|
1555
|
+
}>>;
|
|
1556
|
+
readonly cohorts: ArrayType<StructType<{
|
|
1557
|
+
readonly id: StringType;
|
|
1558
|
+
readonly name: StringType;
|
|
1559
|
+
readonly filters: ArrayType<import("@elaraai/east").VariantType<{
|
|
1560
|
+
readonly string: StructType<{
|
|
1561
|
+
readonly fieldId: StringType;
|
|
1562
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1563
|
+
readonly eq: StringType;
|
|
1564
|
+
readonly neq: StringType;
|
|
1565
|
+
readonly in: import("@elaraai/east").SetType<StringType>;
|
|
1566
|
+
readonly notIn: import("@elaraai/east").SetType<StringType>;
|
|
1567
|
+
readonly contains: StringType;
|
|
1568
|
+
readonly matches: StringType;
|
|
1569
|
+
readonly startsWith: StringType;
|
|
1570
|
+
readonly endsWith: StringType;
|
|
1571
|
+
readonly isEmpty: NullType;
|
|
1572
|
+
readonly isNotEmpty: NullType;
|
|
1573
|
+
}>;
|
|
1574
|
+
}>;
|
|
1575
|
+
readonly integer: StructType<{
|
|
1576
|
+
readonly fieldId: StringType;
|
|
1577
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1578
|
+
readonly eq: import("@elaraai/east").IntegerType;
|
|
1579
|
+
readonly neq: import("@elaraai/east").IntegerType;
|
|
1580
|
+
readonly lt: import("@elaraai/east").IntegerType;
|
|
1581
|
+
readonly lte: import("@elaraai/east").IntegerType;
|
|
1582
|
+
readonly gt: import("@elaraai/east").IntegerType;
|
|
1583
|
+
readonly gte: import("@elaraai/east").IntegerType;
|
|
1584
|
+
readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
|
|
1585
|
+
}>;
|
|
1586
|
+
}>;
|
|
1587
|
+
readonly float: StructType<{
|
|
1588
|
+
readonly fieldId: StringType;
|
|
1589
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1590
|
+
readonly lt: FloatType;
|
|
1591
|
+
readonly lte: FloatType;
|
|
1592
|
+
readonly gt: FloatType;
|
|
1593
|
+
readonly gte: FloatType;
|
|
1594
|
+
}>;
|
|
1595
|
+
}>;
|
|
1596
|
+
readonly datetime: StructType<{
|
|
1597
|
+
readonly fieldId: StringType;
|
|
1598
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1599
|
+
readonly before: import("@elaraai/east").DateTimeType;
|
|
1600
|
+
readonly after: import("@elaraai/east").DateTimeType;
|
|
1601
|
+
readonly between: StructType<{
|
|
1602
|
+
readonly from: import("@elaraai/east").DateTimeType;
|
|
1603
|
+
readonly to: import("@elaraai/east").DateTimeType;
|
|
1604
|
+
}>;
|
|
1605
|
+
}>;
|
|
1606
|
+
}>;
|
|
1607
|
+
readonly boolean: StructType<{
|
|
1608
|
+
readonly fieldId: StringType;
|
|
1609
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1610
|
+
readonly is: BooleanType;
|
|
1611
|
+
}>;
|
|
1612
|
+
}>;
|
|
1613
|
+
}>>;
|
|
1614
|
+
}>>;
|
|
1615
|
+
readonly activeCohorts: import("@elaraai/east").SetType<StringType>;
|
|
1616
|
+
readonly breakdown: OptionType<StructType<{
|
|
1617
|
+
readonly fieldId: StringType;
|
|
1618
|
+
readonly limit: OptionType<import("@elaraai/east").IntegerType>;
|
|
1619
|
+
}>>;
|
|
1620
|
+
readonly search: OptionType<StringType>;
|
|
1621
|
+
readonly visible: OptionType<import("@elaraai/east").SetType<StringType>>;
|
|
1622
|
+
readonly selectedIndex: OptionType<import("@elaraai/east").IntegerType>;
|
|
1623
|
+
}>], NullType>;
|
|
1624
|
+
readonly setRange: FunctionType<[OptionType<import("@elaraai/east").VariantType<{
|
|
1625
|
+
readonly datetime: StructType<{
|
|
1626
|
+
readonly from: import("@elaraai/east").DateTimeType;
|
|
1627
|
+
readonly to: import("@elaraai/east").DateTimeType;
|
|
1628
|
+
}>;
|
|
1629
|
+
readonly datetimePreset: import("@elaraai/east").VariantType<{
|
|
1630
|
+
readonly today: NullType;
|
|
1631
|
+
readonly last7d: NullType;
|
|
1632
|
+
readonly last30d: NullType;
|
|
1633
|
+
readonly last90d: NullType;
|
|
1634
|
+
readonly ytd: NullType;
|
|
1635
|
+
}>;
|
|
1636
|
+
readonly integer: StructType<{
|
|
1637
|
+
readonly from: import("@elaraai/east").IntegerType;
|
|
1638
|
+
readonly to: import("@elaraai/east").IntegerType;
|
|
1639
|
+
}>;
|
|
1640
|
+
readonly float: StructType<{
|
|
1641
|
+
readonly from: FloatType;
|
|
1642
|
+
readonly to: FloatType;
|
|
1643
|
+
}>;
|
|
1644
|
+
}>>], NullType>;
|
|
1645
|
+
readonly setCompare: FunctionType<[OptionType<import("@elaraai/east").VariantType<{
|
|
1646
|
+
readonly previousPeriod: NullType;
|
|
1647
|
+
readonly previousYear: NullType;
|
|
1648
|
+
}>>], NullType>;
|
|
1649
|
+
readonly addFilter: FunctionType<[import("@elaraai/east").VariantType<{
|
|
1650
|
+
readonly string: StructType<{
|
|
1651
|
+
readonly fieldId: StringType;
|
|
1652
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1653
|
+
readonly eq: StringType;
|
|
1654
|
+
readonly neq: StringType;
|
|
1655
|
+
readonly in: import("@elaraai/east").SetType<StringType>;
|
|
1656
|
+
readonly notIn: import("@elaraai/east").SetType<StringType>;
|
|
1657
|
+
readonly contains: StringType;
|
|
1658
|
+
readonly matches: StringType;
|
|
1659
|
+
readonly startsWith: StringType;
|
|
1660
|
+
readonly endsWith: StringType;
|
|
1661
|
+
readonly isEmpty: NullType;
|
|
1662
|
+
readonly isNotEmpty: NullType;
|
|
1663
|
+
}>;
|
|
1664
|
+
}>;
|
|
1665
|
+
readonly integer: StructType<{
|
|
1666
|
+
readonly fieldId: StringType;
|
|
1667
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1668
|
+
readonly eq: import("@elaraai/east").IntegerType;
|
|
1669
|
+
readonly neq: import("@elaraai/east").IntegerType;
|
|
1670
|
+
readonly lt: import("@elaraai/east").IntegerType;
|
|
1671
|
+
readonly lte: import("@elaraai/east").IntegerType;
|
|
1672
|
+
readonly gt: import("@elaraai/east").IntegerType;
|
|
1673
|
+
readonly gte: import("@elaraai/east").IntegerType;
|
|
1674
|
+
readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
|
|
1675
|
+
}>;
|
|
1676
|
+
}>;
|
|
1677
|
+
readonly float: StructType<{
|
|
1678
|
+
readonly fieldId: StringType;
|
|
1679
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1680
|
+
readonly lt: FloatType;
|
|
1681
|
+
readonly lte: FloatType;
|
|
1682
|
+
readonly gt: FloatType;
|
|
1683
|
+
readonly gte: FloatType;
|
|
1684
|
+
}>;
|
|
1685
|
+
}>;
|
|
1686
|
+
readonly datetime: StructType<{
|
|
1687
|
+
readonly fieldId: StringType;
|
|
1688
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1689
|
+
readonly before: import("@elaraai/east").DateTimeType;
|
|
1690
|
+
readonly after: import("@elaraai/east").DateTimeType;
|
|
1691
|
+
readonly between: StructType<{
|
|
1692
|
+
readonly from: import("@elaraai/east").DateTimeType;
|
|
1693
|
+
readonly to: import("@elaraai/east").DateTimeType;
|
|
1694
|
+
}>;
|
|
1695
|
+
}>;
|
|
1696
|
+
}>;
|
|
1697
|
+
readonly boolean: StructType<{
|
|
1698
|
+
readonly fieldId: StringType;
|
|
1699
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1700
|
+
readonly is: BooleanType;
|
|
1701
|
+
}>;
|
|
1702
|
+
}>;
|
|
1703
|
+
}>], NullType>;
|
|
1704
|
+
readonly removeFilter: FunctionType<[import("@elaraai/east").IntegerType], NullType>;
|
|
1705
|
+
readonly clearFilters: FunctionType<[], NullType>;
|
|
1706
|
+
readonly defineCohort: FunctionType<[StructType<{
|
|
1707
|
+
readonly id: StringType;
|
|
1708
|
+
readonly name: StringType;
|
|
1709
|
+
readonly filters: ArrayType<import("@elaraai/east").VariantType<{
|
|
1710
|
+
readonly string: StructType<{
|
|
1711
|
+
readonly fieldId: StringType;
|
|
1712
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1713
|
+
readonly eq: StringType;
|
|
1714
|
+
readonly neq: StringType;
|
|
1715
|
+
readonly in: import("@elaraai/east").SetType<StringType>;
|
|
1716
|
+
readonly notIn: import("@elaraai/east").SetType<StringType>;
|
|
1717
|
+
readonly contains: StringType;
|
|
1718
|
+
readonly matches: StringType;
|
|
1719
|
+
readonly startsWith: StringType;
|
|
1720
|
+
readonly endsWith: StringType;
|
|
1721
|
+
readonly isEmpty: NullType;
|
|
1722
|
+
readonly isNotEmpty: NullType;
|
|
1723
|
+
}>;
|
|
1724
|
+
}>;
|
|
1725
|
+
readonly integer: StructType<{
|
|
1726
|
+
readonly fieldId: StringType;
|
|
1727
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1728
|
+
readonly eq: import("@elaraai/east").IntegerType;
|
|
1729
|
+
readonly neq: import("@elaraai/east").IntegerType;
|
|
1730
|
+
readonly lt: import("@elaraai/east").IntegerType;
|
|
1731
|
+
readonly lte: import("@elaraai/east").IntegerType;
|
|
1732
|
+
readonly gt: import("@elaraai/east").IntegerType;
|
|
1733
|
+
readonly gte: import("@elaraai/east").IntegerType;
|
|
1734
|
+
readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
|
|
1735
|
+
}>;
|
|
1736
|
+
}>;
|
|
1737
|
+
readonly float: StructType<{
|
|
1738
|
+
readonly fieldId: StringType;
|
|
1739
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1740
|
+
readonly lt: FloatType;
|
|
1741
|
+
readonly lte: FloatType;
|
|
1742
|
+
readonly gt: FloatType;
|
|
1743
|
+
readonly gte: FloatType;
|
|
1744
|
+
}>;
|
|
1745
|
+
}>;
|
|
1746
|
+
readonly datetime: StructType<{
|
|
1747
|
+
readonly fieldId: StringType;
|
|
1748
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1749
|
+
readonly before: import("@elaraai/east").DateTimeType;
|
|
1750
|
+
readonly after: import("@elaraai/east").DateTimeType;
|
|
1751
|
+
readonly between: StructType<{
|
|
1752
|
+
readonly from: import("@elaraai/east").DateTimeType;
|
|
1753
|
+
readonly to: import("@elaraai/east").DateTimeType;
|
|
1754
|
+
}>;
|
|
1755
|
+
}>;
|
|
1756
|
+
}>;
|
|
1757
|
+
readonly boolean: StructType<{
|
|
1758
|
+
readonly fieldId: StringType;
|
|
1759
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1760
|
+
readonly is: BooleanType;
|
|
1761
|
+
}>;
|
|
1762
|
+
}>;
|
|
1763
|
+
}>>;
|
|
1764
|
+
}>], NullType>;
|
|
1765
|
+
readonly updateCohort: FunctionType<[StringType, StructType<{
|
|
1766
|
+
readonly id: StringType;
|
|
1767
|
+
readonly name: StringType;
|
|
1768
|
+
readonly filters: ArrayType<import("@elaraai/east").VariantType<{
|
|
1769
|
+
readonly string: StructType<{
|
|
1770
|
+
readonly fieldId: StringType;
|
|
1771
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1772
|
+
readonly eq: StringType;
|
|
1773
|
+
readonly neq: StringType;
|
|
1774
|
+
readonly in: import("@elaraai/east").SetType<StringType>;
|
|
1775
|
+
readonly notIn: import("@elaraai/east").SetType<StringType>;
|
|
1776
|
+
readonly contains: StringType;
|
|
1777
|
+
readonly matches: StringType;
|
|
1778
|
+
readonly startsWith: StringType;
|
|
1779
|
+
readonly endsWith: StringType;
|
|
1780
|
+
readonly isEmpty: NullType;
|
|
1781
|
+
readonly isNotEmpty: NullType;
|
|
1782
|
+
}>;
|
|
1783
|
+
}>;
|
|
1784
|
+
readonly integer: StructType<{
|
|
1785
|
+
readonly fieldId: StringType;
|
|
1786
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1787
|
+
readonly eq: import("@elaraai/east").IntegerType;
|
|
1788
|
+
readonly neq: import("@elaraai/east").IntegerType;
|
|
1789
|
+
readonly lt: import("@elaraai/east").IntegerType;
|
|
1790
|
+
readonly lte: import("@elaraai/east").IntegerType;
|
|
1791
|
+
readonly gt: import("@elaraai/east").IntegerType;
|
|
1792
|
+
readonly gte: import("@elaraai/east").IntegerType;
|
|
1793
|
+
readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
|
|
1794
|
+
}>;
|
|
1795
|
+
}>;
|
|
1796
|
+
readonly float: StructType<{
|
|
1797
|
+
readonly fieldId: StringType;
|
|
1798
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1799
|
+
readonly lt: FloatType;
|
|
1800
|
+
readonly lte: FloatType;
|
|
1801
|
+
readonly gt: FloatType;
|
|
1802
|
+
readonly gte: FloatType;
|
|
1803
|
+
}>;
|
|
1804
|
+
}>;
|
|
1805
|
+
readonly datetime: StructType<{
|
|
1806
|
+
readonly fieldId: StringType;
|
|
1807
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1808
|
+
readonly before: import("@elaraai/east").DateTimeType;
|
|
1809
|
+
readonly after: import("@elaraai/east").DateTimeType;
|
|
1810
|
+
readonly between: StructType<{
|
|
1811
|
+
readonly from: import("@elaraai/east").DateTimeType;
|
|
1812
|
+
readonly to: import("@elaraai/east").DateTimeType;
|
|
1813
|
+
}>;
|
|
1814
|
+
}>;
|
|
1815
|
+
}>;
|
|
1816
|
+
readonly boolean: StructType<{
|
|
1817
|
+
readonly fieldId: StringType;
|
|
1818
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1819
|
+
readonly is: BooleanType;
|
|
1820
|
+
}>;
|
|
1821
|
+
}>;
|
|
1822
|
+
}>>;
|
|
1823
|
+
}>], NullType>;
|
|
1824
|
+
readonly removeCohort: FunctionType<[StringType], NullType>;
|
|
1825
|
+
readonly toggleCohort: FunctionType<[StringType], NullType>;
|
|
1826
|
+
readonly setBreakdown: FunctionType<[OptionType<StructType<{
|
|
1827
|
+
readonly fieldId: StringType;
|
|
1828
|
+
readonly limit: OptionType<import("@elaraai/east").IntegerType>;
|
|
1829
|
+
}>>], NullType>;
|
|
1830
|
+
readonly setSearch: FunctionType<[OptionType<StringType>], NullType>;
|
|
1831
|
+
readonly setVisible: FunctionType<[OptionType<import("@elaraai/east").SetType<StringType>>], NullType>;
|
|
1832
|
+
readonly select: FunctionType<[OptionType<import("@elaraai/east").IntegerType>], NullType>;
|
|
1833
|
+
readonly isActive: FunctionType<[], BooleanType>;
|
|
1834
|
+
readonly activeCount: FunctionType<[], import("@elaraai/east").IntegerType>;
|
|
1835
|
+
readonly dimensions: FunctionType<[], ArrayType<StructType<{
|
|
1836
|
+
readonly fieldId: StringType;
|
|
1837
|
+
readonly label: StringType;
|
|
1838
|
+
}>>>;
|
|
1839
|
+
readonly fields: FunctionType<[], ArrayType<StructType<{
|
|
1840
|
+
readonly fieldId: StringType;
|
|
1841
|
+
readonly label: StringType;
|
|
1842
|
+
readonly kind: StringType;
|
|
1843
|
+
readonly hints: ArrayType<StringType>;
|
|
1844
|
+
readonly format: OptionType<import("@elaraai/east").VariantType<{
|
|
1845
|
+
readonly number: NullType;
|
|
1846
|
+
readonly currency: StructType<{
|
|
1847
|
+
readonly code: StringType;
|
|
1848
|
+
readonly compact: BooleanType;
|
|
1849
|
+
}>;
|
|
1850
|
+
readonly percent: NullType;
|
|
1851
|
+
readonly compact: NullType;
|
|
1852
|
+
readonly date: StringType;
|
|
1853
|
+
readonly time: StringType;
|
|
1854
|
+
readonly datetime: StringType;
|
|
1855
|
+
}>>;
|
|
1856
|
+
}>>>;
|
|
1857
|
+
readonly searchFieldIds: FunctionType<[], ArrayType<StringType>>;
|
|
1858
|
+
readonly rangeFieldId: FunctionType<[], OptionType<StringType>>;
|
|
1859
|
+
readonly totalCount: FunctionType<[], import("@elaraai/east").IntegerType>;
|
|
1860
|
+
readonly resultCount: FunctionType<[], import("@elaraai/east").IntegerType>;
|
|
1861
|
+
readonly groups: FunctionType<[], ArrayType<StructType<{
|
|
1862
|
+
readonly key: StringType;
|
|
1863
|
+
readonly count: import("@elaraai/east").IntegerType;
|
|
1864
|
+
readonly color: StringType;
|
|
1865
|
+
}>>>;
|
|
1866
|
+
readonly series: FunctionType<[StringType, StringType], ArrayType<StructType<{
|
|
1867
|
+
readonly key: StringType;
|
|
1868
|
+
readonly color: StringType;
|
|
1869
|
+
readonly points: ArrayType<StructType<{
|
|
1870
|
+
readonly x: import("@elaraai/east").VariantType<{
|
|
1871
|
+
readonly category: StringType;
|
|
1872
|
+
readonly number: FloatType;
|
|
1873
|
+
readonly time: import("@elaraai/east").DateTimeType;
|
|
1874
|
+
}>;
|
|
1875
|
+
readonly value: FloatType;
|
|
1876
|
+
readonly size: OptionType<FloatType>;
|
|
1877
|
+
readonly color: OptionType<StringType>;
|
|
1878
|
+
}>>;
|
|
1879
|
+
}>>>;
|
|
1880
|
+
readonly matches: FunctionType<[], ArrayType<StructType<{
|
|
1881
|
+
readonly id: StringType;
|
|
1882
|
+
readonly label: StringType;
|
|
1883
|
+
readonly meta: OptionType<StringType>;
|
|
1884
|
+
}>>>;
|
|
1885
|
+
readonly cohortCounts: FunctionType<[], DictType<StringType, import("@elaraai/east").IntegerType>>;
|
|
1886
|
+
readonly toggleFilter: FunctionType<[import("@elaraai/east").VariantType<{
|
|
1887
|
+
readonly string: StructType<{
|
|
1888
|
+
readonly fieldId: StringType;
|
|
1889
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1890
|
+
readonly eq: StringType;
|
|
1891
|
+
readonly neq: StringType;
|
|
1892
|
+
readonly in: import("@elaraai/east").SetType<StringType>;
|
|
1893
|
+
readonly notIn: import("@elaraai/east").SetType<StringType>;
|
|
1894
|
+
readonly contains: StringType;
|
|
1895
|
+
readonly matches: StringType;
|
|
1896
|
+
readonly startsWith: StringType;
|
|
1897
|
+
readonly endsWith: StringType;
|
|
1898
|
+
readonly isEmpty: NullType;
|
|
1899
|
+
readonly isNotEmpty: NullType;
|
|
1900
|
+
}>;
|
|
1901
|
+
}>;
|
|
1902
|
+
readonly integer: StructType<{
|
|
1903
|
+
readonly fieldId: StringType;
|
|
1904
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1905
|
+
readonly eq: import("@elaraai/east").IntegerType;
|
|
1906
|
+
readonly neq: import("@elaraai/east").IntegerType;
|
|
1907
|
+
readonly lt: import("@elaraai/east").IntegerType;
|
|
1908
|
+
readonly lte: import("@elaraai/east").IntegerType;
|
|
1909
|
+
readonly gt: import("@elaraai/east").IntegerType;
|
|
1910
|
+
readonly gte: import("@elaraai/east").IntegerType;
|
|
1911
|
+
readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
|
|
1912
|
+
}>;
|
|
1913
|
+
}>;
|
|
1914
|
+
readonly float: StructType<{
|
|
1915
|
+
readonly fieldId: StringType;
|
|
1916
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1917
|
+
readonly lt: FloatType;
|
|
1918
|
+
readonly lte: FloatType;
|
|
1919
|
+
readonly gt: FloatType;
|
|
1920
|
+
readonly gte: FloatType;
|
|
1921
|
+
}>;
|
|
1922
|
+
}>;
|
|
1923
|
+
readonly datetime: StructType<{
|
|
1924
|
+
readonly fieldId: StringType;
|
|
1925
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1926
|
+
readonly before: import("@elaraai/east").DateTimeType;
|
|
1927
|
+
readonly after: import("@elaraai/east").DateTimeType;
|
|
1928
|
+
readonly between: StructType<{
|
|
1929
|
+
readonly from: import("@elaraai/east").DateTimeType;
|
|
1930
|
+
readonly to: import("@elaraai/east").DateTimeType;
|
|
1931
|
+
}>;
|
|
1932
|
+
}>;
|
|
1933
|
+
}>;
|
|
1934
|
+
readonly boolean: StructType<{
|
|
1935
|
+
readonly fieldId: StringType;
|
|
1936
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
1937
|
+
readonly is: BooleanType;
|
|
1938
|
+
}>;
|
|
1939
|
+
}>;
|
|
1940
|
+
}>], NullType>;
|
|
1941
|
+
readonly facetGroups: FunctionType<[], ArrayType<StructType<{
|
|
1942
|
+
readonly key: StringType;
|
|
1943
|
+
readonly count: import("@elaraai/east").IntegerType;
|
|
1944
|
+
readonly color: StringType;
|
|
1945
|
+
}>>>;
|
|
1946
|
+
}>;
|
|
1947
|
+
readonly affordances: ArrayType<import("@elaraai/east").VariantType<{
|
|
1948
|
+
readonly filter: NullType;
|
|
1949
|
+
readonly search: NullType;
|
|
1950
|
+
readonly breakdown: NullType;
|
|
1951
|
+
readonly range: NullType;
|
|
1952
|
+
readonly cohort: NullType;
|
|
1953
|
+
readonly brush: NullType;
|
|
1954
|
+
readonly presets: NullType;
|
|
1955
|
+
readonly legend: NullType;
|
|
1956
|
+
}>>;
|
|
1957
|
+
}>>;
|
|
1958
|
+
readonly style: OptionType<StructType<{
|
|
1959
|
+
readonly height: OptionType<StringType>;
|
|
1960
|
+
readonly maxHeight: OptionType<StringType>;
|
|
1961
|
+
readonly minCardWidth: OptionType<StringType>;
|
|
1962
|
+
}>>;
|
|
1963
|
+
}>;
|
|
1964
|
+
/** A resolved Deck item. */
|
|
1965
|
+
readonly Item: StructType<{
|
|
1966
|
+
readonly key: StringType;
|
|
1967
|
+
readonly title: StringType;
|
|
1968
|
+
readonly sublabel: OptionType<StringType>;
|
|
1969
|
+
readonly icon: OptionType<StringType>;
|
|
1970
|
+
readonly status: OptionType<StringType>;
|
|
1971
|
+
readonly metrics: ArrayType<StructType<{
|
|
1972
|
+
readonly label: StringType;
|
|
1973
|
+
readonly value: OptionType<FloatType>;
|
|
1974
|
+
readonly format: OptionType<import("@elaraai/east").VariantType<{
|
|
1975
|
+
readonly number: NullType;
|
|
1976
|
+
readonly currency: StructType<{
|
|
1977
|
+
readonly code: StringType;
|
|
1978
|
+
readonly compact: BooleanType;
|
|
1979
|
+
}>;
|
|
1980
|
+
readonly percent: NullType;
|
|
1981
|
+
readonly compact: NullType;
|
|
1982
|
+
readonly date: StringType;
|
|
1983
|
+
readonly time: StringType;
|
|
1984
|
+
readonly datetime: StringType;
|
|
1985
|
+
}>>;
|
|
1986
|
+
readonly text: OptionType<StringType>;
|
|
1987
|
+
readonly warn: BooleanType;
|
|
1988
|
+
}>>;
|
|
1989
|
+
readonly fill: OptionType<StructType<{
|
|
1990
|
+
readonly value: FloatType;
|
|
1991
|
+
readonly max: FloatType;
|
|
1992
|
+
readonly format: OptionType<import("@elaraai/east").VariantType<{
|
|
1993
|
+
readonly number: NullType;
|
|
1994
|
+
readonly currency: StructType<{
|
|
1995
|
+
readonly code: StringType;
|
|
1996
|
+
readonly compact: BooleanType;
|
|
1997
|
+
}>;
|
|
1998
|
+
readonly percent: NullType;
|
|
1999
|
+
readonly compact: NullType;
|
|
2000
|
+
readonly date: StringType;
|
|
2001
|
+
readonly time: StringType;
|
|
2002
|
+
readonly datetime: StringType;
|
|
2003
|
+
}>>;
|
|
2004
|
+
readonly text: OptionType<StringType>;
|
|
2005
|
+
}>>;
|
|
2006
|
+
readonly facts: ArrayType<StructType<{
|
|
2007
|
+
readonly label: StringType;
|
|
2008
|
+
readonly value: import("@elaraai/east").VariantType<{
|
|
2009
|
+
readonly meter: StructType<{
|
|
2010
|
+
readonly value: FloatType;
|
|
2011
|
+
readonly max: FloatType;
|
|
2012
|
+
readonly text: OptionType<StringType>;
|
|
2013
|
+
}>;
|
|
2014
|
+
readonly chips: ArrayType<StringType>;
|
|
2015
|
+
readonly text: StringType;
|
|
2016
|
+
}>;
|
|
2017
|
+
}>>;
|
|
2018
|
+
readonly filtered: BooleanType;
|
|
2019
|
+
readonly groups: DictType<StringType, StringType>;
|
|
2020
|
+
readonly face: OptionType<import("@elaraai/east").RecursiveType<import("../../component.js").UIComponentNode>>;
|
|
2021
|
+
readonly detail: OptionType<import("@elaraai/east").RecursiveType<import("../../component.js").UIComponentNode>>;
|
|
2022
|
+
readonly hover: OptionType<import("@elaraai/east").RecursiveType<import("../../component.js").UIComponentNode>>;
|
|
2023
|
+
}>;
|
|
2024
|
+
/** The structured card face (`card` accessor target). */
|
|
2025
|
+
readonly Face: StructType<{
|
|
2026
|
+
readonly key: StringType;
|
|
2027
|
+
readonly title: StringType;
|
|
2028
|
+
readonly sublabel: OptionType<StringType>;
|
|
2029
|
+
readonly icon: OptionType<StringType>;
|
|
2030
|
+
readonly status: OptionType<StringType>;
|
|
2031
|
+
readonly metrics: ArrayType<StructType<{
|
|
2032
|
+
readonly label: StringType;
|
|
2033
|
+
readonly value: OptionType<FloatType>;
|
|
2034
|
+
readonly format: OptionType<import("@elaraai/east").VariantType<{
|
|
2035
|
+
readonly number: NullType;
|
|
2036
|
+
readonly currency: StructType<{
|
|
2037
|
+
readonly code: StringType;
|
|
2038
|
+
readonly compact: BooleanType;
|
|
2039
|
+
}>;
|
|
2040
|
+
readonly percent: NullType;
|
|
2041
|
+
readonly compact: NullType;
|
|
2042
|
+
readonly date: StringType;
|
|
2043
|
+
readonly time: StringType;
|
|
2044
|
+
readonly datetime: StringType;
|
|
2045
|
+
}>>;
|
|
2046
|
+
readonly text: OptionType<StringType>;
|
|
2047
|
+
readonly warn: BooleanType;
|
|
2048
|
+
}>>;
|
|
2049
|
+
readonly fill: OptionType<StructType<{
|
|
2050
|
+
readonly value: FloatType;
|
|
2051
|
+
readonly max: FloatType;
|
|
2052
|
+
readonly format: OptionType<import("@elaraai/east").VariantType<{
|
|
2053
|
+
readonly number: NullType;
|
|
2054
|
+
readonly currency: StructType<{
|
|
2055
|
+
readonly code: StringType;
|
|
2056
|
+
readonly compact: BooleanType;
|
|
2057
|
+
}>;
|
|
2058
|
+
readonly percent: NullType;
|
|
2059
|
+
readonly compact: NullType;
|
|
2060
|
+
readonly date: StringType;
|
|
2061
|
+
readonly time: StringType;
|
|
2062
|
+
readonly datetime: StringType;
|
|
2063
|
+
}>>;
|
|
2064
|
+
readonly text: OptionType<StringType>;
|
|
2065
|
+
}>>;
|
|
2066
|
+
readonly facts: ArrayType<StructType<{
|
|
2067
|
+
readonly label: StringType;
|
|
2068
|
+
readonly value: import("@elaraai/east").VariantType<{
|
|
2069
|
+
readonly meter: StructType<{
|
|
2070
|
+
readonly value: FloatType;
|
|
2071
|
+
readonly max: FloatType;
|
|
2072
|
+
readonly text: OptionType<StringType>;
|
|
2073
|
+
}>;
|
|
2074
|
+
readonly chips: ArrayType<StringType>;
|
|
2075
|
+
readonly text: StringType;
|
|
2076
|
+
}>;
|
|
2077
|
+
}>>;
|
|
2078
|
+
readonly filtered: BooleanType;
|
|
2079
|
+
}>;
|
|
2080
|
+
/** The status registry (key → definition). */
|
|
2081
|
+
readonly Statuses: DictType<StringType, StructType<{
|
|
2082
|
+
readonly label: StringType;
|
|
2083
|
+
readonly color: import("@elaraai/east").VariantType<{
|
|
2084
|
+
readonly token: import("@elaraai/east").VariantType<{
|
|
2085
|
+
readonly success: NullType;
|
|
2086
|
+
readonly warning: NullType;
|
|
2087
|
+
readonly danger: NullType;
|
|
2088
|
+
readonly info: NullType;
|
|
2089
|
+
readonly neutral: NullType;
|
|
2090
|
+
}>;
|
|
2091
|
+
readonly custom: StringType;
|
|
2092
|
+
}>;
|
|
2093
|
+
readonly pulse: BooleanType;
|
|
2094
|
+
readonly hint: OptionType<StringType>;
|
|
2095
|
+
}>>;
|
|
2096
|
+
/** One status registry entry. */
|
|
2097
|
+
readonly Status: StructType<{
|
|
2098
|
+
readonly label: StringType;
|
|
2099
|
+
readonly color: import("@elaraai/east").VariantType<{
|
|
2100
|
+
readonly token: import("@elaraai/east").VariantType<{
|
|
2101
|
+
readonly success: NullType;
|
|
2102
|
+
readonly warning: NullType;
|
|
2103
|
+
readonly danger: NullType;
|
|
2104
|
+
readonly info: NullType;
|
|
2105
|
+
readonly neutral: NullType;
|
|
2106
|
+
}>;
|
|
2107
|
+
readonly custom: StringType;
|
|
2108
|
+
}>;
|
|
2109
|
+
readonly pulse: BooleanType;
|
|
2110
|
+
readonly hint: OptionType<StringType>;
|
|
2111
|
+
}>;
|
|
2112
|
+
/** A status colour (token or custom). */
|
|
2113
|
+
readonly StatusColor: import("@elaraai/east").VariantType<{
|
|
2114
|
+
readonly token: import("@elaraai/east").VariantType<{
|
|
2115
|
+
readonly success: NullType;
|
|
2116
|
+
readonly warning: NullType;
|
|
2117
|
+
readonly danger: NullType;
|
|
2118
|
+
readonly info: NullType;
|
|
2119
|
+
readonly neutral: NullType;
|
|
2120
|
+
}>;
|
|
2121
|
+
readonly custom: StringType;
|
|
2122
|
+
}>;
|
|
2123
|
+
/** A card metric. */
|
|
2124
|
+
readonly Metric: StructType<{
|
|
2125
|
+
readonly label: StringType;
|
|
2126
|
+
readonly value: OptionType<FloatType>;
|
|
2127
|
+
readonly format: OptionType<import("@elaraai/east").VariantType<{
|
|
2128
|
+
readonly number: NullType;
|
|
2129
|
+
readonly currency: StructType<{
|
|
2130
|
+
readonly code: StringType;
|
|
2131
|
+
readonly compact: BooleanType;
|
|
2132
|
+
}>;
|
|
2133
|
+
readonly percent: NullType;
|
|
2134
|
+
readonly compact: NullType;
|
|
2135
|
+
readonly date: StringType;
|
|
2136
|
+
readonly time: StringType;
|
|
2137
|
+
readonly datetime: StringType;
|
|
2138
|
+
}>>;
|
|
2139
|
+
readonly text: OptionType<StringType>;
|
|
2140
|
+
readonly warn: BooleanType;
|
|
2141
|
+
}>;
|
|
2142
|
+
/** The card fill bar. */
|
|
2143
|
+
readonly Fill: StructType<{
|
|
2144
|
+
readonly value: FloatType;
|
|
2145
|
+
readonly max: FloatType;
|
|
2146
|
+
readonly format: OptionType<import("@elaraai/east").VariantType<{
|
|
2147
|
+
readonly number: NullType;
|
|
2148
|
+
readonly currency: StructType<{
|
|
2149
|
+
readonly code: StringType;
|
|
2150
|
+
readonly compact: BooleanType;
|
|
2151
|
+
}>;
|
|
2152
|
+
readonly percent: NullType;
|
|
2153
|
+
readonly compact: NullType;
|
|
2154
|
+
readonly date: StringType;
|
|
2155
|
+
readonly time: StringType;
|
|
2156
|
+
readonly datetime: StringType;
|
|
2157
|
+
}>>;
|
|
2158
|
+
readonly text: OptionType<StringType>;
|
|
2159
|
+
}>;
|
|
2160
|
+
/** The readout rail component payload. */
|
|
2161
|
+
readonly Readout: StructType<{
|
|
2162
|
+
readonly cells: ArrayType<StructType<{
|
|
2163
|
+
readonly label: StringType;
|
|
2164
|
+
readonly value: OptionType<FloatType>;
|
|
2165
|
+
readonly format: OptionType<import("@elaraai/east").VariantType<{
|
|
2166
|
+
readonly number: NullType;
|
|
2167
|
+
readonly currency: StructType<{
|
|
2168
|
+
readonly code: StringType;
|
|
2169
|
+
readonly compact: BooleanType;
|
|
2170
|
+
}>;
|
|
2171
|
+
readonly percent: NullType;
|
|
2172
|
+
readonly compact: NullType;
|
|
2173
|
+
readonly date: StringType;
|
|
2174
|
+
readonly time: StringType;
|
|
2175
|
+
readonly datetime: StringType;
|
|
2176
|
+
}>>;
|
|
2177
|
+
readonly text: OptionType<StringType>;
|
|
2178
|
+
readonly unit: OptionType<StringType>;
|
|
2179
|
+
readonly warn: BooleanType;
|
|
2180
|
+
}>>;
|
|
2181
|
+
}>;
|
|
2182
|
+
/** The detail-rows component payload. */
|
|
2183
|
+
readonly Rows: StructType<{
|
|
2184
|
+
readonly rows: ArrayType<StructType<{
|
|
2185
|
+
readonly label: StringType;
|
|
2186
|
+
readonly value: StringType;
|
|
2187
|
+
}>>;
|
|
2188
|
+
}>;
|
|
2189
|
+
/** The note component payload. */
|
|
2190
|
+
readonly Note: StructType<{
|
|
2191
|
+
readonly text: StringType;
|
|
2192
|
+
}>;
|
|
2193
|
+
/** A labelled card fact. */
|
|
2194
|
+
readonly Fact: StructType<{
|
|
2195
|
+
readonly label: StringType;
|
|
2196
|
+
readonly value: import("@elaraai/east").VariantType<{
|
|
2197
|
+
readonly meter: StructType<{
|
|
2198
|
+
readonly value: FloatType;
|
|
2199
|
+
readonly max: FloatType;
|
|
2200
|
+
readonly text: OptionType<StringType>;
|
|
2201
|
+
}>;
|
|
2202
|
+
readonly chips: ArrayType<StringType>;
|
|
2203
|
+
readonly text: StringType;
|
|
2204
|
+
}>;
|
|
2205
|
+
}>;
|
|
2206
|
+
/** Fact value kinds (shared with Library dimensions). */
|
|
2207
|
+
readonly FactValue: import("@elaraai/east").VariantType<{
|
|
2208
|
+
readonly meter: StructType<{
|
|
2209
|
+
readonly value: FloatType;
|
|
2210
|
+
readonly max: FloatType;
|
|
2211
|
+
readonly text: OptionType<StringType>;
|
|
2212
|
+
}>;
|
|
2213
|
+
readonly chips: ArrayType<StringType>;
|
|
2214
|
+
readonly text: StringType;
|
|
2215
|
+
}>;
|
|
2216
|
+
/** Layout mode. */
|
|
2217
|
+
readonly Layout: import("@elaraai/east").VariantType<{
|
|
2218
|
+
readonly grid: NullType;
|
|
2219
|
+
readonly list: NullType;
|
|
2220
|
+
}>;
|
|
2221
|
+
/** Container style. */
|
|
2222
|
+
readonly Style: StructType<{
|
|
2223
|
+
readonly height: OptionType<StringType>;
|
|
2224
|
+
readonly maxHeight: OptionType<StringType>;
|
|
2225
|
+
readonly minCardWidth: OptionType<StringType>;
|
|
2226
|
+
}>;
|
|
2227
|
+
};
|
|
2228
|
+
};
|
|
2229
|
+
//# sourceMappingURL=index.d.ts.map
|