@element-plus/nightly 0.0.20240105 → 0.0.20240106

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 (502) hide show
  1. package/dist/index.full.js +4 -8
  2. package/dist/index.full.min.js +11 -11
  3. package/dist/index.full.min.js.map +1 -1
  4. package/dist/index.full.min.mjs +11 -11
  5. package/dist/index.full.min.mjs.map +1 -1
  6. package/dist/index.full.mjs +4 -8
  7. package/dist/locale/af.js +1 -1
  8. package/dist/locale/af.min.js +1 -1
  9. package/dist/locale/af.min.mjs +1 -1
  10. package/dist/locale/af.mjs +1 -1
  11. package/dist/locale/ar-eg.js +1 -1
  12. package/dist/locale/ar-eg.min.js +1 -1
  13. package/dist/locale/ar-eg.min.mjs +1 -1
  14. package/dist/locale/ar-eg.mjs +1 -1
  15. package/dist/locale/ar.js +1 -1
  16. package/dist/locale/ar.min.js +1 -1
  17. package/dist/locale/ar.min.mjs +1 -1
  18. package/dist/locale/ar.mjs +1 -1
  19. package/dist/locale/az.js +1 -1
  20. package/dist/locale/az.min.js +1 -1
  21. package/dist/locale/az.min.mjs +1 -1
  22. package/dist/locale/az.mjs +1 -1
  23. package/dist/locale/bg.js +1 -1
  24. package/dist/locale/bg.min.js +1 -1
  25. package/dist/locale/bg.min.mjs +1 -1
  26. package/dist/locale/bg.mjs +1 -1
  27. package/dist/locale/bn.js +1 -1
  28. package/dist/locale/bn.min.js +1 -1
  29. package/dist/locale/bn.min.mjs +1 -1
  30. package/dist/locale/bn.mjs +1 -1
  31. package/dist/locale/ca.js +1 -1
  32. package/dist/locale/ca.min.js +1 -1
  33. package/dist/locale/ca.min.mjs +1 -1
  34. package/dist/locale/ca.mjs +1 -1
  35. package/dist/locale/ckb.js +1 -1
  36. package/dist/locale/ckb.min.js +1 -1
  37. package/dist/locale/ckb.min.mjs +1 -1
  38. package/dist/locale/ckb.mjs +1 -1
  39. package/dist/locale/cs.js +1 -1
  40. package/dist/locale/cs.min.js +1 -1
  41. package/dist/locale/cs.min.mjs +1 -1
  42. package/dist/locale/cs.mjs +1 -1
  43. package/dist/locale/da.js +1 -1
  44. package/dist/locale/da.min.js +1 -1
  45. package/dist/locale/da.min.mjs +1 -1
  46. package/dist/locale/da.mjs +1 -1
  47. package/dist/locale/de.js +1 -1
  48. package/dist/locale/de.min.js +1 -1
  49. package/dist/locale/de.min.mjs +1 -1
  50. package/dist/locale/de.mjs +1 -1
  51. package/dist/locale/el.js +1 -1
  52. package/dist/locale/el.min.js +1 -1
  53. package/dist/locale/el.min.mjs +1 -1
  54. package/dist/locale/el.mjs +1 -1
  55. package/dist/locale/en.js +1 -1
  56. package/dist/locale/en.min.js +1 -1
  57. package/dist/locale/en.min.mjs +1 -1
  58. package/dist/locale/en.mjs +1 -1
  59. package/dist/locale/eo.js +1 -1
  60. package/dist/locale/eo.min.js +1 -1
  61. package/dist/locale/eo.min.mjs +1 -1
  62. package/dist/locale/eo.mjs +1 -1
  63. package/dist/locale/es.js +1 -1
  64. package/dist/locale/es.min.js +1 -1
  65. package/dist/locale/es.min.mjs +1 -1
  66. package/dist/locale/es.mjs +1 -1
  67. package/dist/locale/et.js +1 -1
  68. package/dist/locale/et.min.js +1 -1
  69. package/dist/locale/et.min.mjs +1 -1
  70. package/dist/locale/et.mjs +1 -1
  71. package/dist/locale/eu.js +1 -1
  72. package/dist/locale/eu.min.js +1 -1
  73. package/dist/locale/eu.min.mjs +1 -1
  74. package/dist/locale/eu.mjs +1 -1
  75. package/dist/locale/fa.js +1 -1
  76. package/dist/locale/fa.min.js +1 -1
  77. package/dist/locale/fa.min.mjs +1 -1
  78. package/dist/locale/fa.mjs +1 -1
  79. package/dist/locale/fi.js +1 -1
  80. package/dist/locale/fi.min.js +1 -1
  81. package/dist/locale/fi.min.mjs +1 -1
  82. package/dist/locale/fi.mjs +1 -1
  83. package/dist/locale/fr.js +1 -1
  84. package/dist/locale/fr.min.js +1 -1
  85. package/dist/locale/fr.min.mjs +1 -1
  86. package/dist/locale/fr.mjs +1 -1
  87. package/dist/locale/he.js +1 -1
  88. package/dist/locale/he.min.js +1 -1
  89. package/dist/locale/he.min.mjs +1 -1
  90. package/dist/locale/he.mjs +1 -1
  91. package/dist/locale/hr.js +1 -1
  92. package/dist/locale/hr.min.js +1 -1
  93. package/dist/locale/hr.min.mjs +1 -1
  94. package/dist/locale/hr.mjs +1 -1
  95. package/dist/locale/hu.js +1 -1
  96. package/dist/locale/hu.min.js +1 -1
  97. package/dist/locale/hu.min.mjs +1 -1
  98. package/dist/locale/hu.mjs +1 -1
  99. package/dist/locale/hy-am.js +1 -1
  100. package/dist/locale/hy-am.min.js +1 -1
  101. package/dist/locale/hy-am.min.mjs +1 -1
  102. package/dist/locale/hy-am.mjs +1 -1
  103. package/dist/locale/id.js +1 -1
  104. package/dist/locale/id.min.js +1 -1
  105. package/dist/locale/id.min.mjs +1 -1
  106. package/dist/locale/id.mjs +1 -1
  107. package/dist/locale/it.js +1 -1
  108. package/dist/locale/it.min.js +1 -1
  109. package/dist/locale/it.min.mjs +1 -1
  110. package/dist/locale/it.mjs +1 -1
  111. package/dist/locale/ja.js +1 -1
  112. package/dist/locale/ja.min.js +1 -1
  113. package/dist/locale/ja.min.mjs +1 -1
  114. package/dist/locale/ja.mjs +1 -1
  115. package/dist/locale/kk.js +1 -1
  116. package/dist/locale/kk.min.js +1 -1
  117. package/dist/locale/kk.min.mjs +1 -1
  118. package/dist/locale/kk.mjs +1 -1
  119. package/dist/locale/km.js +1 -1
  120. package/dist/locale/km.min.js +1 -1
  121. package/dist/locale/km.min.mjs +1 -1
  122. package/dist/locale/km.mjs +1 -1
  123. package/dist/locale/ko.js +1 -1
  124. package/dist/locale/ko.min.js +1 -1
  125. package/dist/locale/ko.min.mjs +1 -1
  126. package/dist/locale/ko.mjs +1 -1
  127. package/dist/locale/ku.js +1 -1
  128. package/dist/locale/ku.min.js +1 -1
  129. package/dist/locale/ku.min.mjs +1 -1
  130. package/dist/locale/ku.mjs +1 -1
  131. package/dist/locale/ky.js +1 -1
  132. package/dist/locale/ky.min.js +1 -1
  133. package/dist/locale/ky.min.mjs +1 -1
  134. package/dist/locale/ky.mjs +1 -1
  135. package/dist/locale/lt.js +1 -1
  136. package/dist/locale/lt.min.js +1 -1
  137. package/dist/locale/lt.min.mjs +1 -1
  138. package/dist/locale/lt.mjs +1 -1
  139. package/dist/locale/lv.js +1 -1
  140. package/dist/locale/lv.min.js +1 -1
  141. package/dist/locale/lv.min.mjs +1 -1
  142. package/dist/locale/lv.mjs +1 -1
  143. package/dist/locale/mg.js +1 -1
  144. package/dist/locale/mg.min.js +1 -1
  145. package/dist/locale/mg.min.mjs +1 -1
  146. package/dist/locale/mg.mjs +1 -1
  147. package/dist/locale/mn.js +1 -1
  148. package/dist/locale/mn.min.js +1 -1
  149. package/dist/locale/mn.min.mjs +1 -1
  150. package/dist/locale/mn.mjs +1 -1
  151. package/dist/locale/nb-no.js +1 -1
  152. package/dist/locale/nb-no.min.js +1 -1
  153. package/dist/locale/nb-no.min.mjs +1 -1
  154. package/dist/locale/nb-no.mjs +1 -1
  155. package/dist/locale/nl.js +1 -1
  156. package/dist/locale/nl.min.js +1 -1
  157. package/dist/locale/nl.min.mjs +1 -1
  158. package/dist/locale/nl.mjs +1 -1
  159. package/dist/locale/pa.js +1 -1
  160. package/dist/locale/pa.min.js +1 -1
  161. package/dist/locale/pa.min.mjs +1 -1
  162. package/dist/locale/pa.mjs +1 -1
  163. package/dist/locale/pl.js +1 -1
  164. package/dist/locale/pl.min.js +1 -1
  165. package/dist/locale/pl.min.mjs +1 -1
  166. package/dist/locale/pl.mjs +1 -1
  167. package/dist/locale/pt-br.js +1 -1
  168. package/dist/locale/pt-br.min.js +1 -1
  169. package/dist/locale/pt-br.min.mjs +1 -1
  170. package/dist/locale/pt-br.mjs +1 -1
  171. package/dist/locale/pt.js +1 -1
  172. package/dist/locale/pt.min.js +1 -1
  173. package/dist/locale/pt.min.mjs +1 -1
  174. package/dist/locale/pt.mjs +1 -1
  175. package/dist/locale/ro.js +1 -1
  176. package/dist/locale/ro.min.js +1 -1
  177. package/dist/locale/ro.min.mjs +1 -1
  178. package/dist/locale/ro.mjs +1 -1
  179. package/dist/locale/ru.js +1 -1
  180. package/dist/locale/ru.min.js +1 -1
  181. package/dist/locale/ru.min.mjs +1 -1
  182. package/dist/locale/ru.mjs +1 -1
  183. package/dist/locale/sk.js +1 -1
  184. package/dist/locale/sk.min.js +1 -1
  185. package/dist/locale/sk.min.mjs +1 -1
  186. package/dist/locale/sk.mjs +1 -1
  187. package/dist/locale/sl.js +1 -1
  188. package/dist/locale/sl.min.js +1 -1
  189. package/dist/locale/sl.min.mjs +1 -1
  190. package/dist/locale/sl.mjs +1 -1
  191. package/dist/locale/sr.js +1 -1
  192. package/dist/locale/sr.min.js +1 -1
  193. package/dist/locale/sr.min.mjs +1 -1
  194. package/dist/locale/sr.mjs +1 -1
  195. package/dist/locale/sv.js +1 -1
  196. package/dist/locale/sv.min.js +1 -1
  197. package/dist/locale/sv.min.mjs +1 -1
  198. package/dist/locale/sv.mjs +1 -1
  199. package/dist/locale/sw.js +1 -1
  200. package/dist/locale/sw.min.js +1 -1
  201. package/dist/locale/sw.min.mjs +1 -1
  202. package/dist/locale/sw.mjs +1 -1
  203. package/dist/locale/ta.js +1 -1
  204. package/dist/locale/ta.min.js +1 -1
  205. package/dist/locale/ta.min.mjs +1 -1
  206. package/dist/locale/ta.mjs +1 -1
  207. package/dist/locale/th.js +1 -1
  208. package/dist/locale/th.min.js +1 -1
  209. package/dist/locale/th.min.mjs +1 -1
  210. package/dist/locale/th.mjs +1 -1
  211. package/dist/locale/tk.js +1 -1
  212. package/dist/locale/tk.min.js +1 -1
  213. package/dist/locale/tk.min.mjs +1 -1
  214. package/dist/locale/tk.mjs +1 -1
  215. package/dist/locale/tr.js +1 -1
  216. package/dist/locale/tr.min.js +1 -1
  217. package/dist/locale/tr.min.mjs +1 -1
  218. package/dist/locale/tr.mjs +1 -1
  219. package/dist/locale/ug-cn.js +1 -1
  220. package/dist/locale/ug-cn.min.js +1 -1
  221. package/dist/locale/ug-cn.min.mjs +1 -1
  222. package/dist/locale/ug-cn.mjs +1 -1
  223. package/dist/locale/uk.js +1 -1
  224. package/dist/locale/uk.min.js +1 -1
  225. package/dist/locale/uk.min.mjs +1 -1
  226. package/dist/locale/uk.mjs +1 -1
  227. package/dist/locale/uz-uz.js +1 -1
  228. package/dist/locale/uz-uz.min.js +1 -1
  229. package/dist/locale/uz-uz.min.mjs +1 -1
  230. package/dist/locale/uz-uz.mjs +1 -1
  231. package/dist/locale/vi.js +1 -1
  232. package/dist/locale/vi.min.js +1 -1
  233. package/dist/locale/vi.min.mjs +1 -1
  234. package/dist/locale/vi.mjs +1 -1
  235. package/dist/locale/zh-cn.js +1 -1
  236. package/dist/locale/zh-cn.min.js +1 -1
  237. package/dist/locale/zh-cn.min.mjs +1 -1
  238. package/dist/locale/zh-cn.mjs +1 -1
  239. package/dist/locale/zh-tw.js +1 -1
  240. package/dist/locale/zh-tw.min.js +1 -1
  241. package/dist/locale/zh-tw.min.mjs +1 -1
  242. package/dist/locale/zh-tw.mjs +1 -1
  243. package/es/components/alert/index.d.ts +4 -4
  244. package/es/components/alert/src/alert.d.ts +1 -1
  245. package/es/components/alert/src/alert.vue.d.ts +4 -4
  246. package/es/components/autocomplete/index.d.ts +65 -65
  247. package/es/components/autocomplete/src/autocomplete.vue.d.ts +65 -65
  248. package/es/components/button/index.d.ts +5 -5
  249. package/es/components/button/index.mjs +3 -3
  250. package/es/components/button/src/button-group.mjs +6 -30
  251. package/es/components/button/src/button-group.mjs.map +1 -1
  252. package/es/components/button/src/button-group2.mjs +30 -6
  253. package/es/components/button/src/button-group2.mjs.map +1 -1
  254. package/es/components/button/src/button.d.ts +1 -1
  255. package/es/components/button/src/button.mjs +57 -76
  256. package/es/components/button/src/button.mjs.map +1 -1
  257. package/es/components/button/src/button.vue.d.ts +5 -5
  258. package/es/components/button/src/button2.mjs +76 -57
  259. package/es/components/button/src/button2.mjs.map +1 -1
  260. package/es/components/button/src/use-button.d.ts +1 -1
  261. package/es/components/calendar/index.d.ts +5 -5
  262. package/es/components/calendar/src/calendar.vue.d.ts +5 -5
  263. package/es/components/carousel/index.d.ts +5 -5
  264. package/es/components/carousel/src/carousel.d.ts +1 -1
  265. package/es/components/carousel/src/carousel.vue.d.ts +5 -5
  266. package/es/components/cascader/index.d.ts +128 -128
  267. package/es/components/cascader/src/cascader.vue.d.ts +64 -64
  268. package/es/components/color-picker/index.d.ts +38 -38
  269. package/es/components/color-picker/src/color-picker.vue.d.ts +38 -38
  270. package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +17 -17
  271. package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +17 -17
  272. package/es/components/date-picker/src/panel-utils.d.ts +34 -34
  273. package/es/components/dialog/index.d.ts +1 -1
  274. package/es/components/dialog/src/dialog.vue.d.ts +1 -1
  275. package/es/components/dropdown/index.d.ts +14 -14
  276. package/es/components/dropdown/src/dropdown-item-impl.vue.d.ts +1 -1
  277. package/es/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
  278. package/es/components/dropdown/src/dropdown.vue.d.ts +12 -12
  279. package/es/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
  280. package/es/components/form/index.d.ts +12 -12
  281. package/es/components/form/src/form-item.d.ts +1 -1
  282. package/es/components/form/src/form-item.vue.d.ts +5 -5
  283. package/es/components/image/index.d.ts +1 -1
  284. package/es/components/image/src/image.vue.d.ts +1 -1
  285. package/es/components/index.mjs +2 -2
  286. package/es/components/input/index.d.ts +12 -12
  287. package/es/components/input/src/input.vue.d.ts +12 -12
  288. package/es/components/input-number/index.d.ts +45 -45
  289. package/es/components/input-number/src/input-number.vue.d.ts +45 -45
  290. package/es/components/menu/index.d.ts +3 -3
  291. package/es/components/menu/src/menu.d.ts +4 -4
  292. package/es/components/menu/src/sub-menu.mjs +2 -6
  293. package/es/components/menu/src/sub-menu.mjs.map +1 -1
  294. package/es/components/message/src/message.d.ts +1 -1
  295. package/es/components/message/src/message.vue.d.ts +4 -4
  296. package/es/components/notification/src/notification.d.ts +1 -1
  297. package/es/components/notification/src/notification.vue.d.ts +4 -4
  298. package/es/components/pagination/src/components/jumper.vue.d.ts +12 -12
  299. package/es/components/pagination/src/components/sizes.vue.d.ts +26 -26
  300. package/es/components/popconfirm/index.d.ts +23 -23
  301. package/es/components/popconfirm/src/popconfirm.mjs +1 -1
  302. package/es/components/popconfirm/src/popconfirm.vue.d.ts +23 -23
  303. package/es/components/popover/index.d.ts +18 -18
  304. package/es/components/popover/src/popover.vue.d.ts +18 -18
  305. package/es/components/popper/src/content.vue.d.ts +6 -6
  306. package/es/components/result/index.d.ts +4 -4
  307. package/es/components/result/src/result.d.ts +1 -1
  308. package/es/components/result/src/result.vue.d.ts +4 -4
  309. package/es/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
  310. package/es/components/select/index.d.ts +26 -26
  311. package/es/components/select/src/select.vue.d.ts +26 -26
  312. package/es/components/select/src/useSelect.d.ts +24 -24
  313. package/es/components/select-v2/index.d.ts +30 -30
  314. package/es/components/select-v2/src/option-item.vue.d.ts +1 -1
  315. package/es/components/select-v2/src/select.vue.d.ts +15 -15
  316. package/es/components/select-v2/src/useSelect.d.ts +13 -13
  317. package/es/components/slider/index.d.ts +75 -75
  318. package/es/components/slider/src/button.vue.d.ts +6 -6
  319. package/es/components/slider/src/composables/use-slide.d.ts +24 -24
  320. package/es/components/slider/src/slider.vue.d.ts +75 -75
  321. package/es/components/steps/index.d.ts +16 -16
  322. package/es/components/steps/src/item.d.ts +1 -1
  323. package/es/components/steps/src/item.vue.d.ts +4 -4
  324. package/es/components/steps/src/steps.d.ts +2 -2
  325. package/es/components/steps/src/steps.vue.d.ts +8 -8
  326. package/es/components/table/index.d.ts +1 -1
  327. package/es/components/table/src/filter-panel.vue.d.ts +12 -12
  328. package/es/components/table/src/table.vue.d.ts +1 -1
  329. package/es/components/tag/index.d.ts +1 -1
  330. package/es/components/tag/src/tag.vue.d.ts +1 -1
  331. package/es/components/time-picker/src/common/picker.vue.d.ts +34 -34
  332. package/es/components/time-select/index.d.ts +110 -110
  333. package/es/components/time-select/src/time-select.vue.d.ts +55 -55
  334. package/es/components/timeline/index.mjs +2 -2
  335. package/es/components/timeline/src/timeline-item.mjs +72 -42
  336. package/es/components/timeline/src/timeline-item.mjs.map +1 -1
  337. package/es/components/timeline/src/timeline-item2.mjs +42 -72
  338. package/es/components/timeline/src/timeline-item2.mjs.map +1 -1
  339. package/es/components/tooltip/index.d.ts +6 -6
  340. package/es/components/tooltip/src/content.vue.d.ts +6 -6
  341. package/es/components/tooltip/src/tooltip.vue.d.ts +6 -6
  342. package/es/components/tooltip-v2/index.d.ts +4 -4
  343. package/es/components/tooltip-v2/src/content2.mjs +1 -1
  344. package/es/components/tooltip-v2/src/tooltip.vue.d.ts +4 -4
  345. package/es/components/tour/index.d.ts +11 -11
  346. package/es/components/tour/src/content.vue.d.ts +1 -1
  347. package/es/components/tour/src/mask.mjs +19 -112
  348. package/es/components/tour/src/mask.mjs.map +1 -1
  349. package/es/components/tour/src/mask2.mjs +112 -19
  350. package/es/components/tour/src/mask2.mjs.map +1 -1
  351. package/es/components/tour/src/step.vue.d.ts +5 -5
  352. package/es/components/tour/src/tour.vue.d.ts +1 -1
  353. package/es/components/tour/src/tour2.mjs +1 -1
  354. package/es/components/transfer/index.d.ts +65 -65
  355. package/es/components/transfer/src/transfer-panel.vue.d.ts +12 -12
  356. package/es/components/transfer/src/transfer.vue.d.ts +65 -65
  357. package/es/components/tree-v2/index.d.ts +1 -1
  358. package/es/components/tree-v2/src/tree-node.vue.d.ts +1 -1
  359. package/es/components/tree-v2/src/tree.vue.d.ts +1 -1
  360. package/es/components/upload/index.d.ts +5 -5
  361. package/es/components/upload/src/upload-content.vue.d.ts +1 -1
  362. package/es/components/upload/src/upload.vue.d.ts +5 -5
  363. package/es/components/visual-hidden/index.mjs +3 -3
  364. package/es/components/visual-hidden/src/visual-hidden.mjs +35 -7
  365. package/es/components/visual-hidden/src/visual-hidden.mjs.map +1 -1
  366. package/es/components/visual-hidden/src/visual-hidden2.mjs +7 -35
  367. package/es/components/visual-hidden/src/visual-hidden2.mjs.map +1 -1
  368. package/es/index.mjs +2 -2
  369. package/es/version.d.ts +1 -1
  370. package/es/version.mjs +1 -1
  371. package/es/version.mjs.map +1 -1
  372. package/lib/components/alert/index.d.ts +4 -4
  373. package/lib/components/alert/src/alert.d.ts +1 -1
  374. package/lib/components/alert/src/alert.vue.d.ts +4 -4
  375. package/lib/components/autocomplete/index.d.ts +65 -65
  376. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +65 -65
  377. package/lib/components/button/index.d.ts +5 -5
  378. package/lib/components/button/index.js +3 -3
  379. package/lib/components/button/src/button-group.js +6 -30
  380. package/lib/components/button/src/button-group.js.map +1 -1
  381. package/lib/components/button/src/button-group2.js +30 -6
  382. package/lib/components/button/src/button-group2.js.map +1 -1
  383. package/lib/components/button/src/button.d.ts +1 -1
  384. package/lib/components/button/src/button.js +60 -76
  385. package/lib/components/button/src/button.js.map +1 -1
  386. package/lib/components/button/src/button.vue.d.ts +5 -5
  387. package/lib/components/button/src/button2.js +76 -60
  388. package/lib/components/button/src/button2.js.map +1 -1
  389. package/lib/components/button/src/use-button.d.ts +1 -1
  390. package/lib/components/calendar/index.d.ts +5 -5
  391. package/lib/components/calendar/src/calendar.vue.d.ts +5 -5
  392. package/lib/components/carousel/index.d.ts +5 -5
  393. package/lib/components/carousel/src/carousel.d.ts +1 -1
  394. package/lib/components/carousel/src/carousel.vue.d.ts +5 -5
  395. package/lib/components/cascader/index.d.ts +128 -128
  396. package/lib/components/cascader/src/cascader.vue.d.ts +64 -64
  397. package/lib/components/color-picker/index.d.ts +38 -38
  398. package/lib/components/color-picker/src/color-picker.vue.d.ts +38 -38
  399. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +17 -17
  400. package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +17 -17
  401. package/lib/components/date-picker/src/panel-utils.d.ts +34 -34
  402. package/lib/components/dialog/index.d.ts +1 -1
  403. package/lib/components/dialog/src/dialog.vue.d.ts +1 -1
  404. package/lib/components/dropdown/index.d.ts +14 -14
  405. package/lib/components/dropdown/src/dropdown-item-impl.vue.d.ts +1 -1
  406. package/lib/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
  407. package/lib/components/dropdown/src/dropdown.vue.d.ts +12 -12
  408. package/lib/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
  409. package/lib/components/form/index.d.ts +12 -12
  410. package/lib/components/form/src/form-item.d.ts +1 -1
  411. package/lib/components/form/src/form-item.vue.d.ts +5 -5
  412. package/lib/components/image/index.d.ts +1 -1
  413. package/lib/components/image/src/image.vue.d.ts +1 -1
  414. package/lib/components/index.js +2 -2
  415. package/lib/components/input/index.d.ts +12 -12
  416. package/lib/components/input/src/input.vue.d.ts +12 -12
  417. package/lib/components/input-number/index.d.ts +45 -45
  418. package/lib/components/input-number/src/input-number.vue.d.ts +45 -45
  419. package/lib/components/menu/index.d.ts +3 -3
  420. package/lib/components/menu/src/menu.d.ts +4 -4
  421. package/lib/components/menu/src/sub-menu.js +2 -6
  422. package/lib/components/menu/src/sub-menu.js.map +1 -1
  423. package/lib/components/message/src/message.d.ts +1 -1
  424. package/lib/components/message/src/message.vue.d.ts +4 -4
  425. package/lib/components/notification/src/notification.d.ts +1 -1
  426. package/lib/components/notification/src/notification.vue.d.ts +4 -4
  427. package/lib/components/pagination/src/components/jumper.vue.d.ts +12 -12
  428. package/lib/components/pagination/src/components/sizes.vue.d.ts +26 -26
  429. package/lib/components/popconfirm/index.d.ts +23 -23
  430. package/lib/components/popconfirm/src/popconfirm.js +1 -1
  431. package/lib/components/popconfirm/src/popconfirm.vue.d.ts +23 -23
  432. package/lib/components/popover/index.d.ts +18 -18
  433. package/lib/components/popover/src/popover.vue.d.ts +18 -18
  434. package/lib/components/popper/src/content.vue.d.ts +6 -6
  435. package/lib/components/result/index.d.ts +4 -4
  436. package/lib/components/result/src/result.d.ts +1 -1
  437. package/lib/components/result/src/result.vue.d.ts +4 -4
  438. package/lib/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
  439. package/lib/components/select/index.d.ts +26 -26
  440. package/lib/components/select/src/select.vue.d.ts +26 -26
  441. package/lib/components/select/src/useSelect.d.ts +24 -24
  442. package/lib/components/select-v2/index.d.ts +30 -30
  443. package/lib/components/select-v2/src/option-item.vue.d.ts +1 -1
  444. package/lib/components/select-v2/src/select.vue.d.ts +15 -15
  445. package/lib/components/select-v2/src/useSelect.d.ts +13 -13
  446. package/lib/components/slider/index.d.ts +75 -75
  447. package/lib/components/slider/src/button.vue.d.ts +6 -6
  448. package/lib/components/slider/src/composables/use-slide.d.ts +24 -24
  449. package/lib/components/slider/src/slider.vue.d.ts +75 -75
  450. package/lib/components/steps/index.d.ts +16 -16
  451. package/lib/components/steps/src/item.d.ts +1 -1
  452. package/lib/components/steps/src/item.vue.d.ts +4 -4
  453. package/lib/components/steps/src/steps.d.ts +2 -2
  454. package/lib/components/steps/src/steps.vue.d.ts +8 -8
  455. package/lib/components/table/index.d.ts +1 -1
  456. package/lib/components/table/src/filter-panel.vue.d.ts +12 -12
  457. package/lib/components/table/src/table.vue.d.ts +1 -1
  458. package/lib/components/tag/index.d.ts +1 -1
  459. package/lib/components/tag/src/tag.vue.d.ts +1 -1
  460. package/lib/components/time-picker/src/common/picker.vue.d.ts +34 -34
  461. package/lib/components/time-select/index.d.ts +110 -110
  462. package/lib/components/time-select/src/time-select.vue.d.ts +55 -55
  463. package/lib/components/timeline/index.js +2 -2
  464. package/lib/components/timeline/src/timeline-item.js +72 -42
  465. package/lib/components/timeline/src/timeline-item.js.map +1 -1
  466. package/lib/components/timeline/src/timeline-item2.js +42 -72
  467. package/lib/components/timeline/src/timeline-item2.js.map +1 -1
  468. package/lib/components/tooltip/index.d.ts +6 -6
  469. package/lib/components/tooltip/src/content.vue.d.ts +6 -6
  470. package/lib/components/tooltip/src/tooltip.vue.d.ts +6 -6
  471. package/lib/components/tooltip-v2/index.d.ts +4 -4
  472. package/lib/components/tooltip-v2/src/content2.js +1 -1
  473. package/lib/components/tooltip-v2/src/tooltip.vue.d.ts +4 -4
  474. package/lib/components/tour/index.d.ts +11 -11
  475. package/lib/components/tour/src/content.vue.d.ts +1 -1
  476. package/lib/components/tour/src/mask.js +19 -112
  477. package/lib/components/tour/src/mask.js.map +1 -1
  478. package/lib/components/tour/src/mask2.js +112 -19
  479. package/lib/components/tour/src/mask2.js.map +1 -1
  480. package/lib/components/tour/src/step.vue.d.ts +5 -5
  481. package/lib/components/tour/src/tour.vue.d.ts +1 -1
  482. package/lib/components/tour/src/tour2.js +1 -1
  483. package/lib/components/transfer/index.d.ts +65 -65
  484. package/lib/components/transfer/src/transfer-panel.vue.d.ts +12 -12
  485. package/lib/components/transfer/src/transfer.vue.d.ts +65 -65
  486. package/lib/components/tree-v2/index.d.ts +1 -1
  487. package/lib/components/tree-v2/src/tree-node.vue.d.ts +1 -1
  488. package/lib/components/tree-v2/src/tree.vue.d.ts +1 -1
  489. package/lib/components/upload/index.d.ts +5 -5
  490. package/lib/components/upload/src/upload-content.vue.d.ts +1 -1
  491. package/lib/components/upload/src/upload.vue.d.ts +5 -5
  492. package/lib/components/visual-hidden/index.js +2 -2
  493. package/lib/components/visual-hidden/src/visual-hidden.js +35 -7
  494. package/lib/components/visual-hidden/src/visual-hidden.js.map +1 -1
  495. package/lib/components/visual-hidden/src/visual-hidden2.js +7 -35
  496. package/lib/components/visual-hidden/src/visual-hidden2.js.map +1 -1
  497. package/lib/index.js +2 -2
  498. package/lib/version.d.ts +1 -1
  499. package/lib/version.js +1 -1
  500. package/lib/version.js.map +1 -1
  501. package/package.json +2 -2
  502. package/web-types.json +1 -1
@@ -1,117 +1,24 @@
1
- import { createElementVNode, defineComponent, inject, toRef, openBlock, createElementBlock, mergeProps, unref, normalizeClass, createCommentVNode, Fragment } from 'vue';
2
- import '../../../hooks/index.mjs';
3
- import { maskProps } from './mask2.mjs';
4
- import { tourKey } from './helper.mjs';
5
- import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
6
- import { useId } from '../../../hooks/use-id/index.mjs';
7
- import { useLockscreen } from '../../../hooks/use-lockscreen/index.mjs';
1
+ import '../../../utils/index.mjs';
2
+ import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
8
3
 
9
- const _hoisted_1 = { style: {
10
- width: "100%",
11
- height: "100%"
12
- } };
13
- const _hoisted_2 = /* @__PURE__ */ createElementVNode("rect", {
14
- x: "0",
15
- y: "0",
16
- width: "100vw",
17
- height: "100vh",
18
- fill: "white"
19
- }, null, -1);
20
- const _hoisted_3 = ["x", "y", "rx", "width", "height"];
21
- const _hoisted_4 = ["fill", "mask"];
22
- const _hoisted_5 = ["height"];
23
- const _hoisted_6 = ["width"];
24
- const _hoisted_7 = ["y", "height"];
25
- const _hoisted_8 = ["x", "width"];
26
- const __default__ = defineComponent({
27
- name: "ElTourMask",
28
- inheritAttrs: false
29
- });
30
- const _sfc_main = /* @__PURE__ */ defineComponent({
31
- ...__default__,
32
- props: maskProps,
33
- setup(__props) {
34
- const props = __props;
35
- const { ns } = inject(tourKey);
36
- const id = useId();
37
- const maskId = `el-tour-mask-${id.value}`;
38
- useLockscreen(toRef(props, "visible"), {
39
- ns
40
- });
41
- const COVER_PROPS = {
42
- fill: "transparent",
43
- "pointer-events": "auto"
44
- };
45
- return (_ctx, _cache) => {
46
- return _ctx.visible ? (openBlock(), createElementBlock("div", mergeProps({
47
- key: 0,
48
- class: unref(ns).e("mask"),
49
- style: {
50
- position: "fixed",
51
- left: 0,
52
- right: 0,
53
- top: 0,
54
- bottom: 0,
55
- zIndex: _ctx.zIndex,
56
- pointerEvents: _ctx.pos && _ctx.targetAreaClickable ? "none" : "auto"
57
- }
58
- }, _ctx.$attrs), [
59
- (openBlock(), createElementBlock("svg", _hoisted_1, [
60
- createElementVNode("defs", null, [
61
- createElementVNode("mask", { id: maskId }, [
62
- _hoisted_2,
63
- _ctx.pos ? (openBlock(), createElementBlock("rect", {
64
- key: 0,
65
- class: normalizeClass(unref(ns).e("hollow")),
66
- x: _ctx.pos.left,
67
- y: _ctx.pos.top,
68
- rx: _ctx.pos.radius,
69
- width: _ctx.pos.width,
70
- height: _ctx.pos.height,
71
- fill: "black"
72
- }, null, 10, _hoisted_3)) : createCommentVNode("v-if", true)
73
- ])
74
- ]),
75
- createElementVNode("rect", {
76
- x: "0",
77
- y: "0",
78
- width: "100%",
79
- height: "100%",
80
- fill: _ctx.fill,
81
- mask: `url(#${maskId})`
82
- }, null, 8, _hoisted_4),
83
- _ctx.pos ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
84
- createElementVNode("rect", mergeProps(COVER_PROPS, {
85
- x: "0",
86
- y: "0",
87
- width: "100%",
88
- height: _ctx.pos.top
89
- }), null, 16, _hoisted_5),
90
- createElementVNode("rect", mergeProps(COVER_PROPS, {
91
- x: "0",
92
- y: "0",
93
- width: _ctx.pos.left,
94
- height: "100%"
95
- }), null, 16, _hoisted_6),
96
- createElementVNode("rect", mergeProps(COVER_PROPS, {
97
- x: "0",
98
- y: _ctx.pos.top + _ctx.pos.height,
99
- width: "100%",
100
- height: `calc(100vh - ${_ctx.pos.top + _ctx.pos.height}px)`
101
- }), null, 16, _hoisted_7),
102
- createElementVNode("rect", mergeProps(COVER_PROPS, {
103
- x: _ctx.pos.left + _ctx.pos.width,
104
- y: "0",
105
- width: `calc(100vw - ${_ctx.pos.left + _ctx.pos.width}px)`,
106
- height: "100%"
107
- }), null, 16, _hoisted_8)
108
- ], 64)) : createCommentVNode("v-if", true)
109
- ]))
110
- ], 16)) : createCommentVNode("v-if", true);
111
- };
4
+ const maskProps = buildProps({
5
+ zIndex: {
6
+ type: Number,
7
+ default: 1001
8
+ },
9
+ visible: Boolean,
10
+ fill: {
11
+ type: String,
12
+ default: "rgba(0,0,0,0.5)"
13
+ },
14
+ pos: {
15
+ type: definePropType(Object)
16
+ },
17
+ targetAreaClickable: {
18
+ type: Boolean,
19
+ default: true
112
20
  }
113
21
  });
114
- var ElTourMask = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "mask.vue"]]);
115
22
 
116
- export { ElTourMask as default };
23
+ export { maskProps };
117
24
  //# sourceMappingURL=mask.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"mask.mjs","sources":["../../../../../../packages/components/tour/src/mask.vue"],"sourcesContent":["<template>\n <div\n v-if=\"visible\"\n :class=\"ns.e('mask')\"\n :style=\"({\n position: 'fixed',\n left: 0,\n right: 0,\n top: 0,\n bottom: 0,\n zIndex,\n pointerEvents: pos && targetAreaClickable ? 'none' : 'auto',\n } as any)\"\n v-bind=\"$attrs\"\n >\n <svg\n :style=\"{\n width: '100%',\n height: '100%',\n }\"\n >\n <defs>\n <mask :id=\"maskId\">\n <rect x=\"0\" y=\"0\" width=\"100vw\" height=\"100vh\" fill=\"white\" />\n <rect\n v-if=\"pos\"\n :class=\"ns.e('hollow')\"\n :x=\"pos.left\"\n :y=\"pos.top\"\n :rx=\"pos.radius\"\n :width=\"pos.width\"\n :height=\"pos.height\"\n fill=\"black\"\n />\n </mask>\n </defs>\n <rect\n x=\"0\"\n y=\"0\"\n width=\"100%\"\n height=\"100%\"\n :fill=\"fill\"\n :mask=\"`url(#${maskId})`\"\n />\n <template v-if=\"pos\">\n <rect v-bind=\"COVER_PROPS\" x=\"0\" y=\"0\" width=\"100%\" :height=\"pos.top\" />\n <rect\n v-bind=\"COVER_PROPS\"\n x=\"0\"\n y=\"0\"\n :width=\"pos.left\"\n height=\"100%\"\n />\n <rect\n v-bind=\"COVER_PROPS\"\n x=\"0\"\n :y=\"pos.top + pos.height\"\n width=\"100%\"\n :height=\"`calc(100vh - ${pos.top + pos.height}px)`\"\n />\n <rect\n v-bind=\"COVER_PROPS\"\n :x=\"pos.left + pos.width\"\n y=\"0\"\n :width=\"`calc(100vw - ${pos.left + pos.width}px)`\"\n height=\"100%\"\n />\n </template>\n </svg>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { inject, toRef } from 'vue'\nimport { useId, useLockscreen } from '@element-plus/hooks'\nimport { maskProps } from './mask'\nimport { tourKey } from './helper'\n\ndefineOptions({\n name: 'ElTourMask',\n inheritAttrs: false,\n})\n\nconst props = defineProps(maskProps)\n\nconst { ns } = inject(tourKey)!\n\nconst id = useId()\nconst maskId = `el-tour-mask-${id.value}`\n\nuseLockscreen(toRef(props, 'visible'), {\n ns,\n})\n\nconst COVER_PROPS = {\n fill: 'transparent',\n 'pointer-events': 'auto',\n}\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;mCA8Ec,CAAA;AAAA,EACZ,IAAM,EAAA,YAAA;AAAA,EACN,YAAc,EAAA,KAAA;AAChB,CAAA,CAAA,CAAA;;;;;;AAIA,IAAM,MAAA,EAAE,EAAO,EAAA,GAAA,MAAA,CAAO,OAAO,CAAA,CAAA;AAE7B,IAAA,MAAM,KAAK,KAAM,EAAA,CAAA;AACjB,IAAM,MAAA,MAAA,GAAS,gBAAgB,EAAG,CAAA,KAAA,CAAA,CAAA,CAAA;AAElC,IAAc,aAAA,CAAA,KAAA,CAAM,KAAO,EAAA,SAAS,CAAG,EAAA;AAAA,MACrC,EAAA;AAAA,KACD,CAAA,CAAA;AAED,IAAA,MAAM,WAAc,GAAA;AAAA,MAClB,IAAM,EAAA,aAAA;AAAA,MACN,gBAAkB,EAAA,MAAA;AAAA,KACpB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"mask.mjs","sources":["../../../../../../packages/components/tour/src/mask.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\nimport type { ExtractPropTypes } from 'vue'\nimport type { PosInfo } from './types'\n\nexport const maskProps = buildProps({\n /**\n * @description mask's zIndex\n */\n zIndex: {\n type: Number,\n default: 1001,\n },\n /**\n * @description whether to show the mask\n */\n visible: Boolean,\n /**\n * @description mask's fill\n */\n fill: {\n type: String,\n default: 'rgba(0,0,0,0.5)',\n },\n /***\n * @description mask's transparent space position\n */\n pos: {\n type: definePropType<PosInfo | null>(Object),\n },\n /**\n * @description whether the target element can be clickable, when using mask\n */\n targetAreaClickable: {\n type: Boolean,\n default: true,\n },\n})\n\nexport type MaskProps = ExtractPropTypes<typeof maskProps>\n"],"names":[],"mappings":";;;AACY,MAAC,SAAS,GAAG,UAAU,CAAC;AACpC,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,OAAO,EAAE,OAAO;AAClB,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,iBAAiB;AAC9B,GAAG;AACH,EAAE,GAAG,EAAE;AACP,IAAI,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC;AAChC,GAAG;AACH,EAAE,mBAAmB,EAAE;AACvB,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,CAAC;;;;"}
@@ -1,24 +1,117 @@
1
- import '../../../utils/index.mjs';
2
- import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
1
+ import { createElementVNode, defineComponent, inject, toRef, openBlock, createElementBlock, mergeProps, unref, normalizeClass, createCommentVNode, Fragment } from 'vue';
2
+ import '../../../hooks/index.mjs';
3
+ import { maskProps } from './mask.mjs';
4
+ import { tourKey } from './helper.mjs';
5
+ import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
6
+ import { useId } from '../../../hooks/use-id/index.mjs';
7
+ import { useLockscreen } from '../../../hooks/use-lockscreen/index.mjs';
3
8
 
4
- const maskProps = buildProps({
5
- zIndex: {
6
- type: Number,
7
- default: 1001
8
- },
9
- visible: Boolean,
10
- fill: {
11
- type: String,
12
- default: "rgba(0,0,0,0.5)"
13
- },
14
- pos: {
15
- type: definePropType(Object)
16
- },
17
- targetAreaClickable: {
18
- type: Boolean,
19
- default: true
9
+ const _hoisted_1 = { style: {
10
+ width: "100%",
11
+ height: "100%"
12
+ } };
13
+ const _hoisted_2 = /* @__PURE__ */ createElementVNode("rect", {
14
+ x: "0",
15
+ y: "0",
16
+ width: "100vw",
17
+ height: "100vh",
18
+ fill: "white"
19
+ }, null, -1);
20
+ const _hoisted_3 = ["x", "y", "rx", "width", "height"];
21
+ const _hoisted_4 = ["fill", "mask"];
22
+ const _hoisted_5 = ["height"];
23
+ const _hoisted_6 = ["width"];
24
+ const _hoisted_7 = ["y", "height"];
25
+ const _hoisted_8 = ["x", "width"];
26
+ const __default__ = defineComponent({
27
+ name: "ElTourMask",
28
+ inheritAttrs: false
29
+ });
30
+ const _sfc_main = /* @__PURE__ */ defineComponent({
31
+ ...__default__,
32
+ props: maskProps,
33
+ setup(__props) {
34
+ const props = __props;
35
+ const { ns } = inject(tourKey);
36
+ const id = useId();
37
+ const maskId = `el-tour-mask-${id.value}`;
38
+ useLockscreen(toRef(props, "visible"), {
39
+ ns
40
+ });
41
+ const COVER_PROPS = {
42
+ fill: "transparent",
43
+ "pointer-events": "auto"
44
+ };
45
+ return (_ctx, _cache) => {
46
+ return _ctx.visible ? (openBlock(), createElementBlock("div", mergeProps({
47
+ key: 0,
48
+ class: unref(ns).e("mask"),
49
+ style: {
50
+ position: "fixed",
51
+ left: 0,
52
+ right: 0,
53
+ top: 0,
54
+ bottom: 0,
55
+ zIndex: _ctx.zIndex,
56
+ pointerEvents: _ctx.pos && _ctx.targetAreaClickable ? "none" : "auto"
57
+ }
58
+ }, _ctx.$attrs), [
59
+ (openBlock(), createElementBlock("svg", _hoisted_1, [
60
+ createElementVNode("defs", null, [
61
+ createElementVNode("mask", { id: maskId }, [
62
+ _hoisted_2,
63
+ _ctx.pos ? (openBlock(), createElementBlock("rect", {
64
+ key: 0,
65
+ class: normalizeClass(unref(ns).e("hollow")),
66
+ x: _ctx.pos.left,
67
+ y: _ctx.pos.top,
68
+ rx: _ctx.pos.radius,
69
+ width: _ctx.pos.width,
70
+ height: _ctx.pos.height,
71
+ fill: "black"
72
+ }, null, 10, _hoisted_3)) : createCommentVNode("v-if", true)
73
+ ])
74
+ ]),
75
+ createElementVNode("rect", {
76
+ x: "0",
77
+ y: "0",
78
+ width: "100%",
79
+ height: "100%",
80
+ fill: _ctx.fill,
81
+ mask: `url(#${maskId})`
82
+ }, null, 8, _hoisted_4),
83
+ _ctx.pos ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
84
+ createElementVNode("rect", mergeProps(COVER_PROPS, {
85
+ x: "0",
86
+ y: "0",
87
+ width: "100%",
88
+ height: _ctx.pos.top
89
+ }), null, 16, _hoisted_5),
90
+ createElementVNode("rect", mergeProps(COVER_PROPS, {
91
+ x: "0",
92
+ y: "0",
93
+ width: _ctx.pos.left,
94
+ height: "100%"
95
+ }), null, 16, _hoisted_6),
96
+ createElementVNode("rect", mergeProps(COVER_PROPS, {
97
+ x: "0",
98
+ y: _ctx.pos.top + _ctx.pos.height,
99
+ width: "100%",
100
+ height: `calc(100vh - ${_ctx.pos.top + _ctx.pos.height}px)`
101
+ }), null, 16, _hoisted_7),
102
+ createElementVNode("rect", mergeProps(COVER_PROPS, {
103
+ x: _ctx.pos.left + _ctx.pos.width,
104
+ y: "0",
105
+ width: `calc(100vw - ${_ctx.pos.left + _ctx.pos.width}px)`,
106
+ height: "100%"
107
+ }), null, 16, _hoisted_8)
108
+ ], 64)) : createCommentVNode("v-if", true)
109
+ ]))
110
+ ], 16)) : createCommentVNode("v-if", true);
111
+ };
20
112
  }
21
113
  });
114
+ var ElTourMask = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "mask.vue"]]);
22
115
 
23
- export { maskProps };
116
+ export { ElTourMask as default };
24
117
  //# sourceMappingURL=mask2.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"mask2.mjs","sources":["../../../../../../packages/components/tour/src/mask.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\nimport type { ExtractPropTypes } from 'vue'\nimport type { PosInfo } from './types'\n\nexport const maskProps = buildProps({\n /**\n * @description mask's zIndex\n */\n zIndex: {\n type: Number,\n default: 1001,\n },\n /**\n * @description whether to show the mask\n */\n visible: Boolean,\n /**\n * @description mask's fill\n */\n fill: {\n type: String,\n default: 'rgba(0,0,0,0.5)',\n },\n /***\n * @description mask's transparent space position\n */\n pos: {\n type: definePropType<PosInfo | null>(Object),\n },\n /**\n * @description whether the target element can be clickable, when using mask\n */\n targetAreaClickable: {\n type: Boolean,\n default: true,\n },\n})\n\nexport type MaskProps = ExtractPropTypes<typeof maskProps>\n"],"names":[],"mappings":";;;AACY,MAAC,SAAS,GAAG,UAAU,CAAC;AACpC,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,OAAO,EAAE,OAAO;AAClB,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,iBAAiB;AAC9B,GAAG;AACH,EAAE,GAAG,EAAE;AACP,IAAI,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC;AAChC,GAAG;AACH,EAAE,mBAAmB,EAAE;AACvB,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,CAAC;;;;"}
1
+ {"version":3,"file":"mask2.mjs","sources":["../../../../../../packages/components/tour/src/mask.vue"],"sourcesContent":["<template>\n <div\n v-if=\"visible\"\n :class=\"ns.e('mask')\"\n :style=\"({\n position: 'fixed',\n left: 0,\n right: 0,\n top: 0,\n bottom: 0,\n zIndex,\n pointerEvents: pos && targetAreaClickable ? 'none' : 'auto',\n } as any)\"\n v-bind=\"$attrs\"\n >\n <svg\n :style=\"{\n width: '100%',\n height: '100%',\n }\"\n >\n <defs>\n <mask :id=\"maskId\">\n <rect x=\"0\" y=\"0\" width=\"100vw\" height=\"100vh\" fill=\"white\" />\n <rect\n v-if=\"pos\"\n :class=\"ns.e('hollow')\"\n :x=\"pos.left\"\n :y=\"pos.top\"\n :rx=\"pos.radius\"\n :width=\"pos.width\"\n :height=\"pos.height\"\n fill=\"black\"\n />\n </mask>\n </defs>\n <rect\n x=\"0\"\n y=\"0\"\n width=\"100%\"\n height=\"100%\"\n :fill=\"fill\"\n :mask=\"`url(#${maskId})`\"\n />\n <template v-if=\"pos\">\n <rect v-bind=\"COVER_PROPS\" x=\"0\" y=\"0\" width=\"100%\" :height=\"pos.top\" />\n <rect\n v-bind=\"COVER_PROPS\"\n x=\"0\"\n y=\"0\"\n :width=\"pos.left\"\n height=\"100%\"\n />\n <rect\n v-bind=\"COVER_PROPS\"\n x=\"0\"\n :y=\"pos.top + pos.height\"\n width=\"100%\"\n :height=\"`calc(100vh - ${pos.top + pos.height}px)`\"\n />\n <rect\n v-bind=\"COVER_PROPS\"\n :x=\"pos.left + pos.width\"\n y=\"0\"\n :width=\"`calc(100vw - ${pos.left + pos.width}px)`\"\n height=\"100%\"\n />\n </template>\n </svg>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { inject, toRef } from 'vue'\nimport { useId, useLockscreen } from '@element-plus/hooks'\nimport { maskProps } from './mask'\nimport { tourKey } from './helper'\n\ndefineOptions({\n name: 'ElTourMask',\n inheritAttrs: false,\n})\n\nconst props = defineProps(maskProps)\n\nconst { ns } = inject(tourKey)!\n\nconst id = useId()\nconst maskId = `el-tour-mask-${id.value}`\n\nuseLockscreen(toRef(props, 'visible'), {\n ns,\n})\n\nconst COVER_PROPS = {\n fill: 'transparent',\n 'pointer-events': 'auto',\n}\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;mCA8Ec,CAAA;AAAA,EACZ,IAAM,EAAA,YAAA;AAAA,EACN,YAAc,EAAA,KAAA;AAChB,CAAA,CAAA,CAAA;;;;;;AAIA,IAAM,MAAA,EAAE,EAAO,EAAA,GAAA,MAAA,CAAO,OAAO,CAAA,CAAA;AAE7B,IAAA,MAAM,KAAK,KAAM,EAAA,CAAA;AACjB,IAAM,MAAA,MAAA,GAAS,gBAAgB,EAAG,CAAA,KAAA,CAAA,CAAA,CAAA;AAElC,IAAc,aAAA,CAAA,KAAA,CAAM,KAAO,EAAA,SAAS,CAAG,EAAA;AAAA,MACrC,EAAA;AAAA,KACD,CAAA,CAAA;AAED,IAAA,MAAM,WAAc,GAAA;AAAA,MAClB,IAAM,EAAA,aAAA;AAAA,MACN,gBAAkB,EAAA,MAAA;AAAA,KACpB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -169,7 +169,7 @@ declare const _default: import("vue").DefineComponent<{
169
169
  readonly validator: ((val: unknown) => boolean) | undefined;
170
170
  __epPropKey: true;
171
171
  };
172
- readonly nativeType: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
172
+ readonly nativeType: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
173
173
  readonly loading: BooleanConstructor;
174
174
  readonly loadingIcon: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => any, boolean>;
175
175
  readonly plain: BooleanConstructor;
@@ -199,7 +199,7 @@ declare const _default: import("vue").DefineComponent<{
199
199
  readonly validator: ((val: unknown) => boolean) | undefined;
200
200
  __epPropKey: true;
201
201
  };
202
- readonly nativeType: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
202
+ readonly nativeType: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
203
203
  readonly loading: BooleanConstructor;
204
204
  readonly loadingIcon: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => any, boolean>;
205
205
  readonly plain: BooleanConstructor;
@@ -244,7 +244,7 @@ declare const _default: import("vue").DefineComponent<{
244
244
  ariaDisabled: boolean;
245
245
  disabled: boolean;
246
246
  autofocus: boolean;
247
- type: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
247
+ type: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "reset" | "submit" | "button", unknown>;
248
248
  } | {
249
249
  ariaDisabled?: undefined;
250
250
  disabled?: undefined;
@@ -333,7 +333,7 @@ declare const _default: import("vue").DefineComponent<{
333
333
  readonly validator: ((val: unknown) => boolean) | undefined;
334
334
  __epPropKey: true;
335
335
  };
336
- readonly nativeType: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
336
+ readonly nativeType: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
337
337
  readonly loading: BooleanConstructor;
338
338
  readonly loadingIcon: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => any, boolean>;
339
339
  readonly plain: BooleanConstructor;
@@ -359,7 +359,7 @@ declare const _default: import("vue").DefineComponent<{
359
359
  readonly round: boolean;
360
360
  readonly circle: boolean;
361
361
  readonly tag: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
362
- readonly nativeType: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
362
+ readonly nativeType: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "reset" | "submit" | "button", unknown>;
363
363
  readonly loadingIcon: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
364
364
  readonly autoInsertSpace: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
365
365
  readonly loading: boolean;
@@ -6410,7 +6410,7 @@ declare const _default: import("vue").DefineComponent<{
6410
6410
  };
6411
6411
  }, {
6412
6412
  onKeydown: (e: KeyboardEvent) => void;
6413
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusAfterTrapped" | "focusAfterReleased" | "focusin" | "focusout" | "focusout-prevented" | "release-requested")[], "focusAfterTrapped" | "focusAfterReleased" | "focusin" | "focusout" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
6413
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested")[], "focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
6414
6414
  loop: BooleanConstructor;
6415
6415
  trapped: BooleanConstructor;
6416
6416
  focusTrapEl: import("vue").PropType<HTMLElement>;
@@ -2,7 +2,7 @@ import { defineComponent, ref, computed, toRef, watch, useSlots, provide, openBl
2
2
  import { useVModel } from '@vueuse/core';
3
3
  import '../../../hooks/index.mjs';
4
4
  import '../../../utils/index.mjs';
5
- import ElTourMask from './mask.mjs';
5
+ import ElTourMask from './mask2.mjs';
6
6
  import ElTourContent from './content2.mjs';
7
7
  import ElTourSteps from './steps.mjs';
8
8
  import { tourProps, tourEmits } from './tour.mjs';