@devtable/dashboard 10.44.4 → 10.45.2
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 +8 -0
- package/dist/components/panel/panel-render/full-screen-render/use-panel-full-screen.d.ts +604 -58
- package/dist/components/plugins/plugin-context.d.ts +604 -58
- package/dist/contexts/panel-context.d.ts +1208 -116
- package/dist/dashboard-editor/model/editor/index.d.ts +2 -2
- package/dist/dashboard-editor/model/filters/index.d.ts +279 -0
- package/dist/dashboard-editor/model/panels/panel.d.ts +302 -29
- package/dist/dashboard-editor/model/queries/index.d.ts +74 -49
- package/dist/dashboard-editor/model/sql-snippets/index.d.ts +39 -0
- package/dist/dashboard-editor/model/views/index.d.ts +23 -12
- package/dist/dashboard-editor/ui/header/add-a-panel/index.d.ts +3 -0
- package/dist/dashboard-editor/ui/header/import-with-schema/explain-json-schema.d.ts +4 -0
- package/dist/dashboard-editor/ui/header/import-with-schema/form.d.ts +9 -0
- package/dist/dashboard-editor/ui/header/import-with-schema/index.d.ts +3 -0
- package/dist/dashboard-editor/ui/header/import-with-schema/validate.d.ts +1 -0
- package/dist/dashboard-editor/ui/settings/content/edit-filters/index.d.ts +3 -0
- package/dist/dashboard-editor/ui/settings/content/edit-query/query-editor-form/tabs/sql/edit-sql.d.ts +5 -4
- package/dist/dashboard-editor/ui/settings/content/edit-query/query-editor-form/tabs/sql/query-dependency.d.ts +6 -0
- package/dist/dashboard-editor/ui/settings/content/edit-view/edit-view-form/index.d.ts +9 -2
- package/dist/dashboard-editor/ui/settings/content/utils.d.ts +1 -0
- package/dist/dashboard-editor/ui/settings/navbar/action-button/filters-settings-button.d.ts +3 -0
- package/dist/dashboard.es.js +7137 -6548
- package/dist/dashboard.umd.js +103 -103
- package/dist/model/meta-model/dashboard/content/filter/widgets/multi-select.d.ts +3 -0
- package/dist/model/meta-model/dashboard/content/filter/widgets/select-base.d.ts +1 -0
- package/dist/model/meta-model/dashboard/content/filter/widgets/select.d.ts +3 -0
- package/dist/model/meta-model/dashboard/content/filter/widgets/tree-select.d.ts +3 -0
- package/dist/model/meta-model/dashboard/content/mock-context/mock-context.d.ts +2 -0
- package/dist/model/meta-model/dashboard/content/panel/panel.d.ts +1 -15
- package/dist/model/meta-model/dashboard/content/view/view.d.ts +2 -1
- package/dist/model/render-model/dashboard/content/filters/filters.d.ts +169 -24
- package/dist/model/render-model/dashboard/content/panels/panel.d.ts +302 -29
- package/dist/model/render-model/dashboard/content/panels/panels.d.ts +2395 -498
- package/dist/model/render-model/dashboard/content/queries/mute-query.d.ts +13 -3
- package/dist/model/render-model/dashboard/content/queries/queries.d.ts +57 -35
- package/dist/model/render-model/dashboard/content/queries/query.d.ts +11 -11
- package/dist/model/render-model/dashboard/content/sql-snippets/sql-snippets.d.ts +38 -0
- package/dist/model/render-model/dashboard/content/views/view.d.ts +2 -1
- package/dist/model/render-model/dashboard/content/views/views.d.ts +19 -10
- package/dist/stats.html +1 -1
- package/dist/utils/usage.d.ts +10 -0
- package/package.json +1 -1
- package/dist/dashboard-editor/model/panels/panels.d.ts +0 -15255
|
@@ -38,9 +38,16 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
38
38
|
setPreProcess(v: string): void;
|
|
39
39
|
setPostProcess(v: string): void;
|
|
40
40
|
} & {
|
|
41
|
+
readonly rootModel: any;
|
|
42
|
+
readonly contentModel: any;
|
|
41
43
|
readonly conditionOptions: import("@mantine/core").SelectItem[];
|
|
42
44
|
readonly unmetRunByConditions: string[];
|
|
43
45
|
} & {
|
|
46
|
+
readonly payload: any;
|
|
47
|
+
readonly formattedSQL: any;
|
|
48
|
+
readonly httpConfigString: string;
|
|
49
|
+
readonly typedAsSQL: boolean;
|
|
50
|
+
readonly typedAsHTTP: boolean;
|
|
44
51
|
readonly reQueryKey: string;
|
|
45
52
|
readonly runByConditionsMet: boolean;
|
|
46
53
|
readonly conditionNames: {
|
|
@@ -49,15 +56,9 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
49
56
|
};
|
|
50
57
|
readonly queries: any;
|
|
51
58
|
readonly inUse: any;
|
|
59
|
+
readonly dependencies: import("../../../utils/usage").DependencyInfo[];
|
|
52
60
|
} & {
|
|
53
|
-
readonly rootModel: any;
|
|
54
|
-
readonly contentModel: any;
|
|
55
|
-
readonly payload: any;
|
|
56
|
-
readonly formattedSQL: any;
|
|
57
|
-
readonly typedAsSQL: boolean;
|
|
58
|
-
readonly typedAsHTTP: boolean;
|
|
59
61
|
readonly datasource: any;
|
|
60
|
-
readonly httpConfigString: string;
|
|
61
62
|
readonly additionalQueryInfo: import("../../..").TAdditionalQueryInfo;
|
|
62
63
|
} & {
|
|
63
64
|
readonly stateMessage: string;
|
|
@@ -73,6 +74,7 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
73
74
|
afterCreate(): void;
|
|
74
75
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>, [undefined]>;
|
|
75
76
|
}, {
|
|
77
|
+
readonly idSet: Set<string>;
|
|
76
78
|
readonly firstID: string | undefined;
|
|
77
79
|
findByID(id: string): ({
|
|
78
80
|
id: string;
|
|
@@ -110,9 +112,16 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
110
112
|
setPreProcess(v: string): void;
|
|
111
113
|
setPostProcess(v: string): void;
|
|
112
114
|
} & {
|
|
115
|
+
readonly rootModel: any;
|
|
116
|
+
readonly contentModel: any;
|
|
113
117
|
readonly conditionOptions: import("@mantine/core").SelectItem[];
|
|
114
118
|
readonly unmetRunByConditions: string[];
|
|
115
119
|
} & {
|
|
120
|
+
readonly payload: any;
|
|
121
|
+
readonly formattedSQL: any;
|
|
122
|
+
readonly httpConfigString: string;
|
|
123
|
+
readonly typedAsSQL: boolean;
|
|
124
|
+
readonly typedAsHTTP: boolean;
|
|
116
125
|
readonly reQueryKey: string;
|
|
117
126
|
readonly runByConditionsMet: boolean;
|
|
118
127
|
readonly conditionNames: {
|
|
@@ -121,15 +130,9 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
121
130
|
};
|
|
122
131
|
readonly queries: any;
|
|
123
132
|
readonly inUse: any;
|
|
133
|
+
readonly dependencies: import("../../../utils/usage").DependencyInfo[];
|
|
124
134
|
} & {
|
|
125
|
-
readonly rootModel: any;
|
|
126
|
-
readonly contentModel: any;
|
|
127
|
-
readonly payload: any;
|
|
128
|
-
readonly formattedSQL: any;
|
|
129
|
-
readonly typedAsSQL: boolean;
|
|
130
|
-
readonly typedAsHTTP: boolean;
|
|
131
135
|
readonly datasource: any;
|
|
132
|
-
readonly httpConfigString: string;
|
|
133
136
|
readonly additionalQueryInfo: import("../../..").TAdditionalQueryInfo;
|
|
134
137
|
} & {
|
|
135
138
|
readonly stateMessage: string;
|
|
@@ -180,9 +183,16 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
180
183
|
setPreProcess(v: string): void;
|
|
181
184
|
setPostProcess(v: string): void;
|
|
182
185
|
} & {
|
|
186
|
+
readonly rootModel: any;
|
|
187
|
+
readonly contentModel: any;
|
|
183
188
|
readonly conditionOptions: import("@mantine/core").SelectItem[];
|
|
184
189
|
readonly unmetRunByConditions: string[];
|
|
185
190
|
} & {
|
|
191
|
+
readonly payload: any;
|
|
192
|
+
readonly formattedSQL: any;
|
|
193
|
+
readonly httpConfigString: string;
|
|
194
|
+
readonly typedAsSQL: boolean;
|
|
195
|
+
readonly typedAsHTTP: boolean;
|
|
186
196
|
readonly reQueryKey: string;
|
|
187
197
|
readonly runByConditionsMet: boolean;
|
|
188
198
|
readonly conditionNames: {
|
|
@@ -191,15 +201,9 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
191
201
|
};
|
|
192
202
|
readonly queries: any;
|
|
193
203
|
readonly inUse: any;
|
|
204
|
+
readonly dependencies: import("../../../utils/usage").DependencyInfo[];
|
|
194
205
|
} & {
|
|
195
|
-
readonly rootModel: any;
|
|
196
|
-
readonly contentModel: any;
|
|
197
|
-
readonly payload: any;
|
|
198
|
-
readonly formattedSQL: any;
|
|
199
|
-
readonly typedAsSQL: boolean;
|
|
200
|
-
readonly typedAsHTTP: boolean;
|
|
201
206
|
readonly datasource: any;
|
|
202
|
-
readonly httpConfigString: string;
|
|
203
207
|
readonly additionalQueryInfo: import("../../..").TAdditionalQueryInfo;
|
|
204
208
|
} & {
|
|
205
209
|
readonly stateMessage: string;
|
|
@@ -250,9 +254,16 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
250
254
|
setPreProcess(v: string): void;
|
|
251
255
|
setPostProcess(v: string): void;
|
|
252
256
|
} & {
|
|
257
|
+
readonly rootModel: any;
|
|
258
|
+
readonly contentModel: any;
|
|
253
259
|
readonly conditionOptions: import("@mantine/core").SelectItem[];
|
|
254
260
|
readonly unmetRunByConditions: string[];
|
|
255
261
|
} & {
|
|
262
|
+
readonly payload: any;
|
|
263
|
+
readonly formattedSQL: any;
|
|
264
|
+
readonly httpConfigString: string;
|
|
265
|
+
readonly typedAsSQL: boolean;
|
|
266
|
+
readonly typedAsHTTP: boolean;
|
|
256
267
|
readonly reQueryKey: string;
|
|
257
268
|
readonly runByConditionsMet: boolean;
|
|
258
269
|
readonly conditionNames: {
|
|
@@ -261,15 +272,9 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
261
272
|
};
|
|
262
273
|
readonly queries: any;
|
|
263
274
|
readonly inUse: any;
|
|
275
|
+
readonly dependencies: import("../../../utils/usage").DependencyInfo[];
|
|
264
276
|
} & {
|
|
265
|
-
readonly rootModel: any;
|
|
266
|
-
readonly contentModel: any;
|
|
267
|
-
readonly payload: any;
|
|
268
|
-
readonly formattedSQL: any;
|
|
269
|
-
readonly typedAsSQL: boolean;
|
|
270
|
-
readonly typedAsHTTP: boolean;
|
|
271
277
|
readonly datasource: any;
|
|
272
|
-
readonly httpConfigString: string;
|
|
273
278
|
readonly additionalQueryInfo: import("../../..").TAdditionalQueryInfo;
|
|
274
279
|
} & {
|
|
275
280
|
readonly stateMessage: string;
|
|
@@ -320,9 +325,16 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
320
325
|
setPreProcess(v: string): void;
|
|
321
326
|
setPostProcess(v: string): void;
|
|
322
327
|
} & {
|
|
328
|
+
readonly rootModel: any;
|
|
329
|
+
readonly contentModel: any;
|
|
323
330
|
readonly conditionOptions: import("@mantine/core").SelectItem[];
|
|
324
331
|
readonly unmetRunByConditions: string[];
|
|
325
332
|
} & {
|
|
333
|
+
readonly payload: any;
|
|
334
|
+
readonly formattedSQL: any;
|
|
335
|
+
readonly httpConfigString: string;
|
|
336
|
+
readonly typedAsSQL: boolean;
|
|
337
|
+
readonly typedAsHTTP: boolean;
|
|
326
338
|
readonly reQueryKey: string;
|
|
327
339
|
readonly runByConditionsMet: boolean;
|
|
328
340
|
readonly conditionNames: {
|
|
@@ -331,15 +343,9 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
331
343
|
};
|
|
332
344
|
readonly queries: any;
|
|
333
345
|
readonly inUse: any;
|
|
346
|
+
readonly dependencies: import("../../../utils/usage").DependencyInfo[];
|
|
334
347
|
} & {
|
|
335
|
-
readonly rootModel: any;
|
|
336
|
-
readonly contentModel: any;
|
|
337
|
-
readonly payload: any;
|
|
338
|
-
readonly formattedSQL: any;
|
|
339
|
-
readonly typedAsSQL: boolean;
|
|
340
|
-
readonly typedAsHTTP: boolean;
|
|
341
348
|
readonly datasource: any;
|
|
342
|
-
readonly httpConfigString: string;
|
|
343
349
|
readonly additionalQueryInfo: import("../../..").TAdditionalQueryInfo;
|
|
344
350
|
} & {
|
|
345
351
|
readonly stateMessage: string;
|
|
@@ -373,6 +379,22 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
373
379
|
downloadDataByQueryIDs(ids: string[]): void;
|
|
374
380
|
downloadDataByQueryID(id: string): void;
|
|
375
381
|
refetchDataByQueryID(queryID: string): Promise<void> | undefined;
|
|
382
|
+
getSchema(ids: string[]): {
|
|
383
|
+
definition: {
|
|
384
|
+
queries: {
|
|
385
|
+
id: string;
|
|
386
|
+
key: string;
|
|
387
|
+
sql: string;
|
|
388
|
+
name: string;
|
|
389
|
+
type: import('../../../model').DataSourceType;
|
|
390
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
391
|
+
react_to: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
392
|
+
pre_process: string;
|
|
393
|
+
post_process: string;
|
|
394
|
+
}[];
|
|
395
|
+
};
|
|
396
|
+
};
|
|
397
|
+
downloadSchema(ids: string[]): void;
|
|
376
398
|
} & {
|
|
377
399
|
readonly options: {
|
|
378
400
|
readonly value: string;
|
|
@@ -415,9 +437,16 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
415
437
|
setPreProcess(v: string): void;
|
|
416
438
|
setPostProcess(v: string): void;
|
|
417
439
|
} & {
|
|
440
|
+
readonly rootModel: any;
|
|
441
|
+
readonly contentModel: any;
|
|
418
442
|
readonly conditionOptions: import("@mantine/core").SelectItem[];
|
|
419
443
|
readonly unmetRunByConditions: string[];
|
|
420
444
|
} & {
|
|
445
|
+
readonly payload: any;
|
|
446
|
+
readonly formattedSQL: any;
|
|
447
|
+
readonly httpConfigString: string;
|
|
448
|
+
readonly typedAsSQL: boolean;
|
|
449
|
+
readonly typedAsHTTP: boolean;
|
|
421
450
|
readonly reQueryKey: string;
|
|
422
451
|
readonly runByConditionsMet: boolean;
|
|
423
452
|
readonly conditionNames: {
|
|
@@ -426,15 +455,9 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
426
455
|
};
|
|
427
456
|
readonly queries: any;
|
|
428
457
|
readonly inUse: any;
|
|
458
|
+
readonly dependencies: import("../../../utils/usage").DependencyInfo[];
|
|
429
459
|
} & {
|
|
430
|
-
readonly rootModel: any;
|
|
431
|
-
readonly contentModel: any;
|
|
432
|
-
readonly payload: any;
|
|
433
|
-
readonly formattedSQL: any;
|
|
434
|
-
readonly typedAsSQL: boolean;
|
|
435
|
-
readonly typedAsHTTP: boolean;
|
|
436
460
|
readonly datasource: any;
|
|
437
|
-
readonly httpConfigString: string;
|
|
438
461
|
readonly additionalQueryInfo: import("../../..").TAdditionalQueryInfo;
|
|
439
462
|
} & {
|
|
440
463
|
readonly stateMessage: string;
|
|
@@ -485,9 +508,16 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
485
508
|
setPreProcess(v: string): void;
|
|
486
509
|
setPostProcess(v: string): void;
|
|
487
510
|
} & {
|
|
511
|
+
readonly rootModel: any;
|
|
512
|
+
readonly contentModel: any;
|
|
488
513
|
readonly conditionOptions: import("@mantine/core").SelectItem[];
|
|
489
514
|
readonly unmetRunByConditions: string[];
|
|
490
515
|
} & {
|
|
516
|
+
readonly payload: any;
|
|
517
|
+
readonly formattedSQL: any;
|
|
518
|
+
readonly httpConfigString: string;
|
|
519
|
+
readonly typedAsSQL: boolean;
|
|
520
|
+
readonly typedAsHTTP: boolean;
|
|
491
521
|
readonly reQueryKey: string;
|
|
492
522
|
readonly runByConditionsMet: boolean;
|
|
493
523
|
readonly conditionNames: {
|
|
@@ -496,15 +526,9 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
496
526
|
};
|
|
497
527
|
readonly queries: any;
|
|
498
528
|
readonly inUse: any;
|
|
529
|
+
readonly dependencies: import("../../../utils/usage").DependencyInfo[];
|
|
499
530
|
} & {
|
|
500
|
-
readonly rootModel: any;
|
|
501
|
-
readonly contentModel: any;
|
|
502
|
-
readonly payload: any;
|
|
503
|
-
readonly formattedSQL: any;
|
|
504
|
-
readonly typedAsSQL: boolean;
|
|
505
|
-
readonly typedAsHTTP: boolean;
|
|
506
531
|
readonly datasource: any;
|
|
507
|
-
readonly httpConfigString: string;
|
|
508
532
|
readonly additionalQueryInfo: import("../../..").TAdditionalQueryInfo;
|
|
509
533
|
} & {
|
|
510
534
|
readonly stateMessage: string;
|
|
@@ -522,6 +546,7 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
522
546
|
} & {
|
|
523
547
|
replace(current: Array<QueryRenderModelInstance>): void;
|
|
524
548
|
append(item: QueryRenderModelInstance): void;
|
|
549
|
+
appendMultiple(items: QueryRenderModelInstance[]): void;
|
|
525
550
|
remove(index: number): void;
|
|
526
551
|
replaceByIndex(index: number, replacement: QueryRenderModelInstance): void;
|
|
527
552
|
removeQuery(queryID: string): void;
|
|
@@ -21,6 +21,7 @@ export declare const SQLSnippetsModel: import("mobx-state-tree").IModelType<{
|
|
|
21
21
|
value: string;
|
|
22
22
|
}[];
|
|
23
23
|
readonly record: Record<string, string>;
|
|
24
|
+
readonly keySet: Set<string>;
|
|
24
25
|
readonly firstKey: string | undefined;
|
|
25
26
|
findByKey(key: string): ({
|
|
26
27
|
key: string;
|
|
@@ -49,6 +50,43 @@ export declare const SQLSnippetsModel: import("mobx-state-tree").IModelType<{
|
|
|
49
50
|
} & {
|
|
50
51
|
isADuplicatedKey(newKey: string): boolean;
|
|
51
52
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
53
|
+
findByKeySet(keySet: Set<string>): ({
|
|
54
|
+
key: string;
|
|
55
|
+
value: string;
|
|
56
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
57
|
+
readonly json: {
|
|
58
|
+
key: string;
|
|
59
|
+
value: string;
|
|
60
|
+
};
|
|
61
|
+
} & {
|
|
62
|
+
setKey(key: string): void;
|
|
63
|
+
setValue(value: string): void;
|
|
64
|
+
} & {
|
|
65
|
+
isADuplicatedKey(newKey: string): boolean;
|
|
66
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
67
|
+
key: import("mobx-state-tree").ISimpleType<string>;
|
|
68
|
+
value: import("mobx-state-tree").ISimpleType<string>;
|
|
69
|
+
}, {
|
|
70
|
+
readonly json: {
|
|
71
|
+
key: string;
|
|
72
|
+
value: string;
|
|
73
|
+
};
|
|
74
|
+
} & {
|
|
75
|
+
setKey(key: string): void;
|
|
76
|
+
setValue(value: string): void;
|
|
77
|
+
} & {
|
|
78
|
+
isADuplicatedKey(newKey: string): boolean;
|
|
79
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
80
|
+
} & {
|
|
81
|
+
getSchema(keys: string[]): {
|
|
82
|
+
definition: {
|
|
83
|
+
sqlSnippets: {
|
|
84
|
+
key: string;
|
|
85
|
+
value: string;
|
|
86
|
+
}[];
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
downloadSchema(keys: string[]): void;
|
|
52
90
|
} & {
|
|
53
91
|
readonly sortedList: ({
|
|
54
92
|
key: string;
|
|
@@ -85,6 +123,7 @@ export declare const SQLSnippetsModel: import("mobx-state-tree").IModelType<{
|
|
|
85
123
|
} & {
|
|
86
124
|
replace(current: Array<SQLSnippetRenderModelInstance>): void;
|
|
87
125
|
append(item: SQLSnippetRenderModelSnapshotIn): void;
|
|
126
|
+
appendMultiple(items: SQLSnippetRenderModelSnapshotIn[]): void;
|
|
88
127
|
remove(index: number): void;
|
|
89
128
|
removeByKey(key: string): void;
|
|
90
129
|
removeByKeys(keys: string[]): void;
|
|
@@ -215,12 +215,13 @@ export declare const ViewsModel: import("mobx-state-tree").IModelType<{
|
|
|
215
215
|
} | {
|
|
216
216
|
_name: EViewComponentType.Division;
|
|
217
217
|
};
|
|
218
|
-
panelIDs:
|
|
218
|
+
panelIDs: string[];
|
|
219
219
|
};
|
|
220
220
|
} & {
|
|
221
221
|
setName(name: string): void;
|
|
222
222
|
setType(type: EViewComponentType): void;
|
|
223
223
|
appendPanelID(id: string): void;
|
|
224
|
+
appendPanelIDs(ids: string[]): void;
|
|
224
225
|
removePanelID(id: string): void;
|
|
225
226
|
} & {
|
|
226
227
|
readonly defaultTab: string;
|
|
@@ -262,7 +263,7 @@ export declare const ViewsModel: import("mobx-state-tree").IModelType<{
|
|
|
262
263
|
} | {
|
|
263
264
|
_name: EViewComponentType.Division;
|
|
264
265
|
};
|
|
265
|
-
panelIDs:
|
|
266
|
+
panelIDs: string[];
|
|
266
267
|
}[];
|
|
267
268
|
readonly idMap: Map<string, {
|
|
268
269
|
id: string;
|
|
@@ -947,12 +948,13 @@ export declare const ViewsModel: import("mobx-state-tree").IModelType<{
|
|
|
947
948
|
} | {
|
|
948
949
|
_name: EViewComponentType.Division;
|
|
949
950
|
};
|
|
950
|
-
panelIDs:
|
|
951
|
+
panelIDs: string[];
|
|
951
952
|
};
|
|
952
953
|
} & {
|
|
953
954
|
setName(name: string): void;
|
|
954
955
|
setType(type: EViewComponentType): void;
|
|
955
956
|
appendPanelID(id: string): void;
|
|
957
|
+
appendPanelIDs(ids: string[]): void;
|
|
956
958
|
removePanelID(id: string): void;
|
|
957
959
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
958
960
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -1164,12 +1166,13 @@ export declare const ViewsModel: import("mobx-state-tree").IModelType<{
|
|
|
1164
1166
|
} | {
|
|
1165
1167
|
_name: EViewComponentType.Division;
|
|
1166
1168
|
};
|
|
1167
|
-
panelIDs:
|
|
1169
|
+
panelIDs: string[];
|
|
1168
1170
|
};
|
|
1169
1171
|
} & {
|
|
1170
1172
|
setName(name: string): void;
|
|
1171
1173
|
setType(type: EViewComponentType): void;
|
|
1172
1174
|
appendPanelID(id: string): void;
|
|
1175
|
+
appendPanelIDs(ids: string[]): void;
|
|
1173
1176
|
removePanelID(id: string): void;
|
|
1174
1177
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>>;
|
|
1175
1178
|
findByID(id: string): ({
|
|
@@ -1856,12 +1859,13 @@ export declare const ViewsModel: import("mobx-state-tree").IModelType<{
|
|
|
1856
1859
|
} | {
|
|
1857
1860
|
_name: EViewComponentType.Division;
|
|
1858
1861
|
};
|
|
1859
|
-
panelIDs:
|
|
1862
|
+
panelIDs: string[];
|
|
1860
1863
|
};
|
|
1861
1864
|
} & {
|
|
1862
1865
|
setName(name: string): void;
|
|
1863
1866
|
setType(type: EViewComponentType): void;
|
|
1864
1867
|
appendPanelID(id: string): void;
|
|
1868
|
+
appendPanelIDs(ids: string[]): void;
|
|
1865
1869
|
removePanelID(id: string): void;
|
|
1866
1870
|
} & {
|
|
1867
1871
|
readonly defaultTab: string;
|
|
@@ -2084,12 +2088,13 @@ export declare const ViewsModel: import("mobx-state-tree").IModelType<{
|
|
|
2084
2088
|
} | {
|
|
2085
2089
|
_name: EViewComponentType.Division;
|
|
2086
2090
|
};
|
|
2087
|
-
panelIDs:
|
|
2091
|
+
panelIDs: string[];
|
|
2088
2092
|
};
|
|
2089
2093
|
} & {
|
|
2090
2094
|
setName(name: string): void;
|
|
2091
2095
|
setType(type: EViewComponentType): void;
|
|
2092
2096
|
appendPanelID(id: string): void;
|
|
2097
|
+
appendPanelIDs(ids: string[]): void;
|
|
2093
2098
|
removePanelID(id: string): void;
|
|
2094
2099
|
} & {
|
|
2095
2100
|
readonly defaultTab: string;
|
|
@@ -2785,12 +2790,13 @@ export declare const ViewsModel: import("mobx-state-tree").IModelType<{
|
|
|
2785
2790
|
} | {
|
|
2786
2791
|
_name: EViewComponentType.Division;
|
|
2787
2792
|
};
|
|
2788
|
-
panelIDs:
|
|
2793
|
+
panelIDs: string[];
|
|
2789
2794
|
};
|
|
2790
2795
|
} & {
|
|
2791
2796
|
setName(name: string): void;
|
|
2792
2797
|
setType(type: EViewComponentType): void;
|
|
2793
2798
|
appendPanelID(id: string): void;
|
|
2799
|
+
appendPanelIDs(ids: string[]): void;
|
|
2794
2800
|
removePanelID(id: string): void;
|
|
2795
2801
|
} & {
|
|
2796
2802
|
readonly defaultTab: string;
|
|
@@ -3013,12 +3019,13 @@ export declare const ViewsModel: import("mobx-state-tree").IModelType<{
|
|
|
3013
3019
|
} | {
|
|
3014
3020
|
_name: EViewComponentType.Division;
|
|
3015
3021
|
};
|
|
3016
|
-
panelIDs:
|
|
3022
|
+
panelIDs: string[];
|
|
3017
3023
|
};
|
|
3018
3024
|
} & {
|
|
3019
3025
|
setName(name: string): void;
|
|
3020
3026
|
setType(type: EViewComponentType): void;
|
|
3021
3027
|
appendPanelID(id: string): void;
|
|
3028
|
+
appendPanelIDs(ids: string[]): void;
|
|
3022
3029
|
removePanelID(id: string): void;
|
|
3023
3030
|
} & {
|
|
3024
3031
|
readonly defaultTab: string;
|
|
@@ -3714,12 +3721,13 @@ export declare const ViewsModel: import("mobx-state-tree").IModelType<{
|
|
|
3714
3721
|
} | {
|
|
3715
3722
|
_name: EViewComponentType.Division;
|
|
3716
3723
|
};
|
|
3717
|
-
panelIDs:
|
|
3724
|
+
panelIDs: string[];
|
|
3718
3725
|
};
|
|
3719
3726
|
} & {
|
|
3720
3727
|
setName(name: string): void;
|
|
3721
3728
|
setType(type: EViewComponentType): void;
|
|
3722
3729
|
appendPanelID(id: string): void;
|
|
3730
|
+
appendPanelIDs(ids: string[]): void;
|
|
3723
3731
|
removePanelID(id: string): void;
|
|
3724
3732
|
} & {
|
|
3725
3733
|
readonly defaultTab: string;
|
|
@@ -3942,12 +3950,13 @@ export declare const ViewsModel: import("mobx-state-tree").IModelType<{
|
|
|
3942
3950
|
} | {
|
|
3943
3951
|
_name: EViewComponentType.Division;
|
|
3944
3952
|
};
|
|
3945
|
-
panelIDs:
|
|
3953
|
+
panelIDs: string[];
|
|
3946
3954
|
};
|
|
3947
3955
|
} & {
|
|
3948
3956
|
setName(name: string): void;
|
|
3949
3957
|
setType(type: EViewComponentType): void;
|
|
3950
3958
|
appendPanelID(id: string): void;
|
|
3959
|
+
appendPanelIDs(ids: string[]): void;
|
|
3951
3960
|
removePanelID(id: string): void;
|
|
3952
3961
|
} & {
|
|
3953
3962
|
readonly defaultTab: string;
|
|
@@ -4648,12 +4657,13 @@ export declare const ViewsModel: import("mobx-state-tree").IModelType<{
|
|
|
4648
4657
|
} | {
|
|
4649
4658
|
_name: EViewComponentType.Division;
|
|
4650
4659
|
};
|
|
4651
|
-
panelIDs:
|
|
4660
|
+
panelIDs: string[];
|
|
4652
4661
|
};
|
|
4653
4662
|
} & {
|
|
4654
4663
|
setName(name: string): void;
|
|
4655
4664
|
setType(type: EViewComponentType): void;
|
|
4656
4665
|
appendPanelID(id: string): void;
|
|
4666
|
+
appendPanelIDs(ids: string[]): void;
|
|
4657
4667
|
removePanelID(id: string): void;
|
|
4658
4668
|
} & {
|
|
4659
4669
|
readonly defaultTab: string;
|
|
@@ -4876,12 +4886,13 @@ export declare const ViewsModel: import("mobx-state-tree").IModelType<{
|
|
|
4876
4886
|
} | {
|
|
4877
4887
|
_name: EViewComponentType.Division;
|
|
4878
4888
|
};
|
|
4879
|
-
panelIDs:
|
|
4889
|
+
panelIDs: string[];
|
|
4880
4890
|
};
|
|
4881
4891
|
} & {
|
|
4882
4892
|
setName(name: string): void;
|
|
4883
4893
|
setType(type: EViewComponentType): void;
|
|
4884
4894
|
appendPanelID(id: string): void;
|
|
4895
|
+
appendPanelIDs(ids: string[]): void;
|
|
4885
4896
|
removePanelID(id: string): void;
|
|
4886
4897
|
} & {
|
|
4887
4898
|
readonly defaultTab: string;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type Props = {
|
|
2
|
+
onSuccess: () => void;
|
|
3
|
+
stretchModal: () => void;
|
|
4
|
+
shrinkModal: () => void;
|
|
5
|
+
};
|
|
6
|
+
export declare const ImportWithSchemaForm: (({ onSuccess, stretchModal, shrinkModal }: Props) => import('./react/jsx-runtime').JSX.Element) & {
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
9
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function validateDashboardJSONFile(e: ProgressEvent<FileReader>): any;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { QueryRenderModelInstance } from '../../../../../../../../model';
|
|
1
2
|
interface IEditSQL {
|
|
2
|
-
|
|
3
|
-
onChange: (v: string) => void;
|
|
4
|
-
defaultValue: string;
|
|
3
|
+
queryModel: QueryRenderModelInstance;
|
|
5
4
|
}
|
|
6
|
-
export declare const EditSQL: ({
|
|
5
|
+
export declare const EditSQL: (({ queryModel }: IEditSQL) => import('./react/jsx-runtime').JSX.Element) & {
|
|
6
|
+
displayName: string;
|
|
7
|
+
};
|
|
7
8
|
export {};
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import { EViewComponentType, ViewMetaInstance } from '../../../../../../model';
|
|
2
|
+
export declare const viewComponentNames: {
|
|
3
|
+
div: string;
|
|
4
|
+
modal: string;
|
|
5
|
+
tabs: string;
|
|
6
|
+
};
|
|
2
7
|
export declare const EditViewForm: (({ view }: {
|
|
3
8
|
view?: ({
|
|
4
9
|
id: string;
|
|
@@ -683,12 +688,13 @@ export declare const EditViewForm: (({ view }: {
|
|
|
683
688
|
} | {
|
|
684
689
|
_name: EViewComponentType.Division;
|
|
685
690
|
};
|
|
686
|
-
panelIDs:
|
|
691
|
+
panelIDs: string[];
|
|
687
692
|
};
|
|
688
693
|
} & {
|
|
689
694
|
setName(name: string): void;
|
|
690
695
|
setType(type: EViewComponentType): void;
|
|
691
696
|
appendPanelID(id: string): void;
|
|
697
|
+
appendPanelIDs(ids: string[]): void;
|
|
692
698
|
removePanelID(id: string): void;
|
|
693
699
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
694
700
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -900,12 +906,13 @@ export declare const EditViewForm: (({ view }: {
|
|
|
900
906
|
} | {
|
|
901
907
|
_name: EViewComponentType.Division;
|
|
902
908
|
};
|
|
903
|
-
panelIDs:
|
|
909
|
+
panelIDs: string[];
|
|
904
910
|
};
|
|
905
911
|
} & {
|
|
906
912
|
setName(name: string): void;
|
|
907
913
|
setType(type: EViewComponentType): void;
|
|
908
914
|
appendPanelID(id: string): void;
|
|
915
|
+
appendPanelIDs(ids: string[]): void;
|
|
909
916
|
removePanelID(id: string): void;
|
|
910
917
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
911
918
|
}) => import('./react/jsx-runtime').JSX.Element | null) & {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ValidEditorPathType } from '../../../../dashboard-editor/model/editor';
|
|
2
2
|
export declare function isQueryVars(path: ValidEditorPathType): boolean;
|
|
3
3
|
export declare function isMockContext(path: ValidEditorPathType): boolean;
|
|
4
|
+
export declare function isFilters(path: ValidEditorPathType): boolean;
|
|
4
5
|
export declare function isFilter(path: ValidEditorPathType): boolean;
|
|
5
6
|
export declare function isSQLSnippets(path: ValidEditorPathType): boolean;
|
|
6
7
|
export declare function isSQLSnippet(path: ValidEditorPathType): boolean;
|