@devtable/dashboard 10.56.0 → 10.56.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/panel/panel-render/full-screen-render/use-panel-full-screen.d.ts +284 -0
- package/dist/components/plugins/plugin-context.d.ts +300 -2
- package/dist/contexts/panel-context.d.ts +590 -8
- package/dist/dashboard-editor/model/panels/panel.d.ts +150 -1
- package/dist/dashboard.es.js +26 -11
- package/dist/dashboard.umd.js +68 -68
- package/dist/model/render-model/dashboard/content/panels/panel.d.ts +142 -0
- package/dist/stats.html +1 -1
- package/package.json +1 -1
|
@@ -2308,6 +2308,148 @@ export declare function usePanelFullScreen(view: ViewMetaInstance, panelID: stri
|
|
|
2308
2308
|
} & {
|
|
2309
2309
|
afterCreate(): void;
|
|
2310
2310
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
2311
|
+
queryByID(queryID: string): ({
|
|
2312
|
+
id: string;
|
|
2313
|
+
name: string;
|
|
2314
|
+
type: import('../../../../model').DataSourceType;
|
|
2315
|
+
key: string;
|
|
2316
|
+
sql: string;
|
|
2317
|
+
pre_process: string;
|
|
2318
|
+
post_process: string;
|
|
2319
|
+
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]>>;
|
|
2320
|
+
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]>>;
|
|
2321
|
+
state: string;
|
|
2322
|
+
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]>>);
|
|
2323
|
+
error: any;
|
|
2324
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
2325
|
+
readonly valid: boolean;
|
|
2326
|
+
readonly json: {
|
|
2327
|
+
id: string;
|
|
2328
|
+
key: string;
|
|
2329
|
+
sql: string;
|
|
2330
|
+
name: string;
|
|
2331
|
+
type: import('../../../../model').DataSourceType;
|
|
2332
|
+
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]>>;
|
|
2333
|
+
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]>>;
|
|
2334
|
+
pre_process: string;
|
|
2335
|
+
post_process: string;
|
|
2336
|
+
};
|
|
2337
|
+
} & {
|
|
2338
|
+
setName(name: string): void;
|
|
2339
|
+
setKey(key: string): void;
|
|
2340
|
+
setType(type: import('../../../../model').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
|
+
} & {
|
|
2347
|
+
readonly rootModel: any;
|
|
2348
|
+
readonly contentModel: any;
|
|
2349
|
+
readonly conditionOptions: import("@mantine/core").SelectItem[];
|
|
2350
|
+
readonly unmetRunByConditions: string[];
|
|
2351
|
+
} & {
|
|
2352
|
+
readonly payload: any;
|
|
2353
|
+
readonly formattedSQL: any;
|
|
2354
|
+
readonly httpConfigString: string;
|
|
2355
|
+
readonly typedAsSQL: boolean;
|
|
2356
|
+
readonly typedAsHTTP: boolean;
|
|
2357
|
+
readonly reQueryKey: string;
|
|
2358
|
+
readonly runByConditionsMet: boolean;
|
|
2359
|
+
readonly conditionNames: {
|
|
2360
|
+
context: string[];
|
|
2361
|
+
filters: any[];
|
|
2362
|
+
};
|
|
2363
|
+
readonly queries: any;
|
|
2364
|
+
readonly inUse: any;
|
|
2365
|
+
readonly dependencies: import("../../../../utils/usage").DependencyInfo[];
|
|
2366
|
+
} & {
|
|
2367
|
+
readonly datasource: any;
|
|
2368
|
+
readonly additionalQueryInfo: import("../../../..").TAdditionalQueryInfo;
|
|
2369
|
+
} & {
|
|
2370
|
+
readonly stateMessage: string;
|
|
2371
|
+
} & {
|
|
2372
|
+
controller: AbortController;
|
|
2373
|
+
} & {
|
|
2374
|
+
runSQL: () => Promise<void>;
|
|
2375
|
+
runHTTP: () => Promise<void>;
|
|
2376
|
+
} & {
|
|
2377
|
+
fetchData: (force: boolean) => Promise<void> | undefined;
|
|
2378
|
+
beforeDestroy(): void;
|
|
2379
|
+
} & {
|
|
2380
|
+
afterCreate(): void;
|
|
2381
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
2382
|
+
id: import("mobx-state-tree").ISimpleType<string>;
|
|
2383
|
+
name: import("mobx-state-tree").ISimpleType<string>;
|
|
2384
|
+
type: import("mobx-state-tree").ISimpleType<import('../../../../model').DataSourceType>;
|
|
2385
|
+
key: import("mobx-state-tree").ISimpleType<string>;
|
|
2386
|
+
sql: import("mobx-state-tree").ISimpleType<string>;
|
|
2387
|
+
pre_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
2388
|
+
post_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
2389
|
+
run_by: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
2390
|
+
react_to: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
2391
|
+
} & {
|
|
2392
|
+
state: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
2393
|
+
data: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<string[][] | number[][] | null | undefined, string[][] | number[][], string[][] | number[][]>, [undefined]>;
|
|
2394
|
+
error: import("mobx-state-tree").IType<any, any, any>;
|
|
2395
|
+
}, {
|
|
2396
|
+
readonly valid: boolean;
|
|
2397
|
+
readonly json: {
|
|
2398
|
+
id: string;
|
|
2399
|
+
key: string;
|
|
2400
|
+
sql: string;
|
|
2401
|
+
name: string;
|
|
2402
|
+
type: import('../../../../model').DataSourceType;
|
|
2403
|
+
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]>>;
|
|
2404
|
+
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]>>;
|
|
2405
|
+
pre_process: string;
|
|
2406
|
+
post_process: string;
|
|
2407
|
+
};
|
|
2408
|
+
} & {
|
|
2409
|
+
setName(name: string): void;
|
|
2410
|
+
setKey(key: string): void;
|
|
2411
|
+
setType(type: import('../../../../model').DataSourceType): void;
|
|
2412
|
+
setSQL(sql: string): void;
|
|
2413
|
+
setRunBy(v: string[]): void;
|
|
2414
|
+
setReactTo(v: string[]): void;
|
|
2415
|
+
setPreProcess(v: string): void;
|
|
2416
|
+
setPostProcess(v: string): void;
|
|
2417
|
+
} & {
|
|
2418
|
+
readonly rootModel: any;
|
|
2419
|
+
readonly contentModel: any;
|
|
2420
|
+
readonly conditionOptions: import("@mantine/core").SelectItem[];
|
|
2421
|
+
readonly unmetRunByConditions: string[];
|
|
2422
|
+
} & {
|
|
2423
|
+
readonly payload: any;
|
|
2424
|
+
readonly formattedSQL: any;
|
|
2425
|
+
readonly httpConfigString: string;
|
|
2426
|
+
readonly typedAsSQL: boolean;
|
|
2427
|
+
readonly typedAsHTTP: boolean;
|
|
2428
|
+
readonly reQueryKey: string;
|
|
2429
|
+
readonly runByConditionsMet: boolean;
|
|
2430
|
+
readonly conditionNames: {
|
|
2431
|
+
context: string[];
|
|
2432
|
+
filters: any[];
|
|
2433
|
+
};
|
|
2434
|
+
readonly queries: any;
|
|
2435
|
+
readonly inUse: any;
|
|
2436
|
+
readonly dependencies: import("../../../../utils/usage").DependencyInfo[];
|
|
2437
|
+
} & {
|
|
2438
|
+
readonly datasource: any;
|
|
2439
|
+
readonly additionalQueryInfo: import("../../../..").TAdditionalQueryInfo;
|
|
2440
|
+
} & {
|
|
2441
|
+
readonly stateMessage: string;
|
|
2442
|
+
} & {
|
|
2443
|
+
controller: AbortController;
|
|
2444
|
+
} & {
|
|
2445
|
+
runSQL: () => Promise<void>;
|
|
2446
|
+
runHTTP: () => Promise<void>;
|
|
2447
|
+
} & {
|
|
2448
|
+
fetchData: (force: boolean) => Promise<void> | undefined;
|
|
2449
|
+
beforeDestroy(): void;
|
|
2450
|
+
} & {
|
|
2451
|
+
afterCreate(): void;
|
|
2452
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
2311
2453
|
readonly data: TPanelData;
|
|
2312
2454
|
readonly variableStrings: Record<string, React.ReactNode>;
|
|
2313
2455
|
readonly dataLoading: boolean;
|
|
@@ -4508,6 +4650,148 @@ export declare function usePanelFullScreen(view: ViewMetaInstance, panelID: stri
|
|
|
4508
4650
|
} & {
|
|
4509
4651
|
afterCreate(): void;
|
|
4510
4652
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
4653
|
+
queryByID(queryID: string): ({
|
|
4654
|
+
id: string;
|
|
4655
|
+
name: string;
|
|
4656
|
+
type: import('../../../../model').DataSourceType;
|
|
4657
|
+
key: string;
|
|
4658
|
+
sql: string;
|
|
4659
|
+
pre_process: string;
|
|
4660
|
+
post_process: string;
|
|
4661
|
+
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]>>;
|
|
4662
|
+
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]>>;
|
|
4663
|
+
state: string;
|
|
4664
|
+
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]>>);
|
|
4665
|
+
error: any;
|
|
4666
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
4667
|
+
readonly valid: boolean;
|
|
4668
|
+
readonly json: {
|
|
4669
|
+
id: string;
|
|
4670
|
+
key: string;
|
|
4671
|
+
sql: string;
|
|
4672
|
+
name: string;
|
|
4673
|
+
type: import('../../../../model').DataSourceType;
|
|
4674
|
+
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]>>;
|
|
4675
|
+
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]>>;
|
|
4676
|
+
pre_process: string;
|
|
4677
|
+
post_process: string;
|
|
4678
|
+
};
|
|
4679
|
+
} & {
|
|
4680
|
+
setName(name: string): void;
|
|
4681
|
+
setKey(key: string): void;
|
|
4682
|
+
setType(type: import('../../../../model').DataSourceType): void;
|
|
4683
|
+
setSQL(sql: string): void;
|
|
4684
|
+
setRunBy(v: string[]): void;
|
|
4685
|
+
setReactTo(v: string[]): void;
|
|
4686
|
+
setPreProcess(v: string): void;
|
|
4687
|
+
setPostProcess(v: string): void;
|
|
4688
|
+
} & {
|
|
4689
|
+
readonly rootModel: any;
|
|
4690
|
+
readonly contentModel: any;
|
|
4691
|
+
readonly conditionOptions: import("@mantine/core").SelectItem[];
|
|
4692
|
+
readonly unmetRunByConditions: string[];
|
|
4693
|
+
} & {
|
|
4694
|
+
readonly payload: any;
|
|
4695
|
+
readonly formattedSQL: any;
|
|
4696
|
+
readonly httpConfigString: string;
|
|
4697
|
+
readonly typedAsSQL: boolean;
|
|
4698
|
+
readonly typedAsHTTP: boolean;
|
|
4699
|
+
readonly reQueryKey: string;
|
|
4700
|
+
readonly runByConditionsMet: boolean;
|
|
4701
|
+
readonly conditionNames: {
|
|
4702
|
+
context: string[];
|
|
4703
|
+
filters: any[];
|
|
4704
|
+
};
|
|
4705
|
+
readonly queries: any;
|
|
4706
|
+
readonly inUse: any;
|
|
4707
|
+
readonly dependencies: import("../../../../utils/usage").DependencyInfo[];
|
|
4708
|
+
} & {
|
|
4709
|
+
readonly datasource: any;
|
|
4710
|
+
readonly additionalQueryInfo: import("../../../..").TAdditionalQueryInfo;
|
|
4711
|
+
} & {
|
|
4712
|
+
readonly stateMessage: string;
|
|
4713
|
+
} & {
|
|
4714
|
+
controller: AbortController;
|
|
4715
|
+
} & {
|
|
4716
|
+
runSQL: () => Promise<void>;
|
|
4717
|
+
runHTTP: () => Promise<void>;
|
|
4718
|
+
} & {
|
|
4719
|
+
fetchData: (force: boolean) => Promise<void> | undefined;
|
|
4720
|
+
beforeDestroy(): void;
|
|
4721
|
+
} & {
|
|
4722
|
+
afterCreate(): void;
|
|
4723
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
4724
|
+
id: import("mobx-state-tree").ISimpleType<string>;
|
|
4725
|
+
name: import("mobx-state-tree").ISimpleType<string>;
|
|
4726
|
+
type: import("mobx-state-tree").ISimpleType<import('../../../../model').DataSourceType>;
|
|
4727
|
+
key: import("mobx-state-tree").ISimpleType<string>;
|
|
4728
|
+
sql: import("mobx-state-tree").ISimpleType<string>;
|
|
4729
|
+
pre_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
4730
|
+
post_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
4731
|
+
run_by: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
4732
|
+
react_to: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
4733
|
+
} & {
|
|
4734
|
+
state: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
4735
|
+
data: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<string[][] | number[][] | null | undefined, string[][] | number[][], string[][] | number[][]>, [undefined]>;
|
|
4736
|
+
error: import("mobx-state-tree").IType<any, any, any>;
|
|
4737
|
+
}, {
|
|
4738
|
+
readonly valid: boolean;
|
|
4739
|
+
readonly json: {
|
|
4740
|
+
id: string;
|
|
4741
|
+
key: string;
|
|
4742
|
+
sql: string;
|
|
4743
|
+
name: string;
|
|
4744
|
+
type: import('../../../../model').DataSourceType;
|
|
4745
|
+
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]>>;
|
|
4746
|
+
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]>>;
|
|
4747
|
+
pre_process: string;
|
|
4748
|
+
post_process: string;
|
|
4749
|
+
};
|
|
4750
|
+
} & {
|
|
4751
|
+
setName(name: string): void;
|
|
4752
|
+
setKey(key: string): void;
|
|
4753
|
+
setType(type: import('../../../../model').DataSourceType): void;
|
|
4754
|
+
setSQL(sql: string): void;
|
|
4755
|
+
setRunBy(v: string[]): void;
|
|
4756
|
+
setReactTo(v: string[]): void;
|
|
4757
|
+
setPreProcess(v: string): void;
|
|
4758
|
+
setPostProcess(v: string): void;
|
|
4759
|
+
} & {
|
|
4760
|
+
readonly rootModel: any;
|
|
4761
|
+
readonly contentModel: any;
|
|
4762
|
+
readonly conditionOptions: import("@mantine/core").SelectItem[];
|
|
4763
|
+
readonly unmetRunByConditions: string[];
|
|
4764
|
+
} & {
|
|
4765
|
+
readonly payload: any;
|
|
4766
|
+
readonly formattedSQL: any;
|
|
4767
|
+
readonly httpConfigString: string;
|
|
4768
|
+
readonly typedAsSQL: boolean;
|
|
4769
|
+
readonly typedAsHTTP: boolean;
|
|
4770
|
+
readonly reQueryKey: string;
|
|
4771
|
+
readonly runByConditionsMet: boolean;
|
|
4772
|
+
readonly conditionNames: {
|
|
4773
|
+
context: string[];
|
|
4774
|
+
filters: any[];
|
|
4775
|
+
};
|
|
4776
|
+
readonly queries: any;
|
|
4777
|
+
readonly inUse: any;
|
|
4778
|
+
readonly dependencies: import("../../../../utils/usage").DependencyInfo[];
|
|
4779
|
+
} & {
|
|
4780
|
+
readonly datasource: any;
|
|
4781
|
+
readonly additionalQueryInfo: import("../../../..").TAdditionalQueryInfo;
|
|
4782
|
+
} & {
|
|
4783
|
+
readonly stateMessage: string;
|
|
4784
|
+
} & {
|
|
4785
|
+
controller: AbortController;
|
|
4786
|
+
} & {
|
|
4787
|
+
runSQL: () => Promise<void>;
|
|
4788
|
+
runHTTP: () => Promise<void>;
|
|
4789
|
+
} & {
|
|
4790
|
+
fetchData: (force: boolean) => Promise<void> | undefined;
|
|
4791
|
+
beforeDestroy(): void;
|
|
4792
|
+
} & {
|
|
4793
|
+
afterCreate(): void;
|
|
4794
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
4511
4795
|
readonly data: TPanelData;
|
|
4512
4796
|
readonly variableStrings: Record<string, React.ReactNode>;
|
|
4513
4797
|
readonly dataLoading: boolean;
|
|
@@ -2323,6 +2323,148 @@ export declare const tokens: {
|
|
|
2323
2323
|
} & {
|
|
2324
2324
|
afterCreate(): void;
|
|
2325
2325
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
2326
|
+
queryByID(queryID: string): ({
|
|
2327
|
+
id: string;
|
|
2328
|
+
name: string;
|
|
2329
|
+
type: import("../../model").DataSourceType;
|
|
2330
|
+
key: string;
|
|
2331
|
+
sql: string;
|
|
2332
|
+
pre_process: string;
|
|
2333
|
+
post_process: string;
|
|
2334
|
+
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]>>;
|
|
2335
|
+
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]>>;
|
|
2336
|
+
state: string;
|
|
2337
|
+
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]>>);
|
|
2338
|
+
error: any;
|
|
2339
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
2340
|
+
readonly valid: boolean;
|
|
2341
|
+
readonly json: {
|
|
2342
|
+
id: string;
|
|
2343
|
+
key: string;
|
|
2344
|
+
sql: string;
|
|
2345
|
+
name: string;
|
|
2346
|
+
type: import("../../model").DataSourceType;
|
|
2347
|
+
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]>>;
|
|
2348
|
+
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]>>;
|
|
2349
|
+
pre_process: string;
|
|
2350
|
+
post_process: string;
|
|
2351
|
+
};
|
|
2352
|
+
} & {
|
|
2353
|
+
setName(name: string): void;
|
|
2354
|
+
setKey(key: string): void;
|
|
2355
|
+
setType(type: import("../../model").DataSourceType): void;
|
|
2356
|
+
setSQL(sql: string): void;
|
|
2357
|
+
setRunBy(v: string[]): void;
|
|
2358
|
+
setReactTo(v: string[]): void;
|
|
2359
|
+
setPreProcess(v: string): void;
|
|
2360
|
+
setPostProcess(v: string): void;
|
|
2361
|
+
} & {
|
|
2362
|
+
readonly rootModel: any;
|
|
2363
|
+
readonly contentModel: any;
|
|
2364
|
+
readonly conditionOptions: import("@mantine/core").SelectItem[];
|
|
2365
|
+
readonly unmetRunByConditions: string[];
|
|
2366
|
+
} & {
|
|
2367
|
+
readonly payload: any;
|
|
2368
|
+
readonly formattedSQL: any;
|
|
2369
|
+
readonly httpConfigString: string;
|
|
2370
|
+
readonly typedAsSQL: boolean;
|
|
2371
|
+
readonly typedAsHTTP: boolean;
|
|
2372
|
+
readonly reQueryKey: string;
|
|
2373
|
+
readonly runByConditionsMet: boolean;
|
|
2374
|
+
readonly conditionNames: {
|
|
2375
|
+
context: string[];
|
|
2376
|
+
filters: any[];
|
|
2377
|
+
};
|
|
2378
|
+
readonly queries: any;
|
|
2379
|
+
readonly inUse: any;
|
|
2380
|
+
readonly dependencies: import("../../utils/usage").DependencyInfo[];
|
|
2381
|
+
} & {
|
|
2382
|
+
readonly datasource: any;
|
|
2383
|
+
readonly additionalQueryInfo: import("../..").TAdditionalQueryInfo;
|
|
2384
|
+
} & {
|
|
2385
|
+
readonly stateMessage: string;
|
|
2386
|
+
} & {
|
|
2387
|
+
controller: AbortController;
|
|
2388
|
+
} & {
|
|
2389
|
+
runSQL: () => Promise<void>;
|
|
2390
|
+
runHTTP: () => Promise<void>;
|
|
2391
|
+
} & {
|
|
2392
|
+
fetchData: (force: boolean) => Promise<void> | undefined;
|
|
2393
|
+
beforeDestroy(): void;
|
|
2394
|
+
} & {
|
|
2395
|
+
afterCreate(): void;
|
|
2396
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
2397
|
+
id: import("mobx-state-tree").ISimpleType<string>;
|
|
2398
|
+
name: import("mobx-state-tree").ISimpleType<string>;
|
|
2399
|
+
type: import("mobx-state-tree").ISimpleType<import("../../model").DataSourceType>;
|
|
2400
|
+
key: import("mobx-state-tree").ISimpleType<string>;
|
|
2401
|
+
sql: import("mobx-state-tree").ISimpleType<string>;
|
|
2402
|
+
pre_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
2403
|
+
post_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
2404
|
+
run_by: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
2405
|
+
react_to: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
2406
|
+
} & {
|
|
2407
|
+
state: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
2408
|
+
data: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<string[][] | number[][] | null | undefined, string[][] | number[][], string[][] | number[][]>, [undefined]>;
|
|
2409
|
+
error: import("mobx-state-tree").IType<any, any, any>;
|
|
2410
|
+
}, {
|
|
2411
|
+
readonly valid: boolean;
|
|
2412
|
+
readonly json: {
|
|
2413
|
+
id: string;
|
|
2414
|
+
key: string;
|
|
2415
|
+
sql: string;
|
|
2416
|
+
name: string;
|
|
2417
|
+
type: import("../../model").DataSourceType;
|
|
2418
|
+
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]>>;
|
|
2419
|
+
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]>>;
|
|
2420
|
+
pre_process: string;
|
|
2421
|
+
post_process: string;
|
|
2422
|
+
};
|
|
2423
|
+
} & {
|
|
2424
|
+
setName(name: string): void;
|
|
2425
|
+
setKey(key: string): void;
|
|
2426
|
+
setType(type: import("../../model").DataSourceType): void;
|
|
2427
|
+
setSQL(sql: string): void;
|
|
2428
|
+
setRunBy(v: string[]): void;
|
|
2429
|
+
setReactTo(v: string[]): void;
|
|
2430
|
+
setPreProcess(v: string): void;
|
|
2431
|
+
setPostProcess(v: string): void;
|
|
2432
|
+
} & {
|
|
2433
|
+
readonly rootModel: any;
|
|
2434
|
+
readonly contentModel: any;
|
|
2435
|
+
readonly conditionOptions: import("@mantine/core").SelectItem[];
|
|
2436
|
+
readonly unmetRunByConditions: string[];
|
|
2437
|
+
} & {
|
|
2438
|
+
readonly payload: any;
|
|
2439
|
+
readonly formattedSQL: any;
|
|
2440
|
+
readonly httpConfigString: string;
|
|
2441
|
+
readonly typedAsSQL: boolean;
|
|
2442
|
+
readonly typedAsHTTP: boolean;
|
|
2443
|
+
readonly reQueryKey: string;
|
|
2444
|
+
readonly runByConditionsMet: boolean;
|
|
2445
|
+
readonly conditionNames: {
|
|
2446
|
+
context: string[];
|
|
2447
|
+
filters: any[];
|
|
2448
|
+
};
|
|
2449
|
+
readonly queries: any;
|
|
2450
|
+
readonly inUse: any;
|
|
2451
|
+
readonly dependencies: import("../../utils/usage").DependencyInfo[];
|
|
2452
|
+
} & {
|
|
2453
|
+
readonly datasource: any;
|
|
2454
|
+
readonly additionalQueryInfo: import("../..").TAdditionalQueryInfo;
|
|
2455
|
+
} & {
|
|
2456
|
+
readonly stateMessage: string;
|
|
2457
|
+
} & {
|
|
2458
|
+
controller: AbortController;
|
|
2459
|
+
} & {
|
|
2460
|
+
runSQL: () => Promise<void>;
|
|
2461
|
+
runHTTP: () => Promise<void>;
|
|
2462
|
+
} & {
|
|
2463
|
+
fetchData: (force: boolean) => Promise<void> | undefined;
|
|
2464
|
+
beforeDestroy(): void;
|
|
2465
|
+
} & {
|
|
2466
|
+
afterCreate(): void;
|
|
2467
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
2326
2468
|
readonly data: TPanelData;
|
|
2327
2469
|
readonly variableStrings: Record<string, import('./react').ReactNode>;
|
|
2328
2470
|
readonly dataLoading: boolean;
|
|
@@ -2646,10 +2788,17 @@ export declare const tokens: {
|
|
|
2646
2788
|
};
|
|
2647
2789
|
downloadSchema(): void;
|
|
2648
2790
|
} & {
|
|
2649
|
-
readonly
|
|
2791
|
+
readonly realDataFieldOptions: {
|
|
2792
|
+
label: string;
|
|
2793
|
+
value: string;
|
|
2794
|
+
group: string;
|
|
2795
|
+
disabled: boolean;
|
|
2796
|
+
}[];
|
|
2797
|
+
dataFieldOptions(selected: string, clearable: boolean): {
|
|
2650
2798
|
label: string;
|
|
2651
2799
|
value: string;
|
|
2652
2800
|
group: string;
|
|
2801
|
+
disabled: boolean;
|
|
2653
2802
|
}[];
|
|
2654
2803
|
explainDataKey(dataKey: string): {
|
|
2655
2804
|
queryID: string;
|
|
@@ -4542,6 +4691,148 @@ export declare const tokens: {
|
|
|
4542
4691
|
} & {
|
|
4543
4692
|
afterCreate(): void;
|
|
4544
4693
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
4694
|
+
queryByID(queryID: string): ({
|
|
4695
|
+
id: string;
|
|
4696
|
+
name: string;
|
|
4697
|
+
type: import("../../model").DataSourceType;
|
|
4698
|
+
key: string;
|
|
4699
|
+
sql: string;
|
|
4700
|
+
pre_process: string;
|
|
4701
|
+
post_process: string;
|
|
4702
|
+
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]>>;
|
|
4703
|
+
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]>>;
|
|
4704
|
+
state: string;
|
|
4705
|
+
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]>>);
|
|
4706
|
+
error: any;
|
|
4707
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
4708
|
+
readonly valid: boolean;
|
|
4709
|
+
readonly json: {
|
|
4710
|
+
id: string;
|
|
4711
|
+
key: string;
|
|
4712
|
+
sql: string;
|
|
4713
|
+
name: string;
|
|
4714
|
+
type: import("../../model").DataSourceType;
|
|
4715
|
+
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]>>;
|
|
4716
|
+
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]>>;
|
|
4717
|
+
pre_process: string;
|
|
4718
|
+
post_process: string;
|
|
4719
|
+
};
|
|
4720
|
+
} & {
|
|
4721
|
+
setName(name: string): void;
|
|
4722
|
+
setKey(key: string): void;
|
|
4723
|
+
setType(type: import("../../model").DataSourceType): void;
|
|
4724
|
+
setSQL(sql: string): void;
|
|
4725
|
+
setRunBy(v: string[]): void;
|
|
4726
|
+
setReactTo(v: string[]): void;
|
|
4727
|
+
setPreProcess(v: string): void;
|
|
4728
|
+
setPostProcess(v: string): void;
|
|
4729
|
+
} & {
|
|
4730
|
+
readonly rootModel: any;
|
|
4731
|
+
readonly contentModel: any;
|
|
4732
|
+
readonly conditionOptions: import("@mantine/core").SelectItem[];
|
|
4733
|
+
readonly unmetRunByConditions: string[];
|
|
4734
|
+
} & {
|
|
4735
|
+
readonly payload: any;
|
|
4736
|
+
readonly formattedSQL: any;
|
|
4737
|
+
readonly httpConfigString: string;
|
|
4738
|
+
readonly typedAsSQL: boolean;
|
|
4739
|
+
readonly typedAsHTTP: boolean;
|
|
4740
|
+
readonly reQueryKey: string;
|
|
4741
|
+
readonly runByConditionsMet: boolean;
|
|
4742
|
+
readonly conditionNames: {
|
|
4743
|
+
context: string[];
|
|
4744
|
+
filters: any[];
|
|
4745
|
+
};
|
|
4746
|
+
readonly queries: any;
|
|
4747
|
+
readonly inUse: any;
|
|
4748
|
+
readonly dependencies: import("../../utils/usage").DependencyInfo[];
|
|
4749
|
+
} & {
|
|
4750
|
+
readonly datasource: any;
|
|
4751
|
+
readonly additionalQueryInfo: import("../..").TAdditionalQueryInfo;
|
|
4752
|
+
} & {
|
|
4753
|
+
readonly stateMessage: string;
|
|
4754
|
+
} & {
|
|
4755
|
+
controller: AbortController;
|
|
4756
|
+
} & {
|
|
4757
|
+
runSQL: () => Promise<void>;
|
|
4758
|
+
runHTTP: () => Promise<void>;
|
|
4759
|
+
} & {
|
|
4760
|
+
fetchData: (force: boolean) => Promise<void> | undefined;
|
|
4761
|
+
beforeDestroy(): void;
|
|
4762
|
+
} & {
|
|
4763
|
+
afterCreate(): void;
|
|
4764
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
4765
|
+
id: import("mobx-state-tree").ISimpleType<string>;
|
|
4766
|
+
name: import("mobx-state-tree").ISimpleType<string>;
|
|
4767
|
+
type: import("mobx-state-tree").ISimpleType<import("../../model").DataSourceType>;
|
|
4768
|
+
key: import("mobx-state-tree").ISimpleType<string>;
|
|
4769
|
+
sql: import("mobx-state-tree").ISimpleType<string>;
|
|
4770
|
+
pre_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
4771
|
+
post_process: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
4772
|
+
run_by: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
4773
|
+
react_to: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
4774
|
+
} & {
|
|
4775
|
+
state: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
4776
|
+
data: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<string[][] | number[][] | null | undefined, string[][] | number[][], string[][] | number[][]>, [undefined]>;
|
|
4777
|
+
error: import("mobx-state-tree").IType<any, any, any>;
|
|
4778
|
+
}, {
|
|
4779
|
+
readonly valid: boolean;
|
|
4780
|
+
readonly json: {
|
|
4781
|
+
id: string;
|
|
4782
|
+
key: string;
|
|
4783
|
+
sql: string;
|
|
4784
|
+
name: string;
|
|
4785
|
+
type: import("../../model").DataSourceType;
|
|
4786
|
+
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]>>;
|
|
4787
|
+
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]>>;
|
|
4788
|
+
pre_process: string;
|
|
4789
|
+
post_process: string;
|
|
4790
|
+
};
|
|
4791
|
+
} & {
|
|
4792
|
+
setName(name: string): void;
|
|
4793
|
+
setKey(key: string): void;
|
|
4794
|
+
setType(type: import("../../model").DataSourceType): void;
|
|
4795
|
+
setSQL(sql: string): void;
|
|
4796
|
+
setRunBy(v: string[]): void;
|
|
4797
|
+
setReactTo(v: string[]): void;
|
|
4798
|
+
setPreProcess(v: string): void;
|
|
4799
|
+
setPostProcess(v: string): void;
|
|
4800
|
+
} & {
|
|
4801
|
+
readonly rootModel: any;
|
|
4802
|
+
readonly contentModel: any;
|
|
4803
|
+
readonly conditionOptions: import("@mantine/core").SelectItem[];
|
|
4804
|
+
readonly unmetRunByConditions: string[];
|
|
4805
|
+
} & {
|
|
4806
|
+
readonly payload: any;
|
|
4807
|
+
readonly formattedSQL: any;
|
|
4808
|
+
readonly httpConfigString: string;
|
|
4809
|
+
readonly typedAsSQL: boolean;
|
|
4810
|
+
readonly typedAsHTTP: boolean;
|
|
4811
|
+
readonly reQueryKey: string;
|
|
4812
|
+
readonly runByConditionsMet: boolean;
|
|
4813
|
+
readonly conditionNames: {
|
|
4814
|
+
context: string[];
|
|
4815
|
+
filters: any[];
|
|
4816
|
+
};
|
|
4817
|
+
readonly queries: any;
|
|
4818
|
+
readonly inUse: any;
|
|
4819
|
+
readonly dependencies: import("../../utils/usage").DependencyInfo[];
|
|
4820
|
+
} & {
|
|
4821
|
+
readonly datasource: any;
|
|
4822
|
+
readonly additionalQueryInfo: import("../..").TAdditionalQueryInfo;
|
|
4823
|
+
} & {
|
|
4824
|
+
readonly stateMessage: string;
|
|
4825
|
+
} & {
|
|
4826
|
+
controller: AbortController;
|
|
4827
|
+
} & {
|
|
4828
|
+
runSQL: () => Promise<void>;
|
|
4829
|
+
runHTTP: () => Promise<void>;
|
|
4830
|
+
} & {
|
|
4831
|
+
fetchData: (force: boolean) => Promise<void> | undefined;
|
|
4832
|
+
beforeDestroy(): void;
|
|
4833
|
+
} & {
|
|
4834
|
+
afterCreate(): void;
|
|
4835
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
4545
4836
|
readonly data: TPanelData;
|
|
4546
4837
|
readonly variableStrings: Record<string, import('./react').ReactNode>;
|
|
4547
4838
|
readonly dataLoading: boolean;
|
|
@@ -4865,10 +5156,17 @@ export declare const tokens: {
|
|
|
4865
5156
|
};
|
|
4866
5157
|
downloadSchema(): void;
|
|
4867
5158
|
} & {
|
|
4868
|
-
readonly
|
|
5159
|
+
readonly realDataFieldOptions: {
|
|
5160
|
+
label: string;
|
|
5161
|
+
value: string;
|
|
5162
|
+
group: string;
|
|
5163
|
+
disabled: boolean;
|
|
5164
|
+
}[];
|
|
5165
|
+
dataFieldOptions(selected: string, clearable: boolean): {
|
|
4869
5166
|
label: string;
|
|
4870
5167
|
value: string;
|
|
4871
5168
|
group: string;
|
|
5169
|
+
disabled: boolean;
|
|
4872
5170
|
}[];
|
|
4873
5171
|
explainDataKey(dataKey: string): {
|
|
4874
5172
|
queryID: string;
|