@silver-formily/element-plus 2.2.0 → 2.4.0

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 (205) hide show
  1. package/LICENSE +21 -21
  2. package/README.en-US.md +2 -2
  3. package/README.md +2 -2
  4. package/esm/__builtins__/configs/index.mjs.map +1 -1
  5. package/esm/__builtins__/index.mjs +18 -21
  6. package/esm/__builtins__/index.mjs.map +1 -1
  7. package/esm/__builtins__/shared/index.d.ts +0 -1
  8. package/esm/__builtins__/shared/index.mjs +18 -21
  9. package/esm/__builtins__/shared/index.mjs.map +1 -1
  10. package/esm/__builtins__/shared/loading.mjs +5 -5
  11. package/esm/__builtins__/shared/loading.mjs.map +1 -1
  12. package/esm/__builtins__/shared/simple-version-compare.mjs.map +1 -1
  13. package/esm/__builtins__/shared/transform-component.mjs.map +1 -1
  14. package/esm/__builtins__/shared/use-enter-submit.d.ts +9 -0
  15. package/esm/__builtins__/shared/use-enter-submit.mjs +25 -0
  16. package/esm/__builtins__/shared/use-enter-submit.mjs.map +1 -0
  17. package/esm/__builtins__/shared/utils.d.ts +1 -0
  18. package/esm/__builtins__/shared/utils.mjs +23 -17
  19. package/esm/__builtins__/shared/utils.mjs.map +1 -1
  20. package/esm/array-base/index.mjs +56 -52
  21. package/esm/array-base/index.mjs.map +1 -1
  22. package/esm/array-base/symbols.mjs.map +1 -1
  23. package/esm/array-base/utils.d.ts +0 -1
  24. package/esm/array-base/utils.mjs +45 -46
  25. package/esm/array-base/utils.mjs.map +1 -1
  26. package/esm/array-cards/index.mjs +36 -33
  27. package/esm/array-cards/index.mjs.map +1 -1
  28. package/esm/array-collapse/index.mjs +39 -37
  29. package/esm/array-collapse/index.mjs.map +1 -1
  30. package/esm/array-collapse/utils.mjs +9 -2
  31. package/esm/array-collapse/utils.mjs.map +1 -1
  32. package/esm/array-items/index.mjs +38 -34
  33. package/esm/array-items/index.mjs.map +1 -1
  34. package/esm/array-list-tabs/index.mjs +38 -36
  35. package/esm/array-list-tabs/index.mjs.map +1 -1
  36. package/esm/array-list-tabs/utils.mjs +12 -5
  37. package/esm/array-list-tabs/utils.mjs.map +1 -1
  38. package/esm/array-table/index.mjs +63 -60
  39. package/esm/array-table/index.mjs.map +1 -1
  40. package/esm/array-table/utils.mjs +18 -11
  41. package/esm/array-table/utils.mjs.map +1 -1
  42. package/esm/array-tabs/index.mjs +28 -25
  43. package/esm/array-tabs/index.mjs.map +1 -1
  44. package/esm/autocomplete/autocomplete.d.ts +1222 -0
  45. package/esm/autocomplete/index.d.ts +639 -0
  46. package/esm/autocomplete/index.mjs +116 -0
  47. package/esm/autocomplete/index.mjs.map +1 -0
  48. package/esm/cascader/index.mjs +22 -18
  49. package/esm/cascader/index.mjs.map +1 -1
  50. package/esm/checkbox/index.d.ts +42 -42
  51. package/esm/checkbox/index.mjs +20 -16
  52. package/esm/checkbox/index.mjs.map +1 -1
  53. package/esm/color-picker/index.d.ts +210 -0
  54. package/esm/color-picker/index.mjs +17 -0
  55. package/esm/color-picker/index.mjs.map +1 -0
  56. package/esm/color-picker-panel/index.d.ts +129 -0
  57. package/esm/color-picker-panel/index.mjs +25 -0
  58. package/esm/color-picker-panel/index.mjs.map +1 -0
  59. package/esm/date-picker/index.mjs +18 -37
  60. package/esm/date-picker/index.mjs.map +1 -1
  61. package/esm/date-picker/utils.d.ts +4 -0
  62. package/esm/date-picker/utils.mjs +27 -0
  63. package/esm/date-picker/utils.mjs.map +1 -0
  64. package/esm/date-picker-panel/index.d.ts +143 -0
  65. package/esm/date-picker-panel/index.mjs +30 -0
  66. package/esm/date-picker-panel/index.mjs.map +1 -0
  67. package/esm/editable/editable.d.ts +2 -0
  68. package/esm/editable/index.d.ts +1 -0
  69. package/esm/editable/index.mjs +71 -66
  70. package/esm/editable/index.mjs.map +1 -1
  71. package/esm/env.d.mjs +2 -0
  72. package/esm/env.d.mjs.map +1 -0
  73. package/esm/form/form.mjs +6 -6
  74. package/esm/form/form.mjs.map +1 -1
  75. package/esm/form-button-group/form-button-group.d.ts +10 -1
  76. package/esm/form-button-group/index.d.ts +18 -3
  77. package/esm/form-button-group/index.mjs +47 -28
  78. package/esm/form-button-group/index.mjs.map +1 -1
  79. package/esm/form-button-group/utils.mjs +9 -2
  80. package/esm/form-button-group/utils.mjs.map +1 -1
  81. package/esm/form-collapse/index.mjs +21 -18
  82. package/esm/form-collapse/index.mjs.map +1 -1
  83. package/esm/form-collapse/utils.mjs.map +1 -1
  84. package/esm/form-dialog/dialog-content.d.ts +789 -3
  85. package/esm/form-dialog/index.mjs +97 -86
  86. package/esm/form-dialog/index.mjs.map +1 -1
  87. package/esm/form-dialog/types.d.ts +1 -0
  88. package/esm/form-drawer/drawer-content.d.ts +919 -3
  89. package/esm/form-drawer/index.mjs +92 -82
  90. package/esm/form-drawer/index.mjs.map +1 -1
  91. package/esm/form-drawer/types.d.ts +1 -0
  92. package/esm/form-grid/hooks.mjs.map +1 -1
  93. package/esm/form-grid/index.mjs +26 -22
  94. package/esm/form-grid/index.mjs.map +1 -1
  95. package/esm/form-item/index.d.ts +1 -0
  96. package/esm/form-item/index.mjs +102 -99
  97. package/esm/form-item/index.mjs.map +1 -1
  98. package/esm/form-item/types.d.ts +4 -0
  99. package/esm/form-item/utils.mjs.map +1 -1
  100. package/esm/form-layout/form-layout.mjs +18 -14
  101. package/esm/form-layout/form-layout.mjs.map +1 -1
  102. package/esm/form-layout/utils.mjs +23 -23
  103. package/esm/form-layout/utils.mjs.map +1 -1
  104. package/esm/form-step/index.mjs +30 -27
  105. package/esm/form-step/index.mjs.map +1 -1
  106. package/esm/form-step/utils.mjs.map +1 -1
  107. package/esm/form-tab/hooks.mjs.map +1 -1
  108. package/esm/form-tab/index.mjs +24 -22
  109. package/esm/form-tab/index.mjs.map +1 -1
  110. package/esm/form-tab/utils.mjs.map +1 -1
  111. package/esm/index.d.ts +8 -0
  112. package/esm/index.mjs +90 -74
  113. package/esm/index.mjs.map +1 -1
  114. package/esm/input/index.mjs +30 -26
  115. package/esm/input/index.mjs.map +1 -1
  116. package/esm/input-number/index.d.ts +21 -21
  117. package/esm/input-number/index.mjs +11 -8
  118. package/esm/input-number/index.mjs.map +1 -1
  119. package/esm/input-tag/index.d.ts +32 -0
  120. package/esm/input-tag/index.mjs +50 -0
  121. package/esm/input-tag/index.mjs.map +1 -0
  122. package/esm/input-tag/input-tag.d.ts +32 -0
  123. package/esm/mention/index.d.ts +50 -0
  124. package/esm/mention/index.mjs +97 -0
  125. package/esm/mention/index.mjs.map +1 -0
  126. package/esm/mention/mention.d.ts +51 -0
  127. package/esm/pagination/components/jumper.mjs.map +1 -1
  128. package/esm/pagination/components/next.mjs.map +1 -1
  129. package/esm/pagination/components/pager.mjs.map +1 -1
  130. package/esm/pagination/components/prev.mjs.map +1 -1
  131. package/esm/pagination/components/total.mjs.map +1 -1
  132. package/esm/pagination/pagination.mjs.map +1 -1
  133. package/esm/password/index.mjs.map +1 -1
  134. package/esm/preview-text/color-picker.d.ts +5 -0
  135. package/esm/preview-text/index.d.ts +5 -0
  136. package/esm/preview-text/index.mjs +184 -145
  137. package/esm/preview-text/index.mjs.map +1 -1
  138. package/esm/preview-text/utils.mjs.map +1 -1
  139. package/esm/query-form/default-components.d.ts +5 -0
  140. package/esm/query-form/default-components.mjs +47 -0
  141. package/esm/query-form/default-components.mjs.map +1 -0
  142. package/esm/query-form/hooks.d.ts +25 -0
  143. package/esm/query-form/hooks.mjs +29 -0
  144. package/esm/query-form/hooks.mjs.map +1 -0
  145. package/esm/query-form/index.d.ts +117 -0
  146. package/esm/query-form/index.mjs +337 -0
  147. package/esm/query-form/index.mjs.map +1 -0
  148. package/esm/query-form/query-form-light.d.ts +27 -0
  149. package/esm/query-form/query-form.d.ts +52 -0
  150. package/esm/query-form/types.d.ts +44 -0
  151. package/esm/query-form/types.mjs +2 -0
  152. package/esm/query-form/types.mjs.map +1 -0
  153. package/esm/query-form-item/index.d.ts +151 -0
  154. package/esm/query-form-item/index.mjs +188 -0
  155. package/esm/query-form-item/index.mjs.map +1 -0
  156. package/esm/query-form-item/query-form-item.d.ts +96 -0
  157. package/esm/query-form-item/types.d.ts +46 -0
  158. package/esm/query-form-item/types.mjs +2 -0
  159. package/esm/query-form-item/types.mjs.map +1 -0
  160. package/esm/radio/index.d.ts +36 -36
  161. package/esm/radio/index.mjs +29 -25
  162. package/esm/radio/index.mjs.map +1 -1
  163. package/esm/rate/index.mjs +13 -10
  164. package/esm/rate/index.mjs.map +1 -1
  165. package/esm/reset/index.mjs.map +1 -1
  166. package/esm/segmented/index.mjs +16 -12
  167. package/esm/segmented/index.mjs.map +1 -1
  168. package/esm/select/index.mjs +26 -22
  169. package/esm/select/index.mjs.map +1 -1
  170. package/esm/select-table/index.mjs +36 -33
  171. package/esm/select-table/index.mjs.map +1 -1
  172. package/esm/shared/overlay-elements.d.ts +6 -0
  173. package/esm/shared/overlay-elements.mjs +19 -0
  174. package/esm/shared/overlay-elements.mjs.map +1 -0
  175. package/esm/slider/index.mjs +13 -10
  176. package/esm/slider/index.mjs.map +1 -1
  177. package/esm/styles/form-button-group/index.css +1 -1
  178. package/esm/styles/form-item/index.css +1 -1
  179. package/esm/styles/preview-text/index.css +1 -1
  180. package/esm/styles/query-form/index.css +1 -0
  181. package/esm/styles/query-form-item/index.css +1 -0
  182. package/esm/submit/index.mjs.map +1 -1
  183. package/esm/switch/index.d.ts +12 -12
  184. package/esm/switch/index.mjs.map +1 -1
  185. package/esm/time-picker/index.mjs +9 -6
  186. package/esm/time-picker/index.mjs.map +1 -1
  187. package/esm/time-select/index.mjs +9 -6
  188. package/esm/time-select/index.mjs.map +1 -1
  189. package/esm/transfer/index.mjs.map +1 -1
  190. package/esm/tree/index.mjs +33 -29
  191. package/esm/tree/index.mjs.map +1 -1
  192. package/esm/tree/utils.mjs.map +1 -1
  193. package/esm/tree-select/index.mjs +18 -14
  194. package/esm/tree-select/index.mjs.map +1 -1
  195. package/esm/upload/index.d.ts +1 -1
  196. package/esm/upload/index.mjs +10 -7
  197. package/esm/upload/index.mjs.map +1 -1
  198. package/esm/upload/upload.d.ts +2 -2
  199. package/esm/vendor/lodash.mjs +751 -663
  200. package/esm/vendor/lodash.mjs.map +1 -1
  201. package/esm/vendor/sizes.mjs.map +1 -1
  202. package/package.json +115 -113
  203. package/esm/__builtins__/shared/hooks.d.ts +0 -7
  204. package/esm/__builtins__/shared/hooks.mjs +0 -59
  205. package/esm/__builtins__/shared/hooks.mjs.map +0 -1
@@ -0,0 +1,210 @@
1
+ import { ElColorPicker } from 'element-plus';
2
+ export type ColorPickerProps = typeof ElColorPicker;
3
+ export declare const ColorPicker: import('element-plus/es/utils/index.mjs').SFCWithInstall<import('vue').DefineComponent<{
4
+ emptyValues: {
5
+ type: import('vue').PropType<unknown[]>;
6
+ };
7
+ valueOnClear: {
8
+ type: import('vue').PropType<string | number | boolean | Function>;
9
+ default: undefined;
10
+ };
11
+ size: {
12
+ type: import('vue').PropType<"" | "small" | "default" | "large">;
13
+ };
14
+ disabled: {
15
+ type: import('vue').PropType<boolean>;
16
+ default: undefined;
17
+ };
18
+ id: {
19
+ type: import('vue').PropType<string>;
20
+ };
21
+ modelValue: {
22
+ type: import('vue').PropType<string>;
23
+ default: undefined;
24
+ };
25
+ tabindex: {
26
+ type: import('vue').PropType<string | number>;
27
+ default: 0;
28
+ };
29
+ ariaLabel: {
30
+ type: import('vue').PropType<string>;
31
+ };
32
+ popperClass: {
33
+ type: import('vue').PropType<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
+ } | (string | {
46
+ [x: string]: boolean;
47
+ } | (string | {
48
+ [x: string]: boolean;
49
+ } | (string | {
50
+ [x: string]: boolean;
51
+ } | (string | {
52
+ [x: string]: boolean;
53
+ } | (string | {
54
+ [x: string]: boolean;
55
+ } | (string | {
56
+ [x: string]: boolean;
57
+ } | /*elided*/ any)[])[])[])[])[])[])[])[])[])[])[]>;
58
+ };
59
+ popperStyle: {
60
+ type: import('vue').PropType<import('vue').StyleValue>;
61
+ default: undefined;
62
+ };
63
+ teleported: {
64
+ type: import('vue').PropType<boolean>;
65
+ default: true;
66
+ };
67
+ clearable: {
68
+ type: import('vue').PropType<boolean>;
69
+ default: true;
70
+ };
71
+ validateEvent: {
72
+ type: import('vue').PropType<boolean>;
73
+ default: true;
74
+ };
75
+ persistent: {
76
+ type: import('vue').PropType<boolean>;
77
+ default: true;
78
+ };
79
+ appendTo: {
80
+ type: import('vue').PropType<string | HTMLElement>;
81
+ };
82
+ showAlpha: {
83
+ type: import('vue').PropType<boolean>;
84
+ };
85
+ colorFormat: {
86
+ type: import('vue').PropType<string>;
87
+ };
88
+ predefine: {
89
+ type: import('vue').PropType<string[]>;
90
+ };
91
+ }, {
92
+ color: import('element-plus/es/components/color-picker-panel/src/utils/color.mjs').default;
93
+ show: () => void;
94
+ hide: () => void;
95
+ focus: () => void;
96
+ blur: () => void;
97
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
98
+ focus: (evt: FocusEvent) => void;
99
+ "update:modelValue": (val: string | null) => void;
100
+ change: (val: string | null) => void;
101
+ clear: () => void;
102
+ blur: (evt: FocusEvent) => void;
103
+ activeChange: (val: string | null) => void;
104
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
105
+ emptyValues: {
106
+ type: import('vue').PropType<unknown[]>;
107
+ };
108
+ valueOnClear: {
109
+ type: import('vue').PropType<string | number | boolean | Function>;
110
+ default: undefined;
111
+ };
112
+ size: {
113
+ type: import('vue').PropType<"" | "small" | "default" | "large">;
114
+ };
115
+ disabled: {
116
+ type: import('vue').PropType<boolean>;
117
+ default: undefined;
118
+ };
119
+ id: {
120
+ type: import('vue').PropType<string>;
121
+ };
122
+ modelValue: {
123
+ type: import('vue').PropType<string>;
124
+ default: undefined;
125
+ };
126
+ tabindex: {
127
+ type: import('vue').PropType<string | number>;
128
+ default: 0;
129
+ };
130
+ ariaLabel: {
131
+ type: import('vue').PropType<string>;
132
+ };
133
+ popperClass: {
134
+ type: import('vue').PropType<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
+ } | (string | {
147
+ [x: string]: boolean;
148
+ } | (string | {
149
+ [x: string]: boolean;
150
+ } | (string | {
151
+ [x: string]: boolean;
152
+ } | (string | {
153
+ [x: string]: boolean;
154
+ } | (string | {
155
+ [x: string]: boolean;
156
+ } | (string | {
157
+ [x: string]: boolean;
158
+ } | /*elided*/ any)[])[])[])[])[])[])[])[])[])[])[]>;
159
+ };
160
+ popperStyle: {
161
+ type: import('vue').PropType<import('vue').StyleValue>;
162
+ default: undefined;
163
+ };
164
+ teleported: {
165
+ type: import('vue').PropType<boolean>;
166
+ default: true;
167
+ };
168
+ clearable: {
169
+ type: import('vue').PropType<boolean>;
170
+ default: true;
171
+ };
172
+ validateEvent: {
173
+ type: import('vue').PropType<boolean>;
174
+ default: true;
175
+ };
176
+ persistent: {
177
+ type: import('vue').PropType<boolean>;
178
+ default: true;
179
+ };
180
+ appendTo: {
181
+ type: import('vue').PropType<string | HTMLElement>;
182
+ };
183
+ showAlpha: {
184
+ type: import('vue').PropType<boolean>;
185
+ };
186
+ colorFormat: {
187
+ type: import('vue').PropType<string>;
188
+ };
189
+ predefine: {
190
+ type: import('vue').PropType<string[]>;
191
+ };
192
+ }>> & {
193
+ "onUpdate:modelValue"?: ((val: string | null) => any) | undefined;
194
+ onFocus?: ((evt: FocusEvent) => any) | undefined;
195
+ onChange?: ((val: string | null) => any) | undefined;
196
+ onBlur?: ((evt: FocusEvent) => any) | undefined;
197
+ onClear?: (() => any) | undefined;
198
+ onActiveChange?: ((val: string | null) => any) | undefined;
199
+ }, {
200
+ disabled: boolean;
201
+ tabindex: string | number;
202
+ modelValue: string | null;
203
+ valueOnClear: string | number | boolean | Function | null;
204
+ teleported: boolean;
205
+ validateEvent: boolean;
206
+ clearable: boolean;
207
+ popperStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
208
+ persistent: boolean;
209
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>>;
210
+ export default ColorPicker;
@@ -0,0 +1,17 @@
1
+ import { connect as r, mapProps as o } from "@silver-formily/vue";
2
+ import { ElColorPicker as e } from "element-plus";
3
+ import "@formily/reactive";
4
+ import "@vueuse/core";
5
+ import "vue";
6
+ import { mapReadPretty as t } from "../__builtins__/shared/transform-component.mjs";
7
+ import { PreviewText as m } from "../preview-text/index.mjs";
8
+ const f = r(
9
+ e,
10
+ o({ readOnly: "readonly", disabled: !0 }),
11
+ t(m.ColorPicker)
12
+ );
13
+ export {
14
+ f as ColorPicker,
15
+ f as default
16
+ };
17
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sources":["../../src/color-picker/index.ts"],"sourcesContent":["import { connect, mapProps } from '@silver-formily/vue'\nimport { ElColorPicker } from 'element-plus'\nimport { mapReadPretty } from '../__builtins__'\nimport { PreviewText } from '../preview-text'\n\nexport type ColorPickerProps = typeof ElColorPicker\n\nexport const ColorPicker = connect<typeof ElColorPicker>(\n ElColorPicker,\n mapProps({ readOnly: 'readonly', disabled: true }),\n mapReadPretty(PreviewText.ColorPicker),\n)\n\nexport default ColorPicker\n"],"names":["ColorPicker","connect","ElColorPicker","mapProps","mapReadPretty","PreviewText"],"mappings":";;;;;;;AAOO,MAAMA,IAAcC;AAAA,EACzBC;AAAA,EACAC,EAAS,EAAE,UAAU,YAAY,UAAU,IAAM;AAAA,EACjDC,EAAcC,EAAY,WAAW;AACvC;"}
@@ -0,0 +1,129 @@
1
+ import { ElColorPickerPanel } from 'element-plus';
2
+ export type ColorPickerPanelProps = typeof ElColorPickerPanel;
3
+ export declare const ColorPickerPanel: import('element-plus/es/utils/index.mjs').SFCWithInstall<{
4
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
5
+ border: {
6
+ type: import('vue').PropType<boolean>;
7
+ default: boolean;
8
+ };
9
+ disabled: {
10
+ type: import('vue').PropType<boolean>;
11
+ };
12
+ modelValue: {
13
+ type: import('vue').PropType<string>;
14
+ default: undefined;
15
+ };
16
+ validateEvent: {
17
+ type: import('vue').PropType<boolean>;
18
+ default: boolean;
19
+ };
20
+ showAlpha: {
21
+ type: import('vue').PropType<boolean>;
22
+ };
23
+ colorFormat: {
24
+ type: import('vue').PropType<string>;
25
+ };
26
+ predefine: {
27
+ type: import('vue').PropType<string[]>;
28
+ };
29
+ }>> & {
30
+ "onUpdate:modelValue"?: ((val: string | null) => any) | undefined;
31
+ }, {
32
+ color: import('element-plus/es/components/color-picker-panel/src/utils/color.mjs').default;
33
+ inputRef: import('vue').Ref<import('element-plus').InputInstance | undefined>;
34
+ update: () => void;
35
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
36
+ "update:modelValue": (val: string | null) => void;
37
+ }, import('vue').PublicProps, {
38
+ border: boolean;
39
+ modelValue: string | null;
40
+ validateEvent: boolean;
41
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
42
+ P: {};
43
+ B: {};
44
+ D: {};
45
+ C: {};
46
+ M: {};
47
+ Defaults: {};
48
+ }, Readonly<import('vue').ExtractPropTypes<{
49
+ border: {
50
+ type: import('vue').PropType<boolean>;
51
+ default: boolean;
52
+ };
53
+ disabled: {
54
+ type: import('vue').PropType<boolean>;
55
+ };
56
+ modelValue: {
57
+ type: import('vue').PropType<string>;
58
+ default: undefined;
59
+ };
60
+ validateEvent: {
61
+ type: import('vue').PropType<boolean>;
62
+ default: boolean;
63
+ };
64
+ showAlpha: {
65
+ type: import('vue').PropType<boolean>;
66
+ };
67
+ colorFormat: {
68
+ type: import('vue').PropType<string>;
69
+ };
70
+ predefine: {
71
+ type: import('vue').PropType<string[]>;
72
+ };
73
+ }>> & {
74
+ "onUpdate:modelValue"?: ((val: string | null) => any) | undefined;
75
+ }, {
76
+ color: import('element-plus/es/components/color-picker-panel/src/utils/color.mjs').default;
77
+ inputRef: import('vue').Ref<import('element-plus').InputInstance | undefined>;
78
+ update: () => void;
79
+ }, {}, {}, {}, {
80
+ border: boolean;
81
+ modelValue: string | null;
82
+ validateEvent: boolean;
83
+ }>;
84
+ __isFragment?: never;
85
+ __isTeleport?: never;
86
+ __isSuspense?: never;
87
+ } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
88
+ border: {
89
+ type: import('vue').PropType<boolean>;
90
+ default: boolean;
91
+ };
92
+ disabled: {
93
+ type: import('vue').PropType<boolean>;
94
+ };
95
+ modelValue: {
96
+ type: import('vue').PropType<string>;
97
+ default: undefined;
98
+ };
99
+ validateEvent: {
100
+ type: import('vue').PropType<boolean>;
101
+ default: boolean;
102
+ };
103
+ showAlpha: {
104
+ type: import('vue').PropType<boolean>;
105
+ };
106
+ colorFormat: {
107
+ type: import('vue').PropType<string>;
108
+ };
109
+ predefine: {
110
+ type: import('vue').PropType<string[]>;
111
+ };
112
+ }>> & {
113
+ "onUpdate:modelValue"?: ((val: string | null) => any) | undefined;
114
+ }, {
115
+ color: import('element-plus/es/components/color-picker-panel/src/utils/color.mjs').default;
116
+ inputRef: import('vue').Ref<import('element-plus').InputInstance | undefined>;
117
+ update: () => void;
118
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
119
+ "update:modelValue": (val: string | null) => void;
120
+ }, string, {
121
+ border: boolean;
122
+ modelValue: string | null;
123
+ validateEvent: boolean;
124
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
125
+ $slots: {
126
+ footer?: (props: {}) => any;
127
+ };
128
+ })>;
129
+ export default ColorPickerPanel;
@@ -0,0 +1,25 @@
1
+ import { connect as e, mapProps as o } from "@silver-formily/vue";
2
+ import { ElColorPickerPanel as t } from "element-plus";
3
+ import "@formily/reactive";
4
+ import "@vueuse/core";
5
+ import "vue";
6
+ import { mapReadPretty as i } from "../__builtins__/shared/transform-component.mjs";
7
+ import { PreviewText as m } from "../preview-text/index.mjs";
8
+ const f = e(
9
+ t,
10
+ o(
11
+ {
12
+ disabled: !0
13
+ },
14
+ (r) => r.readOnly ? {
15
+ ...r,
16
+ disabled: !0
17
+ } : r
18
+ ),
19
+ i(m.ColorPicker)
20
+ );
21
+ export {
22
+ f as ColorPickerPanel,
23
+ f as default
24
+ };
25
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sources":["../../src/color-picker-panel/index.ts"],"sourcesContent":["import { connect, mapProps } from '@silver-formily/vue'\nimport { ElColorPickerPanel } from 'element-plus'\nimport { mapReadPretty } from '../__builtins__'\nimport { PreviewText } from '../preview-text'\n\nexport type ColorPickerPanelProps = typeof ElColorPickerPanel\n\nexport const ColorPickerPanel = connect<typeof ElColorPickerPanel>(\n ElColorPickerPanel,\n mapProps(\n {\n disabled: true,\n },\n (props: any) => {\n if (!props.readOnly) {\n return props\n }\n\n return {\n ...props,\n disabled: true,\n }\n },\n ),\n mapReadPretty(PreviewText.ColorPicker),\n)\n\nexport default ColorPickerPanel\n"],"names":["ColorPickerPanel","connect","ElColorPickerPanel","mapProps","props","mapReadPretty","PreviewText"],"mappings":";;;;;;;AAOO,MAAMA,IAAmBC;AAAA,EAC9BC;AAAA,EACAC;AAAA,IACE;AAAA,MACE,UAAU;AAAA,IAAA;AAAA,IAEZ,CAACC,MACMA,EAAM,WAIJ;AAAA,MACL,GAAGA;AAAA,MACH,UAAU;AAAA,IAAA,IALHA;AAAA,EAOX;AAAA,EAEFC,EAAcC,EAAY,WAAW;AACvC;"}
@@ -1,48 +1,29 @@
1
- import { connect as r, mapProps as m } from "@silver-formily/vue";
2
- import { ElDatePicker as n } from "element-plus";
3
- import { PreviewText as o } from "../preview-text/index.mjs";
4
- import { mapReadPretty as c } from "../__builtins__/shared/transform-component.mjs";
5
- function a(e = "date", t = "format") {
6
- if (e === "week" && t === "format")
7
- return "[Week] ww";
8
- switch (e) {
9
- case "year":
10
- case "years":
11
- case "yearrange":
12
- return "YYYY";
13
- case "month":
14
- case "months":
15
- case "monthrange":
16
- return "YYYY-MM";
17
- case "week":
18
- return "ww";
19
- case "date":
20
- case "dates":
21
- case "daterange":
22
- return "YYYY-MM-DD";
23
- case "datetime":
24
- case "datetimerange":
25
- return "YYYY-MM-DD HH:mm:ss";
26
- }
27
- }
28
- const d = r(
29
- n,
30
- m(
1
+ import { connect as r, mapProps as a } from "@silver-formily/vue";
2
+ import { ElDatePicker as m } from "element-plus";
3
+ import "@formily/reactive";
4
+ import "@vueuse/core";
5
+ import "vue";
6
+ import { mapReadPretty as o } from "../__builtins__/shared/transform-component.mjs";
7
+ import { PreviewText as i } from "../preview-text/index.mjs";
8
+ import { getDefaultFormat as e } from "./utils.mjs";
9
+ const y = r(
10
+ m,
11
+ a(
31
12
  {
32
13
  readOnly: "readonly",
33
14
  disabled: !0,
34
15
  editable: !0
35
16
  },
36
- (e) => ({
37
- ...e,
38
- format: e.format || a(e.type),
39
- valueFormat: e.valueFormat || a(e.type, "valueFormat")
17
+ (t) => ({
18
+ ...t,
19
+ format: t.format || e(t.type),
20
+ valueFormat: t.valueFormat || e(t.type, "valueFormat")
40
21
  })
41
22
  ),
42
- c(o.DatePicker)
23
+ o(i.DatePicker)
43
24
  );
44
25
  export {
45
- d as DatePicker,
46
- d as default
26
+ y as DatePicker,
27
+ y as default
47
28
  };
48
29
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../src/date-picker/index.ts"],"sourcesContent":["import type { DatePickerProps } from 'element-plus'\r\nimport { connect, mapProps } from '@silver-formily/vue'\r\nimport { ElDatePicker } from 'element-plus'\r\nimport { mapReadPretty } from '../__builtins__'\r\nimport { PreviewText } from '../preview-text'\r\n\r\nfunction getDefaultFormat(type: DatePickerProps['type'] = 'date', formatType = 'format') {\r\n if (type === 'week' && formatType === 'format') {\r\n return '[Week] ww'\r\n }\r\n else {\r\n switch (type) {\r\n case 'year':\r\n case 'years':\r\n case 'yearrange': {\r\n return 'YYYY'\r\n }\r\n case 'month':\r\n case 'months':\r\n case 'monthrange': {\r\n return 'YYYY-MM'\r\n }\r\n case 'week': {\r\n return 'ww'\r\n }\r\n case 'date':\r\n case 'dates':\r\n case 'daterange': {\r\n return 'YYYY-MM-DD'\r\n }\r\n case 'datetime':\r\n case 'datetimerange': {\r\n return 'YYYY-MM-DD HH:mm:ss'\r\n }\r\n }\r\n }\r\n}\r\n\r\nexport const DatePicker = connect<typeof ElDatePicker>(\r\n ElDatePicker,\r\n mapProps(\r\n {\r\n readOnly: 'readonly',\r\n disabled: true,\r\n editable: true,\r\n },\r\n (props: any) => {\r\n return {\r\n ...props,\r\n format: props.format || getDefaultFormat(props.type),\r\n valueFormat:\r\n props.valueFormat || getDefaultFormat(props.type, 'valueFormat'),\r\n }\r\n },\r\n ),\r\n mapReadPretty(PreviewText.DatePicker),\r\n)\r\n\r\nexport default DatePicker\r\n"],"names":["getDefaultFormat","type","formatType","DatePicker","connect","ElDatePicker","mapProps","props","mapReadPretty","PreviewText"],"mappings":";;;;AAMA,SAASA,EAAiBC,IAAgC,QAAQC,IAAa,UAAU;AACvF,MAAID,MAAS,UAAUC,MAAe;AACpC,WAAO;AAGP,UAAQD,GAAA;AAAA,IACN,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AACH,aAAO;AAAA,IAET,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AACH,aAAO;AAAA,IAET,KAAK;AACH,aAAO;AAAA,IAET,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AACH,aAAO;AAAA,IAET,KAAK;AAAA,IACL,KAAK;AACH,aAAO;AAAA,EACT;AAGN;AAEO,MAAME,IAAaC;AAAA,EACxBC;AAAA,EACAC;AAAA,IACE;AAAA,MACE,UAAU;AAAA,MACV,UAAU;AAAA,MACV,UAAU;AAAA,IAAA;AAAA,IAEZ,CAACC,OACQ;AAAA,MACL,GAAGA;AAAA,MACH,QAAQA,EAAM,UAAUP,EAAiBO,EAAM,IAAI;AAAA,MACnD,aACEA,EAAM,eAAeP,EAAiBO,EAAM,MAAM,aAAa;AAAA,IAAA;AAAA,EAErE;AAAA,EAEFC,EAAcC,EAAY,UAAU;AACtC;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../src/date-picker/index.ts"],"sourcesContent":["import { connect, mapProps } from '@silver-formily/vue'\nimport { ElDatePicker } from 'element-plus'\nimport { mapReadPretty } from '../__builtins__'\nimport { PreviewText } from '../preview-text'\nimport { getDefaultFormat } from './utils'\n\nexport const DatePicker = connect<typeof ElDatePicker>(\n ElDatePicker,\n mapProps(\n {\n readOnly: 'readonly',\n disabled: true,\n editable: true,\n },\n (props: any) => {\n return {\n ...props,\n format: props.format || getDefaultFormat(props.type),\n valueFormat:\n props.valueFormat || getDefaultFormat(props.type, 'valueFormat'),\n }\n },\n ),\n mapReadPretty(PreviewText.DatePicker),\n)\n\nexport default DatePicker\n"],"names":["DatePicker","connect","ElDatePicker","mapProps","props","getDefaultFormat","mapReadPretty","PreviewText"],"mappings":";;;;;;;;AAMO,MAAMA,IAAaC;AAAA,EACxBC;AAAA,EACAC;AAAA,IACE;AAAA,MACE,UAAU;AAAA,MACV,UAAU;AAAA,MACV,UAAU;AAAA,IAAA;AAAA,IAEZ,CAACC,OACQ;AAAA,MACL,GAAGA;AAAA,MACH,QAAQA,EAAM,UAAUC,EAAiBD,EAAM,IAAI;AAAA,MACnD,aACEA,EAAM,eAAeC,EAAiBD,EAAM,MAAM,aAAa;AAAA,IAAA;AAAA,EAErE;AAAA,EAEFE,EAAcC,EAAY,UAAU;AACtC;"}
@@ -0,0 +1,4 @@
1
+ import { DatePickerProps } from 'element-plus';
2
+ type FormatType = 'format' | 'valueFormat';
3
+ export declare function getDefaultFormat(type?: DatePickerProps['type'], formatType?: FormatType): "YYYY" | "YYYY-MM" | "[Week] ww" | "YYYY-MM-DD" | "YYYY-MM-DD HH:mm:ss" | "ww";
4
+ export {};
@@ -0,0 +1,27 @@
1
+ function t(e = "date", a = "format") {
2
+ if (e === "week" && a === "format")
3
+ return "[Week] ww";
4
+ switch (e) {
5
+ case "year":
6
+ case "years":
7
+ case "yearrange":
8
+ return "YYYY";
9
+ case "month":
10
+ case "months":
11
+ case "monthrange":
12
+ return "YYYY-MM";
13
+ case "week":
14
+ return "ww";
15
+ case "date":
16
+ case "dates":
17
+ case "daterange":
18
+ return "YYYY-MM-DD";
19
+ case "datetime":
20
+ case "datetimerange":
21
+ return "YYYY-MM-DD HH:mm:ss";
22
+ }
23
+ }
24
+ export {
25
+ t as getDefaultFormat
26
+ };
27
+ //# sourceMappingURL=utils.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.mjs","sources":["../../src/date-picker/utils.ts"],"sourcesContent":["import type { DatePickerProps } from 'element-plus'\n\ntype FormatType = 'format' | 'valueFormat'\n\nexport function getDefaultFormat(type: DatePickerProps['type'] = 'date', formatType: FormatType = 'format') {\n if (type === 'week' && formatType === 'format') {\n return '[Week] ww'\n }\n else {\n switch (type) {\n case 'year':\n case 'years':\n case 'yearrange': {\n return 'YYYY'\n }\n case 'month':\n case 'months':\n case 'monthrange': {\n return 'YYYY-MM'\n }\n case 'week': {\n return 'ww'\n }\n case 'date':\n case 'dates':\n case 'daterange': {\n return 'YYYY-MM-DD'\n }\n case 'datetime':\n case 'datetimerange': {\n return 'YYYY-MM-DD HH:mm:ss'\n }\n }\n }\n}\n"],"names":["getDefaultFormat","type","formatType"],"mappings":"AAIO,SAASA,EAAiBC,IAAgC,QAAQC,IAAyB,UAAU;AAC1G,MAAID,MAAS,UAAUC,MAAe;AACpC,WAAO;AAGP,UAAQD,GAAA;AAAA,IACN,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AACH,aAAO;AAAA,IAET,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AACH,aAAO;AAAA,IAET,KAAK;AACH,aAAO;AAAA,IAET,KAAK;AAAA,IACL,KAAK;AAAA,IACL,KAAK;AACH,aAAO;AAAA,IAET,KAAK;AAAA,IACL,KAAK;AACH,aAAO;AAAA,EACT;AAGN;"}
@@ -0,0 +1,143 @@
1
+ export declare const DatePickerPanel: import('element-plus/es/utils/index.mjs').SFCWithInstall<import('vue').DefineComponent<{
2
+ readonly disabledDate: {
3
+ readonly type: import('vue').PropType<Function>;
4
+ readonly required: false;
5
+ readonly validator: ((val: unknown) => boolean) | undefined;
6
+ __epPropKey: true;
7
+ };
8
+ readonly cellClassName: {
9
+ readonly type: import('vue').PropType<Function>;
10
+ readonly required: false;
11
+ readonly validator: ((val: unknown) => boolean) | undefined;
12
+ __epPropKey: true;
13
+ };
14
+ readonly shortcuts: import('element-plus/es/utils/index.mjs').EpPropFinalized<ArrayConstructor, unknown, unknown, () => never[], boolean>;
15
+ readonly arrowControl: BooleanConstructor;
16
+ readonly unlinkPanels: BooleanConstructor;
17
+ readonly showNow: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
18
+ readonly showConfirm: BooleanConstructor;
19
+ readonly showFooter: BooleanConstructor;
20
+ readonly showWeekNumber: BooleanConstructor;
21
+ readonly type: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => import('element-plus').DatePickerType) | ((new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => import('element-plus').DatePickerType))[], unknown, unknown, "date", boolean>;
22
+ readonly clearable: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
23
+ readonly border: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
24
+ readonly editable: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
25
+ readonly disabledHours: {
26
+ readonly type: import('vue').PropType<import('element-plus').GetDisabledHours>;
27
+ readonly required: false;
28
+ readonly validator: ((val: unknown) => boolean) | undefined;
29
+ __epPropKey: true;
30
+ };
31
+ readonly disabledMinutes: {
32
+ readonly type: import('vue').PropType<import('element-plus').GetDisabledMinutes>;
33
+ readonly required: false;
34
+ readonly validator: ((val: unknown) => boolean) | undefined;
35
+ __epPropKey: true;
36
+ };
37
+ readonly disabledSeconds: {
38
+ readonly type: import('vue').PropType<import('element-plus').GetDisabledSeconds>;
39
+ readonly required: false;
40
+ readonly validator: ((val: unknown) => boolean) | undefined;
41
+ __epPropKey: true;
42
+ };
43
+ readonly valueFormat: StringConstructor;
44
+ readonly dateFormat: StringConstructor;
45
+ readonly timeFormat: StringConstructor;
46
+ readonly disabled: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
47
+ readonly modelValue: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => import('element-plus').ModelValueType) | ((new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => import('element-plus').ModelValueType))[], unknown, unknown, "", boolean>;
48
+ readonly defaultValue: {
49
+ readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => Date | [Date, Date]) | (() => import('element-plus').SingleOrRange<Date>) | ((new (...args: any[]) => Date | [Date, Date]) | (() => import('element-plus').SingleOrRange<Date>))[], unknown, unknown>>;
50
+ readonly required: false;
51
+ readonly validator: ((val: unknown) => boolean) | undefined;
52
+ __epPropKey: true;
53
+ };
54
+ readonly defaultTime: {
55
+ readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => Date | [Date, Date]) | (() => import('element-plus').SingleOrRange<Date>) | ((new (...args: any[]) => Date | [Date, Date]) | (() => import('element-plus').SingleOrRange<Date>))[], unknown, unknown>>;
56
+ readonly required: false;
57
+ readonly validator: ((val: unknown) => boolean) | undefined;
58
+ __epPropKey: true;
59
+ };
60
+ readonly isRange: BooleanConstructor;
61
+ }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("clear" | "update:modelValue" | "visible-change" | "calendar-change" | "panel-change")[], "clear" | "update:modelValue" | "visible-change" | "calendar-change" | "panel-change", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
62
+ readonly disabledDate: {
63
+ readonly type: import('vue').PropType<Function>;
64
+ readonly required: false;
65
+ readonly validator: ((val: unknown) => boolean) | undefined;
66
+ __epPropKey: true;
67
+ };
68
+ readonly cellClassName: {
69
+ readonly type: import('vue').PropType<Function>;
70
+ readonly required: false;
71
+ readonly validator: ((val: unknown) => boolean) | undefined;
72
+ __epPropKey: true;
73
+ };
74
+ readonly shortcuts: import('element-plus/es/utils/index.mjs').EpPropFinalized<ArrayConstructor, unknown, unknown, () => never[], boolean>;
75
+ readonly arrowControl: BooleanConstructor;
76
+ readonly unlinkPanels: BooleanConstructor;
77
+ readonly showNow: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
78
+ readonly showConfirm: BooleanConstructor;
79
+ readonly showFooter: BooleanConstructor;
80
+ readonly showWeekNumber: BooleanConstructor;
81
+ readonly type: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => import('element-plus').DatePickerType) | ((new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => import('element-plus').DatePickerType))[], unknown, unknown, "date", boolean>;
82
+ readonly clearable: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
83
+ readonly border: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
84
+ readonly editable: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
85
+ readonly disabledHours: {
86
+ readonly type: import('vue').PropType<import('element-plus').GetDisabledHours>;
87
+ readonly required: false;
88
+ readonly validator: ((val: unknown) => boolean) | undefined;
89
+ __epPropKey: true;
90
+ };
91
+ readonly disabledMinutes: {
92
+ readonly type: import('vue').PropType<import('element-plus').GetDisabledMinutes>;
93
+ readonly required: false;
94
+ readonly validator: ((val: unknown) => boolean) | undefined;
95
+ __epPropKey: true;
96
+ };
97
+ readonly disabledSeconds: {
98
+ readonly type: import('vue').PropType<import('element-plus').GetDisabledSeconds>;
99
+ readonly required: false;
100
+ readonly validator: ((val: unknown) => boolean) | undefined;
101
+ __epPropKey: true;
102
+ };
103
+ readonly valueFormat: StringConstructor;
104
+ readonly dateFormat: StringConstructor;
105
+ readonly timeFormat: StringConstructor;
106
+ readonly disabled: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
107
+ readonly modelValue: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => import('element-plus').ModelValueType) | ((new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => import('element-plus').ModelValueType))[], unknown, unknown, "", boolean>;
108
+ readonly defaultValue: {
109
+ readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => Date | [Date, Date]) | (() => import('element-plus').SingleOrRange<Date>) | ((new (...args: any[]) => Date | [Date, Date]) | (() => import('element-plus').SingleOrRange<Date>))[], unknown, unknown>>;
110
+ readonly required: false;
111
+ readonly validator: ((val: unknown) => boolean) | undefined;
112
+ __epPropKey: true;
113
+ };
114
+ readonly defaultTime: {
115
+ readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => Date | [Date, Date]) | (() => import('element-plus').SingleOrRange<Date>) | ((new (...args: any[]) => Date | [Date, Date]) | (() => import('element-plus').SingleOrRange<Date>))[], unknown, unknown>>;
116
+ readonly required: false;
117
+ readonly validator: ((val: unknown) => boolean) | undefined;
118
+ __epPropKey: true;
119
+ };
120
+ readonly isRange: BooleanConstructor;
121
+ }>> & {
122
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
123
+ onClear?: ((...args: any[]) => any) | undefined;
124
+ "onCalendar-change"?: ((...args: any[]) => any) | undefined;
125
+ "onPanel-change"?: ((...args: any[]) => any) | undefined;
126
+ "onVisible-change"?: ((...args: any[]) => any) | undefined;
127
+ }, {
128
+ readonly disabled: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
129
+ readonly border: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
130
+ readonly type: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => import('element-plus').DatePickerType) | ((new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => import('element-plus').DatePickerType))[], unknown, unknown>;
131
+ readonly modelValue: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => import('element-plus').ModelValueType) | ((new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => import('element-plus').ModelValueType))[], unknown, unknown>;
132
+ readonly clearable: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
133
+ readonly editable: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
134
+ readonly shortcuts: unknown[];
135
+ readonly showNow: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
136
+ readonly showConfirm: boolean;
137
+ readonly showFooter: boolean;
138
+ readonly showWeekNumber: boolean;
139
+ readonly arrowControl: boolean;
140
+ readonly unlinkPanels: boolean;
141
+ readonly isRange: boolean;
142
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>>;
143
+ export default DatePickerPanel;