@devtable/dashboard 10.10.1 → 10.11.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/plugins/viz-components/merico-stats/editors/metrics/index.d.ts +2 -2
- package/dist/components/plugins/viz-components/merico-stats/editors/metrics/metric.d.ts +3 -2
- package/dist/components/plugins/viz-components/merico-stats/editors/metrics/postfix-field.d.ts +8 -0
- package/dist/components/plugins/viz-components/merico-stats/migrators/index.d.ts +1 -0
- package/dist/components/plugins/viz-components/merico-stats/migrators/v2.d.ts +2 -0
- package/dist/components/plugins/viz-components/merico-stats/render/index.d.ts +4 -0
- package/dist/components/plugins/viz-components/merico-stats/render/metric.d.ts +9 -0
- package/dist/components/plugins/viz-components/merico-stats/type.d.ts +5 -0
- package/dist/dashboard-editor/model/filters/index.d.ts +28 -23
- package/dist/dashboard.es.js +3353 -3249
- package/dist/dashboard.umd.js +60 -60
- package/dist/model/meta-model/dashboard/content/filter/widgets/multi-select.d.ts +6 -6
- package/dist/model/meta-model/dashboard/content/filter/widgets/select-base.d.ts +6 -1
- package/dist/model/meta-model/dashboard/content/filter/widgets/select.d.ts +6 -3
- package/dist/model/meta-model/dashboard/content/filter/widgets/tree-select.d.ts +3 -3
- package/dist/model/render-model/dashboard/content/filters/filters.d.ts +25 -24
- package/dist/stats.html +1 -1
- package/package.json +1 -1
- package/dist/components/plugins/viz-components/merico-stats/viz-merico-stats.d.ts +0 -2
|
@@ -16,7 +16,7 @@ export declare const FilterMultiSelectConfigMeta: import("mobx-state-tree").IMod
|
|
|
16
16
|
}, {
|
|
17
17
|
readonly usingQuery: boolean;
|
|
18
18
|
} & {
|
|
19
|
-
readonly options:
|
|
19
|
+
readonly options: import("./select-base").TSelectOption[];
|
|
20
20
|
} & {
|
|
21
21
|
addStaticOption(option: {
|
|
22
22
|
label: string;
|
|
@@ -46,7 +46,7 @@ export declare const FilterMultiSelectConfigMeta: import("mobx-state-tree").IMod
|
|
|
46
46
|
options_query_id: string;
|
|
47
47
|
default_selection_count: number;
|
|
48
48
|
};
|
|
49
|
-
readonly default_selection: any;
|
|
49
|
+
readonly default_selection: any[];
|
|
50
50
|
} & {
|
|
51
51
|
setDefaultValue(default_value: string[]): void;
|
|
52
52
|
setMinWidth(v: string): void;
|
|
@@ -77,7 +77,7 @@ export declare const createFilterMultiSelectConfig: () => {
|
|
|
77
77
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
78
78
|
readonly usingQuery: boolean;
|
|
79
79
|
} & {
|
|
80
|
-
readonly options:
|
|
80
|
+
readonly options: import("./select-base").TSelectOption[];
|
|
81
81
|
} & {
|
|
82
82
|
addStaticOption(option: {
|
|
83
83
|
label: string;
|
|
@@ -107,7 +107,7 @@ export declare const createFilterMultiSelectConfig: () => {
|
|
|
107
107
|
options_query_id: string;
|
|
108
108
|
default_selection_count: number;
|
|
109
109
|
};
|
|
110
|
-
readonly default_selection: any;
|
|
110
|
+
readonly default_selection: any[];
|
|
111
111
|
} & {
|
|
112
112
|
setDefaultValue(default_value: string[]): void;
|
|
113
113
|
setMinWidth(v: string): void;
|
|
@@ -131,7 +131,7 @@ export declare const createFilterMultiSelectConfig: () => {
|
|
|
131
131
|
}, {
|
|
132
132
|
readonly usingQuery: boolean;
|
|
133
133
|
} & {
|
|
134
|
-
readonly options:
|
|
134
|
+
readonly options: import("./select-base").TSelectOption[];
|
|
135
135
|
} & {
|
|
136
136
|
addStaticOption(option: {
|
|
137
137
|
label: string;
|
|
@@ -161,7 +161,7 @@ export declare const createFilterMultiSelectConfig: () => {
|
|
|
161
161
|
options_query_id: string;
|
|
162
162
|
default_selection_count: number;
|
|
163
163
|
};
|
|
164
|
-
readonly default_selection: any;
|
|
164
|
+
readonly default_selection: any[];
|
|
165
165
|
} & {
|
|
166
166
|
setDefaultValue(default_value: string[]): void;
|
|
167
167
|
setMinWidth(v: string): void;
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import { Instance } from 'mobx-state-tree';
|
|
2
|
+
export declare type TSelectOption = {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
};
|
|
2
7
|
export declare const FilterConfigModel_SelectOption: import("mobx-state-tree").IModelType<{
|
|
3
8
|
label: import("mobx-state-tree").ISimpleType<string>;
|
|
4
9
|
value: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -20,7 +25,7 @@ export declare const FilterBaseSelectConfigMeta: import("mobx-state-tree").IMode
|
|
|
20
25
|
}, {
|
|
21
26
|
readonly usingQuery: boolean;
|
|
22
27
|
} & {
|
|
23
|
-
readonly options:
|
|
28
|
+
readonly options: TSelectOption[];
|
|
24
29
|
} & {
|
|
25
30
|
addStaticOption(option: {
|
|
26
31
|
label: string;
|
|
@@ -17,7 +17,7 @@ export declare const FilterSelectConfigMeta: import("mobx-state-tree").IModelTyp
|
|
|
17
17
|
}, {
|
|
18
18
|
readonly usingQuery: boolean;
|
|
19
19
|
} & {
|
|
20
|
-
readonly options:
|
|
20
|
+
readonly options: import("./select-base").TSelectOption[];
|
|
21
21
|
} & {
|
|
22
22
|
addStaticOption(option: {
|
|
23
23
|
label: string;
|
|
@@ -49,6 +49,7 @@ export declare const FilterSelectConfigMeta: import("mobx-state-tree").IModelTyp
|
|
|
49
49
|
default_selection_count: number;
|
|
50
50
|
};
|
|
51
51
|
truthy(value: any): boolean;
|
|
52
|
+
getSelectOption(value: string): import("./select-base").TSelectOption | undefined;
|
|
52
53
|
} & {
|
|
53
54
|
setRequired(required: boolean): void;
|
|
54
55
|
setDefaultValue(default_value: string): void;
|
|
@@ -78,7 +79,7 @@ export declare const createFilterSelectConfig: () => {
|
|
|
78
79
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
79
80
|
readonly usingQuery: boolean;
|
|
80
81
|
} & {
|
|
81
|
-
readonly options:
|
|
82
|
+
readonly options: import("./select-base").TSelectOption[];
|
|
82
83
|
} & {
|
|
83
84
|
addStaticOption(option: {
|
|
84
85
|
label: string;
|
|
@@ -110,6 +111,7 @@ export declare const createFilterSelectConfig: () => {
|
|
|
110
111
|
default_selection_count: number;
|
|
111
112
|
};
|
|
112
113
|
truthy(value: any): boolean;
|
|
114
|
+
getSelectOption(value: string): import("./select-base").TSelectOption | undefined;
|
|
113
115
|
} & {
|
|
114
116
|
setRequired(required: boolean): void;
|
|
115
117
|
setDefaultValue(default_value: string): void;
|
|
@@ -132,7 +134,7 @@ export declare const createFilterSelectConfig: () => {
|
|
|
132
134
|
}, {
|
|
133
135
|
readonly usingQuery: boolean;
|
|
134
136
|
} & {
|
|
135
|
-
readonly options:
|
|
137
|
+
readonly options: import("./select-base").TSelectOption[];
|
|
136
138
|
} & {
|
|
137
139
|
addStaticOption(option: {
|
|
138
140
|
label: string;
|
|
@@ -164,6 +166,7 @@ export declare const createFilterSelectConfig: () => {
|
|
|
164
166
|
default_selection_count: number;
|
|
165
167
|
};
|
|
166
168
|
truthy(value: any): boolean;
|
|
169
|
+
getSelectOption(value: string): import("./select-base").TSelectOption | undefined;
|
|
167
170
|
} & {
|
|
168
171
|
setRequired(required: boolean): void;
|
|
169
172
|
setDefaultValue(default_value: string): void;
|
|
@@ -16,7 +16,7 @@ export declare const FilterTreeSelectConfigMeta: import("mobx-state-tree").IMode
|
|
|
16
16
|
}, {
|
|
17
17
|
readonly usingQuery: boolean;
|
|
18
18
|
} & {
|
|
19
|
-
readonly options:
|
|
19
|
+
readonly options: import("./select-base").TSelectOption[];
|
|
20
20
|
} & {
|
|
21
21
|
addStaticOption(option: {
|
|
22
22
|
label: string;
|
|
@@ -79,7 +79,7 @@ export declare const createFilterTreeSelectConfig: () => {
|
|
|
79
79
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
80
80
|
readonly usingQuery: boolean;
|
|
81
81
|
} & {
|
|
82
|
-
readonly options:
|
|
82
|
+
readonly options: import("./select-base").TSelectOption[];
|
|
83
83
|
} & {
|
|
84
84
|
addStaticOption(option: {
|
|
85
85
|
label: string;
|
|
@@ -135,7 +135,7 @@ export declare const createFilterTreeSelectConfig: () => {
|
|
|
135
135
|
}, {
|
|
136
136
|
readonly usingQuery: boolean;
|
|
137
137
|
} & {
|
|
138
|
-
readonly options:
|
|
138
|
+
readonly options: import("./select-base").TSelectOption[];
|
|
139
139
|
} & {
|
|
140
140
|
addStaticOption(option: {
|
|
141
141
|
label: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Instance } from 'mobx-state-tree';
|
|
2
|
-
import { FilterMetaSnapshotOut } from '~/model';
|
|
2
|
+
import { DashboardFilterType, FilterMetaSnapshotOut } from '~/model';
|
|
3
3
|
export declare const FiltersRenderModel: import("mobx-state-tree").IModelType<{
|
|
4
4
|
current: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
|
|
5
5
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -8,7 +8,7 @@ export declare const FiltersRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
8
8
|
order: import("mobx-state-tree").ISimpleType<number>;
|
|
9
9
|
visibleInViewsIDs: import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>;
|
|
10
10
|
auto_submit: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
11
|
-
type: import("mobx-state-tree").ISimpleType<
|
|
11
|
+
type: import("mobx-state-tree").ISimpleType<DashboardFilterType>;
|
|
12
12
|
config: import("mobx-state-tree").ITypeUnion<any, import("mobx-state-tree").ModelSnapshotType<{
|
|
13
13
|
_name: import("mobx-state-tree").ISimpleType<"select">;
|
|
14
14
|
default_value: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -77,7 +77,7 @@ export declare const FiltersRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
77
77
|
readonly json: {
|
|
78
78
|
id: string;
|
|
79
79
|
key: string;
|
|
80
|
-
type:
|
|
80
|
+
type: DashboardFilterType;
|
|
81
81
|
label: string;
|
|
82
82
|
order: number;
|
|
83
83
|
config: any;
|
|
@@ -90,7 +90,7 @@ export declare const FiltersRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
90
90
|
setKey(key: string): void;
|
|
91
91
|
setLabel(label: string): void;
|
|
92
92
|
setOrder(order: number): void;
|
|
93
|
-
setType(type:
|
|
93
|
+
setType(type: DashboardFilterType): void;
|
|
94
94
|
setVisibleInViewsIDs(ids: string[]): void;
|
|
95
95
|
setAutoSubmit(v: boolean): void;
|
|
96
96
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>;
|
|
@@ -99,7 +99,7 @@ export declare const FiltersRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
99
99
|
readonly json: {
|
|
100
100
|
id: string;
|
|
101
101
|
key: string;
|
|
102
|
-
type:
|
|
102
|
+
type: DashboardFilterType;
|
|
103
103
|
label: string;
|
|
104
104
|
order: number;
|
|
105
105
|
config: any;
|
|
@@ -114,7 +114,7 @@ export declare const FiltersRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
114
114
|
order: number;
|
|
115
115
|
visibleInViewsIDs: 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>>>;
|
|
116
116
|
auto_submit: boolean;
|
|
117
|
-
type:
|
|
117
|
+
type: DashboardFilterType;
|
|
118
118
|
config: any;
|
|
119
119
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
120
120
|
readonly plainDefaultValue: any;
|
|
@@ -124,7 +124,7 @@ export declare const FiltersRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
124
124
|
readonly json: {
|
|
125
125
|
id: string;
|
|
126
126
|
key: string;
|
|
127
|
-
type:
|
|
127
|
+
type: DashboardFilterType;
|
|
128
128
|
label: string;
|
|
129
129
|
order: number;
|
|
130
130
|
config: any;
|
|
@@ -137,7 +137,7 @@ export declare const FiltersRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
137
137
|
setKey(key: string): void;
|
|
138
138
|
setLabel(label: string): void;
|
|
139
139
|
setOrder(order: number): void;
|
|
140
|
-
setType(type:
|
|
140
|
+
setType(type: DashboardFilterType): void;
|
|
141
141
|
setVisibleInViewsIDs(ids: string[]): void;
|
|
142
142
|
setAutoSubmit(v: boolean): void;
|
|
143
143
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
@@ -147,7 +147,7 @@ export declare const FiltersRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
147
147
|
order: import("mobx-state-tree").ISimpleType<number>;
|
|
148
148
|
visibleInViewsIDs: import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>;
|
|
149
149
|
auto_submit: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
150
|
-
type: import("mobx-state-tree").ISimpleType<
|
|
150
|
+
type: import("mobx-state-tree").ISimpleType<DashboardFilterType>;
|
|
151
151
|
config: import("mobx-state-tree").ITypeUnion<any, import("mobx-state-tree").ModelSnapshotType<{
|
|
152
152
|
_name: import("mobx-state-tree").ISimpleType<"select">;
|
|
153
153
|
default_value: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -216,7 +216,7 @@ export declare const FiltersRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
216
216
|
readonly json: {
|
|
217
217
|
id: string;
|
|
218
218
|
key: string;
|
|
219
|
-
type:
|
|
219
|
+
type: DashboardFilterType;
|
|
220
220
|
label: string;
|
|
221
221
|
order: number;
|
|
222
222
|
config: any;
|
|
@@ -229,7 +229,7 @@ export declare const FiltersRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
229
229
|
setKey(key: string): void;
|
|
230
230
|
setLabel(label: string): void;
|
|
231
231
|
setOrder(order: number): void;
|
|
232
|
-
setType(type:
|
|
232
|
+
setType(type: DashboardFilterType): void;
|
|
233
233
|
setVisibleInViewsIDs(ids: string[]): void;
|
|
234
234
|
setAutoSubmit(v: boolean): void;
|
|
235
235
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
@@ -240,7 +240,7 @@ export declare const FiltersRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
240
240
|
order: number;
|
|
241
241
|
visibleInViewsIDs: 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>>>;
|
|
242
242
|
auto_submit: boolean;
|
|
243
|
-
type:
|
|
243
|
+
type: DashboardFilterType;
|
|
244
244
|
config: any;
|
|
245
245
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
246
246
|
readonly plainDefaultValue: any;
|
|
@@ -250,7 +250,7 @@ export declare const FiltersRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
250
250
|
readonly json: {
|
|
251
251
|
id: string;
|
|
252
252
|
key: string;
|
|
253
|
-
type:
|
|
253
|
+
type: DashboardFilterType;
|
|
254
254
|
label: string;
|
|
255
255
|
order: number;
|
|
256
256
|
config: any;
|
|
@@ -263,7 +263,7 @@ export declare const FiltersRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
263
263
|
setKey(key: string): void;
|
|
264
264
|
setLabel(label: string): void;
|
|
265
265
|
setOrder(order: number): void;
|
|
266
|
-
setType(type:
|
|
266
|
+
setType(type: DashboardFilterType): void;
|
|
267
267
|
setVisibleInViewsIDs(ids: string[]): void;
|
|
268
268
|
setAutoSubmit(v: boolean): void;
|
|
269
269
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
@@ -273,7 +273,7 @@ export declare const FiltersRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
273
273
|
order: import("mobx-state-tree").ISimpleType<number>;
|
|
274
274
|
visibleInViewsIDs: import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>;
|
|
275
275
|
auto_submit: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
276
|
-
type: import("mobx-state-tree").ISimpleType<
|
|
276
|
+
type: import("mobx-state-tree").ISimpleType<DashboardFilterType>;
|
|
277
277
|
config: import("mobx-state-tree").ITypeUnion<any, import("mobx-state-tree").ModelSnapshotType<{
|
|
278
278
|
_name: import("mobx-state-tree").ISimpleType<"select">;
|
|
279
279
|
default_value: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -342,7 +342,7 @@ export declare const FiltersRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
342
342
|
readonly json: {
|
|
343
343
|
id: string;
|
|
344
344
|
key: string;
|
|
345
|
-
type:
|
|
345
|
+
type: DashboardFilterType;
|
|
346
346
|
label: string;
|
|
347
347
|
order: number;
|
|
348
348
|
config: any;
|
|
@@ -355,7 +355,7 @@ export declare const FiltersRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
355
355
|
setKey(key: string): void;
|
|
356
356
|
setLabel(label: string): void;
|
|
357
357
|
setOrder(order: number): void;
|
|
358
|
-
setType(type:
|
|
358
|
+
setType(type: DashboardFilterType): void;
|
|
359
359
|
setVisibleInViewsIDs(ids: string[]): void;
|
|
360
360
|
setAutoSubmit(v: boolean): void;
|
|
361
361
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
@@ -367,7 +367,7 @@ export declare const FiltersRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
367
367
|
order: number;
|
|
368
368
|
visibleInViewsIDs: 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>>>;
|
|
369
369
|
auto_submit: boolean;
|
|
370
|
-
type:
|
|
370
|
+
type: DashboardFilterType;
|
|
371
371
|
config: any;
|
|
372
372
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
373
373
|
readonly plainDefaultValue: any;
|
|
@@ -377,7 +377,7 @@ export declare const FiltersRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
377
377
|
readonly json: {
|
|
378
378
|
id: string;
|
|
379
379
|
key: string;
|
|
380
|
-
type:
|
|
380
|
+
type: DashboardFilterType;
|
|
381
381
|
label: string;
|
|
382
382
|
order: number;
|
|
383
383
|
config: any;
|
|
@@ -390,7 +390,7 @@ export declare const FiltersRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
390
390
|
setKey(key: string): void;
|
|
391
391
|
setLabel(label: string): void;
|
|
392
392
|
setOrder(order: number): void;
|
|
393
|
-
setType(type:
|
|
393
|
+
setType(type: DashboardFilterType): void;
|
|
394
394
|
setVisibleInViewsIDs(ids: string[]): void;
|
|
395
395
|
setAutoSubmit(v: boolean): void;
|
|
396
396
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
@@ -400,7 +400,7 @@ export declare const FiltersRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
400
400
|
order: import("mobx-state-tree").ISimpleType<number>;
|
|
401
401
|
visibleInViewsIDs: import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>;
|
|
402
402
|
auto_submit: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
403
|
-
type: import("mobx-state-tree").ISimpleType<
|
|
403
|
+
type: import("mobx-state-tree").ISimpleType<DashboardFilterType>;
|
|
404
404
|
config: import("mobx-state-tree").ITypeUnion<any, import("mobx-state-tree").ModelSnapshotType<{
|
|
405
405
|
_name: import("mobx-state-tree").ISimpleType<"select">;
|
|
406
406
|
default_value: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -469,7 +469,7 @@ export declare const FiltersRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
469
469
|
readonly json: {
|
|
470
470
|
id: string;
|
|
471
471
|
key: string;
|
|
472
|
-
type:
|
|
472
|
+
type: DashboardFilterType;
|
|
473
473
|
label: string;
|
|
474
474
|
order: number;
|
|
475
475
|
config: any;
|
|
@@ -482,12 +482,13 @@ export declare const FiltersRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
482
482
|
setKey(key: string): void;
|
|
483
483
|
setLabel(label: string): void;
|
|
484
484
|
setOrder(order: number): void;
|
|
485
|
-
setType(type:
|
|
485
|
+
setType(type: DashboardFilterType): void;
|
|
486
486
|
setVisibleInViewsIDs(ids: string[]): void;
|
|
487
487
|
setAutoSubmit(v: boolean): void;
|
|
488
488
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
489
489
|
readonly firstFilterValueKey: string;
|
|
490
490
|
readonly keyLabelMap: Record<string, string>;
|
|
491
|
+
getSelectOption(id: string): any;
|
|
491
492
|
} & {
|
|
492
493
|
setValues(values: Record<string, $TSFixMe>): void;
|
|
493
494
|
setValueByKey(key: string, value: $TSFixMe): void;
|
|
@@ -502,7 +503,7 @@ export declare function getInitialFiltersConfig(filters: FilterMetaSnapshotOut[]
|
|
|
502
503
|
order: import("mobx-state-tree").ISimpleType<number>;
|
|
503
504
|
visibleInViewsIDs: import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>;
|
|
504
505
|
auto_submit: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
505
|
-
type: import("mobx-state-tree").ISimpleType<
|
|
506
|
+
type: import("mobx-state-tree").ISimpleType<DashboardFilterType>;
|
|
506
507
|
config: import("mobx-state-tree").ITypeUnion<any, import("mobx-state-tree").ModelSnapshotType<{
|
|
507
508
|
_name: import("mobx-state-tree").ISimpleType<"select">;
|
|
508
509
|
default_value: import("mobx-state-tree").ISimpleType<string>;
|