@devtable/dashboard 14.44.5 → 14.45.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.
Files changed (36) hide show
  1. package/dist/components/plugins/plugin-context.d.ts +46 -46
  2. package/dist/components/plugins/viz-components/regression-chart/migrators/index.d.ts +1 -0
  3. package/dist/components/plugins/viz-components/regression-chart/render/chart.d.ts +9 -0
  4. package/dist/components/plugins/viz-components/regression-chart/{viz-regression-chart.d.ts → render/index.d.ts} +1 -1
  5. package/dist/components/plugins/viz-components/regression-chart/render/option/index.d.ts +3 -0
  6. package/dist/components/plugins/viz-components/regression-chart/{option → render/option}/regression-series.d.ts +2 -2
  7. package/dist/components/plugins/viz-components/regression-chart/render/option/series.d.ts +5 -0
  8. package/dist/components/plugins/viz-components/regression-chart/render/option/tooltip.d.ts +2 -0
  9. package/dist/components/plugins/viz-components/regression-chart/render/toolbox/choose-data-keys/choose-data-keys.d.ts +8 -0
  10. package/dist/components/plugins/viz-components/regression-chart/render/toolbox/choose-data-keys/index.d.ts +1 -0
  11. package/dist/components/plugins/viz-components/regression-chart/render/toolbox/data-key-selector/data-key-selector.d.ts +8 -0
  12. package/dist/components/plugins/viz-components/regression-chart/render/toolbox/data-key-selector/index.d.ts +1 -0
  13. package/dist/components/plugins/viz-components/regression-chart/render/toolbox/index.d.ts +16 -0
  14. package/dist/components/plugins/viz-components/regression-chart/{toolbox → render/toolbox}/regression-description/desc.d.ts +3 -2
  15. package/dist/components/plugins/viz-components/regression-chart/render/toolbox/regression-description/index.d.ts +10 -0
  16. package/dist/components/plugins/viz-components/regression-chart/render/use-data-key.d.ts +6 -0
  17. package/dist/components/plugins/viz-components/regression-chart/type.d.ts +1 -14
  18. package/dist/components/plugins/viz-components/regression-chart/viz-regression-chart-editor.d.ts +1 -1
  19. package/dist/contexts/panel-context.d.ts +92 -46
  20. package/dist/dashboard-editor/model/panels/panel.d.ts +23 -23
  21. package/dist/dashboard.es.js +6699 -6715
  22. package/dist/dashboard.umd.js +70 -70
  23. package/dist/model/render-model/dashboard/content/panels/panel.d.ts +23 -0
  24. package/dist/model/render-model/dashboard/content/panels/types.d.ts +23 -0
  25. package/dist/stats.html +1 -1
  26. package/dist/utils/data.d.ts +8 -9
  27. package/dist/version.json +2 -2
  28. package/package.json +1 -1
  29. package/dist/components/plugins/viz-components/regression-chart/editors/x-axis.d.ts +0 -8
  30. package/dist/components/plugins/viz-components/regression-chart/editors/y-axis.d.ts +0 -8
  31. package/dist/components/plugins/viz-components/regression-chart/option/index.d.ts +0 -2
  32. package/dist/components/plugins/viz-components/regression-chart/option/series.d.ts +0 -4
  33. package/dist/components/plugins/viz-components/regression-chart/option/tooltip.d.ts +0 -2
  34. package/dist/components/plugins/viz-components/regression-chart/option/x-axis.d.ts +0 -2
  35. package/dist/components/plugins/viz-components/regression-chart/toolbox/index.d.ts +0 -2
  36. package/dist/components/plugins/viz-components/regression-chart/toolbox/regression-description/index.d.ts +0 -6
@@ -7395,6 +7395,29 @@ export declare const tokens: {
7395
7395
  readonly queryStateMessages: string;
7396
7396
  readonly queryErrors: string[];
7397
7397
  readonly canRenderViz: boolean;
7398
+ readonly realDataFieldOptions: {
7399
+ label: string;
7400
+ value: string;
7401
+ group: string;
7402
+ group_id: string;
7403
+ disabled: boolean;
7404
+ }[];
7405
+ dataFieldOptions(selected: string, clearable: boolean, queryID?: string | undefined): {
7406
+ label: string;
7407
+ value: string;
7408
+ group: string;
7409
+ group_id: string;
7410
+ disabled: boolean;
7411
+ }[];
7412
+ dataFieldOptionGroups(selected: string, clearable: boolean, queryID?: string | undefined): {
7413
+ group: string;
7414
+ items: {
7415
+ label: string;
7416
+ value: string;
7417
+ group_id: string;
7418
+ disabled: boolean;
7419
+ }[];
7420
+ }[];
7398
7421
  } & {
7399
7422
  refreshData(): void;
7400
7423
  downloadData(): void;
@@ -7867,13 +7890,6 @@ export declare const tokens: {
7867
7890
  };
7868
7891
  downloadSchema(): void;
7869
7892
  } & {
7870
- readonly realDataFieldOptions: {
7871
- label: string;
7872
- value: string;
7873
- group: string;
7874
- group_id: string;
7875
- disabled: boolean;
7876
- }[];
7877
7893
  readonly realQueryOptions: {
7878
7894
  label: string;
7879
7895
  value: string;
@@ -7898,22 +7914,6 @@ export declare const tokens: {
7898
7914
  aggValue: string | number;
7899
7915
  disabled: boolean;
7900
7916
  }[];
7901
- dataFieldOptions(selected: string, clearable: boolean, queryID?: string | undefined): {
7902
- label: string;
7903
- value: string;
7904
- group: string;
7905
- group_id: string;
7906
- disabled: boolean;
7907
- }[];
7908
- dataFieldOptionGroups(selected: string, clearable: boolean, queryID?: string | undefined): {
7909
- group: string;
7910
- items: {
7911
- label: string;
7912
- value: string;
7913
- group_id: string;
7914
- disabled: boolean;
7915
- }[];
7916
- }[];
7917
7917
  explainDataKey(dataKey: string): {
7918
7918
  queryID: string;
7919
7919
  queryName: null;
@@ -14740,6 +14740,29 @@ export declare const tokens: {
14740
14740
  readonly queryStateMessages: string;
14741
14741
  readonly queryErrors: string[];
14742
14742
  readonly canRenderViz: boolean;
14743
+ readonly realDataFieldOptions: {
14744
+ label: string;
14745
+ value: string;
14746
+ group: string;
14747
+ group_id: string;
14748
+ disabled: boolean;
14749
+ }[];
14750
+ dataFieldOptions(selected: string, clearable: boolean, queryID?: string | undefined): {
14751
+ label: string;
14752
+ value: string;
14753
+ group: string;
14754
+ group_id: string;
14755
+ disabled: boolean;
14756
+ }[];
14757
+ dataFieldOptionGroups(selected: string, clearable: boolean, queryID?: string | undefined): {
14758
+ group: string;
14759
+ items: {
14760
+ label: string;
14761
+ value: string;
14762
+ group_id: string;
14763
+ disabled: boolean;
14764
+ }[];
14765
+ }[];
14743
14766
  } & {
14744
14767
  refreshData(): void;
14745
14768
  downloadData(): void;
@@ -15212,13 +15235,6 @@ export declare const tokens: {
15212
15235
  };
15213
15236
  downloadSchema(): void;
15214
15237
  } & {
15215
- readonly realDataFieldOptions: {
15216
- label: string;
15217
- value: string;
15218
- group: string;
15219
- group_id: string;
15220
- disabled: boolean;
15221
- }[];
15222
15238
  readonly realQueryOptions: {
15223
15239
  label: string;
15224
15240
  value: string;
@@ -15243,22 +15259,6 @@ export declare const tokens: {
15243
15259
  aggValue: string | number;
15244
15260
  disabled: boolean;
15245
15261
  }[];
15246
- dataFieldOptions(selected: string, clearable: boolean, queryID?: string | undefined): {
15247
- label: string;
15248
- value: string;
15249
- group: string;
15250
- group_id: string;
15251
- disabled: boolean;
15252
- }[];
15253
- dataFieldOptionGroups(selected: string, clearable: boolean, queryID?: string | undefined): {
15254
- group: string;
15255
- items: {
15256
- label: string;
15257
- value: string;
15258
- group_id: string;
15259
- disabled: boolean;
15260
- }[];
15261
- }[];
15262
15262
  explainDataKey(dataKey: string): {
15263
15263
  queryID: string;
15264
15264
  queryName: null;
@@ -2,3 +2,4 @@ import { IMigrationEnv } from '../../../../../components/plugins';
2
2
  import { IRegressionChartConf } from '../type';
3
3
  export declare function v2(legacyConf: $TSFixMe): IRegressionChartConf;
4
4
  export declare function v3(legacyConf: any, { panelModel }: IMigrationEnv): IRegressionChartConf;
5
+ export declare function v4(legacyConf: any): IRegressionChartConf;
@@ -0,0 +1,9 @@
1
+ import { VizViewProps } from '../../../../../types/plugin';
2
+ import { IRegressionChartConf } from '../type';
3
+ type Props = Pick<VizViewProps, 'context' | 'instance'> & {
4
+ conf: IRegressionChartConf;
5
+ width: number;
6
+ height: number;
7
+ };
8
+ export declare const RenderRegressionChart: ({ context, instance, conf, width, height }: Props) => import('./react/jsx-runtime').JSX.Element;
9
+ export {};
@@ -1,2 +1,2 @@
1
- import { VizViewProps } from '../../../../types/plugin';
1
+ import { VizViewProps } from '../../../../../types/plugin';
2
2
  export declare function VizRegressionChart({ context, instance }: VizViewProps): import('./react/jsx-runtime').JSX.Element | null;
@@ -0,0 +1,3 @@
1
+ import { ParsedDataKey } from '../../../../../../utils';
2
+ import { IRegressionChartConf } from '../../type';
3
+ export declare function getOption(conf: IRegressionChartConf, rawData: TPanelData, x: ParsedDataKey, y: ParsedDataKey, g: ParsedDataKey): any;
@@ -1,5 +1,5 @@
1
- import { IRegressionSeriesItem } from '../../../../../components/plugins/common-echarts-fields/regression-line';
2
- import { IRegressionChartConf } from '../type';
1
+ import { IRegressionSeriesItem } from '../../../../../../components/plugins/common-echarts-fields/regression-line';
2
+ import { IRegressionChartConf } from '../../type';
3
3
  import { TSeriesConf } from './series';
4
4
  type TGetRegressionConfRet = IRegressionSeriesItem[];
5
5
  export declare function getRegressionConf(conf: IRegressionChartConf, series: TSeriesConf): TGetRegressionConfRet;
@@ -0,0 +1,5 @@
1
+ import { AnyObject } from '../../../../../../types';
2
+ import { ParsedDataKey } from '../../../../../../utils';
3
+ import { IRegressionChartConf } from '../../type';
4
+ export type TSeriesConf = AnyObject[];
5
+ export declare function getSeries(conf: IRegressionChartConf, rawData: TPanelData, x: ParsedDataKey, y: ParsedDataKey, g: ParsedDataKey): TSeriesConf;
@@ -0,0 +1,2 @@
1
+ import { ParsedDataKey } from '../../../../../../utils';
2
+ export declare function getTooltip(x: ParsedDataKey, y: ParsedDataKey): any;
@@ -0,0 +1,8 @@
1
+ import { useDataKey } from '../../use-data-key';
2
+ type Props = {
3
+ xDataKey: ReturnType<typeof useDataKey>;
4
+ yDataKey: ReturnType<typeof useDataKey>;
5
+ groupKey: ReturnType<typeof useDataKey>;
6
+ };
7
+ export declare const ChooseDataKeys: ({ xDataKey, yDataKey, groupKey }: Props) => import('./react/jsx-runtime').JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ import { NativeSelectProps } from '@mantine/core';
2
+ import React from './react';
3
+ export declare const DataKeySelector: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<Omit<NativeSelectProps, "value" | "onChange"> & {
4
+ value: string;
5
+ onChange: (v: string) => void;
6
+ clearable?: boolean | undefined;
7
+ queryID?: string | undefined;
8
+ } & React.RefAttributes<HTMLSelectElement>, "ref"> & React.RefAttributes<HTMLSelectElement>>>;
@@ -0,0 +1,16 @@
1
+ import { VizViewProps } from '../../../../../../types/plugin';
2
+ import { ParsedDataKey } from '../../../../../../utils/data';
3
+ import { IRegressionChartConf } from '../../type';
4
+ import { useDataKey } from '../use-data-key';
5
+ type Props = {
6
+ conf: IRegressionChartConf;
7
+ context: VizViewProps['context'];
8
+ xDataKey: ReturnType<typeof useDataKey>;
9
+ yDataKey: ReturnType<typeof useDataKey>;
10
+ groupKey: ReturnType<typeof useDataKey>;
11
+ x: ParsedDataKey;
12
+ y: ParsedDataKey;
13
+ g: ParsedDataKey;
14
+ };
15
+ export declare function Toolbox({ conf, context, xDataKey, yDataKey, groupKey, x, y, g }: Props): import('./react/jsx-runtime').JSX.Element;
16
+ export {};
@@ -1,9 +1,10 @@
1
- import { IRegressionChartConf } from '../../type';
1
+ import { IRegressionChartConf } from '../../../type';
2
2
  import { ReactNode } from './react';
3
+ import { ParsedDataKey } from '../../../../../../../utils';
3
4
  export type TDescription = {
4
5
  name: string;
5
6
  expression: ReactNode;
6
7
  rSquared: number;
7
8
  adjustedRSquared: number;
8
9
  };
9
- export declare function getRegressionDescription(queryData: TQueryData, conf?: IRegressionChartConf): TDescription[];
10
+ export declare function getRegressionDescription(queryData: TQueryData, x: ParsedDataKey, y: ParsedDataKey, g: ParsedDataKey, conf?: IRegressionChartConf): TDescription[];
@@ -0,0 +1,10 @@
1
+ import { ParsedDataKey } from '../../../../../../../utils';
2
+ import { IRegressionChartConf } from '../../../type';
3
+ export interface IRegressionDescription {
4
+ conf: IRegressionChartConf;
5
+ queryData: TQueryData;
6
+ x: ParsedDataKey;
7
+ y: ParsedDataKey;
8
+ g: ParsedDataKey;
9
+ }
10
+ export declare function RegressionDescription({ conf, queryData, x, y, g }: IRegressionDescription): import('./react/jsx-runtime').JSX.Element;
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ export declare const useDataKey: (initialKey: TDataKey) => {
3
+ value: string;
4
+ set: import('./react').Dispatch<import('./react').SetStateAction<string>>;
5
+ };
6
+ export type UseDataKeyReturn = ReturnType<typeof useDataKey>;
@@ -1,21 +1,8 @@
1
- import { IAxisLabelOverflow } from '../../../../components/plugins/common-echarts-fields/axis-label-overflow';
2
- import { IXAxisLabelFormatter } from '../../../../components/plugins/common-echarts-fields/x-axis-label-formatter';
3
- import { TNumberFormat } from '../../../../utils';
4
1
  import { IRegressionConf } from '../cartesian/type';
5
2
  export interface IRegressionChartConf {
6
3
  x_axis: {
7
- name: string;
8
4
  data_key: TDataKey;
9
- axisLabel: {
10
- rotate: number;
11
- format: TNumberFormat;
12
- overflow: IAxisLabelOverflow;
13
- formatter: IXAxisLabelFormatter;
14
- };
15
- };
16
- y_axis: {
17
- name: string;
18
5
  };
19
6
  regression: IRegressionConf;
20
7
  }
21
- export declare const DEFAULT_CONFIG: IRegressionChartConf;
8
+ export declare const getDefaultConfig: () => IRegressionChartConf;
@@ -1,2 +1,2 @@
1
1
  import { VizConfigProps } from '../../../../types/plugin';
2
- export declare function VizRegressionChartEditor({ context }: VizConfigProps): import('./react/jsx-runtime').JSX.Element;
2
+ export declare function VizRegressionChartEditor({ context }: VizConfigProps): import('./react/jsx-runtime').JSX.Element | null;
@@ -7376,6 +7376,29 @@ export declare const useRenderPanelContext: () => {
7376
7376
  readonly queryStateMessages: string;
7377
7377
  readonly queryErrors: string[];
7378
7378
  readonly canRenderViz: boolean;
7379
+ readonly realDataFieldOptions: {
7380
+ label: string;
7381
+ value: string;
7382
+ group: string;
7383
+ group_id: string;
7384
+ disabled: boolean;
7385
+ }[];
7386
+ dataFieldOptions(selected: string, clearable: boolean, queryID?: string | undefined): {
7387
+ label: string;
7388
+ value: string;
7389
+ group: string;
7390
+ group_id: string;
7391
+ disabled: boolean;
7392
+ }[];
7393
+ dataFieldOptionGroups(selected: string, clearable: boolean, queryID?: string | undefined): {
7394
+ group: string;
7395
+ items: {
7396
+ label: string;
7397
+ value: string;
7398
+ group_id: string;
7399
+ disabled: boolean;
7400
+ }[];
7401
+ }[];
7379
7402
  } & {
7380
7403
  refreshData(): void;
7381
7404
  downloadData(): void;
@@ -14660,6 +14683,29 @@ export declare const useRenderPanelContext: () => {
14660
14683
  readonly queryStateMessages: string;
14661
14684
  readonly queryErrors: string[];
14662
14685
  readonly canRenderViz: boolean;
14686
+ readonly realDataFieldOptions: {
14687
+ label: string;
14688
+ value: string;
14689
+ group: string;
14690
+ group_id: string;
14691
+ disabled: boolean;
14692
+ }[];
14693
+ dataFieldOptions(selected: string, clearable: boolean, queryID?: string | undefined): {
14694
+ label: string;
14695
+ value: string;
14696
+ group: string;
14697
+ group_id: string;
14698
+ disabled: boolean;
14699
+ }[];
14700
+ dataFieldOptionGroups(selected: string, clearable: boolean, queryID?: string | undefined): {
14701
+ group: string;
14702
+ items: {
14703
+ label: string;
14704
+ value: string;
14705
+ group_id: string;
14706
+ disabled: boolean;
14707
+ }[];
14708
+ }[];
14663
14709
  } & {
14664
14710
  refreshData(): void;
14665
14711
  downloadData(): void;
@@ -22505,6 +22551,29 @@ export declare const useEditPanelContext: () => {
22505
22551
  readonly queryStateMessages: string;
22506
22552
  readonly queryErrors: string[];
22507
22553
  readonly canRenderViz: boolean;
22554
+ readonly realDataFieldOptions: {
22555
+ label: string;
22556
+ value: string;
22557
+ group: string;
22558
+ group_id: string;
22559
+ disabled: boolean;
22560
+ }[];
22561
+ dataFieldOptions(selected: string, clearable: boolean, queryID?: string | undefined): {
22562
+ label: string;
22563
+ value: string;
22564
+ group: string;
22565
+ group_id: string;
22566
+ disabled: boolean;
22567
+ }[];
22568
+ dataFieldOptionGroups(selected: string, clearable: boolean, queryID?: string | undefined): {
22569
+ group: string;
22570
+ items: {
22571
+ label: string;
22572
+ value: string;
22573
+ group_id: string;
22574
+ disabled: boolean;
22575
+ }[];
22576
+ }[];
22508
22577
  } & {
22509
22578
  refreshData(): void;
22510
22579
  downloadData(): void;
@@ -22977,13 +23046,6 @@ export declare const useEditPanelContext: () => {
22977
23046
  };
22978
23047
  downloadSchema(): void;
22979
23048
  } & {
22980
- readonly realDataFieldOptions: {
22981
- label: string;
22982
- value: string;
22983
- group: string;
22984
- group_id: string;
22985
- disabled: boolean;
22986
- }[];
22987
23049
  readonly realQueryOptions: {
22988
23050
  label: string;
22989
23051
  value: string;
@@ -23008,22 +23070,6 @@ export declare const useEditPanelContext: () => {
23008
23070
  aggValue: string | number;
23009
23071
  disabled: boolean;
23010
23072
  }[];
23011
- dataFieldOptions(selected: string, clearable: boolean, queryID?: string | undefined): {
23012
- label: string;
23013
- value: string;
23014
- group: string;
23015
- group_id: string;
23016
- disabled: boolean;
23017
- }[];
23018
- dataFieldOptionGroups(selected: string, clearable: boolean, queryID?: string | undefined): {
23019
- group: string;
23020
- items: {
23021
- label: string;
23022
- value: string;
23023
- group_id: string;
23024
- disabled: boolean;
23025
- }[];
23026
- }[];
23027
23073
  explainDataKey(dataKey: string): {
23028
23074
  queryID: string;
23029
23075
  queryName: null;
@@ -29850,6 +29896,29 @@ export declare const useEditPanelContext: () => {
29850
29896
  readonly queryStateMessages: string;
29851
29897
  readonly queryErrors: string[];
29852
29898
  readonly canRenderViz: boolean;
29899
+ readonly realDataFieldOptions: {
29900
+ label: string;
29901
+ value: string;
29902
+ group: string;
29903
+ group_id: string;
29904
+ disabled: boolean;
29905
+ }[];
29906
+ dataFieldOptions(selected: string, clearable: boolean, queryID?: string | undefined): {
29907
+ label: string;
29908
+ value: string;
29909
+ group: string;
29910
+ group_id: string;
29911
+ disabled: boolean;
29912
+ }[];
29913
+ dataFieldOptionGroups(selected: string, clearable: boolean, queryID?: string | undefined): {
29914
+ group: string;
29915
+ items: {
29916
+ label: string;
29917
+ value: string;
29918
+ group_id: string;
29919
+ disabled: boolean;
29920
+ }[];
29921
+ }[];
29853
29922
  } & {
29854
29923
  refreshData(): void;
29855
29924
  downloadData(): void;
@@ -30322,13 +30391,6 @@ export declare const useEditPanelContext: () => {
30322
30391
  };
30323
30392
  downloadSchema(): void;
30324
30393
  } & {
30325
- readonly realDataFieldOptions: {
30326
- label: string;
30327
- value: string;
30328
- group: string;
30329
- group_id: string;
30330
- disabled: boolean;
30331
- }[];
30332
30394
  readonly realQueryOptions: {
30333
30395
  label: string;
30334
30396
  value: string;
@@ -30353,22 +30415,6 @@ export declare const useEditPanelContext: () => {
30353
30415
  aggValue: string | number;
30354
30416
  disabled: boolean;
30355
30417
  }[];
30356
- dataFieldOptions(selected: string, clearable: boolean, queryID?: string | undefined): {
30357
- label: string;
30358
- value: string;
30359
- group: string;
30360
- group_id: string;
30361
- disabled: boolean;
30362
- }[];
30363
- dataFieldOptionGroups(selected: string, clearable: boolean, queryID?: string | undefined): {
30364
- group: string;
30365
- items: {
30366
- label: string;
30367
- value: string;
30368
- group_id: string;
30369
- disabled: boolean;
30370
- }[];
30371
- }[];
30372
30418
  explainDataKey(dataKey: string): {
30373
30419
  queryID: string;
30374
30420
  queryName: null;
@@ -6813,6 +6813,29 @@ export declare const PanelModel: import("mobx-state-tree").IModelType<{
6813
6813
  readonly queryStateMessages: string;
6814
6814
  readonly queryErrors: string[];
6815
6815
  readonly canRenderViz: boolean;
6816
+ readonly realDataFieldOptions: {
6817
+ label: string;
6818
+ value: string;
6819
+ group: string;
6820
+ group_id: string;
6821
+ disabled: boolean;
6822
+ }[];
6823
+ dataFieldOptions(selected: string, clearable: boolean, queryID?: string | undefined): {
6824
+ label: string;
6825
+ value: string;
6826
+ group: string;
6827
+ group_id: string;
6828
+ disabled: boolean;
6829
+ }[];
6830
+ dataFieldOptionGroups(selected: string, clearable: boolean, queryID?: string | undefined): {
6831
+ group: string;
6832
+ items: {
6833
+ label: string;
6834
+ value: string;
6835
+ group_id: string;
6836
+ disabled: boolean;
6837
+ }[];
6838
+ }[];
6816
6839
  } & {
6817
6840
  refreshData(): void;
6818
6841
  downloadData(): void;
@@ -7285,13 +7308,6 @@ export declare const PanelModel: import("mobx-state-tree").IModelType<{
7285
7308
  };
7286
7309
  downloadSchema(): void;
7287
7310
  } & {
7288
- readonly realDataFieldOptions: {
7289
- label: string;
7290
- value: string;
7291
- group: string;
7292
- group_id: string;
7293
- disabled: boolean;
7294
- }[];
7295
7311
  readonly realQueryOptions: {
7296
7312
  label: string;
7297
7313
  value: string;
@@ -7316,22 +7332,6 @@ export declare const PanelModel: import("mobx-state-tree").IModelType<{
7316
7332
  aggValue: string | number;
7317
7333
  disabled: boolean;
7318
7334
  }[];
7319
- dataFieldOptions(selected: TDataKey, clearable: boolean, queryID?: string): {
7320
- label: string;
7321
- value: string;
7322
- group: string;
7323
- group_id: string;
7324
- disabled: boolean;
7325
- }[];
7326
- dataFieldOptionGroups(selected: TDataKey, clearable: boolean, queryID?: string): {
7327
- group: string;
7328
- items: {
7329
- label: string;
7330
- value: string;
7331
- group_id: string;
7332
- disabled: boolean;
7333
- }[];
7334
- }[];
7335
7335
  explainDataKey(dataKey: TDataKey): {
7336
7336
  queryID: string;
7337
7337
  queryName: null;