@silver-formily/element-plus 3.0.3 → 4.0.1
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.en-US.md +3 -1
- package/README.md +3 -1
- package/esm/autocomplete/index.d.ts +41 -1
- package/esm/cascader/index.d.ts +31 -1
- package/esm/checkbox/index.d.ts +819 -1
- package/esm/color-picker/index.d.ts +210 -1
- package/esm/color-picker-panel/index.d.ts +130 -1
- package/esm/date-picker/index.d.ts +447 -1
- package/esm/date-picker-panel/index.d.ts +147 -1
- package/esm/editable/index.d.ts +60 -1
- package/esm/form-item/index.d.ts +83 -1
- package/esm/form-layout/form-layout.vue.d.ts +2 -2
- package/esm/index.d.ts +3 -1
- package/esm/index.mjs +2 -1
- package/esm/input/index.d.ts +43 -1
- package/esm/input-number/index.d.ts +328 -1
- package/esm/input-tag/index.d.ts +26 -1
- package/esm/mention/index.d.ts +36 -1
- package/esm/password/index.d.ts +42 -1
- package/esm/picker-select/index.d.ts +47 -0
- package/esm/picker-select/index.mjs +14 -0
- package/esm/picker-select/index.mjs.map +1 -0
- package/esm/picker-select/picker-select.mjs +186 -0
- package/esm/picker-select/picker-select.mjs.map +1 -0
- package/esm/picker-select/types.d.ts +23 -0
- package/esm/query-form-item/index.d.ts +152 -1
- package/esm/radio/index.d.ts +76 -22
- package/esm/rate/index.d.ts +186 -1
- package/esm/segmented/index.d.ts +28 -1
- package/esm/select/index.d.ts +112 -1
- package/esm/select-table/index.d.ts +61 -1
- package/esm/select-table/types.d.ts +22 -0
- package/esm/slider/index.d.ts +178 -1
- package/esm/switch/index.d.ts +298 -1
- package/esm/time-picker/index.d.ts +446 -1
- package/esm/time-select/index.d.ts +188 -1
- package/esm/transfer/index.d.ts +268 -1
- package/esm/tree/index.d.ts +45 -1
- package/esm/tree/types.d.ts +18 -0
- package/esm/tree-select/index.d.ts +19 -1
- package/esm/upload/index.d.ts +129 -1
- package/package.json +4 -4
package/esm/transfer/index.d.ts
CHANGED
|
@@ -1,8 +1,275 @@
|
|
|
1
|
+
import * as _$element_plus0 from "element-plus";
|
|
1
2
|
import { ElTransfer } from "element-plus";
|
|
3
|
+
import * as _$vue from "vue";
|
|
4
|
+
import * as _$element_plus_es_utils_index_mjs0 from "element-plus/es/utils/index.mjs";
|
|
5
|
+
import * as _$element_plus_es_components_transfer_src_transfer_panel_mjs0 from "element-plus/es/components/transfer/src/transfer-panel.mjs";
|
|
2
6
|
|
|
3
7
|
//#region src/transfer/index.d.ts
|
|
4
8
|
type TransferProps = typeof ElTransfer;
|
|
5
|
-
declare const Transfer:
|
|
9
|
+
declare const Transfer: _$element_plus_es_utils_index_mjs0.SFCWithInstall<{
|
|
10
|
+
new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<_$vue.ExtractPropTypes<{
|
|
11
|
+
props: {
|
|
12
|
+
type: _$vue.PropType<_$element_plus0.TransferPropsAlias>;
|
|
13
|
+
default: () => {
|
|
14
|
+
label: string;
|
|
15
|
+
key: string;
|
|
16
|
+
disabled: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
modelValue: {
|
|
20
|
+
type: _$vue.PropType<_$element_plus0.TransferKey[]>;
|
|
21
|
+
default: () => never[];
|
|
22
|
+
};
|
|
23
|
+
data: {
|
|
24
|
+
type: _$vue.PropType<_$element_plus0.TransferDataItem[]>;
|
|
25
|
+
default: () => never[];
|
|
26
|
+
};
|
|
27
|
+
filterable: {
|
|
28
|
+
type: _$vue.PropType<boolean>;
|
|
29
|
+
};
|
|
30
|
+
filterMethod: {
|
|
31
|
+
type: _$vue.PropType<(query: string, item: _$element_plus0.TransferDataItem) => boolean>;
|
|
32
|
+
};
|
|
33
|
+
validateEvent: {
|
|
34
|
+
type: _$vue.PropType<boolean>;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
format: {
|
|
38
|
+
type: _$vue.PropType<_$element_plus0.TransferFormat>;
|
|
39
|
+
default: () => {};
|
|
40
|
+
};
|
|
41
|
+
titles: {
|
|
42
|
+
type: _$vue.PropType<[string, string]>;
|
|
43
|
+
default: () => [string, string];
|
|
44
|
+
};
|
|
45
|
+
buttonTexts: {
|
|
46
|
+
type: _$vue.PropType<[string, string]>;
|
|
47
|
+
default: () => [string, string];
|
|
48
|
+
};
|
|
49
|
+
filterPlaceholder: {
|
|
50
|
+
type: _$vue.PropType<string>;
|
|
51
|
+
};
|
|
52
|
+
leftDefaultChecked: {
|
|
53
|
+
type: _$vue.PropType<_$element_plus0.TransferKey[]>;
|
|
54
|
+
default: () => never[];
|
|
55
|
+
};
|
|
56
|
+
rightDefaultChecked: {
|
|
57
|
+
type: _$vue.PropType<_$element_plus0.TransferKey[]>;
|
|
58
|
+
default: () => never[];
|
|
59
|
+
};
|
|
60
|
+
renderContent: {
|
|
61
|
+
type: _$vue.PropType<_$element_plus0.renderContent>;
|
|
62
|
+
};
|
|
63
|
+
targetOrder: {
|
|
64
|
+
type: _$vue.PropType<"push" | "unshift" | "original">;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
}>> & {
|
|
68
|
+
"onUpdate:modelValue"?: ((value: _$element_plus0.TransferKey[]) => any) | undefined;
|
|
69
|
+
onChange?: ((value: _$element_plus0.TransferKey[], direction: _$element_plus0.TransferDirection, movedKeys: _$element_plus0.TransferKey[]) => any) | undefined;
|
|
70
|
+
"onLeft-check-change"?: ((value: _$element_plus0.TransferKey[], movedKeys?: _$element_plus0.TransferKey[] | undefined) => any) | undefined;
|
|
71
|
+
"onRight-check-change"?: ((value: _$element_plus0.TransferKey[], movedKeys?: _$element_plus0.TransferKey[] | undefined) => any) | undefined;
|
|
72
|
+
}, {
|
|
73
|
+
clearQuery: (which: _$element_plus0.TransferDirection) => void;
|
|
74
|
+
leftPanel: _$vue.Ref<_$element_plus_es_components_transfer_src_transfer_panel_mjs0.TransferPanelInstance | undefined>;
|
|
75
|
+
rightPanel: _$vue.Ref<_$element_plus_es_components_transfer_src_transfer_panel_mjs0.TransferPanelInstance | undefined>;
|
|
76
|
+
}, unknown, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
77
|
+
"update:modelValue": (value: _$element_plus0.TransferKey[]) => void;
|
|
78
|
+
change: (value: _$element_plus0.TransferKey[], direction: _$element_plus0.TransferDirection, movedKeys: _$element_plus0.TransferKey[]) => void;
|
|
79
|
+
"left-check-change": (value: _$element_plus0.TransferKey[], movedKeys?: _$element_plus0.TransferKey[] | undefined) => void;
|
|
80
|
+
"right-check-change": (value: _$element_plus0.TransferKey[], movedKeys?: _$element_plus0.TransferKey[] | undefined) => void;
|
|
81
|
+
}, _$vue.PublicProps, {
|
|
82
|
+
data: _$element_plus0.TransferDataItem[];
|
|
83
|
+
props: _$element_plus0.TransferPropsAlias;
|
|
84
|
+
titles: [string, string];
|
|
85
|
+
modelValue: _$element_plus0.TransferKey[];
|
|
86
|
+
format: _$element_plus0.TransferFormat;
|
|
87
|
+
validateEvent: boolean;
|
|
88
|
+
buttonTexts: [string, string];
|
|
89
|
+
leftDefaultChecked: _$element_plus0.TransferKey[];
|
|
90
|
+
rightDefaultChecked: _$element_plus0.TransferKey[];
|
|
91
|
+
targetOrder: "original" | "push" | "unshift";
|
|
92
|
+
}, true, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
|
|
93
|
+
P: {};
|
|
94
|
+
B: {};
|
|
95
|
+
D: {};
|
|
96
|
+
C: {};
|
|
97
|
+
M: {};
|
|
98
|
+
Defaults: {};
|
|
99
|
+
}, Readonly<_$vue.ExtractPropTypes<{
|
|
100
|
+
props: {
|
|
101
|
+
type: _$vue.PropType<_$element_plus0.TransferPropsAlias>;
|
|
102
|
+
default: () => {
|
|
103
|
+
label: string;
|
|
104
|
+
key: string;
|
|
105
|
+
disabled: string;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
modelValue: {
|
|
109
|
+
type: _$vue.PropType<_$element_plus0.TransferKey[]>;
|
|
110
|
+
default: () => never[];
|
|
111
|
+
};
|
|
112
|
+
data: {
|
|
113
|
+
type: _$vue.PropType<_$element_plus0.TransferDataItem[]>;
|
|
114
|
+
default: () => never[];
|
|
115
|
+
};
|
|
116
|
+
filterable: {
|
|
117
|
+
type: _$vue.PropType<boolean>;
|
|
118
|
+
};
|
|
119
|
+
filterMethod: {
|
|
120
|
+
type: _$vue.PropType<(query: string, item: _$element_plus0.TransferDataItem) => boolean>;
|
|
121
|
+
};
|
|
122
|
+
validateEvent: {
|
|
123
|
+
type: _$vue.PropType<boolean>;
|
|
124
|
+
default: boolean;
|
|
125
|
+
};
|
|
126
|
+
format: {
|
|
127
|
+
type: _$vue.PropType<_$element_plus0.TransferFormat>;
|
|
128
|
+
default: () => {};
|
|
129
|
+
};
|
|
130
|
+
titles: {
|
|
131
|
+
type: _$vue.PropType<[string, string]>;
|
|
132
|
+
default: () => [string, string];
|
|
133
|
+
};
|
|
134
|
+
buttonTexts: {
|
|
135
|
+
type: _$vue.PropType<[string, string]>;
|
|
136
|
+
default: () => [string, string];
|
|
137
|
+
};
|
|
138
|
+
filterPlaceholder: {
|
|
139
|
+
type: _$vue.PropType<string>;
|
|
140
|
+
};
|
|
141
|
+
leftDefaultChecked: {
|
|
142
|
+
type: _$vue.PropType<_$element_plus0.TransferKey[]>;
|
|
143
|
+
default: () => never[];
|
|
144
|
+
};
|
|
145
|
+
rightDefaultChecked: {
|
|
146
|
+
type: _$vue.PropType<_$element_plus0.TransferKey[]>;
|
|
147
|
+
default: () => never[];
|
|
148
|
+
};
|
|
149
|
+
renderContent: {
|
|
150
|
+
type: _$vue.PropType<_$element_plus0.renderContent>;
|
|
151
|
+
};
|
|
152
|
+
targetOrder: {
|
|
153
|
+
type: _$vue.PropType<"push" | "unshift" | "original">;
|
|
154
|
+
default: string;
|
|
155
|
+
};
|
|
156
|
+
}>> & {
|
|
157
|
+
"onUpdate:modelValue"?: ((value: _$element_plus0.TransferKey[]) => any) | undefined;
|
|
158
|
+
onChange?: ((value: _$element_plus0.TransferKey[], direction: _$element_plus0.TransferDirection, movedKeys: _$element_plus0.TransferKey[]) => any) | undefined;
|
|
159
|
+
"onLeft-check-change"?: ((value: _$element_plus0.TransferKey[], movedKeys?: _$element_plus0.TransferKey[] | undefined) => any) | undefined;
|
|
160
|
+
"onRight-check-change"?: ((value: _$element_plus0.TransferKey[], movedKeys?: _$element_plus0.TransferKey[] | undefined) => any) | undefined;
|
|
161
|
+
}, {
|
|
162
|
+
clearQuery: (which: _$element_plus0.TransferDirection) => void;
|
|
163
|
+
leftPanel: _$vue.Ref<_$element_plus_es_components_transfer_src_transfer_panel_mjs0.TransferPanelInstance | undefined>;
|
|
164
|
+
rightPanel: _$vue.Ref<_$element_plus_es_components_transfer_src_transfer_panel_mjs0.TransferPanelInstance | undefined>;
|
|
165
|
+
}, {}, {}, {}, {
|
|
166
|
+
data: _$element_plus0.TransferDataItem[];
|
|
167
|
+
props: _$element_plus0.TransferPropsAlias;
|
|
168
|
+
titles: [string, string];
|
|
169
|
+
modelValue: _$element_plus0.TransferKey[];
|
|
170
|
+
format: _$element_plus0.TransferFormat;
|
|
171
|
+
validateEvent: boolean;
|
|
172
|
+
buttonTexts: [string, string];
|
|
173
|
+
leftDefaultChecked: _$element_plus0.TransferKey[];
|
|
174
|
+
rightDefaultChecked: _$element_plus0.TransferKey[];
|
|
175
|
+
targetOrder: "original" | "push" | "unshift";
|
|
176
|
+
}>;
|
|
177
|
+
__isFragment?: never;
|
|
178
|
+
__isTeleport?: never;
|
|
179
|
+
__isSuspense?: never;
|
|
180
|
+
} & _$vue.ComponentOptionsBase<Readonly<_$vue.ExtractPropTypes<{
|
|
181
|
+
props: {
|
|
182
|
+
type: _$vue.PropType<_$element_plus0.TransferPropsAlias>;
|
|
183
|
+
default: () => {
|
|
184
|
+
label: string;
|
|
185
|
+
key: string;
|
|
186
|
+
disabled: string;
|
|
187
|
+
};
|
|
188
|
+
};
|
|
189
|
+
modelValue: {
|
|
190
|
+
type: _$vue.PropType<_$element_plus0.TransferKey[]>;
|
|
191
|
+
default: () => never[];
|
|
192
|
+
};
|
|
193
|
+
data: {
|
|
194
|
+
type: _$vue.PropType<_$element_plus0.TransferDataItem[]>;
|
|
195
|
+
default: () => never[];
|
|
196
|
+
};
|
|
197
|
+
filterable: {
|
|
198
|
+
type: _$vue.PropType<boolean>;
|
|
199
|
+
};
|
|
200
|
+
filterMethod: {
|
|
201
|
+
type: _$vue.PropType<(query: string, item: _$element_plus0.TransferDataItem) => boolean>;
|
|
202
|
+
};
|
|
203
|
+
validateEvent: {
|
|
204
|
+
type: _$vue.PropType<boolean>;
|
|
205
|
+
default: boolean;
|
|
206
|
+
};
|
|
207
|
+
format: {
|
|
208
|
+
type: _$vue.PropType<_$element_plus0.TransferFormat>;
|
|
209
|
+
default: () => {};
|
|
210
|
+
};
|
|
211
|
+
titles: {
|
|
212
|
+
type: _$vue.PropType<[string, string]>;
|
|
213
|
+
default: () => [string, string];
|
|
214
|
+
};
|
|
215
|
+
buttonTexts: {
|
|
216
|
+
type: _$vue.PropType<[string, string]>;
|
|
217
|
+
default: () => [string, string];
|
|
218
|
+
};
|
|
219
|
+
filterPlaceholder: {
|
|
220
|
+
type: _$vue.PropType<string>;
|
|
221
|
+
};
|
|
222
|
+
leftDefaultChecked: {
|
|
223
|
+
type: _$vue.PropType<_$element_plus0.TransferKey[]>;
|
|
224
|
+
default: () => never[];
|
|
225
|
+
};
|
|
226
|
+
rightDefaultChecked: {
|
|
227
|
+
type: _$vue.PropType<_$element_plus0.TransferKey[]>;
|
|
228
|
+
default: () => never[];
|
|
229
|
+
};
|
|
230
|
+
renderContent: {
|
|
231
|
+
type: _$vue.PropType<_$element_plus0.renderContent>;
|
|
232
|
+
};
|
|
233
|
+
targetOrder: {
|
|
234
|
+
type: _$vue.PropType<"push" | "unshift" | "original">;
|
|
235
|
+
default: string;
|
|
236
|
+
};
|
|
237
|
+
}>> & {
|
|
238
|
+
"onUpdate:modelValue"?: ((value: _$element_plus0.TransferKey[]) => any) | undefined;
|
|
239
|
+
onChange?: ((value: _$element_plus0.TransferKey[], direction: _$element_plus0.TransferDirection, movedKeys: _$element_plus0.TransferKey[]) => any) | undefined;
|
|
240
|
+
"onLeft-check-change"?: ((value: _$element_plus0.TransferKey[], movedKeys?: _$element_plus0.TransferKey[] | undefined) => any) | undefined;
|
|
241
|
+
"onRight-check-change"?: ((value: _$element_plus0.TransferKey[], movedKeys?: _$element_plus0.TransferKey[] | undefined) => any) | undefined;
|
|
242
|
+
}, {
|
|
243
|
+
clearQuery: (which: _$element_plus0.TransferDirection) => void;
|
|
244
|
+
leftPanel: _$vue.Ref<_$element_plus_es_components_transfer_src_transfer_panel_mjs0.TransferPanelInstance | undefined>;
|
|
245
|
+
rightPanel: _$vue.Ref<_$element_plus_es_components_transfer_src_transfer_panel_mjs0.TransferPanelInstance | undefined>;
|
|
246
|
+
}, unknown, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
247
|
+
"update:modelValue": (value: _$element_plus0.TransferKey[]) => void;
|
|
248
|
+
change: (value: _$element_plus0.TransferKey[], direction: _$element_plus0.TransferDirection, movedKeys: _$element_plus0.TransferKey[]) => void;
|
|
249
|
+
"left-check-change": (value: _$element_plus0.TransferKey[], movedKeys?: _$element_plus0.TransferKey[] | undefined) => void;
|
|
250
|
+
"right-check-change": (value: _$element_plus0.TransferKey[], movedKeys?: _$element_plus0.TransferKey[] | undefined) => void;
|
|
251
|
+
}, string, {
|
|
252
|
+
data: _$element_plus0.TransferDataItem[];
|
|
253
|
+
props: _$element_plus0.TransferPropsAlias;
|
|
254
|
+
titles: [string, string];
|
|
255
|
+
modelValue: _$element_plus0.TransferKey[];
|
|
256
|
+
format: _$element_plus0.TransferFormat;
|
|
257
|
+
validateEvent: boolean;
|
|
258
|
+
buttonTexts: [string, string];
|
|
259
|
+
leftDefaultChecked: _$element_plus0.TransferKey[];
|
|
260
|
+
rightDefaultChecked: _$element_plus0.TransferKey[];
|
|
261
|
+
targetOrder: "original" | "push" | "unshift";
|
|
262
|
+
}, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
|
|
263
|
+
$slots: {
|
|
264
|
+
'left-empty'?: (props: {}) => any;
|
|
265
|
+
} & {
|
|
266
|
+
'left-footer'?: (props: {}) => any;
|
|
267
|
+
} & {
|
|
268
|
+
'right-empty'?: (props: {}) => any;
|
|
269
|
+
} & {
|
|
270
|
+
'right-footer'?: (props: {}) => any;
|
|
271
|
+
};
|
|
272
|
+
})>;
|
|
6
273
|
//#endregion
|
|
7
274
|
export { Transfer, TransferProps };
|
|
8
275
|
//# sourceMappingURL=index.d.ts.map
|
package/esm/tree/index.d.ts
CHANGED
|
@@ -1,5 +1,49 @@
|
|
|
1
|
+
import { TreeValueTypeProps } from "./types.js";
|
|
2
|
+
import * as _$vue from "vue";
|
|
3
|
+
|
|
1
4
|
//#region src/tree/index.d.ts
|
|
2
|
-
declare const Tree:
|
|
5
|
+
declare const Tree: {
|
|
6
|
+
new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<TreeValueTypeProps> & Readonly<{
|
|
7
|
+
"onUpdate:modelValue"?: (value: any) => any;
|
|
8
|
+
}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
9
|
+
"update:modelValue": (value: any) => any;
|
|
10
|
+
}, _$vue.PublicProps, {
|
|
11
|
+
props: any;
|
|
12
|
+
valueType: "all" | "parent" | "child" | "path";
|
|
13
|
+
optionAsValue: boolean;
|
|
14
|
+
includeHalfChecked: boolean;
|
|
15
|
+
}, false, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
|
|
16
|
+
P: {};
|
|
17
|
+
B: {};
|
|
18
|
+
D: {};
|
|
19
|
+
C: {};
|
|
20
|
+
M: {};
|
|
21
|
+
Defaults: {};
|
|
22
|
+
}, Readonly<TreeValueTypeProps> & Readonly<{
|
|
23
|
+
"onUpdate:modelValue"?: (value: any) => any;
|
|
24
|
+
}>, {}, {}, {}, {}, {
|
|
25
|
+
props: any;
|
|
26
|
+
valueType: "all" | "parent" | "child" | "path";
|
|
27
|
+
optionAsValue: boolean;
|
|
28
|
+
includeHalfChecked: boolean;
|
|
29
|
+
}>;
|
|
30
|
+
__isFragment?: never;
|
|
31
|
+
__isTeleport?: never;
|
|
32
|
+
__isSuspense?: never;
|
|
33
|
+
} & _$vue.ComponentOptionsBase<Readonly<TreeValueTypeProps> & Readonly<{
|
|
34
|
+
"onUpdate:modelValue"?: (value: any) => any;
|
|
35
|
+
}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
36
|
+
"update:modelValue": (value: any) => any;
|
|
37
|
+
}, string, {
|
|
38
|
+
props: any;
|
|
39
|
+
valueType: "all" | "parent" | "child" | "path";
|
|
40
|
+
optionAsValue: boolean;
|
|
41
|
+
includeHalfChecked: boolean;
|
|
42
|
+
}, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
|
|
43
|
+
$slots: {
|
|
44
|
+
[x: string]: (props: any) => any;
|
|
45
|
+
};
|
|
46
|
+
});
|
|
3
47
|
//#endregion
|
|
4
48
|
export { Tree };
|
|
5
49
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { TreeNodeData } from "element-plus";
|
|
2
|
+
|
|
3
|
+
//#region src/tree/types.d.ts
|
|
4
|
+
interface TreeValueTypeProps {
|
|
5
|
+
nodeKey: string;
|
|
6
|
+
data?: TreeNodeData[];
|
|
7
|
+
modelValue?: any;
|
|
8
|
+
valueType?: 'all' | 'parent' | 'child' | 'path';
|
|
9
|
+
includeHalfChecked?: boolean;
|
|
10
|
+
optionAsValue?: boolean;
|
|
11
|
+
props?: any;
|
|
12
|
+
optionFormatter?: (node: TreeNodeData, index: number, array: TreeNodeData[]) => TreeNodeData;
|
|
13
|
+
height?: number;
|
|
14
|
+
maxHeight?: number;
|
|
15
|
+
}
|
|
16
|
+
//#endregion
|
|
17
|
+
export { TreeValueTypeProps };
|
|
18
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1,5 +1,23 @@
|
|
|
1
|
+
import * as _$vue from "vue";
|
|
2
|
+
|
|
1
3
|
//#region src/tree-select/index.d.ts
|
|
2
|
-
declare const TreeSelect:
|
|
4
|
+
declare const TreeSelect: {
|
|
5
|
+
new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, _$vue.PublicProps, {}, true, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
|
|
6
|
+
P: {};
|
|
7
|
+
B: {};
|
|
8
|
+
D: {};
|
|
9
|
+
C: {};
|
|
10
|
+
M: {};
|
|
11
|
+
Defaults: {};
|
|
12
|
+
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
13
|
+
__isFragment?: never;
|
|
14
|
+
__isTeleport?: never;
|
|
15
|
+
__isSuspense?: never;
|
|
16
|
+
} & _$vue.ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, {}, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
|
|
17
|
+
$slots: {
|
|
18
|
+
[x: string]: (props: any) => any;
|
|
19
|
+
};
|
|
20
|
+
});
|
|
3
21
|
//#endregion
|
|
4
22
|
export { TreeSelect };
|
|
5
23
|
//# sourceMappingURL=index.d.ts.map
|
package/esm/upload/index.d.ts
CHANGED
|
@@ -1,5 +1,133 @@
|
|
|
1
|
+
import * as _$element_plus0 from "element-plus";
|
|
2
|
+
import * as _$vue from "vue";
|
|
3
|
+
|
|
1
4
|
//#region src/upload/index.d.ts
|
|
2
|
-
declare const Upload:
|
|
5
|
+
declare const Upload: {
|
|
6
|
+
new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<_$vue.ExtractPropTypes<{
|
|
7
|
+
textContent: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
errorAdaptor: {
|
|
12
|
+
type: _$vue.PropType<(error?: Error) => string>;
|
|
13
|
+
default: (error?: Error) => string;
|
|
14
|
+
};
|
|
15
|
+
formatValue: {
|
|
16
|
+
type: _$vue.PropType<(fileList?: _$element_plus0.UploadFile[]) => any>;
|
|
17
|
+
default: (item: any) => any;
|
|
18
|
+
};
|
|
19
|
+
fileList: {
|
|
20
|
+
type: _$vue.PropType<_$element_plus0.UploadFile[]>;
|
|
21
|
+
default: () => any[];
|
|
22
|
+
};
|
|
23
|
+
imageViewerProps: {
|
|
24
|
+
type: _$vue.PropType<_$element_plus0.ImageViewerProps>;
|
|
25
|
+
default: () => {
|
|
26
|
+
teleported: boolean;
|
|
27
|
+
showProgress: boolean;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
}>> & Readonly<{
|
|
31
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
32
|
+
}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
33
|
+
"update:modelValue": (...args: any[]) => void;
|
|
34
|
+
}, _$vue.PublicProps, {
|
|
35
|
+
textContent: string;
|
|
36
|
+
errorAdaptor: (error?: Error) => string;
|
|
37
|
+
formatValue: (fileList?: _$element_plus0.UploadFile[]) => any;
|
|
38
|
+
fileList: _$element_plus0.UploadFile[];
|
|
39
|
+
imageViewerProps: _$element_plus0.ImageViewerProps;
|
|
40
|
+
}, true, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
|
|
41
|
+
P: {};
|
|
42
|
+
B: {};
|
|
43
|
+
D: {};
|
|
44
|
+
C: {};
|
|
45
|
+
M: {};
|
|
46
|
+
Defaults: {};
|
|
47
|
+
}, Readonly<_$vue.ExtractPropTypes<{
|
|
48
|
+
textContent: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
errorAdaptor: {
|
|
53
|
+
type: _$vue.PropType<(error?: Error) => string>;
|
|
54
|
+
default: (error?: Error) => string;
|
|
55
|
+
};
|
|
56
|
+
formatValue: {
|
|
57
|
+
type: _$vue.PropType<(fileList?: _$element_plus0.UploadFile[]) => any>;
|
|
58
|
+
default: (item: any) => any;
|
|
59
|
+
};
|
|
60
|
+
fileList: {
|
|
61
|
+
type: _$vue.PropType<_$element_plus0.UploadFile[]>;
|
|
62
|
+
default: () => any[];
|
|
63
|
+
};
|
|
64
|
+
imageViewerProps: {
|
|
65
|
+
type: _$vue.PropType<_$element_plus0.ImageViewerProps>;
|
|
66
|
+
default: () => {
|
|
67
|
+
teleported: boolean;
|
|
68
|
+
showProgress: boolean;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
}>> & Readonly<{
|
|
72
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
73
|
+
}>, {}, {}, {}, {}, {
|
|
74
|
+
textContent: string;
|
|
75
|
+
errorAdaptor: (error?: Error) => string;
|
|
76
|
+
formatValue: (fileList?: _$element_plus0.UploadFile[]) => any;
|
|
77
|
+
fileList: _$element_plus0.UploadFile[];
|
|
78
|
+
imageViewerProps: _$element_plus0.ImageViewerProps;
|
|
79
|
+
}>;
|
|
80
|
+
__isFragment?: never;
|
|
81
|
+
__isTeleport?: never;
|
|
82
|
+
__isSuspense?: never;
|
|
83
|
+
} & _$vue.ComponentOptionsBase<Readonly<_$vue.ExtractPropTypes<{
|
|
84
|
+
textContent: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
default: string;
|
|
87
|
+
};
|
|
88
|
+
errorAdaptor: {
|
|
89
|
+
type: _$vue.PropType<(error?: Error) => string>;
|
|
90
|
+
default: (error?: Error) => string;
|
|
91
|
+
};
|
|
92
|
+
formatValue: {
|
|
93
|
+
type: _$vue.PropType<(fileList?: _$element_plus0.UploadFile[]) => any>;
|
|
94
|
+
default: (item: any) => any;
|
|
95
|
+
};
|
|
96
|
+
fileList: {
|
|
97
|
+
type: _$vue.PropType<_$element_plus0.UploadFile[]>;
|
|
98
|
+
default: () => any[];
|
|
99
|
+
};
|
|
100
|
+
imageViewerProps: {
|
|
101
|
+
type: _$vue.PropType<_$element_plus0.ImageViewerProps>;
|
|
102
|
+
default: () => {
|
|
103
|
+
teleported: boolean;
|
|
104
|
+
showProgress: boolean;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
}>> & Readonly<{
|
|
108
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
109
|
+
}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
110
|
+
"update:modelValue": (...args: any[]) => void;
|
|
111
|
+
}, string, {
|
|
112
|
+
textContent: string;
|
|
113
|
+
errorAdaptor: (error?: Error) => string;
|
|
114
|
+
formatValue: (fileList?: _$element_plus0.UploadFile[]) => any;
|
|
115
|
+
fileList: _$element_plus0.UploadFile[];
|
|
116
|
+
imageViewerProps: _$element_plus0.ImageViewerProps;
|
|
117
|
+
}, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
|
|
118
|
+
$slots: {
|
|
119
|
+
default?: (props: {}) => any;
|
|
120
|
+
} & {
|
|
121
|
+
file?: (props: {
|
|
122
|
+
file: _$element_plus0.UploadFile;
|
|
123
|
+
index: number;
|
|
124
|
+
}) => any;
|
|
125
|
+
} & {
|
|
126
|
+
tip?: (props: {}) => any;
|
|
127
|
+
} & {
|
|
128
|
+
trigger?: (props: {}) => any;
|
|
129
|
+
};
|
|
130
|
+
});
|
|
3
131
|
//#endregion
|
|
4
132
|
export { Upload };
|
|
5
133
|
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silver-formily/element-plus",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "4.0.1",
|
|
5
5
|
"description": "Formily 的 Element Plus 封装",
|
|
6
6
|
"author": "hezhengxu",
|
|
7
7
|
"license": "MIT",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@silver-formily/reactive-vue": "^1.1.0",
|
|
45
45
|
"@silver-formily/vue": "^2.3.1",
|
|
46
46
|
"@vueuse/core": "*",
|
|
47
|
-
"element-plus": "^2.
|
|
47
|
+
"element-plus": "^2.11.0",
|
|
48
48
|
"vue": "^3.3.0"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
@@ -72,9 +72,9 @@
|
|
|
72
72
|
"vue": "^3.5.27",
|
|
73
73
|
"vue-tsc": "^3.2.6",
|
|
74
74
|
"@silver-formily/grid": "1.0.2",
|
|
75
|
-
"@silver-formily/reactive-vue": "1.1.1",
|
|
76
75
|
"@silver-formily/typescript-config": "0.0.0",
|
|
77
|
-
"@silver-formily/vue": "2.3.4"
|
|
76
|
+
"@silver-formily/vue": "2.3.4",
|
|
77
|
+
"@silver-formily/reactive-vue": "1.1.1"
|
|
78
78
|
},
|
|
79
79
|
"scripts": {
|
|
80
80
|
"build": "tsdown --tsconfig tsconfig.build.json",
|