@vue-ui-kit/ant 2.1.4 → 2.1.6
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.
|
@@ -3,7 +3,6 @@ import { ButtonProps } from 'ant-design-vue/lib/button';
|
|
|
3
3
|
import { ColProps } from 'ant-design-vue/lib/grid/Col';
|
|
4
4
|
import { FormProps } from 'ant-design-vue/lib/form/Form';
|
|
5
5
|
import { TableColumnType, TableProps, TooltipProps } from 'ant-design-vue';
|
|
6
|
-
import { ButtonType } from 'ant-design-vue/lib/button/buttonTypes';
|
|
7
6
|
import { ConfigType, Column as EVirtColumn, default as EVirtTable } from 'e-virt-table';
|
|
8
7
|
export interface CellFuncArg<D extends Recordable = Recordable> {
|
|
9
8
|
row: D;
|
|
@@ -132,23 +131,17 @@ export interface ColumnProps<D extends Recordable = Recordable> extends Omit<Tab
|
|
|
132
131
|
export interface PButtonProps extends ButtonProps {
|
|
133
132
|
content?: string;
|
|
134
133
|
icon?: string;
|
|
135
|
-
type?: ButtonType;
|
|
136
134
|
}
|
|
137
135
|
export interface ToolbarButtonProps extends PButtonProps {
|
|
138
136
|
code: string;
|
|
139
137
|
dropdowns?: ToolbarButtonProps[];
|
|
140
|
-
|
|
138
|
+
}
|
|
139
|
+
export interface ToolbarToolProps extends PButtonProps {
|
|
140
|
+
code: string;
|
|
141
141
|
}
|
|
142
142
|
export interface ToolbarConfig {
|
|
143
143
|
buttons?: Array<ToolbarButtonProps>;
|
|
144
|
-
tools?: Array<
|
|
145
|
-
code: string;
|
|
146
|
-
icon?: string;
|
|
147
|
-
type?: ButtonType;
|
|
148
|
-
content?: string;
|
|
149
|
-
disabled?: boolean;
|
|
150
|
-
size?: 'small' | 'large' | 'middle';
|
|
151
|
-
}>;
|
|
144
|
+
tools?: Array<ToolbarToolProps>;
|
|
152
145
|
disabled?: boolean;
|
|
153
146
|
}
|
|
154
147
|
export interface ResponsePathConfig<D extends Recordable = Recordable> {
|