@element-plus/nightly 0.0.20240505 → 0.0.20240506

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 (337) hide show
  1. package/README.md +7 -2
  2. package/dist/index.full.js +2 -2
  3. package/dist/index.full.min.js +2 -2
  4. package/dist/index.full.min.js.map +1 -1
  5. package/dist/index.full.min.mjs +2 -2
  6. package/dist/index.full.min.mjs.map +1 -1
  7. package/dist/index.full.mjs +2 -2
  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-eg.js +1 -1
  13. package/dist/locale/ar-eg.min.js +1 -1
  14. package/dist/locale/ar-eg.min.mjs +1 -1
  15. package/dist/locale/ar-eg.mjs +1 -1
  16. package/dist/locale/ar.js +1 -1
  17. package/dist/locale/ar.min.js +1 -1
  18. package/dist/locale/ar.min.mjs +1 -1
  19. package/dist/locale/ar.mjs +1 -1
  20. package/dist/locale/az.js +1 -1
  21. package/dist/locale/az.min.js +1 -1
  22. package/dist/locale/az.min.mjs +1 -1
  23. package/dist/locale/az.mjs +1 -1
  24. package/dist/locale/bg.js +1 -1
  25. package/dist/locale/bg.min.js +1 -1
  26. package/dist/locale/bg.min.mjs +1 -1
  27. package/dist/locale/bg.mjs +1 -1
  28. package/dist/locale/bn.js +1 -1
  29. package/dist/locale/bn.min.js +1 -1
  30. package/dist/locale/bn.min.mjs +1 -1
  31. package/dist/locale/bn.mjs +1 -1
  32. package/dist/locale/ca.js +1 -1
  33. package/dist/locale/ca.min.js +1 -1
  34. package/dist/locale/ca.min.mjs +1 -1
  35. package/dist/locale/ca.mjs +1 -1
  36. package/dist/locale/ckb.js +1 -1
  37. package/dist/locale/ckb.min.js +1 -1
  38. package/dist/locale/ckb.min.mjs +1 -1
  39. package/dist/locale/ckb.mjs +1 -1
  40. package/dist/locale/cs.js +1 -1
  41. package/dist/locale/cs.min.js +1 -1
  42. package/dist/locale/cs.min.mjs +1 -1
  43. package/dist/locale/cs.mjs +1 -1
  44. package/dist/locale/da.js +1 -1
  45. package/dist/locale/da.min.js +1 -1
  46. package/dist/locale/da.min.mjs +1 -1
  47. package/dist/locale/da.mjs +1 -1
  48. package/dist/locale/de.js +1 -1
  49. package/dist/locale/de.min.js +1 -1
  50. package/dist/locale/de.min.mjs +1 -1
  51. package/dist/locale/de.mjs +1 -1
  52. package/dist/locale/el.js +1 -1
  53. package/dist/locale/el.min.js +1 -1
  54. package/dist/locale/el.min.mjs +1 -1
  55. package/dist/locale/el.mjs +1 -1
  56. package/dist/locale/en.js +1 -1
  57. package/dist/locale/en.min.js +1 -1
  58. package/dist/locale/en.min.mjs +1 -1
  59. package/dist/locale/en.mjs +1 -1
  60. package/dist/locale/eo.js +1 -1
  61. package/dist/locale/eo.min.js +1 -1
  62. package/dist/locale/eo.min.mjs +1 -1
  63. package/dist/locale/eo.mjs +1 -1
  64. package/dist/locale/es.js +1 -1
  65. package/dist/locale/es.min.js +1 -1
  66. package/dist/locale/es.min.mjs +1 -1
  67. package/dist/locale/es.mjs +1 -1
  68. package/dist/locale/et.js +1 -1
  69. package/dist/locale/et.min.js +1 -1
  70. package/dist/locale/et.min.mjs +1 -1
  71. package/dist/locale/et.mjs +1 -1
  72. package/dist/locale/eu.js +1 -1
  73. package/dist/locale/eu.min.js +1 -1
  74. package/dist/locale/eu.min.mjs +1 -1
  75. package/dist/locale/eu.mjs +1 -1
  76. package/dist/locale/fa.js +1 -1
  77. package/dist/locale/fa.min.js +1 -1
  78. package/dist/locale/fa.min.mjs +1 -1
  79. package/dist/locale/fa.mjs +1 -1
  80. package/dist/locale/fi.js +1 -1
  81. package/dist/locale/fi.min.js +1 -1
  82. package/dist/locale/fi.min.mjs +1 -1
  83. package/dist/locale/fi.mjs +1 -1
  84. package/dist/locale/fr.js +1 -1
  85. package/dist/locale/fr.min.js +1 -1
  86. package/dist/locale/fr.min.mjs +1 -1
  87. package/dist/locale/fr.mjs +1 -1
  88. package/dist/locale/he.js +1 -1
  89. package/dist/locale/he.min.js +1 -1
  90. package/dist/locale/he.min.mjs +1 -1
  91. package/dist/locale/he.mjs +1 -1
  92. package/dist/locale/hr.js +1 -1
  93. package/dist/locale/hr.min.js +1 -1
  94. package/dist/locale/hr.min.mjs +1 -1
  95. package/dist/locale/hr.mjs +1 -1
  96. package/dist/locale/hu.js +1 -1
  97. package/dist/locale/hu.min.js +1 -1
  98. package/dist/locale/hu.min.mjs +1 -1
  99. package/dist/locale/hu.mjs +1 -1
  100. package/dist/locale/hy-am.js +1 -1
  101. package/dist/locale/hy-am.min.js +1 -1
  102. package/dist/locale/hy-am.min.mjs +1 -1
  103. package/dist/locale/hy-am.mjs +1 -1
  104. package/dist/locale/id.js +1 -1
  105. package/dist/locale/id.min.js +1 -1
  106. package/dist/locale/id.min.mjs +1 -1
  107. package/dist/locale/id.mjs +1 -1
  108. package/dist/locale/it.js +1 -1
  109. package/dist/locale/it.min.js +1 -1
  110. package/dist/locale/it.min.mjs +1 -1
  111. package/dist/locale/it.mjs +1 -1
  112. package/dist/locale/ja.js +1 -1
  113. package/dist/locale/ja.min.js +1 -1
  114. package/dist/locale/ja.min.mjs +1 -1
  115. package/dist/locale/ja.mjs +1 -1
  116. package/dist/locale/kk.js +1 -1
  117. package/dist/locale/kk.min.js +1 -1
  118. package/dist/locale/kk.min.mjs +1 -1
  119. package/dist/locale/kk.mjs +1 -1
  120. package/dist/locale/km.js +1 -1
  121. package/dist/locale/km.min.js +1 -1
  122. package/dist/locale/km.min.mjs +1 -1
  123. package/dist/locale/km.mjs +1 -1
  124. package/dist/locale/ko.js +1 -1
  125. package/dist/locale/ko.min.js +1 -1
  126. package/dist/locale/ko.min.mjs +1 -1
  127. package/dist/locale/ko.mjs +1 -1
  128. package/dist/locale/ku.js +1 -1
  129. package/dist/locale/ku.min.js +1 -1
  130. package/dist/locale/ku.min.mjs +1 -1
  131. package/dist/locale/ku.mjs +1 -1
  132. package/dist/locale/ky.js +1 -1
  133. package/dist/locale/ky.min.js +1 -1
  134. package/dist/locale/ky.min.mjs +1 -1
  135. package/dist/locale/ky.mjs +1 -1
  136. package/dist/locale/lt.js +1 -1
  137. package/dist/locale/lt.min.js +1 -1
  138. package/dist/locale/lt.min.mjs +1 -1
  139. package/dist/locale/lt.mjs +1 -1
  140. package/dist/locale/lv.js +1 -1
  141. package/dist/locale/lv.min.js +1 -1
  142. package/dist/locale/lv.min.mjs +1 -1
  143. package/dist/locale/lv.mjs +1 -1
  144. package/dist/locale/mg.js +1 -1
  145. package/dist/locale/mg.min.js +1 -1
  146. package/dist/locale/mg.min.mjs +1 -1
  147. package/dist/locale/mg.mjs +1 -1
  148. package/dist/locale/mn.js +1 -1
  149. package/dist/locale/mn.min.js +1 -1
  150. package/dist/locale/mn.min.mjs +1 -1
  151. package/dist/locale/mn.mjs +1 -1
  152. package/dist/locale/nb-no.js +1 -1
  153. package/dist/locale/nb-no.min.js +1 -1
  154. package/dist/locale/nb-no.min.mjs +1 -1
  155. package/dist/locale/nb-no.mjs +1 -1
  156. package/dist/locale/nl.js +1 -1
  157. package/dist/locale/nl.min.js +1 -1
  158. package/dist/locale/nl.min.mjs +1 -1
  159. package/dist/locale/nl.mjs +1 -1
  160. package/dist/locale/pa.js +1 -1
  161. package/dist/locale/pa.min.js +1 -1
  162. package/dist/locale/pa.min.mjs +1 -1
  163. package/dist/locale/pa.mjs +1 -1
  164. package/dist/locale/pl.js +1 -1
  165. package/dist/locale/pl.min.js +1 -1
  166. package/dist/locale/pl.min.mjs +1 -1
  167. package/dist/locale/pl.mjs +1 -1
  168. package/dist/locale/pt-br.js +1 -1
  169. package/dist/locale/pt-br.min.js +1 -1
  170. package/dist/locale/pt-br.min.mjs +1 -1
  171. package/dist/locale/pt-br.mjs +1 -1
  172. package/dist/locale/pt.js +1 -1
  173. package/dist/locale/pt.min.js +1 -1
  174. package/dist/locale/pt.min.mjs +1 -1
  175. package/dist/locale/pt.mjs +1 -1
  176. package/dist/locale/ro.js +1 -1
  177. package/dist/locale/ro.min.js +1 -1
  178. package/dist/locale/ro.min.mjs +1 -1
  179. package/dist/locale/ro.mjs +1 -1
  180. package/dist/locale/ru.js +1 -1
  181. package/dist/locale/ru.min.js +1 -1
  182. package/dist/locale/ru.min.mjs +1 -1
  183. package/dist/locale/ru.mjs +1 -1
  184. package/dist/locale/sk.js +1 -1
  185. package/dist/locale/sk.min.js +1 -1
  186. package/dist/locale/sk.min.mjs +1 -1
  187. package/dist/locale/sk.mjs +1 -1
  188. package/dist/locale/sl.js +1 -1
  189. package/dist/locale/sl.min.js +1 -1
  190. package/dist/locale/sl.min.mjs +1 -1
  191. package/dist/locale/sl.mjs +1 -1
  192. package/dist/locale/sr.js +1 -1
  193. package/dist/locale/sr.min.js +1 -1
  194. package/dist/locale/sr.min.mjs +1 -1
  195. package/dist/locale/sr.mjs +1 -1
  196. package/dist/locale/sv.js +1 -1
  197. package/dist/locale/sv.min.js +1 -1
  198. package/dist/locale/sv.min.mjs +1 -1
  199. package/dist/locale/sv.mjs +1 -1
  200. package/dist/locale/sw.js +1 -1
  201. package/dist/locale/sw.min.js +1 -1
  202. package/dist/locale/sw.min.mjs +1 -1
  203. package/dist/locale/sw.mjs +1 -1
  204. package/dist/locale/ta.js +1 -1
  205. package/dist/locale/ta.min.js +1 -1
  206. package/dist/locale/ta.min.mjs +1 -1
  207. package/dist/locale/ta.mjs +1 -1
  208. package/dist/locale/th.js +1 -1
  209. package/dist/locale/th.min.js +1 -1
  210. package/dist/locale/th.min.mjs +1 -1
  211. package/dist/locale/th.mjs +1 -1
  212. package/dist/locale/tk.js +1 -1
  213. package/dist/locale/tk.min.js +1 -1
  214. package/dist/locale/tk.min.mjs +1 -1
  215. package/dist/locale/tk.mjs +1 -1
  216. package/dist/locale/tr.js +1 -1
  217. package/dist/locale/tr.min.js +1 -1
  218. package/dist/locale/tr.min.mjs +1 -1
  219. package/dist/locale/tr.mjs +1 -1
  220. package/dist/locale/ug-cn.js +1 -1
  221. package/dist/locale/ug-cn.min.js +1 -1
  222. package/dist/locale/ug-cn.min.mjs +1 -1
  223. package/dist/locale/ug-cn.mjs +1 -1
  224. package/dist/locale/uk.js +1 -1
  225. package/dist/locale/uk.min.js +1 -1
  226. package/dist/locale/uk.min.mjs +1 -1
  227. package/dist/locale/uk.mjs +1 -1
  228. package/dist/locale/uz-uz.js +1 -1
  229. package/dist/locale/uz-uz.min.js +1 -1
  230. package/dist/locale/uz-uz.min.mjs +1 -1
  231. package/dist/locale/uz-uz.mjs +1 -1
  232. package/dist/locale/vi.js +1 -1
  233. package/dist/locale/vi.min.js +1 -1
  234. package/dist/locale/vi.min.mjs +1 -1
  235. package/dist/locale/vi.mjs +1 -1
  236. package/dist/locale/zh-cn.js +1 -1
  237. package/dist/locale/zh-cn.min.js +1 -1
  238. package/dist/locale/zh-cn.min.mjs +1 -1
  239. package/dist/locale/zh-cn.mjs +1 -1
  240. package/dist/locale/zh-tw.js +1 -1
  241. package/dist/locale/zh-tw.min.js +1 -1
  242. package/dist/locale/zh-tw.min.mjs +1 -1
  243. package/dist/locale/zh-tw.mjs +1 -1
  244. package/es/components/anchor/index.mjs +2 -2
  245. package/es/components/anchor/src/anchor.mjs +38 -193
  246. package/es/components/anchor/src/anchor.mjs.map +1 -1
  247. package/es/components/anchor/src/anchor2.mjs +193 -38
  248. package/es/components/anchor/src/anchor2.mjs.map +1 -1
  249. package/es/components/divider/index.mjs +2 -2
  250. package/es/components/divider/src/divider.mjs +35 -17
  251. package/es/components/divider/src/divider.mjs.map +1 -1
  252. package/es/components/divider/src/divider2.mjs +17 -35
  253. package/es/components/divider/src/divider2.mjs.map +1 -1
  254. package/es/components/index.mjs +8 -8
  255. package/es/components/popper/index.mjs +2 -2
  256. package/es/components/popper/src/popper.mjs +25 -32
  257. package/es/components/popper/src/popper.mjs.map +1 -1
  258. package/es/components/popper/src/popper2.mjs +32 -25
  259. package/es/components/popper/src/popper2.mjs.map +1 -1
  260. package/es/components/progress/index.mjs +2 -2
  261. package/es/components/progress/src/progress.mjs +59 -205
  262. package/es/components/progress/src/progress.mjs.map +1 -1
  263. package/es/components/progress/src/progress2.mjs +205 -59
  264. package/es/components/progress/src/progress2.mjs.map +1 -1
  265. package/es/components/skeleton/index.mjs +4 -4
  266. package/es/components/skeleton/src/skeleton-item.mjs +23 -18
  267. package/es/components/skeleton/src/skeleton-item.mjs.map +1 -1
  268. package/es/components/skeleton/src/skeleton-item2.mjs +18 -23
  269. package/es/components/skeleton/src/skeleton-item2.mjs.map +1 -1
  270. package/es/components/skeleton/src/skeleton.mjs +49 -22
  271. package/es/components/skeleton/src/skeleton.mjs.map +1 -1
  272. package/es/components/skeleton/src/skeleton2.mjs +22 -49
  273. package/es/components/skeleton/src/skeleton2.mjs.map +1 -1
  274. package/es/components/steps/index.mjs +2 -2
  275. package/es/components/steps/src/steps.mjs +36 -39
  276. package/es/components/steps/src/steps.mjs.map +1 -1
  277. package/es/components/steps/src/steps2.mjs +39 -36
  278. package/es/components/steps/src/steps2.mjs.map +1 -1
  279. package/es/components/tooltip/src/tooltip.mjs +1 -1
  280. package/es/components/upload/index.mjs +1 -1
  281. package/es/components/upload/src/upload-content2.mjs +1 -1
  282. package/es/components/upload/src/upload-dragger.mjs +11 -50
  283. package/es/components/upload/src/upload-dragger.mjs.map +1 -1
  284. package/es/components/upload/src/upload-dragger2.mjs +50 -11
  285. package/es/components/upload/src/upload-dragger2.mjs.map +1 -1
  286. package/es/index.mjs +8 -8
  287. package/es/version.d.ts +1 -1
  288. package/es/version.mjs +1 -1
  289. package/es/version.mjs.map +1 -1
  290. package/lib/components/anchor/index.js +2 -2
  291. package/lib/components/anchor/src/anchor.js +38 -192
  292. package/lib/components/anchor/src/anchor.js.map +1 -1
  293. package/lib/components/anchor/src/anchor2.js +192 -38
  294. package/lib/components/anchor/src/anchor2.js.map +1 -1
  295. package/lib/components/divider/index.js +2 -2
  296. package/lib/components/divider/src/divider.js +35 -17
  297. package/lib/components/divider/src/divider.js.map +1 -1
  298. package/lib/components/divider/src/divider2.js +17 -35
  299. package/lib/components/divider/src/divider2.js.map +1 -1
  300. package/lib/components/index.js +8 -8
  301. package/lib/components/popper/index.js +2 -2
  302. package/lib/components/popper/src/popper.js +28 -32
  303. package/lib/components/popper/src/popper.js.map +1 -1
  304. package/lib/components/popper/src/popper2.js +32 -28
  305. package/lib/components/popper/src/popper2.js.map +1 -1
  306. package/lib/components/progress/index.js +2 -2
  307. package/lib/components/progress/src/progress.js +59 -205
  308. package/lib/components/progress/src/progress.js.map +1 -1
  309. package/lib/components/progress/src/progress2.js +205 -59
  310. package/lib/components/progress/src/progress2.js.map +1 -1
  311. package/lib/components/skeleton/index.js +4 -4
  312. package/lib/components/skeleton/src/skeleton-item.js +23 -18
  313. package/lib/components/skeleton/src/skeleton-item.js.map +1 -1
  314. package/lib/components/skeleton/src/skeleton-item2.js +18 -23
  315. package/lib/components/skeleton/src/skeleton-item2.js.map +1 -1
  316. package/lib/components/skeleton/src/skeleton.js +49 -22
  317. package/lib/components/skeleton/src/skeleton.js.map +1 -1
  318. package/lib/components/skeleton/src/skeleton2.js +22 -49
  319. package/lib/components/skeleton/src/skeleton2.js.map +1 -1
  320. package/lib/components/steps/index.js +2 -2
  321. package/lib/components/steps/src/steps.js +37 -39
  322. package/lib/components/steps/src/steps.js.map +1 -1
  323. package/lib/components/steps/src/steps2.js +39 -37
  324. package/lib/components/steps/src/steps2.js.map +1 -1
  325. package/lib/components/tooltip/src/tooltip.js +1 -1
  326. package/lib/components/upload/index.js +1 -1
  327. package/lib/components/upload/src/upload-content2.js +1 -1
  328. package/lib/components/upload/src/upload-dragger.js +12 -50
  329. package/lib/components/upload/src/upload-dragger.js.map +1 -1
  330. package/lib/components/upload/src/upload-dragger2.js +50 -12
  331. package/lib/components/upload/src/upload-dragger2.js.map +1 -1
  332. package/lib/index.js +8 -8
  333. package/lib/version.d.ts +1 -1
  334. package/lib/version.js +1 -1
  335. package/lib/version.js.map +1 -1
  336. package/package.json +2 -2
  337. package/web-types.json +1 -1
@@ -1,54 +1,27 @@
1
- import { defineComponent, toRef, unref, openBlock, createElementBlock, mergeProps, Fragment, renderList, renderSlot, createVNode, normalizeClass, createBlock, createCommentVNode, normalizeProps } from 'vue';
2
- import '../../../hooks/index.mjs';
3
- import { skeletonProps } from './skeleton.mjs';
4
- import SkeletonItem from './skeleton-item2.mjs';
5
- import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
6
- import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
7
- import { useThrottleRender } from '../../../hooks/use-throttle-render/index.mjs';
1
+ import '../../../utils/index.mjs';
2
+ import { buildProps } from '../../../utils/vue/props/runtime.mjs';
8
3
 
9
- const __default__ = defineComponent({
10
- name: "ElSkeleton"
11
- });
12
- const _sfc_main = /* @__PURE__ */ defineComponent({
13
- ...__default__,
14
- props: skeletonProps,
15
- setup(__props, { expose }) {
16
- const props = __props;
17
- const ns = useNamespace("skeleton");
18
- const uiLoading = useThrottleRender(toRef(props, "loading"), props.throttle);
19
- expose({
20
- uiLoading
21
- });
22
- return (_ctx, _cache) => {
23
- return unref(uiLoading) ? (openBlock(), createElementBlock("div", mergeProps({
24
- key: 0,
25
- class: [unref(ns).b(), unref(ns).is("animated", _ctx.animated)]
26
- }, _ctx.$attrs), [
27
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.count, (i) => {
28
- return openBlock(), createElementBlock(Fragment, { key: i }, [
29
- _ctx.loading ? renderSlot(_ctx.$slots, "template", { key: i }, () => [
30
- createVNode(SkeletonItem, {
31
- class: normalizeClass(unref(ns).is("first")),
32
- variant: "p"
33
- }, null, 8, ["class"]),
34
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.rows, (item) => {
35
- return openBlock(), createBlock(SkeletonItem, {
36
- key: item,
37
- class: normalizeClass([
38
- unref(ns).e("paragraph"),
39
- unref(ns).is("last", item === _ctx.rows && _ctx.rows > 1)
40
- ]),
41
- variant: "p"
42
- }, null, 8, ["class"]);
43
- }), 128))
44
- ]) : createCommentVNode("v-if", true)
45
- ], 64);
46
- }), 128))
47
- ], 16)) : renderSlot(_ctx.$slots, "default", normalizeProps(mergeProps({ key: 1 }, _ctx.$attrs)));
48
- };
4
+ const skeletonProps = buildProps({
5
+ animated: {
6
+ type: Boolean,
7
+ default: false
8
+ },
9
+ count: {
10
+ type: Number,
11
+ default: 1
12
+ },
13
+ rows: {
14
+ type: Number,
15
+ default: 3
16
+ },
17
+ loading: {
18
+ type: Boolean,
19
+ default: true
20
+ },
21
+ throttle: {
22
+ type: Number
49
23
  }
50
24
  });
51
- var Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "skeleton.vue"]]);
52
25
 
53
- export { Skeleton as default };
26
+ export { skeletonProps };
54
27
  //# sourceMappingURL=skeleton2.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"skeleton2.mjs","sources":["../../../../../../packages/components/skeleton/src/skeleton.vue"],"sourcesContent":["<template>\n <template v-if=\"uiLoading\">\n <div :class=\"[ns.b(), ns.is('animated', animated)]\" v-bind=\"$attrs\">\n <template v-for=\"i in count\" :key=\"i\">\n <slot v-if=\"loading\" :key=\"i\" name=\"template\">\n <el-skeleton-item :class=\"ns.is('first')\" variant=\"p\" />\n <el-skeleton-item\n v-for=\"item in rows\"\n :key=\"item\"\n :class=\"[\n ns.e('paragraph'),\n ns.is('last', item === rows && rows > 1),\n ]\"\n variant=\"p\"\n />\n </slot>\n </template>\n </div>\n </template>\n <template v-else>\n <slot v-bind=\"$attrs\" />\n </template>\n</template>\n\n<script lang=\"ts\" setup>\nimport { toRef } from 'vue'\nimport { useNamespace, useThrottleRender } from '@element-plus/hooks'\nimport { skeletonProps } from './skeleton'\nimport ElSkeletonItem from './skeleton-item.vue'\n\ndefineOptions({\n name: 'ElSkeleton',\n})\nconst props = defineProps(skeletonProps)\n\nconst ns = useNamespace('skeleton')\nconst uiLoading = useThrottleRender(toRef(props, 'loading'), props.throttle)\n\ndefineExpose({\n /** @description loading state */\n uiLoading,\n})\n</script>\n"],"names":[],"mappings":";;;;;;;;mCA8Bc,CAAA;AAAA,EACZ,IAAM,EAAA,YAAA;AACR,CAAA,CAAA,CAAA;;;;;;AAGA,IAAM,MAAA,EAAA,GAAK,aAAa,UAAU,CAAA,CAAA;AAClC,IAAA,MAAM,YAAY,iBAAkB,CAAA,KAAA,CAAM,OAAO,SAAS,CAAA,EAAG,MAAM,QAAQ,CAAA,CAAA;AAE3E,IAAa,MAAA,CAAA;AAAA,MAEX,SAAA;AAAA,KACD,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"skeleton2.mjs","sources":["../../../../../../packages/components/skeleton/src/skeleton.ts"],"sourcesContent":["import { buildProps } from '@element-plus/utils'\nimport type Skeleton from './skeleton.vue'\nimport type { ExtractPropTypes } from 'vue'\n\nexport const skeletonProps = buildProps({\n /**\n * @description whether showing the animation\n */\n animated: {\n type: Boolean,\n default: false,\n },\n /**\n * @description how many fake items to render to the DOM\n */\n count: {\n type: Number,\n default: 1,\n },\n /**\n * @description whether showing the real DOM\n */\n rows: {\n type: Number,\n default: 3,\n },\n /**\n * @description numbers of the row, only useful when no template slot were given\n */\n loading: {\n type: Boolean,\n default: true,\n },\n /**\n * @description rendering delay in milliseconds\n */\n throttle: {\n type: Number,\n },\n} as const)\nexport type SkeletonProps = ExtractPropTypes<typeof skeletonProps>\n\nexport type SkeletonInstance = InstanceType<typeof Skeleton>\n"],"names":[],"mappings":";;;AACY,MAAC,aAAa,GAAG,UAAU,CAAC;AACxC,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,OAAO,EAAE;AACX,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,MAAM;AAChB,GAAG;AACH,CAAC;;;;"}
@@ -1,8 +1,8 @@
1
1
  import '../../utils/index.mjs';
2
- import Steps from './src/steps.mjs';
2
+ import Steps from './src/steps2.mjs';
3
3
  import Step from './src/item2.mjs';
4
4
  export { stepProps } from './src/item.mjs';
5
- export { stepsEmits, stepsProps } from './src/steps2.mjs';
5
+ export { stepsEmits, stepsProps } from './src/steps.mjs';
6
6
  import { withInstall, withNoopInstall } from '../../utils/vue/install.mjs';
7
7
 
8
8
  const ElSteps = withInstall(Steps, {
@@ -1,46 +1,43 @@
1
- import { defineComponent, getCurrentInstance, watch, provide, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from 'vue';
2
1
  import '../../../constants/index.mjs';
3
- import '../../../hooks/index.mjs';
4
- import { stepsProps, stepsEmits } from './steps2.mjs';
5
- import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
6
- import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
7
- import { useOrderedChildren } from '../../../hooks/use-ordered-children/index.mjs';
2
+ import '../../../utils/index.mjs';
3
+ import { buildProps } from '../../../utils/vue/props/runtime.mjs';
8
4
  import { CHANGE_EVENT } from '../../../constants/event.mjs';
5
+ import { isNumber } from '../../../utils/types.mjs';
9
6
 
10
- const __default__ = defineComponent({
11
- name: "ElSteps"
12
- });
13
- const _sfc_main = /* @__PURE__ */ defineComponent({
14
- ...__default__,
15
- props: stepsProps,
16
- emits: stepsEmits,
17
- setup(__props, { emit }) {
18
- const props = __props;
19
- const ns = useNamespace("steps");
20
- const {
21
- children: steps,
22
- addChild: addStep,
23
- removeChild: removeStep
24
- } = useOrderedChildren(getCurrentInstance(), "ElStep");
25
- watch(steps, () => {
26
- steps.value.forEach((instance, index) => {
27
- instance.setIndex(index);
28
- });
29
- });
30
- provide("ElSteps", { props, steps, addStep, removeStep });
31
- watch(() => props.active, (newVal, oldVal) => {
32
- emit(CHANGE_EVENT, newVal, oldVal);
33
- });
34
- return (_ctx, _cache) => {
35
- return openBlock(), createElementBlock("div", {
36
- class: normalizeClass([unref(ns).b(), unref(ns).m(_ctx.simple ? "simple" : _ctx.direction)])
37
- }, [
38
- renderSlot(_ctx.$slots, "default")
39
- ], 2);
40
- };
7
+ const stepsProps = buildProps({
8
+ space: {
9
+ type: [Number, String],
10
+ default: ""
11
+ },
12
+ active: {
13
+ type: Number,
14
+ default: 0
15
+ },
16
+ direction: {
17
+ type: String,
18
+ default: "horizontal",
19
+ values: ["horizontal", "vertical"]
20
+ },
21
+ alignCenter: {
22
+ type: Boolean
23
+ },
24
+ simple: {
25
+ type: Boolean
26
+ },
27
+ finishStatus: {
28
+ type: String,
29
+ values: ["wait", "process", "finish", "error", "success"],
30
+ default: "finish"
31
+ },
32
+ processStatus: {
33
+ type: String,
34
+ values: ["wait", "process", "finish", "error", "success"],
35
+ default: "process"
41
36
  }
42
37
  });
43
- var Steps = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "steps.vue"]]);
38
+ const stepsEmits = {
39
+ [CHANGE_EVENT]: (newVal, oldVal) => [newVal, oldVal].every(isNumber)
40
+ };
44
41
 
45
- export { Steps as default };
42
+ export { stepsEmits, stepsProps };
46
43
  //# sourceMappingURL=steps.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"steps.mjs","sources":["../../../../../../packages/components/steps/src/steps.vue"],"sourcesContent":["<template>\n <div :class=\"[ns.b(), ns.m(simple ? 'simple' : direction)]\">\n <slot />\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { getCurrentInstance, provide, watch } from 'vue'\nimport { CHANGE_EVENT } from '@element-plus/constants'\nimport { useNamespace, useOrderedChildren } from '@element-plus/hooks'\nimport { stepsEmits, stepsProps } from './steps'\n\nimport type { StepItemState } from './item.vue'\n\ndefineOptions({\n name: 'ElSteps',\n})\n\nconst props = defineProps(stepsProps)\nconst emit = defineEmits(stepsEmits)\n\nconst ns = useNamespace('steps')\nconst {\n children: steps,\n addChild: addStep,\n removeChild: removeStep,\n} = useOrderedChildren<StepItemState>(getCurrentInstance()!, 'ElStep')\n\nwatch(steps, () => {\n steps.value.forEach((instance: StepItemState, index: number) => {\n instance.setIndex(index)\n })\n})\n\nprovide('ElSteps', { props, steps, addStep, removeStep })\n\nwatch(\n () => props.active,\n (newVal: number, oldVal: number) => {\n emit(CHANGE_EVENT, newVal, oldVal)\n }\n)\n</script>\n"],"names":[],"mappings":";;;;;;;;;mCAcc,CAAA;AAAA,EACZ,IAAM,EAAA,SAAA;AACR,CAAA,CAAA,CAAA;;;;;;;AAKA,IAAM,MAAA,EAAA,GAAK,aAAa,OAAO,CAAA,CAAA;AAC/B,IAAM,MAAA;AAAA,MACJ,QAAU,EAAA,KAAA;AAAA,MACV,QAAU,EAAA,OAAA;AAAA,MACV,WAAa,EAAA,UAAA;AAAA,KACX,GAAA,kBAAA,CAAkC,kBAAmB,EAAA,EAAI,QAAQ,CAAA,CAAA;AAErE,IAAA,KAAA,CAAM,OAAO,MAAM;AACjB,MAAA,KAAA,CAAM,KAAM,CAAA,OAAA,CAAQ,CAAC,QAAA,EAAyB,KAAkB,KAAA;AAC9D,QAAA,QAAA,CAAS,SAAS,KAAK,CAAA,CAAA;AAAA,OACxB,CAAA,CAAA;AAAA,KACF,CAAA,CAAA;AAED,IAAA,OAAA,CAAQ,WAAW,EAAE,KAAA,EAAO,KAAO,EAAA,OAAA,EAAS,YAAY,CAAA,CAAA;AAExD,IAAA,KAAA,CACE,MAAM,KAAA,CAAM,MACZ,EAAA,CAAC,QAAgB,MAAmB,KAAA;AAClC,MAAK,IAAA,CAAA,YAAA,EAAc,QAAQ,MAAM,CAAA,CAAA;AAAA,KAErC,CAAA,CAAA;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"steps.mjs","sources":["../../../../../../packages/components/steps/src/steps.ts"],"sourcesContent":["import { CHANGE_EVENT } from '@element-plus/constants'\nimport { buildProps, isNumber } from '@element-plus/utils'\nimport type Steps from './steps.vue'\nimport type { ExtractPropTypes } from 'vue'\n\nexport const stepsProps = buildProps({\n /**\n * @description the spacing of each step, will be responsive if omitted. Supports percentage.\n */\n space: {\n type: [Number, String],\n default: '',\n },\n /**\n * @description current activation step\n */\n active: {\n type: Number,\n default: 0,\n },\n /**\n * @description display direction\n */\n direction: {\n type: String,\n default: 'horizontal',\n values: ['horizontal', 'vertical'],\n },\n /**\n * @description center title and description\n */\n alignCenter: {\n type: Boolean,\n },\n /**\n * @description whether to apply simple theme\n */\n simple: {\n type: Boolean,\n },\n /**\n * @description status of end step\n */\n finishStatus: {\n type: String,\n values: ['wait', 'process', 'finish', 'error', 'success'],\n default: 'finish',\n },\n /**\n * @description status of current step\n */\n processStatus: {\n type: String,\n values: ['wait', 'process', 'finish', 'error', 'success'],\n default: 'process',\n },\n} as const)\nexport type StepsProps = ExtractPropTypes<typeof stepsProps>\n\nexport const stepsEmits = {\n [CHANGE_EVENT]: (newVal: number, oldVal: number) =>\n [newVal, oldVal].every(isNumber),\n}\nexport type StepsEmits = typeof stepsEmits\n\nexport type StepsInstance = InstanceType<typeof Steps>\n"],"names":[],"mappings":";;;;;;AAEY,MAAC,UAAU,GAAG,UAAU,CAAC;AACrC,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;AAC1B,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,YAAY;AACzB,IAAI,MAAM,EAAE,CAAC,YAAY,EAAE,UAAU,CAAC;AACtC,GAAG;AACH,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,OAAO;AACjB,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,OAAO;AACjB,GAAG;AACH,EAAE,YAAY,EAAE;AAChB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,CAAC;AAC7D,IAAI,OAAO,EAAE,QAAQ;AACrB,GAAG;AACH,EAAE,aAAa,EAAE;AACjB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,CAAC;AAC7D,IAAI,OAAO,EAAE,SAAS;AACtB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,UAAU,GAAG;AAC1B,EAAE,CAAC,YAAY,GAAG,CAAC,MAAM,EAAE,MAAM,KAAK,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC;AACtE;;;;"}
@@ -1,43 +1,46 @@
1
+ import { defineComponent, getCurrentInstance, watch, provide, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from 'vue';
1
2
  import '../../../constants/index.mjs';
2
- import '../../../utils/index.mjs';
3
- import { buildProps } from '../../../utils/vue/props/runtime.mjs';
3
+ import '../../../hooks/index.mjs';
4
+ import { stepsProps, stepsEmits } from './steps.mjs';
5
+ import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
6
+ import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
7
+ import { useOrderedChildren } from '../../../hooks/use-ordered-children/index.mjs';
4
8
  import { CHANGE_EVENT } from '../../../constants/event.mjs';
5
- import { isNumber } from '../../../utils/types.mjs';
6
9
 
7
- const stepsProps = buildProps({
8
- space: {
9
- type: [Number, String],
10
- default: ""
11
- },
12
- active: {
13
- type: Number,
14
- default: 0
15
- },
16
- direction: {
17
- type: String,
18
- default: "horizontal",
19
- values: ["horizontal", "vertical"]
20
- },
21
- alignCenter: {
22
- type: Boolean
23
- },
24
- simple: {
25
- type: Boolean
26
- },
27
- finishStatus: {
28
- type: String,
29
- values: ["wait", "process", "finish", "error", "success"],
30
- default: "finish"
31
- },
32
- processStatus: {
33
- type: String,
34
- values: ["wait", "process", "finish", "error", "success"],
35
- default: "process"
10
+ const __default__ = defineComponent({
11
+ name: "ElSteps"
12
+ });
13
+ const _sfc_main = /* @__PURE__ */ defineComponent({
14
+ ...__default__,
15
+ props: stepsProps,
16
+ emits: stepsEmits,
17
+ setup(__props, { emit }) {
18
+ const props = __props;
19
+ const ns = useNamespace("steps");
20
+ const {
21
+ children: steps,
22
+ addChild: addStep,
23
+ removeChild: removeStep
24
+ } = useOrderedChildren(getCurrentInstance(), "ElStep");
25
+ watch(steps, () => {
26
+ steps.value.forEach((instance, index) => {
27
+ instance.setIndex(index);
28
+ });
29
+ });
30
+ provide("ElSteps", { props, steps, addStep, removeStep });
31
+ watch(() => props.active, (newVal, oldVal) => {
32
+ emit(CHANGE_EVENT, newVal, oldVal);
33
+ });
34
+ return (_ctx, _cache) => {
35
+ return openBlock(), createElementBlock("div", {
36
+ class: normalizeClass([unref(ns).b(), unref(ns).m(_ctx.simple ? "simple" : _ctx.direction)])
37
+ }, [
38
+ renderSlot(_ctx.$slots, "default")
39
+ ], 2);
40
+ };
36
41
  }
37
42
  });
38
- const stepsEmits = {
39
- [CHANGE_EVENT]: (newVal, oldVal) => [newVal, oldVal].every(isNumber)
40
- };
43
+ var Steps = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "steps.vue"]]);
41
44
 
42
- export { stepsEmits, stepsProps };
45
+ export { Steps as default };
43
46
  //# sourceMappingURL=steps2.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"steps2.mjs","sources":["../../../../../../packages/components/steps/src/steps.ts"],"sourcesContent":["import { CHANGE_EVENT } from '@element-plus/constants'\nimport { buildProps, isNumber } from '@element-plus/utils'\nimport type Steps from './steps.vue'\nimport type { ExtractPropTypes } from 'vue'\n\nexport const stepsProps = buildProps({\n /**\n * @description the spacing of each step, will be responsive if omitted. Supports percentage.\n */\n space: {\n type: [Number, String],\n default: '',\n },\n /**\n * @description current activation step\n */\n active: {\n type: Number,\n default: 0,\n },\n /**\n * @description display direction\n */\n direction: {\n type: String,\n default: 'horizontal',\n values: ['horizontal', 'vertical'],\n },\n /**\n * @description center title and description\n */\n alignCenter: {\n type: Boolean,\n },\n /**\n * @description whether to apply simple theme\n */\n simple: {\n type: Boolean,\n },\n /**\n * @description status of end step\n */\n finishStatus: {\n type: String,\n values: ['wait', 'process', 'finish', 'error', 'success'],\n default: 'finish',\n },\n /**\n * @description status of current step\n */\n processStatus: {\n type: String,\n values: ['wait', 'process', 'finish', 'error', 'success'],\n default: 'process',\n },\n} as const)\nexport type StepsProps = ExtractPropTypes<typeof stepsProps>\n\nexport const stepsEmits = {\n [CHANGE_EVENT]: (newVal: number, oldVal: number) =>\n [newVal, oldVal].every(isNumber),\n}\nexport type StepsEmits = typeof stepsEmits\n\nexport type StepsInstance = InstanceType<typeof Steps>\n"],"names":[],"mappings":";;;;;;AAEY,MAAC,UAAU,GAAG,UAAU,CAAC;AACrC,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;AAC1B,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,YAAY;AACzB,IAAI,MAAM,EAAE,CAAC,YAAY,EAAE,UAAU,CAAC;AACtC,GAAG;AACH,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,OAAO;AACjB,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,OAAO;AACjB,GAAG;AACH,EAAE,YAAY,EAAE;AAChB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,CAAC;AAC7D,IAAI,OAAO,EAAE,QAAQ;AACrB,GAAG;AACH,EAAE,aAAa,EAAE;AACjB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,CAAC;AAC7D,IAAI,OAAO,EAAE,SAAS;AACtB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,UAAU,GAAG;AAC1B,EAAE,CAAC,YAAY,GAAG,CAAC,MAAM,EAAE,MAAM,KAAK,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC;AACtE;;;;"}
1
+ {"version":3,"file":"steps2.mjs","sources":["../../../../../../packages/components/steps/src/steps.vue"],"sourcesContent":["<template>\n <div :class=\"[ns.b(), ns.m(simple ? 'simple' : direction)]\">\n <slot />\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { getCurrentInstance, provide, watch } from 'vue'\nimport { CHANGE_EVENT } from '@element-plus/constants'\nimport { useNamespace, useOrderedChildren } from '@element-plus/hooks'\nimport { stepsEmits, stepsProps } from './steps'\n\nimport type { StepItemState } from './item.vue'\n\ndefineOptions({\n name: 'ElSteps',\n})\n\nconst props = defineProps(stepsProps)\nconst emit = defineEmits(stepsEmits)\n\nconst ns = useNamespace('steps')\nconst {\n children: steps,\n addChild: addStep,\n removeChild: removeStep,\n} = useOrderedChildren<StepItemState>(getCurrentInstance()!, 'ElStep')\n\nwatch(steps, () => {\n steps.value.forEach((instance: StepItemState, index: number) => {\n instance.setIndex(index)\n })\n})\n\nprovide('ElSteps', { props, steps, addStep, removeStep })\n\nwatch(\n () => props.active,\n (newVal: number, oldVal: number) => {\n emit(CHANGE_EVENT, newVal, oldVal)\n }\n)\n</script>\n"],"names":[],"mappings":";;;;;;;;;mCAcc,CAAA;AAAA,EACZ,IAAM,EAAA,SAAA;AACR,CAAA,CAAA,CAAA;;;;;;;AAKA,IAAM,MAAA,EAAA,GAAK,aAAa,OAAO,CAAA,CAAA;AAC/B,IAAM,MAAA;AAAA,MACJ,QAAU,EAAA,KAAA;AAAA,MACV,QAAU,EAAA,OAAA;AAAA,MACV,WAAa,EAAA,UAAA;AAAA,KACX,GAAA,kBAAA,CAAkC,kBAAmB,EAAA,EAAI,QAAQ,CAAA,CAAA;AAErE,IAAA,KAAA,CAAM,OAAO,MAAM;AACjB,MAAA,KAAA,CAAM,KAAM,CAAA,OAAA,CAAQ,CAAC,QAAA,EAAyB,KAAkB,KAAA;AAC9D,QAAA,QAAA,CAAS,SAAS,KAAK,CAAA,CAAA;AAAA,OACxB,CAAA,CAAA;AAAA,KACF,CAAA,CAAA;AAED,IAAA,OAAA,CAAQ,WAAW,EAAE,KAAA,EAAO,KAAO,EAAA,OAAA,EAAS,YAAY,CAAA,CAAA;AAExD,IAAA,KAAA,CACE,MAAM,KAAA,CAAM,MACZ,EAAA,CAAC,QAAgB,MAAmB,KAAA;AAClC,MAAK,IAAA,CAAA,YAAA,EAAc,QAAQ,MAAM,CAAA,CAAA;AAAA,KAErC,CAAA,CAAA;;;;;;;;;;;;;;"}
@@ -5,7 +5,7 @@ import { useTooltipContentProps } from './content.mjs';
5
5
  import { useTooltipTriggerProps } from './trigger.mjs';
6
6
  import { createModelToggleComposable } from '../../../hooks/use-model-toggle/index.mjs';
7
7
  import { buildProps } from '../../../utils/vue/props/runtime.mjs';
8
- import { popperProps } from '../../popper/src/popper2.mjs';
8
+ import { popperProps } from '../../popper/src/popper.mjs';
9
9
  import { popperArrowProps } from '../../popper/src/arrow.mjs';
10
10
 
11
11
  const {
@@ -3,7 +3,7 @@ import Upload from './src/upload2.mjs';
3
3
  export { genFileId, uploadBaseProps, uploadListTypes, uploadProps } from './src/upload.mjs';
4
4
  export { uploadContentProps } from './src/upload-content.mjs';
5
5
  export { uploadListEmits, uploadListProps } from './src/upload-list.mjs';
6
- export { uploadDraggerEmits, uploadDraggerProps } from './src/upload-dragger2.mjs';
6
+ export { uploadDraggerEmits, uploadDraggerProps } from './src/upload-dragger.mjs';
7
7
  export { uploadContextKey } from './src/constants.mjs';
8
8
  import { withInstall } from '../../utils/vue/install.mjs';
9
9
 
@@ -4,7 +4,7 @@ import { cloneDeep, isEqual } from 'lodash-unified';
4
4
  import '../../../hooks/index.mjs';
5
5
  import '../../../utils/index.mjs';
6
6
  import '../../form/index.mjs';
7
- import UploadDragger from './upload-dragger.mjs';
7
+ import UploadDragger from './upload-dragger2.mjs';
8
8
  import { uploadContentProps } from './upload-content.mjs';
9
9
  import { genFileId } from './upload.mjs';
10
10
  import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
@@ -1,55 +1,16 @@
1
- import { defineComponent, inject, ref, openBlock, createElementBlock, normalizeClass, unref, withModifiers, renderSlot } from 'vue';
2
- import '../../../hooks/index.mjs';
3
- import '../../form/index.mjs';
4
- import { throwError } from '../../../utils/error.mjs';
5
- import { uploadContextKey } from './constants.mjs';
6
- import { uploadDraggerProps, uploadDraggerEmits } from './upload-dragger2.mjs';
7
- import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
8
- import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
9
- import { useFormDisabled } from '../../form/src/hooks/use-form-common-props.mjs';
1
+ import '../../../utils/index.mjs';
2
+ import { buildProps } from '../../../utils/vue/props/runtime.mjs';
3
+ import { isArray } from '@vue/shared';
10
4
 
11
- const _hoisted_1 = ["onDrop", "onDragover"];
12
- const COMPONENT_NAME = "ElUploadDrag";
13
- const __default__ = defineComponent({
14
- name: COMPONENT_NAME
15
- });
16
- const _sfc_main = /* @__PURE__ */ defineComponent({
17
- ...__default__,
18
- props: uploadDraggerProps,
19
- emits: uploadDraggerEmits,
20
- setup(__props, { emit }) {
21
- const uploaderContext = inject(uploadContextKey);
22
- if (!uploaderContext) {
23
- throwError(COMPONENT_NAME, "usage: <el-upload><el-upload-dragger /></el-upload>");
24
- }
25
- const ns = useNamespace("upload");
26
- const dragover = ref(false);
27
- const disabled = useFormDisabled();
28
- const onDrop = (e) => {
29
- if (disabled.value)
30
- return;
31
- dragover.value = false;
32
- e.stopPropagation();
33
- const files = Array.from(e.dataTransfer.files);
34
- emit("file", files);
35
- };
36
- const onDragover = () => {
37
- if (!disabled.value)
38
- dragover.value = true;
39
- };
40
- return (_ctx, _cache) => {
41
- return openBlock(), createElementBlock("div", {
42
- class: normalizeClass([unref(ns).b("dragger"), unref(ns).is("dragover", dragover.value)]),
43
- onDrop: withModifiers(onDrop, ["prevent"]),
44
- onDragover: withModifiers(onDragover, ["prevent"]),
45
- onDragleave: _cache[0] || (_cache[0] = withModifiers(($event) => dragover.value = false, ["prevent"]))
46
- }, [
47
- renderSlot(_ctx.$slots, "default")
48
- ], 42, _hoisted_1);
49
- };
5
+ const uploadDraggerProps = buildProps({
6
+ disabled: {
7
+ type: Boolean,
8
+ default: false
50
9
  }
51
10
  });
52
- var UploadDragger = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "upload-dragger.vue"]]);
11
+ const uploadDraggerEmits = {
12
+ file: (file) => isArray(file)
13
+ };
53
14
 
54
- export { UploadDragger as default };
15
+ export { uploadDraggerEmits, uploadDraggerProps };
55
16
  //# sourceMappingURL=upload-dragger.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"upload-dragger.mjs","sources":["../../../../../../packages/components/upload/src/upload-dragger.vue"],"sourcesContent":["<template>\n <div\n :class=\"[ns.b('dragger'), ns.is('dragover', dragover)]\"\n @drop.prevent=\"onDrop\"\n @dragover.prevent=\"onDragover\"\n @dragleave.prevent=\"dragover = false\"\n >\n <slot />\n </div>\n</template>\n<script lang=\"ts\" setup>\nimport { inject, ref } from 'vue'\nimport { useNamespace } from '@element-plus/hooks'\nimport { useFormDisabled } from '@element-plus/components/form'\nimport { throwError } from '@element-plus/utils/error'\nimport { uploadContextKey } from './constants'\nimport { uploadDraggerEmits, uploadDraggerProps } from './upload-dragger'\n\nconst COMPONENT_NAME = 'ElUploadDrag'\n\ndefineOptions({\n name: COMPONENT_NAME,\n})\n\ndefineProps(uploadDraggerProps)\nconst emit = defineEmits(uploadDraggerEmits)\n\nconst uploaderContext = inject(uploadContextKey)\nif (!uploaderContext) {\n throwError(\n COMPONENT_NAME,\n 'usage: <el-upload><el-upload-dragger /></el-upload>'\n )\n}\n\nconst ns = useNamespace('upload')\nconst dragover = ref(false)\nconst disabled = useFormDisabled()\n\nconst onDrop = (e: DragEvent) => {\n if (disabled.value) return\n dragover.value = false\n\n e.stopPropagation()\n\n const files = Array.from(e.dataTransfer!.files)\n emit('file', files)\n}\n\nconst onDragover = () => {\n if (!disabled.value) dragover.value = true\n}\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;mCAoBc,CAAA;AAAA,EACZ,IAAM,EAAA,cAAA;AACR;;;;;;AAKA,IAAM,MAAA,eAAA,GAAkB,OAAO,gBAAgB,CAAA,CAAA;AAC/C,IAAA,IAAI,CAAC,eAAiB,EAAA;AACpB,MAAA,UAAA,CACE,gBACA,qDACF,CAAA,CAAA;AAAA,KACF;AAEA,IAAM,MAAA,EAAA,GAAK,aAAa,QAAQ,CAAA,CAAA;AAChC,IAAM,MAAA,QAAA,GAAW,IAAI,KAAK,CAAA,CAAA;AAC1B,IAAA,MAAM,WAAW,eAAgB,EAAA,CAAA;AAEjC,IAAM,MAAA,MAAA,GAAS,CAAC,CAAiB,KAAA;AAC/B,MAAA,IAAI,QAAS,CAAA,KAAA;AAAO,QAAA,OAAA;AACpB,MAAA,QAAA,CAAS,KAAQ,GAAA,KAAA,CAAA;AAEjB,MAAA,CAAA,CAAE,eAAgB,EAAA,CAAA;AAElB,MAAA,MAAM,KAAQ,GAAA,KAAA,CAAM,IAAK,CAAA,CAAA,CAAE,aAAc,KAAK,CAAA,CAAA;AAC9C,MAAA,IAAA,CAAK,QAAQ,KAAK,CAAA,CAAA;AAAA,KACpB,CAAA;AAEA,IAAA,MAAM,aAAa,MAAM;AACvB,MAAA,IAAI,CAAC,QAAS,CAAA,KAAA;AAAO,QAAA,QAAA,CAAS,KAAQ,GAAA,IAAA,CAAA;AAAA,KACxC,CAAA;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"upload-dragger.mjs","sources":["../../../../../../packages/components/upload/src/upload-dragger.ts"],"sourcesContent":["import { buildProps, isArray } from '@element-plus/utils'\n\nimport type { ExtractPropTypes } from 'vue'\nimport type UploadDragger from './upload-dragger.vue'\n\nexport const uploadDraggerProps = buildProps({\n disabled: {\n type: Boolean,\n default: false,\n },\n} as const)\nexport type UploadDraggerProps = ExtractPropTypes<typeof uploadDraggerProps>\n\nexport const uploadDraggerEmits = {\n file: (file: File[]) => isArray(file),\n}\nexport type UploadDraggerEmits = typeof uploadDraggerEmits\n\nexport type UploadDraggerInstance = InstanceType<typeof UploadDragger>\n"],"names":[],"mappings":";;;;AACY,MAAC,kBAAkB,GAAG,UAAU,CAAC;AAC7C,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,kBAAkB,GAAG;AAClC,EAAE,IAAI,EAAE,CAAC,IAAI,KAAK,OAAO,CAAC,IAAI,CAAC;AAC/B;;;;"}
@@ -1,16 +1,55 @@
1
- import '../../../utils/index.mjs';
2
- import { buildProps } from '../../../utils/vue/props/runtime.mjs';
3
- import { isArray } from '@vue/shared';
1
+ import { defineComponent, inject, ref, openBlock, createElementBlock, normalizeClass, unref, withModifiers, renderSlot } from 'vue';
2
+ import '../../../hooks/index.mjs';
3
+ import '../../form/index.mjs';
4
+ import { throwError } from '../../../utils/error.mjs';
5
+ import { uploadContextKey } from './constants.mjs';
6
+ import { uploadDraggerProps, uploadDraggerEmits } from './upload-dragger.mjs';
7
+ import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
8
+ import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
9
+ import { useFormDisabled } from '../../form/src/hooks/use-form-common-props.mjs';
4
10
 
5
- const uploadDraggerProps = buildProps({
6
- disabled: {
7
- type: Boolean,
8
- default: false
11
+ const _hoisted_1 = ["onDrop", "onDragover"];
12
+ const COMPONENT_NAME = "ElUploadDrag";
13
+ const __default__ = defineComponent({
14
+ name: COMPONENT_NAME
15
+ });
16
+ const _sfc_main = /* @__PURE__ */ defineComponent({
17
+ ...__default__,
18
+ props: uploadDraggerProps,
19
+ emits: uploadDraggerEmits,
20
+ setup(__props, { emit }) {
21
+ const uploaderContext = inject(uploadContextKey);
22
+ if (!uploaderContext) {
23
+ throwError(COMPONENT_NAME, "usage: <el-upload><el-upload-dragger /></el-upload>");
24
+ }
25
+ const ns = useNamespace("upload");
26
+ const dragover = ref(false);
27
+ const disabled = useFormDisabled();
28
+ const onDrop = (e) => {
29
+ if (disabled.value)
30
+ return;
31
+ dragover.value = false;
32
+ e.stopPropagation();
33
+ const files = Array.from(e.dataTransfer.files);
34
+ emit("file", files);
35
+ };
36
+ const onDragover = () => {
37
+ if (!disabled.value)
38
+ dragover.value = true;
39
+ };
40
+ return (_ctx, _cache) => {
41
+ return openBlock(), createElementBlock("div", {
42
+ class: normalizeClass([unref(ns).b("dragger"), unref(ns).is("dragover", dragover.value)]),
43
+ onDrop: withModifiers(onDrop, ["prevent"]),
44
+ onDragover: withModifiers(onDragover, ["prevent"]),
45
+ onDragleave: _cache[0] || (_cache[0] = withModifiers(($event) => dragover.value = false, ["prevent"]))
46
+ }, [
47
+ renderSlot(_ctx.$slots, "default")
48
+ ], 42, _hoisted_1);
49
+ };
9
50
  }
10
51
  });
11
- const uploadDraggerEmits = {
12
- file: (file) => isArray(file)
13
- };
52
+ var UploadDragger = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "upload-dragger.vue"]]);
14
53
 
15
- export { uploadDraggerEmits, uploadDraggerProps };
54
+ export { UploadDragger as default };
16
55
  //# sourceMappingURL=upload-dragger2.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"upload-dragger2.mjs","sources":["../../../../../../packages/components/upload/src/upload-dragger.ts"],"sourcesContent":["import { buildProps, isArray } from '@element-plus/utils'\n\nimport type { ExtractPropTypes } from 'vue'\nimport type UploadDragger from './upload-dragger.vue'\n\nexport const uploadDraggerProps = buildProps({\n disabled: {\n type: Boolean,\n default: false,\n },\n} as const)\nexport type UploadDraggerProps = ExtractPropTypes<typeof uploadDraggerProps>\n\nexport const uploadDraggerEmits = {\n file: (file: File[]) => isArray(file),\n}\nexport type UploadDraggerEmits = typeof uploadDraggerEmits\n\nexport type UploadDraggerInstance = InstanceType<typeof UploadDragger>\n"],"names":[],"mappings":";;;;AACY,MAAC,kBAAkB,GAAG,UAAU,CAAC;AAC7C,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,kBAAkB,GAAG;AAClC,EAAE,IAAI,EAAE,CAAC,IAAI,KAAK,OAAO,CAAC,IAAI,CAAC;AAC/B;;;;"}
1
+ {"version":3,"file":"upload-dragger2.mjs","sources":["../../../../../../packages/components/upload/src/upload-dragger.vue"],"sourcesContent":["<template>\n <div\n :class=\"[ns.b('dragger'), ns.is('dragover', dragover)]\"\n @drop.prevent=\"onDrop\"\n @dragover.prevent=\"onDragover\"\n @dragleave.prevent=\"dragover = false\"\n >\n <slot />\n </div>\n</template>\n<script lang=\"ts\" setup>\nimport { inject, ref } from 'vue'\nimport { useNamespace } from '@element-plus/hooks'\nimport { useFormDisabled } from '@element-plus/components/form'\nimport { throwError } from '@element-plus/utils/error'\nimport { uploadContextKey } from './constants'\nimport { uploadDraggerEmits, uploadDraggerProps } from './upload-dragger'\n\nconst COMPONENT_NAME = 'ElUploadDrag'\n\ndefineOptions({\n name: COMPONENT_NAME,\n})\n\ndefineProps(uploadDraggerProps)\nconst emit = defineEmits(uploadDraggerEmits)\n\nconst uploaderContext = inject(uploadContextKey)\nif (!uploaderContext) {\n throwError(\n COMPONENT_NAME,\n 'usage: <el-upload><el-upload-dragger /></el-upload>'\n )\n}\n\nconst ns = useNamespace('upload')\nconst dragover = ref(false)\nconst disabled = useFormDisabled()\n\nconst onDrop = (e: DragEvent) => {\n if (disabled.value) return\n dragover.value = false\n\n e.stopPropagation()\n\n const files = Array.from(e.dataTransfer!.files)\n emit('file', files)\n}\n\nconst onDragover = () => {\n if (!disabled.value) dragover.value = true\n}\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;mCAoBc,CAAA;AAAA,EACZ,IAAM,EAAA,cAAA;AACR;;;;;;AAKA,IAAM,MAAA,eAAA,GAAkB,OAAO,gBAAgB,CAAA,CAAA;AAC/C,IAAA,IAAI,CAAC,eAAiB,EAAA;AACpB,MAAA,UAAA,CACE,gBACA,qDACF,CAAA,CAAA;AAAA,KACF;AAEA,IAAM,MAAA,EAAA,GAAK,aAAa,QAAQ,CAAA,CAAA;AAChC,IAAM,MAAA,QAAA,GAAW,IAAI,KAAK,CAAA,CAAA;AAC1B,IAAA,MAAM,WAAW,eAAgB,EAAA,CAAA;AAEjC,IAAM,MAAA,MAAA,GAAS,CAAC,CAAiB,KAAA;AAC/B,MAAA,IAAI,QAAS,CAAA,KAAA;AAAO,QAAA,OAAA;AACpB,MAAA,QAAA,CAAS,KAAQ,GAAA,KAAA,CAAA;AAEjB,MAAA,CAAA,CAAE,eAAgB,EAAA,CAAA;AAElB,MAAA,MAAM,KAAQ,GAAA,KAAA,CAAM,IAAK,CAAA,CAAA,CAAE,aAAc,KAAK,CAAA,CAAA;AAC9C,MAAA,IAAA,CAAK,QAAQ,KAAK,CAAA,CAAA;AAAA,KACpB,CAAA;AAEA,IAAA,MAAM,aAAa,MAAM;AACvB,MAAA,IAAI,CAAC,QAAS,CAAA,KAAA;AAAO,QAAA,QAAA,CAAS,KAAQ,GAAA,IAAA,CAAA;AAAA,KACxC,CAAA;;;;;;;;;;;;;;;;;"}
package/es/index.mjs CHANGED
@@ -71,7 +71,7 @@ export { useDialog } from './components/dialog/src/use-dialog.mjs';
71
71
  export { dialogEmits, dialogProps } from './components/dialog/src/dialog.mjs';
72
72
  export { dialogInjectionKey } from './components/dialog/src/constants.mjs';
73
73
  export { ElDialog } from './components/dialog/index.mjs';
74
- export { dividerProps } from './components/divider/src/divider.mjs';
74
+ export { dividerProps } from './components/divider/src/divider2.mjs';
75
75
  export { ElDivider } from './components/divider/index.mjs';
76
76
  export { drawerEmits, drawerProps } from './components/drawer/src/drawer.mjs';
77
77
  export { ElDrawer } from './components/drawer/index.mjs';
@@ -112,7 +112,7 @@ export { elPaginationKey } from './components/pagination/src/constants.mjs';
112
112
  export { ElPagination } from './components/pagination/index.mjs';
113
113
  export { popconfirmEmits, popconfirmProps } from './components/popconfirm/src/popconfirm.mjs';
114
114
  export { ElPopconfirm } from './components/popconfirm/index.mjs';
115
- export { Effect, popperProps, roleTypes, usePopperProps } from './components/popper/src/popper2.mjs';
115
+ export { Effect, popperProps, roleTypes, usePopperProps } from './components/popper/src/popper.mjs';
116
116
  export { popperTriggerProps, usePopperTriggerProps } from './components/popper/src/trigger.mjs';
117
117
  export { popperContentEmits, popperContentProps, popperCoreConfigProps, usePopperContentEmits, usePopperContentProps, usePopperCoreConfigProps } from './components/popper/src/content.mjs';
118
118
  export { popperArrowProps, usePopperArrowProps } from './components/popper/src/arrow.mjs';
@@ -121,7 +121,7 @@ export { default as ElPopperArrow } from './components/popper/src/arrow2.mjs';
121
121
  export { default as ElPopperTrigger } from './components/popper/src/trigger2.mjs';
122
122
  export { default as ElPopperContent } from './components/popper/src/content2.mjs';
123
123
  export { ElPopper } from './components/popper/index.mjs';
124
- export { progressProps } from './components/progress/src/progress2.mjs';
124
+ export { progressProps } from './components/progress/src/progress.mjs';
125
125
  export { ElProgress } from './components/progress/index.mjs';
126
126
  export { radioEmits, radioProps, radioPropsBase } from './components/radio/src/radio.mjs';
127
127
  export { radioGroupEmits, radioGroupProps } from './components/radio/src/radio-group.mjs';
@@ -144,8 +144,8 @@ export { selectGroupKey, selectKey } from './components/select/src/token.mjs';
144
144
  export { ElOption, ElOptionGroup, ElSelect } from './components/select/index.mjs';
145
145
  export { selectV2InjectionKey } from './components/select-v2/src/token.mjs';
146
146
  export { ElSelectV2 } from './components/select-v2/index.mjs';
147
- export { skeletonProps } from './components/skeleton/src/skeleton.mjs';
148
- export { skeletonItemProps } from './components/skeleton/src/skeleton-item.mjs';
147
+ export { skeletonProps } from './components/skeleton/src/skeleton2.mjs';
148
+ export { skeletonItemProps } from './components/skeleton/src/skeleton-item2.mjs';
149
149
  export { ElSkeleton, ElSkeletonItem } from './components/skeleton/index.mjs';
150
150
  export { sliderEmits, sliderProps } from './components/slider/src/slider.mjs';
151
151
  export { sliderContextKey } from './components/slider/src/constants.mjs';
@@ -157,7 +157,7 @@ export { ElSpace } from './components/space/index.mjs';
157
157
  export { statisticProps } from './components/statistic/src/statistic.mjs';
158
158
  export { ElStatistic } from './components/statistic/index.mjs';
159
159
  export { stepProps } from './components/steps/src/item.mjs';
160
- export { stepsEmits, stepsProps } from './components/steps/src/steps2.mjs';
160
+ export { stepsEmits, stepsProps } from './components/steps/src/steps.mjs';
161
161
  export { ElStep, ElSteps } from './components/steps/index.mjs';
162
162
  export { switchEmits, switchProps } from './components/switch/src/switch.mjs';
163
163
  export { ElSwitch } from './components/switch/index.mjs';
@@ -201,7 +201,7 @@ export { ElTreeV2 } from './components/tree-v2/index.mjs';
201
201
  export { genFileId, uploadBaseProps, uploadListTypes, uploadProps } from './components/upload/src/upload.mjs';
202
202
  export { uploadContentProps } from './components/upload/src/upload-content.mjs';
203
203
  export { uploadListEmits, uploadListProps } from './components/upload/src/upload-list.mjs';
204
- export { uploadDraggerEmits, uploadDraggerProps } from './components/upload/src/upload-dragger2.mjs';
204
+ export { uploadDraggerEmits, uploadDraggerProps } from './components/upload/src/upload-dragger.mjs';
205
205
  export { uploadContextKey } from './components/upload/src/constants.mjs';
206
206
  export { ElUpload } from './components/upload/index.mjs';
207
207
  export { default as FixedSizeList } from './components/virtual-list/src/components/fixed-size-list.mjs';
@@ -215,7 +215,7 @@ export { tourEmits, tourProps } from './components/tour/src/tour.mjs';
215
215
  export { tourStepEmits, tourStepProps } from './components/tour/src/step.mjs';
216
216
  export { tourContentEmits, tourContentProps, tourPlacements, tourStrategies } from './components/tour/src/content.mjs';
217
217
  export { ElTour, ElTourStep } from './components/tour/index.mjs';
218
- export { anchorEmits, anchorProps } from './components/anchor/src/anchor2.mjs';
218
+ export { anchorEmits, anchorProps } from './components/anchor/src/anchor.mjs';
219
219
  export { ElAnchor, ElAnchorLink } from './components/anchor/index.mjs';
220
220
  export { segmentedEmits, segmentedProps } from './components/segmented/src/segmented.mjs';
221
221
  export { ElSegmented } from './components/segmented/index.mjs';
package/es/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const version = "0.0.20240505";
1
+ export declare const version = "0.0.20240506";
package/es/version.mjs CHANGED
@@ -1,4 +1,4 @@
1
- const version = "0.0.20240505";
1
+ const version = "0.0.20240506";
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.20240505'\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.20240506'\n"],"names":[],"mappings":"AAAY,MAAC,OAAO,GAAG;;;;"}
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  require('../../utils/index.js');
6
- var anchor$1 = require('./src/anchor.js');
6
+ var anchor$1 = require('./src/anchor2.js');
7
7
  var anchorLink = require('./src/anchor-link2.js');
8
- var anchor = require('./src/anchor2.js');
8
+ var anchor = require('./src/anchor.js');
9
9
  var install = require('../../utils/vue/install.js');
10
10
 
11
11
  const ElAnchor = install.withInstall(anchor$1["default"], {