@element-plus/nightly 0.0.20250403 → 0.0.20250405
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.
- package/attributes.json +1 -1
- package/dist/index.css +1 -1
- package/dist/index.full.js +38 -19
- package/dist/index.full.min.js +11 -11
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +11 -11
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +38 -19
- package/dist/locale/af.js +1 -1
- package/dist/locale/af.min.js +1 -1
- package/dist/locale/af.min.mjs +1 -1
- package/dist/locale/af.mjs +1 -1
- package/dist/locale/ar-eg.js +1 -1
- package/dist/locale/ar-eg.min.js +1 -1
- package/dist/locale/ar-eg.min.mjs +1 -1
- package/dist/locale/ar-eg.mjs +1 -1
- package/dist/locale/ar.js +1 -1
- package/dist/locale/ar.min.js +1 -1
- package/dist/locale/ar.min.mjs +1 -1
- package/dist/locale/ar.mjs +1 -1
- package/dist/locale/az.js +1 -1
- package/dist/locale/az.min.js +1 -1
- package/dist/locale/az.min.mjs +1 -1
- package/dist/locale/az.mjs +1 -1
- package/dist/locale/bg.js +1 -1
- package/dist/locale/bg.min.js +1 -1
- package/dist/locale/bg.min.mjs +1 -1
- package/dist/locale/bg.mjs +1 -1
- package/dist/locale/bn.js +1 -1
- package/dist/locale/bn.min.js +1 -1
- package/dist/locale/bn.min.mjs +1 -1
- package/dist/locale/bn.mjs +1 -1
- package/dist/locale/ca.js +1 -1
- package/dist/locale/ca.min.js +1 -1
- package/dist/locale/ca.min.mjs +1 -1
- package/dist/locale/ca.mjs +1 -1
- package/dist/locale/ckb.js +1 -1
- package/dist/locale/ckb.min.js +1 -1
- package/dist/locale/ckb.min.mjs +1 -1
- package/dist/locale/ckb.mjs +1 -1
- package/dist/locale/cs.js +1 -1
- package/dist/locale/cs.min.js +1 -1
- package/dist/locale/cs.min.mjs +1 -1
- package/dist/locale/cs.mjs +1 -1
- package/dist/locale/da.js +1 -1
- package/dist/locale/da.min.js +1 -1
- package/dist/locale/da.min.mjs +1 -1
- package/dist/locale/da.mjs +1 -1
- package/dist/locale/de.js +1 -1
- package/dist/locale/de.min.js +1 -1
- package/dist/locale/de.min.mjs +1 -1
- package/dist/locale/de.mjs +1 -1
- package/dist/locale/el.js +1 -1
- package/dist/locale/el.min.js +1 -1
- package/dist/locale/el.min.mjs +1 -1
- package/dist/locale/el.mjs +1 -1
- package/dist/locale/en.js +1 -1
- package/dist/locale/en.min.js +1 -1
- package/dist/locale/en.min.mjs +1 -1
- package/dist/locale/en.mjs +1 -1
- package/dist/locale/eo.js +1 -1
- package/dist/locale/eo.min.js +1 -1
- package/dist/locale/eo.min.mjs +1 -1
- package/dist/locale/eo.mjs +1 -1
- package/dist/locale/es.js +1 -1
- package/dist/locale/es.min.js +1 -1
- package/dist/locale/es.min.mjs +1 -1
- package/dist/locale/es.mjs +1 -1
- package/dist/locale/et.js +1 -1
- package/dist/locale/et.min.js +1 -1
- package/dist/locale/et.min.mjs +1 -1
- package/dist/locale/et.mjs +1 -1
- package/dist/locale/eu.js +1 -1
- package/dist/locale/eu.min.js +1 -1
- package/dist/locale/eu.min.mjs +1 -1
- package/dist/locale/eu.mjs +1 -1
- package/dist/locale/fa.js +1 -1
- package/dist/locale/fa.min.js +1 -1
- package/dist/locale/fa.min.mjs +1 -1
- package/dist/locale/fa.mjs +1 -1
- package/dist/locale/fi.js +1 -1
- package/dist/locale/fi.min.js +1 -1
- package/dist/locale/fi.min.mjs +1 -1
- package/dist/locale/fi.mjs +1 -1
- package/dist/locale/fr.js +1 -1
- package/dist/locale/fr.min.js +1 -1
- package/dist/locale/fr.min.mjs +1 -1
- package/dist/locale/fr.mjs +1 -1
- package/dist/locale/he.js +1 -1
- package/dist/locale/he.min.js +1 -1
- package/dist/locale/he.min.mjs +1 -1
- package/dist/locale/he.mjs +1 -1
- package/dist/locale/hi.js +1 -1
- package/dist/locale/hi.min.js +1 -1
- package/dist/locale/hi.min.mjs +1 -1
- package/dist/locale/hi.mjs +1 -1
- package/dist/locale/hr.js +1 -1
- package/dist/locale/hr.min.js +1 -1
- package/dist/locale/hr.min.mjs +1 -1
- package/dist/locale/hr.mjs +1 -1
- package/dist/locale/hu.js +1 -1
- package/dist/locale/hu.min.js +1 -1
- package/dist/locale/hu.min.mjs +1 -1
- package/dist/locale/hu.mjs +1 -1
- package/dist/locale/hy-am.js +1 -1
- package/dist/locale/hy-am.min.js +1 -1
- package/dist/locale/hy-am.min.mjs +1 -1
- package/dist/locale/hy-am.mjs +1 -1
- package/dist/locale/id.js +1 -1
- package/dist/locale/id.min.js +1 -1
- package/dist/locale/id.min.mjs +1 -1
- package/dist/locale/id.mjs +1 -1
- package/dist/locale/it.js +1 -1
- package/dist/locale/it.min.js +1 -1
- package/dist/locale/it.min.mjs +1 -1
- package/dist/locale/it.mjs +1 -1
- package/dist/locale/ja.js +1 -1
- package/dist/locale/ja.min.js +1 -1
- package/dist/locale/ja.min.mjs +1 -1
- package/dist/locale/ja.mjs +1 -1
- package/dist/locale/kk.js +1 -1
- package/dist/locale/kk.min.js +1 -1
- package/dist/locale/kk.min.mjs +1 -1
- package/dist/locale/kk.mjs +1 -1
- package/dist/locale/km.js +1 -1
- package/dist/locale/km.min.js +1 -1
- package/dist/locale/km.min.mjs +1 -1
- package/dist/locale/km.mjs +1 -1
- package/dist/locale/ko.js +1 -1
- package/dist/locale/ko.min.js +1 -1
- package/dist/locale/ko.min.mjs +1 -1
- package/dist/locale/ko.mjs +1 -1
- package/dist/locale/ku.js +1 -1
- package/dist/locale/ku.min.js +1 -1
- package/dist/locale/ku.min.mjs +1 -1
- package/dist/locale/ku.mjs +1 -1
- package/dist/locale/ky.js +1 -1
- package/dist/locale/ky.min.js +1 -1
- package/dist/locale/ky.min.mjs +1 -1
- package/dist/locale/ky.mjs +1 -1
- package/dist/locale/lo.js +1 -1
- package/dist/locale/lo.min.js +1 -1
- package/dist/locale/lo.min.mjs +1 -1
- package/dist/locale/lo.mjs +1 -1
- package/dist/locale/lt.js +1 -1
- package/dist/locale/lt.min.js +1 -1
- package/dist/locale/lt.min.mjs +1 -1
- package/dist/locale/lt.mjs +1 -1
- package/dist/locale/lv.js +1 -1
- package/dist/locale/lv.min.js +1 -1
- package/dist/locale/lv.min.mjs +1 -1
- package/dist/locale/lv.mjs +1 -1
- package/dist/locale/mg.js +1 -1
- package/dist/locale/mg.min.js +1 -1
- package/dist/locale/mg.min.mjs +1 -1
- package/dist/locale/mg.mjs +1 -1
- package/dist/locale/mn.js +1 -1
- package/dist/locale/mn.min.js +1 -1
- package/dist/locale/mn.min.mjs +1 -1
- package/dist/locale/mn.mjs +1 -1
- package/dist/locale/ms.js +1 -1
- package/dist/locale/ms.min.js +1 -1
- package/dist/locale/ms.min.mjs +1 -1
- package/dist/locale/ms.mjs +1 -1
- package/dist/locale/my.js +1 -1
- package/dist/locale/my.min.js +1 -1
- package/dist/locale/my.min.mjs +1 -1
- package/dist/locale/my.mjs +1 -1
- package/dist/locale/nb-no.js +1 -1
- package/dist/locale/nb-no.min.js +1 -1
- package/dist/locale/nb-no.min.mjs +1 -1
- package/dist/locale/nb-no.mjs +1 -1
- package/dist/locale/nl.js +1 -1
- package/dist/locale/nl.min.js +1 -1
- package/dist/locale/nl.min.mjs +1 -1
- package/dist/locale/nl.mjs +1 -1
- package/dist/locale/no.js +1 -1
- package/dist/locale/no.min.js +1 -1
- package/dist/locale/no.min.mjs +1 -1
- package/dist/locale/no.mjs +1 -1
- package/dist/locale/pa.js +1 -1
- package/dist/locale/pa.min.js +1 -1
- package/dist/locale/pa.min.mjs +1 -1
- package/dist/locale/pa.mjs +1 -1
- package/dist/locale/pl.js +1 -1
- package/dist/locale/pl.min.js +1 -1
- package/dist/locale/pl.min.mjs +1 -1
- package/dist/locale/pl.mjs +1 -1
- package/dist/locale/pt-br.js +1 -1
- package/dist/locale/pt-br.min.js +1 -1
- package/dist/locale/pt-br.min.mjs +1 -1
- package/dist/locale/pt-br.mjs +1 -1
- package/dist/locale/pt.js +1 -1
- package/dist/locale/pt.min.js +1 -1
- package/dist/locale/pt.min.mjs +1 -1
- package/dist/locale/pt.mjs +1 -1
- package/dist/locale/ro.js +1 -1
- package/dist/locale/ro.min.js +1 -1
- package/dist/locale/ro.min.mjs +1 -1
- package/dist/locale/ro.mjs +1 -1
- package/dist/locale/ru.js +1 -1
- package/dist/locale/ru.min.js +1 -1
- package/dist/locale/ru.min.mjs +1 -1
- package/dist/locale/ru.mjs +1 -1
- package/dist/locale/sk.js +1 -1
- package/dist/locale/sk.min.js +1 -1
- package/dist/locale/sk.min.mjs +1 -1
- package/dist/locale/sk.mjs +1 -1
- package/dist/locale/sl.js +1 -1
- package/dist/locale/sl.min.js +1 -1
- package/dist/locale/sl.min.mjs +1 -1
- package/dist/locale/sl.mjs +1 -1
- package/dist/locale/sr.js +1 -1
- package/dist/locale/sr.min.js +1 -1
- package/dist/locale/sr.min.mjs +1 -1
- package/dist/locale/sr.mjs +1 -1
- package/dist/locale/sv.js +1 -1
- package/dist/locale/sv.min.js +1 -1
- package/dist/locale/sv.min.mjs +1 -1
- package/dist/locale/sv.mjs +1 -1
- package/dist/locale/sw.js +1 -1
- package/dist/locale/sw.min.js +1 -1
- package/dist/locale/sw.min.mjs +1 -1
- package/dist/locale/sw.mjs +1 -1
- package/dist/locale/ta.js +1 -1
- package/dist/locale/ta.min.js +1 -1
- package/dist/locale/ta.min.mjs +1 -1
- package/dist/locale/ta.mjs +1 -1
- package/dist/locale/te.js +1 -1
- package/dist/locale/te.min.js +1 -1
- package/dist/locale/te.min.mjs +1 -1
- package/dist/locale/te.mjs +1 -1
- package/dist/locale/th.js +1 -1
- package/dist/locale/th.min.js +1 -1
- package/dist/locale/th.min.mjs +1 -1
- package/dist/locale/th.mjs +1 -1
- package/dist/locale/tk.js +1 -1
- package/dist/locale/tk.min.js +1 -1
- package/dist/locale/tk.min.mjs +1 -1
- package/dist/locale/tk.mjs +1 -1
- package/dist/locale/tr.js +1 -1
- package/dist/locale/tr.min.js +1 -1
- package/dist/locale/tr.min.mjs +1 -1
- package/dist/locale/tr.mjs +1 -1
- package/dist/locale/ug-cn.js +1 -1
- package/dist/locale/ug-cn.min.js +1 -1
- package/dist/locale/ug-cn.min.mjs +1 -1
- package/dist/locale/ug-cn.mjs +1 -1
- package/dist/locale/uk.js +1 -1
- package/dist/locale/uk.min.js +1 -1
- package/dist/locale/uk.min.mjs +1 -1
- package/dist/locale/uk.mjs +1 -1
- package/dist/locale/uz-uz.js +1 -1
- package/dist/locale/uz-uz.min.js +1 -1
- package/dist/locale/uz-uz.min.mjs +1 -1
- package/dist/locale/uz-uz.mjs +1 -1
- package/dist/locale/vi.js +1 -1
- package/dist/locale/vi.min.js +1 -1
- package/dist/locale/vi.min.mjs +1 -1
- package/dist/locale/vi.mjs +1 -1
- package/dist/locale/zh-cn.js +1 -1
- package/dist/locale/zh-cn.min.js +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/locale/zh-cn.mjs +1 -1
- package/dist/locale/zh-hk.js +1 -1
- package/dist/locale/zh-hk.min.js +1 -1
- package/dist/locale/zh-hk.min.mjs +1 -1
- package/dist/locale/zh-hk.mjs +1 -1
- package/dist/locale/zh-mo.js +1 -1
- package/dist/locale/zh-mo.min.js +1 -1
- package/dist/locale/zh-mo.min.mjs +1 -1
- package/dist/locale/zh-mo.mjs +1 -1
- package/dist/locale/zh-tw.js +1 -1
- package/dist/locale/zh-tw.min.js +1 -1
- package/dist/locale/zh-tw.min.mjs +1 -1
- package/dist/locale/zh-tw.mjs +1 -1
- package/es/index.mjs +9 -9
- package/es/packages/components/carousel/index.mjs +2 -2
- package/es/packages/components/carousel/src/carousel.mjs +61 -204
- package/es/packages/components/carousel/src/carousel.mjs.map +1 -1
- package/es/packages/components/carousel/src/carousel2.mjs +204 -61
- package/es/packages/components/carousel/src/carousel2.mjs.map +1 -1
- package/es/packages/components/check-tag/index.mjs +2 -2
- package/es/packages/components/check-tag/src/check-tag.mjs +14 -38
- package/es/packages/components/check-tag/src/check-tag.mjs.map +1 -1
- package/es/packages/components/check-tag/src/check-tag2.mjs +38 -14
- package/es/packages/components/check-tag/src/check-tag2.mjs.map +1 -1
- package/es/packages/components/divider/index.mjs +2 -2
- package/es/packages/components/divider/src/divider.mjs +34 -16
- package/es/packages/components/divider/src/divider.mjs.map +1 -1
- package/es/packages/components/divider/src/divider2.mjs +16 -34
- package/es/packages/components/divider/src/divider2.mjs.map +1 -1
- package/es/packages/components/icon/index.mjs +2 -2
- package/es/packages/components/icon/src/icon.mjs +8 -35
- package/es/packages/components/icon/src/icon.mjs.map +1 -1
- package/es/packages/components/icon/src/icon2.mjs +35 -8
- package/es/packages/components/icon/src/icon2.mjs.map +1 -1
- package/es/packages/components/image/index.mjs +2 -2
- package/es/packages/components/image/src/image.mjs +222 -68
- package/es/packages/components/image/src/image.mjs.map +1 -1
- package/es/packages/components/image/src/image2.mjs +68 -222
- package/es/packages/components/image/src/image2.mjs.map +1 -1
- package/es/packages/components/image-viewer/src/image-viewer2.mjs +1 -1
- package/es/packages/components/image-viewer/src/image-viewer2.mjs.map +1 -1
- package/es/packages/components/index.mjs +9 -9
- package/es/packages/components/input-number/index.mjs +2 -2
- package/es/packages/components/input-number/src/input-number.mjs +349 -60
- package/es/packages/components/input-number/src/input-number.mjs.map +1 -1
- package/es/packages/components/input-number/src/input-number2.mjs +60 -349
- package/es/packages/components/input-number/src/input-number2.mjs.map +1 -1
- package/es/packages/components/message/src/message2.mjs +12 -3
- package/es/packages/components/message/src/message2.mjs.map +1 -1
- package/es/packages/components/message/src/method.mjs +3 -2
- package/es/packages/components/message/src/method.mjs.map +1 -1
- package/es/packages/components/pagination/src/components/next.mjs +35 -18
- package/es/packages/components/pagination/src/components/next.mjs.map +1 -1
- package/es/packages/components/pagination/src/components/next2.mjs +18 -35
- package/es/packages/components/pagination/src/components/next2.mjs.map +1 -1
- package/es/packages/components/pagination/src/pagination.mjs +1 -1
- package/es/packages/components/scrollbar/src/bar.mjs +10 -64
- package/es/packages/components/scrollbar/src/bar.mjs.map +1 -1
- package/es/packages/components/scrollbar/src/bar2.mjs +64 -10
- package/es/packages/components/scrollbar/src/bar2.mjs.map +1 -1
- package/es/packages/components/scrollbar/src/scrollbar2.mjs +1 -1
- package/es/packages/components/timeline/index.mjs +2 -2
- package/es/packages/components/timeline/src/timeline-item.mjs +33 -72
- package/es/packages/components/timeline/src/timeline-item.mjs.map +1 -1
- package/es/packages/components/timeline/src/timeline-item2.mjs +72 -33
- package/es/packages/components/timeline/src/timeline-item2.mjs.map +1 -1
- package/es/packages/components/tooltip-v2/src/content2.mjs +1 -1
- package/es/packages/components/tour/index.mjs +1 -1
- package/es/packages/components/tour/src/content.mjs +67 -43
- package/es/packages/components/tour/src/content.mjs.map +1 -1
- package/es/packages/components/tour/src/content2.mjs +43 -67
- package/es/packages/components/tour/src/content2.mjs.map +1 -1
- package/es/packages/components/tour/src/step.mjs +1 -1
- package/es/packages/components/tour/src/tour.mjs +1 -1
- package/es/packages/components/tour/src/tour2.mjs +1 -1
- package/es/packages/components/upload/index.mjs +1 -1
- package/es/packages/components/upload/src/upload-content2.mjs +1 -1
- package/es/packages/components/upload/src/upload-dragger.mjs +56 -10
- package/es/packages/components/upload/src/upload-dragger.mjs.map +1 -1
- package/es/packages/components/upload/src/upload-dragger2.mjs +10 -56
- package/es/packages/components/upload/src/upload-dragger2.mjs.map +1 -1
- package/es/packages/components/visual-hidden/index.mjs +3 -3
- package/es/packages/components/visual-hidden/src/visual-hidden.mjs +35 -6
- package/es/packages/components/visual-hidden/src/visual-hidden.mjs.map +1 -1
- package/es/packages/components/visual-hidden/src/visual-hidden2.mjs +6 -35
- package/es/packages/components/visual-hidden/src/visual-hidden2.mjs.map +1 -1
- package/es/packages/components/watermark/src/watermark2.mjs +22 -12
- package/es/packages/components/watermark/src/watermark2.mjs.map +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/index.js +9 -9
- package/lib/packages/components/carousel/index.js +2 -2
- package/lib/packages/components/carousel/src/carousel.js +62 -204
- package/lib/packages/components/carousel/src/carousel.js.map +1 -1
- package/lib/packages/components/carousel/src/carousel2.js +204 -62
- package/lib/packages/components/carousel/src/carousel2.js.map +1 -1
- package/lib/packages/components/check-tag/index.js +2 -2
- package/lib/packages/components/check-tag/src/check-tag.js +15 -38
- package/lib/packages/components/check-tag/src/check-tag.js.map +1 -1
- package/lib/packages/components/check-tag/src/check-tag2.js +38 -15
- package/lib/packages/components/check-tag/src/check-tag2.js.map +1 -1
- package/lib/packages/components/divider/index.js +2 -2
- package/lib/packages/components/divider/src/divider.js +34 -16
- package/lib/packages/components/divider/src/divider.js.map +1 -1
- package/lib/packages/components/divider/src/divider2.js +16 -34
- package/lib/packages/components/divider/src/divider2.js.map +1 -1
- package/lib/packages/components/icon/index.js +2 -2
- package/lib/packages/components/icon/src/icon.js +8 -35
- package/lib/packages/components/icon/src/icon.js.map +1 -1
- package/lib/packages/components/icon/src/icon2.js +35 -8
- package/lib/packages/components/icon/src/icon2.js.map +1 -1
- package/lib/packages/components/image/index.js +2 -2
- package/lib/packages/components/image/src/image.js +221 -68
- package/lib/packages/components/image/src/image.js.map +1 -1
- package/lib/packages/components/image/src/image2.js +68 -221
- package/lib/packages/components/image/src/image2.js.map +1 -1
- package/lib/packages/components/image-viewer/src/image-viewer2.js +1 -1
- package/lib/packages/components/image-viewer/src/image-viewer2.js.map +1 -1
- package/lib/packages/components/index.js +9 -9
- package/lib/packages/components/input-number/index.js +2 -2
- package/lib/packages/components/input-number/src/input-number.js +347 -59
- package/lib/packages/components/input-number/src/input-number.js.map +1 -1
- package/lib/packages/components/input-number/src/input-number2.js +59 -347
- package/lib/packages/components/input-number/src/input-number2.js.map +1 -1
- package/lib/packages/components/message/src/message2.js +11 -2
- package/lib/packages/components/message/src/message2.js.map +1 -1
- package/lib/packages/components/message/src/method.js +5 -4
- package/lib/packages/components/message/src/method.js.map +1 -1
- package/lib/packages/components/pagination/src/components/next.js +35 -18
- package/lib/packages/components/pagination/src/components/next.js.map +1 -1
- package/lib/packages/components/pagination/src/components/next2.js +18 -35
- package/lib/packages/components/pagination/src/components/next2.js.map +1 -1
- package/lib/packages/components/pagination/src/pagination.js +1 -1
- package/lib/packages/components/scrollbar/src/bar.js +10 -64
- package/lib/packages/components/scrollbar/src/bar.js.map +1 -1
- package/lib/packages/components/scrollbar/src/bar2.js +64 -10
- package/lib/packages/components/scrollbar/src/bar2.js.map +1 -1
- package/lib/packages/components/scrollbar/src/scrollbar2.js +1 -1
- package/lib/packages/components/timeline/index.js +2 -2
- package/lib/packages/components/timeline/src/timeline-item.js +33 -72
- package/lib/packages/components/timeline/src/timeline-item.js.map +1 -1
- package/lib/packages/components/timeline/src/timeline-item2.js +72 -33
- package/lib/packages/components/timeline/src/timeline-item2.js.map +1 -1
- package/lib/packages/components/tooltip-v2/src/content2.js +1 -1
- package/lib/packages/components/tour/index.js +1 -1
- package/lib/packages/components/tour/src/content.js +67 -46
- package/lib/packages/components/tour/src/content.js.map +1 -1
- package/lib/packages/components/tour/src/content2.js +46 -67
- package/lib/packages/components/tour/src/content2.js.map +1 -1
- package/lib/packages/components/tour/src/step.js +1 -1
- package/lib/packages/components/tour/src/tour.js +1 -1
- package/lib/packages/components/tour/src/tour2.js +1 -1
- package/lib/packages/components/upload/index.js +1 -1
- package/lib/packages/components/upload/src/upload-content2.js +1 -1
- package/lib/packages/components/upload/src/upload-dragger.js +56 -11
- package/lib/packages/components/upload/src/upload-dragger.js.map +1 -1
- package/lib/packages/components/upload/src/upload-dragger2.js +11 -56
- package/lib/packages/components/upload/src/upload-dragger2.js.map +1 -1
- package/lib/packages/components/visual-hidden/index.js +2 -2
- package/lib/packages/components/visual-hidden/src/visual-hidden.js +35 -6
- package/lib/packages/components/visual-hidden/src/visual-hidden.js.map +1 -1
- package/lib/packages/components/visual-hidden/src/visual-hidden2.js +6 -35
- package/lib/packages/components/visual-hidden/src/visual-hidden2.js.map +1 -1
- package/lib/packages/components/watermark/src/watermark2.js +22 -12
- package/lib/packages/components/watermark/src/watermark2.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +2 -2
- package/tags.json +1 -1
- package/theme-chalk/el-date-picker.css +1 -1
- package/theme-chalk/el-descriptions.css +1 -1
- package/theme-chalk/el-time-picker.css +1 -1
- package/theme-chalk/el-time-select.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/date-picker/picker-panel.scss +4 -2
- package/theme-chalk/src/descriptions.scss +0 -1
- package/web-types.json +1 -1
|
@@ -1,23 +1,40 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, unref, toDisplayString, createBlock, withCtx, resolveDynamicComponent } from 'vue';
|
|
2
|
+
import { ElIcon } from '../../../icon/index.mjs';
|
|
3
|
+
import { paginationNextProps } from './next2.mjs';
|
|
4
|
+
import _export_sfc from '../../../../../_virtual/plugin-vue_export-helper.mjs';
|
|
5
|
+
import { useLocale } from '../../../../hooks/use-locale/index.mjs';
|
|
3
6
|
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
7
|
+
const __default__ = defineComponent({
|
|
8
|
+
name: "ElPaginationNext"
|
|
9
|
+
});
|
|
10
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
|
+
...__default__,
|
|
12
|
+
props: paginationNextProps,
|
|
13
|
+
emits: ["click"],
|
|
14
|
+
setup(__props) {
|
|
15
|
+
const props = __props;
|
|
16
|
+
const { t } = useLocale();
|
|
17
|
+
const internalDisabled = computed(() => props.disabled || props.currentPage === props.pageCount || props.pageCount === 0);
|
|
18
|
+
return (_ctx, _cache) => {
|
|
19
|
+
return openBlock(), createElementBlock("button", {
|
|
20
|
+
type: "button",
|
|
21
|
+
class: "btn-next",
|
|
22
|
+
disabled: unref(internalDisabled),
|
|
23
|
+
"aria-label": _ctx.nextText || unref(t)("el.pagination.next"),
|
|
24
|
+
"aria-disabled": unref(internalDisabled),
|
|
25
|
+
onClick: ($event) => _ctx.$emit("click", $event)
|
|
26
|
+
}, [
|
|
27
|
+
_ctx.nextText ? (openBlock(), createElementBlock("span", { key: 0 }, toDisplayString(_ctx.nextText), 1)) : (openBlock(), createBlock(unref(ElIcon), { key: 1 }, {
|
|
28
|
+
default: withCtx(() => [
|
|
29
|
+
(openBlock(), createBlock(resolveDynamicComponent(_ctx.nextIcon)))
|
|
30
|
+
]),
|
|
31
|
+
_: 1
|
|
32
|
+
}))
|
|
33
|
+
], 8, ["disabled", "aria-label", "aria-disabled", "onClick"]);
|
|
34
|
+
};
|
|
19
35
|
}
|
|
20
36
|
});
|
|
37
|
+
var Next = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "next.vue"]]);
|
|
21
38
|
|
|
22
|
-
export {
|
|
39
|
+
export { Next as default };
|
|
23
40
|
//# sourceMappingURL=next.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"next.mjs","sources":["../../../../../../../../packages/components/pagination/src/components/next.
|
|
1
|
+
{"version":3,"file":"next.mjs","sources":["../../../../../../../../packages/components/pagination/src/components/next.vue"],"sourcesContent":["<template>\n <button\n type=\"button\"\n class=\"btn-next\"\n :disabled=\"internalDisabled\"\n :aria-label=\"nextText || t('el.pagination.next')\"\n :aria-disabled=\"internalDisabled\"\n @click=\"$emit('click', $event)\"\n >\n <span v-if=\"nextText\">{{ nextText }}</span>\n <el-icon v-else>\n <component :is=\"nextIcon\" />\n </el-icon>\n </button>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { useLocale } from '@element-plus/hooks'\nimport { ElIcon } from '@element-plus/components/icon'\nimport { paginationNextProps } from './next'\n\ndefineOptions({\n name: 'ElPaginationNext',\n})\n\nconst props = defineProps(paginationNextProps)\n\ndefineEmits(['click'])\n\nconst { t } = useLocale()\n\nconst internalDisabled = computed(\n () =>\n props.disabled ||\n props.currentPage === props.pageCount ||\n props.pageCount === 0\n)\n</script>\n"],"names":["_openBlock","_createElementBlock"],"mappings":";;;;;;mCAsBc,CAAA;AAAA,EACZ,IAAM,EAAA,kBAAA;AACR,CAAA,CAAA,CAAA;;;;;;;AAMA,IAAM,MAAA,EAAE,CAAE,EAAA,GAAI,SAAU,EAAA,CAAA;AAExB,IAAA,MAAM,gBAAmB,GAAA,QAAA,CAAA,MAAA,KAAA,CAAA,QAAA,IAAA,KAAA,CAAA,WAAA,KAAA,KAAA,CAAA,SAAA,IAAA,KAAA,CAAA,SAAA,KAAA,CAAA,CAAA,CAAA;AAAA,IACvB,OAAA,CACE,MAAM,MACN,KAAA;AACoB,MACxB,OAAAA,SAAA,EAAA,EAAAC,kBAAA,CAAA,QAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,40 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { paginationNextProps } from './next.mjs';
|
|
4
|
-
import _export_sfc from '../../../../../_virtual/plugin-vue_export-helper.mjs';
|
|
5
|
-
import { useLocale } from '../../../../hooks/use-locale/index.mjs';
|
|
1
|
+
import { buildProps } from '../../../../utils/vue/props/runtime.mjs';
|
|
2
|
+
import { iconPropType } from '../../../../utils/vue/icon.mjs';
|
|
6
3
|
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
disabled: unref(internalDisabled),
|
|
23
|
-
"aria-label": _ctx.nextText || unref(t)("el.pagination.next"),
|
|
24
|
-
"aria-disabled": unref(internalDisabled),
|
|
25
|
-
onClick: ($event) => _ctx.$emit("click", $event)
|
|
26
|
-
}, [
|
|
27
|
-
_ctx.nextText ? (openBlock(), createElementBlock("span", { key: 0 }, toDisplayString(_ctx.nextText), 1)) : (openBlock(), createBlock(unref(ElIcon), { key: 1 }, {
|
|
28
|
-
default: withCtx(() => [
|
|
29
|
-
(openBlock(), createBlock(resolveDynamicComponent(_ctx.nextIcon)))
|
|
30
|
-
]),
|
|
31
|
-
_: 1
|
|
32
|
-
}))
|
|
33
|
-
], 8, ["disabled", "aria-label", "aria-disabled", "onClick"]);
|
|
34
|
-
};
|
|
4
|
+
const paginationNextProps = buildProps({
|
|
5
|
+
disabled: Boolean,
|
|
6
|
+
currentPage: {
|
|
7
|
+
type: Number,
|
|
8
|
+
default: 1
|
|
9
|
+
},
|
|
10
|
+
pageCount: {
|
|
11
|
+
type: Number,
|
|
12
|
+
default: 50
|
|
13
|
+
},
|
|
14
|
+
nextText: {
|
|
15
|
+
type: String
|
|
16
|
+
},
|
|
17
|
+
nextIcon: {
|
|
18
|
+
type: iconPropType
|
|
35
19
|
}
|
|
36
20
|
});
|
|
37
|
-
var Next = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "next.vue"]]);
|
|
38
21
|
|
|
39
|
-
export {
|
|
22
|
+
export { paginationNextProps };
|
|
40
23
|
//# sourceMappingURL=next2.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"next2.mjs","sources":["../../../../../../../../packages/components/pagination/src/components/next.
|
|
1
|
+
{"version":3,"file":"next2.mjs","sources":["../../../../../../../../packages/components/pagination/src/components/next.ts"],"sourcesContent":["import { buildProps, iconPropType } from '@element-plus/utils'\nimport type { ExtractPropTypes } from 'vue'\nimport type Next from './next.vue'\n\nexport const paginationNextProps = buildProps({\n disabled: Boolean,\n currentPage: {\n type: Number,\n default: 1,\n },\n pageCount: {\n type: Number,\n default: 50,\n },\n nextText: {\n type: String,\n },\n nextIcon: {\n type: iconPropType,\n },\n} as const)\n\nexport type PaginationNextProps = ExtractPropTypes<typeof paginationNextProps>\n\nexport type NextInstance = InstanceType<typeof Next> & unknown\n"],"names":[],"mappings":";;;AACY,MAAC,mBAAmB,GAAG,UAAU,CAAC;AAC9C,EAAE,QAAQ,EAAE,OAAO;AACnB,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,MAAM;AAChB,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,YAAY;AACtB,GAAG;AACH,CAAC;;;;"}
|
|
@@ -2,7 +2,7 @@ import { defineComponent, getCurrentInstance, computed, ref, watch, provide, h }
|
|
|
2
2
|
import { ArrowLeft, ArrowRight } from '@element-plus/icons-vue';
|
|
3
3
|
import { elPaginationKey } from './constants.mjs';
|
|
4
4
|
import Prev from './components/prev2.mjs';
|
|
5
|
-
import Next from './components/
|
|
5
|
+
import Next from './components/next.mjs';
|
|
6
6
|
import Sizes from './components/sizes2.mjs';
|
|
7
7
|
import Jumper from './components/jumper2.mjs';
|
|
8
8
|
import Total from './components/total2.mjs';
|
|
@@ -1,69 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { GAP } from './util.mjs';
|
|
3
|
-
import Thumb from './thumb2.mjs';
|
|
4
|
-
import { barProps } from './bar2.mjs';
|
|
5
|
-
import { scrollbarContextKey } from './constants.mjs';
|
|
6
|
-
import _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';
|
|
1
|
+
import { buildProps } from '../../../utils/vue/props/runtime.mjs';
|
|
7
2
|
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
const sizeWidth = ref("");
|
|
17
|
-
const sizeHeight = ref("");
|
|
18
|
-
const ratioY = ref(1);
|
|
19
|
-
const ratioX = ref(1);
|
|
20
|
-
const handleScroll = (wrap) => {
|
|
21
|
-
if (wrap) {
|
|
22
|
-
const offsetHeight = wrap.offsetHeight - GAP;
|
|
23
|
-
const offsetWidth = wrap.offsetWidth - GAP;
|
|
24
|
-
moveY.value = wrap.scrollTop * 100 / offsetHeight * ratioY.value;
|
|
25
|
-
moveX.value = wrap.scrollLeft * 100 / offsetWidth * ratioX.value;
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
const update = () => {
|
|
29
|
-
const wrap = scrollbar == null ? void 0 : scrollbar.wrapElement;
|
|
30
|
-
if (!wrap)
|
|
31
|
-
return;
|
|
32
|
-
const offsetHeight = wrap.offsetHeight - GAP;
|
|
33
|
-
const offsetWidth = wrap.offsetWidth - GAP;
|
|
34
|
-
const originalHeight = offsetHeight ** 2 / wrap.scrollHeight;
|
|
35
|
-
const originalWidth = offsetWidth ** 2 / wrap.scrollWidth;
|
|
36
|
-
const height = Math.max(originalHeight, props.minSize);
|
|
37
|
-
const width = Math.max(originalWidth, props.minSize);
|
|
38
|
-
ratioY.value = originalHeight / (offsetHeight - originalHeight) / (height / (offsetHeight - height));
|
|
39
|
-
ratioX.value = originalWidth / (offsetWidth - originalWidth) / (width / (offsetWidth - width));
|
|
40
|
-
sizeHeight.value = height + GAP < offsetHeight ? `${height}px` : "";
|
|
41
|
-
sizeWidth.value = width + GAP < offsetWidth ? `${width}px` : "";
|
|
42
|
-
};
|
|
43
|
-
expose({
|
|
44
|
-
handleScroll,
|
|
45
|
-
update
|
|
46
|
-
});
|
|
47
|
-
return (_ctx, _cache) => {
|
|
48
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
49
|
-
createVNode(Thumb, {
|
|
50
|
-
move: moveX.value,
|
|
51
|
-
ratio: ratioX.value,
|
|
52
|
-
size: sizeWidth.value,
|
|
53
|
-
always: _ctx.always
|
|
54
|
-
}, null, 8, ["move", "ratio", "size", "always"]),
|
|
55
|
-
createVNode(Thumb, {
|
|
56
|
-
move: moveY.value,
|
|
57
|
-
ratio: ratioY.value,
|
|
58
|
-
size: sizeHeight.value,
|
|
59
|
-
vertical: "",
|
|
60
|
-
always: _ctx.always
|
|
61
|
-
}, null, 8, ["move", "ratio", "size", "always"])
|
|
62
|
-
], 64);
|
|
63
|
-
};
|
|
3
|
+
const barProps = buildProps({
|
|
4
|
+
always: {
|
|
5
|
+
type: Boolean,
|
|
6
|
+
default: true
|
|
7
|
+
},
|
|
8
|
+
minSize: {
|
|
9
|
+
type: Number,
|
|
10
|
+
required: true
|
|
64
11
|
}
|
|
65
12
|
});
|
|
66
|
-
var Bar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "bar.vue"]]);
|
|
67
13
|
|
|
68
|
-
export {
|
|
14
|
+
export { barProps };
|
|
69
15
|
//# sourceMappingURL=bar.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bar.mjs","sources":["../../../../../../../packages/components/scrollbar/src/bar.
|
|
1
|
+
{"version":3,"file":"bar.mjs","sources":["../../../../../../../packages/components/scrollbar/src/bar.ts"],"sourcesContent":["import { buildProps } from '@element-plus/utils'\nimport type { ExtractPropTypes } from 'vue'\nimport type Bar from './bar.vue'\n\nexport const barProps = buildProps({\n always: {\n type: Boolean,\n default: true,\n },\n minSize: {\n type: Number,\n required: true,\n },\n} as const)\nexport type BarProps = ExtractPropTypes<typeof barProps>\n\nexport type BarInstance = InstanceType<typeof Bar> & unknown\n"],"names":[],"mappings":";;AACY,MAAC,QAAQ,GAAG,UAAU,CAAC;AACnC,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,OAAO,EAAE;AACX,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,QAAQ,EAAE,IAAI;AAClB,GAAG;AACH,CAAC;;;;"}
|
|
@@ -1,15 +1,69 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { defineComponent, inject, ref, openBlock, createElementBlock, Fragment, createVNode } from 'vue';
|
|
2
|
+
import { GAP } from './util.mjs';
|
|
3
|
+
import Thumb from './thumb2.mjs';
|
|
4
|
+
import { barProps } from './bar.mjs';
|
|
5
|
+
import { scrollbarContextKey } from './constants.mjs';
|
|
6
|
+
import _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';
|
|
2
7
|
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
|
+
__name: "bar",
|
|
10
|
+
props: barProps,
|
|
11
|
+
setup(__props, { expose }) {
|
|
12
|
+
const props = __props;
|
|
13
|
+
const scrollbar = inject(scrollbarContextKey);
|
|
14
|
+
const moveX = ref(0);
|
|
15
|
+
const moveY = ref(0);
|
|
16
|
+
const sizeWidth = ref("");
|
|
17
|
+
const sizeHeight = ref("");
|
|
18
|
+
const ratioY = ref(1);
|
|
19
|
+
const ratioX = ref(1);
|
|
20
|
+
const handleScroll = (wrap) => {
|
|
21
|
+
if (wrap) {
|
|
22
|
+
const offsetHeight = wrap.offsetHeight - GAP;
|
|
23
|
+
const offsetWidth = wrap.offsetWidth - GAP;
|
|
24
|
+
moveY.value = wrap.scrollTop * 100 / offsetHeight * ratioY.value;
|
|
25
|
+
moveX.value = wrap.scrollLeft * 100 / offsetWidth * ratioX.value;
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
const update = () => {
|
|
29
|
+
const wrap = scrollbar == null ? void 0 : scrollbar.wrapElement;
|
|
30
|
+
if (!wrap)
|
|
31
|
+
return;
|
|
32
|
+
const offsetHeight = wrap.offsetHeight - GAP;
|
|
33
|
+
const offsetWidth = wrap.offsetWidth - GAP;
|
|
34
|
+
const originalHeight = offsetHeight ** 2 / wrap.scrollHeight;
|
|
35
|
+
const originalWidth = offsetWidth ** 2 / wrap.scrollWidth;
|
|
36
|
+
const height = Math.max(originalHeight, props.minSize);
|
|
37
|
+
const width = Math.max(originalWidth, props.minSize);
|
|
38
|
+
ratioY.value = originalHeight / (offsetHeight - originalHeight) / (height / (offsetHeight - height));
|
|
39
|
+
ratioX.value = originalWidth / (offsetWidth - originalWidth) / (width / (offsetWidth - width));
|
|
40
|
+
sizeHeight.value = height + GAP < offsetHeight ? `${height}px` : "";
|
|
41
|
+
sizeWidth.value = width + GAP < offsetWidth ? `${width}px` : "";
|
|
42
|
+
};
|
|
43
|
+
expose({
|
|
44
|
+
handleScroll,
|
|
45
|
+
update
|
|
46
|
+
});
|
|
47
|
+
return (_ctx, _cache) => {
|
|
48
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
49
|
+
createVNode(Thumb, {
|
|
50
|
+
move: moveX.value,
|
|
51
|
+
ratio: ratioX.value,
|
|
52
|
+
size: sizeWidth.value,
|
|
53
|
+
always: _ctx.always
|
|
54
|
+
}, null, 8, ["move", "ratio", "size", "always"]),
|
|
55
|
+
createVNode(Thumb, {
|
|
56
|
+
move: moveY.value,
|
|
57
|
+
ratio: ratioY.value,
|
|
58
|
+
size: sizeHeight.value,
|
|
59
|
+
vertical: "",
|
|
60
|
+
always: _ctx.always
|
|
61
|
+
}, null, 8, ["move", "ratio", "size", "always"])
|
|
62
|
+
], 64);
|
|
63
|
+
};
|
|
11
64
|
}
|
|
12
65
|
});
|
|
66
|
+
var Bar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "bar.vue"]]);
|
|
13
67
|
|
|
14
|
-
export {
|
|
68
|
+
export { Bar as default };
|
|
15
69
|
//# sourceMappingURL=bar2.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bar2.mjs","sources":["../../../../../../../packages/components/scrollbar/src/bar.
|
|
1
|
+
{"version":3,"file":"bar2.mjs","sources":["../../../../../../../packages/components/scrollbar/src/bar.vue"],"sourcesContent":["<template>\n <thumb :move=\"moveX\" :ratio=\"ratioX\" :size=\"sizeWidth\" :always=\"always\" />\n <thumb\n :move=\"moveY\"\n :ratio=\"ratioY\"\n :size=\"sizeHeight\"\n vertical\n :always=\"always\"\n />\n</template>\n\n<script lang=\"ts\" setup>\nimport { inject, ref } from 'vue'\nimport { GAP } from './util'\nimport Thumb from './thumb.vue'\nimport { barProps } from './bar'\nimport { scrollbarContextKey } from './constants'\n\nconst props = defineProps(barProps)\n\nconst scrollbar = inject(scrollbarContextKey)\n\nconst moveX = ref(0)\nconst moveY = ref(0)\nconst sizeWidth = ref('')\nconst sizeHeight = ref('')\nconst ratioY = ref(1)\nconst ratioX = ref(1)\n\nconst handleScroll = (wrap: HTMLDivElement) => {\n if (wrap) {\n const offsetHeight = wrap.offsetHeight - GAP\n const offsetWidth = wrap.offsetWidth - GAP\n\n moveY.value = ((wrap.scrollTop * 100) / offsetHeight) * ratioY.value\n moveX.value = ((wrap.scrollLeft * 100) / offsetWidth) * ratioX.value\n }\n}\n\nconst update = () => {\n const wrap = scrollbar?.wrapElement\n if (!wrap) return\n const offsetHeight = wrap.offsetHeight - GAP\n const offsetWidth = wrap.offsetWidth - GAP\n\n const originalHeight = offsetHeight ** 2 / wrap.scrollHeight\n const originalWidth = offsetWidth ** 2 / wrap.scrollWidth\n const height = Math.max(originalHeight, props.minSize)\n const width = Math.max(originalWidth, props.minSize)\n\n ratioY.value =\n originalHeight /\n (offsetHeight - originalHeight) /\n (height / (offsetHeight - height))\n ratioX.value =\n originalWidth /\n (offsetWidth - originalWidth) /\n (width / (offsetWidth - width))\n\n sizeHeight.value = height + GAP < offsetHeight ? `${height}px` : ''\n sizeWidth.value = width + GAP < offsetWidth ? `${width}px` : ''\n}\n\ndefineExpose({\n handleScroll,\n update,\n})\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,IAAM,MAAA,SAAA,GAAY,OAAO,mBAAmB,CAAA,CAAA;AAE5C,IAAM,MAAA,KAAA,GAAQ,IAAI,CAAC,CAAA,CAAA;AACnB,IAAM,MAAA,KAAA,GAAQ,IAAI,CAAC,CAAA,CAAA;AACnB,IAAM,MAAA,SAAA,GAAY,IAAI,EAAE,CAAA,CAAA;AACxB,IAAM,MAAA,UAAA,GAAa,IAAI,EAAE,CAAA,CAAA;AACzB,IAAM,MAAA,MAAA,GAAS,IAAI,CAAC,CAAA,CAAA;AACpB,IAAM,MAAA,MAAA,GAAS,IAAI,CAAC,CAAA,CAAA;AAEpB,IAAM,MAAA,YAAA,GAAe,CAAC,IAAyB,KAAA;AAC7C,MAAA,IAAI,IAAM,EAAA;AACR,QAAM,MAAA,YAAA,GAAe,KAAK,YAAe,GAAA,GAAA,CAAA;AACzC,QAAM,MAAA,WAAA,GAAc,KAAK,WAAc,GAAA,GAAA,CAAA;AAEvC,QAAA,KAAA,CAAM,KAAU,GAAA,IAAA,CAAK,SAAY,GAAA,GAAA,GAAO,eAAgB,MAAO,CAAA,KAAA,CAAA;AAC/D,QAAA,KAAA,CAAM,KAAU,GAAA,IAAA,CAAK,UAAa,GAAA,GAAA,GAAO,cAAe,MAAO,CAAA,KAAA,CAAA;AAAA,OACjE;AAAA,KACF,CAAA;AAEA,IAAA,MAAM,SAAS,MAAM;AACnB,MAAA,MAAM,OAAO,SAAW,IAAA,IAAA,GAAA,KAAA,CAAA,GAAA,SAAA,CAAA,WAAA,CAAA;AACxB,MAAA,IAAI,CAAC,IAAM;AACX,QAAM,OAAA;AACN,MAAM,MAAA,YAAA,OAAmB,CAAc,YAAA,GAAA,GAAA,CAAA;AAEvC,MAAM,MAAA,WAAA,GAAA,IAAiC,CAAA,WAAA,GAAA,GAAA,CAAI;AAC3C,MAAM,MAAA,cAAA,GAA+B,YAAA,IAAA,CAAA,GAAS,IAAA,CAAA,YAAA,CAAA;AAC9C,MAAA,MAAM,aAAS,GAAS,WAAA,IAAA,CAAA,QAAsB,WAAO,CAAA;AACrD,MAAA,MAAM,MAAQ,GAAA,IAAK,CAAI,GAAA,CAAA,cAAe,OAAa,CAAA,OAAA,CAAA,CAAA;AAEnD,MAAA,MAAA,KACE,GAAA,IAAA,CAAA,GAAA,CAAA,aACgB,EAAA,KAAA,CAAA,OAAA,CAAA,CAAA;AAElB,MAAA,MAAA,CAAO,KACL,GAAA,cAAA,IACe,YAAA,GAAA,cAAA,CAAA,UACL,IAAc,YAAA,GAAA,MAAA,CAAA,CAAA,CAAA;AAE1B,MAAA,MAAA,CAAA,qBAA4B,IAAA,WAAqB,GAAA,aAAgB,CAAA,IAAA,KAAA,IAAA,WAAA,GAAA,KAAA,CAAA,CAAA,CAAA;AACjE,MAAA,UAAU,SAAgB,MAAA,GAAA,GAAA,GAAoB,YAAA,GAAG,SAAY,CAAA,EAAA,CAAA,GAAA,EAAA,CAAA;AAAA,MAC/D,SAAA,CAAA,KAAA,GAAA,KAAA,GAAA,GAAA,GAAA,WAAA,GAAA,CAAA,EAAA,KAAA,CAAA,EAAA,CAAA,GAAA,EAAA,CAAA;AAEA,KAAa,CAAA;AAAA,IACX,MAAA,CAAA;AAAA,MACA,YAAA;AAAA,MACD,MAAA;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch, nextTick, provide, reactive, onActivated, onMounted, onUpdated, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, normalizeStyle, createBlock, resolveDynamicComponent, withCtx, renderSlot, createCommentVNode } from 'vue';
|
|
2
2
|
import { useResizeObserver, useEventListener } from '@vueuse/core';
|
|
3
|
-
import Bar from './
|
|
3
|
+
import Bar from './bar2.mjs';
|
|
4
4
|
import { scrollbarContextKey } from './constants.mjs';
|
|
5
5
|
import { scrollbarProps, scrollbarEmits } from './scrollbar.mjs';
|
|
6
6
|
import _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Timeline from './src/timeline.mjs';
|
|
2
|
-
import TimelineItem from './src/timeline-
|
|
3
|
-
export { timelineItemProps } from './src/timeline-
|
|
2
|
+
import TimelineItem from './src/timeline-item2.mjs';
|
|
3
|
+
export { timelineItemProps } from './src/timeline-item.mjs';
|
|
4
4
|
import { withInstall, withNoopInstall } from '../../utils/vue/install.mjs';
|
|
5
5
|
|
|
6
6
|
const ElTimeline = withInstall(Timeline, {
|
|
@@ -1,76 +1,37 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { timelineItemProps } from './timeline-item2.mjs';
|
|
4
|
-
import _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';
|
|
5
|
-
import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
|
|
1
|
+
import { buildProps } from '../../../utils/vue/props/runtime.mjs';
|
|
2
|
+
import { iconPropType } from '../../../utils/vue/icon.mjs';
|
|
6
3
|
|
|
7
|
-
const
|
|
8
|
-
|
|
4
|
+
const timelineItemProps = buildProps({
|
|
5
|
+
timestamp: {
|
|
6
|
+
type: String,
|
|
7
|
+
default: ""
|
|
8
|
+
},
|
|
9
|
+
hideTimestamp: Boolean,
|
|
10
|
+
center: Boolean,
|
|
11
|
+
placement: {
|
|
12
|
+
type: String,
|
|
13
|
+
values: ["top", "bottom"],
|
|
14
|
+
default: "bottom"
|
|
15
|
+
},
|
|
16
|
+
type: {
|
|
17
|
+
type: String,
|
|
18
|
+
values: ["primary", "success", "warning", "danger", "info"],
|
|
19
|
+
default: ""
|
|
20
|
+
},
|
|
21
|
+
color: {
|
|
22
|
+
type: String,
|
|
23
|
+
default: ""
|
|
24
|
+
},
|
|
25
|
+
size: {
|
|
26
|
+
type: String,
|
|
27
|
+
values: ["normal", "large"],
|
|
28
|
+
default: "normal"
|
|
29
|
+
},
|
|
30
|
+
icon: {
|
|
31
|
+
type: iconPropType
|
|
32
|
+
},
|
|
33
|
+
hollow: Boolean
|
|
9
34
|
});
|
|
10
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
|
-
...__default__,
|
|
12
|
-
props: timelineItemProps,
|
|
13
|
-
setup(__props) {
|
|
14
|
-
const props = __props;
|
|
15
|
-
const ns = useNamespace("timeline-item");
|
|
16
|
-
const defaultNodeKls = computed(() => [
|
|
17
|
-
ns.e("node"),
|
|
18
|
-
ns.em("node", props.size || ""),
|
|
19
|
-
ns.em("node", props.type || ""),
|
|
20
|
-
ns.is("hollow", props.hollow)
|
|
21
|
-
]);
|
|
22
|
-
return (_ctx, _cache) => {
|
|
23
|
-
return openBlock(), createElementBlock("li", {
|
|
24
|
-
class: normalizeClass([unref(ns).b(), { [unref(ns).e("center")]: _ctx.center }])
|
|
25
|
-
}, [
|
|
26
|
-
createElementVNode("div", {
|
|
27
|
-
class: normalizeClass(unref(ns).e("tail"))
|
|
28
|
-
}, null, 2),
|
|
29
|
-
!_ctx.$slots.dot ? (openBlock(), createElementBlock("div", {
|
|
30
|
-
key: 0,
|
|
31
|
-
class: normalizeClass(unref(defaultNodeKls)),
|
|
32
|
-
style: normalizeStyle({
|
|
33
|
-
backgroundColor: _ctx.color
|
|
34
|
-
})
|
|
35
|
-
}, [
|
|
36
|
-
_ctx.icon ? (openBlock(), createBlock(unref(ElIcon), {
|
|
37
|
-
key: 0,
|
|
38
|
-
class: normalizeClass(unref(ns).e("icon"))
|
|
39
|
-
}, {
|
|
40
|
-
default: withCtx(() => [
|
|
41
|
-
(openBlock(), createBlock(resolveDynamicComponent(_ctx.icon)))
|
|
42
|
-
]),
|
|
43
|
-
_: 1
|
|
44
|
-
}, 8, ["class"])) : createCommentVNode("v-if", true)
|
|
45
|
-
], 6)) : createCommentVNode("v-if", true),
|
|
46
|
-
_ctx.$slots.dot ? (openBlock(), createElementBlock("div", {
|
|
47
|
-
key: 1,
|
|
48
|
-
class: normalizeClass(unref(ns).e("dot"))
|
|
49
|
-
}, [
|
|
50
|
-
renderSlot(_ctx.$slots, "dot")
|
|
51
|
-
], 2)) : createCommentVNode("v-if", true),
|
|
52
|
-
createElementVNode("div", {
|
|
53
|
-
class: normalizeClass(unref(ns).e("wrapper"))
|
|
54
|
-
}, [
|
|
55
|
-
!_ctx.hideTimestamp && _ctx.placement === "top" ? (openBlock(), createElementBlock("div", {
|
|
56
|
-
key: 0,
|
|
57
|
-
class: normalizeClass([unref(ns).e("timestamp"), unref(ns).is("top")])
|
|
58
|
-
}, toDisplayString(_ctx.timestamp), 3)) : createCommentVNode("v-if", true),
|
|
59
|
-
createElementVNode("div", {
|
|
60
|
-
class: normalizeClass(unref(ns).e("content"))
|
|
61
|
-
}, [
|
|
62
|
-
renderSlot(_ctx.$slots, "default")
|
|
63
|
-
], 2),
|
|
64
|
-
!_ctx.hideTimestamp && _ctx.placement === "bottom" ? (openBlock(), createElementBlock("div", {
|
|
65
|
-
key: 1,
|
|
66
|
-
class: normalizeClass([unref(ns).e("timestamp"), unref(ns).is("bottom")])
|
|
67
|
-
}, toDisplayString(_ctx.timestamp), 3)) : createCommentVNode("v-if", true)
|
|
68
|
-
], 2)
|
|
69
|
-
], 2);
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
});
|
|
73
|
-
var TimelineItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "timeline-item.vue"]]);
|
|
74
35
|
|
|
75
|
-
export {
|
|
36
|
+
export { timelineItemProps };
|
|
76
37
|
//# sourceMappingURL=timeline-item.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"timeline-item.mjs","sources":["../../../../../../../packages/components/timeline/src/timeline-item.
|
|
1
|
+
{"version":3,"file":"timeline-item.mjs","sources":["../../../../../../../packages/components/timeline/src/timeline-item.ts"],"sourcesContent":["import { buildProps, iconPropType } from '@element-plus/utils'\nimport type { ExtractPropTypes } from 'vue'\nimport type TimelineItem from './timeline-item.vue'\n\nexport const timelineItemProps = buildProps({\n /**\n * @description timestamp content\n */\n timestamp: {\n type: String,\n default: '',\n },\n /**\n * @description whether to show timestamp\n */\n hideTimestamp: Boolean,\n /**\n * @description whether vertically centered\n */\n center: Boolean,\n /**\n * @description position of timestamp\n */\n placement: {\n type: String,\n values: ['top', 'bottom'],\n default: 'bottom',\n },\n /**\n * @description node type\n */\n type: {\n type: String,\n values: ['primary', 'success', 'warning', 'danger', 'info'],\n default: '',\n },\n /**\n * @description background color of node\n */\n color: {\n type: String,\n default: '',\n },\n /**\n * @description node size\n */\n size: {\n type: String,\n values: ['normal', 'large'],\n default: 'normal',\n },\n /**\n * @description icon component\n */\n icon: {\n type: iconPropType,\n },\n /**\n * @description icon is hollow\n */\n hollow: Boolean,\n} as const)\nexport type TimelineItemProps = ExtractPropTypes<typeof timelineItemProps>\n\nexport type TimelineItemInstance = InstanceType<typeof TimelineItem> & unknown\n"],"names":[],"mappings":";;;AACY,MAAC,iBAAiB,GAAG,UAAU,CAAC;AAC5C,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,aAAa,EAAE,OAAO;AACxB,EAAE,MAAM,EAAE,OAAO;AACjB,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC;AAC7B,IAAI,OAAO,EAAE,QAAQ;AACrB,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,CAAC;AAC/D,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAC;AAC/B,IAAI,OAAO,EAAE,QAAQ;AACrB,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,YAAY;AACtB,GAAG;AACH,EAAE,MAAM,EAAE,OAAO;AACjB,CAAC;;;;"}
|
|
@@ -1,37 +1,76 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, normalizeStyle, createBlock, withCtx, resolveDynamicComponent, createCommentVNode, renderSlot, toDisplayString } from 'vue';
|
|
2
|
+
import { ElIcon } from '../../icon/index.mjs';
|
|
3
|
+
import { timelineItemProps } from './timeline-item.mjs';
|
|
4
|
+
import _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';
|
|
5
|
+
import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
|
|
3
6
|
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
type: String,
|
|
7
|
-
default: ""
|
|
8
|
-
},
|
|
9
|
-
hideTimestamp: Boolean,
|
|
10
|
-
center: Boolean,
|
|
11
|
-
placement: {
|
|
12
|
-
type: String,
|
|
13
|
-
values: ["top", "bottom"],
|
|
14
|
-
default: "bottom"
|
|
15
|
-
},
|
|
16
|
-
type: {
|
|
17
|
-
type: String,
|
|
18
|
-
values: ["primary", "success", "warning", "danger", "info"],
|
|
19
|
-
default: ""
|
|
20
|
-
},
|
|
21
|
-
color: {
|
|
22
|
-
type: String,
|
|
23
|
-
default: ""
|
|
24
|
-
},
|
|
25
|
-
size: {
|
|
26
|
-
type: String,
|
|
27
|
-
values: ["normal", "large"],
|
|
28
|
-
default: "normal"
|
|
29
|
-
},
|
|
30
|
-
icon: {
|
|
31
|
-
type: iconPropType
|
|
32
|
-
},
|
|
33
|
-
hollow: Boolean
|
|
7
|
+
const __default__ = defineComponent({
|
|
8
|
+
name: "ElTimelineItem"
|
|
34
9
|
});
|
|
10
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
|
+
...__default__,
|
|
12
|
+
props: timelineItemProps,
|
|
13
|
+
setup(__props) {
|
|
14
|
+
const props = __props;
|
|
15
|
+
const ns = useNamespace("timeline-item");
|
|
16
|
+
const defaultNodeKls = computed(() => [
|
|
17
|
+
ns.e("node"),
|
|
18
|
+
ns.em("node", props.size || ""),
|
|
19
|
+
ns.em("node", props.type || ""),
|
|
20
|
+
ns.is("hollow", props.hollow)
|
|
21
|
+
]);
|
|
22
|
+
return (_ctx, _cache) => {
|
|
23
|
+
return openBlock(), createElementBlock("li", {
|
|
24
|
+
class: normalizeClass([unref(ns).b(), { [unref(ns).e("center")]: _ctx.center }])
|
|
25
|
+
}, [
|
|
26
|
+
createElementVNode("div", {
|
|
27
|
+
class: normalizeClass(unref(ns).e("tail"))
|
|
28
|
+
}, null, 2),
|
|
29
|
+
!_ctx.$slots.dot ? (openBlock(), createElementBlock("div", {
|
|
30
|
+
key: 0,
|
|
31
|
+
class: normalizeClass(unref(defaultNodeKls)),
|
|
32
|
+
style: normalizeStyle({
|
|
33
|
+
backgroundColor: _ctx.color
|
|
34
|
+
})
|
|
35
|
+
}, [
|
|
36
|
+
_ctx.icon ? (openBlock(), createBlock(unref(ElIcon), {
|
|
37
|
+
key: 0,
|
|
38
|
+
class: normalizeClass(unref(ns).e("icon"))
|
|
39
|
+
}, {
|
|
40
|
+
default: withCtx(() => [
|
|
41
|
+
(openBlock(), createBlock(resolveDynamicComponent(_ctx.icon)))
|
|
42
|
+
]),
|
|
43
|
+
_: 1
|
|
44
|
+
}, 8, ["class"])) : createCommentVNode("v-if", true)
|
|
45
|
+
], 6)) : createCommentVNode("v-if", true),
|
|
46
|
+
_ctx.$slots.dot ? (openBlock(), createElementBlock("div", {
|
|
47
|
+
key: 1,
|
|
48
|
+
class: normalizeClass(unref(ns).e("dot"))
|
|
49
|
+
}, [
|
|
50
|
+
renderSlot(_ctx.$slots, "dot")
|
|
51
|
+
], 2)) : createCommentVNode("v-if", true),
|
|
52
|
+
createElementVNode("div", {
|
|
53
|
+
class: normalizeClass(unref(ns).e("wrapper"))
|
|
54
|
+
}, [
|
|
55
|
+
!_ctx.hideTimestamp && _ctx.placement === "top" ? (openBlock(), createElementBlock("div", {
|
|
56
|
+
key: 0,
|
|
57
|
+
class: normalizeClass([unref(ns).e("timestamp"), unref(ns).is("top")])
|
|
58
|
+
}, toDisplayString(_ctx.timestamp), 3)) : createCommentVNode("v-if", true),
|
|
59
|
+
createElementVNode("div", {
|
|
60
|
+
class: normalizeClass(unref(ns).e("content"))
|
|
61
|
+
}, [
|
|
62
|
+
renderSlot(_ctx.$slots, "default")
|
|
63
|
+
], 2),
|
|
64
|
+
!_ctx.hideTimestamp && _ctx.placement === "bottom" ? (openBlock(), createElementBlock("div", {
|
|
65
|
+
key: 1,
|
|
66
|
+
class: normalizeClass([unref(ns).e("timestamp"), unref(ns).is("bottom")])
|
|
67
|
+
}, toDisplayString(_ctx.timestamp), 3)) : createCommentVNode("v-if", true)
|
|
68
|
+
], 2)
|
|
69
|
+
], 2);
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
var TimelineItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "timeline-item.vue"]]);
|
|
35
74
|
|
|
36
|
-
export {
|
|
75
|
+
export { TimelineItem as default };
|
|
37
76
|
//# sourceMappingURL=timeline-item2.mjs.map
|