next-element-vue 0.8.3 → 0.8.5
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/README.md +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +3 -3
- package/dist/packages/components/crud-table/src/config.d.ts +11 -0
- package/dist/packages/components/crud-table/src/widgets/table-column-dynamic.d.ts +4 -3
- package/dist/packages/components/form/src/config.d.ts +1 -0
- package/package.json +1 -1
|
@@ -6,11 +6,18 @@ export declare interface Column {
|
|
|
6
6
|
readonly prop: string;
|
|
7
7
|
label: string;
|
|
8
8
|
type?: string;
|
|
9
|
+
columnType?: string;
|
|
9
10
|
placeholder?: string;
|
|
10
11
|
rangeSeparator?: string;
|
|
11
12
|
startPlaceholder?: string;
|
|
12
13
|
endPlaceholder?: string;
|
|
13
14
|
dicKey?: string;
|
|
15
|
+
dicLabel?: string;
|
|
16
|
+
treeSelectProps?: {
|
|
17
|
+
value?: string;
|
|
18
|
+
label?: string;
|
|
19
|
+
separator?: string;
|
|
20
|
+
};
|
|
14
21
|
dicData?: DictData[];
|
|
15
22
|
loadDicData?: Function;
|
|
16
23
|
disabled?: boolean;
|
|
@@ -28,6 +35,7 @@ export declare interface Column {
|
|
|
28
35
|
span?: number;
|
|
29
36
|
tableSelect?: any;
|
|
30
37
|
onChange?: Function;
|
|
38
|
+
onVisibleChange?: Function;
|
|
31
39
|
}
|
|
32
40
|
export interface SearchColumnProps extends Column {
|
|
33
41
|
searchType?: string;
|
|
@@ -165,12 +173,15 @@ export interface TableColumnProps extends SearchColumnProps, FormColunmProps {
|
|
|
165
173
|
fixed?: string | boolean;
|
|
166
174
|
formatter?: Function;
|
|
167
175
|
showOverflowTooltip?: boolean | object;
|
|
176
|
+
type?: string;
|
|
168
177
|
headerAlign?: string;
|
|
169
178
|
align?: string;
|
|
170
179
|
sortable?: boolean;
|
|
180
|
+
sortMethod?: Function;
|
|
171
181
|
cellUnit?: string;
|
|
172
182
|
children?: TableColumnProps[];
|
|
173
183
|
renderColumnCell?: Function;
|
|
184
|
+
renderHeader?: Function;
|
|
174
185
|
}
|
|
175
186
|
export declare const header_menu_slots_key: string[];
|
|
176
187
|
export declare const operation_column_slots_key: string[];
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
+
import type { TableColumnProps } from '../config';
|
|
1
2
|
declare const TableColumnDynamic: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
3
|
columnOption: {
|
|
3
|
-
type:
|
|
4
|
+
type: () => TableColumnProps;
|
|
4
5
|
default: () => {};
|
|
5
6
|
};
|
|
6
7
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
8
|
columnOption: {
|
|
8
|
-
type:
|
|
9
|
+
type: () => TableColumnProps;
|
|
9
10
|
default: () => {};
|
|
10
11
|
};
|
|
11
12
|
}>> & Readonly<{}>, {
|
|
12
|
-
columnOption:
|
|
13
|
+
columnOption: TableColumnProps;
|
|
13
14
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
14
15
|
export default TableColumnDynamic;
|