@element-plus/nightly 0.0.20220830 → 0.0.20220902
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/README.md +0 -5
- package/attributes.json +1 -1
- package/dist/index.css +1 -1
- package/dist/index.full.js +923 -6269
- package/dist/index.full.min.js +37 -63
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +37 -63
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +924 -6269
- 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 +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/index.d.ts +1 -1
- package/es/components/affix/src/affix.vue.d.ts +1 -1
- package/es/components/alert/index.d.ts +2 -2
- package/es/components/alert/src/alert.vue.d.ts +2 -2
- package/es/components/autocomplete/index.d.ts +20 -19
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +20 -19
- package/es/components/autocomplete/src/autocomplete2.mjs +3 -1
- package/es/components/autocomplete/src/autocomplete2.mjs.map +1 -1
- package/es/components/avatar/index.d.ts +2 -2
- package/es/components/avatar/src/avatar.vue.d.ts +2 -2
- package/es/components/backtop/index.d.ts +2 -2
- package/es/components/backtop/src/backtop.vue.d.ts +2 -2
- package/es/components/badge/index.d.ts +1 -1
- package/es/components/badge/src/badge.vue.d.ts +1 -1
- package/es/components/breadcrumb/index.d.ts +5 -5
- package/es/components/breadcrumb/src/breadcrumb-item.vue.d.ts +2 -2
- package/es/components/breadcrumb/src/breadcrumb.vue.d.ts +1 -1
- package/es/components/button/index.d.ts +4 -4
- package/es/components/button/index.mjs +2 -2
- package/es/components/button/src/button-group.mjs +1 -1
- package/es/components/button/src/button-group.vue.d.ts +1 -1
- package/es/components/button/src/button.mjs +118 -53
- package/es/components/button/src/button.mjs.map +1 -1
- package/es/components/button/src/button.vue.d.ts +2 -2
- package/es/components/button/src/button2.mjs +53 -118
- package/es/components/button/src/button2.mjs.map +1 -1
- package/es/components/calendar/index.d.ts +7 -7
- package/es/components/calendar/src/calendar.vue.d.ts +7 -7
- package/es/components/calendar/src/date-table.vue.d.ts +2 -2
- package/es/components/card/index.d.ts +1 -1
- package/es/components/card/src/card.vue.d.ts +1 -1
- package/es/components/carousel/index.d.ts +4 -4
- package/es/components/carousel/src/carousel-item.vue.d.ts +1 -1
- package/es/components/carousel/src/carousel.vue.d.ts +2 -2
- package/es/components/cascader/index.d.ts +120 -120
- package/es/components/cascader/src/index.vue.d.ts +60 -60
- package/es/components/cascader-panel/index.d.ts +2 -2
- package/es/components/cascader-panel/index.mjs +1 -1
- package/es/components/cascader-panel/src/config.d.ts +1 -2
- package/es/components/cascader-panel/src/config.mjs +1 -2
- package/es/components/cascader-panel/src/config.mjs.map +1 -1
- package/es/components/cascader-panel/src/index.mjs +2 -2
- package/es/components/cascader-panel/src/index.mjs.map +1 -1
- package/es/components/cascader-panel/src/index.vue.d.ts +4 -4
- package/es/components/cascader-panel/src/menu.vue.d.ts +1 -1
- package/es/components/cascader-panel/src/node-content.d.ts +1 -1
- package/es/components/cascader-panel/src/node.d.ts +1 -4
- package/es/components/cascader-panel/src/node.mjs +1 -6
- package/es/components/cascader-panel/src/node.mjs.map +1 -1
- package/es/components/cascader-panel/src/node.vue.d.ts +1 -1
- package/es/components/cascader-panel/src/types.d.ts +2 -27
- package/es/components/cascader-panel/src/types.mjs +1 -6
- package/es/components/cascader-panel/src/types.mjs.map +1 -1
- package/es/components/check-tag/index.d.ts +1 -1
- package/es/components/check-tag/src/check-tag.vue.d.ts +1 -1
- package/es/components/checkbox/index.d.ts +5 -5
- package/es/components/checkbox/src/checkbox-button.vue.d.ts +1 -1
- package/es/components/checkbox/src/checkbox-group.vue.d.ts +1 -1
- package/es/components/checkbox/src/checkbox.vue.d.ts +1 -1
- package/es/components/col/index.d.ts +1 -1
- package/es/components/col/src/col.vue.d.ts +1 -1
- package/es/components/collapse/index.d.ts +7 -7
- package/es/components/collapse/src/collapse-item.vue.d.ts +3 -3
- package/es/components/collapse/src/collapse.vue.d.ts +1 -1
- package/es/components/collapse-transition/index.d.ts +2 -2
- package/es/components/collapse-transition/src/collapse-transition.vue.d.ts +1 -1
- package/es/components/color-picker/index.d.ts +14 -14
- package/es/components/color-picker/src/components/alpha-slider.vue.d.ts +1 -1
- package/es/components/color-picker/src/components/hue-slider.vue.d.ts +1 -1
- package/es/components/color-picker/src/components/predefine.vue.d.ts +1 -1
- package/es/components/color-picker/src/components/sv-panel.vue.d.ts +1 -1
- package/es/components/color-picker/src/index.vue.d.ts +7 -7
- package/es/components/container/index.d.ts +9 -9
- package/es/components/container/src/aside.vue.d.ts +1 -1
- package/es/components/container/src/container.vue.d.ts +1 -1
- package/es/components/container/src/footer.vue.d.ts +1 -1
- package/es/components/container/src/header.vue.d.ts +1 -1
- package/es/components/container/src/main.vue.d.ts +1 -1
- package/es/components/date-picker/src/composables/use-range-picker.d.ts +2 -2
- package/es/components/date-picker/src/date-picker-com/basic-date-table.mjs +1 -1
- package/es/components/date-picker/src/date-picker-com/basic-date-table.mjs.map +1 -1
- package/es/components/date-picker/src/date-picker-com/basic-date-table.vue.d.ts +1 -1
- package/es/components/date-picker/src/date-picker-com/basic-month-table.vue.d.ts +1 -1
- package/es/components/date-picker/src/date-picker-com/basic-year-table.vue.d.ts +1 -1
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.mjs +2 -0
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.mjs.map +1 -1
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +59 -59
- package/es/components/date-picker/src/date-picker-com/panel-date-range.mjs +4 -0
- package/es/components/date-picker/src/date-picker-com/panel-date-range.mjs.map +1 -1
- package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +57 -57
- package/es/components/date-picker/src/date-picker-com/panel-month-range.vue.d.ts +4 -4
- package/es/components/date-picker/src/date-picker.mjs +8 -0
- package/es/components/date-picker/src/date-picker.mjs.map +1 -1
- package/es/components/date-picker/src/panel-utils.d.ts +120 -120
- package/es/components/descriptions/index.d.ts +1 -1
- package/es/components/descriptions/src/description.vue.d.ts +1 -1
- package/es/components/dialog/index.d.ts +3 -3
- package/es/components/dialog/src/dialog-content.vue.d.ts +2 -2
- package/es/components/dialog/src/dialog.vue.d.ts +3 -3
- package/es/components/divider/index.d.ts +1 -1
- package/es/components/divider/src/divider.vue.d.ts +1 -1
- package/es/components/drawer/index.d.ts +1 -1
- package/es/components/drawer/src/drawer.vue.d.ts +1 -1
- package/es/components/dropdown/index.d.ts +9 -9
- package/es/components/dropdown/src/dropdown-item-impl.vue.d.ts +1 -1
- package/es/components/dropdown/src/dropdown.vue.d.ts +9 -9
- package/es/components/empty/index.d.ts +2 -2
- package/es/components/empty/src/empty.vue.d.ts +2 -2
- package/es/components/empty/src/img-empty.vue.d.ts +1 -1
- package/es/components/form/index.d.ts +3 -3
- package/es/components/form/src/form-item.vue.d.ts +1 -1
- package/es/components/form/src/form-item2.mjs +5 -6
- package/es/components/form/src/form-item2.mjs.map +1 -1
- package/es/components/form/src/form.vue.d.ts +1 -1
- package/es/components/icon/index.d.ts +1 -1
- package/es/components/icon/src/icon.vue.d.ts +1 -1
- package/es/components/image/index.d.ts +3 -3
- package/es/components/image/src/image.vue.d.ts +3 -3
- package/es/components/image-viewer/index.d.ts +2 -2
- package/es/components/image-viewer/src/image-viewer.vue.d.ts +2 -2
- package/es/components/index.mjs +2 -2
- package/es/components/input/index.d.ts +3 -3
- package/es/components/input/src/input.vue.d.ts +3 -3
- package/es/components/input/src/input2.mjs +3 -1
- package/es/components/input/src/input2.mjs.map +1 -1
- package/es/components/input-number/index.d.ts +15 -11
- package/es/components/input-number/src/input-number.d.ts +1 -0
- package/es/components/input-number/src/input-number.mjs +1 -0
- package/es/components/input-number/src/input-number.mjs.map +1 -1
- package/es/components/input-number/src/input-number.vue.d.ts +15 -11
- package/es/components/input-number/src/input-number2.mjs +4 -3
- package/es/components/input-number/src/input-number2.mjs.map +1 -1
- package/es/components/link/index.d.ts +2 -2
- package/es/components/link/src/link.vue.d.ts +2 -2
- package/es/components/menu/index.d.ts +6 -6
- package/es/components/menu/src/menu-item-group.vue.d.ts +1 -1
- package/es/components/menu/src/menu-item.vue.d.ts +2 -2
- package/es/components/menu/src/menu.mjs +2 -0
- package/es/components/menu/src/menu.mjs.map +1 -1
- package/es/components/message/src/message.vue.d.ts +3 -3
- package/es/components/message-box/src/index.vue.d.ts +1 -1
- package/es/components/notification/src/notification.vue.d.ts +2 -2
- package/es/components/page-header/index.d.ts +3 -3
- package/es/components/page-header/src/page-header.vue.d.ts +3 -3
- package/es/components/page-header/style/css.d.ts +1 -0
- package/es/components/page-header/style/css.mjs +1 -0
- package/es/components/page-header/style/css.mjs.map +1 -1
- package/es/components/page-header/style/index.d.ts +1 -0
- package/es/components/page-header/style/index.mjs +1 -0
- package/es/components/page-header/style/index.mjs.map +1 -1
- package/es/components/pagination/src/components/jumper.mjs +1 -0
- package/es/components/pagination/src/components/jumper.mjs.map +1 -1
- package/es/components/pagination/src/components/jumper.vue.d.ts +4 -4
- package/es/components/pagination/src/components/next.vue.d.ts +1 -1
- package/es/components/pagination/src/components/pager.vue.d.ts +2 -2
- package/es/components/pagination/src/components/prev.vue.d.ts +1 -1
- package/es/components/pagination/src/components/sizes.vue.d.ts +13 -13
- package/es/components/pagination/src/components/sizes2.mjs +1 -0
- package/es/components/pagination/src/components/sizes2.mjs.map +1 -1
- package/es/components/pagination/src/components/total.vue.d.ts +1 -1
- package/es/components/popconfirm/index.d.ts +9 -9
- package/es/components/popconfirm/src/popconfirm.mjs +1 -1
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +9 -9
- package/es/components/popover/index.d.ts +5 -5
- package/es/components/popover/src/popover.vue.d.ts +5 -5
- package/es/components/popper/src/arrow.vue.d.ts +1 -1
- package/es/components/popper/src/content.vue.d.ts +1 -1
- package/es/components/progress/index.d.ts +2 -2
- package/es/components/progress/src/progress.vue.d.ts +2 -2
- package/es/components/radio/index.d.ts +5 -5
- package/es/components/radio/src/radio-button.vue.d.ts +1 -1
- package/es/components/radio/src/radio-group.vue.d.ts +1 -1
- package/es/components/radio/src/radio.vue.d.ts +1 -1
- package/es/components/rate/index.d.ts +2 -2
- package/es/components/rate/src/rate.vue.d.ts +2 -2
- package/es/components/result/index.d.ts +1 -1
- package/es/components/result/src/result.vue.d.ts +1 -1
- package/es/components/row/index.d.ts +1 -1
- package/es/components/row/src/row.vue.d.ts +1 -1
- package/es/components/scrollbar/index.d.ts +4 -4
- package/es/components/scrollbar/src/bar.vue.d.ts +1 -1
- package/es/components/scrollbar/src/scrollbar.vue.d.ts +4 -4
- package/es/components/scrollbar/src/thumb.vue.d.ts +1 -1
- package/es/components/select/index.d.ts +13 -13
- package/es/components/select/src/option-group.vue.d.ts +1 -1
- package/es/components/select/src/option.mjs +1 -1
- package/es/components/select/src/option.mjs.map +1 -1
- package/es/components/select/src/option.vue.d.ts +1 -1
- package/es/components/select/src/select-dropdown.vue.d.ts +1 -1
- package/es/components/select/src/select.vue.d.ts +9 -9
- package/es/components/select/src/useOption.mjs +4 -0
- package/es/components/select/src/useOption.mjs.map +1 -1
- package/es/components/select/src/useSelect.d.ts +8 -8
- package/es/components/select/src/useSelect.mjs +2 -1
- package/es/components/select/src/useSelect.mjs.map +1 -1
- package/es/components/select-v2/index.d.ts +22 -22
- package/es/components/select-v2/src/group-item.vue.d.ts +1 -1
- package/es/components/select-v2/src/option-item.vue.d.ts +1 -1
- package/es/components/select-v2/src/select.mjs +25 -23
- package/es/components/select-v2/src/select.mjs.map +1 -1
- package/es/components/select-v2/src/select.vue.d.ts +11 -11
- package/es/components/select-v2/src/useSelect.d.ts +11 -11
- package/es/components/select-v2/src/useSelect.mjs +2 -2
- package/es/components/select-v2/src/useSelect.mjs.map +1 -1
- package/es/components/skeleton/index.d.ts +4 -4
- package/es/components/skeleton/src/skeleton-item.vue.d.ts +1 -1
- package/es/components/skeleton/src/skeleton.vue.d.ts +2 -2
- package/es/components/slider/index.d.ts +41 -37
- package/es/components/slider/src/button.vue.d.ts +5 -5
- package/es/components/slider/src/composables/use-slide.d.ts +20 -20
- package/es/components/slider/src/composables/use-slider-button.mjs +1 -1
- package/es/components/slider/src/composables/use-slider-button.mjs.map +1 -1
- package/es/components/slider/src/slider.vue.d.ts +41 -37
- package/es/components/steps/index.d.ts +5 -5
- package/es/components/steps/src/item.vue.d.ts +2 -2
- package/es/components/steps/src/steps.vue.d.ts +1 -1
- package/es/components/switch/index.d.ts +2 -2
- package/es/components/switch/src/switch.vue.d.ts +2 -2
- package/es/components/table/index.d.ts +3 -2
- package/es/components/table/index.mjs.map +1 -1
- package/es/components/table/src/config.mjs +3 -0
- package/es/components/table/src/config.mjs.map +1 -1
- package/es/components/table/src/filter-panel.vue.d.ts +9 -9
- package/es/components/table/src/store/watcher.mjs.map +1 -1
- package/es/components/table/src/table/utils-helper.d.ts +1 -1
- package/es/components/table/src/table/utils-helper.mjs.map +1 -1
- package/es/components/table/src/table-body/index.d.ts +1 -1
- package/es/components/table/src/table-column/render-helper.mjs +1 -2
- package/es/components/table/src/table-column/render-helper.mjs.map +1 -1
- package/es/components/table/src/table-footer/index.d.ts +1 -1
- package/es/components/table/src/table-header/index.d.ts +1 -1
- package/es/components/table/src/table.vue.d.ts +2 -2
- package/es/components/table-v2/src/components/header.mjs +1 -1
- package/es/components/table-v2/src/components/header.mjs.map +1 -1
- package/es/components/table-v2/src/table-v2.mjs +20 -14
- package/es/components/table-v2/src/table-v2.mjs.map +1 -1
- package/es/components/tabs/index.d.ts +2 -2
- package/es/components/tabs/src/tab-bar.vue.d.ts +1 -1
- package/es/components/tabs/src/tab-bar2.mjs +1 -1
- package/es/components/tabs/src/tab-bar2.mjs.map +1 -1
- package/es/components/tabs/src/tab-nav.mjs +3 -2
- package/es/components/tabs/src/tab-nav.mjs.map +1 -1
- package/es/components/tabs/src/tab-pane.vue.d.ts +1 -1
- package/es/components/tag/index.d.ts +2 -2
- package/es/components/tag/src/tag.vue.d.ts +2 -2
- package/es/components/teleport/index.d.ts +1 -1
- package/es/components/teleport/src/teleport.vue.d.ts +1 -1
- package/es/components/time-picker/src/common/picker.mjs +10 -2
- package/es/components/time-picker/src/common/picker.mjs.map +1 -1
- package/es/components/time-picker/src/common/picker.vue.d.ts +13 -11
- package/es/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +38 -38
- package/es/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +47 -47
- package/es/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +48 -48
- package/es/components/time-picker/src/time-picker.mjs +8 -0
- package/es/components/time-picker/src/time-picker.mjs.map +1 -1
- package/es/components/time-select/index.d.ts +50 -50
- package/es/components/time-select/src/time-select.vue.d.ts +25 -25
- package/es/components/timeline/index.d.ts +4 -4
- package/es/components/timeline/src/timeline-item.vue.d.ts +2 -2
- package/es/components/tooltip/index.d.ts +4 -4
- package/es/components/tooltip/src/content.vue.d.ts +2 -2
- package/es/components/tooltip/src/tooltip.vue.d.ts +4 -4
- package/es/components/tooltip/src/trigger.vue.d.ts +1 -1
- package/es/components/tooltip-v2/index.d.ts +3 -3
- package/es/components/tooltip-v2/src/arrow.vue.d.ts +1 -1
- package/es/components/tooltip-v2/src/content.vue.d.ts +1 -1
- package/es/components/tooltip-v2/src/root.vue.d.ts +1 -1
- package/es/components/tooltip-v2/src/tooltip.vue.d.ts +3 -3
- package/es/components/transfer/index.d.ts +45 -45
- package/es/components/transfer/src/transfer-panel.vue.d.ts +8 -8
- package/es/components/transfer/src/transfer-panel2.mjs +5 -1
- package/es/components/transfer/src/transfer-panel2.mjs.map +1 -1
- package/es/components/transfer/src/transfer.vue.d.ts +45 -45
- package/es/components/tree/index.d.ts +2 -2
- package/es/components/tree/src/tree-node.vue.d.ts +1 -1
- package/es/components/tree/src/tree.mjs +13 -0
- package/es/components/tree/src/tree.mjs.map +1 -1
- package/es/components/tree/src/tree.vue.d.ts +1 -1
- package/es/components/tree-select/src/tree-select-option.d.ts +6 -6
- package/es/components/tree-select/src/tree.mjs +2 -2
- package/es/components/tree-select/src/tree.mjs.map +1 -1
- package/es/components/tree-v2/index.d.ts +1 -1
- package/es/components/tree-v2/src/composables/useCheck.mjs +1 -1
- package/es/components/tree-v2/src/composables/useCheck.mjs.map +1 -1
- package/es/components/tree-v2/src/composables/useTree.mjs +2 -2
- package/es/components/tree-v2/src/composables/useTree.mjs.map +1 -1
- package/es/components/tree-v2/src/tree-node.vue.d.ts +1 -1
- package/es/components/tree-v2/src/tree.vue.d.ts +1 -1
- package/es/components/upload/index.d.ts +12 -12
- package/es/components/upload/src/upload-content.vue.d.ts +2 -2
- package/es/components/upload/src/upload-dragger.vue.d.ts +1 -1
- package/es/components/upload/src/upload-list.vue.d.ts +6 -6
- package/es/components/upload/src/upload.vue.d.ts +12 -12
- package/es/components/virtual-list/src/builders/build-list.d.ts +1 -1
- package/es/components/virtual-list/src/components/dynamic-size-list.d.ts +1 -1
- package/es/components/virtual-list/src/components/fixed-size-list.d.ts +1 -1
- package/es/directives/repeat-click/index.d.ts +2 -0
- package/es/directives/repeat-click/index.mjs +18 -12
- package/es/directives/repeat-click/index.mjs.map +1 -1
- package/es/hooks/use-namespace/index.d.ts +1 -1
- package/es/hooks/use-namespace/index.mjs +8 -10
- package/es/hooks/use-namespace/index.mjs.map +1 -1
- package/es/index.mjs +2 -2
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/affix/index.d.ts +1 -1
- package/lib/components/affix/src/affix.vue.d.ts +1 -1
- package/lib/components/alert/index.d.ts +2 -2
- package/lib/components/alert/src/alert.vue.d.ts +2 -2
- package/lib/components/autocomplete/index.d.ts +20 -19
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +20 -19
- package/lib/components/autocomplete/src/autocomplete2.js +3 -1
- package/lib/components/autocomplete/src/autocomplete2.js.map +1 -1
- package/lib/components/avatar/index.d.ts +2 -2
- package/lib/components/avatar/src/avatar.vue.d.ts +2 -2
- package/lib/components/backtop/index.d.ts +2 -2
- package/lib/components/backtop/src/backtop.vue.d.ts +2 -2
- package/lib/components/badge/index.d.ts +1 -1
- package/lib/components/badge/src/badge.vue.d.ts +1 -1
- package/lib/components/breadcrumb/index.d.ts +5 -5
- package/lib/components/breadcrumb/src/breadcrumb-item.vue.d.ts +2 -2
- package/lib/components/breadcrumb/src/breadcrumb.vue.d.ts +1 -1
- package/lib/components/button/index.d.ts +4 -4
- package/lib/components/button/index.js +2 -2
- package/lib/components/button/src/button-group.js +1 -1
- package/lib/components/button/src/button-group.vue.d.ts +1 -1
- package/lib/components/button/src/button.js +118 -56
- package/lib/components/button/src/button.js.map +1 -1
- package/lib/components/button/src/button.vue.d.ts +2 -2
- package/lib/components/button/src/button2.js +56 -118
- package/lib/components/button/src/button2.js.map +1 -1
- package/lib/components/calendar/index.d.ts +7 -7
- package/lib/components/calendar/src/calendar.vue.d.ts +7 -7
- package/lib/components/calendar/src/date-table.vue.d.ts +2 -2
- package/lib/components/card/index.d.ts +1 -1
- package/lib/components/card/src/card.vue.d.ts +1 -1
- package/lib/components/carousel/index.d.ts +4 -4
- package/lib/components/carousel/src/carousel-item.vue.d.ts +1 -1
- package/lib/components/carousel/src/carousel.vue.d.ts +2 -2
- package/lib/components/cascader/index.d.ts +120 -120
- package/lib/components/cascader/src/index.vue.d.ts +60 -60
- package/lib/components/cascader-panel/index.d.ts +2 -2
- package/lib/components/cascader-panel/index.js +0 -1
- package/lib/components/cascader-panel/index.js.map +1 -1
- package/lib/components/cascader-panel/src/config.d.ts +1 -2
- package/lib/components/cascader-panel/src/config.js +1 -2
- package/lib/components/cascader-panel/src/config.js.map +1 -1
- package/lib/components/cascader-panel/src/index.js +1 -1
- package/lib/components/cascader-panel/src/index.js.map +1 -1
- package/lib/components/cascader-panel/src/index.vue.d.ts +4 -4
- package/lib/components/cascader-panel/src/menu.vue.d.ts +1 -1
- package/lib/components/cascader-panel/src/node-content.d.ts +1 -1
- package/lib/components/cascader-panel/src/node.d.ts +1 -4
- package/lib/components/cascader-panel/src/node.js +0 -6
- package/lib/components/cascader-panel/src/node.js.map +1 -1
- package/lib/components/cascader-panel/src/node.vue.d.ts +1 -1
- package/lib/components/cascader-panel/src/types.d.ts +2 -27
- package/lib/components/cascader-panel/src/types.js +0 -6
- package/lib/components/cascader-panel/src/types.js.map +1 -1
- package/lib/components/check-tag/index.d.ts +1 -1
- package/lib/components/check-tag/src/check-tag.vue.d.ts +1 -1
- package/lib/components/checkbox/index.d.ts +5 -5
- package/lib/components/checkbox/src/checkbox-button.vue.d.ts +1 -1
- package/lib/components/checkbox/src/checkbox-group.vue.d.ts +1 -1
- package/lib/components/checkbox/src/checkbox.vue.d.ts +1 -1
- package/lib/components/col/index.d.ts +1 -1
- package/lib/components/col/src/col.vue.d.ts +1 -1
- package/lib/components/collapse/index.d.ts +7 -7
- package/lib/components/collapse/src/collapse-item.vue.d.ts +3 -3
- package/lib/components/collapse/src/collapse.vue.d.ts +1 -1
- package/lib/components/collapse-transition/index.d.ts +2 -2
- package/lib/components/collapse-transition/src/collapse-transition.vue.d.ts +1 -1
- package/lib/components/color-picker/index.d.ts +14 -14
- package/lib/components/color-picker/src/components/alpha-slider.vue.d.ts +1 -1
- package/lib/components/color-picker/src/components/hue-slider.vue.d.ts +1 -1
- package/lib/components/color-picker/src/components/predefine.vue.d.ts +1 -1
- package/lib/components/color-picker/src/components/sv-panel.vue.d.ts +1 -1
- package/lib/components/color-picker/src/index.vue.d.ts +7 -7
- package/lib/components/container/index.d.ts +9 -9
- package/lib/components/container/src/aside.vue.d.ts +1 -1
- package/lib/components/container/src/container.vue.d.ts +1 -1
- package/lib/components/container/src/footer.vue.d.ts +1 -1
- package/lib/components/container/src/header.vue.d.ts +1 -1
- package/lib/components/container/src/main.vue.d.ts +1 -1
- package/lib/components/date-picker/src/composables/use-range-picker.d.ts +2 -2
- package/lib/components/date-picker/src/date-picker-com/basic-date-table.js +2 -2
- package/lib/components/date-picker/src/date-picker-com/basic-date-table.js.map +1 -1
- package/lib/components/date-picker/src/date-picker-com/basic-date-table.vue.d.ts +1 -1
- package/lib/components/date-picker/src/date-picker-com/basic-month-table.vue.d.ts +1 -1
- package/lib/components/date-picker/src/date-picker-com/basic-year-table.vue.d.ts +1 -1
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.js +2 -0
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.js.map +1 -1
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +59 -59
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.js +4 -0
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.js.map +1 -1
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +57 -57
- package/lib/components/date-picker/src/date-picker-com/panel-month-range.vue.d.ts +4 -4
- package/lib/components/date-picker/src/date-picker.js +8 -0
- package/lib/components/date-picker/src/date-picker.js.map +1 -1
- package/lib/components/date-picker/src/panel-utils.d.ts +120 -120
- package/lib/components/descriptions/index.d.ts +1 -1
- package/lib/components/descriptions/src/description.vue.d.ts +1 -1
- package/lib/components/dialog/index.d.ts +3 -3
- package/lib/components/dialog/src/dialog-content.vue.d.ts +2 -2
- package/lib/components/dialog/src/dialog.vue.d.ts +3 -3
- package/lib/components/divider/index.d.ts +1 -1
- package/lib/components/divider/src/divider.vue.d.ts +1 -1
- package/lib/components/drawer/index.d.ts +1 -1
- package/lib/components/drawer/src/drawer.vue.d.ts +1 -1
- package/lib/components/dropdown/index.d.ts +9 -9
- package/lib/components/dropdown/src/dropdown-item-impl.vue.d.ts +1 -1
- package/lib/components/dropdown/src/dropdown.vue.d.ts +9 -9
- package/lib/components/empty/index.d.ts +2 -2
- package/lib/components/empty/src/empty.vue.d.ts +2 -2
- package/lib/components/empty/src/img-empty.vue.d.ts +1 -1
- package/lib/components/form/index.d.ts +3 -3
- package/lib/components/form/src/form-item.vue.d.ts +1 -1
- package/lib/components/form/src/form-item2.js +4 -5
- package/lib/components/form/src/form-item2.js.map +1 -1
- package/lib/components/form/src/form.vue.d.ts +1 -1
- package/lib/components/icon/index.d.ts +1 -1
- package/lib/components/icon/src/icon.vue.d.ts +1 -1
- package/lib/components/image/index.d.ts +3 -3
- package/lib/components/image/src/image.vue.d.ts +3 -3
- package/lib/components/image-viewer/index.d.ts +2 -2
- package/lib/components/image-viewer/src/image-viewer.vue.d.ts +2 -2
- package/lib/components/index.js +1 -2
- package/lib/components/index.js.map +1 -1
- package/lib/components/input/index.d.ts +3 -3
- package/lib/components/input/src/input.vue.d.ts +3 -3
- package/lib/components/input/src/input2.js +3 -1
- package/lib/components/input/src/input2.js.map +1 -1
- package/lib/components/input-number/index.d.ts +15 -11
- package/lib/components/input-number/src/input-number.d.ts +1 -0
- package/lib/components/input-number/src/input-number.js +1 -0
- package/lib/components/input-number/src/input-number.js.map +1 -1
- package/lib/components/input-number/src/input-number.vue.d.ts +15 -11
- package/lib/components/input-number/src/input-number2.js +4 -3
- package/lib/components/input-number/src/input-number2.js.map +1 -1
- package/lib/components/link/index.d.ts +2 -2
- package/lib/components/link/src/link.vue.d.ts +2 -2
- package/lib/components/menu/index.d.ts +6 -6
- package/lib/components/menu/src/menu-item-group.vue.d.ts +1 -1
- package/lib/components/menu/src/menu-item.vue.d.ts +2 -2
- package/lib/components/menu/src/menu.js +2 -0
- package/lib/components/menu/src/menu.js.map +1 -1
- package/lib/components/message/src/message.vue.d.ts +3 -3
- package/lib/components/message-box/src/index.vue.d.ts +1 -1
- package/lib/components/notification/src/notification.vue.d.ts +2 -2
- package/lib/components/page-header/index.d.ts +3 -3
- package/lib/components/page-header/src/page-header.vue.d.ts +3 -3
- package/lib/components/page-header/style/css.d.ts +1 -0
- package/lib/components/page-header/style/css.js +1 -0
- package/lib/components/page-header/style/css.js.map +1 -1
- package/lib/components/page-header/style/index.d.ts +1 -0
- package/lib/components/page-header/style/index.js +1 -0
- package/lib/components/page-header/style/index.js.map +1 -1
- package/lib/components/pagination/src/components/jumper.js +1 -0
- package/lib/components/pagination/src/components/jumper.js.map +1 -1
- package/lib/components/pagination/src/components/jumper.vue.d.ts +4 -4
- package/lib/components/pagination/src/components/next.vue.d.ts +1 -1
- package/lib/components/pagination/src/components/pager.vue.d.ts +2 -2
- package/lib/components/pagination/src/components/prev.vue.d.ts +1 -1
- package/lib/components/pagination/src/components/sizes.vue.d.ts +13 -13
- package/lib/components/pagination/src/components/sizes2.js +1 -0
- package/lib/components/pagination/src/components/sizes2.js.map +1 -1
- package/lib/components/pagination/src/components/total.vue.d.ts +1 -1
- package/lib/components/popconfirm/index.d.ts +9 -9
- package/lib/components/popconfirm/src/popconfirm.js +1 -1
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +9 -9
- package/lib/components/popover/index.d.ts +5 -5
- package/lib/components/popover/src/popover.vue.d.ts +5 -5
- package/lib/components/popper/src/arrow.vue.d.ts +1 -1
- package/lib/components/popper/src/content.vue.d.ts +1 -1
- package/lib/components/progress/index.d.ts +2 -2
- package/lib/components/progress/src/progress.vue.d.ts +2 -2
- package/lib/components/radio/index.d.ts +5 -5
- package/lib/components/radio/src/radio-button.vue.d.ts +1 -1
- package/lib/components/radio/src/radio-group.vue.d.ts +1 -1
- package/lib/components/radio/src/radio.vue.d.ts +1 -1
- package/lib/components/rate/index.d.ts +2 -2
- package/lib/components/rate/src/rate.vue.d.ts +2 -2
- package/lib/components/result/index.d.ts +1 -1
- package/lib/components/result/src/result.vue.d.ts +1 -1
- package/lib/components/row/index.d.ts +1 -1
- package/lib/components/row/src/row.vue.d.ts +1 -1
- package/lib/components/scrollbar/index.d.ts +4 -4
- package/lib/components/scrollbar/src/bar.vue.d.ts +1 -1
- package/lib/components/scrollbar/src/scrollbar.vue.d.ts +4 -4
- package/lib/components/scrollbar/src/thumb.vue.d.ts +1 -1
- package/lib/components/select/index.d.ts +13 -13
- package/lib/components/select/src/option-group.vue.d.ts +1 -1
- package/lib/components/select/src/option.js +1 -1
- package/lib/components/select/src/option.js.map +1 -1
- package/lib/components/select/src/option.vue.d.ts +1 -1
- package/lib/components/select/src/select-dropdown.vue.d.ts +1 -1
- package/lib/components/select/src/select.vue.d.ts +9 -9
- package/lib/components/select/src/useOption.js +4 -0
- package/lib/components/select/src/useOption.js.map +1 -1
- package/lib/components/select/src/useSelect.d.ts +8 -8
- package/lib/components/select/src/useSelect.js +2 -1
- package/lib/components/select/src/useSelect.js.map +1 -1
- package/lib/components/select-v2/index.d.ts +22 -22
- package/lib/components/select-v2/src/group-item.vue.d.ts +1 -1
- package/lib/components/select-v2/src/option-item.vue.d.ts +1 -1
- package/lib/components/select-v2/src/select.js +25 -23
- package/lib/components/select-v2/src/select.js.map +1 -1
- package/lib/components/select-v2/src/select.vue.d.ts +11 -11
- package/lib/components/select-v2/src/useSelect.d.ts +11 -11
- package/lib/components/select-v2/src/useSelect.js +2 -2
- package/lib/components/select-v2/src/useSelect.js.map +1 -1
- package/lib/components/skeleton/index.d.ts +4 -4
- package/lib/components/skeleton/src/skeleton-item.vue.d.ts +1 -1
- package/lib/components/skeleton/src/skeleton.vue.d.ts +2 -2
- package/lib/components/slider/index.d.ts +41 -37
- package/lib/components/slider/src/button.vue.d.ts +5 -5
- package/lib/components/slider/src/composables/use-slide.d.ts +20 -20
- package/lib/components/slider/src/composables/use-slider-button.js +1 -1
- package/lib/components/slider/src/composables/use-slider-button.js.map +1 -1
- package/lib/components/slider/src/slider.vue.d.ts +41 -37
- package/lib/components/steps/index.d.ts +5 -5
- package/lib/components/steps/src/item.vue.d.ts +2 -2
- package/lib/components/steps/src/steps.vue.d.ts +1 -1
- package/lib/components/switch/index.d.ts +2 -2
- package/lib/components/switch/src/switch.vue.d.ts +2 -2
- package/lib/components/table/index.d.ts +3 -2
- package/lib/components/table/index.js.map +1 -1
- package/lib/components/table/src/config.js +3 -0
- package/lib/components/table/src/config.js.map +1 -1
- package/lib/components/table/src/filter-panel.vue.d.ts +9 -9
- package/lib/components/table/src/store/watcher.js.map +1 -1
- package/lib/components/table/src/table/utils-helper.d.ts +1 -1
- package/lib/components/table/src/table/utils-helper.js.map +1 -1
- package/lib/components/table/src/table-body/index.d.ts +1 -1
- package/lib/components/table/src/table-column/render-helper.js +1 -2
- package/lib/components/table/src/table-column/render-helper.js.map +1 -1
- package/lib/components/table/src/table-footer/index.d.ts +1 -1
- package/lib/components/table/src/table-header/index.d.ts +1 -1
- package/lib/components/table/src/table.vue.d.ts +2 -2
- package/lib/components/table-v2/src/components/header.js +1 -1
- package/lib/components/table-v2/src/components/header.js.map +1 -1
- package/lib/components/table-v2/src/table-v2.js +20 -14
- package/lib/components/table-v2/src/table-v2.js.map +1 -1
- package/lib/components/tabs/index.d.ts +2 -2
- package/lib/components/tabs/src/tab-bar.vue.d.ts +1 -1
- package/lib/components/tabs/src/tab-bar2.js +1 -1
- package/lib/components/tabs/src/tab-bar2.js.map +1 -1
- package/lib/components/tabs/src/tab-nav.js +3 -2
- package/lib/components/tabs/src/tab-nav.js.map +1 -1
- package/lib/components/tabs/src/tab-pane.vue.d.ts +1 -1
- package/lib/components/tag/index.d.ts +2 -2
- package/lib/components/tag/src/tag.vue.d.ts +2 -2
- package/lib/components/teleport/index.d.ts +1 -1
- package/lib/components/teleport/src/teleport.vue.d.ts +1 -1
- package/lib/components/time-picker/src/common/picker.js +10 -2
- package/lib/components/time-picker/src/common/picker.js.map +1 -1
- package/lib/components/time-picker/src/common/picker.vue.d.ts +13 -11
- package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +38 -38
- package/lib/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +47 -47
- package/lib/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +48 -48
- package/lib/components/time-picker/src/time-picker.js +8 -0
- package/lib/components/time-picker/src/time-picker.js.map +1 -1
- package/lib/components/time-select/index.d.ts +50 -50
- package/lib/components/time-select/src/time-select.vue.d.ts +25 -25
- package/lib/components/timeline/index.d.ts +4 -4
- package/lib/components/timeline/src/timeline-item.vue.d.ts +2 -2
- package/lib/components/tooltip/index.d.ts +4 -4
- package/lib/components/tooltip/src/content.vue.d.ts +2 -2
- package/lib/components/tooltip/src/tooltip.vue.d.ts +4 -4
- package/lib/components/tooltip/src/trigger.vue.d.ts +1 -1
- package/lib/components/tooltip-v2/index.d.ts +3 -3
- package/lib/components/tooltip-v2/src/arrow.vue.d.ts +1 -1
- package/lib/components/tooltip-v2/src/content.vue.d.ts +1 -1
- package/lib/components/tooltip-v2/src/root.vue.d.ts +1 -1
- package/lib/components/tooltip-v2/src/tooltip.vue.d.ts +3 -3
- package/lib/components/transfer/index.d.ts +45 -45
- package/lib/components/transfer/src/transfer-panel.vue.d.ts +8 -8
- package/lib/components/transfer/src/transfer-panel2.js +5 -1
- package/lib/components/transfer/src/transfer-panel2.js.map +1 -1
- package/lib/components/transfer/src/transfer.vue.d.ts +45 -45
- package/lib/components/tree/index.d.ts +2 -2
- package/lib/components/tree/src/tree-node.vue.d.ts +1 -1
- package/lib/components/tree/src/tree.js +13 -0
- package/lib/components/tree/src/tree.js.map +1 -1
- package/lib/components/tree/src/tree.vue.d.ts +1 -1
- package/lib/components/tree-select/src/tree-select-option.d.ts +6 -6
- package/lib/components/tree-select/src/tree.js +2 -2
- package/lib/components/tree-select/src/tree.js.map +1 -1
- package/lib/components/tree-v2/index.d.ts +1 -1
- package/lib/components/tree-v2/src/composables/useCheck.js +1 -1
- package/lib/components/tree-v2/src/composables/useCheck.js.map +1 -1
- package/lib/components/tree-v2/src/composables/useTree.js +2 -2
- package/lib/components/tree-v2/src/composables/useTree.js.map +1 -1
- package/lib/components/tree-v2/src/tree-node.vue.d.ts +1 -1
- package/lib/components/tree-v2/src/tree.vue.d.ts +1 -1
- package/lib/components/upload/index.d.ts +12 -12
- package/lib/components/upload/src/upload-content.vue.d.ts +2 -2
- package/lib/components/upload/src/upload-dragger.vue.d.ts +1 -1
- package/lib/components/upload/src/upload-list.vue.d.ts +6 -6
- package/lib/components/upload/src/upload.vue.d.ts +12 -12
- package/lib/components/virtual-list/src/builders/build-list.d.ts +1 -1
- package/lib/components/virtual-list/src/components/dynamic-size-list.d.ts +1 -1
- package/lib/components/virtual-list/src/components/fixed-size-list.d.ts +1 -1
- package/lib/directives/repeat-click/index.d.ts +2 -0
- package/lib/directives/repeat-click/index.js +19 -11
- package/lib/directives/repeat-click/index.js.map +1 -1
- package/lib/hooks/use-namespace/index.d.ts +1 -1
- package/lib/hooks/use-namespace/index.js +8 -10
- package/lib/hooks/use-namespace/index.js.map +1 -1
- package/lib/index.js +1 -2
- package/lib/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 +2 -2
- package/tags.json +1 -1
- package/theme-chalk/el-loading.css +1 -1
- package/theme-chalk/el-select-v2.css +1 -1
- package/theme-chalk/el-select.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/loading.scss +2 -0
- package/theme-chalk/src/select/common.scss +1 -0
- package/web-types.json +1 -1
|
@@ -34,7 +34,7 @@ export declare const ElImageViewer: import("element-plus/es/utils").SFCWithInsta
|
|
|
34
34
|
emit: ((event: "close") => void) & ((event: "switch", index: number) => void);
|
|
35
35
|
t: import("../..").Translator;
|
|
36
36
|
ns: {
|
|
37
|
-
namespace: import("vue").
|
|
37
|
+
namespace: import("vue").Ref<string>;
|
|
38
38
|
b: (blockSuffix?: string) => string;
|
|
39
39
|
e: (element?: string | undefined) => string;
|
|
40
40
|
m: (modifier?: string | undefined) => string;
|
|
@@ -114,7 +114,7 @@ export declare const ElImageViewer: import("element-plus/es/utils").SFCWithInsta
|
|
|
114
114
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
115
115
|
}>>;
|
|
116
116
|
ns: {
|
|
117
|
-
namespace: import("vue").
|
|
117
|
+
namespace: import("vue").Ref<string>;
|
|
118
118
|
b: (blockSuffix?: string) => string;
|
|
119
119
|
e: (element?: string | undefined) => string;
|
|
120
120
|
m: (modifier?: string | undefined) => string;
|
|
@@ -36,7 +36,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
36
36
|
emit: ((event: "close") => void) & ((event: "switch", index: number) => void);
|
|
37
37
|
t: import("element-plus/es/hooks").Translator;
|
|
38
38
|
ns: {
|
|
39
|
-
namespace: import("vue").
|
|
39
|
+
namespace: import("vue").Ref<string>;
|
|
40
40
|
b: (blockSuffix?: string) => string;
|
|
41
41
|
e: (element?: string | undefined) => string;
|
|
42
42
|
m: (modifier?: string | undefined) => string;
|
|
@@ -116,7 +116,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
116
116
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
117
117
|
}>>;
|
|
118
118
|
ns: {
|
|
119
|
-
namespace: import("vue").
|
|
119
|
+
namespace: import("vue").Ref<string>;
|
|
120
120
|
b: (blockSuffix?: string) => string;
|
|
121
121
|
e: (element?: string | undefined) => string;
|
|
122
122
|
m: (modifier?: string | undefined) => string;
|
package/lib/components/index.js
CHANGED
|
@@ -84,7 +84,7 @@ var backtop = require('./backtop/src/backtop.js');
|
|
|
84
84
|
var badge = require('./badge/src/badge.js');
|
|
85
85
|
var breadcrumb = require('./breadcrumb/src/breadcrumb.js');
|
|
86
86
|
var breadcrumbItem = require('./breadcrumb/src/breadcrumb-item.js');
|
|
87
|
-
var button = require('./button/src/
|
|
87
|
+
var button = require('./button/src/button2.js');
|
|
88
88
|
var calendar = require('./calendar/src/calendar.js');
|
|
89
89
|
var card = require('./card/src/card.js');
|
|
90
90
|
var carousel = require('./carousel/src/carousel.js');
|
|
@@ -311,7 +311,6 @@ exports.carouselEmits = carousel.carouselEmits;
|
|
|
311
311
|
exports.carouselProps = carousel.carouselProps;
|
|
312
312
|
exports.carouselItemProps = carouselItem.carouselItemProps;
|
|
313
313
|
exports.CASCADER_PANEL_INJECTION_KEY = types.CASCADER_PANEL_INJECTION_KEY;
|
|
314
|
-
exports.ExpandTrigger = types.ExpandTrigger;
|
|
315
314
|
exports.CommonProps = config.CommonProps;
|
|
316
315
|
exports.DefaultProps = config.DefaultProps;
|
|
317
316
|
exports.useCascaderConfig = config.useCascaderConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -151,7 +151,7 @@ export declare const ElInput: import("element-plus/es/utils").SFCWithInstall<imp
|
|
|
151
151
|
inputSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
152
152
|
inputDisabled: import("vue").ComputedRef<boolean>;
|
|
153
153
|
nsInput: {
|
|
154
|
-
namespace: import("vue").
|
|
154
|
+
namespace: import("vue").Ref<string>;
|
|
155
155
|
b: (blockSuffix?: string) => string;
|
|
156
156
|
e: (element?: string | undefined) => string;
|
|
157
157
|
m: (modifier?: string | undefined) => string;
|
|
@@ -169,7 +169,7 @@ export declare const ElInput: import("element-plus/es/utils").SFCWithInstall<imp
|
|
|
169
169
|
cssVarBlockName: (name: string) => string;
|
|
170
170
|
};
|
|
171
171
|
nsTextarea: {
|
|
172
|
-
namespace: import("vue").
|
|
172
|
+
namespace: import("vue").Ref<string>;
|
|
173
173
|
b: (blockSuffix?: string) => string;
|
|
174
174
|
e: (element?: string | undefined) => string;
|
|
175
175
|
m: (modifier?: string | undefined) => string;
|
|
@@ -260,7 +260,7 @@ export declare const ElInput: import("element-plus/es/utils").SFCWithInstall<imp
|
|
|
260
260
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
261
261
|
}>>;
|
|
262
262
|
ns: {
|
|
263
|
-
namespace: import("vue").
|
|
263
|
+
namespace: import("vue").Ref<string>;
|
|
264
264
|
b: (blockSuffix?: string) => string;
|
|
265
265
|
e: (element?: string | undefined) => string;
|
|
266
266
|
m: (modifier?: string | undefined) => string;
|
|
@@ -152,7 +152,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
152
152
|
inputSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
153
153
|
inputDisabled: import("vue").ComputedRef<boolean>;
|
|
154
154
|
nsInput: {
|
|
155
|
-
namespace: import("vue").
|
|
155
|
+
namespace: import("vue").Ref<string>;
|
|
156
156
|
b: (blockSuffix?: string) => string;
|
|
157
157
|
e: (element?: string | undefined) => string;
|
|
158
158
|
m: (modifier?: string | undefined) => string;
|
|
@@ -170,7 +170,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
170
170
|
cssVarBlockName: (name: string) => string;
|
|
171
171
|
};
|
|
172
172
|
nsTextarea: {
|
|
173
|
-
namespace: import("vue").
|
|
173
|
+
namespace: import("vue").Ref<string>;
|
|
174
174
|
b: (blockSuffix?: string) => string;
|
|
175
175
|
e: (element?: string | undefined) => string;
|
|
176
176
|
m: (modifier?: string | undefined) => string;
|
|
@@ -261,7 +261,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
261
261
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
262
262
|
}>>;
|
|
263
263
|
ns: {
|
|
264
|
-
namespace: import("vue").
|
|
264
|
+
namespace: import("vue").Ref<string>;
|
|
265
265
|
b: (blockSuffix?: string) => string;
|
|
266
266
|
e: (element?: string | undefined) => string;
|
|
267
267
|
m: (modifier?: string | undefined) => string;
|
|
@@ -158,8 +158,10 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
158
158
|
}
|
|
159
159
|
if (isComposing.value)
|
|
160
160
|
return;
|
|
161
|
-
if (value === nativeInputValue.value)
|
|
161
|
+
if (value === nativeInputValue.value) {
|
|
162
|
+
setNativeInputValue();
|
|
162
163
|
return;
|
|
164
|
+
}
|
|
163
165
|
emit(event.UPDATE_MODEL_EVENT, value);
|
|
164
166
|
emit("input", value);
|
|
165
167
|
await vue.nextTick();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input2.js","sources":["../../../../../../packages/components/input/src/input.vue"],"sourcesContent":["<template>\n <div\n v-show=\"type !== 'hidden'\"\n v-bind=\"containerAttrs\"\n :class=\"[\n type === 'textarea' ? nsTextarea.b() : nsInput.b(),\n nsInput.m(inputSize),\n nsInput.is('disabled', inputDisabled),\n nsInput.is('exceed', inputExceed),\n {\n [nsInput.b('group')]: $slots.prepend || $slots.append,\n [nsInput.bm('group', 'append')]: $slots.append,\n [nsInput.bm('group', 'prepend')]: $slots.prepend,\n [nsInput.m('prefix')]: $slots.prefix || prefixIcon,\n [nsInput.m('suffix')]:\n $slots.suffix || suffixIcon || clearable || showPassword,\n [nsInput.bm('suffix', 'password-clear')]: showClear && showPwdVisible,\n },\n $attrs.class,\n ]\"\n :style=\"containerStyle\"\n :role=\"containerRole\"\n @mouseenter=\"handleMouseEnter\"\n @mouseleave=\"handleMouseLeave\"\n >\n <!-- input -->\n <template v-if=\"type !== 'textarea'\">\n <!-- prepend slot -->\n <div v-if=\"$slots.prepend\" :class=\"nsInput.be('group', 'prepend')\">\n <slot name=\"prepend\" />\n </div>\n\n <div :class=\"[nsInput.e('wrapper'), nsInput.is('focus', focused)]\">\n <!-- prefix slot -->\n <span v-if=\"$slots.prefix || prefixIcon\" :class=\"nsInput.e('prefix')\">\n <span :class=\"nsInput.e('prefix-inner')\">\n <slot name=\"prefix\" />\n <el-icon v-if=\"prefixIcon\" :class=\"nsInput.e('icon')\">\n <component :is=\"prefixIcon\" />\n </el-icon>\n </span>\n </span>\n\n <input\n :id=\"inputId\"\n ref=\"input\"\n :class=\"nsInput.e('inner')\"\n v-bind=\"attrs\"\n :type=\"showPassword ? (passwordVisible ? 'text' : 'password') : type\"\n :disabled=\"inputDisabled\"\n :formatter=\"formatter\"\n :parser=\"parser\"\n :readonly=\"readonly\"\n :autocomplete=\"autocomplete\"\n :tabindex=\"tabindex\"\n :aria-label=\"label\"\n :placeholder=\"placeholder\"\n :style=\"inputStyle\"\n @compositionstart=\"handleCompositionStart\"\n @compositionupdate=\"handleCompositionUpdate\"\n @compositionend=\"handleCompositionEnd\"\n @input=\"handleInput\"\n @focus=\"handleFocus\"\n @blur=\"handleBlur\"\n @change=\"handleChange\"\n @keydown=\"handleKeydown\"\n />\n\n <!-- suffix slot -->\n <span v-if=\"suffixVisible\" :class=\"nsInput.e('suffix')\">\n <span :class=\"nsInput.e('suffix-inner')\">\n <template\n v-if=\"!showClear || !showPwdVisible || !isWordLimitVisible\"\n >\n <slot name=\"suffix\" />\n <el-icon v-if=\"suffixIcon\" :class=\"nsInput.e('icon')\">\n <component :is=\"suffixIcon\" />\n </el-icon>\n </template>\n <el-icon\n v-if=\"showClear\"\n :class=\"[nsInput.e('icon'), nsInput.e('clear')]\"\n @mousedown.prevent=\"NOOP\"\n @click=\"clear\"\n >\n <circle-close />\n </el-icon>\n <el-icon\n v-if=\"showPwdVisible\"\n :class=\"[nsInput.e('icon'), nsInput.e('password')]\"\n @click=\"handlePasswordVisible\"\n >\n <component :is=\"passwordIcon\" />\n </el-icon>\n <span v-if=\"isWordLimitVisible\" :class=\"nsInput.e('count')\">\n <span :class=\"nsInput.e('count-inner')\">\n {{ textLength }} / {{ attrs.maxlength }}\n </span>\n </span>\n <el-icon\n v-if=\"validateState && validateIcon && needStatusIcon\"\n :class=\"[\n nsInput.e('icon'),\n nsInput.e('validateIcon'),\n nsInput.is('loading', validateState === 'validating'),\n ]\"\n >\n <component :is=\"validateIcon\" />\n </el-icon>\n </span>\n </span>\n </div>\n\n <!-- append slot -->\n <div v-if=\"$slots.append\" :class=\"nsInput.be('group', 'append')\">\n <slot name=\"append\" />\n </div>\n </template>\n\n <!-- textarea -->\n <template v-else>\n <textarea\n :id=\"inputId\"\n ref=\"textarea\"\n :class=\"nsTextarea.e('inner')\"\n v-bind=\"attrs\"\n :tabindex=\"tabindex\"\n :disabled=\"inputDisabled\"\n :readonly=\"readonly\"\n :autocomplete=\"autocomplete\"\n :style=\"textareaStyle\"\n :aria-label=\"label\"\n :placeholder=\"placeholder\"\n @compositionstart=\"handleCompositionStart\"\n @compositionupdate=\"handleCompositionUpdate\"\n @compositionend=\"handleCompositionEnd\"\n @input=\"handleInput\"\n @focus=\"handleFocus\"\n @blur=\"handleBlur\"\n @change=\"handleChange\"\n @keydown=\"handleKeydown\"\n />\n <span\n v-if=\"isWordLimitVisible\"\n :style=\"countStyle\"\n :class=\"nsInput.e('count')\"\n >\n {{ textLength }} / {{ attrs.maxlength }}\n </span>\n </template>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport {\n computed,\n getCurrentInstance,\n nextTick,\n onMounted,\n onUpdated,\n ref,\n shallowRef,\n toRef,\n useAttrs as useRawAttrs,\n useSlots,\n watch,\n} from 'vue'\nimport { isClient, useResizeObserver } from '@vueuse/core'\nimport { isNil } from 'lodash-unified'\nimport { ElIcon } from '@element-plus/components/icon'\nimport {\n CircleClose,\n Hide as IconHide,\n View as IconView,\n} from '@element-plus/icons-vue'\nimport {\n NOOP,\n ValidateComponentsMap,\n debugWarn,\n isKorean,\n isObject,\n} from '@element-plus/utils'\nimport {\n useAttrs,\n useCursor,\n useDisabled,\n useFormItem,\n useFormItemInputId,\n useNamespace,\n useSize,\n} from '@element-plus/hooks'\nimport { UPDATE_MODEL_EVENT } from '@element-plus/constants'\nimport { calcTextareaHeight } from './utils'\nimport { inputEmits, inputProps } from './input'\nimport type { StyleValue } from 'vue'\n\ntype TargetElement = HTMLInputElement | HTMLTextAreaElement\nconst PENDANT_MAP = {\n suffix: 'append',\n prefix: 'prepend',\n} as const\n\ndefineOptions({\n name: 'ElInput',\n inheritAttrs: false,\n})\nconst props = defineProps(inputProps)\nconst emit = defineEmits(inputEmits)\n\nconst instance = getCurrentInstance()!\nconst rawAttrs = useRawAttrs()\nconst slots = useSlots()\n\nconst containerAttrs = computed(() => {\n const comboBoxAttrs: Record<string, unknown> = {}\n if (props.containerRole === 'combobox') {\n comboBoxAttrs['aria-haspopup'] = rawAttrs['aria-haspopup']\n comboBoxAttrs['aria-owns'] = rawAttrs['aria-owns']\n comboBoxAttrs['aria-expanded'] = rawAttrs['aria-expanded']\n }\n return comboBoxAttrs\n})\n\nconst attrs = useAttrs({\n excludeKeys: computed<string[]>(() => {\n return Object.keys(containerAttrs.value)\n }),\n})\nconst { form, formItem } = useFormItem()\nconst { inputId } = useFormItemInputId(props, {\n formItemContext: formItem,\n})\nconst inputSize = useSize()\nconst inputDisabled = useDisabled()\nconst nsInput = useNamespace('input')\nconst nsTextarea = useNamespace('textarea')\n\nconst input = shallowRef<HTMLInputElement>()\nconst textarea = shallowRef<HTMLTextAreaElement>()\n\nconst focused = ref(false)\nconst hovering = ref(false)\nconst isComposing = ref(false)\nconst passwordVisible = ref(false)\nconst countStyle = ref<StyleValue>()\nconst textareaCalcStyle = shallowRef(props.inputStyle)\n\nconst _ref = computed(() => input.value || textarea.value)\n\nconst needStatusIcon = computed(() => form?.statusIcon ?? false)\nconst validateState = computed(() => formItem?.validateState || '')\nconst validateIcon = computed(\n () => validateState.value && ValidateComponentsMap[validateState.value]\n)\nconst passwordIcon = computed(() =>\n passwordVisible.value ? IconView : IconHide\n)\nconst containerStyle = computed<StyleValue>(() => [\n rawAttrs.style as StyleValue,\n props.inputStyle,\n])\nconst textareaStyle = computed<StyleValue>(() => [\n props.inputStyle,\n textareaCalcStyle.value,\n { resize: props.resize },\n])\nconst nativeInputValue = computed(() =>\n isNil(props.modelValue) ? '' : String(props.modelValue)\n)\nconst showClear = computed(\n () =>\n props.clearable &&\n !inputDisabled.value &&\n !props.readonly &&\n !!nativeInputValue.value &&\n (focused.value || hovering.value)\n)\nconst showPwdVisible = computed(\n () =>\n props.showPassword &&\n !inputDisabled.value &&\n !props.readonly &&\n !!nativeInputValue.value &&\n (!!nativeInputValue.value || focused.value)\n)\nconst isWordLimitVisible = computed(\n () =>\n props.showWordLimit &&\n !!attrs.value.maxlength &&\n (props.type === 'text' || props.type === 'textarea') &&\n !inputDisabled.value &&\n !props.readonly &&\n !props.showPassword\n)\nconst textLength = computed(() => Array.from(nativeInputValue.value).length)\nconst inputExceed = computed(\n () =>\n // show exceed style if length of initial value greater then maxlength\n !!isWordLimitVisible.value &&\n textLength.value > Number(attrs.value.maxlength)\n)\nconst suffixVisible = computed(\n () =>\n !!slots.suffix ||\n !!props.suffixIcon ||\n showClear.value ||\n props.showPassword ||\n isWordLimitVisible.value ||\n (!!validateState.value && needStatusIcon.value)\n)\n\nconst [recordCursor, setCursor] = useCursor(input)\n\nuseResizeObserver(textarea, (entries) => {\n if (!isWordLimitVisible.value || props.resize !== 'both') return\n const entry = entries[0]\n const { width } = entry.contentRect\n countStyle.value = {\n /** right: 100% - width + padding(15) + right(6) */\n right: `calc(100% - ${width + 15 + 6}px)`,\n }\n})\n\nconst resizeTextarea = () => {\n const { type, autosize } = props\n\n if (!isClient || type !== 'textarea') return\n\n if (autosize) {\n const minRows = isObject(autosize) ? autosize.minRows : undefined\n const maxRows = isObject(autosize) ? autosize.maxRows : undefined\n textareaCalcStyle.value = {\n ...calcTextareaHeight(textarea.value!, minRows, maxRows),\n }\n } else {\n textareaCalcStyle.value = {\n minHeight: calcTextareaHeight(textarea.value!).minHeight,\n }\n }\n}\n\nconst setNativeInputValue = () => {\n const input = _ref.value\n if (!input || input.value === nativeInputValue.value) return\n input.value = nativeInputValue.value\n}\n\nconst calcIconOffset = (place: 'prefix' | 'suffix') => {\n const { el } = instance.vnode\n if (!el) return\n const elList = Array.from(\n (el as Element).querySelectorAll<HTMLSpanElement>(`.${nsInput.e(place)}`)\n )\n const target = elList.find((item) => item.parentNode === el)\n if (!target) return\n\n const pendant = PENDANT_MAP[place]\n\n if (slots[pendant]) {\n target.style.transform = `translateX(${place === 'suffix' ? '-' : ''}${\n el.querySelector(`.${nsInput.be('group', pendant)}`).offsetWidth\n }px)`\n } else {\n target.removeAttribute('style')\n }\n}\n\nconst updateIconOffset = () => {\n calcIconOffset('prefix')\n calcIconOffset('suffix')\n}\n\nconst handleInput = async (event: Event) => {\n recordCursor()\n\n let { value } = event.target as TargetElement\n\n if (props.formatter) {\n value = props.parser ? props.parser(value) : value\n value = props.formatter(value)\n }\n\n // should not emit input during composition\n // see: https://github.com/ElemeFE/element/issues/10516\n if (isComposing.value) return\n\n // hack for https://github.com/ElemeFE/element/issues/8548\n // should remove the following line when we don't support IE\n if (value === nativeInputValue.value) return\n\n emit(UPDATE_MODEL_EVENT, value)\n emit('input', value)\n\n // ensure native input value is controlled\n // see: https://github.com/ElemeFE/element/issues/12850\n await nextTick()\n setNativeInputValue()\n setCursor()\n}\n\nconst handleChange = (event: Event) => {\n emit('change', (event.target as TargetElement).value)\n}\n\nconst handleCompositionStart = (event: CompositionEvent) => {\n emit('compositionstart', event)\n isComposing.value = true\n}\n\nconst handleCompositionUpdate = (event: CompositionEvent) => {\n emit('compositionupdate', event)\n const text = (event.target as HTMLInputElement)?.value\n const lastCharacter = text[text.length - 1] || ''\n isComposing.value = !isKorean(lastCharacter)\n}\n\nconst handleCompositionEnd = (event: CompositionEvent) => {\n emit('compositionend', event)\n if (isComposing.value) {\n isComposing.value = false\n handleInput(event)\n }\n}\n\nconst handlePasswordVisible = () => {\n passwordVisible.value = !passwordVisible.value\n focus()\n}\n\nconst focus = async () => {\n // see: https://github.com/ElemeFE/element/issues/18573\n await nextTick()\n _ref.value?.focus()\n}\n\nconst blur = () => _ref.value?.blur()\n\nconst handleFocus = (event: FocusEvent) => {\n focused.value = true\n emit('focus', event)\n}\n\nconst handleBlur = (event: FocusEvent) => {\n focused.value = false\n emit('blur', event)\n if (props.validateEvent) {\n formItem?.validate?.('blur').catch((err) => debugWarn(err))\n }\n}\n\nconst handleMouseLeave = (evt: MouseEvent) => {\n hovering.value = false\n emit('mouseleave', evt)\n}\n\nconst handleMouseEnter = (evt: MouseEvent) => {\n hovering.value = true\n emit('mouseenter', evt)\n}\n\nconst handleKeydown = (evt: KeyboardEvent) => {\n emit('keydown', evt)\n}\n\nconst select = () => {\n _ref.value?.select()\n}\n\nconst clear = () => {\n emit(UPDATE_MODEL_EVENT, '')\n emit('change', '')\n emit('clear')\n emit('input', '')\n}\n\nwatch(\n () => props.modelValue,\n () => {\n nextTick(() => resizeTextarea())\n if (props.validateEvent) {\n formItem?.validate?.('change').catch((err) => debugWarn(err))\n }\n }\n)\n\n// native input value is set explicitly\n// do not use v-model / :value in template\n// see: https://github.com/ElemeFE/element/issues/14521\nwatch(nativeInputValue, () => setNativeInputValue())\n\n// when change between <input> and <textarea>,\n// update DOM dependent value and styles\n// https://github.com/ElemeFE/element/issues/14857\nwatch(\n () => props.type,\n async () => {\n await nextTick()\n setNativeInputValue()\n resizeTextarea()\n updateIconOffset()\n }\n)\n\nonMounted(async () => {\n if (!props.formatter && props.parser) {\n debugWarn(\n 'ElInput',\n 'If you set the parser, you also need to set the formatter.'\n )\n }\n setNativeInputValue()\n updateIconOffset()\n await nextTick()\n resizeTextarea()\n})\n\nonUpdated(async () => {\n await nextTick()\n updateIconOffset()\n})\n\ndefineExpose({\n /** @description HTML input element */\n input,\n /** @description HTML textarea element */\n textarea,\n /** @description HTML element, input or textarea */\n ref: _ref,\n /** @description style of textarea. */\n textareaStyle,\n\n /** @description from props (used on unit test) */\n autosize: toRef(props, 'autosize'),\n\n /** @description HTML input element native method */\n focus,\n /** @description HTML input element native method */\n blur,\n /** @description HTML input element native method */\n select,\n /** @description clear input value */\n clear,\n /** @description resize textarea. */\n resizeTextarea,\n})\n</script>\n"],"names":["getCurrentInstance","useRawAttrs","useSlots","computed","useAttrs","useFormItem","useFormItemInputId","useSize","useDisabled","useNamespace","shallowRef","ref","ValidateComponentsMap","IconView","IconHide","isNil","useCursor","useResizeObserver","isClient","isObject","calcTextareaHeight","event","UPDATE_MODEL_EVENT","nextTick","isKorean","debugWarn","watch","onMounted","onUpdated"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqMA,IAAA,MAAA,WAAA,GAAA;AAAA,MACA,MAAA,EAAA,QAAA;AAAA,MACA,MAAA,EAA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;AAAA,KAEA,CAAA,CAAA;AAAA,IACA,MAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"input2.js","sources":["../../../../../../packages/components/input/src/input.vue"],"sourcesContent":["<template>\n <div\n v-show=\"type !== 'hidden'\"\n v-bind=\"containerAttrs\"\n :class=\"[\n type === 'textarea' ? nsTextarea.b() : nsInput.b(),\n nsInput.m(inputSize),\n nsInput.is('disabled', inputDisabled),\n nsInput.is('exceed', inputExceed),\n {\n [nsInput.b('group')]: $slots.prepend || $slots.append,\n [nsInput.bm('group', 'append')]: $slots.append,\n [nsInput.bm('group', 'prepend')]: $slots.prepend,\n [nsInput.m('prefix')]: $slots.prefix || prefixIcon,\n [nsInput.m('suffix')]:\n $slots.suffix || suffixIcon || clearable || showPassword,\n [nsInput.bm('suffix', 'password-clear')]: showClear && showPwdVisible,\n },\n $attrs.class,\n ]\"\n :style=\"containerStyle\"\n :role=\"containerRole\"\n @mouseenter=\"handleMouseEnter\"\n @mouseleave=\"handleMouseLeave\"\n >\n <!-- input -->\n <template v-if=\"type !== 'textarea'\">\n <!-- prepend slot -->\n <div v-if=\"$slots.prepend\" :class=\"nsInput.be('group', 'prepend')\">\n <slot name=\"prepend\" />\n </div>\n\n <div :class=\"[nsInput.e('wrapper'), nsInput.is('focus', focused)]\">\n <!-- prefix slot -->\n <span v-if=\"$slots.prefix || prefixIcon\" :class=\"nsInput.e('prefix')\">\n <span :class=\"nsInput.e('prefix-inner')\">\n <slot name=\"prefix\" />\n <el-icon v-if=\"prefixIcon\" :class=\"nsInput.e('icon')\">\n <component :is=\"prefixIcon\" />\n </el-icon>\n </span>\n </span>\n\n <input\n :id=\"inputId\"\n ref=\"input\"\n :class=\"nsInput.e('inner')\"\n v-bind=\"attrs\"\n :type=\"showPassword ? (passwordVisible ? 'text' : 'password') : type\"\n :disabled=\"inputDisabled\"\n :formatter=\"formatter\"\n :parser=\"parser\"\n :readonly=\"readonly\"\n :autocomplete=\"autocomplete\"\n :tabindex=\"tabindex\"\n :aria-label=\"label\"\n :placeholder=\"placeholder\"\n :style=\"inputStyle\"\n @compositionstart=\"handleCompositionStart\"\n @compositionupdate=\"handleCompositionUpdate\"\n @compositionend=\"handleCompositionEnd\"\n @input=\"handleInput\"\n @focus=\"handleFocus\"\n @blur=\"handleBlur\"\n @change=\"handleChange\"\n @keydown=\"handleKeydown\"\n />\n\n <!-- suffix slot -->\n <span v-if=\"suffixVisible\" :class=\"nsInput.e('suffix')\">\n <span :class=\"nsInput.e('suffix-inner')\">\n <template\n v-if=\"!showClear || !showPwdVisible || !isWordLimitVisible\"\n >\n <slot name=\"suffix\" />\n <el-icon v-if=\"suffixIcon\" :class=\"nsInput.e('icon')\">\n <component :is=\"suffixIcon\" />\n </el-icon>\n </template>\n <el-icon\n v-if=\"showClear\"\n :class=\"[nsInput.e('icon'), nsInput.e('clear')]\"\n @mousedown.prevent=\"NOOP\"\n @click=\"clear\"\n >\n <circle-close />\n </el-icon>\n <el-icon\n v-if=\"showPwdVisible\"\n :class=\"[nsInput.e('icon'), nsInput.e('password')]\"\n @click=\"handlePasswordVisible\"\n >\n <component :is=\"passwordIcon\" />\n </el-icon>\n <span v-if=\"isWordLimitVisible\" :class=\"nsInput.e('count')\">\n <span :class=\"nsInput.e('count-inner')\">\n {{ textLength }} / {{ attrs.maxlength }}\n </span>\n </span>\n <el-icon\n v-if=\"validateState && validateIcon && needStatusIcon\"\n :class=\"[\n nsInput.e('icon'),\n nsInput.e('validateIcon'),\n nsInput.is('loading', validateState === 'validating'),\n ]\"\n >\n <component :is=\"validateIcon\" />\n </el-icon>\n </span>\n </span>\n </div>\n\n <!-- append slot -->\n <div v-if=\"$slots.append\" :class=\"nsInput.be('group', 'append')\">\n <slot name=\"append\" />\n </div>\n </template>\n\n <!-- textarea -->\n <template v-else>\n <textarea\n :id=\"inputId\"\n ref=\"textarea\"\n :class=\"nsTextarea.e('inner')\"\n v-bind=\"attrs\"\n :tabindex=\"tabindex\"\n :disabled=\"inputDisabled\"\n :readonly=\"readonly\"\n :autocomplete=\"autocomplete\"\n :style=\"textareaStyle\"\n :aria-label=\"label\"\n :placeholder=\"placeholder\"\n @compositionstart=\"handleCompositionStart\"\n @compositionupdate=\"handleCompositionUpdate\"\n @compositionend=\"handleCompositionEnd\"\n @input=\"handleInput\"\n @focus=\"handleFocus\"\n @blur=\"handleBlur\"\n @change=\"handleChange\"\n @keydown=\"handleKeydown\"\n />\n <span\n v-if=\"isWordLimitVisible\"\n :style=\"countStyle\"\n :class=\"nsInput.e('count')\"\n >\n {{ textLength }} / {{ attrs.maxlength }}\n </span>\n </template>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport {\n computed,\n getCurrentInstance,\n nextTick,\n onMounted,\n onUpdated,\n ref,\n shallowRef,\n toRef,\n useAttrs as useRawAttrs,\n useSlots,\n watch,\n} from 'vue'\nimport { isClient, useResizeObserver } from '@vueuse/core'\nimport { isNil } from 'lodash-unified'\nimport { ElIcon } from '@element-plus/components/icon'\nimport {\n CircleClose,\n Hide as IconHide,\n View as IconView,\n} from '@element-plus/icons-vue'\nimport {\n NOOP,\n ValidateComponentsMap,\n debugWarn,\n isKorean,\n isObject,\n} from '@element-plus/utils'\nimport {\n useAttrs,\n useCursor,\n useDisabled,\n useFormItem,\n useFormItemInputId,\n useNamespace,\n useSize,\n} from '@element-plus/hooks'\nimport { UPDATE_MODEL_EVENT } from '@element-plus/constants'\nimport { calcTextareaHeight } from './utils'\nimport { inputEmits, inputProps } from './input'\nimport type { StyleValue } from 'vue'\n\ntype TargetElement = HTMLInputElement | HTMLTextAreaElement\nconst PENDANT_MAP = {\n suffix: 'append',\n prefix: 'prepend',\n} as const\n\ndefineOptions({\n name: 'ElInput',\n inheritAttrs: false,\n})\nconst props = defineProps(inputProps)\nconst emit = defineEmits(inputEmits)\n\nconst instance = getCurrentInstance()!\nconst rawAttrs = useRawAttrs()\nconst slots = useSlots()\n\nconst containerAttrs = computed(() => {\n const comboBoxAttrs: Record<string, unknown> = {}\n if (props.containerRole === 'combobox') {\n comboBoxAttrs['aria-haspopup'] = rawAttrs['aria-haspopup']\n comboBoxAttrs['aria-owns'] = rawAttrs['aria-owns']\n comboBoxAttrs['aria-expanded'] = rawAttrs['aria-expanded']\n }\n return comboBoxAttrs\n})\n\nconst attrs = useAttrs({\n excludeKeys: computed<string[]>(() => {\n return Object.keys(containerAttrs.value)\n }),\n})\nconst { form, formItem } = useFormItem()\nconst { inputId } = useFormItemInputId(props, {\n formItemContext: formItem,\n})\nconst inputSize = useSize()\nconst inputDisabled = useDisabled()\nconst nsInput = useNamespace('input')\nconst nsTextarea = useNamespace('textarea')\n\nconst input = shallowRef<HTMLInputElement>()\nconst textarea = shallowRef<HTMLTextAreaElement>()\n\nconst focused = ref(false)\nconst hovering = ref(false)\nconst isComposing = ref(false)\nconst passwordVisible = ref(false)\nconst countStyle = ref<StyleValue>()\nconst textareaCalcStyle = shallowRef(props.inputStyle)\n\nconst _ref = computed(() => input.value || textarea.value)\n\nconst needStatusIcon = computed(() => form?.statusIcon ?? false)\nconst validateState = computed(() => formItem?.validateState || '')\nconst validateIcon = computed(\n () => validateState.value && ValidateComponentsMap[validateState.value]\n)\nconst passwordIcon = computed(() =>\n passwordVisible.value ? IconView : IconHide\n)\nconst containerStyle = computed<StyleValue>(() => [\n rawAttrs.style as StyleValue,\n props.inputStyle,\n])\nconst textareaStyle = computed<StyleValue>(() => [\n props.inputStyle,\n textareaCalcStyle.value,\n { resize: props.resize },\n])\nconst nativeInputValue = computed(() =>\n isNil(props.modelValue) ? '' : String(props.modelValue)\n)\nconst showClear = computed(\n () =>\n props.clearable &&\n !inputDisabled.value &&\n !props.readonly &&\n !!nativeInputValue.value &&\n (focused.value || hovering.value)\n)\nconst showPwdVisible = computed(\n () =>\n props.showPassword &&\n !inputDisabled.value &&\n !props.readonly &&\n !!nativeInputValue.value &&\n (!!nativeInputValue.value || focused.value)\n)\nconst isWordLimitVisible = computed(\n () =>\n props.showWordLimit &&\n !!attrs.value.maxlength &&\n (props.type === 'text' || props.type === 'textarea') &&\n !inputDisabled.value &&\n !props.readonly &&\n !props.showPassword\n)\nconst textLength = computed(() => Array.from(nativeInputValue.value).length)\nconst inputExceed = computed(\n () =>\n // show exceed style if length of initial value greater then maxlength\n !!isWordLimitVisible.value &&\n textLength.value > Number(attrs.value.maxlength)\n)\nconst suffixVisible = computed(\n () =>\n !!slots.suffix ||\n !!props.suffixIcon ||\n showClear.value ||\n props.showPassword ||\n isWordLimitVisible.value ||\n (!!validateState.value && needStatusIcon.value)\n)\n\nconst [recordCursor, setCursor] = useCursor(input)\n\nuseResizeObserver(textarea, (entries) => {\n if (!isWordLimitVisible.value || props.resize !== 'both') return\n const entry = entries[0]\n const { width } = entry.contentRect\n countStyle.value = {\n /** right: 100% - width + padding(15) + right(6) */\n right: `calc(100% - ${width + 15 + 6}px)`,\n }\n})\n\nconst resizeTextarea = () => {\n const { type, autosize } = props\n\n if (!isClient || type !== 'textarea') return\n\n if (autosize) {\n const minRows = isObject(autosize) ? autosize.minRows : undefined\n const maxRows = isObject(autosize) ? autosize.maxRows : undefined\n textareaCalcStyle.value = {\n ...calcTextareaHeight(textarea.value!, minRows, maxRows),\n }\n } else {\n textareaCalcStyle.value = {\n minHeight: calcTextareaHeight(textarea.value!).minHeight,\n }\n }\n}\n\nconst setNativeInputValue = () => {\n const input = _ref.value\n if (!input || input.value === nativeInputValue.value) return\n input.value = nativeInputValue.value\n}\n\nconst calcIconOffset = (place: 'prefix' | 'suffix') => {\n const { el } = instance.vnode\n if (!el) return\n const elList = Array.from(\n (el as Element).querySelectorAll<HTMLSpanElement>(`.${nsInput.e(place)}`)\n )\n const target = elList.find((item) => item.parentNode === el)\n if (!target) return\n\n const pendant = PENDANT_MAP[place]\n\n if (slots[pendant]) {\n target.style.transform = `translateX(${place === 'suffix' ? '-' : ''}${\n el.querySelector(`.${nsInput.be('group', pendant)}`).offsetWidth\n }px)`\n } else {\n target.removeAttribute('style')\n }\n}\n\nconst updateIconOffset = () => {\n calcIconOffset('prefix')\n calcIconOffset('suffix')\n}\n\nconst handleInput = async (event: Event) => {\n recordCursor()\n\n let { value } = event.target as TargetElement\n\n if (props.formatter) {\n value = props.parser ? props.parser(value) : value\n value = props.formatter(value)\n }\n\n // should not emit input during composition\n // see: https://github.com/ElemeFE/element/issues/10516\n if (isComposing.value) return\n\n // hack for https://github.com/ElemeFE/element/issues/8548\n // should remove the following line when we don't support IE\n if (value === nativeInputValue.value) {\n setNativeInputValue()\n return\n }\n\n emit(UPDATE_MODEL_EVENT, value)\n emit('input', value)\n\n // ensure native input value is controlled\n // see: https://github.com/ElemeFE/element/issues/12850\n await nextTick()\n setNativeInputValue()\n setCursor()\n}\n\nconst handleChange = (event: Event) => {\n emit('change', (event.target as TargetElement).value)\n}\n\nconst handleCompositionStart = (event: CompositionEvent) => {\n emit('compositionstart', event)\n isComposing.value = true\n}\n\nconst handleCompositionUpdate = (event: CompositionEvent) => {\n emit('compositionupdate', event)\n const text = (event.target as HTMLInputElement)?.value\n const lastCharacter = text[text.length - 1] || ''\n isComposing.value = !isKorean(lastCharacter)\n}\n\nconst handleCompositionEnd = (event: CompositionEvent) => {\n emit('compositionend', event)\n if (isComposing.value) {\n isComposing.value = false\n handleInput(event)\n }\n}\n\nconst handlePasswordVisible = () => {\n passwordVisible.value = !passwordVisible.value\n focus()\n}\n\nconst focus = async () => {\n // see: https://github.com/ElemeFE/element/issues/18573\n await nextTick()\n _ref.value?.focus()\n}\n\nconst blur = () => _ref.value?.blur()\n\nconst handleFocus = (event: FocusEvent) => {\n focused.value = true\n emit('focus', event)\n}\n\nconst handleBlur = (event: FocusEvent) => {\n focused.value = false\n emit('blur', event)\n if (props.validateEvent) {\n formItem?.validate?.('blur').catch((err) => debugWarn(err))\n }\n}\n\nconst handleMouseLeave = (evt: MouseEvent) => {\n hovering.value = false\n emit('mouseleave', evt)\n}\n\nconst handleMouseEnter = (evt: MouseEvent) => {\n hovering.value = true\n emit('mouseenter', evt)\n}\n\nconst handleKeydown = (evt: KeyboardEvent) => {\n emit('keydown', evt)\n}\n\nconst select = () => {\n _ref.value?.select()\n}\n\nconst clear = () => {\n emit(UPDATE_MODEL_EVENT, '')\n emit('change', '')\n emit('clear')\n emit('input', '')\n}\n\nwatch(\n () => props.modelValue,\n () => {\n nextTick(() => resizeTextarea())\n if (props.validateEvent) {\n formItem?.validate?.('change').catch((err) => debugWarn(err))\n }\n }\n)\n\n// native input value is set explicitly\n// do not use v-model / :value in template\n// see: https://github.com/ElemeFE/element/issues/14521\nwatch(nativeInputValue, () => setNativeInputValue())\n\n// when change between <input> and <textarea>,\n// update DOM dependent value and styles\n// https://github.com/ElemeFE/element/issues/14857\nwatch(\n () => props.type,\n async () => {\n await nextTick()\n setNativeInputValue()\n resizeTextarea()\n updateIconOffset()\n }\n)\n\nonMounted(async () => {\n if (!props.formatter && props.parser) {\n debugWarn(\n 'ElInput',\n 'If you set the parser, you also need to set the formatter.'\n )\n }\n setNativeInputValue()\n updateIconOffset()\n await nextTick()\n resizeTextarea()\n})\n\nonUpdated(async () => {\n await nextTick()\n updateIconOffset()\n})\n\ndefineExpose({\n /** @description HTML input element */\n input,\n /** @description HTML textarea element */\n textarea,\n /** @description HTML element, input or textarea */\n ref: _ref,\n /** @description style of textarea. */\n textareaStyle,\n\n /** @description from props (used on unit test) */\n autosize: toRef(props, 'autosize'),\n\n /** @description HTML input element native method */\n focus,\n /** @description HTML input element native method */\n blur,\n /** @description HTML input element native method */\n select,\n /** @description clear input value */\n clear,\n /** @description resize textarea. */\n resizeTextarea,\n})\n</script>\n"],"names":["getCurrentInstance","useRawAttrs","useSlots","computed","useAttrs","useFormItem","useFormItemInputId","useSize","useDisabled","useNamespace","shallowRef","ref","ValidateComponentsMap","IconView","IconHide","isNil","useCursor","useResizeObserver","isClient","isObject","calcTextareaHeight","event","UPDATE_MODEL_EVENT","nextTick","isKorean","debugWarn","watch","onMounted","onUpdated"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqMA,IAAA,MAAA,WAAA,GAAA;AAAA,MACA,MAAA,EAAA,QAAA;AAAA,MACA,MAAA,EAAA,SAAA;AAAA,KACA,CAAA;AASA,IAAA,MAAA,WAAAA,sBAAA,EAAA,CAAA;AACA,IAAA,MAAA,WAAAC,YAAA,EAAA,CAAA;AACA,IAAA,MAAA,QAAAC,YAAA,EAAA,CAAA;AAEA,IAAA,MAAA,cAAA,GAAAC,aAAA,MAAA;AACA,MAAA,MAAA,gBAAA,EAAA,CAAA;AACA,MAAA,IAAA,KAAA,CAAA,kBAAA,UAAA,EAAA;AACA,QAAA,aAAA,CAAA,mBAAA,QAAA,CAAA,eAAA,CAAA,CAAA;AACA,QAAA,aAAA,CAAA,eAAA,QAAA,CAAA,WAAA,CAAA,CAAA;AACA,QAAA,aAAA,CAAA,mBAAA,QAAA,CAAA,eAAA,CAAA,CAAA;AAAA,OACA;AACA,MAAA,OAAA,aAAA,CAAA;AAAA,KACA,CAAA,CAAA;AAEA,IAAA,MAAA,QAAAC,cAAA,CAAA;AAAA,MACA,WAAA,EAAAD,aAAA,MAAA;AACA,QAAA,OAAA,MAAA,CAAA,IAAA,CAAA,cAAA,CAAA,KAAA,CAAA,CAAA;AAAA,OACA,CAAA;AAAA,KACA,CAAA,CAAA;AACA,IAAA,MAAA,EAAA,IAAA,EAAA,QAAA,EAAA,GAAAE,mBAAA,EAAA,CAAA;AACA,IAAA,MAAA,EAAA,OAAA,EAAA,GAAAC,0BAAA,CAAA,KAAA,EAAA;AAAA,MACA,eAAA,EAAA,QAAA;AAAA,KACA,CAAA,CAAA;AACA,IAAA,MAAA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AAA,KAAA,CAAA,MAAA,EAAA;AAEA,QAAAF,eAAA,CAAA,SAAA,EAAA,4DAAA,CAAA,CAAA;AAAA,OAEA;AAAA,MAEA,mBAAA,EAAA,CAAA;AAAA,MAEA,gBAAA,EAAA,CAAA;AAAA,MAEA,MAAAF,YAAA,EAAA,CAAA;AAAA,MAGA,cAAA,EAAA,CAAA;AAAA,KAGA,CAAA,CAAA;AAAA,IAEAK,aAAA,CAAA,YAAA;AAAA,MAEA,MAAAL,YAAA,EAAA,CAAA;AAAA,MAEA,gBAAA,EAAA,CAAA;AAAA,KAEA,CAAA,CAAA;AAAA,IACA,MAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -5,6 +5,7 @@ export declare const ElInputNumber: import("element-plus/es/utils").SFCWithInsta
|
|
|
5
5
|
readonly max: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
6
6
|
readonly min: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
7
7
|
readonly modelValue: NumberConstructor;
|
|
8
|
+
readonly readonly: BooleanConstructor;
|
|
8
9
|
readonly disabled: BooleanConstructor;
|
|
9
10
|
readonly size: {
|
|
10
11
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
@@ -33,6 +34,7 @@ export declare const ElInputNumber: import("element-plus/es/utils").SFCWithInsta
|
|
|
33
34
|
readonly max: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
34
35
|
readonly min: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
35
36
|
readonly modelValue: NumberConstructor;
|
|
37
|
+
readonly readonly: BooleanConstructor;
|
|
36
38
|
readonly disabled: BooleanConstructor;
|
|
37
39
|
readonly size: {
|
|
38
40
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
@@ -63,7 +65,7 @@ export declare const ElInputNumber: import("element-plus/es/utils").SFCWithInsta
|
|
|
63
65
|
emit: ((event: "update:modelValue", val: number | undefined) => void) & ((event: "change", prev: number | undefined, cur: number | undefined) => void) & ((event: "input", val: number | null | undefined) => void) & ((event: "focus", e: FocusEvent) => void) & ((event: "blur", e: FocusEvent) => void);
|
|
64
66
|
t: import("../..").Translator;
|
|
65
67
|
ns: {
|
|
66
|
-
namespace: import("vue").
|
|
68
|
+
namespace: import("vue").Ref<string>;
|
|
67
69
|
b: (blockSuffix?: string) => string;
|
|
68
70
|
e: (element?: string | undefined) => string;
|
|
69
71
|
m: (modifier?: string | undefined) => string;
|
|
@@ -352,7 +354,7 @@ export declare const ElInputNumber: import("element-plus/es/utils").SFCWithInsta
|
|
|
352
354
|
inputSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
353
355
|
inputDisabled: import("vue").ComputedRef<boolean>;
|
|
354
356
|
nsInput: {
|
|
355
|
-
namespace: import("vue").
|
|
357
|
+
namespace: import("vue").Ref<string>;
|
|
356
358
|
b: (blockSuffix?: string) => string;
|
|
357
359
|
e: (element?: string | undefined) => string;
|
|
358
360
|
m: (modifier?: string | undefined) => string;
|
|
@@ -370,7 +372,7 @@ export declare const ElInputNumber: import("element-plus/es/utils").SFCWithInsta
|
|
|
370
372
|
cssVarBlockName: (name: string) => string;
|
|
371
373
|
};
|
|
372
374
|
nsTextarea: {
|
|
373
|
-
namespace: import("vue").
|
|
375
|
+
namespace: import("vue").Ref<string>;
|
|
374
376
|
b: (blockSuffix?: string) => string;
|
|
375
377
|
e: (element?: string | undefined) => string;
|
|
376
378
|
m: (modifier?: string | undefined) => string;
|
|
@@ -461,7 +463,7 @@ export declare const ElInputNumber: import("element-plus/es/utils").SFCWithInsta
|
|
|
461
463
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
462
464
|
}>>;
|
|
463
465
|
ns: {
|
|
464
|
-
namespace: import("vue").
|
|
466
|
+
namespace: import("vue").Ref<string>;
|
|
465
467
|
b: (blockSuffix?: string) => string;
|
|
466
468
|
e: (element?: string | undefined) => string;
|
|
467
469
|
m: (modifier?: string | undefined) => string;
|
|
@@ -711,7 +713,7 @@ export declare const ElInputNumber: import("element-plus/es/utils").SFCWithInsta
|
|
|
711
713
|
inputSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
712
714
|
inputDisabled: import("vue").ComputedRef<boolean>;
|
|
713
715
|
nsInput: {
|
|
714
|
-
namespace: import("vue").
|
|
716
|
+
namespace: import("vue").Ref<string>;
|
|
715
717
|
b: (blockSuffix?: string) => string;
|
|
716
718
|
e: (element?: string | undefined) => string;
|
|
717
719
|
m: (modifier?: string | undefined) => string;
|
|
@@ -729,7 +731,7 @@ export declare const ElInputNumber: import("element-plus/es/utils").SFCWithInsta
|
|
|
729
731
|
cssVarBlockName: (name: string) => string;
|
|
730
732
|
};
|
|
731
733
|
nsTextarea: {
|
|
732
|
-
namespace: import("vue").
|
|
734
|
+
namespace: import("vue").Ref<string>;
|
|
733
735
|
b: (blockSuffix?: string) => string;
|
|
734
736
|
e: (element?: string | undefined) => string;
|
|
735
737
|
m: (modifier?: string | undefined) => string;
|
|
@@ -820,7 +822,7 @@ export declare const ElInputNumber: import("element-plus/es/utils").SFCWithInsta
|
|
|
820
822
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
821
823
|
}>>;
|
|
822
824
|
ns: {
|
|
823
|
-
namespace: import("vue").
|
|
825
|
+
namespace: import("vue").Ref<string>;
|
|
824
826
|
b: (blockSuffix?: string) => string;
|
|
825
827
|
e: (element?: string | undefined) => string;
|
|
826
828
|
m: (modifier?: string | undefined) => string;
|
|
@@ -1033,7 +1035,7 @@ export declare const ElInputNumber: import("element-plus/es/utils").SFCWithInsta
|
|
|
1033
1035
|
inputSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
1034
1036
|
inputDisabled: import("vue").ComputedRef<boolean>;
|
|
1035
1037
|
nsInput: {
|
|
1036
|
-
namespace: import("vue").
|
|
1038
|
+
namespace: import("vue").Ref<string>;
|
|
1037
1039
|
b: (blockSuffix?: string) => string;
|
|
1038
1040
|
e: (element?: string | undefined) => string;
|
|
1039
1041
|
m: (modifier?: string | undefined) => string;
|
|
@@ -1051,7 +1053,7 @@ export declare const ElInputNumber: import("element-plus/es/utils").SFCWithInsta
|
|
|
1051
1053
|
cssVarBlockName: (name: string) => string;
|
|
1052
1054
|
};
|
|
1053
1055
|
nsTextarea: {
|
|
1054
|
-
namespace: import("vue").
|
|
1056
|
+
namespace: import("vue").Ref<string>;
|
|
1055
1057
|
b: (blockSuffix?: string) => string;
|
|
1056
1058
|
e: (element?: string | undefined) => string;
|
|
1057
1059
|
m: (modifier?: string | undefined) => string;
|
|
@@ -1142,7 +1144,7 @@ export declare const ElInputNumber: import("element-plus/es/utils").SFCWithInsta
|
|
|
1142
1144
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
1143
1145
|
}>>;
|
|
1144
1146
|
ns: {
|
|
1145
|
-
namespace: import("vue").
|
|
1147
|
+
namespace: import("vue").Ref<string>;
|
|
1146
1148
|
b: (blockSuffix?: string) => string;
|
|
1147
1149
|
e: (element?: string | undefined) => string;
|
|
1148
1150
|
m: (modifier?: string | undefined) => string;
|
|
@@ -1310,7 +1312,7 @@ export declare const ElInputNumber: import("element-plus/es/utils").SFCWithInsta
|
|
|
1310
1312
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
1311
1313
|
}>>;
|
|
1312
1314
|
ns: {
|
|
1313
|
-
namespace: import("vue").
|
|
1315
|
+
namespace: import("vue").Ref<string>;
|
|
1314
1316
|
b: (blockSuffix?: string) => string;
|
|
1315
1317
|
e: (element?: string | undefined) => string;
|
|
1316
1318
|
m: (modifier?: string | undefined) => string;
|
|
@@ -1360,6 +1362,7 @@ export declare const ElInputNumber: import("element-plus/es/utils").SFCWithInsta
|
|
|
1360
1362
|
readonly max: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
1361
1363
|
readonly min: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
1362
1364
|
readonly modelValue: NumberConstructor;
|
|
1365
|
+
readonly readonly: BooleanConstructor;
|
|
1363
1366
|
readonly disabled: BooleanConstructor;
|
|
1364
1367
|
readonly size: {
|
|
1365
1368
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
@@ -1393,6 +1396,7 @@ export declare const ElInputNumber: import("element-plus/es/utils").SFCWithInsta
|
|
|
1393
1396
|
readonly min: number;
|
|
1394
1397
|
readonly max: number;
|
|
1395
1398
|
readonly step: number;
|
|
1399
|
+
readonly readonly: boolean;
|
|
1396
1400
|
readonly controls: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1397
1401
|
readonly controlsPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "right", unknown>;
|
|
1398
1402
|
readonly valueOnClear: any;
|
|
@@ -7,6 +7,7 @@ export declare const inputNumberProps: {
|
|
|
7
7
|
readonly max: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
8
8
|
readonly min: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
9
9
|
readonly modelValue: NumberConstructor;
|
|
10
|
+
readonly readonly: BooleanConstructor;
|
|
10
11
|
readonly disabled: BooleanConstructor;
|
|
11
12
|
readonly size: {
|
|
12
13
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-number.js","sources":["../../../../../../packages/components/input-number/src/input-number.ts"],"sourcesContent":["import { isNil } from 'lodash-unified'\nimport { useSizeProp } from '@element-plus/hooks'\nimport { buildProps, isNumber } from '@element-plus/utils'\nimport {\n CHANGE_EVENT,\n INPUT_EVENT,\n UPDATE_MODEL_EVENT,\n} from '@element-plus/constants'\nimport type { ExtractPropTypes } from 'vue'\nimport type InputNumber from './input-number.vue'\n\nexport const inputNumberProps = buildProps({\n id: {\n type: String,\n default: undefined,\n },\n step: {\n type: Number,\n default: 1,\n },\n stepStrictly: Boolean,\n max: {\n type: Number,\n default: Number.POSITIVE_INFINITY,\n },\n min: {\n type: Number,\n default: Number.NEGATIVE_INFINITY,\n },\n modelValue: Number,\n disabled: Boolean,\n size: useSizeProp,\n controls: {\n type: Boolean,\n default: true,\n },\n controlsPosition: {\n type: String,\n default: '',\n values: ['', 'right'],\n },\n valueOnClear: {\n type: [String, Number, null],\n validator: (val: 'min' | 'max' | number | null) =>\n val === null || isNumber(val) || ['min', 'max'].includes(val),\n default: null,\n },\n name: String,\n label: String,\n placeholder: String,\n precision: {\n type: Number,\n validator: (val: number) =>\n val >= 0 && val === Number.parseInt(`${val}`, 10),\n },\n validateEvent: {\n type: Boolean,\n default: true,\n },\n} as const)\nexport type InputNumberProps = ExtractPropTypes<typeof inputNumberProps>\n\nexport const inputNumberEmits = {\n [CHANGE_EVENT]: (prev: number | undefined, cur: number | undefined) =>\n prev !== cur,\n blur: (e: FocusEvent) => e instanceof FocusEvent,\n focus: (e: FocusEvent) => e instanceof FocusEvent,\n [INPUT_EVENT]: (val: number | null | undefined) =>\n isNumber(val) || isNil(val),\n [UPDATE_MODEL_EVENT]: (val: number | undefined) =>\n isNumber(val) || isNil(val),\n}\nexport type InputNumberEmits = typeof inputNumberEmits\n\nexport type InputNumberInstance = InstanceType<typeof InputNumber>\n"],"names":["buildProps","useSizeProp","isNumber","CHANGE_EVENT","INPUT_EVENT","isNil","UPDATE_MODEL_EVENT"],"mappings":";;;;;;;;;;;;;AAQY,MAAC,gBAAgB,GAAGA,kBAAU,CAAC;AAC3C,EAAE,EAAE,EAAE;AACN,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,KAAK,CAAC;AACnB,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,YAAY,EAAE,OAAO;AACvB,EAAE,GAAG,EAAE;AACP,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,MAAM,CAAC,iBAAiB;AACrC,GAAG;AACH,EAAE,GAAG,EAAE;AACP,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,MAAM,CAAC,iBAAiB;AACrC,GAAG;AACH,EAAE,UAAU,EAAE,MAAM;AACpB,EAAE,QAAQ,EAAE,OAAO;AACnB,EAAE,IAAI,EAAEC,iBAAW;AACnB,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,gBAAgB,EAAE;AACpB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,IAAI,MAAM,EAAE,CAAC,EAAE,EAAE,OAAO,CAAC;AACzB,GAAG;AACH,EAAE,YAAY,EAAE;AAChB,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,CAAC;AAChC,IAAI,SAAS,EAAE,CAAC,GAAG,KAAK,GAAG,KAAK,IAAI,IAAIC,aAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC;AACrF,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,IAAI,EAAE,MAAM;AACd,EAAE,KAAK,EAAE,MAAM;AACf,EAAE,WAAW,EAAE,MAAM;AACrB,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,SAAS,EAAE,CAAC,GAAG,KAAK,GAAG,IAAI,CAAC,IAAI,GAAG,KAAK,MAAM,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,EAAE,EAAE,CAAC;AACzE,GAAG;AACH,EAAE,aAAa,EAAE;AACjB,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,gBAAgB,GAAG;AAChC,EAAE,CAACC,kBAAY,GAAG,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,KAAK,GAAG;AAC7C,EAAE,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,YAAY,UAAU;AACtC,EAAE,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,YAAY,UAAU;AACvC,EAAE,CAACC,iBAAW,GAAG,CAAC,GAAG,KAAKF,aAAQ,CAAC,GAAG,CAAC,IAAIG,mBAAK,CAAC,GAAG,CAAC;AACrD,EAAE,CAACC,wBAAkB,GAAG,CAAC,GAAG,KAAKJ,aAAQ,CAAC,GAAG,CAAC,IAAIG,mBAAK,CAAC,GAAG,CAAC;AAC5D;;;;;"}
|
|
1
|
+
{"version":3,"file":"input-number.js","sources":["../../../../../../packages/components/input-number/src/input-number.ts"],"sourcesContent":["import { isNil } from 'lodash-unified'\nimport { useSizeProp } from '@element-plus/hooks'\nimport { buildProps, isNumber } from '@element-plus/utils'\nimport {\n CHANGE_EVENT,\n INPUT_EVENT,\n UPDATE_MODEL_EVENT,\n} from '@element-plus/constants'\nimport type { ExtractPropTypes } from 'vue'\nimport type InputNumber from './input-number.vue'\n\nexport const inputNumberProps = buildProps({\n id: {\n type: String,\n default: undefined,\n },\n step: {\n type: Number,\n default: 1,\n },\n stepStrictly: Boolean,\n max: {\n type: Number,\n default: Number.POSITIVE_INFINITY,\n },\n min: {\n type: Number,\n default: Number.NEGATIVE_INFINITY,\n },\n modelValue: Number,\n readonly: Boolean,\n disabled: Boolean,\n size: useSizeProp,\n controls: {\n type: Boolean,\n default: true,\n },\n controlsPosition: {\n type: String,\n default: '',\n values: ['', 'right'],\n },\n valueOnClear: {\n type: [String, Number, null],\n validator: (val: 'min' | 'max' | number | null) =>\n val === null || isNumber(val) || ['min', 'max'].includes(val),\n default: null,\n },\n name: String,\n label: String,\n placeholder: String,\n precision: {\n type: Number,\n validator: (val: number) =>\n val >= 0 && val === Number.parseInt(`${val}`, 10),\n },\n validateEvent: {\n type: Boolean,\n default: true,\n },\n} as const)\nexport type InputNumberProps = ExtractPropTypes<typeof inputNumberProps>\n\nexport const inputNumberEmits = {\n [CHANGE_EVENT]: (prev: number | undefined, cur: number | undefined) =>\n prev !== cur,\n blur: (e: FocusEvent) => e instanceof FocusEvent,\n focus: (e: FocusEvent) => e instanceof FocusEvent,\n [INPUT_EVENT]: (val: number | null | undefined) =>\n isNumber(val) || isNil(val),\n [UPDATE_MODEL_EVENT]: (val: number | undefined) =>\n isNumber(val) || isNil(val),\n}\nexport type InputNumberEmits = typeof inputNumberEmits\n\nexport type InputNumberInstance = InstanceType<typeof InputNumber>\n"],"names":["buildProps","useSizeProp","isNumber","CHANGE_EVENT","INPUT_EVENT","isNil","UPDATE_MODEL_EVENT"],"mappings":";;;;;;;;;;;;;AAQY,MAAC,gBAAgB,GAAGA,kBAAU,CAAC;AAC3C,EAAE,EAAE,EAAE;AACN,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,KAAK,CAAC;AACnB,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,C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,EAAE,aAAa,EAAE;AACjB,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,gBAAgB,GAAG;AAChC,EAAE,CAACC,kBAAY,GAAG,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,KAAK,GAAG;AAC7C,EAAE,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,YAAY,UAAU;AACtC,EAAE,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,YAAY,UAAU;AACvC,EAAE,CAACC,iBAAW,GAAG,CAAC,GAAG,KAAKF,aAAQ,CAAC,GAAG,CAAC,IAAIG,mBAAK,CAAC,GAAG,CAAC;AACrD,EAAE,CAACC,wBAAkB,GAAG,CAAC,GAAG,KAAKJ,aAAQ,CAAC,GAAG,CAAC,IAAIG,mBAAK,CAAC,GAAG,CAAC;AAC5D;;;;;"}
|
|
@@ -5,6 +5,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5
5
|
readonly max: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
6
6
|
readonly min: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
7
7
|
readonly modelValue: NumberConstructor;
|
|
8
|
+
readonly readonly: BooleanConstructor;
|
|
8
9
|
readonly disabled: BooleanConstructor;
|
|
9
10
|
readonly size: {
|
|
10
11
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
@@ -33,6 +34,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
33
34
|
readonly max: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
34
35
|
readonly min: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
35
36
|
readonly modelValue: NumberConstructor;
|
|
37
|
+
readonly readonly: BooleanConstructor;
|
|
36
38
|
readonly disabled: BooleanConstructor;
|
|
37
39
|
readonly size: {
|
|
38
40
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
@@ -63,7 +65,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
63
65
|
emit: ((event: "update:modelValue", val: number | undefined) => void) & ((event: "change", prev: number | undefined, cur: number | undefined) => void) & ((event: "input", val: number | null | undefined) => void) & ((event: "focus", e: FocusEvent) => void) & ((event: "blur", e: FocusEvent) => void);
|
|
64
66
|
t: import("element-plus/es/hooks").Translator;
|
|
65
67
|
ns: {
|
|
66
|
-
namespace: import("vue").
|
|
68
|
+
namespace: import("vue").Ref<string>;
|
|
67
69
|
b: (blockSuffix?: string) => string;
|
|
68
70
|
e: (element?: string | undefined) => string;
|
|
69
71
|
m: (modifier?: string | undefined) => string;
|
|
@@ -352,7 +354,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
352
354
|
inputSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
353
355
|
inputDisabled: import("vue").ComputedRef<boolean>;
|
|
354
356
|
nsInput: {
|
|
355
|
-
namespace: import("vue").
|
|
357
|
+
namespace: import("vue").Ref<string>;
|
|
356
358
|
b: (blockSuffix?: string) => string;
|
|
357
359
|
e: (element?: string | undefined) => string;
|
|
358
360
|
m: (modifier?: string | undefined) => string;
|
|
@@ -370,7 +372,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
370
372
|
cssVarBlockName: (name: string) => string;
|
|
371
373
|
};
|
|
372
374
|
nsTextarea: {
|
|
373
|
-
namespace: import("vue").
|
|
375
|
+
namespace: import("vue").Ref<string>;
|
|
374
376
|
b: (blockSuffix?: string) => string;
|
|
375
377
|
e: (element?: string | undefined) => string;
|
|
376
378
|
m: (modifier?: string | undefined) => string;
|
|
@@ -461,7 +463,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
461
463
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
462
464
|
}>>;
|
|
463
465
|
ns: {
|
|
464
|
-
namespace: import("vue").
|
|
466
|
+
namespace: import("vue").Ref<string>;
|
|
465
467
|
b: (blockSuffix?: string) => string;
|
|
466
468
|
e: (element?: string | undefined) => string;
|
|
467
469
|
m: (modifier?: string | undefined) => string;
|
|
@@ -711,7 +713,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
711
713
|
inputSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
712
714
|
inputDisabled: import("vue").ComputedRef<boolean>;
|
|
713
715
|
nsInput: {
|
|
714
|
-
namespace: import("vue").
|
|
716
|
+
namespace: import("vue").Ref<string>;
|
|
715
717
|
b: (blockSuffix?: string) => string;
|
|
716
718
|
e: (element?: string | undefined) => string;
|
|
717
719
|
m: (modifier?: string | undefined) => string;
|
|
@@ -729,7 +731,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
729
731
|
cssVarBlockName: (name: string) => string;
|
|
730
732
|
};
|
|
731
733
|
nsTextarea: {
|
|
732
|
-
namespace: import("vue").
|
|
734
|
+
namespace: import("vue").Ref<string>;
|
|
733
735
|
b: (blockSuffix?: string) => string;
|
|
734
736
|
e: (element?: string | undefined) => string;
|
|
735
737
|
m: (modifier?: string | undefined) => string;
|
|
@@ -820,7 +822,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
820
822
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
821
823
|
}>>;
|
|
822
824
|
ns: {
|
|
823
|
-
namespace: import("vue").
|
|
825
|
+
namespace: import("vue").Ref<string>;
|
|
824
826
|
b: (blockSuffix?: string) => string;
|
|
825
827
|
e: (element?: string | undefined) => string;
|
|
826
828
|
m: (modifier?: string | undefined) => string;
|
|
@@ -1033,7 +1035,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1033
1035
|
inputSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
1034
1036
|
inputDisabled: import("vue").ComputedRef<boolean>;
|
|
1035
1037
|
nsInput: {
|
|
1036
|
-
namespace: import("vue").
|
|
1038
|
+
namespace: import("vue").Ref<string>;
|
|
1037
1039
|
b: (blockSuffix?: string) => string;
|
|
1038
1040
|
e: (element?: string | undefined) => string;
|
|
1039
1041
|
m: (modifier?: string | undefined) => string;
|
|
@@ -1051,7 +1053,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1051
1053
|
cssVarBlockName: (name: string) => string;
|
|
1052
1054
|
};
|
|
1053
1055
|
nsTextarea: {
|
|
1054
|
-
namespace: import("vue").
|
|
1056
|
+
namespace: import("vue").Ref<string>;
|
|
1055
1057
|
b: (blockSuffix?: string) => string;
|
|
1056
1058
|
e: (element?: string | undefined) => string;
|
|
1057
1059
|
m: (modifier?: string | undefined) => string;
|
|
@@ -1142,7 +1144,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1142
1144
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
1143
1145
|
}>>;
|
|
1144
1146
|
ns: {
|
|
1145
|
-
namespace: import("vue").
|
|
1147
|
+
namespace: import("vue").Ref<string>;
|
|
1146
1148
|
b: (blockSuffix?: string) => string;
|
|
1147
1149
|
e: (element?: string | undefined) => string;
|
|
1148
1150
|
m: (modifier?: string | undefined) => string;
|
|
@@ -1310,7 +1312,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1310
1312
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
1311
1313
|
}>>;
|
|
1312
1314
|
ns: {
|
|
1313
|
-
namespace: import("vue").
|
|
1315
|
+
namespace: import("vue").Ref<string>;
|
|
1314
1316
|
b: (blockSuffix?: string) => string;
|
|
1315
1317
|
e: (element?: string | undefined) => string;
|
|
1316
1318
|
m: (modifier?: string | undefined) => string;
|
|
@@ -1360,6 +1362,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1360
1362
|
readonly max: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
1361
1363
|
readonly min: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
1362
1364
|
readonly modelValue: NumberConstructor;
|
|
1365
|
+
readonly readonly: BooleanConstructor;
|
|
1363
1366
|
readonly disabled: BooleanConstructor;
|
|
1364
1367
|
readonly size: {
|
|
1365
1368
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
@@ -1393,6 +1396,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1393
1396
|
readonly min: number;
|
|
1394
1397
|
readonly max: number;
|
|
1395
1398
|
readonly step: number;
|
|
1399
|
+
readonly readonly: boolean;
|
|
1396
1400
|
readonly controls: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1397
1401
|
readonly controlsPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "right", unknown>;
|
|
1398
1402
|
readonly valueOnClear: any;
|
|
@@ -111,14 +111,14 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
111
111
|
return toPrecision(val + props.step * coefficient);
|
|
112
112
|
};
|
|
113
113
|
const increase = () => {
|
|
114
|
-
if (inputNumberDisabled.value || maxDisabled.value)
|
|
114
|
+
if (props.readonly || inputNumberDisabled.value || maxDisabled.value)
|
|
115
115
|
return;
|
|
116
116
|
const value = props.modelValue || 0;
|
|
117
117
|
const newVal = ensurePrecision(value);
|
|
118
118
|
setCurrentValue(newVal);
|
|
119
119
|
};
|
|
120
120
|
const decrease = () => {
|
|
121
|
-
if (inputNumberDisabled.value || minDisabled.value)
|
|
121
|
+
if (props.readonly || inputNumberDisabled.value || minDisabled.value)
|
|
122
122
|
return;
|
|
123
123
|
const value = props.modelValue || 0;
|
|
124
124
|
const newVal = ensurePrecision(value, -1);
|
|
@@ -281,6 +281,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
281
281
|
step: _ctx.step,
|
|
282
282
|
"model-value": vue.unref(displayValue),
|
|
283
283
|
placeholder: _ctx.placeholder,
|
|
284
|
+
readonly: _ctx.readonly,
|
|
284
285
|
disabled: vue.unref(inputNumberDisabled),
|
|
285
286
|
size: vue.unref(inputNumberSize),
|
|
286
287
|
max: _ctx.max,
|
|
@@ -296,7 +297,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
296
297
|
onFocus: handleFocus,
|
|
297
298
|
onInput: handleInput,
|
|
298
299
|
onChange: handleInputChange
|
|
299
|
-
}, null, 8, ["id", "step", "model-value", "placeholder", "disabled", "size", "max", "min", "name", "label", "onKeydown"])
|
|
300
|
+
}, null, 8, ["id", "step", "model-value", "placeholder", "readonly", "disabled", "size", "max", "min", "name", "label", "onKeydown"])
|
|
300
301
|
], 34);
|
|
301
302
|
};
|
|
302
303
|
}
|