@devtable/dashboard 10.15.0 → 10.17.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/plugins/viz-components/boxplot-chart/editors/legend/index.d.ts +8 -0
- package/dist/components/plugins/viz-components/boxplot-chart/index.d.ts +1 -1
- package/dist/components/plugins/viz-components/boxplot-chart/option/grid.d.ts +8 -0
- package/dist/components/plugins/viz-components/boxplot-chart/option/index.d.ts +1 -0
- package/dist/components/plugins/viz-components/boxplot-chart/type.d.ts +11 -0
- package/dist/components/plugins/viz-components/cartesian/option/y-axis.d.ts +1 -0
- package/dist/components/plugins/viz-components/pareto-chart/option/index.d.ts +2 -0
- package/dist/components/plugins/viz-components/pareto-chart/option/y-axes.d.ts +2 -0
- package/dist/components/plugins/viz-components/scatter-chart/option/y-axis.d.ts +1 -0
- package/dist/dashboard.es.js +2120 -2049
- package/dist/dashboard.umd.js +52 -52
- package/dist/stats.html +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Control, UseFormWatch } from 'react-hook-form';
|
|
2
|
+
import { IBoxplotChartConf } from '../../type';
|
|
3
|
+
interface Props {
|
|
4
|
+
control: Control<IBoxplotChartConf, $TSFixMe>;
|
|
5
|
+
watch: UseFormWatch<IBoxplotChartConf>;
|
|
6
|
+
}
|
|
7
|
+
export declare const LegendField: ({ control, watch }: Props) => import('./react/jsx-runtime').JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VersionBasedMigrator } from '~/components/plugins/plugin-data-migrator';
|
|
2
2
|
import { VizComponent } from '~/types/plugin';
|
|
3
3
|
export declare class VizBoxplotChartMigrator extends VersionBasedMigrator {
|
|
4
|
-
readonly VERSION =
|
|
4
|
+
readonly VERSION = 9;
|
|
5
5
|
configVersions(): void;
|
|
6
6
|
}
|
|
7
7
|
export declare const BoxplotChartVizComponent: VizComponent;
|
|
@@ -8,6 +8,16 @@ export interface IBoxplotReferenceLine {
|
|
|
8
8
|
template: string;
|
|
9
9
|
variable_key: string;
|
|
10
10
|
}
|
|
11
|
+
export declare type TLegendOrientation = 'horizontal' | 'vertical';
|
|
12
|
+
export declare type TBoxplotLegend = {
|
|
13
|
+
show: boolean;
|
|
14
|
+
top: string;
|
|
15
|
+
right: string;
|
|
16
|
+
bottom: string;
|
|
17
|
+
left: string;
|
|
18
|
+
orient: TLegendOrientation;
|
|
19
|
+
type: 'scroll';
|
|
20
|
+
};
|
|
11
21
|
export interface IBoxplotChartConf {
|
|
12
22
|
x_axis: {
|
|
13
23
|
name: string;
|
|
@@ -28,6 +38,7 @@ export interface IBoxplotChartConf {
|
|
|
28
38
|
};
|
|
29
39
|
color: string;
|
|
30
40
|
reference_lines: IBoxplotReferenceLine[];
|
|
41
|
+
legend: TBoxplotLegend;
|
|
31
42
|
}
|
|
32
43
|
export declare const DEFAULT_CONFIG: IBoxplotChartConf;
|
|
33
44
|
export declare type TOutlierDataItem = [string, number, AnyObject];
|
|
@@ -66,6 +66,7 @@ export declare function getOption(conf: IParetoChartConf, data: TPanelData, _var
|
|
|
66
66
|
yAxis: ({
|
|
67
67
|
name: string;
|
|
68
68
|
nameGap: number;
|
|
69
|
+
minInterval: number;
|
|
69
70
|
nameTextStyle: {
|
|
70
71
|
fontWeight: string;
|
|
71
72
|
align: "center" | "left" | "right";
|
|
@@ -99,6 +100,7 @@ export declare function getOption(conf: IParetoChartConf, data: TPanelData, _var
|
|
|
99
100
|
splitLine: {
|
|
100
101
|
show: boolean;
|
|
101
102
|
};
|
|
103
|
+
minInterval?: undefined;
|
|
102
104
|
})[];
|
|
103
105
|
series: ({
|
|
104
106
|
name: string;
|
|
@@ -3,6 +3,7 @@ import { TParetoFormatters } from './utils';
|
|
|
3
3
|
export declare function getYAxes(conf: IParetoChartConf, formatters: TParetoFormatters): ({
|
|
4
4
|
name: string;
|
|
5
5
|
nameGap: number;
|
|
6
|
+
minInterval: number;
|
|
6
7
|
nameTextStyle: {
|
|
7
8
|
fontWeight: string;
|
|
8
9
|
align: "center" | "left" | "right";
|
|
@@ -36,4 +37,5 @@ export declare function getYAxes(conf: IParetoChartConf, formatters: TParetoForm
|
|
|
36
37
|
splitLine: {
|
|
37
38
|
show: boolean;
|
|
38
39
|
};
|
|
40
|
+
minInterval?: undefined;
|
|
39
41
|
})[];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { IScatterChartConf } from '../type';
|
|
2
2
|
export declare function getYAxes(conf: IScatterChartConf, labelFormatters: Record<string, (p: $TSFixMe) => string>): {
|
|
3
|
+
minInterval: number;
|
|
3
4
|
min: string | undefined;
|
|
4
5
|
max: string | undefined;
|
|
5
6
|
position: "left" | "right";
|