@devtable/dashboard 13.0.1 → 13.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/panel/panel-render/full-screen-render/use-panel-full-screen.d.ts +318 -0
- package/dist/components/panel/settings/common/data-field-selector.d.ts +1 -0
- package/dist/components/panel/settings/common/panel-query-selector.d.ts +14 -0
- package/dist/components/plugins/plugin-context.d.ts +340 -2
- package/dist/components/plugins/viz-components/table/migrators/index.d.ts +6 -0
- package/dist/components/plugins/viz-components/table/type.d.ts +1 -1
- package/dist/contexts/panel-context.d.ts +664 -8
- package/dist/dashboard-editor/model/panels/panel.d.ts +170 -1
- package/dist/dashboard.es.js +3255 -3199
- package/dist/dashboard.umd.js +60 -60
- package/dist/i18n/en.d.ts +2 -0
- package/dist/i18n/zh.d.ts +2 -0
- package/dist/model/render-model/dashboard/content/panels/panel.d.ts +159 -0
- package/dist/stats.html +1 -1
- package/package.json +1 -1
|
@@ -2306,6 +2306,165 @@ export declare const tokens: {
|
|
|
2306
2306
|
} & {
|
|
2307
2307
|
afterCreate(): void;
|
|
2308
2308
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
2309
|
+
readonly firstQuery: ({
|
|
2310
|
+
id: string;
|
|
2311
|
+
name: string;
|
|
2312
|
+
type: import("../..").DataSourceType;
|
|
2313
|
+
key: string;
|
|
2314
|
+
sql: string;
|
|
2315
|
+
pre_process: string;
|
|
2316
|
+
post_process: string;
|
|
2317
|
+
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]>>;
|
|
2318
|
+
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]>>;
|
|
2319
|
+
dep_query_ids: 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]>>;
|
|
2320
|
+
state: string;
|
|
2321
|
+
data: (string[][] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<string[][] | number[][] | null | undefined, string[][] | number[][], string[][] | number[][]>, [undefined]>>) | (number[][] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<string[][] | number[][] | null | undefined, string[][] | number[][], string[][] | number[][]>, [undefined]>>);
|
|
2322
|
+
error: any;
|
|
2323
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
2324
|
+
readonly valid: boolean;
|
|
2325
|
+
readonly json: {
|
|
2326
|
+
id: string;
|
|
2327
|
+
key: string;
|
|
2328
|
+
sql: string;
|
|
2329
|
+
name: string;
|
|
2330
|
+
type: import("../..").DataSourceType;
|
|
2331
|
+
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]>>;
|
|
2332
|
+
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]>>;
|
|
2333
|
+
pre_process: string;
|
|
2334
|
+
post_process: string;
|
|
2335
|
+
dep_query_ids: 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]>>;
|
|
2336
|
+
};
|
|
2337
|
+
} & {
|
|
2338
|
+
setName(name: string): void;
|
|
2339
|
+
setKey(key: string): void;
|
|
2340
|
+
setType(type: import("../..").DataSourceType): void;
|
|
2341
|
+
setSQL(sql: string): void;
|
|
2342
|
+
setRunBy(v: string[]): void;
|
|
2343
|
+
setReactTo(v: string[]): void;
|
|
2344
|
+
setPreProcess(v: string): void;
|
|
2345
|
+
setPostProcess(v: string): void;
|
|
2346
|
+
setDependantQueryIDs(v: string[]): void;
|
|
2347
|
+
} & {
|
|
2348
|
+
readonly rootModel: any;
|
|
2349
|
+
readonly contentModel: any;
|
|
2350
|
+
readonly conditionOptions: import("@mantine/core").SelectItem[];
|
|
2351
|
+
readonly unmetRunByConditions: string[];
|
|
2352
|
+
} & {
|
|
2353
|
+
readonly payload: any;
|
|
2354
|
+
readonly formattedSQL: any;
|
|
2355
|
+
readonly httpConfigString: string;
|
|
2356
|
+
readonly typedAsSQL: boolean;
|
|
2357
|
+
readonly typedAsHTTP: boolean;
|
|
2358
|
+
readonly isTransform: boolean;
|
|
2359
|
+
readonly reQueryKey: string;
|
|
2360
|
+
readonly runByConditionsMet: boolean;
|
|
2361
|
+
readonly conditionNames: {
|
|
2362
|
+
context: string[];
|
|
2363
|
+
filters: string[];
|
|
2364
|
+
};
|
|
2365
|
+
readonly queries: any;
|
|
2366
|
+
readonly inUse: any;
|
|
2367
|
+
readonly dependencies: import("../../utils").DependencyInfo[];
|
|
2368
|
+
} & {
|
|
2369
|
+
readonly datasource: any;
|
|
2370
|
+
readonly additionalQueryInfo: import("../..").TAdditionalQueryInfo;
|
|
2371
|
+
readonly depQueryModels: any;
|
|
2372
|
+
readonly depQueryModelStates: any;
|
|
2373
|
+
readonly depQueryModelStatesString: any;
|
|
2374
|
+
} & {
|
|
2375
|
+
readonly stateMessage: string;
|
|
2376
|
+
} & {
|
|
2377
|
+
controller: AbortController;
|
|
2378
|
+
} & {
|
|
2379
|
+
runSQL: () => Promise<void>;
|
|
2380
|
+
runHTTP: () => Promise<void>;
|
|
2381
|
+
runTransformation(): void;
|
|
2382
|
+
} & {
|
|
2383
|
+
fetchData: (force: boolean) => void | Promise<void>;
|
|
2384
|
+
beforeDestroy(): void;
|
|
2385
|
+
} & {
|
|
2386
|
+
afterCreate(): void;
|
|
2387
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
2388
|
+
id: import("mobx-state-tree").ISimpleType<string>;
|
|
2389
|
+
name: import("mobx-state-tree").ISimpleType<string>;
|
|
2390
|
+
type: import("mobx-state-tree").ISimpleType<import("../..").DataSourceType>;
|
|
2391
|
+
key: import("mobx-state-tree").ISimpleType<string>;
|
|
2392
|
+
sql: import("mobx-state-tree").ISimpleType<string>;
|
|
2393
|
+
pre_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
2394
|
+
post_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
2395
|
+
run_by: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
2396
|
+
react_to: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
2397
|
+
dep_query_ids: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
2398
|
+
} & {
|
|
2399
|
+
state: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
2400
|
+
data: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<string[][] | number[][] | null | undefined, string[][] | number[][], string[][] | number[][]>, [undefined]>;
|
|
2401
|
+
error: import("mobx-state-tree").IType<any, any, any>;
|
|
2402
|
+
}, {
|
|
2403
|
+
readonly valid: boolean;
|
|
2404
|
+
readonly json: {
|
|
2405
|
+
id: string;
|
|
2406
|
+
key: string;
|
|
2407
|
+
sql: string;
|
|
2408
|
+
name: string;
|
|
2409
|
+
type: import("../..").DataSourceType;
|
|
2410
|
+
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]>>;
|
|
2411
|
+
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]>>;
|
|
2412
|
+
pre_process: string;
|
|
2413
|
+
post_process: string;
|
|
2414
|
+
dep_query_ids: 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]>>;
|
|
2415
|
+
};
|
|
2416
|
+
} & {
|
|
2417
|
+
setName(name: string): void;
|
|
2418
|
+
setKey(key: string): void;
|
|
2419
|
+
setType(type: import("../..").DataSourceType): void;
|
|
2420
|
+
setSQL(sql: string): void;
|
|
2421
|
+
setRunBy(v: string[]): void;
|
|
2422
|
+
setReactTo(v: string[]): void;
|
|
2423
|
+
setPreProcess(v: string): void;
|
|
2424
|
+
setPostProcess(v: string): void;
|
|
2425
|
+
setDependantQueryIDs(v: string[]): void;
|
|
2426
|
+
} & {
|
|
2427
|
+
readonly rootModel: any;
|
|
2428
|
+
readonly contentModel: any;
|
|
2429
|
+
readonly conditionOptions: import("@mantine/core").SelectItem[];
|
|
2430
|
+
readonly unmetRunByConditions: string[];
|
|
2431
|
+
} & {
|
|
2432
|
+
readonly payload: any;
|
|
2433
|
+
readonly formattedSQL: any;
|
|
2434
|
+
readonly httpConfigString: string;
|
|
2435
|
+
readonly typedAsSQL: boolean;
|
|
2436
|
+
readonly typedAsHTTP: boolean;
|
|
2437
|
+
readonly isTransform: boolean;
|
|
2438
|
+
readonly reQueryKey: string;
|
|
2439
|
+
readonly runByConditionsMet: boolean;
|
|
2440
|
+
readonly conditionNames: {
|
|
2441
|
+
context: string[];
|
|
2442
|
+
filters: string[];
|
|
2443
|
+
};
|
|
2444
|
+
readonly queries: any;
|
|
2445
|
+
readonly inUse: any;
|
|
2446
|
+
readonly dependencies: import("../../utils").DependencyInfo[];
|
|
2447
|
+
} & {
|
|
2448
|
+
readonly datasource: any;
|
|
2449
|
+
readonly additionalQueryInfo: import("../..").TAdditionalQueryInfo;
|
|
2450
|
+
readonly depQueryModels: any;
|
|
2451
|
+
readonly depQueryModelStates: any;
|
|
2452
|
+
readonly depQueryModelStatesString: any;
|
|
2453
|
+
} & {
|
|
2454
|
+
readonly stateMessage: string;
|
|
2455
|
+
} & {
|
|
2456
|
+
controller: AbortController;
|
|
2457
|
+
} & {
|
|
2458
|
+
runSQL: () => Promise<void>;
|
|
2459
|
+
runHTTP: () => Promise<void>;
|
|
2460
|
+
runTransformation(): void;
|
|
2461
|
+
} & {
|
|
2462
|
+
fetchData: (force: boolean) => void | Promise<void>;
|
|
2463
|
+
beforeDestroy(): void;
|
|
2464
|
+
} & {
|
|
2465
|
+
afterCreate(): void;
|
|
2466
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | null;
|
|
2467
|
+
readonly firstQueryData: (string[][] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<string[][] | number[][] | null | undefined, string[][] | number[][], string[][] | number[][]>, [undefined]>>) | (number[][] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<string[][] | number[][] | null | undefined, string[][] | number[][], string[][] | number[][]>, [undefined]>>);
|
|
2309
2468
|
queryByID(queryID: string): ({
|
|
2310
2469
|
id: string;
|
|
2311
2470
|
name: string;
|
|
@@ -2789,7 +2948,17 @@ export declare const tokens: {
|
|
|
2789
2948
|
group: string;
|
|
2790
2949
|
disabled: boolean;
|
|
2791
2950
|
}[];
|
|
2792
|
-
|
|
2951
|
+
readonly realQueryOptions: {
|
|
2952
|
+
label: string;
|
|
2953
|
+
value: string;
|
|
2954
|
+
disabled: boolean;
|
|
2955
|
+
}[];
|
|
2956
|
+
queryOptions(selected: string, clearable: boolean): {
|
|
2957
|
+
label: string;
|
|
2958
|
+
value: string;
|
|
2959
|
+
disabled: boolean;
|
|
2960
|
+
}[];
|
|
2961
|
+
dataFieldOptions(selected: string, clearable: boolean, queryID?: string | undefined): {
|
|
2793
2962
|
label: string;
|
|
2794
2963
|
value: string;
|
|
2795
2964
|
group: string;
|
|
@@ -4686,6 +4855,165 @@ export declare const tokens: {
|
|
|
4686
4855
|
} & {
|
|
4687
4856
|
afterCreate(): void;
|
|
4688
4857
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
4858
|
+
readonly firstQuery: ({
|
|
4859
|
+
id: string;
|
|
4860
|
+
name: string;
|
|
4861
|
+
type: import("../..").DataSourceType;
|
|
4862
|
+
key: string;
|
|
4863
|
+
sql: string;
|
|
4864
|
+
pre_process: string;
|
|
4865
|
+
post_process: string;
|
|
4866
|
+
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]>>;
|
|
4867
|
+
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]>>;
|
|
4868
|
+
dep_query_ids: 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]>>;
|
|
4869
|
+
state: string;
|
|
4870
|
+
data: (string[][] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<string[][] | number[][] | null | undefined, string[][] | number[][], string[][] | number[][]>, [undefined]>>) | (number[][] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<string[][] | number[][] | null | undefined, string[][] | number[][], string[][] | number[][]>, [undefined]>>);
|
|
4871
|
+
error: any;
|
|
4872
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
4873
|
+
readonly valid: boolean;
|
|
4874
|
+
readonly json: {
|
|
4875
|
+
id: string;
|
|
4876
|
+
key: string;
|
|
4877
|
+
sql: string;
|
|
4878
|
+
name: string;
|
|
4879
|
+
type: import("../..").DataSourceType;
|
|
4880
|
+
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]>>;
|
|
4881
|
+
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]>>;
|
|
4882
|
+
pre_process: string;
|
|
4883
|
+
post_process: string;
|
|
4884
|
+
dep_query_ids: 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]>>;
|
|
4885
|
+
};
|
|
4886
|
+
} & {
|
|
4887
|
+
setName(name: string): void;
|
|
4888
|
+
setKey(key: string): void;
|
|
4889
|
+
setType(type: import("../..").DataSourceType): void;
|
|
4890
|
+
setSQL(sql: string): void;
|
|
4891
|
+
setRunBy(v: string[]): void;
|
|
4892
|
+
setReactTo(v: string[]): void;
|
|
4893
|
+
setPreProcess(v: string): void;
|
|
4894
|
+
setPostProcess(v: string): void;
|
|
4895
|
+
setDependantQueryIDs(v: string[]): void;
|
|
4896
|
+
} & {
|
|
4897
|
+
readonly rootModel: any;
|
|
4898
|
+
readonly contentModel: any;
|
|
4899
|
+
readonly conditionOptions: import("@mantine/core").SelectItem[];
|
|
4900
|
+
readonly unmetRunByConditions: string[];
|
|
4901
|
+
} & {
|
|
4902
|
+
readonly payload: any;
|
|
4903
|
+
readonly formattedSQL: any;
|
|
4904
|
+
readonly httpConfigString: string;
|
|
4905
|
+
readonly typedAsSQL: boolean;
|
|
4906
|
+
readonly typedAsHTTP: boolean;
|
|
4907
|
+
readonly isTransform: boolean;
|
|
4908
|
+
readonly reQueryKey: string;
|
|
4909
|
+
readonly runByConditionsMet: boolean;
|
|
4910
|
+
readonly conditionNames: {
|
|
4911
|
+
context: string[];
|
|
4912
|
+
filters: string[];
|
|
4913
|
+
};
|
|
4914
|
+
readonly queries: any;
|
|
4915
|
+
readonly inUse: any;
|
|
4916
|
+
readonly dependencies: import("../../utils").DependencyInfo[];
|
|
4917
|
+
} & {
|
|
4918
|
+
readonly datasource: any;
|
|
4919
|
+
readonly additionalQueryInfo: import("../..").TAdditionalQueryInfo;
|
|
4920
|
+
readonly depQueryModels: any;
|
|
4921
|
+
readonly depQueryModelStates: any;
|
|
4922
|
+
readonly depQueryModelStatesString: any;
|
|
4923
|
+
} & {
|
|
4924
|
+
readonly stateMessage: string;
|
|
4925
|
+
} & {
|
|
4926
|
+
controller: AbortController;
|
|
4927
|
+
} & {
|
|
4928
|
+
runSQL: () => Promise<void>;
|
|
4929
|
+
runHTTP: () => Promise<void>;
|
|
4930
|
+
runTransformation(): void;
|
|
4931
|
+
} & {
|
|
4932
|
+
fetchData: (force: boolean) => void | Promise<void>;
|
|
4933
|
+
beforeDestroy(): void;
|
|
4934
|
+
} & {
|
|
4935
|
+
afterCreate(): void;
|
|
4936
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
4937
|
+
id: import("mobx-state-tree").ISimpleType<string>;
|
|
4938
|
+
name: import("mobx-state-tree").ISimpleType<string>;
|
|
4939
|
+
type: import("mobx-state-tree").ISimpleType<import("../..").DataSourceType>;
|
|
4940
|
+
key: import("mobx-state-tree").ISimpleType<string>;
|
|
4941
|
+
sql: import("mobx-state-tree").ISimpleType<string>;
|
|
4942
|
+
pre_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
4943
|
+
post_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
4944
|
+
run_by: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
4945
|
+
react_to: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
4946
|
+
dep_query_ids: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
4947
|
+
} & {
|
|
4948
|
+
state: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
4949
|
+
data: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<string[][] | number[][] | null | undefined, string[][] | number[][], string[][] | number[][]>, [undefined]>;
|
|
4950
|
+
error: import("mobx-state-tree").IType<any, any, any>;
|
|
4951
|
+
}, {
|
|
4952
|
+
readonly valid: boolean;
|
|
4953
|
+
readonly json: {
|
|
4954
|
+
id: string;
|
|
4955
|
+
key: string;
|
|
4956
|
+
sql: string;
|
|
4957
|
+
name: string;
|
|
4958
|
+
type: import("../..").DataSourceType;
|
|
4959
|
+
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]>>;
|
|
4960
|
+
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]>>;
|
|
4961
|
+
pre_process: string;
|
|
4962
|
+
post_process: string;
|
|
4963
|
+
dep_query_ids: 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]>>;
|
|
4964
|
+
};
|
|
4965
|
+
} & {
|
|
4966
|
+
setName(name: string): void;
|
|
4967
|
+
setKey(key: string): void;
|
|
4968
|
+
setType(type: import("../..").DataSourceType): void;
|
|
4969
|
+
setSQL(sql: string): void;
|
|
4970
|
+
setRunBy(v: string[]): void;
|
|
4971
|
+
setReactTo(v: string[]): void;
|
|
4972
|
+
setPreProcess(v: string): void;
|
|
4973
|
+
setPostProcess(v: string): void;
|
|
4974
|
+
setDependantQueryIDs(v: string[]): void;
|
|
4975
|
+
} & {
|
|
4976
|
+
readonly rootModel: any;
|
|
4977
|
+
readonly contentModel: any;
|
|
4978
|
+
readonly conditionOptions: import("@mantine/core").SelectItem[];
|
|
4979
|
+
readonly unmetRunByConditions: string[];
|
|
4980
|
+
} & {
|
|
4981
|
+
readonly payload: any;
|
|
4982
|
+
readonly formattedSQL: any;
|
|
4983
|
+
readonly httpConfigString: string;
|
|
4984
|
+
readonly typedAsSQL: boolean;
|
|
4985
|
+
readonly typedAsHTTP: boolean;
|
|
4986
|
+
readonly isTransform: boolean;
|
|
4987
|
+
readonly reQueryKey: string;
|
|
4988
|
+
readonly runByConditionsMet: boolean;
|
|
4989
|
+
readonly conditionNames: {
|
|
4990
|
+
context: string[];
|
|
4991
|
+
filters: string[];
|
|
4992
|
+
};
|
|
4993
|
+
readonly queries: any;
|
|
4994
|
+
readonly inUse: any;
|
|
4995
|
+
readonly dependencies: import("../../utils").DependencyInfo[];
|
|
4996
|
+
} & {
|
|
4997
|
+
readonly datasource: any;
|
|
4998
|
+
readonly additionalQueryInfo: import("../..").TAdditionalQueryInfo;
|
|
4999
|
+
readonly depQueryModels: any;
|
|
5000
|
+
readonly depQueryModelStates: any;
|
|
5001
|
+
readonly depQueryModelStatesString: any;
|
|
5002
|
+
} & {
|
|
5003
|
+
readonly stateMessage: string;
|
|
5004
|
+
} & {
|
|
5005
|
+
controller: AbortController;
|
|
5006
|
+
} & {
|
|
5007
|
+
runSQL: () => Promise<void>;
|
|
5008
|
+
runHTTP: () => Promise<void>;
|
|
5009
|
+
runTransformation(): void;
|
|
5010
|
+
} & {
|
|
5011
|
+
fetchData: (force: boolean) => void | Promise<void>;
|
|
5012
|
+
beforeDestroy(): void;
|
|
5013
|
+
} & {
|
|
5014
|
+
afterCreate(): void;
|
|
5015
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | null;
|
|
5016
|
+
readonly firstQueryData: (string[][] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<string[][] | number[][] | null | undefined, string[][] | number[][], string[][] | number[][]>, [undefined]>>) | (number[][] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<string[][] | number[][] | null | undefined, string[][] | number[][], string[][] | number[][]>, [undefined]>>);
|
|
4689
5017
|
queryByID(queryID: string): ({
|
|
4690
5018
|
id: string;
|
|
4691
5019
|
name: string;
|
|
@@ -5169,7 +5497,17 @@ export declare const tokens: {
|
|
|
5169
5497
|
group: string;
|
|
5170
5498
|
disabled: boolean;
|
|
5171
5499
|
}[];
|
|
5172
|
-
|
|
5500
|
+
readonly realQueryOptions: {
|
|
5501
|
+
label: string;
|
|
5502
|
+
value: string;
|
|
5503
|
+
disabled: boolean;
|
|
5504
|
+
}[];
|
|
5505
|
+
queryOptions(selected: string, clearable: boolean): {
|
|
5506
|
+
label: string;
|
|
5507
|
+
value: string;
|
|
5508
|
+
disabled: boolean;
|
|
5509
|
+
}[];
|
|
5510
|
+
dataFieldOptions(selected: string, clearable: boolean, queryID?: string | undefined): {
|
|
5173
5511
|
label: string;
|
|
5174
5512
|
value: string;
|
|
5175
5513
|
group: string;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IMigrationEnv } from '../../../../../components/plugins/plugin-data-migrator';
|
|
2
|
+
import { ITableConf } from '../type';
|
|
3
|
+
export declare function v3(prev: any): ITableConf;
|
|
4
|
+
export declare function v4(legacyConf: any, { panelModel }: IMigrationEnv): ITableConf;
|
|
5
|
+
export declare function v5(prev: any): ITableConf;
|
|
6
|
+
export declare function v6(prev: any): ITableConf;
|