@devtable/dashboard 14.33.0 → 14.34.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/filter/filter-settings/filter-setting.d.ts +7 -6
- package/dist/components/filter/filter-settings/filter-usage-table.d.ts +8 -0
- package/dist/components/filter/filter-settings/preview-filter.d.ts +7 -6
- package/dist/components/plugins/plugin-context.d.ts +12 -0
- package/dist/contexts/panel-context.d.ts +24 -0
- package/dist/dashboard-editor/model/filters/filter-model.d.ts +157 -0
- package/dist/dashboard-editor/model/filters/index.d.ts +263 -0
- package/dist/dashboard-editor/model/panels/panel.d.ts +6 -0
- package/dist/dashboard-editor/model/queries/queries.d.ts +13 -0
- package/dist/dashboard-editor/model/queries/query.d.ts +1 -0
- package/dist/dashboard-editor/model/sql-snippets/index.d.ts +1 -0
- package/dist/dashboard.es.js +2046 -1933
- package/dist/dashboard.umd.js +65 -65
- package/dist/i18n/en.d.ts +4 -0
- package/dist/i18n/zh.d.ts +4 -0
- package/dist/model/render-model/dashboard/content/filters/filters.d.ts +4 -2
- package/dist/model/render-model/dashboard/content/panels/panel.d.ts +4 -0
- package/dist/model/render-model/dashboard/content/queries/mute-query.d.ts +2 -0
- package/dist/model/render-model/dashboard/content/queries/queries.d.ts +9 -0
- package/dist/model/render-model/dashboard/content/queries/query.d.ts +1 -0
- package/dist/stats.html +1 -1
- package/dist/version.json +2 -2
- package/package.json +1 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { FilterMetaInstance } from '../../../model';
|
|
1
|
+
import { FilterModelInstance } from '../../../dashboard-editor/model/filters/filter-model';
|
|
3
2
|
export declare const filterTypeNames: {
|
|
4
3
|
select: string;
|
|
5
4
|
"multi-select": string;
|
|
@@ -9,8 +8,10 @@ export declare const filterTypeNames: {
|
|
|
9
8
|
checkbox: string;
|
|
10
9
|
"date-range": string;
|
|
11
10
|
};
|
|
12
|
-
|
|
13
|
-
filter:
|
|
14
|
-
}
|
|
15
|
-
export declare const FilterSetting:
|
|
11
|
+
type Props = {
|
|
12
|
+
filter: FilterModelInstance;
|
|
13
|
+
};
|
|
14
|
+
export declare const FilterSetting: (({ filter }: Props) => import('./react/jsx-runtime').JSX.Element) & {
|
|
15
|
+
displayName: string;
|
|
16
|
+
};
|
|
16
17
|
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FilterModelInstance } from '../../../dashboard-editor';
|
|
2
|
+
type Props = {
|
|
3
|
+
filter: FilterModelInstance;
|
|
4
|
+
};
|
|
5
|
+
export declare const FilterUsageTable: (({ filter }: Props) => import('./react/jsx-runtime').JSX.Element) & {
|
|
6
|
+
displayName: string;
|
|
7
|
+
};
|
|
8
|
+
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
|
|
1
|
+
import { FilterModelInstance } from '../../../dashboard-editor/model/filters/filter-model';
|
|
2
|
+
type Props = {
|
|
3
|
+
filter: FilterModelInstance;
|
|
4
|
+
};
|
|
5
|
+
export declare const PreviewFilter: (({ filter }: Props) => import('./react/jsx-runtime').JSX.Element) & {
|
|
6
|
+
displayName: string;
|
|
7
|
+
};
|
|
7
8
|
export {};
|
|
@@ -4044,6 +4044,7 @@ export declare const tokens: {
|
|
|
4044
4044
|
readonly queries: any;
|
|
4045
4045
|
readonly inUse: any;
|
|
4046
4046
|
readonly dependencies: import("../../utils").DependencyInfo[];
|
|
4047
|
+
readonly usedFilterKeySet: Set<string>;
|
|
4047
4048
|
readonly metricQueryPayload: {
|
|
4048
4049
|
id: string;
|
|
4049
4050
|
type: import("../..").MericoMetricType;
|
|
@@ -4389,6 +4390,7 @@ export declare const tokens: {
|
|
|
4389
4390
|
readonly queries: any;
|
|
4390
4391
|
readonly inUse: any;
|
|
4391
4392
|
readonly dependencies: import("../../utils").DependencyInfo[];
|
|
4393
|
+
readonly usedFilterKeySet: Set<string>;
|
|
4392
4394
|
readonly metricQueryPayload: {
|
|
4393
4395
|
id: string;
|
|
4394
4396
|
type: import("../..").MericoMetricType;
|
|
@@ -5485,6 +5487,7 @@ export declare const tokens: {
|
|
|
5485
5487
|
readonly queries: any;
|
|
5486
5488
|
readonly inUse: any;
|
|
5487
5489
|
readonly dependencies: import("../../utils").DependencyInfo[];
|
|
5490
|
+
readonly usedFilterKeySet: Set<string>;
|
|
5488
5491
|
readonly metricQueryPayload: {
|
|
5489
5492
|
id: string;
|
|
5490
5493
|
type: import("../..").MericoMetricType;
|
|
@@ -5830,6 +5833,7 @@ export declare const tokens: {
|
|
|
5830
5833
|
readonly queries: any;
|
|
5831
5834
|
readonly inUse: any;
|
|
5832
5835
|
readonly dependencies: import("../../utils").DependencyInfo[];
|
|
5836
|
+
readonly usedFilterKeySet: Set<string>;
|
|
5833
5837
|
readonly metricQueryPayload: {
|
|
5834
5838
|
id: string;
|
|
5835
5839
|
type: import("../..").MericoMetricType;
|
|
@@ -6927,6 +6931,7 @@ export declare const tokens: {
|
|
|
6927
6931
|
readonly queries: any;
|
|
6928
6932
|
readonly inUse: any;
|
|
6929
6933
|
readonly dependencies: import("../../utils").DependencyInfo[];
|
|
6934
|
+
readonly usedFilterKeySet: Set<string>;
|
|
6930
6935
|
readonly metricQueryPayload: {
|
|
6931
6936
|
id: string;
|
|
6932
6937
|
type: import("../..").MericoMetricType;
|
|
@@ -7272,6 +7277,7 @@ export declare const tokens: {
|
|
|
7272
7277
|
readonly queries: any;
|
|
7273
7278
|
readonly inUse: any;
|
|
7274
7279
|
readonly dependencies: import("../../utils").DependencyInfo[];
|
|
7280
|
+
readonly usedFilterKeySet: Set<string>;
|
|
7275
7281
|
readonly metricQueryPayload: {
|
|
7276
7282
|
id: string;
|
|
7277
7283
|
type: import("../..").MericoMetricType;
|
|
@@ -11322,6 +11328,7 @@ export declare const tokens: {
|
|
|
11322
11328
|
readonly queries: any;
|
|
11323
11329
|
readonly inUse: any;
|
|
11324
11330
|
readonly dependencies: import("../../utils").DependencyInfo[];
|
|
11331
|
+
readonly usedFilterKeySet: Set<string>;
|
|
11325
11332
|
readonly metricQueryPayload: {
|
|
11326
11333
|
id: string;
|
|
11327
11334
|
type: import("../..").MericoMetricType;
|
|
@@ -11667,6 +11674,7 @@ export declare const tokens: {
|
|
|
11667
11674
|
readonly queries: any;
|
|
11668
11675
|
readonly inUse: any;
|
|
11669
11676
|
readonly dependencies: import("../../utils").DependencyInfo[];
|
|
11677
|
+
readonly usedFilterKeySet: Set<string>;
|
|
11670
11678
|
readonly metricQueryPayload: {
|
|
11671
11679
|
id: string;
|
|
11672
11680
|
type: import("../..").MericoMetricType;
|
|
@@ -12763,6 +12771,7 @@ export declare const tokens: {
|
|
|
12763
12771
|
readonly queries: any;
|
|
12764
12772
|
readonly inUse: any;
|
|
12765
12773
|
readonly dependencies: import("../../utils").DependencyInfo[];
|
|
12774
|
+
readonly usedFilterKeySet: Set<string>;
|
|
12766
12775
|
readonly metricQueryPayload: {
|
|
12767
12776
|
id: string;
|
|
12768
12777
|
type: import("../..").MericoMetricType;
|
|
@@ -13108,6 +13117,7 @@ export declare const tokens: {
|
|
|
13108
13117
|
readonly queries: any;
|
|
13109
13118
|
readonly inUse: any;
|
|
13110
13119
|
readonly dependencies: import("../../utils").DependencyInfo[];
|
|
13120
|
+
readonly usedFilterKeySet: Set<string>;
|
|
13111
13121
|
readonly metricQueryPayload: {
|
|
13112
13122
|
id: string;
|
|
13113
13123
|
type: import("../..").MericoMetricType;
|
|
@@ -14205,6 +14215,7 @@ export declare const tokens: {
|
|
|
14205
14215
|
readonly queries: any;
|
|
14206
14216
|
readonly inUse: any;
|
|
14207
14217
|
readonly dependencies: import("../../utils").DependencyInfo[];
|
|
14218
|
+
readonly usedFilterKeySet: Set<string>;
|
|
14208
14219
|
readonly metricQueryPayload: {
|
|
14209
14220
|
id: string;
|
|
14210
14221
|
type: import("../..").MericoMetricType;
|
|
@@ -14550,6 +14561,7 @@ export declare const tokens: {
|
|
|
14550
14561
|
readonly queries: any;
|
|
14551
14562
|
readonly inUse: any;
|
|
14552
14563
|
readonly dependencies: import("../../utils").DependencyInfo[];
|
|
14564
|
+
readonly usedFilterKeySet: Set<string>;
|
|
14553
14565
|
readonly metricQueryPayload: {
|
|
14554
14566
|
id: string;
|
|
14555
14567
|
type: import("../..").MericoMetricType;
|
|
@@ -4025,6 +4025,7 @@ export declare const useRenderPanelContext: () => {
|
|
|
4025
4025
|
readonly queries: any;
|
|
4026
4026
|
readonly inUse: any;
|
|
4027
4027
|
readonly dependencies: import("../utils").DependencyInfo[];
|
|
4028
|
+
readonly usedFilterKeySet: Set<string>;
|
|
4028
4029
|
readonly metricQueryPayload: {
|
|
4029
4030
|
id: string;
|
|
4030
4031
|
type: import('../model').MericoMetricType;
|
|
@@ -4370,6 +4371,7 @@ export declare const useRenderPanelContext: () => {
|
|
|
4370
4371
|
readonly queries: any;
|
|
4371
4372
|
readonly inUse: any;
|
|
4372
4373
|
readonly dependencies: import("../utils").DependencyInfo[];
|
|
4374
|
+
readonly usedFilterKeySet: Set<string>;
|
|
4373
4375
|
readonly metricQueryPayload: {
|
|
4374
4376
|
id: string;
|
|
4375
4377
|
type: import('../model').MericoMetricType;
|
|
@@ -5466,6 +5468,7 @@ export declare const useRenderPanelContext: () => {
|
|
|
5466
5468
|
readonly queries: any;
|
|
5467
5469
|
readonly inUse: any;
|
|
5468
5470
|
readonly dependencies: import("../utils").DependencyInfo[];
|
|
5471
|
+
readonly usedFilterKeySet: Set<string>;
|
|
5469
5472
|
readonly metricQueryPayload: {
|
|
5470
5473
|
id: string;
|
|
5471
5474
|
type: import('../model').MericoMetricType;
|
|
@@ -5811,6 +5814,7 @@ export declare const useRenderPanelContext: () => {
|
|
|
5811
5814
|
readonly queries: any;
|
|
5812
5815
|
readonly inUse: any;
|
|
5813
5816
|
readonly dependencies: import("../utils").DependencyInfo[];
|
|
5817
|
+
readonly usedFilterKeySet: Set<string>;
|
|
5814
5818
|
readonly metricQueryPayload: {
|
|
5815
5819
|
id: string;
|
|
5816
5820
|
type: import('../model').MericoMetricType;
|
|
@@ -6908,6 +6912,7 @@ export declare const useRenderPanelContext: () => {
|
|
|
6908
6912
|
readonly queries: any;
|
|
6909
6913
|
readonly inUse: any;
|
|
6910
6914
|
readonly dependencies: import("../utils").DependencyInfo[];
|
|
6915
|
+
readonly usedFilterKeySet: Set<string>;
|
|
6911
6916
|
readonly metricQueryPayload: {
|
|
6912
6917
|
id: string;
|
|
6913
6918
|
type: import('../model').MericoMetricType;
|
|
@@ -7253,6 +7258,7 @@ export declare const useRenderPanelContext: () => {
|
|
|
7253
7258
|
readonly queries: any;
|
|
7254
7259
|
readonly inUse: any;
|
|
7255
7260
|
readonly dependencies: import("../utils").DependencyInfo[];
|
|
7261
|
+
readonly usedFilterKeySet: Set<string>;
|
|
7256
7262
|
readonly metricQueryPayload: {
|
|
7257
7263
|
id: string;
|
|
7258
7264
|
type: import('../model').MericoMetricType;
|
|
@@ -11242,6 +11248,7 @@ export declare const useRenderPanelContext: () => {
|
|
|
11242
11248
|
readonly queries: any;
|
|
11243
11249
|
readonly inUse: any;
|
|
11244
11250
|
readonly dependencies: import("../utils").DependencyInfo[];
|
|
11251
|
+
readonly usedFilterKeySet: Set<string>;
|
|
11245
11252
|
readonly metricQueryPayload: {
|
|
11246
11253
|
id: string;
|
|
11247
11254
|
type: import('../model').MericoMetricType;
|
|
@@ -11587,6 +11594,7 @@ export declare const useRenderPanelContext: () => {
|
|
|
11587
11594
|
readonly queries: any;
|
|
11588
11595
|
readonly inUse: any;
|
|
11589
11596
|
readonly dependencies: import("../utils").DependencyInfo[];
|
|
11597
|
+
readonly usedFilterKeySet: Set<string>;
|
|
11590
11598
|
readonly metricQueryPayload: {
|
|
11591
11599
|
id: string;
|
|
11592
11600
|
type: import('../model').MericoMetricType;
|
|
@@ -12683,6 +12691,7 @@ export declare const useRenderPanelContext: () => {
|
|
|
12683
12691
|
readonly queries: any;
|
|
12684
12692
|
readonly inUse: any;
|
|
12685
12693
|
readonly dependencies: import("../utils").DependencyInfo[];
|
|
12694
|
+
readonly usedFilterKeySet: Set<string>;
|
|
12686
12695
|
readonly metricQueryPayload: {
|
|
12687
12696
|
id: string;
|
|
12688
12697
|
type: import('../model').MericoMetricType;
|
|
@@ -13028,6 +13037,7 @@ export declare const useRenderPanelContext: () => {
|
|
|
13028
13037
|
readonly queries: any;
|
|
13029
13038
|
readonly inUse: any;
|
|
13030
13039
|
readonly dependencies: import("../utils").DependencyInfo[];
|
|
13040
|
+
readonly usedFilterKeySet: Set<string>;
|
|
13031
13041
|
readonly metricQueryPayload: {
|
|
13032
13042
|
id: string;
|
|
13033
13043
|
type: import('../model').MericoMetricType;
|
|
@@ -14125,6 +14135,7 @@ export declare const useRenderPanelContext: () => {
|
|
|
14125
14135
|
readonly queries: any;
|
|
14126
14136
|
readonly inUse: any;
|
|
14127
14137
|
readonly dependencies: import("../utils").DependencyInfo[];
|
|
14138
|
+
readonly usedFilterKeySet: Set<string>;
|
|
14128
14139
|
readonly metricQueryPayload: {
|
|
14129
14140
|
id: string;
|
|
14130
14141
|
type: import('../model').MericoMetricType;
|
|
@@ -14470,6 +14481,7 @@ export declare const useRenderPanelContext: () => {
|
|
|
14470
14481
|
readonly queries: any;
|
|
14471
14482
|
readonly inUse: any;
|
|
14472
14483
|
readonly dependencies: import("../utils").DependencyInfo[];
|
|
14484
|
+
readonly usedFilterKeySet: Set<string>;
|
|
14473
14485
|
readonly metricQueryPayload: {
|
|
14474
14486
|
id: string;
|
|
14475
14487
|
type: import('../model').MericoMetricType;
|
|
@@ -19020,6 +19032,7 @@ export declare const useEditPanelContext: () => {
|
|
|
19020
19032
|
readonly queries: any;
|
|
19021
19033
|
readonly inUse: any;
|
|
19022
19034
|
readonly dependencies: import("../utils").DependencyInfo[];
|
|
19035
|
+
readonly usedFilterKeySet: Set<string>;
|
|
19023
19036
|
readonly metricQueryPayload: {
|
|
19024
19037
|
id: string;
|
|
19025
19038
|
type: import('../model').MericoMetricType;
|
|
@@ -19365,6 +19378,7 @@ export declare const useEditPanelContext: () => {
|
|
|
19365
19378
|
readonly queries: any;
|
|
19366
19379
|
readonly inUse: any;
|
|
19367
19380
|
readonly dependencies: import("../utils").DependencyInfo[];
|
|
19381
|
+
readonly usedFilterKeySet: Set<string>;
|
|
19368
19382
|
readonly metricQueryPayload: {
|
|
19369
19383
|
id: string;
|
|
19370
19384
|
type: import('../model').MericoMetricType;
|
|
@@ -20461,6 +20475,7 @@ export declare const useEditPanelContext: () => {
|
|
|
20461
20475
|
readonly queries: any;
|
|
20462
20476
|
readonly inUse: any;
|
|
20463
20477
|
readonly dependencies: import("../utils").DependencyInfo[];
|
|
20478
|
+
readonly usedFilterKeySet: Set<string>;
|
|
20464
20479
|
readonly metricQueryPayload: {
|
|
20465
20480
|
id: string;
|
|
20466
20481
|
type: import('../model').MericoMetricType;
|
|
@@ -20806,6 +20821,7 @@ export declare const useEditPanelContext: () => {
|
|
|
20806
20821
|
readonly queries: any;
|
|
20807
20822
|
readonly inUse: any;
|
|
20808
20823
|
readonly dependencies: import("../utils").DependencyInfo[];
|
|
20824
|
+
readonly usedFilterKeySet: Set<string>;
|
|
20809
20825
|
readonly metricQueryPayload: {
|
|
20810
20826
|
id: string;
|
|
20811
20827
|
type: import('../model').MericoMetricType;
|
|
@@ -21903,6 +21919,7 @@ export declare const useEditPanelContext: () => {
|
|
|
21903
21919
|
readonly queries: any;
|
|
21904
21920
|
readonly inUse: any;
|
|
21905
21921
|
readonly dependencies: import("../utils").DependencyInfo[];
|
|
21922
|
+
readonly usedFilterKeySet: Set<string>;
|
|
21906
21923
|
readonly metricQueryPayload: {
|
|
21907
21924
|
id: string;
|
|
21908
21925
|
type: import('../model').MericoMetricType;
|
|
@@ -22248,6 +22265,7 @@ export declare const useEditPanelContext: () => {
|
|
|
22248
22265
|
readonly queries: any;
|
|
22249
22266
|
readonly inUse: any;
|
|
22250
22267
|
readonly dependencies: import("../utils").DependencyInfo[];
|
|
22268
|
+
readonly usedFilterKeySet: Set<string>;
|
|
22251
22269
|
readonly metricQueryPayload: {
|
|
22252
22270
|
id: string;
|
|
22253
22271
|
type: import('../model').MericoMetricType;
|
|
@@ -26298,6 +26316,7 @@ export declare const useEditPanelContext: () => {
|
|
|
26298
26316
|
readonly queries: any;
|
|
26299
26317
|
readonly inUse: any;
|
|
26300
26318
|
readonly dependencies: import("../utils").DependencyInfo[];
|
|
26319
|
+
readonly usedFilterKeySet: Set<string>;
|
|
26301
26320
|
readonly metricQueryPayload: {
|
|
26302
26321
|
id: string;
|
|
26303
26322
|
type: import('../model').MericoMetricType;
|
|
@@ -26643,6 +26662,7 @@ export declare const useEditPanelContext: () => {
|
|
|
26643
26662
|
readonly queries: any;
|
|
26644
26663
|
readonly inUse: any;
|
|
26645
26664
|
readonly dependencies: import("../utils").DependencyInfo[];
|
|
26665
|
+
readonly usedFilterKeySet: Set<string>;
|
|
26646
26666
|
readonly metricQueryPayload: {
|
|
26647
26667
|
id: string;
|
|
26648
26668
|
type: import('../model').MericoMetricType;
|
|
@@ -27739,6 +27759,7 @@ export declare const useEditPanelContext: () => {
|
|
|
27739
27759
|
readonly queries: any;
|
|
27740
27760
|
readonly inUse: any;
|
|
27741
27761
|
readonly dependencies: import("../utils").DependencyInfo[];
|
|
27762
|
+
readonly usedFilterKeySet: Set<string>;
|
|
27742
27763
|
readonly metricQueryPayload: {
|
|
27743
27764
|
id: string;
|
|
27744
27765
|
type: import('../model').MericoMetricType;
|
|
@@ -28084,6 +28105,7 @@ export declare const useEditPanelContext: () => {
|
|
|
28084
28105
|
readonly queries: any;
|
|
28085
28106
|
readonly inUse: any;
|
|
28086
28107
|
readonly dependencies: import("../utils").DependencyInfo[];
|
|
28108
|
+
readonly usedFilterKeySet: Set<string>;
|
|
28087
28109
|
readonly metricQueryPayload: {
|
|
28088
28110
|
id: string;
|
|
28089
28111
|
type: import('../model').MericoMetricType;
|
|
@@ -29181,6 +29203,7 @@ export declare const useEditPanelContext: () => {
|
|
|
29181
29203
|
readonly queries: any;
|
|
29182
29204
|
readonly inUse: any;
|
|
29183
29205
|
readonly dependencies: import("../utils").DependencyInfo[];
|
|
29206
|
+
readonly usedFilterKeySet: Set<string>;
|
|
29184
29207
|
readonly metricQueryPayload: {
|
|
29185
29208
|
id: string;
|
|
29186
29209
|
type: import('../model').MericoMetricType;
|
|
@@ -29526,6 +29549,7 @@ export declare const useEditPanelContext: () => {
|
|
|
29526
29549
|
readonly queries: any;
|
|
29527
29550
|
readonly inUse: any;
|
|
29528
29551
|
readonly dependencies: import("../utils").DependencyInfo[];
|
|
29552
|
+
readonly usedFilterKeySet: Set<string>;
|
|
29529
29553
|
readonly metricQueryPayload: {
|
|
29530
29554
|
id: string;
|
|
29531
29555
|
type: import('../model').MericoMetricType;
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import { Instance, SnapshotIn, SnapshotOut } from 'mobx-state-tree';
|
|
2
|
+
import { IFilterMeta } from '../../../model';
|
|
3
|
+
export type FilterUsageType = {
|
|
4
|
+
filterID: string;
|
|
5
|
+
type: 'query';
|
|
6
|
+
type_label: 'query.label';
|
|
7
|
+
id: string;
|
|
8
|
+
label: string;
|
|
9
|
+
} | {
|
|
10
|
+
filterID: string;
|
|
11
|
+
type: 'view';
|
|
12
|
+
type_label: 'view.label';
|
|
13
|
+
id: string;
|
|
14
|
+
label: string;
|
|
15
|
+
} | {
|
|
16
|
+
filterID: string;
|
|
17
|
+
type: 'sql_snippet';
|
|
18
|
+
type_label: 'sql_snippet.label';
|
|
19
|
+
id: string;
|
|
20
|
+
label: string;
|
|
21
|
+
};
|
|
22
|
+
export declare const FilterModel: import("mobx-state-tree").IModelType<{
|
|
23
|
+
id: import("mobx-state-tree").ISimpleType<string>;
|
|
24
|
+
key: import("mobx-state-tree").ISimpleType<string>;
|
|
25
|
+
label: import("mobx-state-tree").ISimpleType<string>;
|
|
26
|
+
order: import("mobx-state-tree").ISimpleType<number>;
|
|
27
|
+
visibleInViewsIDs: import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>;
|
|
28
|
+
auto_submit: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
29
|
+
default_value_func: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
30
|
+
type: import("mobx-state-tree").ISimpleType<import('../../../model').DashboardFilterType>;
|
|
31
|
+
config: import("mobx-state-tree").ITypeUnion<any, {
|
|
32
|
+
default_value: (string | null)[];
|
|
33
|
+
required: boolean;
|
|
34
|
+
_name: "date-range";
|
|
35
|
+
clearable: boolean;
|
|
36
|
+
inputFormat: string;
|
|
37
|
+
default_shortcut: string;
|
|
38
|
+
max_days: number;
|
|
39
|
+
allowSingleDateInRange: boolean;
|
|
40
|
+
} | import("mobx-state-tree").ModelSnapshotType<{
|
|
41
|
+
_name: import("mobx-state-tree").ISimpleType<"multi-select">;
|
|
42
|
+
min_width: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
43
|
+
default_value: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
44
|
+
default_value_mode: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<import('../../../model').DefaultValueMode>, [undefined]>;
|
|
45
|
+
} & {
|
|
46
|
+
static_options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
|
|
47
|
+
label: import("mobx-state-tree").ISimpleType<string>;
|
|
48
|
+
value: import("mobx-state-tree").ISimpleType<string>;
|
|
49
|
+
}, {
|
|
50
|
+
setLabel(label: string): void;
|
|
51
|
+
setValue(value: string): void;
|
|
52
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>;
|
|
53
|
+
options_query_id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
54
|
+
default_selection_count: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
55
|
+
required: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
56
|
+
}> | import("mobx-state-tree").ModelSnapshotType<{
|
|
57
|
+
_name: import("mobx-state-tree").ISimpleType<"tree-select">;
|
|
58
|
+
default_value: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
59
|
+
treeCheckStrictly: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
60
|
+
} & {
|
|
61
|
+
min_width: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
62
|
+
default_value_mode: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<import('../../../model').DefaultValueMode>, [undefined]>;
|
|
63
|
+
} & {
|
|
64
|
+
static_options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
|
|
65
|
+
label: import("mobx-state-tree").ISimpleType<string>;
|
|
66
|
+
value: import("mobx-state-tree").ISimpleType<string>;
|
|
67
|
+
}, {
|
|
68
|
+
setLabel(label: string): void;
|
|
69
|
+
setValue(value: string): void;
|
|
70
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>;
|
|
71
|
+
options_query_id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
72
|
+
default_selection_count: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
73
|
+
required: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
74
|
+
}> | import("mobx-state-tree").ModelSnapshotType<{
|
|
75
|
+
_name: import("mobx-state-tree").ISimpleType<"tree-single-select">;
|
|
76
|
+
default_value: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
77
|
+
} & {
|
|
78
|
+
min_width: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
79
|
+
default_value_mode: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<import('../../../model').DefaultValueMode>, [undefined]>;
|
|
80
|
+
} & {
|
|
81
|
+
static_options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
|
|
82
|
+
label: import("mobx-state-tree").ISimpleType<string>;
|
|
83
|
+
value: import("mobx-state-tree").ISimpleType<string>;
|
|
84
|
+
}, {
|
|
85
|
+
setLabel(label: string): void;
|
|
86
|
+
setValue(value: string): void;
|
|
87
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>;
|
|
88
|
+
options_query_id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
89
|
+
default_selection_count: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
90
|
+
required: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
91
|
+
}> | import("mobx-state-tree").ModelSnapshotType<{
|
|
92
|
+
_name: import("mobx-state-tree").ISimpleType<"text-input">;
|
|
93
|
+
required: import("mobx-state-tree").ISimpleType<boolean>;
|
|
94
|
+
default_value: import("mobx-state-tree").ISimpleType<string>;
|
|
95
|
+
}> | import("mobx-state-tree").ModelSnapshotType<{
|
|
96
|
+
_name: import("mobx-state-tree").ISimpleType<"checkbox">;
|
|
97
|
+
description: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
98
|
+
default_value: import("mobx-state-tree").ISimpleType<boolean>;
|
|
99
|
+
}> | import("mobx-state-tree").ModelSnapshotType<{
|
|
100
|
+
_name: import("mobx-state-tree").ISimpleType<"select">;
|
|
101
|
+
default_value: import("mobx-state-tree").ISimpleType<string>;
|
|
102
|
+
width: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
103
|
+
clearable: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
104
|
+
} & {
|
|
105
|
+
static_options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
|
|
106
|
+
label: import("mobx-state-tree").ISimpleType<string>;
|
|
107
|
+
value: import("mobx-state-tree").ISimpleType<string>;
|
|
108
|
+
}, {
|
|
109
|
+
setLabel(label: string): void;
|
|
110
|
+
setValue(value: string): void;
|
|
111
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>;
|
|
112
|
+
options_query_id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
113
|
+
default_selection_count: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
114
|
+
required: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
115
|
+
}>, any>;
|
|
116
|
+
}, {
|
|
117
|
+
readonly contentModel: any;
|
|
118
|
+
readonly filters: any;
|
|
119
|
+
readonly value: any;
|
|
120
|
+
readonly plainDefaultValue: any;
|
|
121
|
+
readonly usingDefaultValue: boolean;
|
|
122
|
+
readonly usingDefaultValueFunc: boolean;
|
|
123
|
+
readonly formattedDefaultValue: any;
|
|
124
|
+
readonly auto_submit_supported: boolean;
|
|
125
|
+
} & {
|
|
126
|
+
readonly json: {
|
|
127
|
+
id: string;
|
|
128
|
+
key: string;
|
|
129
|
+
type: import('../../../model').DashboardFilterType;
|
|
130
|
+
label: string;
|
|
131
|
+
order: number;
|
|
132
|
+
config: any;
|
|
133
|
+
auto_submit: boolean;
|
|
134
|
+
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>>>;
|
|
135
|
+
default_value_func: string;
|
|
136
|
+
};
|
|
137
|
+
readonly visibleInViewsIDSet: Set<string>;
|
|
138
|
+
readonly should_auto_submit: boolean;
|
|
139
|
+
requiredAndPass(value: any): any;
|
|
140
|
+
} & {
|
|
141
|
+
setKey(key: string): void;
|
|
142
|
+
setValue(value: any): void;
|
|
143
|
+
setLabel(label: string): void;
|
|
144
|
+
setOrder(order: string | number): void;
|
|
145
|
+
setType(type: string | null): void;
|
|
146
|
+
setVisibleInViewsIDs(ids: string[]): void;
|
|
147
|
+
setAutoSubmit(v: boolean): void;
|
|
148
|
+
setDefaultValueFunc(v: string): void;
|
|
149
|
+
} & {
|
|
150
|
+
readonly usages: FilterUsageType[];
|
|
151
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
152
|
+
export type FilterModelInstance = Instance<typeof FilterModel>;
|
|
153
|
+
export type FilterModelSnapshotIn = SnapshotIn<FilterModelInstance>;
|
|
154
|
+
export type FilterModelSnapshotOut = SnapshotOut<FilterModelInstance>;
|
|
155
|
+
export interface IFilterModel extends IFilterMeta {
|
|
156
|
+
usages: FilterUsageType[];
|
|
157
|
+
}
|