element-plus 2.2.18 → 2.2.19

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 (533) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.css +1 -1
  3. package/dist/index.full.js +873 -858
  4. package/dist/index.full.min.js +20 -20
  5. package/dist/index.full.min.js.map +1 -1
  6. package/dist/index.full.min.mjs +21 -21
  7. package/dist/index.full.min.mjs.map +1 -1
  8. package/dist/index.full.mjs +874 -859
  9. package/dist/locale/af.js +1 -1
  10. package/dist/locale/af.min.js +1 -1
  11. package/dist/locale/af.min.mjs +1 -1
  12. package/dist/locale/af.mjs +1 -1
  13. package/dist/locale/ar.js +1 -1
  14. package/dist/locale/ar.min.js +1 -1
  15. package/dist/locale/ar.min.mjs +1 -1
  16. package/dist/locale/ar.mjs +1 -1
  17. package/dist/locale/az.js +1 -1
  18. package/dist/locale/az.min.js +1 -1
  19. package/dist/locale/az.min.mjs +1 -1
  20. package/dist/locale/az.mjs +1 -1
  21. package/dist/locale/bg.js +1 -1
  22. package/dist/locale/bg.min.js +1 -1
  23. package/dist/locale/bg.min.mjs +1 -1
  24. package/dist/locale/bg.mjs +1 -1
  25. package/dist/locale/bn.js +1 -1
  26. package/dist/locale/bn.min.js +1 -1
  27. package/dist/locale/bn.min.mjs +1 -1
  28. package/dist/locale/bn.mjs +1 -1
  29. package/dist/locale/ca.js +1 -1
  30. package/dist/locale/ca.min.js +1 -1
  31. package/dist/locale/ca.min.mjs +1 -1
  32. package/dist/locale/ca.mjs +1 -1
  33. package/dist/locale/cs.js +1 -1
  34. package/dist/locale/cs.min.js +1 -1
  35. package/dist/locale/cs.min.mjs +1 -1
  36. package/dist/locale/cs.mjs +1 -1
  37. package/dist/locale/da.js +1 -1
  38. package/dist/locale/da.min.js +1 -1
  39. package/dist/locale/da.min.mjs +1 -1
  40. package/dist/locale/da.mjs +1 -1
  41. package/dist/locale/de.js +1 -1
  42. package/dist/locale/de.min.js +1 -1
  43. package/dist/locale/de.min.mjs +1 -1
  44. package/dist/locale/de.mjs +1 -1
  45. package/dist/locale/el.js +1 -1
  46. package/dist/locale/el.min.js +1 -1
  47. package/dist/locale/el.min.mjs +1 -1
  48. package/dist/locale/el.mjs +1 -1
  49. package/dist/locale/en.js +1 -1
  50. package/dist/locale/en.min.js +1 -1
  51. package/dist/locale/en.min.mjs +1 -1
  52. package/dist/locale/en.mjs +1 -1
  53. package/dist/locale/eo.js +1 -1
  54. package/dist/locale/eo.min.js +1 -1
  55. package/dist/locale/eo.min.mjs +1 -1
  56. package/dist/locale/eo.mjs +1 -1
  57. package/dist/locale/es.js +1 -1
  58. package/dist/locale/es.min.js +1 -1
  59. package/dist/locale/es.min.mjs +1 -1
  60. package/dist/locale/es.mjs +1 -1
  61. package/dist/locale/et.js +1 -1
  62. package/dist/locale/et.min.js +1 -1
  63. package/dist/locale/et.min.mjs +1 -1
  64. package/dist/locale/et.mjs +1 -1
  65. package/dist/locale/eu.js +1 -1
  66. package/dist/locale/eu.min.js +1 -1
  67. package/dist/locale/eu.min.mjs +1 -1
  68. package/dist/locale/eu.mjs +1 -1
  69. package/dist/locale/fa.js +1 -1
  70. package/dist/locale/fa.min.js +1 -1
  71. package/dist/locale/fa.min.mjs +1 -1
  72. package/dist/locale/fa.mjs +1 -1
  73. package/dist/locale/fi.js +1 -1
  74. package/dist/locale/fi.min.js +1 -1
  75. package/dist/locale/fi.min.mjs +1 -1
  76. package/dist/locale/fi.mjs +1 -1
  77. package/dist/locale/fr.js +1 -1
  78. package/dist/locale/fr.min.js +1 -1
  79. package/dist/locale/fr.min.mjs +1 -1
  80. package/dist/locale/fr.mjs +1 -1
  81. package/dist/locale/he.js +1 -1
  82. package/dist/locale/he.min.js +1 -1
  83. package/dist/locale/he.min.mjs +1 -1
  84. package/dist/locale/he.mjs +1 -1
  85. package/dist/locale/hr.js +1 -1
  86. package/dist/locale/hr.min.js +1 -1
  87. package/dist/locale/hr.min.mjs +1 -1
  88. package/dist/locale/hr.mjs +1 -1
  89. package/dist/locale/hu.js +1 -1
  90. package/dist/locale/hu.min.js +1 -1
  91. package/dist/locale/hu.min.mjs +1 -1
  92. package/dist/locale/hu.mjs +1 -1
  93. package/dist/locale/hy-am.js +1 -1
  94. package/dist/locale/hy-am.min.js +1 -1
  95. package/dist/locale/hy-am.min.mjs +1 -1
  96. package/dist/locale/hy-am.mjs +1 -1
  97. package/dist/locale/id.js +1 -1
  98. package/dist/locale/id.min.js +1 -1
  99. package/dist/locale/id.min.mjs +1 -1
  100. package/dist/locale/id.mjs +1 -1
  101. package/dist/locale/it.js +1 -1
  102. package/dist/locale/it.min.js +1 -1
  103. package/dist/locale/it.min.mjs +1 -1
  104. package/dist/locale/it.mjs +1 -1
  105. package/dist/locale/ja.js +1 -1
  106. package/dist/locale/ja.min.js +1 -1
  107. package/dist/locale/ja.min.mjs +1 -1
  108. package/dist/locale/ja.mjs +1 -1
  109. package/dist/locale/kk.js +1 -1
  110. package/dist/locale/kk.min.js +1 -1
  111. package/dist/locale/kk.min.mjs +1 -1
  112. package/dist/locale/kk.mjs +1 -1
  113. package/dist/locale/km.js +1 -1
  114. package/dist/locale/km.min.js +1 -1
  115. package/dist/locale/km.min.mjs +1 -1
  116. package/dist/locale/km.mjs +1 -1
  117. package/dist/locale/ko.js +1 -1
  118. package/dist/locale/ko.min.js +1 -1
  119. package/dist/locale/ko.min.mjs +1 -1
  120. package/dist/locale/ko.mjs +1 -1
  121. package/dist/locale/ku.js +1 -1
  122. package/dist/locale/ku.min.js +1 -1
  123. package/dist/locale/ku.min.mjs +1 -1
  124. package/dist/locale/ku.mjs +1 -1
  125. package/dist/locale/ky.js +1 -1
  126. package/dist/locale/ky.min.js +1 -1
  127. package/dist/locale/ky.min.mjs +1 -1
  128. package/dist/locale/ky.mjs +1 -1
  129. package/dist/locale/lt.js +1 -1
  130. package/dist/locale/lt.min.js +1 -1
  131. package/dist/locale/lt.min.mjs +1 -1
  132. package/dist/locale/lt.mjs +1 -1
  133. package/dist/locale/lv.js +1 -1
  134. package/dist/locale/lv.min.js +1 -1
  135. package/dist/locale/lv.min.mjs +1 -1
  136. package/dist/locale/lv.mjs +1 -1
  137. package/dist/locale/mg.js +1 -1
  138. package/dist/locale/mg.min.js +1 -1
  139. package/dist/locale/mg.min.mjs +1 -1
  140. package/dist/locale/mg.mjs +1 -1
  141. package/dist/locale/mn.js +1 -1
  142. package/dist/locale/mn.min.js +1 -1
  143. package/dist/locale/mn.min.mjs +1 -1
  144. package/dist/locale/mn.mjs +1 -1
  145. package/dist/locale/nb-no.js +1 -1
  146. package/dist/locale/nb-no.min.js +1 -1
  147. package/dist/locale/nb-no.min.mjs +1 -1
  148. package/dist/locale/nb-no.mjs +1 -1
  149. package/dist/locale/nl.js +1 -1
  150. package/dist/locale/nl.min.js +1 -1
  151. package/dist/locale/nl.min.mjs +1 -1
  152. package/dist/locale/nl.mjs +1 -1
  153. package/dist/locale/pa.js +1 -1
  154. package/dist/locale/pa.min.js +1 -1
  155. package/dist/locale/pa.min.mjs +1 -1
  156. package/dist/locale/pa.mjs +1 -1
  157. package/dist/locale/pl.js +1 -1
  158. package/dist/locale/pl.min.js +1 -1
  159. package/dist/locale/pl.min.mjs +1 -1
  160. package/dist/locale/pl.mjs +1 -1
  161. package/dist/locale/pt-br.js +1 -1
  162. package/dist/locale/pt-br.min.js +1 -1
  163. package/dist/locale/pt-br.min.mjs +1 -1
  164. package/dist/locale/pt-br.mjs +1 -1
  165. package/dist/locale/pt.js +1 -1
  166. package/dist/locale/pt.min.js +1 -1
  167. package/dist/locale/pt.min.mjs +1 -1
  168. package/dist/locale/pt.mjs +1 -1
  169. package/dist/locale/ro.js +1 -1
  170. package/dist/locale/ro.min.js +1 -1
  171. package/dist/locale/ro.min.mjs +1 -1
  172. package/dist/locale/ro.mjs +1 -1
  173. package/dist/locale/ru.js +1 -1
  174. package/dist/locale/ru.min.js +1 -1
  175. package/dist/locale/ru.min.mjs +1 -1
  176. package/dist/locale/ru.mjs +1 -1
  177. package/dist/locale/sk.js +1 -1
  178. package/dist/locale/sk.min.js +1 -1
  179. package/dist/locale/sk.min.mjs +1 -1
  180. package/dist/locale/sk.mjs +1 -1
  181. package/dist/locale/sl.js +1 -1
  182. package/dist/locale/sl.min.js +1 -1
  183. package/dist/locale/sl.min.mjs +1 -1
  184. package/dist/locale/sl.mjs +1 -1
  185. package/dist/locale/sr.js +1 -1
  186. package/dist/locale/sr.min.js +1 -1
  187. package/dist/locale/sr.min.mjs +1 -1
  188. package/dist/locale/sr.mjs +1 -1
  189. package/dist/locale/sv.js +1 -1
  190. package/dist/locale/sv.min.js +1 -1
  191. package/dist/locale/sv.min.mjs +1 -1
  192. package/dist/locale/sv.mjs +1 -1
  193. package/dist/locale/ta.js +1 -1
  194. package/dist/locale/ta.min.js +1 -1
  195. package/dist/locale/ta.min.mjs +1 -1
  196. package/dist/locale/ta.mjs +1 -1
  197. package/dist/locale/th.js +1 -1
  198. package/dist/locale/th.min.js +1 -1
  199. package/dist/locale/th.min.mjs +1 -1
  200. package/dist/locale/th.mjs +1 -1
  201. package/dist/locale/tk.js +1 -1
  202. package/dist/locale/tk.min.js +1 -1
  203. package/dist/locale/tk.min.mjs +1 -1
  204. package/dist/locale/tk.mjs +1 -1
  205. package/dist/locale/tr.js +1 -1
  206. package/dist/locale/tr.min.js +1 -1
  207. package/dist/locale/tr.min.mjs +1 -1
  208. package/dist/locale/tr.mjs +1 -1
  209. package/dist/locale/ug-cn.js +1 -1
  210. package/dist/locale/ug-cn.min.js +1 -1
  211. package/dist/locale/ug-cn.min.mjs +1 -1
  212. package/dist/locale/ug-cn.mjs +1 -1
  213. package/dist/locale/uk.js +1 -1
  214. package/dist/locale/uk.min.js +1 -1
  215. package/dist/locale/uk.min.mjs +1 -1
  216. package/dist/locale/uk.mjs +1 -1
  217. package/dist/locale/uz-uz.js +1 -1
  218. package/dist/locale/uz-uz.min.js +1 -1
  219. package/dist/locale/uz-uz.min.mjs +1 -1
  220. package/dist/locale/uz-uz.mjs +1 -1
  221. package/dist/locale/vi.js +1 -1
  222. package/dist/locale/vi.min.js +1 -1
  223. package/dist/locale/vi.min.mjs +1 -1
  224. package/dist/locale/vi.mjs +1 -1
  225. package/dist/locale/zh-cn.js +1 -1
  226. package/dist/locale/zh-cn.min.js +1 -1
  227. package/dist/locale/zh-cn.min.mjs +1 -1
  228. package/dist/locale/zh-cn.mjs +1 -1
  229. package/dist/locale/zh-tw.js +1 -1
  230. package/dist/locale/zh-tw.min.js +1 -1
  231. package/dist/locale/zh-tw.min.mjs +1 -1
  232. package/dist/locale/zh-tw.mjs +1 -1
  233. package/es/components/autocomplete/index.d.ts +53 -45
  234. package/es/components/autocomplete/src/autocomplete.d.ts +1 -3
  235. package/es/components/autocomplete/src/autocomplete.mjs.map +1 -1
  236. package/es/components/autocomplete/src/autocomplete.vue.d.ts +53 -45
  237. package/es/components/backtop/index.d.ts +2 -6
  238. package/es/components/backtop/index.mjs.map +1 -1
  239. package/es/components/backtop/src/backtop.d.ts +0 -2
  240. package/es/components/backtop/src/backtop.mjs.map +1 -1
  241. package/es/components/backtop/src/backtop.vue.d.ts +5 -10
  242. package/es/components/backtop/src/backtop2.mjs +6 -52
  243. package/es/components/backtop/src/backtop2.mjs.map +1 -1
  244. package/es/components/backtop/src/instance.d.ts +2 -0
  245. package/es/components/backtop/src/instance.mjs +2 -0
  246. package/es/components/backtop/src/instance.mjs.map +1 -0
  247. package/es/components/backtop/src/use-backtop.d.ts +6 -0
  248. package/es/components/backtop/src/use-backtop.mjs +58 -0
  249. package/es/components/backtop/src/use-backtop.mjs.map +1 -0
  250. package/es/components/button/index.d.ts +4 -10
  251. package/es/components/button/index.mjs.map +1 -1
  252. package/es/components/button/src/button-group.d.ts +0 -2
  253. package/es/components/button/src/button-group.mjs.map +1 -1
  254. package/es/components/button/src/button.d.ts +0 -2
  255. package/es/components/button/src/button.mjs.map +1 -1
  256. package/es/components/button/src/button.vue.d.ts +3 -10
  257. package/es/components/button/src/button2.mjs +5 -46
  258. package/es/components/button/src/button2.mjs.map +1 -1
  259. package/es/components/button/src/instance.d.ts +4 -0
  260. package/es/components/button/src/instance.mjs +2 -0
  261. package/es/components/button/src/instance.mjs.map +1 -0
  262. package/es/components/button/src/use-button.d.ts +10 -0
  263. package/es/components/button/src/use-button.mjs +59 -0
  264. package/es/components/button/src/use-button.mjs.map +1 -0
  265. package/es/components/calendar/index.d.ts +39 -58
  266. package/es/components/calendar/index.mjs.map +1 -1
  267. package/es/components/calendar/src/calendar.d.ts +0 -2
  268. package/es/components/calendar/src/calendar.mjs.map +1 -1
  269. package/es/components/calendar/src/calendar.vue.d.ts +101 -125
  270. package/es/components/calendar/src/calendar2.mjs +19 -134
  271. package/es/components/calendar/src/calendar2.mjs.map +1 -1
  272. package/es/components/calendar/src/date-table.d.ts +0 -2
  273. package/es/components/calendar/src/date-table.mjs.map +1 -1
  274. package/es/components/calendar/src/date-table.vue.d.ts +26 -31
  275. package/es/components/calendar/src/date-table2.mjs +14 -82
  276. package/es/components/calendar/src/date-table2.mjs.map +1 -1
  277. package/es/components/calendar/src/instance.d.ts +5 -0
  278. package/es/components/calendar/src/instance.mjs +2 -0
  279. package/es/components/calendar/src/instance.mjs.map +1 -0
  280. package/es/components/calendar/src/use-calendar.d.ts +14 -0
  281. package/es/components/calendar/src/use-calendar.mjs +140 -0
  282. package/es/components/calendar/src/use-calendar.mjs.map +1 -0
  283. package/es/components/calendar/src/use-date-table.d.ts +18 -0
  284. package/es/components/calendar/src/use-date-table.mjs +96 -0
  285. package/es/components/calendar/src/use-date-table.mjs.map +1 -0
  286. package/es/components/cascader/index.d.ts +62 -44
  287. package/es/components/cascader/src/index.mjs +2 -2
  288. package/es/components/cascader/src/index.mjs.map +1 -1
  289. package/es/components/cascader/src/index.vue.d.ts +31 -22
  290. package/es/components/cascader-panel/src/index.mjs +5 -3
  291. package/es/components/cascader-panel/src/index.mjs.map +1 -1
  292. package/es/components/color-picker/index.d.ts +21 -21
  293. package/es/components/color-picker/index.mjs +2 -2
  294. package/es/components/color-picker/src/color-picker.mjs +38 -317
  295. package/es/components/color-picker/src/color-picker.mjs.map +1 -1
  296. package/es/components/color-picker/src/color-picker.vue.d.ts +21 -21
  297. package/es/components/color-picker/src/color-picker2.mjs +317 -38
  298. package/es/components/color-picker/src/color-picker2.mjs.map +1 -1
  299. package/es/components/color-picker/src/components/predefine.mjs +1 -1
  300. package/es/components/date-picker/src/composables/use-range-picker.d.ts +1 -1
  301. package/es/components/date-picker/src/date-picker-com/basic-date-table.vue.d.ts +6 -6
  302. package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +45 -45
  303. package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +47 -47
  304. package/es/components/date-picker/src/date-picker-com/panel-month-range.vue.d.ts +3 -3
  305. package/es/components/date-picker/src/panel-utils.d.ts +95 -95
  306. package/es/components/dialog/index.d.ts +1 -0
  307. package/es/components/dialog/src/dialog.vue.d.ts +1 -0
  308. package/es/components/dialog/src/dialog2.mjs +4 -2
  309. package/es/components/dialog/src/dialog2.mjs.map +1 -1
  310. package/es/components/dialog/src/use-dialog.d.ts +1 -0
  311. package/es/components/dialog/src/use-dialog.mjs +7 -0
  312. package/es/components/dialog/src/use-dialog.mjs.map +1 -1
  313. package/es/components/drawer/index.d.ts +1 -0
  314. package/es/components/drawer/src/drawer.vue.d.ts +1 -0
  315. package/es/components/index.mjs +1 -1
  316. package/es/components/input/index.d.ts +18 -11
  317. package/es/components/input/src/input.d.ts +6 -1
  318. package/es/components/input/src/input.mjs +1 -2
  319. package/es/components/input/src/input.mjs.map +1 -1
  320. package/es/components/input/src/input.vue.d.ts +18 -11
  321. package/es/components/input/src/input2.mjs +5 -32
  322. package/es/components/input/src/input2.mjs.map +1 -1
  323. package/es/components/input-number/index.d.ts +49 -33
  324. package/es/components/input-number/src/input-number.vue.d.ts +49 -33
  325. package/es/components/message-box/src/message-box.type.d.ts +2 -0
  326. package/es/components/message-box/src/messageBox.mjs +20 -3
  327. package/es/components/message-box/src/messageBox.mjs.map +1 -1
  328. package/es/components/pagination/src/components/jumper.vue.d.ts +18 -11
  329. package/es/components/popconfirm/index.d.ts +3 -10
  330. package/es/components/popconfirm/src/popconfirm.vue.d.ts +3 -10
  331. package/es/components/skeleton/index.d.ts +1 -1
  332. package/es/components/skeleton/src/skeleton.vue.d.ts +1 -1
  333. package/es/components/slider/index.d.ts +49 -33
  334. package/es/components/slider/src/slider.vue.d.ts +49 -33
  335. package/es/components/switch/src/switch2.mjs +15 -34
  336. package/es/components/switch/src/switch2.mjs.map +1 -1
  337. package/es/components/table/src/table/style-helper.mjs +1 -1
  338. package/es/components/table/src/table/style-helper.mjs.map +1 -1
  339. package/es/components/table/src/table-body/render-helper.mjs +1 -1
  340. package/es/components/table/src/table-body/render-helper.mjs.map +1 -1
  341. package/es/components/table/src/table-body/styles-helper.d.ts +1 -1
  342. package/es/components/table/src/table-body/styles-helper.mjs +2 -2
  343. package/es/components/table/src/table-body/styles-helper.mjs.map +1 -1
  344. package/es/components/table/src/util.d.ts +1 -1
  345. package/es/components/table/src/util.mjs +3 -3
  346. package/es/components/table/src/util.mjs.map +1 -1
  347. package/es/components/table-v2/src/composables/use-styles.d.ts +1 -0
  348. package/es/components/table-v2/src/composables/use-styles.mjs +2 -1
  349. package/es/components/table-v2/src/composables/use-styles.mjs.map +1 -1
  350. package/es/components/table-v2/src/use-table.mjs +3 -2
  351. package/es/components/table-v2/src/use-table.mjs.map +1 -1
  352. package/es/components/time-picker/src/common/picker.mjs +2 -0
  353. package/es/components/time-picker/src/common/picker.mjs.map +1 -1
  354. package/es/components/time-picker/src/common/picker.vue.d.ts +18 -11
  355. package/es/components/time-picker/src/composables/use-time-picker.d.ts +2 -2
  356. package/es/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +5 -5
  357. package/es/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +17 -17
  358. package/es/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +17 -17
  359. package/es/components/transfer/index.d.ts +93 -65
  360. package/es/components/transfer/src/transfer-panel.vue.d.ts +18 -11
  361. package/es/components/transfer/src/transfer.vue.d.ts +93 -65
  362. package/es/components/tree-v2/index.d.ts +868 -3
  363. package/es/components/tree-v2/src/composables/useCheck.d.ts +2 -1
  364. package/es/components/tree-v2/src/composables/useCheck.mjs.map +1 -1
  365. package/es/components/tree-v2/src/composables/useTree.d.ts +6 -3
  366. package/es/components/tree-v2/src/composables/useTree.mjs +1 -1
  367. package/es/components/tree-v2/src/composables/useTree.mjs.map +1 -1
  368. package/es/components/tree-v2/src/tree-node.mjs +63 -78
  369. package/es/components/tree-v2/src/tree-node.mjs.map +1 -1
  370. package/es/components/tree-v2/src/tree-node.vue.d.ts +566 -3
  371. package/es/components/tree-v2/src/tree.mjs +62 -75
  372. package/es/components/tree-v2/src/tree.mjs.map +1 -1
  373. package/es/components/tree-v2/src/tree.vue.d.ts +868 -3
  374. package/es/components/tree-v2/src/types.d.ts +1 -1
  375. package/es/components/tree-v2/src/virtual-tree.d.ts +3 -2
  376. package/es/components/tree-v2/src/virtual-tree.mjs.map +1 -1
  377. package/es/index.mjs +1 -1
  378. package/es/version.d.ts +1 -1
  379. package/es/version.mjs +1 -1
  380. package/es/version.mjs.map +1 -1
  381. package/lib/components/autocomplete/index.d.ts +53 -45
  382. package/lib/components/autocomplete/src/autocomplete.d.ts +1 -3
  383. package/lib/components/autocomplete/src/autocomplete.js.map +1 -1
  384. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +53 -45
  385. package/lib/components/backtop/index.d.ts +2 -6
  386. package/lib/components/backtop/index.js.map +1 -1
  387. package/lib/components/backtop/src/backtop.d.ts +0 -2
  388. package/lib/components/backtop/src/backtop.js.map +1 -1
  389. package/lib/components/backtop/src/backtop.vue.d.ts +5 -10
  390. package/lib/components/backtop/src/backtop2.js +5 -51
  391. package/lib/components/backtop/src/backtop2.js.map +1 -1
  392. package/lib/components/backtop/src/instance.d.ts +2 -0
  393. package/lib/components/backtop/src/instance.js +3 -0
  394. package/lib/components/backtop/src/instance.js.map +1 -0
  395. package/lib/components/backtop/src/use-backtop.d.ts +6 -0
  396. package/lib/components/backtop/src/use-backtop.js +62 -0
  397. package/lib/components/backtop/src/use-backtop.js.map +1 -0
  398. package/lib/components/button/index.d.ts +4 -10
  399. package/lib/components/button/index.js.map +1 -1
  400. package/lib/components/button/src/button-group.d.ts +0 -2
  401. package/lib/components/button/src/button-group.js.map +1 -1
  402. package/lib/components/button/src/button.d.ts +0 -2
  403. package/lib/components/button/src/button.js.map +1 -1
  404. package/lib/components/button/src/button.vue.d.ts +3 -10
  405. package/lib/components/button/src/button2.js +8 -49
  406. package/lib/components/button/src/button2.js.map +1 -1
  407. package/lib/components/button/src/instance.d.ts +4 -0
  408. package/lib/components/button/src/instance.js +3 -0
  409. package/lib/components/button/src/instance.js.map +1 -0
  410. package/lib/components/button/src/use-button.d.ts +10 -0
  411. package/lib/components/button/src/use-button.js +63 -0
  412. package/lib/components/button/src/use-button.js.map +1 -0
  413. package/lib/components/calendar/index.d.ts +39 -58
  414. package/lib/components/calendar/index.js.map +1 -1
  415. package/lib/components/calendar/src/calendar.d.ts +0 -2
  416. package/lib/components/calendar/src/calendar.js.map +1 -1
  417. package/lib/components/calendar/src/calendar.vue.d.ts +101 -125
  418. package/lib/components/calendar/src/calendar2.js +23 -142
  419. package/lib/components/calendar/src/calendar2.js.map +1 -1
  420. package/lib/components/calendar/src/date-table.d.ts +0 -2
  421. package/lib/components/calendar/src/date-table.js.map +1 -1
  422. package/lib/components/calendar/src/date-table.vue.d.ts +26 -31
  423. package/lib/components/calendar/src/date-table2.js +15 -88
  424. package/lib/components/calendar/src/date-table2.js.map +1 -1
  425. package/lib/components/calendar/src/instance.d.ts +5 -0
  426. package/lib/components/calendar/src/instance.js +3 -0
  427. package/lib/components/calendar/src/instance.js.map +1 -0
  428. package/lib/components/calendar/src/use-calendar.d.ts +14 -0
  429. package/lib/components/calendar/src/use-calendar.js +148 -0
  430. package/lib/components/calendar/src/use-calendar.js.map +1 -0
  431. package/lib/components/calendar/src/use-date-table.d.ts +18 -0
  432. package/lib/components/calendar/src/use-date-table.js +105 -0
  433. package/lib/components/calendar/src/use-date-table.js.map +1 -0
  434. package/lib/components/cascader/index.d.ts +62 -44
  435. package/lib/components/cascader/src/index.js +1 -1
  436. package/lib/components/cascader/src/index.js.map +1 -1
  437. package/lib/components/cascader/src/index.vue.d.ts +31 -22
  438. package/lib/components/cascader-panel/src/index.js +4 -2
  439. package/lib/components/cascader-panel/src/index.js.map +1 -1
  440. package/lib/components/color-picker/index.d.ts +21 -21
  441. package/lib/components/color-picker/index.js +2 -2
  442. package/lib/components/color-picker/src/color-picker.js +38 -315
  443. package/lib/components/color-picker/src/color-picker.js.map +1 -1
  444. package/lib/components/color-picker/src/color-picker.vue.d.ts +21 -21
  445. package/lib/components/color-picker/src/color-picker2.js +315 -38
  446. package/lib/components/color-picker/src/color-picker2.js.map +1 -1
  447. package/lib/components/color-picker/src/components/predefine.js +1 -1
  448. package/lib/components/date-picker/src/composables/use-range-picker.d.ts +1 -1
  449. package/lib/components/date-picker/src/date-picker-com/basic-date-table.vue.d.ts +6 -6
  450. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +45 -45
  451. package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +47 -47
  452. package/lib/components/date-picker/src/date-picker-com/panel-month-range.vue.d.ts +3 -3
  453. package/lib/components/date-picker/src/panel-utils.d.ts +95 -95
  454. package/lib/components/dialog/index.d.ts +1 -0
  455. package/lib/components/dialog/src/dialog.vue.d.ts +1 -0
  456. package/lib/components/dialog/src/dialog2.js +4 -2
  457. package/lib/components/dialog/src/dialog2.js.map +1 -1
  458. package/lib/components/dialog/src/use-dialog.d.ts +1 -0
  459. package/lib/components/dialog/src/use-dialog.js +7 -0
  460. package/lib/components/dialog/src/use-dialog.js.map +1 -1
  461. package/lib/components/drawer/index.d.ts +1 -0
  462. package/lib/components/drawer/src/drawer.vue.d.ts +1 -0
  463. package/lib/components/index.js +1 -1
  464. package/lib/components/input/index.d.ts +18 -11
  465. package/lib/components/input/src/input.d.ts +6 -1
  466. package/lib/components/input/src/input.js +1 -2
  467. package/lib/components/input/src/input.js.map +1 -1
  468. package/lib/components/input/src/input.vue.d.ts +18 -11
  469. package/lib/components/input/src/input2.js +4 -31
  470. package/lib/components/input/src/input2.js.map +1 -1
  471. package/lib/components/input-number/index.d.ts +49 -33
  472. package/lib/components/input-number/src/input-number.vue.d.ts +49 -33
  473. package/lib/components/message-box/src/message-box.type.d.ts +2 -0
  474. package/lib/components/message-box/src/messageBox.js +18 -1
  475. package/lib/components/message-box/src/messageBox.js.map +1 -1
  476. package/lib/components/pagination/src/components/jumper.vue.d.ts +18 -11
  477. package/lib/components/popconfirm/index.d.ts +3 -10
  478. package/lib/components/popconfirm/src/popconfirm.vue.d.ts +3 -10
  479. package/lib/components/skeleton/index.d.ts +1 -1
  480. package/lib/components/skeleton/src/skeleton.vue.d.ts +1 -1
  481. package/lib/components/slider/index.d.ts +49 -33
  482. package/lib/components/slider/src/slider.vue.d.ts +49 -33
  483. package/lib/components/switch/src/switch2.js +14 -33
  484. package/lib/components/switch/src/switch2.js.map +1 -1
  485. package/lib/components/table/src/table/style-helper.js +1 -1
  486. package/lib/components/table/src/table/style-helper.js.map +1 -1
  487. package/lib/components/table/src/table-body/render-helper.js +1 -1
  488. package/lib/components/table/src/table-body/render-helper.js.map +1 -1
  489. package/lib/components/table/src/table-body/styles-helper.d.ts +1 -1
  490. package/lib/components/table/src/table-body/styles-helper.js +2 -2
  491. package/lib/components/table/src/table-body/styles-helper.js.map +1 -1
  492. package/lib/components/table/src/util.d.ts +1 -1
  493. package/lib/components/table/src/util.js +3 -3
  494. package/lib/components/table/src/util.js.map +1 -1
  495. package/lib/components/table-v2/src/composables/use-styles.d.ts +1 -0
  496. package/lib/components/table-v2/src/composables/use-styles.js +2 -1
  497. package/lib/components/table-v2/src/composables/use-styles.js.map +1 -1
  498. package/lib/components/table-v2/src/use-table.js +3 -2
  499. package/lib/components/table-v2/src/use-table.js.map +1 -1
  500. package/lib/components/time-picker/src/common/picker.js +2 -0
  501. package/lib/components/time-picker/src/common/picker.js.map +1 -1
  502. package/lib/components/time-picker/src/common/picker.vue.d.ts +18 -11
  503. package/lib/components/time-picker/src/composables/use-time-picker.d.ts +2 -2
  504. package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +5 -5
  505. package/lib/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +17 -17
  506. package/lib/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +17 -17
  507. package/lib/components/transfer/index.d.ts +93 -65
  508. package/lib/components/transfer/src/transfer-panel.vue.d.ts +18 -11
  509. package/lib/components/transfer/src/transfer.vue.d.ts +93 -65
  510. package/lib/components/tree-v2/index.d.ts +868 -3
  511. package/lib/components/tree-v2/src/composables/useCheck.d.ts +2 -1
  512. package/lib/components/tree-v2/src/composables/useCheck.js.map +1 -1
  513. package/lib/components/tree-v2/src/composables/useTree.d.ts +6 -3
  514. package/lib/components/tree-v2/src/composables/useTree.js +1 -1
  515. package/lib/components/tree-v2/src/composables/useTree.js.map +1 -1
  516. package/lib/components/tree-v2/src/tree-node.js +66 -81
  517. package/lib/components/tree-v2/src/tree-node.js.map +1 -1
  518. package/lib/components/tree-v2/src/tree-node.vue.d.ts +566 -3
  519. package/lib/components/tree-v2/src/tree.js +61 -74
  520. package/lib/components/tree-v2/src/tree.js.map +1 -1
  521. package/lib/components/tree-v2/src/tree.vue.d.ts +868 -3
  522. package/lib/components/tree-v2/src/types.d.ts +1 -1
  523. package/lib/components/tree-v2/src/virtual-tree.d.ts +3 -2
  524. package/lib/components/tree-v2/src/virtual-tree.js.map +1 -1
  525. package/lib/index.js +1 -1
  526. package/lib/version.d.ts +1 -1
  527. package/lib/version.js +1 -1
  528. package/lib/version.js.map +1 -1
  529. package/package.json +2 -2
  530. package/theme-chalk/el-switch.css +1 -1
  531. package/theme-chalk/index.css +1 -1
  532. package/theme-chalk/src/switch.scss +37 -41
  533. package/web-types.json +1 -1
@@ -8,15 +8,32 @@ require('../../../utils/index.js');
8
8
  var index = require('./index.js');
9
9
  var shared = require('@vue/shared');
10
10
  var types = require('../../../utils/types.js');
11
+ var error = require('../../../utils/error.js');
11
12
 
12
13
  const messageInstance = /* @__PURE__ */ new Map();
14
+ const getAppendToElement = (props) => {
15
+ let appendTo = document.body;
16
+ if (props.appendTo) {
17
+ if (shared.isString(props.appendTo)) {
18
+ appendTo = document.querySelector(props.appendTo);
19
+ }
20
+ if (types.isElement(props.appendTo)) {
21
+ appendTo = props.appendTo;
22
+ }
23
+ if (!types.isElement(appendTo)) {
24
+ error.debugWarn("ElMessageBox", "the appendTo option is not an HTMLElement. Falling back to document.body.");
25
+ appendTo = document.body;
26
+ }
27
+ }
28
+ return appendTo;
29
+ };
13
30
  const initInstance = (props, container, appContext = null) => {
14
31
  const vnode = vue.createVNode(index["default"], props, shared.isFunction(props.message) || vue.isVNode(props.message) ? {
15
32
  default: shared.isFunction(props.message) ? props.message : () => props.message
16
33
  } : null);
17
34
  vnode.appContext = appContext;
18
35
  vue.render(vnode, container);
19
- document.body.appendChild(container.firstElementChild);
36
+ getAppendToElement(props).appendChild(container.firstElementChild);
20
37
  return vnode.component;
21
38
  };
22
39
  const genContainer = () => {
@@ -1 +1 @@
1
- {"version":3,"file":"messageBox.js","sources":["../../../../../../packages/components/message-box/src/messageBox.ts"],"sourcesContent":["import { createVNode, render } from 'vue'\nimport { isClient } from '@vueuse/core'\nimport {\n hasOwn,\n isFunction,\n isObject,\n isString,\n isUndefined,\n isVNode,\n} from '@element-plus/utils'\nimport MessageBoxConstructor from './index.vue'\n\nimport type { AppContext, ComponentPublicInstance, VNode } from 'vue'\nimport type {\n Action,\n Callback,\n ElMessageBoxOptions,\n ElMessageBoxShortcutMethod,\n IElMessageBox,\n MessageBoxData,\n MessageBoxState,\n} from './message-box.type'\n\n// component default merge props & data\n\nconst messageInstance = new Map<\n ComponentPublicInstance<{ doClose: () => void }>, // marking doClose as function\n {\n options: any\n callback: Callback | undefined\n resolve: (res: any) => void\n reject: (reason?: any) => void\n }\n>()\n\nconst initInstance = (\n props: any,\n container: HTMLElement,\n appContext: AppContext | null = null\n) => {\n const vnode = createVNode(\n MessageBoxConstructor,\n props,\n isFunction(props.message) || isVNode(props.message)\n ? {\n default: isFunction(props.message)\n ? props.message\n : () => props.message,\n }\n : null\n )\n vnode.appContext = appContext\n render(vnode, container)\n document.body.appendChild(container.firstElementChild!)\n return vnode.component\n}\n\nconst genContainer = () => {\n return document.createElement('div')\n}\n\nconst showMessage = (options: any, appContext?: AppContext | null) => {\n const container = genContainer()\n // Adding destruct method.\n // when transition leaves emitting `vanish` evt. so that we can do the clean job.\n options.onVanish = () => {\n // not sure if this causes mem leak, need proof to verify that.\n // maybe calling out like 1000 msg-box then close them all.\n render(null, container)\n messageInstance.delete(vm) // Remove vm to avoid mem leak.\n // here we were suppose to call document.body.removeChild(container.firstElementChild)\n // but render(null, container) did that job for us. so that we do not call that directly\n }\n\n options.onAction = (action: Action) => {\n const currentMsg = messageInstance.get(vm)!\n let resolve: Action | { value: string; action: Action }\n if (options.showInput) {\n resolve = { value: vm.inputValue, action }\n } else {\n resolve = action\n }\n if (options.callback) {\n options.callback(resolve, instance.proxy)\n } else {\n if (action === 'cancel' || action === 'close') {\n if (options.distinguishCancelAndClose && action !== 'cancel') {\n currentMsg.reject('close')\n } else {\n currentMsg.reject('cancel')\n }\n } else {\n currentMsg.resolve(resolve)\n }\n }\n }\n\n const instance = initInstance(options, container, appContext)!\n\n // This is how we use message box programmably.\n // Maybe consider releasing a template version?\n // get component instance like v2.\n const vm = instance.proxy as ComponentPublicInstance<\n {\n visible: boolean\n doClose: () => void\n } & MessageBoxState\n >\n\n for (const prop in options) {\n if (hasOwn(options, prop) && !hasOwn(vm.$props, prop)) {\n vm[prop as keyof ComponentPublicInstance] = options[prop]\n }\n }\n\n // change visibility after everything is settled\n vm.visible = true\n return vm\n}\n\nasync function MessageBox(\n options: ElMessageBoxOptions,\n appContext?: AppContext | null\n): Promise<MessageBoxData>\nfunction MessageBox(\n options: ElMessageBoxOptions | string | VNode,\n appContext: AppContext | null = null\n): Promise<{ value: string; action: Action } | Action> {\n if (!isClient) return Promise.reject()\n let callback: Callback | undefined\n if (isString(options) || isVNode(options)) {\n options = {\n message: options,\n }\n } else {\n callback = options.callback\n }\n\n return new Promise((resolve, reject) => {\n const vm = showMessage(\n options,\n appContext ?? (MessageBox as IElMessageBox)._context\n )\n // collect this vm in order to handle upcoming events.\n messageInstance.set(vm, {\n options,\n callback,\n resolve,\n reject,\n })\n })\n}\n\nconst MESSAGE_BOX_VARIANTS = ['alert', 'confirm', 'prompt'] as const\nconst MESSAGE_BOX_DEFAULT_OPTS: Record<\n typeof MESSAGE_BOX_VARIANTS[number],\n Partial<ElMessageBoxOptions>\n> = {\n alert: { closeOnPressEscape: false, closeOnClickModal: false },\n confirm: { showCancelButton: true },\n prompt: { showCancelButton: true, showInput: true },\n}\n\nMESSAGE_BOX_VARIANTS.forEach((boxType) => {\n ;(MessageBox as IElMessageBox)[boxType] = messageBoxFactory(\n boxType\n ) as ElMessageBoxShortcutMethod\n})\n\nfunction messageBoxFactory(boxType: typeof MESSAGE_BOX_VARIANTS[number]) {\n return (\n message: string | VNode,\n title: string | ElMessageBoxOptions,\n options?: ElMessageBoxOptions,\n appContext?: AppContext | null\n ) => {\n let titleOrOpts = ''\n if (isObject(title)) {\n options = title as ElMessageBoxOptions\n titleOrOpts = ''\n } else if (isUndefined(title)) {\n titleOrOpts = ''\n } else {\n titleOrOpts = title as string\n }\n\n return MessageBox(\n Object.assign(\n {\n title: titleOrOpts,\n message,\n type: '',\n ...MESSAGE_BOX_DEFAULT_OPTS[boxType],\n },\n options,\n {\n boxType,\n }\n ),\n appContext\n )\n }\n}\n\nMessageBox.close = () => {\n // instance.setupInstall.doClose()\n // instance.setupInstall.state.visible = false\n\n messageInstance.forEach((_, vm) => {\n vm.doClose()\n })\n\n messageInstance.clear()\n}\n;(MessageBox as IElMessageBox)._context = null\n\nexport default MessageBox as IElMessageBox\n"],"names":["createVNode","MessageBoxConstructor","isFunction","isVNode","render","hasOwn","isClient","isString","isObject","isUndefined"],"mappings":";;;;;;;;;;;AAWA,MAAM,eAAe,mBAAmB,IAAI,GAAG,EAAE,CAAC;AAClD,MAAM,YAAY,GAAG,CAAC,KAAK,EAAE,SAAS,EAAE,UAAU,GAAG,IAAI,KAAK;AAC9D,EAAE,MAAM,KAAK,GAAGA,eAAW,CAACC,gBAAqB,EAAE,KAAK,EAAEC,iBAAU,CAAC,KAAK,CAAC,OAAO,CAAC,IAAIC,WAAO,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG;AAChH,IAAI,OAAO,EAAED,iBAAU,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,OAAO,GAAG,MAAM,KAAK,CAAC,OAAO;AAC5E,GAAG,GAAG,IAAI,CAAC,CAAC;AACZ,EAAE,KAAK,CAAC,UAAU,GAAG,UAAU,CAAC;AAChC,EAAEE,UAAM,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;AAC3B,EAAE,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAAC;AACzD,EAAE,OAAO,KAAK,CAAC,SAAS,CAAC;AACzB,CAAC,CAAC;AACF,MAAM,YAAY,GAAG,MAAM;AAC3B,EAAE,OAAO,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;AACvC,CAAC,CAAC;AACF,MAAM,WAAW,GAAG,CAAC,OAAO,EAAE,UAAU,KAAK;AAC7C,EAAE,MAAM,SAAS,GAAG,YAAY,EAAE,CAAC;AACnC,EAAE,OAAO,CAAC,QAAQ,GAAG,MAAM;AAC3B,IAAIA,UAAM,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;AAC5B,IAAI,eAAe,CAAC,MAAM,CAAC,EA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{"version":3,"file":"messageBox.js","sources":["../../../../../../packages/components/message-box/src/messageBox.ts"],"sourcesContent":["import { createVNode, render } from 'vue'\nimport { isClient } from '@vueuse/core'\nimport {\n debugWarn,\n hasOwn,\n isElement,\n isFunction,\n isObject,\n isString,\n isUndefined,\n isVNode,\n} from '@element-plus/utils'\nimport MessageBoxConstructor from './index.vue'\n\nimport type { AppContext, ComponentPublicInstance, VNode } from 'vue'\nimport type {\n Action,\n Callback,\n ElMessageBoxOptions,\n ElMessageBoxShortcutMethod,\n IElMessageBox,\n MessageBoxData,\n MessageBoxState,\n} from './message-box.type'\n\n// component default merge props & data\n\nconst messageInstance = new Map<\n ComponentPublicInstance<{ doClose: () => void }>, // marking doClose as function\n {\n options: any\n callback: Callback | undefined\n resolve: (res: any) => void\n reject: (reason?: any) => void\n }\n>()\n\nconst getAppendToElement = (props: any): HTMLElement => {\n let appendTo: HTMLElement | null = document.body\n if (props.appendTo) {\n if (isString(props.appendTo)) {\n appendTo = document.querySelector<HTMLElement>(props.appendTo)\n }\n if (isElement(props.appendTo)) {\n appendTo = props.appendTo\n }\n\n // should fallback to default value with a warning\n if (!isElement(appendTo)) {\n debugWarn(\n 'ElMessageBox',\n 'the appendTo option is not an HTMLElement. Falling back to document.body.'\n )\n appendTo = document.body\n }\n }\n return appendTo\n}\n\nconst initInstance = (\n props: any,\n container: HTMLElement,\n appContext: AppContext | null = null\n) => {\n const vnode = createVNode(\n MessageBoxConstructor,\n props,\n isFunction(props.message) || isVNode(props.message)\n ? {\n default: isFunction(props.message)\n ? props.message\n : () => props.message,\n }\n : null\n )\n vnode.appContext = appContext\n render(vnode, container)\n getAppendToElement(props).appendChild(container.firstElementChild!)\n return vnode.component\n}\n\nconst genContainer = () => {\n return document.createElement('div')\n}\n\nconst showMessage = (options: any, appContext?: AppContext | null) => {\n const container = genContainer()\n // Adding destruct method.\n // when transition leaves emitting `vanish` evt. so that we can do the clean job.\n options.onVanish = () => {\n // not sure if this causes mem leak, need proof to verify that.\n // maybe calling out like 1000 msg-box then close them all.\n render(null, container)\n messageInstance.delete(vm) // Remove vm to avoid mem leak.\n // here we were suppose to call document.body.removeChild(container.firstElementChild)\n // but render(null, container) did that job for us. so that we do not call that directly\n }\n\n options.onAction = (action: Action) => {\n const currentMsg = messageInstance.get(vm)!\n let resolve: Action | { value: string; action: Action }\n if (options.showInput) {\n resolve = { value: vm.inputValue, action }\n } else {\n resolve = action\n }\n if (options.callback) {\n options.callback(resolve, instance.proxy)\n } else {\n if (action === 'cancel' || action === 'close') {\n if (options.distinguishCancelAndClose && action !== 'cancel') {\n currentMsg.reject('close')\n } else {\n currentMsg.reject('cancel')\n }\n } else {\n currentMsg.resolve(resolve)\n }\n }\n }\n\n const instance = initInstance(options, container, appContext)!\n\n // This is how we use message box programmably.\n // Maybe consider releasing a template version?\n // get component instance like v2.\n const vm = instance.proxy as ComponentPublicInstance<\n {\n visible: boolean\n doClose: () => void\n } & MessageBoxState\n >\n\n for (const prop in options) {\n if (hasOwn(options, prop) && !hasOwn(vm.$props, prop)) {\n vm[prop as keyof ComponentPublicInstance] = options[prop]\n }\n }\n\n // change visibility after everything is settled\n vm.visible = true\n return vm\n}\n\nasync function MessageBox(\n options: ElMessageBoxOptions,\n appContext?: AppContext | null\n): Promise<MessageBoxData>\nfunction MessageBox(\n options: ElMessageBoxOptions | string | VNode,\n appContext: AppContext | null = null\n): Promise<{ value: string; action: Action } | Action> {\n if (!isClient) return Promise.reject()\n let callback: Callback | undefined\n if (isString(options) || isVNode(options)) {\n options = {\n message: options,\n }\n } else {\n callback = options.callback\n }\n\n return new Promise((resolve, reject) => {\n const vm = showMessage(\n options,\n appContext ?? (MessageBox as IElMessageBox)._context\n )\n // collect this vm in order to handle upcoming events.\n messageInstance.set(vm, {\n options,\n callback,\n resolve,\n reject,\n })\n })\n}\n\nconst MESSAGE_BOX_VARIANTS = ['alert', 'confirm', 'prompt'] as const\nconst MESSAGE_BOX_DEFAULT_OPTS: Record<\n typeof MESSAGE_BOX_VARIANTS[number],\n Partial<ElMessageBoxOptions>\n> = {\n alert: { closeOnPressEscape: false, closeOnClickModal: false },\n confirm: { showCancelButton: true },\n prompt: { showCancelButton: true, showInput: true },\n}\n\nMESSAGE_BOX_VARIANTS.forEach((boxType) => {\n ;(MessageBox as IElMessageBox)[boxType] = messageBoxFactory(\n boxType\n ) as ElMessageBoxShortcutMethod\n})\n\nfunction messageBoxFactory(boxType: typeof MESSAGE_BOX_VARIANTS[number]) {\n return (\n message: string | VNode,\n title: string | ElMessageBoxOptions,\n options?: ElMessageBoxOptions,\n appContext?: AppContext | null\n ) => {\n let titleOrOpts = ''\n if (isObject(title)) {\n options = title as ElMessageBoxOptions\n titleOrOpts = ''\n } else if (isUndefined(title)) {\n titleOrOpts = ''\n } else {\n titleOrOpts = title as string\n }\n\n return MessageBox(\n Object.assign(\n {\n title: titleOrOpts,\n message,\n type: '',\n ...MESSAGE_BOX_DEFAULT_OPTS[boxType],\n },\n options,\n {\n boxType,\n }\n ),\n appContext\n )\n }\n}\n\nMessageBox.close = () => {\n // instance.setupInstall.doClose()\n // instance.setupInstall.state.visible = false\n\n messageInstance.forEach((_, vm) => {\n vm.doClose()\n })\n\n messageInstance.clear()\n}\n;(MessageBox as IElMessageBox)._context = null\n\nexport default MessageBox as IElMessageBox\n"],"names":["isString","isElement","debugWarn","createVNode","MessageBoxConstructor","isFunction","isVNode","render","hasOwn","isClient","isObject","isUndefined"],"mappings":";;;;;;;;;;;;AAaA,MAAM,eAAe,mBAAmB,IAAI,GAAG,EAAE,CAAC;AAClD,MAAM,kBAAkB,GAAG,CAAC,KAAK,KAAK;AACtC,EAAE,IAAI,QAAQ,GAAG,QAAQ,CAAC,IAAI,CAAC;AAC/B,EAAE,IAAI,KAAK,CAAC,QAAQ,EAAE;AACtB,IAAI,IAAIA,eAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE;AAClC,MAAM,QAAQ,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,QAAQ,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EAAE,CAAC;AACjB,GAAG,CAAC,CAAC;AACL,EAAE,eAAe,CAAC,KAAK,EAAE,CAAC;AAC1B,CAAC,CAAC;AACF,UAAU,CAAC,QAAQ,GAAG,IAAI;;;;"}
@@ -63,7 +63,12 @@ declare const _default: import("vue").DefineComponent<{}, {
63
63
  readonly validator: ((val: unknown) => boolean) | undefined;
64
64
  __epPropKey: true;
65
65
  };
66
- readonly form: import("../../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
66
+ readonly form: {
67
+ readonly type: import("vue").PropType<string>;
68
+ readonly required: false;
69
+ readonly validator: ((val: unknown) => boolean) | undefined;
70
+ __epPropKey: true;
71
+ };
67
72
  readonly readonly: import("../../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
68
73
  readonly clearable: import("../../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
69
74
  readonly showPassword: import("../../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
@@ -86,10 +91,6 @@ declare const _default: import("vue").DefineComponent<{}, {
86
91
  readonly validateEvent: import("../../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
87
92
  readonly inputStyle: import("../../../../utils").EpPropFinalized<(new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue) | ((new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("../../../../utils").Mutable<{}>, boolean>;
88
93
  }, {
89
- PENDANT_MAP: {
90
- readonly suffix: "append";
91
- readonly prefix: "prepend";
92
- };
93
94
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
94
95
  readonly id: import("../../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
95
96
  readonly size: {
@@ -127,7 +128,12 @@ declare const _default: import("vue").DefineComponent<{}, {
127
128
  readonly validator: ((val: unknown) => boolean) | undefined;
128
129
  __epPropKey: true;
129
130
  };
130
- readonly form: import("../../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
131
+ readonly form: {
132
+ readonly type: import("vue").PropType<string>;
133
+ readonly required: false;
134
+ readonly validator: ((val: unknown) => boolean) | undefined;
135
+ __epPropKey: true;
136
+ };
131
137
  readonly readonly: import("../../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
132
138
  readonly clearable: import("../../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
133
139
  readonly showPassword: import("../../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
@@ -164,7 +170,6 @@ declare const _default: import("vue").DefineComponent<{}, {
164
170
  onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
165
171
  }>>;
166
172
  emit: ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "input", value: string) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "clear") => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void);
167
- instance: import("vue").ComponentInternalInstance;
168
173
  rawAttrs: {
169
174
  [x: string]: unknown;
170
175
  };
@@ -240,8 +245,6 @@ declare const _default: import("vue").DefineComponent<{}, {
240
245
  setCursor: () => void;
241
246
  resizeTextarea: () => void;
242
247
  setNativeInputValue: () => void;
243
- calcIconOffset: (place: "suffix" | "prefix") => void;
244
- updateIconOffset: () => void;
245
248
  handleInput: (event: Event) => Promise<void>;
246
249
  handleChange: (event: Event) => void;
247
250
  handleCompositionStart: (event: CompositionEvent) => void;
@@ -372,7 +375,12 @@ declare const _default: import("vue").DefineComponent<{}, {
372
375
  readonly validator: ((val: unknown) => boolean) | undefined;
373
376
  __epPropKey: true;
374
377
  };
375
- readonly form: import("../../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
378
+ readonly form: {
379
+ readonly type: import("vue").PropType<string>;
380
+ readonly required: false;
381
+ readonly validator: ((val: unknown) => boolean) | undefined;
382
+ __epPropKey: true;
383
+ };
376
384
  readonly readonly: import("../../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
377
385
  readonly clearable: import("../../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
378
386
  readonly showPassword: import("../../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
@@ -416,7 +424,6 @@ declare const _default: import("vue").DefineComponent<{}, {
416
424
  readonly id: string;
417
425
  readonly autosize: import("element-plus/es/components/input").InputAutoSize;
418
426
  readonly autocomplete: string;
419
- readonly form: string;
420
427
  readonly readonly: import("../../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
421
428
  readonly clearable: import("../../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
422
429
  readonly showPassword: import("../../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
@@ -6205,11 +6205,7 @@ export declare const ElPopconfirm: import("element-plus/es/utils").SFCWithInstal
6205
6205
  onClick?: ((evt: MouseEvent) => any) | undefined;
6206
6206
  }>>;
6207
6207
  emit: (event: "click", evt: MouseEvent) => void;
6208
- slots: Readonly<{
6209
- [name: string]: import("vue").Slot | undefined;
6210
- }>;
6211
- buttonGroupContext: import("../..").ButtonGroupContext | undefined;
6212
- globalConfig: import("vue").Ref<import("..").ButtonConfigContext | undefined>;
6208
+ buttonStyle: import("vue").ComputedRef<Record<string, string>>;
6213
6209
  ns: {
6214
6210
  namespace: import("vue").Ref<string>;
6215
6211
  b: (blockSuffix?: string) => string;
@@ -6228,14 +6224,11 @@ export declare const ElPopconfirm: import("element-plus/es/utils").SFCWithInstal
6228
6224
  cssVarBlock: (object: Record<string, string>) => Record<string, string>;
6229
6225
  cssVarBlockName: (name: string) => string;
6230
6226
  };
6231
- form: import("../..").FormContext | undefined;
6232
- _size: import("vue").ComputedRef<"" | "default" | "small" | "large">;
6233
- _disabled: import("vue").ComputedRef<boolean>;
6234
6227
  _ref: import("vue").Ref<HTMLButtonElement | undefined>;
6228
+ _size: import("vue").ComputedRef<"" | "default" | "small" | "large">;
6235
6229
  _type: import("vue").ComputedRef<"" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text">;
6236
- autoInsertSpace: import("vue").ComputedRef<import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
6230
+ _disabled: import("vue").ComputedRef<boolean>;
6237
6231
  shouldAddSpace: import("vue").ComputedRef<boolean>;
6238
- buttonStyle: import("vue").ComputedRef<Record<string, string>>;
6239
6232
  handleClick: (evt: MouseEvent) => void;
6240
6233
  ElIcon: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
6241
6234
  readonly size: {
@@ -6205,11 +6205,7 @@ declare const _default: import("vue").DefineComponent<{
6205
6205
  onClick?: ((evt: MouseEvent) => any) | undefined;
6206
6206
  }>>;
6207
6207
  emit: (event: "click", evt: MouseEvent) => void;
6208
- slots: Readonly<{
6209
- [name: string]: import("vue").Slot | undefined;
6210
- }>;
6211
- buttonGroupContext: import("../../..").ButtonGroupContext | undefined;
6212
- globalConfig: import("vue").Ref<import("element-plus/es/components/button").ButtonConfigContext | undefined>;
6208
+ buttonStyle: import("vue").ComputedRef<Record<string, string>>;
6213
6209
  ns: {
6214
6210
  namespace: import("vue").Ref<string>;
6215
6211
  b: (blockSuffix?: string) => string;
@@ -6228,14 +6224,11 @@ declare const _default: import("vue").DefineComponent<{
6228
6224
  cssVarBlock: (object: Record<string, string>) => Record<string, string>;
6229
6225
  cssVarBlockName: (name: string) => string;
6230
6226
  };
6231
- form: import("../../..").FormContext | undefined;
6232
- _size: import("vue").ComputedRef<"" | "default" | "small" | "large">;
6233
- _disabled: import("vue").ComputedRef<boolean>;
6234
6227
  _ref: import("vue").Ref<HTMLButtonElement | undefined>;
6228
+ _size: import("vue").ComputedRef<"" | "default" | "small" | "large">;
6235
6229
  _type: import("vue").ComputedRef<"" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text">;
6236
- autoInsertSpace: import("vue").ComputedRef<import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
6230
+ _disabled: import("vue").ComputedRef<boolean>;
6237
6231
  shouldAddSpace: import("vue").ComputedRef<boolean>;
6238
- buttonStyle: import("vue").ComputedRef<Record<string, string>>;
6239
6232
  handleClick: (evt: MouseEvent) => void;
6240
6233
  ElIcon: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
6241
6234
  readonly size: {
@@ -83,9 +83,9 @@ export declare const ElSkeleton: import("element-plus/es/utils").SFCWithInstall<
83
83
  };
84
84
  }>>, {
85
85
  readonly loading: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
86
+ readonly rows: number;
86
87
  readonly animated: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
87
88
  readonly count: number;
88
- readonly rows: number;
89
89
  }>> & {
90
90
  SkeletonItem: import("vue").DefineComponent<{
91
91
  readonly variant: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "text" | "button" | "circle" | "caption" | "image" | "rect" | "h1" | "h3" | "p", unknown, "text", boolean>;
@@ -83,8 +83,8 @@ declare const _default: import("vue").DefineComponent<{
83
83
  };
84
84
  }>>, {
85
85
  readonly loading: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
86
+ readonly rows: number;
86
87
  readonly animated: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
87
88
  readonly count: number;
88
- readonly rows: number;
89
89
  }>;
90
90
  export default _default;
@@ -13358,7 +13358,6 @@ export declare const ElSlider: import("element-plus/es/utils").SFCWithInstall<im
13358
13358
  readonly id: string;
13359
13359
  readonly autosize: import("..").InputAutoSize;
13360
13360
  readonly autocomplete: string;
13361
- readonly form: string;
13362
13361
  readonly readonly: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
13363
13362
  readonly clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
13364
13363
  readonly showPassword: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
@@ -13403,7 +13402,12 @@ export declare const ElSlider: import("element-plus/es/utils").SFCWithInstall<im
13403
13402
  readonly validator: ((val: unknown) => boolean) | undefined;
13404
13403
  __epPropKey: true;
13405
13404
  };
13406
- readonly form: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
13405
+ readonly form: {
13406
+ readonly type: import("vue").PropType<string>;
13407
+ readonly required: false;
13408
+ readonly validator: ((val: unknown) => boolean) | undefined;
13409
+ __epPropKey: true;
13410
+ };
13407
13411
  readonly readonly: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
13408
13412
  readonly clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
13409
13413
  readonly showPassword: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
@@ -13438,7 +13442,7 @@ export declare const ElSlider: import("element-plus/es/utils").SFCWithInstall<im
13438
13442
  onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
13439
13443
  onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
13440
13444
  onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
13441
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "disabled" | "label" | "modelValue" | "validateEvent" | "id" | "autosize" | "autocomplete" | "form" | "readonly" | "clearable" | "showPassword" | "showWordLimit" | "containerRole" | "tabindex" | "inputStyle">;
13445
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "disabled" | "label" | "modelValue" | "validateEvent" | "id" | "autosize" | "autocomplete" | "readonly" | "clearable" | "showPassword" | "showWordLimit" | "containerRole" | "tabindex" | "inputStyle">;
13442
13446
  $attrs: {
13443
13447
  [x: string]: unknown;
13444
13448
  };
@@ -13489,7 +13493,12 @@ export declare const ElSlider: import("element-plus/es/utils").SFCWithInstall<im
13489
13493
  readonly validator: ((val: unknown) => boolean) | undefined;
13490
13494
  __epPropKey: true;
13491
13495
  };
13492
- readonly form: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
13496
+ readonly form: {
13497
+ readonly type: import("vue").PropType<string>;
13498
+ readonly required: false;
13499
+ readonly validator: ((val: unknown) => boolean) | undefined;
13500
+ __epPropKey: true;
13501
+ };
13493
13502
  readonly readonly: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
13494
13503
  readonly clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
13495
13504
  readonly showPassword: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
@@ -13525,10 +13534,6 @@ export declare const ElSlider: import("element-plus/es/utils").SFCWithInstall<im
13525
13534
  onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
13526
13535
  onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
13527
13536
  }, {
13528
- PENDANT_MAP: {
13529
- readonly suffix: "append";
13530
- readonly prefix: "prepend";
13531
- };
13532
13537
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
13533
13538
  readonly id: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
13534
13539
  readonly size: {
@@ -13566,7 +13571,12 @@ export declare const ElSlider: import("element-plus/es/utils").SFCWithInstall<im
13566
13571
  readonly validator: ((val: unknown) => boolean) | undefined;
13567
13572
  __epPropKey: true;
13568
13573
  };
13569
- readonly form: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
13574
+ readonly form: {
13575
+ readonly type: import("vue").PropType<string>;
13576
+ readonly required: false;
13577
+ readonly validator: ((val: unknown) => boolean) | undefined;
13578
+ __epPropKey: true;
13579
+ };
13570
13580
  readonly readonly: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
13571
13581
  readonly clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
13572
13582
  readonly showPassword: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
@@ -13603,7 +13613,6 @@ export declare const ElSlider: import("element-plus/es/utils").SFCWithInstall<im
13603
13613
  onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
13604
13614
  }>>;
13605
13615
  emit: ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "input", value: string) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "clear") => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void);
13606
- instance: import("vue").ComponentInternalInstance;
13607
13616
  rawAttrs: {
13608
13617
  [x: string]: unknown;
13609
13618
  };
@@ -13679,8 +13688,6 @@ export declare const ElSlider: import("element-plus/es/utils").SFCWithInstall<im
13679
13688
  setCursor: () => void;
13680
13689
  resizeTextarea: () => void;
13681
13690
  setNativeInputValue: () => void;
13682
- calcIconOffset: (place: "suffix" | "prefix") => void;
13683
- updateIconOffset: () => void;
13684
13691
  handleInput: (event: Event) => Promise<void>;
13685
13692
  handleChange: (event: Event) => void;
13686
13693
  handleCompositionStart: (event: CompositionEvent) => void;
@@ -13783,7 +13790,6 @@ export declare const ElSlider: import("element-plus/es/utils").SFCWithInstall<im
13783
13790
  readonly id: string;
13784
13791
  readonly autosize: import("..").InputAutoSize;
13785
13792
  readonly autocomplete: string;
13786
- readonly form: string;
13787
13793
  readonly readonly: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
13788
13794
  readonly clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
13789
13795
  readonly showPassword: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
@@ -13848,7 +13854,12 @@ export declare const ElSlider: import("element-plus/es/utils").SFCWithInstall<im
13848
13854
  readonly validator: ((val: unknown) => boolean) | undefined;
13849
13855
  __epPropKey: true;
13850
13856
  };
13851
- readonly form: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
13857
+ readonly form: {
13858
+ readonly type: import("vue").PropType<string>;
13859
+ readonly required: false;
13860
+ readonly validator: ((val: unknown) => boolean) | undefined;
13861
+ __epPropKey: true;
13862
+ };
13852
13863
  readonly readonly: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
13853
13864
  readonly clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
13854
13865
  readonly showPassword: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
@@ -13884,10 +13895,6 @@ export declare const ElSlider: import("element-plus/es/utils").SFCWithInstall<im
13884
13895
  onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
13885
13896
  onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
13886
13897
  } & import("vue").ShallowUnwrapRef<{
13887
- PENDANT_MAP: {
13888
- readonly suffix: "append";
13889
- readonly prefix: "prepend";
13890
- };
13891
13898
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
13892
13899
  readonly id: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
13893
13900
  readonly size: {
@@ -13925,7 +13932,12 @@ export declare const ElSlider: import("element-plus/es/utils").SFCWithInstall<im
13925
13932
  readonly validator: ((val: unknown) => boolean) | undefined;
13926
13933
  __epPropKey: true;
13927
13934
  };
13928
- readonly form: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
13935
+ readonly form: {
13936
+ readonly type: import("vue").PropType<string>;
13937
+ readonly required: false;
13938
+ readonly validator: ((val: unknown) => boolean) | undefined;
13939
+ __epPropKey: true;
13940
+ };
13929
13941
  readonly readonly: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
13930
13942
  readonly clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
13931
13943
  readonly showPassword: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
@@ -13962,7 +13974,6 @@ export declare const ElSlider: import("element-plus/es/utils").SFCWithInstall<im
13962
13974
  onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
13963
13975
  }>>;
13964
13976
  emit: ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "input", value: string) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "clear") => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void);
13965
- instance: import("vue").ComponentInternalInstance;
13966
13977
  rawAttrs: {
13967
13978
  [x: string]: unknown;
13968
13979
  };
@@ -14038,8 +14049,6 @@ export declare const ElSlider: import("element-plus/es/utils").SFCWithInstall<im
14038
14049
  setCursor: () => void;
14039
14050
  resizeTextarea: () => void;
14040
14051
  setNativeInputValue: () => void;
14041
- calcIconOffset: (place: "suffix" | "prefix") => void;
14042
- updateIconOffset: () => void;
14043
14052
  handleInput: (event: Event) => Promise<void>;
14044
14053
  handleChange: (event: Event) => void;
14045
14054
  handleCompositionStart: (event: CompositionEvent) => void;
@@ -14183,7 +14192,12 @@ export declare const ElSlider: import("element-plus/es/utils").SFCWithInstall<im
14183
14192
  readonly validator: ((val: unknown) => boolean) | undefined;
14184
14193
  __epPropKey: true;
14185
14194
  };
14186
- readonly form: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
14195
+ readonly form: {
14196
+ readonly type: import("vue").PropType<string>;
14197
+ readonly required: false;
14198
+ readonly validator: ((val: unknown) => boolean) | undefined;
14199
+ __epPropKey: true;
14200
+ };
14187
14201
  readonly readonly: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
14188
14202
  readonly clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
14189
14203
  readonly showPassword: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
@@ -14206,10 +14220,6 @@ export declare const ElSlider: import("element-plus/es/utils").SFCWithInstall<im
14206
14220
  readonly validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
14207
14221
  readonly inputStyle: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue) | ((new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("element-plus/es/utils").Mutable<{}>, boolean>;
14208
14222
  }, {
14209
- PENDANT_MAP: {
14210
- readonly suffix: "append";
14211
- readonly prefix: "prepend";
14212
- };
14213
14223
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
14214
14224
  readonly id: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
14215
14225
  readonly size: {
@@ -14247,7 +14257,12 @@ export declare const ElSlider: import("element-plus/es/utils").SFCWithInstall<im
14247
14257
  readonly validator: ((val: unknown) => boolean) | undefined;
14248
14258
  __epPropKey: true;
14249
14259
  };
14250
- readonly form: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
14260
+ readonly form: {
14261
+ readonly type: import("vue").PropType<string>;
14262
+ readonly required: false;
14263
+ readonly validator: ((val: unknown) => boolean) | undefined;
14264
+ __epPropKey: true;
14265
+ };
14251
14266
  readonly readonly: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
14252
14267
  readonly clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
14253
14268
  readonly showPassword: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
@@ -14284,7 +14299,6 @@ export declare const ElSlider: import("element-plus/es/utils").SFCWithInstall<im
14284
14299
  onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
14285
14300
  }>>;
14286
14301
  emit: ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "input", value: string) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "clear") => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void);
14287
- instance: import("vue").ComponentInternalInstance;
14288
14302
  rawAttrs: {
14289
14303
  [x: string]: unknown;
14290
14304
  };
@@ -14360,8 +14374,6 @@ export declare const ElSlider: import("element-plus/es/utils").SFCWithInstall<im
14360
14374
  setCursor: () => void;
14361
14375
  resizeTextarea: () => void;
14362
14376
  setNativeInputValue: () => void;
14363
- calcIconOffset: (place: "suffix" | "prefix") => void;
14364
- updateIconOffset: () => void;
14365
14377
  handleInput: (event: Event) => Promise<void>;
14366
14378
  handleChange: (event: Event) => void;
14367
14379
  handleCompositionStart: (event: CompositionEvent) => void;
@@ -14492,7 +14504,12 @@ export declare const ElSlider: import("element-plus/es/utils").SFCWithInstall<im
14492
14504
  readonly validator: ((val: unknown) => boolean) | undefined;
14493
14505
  __epPropKey: true;
14494
14506
  };
14495
- readonly form: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
14507
+ readonly form: {
14508
+ readonly type: import("vue").PropType<string>;
14509
+ readonly required: false;
14510
+ readonly validator: ((val: unknown) => boolean) | undefined;
14511
+ __epPropKey: true;
14512
+ };
14496
14513
  readonly readonly: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
14497
14514
  readonly clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
14498
14515
  readonly showPassword: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
@@ -14536,7 +14553,6 @@ export declare const ElSlider: import("element-plus/es/utils").SFCWithInstall<im
14536
14553
  readonly id: string;
14537
14554
  readonly autosize: import("..").InputAutoSize;
14538
14555
  readonly autocomplete: string;
14539
- readonly form: string;
14540
14556
  readonly readonly: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
14541
14557
  readonly clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
14542
14558
  readonly showPassword: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;