@devtable/dashboard 8.27.0 → 8.29.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 +4066 -3967
- package/dist/dashboard.umd.js +60 -60
- package/dist/plugins/viz-components/cartesian/index.d.ts +1 -1
- package/dist/plugins/viz-components/table/components/background-color-select.d.ts +1 -1
- package/dist/plugins/viz-components/table/type.d.ts +2 -0
- package/dist/plugins/viz-components/table/utils.d.ts +4 -0
- package/dist/plugins/viz-components/table/value-type-selector.d.ts +1 -1
- package/dist/plugins/viz-components/table/value.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VersionBasedMigrator } from '~/plugins/plugin-data-migrator';
|
|
2
2
|
import { VizComponent } from '~/types/plugin';
|
|
3
3
|
export declare class VizCartesianMigrator extends VersionBasedMigrator {
|
|
4
|
-
readonly VERSION =
|
|
4
|
+
readonly VERSION = 12;
|
|
5
5
|
configVersions(): void;
|
|
6
6
|
}
|
|
7
7
|
export declare const CartesianVizComponent: VizComponent;
|
|
@@ -4,4 +4,4 @@ export interface IBackgroundColorSelectProps {
|
|
|
4
4
|
value?: CellBackgroundColorType;
|
|
5
5
|
onChange?: (value: CellBackgroundColorType) => void;
|
|
6
6
|
}
|
|
7
|
-
export declare const BackgroundColorSelect: (
|
|
7
|
+
export declare const BackgroundColorSelect: import("react").ForwardRefExoticComponent<IBackgroundColorSelectProps & import("react").RefAttributes<unknown>>;
|
|
@@ -8,6 +8,7 @@ export declare enum ValueType {
|
|
|
8
8
|
custom = "custom"
|
|
9
9
|
}
|
|
10
10
|
export declare type CellBackgroundColorType = string | IColorInterpolationConfig;
|
|
11
|
+
export declare type ColumnAlignType = 'left' | 'center' | 'right';
|
|
11
12
|
export interface IColumnConf {
|
|
12
13
|
id: string;
|
|
13
14
|
label: string;
|
|
@@ -18,6 +19,7 @@ export interface IColumnConf {
|
|
|
18
19
|
width?: number;
|
|
19
20
|
min_width?: number;
|
|
20
21
|
max_width?: number;
|
|
22
|
+
align: ColumnAlignType;
|
|
21
23
|
}
|
|
22
24
|
export interface ITableConf {
|
|
23
25
|
id_field: string;
|
|
@@ -6,5 +6,5 @@ interface IValueTypeSelector {
|
|
|
6
6
|
onChange: (value: string) => void;
|
|
7
7
|
sx?: Sx;
|
|
8
8
|
}
|
|
9
|
-
export declare
|
|
9
|
+
export declare const ValueTypeSelector: import("react").ForwardRefExoticComponent<IValueTypeSelector & import("react").RefAttributes<HTMLInputElement>>;
|
|
10
10
|
export {};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ITableCellContext, ValueType } from './type';
|
|
2
|
+
import { ColumnAlignType, ITableCellContext, ValueType } from './type';
|
|
3
3
|
interface ICellValue {
|
|
4
4
|
value: $TSFixMe;
|
|
5
5
|
type: ValueType;
|
|
6
6
|
tableCellContext: ITableCellContext;
|
|
7
7
|
func_content?: string;
|
|
8
|
+
align: ColumnAlignType;
|
|
8
9
|
}
|
|
9
10
|
export declare function CellValue(props: ICellValue): JSX.Element;
|
|
10
11
|
export {};
|