@silver-formily/element-plus 5.0.0 → 5.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/esm/autocomplete/index.d.ts +1 -40
- package/esm/cascader/index.d.ts +1 -31
- package/esm/checkbox/index.d.ts +1 -819
- package/esm/color-picker/index.d.ts +1 -210
- package/esm/color-picker-panel/index.d.ts +1 -130
- package/esm/date-picker/index.d.ts +1 -447
- package/esm/date-picker-panel/index.d.ts +1 -147
- package/esm/editable/index.d.ts +1 -60
- package/esm/form-item/index.d.ts +1 -83
- package/esm/form-layout/form-layout.vue.d.ts +2 -2
- package/esm/input/index.d.ts +1 -43
- package/esm/input-number/index.d.ts +1 -328
- package/esm/input-tag/index.d.ts +1 -25
- package/esm/mention/index.d.ts +1 -35
- package/esm/password/index.d.ts +1 -42
- package/esm/picker-select/index.d.ts +1 -41
- package/esm/query-form-item/index.d.ts +1 -152
- package/esm/radio/index.d.ts +58 -112
- package/esm/rate/index.d.ts +1 -186
- package/esm/segmented/index.d.ts +1 -28
- package/esm/select/index.d.ts +1 -112
- package/esm/select-table/index.d.ts +1 -61
- package/esm/slider/index.d.ts +1 -178
- package/esm/switch/index.d.ts +1 -298
- package/esm/time-picker/index.d.ts +1 -446
- package/esm/time-select/index.d.ts +1 -188
- package/esm/transfer/index.d.ts +1 -268
- package/esm/tree/index.d.ts +1 -45
- package/esm/tree-select/index.d.ts +1 -19
- package/esm/upload/index.d.ts +1 -129
- package/package.json +10 -10
- package/esm/select-table/types.d.ts +0 -22
- package/esm/tree/types.d.ts +0 -18
package/esm/transfer/index.d.ts
CHANGED
|
@@ -1,275 +1,8 @@
|
|
|
1
|
-
import * as _$element_plus0 from "element-plus";
|
|
2
1
|
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";
|
|
6
2
|
|
|
7
3
|
//#region src/transfer/index.d.ts
|
|
8
4
|
type TransferProps = typeof ElTransfer;
|
|
9
|
-
declare const Transfer:
|
|
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
|
-
data: {
|
|
20
|
-
type: _$vue.PropType<_$element_plus0.TransferDataItem[]>;
|
|
21
|
-
default: () => never[];
|
|
22
|
-
};
|
|
23
|
-
modelValue: {
|
|
24
|
-
type: _$vue.PropType<_$element_plus0.TransferKey[]>;
|
|
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
|
-
data: {
|
|
109
|
-
type: _$vue.PropType<_$element_plus0.TransferDataItem[]>;
|
|
110
|
-
default: () => never[];
|
|
111
|
-
};
|
|
112
|
-
modelValue: {
|
|
113
|
-
type: _$vue.PropType<_$element_plus0.TransferKey[]>;
|
|
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
|
-
data: {
|
|
190
|
-
type: _$vue.PropType<_$element_plus0.TransferDataItem[]>;
|
|
191
|
-
default: () => never[];
|
|
192
|
-
};
|
|
193
|
-
modelValue: {
|
|
194
|
-
type: _$vue.PropType<_$element_plus0.TransferKey[]>;
|
|
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
|
-
})>;
|
|
5
|
+
declare const Transfer: any;
|
|
273
6
|
//#endregion
|
|
274
7
|
export { Transfer, TransferProps };
|
|
275
8
|
//# sourceMappingURL=index.d.ts.map
|
package/esm/tree/index.d.ts
CHANGED
|
@@ -1,49 +1,5 @@
|
|
|
1
|
-
import { TreeValueTypeProps } from "./types.js";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
|
-
|
|
4
1
|
//#region src/tree/index.d.ts
|
|
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
|
-
});
|
|
2
|
+
declare const Tree: any;
|
|
47
3
|
//#endregion
|
|
48
4
|
export { Tree };
|
|
49
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,23 +1,5 @@
|
|
|
1
|
-
import * as _$vue from "vue";
|
|
2
|
-
|
|
3
1
|
//#region src/tree-select/index.d.ts
|
|
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
|
-
});
|
|
2
|
+
declare const TreeSelect: any;
|
|
21
3
|
//#endregion
|
|
22
4
|
export { TreeSelect };
|
|
23
5
|
//# sourceMappingURL=index.d.ts.map
|
package/esm/upload/index.d.ts
CHANGED
|
@@ -1,133 +1,5 @@
|
|
|
1
|
-
import * as _$element_plus0 from "element-plus";
|
|
2
|
-
import * as _$vue from "vue";
|
|
3
|
-
|
|
4
1
|
//#region src/upload/index.d.ts
|
|
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
|
-
});
|
|
2
|
+
declare const Upload: any;
|
|
131
3
|
//#endregion
|
|
132
4
|
export { Upload };
|
|
133
5
|
//# 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": "5.0.
|
|
4
|
+
"version": "5.0.1",
|
|
5
5
|
"description": "Element Plus bindings for Silver Formily",
|
|
6
6
|
"author": "hezhengxu",
|
|
7
7
|
"license": "MIT",
|
|
@@ -39,13 +39,13 @@
|
|
|
39
39
|
"@vueuse/core": "*",
|
|
40
40
|
"element-plus": "^2.11.0",
|
|
41
41
|
"vue": "^3.3.0",
|
|
42
|
-
"@silver-formily/
|
|
43
|
-
"@silver-formily/json-schema": "1.0.
|
|
42
|
+
"@silver-formily/core": "1.0.1",
|
|
43
|
+
"@silver-formily/json-schema": "1.0.1",
|
|
44
44
|
"@silver-formily/reactive": "1.0.0",
|
|
45
45
|
"@silver-formily/shared": "1.0.0",
|
|
46
|
-
"@silver-formily/
|
|
47
|
-
"@silver-formily/
|
|
48
|
-
"@silver-formily/vue": "
|
|
46
|
+
"@silver-formily/grid": "2.0.0",
|
|
47
|
+
"@silver-formily/vue": "3.0.1",
|
|
48
|
+
"@silver-formily/reactive-vue": "2.0.0"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@element-plus/icons-vue": "^2.3.2",
|
|
@@ -71,14 +71,14 @@
|
|
|
71
71
|
"vitest-browser-vue": "^2.0.2",
|
|
72
72
|
"vue": "^3.5.27",
|
|
73
73
|
"vue-tsc": "^3.2.6",
|
|
74
|
-
"@silver-formily/core": "1.0.
|
|
74
|
+
"@silver-formily/core": "1.0.1",
|
|
75
75
|
"@silver-formily/grid": "2.0.0",
|
|
76
|
-
"@silver-formily/json-schema": "1.0.
|
|
76
|
+
"@silver-formily/json-schema": "1.0.1",
|
|
77
77
|
"@silver-formily/reactive-vue": "2.0.0",
|
|
78
78
|
"@silver-formily/reactive": "1.0.0",
|
|
79
|
-
"@silver-formily/shared": "1.0.0",
|
|
80
79
|
"@silver-formily/typescript-config": "0.0.0",
|
|
81
|
-
"@silver-formily/
|
|
80
|
+
"@silver-formily/shared": "1.0.0",
|
|
81
|
+
"@silver-formily/vue": "3.0.1"
|
|
82
82
|
},
|
|
83
83
|
"scripts": {
|
|
84
84
|
"build": "tsdown --tsconfig tsconfig.build.json",
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Column } from "element-plus";
|
|
2
|
-
import { GeneralField } from "@silver-formily/core";
|
|
3
|
-
|
|
4
|
-
//#region src/select-table/types.d.ts
|
|
5
|
-
interface ISelectTableProps {
|
|
6
|
-
columns?: Column<any>[];
|
|
7
|
-
mode?: 'multiple' | 'single';
|
|
8
|
-
dataSource?: any[];
|
|
9
|
-
optionAsValue?: boolean;
|
|
10
|
-
valueType?: 'all' | 'parent' | 'child' | 'path';
|
|
11
|
-
loading?: boolean;
|
|
12
|
-
rowKey: string;
|
|
13
|
-
clickRowToSelect?: boolean;
|
|
14
|
-
showAlertToolbar?: boolean;
|
|
15
|
-
modelValue?: any;
|
|
16
|
-
data?: Record<string, any>[];
|
|
17
|
-
selectable?: (row: Record<string, any>, index: number, field: GeneralField) => boolean;
|
|
18
|
-
ignoreSelectable?: boolean;
|
|
19
|
-
}
|
|
20
|
-
//#endregion
|
|
21
|
-
export { ISelectTableProps };
|
|
22
|
-
//# sourceMappingURL=types.d.ts.map
|
package/esm/tree/types.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
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
|