@devtable/dashboard 14.24.0 → 14.25.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/components/panel/panel-render/full-screen-render/use-panel-full-screen.d.ts +1 -14820
- package/dist/components/plugins/index.d.ts +3 -0
- package/dist/components/plugins/plugin-context.d.ts +354 -390
- package/dist/contexts/index.d.ts +1 -0
- package/dist/contexts/panel-context.d.ts +708 -780
- package/dist/contexts/render-content-model-context.d.ts +2 -0
- package/dist/dashboard-editor/model/filters/index.d.ts +2 -12
- package/dist/dashboard-editor/model/panels/panel.d.ts +177 -195
- package/dist/dashboard-editor/model/queries/queries.d.ts +339 -378
- package/dist/dashboard-editor/model/queries/query.d.ts +15 -18
- package/dist/dashboard-editor/model/views/index.d.ts +69 -27
- package/dist/dashboard-editor/model/views/view.d.ts +17 -3
- package/dist/dashboard-render/model/index.d.ts +1 -0
- package/dist/dashboard-render/model/types.d.ts +32 -0
- package/dist/dashboard.es.js +9 -5
- package/dist/dashboard.umd.js +43 -43
- package/dist/index.d.ts +3 -1
- package/dist/model/meta-model/dashboard/content/filter/filter.d.ts +49 -0
- package/dist/model/meta-model/dashboard/content/filter/widgets/checkbox.d.ts +13 -0
- package/dist/model/meta-model/dashboard/content/filter/widgets/date-range.d.ts +32 -0
- package/dist/model/meta-model/dashboard/content/filter/widgets/multi-select.d.ts +33 -6
- package/dist/model/meta-model/dashboard/content/filter/widgets/select-base.d.ts +30 -0
- package/dist/model/meta-model/dashboard/content/filter/widgets/select.d.ts +32 -6
- package/dist/model/meta-model/dashboard/content/filter/widgets/text-input.d.ts +13 -0
- package/dist/model/meta-model/dashboard/content/filter/widgets/tree-select-base.d.ts +11 -0
- package/dist/model/meta-model/dashboard/content/filter/widgets/tree-select.d.ts +29 -0
- package/dist/model/meta-model/dashboard/content/filter/widgets/tree-single-select.d.ts +26 -0
- package/dist/model/meta-model/dashboard/content/layout/layout-item.d.ts +28 -0
- package/dist/model/meta-model/dashboard/content/layout/layout-set.d.ts +32 -1
- package/dist/model/meta-model/dashboard/content/mock-context/mock-context.d.ts +10 -0
- package/dist/model/meta-model/dashboard/content/panel/panel.d.ts +38 -5
- package/dist/model/meta-model/dashboard/content/panel/style/border.d.ts +7 -0
- package/dist/model/meta-model/dashboard/content/panel/style/index.d.ts +7 -0
- package/dist/model/meta-model/dashboard/content/panel/title.d.ts +7 -0
- package/dist/model/meta-model/dashboard/content/panel/variable.d.ts +93 -0
- package/dist/model/meta-model/dashboard/content/panel/viz.d.ts +10 -0
- package/dist/model/meta-model/dashboard/content/query/db-query.d.ts +17 -6
- package/dist/model/meta-model/dashboard/content/query/http-query.d.ts +11 -0
- package/dist/model/meta-model/dashboard/content/query/merico-metric-query.d.ts +66 -6
- package/dist/model/meta-model/dashboard/content/query/query.d.ts +42 -10
- package/dist/model/meta-model/dashboard/content/query/transform-query.d.ts +11 -0
- package/dist/model/meta-model/dashboard/content/sql-snippet/sql-snippet.d.ts +10 -0
- package/dist/model/meta-model/dashboard/content/view/view.d.ts +23 -0
- package/dist/model/meta-model/dashboard/content/view/widgets/division.d.ts +6 -0
- package/dist/model/meta-model/dashboard/content/view/widgets/modal.d.ts +32 -0
- package/dist/model/meta-model/dashboard/content/view/widgets/tabs.d.ts +46 -0
- package/dist/model/render-model/dashboard/content/filters/filters.d.ts +77 -37
- package/dist/model/render-model/dashboard/content/layouts/layouts.d.ts +40 -2
- package/dist/model/render-model/dashboard/content/panels/index.d.ts +1 -0
- package/dist/model/render-model/dashboard/content/panels/panel.d.ts +138 -1561
- package/dist/model/render-model/dashboard/content/panels/types.d.ts +37 -0
- package/dist/model/render-model/dashboard/content/queries/mute-query.d.ts +55 -19
- package/dist/model/render-model/dashboard/content/queries/queries.d.ts +302 -296
- package/dist/model/render-model/dashboard/content/queries/query.d.ts +60 -37
- package/dist/model/render-model/dashboard/content/sql-snippets/sql-snippet.d.ts +4 -0
- package/dist/model/render-model/dashboard/content/sql-snippets/sql-snippets.d.ts +18 -0
- package/dist/model/render-model/dashboard/content/views/view.d.ts +19 -3
- package/dist/model/render-model/dashboard/content/views/views.d.ts +249 -231
- package/dist/stats.html +1 -1
- package/dist/types/utils.d.ts +3 -0
- package/dist/version.json +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -26,5 +26,7 @@ export interface IDashboardConfig {
|
|
|
26
26
|
monacoPath: string;
|
|
27
27
|
renderSearchButton?: (props: RenderSearchButtonProps) => ReactNode;
|
|
28
28
|
}
|
|
29
|
-
export { notifyVizRendered, onVizRendered, pluginManager } from './components/plugins';
|
|
29
|
+
export { notifyVizRendered, onVizRendered, pluginManager, tokens as pluginServices, useServiceLocator, } from './components/plugins';
|
|
30
|
+
export type * from './components/plugins';
|
|
31
|
+
export type { IServiceLocator } from './components/plugins';
|
|
30
32
|
export { type IPanelAddon, type IPanelAddonRenderProps } from './types/plugin';
|
|
@@ -1,5 +1,13 @@
|
|
|
1
|
+
import { type IObservableArray } from 'mobx';
|
|
1
2
|
import { Instance, SnapshotOut } from 'mobx-state-tree';
|
|
2
3
|
import { DashboardFilterType } from './types';
|
|
4
|
+
import { type IFilterCheckboxConfig } from './widgets/checkbox';
|
|
5
|
+
import { type IFilterDateRangeConfig } from './widgets/date-range';
|
|
6
|
+
import { type IFilterMultiSelectConfig } from './widgets/multi-select';
|
|
7
|
+
import { type IFilterSelectConfig } from './widgets/select';
|
|
8
|
+
import { type IFilterTextInputConfig } from './widgets/text-input';
|
|
9
|
+
import { type IFilterTreeSelectConfig } from './widgets/tree-select';
|
|
10
|
+
import { type IFilterTreeSingleSelectConfig } from './widgets';
|
|
3
11
|
export declare const FilterMeta: import("mobx-state-tree").IModelType<{
|
|
4
12
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
5
13
|
key: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -130,3 +138,44 @@ export declare const FilterMeta: import("mobx-state-tree").IModelType<{
|
|
|
130
138
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
131
139
|
export type FilterMetaInstance = Instance<typeof FilterMeta>;
|
|
132
140
|
export type FilterMetaSnapshotOut = SnapshotOut<FilterMetaInstance>;
|
|
141
|
+
export interface IFilterMeta {
|
|
142
|
+
id: string;
|
|
143
|
+
key: string;
|
|
144
|
+
label: string;
|
|
145
|
+
order: number;
|
|
146
|
+
visibleInViewsIDs: IObservableArray<string>;
|
|
147
|
+
auto_submit: boolean;
|
|
148
|
+
default_value_func: string;
|
|
149
|
+
type: DashboardFilterType;
|
|
150
|
+
config: IFilterSelectConfig | IFilterMultiSelectConfig | IFilterTreeSelectConfig | IFilterTreeSingleSelectConfig | IFilterTextInputConfig | IFilterCheckboxConfig | IFilterDateRangeConfig;
|
|
151
|
+
readonly contentModel: Record<string, unknown>;
|
|
152
|
+
readonly filters: Record<string, unknown>;
|
|
153
|
+
readonly value: unknown;
|
|
154
|
+
readonly plainDefaultValue: unknown;
|
|
155
|
+
readonly usingDefaultValue: boolean;
|
|
156
|
+
readonly usingDefaultValueFunc: boolean;
|
|
157
|
+
readonly formattedDefaultValue: unknown;
|
|
158
|
+
readonly auto_submit_supported: boolean;
|
|
159
|
+
readonly json: {
|
|
160
|
+
id: string;
|
|
161
|
+
key: string;
|
|
162
|
+
type: DashboardFilterType;
|
|
163
|
+
label: string;
|
|
164
|
+
order: number;
|
|
165
|
+
config: Record<string, unknown>;
|
|
166
|
+
auto_submit: boolean;
|
|
167
|
+
visibleInViewsIDs: IObservableArray<string>;
|
|
168
|
+
default_value_func: string;
|
|
169
|
+
};
|
|
170
|
+
readonly visibleInViewsIDSet: Set<string>;
|
|
171
|
+
readonly should_auto_submit: boolean;
|
|
172
|
+
requiredAndPass(value: unknown): boolean;
|
|
173
|
+
setKey(key: string): void;
|
|
174
|
+
setValue(value: unknown): void;
|
|
175
|
+
setLabel(label: string): void;
|
|
176
|
+
setOrder(order: number | string): void;
|
|
177
|
+
setType(type: string | null): void;
|
|
178
|
+
setVisibleInViewsIDs(ids: string[]): void;
|
|
179
|
+
setAutoSubmit(v: boolean): void;
|
|
180
|
+
setDefaultValueFunc(v: string): void;
|
|
181
|
+
}
|
|
@@ -15,6 +15,19 @@ export declare const FilterCheckboxConfigMeta: import("mobx-state-tree").IModelT
|
|
|
15
15
|
setDescription(v: string): void;
|
|
16
16
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
17
17
|
export type FilterCheckboxConfigInstance = Instance<typeof FilterCheckboxConfigMeta>;
|
|
18
|
+
export interface IFilterCheckboxConfig {
|
|
19
|
+
_name: 'checkbox';
|
|
20
|
+
description: string;
|
|
21
|
+
default_value: boolean;
|
|
22
|
+
readonly json: {
|
|
23
|
+
_name: 'checkbox';
|
|
24
|
+
description: string;
|
|
25
|
+
default_value: boolean;
|
|
26
|
+
};
|
|
27
|
+
readonly isDescriptionEmpty: boolean;
|
|
28
|
+
setDefaultValue(default_value: boolean): void;
|
|
29
|
+
setDescription(v: string): void;
|
|
30
|
+
}
|
|
18
31
|
export declare const createFilterCheckboxConfig: () => {
|
|
19
32
|
_name: "checkbox";
|
|
20
33
|
description: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type IObservableArray } from 'mobx';
|
|
1
2
|
import { Instance, SnapshotOut } from 'mobx-state-tree';
|
|
2
3
|
export type DateRangeValue_Value = [Date | null, Date | null];
|
|
3
4
|
export type DateRangeValue = {
|
|
@@ -49,6 +50,37 @@ export declare const FilterDateRangeConfigMeta: import("mobx-state-tree").ISnaps
|
|
|
49
50
|
allowSingleDateInRange: boolean;
|
|
50
51
|
}>;
|
|
51
52
|
export type FilterDateRangeConfigInstance = Instance<typeof FilterDateRangeConfigMeta>;
|
|
53
|
+
export interface IFilterDateRangeConfig {
|
|
54
|
+
_name: 'date-range';
|
|
55
|
+
required: boolean;
|
|
56
|
+
inputFormat: 'YYYY' | 'YYYYMM' | 'YYYYMMDD' | 'YYYY-MM' | 'YYYY-MM-DD';
|
|
57
|
+
default_value: IObservableArray<Date | null>;
|
|
58
|
+
default_shortcut: string;
|
|
59
|
+
clearable: boolean;
|
|
60
|
+
max_days: number;
|
|
61
|
+
allowSingleDateInRange: boolean;
|
|
62
|
+
readonly json: {
|
|
63
|
+
_name: 'date-range';
|
|
64
|
+
max_days: number;
|
|
65
|
+
required: boolean;
|
|
66
|
+
clearable: boolean;
|
|
67
|
+
inputFormat: 'YYYY' | 'YYYYMM' | 'YYYYMMDD' | 'YYYY-MM' | 'YYYY-MM-DD';
|
|
68
|
+
default_value: string[];
|
|
69
|
+
default_shortcut: string;
|
|
70
|
+
allowSingleDateInRange: boolean;
|
|
71
|
+
};
|
|
72
|
+
truthy(fullValue: DateRangeValue): boolean;
|
|
73
|
+
readonly filter: Record<string, unknown>;
|
|
74
|
+
readonly dateStringsValue: [string, string];
|
|
75
|
+
setFilterValue(v: DateRangeValue): void;
|
|
76
|
+
setRequired(required: boolean): void;
|
|
77
|
+
setClearable(clearable: boolean): void;
|
|
78
|
+
setInputFormat(inputFormat: string | null): void;
|
|
79
|
+
setDefaultValue(v: DateRangeValue): void;
|
|
80
|
+
setDefaultShortcut(v: string | null): void;
|
|
81
|
+
setMaxDays(v: number | string): void;
|
|
82
|
+
setAllowSingleDateInRange(v: boolean): void;
|
|
83
|
+
}
|
|
52
84
|
export type FilterDateRangeConfigSnapshotOut = SnapshotOut<typeof FilterDateRangeConfigMeta>;
|
|
53
85
|
export declare const createFilterDateRangeConfig: () => {
|
|
54
86
|
_name: "date-range";
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import { type IObservableArray } from 'mobx';
|
|
1
2
|
import { Instance } from 'mobx-state-tree';
|
|
3
|
+
import { type IFilterBaseSelectConfigInstance, type IFilterConfigModel_SelectOption } from './select-base';
|
|
4
|
+
import { type DefaultValueMode } from '../types';
|
|
2
5
|
export declare const FilterMultiSelectConfigMeta: import("mobx-state-tree").IModelType<{
|
|
3
6
|
_name: import("mobx-state-tree").ISimpleType<"multi-select">;
|
|
4
7
|
min_width: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
5
8
|
default_value: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
6
|
-
default_value_mode: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<
|
|
9
|
+
default_value_mode: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<DefaultValueMode>, [undefined]>;
|
|
7
10
|
} & {
|
|
8
11
|
static_options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
|
|
9
12
|
label: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -50,7 +53,7 @@ export declare const FilterMultiSelectConfigMeta: import("mobx-state-tree").IMod
|
|
|
50
53
|
setValue(value: string): void;
|
|
51
54
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>>;
|
|
52
55
|
options_query_id: string;
|
|
53
|
-
default_value_mode:
|
|
56
|
+
default_value_mode: DefaultValueMode;
|
|
54
57
|
default_selection_count: number;
|
|
55
58
|
};
|
|
56
59
|
readonly defaultSelection: any;
|
|
@@ -65,11 +68,35 @@ export declare const FilterMultiSelectConfigMeta: import("mobx-state-tree").IMod
|
|
|
65
68
|
afterCreate(): void;
|
|
66
69
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
67
70
|
export type FilterMultiSelectConfigInstance = Instance<typeof FilterMultiSelectConfigMeta>;
|
|
71
|
+
export interface IFilterMultiSelectConfig extends IFilterBaseSelectConfigInstance {
|
|
72
|
+
_name: 'multi-select';
|
|
73
|
+
default_value: IObservableArray<string>;
|
|
74
|
+
default_value_mode: 'intersect' | 'reset';
|
|
75
|
+
min_width: string;
|
|
76
|
+
readonly json: {
|
|
77
|
+
_name: 'multi-select';
|
|
78
|
+
required: boolean;
|
|
79
|
+
min_width: string;
|
|
80
|
+
default_value: IObservableArray<string>;
|
|
81
|
+
static_options: IObservableArray<IFilterConfigModel_SelectOption>;
|
|
82
|
+
options_query_id: string;
|
|
83
|
+
default_value_mode: DefaultValueMode;
|
|
84
|
+
default_selection_count: number;
|
|
85
|
+
};
|
|
86
|
+
readonly defaultSelection: string[];
|
|
87
|
+
initialSelection(value: string[] | null): string[];
|
|
88
|
+
truthy(value: unknown): boolean;
|
|
89
|
+
setDefaultValue(default_value: string[]): void;
|
|
90
|
+
setDefaultValueMode(v: string | null): void;
|
|
91
|
+
setMinWidth(v: string): void;
|
|
92
|
+
applyDefaultSelection(): void;
|
|
93
|
+
afterCreate(): void;
|
|
94
|
+
}
|
|
68
95
|
export declare const createFilterMultiSelectConfig: () => {
|
|
69
96
|
_name: "multi-select";
|
|
70
97
|
min_width: string;
|
|
71
98
|
default_value: 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]>>;
|
|
72
|
-
default_value_mode:
|
|
99
|
+
default_value_mode: DefaultValueMode;
|
|
73
100
|
static_options: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IModelType<{
|
|
74
101
|
label: import("mobx-state-tree").ISimpleType<string>;
|
|
75
102
|
value: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -121,7 +148,7 @@ export declare const createFilterMultiSelectConfig: () => {
|
|
|
121
148
|
setValue(value: string): void;
|
|
122
149
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>>;
|
|
123
150
|
options_query_id: string;
|
|
124
|
-
default_value_mode:
|
|
151
|
+
default_value_mode: DefaultValueMode;
|
|
125
152
|
default_selection_count: number;
|
|
126
153
|
};
|
|
127
154
|
readonly defaultSelection: any;
|
|
@@ -138,7 +165,7 @@ export declare const createFilterMultiSelectConfig: () => {
|
|
|
138
165
|
_name: import("mobx-state-tree").ISimpleType<"multi-select">;
|
|
139
166
|
min_width: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
140
167
|
default_value: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
141
|
-
default_value_mode: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<
|
|
168
|
+
default_value_mode: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<DefaultValueMode>, [undefined]>;
|
|
142
169
|
} & {
|
|
143
170
|
static_options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
|
|
144
171
|
label: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -185,7 +212,7 @@ export declare const createFilterMultiSelectConfig: () => {
|
|
|
185
212
|
setValue(value: string): void;
|
|
186
213
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>>;
|
|
187
214
|
options_query_id: string;
|
|
188
|
-
default_value_mode:
|
|
215
|
+
default_value_mode: DefaultValueMode;
|
|
189
216
|
default_selection_count: number;
|
|
190
217
|
};
|
|
191
218
|
readonly defaultSelection: any;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ComboboxItem } from '@mantine/core';
|
|
2
|
+
import type { IObservableArray } from 'mobx';
|
|
2
3
|
import { Instance } from 'mobx-state-tree';
|
|
3
4
|
export type TSelectOption = {
|
|
4
5
|
label: string;
|
|
@@ -14,6 +15,12 @@ export declare const FilterConfigModel_SelectOption: import("mobx-state-tree").I
|
|
|
14
15
|
setValue(value: string): void;
|
|
15
16
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
16
17
|
export type IFilterSelectConfigMetaOption = Instance<typeof FilterConfigModel_SelectOption>;
|
|
18
|
+
export interface IFilterConfigModel_SelectOption {
|
|
19
|
+
label: string;
|
|
20
|
+
value: string;
|
|
21
|
+
setLabel(label: string): void;
|
|
22
|
+
setValue(value: string): void;
|
|
23
|
+
}
|
|
17
24
|
export declare const FilterBaseSelectConfigMeta: import("mobx-state-tree").IModelType<{
|
|
18
25
|
static_options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
|
|
19
26
|
label: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -42,3 +49,26 @@ export declare const FilterBaseSelectConfigMeta: import("mobx-state-tree").IMode
|
|
|
42
49
|
setOptionsQueryID(id: string | null): void;
|
|
43
50
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
44
51
|
export type FilterBaseSelectConfigInstance = Instance<typeof FilterBaseSelectConfigMeta>;
|
|
52
|
+
export interface IFilterBaseSelectConfigInstance {
|
|
53
|
+
static_options: IObservableArray<IFilterConfigModel_SelectOption>;
|
|
54
|
+
options_query_id: string;
|
|
55
|
+
default_selection_count: number;
|
|
56
|
+
required: boolean;
|
|
57
|
+
readonly contentModel: {
|
|
58
|
+
getDataStuffByID(id: string): {
|
|
59
|
+
state: 'loading' | 'error' | 'done';
|
|
60
|
+
data: TSelectOption[];
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
readonly filter: Record<string, unknown>;
|
|
64
|
+
readonly usingQuery: boolean;
|
|
65
|
+
readonly optionsLoading: boolean;
|
|
66
|
+
readonly options: TSelectOption[];
|
|
67
|
+
readonly optionValuesSet: Set<string>;
|
|
68
|
+
setRequired(required: boolean): void;
|
|
69
|
+
addStaticOption(option: StaticOption): void;
|
|
70
|
+
removeStaticOption(index: number): void;
|
|
71
|
+
replaceStaticOptions(options: StaticOption[]): void;
|
|
72
|
+
setDefaultSelectionCount(v: string | number): void;
|
|
73
|
+
setOptionsQueryID(id: string | null): void;
|
|
74
|
+
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { type IObservableArray } from 'mobx';
|
|
1
2
|
import { Instance } from 'mobx-state-tree';
|
|
3
|
+
import { type IFilterBaseSelectConfigInstance, type IFilterConfigModel_SelectOption, type TSelectOption } from './select-base';
|
|
2
4
|
export declare const FilterSelectConfigMeta: import("mobx-state-tree").IModelType<{
|
|
3
5
|
_name: import("mobx-state-tree").ISimpleType<"select">;
|
|
4
6
|
default_value: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -21,7 +23,7 @@ export declare const FilterSelectConfigMeta: import("mobx-state-tree").IModelTyp
|
|
|
21
23
|
readonly usingQuery: boolean;
|
|
22
24
|
} & {
|
|
23
25
|
readonly optionsLoading: boolean;
|
|
24
|
-
readonly options:
|
|
26
|
+
readonly options: TSelectOption[];
|
|
25
27
|
readonly optionValuesSet: Set<string>;
|
|
26
28
|
} & {
|
|
27
29
|
setRequired(required: boolean): void;
|
|
@@ -54,7 +56,7 @@ export declare const FilterSelectConfigMeta: import("mobx-state-tree").IModelTyp
|
|
|
54
56
|
default_selection_count: number;
|
|
55
57
|
};
|
|
56
58
|
truthy(value: any): boolean;
|
|
57
|
-
getSelectOption(value: string):
|
|
59
|
+
getSelectOption(value: string): TSelectOption | undefined;
|
|
58
60
|
readonly default_selection: any;
|
|
59
61
|
} & {
|
|
60
62
|
setDefaultValue(default_value: string | null): void;
|
|
@@ -65,6 +67,30 @@ export declare const FilterSelectConfigMeta: import("mobx-state-tree").IModelTyp
|
|
|
65
67
|
afterCreate(): void;
|
|
66
68
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
67
69
|
export type FilterSelectConfigInstance = Instance<typeof FilterSelectConfigMeta>;
|
|
70
|
+
export interface IFilterSelectConfig extends IFilterBaseSelectConfigInstance {
|
|
71
|
+
_name: 'select';
|
|
72
|
+
default_value: string;
|
|
73
|
+
width: string;
|
|
74
|
+
clearable: boolean;
|
|
75
|
+
readonly json: {
|
|
76
|
+
_name: 'select';
|
|
77
|
+
width: string;
|
|
78
|
+
required: boolean;
|
|
79
|
+
clearable: boolean;
|
|
80
|
+
default_value: string;
|
|
81
|
+
static_options: IObservableArray<IFilterConfigModel_SelectOption>;
|
|
82
|
+
options_query_id: string;
|
|
83
|
+
default_selection_count: number;
|
|
84
|
+
};
|
|
85
|
+
readonly default_selection: string | undefined;
|
|
86
|
+
truthy(value: unknown): boolean;
|
|
87
|
+
getSelectOption(value: string): TSelectOption | undefined;
|
|
88
|
+
setDefaultValue(default_value: string | null): void;
|
|
89
|
+
setWidth(v: string): void;
|
|
90
|
+
setClearable(v: boolean): void;
|
|
91
|
+
setDefaultSelection(): void;
|
|
92
|
+
afterCreate(): void;
|
|
93
|
+
}
|
|
68
94
|
export declare const createFilterSelectConfig: () => {
|
|
69
95
|
_name: "select";
|
|
70
96
|
default_value: string;
|
|
@@ -92,7 +118,7 @@ export declare const createFilterSelectConfig: () => {
|
|
|
92
118
|
readonly usingQuery: boolean;
|
|
93
119
|
} & {
|
|
94
120
|
readonly optionsLoading: boolean;
|
|
95
|
-
readonly options:
|
|
121
|
+
readonly options: TSelectOption[];
|
|
96
122
|
readonly optionValuesSet: Set<string>;
|
|
97
123
|
} & {
|
|
98
124
|
setRequired(required: boolean): void;
|
|
@@ -125,7 +151,7 @@ export declare const createFilterSelectConfig: () => {
|
|
|
125
151
|
default_selection_count: number;
|
|
126
152
|
};
|
|
127
153
|
truthy(value: any): boolean;
|
|
128
|
-
getSelectOption(value: string):
|
|
154
|
+
getSelectOption(value: string): TSelectOption | undefined;
|
|
129
155
|
readonly default_selection: any;
|
|
130
156
|
} & {
|
|
131
157
|
setDefaultValue(default_value: string | null): void;
|
|
@@ -156,7 +182,7 @@ export declare const createFilterSelectConfig: () => {
|
|
|
156
182
|
readonly usingQuery: boolean;
|
|
157
183
|
} & {
|
|
158
184
|
readonly optionsLoading: boolean;
|
|
159
|
-
readonly options:
|
|
185
|
+
readonly options: TSelectOption[];
|
|
160
186
|
readonly optionValuesSet: Set<string>;
|
|
161
187
|
} & {
|
|
162
188
|
setRequired(required: boolean): void;
|
|
@@ -189,7 +215,7 @@ export declare const createFilterSelectConfig: () => {
|
|
|
189
215
|
default_selection_count: number;
|
|
190
216
|
};
|
|
191
217
|
truthy(value: any): boolean;
|
|
192
|
-
getSelectOption(value: string):
|
|
218
|
+
getSelectOption(value: string): TSelectOption | undefined;
|
|
193
219
|
readonly default_selection: any;
|
|
194
220
|
} & {
|
|
195
221
|
setDefaultValue(default_value: string | null): void;
|
|
@@ -15,6 +15,19 @@ export declare const FilterTextInputConfigMeta: import("mobx-state-tree").IModel
|
|
|
15
15
|
setDefaultValue(default_value: string): void;
|
|
16
16
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
17
17
|
export type FilterTextInputConfigInstance = Instance<typeof FilterTextInputConfigMeta>;
|
|
18
|
+
export interface IFilterTextInputConfig {
|
|
19
|
+
_name: 'text-input';
|
|
20
|
+
required: boolean;
|
|
21
|
+
default_value: string;
|
|
22
|
+
readonly json: {
|
|
23
|
+
_name: 'text-input';
|
|
24
|
+
required: boolean;
|
|
25
|
+
default_value: string;
|
|
26
|
+
};
|
|
27
|
+
truthy(value: unknown): boolean;
|
|
28
|
+
setRequired(required: boolean): void;
|
|
29
|
+
setDefaultValue(default_value: string): void;
|
|
30
|
+
}
|
|
18
31
|
export declare const createFilterTextInputConfig: () => {
|
|
19
32
|
_name: "text-input";
|
|
20
33
|
required: boolean;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { Instance } from 'mobx-state-tree';
|
|
2
|
+
import { ITreeDataQueryOption, ITreeDataRenderItem } from '../../../../../../components/filter/filter-tree';
|
|
3
|
+
import { type IFilterBaseSelectConfigInstance } from './select-base';
|
|
2
4
|
export declare const FilterBaseTreeSelectConfigMeta: import("mobx-state-tree").IModelType<{
|
|
3
5
|
min_width: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
4
6
|
default_value_mode: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<import("../types").DefaultValueMode>, [undefined]>;
|
|
@@ -37,3 +39,12 @@ export declare const FilterBaseTreeSelectConfigMeta: import("mobx-state-tree").I
|
|
|
37
39
|
setMinWidth(v: string): void;
|
|
38
40
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
39
41
|
export type FilterBaseTreeSelectConfigMetaInstance = Instance<typeof FilterBaseTreeSelectConfigMeta>;
|
|
42
|
+
export interface IFilterBaseTreeSelectConfigInstance extends IFilterBaseSelectConfigInstance {
|
|
43
|
+
min_width: string;
|
|
44
|
+
default_value_mode: 'intersect' | 'reset';
|
|
45
|
+
readonly plainData: ITreeDataQueryOption[];
|
|
46
|
+
readonly treeData: ITreeDataRenderItem[];
|
|
47
|
+
readonly errorMessage: string | undefined;
|
|
48
|
+
readonly treeDataLoading: boolean;
|
|
49
|
+
setMinWidth(v: string): void;
|
|
50
|
+
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import { type IObservableArray } from 'mobx';
|
|
1
2
|
import { Instance } from 'mobx-state-tree';
|
|
3
|
+
import { type IFilterBaseTreeSelectConfigInstance } from './tree-select-base';
|
|
4
|
+
import type { IFilterConfigModel_SelectOption } from './select-base';
|
|
2
5
|
export declare const FilterTreeSelectConfigMeta: import("mobx-state-tree").IModelType<{
|
|
3
6
|
_name: import("mobx-state-tree").ISimpleType<"tree-select">;
|
|
4
7
|
default_value: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
@@ -75,6 +78,32 @@ export declare const FilterTreeSelectConfigMeta: import("mobx-state-tree").IMode
|
|
|
75
78
|
afterCreate(): void;
|
|
76
79
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
77
80
|
export type FilterTreeSelectConfigInstance = Instance<typeof FilterTreeSelectConfigMeta>;
|
|
81
|
+
export interface IFilterTreeSelectConfigJson {
|
|
82
|
+
_name: 'tree-select';
|
|
83
|
+
required: boolean;
|
|
84
|
+
min_width: string;
|
|
85
|
+
default_value: IObservableArray<string>;
|
|
86
|
+
static_options: IObservableArray<IFilterConfigModel_SelectOption>;
|
|
87
|
+
options_query_id: string;
|
|
88
|
+
treeCheckStrictly: boolean;
|
|
89
|
+
default_value_mode: 'intersect' | 'reset';
|
|
90
|
+
default_selection_count: number;
|
|
91
|
+
}
|
|
92
|
+
export interface IFilterTreeSelectConfig extends IFilterBaseTreeSelectConfigInstance {
|
|
93
|
+
_name: 'tree-select';
|
|
94
|
+
default_value: IObservableArray<string>;
|
|
95
|
+
treeCheckStrictly: boolean;
|
|
96
|
+
readonly json: IFilterTreeSelectConfigJson;
|
|
97
|
+
readonly defaultSelection: string[];
|
|
98
|
+
valueObjects(value: string[]): unknown[];
|
|
99
|
+
initialSelection(value: string[] | null): string[];
|
|
100
|
+
truthy(value: unknown): boolean;
|
|
101
|
+
setDefaultValue(default_value: string[]): void;
|
|
102
|
+
setDefaultValueMode(v: string | null): void;
|
|
103
|
+
setTreeCheckStrictly(v: boolean): void;
|
|
104
|
+
applyDefaultSelection(): void;
|
|
105
|
+
afterCreate(): void;
|
|
106
|
+
}
|
|
78
107
|
export declare const createFilterTreeSelectConfig: () => {
|
|
79
108
|
_name: "tree-select";
|
|
80
109
|
default_value: 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]>>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import { type IObservableArray } from 'mobx';
|
|
1
2
|
import { Instance } from 'mobx-state-tree';
|
|
3
|
+
import { type IFilterBaseTreeSelectConfigInstance } from './tree-select-base';
|
|
4
|
+
import type { IFilterConfigModel_SelectOption } from './select-base';
|
|
2
5
|
export declare const FilterTreeSingleSelectConfigMeta: import("mobx-state-tree").IModelType<{
|
|
3
6
|
_name: import("mobx-state-tree").ISimpleType<"tree-single-select">;
|
|
4
7
|
default_value: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
@@ -73,6 +76,29 @@ export declare const FilterTreeSingleSelectConfigMeta: import("mobx-state-tree")
|
|
|
73
76
|
afterCreate(): void;
|
|
74
77
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
75
78
|
export type FilterTreeSingleSelectConfigInstance = Instance<typeof FilterTreeSingleSelectConfigMeta>;
|
|
79
|
+
export interface IFilterTreeSingleSelectConfig extends IFilterBaseTreeSelectConfigInstance {
|
|
80
|
+
_name: 'tree-single-select';
|
|
81
|
+
default_value: string;
|
|
82
|
+
readonly json: {
|
|
83
|
+
_name: 'tree-single-select';
|
|
84
|
+
required: boolean;
|
|
85
|
+
min_width: string;
|
|
86
|
+
default_value: string;
|
|
87
|
+
static_options: IObservableArray<IFilterConfigModel_SelectOption>;
|
|
88
|
+
options_query_id: string;
|
|
89
|
+
default_value_mode: 'intersect' | 'reset';
|
|
90
|
+
default_selection_count: number;
|
|
91
|
+
};
|
|
92
|
+
readonly selectFirstByDefault: boolean;
|
|
93
|
+
readonly defaultSelection: string;
|
|
94
|
+
valueObject(value: string | null): unknown;
|
|
95
|
+
initialSelection(value: string | null): string;
|
|
96
|
+
truthy(value: unknown): boolean;
|
|
97
|
+
setDefaultValue(default_value: string): void;
|
|
98
|
+
setDefaultValueMode(v: string | null): void;
|
|
99
|
+
applyDefaultSelection(): void;
|
|
100
|
+
afterCreate(): void;
|
|
101
|
+
}
|
|
76
102
|
export declare const createFilterTreeSingleSelectConfig: () => {
|
|
77
103
|
_name: "tree-single-select";
|
|
78
104
|
default_value: string;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { Instance } from 'mobx-state-tree';
|
|
2
2
|
import { Layout } from 'react-grid-layout';
|
|
3
|
+
import type { IPanelRenderModel } from '../../../../../model/render-model';
|
|
4
|
+
import { IContentRenderModel } from '../../../../../dashboard-render';
|
|
3
5
|
export declare const LayoutItemMeta: import("mobx-state-tree").IModelType<{
|
|
4
6
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
5
7
|
panelID: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -29,6 +31,32 @@ export declare const LayoutItemMeta: import("mobx-state-tree").IModelType<{
|
|
|
29
31
|
setHeight(h: number): void;
|
|
30
32
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
31
33
|
export type LayoutItemMetaInstance = Instance<typeof LayoutItemMeta>;
|
|
34
|
+
export interface ILayoutItemMeta {
|
|
35
|
+
id: string;
|
|
36
|
+
panelID: string;
|
|
37
|
+
x: number;
|
|
38
|
+
y: number | null;
|
|
39
|
+
w: number;
|
|
40
|
+
h: number;
|
|
41
|
+
moved: boolean;
|
|
42
|
+
static: boolean;
|
|
43
|
+
readonly json: {
|
|
44
|
+
h: number;
|
|
45
|
+
w: number;
|
|
46
|
+
x: number;
|
|
47
|
+
y: number;
|
|
48
|
+
id: string;
|
|
49
|
+
moved: boolean;
|
|
50
|
+
static: boolean;
|
|
51
|
+
panelID: string;
|
|
52
|
+
};
|
|
53
|
+
readonly contentModel: IContentRenderModel;
|
|
54
|
+
readonly panel: IPanelRenderModel;
|
|
55
|
+
readonly layoutProperies: Layout;
|
|
56
|
+
set(layout: Omit<Layout, 'i'>): void;
|
|
57
|
+
setWidth(w: number): void;
|
|
58
|
+
setHeight(h: number): void;
|
|
59
|
+
}
|
|
32
60
|
export type LayoutItem = {
|
|
33
61
|
id: string;
|
|
34
62
|
panelID: string;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { Instance, SnapshotIn, SnapshotOut } from 'mobx-state-tree';
|
|
2
|
-
import {
|
|
2
|
+
import { IObservableArray } from 'mobx';
|
|
3
|
+
import { IContentRenderModel } from '../../../../../dashboard-render';
|
|
4
|
+
import { LayoutItem, ILayoutItemMeta } from './layout-item';
|
|
3
5
|
import { Layout } from 'react-grid-layout';
|
|
4
6
|
export type LayoutSetInfo = {
|
|
5
7
|
id: string;
|
|
@@ -194,3 +196,32 @@ export declare const LayoutSetMeta: import("mobx-state-tree").IModelType<{
|
|
|
194
196
|
export type LayoutSetMetaInstance = Instance<typeof LayoutSetMeta>;
|
|
195
197
|
export type LayoutSetMetaSnapshotIn = SnapshotIn<LayoutSetMetaInstance>;
|
|
196
198
|
export type LayoutSetMetaSnapshotOut = SnapshotOut<LayoutSetMetaInstance>;
|
|
199
|
+
export interface ILayoutSetMeta {
|
|
200
|
+
id: string;
|
|
201
|
+
name: string;
|
|
202
|
+
breakpoint: number;
|
|
203
|
+
list: IObservableArray<ILayoutItemMeta>;
|
|
204
|
+
readonly contentModel: IContentRenderModel;
|
|
205
|
+
readonly json: {
|
|
206
|
+
id: string;
|
|
207
|
+
name: string;
|
|
208
|
+
breakpoint: number;
|
|
209
|
+
list: Array<ILayoutItemMeta['json']>;
|
|
210
|
+
};
|
|
211
|
+
jsonByPanelIDSet(panelIDSet: Set<string>): {
|
|
212
|
+
id: string;
|
|
213
|
+
name: string;
|
|
214
|
+
breakpoint: number;
|
|
215
|
+
list: Array<ILayoutItemMeta['json']>;
|
|
216
|
+
};
|
|
217
|
+
findByID(id: string): ILayoutItemMeta | undefined;
|
|
218
|
+
findByPanelID(panelID: string): ILayoutItemMeta | undefined;
|
|
219
|
+
setName(v: string): void;
|
|
220
|
+
setBreakpoint(v: number): void;
|
|
221
|
+
addLayout(layoutItem: LayoutItem): void;
|
|
222
|
+
addNewLayout(panelID: string): void;
|
|
223
|
+
removeByPanelID(panelID: string): void;
|
|
224
|
+
removeByPanelIDs(panelIDs: string[]): void;
|
|
225
|
+
updateLayoutItem(item: Layout): void;
|
|
226
|
+
afterCreate(): void;
|
|
227
|
+
}
|
|
@@ -14,3 +14,13 @@ export declare const MockContextMeta: import("mobx-state-tree").IModelType<{
|
|
|
14
14
|
export declare function getInitialMockContextMeta(context: ContextRecordType): {
|
|
15
15
|
current: ContextRecordType;
|
|
16
16
|
};
|
|
17
|
+
export interface IMockContextMeta {
|
|
18
|
+
current: ContextRecordType;
|
|
19
|
+
readonly keys: string[];
|
|
20
|
+
readonly keySet: Set<string>;
|
|
21
|
+
readonly entries: Array<[string, ContextRecordType]>;
|
|
22
|
+
replace(record: ContextRecordType): void;
|
|
23
|
+
defaults(record: ContextRecordType): void;
|
|
24
|
+
get<T = any>(key: string): T;
|
|
25
|
+
set<T = any>(key: string, value: T): void;
|
|
26
|
+
}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type IObservableArray } from 'mobx';
|
|
2
|
+
import { type IPanelStyleMeta } from './style';
|
|
3
|
+
import { type IPanelTitleMeta } from './title';
|
|
4
|
+
import { VariableMetaInstance, VariableMetaSnapshotIn, type IVariableMeta } from './variable';
|
|
5
|
+
import { type IPanelVizMeta } from './viz';
|
|
2
6
|
export declare const PanelMeta: import("mobx-state-tree").IModelType<{
|
|
3
7
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
4
8
|
name: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
@@ -15,15 +19,15 @@ export declare const PanelMeta: import("mobx-state-tree").IModelType<{
|
|
|
15
19
|
queryIDs: import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>;
|
|
16
20
|
viz: import("mobx-state-tree").IModelType<{
|
|
17
21
|
type: import("mobx-state-tree").ISimpleType<string>;
|
|
18
|
-
conf: import("mobx-state-tree").IType<import(
|
|
22
|
+
conf: import("mobx-state-tree").IType<import('../../../../../types/utils').AnyObject, import('../../../../../types/utils').AnyObject, import('../../../../../types/utils').AnyObject>;
|
|
19
23
|
}, {
|
|
20
24
|
readonly json: {
|
|
21
|
-
conf: import(
|
|
25
|
+
conf: import('../../../../../types/utils').AnyObject & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<import('../../../../../types/utils').AnyObject, import('../../../../../types/utils').AnyObject, import('../../../../../types/utils').AnyObject>>;
|
|
22
26
|
type: string;
|
|
23
27
|
};
|
|
24
28
|
} & {
|
|
25
29
|
setType(type: string): void;
|
|
26
|
-
setConf(conf: import(
|
|
30
|
+
setConf(conf: import('../../../../../types/utils').AnyObject): void;
|
|
27
31
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
28
32
|
style: import("mobx-state-tree").IModelType<{
|
|
29
33
|
border: import("mobx-state-tree").IModelType<{
|
|
@@ -558,7 +562,7 @@ export declare const PanelMeta: import("mobx-state-tree").IModelType<{
|
|
|
558
562
|
readonly json: {
|
|
559
563
|
id: string;
|
|
560
564
|
viz: {
|
|
561
|
-
conf: import(
|
|
565
|
+
conf: import('../../../../../types/utils').AnyObject & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<import('../../../../../types/utils').AnyObject, import('../../../../../types/utils').AnyObject, import('../../../../../types/utils').AnyObject>>;
|
|
562
566
|
type: string;
|
|
563
567
|
};
|
|
564
568
|
name: string;
|
|
@@ -987,3 +991,32 @@ export declare const PanelMeta: import("mobx-state-tree").IModelType<{
|
|
|
987
991
|
addVariable(variable: VariableMetaSnapshotIn): void;
|
|
988
992
|
removeVariable(variable: VariableMetaInstance): void;
|
|
989
993
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
994
|
+
export interface IPanelMeta {
|
|
995
|
+
id: string;
|
|
996
|
+
name: string;
|
|
997
|
+
title: IPanelTitleMeta;
|
|
998
|
+
description: string;
|
|
999
|
+
queryIDs: IObservableArray<string>;
|
|
1000
|
+
viz: IPanelVizMeta;
|
|
1001
|
+
style: IPanelStyleMeta;
|
|
1002
|
+
variables: IObservableArray<IVariableMeta>;
|
|
1003
|
+
readonly json: {
|
|
1004
|
+
id: string;
|
|
1005
|
+
viz: IPanelVizMeta['json'];
|
|
1006
|
+
name: string;
|
|
1007
|
+
style: IPanelStyleMeta['json'];
|
|
1008
|
+
title: IPanelTitleMeta['json'];
|
|
1009
|
+
queryIDs: string[];
|
|
1010
|
+
variables: Array<IVariableMeta['json']>;
|
|
1011
|
+
description: string;
|
|
1012
|
+
};
|
|
1013
|
+
readonly queryIDSet: Set<string>;
|
|
1014
|
+
setID(id: string): void;
|
|
1015
|
+
setName(name: string): void;
|
|
1016
|
+
setDescription(description: string): void;
|
|
1017
|
+
addQueryID(queryID: string): void;
|
|
1018
|
+
removeQueryID(queryID: string): void;
|
|
1019
|
+
setQueryIDs(queryIDs: string[]): void;
|
|
1020
|
+
addVariable(variable: VariableMetaSnapshotIn): void;
|
|
1021
|
+
removeVariable(variable: VariableMetaInstance): void;
|
|
1022
|
+
}
|