@ocelescope/core 0.10.0 → 0.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/ActivityPicker-BfA34hBU.js +29 -0
  2. package/dist/{AreaChart-DoD3LM50.js → AreaChart-q6rVcUIp.js} +4 -3
  3. package/dist/AttributePicker-Dd8eKA_3.js +95 -0
  4. package/dist/{BarChart-Cixo5Okd.js → BarChart-BLZS87ex.js} +4 -3
  5. package/dist/E2ORelationPicker-CcDSJWc0.js +46 -0
  6. package/dist/EventAttributePicker-Ch0rYS1h.js +27 -0
  7. package/dist/EventPicker-DbqFMMr2.js +39 -0
  8. package/dist/HistogramChart-GgiQdlsk.js +87 -0
  9. package/dist/{LineChart-CVz-dkJI.js → LineChart-Cq935Tk2.js} +4 -3
  10. package/dist/O2ORelationPicker-_XU1FfIX.js +44 -0
  11. package/dist/ObjectAttributePicker-Dpt3IfC5.js +27 -0
  12. package/dist/ObjectPicker-Bd68wl9p.js +39 -0
  13. package/dist/ObjectTypePicker-CXCMky34.js +42 -0
  14. package/dist/{OcelChart-DvGTjJXo.js → OcelChart-BnXjHb_r.js} +1 -1
  15. package/dist/OptionPicker-D9rUIwbY.js +351 -0
  16. package/dist/{PieChart-DBiASngC.js → PieChart-DZFHaTXD.js} +4 -3
  17. package/dist/{ScatterChart-jIQOjQes.js → ScatterChart-DJfJmABJ.js} +4 -3
  18. package/dist/{SqlChart-bwDArK2l.js → SqlChart-Bf7D5o5P.js} +33 -33
  19. package/dist/{SunburstChart-D6FhYBHI.js → SunburstChart-CMNYlKon.js} +3 -2
  20. package/dist/attributeOptions-D4slIoZx.js +37 -0
  21. package/dist/{cartesian-5TPNWjl_.js → cartesian-Dt7weMqK.js} +1 -1
  22. package/dist/index.d.ts +240 -143
  23. package/dist/index.js +28 -100
  24. package/dist/relationOptions-DTtIOIr1.js +33 -0
  25. package/dist/{series-BBXVjHHY.js → series-W1jsVape.js} +1 -1
  26. package/dist/style.css +596 -731
  27. package/dist/{Plot-CxHHyXot.js → useChart-jzzXgs0j.js} +28 -1
  28. package/dist/{useOcelId-BSU0-Srk.js → useOcelId-DIu_aGLH.js} +5 -2
  29. package/dist/useSearch-Ad3AtTVj.js +19 -0
  30. package/package.json +17 -18
  31. package/dist/ActivityPicker-DbrGeiC_.js +0 -18
  32. package/dist/EventAttributePicker-Cf2vVKv5.js +0 -27
  33. package/dist/NamePicker-Be-qmr1x.js +0 -43
  34. package/dist/ObjectAttributePicker-CL43EsYt.js +0 -27
  35. package/dist/ObjectTypePicker-CKmszS0y.js +0 -18
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { Select } from "@mantine/core";
2
- import { AggregatedAttribute, RelationCountSummary, SqlQueryResult, TypedAttribute, ValueType } from "@ocelescope/api-base";
2
+ import { AggregatedAttribute, RelationCountSummary, TypedAttribute, ValueType } from "@ocelescope/api-base";
3
3
  import { DataTableColumn } from "mantine-datatable";
4
- import { ComponentProps, SVGProps } from "react";
4
+ import { ComponentProps, ComponentType, JSX, SVGProps } from "react";
5
5
  import { Dropzone, FileWithPath } from "@mantine/dropzone";
6
6
  import { ViewerConfig, ViewerProps } from "@r4pm/components";
7
7
  import { GetStaticPaths, GetStaticProps, NextApiRequest, NextApiResponse } from "next";
@@ -33,8 +33,21 @@ export declare const BarList: React.FC<{
33
33
  //#region src/components/charts/types.d.ts
34
34
  /** One row of a tidy result: a value per column. */
35
35
  type Row = Record<string, unknown>;
36
- /** What every chart is given: rows, and which columns to read them by. */
37
- interface ChartProps {
36
+ /** A tidy table: its rows, and the type its source reported per column. */
37
+ interface Table$1 {
38
+ columns: readonly {
39
+ name: string;
40
+ type: string;
41
+ }[];
42
+ rows: readonly Row[];
43
+ }
44
+ /**
45
+ * What every chart is given: rows, and which columns to read them by.
46
+ *
47
+ * Colour and selection follow the r4pm viewer contract: `colorOf` and
48
+ * `onSelect` come from the ambient `ViewerConfig` unless given here.
49
+ */
50
+ interface ChartProps extends Pick<ViewerConfig, "colorOf" | "onSelect"> {
38
51
  rows: readonly Row[];
39
52
  /** Column whose values name the categories. */
40
53
  x: string;
@@ -42,10 +55,10 @@ interface ChartProps {
42
55
  y: string | readonly string[];
43
56
  /** Column unfolded into one series per distinct value. */
44
57
  series?: string;
45
- /** Colour for a name, e.g. the one the graph viewers give it. */
46
- colorOf?: (name: string) => string;
47
- /** A click on a mark, by the name that mark carries. */
48
- onSelect?: (name: string, point: unknown) => void;
58
+ /** Scope the marks are coloured and selected under ("activity",
59
+ * "objectType"), so a name keeps the colour the other viewers give it.
60
+ * Without one the plot's own colours are used. */
61
+ colorScope?: string;
49
62
  }
50
63
  /** What the charts drawn against two axes take on top of the rest. */
51
64
  interface CartesianChartProps extends ChartProps {
@@ -54,6 +67,34 @@ interface CartesianChartProps extends ChartProps {
54
67
  * the axis down to the millisecond around itself. */
55
68
  xRange?: readonly [unknown, unknown];
56
69
  }
70
+ type ChartType = "bar" | "histogram" | "line" | "area" | "scatter" | "pie" | "sunburst";
71
+ /** How a table is drawn, when its columns alone should not decide. */
72
+ interface ChartOptions {
73
+ type?: ChartType;
74
+ /** Types offered in the header switch. Fewer than two hides it. */
75
+ types?: ChartType[];
76
+ /** Category column. Defaults to the first non-numeric column. For a
77
+ * histogram, the column holding each bin's lower edge. */
78
+ x?: string;
79
+ /** Histogram only: the column holding each bin's upper edge. */
80
+ xEnd?: string;
81
+ /** Measure column(s). Defaults to every numeric column. */
82
+ y?: string | string[];
83
+ /** Column unfolded into one series per distinct value. */
84
+ series?: string;
85
+ /** Sunburst rings, innermost first. Defaults to `[x, series]`. */
86
+ path?: string[];
87
+ stacked?: boolean;
88
+ horizontal?: boolean;
89
+ /** For line charts, overlay one y scale per line rather than sharing one. */
90
+ yAxes?: "shared" | "independent";
91
+ /** Colour through the host's resolver under this scope ("activity",
92
+ * "objectType"), so a category keeps the colour the graph viewers give it. */
93
+ colorScope?: string;
94
+ title?: string;
95
+ height?: number | string;
96
+ }
97
+ type SqlChartProps = ViewerProps<Table$1> & ChartOptions;
57
98
  /** One trace's worth of rows: what it is called, and what it draws. */
58
99
  interface Series {
59
100
  name: string;
@@ -72,6 +113,15 @@ interface BarChartProps extends CartesianChartProps {
72
113
  horizontal?: boolean;
73
114
  }
74
115
  //#endregion
116
+ //#region src/components/charts/HistogramChart.d.ts
117
+ interface HistogramChartProps extends Omit<ChartProps, "series"> {
118
+ /** Column holding each bin's upper edge; `x` holds its lower one. A row
119
+ * without a lower edge counts everything below its upper one, and the
120
+ * other way round - so outliers get a bar of their own instead of
121
+ * stretching the axis. */
122
+ xEnd: string;
123
+ }
124
+ //#endregion
75
125
  //#region src/components/charts/LineChart.d.ts
76
126
  interface LineChartProps extends CartesianChartProps {
77
127
  /** Hold each value until the next one, instead of sloping between them.
@@ -102,31 +152,6 @@ type AreaChartProps = CartesianChartProps;
102
152
  type ScatterChartProps = CartesianChartProps;
103
153
  //#endregion
104
154
  //#region src/components/charts/index.d.ts
105
- type ChartType = "bar" | "line" | "area" | "scatter" | "pie" | "sunburst";
106
- /** How a query's result is drawn, when the columns alone should not decide. */
107
- interface ChartOptions {
108
- type?: ChartType;
109
- /** Types offered in the header switch. Fewer than two hides it. */
110
- types?: ChartType[];
111
- /** Category column. Defaults to the first non-numeric column. */
112
- x?: string;
113
- /** Measure column(s). Defaults to every numeric column. */
114
- y?: string | string[];
115
- /** Column unfolded into one series per distinct value. */
116
- series?: string;
117
- /** Sunburst rings, innermost first. Defaults to `[x, series]`. */
118
- path?: string[];
119
- stacked?: boolean;
120
- horizontal?: boolean;
121
- /** For line charts, overlay one y scale per line rather than sharing one. */
122
- yAxes?: "shared" | "independent";
123
- /** Colour through the host's resolver under this scope ("activity",
124
- * "objectType"), so a category keeps the colour the graph viewers give it. */
125
- colorScope?: string;
126
- title?: string;
127
- height?: number | string;
128
- }
129
- type SqlChartProps = ViewerProps<SqlQueryResult> & ChartOptions;
130
155
  interface OcelChartProps extends ChartOptions, ViewerConfig {
131
156
  /** DuckDB SQL over the OCEL's stored tables: `events`, `objects`, `e2o`,
132
157
  * `o2o`, `object_changes`. One `SELECT`; the backend refuses anything else. */
@@ -140,6 +165,7 @@ interface OcelChartProps extends ChartOptions, ViewerConfig {
140
165
  enabled?: boolean;
141
166
  }
142
167
  export declare const BarChart: import("react").ComponentType<BarChartProps>;
168
+ export declare const HistogramChart: import("react").ComponentType<HistogramChartProps>;
143
169
  export declare const LineChart: import("react").ComponentType<LineChartProps>;
144
170
  export declare const AreaChart: import("react").ComponentType<CartesianChartProps>;
145
171
  export declare const ScatterChart: import("react").ComponentType<CartesianChartProps>;
@@ -228,123 +254,194 @@ export declare const OcelescopeDocument: React.FC;
228
254
  //#region src/components/OcelSelect/OcelSelect.d.ts
229
255
  export declare const OcelSelect: ({ value, ...props }: Omit<ComponentProps<typeof Select<string>>, "data">) => import("react").JSX.Element;
230
256
  //#endregion
231
- //#region src/components/pickers/types.d.ts
232
- /** Which OCEL a picker reads its choices from. */
233
- interface OcelSource {
234
- /** Defaults to the OCEL the app has selected. */
235
- ocelId?: string;
236
- /** The unfiltered log, for choices that must not shift under a filter. */
237
- ocelVersion?: "filtered" | "original";
238
- }
239
- /** Picking one name, or none. */
240
- interface SinglePicker {
257
+ //#region src/components/Pickers/types.d.ts
258
+ /** Picking one value, or none. */
259
+ interface SingleSelection<T> {
241
260
  multiple?: false;
242
- value: string | null | undefined;
243
- onChange: (value: string | undefined) => void;
261
+ value: T | null | undefined;
262
+ onChange: (value: T | undefined) => void;
244
263
  }
245
- /** Picking any number of names. */
246
- interface MultiPicker {
264
+ /** Picking any number of values. */
265
+ interface MultiSelection<T> {
247
266
  multiple: true;
248
- value: readonly string[];
249
- onChange: (value: string[]) => void;
250
- }
251
- /** What a picker picks. Single unless it says otherwise. */
252
- type Selection = SinglePicker | MultiPicker;
253
- //#endregion
254
- //#region src/components/pickers/NamePicker.d.ts
255
- /** A name to pick, and how often it occurs. */
256
- interface NameItem {
257
- key: string;
258
- count: number;
267
+ value: readonly T[];
268
+ onChange: (value: T[]) => void;
259
269
  }
260
- interface NamePickerProps {
261
- /** Name to count, or the same as a list. */
262
- items: Record<string, number> | readonly NameItem[];
270
+ /** What a picker picks. Single unless `multiple` is set. */
271
+ type Selection<T> = SingleSelection<T> | MultiSelection<T>;
272
+ /** How a picker looks and reads, whatever it picks. */
273
+ interface PickerProps {
274
+ /**
275
+ * `"dropdown"` (default) is a compact field that opens a searchable list,
276
+ * for forms. `"list"` shows every choice at once, with frequency bars, for
277
+ * side panels and filters.
278
+ */
279
+ variant?: "dropdown" | "list";
263
280
  label?: string;
264
- /** A search box above the list. */
265
- searchable?: boolean;
266
- /** A bar behind each name, as long as its share of the largest count. */
267
- bars?: boolean;
268
- /** The count itself, beside each name. */
269
- counts?: boolean;
270
- /** The rail that drags a cut through the list, taking the top names. */
271
- cutoff?: boolean;
272
- sort?: "count" | "name";
273
- /** Colour scope, so a name keeps the colour the viewers give it. */
274
- scope?: string;
275
- loading?: boolean;
281
+ /** A line of help under the label. */
282
+ description?: string;
283
+ /** Trigger text of the dropdown while nothing is picked. */
284
+ placeholder?: string;
285
+ /** Shown when there is nothing to pick from. */
276
286
  emptyText?: string;
277
287
  disabled?: boolean;
288
+ /** Focus the search on mount (list), or open the dropdown on mount. */
278
289
  autoFocus?: boolean;
290
+ /** The count beside each choice. */
291
+ counts?: boolean;
292
+ /** List only: a bar behind each choice, as long as its share of the largest count. */
293
+ bars?: boolean;
294
+ /** List only: the rail that drags a cut through the list, taking the top choices. */
295
+ cutoff?: boolean;
296
+ sort?: "count" | "name";
279
297
  }
298
+ /** Which OCEL a picker reads its choices from. */
299
+ interface OcelSource {
300
+ /** Defaults to the OCEL the app has selected. */
301
+ ocelId?: string;
302
+ /** The unfiltered log, for choices that must not shift under a filter. */
303
+ ocelVersion?: "filtered" | "original";
304
+ }
305
+ /** The props of a picker that reads its choices from an OCEL endpoint. */
306
+ type OcelPickerProps<T> = OcelSource & PickerProps & Selection<T>;
307
+ /** How events of a type, or objects of a type, relate to objects of a type. */
308
+ interface Relation {
309
+ /** The event type (E2O) or object type (O2O) the relation starts from. */
310
+ source: string;
311
+ /** The object type it points to. */
312
+ target: string;
313
+ qualifier: string;
314
+ }
315
+ /** An attribute of an activity's events, or of an object type's objects. */
316
+ type AttributeRef = {
317
+ target: "event";
318
+ activity: string;
319
+ name: string;
320
+ } | {
321
+ target: "object";
322
+ objectType: string;
323
+ name: string;
324
+ };
280
325
  //#endregion
281
- //#region src/components/pickers/ActivityPicker.d.ts
282
- type ActivityPickerProps = OcelSource & Omit<NamePickerProps, "items" | "scope" | "loading">;
326
+ //#region src/components/Pickers/ActivityPicker.d.ts
327
+ type ActivityPickerProps = OcelPickerProps<string>;
283
328
  //#endregion
284
- //#region src/components/pickers/EventAttributePicker.d.ts
285
- type EventAttributePickerProps = OcelSource & Omit<NamePickerProps, "items" | "scope" | "loading"> & {
286
- /** Offer only what this activity's events carry. Without it, every
287
- * attribute any event in the log carries. */
329
+ //#region src/components/Pickers/ObjectTypePicker.d.ts
330
+ type ObjectTypePickerProps = OcelPickerProps<string> & {
331
+ /** Offer only the object types that events of this activity relate to. */
288
332
  activity?: string;
289
333
  };
290
334
  //#endregion
291
- //#region src/components/pickers/IdPicker.d.ts
292
- interface IdPickerProps {
293
- /** The ids to offer. Usually a page of them, from a search. */
294
- ids: readonly string[];
295
- label?: string;
296
- placeholder?: string;
297
- /** What the reader has typed, when the caller searches for them. */
298
- search?: string;
299
- onSearch?: (search: string) => void;
300
- loading?: boolean;
301
- emptyText?: string;
302
- disabled?: boolean;
303
- }
304
- /**
305
- * Picking ids by typing.
306
- *
307
- * Presentational: a log holds far more events and objects than a list can
308
- * show, so the caller decides which ids a search turns up.
309
- */
310
- export declare const IdPicker: ({ ids, label, placeholder, search, onSearch, loading, emptyText, disabled, ...selection }: IdPickerProps & Selection) => import("react").JSX.Element;
335
+ //#region src/components/Pickers/EventPicker.d.ts
336
+ type EventPickerProps = OcelPickerProps<string> & {
337
+ /** How many ids a search turns up. */
338
+ limit?: number;
339
+ };
311
340
  //#endregion
312
- //#region src/components/pickers/EventPicker.d.ts
313
- type EventPickerProps = OcelSource & Omit<IdPickerProps, "ids" | "search" | "onSearch" | "loading"> & {
341
+ //#region src/components/Pickers/ObjectPicker.d.ts
342
+ type ObjectPickerProps = OcelPickerProps<string> & {
314
343
  /** How many ids a search turns up. */
315
344
  limit?: number;
316
345
  };
317
- /** Events of the log, found by typing part of an id. */
318
- export declare const EventPicker: ({ ocelId, ocelVersion, limit, ...picker }: EventPickerProps & Selection) => import("react").JSX.Element;
319
346
  //#endregion
320
- //#region src/components/pickers/ObjectAttributePicker.d.ts
321
- type ObjectAttributePickerProps = OcelSource & Omit<NamePickerProps, "items" | "scope" | "loading"> & {
322
- /** Offer only what objects of this type carry. Without it, every
323
- * attribute any object in the log carries. */
324
- objectType?: string;
347
+ //#region src/components/Pickers/EventAttributePicker.d.ts
348
+ type EventAttributePickerProps = OcelPickerProps<string> & {
349
+ /** Offer only what events of this type carry. Without it, every attribute
350
+ * any event in the log carries. */
351
+ activity?: string;
352
+ /** Offer only attributes of these value types, e.g. `["int", "float"]`. */
353
+ valueTypes?: readonly ValueType[];
325
354
  };
326
355
  //#endregion
327
- //#region src/components/pickers/ObjectPicker.d.ts
328
- type ObjectPickerProps = OcelSource & Omit<IdPickerProps, "ids" | "search" | "onSearch" | "loading"> & {
329
- /** How many ids a search turns up. */
330
- limit?: number;
356
+ //#region src/components/Pickers/ObjectAttributePicker.d.ts
357
+ type ObjectAttributePickerProps = OcelPickerProps<string> & {
358
+ /** Offer only what objects of this type carry. Without it, every attribute
359
+ * any object in the log carries. */
360
+ objectType?: string;
361
+ /** Offer only attributes of these value types, e.g. `["int", "float"]`. */
362
+ valueTypes?: readonly ValueType[];
331
363
  };
332
- /** Objects of the log, found by typing part of an id. */
333
- export declare const ObjectPicker: ({ ocelId, ocelVersion, limit, ...picker }: ObjectPickerProps & Selection) => import("react").JSX.Element;
334
364
  //#endregion
335
- //#region src/components/pickers/ObjectTypePicker.d.ts
336
- type ObjectTypePickerProps = OcelSource & Omit<NamePickerProps, "items" | "scope" | "loading">;
365
+ //#region src/components/Pickers/AttributePicker.d.ts
366
+ type AttributePickerProps = OcelPickerProps<AttributeRef> & {
367
+ /** The activity whose attributes, and whose related objects'
368
+ * attributes, are offered. */
369
+ activity: string | undefined;
370
+ /** Offer attributes of only these related object types. Default: all. */
371
+ objectTypes?: readonly string[];
372
+ /** Offer only object types every event relates to exactly one object of,
373
+ * so an object attribute has one value per event. */
374
+ onlyUniquelyRelated?: boolean;
375
+ /** Offer only attributes of these value types, e.g. `["int", "float"]`. */
376
+ valueTypes?: readonly ValueType[];
377
+ };
337
378
  //#endregion
338
- //#region src/components/pickers/index.d.ts
339
- export declare const NamePicker: import("react").ComponentType<NamePickerProps & Selection>;
340
- export declare const ActivityPicker: import("react").ComponentType<OcelSource & Omit<NamePickerProps, "items" | "scope" | "loading"> & Selection>;
341
- export declare const ObjectTypePicker: import("react").ComponentType<OcelSource & Omit<NamePickerProps, "items" | "scope" | "loading"> & Selection>;
342
- export declare const EventAttributePicker: import("react").ComponentType<OcelSource & Omit<NamePickerProps, "items" | "scope" | "loading"> & {
379
+ //#region src/components/Pickers/E2ORelationPicker.d.ts
380
+ type E2ORelationPickerProps = OcelPickerProps<Relation> & {
381
+ /** Offer only relations of events of this type. Without it, every event
382
+ * type's, grouped by event type. */
343
383
  activity?: string;
344
- } & Selection>;
345
- export declare const ObjectAttributePicker: import("react").ComponentType<OcelSource & Omit<NamePickerProps, "items" | "scope" | "loading"> & {
384
+ };
385
+ //#endregion
386
+ //#region src/components/Pickers/O2ORelationPicker.d.ts
387
+ type O2ORelationPickerProps = OcelPickerProps<Relation> & {
388
+ /** Offer only relations of objects of this type. Without it, every object
389
+ * type's, grouped by object type. */
346
390
  objectType?: string;
347
- } & Selection>;
391
+ };
392
+ //#endregion
393
+ //#region src/components/Pickers/internal/options.d.ts
394
+ /** A heading that options are shown together under. */
395
+ interface PickerGroup {
396
+ label: string;
397
+ color?: string;
398
+ /** Muted text beside the heading, e.g. "event attributes". */
399
+ caption?: string;
400
+ }
401
+ /** One choice of a picker. */
402
+ interface PickerOption<T> {
403
+ value: T;
404
+ /** What the reader sees. Unique within the option's group. */
405
+ label: string;
406
+ /** Muted text beside the label in the dropdown, e.g. a value type. */
407
+ description?: string;
408
+ count?: number;
409
+ color?: string;
410
+ group?: PickerGroup;
411
+ }
412
+ /** Everything the presentational pickers need, beyond the options. */
413
+ type OptionPickerProps<T> = PickerProps & Selection<T> & {
414
+ options: readonly PickerOption<T>[];
415
+ /** Stable identity of a value. Defaults to the value itself for strings,
416
+ * else its JSON. */
417
+ idOf?: (value: T) => string;
418
+ /** Label of a picked value that is not among the options, as with ids a
419
+ * search no longer turns up. Defaults to its id. */
420
+ labelOf?: (value: T) => string;
421
+ loading?: boolean;
422
+ error?: unknown;
423
+ /** Set when a choice has to be made elsewhere first, and says which. */
424
+ missing?: string;
425
+ /** Server-side search: the options are what `search` turns up, and the
426
+ * picker only reports what the reader types. */
427
+ search?: string;
428
+ onSearch?: (search: string) => void;
429
+ /** How many there are to pick from, when the options are only the page
430
+ * of them a search turned up. Defaults to the number of options. */
431
+ total?: number;
432
+ };
433
+ //#endregion
434
+ //#region src/components/Pickers/index.d.ts
435
+ export declare const OptionPicker: <T>(props: OptionPickerProps<T>) => JSX.Element;
436
+ export declare const ActivityPicker: ComponentType<ActivityPickerProps>;
437
+ export declare const ObjectTypePicker: ComponentType<ObjectTypePickerProps>;
438
+ export declare const EventPicker: ComponentType<EventPickerProps>;
439
+ export declare const ObjectPicker: ComponentType<ObjectPickerProps>;
440
+ export declare const EventAttributePicker: ComponentType<EventAttributePickerProps>;
441
+ export declare const ObjectAttributePicker: ComponentType<ObjectAttributePickerProps>;
442
+ export declare const AttributePicker: ComponentType<AttributePickerProps>;
443
+ export declare const E2ORelationPicker: ComponentType<E2ORelationPickerProps>;
444
+ export declare const O2ORelationPicker: ComponentType<O2ORelationPickerProps>;
348
445
  //#endregion
349
446
  //#region src/components/RelationTable.d.ts
350
447
  type RelationType = "o2o" | "e2o";
@@ -442,7 +539,7 @@ export declare const useOcelQuery: ({ sql, parameters, ocelVersion, enabled }: O
442
539
  dataUpdatedAt: number;
443
540
  errorUpdatedAt: number;
444
541
  failureCount: number;
445
- failureReason: import("@ocelescope/api-base").HTTPValidationError$1 | null;
542
+ failureReason: unknown;
446
543
  errorUpdateCount: number;
447
544
  isFetched: boolean;
448
545
  isFetchedAfterMount: boolean;
@@ -452,11 +549,11 @@ export declare const useOcelQuery: ({ sql, parameters, ocelVersion, enabled }: O
452
549
  isRefetching: boolean;
453
550
  isStale: boolean;
454
551
  isEnabled: boolean;
455
- refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@ocelescope/api-base").SqlQueryResult, import("@ocelescope/api-base").HTTPValidationError$1>>;
552
+ refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@ocelescope/api-base").SqlQueryResult, unknown>>;
456
553
  fetchStatus: import("@tanstack/react-query").FetchStatus;
457
554
  queryKey: readonly unknown[] & {
458
555
  [dataTagSymbol]: import("@ocelescope/api-base").SqlQueryResult;
459
- [dataTagErrorSymbol]: import("@ocelescope/api-base").HTTPValidationError$1;
556
+ [dataTagErrorSymbol]: unknown;
460
557
  };
461
558
  } | {
462
559
  ocelId: string | null;
@@ -473,7 +570,7 @@ export declare const useOcelQuery: ({ sql, parameters, ocelVersion, enabled }: O
473
570
  dataUpdatedAt: number;
474
571
  errorUpdatedAt: number;
475
572
  failureCount: number;
476
- failureReason: import("@ocelescope/api-base").HTTPValidationError$1 | null;
573
+ failureReason: unknown;
477
574
  errorUpdateCount: number;
478
575
  isFetched: boolean;
479
576
  isFetchedAfterMount: boolean;
@@ -483,11 +580,11 @@ export declare const useOcelQuery: ({ sql, parameters, ocelVersion, enabled }: O
483
580
  isRefetching: boolean;
484
581
  isStale: boolean;
485
582
  isEnabled: boolean;
486
- refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@ocelescope/api-base").SqlQueryResult, import("@ocelescope/api-base").HTTPValidationError$1>>;
583
+ refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@ocelescope/api-base").SqlQueryResult, unknown>>;
487
584
  fetchStatus: import("@tanstack/react-query").FetchStatus;
488
585
  queryKey: readonly unknown[] & {
489
586
  [dataTagSymbol]: import("@ocelescope/api-base").SqlQueryResult;
490
- [dataTagErrorSymbol]: import("@ocelescope/api-base").HTTPValidationError$1;
587
+ [dataTagErrorSymbol]: unknown;
491
588
  };
492
589
  } | {
493
590
  ocelId: string | null;
@@ -504,7 +601,7 @@ export declare const useOcelQuery: ({ sql, parameters, ocelVersion, enabled }: O
504
601
  dataUpdatedAt: number;
505
602
  errorUpdatedAt: number;
506
603
  failureCount: number;
507
- failureReason: import("@ocelescope/api-base").HTTPValidationError$1 | null;
604
+ failureReason: unknown;
508
605
  errorUpdateCount: number;
509
606
  isFetched: boolean;
510
607
  isFetchedAfterMount: boolean;
@@ -514,11 +611,11 @@ export declare const useOcelQuery: ({ sql, parameters, ocelVersion, enabled }: O
514
611
  isRefetching: boolean;
515
612
  isStale: boolean;
516
613
  isEnabled: boolean;
517
- refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@ocelescope/api-base").SqlQueryResult, import("@ocelescope/api-base").HTTPValidationError$1>>;
614
+ refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@ocelescope/api-base").SqlQueryResult, unknown>>;
518
615
  fetchStatus: import("@tanstack/react-query").FetchStatus;
519
616
  queryKey: readonly unknown[] & {
520
617
  [dataTagSymbol]: import("@ocelescope/api-base").SqlQueryResult;
521
- [dataTagErrorSymbol]: import("@ocelescope/api-base").HTTPValidationError$1;
618
+ [dataTagErrorSymbol]: unknown;
522
619
  };
523
620
  } | {
524
621
  ocelId: string | null;
@@ -535,7 +632,7 @@ export declare const useOcelQuery: ({ sql, parameters, ocelVersion, enabled }: O
535
632
  dataUpdatedAt: number;
536
633
  errorUpdatedAt: number;
537
634
  failureCount: number;
538
- failureReason: import("@ocelescope/api-base").HTTPValidationError$1 | null;
635
+ failureReason: unknown;
539
636
  errorUpdateCount: number;
540
637
  isFetched: boolean;
541
638
  isFetchedAfterMount: boolean;
@@ -545,11 +642,11 @@ export declare const useOcelQuery: ({ sql, parameters, ocelVersion, enabled }: O
545
642
  isRefetching: boolean;
546
643
  isStale: boolean;
547
644
  isEnabled: boolean;
548
- refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@ocelescope/api-base").SqlQueryResult, import("@ocelescope/api-base").HTTPValidationError$1>>;
645
+ refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@ocelescope/api-base").SqlQueryResult, unknown>>;
549
646
  fetchStatus: import("@tanstack/react-query").FetchStatus;
550
647
  queryKey: readonly unknown[] & {
551
648
  [dataTagSymbol]: import("@ocelescope/api-base").SqlQueryResult;
552
- [dataTagErrorSymbol]: import("@ocelescope/api-base").HTTPValidationError$1;
649
+ [dataTagErrorSymbol]: unknown;
553
650
  };
554
651
  } | {
555
652
  ocelId: string | null;
@@ -565,7 +662,7 @@ export declare const useOcelQuery: ({ sql, parameters, ocelVersion, enabled }: O
565
662
  dataUpdatedAt: number;
566
663
  errorUpdatedAt: number;
567
664
  failureCount: number;
568
- failureReason: import("@ocelescope/api-base").HTTPValidationError$1 | null;
665
+ failureReason: unknown;
569
666
  errorUpdateCount: number;
570
667
  isFetched: boolean;
571
668
  isFetchedAfterMount: boolean;
@@ -576,11 +673,11 @@ export declare const useOcelQuery: ({ sql, parameters, ocelVersion, enabled }: O
576
673
  isRefetching: boolean;
577
674
  isStale: boolean;
578
675
  isEnabled: boolean;
579
- refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@ocelescope/api-base").SqlQueryResult, import("@ocelescope/api-base").HTTPValidationError$1>>;
676
+ refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@ocelescope/api-base").SqlQueryResult, unknown>>;
580
677
  fetchStatus: import("@tanstack/react-query").FetchStatus;
581
678
  queryKey: readonly unknown[] & {
582
679
  [dataTagSymbol]: import("@ocelescope/api-base").SqlQueryResult;
583
- [dataTagErrorSymbol]: import("@ocelescope/api-base").HTTPValidationError$1;
680
+ [dataTagErrorSymbol]: unknown;
584
681
  };
585
682
  } | {
586
683
  ocelId: string | null;
@@ -597,7 +694,7 @@ export declare const useOcelQuery: ({ sql, parameters, ocelVersion, enabled }: O
597
694
  dataUpdatedAt: number;
598
695
  errorUpdatedAt: number;
599
696
  failureCount: number;
600
- failureReason: import("@ocelescope/api-base").HTTPValidationError$1 | null;
697
+ failureReason: unknown;
601
698
  errorUpdateCount: number;
602
699
  isFetched: boolean;
603
700
  isFetchedAfterMount: boolean;
@@ -607,11 +704,11 @@ export declare const useOcelQuery: ({ sql, parameters, ocelVersion, enabled }: O
607
704
  isRefetching: boolean;
608
705
  isStale: boolean;
609
706
  isEnabled: boolean;
610
- refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@ocelescope/api-base").SqlQueryResult, import("@ocelescope/api-base").HTTPValidationError$1>>;
707
+ refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@ocelescope/api-base").SqlQueryResult, unknown>>;
611
708
  fetchStatus: import("@tanstack/react-query").FetchStatus;
612
709
  queryKey: readonly unknown[] & {
613
710
  [dataTagSymbol]: import("@ocelescope/api-base").SqlQueryResult;
614
- [dataTagErrorSymbol]: import("@ocelescope/api-base").HTTPValidationError$1;
711
+ [dataTagErrorSymbol]: unknown;
615
712
  };
616
713
  };
617
714
  //#endregion
@@ -645,4 +742,4 @@ export declare const getModuleRoute: ({ moduleName, routeName, query }: {
645
742
  pathname: string;
646
743
  };
647
744
  //#endregion
648
- export { type ActivityPickerProps, type AreaChartProps, AttributesTable, type BarChartProps, type CartesianChartProps, type ChartOptions, type ChartProps, type ChartType, type EventAttributePickerProps, type EventPickerProps, type IdPickerProps, type LineChartProps, type MultiPicker, type NameItem, type NamePickerProps, type ObjectAttributePickerProps, type ObjectPickerProps, type ObjectTypePickerProps, type OcelChartProps, type OcelQueryOptions, type OcelSource, type PieChartProps, RelationTable, type Row, type ScatterChartProps, type Selection, type Series, type SinglePicker, type SqlChartProps, type SunburstChartProps };
745
+ export { type ActivityPickerProps, type AreaChartProps, type AttributePickerProps, type AttributeRef, AttributesTable, type BarChartProps, type CartesianChartProps, type ChartOptions, type ChartProps, type ChartType, type E2ORelationPickerProps, type EventAttributePickerProps, type EventPickerProps, type HistogramChartProps, type LineChartProps, type MultiSelection, type O2ORelationPickerProps, type ObjectAttributePickerProps, type ObjectPickerProps, type ObjectTypePickerProps, type OcelChartProps, type OcelPickerProps, type OcelQueryOptions, type OcelSource, type OptionPickerProps, type PickerGroup, type PickerOption, type PickerProps, type PieChartProps, type Relation, RelationTable, type Row, type ScatterChartProps, type Selection, type Series, type SingleSelection, type SqlChartProps, type SunburstChartProps };