@devtable/dashboard 12.5.0 → 12.7.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.
@@ -9,6 +9,7 @@ export interface IPluginContextProps {
9
9
  vizManager: VizManager;
10
10
  colorManager: IColorManager;
11
11
  }
12
+ export declare const vizList: import('../../types/plugin').VizComponent[];
12
13
  export declare const pluginManager: PluginManager;
13
14
  /**
14
15
  * All available tokens of services, it also serves as an overview of the
@@ -1,11 +1,13 @@
1
1
  import { ITemplateVariable } from '../../../../../utils';
2
2
  import { IBoxplotChartConf } from '../type';
3
+ import { TFunction } from 'i18next';
3
4
  interface IGetOption {
4
5
  config: IBoxplotChartConf;
5
6
  data: TPanelData;
6
7
  variables: ITemplateVariable[];
8
+ t: TFunction;
7
9
  }
8
- export declare function getOption({ config, data, variables }: IGetOption): {
10
+ export declare function getOption({ config, data, variables, t }: IGetOption): {
9
11
  dataZoom: ({
10
12
  type: string;
11
13
  xAxisIndex: number[];
@@ -74,7 +76,13 @@ export declare function getOption({ config, data, variables }: IGetOption): {
74
76
  position: string;
75
77
  };
76
78
  };
77
- } | import("./series/custom/type").ScatterSeries | {
79
+ } | {
80
+ name: string;
81
+ type: "custom";
82
+ itemStyle: {
83
+ color: string;
84
+ };
85
+ } | {
78
86
  name: string;
79
87
  type: string;
80
88
  ignore: boolean;
@@ -1,4 +1,6 @@
1
1
  import { IBoxplotChartConf } from '../type';
2
- export declare function getLegend({ config }: {
2
+ import { SeriesNames } from './type';
3
+ export declare function getLegend({ config, seriesNames }: {
3
4
  config: IBoxplotChartConf;
5
+ seriesNames: SeriesNames;
4
6
  }): Record<string, any>;
@@ -1,4 +1,6 @@
1
1
  import { IBoxplotChartConf } from '../../type';
2
- export declare function getTooltip({ config }: {
2
+ import { SeriesNames } from '../type';
3
+ export declare function getTooltip({ config, seriesNames }: {
3
4
  config: IBoxplotChartConf;
5
+ seriesNames: SeriesNames;
4
6
  }): any;
@@ -0,0 +1,5 @@
1
+ export type SeriesNames = {
2
+ Box: string;
3
+ Scatter: string;
4
+ Outlier: string;
5
+ };
@@ -0,0 +1,2 @@
1
+ import { TranslationPatch } from '../../../../types/plugin';
2
+ export declare const translation: TranslationPatch;
@@ -63,6 +63,7 @@ export declare const FiltersModel: import("mobx-state-tree").IModelType<{
63
63
  _name: import("mobx-state-tree").ISimpleType<"select">;
64
64
  default_value: import("mobx-state-tree").ISimpleType<string>;
65
65
  width: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
66
+ clearable: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
66
67
  } & {
67
68
  static_options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
68
69
  label: import("mobx-state-tree").ISimpleType<string>;
@@ -229,6 +230,7 @@ export declare const FiltersModel: import("mobx-state-tree").IModelType<{
229
230
  _name: import("mobx-state-tree").ISimpleType<"select">;
230
231
  default_value: import("mobx-state-tree").ISimpleType<string>;
231
232
  width: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
233
+ clearable: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
232
234
  } & {
233
235
  static_options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
234
236
  label: import("mobx-state-tree").ISimpleType<string>;
@@ -375,6 +377,7 @@ export declare const FiltersModel: import("mobx-state-tree").IModelType<{
375
377
  _name: import("mobx-state-tree").ISimpleType<"select">;
376
378
  default_value: import("mobx-state-tree").ISimpleType<string>;
377
379
  width: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
380
+ clearable: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
378
381
  } & {
379
382
  static_options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
380
383
  label: import("mobx-state-tree").ISimpleType<string>;
@@ -521,6 +524,7 @@ export declare const FiltersModel: import("mobx-state-tree").IModelType<{
521
524
  _name: import("mobx-state-tree").ISimpleType<"select">;
522
525
  default_value: import("mobx-state-tree").ISimpleType<string>;
523
526
  width: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
527
+ clearable: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
524
528
  } & {
525
529
  static_options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
526
530
  label: import("mobx-state-tree").ISimpleType<string>;
@@ -668,6 +672,7 @@ export declare const FiltersModel: import("mobx-state-tree").IModelType<{
668
672
  _name: import("mobx-state-tree").ISimpleType<"select">;
669
673
  default_value: import("mobx-state-tree").ISimpleType<string>;
670
674
  width: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
675
+ clearable: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
671
676
  } & {
672
677
  static_options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
673
678
  label: import("mobx-state-tree").ISimpleType<string>;
@@ -854,6 +859,7 @@ export declare const FiltersModel: import("mobx-state-tree").IModelType<{
854
859
  _name: import("mobx-state-tree").ISimpleType<"select">;
855
860
  default_value: import("mobx-state-tree").ISimpleType<string>;
856
861
  width: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
862
+ clearable: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
857
863
  } & {
858
864
  static_options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
859
865
  label: import("mobx-state-tree").ISimpleType<string>;