element-plus 2.2.12 → 2.2.15
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 +926 -725
- package/dist/index.full.min.js +16 -16
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +17 -17
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +927 -726
- 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/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/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 +47 -12
- package/dist/locale/zh-tw.min.js +1 -1
- package/dist/locale/zh-tw.min.js.map +1 -1
- package/dist/locale/zh-tw.min.mjs +1 -1
- package/dist/locale/zh-tw.min.mjs.map +1 -1
- package/dist/locale/zh-tw.mjs +47 -12
- package/es/components/carousel/index.d.ts +1 -1
- package/es/components/carousel/src/carousel.vue.d.ts +1 -1
- package/es/components/cascader/index.d.ts +2 -2
- package/es/components/cascader/src/index.mjs +15 -12
- package/es/components/cascader/src/index.mjs.map +1 -1
- package/es/components/cascader/src/index.vue.d.ts +42 -43
- package/es/components/checkbox/index.d.ts +2 -2
- package/es/components/checkbox/src/checkbox-group.mjs +3 -3
- package/es/components/checkbox/src/checkbox-group.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox-group.vue.d.ts +1 -1
- package/es/components/checkbox/src/checkbox.d.ts +4 -5
- package/es/components/checkbox/src/checkbox.mjs +6 -10
- package/es/components/checkbox/src/checkbox.mjs.map +1 -1
- package/es/components/color-picker/src/index.mjs +10 -15
- package/es/components/color-picker/src/index.mjs.map +1 -1
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +1 -0
- package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +1 -0
- package/es/components/date-picker/src/panel-utils.d.ts +2 -0
- package/es/components/dialog/src/use-dialog.mjs +1 -1
- package/es/components/dialog/src/use-dialog.mjs.map +1 -1
- package/es/components/form/index.d.ts +4 -0
- package/es/components/form/src/form-item2.mjs +1 -0
- package/es/components/form/src/form-item2.mjs.map +1 -1
- package/es/components/form/src/form.d.ts +1 -0
- package/es/components/form/src/form.mjs +5 -0
- package/es/components/form/src/form.mjs.map +1 -1
- package/es/components/form/src/form.vue.d.ts +4 -0
- package/es/components/index.mjs +1 -1
- package/es/components/menu/index.d.ts +224 -0
- package/es/components/menu/src/menu.mjs +39 -17
- package/es/components/menu/src/menu.mjs.map +1 -1
- package/es/components/menu/src/sub-menu.d.ts +138 -2
- package/es/components/menu/src/sub-menu.mjs +18 -3
- package/es/components/menu/src/sub-menu.mjs.map +1 -1
- package/es/components/message/src/instance.mjs +1 -1
- package/es/components/message/src/instance.mjs.map +1 -1
- package/es/components/message/src/method.mjs +1 -1
- package/es/components/message/src/method.mjs.map +1 -1
- package/es/components/message-box/src/message-box.type.d.ts +1 -1
- package/es/components/message-box/src/messageBox.mjs +10 -9
- package/es/components/message-box/src/messageBox.mjs.map +1 -1
- package/es/components/notification/src/notification.d.ts +2 -0
- package/es/components/notification/src/notification.mjs.map +1 -1
- package/es/components/notification/src/notification.vue.d.ts +111 -5
- package/es/components/notification/src/notification2.mjs +84 -91
- package/es/components/notification/src/notification2.mjs.map +1 -1
- package/es/components/notification/src/notify.mjs +2 -2
- package/es/components/notification/src/notify.mjs.map +1 -1
- package/es/components/page-header/index.d.ts +46 -0
- package/es/components/page-header/src/page-header.vue.d.ts +46 -0
- package/es/components/page-header/src/page-header2.mjs +70 -28
- package/es/components/page-header/src/page-header2.mjs.map +1 -1
- package/es/components/pagination/index.d.ts +6 -0
- package/es/components/pagination/src/components/next.d.ts +6 -0
- package/es/components/pagination/src/components/next.mjs +4 -0
- package/es/components/pagination/src/components/next.mjs.map +1 -1
- package/es/components/pagination/src/components/next.vue.d.ts +18 -1
- package/es/components/pagination/src/components/next2.mjs +2 -3
- package/es/components/pagination/src/components/next2.mjs.map +1 -1
- package/es/components/pagination/src/components/prev.d.ts +6 -0
- package/es/components/pagination/src/components/prev.mjs +4 -0
- package/es/components/pagination/src/components/prev.mjs.map +1 -1
- package/es/components/pagination/src/components/prev.vue.d.ts +18 -1
- package/es/components/pagination/src/components/prev2.mjs +2 -3
- package/es/components/pagination/src/components/prev2.mjs.map +1 -1
- package/es/components/pagination/src/pagination.d.ts +8 -0
- package/es/components/pagination/src/pagination.mjs +12 -0
- package/es/components/pagination/src/pagination.mjs.map +1 -1
- package/es/components/popconfirm/index.d.ts +7 -0
- package/es/components/popconfirm/src/popconfirm.d.ts +1 -0
- package/es/components/popconfirm/src/popconfirm.mjs +5 -1
- package/es/components/popconfirm/src/popconfirm.mjs.map +1 -1
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +454 -447
- package/es/components/popconfirm/src/popconfirm2.mjs +14 -5
- package/es/components/popconfirm/src/popconfirm2.mjs.map +1 -1
- package/es/components/popover/src/popover2.mjs +1 -1
- package/es/components/popover/src/popover2.mjs.map +1 -1
- package/es/components/scrollbar/index.mjs +2 -2
- package/es/components/scrollbar/src/scrollbar.mjs +169 -44
- package/es/components/scrollbar/src/scrollbar.mjs.map +1 -1
- package/es/components/scrollbar/src/scrollbar2.mjs +44 -169
- package/es/components/scrollbar/src/scrollbar2.mjs.map +1 -1
- package/es/components/select/src/useOption.mjs +2 -2
- package/es/components/select/src/useOption.mjs.map +1 -1
- package/es/components/select/src/useSelect.d.ts +31 -32
- package/es/components/select/src/useSelect.mjs +8 -11
- package/es/components/select/src/useSelect.mjs.map +1 -1
- package/es/components/slider/src/composables/use-marks.mjs +1 -1
- package/es/components/slider/src/composables/use-marks.mjs.map +1 -1
- package/es/components/slot/src/only-child.mjs +3 -1
- package/es/components/slot/src/only-child.mjs.map +1 -1
- package/es/components/space/index.d.ts +3 -3
- package/es/components/space/src/space.d.ts +5 -4
- package/es/components/space/src/space.mjs.map +1 -1
- package/es/components/space/src/use-space.d.ts +1 -1
- package/es/components/switch/src/switch2.mjs +2 -1
- package/es/components/switch/src/switch2.mjs.map +1 -1
- package/es/components/table/src/table/style-helper.mjs +11 -9
- package/es/components/table/src/table/style-helper.mjs.map +1 -1
- package/es/components/table/src/table-body/events-helper.d.ts +1 -3
- package/es/components/table/src/table-body/events-helper.mjs +2 -2
- package/es/components/table/src/table-body/events-helper.mjs.map +1 -1
- package/es/components/table/src/table-body/index.mjs +1 -5
- package/es/components/table/src/table-body/index.mjs.map +1 -1
- package/es/components/table/src/table-body/render-helper.mjs +2 -2
- package/es/components/table/src/table-body/render-helper.mjs.map +1 -1
- package/es/components/table/src/table-header/index.mjs +1 -2
- package/es/components/table/src/table-header/index.mjs.map +1 -1
- package/es/components/table/src/util.mjs +1 -0
- package/es/components/table/src/util.mjs.map +1 -1
- package/es/components/time-picker/src/common/picker.mjs +6 -9
- package/es/components/time-picker/src/common/picker.mjs.map +1 -1
- package/es/components/time-picker/src/common/picker.vue.d.ts +21 -22
- package/es/components/time-picker/src/time-picker-com/basic-time-spinner.mjs +12 -4
- package/es/components/time-picker/src/time-picker-com/basic-time-spinner.mjs.map +1 -1
- package/es/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +1 -0
- package/es/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +1 -0
- package/es/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +1 -0
- package/es/components/transfer/index.d.ts +10 -10
- package/es/components/transfer/src/transfer-panel.vue.d.ts +2 -2
- package/es/components/transfer/src/transfer.vue.d.ts +10 -10
- package/es/components/tree/src/model/node.mjs +3 -3
- package/es/components/tree/src/model/node.mjs.map +1 -1
- package/es/components/tree/src/model/tree-store.mjs +2 -2
- package/es/components/tree/src/model/tree-store.mjs.map +1 -1
- package/es/components/tree-v2/src/composables/useTree.d.ts +4 -0
- package/es/components/tree-v2/src/composables/useTree.mjs +21 -7
- package/es/components/tree-v2/src/composables/useTree.mjs.map +1 -1
- package/es/components/tree-v2/src/tree.mjs +10 -2
- package/es/components/tree-v2/src/tree.mjs.map +1 -1
- package/es/components/virtual-list/src/builders/build-list.mjs +3 -3
- package/es/components/virtual-list/src/builders/build-list.mjs.map +1 -1
- package/es/hooks/use-id/index.mjs +4 -1
- package/es/hooks/use-id/index.mjs.map +1 -1
- package/es/hooks/use-lockscreen/index.mjs +4 -6
- package/es/hooks/use-lockscreen/index.mjs.map +1 -1
- package/es/index.mjs +1 -1
- package/es/locale/lang/zh-tw.d.ts +35 -0
- package/es/locale/lang/zh-tw.mjs +46 -11
- package/es/locale/lang/zh-tw.mjs.map +1 -1
- package/es/utils/dom/index.d.ts +0 -1
- package/es/utils/dom/index.mjs +0 -1
- package/es/utils/dom/index.mjs.map +1 -1
- package/es/utils/index.mjs +0 -1
- package/es/utils/index.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 +1 -1
- package/lib/components/carousel/src/carousel.vue.d.ts +1 -1
- package/lib/components/cascader/index.d.ts +2 -2
- package/lib/components/cascader/src/index.js +16 -13
- package/lib/components/cascader/src/index.js.map +1 -1
- package/lib/components/cascader/src/index.vue.d.ts +42 -43
- package/lib/components/checkbox/index.d.ts +2 -2
- package/lib/components/checkbox/src/checkbox-group.js +3 -3
- package/lib/components/checkbox/src/checkbox-group.js.map +1 -1
- package/lib/components/checkbox/src/checkbox-group.vue.d.ts +1 -1
- package/lib/components/checkbox/src/checkbox.d.ts +4 -5
- package/lib/components/checkbox/src/checkbox.js +4 -8
- package/lib/components/checkbox/src/checkbox.js.map +1 -1
- package/lib/components/color-picker/src/index.js +8 -13
- package/lib/components/color-picker/src/index.js.map +1 -1
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +1 -0
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +1 -0
- package/lib/components/date-picker/src/panel-utils.d.ts +2 -0
- package/lib/components/dialog/src/use-dialog.js +1 -1
- package/lib/components/dialog/src/use-dialog.js.map +1 -1
- package/lib/components/form/index.d.ts +4 -0
- package/lib/components/form/src/form-item2.js +1 -0
- package/lib/components/form/src/form-item2.js.map +1 -1
- package/lib/components/form/src/form.d.ts +1 -0
- package/lib/components/form/src/form.js +5 -0
- package/lib/components/form/src/form.js.map +1 -1
- package/lib/components/form/src/form.vue.d.ts +4 -0
- package/lib/components/index.js +1 -1
- package/lib/components/menu/index.d.ts +224 -0
- package/lib/components/menu/src/menu.js +39 -17
- package/lib/components/menu/src/menu.js.map +1 -1
- package/lib/components/menu/src/sub-menu.d.ts +138 -2
- package/lib/components/menu/src/sub-menu.js +17 -2
- package/lib/components/menu/src/sub-menu.js.map +1 -1
- package/lib/components/message/src/instance.js +1 -1
- package/lib/components/message/src/instance.js.map +1 -1
- package/lib/components/message/src/method.js +1 -1
- package/lib/components/message/src/method.js.map +1 -1
- package/lib/components/message-box/src/message-box.type.d.ts +1 -1
- package/lib/components/message-box/src/messageBox.js +10 -9
- package/lib/components/message-box/src/messageBox.js.map +1 -1
- package/lib/components/notification/src/notification.d.ts +2 -0
- package/lib/components/notification/src/notification.js.map +1 -1
- package/lib/components/notification/src/notification.vue.d.ts +111 -5
- package/lib/components/notification/src/notification2.js +85 -92
- package/lib/components/notification/src/notification2.js.map +1 -1
- package/lib/components/notification/src/notify.js +2 -2
- package/lib/components/notification/src/notify.js.map +1 -1
- package/lib/components/page-header/index.d.ts +46 -0
- package/lib/components/page-header/src/page-header.vue.d.ts +46 -0
- package/lib/components/page-header/src/page-header2.js +69 -27
- package/lib/components/page-header/src/page-header2.js.map +1 -1
- package/lib/components/pagination/index.d.ts +6 -0
- package/lib/components/pagination/src/components/next.d.ts +6 -0
- package/lib/components/pagination/src/components/next.js +4 -0
- package/lib/components/pagination/src/components/next.js.map +1 -1
- package/lib/components/pagination/src/components/next.vue.d.ts +18 -1
- package/lib/components/pagination/src/components/next2.js +1 -2
- package/lib/components/pagination/src/components/next2.js.map +1 -1
- package/lib/components/pagination/src/components/prev.d.ts +6 -0
- package/lib/components/pagination/src/components/prev.js +4 -0
- package/lib/components/pagination/src/components/prev.js.map +1 -1
- package/lib/components/pagination/src/components/prev.vue.d.ts +18 -1
- package/lib/components/pagination/src/components/prev2.js +1 -2
- package/lib/components/pagination/src/components/prev2.js.map +1 -1
- package/lib/components/pagination/src/pagination.d.ts +8 -0
- package/lib/components/pagination/src/pagination.js +12 -0
- package/lib/components/pagination/src/pagination.js.map +1 -1
- package/lib/components/popconfirm/index.d.ts +7 -0
- package/lib/components/popconfirm/src/popconfirm.d.ts +1 -0
- package/lib/components/popconfirm/src/popconfirm.js +5 -1
- package/lib/components/popconfirm/src/popconfirm.js.map +1 -1
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +454 -447
- package/lib/components/popconfirm/src/popconfirm2.js +13 -4
- package/lib/components/popconfirm/src/popconfirm2.js.map +1 -1
- package/lib/components/popover/src/popover2.js +1 -1
- package/lib/components/popover/src/popover2.js.map +1 -1
- package/lib/components/scrollbar/index.js +2 -2
- package/lib/components/scrollbar/src/scrollbar.js +169 -45
- package/lib/components/scrollbar/src/scrollbar.js.map +1 -1
- package/lib/components/scrollbar/src/scrollbar2.js +45 -169
- package/lib/components/scrollbar/src/scrollbar2.js.map +1 -1
- package/lib/components/select/src/useOption.js +1 -1
- package/lib/components/select/src/useOption.js.map +1 -1
- package/lib/components/select/src/useSelect.d.ts +31 -32
- package/lib/components/select/src/useSelect.js +9 -12
- package/lib/components/select/src/useSelect.js.map +1 -1
- package/lib/components/slider/src/composables/use-marks.js +1 -1
- package/lib/components/slider/src/composables/use-marks.js.map +1 -1
- package/lib/components/slot/src/only-child.js +3 -1
- package/lib/components/slot/src/only-child.js.map +1 -1
- package/lib/components/space/index.d.ts +3 -3
- package/lib/components/space/src/space.d.ts +5 -4
- package/lib/components/space/src/space.js.map +1 -1
- package/lib/components/space/src/use-space.d.ts +1 -1
- package/lib/components/switch/src/switch2.js +2 -1
- package/lib/components/switch/src/switch2.js.map +1 -1
- package/lib/components/table/src/table/style-helper.js +11 -9
- package/lib/components/table/src/table/style-helper.js.map +1 -1
- package/lib/components/table/src/table-body/events-helper.d.ts +1 -3
- package/lib/components/table/src/table-body/events-helper.js +2 -2
- package/lib/components/table/src/table-body/events-helper.js.map +1 -1
- package/lib/components/table/src/table-body/index.js +0 -4
- package/lib/components/table/src/table-body/index.js.map +1 -1
- package/lib/components/table/src/table-body/render-helper.js +2 -2
- package/lib/components/table/src/table-body/render-helper.js.map +1 -1
- package/lib/components/table/src/table-header/index.js +1 -2
- package/lib/components/table/src/table-header/index.js.map +1 -1
- package/lib/components/table/src/util.js +1 -0
- package/lib/components/table/src/util.js.map +1 -1
- package/lib/components/time-picker/src/common/picker.js +17 -20
- package/lib/components/time-picker/src/common/picker.js.map +1 -1
- package/lib/components/time-picker/src/common/picker.vue.d.ts +21 -22
- package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.js +12 -4
- package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.js.map +1 -1
- package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +1 -0
- package/lib/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +1 -0
- package/lib/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +1 -0
- package/lib/components/transfer/index.d.ts +10 -10
- package/lib/components/transfer/src/transfer-panel.vue.d.ts +2 -2
- package/lib/components/transfer/src/transfer.vue.d.ts +10 -10
- package/lib/components/tree/src/model/node.js +3 -3
- package/lib/components/tree/src/model/node.js.map +1 -1
- package/lib/components/tree/src/model/tree-store.js +1 -1
- package/lib/components/tree/src/model/tree-store.js.map +1 -1
- package/lib/components/tree-v2/src/composables/useTree.d.ts +4 -0
- package/lib/components/tree-v2/src/composables/useTree.js +21 -7
- package/lib/components/tree-v2/src/composables/useTree.js.map +1 -1
- package/lib/components/tree-v2/src/tree.js +10 -2
- package/lib/components/tree-v2/src/tree.js.map +1 -1
- package/lib/components/virtual-list/src/builders/build-list.js +2 -2
- package/lib/components/virtual-list/src/builders/build-list.js.map +1 -1
- package/lib/hooks/use-id/index.js +4 -1
- package/lib/hooks/use-id/index.js.map +1 -1
- package/lib/hooks/use-lockscreen/index.js +4 -6
- package/lib/hooks/use-lockscreen/index.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/lang/zh-tw.d.ts +35 -0
- package/lib/locale/lang/zh-tw.js +46 -11
- package/lib/locale/lang/zh-tw.js.map +1 -1
- package/lib/utils/dom/index.d.ts +0 -1
- package/lib/utils/dom/index.js +0 -3
- package/lib/utils/dom/index.js.map +1 -1
- package/lib/utils/index.js +0 -3
- package/lib/utils/index.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 +6 -4
- package/tags.json +1 -1
- package/theme-chalk/el-form.css +1 -1
- package/theme-chalk/el-input.css +1 -1
- package/theme-chalk/el-menu.css +1 -1
- package/theme-chalk/el-message.css +1 -1
- package/theme-chalk/el-page-header.css +1 -1
- package/theme-chalk/el-popover.css +1 -1
- package/theme-chalk/el-rate.css +1 -1
- package/theme-chalk/el-select-v2.css +1 -1
- package/theme-chalk/el-select.css +1 -1
- package/theme-chalk/el-table.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/common/var.scss +0 -2
- package/theme-chalk/src/form.scss +17 -6
- package/theme-chalk/src/input.scss +1 -0
- package/theme-chalk/src/menu.scss +0 -11
- package/theme-chalk/src/message.scss +1 -0
- package/theme-chalk/src/page-header.scss +40 -26
- package/theme-chalk/src/popover.scss +8 -0
- package/theme-chalk/src/rate.scss +1 -1
- package/theme-chalk/src/select/common.scss +3 -5
- package/theme-chalk/src/select.scss +1 -0
- package/theme-chalk/src/table.scss +15 -25
- package/web-types.json +1 -1
- package/es/utils/dom/resize-event.d.ts +0 -9
- package/es/utils/dom/resize-event.mjs +0 -34
- package/es/utils/dom/resize-event.mjs.map +0 -1
- package/lib/utils/dom/resize-event.d.ts +0 -9
- package/lib/utils/dom/resize-event.js +0 -39
- package/lib/utils/dom/resize-event.js.map +0 -1
|
@@ -4,6 +4,8 @@ declare const _default: {
|
|
|
4
4
|
colorpicker: {
|
|
5
5
|
confirm: string;
|
|
6
6
|
clear: string;
|
|
7
|
+
defaultLabel: string;
|
|
8
|
+
description: string;
|
|
7
9
|
};
|
|
8
10
|
datepicker: {
|
|
9
11
|
now: string;
|
|
@@ -11,6 +13,10 @@ declare const _default: {
|
|
|
11
13
|
cancel: string;
|
|
12
14
|
clear: string;
|
|
13
15
|
confirm: string;
|
|
16
|
+
dateTablePrompt: string;
|
|
17
|
+
monthTablePrompt: string;
|
|
18
|
+
yearTablePrompt: string;
|
|
19
|
+
selectedDate: string;
|
|
14
20
|
selectDate: string;
|
|
15
21
|
selectTime: string;
|
|
16
22
|
startDate: string;
|
|
@@ -43,6 +49,15 @@ declare const _default: {
|
|
|
43
49
|
fri: string;
|
|
44
50
|
sat: string;
|
|
45
51
|
};
|
|
52
|
+
weeksFull: {
|
|
53
|
+
sun: string;
|
|
54
|
+
mon: string;
|
|
55
|
+
tue: string;
|
|
56
|
+
wed: string;
|
|
57
|
+
thu: string;
|
|
58
|
+
fri: string;
|
|
59
|
+
sat: string;
|
|
60
|
+
};
|
|
46
61
|
months: {
|
|
47
62
|
jan: string;
|
|
48
63
|
feb: string;
|
|
@@ -58,12 +73,19 @@ declare const _default: {
|
|
|
58
73
|
dec: string;
|
|
59
74
|
};
|
|
60
75
|
};
|
|
76
|
+
inputNumber: {
|
|
77
|
+
decrease: string;
|
|
78
|
+
increase: string;
|
|
79
|
+
};
|
|
61
80
|
select: {
|
|
62
81
|
loading: string;
|
|
63
82
|
noMatch: string;
|
|
64
83
|
noData: string;
|
|
65
84
|
placeholder: string;
|
|
66
85
|
};
|
|
86
|
+
dropdown: {
|
|
87
|
+
toggleDropdown: string;
|
|
88
|
+
};
|
|
67
89
|
cascader: {
|
|
68
90
|
noMatch: string;
|
|
69
91
|
loading: string;
|
|
@@ -75,12 +97,20 @@ declare const _default: {
|
|
|
75
97
|
pagesize: string;
|
|
76
98
|
total: string;
|
|
77
99
|
pageClassifier: string;
|
|
100
|
+
deprecationWarning: string;
|
|
101
|
+
};
|
|
102
|
+
dialog: {
|
|
103
|
+
close: string;
|
|
104
|
+
};
|
|
105
|
+
drawer: {
|
|
106
|
+
close: string;
|
|
78
107
|
};
|
|
79
108
|
messagebox: {
|
|
80
109
|
title: string;
|
|
81
110
|
confirm: string;
|
|
82
111
|
cancel: string;
|
|
83
112
|
error: string;
|
|
113
|
+
close: string;
|
|
84
114
|
};
|
|
85
115
|
upload: {
|
|
86
116
|
deleteTip: string;
|
|
@@ -88,6 +118,11 @@ declare const _default: {
|
|
|
88
118
|
preview: string;
|
|
89
119
|
continue: string;
|
|
90
120
|
};
|
|
121
|
+
slider: {
|
|
122
|
+
defaultLabel: string;
|
|
123
|
+
defaultRangeStartLabel: string;
|
|
124
|
+
defaultRangeEndLabel: string;
|
|
125
|
+
};
|
|
91
126
|
table: {
|
|
92
127
|
emptyText: string;
|
|
93
128
|
confirmFilter: string;
|
package/es/locale/lang/zh-tw.mjs
CHANGED
|
@@ -3,7 +3,9 @@ var zhTw = {
|
|
|
3
3
|
el: {
|
|
4
4
|
colorpicker: {
|
|
5
5
|
confirm: "\u78BA\u8A8D",
|
|
6
|
-
clear: "\u6E05\u7A7A"
|
|
6
|
+
clear: "\u6E05\u7A7A",
|
|
7
|
+
defaultLabel: "\u8272\u5F69\u9078\u64C7\u5668",
|
|
8
|
+
description: "\u76EE\u524D\u8272\u5F69\u70BA {color}\u3002\u6309\u4E00\u4E0B Enter \u4EE5\u9078\u64C7\u65B0\u8272\u5F69\u3002"
|
|
7
9
|
},
|
|
8
10
|
datepicker: {
|
|
9
11
|
now: "\u73FE\u5728",
|
|
@@ -11,6 +13,10 @@ var zhTw = {
|
|
|
11
13
|
cancel: "\u53D6\u6D88",
|
|
12
14
|
clear: "\u6E05\u7A7A",
|
|
13
15
|
confirm: "\u78BA\u8A8D",
|
|
16
|
+
dateTablePrompt: "\u4F7F\u7528\u65B9\u5411\u9375\u8207 Enter \u9375\u4EE5\u9078\u64C7\u65E5\u671F",
|
|
17
|
+
monthTablePrompt: "\u4F7F\u7528\u65B9\u5411\u9375\u8207 Enter \u9375\u4EE5\u9078\u64C7\u6708\u4EFD",
|
|
18
|
+
yearTablePrompt: "\u4F7F\u7528\u65B9\u5411\u9375\u8207 Enter \u9375\u4EE5\u9078\u64C7\u5E74\u4EFD",
|
|
19
|
+
selectedDate: "\u5DF2\u9078\u65E5\u671F",
|
|
14
20
|
selectDate: "\u9078\u64C7\u65E5\u671F",
|
|
15
21
|
selectTime: "\u9078\u64C7\u6642\u9593",
|
|
16
22
|
startDate: "\u958B\u59CB\u65E5\u671F",
|
|
@@ -43,6 +49,15 @@ var zhTw = {
|
|
|
43
49
|
fri: "\u4E94",
|
|
44
50
|
sat: "\u516D"
|
|
45
51
|
},
|
|
52
|
+
weeksFull: {
|
|
53
|
+
sun: "\u661F\u671F\u65E5",
|
|
54
|
+
mon: "\u661F\u671F\u4E00",
|
|
55
|
+
tue: "\u661F\u671F\u4E8C",
|
|
56
|
+
wed: "\u661F\u671F\u4E09",
|
|
57
|
+
thu: "\u661F\u671F\u56DB",
|
|
58
|
+
fri: "\u661F\u671F\u4E94",
|
|
59
|
+
sat: "\u661F\u671F\u516D"
|
|
60
|
+
},
|
|
46
61
|
months: {
|
|
47
62
|
jan: "\u4E00\u6708",
|
|
48
63
|
feb: "\u4E8C\u6708",
|
|
@@ -58,15 +73,22 @@ var zhTw = {
|
|
|
58
73
|
dec: "\u5341\u4E8C\u6708"
|
|
59
74
|
}
|
|
60
75
|
},
|
|
76
|
+
inputNumber: {
|
|
77
|
+
decrease: "\u6E1B\u5C11\u6578\u503C",
|
|
78
|
+
increase: "\u589E\u52A0\u6578\u503C"
|
|
79
|
+
},
|
|
61
80
|
select: {
|
|
62
|
-
loading: "\
|
|
63
|
-
noMatch: "\u7121\
|
|
81
|
+
loading: "\u8F09\u5165\u4E2D",
|
|
82
|
+
noMatch: "\u7121\u76F8\u7B26\u8CC7\u6599",
|
|
64
83
|
noData: "\u7121\u8CC7\u6599",
|
|
65
84
|
placeholder: "\u8ACB\u9078\u64C7"
|
|
66
85
|
},
|
|
86
|
+
dropdown: {
|
|
87
|
+
toggleDropdown: "\u5207\u63DB\u4E0B\u62C9\u9078\u55AE"
|
|
88
|
+
},
|
|
67
89
|
cascader: {
|
|
68
|
-
noMatch: "\u7121\
|
|
69
|
-
loading: "\
|
|
90
|
+
noMatch: "\u7121\u76F8\u7B26\u8CC7\u6599",
|
|
91
|
+
loading: "\u8F09\u5165\u4E2D",
|
|
70
92
|
placeholder: "\u8ACB\u9078\u64C7",
|
|
71
93
|
noData: "\u7121\u8CC7\u6599"
|
|
72
94
|
},
|
|
@@ -74,20 +96,33 @@ var zhTw = {
|
|
|
74
96
|
goto: "\u524D\u5F80",
|
|
75
97
|
pagesize: "\u9805/\u9801",
|
|
76
98
|
total: "\u5171 {total} \u9805",
|
|
77
|
-
pageClassifier: "\u9801"
|
|
99
|
+
pageClassifier: "\u9801",
|
|
100
|
+
deprecationWarning: "\u5075\u6E2C\u5230\u5DF2\u904E\u6642\u7684\u4F7F\u7528\u65B9\u5F0F\uFF0C\u8ACB\u53C3\u95B1 el-pagination \u8AAA\u660E\u6587\u4EF6\u4EE5\u4E86\u89E3\u66F4\u591A\u8CC7\u8A0A"
|
|
101
|
+
},
|
|
102
|
+
dialog: {
|
|
103
|
+
close: "\u95DC\u9589\u6B64\u5C0D\u8A71\u6846"
|
|
104
|
+
},
|
|
105
|
+
drawer: {
|
|
106
|
+
close: "\u95DC\u9589\u6B64\u5C0D\u8A71\u6846"
|
|
78
107
|
},
|
|
79
108
|
messagebox: {
|
|
80
109
|
title: "\u63D0\u793A",
|
|
81
110
|
confirm: "\u78BA\u5B9A",
|
|
82
111
|
cancel: "\u53D6\u6D88",
|
|
83
|
-
error: "\u8F38\u5165\u7684\u8CC7\u6599\u4E0D\u7B26\u898F\u5B9A!"
|
|
112
|
+
error: "\u8F38\u5165\u7684\u8CC7\u6599\u4E0D\u7B26\u898F\u5B9A!",
|
|
113
|
+
close: "\u95DC\u9589\u6B64\u5C0D\u8A71\u6846"
|
|
84
114
|
},
|
|
85
115
|
upload: {
|
|
86
|
-
deleteTip: "\u6309
|
|
116
|
+
deleteTip: "\u6309\u4E00\u4E0B Delete \u9375\u4EE5\u522A\u9664",
|
|
87
117
|
delete: "\u522A\u9664",
|
|
88
118
|
preview: "\u67E5\u770B\u5716\u7247",
|
|
89
119
|
continue: "\u7E7C\u7E8C\u4E0A\u50B3"
|
|
90
120
|
},
|
|
121
|
+
slider: {
|
|
122
|
+
defaultLabel: "\u6ED1\u687F\u4ECB\u65BC {min} \u81F3 {max}",
|
|
123
|
+
defaultRangeStartLabel: "\u9078\u64C7\u8D77\u59CB\u503C",
|
|
124
|
+
defaultRangeEndLabel: "\u9078\u64C7\u7D50\u675F\u503C"
|
|
125
|
+
},
|
|
91
126
|
table: {
|
|
92
127
|
emptyText: "\u66AB\u7121\u8CC7\u6599",
|
|
93
128
|
confirmFilter: "\u7BE9\u9078",
|
|
@@ -99,15 +134,15 @@ var zhTw = {
|
|
|
99
134
|
emptyText: "\u66AB\u7121\u8CC7\u6599"
|
|
100
135
|
},
|
|
101
136
|
transfer: {
|
|
102
|
-
noMatch: "\u7121\
|
|
137
|
+
noMatch: "\u7121\u76F8\u7B26\u8CC7\u6599",
|
|
103
138
|
noData: "\u7121\u8CC7\u6599",
|
|
104
139
|
titles: ["\u5217\u8868 1", "\u5217\u8868 2"],
|
|
105
|
-
filterPlaceholder: "\u8ACB\u8F38\u5165\u641C\
|
|
140
|
+
filterPlaceholder: "\u8ACB\u8F38\u5165\u641C\u5C0B\u5167\u5BB9",
|
|
106
141
|
noCheckedFormat: "\u5171 {total} \u9805",
|
|
107
142
|
hasCheckedFormat: "\u5DF2\u9078 {checked}/{total} \u9805"
|
|
108
143
|
},
|
|
109
144
|
image: {
|
|
110
|
-
error: "\
|
|
145
|
+
error: "\u8F09\u5165\u5931\u6557"
|
|
111
146
|
},
|
|
112
147
|
pageHeader: {
|
|
113
148
|
title: "\u8FD4\u56DE"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zh-tw.mjs","sources":["../../../../../packages/locale/lang/zh-tw.ts"],"sourcesContent":["export default {\n name: 'zh-tw',\n el: {\n colorpicker: {\n confirm: '確認',\n clear: '清空',\n },\n datepicker: {\n now: '現在',\n today: '今天',\n cancel: '取消',\n clear: '清空',\n confirm: '確認',\n selectDate: '選擇日期',\n selectTime: '選擇時間',\n startDate: '開始日期',\n startTime: '開始時間',\n endDate: '結束日期',\n endTime: '結束時間',\n prevYear: '前一年',\n nextYear: '後一年',\n prevMonth: '上個月',\n nextMonth: '下個月',\n year: '年',\n month1: '1 月',\n month2: '2 月',\n month3: '3 月',\n month4: '4 月',\n month5: '5 月',\n month6: '6 月',\n month7: '7 月',\n month8: '8 月',\n month9: '9 月',\n month10: '10 月',\n month11: '11 月',\n month12: '12 月',\n // week: '周次',\n weeks: {\n sun: '日',\n mon: '一',\n tue: '二',\n wed: '三',\n thu: '四',\n fri: '五',\n sat: '六',\n },\n months: {\n jan: '一月',\n feb: '二月',\n mar: '三月',\n apr: '四月',\n may: '五月',\n jun: '六月',\n jul: '七月',\n aug: '八月',\n sep: '九月',\n oct: '十月',\n nov: '十一月',\n dec: '十二月',\n },\n },\n select: {\n loading: '
|
|
1
|
+
{"version":3,"file":"zh-tw.mjs","sources":["../../../../../packages/locale/lang/zh-tw.ts"],"sourcesContent":["export default {\n name: 'zh-tw',\n el: {\n colorpicker: {\n confirm: '確認',\n clear: '清空',\n defaultLabel: '色彩選擇器',\n description: '目前色彩為 {color}。按一下 Enter 以選擇新色彩。',\n },\n datepicker: {\n now: '現在',\n today: '今天',\n cancel: '取消',\n clear: '清空',\n confirm: '確認',\n dateTablePrompt: '使用方向鍵與 Enter 鍵以選擇日期',\n monthTablePrompt: '使用方向鍵與 Enter 鍵以選擇月份',\n yearTablePrompt: '使用方向鍵與 Enter 鍵以選擇年份',\n selectedDate: '已選日期',\n selectDate: '選擇日期',\n selectTime: '選擇時間',\n startDate: '開始日期',\n startTime: '開始時間',\n endDate: '結束日期',\n endTime: '結束時間',\n prevYear: '前一年',\n nextYear: '後一年',\n prevMonth: '上個月',\n nextMonth: '下個月',\n year: '年',\n month1: '1 月',\n month2: '2 月',\n month3: '3 月',\n month4: '4 月',\n month5: '5 月',\n month6: '6 月',\n month7: '7 月',\n month8: '8 月',\n month9: '9 月',\n month10: '10 月',\n month11: '11 月',\n month12: '12 月',\n // week: '周次',\n weeks: {\n sun: '日',\n mon: '一',\n tue: '二',\n wed: '三',\n thu: '四',\n fri: '五',\n sat: '六',\n },\n weeksFull: {\n sun: '星期日',\n mon: '星期一',\n tue: '星期二',\n wed: '星期三',\n thu: '星期四',\n fri: '星期五',\n sat: '星期六',\n },\n months: {\n jan: '一月',\n feb: '二月',\n mar: '三月',\n apr: '四月',\n may: '五月',\n jun: '六月',\n jul: '七月',\n aug: '八月',\n sep: '九月',\n oct: '十月',\n nov: '十一月',\n dec: '十二月',\n },\n },\n inputNumber: {\n decrease: '減少數值',\n increase: '增加數值',\n },\n select: {\n loading: '載入中',\n noMatch: '無相符資料',\n noData: '無資料',\n placeholder: '請選擇',\n },\n dropdown: {\n toggleDropdown: '切換下拉選單',\n },\n cascader: {\n noMatch: '無相符資料',\n loading: '載入中',\n placeholder: '請選擇',\n noData: '無資料',\n },\n pagination: {\n goto: '前往',\n pagesize: '項/頁',\n total: '共 {total} 項',\n pageClassifier: '頁',\n deprecationWarning:\n '偵測到已過時的使用方式,請參閱 el-pagination 說明文件以了解更多資訊',\n },\n dialog: {\n close: '關閉此對話框',\n },\n drawer: {\n close: '關閉此對話框',\n },\n messagebox: {\n title: '提示',\n confirm: '確定',\n cancel: '取消',\n error: '輸入的資料不符規定!',\n close: '關閉此對話框',\n },\n upload: {\n deleteTip: '按一下 Delete 鍵以刪除',\n delete: '刪除',\n preview: '查看圖片',\n continue: '繼續上傳',\n },\n slider: {\n defaultLabel: '滑桿介於 {min} 至 {max}',\n defaultRangeStartLabel: '選擇起始值',\n defaultRangeEndLabel: '選擇結束值',\n },\n table: {\n emptyText: '暫無資料',\n confirmFilter: '篩選',\n resetFilter: '重置',\n clearFilter: '全部',\n sumText: '合計',\n },\n tree: {\n emptyText: '暫無資料',\n },\n transfer: {\n noMatch: '無相符資料',\n noData: '無資料',\n titles: ['列表 1', '列表 2'],\n filterPlaceholder: '請輸入搜尋內容',\n noCheckedFormat: '共 {total} 項',\n hasCheckedFormat: '已選 {checked}/{total} 項',\n },\n image: {\n error: '載入失敗',\n },\n pageHeader: {\n title: '返回',\n },\n popconfirm: {\n confirmButtonText: '確認',\n cancelButtonText: '取消',\n },\n },\n}\n"],"names":[],"mappings":"AAAA,WAAe;AACf,EAAE,IAAI,EAAE,OAAO;AACf,EAAE,EAAE,EAAE;AACN,IAAI,WAAW,EAAE;AACjB,MAAM,OAAO,EAAE,cAAc;AAC7B,MAAM,KAAK,EAAE,cAAc;AAC3B,MAAM,YAAY,EAAE,gCAAgC;AAC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AgC;AAC/C,MAAM,MAAM,EAAE,oBAAoB;AAClC,MAAM,MAAM,EAAE,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;AAClD,MAAM,iBAAiB,EAAE,4CAA4C;AACrE,MAAM,eAAe,EAAE,uBAAuB;AAC9C,MAAM,gBAAgB,EAAE,uCAAuC;AAC/D,KAAK;AACL,IAAI,KAAK,EAAE;AACX,MAAM,KAAK,EAAE,0BAA0B;AACvC,KAAK;AACL,IAAI,UAAU,EAAE;AAChB,MAAM,KAAK,EAAE,cAAc;AAC3B,KAAK;AACL,IAAI,UAAU,EAAE;AAChB,MAAM,iBAAiB,EAAE,cAAc;AACvC,MAAM,gBAAgB,EAAE,cAAc;AACtC,KAAK;AACL,GAAG;AACH,CAAC;;;;"}
|
package/es/utils/dom/index.d.ts
CHANGED
package/es/utils/dom/index.mjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export { attemptFocus, focusNode, getSibling, isFocusable, isLeaf, isVisible, obtainAllFocusableElements, triggerEvent } from './aria.mjs';
|
|
2
2
|
export { composeEventHandlers, whenMouse } from './event.mjs';
|
|
3
3
|
export { getClientXY, getOffsetTop, getOffsetTopDistance, isInContainer } from './position.mjs';
|
|
4
|
-
export { addResizeListener, removeResizeListener } from './resize-event.mjs';
|
|
5
4
|
export { getScrollBarWidth, getScrollContainer, isScroll, scrollIntoView } from './scroll.mjs';
|
|
6
5
|
export { addClass, addUnit, classNameToArray, getStyle, hasClass, removeClass, removeStyle, setStyle } from './style.mjs';
|
|
7
6
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/es/utils/index.mjs
CHANGED
|
@@ -15,7 +15,6 @@ export { mutable } from './typescript.mjs';
|
|
|
15
15
|
export { attemptFocus, focusNode, getSibling, isFocusable, isLeaf, isVisible, obtainAllFocusableElements, triggerEvent } from './dom/aria.mjs';
|
|
16
16
|
export { composeEventHandlers, whenMouse } from './dom/event.mjs';
|
|
17
17
|
export { getClientXY, getOffsetTop, getOffsetTopDistance, isInContainer } from './dom/position.mjs';
|
|
18
|
-
export { addResizeListener, removeResizeListener } from './dom/resize-event.mjs';
|
|
19
18
|
export { getScrollBarWidth, getScrollContainer, isScroll, scrollIntoView } from './dom/scroll.mjs';
|
|
20
19
|
export { addClass, addUnit, classNameToArray, getStyle, hasClass, removeClass, removeStyle, setStyle } from './dom/style.mjs';
|
|
21
20
|
export { changeGlobalNodesTarget, createGlobalNode, removeGlobalNode } from './vue/global-node.mjs';
|
package/es/utils/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/es/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "2.2.
|
|
1
|
+
export declare const version = "2.2.15";
|
package/es/version.mjs
CHANGED
package/es/version.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.mjs","sources":["../../../packages/element-plus/version.ts"],"sourcesContent":["export const version = '2.2.
|
|
1
|
+
{"version":3,"file":"version.mjs","sources":["../../../packages/element-plus/version.ts"],"sourcesContent":["export const version = '2.2.15'\n"],"names":[],"mappings":"AAAY,MAAC,OAAO,GAAG;;;;"}
|
|
@@ -103,7 +103,7 @@ export declare const ElCarousel: import("element-plus/es/utils").SFCWithInstall<
|
|
|
103
103
|
next: () => void;
|
|
104
104
|
resetTimer: () => void;
|
|
105
105
|
resizeObserver: import("vue").ShallowRef<{
|
|
106
|
-
isSupported: boolean
|
|
106
|
+
isSupported: import("vue").Ref<boolean>;
|
|
107
107
|
stop: () => void;
|
|
108
108
|
} | undefined>;
|
|
109
109
|
ElIcon: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
@@ -104,7 +104,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
104
104
|
next: () => void;
|
|
105
105
|
resetTimer: () => void;
|
|
106
106
|
resizeObserver: import("vue").ShallowRef<{
|
|
107
|
-
isSupported: boolean
|
|
107
|
+
isSupported: import("vue").Ref<boolean>;
|
|
108
108
|
stop: () => void;
|
|
109
109
|
} | undefined>;
|
|
110
110
|
ElIcon: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
@@ -11337,7 +11337,7 @@ declare const _Cascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
11337
11337
|
presentTags: import("vue").Ref<import("..").Tag[]>;
|
|
11338
11338
|
allPresentTags: import("vue").Ref<import("..").Tag[]>;
|
|
11339
11339
|
suggestions: import("vue").Ref<import("../cascader-panel/src/node").default[]>;
|
|
11340
|
-
isDisabled: import("vue").ComputedRef<boolean>;
|
|
11340
|
+
isDisabled: import("vue").ComputedRef<boolean | undefined>;
|
|
11341
11341
|
isOnComposition: import("vue").Ref<boolean>;
|
|
11342
11342
|
realSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
11343
11343
|
tagSize: import("vue").ComputedRef<"default" | "small">;
|
|
@@ -22820,7 +22820,7 @@ export declare const ElCascader: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
22820
22820
|
presentTags: import("vue").Ref<import("..").Tag[]>;
|
|
22821
22821
|
allPresentTags: import("vue").Ref<import("..").Tag[]>;
|
|
22822
22822
|
suggestions: import("vue").Ref<import("../cascader-panel/src/node").default[]>;
|
|
22823
|
-
isDisabled: import("vue").ComputedRef<boolean>;
|
|
22823
|
+
isDisabled: import("vue").ComputedRef<boolean | undefined>;
|
|
22824
22824
|
isOnComposition: import("vue").Ref<boolean>;
|
|
22825
22825
|
realSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
22826
22826
|
tagSize: import("vue").ComputedRef<"default" | "small">;
|
|
@@ -12,7 +12,6 @@ var index$2 = require('../../tooltip/index.js');
|
|
|
12
12
|
var index$3 = require('../../scrollbar/index.js');
|
|
13
13
|
var index$4 = require('../../tag/index.js');
|
|
14
14
|
var index$5 = require('../../icon/index.js');
|
|
15
|
-
require('../../../tokens/index.js');
|
|
16
15
|
require('../../../directives/index.js');
|
|
17
16
|
require('../../../hooks/index.js');
|
|
18
17
|
require('../../../utils/index.js');
|
|
@@ -27,8 +26,8 @@ var tag = require('../../tag/src/tag.js');
|
|
|
27
26
|
var event = require('../../../constants/event.js');
|
|
28
27
|
var index$7 = require('../../../hooks/use-namespace/index.js');
|
|
29
28
|
var index$8 = require('../../../hooks/use-locale/index.js');
|
|
30
|
-
var
|
|
31
|
-
var index$
|
|
29
|
+
var index$9 = require('../../../hooks/use-form-item/index.js');
|
|
30
|
+
var index$a = require('../../../hooks/use-common-props/index.js');
|
|
32
31
|
var error = require('../../../utils/error.js');
|
|
33
32
|
var i18n = require('../../../utils/i18n.js');
|
|
34
33
|
var aria = require('../../../constants/aria.js');
|
|
@@ -136,8 +135,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
136
135
|
const nsCascader = index$7.useNamespace("cascader");
|
|
137
136
|
const nsInput = index$7.useNamespace("input");
|
|
138
137
|
const { t } = index$8.useLocale();
|
|
139
|
-
const
|
|
140
|
-
const elFormItem = vue.inject(form.formItemContextKey, {});
|
|
138
|
+
const { form, formItem } = index$9.useFormItem();
|
|
141
139
|
const tooltipRef = vue.ref(null);
|
|
142
140
|
const input = vue.ref(null);
|
|
143
141
|
const tagWrapper = vue.ref(null);
|
|
@@ -152,9 +150,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
152
150
|
const allPresentTags = vue.ref([]);
|
|
153
151
|
const suggestions = vue.ref([]);
|
|
154
152
|
const isOnComposition = vue.ref(false);
|
|
155
|
-
const isDisabled = vue.computed(() => props.disabled ||
|
|
153
|
+
const isDisabled = vue.computed(() => props.disabled || (form == null ? void 0 : form.disabled));
|
|
156
154
|
const inputPlaceholder = vue.computed(() => props.placeholder || t("el.cascader.placeholder"));
|
|
157
|
-
const realSize = index$
|
|
155
|
+
const realSize = index$a.useSize();
|
|
158
156
|
const tagSize = vue.computed(() => ["small"].includes(realSize.value) ? "small" : "default");
|
|
159
157
|
const multiple = vue.computed(() => !!props.props.multiple);
|
|
160
158
|
const readonly = vue.computed(() => !props.filterable || multiple.value);
|
|
@@ -178,11 +176,10 @@ const _sfc_main = vue.defineComponent({
|
|
|
178
176
|
return props.modelValue;
|
|
179
177
|
},
|
|
180
178
|
set(val) {
|
|
181
|
-
var _a;
|
|
182
179
|
emit(event.UPDATE_MODEL_EVENT, val);
|
|
183
180
|
emit(event.CHANGE_EVENT, val);
|
|
184
181
|
if (props.validateEvent) {
|
|
185
|
-
|
|
182
|
+
formItem == null ? void 0 : formItem.validate("change").catch((err) => error.debugWarn(err));
|
|
186
183
|
}
|
|
187
184
|
}
|
|
188
185
|
});
|
|
@@ -202,9 +199,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
202
199
|
updatePopperPosition();
|
|
203
200
|
vue.nextTick((_c = panel.value) == null ? void 0 : _c.scrollToExpandingNode);
|
|
204
201
|
} else if (props.filterable) {
|
|
205
|
-
|
|
206
|
-
inputValue.value = value;
|
|
207
|
-
searchInputValue.value = value;
|
|
202
|
+
syncPresentTextValue();
|
|
208
203
|
}
|
|
209
204
|
emit("visible-change", visible);
|
|
210
205
|
}
|
|
@@ -361,8 +356,16 @@ const _sfc_main = vue.defineComponent({
|
|
|
361
356
|
const handleClear = () => {
|
|
362
357
|
var _a;
|
|
363
358
|
(_a = panel.value) == null ? void 0 : _a.clearCheckedNodes();
|
|
359
|
+
if (!popperVisible.value && props.filterable) {
|
|
360
|
+
syncPresentTextValue();
|
|
361
|
+
}
|
|
364
362
|
togglePopperVisible(false);
|
|
365
363
|
};
|
|
364
|
+
const syncPresentTextValue = () => {
|
|
365
|
+
const { value } = presentText;
|
|
366
|
+
inputValue.value = value;
|
|
367
|
+
searchInputValue.value = value;
|
|
368
|
+
};
|
|
366
369
|
const handleSuggestionClick = (node) => {
|
|
367
370
|
var _a, _b;
|
|
368
371
|
const { checked } = node;
|
|
@@ -392,7 +395,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
392
395
|
const tags = presentTags.value;
|
|
393
396
|
const lastTag = tags[tags.length - 1];
|
|
394
397
|
pressDeleteCount = searchInputValue.value ? 0 : pressDeleteCount + 1;
|
|
395
|
-
if (!lastTag || !pressDeleteCount)
|
|
398
|
+
if (!lastTag || !pressDeleteCount || props.collapseTags && tags.length > 1)
|
|
396
399
|
return;
|
|
397
400
|
if (lastTag.hitState) {
|
|
398
401
|
deleteTag(lastTag);
|