@vunk/form 2.16.6 → 2.16.8
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/components/api-tables-select/index.d.ts +4 -0
- package/components/api-tables-select/src/ctx.d.ts +375 -0
- package/components/api-tables-select/src/index.vue.d.ts +1340 -0
- package/components/api-tables-select/src/types.d.ts +19 -0
- package/components/button/index.d.ts +4 -0
- package/components/button/src/ctx.d.ts +193 -0
- package/components/button/src/index.vue.d.ts +851 -0
- package/components/button/src/types.d.ts +13 -0
- package/components/card-input-collection/index.d.ts +4 -0
- package/components/card-input-collection/src/core.vue.d.ts +1125 -0
- package/components/card-input-collection/src/ctx.d.ts +154 -0
- package/components/card-input-collection/src/index.vue.d.ts +287 -0
- package/components/card-input-collection/src/types.d.ts +17 -0
- package/components/cascader/index.d.ts +6 -0
- package/components/cascader/src/ctx.d.ts +343 -0
- package/components/cascader/src/index.vue.d.ts +775 -0
- package/components/cascader/src/types.d.ts +19 -0
- package/components/cascader/src/use.d.ts +5 -0
- package/components/checkbox/index.d.ts +5 -0
- package/components/checkbox/src/ctx.d.ts +146 -0
- package/components/checkbox/src/index.vue.d.ts +1353 -0
- package/components/checkbox/src/types.d.ts +8 -0
- package/components/color-picker/index.d.ts +4 -0
- package/components/color-picker/src/ctx.d.ts +179 -0
- package/components/color-picker/src/index.vue.d.ts +398 -0
- package/components/color-picker/src/types.d.ts +7 -0
- package/components/date-picker/index.d.ts +5 -0
- package/components/date-picker/src/ctx.d.ts +364 -0
- package/components/date-picker/src/index.vue.d.ts +1665 -0
- package/components/date-picker/src/types.d.ts +20 -0
- package/components/date-picker-range/index.d.ts +4 -0
- package/components/date-picker-range/src/ctx.d.ts +372 -0
- package/components/date-picker-range/src/index.vue.d.ts +808 -0
- package/components/date-picker-range/src/types.d.ts +12 -0
- package/components/dialog/index.d.ts +4 -0
- package/components/dialog/src/ctx.d.ts +174 -0
- package/components/dialog/src/index.vue.d.ts +1180 -0
- package/components/dialog/src/types.d.ts +1 -0
- package/components/dialog-input-collection/index.d.ts +4 -0
- package/components/dialog-input-collection/src/ctx.d.ts +141 -0
- package/components/dialog-input-collection/src/dialog-form.vue.d.ts +6430 -0
- package/components/dialog-input-collection/src/index.vue.d.ts +7773 -0
- package/components/dialog-input-collection/src/layout.vue.d.ts +85 -0
- package/components/dialog-input-collection/src/types.d.ts +28 -0
- package/components/download-plus/index.d.ts +4 -0
- package/components/download-plus/src/api.d.ts +13 -0
- package/components/download-plus/src/const.d.ts +9 -0
- package/components/download-plus/src/ctx.d.ts +125 -0
- package/components/download-plus/src/index.vue.d.ts +1495 -0
- package/components/download-plus/src/types.d.ts +17 -0
- package/components/editable-text/index.d.ts +4 -0
- package/components/editable-text/src/ctx.d.ts +128 -0
- package/components/editable-text/src/index.vue.d.ts +3389 -0
- package/components/editable-text/src/types.d.ts +1 -0
- package/components/esri-input-geojson/index.d.ts +6 -0
- package/components/esri-input-geojson/src/append.vue.d.ts +1200 -0
- package/components/esri-input-geojson/src/const.d.ts +12 -0
- package/components/esri-input-geojson/src/ctx.d.ts +351 -0
- package/components/esri-input-geojson/src/default-view.vue.d.ts +133 -0
- package/components/esri-input-geojson/src/index.vue.d.ts +1488 -0
- package/components/esri-input-geojson/src/types.d.ts +22 -0
- package/components/esri-input-geojson/src/viewer.vue.d.ts +427 -0
- package/components/fieldset/index.d.ts +4 -0
- package/components/fieldset/src/ctx.d.ts +16 -0
- package/components/fieldset/src/index.vue.d.ts +32 -0
- package/components/fieldset/src/types.d.ts +1 -0
- package/components/fieldset/src/use.d.ts +5 -0
- package/components/form/index.d.ts +5 -0
- package/components/form/src/ctx.d.ts +139 -0
- package/components/form/src/index.vue.d.ts +2613 -0
- package/components/form/src/types.d.ts +25 -0
- package/components/form/src/utils.d.ts +15 -0
- package/components/form-item/index.d.ts +5 -0
- package/components/form-item/src/core.vue.d.ts +1874 -0
- package/components/form-item/src/ctx.d.ts +103 -0
- package/components/form-item/src/index.vue.d.ts +214 -0
- package/components/form-item/src/types.d.ts +10 -0
- package/components/form-item-renderer/index.d.ts +4 -0
- package/components/form-item-renderer/src/core.vue.d.ts +38 -0
- package/components/form-item-renderer/src/ctx.d.ts +16 -0
- package/components/form-item-renderer/src/index.vue.d.ts +93 -0
- package/components/form-item-renderer/src/types.d.ts +5 -0
- package/components/form-item-renderer/src/utils.d.ts +5 -0
- package/components/form-item-renderer-template/index.d.ts +4 -0
- package/components/form-item-renderer-template/src/ctx.d.ts +7 -0
- package/components/form-item-renderer-template/src/index.vue.d.ts +16 -0
- package/components/form-item-renderer-template/src/types.d.ts +55 -0
- package/components/forms-provider/index.d.ts +6 -0
- package/components/forms-provider/src/core.d.ts +6 -0
- package/components/forms-provider/src/index.vue.d.ts +2 -0
- package/components/forms-provider/src/segment.vue.d.ts +9 -0
- package/components/forms-provider/src/types.d.ts +10 -0
- package/components/forms-provider/src/view.vue.d.ts +7 -0
- package/components/information/index.d.ts +4 -0
- package/components/information/src/ctx.d.ts +16 -0
- package/components/information/src/index.vue.d.ts +27 -0
- package/components/information/src/types.d.ts +3 -0
- package/components/information-collection/index.d.ts +4 -0
- package/components/information-collection/src/ctx.d.ts +143 -0
- package/components/information-collection/src/index.vue.d.ts +296 -0
- package/components/information-collection/src/types.d.ts +6 -0
- package/components/information-renderer/index.d.ts +73 -0
- package/components/information-tag/index.d.ts +4 -0
- package/components/information-tag/src/ctx.d.ts +64 -0
- package/components/information-tag/src/index.vue.d.ts +134 -0
- package/components/information-tag/src/types.d.ts +1 -0
- package/components/information-templates-default/index.d.ts +4 -0
- package/components/information-templates-default/src/ctx.d.ts +2 -0
- package/components/information-templates-default/src/index.vue.d.ts +2 -0
- package/components/information-templates-default/src/types.d.ts +1 -0
- package/components/input/index.d.ts +5 -0
- package/components/input/src/ctx.d.ts +280 -0
- package/components/input/src/index.vue.d.ts +1268 -0
- package/components/input/src/types.d.ts +13 -0
- package/components/input-array/index.d.ts +5 -0
- package/components/input-array/src/ctx.d.ts +136 -0
- package/components/input-array/src/form-template.vue.d.ts +901 -0
- package/components/input-array/src/index.vue.d.ts +889 -0
- package/components/input-array/src/types.d.ts +7 -0
- package/components/input-collection/index.d.ts +4 -0
- package/components/input-collection/src/core.vue.d.ts +1203 -0
- package/components/input-collection/src/ctx.d.ts +154 -0
- package/components/input-collection/src/index.vue.d.ts +296 -0
- package/components/input-collection/src/types.d.ts +29 -0
- package/components/input-file/index.d.ts +5 -0
- package/components/input-file/src/ctx.d.ts +46 -0
- package/components/input-file/src/index.vue.d.ts +112 -0
- package/components/input-file/src/template.vue.d.ts +125 -0
- package/components/input-file/src/types.d.ts +8 -0
- package/components/input-link/index.d.ts +4 -0
- package/components/input-link/src/ctx.d.ts +284 -0
- package/components/input-link/src/index.vue.d.ts +602 -0
- package/components/input-link/src/types.d.ts +7 -0
- package/components/input-number/index.d.ts +4 -0
- package/components/input-number/src/ctx.d.ts +221 -0
- package/components/input-number/src/index.vue.d.ts +910 -0
- package/components/input-number/src/types.d.ts +12 -0
- package/components/input-tag/index.d.ts +5 -0
- package/components/input-tag/src/ctx.d.ts +244 -0
- package/components/input-tag/src/index.vue.d.ts +1050 -0
- package/components/input-tag/src/types.d.ts +22 -0
- package/components/monaco-editor/index.d.ts +4 -0
- package/components/monaco-editor/src/ctx.d.ts +111 -0
- package/components/monaco-editor/src/index.vue.d.ts +297 -0
- package/components/monaco-editor/src/types.d.ts +7 -0
- package/components/radio/index.d.ts +4 -0
- package/components/radio/src/ctx.d.ts +165 -0
- package/components/radio/src/index.vue.d.ts +1488 -0
- package/components/radio/src/option.vue.d.ts +901 -0
- package/components/radio/src/types.d.ts +8 -0
- package/components/radio/src/wraper.vue.d.ts +337 -0
- package/components/renderer-data/index.d.ts +4 -0
- package/components/renderer-data/src/ctx.d.ts +12 -0
- package/components/renderer-data/src/index.vue.d.ts +20 -0
- package/components/renderer-data/src/types.d.ts +1 -0
- package/components/select/index.cjs +29 -11
- package/components/select/index.d.ts +5 -0
- package/components/select/index.mjs +29 -11
- package/components/select/src/core.vue.d.ts +1601 -0
- package/components/select/src/ctx.d.ts +386 -0
- package/components/select/src/index.vue.d.ts +946 -0
- package/components/select/src/options.vue.d.ts +51 -0
- package/components/select/src/types.d.ts +19 -0
- package/components/slider/index.d.ts +4 -0
- package/components/slider/src/ctx.d.ts +248 -0
- package/components/slider/src/index.vue.d.ts +579 -0
- package/components/slider/src/types.d.ts +7 -0
- package/components/switch/index.d.ts +4 -0
- package/components/switch/src/ctx.d.ts +201 -0
- package/components/switch/src/index.vue.d.ts +882 -0
- package/components/switch/src/types.d.ts +7 -0
- package/components/tables-select/index.d.ts +5 -0
- package/components/tables-select/src/ctx.d.ts +421 -0
- package/components/tables-select/src/index.vue.d.ts +5510 -0
- package/components/tables-select/src/types.d.ts +9 -0
- package/components/template-instances-provider/index.d.ts +3 -0
- package/components/template-instances-provider/src/index.vue.d.ts +6 -0
- package/components/templates-default/index.d.ts +4 -0
- package/components/templates-default/src/ctx.d.ts +19 -0
- package/components/templates-default/src/index.vue.d.ts +187 -0
- package/components/templates-default/src/types.d.ts +55 -0
- package/components/templates-element-plus/index.d.ts +4 -0
- package/components/templates-element-plus/src/ctx.d.ts +9 -0
- package/components/templates-element-plus/src/index.vue.d.ts +301 -0
- package/components/templates-element-plus/src/types.d.ts +13 -0
- package/components/templates-esri/index.d.ts +4 -0
- package/components/templates-esri/src/ctx.d.ts +11 -0
- package/components/templates-esri/src/index.vue.d.ts +43 -0
- package/components/templates-esri/src/types.d.ts +2 -0
- package/components/templates-layout/index.d.ts +4 -0
- package/components/templates-layout/src/ctx.d.ts +9 -0
- package/components/templates-layout/src/index.vue.d.ts +446 -0
- package/components/templates-layout/src/types.d.ts +32 -0
- package/components/templates-variant/index.d.ts +4 -0
- package/components/templates-variant/src/ctx.d.ts +11 -0
- package/components/templates-variant/src/index.vue.d.ts +43 -0
- package/components/templates-variant/src/types.d.ts +2 -0
- package/components/upload/index.d.ts +5 -0
- package/components/upload/src/ctx.d.ts +291 -0
- package/components/upload/src/file.vue.d.ts +913 -0
- package/components/upload/src/index.vue.d.ts +2347 -0
- package/components/upload/src/types.d.ts +13 -0
- package/components/upload/src/wraper.vue.d.ts +590 -0
- package/components/upload-plus/index.d.ts +6 -0
- package/components/upload-plus/src/api.d.ts +38 -0
- package/components/upload-plus/src/const.d.ts +9 -0
- package/components/upload-plus/src/ctx.d.ts +144 -0
- package/components/upload-plus/src/index.vue.d.ts +1813 -0
- package/components/upload-plus/src/types.d.ts +32 -0
- package/components/van-cascader/index.d.ts +4 -0
- package/components/van-cascader/src/ctx.d.ts +330 -0
- package/components/van-cascader/src/index.vue.d.ts +1241 -0
- package/components/van-cascader/src/types.d.ts +1 -0
- package/components/var-datetime-picker/index.d.ts +4 -0
- package/components/var-datetime-picker/src/const.d.ts +10 -0
- package/components/var-datetime-picker/src/ctx.d.ts +108 -0
- package/components/var-datetime-picker/src/index.vue.d.ts +1622 -0
- package/components/var-datetime-picker/src/types.d.ts +22 -0
- package/components/vditor/index.d.ts +4 -0
- package/components/vditor/src/ctx.d.ts +118 -0
- package/components/vditor/src/index.vue.d.ts +412 -0
- package/components/vditor/src/types.d.ts +7 -0
- package/package.json +1 -1
|
@@ -0,0 +1,375 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { ReadApi } from './types';
|
|
3
|
+
import { NormalObject } from '@vunk/shared';
|
|
4
|
+
export declare const props: {
|
|
5
|
+
/**
|
|
6
|
+
* @description 读取数据的api
|
|
7
|
+
*/
|
|
8
|
+
readApi: {
|
|
9
|
+
type: PropType<ReadApi>;
|
|
10
|
+
default: () => {
|
|
11
|
+
rows: any[];
|
|
12
|
+
total: number;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* @description 获取完整数据
|
|
17
|
+
* @default props.rApi({ ids: ids.join(',') })
|
|
18
|
+
*/
|
|
19
|
+
getRows: {
|
|
20
|
+
type: PropType<(ids: any[]) => Promise<NormalObject[]>>;
|
|
21
|
+
default: any;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* query表单配置
|
|
25
|
+
*/
|
|
26
|
+
queryItems: {
|
|
27
|
+
type: PropType<any[]>;
|
|
28
|
+
default: () => any[];
|
|
29
|
+
};
|
|
30
|
+
type: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
required: {
|
|
35
|
+
readonly type: PropType<boolean>;
|
|
36
|
+
readonly required: false;
|
|
37
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
38
|
+
__epPropKey: true;
|
|
39
|
+
} & {
|
|
40
|
+
readonly default: undefined;
|
|
41
|
+
};
|
|
42
|
+
small: BooleanConstructor;
|
|
43
|
+
size: {
|
|
44
|
+
readonly type: PropType<import("element-plus").ButtonType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
45
|
+
readonly required: false;
|
|
46
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
47
|
+
__epPropKey: true;
|
|
48
|
+
};
|
|
49
|
+
formItemSize: {
|
|
50
|
+
type: PropType<"default" | "small" | "large">;
|
|
51
|
+
default: "default" | "small" | "large";
|
|
52
|
+
};
|
|
53
|
+
formItemSlots: {
|
|
54
|
+
type: PropType<import("@vunk/form/components/form-item/src/types").FormItemSlots>;
|
|
55
|
+
default: any;
|
|
56
|
+
};
|
|
57
|
+
elRef: {
|
|
58
|
+
type: PropType<import("@vunk/core").AnyFunc>;
|
|
59
|
+
default: undefined;
|
|
60
|
+
};
|
|
61
|
+
inline: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
readonly: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: any;
|
|
68
|
+
};
|
|
69
|
+
formItemTip: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: any;
|
|
72
|
+
};
|
|
73
|
+
formItemTipClass: any;
|
|
74
|
+
labelTip: {
|
|
75
|
+
type: StringConstructor;
|
|
76
|
+
default: any;
|
|
77
|
+
};
|
|
78
|
+
information: {
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
default: boolean;
|
|
81
|
+
};
|
|
82
|
+
prop: any;
|
|
83
|
+
defaultModelValue: any;
|
|
84
|
+
label: StringConstructor;
|
|
85
|
+
labelWidth: {
|
|
86
|
+
readonly type: PropType<string | number>;
|
|
87
|
+
readonly required: false;
|
|
88
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
89
|
+
__epPropKey: true;
|
|
90
|
+
} & {
|
|
91
|
+
readonly default: "";
|
|
92
|
+
};
|
|
93
|
+
labelPosition: {
|
|
94
|
+
readonly type: PropType<"" | "top" | "left" | "right">;
|
|
95
|
+
readonly required: false;
|
|
96
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
97
|
+
__epPropKey: true;
|
|
98
|
+
} & {
|
|
99
|
+
readonly default: "";
|
|
100
|
+
};
|
|
101
|
+
rules: {
|
|
102
|
+
readonly type: PropType<unknown>;
|
|
103
|
+
readonly required: false;
|
|
104
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
105
|
+
__epPropKey: true;
|
|
106
|
+
};
|
|
107
|
+
error: StringConstructor;
|
|
108
|
+
validateStatus: {
|
|
109
|
+
readonly type: PropType<"" | "error" | "success" | "validating">;
|
|
110
|
+
readonly required: false;
|
|
111
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
112
|
+
__epPropKey: true;
|
|
113
|
+
};
|
|
114
|
+
for: StringConstructor;
|
|
115
|
+
inlineMessage: {
|
|
116
|
+
readonly type: PropType<string | boolean>;
|
|
117
|
+
readonly required: false;
|
|
118
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
119
|
+
__epPropKey: true;
|
|
120
|
+
} & {
|
|
121
|
+
readonly default: "";
|
|
122
|
+
};
|
|
123
|
+
showMessage: {
|
|
124
|
+
readonly type: PropType<boolean>;
|
|
125
|
+
readonly required: false;
|
|
126
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
127
|
+
__epPropKey: true;
|
|
128
|
+
} & {
|
|
129
|
+
readonly default: true;
|
|
130
|
+
};
|
|
131
|
+
disabled: {
|
|
132
|
+
type: BooleanConstructor;
|
|
133
|
+
default: undefined;
|
|
134
|
+
};
|
|
135
|
+
teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
136
|
+
className: StringConstructor;
|
|
137
|
+
popperClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
138
|
+
fixed: (StringConstructor | BooleanConstructor)[];
|
|
139
|
+
filters: PropType<import("element-plus/es/components/table/src/table-column/defaults").Filters>;
|
|
140
|
+
modelValue: {
|
|
141
|
+
type: PropType<NormalObject[] | string>;
|
|
142
|
+
default: () => any[];
|
|
143
|
+
};
|
|
144
|
+
labelField: {
|
|
145
|
+
type: StringConstructor;
|
|
146
|
+
default: string;
|
|
147
|
+
};
|
|
148
|
+
clearable: {
|
|
149
|
+
type: BooleanConstructor;
|
|
150
|
+
default: boolean;
|
|
151
|
+
};
|
|
152
|
+
multiple: {
|
|
153
|
+
type: BooleanConstructor;
|
|
154
|
+
default: boolean;
|
|
155
|
+
};
|
|
156
|
+
updateWhenCompleted: {
|
|
157
|
+
type: BooleanConstructor;
|
|
158
|
+
default: boolean;
|
|
159
|
+
};
|
|
160
|
+
stringify: {
|
|
161
|
+
type: BooleanConstructor;
|
|
162
|
+
default: boolean;
|
|
163
|
+
};
|
|
164
|
+
placeholder: {
|
|
165
|
+
type: StringConstructor;
|
|
166
|
+
default: string;
|
|
167
|
+
};
|
|
168
|
+
dialogClass: any;
|
|
169
|
+
checkTrigger: {
|
|
170
|
+
type: PropType<"check" | "rowClick">;
|
|
171
|
+
default: string;
|
|
172
|
+
};
|
|
173
|
+
oidField: {
|
|
174
|
+
type: StringConstructor;
|
|
175
|
+
default: string;
|
|
176
|
+
};
|
|
177
|
+
selectionHidden: {
|
|
178
|
+
type: BooleanConstructor;
|
|
179
|
+
default: boolean;
|
|
180
|
+
};
|
|
181
|
+
paginationDisabled: {
|
|
182
|
+
type: BooleanConstructor;
|
|
183
|
+
default: boolean;
|
|
184
|
+
};
|
|
185
|
+
border: {
|
|
186
|
+
type: BooleanConstructor;
|
|
187
|
+
default: boolean;
|
|
188
|
+
};
|
|
189
|
+
tableClass: {
|
|
190
|
+
type: StringConstructor;
|
|
191
|
+
default: string;
|
|
192
|
+
};
|
|
193
|
+
tableStyle: {
|
|
194
|
+
type: PropType<import("vue").CSSProperties>;
|
|
195
|
+
default: undefined;
|
|
196
|
+
};
|
|
197
|
+
layout: {
|
|
198
|
+
type: StringConstructor;
|
|
199
|
+
default: undefined;
|
|
200
|
+
};
|
|
201
|
+
columns: {
|
|
202
|
+
type: PropType<import("@vunk/plus/components/tables-v1/src/types").Column[]>;
|
|
203
|
+
default: () => never[];
|
|
204
|
+
};
|
|
205
|
+
modules: {
|
|
206
|
+
type: PropType<"pagination"[]>;
|
|
207
|
+
default: () => string[];
|
|
208
|
+
};
|
|
209
|
+
align: {
|
|
210
|
+
type: StringConstructor;
|
|
211
|
+
default: string;
|
|
212
|
+
};
|
|
213
|
+
headerAlign: {
|
|
214
|
+
type: StringConstructor;
|
|
215
|
+
default: string;
|
|
216
|
+
};
|
|
217
|
+
duplexFull: {
|
|
218
|
+
type: BooleanConstructor;
|
|
219
|
+
default: boolean;
|
|
220
|
+
};
|
|
221
|
+
load: PropType<(row: any, treeNode: import("element-plus").TreeNode, resolve: (data: any[]) => void) => void>;
|
|
222
|
+
fit: {
|
|
223
|
+
type: BooleanConstructor;
|
|
224
|
+
default: boolean;
|
|
225
|
+
};
|
|
226
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
227
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
228
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick<import("element-plus").ElTooltipProps, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">>>;
|
|
229
|
+
rowKey: PropType<string | ((row: any) => string)>;
|
|
230
|
+
summaryMethod: PropType<import("element-plus").SummaryMethod<any>>;
|
|
231
|
+
rowClassName: PropType<import("element-plus").ColumnCls<any>>;
|
|
232
|
+
rowStyle: PropType<import("element-plus").ColumnStyle<any>>;
|
|
233
|
+
cellClassName: PropType<import("element-plus").CellCls<any>>;
|
|
234
|
+
cellStyle: PropType<import("element-plus").CellStyle<any>>;
|
|
235
|
+
headerRowClassName: PropType<import("element-plus").ColumnCls<any>>;
|
|
236
|
+
headerRowStyle: PropType<import("element-plus").ColumnStyle<any>>;
|
|
237
|
+
headerCellClassName: PropType<import("element-plus").CellCls<any>>;
|
|
238
|
+
headerCellStyle: PropType<import("element-plus").CellStyle<any>>;
|
|
239
|
+
expandRowKeys: PropType<string[]>;
|
|
240
|
+
defaultSort: PropType<import("element-plus").Sort>;
|
|
241
|
+
tooltipOptions: PropType<Partial<Pick<import("element-plus").ElTooltipProps, "showArrow" | "appendTo" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">>>;
|
|
242
|
+
spanMethod: PropType<(data: {
|
|
243
|
+
row: any;
|
|
244
|
+
rowIndex: number;
|
|
245
|
+
column: import("element-plus").TableColumnCtx<any>;
|
|
246
|
+
columnIndex: number;
|
|
247
|
+
}) => number[] | {
|
|
248
|
+
rowspan: number;
|
|
249
|
+
colspan: number;
|
|
250
|
+
} | undefined>;
|
|
251
|
+
treeProps: {
|
|
252
|
+
type: PropType<import("element-plus/es/components/table/src/table/defaults").TreeProps | undefined>;
|
|
253
|
+
default: () => {
|
|
254
|
+
hasChildren: string;
|
|
255
|
+
children: string;
|
|
256
|
+
checkStrictly: boolean;
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
260
|
+
stripe: BooleanConstructor;
|
|
261
|
+
showHeader: {
|
|
262
|
+
type: BooleanConstructor;
|
|
263
|
+
default: boolean;
|
|
264
|
+
};
|
|
265
|
+
showSummary: BooleanConstructor;
|
|
266
|
+
sumText: StringConstructor;
|
|
267
|
+
highlightCurrentRow: BooleanConstructor;
|
|
268
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
269
|
+
emptyText: StringConstructor;
|
|
270
|
+
defaultExpandAll: BooleanConstructor;
|
|
271
|
+
tooltipEffect: StringConstructor;
|
|
272
|
+
selectOnIndeterminate: {
|
|
273
|
+
type: BooleanConstructor;
|
|
274
|
+
default: boolean;
|
|
275
|
+
};
|
|
276
|
+
indent: {
|
|
277
|
+
type: NumberConstructor;
|
|
278
|
+
default: number;
|
|
279
|
+
};
|
|
280
|
+
lazy: BooleanConstructor;
|
|
281
|
+
tableLayout: {
|
|
282
|
+
type: PropType<"fixed" | "auto">;
|
|
283
|
+
default: string;
|
|
284
|
+
};
|
|
285
|
+
scrollbarAlwaysOn: BooleanConstructor;
|
|
286
|
+
flexible: BooleanConstructor;
|
|
287
|
+
appendFilterPanelTo: StringConstructor;
|
|
288
|
+
scrollbarTabindex: {
|
|
289
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
290
|
+
default: undefined;
|
|
291
|
+
};
|
|
292
|
+
defaultPageSize: NumberConstructor;
|
|
293
|
+
pageCount: NumberConstructor;
|
|
294
|
+
pagerCount: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 7, boolean>;
|
|
295
|
+
defaultCurrentPage: NumberConstructor;
|
|
296
|
+
pageSizes: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => number[]) | (() => number[]) | ((new (...args: any[]) => number[]) | (() => number[]))[], unknown, unknown, () => [10, 20, 30, 40, 50, 100], boolean>;
|
|
297
|
+
prevText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
298
|
+
prevIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown, () => any, boolean>;
|
|
299
|
+
nextText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
300
|
+
nextIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown, () => any, boolean>;
|
|
301
|
+
background: BooleanConstructor;
|
|
302
|
+
hideOnSinglePage: BooleanConstructor;
|
|
303
|
+
appendSizeTo: StringConstructor;
|
|
304
|
+
labelClassName: StringConstructor;
|
|
305
|
+
property: StringConstructor;
|
|
306
|
+
minWidth: {
|
|
307
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
308
|
+
default: string;
|
|
309
|
+
};
|
|
310
|
+
renderHeader: PropType<(data: {
|
|
311
|
+
column: import("element-plus").TableColumnCtx<any>;
|
|
312
|
+
$index: number;
|
|
313
|
+
}) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
314
|
+
[key: string]: any;
|
|
315
|
+
}>>;
|
|
316
|
+
sortable: {
|
|
317
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
318
|
+
default: boolean;
|
|
319
|
+
};
|
|
320
|
+
sortMethod: PropType<(a: any, b: any) => number>;
|
|
321
|
+
sortBy: PropType<string | string[] | ((row: any, index: number) => string)>;
|
|
322
|
+
resizable: {
|
|
323
|
+
type: BooleanConstructor;
|
|
324
|
+
default: boolean;
|
|
325
|
+
};
|
|
326
|
+
columnKey: StringConstructor;
|
|
327
|
+
showTooltipWhenOverflow: BooleanConstructor;
|
|
328
|
+
formatter: PropType<(row: any, column: import("element-plus").TableColumnCtx<any>, cellValue: any, index: number) => string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
329
|
+
[key: string]: any;
|
|
330
|
+
}>>;
|
|
331
|
+
selectable: PropType<(row: any, index: number) => boolean>;
|
|
332
|
+
reserveSelection: BooleanConstructor;
|
|
333
|
+
filterMethod: PropType<import("element-plus/es/components/table/src/table-column/defaults").FilterMethods<any>>;
|
|
334
|
+
filteredValue: PropType<string[]>;
|
|
335
|
+
filterPlacement: StringConstructor;
|
|
336
|
+
filterMultiple: {
|
|
337
|
+
type: BooleanConstructor;
|
|
338
|
+
default: boolean;
|
|
339
|
+
};
|
|
340
|
+
index: PropType<number | ((index: number) => number)>;
|
|
341
|
+
sortOrders: {
|
|
342
|
+
type: PropType<("ascending" | "descending" | null)[]>;
|
|
343
|
+
default: () => (string | null)[];
|
|
344
|
+
validator: (val: ("ascending" | "descending" | null)[]) => boolean;
|
|
345
|
+
};
|
|
346
|
+
};
|
|
347
|
+
export declare const emits: {
|
|
348
|
+
'update:modelValue': any;
|
|
349
|
+
'update:start': (val: number) => boolean;
|
|
350
|
+
select: null;
|
|
351
|
+
'select-all': null;
|
|
352
|
+
'selection-change': null;
|
|
353
|
+
'cell-mouse-enter': null;
|
|
354
|
+
'cell-mouse-leave': null;
|
|
355
|
+
'cell-contextmenu': null;
|
|
356
|
+
'cell-click': null;
|
|
357
|
+
'cell-dblclick': null;
|
|
358
|
+
'row-click': null;
|
|
359
|
+
'row-contextmenu': null;
|
|
360
|
+
'row-dblclick': null;
|
|
361
|
+
'header-click': null;
|
|
362
|
+
'header-contextmenu': null;
|
|
363
|
+
'sort-change': null;
|
|
364
|
+
'filter-change': null;
|
|
365
|
+
'current-change': null;
|
|
366
|
+
'header-dragend': null;
|
|
367
|
+
'expand-change': null;
|
|
368
|
+
scroll: null;
|
|
369
|
+
'update:current-page': (val: number) => boolean;
|
|
370
|
+
'update:page-size': (val: number) => boolean;
|
|
371
|
+
'size-change': (val: number) => boolean;
|
|
372
|
+
change: (currentPage: number, pageSize: number) => boolean;
|
|
373
|
+
'prev-click': (val: number) => boolean;
|
|
374
|
+
'next-click': (val: number) => boolean;
|
|
375
|
+
};
|