@element-plus/nightly 0.0.20250822 → 0.0.20250824
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.full.js +4 -6
- package/dist/index.full.min.js +3 -3
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +3 -3
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +4 -6
- 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/components/alert/index.mjs +2 -2
- package/es/components/alert/src/alert.mjs +41 -108
- package/es/components/alert/src/alert.mjs.map +1 -1
- package/es/components/alert/src/alert2.mjs +108 -41
- package/es/components/alert/src/alert2.mjs.map +1 -1
- package/es/components/badge/index.mjs +2 -2
- package/es/components/badge/src/badge.mjs +32 -71
- package/es/components/badge/src/badge.mjs.map +1 -1
- package/es/components/badge/src/badge2.mjs +71 -32
- package/es/components/badge/src/badge2.mjs.map +1 -1
- package/es/components/breadcrumb/src/breadcrumb-item.vue.d.ts +1 -1
- package/es/components/cascader/src/cascader.mjs +1 -1
- package/es/components/cascader-panel/src/index.mjs +1 -1
- package/es/components/cascader-panel/src/menu.mjs +1 -1
- package/es/components/cascader-panel/src/node.mjs +115 -179
- package/es/components/cascader-panel/src/node.mjs.map +1 -1
- package/es/components/cascader-panel/src/node2.mjs +177 -115
- package/es/components/cascader-panel/src/node2.mjs.map +1 -1
- package/es/components/cascader-panel/src/store.mjs +1 -1
- package/es/components/check-tag/index.mjs +2 -2
- package/es/components/check-tag/src/check-tag.mjs +38 -14
- package/es/components/check-tag/src/check-tag.mjs.map +1 -1
- package/es/components/check-tag/src/check-tag2.mjs +14 -38
- package/es/components/check-tag/src/check-tag2.mjs.map +1 -1
- package/es/components/checkbox/index.mjs +2 -2
- package/es/components/checkbox/src/checkbox-group.mjs +30 -72
- package/es/components/checkbox/src/checkbox-group.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox-group2.mjs +72 -30
- package/es/components/checkbox/src/checkbox-group2.mjs.map +1 -1
- package/es/components/color-picker/src/color-picker2.mjs +1 -1
- package/es/components/color-picker/style/css.d.ts +1 -1
- package/es/components/color-picker/style/css.mjs +1 -1
- package/es/components/color-picker-panel/index.mjs +2 -2
- package/es/components/color-picker-panel/src/color-picker-panel.mjs +23 -117
- package/es/components/color-picker-panel/src/color-picker-panel.mjs.map +1 -1
- package/es/components/color-picker-panel/src/color-picker-panel2.mjs +117 -23
- package/es/components/color-picker-panel/src/color-picker-panel2.mjs.map +1 -1
- package/es/components/color-picker-panel/src/components/predefine.mjs +1 -1
- package/es/components/dropdown/src/dropdown.mjs +1 -1
- package/es/components/form/src/types.d.ts +1 -62
- package/es/components/index.mjs +17 -17
- package/es/components/input-tag/src/input-tag.mjs +1 -1
- package/es/components/menu/index.mjs +2 -2
- package/es/components/menu/src/menu-item-group.mjs +33 -4
- package/es/components/menu/src/menu-item-group.mjs.map +1 -1
- package/es/components/menu/src/menu-item-group2.mjs +4 -33
- package/es/components/menu/src/menu-item-group2.mjs.map +1 -1
- package/es/components/notification/index.mjs +1 -1
- package/es/components/notification/src/notification.mjs +73 -140
- package/es/components/notification/src/notification.mjs.map +1 -1
- package/es/components/notification/src/notification2.mjs +140 -73
- package/es/components/notification/src/notification2.mjs.map +1 -1
- package/es/components/notification/src/notify.mjs +2 -2
- package/es/components/popover/index.mjs +2 -2
- package/es/components/popover/src/popover.mjs +66 -112
- package/es/components/popover/src/popover.mjs.map +1 -1
- package/es/components/popover/src/popover2.mjs +112 -66
- package/es/components/popover/src/popover2.mjs.map +1 -1
- package/es/components/popper/src/trigger2.mjs +1 -1
- package/es/components/select/src/select.mjs +1 -1
- package/es/components/select-v2/src/defaults.mjs +1 -1
- package/es/components/skeleton/index.mjs +2 -2
- package/es/components/skeleton/src/skeleton.mjs +48 -18
- package/es/components/skeleton/src/skeleton.mjs.map +1 -1
- package/es/components/skeleton/src/skeleton2.mjs +18 -48
- package/es/components/skeleton/src/skeleton2.mjs.map +1 -1
- package/es/components/tag/index.mjs +2 -2
- package/es/components/tag/src/tag.mjs +99 -27
- package/es/components/tag/src/tag.mjs.map +1 -1
- package/es/components/tag/src/tag2.mjs +27 -99
- package/es/components/tag/src/tag2.mjs.map +1 -1
- package/es/components/tooltip/index.mjs +1 -1
- package/es/components/tooltip/src/tooltip.mjs +1 -1
- package/es/components/tooltip/src/tooltip2.mjs +1 -1
- package/es/components/tooltip/src/trigger.mjs +72 -14
- package/es/components/tooltip/src/trigger.mjs.map +1 -1
- package/es/components/tooltip/src/trigger2.mjs +14 -72
- package/es/components/tooltip/src/trigger2.mjs.map +1 -1
- package/es/components/upload/index.mjs +2 -2
- package/es/components/upload/src/upload-content.mjs +1 -1
- package/es/components/upload/src/upload-content2.mjs +1 -1
- package/es/components/upload/src/upload-list.mjs +1 -1
- package/es/components/upload/src/upload.mjs +97 -125
- package/es/components/upload/src/upload.mjs.map +1 -1
- package/es/components/upload/src/upload2.mjs +125 -97
- package/es/components/upload/src/upload2.mjs.map +1 -1
- package/es/components/upload/src/use-handlers.mjs +1 -1
- package/es/components/watermark/index.mjs +2 -2
- package/es/components/watermark/src/watermark.mjs +27 -221
- package/es/components/watermark/src/watermark.mjs.map +1 -1
- package/es/components/watermark/src/watermark2.mjs +221 -27
- package/es/components/watermark/src/watermark2.mjs.map +1 -1
- package/es/directives/click-outside/index.mjs +1 -1
- package/es/hooks/use-locale/index.d.ts +5 -2
- package/es/hooks/use-locale/index.mjs.map +1 -1
- package/es/hooks/use-lockscreen/index.mjs +1 -1
- package/es/index.d.ts +436 -256
- package/es/index.mjs +17 -17
- package/es/utils/typescript.d.ts +61 -0
- package/es/utils/typescript.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/components/alert/index.js +2 -2
- package/lib/components/alert/src/alert.js +42 -107
- package/lib/components/alert/src/alert.js.map +1 -1
- package/lib/components/alert/src/alert2.js +107 -42
- package/lib/components/alert/src/alert2.js.map +1 -1
- package/lib/components/badge/index.js +2 -2
- package/lib/components/badge/src/badge.js +32 -71
- package/lib/components/badge/src/badge.js.map +1 -1
- package/lib/components/badge/src/badge2.js +71 -32
- package/lib/components/badge/src/badge2.js.map +1 -1
- package/lib/components/breadcrumb/src/breadcrumb-item.vue.d.ts +1 -1
- package/lib/components/cascader/src/cascader.js +1 -1
- package/lib/components/cascader-panel/src/index.js +1 -1
- package/lib/components/cascader-panel/src/menu.js +1 -1
- package/lib/components/cascader-panel/src/node.js +115 -179
- package/lib/components/cascader-panel/src/node.js.map +1 -1
- package/lib/components/cascader-panel/src/node2.js +177 -115
- package/lib/components/cascader-panel/src/node2.js.map +1 -1
- package/lib/components/cascader-panel/src/store.js +1 -1
- package/lib/components/check-tag/index.js +2 -2
- package/lib/components/check-tag/src/check-tag.js +38 -15
- package/lib/components/check-tag/src/check-tag.js.map +1 -1
- package/lib/components/check-tag/src/check-tag2.js +15 -38
- package/lib/components/check-tag/src/check-tag2.js.map +1 -1
- package/lib/components/checkbox/index.js +2 -2
- package/lib/components/checkbox/src/checkbox-group.js +30 -71
- package/lib/components/checkbox/src/checkbox-group.js.map +1 -1
- package/lib/components/checkbox/src/checkbox-group2.js +71 -30
- package/lib/components/checkbox/src/checkbox-group2.js.map +1 -1
- package/lib/components/color-picker/src/color-picker2.js +1 -1
- package/lib/components/color-picker/style/css.d.ts +1 -1
- package/lib/components/color-picker/style/css.js +1 -1
- package/lib/components/color-picker-panel/index.js +2 -2
- package/lib/components/color-picker-panel/src/color-picker-panel.js +26 -117
- package/lib/components/color-picker-panel/src/color-picker-panel.js.map +1 -1
- package/lib/components/color-picker-panel/src/color-picker-panel2.js +117 -26
- package/lib/components/color-picker-panel/src/color-picker-panel2.js.map +1 -1
- package/lib/components/color-picker-panel/src/components/predefine.js +1 -1
- package/lib/components/dropdown/src/dropdown.js +1 -1
- package/lib/components/form/src/types.d.ts +1 -62
- package/lib/components/index.js +22 -22
- package/lib/components/input-tag/src/input-tag.js +1 -1
- package/lib/components/menu/index.js +2 -2
- package/lib/components/menu/src/menu-item-group.js +33 -4
- package/lib/components/menu/src/menu-item-group.js.map +1 -1
- package/lib/components/menu/src/menu-item-group2.js +4 -33
- package/lib/components/menu/src/menu-item-group2.js.map +1 -1
- package/lib/components/notification/index.js +1 -1
- package/lib/components/notification/src/notification.js +74 -139
- package/lib/components/notification/src/notification.js.map +1 -1
- package/lib/components/notification/src/notification2.js +139 -74
- package/lib/components/notification/src/notification2.js.map +1 -1
- package/lib/components/notification/src/notify.js +2 -2
- package/lib/components/popover/index.js +2 -2
- package/lib/components/popover/src/popover.js +67 -112
- package/lib/components/popover/src/popover.js.map +1 -1
- package/lib/components/popover/src/popover2.js +112 -67
- package/lib/components/popover/src/popover2.js.map +1 -1
- package/lib/components/popper/src/trigger2.js +1 -1
- package/lib/components/select/src/select.js +1 -1
- package/lib/components/select-v2/src/defaults.js +1 -1
- package/lib/components/skeleton/index.js +2 -2
- package/lib/components/skeleton/src/skeleton.js +48 -18
- package/lib/components/skeleton/src/skeleton.js.map +1 -1
- package/lib/components/skeleton/src/skeleton2.js +18 -48
- package/lib/components/skeleton/src/skeleton2.js.map +1 -1
- package/lib/components/tag/index.js +2 -2
- package/lib/components/tag/src/tag.js +99 -28
- package/lib/components/tag/src/tag.js.map +1 -1
- package/lib/components/tag/src/tag2.js +28 -99
- package/lib/components/tag/src/tag2.js.map +1 -1
- package/lib/components/tooltip/index.js +1 -1
- package/lib/components/tooltip/src/tooltip.js +1 -1
- package/lib/components/tooltip/src/tooltip2.js +1 -1
- package/lib/components/tooltip/src/trigger.js +72 -14
- package/lib/components/tooltip/src/trigger.js.map +1 -1
- package/lib/components/tooltip/src/trigger2.js +14 -72
- package/lib/components/tooltip/src/trigger2.js.map +1 -1
- package/lib/components/upload/index.js +2 -2
- package/lib/components/upload/src/upload-content.js +1 -1
- package/lib/components/upload/src/upload-content2.js +1 -1
- package/lib/components/upload/src/upload-list.js +1 -1
- package/lib/components/upload/src/upload.js +100 -125
- package/lib/components/upload/src/upload.js.map +1 -1
- package/lib/components/upload/src/upload2.js +125 -100
- package/lib/components/upload/src/upload2.js.map +1 -1
- package/lib/components/upload/src/use-handlers.js +1 -1
- package/lib/components/watermark/index.js +2 -2
- package/lib/components/watermark/src/watermark.js +27 -221
- package/lib/components/watermark/src/watermark.js.map +1 -1
- package/lib/components/watermark/src/watermark2.js +221 -27
- package/lib/components/watermark/src/watermark2.js.map +1 -1
- package/lib/directives/click-outside/index.js +1 -1
- package/lib/hooks/use-locale/index.d.ts +5 -2
- package/lib/hooks/use-locale/index.js.map +1 -1
- package/lib/hooks/use-lockscreen/index.js +1 -1
- package/lib/index.d.ts +436 -256
- package/lib/index.js +22 -22
- package/lib/utils/typescript.d.ts +61 -0
- package/lib/utils/typescript.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/web-types.json +1 -1
package/es/index.mjs
CHANGED
@@ -2,9 +2,13 @@ import installer from './defaults.mjs';
|
|
2
2
|
export { default } from './defaults.mjs';
|
3
3
|
export { makeInstaller } from './make-installer.mjs';
|
4
4
|
export { default as dayjs } from 'dayjs';
|
5
|
+
export { default as FixedSizeGrid } from './components/virtual-list/src/components/fixed-size-grid.mjs';
|
6
|
+
export { default as DynamicSizeGrid } from './components/virtual-list/src/components/dynamic-size-grid.mjs';
|
7
|
+
export { default as ElLoadingDirective, default as vLoading } from './components/loading/src/directive.mjs';
|
8
|
+
export { default as ElLoadingService } from './components/loading/src/service.mjs';
|
5
9
|
export { affixEmits, affixProps } from './components/affix/src/affix.mjs';
|
6
10
|
export { ElAffix } from './components/affix/index.mjs';
|
7
|
-
export { alertEffects, alertEmits, alertProps } from './components/alert/src/
|
11
|
+
export { alertEffects, alertEmits, alertProps } from './components/alert/src/alert.mjs';
|
8
12
|
export { ElAlert } from './components/alert/index.mjs';
|
9
13
|
export { autocompleteEmits, autocompleteProps } from './components/autocomplete/src/autocomplete.mjs';
|
10
14
|
export { ElAutocomplete } from './components/autocomplete/index.mjs';
|
@@ -12,7 +16,7 @@ export { avatarEmits, avatarProps } from './components/avatar/src/avatar.mjs';
|
|
12
16
|
export { ElAvatar } from './components/avatar/index.mjs';
|
13
17
|
export { backtopEmits, backtopProps } from './components/backtop/src/backtop.mjs';
|
14
18
|
export { ElBacktop } from './components/backtop/index.mjs';
|
15
|
-
export { badgeProps } from './components/badge/src/
|
19
|
+
export { badgeProps } from './components/badge/src/badge.mjs';
|
16
20
|
export { ElBadge } from './components/badge/index.mjs';
|
17
21
|
export { breadcrumbProps } from './components/breadcrumb/src/breadcrumb.mjs';
|
18
22
|
export { breadcrumbItemProps } from './components/breadcrumb/src/breadcrumb-item.mjs';
|
@@ -34,9 +38,9 @@ export { ElCascader } from './components/cascader/index.mjs';
|
|
34
38
|
export { CASCADER_PANEL_INJECTION_KEY } from './components/cascader-panel/src/types.mjs';
|
35
39
|
export { CommonProps, DefaultProps, cascaderPanelEmits, cascaderPanelProps, useCascaderConfig } from './components/cascader-panel/src/config.mjs';
|
36
40
|
export { ElCascaderPanel } from './components/cascader-panel/index.mjs';
|
37
|
-
export { checkTagEmits, checkTagProps } from './components/check-tag/src/check-
|
41
|
+
export { checkTagEmits, checkTagProps } from './components/check-tag/src/check-tag2.mjs';
|
38
42
|
export { ElCheckTag } from './components/check-tag/index.mjs';
|
39
|
-
export { checkboxGroupEmits, checkboxGroupProps } from './components/checkbox/src/checkbox-
|
43
|
+
export { checkboxGroupEmits, checkboxGroupProps } from './components/checkbox/src/checkbox-group.mjs';
|
40
44
|
export { checkboxEmits, checkboxProps } from './components/checkbox/src/checkbox.mjs';
|
41
45
|
export { checkboxGroupContextKey } from './components/checkbox/src/constants.mjs';
|
42
46
|
export { ElCheckbox, ElCheckboxButton, ElCheckboxGroup } from './components/checkbox/index.mjs';
|
@@ -47,7 +51,7 @@ export { collapseItemProps } from './components/collapse/src/collapse-item.mjs';
|
|
47
51
|
export { collapseContextKey } from './components/collapse/src/constants.mjs';
|
48
52
|
export { ElCollapse, ElCollapseItem } from './components/collapse/index.mjs';
|
49
53
|
export { ElCollapseTransition } from './components/collapse-transition/index.mjs';
|
50
|
-
export { ROOT_COMMON_COLOR_INJECTION_KEY, colorPickerPanelContextKey, colorPickerPanelEmits, colorPickerPanelProps } from './components/color-picker-panel/src/color-picker-
|
54
|
+
export { ROOT_COMMON_COLOR_INJECTION_KEY, colorPickerPanelContextKey, colorPickerPanelEmits, colorPickerPanelProps } from './components/color-picker-panel/src/color-picker-panel.mjs';
|
51
55
|
export { ElColorPickerPanel } from './components/color-picker-panel/index.mjs';
|
52
56
|
export { colorPickerEmits, colorPickerProps } from './components/color-picker/src/color-picker.mjs';
|
53
57
|
export { ElColorPicker } from './components/color-picker/index.mjs';
|
@@ -102,7 +106,7 @@ export { linkEmits, linkProps } from './components/link/src/link.mjs';
|
|
102
106
|
export { ElLink } from './components/link/index.mjs';
|
103
107
|
export { menuEmits, menuProps } from './components/menu/src/menu.mjs';
|
104
108
|
export { menuItemEmits, menuItemProps } from './components/menu/src/menu-item.mjs';
|
105
|
-
export { menuItemGroupProps } from './components/menu/src/menu-item-
|
109
|
+
export { menuItemGroupProps } from './components/menu/src/menu-item-group2.mjs';
|
106
110
|
export { subMenuProps } from './components/menu/src/sub-menu.mjs';
|
107
111
|
export { MENU_INJECTION_KEY, SUB_MENU_INJECTION_KEY } from './components/menu/src/tokens.mjs';
|
108
112
|
export { ElMenu, ElMenuItem, ElMenuItemGroup, ElSubMenu } from './components/menu/index.mjs';
|
@@ -148,7 +152,7 @@ export { selectEmits, selectProps } from './components/select/src/select.mjs';
|
|
148
152
|
export { ElOption, ElOptionGroup, ElSelect } from './components/select/index.mjs';
|
149
153
|
export { selectV2InjectionKey } from './components/select-v2/src/token.mjs';
|
150
154
|
export { ElSelectV2 } from './components/select-v2/index.mjs';
|
151
|
-
export { skeletonProps } from './components/skeleton/src/
|
155
|
+
export { skeletonProps } from './components/skeleton/src/skeleton2.mjs';
|
152
156
|
export { skeletonItemProps } from './components/skeleton/src/skeleton-item.mjs';
|
153
157
|
export { ElSkeleton, ElSkeletonItem } from './components/skeleton/index.mjs';
|
154
158
|
export { sliderEmits, sliderProps } from './components/slider/src/slider.mjs';
|
@@ -180,7 +184,7 @@ export { tabNavEmits, tabNavProps } from './components/tabs/src/tab-nav.mjs';
|
|
180
184
|
export { tabPaneProps } from './components/tabs/src/tab-pane.mjs';
|
181
185
|
export { tabsRootContextKey } from './components/tabs/src/constants.mjs';
|
182
186
|
export { ElTabPane, ElTabs } from './components/tabs/index.mjs';
|
183
|
-
export { tagEmits, tagProps } from './components/tag/src/
|
187
|
+
export { tagEmits, tagProps } from './components/tag/src/tag2.mjs';
|
184
188
|
export { ElTag } from './components/tag/index.mjs';
|
185
189
|
export { textProps } from './components/text/src/text.mjs';
|
186
190
|
export { ElText } from './components/text/index.mjs';
|
@@ -196,7 +200,7 @@ export { timelineItemProps } from './components/timeline/src/timeline-item.mjs';
|
|
196
200
|
export { TIMELINE_INJECTION_KEY } from './components/timeline/src/tokens.mjs';
|
197
201
|
export { ElTimeline, ElTimelineItem } from './components/timeline/index.mjs';
|
198
202
|
export { tooltipEmits, useTooltipModelToggle, useTooltipModelToggleEmits, useTooltipModelToggleProps, useTooltipProps } from './components/tooltip/src/tooltip.mjs';
|
199
|
-
export { useTooltipTriggerProps } from './components/tooltip/src/
|
203
|
+
export { useTooltipTriggerProps } from './components/tooltip/src/trigger2.mjs';
|
200
204
|
export { useTooltipContentProps } from './components/tooltip/src/content.mjs';
|
201
205
|
export { TOOLTIP_INJECTION_KEY } from './components/tooltip/src/constants.mjs';
|
202
206
|
export { ElTooltip } from './components/tooltip/index.mjs';
|
@@ -206,7 +210,7 @@ export { NODE_INSTANCE_INJECTION_KEY, ROOT_TREE_INJECTION_KEY, TREE_NODE_MAP_INJ
|
|
206
210
|
export { ElTree } from './components/tree/index.mjs';
|
207
211
|
export { ElTreeSelect } from './components/tree-select/index.mjs';
|
208
212
|
export { ElTreeV2 } from './components/tree-v2/index.mjs';
|
209
|
-
export { genFileId, uploadBaseProps, uploadListTypes, uploadProps } from './components/upload/src/
|
213
|
+
export { genFileId, uploadBaseProps, uploadListTypes, uploadProps } from './components/upload/src/upload.mjs';
|
210
214
|
export { uploadContentProps } from './components/upload/src/upload-content.mjs';
|
211
215
|
export { uploadListEmits, uploadListProps } from './components/upload/src/upload-list.mjs';
|
212
216
|
export { uploadDraggerEmits, uploadDraggerProps } from './components/upload/src/upload-dragger.mjs';
|
@@ -214,10 +218,8 @@ export { uploadContextKey } from './components/upload/src/constants.mjs';
|
|
214
218
|
export { ElUpload } from './components/upload/index.mjs';
|
215
219
|
export { default as FixedSizeList } from './components/virtual-list/src/components/fixed-size-list.mjs';
|
216
220
|
export { default as DynamicSizeList } from './components/virtual-list/src/components/dynamic-size-list.mjs';
|
217
|
-
export { default as FixedSizeGrid } from './components/virtual-list/src/components/fixed-size-grid.mjs';
|
218
|
-
export { default as DynamicSizeGrid } from './components/virtual-list/src/components/dynamic-size-grid.mjs';
|
219
221
|
export { virtualizedGridProps, virtualizedListProps, virtualizedProps, virtualizedScrollbarProps } from './components/virtual-list/src/props.mjs';
|
220
|
-
export { watermarkProps } from './components/watermark/src/
|
222
|
+
export { watermarkProps } from './components/watermark/src/watermark.mjs';
|
221
223
|
export { ElWatermark } from './components/watermark/index.mjs';
|
222
224
|
export { tourEmits, tourProps } from './components/tour/src/tour.mjs';
|
223
225
|
export { tourStepEmits, tourStepProps } from './components/tour/src/step.mjs';
|
@@ -234,14 +236,12 @@ export { splitterPanelProps } from './components/splitter/src/split-panel.mjs';
|
|
234
236
|
export { ElSplitter, ElSplitterPanel } from './components/splitter/index.mjs';
|
235
237
|
export { ElInfiniteScroll } from './components/infinite-scroll/index.mjs';
|
236
238
|
export { ElLoading } from './components/loading/index.mjs';
|
237
|
-
export { default as ElLoadingDirective, default as vLoading } from './components/loading/src/directive.mjs';
|
238
|
-
export { default as ElLoadingService } from './components/loading/src/service.mjs';
|
239
239
|
export { MESSAGE_DEFAULT_PLACEMENT, messageDefaults, messageEmits, messagePlacement, messageProps, messageTypes } from './components/message/src/message.mjs';
|
240
240
|
export { ElMessage } from './components/message/index.mjs';
|
241
241
|
export { ElMessageBox } from './components/message-box/index.mjs';
|
242
|
-
export { notificationEmits, notificationProps, notificationTypes } from './components/notification/src/
|
242
|
+
export { notificationEmits, notificationProps, notificationTypes } from './components/notification/src/notification.mjs';
|
243
243
|
export { ElNotification } from './components/notification/index.mjs';
|
244
|
-
export { popoverEmits, popoverProps } from './components/popover/src/
|
244
|
+
export { popoverEmits, popoverProps } from './components/popover/src/popover.mjs';
|
245
245
|
export { ElPopover, ElPopoverDirective } from './components/popover/index.mjs';
|
246
246
|
export { EVENT_CODE } from './constants/aria.mjs';
|
247
247
|
export { WEEK_DAYS, datePickTypes } from './constants/date.mjs';
|
package/es/utils/typescript.d.ts
CHANGED
@@ -10,3 +10,64 @@ export type HTMLElementCustomized<T> = HTMLElement & T;
|
|
10
10
|
export type Nullable<T> = T | null;
|
11
11
|
export type Arrayable<T> = T | T[];
|
12
12
|
export type Awaitable<T> = Promise<T> | T;
|
13
|
+
type Primitive = null | undefined | string | number | boolean | symbol | bigint;
|
14
|
+
type BrowserNativeObject = Date | FileList | File | Blob | RegExp;
|
15
|
+
/**
|
16
|
+
* Check whether it is tuple
|
17
|
+
*
|
18
|
+
* 检查是否为元组
|
19
|
+
*
|
20
|
+
* @example
|
21
|
+
* IsTuple<[1, 2, 3]> => true
|
22
|
+
* IsTuple<Array[number]> => false
|
23
|
+
*/
|
24
|
+
type IsTuple<T extends ReadonlyArray<any>> = number extends T['length'] ? false : true;
|
25
|
+
/**
|
26
|
+
* Array method key
|
27
|
+
*
|
28
|
+
* 数组方法键
|
29
|
+
*/
|
30
|
+
type ArrayMethodKey = keyof any[];
|
31
|
+
/**
|
32
|
+
* Tuple index key
|
33
|
+
*
|
34
|
+
* 元组下标键
|
35
|
+
*
|
36
|
+
* @example
|
37
|
+
* TupleKey<[1, 2, 3]> => '0' | '1' | '2'
|
38
|
+
*/
|
39
|
+
type TupleKey<T extends ReadonlyArray<any>> = Exclude<keyof T, ArrayMethodKey>;
|
40
|
+
/**
|
41
|
+
* Array index key
|
42
|
+
*
|
43
|
+
* 数组下标键
|
44
|
+
*/
|
45
|
+
type ArrayKey = number;
|
46
|
+
/**
|
47
|
+
* Helper type for recursively constructing paths through a type
|
48
|
+
*
|
49
|
+
* 用于通过一个类型递归构建路径的辅助类型
|
50
|
+
*/
|
51
|
+
type PathImpl<K extends string | number, V> = V extends Primitive | BrowserNativeObject ? `${K}` : `${K}` | `${K}.${Path<V>}`;
|
52
|
+
/**
|
53
|
+
* Type which collects all paths through a type
|
54
|
+
*
|
55
|
+
* 通过一个类型收集所有路径的类型
|
56
|
+
*
|
57
|
+
* @see {@link FieldPath}
|
58
|
+
*/
|
59
|
+
type Path<T> = T extends ReadonlyArray<infer V> ? IsTuple<T> extends true ? {
|
60
|
+
[K in TupleKey<T>]-?: PathImpl<Exclude<K, symbol>, T[K]>;
|
61
|
+
}[TupleKey<T>] : PathImpl<ArrayKey, V> : {
|
62
|
+
[K in keyof T]-?: PathImpl<Exclude<K, symbol>, T[K]>;
|
63
|
+
}[keyof T];
|
64
|
+
/**
|
65
|
+
* Type which collects all paths through a type
|
66
|
+
*
|
67
|
+
* 通过一个类型收集所有路径的类型
|
68
|
+
*
|
69
|
+
* @example
|
70
|
+
* FieldPath<{ 1: number; a: number; b: string; c: { d: number; e: string }; f: [{ value: string }]; g: { value: string }[]; h: Date; i: FileList; j: File; k: Blob; l: RegExp }> => '1' | 'a' | 'b' | 'c' | 'f' | 'g' | 'c.d' | 'c.e' | 'f.0' | 'f.0.value' | 'g.number' | 'g.number.value' | 'h' | 'i' | 'j' | 'k' | 'l'
|
71
|
+
*/
|
72
|
+
export type FieldPath<T> = T extends object ? Path<T> : never;
|
73
|
+
export {};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"typescript.mjs","sources":["../../../../packages/utils/typescript.ts"],"sourcesContent":["export const mutable = <T extends readonly any[] | Record<string, unknown>>(\n val: T\n) => val as Mutable<typeof val>\nexport type Mutable<T> = { -readonly [P in keyof T]: T[P] }\n\nexport type HTMLElementCustomized<T> = HTMLElement & T\n\n/**\n * @deprecated stop to use null\n * @see {@link https://github.com/sindresorhus/meta/discussions/7}\n */\nexport type Nullable<T> = T | null\n\nexport type Arrayable<T> = T | T[]\nexport type Awaitable<T> = Promise<T> | T\n"],"names":[],"mappings":"AAAY,MAAC,OAAO,GAAG,CAAC,GAAG,KAAK;;;;"}
|
1
|
+
{"version":3,"file":"typescript.mjs","sources":["../../../../packages/utils/typescript.ts"],"sourcesContent":["export const mutable = <T extends readonly any[] | Record<string, unknown>>(\n val: T\n) => val as Mutable<typeof val>\nexport type Mutable<T> = { -readonly [P in keyof T]: T[P] }\n\nexport type HTMLElementCustomized<T> = HTMLElement & T\n\n/**\n * @deprecated stop to use null\n * @see {@link https://github.com/sindresorhus/meta/discussions/7}\n */\nexport type Nullable<T> = T | null\n\nexport type Arrayable<T> = T | T[]\nexport type Awaitable<T> = Promise<T> | T\n\ntype Primitive = null | undefined | string | number | boolean | symbol | bigint\ntype BrowserNativeObject = Date | FileList | File | Blob | RegExp\n\n/**\n * Check whether it is tuple\n *\n * 检查是否为元组\n *\n * @example\n * IsTuple<[1, 2, 3]> => true\n * IsTuple<Array[number]> => false\n */\ntype IsTuple<T extends ReadonlyArray<any>> = number extends T['length']\n ? false\n : true\n\n/**\n * Array method key\n *\n * 数组方法键\n */\ntype ArrayMethodKey = keyof any[]\n\n/**\n * Tuple index key\n *\n * 元组下标键\n *\n * @example\n * TupleKey<[1, 2, 3]> => '0' | '1' | '2'\n */\ntype TupleKey<T extends ReadonlyArray<any>> = Exclude<keyof T, ArrayMethodKey>\n\n/**\n * Array index key\n *\n * 数组下标键\n */\ntype ArrayKey = number\n\n/**\n * Helper type for recursively constructing paths through a type\n *\n * 用于通过一个类型递归构建路径的辅助类型\n */\ntype PathImpl<K extends string | number, V> = V extends\n | Primitive\n | BrowserNativeObject\n ? `${K}`\n : `${K}` | `${K}.${Path<V>}`\n\n/**\n * Type which collects all paths through a type\n *\n * 通过一个类型收集所有路径的类型\n *\n * @see {@link FieldPath}\n */\ntype Path<T> = T extends ReadonlyArray<infer V>\n ? IsTuple<T> extends true\n ? {\n [K in TupleKey<T>]-?: PathImpl<Exclude<K, symbol>, T[K]>\n }[TupleKey<T>] // tuple\n : PathImpl<ArrayKey, V> // array\n : {\n [K in keyof T]-?: PathImpl<Exclude<K, symbol>, T[K]>\n }[keyof T] // object\n\n/**\n * Type which collects all paths through a type\n *\n * 通过一个类型收集所有路径的类型\n *\n * @example\n * FieldPath<{ 1: number; a: number; b: string; c: { d: number; e: string }; f: [{ value: string }]; g: { value: string }[]; h: Date; i: FileList; j: File; k: Blob; l: RegExp }> => '1' | 'a' | 'b' | 'c' | 'f' | 'g' | 'c.d' | 'c.e' | 'f.0' | 'f.0.value' | 'g.number' | 'g.number.value' | 'h' | 'i' | 'j' | 'k' | 'l'\n */\nexport type FieldPath<T> = T extends object ? Path<T> : never\n"],"names":[],"mappings":"AAAY,MAAC,OAAO,GAAG,CAAC,GAAG,KAAK;;;;"}
|
package/es/version.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export declare const version = "0.0.
|
1
|
+
export declare const version = "0.0.20250824";
|
package/es/version.mjs
CHANGED
package/es/version.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"version.mjs","sources":["../../../packages/element-plus/version.ts"],"sourcesContent":["export const version = '0.0.
|
1
|
+
{"version":3,"file":"version.mjs","sources":["../../../packages/element-plus/version.ts"],"sourcesContent":["export const version = '0.0.20250824'\n"],"names":[],"mappings":"AAAY,MAAC,OAAO,GAAG;;;;"}
|
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
var alert$1 = require('./src/
|
6
|
-
var alert = require('./src/
|
5
|
+
var alert$1 = require('./src/alert2.js');
|
6
|
+
var alert = require('./src/alert.js');
|
7
7
|
var install = require('../../utils/vue/install.js');
|
8
8
|
|
9
9
|
const ElAlert = install.withInstall(alert$1["default"]);
|
@@ -2,115 +2,50 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
var
|
6
|
-
var index$2 = require('../../icon/index.js');
|
7
|
-
var alert = require('./alert2.js');
|
8
|
-
var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
|
9
|
-
var index$1 = require('../../../hooks/use-delayed-toggle/index.js');
|
5
|
+
var index = require('../../../hooks/use-delayed-toggle/index.js');
|
10
6
|
var icon = require('../../../utils/vue/icon.js');
|
11
|
-
var
|
12
|
-
var
|
7
|
+
var runtime = require('../../../utils/vue/props/runtime.js');
|
8
|
+
var objects = require('../../../utils/objects.js');
|
9
|
+
var types = require('../../../utils/types.js');
|
13
10
|
|
14
|
-
const
|
15
|
-
|
11
|
+
const alertEffects = ["light", "dark"];
|
12
|
+
const alertProps = runtime.buildProps({
|
13
|
+
title: {
|
14
|
+
type: String,
|
15
|
+
default: ""
|
16
|
+
},
|
17
|
+
description: {
|
18
|
+
type: String,
|
19
|
+
default: ""
|
20
|
+
},
|
21
|
+
type: {
|
22
|
+
type: String,
|
23
|
+
values: objects.keysOf(icon.TypeComponentsMap),
|
24
|
+
default: "info"
|
25
|
+
},
|
26
|
+
closable: {
|
27
|
+
type: Boolean,
|
28
|
+
default: true
|
29
|
+
},
|
30
|
+
closeText: {
|
31
|
+
type: String,
|
32
|
+
default: ""
|
33
|
+
},
|
34
|
+
showIcon: Boolean,
|
35
|
+
center: Boolean,
|
36
|
+
effect: {
|
37
|
+
type: String,
|
38
|
+
values: alertEffects,
|
39
|
+
default: "light"
|
40
|
+
},
|
41
|
+
...index.useDelayedToggleProps
|
16
42
|
});
|
17
|
-
const
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
setup(__props, { emit }) {
|
22
|
-
const props = __props;
|
23
|
-
const { Close } = icon.TypeComponents;
|
24
|
-
const slots = vue.useSlots();
|
25
|
-
const ns = index.useNamespace("alert");
|
26
|
-
const visible = vue.ref(false);
|
27
|
-
const iconComponent = vue.computed(() => icon.TypeComponentsMap[props.type]);
|
28
|
-
const hasDesc = vue.computed(() => !!(props.description || slots.default));
|
29
|
-
const open = () => {
|
30
|
-
visible.value = true;
|
31
|
-
emit("open");
|
32
|
-
};
|
33
|
-
const close = (event) => {
|
34
|
-
visible.value = false;
|
35
|
-
emit("close", event);
|
36
|
-
};
|
37
|
-
const { onOpen, onClose } = index$1.useDelayedToggle({
|
38
|
-
showAfter: vue.toRef(props, "showAfter"),
|
39
|
-
hideAfter: vue.toRef(props, "hideAfter"),
|
40
|
-
autoClose: vue.toRef(props, "autoClose"),
|
41
|
-
open,
|
42
|
-
close
|
43
|
-
});
|
44
|
-
if (core.isClient) {
|
45
|
-
onOpen();
|
46
|
-
}
|
47
|
-
return (_ctx, _cache) => {
|
48
|
-
return vue.openBlock(), vue.createBlock(vue.Transition, {
|
49
|
-
name: vue.unref(ns).b("fade"),
|
50
|
-
persisted: ""
|
51
|
-
}, {
|
52
|
-
default: vue.withCtx(() => [
|
53
|
-
vue.withDirectives(vue.createElementVNode("div", {
|
54
|
-
class: vue.normalizeClass([vue.unref(ns).b(), vue.unref(ns).m(_ctx.type), vue.unref(ns).is("center", _ctx.center), vue.unref(ns).is(_ctx.effect)]),
|
55
|
-
role: "alert"
|
56
|
-
}, [
|
57
|
-
_ctx.showIcon && (_ctx.$slots.icon || vue.unref(iconComponent)) ? (vue.openBlock(), vue.createBlock(vue.unref(index$2.ElIcon), {
|
58
|
-
key: 0,
|
59
|
-
class: vue.normalizeClass([vue.unref(ns).e("icon"), { [vue.unref(ns).is("big")]: vue.unref(hasDesc) }])
|
60
|
-
}, {
|
61
|
-
default: vue.withCtx(() => [
|
62
|
-
vue.renderSlot(_ctx.$slots, "icon", {}, () => [
|
63
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(iconComponent))))
|
64
|
-
])
|
65
|
-
]),
|
66
|
-
_: 3
|
67
|
-
}, 8, ["class"])) : vue.createCommentVNode("v-if", true),
|
68
|
-
vue.createElementVNode("div", {
|
69
|
-
class: vue.normalizeClass(vue.unref(ns).e("content"))
|
70
|
-
}, [
|
71
|
-
_ctx.title || _ctx.$slots.title ? (vue.openBlock(), vue.createElementBlock("span", {
|
72
|
-
key: 0,
|
73
|
-
class: vue.normalizeClass([vue.unref(ns).e("title"), { "with-description": vue.unref(hasDesc) }])
|
74
|
-
}, [
|
75
|
-
vue.renderSlot(_ctx.$slots, "title", {}, () => [
|
76
|
-
vue.createTextVNode(vue.toDisplayString(_ctx.title), 1)
|
77
|
-
])
|
78
|
-
], 2)) : vue.createCommentVNode("v-if", true),
|
79
|
-
vue.unref(hasDesc) ? (vue.openBlock(), vue.createElementBlock("p", {
|
80
|
-
key: 1,
|
81
|
-
class: vue.normalizeClass(vue.unref(ns).e("description"))
|
82
|
-
}, [
|
83
|
-
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
84
|
-
vue.createTextVNode(vue.toDisplayString(_ctx.description), 1)
|
85
|
-
])
|
86
|
-
], 2)) : vue.createCommentVNode("v-if", true),
|
87
|
-
_ctx.closable ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [
|
88
|
-
_ctx.closeText ? (vue.openBlock(), vue.createElementBlock("div", {
|
89
|
-
key: 0,
|
90
|
-
class: vue.normalizeClass([vue.unref(ns).e("close-btn"), vue.unref(ns).is("customed")]),
|
91
|
-
onClick: close
|
92
|
-
}, vue.toDisplayString(_ctx.closeText), 3)) : (vue.openBlock(), vue.createBlock(vue.unref(index$2.ElIcon), {
|
93
|
-
key: 1,
|
94
|
-
class: vue.normalizeClass(vue.unref(ns).e("close-btn")),
|
95
|
-
onClick: vue.unref(onClose)
|
96
|
-
}, {
|
97
|
-
default: vue.withCtx(() => [
|
98
|
-
vue.createVNode(vue.unref(Close))
|
99
|
-
]),
|
100
|
-
_: 1
|
101
|
-
}, 8, ["class", "onClick"]))
|
102
|
-
], 64)) : vue.createCommentVNode("v-if", true)
|
103
|
-
], 2)
|
104
|
-
], 2), [
|
105
|
-
[vue.vShow, visible.value]
|
106
|
-
])
|
107
|
-
]),
|
108
|
-
_: 3
|
109
|
-
}, 8, ["name"]);
|
110
|
-
};
|
111
|
-
}
|
112
|
-
});
|
113
|
-
var Alert = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "alert.vue"]]);
|
43
|
+
const alertEmits = {
|
44
|
+
open: () => true,
|
45
|
+
close: (evt) => types.isUndefined(evt) || evt instanceof Event
|
46
|
+
};
|
114
47
|
|
115
|
-
exports
|
48
|
+
exports.alertEffects = alertEffects;
|
49
|
+
exports.alertEmits = alertEmits;
|
50
|
+
exports.alertProps = alertProps;
|
116
51
|
//# sourceMappingURL=alert.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"alert.js","sources":["../../../../../../packages/components/alert/src/alert.
|
1
|
+
{"version":3,"file":"alert.js","sources":["../../../../../../packages/components/alert/src/alert.ts"],"sourcesContent":["import { useDelayedToggleProps } from '@element-plus/hooks'\nimport {\n TypeComponentsMap,\n buildProps,\n isUndefined,\n keysOf,\n} from '@element-plus/utils'\n\nimport type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue'\n\nexport const alertEffects = ['light', 'dark'] as const\n\nexport const alertProps = buildProps({\n /**\n * @description alert title.\n */\n title: {\n type: String,\n default: '',\n },\n description: {\n type: String,\n default: '',\n },\n /**\n * @description alert type.\n */\n type: {\n type: String,\n values: keysOf(TypeComponentsMap),\n default: 'info',\n },\n /**\n * @description whether alert can be dismissed.\n */\n closable: {\n type: Boolean,\n default: true,\n },\n /**\n * @description text for replacing x button\n */\n closeText: {\n type: String,\n default: '',\n },\n /**\n * @description whether show icon\n */\n showIcon: Boolean,\n /**\n * @description should content be placed in center.\n */\n center: Boolean,\n effect: {\n type: String,\n values: alertEffects,\n default: 'light',\n },\n ...useDelayedToggleProps,\n} as const)\nexport type AlertProps = ExtractPropTypes<typeof alertProps>\nexport type AlertPropsPublic = __ExtractPublicPropTypes<typeof alertProps>\n\nexport const alertEmits = {\n open: () => true,\n close: (evt?: Event) => isUndefined(evt) || evt instanceof Event,\n}\nexport type AlertEmits = typeof alertEmits\n"],"names":["buildProps","keysOf","TypeComponentsMap","useDelayedToggleProps","isUndefined"],"mappings":";;;;;;;;;;AAOY,MAAC,YAAY,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE;AAClC,MAAC,UAAU,GAAGA,kBAAU,CAAC;AACrC,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAEC,cAAM,CAACC,sBAAiB,CAAC;AACrC,IAAI,OAAO,EAAE,MAAM;AACnB,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,QAAQ,EAAE,OAAO;AACnB,EAAE,MAAM,EAAE,OAAO;AACjB,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,YAAY;AACxB,IAAI,OAAO,EAAE,OAAO;AACpB,GAAG;AACH,EAAE,GAAGC,2BAAqB;AAC1B,CAAC,EAAE;AACS,MAAC,UAAU,GAAG;AAC1B,EAAE,IAAI,EAAE,MAAM,IAAI;AAClB,EAAE,KAAK,EAAE,CAAC,GAAG,KAAKC,iBAAW,CAAC,GAAG,CAAC,IAAI,GAAG,YAAY,KAAK;AAC1D;;;;;;"}
|
@@ -2,50 +2,115 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
var
|
5
|
+
var vue = require('vue');
|
6
|
+
var index$2 = require('../../icon/index.js');
|
7
|
+
var alert = require('./alert.js');
|
8
|
+
var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
|
9
|
+
var index$1 = require('../../../hooks/use-delayed-toggle/index.js');
|
6
10
|
var icon = require('../../../utils/vue/icon.js');
|
7
|
-
var
|
8
|
-
var
|
9
|
-
var types = require('../../../utils/types.js');
|
11
|
+
var index = require('../../../hooks/use-namespace/index.js');
|
12
|
+
var core = require('@vueuse/core');
|
10
13
|
|
11
|
-
const
|
12
|
-
|
13
|
-
title: {
|
14
|
-
type: String,
|
15
|
-
default: ""
|
16
|
-
},
|
17
|
-
description: {
|
18
|
-
type: String,
|
19
|
-
default: ""
|
20
|
-
},
|
21
|
-
type: {
|
22
|
-
type: String,
|
23
|
-
values: objects.keysOf(icon.TypeComponentsMap),
|
24
|
-
default: "info"
|
25
|
-
},
|
26
|
-
closable: {
|
27
|
-
type: Boolean,
|
28
|
-
default: true
|
29
|
-
},
|
30
|
-
closeText: {
|
31
|
-
type: String,
|
32
|
-
default: ""
|
33
|
-
},
|
34
|
-
showIcon: Boolean,
|
35
|
-
center: Boolean,
|
36
|
-
effect: {
|
37
|
-
type: String,
|
38
|
-
values: alertEffects,
|
39
|
-
default: "light"
|
40
|
-
},
|
41
|
-
...index.useDelayedToggleProps
|
14
|
+
const __default__ = vue.defineComponent({
|
15
|
+
name: "ElAlert"
|
42
16
|
});
|
43
|
-
const
|
44
|
-
|
45
|
-
|
46
|
-
|
17
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
18
|
+
...__default__,
|
19
|
+
props: alert.alertProps,
|
20
|
+
emits: alert.alertEmits,
|
21
|
+
setup(__props, { emit }) {
|
22
|
+
const props = __props;
|
23
|
+
const { Close } = icon.TypeComponents;
|
24
|
+
const slots = vue.useSlots();
|
25
|
+
const ns = index.useNamespace("alert");
|
26
|
+
const visible = vue.ref(false);
|
27
|
+
const iconComponent = vue.computed(() => icon.TypeComponentsMap[props.type]);
|
28
|
+
const hasDesc = vue.computed(() => !!(props.description || slots.default));
|
29
|
+
const open = () => {
|
30
|
+
visible.value = true;
|
31
|
+
emit("open");
|
32
|
+
};
|
33
|
+
const close = (event) => {
|
34
|
+
visible.value = false;
|
35
|
+
emit("close", event);
|
36
|
+
};
|
37
|
+
const { onOpen, onClose } = index$1.useDelayedToggle({
|
38
|
+
showAfter: vue.toRef(props, "showAfter"),
|
39
|
+
hideAfter: vue.toRef(props, "hideAfter"),
|
40
|
+
autoClose: vue.toRef(props, "autoClose"),
|
41
|
+
open,
|
42
|
+
close
|
43
|
+
});
|
44
|
+
if (core.isClient) {
|
45
|
+
onOpen();
|
46
|
+
}
|
47
|
+
return (_ctx, _cache) => {
|
48
|
+
return vue.openBlock(), vue.createBlock(vue.Transition, {
|
49
|
+
name: vue.unref(ns).b("fade"),
|
50
|
+
persisted: ""
|
51
|
+
}, {
|
52
|
+
default: vue.withCtx(() => [
|
53
|
+
vue.withDirectives(vue.createElementVNode("div", {
|
54
|
+
class: vue.normalizeClass([vue.unref(ns).b(), vue.unref(ns).m(_ctx.type), vue.unref(ns).is("center", _ctx.center), vue.unref(ns).is(_ctx.effect)]),
|
55
|
+
role: "alert"
|
56
|
+
}, [
|
57
|
+
_ctx.showIcon && (_ctx.$slots.icon || vue.unref(iconComponent)) ? (vue.openBlock(), vue.createBlock(vue.unref(index$2.ElIcon), {
|
58
|
+
key: 0,
|
59
|
+
class: vue.normalizeClass([vue.unref(ns).e("icon"), { [vue.unref(ns).is("big")]: vue.unref(hasDesc) }])
|
60
|
+
}, {
|
61
|
+
default: vue.withCtx(() => [
|
62
|
+
vue.renderSlot(_ctx.$slots, "icon", {}, () => [
|
63
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(iconComponent))))
|
64
|
+
])
|
65
|
+
]),
|
66
|
+
_: 3
|
67
|
+
}, 8, ["class"])) : vue.createCommentVNode("v-if", true),
|
68
|
+
vue.createElementVNode("div", {
|
69
|
+
class: vue.normalizeClass(vue.unref(ns).e("content"))
|
70
|
+
}, [
|
71
|
+
_ctx.title || _ctx.$slots.title ? (vue.openBlock(), vue.createElementBlock("span", {
|
72
|
+
key: 0,
|
73
|
+
class: vue.normalizeClass([vue.unref(ns).e("title"), { "with-description": vue.unref(hasDesc) }])
|
74
|
+
}, [
|
75
|
+
vue.renderSlot(_ctx.$slots, "title", {}, () => [
|
76
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.title), 1)
|
77
|
+
])
|
78
|
+
], 2)) : vue.createCommentVNode("v-if", true),
|
79
|
+
vue.unref(hasDesc) ? (vue.openBlock(), vue.createElementBlock("p", {
|
80
|
+
key: 1,
|
81
|
+
class: vue.normalizeClass(vue.unref(ns).e("description"))
|
82
|
+
}, [
|
83
|
+
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
84
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.description), 1)
|
85
|
+
])
|
86
|
+
], 2)) : vue.createCommentVNode("v-if", true),
|
87
|
+
_ctx.closable ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [
|
88
|
+
_ctx.closeText ? (vue.openBlock(), vue.createElementBlock("div", {
|
89
|
+
key: 0,
|
90
|
+
class: vue.normalizeClass([vue.unref(ns).e("close-btn"), vue.unref(ns).is("customed")]),
|
91
|
+
onClick: close
|
92
|
+
}, vue.toDisplayString(_ctx.closeText), 3)) : (vue.openBlock(), vue.createBlock(vue.unref(index$2.ElIcon), {
|
93
|
+
key: 1,
|
94
|
+
class: vue.normalizeClass(vue.unref(ns).e("close-btn")),
|
95
|
+
onClick: vue.unref(onClose)
|
96
|
+
}, {
|
97
|
+
default: vue.withCtx(() => [
|
98
|
+
vue.createVNode(vue.unref(Close))
|
99
|
+
]),
|
100
|
+
_: 1
|
101
|
+
}, 8, ["class", "onClick"]))
|
102
|
+
], 64)) : vue.createCommentVNode("v-if", true)
|
103
|
+
], 2)
|
104
|
+
], 2), [
|
105
|
+
[vue.vShow, visible.value]
|
106
|
+
])
|
107
|
+
]),
|
108
|
+
_: 3
|
109
|
+
}, 8, ["name"]);
|
110
|
+
};
|
111
|
+
}
|
112
|
+
});
|
113
|
+
var Alert = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "alert.vue"]]);
|
47
114
|
|
48
|
-
exports
|
49
|
-
exports.alertEmits = alertEmits;
|
50
|
-
exports.alertProps = alertProps;
|
115
|
+
exports["default"] = Alert;
|
51
116
|
//# sourceMappingURL=alert2.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"alert2.js","sources":["../../../../../../packages/components/alert/src/alert.
|
1
|
+
{"version":3,"file":"alert2.js","sources":["../../../../../../packages/components/alert/src/alert.vue"],"sourcesContent":["<template>\n <transition :name=\"ns.b('fade')\">\n <div\n v-show=\"visible\"\n :class=\"[ns.b(), ns.m(type), ns.is('center', center), ns.is(effect)]\"\n role=\"alert\"\n >\n <el-icon\n v-if=\"showIcon && ($slots.icon || iconComponent)\"\n :class=\"[ns.e('icon'), { [ns.is('big')]: hasDesc }]\"\n >\n <slot name=\"icon\">\n <component :is=\"iconComponent\" />\n </slot>\n </el-icon>\n\n <div :class=\"ns.e('content')\">\n <span\n v-if=\"title || $slots.title\"\n :class=\"[ns.e('title'), { 'with-description': hasDesc }]\"\n >\n <slot name=\"title\">{{ title }}</slot>\n </span>\n <p v-if=\"hasDesc\" :class=\"ns.e('description')\">\n <slot>\n {{ description }}\n </slot>\n </p>\n <template v-if=\"closable\">\n <div\n v-if=\"closeText\"\n :class=\"[ns.e('close-btn'), ns.is('customed')]\"\n @click=\"close\"\n >\n {{ closeText }}\n </div>\n <el-icon v-else :class=\"ns.e('close-btn')\" @click=\"onClose\">\n <Close />\n </el-icon>\n </template>\n </div>\n </div>\n </transition>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, ref, toRef, useSlots } from 'vue'\nimport { ElIcon } from '@element-plus/components/icon'\nimport {\n TypeComponents,\n TypeComponentsMap,\n isClient,\n} from '@element-plus/utils'\nimport { useDelayedToggle, useNamespace } from '@element-plus/hooks'\nimport { alertEmits, alertProps } from './alert'\n\nconst { Close } = TypeComponents\n\ndefineOptions({\n name: 'ElAlert',\n})\n\nconst props = defineProps(alertProps)\nconst emit = defineEmits(alertEmits)\nconst slots = useSlots()\n\nconst ns = useNamespace('alert')\n\nconst visible = ref(false)\n\nconst iconComponent = computed(() => TypeComponentsMap[props.type])\n\nconst hasDesc = computed(() => !!(props.description || slots.default))\n\nconst open = () => {\n visible.value = true\n emit('open')\n}\n\nconst close = (event?: Event) => {\n visible.value = false\n emit('close', event)\n}\n\nconst { onOpen, onClose } = useDelayedToggle({\n showAfter: toRef(props, 'showAfter'),\n hideAfter: toRef(props, 'hideAfter'),\n autoClose: toRef(props, 'autoClose'),\n open,\n close,\n})\n\nif (isClient) {\n onOpen()\n}\n</script>\n"],"names":["TypeComponents","useSlots","useNamespace","ref","computed","TypeComponentsMap","useDelayedToggle","toRef","isClient"],"mappings":";;;;;;;;;;;;;uCA0Dc,CAAA;AAAA,EACZ,IAAM,EAAA,SAAA;AACR,CAAA,CAAA,CAAA;;;;;;;AAJA,IAAM,MAAA,EAAE,OAAU,GAAAA,mBAAA,CAAA;AAQlB,IAAA,MAAM,QAAQC,YAAS,EAAA,CAAA;AAEvB,IAAM,MAAA,EAAA,GAAKC,mBAAa,OAAO,CAAA,CAAA;AAE/B,IAAM,MAAA,OAAA,GAAUC,QAAI,KAAK,CAAA,CAAA;AAEzB,IAAA,MAAM,gBAAgBC,YAAS,CAAA,MAAMC,sBAAkB,CAAA,KAAA,CAAM,IAAI,CAAC,CAAA,CAAA;AAElE,IAAM,MAAA,OAAA,GAAUD,aAAS,MAAM,CAAC,EAAE,KAAM,CAAA,WAAA,IAAe,MAAM,OAAQ,CAAA,CAAA,CAAA;AAErE,IAAA,MAAM,OAAO,MAAM;AACjB,MAAA,OAAA,CAAQ,KAAQ,GAAA,IAAA,CAAA;AAChB,MAAA,IAAA,CAAK,MAAM,CAAA,CAAA;AAAA,KACb,CAAA;AAEA,IAAM,MAAA,KAAA,GAAQ,CAAC,KAAkB,KAAA;AAC/B,MAAA,OAAA,CAAQ,KAAQ,GAAA,KAAA,CAAA;AAChB,MAAA,IAAA,CAAK,SAAS,KAAK,CAAA,CAAA;AAAA,KACrB,CAAA;AAEA,IAAA,MAAM,EAAE,MAAA,EAAQ,OAAQ,EAAA,GAAIE,wBAAiB,CAAA;AAAA,MAC3C,SAAA,EAAWC,SAAM,CAAA,KAAA,EAAO,WAAW,CAAA;AAAA,MACnC,SAAA,EAAWA,SAAM,CAAA,KAAA,EAAO,WAAW,CAAA;AAAA,MACnC,SAAA,EAAWA,SAAM,CAAA,KAAA,EAAO,WAAW,CAAA;AAAA,MACnC,IAAA;AAAA,MACA,KAAA;AAAA,KACD,CAAA,CAAA;AAED,IAAA,IAAIC,aAAU,EAAA;AACZ,MAAO,MAAA,EAAA,CAAA;AAAA,KACT;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
var badge$1 = require('./src/
|
6
|
-
var badge = require('./src/
|
5
|
+
var badge$1 = require('./src/badge2.js');
|
6
|
+
var badge = require('./src/badge.js');
|
7
7
|
var install = require('../../utils/vue/install.js');
|
8
8
|
|
9
9
|
const ElBadge = install.withInstall(badge$1["default"]);
|