@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.
- package/dist/dashboard.es.js +1791 -1768
- package/dist/dashboard.umd.js +50 -50
- package/dist/plugins/common-echarts-fields/number-or-dynamic-value/field/dynamic-function-editor.d.ts +2 -2
- package/dist/plugins/common-echarts-fields/number-or-dynamic-value/field/dynamic.d.ts +3 -2
- package/dist/plugins/viz-components/calendar-heatmap/option/visual-map.d.ts +3 -3
- package/dist/plugins/viz-components/calendar-heatmap/type.d.ts +3 -2
- package/dist/stats.html +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TNumberOrDynamic_Dynamic } from '../types';
|
|
2
|
-
interface
|
|
2
|
+
interface IProps {
|
|
3
3
|
value: TNumberOrDynamic_Dynamic['value'];
|
|
4
4
|
onChange: (v: TNumberOrDynamic_Dynamic['value']) => void;
|
|
5
5
|
}
|
|
6
|
-
export declare const
|
|
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
|
-
|
|
2
|
+
interface IProps {
|
|
3
3
|
value: TNumberOrDynamic;
|
|
4
4
|
onChange: (v: TNumberOrDynamic) => void;
|
|
5
5
|
}
|
|
6
|
-
export declare const
|
|
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:
|
|
4
|
-
max:
|
|
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:
|
|
10
|
-
max:
|
|
10
|
+
min: TNumberOrDynamic;
|
|
11
|
+
max: TNumberOrDynamic;
|
|
11
12
|
name: string;
|
|
12
13
|
data_key: TDataKey;
|
|
13
14
|
value_formatter: TNumbroFormat;
|