@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.
Files changed (42) hide show
  1. package/README.en-US.md +3 -1
  2. package/README.md +3 -1
  3. package/esm/autocomplete/index.d.ts +41 -1
  4. package/esm/cascader/index.d.ts +31 -1
  5. package/esm/checkbox/index.d.ts +819 -1
  6. package/esm/color-picker/index.d.ts +210 -1
  7. package/esm/color-picker-panel/index.d.ts +130 -1
  8. package/esm/date-picker/index.d.ts +447 -1
  9. package/esm/date-picker-panel/index.d.ts +147 -1
  10. package/esm/editable/index.d.ts +60 -1
  11. package/esm/form-item/index.d.ts +83 -1
  12. package/esm/form-layout/form-layout.vue.d.ts +2 -2
  13. package/esm/index.d.ts +3 -1
  14. package/esm/index.mjs +2 -1
  15. package/esm/input/index.d.ts +43 -1
  16. package/esm/input-number/index.d.ts +328 -1
  17. package/esm/input-tag/index.d.ts +26 -1
  18. package/esm/mention/index.d.ts +36 -1
  19. package/esm/password/index.d.ts +42 -1
  20. package/esm/picker-select/index.d.ts +47 -0
  21. package/esm/picker-select/index.mjs +14 -0
  22. package/esm/picker-select/index.mjs.map +1 -0
  23. package/esm/picker-select/picker-select.mjs +186 -0
  24. package/esm/picker-select/picker-select.mjs.map +1 -0
  25. package/esm/picker-select/types.d.ts +23 -0
  26. package/esm/query-form-item/index.d.ts +152 -1
  27. package/esm/radio/index.d.ts +76 -22
  28. package/esm/rate/index.d.ts +186 -1
  29. package/esm/segmented/index.d.ts +28 -1
  30. package/esm/select/index.d.ts +112 -1
  31. package/esm/select-table/index.d.ts +61 -1
  32. package/esm/select-table/types.d.ts +22 -0
  33. package/esm/slider/index.d.ts +178 -1
  34. package/esm/switch/index.d.ts +298 -1
  35. package/esm/time-picker/index.d.ts +446 -1
  36. package/esm/time-select/index.d.ts +188 -1
  37. package/esm/transfer/index.d.ts +268 -1
  38. package/esm/tree/index.d.ts +45 -1
  39. package/esm/tree/types.d.ts +18 -0
  40. package/esm/tree-select/index.d.ts +19 -1
  41. package/esm/upload/index.d.ts +129 -1
  42. package/package.json +4 -4
@@ -1,8 +1,217 @@
1
1
  import { ElColorPicker } from "element-plus";
2
+ import * as _$vue from "vue";
3
+ import * as _$element_plus_es_components_color_picker_panel_src_utils_color_mjs0 from "element-plus/es/components/color-picker-panel/src/utils/color.mjs";
4
+ import * as _$element_plus_es_utils_index_mjs0 from "element-plus/es/utils/index.mjs";
2
5
 
3
6
  //#region src/color-picker/index.d.ts
4
7
  type ColorPickerProps = typeof ElColorPicker;
5
- declare const ColorPicker: any;
8
+ declare const ColorPicker: _$element_plus_es_utils_index_mjs0.SFCWithInstall<_$vue.DefineComponent<{
9
+ modelValue: {
10
+ type: _$vue.PropType<string>;
11
+ default: undefined;
12
+ };
13
+ disabled: {
14
+ type: _$vue.PropType<boolean>;
15
+ default: undefined;
16
+ };
17
+ size: {
18
+ type: _$vue.PropType<"" | "default" | "small" | "large">;
19
+ };
20
+ popperClass: {
21
+ type: _$vue.PropType<string | {
22
+ [x: string]: boolean;
23
+ } | (string | {
24
+ [x: string]: boolean;
25
+ } | (string | {
26
+ [x: string]: boolean;
27
+ } | (string | {
28
+ [x: string]: boolean;
29
+ } | (string | {
30
+ [x: string]: boolean;
31
+ } | (string | {
32
+ [x: string]: boolean;
33
+ } | (string | {
34
+ [x: string]: boolean;
35
+ } | (string | {
36
+ [x: string]: boolean;
37
+ } | (string | {
38
+ [x: string]: boolean;
39
+ } | (string | {
40
+ [x: string]: boolean;
41
+ } | (string | {
42
+ [x: string]: boolean;
43
+ } | (string | {
44
+ [x: string]: boolean;
45
+ } | /*elided*/any)[])[])[])[])[])[])[])[])[])[])[]>;
46
+ };
47
+ popperStyle: {
48
+ type: _$vue.PropType<_$vue.StyleValue>;
49
+ default: undefined;
50
+ };
51
+ teleported: {
52
+ type: _$vue.PropType<boolean>;
53
+ default: true;
54
+ };
55
+ clearable: {
56
+ type: _$vue.PropType<boolean>;
57
+ default: true;
58
+ };
59
+ validateEvent: {
60
+ type: _$vue.PropType<boolean>;
61
+ default: true;
62
+ };
63
+ persistent: {
64
+ type: _$vue.PropType<boolean>;
65
+ default: true;
66
+ };
67
+ emptyValues: {
68
+ type: _$vue.PropType<unknown[]>;
69
+ };
70
+ valueOnClear: {
71
+ type: _$vue.PropType<string | number | boolean | Function>;
72
+ default: undefined;
73
+ };
74
+ ariaLabel: {
75
+ type: _$vue.PropType<string>;
76
+ };
77
+ id: {
78
+ type: _$vue.PropType<string>;
79
+ };
80
+ tabindex: {
81
+ type: _$vue.PropType<string | number>;
82
+ default: 0;
83
+ };
84
+ showAlpha: {
85
+ type: _$vue.PropType<boolean>;
86
+ };
87
+ colorFormat: {
88
+ type: _$vue.PropType<string>;
89
+ };
90
+ appendTo: {
91
+ type: _$vue.PropType<string | HTMLElement>;
92
+ };
93
+ predefine: {
94
+ type: _$vue.PropType<string[]>;
95
+ };
96
+ }, {
97
+ color: _$element_plus_es_components_color_picker_panel_src_utils_color_mjs0.default;
98
+ show: () => void;
99
+ hide: () => void;
100
+ focus: () => void;
101
+ blur: () => void;
102
+ }, unknown, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
103
+ focus: (evt: FocusEvent) => void;
104
+ "update:modelValue": (val: string | null) => void;
105
+ change: (val: string | null) => void;
106
+ clear: () => void;
107
+ blur: (evt: FocusEvent) => void;
108
+ activeChange: (val: string | null) => void;
109
+ }, string, _$vue.PublicProps, Readonly<_$vue.ExtractPropTypes<{
110
+ modelValue: {
111
+ type: _$vue.PropType<string>;
112
+ default: undefined;
113
+ };
114
+ disabled: {
115
+ type: _$vue.PropType<boolean>;
116
+ default: undefined;
117
+ };
118
+ size: {
119
+ type: _$vue.PropType<"" | "default" | "small" | "large">;
120
+ };
121
+ popperClass: {
122
+ type: _$vue.PropType<string | {
123
+ [x: string]: boolean;
124
+ } | (string | {
125
+ [x: string]: boolean;
126
+ } | (string | {
127
+ [x: string]: boolean;
128
+ } | (string | {
129
+ [x: string]: boolean;
130
+ } | (string | {
131
+ [x: string]: boolean;
132
+ } | (string | {
133
+ [x: string]: boolean;
134
+ } | (string | {
135
+ [x: string]: boolean;
136
+ } | (string | {
137
+ [x: string]: boolean;
138
+ } | (string | {
139
+ [x: string]: boolean;
140
+ } | (string | {
141
+ [x: string]: boolean;
142
+ } | (string | {
143
+ [x: string]: boolean;
144
+ } | (string | {
145
+ [x: string]: boolean;
146
+ } | /*elided*/any)[])[])[])[])[])[])[])[])[])[])[]>;
147
+ };
148
+ popperStyle: {
149
+ type: _$vue.PropType<_$vue.StyleValue>;
150
+ default: undefined;
151
+ };
152
+ teleported: {
153
+ type: _$vue.PropType<boolean>;
154
+ default: true;
155
+ };
156
+ clearable: {
157
+ type: _$vue.PropType<boolean>;
158
+ default: true;
159
+ };
160
+ validateEvent: {
161
+ type: _$vue.PropType<boolean>;
162
+ default: true;
163
+ };
164
+ persistent: {
165
+ type: _$vue.PropType<boolean>;
166
+ default: true;
167
+ };
168
+ emptyValues: {
169
+ type: _$vue.PropType<unknown[]>;
170
+ };
171
+ valueOnClear: {
172
+ type: _$vue.PropType<string | number | boolean | Function>;
173
+ default: undefined;
174
+ };
175
+ ariaLabel: {
176
+ type: _$vue.PropType<string>;
177
+ };
178
+ id: {
179
+ type: _$vue.PropType<string>;
180
+ };
181
+ tabindex: {
182
+ type: _$vue.PropType<string | number>;
183
+ default: 0;
184
+ };
185
+ showAlpha: {
186
+ type: _$vue.PropType<boolean>;
187
+ };
188
+ colorFormat: {
189
+ type: _$vue.PropType<string>;
190
+ };
191
+ appendTo: {
192
+ type: _$vue.PropType<string | HTMLElement>;
193
+ };
194
+ predefine: {
195
+ type: _$vue.PropType<string[]>;
196
+ };
197
+ }>> & {
198
+ "onUpdate:modelValue"?: ((val: string | null) => any) | undefined;
199
+ onFocus?: ((evt: FocusEvent) => any) | undefined;
200
+ onChange?: ((val: string | null) => any) | undefined;
201
+ onBlur?: ((evt: FocusEvent) => any) | undefined;
202
+ onClear?: (() => any) | undefined;
203
+ onActiveChange?: ((val: string | null) => any) | undefined;
204
+ }, {
205
+ disabled: boolean;
206
+ tabindex: string | number;
207
+ modelValue: string | null;
208
+ valueOnClear: string | number | boolean | Function | null;
209
+ teleported: boolean;
210
+ validateEvent: boolean;
211
+ clearable: boolean;
212
+ popperStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
213
+ persistent: boolean;
214
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>>;
6
215
  //#endregion
7
216
  export { ColorPicker, ColorPickerProps };
8
217
  //# sourceMappingURL=index.d.ts.map
@@ -1,8 +1,137 @@
1
+ import * as _$element_plus0 from "element-plus";
1
2
  import { ElColorPickerPanel } from "element-plus";
3
+ import * as _$vue from "vue";
4
+ import * as _$element_plus_es_components_color_picker_panel_src_utils_color_mjs0 from "element-plus/es/components/color-picker-panel/src/utils/color.mjs";
5
+ import * as _$element_plus_es_utils_index_mjs0 from "element-plus/es/utils/index.mjs";
2
6
 
3
7
  //#region src/color-picker-panel/index.d.ts
4
8
  type ColorPickerPanelProps = typeof ElColorPickerPanel;
5
- declare const ColorPickerPanel: any;
9
+ declare const ColorPickerPanel: _$element_plus_es_utils_index_mjs0.SFCWithInstall<{
10
+ new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<_$vue.ExtractPropTypes<{
11
+ modelValue: {
12
+ type: _$vue.PropType<string>;
13
+ default: undefined;
14
+ };
15
+ disabled: {
16
+ type: _$vue.PropType<boolean>;
17
+ };
18
+ validateEvent: {
19
+ type: _$vue.PropType<boolean>;
20
+ default: boolean;
21
+ };
22
+ border: {
23
+ type: _$vue.PropType<boolean>;
24
+ default: boolean;
25
+ };
26
+ showAlpha: {
27
+ type: _$vue.PropType<boolean>;
28
+ };
29
+ colorFormat: {
30
+ type: _$vue.PropType<string>;
31
+ };
32
+ predefine: {
33
+ type: _$vue.PropType<string[]>;
34
+ };
35
+ }>> & {
36
+ "onUpdate:modelValue"?: ((val: string | null) => any) | undefined;
37
+ }, {
38
+ color: _$element_plus_es_components_color_picker_panel_src_utils_color_mjs0.default;
39
+ inputRef: _$vue.Ref<_$element_plus0.InputInstance | undefined>;
40
+ update: () => void;
41
+ }, unknown, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
42
+ "update:modelValue": (val: string | null) => void;
43
+ }, _$vue.PublicProps, {
44
+ border: boolean;
45
+ modelValue: string | null;
46
+ validateEvent: boolean;
47
+ }, true, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
48
+ P: {};
49
+ B: {};
50
+ D: {};
51
+ C: {};
52
+ M: {};
53
+ Defaults: {};
54
+ }, Readonly<_$vue.ExtractPropTypes<{
55
+ modelValue: {
56
+ type: _$vue.PropType<string>;
57
+ default: undefined;
58
+ };
59
+ disabled: {
60
+ type: _$vue.PropType<boolean>;
61
+ };
62
+ validateEvent: {
63
+ type: _$vue.PropType<boolean>;
64
+ default: boolean;
65
+ };
66
+ border: {
67
+ type: _$vue.PropType<boolean>;
68
+ default: boolean;
69
+ };
70
+ showAlpha: {
71
+ type: _$vue.PropType<boolean>;
72
+ };
73
+ colorFormat: {
74
+ type: _$vue.PropType<string>;
75
+ };
76
+ predefine: {
77
+ type: _$vue.PropType<string[]>;
78
+ };
79
+ }>> & {
80
+ "onUpdate:modelValue"?: ((val: string | null) => any) | undefined;
81
+ }, {
82
+ color: _$element_plus_es_components_color_picker_panel_src_utils_color_mjs0.default;
83
+ inputRef: _$vue.Ref<_$element_plus0.InputInstance | undefined>;
84
+ update: () => void;
85
+ }, {}, {}, {}, {
86
+ border: boolean;
87
+ modelValue: string | null;
88
+ validateEvent: boolean;
89
+ }>;
90
+ __isFragment?: never;
91
+ __isTeleport?: never;
92
+ __isSuspense?: never;
93
+ } & _$vue.ComponentOptionsBase<Readonly<_$vue.ExtractPropTypes<{
94
+ modelValue: {
95
+ type: _$vue.PropType<string>;
96
+ default: undefined;
97
+ };
98
+ disabled: {
99
+ type: _$vue.PropType<boolean>;
100
+ };
101
+ validateEvent: {
102
+ type: _$vue.PropType<boolean>;
103
+ default: boolean;
104
+ };
105
+ border: {
106
+ type: _$vue.PropType<boolean>;
107
+ default: boolean;
108
+ };
109
+ showAlpha: {
110
+ type: _$vue.PropType<boolean>;
111
+ };
112
+ colorFormat: {
113
+ type: _$vue.PropType<string>;
114
+ };
115
+ predefine: {
116
+ type: _$vue.PropType<string[]>;
117
+ };
118
+ }>> & {
119
+ "onUpdate:modelValue"?: ((val: string | null) => any) | undefined;
120
+ }, {
121
+ color: _$element_plus_es_components_color_picker_panel_src_utils_color_mjs0.default;
122
+ inputRef: _$vue.Ref<_$element_plus0.InputInstance | undefined>;
123
+ update: () => void;
124
+ }, unknown, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
125
+ "update:modelValue": (val: string | null) => void;
126
+ }, string, {
127
+ border: boolean;
128
+ modelValue: string | null;
129
+ validateEvent: boolean;
130
+ }, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
131
+ $slots: {
132
+ footer?: (props: {}) => any;
133
+ };
134
+ })>;
6
135
  //#endregion
7
136
  export { ColorPickerPanel, ColorPickerPanelProps };
8
137
  //# sourceMappingURL=index.d.ts.map