element-plus 2.3.4 → 2.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/attributes.json +1 -1
- package/dist/index.css +1 -1
- package/dist/index.full.js +159 -111
- package/dist/index.full.min.js +24 -24
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +24 -24
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +160 -111
- 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.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 +21 -21
- package/dist/locale/fa.min.js +1 -1
- package/dist/locale/fa.min.js.map +1 -1
- package/dist/locale/fa.min.mjs +1 -1
- package/dist/locale/fa.min.mjs.map +1 -1
- package/dist/locale/fa.mjs +21 -21
- 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/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/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/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/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/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/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-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/carousel/index.d.ts +10 -0
- package/es/components/carousel/src/carousel-item.vue.d.ts +1 -0
- package/es/components/carousel/src/carousel-item2.mjs +7 -1
- package/es/components/carousel/src/carousel-item2.mjs.map +1 -1
- package/es/components/carousel/src/carousel.vue.d.ts +8 -0
- package/es/components/carousel/src/carousel2.mjs +7 -2
- package/es/components/carousel/src/carousel2.mjs.map +1 -1
- package/es/components/carousel/src/constants.d.ts +1 -0
- package/es/components/carousel/src/constants.mjs.map +1 -1
- package/es/components/carousel/src/use-carousel-item.d.ts +1 -0
- package/es/components/carousel/src/use-carousel-item.mjs +7 -5
- package/es/components/carousel/src/use-carousel-item.mjs.map +1 -1
- package/es/components/carousel/src/use-carousel.d.ts +8 -0
- package/es/components/carousel/src/use-carousel.mjs +21 -1
- package/es/components/carousel/src/use-carousel.mjs.map +1 -1
- package/es/components/cascader/index.d.ts +16 -16
- package/es/components/cascader/src/cascader.vue.d.ts +8 -8
- package/es/components/check-tag/index.d.ts +1 -0
- package/es/components/check-tag/src/check-tag.mjs.map +1 -1
- package/es/components/check-tag/src/check-tag.vue.d.ts +1 -0
- package/es/components/check-tag/src/check-tag2.mjs +3 -2
- package/es/components/check-tag/src/check-tag2.mjs.map +1 -1
- package/es/components/empty/src/empty.mjs.map +1 -1
- package/es/components/image/src/image2.mjs +1 -1
- package/es/components/image/src/image2.mjs.map +1 -1
- package/es/components/index.mjs +1 -1
- package/es/components/input-number/src/input-number2.mjs +4 -1
- package/es/components/input-number/src/input-number2.mjs.map +1 -1
- package/es/components/loading/src/service.mjs +2 -2
- package/es/components/loading/src/service.mjs.map +1 -1
- package/es/components/menu/src/menu.mjs +1 -1
- package/es/components/menu/src/menu.mjs.map +1 -1
- package/es/components/message-box/src/index.mjs +0 -2
- package/es/components/message-box/src/index.mjs.map +1 -1
- package/es/components/notification/src/notification.d.ts +1 -1
- package/es/components/notification/src/notification.mjs +1 -4
- package/es/components/notification/src/notification.mjs.map +1 -1
- package/es/components/notification/src/notification.vue.d.ts +3 -4
- package/es/components/notification/src/notification2.mjs +2 -1
- package/es/components/notification/src/notification2.mjs.map +1 -1
- package/es/components/page-header/src/page-header.mjs.map +1 -1
- package/es/components/pagination/index.d.ts +6 -6
- package/es/components/pagination/src/components/pager.vue.d.ts +2 -0
- package/es/components/pagination/src/components/pager2.mjs +14 -12
- package/es/components/pagination/src/components/pager2.mjs.map +1 -1
- package/es/components/pagination/src/components/sizes.vue.d.ts +1 -3
- package/es/components/pagination/src/pagination.d.ts +9 -9
- package/es/components/pagination/src/pagination.mjs +3 -3
- package/es/components/pagination/src/pagination.mjs.map +1 -1
- package/es/components/popper/src/composables/use-content-dom.mjs +2 -2
- package/es/components/popper/src/composables/use-content-dom.mjs.map +1 -1
- package/es/components/progress/src/progress.mjs.map +1 -1
- package/es/components/radio/index.mjs +2 -2
- package/es/components/radio/src/radio-button.mjs +1 -1
- package/es/components/radio/src/radio-group.mjs +1 -1
- package/es/components/radio/src/radio.mjs +71 -30
- package/es/components/radio/src/radio.mjs.map +1 -1
- package/es/components/radio/src/radio2.mjs +30 -71
- package/es/components/radio/src/radio2.mjs.map +1 -1
- package/es/components/result/src/result.mjs.map +1 -1
- package/es/components/select/index.d.ts +1 -3
- package/es/components/select/src/option.mjs +1 -1
- package/es/components/select/src/option.mjs.map +1 -1
- package/es/components/select/src/select.mjs +0 -4
- package/es/components/select/src/select.mjs.map +1 -1
- package/es/components/select/src/select.vue.d.ts +1 -3
- package/es/components/select/src/token.d.ts +1 -1
- package/es/components/select/src/token.mjs.map +1 -1
- package/es/components/select/src/useSelect.d.ts +1 -3
- package/es/components/select/src/useSelect.mjs +16 -14
- package/es/components/select/src/useSelect.mjs.map +1 -1
- package/es/components/skeleton/src/skeleton-item.mjs.map +1 -1
- package/es/components/skeleton/src/skeleton.mjs.map +1 -1
- package/es/components/steps/index.d.ts +7 -3
- package/es/components/steps/src/item.vue.d.ts +5 -2
- package/es/components/steps/src/item2.mjs +12 -9
- package/es/components/steps/src/item2.mjs.map +1 -1
- package/es/components/steps/src/steps.vue.d.ts +3 -2
- package/es/components/steps/src/steps2.mjs +8 -3
- package/es/components/steps/src/steps2.mjs.map +1 -1
- package/es/components/table/src/table/style-helper.mjs +3 -7
- package/es/components/table/src/table/style-helper.mjs.map +1 -1
- package/es/components/table/src/table-header/event-helper.mjs +6 -2
- package/es/components/table/src/table-header/event-helper.mjs.map +1 -1
- package/es/components/table-v2/src/renderers/cell.mjs +1 -1
- package/es/components/table-v2/src/renderers/cell.mjs.map +1 -1
- package/es/components/tag/index.d.ts +8 -8
- package/es/components/tag/src/tag.d.ts +2 -2
- package/es/components/tag/src/tag.mjs +2 -2
- package/es/components/tag/src/tag.mjs.map +1 -1
- package/es/components/tag/src/tag.vue.d.ts +8 -8
- package/es/components/tag/src/tag2.mjs +3 -3
- package/es/components/tag/src/tag2.mjs.map +1 -1
- package/es/components/teleport/index.mjs +2 -2
- package/es/components/teleport/src/teleport.mjs +44 -18
- package/es/components/teleport/src/teleport.mjs.map +1 -1
- package/es/components/teleport/src/teleport2.mjs +18 -44
- package/es/components/teleport/src/teleport2.mjs.map +1 -1
- package/es/components/time-select/index.d.ts +4 -12
- package/es/components/time-select/src/time-select.mjs.map +1 -1
- package/es/components/time-select/src/time-select.vue.d.ts +2 -6
- package/es/components/time-select/src/time-select2.mjs.map +1 -1
- package/es/components/timeline/index.d.ts +38 -0
- package/es/components/timeline/src/timeline-item.mjs.map +1 -1
- package/es/components/timeline/src/timeline-item.vue.d.ts +19 -0
- package/es/components/timeline/src/timeline-item2.mjs +9 -7
- package/es/components/timeline/src/timeline-item2.mjs.map +1 -1
- package/es/components/tree/index.d.ts +2 -2
- package/es/components/tree/src/model/useDragNode.mjs +2 -2
- package/es/components/tree/src/model/useDragNode.mjs.map +1 -1
- package/es/components/tree/src/tree.type.d.ts +1 -1
- package/es/components/tree/src/tree.vue.d.ts +1 -1
- package/es/components/tree-select/src/tree-select.mjs.map +1 -1
- package/es/components/tree-select/src/tree.mjs +21 -4
- package/es/components/tree-select/src/tree.mjs.map +1 -1
- package/es/components/upload/src/upload-content2.mjs +5 -1
- package/es/components/upload/src/upload-content2.mjs.map +1 -1
- package/es/hooks/index.d.ts +0 -1
- package/es/hooks/index.mjs +0 -1
- package/es/hooks/index.mjs.map +1 -1
- package/es/index.mjs +1 -2
- package/es/index.mjs.map +1 -1
- package/es/locale/lang/fa.mjs +20 -20
- package/es/locale/lang/fa.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/carousel/index.d.ts +10 -0
- package/lib/components/carousel/src/carousel-item.vue.d.ts +1 -0
- package/lib/components/carousel/src/carousel-item2.js +7 -1
- package/lib/components/carousel/src/carousel-item2.js.map +1 -1
- package/lib/components/carousel/src/carousel.vue.d.ts +8 -0
- package/lib/components/carousel/src/carousel2.js +7 -2
- package/lib/components/carousel/src/carousel2.js.map +1 -1
- package/lib/components/carousel/src/constants.d.ts +1 -0
- package/lib/components/carousel/src/constants.js.map +1 -1
- package/lib/components/carousel/src/use-carousel-item.d.ts +1 -0
- package/lib/components/carousel/src/use-carousel-item.js +7 -5
- package/lib/components/carousel/src/use-carousel-item.js.map +1 -1
- package/lib/components/carousel/src/use-carousel.d.ts +8 -0
- package/lib/components/carousel/src/use-carousel.js +21 -1
- package/lib/components/carousel/src/use-carousel.js.map +1 -1
- package/lib/components/cascader/index.d.ts +16 -16
- package/lib/components/cascader/src/cascader.vue.d.ts +8 -8
- package/lib/components/check-tag/index.d.ts +1 -0
- package/lib/components/check-tag/src/check-tag.js.map +1 -1
- package/lib/components/check-tag/src/check-tag.vue.d.ts +1 -0
- package/lib/components/check-tag/src/check-tag2.js +2 -1
- package/lib/components/check-tag/src/check-tag2.js.map +1 -1
- package/lib/components/empty/src/empty.js.map +1 -1
- package/lib/components/image/src/image2.js +1 -1
- package/lib/components/image/src/image2.js.map +1 -1
- package/lib/components/index.js +1 -1
- package/lib/components/input-number/src/input-number2.js +3 -0
- package/lib/components/input-number/src/input-number2.js.map +1 -1
- package/lib/components/loading/src/service.js +2 -2
- package/lib/components/loading/src/service.js.map +1 -1
- package/lib/components/menu/src/menu.js +1 -1
- package/lib/components/menu/src/menu.js.map +1 -1
- package/lib/components/message-box/src/index.js +0 -2
- package/lib/components/message-box/src/index.js.map +1 -1
- package/lib/components/notification/src/notification.d.ts +1 -1
- package/lib/components/notification/src/notification.js +1 -4
- package/lib/components/notification/src/notification.js.map +1 -1
- package/lib/components/notification/src/notification.vue.d.ts +3 -4
- package/lib/components/notification/src/notification2.js +2 -1
- package/lib/components/notification/src/notification2.js.map +1 -1
- package/lib/components/page-header/src/page-header.js.map +1 -1
- package/lib/components/pagination/index.d.ts +6 -6
- package/lib/components/pagination/src/components/pager.vue.d.ts +2 -0
- package/lib/components/pagination/src/components/pager2.js +14 -12
- package/lib/components/pagination/src/components/pager2.js.map +1 -1
- package/lib/components/pagination/src/components/sizes.vue.d.ts +1 -3
- package/lib/components/pagination/src/pagination.d.ts +9 -9
- package/lib/components/pagination/src/pagination.js +3 -3
- package/lib/components/pagination/src/pagination.js.map +1 -1
- package/lib/components/popper/src/composables/use-content-dom.js +2 -2
- package/lib/components/popper/src/composables/use-content-dom.js.map +1 -1
- package/lib/components/progress/src/progress.js.map +1 -1
- package/lib/components/radio/index.js +2 -2
- package/lib/components/radio/src/radio-button.js +1 -1
- package/lib/components/radio/src/radio-group.js +1 -1
- package/lib/components/radio/src/radio.js +71 -32
- package/lib/components/radio/src/radio.js.map +1 -1
- package/lib/components/radio/src/radio2.js +32 -71
- package/lib/components/radio/src/radio2.js.map +1 -1
- package/lib/components/result/src/result.js.map +1 -1
- package/lib/components/select/index.d.ts +1 -3
- package/lib/components/select/src/option.js +1 -1
- package/lib/components/select/src/option.js.map +1 -1
- package/lib/components/select/src/select.js +0 -4
- package/lib/components/select/src/select.js.map +1 -1
- package/lib/components/select/src/select.vue.d.ts +1 -3
- package/lib/components/select/src/token.d.ts +1 -1
- package/lib/components/select/src/token.js.map +1 -1
- package/lib/components/select/src/useSelect.d.ts +1 -3
- package/lib/components/select/src/useSelect.js +16 -14
- package/lib/components/select/src/useSelect.js.map +1 -1
- package/lib/components/skeleton/src/skeleton-item.js.map +1 -1
- package/lib/components/skeleton/src/skeleton.js.map +1 -1
- package/lib/components/steps/index.d.ts +7 -3
- package/lib/components/steps/src/item.vue.d.ts +5 -2
- package/lib/components/steps/src/item2.js +12 -9
- package/lib/components/steps/src/item2.js.map +1 -1
- package/lib/components/steps/src/steps.vue.d.ts +3 -2
- package/lib/components/steps/src/steps2.js +7 -2
- package/lib/components/steps/src/steps2.js.map +1 -1
- package/lib/components/table/src/table/style-helper.js +3 -7
- package/lib/components/table/src/table/style-helper.js.map +1 -1
- package/lib/components/table/src/table-header/event-helper.js +6 -2
- package/lib/components/table/src/table-header/event-helper.js.map +1 -1
- package/lib/components/table-v2/src/renderers/cell.js +1 -1
- package/lib/components/table-v2/src/renderers/cell.js.map +1 -1
- package/lib/components/tag/index.d.ts +8 -8
- package/lib/components/tag/src/tag.d.ts +2 -2
- package/lib/components/tag/src/tag.js +2 -2
- package/lib/components/tag/src/tag.js.map +1 -1
- package/lib/components/tag/src/tag.vue.d.ts +8 -8
- package/lib/components/tag/src/tag2.js +3 -3
- package/lib/components/tag/src/tag2.js.map +1 -1
- package/lib/components/teleport/index.js +2 -2
- package/lib/components/teleport/src/teleport.js +44 -18
- package/lib/components/teleport/src/teleport.js.map +1 -1
- package/lib/components/teleport/src/teleport2.js +18 -44
- package/lib/components/teleport/src/teleport2.js.map +1 -1
- package/lib/components/time-select/index.d.ts +4 -12
- package/lib/components/time-select/src/time-select.js.map +1 -1
- package/lib/components/time-select/src/time-select.vue.d.ts +2 -6
- package/lib/components/time-select/src/time-select2.js.map +1 -1
- package/lib/components/timeline/index.d.ts +38 -0
- package/lib/components/timeline/src/timeline-item.js.map +1 -1
- package/lib/components/timeline/src/timeline-item.vue.d.ts +19 -0
- package/lib/components/timeline/src/timeline-item2.js +8 -6
- package/lib/components/timeline/src/timeline-item2.js.map +1 -1
- package/lib/components/tree/index.d.ts +2 -2
- package/lib/components/tree/src/model/useDragNode.js +2 -2
- package/lib/components/tree/src/model/useDragNode.js.map +1 -1
- package/lib/components/tree/src/tree.type.d.ts +1 -1
- package/lib/components/tree/src/tree.vue.d.ts +1 -1
- package/lib/components/tree-select/src/tree-select.js.map +1 -1
- package/lib/components/tree-select/src/tree.js +21 -4
- package/lib/components/tree-select/src/tree.js.map +1 -1
- package/lib/components/upload/src/upload-content2.js +4 -0
- package/lib/components/upload/src/upload-content2.js.map +1 -1
- package/lib/hooks/index.d.ts +0 -1
- package/lib/hooks/index.js +52 -54
- package/lib/hooks/index.js.map +1 -1
- package/lib/index.js +53 -55
- package/lib/index.js.map +1 -1
- package/lib/locale/lang/fa.js +20 -20
- package/lib/locale/lang/fa.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +2 -2
- package/tags.json +1 -1
- package/theme-chalk/el-carousel-item.css +1 -1
- package/theme-chalk/el-carousel.css +1 -1
- package/theme-chalk/el-form.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/carousel-item.scss +8 -0
- package/theme-chalk/src/carousel.scss +9 -2
- package/theme-chalk/src/form.scss +7 -0
- package/theme-chalk/src/image.scss +6 -6
- package/theme-chalk/src/progress.scss +10 -1
- package/theme-chalk/src/text.scss +1 -1
- package/web-types.json +1 -1
- package/es/hooks/use-restore-active/index.d.ts +0 -6
- package/es/hooks/use-restore-active/index.mjs +0 -23
- package/es/hooks/use-restore-active/index.mjs.map +0 -1
- package/lib/hooks/use-restore-active/index.d.ts +0 -6
- package/lib/hooks/use-restore-active/index.js +0 -27
- package/lib/hooks/use-restore-active/index.js.map +0 -1
package/dist/index.full.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Element Plus v2.3.
|
|
1
|
+
/*! Element Plus v2.3.6 */
|
|
2
2
|
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
|
|
@@ -9614,23 +9614,6 @@
|
|
|
9614
9614
|
};
|
|
9615
9615
|
}
|
|
9616
9616
|
|
|
9617
|
-
const useRestoreActive = (toggle, initialFocus) => {
|
|
9618
|
-
let previousActive;
|
|
9619
|
-
vue.watch(() => toggle.value, (val) => {
|
|
9620
|
-
var _a, _b;
|
|
9621
|
-
if (val) {
|
|
9622
|
-
previousActive = document.activeElement;
|
|
9623
|
-
if (vue.isRef(initialFocus)) {
|
|
9624
|
-
(_b = (_a = initialFocus.value).focus) == null ? void 0 : _b.call(_a);
|
|
9625
|
-
}
|
|
9626
|
-
} else {
|
|
9627
|
-
{
|
|
9628
|
-
previousActive.focus();
|
|
9629
|
-
}
|
|
9630
|
-
}
|
|
9631
|
-
});
|
|
9632
|
-
};
|
|
9633
|
-
|
|
9634
9617
|
const useSameTarget = (handleClick) => {
|
|
9635
9618
|
if (!handleClick) {
|
|
9636
9619
|
return { onClick: NOOP, onMousedown: NOOP, onMouseup: NOOP };
|
|
@@ -11225,7 +11208,7 @@
|
|
|
11225
11208
|
|
|
11226
11209
|
const ElConfigProvider = withInstall(ConfigProvider);
|
|
11227
11210
|
|
|
11228
|
-
const version$1 = "2.3.
|
|
11211
|
+
const version$1 = "2.3.6";
|
|
11229
11212
|
|
|
11230
11213
|
const makeInstaller = (components = []) => {
|
|
11231
11214
|
const install = (app, options) => {
|
|
@@ -15289,8 +15272,8 @@
|
|
|
15289
15272
|
const contentStyle = vue.computed(() => {
|
|
15290
15273
|
return [
|
|
15291
15274
|
{ zIndex: vue.unref(contentZIndex) },
|
|
15292
|
-
|
|
15293
|
-
|
|
15275
|
+
vue.unref(styles).popper,
|
|
15276
|
+
props.popperStyle || {}
|
|
15294
15277
|
];
|
|
15295
15278
|
});
|
|
15296
15279
|
const ariaModal = vue.computed(() => role.value === "dialog" ? "false" : void 0);
|
|
@@ -20808,12 +20791,24 @@
|
|
|
20808
20791
|
const timer = vue.ref(null);
|
|
20809
20792
|
const hover = vue.ref(false);
|
|
20810
20793
|
const root = vue.ref();
|
|
20794
|
+
const containerHeight = vue.ref(0);
|
|
20811
20795
|
const arrowDisplay = vue.computed(() => props.arrow !== "never" && !vue.unref(isVertical));
|
|
20812
20796
|
const hasLabel = vue.computed(() => {
|
|
20813
20797
|
return items.value.some((item) => item.props.label.toString().length > 0);
|
|
20814
20798
|
});
|
|
20815
20799
|
const isCardType = vue.computed(() => props.type === "card");
|
|
20816
20800
|
const isVertical = vue.computed(() => props.direction === "vertical");
|
|
20801
|
+
const containerStyle = vue.computed(() => {
|
|
20802
|
+
if (props.height !== "auto") {
|
|
20803
|
+
return {
|
|
20804
|
+
height: props.height
|
|
20805
|
+
};
|
|
20806
|
+
}
|
|
20807
|
+
return {
|
|
20808
|
+
height: `${containerHeight.value}px`,
|
|
20809
|
+
overflow: "hidden"
|
|
20810
|
+
};
|
|
20811
|
+
});
|
|
20817
20812
|
const throttledArrowClick = throttle((index) => {
|
|
20818
20813
|
setActiveItem(index);
|
|
20819
20814
|
}, THROTTLE_TIME, { trailing: true });
|
|
@@ -20932,6 +20927,11 @@
|
|
|
20932
20927
|
pauseTimer();
|
|
20933
20928
|
startTimer();
|
|
20934
20929
|
}
|
|
20930
|
+
function setContainerHeight(height) {
|
|
20931
|
+
if (props.height !== "auto")
|
|
20932
|
+
return;
|
|
20933
|
+
containerHeight.value = height;
|
|
20934
|
+
}
|
|
20935
20935
|
vue.watch(() => activeIndex.value, (current, prev2) => {
|
|
20936
20936
|
resetItemPosition(prev2);
|
|
20937
20937
|
if (prev2 > -1) {
|
|
@@ -20971,7 +20971,8 @@
|
|
|
20971
20971
|
loop: props.loop,
|
|
20972
20972
|
addItem,
|
|
20973
20973
|
removeItem,
|
|
20974
|
-
setActiveItem
|
|
20974
|
+
setActiveItem,
|
|
20975
|
+
setContainerHeight
|
|
20975
20976
|
});
|
|
20976
20977
|
return {
|
|
20977
20978
|
root,
|
|
@@ -20981,6 +20982,8 @@
|
|
|
20981
20982
|
hover,
|
|
20982
20983
|
isCardType,
|
|
20983
20984
|
items,
|
|
20985
|
+
isVertical,
|
|
20986
|
+
containerStyle,
|
|
20984
20987
|
handleButtonEnter,
|
|
20985
20988
|
handleButtonLeave,
|
|
20986
20989
|
handleIndicatorClick,
|
|
@@ -21014,6 +21017,8 @@
|
|
|
21014
21017
|
hover,
|
|
21015
21018
|
isCardType,
|
|
21016
21019
|
items,
|
|
21020
|
+
isVertical,
|
|
21021
|
+
containerStyle,
|
|
21017
21022
|
handleButtonEnter,
|
|
21018
21023
|
handleButtonLeave,
|
|
21019
21024
|
handleIndicatorClick,
|
|
@@ -21038,9 +21043,12 @@
|
|
|
21038
21043
|
if (vue.unref(hasLabel)) {
|
|
21039
21044
|
classes.push(ns.em("indicators", "labels"));
|
|
21040
21045
|
}
|
|
21041
|
-
if (props.indicatorPosition === "outside"
|
|
21046
|
+
if (props.indicatorPosition === "outside") {
|
|
21042
21047
|
classes.push(ns.em("indicators", "outside"));
|
|
21043
21048
|
}
|
|
21049
|
+
if (vue.unref(isVertical)) {
|
|
21050
|
+
classes.push(ns.em("indicators", "right"));
|
|
21051
|
+
}
|
|
21044
21052
|
return classes;
|
|
21045
21053
|
});
|
|
21046
21054
|
expose({
|
|
@@ -21058,7 +21066,7 @@
|
|
|
21058
21066
|
}, [
|
|
21059
21067
|
vue.createElementVNode("div", {
|
|
21060
21068
|
class: vue.normalizeClass(vue.unref(ns).e("container")),
|
|
21061
|
-
style: vue.normalizeStyle(
|
|
21069
|
+
style: vue.normalizeStyle(vue.unref(containerStyle))
|
|
21062
21070
|
}, [
|
|
21063
21071
|
vue.unref(arrowDisplay) ? (vue.openBlock(), vue.createBlock(vue.Transition, {
|
|
21064
21072
|
key: 0,
|
|
@@ -21159,6 +21167,7 @@
|
|
|
21159
21167
|
const carouselContext = vue.inject(carouselContextKey);
|
|
21160
21168
|
const instance = vue.getCurrentInstance();
|
|
21161
21169
|
const CARD_SCALE = 0.83;
|
|
21170
|
+
const carouselItemRef = vue.ref();
|
|
21162
21171
|
const hover = vue.ref(false);
|
|
21163
21172
|
const translate = vue.ref(0);
|
|
21164
21173
|
const scale = vue.ref(1);
|
|
@@ -21184,8 +21193,8 @@
|
|
|
21184
21193
|
return index;
|
|
21185
21194
|
}
|
|
21186
21195
|
function calcCardTranslate(index, activeIndex) {
|
|
21187
|
-
var _a;
|
|
21188
|
-
const parentWidth = ((_a = carouselContext.root.value) == null ? void 0 : _a.offsetWidth) || 0;
|
|
21196
|
+
var _a, _b;
|
|
21197
|
+
const parentWidth = vue.unref(isVertical) ? ((_a = carouselContext.root.value) == null ? void 0 : _a.offsetHeight) || 0 : ((_b = carouselContext.root.value) == null ? void 0 : _b.offsetWidth) || 0;
|
|
21189
21198
|
if (inStage.value) {
|
|
21190
21199
|
return parentWidth * ((2 - CARD_SCALE) * (index - activeIndex) + 1) / 4;
|
|
21191
21200
|
} else if (index < activeIndex) {
|
|
@@ -21222,6 +21231,9 @@
|
|
|
21222
21231
|
translate.value = calcTranslate(index, activeIndex, _isVertical);
|
|
21223
21232
|
}
|
|
21224
21233
|
ready.value = true;
|
|
21234
|
+
if (isActive && carouselItemRef.value) {
|
|
21235
|
+
carouselContext.setContainerHeight(carouselItemRef.value.offsetHeight);
|
|
21236
|
+
}
|
|
21225
21237
|
};
|
|
21226
21238
|
function handleItemClick() {
|
|
21227
21239
|
if (carouselContext && vue.unref(isCardType)) {
|
|
@@ -21249,6 +21261,7 @@
|
|
|
21249
21261
|
carouselContext.removeItem(instance.uid);
|
|
21250
21262
|
});
|
|
21251
21263
|
return {
|
|
21264
|
+
carouselItemRef,
|
|
21252
21265
|
active,
|
|
21253
21266
|
animating,
|
|
21254
21267
|
hover,
|
|
@@ -21272,6 +21285,7 @@
|
|
|
21272
21285
|
const props = __props;
|
|
21273
21286
|
const ns = useNamespace("carousel");
|
|
21274
21287
|
const {
|
|
21288
|
+
carouselItemRef,
|
|
21275
21289
|
active,
|
|
21276
21290
|
animating,
|
|
21277
21291
|
hover,
|
|
@@ -21294,13 +21308,18 @@
|
|
|
21294
21308
|
});
|
|
21295
21309
|
return (_ctx, _cache) => {
|
|
21296
21310
|
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
21311
|
+
ref_key: "carouselItemRef",
|
|
21312
|
+
ref: carouselItemRef,
|
|
21297
21313
|
class: vue.normalizeClass([
|
|
21298
21314
|
vue.unref(ns).e("item"),
|
|
21299
21315
|
vue.unref(ns).is("active", vue.unref(active)),
|
|
21300
21316
|
vue.unref(ns).is("in-stage", vue.unref(inStage)),
|
|
21301
21317
|
vue.unref(ns).is("hover", vue.unref(hover)),
|
|
21302
21318
|
vue.unref(ns).is("animating", vue.unref(animating)),
|
|
21303
|
-
{
|
|
21319
|
+
{
|
|
21320
|
+
[vue.unref(ns).em("item", "card")]: vue.unref(isCardType),
|
|
21321
|
+
[vue.unref(ns).em("item", "card-vertical")]: vue.unref(isCardType) && vue.unref(isVertical)
|
|
21322
|
+
}
|
|
21304
21323
|
]),
|
|
21305
21324
|
style: vue.normalizeStyle(vue.unref(itemStyle)),
|
|
21306
21325
|
onClick: _cache[0] || (_cache[0] = (...args) => vue.unref(handleItemClick) && vue.unref(handleItemClick)(...args))
|
|
@@ -23008,14 +23027,14 @@
|
|
|
23008
23027
|
const ElCascaderPanel = _CascaderPanel;
|
|
23009
23028
|
|
|
23010
23029
|
const tagProps = buildProps({
|
|
23011
|
-
closable: Boolean,
|
|
23012
23030
|
type: {
|
|
23013
23031
|
type: String,
|
|
23014
23032
|
values: ["success", "info", "warning", "danger", ""],
|
|
23015
23033
|
default: ""
|
|
23016
23034
|
},
|
|
23017
|
-
|
|
23035
|
+
closable: Boolean,
|
|
23018
23036
|
disableTransitions: Boolean,
|
|
23037
|
+
hit: Boolean,
|
|
23019
23038
|
color: {
|
|
23020
23039
|
type: String,
|
|
23021
23040
|
default: ""
|
|
@@ -23048,7 +23067,7 @@
|
|
|
23048
23067
|
const props = __props;
|
|
23049
23068
|
const tagSize = useFormSize();
|
|
23050
23069
|
const ns = useNamespace("tag");
|
|
23051
|
-
const
|
|
23070
|
+
const containerKls = vue.computed(() => {
|
|
23052
23071
|
const { type, hit, effect, closable, round } = props;
|
|
23053
23072
|
return [
|
|
23054
23073
|
ns.b(),
|
|
@@ -23069,7 +23088,7 @@
|
|
|
23069
23088
|
return (_ctx, _cache) => {
|
|
23070
23089
|
return _ctx.disableTransitions ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
23071
23090
|
key: 0,
|
|
23072
|
-
class: vue.normalizeClass(vue.unref(
|
|
23091
|
+
class: vue.normalizeClass(vue.unref(containerKls)),
|
|
23073
23092
|
style: vue.normalizeStyle({ backgroundColor: _ctx.color }),
|
|
23074
23093
|
onClick: handleClick
|
|
23075
23094
|
}, [
|
|
@@ -23095,7 +23114,7 @@
|
|
|
23095
23114
|
}, {
|
|
23096
23115
|
default: vue.withCtx(() => [
|
|
23097
23116
|
vue.createElementVNode("span", {
|
|
23098
|
-
class: vue.normalizeClass(vue.unref(
|
|
23117
|
+
class: vue.normalizeClass(vue.unref(containerKls)),
|
|
23099
23118
|
style: vue.normalizeStyle({ backgroundColor: _ctx.color }),
|
|
23100
23119
|
onClick: handleClick
|
|
23101
23120
|
}, [
|
|
@@ -23801,6 +23820,7 @@
|
|
|
23801
23820
|
setup(__props, { emit }) {
|
|
23802
23821
|
const props = __props;
|
|
23803
23822
|
const ns = useNamespace("check-tag");
|
|
23823
|
+
const containerKls = vue.computed(() => [ns.b(), ns.is("checked", props.checked)]);
|
|
23804
23824
|
const handleChange = () => {
|
|
23805
23825
|
const checked = !props.checked;
|
|
23806
23826
|
emit(CHANGE_EVENT, checked);
|
|
@@ -23808,7 +23828,7 @@
|
|
|
23808
23828
|
};
|
|
23809
23829
|
return (_ctx, _cache) => {
|
|
23810
23830
|
return vue.openBlock(), vue.createElementBlock("span", {
|
|
23811
|
-
class: vue.normalizeClass(
|
|
23831
|
+
class: vue.normalizeClass(vue.unref(containerKls)),
|
|
23812
23832
|
onClick: handleChange
|
|
23813
23833
|
}, [
|
|
23814
23834
|
vue.renderSlot(_ctx.$slots, "default")
|
|
@@ -31281,7 +31301,7 @@
|
|
|
31281
31301
|
removeLazyLoadListener();
|
|
31282
31302
|
}
|
|
31283
31303
|
}
|
|
31284
|
-
const lazyLoadHandler = useThrottleFn(handleLazyLoad, 200);
|
|
31304
|
+
const lazyLoadHandler = useThrottleFn(handleLazyLoad, 200, true);
|
|
31285
31305
|
async function addLazyLoadListener() {
|
|
31286
31306
|
var _a;
|
|
31287
31307
|
if (!isClient)
|
|
@@ -31580,6 +31600,9 @@
|
|
|
31580
31600
|
};
|
|
31581
31601
|
const verifyValue = (value, update) => {
|
|
31582
31602
|
const { max, min, step, precision, stepStrictly, valueOnClear } = props;
|
|
31603
|
+
if (max < min) {
|
|
31604
|
+
throwError("InputNumber", "min should not be greater than max.");
|
|
31605
|
+
}
|
|
31583
31606
|
let newVal = Number(value);
|
|
31584
31607
|
if (isNil(value) || Number.isNaN(newVal)) {
|
|
31585
31608
|
return null;
|
|
@@ -32510,7 +32533,7 @@
|
|
|
32510
32533
|
var _a, _b;
|
|
32511
32534
|
if (!menu.value)
|
|
32512
32535
|
return -1;
|
|
32513
|
-
const items2 = Array.from((_b = (_a = menu.value) == null ? void 0 : _a.childNodes) != null ? _b : []).filter((item) => item.nodeName !== "#text" || item.nodeValue);
|
|
32536
|
+
const items2 = Array.from((_b = (_a = menu.value) == null ? void 0 : _a.childNodes) != null ? _b : []).filter((item) => item.nodeName !== "#comment" && (item.nodeName !== "#text" || item.nodeValue));
|
|
32514
32537
|
const moreItemWidth = 64;
|
|
32515
32538
|
const paddingLeft = Number.parseInt(getComputedStyle(menu.value).paddingLeft, 10);
|
|
32516
32539
|
const paddingRight = Number.parseInt(getComputedStyle(menu.value).paddingRight, 10);
|
|
@@ -33162,7 +33185,7 @@
|
|
|
33162
33185
|
});
|
|
33163
33186
|
function selectOptionClick() {
|
|
33164
33187
|
if (props.disabled !== true && states.groupDisabled !== true) {
|
|
33165
|
-
select.handleOptionSelect(vm
|
|
33188
|
+
select.handleOptionSelect(vm);
|
|
33166
33189
|
}
|
|
33167
33190
|
}
|
|
33168
33191
|
return {
|
|
@@ -33251,7 +33274,6 @@
|
|
|
33251
33274
|
optionsCount: 0,
|
|
33252
33275
|
filteredOptionsCount: 0,
|
|
33253
33276
|
visible: false,
|
|
33254
|
-
softFocus: false,
|
|
33255
33277
|
selectedLabel: "",
|
|
33256
33278
|
hoverIndex: -1,
|
|
33257
33279
|
query: "",
|
|
@@ -33261,12 +33283,12 @@
|
|
|
33261
33283
|
currentPlaceholder: t("el.select.placeholder"),
|
|
33262
33284
|
menuVisibleOnFocus: false,
|
|
33263
33285
|
isOnComposition: false,
|
|
33264
|
-
isSilentBlur: false,
|
|
33265
33286
|
prefixWidth: 11,
|
|
33266
33287
|
tagInMultiLine: false,
|
|
33267
33288
|
mouseEnter: false
|
|
33268
33289
|
});
|
|
33269
33290
|
}
|
|
33291
|
+
let ignoreFocusEvent = false;
|
|
33270
33292
|
const useSelect$3 = (props, states, ctx) => {
|
|
33271
33293
|
const { t } = useLocale();
|
|
33272
33294
|
const ns = useNamespace("select");
|
|
@@ -33352,6 +33374,10 @@
|
|
|
33352
33374
|
});
|
|
33353
33375
|
vue.watch(() => props.placeholder, (val) => {
|
|
33354
33376
|
states.cachedPlaceHolder = states.currentPlaceholder = val;
|
|
33377
|
+
const hasValue = props.multiple && Array.isArray(props.modelValue) && props.modelValue.length > 0;
|
|
33378
|
+
if (hasValue) {
|
|
33379
|
+
states.currentPlaceholder = "";
|
|
33380
|
+
}
|
|
33355
33381
|
});
|
|
33356
33382
|
vue.watch(() => props.modelValue, (val, oldVal) => {
|
|
33357
33383
|
if (props.multiple) {
|
|
@@ -33679,7 +33705,7 @@
|
|
|
33679
33705
|
states.visible = false;
|
|
33680
33706
|
ctx.emit("clear");
|
|
33681
33707
|
};
|
|
33682
|
-
const handleOptionSelect = (option
|
|
33708
|
+
const handleOptionSelect = (option) => {
|
|
33683
33709
|
var _a;
|
|
33684
33710
|
if (props.multiple) {
|
|
33685
33711
|
const value = (props.modelValue || []).slice();
|
|
@@ -33703,7 +33729,6 @@
|
|
|
33703
33729
|
emitChange(option.value);
|
|
33704
33730
|
states.visible = false;
|
|
33705
33731
|
}
|
|
33706
|
-
states.isSilentBlur = byClick;
|
|
33707
33732
|
setSoftFocus();
|
|
33708
33733
|
if (states.visible)
|
|
33709
33734
|
return;
|
|
@@ -33726,7 +33751,6 @@
|
|
|
33726
33751
|
return index;
|
|
33727
33752
|
};
|
|
33728
33753
|
const setSoftFocus = () => {
|
|
33729
|
-
states.softFocus = true;
|
|
33730
33754
|
const _input = input.value || reference.value;
|
|
33731
33755
|
if (_input) {
|
|
33732
33756
|
_input == null ? void 0 : _input.focus();
|
|
@@ -33796,7 +33820,7 @@
|
|
|
33796
33820
|
vue.nextTick(() => scrollToOption(states.selected));
|
|
33797
33821
|
};
|
|
33798
33822
|
const handleFocus = (event) => {
|
|
33799
|
-
if (!
|
|
33823
|
+
if (!ignoreFocusEvent) {
|
|
33800
33824
|
if (props.automaticDropdown || props.filterable) {
|
|
33801
33825
|
if (props.filterable && !states.visible) {
|
|
33802
33826
|
states.menuVisibleOnFocus = true;
|
|
@@ -33805,7 +33829,7 @@
|
|
|
33805
33829
|
}
|
|
33806
33830
|
ctx.emit("focus", event);
|
|
33807
33831
|
} else {
|
|
33808
|
-
|
|
33832
|
+
ignoreFocusEvent = false;
|
|
33809
33833
|
}
|
|
33810
33834
|
};
|
|
33811
33835
|
const blur = () => {
|
|
@@ -33815,14 +33839,15 @@
|
|
|
33815
33839
|
(_c = (_b = iOSInput.value) == null ? void 0 : _b.blur) == null ? void 0 : _c.call(_b);
|
|
33816
33840
|
};
|
|
33817
33841
|
const handleBlur = (event) => {
|
|
33818
|
-
|
|
33819
|
-
|
|
33820
|
-
|
|
33821
|
-
|
|
33822
|
-
|
|
33842
|
+
setTimeout(() => {
|
|
33843
|
+
var _a;
|
|
33844
|
+
if ((_a = tooltipRef.value) == null ? void 0 : _a.isFocusInsideContent()) {
|
|
33845
|
+
ignoreFocusEvent = true;
|
|
33846
|
+
return;
|
|
33823
33847
|
}
|
|
33848
|
+
states.visible && handleClose();
|
|
33849
|
+
ctx.emit("blur", event);
|
|
33824
33850
|
});
|
|
33825
|
-
states.softFocus = false;
|
|
33826
33851
|
};
|
|
33827
33852
|
const handleClearClick = (event) => {
|
|
33828
33853
|
deleteSelected(event);
|
|
@@ -33860,7 +33885,7 @@
|
|
|
33860
33885
|
toggleMenu();
|
|
33861
33886
|
} else {
|
|
33862
33887
|
if (optionsArray.value[states.hoverIndex]) {
|
|
33863
|
-
handleOptionSelect(optionsArray.value[states.hoverIndex]
|
|
33888
|
+
handleOptionSelect(optionsArray.value[states.hoverIndex]);
|
|
33864
33889
|
}
|
|
33865
33890
|
}
|
|
33866
33891
|
};
|
|
@@ -34197,7 +34222,6 @@
|
|
|
34197
34222
|
inputLength,
|
|
34198
34223
|
filteredOptionsCount,
|
|
34199
34224
|
visible,
|
|
34200
|
-
softFocus,
|
|
34201
34225
|
selectedLabel,
|
|
34202
34226
|
hoverIndex,
|
|
34203
34227
|
query,
|
|
@@ -34205,7 +34229,6 @@
|
|
|
34205
34229
|
currentPlaceholder,
|
|
34206
34230
|
menuVisibleOnFocus,
|
|
34207
34231
|
isOnComposition,
|
|
34208
|
-
isSilentBlur,
|
|
34209
34232
|
options,
|
|
34210
34233
|
cachedOptions,
|
|
34211
34234
|
optionsCount,
|
|
@@ -34303,7 +34326,6 @@
|
|
|
34303
34326
|
inputLength,
|
|
34304
34327
|
filteredOptionsCount,
|
|
34305
34328
|
visible,
|
|
34306
|
-
softFocus,
|
|
34307
34329
|
selectedLabel,
|
|
34308
34330
|
hoverIndex,
|
|
34309
34331
|
query,
|
|
@@ -34311,7 +34333,6 @@
|
|
|
34311
34333
|
currentPlaceholder,
|
|
34312
34334
|
menuVisibleOnFocus,
|
|
34313
34335
|
isOnComposition,
|
|
34314
|
-
isSilentBlur,
|
|
34315
34336
|
options,
|
|
34316
34337
|
resetInputHeight,
|
|
34317
34338
|
managePlaceholder,
|
|
@@ -35022,6 +35043,18 @@
|
|
|
35022
35043
|
}
|
|
35023
35044
|
return array;
|
|
35024
35045
|
});
|
|
35046
|
+
const prevMoreKls = vue.computed(() => [
|
|
35047
|
+
"more",
|
|
35048
|
+
"btn-quickprev",
|
|
35049
|
+
nsIcon.b(),
|
|
35050
|
+
nsPager.is("disabled", props.disabled)
|
|
35051
|
+
]);
|
|
35052
|
+
const nextMoreKls = vue.computed(() => [
|
|
35053
|
+
"more",
|
|
35054
|
+
"btn-quicknext",
|
|
35055
|
+
nsIcon.b(),
|
|
35056
|
+
nsPager.is("disabled", props.disabled)
|
|
35057
|
+
]);
|
|
35025
35058
|
const tabindex = vue.computed(() => props.disabled ? -1 : 0);
|
|
35026
35059
|
vue.watchEffect(() => {
|
|
35027
35060
|
const halfPagerCount = (props.pagerCount - 1) / 2;
|
|
@@ -35109,12 +35142,7 @@
|
|
|
35109
35142
|
}, " 1 ", 10, _hoisted_2$e)) : vue.createCommentVNode("v-if", true),
|
|
35110
35143
|
showPrevMore.value ? (vue.openBlock(), vue.createElementBlock("li", {
|
|
35111
35144
|
key: 1,
|
|
35112
|
-
class: vue.normalizeClass(
|
|
35113
|
-
"more",
|
|
35114
|
-
"btn-quickprev",
|
|
35115
|
-
vue.unref(nsIcon).b(),
|
|
35116
|
-
vue.unref(nsPager).is("disabled", _ctx.disabled)
|
|
35117
|
-
]),
|
|
35145
|
+
class: vue.normalizeClass(vue.unref(prevMoreKls)),
|
|
35118
35146
|
tabindex: vue.unref(tabindex),
|
|
35119
35147
|
"aria-label": vue.unref(t)("el.pagination.prevPages", { pager: _ctx.pagerCount - 2 }),
|
|
35120
35148
|
onMouseenter: _cache[0] || (_cache[0] = ($event) => onMouseEnter(true)),
|
|
@@ -35138,12 +35166,7 @@
|
|
|
35138
35166
|
}), 128)),
|
|
35139
35167
|
showNextMore.value ? (vue.openBlock(), vue.createElementBlock("li", {
|
|
35140
35168
|
key: 2,
|
|
35141
|
-
class: vue.normalizeClass(
|
|
35142
|
-
"more",
|
|
35143
|
-
"btn-quicknext",
|
|
35144
|
-
vue.unref(nsIcon).b(),
|
|
35145
|
-
vue.unref(nsPager).is("disabled", _ctx.disabled)
|
|
35146
|
-
]),
|
|
35169
|
+
class: vue.normalizeClass(vue.unref(nextMoreKls)),
|
|
35147
35170
|
tabindex: vue.unref(tabindex),
|
|
35148
35171
|
"aria-label": vue.unref(t)("el.pagination.nextPages", { pager: _ctx.pagerCount - 2 }),
|
|
35149
35172
|
onMouseenter: _cache[4] || (_cache[4] = ($event) => onMouseEnter()),
|
|
@@ -35171,11 +35194,9 @@
|
|
|
35171
35194
|
|
|
35172
35195
|
const isAbsent = (v) => typeof v !== "number";
|
|
35173
35196
|
const paginationProps = buildProps({
|
|
35174
|
-
total: Number,
|
|
35175
35197
|
pageSize: Number,
|
|
35176
35198
|
defaultPageSize: Number,
|
|
35177
|
-
|
|
35178
|
-
defaultCurrentPage: Number,
|
|
35199
|
+
total: Number,
|
|
35179
35200
|
pageCount: Number,
|
|
35180
35201
|
pagerCount: {
|
|
35181
35202
|
type: Number,
|
|
@@ -35184,6 +35205,8 @@
|
|
|
35184
35205
|
},
|
|
35185
35206
|
default: 7
|
|
35186
35207
|
},
|
|
35208
|
+
currentPage: Number,
|
|
35209
|
+
defaultCurrentPage: Number,
|
|
35187
35210
|
layout: {
|
|
35188
35211
|
type: String,
|
|
35189
35212
|
default: ["prev", "pager", "next", "jumper", "->", "total"].join(", ")
|
|
@@ -41314,13 +41337,17 @@
|
|
|
41314
41337
|
setup(__props, { emit }) {
|
|
41315
41338
|
const props = __props;
|
|
41316
41339
|
const ns = useNamespace("steps");
|
|
41317
|
-
const
|
|
41340
|
+
const {
|
|
41341
|
+
children: steps,
|
|
41342
|
+
addChild: addStep,
|
|
41343
|
+
removeChild: removeStep
|
|
41344
|
+
} = useOrderedChildren(vue.getCurrentInstance(), "ElStep");
|
|
41318
41345
|
vue.watch(steps, () => {
|
|
41319
41346
|
steps.value.forEach((instance, index) => {
|
|
41320
41347
|
instance.setIndex(index);
|
|
41321
41348
|
});
|
|
41322
41349
|
});
|
|
41323
|
-
vue.provide("ElSteps", { props, steps });
|
|
41350
|
+
vue.provide("ElSteps", { props, steps, addStep, removeStep });
|
|
41324
41351
|
vue.watch(() => props.active, (newVal, oldVal) => {
|
|
41325
41352
|
emit(CHANGE_EVENT, newVal, oldVal);
|
|
41326
41353
|
});
|
|
@@ -41378,7 +41405,7 @@
|
|
|
41378
41405
|
}, { immediate: true });
|
|
41379
41406
|
});
|
|
41380
41407
|
vue.onBeforeUnmount(() => {
|
|
41381
|
-
parent.
|
|
41408
|
+
parent.removeStep(stepItemState.uid);
|
|
41382
41409
|
});
|
|
41383
41410
|
const currentStatus = vue.computed(() => {
|
|
41384
41411
|
return props.status || internalStatus.value;
|
|
@@ -41406,6 +41433,14 @@
|
|
|
41406
41433
|
const space = vue.computed(() => {
|
|
41407
41434
|
return isSimple.value ? "" : parent.props.space;
|
|
41408
41435
|
});
|
|
41436
|
+
const containerKls = vue.computed(() => {
|
|
41437
|
+
return [
|
|
41438
|
+
ns.b(),
|
|
41439
|
+
ns.is(isSimple.value ? "simple" : parent.props.direction),
|
|
41440
|
+
ns.is("flex", isLast.value && !space.value && !isCenter.value),
|
|
41441
|
+
ns.is("center", isCenter.value && !isVertical.value && !isSimple.value)
|
|
41442
|
+
];
|
|
41443
|
+
});
|
|
41409
41444
|
const style = vue.computed(() => {
|
|
41410
41445
|
const style2 = {
|
|
41411
41446
|
flexBasis: isNumber(space.value) ? `${space.value}px` : space.value ? space.value : `${100 / (stepsCount.value - (isCenter.value ? 0 : 1))}%`
|
|
@@ -41443,21 +41478,16 @@
|
|
|
41443
41478
|
prevChild.calcProgress(internalStatus.value);
|
|
41444
41479
|
};
|
|
41445
41480
|
const stepItemState = vue.reactive({
|
|
41446
|
-
uid:
|
|
41481
|
+
uid: currentInstance.uid,
|
|
41447
41482
|
currentStatus,
|
|
41448
41483
|
setIndex,
|
|
41449
41484
|
calcProgress
|
|
41450
41485
|
});
|
|
41451
|
-
parent.
|
|
41486
|
+
parent.addStep(stepItemState);
|
|
41452
41487
|
return (_ctx, _cache) => {
|
|
41453
41488
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
41454
41489
|
style: vue.normalizeStyle(vue.unref(style)),
|
|
41455
|
-
class: vue.normalizeClass(
|
|
41456
|
-
vue.unref(ns).b(),
|
|
41457
|
-
vue.unref(ns).is(vue.unref(isSimple) ? "simple" : vue.unref(parent).props.direction),
|
|
41458
|
-
vue.unref(ns).is("flex", vue.unref(isLast) && !vue.unref(space) && !vue.unref(isCenter)),
|
|
41459
|
-
vue.unref(ns).is("center", vue.unref(isCenter) && !vue.unref(isVertical) && !vue.unref(isSimple))
|
|
41460
|
-
])
|
|
41490
|
+
class: vue.normalizeClass(vue.unref(containerKls))
|
|
41461
41491
|
}, [
|
|
41462
41492
|
vue.createCommentVNode(" icon & line "),
|
|
41463
41493
|
vue.createElementVNode("div", {
|
|
@@ -43900,10 +43930,13 @@
|
|
|
43900
43930
|
}
|
|
43901
43931
|
};
|
|
43902
43932
|
const handleMouseMove = (event, column) => {
|
|
43903
|
-
var _a;
|
|
43904
43933
|
if (column.children && column.children.length > 0)
|
|
43905
43934
|
return;
|
|
43906
|
-
const
|
|
43935
|
+
const el = event.target;
|
|
43936
|
+
if (!isElement$1(el)) {
|
|
43937
|
+
return;
|
|
43938
|
+
}
|
|
43939
|
+
const target = el == null ? void 0 : el.closest("th");
|
|
43907
43940
|
if (!column || !column.resizable)
|
|
43908
43941
|
return;
|
|
43909
43942
|
if (!dragging.value && props.border) {
|
|
@@ -45238,13 +45271,9 @@
|
|
|
45238
45271
|
}
|
|
45239
45272
|
if (props.maxHeight) {
|
|
45240
45273
|
if (!Number.isNaN(Number(props.maxHeight))) {
|
|
45241
|
-
|
|
45242
|
-
|
|
45243
|
-
|
|
45244
|
-
return {
|
|
45245
|
-
maxHeight: `${tableScrollHeight.value - headerScrollHeight.value - footerScrollHeight.value}px`
|
|
45246
|
-
};
|
|
45247
|
-
}
|
|
45274
|
+
return {
|
|
45275
|
+
maxHeight: `${props.maxHeight - headerScrollHeight.value - footerScrollHeight.value}px`
|
|
45276
|
+
};
|
|
45248
45277
|
} else {
|
|
45249
45278
|
return {
|
|
45250
45279
|
maxHeight: `calc(${props.maxHeight} - ${headerScrollHeight.value + footerScrollHeight.value}px)`
|
|
@@ -47973,7 +48002,7 @@
|
|
|
47973
48002
|
};
|
|
47974
48003
|
const Cell = CellComponent(cellProps);
|
|
47975
48004
|
const kls = [ns.e("row-cell"), column.class, column.align === Alignment.CENTER && ns.is("align-center"), column.align === Alignment.RIGHT && ns.is("align-right")];
|
|
47976
|
-
const expandable = rowIndex >= 0 && column.key === expandColumnKey;
|
|
48005
|
+
const expandable = rowIndex >= 0 && expandColumnKey && column.key === expandColumnKey;
|
|
47977
48006
|
const expanded = rowIndex >= 0 && expandedRowKeys.includes(rowData[rowKey]);
|
|
47978
48007
|
let IconOrPlaceholder;
|
|
47979
48008
|
const iconStyle = `margin-inline-start: ${depth * indentSize}px;`;
|
|
@@ -49324,7 +49353,14 @@
|
|
|
49324
49353
|
...__default__$g,
|
|
49325
49354
|
props: timelineItemProps,
|
|
49326
49355
|
setup(__props) {
|
|
49356
|
+
const props = __props;
|
|
49327
49357
|
const ns = useNamespace("timeline-item");
|
|
49358
|
+
const defaultNodeKls = vue.computed(() => [
|
|
49359
|
+
ns.e("node"),
|
|
49360
|
+
ns.em("node", props.size || ""),
|
|
49361
|
+
ns.em("node", props.type || ""),
|
|
49362
|
+
ns.is("hollow", props.hollow)
|
|
49363
|
+
]);
|
|
49328
49364
|
return (_ctx, _cache) => {
|
|
49329
49365
|
return vue.openBlock(), vue.createElementBlock("li", {
|
|
49330
49366
|
class: vue.normalizeClass([vue.unref(ns).b(), { [vue.unref(ns).e("center")]: _ctx.center }])
|
|
@@ -49334,12 +49370,7 @@
|
|
|
49334
49370
|
}, null, 2),
|
|
49335
49371
|
!_ctx.$slots.dot ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
49336
49372
|
key: 0,
|
|
49337
|
-
class: vue.normalizeClass(
|
|
49338
|
-
vue.unref(ns).e("node"),
|
|
49339
|
-
vue.unref(ns).em("node", _ctx.size || ""),
|
|
49340
|
-
vue.unref(ns).em("node", _ctx.type || ""),
|
|
49341
|
-
vue.unref(ns).is("hollow", _ctx.hollow)
|
|
49342
|
-
]),
|
|
49373
|
+
class: vue.normalizeClass(vue.unref(defaultNodeKls)),
|
|
49343
49374
|
style: vue.normalizeStyle({
|
|
49344
49375
|
backgroundColor: _ctx.color
|
|
49345
49376
|
})
|
|
@@ -51289,7 +51320,7 @@
|
|
|
51289
51320
|
const treeNodeDragOver = ({ event, treeNode }) => {
|
|
51290
51321
|
const dropNode = treeNode;
|
|
51291
51322
|
const oldDropNode = dragState.value.dropNode;
|
|
51292
|
-
if (oldDropNode && oldDropNode !== dropNode) {
|
|
51323
|
+
if (oldDropNode && oldDropNode.node.id !== dropNode.node.id) {
|
|
51293
51324
|
removeClass(oldDropNode.$el, ns.is("drop-inner"));
|
|
51294
51325
|
}
|
|
51295
51326
|
const draggingNode = dragState.value.draggingNode;
|
|
@@ -51305,7 +51336,7 @@
|
|
|
51305
51336
|
dropNext = props.allowDrop(draggingNode.node, dropNode.node, "next");
|
|
51306
51337
|
}
|
|
51307
51338
|
event.dataTransfer.dropEffect = dropInner || dropPrev || dropNext ? "move" : "none";
|
|
51308
|
-
if ((dropPrev || dropInner || dropNext) && oldDropNode !== dropNode) {
|
|
51339
|
+
if ((dropPrev || dropInner || dropNext) && (oldDropNode == null ? void 0 : oldDropNode.node.id) !== dropNode.node.id) {
|
|
51309
51340
|
if (oldDropNode) {
|
|
51310
51341
|
ctx.emit("node-drag-leave", draggingNode.node, oldDropNode.node, event);
|
|
51311
51342
|
}
|
|
@@ -52246,6 +52277,9 @@
|
|
|
52246
52277
|
}, (data) => getNodeValByProp("children", data));
|
|
52247
52278
|
return options;
|
|
52248
52279
|
});
|
|
52280
|
+
const cacheOptionsMap = vue.computed(() => {
|
|
52281
|
+
return cacheOptions.value.reduce((prev, next) => ({ ...prev, [next.value]: next }), {});
|
|
52282
|
+
});
|
|
52249
52283
|
return {
|
|
52250
52284
|
...pick(vue.toRefs(props), Object.keys(_Tree.props)),
|
|
52251
52285
|
...attrs,
|
|
@@ -52279,18 +52313,21 @@
|
|
|
52279
52313
|
if (!props.showCheckbox && (props.checkStrictly || node.isLeaf)) {
|
|
52280
52314
|
if (!getNodeValByProp("disabled", data)) {
|
|
52281
52315
|
const option = (_b = select.value) == null ? void 0 : _b.options.get(getNodeValByProp("value", data));
|
|
52282
|
-
(_c = select.value) == null ? void 0 : _c.handleOptionSelect(option
|
|
52316
|
+
(_c = select.value) == null ? void 0 : _c.handleOptionSelect(option);
|
|
52283
52317
|
}
|
|
52284
52318
|
} else if (props.expandOnClickNode) {
|
|
52285
52319
|
e.proxy.handleExpandIconClick();
|
|
52286
52320
|
}
|
|
52287
52321
|
},
|
|
52288
52322
|
onCheck: (data, params) => {
|
|
52289
|
-
|
|
52290
|
-
|
|
52323
|
+
if (!props.showCheckbox)
|
|
52324
|
+
return;
|
|
52291
52325
|
const dataValue = getNodeValByProp("value", data);
|
|
52326
|
+
const uncachedCheckedKeys = params.checkedKeys;
|
|
52327
|
+
const cachedKeys = props.multiple ? toValidArray(props.modelValue).filter((item) => item in cacheOptionsMap.value && !tree.value.getNode(item) && !uncachedCheckedKeys.includes(item)) : [];
|
|
52328
|
+
const checkedKeys = uncachedCheckedKeys.concat(cachedKeys);
|
|
52292
52329
|
if (props.checkStrictly) {
|
|
52293
|
-
emit(UPDATE_MODEL_EVENT, props.multiple ?
|
|
52330
|
+
emit(UPDATE_MODEL_EVENT, props.multiple ? checkedKeys : checkedKeys.includes(dataValue) ? dataValue : void 0);
|
|
52294
52331
|
} else {
|
|
52295
52332
|
if (props.multiple) {
|
|
52296
52333
|
emit(UPDATE_MODEL_EVENT, tree.value.getCheckedKeys(true));
|
|
@@ -52301,6 +52338,17 @@
|
|
|
52301
52338
|
emit(UPDATE_MODEL_EVENT, firstLeafKey === props.modelValue || hasCheckedChild ? void 0 : firstLeafKey);
|
|
52302
52339
|
}
|
|
52303
52340
|
}
|
|
52341
|
+
vue.nextTick(() => {
|
|
52342
|
+
var _a;
|
|
52343
|
+
const checkedKeys2 = toValidArray(props.modelValue);
|
|
52344
|
+
tree.value.setCheckedKeys(checkedKeys2);
|
|
52345
|
+
(_a = attrs.onCheck) == null ? void 0 : _a.call(attrs, data, {
|
|
52346
|
+
checkedKeys: tree.value.getCheckedKeys(),
|
|
52347
|
+
checkedNodes: tree.value.getCheckedNodes(),
|
|
52348
|
+
halfCheckedKeys: tree.value.getHalfCheckedKeys(),
|
|
52349
|
+
halfCheckedNodes: tree.value.getHalfCheckedNodes()
|
|
52350
|
+
});
|
|
52351
|
+
});
|
|
52304
52352
|
},
|
|
52305
52353
|
cacheOptions
|
|
52306
52354
|
};
|
|
@@ -53804,9 +53852,13 @@
|
|
|
53804
53852
|
let hookResult;
|
|
53805
53853
|
let beforeData = {};
|
|
53806
53854
|
try {
|
|
53855
|
+
const originData = props.data;
|
|
53807
53856
|
const beforeUploadPromise = props.beforeUpload(rawFile);
|
|
53808
53857
|
beforeData = isObject$1(props.data) ? cloneDeep(props.data) : props.data;
|
|
53809
53858
|
hookResult = await beforeUploadPromise;
|
|
53859
|
+
if (isObject$1(props.data) && isEqual$1(originData, beforeData)) {
|
|
53860
|
+
beforeData = cloneDeep(props.data);
|
|
53861
|
+
}
|
|
53810
53862
|
} catch (e) {
|
|
53811
53863
|
hookResult = false;
|
|
53812
53864
|
}
|
|
@@ -54569,7 +54621,7 @@
|
|
|
54569
54621
|
};
|
|
54570
54622
|
};
|
|
54571
54623
|
const addStyle = async (options, parent, instance) => {
|
|
54572
|
-
const { nextZIndex } = instance.vm.zIndex;
|
|
54624
|
+
const { nextZIndex } = instance.vm.zIndex || instance.vm._.exposed.zIndex;
|
|
54573
54625
|
const maskStyle = {};
|
|
54574
54626
|
if (options.fullscreen) {
|
|
54575
54627
|
instance.originalPosition.value = getStyle(document.body, "position");
|
|
@@ -54593,7 +54645,7 @@
|
|
|
54593
54645
|
}
|
|
54594
54646
|
};
|
|
54595
54647
|
const addClassList = (options, parent, instance) => {
|
|
54596
|
-
const ns = instance.vm.ns;
|
|
54648
|
+
const ns = instance.vm.ns || instance.vm._.exposed.ns;
|
|
54597
54649
|
if (!["absolute", "fixed", "sticky"].includes(instance.originalPosition.value)) {
|
|
54598
54650
|
addClass(parent, ns.bm("parent", "relative"));
|
|
54599
54651
|
} else {
|
|
@@ -55267,7 +55319,6 @@
|
|
|
55267
55319
|
if (props.lockScroll) {
|
|
55268
55320
|
useLockscreen(visible);
|
|
55269
55321
|
}
|
|
55270
|
-
useRestoreActive(visible);
|
|
55271
55322
|
return {
|
|
55272
55323
|
...vue.toRefs(state),
|
|
55273
55324
|
ns,
|
|
@@ -55694,10 +55745,7 @@
|
|
|
55694
55745
|
values: [...notificationTypes, ""],
|
|
55695
55746
|
default: ""
|
|
55696
55747
|
},
|
|
55697
|
-
zIndex:
|
|
55698
|
-
type: Number,
|
|
55699
|
-
default: 0
|
|
55700
|
-
}
|
|
55748
|
+
zIndex: Number
|
|
55701
55749
|
});
|
|
55702
55750
|
const notificationEmits = {
|
|
55703
55751
|
destroy: () => true
|
|
@@ -55733,9 +55781,10 @@
|
|
|
55733
55781
|
const horizontalClass = vue.computed(() => props.position.endsWith("right") ? "right" : "left");
|
|
55734
55782
|
const verticalProperty = vue.computed(() => props.position.startsWith("top") ? "top" : "bottom");
|
|
55735
55783
|
const positionStyle = vue.computed(() => {
|
|
55784
|
+
var _a;
|
|
55736
55785
|
return {
|
|
55737
55786
|
[verticalProperty.value]: `${props.offset}px`,
|
|
55738
|
-
zIndex: currentZIndex.value
|
|
55787
|
+
zIndex: (_a = props.zIndex) != null ? _a : currentZIndex.value
|
|
55739
55788
|
};
|
|
55740
55789
|
});
|
|
55741
55790
|
function startTimer() {
|
|
@@ -56365,7 +56414,6 @@
|
|
|
56365
56414
|
exports.usePopperTriggerProps = usePopperTriggerProps;
|
|
56366
56415
|
exports.usePreventGlobal = usePreventGlobal;
|
|
56367
56416
|
exports.useProp = useProp;
|
|
56368
|
-
exports.useRestoreActive = useRestoreActive;
|
|
56369
56417
|
exports.useSameTarget = useSameTarget;
|
|
56370
56418
|
exports.useSize = useSize;
|
|
56371
56419
|
exports.useSizeProp = useSizeProp;
|