element-plus 2.2.25 → 2.2.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/attributes.json +1 -1
- package/dist/index.css +1 -1
- package/dist/index.full.js +772 -463
- package/dist/index.full.min.js +17 -17
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +20 -20
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +767 -463
- package/dist/locale/af.js +1 -1
- package/dist/locale/af.min.js +1 -1
- package/dist/locale/af.min.mjs +1 -1
- package/dist/locale/af.mjs +1 -1
- package/dist/locale/ar.js +1 -1
- package/dist/locale/ar.min.js +1 -1
- package/dist/locale/ar.min.mjs +1 -1
- package/dist/locale/ar.mjs +1 -1
- package/dist/locale/az.js +1 -1
- package/dist/locale/az.min.js +1 -1
- package/dist/locale/az.min.mjs +1 -1
- package/dist/locale/az.mjs +1 -1
- package/dist/locale/bg.js +1 -1
- package/dist/locale/bg.min.js +1 -1
- package/dist/locale/bg.min.mjs +1 -1
- package/dist/locale/bg.mjs +1 -1
- package/dist/locale/bn.js +1 -1
- package/dist/locale/bn.min.js +1 -1
- package/dist/locale/bn.min.mjs +1 -1
- package/dist/locale/bn.mjs +1 -1
- package/dist/locale/ca.js +1 -1
- package/dist/locale/ca.min.js +1 -1
- package/dist/locale/ca.min.mjs +1 -1
- package/dist/locale/ca.mjs +1 -1
- package/dist/locale/ckb.js +168 -0
- package/dist/locale/ckb.min.js +2 -0
- package/dist/locale/ckb.min.js.map +1 -0
- package/dist/locale/ckb.min.mjs +2 -0
- package/dist/locale/ckb.min.mjs.map +1 -0
- package/dist/locale/ckb.mjs +160 -0
- 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/component.mjs +4 -0
- package/es/component.mjs.map +1 -1
- package/es/components/backtop/src/backtop.d.ts +12 -0
- package/es/components/backtop/src/backtop.mjs.map +1 -1
- package/es/components/badge/index.d.ts +1 -0
- package/es/components/badge/index.mjs.map +1 -1
- package/es/components/badge/src/badge.d.ts +0 -2
- package/es/components/badge/src/badge.mjs.map +1 -1
- package/es/components/badge/src/instance.d.ts +2 -0
- package/es/components/badge/src/instance.mjs +2 -0
- package/es/components/badge/src/instance.mjs.map +1 -0
- package/es/components/breadcrumb/index.d.ts +1 -0
- package/es/components/breadcrumb/index.mjs.map +1 -1
- package/es/components/breadcrumb/src/breadcrumb-item.d.ts +0 -2
- package/es/components/breadcrumb/src/breadcrumb-item.mjs.map +1 -1
- package/es/components/breadcrumb/src/breadcrumb.d.ts +0 -2
- package/es/components/breadcrumb/src/breadcrumb.mjs.map +1 -1
- package/es/components/breadcrumb/src/instances.d.ts +4 -0
- package/es/components/breadcrumb/src/instances.mjs +2 -0
- package/es/components/breadcrumb/src/instances.mjs.map +1 -0
- package/es/components/card/index.d.ts +1 -0
- package/es/components/card/index.mjs.map +1 -1
- package/es/components/card/src/card.d.ts +0 -2
- package/es/components/card/src/card.mjs.map +1 -1
- package/es/components/card/src/instance.d.ts +2 -0
- package/es/components/card/src/instance.mjs +2 -0
- package/es/components/card/src/instance.mjs.map +1 -0
- package/es/components/checkbox/index.d.ts +24 -20
- package/es/components/checkbox/src/checkbox-button.mjs +10 -7
- package/es/components/checkbox/src/checkbox-button.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox-button.vue.d.ts +1 -0
- package/es/components/checkbox/src/checkbox-group.d.ts +3 -2
- package/es/components/checkbox/src/checkbox-group.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox-group.vue.d.ts +14 -14
- package/es/components/checkbox/src/checkbox-group2.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox.d.ts +42 -0
- package/es/components/checkbox/src/checkbox.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox.vue.d.ts +2 -0
- package/es/components/checkbox/src/checkbox2.mjs +21 -15
- package/es/components/checkbox/src/checkbox2.mjs.map +1 -1
- package/es/components/color-picker/index.d.ts +1 -0
- package/es/components/color-picker/src/color-picker.mjs.map +1 -1
- package/es/components/color-picker/src/color-picker.vue.d.ts +1 -0
- package/es/components/color-picker/src/color-picker2.mjs +8 -5
- package/es/components/color-picker/src/color-picker2.mjs.map +1 -1
- package/es/components/config-provider/src/config-provider.mjs.map +1 -1
- package/es/components/countdown/index.d.ts +134 -0
- package/es/components/countdown/index.mjs +9 -0
- package/es/components/countdown/index.mjs.map +1 -0
- package/es/components/countdown/src/countdown.d.ts +23 -0
- package/es/components/countdown/src/countdown.mjs +29 -0
- package/es/components/countdown/src/countdown.mjs.map +1 -0
- package/es/components/countdown/src/countdown.vue.d.ts +133 -0
- package/es/components/countdown/src/countdown2.mjs +80 -0
- package/es/components/countdown/src/countdown2.mjs.map +1 -0
- package/es/components/countdown/src/utils.d.ts +3 -0
- package/es/components/countdown/src/utils.mjs +32 -0
- package/es/components/countdown/src/utils.mjs.map +1 -0
- package/es/components/countdown/style/css.d.ts +2 -0
- package/es/components/countdown/style/css.mjs +3 -0
- package/es/components/countdown/style/css.mjs.map +1 -0
- package/es/components/countdown/style/index.d.ts +2 -0
- package/es/components/countdown/style/index.mjs +3 -0
- package/es/components/countdown/style/index.mjs.map +1 -0
- package/es/components/date-picker/src/composables/use-range-picker.d.ts +1 -1
- package/es/components/date-picker/src/date-picker-com/basic-date-table.mjs +3 -3
- 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 +4 -4
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.mjs +4 -1
- 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 +8 -7
- package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +9 -9
- package/es/components/date-picker/src/date-picker-com/panel-month-range.vue.d.ts +3 -3
- package/es/components/date-picker/src/panel-utils.d.ts +20 -19
- package/es/components/focus-trap/src/focus-trap.mjs +1 -1
- package/es/components/focus-trap/src/focus-trap.mjs.map +1 -1
- package/es/components/focus-trap/src/utils.mjs +0 -4
- package/es/components/focus-trap/src/utils.mjs.map +1 -1
- package/es/components/image/index.d.ts +8 -0
- package/es/components/image/src/image.d.ts +1 -0
- package/es/components/image/src/image.mjs +4 -0
- package/es/components/image/src/image.mjs.map +1 -1
- package/es/components/image/src/image.vue.d.ts +8 -0
- package/es/components/image/src/image2.mjs +2 -1
- package/es/components/image/src/image2.mjs.map +1 -1
- package/es/components/image-viewer/index.d.ts +4 -0
- package/es/components/image-viewer/src/image-viewer.d.ts +1 -0
- package/es/components/image-viewer/src/image-viewer.mjs +4 -0
- package/es/components/image-viewer/src/image-viewer.mjs.map +1 -1
- package/es/components/image-viewer/src/image-viewer.vue.d.ts +4 -0
- package/es/components/image-viewer/src/image-viewer2.mjs +3 -3
- package/es/components/image-viewer/src/image-viewer2.mjs.map +1 -1
- package/es/components/index.d.ts +2 -0
- package/es/components/index.mjs +4 -0
- package/es/components/index.mjs.map +1 -1
- package/es/components/input-number/src/input-number2.mjs +3 -3
- package/es/components/input-number/src/input-number2.mjs.map +1 -1
- package/es/components/menu/index.d.ts +3 -8
- package/es/components/menu/src/menu-item.vue.d.ts +0 -4
- package/es/components/menu/src/menu-item2.mjs +1 -4
- package/es/components/menu/src/menu-item2.mjs.map +1 -1
- package/es/components/menu/src/menu.d.ts +4 -0
- package/es/components/menu/src/menu.mjs +5 -0
- package/es/components/menu/src/menu.mjs.map +1 -1
- package/es/components/notification/src/notify.mjs +1 -1
- package/es/components/notification/src/notify.mjs.map +1 -1
- package/es/components/pagination/src/pagination.mjs +8 -7
- package/es/components/pagination/src/pagination.mjs.map +1 -1
- package/es/components/select-v2/index.d.ts +2 -0
- package/es/components/select-v2/src/select.mjs +21 -4
- package/es/components/select-v2/src/select.mjs.map +1 -1
- package/es/components/select-v2/src/select.vue.d.ts +499 -498
- package/es/components/statistic/index.d.ts +76 -0
- package/es/components/statistic/index.mjs +9 -0
- package/es/components/statistic/index.mjs.map +1 -0
- package/es/components/statistic/src/statistic.d.ts +21 -0
- package/es/components/statistic/src/statistic.mjs +31 -0
- package/es/components/statistic/src/statistic.mjs.map +1 -0
- package/es/components/statistic/src/statistic.vue.d.ts +75 -0
- package/es/components/statistic/src/statistic2.mjs +76 -0
- package/es/components/statistic/src/statistic2.mjs.map +1 -0
- package/es/components/statistic/style/css.d.ts +2 -0
- package/es/components/statistic/style/css.mjs +3 -0
- package/es/components/statistic/style/css.mjs.map +1 -0
- package/es/components/statistic/style/index.d.ts +2 -0
- package/es/components/statistic/style/index.mjs +3 -0
- package/es/components/statistic/style/index.mjs.map +1 -0
- package/es/components/steps/index.d.ts +16 -16
- package/es/components/steps/src/item.d.ts +1 -1
- package/es/components/steps/src/item.vue.d.ts +4 -4
- package/es/components/steps/src/steps.d.ts +2 -2
- package/es/components/steps/src/steps.vue.d.ts +8 -8
- package/es/components/table/src/store/index.mjs +6 -3
- package/es/components/table/src/store/index.mjs.map +1 -1
- package/es/components/table/src/table-body/events-helper.mjs +1 -1
- package/es/components/table/src/table-body/events-helper.mjs.map +1 -1
- package/es/components/tabs/src/tab-bar2.mjs +3 -8
- package/es/components/tabs/src/tab-bar2.mjs.map +1 -1
- package/es/components/time-picker/src/composables/use-time-picker.d.ts +2 -2
- package/es/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +2 -2
- package/es/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +2 -2
- package/es/components/time-select/index.d.ts +2 -2
- package/es/components/time-select/src/time-select.vue.d.ts +1 -1
- package/es/components/transfer/index.d.ts +115 -110
- package/es/components/transfer/src/transfer-panel.d.ts +0 -1
- package/es/components/transfer/src/transfer-panel.mjs.map +1 -1
- package/es/components/transfer/src/transfer-panel.vue.d.ts +23 -22
- package/es/components/transfer/src/transfer-panel2.mjs +3 -6
- package/es/components/transfer/src/transfer-panel2.mjs.map +1 -1
- package/es/components/transfer/src/transfer.vue.d.ts +115 -110
- package/es/components/tree/src/tree-node-content.mjs +1 -3
- package/es/components/tree/src/tree-node-content.mjs.map +1 -1
- package/es/components/tree-select/src/cache-options.d.ts +20 -0
- package/es/components/tree-select/src/cache-options.mjs +27 -0
- package/es/components/tree-select/src/cache-options.mjs.map +1 -0
- package/es/components/tree-select/src/tree-select.mjs +18 -6
- package/es/components/tree-select/src/tree-select.mjs.map +1 -1
- package/es/components/tree-select/src/tree.mjs +17 -2
- package/es/components/tree-select/src/tree.mjs.map +1 -1
- package/es/components/tree-select/src/utils.d.ts +1 -0
- package/es/components/tree-select/src/utils.mjs +11 -1
- package/es/components/tree-select/src/utils.mjs.map +1 -1
- package/es/components/tree-v2/index.d.ts +13 -10
- package/es/components/tree-v2/src/tree-node.vue.d.ts +13 -10
- package/es/components/tree-v2/src/tree.vue.d.ts +13 -10
- package/es/index.mjs +4 -0
- package/es/index.mjs.map +1 -1
- package/es/locale/lang/ckb.d.ts +157 -0
- package/es/locale/lang/ckb.mjs +159 -0
- package/es/locale/lang/ckb.mjs.map +1 -0
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/component.js +38 -34
- package/lib/component.js.map +1 -1
- package/lib/components/backtop/src/backtop.d.ts +12 -0
- package/lib/components/backtop/src/backtop.js.map +1 -1
- package/lib/components/badge/index.d.ts +1 -0
- package/lib/components/badge/index.js.map +1 -1
- package/lib/components/badge/src/badge.d.ts +0 -2
- package/lib/components/badge/src/badge.js.map +1 -1
- package/lib/components/badge/src/instance.d.ts +2 -0
- package/lib/components/badge/src/instance.js +3 -0
- package/lib/components/badge/src/instance.js.map +1 -0
- package/lib/components/breadcrumb/index.d.ts +1 -0
- package/lib/components/breadcrumb/index.js.map +1 -1
- package/lib/components/breadcrumb/src/breadcrumb-item.d.ts +0 -2
- package/lib/components/breadcrumb/src/breadcrumb-item.js.map +1 -1
- package/lib/components/breadcrumb/src/breadcrumb.d.ts +0 -2
- package/lib/components/breadcrumb/src/breadcrumb.js.map +1 -1
- package/lib/components/breadcrumb/src/instances.d.ts +4 -0
- package/lib/components/breadcrumb/src/instances.js +3 -0
- package/lib/components/breadcrumb/src/instances.js.map +1 -0
- package/lib/components/card/index.d.ts +1 -0
- package/lib/components/card/index.js.map +1 -1
- package/lib/components/card/src/card.d.ts +0 -2
- package/lib/components/card/src/card.js.map +1 -1
- package/lib/components/card/src/instance.d.ts +2 -0
- package/lib/components/card/src/instance.js +3 -0
- package/lib/components/card/src/instance.js.map +1 -0
- package/lib/components/checkbox/index.d.ts +24 -20
- package/lib/components/checkbox/src/checkbox-button.js +10 -7
- package/lib/components/checkbox/src/checkbox-button.js.map +1 -1
- package/lib/components/checkbox/src/checkbox-button.vue.d.ts +1 -0
- package/lib/components/checkbox/src/checkbox-group.d.ts +3 -2
- package/lib/components/checkbox/src/checkbox-group.js.map +1 -1
- package/lib/components/checkbox/src/checkbox-group.vue.d.ts +14 -14
- package/lib/components/checkbox/src/checkbox-group2.js.map +1 -1
- package/lib/components/checkbox/src/checkbox.d.ts +42 -0
- package/lib/components/checkbox/src/checkbox.js.map +1 -1
- package/lib/components/checkbox/src/checkbox.vue.d.ts +2 -0
- package/lib/components/checkbox/src/checkbox2.js +20 -14
- package/lib/components/checkbox/src/checkbox2.js.map +1 -1
- package/lib/components/color-picker/index.d.ts +1 -0
- package/lib/components/color-picker/src/color-picker.js.map +1 -1
- package/lib/components/color-picker/src/color-picker.vue.d.ts +1 -0
- package/lib/components/color-picker/src/color-picker2.js +8 -5
- package/lib/components/color-picker/src/color-picker2.js.map +1 -1
- package/lib/components/config-provider/src/config-provider.js.map +1 -1
- package/lib/components/countdown/index.d.ts +134 -0
- package/lib/components/countdown/index.js +16 -0
- package/lib/components/countdown/index.js.map +1 -0
- package/lib/components/countdown/src/countdown.d.ts +23 -0
- package/lib/components/countdown/src/countdown.js +34 -0
- package/lib/components/countdown/src/countdown.js.map +1 -0
- package/lib/components/countdown/src/countdown.vue.d.ts +133 -0
- package/lib/components/countdown/src/countdown2.js +84 -0
- package/lib/components/countdown/src/countdown2.js.map +1 -0
- package/lib/components/countdown/src/utils.d.ts +3 -0
- package/lib/components/countdown/src/utils.js +37 -0
- package/lib/components/countdown/src/utils.js.map +1 -0
- package/lib/components/countdown/style/css.d.ts +2 -0
- package/lib/components/countdown/style/css.js +6 -0
- package/lib/components/countdown/style/css.js.map +1 -0
- package/lib/components/countdown/style/index.d.ts +2 -0
- package/lib/components/countdown/style/index.js +6 -0
- package/lib/components/countdown/style/index.js.map +1 -0
- package/lib/components/date-picker/src/composables/use-range-picker.d.ts +1 -1
- 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 +4 -4
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.js +4 -1
- 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 +8 -7
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +9 -9
- package/lib/components/date-picker/src/date-picker-com/panel-month-range.vue.d.ts +3 -3
- package/lib/components/date-picker/src/panel-utils.d.ts +20 -19
- package/lib/components/focus-trap/src/focus-trap.js +1 -1
- package/lib/components/focus-trap/src/focus-trap.js.map +1 -1
- package/lib/components/focus-trap/src/utils.js +0 -4
- package/lib/components/focus-trap/src/utils.js.map +1 -1
- package/lib/components/image/index.d.ts +8 -0
- package/lib/components/image/src/image.d.ts +1 -0
- package/lib/components/image/src/image.js +4 -0
- package/lib/components/image/src/image.js.map +1 -1
- package/lib/components/image/src/image.vue.d.ts +8 -0
- package/lib/components/image/src/image2.js +2 -1
- package/lib/components/image/src/image2.js.map +1 -1
- package/lib/components/image-viewer/index.d.ts +4 -0
- package/lib/components/image-viewer/src/image-viewer.d.ts +1 -0
- package/lib/components/image-viewer/src/image-viewer.js +4 -0
- package/lib/components/image-viewer/src/image-viewer.js.map +1 -1
- package/lib/components/image-viewer/src/image-viewer.vue.d.ts +4 -0
- package/lib/components/image-viewer/src/image-viewer2.js +3 -3
- package/lib/components/image-viewer/src/image-viewer2.js.map +1 -1
- package/lib/components/index.d.ts +2 -0
- package/lib/components/index.js +131 -122
- package/lib/components/index.js.map +1 -1
- package/lib/components/input-number/src/input-number2.js +3 -3
- package/lib/components/input-number/src/input-number2.js.map +1 -1
- package/lib/components/menu/index.d.ts +3 -8
- package/lib/components/menu/src/menu-item.vue.d.ts +0 -4
- package/lib/components/menu/src/menu-item2.js +1 -4
- package/lib/components/menu/src/menu-item2.js.map +1 -1
- package/lib/components/menu/src/menu.d.ts +4 -0
- package/lib/components/menu/src/menu.js +5 -0
- package/lib/components/menu/src/menu.js.map +1 -1
- package/lib/components/notification/src/notify.js +1 -1
- package/lib/components/notification/src/notify.js.map +1 -1
- package/lib/components/pagination/src/pagination.js +8 -7
- package/lib/components/pagination/src/pagination.js.map +1 -1
- package/lib/components/select-v2/index.d.ts +2 -0
- package/lib/components/select-v2/src/select.js +20 -3
- package/lib/components/select-v2/src/select.js.map +1 -1
- package/lib/components/select-v2/src/select.vue.d.ts +499 -498
- package/lib/components/statistic/index.d.ts +76 -0
- package/lib/components/statistic/index.js +15 -0
- package/lib/components/statistic/index.js.map +1 -0
- package/lib/components/statistic/src/statistic.d.ts +21 -0
- package/lib/components/statistic/src/statistic.js +35 -0
- package/lib/components/statistic/src/statistic.js.map +1 -0
- package/lib/components/statistic/src/statistic.vue.d.ts +75 -0
- package/lib/components/statistic/src/statistic2.js +80 -0
- package/lib/components/statistic/src/statistic2.js.map +1 -0
- package/lib/components/statistic/style/css.d.ts +2 -0
- package/lib/components/statistic/style/css.js +6 -0
- package/lib/components/statistic/style/css.js.map +1 -0
- package/lib/components/statistic/style/index.d.ts +2 -0
- package/lib/components/statistic/style/index.js +6 -0
- package/lib/components/statistic/style/index.js.map +1 -0
- package/lib/components/steps/index.d.ts +16 -16
- package/lib/components/steps/src/item.d.ts +1 -1
- package/lib/components/steps/src/item.vue.d.ts +4 -4
- package/lib/components/steps/src/steps.d.ts +2 -2
- package/lib/components/steps/src/steps.vue.d.ts +8 -8
- package/lib/components/table/src/store/index.js +6 -3
- package/lib/components/table/src/store/index.js.map +1 -1
- package/lib/components/table/src/table-body/events-helper.js +1 -1
- package/lib/components/table/src/table-body/events-helper.js.map +1 -1
- package/lib/components/tabs/src/tab-bar2.js +3 -8
- package/lib/components/tabs/src/tab-bar2.js.map +1 -1
- package/lib/components/time-picker/src/composables/use-time-picker.d.ts +2 -2
- package/lib/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +2 -2
- package/lib/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +2 -2
- package/lib/components/time-select/index.d.ts +2 -2
- package/lib/components/time-select/src/time-select.vue.d.ts +1 -1
- package/lib/components/transfer/index.d.ts +115 -110
- package/lib/components/transfer/src/transfer-panel.d.ts +0 -1
- package/lib/components/transfer/src/transfer-panel.js.map +1 -1
- package/lib/components/transfer/src/transfer-panel.vue.d.ts +23 -22
- package/lib/components/transfer/src/transfer-panel2.js +3 -6
- package/lib/components/transfer/src/transfer-panel2.js.map +1 -1
- package/lib/components/transfer/src/transfer.vue.d.ts +115 -110
- package/lib/components/tree/src/tree-node-content.js +1 -3
- package/lib/components/tree/src/tree-node-content.js.map +1 -1
- package/lib/components/tree-select/src/cache-options.d.ts +20 -0
- package/lib/components/tree-select/src/cache-options.js +31 -0
- package/lib/components/tree-select/src/cache-options.js.map +1 -0
- package/lib/components/tree-select/src/tree-select.js +18 -6
- package/lib/components/tree-select/src/tree-select.js.map +1 -1
- package/lib/components/tree-select/src/tree.js +16 -1
- package/lib/components/tree-select/src/tree.js.map +1 -1
- package/lib/components/tree-select/src/utils.d.ts +1 -0
- package/lib/components/tree-select/src/utils.js +11 -0
- package/lib/components/tree-select/src/utils.js.map +1 -1
- package/lib/components/tree-v2/index.d.ts +13 -10
- package/lib/components/tree-v2/src/tree-node.vue.d.ts +13 -10
- package/lib/components/tree-v2/src/tree.vue.d.ts +13 -10
- package/lib/index.js +220 -211
- package/lib/index.js.map +1 -1
- package/lib/locale/lang/ckb.d.ts +157 -0
- package/lib/locale/lang/ckb.js +163 -0
- package/lib/locale/lang/ckb.js.map +1 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +4 -4
- package/tags.json +1 -1
- package/theme-chalk/el-carousel.css +1 -1
- package/theme-chalk/el-cascader.css +1 -1
- package/theme-chalk/el-color-picker.css +1 -1
- package/theme-chalk/el-date-picker.css +1 -1
- package/theme-chalk/el-menu.css +1 -1
- package/theme-chalk/el-select.css +1 -1
- package/theme-chalk/el-statistic.css +1 -0
- package/theme-chalk/el-time-picker.css +1 -1
- package/theme-chalk/el-time-select.css +1 -1
- package/theme-chalk/el-tree.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/carousel.scss +1 -0
- package/theme-chalk/src/cascader.scss +0 -4
- package/theme-chalk/src/color-picker.scss +16 -2
- package/theme-chalk/src/common/var.scss +14 -1
- package/theme-chalk/src/date-picker/picker.scss +0 -4
- package/theme-chalk/src/index.scss +1 -0
- package/theme-chalk/src/menu.scss +6 -29
- package/theme-chalk/src/select.scss +0 -4
- package/theme-chalk/src/statistic.scss +35 -0
- package/theme-chalk/src/tree.scss +1 -4
- package/web-types.json +1 -1
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
export declare const ElStatistic: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
2
|
+
readonly decimalSeparator: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, ".", boolean>;
|
|
3
|
+
readonly groupSeparator: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, ",", boolean>;
|
|
4
|
+
readonly precision: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
5
|
+
readonly formatter: FunctionConstructor;
|
|
6
|
+
readonly value: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (number | import("dayjs").Dayjs) & {}) | (() => number | import("dayjs").Dayjs) | ((new (...args: any[]) => (number | import("dayjs").Dayjs) & {}) | (() => number | import("dayjs").Dayjs))[], unknown, unknown, 0, boolean>;
|
|
7
|
+
readonly prefix: StringConstructor;
|
|
8
|
+
readonly suffix: StringConstructor;
|
|
9
|
+
readonly title: StringConstructor;
|
|
10
|
+
readonly valueStyle: {
|
|
11
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue) | ((new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue))[], unknown, unknown>>;
|
|
12
|
+
readonly required: false;
|
|
13
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
14
|
+
__epPropKey: true;
|
|
15
|
+
};
|
|
16
|
+
}, {
|
|
17
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
+
readonly decimalSeparator: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, ".", boolean>;
|
|
19
|
+
readonly groupSeparator: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, ",", boolean>;
|
|
20
|
+
readonly precision: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
21
|
+
readonly formatter: FunctionConstructor;
|
|
22
|
+
readonly value: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (number | import("dayjs").Dayjs) & {}) | (() => number | import("dayjs").Dayjs) | ((new (...args: any[]) => (number | import("dayjs").Dayjs) & {}) | (() => number | import("dayjs").Dayjs))[], unknown, unknown, 0, boolean>;
|
|
23
|
+
readonly prefix: StringConstructor;
|
|
24
|
+
readonly suffix: StringConstructor;
|
|
25
|
+
readonly title: StringConstructor;
|
|
26
|
+
readonly valueStyle: {
|
|
27
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue) | ((new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue))[], unknown, unknown>>;
|
|
28
|
+
readonly required: false;
|
|
29
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
30
|
+
__epPropKey: true;
|
|
31
|
+
};
|
|
32
|
+
}>> & {
|
|
33
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
34
|
+
}>>;
|
|
35
|
+
ns: {
|
|
36
|
+
namespace: import("vue").Ref<string>;
|
|
37
|
+
b: (blockSuffix?: string) => string;
|
|
38
|
+
e: (element?: string | undefined) => string;
|
|
39
|
+
m: (modifier?: string | undefined) => string;
|
|
40
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
41
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
42
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
43
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
44
|
+
is: {
|
|
45
|
+
(name: string, state: boolean | undefined): string;
|
|
46
|
+
(name: string): string;
|
|
47
|
+
};
|
|
48
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
49
|
+
cssVarName: (name: string) => string;
|
|
50
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
51
|
+
cssVarBlockName: (name: string) => string;
|
|
52
|
+
};
|
|
53
|
+
displayValue: import("vue").ComputedRef<any>;
|
|
54
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
55
|
+
readonly decimalSeparator: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, ".", boolean>;
|
|
56
|
+
readonly groupSeparator: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, ",", boolean>;
|
|
57
|
+
readonly precision: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
58
|
+
readonly formatter: FunctionConstructor;
|
|
59
|
+
readonly value: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (number | import("dayjs").Dayjs) & {}) | (() => number | import("dayjs").Dayjs) | ((new (...args: any[]) => (number | import("dayjs").Dayjs) & {}) | (() => number | import("dayjs").Dayjs))[], unknown, unknown, 0, boolean>;
|
|
60
|
+
readonly prefix: StringConstructor;
|
|
61
|
+
readonly suffix: StringConstructor;
|
|
62
|
+
readonly title: StringConstructor;
|
|
63
|
+
readonly valueStyle: {
|
|
64
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue) | ((new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue))[], unknown, unknown>>;
|
|
65
|
+
readonly required: false;
|
|
66
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
67
|
+
__epPropKey: true;
|
|
68
|
+
};
|
|
69
|
+
}>>, {
|
|
70
|
+
readonly value: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (number | import("dayjs").Dayjs) & {}) | (() => number | import("dayjs").Dayjs) | ((new (...args: any[]) => (number | import("dayjs").Dayjs) & {}) | (() => number | import("dayjs").Dayjs))[], unknown, unknown>;
|
|
71
|
+
readonly decimalSeparator: string;
|
|
72
|
+
readonly groupSeparator: string;
|
|
73
|
+
readonly precision: number;
|
|
74
|
+
}>> & Record<string, any>;
|
|
75
|
+
export default ElStatistic;
|
|
76
|
+
export * from './src/statistic';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
require('../../utils/index.js');
|
|
6
|
+
var statistic$1 = require('./src/statistic2.js');
|
|
7
|
+
var statistic = require('./src/statistic.js');
|
|
8
|
+
var install = require('../../utils/vue/install.js');
|
|
9
|
+
|
|
10
|
+
const ElStatistic = install.withInstall(statistic$1["default"]);
|
|
11
|
+
|
|
12
|
+
exports.statisticProps = statistic.statisticProps;
|
|
13
|
+
exports.ElStatistic = ElStatistic;
|
|
14
|
+
exports["default"] = ElStatistic;
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../packages/components/statistic/index.ts"],"sourcesContent":["import { withInstall } from '@element-plus/utils'\nimport Statistic from './src/statistic.vue'\n\nexport const ElStatistic = withInstall(Statistic)\n\nexport default ElStatistic\nexport * from './src/statistic'\n"],"names":["withInstall","Statistic"],"mappings":";;;;;;;;;AAEY,MAAC,WAAW,GAAGA,mBAAW,CAACC,sBAAS;;;;;;"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { ExtractPropTypes, StyleValue } from 'vue';
|
|
2
|
+
import type { Dayjs } from 'dayjs';
|
|
3
|
+
import type Statistic from './statistic.vue';
|
|
4
|
+
export declare const statisticProps: {
|
|
5
|
+
readonly decimalSeparator: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, ".", boolean>;
|
|
6
|
+
readonly groupSeparator: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, ",", boolean>;
|
|
7
|
+
readonly precision: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
8
|
+
readonly formatter: FunctionConstructor;
|
|
9
|
+
readonly value: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (number | Dayjs) & {}) | (() => number | Dayjs) | ((new (...args: any[]) => (number | Dayjs) & {}) | (() => number | Dayjs))[], unknown, unknown, 0, boolean>;
|
|
10
|
+
readonly prefix: StringConstructor;
|
|
11
|
+
readonly suffix: StringConstructor;
|
|
12
|
+
readonly title: StringConstructor;
|
|
13
|
+
readonly valueStyle: {
|
|
14
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => StyleValue & {}) | (() => StyleValue) | ((new (...args: any[]) => StyleValue & {}) | (() => StyleValue))[], unknown, unknown>>;
|
|
15
|
+
readonly required: false;
|
|
16
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
17
|
+
__epPropKey: true;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export declare type StatisticProps = ExtractPropTypes<typeof statisticProps>;
|
|
21
|
+
export declare type StatisticInstance = InstanceType<typeof Statistic>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
require('../../../utils/index.js');
|
|
6
|
+
var runtime = require('../../../utils/vue/props/runtime.js');
|
|
7
|
+
|
|
8
|
+
const statisticProps = runtime.buildProps({
|
|
9
|
+
decimalSeparator: {
|
|
10
|
+
type: String,
|
|
11
|
+
default: "."
|
|
12
|
+
},
|
|
13
|
+
groupSeparator: {
|
|
14
|
+
type: String,
|
|
15
|
+
default: ","
|
|
16
|
+
},
|
|
17
|
+
precision: {
|
|
18
|
+
type: Number,
|
|
19
|
+
default: 0
|
|
20
|
+
},
|
|
21
|
+
formatter: Function,
|
|
22
|
+
value: {
|
|
23
|
+
type: runtime.definePropType([Number, Object]),
|
|
24
|
+
default: 0
|
|
25
|
+
},
|
|
26
|
+
prefix: String,
|
|
27
|
+
suffix: String,
|
|
28
|
+
title: String,
|
|
29
|
+
valueStyle: {
|
|
30
|
+
type: runtime.definePropType([String, Object, Array])
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
exports.statisticProps = statisticProps;
|
|
35
|
+
//# sourceMappingURL=statistic.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"statistic.js","sources":["../../../../../../packages/components/statistic/src/statistic.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\n\nimport type { ExtractPropTypes, StyleValue } from 'vue'\nimport type { Dayjs } from 'dayjs'\nimport type Statistic from './statistic.vue'\n\nexport const statisticProps = buildProps({\n /**\n * @description Setting the decimal point\n */\n decimalSeparator: {\n type: String,\n default: '.',\n },\n /**\n * @description Sets the thousandth identifier\n */\n groupSeparator: {\n type: String,\n default: ',',\n },\n /**\n * @description numerical precision\n */\n precision: {\n type: Number,\n default: 0,\n },\n /**\n * @description Custom numerical presentation\n */\n formatter: Function,\n /**\n * @description Numerical content\n */\n value: {\n type: definePropType<number | Dayjs>([Number, Object]),\n default: 0,\n },\n /**\n * @description Sets the prefix of a number\n */\n prefix: String,\n\n /**\n * @description Sets the suffix of a number\n */\n suffix: String,\n /**\n * @description Numeric titles\n */\n title: String,\n /**\n * @description Styles numeric values\n */\n valueStyle: {\n type: definePropType<StyleValue>([String, Object, Array]),\n },\n} as const)\nexport type StatisticProps = ExtractPropTypes<typeof statisticProps>\n\nexport type StatisticInstance = InstanceType<typeof Statistic>\n"],"names":["buildProps","definePropType"],"mappings":";;;;;;;AACY,MAAC,cAAc,GAAGA,kBAAU,CAAC;AACzC,EAAE,gBAAgB,EAAE;AACpB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,GAAG;AAChB,GAAG;AACH,EAAE,cAAc,EAAE;AAClB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,GAAG;AAChB,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,SAAS,EAAE,QAAQ;AACrB,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAEC,sBAAc,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC1C,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,MAAM,EAAE,MAAM;AAChB,EAAE,MAAM,EAAE,MAAM;AAChB,EAAE,KAAK,EAAE,MAAM;AACf,EAAE,UAAU,EAAE;AACd,IAAI,IAAI,EAAEA,sBAAc,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC;AACjD,GAAG;AACH,CAAC;;;;"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
readonly decimalSeparator: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, ".", boolean>;
|
|
3
|
+
readonly groupSeparator: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, ",", boolean>;
|
|
4
|
+
readonly precision: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
5
|
+
readonly formatter: FunctionConstructor;
|
|
6
|
+
readonly value: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (number | import("dayjs").Dayjs) & {}) | (() => number | import("dayjs").Dayjs) | ((new (...args: any[]) => (number | import("dayjs").Dayjs) & {}) | (() => number | import("dayjs").Dayjs))[], unknown, unknown, 0, boolean>;
|
|
7
|
+
readonly prefix: StringConstructor;
|
|
8
|
+
readonly suffix: StringConstructor;
|
|
9
|
+
readonly title: StringConstructor;
|
|
10
|
+
readonly valueStyle: {
|
|
11
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue) | ((new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue))[], unknown, unknown>>;
|
|
12
|
+
readonly required: false;
|
|
13
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
14
|
+
__epPropKey: true;
|
|
15
|
+
};
|
|
16
|
+
}, {
|
|
17
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
+
readonly decimalSeparator: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, ".", boolean>;
|
|
19
|
+
readonly groupSeparator: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, ",", boolean>;
|
|
20
|
+
readonly precision: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
21
|
+
readonly formatter: FunctionConstructor;
|
|
22
|
+
readonly value: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (number | import("dayjs").Dayjs) & {}) | (() => number | import("dayjs").Dayjs) | ((new (...args: any[]) => (number | import("dayjs").Dayjs) & {}) | (() => number | import("dayjs").Dayjs))[], unknown, unknown, 0, boolean>;
|
|
23
|
+
readonly prefix: StringConstructor;
|
|
24
|
+
readonly suffix: StringConstructor;
|
|
25
|
+
readonly title: StringConstructor;
|
|
26
|
+
readonly valueStyle: {
|
|
27
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue) | ((new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue))[], unknown, unknown>>;
|
|
28
|
+
readonly required: false;
|
|
29
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
30
|
+
__epPropKey: true;
|
|
31
|
+
};
|
|
32
|
+
}>> & {
|
|
33
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
34
|
+
}>>;
|
|
35
|
+
ns: {
|
|
36
|
+
namespace: import("vue").Ref<string>;
|
|
37
|
+
b: (blockSuffix?: string) => string;
|
|
38
|
+
e: (element?: string | undefined) => string;
|
|
39
|
+
m: (modifier?: string | undefined) => string;
|
|
40
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
41
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
42
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
43
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
44
|
+
is: {
|
|
45
|
+
(name: string, state: boolean | undefined): string;
|
|
46
|
+
(name: string): string;
|
|
47
|
+
};
|
|
48
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
49
|
+
cssVarName: (name: string) => string;
|
|
50
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
51
|
+
cssVarBlockName: (name: string) => string;
|
|
52
|
+
};
|
|
53
|
+
displayValue: import("vue").ComputedRef<any>;
|
|
54
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
55
|
+
readonly decimalSeparator: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, ".", boolean>;
|
|
56
|
+
readonly groupSeparator: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, ",", boolean>;
|
|
57
|
+
readonly precision: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
58
|
+
readonly formatter: FunctionConstructor;
|
|
59
|
+
readonly value: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (number | import("dayjs").Dayjs) & {}) | (() => number | import("dayjs").Dayjs) | ((new (...args: any[]) => (number | import("dayjs").Dayjs) & {}) | (() => number | import("dayjs").Dayjs))[], unknown, unknown, 0, boolean>;
|
|
60
|
+
readonly prefix: StringConstructor;
|
|
61
|
+
readonly suffix: StringConstructor;
|
|
62
|
+
readonly title: StringConstructor;
|
|
63
|
+
readonly valueStyle: {
|
|
64
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue) | ((new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue))[], unknown, unknown>>;
|
|
65
|
+
readonly required: false;
|
|
66
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
67
|
+
__epPropKey: true;
|
|
68
|
+
};
|
|
69
|
+
}>>, {
|
|
70
|
+
readonly value: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (number | import("dayjs").Dayjs) & {}) | (() => number | import("dayjs").Dayjs) | ((new (...args: any[]) => (number | import("dayjs").Dayjs) & {}) | (() => number | import("dayjs").Dayjs))[], unknown, unknown>;
|
|
71
|
+
readonly decimalSeparator: string;
|
|
72
|
+
readonly groupSeparator: string;
|
|
73
|
+
readonly precision: number;
|
|
74
|
+
}>;
|
|
75
|
+
export default _default;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var vue = require('vue');
|
|
6
|
+
require('../../../hooks/index.js');
|
|
7
|
+
require('../../../utils/index.js');
|
|
8
|
+
var statistic = require('./statistic.js');
|
|
9
|
+
var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
|
|
10
|
+
var index = require('../../../hooks/use-namespace/index.js');
|
|
11
|
+
var shared = require('@vue/shared');
|
|
12
|
+
var core = require('@vueuse/core');
|
|
13
|
+
|
|
14
|
+
const __default__ = vue.defineComponent({
|
|
15
|
+
name: "ElStatistic"
|
|
16
|
+
});
|
|
17
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
18
|
+
...__default__,
|
|
19
|
+
props: statistic.statisticProps,
|
|
20
|
+
setup(__props, { expose }) {
|
|
21
|
+
const props = __props;
|
|
22
|
+
const ns = index.useNamespace("statistic");
|
|
23
|
+
const displayValue = vue.computed(() => {
|
|
24
|
+
const { value, formatter, precision, decimalSeparator, groupSeparator } = props;
|
|
25
|
+
if (shared.isFunction(formatter))
|
|
26
|
+
return formatter(value);
|
|
27
|
+
if (!core.isNumber(value))
|
|
28
|
+
return value;
|
|
29
|
+
let [integer, decimal = ""] = String(value).split(".");
|
|
30
|
+
decimal = decimal.padEnd(precision, "0").slice(0, precision > 0 ? precision : 0);
|
|
31
|
+
integer = integer.replace(/\B(?=(\d{3})+(?!\d))/g, groupSeparator);
|
|
32
|
+
return [integer, decimal].join(decimal ? decimalSeparator : "");
|
|
33
|
+
});
|
|
34
|
+
expose({
|
|
35
|
+
displayValue
|
|
36
|
+
});
|
|
37
|
+
return (_ctx, _cache) => {
|
|
38
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
39
|
+
class: vue.normalizeClass(vue.unref(ns).b())
|
|
40
|
+
}, [
|
|
41
|
+
_ctx.$slots.title || _ctx.title ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
42
|
+
key: 0,
|
|
43
|
+
class: vue.normalizeClass(vue.unref(ns).e("head"))
|
|
44
|
+
}, [
|
|
45
|
+
vue.renderSlot(_ctx.$slots, "title", {}, () => [
|
|
46
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.title), 1)
|
|
47
|
+
])
|
|
48
|
+
], 2)) : vue.createCommentVNode("v-if", true),
|
|
49
|
+
vue.createElementVNode("div", {
|
|
50
|
+
class: vue.normalizeClass(vue.unref(ns).e("content"))
|
|
51
|
+
}, [
|
|
52
|
+
_ctx.$slots.prefix || _ctx.prefix ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
53
|
+
key: 0,
|
|
54
|
+
class: vue.normalizeClass(vue.unref(ns).e("prefix"))
|
|
55
|
+
}, [
|
|
56
|
+
vue.renderSlot(_ctx.$slots, "prefix", {}, () => [
|
|
57
|
+
vue.createElementVNode("span", null, vue.toDisplayString(_ctx.prefix), 1)
|
|
58
|
+
])
|
|
59
|
+
], 2)) : vue.createCommentVNode("v-if", true),
|
|
60
|
+
vue.createElementVNode("span", {
|
|
61
|
+
class: vue.normalizeClass(vue.unref(ns).e("number")),
|
|
62
|
+
style: vue.normalizeStyle(_ctx.valueStyle)
|
|
63
|
+
}, vue.toDisplayString(vue.unref(displayValue)), 7),
|
|
64
|
+
_ctx.$slots.suffix || _ctx.suffix ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
65
|
+
key: 1,
|
|
66
|
+
class: vue.normalizeClass(vue.unref(ns).e("suffix"))
|
|
67
|
+
}, [
|
|
68
|
+
vue.renderSlot(_ctx.$slots, "suffix", {}, () => [
|
|
69
|
+
vue.createElementVNode("span", null, vue.toDisplayString(_ctx.suffix), 1)
|
|
70
|
+
])
|
|
71
|
+
], 2)) : vue.createCommentVNode("v-if", true)
|
|
72
|
+
], 2)
|
|
73
|
+
], 2);
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
var Statistic = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/statistic/src/statistic.vue"]]);
|
|
78
|
+
|
|
79
|
+
exports["default"] = Statistic;
|
|
80
|
+
//# sourceMappingURL=statistic2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"statistic2.js","sources":["../../../../../../packages/components/statistic/src/statistic.vue"],"sourcesContent":["<template>\n <div :class=\"ns.b()\">\n <div v-if=\"$slots.title || title\" :class=\"ns.e('head')\">\n <slot name=\"title\">\n {{ title }}\n </slot>\n </div>\n <div :class=\"ns.e('content')\">\n <div v-if=\"$slots.prefix || prefix\" :class=\"ns.e('prefix')\">\n <slot name=\"prefix\">\n <span>{{ prefix }}</span>\n </slot>\n </div>\n <span :class=\"ns.e('number')\" :style=\"valueStyle\">\n {{ displayValue }}\n </span>\n <div v-if=\"$slots.suffix || suffix\" :class=\"ns.e('suffix')\">\n <slot name=\"suffix\">\n <span>{{ suffix }}</span>\n </slot>\n </div>\n </div>\n </div>\n</template>\n<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { useNamespace } from '@element-plus/hooks'\nimport { isFunction, isNumber } from '@element-plus/utils'\nimport { statisticProps } from './statistic'\n\ndefineOptions({\n name: 'ElStatistic',\n})\n\nconst props = defineProps(statisticProps)\nconst ns = useNamespace('statistic')\n\nconst displayValue = computed(() => {\n const { value, formatter, precision, decimalSeparator, groupSeparator } =\n props\n\n if (isFunction(formatter)) return formatter(value)\n\n if (!isNumber(value)) return value\n\n let [integer, decimal = ''] = String(value).split('.')\n decimal = decimal\n .padEnd(precision, '0')\n .slice(0, precision > 0 ? precision : 0)\n integer = integer.replace(/\\B(?=(\\d{3})+(?!\\d))/g, groupSeparator)\n return [integer, decimal].join(decimal ? decimalSeparator : '')\n})\n\ndefineExpose({\n /**\n * @description current display value\n */\n displayValue,\n})\n</script>\n"],"names":["useNamespace","computed","isFunction","isNumber"],"mappings":";;;;;;;;;;;;;uCA8Bc,CAAA;AAAA,EACZ,IAAM,EAAA,aAAA;AACR,CAAA,CAAA,CAAA;;;;;;AAGA,IAAM,MAAA,EAAA,GAAKA,mBAAa,WAAW,CAAA,CAAA;AAEnC,IAAM,MAAA,YAAA,GAAeC,aAAS,MAAM;AAClC,MAAA,MAAM,EAAE,KAAA,EAAO,SAAW,EAAA,SAAA,EAAW,kBAAkB,cACrD,EAAA,GAAA,KAAA,CAAA;AAEF,MAAA,IAAIC,kBAAW,SAAS,CAAA;AAAG,QAAA,OAAO,UAAU,KAAK,CAAA,CAAA;AAEjD,MAAI,IAAA,CAACC,cAAS,KAAK,CAAA;AAAG,QAAO,OAAA,KAAA,CAAA;AAE7B,MAAI,IAAA,CAAC,SAAS,OAAU,GAAA,EAAA,CAAA,GAAM,OAAO,KAAK,CAAA,CAAE,MAAM,GAAG,CAAA,CAAA;AACrD,MAAU,OAAA,GAAA,OAAA,CACP,MAAO,CAAA,SAAA,EAAW,GAAG,CAAA,CACrB,MAAM,CAAG,EAAA,SAAA,GAAY,CAAI,GAAA,SAAA,GAAY,CAAC,CAAA,CAAA;AACzC,MAAU,OAAA,GAAA,OAAA,CAAQ,OAAQ,CAAA,uBAAA,EAAyB,cAAc,CAAA,CAAA;AACjE,MAAA,OAAO,CAAC,OAAS,EAAA,OAAO,EAAE,IAAK,CAAA,OAAA,GAAU,mBAAmB,EAAE,CAAA,CAAA;AAAA,KAC/D,CAAA,CAAA;AAED,IAAa,MAAA,CAAA;AAAA,MAIX,YAAA;AAAA,KACD,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
|
|
@@ -14,8 +14,8 @@ export declare const ElSteps: import("element-plus/es/utils").SFCWithInstall<imp
|
|
|
14
14
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
15
15
|
__epPropKey: true;
|
|
16
16
|
};
|
|
17
|
-
readonly finishStatus: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "
|
|
18
|
-
readonly processStatus: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "
|
|
17
|
+
readonly finishStatus: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "finish", boolean>;
|
|
18
|
+
readonly processStatus: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "process", boolean>;
|
|
19
19
|
}, {
|
|
20
20
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
21
21
|
readonly space: import("element-plus/es/utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], unknown, unknown, "", boolean>;
|
|
@@ -33,8 +33,8 @@ export declare const ElSteps: import("element-plus/es/utils").SFCWithInstall<imp
|
|
|
33
33
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
34
34
|
__epPropKey: true;
|
|
35
35
|
};
|
|
36
|
-
readonly finishStatus: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "
|
|
37
|
-
readonly processStatus: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "
|
|
36
|
+
readonly finishStatus: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "finish", boolean>;
|
|
37
|
+
readonly processStatus: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "process", boolean>;
|
|
38
38
|
}>> & {
|
|
39
39
|
onChange?: ((newVal: number, oldVal: number) => any) | undefined;
|
|
40
40
|
}>>;
|
|
@@ -76,16 +76,16 @@ export declare const ElSteps: import("element-plus/es/utils").SFCWithInstall<imp
|
|
|
76
76
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
77
77
|
__epPropKey: true;
|
|
78
78
|
};
|
|
79
|
-
readonly finishStatus: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "
|
|
80
|
-
readonly processStatus: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "
|
|
79
|
+
readonly finishStatus: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "finish", boolean>;
|
|
80
|
+
readonly processStatus: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "process", boolean>;
|
|
81
81
|
}>> & {
|
|
82
82
|
onChange?: ((newVal: number, oldVal: number) => any) | undefined;
|
|
83
83
|
}, {
|
|
84
84
|
readonly active: number;
|
|
85
85
|
readonly space: import("element-plus/es/utils").EpPropMergeType<readonly [NumberConstructor, StringConstructor], unknown, unknown>;
|
|
86
86
|
readonly direction: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal", unknown>;
|
|
87
|
-
readonly finishStatus: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "success" | "error" | "wait" | "
|
|
88
|
-
readonly processStatus: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "success" | "error" | "wait" | "
|
|
87
|
+
readonly finishStatus: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown>;
|
|
88
|
+
readonly processStatus: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown>;
|
|
89
89
|
}>> & {
|
|
90
90
|
Step: import("vue").DefineComponent<{
|
|
91
91
|
readonly title: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -96,7 +96,7 @@ export declare const ElSteps: import("element-plus/es/utils").SFCWithInstall<imp
|
|
|
96
96
|
__epPropKey: true;
|
|
97
97
|
};
|
|
98
98
|
readonly description: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
99
|
-
readonly status: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "
|
|
99
|
+
readonly status: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown, "", boolean>;
|
|
100
100
|
}, {
|
|
101
101
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
102
102
|
readonly title: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -107,7 +107,7 @@ export declare const ElSteps: import("element-plus/es/utils").SFCWithInstall<imp
|
|
|
107
107
|
__epPropKey: true;
|
|
108
108
|
};
|
|
109
109
|
readonly description: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
110
|
-
readonly status: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "
|
|
110
|
+
readonly status: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown, "", boolean>;
|
|
111
111
|
}>> & {
|
|
112
112
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
113
113
|
}>>;
|
|
@@ -226,11 +226,11 @@ export declare const ElSteps: import("element-plus/es/utils").SFCWithInstall<imp
|
|
|
226
226
|
__epPropKey: true;
|
|
227
227
|
};
|
|
228
228
|
readonly description: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
229
|
-
readonly status: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "
|
|
229
|
+
readonly status: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown, "", boolean>;
|
|
230
230
|
}>>, {
|
|
231
231
|
readonly title: string;
|
|
232
232
|
readonly description: string;
|
|
233
|
-
readonly status: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "wait" | "
|
|
233
|
+
readonly status: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown>;
|
|
234
234
|
}>;
|
|
235
235
|
};
|
|
236
236
|
export default ElSteps;
|
|
@@ -243,7 +243,7 @@ export declare const ElStep: import("element-plus/es/utils").SFCWithInstall<impo
|
|
|
243
243
|
__epPropKey: true;
|
|
244
244
|
};
|
|
245
245
|
readonly description: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
246
|
-
readonly status: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "
|
|
246
|
+
readonly status: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown, "", boolean>;
|
|
247
247
|
}, {
|
|
248
248
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
249
249
|
readonly title: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -254,7 +254,7 @@ export declare const ElStep: import("element-plus/es/utils").SFCWithInstall<impo
|
|
|
254
254
|
__epPropKey: true;
|
|
255
255
|
};
|
|
256
256
|
readonly description: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
257
|
-
readonly status: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "
|
|
257
|
+
readonly status: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown, "", boolean>;
|
|
258
258
|
}>> & {
|
|
259
259
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
260
260
|
}>>;
|
|
@@ -373,11 +373,11 @@ export declare const ElStep: import("element-plus/es/utils").SFCWithInstall<impo
|
|
|
373
373
|
__epPropKey: true;
|
|
374
374
|
};
|
|
375
375
|
readonly description: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
376
|
-
readonly status: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "
|
|
376
|
+
readonly status: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown, "", boolean>;
|
|
377
377
|
}>>, {
|
|
378
378
|
readonly title: string;
|
|
379
379
|
readonly description: string;
|
|
380
|
-
readonly status: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "wait" | "
|
|
380
|
+
readonly status: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown>;
|
|
381
381
|
}>>;
|
|
382
382
|
export * from './src/item';
|
|
383
383
|
export * from './src/steps';
|
|
@@ -9,7 +9,7 @@ export declare const stepProps: {
|
|
|
9
9
|
__epPropKey: true;
|
|
10
10
|
};
|
|
11
11
|
readonly description: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
12
|
-
readonly status: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "
|
|
12
|
+
readonly status: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown, "", boolean>;
|
|
13
13
|
};
|
|
14
14
|
export declare type StepProps = ExtractPropTypes<typeof stepProps>;
|
|
15
15
|
export declare type StepInstance = InstanceType<typeof Step>;
|
|
@@ -27,7 +27,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
27
|
__epPropKey: true;
|
|
28
28
|
};
|
|
29
29
|
readonly description: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
30
|
-
readonly status: import("../../../utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "
|
|
30
|
+
readonly status: import("../../../utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown, "", boolean>;
|
|
31
31
|
}, {
|
|
32
32
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
33
33
|
readonly title: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -38,7 +38,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
38
38
|
__epPropKey: true;
|
|
39
39
|
};
|
|
40
40
|
readonly description: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
41
|
-
readonly status: import("../../../utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "
|
|
41
|
+
readonly status: import("../../../utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown, "", boolean>;
|
|
42
42
|
}>> & {
|
|
43
43
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
44
44
|
}>>;
|
|
@@ -157,10 +157,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
157
157
|
__epPropKey: true;
|
|
158
158
|
};
|
|
159
159
|
readonly description: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
160
|
-
readonly status: import("../../../utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "
|
|
160
|
+
readonly status: import("../../../utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown, "", boolean>;
|
|
161
161
|
}>>, {
|
|
162
162
|
readonly title: string;
|
|
163
163
|
readonly description: string;
|
|
164
|
-
readonly status: import("../../../utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "wait" | "
|
|
164
|
+
readonly status: import("../../../utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown>;
|
|
165
165
|
}>;
|
|
166
166
|
export default _default;
|
|
@@ -16,8 +16,8 @@ export declare const stepsProps: {
|
|
|
16
16
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
17
17
|
__epPropKey: true;
|
|
18
18
|
};
|
|
19
|
-
readonly finishStatus: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "
|
|
20
|
-
readonly processStatus: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "
|
|
19
|
+
readonly finishStatus: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "finish", boolean>;
|
|
20
|
+
readonly processStatus: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "process", boolean>;
|
|
21
21
|
};
|
|
22
22
|
export declare type StepsProps = ExtractPropTypes<typeof stepsProps>;
|
|
23
23
|
export declare const stepsEmits: {
|
|
@@ -16,8 +16,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16
16
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
17
17
|
__epPropKey: true;
|
|
18
18
|
};
|
|
19
|
-
readonly finishStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "
|
|
20
|
-
readonly processStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "
|
|
19
|
+
readonly finishStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "finish", boolean>;
|
|
20
|
+
readonly processStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "process", boolean>;
|
|
21
21
|
}, {
|
|
22
22
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
23
23
|
readonly space: import("../../../utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], unknown, unknown, "", boolean>;
|
|
@@ -35,8 +35,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
35
35
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
36
36
|
__epPropKey: true;
|
|
37
37
|
};
|
|
38
|
-
readonly finishStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "
|
|
39
|
-
readonly processStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "
|
|
38
|
+
readonly finishStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "finish", boolean>;
|
|
39
|
+
readonly processStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "process", boolean>;
|
|
40
40
|
}>> & {
|
|
41
41
|
onChange?: ((newVal: number, oldVal: number) => any) | undefined;
|
|
42
42
|
}>>;
|
|
@@ -78,15 +78,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
78
78
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
79
79
|
__epPropKey: true;
|
|
80
80
|
};
|
|
81
|
-
readonly finishStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "
|
|
82
|
-
readonly processStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "
|
|
81
|
+
readonly finishStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "finish", boolean>;
|
|
82
|
+
readonly processStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "process", boolean>;
|
|
83
83
|
}>> & {
|
|
84
84
|
onChange?: ((newVal: number, oldVal: number) => any) | undefined;
|
|
85
85
|
}, {
|
|
86
86
|
readonly active: number;
|
|
87
87
|
readonly space: import("../../../utils").EpPropMergeType<readonly [NumberConstructor, StringConstructor], unknown, unknown>;
|
|
88
88
|
readonly direction: import("../../../utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal", unknown>;
|
|
89
|
-
readonly finishStatus: import("../../../utils").EpPropMergeType<StringConstructor, "success" | "error" | "wait" | "
|
|
90
|
-
readonly processStatus: import("../../../utils").EpPropMergeType<StringConstructor, "success" | "error" | "wait" | "
|
|
89
|
+
readonly finishStatus: import("../../../utils").EpPropMergeType<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown>;
|
|
90
|
+
readonly processStatus: import("../../../utils").EpPropMergeType<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown>;
|
|
91
91
|
}>;
|
|
92
92
|
export default _default;
|
|
@@ -84,9 +84,12 @@ function useStore() {
|
|
|
84
84
|
const array = vue.unref(states._columns) || [];
|
|
85
85
|
if (parent) {
|
|
86
86
|
parent.children.splice(parent.children.findIndex((item) => item.id === column.id), 1);
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
87
|
+
vue.nextTick(() => {
|
|
88
|
+
var _a;
|
|
89
|
+
if (((_a = parent.children) == null ? void 0 : _a.length) === 0) {
|
|
90
|
+
delete parent.children;
|
|
91
|
+
}
|
|
92
|
+
});
|
|
90
93
|
states._columns.value = replaceColumn(array, parent);
|
|
91
94
|
} else {
|
|
92
95
|
const index = array.indexOf(column);
|