@element-plus/nightly 0.0.20220901 → 0.0.20220904

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 (434) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.full.js +842 -6227
  3. package/dist/index.full.min.js +37 -63
  4. package/dist/index.full.min.js.map +1 -1
  5. package/dist/index.full.min.mjs +37 -63
  6. package/dist/index.full.min.mjs.map +1 -1
  7. package/dist/index.full.mjs +844 -6228
  8. package/dist/locale/af.js +1 -1
  9. package/dist/locale/af.min.js +1 -1
  10. package/dist/locale/af.min.mjs +1 -1
  11. package/dist/locale/af.mjs +1 -1
  12. package/dist/locale/ar.js +1 -1
  13. package/dist/locale/ar.min.js +1 -1
  14. package/dist/locale/ar.min.mjs +1 -1
  15. package/dist/locale/ar.mjs +1 -1
  16. package/dist/locale/az.js +1 -1
  17. package/dist/locale/az.min.js +1 -1
  18. package/dist/locale/az.min.mjs +1 -1
  19. package/dist/locale/az.mjs +1 -1
  20. package/dist/locale/bg.js +1 -1
  21. package/dist/locale/bg.min.js +1 -1
  22. package/dist/locale/bg.min.mjs +1 -1
  23. package/dist/locale/bg.mjs +1 -1
  24. package/dist/locale/bn.js +1 -1
  25. package/dist/locale/bn.min.js +1 -1
  26. package/dist/locale/bn.min.mjs +1 -1
  27. package/dist/locale/bn.mjs +1 -1
  28. package/dist/locale/ca.js +1 -1
  29. package/dist/locale/ca.min.js +1 -1
  30. package/dist/locale/ca.min.mjs +1 -1
  31. package/dist/locale/ca.mjs +1 -1
  32. package/dist/locale/cs.js +1 -1
  33. package/dist/locale/cs.min.js +1 -1
  34. package/dist/locale/cs.min.mjs +1 -1
  35. package/dist/locale/cs.mjs +1 -1
  36. package/dist/locale/da.js +1 -1
  37. package/dist/locale/da.min.js +1 -1
  38. package/dist/locale/da.min.mjs +1 -1
  39. package/dist/locale/da.mjs +1 -1
  40. package/dist/locale/de.js +1 -1
  41. package/dist/locale/de.min.js +1 -1
  42. package/dist/locale/de.min.mjs +1 -1
  43. package/dist/locale/de.mjs +1 -1
  44. package/dist/locale/el.js +1 -1
  45. package/dist/locale/el.min.js +1 -1
  46. package/dist/locale/el.min.mjs +1 -1
  47. package/dist/locale/el.mjs +1 -1
  48. package/dist/locale/en.js +1 -1
  49. package/dist/locale/en.min.js +1 -1
  50. package/dist/locale/en.min.mjs +1 -1
  51. package/dist/locale/en.mjs +1 -1
  52. package/dist/locale/eo.js +1 -1
  53. package/dist/locale/eo.min.js +1 -1
  54. package/dist/locale/eo.min.mjs +1 -1
  55. package/dist/locale/eo.mjs +1 -1
  56. package/dist/locale/es.js +1 -1
  57. package/dist/locale/es.min.js +1 -1
  58. package/dist/locale/es.min.mjs +1 -1
  59. package/dist/locale/es.mjs +1 -1
  60. package/dist/locale/et.js +1 -1
  61. package/dist/locale/et.min.js +1 -1
  62. package/dist/locale/et.min.mjs +1 -1
  63. package/dist/locale/et.mjs +1 -1
  64. package/dist/locale/eu.js +1 -1
  65. package/dist/locale/eu.min.js +1 -1
  66. package/dist/locale/eu.min.mjs +1 -1
  67. package/dist/locale/eu.mjs +1 -1
  68. package/dist/locale/fa.js +1 -1
  69. package/dist/locale/fa.min.js +1 -1
  70. package/dist/locale/fa.min.mjs +1 -1
  71. package/dist/locale/fa.mjs +1 -1
  72. package/dist/locale/fi.js +1 -1
  73. package/dist/locale/fi.min.js +1 -1
  74. package/dist/locale/fi.min.mjs +1 -1
  75. package/dist/locale/fi.mjs +1 -1
  76. package/dist/locale/fr.js +1 -1
  77. package/dist/locale/fr.min.js +1 -1
  78. package/dist/locale/fr.min.mjs +1 -1
  79. package/dist/locale/fr.mjs +1 -1
  80. package/dist/locale/he.js +1 -1
  81. package/dist/locale/he.min.js +1 -1
  82. package/dist/locale/he.min.mjs +1 -1
  83. package/dist/locale/he.mjs +1 -1
  84. package/dist/locale/hr.js +1 -1
  85. package/dist/locale/hr.min.js +1 -1
  86. package/dist/locale/hr.min.mjs +1 -1
  87. package/dist/locale/hr.mjs +1 -1
  88. package/dist/locale/hu.js +1 -1
  89. package/dist/locale/hu.min.js +1 -1
  90. package/dist/locale/hu.min.mjs +1 -1
  91. package/dist/locale/hu.mjs +1 -1
  92. package/dist/locale/hy-am.js +1 -1
  93. package/dist/locale/hy-am.min.js +1 -1
  94. package/dist/locale/hy-am.min.mjs +1 -1
  95. package/dist/locale/hy-am.mjs +1 -1
  96. package/dist/locale/id.js +1 -1
  97. package/dist/locale/id.min.js +1 -1
  98. package/dist/locale/id.min.mjs +1 -1
  99. package/dist/locale/id.mjs +1 -1
  100. package/dist/locale/it.js +1 -1
  101. package/dist/locale/it.min.js +1 -1
  102. package/dist/locale/it.min.mjs +1 -1
  103. package/dist/locale/it.mjs +1 -1
  104. package/dist/locale/ja.js +1 -1
  105. package/dist/locale/ja.min.js +1 -1
  106. package/dist/locale/ja.min.mjs +1 -1
  107. package/dist/locale/ja.mjs +1 -1
  108. package/dist/locale/kk.js +1 -1
  109. package/dist/locale/kk.min.js +1 -1
  110. package/dist/locale/kk.min.mjs +1 -1
  111. package/dist/locale/kk.mjs +1 -1
  112. package/dist/locale/km.js +1 -1
  113. package/dist/locale/km.min.js +1 -1
  114. package/dist/locale/km.min.mjs +1 -1
  115. package/dist/locale/km.mjs +1 -1
  116. package/dist/locale/ko.js +1 -1
  117. package/dist/locale/ko.min.js +1 -1
  118. package/dist/locale/ko.min.mjs +1 -1
  119. package/dist/locale/ko.mjs +1 -1
  120. package/dist/locale/ku.js +1 -1
  121. package/dist/locale/ku.min.js +1 -1
  122. package/dist/locale/ku.min.mjs +1 -1
  123. package/dist/locale/ku.mjs +1 -1
  124. package/dist/locale/ky.js +1 -1
  125. package/dist/locale/ky.min.js +1 -1
  126. package/dist/locale/ky.min.mjs +1 -1
  127. package/dist/locale/ky.mjs +1 -1
  128. package/dist/locale/lt.js +1 -1
  129. package/dist/locale/lt.min.js +1 -1
  130. package/dist/locale/lt.min.mjs +1 -1
  131. package/dist/locale/lt.mjs +1 -1
  132. package/dist/locale/lv.js +1 -1
  133. package/dist/locale/lv.min.js +1 -1
  134. package/dist/locale/lv.min.mjs +1 -1
  135. package/dist/locale/lv.mjs +1 -1
  136. package/dist/locale/mg.js +1 -1
  137. package/dist/locale/mg.min.js +1 -1
  138. package/dist/locale/mg.min.mjs +1 -1
  139. package/dist/locale/mg.mjs +1 -1
  140. package/dist/locale/mn.js +1 -1
  141. package/dist/locale/mn.min.js +1 -1
  142. package/dist/locale/mn.min.mjs +1 -1
  143. package/dist/locale/mn.mjs +1 -1
  144. package/dist/locale/nb-no.js +1 -1
  145. package/dist/locale/nb-no.min.js +1 -1
  146. package/dist/locale/nb-no.min.mjs +1 -1
  147. package/dist/locale/nb-no.mjs +1 -1
  148. package/dist/locale/nl.js +1 -1
  149. package/dist/locale/nl.min.js +1 -1
  150. package/dist/locale/nl.min.mjs +1 -1
  151. package/dist/locale/nl.mjs +1 -1
  152. package/dist/locale/pa.js +1 -1
  153. package/dist/locale/pa.min.js +1 -1
  154. package/dist/locale/pa.min.mjs +1 -1
  155. package/dist/locale/pa.mjs +1 -1
  156. package/dist/locale/pl.js +1 -1
  157. package/dist/locale/pl.min.js +1 -1
  158. package/dist/locale/pl.min.mjs +1 -1
  159. package/dist/locale/pl.mjs +1 -1
  160. package/dist/locale/pt-br.js +1 -1
  161. package/dist/locale/pt-br.min.js +1 -1
  162. package/dist/locale/pt-br.min.mjs +1 -1
  163. package/dist/locale/pt-br.mjs +1 -1
  164. package/dist/locale/pt.js +1 -1
  165. package/dist/locale/pt.min.js +1 -1
  166. package/dist/locale/pt.min.mjs +1 -1
  167. package/dist/locale/pt.mjs +1 -1
  168. package/dist/locale/ro.js +1 -1
  169. package/dist/locale/ro.min.js +1 -1
  170. package/dist/locale/ro.min.mjs +1 -1
  171. package/dist/locale/ro.mjs +1 -1
  172. package/dist/locale/ru.js +1 -1
  173. package/dist/locale/ru.min.js +1 -1
  174. package/dist/locale/ru.min.mjs +1 -1
  175. package/dist/locale/ru.mjs +1 -1
  176. package/dist/locale/sk.js +1 -1
  177. package/dist/locale/sk.min.js +1 -1
  178. package/dist/locale/sk.min.mjs +1 -1
  179. package/dist/locale/sk.mjs +1 -1
  180. package/dist/locale/sl.js +1 -1
  181. package/dist/locale/sl.min.js +1 -1
  182. package/dist/locale/sl.min.mjs +1 -1
  183. package/dist/locale/sl.mjs +1 -1
  184. package/dist/locale/sr.js +1 -1
  185. package/dist/locale/sr.min.js +1 -1
  186. package/dist/locale/sr.min.mjs +1 -1
  187. package/dist/locale/sr.mjs +1 -1
  188. package/dist/locale/sv.js +1 -1
  189. package/dist/locale/sv.min.js +1 -1
  190. package/dist/locale/sv.min.mjs +1 -1
  191. package/dist/locale/sv.mjs +1 -1
  192. package/dist/locale/ta.js +1 -1
  193. package/dist/locale/ta.min.js +1 -1
  194. package/dist/locale/ta.min.mjs +1 -1
  195. package/dist/locale/ta.mjs +1 -1
  196. package/dist/locale/th.js +1 -1
  197. package/dist/locale/th.min.js +1 -1
  198. package/dist/locale/th.min.mjs +1 -1
  199. package/dist/locale/th.mjs +1 -1
  200. package/dist/locale/tk.js +1 -1
  201. package/dist/locale/tk.min.js +1 -1
  202. package/dist/locale/tk.min.mjs +1 -1
  203. package/dist/locale/tk.mjs +1 -1
  204. package/dist/locale/tr.js +1 -1
  205. package/dist/locale/tr.min.js +1 -1
  206. package/dist/locale/tr.min.mjs +1 -1
  207. package/dist/locale/tr.mjs +1 -1
  208. package/dist/locale/ug-cn.js +1 -1
  209. package/dist/locale/ug-cn.min.js +1 -1
  210. package/dist/locale/ug-cn.min.mjs +1 -1
  211. package/dist/locale/ug-cn.mjs +1 -1
  212. package/dist/locale/uk.js +1 -1
  213. package/dist/locale/uk.min.js +1 -1
  214. package/dist/locale/uk.min.mjs +1 -1
  215. package/dist/locale/uk.mjs +1 -1
  216. package/dist/locale/uz-uz.js +1 -1
  217. package/dist/locale/uz-uz.min.js +1 -1
  218. package/dist/locale/uz-uz.min.mjs +1 -1
  219. package/dist/locale/uz-uz.mjs +1 -1
  220. package/dist/locale/vi.js +1 -1
  221. package/dist/locale/vi.min.js +1 -1
  222. package/dist/locale/vi.min.mjs +1 -1
  223. package/dist/locale/vi.mjs +1 -1
  224. package/dist/locale/zh-cn.js +1 -1
  225. package/dist/locale/zh-cn.min.js +1 -1
  226. package/dist/locale/zh-cn.min.mjs +1 -1
  227. package/dist/locale/zh-cn.mjs +1 -1
  228. package/dist/locale/zh-tw.js +1 -1
  229. package/dist/locale/zh-tw.min.js +1 -1
  230. package/dist/locale/zh-tw.min.mjs +1 -1
  231. package/dist/locale/zh-tw.mjs +1 -1
  232. package/es/components/affix/index.mjs +2 -2
  233. package/es/components/affix/src/affix.mjs +26 -115
  234. package/es/components/affix/src/affix.mjs.map +1 -1
  235. package/es/components/affix/src/affix2.mjs +115 -26
  236. package/es/components/affix/src/affix2.mjs.map +1 -1
  237. package/es/components/autocomplete/index.d.ts +15 -15
  238. package/es/components/autocomplete/src/autocomplete.vue.d.ts +15 -15
  239. package/es/components/button/src/button2.mjs +1 -1
  240. package/es/components/button/src/button2.mjs.map +1 -1
  241. package/es/components/calendar/index.d.ts +3 -0
  242. package/es/components/calendar/src/calendar.vue.d.ts +3 -0
  243. package/es/components/calendar/src/calendar2.mjs +17 -7
  244. package/es/components/calendar/src/calendar2.mjs.map +1 -1
  245. package/es/components/calendar/src/date-table2.mjs +1 -1
  246. package/es/components/calendar/src/date-table2.mjs.map +1 -1
  247. package/es/components/cascader/index.d.ts +126 -126
  248. package/es/components/cascader/src/index.vue.d.ts +63 -63
  249. package/es/components/cascader-panel/index.mjs +1 -1
  250. package/es/components/cascader-panel/src/config.d.ts +1 -2
  251. package/es/components/cascader-panel/src/config.mjs +1 -2
  252. package/es/components/cascader-panel/src/config.mjs.map +1 -1
  253. package/es/components/cascader-panel/src/index.mjs +2 -2
  254. package/es/components/cascader-panel/src/index.mjs.map +1 -1
  255. package/es/components/cascader-panel/src/index.vue.d.ts +3 -3
  256. package/es/components/cascader-panel/src/node.d.ts +1 -4
  257. package/es/components/cascader-panel/src/node.mjs +1 -6
  258. package/es/components/cascader-panel/src/node.mjs.map +1 -1
  259. package/es/components/cascader-panel/src/types.d.ts +2 -27
  260. package/es/components/cascader-panel/src/types.mjs +1 -6
  261. package/es/components/cascader-panel/src/types.mjs.map +1 -1
  262. package/es/components/date-picker/src/date-picker-com/basic-date-table.mjs +1 -1
  263. package/es/components/date-picker/src/date-picker-com/basic-date-table.mjs.map +1 -1
  264. package/es/components/dropdown/index.d.ts +29 -29
  265. package/es/components/dropdown/src/dropdown.vue.d.ts +29 -29
  266. package/es/components/form/index.d.ts +2 -2
  267. package/es/components/form/src/form-item.vue.d.ts +1 -1
  268. package/es/components/form/src/form-item2.mjs +23 -10
  269. package/es/components/form/src/form-item2.mjs.map +1 -1
  270. package/es/components/index.mjs +2 -2
  271. package/es/components/message-box/src/message-box.type.d.ts +1 -1
  272. package/es/components/message-box/src/messageBox.mjs +5 -12
  273. package/es/components/message-box/src/messageBox.mjs.map +1 -1
  274. package/es/components/pagination/src/components/sizes.vue.d.ts +42 -31
  275. package/es/components/popconfirm/index.d.ts +15 -15
  276. package/es/components/popconfirm/src/popconfirm.vue.d.ts +15 -15
  277. package/es/components/popover/index.d.ts +15 -15
  278. package/es/components/popover/src/popover.vue.d.ts +15 -15
  279. package/es/components/popper/src/content.d.ts +2 -2
  280. package/es/components/popper/src/content.mjs +1 -1
  281. package/es/components/popper/src/content.mjs.map +1 -1
  282. package/es/components/popper/src/content.vue.d.ts +3 -3
  283. package/es/components/popper/src/utils.d.ts +1 -1
  284. package/es/components/popper/src/utils.mjs +1 -1
  285. package/es/components/popper/src/utils.mjs.map +1 -1
  286. package/es/components/select/index.d.ts +42 -31
  287. package/es/components/select/src/select.mjs +8 -2
  288. package/es/components/select/src/select.mjs.map +1 -1
  289. package/es/components/select/src/select.vue.d.ts +42 -31
  290. package/es/components/select/src/useSelect.d.ts +31 -31
  291. package/es/components/select/src/useSelect.mjs.map +1 -1
  292. package/es/components/select-v2/index.d.ts +80 -58
  293. package/es/components/select-v2/src/defaults.d.ts +6 -1
  294. package/es/components/select-v2/src/defaults.mjs +7 -0
  295. package/es/components/select-v2/src/defaults.mjs.map +1 -1
  296. package/es/components/select-v2/src/select.mjs +2 -2
  297. package/es/components/select-v2/src/select.mjs.map +1 -1
  298. package/es/components/select-v2/src/select.vue.d.ts +40 -29
  299. package/es/components/select-v2/src/useSelect.d.ts +29 -29
  300. package/es/components/select-v2/src/useSelect.mjs +2 -2
  301. package/es/components/select-v2/src/useSelect.mjs.map +1 -1
  302. package/es/components/slider/index.d.ts +75 -75
  303. package/es/components/slider/src/button.vue.d.ts +15 -15
  304. package/es/components/slider/src/composables/use-slide.d.ts +60 -60
  305. package/es/components/slider/src/slider.vue.d.ts +75 -75
  306. package/es/components/steps/src/item2.mjs +20 -13
  307. package/es/components/steps/src/item2.mjs.map +1 -1
  308. package/es/components/table/src/filter-panel.vue.d.ts +29 -29
  309. package/es/components/table/src/table-column/render-helper.mjs +3 -0
  310. package/es/components/table/src/table-column/render-helper.mjs.map +1 -1
  311. package/es/components/time-picker/src/common/picker.vue.d.ts +15 -15
  312. package/es/components/time-select/index.d.ts +168 -124
  313. package/es/components/time-select/src/time-select.vue.d.ts +84 -62
  314. package/es/components/tooltip/index.d.ts +15 -15
  315. package/es/components/tooltip/src/content.vue.d.ts +7 -7
  316. package/es/components/tooltip/src/tooltip.d.ts +1 -1
  317. package/es/components/tooltip/src/tooltip.vue.d.ts +15 -15
  318. package/es/components/tree/src/tree-node-content.mjs +3 -1
  319. package/es/components/tree/src/tree-node-content.mjs.map +1 -1
  320. package/es/components/tree-v2/src/composables/useTree.mjs +2 -2
  321. package/es/components/tree-v2/src/composables/useTree.mjs.map +1 -1
  322. package/es/components/upload/src/upload2.mjs +4 -5
  323. package/es/components/upload/src/upload2.mjs.map +1 -1
  324. package/es/hooks/use-lockscreen/index.mjs +6 -4
  325. package/es/hooks/use-lockscreen/index.mjs.map +1 -1
  326. package/es/index.mjs +2 -2
  327. package/es/version.d.ts +1 -1
  328. package/es/version.mjs +1 -1
  329. package/es/version.mjs.map +1 -1
  330. package/global.d.ts +1 -0
  331. package/lib/components/affix/index.js +2 -2
  332. package/lib/components/affix/src/affix.js +27 -115
  333. package/lib/components/affix/src/affix.js.map +1 -1
  334. package/lib/components/affix/src/affix2.js +115 -27
  335. package/lib/components/affix/src/affix2.js.map +1 -1
  336. package/lib/components/autocomplete/index.d.ts +15 -15
  337. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +15 -15
  338. package/lib/components/button/src/button2.js +1 -1
  339. package/lib/components/button/src/button2.js.map +1 -1
  340. package/lib/components/calendar/index.d.ts +3 -0
  341. package/lib/components/calendar/src/calendar.vue.d.ts +3 -0
  342. package/lib/components/calendar/src/calendar2.js +21 -11
  343. package/lib/components/calendar/src/calendar2.js.map +1 -1
  344. package/lib/components/calendar/src/date-table2.js +1 -1
  345. package/lib/components/calendar/src/date-table2.js.map +1 -1
  346. package/lib/components/cascader/index.d.ts +126 -126
  347. package/lib/components/cascader/src/index.vue.d.ts +63 -63
  348. package/lib/components/cascader-panel/index.js +0 -1
  349. package/lib/components/cascader-panel/index.js.map +1 -1
  350. package/lib/components/cascader-panel/src/config.d.ts +1 -2
  351. package/lib/components/cascader-panel/src/config.js +1 -2
  352. package/lib/components/cascader-panel/src/config.js.map +1 -1
  353. package/lib/components/cascader-panel/src/index.js +1 -1
  354. package/lib/components/cascader-panel/src/index.js.map +1 -1
  355. package/lib/components/cascader-panel/src/index.vue.d.ts +3 -3
  356. package/lib/components/cascader-panel/src/node.d.ts +1 -4
  357. package/lib/components/cascader-panel/src/node.js +0 -6
  358. package/lib/components/cascader-panel/src/node.js.map +1 -1
  359. package/lib/components/cascader-panel/src/types.d.ts +2 -27
  360. package/lib/components/cascader-panel/src/types.js +0 -6
  361. package/lib/components/cascader-panel/src/types.js.map +1 -1
  362. package/lib/components/date-picker/src/date-picker-com/basic-date-table.js +2 -2
  363. package/lib/components/date-picker/src/date-picker-com/basic-date-table.js.map +1 -1
  364. package/lib/components/dropdown/index.d.ts +29 -29
  365. package/lib/components/dropdown/src/dropdown.vue.d.ts +29 -29
  366. package/lib/components/form/index.d.ts +2 -2
  367. package/lib/components/form/src/form-item.vue.d.ts +1 -1
  368. package/lib/components/form/src/form-item2.js +23 -10
  369. package/lib/components/form/src/form-item2.js.map +1 -1
  370. package/lib/components/index.js +1 -2
  371. package/lib/components/index.js.map +1 -1
  372. package/lib/components/message-box/src/message-box.type.d.ts +1 -1
  373. package/lib/components/message-box/src/messageBox.js +3 -10
  374. package/lib/components/message-box/src/messageBox.js.map +1 -1
  375. package/lib/components/pagination/src/components/sizes.vue.d.ts +42 -31
  376. package/lib/components/popconfirm/index.d.ts +15 -15
  377. package/lib/components/popconfirm/src/popconfirm.vue.d.ts +15 -15
  378. package/lib/components/popover/index.d.ts +15 -15
  379. package/lib/components/popover/src/popover.vue.d.ts +15 -15
  380. package/lib/components/popper/src/content.d.ts +2 -2
  381. package/lib/components/popper/src/content.js +1 -1
  382. package/lib/components/popper/src/content.js.map +1 -1
  383. package/lib/components/popper/src/content.vue.d.ts +3 -3
  384. package/lib/components/popper/src/utils.d.ts +1 -1
  385. package/lib/components/popper/src/utils.js +1 -1
  386. package/lib/components/popper/src/utils.js.map +1 -1
  387. package/lib/components/select/index.d.ts +42 -31
  388. package/lib/components/select/src/select.js +10 -4
  389. package/lib/components/select/src/select.js.map +1 -1
  390. package/lib/components/select/src/select.vue.d.ts +42 -31
  391. package/lib/components/select/src/useSelect.d.ts +31 -31
  392. package/lib/components/select/src/useSelect.js.map +1 -1
  393. package/lib/components/select-v2/index.d.ts +80 -58
  394. package/lib/components/select-v2/src/defaults.d.ts +6 -1
  395. package/lib/components/select-v2/src/defaults.js +7 -0
  396. package/lib/components/select-v2/src/defaults.js.map +1 -1
  397. package/lib/components/select-v2/src/select.js +2 -2
  398. package/lib/components/select-v2/src/select.js.map +1 -1
  399. package/lib/components/select-v2/src/select.vue.d.ts +40 -29
  400. package/lib/components/select-v2/src/useSelect.d.ts +29 -29
  401. package/lib/components/select-v2/src/useSelect.js +1 -1
  402. package/lib/components/select-v2/src/useSelect.js.map +1 -1
  403. package/lib/components/slider/index.d.ts +75 -75
  404. package/lib/components/slider/src/button.vue.d.ts +15 -15
  405. package/lib/components/slider/src/composables/use-slide.d.ts +60 -60
  406. package/lib/components/slider/src/slider.vue.d.ts +75 -75
  407. package/lib/components/steps/src/item2.js +19 -12
  408. package/lib/components/steps/src/item2.js.map +1 -1
  409. package/lib/components/table/src/filter-panel.vue.d.ts +29 -29
  410. package/lib/components/table/src/table-column/render-helper.js +3 -0
  411. package/lib/components/table/src/table-column/render-helper.js.map +1 -1
  412. package/lib/components/time-picker/src/common/picker.vue.d.ts +15 -15
  413. package/lib/components/time-select/index.d.ts +168 -124
  414. package/lib/components/time-select/src/time-select.vue.d.ts +84 -62
  415. package/lib/components/tooltip/index.d.ts +15 -15
  416. package/lib/components/tooltip/src/content.vue.d.ts +7 -7
  417. package/lib/components/tooltip/src/tooltip.d.ts +1 -1
  418. package/lib/components/tooltip/src/tooltip.vue.d.ts +15 -15
  419. package/lib/components/tree/src/tree-node-content.js +3 -1
  420. package/lib/components/tree/src/tree-node-content.js.map +1 -1
  421. package/lib/components/tree-v2/src/composables/useTree.js +2 -2
  422. package/lib/components/tree-v2/src/composables/useTree.js.map +1 -1
  423. package/lib/components/upload/src/upload2.js +3 -4
  424. package/lib/components/upload/src/upload2.js.map +1 -1
  425. package/lib/hooks/use-lockscreen/index.js +6 -4
  426. package/lib/hooks/use-lockscreen/index.js.map +1 -1
  427. package/lib/index.js +1 -2
  428. package/lib/index.js.map +1 -1
  429. package/lib/version.d.ts +1 -1
  430. package/lib/version.js +1 -1
  431. package/lib/version.js.map +1 -1
  432. package/package.json +2 -2
  433. package/tags.json +1 -1
  434. package/web-types.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"upload2.mjs","sources":["../../../../../../packages/components/upload/src/upload.vue"],"sourcesContent":["<template>\n <div>\n <upload-list\n v-if=\"isPictureCard && showFileList\"\n :disabled=\"disabled\"\n :list-type=\"listType\"\n :files=\"uploadFiles\"\n :handle-preview=\"onPreview\"\n @remove=\"handleRemove\"\n >\n <template v-if=\"$slots.file\" #default=\"{ file }\">\n <slot name=\"file\" :file=\"file\" />\n </template>\n <template #append>\n <upload-content\n v-if=\"listType === 'picture-card'\"\n ref=\"uploadRef\"\n v-bind=\"uploadContentProps\"\n >\n <slot v-if=\"slots.trigger\" name=\"trigger\" />\n <slot v-if=\"!slots.trigger && slots.default\" />\n </upload-content>\n </template>\n </upload-list>\n\n <upload-content\n v-if=\"listType !== 'picture-card'\"\n ref=\"uploadRef\"\n v-bind=\"uploadContentProps\"\n >\n <slot v-if=\"slots.trigger\" name=\"trigger\" />\n <slot v-if=\"!slots.trigger && slots.default\" />\n </upload-content>\n\n <slot v-if=\"$slots.trigger\" />\n <slot name=\"tip\" />\n <upload-list\n v-if=\"!isPictureCard && showFileList\"\n :disabled=\"disabled\"\n :list-type=\"listType\"\n :files=\"uploadFiles\"\n :handle-preview=\"onPreview\"\n @remove=\"handleRemove\"\n >\n <template v-if=\"$slots.file\" #default=\"{ file }\">\n <slot name=\"file\" :file=\"file\" />\n </template>\n </upload-list>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport {\n computed,\n onBeforeUnmount,\n provide,\n shallowRef,\n toRef,\n useSlots,\n} from 'vue'\nimport { uploadContextKey } from '@element-plus/tokens'\nimport { useDisabled } from '@element-plus/hooks'\n\nimport UploadList from './upload-list.vue'\nimport UploadContent from './upload-content.vue'\nimport { useHandlers } from './use-handlers'\nimport { uploadProps } from './upload'\nimport type {\n UploadContentInstance,\n UploadContentProps,\n} from './upload-content'\n\ndefineOptions({\n name: 'ElUpload',\n})\n\nconst props = defineProps(uploadProps)\n\nconst slots = useSlots()\nconst disabled = useDisabled()\n\nconst uploadRef = shallowRef<UploadContentInstance>()\nconst {\n abort,\n submit,\n clearFiles,\n uploadFiles,\n handleStart,\n handleError,\n handleRemove,\n handleSuccess,\n handleProgress,\n} = useHandlers(props, uploadRef)\n\nconst isPictureCard = computed(() => props.listType === 'picture-card')\n\nconst uploadContentProps = computed<UploadContentProps>(() => ({\n ...props,\n fileList: uploadFiles.value,\n onStart: handleStart,\n onProgress: handleProgress,\n onSuccess: handleSuccess,\n onError: handleError,\n onRemove: handleRemove,\n}))\n\nonBeforeUnmount(() => {\n uploadFiles.value.forEach(({ url }) => {\n if (url?.startsWith('blob:')) URL.revokeObjectURL(url)\n })\n})\n\nprovide(uploadContextKey, {\n accept: toRef(props, 'accept'),\n})\n\ndefineExpose({\n /** @description cancel upload request */\n abort,\n /** @description upload the file list manually */\n submit,\n /** @description clear the file list */\n clearFiles,\n /** @description select the file manually */\n handleStart,\n /** @description remove the file manually */\n handleRemove,\n})\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AA8EA,IAAA,MAAA,QAAA,QAAA,EAAA,CAAA;AACA,IAAA,MAAA,WAAA,WAAA,EAAA,CAAA;AAEA,IAAA,MAAA,YAAA,UAAA,EAAA,CAAA;AACA,IAAA,MAAA;AAAA,MACA,KAAA;AAAA,MACA,MAAA;AAAA,MACA,UAAA;AAAA,MACA,WAAA;AAAA,MACA,WAAA;AAAA,MACA,WAAA;AAAA,MACA,YAAA;AAAA,MACA,aAAA;AAAA,MACA,cAAA;AAAA,KACA,GAAA,WAAA,CAAA,OAAA,SAAA,CAAA,CAAA;AAEA,IAAA,MAAA,aAAA,GAAA,QAAA,CAAA,MAAA,KAAA,CAAA,aAAA,cAAA,CAAA,CAAA;AAEA,IAAA,MAAA,kBAAA,GAAA,SAAA,OAAA;AAAA,MACA,GAAA,KAAA;AAAA,MACA,UAAA,WAAA,CAAA,KAAA;AAAA,MACA,OAAA,EAAA,WAAA;AAAA,MACA,UAAA,EAAA,cAAA;AAAA,MACA,SAAA,EAAA,aAAA;AAAA,MACA,OAAA,EAAA,WAAA;AAAA,MACA,QAAA,EAAA,YAAA;AAAA,KACA,CAAA,CAAA,CAAA;AAEA,IAAA,eAAA,CAAA,MAAA;AACA,MAAA,WAAA,CAAA,KAAA,CAAA,OAAA,CAAA,CAAA,EAAA,GAAA,EAAA,KAAA;AACA,QAAA,IAAA,GAAA,gBAAA,CAAA,GAAA,GAAA,CAAA,UAAA,CAAA,OAAA,CAAA;AAAA,UAAA,GAAA,CAAA,gBAAA,GAAA,CAAA,CAAA;AAAA,OACA,CAAA,CAAA;AAAA,KACA,CAAA,CAAA;AAEA,IAAA,OAAA,CAAA,gBAAA,EAAA;AAAA,MACA,MAAA,EAAA,KAAA,CAAA,KAAA,EAAA,QAAA,CAAA;AAAA,KACA,CAAA,CAAA;AAEA,IAAA,MAAA,CAAA;AAAA,MAEA,KAAA;AAAA,MAEA,MAAA;AAAA,MAEA,UAAA;AAAA,MAEA,WAAA;AAAA,MAEA,YAAA;AAAA,KACA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"upload2.mjs","sources":["../../../../../../packages/components/upload/src/upload.vue"],"sourcesContent":["<template>\n <div>\n <upload-list\n v-if=\"isPictureCard && showFileList\"\n :disabled=\"disabled\"\n :list-type=\"listType\"\n :files=\"uploadFiles\"\n :handle-preview=\"onPreview\"\n @remove=\"handleRemove\"\n >\n <template v-if=\"$slots.file\" #default=\"{ file }\">\n <slot name=\"file\" :file=\"file\" />\n </template>\n <template #append>\n <upload-content ref=\"uploadRef\" v-bind=\"uploadContentProps\">\n <slot v-if=\"slots.trigger\" name=\"trigger\" />\n <slot v-if=\"!slots.trigger && slots.default\" />\n </upload-content>\n </template>\n </upload-list>\n\n <upload-content\n v-if=\"!isPictureCard || (isPictureCard && !showFileList)\"\n ref=\"uploadRef\"\n v-bind=\"uploadContentProps\"\n >\n <slot v-if=\"slots.trigger\" name=\"trigger\" />\n <slot v-if=\"!slots.trigger && slots.default\" />\n </upload-content>\n\n <slot v-if=\"$slots.trigger\" />\n <slot name=\"tip\" />\n <upload-list\n v-if=\"!isPictureCard && showFileList\"\n :disabled=\"disabled\"\n :list-type=\"listType\"\n :files=\"uploadFiles\"\n :handle-preview=\"onPreview\"\n @remove=\"handleRemove\"\n >\n <template v-if=\"$slots.file\" #default=\"{ file }\">\n <slot name=\"file\" :file=\"file\" />\n </template>\n </upload-list>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport {\n computed,\n onBeforeUnmount,\n provide,\n shallowRef,\n toRef,\n useSlots,\n} from 'vue'\nimport { uploadContextKey } from '@element-plus/tokens'\nimport { useDisabled } from '@element-plus/hooks'\n\nimport UploadList from './upload-list.vue'\nimport UploadContent from './upload-content.vue'\nimport { useHandlers } from './use-handlers'\nimport { uploadProps } from './upload'\nimport type {\n UploadContentInstance,\n UploadContentProps,\n} from './upload-content'\n\ndefineOptions({\n name: 'ElUpload',\n})\n\nconst props = defineProps(uploadProps)\n\nconst slots = useSlots()\nconst disabled = useDisabled()\n\nconst uploadRef = shallowRef<UploadContentInstance>()\nconst {\n abort,\n submit,\n clearFiles,\n uploadFiles,\n handleStart,\n handleError,\n handleRemove,\n handleSuccess,\n handleProgress,\n} = useHandlers(props, uploadRef)\n\nconst isPictureCard = computed(() => props.listType === 'picture-card')\n\nconst uploadContentProps = computed<UploadContentProps>(() => ({\n ...props,\n fileList: uploadFiles.value,\n onStart: handleStart,\n onProgress: handleProgress,\n onSuccess: handleSuccess,\n onError: handleError,\n onRemove: handleRemove,\n}))\n\nonBeforeUnmount(() => {\n uploadFiles.value.forEach(({ url }) => {\n if (url?.startsWith('blob:')) URL.revokeObjectURL(url)\n })\n})\n\nprovide(uploadContextKey, {\n accept: toRef(props, 'accept'),\n})\n\ndefineExpose({\n /** @description cancel upload request */\n abort,\n /** @description upload the file list manually */\n submit,\n /** @description clear the file list */\n clearFiles,\n /** @description select the file manually */\n handleStart,\n /** @description remove the file manually */\n handleRemove,\n})\n</script>\n"],"names":[],"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AA,MAEA,YAAA;AAAA,KACA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -20,10 +20,12 @@ const useLockscreen = (trigger) => {
20
20
  let withoutHiddenClass = false;
21
21
  let bodyWidth = "0";
22
22
  const cleanup = () => {
23
- removeClass(document.body, hiddenCls.value);
24
- if (withoutHiddenClass) {
25
- document.body.style.width = bodyWidth;
26
- }
23
+ setTimeout(() => {
24
+ removeClass(document.body, hiddenCls.value);
25
+ if (withoutHiddenClass) {
26
+ document.body.style.width = bodyWidth;
27
+ }
28
+ }, 200);
27
29
  };
28
30
  watch(trigger, (val) => {
29
31
  if (!val) {
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../../../packages/hooks/use-lockscreen/index.ts"],"sourcesContent":["import { isRef, onScopeDispose, watch } from 'vue'\n\nimport { computed } from '@vue/reactivity'\nimport { isClient } from '@vueuse/core'\nimport {\n addClass,\n getScrollBarWidth,\n getStyle,\n hasClass,\n removeClass,\n throwError,\n} from '@element-plus/utils'\nimport { useNamespace } from '../use-namespace'\n\nimport type { Ref } from 'vue'\n\n/**\n * Hook that monitoring the ref value to lock or unlock the screen.\n * When the trigger became true, it assumes modal is now opened and vice versa.\n * @param trigger {Ref<boolean>}\n */\nexport const useLockscreen = (trigger: Ref<boolean>) => {\n if (!isRef(trigger)) {\n throwError(\n '[useLockscreen]',\n 'You need to pass a ref param to this function'\n )\n }\n\n const ns = useNamespace('popup')\n\n const hiddenCls = computed(() => ns.bm('parent', 'hidden'))\n\n if (!isClient || hasClass(document.body, hiddenCls.value)) {\n return\n }\n\n let scrollBarWidth = 0\n let withoutHiddenClass = false\n let bodyWidth = '0'\n\n const cleanup = () => {\n removeClass(document.body, hiddenCls.value)\n if (withoutHiddenClass) {\n document.body.style.width = bodyWidth\n }\n }\n watch(trigger, (val) => {\n if (!val) {\n cleanup()\n return\n }\n\n withoutHiddenClass = !hasClass(document.body, hiddenCls.value)\n if (withoutHiddenClass) {\n bodyWidth = document.body.style.width\n }\n scrollBarWidth = getScrollBarWidth(ns.namespace.value)\n const bodyHasOverflow =\n document.documentElement.clientHeight < document.body.scrollHeight\n const bodyOverflowY = getStyle(document.body, 'overflowY')\n if (\n scrollBarWidth > 0 &&\n (bodyHasOverflow || bodyOverflowY === 'scroll') &&\n withoutHiddenClass\n ) {\n document.body.style.width = `calc(100% - ${scrollBarWidth}px)`\n }\n addClass(document.body, hiddenCls.value)\n })\n onScopeDispose(() => cleanup())\n}\n"],"names":[],"mappings":";;;;;;;;;AAYY,MAAC,aAAa,GAAG,CAAC,OAAO,KAAK;AAC1C,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE;AACvB,IAAI,UAAU,CAAC,iBAAiB,EAAE,+CAA+C,CAAC,CAAC;AACnF,GAAG;AACH,EAAE,MAAM,EAAE,GAAG,YAAY,CAAC,OAAO,CAAC,CAAC;AACnC,EAAE,MAAM,SAAS,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC;AAC9D,EAAE,IAAI,CAAC,QAAQ,IAAI,QAAQ,CAAC,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC,KAAK,CAAC,EAAE;AAC7D,IAAI,OAAO;AACX,GAAG;AACH,EAAE,IAAI,cAAc,GAAG,CAAC,CAAC;AACzB,EAAE,IAAI,kBAAkB,GAAG,KAAK,CAAC;AACjC,EAAE,IAAI,SAAS,GAAG,GAAG,CAAC;AACtB,EAAE,MAAM,OAAO,GAAG,MAAM;AACxB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC,KAAK,CAAC,CAAC;AAChD,IAAI,IAAI,kBAAkB,EAAE;AAC5B,MAAM,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,SAAS,CAAC;AAC5C,KAAK;AACL,GAAG,CAAC;AACJ,EAAE,KAAK,CAAC,OAAO,EAAE,CAAC,GAAG,KAAK;AAC1B,IAAI,IAAI,CAAC,GAAG,EAAE;AACd,MAAM,OAAO,EAAE,CAAC;AAChB,MAAM,OAAO;AACb,KAAK;AACL,IAAI,kBAAkB,GAAG,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC,KAAK,CAAC,CAAC;AACnE,IAAI,IAAI,kBAAkB,EAAE;AAC5B,MAAM,SAAS,GAAG,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC;AAC5C,KAAK;AACL,IAAI,cAAc,GAAG,iBAAiB,CAAC,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;AAC3D,IAAI,MAAM,eAAe,GAAG,QAAQ,CAAC,eAAe,CAAC,YAAY,GAAG,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC;AAC/F,IAAI,MAAM,aAAa,GAAG,QAAQ,CAAC,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAC/D,IAAI,IAAI,cAAc,GAAG,CAAC,KAAK,eAAe,IAAI,aAAa,KAAK,QAAQ,CAAC,IAAI,kBAAkB,EAAE;AACrG,MAAM,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,CAAC,YAAY,EAAE,cAAc,CAAC,GAAG,CAAC,CAAC;AACrE,KAAK;AACL,IAAI,QAAQ,CAAC,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC,KAAK,CAAC,CAAC;AAC7C,GAAG,CAAC,CAAC;AACL,EAAE,cAAc,CAAC,MAAM,OAAO,EAAE,CAAC,CAAC;AAClC;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../packages/hooks/use-lockscreen/index.ts"],"sourcesContent":["import { isRef, onScopeDispose, watch } from 'vue'\nimport { computed } from '@vue/reactivity'\nimport { isClient } from '@vueuse/core'\nimport {\n addClass,\n getScrollBarWidth,\n getStyle,\n hasClass,\n removeClass,\n throwError,\n} from '@element-plus/utils'\nimport { useNamespace } from '../use-namespace'\n\nimport type { Ref } from 'vue'\n\n/**\n * Hook that monitoring the ref value to lock or unlock the screen.\n * When the trigger became true, it assumes modal is now opened and vice versa.\n * @param trigger {Ref<boolean>}\n */\nexport const useLockscreen = (trigger: Ref<boolean>) => {\n if (!isRef(trigger)) {\n throwError(\n '[useLockscreen]',\n 'You need to pass a ref param to this function'\n )\n }\n\n const ns = useNamespace('popup')\n\n const hiddenCls = computed(() => ns.bm('parent', 'hidden'))\n\n if (!isClient || hasClass(document.body, hiddenCls.value)) {\n return\n }\n\n let scrollBarWidth = 0\n let withoutHiddenClass = false\n let bodyWidth = '0'\n\n const cleanup = () => {\n setTimeout(() => {\n removeClass(document.body, hiddenCls.value)\n if (withoutHiddenClass) {\n document.body.style.width = bodyWidth\n }\n }, 200)\n }\n watch(trigger, (val) => {\n if (!val) {\n cleanup()\n return\n }\n\n withoutHiddenClass = !hasClass(document.body, hiddenCls.value)\n if (withoutHiddenClass) {\n bodyWidth = document.body.style.width\n }\n scrollBarWidth = getScrollBarWidth(ns.namespace.value)\n const bodyHasOverflow =\n document.documentElement.clientHeight < document.body.scrollHeight\n const bodyOverflowY = getStyle(document.body, 'overflowY')\n if (\n scrollBarWidth > 0 &&\n (bodyHasOverflow || bodyOverflowY === 'scroll') &&\n withoutHiddenClass\n ) {\n document.body.style.width = `calc(100% - ${scrollBarWidth}px)`\n }\n addClass(document.body, hiddenCls.value)\n })\n onScopeDispose(() => cleanup())\n}\n"],"names":[],"mappings":";;;;;;;;;AAYY,MAAC,aAAa,GAAG,CAAC,OAAO,KAAK;AAC1C,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE;AACvB,IAAI,UAAU,CAAC,iBAAiB,EAAE,+CAA+C,CAAC,CAAC;AACnF,GAAG;AACH,EAAE,MAAM,EAAE,GAAG,YAAY,CAAC,OAAO,CAAC,CAAC;AACnC,EAAE,MAAM,SAAS,GAAG,QAAQ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AM,aAAa,GAAG,QAAQ,CAAC,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAC/D,IAAI,IAAI,cAAc,GAAG,CAAC,KAAK,eAAe,IAAI,aAAa,KAAK,QAAQ,CAAC,IAAI,kBAAkB,EAAE;AACrG,MAAM,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,CAAC,YAAY,EAAE,cAAc,CAAC,GAAG,CAAC,CAAC;AACrE,KAAK;AACL,IAAI,QAAQ,CAAC,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC,KAAK,CAAC,CAAC;AAC7C,GAAG,CAAC,CAAC;AACL,EAAE,cAAc,CAAC,MAAM,OAAO,EAAE,CAAC,CAAC;AAClC;;;;"}
package/es/index.mjs CHANGED
@@ -7,7 +7,7 @@ import './hooks/index.mjs';
7
7
  import './tokens/index.mjs';
8
8
  export { makeInstaller } from './make-installer.mjs';
9
9
  export { default as dayjs } from 'dayjs';
10
- export { affixEmits, affixProps } from './components/affix/src/affix2.mjs';
10
+ export { affixEmits, affixProps } from './components/affix/src/affix.mjs';
11
11
  export { ElAffix } from './components/affix/index.mjs';
12
12
  export { alertEffects, alertEmits, alertProps } from './components/alert/src/alert.mjs';
13
13
  export { ElAlert } from './components/alert/index.mjs';
@@ -32,7 +32,7 @@ export { carouselEmits, carouselProps } from './components/carousel/src/carousel
32
32
  export { carouselItemProps } from './components/carousel/src/carousel-item.mjs';
33
33
  export { ElCarousel, ElCarouselItem } from './components/carousel/index.mjs';
34
34
  export { ElCascader } from './components/cascader/index.mjs';
35
- export { CASCADER_PANEL_INJECTION_KEY, ExpandTrigger } from './components/cascader-panel/src/types.mjs';
35
+ export { CASCADER_PANEL_INJECTION_KEY } from './components/cascader-panel/src/types.mjs';
36
36
  export { CommonProps, DefaultProps, useCascaderConfig } from './components/cascader-panel/src/config.mjs';
37
37
  export { ElCascaderPanel } from './components/cascader-panel/index.mjs';
38
38
  export { checkTagEmits, checkTagProps } from './components/check-tag/src/check-tag.mjs';
package/es/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const version = "0.0.20220901";
1
+ export declare const version = "0.0.20220904";
package/es/version.mjs CHANGED
@@ -1,4 +1,4 @@
1
- const version = "0.0.20220901";
1
+ const version = "0.0.20220904";
2
2
 
3
3
  export { version };
4
4
  //# sourceMappingURL=version.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.mjs","sources":["../../../packages/element-plus/version.ts"],"sourcesContent":["export const version = '0.0.20220901'\n"],"names":[],"mappings":"AAAY,MAAC,OAAO,GAAG;;;;"}
1
+ {"version":3,"file":"version.mjs","sources":["../../../packages/element-plus/version.ts"],"sourcesContent":["export const version = '0.0.20220904'\n"],"names":[],"mappings":"AAAY,MAAC,OAAO,GAAG;;;;"}
package/global.d.ts CHANGED
@@ -56,6 +56,7 @@ declare module '@vue/runtime-core' {
56
56
  ElPagination: typeof import('element-plus')['ElPagination']
57
57
  ElPopconfirm: typeof import('element-plus')['ElPopconfirm']
58
58
  ElPopper: typeof import('element-plus')['ElPopper']
59
+ ElPopover: typeof import('element-plus')['ElPopover']
59
60
  ElProgress: typeof import('element-plus')['ElProgress']
60
61
  ElRadio: typeof import('element-plus')['ElRadio']
61
62
  ElRadioButton: typeof import('element-plus')['ElRadioButton']
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  require('../../utils/index.js');
6
- var affix$1 = require('./src/affix.js');
7
- var affix = require('./src/affix2.js');
6
+ var affix$1 = require('./src/affix2.js');
7
+ var affix = require('./src/affix.js');
8
8
  var install = require('../../utils/vue/install.js');
9
9
 
10
10
  const ElAffix = install.withInstall(affix$1["default"]);
@@ -2,124 +2,36 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var vue = require('vue');
6
- var core = require('@vueuse/core');
7
5
  require('../../../utils/index.js');
8
- require('../../../hooks/index.js');
9
- var affix = require('./affix2.js');
10
- var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
11
- var index = require('../../../hooks/use-namespace/index.js');
12
- var error = require('../../../utils/error.js');
13
- var scroll = require('../../../utils/dom/scroll.js');
6
+ require('../../../constants/index.js');
7
+ var runtime = require('../../../utils/vue/props/runtime.js');
8
+ var core = require('@vueuse/core');
9
+ var event = require('../../../constants/event.js');
14
10
 
15
- const __default__ = {
16
- name: "ElAffix"
17
- };
18
- const _sfc_main = /* @__PURE__ */ vue.defineComponent({
19
- ...__default__,
20
- props: affix.affixProps,
21
- emits: affix.affixEmits,
22
- setup(__props, { expose, emit }) {
23
- const props = __props;
24
- const COMPONENT_NAME = "ElAffix";
25
- const ns = index.useNamespace("affix");
26
- const target = vue.shallowRef();
27
- const root = vue.shallowRef();
28
- const scrollContainer = vue.shallowRef();
29
- const { height: windowHeight } = core.useWindowSize();
30
- const {
31
- height: rootHeight,
32
- width: rootWidth,
33
- top: rootTop,
34
- bottom: rootBottom,
35
- update: updateRoot
36
- } = core.useElementBounding(root);
37
- const targetRect = core.useElementBounding(target);
38
- const fixed = vue.ref(false);
39
- const scrollTop = vue.ref(0);
40
- const transform = vue.ref(0);
41
- const rootStyle = vue.computed(() => {
42
- return {
43
- height: fixed.value ? `${rootHeight.value}px` : "",
44
- width: fixed.value ? `${rootWidth.value}px` : ""
45
- };
46
- });
47
- const affixStyle = vue.computed(() => {
48
- if (!fixed.value)
49
- return {};
50
- const offset = props.offset ? `${props.offset}px` : 0;
51
- return {
52
- height: `${rootHeight.value}px`,
53
- width: `${rootWidth.value}px`,
54
- top: props.position === "top" ? offset : "",
55
- bottom: props.position === "bottom" ? offset : "",
56
- transform: transform.value ? `translateY(${transform.value}px)` : "",
57
- zIndex: props.zIndex
58
- };
59
- });
60
- const update = () => {
61
- if (!scrollContainer.value)
62
- return;
63
- scrollTop.value = scrollContainer.value instanceof Window ? document.documentElement.scrollTop : scrollContainer.value.scrollTop || 0;
64
- if (props.position === "top") {
65
- if (props.target) {
66
- const difference = targetRect.bottom.value - props.offset - rootHeight.value;
67
- fixed.value = props.offset > rootTop.value && targetRect.bottom.value > 0;
68
- transform.value = difference < 0 ? difference : 0;
69
- } else {
70
- fixed.value = props.offset > rootTop.value;
71
- }
72
- } else if (props.target) {
73
- const difference = windowHeight.value - targetRect.top.value - props.offset - rootHeight.value;
74
- fixed.value = windowHeight.value - props.offset < rootBottom.value && windowHeight.value > targetRect.top.value;
75
- transform.value = difference < 0 ? -difference : 0;
76
- } else {
77
- fixed.value = windowHeight.value - props.offset < rootBottom.value;
78
- }
79
- };
80
- const handleScroll = () => {
81
- emit("scroll", {
82
- scrollTop: scrollTop.value,
83
- fixed: fixed.value
84
- });
85
- };
86
- vue.watch(fixed, (val) => emit("change", val));
87
- vue.onMounted(() => {
88
- var _a;
89
- if (props.target) {
90
- target.value = (_a = document.querySelector(props.target)) != null ? _a : void 0;
91
- if (!target.value)
92
- error.throwError(COMPONENT_NAME, `Target is not existed: ${props.target}`);
93
- } else {
94
- target.value = document.documentElement;
95
- }
96
- scrollContainer.value = scroll.getScrollContainer(root.value, true);
97
- updateRoot();
98
- });
99
- core.useEventListener(scrollContainer, "scroll", handleScroll);
100
- vue.watchEffect(update);
101
- expose({
102
- update,
103
- updateRoot
104
- });
105
- return (_ctx, _cache) => {
106
- return vue.openBlock(), vue.createElementBlock("div", {
107
- ref_key: "root",
108
- ref: root,
109
- class: vue.normalizeClass(vue.unref(ns).b()),
110
- style: vue.normalizeStyle(vue.unref(rootStyle))
111
- }, [
112
- vue.createElementVNode("div", {
113
- class: vue.normalizeClass({ [vue.unref(ns).m("fixed")]: fixed.value }),
114
- style: vue.normalizeStyle(vue.unref(affixStyle))
115
- }, [
116
- vue.renderSlot(_ctx.$slots, "default")
117
- ], 6)
118
- ], 6);
119
- };
11
+ const affixProps = runtime.buildProps({
12
+ zIndex: {
13
+ type: runtime.definePropType([Number, String]),
14
+ default: 100
15
+ },
16
+ target: {
17
+ type: String,
18
+ default: ""
19
+ },
20
+ offset: {
21
+ type: Number,
22
+ default: 0
23
+ },
24
+ position: {
25
+ type: String,
26
+ values: ["top", "bottom"],
27
+ default: "top"
120
28
  }
121
29
  });
122
- var Affix = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/affix/src/affix.vue"]]);
30
+ const affixEmits = {
31
+ scroll: ({ scrollTop, fixed }) => core.isNumber(scrollTop) && core.isBoolean(fixed),
32
+ [event.CHANGE_EVENT]: (fixed) => core.isBoolean(fixed)
33
+ };
123
34
 
124
- exports["default"] = Affix;
35
+ exports.affixEmits = affixEmits;
36
+ exports.affixProps = affixProps;
125
37
  //# sourceMappingURL=affix.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"affix.js","sources":["../../../../../../packages/components/affix/src/affix.vue"],"sourcesContent":["<template>\n <div ref=\"root\" :class=\"ns.b()\" :style=\"rootStyle\">\n <div :class=\"{ [ns.m('fixed')]: fixed }\" :style=\"affixStyle\">\n <slot />\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, onMounted, ref, shallowRef, watch, watchEffect } from 'vue'\nimport {\n useElementBounding,\n useEventListener,\n useWindowSize,\n} from '@vueuse/core'\nimport { getScrollContainer, throwError } from '@element-plus/utils'\nimport { useNamespace } from '@element-plus/hooks'\nimport { affixEmits, affixProps } from './affix'\nimport type { CSSProperties } from 'vue'\n\nconst COMPONENT_NAME = 'ElAffix'\ndefineOptions({\n name: 'ElAffix',\n})\n\nconst props = defineProps(affixProps)\nconst emit = defineEmits(affixEmits)\n\nconst ns = useNamespace('affix')\n\nconst target = shallowRef<HTMLElement>()\nconst root = shallowRef<HTMLDivElement>()\nconst scrollContainer = shallowRef<HTMLElement | Window>()\nconst { height: windowHeight } = useWindowSize()\nconst {\n height: rootHeight,\n width: rootWidth,\n top: rootTop,\n bottom: rootBottom,\n update: updateRoot,\n} = useElementBounding(root)\nconst targetRect = useElementBounding(target)\n\nconst fixed = ref(false)\nconst scrollTop = ref(0)\nconst transform = ref(0)\n\nconst rootStyle = computed<CSSProperties>(() => {\n return {\n height: fixed.value ? `${rootHeight.value}px` : '',\n width: fixed.value ? `${rootWidth.value}px` : '',\n }\n})\n\nconst affixStyle = computed<CSSProperties>(() => {\n if (!fixed.value) return {}\n\n const offset = props.offset ? `${props.offset}px` : 0\n return {\n height: `${rootHeight.value}px`,\n width: `${rootWidth.value}px`,\n top: props.position === 'top' ? offset : '',\n bottom: props.position === 'bottom' ? offset : '',\n transform: transform.value ? `translateY(${transform.value}px)` : '',\n zIndex: props.zIndex,\n }\n})\n\nconst update = () => {\n if (!scrollContainer.value) return\n\n scrollTop.value =\n scrollContainer.value instanceof Window\n ? document.documentElement.scrollTop\n : scrollContainer.value.scrollTop || 0\n\n if (props.position === 'top') {\n if (props.target) {\n const difference =\n targetRect.bottom.value - props.offset - rootHeight.value\n fixed.value = props.offset > rootTop.value && targetRect.bottom.value > 0\n transform.value = difference < 0 ? difference : 0\n } else {\n fixed.value = props.offset > rootTop.value\n }\n } else if (props.target) {\n const difference =\n windowHeight.value -\n targetRect.top.value -\n props.offset -\n rootHeight.value\n fixed.value =\n windowHeight.value - props.offset < rootBottom.value &&\n windowHeight.value > targetRect.top.value\n transform.value = difference < 0 ? -difference : 0\n } else {\n fixed.value = windowHeight.value - props.offset < rootBottom.value\n }\n}\n\nconst handleScroll = () => {\n emit('scroll', {\n scrollTop: scrollTop.value,\n fixed: fixed.value,\n })\n}\n\nwatch(fixed, (val) => emit('change', val))\n\nonMounted(() => {\n if (props.target) {\n target.value =\n document.querySelector<HTMLElement>(props.target) ?? undefined\n if (!target.value)\n throwError(COMPONENT_NAME, `Target is not existed: ${props.target}`)\n } else {\n target.value = document.documentElement\n }\n scrollContainer.value = getScrollContainer(root.value!, true)\n updateRoot()\n})\n\nuseEventListener(scrollContainer, 'scroll', handleScroll)\nwatchEffect(update)\n\ndefineExpose({\n /** @description update affix status */\n update,\n /** @description update rootRect info */\n updateRoot,\n})\n</script>\n"],"names":["useNamespace","shallowRef","useWindowSize","useElementBounding","ref","computed","watch","onMounted","throwError","getScrollContainer","useEventListener","watchEffect"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAoBA,IAAA,MAAA,cAAA,GAAA,SAAA,CAAA;AAQA,IAAA,MAAA,EAAA,GAAAA,mBAAA,OAAA,CAAA,CAAA;AAEA,IAAA,MAAA,SAAAC,cAAA,EAAA,CAAA;AACA,IAAA,MAAA,OAAAA,cAAA,EAAA,CAAA;AACA,IAAA,MAAA,kBAAAA,cAAA,EAAA,CAAA;AACA,IAAA,MAAA,EAAA,MAAA,EAAA,YAAA,EAAA,GAAAC,kBAAA,EAAA,CAAA;AACA,IAAA,MAAA;AAAA,MACA,MAAA,EAAA,UAAA;AAAA,MACA,KAAA,EAAA,SAAA;AAAA,MACA,GAAA,EAAA,OAAA;AAAA,MACA,MAAA,EAAA,UAAA;AAAA,MACA,MAAA,EAAA,UAAA;AAAA,KAAA,GACAC,wBAAA,IAAA,CAAA,CAAA;AACA,IAAA,MAAA,UAAA,GAAAA,wBAAA,MAAA,CAAA,CAAA;AAEA,IAAA,MAAA,KAAA,GAAAC,QAAA,KAAA,CAAA,CAAA;AACA,IAAA,MAAA,SAAA,GAAAA,QAAA,CAAA,CAAA,CAAA;AACA,IAAA,MAAA,SAAA,GAAAA,QAAA,CAAA,CAAA,CAAA;AAEA,IAAA,MAAA,SAAA,GAAAC,aAAA,MAAA;AACA,MAAA,OAAA;AAAA,QACA,MAAA,EAAA,KAAA,CAAA,KAAA,GAAA,CAAA,EAAA,WAAA,KAAA,CAAA,EAAA,CAAA,GAAA,EAAA;AAAA,QACA,KAAA,EAAA,KAAA,CAAA,KAAA,GAAA,CAAA,EAAA,UAAA,KAAA,CAAA,EAAA,CAAA,GAAA,EAAA;AAAA,OACA,CAAA;AAAA,KACA,CAAA,CAAA;AAEA,IAAA,MAAA,UAAA,GAAAA,aAAA,MAAA;AACA,MAAA,IAAA,CAAA,KAAA,CAAA,KAAA;AAAA,QAAA,OAA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AA,CAAA,uBAAA,EAAA,KAAA,CAAA,MAAA,CAAA,CAAA,CAAA,CAAA;AACA,OAAA,MAAA;AAAA,QACA,MAAA,CAAA,KAAA,GAAA,QAAA,CAAA,eAAA,CAAA;AACA,OAAA;AACA,MAAA,eAAA,CAAA,KAAA,GAAAC,yBAAA,CAAA,IAAA,CAAA,KAAA,EAAA,IAAA,CAAA,CAAA;AAAA,MACA,UAAA,EAAA,CAAA;AAEA,KAAA,CAAA,CAAA;AACA,IAAAC,qBAAA,CAAA,eAAA,EAAA,QAAA,EAAA,YAAA,CAAA,CAAA;AAEA,IAAAC,eAAA,CAAA,MAAA,CAAA,CAAA;AAAA,IAEA,MAAA,CAAA;AAAA,MAEA,MAAA;AAAA,MACA,UAAA;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"affix.js","sources":["../../../../../../packages/components/affix/src/affix.ts"],"sourcesContent":["import {\n buildProps,\n definePropType,\n isBoolean,\n isNumber,\n} from '@element-plus/utils'\nimport { CHANGE_EVENT } from '@element-plus/constants'\nimport type { ExtractPropTypes } from 'vue'\nimport type { ZIndexProperty } from 'csstype'\nimport type Affix from './affix.vue'\n\nexport const affixProps = buildProps({\n zIndex: {\n type: definePropType<ZIndexProperty>([Number, String]),\n default: 100,\n },\n target: {\n type: String,\n default: '',\n },\n offset: {\n type: Number,\n default: 0,\n },\n position: {\n type: String,\n values: ['top', 'bottom'],\n default: 'top',\n },\n} as const)\nexport type AffixProps = ExtractPropTypes<typeof affixProps>\n\nexport const affixEmits = {\n scroll: ({ scrollTop, fixed }: { scrollTop: number; fixed: boolean }) =>\n isNumber(scrollTop) && isBoolean(fixed),\n [CHANGE_EVENT]: (fixed: boolean) => isBoolean(fixed),\n}\nexport type AffixEmits = typeof affixEmits\n\nexport type AffixInstance = InstanceType<typeof Affix>\n"],"names":["buildProps","definePropType","isNumber","isBoolean","CHANGE_EVENT"],"mappings":";;;;;;;;;;AAOY,MAAC,UAAU,GAAGA,kBAAU,CAAC;AACrC,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAEC,sBAAc,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC1C,IAAI,OAAO,EAAE,GAAG;AAChB,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC;AAC7B,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,UAAU,GAAG;AAC1B,EAAE,MAAM,EAAE,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,KAAKC,aAAQ,CAAC,SAAS,CAAC,IAAIC,cAAS,CAAC,KAAK,CAAC;AAC3E,EAAE,CAACC,kBAAY,GAAG,CAAC,KAAK,KAAKD,cAAS,CAAC,KAAK,CAAC;AAC7C;;;;;"}
@@ -2,36 +2,124 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('../../../utils/index.js');
6
- require('../../../constants/index.js');
7
- var runtime = require('../../../utils/vue/props/runtime.js');
5
+ var vue = require('vue');
8
6
  var core = require('@vueuse/core');
9
- var event = require('../../../constants/event.js');
7
+ require('../../../utils/index.js');
8
+ require('../../../hooks/index.js');
9
+ var affix = require('./affix.js');
10
+ var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
11
+ var index = require('../../../hooks/use-namespace/index.js');
12
+ var error = require('../../../utils/error.js');
13
+ var scroll = require('../../../utils/dom/scroll.js');
10
14
 
11
- const affixProps = runtime.buildProps({
12
- zIndex: {
13
- type: runtime.definePropType([Number, String]),
14
- default: 100
15
- },
16
- target: {
17
- type: String,
18
- default: ""
19
- },
20
- offset: {
21
- type: Number,
22
- default: 0
23
- },
24
- position: {
25
- type: String,
26
- values: ["top", "bottom"],
27
- default: "top"
15
+ const __default__ = {
16
+ name: "ElAffix"
17
+ };
18
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
19
+ ...__default__,
20
+ props: affix.affixProps,
21
+ emits: affix.affixEmits,
22
+ setup(__props, { expose, emit }) {
23
+ const props = __props;
24
+ const COMPONENT_NAME = "ElAffix";
25
+ const ns = index.useNamespace("affix");
26
+ const target = vue.shallowRef();
27
+ const root = vue.shallowRef();
28
+ const scrollContainer = vue.shallowRef();
29
+ const { height: windowHeight } = core.useWindowSize();
30
+ const {
31
+ height: rootHeight,
32
+ width: rootWidth,
33
+ top: rootTop,
34
+ bottom: rootBottom,
35
+ update: updateRoot
36
+ } = core.useElementBounding(root);
37
+ const targetRect = core.useElementBounding(target);
38
+ const fixed = vue.ref(false);
39
+ const scrollTop = vue.ref(0);
40
+ const transform = vue.ref(0);
41
+ const rootStyle = vue.computed(() => {
42
+ return {
43
+ height: fixed.value ? `${rootHeight.value}px` : "",
44
+ width: fixed.value ? `${rootWidth.value}px` : ""
45
+ };
46
+ });
47
+ const affixStyle = vue.computed(() => {
48
+ if (!fixed.value)
49
+ return {};
50
+ const offset = props.offset ? `${props.offset}px` : 0;
51
+ return {
52
+ height: `${rootHeight.value}px`,
53
+ width: `${rootWidth.value}px`,
54
+ top: props.position === "top" ? offset : "",
55
+ bottom: props.position === "bottom" ? offset : "",
56
+ transform: transform.value ? `translateY(${transform.value}px)` : "",
57
+ zIndex: props.zIndex
58
+ };
59
+ });
60
+ const update = () => {
61
+ if (!scrollContainer.value)
62
+ return;
63
+ scrollTop.value = scrollContainer.value instanceof Window ? document.documentElement.scrollTop : scrollContainer.value.scrollTop || 0;
64
+ if (props.position === "top") {
65
+ if (props.target) {
66
+ const difference = targetRect.bottom.value - props.offset - rootHeight.value;
67
+ fixed.value = props.offset > rootTop.value && targetRect.bottom.value > 0;
68
+ transform.value = difference < 0 ? difference : 0;
69
+ } else {
70
+ fixed.value = props.offset > rootTop.value;
71
+ }
72
+ } else if (props.target) {
73
+ const difference = windowHeight.value - targetRect.top.value - props.offset - rootHeight.value;
74
+ fixed.value = windowHeight.value - props.offset < rootBottom.value && windowHeight.value > targetRect.top.value;
75
+ transform.value = difference < 0 ? -difference : 0;
76
+ } else {
77
+ fixed.value = windowHeight.value - props.offset < rootBottom.value;
78
+ }
79
+ };
80
+ const handleScroll = () => {
81
+ emit("scroll", {
82
+ scrollTop: scrollTop.value,
83
+ fixed: fixed.value
84
+ });
85
+ };
86
+ vue.watch(fixed, (val) => emit("change", val));
87
+ vue.onMounted(() => {
88
+ var _a;
89
+ if (props.target) {
90
+ target.value = (_a = document.querySelector(props.target)) != null ? _a : void 0;
91
+ if (!target.value)
92
+ error.throwError(COMPONENT_NAME, `Target is not existed: ${props.target}`);
93
+ } else {
94
+ target.value = document.documentElement;
95
+ }
96
+ scrollContainer.value = scroll.getScrollContainer(root.value, true);
97
+ updateRoot();
98
+ });
99
+ core.useEventListener(scrollContainer, "scroll", handleScroll);
100
+ vue.watchEffect(update);
101
+ expose({
102
+ update,
103
+ updateRoot
104
+ });
105
+ return (_ctx, _cache) => {
106
+ return vue.openBlock(), vue.createElementBlock("div", {
107
+ ref_key: "root",
108
+ ref: root,
109
+ class: vue.normalizeClass(vue.unref(ns).b()),
110
+ style: vue.normalizeStyle(vue.unref(rootStyle))
111
+ }, [
112
+ vue.createElementVNode("div", {
113
+ class: vue.normalizeClass({ [vue.unref(ns).m("fixed")]: fixed.value }),
114
+ style: vue.normalizeStyle(vue.unref(affixStyle))
115
+ }, [
116
+ vue.renderSlot(_ctx.$slots, "default")
117
+ ], 6)
118
+ ], 6);
119
+ };
28
120
  }
29
121
  });
30
- const affixEmits = {
31
- scroll: ({ scrollTop, fixed }) => core.isNumber(scrollTop) && core.isBoolean(fixed),
32
- [event.CHANGE_EVENT]: (fixed) => core.isBoolean(fixed)
33
- };
122
+ var Affix = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/affix/src/affix.vue"]]);
34
123
 
35
- exports.affixEmits = affixEmits;
36
- exports.affixProps = affixProps;
124
+ exports["default"] = Affix;
37
125
  //# sourceMappingURL=affix2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"affix2.js","sources":["../../../../../../packages/components/affix/src/affix.ts"],"sourcesContent":["import {\n buildProps,\n definePropType,\n isBoolean,\n isNumber,\n} from '@element-plus/utils'\nimport { CHANGE_EVENT } from '@element-plus/constants'\nimport type { ExtractPropTypes } from 'vue'\nimport type { ZIndexProperty } from 'csstype'\nimport type Affix from './affix.vue'\n\nexport const affixProps = buildProps({\n zIndex: {\n type: definePropType<ZIndexProperty>([Number, String]),\n default: 100,\n },\n target: {\n type: String,\n default: '',\n },\n offset: {\n type: Number,\n default: 0,\n },\n position: {\n type: String,\n values: ['top', 'bottom'],\n default: 'top',\n },\n} as const)\nexport type AffixProps = ExtractPropTypes<typeof affixProps>\n\nexport const affixEmits = {\n scroll: ({ scrollTop, fixed }: { scrollTop: number; fixed: boolean }) =>\n isNumber(scrollTop) && isBoolean(fixed),\n [CHANGE_EVENT]: (fixed: boolean) => isBoolean(fixed),\n}\nexport type AffixEmits = typeof affixEmits\n\nexport type AffixInstance = InstanceType<typeof Affix>\n"],"names":["buildProps","definePropType","isNumber","isBoolean","CHANGE_EVENT"],"mappings":";;;;;;;;;;AAOY,MAAC,UAAU,GAAGA,kBAAU,CAAC;AACrC,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAEC,sBAAc,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC1C,IAAI,OAAO,EAAE,GAAG;AAChB,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC;AAC7B,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,UAAU,GAAG;AAC1B,EAAE,MAAM,EAAE,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,KAAKC,aAAQ,CAAC,SAAS,CAAC,IAAIC,cAAS,CAAC,KAAK,CAAC;AAC3E,EAAE,CAACC,kBAAY,GAAG,CAAC,KAAK,KAAKD,cAAS,CAAC,KAAK,CAAC;AAC7C;;;;;"}
1
+ {"version":3,"file":"affix2.js","sources":["../../../../../../packages/components/affix/src/affix.vue"],"sourcesContent":["<template>\n <div ref=\"root\" :class=\"ns.b()\" :style=\"rootStyle\">\n <div :class=\"{ [ns.m('fixed')]: fixed }\" :style=\"affixStyle\">\n <slot />\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, onMounted, ref, shallowRef, watch, watchEffect } from 'vue'\nimport {\n useElementBounding,\n useEventListener,\n useWindowSize,\n} from '@vueuse/core'\nimport { getScrollContainer, throwError } from '@element-plus/utils'\nimport { useNamespace } from '@element-plus/hooks'\nimport { affixEmits, affixProps } from './affix'\nimport type { CSSProperties } from 'vue'\n\nconst COMPONENT_NAME = 'ElAffix'\ndefineOptions({\n name: 'ElAffix',\n})\n\nconst props = defineProps(affixProps)\nconst emit = defineEmits(affixEmits)\n\nconst ns = useNamespace('affix')\n\nconst target = shallowRef<HTMLElement>()\nconst root = shallowRef<HTMLDivElement>()\nconst scrollContainer = shallowRef<HTMLElement | Window>()\nconst { height: windowHeight } = useWindowSize()\nconst {\n height: rootHeight,\n width: rootWidth,\n top: rootTop,\n bottom: rootBottom,\n update: updateRoot,\n} = useElementBounding(root)\nconst targetRect = useElementBounding(target)\n\nconst fixed = ref(false)\nconst scrollTop = ref(0)\nconst transform = ref(0)\n\nconst rootStyle = computed<CSSProperties>(() => {\n return {\n height: fixed.value ? `${rootHeight.value}px` : '',\n width: fixed.value ? `${rootWidth.value}px` : '',\n }\n})\n\nconst affixStyle = computed<CSSProperties>(() => {\n if (!fixed.value) return {}\n\n const offset = props.offset ? `${props.offset}px` : 0\n return {\n height: `${rootHeight.value}px`,\n width: `${rootWidth.value}px`,\n top: props.position === 'top' ? offset : '',\n bottom: props.position === 'bottom' ? offset : '',\n transform: transform.value ? `translateY(${transform.value}px)` : '',\n zIndex: props.zIndex,\n }\n})\n\nconst update = () => {\n if (!scrollContainer.value) return\n\n scrollTop.value =\n scrollContainer.value instanceof Window\n ? document.documentElement.scrollTop\n : scrollContainer.value.scrollTop || 0\n\n if (props.position === 'top') {\n if (props.target) {\n const difference =\n targetRect.bottom.value - props.offset - rootHeight.value\n fixed.value = props.offset > rootTop.value && targetRect.bottom.value > 0\n transform.value = difference < 0 ? difference : 0\n } else {\n fixed.value = props.offset > rootTop.value\n }\n } else if (props.target) {\n const difference =\n windowHeight.value -\n targetRect.top.value -\n props.offset -\n rootHeight.value\n fixed.value =\n windowHeight.value - props.offset < rootBottom.value &&\n windowHeight.value > targetRect.top.value\n transform.value = difference < 0 ? -difference : 0\n } else {\n fixed.value = windowHeight.value - props.offset < rootBottom.value\n }\n}\n\nconst handleScroll = () => {\n emit('scroll', {\n scrollTop: scrollTop.value,\n fixed: fixed.value,\n })\n}\n\nwatch(fixed, (val) => emit('change', val))\n\nonMounted(() => {\n if (props.target) {\n target.value =\n document.querySelector<HTMLElement>(props.target) ?? undefined\n if (!target.value)\n throwError(COMPONENT_NAME, `Target is not existed: ${props.target}`)\n } else {\n target.value = document.documentElement\n }\n scrollContainer.value = getScrollContainer(root.value!, true)\n updateRoot()\n})\n\nuseEventListener(scrollContainer, 'scroll', handleScroll)\nwatchEffect(update)\n\ndefineExpose({\n /** @description update affix status */\n update,\n /** @description update rootRect info */\n updateRoot,\n})\n</script>\n"],"names":["useNamespace","shallowRef","useWindowSize","useElementBounding","ref","computed","watch","onMounted","throwError","getScrollContainer","useEventListener","watchEffect"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAoBA,IAAA,MAAA,cAAA,GAAA,SAAA,CAAA;AAQA,IAAA,MAAA,EAAA,GAAAA,mBAAA,OAAA,CAAA,CAAA;AAEA,IAAA,MAAA,SAAAC,cAAA,EAAA,CAAA;AACA,IAAA,MAAA,OAAAA,cAAA,EAAA,CAAA;AACA,IAAA,MAAA,kBAAAA,cAAA,EAAA,CAAA;AACA,IAAA,MAAA,EAAA,MAAA,EAAA,YAAA,EAAA,GAAAC,kBAAA,EAAA,CAAA;AACA,IAAA,MAAA;AAAA,MACA,MAAA,EAAA,UAAA;AAAA,MACA,KAAA,EAAA,SAAA;AAAA,MACA,GAAA,EAAA,OAAA;AAAA,MACA,MAAA,EAAA,UAAA;AAAA,MACA,MAAA,EAAA,UAAA;AAAA,KAAA,GACAC,wBAAA,IAAA,CAAA,CAAA;AACA,IAAA,MAAA,UAAA,GAAAA,wBAAA,MAAA,CAAA,CAAA;AAEA,IAAA,MAAA,KAAA,GAAAC,QAAA,KAAA,CAAA,CAAA;AACA,IAAA,MAAA,SAAA,GAAAA,QAAA,CAAA,CAAA,CAAA;AACA,IAAA,MAAA,SAAA,GAAAA,QAAA,CAAA,CAAA,CAAA;AAEA,IAAA,MAAA,SAAA,GAAAC,aAAA,MAAA;AACA,MAAA,OAAA;AAAA,QACA,MAAA,EAAA,KAAA,CAAA,KAAA,GAAA,CAAA,EAAA,WAAA,KAAA,CAAA,EAAA,CAAA,GAAA,EAAA;AAAA,QACA,KAAA,EAAA,KAAA,CAAA,KAAA,GAAA,CAAA,EAAA,UAAA,KAAA,CAAA,EAAA,CAAA,GAAA,EAAA;AAAA,OACA,CAAA;AAAA,KACA,CAAA,CAAA;AAEA,IAAA,MAAA,UAAA,GAAAA,aAAA,MAAA;AACA,MAAA,IAAA,C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