@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
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { SelectItem } from '@mantine/core';
|
|
2
2
|
import { Instance } from 'mobx-state-tree';
|
|
3
|
+
import { DataSourceType } from '../../../../../model';
|
|
4
|
+
import { DependencyInfo } from '../../../../../utils/usage';
|
|
3
5
|
export declare const MuteQueryModel: import("mobx-state-tree").IModelType<{
|
|
4
6
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
5
7
|
name: import("mobx-state-tree").ISimpleType<string>;
|
|
6
|
-
type: import("mobx-state-tree").ISimpleType<
|
|
8
|
+
type: import("mobx-state-tree").ISimpleType<DataSourceType>;
|
|
7
9
|
key: import("mobx-state-tree").ISimpleType<string>;
|
|
8
10
|
sql: import("mobx-state-tree").ISimpleType<string>;
|
|
9
11
|
pre_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
@@ -17,7 +19,7 @@ export declare const MuteQueryModel: import("mobx-state-tree").IModelType<{
|
|
|
17
19
|
key: string;
|
|
18
20
|
sql: string;
|
|
19
21
|
name: string;
|
|
20
|
-
type:
|
|
22
|
+
type: DataSourceType;
|
|
21
23
|
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]>>;
|
|
22
24
|
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]>>;
|
|
23
25
|
pre_process: string;
|
|
@@ -26,16 +28,23 @@ export declare const MuteQueryModel: import("mobx-state-tree").IModelType<{
|
|
|
26
28
|
} & {
|
|
27
29
|
setName(name: string): void;
|
|
28
30
|
setKey(key: string): void;
|
|
29
|
-
setType(type:
|
|
31
|
+
setType(type: DataSourceType): void;
|
|
30
32
|
setSQL(sql: string): void;
|
|
31
33
|
setRunBy(v: string[]): void;
|
|
32
34
|
setReactTo(v: string[]): void;
|
|
33
35
|
setPreProcess(v: string): void;
|
|
34
36
|
setPostProcess(v: string): void;
|
|
35
37
|
} & {
|
|
38
|
+
readonly rootModel: any;
|
|
39
|
+
readonly contentModel: any;
|
|
36
40
|
readonly conditionOptions: SelectItem[];
|
|
37
41
|
readonly unmetRunByConditions: string[];
|
|
38
42
|
} & {
|
|
43
|
+
readonly payload: any;
|
|
44
|
+
readonly formattedSQL: any;
|
|
45
|
+
readonly httpConfigString: string;
|
|
46
|
+
readonly typedAsSQL: boolean;
|
|
47
|
+
readonly typedAsHTTP: boolean;
|
|
39
48
|
readonly reQueryKey: string;
|
|
40
49
|
readonly runByConditionsMet: boolean;
|
|
41
50
|
readonly conditionNames: {
|
|
@@ -44,5 +53,6 @@ export declare const MuteQueryModel: import("mobx-state-tree").IModelType<{
|
|
|
44
53
|
};
|
|
45
54
|
readonly queries: any;
|
|
46
55
|
readonly inUse: any;
|
|
56
|
+
readonly dependencies: DependencyInfo[];
|
|
47
57
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
48
58
|
export type MuteQueryModelInstance = Instance<typeof MuteQueryModel>;
|
|
@@ -38,9 +38,16 @@ export declare const QueriesRenderModel: 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 QueriesRenderModel: 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 QueriesRenderModel: 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 QueriesRenderModel: 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 QueriesRenderModel: 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 QueriesRenderModel: 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 QueriesRenderModel: 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 QueriesRenderModel: 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 QueriesRenderModel: 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 QueriesRenderModel: 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 QueriesRenderModel: 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 QueriesRenderModel: 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/meta-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
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
377
399
|
export type QueriesRenderModelInstance = Instance<typeof QueriesRenderModel>;
|
|
378
400
|
export type QueriesRenderModelSnapshotIn = SnapshotIn<QueriesRenderModelInstance>;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { Instance, SnapshotIn } from 'mobx-state-tree';
|
|
2
2
|
import { TAdditionalQueryInfo } from '../../../../../api-caller/request';
|
|
3
|
-
import { DataSourceType } from '../../../../../model';
|
|
4
3
|
export declare const QueryRenderModel: import("mobx-state-tree").IModelType<{
|
|
5
4
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
6
5
|
name: import("mobx-state-tree").ISimpleType<string>;
|
|
7
|
-
type: import("mobx-state-tree").ISimpleType<DataSourceType>;
|
|
6
|
+
type: import("mobx-state-tree").ISimpleType<import("../../../..").DataSourceType>;
|
|
8
7
|
key: import("mobx-state-tree").ISimpleType<string>;
|
|
9
8
|
sql: import("mobx-state-tree").ISimpleType<string>;
|
|
10
9
|
pre_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
@@ -22,7 +21,7 @@ export declare const QueryRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
22
21
|
key: string;
|
|
23
22
|
sql: string;
|
|
24
23
|
name: string;
|
|
25
|
-
type: DataSourceType;
|
|
24
|
+
type: import("../../../..").DataSourceType;
|
|
26
25
|
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]>>;
|
|
27
26
|
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]>>;
|
|
28
27
|
pre_process: string;
|
|
@@ -31,16 +30,23 @@ export declare const QueryRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
31
30
|
} & {
|
|
32
31
|
setName(name: string): void;
|
|
33
32
|
setKey(key: string): void;
|
|
34
|
-
setType(type: DataSourceType): void;
|
|
33
|
+
setType(type: import("../../../..").DataSourceType): void;
|
|
35
34
|
setSQL(sql: string): void;
|
|
36
35
|
setRunBy(v: string[]): void;
|
|
37
36
|
setReactTo(v: string[]): void;
|
|
38
37
|
setPreProcess(v: string): void;
|
|
39
38
|
setPostProcess(v: string): void;
|
|
40
39
|
} & {
|
|
40
|
+
readonly rootModel: any;
|
|
41
|
+
readonly contentModel: any;
|
|
41
42
|
readonly conditionOptions: import("@mantine/core").SelectItem[];
|
|
42
43
|
readonly unmetRunByConditions: string[];
|
|
43
44
|
} & {
|
|
45
|
+
readonly payload: any;
|
|
46
|
+
readonly formattedSQL: any;
|
|
47
|
+
readonly httpConfigString: string;
|
|
48
|
+
readonly typedAsSQL: boolean;
|
|
49
|
+
readonly typedAsHTTP: boolean;
|
|
44
50
|
readonly reQueryKey: string;
|
|
45
51
|
readonly runByConditionsMet: boolean;
|
|
46
52
|
readonly conditionNames: {
|
|
@@ -49,15 +55,9 @@ export declare const QueryRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
49
55
|
};
|
|
50
56
|
readonly queries: any;
|
|
51
57
|
readonly inUse: any;
|
|
58
|
+
readonly dependencies: import("../../../../../utils/usage").DependencyInfo[];
|
|
52
59
|
} & {
|
|
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
60
|
readonly datasource: any;
|
|
60
|
-
readonly httpConfigString: string;
|
|
61
61
|
readonly additionalQueryInfo: TAdditionalQueryInfo;
|
|
62
62
|
} & {
|
|
63
63
|
readonly stateMessage: string;
|
|
@@ -21,6 +21,7 @@ export declare const SQLSnippetsRenderModel: import("mobx-state-tree").IModelTyp
|
|
|
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 SQLSnippetsRenderModel: import("mobx-state-tree").IModelTyp
|
|
|
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
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
53
91
|
export type SQLSnippetsRenderModelSnapshotIn = SnapshotIn<Instance<typeof SQLSnippetsRenderModel>>;
|
|
54
92
|
export declare function getInitialSQLSnippetsRenderModel(snippets: SQLSnippetMetaSnapshotIn[]): SQLSnippetsRenderModelSnapshotIn;
|
|
@@ -212,12 +212,13 @@ export declare const ViewRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
212
212
|
} | {
|
|
213
213
|
_name: EViewComponentType.Division;
|
|
214
214
|
};
|
|
215
|
-
panelIDs:
|
|
215
|
+
panelIDs: string[];
|
|
216
216
|
};
|
|
217
217
|
} & {
|
|
218
218
|
setName(name: string): void;
|
|
219
219
|
setType(type: EViewComponentType): void;
|
|
220
220
|
appendPanelID(id: string): void;
|
|
221
|
+
appendPanelIDs(ids: string[]): void;
|
|
221
222
|
removePanelID(id: string): void;
|
|
222
223
|
} & {
|
|
223
224
|
readonly defaultTab: string;
|
|
@@ -213,12 +213,13 @@ export declare const ViewsRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
213
213
|
} | {
|
|
214
214
|
_name: import('../../../../../model').EViewComponentType.Division;
|
|
215
215
|
};
|
|
216
|
-
panelIDs:
|
|
216
|
+
panelIDs: string[];
|
|
217
217
|
};
|
|
218
218
|
} & {
|
|
219
219
|
setName(name: string): void;
|
|
220
220
|
setType(type: import('../../../../../model').EViewComponentType): void;
|
|
221
221
|
appendPanelID(id: string): void;
|
|
222
|
+
appendPanelIDs(ids: string[]): void;
|
|
222
223
|
removePanelID(id: string): void;
|
|
223
224
|
} & {
|
|
224
225
|
readonly defaultTab: string;
|
|
@@ -258,7 +259,7 @@ export declare const ViewsRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
258
259
|
} | {
|
|
259
260
|
_name: import('../../../../../model').EViewComponentType.Division;
|
|
260
261
|
};
|
|
261
|
-
panelIDs:
|
|
262
|
+
panelIDs: string[];
|
|
262
263
|
}[];
|
|
263
264
|
readonly idMap: Map<string, {
|
|
264
265
|
id: string;
|
|
@@ -943,12 +944,13 @@ export declare const ViewsRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
943
944
|
} | {
|
|
944
945
|
_name: import('../../../../../model').EViewComponentType.Division;
|
|
945
946
|
};
|
|
946
|
-
panelIDs:
|
|
947
|
+
panelIDs: string[];
|
|
947
948
|
};
|
|
948
949
|
} & {
|
|
949
950
|
setName(name: string): void;
|
|
950
951
|
setType(type: import('../../../../../model').EViewComponentType): void;
|
|
951
952
|
appendPanelID(id: string): void;
|
|
953
|
+
appendPanelIDs(ids: string[]): void;
|
|
952
954
|
removePanelID(id: string): void;
|
|
953
955
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
954
956
|
id: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -1160,12 +1162,13 @@ export declare const ViewsRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
1160
1162
|
} | {
|
|
1161
1163
|
_name: import('../../../../../model').EViewComponentType.Division;
|
|
1162
1164
|
};
|
|
1163
|
-
panelIDs:
|
|
1165
|
+
panelIDs: string[];
|
|
1164
1166
|
};
|
|
1165
1167
|
} & {
|
|
1166
1168
|
setName(name: string): void;
|
|
1167
1169
|
setType(type: import('../../../../../model').EViewComponentType): void;
|
|
1168
1170
|
appendPanelID(id: string): void;
|
|
1171
|
+
appendPanelIDs(ids: string[]): void;
|
|
1169
1172
|
removePanelID(id: string): void;
|
|
1170
1173
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>>;
|
|
1171
1174
|
findByID(id: string): ({
|
|
@@ -1852,12 +1855,13 @@ export declare const ViewsRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
1852
1855
|
} | {
|
|
1853
1856
|
_name: import('../../../../../model').EViewComponentType.Division;
|
|
1854
1857
|
};
|
|
1855
|
-
panelIDs:
|
|
1858
|
+
panelIDs: string[];
|
|
1856
1859
|
};
|
|
1857
1860
|
} & {
|
|
1858
1861
|
setName(name: string): void;
|
|
1859
1862
|
setType(type: import('../../../../../model').EViewComponentType): void;
|
|
1860
1863
|
appendPanelID(id: string): void;
|
|
1864
|
+
appendPanelIDs(ids: string[]): void;
|
|
1861
1865
|
removePanelID(id: string): void;
|
|
1862
1866
|
} & {
|
|
1863
1867
|
readonly defaultTab: string;
|
|
@@ -2080,12 +2084,13 @@ export declare const ViewsRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
2080
2084
|
} | {
|
|
2081
2085
|
_name: import('../../../../../model').EViewComponentType.Division;
|
|
2082
2086
|
};
|
|
2083
|
-
panelIDs:
|
|
2087
|
+
panelIDs: string[];
|
|
2084
2088
|
};
|
|
2085
2089
|
} & {
|
|
2086
2090
|
setName(name: string): void;
|
|
2087
2091
|
setType(type: import('../../../../../model').EViewComponentType): void;
|
|
2088
2092
|
appendPanelID(id: string): void;
|
|
2093
|
+
appendPanelIDs(ids: string[]): void;
|
|
2089
2094
|
removePanelID(id: string): void;
|
|
2090
2095
|
} & {
|
|
2091
2096
|
readonly defaultTab: string;
|
|
@@ -2781,12 +2786,13 @@ export declare const ViewsRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
2781
2786
|
} | {
|
|
2782
2787
|
_name: import('../../../../../model').EViewComponentType.Division;
|
|
2783
2788
|
};
|
|
2784
|
-
panelIDs:
|
|
2789
|
+
panelIDs: string[];
|
|
2785
2790
|
};
|
|
2786
2791
|
} & {
|
|
2787
2792
|
setName(name: string): void;
|
|
2788
2793
|
setType(type: import('../../../../../model').EViewComponentType): void;
|
|
2789
2794
|
appendPanelID(id: string): void;
|
|
2795
|
+
appendPanelIDs(ids: string[]): void;
|
|
2790
2796
|
removePanelID(id: string): void;
|
|
2791
2797
|
} & {
|
|
2792
2798
|
readonly defaultTab: string;
|
|
@@ -3009,12 +3015,13 @@ export declare const ViewsRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
3009
3015
|
} | {
|
|
3010
3016
|
_name: import('../../../../../model').EViewComponentType.Division;
|
|
3011
3017
|
};
|
|
3012
|
-
panelIDs:
|
|
3018
|
+
panelIDs: string[];
|
|
3013
3019
|
};
|
|
3014
3020
|
} & {
|
|
3015
3021
|
setName(name: string): void;
|
|
3016
3022
|
setType(type: import('../../../../../model').EViewComponentType): void;
|
|
3017
3023
|
appendPanelID(id: string): void;
|
|
3024
|
+
appendPanelIDs(ids: string[]): void;
|
|
3018
3025
|
removePanelID(id: string): void;
|
|
3019
3026
|
} & {
|
|
3020
3027
|
readonly defaultTab: string;
|
|
@@ -3710,12 +3717,13 @@ export declare const ViewsRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
3710
3717
|
} | {
|
|
3711
3718
|
_name: import('../../../../../model').EViewComponentType.Division;
|
|
3712
3719
|
};
|
|
3713
|
-
panelIDs:
|
|
3720
|
+
panelIDs: string[];
|
|
3714
3721
|
};
|
|
3715
3722
|
} & {
|
|
3716
3723
|
setName(name: string): void;
|
|
3717
3724
|
setType(type: import('../../../../../model').EViewComponentType): void;
|
|
3718
3725
|
appendPanelID(id: string): void;
|
|
3726
|
+
appendPanelIDs(ids: string[]): void;
|
|
3719
3727
|
removePanelID(id: string): void;
|
|
3720
3728
|
} & {
|
|
3721
3729
|
readonly defaultTab: string;
|
|
@@ -3938,12 +3946,13 @@ export declare const ViewsRenderModel: import("mobx-state-tree").IModelType<{
|
|
|
3938
3946
|
} | {
|
|
3939
3947
|
_name: import('../../../../../model').EViewComponentType.Division;
|
|
3940
3948
|
};
|
|
3941
|
-
panelIDs:
|
|
3949
|
+
panelIDs: string[];
|
|
3942
3950
|
};
|
|
3943
3951
|
} & {
|
|
3944
3952
|
setName(name: string): void;
|
|
3945
3953
|
setType(type: import('../../../../../model').EViewComponentType): void;
|
|
3946
3954
|
appendPanelID(id: string): void;
|
|
3955
|
+
appendPanelIDs(ids: string[]): void;
|
|
3947
3956
|
removePanelID(id: string): void;
|
|
3948
3957
|
} & {
|
|
3949
3958
|
readonly defaultTab: string;
|