@elaraai/east-ui 1.0.30 → 1.0.32
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/README.md +1 -1
- package/dist/src/charts/chart/index.d.ts +116 -12
- package/dist/src/charts/chart/index.d.ts.map +1 -1
- package/dist/src/charts/chart/index.js +100 -37
- package/dist/src/charts/chart/index.js.map +1 -1
- package/dist/src/charts/index.d.ts +2 -1
- package/dist/src/charts/index.d.ts.map +1 -1
- package/dist/src/charts/index.js +2 -1
- package/dist/src/charts/index.js.map +1 -1
- package/dist/src/charts/spec/index.d.ts +5 -3
- package/dist/src/charts/spec/index.d.ts.map +1 -1
- package/dist/src/charts/spec/index.js +2 -2
- package/dist/src/charts/spec/index.js.map +1 -1
- package/dist/src/charts/spec/types.d.ts +7 -2
- package/dist/src/charts/spec/types.d.ts.map +1 -1
- package/dist/src/charts/spec/types.js +7 -2
- package/dist/src/charts/spec/types.js.map +1 -1
- package/dist/src/collections/blend/index.d.ts +59 -0
- package/dist/src/collections/blend/index.d.ts.map +1 -1
- package/dist/src/collections/blend/index.js +1 -0
- package/dist/src/collections/blend/index.js.map +1 -1
- package/dist/src/collections/blend/types.d.ts +66 -0
- package/dist/src/collections/blend/types.d.ts.map +1 -1
- package/dist/src/collections/blend/types.js +15 -1
- package/dist/src/collections/blend/types.js.map +1 -1
- package/dist/src/collections/board/index.d.ts +381 -28
- package/dist/src/collections/board/index.d.ts.map +1 -1
- package/dist/src/collections/board/index.js +133 -5
- package/dist/src/collections/board/index.js.map +1 -1
- package/dist/src/collections/board/types.d.ts +1 -198
- package/dist/src/collections/board/types.d.ts.map +1 -1
- package/dist/src/collections/board/types.js +6 -73
- package/dist/src/collections/board/types.js.map +1 -1
- package/dist/src/collections/gantt/index.d.ts +63 -24
- package/dist/src/collections/gantt/index.d.ts.map +1 -1
- package/dist/src/collections/gantt/index.js +98 -64
- package/dist/src/collections/gantt/index.js.map +1 -1
- package/dist/src/collections/gantt/types.d.ts +31 -76
- package/dist/src/collections/gantt/types.d.ts.map +1 -1
- package/dist/src/collections/gantt/types.js +18 -60
- package/dist/src/collections/gantt/types.js.map +1 -1
- package/dist/src/collections/library/index.d.ts +700 -17
- package/dist/src/collections/library/index.d.ts.map +1 -1
- package/dist/src/collections/library/index.js +66 -12
- package/dist/src/collections/library/index.js.map +1 -1
- package/dist/src/collections/library/types.d.ts +710 -38
- package/dist/src/collections/library/types.d.ts.map +1 -1
- package/dist/src/collections/library/types.js +48 -20
- package/dist/src/collections/library/types.js.map +1 -1
- package/dist/src/collections/planner/index.d.ts +45 -26
- package/dist/src/collections/planner/index.d.ts.map +1 -1
- package/dist/src/collections/planner/index.js +37 -27
- package/dist/src/collections/planner/index.js.map +1 -1
- package/dist/src/collections/planner/types.d.ts +11 -0
- package/dist/src/collections/planner/types.d.ts.map +1 -1
- package/dist/src/collections/planner/types.js +11 -0
- package/dist/src/collections/planner/types.js.map +1 -1
- package/dist/src/collections/roster/index.d.ts +397 -21
- package/dist/src/collections/roster/index.d.ts.map +1 -1
- package/dist/src/collections/roster/index.js +94 -4
- package/dist/src/collections/roster/index.js.map +1 -1
- package/dist/src/collections/roster/types.d.ts +15 -161
- package/dist/src/collections/roster/types.d.ts.map +1 -1
- package/dist/src/collections/roster/types.js +13 -58
- package/dist/src/collections/roster/types.js.map +1 -1
- package/dist/src/collections/table/index.d.ts +8 -0
- package/dist/src/collections/table/index.d.ts.map +1 -1
- package/dist/src/collections/table/index.js +22 -0
- package/dist/src/collections/table/index.js.map +1 -1
- package/dist/src/collections/table/types.d.ts +17 -0
- package/dist/src/collections/table/types.d.ts.map +1 -1
- package/dist/src/collections/table/types.js.map +1 -1
- package/dist/src/component.d.ts +1411 -299
- package/dist/src/component.d.ts.map +1 -1
- package/dist/src/component.js +131 -11
- package/dist/src/component.js.map +1 -1
- package/dist/src/contracts/drag.d.ts +122 -1
- package/dist/src/contracts/drag.d.ts.map +1 -1
- package/dist/src/contracts/drag.js +46 -1
- package/dist/src/contracts/drag.js.map +1 -1
- package/dist/src/contracts/index.d.ts +2 -1
- package/dist/src/contracts/index.d.ts.map +1 -1
- package/dist/src/contracts/index.js +2 -1
- package/dist/src/contracts/index.js.map +1 -1
- package/dist/src/contracts/review.d.ts +198 -0
- package/dist/src/contracts/review.d.ts.map +1 -0
- package/dist/src/contracts/review.js +163 -0
- package/dist/src/contracts/review.js.map +1 -0
- package/dist/src/index.d.ts +3 -2
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +4 -2
- package/dist/src/index.js.map +1 -1
- package/dist/src/internal.d.ts +4 -2
- package/dist/src/internal.d.ts.map +1 -1
- package/dist/src/internal.js +5 -2
- package/dist/src/internal.js.map +1 -1
- package/dist/src/layout/expandable/index.d.ts +116 -0
- package/dist/src/layout/expandable/index.d.ts.map +1 -0
- package/dist/src/layout/expandable/index.js +129 -0
- package/dist/src/layout/expandable/index.js.map +1 -0
- package/dist/src/layout/expandable/types.d.ts +43 -0
- package/dist/src/layout/expandable/types.d.ts.map +1 -0
- package/dist/src/layout/expandable/types.js +18 -0
- package/dist/src/layout/expandable/types.js.map +1 -0
- package/dist/src/layout/index.d.ts +1 -0
- package/dist/src/layout/index.d.ts.map +1 -1
- package/dist/src/layout/index.js +1 -0
- package/dist/src/layout/index.js.map +1 -1
- package/dist/src/runtime/charts/chart.d.ts +16 -13
- package/dist/src/runtime/charts/chart.d.ts.map +1 -1
- package/dist/src/runtime/charts/chart.js +16 -13
- package/dist/src/runtime/charts/chart.js.map +1 -1
- package/dist/src/runtime/collections/library.d.ts +4 -2
- package/dist/src/runtime/collections/library.d.ts.map +1 -1
- package/dist/src/runtime/collections/library.js +4 -2
- package/dist/src/runtime/collections/library.js.map +1 -1
- package/dist/src/runtime/layout/expandable.d.ts +43 -0
- package/dist/src/runtime/layout/expandable.d.ts.map +1 -0
- package/dist/src/runtime/layout/expandable.js +41 -0
- package/dist/src/runtime/layout/expandable.js.map +1 -0
- package/dist/src/runtime/layout/index.d.ts +1 -0
- package/dist/src/runtime/layout/index.d.ts.map +1 -1
- package/dist/src/runtime/layout/index.js +1 -0
- package/dist/src/runtime/layout/index.js.map +1 -1
- package/dist/test/charts/chart.examples.d.ts +8 -4
- package/dist/test/charts/chart.examples.d.ts.map +1 -1
- package/dist/test/charts/chart.examples.js +89 -34
- package/dist/test/charts/chart.examples.js.map +1 -1
- package/dist/test/collections/blend.examples.d.ts +10 -1
- package/dist/test/collections/blend.examples.d.ts.map +1 -1
- package/dist/test/collections/blend.examples.js +52 -6
- package/dist/test/collections/blend.examples.js.map +1 -1
- package/dist/test/collections/board.examples.d.ts +8 -1
- package/dist/test/collections/board.examples.d.ts.map +1 -1
- package/dist/test/collections/board.examples.js +32 -5
- package/dist/test/collections/board.examples.js.map +1 -1
- package/dist/test/collections/gantt.examples.d.ts +26 -1
- package/dist/test/collections/gantt.examples.d.ts.map +1 -1
- package/dist/test/collections/gantt.examples.js +153 -27
- package/dist/test/collections/gantt.examples.js.map +1 -1
- package/dist/test/collections/library.examples.d.ts +3 -0
- package/dist/test/collections/library.examples.d.ts.map +1 -1
- package/dist/test/collections/library.examples.js +107 -2
- package/dist/test/collections/library.examples.js.map +1 -1
- package/dist/test/collections/planner.examples.d.ts +14 -0
- package/dist/test/collections/planner.examples.d.ts.map +1 -1
- package/dist/test/collections/planner.examples.js +127 -3
- package/dist/test/collections/planner.examples.js.map +1 -1
- package/dist/test/collections/roster.examples.d.ts +17 -1
- package/dist/test/collections/roster.examples.d.ts.map +1 -1
- package/dist/test/collections/roster.examples.js +89 -9
- package/dist/test/collections/roster.examples.js.map +1 -1
- package/dist/test/collections/table.examples.d.ts +16 -0
- package/dist/test/collections/table.examples.d.ts.map +1 -1
- package/dist/test/collections/table.examples.js +62 -2
- package/dist/test/collections/table.examples.js.map +1 -1
- package/dist/test/disclosure/story.examples.js +3 -3
- package/dist/test/disclosure/story.examples.js.map +1 -1
- package/dist/test/layout/expandable.examples.d.ts +3 -0
- package/dist/test/layout/expandable.examples.d.ts.map +1 -0
- package/dist/test/layout/expandable.examples.js +31 -0
- package/dist/test/layout/expandable.examples.js.map +1 -0
- package/dist/test/layout/index.d.ts +1 -0
- package/dist/test/layout/index.d.ts.map +1 -1
- package/dist/test/layout/index.js +1 -0
- package/dist/test/layout/index.js.map +1 -1
- package/package.json +3 -3
|
@@ -16,8 +16,10 @@ import { type ExprType, type SubtypeExprOrValue, type TypeOf, type FunctionType,
|
|
|
16
16
|
import { UIComponentType } from "../../component.js";
|
|
17
17
|
import { type IconName } from "../../display/icon/types.js";
|
|
18
18
|
import { StatusTokenType, type StatusTokenLiteral } from "../../style/interaction.js";
|
|
19
|
-
import {
|
|
20
|
-
|
|
19
|
+
import { SliceBindType } from "../../platform/slice/index.js";
|
|
20
|
+
import { type SliceAffordanceLiteral } from "../../contracts/slice-affordances.js";
|
|
21
|
+
import { LibraryStatusType, type LibraryStyle } from "./types.js";
|
|
22
|
+
export { LibraryRootType, LibraryItemType, LibraryCardFaceType, LibraryStatusType, LibraryDimValueType, LibraryGroupMetaType, LibraryDimMetaType, LibraryStyleType, type LibraryStyle, } from "./types.js";
|
|
21
23
|
/**
|
|
22
24
|
* The struct element type of a `SubtypeExprOrValue<ArrayType<StructType>>`.
|
|
23
25
|
*/
|
|
@@ -31,6 +33,7 @@ export type RowElement<T extends SubtypeExprOrValue<ArrayType<StructType>>> = Ty
|
|
|
31
33
|
* @property icon - Optional Font Awesome solid icon name
|
|
32
34
|
* @property status - Optional status pill (`some(Library.status(...))` or a conditional option expression)
|
|
33
35
|
* @property draggable - Whether the card can start a drag (default `true`)
|
|
36
|
+
* @property filtered - Whether the card renders de-emphasised (default `false`) — map `Slice.partition`'s `matched.not()` here to keep filtered-out cards as dimmed context
|
|
34
37
|
*/
|
|
35
38
|
export interface LibraryCardFields {
|
|
36
39
|
/** Item identity; carried by `LibraryRef` when dragged */
|
|
@@ -45,6 +48,8 @@ export interface LibraryCardFields {
|
|
|
45
48
|
status?: SubtypeExprOrValue<OptionType<LibraryStatusType>>;
|
|
46
49
|
/** Whether the card can start a drag (default `true`) */
|
|
47
50
|
draggable?: SubtypeExprOrValue<BooleanType>;
|
|
51
|
+
/** Whether the card renders de-emphasised — dimmed, drag disabled (default `false`) */
|
|
52
|
+
filtered?: SubtypeExprOrValue<BooleanType>;
|
|
48
53
|
}
|
|
49
54
|
/**
|
|
50
55
|
* Creates a status pill value for a card face.
|
|
@@ -151,20 +156,23 @@ export interface LibraryGroupDef<R extends StructType> {
|
|
|
151
156
|
* @typeParam R - The struct type of each data row
|
|
152
157
|
* @property id - DnD source identity — targets list it in their `sources`
|
|
153
158
|
* @property item - Item row mapper — returns card-face fields (or a resolved face expression)
|
|
154
|
-
* @property hint - Optional header-right caption (
|
|
159
|
+
* @property hint - Optional header-right caption (absent ⇒ no header band)
|
|
155
160
|
* @property dimensions - Secondary dimensions (toolbar-toggleable card facts)
|
|
156
161
|
* @property defaultDimensions - Initially-visible dimension keys (default: the first two)
|
|
157
162
|
* @property groupBy - GROUP BY options; omit for a flat list
|
|
158
|
-
* @property search - Filter-text accessor; unmatched cards
|
|
163
|
+
* @property search - Filter-text accessor; unmatched cards hide (the footer shows the hidden count + Show all)
|
|
159
164
|
* @property addLabel - Optional footer action label
|
|
160
165
|
* @property onAdd - Optional footer action callback
|
|
166
|
+
* @property slice - Optional slice chrome: the bound handle; the Library renders the rail + count footer, never narrows data itself
|
|
167
|
+
* @property affordances - Rail affordances when `slice` is set (default `["filter", "search"]`)
|
|
168
|
+
* @property style - Optional layout style (height / maxHeight / virtualization)
|
|
161
169
|
*/
|
|
162
170
|
export interface LibraryConfig<R extends StructType> {
|
|
163
171
|
/** DnD source identity — targets list it in their `sources` */
|
|
164
172
|
id: string;
|
|
165
173
|
/** Item row mapper — returns card-face fields (or a resolved face expression). */
|
|
166
174
|
item: (row: ExprType<R>) => LibraryCardFields;
|
|
167
|
-
/** Optional header-right caption (
|
|
175
|
+
/** Optional header-right caption (absent ⇒ no header band) */
|
|
168
176
|
hint?: SubtypeExprOrValue<StringType>;
|
|
169
177
|
/** Secondary dimensions (toolbar-toggleable card facts) */
|
|
170
178
|
dimensions?: LibraryDimensionDef<R>[];
|
|
@@ -172,12 +180,31 @@ export interface LibraryConfig<R extends StructType> {
|
|
|
172
180
|
defaultDimensions?: string[];
|
|
173
181
|
/** GROUP BY options; omit for a flat list */
|
|
174
182
|
groupBy?: LibraryGroupDef<R>[];
|
|
175
|
-
/** Filter-text accessor; unmatched cards
|
|
183
|
+
/** Filter-text accessor; unmatched cards hide (the footer shows the hidden count + Show all) */
|
|
176
184
|
search?: (row: ExprType<R>) => SubtypeExprOrValue<StringType>;
|
|
177
185
|
/** Optional footer action label */
|
|
178
186
|
addLabel?: SubtypeExprOrValue<StringType>;
|
|
179
187
|
/** Optional footer action callback */
|
|
180
188
|
onAdd?: SubtypeExprOrValue<FunctionType<[], NullType>>;
|
|
189
|
+
/**
|
|
190
|
+
* Slice chrome — pass the bound handle and the Library renders the frame
|
|
191
|
+
* chassis itself: a rail mounting the `affordances` (default
|
|
192
|
+
* `["filter", "search"]`) and a derived-count footer. Chrome only: feed
|
|
193
|
+
* the narrowed data explicitly via `data={Slice.rows([RowType], slice)}`,
|
|
194
|
+
* or keep filtered-out cards as dimmed context by feeding
|
|
195
|
+
* `Slice.partition([RowType], slice)` and mapping `matched.not()` into the
|
|
196
|
+
* card face's `filtered`. `brush` / `legend` / `breakdown` are rejected —
|
|
197
|
+
* the Library has no continuous axis or series, and slice breakdown would
|
|
198
|
+
* fight the built-in GROUP BY toolbar. When the `search` affordance is
|
|
199
|
+
* active the built-in search input is suppressed (the rail's search
|
|
200
|
+
* narrows the fed rows; two search boxes with different semantics is a
|
|
201
|
+
* trap).
|
|
202
|
+
*/
|
|
203
|
+
slice?: SubtypeExprOrValue<SliceBindType>;
|
|
204
|
+
/** Rail affordances when `slice` is set (default `["filter", "search"]`) */
|
|
205
|
+
affordances?: SliceAffordanceLiteral[];
|
|
206
|
+
/** Optional layout style (height / maxHeight / virtualization) */
|
|
207
|
+
style?: LibraryStyle;
|
|
181
208
|
}
|
|
182
209
|
/**
|
|
183
210
|
* Creates a Library — a draggable palette of assignable items.
|
|
@@ -228,8 +255,9 @@ export declare const Library: {
|
|
|
228
255
|
*
|
|
229
256
|
* @remarks
|
|
230
257
|
* Declares the DnD **source** role under `config.id`. Cards with
|
|
231
|
-
* `draggable: false` show no grip and never start a drag.
|
|
232
|
-
*
|
|
258
|
+
* `draggable: false` show no grip and never start a drag. The quick
|
|
259
|
+
* search hides unmatched cards (the footer shows the hidden count);
|
|
260
|
+
* the `filtered` face field dims a card instead.
|
|
233
261
|
*
|
|
234
262
|
* @example
|
|
235
263
|
* ```ts
|
|
@@ -275,11 +303,14 @@ export declare const Library: {
|
|
|
275
303
|
* @property hint - Optional header-right caption
|
|
276
304
|
* @property items - The resolved cards
|
|
277
305
|
* @property groupOptions - GROUP BY toolbar options
|
|
306
|
+
* @property groupSummaries - Group-head summary text per option key, per group value
|
|
278
307
|
* @property dimOptions - SECONDARY dimension toggles
|
|
279
308
|
* @property defaultDimensions - Initially-visible dimension keys
|
|
280
309
|
* @property searchable - Whether the search input renders
|
|
281
310
|
* @property addLabel - Optional footer action label
|
|
282
311
|
* @property onAdd - Optional footer action callback
|
|
312
|
+
* @property slice - Optional slice chrome (bound handle + rail affordances)
|
|
313
|
+
* @property style - Optional layout style (height / maxHeight / virtualization)
|
|
283
314
|
*/
|
|
284
315
|
readonly Library: StructType<{
|
|
285
316
|
readonly id: StringType;
|
|
@@ -300,11 +331,9 @@ export declare const Library: {
|
|
|
300
331
|
}>;
|
|
301
332
|
}>>;
|
|
302
333
|
readonly draggable: BooleanType;
|
|
334
|
+
readonly filtered: BooleanType;
|
|
303
335
|
readonly search: OptionType<StringType>;
|
|
304
|
-
readonly groups: DictType<StringType,
|
|
305
|
-
readonly value: StringType;
|
|
306
|
-
readonly summary: OptionType<StringType>;
|
|
307
|
-
}>>;
|
|
336
|
+
readonly groups: DictType<StringType, StringType>;
|
|
308
337
|
readonly dims: DictType<StringType, import("@elaraai/east").VariantType<{
|
|
309
338
|
readonly meter: StructType<{
|
|
310
339
|
readonly value: FloatType;
|
|
@@ -319,6 +348,7 @@ export declare const Library: {
|
|
|
319
348
|
readonly key: StringType;
|
|
320
349
|
readonly label: StringType;
|
|
321
350
|
}>>;
|
|
351
|
+
readonly groupSummaries: DictType<StringType, DictType<StringType, StringType>>;
|
|
322
352
|
readonly dimOptions: ArrayType<StructType<{
|
|
323
353
|
readonly key: StringType;
|
|
324
354
|
readonly label: StringType;
|
|
@@ -327,6 +357,646 @@ export declare const Library: {
|
|
|
327
357
|
readonly searchable: BooleanType;
|
|
328
358
|
readonly addLabel: OptionType<StringType>;
|
|
329
359
|
readonly onAdd: OptionType<FunctionType<[], NullType>>;
|
|
360
|
+
readonly slice: OptionType<StructType<{
|
|
361
|
+
readonly slice: StructType<{
|
|
362
|
+
readonly key: StringType;
|
|
363
|
+
readonly read: FunctionType<[], StructType<{
|
|
364
|
+
readonly range: OptionType<import("@elaraai/east").VariantType<{
|
|
365
|
+
readonly datetime: StructType<{
|
|
366
|
+
readonly from: import("@elaraai/east").DateTimeType;
|
|
367
|
+
readonly to: import("@elaraai/east").DateTimeType;
|
|
368
|
+
}>;
|
|
369
|
+
readonly datetimePreset: import("@elaraai/east").VariantType<{
|
|
370
|
+
readonly today: NullType;
|
|
371
|
+
readonly last7d: NullType;
|
|
372
|
+
readonly last30d: NullType;
|
|
373
|
+
readonly last90d: NullType;
|
|
374
|
+
readonly ytd: NullType;
|
|
375
|
+
}>;
|
|
376
|
+
readonly integer: StructType<{
|
|
377
|
+
readonly from: import("@elaraai/east").IntegerType;
|
|
378
|
+
readonly to: import("@elaraai/east").IntegerType;
|
|
379
|
+
}>;
|
|
380
|
+
readonly float: StructType<{
|
|
381
|
+
readonly from: FloatType;
|
|
382
|
+
readonly to: FloatType;
|
|
383
|
+
}>;
|
|
384
|
+
}>>;
|
|
385
|
+
readonly compare: OptionType<import("@elaraai/east").VariantType<{
|
|
386
|
+
readonly previousPeriod: NullType;
|
|
387
|
+
readonly previousYear: NullType;
|
|
388
|
+
}>>;
|
|
389
|
+
readonly filters: ArrayType<import("@elaraai/east").VariantType<{
|
|
390
|
+
readonly string: StructType<{
|
|
391
|
+
readonly fieldId: StringType;
|
|
392
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
393
|
+
readonly eq: StringType;
|
|
394
|
+
readonly neq: StringType;
|
|
395
|
+
readonly in: import("@elaraai/east").SetType<StringType>;
|
|
396
|
+
readonly notIn: import("@elaraai/east").SetType<StringType>;
|
|
397
|
+
readonly contains: StringType;
|
|
398
|
+
readonly matches: StringType;
|
|
399
|
+
readonly startsWith: StringType;
|
|
400
|
+
readonly endsWith: StringType;
|
|
401
|
+
readonly isEmpty: NullType;
|
|
402
|
+
readonly isNotEmpty: NullType;
|
|
403
|
+
}>;
|
|
404
|
+
}>;
|
|
405
|
+
readonly integer: StructType<{
|
|
406
|
+
readonly fieldId: StringType;
|
|
407
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
408
|
+
readonly eq: import("@elaraai/east").IntegerType;
|
|
409
|
+
readonly neq: import("@elaraai/east").IntegerType;
|
|
410
|
+
readonly lt: import("@elaraai/east").IntegerType;
|
|
411
|
+
readonly lte: import("@elaraai/east").IntegerType;
|
|
412
|
+
readonly gt: import("@elaraai/east").IntegerType;
|
|
413
|
+
readonly gte: import("@elaraai/east").IntegerType;
|
|
414
|
+
readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
|
|
415
|
+
}>;
|
|
416
|
+
}>;
|
|
417
|
+
readonly float: StructType<{
|
|
418
|
+
readonly fieldId: StringType;
|
|
419
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
420
|
+
readonly lt: FloatType;
|
|
421
|
+
readonly lte: FloatType;
|
|
422
|
+
readonly gt: FloatType;
|
|
423
|
+
readonly gte: FloatType;
|
|
424
|
+
}>;
|
|
425
|
+
}>;
|
|
426
|
+
readonly datetime: StructType<{
|
|
427
|
+
readonly fieldId: StringType;
|
|
428
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
429
|
+
readonly before: import("@elaraai/east").DateTimeType;
|
|
430
|
+
readonly after: import("@elaraai/east").DateTimeType;
|
|
431
|
+
readonly between: StructType<{
|
|
432
|
+
readonly from: import("@elaraai/east").DateTimeType;
|
|
433
|
+
readonly to: import("@elaraai/east").DateTimeType;
|
|
434
|
+
}>;
|
|
435
|
+
}>;
|
|
436
|
+
}>;
|
|
437
|
+
readonly boolean: StructType<{
|
|
438
|
+
readonly fieldId: StringType;
|
|
439
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
440
|
+
readonly is: BooleanType;
|
|
441
|
+
}>;
|
|
442
|
+
}>;
|
|
443
|
+
}>>;
|
|
444
|
+
readonly cohorts: ArrayType<StructType<{
|
|
445
|
+
readonly id: StringType;
|
|
446
|
+
readonly name: StringType;
|
|
447
|
+
readonly filters: ArrayType<import("@elaraai/east").VariantType<{
|
|
448
|
+
readonly string: StructType<{
|
|
449
|
+
readonly fieldId: StringType;
|
|
450
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
451
|
+
readonly eq: StringType;
|
|
452
|
+
readonly neq: StringType;
|
|
453
|
+
readonly in: import("@elaraai/east").SetType<StringType>;
|
|
454
|
+
readonly notIn: import("@elaraai/east").SetType<StringType>;
|
|
455
|
+
readonly contains: StringType;
|
|
456
|
+
readonly matches: StringType;
|
|
457
|
+
readonly startsWith: StringType;
|
|
458
|
+
readonly endsWith: StringType;
|
|
459
|
+
readonly isEmpty: NullType;
|
|
460
|
+
readonly isNotEmpty: NullType;
|
|
461
|
+
}>;
|
|
462
|
+
}>;
|
|
463
|
+
readonly integer: StructType<{
|
|
464
|
+
readonly fieldId: StringType;
|
|
465
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
466
|
+
readonly eq: import("@elaraai/east").IntegerType;
|
|
467
|
+
readonly neq: import("@elaraai/east").IntegerType;
|
|
468
|
+
readonly lt: import("@elaraai/east").IntegerType;
|
|
469
|
+
readonly lte: import("@elaraai/east").IntegerType;
|
|
470
|
+
readonly gt: import("@elaraai/east").IntegerType;
|
|
471
|
+
readonly gte: import("@elaraai/east").IntegerType;
|
|
472
|
+
readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
|
|
473
|
+
}>;
|
|
474
|
+
}>;
|
|
475
|
+
readonly float: StructType<{
|
|
476
|
+
readonly fieldId: StringType;
|
|
477
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
478
|
+
readonly lt: FloatType;
|
|
479
|
+
readonly lte: FloatType;
|
|
480
|
+
readonly gt: FloatType;
|
|
481
|
+
readonly gte: FloatType;
|
|
482
|
+
}>;
|
|
483
|
+
}>;
|
|
484
|
+
readonly datetime: StructType<{
|
|
485
|
+
readonly fieldId: StringType;
|
|
486
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
487
|
+
readonly before: import("@elaraai/east").DateTimeType;
|
|
488
|
+
readonly after: import("@elaraai/east").DateTimeType;
|
|
489
|
+
readonly between: StructType<{
|
|
490
|
+
readonly from: import("@elaraai/east").DateTimeType;
|
|
491
|
+
readonly to: import("@elaraai/east").DateTimeType;
|
|
492
|
+
}>;
|
|
493
|
+
}>;
|
|
494
|
+
}>;
|
|
495
|
+
readonly boolean: StructType<{
|
|
496
|
+
readonly fieldId: StringType;
|
|
497
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
498
|
+
readonly is: BooleanType;
|
|
499
|
+
}>;
|
|
500
|
+
}>;
|
|
501
|
+
}>>;
|
|
502
|
+
}>>;
|
|
503
|
+
readonly activeCohorts: import("@elaraai/east").SetType<StringType>;
|
|
504
|
+
readonly breakdown: OptionType<StructType<{
|
|
505
|
+
readonly fieldId: StringType;
|
|
506
|
+
readonly limit: OptionType<import("@elaraai/east").IntegerType>;
|
|
507
|
+
}>>;
|
|
508
|
+
readonly search: OptionType<StringType>;
|
|
509
|
+
readonly visible: OptionType<import("@elaraai/east").SetType<StringType>>;
|
|
510
|
+
readonly selectedIndex: OptionType<import("@elaraai/east").IntegerType>;
|
|
511
|
+
}>>;
|
|
512
|
+
readonly write: FunctionType<[StructType<{
|
|
513
|
+
readonly range: OptionType<import("@elaraai/east").VariantType<{
|
|
514
|
+
readonly datetime: StructType<{
|
|
515
|
+
readonly from: import("@elaraai/east").DateTimeType;
|
|
516
|
+
readonly to: import("@elaraai/east").DateTimeType;
|
|
517
|
+
}>;
|
|
518
|
+
readonly datetimePreset: import("@elaraai/east").VariantType<{
|
|
519
|
+
readonly today: NullType;
|
|
520
|
+
readonly last7d: NullType;
|
|
521
|
+
readonly last30d: NullType;
|
|
522
|
+
readonly last90d: NullType;
|
|
523
|
+
readonly ytd: NullType;
|
|
524
|
+
}>;
|
|
525
|
+
readonly integer: StructType<{
|
|
526
|
+
readonly from: import("@elaraai/east").IntegerType;
|
|
527
|
+
readonly to: import("@elaraai/east").IntegerType;
|
|
528
|
+
}>;
|
|
529
|
+
readonly float: StructType<{
|
|
530
|
+
readonly from: FloatType;
|
|
531
|
+
readonly to: FloatType;
|
|
532
|
+
}>;
|
|
533
|
+
}>>;
|
|
534
|
+
readonly compare: OptionType<import("@elaraai/east").VariantType<{
|
|
535
|
+
readonly previousPeriod: NullType;
|
|
536
|
+
readonly previousYear: NullType;
|
|
537
|
+
}>>;
|
|
538
|
+
readonly filters: ArrayType<import("@elaraai/east").VariantType<{
|
|
539
|
+
readonly string: StructType<{
|
|
540
|
+
readonly fieldId: StringType;
|
|
541
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
542
|
+
readonly eq: StringType;
|
|
543
|
+
readonly neq: StringType;
|
|
544
|
+
readonly in: import("@elaraai/east").SetType<StringType>;
|
|
545
|
+
readonly notIn: import("@elaraai/east").SetType<StringType>;
|
|
546
|
+
readonly contains: StringType;
|
|
547
|
+
readonly matches: StringType;
|
|
548
|
+
readonly startsWith: StringType;
|
|
549
|
+
readonly endsWith: StringType;
|
|
550
|
+
readonly isEmpty: NullType;
|
|
551
|
+
readonly isNotEmpty: NullType;
|
|
552
|
+
}>;
|
|
553
|
+
}>;
|
|
554
|
+
readonly integer: StructType<{
|
|
555
|
+
readonly fieldId: StringType;
|
|
556
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
557
|
+
readonly eq: import("@elaraai/east").IntegerType;
|
|
558
|
+
readonly neq: import("@elaraai/east").IntegerType;
|
|
559
|
+
readonly lt: import("@elaraai/east").IntegerType;
|
|
560
|
+
readonly lte: import("@elaraai/east").IntegerType;
|
|
561
|
+
readonly gt: import("@elaraai/east").IntegerType;
|
|
562
|
+
readonly gte: import("@elaraai/east").IntegerType;
|
|
563
|
+
readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
|
|
564
|
+
}>;
|
|
565
|
+
}>;
|
|
566
|
+
readonly float: StructType<{
|
|
567
|
+
readonly fieldId: StringType;
|
|
568
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
569
|
+
readonly lt: FloatType;
|
|
570
|
+
readonly lte: FloatType;
|
|
571
|
+
readonly gt: FloatType;
|
|
572
|
+
readonly gte: FloatType;
|
|
573
|
+
}>;
|
|
574
|
+
}>;
|
|
575
|
+
readonly datetime: StructType<{
|
|
576
|
+
readonly fieldId: StringType;
|
|
577
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
578
|
+
readonly before: import("@elaraai/east").DateTimeType;
|
|
579
|
+
readonly after: import("@elaraai/east").DateTimeType;
|
|
580
|
+
readonly between: StructType<{
|
|
581
|
+
readonly from: import("@elaraai/east").DateTimeType;
|
|
582
|
+
readonly to: import("@elaraai/east").DateTimeType;
|
|
583
|
+
}>;
|
|
584
|
+
}>;
|
|
585
|
+
}>;
|
|
586
|
+
readonly boolean: StructType<{
|
|
587
|
+
readonly fieldId: StringType;
|
|
588
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
589
|
+
readonly is: BooleanType;
|
|
590
|
+
}>;
|
|
591
|
+
}>;
|
|
592
|
+
}>>;
|
|
593
|
+
readonly cohorts: ArrayType<StructType<{
|
|
594
|
+
readonly id: StringType;
|
|
595
|
+
readonly name: StringType;
|
|
596
|
+
readonly filters: ArrayType<import("@elaraai/east").VariantType<{
|
|
597
|
+
readonly string: StructType<{
|
|
598
|
+
readonly fieldId: StringType;
|
|
599
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
600
|
+
readonly eq: StringType;
|
|
601
|
+
readonly neq: StringType;
|
|
602
|
+
readonly in: import("@elaraai/east").SetType<StringType>;
|
|
603
|
+
readonly notIn: import("@elaraai/east").SetType<StringType>;
|
|
604
|
+
readonly contains: StringType;
|
|
605
|
+
readonly matches: StringType;
|
|
606
|
+
readonly startsWith: StringType;
|
|
607
|
+
readonly endsWith: StringType;
|
|
608
|
+
readonly isEmpty: NullType;
|
|
609
|
+
readonly isNotEmpty: NullType;
|
|
610
|
+
}>;
|
|
611
|
+
}>;
|
|
612
|
+
readonly integer: StructType<{
|
|
613
|
+
readonly fieldId: StringType;
|
|
614
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
615
|
+
readonly eq: import("@elaraai/east").IntegerType;
|
|
616
|
+
readonly neq: import("@elaraai/east").IntegerType;
|
|
617
|
+
readonly lt: import("@elaraai/east").IntegerType;
|
|
618
|
+
readonly lte: import("@elaraai/east").IntegerType;
|
|
619
|
+
readonly gt: import("@elaraai/east").IntegerType;
|
|
620
|
+
readonly gte: import("@elaraai/east").IntegerType;
|
|
621
|
+
readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
|
|
622
|
+
}>;
|
|
623
|
+
}>;
|
|
624
|
+
readonly float: StructType<{
|
|
625
|
+
readonly fieldId: StringType;
|
|
626
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
627
|
+
readonly lt: FloatType;
|
|
628
|
+
readonly lte: FloatType;
|
|
629
|
+
readonly gt: FloatType;
|
|
630
|
+
readonly gte: FloatType;
|
|
631
|
+
}>;
|
|
632
|
+
}>;
|
|
633
|
+
readonly datetime: StructType<{
|
|
634
|
+
readonly fieldId: StringType;
|
|
635
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
636
|
+
readonly before: import("@elaraai/east").DateTimeType;
|
|
637
|
+
readonly after: import("@elaraai/east").DateTimeType;
|
|
638
|
+
readonly between: StructType<{
|
|
639
|
+
readonly from: import("@elaraai/east").DateTimeType;
|
|
640
|
+
readonly to: import("@elaraai/east").DateTimeType;
|
|
641
|
+
}>;
|
|
642
|
+
}>;
|
|
643
|
+
}>;
|
|
644
|
+
readonly boolean: StructType<{
|
|
645
|
+
readonly fieldId: StringType;
|
|
646
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
647
|
+
readonly is: BooleanType;
|
|
648
|
+
}>;
|
|
649
|
+
}>;
|
|
650
|
+
}>>;
|
|
651
|
+
}>>;
|
|
652
|
+
readonly activeCohorts: import("@elaraai/east").SetType<StringType>;
|
|
653
|
+
readonly breakdown: OptionType<StructType<{
|
|
654
|
+
readonly fieldId: StringType;
|
|
655
|
+
readonly limit: OptionType<import("@elaraai/east").IntegerType>;
|
|
656
|
+
}>>;
|
|
657
|
+
readonly search: OptionType<StringType>;
|
|
658
|
+
readonly visible: OptionType<import("@elaraai/east").SetType<StringType>>;
|
|
659
|
+
readonly selectedIndex: OptionType<import("@elaraai/east").IntegerType>;
|
|
660
|
+
}>], NullType>;
|
|
661
|
+
readonly setRange: FunctionType<[OptionType<import("@elaraai/east").VariantType<{
|
|
662
|
+
readonly datetime: StructType<{
|
|
663
|
+
readonly from: import("@elaraai/east").DateTimeType;
|
|
664
|
+
readonly to: import("@elaraai/east").DateTimeType;
|
|
665
|
+
}>;
|
|
666
|
+
readonly datetimePreset: import("@elaraai/east").VariantType<{
|
|
667
|
+
readonly today: NullType;
|
|
668
|
+
readonly last7d: NullType;
|
|
669
|
+
readonly last30d: NullType;
|
|
670
|
+
readonly last90d: NullType;
|
|
671
|
+
readonly ytd: NullType;
|
|
672
|
+
}>;
|
|
673
|
+
readonly integer: StructType<{
|
|
674
|
+
readonly from: import("@elaraai/east").IntegerType;
|
|
675
|
+
readonly to: import("@elaraai/east").IntegerType;
|
|
676
|
+
}>;
|
|
677
|
+
readonly float: StructType<{
|
|
678
|
+
readonly from: FloatType;
|
|
679
|
+
readonly to: FloatType;
|
|
680
|
+
}>;
|
|
681
|
+
}>>], NullType>;
|
|
682
|
+
readonly setCompare: FunctionType<[OptionType<import("@elaraai/east").VariantType<{
|
|
683
|
+
readonly previousPeriod: NullType;
|
|
684
|
+
readonly previousYear: NullType;
|
|
685
|
+
}>>], NullType>;
|
|
686
|
+
readonly addFilter: FunctionType<[import("@elaraai/east").VariantType<{
|
|
687
|
+
readonly string: StructType<{
|
|
688
|
+
readonly fieldId: StringType;
|
|
689
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
690
|
+
readonly eq: StringType;
|
|
691
|
+
readonly neq: StringType;
|
|
692
|
+
readonly in: import("@elaraai/east").SetType<StringType>;
|
|
693
|
+
readonly notIn: import("@elaraai/east").SetType<StringType>;
|
|
694
|
+
readonly contains: StringType;
|
|
695
|
+
readonly matches: StringType;
|
|
696
|
+
readonly startsWith: StringType;
|
|
697
|
+
readonly endsWith: StringType;
|
|
698
|
+
readonly isEmpty: NullType;
|
|
699
|
+
readonly isNotEmpty: NullType;
|
|
700
|
+
}>;
|
|
701
|
+
}>;
|
|
702
|
+
readonly integer: StructType<{
|
|
703
|
+
readonly fieldId: StringType;
|
|
704
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
705
|
+
readonly eq: import("@elaraai/east").IntegerType;
|
|
706
|
+
readonly neq: import("@elaraai/east").IntegerType;
|
|
707
|
+
readonly lt: import("@elaraai/east").IntegerType;
|
|
708
|
+
readonly lte: import("@elaraai/east").IntegerType;
|
|
709
|
+
readonly gt: import("@elaraai/east").IntegerType;
|
|
710
|
+
readonly gte: import("@elaraai/east").IntegerType;
|
|
711
|
+
readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
|
|
712
|
+
}>;
|
|
713
|
+
}>;
|
|
714
|
+
readonly float: StructType<{
|
|
715
|
+
readonly fieldId: StringType;
|
|
716
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
717
|
+
readonly lt: FloatType;
|
|
718
|
+
readonly lte: FloatType;
|
|
719
|
+
readonly gt: FloatType;
|
|
720
|
+
readonly gte: FloatType;
|
|
721
|
+
}>;
|
|
722
|
+
}>;
|
|
723
|
+
readonly datetime: StructType<{
|
|
724
|
+
readonly fieldId: StringType;
|
|
725
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
726
|
+
readonly before: import("@elaraai/east").DateTimeType;
|
|
727
|
+
readonly after: import("@elaraai/east").DateTimeType;
|
|
728
|
+
readonly between: StructType<{
|
|
729
|
+
readonly from: import("@elaraai/east").DateTimeType;
|
|
730
|
+
readonly to: import("@elaraai/east").DateTimeType;
|
|
731
|
+
}>;
|
|
732
|
+
}>;
|
|
733
|
+
}>;
|
|
734
|
+
readonly boolean: StructType<{
|
|
735
|
+
readonly fieldId: StringType;
|
|
736
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
737
|
+
readonly is: BooleanType;
|
|
738
|
+
}>;
|
|
739
|
+
}>;
|
|
740
|
+
}>], NullType>;
|
|
741
|
+
readonly removeFilter: FunctionType<[import("@elaraai/east").IntegerType], NullType>;
|
|
742
|
+
readonly clearFilters: FunctionType<[], NullType>;
|
|
743
|
+
readonly defineCohort: FunctionType<[StructType<{
|
|
744
|
+
readonly id: StringType;
|
|
745
|
+
readonly name: StringType;
|
|
746
|
+
readonly filters: ArrayType<import("@elaraai/east").VariantType<{
|
|
747
|
+
readonly string: StructType<{
|
|
748
|
+
readonly fieldId: StringType;
|
|
749
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
750
|
+
readonly eq: StringType;
|
|
751
|
+
readonly neq: StringType;
|
|
752
|
+
readonly in: import("@elaraai/east").SetType<StringType>;
|
|
753
|
+
readonly notIn: import("@elaraai/east").SetType<StringType>;
|
|
754
|
+
readonly contains: StringType;
|
|
755
|
+
readonly matches: StringType;
|
|
756
|
+
readonly startsWith: StringType;
|
|
757
|
+
readonly endsWith: StringType;
|
|
758
|
+
readonly isEmpty: NullType;
|
|
759
|
+
readonly isNotEmpty: NullType;
|
|
760
|
+
}>;
|
|
761
|
+
}>;
|
|
762
|
+
readonly integer: StructType<{
|
|
763
|
+
readonly fieldId: StringType;
|
|
764
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
765
|
+
readonly eq: import("@elaraai/east").IntegerType;
|
|
766
|
+
readonly neq: import("@elaraai/east").IntegerType;
|
|
767
|
+
readonly lt: import("@elaraai/east").IntegerType;
|
|
768
|
+
readonly lte: import("@elaraai/east").IntegerType;
|
|
769
|
+
readonly gt: import("@elaraai/east").IntegerType;
|
|
770
|
+
readonly gte: import("@elaraai/east").IntegerType;
|
|
771
|
+
readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
|
|
772
|
+
}>;
|
|
773
|
+
}>;
|
|
774
|
+
readonly float: StructType<{
|
|
775
|
+
readonly fieldId: StringType;
|
|
776
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
777
|
+
readonly lt: FloatType;
|
|
778
|
+
readonly lte: FloatType;
|
|
779
|
+
readonly gt: FloatType;
|
|
780
|
+
readonly gte: FloatType;
|
|
781
|
+
}>;
|
|
782
|
+
}>;
|
|
783
|
+
readonly datetime: StructType<{
|
|
784
|
+
readonly fieldId: StringType;
|
|
785
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
786
|
+
readonly before: import("@elaraai/east").DateTimeType;
|
|
787
|
+
readonly after: import("@elaraai/east").DateTimeType;
|
|
788
|
+
readonly between: StructType<{
|
|
789
|
+
readonly from: import("@elaraai/east").DateTimeType;
|
|
790
|
+
readonly to: import("@elaraai/east").DateTimeType;
|
|
791
|
+
}>;
|
|
792
|
+
}>;
|
|
793
|
+
}>;
|
|
794
|
+
readonly boolean: StructType<{
|
|
795
|
+
readonly fieldId: StringType;
|
|
796
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
797
|
+
readonly is: BooleanType;
|
|
798
|
+
}>;
|
|
799
|
+
}>;
|
|
800
|
+
}>>;
|
|
801
|
+
}>], NullType>;
|
|
802
|
+
readonly updateCohort: FunctionType<[StringType, StructType<{
|
|
803
|
+
readonly id: StringType;
|
|
804
|
+
readonly name: StringType;
|
|
805
|
+
readonly filters: ArrayType<import("@elaraai/east").VariantType<{
|
|
806
|
+
readonly string: StructType<{
|
|
807
|
+
readonly fieldId: StringType;
|
|
808
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
809
|
+
readonly eq: StringType;
|
|
810
|
+
readonly neq: StringType;
|
|
811
|
+
readonly in: import("@elaraai/east").SetType<StringType>;
|
|
812
|
+
readonly notIn: import("@elaraai/east").SetType<StringType>;
|
|
813
|
+
readonly contains: StringType;
|
|
814
|
+
readonly matches: StringType;
|
|
815
|
+
readonly startsWith: StringType;
|
|
816
|
+
readonly endsWith: StringType;
|
|
817
|
+
readonly isEmpty: NullType;
|
|
818
|
+
readonly isNotEmpty: NullType;
|
|
819
|
+
}>;
|
|
820
|
+
}>;
|
|
821
|
+
readonly integer: StructType<{
|
|
822
|
+
readonly fieldId: StringType;
|
|
823
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
824
|
+
readonly eq: import("@elaraai/east").IntegerType;
|
|
825
|
+
readonly neq: import("@elaraai/east").IntegerType;
|
|
826
|
+
readonly lt: import("@elaraai/east").IntegerType;
|
|
827
|
+
readonly lte: import("@elaraai/east").IntegerType;
|
|
828
|
+
readonly gt: import("@elaraai/east").IntegerType;
|
|
829
|
+
readonly gte: import("@elaraai/east").IntegerType;
|
|
830
|
+
readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
|
|
831
|
+
}>;
|
|
832
|
+
}>;
|
|
833
|
+
readonly float: StructType<{
|
|
834
|
+
readonly fieldId: StringType;
|
|
835
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
836
|
+
readonly lt: FloatType;
|
|
837
|
+
readonly lte: FloatType;
|
|
838
|
+
readonly gt: FloatType;
|
|
839
|
+
readonly gte: FloatType;
|
|
840
|
+
}>;
|
|
841
|
+
}>;
|
|
842
|
+
readonly datetime: StructType<{
|
|
843
|
+
readonly fieldId: StringType;
|
|
844
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
845
|
+
readonly before: import("@elaraai/east").DateTimeType;
|
|
846
|
+
readonly after: import("@elaraai/east").DateTimeType;
|
|
847
|
+
readonly between: StructType<{
|
|
848
|
+
readonly from: import("@elaraai/east").DateTimeType;
|
|
849
|
+
readonly to: import("@elaraai/east").DateTimeType;
|
|
850
|
+
}>;
|
|
851
|
+
}>;
|
|
852
|
+
}>;
|
|
853
|
+
readonly boolean: StructType<{
|
|
854
|
+
readonly fieldId: StringType;
|
|
855
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
856
|
+
readonly is: BooleanType;
|
|
857
|
+
}>;
|
|
858
|
+
}>;
|
|
859
|
+
}>>;
|
|
860
|
+
}>], NullType>;
|
|
861
|
+
readonly removeCohort: FunctionType<[StringType], NullType>;
|
|
862
|
+
readonly toggleCohort: FunctionType<[StringType], NullType>;
|
|
863
|
+
readonly setBreakdown: FunctionType<[OptionType<StructType<{
|
|
864
|
+
readonly fieldId: StringType;
|
|
865
|
+
readonly limit: OptionType<import("@elaraai/east").IntegerType>;
|
|
866
|
+
}>>], NullType>;
|
|
867
|
+
readonly setSearch: FunctionType<[OptionType<StringType>], NullType>;
|
|
868
|
+
readonly setVisible: FunctionType<[OptionType<import("@elaraai/east").SetType<StringType>>], NullType>;
|
|
869
|
+
readonly select: FunctionType<[OptionType<import("@elaraai/east").IntegerType>], NullType>;
|
|
870
|
+
readonly isActive: FunctionType<[], BooleanType>;
|
|
871
|
+
readonly activeCount: FunctionType<[], import("@elaraai/east").IntegerType>;
|
|
872
|
+
readonly dimensions: FunctionType<[], ArrayType<StructType<{
|
|
873
|
+
readonly fieldId: StringType;
|
|
874
|
+
readonly label: StringType;
|
|
875
|
+
}>>>;
|
|
876
|
+
readonly fields: FunctionType<[], ArrayType<StructType<{
|
|
877
|
+
readonly fieldId: StringType;
|
|
878
|
+
readonly label: StringType;
|
|
879
|
+
readonly kind: StringType;
|
|
880
|
+
readonly hints: ArrayType<StringType>;
|
|
881
|
+
readonly format: OptionType<import("@elaraai/east").VariantType<{
|
|
882
|
+
readonly number: NullType;
|
|
883
|
+
readonly currency: StructType<{
|
|
884
|
+
readonly code: StringType;
|
|
885
|
+
readonly compact: BooleanType;
|
|
886
|
+
}>;
|
|
887
|
+
readonly percent: NullType;
|
|
888
|
+
readonly compact: NullType;
|
|
889
|
+
readonly date: StringType;
|
|
890
|
+
readonly time: StringType;
|
|
891
|
+
readonly datetime: StringType;
|
|
892
|
+
}>>;
|
|
893
|
+
}>>>;
|
|
894
|
+
readonly searchFieldIds: FunctionType<[], ArrayType<StringType>>;
|
|
895
|
+
readonly rangeFieldId: FunctionType<[], OptionType<StringType>>;
|
|
896
|
+
readonly totalCount: FunctionType<[], import("@elaraai/east").IntegerType>;
|
|
897
|
+
readonly resultCount: FunctionType<[], import("@elaraai/east").IntegerType>;
|
|
898
|
+
readonly groups: FunctionType<[], ArrayType<StructType<{
|
|
899
|
+
readonly key: StringType;
|
|
900
|
+
readonly count: import("@elaraai/east").IntegerType;
|
|
901
|
+
readonly color: StringType;
|
|
902
|
+
}>>>;
|
|
903
|
+
readonly series: FunctionType<[StringType, StringType], ArrayType<StructType<{
|
|
904
|
+
readonly key: StringType;
|
|
905
|
+
readonly color: StringType;
|
|
906
|
+
readonly points: ArrayType<StructType<{
|
|
907
|
+
readonly x: import("@elaraai/east").VariantType<{
|
|
908
|
+
readonly category: StringType;
|
|
909
|
+
readonly number: FloatType;
|
|
910
|
+
readonly time: import("@elaraai/east").DateTimeType;
|
|
911
|
+
}>;
|
|
912
|
+
readonly value: FloatType;
|
|
913
|
+
readonly size: OptionType<FloatType>;
|
|
914
|
+
readonly color: OptionType<StringType>;
|
|
915
|
+
}>>;
|
|
916
|
+
}>>>;
|
|
917
|
+
readonly matches: FunctionType<[], ArrayType<StructType<{
|
|
918
|
+
readonly id: StringType;
|
|
919
|
+
readonly label: StringType;
|
|
920
|
+
readonly meta: OptionType<StringType>;
|
|
921
|
+
}>>>;
|
|
922
|
+
readonly cohortCounts: FunctionType<[], DictType<StringType, import("@elaraai/east").IntegerType>>;
|
|
923
|
+
readonly toggleFilter: FunctionType<[import("@elaraai/east").VariantType<{
|
|
924
|
+
readonly string: StructType<{
|
|
925
|
+
readonly fieldId: StringType;
|
|
926
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
927
|
+
readonly eq: StringType;
|
|
928
|
+
readonly neq: StringType;
|
|
929
|
+
readonly in: import("@elaraai/east").SetType<StringType>;
|
|
930
|
+
readonly notIn: import("@elaraai/east").SetType<StringType>;
|
|
931
|
+
readonly contains: StringType;
|
|
932
|
+
readonly matches: StringType;
|
|
933
|
+
readonly startsWith: StringType;
|
|
934
|
+
readonly endsWith: StringType;
|
|
935
|
+
readonly isEmpty: NullType;
|
|
936
|
+
readonly isNotEmpty: NullType;
|
|
937
|
+
}>;
|
|
938
|
+
}>;
|
|
939
|
+
readonly integer: StructType<{
|
|
940
|
+
readonly fieldId: StringType;
|
|
941
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
942
|
+
readonly eq: import("@elaraai/east").IntegerType;
|
|
943
|
+
readonly neq: import("@elaraai/east").IntegerType;
|
|
944
|
+
readonly lt: import("@elaraai/east").IntegerType;
|
|
945
|
+
readonly lte: import("@elaraai/east").IntegerType;
|
|
946
|
+
readonly gt: import("@elaraai/east").IntegerType;
|
|
947
|
+
readonly gte: import("@elaraai/east").IntegerType;
|
|
948
|
+
readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
|
|
949
|
+
}>;
|
|
950
|
+
}>;
|
|
951
|
+
readonly float: StructType<{
|
|
952
|
+
readonly fieldId: StringType;
|
|
953
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
954
|
+
readonly lt: FloatType;
|
|
955
|
+
readonly lte: FloatType;
|
|
956
|
+
readonly gt: FloatType;
|
|
957
|
+
readonly gte: FloatType;
|
|
958
|
+
}>;
|
|
959
|
+
}>;
|
|
960
|
+
readonly datetime: StructType<{
|
|
961
|
+
readonly fieldId: StringType;
|
|
962
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
963
|
+
readonly before: import("@elaraai/east").DateTimeType;
|
|
964
|
+
readonly after: import("@elaraai/east").DateTimeType;
|
|
965
|
+
readonly between: StructType<{
|
|
966
|
+
readonly from: import("@elaraai/east").DateTimeType;
|
|
967
|
+
readonly to: import("@elaraai/east").DateTimeType;
|
|
968
|
+
}>;
|
|
969
|
+
}>;
|
|
970
|
+
}>;
|
|
971
|
+
readonly boolean: StructType<{
|
|
972
|
+
readonly fieldId: StringType;
|
|
973
|
+
readonly op: import("@elaraai/east").VariantType<{
|
|
974
|
+
readonly is: BooleanType;
|
|
975
|
+
}>;
|
|
976
|
+
}>;
|
|
977
|
+
}>], NullType>;
|
|
978
|
+
readonly facetGroups: FunctionType<[], ArrayType<StructType<{
|
|
979
|
+
readonly key: StringType;
|
|
980
|
+
readonly count: import("@elaraai/east").IntegerType;
|
|
981
|
+
readonly color: StringType;
|
|
982
|
+
}>>>;
|
|
983
|
+
}>;
|
|
984
|
+
readonly affordances: ArrayType<import("@elaraai/east").VariantType<{
|
|
985
|
+
readonly filter: NullType;
|
|
986
|
+
readonly search: NullType;
|
|
987
|
+
readonly breakdown: NullType;
|
|
988
|
+
readonly range: NullType;
|
|
989
|
+
readonly cohort: NullType;
|
|
990
|
+
readonly brush: NullType;
|
|
991
|
+
readonly presets: NullType;
|
|
992
|
+
readonly legend: NullType;
|
|
993
|
+
}>>;
|
|
994
|
+
}>>;
|
|
995
|
+
readonly style: OptionType<StructType<{
|
|
996
|
+
readonly height: OptionType<StringType>;
|
|
997
|
+
readonly maxHeight: OptionType<StringType>;
|
|
998
|
+
readonly virtualization: OptionType<BooleanType>;
|
|
999
|
+
}>>;
|
|
330
1000
|
}>;
|
|
331
1001
|
/**
|
|
332
1002
|
* A resolved Library card.
|
|
@@ -337,8 +1007,9 @@ export declare const Library: {
|
|
|
337
1007
|
* @property icon - Optional Font Awesome solid icon name
|
|
338
1008
|
* @property status - Optional status pill
|
|
339
1009
|
* @property draggable - Whether the card can start a drag
|
|
1010
|
+
* @property filtered - Whether the card renders de-emphasised
|
|
340
1011
|
* @property search - Optional filter text
|
|
341
|
-
* @property groups - Group
|
|
1012
|
+
* @property groups - Group value per group-by option key
|
|
342
1013
|
* @property dims - Secondary dimension value per dimension key
|
|
343
1014
|
*/
|
|
344
1015
|
readonly Item: StructType<{
|
|
@@ -357,11 +1028,9 @@ export declare const Library: {
|
|
|
357
1028
|
}>;
|
|
358
1029
|
}>>;
|
|
359
1030
|
readonly draggable: BooleanType;
|
|
1031
|
+
readonly filtered: BooleanType;
|
|
360
1032
|
readonly search: OptionType<StringType>;
|
|
361
|
-
readonly groups: DictType<StringType,
|
|
362
|
-
readonly value: StringType;
|
|
363
|
-
readonly summary: OptionType<StringType>;
|
|
364
|
-
}>>;
|
|
1033
|
+
readonly groups: DictType<StringType, StringType>;
|
|
365
1034
|
readonly dims: DictType<StringType, import("@elaraai/east").VariantType<{
|
|
366
1035
|
readonly meter: StructType<{
|
|
367
1036
|
readonly value: FloatType;
|
|
@@ -381,6 +1050,7 @@ export declare const Library: {
|
|
|
381
1050
|
* @property icon - Optional Font Awesome solid icon name
|
|
382
1051
|
* @property status - Optional status pill
|
|
383
1052
|
* @property draggable - Whether the card can start a drag
|
|
1053
|
+
* @property filtered - Whether the card renders de-emphasised
|
|
384
1054
|
*/
|
|
385
1055
|
readonly CardFace: StructType<{
|
|
386
1056
|
readonly key: StringType;
|
|
@@ -398,6 +1068,7 @@ export declare const Library: {
|
|
|
398
1068
|
}>;
|
|
399
1069
|
}>>;
|
|
400
1070
|
readonly draggable: BooleanType;
|
|
1071
|
+
readonly filtered: BooleanType;
|
|
401
1072
|
}>;
|
|
402
1073
|
/**
|
|
403
1074
|
* Status pill on a Library card.
|
|
@@ -431,6 +1102,18 @@ export declare const Library: {
|
|
|
431
1102
|
readonly chips: ArrayType<StringType>;
|
|
432
1103
|
readonly text: StringType;
|
|
433
1104
|
}>;
|
|
1105
|
+
/**
|
|
1106
|
+
* East StructType for Library layout style.
|
|
1107
|
+
*
|
|
1108
|
+
* @property height - Optional CSS height; constraining it makes the card grid the Library's own scroll region
|
|
1109
|
+
* @property maxHeight - Optional CSS max-height
|
|
1110
|
+
* @property virtualization - Whether rows virtualize inside the scroll region (default `true`)
|
|
1111
|
+
*/
|
|
1112
|
+
readonly Style: StructType<{
|
|
1113
|
+
readonly height: OptionType<StringType>;
|
|
1114
|
+
readonly maxHeight: OptionType<StringType>;
|
|
1115
|
+
readonly virtualization: OptionType<BooleanType>;
|
|
1116
|
+
}>;
|
|
434
1117
|
};
|
|
435
1118
|
};
|
|
436
1119
|
//# sourceMappingURL=index.d.ts.map
|