@element-plus/nightly 0.0.20220612 → 0.0.20220615

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 (404) hide show
  1. package/README.md +0 -5
  2. package/attributes.json +1 -1
  3. package/dist/index.css +1 -1
  4. package/dist/index.full.js +312 -291
  5. package/dist/index.full.min.js +12 -12
  6. package/dist/index.full.min.js.map +1 -1
  7. package/dist/index.full.min.mjs +12 -12
  8. package/dist/index.full.min.mjs.map +1 -1
  9. package/dist/index.full.mjs +313 -293
  10. package/dist/locale/af.js +1 -1
  11. package/dist/locale/af.min.js +1 -1
  12. package/dist/locale/af.min.mjs +1 -1
  13. package/dist/locale/af.mjs +1 -1
  14. package/dist/locale/ar.js +1 -1
  15. package/dist/locale/ar.min.js +1 -1
  16. package/dist/locale/ar.min.mjs +1 -1
  17. package/dist/locale/ar.mjs +1 -1
  18. package/dist/locale/az.js +1 -1
  19. package/dist/locale/az.min.js +1 -1
  20. package/dist/locale/az.min.mjs +1 -1
  21. package/dist/locale/az.mjs +1 -1
  22. package/dist/locale/bg.js +1 -1
  23. package/dist/locale/bg.min.js +1 -1
  24. package/dist/locale/bg.min.mjs +1 -1
  25. package/dist/locale/bg.mjs +1 -1
  26. package/dist/locale/bn.js +1 -1
  27. package/dist/locale/bn.min.js +1 -1
  28. package/dist/locale/bn.min.mjs +1 -1
  29. package/dist/locale/bn.mjs +1 -1
  30. package/dist/locale/ca.js +1 -1
  31. package/dist/locale/ca.min.js +1 -1
  32. package/dist/locale/ca.min.mjs +1 -1
  33. package/dist/locale/ca.mjs +1 -1
  34. package/dist/locale/cs.js +1 -1
  35. package/dist/locale/cs.min.js +1 -1
  36. package/dist/locale/cs.min.mjs +1 -1
  37. package/dist/locale/cs.mjs +1 -1
  38. package/dist/locale/da.js +1 -1
  39. package/dist/locale/da.min.js +1 -1
  40. package/dist/locale/da.min.mjs +1 -1
  41. package/dist/locale/da.mjs +1 -1
  42. package/dist/locale/de.js +1 -1
  43. package/dist/locale/de.min.js +1 -1
  44. package/dist/locale/de.min.mjs +1 -1
  45. package/dist/locale/de.mjs +1 -1
  46. package/dist/locale/el.js +1 -1
  47. package/dist/locale/el.min.js +1 -1
  48. package/dist/locale/el.min.mjs +1 -1
  49. package/dist/locale/el.mjs +1 -1
  50. package/dist/locale/en.js +1 -1
  51. package/dist/locale/en.min.js +1 -1
  52. package/dist/locale/en.min.mjs +1 -1
  53. package/dist/locale/en.mjs +1 -1
  54. package/dist/locale/eo.js +1 -1
  55. package/dist/locale/eo.min.js +1 -1
  56. package/dist/locale/eo.min.mjs +1 -1
  57. package/dist/locale/eo.mjs +1 -1
  58. package/dist/locale/es.js +1 -1
  59. package/dist/locale/es.min.js +1 -1
  60. package/dist/locale/es.min.mjs +1 -1
  61. package/dist/locale/es.mjs +1 -1
  62. package/dist/locale/et.js +1 -1
  63. package/dist/locale/et.min.js +1 -1
  64. package/dist/locale/et.min.mjs +1 -1
  65. package/dist/locale/et.mjs +1 -1
  66. package/dist/locale/eu.js +1 -1
  67. package/dist/locale/eu.min.js +1 -1
  68. package/dist/locale/eu.min.mjs +1 -1
  69. package/dist/locale/eu.mjs +1 -1
  70. package/dist/locale/fa.js +1 -1
  71. package/dist/locale/fa.min.js +1 -1
  72. package/dist/locale/fa.min.mjs +1 -1
  73. package/dist/locale/fa.mjs +1 -1
  74. package/dist/locale/fi.js +1 -1
  75. package/dist/locale/fi.min.js +1 -1
  76. package/dist/locale/fi.min.mjs +1 -1
  77. package/dist/locale/fi.mjs +1 -1
  78. package/dist/locale/fr.js +1 -1
  79. package/dist/locale/fr.min.js +1 -1
  80. package/dist/locale/fr.min.mjs +1 -1
  81. package/dist/locale/fr.mjs +1 -1
  82. package/dist/locale/he.js +1 -1
  83. package/dist/locale/he.min.js +1 -1
  84. package/dist/locale/he.min.mjs +1 -1
  85. package/dist/locale/he.mjs +1 -1
  86. package/dist/locale/hr.js +1 -1
  87. package/dist/locale/hr.min.js +1 -1
  88. package/dist/locale/hr.min.mjs +1 -1
  89. package/dist/locale/hr.mjs +1 -1
  90. package/dist/locale/hu.js +1 -1
  91. package/dist/locale/hu.min.js +1 -1
  92. package/dist/locale/hu.min.mjs +1 -1
  93. package/dist/locale/hu.mjs +1 -1
  94. package/dist/locale/hy-am.js +1 -1
  95. package/dist/locale/hy-am.min.js +1 -1
  96. package/dist/locale/hy-am.min.mjs +1 -1
  97. package/dist/locale/hy-am.mjs +1 -1
  98. package/dist/locale/id.js +1 -1
  99. package/dist/locale/id.min.js +1 -1
  100. package/dist/locale/id.min.mjs +1 -1
  101. package/dist/locale/id.mjs +1 -1
  102. package/dist/locale/it.js +1 -1
  103. package/dist/locale/it.min.js +1 -1
  104. package/dist/locale/it.min.mjs +1 -1
  105. package/dist/locale/it.mjs +1 -1
  106. package/dist/locale/ja.js +1 -1
  107. package/dist/locale/ja.min.js +1 -1
  108. package/dist/locale/ja.min.mjs +1 -1
  109. package/dist/locale/ja.mjs +1 -1
  110. package/dist/locale/kk.js +1 -1
  111. package/dist/locale/kk.min.js +1 -1
  112. package/dist/locale/kk.min.mjs +1 -1
  113. package/dist/locale/kk.mjs +1 -1
  114. package/dist/locale/km.js +1 -1
  115. package/dist/locale/km.min.js +1 -1
  116. package/dist/locale/km.min.mjs +1 -1
  117. package/dist/locale/km.mjs +1 -1
  118. package/dist/locale/ko.js +1 -1
  119. package/dist/locale/ko.min.js +1 -1
  120. package/dist/locale/ko.min.mjs +1 -1
  121. package/dist/locale/ko.mjs +1 -1
  122. package/dist/locale/ku.js +1 -1
  123. package/dist/locale/ku.min.js +1 -1
  124. package/dist/locale/ku.min.mjs +1 -1
  125. package/dist/locale/ku.mjs +1 -1
  126. package/dist/locale/ky.js +1 -1
  127. package/dist/locale/ky.min.js +1 -1
  128. package/dist/locale/ky.min.mjs +1 -1
  129. package/dist/locale/ky.mjs +1 -1
  130. package/dist/locale/lt.js +1 -1
  131. package/dist/locale/lt.min.js +1 -1
  132. package/dist/locale/lt.min.mjs +1 -1
  133. package/dist/locale/lt.mjs +1 -1
  134. package/dist/locale/lv.js +1 -1
  135. package/dist/locale/lv.min.js +1 -1
  136. package/dist/locale/lv.min.mjs +1 -1
  137. package/dist/locale/lv.mjs +1 -1
  138. package/dist/locale/mg.js +1 -1
  139. package/dist/locale/mg.min.js +1 -1
  140. package/dist/locale/mg.min.mjs +1 -1
  141. package/dist/locale/mg.mjs +1 -1
  142. package/dist/locale/mn.js +1 -1
  143. package/dist/locale/mn.min.js +1 -1
  144. package/dist/locale/mn.min.mjs +1 -1
  145. package/dist/locale/mn.mjs +1 -1
  146. package/dist/locale/nb-no.js +1 -1
  147. package/dist/locale/nb-no.min.js +1 -1
  148. package/dist/locale/nb-no.min.mjs +1 -1
  149. package/dist/locale/nb-no.mjs +1 -1
  150. package/dist/locale/nl.js +1 -1
  151. package/dist/locale/nl.min.js +1 -1
  152. package/dist/locale/nl.min.mjs +1 -1
  153. package/dist/locale/nl.mjs +1 -1
  154. package/dist/locale/pa.js +1 -1
  155. package/dist/locale/pa.min.js +1 -1
  156. package/dist/locale/pa.min.mjs +1 -1
  157. package/dist/locale/pa.mjs +1 -1
  158. package/dist/locale/pl.js +1 -1
  159. package/dist/locale/pl.min.js +1 -1
  160. package/dist/locale/pl.min.mjs +1 -1
  161. package/dist/locale/pl.mjs +1 -1
  162. package/dist/locale/pt-br.js +1 -1
  163. package/dist/locale/pt-br.min.js +1 -1
  164. package/dist/locale/pt-br.min.mjs +1 -1
  165. package/dist/locale/pt-br.mjs +1 -1
  166. package/dist/locale/pt.js +1 -1
  167. package/dist/locale/pt.min.js +1 -1
  168. package/dist/locale/pt.min.mjs +1 -1
  169. package/dist/locale/pt.mjs +1 -1
  170. package/dist/locale/ro.js +1 -1
  171. package/dist/locale/ro.min.js +1 -1
  172. package/dist/locale/ro.min.mjs +1 -1
  173. package/dist/locale/ro.mjs +1 -1
  174. package/dist/locale/ru.js +1 -1
  175. package/dist/locale/ru.min.js +1 -1
  176. package/dist/locale/ru.min.mjs +1 -1
  177. package/dist/locale/ru.mjs +1 -1
  178. package/dist/locale/sk.js +1 -1
  179. package/dist/locale/sk.min.js +1 -1
  180. package/dist/locale/sk.min.mjs +1 -1
  181. package/dist/locale/sk.mjs +1 -1
  182. package/dist/locale/sl.js +1 -1
  183. package/dist/locale/sl.min.js +1 -1
  184. package/dist/locale/sl.min.mjs +1 -1
  185. package/dist/locale/sl.mjs +1 -1
  186. package/dist/locale/sr.js +1 -1
  187. package/dist/locale/sr.min.js +1 -1
  188. package/dist/locale/sr.min.mjs +1 -1
  189. package/dist/locale/sr.mjs +1 -1
  190. package/dist/locale/sv.js +1 -1
  191. package/dist/locale/sv.min.js +1 -1
  192. package/dist/locale/sv.min.mjs +1 -1
  193. package/dist/locale/sv.mjs +1 -1
  194. package/dist/locale/ta.js +1 -1
  195. package/dist/locale/ta.min.js +1 -1
  196. package/dist/locale/ta.min.mjs +1 -1
  197. package/dist/locale/ta.mjs +1 -1
  198. package/dist/locale/th.js +1 -1
  199. package/dist/locale/th.min.js +1 -1
  200. package/dist/locale/th.min.mjs +1 -1
  201. package/dist/locale/th.mjs +1 -1
  202. package/dist/locale/tk.js +1 -1
  203. package/dist/locale/tk.min.js +1 -1
  204. package/dist/locale/tk.min.mjs +1 -1
  205. package/dist/locale/tk.mjs +1 -1
  206. package/dist/locale/tr.js +1 -1
  207. package/dist/locale/tr.min.js +1 -1
  208. package/dist/locale/tr.min.mjs +1 -1
  209. package/dist/locale/tr.mjs +1 -1
  210. package/dist/locale/ug-cn.js +1 -1
  211. package/dist/locale/ug-cn.min.js +1 -1
  212. package/dist/locale/ug-cn.min.mjs +1 -1
  213. package/dist/locale/ug-cn.mjs +1 -1
  214. package/dist/locale/uk.js +1 -1
  215. package/dist/locale/uk.min.js +1 -1
  216. package/dist/locale/uk.min.mjs +1 -1
  217. package/dist/locale/uk.mjs +1 -1
  218. package/dist/locale/uz-uz.js +1 -1
  219. package/dist/locale/uz-uz.min.js +1 -1
  220. package/dist/locale/uz-uz.min.mjs +1 -1
  221. package/dist/locale/uz-uz.mjs +1 -1
  222. package/dist/locale/vi.js +1 -1
  223. package/dist/locale/vi.min.js +1 -1
  224. package/dist/locale/vi.min.mjs +1 -1
  225. package/dist/locale/vi.mjs +1 -1
  226. package/dist/locale/zh-cn.js +1 -1
  227. package/dist/locale/zh-cn.min.js +1 -1
  228. package/dist/locale/zh-cn.min.mjs +1 -1
  229. package/dist/locale/zh-cn.mjs +1 -1
  230. package/dist/locale/zh-tw.js +1 -1
  231. package/dist/locale/zh-tw.min.js +1 -1
  232. package/dist/locale/zh-tw.min.mjs +1 -1
  233. package/dist/locale/zh-tw.mjs +1 -1
  234. package/es/components/autocomplete/index.d.ts +9 -6
  235. package/es/components/autocomplete/src/autocomplete.vue.d.ts +9 -6
  236. package/es/components/carousel/index.d.ts +20 -20
  237. package/es/components/carousel/src/carousel.d.ts +5 -5
  238. package/es/components/carousel/src/carousel.vue.d.ts +20 -20
  239. package/es/components/carousel/src/carousel3.mjs +18 -7
  240. package/es/components/carousel/src/carousel3.mjs.map +1 -1
  241. package/es/components/cascader/index.d.ts +12 -8
  242. package/es/components/cascader/src/index.vue.d.ts +6 -4
  243. package/es/components/checkbox/index.d.ts +14 -14
  244. package/es/components/checkbox/index.mjs +1 -1
  245. package/es/components/checkbox/index2.mjs +1 -1
  246. package/es/components/checkbox/src/checkbox-group.vue.d.ts +7 -7
  247. package/es/components/checkbox/src/checkbox-group2.mjs +2 -2
  248. package/es/components/checkbox/src/checkbox-group2.mjs.map +1 -1
  249. package/es/components/checkbox/src/checkbox.d.ts +8 -2
  250. package/es/components/checkbox/src/checkbox.mjs +1 -1
  251. package/es/components/checkbox/src/checkbox3.mjs +6 -2
  252. package/es/components/checkbox/src/checkbox3.mjs.map +1 -1
  253. package/es/components/collapse/index.d.ts +12 -12
  254. package/es/components/collapse/src/collapse-item.vue.d.ts +6 -6
  255. package/es/components/collapse-transition/index.d.ts +12 -12
  256. package/es/components/collapse-transition/src/collapse-transition.vue.d.ts +7 -6
  257. package/es/components/collapse-transition/src/collapse-transition2.mjs.map +1 -1
  258. package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +3 -2
  259. package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +3 -2
  260. package/es/components/date-picker/src/panel-utils.d.ts +6 -4
  261. package/es/components/form/index.mjs +1 -1
  262. package/es/components/form/index2.mjs +2 -2
  263. package/es/components/form/src/form.mjs +1 -1
  264. package/es/components/form/src/form3.mjs +148 -48
  265. package/es/components/form/src/form3.mjs.map +1 -1
  266. package/es/components/form/src/form4.mjs +48 -148
  267. package/es/components/form/src/form4.mjs.map +1 -1
  268. package/es/components/index.mjs +2 -2
  269. package/es/components/input/index.d.ts +3 -2
  270. package/es/components/input/src/input.vue.d.ts +3 -2
  271. package/es/components/input/src/input4.mjs +4 -5
  272. package/es/components/input/src/input4.mjs.map +1 -1
  273. package/es/components/input-number/index.d.ts +9 -6
  274. package/es/components/input-number/src/input-number.vue.d.ts +9 -6
  275. package/es/components/pagination/src/components/jumper.vue.d.ts +3 -2
  276. package/es/components/select-v2/index.d.ts +2 -2
  277. package/es/components/select-v2/src/select.vue.d.ts +1 -1
  278. package/es/components/select-v2/src/useSelect.d.ts +1 -1
  279. package/es/components/slider/index.d.ts +9 -6
  280. package/es/components/slider/src/slider.vue.d.ts +9 -6
  281. package/es/components/time-picker/src/common/picker.vue.d.ts +3 -2
  282. package/es/components/time-picker/src/common/picker2.mjs +2 -1
  283. package/es/components/time-picker/src/common/picker2.mjs.map +1 -1
  284. package/es/components/tooltip-v2/index.d.ts +11 -8
  285. package/es/components/tooltip-v2/src/content.vue.d.ts +11 -8
  286. package/es/components/tooltip-v2/src/content4.mjs +1 -1
  287. package/es/components/tooltip-v2/src/tooltip.vue.d.ts +11 -8
  288. package/es/components/virtual-list/src/builders/build-list2.mjs +1 -1
  289. package/es/components/virtual-list/src/builders/build-list2.mjs.map +1 -1
  290. package/es/components/visual-hidden/index.d.ts +1 -0
  291. package/es/components/visual-hidden/index.mjs +2 -1
  292. package/es/components/visual-hidden/index.mjs.map +1 -1
  293. package/es/components/visual-hidden/index2.mjs +3 -2
  294. package/es/components/visual-hidden/index2.mjs.map +1 -1
  295. package/es/components/visual-hidden/src/visual-hidden.d.ts +4 -0
  296. package/es/components/visual-hidden/src/visual-hidden.mjs +1 -6
  297. package/es/components/visual-hidden/src/visual-hidden.mjs.map +1 -1
  298. package/es/components/visual-hidden/src/visual-hidden.vue.d.ts +12 -8
  299. package/es/components/visual-hidden/src/visual-hidden2.mjs +3 -37
  300. package/es/components/visual-hidden/src/visual-hidden2.mjs.map +1 -1
  301. package/es/components/visual-hidden/src/visual-hidden3.mjs +12 -0
  302. package/es/components/visual-hidden/src/visual-hidden3.mjs.map +1 -0
  303. package/es/components/visual-hidden/src/visual-hidden4.mjs +40 -0
  304. package/es/components/visual-hidden/src/visual-hidden4.mjs.map +1 -0
  305. package/es/index.mjs +2 -2
  306. package/es/tokens/form.d.ts +2 -2
  307. package/es/tokens/form2.mjs.map +1 -1
  308. package/es/utils/vue/vnode2.mjs +2 -2
  309. package/es/utils/vue/vnode2.mjs.map +1 -1
  310. package/es/version.d.ts +1 -1
  311. package/es/version2.mjs +1 -1
  312. package/es/version2.mjs.map +1 -1
  313. package/lib/components/autocomplete/index.d.ts +9 -6
  314. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +9 -6
  315. package/lib/components/carousel/index.d.ts +20 -20
  316. package/lib/components/carousel/src/carousel.d.ts +5 -5
  317. package/lib/components/carousel/src/carousel.vue.d.ts +20 -20
  318. package/lib/components/carousel/src/carousel3.js +18 -7
  319. package/lib/components/carousel/src/carousel3.js.map +1 -1
  320. package/lib/components/cascader/index.d.ts +12 -8
  321. package/lib/components/cascader/src/index.vue.d.ts +6 -4
  322. package/lib/components/checkbox/index.d.ts +14 -14
  323. package/lib/components/checkbox/index.js +1 -0
  324. package/lib/components/checkbox/index.js.map +1 -1
  325. package/lib/components/checkbox/index2.js +1 -0
  326. package/lib/components/checkbox/index2.js.map +1 -1
  327. package/lib/components/checkbox/src/checkbox-group.vue.d.ts +7 -7
  328. package/lib/components/checkbox/src/checkbox-group2.js +1 -1
  329. package/lib/components/checkbox/src/checkbox-group2.js.map +1 -1
  330. package/lib/components/checkbox/src/checkbox.d.ts +8 -2
  331. package/lib/components/checkbox/src/checkbox.js +1 -0
  332. package/lib/components/checkbox/src/checkbox.js.map +1 -1
  333. package/lib/components/checkbox/src/checkbox3.js +5 -0
  334. package/lib/components/checkbox/src/checkbox3.js.map +1 -1
  335. package/lib/components/collapse/index.d.ts +12 -12
  336. package/lib/components/collapse/src/collapse-item.vue.d.ts +6 -6
  337. package/lib/components/collapse-transition/index.d.ts +12 -12
  338. package/lib/components/collapse-transition/src/collapse-transition.vue.d.ts +7 -6
  339. package/lib/components/collapse-transition/src/collapse-transition2.js.map +1 -1
  340. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +3 -2
  341. package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +3 -2
  342. package/lib/components/date-picker/src/panel-utils.d.ts +6 -4
  343. package/lib/components/form/index.js +1 -1
  344. package/lib/components/form/index2.js +2 -2
  345. package/lib/components/form/src/form.js +1 -1
  346. package/lib/components/form/src/form3.js +147 -48
  347. package/lib/components/form/src/form3.js.map +1 -1
  348. package/lib/components/form/src/form4.js +48 -147
  349. package/lib/components/form/src/form4.js.map +1 -1
  350. package/lib/components/index.js +2 -1
  351. package/lib/components/index.js.map +1 -1
  352. package/lib/components/input/index.d.ts +3 -2
  353. package/lib/components/input/src/input.vue.d.ts +3 -2
  354. package/lib/components/input/src/input4.js +3 -4
  355. package/lib/components/input/src/input4.js.map +1 -1
  356. package/lib/components/input-number/index.d.ts +9 -6
  357. package/lib/components/input-number/src/input-number.vue.d.ts +9 -6
  358. package/lib/components/pagination/src/components/jumper.vue.d.ts +3 -2
  359. package/lib/components/select-v2/index.d.ts +2 -2
  360. package/lib/components/select-v2/src/select.vue.d.ts +1 -1
  361. package/lib/components/select-v2/src/useSelect.d.ts +1 -1
  362. package/lib/components/slider/index.d.ts +9 -6
  363. package/lib/components/slider/src/slider.vue.d.ts +9 -6
  364. package/lib/components/time-picker/src/common/picker.vue.d.ts +3 -2
  365. package/lib/components/time-picker/src/common/picker2.js +2 -1
  366. package/lib/components/time-picker/src/common/picker2.js.map +1 -1
  367. package/lib/components/tooltip-v2/index.d.ts +11 -8
  368. package/lib/components/tooltip-v2/src/content.vue.d.ts +11 -8
  369. package/lib/components/tooltip-v2/src/content4.js +1 -1
  370. package/lib/components/tooltip-v2/src/tooltip.vue.d.ts +11 -8
  371. package/lib/components/virtual-list/src/builders/build-list2.js +1 -1
  372. package/lib/components/virtual-list/src/builders/build-list2.js.map +1 -1
  373. package/lib/components/visual-hidden/index.d.ts +1 -0
  374. package/lib/components/visual-hidden/index.js +3 -1
  375. package/lib/components/visual-hidden/index.js.map +1 -1
  376. package/lib/components/visual-hidden/index2.js +3 -1
  377. package/lib/components/visual-hidden/index2.js.map +1 -1
  378. package/lib/components/visual-hidden/src/visual-hidden.d.ts +4 -0
  379. package/lib/components/visual-hidden/src/visual-hidden.js +3 -4
  380. package/lib/components/visual-hidden/src/visual-hidden.js.map +1 -1
  381. package/lib/components/visual-hidden/src/visual-hidden.vue.d.ts +12 -8
  382. package/lib/components/visual-hidden/src/visual-hidden2.js +3 -37
  383. package/lib/components/visual-hidden/src/visual-hidden2.js.map +1 -1
  384. package/lib/components/visual-hidden/src/visual-hidden3.js +16 -0
  385. package/lib/components/visual-hidden/src/visual-hidden3.js.map +1 -0
  386. package/lib/components/visual-hidden/src/visual-hidden4.js +44 -0
  387. package/lib/components/visual-hidden/src/visual-hidden4.js.map +1 -0
  388. package/lib/index.js +2 -1
  389. package/lib/index.js.map +1 -1
  390. package/lib/tokens/form.d.ts +2 -2
  391. package/lib/tokens/form2.js.map +1 -1
  392. package/lib/utils/vue/vnode2.js +1 -1
  393. package/lib/utils/vue/vnode2.js.map +1 -1
  394. package/lib/version.d.ts +1 -1
  395. package/lib/version2.js +1 -1
  396. package/lib/version2.js.map +1 -1
  397. package/package.json +4 -4
  398. package/tags.json +1 -1
  399. package/theme-chalk/el-button.css +1 -1
  400. package/theme-chalk/el-col.css +1 -1
  401. package/theme-chalk/index.css +1 -1
  402. package/theme-chalk/src/button.scss +2 -1
  403. package/theme-chalk/src/col.scss +0 -1
  404. package/web-types.json +1 -1
@@ -0,0 +1,40 @@
1
+ import { defineComponent, computed, openBlock, createElementBlock, mergeProps, unref, renderSlot } from 'vue';
2
+ import { visualHiddenProps } from './visual-hidden3.mjs';
3
+ import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
4
+
5
+ const __default__ = {
6
+ name: "ElVisuallyHidden"
7
+ };
8
+ const _sfc_main = /* @__PURE__ */ defineComponent({
9
+ ...__default__,
10
+ props: visualHiddenProps,
11
+ setup(__props) {
12
+ const props = __props;
13
+ const computedStyle = computed(() => {
14
+ return [
15
+ props.style,
16
+ {
17
+ position: "absolute",
18
+ border: 0,
19
+ width: 1,
20
+ height: 1,
21
+ padding: 0,
22
+ margin: -1,
23
+ overflow: "hidden",
24
+ clip: "rect(0, 0, 0, 0)",
25
+ whiteSpace: "nowrap",
26
+ wordWrap: "normal"
27
+ }
28
+ ];
29
+ });
30
+ return (_ctx, _cache) => {
31
+ return openBlock(), createElementBlock("span", mergeProps(_ctx.$attrs, { style: unref(computedStyle) }), [
32
+ renderSlot(_ctx.$slots, "default")
33
+ ], 16);
34
+ };
35
+ }
36
+ });
37
+ var ElVisuallyHidden = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/visual-hidden/src/visual-hidden.vue"]]);
38
+
39
+ export { ElVisuallyHidden as default };
40
+ //# sourceMappingURL=visual-hidden4.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"visual-hidden4.mjs","sources":["../../../../../../packages/components/visual-hidden/src/visual-hidden.vue"],"sourcesContent":["<template>\n <span v-bind=\"$attrs\" :style=\"computedStyle\">\n <slot />\n </span>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { visualHiddenProps } from './visual-hidden'\nimport type { StyleValue } from 'vue'\nconst props = defineProps(visualHiddenProps)\n\ndefineOptions({\n name: 'ElVisuallyHidden',\n})\n\nconst computedStyle = computed<StyleValue>(() => {\n return [\n props.style,\n {\n position: 'absolute',\n border: 0,\n width: 1,\n height: 1,\n padding: 0,\n margin: -1,\n overflow: 'hidden',\n clip: 'rect(0, 0, 0, 0)',\n whiteSpace: 'nowrap',\n wordWrap: 'normal',\n },\n ]\n})\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;AAgBA,IAAA,MAAA,aAAA,GAAA,SAAA,MAAA;AACA,MAAA,OAAA;AAAA,QACA,KAAA,CAAA,KAAA;AAAA,QACA;AAAA,UACA,QAAA,EAAA,UAAA;AAAA,UACA,MAAA,EAAA,CAAA;AAAA,UACA,KAAA,EAAA,CAAA;AAAA,UACA,MAAA,EAAA,CAAA;AAAA,UACA,OAAA,EAAA,CAAA;AAAA,UACA,MAAA,EAAA,CAAA,CAAA;AAAA,UACA,QAAA,EAAA,QAAA;AAAA,UACA,IAAA,EAAA,kBAAA;AAAA,UACA,UAAA,EAAA,QAAA;AAAA,UACA,QAAA,EAAA,QAAA;AAAA,SACA;AAAA,OACA,CAAA;AAAA,KACA,CAAA,CAAA;;;;;;;;;;;;"}
package/es/index.mjs CHANGED
@@ -31,7 +31,7 @@ export { CommonProps, DefaultProps, useCascaderConfig } from './components/casca
31
31
  export { ElCascaderPanel } from './components/cascader-panel/index2.mjs';
32
32
  export { checkTagEmits, checkTagProps } from './components/check-tag/src/check-tag3.mjs';
33
33
  export { ElCheckTag } from './components/check-tag/index2.mjs';
34
- export { checkboxEmits, checkboxProps, useCheckbox, useCheckboxGroup, useCheckboxGroupId, useCheckboxGroupProps } from './components/checkbox/src/checkbox3.mjs';
34
+ export { checkboxEmits, checkboxGroupEmits, checkboxProps, useCheckbox, useCheckboxGroup, useCheckboxGroupId, useCheckboxGroupProps } from './components/checkbox/src/checkbox3.mjs';
35
35
  export { ElCheckbox, ElCheckboxButton, ElCheckboxGroup } from './components/checkbox/index2.mjs';
36
36
  export { colProps } from './components/col/src/col3.mjs';
37
37
  export { ElCol } from './components/col/index2.mjs';
@@ -57,7 +57,7 @@ export { DROPDOWN_INJECTION_KEY } from './components/dropdown/src/tokens2.mjs';
57
57
  export { ElDropdown, ElDropdownItem, ElDropdownMenu } from './components/dropdown/index2.mjs';
58
58
  export { emptyProps } from './components/empty/src/empty3.mjs';
59
59
  export { ElEmpty } from './components/empty/index2.mjs';
60
- export { formEmits, formProps } from './components/form/src/form3.mjs';
60
+ export { formEmits, formProps } from './components/form/src/form4.mjs';
61
61
  export { formItemProps, formItemValidateStates } from './components/form/src/form-item3.mjs';
62
62
  export { ElForm, ElFormItem } from './components/form/index2.mjs';
63
63
  export { iconProps } from './components/icon/src/icon3.mjs';
@@ -1,7 +1,7 @@
1
1
  import type { InjectionKey, SetupContext, UnwrapRef } from 'vue';
2
2
  import type { RuleItem, ValidateError, ValidateFieldsError } from 'async-validator';
3
3
  import type { ComponentSize } from 'element-plus/es/constants';
4
- import type { FormEmits, FormItemProp, FormItemProps, FormLabelWidthContext, FormProps } from 'element-plus/es/components/form';
4
+ import type { FormEmits, FormItemProp, FormItemProps, FormItemValidateState, FormLabelWidthContext, FormProps } from 'element-plus/es/components/form';
5
5
  import type { Arrayable } from 'element-plus/es/utils';
6
6
  export interface FormItemRule extends RuleItem {
7
7
  trigger?: Arrayable<string>;
@@ -24,7 +24,7 @@ export declare type FormContext = FormProps & UnwrapRef<FormLabelWidthContext> &
24
24
  export interface FormItemContext extends FormItemProps {
25
25
  $el: HTMLDivElement | undefined;
26
26
  size: ComponentSize;
27
- validateState: string;
27
+ validateState: FormItemValidateState;
28
28
  isGroup: boolean;
29
29
  labelId: string;
30
30
  inputIds: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"form2.mjs","sources":["../../../../packages/tokens/form.ts"],"sourcesContent":["import type { InjectionKey, SetupContext, UnwrapRef } from 'vue'\nimport type {\n RuleItem,\n ValidateError,\n ValidateFieldsError,\n} from 'async-validator'\nimport type { ComponentSize } from '@element-plus/constants'\nimport type {\n FormEmits,\n FormItemProp,\n FormItemProps,\n FormLabelWidthContext,\n FormProps,\n} from '@element-plus/components/form'\nimport type { Arrayable } from '@element-plus/utils'\n\nexport interface FormItemRule extends RuleItem {\n trigger?: Arrayable<string>\n}\nexport type FormRules = Partial<Record<string, Arrayable<FormItemRule>>>\n\nexport type FormValidationResult = Promise<boolean>\nexport type FormValidateCallback = (\n isValid: boolean,\n invalidFields?: ValidateFieldsError\n) => void\nexport interface FormValidateFailure {\n errors: ValidateError[] | null\n fields: ValidateFieldsError\n}\n\nexport type FormContext = FormProps &\n UnwrapRef<FormLabelWidthContext> & {\n emit: SetupContext<FormEmits>['emit']\n\n // expose\n addField: (field: FormItemContext) => void\n removeField: (field: FormItemContext) => void\n resetFields: (props?: Arrayable<FormItemProp>) => void\n clearValidate: (props?: Arrayable<FormItemProp>) => void\n validateField: (\n props?: Arrayable<FormItemProp>,\n callback?: FormValidateCallback\n ) => FormValidationResult\n }\n\nexport interface FormItemContext extends FormItemProps {\n $el: HTMLDivElement | undefined\n size: ComponentSize\n validateState: string\n isGroup: boolean\n labelId: string\n inputIds: string[]\n addInputId: (id: string) => void\n removeInputId: (id: string) => void\n validate: (\n trigger: string,\n callback?: FormValidateCallback\n ) => FormValidationResult\n resetField(): void\n clearValidate(): void\n}\n\nexport const formContextKey: InjectionKey<FormContext> =\n Symbol('formContextKey')\nexport const formItemContextKey: InjectionKey<FormItemContext> =\n Symbol('formItemContextKey')\n"],"names":[],"mappings":"AAAY,MAAC,cAAc,GAAG,MAAM,CAAC,gBAAgB,EAAE;AAC3C,MAAC,kBAAkB,GAAG,MAAM,CAAC,oBAAoB;;;;"}
1
+ {"version":3,"file":"form2.mjs","sources":["../../../../packages/tokens/form.ts"],"sourcesContent":["import type { InjectionKey, SetupContext, UnwrapRef } from 'vue'\nimport type {\n RuleItem,\n ValidateError,\n ValidateFieldsError,\n} from 'async-validator'\nimport type { ComponentSize } from '@element-plus/constants'\nimport type {\n FormEmits,\n FormItemProp,\n FormItemProps,\n FormItemValidateState,\n FormLabelWidthContext,\n FormProps,\n} from '@element-plus/components/form'\nimport type { Arrayable } from '@element-plus/utils'\n\nexport interface FormItemRule extends RuleItem {\n trigger?: Arrayable<string>\n}\nexport type FormRules = Partial<Record<string, Arrayable<FormItemRule>>>\n\nexport type FormValidationResult = Promise<boolean>\nexport type FormValidateCallback = (\n isValid: boolean,\n invalidFields?: ValidateFieldsError\n) => void\nexport interface FormValidateFailure {\n errors: ValidateError[] | null\n fields: ValidateFieldsError\n}\n\nexport type FormContext = FormProps &\n UnwrapRef<FormLabelWidthContext> & {\n emit: SetupContext<FormEmits>['emit']\n\n // expose\n addField: (field: FormItemContext) => void\n removeField: (field: FormItemContext) => void\n resetFields: (props?: Arrayable<FormItemProp>) => void\n clearValidate: (props?: Arrayable<FormItemProp>) => void\n validateField: (\n props?: Arrayable<FormItemProp>,\n callback?: FormValidateCallback\n ) => FormValidationResult\n }\n\nexport interface FormItemContext extends FormItemProps {\n $el: HTMLDivElement | undefined\n size: ComponentSize\n validateState: FormItemValidateState\n isGroup: boolean\n labelId: string\n inputIds: string[]\n addInputId: (id: string) => void\n removeInputId: (id: string) => void\n validate: (\n trigger: string,\n callback?: FormValidateCallback\n ) => FormValidationResult\n resetField(): void\n clearValidate(): void\n}\n\nexport const formContextKey: InjectionKey<FormContext> =\n Symbol('formContextKey')\nexport const formItemContextKey: InjectionKey<FormItemContext> =\n Symbol('formItemContextKey')\n"],"names":[],"mappings":"AAAY,MAAC,cAAc,GAAG,MAAM,CAAC,gBAAgB,EAAE;AAC3C,MAAC,kBAAkB,GAAG,MAAM,CAAC,oBAAoB;;;;"}
@@ -1,5 +1,5 @@
1
- import { isVNode, Fragment, Text, Comment, openBlock, createBlock, createCommentVNode, camelize } from 'vue';
2
- import { hasOwn, isArray } from '@vue/shared';
1
+ import { isVNode, Fragment, Text, Comment, openBlock, createBlock, createCommentVNode } from 'vue';
2
+ import { hasOwn, camelize, isArray } from '@vue/shared';
3
3
  import '../objects2.mjs';
4
4
  import { debugWarn } from '../error2.mjs';
5
5
 
@@ -1 +1 @@
1
- {"version":3,"file":"vnode2.mjs","sources":["../../../../../packages/utils/vue/vnode.ts"],"sourcesContent":["import {\n Comment,\n Fragment,\n Text,\n camelize,\n createBlock,\n createCommentVNode,\n isVNode,\n openBlock,\n} from 'vue'\nimport { isArray } from '@vue/shared'\nimport { hasOwn } from '../objects'\nimport { debugWarn } from '../error'\nimport type {\n VNode,\n VNodeArrayChildren,\n VNodeChild,\n VNodeNormalizedChildren,\n} from 'vue'\n\nconst SCOPE = 'utils/vue/vnode'\n\nexport enum PatchFlags {\n TEXT = 1,\n CLASS = 2,\n STYLE = 4,\n PROPS = 8,\n FULL_PROPS = 16,\n HYDRATE_EVENTS = 32,\n STABLE_FRAGMENT = 64,\n KEYED_FRAGMENT = 128,\n UNKEYED_FRAGMENT = 256,\n NEED_PATCH = 512,\n DYNAMIC_SLOTS = 1024,\n HOISTED = -1,\n BAIL = -2,\n}\n\nexport function isFragment(node: VNode): boolean\nexport function isFragment(node: unknown): node is VNode\nexport function isFragment(node: unknown): node is VNode {\n return isVNode(node) && node.type === Fragment\n}\n\nexport function isText(node: VNode): boolean\nexport function isText(node: unknown): node is VNode\nexport function isText(node: unknown): node is VNode {\n return isVNode(node) && node.type === Text\n}\n\nexport function isComment(node: VNode): boolean\nexport function isComment(node: unknown): node is VNode\nexport function isComment(node: unknown): node is VNode {\n return isVNode(node) && node.type === Comment\n}\n\nconst TEMPLATE = 'template'\nexport function isTemplate(node: VNode): boolean\nexport function isTemplate(node: unknown): node is VNode\nexport function isTemplate(node: unknown): node is VNode {\n return isVNode(node) && node.type === TEMPLATE\n}\n\n/**\n * determine if the element is a valid element type rather than fragments and comment e.g. <template> v-if\n * @param node {VNode} node to be tested\n */\nexport function isValidElementNode(node: VNode): boolean\nexport function isValidElementNode(node: unknown): node is VNode\nexport function isValidElementNode(node: unknown): node is VNode {\n return isVNode(node) && !isFragment(node) && !isComment(node)\n}\n\n/**\n * get a valid child node (not fragment nor comment)\n * @param node {VNode} node to be searched\n * @param depth {number} depth to be searched\n */\nfunction getChildren(\n node: VNodeNormalizedChildren | VNodeChild,\n depth: number\n): VNodeNormalizedChildren | VNodeChild {\n if (isComment(node)) return\n if (isFragment(node) || isTemplate(node)) {\n return depth > 0 ? getFirstValidNode(node.children, depth - 1) : undefined\n }\n return node\n}\n\nexport const getFirstValidNode = (\n nodes: VNodeNormalizedChildren,\n maxDepth = 3\n) => {\n if (Array.isArray(nodes)) {\n return getChildren(nodes[0], maxDepth)\n } else {\n return getChildren(nodes, maxDepth)\n }\n}\n\nexport function renderIf(\n condition: boolean,\n ...args: Parameters<typeof createBlock>\n) {\n return condition ? renderBlock(...args) : createCommentVNode('v-if', true)\n}\n\nexport function renderBlock(...args: Parameters<typeof createBlock>) {\n return openBlock(), createBlock(...args)\n}\n\nexport const getNormalizedProps = (node: VNode) => {\n if (!isVNode(node)) {\n debugWarn(SCOPE, '[getNormalizedProps] must be a VNode')\n return {}\n }\n\n const raw = node.props || {}\n const type = (isVNode(node.type) ? node.type.props : undefined) || {}\n const props: Record<string, any> = {}\n\n Object.keys(type).forEach((key) => {\n if (hasOwn(type[key], 'default')) {\n props[key] = type[key].default\n }\n })\n\n Object.keys(raw).forEach((key) => {\n props[camelize(key)] = raw[key]\n })\n\n return props\n}\n\nexport const ensureOnlyChild = (children: VNodeArrayChildren | undefined) => {\n if (!isArray(children) || children.length > 1) {\n throw new Error('expect to receive a single Vue element child')\n }\n return children[0]\n}\n"],"names":[],"mappings":";;;;;AAaA,MAAM,KAAK,GAAG,iBAAiB,CAAC;AACtB,IAAC,UAAU,mBAAmB,CAAC,CAAC,WAAW,KAAK;AAC1D,EAAE,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,OAAO,CAAC,CAAC,GAAG,KAAK;AACpC,IAAI,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;AACpC,GAAG,CAAC,CAAC;AACL,EAAE,OAAO,KAAK,CAAC;AACf,EAAE;AACU,MAAC,eAAe,GAAG,CAAC,QAAQ,KAAK;AAC7C,EAAE,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE;AACjD,IAAI,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;AACpE,GAAG;AACH,EAAE,OAAO,QAAQ,CAAC,CAAC,CAAC,CAAC;AACrB;;;;"}
1
+ {"version":3,"file":"vnode2.mjs","sources":["../../../../../packages/utils/vue/vnode.ts"],"sourcesContent":["import {\n Comment,\n Fragment,\n Text,\n createBlock,\n createCommentVNode,\n isVNode,\n openBlock,\n} from 'vue'\nimport { camelize, isArray } from '@vue/shared'\nimport { hasOwn } from '../objects'\nimport { debugWarn } from '../error'\nimport type {\n VNode,\n VNodeArrayChildren,\n VNodeChild,\n VNodeNormalizedChildren,\n} from 'vue'\n\nconst SCOPE = 'utils/vue/vnode'\n\nexport enum PatchFlags {\n TEXT = 1,\n CLASS = 2,\n STYLE = 4,\n PROPS = 8,\n FULL_PROPS = 16,\n HYDRATE_EVENTS = 32,\n STABLE_FRAGMENT = 64,\n KEYED_FRAGMENT = 128,\n UNKEYED_FRAGMENT = 256,\n NEED_PATCH = 512,\n DYNAMIC_SLOTS = 1024,\n HOISTED = -1,\n BAIL = -2,\n}\n\nexport function isFragment(node: VNode): boolean\nexport function isFragment(node: unknown): node is VNode\nexport function isFragment(node: unknown): node is VNode {\n return isVNode(node) && node.type === Fragment\n}\n\nexport function isText(node: VNode): boolean\nexport function isText(node: unknown): node is VNode\nexport function isText(node: unknown): node is VNode {\n return isVNode(node) && node.type === Text\n}\n\nexport function isComment(node: VNode): boolean\nexport function isComment(node: unknown): node is VNode\nexport function isComment(node: unknown): node is VNode {\n return isVNode(node) && node.type === Comment\n}\n\nconst TEMPLATE = 'template'\nexport function isTemplate(node: VNode): boolean\nexport function isTemplate(node: unknown): node is VNode\nexport function isTemplate(node: unknown): node is VNode {\n return isVNode(node) && node.type === TEMPLATE\n}\n\n/**\n * determine if the element is a valid element type rather than fragments and comment e.g. <template> v-if\n * @param node {VNode} node to be tested\n */\nexport function isValidElementNode(node: VNode): boolean\nexport function isValidElementNode(node: unknown): node is VNode\nexport function isValidElementNode(node: unknown): node is VNode {\n return isVNode(node) && !isFragment(node) && !isComment(node)\n}\n\n/**\n * get a valid child node (not fragment nor comment)\n * @param node {VNode} node to be searched\n * @param depth {number} depth to be searched\n */\nfunction getChildren(\n node: VNodeNormalizedChildren | VNodeChild,\n depth: number\n): VNodeNormalizedChildren | VNodeChild {\n if (isComment(node)) return\n if (isFragment(node) || isTemplate(node)) {\n return depth > 0 ? getFirstValidNode(node.children, depth - 1) : undefined\n }\n return node\n}\n\nexport const getFirstValidNode = (\n nodes: VNodeNormalizedChildren,\n maxDepth = 3\n) => {\n if (Array.isArray(nodes)) {\n return getChildren(nodes[0], maxDepth)\n } else {\n return getChildren(nodes, maxDepth)\n }\n}\n\nexport function renderIf(\n condition: boolean,\n ...args: Parameters<typeof createBlock>\n) {\n return condition ? renderBlock(...args) : createCommentVNode('v-if', true)\n}\n\nexport function renderBlock(...args: Parameters<typeof createBlock>) {\n return openBlock(), createBlock(...args)\n}\n\nexport const getNormalizedProps = (node: VNode) => {\n if (!isVNode(node)) {\n debugWarn(SCOPE, '[getNormalizedProps] must be a VNode')\n return {}\n }\n\n const raw = node.props || {}\n const type = (isVNode(node.type) ? node.type.props : undefined) || {}\n const props: Record<string, any> = {}\n\n Object.keys(type).forEach((key) => {\n if (hasOwn(type[key], 'default')) {\n props[key] = type[key].default\n }\n })\n\n Object.keys(raw).forEach((key) => {\n props[camelize(key)] = raw[key]\n })\n\n return props\n}\n\nexport const ensureOnlyChild = (children: VNodeArrayChildren | undefined) => {\n if (!isArray(children) || children.length > 1) {\n throw new Error('expect to receive a single Vue element child')\n }\n return children[0]\n}\n"],"names":[],"mappings":";;;;;AAYA,MAAM,KAAK,GAAG,iBAAiB,CAAC;AACtB,IAAC,UAAU,mBAAmB,CAAC,CAAC,WAAW,KAAK;AAC1D,EAAE,WAAW,CAAC,WAAW,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,MAAM,CAAC;AAChD,EAAE,WAAW,CAAC,WAAW,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,OAAO,CAAC;AAClD,EAAE,WAAW,CAAC,WAAW,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,OAAO,CAAC;AAClD,EAAE,WAAW,CAAC,WAAW,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,OAAO,CAAC;AAClD,EAAE,WAAW,CAAC,WAAW,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC,GAAG,YAAY,CAAC;AAC7D,EAAE,WAAW,CAAC,WAAW,CAAC,gBAAgB,CAAC,GAAG,EAAE,CAAC,GAAG,gBAAgB,CAAC;AACrE,EAAE,WAAW,CAAC,WAAW,CAAC,iBAAiB,CAAC,GAAG,EAAE,CAAC,GAAG,iBAAiB,CAAC;AACvE,EAAE,WAAW,CAAC,WAAW,CAAC,gBAAgB,CAAC,GAAG,GAAG,CAAC,GAAG,gBAAgB,CAAC;AACtE,EAAE,WAAW,CAAC,WAAW,CAAC,kBAAkB,CAAC,GAAG,GAAG,CAAC,GAAG,kBAAkB,CAAC;AAC1E,EAAE,WAAW,CAAC,WAAW,CAAC,YAAY,CAAC,GAAG,GAAG,CAAC,GAAG,YAAY,CAAC;AAC9D,EAAE,WAAW,CAAC,WAAW,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,GAAG,eAAe,CAAC;AACrE,EAAE,WAAW,CAAC,WAAW,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,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AC,IAAI,CAAC,GAAG,CAAC,EAAE,SAAS,CAAC,EAAE;AACtC,MAAM,KAAK,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC;AACrC,KAAK;AACL,GAAG,CAAC,CAAC;AACL,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,KAAK;AACpC,IAAI,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;AACpC,GAAG,CAAC,CAAC;AACL,EAAE,OAAO,KAAK,CAAC;AACf,EAAE;AACU,MAAC,eAAe,GAAG,CAAC,QAAQ,KAAK;AAC7C,EAAE,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE;AACjD,IAAI,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;AACpE,GAAG;AACH,EAAE,OAAO,QAAQ,CAAC,CAAC,CAAC,CAAC;AACrB;;;;"}
package/es/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const version = "0.0.20220612";
1
+ export declare const version = "0.0.20220615";
package/es/version2.mjs CHANGED
@@ -1,4 +1,4 @@
1
- const version = "0.0.20220612";
1
+ const version = "0.0.20220615";
2
2
 
3
3
  export { version };
4
4
  //# sourceMappingURL=version2.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"version2.mjs","sources":["../../../packages/element-plus/version.ts"],"sourcesContent":["export const version = '0.0.20220612'\n"],"names":[],"mappings":"AAAY,MAAC,OAAO,GAAG;;;;"}
1
+ {"version":3,"file":"version2.mjs","sources":["../../../packages/element-plus/version.ts"],"sourcesContent":["export const version = '0.0.20220615'\n"],"names":[],"mappings":"AAAY,MAAC,OAAO,GAAG;;;;"}
@@ -361,8 +361,8 @@ export declare const ElAutocomplete: import("element-plus/es/utils").SFCWithInst
361
361
  textareaCalcStyle: import("vue").ShallowRef<import("vue").StyleValue>;
362
362
  _ref: import("vue").ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
363
363
  needStatusIcon: import("vue").ComputedRef<boolean>;
364
- validateState: import("vue").ComputedRef<string>;
365
- validateIcon: import("vue").ComputedRef<any>;
364
+ validateState: import("vue").ComputedRef<"" | "success" | "error" | "validating">;
365
+ validateIcon: import("vue").ComputedRef<"" | import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
366
366
  passwordIcon: import("vue").ComputedRef<import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
367
367
  containerStyle: import("vue").ComputedRef<import("vue").StyleValue>;
368
368
  textareaStyle: import("vue").ComputedRef<import("vue").StyleValue>;
@@ -458,6 +458,7 @@ export declare const ElAutocomplete: import("element-plus/es/utils").SFCWithInst
458
458
  };
459
459
  }>>, {}>> & Record<string, any>;
460
460
  CircleClose: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
461
+ NOOP: () => void;
461
462
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
462
463
  "update:modelValue": (value: string) => boolean;
463
464
  input: (value: string) => boolean;
@@ -701,8 +702,8 @@ export declare const ElAutocomplete: import("element-plus/es/utils").SFCWithInst
701
702
  textareaCalcStyle: import("vue").ShallowRef<import("vue").StyleValue>;
702
703
  _ref: import("vue").ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
703
704
  needStatusIcon: import("vue").ComputedRef<boolean>;
704
- validateState: import("vue").ComputedRef<string>;
705
- validateIcon: import("vue").ComputedRef<any>;
705
+ validateState: import("vue").ComputedRef<"" | "success" | "error" | "validating">;
706
+ validateIcon: import("vue").ComputedRef<"" | import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
706
707
  passwordIcon: import("vue").ComputedRef<import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
707
708
  containerStyle: import("vue").ComputedRef<import("vue").StyleValue>;
708
709
  textareaStyle: import("vue").ComputedRef<import("vue").StyleValue>;
@@ -798,6 +799,7 @@ export declare const ElAutocomplete: import("element-plus/es/utils").SFCWithInst
798
799
  };
799
800
  }>>, {}>> & Record<string, any>;
800
801
  CircleClose: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
802
+ NOOP: () => void;
801
803
  }> & {} & import("vue").ComponentCustomProperties) | undefined>;
802
804
  regionRef: import("vue").Ref<HTMLElement | undefined>;
803
805
  popperRef: import("vue").Ref<any>;
@@ -1006,8 +1008,8 @@ export declare const ElAutocomplete: import("element-plus/es/utils").SFCWithInst
1006
1008
  textareaCalcStyle: import("vue").ShallowRef<import("vue").StyleValue>;
1007
1009
  _ref: import("vue").ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
1008
1010
  needStatusIcon: import("vue").ComputedRef<boolean>;
1009
- validateState: import("vue").ComputedRef<string>;
1010
- validateIcon: import("vue").ComputedRef<any>;
1011
+ validateState: import("vue").ComputedRef<"" | "success" | "error" | "validating">;
1012
+ validateIcon: import("vue").ComputedRef<"" | import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
1011
1013
  passwordIcon: import("vue").ComputedRef<import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
1012
1014
  containerStyle: import("vue").ComputedRef<import("vue").StyleValue>;
1013
1015
  textareaStyle: import("vue").ComputedRef<import("vue").StyleValue>;
@@ -1103,6 +1105,7 @@ export declare const ElAutocomplete: import("element-plus/es/utils").SFCWithInst
1103
1105
  };
1104
1106
  }>>, {}>> & Record<string, any>;
1105
1107
  CircleClose: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1108
+ NOOP: () => void;
1106
1109
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1107
1110
  "update:modelValue": (value: string) => boolean;
1108
1111
  input: (value: string) => boolean;
@@ -364,8 +364,8 @@ declare const _default: import("vue").DefineComponent<{
364
364
  textareaCalcStyle: import("vue").ShallowRef<StyleValue>;
365
365
  _ref: import("vue").ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
366
366
  needStatusIcon: import("vue").ComputedRef<boolean>;
367
- validateState: import("vue").ComputedRef<string>;
368
- validateIcon: import("vue").ComputedRef<any>;
367
+ validateState: import("vue").ComputedRef<"" | "success" | "error" | "validating">;
368
+ validateIcon: import("vue").ComputedRef<"" | import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
369
369
  passwordIcon: import("vue").ComputedRef<import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
370
370
  containerStyle: import("vue").ComputedRef<StyleValue>;
371
371
  textareaStyle: import("vue").ComputedRef<StyleValue>;
@@ -461,6 +461,7 @@ declare const _default: import("vue").DefineComponent<{
461
461
  };
462
462
  }>>, {}>> & Record<string, any>;
463
463
  CircleClose: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
464
+ NOOP: () => void;
464
465
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
465
466
  "update:modelValue": (value: string) => boolean;
466
467
  input: (value: string) => boolean;
@@ -704,8 +705,8 @@ declare const _default: import("vue").DefineComponent<{
704
705
  textareaCalcStyle: import("vue").ShallowRef<StyleValue>;
705
706
  _ref: import("vue").ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
706
707
  needStatusIcon: import("vue").ComputedRef<boolean>;
707
- validateState: import("vue").ComputedRef<string>;
708
- validateIcon: import("vue").ComputedRef<any>;
708
+ validateState: import("vue").ComputedRef<"" | "success" | "error" | "validating">;
709
+ validateIcon: import("vue").ComputedRef<"" | import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
709
710
  passwordIcon: import("vue").ComputedRef<import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
710
711
  containerStyle: import("vue").ComputedRef<StyleValue>;
711
712
  textareaStyle: import("vue").ComputedRef<StyleValue>;
@@ -801,6 +802,7 @@ declare const _default: import("vue").DefineComponent<{
801
802
  };
802
803
  }>>, {}>> & Record<string, any>;
803
804
  CircleClose: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
805
+ NOOP: () => void;
804
806
  }> & {} & import("vue").ComponentCustomProperties) | undefined>;
805
807
  regionRef: import("vue").Ref<HTMLElement | undefined>;
806
808
  popperRef: import("vue").Ref<any>;
@@ -1009,8 +1011,8 @@ declare const _default: import("vue").DefineComponent<{
1009
1011
  textareaCalcStyle: import("vue").ShallowRef<StyleValue>;
1010
1012
  _ref: import("vue").ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
1011
1013
  needStatusIcon: import("vue").ComputedRef<boolean>;
1012
- validateState: import("vue").ComputedRef<string>;
1013
- validateIcon: import("vue").ComputedRef<any>;
1014
+ validateState: import("vue").ComputedRef<"" | "success" | "error" | "validating">;
1015
+ validateIcon: import("vue").ComputedRef<"" | import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
1014
1016
  passwordIcon: import("vue").ComputedRef<import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
1015
1017
  containerStyle: import("vue").ComputedRef<StyleValue>;
1016
1018
  textareaStyle: import("vue").ComputedRef<StyleValue>;
@@ -1106,6 +1108,7 @@ declare const _default: import("vue").DefineComponent<{
1106
1108
  };
1107
1109
  }>>, {}>> & Record<string, any>;
1108
1110
  CircleClose: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1111
+ NOOP: () => void;
1109
1112
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1110
1113
  "update:modelValue": (value: string) => boolean;
1111
1114
  input: (value: string) => boolean;
@@ -2,29 +2,29 @@
2
2
  export declare const ElCarousel: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
3
3
  readonly initialIndex: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
4
4
  readonly height: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
5
- readonly trigger: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "hover", boolean>;
5
+ readonly trigger: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
6
6
  readonly autoplay: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
7
7
  readonly interval: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 3000, boolean>;
8
- readonly indicatorPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
8
+ readonly indicatorPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "none" | "outside", unknown, "", boolean>;
9
9
  readonly indicator: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
10
- readonly arrow: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "hover", boolean>;
11
- readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
10
+ readonly arrow: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "always" | "never" | "hover", unknown, "hover", boolean>;
11
+ readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "card", unknown, "", boolean>;
12
12
  readonly loop: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
13
- readonly direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "horizontal", boolean>;
13
+ readonly direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
14
14
  readonly pauseOnHover: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
15
15
  }, {
16
16
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
17
17
  readonly initialIndex: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
18
18
  readonly height: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
19
- readonly trigger: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "hover", boolean>;
19
+ readonly trigger: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
20
20
  readonly autoplay: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
21
21
  readonly interval: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 3000, boolean>;
22
- readonly indicatorPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
22
+ readonly indicatorPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "none" | "outside", unknown, "", boolean>;
23
23
  readonly indicator: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
24
- readonly arrow: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "hover", boolean>;
25
- readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
24
+ readonly arrow: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "always" | "never" | "hover", unknown, "hover", boolean>;
25
+ readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "card", unknown, "", boolean>;
26
26
  readonly loop: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
27
- readonly direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "horizontal", boolean>;
27
+ readonly direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
28
28
  readonly pauseOnHover: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
29
29
  }>> & {
30
30
  onChange?: ((current: number, prev: number) => any) | undefined;
@@ -175,30 +175,30 @@ export declare const ElCarousel: import("element-plus/es/utils").SFCWithInstall<
175
175
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
176
176
  readonly initialIndex: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
177
177
  readonly height: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
178
- readonly trigger: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "hover", boolean>;
178
+ readonly trigger: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
179
179
  readonly autoplay: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
180
180
  readonly interval: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 3000, boolean>;
181
- readonly indicatorPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
181
+ readonly indicatorPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "none" | "outside", unknown, "", boolean>;
182
182
  readonly indicator: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
183
- readonly arrow: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "hover", boolean>;
184
- readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
183
+ readonly arrow: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "always" | "never" | "hover", unknown, "hover", boolean>;
184
+ readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "card", unknown, "", boolean>;
185
185
  readonly loop: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
186
- readonly direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "horizontal", boolean>;
186
+ readonly direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
187
187
  readonly pauseOnHover: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
188
188
  }>> & {
189
189
  onChange?: ((current: number, prev: number) => any) | undefined;
190
190
  }, {
191
- readonly type: string;
192
- readonly trigger: string;
191
+ readonly type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "card", unknown>;
192
+ readonly trigger: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
193
193
  readonly height: string;
194
- readonly direction: string;
194
+ readonly direction: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal", unknown>;
195
195
  readonly loop: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
196
196
  readonly indicator: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
197
197
  readonly initialIndex: number;
198
198
  readonly autoplay: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
199
199
  readonly interval: number;
200
- readonly indicatorPosition: string;
201
- readonly arrow: string;
200
+ readonly indicatorPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "none" | "outside", unknown>;
201
+ readonly arrow: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "always" | "never" | "hover", unknown>;
202
202
  readonly pauseOnHover: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
203
203
  }>> & {
204
204
  CarouselItem: import("vue").DefineComponent<{
@@ -3,15 +3,15 @@ import type Carousel from './carousel.vue';
3
3
  export declare const carouselProps: {
4
4
  readonly initialIndex: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
5
5
  readonly height: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
6
- readonly trigger: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "hover", boolean>;
6
+ readonly trigger: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
7
7
  readonly autoplay: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
8
8
  readonly interval: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 3000, boolean>;
9
- readonly indicatorPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
9
+ readonly indicatorPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "none" | "outside", unknown, "", boolean>;
10
10
  readonly indicator: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
11
- readonly arrow: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "hover", boolean>;
12
- readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
11
+ readonly arrow: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "always" | "never" | "hover", unknown, "hover", boolean>;
12
+ readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "card", unknown, "", boolean>;
13
13
  readonly loop: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
14
- readonly direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "horizontal", boolean>;
14
+ readonly direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
15
15
  readonly pauseOnHover: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
16
16
  };
17
17
  export declare const carouselEmits: {
@@ -3,29 +3,29 @@ import type { CarouselItemContext } from 'element-plus/es/tokens';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  readonly initialIndex: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
5
5
  readonly height: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
6
- readonly trigger: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "hover", boolean>;
6
+ readonly trigger: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
7
7
  readonly autoplay: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
8
8
  readonly interval: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 3000, boolean>;
9
- readonly indicatorPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
9
+ readonly indicatorPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "none" | "outside", unknown, "", boolean>;
10
10
  readonly indicator: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
11
- readonly arrow: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "hover", boolean>;
12
- readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
11
+ readonly arrow: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "always" | "never" | "hover", unknown, "hover", boolean>;
12
+ readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "card", unknown, "", boolean>;
13
13
  readonly loop: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
14
- readonly direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "horizontal", boolean>;
14
+ readonly direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
15
15
  readonly pauseOnHover: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
16
16
  }, {
17
17
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
18
18
  readonly initialIndex: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
19
19
  readonly height: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
20
- readonly trigger: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "hover", boolean>;
20
+ readonly trigger: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
21
21
  readonly autoplay: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
22
22
  readonly interval: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 3000, boolean>;
23
- readonly indicatorPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
23
+ readonly indicatorPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "none" | "outside", unknown, "", boolean>;
24
24
  readonly indicator: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
25
- readonly arrow: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "hover", boolean>;
26
- readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
25
+ readonly arrow: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "always" | "never" | "hover", unknown, "hover", boolean>;
26
+ readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "card", unknown, "", boolean>;
27
27
  readonly loop: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
28
- readonly direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "horizontal", boolean>;
28
+ readonly direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
29
29
  readonly pauseOnHover: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
30
30
  }>> & {
31
31
  onChange?: ((current: number, prev: number) => any) | undefined;
@@ -176,30 +176,30 @@ declare const _default: import("vue").DefineComponent<{
176
176
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
177
177
  readonly initialIndex: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
178
178
  readonly height: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
179
- readonly trigger: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "hover", boolean>;
179
+ readonly trigger: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
180
180
  readonly autoplay: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
181
181
  readonly interval: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 3000, boolean>;
182
- readonly indicatorPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
182
+ readonly indicatorPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "none" | "outside", unknown, "", boolean>;
183
183
  readonly indicator: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
184
- readonly arrow: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "hover", boolean>;
185
- readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
184
+ readonly arrow: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "always" | "never" | "hover", unknown, "hover", boolean>;
185
+ readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "card", unknown, "", boolean>;
186
186
  readonly loop: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
187
- readonly direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "horizontal", boolean>;
187
+ readonly direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
188
188
  readonly pauseOnHover: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
189
189
  }>> & {
190
190
  onChange?: ((current: number, prev: number) => any) | undefined;
191
191
  }, {
192
- readonly type: string;
193
- readonly trigger: string;
192
+ readonly type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "card", unknown>;
193
+ readonly trigger: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
194
194
  readonly height: string;
195
- readonly direction: string;
195
+ readonly direction: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal", unknown>;
196
196
  readonly loop: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
197
197
  readonly indicator: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
198
198
  readonly initialIndex: number;
199
199
  readonly autoplay: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
200
200
  readonly interval: number;
201
- readonly indicatorPosition: string;
202
- readonly arrow: string;
201
+ readonly indicatorPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "none" | "outside", unknown>;
202
+ readonly arrow: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "always" | "never" | "hover", unknown>;
203
203
  readonly pauseOnHover: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
204
204
  }>;
205
205
  export default _default;
@@ -11,9 +11,13 @@ const carouselProps = runtime.buildProps({
11
11
  type: Number,
12
12
  default: 0
13
13
  },
14
- height: { type: String, default: "" },
14
+ height: {
15
+ type: String,
16
+ default: ""
17
+ },
15
18
  trigger: {
16
19
  type: String,
20
+ values: ["hover", "click"],
17
21
  default: "hover"
18
22
  },
19
23
  autoplay: {
@@ -24,26 +28,33 @@ const carouselProps = runtime.buildProps({
24
28
  type: Number,
25
29
  default: 3e3
26
30
  },
27
- indicatorPosition: { type: String, default: "" },
31
+ indicatorPosition: {
32
+ type: String,
33
+ values: ["", "none", "outside"],
34
+ default: ""
35
+ },
28
36
  indicator: {
29
37
  type: Boolean,
30
38
  default: true
31
39
  },
32
40
  arrow: {
33
41
  type: String,
42
+ values: ["always", "hover", "never"],
34
43
  default: "hover"
35
44
  },
36
- type: { type: String, default: "" },
45
+ type: {
46
+ type: String,
47
+ values: ["", "card"],
48
+ default: ""
49
+ },
37
50
  loop: {
38
51
  type: Boolean,
39
52
  default: true
40
53
  },
41
54
  direction: {
42
55
  type: String,
43
- default: "horizontal",
44
- validator(val) {
45
- return ["horizontal", "vertical"].includes(val);
46
- }
56
+ values: ["horizontal", "vertical"],
57
+ default: "horizontal"
47
58
  },
48
59
  pauseOnHover: {
49
60
  type: Boolean,
@@ -1 +1 @@
1
- {"version":3,"file":"carousel3.js","sources":["../../../../../../packages/components/carousel/src/carousel.ts"],"sourcesContent":["import { buildProps, isNumber } from '@element-plus/utils'\nimport type { ExtractPropTypes } from 'vue'\nimport type Carousel from './carousel.vue'\n\nexport const carouselProps = buildProps({\n initialIndex: {\n type: Number,\n default: 0,\n },\n height: { type: String, default: '' },\n trigger: {\n type: String,\n default: 'hover',\n },\n autoplay: {\n type: Boolean,\n default: true,\n },\n interval: {\n type: Number,\n default: 3000,\n },\n indicatorPosition: { type: String, default: '' },\n indicator: {\n type: Boolean,\n default: true,\n },\n arrow: {\n type: String,\n default: 'hover',\n },\n type: { type: String, default: '' },\n loop: {\n type: Boolean,\n default: true,\n },\n direction: {\n type: String,\n default: 'horizontal',\n validator(val: string) {\n return ['horizontal', 'vertical'].includes(val)\n },\n },\n pauseOnHover: {\n type: Boolean,\n default: true,\n },\n} as const)\n\nexport const carouselEmits = {\n change: (current: number, prev: number) => [current, prev].every(isNumber),\n}\n\nexport type CarouselProps = ExtractPropTypes<typeof carouselProps>\nexport type CarouselEmits = typeof carouselEmits\n\nexport type CarouselInstance = InstanceType<typ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;AAChB,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,aAAa,GAAG;AAC7B,EAAE,MAAM,EAAE,CAAC,OAAO,EAAE,IAAI,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,KAAK,CAACC,aAAQ,CAAC;AAC5D;;;;;"}
1
+ {"version":3,"file":"carousel3.js","sources":["../../../../../../packages/components/carousel/src/carousel.ts"],"sourcesContent":["import { buildProps, isNumber } from '@element-plus/utils'\nimport type { ExtractPropTypes } from 'vue'\nimport type Carousel from './carousel.vue'\n\nexport const carouselProps = buildProps({\n initialIndex: {\n type: Number,\n default: 0,\n },\n height: {\n type: String,\n default: '',\n },\n trigger: {\n type: String,\n values: ['hover', 'click'],\n default: 'hover',\n },\n autoplay: {\n type: Boolean,\n default: true,\n },\n interval: {\n type: Number,\n default: 3000,\n },\n indicatorPosition: {\n type: String,\n values: ['', 'none', 'outside'],\n default: '',\n },\n indicator: {\n type: Boolean,\n default: true,\n },\n arrow: {\n type: String,\n values: ['always', 'hover', 'never'],\n default: 'hover',\n },\n type: {\n type: String,\n values: ['', 'card'],\n default: '',\n },\n loop: {\n type: Boolean,\n default: true,\n },\n direction: {\n type: String,\n values: ['horizontal', 'vertical'],\n default: 'horizontal',\n },\n pauseOnHover: {\n type: Boolean,\n default: true,\n },\n} as const)\n\nexport const carouselEmits = {\n change: (current: number, prev: number) => [current, prev].every(isNumber),\n}\n\nexport type CarouselProps = ExtractPropTypes<typeof carouselProps>\nexport type CarouselEmits = typeof carouselEmits\n\nexport type CarouselInstance = InstanceType<typeof Carousel>\n"],"names":["buildProps","isNumber"],"mappings":";;;;;;;;AACY,MAAC,aAAa,GAAGA,kBAAU,CAAC;AACxC,EAAE,YAAY,EAAE;AAChB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI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