@devtable/dashboard 10.55.1 → 10.56.1
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/panel/settings/common/data-field-selector.d.ts +1 -1
- package/dist/components/plugins/plugin-context.d.ts +318 -2
- package/dist/contexts/panel-context.d.ts +608 -8
- package/dist/dashboard-editor/model/panels/panel.d.ts +159 -1
- package/dist/dashboard.es.js +508 -461
- package/dist/dashboard.umd.js +74 -74
- 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;
|
|
@@ -8,5 +8,5 @@ interface IDataFieldSelector {
|
|
|
8
8
|
clearable?: boolean;
|
|
9
9
|
sx?: Sx;
|
|
10
10
|
}
|
|
11
|
-
export declare const DataFieldSelector: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<IDataFieldSelector & React.RefAttributes<
|
|
11
|
+
export declare const DataFieldSelector: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<IDataFieldSelector & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>>;
|
|
12
12
|
export {};
|