@vrojs/element-plus 0.0.7 → 0.0.9
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/index.d.ts +5 -0
- package/dist/index.js +125 -83
- package/dist/locale/index.js +6 -7
- package/dist/locale/lang/en.d.ts +8 -0
- package/dist/locale/lang/en.js +8 -0
- package/dist/locale/lang/zh-cn.d.ts +8 -0
- package/dist/locale/lang/zh-cn.js +8 -0
- package/dist/locale/useLocale.d.ts +1 -48
- package/dist/locale/useLocale.js +16 -17
- package/dist/style/deps.js +7 -0
- package/dist/style/index.css +1 -1
- package/dist/style/index.js +7 -0
- package/dist/utils/elTableColumnProps.d.ts +149 -0
- package/dist/utils/elTableColumnProps.js +152 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +4 -2
- package/dist/vro-el-checkbox-group/index.d.ts +1 -1
- package/dist/vro-el-checkbox-group/vro-el-checkbox-group.vue.d.ts +1 -1
- package/dist/vro-el-checkbox-group/vro-el-checkbox-group.vue.js +10 -10
- package/dist/vro-el-config-provider/config.d.ts +14 -0
- package/dist/vro-el-config-provider/config.js +36 -0
- package/dist/vro-el-config-provider/index.d.ts +16 -0
- package/dist/vro-el-config-provider/index.js +8 -2
- package/dist/vro-el-config-provider/types.d.ts +7 -0
- package/dist/vro-el-config-provider/types.js +7 -0
- package/dist/vro-el-config-provider/vro-el-config-provider.vue.d.ts +9 -0
- package/dist/vro-el-config-provider/vro-el-config-provider.vue.js +11 -11
- package/dist/vro-el-file-upload/index.d.ts +6 -6
- package/dist/vro-el-file-upload/style/index.css +1 -1
- package/dist/vro-el-file-upload/types.d.ts +9 -2
- package/dist/vro-el-file-upload/vro-el-file-upload.vue.d.ts +7 -6
- package/dist/vro-el-file-upload/vro-el-file-upload.vue.js +55 -51
- package/dist/vro-el-icon/index.d.ts +28 -40
- package/dist/vro-el-icon/style/css.js +1 -0
- package/dist/vro-el-icon/style/deps.js +1 -1
- package/dist/vro-el-icon/style/index.js +1 -1
- package/dist/vro-el-icon/types.d.ts +16 -13
- package/dist/vro-el-icon/types.js +8 -1
- package/dist/vro-el-icon/vro-el-icon.vue.d.ts +18 -27
- package/dist/vro-el-icon/vro-el-icon.vue.js +27 -23
- package/dist/vro-el-image/index.d.ts +10 -4
- package/dist/vro-el-image/style/css.js +4 -0
- package/dist/vro-el-image/style/index.css +1 -0
- package/dist/vro-el-image/style/index.js +4 -0
- package/dist/vro-el-image/types.d.ts +35 -0
- package/dist/vro-el-image/types.js +24 -1
- package/dist/vro-el-image/utils.d.ts +1 -1
- package/dist/vro-el-image/vro-el-image.vue.d.ts +7 -2
- package/dist/vro-el-image/vro-el-image.vue.js +55 -24
- package/dist/vro-el-image-upload/index.d.ts +1 -1
- package/dist/vro-el-image-upload/style/css.js +4 -0
- package/dist/vro-el-image-upload/style/index.css +1 -1
- package/dist/vro-el-image-upload/style/index.js +4 -0
- package/dist/vro-el-image-upload/types.d.ts +24 -7
- package/dist/vro-el-image-upload/types.js +21 -7
- package/dist/vro-el-image-upload/vro-el-image-upload.vue.d.ts +1 -1
- package/dist/vro-el-image-upload/vro-el-image-upload.vue.js +82 -68
- package/dist/vro-el-radio-group/index.d.ts +1 -1
- package/dist/vro-el-radio-group/vro-el-radio-group.vue.d.ts +1 -1
- package/dist/vro-el-radio-group/vro-el-radio-group.vue.js +12 -12
- package/dist/vro-el-schema-filter/index.d.ts +27 -31
- package/dist/vro-el-schema-filter/style/css.js +5 -0
- package/dist/vro-el-schema-filter/style/index.css +1 -1
- package/dist/vro-el-schema-filter/style/index.js +5 -0
- package/dist/vro-el-schema-filter/types.d.ts +17 -0
- package/dist/vro-el-schema-filter/vro-el-schema-filter.vue.d.ts +38 -43
- package/dist/vro-el-schema-filter/vro-el-schema-filter.vue.js +63 -44
- package/dist/vro-el-schema-form/index.d.ts +16 -18
- package/dist/vro-el-schema-form/style/css.js +5 -0
- package/dist/vro-el-schema-form/style/index.css +1 -1
- package/dist/vro-el-schema-form/style/index.js +5 -0
- package/dist/vro-el-schema-form/types.d.ts +66 -7
- package/dist/vro-el-schema-form/useVroElSchemaForm.d.ts +39 -40
- package/dist/vro-el-schema-form/useVroElSchemaForm.js +15 -13
- package/dist/vro-el-schema-form/vro-el-schema-form.vue.d.ts +11 -13
- package/dist/vro-el-schema-form/vro-el-schema-form.vue.js +79 -79
- package/dist/vro-el-schema-form-dialog/function-call.js +10 -7
- package/dist/vro-el-schema-form-dialog/index.d.ts +111 -142
- package/dist/vro-el-schema-form-dialog/style/css.js +5 -0
- package/dist/vro-el-schema-form-dialog/style/index.css +1 -1
- package/dist/vro-el-schema-form-dialog/style/index.js +5 -0
- package/dist/vro-el-schema-form-dialog/types.d.ts +25 -16
- package/dist/vro-el-schema-form-dialog/types.js +6 -11
- package/dist/vro-el-schema-form-dialog/vro-el-schema-form-dialog.vue.d.ts +92 -113
- package/dist/vro-el-schema-form-dialog/vro-el-schema-form-dialog.vue.js +83 -87
- package/dist/vro-el-schema-form-drawer/function-call.d.ts +4 -0
- package/dist/vro-el-schema-form-drawer/function-call.js +20 -0
- package/dist/vro-el-schema-form-drawer/index.d.ts +2207 -0
- package/dist/vro-el-schema-form-drawer/index.js +16 -0
- package/dist/vro-el-schema-form-drawer/injection.d.ts +9 -0
- package/dist/vro-el-schema-form-drawer/injection.js +9 -0
- package/dist/vro-el-schema-form-drawer/style/css.d.ts +0 -0
- package/dist/vro-el-schema-form-drawer/style/css.js +24 -0
- package/dist/vro-el-schema-form-drawer/style/deps.d.ts +0 -0
- package/dist/vro-el-schema-form-drawer/style/deps.js +24 -0
- package/dist/vro-el-schema-form-drawer/style/index.css +1 -0
- package/dist/vro-el-schema-form-drawer/style/index.d.ts +0 -0
- package/dist/vro-el-schema-form-drawer/style/index.js +48 -0
- package/dist/vro-el-schema-form-drawer/types.d.ts +110 -0
- package/dist/vro-el-schema-form-drawer/types.js +75 -0
- package/dist/vro-el-schema-form-drawer/useVroElSchemaFormDrawer.d.ts +14 -0
- package/dist/vro-el-schema-form-drawer/useVroElSchemaFormDrawer.js +18 -0
- package/dist/vro-el-schema-form-drawer/vro-el-schema-form-drawer.vue.d.ts +1832 -0
- package/dist/vro-el-schema-form-drawer/vro-el-schema-form-drawer.vue.js +134 -0
- package/dist/vro-el-schema-form-drawer/vro-el-schema-form-drawer.vue2.js +4 -0
- package/dist/vro-el-select/index.d.ts +11 -11
- package/dist/vro-el-select/vro-el-select.vue.d.ts +11 -11
- package/dist/vro-el-select/vro-el-select.vue.js +11 -11
- package/dist/vro-el-skeleton/index.d.ts +9 -73
- package/dist/vro-el-skeleton/style/index.css +1 -1
- package/dist/vro-el-skeleton/types.d.ts +32 -24
- package/dist/vro-el-skeleton/types.js +3 -23
- package/dist/vro-el-skeleton/vro-el-skeleton.vue.d.ts +7 -48
- package/dist/vro-el-skeleton/vro-el-skeleton.vue.js +48 -46
- package/dist/vro-el-table/createUseVroElTable.d.ts +7 -0
- package/dist/vro-el-table/createUseVroElTable.js +7 -0
- package/dist/vro-el-table/index.js +13 -0
- package/dist/vro-el-table/style/css.d.ts +0 -0
- package/dist/vro-el-table/style/css.js +29 -0
- package/dist/vro-el-table/style/deps.d.ts +0 -0
- package/dist/vro-el-table/style/deps.js +28 -0
- package/dist/vro-el-table/style/index.css +1 -0
- package/dist/vro-el-table/style/index.d.ts +0 -0
- package/dist/vro-el-table/style/index.js +57 -0
- package/dist/vro-el-table/types.d.ts +97 -0
- package/dist/vro-el-table/types.js +66 -0
- package/dist/vro-el-table/useVroElTable.d.ts +44 -0
- package/dist/vro-el-table/useVroElTable.js +49 -0
- package/dist/vro-el-table/vro-el-table.vue.js +94 -0
- package/dist/vro-el-table/vro-el-table.vue2.js +4 -0
- package/dist/vro-el-table-actions-column/index.d.ts +269 -0
- package/dist/vro-el-table-actions-column/index.js +9 -0
- package/dist/vro-el-table-actions-column/style/css.d.ts +0 -0
- package/dist/vro-el-table-actions-column/style/css.js +4 -0
- package/dist/vro-el-table-actions-column/style/deps.d.ts +0 -0
- package/dist/vro-el-table-actions-column/style/deps.js +5 -0
- package/dist/vro-el-table-actions-column/style/index.css +1 -0
- package/dist/vro-el-table-actions-column/style/index.d.ts +0 -0
- package/dist/vro-el-table-actions-column/style/index.js +9 -0
- package/dist/vro-el-table-actions-column/types.d.ts +139 -0
- package/dist/vro-el-table-actions-column/types.js +37 -0
- package/dist/vro-el-table-actions-column/vro-el-table-actions-column.vue.d.ts +167 -0
- package/dist/vro-el-table-actions-column/vro-el-table-actions-column.vue.js +101 -0
- package/dist/vro-el-table-actions-column/vro-el-table-actions-column.vue2.js +4 -0
- package/dist/vro-el-table-column/index.d.ts +257 -0
- package/dist/vro-el-table-column/index.js +9 -0
- package/dist/vro-el-table-column/style/css.d.ts +0 -0
- package/dist/vro-el-table-column/style/css.js +6 -0
- package/dist/vro-el-table-column/style/deps.d.ts +0 -0
- package/dist/vro-el-table-column/style/deps.js +1 -0
- package/dist/vro-el-table-column/style/index.css +1 -0
- package/dist/vro-el-table-column/style/index.d.ts +0 -0
- package/dist/vro-el-table-column/style/index.js +7 -0
- package/dist/vro-el-table-column/types.d.ts +141 -0
- package/dist/vro-el-table-column/types.js +43 -0
- package/dist/vro-el-table-column/vro-el-table-column.vue.d.ts +161 -0
- package/dist/vro-el-table-column/vro-el-table-column.vue.js +66 -0
- package/dist/vro-el-table-column/vro-el-table-column.vue2.js +4 -0
- package/dist/vro-el-table-column-group/index.d.ts +23 -0
- package/dist/vro-el-table-column-group/index.js +13 -0
- package/dist/vro-el-table-column-group/style/css.d.ts +0 -0
- package/dist/vro-el-table-column-group/style/css.js +9 -0
- package/dist/vro-el-table-column-group/style/deps.d.ts +0 -0
- package/dist/vro-el-table-column-group/style/deps.js +5 -0
- package/dist/vro-el-table-column-group/style/index.d.ts +0 -0
- package/dist/vro-el-table-column-group/style/index.js +14 -0
- package/dist/vro-el-table-column-group/types.d.ts +87 -0
- package/dist/vro-el-table-column-group/types.js +12 -0
- package/dist/vro-el-table-column-group/useVroElTableColumnGroup.d.ts +2 -0
- package/dist/vro-el-table-column-group/useVroElTableColumnGroup.js +10 -0
- package/dist/vro-el-table-column-group/vro-el-table-column-group.vue.d.ts +14 -0
- package/dist/vro-el-table-column-group/vro-el-table-column-group.vue.js +29 -0
- package/dist/vro-el-table-column-group/vro-el-table-column-group.vue2.js +4 -0
- package/dist/vro-el-table-column-group/vroElTableColumnGroupColumnManager.d.ts +2 -0
- package/dist/vro-el-table-column-group/vroElTableColumnGroupColumnManager.js +9 -0
- package/dist/vro-el-tags/index.d.ts +234 -187
- package/dist/vro-el-tags/style/css.js +1 -0
- package/dist/vro-el-tags/style/index.css +1 -0
- package/dist/vro-el-tags/style/index.js +1 -0
- package/dist/vro-el-tags/types.d.ts +37 -1
- package/dist/vro-el-tags/types.js +17 -1
- package/dist/vro-el-tags/vro-el-tags.vue.d.ts +219 -8
- package/dist/vro-el-tags/vro-el-tags.vue.js +55 -45
- package/dist/vro-el-tree/index.d.ts +3235 -32
- package/dist/vro-el-tree/style/index.css +1 -1
- package/dist/vro-el-tree/types.d.ts +124 -5
- package/dist/vro-el-tree/types.js +12 -6
- package/dist/vro-el-tree/vro-el-tree.vue.d.ts +6020 -20
- package/dist/vro-el-tree/vro-el-tree.vue.js +54 -36
- package/package.json +6 -6
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
export * from './types';
|
|
2
|
+
export declare const VroElTableActionsColumn: import('@vrojs/base').WithInstall<{
|
|
3
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
4
|
+
label: StringConstructor;
|
|
5
|
+
actions: {
|
|
6
|
+
type: import('vue').PropType<import('./types').VroElTableActionsColumnActions>;
|
|
7
|
+
default: () => never[];
|
|
8
|
+
};
|
|
9
|
+
moreTrigger: {
|
|
10
|
+
type: import('vue').PropType<"hover" | "click" | "contextmenu">;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
moreText: StringConstructor;
|
|
14
|
+
moreActions: {
|
|
15
|
+
type: import('vue').PropType<import('./types').VroElTableActionsColumnActions>;
|
|
16
|
+
default: () => never[];
|
|
17
|
+
};
|
|
18
|
+
type: {
|
|
19
|
+
type: import('vue').PropType<"default" | "selection" | "index" | "expand">;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
className: StringConstructor;
|
|
23
|
+
labelClassName: StringConstructor;
|
|
24
|
+
property: StringConstructor;
|
|
25
|
+
prop: StringConstructor;
|
|
26
|
+
width: {
|
|
27
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
minWidth: {
|
|
31
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
renderHeader: import('vue').PropType<import('element-plus').TableColumnCtx<any>["renderHeader"]>;
|
|
35
|
+
sortable: {
|
|
36
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
sortMethod: import('vue').PropType<import('element-plus').TableColumnCtx<any>["sortMethod"]>;
|
|
40
|
+
sortBy: import('vue').PropType<import('element-plus').TableColumnCtx<any>["sortBy"]>;
|
|
41
|
+
resizable: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
columnKey: StringConstructor;
|
|
46
|
+
align: StringConstructor;
|
|
47
|
+
headerAlign: StringConstructor;
|
|
48
|
+
showOverflowTooltip: {
|
|
49
|
+
type: import('vue').PropType<import('element-plus').TableColumnCtx<any>["showOverflowTooltip"]>;
|
|
50
|
+
default: undefined;
|
|
51
|
+
};
|
|
52
|
+
tooltipFormatter: import('vue').PropType<import('element-plus').TableColumnCtx<any>["tooltipFormatter"]>;
|
|
53
|
+
fixed: (BooleanConstructor | StringConstructor)[];
|
|
54
|
+
formatter: import('vue').PropType<import('element-plus').TableColumnCtx<any>["formatter"]>;
|
|
55
|
+
selectable: import('vue').PropType<import('element-plus').TableColumnCtx<any>["selectable"]>;
|
|
56
|
+
reserveSelection: BooleanConstructor;
|
|
57
|
+
filterMethod: import('vue').PropType<import('element-plus').TableColumnCtx<any>["filterMethod"]>;
|
|
58
|
+
filteredValue: import('vue').PropType<import('element-plus').TableColumnCtx<any>["filteredValue"]>;
|
|
59
|
+
filters: import('vue').PropType<import('element-plus').TableColumnCtx<any>["filters"]>;
|
|
60
|
+
filterPlacement: StringConstructor;
|
|
61
|
+
filterMultiple: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
filterClassName: StringConstructor;
|
|
66
|
+
index: import('vue').PropType<import('element-plus').TableColumnCtx<any>["index"]>;
|
|
67
|
+
sortOrders: {
|
|
68
|
+
type: import('vue').PropType<import('element-plus').TableColumnCtx<any>["sortOrders"]>;
|
|
69
|
+
default: () => (string | null)[];
|
|
70
|
+
validator: (val: import('element-plus').TableColumnCtx<any>["sortOrders"]) => boolean;
|
|
71
|
+
};
|
|
72
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
73
|
+
type: "default" | "selection" | "index" | "expand";
|
|
74
|
+
showOverflowTooltip: boolean | Partial<Omit<import('element-plus').UseTooltipProps, "content" | "rawContent" | "persistent" | "visible" | "autoClose" | "referenceEl" | "triggerTargetEl" | "virtualRef" | "virtualTriggering">> | undefined;
|
|
75
|
+
sortOrders: (import('element-plus/es/components/table/src/table/defaults.mjs').TableSortOrder | null)[];
|
|
76
|
+
width: string | number;
|
|
77
|
+
resizable: boolean;
|
|
78
|
+
minWidth: string | number;
|
|
79
|
+
sortable: string | boolean;
|
|
80
|
+
reserveSelection: boolean;
|
|
81
|
+
filterMultiple: boolean;
|
|
82
|
+
actions: import('./types').VroElTableActionsColumnActions<any>;
|
|
83
|
+
moreTrigger: "click" | "contextmenu" | "hover";
|
|
84
|
+
moreActions: import('./types').VroElTableActionsColumnActions<any>;
|
|
85
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
86
|
+
P: {};
|
|
87
|
+
B: {};
|
|
88
|
+
D: {};
|
|
89
|
+
C: {};
|
|
90
|
+
M: {};
|
|
91
|
+
Defaults: {};
|
|
92
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
93
|
+
label: StringConstructor;
|
|
94
|
+
actions: {
|
|
95
|
+
type: import('vue').PropType<import('./types').VroElTableActionsColumnActions>;
|
|
96
|
+
default: () => never[];
|
|
97
|
+
};
|
|
98
|
+
moreTrigger: {
|
|
99
|
+
type: import('vue').PropType<"hover" | "click" | "contextmenu">;
|
|
100
|
+
default: string;
|
|
101
|
+
};
|
|
102
|
+
moreText: StringConstructor;
|
|
103
|
+
moreActions: {
|
|
104
|
+
type: import('vue').PropType<import('./types').VroElTableActionsColumnActions>;
|
|
105
|
+
default: () => never[];
|
|
106
|
+
};
|
|
107
|
+
type: {
|
|
108
|
+
type: import('vue').PropType<"default" | "selection" | "index" | "expand">;
|
|
109
|
+
default: string;
|
|
110
|
+
};
|
|
111
|
+
className: StringConstructor;
|
|
112
|
+
labelClassName: StringConstructor;
|
|
113
|
+
property: StringConstructor;
|
|
114
|
+
prop: StringConstructor;
|
|
115
|
+
width: {
|
|
116
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
117
|
+
default: string;
|
|
118
|
+
};
|
|
119
|
+
minWidth: {
|
|
120
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
121
|
+
default: string;
|
|
122
|
+
};
|
|
123
|
+
renderHeader: import('vue').PropType<import('element-plus').TableColumnCtx<any>["renderHeader"]>;
|
|
124
|
+
sortable: {
|
|
125
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
126
|
+
default: boolean;
|
|
127
|
+
};
|
|
128
|
+
sortMethod: import('vue').PropType<import('element-plus').TableColumnCtx<any>["sortMethod"]>;
|
|
129
|
+
sortBy: import('vue').PropType<import('element-plus').TableColumnCtx<any>["sortBy"]>;
|
|
130
|
+
resizable: {
|
|
131
|
+
type: BooleanConstructor;
|
|
132
|
+
default: boolean;
|
|
133
|
+
};
|
|
134
|
+
columnKey: StringConstructor;
|
|
135
|
+
align: StringConstructor;
|
|
136
|
+
headerAlign: StringConstructor;
|
|
137
|
+
showOverflowTooltip: {
|
|
138
|
+
type: import('vue').PropType<import('element-plus').TableColumnCtx<any>["showOverflowTooltip"]>;
|
|
139
|
+
default: undefined;
|
|
140
|
+
};
|
|
141
|
+
tooltipFormatter: import('vue').PropType<import('element-plus').TableColumnCtx<any>["tooltipFormatter"]>;
|
|
142
|
+
fixed: (BooleanConstructor | StringConstructor)[];
|
|
143
|
+
formatter: import('vue').PropType<import('element-plus').TableColumnCtx<any>["formatter"]>;
|
|
144
|
+
selectable: import('vue').PropType<import('element-plus').TableColumnCtx<any>["selectable"]>;
|
|
145
|
+
reserveSelection: BooleanConstructor;
|
|
146
|
+
filterMethod: import('vue').PropType<import('element-plus').TableColumnCtx<any>["filterMethod"]>;
|
|
147
|
+
filteredValue: import('vue').PropType<import('element-plus').TableColumnCtx<any>["filteredValue"]>;
|
|
148
|
+
filters: import('vue').PropType<import('element-plus').TableColumnCtx<any>["filters"]>;
|
|
149
|
+
filterPlacement: StringConstructor;
|
|
150
|
+
filterMultiple: {
|
|
151
|
+
type: BooleanConstructor;
|
|
152
|
+
default: boolean;
|
|
153
|
+
};
|
|
154
|
+
filterClassName: StringConstructor;
|
|
155
|
+
index: import('vue').PropType<import('element-plus').TableColumnCtx<any>["index"]>;
|
|
156
|
+
sortOrders: {
|
|
157
|
+
type: import('vue').PropType<import('element-plus').TableColumnCtx<any>["sortOrders"]>;
|
|
158
|
+
default: () => (string | null)[];
|
|
159
|
+
validator: (val: import('element-plus').TableColumnCtx<any>["sortOrders"]) => boolean;
|
|
160
|
+
};
|
|
161
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
162
|
+
type: "default" | "selection" | "index" | "expand";
|
|
163
|
+
showOverflowTooltip: boolean | Partial<Omit<import('element-plus').UseTooltipProps, "content" | "rawContent" | "persistent" | "visible" | "autoClose" | "referenceEl" | "triggerTargetEl" | "virtualRef" | "virtualTriggering">> | undefined;
|
|
164
|
+
sortOrders: (import('element-plus/es/components/table/src/table/defaults.mjs').TableSortOrder | null)[];
|
|
165
|
+
width: string | number;
|
|
166
|
+
resizable: boolean;
|
|
167
|
+
minWidth: string | number;
|
|
168
|
+
sortable: string | boolean;
|
|
169
|
+
reserveSelection: boolean;
|
|
170
|
+
filterMultiple: boolean;
|
|
171
|
+
actions: import('./types').VroElTableActionsColumnActions<any>;
|
|
172
|
+
moreTrigger: "click" | "contextmenu" | "hover";
|
|
173
|
+
moreActions: import('./types').VroElTableActionsColumnActions<any>;
|
|
174
|
+
}>;
|
|
175
|
+
__isFragment?: never;
|
|
176
|
+
__isTeleport?: never;
|
|
177
|
+
__isSuspense?: never;
|
|
178
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
179
|
+
label: StringConstructor;
|
|
180
|
+
actions: {
|
|
181
|
+
type: import('vue').PropType<import('./types').VroElTableActionsColumnActions>;
|
|
182
|
+
default: () => never[];
|
|
183
|
+
};
|
|
184
|
+
moreTrigger: {
|
|
185
|
+
type: import('vue').PropType<"hover" | "click" | "contextmenu">;
|
|
186
|
+
default: string;
|
|
187
|
+
};
|
|
188
|
+
moreText: StringConstructor;
|
|
189
|
+
moreActions: {
|
|
190
|
+
type: import('vue').PropType<import('./types').VroElTableActionsColumnActions>;
|
|
191
|
+
default: () => never[];
|
|
192
|
+
};
|
|
193
|
+
type: {
|
|
194
|
+
type: import('vue').PropType<"default" | "selection" | "index" | "expand">;
|
|
195
|
+
default: string;
|
|
196
|
+
};
|
|
197
|
+
className: StringConstructor;
|
|
198
|
+
labelClassName: StringConstructor;
|
|
199
|
+
property: StringConstructor;
|
|
200
|
+
prop: StringConstructor;
|
|
201
|
+
width: {
|
|
202
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
203
|
+
default: string;
|
|
204
|
+
};
|
|
205
|
+
minWidth: {
|
|
206
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
207
|
+
default: string;
|
|
208
|
+
};
|
|
209
|
+
renderHeader: import('vue').PropType<import('element-plus').TableColumnCtx<any>["renderHeader"]>;
|
|
210
|
+
sortable: {
|
|
211
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
212
|
+
default: boolean;
|
|
213
|
+
};
|
|
214
|
+
sortMethod: import('vue').PropType<import('element-plus').TableColumnCtx<any>["sortMethod"]>;
|
|
215
|
+
sortBy: import('vue').PropType<import('element-plus').TableColumnCtx<any>["sortBy"]>;
|
|
216
|
+
resizable: {
|
|
217
|
+
type: BooleanConstructor;
|
|
218
|
+
default: boolean;
|
|
219
|
+
};
|
|
220
|
+
columnKey: StringConstructor;
|
|
221
|
+
align: StringConstructor;
|
|
222
|
+
headerAlign: StringConstructor;
|
|
223
|
+
showOverflowTooltip: {
|
|
224
|
+
type: import('vue').PropType<import('element-plus').TableColumnCtx<any>["showOverflowTooltip"]>;
|
|
225
|
+
default: undefined;
|
|
226
|
+
};
|
|
227
|
+
tooltipFormatter: import('vue').PropType<import('element-plus').TableColumnCtx<any>["tooltipFormatter"]>;
|
|
228
|
+
fixed: (BooleanConstructor | StringConstructor)[];
|
|
229
|
+
formatter: import('vue').PropType<import('element-plus').TableColumnCtx<any>["formatter"]>;
|
|
230
|
+
selectable: import('vue').PropType<import('element-plus').TableColumnCtx<any>["selectable"]>;
|
|
231
|
+
reserveSelection: BooleanConstructor;
|
|
232
|
+
filterMethod: import('vue').PropType<import('element-plus').TableColumnCtx<any>["filterMethod"]>;
|
|
233
|
+
filteredValue: import('vue').PropType<import('element-plus').TableColumnCtx<any>["filteredValue"]>;
|
|
234
|
+
filters: import('vue').PropType<import('element-plus').TableColumnCtx<any>["filters"]>;
|
|
235
|
+
filterPlacement: StringConstructor;
|
|
236
|
+
filterMultiple: {
|
|
237
|
+
type: BooleanConstructor;
|
|
238
|
+
default: boolean;
|
|
239
|
+
};
|
|
240
|
+
filterClassName: StringConstructor;
|
|
241
|
+
index: import('vue').PropType<import('element-plus').TableColumnCtx<any>["index"]>;
|
|
242
|
+
sortOrders: {
|
|
243
|
+
type: import('vue').PropType<import('element-plus').TableColumnCtx<any>["sortOrders"]>;
|
|
244
|
+
default: () => (string | null)[];
|
|
245
|
+
validator: (val: import('element-plus').TableColumnCtx<any>["sortOrders"]) => boolean;
|
|
246
|
+
};
|
|
247
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
248
|
+
type: "default" | "selection" | "index" | "expand";
|
|
249
|
+
showOverflowTooltip: boolean | Partial<Omit<import('element-plus').UseTooltipProps, "content" | "rawContent" | "persistent" | "visible" | "autoClose" | "referenceEl" | "triggerTargetEl" | "virtualRef" | "virtualTriggering">> | undefined;
|
|
250
|
+
sortOrders: (import('element-plus/es/components/table/src/table/defaults.mjs').TableSortOrder | null)[];
|
|
251
|
+
width: string | number;
|
|
252
|
+
resizable: boolean;
|
|
253
|
+
minWidth: string | number;
|
|
254
|
+
sortable: string | boolean;
|
|
255
|
+
reserveSelection: boolean;
|
|
256
|
+
filterMultiple: boolean;
|
|
257
|
+
actions: import('./types').VroElTableActionsColumnActions<any>;
|
|
258
|
+
moreTrigger: "click" | "contextmenu" | "hover";
|
|
259
|
+
moreActions: import('./types').VroElTableActionsColumnActions<any>;
|
|
260
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
261
|
+
$slots: Readonly<import('./types').VroElTableActionsColumnSlots<any>> & import('./types').VroElTableActionsColumnSlots<any>;
|
|
262
|
+
})>;
|
|
263
|
+
export default VroElTableActionsColumn;
|
|
264
|
+
export type VroElTableActionsColumnInstance = InstanceType<typeof VroElTableActionsColumn>;
|
|
265
|
+
declare module 'vue' {
|
|
266
|
+
interface GlobalComponents {
|
|
267
|
+
VroElTableActionsColumn: typeof VroElTableActionsColumn;
|
|
268
|
+
}
|
|
269
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { withInstall as o } from "@vrojs/base";
|
|
2
|
+
import r from "./vro-el-table-actions-column.vue.js";
|
|
3
|
+
import { vroElTableActionsColumnProps as a } from "./types.js";
|
|
4
|
+
const m = o(r);
|
|
5
|
+
export {
|
|
6
|
+
m as VroElTableActionsColumn,
|
|
7
|
+
m as default,
|
|
8
|
+
a as vroElTableActionsColumnProps
|
|
9
|
+
};
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import "element-plus/es/components/button/style/css";
|
|
2
|
+
import "element-plus/es/components/dropdown-item/style/css";
|
|
3
|
+
import "element-plus/es/components/dropdown-menu/style/css";
|
|
4
|
+
import "element-plus/es/components/dropdown/style/css";
|
|
5
|
+
import "element-plus/es/components/table-column/style/css";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root,:host{--vro-el-table-actions-column-row-gap: 4px;--vro-el-table-actions-column-column-gap: 12px}.vro-el-table-actions-column-cell .cell{display:flex;flex-wrap:wrap;row-gap:var(--vro-el-table-actions-column-row-gap);column-gap:var(--vro-el-table-actions-column-column-gap)}.vro-el-table-actions-column-cell .cell>.el-button+.el-button{margin-left:0}.vro-el-table-actions-column-dropdown-action.is-primary{color:var(--el-color-primary)}.vro-el-table-actions-column-dropdown-action.is-success{color:var(--el-color-success)}.vro-el-table-actions-column-dropdown-action.is-warning{color:var(--el-color-warning)}.vro-el-table-actions-column-dropdown-action.is-danger{color:var(--el-color-danger)}.vro-el-table-actions-column-dropdown-action.is-info{color:var(--el-color-info)}
|
|
File without changes
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import '../../style/base.css';
|
|
2
|
+
import './index.css';
|
|
3
|
+
import "element-plus/es/components/button/style/css";
|
|
4
|
+
import "element-plus/es/components/dropdown-item/style/css";
|
|
5
|
+
import "element-plus/es/components/dropdown-menu/style/css";
|
|
6
|
+
import "element-plus/es/components/dropdown/style/css";
|
|
7
|
+
import "element-plus/es/components/table-column/style/css";
|
|
8
|
+
/* empty css */
|
|
9
|
+
/* empty css */
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { Component, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { VroElTableColumnScope } from '../vro-el-table-column/types';
|
|
3
|
+
export interface VroElTableActionsColumnAction<T = any> {
|
|
4
|
+
/**
|
|
5
|
+
* 操作唯一标识,用于优化列表渲染。
|
|
6
|
+
*/
|
|
7
|
+
key?: string | number;
|
|
8
|
+
/**
|
|
9
|
+
* 操作文本。
|
|
10
|
+
*/
|
|
11
|
+
label: string;
|
|
12
|
+
/**
|
|
13
|
+
* 操作图标。
|
|
14
|
+
*/
|
|
15
|
+
icon?: string | Component;
|
|
16
|
+
/**
|
|
17
|
+
* 按钮类型。
|
|
18
|
+
*/
|
|
19
|
+
type?: 'primary' | 'success' | 'warning' | 'danger' | 'info';
|
|
20
|
+
/**
|
|
21
|
+
* 是否禁用。
|
|
22
|
+
*/
|
|
23
|
+
disabled?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* 是否隐藏,返回 true 时隐藏当前操作。
|
|
26
|
+
*/
|
|
27
|
+
hidden?: boolean | ((row: T, index: number) => boolean);
|
|
28
|
+
/**
|
|
29
|
+
* 点击操作时触发。
|
|
30
|
+
*/
|
|
31
|
+
onAction?: (row: T, index: number) => any;
|
|
32
|
+
}
|
|
33
|
+
export type VroElTableActionsColumnActions<T = any> = VroElTableActionsColumnAction<T>[] | ((row: T, index: number) => VroElTableActionsColumnAction<T>[]);
|
|
34
|
+
export declare const vroElTableActionsColumnProps: {
|
|
35
|
+
/**
|
|
36
|
+
* 列标题。
|
|
37
|
+
*/
|
|
38
|
+
label: StringConstructor;
|
|
39
|
+
/**
|
|
40
|
+
* 直接展示的操作项。
|
|
41
|
+
*/
|
|
42
|
+
actions: {
|
|
43
|
+
type: PropType<VroElTableActionsColumnActions>;
|
|
44
|
+
default: () => never[];
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* 更多操作下拉菜单触发方式。
|
|
48
|
+
*/
|
|
49
|
+
moreTrigger: {
|
|
50
|
+
type: PropType<"hover" | "click" | "contextmenu">;
|
|
51
|
+
default: string;
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* 更多操作按钮文本。
|
|
55
|
+
*/
|
|
56
|
+
moreText: StringConstructor;
|
|
57
|
+
/**
|
|
58
|
+
* 收纳到更多下拉菜单中的操作项。
|
|
59
|
+
*/
|
|
60
|
+
moreActions: {
|
|
61
|
+
type: PropType<VroElTableActionsColumnActions>;
|
|
62
|
+
default: () => never[];
|
|
63
|
+
};
|
|
64
|
+
type: {
|
|
65
|
+
type: PropType<"default" | "selection" | "index" | "expand">;
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
className: StringConstructor;
|
|
69
|
+
labelClassName: StringConstructor;
|
|
70
|
+
property: StringConstructor;
|
|
71
|
+
prop: StringConstructor;
|
|
72
|
+
width: {
|
|
73
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
74
|
+
default: string;
|
|
75
|
+
};
|
|
76
|
+
minWidth: {
|
|
77
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
80
|
+
renderHeader: PropType<import('element-plus').TableColumnCtx<any>["renderHeader"]>;
|
|
81
|
+
sortable: {
|
|
82
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
85
|
+
sortMethod: PropType<import('element-plus').TableColumnCtx<any>["sortMethod"]>;
|
|
86
|
+
sortBy: PropType<import('element-plus').TableColumnCtx<any>["sortBy"]>;
|
|
87
|
+
resizable: {
|
|
88
|
+
type: BooleanConstructor;
|
|
89
|
+
default: boolean;
|
|
90
|
+
};
|
|
91
|
+
columnKey: StringConstructor;
|
|
92
|
+
align: StringConstructor;
|
|
93
|
+
headerAlign: StringConstructor;
|
|
94
|
+
showOverflowTooltip: {
|
|
95
|
+
type: PropType<import('element-plus').TableColumnCtx<any>["showOverflowTooltip"]>;
|
|
96
|
+
default: undefined;
|
|
97
|
+
};
|
|
98
|
+
tooltipFormatter: PropType<import('element-plus').TableColumnCtx<any>["tooltipFormatter"]>;
|
|
99
|
+
fixed: (BooleanConstructor | StringConstructor)[];
|
|
100
|
+
formatter: PropType<import('element-plus').TableColumnCtx<any>["formatter"]>;
|
|
101
|
+
selectable: PropType<import('element-plus').TableColumnCtx<any>["selectable"]>;
|
|
102
|
+
reserveSelection: BooleanConstructor;
|
|
103
|
+
filterMethod: PropType<import('element-plus').TableColumnCtx<any>["filterMethod"]>;
|
|
104
|
+
filteredValue: PropType<import('element-plus').TableColumnCtx<any>["filteredValue"]>;
|
|
105
|
+
filters: PropType<import('element-plus').TableColumnCtx<any>["filters"]>;
|
|
106
|
+
filterPlacement: StringConstructor;
|
|
107
|
+
filterMultiple: {
|
|
108
|
+
type: BooleanConstructor;
|
|
109
|
+
default: boolean;
|
|
110
|
+
};
|
|
111
|
+
filterClassName: StringConstructor;
|
|
112
|
+
index: PropType<import('element-plus').TableColumnCtx<any>["index"]>;
|
|
113
|
+
sortOrders: {
|
|
114
|
+
type: PropType<import('element-plus').TableColumnCtx<any>["sortOrders"]>;
|
|
115
|
+
default: () => (string | null)[];
|
|
116
|
+
validator: (val: import('element-plus').TableColumnCtx<any>["sortOrders"]) => boolean;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
export type VroElTableActionsColumnProps = ExtractPropTypes<typeof vroElTableActionsColumnProps>;
|
|
120
|
+
export interface VroElTableActionsColumnActionScope<T extends Record<string, any> = any> extends VroElTableColumnScope<T> {
|
|
121
|
+
/**
|
|
122
|
+
* 当前操作项。
|
|
123
|
+
*/
|
|
124
|
+
action: VroElTableActionsColumnAction<T>;
|
|
125
|
+
}
|
|
126
|
+
export interface VroElTableActionsColumnSlots<T extends Record<string, any> = any> {
|
|
127
|
+
/**
|
|
128
|
+
* 自定义整列内容。
|
|
129
|
+
*/
|
|
130
|
+
default?: (props: VroElTableColumnScope<T>) => any;
|
|
131
|
+
/**
|
|
132
|
+
* 自定义直接展示的操作项内容。
|
|
133
|
+
*/
|
|
134
|
+
action?: (props: VroElTableActionsColumnActionScope<T>) => any;
|
|
135
|
+
/**
|
|
136
|
+
* 自定义更多操作项内容。
|
|
137
|
+
*/
|
|
138
|
+
'more-action'?: (props: VroElTableActionsColumnActionScope<T>) => any;
|
|
139
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { elTableColumnProps as r } from "../utils/elTableColumnProps.js";
|
|
2
|
+
import "@vrojs/base";
|
|
3
|
+
const e = {
|
|
4
|
+
...r,
|
|
5
|
+
/**
|
|
6
|
+
* 列标题。
|
|
7
|
+
*/
|
|
8
|
+
label: String,
|
|
9
|
+
/**
|
|
10
|
+
* 直接展示的操作项。
|
|
11
|
+
*/
|
|
12
|
+
actions: {
|
|
13
|
+
type: [Array, Function],
|
|
14
|
+
default: () => []
|
|
15
|
+
},
|
|
16
|
+
/**
|
|
17
|
+
* 更多操作下拉菜单触发方式。
|
|
18
|
+
*/
|
|
19
|
+
moreTrigger: {
|
|
20
|
+
type: String,
|
|
21
|
+
default: "hover"
|
|
22
|
+
},
|
|
23
|
+
/**
|
|
24
|
+
* 更多操作按钮文本。
|
|
25
|
+
*/
|
|
26
|
+
moreText: String,
|
|
27
|
+
/**
|
|
28
|
+
* 收纳到更多下拉菜单中的操作项。
|
|
29
|
+
*/
|
|
30
|
+
moreActions: {
|
|
31
|
+
type: [Array, Function],
|
|
32
|
+
default: () => []
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
export {
|
|
36
|
+
e as vroElTableActionsColumnProps
|
|
37
|
+
};
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import { VroElTableActionsColumnActions, VroElTableActionsColumnSlots } from './types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: Readonly<VroElTableActionsColumnSlots<any>> & VroElTableActionsColumnSlots<any>;
|
|
5
|
+
refs: {};
|
|
6
|
+
rootEl: any;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
9
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
10
|
+
label: StringConstructor;
|
|
11
|
+
actions: {
|
|
12
|
+
type: import('vue').PropType<VroElTableActionsColumnActions>;
|
|
13
|
+
default: () => never[];
|
|
14
|
+
};
|
|
15
|
+
moreTrigger: {
|
|
16
|
+
type: import('vue').PropType<"hover" | "click" | "contextmenu">;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
moreText: StringConstructor;
|
|
20
|
+
moreActions: {
|
|
21
|
+
type: import('vue').PropType<VroElTableActionsColumnActions>;
|
|
22
|
+
default: () => never[];
|
|
23
|
+
};
|
|
24
|
+
type: {
|
|
25
|
+
type: import('vue').PropType<"default" | "selection" | "index" | "expand">;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
className: StringConstructor;
|
|
29
|
+
labelClassName: StringConstructor;
|
|
30
|
+
property: StringConstructor;
|
|
31
|
+
prop: StringConstructor;
|
|
32
|
+
width: {
|
|
33
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
minWidth: {
|
|
37
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
renderHeader: import('vue').PropType<import('element-plus').TableColumnCtx<any>["renderHeader"]>;
|
|
41
|
+
sortable: {
|
|
42
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
sortMethod: import('vue').PropType<import('element-plus').TableColumnCtx<any>["sortMethod"]>;
|
|
46
|
+
sortBy: import('vue').PropType<import('element-plus').TableColumnCtx<any>["sortBy"]>;
|
|
47
|
+
resizable: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
51
|
+
columnKey: StringConstructor;
|
|
52
|
+
align: StringConstructor;
|
|
53
|
+
headerAlign: StringConstructor;
|
|
54
|
+
showOverflowTooltip: {
|
|
55
|
+
type: import('vue').PropType<import('element-plus').TableColumnCtx<any>["showOverflowTooltip"]>;
|
|
56
|
+
default: undefined;
|
|
57
|
+
};
|
|
58
|
+
tooltipFormatter: import('vue').PropType<import('element-plus').TableColumnCtx<any>["tooltipFormatter"]>;
|
|
59
|
+
fixed: (BooleanConstructor | StringConstructor)[];
|
|
60
|
+
formatter: import('vue').PropType<import('element-plus').TableColumnCtx<any>["formatter"]>;
|
|
61
|
+
selectable: import('vue').PropType<import('element-plus').TableColumnCtx<any>["selectable"]>;
|
|
62
|
+
reserveSelection: BooleanConstructor;
|
|
63
|
+
filterMethod: import('vue').PropType<import('element-plus').TableColumnCtx<any>["filterMethod"]>;
|
|
64
|
+
filteredValue: import('vue').PropType<import('element-plus').TableColumnCtx<any>["filteredValue"]>;
|
|
65
|
+
filters: import('vue').PropType<import('element-plus').TableColumnCtx<any>["filters"]>;
|
|
66
|
+
filterPlacement: StringConstructor;
|
|
67
|
+
filterMultiple: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
filterClassName: StringConstructor;
|
|
72
|
+
index: import('vue').PropType<import('element-plus').TableColumnCtx<any>["index"]>;
|
|
73
|
+
sortOrders: {
|
|
74
|
+
type: import('vue').PropType<import('element-plus').TableColumnCtx<any>["sortOrders"]>;
|
|
75
|
+
default: () => (string | null)[];
|
|
76
|
+
validator: (val: import('element-plus').TableColumnCtx<any>["sortOrders"]) => boolean;
|
|
77
|
+
};
|
|
78
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
79
|
+
label: StringConstructor;
|
|
80
|
+
actions: {
|
|
81
|
+
type: import('vue').PropType<VroElTableActionsColumnActions>;
|
|
82
|
+
default: () => never[];
|
|
83
|
+
};
|
|
84
|
+
moreTrigger: {
|
|
85
|
+
type: import('vue').PropType<"hover" | "click" | "contextmenu">;
|
|
86
|
+
default: string;
|
|
87
|
+
};
|
|
88
|
+
moreText: StringConstructor;
|
|
89
|
+
moreActions: {
|
|
90
|
+
type: import('vue').PropType<VroElTableActionsColumnActions>;
|
|
91
|
+
default: () => never[];
|
|
92
|
+
};
|
|
93
|
+
type: {
|
|
94
|
+
type: import('vue').PropType<"default" | "selection" | "index" | "expand">;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
className: StringConstructor;
|
|
98
|
+
labelClassName: StringConstructor;
|
|
99
|
+
property: StringConstructor;
|
|
100
|
+
prop: StringConstructor;
|
|
101
|
+
width: {
|
|
102
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
103
|
+
default: string;
|
|
104
|
+
};
|
|
105
|
+
minWidth: {
|
|
106
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
107
|
+
default: string;
|
|
108
|
+
};
|
|
109
|
+
renderHeader: import('vue').PropType<import('element-plus').TableColumnCtx<any>["renderHeader"]>;
|
|
110
|
+
sortable: {
|
|
111
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
112
|
+
default: boolean;
|
|
113
|
+
};
|
|
114
|
+
sortMethod: import('vue').PropType<import('element-plus').TableColumnCtx<any>["sortMethod"]>;
|
|
115
|
+
sortBy: import('vue').PropType<import('element-plus').TableColumnCtx<any>["sortBy"]>;
|
|
116
|
+
resizable: {
|
|
117
|
+
type: BooleanConstructor;
|
|
118
|
+
default: boolean;
|
|
119
|
+
};
|
|
120
|
+
columnKey: StringConstructor;
|
|
121
|
+
align: StringConstructor;
|
|
122
|
+
headerAlign: StringConstructor;
|
|
123
|
+
showOverflowTooltip: {
|
|
124
|
+
type: import('vue').PropType<import('element-plus').TableColumnCtx<any>["showOverflowTooltip"]>;
|
|
125
|
+
default: undefined;
|
|
126
|
+
};
|
|
127
|
+
tooltipFormatter: import('vue').PropType<import('element-plus').TableColumnCtx<any>["tooltipFormatter"]>;
|
|
128
|
+
fixed: (BooleanConstructor | StringConstructor)[];
|
|
129
|
+
formatter: import('vue').PropType<import('element-plus').TableColumnCtx<any>["formatter"]>;
|
|
130
|
+
selectable: import('vue').PropType<import('element-plus').TableColumnCtx<any>["selectable"]>;
|
|
131
|
+
reserveSelection: BooleanConstructor;
|
|
132
|
+
filterMethod: import('vue').PropType<import('element-plus').TableColumnCtx<any>["filterMethod"]>;
|
|
133
|
+
filteredValue: import('vue').PropType<import('element-plus').TableColumnCtx<any>["filteredValue"]>;
|
|
134
|
+
filters: import('vue').PropType<import('element-plus').TableColumnCtx<any>["filters"]>;
|
|
135
|
+
filterPlacement: StringConstructor;
|
|
136
|
+
filterMultiple: {
|
|
137
|
+
type: BooleanConstructor;
|
|
138
|
+
default: boolean;
|
|
139
|
+
};
|
|
140
|
+
filterClassName: StringConstructor;
|
|
141
|
+
index: import('vue').PropType<import('element-plus').TableColumnCtx<any>["index"]>;
|
|
142
|
+
sortOrders: {
|
|
143
|
+
type: import('vue').PropType<import('element-plus').TableColumnCtx<any>["sortOrders"]>;
|
|
144
|
+
default: () => (string | null)[];
|
|
145
|
+
validator: (val: import('element-plus').TableColumnCtx<any>["sortOrders"]) => boolean;
|
|
146
|
+
};
|
|
147
|
+
}>> & Readonly<{}>, {
|
|
148
|
+
type: "default" | "selection" | "index" | "expand";
|
|
149
|
+
showOverflowTooltip: boolean | Partial<Omit<import('element-plus').UseTooltipProps, "content" | "rawContent" | "persistent" | "visible" | "autoClose" | "referenceEl" | "triggerTargetEl" | "virtualRef" | "virtualTriggering">> | undefined;
|
|
150
|
+
sortOrders: (import('element-plus/es/components/table/src/table/defaults.mjs').TableSortOrder | null)[];
|
|
151
|
+
width: string | number;
|
|
152
|
+
resizable: boolean;
|
|
153
|
+
minWidth: string | number;
|
|
154
|
+
sortable: string | boolean;
|
|
155
|
+
reserveSelection: boolean;
|
|
156
|
+
filterMultiple: boolean;
|
|
157
|
+
actions: VroElTableActionsColumnActions<any>;
|
|
158
|
+
moreTrigger: "click" | "contextmenu" | "hover";
|
|
159
|
+
moreActions: VroElTableActionsColumnActions<any>;
|
|
160
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
161
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
162
|
+
export default _default;
|
|
163
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
164
|
+
new (): {
|
|
165
|
+
$slots: S;
|
|
166
|
+
};
|
|
167
|
+
};
|