@devtable/dashboard 7.9.0 → 7.10.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.
@@ -19,4 +19,6 @@ export declare function getYAxes(conf: ICartesianChartConf, labelFormatters: Rec
19
19
  };
20
20
  name: string;
21
21
  label_formatter: import("../../../../panel/settings/common/numbro-format-selector").TNumbroFormat;
22
+ min: string;
23
+ max: string;
22
24
  }[];
@@ -6,5 +6,5 @@ interface IXAxisLabelFormatterField {
6
6
  onChange: (v: IXAxisLabelFormatter) => void;
7
7
  data: AnyObject[];
8
8
  }
9
- export declare const XAxisLabelFormatterField: ({ value, onChange, data }: IXAxisLabelFormatterField) => JSX.Element;
9
+ export declare const XAxisLabelFormatterField: import("react").ForwardRefExoticComponent<IXAxisLabelFormatterField & import("react").RefAttributes<unknown>>;
10
10
  export {};
@@ -30,6 +30,8 @@ export interface IYAxisConf {
30
30
  nameAlignment: 'left' | 'center' | 'right';
31
31
  position: 'left' | 'right';
32
32
  label_formatter: TNumbroFormat;
33
+ min: string;
34
+ max: string;
33
35
  }
34
36
  export interface IRegressionTransform {
35
37
  type: 'ecStat:regression';
@@ -6,5 +6,5 @@ interface IXAxisLabelFormatterField {
6
6
  onChange: (v: IXAxisLabelFormatter) => void;
7
7
  data: AnyObject[];
8
8
  }
9
- export declare const XAxisLabelFormatterField: ({ value, onChange, data }: IXAxisLabelFormatterField) => JSX.Element;
9
+ export declare const XAxisLabelFormatterField: import("react").ForwardRefExoticComponent<IXAxisLabelFormatterField & import("react").RefAttributes<unknown>>;
10
10
  export {};
@@ -1,10 +1,11 @@
1
1
  /// <reference types="react" />
2
- import { Control, UseFieldArrayRemove } from 'react-hook-form';
2
+ import { Control, UseFieldArrayRemove, UseFormWatch } from 'react-hook-form';
3
3
  import { IScatterChartConf } from '../../type';
4
4
  interface IYAxisField {
5
5
  control: Control<IScatterChartConf, $TSFixMe>;
6
6
  index: number;
7
7
  remove: UseFieldArrayRemove;
8
+ watch: UseFormWatch<IScatterChartConf>;
8
9
  }
9
- export declare function YAxisField({ control, index, remove }: IYAxisField): JSX.Element;
10
+ export declare function YAxisField({ control, index, remove, watch }: IYAxisField): JSX.Element;
10
11
  export {};
@@ -19,4 +19,6 @@ export declare function getYAxes(conf: IScatterChartConf, labelFormatters: Recor
19
19
  };
20
20
  name: string;
21
21
  label_formatter: import("../../../../panel/settings/common/numbro-format-selector").TNumbroFormat;
22
+ min: string;
23
+ max: string;
22
24
  }[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devtable/dashboard",
3
- "version": "7.9.0",
3
+ "version": "7.10.0",
4
4
  "license": "Apache-2.0",
5
5
  "publishConfig": {
6
6
  "access": "public",