@silver-formily/element-plus 3.0.3 → 4.0.2

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 (57) 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-collapse/index.d.ts +3 -3
  12. package/esm/form-dialog/dialog-content.mjs +10 -12
  13. package/esm/form-dialog/dialog-content.mjs.map +1 -1
  14. package/esm/form-dialog/index.mjs +22 -26
  15. package/esm/form-dialog/index.mjs.map +1 -1
  16. package/esm/form-dialog/types.d.ts +0 -1
  17. package/esm/form-drawer/drawer-content.mjs +10 -12
  18. package/esm/form-drawer/drawer-content.mjs.map +1 -1
  19. package/esm/form-drawer/index.mjs +22 -26
  20. package/esm/form-drawer/index.mjs.map +1 -1
  21. package/esm/form-drawer/types.d.ts +0 -1
  22. package/esm/form-item/index.d.ts +83 -1
  23. package/esm/form-layout/form-layout.vue.d.ts +1 -1
  24. package/esm/index.d.ts +3 -1
  25. package/esm/index.mjs +2 -1
  26. package/esm/input/index.d.ts +43 -1
  27. package/esm/input-number/index.d.ts +328 -1
  28. package/esm/input-tag/index.d.ts +26 -1
  29. package/esm/mention/index.d.ts +36 -1
  30. package/esm/password/index.d.ts +42 -1
  31. package/esm/picker-select/index.d.ts +47 -0
  32. package/esm/picker-select/index.mjs +14 -0
  33. package/esm/picker-select/index.mjs.map +1 -0
  34. package/esm/picker-select/picker-select.mjs +186 -0
  35. package/esm/picker-select/picker-select.mjs.map +1 -0
  36. package/esm/picker-select/types.d.ts +23 -0
  37. package/esm/query-form-item/index.d.ts +152 -1
  38. package/esm/radio/index.d.ts +100 -46
  39. package/esm/rate/index.d.ts +186 -1
  40. package/esm/segmented/index.d.ts +28 -1
  41. package/esm/select/index.d.ts +112 -1
  42. package/esm/select-table/index.d.ts +61 -1
  43. package/esm/select-table/select-table.mjs +63 -29
  44. package/esm/select-table/select-table.mjs.map +1 -1
  45. package/esm/select-table/types.d.ts +22 -0
  46. package/esm/slider/index.d.ts +178 -1
  47. package/esm/switch/index.d.ts +298 -1
  48. package/esm/time-picker/index.d.ts +446 -1
  49. package/esm/time-select/index.d.ts +188 -1
  50. package/esm/transfer/index.d.ts +268 -1
  51. package/esm/tree/index.d.ts +45 -1
  52. package/esm/tree/types.d.ts +18 -0
  53. package/esm/tree-select/index.d.ts +19 -1
  54. package/esm/upload/index.d.ts +129 -1
  55. package/package.json +3 -3
  56. package/esm/shared/url-change-listener.mjs +0 -50
  57. package/esm/shared/url-change-listener.mjs.map +0 -1
@@ -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
+ popperClass: {
18
+ type: _$vue.PropType<string | {
19
+ [x: string]: boolean;
20
+ } | (string | {
21
+ [x: string]: boolean;
22
+ } | (string | {
23
+ [x: string]: boolean;
24
+ } | (string | {
25
+ [x: string]: boolean;
26
+ } | (string | {
27
+ [x: string]: boolean;
28
+ } | (string | {
29
+ [x: string]: boolean;
30
+ } | (string | {
31
+ [x: string]: boolean;
32
+ } | (string | {
33
+ [x: string]: boolean;
34
+ } | (string | {
35
+ [x: string]: boolean;
36
+ } | (string | {
37
+ [x: string]: boolean;
38
+ } | (string | {
39
+ [x: string]: boolean;
40
+ } | (string | {
41
+ [x: string]: boolean;
42
+ } | /*elided*/any)[])[])[])[])[])[])[])[])[])[])[]>;
43
+ };
44
+ popperStyle: {
45
+ type: _$vue.PropType<_$vue.StyleValue>;
46
+ default: undefined;
47
+ };
48
+ teleported: {
49
+ type: _$vue.PropType<boolean>;
50
+ default: true;
51
+ };
52
+ size: {
53
+ type: _$vue.PropType<"" | "default" | "small" | "large">;
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
+ popperClass: {
119
+ type: _$vue.PropType<string | {
120
+ [x: string]: boolean;
121
+ } | (string | {
122
+ [x: string]: boolean;
123
+ } | (string | {
124
+ [x: string]: boolean;
125
+ } | (string | {
126
+ [x: string]: boolean;
127
+ } | (string | {
128
+ [x: string]: boolean;
129
+ } | (string | {
130
+ [x: string]: boolean;
131
+ } | (string | {
132
+ [x: string]: boolean;
133
+ } | (string | {
134
+ [x: string]: boolean;
135
+ } | (string | {
136
+ [x: string]: boolean;
137
+ } | (string | {
138
+ [x: string]: boolean;
139
+ } | (string | {
140
+ [x: string]: boolean;
141
+ } | (string | {
142
+ [x: string]: boolean;
143
+ } | /*elided*/any)[])[])[])[])[])[])[])[])[])[])[]>;
144
+ };
145
+ popperStyle: {
146
+ type: _$vue.PropType<_$vue.StyleValue>;
147
+ default: undefined;
148
+ };
149
+ teleported: {
150
+ type: _$vue.PropType<boolean>;
151
+ default: true;
152
+ };
153
+ size: {
154
+ type: _$vue.PropType<"" | "default" | "small" | "large">;
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