@element-plus/nightly 0.0.20231218 → 0.0.20231221

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 (391) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.css +1 -1
  3. package/dist/index.full.js +15 -7
  4. package/dist/index.full.min.js +19 -19
  5. package/dist/index.full.min.js.map +1 -1
  6. package/dist/index.full.min.mjs +3 -3
  7. package/dist/index.full.min.mjs.map +1 -1
  8. package/dist/index.full.mjs +15 -7
  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-eg.js +1 -1
  14. package/dist/locale/ar-eg.min.js +1 -1
  15. package/dist/locale/ar-eg.min.mjs +1 -1
  16. package/dist/locale/ar-eg.mjs +1 -1
  17. package/dist/locale/ar.js +1 -1
  18. package/dist/locale/ar.min.js +1 -1
  19. package/dist/locale/ar.min.mjs +1 -1
  20. package/dist/locale/ar.mjs +1 -1
  21. package/dist/locale/az.js +1 -1
  22. package/dist/locale/az.min.js +1 -1
  23. package/dist/locale/az.min.mjs +1 -1
  24. package/dist/locale/az.mjs +1 -1
  25. package/dist/locale/bg.js +1 -1
  26. package/dist/locale/bg.min.js +1 -1
  27. package/dist/locale/bg.min.mjs +1 -1
  28. package/dist/locale/bg.mjs +1 -1
  29. package/dist/locale/bn.js +1 -1
  30. package/dist/locale/bn.min.js +1 -1
  31. package/dist/locale/bn.min.mjs +1 -1
  32. package/dist/locale/bn.mjs +1 -1
  33. package/dist/locale/ca.js +1 -1
  34. package/dist/locale/ca.min.js +1 -1
  35. package/dist/locale/ca.min.mjs +1 -1
  36. package/dist/locale/ca.mjs +1 -1
  37. package/dist/locale/ckb.js +1 -1
  38. package/dist/locale/ckb.min.js +1 -1
  39. package/dist/locale/ckb.min.mjs +1 -1
  40. package/dist/locale/ckb.mjs +1 -1
  41. package/dist/locale/cs.js +1 -1
  42. package/dist/locale/cs.min.js +1 -1
  43. package/dist/locale/cs.min.mjs +1 -1
  44. package/dist/locale/cs.mjs +1 -1
  45. package/dist/locale/da.js +1 -1
  46. package/dist/locale/da.min.js +1 -1
  47. package/dist/locale/da.min.mjs +1 -1
  48. package/dist/locale/da.mjs +1 -1
  49. package/dist/locale/de.js +1 -1
  50. package/dist/locale/de.min.js +1 -1
  51. package/dist/locale/de.min.mjs +1 -1
  52. package/dist/locale/de.mjs +1 -1
  53. package/dist/locale/el.js +1 -1
  54. package/dist/locale/el.min.js +1 -1
  55. package/dist/locale/el.min.mjs +1 -1
  56. package/dist/locale/el.mjs +1 -1
  57. package/dist/locale/en.js +1 -1
  58. package/dist/locale/en.min.js +1 -1
  59. package/dist/locale/en.min.mjs +1 -1
  60. package/dist/locale/en.mjs +1 -1
  61. package/dist/locale/eo.js +1 -1
  62. package/dist/locale/eo.min.js +1 -1
  63. package/dist/locale/eo.min.mjs +1 -1
  64. package/dist/locale/eo.mjs +1 -1
  65. package/dist/locale/es.js +1 -1
  66. package/dist/locale/es.min.js +1 -1
  67. package/dist/locale/es.min.mjs +1 -1
  68. package/dist/locale/es.mjs +1 -1
  69. package/dist/locale/et.js +1 -1
  70. package/dist/locale/et.min.js +1 -1
  71. package/dist/locale/et.min.mjs +1 -1
  72. package/dist/locale/et.mjs +1 -1
  73. package/dist/locale/eu.js +1 -1
  74. package/dist/locale/eu.min.js +1 -1
  75. package/dist/locale/eu.min.mjs +1 -1
  76. package/dist/locale/eu.mjs +1 -1
  77. package/dist/locale/fa.js +1 -1
  78. package/dist/locale/fa.min.js +1 -1
  79. package/dist/locale/fa.min.mjs +1 -1
  80. package/dist/locale/fa.mjs +1 -1
  81. package/dist/locale/fi.js +1 -1
  82. package/dist/locale/fi.min.js +1 -1
  83. package/dist/locale/fi.min.mjs +1 -1
  84. package/dist/locale/fi.mjs +1 -1
  85. package/dist/locale/fr.js +1 -1
  86. package/dist/locale/fr.min.js +1 -1
  87. package/dist/locale/fr.min.mjs +1 -1
  88. package/dist/locale/fr.mjs +1 -1
  89. package/dist/locale/he.js +1 -1
  90. package/dist/locale/he.min.js +1 -1
  91. package/dist/locale/he.min.mjs +1 -1
  92. package/dist/locale/he.mjs +1 -1
  93. package/dist/locale/hr.js +1 -1
  94. package/dist/locale/hr.min.js +1 -1
  95. package/dist/locale/hr.min.mjs +1 -1
  96. package/dist/locale/hr.mjs +1 -1
  97. package/dist/locale/hu.js +1 -1
  98. package/dist/locale/hu.min.js +1 -1
  99. package/dist/locale/hu.min.mjs +1 -1
  100. package/dist/locale/hu.mjs +1 -1
  101. package/dist/locale/hy-am.js +1 -1
  102. package/dist/locale/hy-am.min.js +1 -1
  103. package/dist/locale/hy-am.min.mjs +1 -1
  104. package/dist/locale/hy-am.mjs +1 -1
  105. package/dist/locale/id.js +1 -1
  106. package/dist/locale/id.min.js +1 -1
  107. package/dist/locale/id.min.mjs +1 -1
  108. package/dist/locale/id.mjs +1 -1
  109. package/dist/locale/it.js +1 -1
  110. package/dist/locale/it.min.js +1 -1
  111. package/dist/locale/it.min.mjs +1 -1
  112. package/dist/locale/it.mjs +1 -1
  113. package/dist/locale/ja.js +1 -1
  114. package/dist/locale/ja.min.js +1 -1
  115. package/dist/locale/ja.min.mjs +1 -1
  116. package/dist/locale/ja.mjs +1 -1
  117. package/dist/locale/kk.js +1 -1
  118. package/dist/locale/kk.min.js +1 -1
  119. package/dist/locale/kk.min.mjs +1 -1
  120. package/dist/locale/kk.mjs +1 -1
  121. package/dist/locale/km.js +1 -1
  122. package/dist/locale/km.min.js +1 -1
  123. package/dist/locale/km.min.mjs +1 -1
  124. package/dist/locale/km.mjs +1 -1
  125. package/dist/locale/ko.js +1 -1
  126. package/dist/locale/ko.min.js +1 -1
  127. package/dist/locale/ko.min.mjs +1 -1
  128. package/dist/locale/ko.mjs +1 -1
  129. package/dist/locale/ku.js +1 -1
  130. package/dist/locale/ku.min.js +1 -1
  131. package/dist/locale/ku.min.mjs +1 -1
  132. package/dist/locale/ku.mjs +1 -1
  133. package/dist/locale/ky.js +1 -1
  134. package/dist/locale/ky.min.js +1 -1
  135. package/dist/locale/ky.min.mjs +1 -1
  136. package/dist/locale/ky.mjs +1 -1
  137. package/dist/locale/lt.js +1 -1
  138. package/dist/locale/lt.min.js +1 -1
  139. package/dist/locale/lt.min.mjs +1 -1
  140. package/dist/locale/lt.mjs +1 -1
  141. package/dist/locale/lv.js +1 -1
  142. package/dist/locale/lv.min.js +1 -1
  143. package/dist/locale/lv.min.mjs +1 -1
  144. package/dist/locale/lv.mjs +1 -1
  145. package/dist/locale/mg.js +1 -1
  146. package/dist/locale/mg.min.js +1 -1
  147. package/dist/locale/mg.min.mjs +1 -1
  148. package/dist/locale/mg.mjs +1 -1
  149. package/dist/locale/mn.js +1 -1
  150. package/dist/locale/mn.min.js +1 -1
  151. package/dist/locale/mn.min.mjs +1 -1
  152. package/dist/locale/mn.mjs +1 -1
  153. package/dist/locale/nb-no.js +1 -1
  154. package/dist/locale/nb-no.min.js +1 -1
  155. package/dist/locale/nb-no.min.mjs +1 -1
  156. package/dist/locale/nb-no.mjs +1 -1
  157. package/dist/locale/nl.js +1 -1
  158. package/dist/locale/nl.min.js +1 -1
  159. package/dist/locale/nl.min.mjs +1 -1
  160. package/dist/locale/nl.mjs +1 -1
  161. package/dist/locale/pa.js +1 -1
  162. package/dist/locale/pa.min.js +1 -1
  163. package/dist/locale/pa.min.mjs +1 -1
  164. package/dist/locale/pa.mjs +1 -1
  165. package/dist/locale/pl.js +1 -1
  166. package/dist/locale/pl.min.js +1 -1
  167. package/dist/locale/pl.min.mjs +1 -1
  168. package/dist/locale/pl.mjs +1 -1
  169. package/dist/locale/pt-br.js +1 -1
  170. package/dist/locale/pt-br.min.js +1 -1
  171. package/dist/locale/pt-br.min.mjs +1 -1
  172. package/dist/locale/pt-br.mjs +1 -1
  173. package/dist/locale/pt.js +1 -1
  174. package/dist/locale/pt.min.js +1 -1
  175. package/dist/locale/pt.min.mjs +1 -1
  176. package/dist/locale/pt.mjs +1 -1
  177. package/dist/locale/ro.js +1 -1
  178. package/dist/locale/ro.min.js +1 -1
  179. package/dist/locale/ro.min.mjs +1 -1
  180. package/dist/locale/ro.mjs +1 -1
  181. package/dist/locale/ru.js +1 -1
  182. package/dist/locale/ru.min.js +1 -1
  183. package/dist/locale/ru.min.mjs +1 -1
  184. package/dist/locale/ru.mjs +1 -1
  185. package/dist/locale/sk.js +1 -1
  186. package/dist/locale/sk.min.js +1 -1
  187. package/dist/locale/sk.min.mjs +1 -1
  188. package/dist/locale/sk.mjs +1 -1
  189. package/dist/locale/sl.js +1 -1
  190. package/dist/locale/sl.min.js +1 -1
  191. package/dist/locale/sl.min.mjs +1 -1
  192. package/dist/locale/sl.mjs +1 -1
  193. package/dist/locale/sr.js +1 -1
  194. package/dist/locale/sr.min.js +1 -1
  195. package/dist/locale/sr.min.mjs +1 -1
  196. package/dist/locale/sr.mjs +1 -1
  197. package/dist/locale/sv.js +1 -1
  198. package/dist/locale/sv.min.js +1 -1
  199. package/dist/locale/sv.min.mjs +1 -1
  200. package/dist/locale/sv.mjs +1 -1
  201. package/dist/locale/sw.js +1 -1
  202. package/dist/locale/sw.min.js +1 -1
  203. package/dist/locale/sw.min.mjs +1 -1
  204. package/dist/locale/sw.mjs +1 -1
  205. package/dist/locale/ta.js +1 -1
  206. package/dist/locale/ta.min.js +1 -1
  207. package/dist/locale/ta.min.mjs +1 -1
  208. package/dist/locale/ta.mjs +1 -1
  209. package/dist/locale/th.js +1 -1
  210. package/dist/locale/th.min.js +1 -1
  211. package/dist/locale/th.min.mjs +1 -1
  212. package/dist/locale/th.mjs +1 -1
  213. package/dist/locale/tk.js +1 -1
  214. package/dist/locale/tk.min.js +1 -1
  215. package/dist/locale/tk.min.mjs +1 -1
  216. package/dist/locale/tk.mjs +1 -1
  217. package/dist/locale/tr.js +1 -1
  218. package/dist/locale/tr.min.js +1 -1
  219. package/dist/locale/tr.min.mjs +1 -1
  220. package/dist/locale/tr.mjs +1 -1
  221. package/dist/locale/ug-cn.js +1 -1
  222. package/dist/locale/ug-cn.min.js +1 -1
  223. package/dist/locale/ug-cn.min.mjs +1 -1
  224. package/dist/locale/ug-cn.mjs +1 -1
  225. package/dist/locale/uk.js +1 -1
  226. package/dist/locale/uk.min.js +1 -1
  227. package/dist/locale/uk.min.mjs +1 -1
  228. package/dist/locale/uk.mjs +1 -1
  229. package/dist/locale/uz-uz.js +1 -1
  230. package/dist/locale/uz-uz.min.js +1 -1
  231. package/dist/locale/uz-uz.min.mjs +1 -1
  232. package/dist/locale/uz-uz.mjs +1 -1
  233. package/dist/locale/vi.js +1 -1
  234. package/dist/locale/vi.min.js +1 -1
  235. package/dist/locale/vi.min.mjs +1 -1
  236. package/dist/locale/vi.mjs +1 -1
  237. package/dist/locale/zh-cn.js +1 -1
  238. package/dist/locale/zh-cn.min.js +1 -1
  239. package/dist/locale/zh-cn.min.mjs +1 -1
  240. package/dist/locale/zh-cn.mjs +1 -1
  241. package/dist/locale/zh-tw.js +1 -1
  242. package/dist/locale/zh-tw.min.js +1 -1
  243. package/dist/locale/zh-tw.min.mjs +1 -1
  244. package/dist/locale/zh-tw.mjs +1 -1
  245. package/es/components/autocomplete/index.d.ts +96 -0
  246. package/es/components/autocomplete/src/autocomplete.vue.d.ts +96 -0
  247. package/es/components/backtop/index.mjs +2 -2
  248. package/es/components/backtop/src/backtop.mjs +21 -54
  249. package/es/components/backtop/src/backtop.mjs.map +1 -1
  250. package/es/components/backtop/src/backtop2.mjs +54 -21
  251. package/es/components/backtop/src/backtop2.mjs.map +1 -1
  252. package/es/components/cascader/index.d.ts +192 -0
  253. package/es/components/cascader/src/cascader.vue.d.ts +96 -0
  254. package/es/components/color-picker/index.d.ts +36 -0
  255. package/es/components/color-picker/src/color-picker.vue.d.ts +36 -0
  256. package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +36 -0
  257. package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +36 -0
  258. package/es/components/date-picker/src/panel-utils.d.ts +72 -0
  259. package/es/components/index.mjs +5 -5
  260. package/es/components/input/index.d.ts +36 -0
  261. package/es/components/input/src/input.d.ts +12 -0
  262. package/es/components/input/src/input.mjs +6 -0
  263. package/es/components/input/src/input.mjs.map +1 -1
  264. package/es/components/input/src/input.vue.d.ts +36 -0
  265. package/es/components/input/src/input2.mjs +7 -5
  266. package/es/components/input/src/input2.mjs.map +1 -1
  267. package/es/components/input-number/index.d.ts +96 -0
  268. package/es/components/input-number/index.mjs +2 -2
  269. package/es/components/input-number/src/input-number.mjs +313 -58
  270. package/es/components/input-number/src/input-number.mjs.map +1 -1
  271. package/es/components/input-number/src/input-number.vue.d.ts +96 -0
  272. package/es/components/input-number/src/input-number2.mjs +58 -313
  273. package/es/components/input-number/src/input-number2.mjs.map +1 -1
  274. package/es/components/pagination/src/components/jumper.vue.d.ts +36 -0
  275. package/es/components/slider/index.d.ts +96 -0
  276. package/es/components/slider/src/button.mjs +21 -93
  277. package/es/components/slider/src/button.mjs.map +1 -1
  278. package/es/components/slider/src/button2.mjs +93 -21
  279. package/es/components/slider/src/button2.mjs.map +1 -1
  280. package/es/components/slider/src/slider.vue.d.ts +96 -0
  281. package/es/components/slider/src/slider2.mjs +1 -1
  282. package/es/components/tabs/index.mjs +2 -2
  283. package/es/components/tabs/src/tab-pane.mjs +72 -13
  284. package/es/components/tabs/src/tab-pane.mjs.map +1 -1
  285. package/es/components/tabs/src/tab-pane2.mjs +13 -72
  286. package/es/components/tabs/src/tab-pane2.mjs.map +1 -1
  287. package/es/components/time-picker/src/common/picker.vue.d.ts +36 -0
  288. package/es/components/timeline/index.mjs +2 -2
  289. package/es/components/timeline/src/timeline-item.mjs +72 -42
  290. package/es/components/timeline/src/timeline-item.mjs.map +1 -1
  291. package/es/components/timeline/src/timeline-item2.mjs +42 -72
  292. package/es/components/timeline/src/timeline-item2.mjs.map +1 -1
  293. package/es/components/transfer/index.d.ts +180 -0
  294. package/es/components/transfer/src/transfer-panel.vue.d.ts +36 -0
  295. package/es/components/transfer/src/transfer.vue.d.ts +180 -0
  296. package/es/components/watermark/index.mjs +2 -2
  297. package/es/components/watermark/src/watermark.mjs +28 -209
  298. package/es/components/watermark/src/watermark.mjs.map +1 -1
  299. package/es/components/watermark/src/watermark2.mjs +209 -28
  300. package/es/components/watermark/src/watermark2.mjs.map +1 -1
  301. package/es/index.mjs +5 -5
  302. package/es/version.d.ts +1 -1
  303. package/es/version.mjs +1 -1
  304. package/es/version.mjs.map +1 -1
  305. package/lib/components/autocomplete/index.d.ts +96 -0
  306. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +96 -0
  307. package/lib/components/backtop/index.js +2 -2
  308. package/lib/components/backtop/src/backtop.js +22 -54
  309. package/lib/components/backtop/src/backtop.js.map +1 -1
  310. package/lib/components/backtop/src/backtop2.js +54 -22
  311. package/lib/components/backtop/src/backtop2.js.map +1 -1
  312. package/lib/components/cascader/index.d.ts +192 -0
  313. package/lib/components/cascader/src/cascader.vue.d.ts +96 -0
  314. package/lib/components/color-picker/index.d.ts +36 -0
  315. package/lib/components/color-picker/src/color-picker.vue.d.ts +36 -0
  316. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +36 -0
  317. package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +36 -0
  318. package/lib/components/date-picker/src/panel-utils.d.ts +72 -0
  319. package/lib/components/index.js +5 -5
  320. package/lib/components/input/index.d.ts +36 -0
  321. package/lib/components/input/src/input.d.ts +12 -0
  322. package/lib/components/input/src/input.js +6 -0
  323. package/lib/components/input/src/input.js.map +1 -1
  324. package/lib/components/input/src/input.vue.d.ts +36 -0
  325. package/lib/components/input/src/input2.js +7 -5
  326. package/lib/components/input/src/input2.js.map +1 -1
  327. package/lib/components/input-number/index.d.ts +96 -0
  328. package/lib/components/input-number/index.js +2 -2
  329. package/lib/components/input-number/src/input-number.js +311 -57
  330. package/lib/components/input-number/src/input-number.js.map +1 -1
  331. package/lib/components/input-number/src/input-number.vue.d.ts +96 -0
  332. package/lib/components/input-number/src/input-number2.js +57 -311
  333. package/lib/components/input-number/src/input-number2.js.map +1 -1
  334. package/lib/components/pagination/src/components/jumper.vue.d.ts +36 -0
  335. package/lib/components/slider/index.d.ts +96 -0
  336. package/lib/components/slider/src/button.js +22 -93
  337. package/lib/components/slider/src/button.js.map +1 -1
  338. package/lib/components/slider/src/button2.js +93 -22
  339. package/lib/components/slider/src/button2.js.map +1 -1
  340. package/lib/components/slider/src/slider.vue.d.ts +96 -0
  341. package/lib/components/slider/src/slider2.js +1 -1
  342. package/lib/components/tabs/index.js +2 -2
  343. package/lib/components/tabs/src/tab-pane.js +72 -13
  344. package/lib/components/tabs/src/tab-pane.js.map +1 -1
  345. package/lib/components/tabs/src/tab-pane2.js +13 -72
  346. package/lib/components/tabs/src/tab-pane2.js.map +1 -1
  347. package/lib/components/time-picker/src/common/picker.vue.d.ts +36 -0
  348. package/lib/components/timeline/index.js +2 -2
  349. package/lib/components/timeline/src/timeline-item.js +72 -42
  350. package/lib/components/timeline/src/timeline-item.js.map +1 -1
  351. package/lib/components/timeline/src/timeline-item2.js +42 -72
  352. package/lib/components/timeline/src/timeline-item2.js.map +1 -1
  353. package/lib/components/transfer/index.d.ts +180 -0
  354. package/lib/components/transfer/src/transfer-panel.vue.d.ts +36 -0
  355. package/lib/components/transfer/src/transfer.vue.d.ts +180 -0
  356. package/lib/components/watermark/index.js +2 -2
  357. package/lib/components/watermark/src/watermark.js +28 -209
  358. package/lib/components/watermark/src/watermark.js.map +1 -1
  359. package/lib/components/watermark/src/watermark2.js +209 -28
  360. package/lib/components/watermark/src/watermark2.js.map +1 -1
  361. package/lib/index.js +5 -5
  362. package/lib/version.d.ts +1 -1
  363. package/lib/version.js +1 -1
  364. package/lib/version.js.map +1 -1
  365. package/package.json +2 -2
  366. package/theme-chalk/el-date-picker.css +1 -1
  367. package/theme-chalk/el-image-viewer.css +1 -1
  368. package/theme-chalk/el-message-box.css +1 -1
  369. package/theme-chalk/el-message.css +1 -1
  370. package/theme-chalk/el-notification.css +1 -1
  371. package/theme-chalk/el-popover.css +1 -1
  372. package/theme-chalk/el-popper.css +1 -1
  373. package/theme-chalk/el-step.css +1 -1
  374. package/theme-chalk/el-table-v2.css +1 -1
  375. package/theme-chalk/el-table.css +1 -1
  376. package/theme-chalk/el-text.css +1 -1
  377. package/theme-chalk/el-time-picker.css +1 -1
  378. package/theme-chalk/el-time-select.css +1 -1
  379. package/theme-chalk/index.css +1 -1
  380. package/theme-chalk/src/date-picker/picker.scss +1 -1
  381. package/theme-chalk/src/image-viewer.scss +0 -1
  382. package/theme-chalk/src/message-box.scss +1 -1
  383. package/theme-chalk/src/message.scss +1 -1
  384. package/theme-chalk/src/notification.scss +1 -2
  385. package/theme-chalk/src/popover.scss +1 -2
  386. package/theme-chalk/src/popper.scss +1 -1
  387. package/theme-chalk/src/step.scss +1 -1
  388. package/theme-chalk/src/table-v2.scss +1 -1
  389. package/theme-chalk/src/table.scss +1 -1
  390. package/theme-chalk/src/text.scss +1 -1
  391. package/web-types.json +1 -1
@@ -109,6 +109,18 @@ declare const _default: import("vue").DefineComponent<{
109
109
  };
110
110
  readonly disabled: BooleanConstructor;
111
111
  readonly modelValue: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
112
+ readonly maxlength: {
113
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
114
+ readonly required: false;
115
+ readonly validator: ((val: unknown) => boolean) | undefined;
116
+ __epPropKey: true;
117
+ };
118
+ readonly minlength: {
119
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
120
+ readonly required: false;
121
+ readonly validator: ((val: unknown) => boolean) | undefined;
122
+ __epPropKey: true;
123
+ };
112
124
  readonly type: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
113
125
  readonly resize: {
114
126
  readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
@@ -201,6 +213,18 @@ declare const _default: import("vue").DefineComponent<{
201
213
  };
202
214
  readonly disabled: BooleanConstructor;
203
215
  readonly modelValue: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
216
+ readonly maxlength: {
217
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
218
+ readonly required: false;
219
+ readonly validator: ((val: unknown) => boolean) | undefined;
220
+ __epPropKey: true;
221
+ };
222
+ readonly minlength: {
223
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
224
+ readonly required: false;
225
+ readonly validator: ((val: unknown) => boolean) | undefined;
226
+ __epPropKey: true;
227
+ };
204
228
  readonly type: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
205
229
  readonly resize: {
206
230
  readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
@@ -280,6 +304,18 @@ declare const _default: import("vue").DefineComponent<{
280
304
  };
281
305
  readonly disabled: BooleanConstructor;
282
306
  readonly modelValue: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
307
+ readonly maxlength: {
308
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
309
+ readonly required: false;
310
+ readonly validator: ((val: unknown) => boolean) | undefined;
311
+ __epPropKey: true;
312
+ };
313
+ readonly minlength: {
314
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
315
+ readonly required: false;
316
+ readonly validator: ((val: unknown) => boolean) | undefined;
317
+ __epPropKey: true;
318
+ };
283
319
  readonly type: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
284
320
  readonly resize: {
285
321
  readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
@@ -570,6 +606,18 @@ declare const _default: import("vue").DefineComponent<{
570
606
  };
571
607
  readonly disabled: BooleanConstructor;
572
608
  readonly modelValue: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
609
+ readonly maxlength: {
610
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
611
+ readonly required: false;
612
+ readonly validator: ((val: unknown) => boolean) | undefined;
613
+ __epPropKey: true;
614
+ };
615
+ readonly minlength: {
616
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
617
+ readonly required: false;
618
+ readonly validator: ((val: unknown) => boolean) | undefined;
619
+ __epPropKey: true;
620
+ };
573
621
  readonly type: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
574
622
  readonly resize: {
575
623
  readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
@@ -649,6 +697,18 @@ declare const _default: import("vue").DefineComponent<{
649
697
  };
650
698
  readonly disabled: BooleanConstructor;
651
699
  readonly modelValue: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
700
+ readonly maxlength: {
701
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
702
+ readonly required: false;
703
+ readonly validator: ((val: unknown) => boolean) | undefined;
704
+ __epPropKey: true;
705
+ };
706
+ readonly minlength: {
707
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
708
+ readonly required: false;
709
+ readonly validator: ((val: unknown) => boolean) | undefined;
710
+ __epPropKey: true;
711
+ };
652
712
  readonly type: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
653
713
  readonly resize: {
654
714
  readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
@@ -7151,6 +7211,18 @@ declare const _default: import("vue").DefineComponent<{
7151
7211
  };
7152
7212
  readonly disabled: BooleanConstructor;
7153
7213
  readonly modelValue: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
7214
+ readonly maxlength: {
7215
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
7216
+ readonly required: false;
7217
+ readonly validator: ((val: unknown) => boolean) | undefined;
7218
+ __epPropKey: true;
7219
+ };
7220
+ readonly minlength: {
7221
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
7222
+ readonly required: false;
7223
+ readonly validator: ((val: unknown) => boolean) | undefined;
7224
+ __epPropKey: true;
7225
+ };
7154
7226
  readonly type: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
7155
7227
  readonly resize: {
7156
7228
  readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
@@ -7217,6 +7289,18 @@ declare const _default: import("vue").DefineComponent<{
7217
7289
  };
7218
7290
  readonly disabled: BooleanConstructor;
7219
7291
  readonly modelValue: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
7292
+ readonly maxlength: {
7293
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
7294
+ readonly required: false;
7295
+ readonly validator: ((val: unknown) => boolean) | undefined;
7296
+ __epPropKey: true;
7297
+ };
7298
+ readonly minlength: {
7299
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
7300
+ readonly required: false;
7301
+ readonly validator: ((val: unknown) => boolean) | undefined;
7302
+ __epPropKey: true;
7303
+ };
7220
7304
  readonly type: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
7221
7305
  readonly resize: {
7222
7306
  readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
@@ -7470,6 +7554,18 @@ declare const _default: import("vue").DefineComponent<{
7470
7554
  };
7471
7555
  readonly disabled: BooleanConstructor;
7472
7556
  readonly modelValue: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
7557
+ readonly maxlength: {
7558
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
7559
+ readonly required: false;
7560
+ readonly validator: ((val: unknown) => boolean) | undefined;
7561
+ __epPropKey: true;
7562
+ };
7563
+ readonly minlength: {
7564
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
7565
+ readonly required: false;
7566
+ readonly validator: ((val: unknown) => boolean) | undefined;
7567
+ __epPropKey: true;
7568
+ };
7473
7569
  readonly type: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
7474
7570
  readonly resize: {
7475
7571
  readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  require('../../utils/index.js');
6
- var backtop$1 = require('./src/backtop.js');
7
- var backtop = require('./src/backtop2.js');
6
+ var backtop$1 = require('./src/backtop2.js');
7
+ var backtop = require('./src/backtop.js');
8
8
  var install = require('../../utils/vue/install.js');
9
9
 
10
10
  const ElBacktop = install.withInstall(backtop$1["default"]);
@@ -2,60 +2,28 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var vue = require('vue');
6
- var index$1 = require('../../icon/index.js');
7
- var iconsVue = require('@element-plus/icons-vue');
8
- require('../../../hooks/index.js');
9
- var backtop = require('./backtop2.js');
10
- var useBacktop = require('./use-backtop.js');
11
- var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
12
- var index = require('../../../hooks/use-namespace/index.js');
13
-
14
- const COMPONENT_NAME = "ElBacktop";
15
- const __default__ = vue.defineComponent({
16
- name: COMPONENT_NAME
17
- });
18
- const _sfc_main = /* @__PURE__ */ vue.defineComponent({
19
- ...__default__,
20
- props: backtop.backtopProps,
21
- emits: backtop.backtopEmits,
22
- setup(__props, { emit }) {
23
- const props = __props;
24
- const ns = index.useNamespace("backtop");
25
- const { handleClick, visible } = useBacktop.useBackTop(props, emit, COMPONENT_NAME);
26
- const backTopStyle = vue.computed(() => ({
27
- right: `${props.right}px`,
28
- bottom: `${props.bottom}px`
29
- }));
30
- return (_ctx, _cache) => {
31
- return vue.openBlock(), vue.createBlock(vue.Transition, {
32
- name: `${vue.unref(ns).namespace.value}-fade-in`
33
- }, {
34
- default: vue.withCtx(() => [
35
- vue.unref(visible) ? (vue.openBlock(), vue.createElementBlock("div", {
36
- key: 0,
37
- style: vue.normalizeStyle(vue.unref(backTopStyle)),
38
- class: vue.normalizeClass(vue.unref(ns).b()),
39
- onClick: _cache[0] || (_cache[0] = vue.withModifiers((...args) => vue.unref(handleClick) && vue.unref(handleClick)(...args), ["stop"]))
40
- }, [
41
- vue.renderSlot(_ctx.$slots, "default", {}, () => [
42
- vue.createVNode(vue.unref(index$1.ElIcon), {
43
- class: vue.normalizeClass(vue.unref(ns).e("icon"))
44
- }, {
45
- default: vue.withCtx(() => [
46
- vue.createVNode(vue.unref(iconsVue.CaretTop))
47
- ]),
48
- _: 1
49
- }, 8, ["class"])
50
- ])
51
- ], 6)) : vue.createCommentVNode("v-if", true)
52
- ]),
53
- _: 3
54
- }, 8, ["name"]);
55
- };
5
+ const backtopProps = {
6
+ visibilityHeight: {
7
+ type: Number,
8
+ default: 200
9
+ },
10
+ target: {
11
+ type: String,
12
+ default: ""
13
+ },
14
+ right: {
15
+ type: Number,
16
+ default: 40
17
+ },
18
+ bottom: {
19
+ type: Number,
20
+ default: 40
56
21
  }
57
- });
58
- var Backtop = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "backtop.vue"]]);
22
+ };
23
+ const backtopEmits = {
24
+ click: (evt) => evt instanceof MouseEvent
25
+ };
59
26
 
60
- exports["default"] = Backtop;
27
+ exports.backtopEmits = backtopEmits;
28
+ exports.backtopProps = backtopProps;
61
29
  //# sourceMappingURL=backtop.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"backtop.js","sources":["../../../../../../packages/components/backtop/src/backtop.vue"],"sourcesContent":["<template>\n <transition :name=\"`${ns.namespace.value}-fade-in`\">\n <div\n v-if=\"visible\"\n :style=\"backTopStyle\"\n :class=\"ns.b()\"\n @click.stop=\"handleClick\"\n >\n <slot>\n <el-icon :class=\"ns.e('icon')\"><caret-top /></el-icon>\n </slot>\n </div>\n </transition>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { ElIcon } from '@element-plus/components/icon'\nimport { CaretTop } from '@element-plus/icons-vue'\nimport { useNamespace } from '@element-plus/hooks'\nimport { backtopEmits, backtopProps } from './backtop'\nimport { useBackTop } from './use-backtop'\n\nconst COMPONENT_NAME = 'ElBacktop'\n\ndefineOptions({\n name: COMPONENT_NAME,\n})\n\nconst props = defineProps(backtopProps)\nconst emit = defineEmits(backtopEmits)\n\nconst ns = useNamespace('backtop')\n\nconst { handleClick, visible } = useBackTop(props, emit, COMPONENT_NAME)\n\nconst backTopStyle = computed(() => ({\n right: `${props.right}px`,\n bottom: `${props.bottom}px`,\n}))\n</script>\n"],"names":["useNamespace","useBackTop","computed"],"mappings":";;;;;;;;;;;;;;uCAyBc,CAAA;AAAA,EACZ,IAAM,EAAA,cAAA;AACR;;;;;;;AAKA,IAAM,MAAA,EAAA,GAAKA,mBAAa,SAAS,CAAA,CAAA;AAEjC,IAAA,MAAM,EAAE,WAAa,EAAA,OAAA,EAAA,GAAYC,qBAAW,CAAA,KAAA,EAAO,MAAM,cAAc,CAAA,CAAA;AAEvE,IAAM,MAAA,YAAA,GAAeC,aAAS,OAAO;AAAA,MACnC,KAAA,EAAO,GAAG,KAAM,CAAA,KAAA,CAAA,EAAA,CAAA;AAAA,MAChB,MAAA,EAAQ,GAAG,KAAM,CAAA,MAAA,CAAA,EAAA,CAAA;AAAA,KACjB,CAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"backtop.js","sources":["../../../../../../packages/components/backtop/src/backtop.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\n\nexport const backtopProps = {\n /**\n * @description the button will not show until the scroll height reaches this value.\n */\n visibilityHeight: {\n type: Number,\n default: 200,\n },\n /**\n * @description the target to trigger scroll.\n */\n target: {\n type: String,\n default: '',\n },\n /**\n * @description right distance.\n */\n right: {\n type: Number,\n default: 40,\n },\n /**\n * @description bottom distance.\n */\n bottom: {\n type: Number,\n default: 40,\n },\n} as const\nexport type BacktopProps = ExtractPropTypes<typeof backtopProps>\n\nexport const backtopEmits = {\n click: (evt: MouseEvent) => evt instanceof MouseEvent,\n}\nexport type BacktopEmits = typeof backtopEmits\n"],"names":[],"mappings":";;;;AAAY,MAAC,YAAY,GAAG;AAC5B,EAAE,gBAAgB,EAAE;AACpB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,GAAG;AAChB,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE;AACU,MAAC,YAAY,GAAG;AAC5B,EAAE,KAAK,EAAE,CAAC,GAAG,KAAK,GAAG,YAAY,UAAU;AAC3C;;;;;"}
@@ -2,28 +2,60 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const backtopProps = {
6
- visibilityHeight: {
7
- type: Number,
8
- default: 200
9
- },
10
- target: {
11
- type: String,
12
- default: ""
13
- },
14
- right: {
15
- type: Number,
16
- default: 40
17
- },
18
- bottom: {
19
- type: Number,
20
- default: 40
5
+ var vue = require('vue');
6
+ var index$1 = require('../../icon/index.js');
7
+ var iconsVue = require('@element-plus/icons-vue');
8
+ require('../../../hooks/index.js');
9
+ var backtop = require('./backtop.js');
10
+ var useBacktop = require('./use-backtop.js');
11
+ var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
12
+ var index = require('../../../hooks/use-namespace/index.js');
13
+
14
+ const COMPONENT_NAME = "ElBacktop";
15
+ const __default__ = vue.defineComponent({
16
+ name: COMPONENT_NAME
17
+ });
18
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
19
+ ...__default__,
20
+ props: backtop.backtopProps,
21
+ emits: backtop.backtopEmits,
22
+ setup(__props, { emit }) {
23
+ const props = __props;
24
+ const ns = index.useNamespace("backtop");
25
+ const { handleClick, visible } = useBacktop.useBackTop(props, emit, COMPONENT_NAME);
26
+ const backTopStyle = vue.computed(() => ({
27
+ right: `${props.right}px`,
28
+ bottom: `${props.bottom}px`
29
+ }));
30
+ return (_ctx, _cache) => {
31
+ return vue.openBlock(), vue.createBlock(vue.Transition, {
32
+ name: `${vue.unref(ns).namespace.value}-fade-in`
33
+ }, {
34
+ default: vue.withCtx(() => [
35
+ vue.unref(visible) ? (vue.openBlock(), vue.createElementBlock("div", {
36
+ key: 0,
37
+ style: vue.normalizeStyle(vue.unref(backTopStyle)),
38
+ class: vue.normalizeClass(vue.unref(ns).b()),
39
+ onClick: _cache[0] || (_cache[0] = vue.withModifiers((...args) => vue.unref(handleClick) && vue.unref(handleClick)(...args), ["stop"]))
40
+ }, [
41
+ vue.renderSlot(_ctx.$slots, "default", {}, () => [
42
+ vue.createVNode(vue.unref(index$1.ElIcon), {
43
+ class: vue.normalizeClass(vue.unref(ns).e("icon"))
44
+ }, {
45
+ default: vue.withCtx(() => [
46
+ vue.createVNode(vue.unref(iconsVue.CaretTop))
47
+ ]),
48
+ _: 1
49
+ }, 8, ["class"])
50
+ ])
51
+ ], 6)) : vue.createCommentVNode("v-if", true)
52
+ ]),
53
+ _: 3
54
+ }, 8, ["name"]);
55
+ };
21
56
  }
22
- };
23
- const backtopEmits = {
24
- click: (evt) => evt instanceof MouseEvent
25
- };
57
+ });
58
+ var Backtop = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "backtop.vue"]]);
26
59
 
27
- exports.backtopEmits = backtopEmits;
28
- exports.backtopProps = backtopProps;
60
+ exports["default"] = Backtop;
29
61
  //# sourceMappingURL=backtop2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"backtop2.js","sources":["../../../../../../packages/components/backtop/src/backtop.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\n\nexport const backtopProps = {\n /**\n * @description the button will not show until the scroll height reaches this value.\n */\n visibilityHeight: {\n type: Number,\n default: 200,\n },\n /**\n * @description the target to trigger scroll.\n */\n target: {\n type: String,\n default: '',\n },\n /**\n * @description right distance.\n */\n right: {\n type: Number,\n default: 40,\n },\n /**\n * @description bottom distance.\n */\n bottom: {\n type: Number,\n default: 40,\n },\n} as const\nexport type BacktopProps = ExtractPropTypes<typeof backtopProps>\n\nexport const backtopEmits = {\n click: (evt: MouseEvent) => evt instanceof MouseEvent,\n}\nexport type BacktopEmits = typeof backtopEmits\n"],"names":[],"mappings":";;;;AAAY,MAAC,YAAY,GAAG;AAC5B,EAAE,gBAAgB,EAAE;AACpB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,GAAG;AAChB,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE;AACU,MAAC,YAAY,GAAG;AAC5B,EAAE,KAAK,EAAE,CAAC,GAAG,KAAK,GAAG,YAAY,UAAU;AAC3C;;;;;"}
1
+ {"version":3,"file":"backtop2.js","sources":["../../../../../../packages/components/backtop/src/backtop.vue"],"sourcesContent":["<template>\n <transition :name=\"`${ns.namespace.value}-fade-in`\">\n <div\n v-if=\"visible\"\n :style=\"backTopStyle\"\n :class=\"ns.b()\"\n @click.stop=\"handleClick\"\n >\n <slot>\n <el-icon :class=\"ns.e('icon')\"><caret-top /></el-icon>\n </slot>\n </div>\n </transition>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { ElIcon } from '@element-plus/components/icon'\nimport { CaretTop } from '@element-plus/icons-vue'\nimport { useNamespace } from '@element-plus/hooks'\nimport { backtopEmits, backtopProps } from './backtop'\nimport { useBackTop } from './use-backtop'\n\nconst COMPONENT_NAME = 'ElBacktop'\n\ndefineOptions({\n name: COMPONENT_NAME,\n})\n\nconst props = defineProps(backtopProps)\nconst emit = defineEmits(backtopEmits)\n\nconst ns = useNamespace('backtop')\n\nconst { handleClick, visible } = useBackTop(props, emit, COMPONENT_NAME)\n\nconst backTopStyle = computed(() => ({\n right: `${props.right}px`,\n bottom: `${props.bottom}px`,\n}))\n</script>\n"],"names":["useNamespace","useBackTop","computed"],"mappings":";;;;;;;;;;;;;;uCAyBc,CAAA;AAAA,EACZ,IAAM,EAAA,cAAA;AACR;;;;;;;AAKA,IAAM,MAAA,EAAA,GAAKA,mBAAa,SAAS,CAAA,CAAA;AAEjC,IAAA,MAAM,EAAE,WAAa,EAAA,OAAA,EAAA,GAAYC,qBAAW,CAAA,KAAA,EAAO,MAAM,cAAc,CAAA,CAAA;AAEvE,IAAM,MAAA,YAAA,GAAeC,aAAS,OAAO;AAAA,MACnC,KAAA,EAAO,GAAG,KAAM,CAAA,KAAA,CAAA,EAAA,CAAA;AAAA,MAChB,MAAA,EAAQ,GAAG,KAAM,CAAA,MAAA,CAAA,EAAA,CAAA;AAAA,KACjB,CAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}