@devtable/dashboard 10.6.1 → 10.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.
@@ -1,7 +1,7 @@
1
1
  import { TNumberOrDynamic_Dynamic } from '../types';
2
- interface IDynamicSizeFunctionEditor {
2
+ interface IProps {
3
3
  value: TNumberOrDynamic_Dynamic['value'];
4
4
  onChange: (v: TNumberOrDynamic_Dynamic['value']) => void;
5
5
  }
6
- export declare const DynamicSizeFunctionEditor: ({ value, onChange }: IDynamicSizeFunctionEditor) => import('./react/jsx-runtime').JSX.Element;
6
+ export declare const DynamicValueFunctionEditor: ({ value, onChange }: IProps) => import('./react/jsx-runtime').JSX.Element;
7
7
  export {};
@@ -1,6 +1,7 @@
1
1
  import { TNumberOrDynamic } from '../types';
2
- export interface IDynamicScatterSizeField {
2
+ interface IProps {
3
3
  value: TNumberOrDynamic;
4
4
  onChange: (v: TNumberOrDynamic) => void;
5
5
  }
6
- export declare const DynamicScatterSizeField: ({ value, onChange }: IDynamicScatterSizeField) => import('./react/jsx-runtime').JSX.Element | null;
6
+ export declare const DynamicValueField: ({ value, onChange }: IProps) => import('./react/jsx-runtime').JSX.Element | null;
7
+ export {};
@@ -1,7 +1,7 @@
1
1
  import { ICalendarHeatmapConf } from '../type';
2
- export declare function getVisualMap(conf: ICalendarHeatmapConf, oneYearMode: boolean): {
3
- min: number;
4
- max: number;
2
+ export declare function getVisualMap(conf: ICalendarHeatmapConf, oneYearMode: boolean, variableValueMap: Record<string, string | number>): {
3
+ min: any;
4
+ max: any;
5
5
  calculable: boolean;
6
6
  orient: string;
7
7
  left: string | number;
@@ -1,4 +1,5 @@
1
1
  import { TNumbroFormat } from '~/panel/settings/common/numbro-format-selector';
2
+ import { TNumberOrDynamic } from '~/plugins/common-echarts-fields/number-or-dynamic-value';
2
3
  import { IEchartsTooltipMetric } from '~/plugins/common-echarts-fields/tooltip-metric';
3
4
  export interface ICalendarHeatmapConf {
4
5
  calendar: {
@@ -6,8 +7,8 @@ export interface ICalendarHeatmapConf {
6
7
  locale: 'ZH' | 'EN';
7
8
  };
8
9
  heat_block: {
9
- min: number;
10
- max: number;
10
+ min: TNumberOrDynamic;
11
+ max: TNumberOrDynamic;
11
12
  name: string;
12
13
  data_key: TDataKey;
13
14
  value_formatter: TNumbroFormat;