@devtable/dashboard 9.18.3 → 9.19.0
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/contexts/panel-context.d.ts +4 -4
- package/dist/dashboard.es.js +9445 -8822
- package/dist/dashboard.umd.js +112 -112
- package/dist/filter/filter-multi-select/render/widget.d.ts +1 -1
- package/dist/global.d.ts +3 -1
- package/dist/interactions/components/interaction-settings.d.ts +1 -2
- package/dist/interactions/components/trigger-config-model.d.ts +3 -3
- package/dist/main/dashboard-editor/settings/content/data-preview/index.d.ts +2 -1
- package/dist/main/dashboard-editor/settings/content/edit-panel/variable-config/variable-field.d.ts +1 -1
- package/dist/main/use-panel-full-screen.d.ts +318 -8
- package/dist/model/panels/index.d.ts +1156 -71
- package/dist/model/panels/panel.d.ts +28 -5
- package/dist/model/queries/index.d.ts +1 -0
- package/dist/panel/index.d.ts +1 -1
- package/dist/panel/panel-error-or-state-message.d.ts +7 -0
- package/dist/panel/panel-viz-section.d.ts +8 -0
- package/dist/panel/settings/common/data-field-selector.d.ts +1 -2
- package/dist/panel/viz/index.d.ts +3 -7
- package/dist/plugins/common-echarts-fields/tooltip-metric/types.d.ts +1 -1
- package/dist/plugins/common-echarts-fields/x-axis-label-formatter/index.d.ts +0 -2
- package/dist/plugins/hooks/use-row-data-map.d.ts +2 -0
- package/dist/plugins/plugin-context.d.ts +318 -8
- package/dist/plugins/viz-components/boxplot-chart/editors/tooltip/index.d.ts +1 -2
- package/dist/plugins/viz-components/boxplot-chart/editors/tooltip/metric.d.ts +1 -2
- package/dist/plugins/viz-components/boxplot-chart/editors/tooltip/metrics.d.ts +1 -2
- package/dist/plugins/viz-components/boxplot-chart/editors/x-axis.d.ts +1 -3
- package/dist/plugins/viz-components/boxplot-chart/editors/y-axis.d.ts +1 -3
- package/dist/plugins/viz-components/boxplot-chart/index.d.ts +1 -1
- package/dist/plugins/viz-components/boxplot-chart/option/dataset.d.ts +1 -1
- package/dist/plugins/viz-components/boxplot-chart/option/index.d.ts +1 -2
- package/dist/plugins/viz-components/boxplot-chart/option/reference-line.d.ts +1 -1
- package/dist/plugins/viz-components/boxplot-chart/type.d.ts +2 -2
- package/dist/plugins/viz-components/calendar-heatmap/editors/calendar/index.d.ts +1 -2
- package/dist/plugins/viz-components/calendar-heatmap/editors/heat_block/index.d.ts +1 -2
- package/dist/plugins/viz-components/calendar-heatmap/editors/tooltip/index.d.ts +1 -2
- package/dist/plugins/viz-components/calendar-heatmap/editors/tooltip/metric.d.ts +1 -2
- package/dist/plugins/viz-components/calendar-heatmap/editors/tooltip/metrics.d.ts +1 -2
- package/dist/plugins/viz-components/calendar-heatmap/option/index.d.ts +1 -2
- package/dist/plugins/viz-components/calendar-heatmap/option/series.d.ts +1 -1
- package/dist/plugins/viz-components/calendar-heatmap/option/tooltip.d.ts +1 -2
- package/dist/plugins/viz-components/calendar-heatmap/type.d.ts +2 -2
- package/dist/plugins/viz-components/cartesian/editors/regressions/index.d.ts +1 -2
- package/dist/plugins/viz-components/cartesian/editors/regressions/regression-item.d.ts +1 -2
- package/dist/plugins/viz-components/cartesian/editors/scatter-size-select/dynamic.d.ts +1 -3
- package/dist/plugins/viz-components/cartesian/editors/scatter-size-select/get-echarts-symbol-size.d.ts +1 -2
- package/dist/plugins/viz-components/cartesian/editors/scatter-size-select/index.d.ts +0 -2
- package/dist/plugins/viz-components/cartesian/editors/series/fields.line.d.ts +1 -3
- package/dist/plugins/viz-components/cartesian/editors/series/fields.scatter.d.ts +1 -3
- package/dist/plugins/viz-components/cartesian/editors/series/index.d.ts +1 -2
- package/dist/plugins/viz-components/cartesian/editors/series/series-item.d.ts +1 -2
- package/dist/plugins/viz-components/cartesian/editors/stats/index.d.ts +0 -1
- package/dist/plugins/viz-components/cartesian/editors/x-axis/index.d.ts +1 -2
- package/dist/plugins/viz-components/cartesian/editors/x-axis/x-axis-label-formatter/index.d.ts +0 -2
- package/dist/plugins/viz-components/cartesian/index.d.ts +1 -1
- package/dist/plugins/viz-components/cartesian/migrators/index.d.ts +2 -0
- package/dist/plugins/viz-components/cartesian/option/index.d.ts +1 -1
- package/dist/plugins/viz-components/cartesian/option/regression.d.ts +1 -1
- package/dist/plugins/viz-components/cartesian/option/series/data.d.ts +3 -4
- package/dist/plugins/viz-components/cartesian/option/series/index.d.ts +1 -2
- package/dist/plugins/viz-components/cartesian/option/series/reference_lines.d.ts +1 -2
- package/dist/plugins/viz-components/cartesian/option/series/series_items.d.ts +1 -2
- package/dist/plugins/viz-components/cartesian/option/utils/variables.d.ts +1 -2
- package/dist/plugins/viz-components/cartesian/type.d.ts +3 -3
- package/dist/plugins/viz-components/funnel/editors/series/index.d.ts +1 -2
- package/dist/plugins/viz-components/funnel/editors/series/series-item.d.ts +1 -3
- package/dist/plugins/viz-components/funnel/option/index.d.ts +3 -30
- package/dist/plugins/viz-components/funnel/option/series.d.ts +1 -31
- package/dist/plugins/viz-components/funnel/option/tooltip.d.ts +2 -2
- package/dist/plugins/viz-components/funnel/type.d.ts +2 -2
- package/dist/plugins/viz-components/heatmap/editors/heat_block/index.d.ts +1 -2
- package/dist/plugins/viz-components/heatmap/editors/tooltip/index.d.ts +1 -2
- package/dist/plugins/viz-components/heatmap/editors/tooltip/metric.d.ts +1 -2
- package/dist/plugins/viz-components/heatmap/editors/tooltip/metrics.d.ts +1 -2
- package/dist/plugins/viz-components/heatmap/editors/x-axis/index.d.ts +1 -2
- package/dist/plugins/viz-components/heatmap/editors/x-axis/x-axis-label-formatter/index.d.ts +0 -2
- package/dist/plugins/viz-components/heatmap/editors/y-axis/index.d.ts +1 -3
- package/dist/plugins/viz-components/heatmap/option/index.d.ts +1 -1
- package/dist/plugins/viz-components/heatmap/option/series.d.ts +1 -2
- package/dist/plugins/viz-components/heatmap/option/tooltip.d.ts +1 -2
- package/dist/plugins/viz-components/heatmap/option/x-axis.d.ts +1 -2
- package/dist/plugins/viz-components/heatmap/option/y-axis.d.ts +1 -2
- package/dist/plugins/viz-components/heatmap/type.d.ts +3 -3
- package/dist/plugins/viz-components/horizontal-bar-chart/editors/series/index.d.ts +1 -2
- package/dist/plugins/viz-components/horizontal-bar-chart/editors/series/series-item.d.ts +1 -3
- package/dist/plugins/viz-components/horizontal-bar-chart/editors/y-axis/index.d.ts +1 -3
- package/dist/plugins/viz-components/horizontal-bar-chart/option/index.d.ts +1 -70
- package/dist/plugins/viz-components/horizontal-bar-chart/option/series/data.d.ts +4 -5
- package/dist/plugins/viz-components/horizontal-bar-chart/option/series/index.d.ts +1 -2
- package/dist/plugins/viz-components/horizontal-bar-chart/option/series/reference_lines.d.ts +1 -2
- package/dist/plugins/viz-components/horizontal-bar-chart/option/series/series_items.d.ts +1 -2
- package/dist/plugins/viz-components/horizontal-bar-chart/option/utils/variables.d.ts +1 -2
- package/dist/plugins/viz-components/horizontal-bar-chart/type.d.ts +4 -4
- package/dist/plugins/viz-components/merico-estimation-chart/editors/deviation.d.ts +1 -2
- package/dist/plugins/viz-components/merico-estimation-chart/editors/metrics/index.d.ts +1 -2
- package/dist/plugins/viz-components/merico-estimation-chart/editors/metrics/metric.d.ts +1 -2
- package/dist/plugins/viz-components/merico-estimation-chart/editors/x_axis.d.ts +1 -2
- package/dist/plugins/viz-components/merico-estimation-chart/option/data.d.ts +1 -1
- package/dist/plugins/viz-components/merico-estimation-chart/option/index.d.ts +1 -1
- package/dist/plugins/viz-components/merico-estimation-chart/option/series/index.d.ts +1 -1
- package/dist/plugins/viz-components/merico-estimation-chart/option/series/series-1.d.ts +1 -1
- package/dist/plugins/viz-components/merico-estimation-chart/option/series/series-2.d.ts +1 -1
- package/dist/plugins/viz-components/merico-estimation-chart/option/series/series-3.d.ts +1 -1
- package/dist/plugins/viz-components/merico-estimation-chart/option/series/series-4.d.ts +1 -1
- package/dist/plugins/viz-components/merico-estimation-chart/type.d.ts +3 -3
- package/dist/plugins/viz-components/pareto-chart/editors/bar.d.ts +1 -3
- package/dist/plugins/viz-components/pareto-chart/editors/line.d.ts +1 -3
- package/dist/plugins/viz-components/pareto-chart/editors/mark-line.d.ts +1 -3
- package/dist/plugins/viz-components/pareto-chart/editors/x-axis.d.ts +1 -3
- package/dist/plugins/viz-components/pareto-chart/editors/y-axis.d.ts +1 -3
- package/dist/plugins/viz-components/pareto-chart/option/index.d.ts +1 -1
- package/dist/plugins/viz-components/pareto-chart/option/series.d.ts +1 -2
- package/dist/plugins/viz-components/pie-chart/option/index.d.ts +14 -1
- package/dist/plugins/viz-components/pie-chart/option/series.d.ts +13 -1
- package/dist/plugins/viz-components/pie-chart/type.d.ts +3 -3
- package/dist/plugins/viz-components/radar-chart/editors/dimensions/dimension.d.ts +1 -2
- package/dist/plugins/viz-components/radar-chart/editors/dimensions/index.d.ts +1 -2
- package/dist/plugins/viz-components/radar-chart/option/index.d.ts +1 -62
- package/dist/plugins/viz-components/radar-chart/type.d.ts +2 -2
- package/dist/plugins/viz-components/regression-chart/editors/regression-field.d.ts +1 -2
- package/dist/plugins/viz-components/regression-chart/editors/x-axis.d.ts +1 -2
- package/dist/plugins/viz-components/regression-chart/editors/y-axis.d.ts +1 -2
- package/dist/plugins/viz-components/regression-chart/migrators/index.d.ts +2 -0
- package/dist/plugins/viz-components/regression-chart/option/index.d.ts +1 -1
- package/dist/plugins/viz-components/regression-chart/option/series.d.ts +1 -1
- package/dist/plugins/viz-components/regression-chart/toolbox/regression-description/desc.d.ts +1 -1
- package/dist/plugins/viz-components/regression-chart/toolbox/regression-description/index.d.ts +2 -2
- package/dist/plugins/viz-components/regression-chart/type.d.ts +1 -1
- package/dist/plugins/viz-components/scatter-chart/editors/scatter/index.d.ts +1 -2
- package/dist/plugins/viz-components/scatter-chart/editors/scatter/scatter-size-select/dynamic.d.ts +1 -3
- package/dist/plugins/viz-components/scatter-chart/editors/scatter/scatter-size-select/get-echarts-symbol-size.d.ts +1 -2
- package/dist/plugins/viz-components/scatter-chart/editors/scatter/scatter-size-select/index.d.ts +0 -2
- package/dist/plugins/viz-components/scatter-chart/editors/scatter/series-color-select/dynamic.d.ts +1 -3
- package/dist/plugins/viz-components/scatter-chart/editors/scatter/series-color-select/index.d.ts +0 -2
- package/dist/plugins/viz-components/scatter-chart/editors/stats/index.d.ts +0 -1
- package/dist/plugins/viz-components/scatter-chart/editors/tooltip/index.d.ts +1 -2
- package/dist/plugins/viz-components/scatter-chart/editors/tooltip/metric.d.ts +1 -2
- package/dist/plugins/viz-components/scatter-chart/editors/tooltip/metrics.d.ts +1 -2
- package/dist/plugins/viz-components/scatter-chart/editors/x-axis/index.d.ts +1 -2
- package/dist/plugins/viz-components/scatter-chart/editors/x-axis/x-axis-label-formatter/index.d.ts +0 -2
- package/dist/plugins/viz-components/scatter-chart/option/dataset.d.ts +4 -0
- package/dist/plugins/viz-components/scatter-chart/option/index.d.ts +1 -1
- package/dist/plugins/viz-components/scatter-chart/option/series.d.ts +1 -1
- package/dist/plugins/viz-components/scatter-chart/type.d.ts +3 -3
- package/dist/plugins/viz-components/sunburst/editors/data-field.d.ts +1 -2
- package/dist/plugins/viz-components/sunburst/editors/levels/index.d.ts +1 -2
- package/dist/plugins/viz-components/sunburst/editors/levels/level.d.ts +1 -2
- package/dist/plugins/viz-components/sunburst/option/data.d.ts +1 -2
- package/dist/plugins/viz-components/sunburst/option/index.d.ts +1 -1
- package/dist/plugins/viz-components/sunburst/type.d.ts +3 -3
- package/dist/plugins/viz-components/table/editors/columns/column.d.ts +1 -3
- package/dist/plugins/viz-components/table/editors/columns/index.d.ts +1 -3
- package/dist/plugins/viz-components/table/editors/styling.d.ts +1 -2
- package/dist/plugins/viz-components/table/type.d.ts +2 -2
- package/dist/plugins/viz-components/viz-merico-gqm/request/call-expert-system.d.ts +2 -3
- package/dist/types/dashboard.d.ts +1 -1
- package/dist/types/plugin/index.d.ts +4 -3
- package/dist/utils/aggregation.d.ts +3 -2
- package/dist/utils/data.d.ts +24 -0
- package/dist/utils/download.d.ts +2 -2
- package/dist/utils/template/editor/variable-field.d.ts +0 -1
- package/dist/utils/template/render/render-jsx.d.ts +2 -2
- package/dist/utils/template/render/render-string.d.ts +1 -1
- package/dist/utils/template/utils.d.ts +1 -1
- package/package.json +1 -1
- package/dist/main/dashboard-editor/settings/content/edit-panel/preview-viz.d.ts +0 -6
|
@@ -25,7 +25,7 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
25
25
|
} & {
|
|
26
26
|
set(layout: Omit<import("react-grid-layout").Layout, "i">): void;
|
|
27
27
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
28
|
-
|
|
28
|
+
queryIDs: import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>;
|
|
29
29
|
viz: import("mobx-state-tree").IModelType<{
|
|
30
30
|
type: import("mobx-state-tree").ISimpleType<string>;
|
|
31
31
|
conf: import("mobx-state-tree").IType<import("../..").AnyObject, import("../..").AnyObject, import("../..").AnyObject>;
|
|
@@ -289,7 +289,7 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
289
289
|
};
|
|
290
290
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>;
|
|
291
291
|
}, {
|
|
292
|
-
|
|
292
|
+
getQuery(queryID: string): ({
|
|
293
293
|
id: string;
|
|
294
294
|
name: string;
|
|
295
295
|
type: import("../queries/types").DataSourceType;
|
|
@@ -423,6 +423,152 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
423
423
|
} & {
|
|
424
424
|
afterCreate(): void;
|
|
425
425
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
426
|
+
readonly queryIDSet: Set<string>;
|
|
427
|
+
readonly queries: ({
|
|
428
|
+
id: string;
|
|
429
|
+
name: string;
|
|
430
|
+
type: import("../queries/types").DataSourceType;
|
|
431
|
+
key: string;
|
|
432
|
+
sql: string;
|
|
433
|
+
pre_process: string;
|
|
434
|
+
post_process: string;
|
|
435
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
436
|
+
react_to: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
437
|
+
state: "error" | "loading" | "idle";
|
|
438
|
+
data: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>, [undefined]>>;
|
|
439
|
+
error: any;
|
|
440
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
441
|
+
readonly valid: boolean;
|
|
442
|
+
readonly json: {
|
|
443
|
+
id: string;
|
|
444
|
+
key: string;
|
|
445
|
+
sql: string;
|
|
446
|
+
name: string;
|
|
447
|
+
type: import("../queries/types").DataSourceType;
|
|
448
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
449
|
+
react_to: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
450
|
+
pre_process: string;
|
|
451
|
+
post_process: string;
|
|
452
|
+
};
|
|
453
|
+
readonly conditionOptions: {
|
|
454
|
+
label: string;
|
|
455
|
+
value: string;
|
|
456
|
+
group: string;
|
|
457
|
+
}[];
|
|
458
|
+
readonly unmetRunByConditions: string[];
|
|
459
|
+
} & {
|
|
460
|
+
readonly reQueryKey: string;
|
|
461
|
+
readonly runByConditionsMet: boolean;
|
|
462
|
+
readonly conditionNames: {
|
|
463
|
+
context: string[];
|
|
464
|
+
filters: any[];
|
|
465
|
+
};
|
|
466
|
+
} & {
|
|
467
|
+
setName(name: string): void;
|
|
468
|
+
setKey(key: string): void;
|
|
469
|
+
setType(type: import("../queries/types").DataSourceType): void;
|
|
470
|
+
setSQL(sql: string): void;
|
|
471
|
+
setRunBy(v: string[]): void;
|
|
472
|
+
setReactTo(v: string[]): void;
|
|
473
|
+
setPreProcess(v: string): void;
|
|
474
|
+
setPostProcess(v: string): void;
|
|
475
|
+
} & {
|
|
476
|
+
readonly formattedSQL: any;
|
|
477
|
+
readonly typedAsSQL: boolean;
|
|
478
|
+
readonly typedAsHTTP: boolean;
|
|
479
|
+
readonly datasource: any;
|
|
480
|
+
readonly httpConfigString: string;
|
|
481
|
+
} & {
|
|
482
|
+
readonly stateMessage: string;
|
|
483
|
+
} & {
|
|
484
|
+
controller: AbortController;
|
|
485
|
+
} & {
|
|
486
|
+
runSQL: () => Promise<void>;
|
|
487
|
+
runHTTP: () => Promise<void>;
|
|
488
|
+
} & {
|
|
489
|
+
fetchData: () => Promise<void>;
|
|
490
|
+
beforeDestroy(): void;
|
|
491
|
+
} & {
|
|
492
|
+
afterCreate(): void;
|
|
493
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
494
|
+
id: import("mobx-state-tree").ISimpleType<string>;
|
|
495
|
+
name: import("mobx-state-tree").ISimpleType<string>;
|
|
496
|
+
type: import("mobx-state-tree").ISimpleType<import("../queries/types").DataSourceType>;
|
|
497
|
+
key: import("mobx-state-tree").ISimpleType<string>;
|
|
498
|
+
sql: import("mobx-state-tree").ISimpleType<string>;
|
|
499
|
+
pre_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
500
|
+
post_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
501
|
+
run_by: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
502
|
+
react_to: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
503
|
+
} & {
|
|
504
|
+
state: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"error" | "loading" | "idle">, [undefined]>;
|
|
505
|
+
data: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>, [undefined]>;
|
|
506
|
+
error: import("mobx-state-tree").IType<any, any, any>;
|
|
507
|
+
}, {
|
|
508
|
+
readonly valid: boolean;
|
|
509
|
+
readonly json: {
|
|
510
|
+
id: string;
|
|
511
|
+
key: string;
|
|
512
|
+
sql: string;
|
|
513
|
+
name: string;
|
|
514
|
+
type: import("../queries/types").DataSourceType;
|
|
515
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
516
|
+
react_to: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
517
|
+
pre_process: string;
|
|
518
|
+
post_process: string;
|
|
519
|
+
};
|
|
520
|
+
readonly conditionOptions: {
|
|
521
|
+
label: string;
|
|
522
|
+
value: string;
|
|
523
|
+
group: string;
|
|
524
|
+
}[];
|
|
525
|
+
readonly unmetRunByConditions: string[];
|
|
526
|
+
} & {
|
|
527
|
+
readonly reQueryKey: string;
|
|
528
|
+
readonly runByConditionsMet: boolean;
|
|
529
|
+
readonly conditionNames: {
|
|
530
|
+
context: string[];
|
|
531
|
+
filters: any[];
|
|
532
|
+
};
|
|
533
|
+
} & {
|
|
534
|
+
setName(name: string): void;
|
|
535
|
+
setKey(key: string): void;
|
|
536
|
+
setType(type: import("../queries/types").DataSourceType): void;
|
|
537
|
+
setSQL(sql: string): void;
|
|
538
|
+
setRunBy(v: string[]): void;
|
|
539
|
+
setReactTo(v: string[]): void;
|
|
540
|
+
setPreProcess(v: string): void;
|
|
541
|
+
setPostProcess(v: string): void;
|
|
542
|
+
} & {
|
|
543
|
+
readonly formattedSQL: any;
|
|
544
|
+
readonly typedAsSQL: boolean;
|
|
545
|
+
readonly typedAsHTTP: boolean;
|
|
546
|
+
readonly datasource: any;
|
|
547
|
+
readonly httpConfigString: string;
|
|
548
|
+
} & {
|
|
549
|
+
readonly stateMessage: string;
|
|
550
|
+
} & {
|
|
551
|
+
controller: AbortController;
|
|
552
|
+
} & {
|
|
553
|
+
runSQL: () => Promise<void>;
|
|
554
|
+
runHTTP: () => Promise<void>;
|
|
555
|
+
} & {
|
|
556
|
+
fetchData: () => Promise<void>;
|
|
557
|
+
beforeDestroy(): void;
|
|
558
|
+
} & {
|
|
559
|
+
afterCreate(): void;
|
|
560
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
561
|
+
readonly data: TPanelData;
|
|
562
|
+
readonly dataStuff: {
|
|
563
|
+
data: ((string[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>) | (number[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>))[];
|
|
564
|
+
len: number;
|
|
565
|
+
state: "error" | "loading" | "idle";
|
|
566
|
+
error: any;
|
|
567
|
+
}[];
|
|
568
|
+
readonly dataLoading: boolean;
|
|
569
|
+
readonly queryStateMessages: string[];
|
|
570
|
+
readonly queryErrors: any[];
|
|
571
|
+
readonly canRenderViz: boolean;
|
|
426
572
|
readonly json: {
|
|
427
573
|
id: string;
|
|
428
574
|
viz: {
|
|
@@ -443,7 +589,7 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
443
589
|
moved: boolean;
|
|
444
590
|
static: boolean;
|
|
445
591
|
};
|
|
446
|
-
|
|
592
|
+
queryIDs: string[];
|
|
447
593
|
variables: {
|
|
448
594
|
name: string;
|
|
449
595
|
size: string;
|
|
@@ -613,11 +759,18 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
613
759
|
}[];
|
|
614
760
|
description: string;
|
|
615
761
|
};
|
|
762
|
+
readonly dataFieldOptions: {
|
|
763
|
+
label: string;
|
|
764
|
+
value: string;
|
|
765
|
+
group: string;
|
|
766
|
+
}[];
|
|
616
767
|
} & {
|
|
617
768
|
setID(id: string): void;
|
|
618
769
|
setTitle(title: string): void;
|
|
619
770
|
setDescription(description: string): void;
|
|
620
|
-
|
|
771
|
+
addQueryID(queryID: string): void;
|
|
772
|
+
removeQueryID(queryID: string): void;
|
|
773
|
+
setQueryIDs(queryIDs: string[]): void;
|
|
621
774
|
addVariable(variable: import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
|
|
622
775
|
name: import("mobx-state-tree").ISimpleType<string>;
|
|
623
776
|
size: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -1253,6 +1406,8 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
1253
1406
|
removeSelf(): void;
|
|
1254
1407
|
} & {
|
|
1255
1408
|
moveToView(sourceViewID: string, targetViewID: string): void;
|
|
1409
|
+
refreshData(): void;
|
|
1410
|
+
downloadData(): void;
|
|
1256
1411
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>;
|
|
1257
1412
|
}, {
|
|
1258
1413
|
readonly json: {
|
|
@@ -1275,7 +1430,7 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
1275
1430
|
moved: boolean;
|
|
1276
1431
|
static: boolean;
|
|
1277
1432
|
};
|
|
1278
|
-
|
|
1433
|
+
queryIDs: string[];
|
|
1279
1434
|
variables: {
|
|
1280
1435
|
name: string;
|
|
1281
1436
|
size: string;
|
|
@@ -1486,7 +1641,7 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
1486
1641
|
} & {
|
|
1487
1642
|
set(layout: Omit<import("react-grid-layout").Layout, "i">): void;
|
|
1488
1643
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
1489
|
-
|
|
1644
|
+
queryIDs: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>>;
|
|
1490
1645
|
viz: {
|
|
1491
1646
|
type: string;
|
|
1492
1647
|
conf: import("../..").AnyObject & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<import("../..").AnyObject, import("../..").AnyObject, import("../..").AnyObject>>;
|
|
@@ -2017,7 +2172,7 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
2017
2172
|
};
|
|
2018
2173
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>>;
|
|
2019
2174
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
2020
|
-
|
|
2175
|
+
getQuery(queryID: string): ({
|
|
2021
2176
|
id: string;
|
|
2022
2177
|
name: string;
|
|
2023
2178
|
type: import("../queries/types").DataSourceType;
|
|
@@ -2151,48 +2306,194 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
2151
2306
|
} & {
|
|
2152
2307
|
afterCreate(): void;
|
|
2153
2308
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
2154
|
-
readonly
|
|
2309
|
+
readonly queryIDSet: Set<string>;
|
|
2310
|
+
readonly queries: ({
|
|
2155
2311
|
id: string;
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2312
|
+
name: string;
|
|
2313
|
+
type: import("../queries/types").DataSourceType;
|
|
2314
|
+
key: string;
|
|
2315
|
+
sql: string;
|
|
2316
|
+
pre_process: string;
|
|
2317
|
+
post_process: string;
|
|
2318
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
2319
|
+
react_to: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
2320
|
+
state: "error" | "loading" | "idle";
|
|
2321
|
+
data: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>, [undefined]>>;
|
|
2322
|
+
error: any;
|
|
2323
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
2324
|
+
readonly valid: boolean;
|
|
2325
|
+
readonly json: {
|
|
2326
|
+
id: string;
|
|
2327
|
+
key: string;
|
|
2328
|
+
sql: string;
|
|
2329
|
+
name: string;
|
|
2330
|
+
type: import("../queries/types").DataSourceType;
|
|
2331
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
2332
|
+
react_to: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
2333
|
+
pre_process: string;
|
|
2334
|
+
post_process: string;
|
|
2164
2335
|
};
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2336
|
+
readonly conditionOptions: {
|
|
2337
|
+
label: string;
|
|
2338
|
+
value: string;
|
|
2339
|
+
group: string;
|
|
2340
|
+
}[];
|
|
2341
|
+
readonly unmetRunByConditions: string[];
|
|
2342
|
+
} & {
|
|
2343
|
+
readonly reQueryKey: string;
|
|
2344
|
+
readonly runByConditionsMet: boolean;
|
|
2345
|
+
readonly conditionNames: {
|
|
2346
|
+
context: string[];
|
|
2347
|
+
filters: any[];
|
|
2173
2348
|
};
|
|
2174
|
-
|
|
2175
|
-
|
|
2349
|
+
} & {
|
|
2350
|
+
setName(name: string): void;
|
|
2351
|
+
setKey(key: string): void;
|
|
2352
|
+
setType(type: import("../queries/types").DataSourceType): void;
|
|
2353
|
+
setSQL(sql: string): void;
|
|
2354
|
+
setRunBy(v: string[]): void;
|
|
2355
|
+
setReactTo(v: string[]): void;
|
|
2356
|
+
setPreProcess(v: string): void;
|
|
2357
|
+
setPostProcess(v: string): void;
|
|
2358
|
+
} & {
|
|
2359
|
+
readonly formattedSQL: any;
|
|
2360
|
+
readonly typedAsSQL: boolean;
|
|
2361
|
+
readonly typedAsHTTP: boolean;
|
|
2362
|
+
readonly datasource: any;
|
|
2363
|
+
readonly httpConfigString: string;
|
|
2364
|
+
} & {
|
|
2365
|
+
readonly stateMessage: string;
|
|
2366
|
+
} & {
|
|
2367
|
+
controller: AbortController;
|
|
2368
|
+
} & {
|
|
2369
|
+
runSQL: () => Promise<void>;
|
|
2370
|
+
runHTTP: () => Promise<void>;
|
|
2371
|
+
} & {
|
|
2372
|
+
fetchData: () => Promise<void>;
|
|
2373
|
+
beforeDestroy(): void;
|
|
2374
|
+
} & {
|
|
2375
|
+
afterCreate(): void;
|
|
2376
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
2377
|
+
id: import("mobx-state-tree").ISimpleType<string>;
|
|
2378
|
+
name: import("mobx-state-tree").ISimpleType<string>;
|
|
2379
|
+
type: import("mobx-state-tree").ISimpleType<import("../queries/types").DataSourceType>;
|
|
2380
|
+
key: import("mobx-state-tree").ISimpleType<string>;
|
|
2381
|
+
sql: import("mobx-state-tree").ISimpleType<string>;
|
|
2382
|
+
pre_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
2383
|
+
post_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
2384
|
+
run_by: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
2385
|
+
react_to: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
2386
|
+
} & {
|
|
2387
|
+
state: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"error" | "loading" | "idle">, [undefined]>;
|
|
2388
|
+
data: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>, [undefined]>;
|
|
2389
|
+
error: import("mobx-state-tree").IType<any, any, any>;
|
|
2390
|
+
}, {
|
|
2391
|
+
readonly valid: boolean;
|
|
2392
|
+
readonly json: {
|
|
2393
|
+
id: string;
|
|
2394
|
+
key: string;
|
|
2395
|
+
sql: string;
|
|
2176
2396
|
name: string;
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2397
|
+
type: import("../queries/types").DataSourceType;
|
|
2398
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
2399
|
+
react_to: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
2400
|
+
pre_process: string;
|
|
2401
|
+
post_process: string;
|
|
2402
|
+
};
|
|
2403
|
+
readonly conditionOptions: {
|
|
2404
|
+
label: string;
|
|
2405
|
+
value: string;
|
|
2406
|
+
group: string;
|
|
2407
|
+
}[];
|
|
2408
|
+
readonly unmetRunByConditions: string[];
|
|
2409
|
+
} & {
|
|
2410
|
+
readonly reQueryKey: string;
|
|
2411
|
+
readonly runByConditionsMet: boolean;
|
|
2412
|
+
readonly conditionNames: {
|
|
2413
|
+
context: string[];
|
|
2414
|
+
filters: any[];
|
|
2415
|
+
};
|
|
2416
|
+
} & {
|
|
2417
|
+
setName(name: string): void;
|
|
2418
|
+
setKey(key: string): void;
|
|
2419
|
+
setType(type: import("../queries/types").DataSourceType): void;
|
|
2420
|
+
setSQL(sql: string): void;
|
|
2421
|
+
setRunBy(v: string[]): void;
|
|
2422
|
+
setReactTo(v: string[]): void;
|
|
2423
|
+
setPreProcess(v: string): void;
|
|
2424
|
+
setPostProcess(v: string): void;
|
|
2425
|
+
} & {
|
|
2426
|
+
readonly formattedSQL: any;
|
|
2427
|
+
readonly typedAsSQL: boolean;
|
|
2428
|
+
readonly typedAsHTTP: boolean;
|
|
2429
|
+
readonly datasource: any;
|
|
2430
|
+
readonly httpConfigString: string;
|
|
2431
|
+
} & {
|
|
2432
|
+
readonly stateMessage: string;
|
|
2433
|
+
} & {
|
|
2434
|
+
controller: AbortController;
|
|
2435
|
+
} & {
|
|
2436
|
+
runSQL: () => Promise<void>;
|
|
2437
|
+
runHTTP: () => Promise<void>;
|
|
2438
|
+
} & {
|
|
2439
|
+
fetchData: () => Promise<void>;
|
|
2440
|
+
beforeDestroy(): void;
|
|
2441
|
+
} & {
|
|
2442
|
+
afterCreate(): void;
|
|
2443
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
2444
|
+
readonly data: TPanelData;
|
|
2445
|
+
readonly dataStuff: {
|
|
2446
|
+
data: ((string[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>) | (number[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>))[];
|
|
2447
|
+
len: number;
|
|
2448
|
+
state: "error" | "loading" | "idle";
|
|
2449
|
+
error: any;
|
|
2450
|
+
}[];
|
|
2451
|
+
readonly dataLoading: boolean;
|
|
2452
|
+
readonly queryStateMessages: string[];
|
|
2453
|
+
readonly queryErrors: any[];
|
|
2454
|
+
readonly canRenderViz: boolean;
|
|
2455
|
+
readonly json: {
|
|
2456
|
+
id: string;
|
|
2457
|
+
viz: {
|
|
2458
|
+
conf: import("../..").AnyObject & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<import("../..").AnyObject, import("../..").AnyObject, import("../..").AnyObject>>;
|
|
2459
|
+
type: string;
|
|
2460
|
+
};
|
|
2461
|
+
style: {
|
|
2462
|
+
border: {
|
|
2463
|
+
enabled: boolean;
|
|
2464
|
+
};
|
|
2465
|
+
};
|
|
2466
|
+
title: string;
|
|
2467
|
+
layout: {
|
|
2468
|
+
h: number;
|
|
2469
|
+
w: number;
|
|
2470
|
+
x: number;
|
|
2471
|
+
y: number;
|
|
2472
|
+
moved: boolean;
|
|
2473
|
+
static: boolean;
|
|
2474
|
+
};
|
|
2475
|
+
queryIDs: string[];
|
|
2476
|
+
variables: {
|
|
2477
|
+
name: string;
|
|
2478
|
+
size: string;
|
|
2479
|
+
color: ({
|
|
2480
|
+
type: "static";
|
|
2481
|
+
staticColor: string;
|
|
2482
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").ITypeUnion<import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
|
|
2483
|
+
type: import("mobx-state-tree").ISimpleType<"static">;
|
|
2484
|
+
staticColor: import("mobx-state-tree").ISimpleType<string>;
|
|
2485
|
+
}>> | import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
|
|
2486
|
+
type: import("mobx-state-tree").ISimpleType<"continuous">;
|
|
2487
|
+
valueRange: import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<number>>;
|
|
2488
|
+
colorRange: import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>;
|
|
2489
|
+
}>> | import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
|
|
2490
|
+
type: import("mobx-state-tree").ISimpleType<"piecewise">;
|
|
2491
|
+
}>>, import("mobx-state-tree").ModelSnapshotType<{
|
|
2492
|
+
type: import("mobx-state-tree").ISimpleType<"static">;
|
|
2493
|
+
staticColor: import("mobx-state-tree").ISimpleType<string>;
|
|
2494
|
+
}> | import("mobx-state-tree").ModelSnapshotType<{
|
|
2495
|
+
type: import("mobx-state-tree").ISimpleType<"continuous">;
|
|
2496
|
+
valueRange: import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<number>>;
|
|
2196
2497
|
colorRange: import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>;
|
|
2197
2498
|
}> | import("mobx-state-tree").ModelSnapshotType<{
|
|
2198
2499
|
type: import("mobx-state-tree").ISimpleType<"piecewise">;
|
|
@@ -2341,11 +2642,18 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
2341
2642
|
}[];
|
|
2342
2643
|
description: string;
|
|
2343
2644
|
};
|
|
2645
|
+
readonly dataFieldOptions: {
|
|
2646
|
+
label: string;
|
|
2647
|
+
value: string;
|
|
2648
|
+
group: string;
|
|
2649
|
+
}[];
|
|
2344
2650
|
} & {
|
|
2345
2651
|
setID(id: string): void;
|
|
2346
2652
|
setTitle(title: string): void;
|
|
2347
2653
|
setDescription(description: string): void;
|
|
2348
|
-
|
|
2654
|
+
addQueryID(queryID: string): void;
|
|
2655
|
+
removeQueryID(queryID: string): void;
|
|
2656
|
+
setQueryIDs(queryIDs: string[]): void;
|
|
2349
2657
|
addVariable(variable: import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
|
|
2350
2658
|
name: import("mobx-state-tree").ISimpleType<string>;
|
|
2351
2659
|
size: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -2981,6 +3289,8 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
2981
3289
|
removeSelf(): void;
|
|
2982
3290
|
} & {
|
|
2983
3291
|
moveToView(sourceViewID: string, targetViewID: string): void;
|
|
3292
|
+
refreshData(): void;
|
|
3293
|
+
downloadData(): void;
|
|
2984
3294
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
2985
3295
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
2986
3296
|
title: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -3004,7 +3314,7 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
3004
3314
|
} & {
|
|
3005
3315
|
set(layout: Omit<import("react-grid-layout").Layout, "i">): void;
|
|
3006
3316
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
3007
|
-
|
|
3317
|
+
queryIDs: import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>;
|
|
3008
3318
|
viz: import("mobx-state-tree").IModelType<{
|
|
3009
3319
|
type: import("mobx-state-tree").ISimpleType<string>;
|
|
3010
3320
|
conf: import("mobx-state-tree").IType<import("../..").AnyObject, import("../..").AnyObject, import("../..").AnyObject>;
|
|
@@ -3268,7 +3578,7 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
3268
3578
|
};
|
|
3269
3579
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>;
|
|
3270
3580
|
}, {
|
|
3271
|
-
|
|
3581
|
+
getQuery(queryID: string): ({
|
|
3272
3582
|
id: string;
|
|
3273
3583
|
name: string;
|
|
3274
3584
|
type: import("../queries/types").DataSourceType;
|
|
@@ -3402,6 +3712,152 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
3402
3712
|
} & {
|
|
3403
3713
|
afterCreate(): void;
|
|
3404
3714
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
3715
|
+
readonly queryIDSet: Set<string>;
|
|
3716
|
+
readonly queries: ({
|
|
3717
|
+
id: string;
|
|
3718
|
+
name: string;
|
|
3719
|
+
type: import("../queries/types").DataSourceType;
|
|
3720
|
+
key: string;
|
|
3721
|
+
sql: string;
|
|
3722
|
+
pre_process: string;
|
|
3723
|
+
post_process: string;
|
|
3724
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
3725
|
+
react_to: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
3726
|
+
state: "error" | "loading" | "idle";
|
|
3727
|
+
data: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>, [undefined]>>;
|
|
3728
|
+
error: any;
|
|
3729
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
3730
|
+
readonly valid: boolean;
|
|
3731
|
+
readonly json: {
|
|
3732
|
+
id: string;
|
|
3733
|
+
key: string;
|
|
3734
|
+
sql: string;
|
|
3735
|
+
name: string;
|
|
3736
|
+
type: import("../queries/types").DataSourceType;
|
|
3737
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
3738
|
+
react_to: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
3739
|
+
pre_process: string;
|
|
3740
|
+
post_process: string;
|
|
3741
|
+
};
|
|
3742
|
+
readonly conditionOptions: {
|
|
3743
|
+
label: string;
|
|
3744
|
+
value: string;
|
|
3745
|
+
group: string;
|
|
3746
|
+
}[];
|
|
3747
|
+
readonly unmetRunByConditions: string[];
|
|
3748
|
+
} & {
|
|
3749
|
+
readonly reQueryKey: string;
|
|
3750
|
+
readonly runByConditionsMet: boolean;
|
|
3751
|
+
readonly conditionNames: {
|
|
3752
|
+
context: string[];
|
|
3753
|
+
filters: any[];
|
|
3754
|
+
};
|
|
3755
|
+
} & {
|
|
3756
|
+
setName(name: string): void;
|
|
3757
|
+
setKey(key: string): void;
|
|
3758
|
+
setType(type: import("../queries/types").DataSourceType): void;
|
|
3759
|
+
setSQL(sql: string): void;
|
|
3760
|
+
setRunBy(v: string[]): void;
|
|
3761
|
+
setReactTo(v: string[]): void;
|
|
3762
|
+
setPreProcess(v: string): void;
|
|
3763
|
+
setPostProcess(v: string): void;
|
|
3764
|
+
} & {
|
|
3765
|
+
readonly formattedSQL: any;
|
|
3766
|
+
readonly typedAsSQL: boolean;
|
|
3767
|
+
readonly typedAsHTTP: boolean;
|
|
3768
|
+
readonly datasource: any;
|
|
3769
|
+
readonly httpConfigString: string;
|
|
3770
|
+
} & {
|
|
3771
|
+
readonly stateMessage: string;
|
|
3772
|
+
} & {
|
|
3773
|
+
controller: AbortController;
|
|
3774
|
+
} & {
|
|
3775
|
+
runSQL: () => Promise<void>;
|
|
3776
|
+
runHTTP: () => Promise<void>;
|
|
3777
|
+
} & {
|
|
3778
|
+
fetchData: () => Promise<void>;
|
|
3779
|
+
beforeDestroy(): void;
|
|
3780
|
+
} & {
|
|
3781
|
+
afterCreate(): void;
|
|
3782
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
3783
|
+
id: import("mobx-state-tree").ISimpleType<string>;
|
|
3784
|
+
name: import("mobx-state-tree").ISimpleType<string>;
|
|
3785
|
+
type: import("mobx-state-tree").ISimpleType<import("../queries/types").DataSourceType>;
|
|
3786
|
+
key: import("mobx-state-tree").ISimpleType<string>;
|
|
3787
|
+
sql: import("mobx-state-tree").ISimpleType<string>;
|
|
3788
|
+
pre_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
3789
|
+
post_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
3790
|
+
run_by: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
3791
|
+
react_to: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
3792
|
+
} & {
|
|
3793
|
+
state: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"error" | "loading" | "idle">, [undefined]>;
|
|
3794
|
+
data: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>, [undefined]>;
|
|
3795
|
+
error: import("mobx-state-tree").IType<any, any, any>;
|
|
3796
|
+
}, {
|
|
3797
|
+
readonly valid: boolean;
|
|
3798
|
+
readonly json: {
|
|
3799
|
+
id: string;
|
|
3800
|
+
key: string;
|
|
3801
|
+
sql: string;
|
|
3802
|
+
name: string;
|
|
3803
|
+
type: import("../queries/types").DataSourceType;
|
|
3804
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
3805
|
+
react_to: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
3806
|
+
pre_process: string;
|
|
3807
|
+
post_process: string;
|
|
3808
|
+
};
|
|
3809
|
+
readonly conditionOptions: {
|
|
3810
|
+
label: string;
|
|
3811
|
+
value: string;
|
|
3812
|
+
group: string;
|
|
3813
|
+
}[];
|
|
3814
|
+
readonly unmetRunByConditions: string[];
|
|
3815
|
+
} & {
|
|
3816
|
+
readonly reQueryKey: string;
|
|
3817
|
+
readonly runByConditionsMet: boolean;
|
|
3818
|
+
readonly conditionNames: {
|
|
3819
|
+
context: string[];
|
|
3820
|
+
filters: any[];
|
|
3821
|
+
};
|
|
3822
|
+
} & {
|
|
3823
|
+
setName(name: string): void;
|
|
3824
|
+
setKey(key: string): void;
|
|
3825
|
+
setType(type: import("../queries/types").DataSourceType): void;
|
|
3826
|
+
setSQL(sql: string): void;
|
|
3827
|
+
setRunBy(v: string[]): void;
|
|
3828
|
+
setReactTo(v: string[]): void;
|
|
3829
|
+
setPreProcess(v: string): void;
|
|
3830
|
+
setPostProcess(v: string): void;
|
|
3831
|
+
} & {
|
|
3832
|
+
readonly formattedSQL: any;
|
|
3833
|
+
readonly typedAsSQL: boolean;
|
|
3834
|
+
readonly typedAsHTTP: boolean;
|
|
3835
|
+
readonly datasource: any;
|
|
3836
|
+
readonly httpConfigString: string;
|
|
3837
|
+
} & {
|
|
3838
|
+
readonly stateMessage: string;
|
|
3839
|
+
} & {
|
|
3840
|
+
controller: AbortController;
|
|
3841
|
+
} & {
|
|
3842
|
+
runSQL: () => Promise<void>;
|
|
3843
|
+
runHTTP: () => Promise<void>;
|
|
3844
|
+
} & {
|
|
3845
|
+
fetchData: () => Promise<void>;
|
|
3846
|
+
beforeDestroy(): void;
|
|
3847
|
+
} & {
|
|
3848
|
+
afterCreate(): void;
|
|
3849
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
3850
|
+
readonly data: TPanelData;
|
|
3851
|
+
readonly dataStuff: {
|
|
3852
|
+
data: ((string[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>) | (number[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>))[];
|
|
3853
|
+
len: number;
|
|
3854
|
+
state: "error" | "loading" | "idle";
|
|
3855
|
+
error: any;
|
|
3856
|
+
}[];
|
|
3857
|
+
readonly dataLoading: boolean;
|
|
3858
|
+
readonly queryStateMessages: string[];
|
|
3859
|
+
readonly queryErrors: any[];
|
|
3860
|
+
readonly canRenderViz: boolean;
|
|
3405
3861
|
readonly json: {
|
|
3406
3862
|
id: string;
|
|
3407
3863
|
viz: {
|
|
@@ -3422,7 +3878,7 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
3422
3878
|
moved: boolean;
|
|
3423
3879
|
static: boolean;
|
|
3424
3880
|
};
|
|
3425
|
-
|
|
3881
|
+
queryIDs: string[];
|
|
3426
3882
|
variables: {
|
|
3427
3883
|
name: string;
|
|
3428
3884
|
size: string;
|
|
@@ -3592,11 +4048,18 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
3592
4048
|
}[];
|
|
3593
4049
|
description: string;
|
|
3594
4050
|
};
|
|
4051
|
+
readonly dataFieldOptions: {
|
|
4052
|
+
label: string;
|
|
4053
|
+
value: string;
|
|
4054
|
+
group: string;
|
|
4055
|
+
}[];
|
|
3595
4056
|
} & {
|
|
3596
4057
|
setID(id: string): void;
|
|
3597
4058
|
setTitle(title: string): void;
|
|
3598
4059
|
setDescription(description: string): void;
|
|
3599
|
-
|
|
4060
|
+
addQueryID(queryID: string): void;
|
|
4061
|
+
removeQueryID(queryID: string): void;
|
|
4062
|
+
setQueryIDs(queryIDs: string[]): void;
|
|
3600
4063
|
addVariable(variable: import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
|
|
3601
4064
|
name: import("mobx-state-tree").ISimpleType<string>;
|
|
3602
4065
|
size: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -4232,6 +4695,8 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
4232
4695
|
removeSelf(): void;
|
|
4233
4696
|
} & {
|
|
4234
4697
|
moveToView(sourceViewID: string, targetViewID: string): void;
|
|
4698
|
+
refreshData(): void;
|
|
4699
|
+
downloadData(): void;
|
|
4235
4700
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
4236
4701
|
readonly idMap: Map<string, {
|
|
4237
4702
|
id: string;
|
|
@@ -4274,7 +4739,7 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
4274
4739
|
} & {
|
|
4275
4740
|
set(layout: Omit<import("react-grid-layout").Layout, "i">): void;
|
|
4276
4741
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
4277
|
-
|
|
4742
|
+
queryIDs: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>>;
|
|
4278
4743
|
viz: {
|
|
4279
4744
|
type: string;
|
|
4280
4745
|
conf: import("../..").AnyObject & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<import("../..").AnyObject, import("../..").AnyObject, import("../..").AnyObject>>;
|
|
@@ -4805,7 +5270,7 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
4805
5270
|
};
|
|
4806
5271
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>>;
|
|
4807
5272
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
4808
|
-
|
|
5273
|
+
getQuery(queryID: string): ({
|
|
4809
5274
|
id: string;
|
|
4810
5275
|
name: string;
|
|
4811
5276
|
type: import("../queries/types").DataSourceType;
|
|
@@ -4939,11 +5404,157 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
4939
5404
|
} & {
|
|
4940
5405
|
afterCreate(): void;
|
|
4941
5406
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
4942
|
-
readonly
|
|
5407
|
+
readonly queryIDSet: Set<string>;
|
|
5408
|
+
readonly queries: ({
|
|
4943
5409
|
id: string;
|
|
4944
|
-
|
|
4945
|
-
|
|
4946
|
-
|
|
5410
|
+
name: string;
|
|
5411
|
+
type: import("../queries/types").DataSourceType;
|
|
5412
|
+
key: string;
|
|
5413
|
+
sql: string;
|
|
5414
|
+
pre_process: string;
|
|
5415
|
+
post_process: string;
|
|
5416
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
5417
|
+
react_to: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
5418
|
+
state: "error" | "loading" | "idle";
|
|
5419
|
+
data: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>, [undefined]>>;
|
|
5420
|
+
error: any;
|
|
5421
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
5422
|
+
readonly valid: boolean;
|
|
5423
|
+
readonly json: {
|
|
5424
|
+
id: string;
|
|
5425
|
+
key: string;
|
|
5426
|
+
sql: string;
|
|
5427
|
+
name: string;
|
|
5428
|
+
type: import("../queries/types").DataSourceType;
|
|
5429
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
5430
|
+
react_to: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
5431
|
+
pre_process: string;
|
|
5432
|
+
post_process: string;
|
|
5433
|
+
};
|
|
5434
|
+
readonly conditionOptions: {
|
|
5435
|
+
label: string;
|
|
5436
|
+
value: string;
|
|
5437
|
+
group: string;
|
|
5438
|
+
}[];
|
|
5439
|
+
readonly unmetRunByConditions: string[];
|
|
5440
|
+
} & {
|
|
5441
|
+
readonly reQueryKey: string;
|
|
5442
|
+
readonly runByConditionsMet: boolean;
|
|
5443
|
+
readonly conditionNames: {
|
|
5444
|
+
context: string[];
|
|
5445
|
+
filters: any[];
|
|
5446
|
+
};
|
|
5447
|
+
} & {
|
|
5448
|
+
setName(name: string): void;
|
|
5449
|
+
setKey(key: string): void;
|
|
5450
|
+
setType(type: import("../queries/types").DataSourceType): void;
|
|
5451
|
+
setSQL(sql: string): void;
|
|
5452
|
+
setRunBy(v: string[]): void;
|
|
5453
|
+
setReactTo(v: string[]): void;
|
|
5454
|
+
setPreProcess(v: string): void;
|
|
5455
|
+
setPostProcess(v: string): void;
|
|
5456
|
+
} & {
|
|
5457
|
+
readonly formattedSQL: any;
|
|
5458
|
+
readonly typedAsSQL: boolean;
|
|
5459
|
+
readonly typedAsHTTP: boolean;
|
|
5460
|
+
readonly datasource: any;
|
|
5461
|
+
readonly httpConfigString: string;
|
|
5462
|
+
} & {
|
|
5463
|
+
readonly stateMessage: string;
|
|
5464
|
+
} & {
|
|
5465
|
+
controller: AbortController;
|
|
5466
|
+
} & {
|
|
5467
|
+
runSQL: () => Promise<void>;
|
|
5468
|
+
runHTTP: () => Promise<void>;
|
|
5469
|
+
} & {
|
|
5470
|
+
fetchData: () => Promise<void>;
|
|
5471
|
+
beforeDestroy(): void;
|
|
5472
|
+
} & {
|
|
5473
|
+
afterCreate(): void;
|
|
5474
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
5475
|
+
id: import("mobx-state-tree").ISimpleType<string>;
|
|
5476
|
+
name: import("mobx-state-tree").ISimpleType<string>;
|
|
5477
|
+
type: import("mobx-state-tree").ISimpleType<import("../queries/types").DataSourceType>;
|
|
5478
|
+
key: import("mobx-state-tree").ISimpleType<string>;
|
|
5479
|
+
sql: import("mobx-state-tree").ISimpleType<string>;
|
|
5480
|
+
pre_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
5481
|
+
post_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
5482
|
+
run_by: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
5483
|
+
react_to: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
5484
|
+
} & {
|
|
5485
|
+
state: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"error" | "loading" | "idle">, [undefined]>;
|
|
5486
|
+
data: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>, [undefined]>;
|
|
5487
|
+
error: import("mobx-state-tree").IType<any, any, any>;
|
|
5488
|
+
}, {
|
|
5489
|
+
readonly valid: boolean;
|
|
5490
|
+
readonly json: {
|
|
5491
|
+
id: string;
|
|
5492
|
+
key: string;
|
|
5493
|
+
sql: string;
|
|
5494
|
+
name: string;
|
|
5495
|
+
type: import("../queries/types").DataSourceType;
|
|
5496
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
5497
|
+
react_to: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
5498
|
+
pre_process: string;
|
|
5499
|
+
post_process: string;
|
|
5500
|
+
};
|
|
5501
|
+
readonly conditionOptions: {
|
|
5502
|
+
label: string;
|
|
5503
|
+
value: string;
|
|
5504
|
+
group: string;
|
|
5505
|
+
}[];
|
|
5506
|
+
readonly unmetRunByConditions: string[];
|
|
5507
|
+
} & {
|
|
5508
|
+
readonly reQueryKey: string;
|
|
5509
|
+
readonly runByConditionsMet: boolean;
|
|
5510
|
+
readonly conditionNames: {
|
|
5511
|
+
context: string[];
|
|
5512
|
+
filters: any[];
|
|
5513
|
+
};
|
|
5514
|
+
} & {
|
|
5515
|
+
setName(name: string): void;
|
|
5516
|
+
setKey(key: string): void;
|
|
5517
|
+
setType(type: import("../queries/types").DataSourceType): void;
|
|
5518
|
+
setSQL(sql: string): void;
|
|
5519
|
+
setRunBy(v: string[]): void;
|
|
5520
|
+
setReactTo(v: string[]): void;
|
|
5521
|
+
setPreProcess(v: string): void;
|
|
5522
|
+
setPostProcess(v: string): void;
|
|
5523
|
+
} & {
|
|
5524
|
+
readonly formattedSQL: any;
|
|
5525
|
+
readonly typedAsSQL: boolean;
|
|
5526
|
+
readonly typedAsHTTP: boolean;
|
|
5527
|
+
readonly datasource: any;
|
|
5528
|
+
readonly httpConfigString: string;
|
|
5529
|
+
} & {
|
|
5530
|
+
readonly stateMessage: string;
|
|
5531
|
+
} & {
|
|
5532
|
+
controller: AbortController;
|
|
5533
|
+
} & {
|
|
5534
|
+
runSQL: () => Promise<void>;
|
|
5535
|
+
runHTTP: () => Promise<void>;
|
|
5536
|
+
} & {
|
|
5537
|
+
fetchData: () => Promise<void>;
|
|
5538
|
+
beforeDestroy(): void;
|
|
5539
|
+
} & {
|
|
5540
|
+
afterCreate(): void;
|
|
5541
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
5542
|
+
readonly data: TPanelData;
|
|
5543
|
+
readonly dataStuff: {
|
|
5544
|
+
data: ((string[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>) | (number[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>))[];
|
|
5545
|
+
len: number;
|
|
5546
|
+
state: "error" | "loading" | "idle";
|
|
5547
|
+
error: any;
|
|
5548
|
+
}[];
|
|
5549
|
+
readonly dataLoading: boolean;
|
|
5550
|
+
readonly queryStateMessages: string[];
|
|
5551
|
+
readonly queryErrors: any[];
|
|
5552
|
+
readonly canRenderViz: boolean;
|
|
5553
|
+
readonly json: {
|
|
5554
|
+
id: string;
|
|
5555
|
+
viz: {
|
|
5556
|
+
conf: import("../..").AnyObject & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<import("../..").AnyObject, import("../..").AnyObject, import("../..").AnyObject>>;
|
|
5557
|
+
type: string;
|
|
4947
5558
|
};
|
|
4948
5559
|
style: {
|
|
4949
5560
|
border: {
|
|
@@ -4959,7 +5570,7 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
4959
5570
|
moved: boolean;
|
|
4960
5571
|
static: boolean;
|
|
4961
5572
|
};
|
|
4962
|
-
|
|
5573
|
+
queryIDs: string[];
|
|
4963
5574
|
variables: {
|
|
4964
5575
|
name: string;
|
|
4965
5576
|
size: string;
|
|
@@ -5129,11 +5740,18 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
5129
5740
|
}[];
|
|
5130
5741
|
description: string;
|
|
5131
5742
|
};
|
|
5743
|
+
readonly dataFieldOptions: {
|
|
5744
|
+
label: string;
|
|
5745
|
+
value: string;
|
|
5746
|
+
group: string;
|
|
5747
|
+
}[];
|
|
5132
5748
|
} & {
|
|
5133
5749
|
setID(id: string): void;
|
|
5134
5750
|
setTitle(title: string): void;
|
|
5135
5751
|
setDescription(description: string): void;
|
|
5136
|
-
|
|
5752
|
+
addQueryID(queryID: string): void;
|
|
5753
|
+
removeQueryID(queryID: string): void;
|
|
5754
|
+
setQueryIDs(queryIDs: string[]): void;
|
|
5137
5755
|
addVariable(variable: import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
|
|
5138
5756
|
name: import("mobx-state-tree").ISimpleType<string>;
|
|
5139
5757
|
size: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -5769,6 +6387,8 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
5769
6387
|
removeSelf(): void;
|
|
5770
6388
|
} & {
|
|
5771
6389
|
moveToView(sourceViewID: string, targetViewID: string): void;
|
|
6390
|
+
refreshData(): void;
|
|
6391
|
+
downloadData(): void;
|
|
5772
6392
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
5773
6393
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
5774
6394
|
title: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -5792,7 +6412,7 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
5792
6412
|
} & {
|
|
5793
6413
|
set(layout: Omit<import("react-grid-layout").Layout, "i">): void;
|
|
5794
6414
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
5795
|
-
|
|
6415
|
+
queryIDs: import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>;
|
|
5796
6416
|
viz: import("mobx-state-tree").IModelType<{
|
|
5797
6417
|
type: import("mobx-state-tree").ISimpleType<string>;
|
|
5798
6418
|
conf: import("mobx-state-tree").IType<import("../..").AnyObject, import("../..").AnyObject, import("../..").AnyObject>;
|
|
@@ -6056,7 +6676,7 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
6056
6676
|
};
|
|
6057
6677
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>;
|
|
6058
6678
|
}, {
|
|
6059
|
-
|
|
6679
|
+
getQuery(queryID: string): ({
|
|
6060
6680
|
id: string;
|
|
6061
6681
|
name: string;
|
|
6062
6682
|
type: import("../queries/types").DataSourceType;
|
|
@@ -6190,6 +6810,152 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
6190
6810
|
} & {
|
|
6191
6811
|
afterCreate(): void;
|
|
6192
6812
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
6813
|
+
readonly queryIDSet: Set<string>;
|
|
6814
|
+
readonly queries: ({
|
|
6815
|
+
id: string;
|
|
6816
|
+
name: string;
|
|
6817
|
+
type: import("../queries/types").DataSourceType;
|
|
6818
|
+
key: string;
|
|
6819
|
+
sql: string;
|
|
6820
|
+
pre_process: string;
|
|
6821
|
+
post_process: string;
|
|
6822
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
6823
|
+
react_to: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
6824
|
+
state: "error" | "loading" | "idle";
|
|
6825
|
+
data: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>, [undefined]>>;
|
|
6826
|
+
error: any;
|
|
6827
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
6828
|
+
readonly valid: boolean;
|
|
6829
|
+
readonly json: {
|
|
6830
|
+
id: string;
|
|
6831
|
+
key: string;
|
|
6832
|
+
sql: string;
|
|
6833
|
+
name: string;
|
|
6834
|
+
type: import("../queries/types").DataSourceType;
|
|
6835
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
6836
|
+
react_to: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
6837
|
+
pre_process: string;
|
|
6838
|
+
post_process: string;
|
|
6839
|
+
};
|
|
6840
|
+
readonly conditionOptions: {
|
|
6841
|
+
label: string;
|
|
6842
|
+
value: string;
|
|
6843
|
+
group: string;
|
|
6844
|
+
}[];
|
|
6845
|
+
readonly unmetRunByConditions: string[];
|
|
6846
|
+
} & {
|
|
6847
|
+
readonly reQueryKey: string;
|
|
6848
|
+
readonly runByConditionsMet: boolean;
|
|
6849
|
+
readonly conditionNames: {
|
|
6850
|
+
context: string[];
|
|
6851
|
+
filters: any[];
|
|
6852
|
+
};
|
|
6853
|
+
} & {
|
|
6854
|
+
setName(name: string): void;
|
|
6855
|
+
setKey(key: string): void;
|
|
6856
|
+
setType(type: import("../queries/types").DataSourceType): void;
|
|
6857
|
+
setSQL(sql: string): void;
|
|
6858
|
+
setRunBy(v: string[]): void;
|
|
6859
|
+
setReactTo(v: string[]): void;
|
|
6860
|
+
setPreProcess(v: string): void;
|
|
6861
|
+
setPostProcess(v: string): void;
|
|
6862
|
+
} & {
|
|
6863
|
+
readonly formattedSQL: any;
|
|
6864
|
+
readonly typedAsSQL: boolean;
|
|
6865
|
+
readonly typedAsHTTP: boolean;
|
|
6866
|
+
readonly datasource: any;
|
|
6867
|
+
readonly httpConfigString: string;
|
|
6868
|
+
} & {
|
|
6869
|
+
readonly stateMessage: string;
|
|
6870
|
+
} & {
|
|
6871
|
+
controller: AbortController;
|
|
6872
|
+
} & {
|
|
6873
|
+
runSQL: () => Promise<void>;
|
|
6874
|
+
runHTTP: () => Promise<void>;
|
|
6875
|
+
} & {
|
|
6876
|
+
fetchData: () => Promise<void>;
|
|
6877
|
+
beforeDestroy(): void;
|
|
6878
|
+
} & {
|
|
6879
|
+
afterCreate(): void;
|
|
6880
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
6881
|
+
id: import("mobx-state-tree").ISimpleType<string>;
|
|
6882
|
+
name: import("mobx-state-tree").ISimpleType<string>;
|
|
6883
|
+
type: import("mobx-state-tree").ISimpleType<import("../queries/types").DataSourceType>;
|
|
6884
|
+
key: import("mobx-state-tree").ISimpleType<string>;
|
|
6885
|
+
sql: import("mobx-state-tree").ISimpleType<string>;
|
|
6886
|
+
pre_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
6887
|
+
post_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
6888
|
+
run_by: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
6889
|
+
react_to: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
6890
|
+
} & {
|
|
6891
|
+
state: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"error" | "loading" | "idle">, [undefined]>;
|
|
6892
|
+
data: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>, [undefined]>;
|
|
6893
|
+
error: import("mobx-state-tree").IType<any, any, any>;
|
|
6894
|
+
}, {
|
|
6895
|
+
readonly valid: boolean;
|
|
6896
|
+
readonly json: {
|
|
6897
|
+
id: string;
|
|
6898
|
+
key: string;
|
|
6899
|
+
sql: string;
|
|
6900
|
+
name: string;
|
|
6901
|
+
type: import("../queries/types").DataSourceType;
|
|
6902
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
6903
|
+
react_to: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
6904
|
+
pre_process: string;
|
|
6905
|
+
post_process: string;
|
|
6906
|
+
};
|
|
6907
|
+
readonly conditionOptions: {
|
|
6908
|
+
label: string;
|
|
6909
|
+
value: string;
|
|
6910
|
+
group: string;
|
|
6911
|
+
}[];
|
|
6912
|
+
readonly unmetRunByConditions: string[];
|
|
6913
|
+
} & {
|
|
6914
|
+
readonly reQueryKey: string;
|
|
6915
|
+
readonly runByConditionsMet: boolean;
|
|
6916
|
+
readonly conditionNames: {
|
|
6917
|
+
context: string[];
|
|
6918
|
+
filters: any[];
|
|
6919
|
+
};
|
|
6920
|
+
} & {
|
|
6921
|
+
setName(name: string): void;
|
|
6922
|
+
setKey(key: string): void;
|
|
6923
|
+
setType(type: import("../queries/types").DataSourceType): void;
|
|
6924
|
+
setSQL(sql: string): void;
|
|
6925
|
+
setRunBy(v: string[]): void;
|
|
6926
|
+
setReactTo(v: string[]): void;
|
|
6927
|
+
setPreProcess(v: string): void;
|
|
6928
|
+
setPostProcess(v: string): void;
|
|
6929
|
+
} & {
|
|
6930
|
+
readonly formattedSQL: any;
|
|
6931
|
+
readonly typedAsSQL: boolean;
|
|
6932
|
+
readonly typedAsHTTP: boolean;
|
|
6933
|
+
readonly datasource: any;
|
|
6934
|
+
readonly httpConfigString: string;
|
|
6935
|
+
} & {
|
|
6936
|
+
readonly stateMessage: string;
|
|
6937
|
+
} & {
|
|
6938
|
+
controller: AbortController;
|
|
6939
|
+
} & {
|
|
6940
|
+
runSQL: () => Promise<void>;
|
|
6941
|
+
runHTTP: () => Promise<void>;
|
|
6942
|
+
} & {
|
|
6943
|
+
fetchData: () => Promise<void>;
|
|
6944
|
+
beforeDestroy(): void;
|
|
6945
|
+
} & {
|
|
6946
|
+
afterCreate(): void;
|
|
6947
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
6948
|
+
readonly data: TPanelData;
|
|
6949
|
+
readonly dataStuff: {
|
|
6950
|
+
data: ((string[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>) | (number[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>))[];
|
|
6951
|
+
len: number;
|
|
6952
|
+
state: "error" | "loading" | "idle";
|
|
6953
|
+
error: any;
|
|
6954
|
+
}[];
|
|
6955
|
+
readonly dataLoading: boolean;
|
|
6956
|
+
readonly queryStateMessages: string[];
|
|
6957
|
+
readonly queryErrors: any[];
|
|
6958
|
+
readonly canRenderViz: boolean;
|
|
6193
6959
|
readonly json: {
|
|
6194
6960
|
id: string;
|
|
6195
6961
|
viz: {
|
|
@@ -6210,7 +6976,7 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
6210
6976
|
moved: boolean;
|
|
6211
6977
|
static: boolean;
|
|
6212
6978
|
};
|
|
6213
|
-
|
|
6979
|
+
queryIDs: string[];
|
|
6214
6980
|
variables: {
|
|
6215
6981
|
name: string;
|
|
6216
6982
|
size: string;
|
|
@@ -6380,11 +7146,18 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
6380
7146
|
}[];
|
|
6381
7147
|
description: string;
|
|
6382
7148
|
};
|
|
7149
|
+
readonly dataFieldOptions: {
|
|
7150
|
+
label: string;
|
|
7151
|
+
value: string;
|
|
7152
|
+
group: string;
|
|
7153
|
+
}[];
|
|
6383
7154
|
} & {
|
|
6384
7155
|
setID(id: string): void;
|
|
6385
7156
|
setTitle(title: string): void;
|
|
6386
7157
|
setDescription(description: string): void;
|
|
6387
|
-
|
|
7158
|
+
addQueryID(queryID: string): void;
|
|
7159
|
+
removeQueryID(queryID: string): void;
|
|
7160
|
+
setQueryIDs(queryIDs: string[]): void;
|
|
6388
7161
|
addVariable(variable: import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
|
|
6389
7162
|
name: import("mobx-state-tree").ISimpleType<string>;
|
|
6390
7163
|
size: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -7020,6 +7793,8 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
7020
7793
|
removeSelf(): void;
|
|
7021
7794
|
} & {
|
|
7022
7795
|
moveToView(sourceViewID: string, targetViewID: string): void;
|
|
7796
|
+
refreshData(): void;
|
|
7797
|
+
downloadData(): void;
|
|
7023
7798
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>>;
|
|
7024
7799
|
} & {
|
|
7025
7800
|
panelsByIDs(ids: string[]): {
|
|
@@ -7064,7 +7839,7 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
7064
7839
|
} & {
|
|
7065
7840
|
set(layout: Omit<import("react-grid-layout").Layout, "i">): void;
|
|
7066
7841
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
7067
|
-
|
|
7842
|
+
queryIDs: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>>;
|
|
7068
7843
|
viz: {
|
|
7069
7844
|
type: string;
|
|
7070
7845
|
conf: import("../..").AnyObject & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<import("../..").AnyObject, import("../..").AnyObject, import("../..").AnyObject>>;
|
|
@@ -7595,7 +8370,7 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
7595
8370
|
};
|
|
7596
8371
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>>;
|
|
7597
8372
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
7598
|
-
|
|
8373
|
+
getQuery(queryID: string): ({
|
|
7599
8374
|
id: string;
|
|
7600
8375
|
name: string;
|
|
7601
8376
|
type: import("../queries/types").DataSourceType;
|
|
@@ -7729,7 +8504,153 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
7729
8504
|
} & {
|
|
7730
8505
|
afterCreate(): void;
|
|
7731
8506
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
7732
|
-
readonly
|
|
8507
|
+
readonly queryIDSet: Set<string>;
|
|
8508
|
+
readonly queries: ({
|
|
8509
|
+
id: string;
|
|
8510
|
+
name: string;
|
|
8511
|
+
type: import("../queries/types").DataSourceType;
|
|
8512
|
+
key: string;
|
|
8513
|
+
sql: string;
|
|
8514
|
+
pre_process: string;
|
|
8515
|
+
post_process: string;
|
|
8516
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
8517
|
+
react_to: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
8518
|
+
state: "error" | "loading" | "idle";
|
|
8519
|
+
data: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>, [undefined]>>;
|
|
8520
|
+
error: any;
|
|
8521
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
8522
|
+
readonly valid: boolean;
|
|
8523
|
+
readonly json: {
|
|
8524
|
+
id: string;
|
|
8525
|
+
key: string;
|
|
8526
|
+
sql: string;
|
|
8527
|
+
name: string;
|
|
8528
|
+
type: import("../queries/types").DataSourceType;
|
|
8529
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
8530
|
+
react_to: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
8531
|
+
pre_process: string;
|
|
8532
|
+
post_process: string;
|
|
8533
|
+
};
|
|
8534
|
+
readonly conditionOptions: {
|
|
8535
|
+
label: string;
|
|
8536
|
+
value: string;
|
|
8537
|
+
group: string;
|
|
8538
|
+
}[];
|
|
8539
|
+
readonly unmetRunByConditions: string[];
|
|
8540
|
+
} & {
|
|
8541
|
+
readonly reQueryKey: string;
|
|
8542
|
+
readonly runByConditionsMet: boolean;
|
|
8543
|
+
readonly conditionNames: {
|
|
8544
|
+
context: string[];
|
|
8545
|
+
filters: any[];
|
|
8546
|
+
};
|
|
8547
|
+
} & {
|
|
8548
|
+
setName(name: string): void;
|
|
8549
|
+
setKey(key: string): void;
|
|
8550
|
+
setType(type: import("../queries/types").DataSourceType): void;
|
|
8551
|
+
setSQL(sql: string): void;
|
|
8552
|
+
setRunBy(v: string[]): void;
|
|
8553
|
+
setReactTo(v: string[]): void;
|
|
8554
|
+
setPreProcess(v: string): void;
|
|
8555
|
+
setPostProcess(v: string): void;
|
|
8556
|
+
} & {
|
|
8557
|
+
readonly formattedSQL: any;
|
|
8558
|
+
readonly typedAsSQL: boolean;
|
|
8559
|
+
readonly typedAsHTTP: boolean;
|
|
8560
|
+
readonly datasource: any;
|
|
8561
|
+
readonly httpConfigString: string;
|
|
8562
|
+
} & {
|
|
8563
|
+
readonly stateMessage: string;
|
|
8564
|
+
} & {
|
|
8565
|
+
controller: AbortController;
|
|
8566
|
+
} & {
|
|
8567
|
+
runSQL: () => Promise<void>;
|
|
8568
|
+
runHTTP: () => Promise<void>;
|
|
8569
|
+
} & {
|
|
8570
|
+
fetchData: () => Promise<void>;
|
|
8571
|
+
beforeDestroy(): void;
|
|
8572
|
+
} & {
|
|
8573
|
+
afterCreate(): void;
|
|
8574
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
8575
|
+
id: import("mobx-state-tree").ISimpleType<string>;
|
|
8576
|
+
name: import("mobx-state-tree").ISimpleType<string>;
|
|
8577
|
+
type: import("mobx-state-tree").ISimpleType<import("../queries/types").DataSourceType>;
|
|
8578
|
+
key: import("mobx-state-tree").ISimpleType<string>;
|
|
8579
|
+
sql: import("mobx-state-tree").ISimpleType<string>;
|
|
8580
|
+
pre_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
8581
|
+
post_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
8582
|
+
run_by: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
8583
|
+
react_to: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
8584
|
+
} & {
|
|
8585
|
+
state: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"error" | "loading" | "idle">, [undefined]>;
|
|
8586
|
+
data: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>, [undefined]>;
|
|
8587
|
+
error: import("mobx-state-tree").IType<any, any, any>;
|
|
8588
|
+
}, {
|
|
8589
|
+
readonly valid: boolean;
|
|
8590
|
+
readonly json: {
|
|
8591
|
+
id: string;
|
|
8592
|
+
key: string;
|
|
8593
|
+
sql: string;
|
|
8594
|
+
name: string;
|
|
8595
|
+
type: import("../queries/types").DataSourceType;
|
|
8596
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
8597
|
+
react_to: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
8598
|
+
pre_process: string;
|
|
8599
|
+
post_process: string;
|
|
8600
|
+
};
|
|
8601
|
+
readonly conditionOptions: {
|
|
8602
|
+
label: string;
|
|
8603
|
+
value: string;
|
|
8604
|
+
group: string;
|
|
8605
|
+
}[];
|
|
8606
|
+
readonly unmetRunByConditions: string[];
|
|
8607
|
+
} & {
|
|
8608
|
+
readonly reQueryKey: string;
|
|
8609
|
+
readonly runByConditionsMet: boolean;
|
|
8610
|
+
readonly conditionNames: {
|
|
8611
|
+
context: string[];
|
|
8612
|
+
filters: any[];
|
|
8613
|
+
};
|
|
8614
|
+
} & {
|
|
8615
|
+
setName(name: string): void;
|
|
8616
|
+
setKey(key: string): void;
|
|
8617
|
+
setType(type: import("../queries/types").DataSourceType): void;
|
|
8618
|
+
setSQL(sql: string): void;
|
|
8619
|
+
setRunBy(v: string[]): void;
|
|
8620
|
+
setReactTo(v: string[]): void;
|
|
8621
|
+
setPreProcess(v: string): void;
|
|
8622
|
+
setPostProcess(v: string): void;
|
|
8623
|
+
} & {
|
|
8624
|
+
readonly formattedSQL: any;
|
|
8625
|
+
readonly typedAsSQL: boolean;
|
|
8626
|
+
readonly typedAsHTTP: boolean;
|
|
8627
|
+
readonly datasource: any;
|
|
8628
|
+
readonly httpConfigString: string;
|
|
8629
|
+
} & {
|
|
8630
|
+
readonly stateMessage: string;
|
|
8631
|
+
} & {
|
|
8632
|
+
controller: AbortController;
|
|
8633
|
+
} & {
|
|
8634
|
+
runSQL: () => Promise<void>;
|
|
8635
|
+
runHTTP: () => Promise<void>;
|
|
8636
|
+
} & {
|
|
8637
|
+
fetchData: () => Promise<void>;
|
|
8638
|
+
beforeDestroy(): void;
|
|
8639
|
+
} & {
|
|
8640
|
+
afterCreate(): void;
|
|
8641
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
8642
|
+
readonly data: TPanelData;
|
|
8643
|
+
readonly dataStuff: {
|
|
8644
|
+
data: ((string[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>) | (number[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>))[];
|
|
8645
|
+
len: number;
|
|
8646
|
+
state: "error" | "loading" | "idle";
|
|
8647
|
+
error: any;
|
|
8648
|
+
}[];
|
|
8649
|
+
readonly dataLoading: boolean;
|
|
8650
|
+
readonly queryStateMessages: string[];
|
|
8651
|
+
readonly queryErrors: any[];
|
|
8652
|
+
readonly canRenderViz: boolean;
|
|
8653
|
+
readonly json: {
|
|
7733
8654
|
id: string;
|
|
7734
8655
|
viz: {
|
|
7735
8656
|
conf: import("../..").AnyObject & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<import("../..").AnyObject, import("../..").AnyObject, import("../..").AnyObject>>;
|
|
@@ -7749,7 +8670,7 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
7749
8670
|
moved: boolean;
|
|
7750
8671
|
static: boolean;
|
|
7751
8672
|
};
|
|
7752
|
-
|
|
8673
|
+
queryIDs: string[];
|
|
7753
8674
|
variables: {
|
|
7754
8675
|
name: string;
|
|
7755
8676
|
size: string;
|
|
@@ -7919,11 +8840,18 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
7919
8840
|
}[];
|
|
7920
8841
|
description: string;
|
|
7921
8842
|
};
|
|
8843
|
+
readonly dataFieldOptions: {
|
|
8844
|
+
label: string;
|
|
8845
|
+
value: string;
|
|
8846
|
+
group: string;
|
|
8847
|
+
}[];
|
|
7922
8848
|
} & {
|
|
7923
8849
|
setID(id: string): void;
|
|
7924
8850
|
setTitle(title: string): void;
|
|
7925
8851
|
setDescription(description: string): void;
|
|
7926
|
-
|
|
8852
|
+
addQueryID(queryID: string): void;
|
|
8853
|
+
removeQueryID(queryID: string): void;
|
|
8854
|
+
setQueryIDs(queryIDs: string[]): void;
|
|
7927
8855
|
addVariable(variable: import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
|
|
7928
8856
|
name: import("mobx-state-tree").ISimpleType<string>;
|
|
7929
8857
|
size: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -8559,6 +9487,8 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
8559
9487
|
removeSelf(): void;
|
|
8560
9488
|
} & {
|
|
8561
9489
|
moveToView(sourceViewID: string, targetViewID: string): void;
|
|
9490
|
+
refreshData(): void;
|
|
9491
|
+
downloadData(): void;
|
|
8562
9492
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
8563
9493
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
8564
9494
|
title: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -8582,7 +9512,7 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
8582
9512
|
} & {
|
|
8583
9513
|
set(layout: Omit<import("react-grid-layout").Layout, "i">): void;
|
|
8584
9514
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
8585
|
-
|
|
9515
|
+
queryIDs: import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>;
|
|
8586
9516
|
viz: import("mobx-state-tree").IModelType<{
|
|
8587
9517
|
type: import("mobx-state-tree").ISimpleType<string>;
|
|
8588
9518
|
conf: import("mobx-state-tree").IType<import("../..").AnyObject, import("../..").AnyObject, import("../..").AnyObject>;
|
|
@@ -8846,7 +9776,7 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
8846
9776
|
};
|
|
8847
9777
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>;
|
|
8848
9778
|
}, {
|
|
8849
|
-
|
|
9779
|
+
getQuery(queryID: string): ({
|
|
8850
9780
|
id: string;
|
|
8851
9781
|
name: string;
|
|
8852
9782
|
type: import("../queries/types").DataSourceType;
|
|
@@ -8980,6 +9910,152 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
8980
9910
|
} & {
|
|
8981
9911
|
afterCreate(): void;
|
|
8982
9912
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
9913
|
+
readonly queryIDSet: Set<string>;
|
|
9914
|
+
readonly queries: ({
|
|
9915
|
+
id: string;
|
|
9916
|
+
name: string;
|
|
9917
|
+
type: import("../queries/types").DataSourceType;
|
|
9918
|
+
key: string;
|
|
9919
|
+
sql: string;
|
|
9920
|
+
pre_process: string;
|
|
9921
|
+
post_process: string;
|
|
9922
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
9923
|
+
react_to: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
9924
|
+
state: "error" | "loading" | "idle";
|
|
9925
|
+
data: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>, [undefined]>>;
|
|
9926
|
+
error: any;
|
|
9927
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
9928
|
+
readonly valid: boolean;
|
|
9929
|
+
readonly json: {
|
|
9930
|
+
id: string;
|
|
9931
|
+
key: string;
|
|
9932
|
+
sql: string;
|
|
9933
|
+
name: string;
|
|
9934
|
+
type: import("../queries/types").DataSourceType;
|
|
9935
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
9936
|
+
react_to: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
9937
|
+
pre_process: string;
|
|
9938
|
+
post_process: string;
|
|
9939
|
+
};
|
|
9940
|
+
readonly conditionOptions: {
|
|
9941
|
+
label: string;
|
|
9942
|
+
value: string;
|
|
9943
|
+
group: string;
|
|
9944
|
+
}[];
|
|
9945
|
+
readonly unmetRunByConditions: string[];
|
|
9946
|
+
} & {
|
|
9947
|
+
readonly reQueryKey: string;
|
|
9948
|
+
readonly runByConditionsMet: boolean;
|
|
9949
|
+
readonly conditionNames: {
|
|
9950
|
+
context: string[];
|
|
9951
|
+
filters: any[];
|
|
9952
|
+
};
|
|
9953
|
+
} & {
|
|
9954
|
+
setName(name: string): void;
|
|
9955
|
+
setKey(key: string): void;
|
|
9956
|
+
setType(type: import("../queries/types").DataSourceType): void;
|
|
9957
|
+
setSQL(sql: string): void;
|
|
9958
|
+
setRunBy(v: string[]): void;
|
|
9959
|
+
setReactTo(v: string[]): void;
|
|
9960
|
+
setPreProcess(v: string): void;
|
|
9961
|
+
setPostProcess(v: string): void;
|
|
9962
|
+
} & {
|
|
9963
|
+
readonly formattedSQL: any;
|
|
9964
|
+
readonly typedAsSQL: boolean;
|
|
9965
|
+
readonly typedAsHTTP: boolean;
|
|
9966
|
+
readonly datasource: any;
|
|
9967
|
+
readonly httpConfigString: string;
|
|
9968
|
+
} & {
|
|
9969
|
+
readonly stateMessage: string;
|
|
9970
|
+
} & {
|
|
9971
|
+
controller: AbortController;
|
|
9972
|
+
} & {
|
|
9973
|
+
runSQL: () => Promise<void>;
|
|
9974
|
+
runHTTP: () => Promise<void>;
|
|
9975
|
+
} & {
|
|
9976
|
+
fetchData: () => Promise<void>;
|
|
9977
|
+
beforeDestroy(): void;
|
|
9978
|
+
} & {
|
|
9979
|
+
afterCreate(): void;
|
|
9980
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
9981
|
+
id: import("mobx-state-tree").ISimpleType<string>;
|
|
9982
|
+
name: import("mobx-state-tree").ISimpleType<string>;
|
|
9983
|
+
type: import("mobx-state-tree").ISimpleType<import("../queries/types").DataSourceType>;
|
|
9984
|
+
key: import("mobx-state-tree").ISimpleType<string>;
|
|
9985
|
+
sql: import("mobx-state-tree").ISimpleType<string>;
|
|
9986
|
+
pre_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
9987
|
+
post_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
9988
|
+
run_by: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
9989
|
+
react_to: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
9990
|
+
} & {
|
|
9991
|
+
state: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"error" | "loading" | "idle">, [undefined]>;
|
|
9992
|
+
data: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>, [undefined]>;
|
|
9993
|
+
error: import("mobx-state-tree").IType<any, any, any>;
|
|
9994
|
+
}, {
|
|
9995
|
+
readonly valid: boolean;
|
|
9996
|
+
readonly json: {
|
|
9997
|
+
id: string;
|
|
9998
|
+
key: string;
|
|
9999
|
+
sql: string;
|
|
10000
|
+
name: string;
|
|
10001
|
+
type: import("../queries/types").DataSourceType;
|
|
10002
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
10003
|
+
react_to: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
10004
|
+
pre_process: string;
|
|
10005
|
+
post_process: string;
|
|
10006
|
+
};
|
|
10007
|
+
readonly conditionOptions: {
|
|
10008
|
+
label: string;
|
|
10009
|
+
value: string;
|
|
10010
|
+
group: string;
|
|
10011
|
+
}[];
|
|
10012
|
+
readonly unmetRunByConditions: string[];
|
|
10013
|
+
} & {
|
|
10014
|
+
readonly reQueryKey: string;
|
|
10015
|
+
readonly runByConditionsMet: boolean;
|
|
10016
|
+
readonly conditionNames: {
|
|
10017
|
+
context: string[];
|
|
10018
|
+
filters: any[];
|
|
10019
|
+
};
|
|
10020
|
+
} & {
|
|
10021
|
+
setName(name: string): void;
|
|
10022
|
+
setKey(key: string): void;
|
|
10023
|
+
setType(type: import("../queries/types").DataSourceType): void;
|
|
10024
|
+
setSQL(sql: string): void;
|
|
10025
|
+
setRunBy(v: string[]): void;
|
|
10026
|
+
setReactTo(v: string[]): void;
|
|
10027
|
+
setPreProcess(v: string): void;
|
|
10028
|
+
setPostProcess(v: string): void;
|
|
10029
|
+
} & {
|
|
10030
|
+
readonly formattedSQL: any;
|
|
10031
|
+
readonly typedAsSQL: boolean;
|
|
10032
|
+
readonly typedAsHTTP: boolean;
|
|
10033
|
+
readonly datasource: any;
|
|
10034
|
+
readonly httpConfigString: string;
|
|
10035
|
+
} & {
|
|
10036
|
+
readonly stateMessage: string;
|
|
10037
|
+
} & {
|
|
10038
|
+
controller: AbortController;
|
|
10039
|
+
} & {
|
|
10040
|
+
runSQL: () => Promise<void>;
|
|
10041
|
+
runHTTP: () => Promise<void>;
|
|
10042
|
+
} & {
|
|
10043
|
+
fetchData: () => Promise<void>;
|
|
10044
|
+
beforeDestroy(): void;
|
|
10045
|
+
} & {
|
|
10046
|
+
afterCreate(): void;
|
|
10047
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
10048
|
+
readonly data: TPanelData;
|
|
10049
|
+
readonly dataStuff: {
|
|
10050
|
+
data: ((string[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>) | (number[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>))[];
|
|
10051
|
+
len: number;
|
|
10052
|
+
state: "error" | "loading" | "idle";
|
|
10053
|
+
error: any;
|
|
10054
|
+
}[];
|
|
10055
|
+
readonly dataLoading: boolean;
|
|
10056
|
+
readonly queryStateMessages: string[];
|
|
10057
|
+
readonly queryErrors: any[];
|
|
10058
|
+
readonly canRenderViz: boolean;
|
|
8983
10059
|
readonly json: {
|
|
8984
10060
|
id: string;
|
|
8985
10061
|
viz: {
|
|
@@ -9000,7 +10076,7 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
9000
10076
|
moved: boolean;
|
|
9001
10077
|
static: boolean;
|
|
9002
10078
|
};
|
|
9003
|
-
|
|
10079
|
+
queryIDs: string[];
|
|
9004
10080
|
variables: {
|
|
9005
10081
|
name: string;
|
|
9006
10082
|
size: string;
|
|
@@ -9170,11 +10246,18 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
9170
10246
|
}[];
|
|
9171
10247
|
description: string;
|
|
9172
10248
|
};
|
|
10249
|
+
readonly dataFieldOptions: {
|
|
10250
|
+
label: string;
|
|
10251
|
+
value: string;
|
|
10252
|
+
group: string;
|
|
10253
|
+
}[];
|
|
9173
10254
|
} & {
|
|
9174
10255
|
setID(id: string): void;
|
|
9175
10256
|
setTitle(title: string): void;
|
|
9176
10257
|
setDescription(description: string): void;
|
|
9177
|
-
|
|
10258
|
+
addQueryID(queryID: string): void;
|
|
10259
|
+
removeQueryID(queryID: string): void;
|
|
10260
|
+
setQueryIDs(queryIDs: string[]): void;
|
|
9178
10261
|
addVariable(variable: import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
|
|
9179
10262
|
name: import("mobx-state-tree").ISimpleType<string>;
|
|
9180
10263
|
size: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -9810,6 +10893,8 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
9810
10893
|
removeSelf(): void;
|
|
9811
10894
|
} & {
|
|
9812
10895
|
moveToView(sourceViewID: string, targetViewID: string): void;
|
|
10896
|
+
refreshData(): void;
|
|
10897
|
+
downloadData(): void;
|
|
9813
10898
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
9814
10899
|
layouts: {
|
|
9815
10900
|
i: string;
|