@element-plus/nightly 0.0.20251015 → 0.0.20251016
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 +74 -24
- package/dist/index.full.min.js +13 -13
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +13 -13
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +74 -24
- 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/autocomplete/index.mjs +2 -2
- package/es/components/autocomplete/src/autocomplete.d.ts +1 -0
- package/es/components/autocomplete/src/autocomplete.mjs +443 -60
- package/es/components/autocomplete/src/autocomplete.mjs.map +1 -1
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +3 -0
- package/es/components/autocomplete/src/autocomplete2.mjs +60 -442
- package/es/components/autocomplete/src/autocomplete2.mjs.map +1 -1
- package/es/components/cascader/src/cascader2.mjs +5 -4
- package/es/components/cascader/src/cascader2.mjs.map +1 -1
- package/es/components/col/index.mjs +2 -2
- package/es/components/col/src/col.mjs +64 -43
- package/es/components/col/src/col.mjs.map +1 -1
- package/es/components/col/src/col2.mjs +43 -64
- package/es/components/col/src/col2.mjs.map +1 -1
- package/es/components/collapse/index.mjs +2 -2
- package/es/components/collapse/src/collapse.mjs +28 -23
- package/es/components/collapse/src/collapse.mjs.map +1 -1
- package/es/components/collapse/src/collapse2.mjs +23 -28
- package/es/components/collapse/src/collapse2.mjs.map +1 -1
- package/es/components/color-picker/src/color-picker2.mjs +8 -3
- package/es/components/color-picker/src/color-picker2.mjs.map +1 -1
- package/es/components/color-picker-panel/index.mjs +2 -2
- package/es/components/color-picker-panel/src/color-picker-panel.mjs +119 -23
- 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 +23 -119
- 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/dialog/src/dialog.mjs +1 -1
- package/es/components/divider/index.mjs +2 -2
- package/es/components/divider/src/divider.mjs +34 -16
- package/es/components/divider/src/divider.mjs.map +1 -1
- package/es/components/divider/src/divider2.mjs +16 -34
- package/es/components/divider/src/divider2.mjs.map +1 -1
- package/es/components/drawer/index.mjs +2 -2
- package/es/components/drawer/src/drawer.mjs +27 -192
- package/es/components/drawer/src/drawer.mjs.map +1 -1
- package/es/components/drawer/src/drawer2.mjs +192 -27
- package/es/components/drawer/src/drawer2.mjs.map +1 -1
- package/es/components/dropdown/src/dropdown.mjs.map +1 -1
- package/es/components/image/src/image.vue.d.ts +1 -1
- package/es/components/index.mjs +20 -20
- package/es/components/input/src/input.d.ts +6 -0
- package/es/components/input/src/input.mjs +4 -0
- package/es/components/input/src/input.mjs.map +1 -1
- package/es/components/input/src/input.vue.d.ts +3 -0
- package/es/components/input/src/input2.mjs +52 -12
- package/es/components/input/src/input2.mjs.map +1 -1
- package/es/components/input/src/utils.d.ts +1 -0
- package/es/components/input/src/utils.mjs +5 -1
- package/es/components/input/src/utils.mjs.map +1 -1
- package/es/components/input-number/src/input-number2.mjs +1 -1
- package/es/components/input-number/src/input-number2.mjs.map +1 -1
- package/es/components/mention/src/mention.d.ts +1 -0
- package/es/components/mention/src/mention.vue.d.ts +3 -0
- package/es/components/page-header/index.mjs +2 -2
- package/es/components/page-header/src/page-header.mjs +97 -16
- package/es/components/page-header/src/page-header.mjs.map +1 -1
- package/es/components/page-header/src/page-header2.mjs +16 -97
- package/es/components/page-header/src/page-header2.mjs.map +1 -1
- package/es/components/pagination/src/components/jumper.mjs +7 -58
- package/es/components/pagination/src/components/jumper.mjs.map +1 -1
- package/es/components/pagination/src/components/jumper2.mjs +58 -7
- package/es/components/pagination/src/components/jumper2.mjs.map +1 -1
- package/es/components/pagination/src/components/next.mjs +18 -35
- package/es/components/pagination/src/components/next.mjs.map +1 -1
- package/es/components/pagination/src/components/next2.mjs +35 -18
- package/es/components/pagination/src/components/next2.mjs.map +1 -1
- package/es/components/pagination/src/components/sizes.mjs +26 -72
- package/es/components/pagination/src/components/sizes.mjs.map +1 -1
- package/es/components/pagination/src/components/sizes2.mjs +72 -26
- package/es/components/pagination/src/components/sizes2.mjs.map +1 -1
- package/es/components/pagination/src/pagination.mjs +3 -3
- package/es/components/popper/src/trigger2.mjs +1 -1
- package/es/components/select/index.mjs +2 -2
- package/es/components/select/src/select.mjs +145 -527
- package/es/components/select/src/select.mjs.map +1 -1
- package/es/components/select/src/select2.mjs +527 -145
- package/es/components/select/src/select2.mjs.map +1 -1
- package/es/components/skeleton/index.mjs +2 -2
- package/es/components/skeleton/src/skeleton.mjs +18 -48
- package/es/components/skeleton/src/skeleton.mjs.map +1 -1
- package/es/components/skeleton/src/skeleton2.mjs +48 -18
- package/es/components/skeleton/src/skeleton2.mjs.map +1 -1
- package/es/components/slider/index.mjs +2 -2
- package/es/components/slider/src/slider.d.ts +0 -1
- package/es/components/slider/src/slider.mjs +88 -238
- package/es/components/slider/src/slider.mjs.map +1 -1
- package/es/components/slider/src/slider.vue.d.ts +0 -3
- package/es/components/slider/src/slider2.mjs +237 -92
- package/es/components/slider/src/slider2.mjs.map +1 -1
- package/es/components/statistic/index.mjs +2 -2
- package/es/components/statistic/src/statistic.mjs +69 -25
- package/es/components/statistic/src/statistic.mjs.map +1 -1
- package/es/components/statistic/src/statistic2.mjs +25 -69
- package/es/components/statistic/src/statistic2.mjs.map +1 -1
- package/es/components/steps/index.mjs +2 -2
- package/es/components/steps/src/item.mjs +19 -193
- package/es/components/steps/src/item.mjs.map +1 -1
- package/es/components/steps/src/item2.mjs +193 -19
- package/es/components/steps/src/item2.mjs.map +1 -1
- package/es/components/table/src/table.vue.d.ts +1 -1
- package/es/components/teleport/index.mjs +2 -2
- package/es/components/teleport/src/teleport.mjs +18 -8
- package/es/components/teleport/src/teleport.mjs.map +1 -1
- package/es/components/teleport/src/teleport2.mjs +8 -18
- package/es/components/teleport/src/teleport2.mjs.map +1 -1
- package/es/components/timeline/index.mjs +2 -2
- package/es/components/timeline/src/timeline-item.mjs +72 -33
- package/es/components/timeline/src/timeline-item.mjs.map +1 -1
- package/es/components/timeline/src/timeline-item2.mjs +33 -72
- package/es/components/timeline/src/timeline-item2.mjs.map +1 -1
- package/es/components/tooltip/index.mjs +2 -2
- package/es/components/tooltip/src/content.mjs +1 -1
- package/es/components/tooltip/src/tooltip.mjs +30 -167
- package/es/components/tooltip/src/tooltip.mjs.map +1 -1
- package/es/components/tooltip/src/tooltip2.mjs +167 -30
- package/es/components/tooltip/src/tooltip2.mjs.map +1 -1
- package/es/components/tour/index.mjs +1 -1
- package/es/components/tour/src/content.mjs +43 -67
- package/es/components/tour/src/content.mjs.map +1 -1
- package/es/components/tour/src/content2.mjs +67 -43
- package/es/components/tour/src/content2.mjs.map +1 -1
- package/es/components/tour/src/mask.mjs +18 -76
- package/es/components/tour/src/mask.mjs.map +1 -1
- package/es/components/tour/src/mask2.mjs +76 -18
- package/es/components/tour/src/mask2.mjs.map +1 -1
- package/es/components/tour/src/step.mjs +1 -1
- package/es/components/tour/src/tour.mjs +2 -2
- package/es/components/tour/src/tour2.mjs +2 -2
- package/es/components/tree/src/tree.vue.d.ts +1 -1
- package/es/components/upload/index.mjs +1 -1
- package/es/components/upload/src/upload-list.mjs +25 -173
- package/es/components/upload/src/upload-list.mjs.map +1 -1
- package/es/components/upload/src/upload-list2.mjs +173 -25
- package/es/components/upload/src/upload-list2.mjs.map +1 -1
- package/es/components/upload/src/upload2.mjs +1 -1
- package/es/directives/click-outside/index.mjs +1 -1
- package/es/hooks/use-lockscreen/index.mjs +1 -1
- package/es/index.d.ts +20 -7
- package/es/index.mjs +20 -20
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/autocomplete/index.js +2 -2
- package/lib/components/autocomplete/src/autocomplete.d.ts +1 -0
- package/lib/components/autocomplete/src/autocomplete.js +441 -59
- package/lib/components/autocomplete/src/autocomplete.js.map +1 -1
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +3 -0
- package/lib/components/autocomplete/src/autocomplete2.js +59 -440
- package/lib/components/autocomplete/src/autocomplete2.js.map +1 -1
- package/lib/components/cascader/src/cascader2.js +3 -2
- package/lib/components/cascader/src/cascader2.js.map +1 -1
- package/lib/components/col/index.js +2 -2
- package/lib/components/col/src/col.js +64 -43
- package/lib/components/col/src/col.js.map +1 -1
- package/lib/components/col/src/col2.js +43 -64
- package/lib/components/col/src/col2.js.map +1 -1
- package/lib/components/collapse/index.js +2 -2
- package/lib/components/collapse/src/collapse.js +28 -25
- package/lib/components/collapse/src/collapse.js.map +1 -1
- package/lib/components/collapse/src/collapse2.js +25 -28
- package/lib/components/collapse/src/collapse2.js.map +1 -1
- package/lib/components/color-picker/src/color-picker2.js +8 -3
- package/lib/components/color-picker/src/color-picker2.js.map +1 -1
- package/lib/components/color-picker-panel/index.js +2 -2
- package/lib/components/color-picker-panel/src/color-picker-panel.js +119 -26
- 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 +26 -119
- 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/dialog/src/dialog.js +1 -1
- package/lib/components/divider/index.js +2 -2
- package/lib/components/divider/src/divider.js +34 -16
- package/lib/components/divider/src/divider.js.map +1 -1
- package/lib/components/divider/src/divider2.js +16 -34
- package/lib/components/divider/src/divider2.js.map +1 -1
- package/lib/components/drawer/index.js +2 -2
- package/lib/components/drawer/src/drawer.js +28 -192
- package/lib/components/drawer/src/drawer.js.map +1 -1
- package/lib/components/drawer/src/drawer2.js +192 -28
- package/lib/components/drawer/src/drawer2.js.map +1 -1
- package/lib/components/dropdown/src/dropdown.js.map +1 -1
- package/lib/components/image/src/image.vue.d.ts +1 -1
- package/lib/components/index.js +25 -25
- package/lib/components/input/src/input.d.ts +6 -0
- package/lib/components/input/src/input.js +4 -0
- package/lib/components/input/src/input.js.map +1 -1
- package/lib/components/input/src/input.vue.d.ts +3 -0
- package/lib/components/input/src/input2.js +50 -10
- package/lib/components/input/src/input2.js.map +1 -1
- package/lib/components/input/src/utils.d.ts +1 -0
- package/lib/components/input/src/utils.js +5 -0
- package/lib/components/input/src/utils.js.map +1 -1
- package/lib/components/input-number/src/input-number2.js +1 -1
- package/lib/components/input-number/src/input-number2.js.map +1 -1
- package/lib/components/mention/src/mention.d.ts +1 -0
- package/lib/components/mention/src/mention.vue.d.ts +3 -0
- package/lib/components/page-header/index.js +2 -2
- package/lib/components/page-header/src/page-header.js +97 -17
- package/lib/components/page-header/src/page-header.js.map +1 -1
- package/lib/components/page-header/src/page-header2.js +17 -97
- package/lib/components/page-header/src/page-header2.js.map +1 -1
- package/lib/components/pagination/src/components/jumper.js +7 -58
- package/lib/components/pagination/src/components/jumper.js.map +1 -1
- package/lib/components/pagination/src/components/jumper2.js +58 -7
- package/lib/components/pagination/src/components/jumper2.js.map +1 -1
- package/lib/components/pagination/src/components/next.js +18 -35
- package/lib/components/pagination/src/components/next.js.map +1 -1
- package/lib/components/pagination/src/components/next2.js +35 -18
- package/lib/components/pagination/src/components/next2.js.map +1 -1
- package/lib/components/pagination/src/components/sizes.js +26 -72
- package/lib/components/pagination/src/components/sizes.js.map +1 -1
- package/lib/components/pagination/src/components/sizes2.js +72 -26
- package/lib/components/pagination/src/components/sizes2.js.map +1 -1
- package/lib/components/pagination/src/pagination.js +3 -3
- package/lib/components/popper/src/trigger2.js +1 -1
- package/lib/components/select/index.js +2 -2
- package/lib/components/select/src/select.js +145 -526
- package/lib/components/select/src/select.js.map +1 -1
- package/lib/components/select/src/select2.js +526 -145
- package/lib/components/select/src/select2.js.map +1 -1
- package/lib/components/skeleton/index.js +2 -2
- package/lib/components/skeleton/src/skeleton.js +18 -48
- package/lib/components/skeleton/src/skeleton.js.map +1 -1
- package/lib/components/skeleton/src/skeleton2.js +48 -18
- package/lib/components/skeleton/src/skeleton2.js.map +1 -1
- package/lib/components/slider/index.js +2 -2
- package/lib/components/slider/src/slider.d.ts +0 -1
- package/lib/components/slider/src/slider.js +89 -238
- package/lib/components/slider/src/slider.js.map +1 -1
- package/lib/components/slider/src/slider.vue.d.ts +0 -3
- package/lib/components/slider/src/slider2.js +237 -93
- package/lib/components/slider/src/slider2.js.map +1 -1
- package/lib/components/statistic/index.js +2 -2
- package/lib/components/statistic/src/statistic.js +69 -25
- package/lib/components/statistic/src/statistic.js.map +1 -1
- package/lib/components/statistic/src/statistic2.js +25 -69
- package/lib/components/statistic/src/statistic2.js.map +1 -1
- package/lib/components/steps/index.js +2 -2
- package/lib/components/steps/src/item.js +19 -193
- package/lib/components/steps/src/item.js.map +1 -1
- package/lib/components/steps/src/item2.js +193 -19
- package/lib/components/steps/src/item2.js.map +1 -1
- package/lib/components/table/src/table.vue.d.ts +1 -1
- package/lib/components/teleport/index.js +2 -2
- package/lib/components/teleport/src/teleport.js +18 -8
- package/lib/components/teleport/src/teleport.js.map +1 -1
- package/lib/components/teleport/src/teleport2.js +8 -18
- package/lib/components/teleport/src/teleport2.js.map +1 -1
- package/lib/components/timeline/index.js +2 -2
- package/lib/components/timeline/src/timeline-item.js +72 -33
- package/lib/components/timeline/src/timeline-item.js.map +1 -1
- package/lib/components/timeline/src/timeline-item2.js +33 -72
- package/lib/components/timeline/src/timeline-item2.js.map +1 -1
- package/lib/components/tooltip/index.js +2 -2
- package/lib/components/tooltip/src/content.js +1 -1
- package/lib/components/tooltip/src/tooltip.js +34 -167
- package/lib/components/tooltip/src/tooltip.js.map +1 -1
- package/lib/components/tooltip/src/tooltip2.js +167 -34
- package/lib/components/tooltip/src/tooltip2.js.map +1 -1
- package/lib/components/tour/index.js +1 -1
- package/lib/components/tour/src/content.js +46 -67
- package/lib/components/tour/src/content.js.map +1 -1
- package/lib/components/tour/src/content2.js +67 -46
- package/lib/components/tour/src/content2.js.map +1 -1
- package/lib/components/tour/src/mask.js +18 -76
- package/lib/components/tour/src/mask.js.map +1 -1
- package/lib/components/tour/src/mask2.js +76 -18
- package/lib/components/tour/src/mask2.js.map +1 -1
- package/lib/components/tour/src/step.js +1 -1
- package/lib/components/tour/src/tour.js +2 -2
- package/lib/components/tour/src/tour2.js +2 -2
- package/lib/components/tree/src/tree.vue.d.ts +1 -1
- package/lib/components/upload/index.js +1 -1
- package/lib/components/upload/src/upload-list.js +26 -173
- package/lib/components/upload/src/upload-list.js.map +1 -1
- package/lib/components/upload/src/upload-list2.js +173 -26
- package/lib/components/upload/src/upload-list2.js.map +1 -1
- package/lib/components/upload/src/upload2.js +1 -1
- package/lib/directives/click-outside/index.js +1 -1
- package/lib/hooks/use-lockscreen/index.js +1 -1
- package/lib/index.d.ts +20 -7
- package/lib/index.js +25 -25
- 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/web-types.json +1 -1
|
@@ -1,81 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { useWindowSize } from '@vueuse/core';
|
|
3
|
-
import { maskProps } from './mask2.mjs';
|
|
4
|
-
import { tourKey } from './helper.mjs';
|
|
5
|
-
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
|
6
|
-
import { useLockscreen } from '../../../hooks/use-lockscreen/index.mjs';
|
|
1
|
+
import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
|
|
7
2
|
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const baseInfo = `a${v},${v} 0 0 1`;
|
|
25
|
-
return {
|
|
26
|
-
topRight: `${baseInfo} ${v},${v}`,
|
|
27
|
-
bottomRight: `${baseInfo} ${-v},${v}`,
|
|
28
|
-
bottomLeft: `${baseInfo} ${-v},${-v}`,
|
|
29
|
-
topLeft: `${baseInfo} ${v},${-v}`
|
|
30
|
-
};
|
|
31
|
-
});
|
|
32
|
-
const { width: windowWidth, height: windowHeight } = useWindowSize();
|
|
33
|
-
const path = computed(() => {
|
|
34
|
-
const width = windowWidth.value;
|
|
35
|
-
const height = windowHeight.value;
|
|
36
|
-
const info = roundInfo.value;
|
|
37
|
-
const _path = `M${width},0 L0,0 L0,${height} L${width},${height} L${width},0 Z`;
|
|
38
|
-
const _radius = radius.value;
|
|
39
|
-
return props.pos ? `${_path} M${props.pos.left + _radius},${props.pos.top} h${props.pos.width - _radius * 2} ${info.topRight} v${props.pos.height - _radius * 2} ${info.bottomRight} h${-props.pos.width + _radius * 2} ${info.bottomLeft} v${-props.pos.height + _radius * 2} ${info.topLeft} z` : _path;
|
|
40
|
-
});
|
|
41
|
-
const maskStyle = computed(() => ({
|
|
42
|
-
position: "fixed",
|
|
43
|
-
left: 0,
|
|
44
|
-
right: 0,
|
|
45
|
-
top: 0,
|
|
46
|
-
bottom: 0,
|
|
47
|
-
zIndex: props.zIndex,
|
|
48
|
-
pointerEvents: props.pos && props.targetAreaClickable ? "none" : "auto"
|
|
49
|
-
}));
|
|
50
|
-
const pathStyle = computed(() => ({
|
|
51
|
-
fill: props.fill,
|
|
52
|
-
pointerEvents: "auto",
|
|
53
|
-
cursor: "auto"
|
|
54
|
-
}));
|
|
55
|
-
useLockscreen(toRef(props, "visible"), {
|
|
56
|
-
ns
|
|
57
|
-
});
|
|
58
|
-
return (_ctx, _cache) => {
|
|
59
|
-
return _ctx.visible ? (openBlock(), createElementBlock("div", mergeProps({
|
|
60
|
-
key: 0,
|
|
61
|
-
class: unref(ns).e("mask"),
|
|
62
|
-
style: unref(maskStyle)
|
|
63
|
-
}, _ctx.$attrs), [
|
|
64
|
-
(openBlock(), createElementBlock("svg", { style: {
|
|
65
|
-
width: "100%",
|
|
66
|
-
height: "100%"
|
|
67
|
-
} }, [
|
|
68
|
-
createElementVNode("path", {
|
|
69
|
-
class: normalizeClass(unref(ns).e("hollow")),
|
|
70
|
-
style: normalizeStyle(unref(pathStyle)),
|
|
71
|
-
d: unref(path)
|
|
72
|
-
}, null, 14, ["d"])
|
|
73
|
-
]))
|
|
74
|
-
], 16)) : createCommentVNode("v-if", true);
|
|
75
|
-
};
|
|
3
|
+
const maskProps = buildProps({
|
|
4
|
+
zIndex: {
|
|
5
|
+
type: Number,
|
|
6
|
+
default: 1001
|
|
7
|
+
},
|
|
8
|
+
visible: Boolean,
|
|
9
|
+
fill: {
|
|
10
|
+
type: String,
|
|
11
|
+
default: "rgba(0,0,0,0.5)"
|
|
12
|
+
},
|
|
13
|
+
pos: {
|
|
14
|
+
type: definePropType(Object)
|
|
15
|
+
},
|
|
16
|
+
targetAreaClickable: {
|
|
17
|
+
type: Boolean,
|
|
18
|
+
default: true
|
|
76
19
|
}
|
|
77
20
|
});
|
|
78
|
-
var ElTourMask = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "mask.vue"]]);
|
|
79
21
|
|
|
80
|
-
export {
|
|
22
|
+
export { maskProps };
|
|
81
23
|
//# sourceMappingURL=mask.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mask.mjs","sources":["../../../../../../packages/components/tour/src/mask.
|
|
1
|
+
{"version":3,"file":"mask.mjs","sources":["../../../../../../packages/components/tour/src/mask.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\n\nimport type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue'\nimport type { PosInfo } from './types'\n\nexport const maskProps = buildProps({\n /**\n * @description mask's zIndex\n */\n zIndex: {\n type: Number,\n default: 1001,\n },\n /**\n * @description whether to show the mask\n */\n visible: Boolean,\n /**\n * @description mask's fill\n */\n fill: {\n type: String,\n default: 'rgba(0,0,0,0.5)',\n },\n /***\n * @description mask's transparent space position\n */\n pos: {\n type: definePropType<PosInfo | null>(Object),\n },\n /**\n * @description whether the target element can be clickable, when using mask\n */\n targetAreaClickable: {\n type: Boolean,\n default: true,\n },\n})\n\nexport type MaskProps = ExtractPropTypes<typeof maskProps>\nexport type MaskPropsPublic = __ExtractPublicPropTypes<typeof maskProps>\n"],"names":[],"mappings":";;AACY,MAAC,SAAS,GAAG,UAAU,CAAC;AACpC,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,OAAO,EAAE,OAAO;AAClB,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,iBAAiB;AAC9B,GAAG;AACH,EAAE,GAAG,EAAE;AACP,IAAI,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC;AAChC,GAAG;AACH,EAAE,mBAAmB,EAAE;AACvB,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,CAAC;;;;"}
|
|
@@ -1,23 +1,81 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { defineComponent, inject, computed, toRef, openBlock, createElementBlock, mergeProps, unref, createElementVNode, normalizeClass, normalizeStyle, createCommentVNode } from 'vue';
|
|
2
|
+
import { useWindowSize } from '@vueuse/core';
|
|
3
|
+
import { maskProps } from './mask.mjs';
|
|
4
|
+
import { tourKey } from './helper.mjs';
|
|
5
|
+
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
|
6
|
+
import { useLockscreen } from '../../../hooks/use-lockscreen/index.mjs';
|
|
2
7
|
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
8
|
+
const __default__ = defineComponent({
|
|
9
|
+
name: "ElTourMask",
|
|
10
|
+
inheritAttrs: false
|
|
11
|
+
});
|
|
12
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
13
|
+
...__default__,
|
|
14
|
+
props: maskProps,
|
|
15
|
+
setup(__props) {
|
|
16
|
+
const props = __props;
|
|
17
|
+
const { ns } = inject(tourKey);
|
|
18
|
+
const radius = computed(() => {
|
|
19
|
+
var _a, _b;
|
|
20
|
+
return (_b = (_a = props.pos) == null ? void 0 : _a.radius) != null ? _b : 2;
|
|
21
|
+
});
|
|
22
|
+
const roundInfo = computed(() => {
|
|
23
|
+
const v = radius.value;
|
|
24
|
+
const baseInfo = `a${v},${v} 0 0 1`;
|
|
25
|
+
return {
|
|
26
|
+
topRight: `${baseInfo} ${v},${v}`,
|
|
27
|
+
bottomRight: `${baseInfo} ${-v},${v}`,
|
|
28
|
+
bottomLeft: `${baseInfo} ${-v},${-v}`,
|
|
29
|
+
topLeft: `${baseInfo} ${v},${-v}`
|
|
30
|
+
};
|
|
31
|
+
});
|
|
32
|
+
const { width: windowWidth, height: windowHeight } = useWindowSize();
|
|
33
|
+
const path = computed(() => {
|
|
34
|
+
const width = windowWidth.value;
|
|
35
|
+
const height = windowHeight.value;
|
|
36
|
+
const info = roundInfo.value;
|
|
37
|
+
const _path = `M${width},0 L0,0 L0,${height} L${width},${height} L${width},0 Z`;
|
|
38
|
+
const _radius = radius.value;
|
|
39
|
+
return props.pos ? `${_path} M${props.pos.left + _radius},${props.pos.top} h${props.pos.width - _radius * 2} ${info.topRight} v${props.pos.height - _radius * 2} ${info.bottomRight} h${-props.pos.width + _radius * 2} ${info.bottomLeft} v${-props.pos.height + _radius * 2} ${info.topLeft} z` : _path;
|
|
40
|
+
});
|
|
41
|
+
const maskStyle = computed(() => ({
|
|
42
|
+
position: "fixed",
|
|
43
|
+
left: 0,
|
|
44
|
+
right: 0,
|
|
45
|
+
top: 0,
|
|
46
|
+
bottom: 0,
|
|
47
|
+
zIndex: props.zIndex,
|
|
48
|
+
pointerEvents: props.pos && props.targetAreaClickable ? "none" : "auto"
|
|
49
|
+
}));
|
|
50
|
+
const pathStyle = computed(() => ({
|
|
51
|
+
fill: props.fill,
|
|
52
|
+
pointerEvents: "auto",
|
|
53
|
+
cursor: "auto"
|
|
54
|
+
}));
|
|
55
|
+
useLockscreen(toRef(props, "visible"), {
|
|
56
|
+
ns
|
|
57
|
+
});
|
|
58
|
+
return (_ctx, _cache) => {
|
|
59
|
+
return _ctx.visible ? (openBlock(), createElementBlock("div", mergeProps({
|
|
60
|
+
key: 0,
|
|
61
|
+
class: unref(ns).e("mask"),
|
|
62
|
+
style: unref(maskStyle)
|
|
63
|
+
}, _ctx.$attrs), [
|
|
64
|
+
(openBlock(), createElementBlock("svg", { style: {
|
|
65
|
+
width: "100%",
|
|
66
|
+
height: "100%"
|
|
67
|
+
} }, [
|
|
68
|
+
createElementVNode("path", {
|
|
69
|
+
class: normalizeClass(unref(ns).e("hollow")),
|
|
70
|
+
style: normalizeStyle(unref(pathStyle)),
|
|
71
|
+
d: unref(path)
|
|
72
|
+
}, null, 14, ["d"])
|
|
73
|
+
]))
|
|
74
|
+
], 16)) : createCommentVNode("v-if", true);
|
|
75
|
+
};
|
|
19
76
|
}
|
|
20
77
|
});
|
|
78
|
+
var ElTourMask = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "mask.vue"]]);
|
|
21
79
|
|
|
22
|
-
export {
|
|
80
|
+
export { ElTourMask as default };
|
|
23
81
|
//# sourceMappingURL=mask2.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mask2.mjs","sources":["../../../../../../packages/components/tour/src/mask.
|
|
1
|
+
{"version":3,"file":"mask2.mjs","sources":["../../../../../../packages/components/tour/src/mask.vue"],"sourcesContent":["<template>\n <div v-if=\"visible\" :class=\"ns.e('mask')\" :style=\"maskStyle\" v-bind=\"$attrs\">\n <svg\n :style=\"{\n width: '100%',\n height: '100%',\n }\"\n >\n <path :class=\"ns.e('hollow')\" :style=\"pathStyle\" :d=\"path\" />\n </svg>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport { computed, inject, toRef } from 'vue'\nimport { useLockscreen } from '@element-plus/hooks'\nimport { useWindowSize } from '@vueuse/core'\nimport { maskProps } from './mask'\nimport { tourKey } from './helper'\n\nimport type { CSSProperties } from 'vue'\n\ndefineOptions({\n name: 'ElTourMask',\n inheritAttrs: false,\n})\n\nconst props = defineProps(maskProps)\n\nconst { ns } = inject(tourKey)!\nconst radius = computed(() => props.pos?.radius ?? 2)\nconst roundInfo = computed(() => {\n const v = radius.value\n const baseInfo = `a${v},${v} 0 0 1`\n return {\n topRight: `${baseInfo} ${v},${v}`,\n bottomRight: `${baseInfo} ${-v},${v}`,\n bottomLeft: `${baseInfo} ${-v},${-v}`,\n topLeft: `${baseInfo} ${v},${-v}`,\n }\n})\n\nconst { width: windowWidth, height: windowHeight } = useWindowSize()\n\nconst path = computed(() => {\n const width = windowWidth.value\n const height = windowHeight.value\n const info = roundInfo.value\n const _path = `M${width},0 L0,0 L0,${height} L${width},${height} L${width},0 Z`\n const _radius = radius.value\n return props.pos\n ? `${_path} M${props.pos.left + _radius},${props.pos.top} h${\n props.pos.width - _radius * 2\n } ${info.topRight} v${props.pos.height - _radius * 2} ${\n info.bottomRight\n } h${-props.pos.width + _radius * 2} ${info.bottomLeft} v${\n -props.pos.height + _radius * 2\n } ${info.topLeft} z`\n : _path\n})\n\nconst maskStyle = computed<CSSProperties>(() => ({\n position: 'fixed',\n left: 0,\n right: 0,\n top: 0,\n bottom: 0,\n zIndex: props.zIndex,\n pointerEvents: props.pos && props.targetAreaClickable ? 'none' : 'auto',\n}))\n\nconst pathStyle = computed<CSSProperties>(() => ({\n fill: props.fill,\n pointerEvents: 'auto',\n cursor: 'auto',\n}))\n\nuseLockscreen(toRef(props, 'visible'), {\n ns,\n})\n</script>\n"],"names":[],"mappings":"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"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { tourContentProps } from './
|
|
1
|
+
import { tourContentProps } from './content.mjs';
|
|
2
2
|
import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
|
|
3
3
|
import { iconPropType } from '../../../utils/vue/icon.mjs';
|
|
4
|
-
import { teleportProps } from '../../teleport/src/
|
|
4
|
+
import { teleportProps } from '../../teleport/src/teleport2.mjs';
|
|
5
5
|
import { UPDATE_MODEL_EVENT } from '../../../constants/event.mjs';
|
|
6
6
|
import { isBoolean, isNumber } from '../../../utils/types.mjs';
|
|
7
7
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, toRef, watch, useSlots, provide, openBlock, createElementBlock, Fragment, createVNode, unref, withCtx, createElementVNode, mergeProps, normalizeStyle, createBlock, renderSlot, createCommentVNode } from 'vue';
|
|
2
2
|
import { useVModel } from '@vueuse/core';
|
|
3
3
|
import { ElTeleport } from '../../teleport/index.mjs';
|
|
4
|
-
import ElTourMask from './
|
|
5
|
-
import ElTourContent from './
|
|
4
|
+
import ElTourMask from './mask2.mjs';
|
|
5
|
+
import ElTourContent from './content2.mjs';
|
|
6
6
|
import ElTourSteps from './steps.mjs';
|
|
7
7
|
import { tourProps, tourEmits } from './tour.mjs';
|
|
8
8
|
import { useTarget, tourKey } from './helper.mjs';
|
|
@@ -506,9 +506,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
506
506
|
}, {
|
|
507
507
|
data: TreeData;
|
|
508
508
|
props: import("./tree.type").TreeOptionProps;
|
|
509
|
+
lazy: boolean;
|
|
509
510
|
draggable: boolean;
|
|
510
511
|
checkStrictly: boolean;
|
|
511
|
-
lazy: boolean;
|
|
512
512
|
checkOnClickNode: boolean;
|
|
513
513
|
checkOnClickLeaf: boolean;
|
|
514
514
|
accordion: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Upload from './src/upload2.mjs';
|
|
2
2
|
export { genFileId, uploadBaseProps, uploadListTypes, uploadProps } from './src/upload.mjs';
|
|
3
3
|
export { uploadContentProps } from './src/upload-content.mjs';
|
|
4
|
-
export { uploadListEmits, uploadListProps } from './src/upload-
|
|
4
|
+
export { uploadListEmits, uploadListProps } from './src/upload-list.mjs';
|
|
5
5
|
export { uploadDraggerEmits, uploadDraggerProps } from './src/upload-dragger.mjs';
|
|
6
6
|
export { uploadContextKey } from './src/constants.mjs';
|
|
7
7
|
import { withInstall } from '../../utils/vue/install.mjs';
|
|
@@ -1,178 +1,30 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { uploadListProps, uploadListEmits } from './upload-list2.mjs';
|
|
6
|
-
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
|
7
|
-
import { useLocale } from '../../../hooks/use-locale/index.mjs';
|
|
8
|
-
import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
|
|
9
|
-
import { useFormDisabled } from '../../form/src/hooks/use-form-common-props.mjs';
|
|
1
|
+
import { uploadListTypes } from './upload.mjs';
|
|
2
|
+
import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
|
|
3
|
+
import { mutable } from '../../../utils/typescript.mjs';
|
|
4
|
+
import { NOOP } from '@vue/shared';
|
|
10
5
|
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
nsUpload.bm("list", props.listType),
|
|
29
|
-
nsUpload.is("disabled", props.disabled)
|
|
30
|
-
]);
|
|
31
|
-
const handleRemove = (file) => {
|
|
32
|
-
emit("remove", file);
|
|
33
|
-
};
|
|
34
|
-
return (_ctx, _cache) => {
|
|
35
|
-
return openBlock(), createBlock(TransitionGroup, {
|
|
36
|
-
tag: "ul",
|
|
37
|
-
class: normalizeClass(unref(containerKls)),
|
|
38
|
-
name: unref(nsList).b()
|
|
39
|
-
}, {
|
|
40
|
-
default: withCtx(() => [
|
|
41
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.files, (file, index) => {
|
|
42
|
-
return openBlock(), createElementBlock("li", {
|
|
43
|
-
key: file.uid || file.name,
|
|
44
|
-
class: normalizeClass([
|
|
45
|
-
unref(nsUpload).be("list", "item"),
|
|
46
|
-
unref(nsUpload).is(file.status),
|
|
47
|
-
{ focusing: focusing.value }
|
|
48
|
-
]),
|
|
49
|
-
tabindex: "0",
|
|
50
|
-
onKeydown: withKeys(($event) => !unref(disabled) && handleRemove(file), ["delete"]),
|
|
51
|
-
onFocus: ($event) => focusing.value = true,
|
|
52
|
-
onBlur: ($event) => focusing.value = false,
|
|
53
|
-
onClick: ($event) => focusing.value = false
|
|
54
|
-
}, [
|
|
55
|
-
renderSlot(_ctx.$slots, "default", {
|
|
56
|
-
file,
|
|
57
|
-
index
|
|
58
|
-
}, () => [
|
|
59
|
-
_ctx.listType === "picture" || file.status !== "uploading" && _ctx.listType === "picture-card" ? (openBlock(), createElementBlock("img", {
|
|
60
|
-
key: 0,
|
|
61
|
-
class: normalizeClass(unref(nsUpload).be("list", "item-thumbnail")),
|
|
62
|
-
src: file.url,
|
|
63
|
-
crossorigin: _ctx.crossorigin,
|
|
64
|
-
alt: ""
|
|
65
|
-
}, null, 10, ["src", "crossorigin"])) : createCommentVNode("v-if", true),
|
|
66
|
-
file.status === "uploading" || _ctx.listType !== "picture-card" ? (openBlock(), createElementBlock("div", {
|
|
67
|
-
key: 1,
|
|
68
|
-
class: normalizeClass(unref(nsUpload).be("list", "item-info"))
|
|
69
|
-
}, [
|
|
70
|
-
createElementVNode("a", {
|
|
71
|
-
class: normalizeClass(unref(nsUpload).be("list", "item-name")),
|
|
72
|
-
onClick: withModifiers(($event) => _ctx.handlePreview(file), ["prevent"])
|
|
73
|
-
}, [
|
|
74
|
-
createVNode(unref(ElIcon), {
|
|
75
|
-
class: normalizeClass(unref(nsIcon).m("document"))
|
|
76
|
-
}, {
|
|
77
|
-
default: withCtx(() => [
|
|
78
|
-
createVNode(unref(Document))
|
|
79
|
-
]),
|
|
80
|
-
_: 1
|
|
81
|
-
}, 8, ["class"]),
|
|
82
|
-
createElementVNode("span", {
|
|
83
|
-
class: normalizeClass(unref(nsUpload).be("list", "item-file-name")),
|
|
84
|
-
title: file.name
|
|
85
|
-
}, toDisplayString(file.name), 11, ["title"])
|
|
86
|
-
], 10, ["onClick"]),
|
|
87
|
-
file.status === "uploading" ? (openBlock(), createBlock(unref(ElProgress), {
|
|
88
|
-
key: 0,
|
|
89
|
-
type: _ctx.listType === "picture-card" ? "circle" : "line",
|
|
90
|
-
"stroke-width": _ctx.listType === "picture-card" ? 6 : 2,
|
|
91
|
-
percentage: Number(file.percentage),
|
|
92
|
-
style: normalizeStyle(_ctx.listType === "picture-card" ? "" : "margin-top: 0.5rem")
|
|
93
|
-
}, null, 8, ["type", "stroke-width", "percentage", "style"])) : createCommentVNode("v-if", true)
|
|
94
|
-
], 2)) : createCommentVNode("v-if", true),
|
|
95
|
-
createElementVNode("label", {
|
|
96
|
-
class: normalizeClass(unref(nsUpload).be("list", "item-status-label"))
|
|
97
|
-
}, [
|
|
98
|
-
_ctx.listType === "text" ? (openBlock(), createBlock(unref(ElIcon), {
|
|
99
|
-
key: 0,
|
|
100
|
-
class: normalizeClass([unref(nsIcon).m("upload-success"), unref(nsIcon).m("circle-check")])
|
|
101
|
-
}, {
|
|
102
|
-
default: withCtx(() => [
|
|
103
|
-
createVNode(unref(CircleCheck))
|
|
104
|
-
]),
|
|
105
|
-
_: 1
|
|
106
|
-
}, 8, ["class"])) : ["picture-card", "picture"].includes(_ctx.listType) ? (openBlock(), createBlock(unref(ElIcon), {
|
|
107
|
-
key: 1,
|
|
108
|
-
class: normalizeClass([unref(nsIcon).m("upload-success"), unref(nsIcon).m("check")])
|
|
109
|
-
}, {
|
|
110
|
-
default: withCtx(() => [
|
|
111
|
-
createVNode(unref(Check))
|
|
112
|
-
]),
|
|
113
|
-
_: 1
|
|
114
|
-
}, 8, ["class"])) : createCommentVNode("v-if", true)
|
|
115
|
-
], 2),
|
|
116
|
-
!unref(disabled) ? (openBlock(), createBlock(unref(ElIcon), {
|
|
117
|
-
key: 2,
|
|
118
|
-
class: normalizeClass(unref(nsIcon).m("close")),
|
|
119
|
-
onClick: ($event) => handleRemove(file)
|
|
120
|
-
}, {
|
|
121
|
-
default: withCtx(() => [
|
|
122
|
-
createVNode(unref(Close))
|
|
123
|
-
]),
|
|
124
|
-
_: 2
|
|
125
|
-
}, 1032, ["class", "onClick"])) : createCommentVNode("v-if", true),
|
|
126
|
-
createCommentVNode(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),
|
|
127
|
-
createCommentVNode(" This is a bug which needs to be fixed "),
|
|
128
|
-
createCommentVNode(" TODO: Fix the incorrect navigation interaction "),
|
|
129
|
-
!unref(disabled) ? (openBlock(), createElementBlock("i", {
|
|
130
|
-
key: 3,
|
|
131
|
-
class: normalizeClass(unref(nsIcon).m("close-tip"))
|
|
132
|
-
}, toDisplayString(unref(t)("el.upload.deleteTip")), 3)) : createCommentVNode("v-if", true),
|
|
133
|
-
_ctx.listType === "picture-card" ? (openBlock(), createElementBlock("span", {
|
|
134
|
-
key: 4,
|
|
135
|
-
class: normalizeClass(unref(nsUpload).be("list", "item-actions"))
|
|
136
|
-
}, [
|
|
137
|
-
createElementVNode("span", {
|
|
138
|
-
class: normalizeClass(unref(nsUpload).be("list", "item-preview")),
|
|
139
|
-
onClick: ($event) => _ctx.handlePreview(file)
|
|
140
|
-
}, [
|
|
141
|
-
createVNode(unref(ElIcon), {
|
|
142
|
-
class: normalizeClass(unref(nsIcon).m("zoom-in"))
|
|
143
|
-
}, {
|
|
144
|
-
default: withCtx(() => [
|
|
145
|
-
createVNode(unref(ZoomIn))
|
|
146
|
-
]),
|
|
147
|
-
_: 1
|
|
148
|
-
}, 8, ["class"])
|
|
149
|
-
], 10, ["onClick"]),
|
|
150
|
-
!unref(disabled) ? (openBlock(), createElementBlock("span", {
|
|
151
|
-
key: 0,
|
|
152
|
-
class: normalizeClass(unref(nsUpload).be("list", "item-delete")),
|
|
153
|
-
onClick: ($event) => handleRemove(file)
|
|
154
|
-
}, [
|
|
155
|
-
createVNode(unref(ElIcon), {
|
|
156
|
-
class: normalizeClass(unref(nsIcon).m("delete"))
|
|
157
|
-
}, {
|
|
158
|
-
default: withCtx(() => [
|
|
159
|
-
createVNode(unref(Delete))
|
|
160
|
-
]),
|
|
161
|
-
_: 1
|
|
162
|
-
}, 8, ["class"])
|
|
163
|
-
], 10, ["onClick"])) : createCommentVNode("v-if", true)
|
|
164
|
-
], 2)) : createCommentVNode("v-if", true)
|
|
165
|
-
])
|
|
166
|
-
], 42, ["onKeydown", "onFocus", "onBlur", "onClick"]);
|
|
167
|
-
}), 128)),
|
|
168
|
-
renderSlot(_ctx.$slots, "append")
|
|
169
|
-
]),
|
|
170
|
-
_: 3
|
|
171
|
-
}, 8, ["class", "name"]);
|
|
172
|
-
};
|
|
6
|
+
const uploadListProps = buildProps({
|
|
7
|
+
files: {
|
|
8
|
+
type: definePropType(Array),
|
|
9
|
+
default: () => mutable([])
|
|
10
|
+
},
|
|
11
|
+
disabled: Boolean,
|
|
12
|
+
handlePreview: {
|
|
13
|
+
type: definePropType(Function),
|
|
14
|
+
default: NOOP
|
|
15
|
+
},
|
|
16
|
+
listType: {
|
|
17
|
+
type: String,
|
|
18
|
+
values: uploadListTypes,
|
|
19
|
+
default: "text"
|
|
20
|
+
},
|
|
21
|
+
crossorigin: {
|
|
22
|
+
type: definePropType(String)
|
|
173
23
|
}
|
|
174
24
|
});
|
|
175
|
-
|
|
25
|
+
const uploadListEmits = {
|
|
26
|
+
remove: (file) => !!file
|
|
27
|
+
};
|
|
176
28
|
|
|
177
|
-
export {
|
|
29
|
+
export { uploadListEmits, uploadListProps };
|
|
178
30
|
//# sourceMappingURL=upload-list.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-list.mjs","sources":["../../../../../../packages/components/upload/src/upload-list.
|
|
1
|
+
{"version":3,"file":"upload-list.mjs","sources":["../../../../../../packages/components/upload/src/upload-list.ts"],"sourcesContent":["import { NOOP, buildProps, definePropType, mutable } from '@element-plus/utils'\nimport { uploadListTypes } from './upload'\n\nimport type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue'\nimport type { UploadFile, UploadFiles, UploadHooks } from './upload'\nimport type UploadList from './upload-list.vue'\n\nexport const uploadListProps = buildProps({\n files: {\n type: definePropType<UploadFiles>(Array),\n default: () => mutable([]),\n },\n disabled: Boolean,\n handlePreview: {\n type: definePropType<UploadHooks['onPreview']>(Function),\n default: NOOP,\n },\n listType: {\n type: String,\n values: uploadListTypes,\n default: 'text',\n },\n /**\n * @description set HTML attribute: crossorigin.\n */\n crossorigin: {\n type: definePropType<'anonymous' | 'use-credentials' | ''>(String),\n },\n} as const)\n\nexport type UploadListProps = ExtractPropTypes<typeof uploadListProps>\nexport type UploadListPropsPublic = __ExtractPublicPropTypes<\n typeof uploadListProps\n>\nexport const uploadListEmits = {\n remove: (file: UploadFile) => !!file,\n}\nexport type UploadListEmits = typeof uploadListEmits\nexport type UploadListInstance = InstanceType<typeof UploadList> & unknown\n"],"names":[],"mappings":";;;;;AAEY,MAAC,eAAe,GAAG,UAAU,CAAC;AAC1C,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,cAAc,CAAC,KAAK,CAAC;AAC/B,IAAI,OAAO,EAAE,MAAM,OAAO,CAAC,EAAE,CAAC;AAC9B,GAAG;AACH,EAAE,QAAQ,EAAE,OAAO;AACnB,EAAE,aAAa,EAAE;AACjB,IAAI,IAAI,EAAE,cAAc,CAAC,QAAQ,CAAC;AAClC,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,eAAe;AAC3B,IAAI,OAAO,EAAE,MAAM;AACnB,GAAG;AACH,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC;AAChC,GAAG;AACH,CAAC,EAAE;AACS,MAAC,eAAe,GAAG;AAC/B,EAAE,MAAM,EAAE,CAAC,IAAI,KAAK,CAAC,CAAC,IAAI;AAC1B;;;;"}
|