@devtable/dashboard 12.7.0 → 12.9.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/components/filter/filter-date-range/widget/shortcuts/shortcuts.d.ts +1 -1
- package/dist/components/panel/settings/common/data-field-selector.d.ts +1 -0
- package/dist/components/panel/settings/common/mantine-size-selector.d.ts +6 -3
- package/dist/components/plugins/common-echarts-fields/axis-label-rotate/axis-label-rotate-input.d.ts +10 -0
- package/dist/components/plugins/common-echarts-fields/axis-label-rotate/index.d.ts +1 -0
- package/dist/components/plugins/common-echarts-fields/label-position/label-position-selector.d.ts +3 -2
- package/dist/components/plugins/common-echarts-fields/line-type/index.d.ts +2 -0
- package/dist/components/plugins/common-echarts-fields/line-type/line-type-selector.d.ts +11 -0
- package/dist/components/plugins/common-echarts-fields/line-type/types.d.ts +1 -0
- package/dist/components/plugins/common-echarts-fields/name-text-align/index.d.ts +2 -0
- package/dist/components/plugins/common-echarts-fields/name-text-align/name-text-align-selector.d.ts +12 -0
- package/dist/components/plugins/common-echarts-fields/name-text-align/types.d.ts +1 -0
- package/dist/components/plugins/common-echarts-fields/orientation/index.d.ts +2 -0
- package/dist/components/plugins/common-echarts-fields/orientation/orientation-selector.d.ts +12 -0
- package/dist/components/plugins/common-echarts-fields/orientation/types.d.ts +1 -0
- package/dist/components/plugins/common-echarts-fields/regression-line/types.d.ts +3 -2
- package/dist/components/plugins/{viz-components/cartesian/editors/scatter-size-select → common-echarts-fields/symbol-size}/dynamic-size-function-editor.d.ts +3 -3
- package/dist/components/plugins/common-echarts-fields/symbol-size/dynamic.d.ts +6 -0
- package/dist/components/plugins/common-echarts-fields/symbol-size/index.d.ts +2 -0
- package/dist/components/plugins/common-echarts-fields/symbol-size/static.d.ts +7 -0
- package/dist/components/plugins/common-echarts-fields/symbol-size/symbol-size-selector.d.ts +9 -0
- package/dist/components/plugins/common-echarts-fields/symbol-size/types.d.ts +13 -0
- package/dist/components/plugins/common-echarts-fields/x-axis-label-formatter/get-echarts-x-axis-tick-label.d.ts +2 -1
- package/dist/components/plugins/common-echarts-fields/x-axis-label-formatter/index.d.ts +4 -9
- package/dist/components/plugins/common-echarts-fields/x-axis-label-formatter/types.d.ts +1 -1
- package/dist/components/plugins/{viz-components/cartesian/editors/x-axis/x-axis-label-formatter/index.d.ts → common-echarts-fields/x-axis-label-formatter/x-axis-label-formatter-field.d.ts} +1 -0
- package/dist/components/plugins/common-echarts-fields/x-axis-position/index.d.ts +2 -0
- package/dist/components/plugins/common-echarts-fields/x-axis-position/types.d.ts +1 -0
- package/dist/components/plugins/common-echarts-fields/x-axis-position/x-axis-position-selector.d.ts +11 -0
- package/dist/components/plugins/common-echarts-fields/y-axis-position/index.d.ts +2 -0
- package/dist/components/plugins/common-echarts-fields/y-axis-position/types.d.ts +1 -0
- package/dist/components/plugins/common-echarts-fields/y-axis-position/y-axis-position-selector.d.ts +11 -0
- package/dist/components/plugins/editor-components/color-type/color-type-selector.d.ts +11 -0
- package/dist/components/plugins/editor-components/color-type/index.d.ts +2 -0
- package/dist/components/plugins/editor-components/color-type/type.d.ts +1 -0
- package/dist/components/plugins/editor-components/flex/align-items-selector.d.ts +11 -0
- package/dist/components/plugins/editor-components/flex/index.d.ts +3 -0
- package/dist/components/plugins/editor-components/flex/justify-content-selector.d.ts +11 -0
- package/dist/components/plugins/editor-components/flex/type.d.ts +2 -0
- package/dist/components/plugins/editor-components/horizontal-align-selector.d.ts +11 -0
- package/dist/components/plugins/editor-components/index.d.ts +7 -0
- package/dist/components/plugins/editor-components/vertical-align-selector.d.ts +11 -0
- package/dist/components/plugins/editor-components/viz-config-banner.d.ts +5 -0
- package/dist/components/plugins/viz-components/bar-3d-chart/translation.d.ts +2 -0
- package/dist/components/plugins/viz-components/boxplot-chart/type.d.ts +3 -3
- package/dist/components/plugins/viz-components/button/translation.d.ts +2 -0
- package/dist/components/plugins/viz-components/button/type.d.ts +3 -2
- package/dist/components/plugins/viz-components/calendar-heatmap/option/formatters.d.ts +1 -1
- package/dist/components/plugins/viz-components/calendar-heatmap/translation.d.ts +2 -0
- package/dist/components/plugins/viz-components/cartesian/migrators/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/cartesian/option/series/get-echarts-symbol-size.d.ts +2 -0
- package/dist/components/plugins/viz-components/cartesian/option/series/reference_lines.d.ts +1 -1
- package/dist/components/plugins/viz-components/cartesian/translation.d.ts +2 -0
- package/dist/components/plugins/viz-components/cartesian/type.d.ts +15 -10
- package/dist/components/plugins/viz-components/funnel/translation.d.ts +2 -0
- package/dist/components/plugins/viz-components/funnel/type.d.ts +2 -1
- package/dist/components/plugins/viz-components/heatmap/option/formatters.d.ts +1 -1
- package/dist/components/plugins/viz-components/heatmap/option/x-axis.d.ts +1 -1
- package/dist/components/plugins/viz-components/heatmap/option/y-axis.d.ts +1 -1
- package/dist/components/plugins/viz-components/heatmap/translation.d.ts +2 -0
- package/dist/components/plugins/viz-components/heatmap/type.d.ts +3 -2
- package/dist/components/plugins/viz-components/horizontal-bar-chart/option/series/reference_lines.d.ts +2 -2
- package/dist/components/plugins/viz-components/horizontal-bar-chart/translation.d.ts +2 -0
- package/dist/components/plugins/viz-components/horizontal-bar-chart/type.d.ts +11 -6
- package/dist/components/plugins/viz-components/merico-estimation-chart/option/x-axis.d.ts +1 -1
- package/dist/components/plugins/viz-components/merico-estimation-chart/translation.d.ts +2 -0
- package/dist/components/plugins/viz-components/merico-estimation-chart/type.d.ts +1 -1
- package/dist/components/plugins/viz-components/merico-heatmap/render/option/formatters.d.ts +1 -1
- package/dist/components/plugins/viz-components/merico-heatmap/render/option/x-axis.d.ts +1 -1
- package/dist/components/plugins/viz-components/merico-heatmap/render/option/y-axis.d.ts +1 -1
- package/dist/components/plugins/viz-components/merico-heatmap/translation.d.ts +2 -0
- package/dist/components/plugins/viz-components/merico-heatmap/type.d.ts +4 -3
- package/dist/components/plugins/viz-components/merico-stats/translation.d.ts +2 -0
- package/dist/components/plugins/viz-components/merico-stats/type.d.ts +3 -3
- package/dist/components/plugins/viz-components/pareto-chart/translation.d.ts +2 -0
- package/dist/components/plugins/viz-components/pareto-chart/type.d.ts +4 -3
- package/dist/components/plugins/viz-components/pie-chart/translation.d.ts +2 -0
- package/dist/components/plugins/viz-components/radar-chart/translation.d.ts +2 -0
- package/dist/components/plugins/viz-components/regression-chart/migrators/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/regression-chart/translation.d.ts +2 -0
- package/dist/components/plugins/viz-components/regression-chart/type.d.ts +1 -1
- package/dist/components/plugins/viz-components/rich-text/translation.d.ts +2 -0
- package/dist/components/plugins/viz-components/scatter-chart/option/get-echarts-symbol-size.d.ts +2 -0
- package/dist/components/plugins/viz-components/scatter-chart/translation.d.ts +2 -0
- package/dist/components/plugins/viz-components/scatter-chart/type.d.ts +5 -4
- package/dist/components/plugins/viz-components/stats/translation.d.ts +2 -0
- package/dist/components/plugins/viz-components/stats/type.d.ts +3 -2
- package/dist/components/plugins/viz-components/sunburst/translation.d.ts +2 -0
- package/dist/components/plugins/viz-components/table/translation.d.ts +2 -0
- package/dist/components/plugins/viz-components/table/type.d.ts +2 -1
- package/dist/components/plugins/viz-components/table/value-type-selector.d.ts +0 -1
- package/dist/components/plugins/viz-components/text/translation.d.ts +2 -0
- package/dist/components/plugins/viz-components/text/type.d.ts +2 -1
- package/dist/components/plugins/viz-components/viz-merico-gqm/translation.d.ts +2 -0
- package/dist/contexts/dates-provider.d.ts +4 -0
- package/dist/contexts/index.d.ts +1 -0
- package/dist/dashboard.es.js +16849 -15921
- package/dist/dashboard.umd.js +116 -121
- package/dist/i18n/en.d.ts +454 -6
- package/dist/i18n/zh.d.ts +454 -6
- package/dist/stats.html +1 -1
- package/package.json +1 -1
- package/dist/components/panel/settings/common/css-types.d.ts +0 -10
- package/dist/components/plugins/viz-components/cartesian/editors/scatter-size-select/dynamic.d.ts +0 -6
- package/dist/components/plugins/viz-components/cartesian/editors/scatter-size-select/get-echarts-symbol-size.d.ts +0 -2
- package/dist/components/plugins/viz-components/cartesian/editors/scatter-size-select/index.d.ts +0 -9
- package/dist/components/plugins/viz-components/cartesian/editors/scatter-size-select/static.d.ts +0 -7
- package/dist/components/plugins/viz-components/cartesian/editors/scatter-size-select/types.d.ts +0 -13
- package/dist/components/plugins/viz-components/cartesian/editors/x-axis/x-axis-label-formatter/function-editor.d.ts +0 -7
- package/dist/components/plugins/viz-components/cartesian/editors/x-axis/x-axis-label-formatter/get-echarts-x-axis-tick-label.d.ts +0 -2
- package/dist/components/plugins/viz-components/cartesian/editors/x-axis/x-axis-label-formatter/types.d.ts +0 -8
- package/dist/components/plugins/viz-components/heatmap/editors/x-axis/x-axis-label-formatter/function-editor.d.ts +0 -7
- package/dist/components/plugins/viz-components/heatmap/editors/x-axis/x-axis-label-formatter/get-echarts-x-axis-tick-label.d.ts +0 -3
- package/dist/components/plugins/viz-components/heatmap/editors/x-axis/x-axis-label-formatter/index.d.ts +0 -8
- package/dist/components/plugins/viz-components/heatmap/editors/x-axis/x-axis-label-formatter/types.d.ts +0 -8
- package/dist/components/plugins/viz-components/merico-heatmap/editors/x-axis/x-axis-label-formatter/function-editor.d.ts +0 -7
- package/dist/components/plugins/viz-components/merico-heatmap/editors/x-axis/x-axis-label-formatter/get-echarts-x-axis-tick-label.d.ts +0 -3
- package/dist/components/plugins/viz-components/merico-heatmap/editors/x-axis/x-axis-label-formatter/index.d.ts +0 -8
- package/dist/components/plugins/viz-components/merico-heatmap/editors/x-axis/x-axis-label-formatter/types.d.ts +0 -8
- package/dist/components/plugins/viz-components/scatter-chart/editors/scatter/scatter-size-select/dynamic-size-function-editor.d.ts +0 -7
- package/dist/components/plugins/viz-components/scatter-chart/editors/scatter/scatter-size-select/dynamic.d.ts +0 -6
- package/dist/components/plugins/viz-components/scatter-chart/editors/scatter/scatter-size-select/get-echarts-symbol-size.d.ts +0 -2
- package/dist/components/plugins/viz-components/scatter-chart/editors/scatter/scatter-size-select/index.d.ts +0 -9
- package/dist/components/plugins/viz-components/scatter-chart/editors/scatter/scatter-size-select/static.d.ts +0 -7
- package/dist/components/plugins/viz-components/scatter-chart/editors/scatter/scatter-size-select/types.d.ts +0 -13
- package/dist/components/plugins/viz-components/scatter-chart/editors/x-axis/x-axis-label-formatter/function-editor.d.ts +0 -7
- package/dist/components/plugins/viz-components/scatter-chart/editors/x-axis/x-axis-label-formatter/get-echarts-x-axis-tick-label.d.ts +0 -2
- package/dist/components/plugins/viz-components/scatter-chart/editors/x-axis/x-axis-label-formatter/index.d.ts +0 -8
- package/dist/components/plugins/viz-components/scatter-chart/editors/x-axis/x-axis-label-formatter/types.d.ts +0 -5
- /package/dist/components/plugins/{controls → editor-components}/color-interpolation-select/index.d.ts +0 -0
- /package/dist/components/plugins/{controls → editor-components}/color-mapping-editor/index.d.ts +0 -0
- /package/dist/components/plugins/{controls → editor-components}/color-mapping-editor/style.d.ts +0 -0
|
@@ -7,7 +7,7 @@ export declare function getReferenceLines(reference_lines: IHorizontalBarChartRe
|
|
|
7
7
|
xAxisIndex: string;
|
|
8
8
|
data: never[];
|
|
9
9
|
lineStyle: {
|
|
10
|
-
type: "
|
|
10
|
+
type: import("../../../../common-echarts-fields/line-type").IEChartsLineType;
|
|
11
11
|
width: number;
|
|
12
12
|
color: string;
|
|
13
13
|
};
|
|
@@ -19,7 +19,7 @@ export declare function getReferenceLines(reference_lines: IHorizontalBarChartRe
|
|
|
19
19
|
silent: boolean;
|
|
20
20
|
symbol: string[];
|
|
21
21
|
lineStyle: {
|
|
22
|
-
type: "
|
|
22
|
+
type: import("../../../../common-echarts-fields/line-type").IEChartsLineType;
|
|
23
23
|
width: number;
|
|
24
24
|
color: string;
|
|
25
25
|
};
|
|
@@ -1,18 +1,23 @@
|
|
|
1
1
|
import { IAxisLabelOverflow } from '../../../../components/plugins/common-echarts-fields/axis-label-overflow';
|
|
2
2
|
import { IEchartsTooltipMetric } from '../../../../components/plugins/common-echarts-fields/tooltip-metric';
|
|
3
3
|
import { AggregationType, TNumberFormat } from '../../../../utils';
|
|
4
|
-
import {
|
|
4
|
+
import { IEchartsLabelPosition } from '../../common-echarts-fields/label-position';
|
|
5
|
+
import { IEChartsLineType } from '../../common-echarts-fields/line-type';
|
|
6
|
+
import { EChartsNameTextAlign } from '../../common-echarts-fields/name-text-align';
|
|
7
|
+
import { ChartingOrientation } from '../../common-echarts-fields/orientation';
|
|
8
|
+
import { IXAxisLabelFormatter } from '../../common-echarts-fields/x-axis-label-formatter';
|
|
9
|
+
import { EChartsXAxisPosition } from '../../common-echarts-fields/x-axis-position';
|
|
5
10
|
export interface IHorizontalBarChartReferenceLine {
|
|
6
11
|
id: string;
|
|
7
12
|
name: string;
|
|
8
13
|
template: string;
|
|
9
14
|
lineStyle: {
|
|
10
|
-
type:
|
|
15
|
+
type: IEChartsLineType;
|
|
11
16
|
width: number;
|
|
12
17
|
color: string;
|
|
13
18
|
};
|
|
14
19
|
xAxisIndex: string;
|
|
15
|
-
orientation:
|
|
20
|
+
orientation: ChartingOrientation;
|
|
16
21
|
variable_key: string;
|
|
17
22
|
show_in_legend: boolean;
|
|
18
23
|
}
|
|
@@ -31,7 +36,7 @@ export interface IHorizontalBarChartSeriesItem {
|
|
|
31
36
|
group_by_key: TDataKey;
|
|
32
37
|
hide_in_legend: boolean;
|
|
33
38
|
invisible: boolean;
|
|
34
|
-
label_position?:
|
|
39
|
+
label_position?: IEchartsLabelPosition;
|
|
35
40
|
aggregation_on_value?: AggregationType;
|
|
36
41
|
}
|
|
37
42
|
export interface IHorizontalBarChartXAxis {
|
|
@@ -40,7 +45,7 @@ export interface IHorizontalBarChartXAxis {
|
|
|
40
45
|
max: string;
|
|
41
46
|
name: string;
|
|
42
47
|
data_key: TDataKey;
|
|
43
|
-
position:
|
|
48
|
+
position: EChartsXAxisPosition;
|
|
44
49
|
label_formatter: TNumberFormat;
|
|
45
50
|
show: boolean;
|
|
46
51
|
}
|
|
@@ -53,7 +58,7 @@ export interface IHorizontalBarChartConf {
|
|
|
53
58
|
overflow: IAxisLabelOverflow;
|
|
54
59
|
formatter: IXAxisLabelFormatter;
|
|
55
60
|
};
|
|
56
|
-
nameAlignment:
|
|
61
|
+
nameAlignment: EChartsNameTextAlign;
|
|
57
62
|
};
|
|
58
63
|
series: IHorizontalBarChartSeriesItem[];
|
|
59
64
|
tooltip: {
|
|
@@ -41,7 +41,7 @@ export declare function getXAxes(conf: IMericoEstimationChartConf, xAxisData: st
|
|
|
41
41
|
};
|
|
42
42
|
type: string;
|
|
43
43
|
axisLabel: {
|
|
44
|
-
formatter: (
|
|
44
|
+
formatter: import('../../../../../components/plugins/common-echarts-fields/x-axis-label-formatter').FormatterFuncType;
|
|
45
45
|
rotate: number;
|
|
46
46
|
show?: undefined;
|
|
47
47
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IEchartsTooltipMetric } from '../../../../components/plugins/common-echarts-fields/tooltip-metric';
|
|
2
|
-
import { IXAxisLabelFormatter } from '../../../../components/plugins/common-echarts-fields/x-axis-label-formatter
|
|
2
|
+
import { IXAxisLabelFormatter } from '../../../../components/plugins/common-echarts-fields/x-axis-label-formatter';
|
|
3
3
|
export interface IMericoEstimationChartConf {
|
|
4
4
|
x_axis: {
|
|
5
5
|
data_key: TDataKey;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FormatterFuncType } from '../../editors/x-axis/x-axis-label-formatter/get-echarts-x-axis-tick-label';
|
|
2
1
|
import { TMericoHeatmapConf } from '../../type';
|
|
2
|
+
import { FormatterFuncType } from '../../../../../../components/plugins/common-echarts-fields/x-axis-label-formatter';
|
|
3
3
|
export type LabelFormattersType = {
|
|
4
4
|
x_axis: FormatterFuncType;
|
|
5
5
|
y_axis: FormatterFuncType;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FormatterFuncType } from '../../editors/x-axis/x-axis-label-formatter/get-echarts-x-axis-tick-label';
|
|
2
1
|
import { TMericoHeatmapConf } from '../../type';
|
|
2
|
+
import { FormatterFuncType } from '../../../../../../components/plugins/common-echarts-fields/x-axis-label-formatter';
|
|
3
3
|
export declare function getXAxis(conf: TMericoHeatmapConf, data: TPanelData, formatterFunc: FormatterFuncType): any;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FormatterFuncType } from '../../editors/x-axis/x-axis-label-formatter/get-echarts-x-axis-tick-label';
|
|
2
1
|
import { TMericoHeatmapConf } from '../../type';
|
|
2
|
+
import { FormatterFuncType } from '../../../../../../components/plugins/common-echarts-fields/x-axis-label-formatter';
|
|
3
3
|
export declare function getYAxis(conf: TMericoHeatmapConf, data: TPanelData, formatterFunc: FormatterFuncType): any;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { TNumberFormat } from '../../../../utils';
|
|
2
1
|
import { IAxisLabelOverflow } from '../../../../components/plugins/common-echarts-fields/axis-label-overflow';
|
|
3
2
|
import { IEchartsTooltipMetric } from '../../../../components/plugins/common-echarts-fields/tooltip-metric';
|
|
4
|
-
import {
|
|
3
|
+
import { TNumberFormat } from '../../../../utils';
|
|
5
4
|
import { TNumberOrDynamic } from '../../../../components/plugins/common-echarts-fields/number-or-dynamic-value/types';
|
|
5
|
+
import { EChartsNameTextAlign } from '../../common-echarts-fields/name-text-align';
|
|
6
|
+
import { IXAxisLabelFormatter } from '../../common-echarts-fields/x-axis-label-formatter';
|
|
6
7
|
export type TMericoHeatmapConf = {
|
|
7
8
|
x_axis: {
|
|
8
9
|
name: string;
|
|
@@ -16,7 +17,7 @@ export type TMericoHeatmapConf = {
|
|
|
16
17
|
y_axis: {
|
|
17
18
|
name: string;
|
|
18
19
|
data_key: TDataKey;
|
|
19
|
-
nameAlignment:
|
|
20
|
+
nameAlignment: EChartsNameTextAlign;
|
|
20
21
|
axisLabel: {
|
|
21
22
|
rotate: number;
|
|
22
23
|
formatter: IXAxisLabelFormatter;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TAlignItems, TJustifyContent } from '../../../../components/panel/settings/common/css-types';
|
|
2
1
|
import { TNumberFormat } from '../../../../utils';
|
|
2
|
+
import { AlignItems, JustifyContent } from '../../editor-components';
|
|
3
3
|
export type TMetricPostfix = {
|
|
4
4
|
type: 'filter-option-label' | 'text';
|
|
5
5
|
value: string;
|
|
@@ -18,8 +18,8 @@ export type TMericoStatsMetric = {
|
|
|
18
18
|
postfix: TMetricPostfix;
|
|
19
19
|
};
|
|
20
20
|
export type TMericoStatsStyle = {
|
|
21
|
-
justify:
|
|
22
|
-
align:
|
|
21
|
+
justify: JustifyContent;
|
|
22
|
+
align: AlignItems;
|
|
23
23
|
};
|
|
24
24
|
export type TMericoStatsConf = {
|
|
25
25
|
styles: TMericoStatsStyle;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { IAxisLabelOverflow } from '../../../../components/plugins/common-echarts-fields/axis-label-overflow';
|
|
2
2
|
import { TNumberFormat } from '../../../../utils';
|
|
3
3
|
import { TEchartsDataZoomConfig } from '../cartesian/editors/echarts-zooming-field/types';
|
|
4
|
-
import {
|
|
4
|
+
import { EChartsNameTextAlign } from '../../common-echarts-fields/name-text-align';
|
|
5
|
+
import { IXAxisLabelFormatter } from '../../common-echarts-fields/x-axis-label-formatter';
|
|
5
6
|
export declare const DEFAULT_PARETO_MARK_LINE: {
|
|
6
7
|
label_template: string;
|
|
7
8
|
color: string;
|
|
@@ -19,13 +20,13 @@ export interface IParetoChartConf {
|
|
|
19
20
|
data_key: string;
|
|
20
21
|
bar: {
|
|
21
22
|
name: string;
|
|
22
|
-
nameAlignment:
|
|
23
|
+
nameAlignment: EChartsNameTextAlign;
|
|
23
24
|
color: string;
|
|
24
25
|
label_formatter: TNumberFormat;
|
|
25
26
|
};
|
|
26
27
|
line: {
|
|
27
28
|
name: string;
|
|
28
|
-
nameAlignment:
|
|
29
|
+
nameAlignment: EChartsNameTextAlign;
|
|
29
30
|
color: string;
|
|
30
31
|
};
|
|
31
32
|
dataZoom: TEchartsDataZoomConfig;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IRegressionChartConf } from '../type';
|
|
2
1
|
import { IMigrationEnv } from '../../../../../components/plugins';
|
|
2
|
+
import { IRegressionChartConf } from '../type';
|
|
3
3
|
export declare function v2(legacyConf: $TSFixMe): IRegressionChartConf;
|
|
4
4
|
export declare function v3(legacyConf: any, { panelModel }: IMigrationEnv): IRegressionChartConf;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IAxisLabelOverflow } from '../../../../components/plugins/common-echarts-fields/axis-label-overflow';
|
|
2
|
-
import { IXAxisLabelFormatter } from '../../../../components/plugins/common-echarts-fields/x-axis-label-formatter
|
|
2
|
+
import { IXAxisLabelFormatter } from '../../../../components/plugins/common-echarts-fields/x-axis-label-formatter';
|
|
3
3
|
import { TNumberFormat } from '../../../../utils';
|
|
4
4
|
import { IRegressionConf } from '../cartesian/type';
|
|
5
5
|
export interface IRegressionChartConf {
|
package/dist/components/plugins/viz-components/scatter-chart/option/get-echarts-symbol-size.d.ts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { SymbolSize } from '../../../../../components/plugins/common-echarts-fields/symbol-size';
|
|
2
|
+
export declare function getEChartsSymbolSize({ type, ...rest }: SymbolSize, variableValueMap: Record<string, string | number>): number | ((_value: number, params: $TSFixMe) => any);
|
|
@@ -3,9 +3,10 @@ import { TSeriesColor } from './editors/scatter/series-color-select/types';
|
|
|
3
3
|
import { IAxisLabelOverflow, IEchartsOverflow } from '../../../../components/plugins/common-echarts-fields/axis-label-overflow';
|
|
4
4
|
import { IEchartsReferenceArea } from '../../../../components/plugins/common-echarts-fields/reference-area/types';
|
|
5
5
|
import { IEchartsTooltipMetric } from '../../../../components/plugins/common-echarts-fields/tooltip-metric';
|
|
6
|
+
import { SymbolSize } from '../../common-echarts-fields/symbol-size';
|
|
6
7
|
import { ICartesianReferenceLine, IYAxisConf } from '../cartesian/type';
|
|
7
|
-
import {
|
|
8
|
-
import { IXAxisLabelFormatter } from '
|
|
8
|
+
import { IEchartsLabelPosition } from '../../common-echarts-fields/label-position';
|
|
9
|
+
import { IXAxisLabelFormatter } from '../../common-echarts-fields/x-axis-label-formatter';
|
|
9
10
|
export interface IScatterLabelOverflow {
|
|
10
11
|
label: IEchartsOverflow;
|
|
11
12
|
tooltip: IEchartsOverflow;
|
|
@@ -24,8 +25,8 @@ export interface IScatterChartConf {
|
|
|
24
25
|
scatter: {
|
|
25
26
|
y_data_key: TDataKey;
|
|
26
27
|
name_data_key: TDataKey;
|
|
27
|
-
symbolSize:
|
|
28
|
-
label_position:
|
|
28
|
+
symbolSize: SymbolSize;
|
|
29
|
+
label_position: IEchartsLabelPosition;
|
|
29
30
|
color: TSeriesColor;
|
|
30
31
|
label_overflow: IScatterLabelOverflow;
|
|
31
32
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { HorizontalAlign, VerticalAlign } from '../../editor-components';
|
|
1
2
|
export interface IVizStatsConf {
|
|
2
3
|
template: string;
|
|
3
|
-
vertical_align:
|
|
4
|
-
horizontal_align:
|
|
4
|
+
vertical_align: VerticalAlign;
|
|
5
|
+
horizontal_align: HorizontalAlign;
|
|
5
6
|
}
|
|
6
7
|
export declare const DEFAULT_CONFIG: IVizStatsConf;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { IColorInterpolationConfig } from '../../../../types/plugin';
|
|
2
2
|
import { IClickCellContentConfig } from './triggers/click-cell-content';
|
|
3
|
+
import { HorizontalAlign } from '../../editor-components';
|
|
3
4
|
export declare enum ValueType {
|
|
4
5
|
string = "string",
|
|
5
6
|
number = "number",
|
|
@@ -8,7 +9,7 @@ export declare enum ValueType {
|
|
|
8
9
|
custom = "custom"
|
|
9
10
|
}
|
|
10
11
|
export type CellBackgroundColorType = string | IColorInterpolationConfig;
|
|
11
|
-
export type ColumnAlignType =
|
|
12
|
+
export type ColumnAlignType = HorizontalAlign;
|
|
12
13
|
export interface IColumnConf {
|
|
13
14
|
id: string;
|
|
14
15
|
label: string;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { HorizontalAlign } from '../../editor-components';
|
|
1
2
|
export declare const DEFAULT_TEXT_FUNC_CONTENT: string;
|
|
2
3
|
export interface IVizTextConf {
|
|
3
4
|
func_content: string;
|
|
4
|
-
horizontal_align:
|
|
5
|
+
horizontal_align: HorizontalAlign;
|
|
5
6
|
font_size: string;
|
|
6
7
|
font_weight: string;
|
|
7
8
|
}
|
package/dist/contexts/index.d.ts
CHANGED