@devtable/dashboard 10.40.0 → 10.42.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.
Files changed (30) hide show
  1. package/dist/api-caller/index.d.ts +5 -2
  2. package/dist/api-caller/request.d.ts +25 -8
  3. package/dist/components/panel/panel-render/full-screen-render/use-panel-full-screen.d.ts +70 -10
  4. package/dist/components/plugins/plugin-context.d.ts +70 -10
  5. package/dist/components/plugins/viz-manager/components.d.ts +1 -3
  6. package/dist/contexts/panel-context.d.ts +140 -20
  7. package/dist/dashboard-editor/model/datasources/columns.d.ts +0 -1
  8. package/dist/dashboard-editor/model/datasources/datasource.d.ts +10 -7
  9. package/dist/dashboard-editor/model/datasources/index.d.ts +13 -16
  10. package/dist/dashboard-editor/model/datasources/indexes.d.ts +0 -1
  11. package/dist/dashboard-editor/model/datasources/table-data.d.ts +1 -1
  12. package/dist/dashboard-editor/model/datasources/tables.d.ts +0 -1
  13. package/dist/dashboard-editor/model/panels/panel.d.ts +31 -5
  14. package/dist/dashboard-editor/model/panels/panels.d.ts +290 -41
  15. package/dist/dashboard-editor/model/queries/index.d.ts +7 -7
  16. package/dist/dashboard-editor/ui/settings/content/data-preview/index.d.ts +2 -1
  17. package/dist/dashboard-editor/ui/settings/content/edit-panel/panel-config/name.d.ts +3 -0
  18. package/dist/dashboard.es.js +2302 -2295
  19. package/dist/dashboard.umd.js +61 -121
  20. package/dist/model/meta-model/dashboard/content/panel/index.d.ts +1 -0
  21. package/dist/model/meta-model/dashboard/content/panel/panel.d.ts +29 -3
  22. package/dist/model/meta-model/dashboard/content/panel/title.d.ts +9 -0
  23. package/dist/model/render-model/dashboard/content/panels/panel.d.ts +31 -5
  24. package/dist/model/render-model/dashboard/content/panels/panels.d.ts +259 -36
  25. package/dist/model/render-model/dashboard/content/queries/queries.d.ts +5 -5
  26. package/dist/model/render-model/dashboard/content/queries/query.d.ts +2 -1
  27. package/dist/stats.html +1 -1
  28. package/dist/types/dashboard.d.ts +4 -1
  29. package/dist/types/plugin/index.d.ts +0 -9
  30. package/package.json +1 -1
@@ -1,4 +1,5 @@
1
1
  import { DataSourceType, TPayloadForSQL } from '~/model';
2
+ import { TAdditionalQueryInfo } from './request';
2
3
  import { IDataSource } from './types';
3
4
  import { AxiosError } from 'axios';
4
5
  import { AnyObject } from '..';
@@ -18,15 +19,17 @@ interface IQueryBySQL {
18
19
  post_process: string;
19
20
  };
20
21
  payload: TPayloadForSQL;
22
+ additionals: TAdditionalQueryInfo;
21
23
  }
22
- export declare function queryBySQL({ query, name, payload }: IQueryBySQL, signal: AbortSignal): Promise<any>;
24
+ export declare function queryBySQL({ query, name, payload, additionals }: IQueryBySQL, signal: AbortSignal): Promise<any>;
23
25
  interface IQueryByHTTP {
24
26
  type: DataSourceType;
25
27
  key: string;
26
28
  configString: string;
27
29
  name: string;
30
+ additionals: TAdditionalQueryInfo;
28
31
  }
29
- export declare function queryByHTTP({ type, key, configString, name }: IQueryByHTTP, signal: AbortSignal): Promise<import("axios").AxiosResponse<AnyObject, any> | AxiosError<AnyObject, any>>;
32
+ export declare function queryByHTTP({ type, key, configString, name, additionals }: IQueryByHTTP, signal: AbortSignal): Promise<import("axios").AxiosResponse<AnyObject, any> | AxiosError<AnyObject, any>>;
30
33
  export declare type TQuerySources = Record<string, string[]>;
31
34
  export declare function listDataSources(): Promise<IDataSource[]>;
32
35
  export declare type GlobalSQLSnippetDBType = {
@@ -1,33 +1,50 @@
1
- import { DataSourceType } from '~/model';
2
- import { AnyObject, IDashboardConfig } from '..';
3
- import { DefaultApiClient, IAPIClient, IAPIClientRequestOptions } from '../shared';
4
1
  import { AxiosResponse, Method } from 'axios';
5
- export { FacadeApiClient, DefaultApiClient } from '../shared';
2
+ import { DataSourceType, TDashboardState } from '~/model';
3
+ import { AnyObject, IDashboardConfig } from '..';
4
+ import { DefaultApiClient, IAPIClient } from '../shared';
5
+ export { DefaultApiClient, FacadeApiClient } from '../shared';
6
6
  export type { IAPIClient, IAPIClientRequestOptions } from '../shared';
7
+ export declare type TAdditionalQueryInfo = {
8
+ content_id: string;
9
+ query_id: string;
10
+ params: TDashboardState;
11
+ };
7
12
  export declare type TQueryPayload = {
8
13
  type: DataSourceType;
9
14
  key: string;
10
15
  query: string;
11
16
  env?: AnyObject;
17
+ } & TAdditionalQueryInfo;
18
+ export declare type TQueryStructureRequest = {
19
+ query_type: 'TABLES' | 'COLUMNS' | 'DATA' | 'INDEXES' | 'COUNT';
20
+ type: 'postgresql' | 'mysql';
21
+ key: string;
22
+ table_schema: string;
23
+ table_name: string;
24
+ limit?: number;
25
+ offset?: number;
12
26
  };
13
27
  export interface IDashboardAPIClient extends IAPIClient {
14
28
  query: <T = $TSFixMe>(signal?: AbortSignal) => (data: TQueryPayload, options?: AnyObject) => Promise<T>;
15
29
  httpDataSourceQuery: <T = $TSFixMe>(signal?: AbortSignal) => (data: TQueryPayload, options?: AnyObject) => Promise<AxiosResponse<T>>;
30
+ structure: <T = $TSFixMe>(signal?: AbortSignal) => (data: TQueryStructureRequest, options?: AnyObject) => Promise<T>;
16
31
  }
17
32
  export declare class DashboardApiClient extends DefaultApiClient implements IDashboardAPIClient {
18
33
  makeQueryENV?: (() => AnyObject) | null;
19
34
  query<T>(signal: AbortSignal | undefined): (data: TQueryPayload, options?: AnyObject) => Promise<T>;
20
35
  httpDataSourceQuery<T>(signal: AbortSignal | undefined): (data: TQueryPayload, options?: AnyObject) => Promise<AxiosResponse<T>>;
36
+ structure<T>(signal?: AbortSignal): (data: TQueryStructureRequest, options?: AnyObject) => Promise<T>;
21
37
  }
22
38
  export declare class DashboardApiFacadeClient implements IDashboardAPIClient {
23
39
  implementation: IDashboardAPIClient;
24
40
  constructor(implementation: IDashboardAPIClient);
25
41
  query<T>(signal?: AbortSignal): (data: TQueryPayload, options?: AnyObject | undefined) => Promise<T>;
26
42
  httpDataSourceQuery<T>(signal?: AbortSignal): (data: TQueryPayload, options?: AnyObject | undefined) => Promise<AxiosResponse<T, any>>;
27
- getRequest<T>(method: Method, signal?: AbortSignal): (url: string, data: import("../shared").AnyObject, options: IAPIClientRequestOptions, forResponse?: boolean | undefined) => Promise<T>;
28
- get<T>(signal?: AbortSignal): (url: string, data: import("../shared").AnyObject, options: IAPIClientRequestOptions, forResponse?: boolean | undefined) => Promise<T>;
29
- post<T>(signal?: AbortSignal): (url: string, data: import("../shared").AnyObject, options: IAPIClientRequestOptions, forResponse?: boolean | undefined) => Promise<T>;
30
- put<T>(signal?: AbortSignal): (url: string, data: import("../shared").AnyObject, options: IAPIClientRequestOptions, forResponse?: boolean | undefined) => Promise<T>;
43
+ structure(signal?: AbortSignal): (data: TQueryStructureRequest, options?: AnyObject | undefined) => Promise<any>;
44
+ getRequest<T>(method: Method, signal?: AbortSignal): (url: string, data: import("../shared").AnyObject, options: import("..").IAPIClientRequestOptions, forResponse?: boolean | undefined) => Promise<T>;
45
+ get<T>(signal?: AbortSignal): (url: string, data: import("../shared").AnyObject, options: import("..").IAPIClientRequestOptions, forResponse?: boolean | undefined) => Promise<T>;
46
+ post<T>(signal?: AbortSignal): (url: string, data: import("../shared").AnyObject, options: import("..").IAPIClientRequestOptions, forResponse?: boolean | undefined) => Promise<T>;
47
+ put<T>(signal?: AbortSignal): (url: string, data: import("../shared").AnyObject, options: import("..").IAPIClientRequestOptions, forResponse?: boolean | undefined) => Promise<T>;
31
48
  }
32
49
  export declare function configureAPIClient(config: IDashboardConfig): void;
33
50
  /**
@@ -5,7 +5,24 @@ export declare function usePanelFullScreen(view: ViewMetaInstance, panelID: stri
5
5
  inFullScreen: boolean;
6
6
  fullScreenPanel: ({
7
7
  id: string;
8
- title: string;
8
+ name: string;
9
+ title: {
10
+ show: boolean;
11
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
12
+ readonly json: {
13
+ show: boolean;
14
+ };
15
+ } & {
16
+ setShow(v: boolean): void;
17
+ } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
18
+ show: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
19
+ }, {
20
+ readonly json: {
21
+ show: boolean;
22
+ };
23
+ } & {
24
+ setShow(v: boolean): void;
25
+ }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
9
26
  description: string;
10
27
  layout: {
11
28
  x: number;
@@ -767,12 +784,29 @@ export declare function usePanelFullScreen(view: ViewMetaInstance, panelID: stri
767
784
  conf: import("../../../..").AnyObject & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<import("../../../..").AnyObject, import("../../../..").AnyObject, import("../../../..").AnyObject>>;
768
785
  type: string;
769
786
  };
787
+ name: string;
770
788
  style: {
771
789
  border: {
772
790
  enabled: boolean;
773
791
  };
774
792
  };
775
- title: string;
793
+ title: {
794
+ show: boolean;
795
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
796
+ readonly json: {
797
+ show: boolean;
798
+ };
799
+ } & {
800
+ setShow(v: boolean): void;
801
+ } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
802
+ show: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
803
+ }, {
804
+ readonly json: {
805
+ show: boolean;
806
+ };
807
+ } & {
808
+ setShow(v: boolean): void;
809
+ }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
776
810
  layout: {
777
811
  h: number;
778
812
  w: number;
@@ -1030,7 +1064,7 @@ export declare function usePanelFullScreen(view: ViewMetaInstance, panelID: stri
1030
1064
  readonly queryIDSet: Set<string>;
1031
1065
  } & {
1032
1066
  setID(id: string): void;
1033
- setTitle(title: string): void;
1067
+ setName(name: string): void;
1034
1068
  setDescription(description: string): void;
1035
1069
  addQueryID(queryID: string): void;
1036
1070
  removeQueryID(queryID: string): void;
@@ -1979,12 +2013,12 @@ export declare function usePanelFullScreen(view: ViewMetaInstance, panelID: stri
1979
2013
  readonly rootModel: any;
1980
2014
  readonly contentModel: any;
1981
2015
  readonly payload: any;
1982
- readonly dashboardState: import("~/model").TDashboardState;
1983
2016
  readonly formattedSQL: any;
1984
2017
  readonly typedAsSQL: boolean;
1985
2018
  readonly typedAsHTTP: boolean;
1986
2019
  readonly datasource: any;
1987
2020
  readonly httpConfigString: string;
2021
+ readonly additionalQueryInfo: import("../../../..").TAdditionalQueryInfo;
1988
2022
  } & {
1989
2023
  readonly stateMessage: string;
1990
2024
  } & {
@@ -2049,12 +2083,12 @@ export declare function usePanelFullScreen(view: ViewMetaInstance, panelID: stri
2049
2083
  readonly rootModel: any;
2050
2084
  readonly contentModel: any;
2051
2085
  readonly payload: any;
2052
- readonly dashboardState: import("~/model").TDashboardState;
2053
2086
  readonly formattedSQL: any;
2054
2087
  readonly typedAsSQL: boolean;
2055
2088
  readonly typedAsHTTP: boolean;
2056
2089
  readonly datasource: any;
2057
2090
  readonly httpConfigString: string;
2091
+ readonly additionalQueryInfo: import("../../../..").TAdditionalQueryInfo;
2058
2092
  } & {
2059
2093
  readonly stateMessage: string;
2060
2094
  } & {
@@ -2078,7 +2112,16 @@ export declare function usePanelFullScreen(view: ViewMetaInstance, panelID: stri
2078
2112
  downloadData(): void;
2079
2113
  } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
2080
2114
  id: import("mobx-state-tree").ISimpleType<string>;
2081
- title: import("mobx-state-tree").ISimpleType<string>;
2115
+ name: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
2116
+ title: import("mobx-state-tree").IModelType<{
2117
+ show: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
2118
+ }, {
2119
+ readonly json: {
2120
+ show: boolean;
2121
+ };
2122
+ } & {
2123
+ setShow(v: boolean): void;
2124
+ }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
2082
2125
  description: import("mobx-state-tree").ISimpleType<string>;
2083
2126
  layout: import("mobx-state-tree").IModelType<{
2084
2127
  x: import("mobx-state-tree").ISimpleType<number>;
@@ -2462,12 +2505,29 @@ export declare function usePanelFullScreen(view: ViewMetaInstance, panelID: stri
2462
2505
  conf: import("../../../..").AnyObject & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<import("../../../..").AnyObject, import("../../../..").AnyObject, import("../../../..").AnyObject>>;
2463
2506
  type: string;
2464
2507
  };
2508
+ name: string;
2465
2509
  style: {
2466
2510
  border: {
2467
2511
  enabled: boolean;
2468
2512
  };
2469
2513
  };
2470
- title: string;
2514
+ title: {
2515
+ show: boolean;
2516
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
2517
+ readonly json: {
2518
+ show: boolean;
2519
+ };
2520
+ } & {
2521
+ setShow(v: boolean): void;
2522
+ } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
2523
+ show: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
2524
+ }, {
2525
+ readonly json: {
2526
+ show: boolean;
2527
+ };
2528
+ } & {
2529
+ setShow(v: boolean): void;
2530
+ }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
2471
2531
  layout: {
2472
2532
  h: number;
2473
2533
  w: number;
@@ -2725,7 +2785,7 @@ export declare function usePanelFullScreen(view: ViewMetaInstance, panelID: stri
2725
2785
  readonly queryIDSet: Set<string>;
2726
2786
  } & {
2727
2787
  setID(id: string): void;
2728
- setTitle(title: string): void;
2788
+ setName(name: string): void;
2729
2789
  setDescription(description: string): void;
2730
2790
  addQueryID(queryID: string): void;
2731
2791
  removeQueryID(queryID: string): void;
@@ -3674,12 +3734,12 @@ export declare function usePanelFullScreen(view: ViewMetaInstance, panelID: stri
3674
3734
  readonly rootModel: any;
3675
3735
  readonly contentModel: any;
3676
3736
  readonly payload: any;
3677
- readonly dashboardState: import("~/model").TDashboardState;
3678
3737
  readonly formattedSQL: any;
3679
3738
  readonly typedAsSQL: boolean;
3680
3739
  readonly typedAsHTTP: boolean;
3681
3740
  readonly datasource: any;
3682
3741
  readonly httpConfigString: string;
3742
+ readonly additionalQueryInfo: import("../../../..").TAdditionalQueryInfo;
3683
3743
  } & {
3684
3744
  readonly stateMessage: string;
3685
3745
  } & {
@@ -3744,12 +3804,12 @@ export declare function usePanelFullScreen(view: ViewMetaInstance, panelID: stri
3744
3804
  readonly rootModel: any;
3745
3805
  readonly contentModel: any;
3746
3806
  readonly payload: any;
3747
- readonly dashboardState: import("~/model").TDashboardState;
3748
3807
  readonly formattedSQL: any;
3749
3808
  readonly typedAsSQL: boolean;
3750
3809
  readonly typedAsHTTP: boolean;
3751
3810
  readonly datasource: any;
3752
3811
  readonly httpConfigString: string;
3812
+ readonly additionalQueryInfo: import("../../../..").TAdditionalQueryInfo;
3753
3813
  } & {
3754
3814
  readonly stateMessage: string;
3755
3815
  } & {
@@ -21,7 +21,24 @@ export declare const tokens: {
21
21
  instanceScope: {
22
22
  panelModel: import("~/components/plugins/service/service-locator").Token<{
23
23
  id: string;
24
- title: string;
24
+ name: string;
25
+ title: {
26
+ show: boolean;
27
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
28
+ readonly json: {
29
+ show: boolean;
30
+ };
31
+ } & {
32
+ setShow(v: boolean): void;
33
+ } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
34
+ show: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
35
+ }, {
36
+ readonly json: {
37
+ show: boolean;
38
+ };
39
+ } & {
40
+ setShow(v: boolean): void;
41
+ }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
25
42
  description: string;
26
43
  layout: {
27
44
  x: number;
@@ -783,12 +800,29 @@ export declare const tokens: {
783
800
  conf: import("../..").AnyObject & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<import("../..").AnyObject, import("../..").AnyObject, import("../..").AnyObject>>;
784
801
  type: string;
785
802
  };
803
+ name: string;
786
804
  style: {
787
805
  border: {
788
806
  enabled: boolean;
789
807
  };
790
808
  };
791
- title: string;
809
+ title: {
810
+ show: boolean;
811
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
812
+ readonly json: {
813
+ show: boolean;
814
+ };
815
+ } & {
816
+ setShow(v: boolean): void;
817
+ } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
818
+ show: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
819
+ }, {
820
+ readonly json: {
821
+ show: boolean;
822
+ };
823
+ } & {
824
+ setShow(v: boolean): void;
825
+ }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
792
826
  layout: {
793
827
  h: number;
794
828
  w: number;
@@ -1046,7 +1080,7 @@ export declare const tokens: {
1046
1080
  readonly queryIDSet: Set<string>;
1047
1081
  } & {
1048
1082
  setID(id: string): void;
1049
- setTitle(title: string): void;
1083
+ setName(name: string): void;
1050
1084
  setDescription(description: string): void;
1051
1085
  addQueryID(queryID: string): void;
1052
1086
  removeQueryID(queryID: string): void;
@@ -1995,12 +2029,12 @@ export declare const tokens: {
1995
2029
  readonly rootModel: any;
1996
2030
  readonly contentModel: any;
1997
2031
  readonly payload: any;
1998
- readonly dashboardState: import("../../model").TDashboardState;
1999
2032
  readonly formattedSQL: any;
2000
2033
  readonly typedAsSQL: boolean;
2001
2034
  readonly typedAsHTTP: boolean;
2002
2035
  readonly datasource: any;
2003
2036
  readonly httpConfigString: string;
2037
+ readonly additionalQueryInfo: import("../..").TAdditionalQueryInfo;
2004
2038
  } & {
2005
2039
  readonly stateMessage: string;
2006
2040
  } & {
@@ -2065,12 +2099,12 @@ export declare const tokens: {
2065
2099
  readonly rootModel: any;
2066
2100
  readonly contentModel: any;
2067
2101
  readonly payload: any;
2068
- readonly dashboardState: import("../../model").TDashboardState;
2069
2102
  readonly formattedSQL: any;
2070
2103
  readonly typedAsSQL: boolean;
2071
2104
  readonly typedAsHTTP: boolean;
2072
2105
  readonly datasource: any;
2073
2106
  readonly httpConfigString: string;
2107
+ readonly additionalQueryInfo: import("../..").TAdditionalQueryInfo;
2074
2108
  } & {
2075
2109
  readonly stateMessage: string;
2076
2110
  } & {
@@ -2104,7 +2138,16 @@ export declare const tokens: {
2104
2138
  moveToView(sourceViewID: string, targetViewID: string): void;
2105
2139
  } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
2106
2140
  id: import("mobx-state-tree").ISimpleType<string>;
2107
- title: import("mobx-state-tree").ISimpleType<string>;
2141
+ name: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
2142
+ title: import("mobx-state-tree").IModelType<{
2143
+ show: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
2144
+ }, {
2145
+ readonly json: {
2146
+ show: boolean;
2147
+ };
2148
+ } & {
2149
+ setShow(v: boolean): void;
2150
+ }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
2108
2151
  description: import("mobx-state-tree").ISimpleType<string>;
2109
2152
  layout: import("mobx-state-tree").IModelType<{
2110
2153
  x: import("mobx-state-tree").ISimpleType<number>;
@@ -2488,12 +2531,29 @@ export declare const tokens: {
2488
2531
  conf: import("../..").AnyObject & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IType<import("../..").AnyObject, import("../..").AnyObject, import("../..").AnyObject>>;
2489
2532
  type: string;
2490
2533
  };
2534
+ name: string;
2491
2535
  style: {
2492
2536
  border: {
2493
2537
  enabled: boolean;
2494
2538
  };
2495
2539
  };
2496
- title: string;
2540
+ title: {
2541
+ show: boolean;
2542
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
2543
+ readonly json: {
2544
+ show: boolean;
2545
+ };
2546
+ } & {
2547
+ setShow(v: boolean): void;
2548
+ } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
2549
+ show: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
2550
+ }, {
2551
+ readonly json: {
2552
+ show: boolean;
2553
+ };
2554
+ } & {
2555
+ setShow(v: boolean): void;
2556
+ }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
2497
2557
  layout: {
2498
2558
  h: number;
2499
2559
  w: number;
@@ -2751,7 +2811,7 @@ export declare const tokens: {
2751
2811
  readonly queryIDSet: Set<string>;
2752
2812
  } & {
2753
2813
  setID(id: string): void;
2754
- setTitle(title: string): void;
2814
+ setName(name: string): void;
2755
2815
  setDescription(description: string): void;
2756
2816
  addQueryID(queryID: string): void;
2757
2817
  removeQueryID(queryID: string): void;
@@ -3700,12 +3760,12 @@ export declare const tokens: {
3700
3760
  readonly rootModel: any;
3701
3761
  readonly contentModel: any;
3702
3762
  readonly payload: any;
3703
- readonly dashboardState: import("../../model").TDashboardState;
3704
3763
  readonly formattedSQL: any;
3705
3764
  readonly typedAsSQL: boolean;
3706
3765
  readonly typedAsHTTP: boolean;
3707
3766
  readonly datasource: any;
3708
3767
  readonly httpConfigString: string;
3768
+ readonly additionalQueryInfo: import("../..").TAdditionalQueryInfo;
3709
3769
  } & {
3710
3770
  readonly stateMessage: string;
3711
3771
  } & {
@@ -3770,12 +3830,12 @@ export declare const tokens: {
3770
3830
  readonly rootModel: any;
3771
3831
  readonly contentModel: any;
3772
3832
  readonly payload: any;
3773
- readonly dashboardState: import("../../model").TDashboardState;
3774
3833
  readonly formattedSQL: any;
3775
3834
  readonly typedAsSQL: boolean;
3776
3835
  readonly typedAsHTTP: boolean;
3777
3836
  readonly datasource: any;
3778
3837
  readonly httpConfigString: string;
3838
+ readonly additionalQueryInfo: import("../..").TAdditionalQueryInfo;
3779
3839
  } & {
3780
3840
  readonly stateMessage: string;
3781
3841
  } & {
@@ -1,6 +1,5 @@
1
- import { IPanelInfoEditor } from '~/types/plugin';
2
- import { IPanelInfo, IVizManager } from './types';
3
1
  import { ITemplateVariable } from '~/utils/template';
2
+ import { IPanelInfo, IVizManager } from './types';
4
3
  export declare type IViewPanelInfo = IPanelInfo & {
5
4
  layout: {
6
5
  w: number;
@@ -16,7 +15,6 @@ export declare type IViewComponentProps<TDebug = Record<string, unknown>> = {
16
15
  export declare const VizViewComponent: <T>(props: IViewComponentProps<T>) => import('./react/jsx-runtime').JSX.Element;
17
16
  export declare type IConfigComponentProps<TDebug = Record<string, unknown>> = {
18
17
  panel: IPanelInfo;
19
- panelInfoEditor: IPanelInfoEditor;
20
18
  vizManager: IVizManager;
21
19
  variables: ITemplateVariable[];
22
20
  data: $TSFixMe;