@devtable/dashboard 14.45.0 → 14.45.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.
@@ -5361,6 +5361,29 @@ export declare const PanelRenderModel: import("mobx-state-tree").IModelType<{
5361
5361
  readonly queryStateMessages: string;
5362
5362
  readonly queryErrors: string[];
5363
5363
  readonly canRenderViz: boolean;
5364
+ readonly realDataFieldOptions: {
5365
+ label: string;
5366
+ value: string;
5367
+ group: string;
5368
+ group_id: string;
5369
+ disabled: boolean;
5370
+ }[];
5371
+ dataFieldOptions(selected: TDataKey, clearable: boolean, queryID?: string): {
5372
+ label: string;
5373
+ value: string;
5374
+ group: string;
5375
+ group_id: string;
5376
+ disabled: boolean;
5377
+ }[];
5378
+ dataFieldOptionGroups(selected: TDataKey, clearable: boolean, queryID?: string): {
5379
+ group: string;
5380
+ items: {
5381
+ label: string;
5382
+ value: string;
5383
+ group_id: string;
5384
+ disabled: boolean;
5385
+ }[];
5386
+ }[];
5364
5387
  } & {
5365
5388
  refreshData(): void;
5366
5389
  downloadData(): void;
@@ -18,6 +18,13 @@ export interface IPanelRenderModel extends IPanelMeta {
18
18
  readonly queryStateMessages: string;
19
19
  readonly queryErrors: string[];
20
20
  readonly canRenderViz: boolean;
21
+ readonly realDataFieldOptions: {
22
+ label: string;
23
+ value: string;
24
+ group: string;
25
+ group_id: string;
26
+ disabled: boolean;
27
+ }[];
21
28
  queryByID(queryID: string): IQueryRenderModel | undefined;
22
29
  refreshData(): void;
23
30
  downloadData(): void;
@@ -27,6 +34,22 @@ export interface IPanelRenderModel extends IPanelMeta {
27
34
  layouts: unknown;
28
35
  };
29
36
  downloadSchema(): void;
37
+ dataFieldOptions(selected: TDataKey, clearable: boolean, queryID?: string): {
38
+ label: string;
39
+ value: string;
40
+ group: string;
41
+ group_id: string;
42
+ disabled: boolean;
43
+ }[];
44
+ dataFieldOptionGroups(selected: TDataKey, clearable: boolean, queryID?: string): {
45
+ group: string;
46
+ items: {
47
+ label: string;
48
+ value: string;
49
+ group_id: string;
50
+ disabled: boolean;
51
+ }[];
52
+ }[];
30
53
  }
31
54
  export interface IPanelsRenderModel {
32
55
  list: IObservableArray<IPanelRenderModel>;