@devtable/dashboard 7.16.0 → 7.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/dashboard.es.js +5895 -5676
- package/dist/dashboard.umd.js +60 -59
- package/dist/plugins/viz-components/scatter-chart/editors/scatter/series-color-select/dynamic-color-function-editor.d.ts +8 -0
- package/dist/plugins/viz-components/scatter-chart/editors/scatter/series-color-select/dynamic.d.ts +9 -0
- package/dist/plugins/viz-components/scatter-chart/editors/scatter/series-color-select/get-series-color.d.ts +3 -0
- package/dist/plugins/viz-components/scatter-chart/editors/scatter/series-color-select/index.d.ts +11 -0
- package/dist/plugins/viz-components/scatter-chart/editors/scatter/series-color-select/static.d.ts +8 -0
- package/dist/plugins/viz-components/scatter-chart/editors/scatter/series-color-select/types.d.ts +13 -0
- package/dist/plugins/viz-components/scatter-chart/type.d.ts +2 -1
- package/package.json +1 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { TSeriesColor_Dynamic } from './types';
|
|
3
|
+
interface IDynamicColorFunctionEditor {
|
|
4
|
+
value: TSeriesColor_Dynamic['func_content'];
|
|
5
|
+
onChange: (v: TSeriesColor_Dynamic['func_content']) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const DynamicColorFunctionEditor: ({ value, onChange }: IDynamicColorFunctionEditor) => JSX.Element;
|
|
8
|
+
export {};
|
package/dist/plugins/viz-components/scatter-chart/editors/scatter/series-color-select/dynamic.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { AnyObject } from '~/types';
|
|
3
|
+
import { TSeriesColor } from './types';
|
|
4
|
+
export interface IDynamicSeriesColorField {
|
|
5
|
+
value: TSeriesColor;
|
|
6
|
+
onChange: (v: TSeriesColor) => void;
|
|
7
|
+
data: AnyObject[];
|
|
8
|
+
}
|
|
9
|
+
export declare const DynamicSeriesColorField: ({ value, onChange, data }: IDynamicSeriesColorField) => JSX.Element | null;
|
package/dist/plugins/viz-components/scatter-chart/editors/scatter/series-color-select/index.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { AnyObject } from '~/types';
|
|
3
|
+
import { TSeriesColor } from './types';
|
|
4
|
+
interface ISeriesColorSelect {
|
|
5
|
+
label?: string;
|
|
6
|
+
value: TSeriesColor;
|
|
7
|
+
onChange: (v: TSeriesColor) => void;
|
|
8
|
+
data: AnyObject[];
|
|
9
|
+
}
|
|
10
|
+
export declare const SeriesColorSelect: import("react").ForwardRefExoticComponent<ISeriesColorSelect & import("react").RefAttributes<HTMLInputElement>>;
|
|
11
|
+
export {};
|
package/dist/plugins/viz-components/scatter-chart/editors/scatter/series-color-select/static.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { TSeriesColor } from './types';
|
|
3
|
+
interface IStaticSeriesColorField {
|
|
4
|
+
value: TSeriesColor;
|
|
5
|
+
onChange: (v: TSeriesColor) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const StaticSeriesColorField: ({ value, onChange }: IStaticSeriesColorField) => JSX.Element | null;
|
|
8
|
+
export {};
|
package/dist/plugins/viz-components/scatter-chart/editors/scatter/series-color-select/types.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare type TSeriesColor_Static = {
|
|
2
|
+
type: 'static';
|
|
3
|
+
color: string;
|
|
4
|
+
};
|
|
5
|
+
export declare type TSeriesColor_Dynamic = {
|
|
6
|
+
type: 'dynamic';
|
|
7
|
+
func_content: string;
|
|
8
|
+
};
|
|
9
|
+
export declare type TSeriesColor = TSeriesColor_Static | TSeriesColor_Dynamic;
|
|
10
|
+
export declare const DEFAULT_SERIES_COLOR: {
|
|
11
|
+
static: TSeriesColor_Static;
|
|
12
|
+
dynamic: TSeriesColor_Dynamic;
|
|
13
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { TEchartsDataZoomConfig } from '../cartesian/panel/echarts-zooming-field/types';
|
|
2
|
+
import { TSeriesColor } from './editors/scatter/series-color-select/types';
|
|
2
3
|
import { IOverflow } from '../cartesian/panel/x-axis/x-axis-label-overflow/types';
|
|
3
4
|
import { ICartesianReferenceArea, ICartesianReferenceLine, IYAxisConf } from '../cartesian/type';
|
|
4
5
|
import { TScatterSize } from './editors/scatter/scatter-size-select/types';
|
|
@@ -27,7 +28,7 @@ export interface IScatterChartConf {
|
|
|
27
28
|
name_data_key: string;
|
|
28
29
|
symbolSize: TScatterSize;
|
|
29
30
|
label_position: string;
|
|
30
|
-
color:
|
|
31
|
+
color: TSeriesColor;
|
|
31
32
|
label_overflow: IScatterLabelOverflow;
|
|
32
33
|
};
|
|
33
34
|
stats: {
|