element-plus 2.13.4 → 2.13.5
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/dist/index.full.js +122 -138
- package/dist/index.full.min.js +9 -9
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +10 -10
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +123 -140
- 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/affix/src/affix.vue.d.ts +3 -3
- package/es/components/alert/src/alert.d.ts +1 -1
- package/es/components/alert/src/alert.vue.d.ts +2 -2
- package/es/components/anchor/src/anchor.vue.d.ts +1 -1
- package/es/components/autocomplete/src/autocomplete.d.ts +3 -3
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +15 -15
- package/es/components/avatar/src/avatar.d.ts +1 -1
- package/es/components/avatar/src/avatar.vue.d.ts +1 -1
- package/es/components/backtop/src/backtop.vue.d.ts +1 -1
- package/es/components/badge/src/badge.d.ts +1 -1
- package/es/components/badge/src/badge.vue.d.ts +2 -2
- package/es/components/button/src/button-group.vue.d.ts +1 -1
- package/es/components/button/src/button.d.ts +1 -1
- package/es/components/button/src/button.vue.d.ts +3 -3
- package/es/components/calendar/src/calendar.vue.d.ts +1 -1
- package/es/components/card/src/card.vue.d.ts +1 -1
- package/es/components/carousel/src/carousel-item.vue.d.ts +1 -1
- package/es/components/carousel/src/carousel.d.ts +1 -1
- package/es/components/carousel/src/carousel.vue.d.ts +2 -2
- package/es/components/cascader/src/cascader.d.ts +2 -2
- package/es/components/cascader/src/cascader.vue.d.ts +12 -12
- package/es/components/cascader-panel/src/index.vue.d.ts +2 -2
- package/es/components/check-tag/src/check-tag.d.ts +1 -1
- package/es/components/checkbox/src/checkbox-button.vue.d.ts +3 -3
- package/es/components/checkbox/src/checkbox.d.ts +3 -3
- package/es/components/checkbox/src/checkbox.vue.d.ts +3 -3
- package/es/components/col/src/col.vue.d.ts +1 -1
- package/es/components/color-picker/src/color-picker.vue.d.ts +8 -8
- package/es/components/color-picker-panel/src/color-picker-panel.vue.d.ts +1 -1
- package/es/components/countdown/src/countdown.vue.d.ts +1 -1
- package/es/components/date-picker/src/date-picker.d.ts +8 -8
- package/es/components/date-picker/src/props.d.ts +1 -1
- package/es/components/date-picker-panel/src/date-picker-panel.d.ts +2 -2
- package/es/components/descriptions/src/description-item.d.ts +11 -11
- package/es/components/descriptions/src/description.vue.d.ts +1 -1
- package/es/components/dialog/src/dialog.vue.d.ts +5 -5
- package/es/components/divider/src/divider.d.ts +1 -1
- package/es/components/divider/src/divider.vue.d.ts +1 -1
- package/es/components/drawer/src/drawer.vue.d.ts +7 -7
- package/es/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
- package/es/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
- package/es/components/dropdown/src/dropdown.d.ts +4 -4
- package/es/components/dropdown/src/dropdown.vue.d.ts +17 -17
- package/es/components/form/src/form-item.d.ts +1 -1
- package/es/components/form/src/form-item.vue.d.ts +1 -1
- package/es/components/image/src/image.vue.d.ts +6 -6
- package/es/components/image-viewer/src/image-viewer.vue.d.ts +3 -3
- package/es/components/input/src/input.d.ts +2 -2
- package/es/components/input/src/input.vue.d.ts +7 -7
- package/es/components/input-number/src/input-number.d.ts +1 -1
- package/es/components/input-number/src/input-number.vue.d.ts +6 -6
- package/es/components/input-tag/src/input-tag.d.ts +2 -2
- package/es/components/input-tag/src/input-tag.vue.d.ts +10 -10
- package/es/components/link/src/link.d.ts +1 -1
- package/es/components/link/src/link.vue.d.ts +1 -1
- package/es/components/mention/src/mention.d.ts +2 -2
- package/es/components/mention/src/mention.vue.d.ts +9 -9
- package/es/components/menu/src/menu.d.ts +7 -7
- package/es/components/menu/src/sub-menu.d.ts +1 -1
- package/es/components/message/src/message.d.ts +1 -1
- package/es/components/message/src/message.vue.d.ts +8 -8
- package/es/components/notification/src/notification.d.ts +1 -1
- package/es/components/notification/src/notification.vue.d.ts +4 -4
- package/es/components/page-header/src/page-header.vue.d.ts +1 -1
- package/es/components/pagination/src/pagination.d.ts +3 -3
- package/es/components/popconfirm/src/popconfirm.d.ts +2 -2
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +2 -2
- package/es/components/popover/src/popover.d.ts +2 -2
- package/es/components/popover/src/popover.vue.d.ts +10 -10
- package/es/components/popper/src/composables/use-content.d.ts +2 -2
- package/es/components/popper/src/content.vue.d.ts +5 -5
- package/es/components/popper/src/popper.d.ts +2 -2
- package/es/components/progress/src/progress.vue.d.ts +3 -3
- package/es/components/radio/src/radio-button.d.ts +3 -3
- package/es/components/radio/src/radio-button.vue.d.ts +1 -1
- package/es/components/radio/src/radio-group.vue.d.ts +3 -3
- package/es/components/radio/src/radio.d.ts +6 -6
- package/es/components/radio/src/radio.vue.d.ts +1 -1
- package/es/components/rate/src/rate.vue.d.ts +1 -1
- package/es/components/result/src/result.d.ts +1 -1
- package/es/components/row/src/row.d.ts +1 -1
- package/es/components/row/src/row.vue.d.ts +1 -1
- package/es/components/scrollbar/src/scrollbar.vue.d.ts +4 -4
- package/es/components/segmented/index.d.ts +89 -89
- package/es/components/segmented/src/segmented.d.ts +1 -1
- package/es/components/segmented/src/segmented.vue.d.ts +1 -1
- package/es/components/select/src/option.d.ts +1 -1
- package/es/components/select/src/option.vue.d.ts +2 -2
- package/es/components/select/src/select.d.ts +3 -3
- package/es/components/select/src/select.vue.d.ts +31 -31
- package/es/components/select-v2/src/defaults.d.ts +2 -2
- package/es/components/select-v2/src/select.vue.d.ts +23 -23
- package/es/components/skeleton/src/skeleton-item.d.ts +1 -1
- package/es/components/skeleton/src/skeleton.vue.d.ts +1 -1
- package/es/components/slider/src/button.vue.d.ts +1 -1
- package/es/components/slider/src/slider.vue.d.ts +5 -5
- package/es/components/space/src/space.d.ts +1 -1
- package/es/components/splitter/src/hooks/useContainer.d.ts +1 -1
- package/es/components/statistic/src/statistic.vue.d.ts +2 -2
- package/es/components/steps/src/item.d.ts +1 -1
- package/es/components/steps/src/item.vue.d.ts +1 -1
- package/es/components/steps/src/steps.d.ts +2 -2
- package/es/components/switch/src/switch.vue.d.ts +2 -2
- package/es/components/table/src/table-body/index.d.ts +1 -1
- package/es/components/table/src/table-column/index.d.ts +7 -7
- package/es/components/table/src/table.vue.d.ts +12 -12
- package/es/components/table-v2/src/table-grid.d.ts +1 -1
- package/es/components/table-v2/src/table-v2.d.ts +1 -1
- package/es/components/tabs/src/tab-pane.vue.d.ts +1 -1
- package/es/components/tabs/src/tabs.d.ts +1 -1
- package/es/components/tag/src/tag.d.ts +1 -1
- package/es/components/tag/src/tag.vue.d.ts +1 -1
- package/es/components/text/src/text.d.ts +1 -1
- package/es/components/time-picker/src/common/picker.vue.d.ts +11 -11
- package/es/components/time-picker/src/common/props.d.ts +1 -1
- package/es/components/time-picker/src/time-picker.d.ts +8 -8
- package/es/components/time-picker/src/utils.d.ts +1 -1
- package/es/components/time-select/src/time-select.vue.d.ts +6 -6
- package/es/components/timeline/src/timeline-item.d.ts +1 -1
- package/es/components/timeline/src/timeline-item.vue.d.ts +1 -1
- package/es/components/tooltip/src/content.vue.d.ts +8 -8
- package/es/components/tooltip/src/tooltip.d.ts +2 -2
- package/es/components/tooltip/src/tooltip.vue.d.ts +11 -11
- package/es/components/tooltip/src/trigger.d.ts +1 -1
- package/es/components/tour/src/content.d.ts +1 -1
- package/es/components/tour/src/step.d.ts +1 -1
- package/es/components/tour/src/step.vue.d.ts +1 -1
- package/es/components/tour/src/tour.d.ts +1 -1
- package/es/components/tour/src/tour.vue.d.ts +5 -5
- package/es/components/transfer/src/transfer.vue.d.ts +1 -1
- package/es/components/tree/src/tree.vue.d.ts +4 -4
- package/es/components/tree-select/src/tree-select.vue.d.ts +27 -27
- package/es/components/tree-v2/src/tree.vue.d.ts +2 -2
- package/es/components/upload/src/upload-content.d.ts +1 -1
- package/es/components/upload/src/upload-content.vue.d.ts +1 -1
- package/es/components/upload/src/upload-list.d.ts +1 -1
- package/es/components/upload/src/upload.d.ts +2 -2
- package/es/components/upload/src/upload.vue.d.ts +1 -1
- package/es/components/virtual-list/src/builders/build-grid.d.ts +1 -1
- package/es/components/virtual-list/src/components/dynamic-size-grid.d.ts +1 -1
- package/es/components/virtual-list/src/components/dynamic-size-list.d.ts +2 -2
- package/es/components/virtual-list/src/components/fixed-size-grid.d.ts +1 -1
- package/es/components/virtual-list/src/components/fixed-size-list.d.ts +2 -2
- package/es/hooks/use-locale/index.d.ts +1 -1
- package/es/hooks/use-popper/index.d.ts +2 -2
- package/es/locale/index.d.ts +67 -67
- package/es/locale/lang/af.d.ts +1 -1
- package/es/locale/lang/ar-eg.d.ts +1 -1
- package/es/locale/lang/ar.d.ts +1 -1
- package/es/locale/lang/az.d.ts +1 -1
- package/es/locale/lang/bg.d.ts +1 -1
- package/es/locale/lang/bn.d.ts +1 -1
- package/es/locale/lang/ca.d.ts +1 -1
- package/es/locale/lang/ckb.d.ts +1 -1
- package/es/locale/lang/cs.d.ts +1 -1
- package/es/locale/lang/da.d.ts +1 -1
- package/es/locale/lang/de.d.ts +1 -1
- package/es/locale/lang/el.d.ts +1 -1
- package/es/locale/lang/en.d.ts +1 -1
- package/es/locale/lang/eo.d.ts +1 -1
- package/es/locale/lang/es.d.ts +1 -1
- package/es/locale/lang/et.d.ts +1 -1
- package/es/locale/lang/eu.d.ts +1 -1
- package/es/locale/lang/fa.d.ts +1 -1
- package/es/locale/lang/fi.d.ts +1 -1
- package/es/locale/lang/fr.d.ts +1 -1
- package/es/locale/lang/he.d.ts +1 -1
- package/es/locale/lang/hi.d.ts +1 -1
- package/es/locale/lang/hr.d.ts +1 -1
- package/es/locale/lang/hu.d.ts +1 -1
- package/es/locale/lang/hy-am.d.ts +1 -1
- package/es/locale/lang/id.d.ts +1 -1
- package/es/locale/lang/it.d.ts +1 -1
- package/es/locale/lang/ja.d.ts +1 -1
- package/es/locale/lang/kk.d.ts +1 -1
- package/es/locale/lang/km.d.ts +1 -1
- package/es/locale/lang/ko.d.ts +1 -1
- package/es/locale/lang/ku.d.ts +1 -1
- package/es/locale/lang/ky.d.ts +1 -1
- package/es/locale/lang/lo.d.ts +1 -1
- package/es/locale/lang/lt.d.ts +1 -1
- package/es/locale/lang/lv.d.ts +1 -1
- package/es/locale/lang/mg.d.ts +1 -1
- package/es/locale/lang/mn.d.ts +1 -1
- package/es/locale/lang/ms.d.ts +1 -1
- package/es/locale/lang/my.d.ts +1 -1
- package/es/locale/lang/nb-no.d.ts +1 -1
- package/es/locale/lang/nl.d.ts +1 -1
- package/es/locale/lang/no.d.ts +1 -1
- package/es/locale/lang/pa.d.ts +1 -1
- package/es/locale/lang/pl.d.ts +1 -1
- package/es/locale/lang/pt-br.d.ts +1 -1
- package/es/locale/lang/pt.d.ts +1 -1
- package/es/locale/lang/ro.d.ts +1 -1
- package/es/locale/lang/ru.d.ts +1 -1
- package/es/locale/lang/sk.d.ts +1 -1
- package/es/locale/lang/sl.d.ts +1 -1
- package/es/locale/lang/sr.d.ts +1 -1
- package/es/locale/lang/sv.d.ts +1 -1
- package/es/locale/lang/sw.d.ts +1 -1
- package/es/locale/lang/ta.d.ts +1 -1
- package/es/locale/lang/te.d.ts +1 -1
- package/es/locale/lang/th.d.ts +1 -1
- package/es/locale/lang/tk.d.ts +1 -1
- package/es/locale/lang/tr.d.ts +1 -1
- package/es/locale/lang/ug-cn.d.ts +1 -1
- package/es/locale/lang/uk.d.ts +1 -1
- package/es/locale/lang/uz-uz.d.ts +1 -1
- package/es/locale/lang/vi.d.ts +1 -1
- package/es/locale/lang/zh-cn.d.ts +1 -1
- package/es/locale/lang/zh-hk.d.ts +1 -1
- package/es/locale/lang/zh-mo.d.ts +1 -1
- package/es/locale/lang/zh-tw.d.ts +1 -1
- package/es/utils/vue/size.d.ts +1 -1
- package/es/utils/vue/vnode.d.ts +4 -4
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/affix/src/affix.vue.d.ts +3 -3
- package/lib/components/alert/src/alert.d.ts +1 -1
- package/lib/components/alert/src/alert.vue.d.ts +2 -2
- package/lib/components/anchor/src/anchor.vue.d.ts +1 -1
- package/lib/components/autocomplete/src/autocomplete.d.ts +3 -3
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +15 -15
- package/lib/components/avatar/src/avatar.d.ts +1 -1
- package/lib/components/avatar/src/avatar.vue.d.ts +1 -1
- package/lib/components/backtop/src/backtop.vue.d.ts +1 -1
- package/lib/components/badge/src/badge.d.ts +1 -1
- package/lib/components/badge/src/badge.vue.d.ts +2 -2
- package/lib/components/button/src/button-group.vue.d.ts +1 -1
- package/lib/components/button/src/button.d.ts +1 -1
- package/lib/components/button/src/button.vue.d.ts +3 -3
- package/lib/components/calendar/src/calendar.vue.d.ts +1 -1
- package/lib/components/card/src/card.vue.d.ts +1 -1
- package/lib/components/carousel/src/carousel-item.vue.d.ts +1 -1
- package/lib/components/carousel/src/carousel.d.ts +1 -1
- package/lib/components/carousel/src/carousel.vue.d.ts +2 -2
- package/lib/components/cascader/src/cascader.d.ts +2 -2
- package/lib/components/cascader/src/cascader.vue.d.ts +12 -12
- package/lib/components/cascader-panel/src/index.vue.d.ts +2 -2
- package/lib/components/check-tag/src/check-tag.d.ts +1 -1
- package/lib/components/checkbox/src/checkbox-button.vue.d.ts +3 -3
- package/lib/components/checkbox/src/checkbox.d.ts +3 -3
- package/lib/components/checkbox/src/checkbox.vue.d.ts +3 -3
- package/lib/components/col/src/col.vue.d.ts +1 -1
- package/lib/components/color-picker/src/color-picker.vue.d.ts +8 -8
- package/lib/components/color-picker-panel/src/color-picker-panel.vue.d.ts +1 -1
- package/lib/components/countdown/src/countdown.vue.d.ts +1 -1
- package/lib/components/date-picker/src/date-picker.d.ts +8 -8
- package/lib/components/date-picker/src/props.d.ts +1 -1
- package/lib/components/date-picker-panel/src/date-picker-panel.d.ts +2 -2
- package/lib/components/descriptions/src/description-item.d.ts +11 -11
- package/lib/components/descriptions/src/description.vue.d.ts +1 -1
- package/lib/components/dialog/src/dialog.vue.d.ts +5 -5
- package/lib/components/divider/src/divider.d.ts +1 -1
- package/lib/components/divider/src/divider.vue.d.ts +1 -1
- package/lib/components/drawer/src/drawer.vue.d.ts +7 -7
- package/lib/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
- package/lib/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
- package/lib/components/dropdown/src/dropdown.d.ts +4 -4
- package/lib/components/dropdown/src/dropdown.vue.d.ts +17 -17
- package/lib/components/form/src/form-item.d.ts +1 -1
- package/lib/components/form/src/form-item.vue.d.ts +1 -1
- package/lib/components/image/src/image.vue.d.ts +6 -6
- package/lib/components/image-viewer/src/image-viewer.vue.d.ts +3 -3
- package/lib/components/input/src/input.d.ts +2 -2
- package/lib/components/input/src/input.vue.d.ts +7 -7
- package/lib/components/input-number/src/input-number.d.ts +1 -1
- package/lib/components/input-number/src/input-number.vue.d.ts +6 -6
- package/lib/components/input-tag/src/input-tag.d.ts +2 -2
- package/lib/components/input-tag/src/input-tag.vue.d.ts +10 -10
- package/lib/components/link/src/link.d.ts +1 -1
- package/lib/components/link/src/link.vue.d.ts +1 -1
- package/lib/components/mention/src/mention.d.ts +2 -2
- package/lib/components/mention/src/mention.vue.d.ts +9 -9
- package/lib/components/menu/src/menu.d.ts +7 -7
- package/lib/components/menu/src/sub-menu.d.ts +1 -1
- package/lib/components/message/src/message.d.ts +1 -1
- package/lib/components/message/src/message.vue.d.ts +8 -8
- package/lib/components/notification/src/notification.d.ts +1 -1
- package/lib/components/notification/src/notification.vue.d.ts +4 -4
- package/lib/components/page-header/src/page-header.vue.d.ts +1 -1
- package/lib/components/pagination/src/pagination.d.ts +3 -3
- package/lib/components/popconfirm/src/popconfirm.d.ts +2 -2
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +2 -2
- package/lib/components/popover/src/popover.d.ts +2 -2
- package/lib/components/popover/src/popover.vue.d.ts +10 -10
- package/lib/components/popper/src/composables/use-content.d.ts +2 -2
- package/lib/components/popper/src/content.vue.d.ts +5 -5
- package/lib/components/popper/src/popper.d.ts +2 -2
- package/lib/components/progress/src/progress.vue.d.ts +3 -3
- package/lib/components/radio/src/radio-button.d.ts +3 -3
- package/lib/components/radio/src/radio-button.vue.d.ts +1 -1
- package/lib/components/radio/src/radio-group.vue.d.ts +3 -3
- package/lib/components/radio/src/radio.d.ts +6 -6
- package/lib/components/radio/src/radio.vue.d.ts +1 -1
- package/lib/components/rate/src/rate.vue.d.ts +1 -1
- package/lib/components/result/src/result.d.ts +1 -1
- package/lib/components/row/src/row.d.ts +1 -1
- package/lib/components/row/src/row.vue.d.ts +1 -1
- package/lib/components/scrollbar/src/scrollbar.vue.d.ts +4 -4
- package/lib/components/segmented/index.d.ts +89 -89
- package/lib/components/segmented/src/segmented.d.ts +1 -1
- package/lib/components/segmented/src/segmented.vue.d.ts +1 -1
- package/lib/components/select/src/option.d.ts +1 -1
- package/lib/components/select/src/option.vue.d.ts +2 -2
- package/lib/components/select/src/select.d.ts +3 -3
- package/lib/components/select/src/select.vue.d.ts +31 -31
- package/lib/components/select-v2/src/defaults.d.ts +2 -2
- package/lib/components/select-v2/src/select.vue.d.ts +23 -23
- package/lib/components/skeleton/src/skeleton-item.d.ts +1 -1
- package/lib/components/skeleton/src/skeleton.vue.d.ts +1 -1
- package/lib/components/slider/src/button.vue.d.ts +1 -1
- package/lib/components/slider/src/slider.vue.d.ts +5 -5
- package/lib/components/space/src/space.d.ts +1 -1
- package/lib/components/splitter/src/hooks/useContainer.d.ts +1 -1
- package/lib/components/statistic/src/statistic.vue.d.ts +2 -2
- package/lib/components/steps/src/item.d.ts +1 -1
- package/lib/components/steps/src/item.vue.d.ts +1 -1
- package/lib/components/steps/src/steps.d.ts +2 -2
- package/lib/components/switch/src/switch.vue.d.ts +2 -2
- package/lib/components/table/src/table-body/index.d.ts +1 -1
- package/lib/components/table/src/table-column/index.d.ts +7 -7
- package/lib/components/table/src/table.vue.d.ts +12 -12
- package/lib/components/table-v2/src/table-grid.d.ts +1 -1
- package/lib/components/table-v2/src/table-v2.d.ts +1 -1
- package/lib/components/tabs/src/tab-pane.vue.d.ts +1 -1
- package/lib/components/tabs/src/tabs.d.ts +1 -1
- package/lib/components/tag/src/tag.d.ts +1 -1
- package/lib/components/tag/src/tag.vue.d.ts +1 -1
- package/lib/components/text/src/text.d.ts +1 -1
- package/lib/components/time-picker/src/common/picker.vue.d.ts +11 -11
- package/lib/components/time-picker/src/common/props.d.ts +1 -1
- package/lib/components/time-picker/src/time-picker.d.ts +8 -8
- package/lib/components/time-picker/src/utils.d.ts +1 -1
- package/lib/components/time-select/src/time-select.vue.d.ts +6 -6
- package/lib/components/timeline/src/timeline-item.d.ts +1 -1
- package/lib/components/timeline/src/timeline-item.vue.d.ts +1 -1
- package/lib/components/tooltip/src/content.vue.d.ts +8 -8
- package/lib/components/tooltip/src/tooltip.d.ts +2 -2
- package/lib/components/tooltip/src/tooltip.vue.d.ts +11 -11
- package/lib/components/tooltip/src/trigger.d.ts +1 -1
- package/lib/components/tour/src/content.d.ts +1 -1
- package/lib/components/tour/src/step.d.ts +1 -1
- package/lib/components/tour/src/step.vue.d.ts +1 -1
- package/lib/components/tour/src/tour.d.ts +1 -1
- package/lib/components/tour/src/tour.vue.d.ts +5 -5
- package/lib/components/transfer/src/transfer.vue.d.ts +1 -1
- package/lib/components/tree/src/tree.vue.d.ts +4 -4
- package/lib/components/tree-select/src/tree-select.vue.d.ts +27 -27
- package/lib/components/tree-v2/src/tree.vue.d.ts +2 -2
- package/lib/components/upload/src/upload-content.d.ts +1 -1
- package/lib/components/upload/src/upload-content.vue.d.ts +1 -1
- package/lib/components/upload/src/upload-list.d.ts +1 -1
- package/lib/components/upload/src/upload.d.ts +2 -2
- package/lib/components/upload/src/upload.vue.d.ts +1 -1
- package/lib/components/virtual-list/src/builders/build-grid.d.ts +1 -1
- package/lib/components/virtual-list/src/components/dynamic-size-grid.d.ts +1 -1
- package/lib/components/virtual-list/src/components/dynamic-size-list.d.ts +2 -2
- package/lib/components/virtual-list/src/components/fixed-size-grid.d.ts +1 -1
- package/lib/components/virtual-list/src/components/fixed-size-list.d.ts +2 -2
- package/lib/hooks/use-locale/index.d.ts +1 -1
- package/lib/hooks/use-popper/index.d.ts +2 -2
- package/lib/locale/index.d.ts +67 -67
- package/lib/locale/lang/af.d.ts +1 -1
- package/lib/locale/lang/ar-eg.d.ts +1 -1
- package/lib/locale/lang/ar.d.ts +1 -1
- package/lib/locale/lang/az.d.ts +1 -1
- package/lib/locale/lang/bg.d.ts +1 -1
- package/lib/locale/lang/bn.d.ts +1 -1
- package/lib/locale/lang/ca.d.ts +1 -1
- package/lib/locale/lang/ckb.d.ts +1 -1
- package/lib/locale/lang/cs.d.ts +1 -1
- package/lib/locale/lang/da.d.ts +1 -1
- package/lib/locale/lang/de.d.ts +1 -1
- package/lib/locale/lang/el.d.ts +1 -1
- package/lib/locale/lang/en.d.ts +1 -1
- package/lib/locale/lang/eo.d.ts +1 -1
- package/lib/locale/lang/es.d.ts +1 -1
- package/lib/locale/lang/et.d.ts +1 -1
- package/lib/locale/lang/eu.d.ts +1 -1
- package/lib/locale/lang/fa.d.ts +1 -1
- package/lib/locale/lang/fi.d.ts +1 -1
- package/lib/locale/lang/fr.d.ts +1 -1
- package/lib/locale/lang/he.d.ts +1 -1
- package/lib/locale/lang/hi.d.ts +1 -1
- package/lib/locale/lang/hr.d.ts +1 -1
- package/lib/locale/lang/hu.d.ts +1 -1
- package/lib/locale/lang/hy-am.d.ts +1 -1
- package/lib/locale/lang/id.d.ts +1 -1
- package/lib/locale/lang/it.d.ts +1 -1
- package/lib/locale/lang/ja.d.ts +1 -1
- package/lib/locale/lang/kk.d.ts +1 -1
- package/lib/locale/lang/km.d.ts +1 -1
- package/lib/locale/lang/ko.d.ts +1 -1
- package/lib/locale/lang/ku.d.ts +1 -1
- package/lib/locale/lang/ky.d.ts +1 -1
- package/lib/locale/lang/lo.d.ts +1 -1
- package/lib/locale/lang/lt.d.ts +1 -1
- package/lib/locale/lang/lv.d.ts +1 -1
- package/lib/locale/lang/mg.d.ts +1 -1
- package/lib/locale/lang/mn.d.ts +1 -1
- package/lib/locale/lang/ms.d.ts +1 -1
- package/lib/locale/lang/my.d.ts +1 -1
- package/lib/locale/lang/nb-no.d.ts +1 -1
- package/lib/locale/lang/nl.d.ts +1 -1
- package/lib/locale/lang/no.d.ts +1 -1
- package/lib/locale/lang/pa.d.ts +1 -1
- package/lib/locale/lang/pl.d.ts +1 -1
- package/lib/locale/lang/pt-br.d.ts +1 -1
- package/lib/locale/lang/pt.d.ts +1 -1
- package/lib/locale/lang/ro.d.ts +1 -1
- package/lib/locale/lang/ru.d.ts +1 -1
- package/lib/locale/lang/sk.d.ts +1 -1
- package/lib/locale/lang/sl.d.ts +1 -1
- package/lib/locale/lang/sr.d.ts +1 -1
- package/lib/locale/lang/sv.d.ts +1 -1
- package/lib/locale/lang/sw.d.ts +1 -1
- package/lib/locale/lang/ta.d.ts +1 -1
- package/lib/locale/lang/te.d.ts +1 -1
- package/lib/locale/lang/th.d.ts +1 -1
- package/lib/locale/lang/tk.d.ts +1 -1
- package/lib/locale/lang/tr.d.ts +1 -1
- package/lib/locale/lang/ug-cn.d.ts +1 -1
- package/lib/locale/lang/uk.d.ts +1 -1
- package/lib/locale/lang/uz-uz.d.ts +1 -1
- package/lib/locale/lang/vi.d.ts +1 -1
- package/lib/locale/lang/zh-cn.d.ts +1 -1
- package/lib/locale/lang/zh-hk.d.ts +1 -1
- package/lib/locale/lang/zh-mo.d.ts +1 -1
- package/lib/locale/lang/zh-tw.d.ts +1 -1
- package/lib/utils/vue/size.d.ts +1 -1
- package/lib/utils/vue/vnode.d.ts +4 -4
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +3 -3
- package/web-types.json +1 -1
package/dist/index.full.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Element Plus v2.13.
|
|
1
|
+
/*! Element Plus v2.13.5 */
|
|
2
2
|
|
|
3
3
|
(function(global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
|
|
@@ -14,19 +14,6 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
14
14
|
var __getProtoOf = Object.getPrototypeOf;
|
|
15
15
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
16
16
|
var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
17
|
-
var __exportAll = (all, no_symbols) => {
|
|
18
|
-
let target = {};
|
|
19
|
-
for (var name in all) {
|
|
20
|
-
__defProp(target, name, {
|
|
21
|
-
get: all[name],
|
|
22
|
-
enumerable: true
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
if (!no_symbols) {
|
|
26
|
-
__defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
27
|
-
}
|
|
28
|
-
return target;
|
|
29
|
-
};
|
|
30
17
|
var __copyProps = (to, from, except, desc) => {
|
|
31
18
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
32
19
|
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
@@ -41,14 +28,12 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
41
28
|
}
|
|
42
29
|
return to;
|
|
43
30
|
};
|
|
44
|
-
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
45
31
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
46
32
|
value: mod,
|
|
47
33
|
enumerable: true
|
|
48
34
|
}) : target, mod));
|
|
49
35
|
|
|
50
36
|
//#endregion
|
|
51
|
-
vue = __toESM(vue);
|
|
52
37
|
|
|
53
38
|
//#region ../../packages/utils/dom/aria.ts
|
|
54
39
|
const FOCUSABLE_ELEMENT_SELECTORS = `a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])`;
|
|
@@ -210,69 +195,36 @@ vue = __toESM(vue);
|
|
|
210
195
|
const BORDER_HORIZONTAL_WIDTH = 2;
|
|
211
196
|
|
|
212
197
|
//#endregion
|
|
213
|
-
//#region ../../node_modules/.pnpm
|
|
214
|
-
var lib_exports = /* @__PURE__ */ __exportAll({
|
|
215
|
-
Vue: () => vue,
|
|
216
|
-
Vue2: () => Vue2,
|
|
217
|
-
del: () => del,
|
|
218
|
-
install: () => install$1,
|
|
219
|
-
isVue2: () => isVue2,
|
|
220
|
-
isVue3: () => isVue3,
|
|
221
|
-
set: () => set$1
|
|
222
|
-
});
|
|
223
|
-
__reExport(lib_exports, require("vue"));
|
|
224
|
-
var isVue2 = false;
|
|
225
|
-
var isVue3 = true;
|
|
226
|
-
var Vue2 = void 0;
|
|
227
|
-
function install$1() {}
|
|
228
|
-
function set$1(target, key, val) {
|
|
229
|
-
if (Array.isArray(target)) {
|
|
230
|
-
target.length = Math.max(target.length, key);
|
|
231
|
-
target.splice(key, 1, val);
|
|
232
|
-
return val;
|
|
233
|
-
}
|
|
234
|
-
target[key] = val;
|
|
235
|
-
return val;
|
|
236
|
-
}
|
|
237
|
-
function del(target, key) {
|
|
238
|
-
if (Array.isArray(target)) {
|
|
239
|
-
target.splice(key, 1);
|
|
240
|
-
return;
|
|
241
|
-
}
|
|
242
|
-
delete target[key];
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
//#endregion
|
|
246
|
-
//#region ../../node_modules/.pnpm/@vueuse+shared@10.11.1_vue@3.5.25_typescript@5.5.4_/node_modules/@vueuse/shared/index.mjs
|
|
198
|
+
//#region ../../node_modules/.pnpm/@vueuse+shared@12.0.0_typescript@5.5.4/node_modules/@vueuse/shared/index.mjs
|
|
247
199
|
function computedEager(fn, options) {
|
|
248
200
|
var _a;
|
|
249
|
-
const result = (0,
|
|
250
|
-
(0,
|
|
201
|
+
const result = (0, vue.shallowRef)();
|
|
202
|
+
(0, vue.watchEffect)(() => {
|
|
251
203
|
result.value = fn();
|
|
252
204
|
}, {
|
|
253
205
|
...options,
|
|
254
206
|
flush: (_a = options == null ? void 0 : options.flush) != null ? _a : "sync"
|
|
255
207
|
});
|
|
256
|
-
return (0,
|
|
208
|
+
return (0, vue.readonly)(result);
|
|
257
209
|
}
|
|
258
210
|
function tryOnScopeDispose(fn) {
|
|
259
|
-
if ((0,
|
|
260
|
-
(0,
|
|
211
|
+
if ((0, vue.getCurrentScope)()) {
|
|
212
|
+
(0, vue.onScopeDispose)(fn);
|
|
261
213
|
return true;
|
|
262
214
|
}
|
|
263
215
|
return false;
|
|
264
216
|
}
|
|
265
217
|
function toValue$1(r) {
|
|
266
|
-
return typeof r === "function" ? r() : (0,
|
|
218
|
+
return typeof r === "function" ? r() : (0, vue.unref)(r);
|
|
267
219
|
}
|
|
268
220
|
function toReactive(objectRef) {
|
|
269
|
-
if (!(0,
|
|
270
|
-
return (0,
|
|
221
|
+
if (!(0, vue.isRef)(objectRef)) return (0, vue.reactive)(objectRef);
|
|
222
|
+
return (0, vue.reactive)(new Proxy({}, {
|
|
271
223
|
get(_, p, receiver) {
|
|
272
|
-
return (0,
|
|
224
|
+
return (0, vue.unref)(Reflect.get(objectRef.value, p, receiver));
|
|
273
225
|
},
|
|
274
226
|
set(_, p, value) {
|
|
275
|
-
if ((0,
|
|
227
|
+
if ((0, vue.isRef)(objectRef.value[p]) && !(0, vue.isRef)(value)) objectRef.value[p].value = value;
|
|
276
228
|
else objectRef.value[p] = value;
|
|
277
229
|
return true;
|
|
278
230
|
},
|
|
@@ -294,7 +246,7 @@ vue = __toESM(vue);
|
|
|
294
246
|
}));
|
|
295
247
|
}
|
|
296
248
|
function reactiveComputed(fn) {
|
|
297
|
-
return toReactive((0,
|
|
249
|
+
return toReactive((0, vue.computed)(fn));
|
|
298
250
|
}
|
|
299
251
|
const isClient = typeof window !== "undefined" && typeof document !== "undefined";
|
|
300
252
|
const isWorker = typeof WorkerGlobalScope !== "undefined" && globalThis instanceof WorkerGlobalScope;
|
|
@@ -367,7 +319,7 @@ vue = __toESM(vue);
|
|
|
367
319
|
let trailing;
|
|
368
320
|
let leading;
|
|
369
321
|
let rejectOnCancel;
|
|
370
|
-
if (!(0,
|
|
322
|
+
if (!(0, vue.isRef)(args[0]) && typeof args[0] === "object") ({delay: ms, trailing = true, leading = true, rejectOnCancel = false} = args[0]);
|
|
371
323
|
else [ms, trailing = true, leading = true, rejectOnCancel = false] = args;
|
|
372
324
|
const clear = () => {
|
|
373
325
|
if (timer) {
|
|
@@ -419,30 +371,30 @@ vue = __toESM(vue);
|
|
|
419
371
|
return str.replace(camelizeRE$1, (_, c) => c ? c.toUpperCase() : "");
|
|
420
372
|
});
|
|
421
373
|
function getLifeCycleTarget(target) {
|
|
422
|
-
return target || (0,
|
|
374
|
+
return target || (0, vue.getCurrentInstance)();
|
|
423
375
|
}
|
|
424
376
|
function useDebounceFn(fn, ms = 200, options = {}) {
|
|
425
377
|
return createFilterWrapper(debounceFilter(ms, options), fn);
|
|
426
378
|
}
|
|
427
379
|
function refDebounced(value, ms = 200, options = {}) {
|
|
428
|
-
const debounced = (0,
|
|
380
|
+
const debounced = (0, vue.ref)(value.value);
|
|
429
381
|
const updater = useDebounceFn(() => {
|
|
430
382
|
debounced.value = value.value;
|
|
431
383
|
}, ms, options);
|
|
432
|
-
(0,
|
|
384
|
+
(0, vue.watch)(value, () => updater());
|
|
433
385
|
return debounced;
|
|
434
386
|
}
|
|
435
387
|
function useThrottleFn(fn, ms = 200, trailing = false, leading = true, rejectOnCancel = false) {
|
|
436
388
|
return createFilterWrapper(throttleFilter(ms, trailing, leading, rejectOnCancel), fn);
|
|
437
389
|
}
|
|
438
390
|
function tryOnMounted(fn, sync = true, target) {
|
|
439
|
-
if (getLifeCycleTarget()) (0,
|
|
391
|
+
if (getLifeCycleTarget()) (0, vue.onMounted)(fn, target);
|
|
440
392
|
else if (sync) fn();
|
|
441
|
-
else (0,
|
|
393
|
+
else (0, vue.nextTick)(fn);
|
|
442
394
|
}
|
|
443
395
|
function useTimeoutFn(cb, interval, options = {}) {
|
|
444
396
|
const { immediate = true } = options;
|
|
445
|
-
const isPending = (0,
|
|
397
|
+
const isPending = (0, vue.ref)(false);
|
|
446
398
|
let timer = null;
|
|
447
399
|
function clear() {
|
|
448
400
|
if (timer) {
|
|
@@ -469,23 +421,23 @@ vue = __toESM(vue);
|
|
|
469
421
|
}
|
|
470
422
|
tryOnScopeDispose(stop);
|
|
471
423
|
return {
|
|
472
|
-
isPending: (0,
|
|
424
|
+
isPending: (0, vue.readonly)(isPending),
|
|
473
425
|
start,
|
|
474
426
|
stop
|
|
475
427
|
};
|
|
476
428
|
}
|
|
477
429
|
|
|
478
430
|
//#endregion
|
|
479
|
-
//#region ../../node_modules/.pnpm/@vueuse+core@
|
|
431
|
+
//#region ../../node_modules/.pnpm/@vueuse+core@12.0.0_typescript@5.5.4/node_modules/@vueuse/core/index.mjs
|
|
432
|
+
const defaultWindow = isClient ? window : void 0;
|
|
433
|
+
const defaultDocument = isClient ? window.document : void 0;
|
|
434
|
+
const defaultNavigator = isClient ? window.navigator : void 0;
|
|
435
|
+
const defaultLocation = isClient ? window.location : void 0;
|
|
480
436
|
function unrefElement(elRef) {
|
|
481
437
|
var _a;
|
|
482
438
|
const plain = toValue$1(elRef);
|
|
483
439
|
return (_a = plain == null ? void 0 : plain.$el) != null ? _a : plain;
|
|
484
440
|
}
|
|
485
|
-
const defaultWindow = isClient ? window : void 0;
|
|
486
|
-
const defaultDocument = isClient ? window.document : void 0;
|
|
487
|
-
const defaultNavigator = isClient ? window.navigator : void 0;
|
|
488
|
-
const defaultLocation = isClient ? window.location : void 0;
|
|
489
441
|
function useEventListener(...args) {
|
|
490
442
|
let target;
|
|
491
443
|
let events;
|
|
@@ -507,7 +459,7 @@ vue = __toESM(vue);
|
|
|
507
459
|
el.addEventListener(event, listener, options2);
|
|
508
460
|
return () => el.removeEventListener(event, listener, options2);
|
|
509
461
|
};
|
|
510
|
-
const stopWatch = (0,
|
|
462
|
+
const stopWatch = (0, vue.watch)(() => [unrefElement(target), toValue$1(options)], ([el, options2]) => {
|
|
511
463
|
cleanup();
|
|
512
464
|
if (!el) return;
|
|
513
465
|
const optionsClone = isObject$2(options2) ? { ...options2 } : options2;
|
|
@@ -536,7 +488,7 @@ vue = __toESM(vue);
|
|
|
536
488
|
}
|
|
537
489
|
let shouldListen = true;
|
|
538
490
|
const shouldIgnore = (event) => {
|
|
539
|
-
return ignore.some((target2) => {
|
|
491
|
+
return toValue$1(ignore).some((target2) => {
|
|
540
492
|
if (typeof target2 === "string") return Array.from(window.document.querySelectorAll(target2)).some((el) => el === event.target || event.composedPath().includes(el));
|
|
541
493
|
else {
|
|
542
494
|
const el = unrefElement(target2);
|
|
@@ -544,8 +496,20 @@ vue = __toESM(vue);
|
|
|
544
496
|
}
|
|
545
497
|
});
|
|
546
498
|
};
|
|
499
|
+
function hasMultipleRoots(target2) {
|
|
500
|
+
const vm = toValue$1(target2);
|
|
501
|
+
return vm && vm.$.subTree.shapeFlag === 16;
|
|
502
|
+
}
|
|
503
|
+
function checkMultipleRoots(target2, event) {
|
|
504
|
+
const vm = toValue$1(target2);
|
|
505
|
+
const children = vm.$.subTree && vm.$.subTree.children;
|
|
506
|
+
if (children == null || !Array.isArray(children)) return false;
|
|
507
|
+
return children.some((child) => child.el === event.target || event.composedPath().includes(child.el));
|
|
508
|
+
}
|
|
547
509
|
const listener = (event) => {
|
|
548
510
|
const el = unrefElement(target);
|
|
511
|
+
if (event.target == null) return;
|
|
512
|
+
if (!(el instanceof Element) && hasMultipleRoots(target) && checkMultipleRoots(target, event)) return;
|
|
549
513
|
if (!el || el === event.target || event.composedPath().includes(el)) return;
|
|
550
514
|
if (event.detail === 0) shouldListen = !shouldIgnore(event);
|
|
551
515
|
if (!shouldListen) {
|
|
@@ -554,8 +518,17 @@ vue = __toESM(vue);
|
|
|
554
518
|
}
|
|
555
519
|
handler(event);
|
|
556
520
|
};
|
|
521
|
+
let isProcessingClick = false;
|
|
557
522
|
const cleanup = [
|
|
558
|
-
useEventListener(window, "click",
|
|
523
|
+
useEventListener(window, "click", (event) => {
|
|
524
|
+
if (!isProcessingClick) {
|
|
525
|
+
isProcessingClick = true;
|
|
526
|
+
setTimeout(() => {
|
|
527
|
+
isProcessingClick = false;
|
|
528
|
+
}, 0);
|
|
529
|
+
listener(event);
|
|
530
|
+
}
|
|
531
|
+
}, {
|
|
559
532
|
passive: true,
|
|
560
533
|
capture
|
|
561
534
|
}),
|
|
@@ -575,16 +548,16 @@ vue = __toESM(vue);
|
|
|
575
548
|
return stop;
|
|
576
549
|
}
|
|
577
550
|
function useMounted() {
|
|
578
|
-
const isMounted = (0,
|
|
579
|
-
const instance = (0,
|
|
580
|
-
if (instance) (0,
|
|
551
|
+
const isMounted = (0, vue.ref)(false);
|
|
552
|
+
const instance = (0, vue.getCurrentInstance)();
|
|
553
|
+
if (instance) (0, vue.onMounted)(() => {
|
|
581
554
|
isMounted.value = true;
|
|
582
|
-
},
|
|
555
|
+
}, instance);
|
|
583
556
|
return isMounted;
|
|
584
557
|
}
|
|
585
558
|
function useSupported(callback) {
|
|
586
559
|
const isMounted = useMounted();
|
|
587
|
-
return (0,
|
|
560
|
+
return (0, vue.computed)(() => {
|
|
588
561
|
isMounted.value;
|
|
589
562
|
return Boolean(callback());
|
|
590
563
|
});
|
|
@@ -599,12 +572,12 @@ vue = __toESM(vue);
|
|
|
599
572
|
observer = void 0;
|
|
600
573
|
}
|
|
601
574
|
};
|
|
602
|
-
const targets = (0,
|
|
575
|
+
const targets = (0, vue.computed)(() => {
|
|
603
576
|
const value = toValue$1(target);
|
|
604
577
|
const items = (Array.isArray(value) ? value : [value]).map(unrefElement).filter(notNullish);
|
|
605
578
|
return new Set(items);
|
|
606
579
|
});
|
|
607
|
-
const stopWatch = (0,
|
|
580
|
+
const stopWatch = (0, vue.watch)(() => targets.value, (targets2) => {
|
|
608
581
|
cleanup();
|
|
609
582
|
if (isSupported.value && targets2.size) {
|
|
610
583
|
observer = new MutationObserver(callback);
|
|
@@ -618,8 +591,8 @@ vue = __toESM(vue);
|
|
|
618
591
|
return observer == null ? void 0 : observer.takeRecords();
|
|
619
592
|
};
|
|
620
593
|
const stop = () => {
|
|
621
|
-
cleanup();
|
|
622
594
|
stopWatch();
|
|
595
|
+
cleanup();
|
|
623
596
|
};
|
|
624
597
|
tryOnScopeDispose(stop);
|
|
625
598
|
return {
|
|
@@ -638,7 +611,7 @@ vue = __toESM(vue);
|
|
|
638
611
|
if (deep) while (element == null ? void 0 : element.shadowRoot) element = (_a2 = element == null ? void 0 : element.shadowRoot) == null ? void 0 : _a2.activeElement;
|
|
639
612
|
return element;
|
|
640
613
|
};
|
|
641
|
-
const activeElement = (0,
|
|
614
|
+
const activeElement = (0, vue.ref)();
|
|
642
615
|
const trigger = () => {
|
|
643
616
|
activeElement.value = getDeepActiveElement();
|
|
644
617
|
};
|
|
@@ -664,7 +637,7 @@ vue = __toESM(vue);
|
|
|
664
637
|
const { window = defaultWindow } = options;
|
|
665
638
|
const isSupported = useSupported(() => window && "matchMedia" in window && typeof window.matchMedia === "function");
|
|
666
639
|
let mediaQuery;
|
|
667
|
-
const matches = (0,
|
|
640
|
+
const matches = (0, vue.ref)(false);
|
|
668
641
|
const handler = (event) => {
|
|
669
642
|
matches.value = event.matches;
|
|
670
643
|
};
|
|
@@ -673,7 +646,7 @@ vue = __toESM(vue);
|
|
|
673
646
|
if ("removeEventListener" in mediaQuery) mediaQuery.removeEventListener("change", handler);
|
|
674
647
|
else mediaQuery.removeListener(handler);
|
|
675
648
|
};
|
|
676
|
-
const stopWatch = (0,
|
|
649
|
+
const stopWatch = (0, vue.watchEffect)(() => {
|
|
677
650
|
if (!isSupported.value) return;
|
|
678
651
|
cleanup();
|
|
679
652
|
mediaQuery = window.matchMedia(toValue$1(query));
|
|
@@ -692,9 +665,9 @@ vue = __toESM(vue);
|
|
|
692
665
|
return JSON.parse(JSON.stringify(source));
|
|
693
666
|
}
|
|
694
667
|
function useCssVar(prop, target, options = {}) {
|
|
695
|
-
const { window = defaultWindow, initialValue
|
|
696
|
-
const variable = (0,
|
|
697
|
-
const elRef = (0,
|
|
668
|
+
const { window = defaultWindow, initialValue, observe = false } = options;
|
|
669
|
+
const variable = (0, vue.ref)(initialValue);
|
|
670
|
+
const elRef = (0, vue.computed)(() => {
|
|
698
671
|
var _a;
|
|
699
672
|
return unrefElement(target) || ((_a = window == null ? void 0 : window.document) == null ? void 0 : _a.documentElement);
|
|
700
673
|
});
|
|
@@ -702,23 +675,28 @@ vue = __toESM(vue);
|
|
|
702
675
|
var _a;
|
|
703
676
|
const key = toValue$1(prop);
|
|
704
677
|
const el = toValue$1(elRef);
|
|
705
|
-
if (el && window) variable.value = ((_a = window.getComputedStyle(el).getPropertyValue(key)) == null ? void 0 : _a.trim()) || initialValue;
|
|
678
|
+
if (el && window && key) variable.value = ((_a = window.getComputedStyle(el).getPropertyValue(key)) == null ? void 0 : _a.trim()) || initialValue;
|
|
706
679
|
}
|
|
707
680
|
if (observe) useMutationObserver(elRef, updateCssVar, {
|
|
708
681
|
attributeFilter: ["style", "class"],
|
|
709
682
|
window
|
|
710
683
|
});
|
|
711
|
-
(0,
|
|
712
|
-
|
|
684
|
+
(0, vue.watch)([elRef, () => toValue$1(prop)], (_, old) => {
|
|
685
|
+
if (old[0] && old[1]) old[0].style.removeProperty(old[1]);
|
|
686
|
+
updateCssVar();
|
|
687
|
+
}, { immediate: true });
|
|
688
|
+
(0, vue.watch)(variable, (val) => {
|
|
713
689
|
var _a;
|
|
714
|
-
|
|
690
|
+
const raw_prop = toValue$1(prop);
|
|
691
|
+
if (((_a = elRef.value) == null ? void 0 : _a.style) && raw_prop) if (val == null) elRef.value.style.removeProperty(raw_prop);
|
|
692
|
+
else elRef.value.style.setProperty(raw_prop, val);
|
|
715
693
|
});
|
|
716
694
|
return variable;
|
|
717
695
|
}
|
|
718
696
|
function useDocumentVisibility(options = {}) {
|
|
719
697
|
const { document = defaultDocument } = options;
|
|
720
|
-
if (!document) return (0,
|
|
721
|
-
const visibility = (0,
|
|
698
|
+
if (!document) return (0, vue.ref)("visible");
|
|
699
|
+
const visibility = (0, vue.ref)(document.visibilityState);
|
|
722
700
|
useEventListener(document, "visibilitychange", () => {
|
|
723
701
|
visibility.value = document.visibilityState;
|
|
724
702
|
});
|
|
@@ -734,11 +712,14 @@ vue = __toESM(vue);
|
|
|
734
712
|
observer = void 0;
|
|
735
713
|
}
|
|
736
714
|
};
|
|
737
|
-
const stopWatch = (0,
|
|
715
|
+
const stopWatch = (0, vue.watch)((0, vue.computed)(() => {
|
|
716
|
+
const _targets = toValue$1(target);
|
|
717
|
+
return Array.isArray(_targets) ? _targets.map((el) => unrefElement(el)) : [unrefElement(_targets)];
|
|
718
|
+
}), (els) => {
|
|
738
719
|
cleanup();
|
|
739
720
|
if (isSupported.value && window) {
|
|
740
721
|
observer = new ResizeObserver(callback);
|
|
741
|
-
for (const _el of els) _el
|
|
722
|
+
for (const _el of els) if (_el) observer.observe(_el, observerOptions);
|
|
742
723
|
}
|
|
743
724
|
}, {
|
|
744
725
|
immediate: true,
|
|
@@ -755,16 +736,16 @@ vue = __toESM(vue);
|
|
|
755
736
|
};
|
|
756
737
|
}
|
|
757
738
|
function useElementBounding(target, options = {}) {
|
|
758
|
-
const { reset = true, windowResize = true, windowScroll = true, immediate = true } = options;
|
|
759
|
-
const height = (0,
|
|
760
|
-
const bottom = (0,
|
|
761
|
-
const left = (0,
|
|
762
|
-
const right = (0,
|
|
763
|
-
const top = (0,
|
|
764
|
-
const width = (0,
|
|
765
|
-
const x = (0,
|
|
766
|
-
const y = (0,
|
|
767
|
-
function
|
|
739
|
+
const { reset = true, windowResize = true, windowScroll = true, immediate = true, updateTiming = "sync" } = options;
|
|
740
|
+
const height = (0, vue.ref)(0);
|
|
741
|
+
const bottom = (0, vue.ref)(0);
|
|
742
|
+
const left = (0, vue.ref)(0);
|
|
743
|
+
const right = (0, vue.ref)(0);
|
|
744
|
+
const top = (0, vue.ref)(0);
|
|
745
|
+
const width = (0, vue.ref)(0);
|
|
746
|
+
const x = (0, vue.ref)(0);
|
|
747
|
+
const y = (0, vue.ref)(0);
|
|
748
|
+
function recalculate() {
|
|
768
749
|
const el = unrefElement(target);
|
|
769
750
|
if (!el) {
|
|
770
751
|
if (reset) {
|
|
@@ -789,8 +770,12 @@ vue = __toESM(vue);
|
|
|
789
770
|
x.value = rect.x;
|
|
790
771
|
y.value = rect.y;
|
|
791
772
|
}
|
|
773
|
+
function update() {
|
|
774
|
+
if (updateTiming === "sync") recalculate();
|
|
775
|
+
else if (updateTiming === "next-frame") requestAnimationFrame(() => recalculate());
|
|
776
|
+
}
|
|
792
777
|
useResizeObserver(target, update);
|
|
793
|
-
(0,
|
|
778
|
+
(0, vue.watch)(() => unrefElement(target), (ele) => !ele && update());
|
|
794
779
|
useMutationObserver(target, update, { attributeFilter: ["style", "class"] });
|
|
795
780
|
if (windowScroll) useEventListener("scroll", update, {
|
|
796
781
|
capture: true,
|
|
@@ -817,12 +802,12 @@ vue = __toESM(vue);
|
|
|
817
802
|
height: 0
|
|
818
803
|
}, options = {}) {
|
|
819
804
|
const { window = defaultWindow, box = "content-box" } = options;
|
|
820
|
-
const isSVG = (0,
|
|
805
|
+
const isSVG = (0, vue.computed)(() => {
|
|
821
806
|
var _a, _b;
|
|
822
807
|
return (_b = (_a = unrefElement(target)) == null ? void 0 : _a.namespaceURI) == null ? void 0 : _b.includes("svg");
|
|
823
808
|
});
|
|
824
|
-
const width = (0,
|
|
825
|
-
const height = (0,
|
|
809
|
+
const width = (0, vue.ref)(initialSize.width);
|
|
810
|
+
const height = (0, vue.ref)(initialSize.height);
|
|
826
811
|
const { stop: stop1 } = useResizeObserver(target, ([entry]) => {
|
|
827
812
|
const boxSize = box === "border-box" ? entry.borderBoxSize : box === "content-box" ? entry.contentBoxSize : entry.devicePixelContentBoxSize;
|
|
828
813
|
if (window && isSVG.value) {
|
|
@@ -848,7 +833,7 @@ vue = __toESM(vue);
|
|
|
848
833
|
height.value = "offsetHeight" in ele ? ele.offsetHeight : initialSize.height;
|
|
849
834
|
}
|
|
850
835
|
});
|
|
851
|
-
const stop2 = (0,
|
|
836
|
+
const stop2 = (0, vue.watch)(() => unrefElement(target), (ele) => {
|
|
852
837
|
width.value = ele ? initialSize.width : 0;
|
|
853
838
|
height.value = ele ? initialSize.height : 0;
|
|
854
839
|
});
|
|
@@ -863,15 +848,15 @@ vue = __toESM(vue);
|
|
|
863
848
|
};
|
|
864
849
|
}
|
|
865
850
|
function useIntersectionObserver(target, callback, options = {}) {
|
|
866
|
-
const { root, rootMargin = "0px", threshold =
|
|
851
|
+
const { root, rootMargin = "0px", threshold = 0, window = defaultWindow, immediate = true } = options;
|
|
867
852
|
const isSupported = useSupported(() => window && "IntersectionObserver" in window);
|
|
868
|
-
const targets = (0,
|
|
853
|
+
const targets = (0, vue.computed)(() => {
|
|
869
854
|
const _target = toValue$1(target);
|
|
870
855
|
return (Array.isArray(_target) ? _target : [_target]).map(unrefElement).filter(notNullish);
|
|
871
856
|
});
|
|
872
857
|
let cleanup = noop$1;
|
|
873
|
-
const isActive = (0,
|
|
874
|
-
const stopWatch = isSupported.value ? (0,
|
|
858
|
+
const isActive = (0, vue.ref)(immediate);
|
|
859
|
+
const stopWatch = isSupported.value ? (0, vue.watch)(() => [
|
|
875
860
|
targets.value,
|
|
876
861
|
unrefElement(root),
|
|
877
862
|
isActive.value
|
|
@@ -950,16 +935,12 @@ vue = __toESM(vue);
|
|
|
950
935
|
}
|
|
951
936
|
];
|
|
952
937
|
function useVModel(props, key, emit, options = {}) {
|
|
953
|
-
var _a, _b, _c
|
|
938
|
+
var _a, _b, _c;
|
|
954
939
|
const { clone = false, passive = false, eventName, deep = false, defaultValue, shouldEmit } = options;
|
|
955
|
-
const vm = (0,
|
|
940
|
+
const vm = (0, vue.getCurrentInstance)();
|
|
956
941
|
const _emit = emit || (vm == null ? void 0 : vm.emit) || ((_a = vm == null ? void 0 : vm.$emit) == null ? void 0 : _a.bind(vm)) || ((_c = (_b = vm == null ? void 0 : vm.proxy) == null ? void 0 : _b.$emit) == null ? void 0 : _c.bind(vm == null ? void 0 : vm.proxy));
|
|
957
942
|
let event = eventName;
|
|
958
|
-
if (!key)
|
|
959
|
-
const modelOptions = (_e = (_d = vm == null ? void 0 : vm.proxy) == null ? void 0 : _d.$options) == null ? void 0 : _e.model;
|
|
960
|
-
key = (modelOptions == null ? void 0 : modelOptions.value) || "value";
|
|
961
|
-
if (!eventName) event = (modelOptions == null ? void 0 : modelOptions.event) || "input";
|
|
962
|
-
} else key = "modelValue";
|
|
943
|
+
if (!key) key = "modelValue";
|
|
963
944
|
event = event || `update:${key.toString()}`;
|
|
964
945
|
const cloneFn = (val) => !clone ? val : typeof clone === "function" ? clone(val) : cloneFnJSON(val);
|
|
965
946
|
const getValue = () => isDef(props[key]) ? cloneFn(props[key]) : defaultValue;
|
|
@@ -969,20 +950,20 @@ vue = __toESM(vue);
|
|
|
969
950
|
} else _emit(event, value);
|
|
970
951
|
};
|
|
971
952
|
if (passive) {
|
|
972
|
-
const proxy = (0,
|
|
953
|
+
const proxy = (0, vue.ref)(getValue());
|
|
973
954
|
let isUpdating = false;
|
|
974
|
-
(0,
|
|
955
|
+
(0, vue.watch)(() => props[key], (v) => {
|
|
975
956
|
if (!isUpdating) {
|
|
976
957
|
isUpdating = true;
|
|
977
958
|
proxy.value = cloneFn(v);
|
|
978
|
-
(0,
|
|
959
|
+
(0, vue.nextTick)(() => isUpdating = false);
|
|
979
960
|
}
|
|
980
961
|
});
|
|
981
|
-
(0,
|
|
962
|
+
(0, vue.watch)(proxy, (v) => {
|
|
982
963
|
if (!isUpdating && (v !== props[key] || deep)) triggerEmit(v);
|
|
983
964
|
}, { deep });
|
|
984
965
|
return proxy;
|
|
985
|
-
} else return (0,
|
|
966
|
+
} else return (0, vue.computed)({
|
|
986
967
|
get() {
|
|
987
968
|
return getValue();
|
|
988
969
|
},
|
|
@@ -993,8 +974,8 @@ vue = __toESM(vue);
|
|
|
993
974
|
}
|
|
994
975
|
function useWindowFocus(options = {}) {
|
|
995
976
|
const { window = defaultWindow } = options;
|
|
996
|
-
if (!window) return (0,
|
|
997
|
-
const focused = (0,
|
|
977
|
+
if (!window) return (0, vue.ref)(false);
|
|
978
|
+
const focused = (0, vue.ref)(window.document.hasFocus());
|
|
998
979
|
useEventListener(window, "blur", () => {
|
|
999
980
|
focused.value = false;
|
|
1000
981
|
});
|
|
@@ -1004,11 +985,14 @@ vue = __toESM(vue);
|
|
|
1004
985
|
return focused;
|
|
1005
986
|
}
|
|
1006
987
|
function useWindowSize(options = {}) {
|
|
1007
|
-
const { window = defaultWindow, initialWidth = Number.POSITIVE_INFINITY, initialHeight = Number.POSITIVE_INFINITY, listenOrientation = true, includeScrollbar = true } = options;
|
|
1008
|
-
const width = (0,
|
|
1009
|
-
const height = (0,
|
|
988
|
+
const { window = defaultWindow, initialWidth = Number.POSITIVE_INFINITY, initialHeight = Number.POSITIVE_INFINITY, listenOrientation = true, includeScrollbar = true, type = "inner" } = options;
|
|
989
|
+
const width = (0, vue.ref)(initialWidth);
|
|
990
|
+
const height = (0, vue.ref)(initialHeight);
|
|
1010
991
|
const update = () => {
|
|
1011
|
-
if (window) if (
|
|
992
|
+
if (window) if (type === "outer") {
|
|
993
|
+
width.value = window.outerWidth;
|
|
994
|
+
height.value = window.outerHeight;
|
|
995
|
+
} else if (includeScrollbar) {
|
|
1012
996
|
width.value = window.innerWidth;
|
|
1013
997
|
height.value = window.innerHeight;
|
|
1014
998
|
} else {
|
|
@@ -1019,7 +1003,7 @@ vue = __toESM(vue);
|
|
|
1019
1003
|
update();
|
|
1020
1004
|
tryOnMounted(update);
|
|
1021
1005
|
useEventListener("resize", update, { passive: true });
|
|
1022
|
-
if (listenOrientation) (0,
|
|
1006
|
+
if (listenOrientation) (0, vue.watch)(useMediaQuery("(orientation: portrait)"), () => update());
|
|
1023
1007
|
return {
|
|
1024
1008
|
width,
|
|
1025
1009
|
height
|
|
@@ -10478,7 +10462,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
10478
10462
|
|
|
10479
10463
|
//#endregion
|
|
10480
10464
|
//#region ../../packages/element-plus/version.ts
|
|
10481
|
-
const version$1 = "2.13.
|
|
10465
|
+
const version$1 = "2.13.5";
|
|
10482
10466
|
|
|
10483
10467
|
//#endregion
|
|
10484
10468
|
//#region ../../packages/element-plus/make-installer.ts
|