@element-plus/nightly 0.0.20221012 → 0.0.20221014
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.full.js +140 -75
- package/dist/index.full.min.js +18 -18
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +15 -15
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +141 -76
- 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/alert/index.mjs +2 -2
- package/es/components/alert/src/alert.mjs +96 -36
- package/es/components/alert/src/alert.mjs.map +1 -1
- package/es/components/alert/src/alert2.mjs +36 -96
- package/es/components/alert/src/alert2.mjs.map +1 -1
- package/es/components/autocomplete/index.d.ts +55 -39
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +55 -39
- package/es/components/avatar/index.mjs +2 -2
- package/es/components/avatar/src/avatar.mjs +67 -32
- package/es/components/avatar/src/avatar.mjs.map +1 -1
- package/es/components/avatar/src/avatar2.mjs +32 -67
- package/es/components/avatar/src/avatar2.mjs.map +1 -1
- package/es/components/badge/index.mjs +2 -2
- package/es/components/badge/src/badge.mjs +55 -17
- package/es/components/badge/src/badge.mjs.map +1 -1
- package/es/components/badge/src/badge2.mjs +17 -55
- package/es/components/badge/src/badge2.mjs.map +1 -1
- package/es/components/card/index.mjs +2 -2
- package/es/components/card/src/card.mjs +35 -16
- package/es/components/card/src/card.mjs.map +1 -1
- package/es/components/card/src/card2.mjs +16 -35
- package/es/components/card/src/card2.mjs.map +1 -1
- package/es/components/cascader/index.d.ts +70 -52
- package/es/components/cascader/src/index.mjs +1 -1
- package/es/components/cascader/src/index.mjs.map +1 -1
- package/es/components/cascader/src/index.vue.d.ts +35 -26
- package/es/components/color-picker/index.d.ts +24 -17
- package/es/components/color-picker/src/color-picker.vue.d.ts +24 -17
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +18 -11
- package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +18 -11
- package/es/components/date-picker/src/panel-utils.d.ts +36 -22
- package/es/components/descriptions/src/description2.mjs +1 -1
- package/es/components/descriptions/src/descriptions-row.mjs +64 -7
- package/es/components/descriptions/src/descriptions-row.mjs.map +1 -1
- package/es/components/descriptions/src/descriptions-row2.mjs +7 -64
- package/es/components/descriptions/src/descriptions-row2.mjs.map +1 -1
- package/es/components/dropdown/index.d.ts +4 -4
- package/es/components/dropdown/src/dropdown.vue.d.ts +4 -4
- package/es/components/focus-trap/index.mjs +2 -2
- package/es/components/focus-trap/src/focus-trap.mjs +49 -15
- package/es/components/focus-trap/src/focus-trap.mjs.map +1 -1
- package/es/components/focus-trap/src/tokens.d.ts +2 -0
- package/es/components/focus-trap/src/tokens.mjs +6 -1
- package/es/components/focus-trap/src/tokens.mjs.map +1 -1
- package/es/components/focus-trap/src/utils.d.ts +11 -0
- package/es/components/focus-trap/src/utils.mjs +49 -1
- package/es/components/focus-trap/src/utils.mjs.map +1 -1
- package/es/components/index.mjs +10 -10
- package/es/components/input/index.d.ts +18 -11
- package/es/components/input/src/input.d.ts +6 -1
- package/es/components/input/src/input.mjs +1 -2
- package/es/components/input/src/input.mjs.map +1 -1
- package/es/components/input/src/input.vue.d.ts +18 -11
- package/es/components/input/src/input2.mjs +5 -32
- package/es/components/input/src/input2.mjs.map +1 -1
- package/es/components/input-number/index.d.ts +49 -33
- package/es/components/input-number/index.mjs +2 -2
- package/es/components/input-number/src/input-number.mjs +298 -57
- package/es/components/input-number/src/input-number.mjs.map +1 -1
- package/es/components/input-number/src/input-number.vue.d.ts +49 -33
- package/es/components/input-number/src/input-number2.mjs +57 -298
- package/es/components/input-number/src/input-number2.mjs.map +1 -1
- package/es/components/menu/index.mjs +2 -2
- package/es/components/menu/src/menu-item.mjs +100 -14
- package/es/components/menu/src/menu-item.mjs.map +1 -1
- package/es/components/menu/src/menu-item2.mjs +14 -100
- package/es/components/menu/src/menu-item2.mjs.map +1 -1
- package/es/components/page-header/index.mjs +2 -2
- package/es/components/page-header/src/page-header.mjs +102 -17
- package/es/components/page-header/src/page-header.mjs.map +1 -1
- package/es/components/page-header/src/page-header2.mjs +17 -102
- package/es/components/page-header/src/page-header2.mjs.map +1 -1
- package/es/components/pagination/src/components/jumper.vue.d.ts +18 -11
- package/es/components/pagination/src/components/prev.mjs +34 -18
- package/es/components/pagination/src/components/prev.mjs.map +1 -1
- package/es/components/pagination/src/components/prev2.mjs +18 -34
- package/es/components/pagination/src/components/prev2.mjs.map +1 -1
- package/es/components/pagination/src/components/sizes.vue.d.ts +4 -4
- package/es/components/pagination/src/pagination.mjs +1 -1
- package/es/components/popconfirm/index.d.ts +6 -6
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +6 -6
- package/es/components/popover/index.d.ts +6 -6
- package/es/components/popover/src/popover.vue.d.ts +6 -6
- package/es/components/popper/src/content.vue.d.ts +2 -2
- package/es/components/popper/src/content2.mjs +10 -9
- package/es/components/popper/src/content2.mjs.map +1 -1
- package/es/components/radio/index.mjs +2 -2
- package/es/components/radio/src/radio-button.mjs +64 -9
- package/es/components/radio/src/radio-button.mjs.map +1 -1
- package/es/components/radio/src/radio-button2.mjs +9 -64
- package/es/components/radio/src/radio-button2.mjs.map +1 -1
- package/es/components/select/index.d.ts +4 -4
- package/es/components/select/src/select.vue.d.ts +4 -4
- package/es/components/select/src/useSelect.d.ts +4 -4
- package/es/components/select/src/useSelect.mjs +3 -1
- package/es/components/select/src/useSelect.mjs.map +1 -1
- package/es/components/select-v2/index.d.ts +8 -8
- package/es/components/select-v2/src/select.vue.d.ts +4 -4
- package/es/components/select-v2/src/useSelect.d.ts +4 -4
- package/es/components/slider/index.d.ts +59 -43
- package/es/components/slider/src/button.vue.d.ts +2 -2
- package/es/components/slider/src/composables/use-slide.d.ts +8 -8
- package/es/components/slider/src/slider.vue.d.ts +59 -43
- package/es/components/steps/index.mjs +2 -2
- package/es/components/steps/src/item.mjs +191 -20
- package/es/components/steps/src/item.mjs.map +1 -1
- package/es/components/steps/src/item2.mjs +20 -191
- package/es/components/steps/src/item2.mjs.map +1 -1
- package/es/components/table/index.d.ts +4 -0
- package/es/components/table/index.mjs.map +1 -1
- package/es/components/table/src/filter-panel.vue.d.ts +4 -4
- package/es/components/tabs/index.d.ts +17 -17
- package/es/components/tabs/index.mjs +2 -2
- package/es/components/tabs/src/tab-nav.d.ts +4 -4
- package/es/components/tabs/src/tab-nav.mjs.map +1 -1
- package/es/components/tabs/src/tab-pane.mjs +73 -13
- package/es/components/tabs/src/tab-pane.mjs.map +1 -1
- package/es/components/tabs/src/tab-pane2.mjs +13 -73
- package/es/components/tabs/src/tab-pane2.mjs.map +1 -1
- package/es/components/tabs/src/tabs.d.ts +26 -26
- package/es/components/tabs/src/tabs.mjs +4 -4
- package/es/components/tabs/src/tabs.mjs.map +1 -1
- package/es/components/time-picker/src/common/picker.mjs +9 -4
- package/es/components/time-picker/src/common/picker.mjs.map +1 -1
- package/es/components/time-picker/src/common/picker.vue.d.ts +24 -17
- package/es/components/time-select/index.d.ts +16 -16
- package/es/components/time-select/src/time-select.vue.d.ts +8 -8
- package/es/components/tooltip/index.d.ts +2 -2
- package/es/components/tooltip/src/content.vue.d.ts +2 -2
- package/es/components/tooltip/src/tooltip.vue.d.ts +2 -2
- package/es/components/transfer/index.d.ts +90 -55
- package/es/components/transfer/src/composables/use-check.mjs +1 -1
- package/es/components/transfer/src/transfer-panel.mjs +131 -19
- package/es/components/transfer/src/transfer-panel.mjs.map +1 -1
- package/es/components/transfer/src/transfer-panel.vue.d.ts +18 -11
- package/es/components/transfer/src/transfer-panel2.mjs +19 -131
- package/es/components/transfer/src/transfer-panel2.mjs.map +1 -1
- package/es/components/transfer/src/transfer.vue.d.ts +90 -55
- package/es/components/transfer/src/transfer2.mjs +1 -1
- package/es/index.mjs +10 -10
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/alert/index.js +2 -2
- package/lib/components/alert/src/alert.js +95 -37
- package/lib/components/alert/src/alert.js.map +1 -1
- package/lib/components/alert/src/alert2.js +37 -95
- package/lib/components/alert/src/alert2.js.map +1 -1
- package/lib/components/autocomplete/index.d.ts +55 -39
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +55 -39
- package/lib/components/avatar/index.js +2 -2
- package/lib/components/avatar/src/avatar.js +67 -33
- package/lib/components/avatar/src/avatar.js.map +1 -1
- package/lib/components/avatar/src/avatar2.js +33 -67
- package/lib/components/avatar/src/avatar2.js.map +1 -1
- package/lib/components/badge/index.js +2 -2
- package/lib/components/badge/src/badge.js +55 -17
- package/lib/components/badge/src/badge.js.map +1 -1
- package/lib/components/badge/src/badge2.js +17 -55
- package/lib/components/badge/src/badge2.js.map +1 -1
- package/lib/components/card/index.js +2 -2
- package/lib/components/card/src/card.js +35 -16
- package/lib/components/card/src/card.js.map +1 -1
- package/lib/components/card/src/card2.js +16 -35
- package/lib/components/card/src/card2.js.map +1 -1
- package/lib/components/cascader/index.d.ts +70 -52
- package/lib/components/cascader/src/index.js +1 -1
- package/lib/components/cascader/src/index.js.map +1 -1
- package/lib/components/cascader/src/index.vue.d.ts +35 -26
- package/lib/components/color-picker/index.d.ts +24 -17
- package/lib/components/color-picker/src/color-picker.vue.d.ts +24 -17
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +18 -11
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +18 -11
- package/lib/components/date-picker/src/panel-utils.d.ts +36 -22
- package/lib/components/descriptions/src/description2.js +1 -1
- package/lib/components/descriptions/src/descriptions-row.js +64 -7
- package/lib/components/descriptions/src/descriptions-row.js.map +1 -1
- package/lib/components/descriptions/src/descriptions-row2.js +7 -64
- package/lib/components/descriptions/src/descriptions-row2.js.map +1 -1
- package/lib/components/dropdown/index.d.ts +4 -4
- package/lib/components/dropdown/src/dropdown.vue.d.ts +4 -4
- package/lib/components/focus-trap/index.js +5 -0
- package/lib/components/focus-trap/index.js.map +1 -1
- package/lib/components/focus-trap/src/focus-trap.js +48 -14
- package/lib/components/focus-trap/src/focus-trap.js.map +1 -1
- package/lib/components/focus-trap/src/tokens.d.ts +2 -0
- package/lib/components/focus-trap/src/tokens.js +7 -0
- package/lib/components/focus-trap/src/tokens.js.map +1 -1
- package/lib/components/focus-trap/src/utils.d.ts +11 -0
- package/lib/components/focus-trap/src/utils.js +51 -0
- package/lib/components/focus-trap/src/utils.js.map +1 -1
- package/lib/components/index.js +10 -10
- package/lib/components/input/index.d.ts +18 -11
- package/lib/components/input/src/input.d.ts +6 -1
- package/lib/components/input/src/input.js +1 -2
- package/lib/components/input/src/input.js.map +1 -1
- package/lib/components/input/src/input.vue.d.ts +18 -11
- package/lib/components/input/src/input2.js +4 -31
- package/lib/components/input/src/input2.js.map +1 -1
- package/lib/components/input-number/index.d.ts +49 -33
- package/lib/components/input-number/index.js +2 -2
- package/lib/components/input-number/src/input-number.js +297 -57
- package/lib/components/input-number/src/input-number.js.map +1 -1
- package/lib/components/input-number/src/input-number.vue.d.ts +49 -33
- package/lib/components/input-number/src/input-number2.js +57 -297
- package/lib/components/input-number/src/input-number2.js.map +1 -1
- package/lib/components/menu/index.js +2 -2
- package/lib/components/menu/src/menu-item.js +100 -15
- package/lib/components/menu/src/menu-item.js.map +1 -1
- package/lib/components/menu/src/menu-item2.js +15 -100
- package/lib/components/menu/src/menu-item2.js.map +1 -1
- package/lib/components/page-header/index.js +2 -2
- package/lib/components/page-header/src/page-header.js +102 -18
- package/lib/components/page-header/src/page-header.js.map +1 -1
- package/lib/components/page-header/src/page-header2.js +18 -102
- package/lib/components/page-header/src/page-header2.js.map +1 -1
- package/lib/components/pagination/src/components/jumper.vue.d.ts +18 -11
- package/lib/components/pagination/src/components/prev.js +34 -19
- package/lib/components/pagination/src/components/prev.js.map +1 -1
- package/lib/components/pagination/src/components/prev2.js +19 -34
- package/lib/components/pagination/src/components/prev2.js.map +1 -1
- package/lib/components/pagination/src/components/sizes.vue.d.ts +4 -4
- package/lib/components/pagination/src/pagination.js +1 -1
- package/lib/components/popconfirm/index.d.ts +6 -6
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +6 -6
- package/lib/components/popover/index.d.ts +6 -6
- package/lib/components/popover/src/popover.vue.d.ts +6 -6
- package/lib/components/popper/src/content.vue.d.ts +2 -2
- package/lib/components/popper/src/content2.js +10 -9
- package/lib/components/popper/src/content2.js.map +1 -1
- package/lib/components/radio/index.js +2 -2
- package/lib/components/radio/src/radio-button.js +64 -9
- package/lib/components/radio/src/radio-button.js.map +1 -1
- package/lib/components/radio/src/radio-button2.js +9 -64
- package/lib/components/radio/src/radio-button2.js.map +1 -1
- package/lib/components/select/index.d.ts +4 -4
- package/lib/components/select/src/select.vue.d.ts +4 -4
- package/lib/components/select/src/useSelect.d.ts +4 -4
- package/lib/components/select/src/useSelect.js +3 -1
- package/lib/components/select/src/useSelect.js.map +1 -1
- package/lib/components/select-v2/index.d.ts +8 -8
- package/lib/components/select-v2/src/select.vue.d.ts +4 -4
- package/lib/components/select-v2/src/useSelect.d.ts +4 -4
- package/lib/components/slider/index.d.ts +59 -43
- package/lib/components/slider/src/button.vue.d.ts +2 -2
- package/lib/components/slider/src/composables/use-slide.d.ts +8 -8
- package/lib/components/slider/src/slider.vue.d.ts +59 -43
- package/lib/components/steps/index.js +2 -2
- package/lib/components/steps/src/item.js +191 -20
- package/lib/components/steps/src/item.js.map +1 -1
- package/lib/components/steps/src/item2.js +20 -191
- package/lib/components/steps/src/item2.js.map +1 -1
- package/lib/components/table/index.d.ts +4 -0
- package/lib/components/table/index.js.map +1 -1
- package/lib/components/table/src/filter-panel.vue.d.ts +4 -4
- package/lib/components/tabs/index.d.ts +17 -17
- package/lib/components/tabs/index.js +2 -2
- package/lib/components/tabs/src/tab-nav.d.ts +4 -4
- package/lib/components/tabs/src/tab-nav.js.map +1 -1
- package/lib/components/tabs/src/tab-pane.js +73 -13
- package/lib/components/tabs/src/tab-pane.js.map +1 -1
- package/lib/components/tabs/src/tab-pane2.js +13 -73
- package/lib/components/tabs/src/tab-pane2.js.map +1 -1
- package/lib/components/tabs/src/tabs.d.ts +26 -26
- package/lib/components/tabs/src/tabs.js +4 -4
- package/lib/components/tabs/src/tabs.js.map +1 -1
- package/lib/components/time-picker/src/common/picker.js +8 -3
- package/lib/components/time-picker/src/common/picker.js.map +1 -1
- package/lib/components/time-picker/src/common/picker.vue.d.ts +24 -17
- package/lib/components/time-select/index.d.ts +16 -16
- package/lib/components/time-select/src/time-select.vue.d.ts +8 -8
- package/lib/components/tooltip/index.d.ts +2 -2
- package/lib/components/tooltip/src/content.vue.d.ts +2 -2
- package/lib/components/tooltip/src/tooltip.vue.d.ts +2 -2
- package/lib/components/transfer/index.d.ts +90 -55
- package/lib/components/transfer/src/composables/use-check.js +1 -1
- package/lib/components/transfer/src/transfer-panel.js +131 -21
- package/lib/components/transfer/src/transfer-panel.js.map +1 -1
- package/lib/components/transfer/src/transfer-panel.vue.d.ts +18 -11
- package/lib/components/transfer/src/transfer-panel2.js +21 -131
- package/lib/components/transfer/src/transfer-panel2.js.map +1 -1
- package/lib/components/transfer/src/transfer.vue.d.ts +90 -55
- package/lib/components/transfer/src/transfer2.js +1 -1
- package/lib/index.js +10 -10
- 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/web-types.json +1 -1
|
@@ -2484,9 +2484,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2484
2484
|
updatePopper: (shouldUpdateZIndex?: boolean) => void;
|
|
2485
2485
|
togglePopperAlive: () => void;
|
|
2486
2486
|
onFocusAfterTrapped: () => void;
|
|
2487
|
-
onFocusAfterReleased: () => void;
|
|
2487
|
+
onFocusAfterReleased: (event: CustomEvent<any>) => void;
|
|
2488
2488
|
onFocusInTrap: (event: FocusEvent) => void;
|
|
2489
|
-
onFocusoutPrevented: () => void;
|
|
2489
|
+
onFocusoutPrevented: (event: CustomEvent<any>) => void;
|
|
2490
2490
|
onReleaseRequested: () => void;
|
|
2491
2491
|
ElFocusTrap: import("vue").DefineComponent<{
|
|
2492
2492
|
loop: BooleanConstructor;
|
|
@@ -5746,9 +5746,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5746
5746
|
updatePopper: (shouldUpdateZIndex?: boolean) => void;
|
|
5747
5747
|
togglePopperAlive: () => void;
|
|
5748
5748
|
onFocusAfterTrapped: () => void;
|
|
5749
|
-
onFocusAfterReleased: () => void;
|
|
5749
|
+
onFocusAfterReleased: (event: CustomEvent<any>) => void;
|
|
5750
5750
|
onFocusInTrap: (event: FocusEvent) => void;
|
|
5751
|
-
onFocusoutPrevented: () => void;
|
|
5751
|
+
onFocusoutPrevented: (event: CustomEvent<any>) => void;
|
|
5752
5752
|
onReleaseRequested: () => void;
|
|
5753
5753
|
ElFocusTrap: import("vue").DefineComponent<{
|
|
5754
5754
|
loop: BooleanConstructor;
|
|
@@ -9011,9 +9011,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9011
9011
|
updatePopper: (shouldUpdateZIndex?: boolean) => void;
|
|
9012
9012
|
togglePopperAlive: () => void;
|
|
9013
9013
|
onFocusAfterTrapped: () => void;
|
|
9014
|
-
onFocusAfterReleased: () => void;
|
|
9014
|
+
onFocusAfterReleased: (event: CustomEvent<any>) => void;
|
|
9015
9015
|
onFocusInTrap: (event: FocusEvent) => void;
|
|
9016
|
-
onFocusoutPrevented: () => void;
|
|
9016
|
+
onFocusoutPrevented: (event: CustomEvent<any>) => void;
|
|
9017
9017
|
onReleaseRequested: () => void;
|
|
9018
9018
|
ElFocusTrap: import("vue").DefineComponent<{
|
|
9019
9019
|
loop: BooleanConstructor;
|
|
@@ -12273,9 +12273,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12273
12273
|
updatePopper: (shouldUpdateZIndex?: boolean) => void;
|
|
12274
12274
|
togglePopperAlive: () => void;
|
|
12275
12275
|
onFocusAfterTrapped: () => void;
|
|
12276
|
-
onFocusAfterReleased: () => void;
|
|
12276
|
+
onFocusAfterReleased: (event: CustomEvent<any>) => void;
|
|
12277
12277
|
onFocusInTrap: (event: FocusEvent) => void;
|
|
12278
|
-
onFocusoutPrevented: () => void;
|
|
12278
|
+
onFocusoutPrevented: (event: CustomEvent<any>) => void;
|
|
12279
12279
|
onReleaseRequested: () => void;
|
|
12280
12280
|
ElFocusTrap: import("vue").DefineComponent<{
|
|
12281
12281
|
loop: BooleanConstructor;
|
|
@@ -13358,7 +13358,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13358
13358
|
readonly id: string;
|
|
13359
13359
|
readonly autosize: import("../..").InputAutoSize;
|
|
13360
13360
|
readonly autocomplete: string;
|
|
13361
|
-
readonly form: string;
|
|
13362
13361
|
readonly readonly: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
13363
13362
|
readonly clearable: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
13364
13363
|
readonly showPassword: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -13403,7 +13402,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13403
13402
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
13404
13403
|
__epPropKey: true;
|
|
13405
13404
|
};
|
|
13406
|
-
readonly form:
|
|
13405
|
+
readonly form: {
|
|
13406
|
+
readonly type: import("vue").PropType<string>;
|
|
13407
|
+
readonly required: false;
|
|
13408
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
13409
|
+
__epPropKey: true;
|
|
13410
|
+
};
|
|
13407
13411
|
readonly readonly: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
13408
13412
|
readonly clearable: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
13409
13413
|
readonly showPassword: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
@@ -13438,7 +13442,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13438
13442
|
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
|
|
13439
13443
|
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
13440
13444
|
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
13441
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "disabled" | "label" | "modelValue" | "validateEvent" | "id" | "autosize" | "autocomplete" | "
|
|
13445
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "disabled" | "label" | "modelValue" | "validateEvent" | "id" | "autosize" | "autocomplete" | "readonly" | "clearable" | "showPassword" | "showWordLimit" | "containerRole" | "tabindex" | "inputStyle">;
|
|
13442
13446
|
$attrs: {
|
|
13443
13447
|
[x: string]: unknown;
|
|
13444
13448
|
};
|
|
@@ -13489,7 +13493,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13489
13493
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
13490
13494
|
__epPropKey: true;
|
|
13491
13495
|
};
|
|
13492
|
-
readonly form:
|
|
13496
|
+
readonly form: {
|
|
13497
|
+
readonly type: import("vue").PropType<string>;
|
|
13498
|
+
readonly required: false;
|
|
13499
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
13500
|
+
__epPropKey: true;
|
|
13501
|
+
};
|
|
13493
13502
|
readonly readonly: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
13494
13503
|
readonly clearable: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
13495
13504
|
readonly showPassword: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
@@ -13525,10 +13534,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13525
13534
|
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
13526
13535
|
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
13527
13536
|
}, {
|
|
13528
|
-
PENDANT_MAP: {
|
|
13529
|
-
readonly suffix: "append";
|
|
13530
|
-
readonly prefix: "prepend";
|
|
13531
|
-
};
|
|
13532
13537
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
13533
13538
|
readonly id: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
13534
13539
|
readonly size: {
|
|
@@ -13566,7 +13571,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13566
13571
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
13567
13572
|
__epPropKey: true;
|
|
13568
13573
|
};
|
|
13569
|
-
readonly form:
|
|
13574
|
+
readonly form: {
|
|
13575
|
+
readonly type: import("vue").PropType<string>;
|
|
13576
|
+
readonly required: false;
|
|
13577
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
13578
|
+
__epPropKey: true;
|
|
13579
|
+
};
|
|
13570
13580
|
readonly readonly: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
13571
13581
|
readonly clearable: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
13572
13582
|
readonly showPassword: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
@@ -13603,7 +13613,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13603
13613
|
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
13604
13614
|
}>>;
|
|
13605
13615
|
emit: ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "input", value: string) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "clear") => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void);
|
|
13606
|
-
instance: import("vue").ComponentInternalInstance;
|
|
13607
13616
|
rawAttrs: {
|
|
13608
13617
|
[x: string]: unknown;
|
|
13609
13618
|
};
|
|
@@ -13679,8 +13688,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13679
13688
|
setCursor: () => void;
|
|
13680
13689
|
resizeTextarea: () => void;
|
|
13681
13690
|
setNativeInputValue: () => void;
|
|
13682
|
-
calcIconOffset: (place: "suffix" | "prefix") => void;
|
|
13683
|
-
updateIconOffset: () => void;
|
|
13684
13691
|
handleInput: (event: Event) => Promise<void>;
|
|
13685
13692
|
handleChange: (event: Event) => void;
|
|
13686
13693
|
handleCompositionStart: (event: CompositionEvent) => void;
|
|
@@ -13783,7 +13790,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13783
13790
|
readonly id: string;
|
|
13784
13791
|
readonly autosize: import("../..").InputAutoSize;
|
|
13785
13792
|
readonly autocomplete: string;
|
|
13786
|
-
readonly form: string;
|
|
13787
13793
|
readonly readonly: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
13788
13794
|
readonly clearable: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
13789
13795
|
readonly showPassword: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -13848,7 +13854,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13848
13854
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
13849
13855
|
__epPropKey: true;
|
|
13850
13856
|
};
|
|
13851
|
-
readonly form:
|
|
13857
|
+
readonly form: {
|
|
13858
|
+
readonly type: import("vue").PropType<string>;
|
|
13859
|
+
readonly required: false;
|
|
13860
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
13861
|
+
__epPropKey: true;
|
|
13862
|
+
};
|
|
13852
13863
|
readonly readonly: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
13853
13864
|
readonly clearable: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
13854
13865
|
readonly showPassword: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
@@ -13884,10 +13895,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13884
13895
|
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
13885
13896
|
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
13886
13897
|
} & import("vue").ShallowUnwrapRef<{
|
|
13887
|
-
PENDANT_MAP: {
|
|
13888
|
-
readonly suffix: "append";
|
|
13889
|
-
readonly prefix: "prepend";
|
|
13890
|
-
};
|
|
13891
13898
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
13892
13899
|
readonly id: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
13893
13900
|
readonly size: {
|
|
@@ -13925,7 +13932,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13925
13932
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
13926
13933
|
__epPropKey: true;
|
|
13927
13934
|
};
|
|
13928
|
-
readonly form:
|
|
13935
|
+
readonly form: {
|
|
13936
|
+
readonly type: import("vue").PropType<string>;
|
|
13937
|
+
readonly required: false;
|
|
13938
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
13939
|
+
__epPropKey: true;
|
|
13940
|
+
};
|
|
13929
13941
|
readonly readonly: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
13930
13942
|
readonly clearable: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
13931
13943
|
readonly showPassword: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
@@ -13962,7 +13974,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13962
13974
|
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
13963
13975
|
}>>;
|
|
13964
13976
|
emit: ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "input", value: string) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "clear") => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void);
|
|
13965
|
-
instance: import("vue").ComponentInternalInstance;
|
|
13966
13977
|
rawAttrs: {
|
|
13967
13978
|
[x: string]: unknown;
|
|
13968
13979
|
};
|
|
@@ -14038,8 +14049,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14038
14049
|
setCursor: () => void;
|
|
14039
14050
|
resizeTextarea: () => void;
|
|
14040
14051
|
setNativeInputValue: () => void;
|
|
14041
|
-
calcIconOffset: (place: "suffix" | "prefix") => void;
|
|
14042
|
-
updateIconOffset: () => void;
|
|
14043
14052
|
handleInput: (event: Event) => Promise<void>;
|
|
14044
14053
|
handleChange: (event: Event) => void;
|
|
14045
14054
|
handleCompositionStart: (event: CompositionEvent) => void;
|
|
@@ -14183,7 +14192,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14183
14192
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
14184
14193
|
__epPropKey: true;
|
|
14185
14194
|
};
|
|
14186
|
-
readonly form:
|
|
14195
|
+
readonly form: {
|
|
14196
|
+
readonly type: import("vue").PropType<string>;
|
|
14197
|
+
readonly required: false;
|
|
14198
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
14199
|
+
__epPropKey: true;
|
|
14200
|
+
};
|
|
14187
14201
|
readonly readonly: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
14188
14202
|
readonly clearable: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
14189
14203
|
readonly showPassword: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
@@ -14206,10 +14220,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14206
14220
|
readonly validateEvent: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
14207
14221
|
readonly inputStyle: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue) | ((new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("../../../utils").Mutable<{}>, boolean>;
|
|
14208
14222
|
}, {
|
|
14209
|
-
PENDANT_MAP: {
|
|
14210
|
-
readonly suffix: "append";
|
|
14211
|
-
readonly prefix: "prepend";
|
|
14212
|
-
};
|
|
14213
14223
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
14214
14224
|
readonly id: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
14215
14225
|
readonly size: {
|
|
@@ -14247,7 +14257,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14247
14257
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
14248
14258
|
__epPropKey: true;
|
|
14249
14259
|
};
|
|
14250
|
-
readonly form:
|
|
14260
|
+
readonly form: {
|
|
14261
|
+
readonly type: import("vue").PropType<string>;
|
|
14262
|
+
readonly required: false;
|
|
14263
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
14264
|
+
__epPropKey: true;
|
|
14265
|
+
};
|
|
14251
14266
|
readonly readonly: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
14252
14267
|
readonly clearable: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
14253
14268
|
readonly showPassword: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
@@ -14284,7 +14299,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14284
14299
|
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
14285
14300
|
}>>;
|
|
14286
14301
|
emit: ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "input", value: string) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "clear") => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void);
|
|
14287
|
-
instance: import("vue").ComponentInternalInstance;
|
|
14288
14302
|
rawAttrs: {
|
|
14289
14303
|
[x: string]: unknown;
|
|
14290
14304
|
};
|
|
@@ -14360,8 +14374,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14360
14374
|
setCursor: () => void;
|
|
14361
14375
|
resizeTextarea: () => void;
|
|
14362
14376
|
setNativeInputValue: () => void;
|
|
14363
|
-
calcIconOffset: (place: "suffix" | "prefix") => void;
|
|
14364
|
-
updateIconOffset: () => void;
|
|
14365
14377
|
handleInput: (event: Event) => Promise<void>;
|
|
14366
14378
|
handleChange: (event: Event) => void;
|
|
14367
14379
|
handleCompositionStart: (event: CompositionEvent) => void;
|
|
@@ -14492,7 +14504,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14492
14504
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
14493
14505
|
__epPropKey: true;
|
|
14494
14506
|
};
|
|
14495
|
-
readonly form:
|
|
14507
|
+
readonly form: {
|
|
14508
|
+
readonly type: import("vue").PropType<string>;
|
|
14509
|
+
readonly required: false;
|
|
14510
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
14511
|
+
__epPropKey: true;
|
|
14512
|
+
};
|
|
14496
14513
|
readonly readonly: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
14497
14514
|
readonly clearable: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
14498
14515
|
readonly showPassword: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
@@ -14536,7 +14553,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14536
14553
|
readonly id: string;
|
|
14537
14554
|
readonly autosize: import("../..").InputAutoSize;
|
|
14538
14555
|
readonly autocomplete: string;
|
|
14539
|
-
readonly form: string;
|
|
14540
14556
|
readonly readonly: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
14541
14557
|
readonly clearable: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
14542
14558
|
readonly showPassword: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -16945,9 +16961,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16945
16961
|
updatePopper: (shouldUpdateZIndex?: boolean) => void;
|
|
16946
16962
|
togglePopperAlive: () => void;
|
|
16947
16963
|
onFocusAfterTrapped: () => void;
|
|
16948
|
-
onFocusAfterReleased: () => void;
|
|
16964
|
+
onFocusAfterReleased: (event: CustomEvent<any>) => void;
|
|
16949
16965
|
onFocusInTrap: (event: FocusEvent) => void;
|
|
16950
|
-
onFocusoutPrevented: () => void;
|
|
16966
|
+
onFocusoutPrevented: (event: CustomEvent<any>) => void;
|
|
16951
16967
|
onReleaseRequested: () => void;
|
|
16952
16968
|
ElFocusTrap: import("vue").DefineComponent<{
|
|
16953
16969
|
loop: BooleanConstructor;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '../../utils/index.mjs';
|
|
2
2
|
import Steps from './src/steps2.mjs';
|
|
3
|
-
import Step from './src/
|
|
4
|
-
export { stepProps } from './src/
|
|
3
|
+
import Step from './src/item.mjs';
|
|
4
|
+
export { stepProps } from './src/item2.mjs';
|
|
5
5
|
export { stepsEmits, stepsProps } from './src/steps.mjs';
|
|
6
6
|
import { withInstall, withNoopInstall } from '../../utils/vue/install.mjs';
|
|
7
7
|
|
|
@@ -1,25 +1,196 @@
|
|
|
1
|
-
import '
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
1
|
+
import { defineComponent, ref, inject, getCurrentInstance, onMounted, watch, onBeforeUnmount, computed, reactive, openBlock, createElementBlock, normalizeStyle, unref, normalizeClass, createCommentVNode, createElementVNode, renderSlot, createBlock, withCtx, resolveDynamicComponent, createVNode, toDisplayString, createTextVNode } from 'vue';
|
|
2
|
+
import '../../../hooks/index.mjs';
|
|
3
|
+
import { ElIcon } from '../../icon/index.mjs';
|
|
4
|
+
import { Check, Close } from '@element-plus/icons-vue';
|
|
5
|
+
import { stepProps } from './item2.mjs';
|
|
6
|
+
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
|
7
|
+
import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
|
|
4
8
|
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
9
|
+
const __default__ = defineComponent({
|
|
10
|
+
name: "ElStep"
|
|
11
|
+
});
|
|
12
|
+
const _sfc_main = defineComponent({
|
|
13
|
+
...__default__,
|
|
14
|
+
props: stepProps,
|
|
15
|
+
setup(__props) {
|
|
16
|
+
const props = __props;
|
|
17
|
+
const ns = useNamespace("step");
|
|
18
|
+
const index = ref(-1);
|
|
19
|
+
const lineStyle = ref({});
|
|
20
|
+
const internalStatus = ref("");
|
|
21
|
+
const parent = inject("ElSteps");
|
|
22
|
+
const currentInstance = getCurrentInstance();
|
|
23
|
+
onMounted(() => {
|
|
24
|
+
watch([
|
|
25
|
+
() => parent.props.active,
|
|
26
|
+
() => parent.props.processStatus,
|
|
27
|
+
() => parent.props.finishStatus
|
|
28
|
+
], ([active]) => {
|
|
29
|
+
updateStatus(active);
|
|
30
|
+
}, { immediate: true });
|
|
31
|
+
});
|
|
32
|
+
onBeforeUnmount(() => {
|
|
33
|
+
parent.steps.value = parent.steps.value.filter((instance) => instance.uid !== (currentInstance == null ? void 0 : currentInstance.uid));
|
|
34
|
+
});
|
|
35
|
+
const currentStatus = computed(() => {
|
|
36
|
+
return props.status || internalStatus.value;
|
|
37
|
+
});
|
|
38
|
+
const prevStatus = computed(() => {
|
|
39
|
+
const prevStep = parent.steps.value[index.value - 1];
|
|
40
|
+
return prevStep ? prevStep.currentStatus : "wait";
|
|
41
|
+
});
|
|
42
|
+
const isCenter = computed(() => {
|
|
43
|
+
return parent.props.alignCenter;
|
|
44
|
+
});
|
|
45
|
+
const isVertical = computed(() => {
|
|
46
|
+
return parent.props.direction === "vertical";
|
|
47
|
+
});
|
|
48
|
+
const isSimple = computed(() => {
|
|
49
|
+
return parent.props.simple;
|
|
50
|
+
});
|
|
51
|
+
const stepsCount = computed(() => {
|
|
52
|
+
return parent.steps.value.length;
|
|
53
|
+
});
|
|
54
|
+
const isLast = computed(() => {
|
|
55
|
+
var _a;
|
|
56
|
+
return ((_a = parent.steps.value[stepsCount.value - 1]) == null ? void 0 : _a.uid) === (currentInstance == null ? void 0 : currentInstance.uid);
|
|
57
|
+
});
|
|
58
|
+
const space = computed(() => {
|
|
59
|
+
return isSimple.value ? "" : parent.props.space;
|
|
60
|
+
});
|
|
61
|
+
const style = computed(() => {
|
|
62
|
+
const style2 = {
|
|
63
|
+
flexBasis: typeof space.value === "number" ? `${space.value}px` : space.value ? space.value : `${100 / (stepsCount.value - (isCenter.value ? 0 : 1))}%`
|
|
64
|
+
};
|
|
65
|
+
if (isVertical.value)
|
|
66
|
+
return style2;
|
|
67
|
+
if (isLast.value) {
|
|
68
|
+
style2.maxWidth = `${100 / stepsCount.value}%`;
|
|
69
|
+
}
|
|
70
|
+
return style2;
|
|
71
|
+
});
|
|
72
|
+
const setIndex = (val) => {
|
|
73
|
+
index.value = val;
|
|
74
|
+
};
|
|
75
|
+
const calcProgress = (status) => {
|
|
76
|
+
let step = 100;
|
|
77
|
+
const style2 = {};
|
|
78
|
+
style2.transitionDelay = `${150 * index.value}ms`;
|
|
79
|
+
if (status === parent.props.processStatus) {
|
|
80
|
+
step = 0;
|
|
81
|
+
} else if (status === "wait") {
|
|
82
|
+
step = 0;
|
|
83
|
+
style2.transitionDelay = `${-150 * index.value}ms`;
|
|
84
|
+
}
|
|
85
|
+
style2.borderWidth = step && !isSimple.value ? "1px" : 0;
|
|
86
|
+
style2[parent.props.direction === "vertical" ? "height" : "width"] = `${step}%`;
|
|
87
|
+
lineStyle.value = style2;
|
|
88
|
+
};
|
|
89
|
+
const updateStatus = (activeIndex) => {
|
|
90
|
+
if (activeIndex > index.value) {
|
|
91
|
+
internalStatus.value = parent.props.finishStatus;
|
|
92
|
+
} else if (activeIndex === index.value && prevStatus.value !== "error") {
|
|
93
|
+
internalStatus.value = parent.props.processStatus;
|
|
94
|
+
} else {
|
|
95
|
+
internalStatus.value = "wait";
|
|
96
|
+
}
|
|
97
|
+
const prevChild = parent.steps.value[index.value - 1];
|
|
98
|
+
if (prevChild)
|
|
99
|
+
prevChild.calcProgress(internalStatus.value);
|
|
100
|
+
};
|
|
101
|
+
const stepItemState = reactive({
|
|
102
|
+
uid: computed(() => currentInstance == null ? void 0 : currentInstance.uid),
|
|
103
|
+
currentStatus,
|
|
104
|
+
setIndex,
|
|
105
|
+
calcProgress
|
|
106
|
+
});
|
|
107
|
+
parent.steps.value = [...parent.steps.value, stepItemState];
|
|
108
|
+
return (_ctx, _cache) => {
|
|
109
|
+
return openBlock(), createElementBlock("div", {
|
|
110
|
+
style: normalizeStyle(unref(style)),
|
|
111
|
+
class: normalizeClass([
|
|
112
|
+
unref(ns).b(),
|
|
113
|
+
unref(ns).is(unref(isSimple) ? "simple" : unref(parent).props.direction),
|
|
114
|
+
unref(ns).is("flex", unref(isLast) && !unref(space) && !unref(isCenter)),
|
|
115
|
+
unref(ns).is("center", unref(isCenter) && !unref(isVertical) && !unref(isSimple))
|
|
116
|
+
])
|
|
117
|
+
}, [
|
|
118
|
+
createCommentVNode(" icon & line "),
|
|
119
|
+
createElementVNode("div", {
|
|
120
|
+
class: normalizeClass([unref(ns).e("head"), unref(ns).is(unref(currentStatus))])
|
|
121
|
+
}, [
|
|
122
|
+
!unref(isSimple) ? (openBlock(), createElementBlock("div", {
|
|
123
|
+
key: 0,
|
|
124
|
+
class: normalizeClass(unref(ns).e("line"))
|
|
125
|
+
}, [
|
|
126
|
+
createElementVNode("i", {
|
|
127
|
+
class: normalizeClass(unref(ns).e("line-inner")),
|
|
128
|
+
style: normalizeStyle(lineStyle.value)
|
|
129
|
+
}, null, 6)
|
|
130
|
+
], 2)) : createCommentVNode("v-if", true),
|
|
131
|
+
createElementVNode("div", {
|
|
132
|
+
class: normalizeClass([unref(ns).e("icon"), unref(ns).is(_ctx.icon || _ctx.$slots.icon ? "icon" : "text")])
|
|
133
|
+
}, [
|
|
134
|
+
renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
135
|
+
_ctx.icon ? (openBlock(), createBlock(unref(ElIcon), {
|
|
136
|
+
key: 0,
|
|
137
|
+
class: normalizeClass(unref(ns).e("icon-inner"))
|
|
138
|
+
}, {
|
|
139
|
+
default: withCtx(() => [
|
|
140
|
+
(openBlock(), createBlock(resolveDynamicComponent(_ctx.icon)))
|
|
141
|
+
]),
|
|
142
|
+
_: 1
|
|
143
|
+
}, 8, ["class"])) : unref(currentStatus) === "success" ? (openBlock(), createBlock(unref(ElIcon), {
|
|
144
|
+
key: 1,
|
|
145
|
+
class: normalizeClass([unref(ns).e("icon-inner"), unref(ns).is("status")])
|
|
146
|
+
}, {
|
|
147
|
+
default: withCtx(() => [
|
|
148
|
+
createVNode(unref(Check))
|
|
149
|
+
]),
|
|
150
|
+
_: 1
|
|
151
|
+
}, 8, ["class"])) : unref(currentStatus) === "error" ? (openBlock(), createBlock(unref(ElIcon), {
|
|
152
|
+
key: 2,
|
|
153
|
+
class: normalizeClass([unref(ns).e("icon-inner"), unref(ns).is("status")])
|
|
154
|
+
}, {
|
|
155
|
+
default: withCtx(() => [
|
|
156
|
+
createVNode(unref(Close))
|
|
157
|
+
]),
|
|
158
|
+
_: 1
|
|
159
|
+
}, 8, ["class"])) : !unref(isSimple) ? (openBlock(), createElementBlock("div", {
|
|
160
|
+
key: 3,
|
|
161
|
+
class: normalizeClass(unref(ns).e("icon-inner"))
|
|
162
|
+
}, toDisplayString(index.value + 1), 3)) : createCommentVNode("v-if", true)
|
|
163
|
+
])
|
|
164
|
+
], 2)
|
|
165
|
+
], 2),
|
|
166
|
+
createCommentVNode(" title & description "),
|
|
167
|
+
createElementVNode("div", {
|
|
168
|
+
class: normalizeClass(unref(ns).e("main"))
|
|
169
|
+
}, [
|
|
170
|
+
createElementVNode("div", {
|
|
171
|
+
class: normalizeClass([unref(ns).e("title"), unref(ns).is(unref(currentStatus))])
|
|
172
|
+
}, [
|
|
173
|
+
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
174
|
+
createTextVNode(toDisplayString(_ctx.title), 1)
|
|
175
|
+
])
|
|
176
|
+
], 2),
|
|
177
|
+
unref(isSimple) ? (openBlock(), createElementBlock("div", {
|
|
178
|
+
key: 0,
|
|
179
|
+
class: normalizeClass(unref(ns).e("arrow"))
|
|
180
|
+
}, null, 2)) : (openBlock(), createElementBlock("div", {
|
|
181
|
+
key: 1,
|
|
182
|
+
class: normalizeClass([unref(ns).e("description"), unref(ns).is(unref(currentStatus))])
|
|
183
|
+
}, [
|
|
184
|
+
renderSlot(_ctx.$slots, "description", {}, () => [
|
|
185
|
+
createTextVNode(toDisplayString(_ctx.description), 1)
|
|
186
|
+
])
|
|
187
|
+
], 2))
|
|
188
|
+
], 2)
|
|
189
|
+
], 6);
|
|
190
|
+
};
|
|
21
191
|
}
|
|
22
192
|
});
|
|
193
|
+
var Step = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/steps/src/item.vue"]]);
|
|
23
194
|
|
|
24
|
-
export {
|
|
195
|
+
export { Step as default };
|
|
25
196
|
//# sourceMappingURL=item.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item.mjs","sources":["../../../../../../packages/components/steps/src/item.
|
|
1
|
+
{"version":3,"file":"item.mjs","sources":["../../../../../../packages/components/steps/src/item.vue"],"sourcesContent":["<template>\n <div\n :style=\"style\"\n :class=\"[\n ns.b(),\n ns.is(isSimple ? 'simple' : parent.props.direction),\n ns.is('flex', isLast && !space && !isCenter),\n ns.is('center', isCenter && !isVertical && !isSimple),\n ]\"\n >\n <!-- icon & line -->\n <div :class=\"[ns.e('head'), ns.is(currentStatus)]\">\n <div v-if=\"!isSimple\" :class=\"ns.e('line')\">\n <i :class=\"ns.e('line-inner')\" :style=\"lineStyle\" />\n </div>\n\n <div\n :class=\"[ns.e('icon'), ns.is(icon || $slots.icon ? 'icon' : 'text')]\"\n >\n <slot name=\"icon\">\n <el-icon v-if=\"icon\" :class=\"ns.e('icon-inner')\">\n <component :is=\"icon\" />\n </el-icon>\n <el-icon\n v-else-if=\"currentStatus === 'success'\"\n :class=\"[ns.e('icon-inner'), ns.is('status')]\"\n >\n <Check />\n </el-icon>\n <el-icon\n v-else-if=\"currentStatus === 'error'\"\n :class=\"[ns.e('icon-inner'), ns.is('status')]\"\n >\n <Close />\n </el-icon>\n <div v-else-if=\"!isSimple\" :class=\"ns.e('icon-inner')\">\n {{ index + 1 }}\n </div>\n </slot>\n </div>\n </div>\n <!-- title & description -->\n <div :class=\"ns.e('main')\">\n <div :class=\"[ns.e('title'), ns.is(currentStatus)]\">\n <slot name=\"title\">{{ title }}</slot>\n </div>\n <div v-if=\"isSimple\" :class=\"ns.e('arrow')\" />\n <div v-else :class=\"[ns.e('description'), ns.is(currentStatus)]\">\n <slot name=\"description\">{{ description }}</slot>\n </div>\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport {\n computed,\n getCurrentInstance,\n inject,\n onBeforeUnmount,\n onMounted,\n reactive,\n ref,\n watch,\n} from 'vue'\nimport { useNamespace } from '@element-plus/hooks'\nimport { ElIcon } from '@element-plus/components/icon'\nimport { Check, Close } from '@element-plus/icons-vue'\nimport { stepProps } from './item'\n\nimport type { CSSProperties, Ref } from 'vue'\n\nexport interface IStepsProps {\n space: number | string\n active: number\n direction: string\n alignCenter: boolean\n simple: boolean\n finishStatus: string\n processStatus: string\n}\n\nexport interface StepItemState {\n uid: number | undefined\n currentStatus: string\n setIndex: (val: number) => void\n calcProgress: (status: string) => void\n}\n\nexport interface IStepsInject {\n props: IStepsProps\n steps: Ref<StepItemState[]>\n}\n\ndefineOptions({\n name: 'ElStep',\n})\n\nconst props = defineProps(stepProps)\nconst ns = useNamespace('step')\nconst index = ref(-1)\nconst lineStyle = ref({})\nconst internalStatus = ref('')\nconst parent = inject('ElSteps') as IStepsInject\nconst currentInstance = getCurrentInstance()\n\nonMounted(() => {\n watch(\n [\n () => parent.props.active,\n () => parent.props.processStatus,\n () => parent.props.finishStatus,\n ],\n ([active]) => {\n updateStatus(active)\n },\n { immediate: true }\n )\n})\n\nonBeforeUnmount(() => {\n parent.steps.value = parent.steps.value.filter(\n (instance) => instance.uid !== currentInstance?.uid\n )\n})\n\nconst currentStatus = computed(() => {\n return props.status || internalStatus.value\n})\n\nconst prevStatus = computed(() => {\n const prevStep = parent.steps.value[index.value - 1]\n return prevStep ? prevStep.currentStatus : 'wait'\n})\n\nconst isCenter = computed(() => {\n return parent.props.alignCenter\n})\n\nconst isVertical = computed(() => {\n return parent.props.direction === 'vertical'\n})\n\nconst isSimple = computed(() => {\n return parent.props.simple\n})\n\nconst stepsCount = computed(() => {\n return parent.steps.value.length\n})\n\nconst isLast = computed(() => {\n return parent.steps.value[stepsCount.value - 1]?.uid === currentInstance?.uid\n})\n\nconst space = computed(() => {\n return isSimple.value ? '' : parent.props.space\n})\n\nconst style = computed(() => {\n const style: CSSProperties = {\n flexBasis:\n typeof space.value === 'number'\n ? `${space.value}px`\n : space.value\n ? space.value\n : `${100 / (stepsCount.value - (isCenter.value ? 0 : 1))}%`,\n }\n if (isVertical.value) return style\n if (isLast.value) {\n style.maxWidth = `${100 / stepsCount.value}%`\n }\n return style\n})\n\nconst setIndex = (val: number) => {\n index.value = val\n}\n\nconst calcProgress = (status: string) => {\n let step = 100\n const style: CSSProperties = {}\n style.transitionDelay = `${150 * index.value}ms`\n if (status === parent.props.processStatus) {\n step = 0\n } else if (status === 'wait') {\n step = 0\n style.transitionDelay = `${-150 * index.value}ms`\n }\n style.borderWidth = step && !isSimple.value ? '1px' : 0\n style[parent.props.direction === 'vertical' ? 'height' : 'width'] = `${step}%`\n lineStyle.value = style\n}\n\nconst updateStatus = (activeIndex: number) => {\n if (activeIndex > index.value) {\n internalStatus.value = parent.props.finishStatus\n } else if (activeIndex === index.value && prevStatus.value !== 'error') {\n internalStatus.value = parent.props.processStatus\n } else {\n internalStatus.value = 'wait'\n }\n const prevChild = parent.steps.value[index.value - 1]\n if (prevChild) prevChild.calcProgress(internalStatus.value)\n}\n\nconst stepItemState = reactive({\n uid: computed(() => currentInstance?.uid),\n currentStatus,\n setIndex,\n calcProgress,\n})\n\nparent.steps.value = [...parent.steps.value, stepItemState]\n</script>\n"],"names":[],"mappings":"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"}
|