@cloudtower/eagle 0.26.3-vpc-0.0.1 → 0.26.4
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/Button/index.d.ts +3 -3
- package/dist/components/TableForm/Columns/index.d.ts +3 -3
- package/dist/components/TableForm/types.d.ts +2 -34
- package/dist/components.css +226 -279
- package/dist/esm/index.js +250 -379
- package/dist/esm/stats1.html +1 -1
- package/dist/spec/base.d.ts +1 -3
- package/dist/style.css +784 -837
- package/dist/umd/index.js +252 -381
- package/dist/umd/stats1.html +1 -1
- package/package.json +5 -5
- package/dist/components/Card/CardBody.d.ts +0 -5
- package/dist/components/Card/CardTitle.d.ts +0 -5
- package/dist/components/Card/CardWrapper.d.ts +0 -10
- package/dist/components/Card/__test__/Card.spec.d.ts +0 -1
- package/dist/components/Card/index.d.ts +0 -13
- package/dist/utils/testSuit.d.ts +0 -2
|
@@ -4,13 +4,13 @@ declare const Button: React.ForwardRefExoticComponent<{
|
|
|
4
4
|
hoverPrefixIcon?: JSX.Element | undefined;
|
|
5
5
|
suffixIcon?: JSX.Element | undefined;
|
|
6
6
|
hoverSuffixIcon?: JSX.Element | undefined;
|
|
7
|
-
type?: "link" | "text" | "
|
|
7
|
+
type?: "link" | "text" | "default" | "dashed" | "primary" | "ghost" | "secondary" | "tertiary" | "ordinary" | "ordinary-onTint" | "quiet" | undefined;
|
|
8
8
|
} & Omit<Partial<{
|
|
9
9
|
href: string;
|
|
10
10
|
target?: string | undefined;
|
|
11
11
|
onClick?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
12
|
-
} & import("antd/lib/button/button").BaseButtonProps & import("antd/lib/_util/type").Omit<React.AnchorHTMLAttributes<any>, "
|
|
12
|
+
} & import("antd/lib/button/button").BaseButtonProps & import("antd/lib/_util/type").Omit<React.AnchorHTMLAttributes<any>, "type" | "onClick"> & {
|
|
13
13
|
htmlType?: "button" | "reset" | "submit" | undefined;
|
|
14
14
|
onClick?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
15
|
-
} & import("antd/lib/_util/type").Omit<React.ButtonHTMLAttributes<any>, "
|
|
15
|
+
} & import("antd/lib/_util/type").Omit<React.ButtonHTMLAttributes<any>, "type" | "onClick">>, "type"> & React.RefAttributes<HTMLButtonElement>>;
|
|
16
16
|
export default Button;
|
|
@@ -19,15 +19,15 @@ export declare const ColumnHeaderImpls: {
|
|
|
19
19
|
};
|
|
20
20
|
export declare const ColumnBodyImpls: {
|
|
21
21
|
text: import("react").FC<Pick<import("../types").ColumnBodyCellProps, "data" | "column" | "index">>;
|
|
22
|
-
input: import("react").FC<Pick<import("../types").ColumnBodyCellProps, "data" | "
|
|
22
|
+
input: import("react").FC<Pick<import("../types").ColumnBodyCellProps, "data" | "disabled" | "visible" | "column" | "latestData" | "index"> & {
|
|
23
23
|
onChange: (value: any) => void;
|
|
24
24
|
onBlur: () => void;
|
|
25
25
|
}>;
|
|
26
|
-
password: import("react").FC<Pick<import("../types").ColumnBodyCellProps, "data" | "
|
|
26
|
+
password: import("react").FC<Pick<import("../types").ColumnBodyCellProps, "data" | "disabled" | "visible" | "column" | "latestData" | "index"> & {
|
|
27
27
|
onChange: (value: any) => void;
|
|
28
28
|
onBlur: () => void;
|
|
29
29
|
}>;
|
|
30
|
-
affix: import("react").FC<Pick<import("../types").ColumnBodyCellProps, "data" | "
|
|
30
|
+
affix: import("react").FC<Pick<import("../types").ColumnBodyCellProps, "data" | "disabled" | "visible" | "column" | "latestData" | "index"> & {
|
|
31
31
|
onChange: (value: any) => void;
|
|
32
32
|
onBlur: () => void;
|
|
33
33
|
}>;
|
|
@@ -90,14 +90,12 @@ export type RowAddConfigurations = {
|
|
|
90
90
|
className?: string;
|
|
91
91
|
CustomizedButton?: (props: AddRowButtonProps) => React.ReactElement;
|
|
92
92
|
};
|
|
93
|
-
export interface TableFormRowsProps extends Pick<TableFormProps, "columns" | "disabled" | "deleteConfig" | "disableBatchFilling" | "
|
|
93
|
+
export interface TableFormRowsProps extends Pick<TableFormProps, "columns" | "disabled" | "deleteConfig" | "draggable" | "disableBatchFilling" | "rowSplitType" | "validateTriggerType" | "renderRowDescription" | "rowValidator" | "onBodyBlur"> {
|
|
94
94
|
data: DataType[];
|
|
95
95
|
latestData: DataType[];
|
|
96
96
|
updateData: (data: DataType[]) => void;
|
|
97
97
|
passwordVisible: boolean;
|
|
98
98
|
validateAll: boolean;
|
|
99
|
-
draggable?: boolean;
|
|
100
|
-
rowSplitType?: TableFormRowSplitType;
|
|
101
99
|
}
|
|
102
100
|
export type RenderRowDescriptionProps = {
|
|
103
101
|
rowIndex: number;
|
|
@@ -108,50 +106,20 @@ export type DeletableConfigurations = {
|
|
|
108
106
|
deletable: boolean;
|
|
109
107
|
specifyRowDeleteDisabled?: (rowIndex: number, allData: DataType[]) => boolean;
|
|
110
108
|
};
|
|
111
|
-
export type TableFormRowActions = "delete";
|
|
112
|
-
export type TableFormRowSplitType = "border" | "zebraMarking";
|
|
113
|
-
export type TableFormRowConfiguration = {
|
|
114
|
-
splitType?: TableFormRowSplitType;
|
|
115
|
-
draggable?: boolean;
|
|
116
|
-
deletable?: boolean | ((rowIndex: number, allData: DataType[]) => boolean);
|
|
117
|
-
descriptions?: string | React.ReactNode[];
|
|
118
|
-
disableActions?: TableFormRowActions[] | ((rowIndex: number, allData: DataType[]) => TableFormRowActions[] | undefined);
|
|
119
|
-
validator?: (rowIndex: number, rowData: DataType) => string | undefined;
|
|
120
|
-
customizedDescription?: (props: RenderRowDescriptionProps) => React.ReactNode | string;
|
|
121
|
-
};
|
|
122
|
-
export type TableFormErrorsType = (string | {
|
|
123
|
-
[columnKey: string]: string;
|
|
124
|
-
})[];
|
|
125
109
|
export type TableFormProps = {
|
|
126
110
|
defaultData?: DataType[];
|
|
127
111
|
columns: TableFormColumn[];
|
|
128
112
|
disabled?: boolean;
|
|
129
113
|
rowAddConfig?: RowAddConfigurations;
|
|
130
|
-
/**
|
|
131
|
-
* @deprecated use "row" configuration instead
|
|
132
|
-
*/
|
|
133
114
|
deleteConfig?: DeletableConfigurations;
|
|
134
115
|
size?: "default" | "large" | "small";
|
|
135
|
-
/**
|
|
136
|
-
* @deprecated use "row" configuration instead
|
|
137
|
-
*/
|
|
138
116
|
draggable?: boolean;
|
|
139
117
|
disableBatchFilling?: boolean;
|
|
140
118
|
className?: string;
|
|
141
|
-
|
|
142
|
-
* @deprecated use "row" configuration instead
|
|
143
|
-
*/
|
|
144
|
-
rowSplitType?: TableFormRowSplitType;
|
|
119
|
+
rowSplitType?: "border" | "zebraMarking";
|
|
145
120
|
validateTriggerType?: ValidateTriggerType;
|
|
146
121
|
maxHeight?: number | string;
|
|
147
|
-
row?: TableFormRowConfiguration;
|
|
148
|
-
/**
|
|
149
|
-
* @deprecated use "row" configuration instead
|
|
150
|
-
*/
|
|
151
122
|
renderRowDescription?: (props: RenderRowDescriptionProps) => React.ReactNode;
|
|
152
|
-
/**
|
|
153
|
-
* @deprecated use "row" configuration instead
|
|
154
|
-
*/
|
|
155
123
|
rowValidator?: (rowIndex: number, rowData: DataType) => string | undefined;
|
|
156
124
|
onHeaderChange?: (data: any[], columnKey: string) => void;
|
|
157
125
|
onHeaderBlur?: (data: any[]) => void;
|