@devtable/dashboard 6.15.1 → 6.17.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/api-caller/index.d.ts +1 -7
- package/dist/api-caller/request.d.ts +1 -1
- package/dist/dashboard.es.js +9447 -7863
- package/dist/dashboard.umd.js +64 -42
- package/dist/main/use-panel-full-screen.d.ts +12 -0
- package/dist/model/queries/index.d.ts +15 -0
- package/dist/model/queries/query.d.ts +3 -0
- package/dist/model/views/view/index.d.ts +54 -0
- package/dist/model/views/view/panels/index.d.ts +18 -0
- package/dist/model/views/view/panels/panel.d.ts +6 -0
- package/dist/plugins/plugin-context.d.ts +12 -0
- package/dist/plugins/viz-components/button/type.d.ts +2 -0
- package/dist/plugins/viz-components/cartesian/panel/stats/index.d.ts +1 -1
- package/dist/plugins/viz-components/scatter-chart/editors/reference-lines/index.d.ts +11 -0
- package/dist/plugins/viz-components/scatter-chart/editors/reference-lines/reference-line.d.ts +15 -0
- package/dist/plugins/viz-components/scatter-chart/editors/scatter/index.d.ts +10 -0
- package/dist/plugins/viz-components/scatter-chart/editors/scatter/scatter-size-select/dynamic-size-function-editor.d.ts +8 -0
- package/dist/plugins/viz-components/scatter-chart/editors/scatter/scatter-size-select/dynamic.d.ts +9 -0
- package/dist/plugins/viz-components/scatter-chart/editors/scatter/scatter-size-select/get-echarts-symbol-size.d.ts +3 -0
- package/dist/plugins/viz-components/scatter-chart/editors/scatter/scatter-size-select/index.d.ts +11 -0
- package/dist/plugins/viz-components/scatter-chart/editors/scatter/scatter-size-select/static.d.ts +8 -0
- package/dist/plugins/viz-components/scatter-chart/editors/scatter/scatter-size-select/types.d.ts +13 -0
- package/dist/plugins/viz-components/scatter-chart/editors/stats/index.d.ts +10 -0
- package/dist/plugins/viz-components/scatter-chart/editors/x-axis/index.d.ts +10 -0
- package/dist/plugins/viz-components/scatter-chart/editors/x-axis/x-axis-label-formatter/function-editor.d.ts +8 -0
- package/dist/plugins/viz-components/scatter-chart/editors/x-axis/x-axis-label-formatter/get-echarts-x-axis-tick-label.d.ts +2 -0
- package/dist/plugins/viz-components/scatter-chart/editors/x-axis/x-axis-label-formatter/index.d.ts +10 -0
- package/dist/plugins/viz-components/scatter-chart/editors/x-axis/x-axis-label-formatter/types.d.ts +8 -0
- package/dist/plugins/viz-components/scatter-chart/editors/y-axes/index.d.ts +9 -0
- package/dist/plugins/viz-components/scatter-chart/editors/y-axes/y-axis.d.ts +10 -0
- package/dist/plugins/viz-components/scatter-chart/index.d.ts +2 -0
- package/dist/plugins/viz-components/scatter-chart/option/grid.d.ts +5 -0
- package/dist/plugins/viz-components/scatter-chart/option/index.d.ts +3 -0
- package/dist/plugins/viz-components/scatter-chart/option/legend.d.ts +1 -0
- package/dist/plugins/viz-components/scatter-chart/option/series.d.ts +4 -0
- package/dist/plugins/viz-components/scatter-chart/option/tooltip.d.ts +5 -0
- package/dist/plugins/viz-components/scatter-chart/option/x-axis.d.ts +15 -0
- package/dist/plugins/viz-components/scatter-chart/option/y-axis.d.ts +22 -0
- package/dist/plugins/viz-components/scatter-chart/triggers/click-scatter-chart.d.ts +7 -0
- package/dist/plugins/viz-components/scatter-chart/triggers/index.d.ts +1 -0
- package/dist/plugins/viz-components/scatter-chart/type.d.ts +30 -0
- package/dist/plugins/viz-components/scatter-chart/viz-scatter-chart-panel.d.ts +3 -0
- package/dist/plugins/viz-components/scatter-chart/viz-scatter-chart.d.ts +3 -0
- package/dist/plugins/viz-components/stats/viz-stats.d.ts +3 -1
- package/package.json +1 -1
|
@@ -391,12 +391,15 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
391
391
|
};
|
|
392
392
|
} & {
|
|
393
393
|
readonly formattedSQL: any;
|
|
394
|
+
} & {
|
|
395
|
+
controller: AbortController;
|
|
394
396
|
} & {
|
|
395
397
|
setName(name: string): void;
|
|
396
398
|
setKey(key: string): void;
|
|
397
399
|
setType(type: import("../model/queries/types").DataSourceType): void;
|
|
398
400
|
setSQL(sql: string): void;
|
|
399
401
|
fetchData: () => Promise<void>;
|
|
402
|
+
beforeDestroy(): void;
|
|
400
403
|
} & {
|
|
401
404
|
afterCreate(): void;
|
|
402
405
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
@@ -420,12 +423,15 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
420
423
|
};
|
|
421
424
|
} & {
|
|
422
425
|
readonly formattedSQL: any;
|
|
426
|
+
} & {
|
|
427
|
+
controller: AbortController;
|
|
423
428
|
} & {
|
|
424
429
|
setName(name: string): void;
|
|
425
430
|
setKey(key: string): void;
|
|
426
431
|
setType(type: import("../model/queries/types").DataSourceType): void;
|
|
427
432
|
setSQL(sql: string): void;
|
|
428
433
|
fetchData: () => Promise<void>;
|
|
434
|
+
beforeDestroy(): void;
|
|
429
435
|
} & {
|
|
430
436
|
afterCreate(): void;
|
|
431
437
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
@@ -1155,12 +1161,15 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
1155
1161
|
};
|
|
1156
1162
|
} & {
|
|
1157
1163
|
readonly formattedSQL: any;
|
|
1164
|
+
} & {
|
|
1165
|
+
controller: AbortController;
|
|
1158
1166
|
} & {
|
|
1159
1167
|
setName(name: string): void;
|
|
1160
1168
|
setKey(key: string): void;
|
|
1161
1169
|
setType(type: import("../model/queries/types").DataSourceType): void;
|
|
1162
1170
|
setSQL(sql: string): void;
|
|
1163
1171
|
fetchData: () => Promise<void>;
|
|
1172
|
+
beforeDestroy(): void;
|
|
1164
1173
|
} & {
|
|
1165
1174
|
afterCreate(): void;
|
|
1166
1175
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
@@ -1184,12 +1193,15 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
1184
1193
|
};
|
|
1185
1194
|
} & {
|
|
1186
1195
|
readonly formattedSQL: any;
|
|
1196
|
+
} & {
|
|
1197
|
+
controller: AbortController;
|
|
1187
1198
|
} & {
|
|
1188
1199
|
setName(name: string): void;
|
|
1189
1200
|
setKey(key: string): void;
|
|
1190
1201
|
setType(type: import("../model/queries/types").DataSourceType): void;
|
|
1191
1202
|
setSQL(sql: string): void;
|
|
1192
1203
|
fetchData: () => Promise<void>;
|
|
1204
|
+
beforeDestroy(): void;
|
|
1193
1205
|
} & {
|
|
1194
1206
|
afterCreate(): void;
|
|
1195
1207
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
@@ -21,12 +21,15 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
21
21
|
};
|
|
22
22
|
} & {
|
|
23
23
|
readonly formattedSQL: any;
|
|
24
|
+
} & {
|
|
25
|
+
controller: AbortController;
|
|
24
26
|
} & {
|
|
25
27
|
setName(name: string): void;
|
|
26
28
|
setKey(key: string): void;
|
|
27
29
|
setType(type: import("./types").DataSourceType): void;
|
|
28
30
|
setSQL(sql: string): void;
|
|
29
31
|
fetchData: () => Promise<void>;
|
|
32
|
+
beforeDestroy(): void;
|
|
30
33
|
} & {
|
|
31
34
|
afterCreate(): void;
|
|
32
35
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>;
|
|
@@ -52,12 +55,15 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
52
55
|
};
|
|
53
56
|
} & {
|
|
54
57
|
readonly formattedSQL: any;
|
|
58
|
+
} & {
|
|
59
|
+
controller: AbortController;
|
|
55
60
|
} & {
|
|
56
61
|
setName(name: string): void;
|
|
57
62
|
setKey(key: string): void;
|
|
58
63
|
setType(type: import("./types").DataSourceType): void;
|
|
59
64
|
setSQL(sql: string): void;
|
|
60
65
|
fetchData: () => Promise<void>;
|
|
66
|
+
beforeDestroy(): void;
|
|
61
67
|
} & {
|
|
62
68
|
afterCreate(): void;
|
|
63
69
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
@@ -81,12 +87,15 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
81
87
|
};
|
|
82
88
|
} & {
|
|
83
89
|
readonly formattedSQL: any;
|
|
90
|
+
} & {
|
|
91
|
+
controller: AbortController;
|
|
84
92
|
} & {
|
|
85
93
|
setName(name: string): void;
|
|
86
94
|
setKey(key: string): void;
|
|
87
95
|
setType(type: import("./types").DataSourceType): void;
|
|
88
96
|
setSQL(sql: string): void;
|
|
89
97
|
fetchData: () => Promise<void>;
|
|
98
|
+
beforeDestroy(): void;
|
|
90
99
|
} & {
|
|
91
100
|
afterCreate(): void;
|
|
92
101
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
@@ -128,12 +137,15 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
128
137
|
};
|
|
129
138
|
} & {
|
|
130
139
|
readonly formattedSQL: any;
|
|
140
|
+
} & {
|
|
141
|
+
controller: AbortController;
|
|
131
142
|
} & {
|
|
132
143
|
setName(name: string): void;
|
|
133
144
|
setKey(key: string): void;
|
|
134
145
|
setType(type: import("./types").DataSourceType): void;
|
|
135
146
|
setSQL(sql: string): void;
|
|
136
147
|
fetchData: () => Promise<void>;
|
|
148
|
+
beforeDestroy(): void;
|
|
137
149
|
} & {
|
|
138
150
|
afterCreate(): void;
|
|
139
151
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
@@ -157,12 +169,15 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
157
169
|
};
|
|
158
170
|
} & {
|
|
159
171
|
readonly formattedSQL: any;
|
|
172
|
+
} & {
|
|
173
|
+
controller: AbortController;
|
|
160
174
|
} & {
|
|
161
175
|
setName(name: string): void;
|
|
162
176
|
setKey(key: string): void;
|
|
163
177
|
setType(type: import("./types").DataSourceType): void;
|
|
164
178
|
setSQL(sql: string): void;
|
|
165
179
|
fetchData: () => Promise<void>;
|
|
180
|
+
beforeDestroy(): void;
|
|
166
181
|
} & {
|
|
167
182
|
afterCreate(): void;
|
|
168
183
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined): void;
|
|
@@ -21,12 +21,15 @@ export declare const QueryModel: import("mobx-state-tree").IModelType<{
|
|
|
21
21
|
};
|
|
22
22
|
} & {
|
|
23
23
|
readonly formattedSQL: any;
|
|
24
|
+
} & {
|
|
25
|
+
controller: AbortController;
|
|
24
26
|
} & {
|
|
25
27
|
setName(name: string): void;
|
|
26
28
|
setKey(key: string): void;
|
|
27
29
|
setType(type: DataSourceType): void;
|
|
28
30
|
setSQL(sql: string): void;
|
|
29
31
|
fetchData: () => Promise<void>;
|
|
32
|
+
beforeDestroy(): void;
|
|
30
33
|
} & {
|
|
31
34
|
afterCreate(): void;
|
|
32
35
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
@@ -211,12 +211,15 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
211
211
|
};
|
|
212
212
|
} & {
|
|
213
213
|
readonly formattedSQL: any;
|
|
214
|
+
} & {
|
|
215
|
+
controller: AbortController;
|
|
214
216
|
} & {
|
|
215
217
|
setName(name: string): void;
|
|
216
218
|
setKey(key: string): void;
|
|
217
219
|
setType(type: import("../../queries/types").DataSourceType): void;
|
|
218
220
|
setSQL(sql: string): void;
|
|
219
221
|
fetchData: () => Promise<void>;
|
|
222
|
+
beforeDestroy(): void;
|
|
220
223
|
} & {
|
|
221
224
|
afterCreate(): void;
|
|
222
225
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
@@ -240,12 +243,15 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
240
243
|
};
|
|
241
244
|
} & {
|
|
242
245
|
readonly formattedSQL: any;
|
|
246
|
+
} & {
|
|
247
|
+
controller: AbortController;
|
|
243
248
|
} & {
|
|
244
249
|
setName(name: string): void;
|
|
245
250
|
setKey(key: string): void;
|
|
246
251
|
setType(type: import("../../queries/types").DataSourceType): void;
|
|
247
252
|
setSQL(sql: string): void;
|
|
248
253
|
fetchData: () => Promise<void>;
|
|
254
|
+
beforeDestroy(): void;
|
|
249
255
|
} & {
|
|
250
256
|
afterCreate(): void;
|
|
251
257
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
@@ -1257,12 +1263,15 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
1257
1263
|
};
|
|
1258
1264
|
} & {
|
|
1259
1265
|
readonly formattedSQL: any;
|
|
1266
|
+
} & {
|
|
1267
|
+
controller: AbortController;
|
|
1260
1268
|
} & {
|
|
1261
1269
|
setName(name: string): void;
|
|
1262
1270
|
setKey(key: string): void;
|
|
1263
1271
|
setType(type: import("../../queries/types").DataSourceType): void;
|
|
1264
1272
|
setSQL(sql: string): void;
|
|
1265
1273
|
fetchData: () => Promise<void>;
|
|
1274
|
+
beforeDestroy(): void;
|
|
1266
1275
|
} & {
|
|
1267
1276
|
afterCreate(): void;
|
|
1268
1277
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
@@ -1286,12 +1295,15 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
1286
1295
|
};
|
|
1287
1296
|
} & {
|
|
1288
1297
|
readonly formattedSQL: any;
|
|
1298
|
+
} & {
|
|
1299
|
+
controller: AbortController;
|
|
1289
1300
|
} & {
|
|
1290
1301
|
setName(name: string): void;
|
|
1291
1302
|
setKey(key: string): void;
|
|
1292
1303
|
setType(type: import("../../queries/types").DataSourceType): void;
|
|
1293
1304
|
setSQL(sql: string): void;
|
|
1294
1305
|
fetchData: () => Promise<void>;
|
|
1306
|
+
beforeDestroy(): void;
|
|
1295
1307
|
} & {
|
|
1296
1308
|
afterCreate(): void;
|
|
1297
1309
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
@@ -2021,12 +2033,15 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
2021
2033
|
};
|
|
2022
2034
|
} & {
|
|
2023
2035
|
readonly formattedSQL: any;
|
|
2036
|
+
} & {
|
|
2037
|
+
controller: AbortController;
|
|
2024
2038
|
} & {
|
|
2025
2039
|
setName(name: string): void;
|
|
2026
2040
|
setKey(key: string): void;
|
|
2027
2041
|
setType(type: import("../../queries/types").DataSourceType): void;
|
|
2028
2042
|
setSQL(sql: string): void;
|
|
2029
2043
|
fetchData: () => Promise<void>;
|
|
2044
|
+
beforeDestroy(): void;
|
|
2030
2045
|
} & {
|
|
2031
2046
|
afterCreate(): void;
|
|
2032
2047
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
@@ -2050,12 +2065,15 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
2050
2065
|
};
|
|
2051
2066
|
} & {
|
|
2052
2067
|
readonly formattedSQL: any;
|
|
2068
|
+
} & {
|
|
2069
|
+
controller: AbortController;
|
|
2053
2070
|
} & {
|
|
2054
2071
|
setName(name: string): void;
|
|
2055
2072
|
setKey(key: string): void;
|
|
2056
2073
|
setType(type: import("../../queries/types").DataSourceType): void;
|
|
2057
2074
|
setSQL(sql: string): void;
|
|
2058
2075
|
fetchData: () => Promise<void>;
|
|
2076
|
+
beforeDestroy(): void;
|
|
2059
2077
|
} & {
|
|
2060
2078
|
afterCreate(): void;
|
|
2061
2079
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
@@ -2970,12 +2988,15 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
2970
2988
|
};
|
|
2971
2989
|
} & {
|
|
2972
2990
|
readonly formattedSQL: any;
|
|
2991
|
+
} & {
|
|
2992
|
+
controller: AbortController;
|
|
2973
2993
|
} & {
|
|
2974
2994
|
setName(name: string): void;
|
|
2975
2995
|
setKey(key: string): void;
|
|
2976
2996
|
setType(type: import("../../queries/types").DataSourceType): void;
|
|
2977
2997
|
setSQL(sql: string): void;
|
|
2978
2998
|
fetchData: () => Promise<void>;
|
|
2999
|
+
beforeDestroy(): void;
|
|
2979
3000
|
} & {
|
|
2980
3001
|
afterCreate(): void;
|
|
2981
3002
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
@@ -2999,12 +3020,15 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
2999
3020
|
};
|
|
3000
3021
|
} & {
|
|
3001
3022
|
readonly formattedSQL: any;
|
|
3023
|
+
} & {
|
|
3024
|
+
controller: AbortController;
|
|
3002
3025
|
} & {
|
|
3003
3026
|
setName(name: string): void;
|
|
3004
3027
|
setKey(key: string): void;
|
|
3005
3028
|
setType(type: import("../../queries/types").DataSourceType): void;
|
|
3006
3029
|
setSQL(sql: string): void;
|
|
3007
3030
|
fetchData: () => Promise<void>;
|
|
3031
|
+
beforeDestroy(): void;
|
|
3008
3032
|
} & {
|
|
3009
3033
|
afterCreate(): void;
|
|
3010
3034
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
@@ -3734,12 +3758,15 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
3734
3758
|
};
|
|
3735
3759
|
} & {
|
|
3736
3760
|
readonly formattedSQL: any;
|
|
3761
|
+
} & {
|
|
3762
|
+
controller: AbortController;
|
|
3737
3763
|
} & {
|
|
3738
3764
|
setName(name: string): void;
|
|
3739
3765
|
setKey(key: string): void;
|
|
3740
3766
|
setType(type: import("../../queries/types").DataSourceType): void;
|
|
3741
3767
|
setSQL(sql: string): void;
|
|
3742
3768
|
fetchData: () => Promise<void>;
|
|
3769
|
+
beforeDestroy(): void;
|
|
3743
3770
|
} & {
|
|
3744
3771
|
afterCreate(): void;
|
|
3745
3772
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
@@ -3763,12 +3790,15 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
3763
3790
|
};
|
|
3764
3791
|
} & {
|
|
3765
3792
|
readonly formattedSQL: any;
|
|
3793
|
+
} & {
|
|
3794
|
+
controller: AbortController;
|
|
3766
3795
|
} & {
|
|
3767
3796
|
setName(name: string): void;
|
|
3768
3797
|
setKey(key: string): void;
|
|
3769
3798
|
setType(type: import("../../queries/types").DataSourceType): void;
|
|
3770
3799
|
setSQL(sql: string): void;
|
|
3771
3800
|
fetchData: () => Promise<void>;
|
|
3801
|
+
beforeDestroy(): void;
|
|
3772
3802
|
} & {
|
|
3773
3803
|
afterCreate(): void;
|
|
3774
3804
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
@@ -4683,12 +4713,15 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
4683
4713
|
};
|
|
4684
4714
|
} & {
|
|
4685
4715
|
readonly formattedSQL: any;
|
|
4716
|
+
} & {
|
|
4717
|
+
controller: AbortController;
|
|
4686
4718
|
} & {
|
|
4687
4719
|
setName(name: string): void;
|
|
4688
4720
|
setKey(key: string): void;
|
|
4689
4721
|
setType(type: import("../../queries/types").DataSourceType): void;
|
|
4690
4722
|
setSQL(sql: string): void;
|
|
4691
4723
|
fetchData: () => Promise<void>;
|
|
4724
|
+
beforeDestroy(): void;
|
|
4692
4725
|
} & {
|
|
4693
4726
|
afterCreate(): void;
|
|
4694
4727
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
@@ -4712,12 +4745,15 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
4712
4745
|
};
|
|
4713
4746
|
} & {
|
|
4714
4747
|
readonly formattedSQL: any;
|
|
4748
|
+
} & {
|
|
4749
|
+
controller: AbortController;
|
|
4715
4750
|
} & {
|
|
4716
4751
|
setName(name: string): void;
|
|
4717
4752
|
setKey(key: string): void;
|
|
4718
4753
|
setType(type: import("../../queries/types").DataSourceType): void;
|
|
4719
4754
|
setSQL(sql: string): void;
|
|
4720
4755
|
fetchData: () => Promise<void>;
|
|
4756
|
+
beforeDestroy(): void;
|
|
4721
4757
|
} & {
|
|
4722
4758
|
afterCreate(): void;
|
|
4723
4759
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
@@ -5447,12 +5483,15 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
5447
5483
|
};
|
|
5448
5484
|
} & {
|
|
5449
5485
|
readonly formattedSQL: any;
|
|
5486
|
+
} & {
|
|
5487
|
+
controller: AbortController;
|
|
5450
5488
|
} & {
|
|
5451
5489
|
setName(name: string): void;
|
|
5452
5490
|
setKey(key: string): void;
|
|
5453
5491
|
setType(type: import("../../queries/types").DataSourceType): void;
|
|
5454
5492
|
setSQL(sql: string): void;
|
|
5455
5493
|
fetchData: () => Promise<void>;
|
|
5494
|
+
beforeDestroy(): void;
|
|
5456
5495
|
} & {
|
|
5457
5496
|
afterCreate(): void;
|
|
5458
5497
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
@@ -5476,12 +5515,15 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
5476
5515
|
};
|
|
5477
5516
|
} & {
|
|
5478
5517
|
readonly formattedSQL: any;
|
|
5518
|
+
} & {
|
|
5519
|
+
controller: AbortController;
|
|
5479
5520
|
} & {
|
|
5480
5521
|
setName(name: string): void;
|
|
5481
5522
|
setKey(key: string): void;
|
|
5482
5523
|
setType(type: import("../../queries/types").DataSourceType): void;
|
|
5483
5524
|
setSQL(sql: string): void;
|
|
5484
5525
|
fetchData: () => Promise<void>;
|
|
5526
|
+
beforeDestroy(): void;
|
|
5485
5527
|
} & {
|
|
5486
5528
|
afterCreate(): void;
|
|
5487
5529
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
@@ -6398,12 +6440,15 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
6398
6440
|
};
|
|
6399
6441
|
} & {
|
|
6400
6442
|
readonly formattedSQL: any;
|
|
6443
|
+
} & {
|
|
6444
|
+
controller: AbortController;
|
|
6401
6445
|
} & {
|
|
6402
6446
|
setName(name: string): void;
|
|
6403
6447
|
setKey(key: string): void;
|
|
6404
6448
|
setType(type: import("../../queries/types").DataSourceType): void;
|
|
6405
6449
|
setSQL(sql: string): void;
|
|
6406
6450
|
fetchData: () => Promise<void>;
|
|
6451
|
+
beforeDestroy(): void;
|
|
6407
6452
|
} & {
|
|
6408
6453
|
afterCreate(): void;
|
|
6409
6454
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
@@ -6427,12 +6472,15 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
6427
6472
|
};
|
|
6428
6473
|
} & {
|
|
6429
6474
|
readonly formattedSQL: any;
|
|
6475
|
+
} & {
|
|
6476
|
+
controller: AbortController;
|
|
6430
6477
|
} & {
|
|
6431
6478
|
setName(name: string): void;
|
|
6432
6479
|
setKey(key: string): void;
|
|
6433
6480
|
setType(type: import("../../queries/types").DataSourceType): void;
|
|
6434
6481
|
setSQL(sql: string): void;
|
|
6435
6482
|
fetchData: () => Promise<void>;
|
|
6483
|
+
beforeDestroy(): void;
|
|
6436
6484
|
} & {
|
|
6437
6485
|
afterCreate(): void;
|
|
6438
6486
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
@@ -7162,12 +7210,15 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
7162
7210
|
};
|
|
7163
7211
|
} & {
|
|
7164
7212
|
readonly formattedSQL: any;
|
|
7213
|
+
} & {
|
|
7214
|
+
controller: AbortController;
|
|
7165
7215
|
} & {
|
|
7166
7216
|
setName(name: string): void;
|
|
7167
7217
|
setKey(key: string): void;
|
|
7168
7218
|
setType(type: import("../../queries/types").DataSourceType): void;
|
|
7169
7219
|
setSQL(sql: string): void;
|
|
7170
7220
|
fetchData: () => Promise<void>;
|
|
7221
|
+
beforeDestroy(): void;
|
|
7171
7222
|
} & {
|
|
7172
7223
|
afterCreate(): void;
|
|
7173
7224
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
@@ -7191,12 +7242,15 @@ export declare const ViewModel: import("mobx-state-tree").IModelType<{
|
|
|
7191
7242
|
};
|
|
7192
7243
|
} & {
|
|
7193
7244
|
readonly formattedSQL: any;
|
|
7245
|
+
} & {
|
|
7246
|
+
controller: AbortController;
|
|
7194
7247
|
} & {
|
|
7195
7248
|
setName(name: string): void;
|
|
7196
7249
|
setKey(key: string): void;
|
|
7197
7250
|
setType(type: import("../../queries/types").DataSourceType): void;
|
|
7198
7251
|
setSQL(sql: string): void;
|
|
7199
7252
|
fetchData: () => Promise<void>;
|
|
7253
|
+
beforeDestroy(): void;
|
|
7200
7254
|
} & {
|
|
7201
7255
|
afterCreate(): void;
|
|
7202
7256
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
@@ -205,12 +205,15 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
205
205
|
};
|
|
206
206
|
} & {
|
|
207
207
|
readonly formattedSQL: any;
|
|
208
|
+
} & {
|
|
209
|
+
controller: AbortController;
|
|
208
210
|
} & {
|
|
209
211
|
setName(name: string): void;
|
|
210
212
|
setKey(key: string): void;
|
|
211
213
|
setType(type: import("../../../queries/types").DataSourceType): void;
|
|
212
214
|
setSQL(sql: string): void;
|
|
213
215
|
fetchData: () => Promise<void>;
|
|
216
|
+
beforeDestroy(): void;
|
|
214
217
|
} & {
|
|
215
218
|
afterCreate(): void;
|
|
216
219
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
@@ -234,12 +237,15 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
234
237
|
};
|
|
235
238
|
} & {
|
|
236
239
|
readonly formattedSQL: any;
|
|
240
|
+
} & {
|
|
241
|
+
controller: AbortController;
|
|
237
242
|
} & {
|
|
238
243
|
setName(name: string): void;
|
|
239
244
|
setKey(key: string): void;
|
|
240
245
|
setType(type: import("../../../queries/types").DataSourceType): void;
|
|
241
246
|
setSQL(sql: string): void;
|
|
242
247
|
fetchData: () => Promise<void>;
|
|
248
|
+
beforeDestroy(): void;
|
|
243
249
|
} & {
|
|
244
250
|
afterCreate(): void;
|
|
245
251
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
@@ -1251,12 +1257,15 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
1251
1257
|
};
|
|
1252
1258
|
} & {
|
|
1253
1259
|
readonly formattedSQL: any;
|
|
1260
|
+
} & {
|
|
1261
|
+
controller: AbortController;
|
|
1254
1262
|
} & {
|
|
1255
1263
|
setName(name: string): void;
|
|
1256
1264
|
setKey(key: string): void;
|
|
1257
1265
|
setType(type: import("../../../queries/types").DataSourceType): void;
|
|
1258
1266
|
setSQL(sql: string): void;
|
|
1259
1267
|
fetchData: () => Promise<void>;
|
|
1268
|
+
beforeDestroy(): void;
|
|
1260
1269
|
} & {
|
|
1261
1270
|
afterCreate(): void;
|
|
1262
1271
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
@@ -1280,12 +1289,15 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
1280
1289
|
};
|
|
1281
1290
|
} & {
|
|
1282
1291
|
readonly formattedSQL: any;
|
|
1292
|
+
} & {
|
|
1293
|
+
controller: AbortController;
|
|
1283
1294
|
} & {
|
|
1284
1295
|
setName(name: string): void;
|
|
1285
1296
|
setKey(key: string): void;
|
|
1286
1297
|
setType(type: import("../../../queries/types").DataSourceType): void;
|
|
1287
1298
|
setSQL(sql: string): void;
|
|
1288
1299
|
fetchData: () => Promise<void>;
|
|
1300
|
+
beforeDestroy(): void;
|
|
1289
1301
|
} & {
|
|
1290
1302
|
afterCreate(): void;
|
|
1291
1303
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
@@ -2015,12 +2027,15 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
2015
2027
|
};
|
|
2016
2028
|
} & {
|
|
2017
2029
|
readonly formattedSQL: any;
|
|
2030
|
+
} & {
|
|
2031
|
+
controller: AbortController;
|
|
2018
2032
|
} & {
|
|
2019
2033
|
setName(name: string): void;
|
|
2020
2034
|
setKey(key: string): void;
|
|
2021
2035
|
setType(type: import("../../../queries/types").DataSourceType): void;
|
|
2022
2036
|
setSQL(sql: string): void;
|
|
2023
2037
|
fetchData: () => Promise<void>;
|
|
2038
|
+
beforeDestroy(): void;
|
|
2024
2039
|
} & {
|
|
2025
2040
|
afterCreate(): void;
|
|
2026
2041
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
@@ -2044,12 +2059,15 @@ export declare const PanelsModel: import("mobx-state-tree").IModelType<{
|
|
|
2044
2059
|
};
|
|
2045
2060
|
} & {
|
|
2046
2061
|
readonly formattedSQL: any;
|
|
2062
|
+
} & {
|
|
2063
|
+
controller: AbortController;
|
|
2047
2064
|
} & {
|
|
2048
2065
|
setName(name: string): void;
|
|
2049
2066
|
setKey(key: string): void;
|
|
2050
2067
|
setType(type: import("../../../queries/types").DataSourceType): void;
|
|
2051
2068
|
setSQL(sql: string): void;
|
|
2052
2069
|
fetchData: () => Promise<void>;
|
|
2070
|
+
beforeDestroy(): void;
|
|
2053
2071
|
} & {
|
|
2054
2072
|
afterCreate(): void;
|
|
2055
2073
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
@@ -205,12 +205,15 @@ export declare const PanelModel: import("mobx-state-tree").IModelType<{
|
|
|
205
205
|
};
|
|
206
206
|
} & {
|
|
207
207
|
readonly formattedSQL: any;
|
|
208
|
+
} & {
|
|
209
|
+
controller: AbortController;
|
|
208
210
|
} & {
|
|
209
211
|
setName(name: string): void;
|
|
210
212
|
setKey(key: string): void;
|
|
211
213
|
setType(type: import("../../../queries/types").DataSourceType): void;
|
|
212
214
|
setSQL(sql: string): void;
|
|
213
215
|
fetchData: () => Promise<void>;
|
|
216
|
+
beforeDestroy(): void;
|
|
214
217
|
} & {
|
|
215
218
|
afterCreate(): void;
|
|
216
219
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
@@ -234,12 +237,15 @@ export declare const PanelModel: import("mobx-state-tree").IModelType<{
|
|
|
234
237
|
};
|
|
235
238
|
} & {
|
|
236
239
|
readonly formattedSQL: any;
|
|
240
|
+
} & {
|
|
241
|
+
controller: AbortController;
|
|
237
242
|
} & {
|
|
238
243
|
setName(name: string): void;
|
|
239
244
|
setKey(key: string): void;
|
|
240
245
|
setType(type: import("../../../queries/types").DataSourceType): void;
|
|
241
246
|
setSQL(sql: string): void;
|
|
242
247
|
fetchData: () => Promise<void>;
|
|
248
|
+
beforeDestroy(): void;
|
|
243
249
|
} & {
|
|
244
250
|
afterCreate(): void;
|
|
245
251
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
@@ -407,12 +407,15 @@ export declare const tokens: {
|
|
|
407
407
|
};
|
|
408
408
|
} & {
|
|
409
409
|
readonly formattedSQL: any;
|
|
410
|
+
} & {
|
|
411
|
+
controller: AbortController;
|
|
410
412
|
} & {
|
|
411
413
|
setName(name: string): void;
|
|
412
414
|
setKey(key: string): void;
|
|
413
415
|
setType(type: import("../model/queries/types").DataSourceType): void;
|
|
414
416
|
setSQL(sql: string): void;
|
|
415
417
|
fetchData: () => Promise<void>;
|
|
418
|
+
beforeDestroy(): void;
|
|
416
419
|
} & {
|
|
417
420
|
afterCreate(): void;
|
|
418
421
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
@@ -436,12 +439,15 @@ export declare const tokens: {
|
|
|
436
439
|
};
|
|
437
440
|
} & {
|
|
438
441
|
readonly formattedSQL: any;
|
|
442
|
+
} & {
|
|
443
|
+
controller: AbortController;
|
|
439
444
|
} & {
|
|
440
445
|
setName(name: string): void;
|
|
441
446
|
setKey(key: string): void;
|
|
442
447
|
setType(type: import("../model/queries/types").DataSourceType): void;
|
|
443
448
|
setSQL(sql: string): void;
|
|
444
449
|
fetchData: () => Promise<void>;
|
|
450
|
+
beforeDestroy(): void;
|
|
445
451
|
} & {
|
|
446
452
|
afterCreate(): void;
|
|
447
453
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
@@ -1171,12 +1177,15 @@ export declare const tokens: {
|
|
|
1171
1177
|
};
|
|
1172
1178
|
} & {
|
|
1173
1179
|
readonly formattedSQL: any;
|
|
1180
|
+
} & {
|
|
1181
|
+
controller: AbortController;
|
|
1174
1182
|
} & {
|
|
1175
1183
|
setName(name: string): void;
|
|
1176
1184
|
setKey(key: string): void;
|
|
1177
1185
|
setType(type: import("../model/queries/types").DataSourceType): void;
|
|
1178
1186
|
setSQL(sql: string): void;
|
|
1179
1187
|
fetchData: () => Promise<void>;
|
|
1188
|
+
beforeDestroy(): void;
|
|
1180
1189
|
} & {
|
|
1181
1190
|
afterCreate(): void;
|
|
1182
1191
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
@@ -1200,12 +1209,15 @@ export declare const tokens: {
|
|
|
1200
1209
|
};
|
|
1201
1210
|
} & {
|
|
1202
1211
|
readonly formattedSQL: any;
|
|
1212
|
+
} & {
|
|
1213
|
+
controller: AbortController;
|
|
1203
1214
|
} & {
|
|
1204
1215
|
setName(name: string): void;
|
|
1205
1216
|
setKey(key: string): void;
|
|
1206
1217
|
setType(type: import("../model/queries/types").DataSourceType): void;
|
|
1207
1218
|
setSQL(sql: string): void;
|
|
1208
1219
|
fetchData: () => Promise<void>;
|
|
1220
|
+
beforeDestroy(): void;
|
|
1209
1221
|
} & {
|
|
1210
1222
|
afterCreate(): void;
|
|
1211
1223
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
@@ -6,5 +6,5 @@ interface IVariablesField {
|
|
|
6
6
|
watch: UseFormWatch<ICartesianChartConf>;
|
|
7
7
|
data: $TSFixMe[];
|
|
8
8
|
}
|
|
9
|
-
export declare function StatsField({ control }: IVariablesField): JSX.Element;
|
|
9
|
+
export declare function StatsField({ control, watch }: IVariablesField): JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Control, UseFormWatch } from 'react-hook-form';
|
|
3
|
+
import { ITemplateVariable } from '~/utils/template';
|
|
4
|
+
import { IScatterChartConf } from '../../type';
|
|
5
|
+
interface IReferenceLinesField {
|
|
6
|
+
control: Control<IScatterChartConf, $TSFixMe>;
|
|
7
|
+
watch: UseFormWatch<IScatterChartConf>;
|
|
8
|
+
variables: ITemplateVariable[];
|
|
9
|
+
}
|
|
10
|
+
export declare function ReferenceLinesField({ control, watch, variables }: IReferenceLinesField): JSX.Element;
|
|
11
|
+
export {};
|