@element-plus/nightly 0.0.20250706 → 0.0.20250707
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 +13 -3
- package/dist/index.full.min.js +9 -9
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +8 -8
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +13 -3
- package/dist/locale/af.js +1 -1
- package/dist/locale/af.min.js +1 -1
- package/dist/locale/af.min.mjs +1 -1
- package/dist/locale/af.mjs +1 -1
- package/dist/locale/ar-eg.js +1 -1
- package/dist/locale/ar-eg.min.js +1 -1
- package/dist/locale/ar-eg.min.mjs +1 -1
- package/dist/locale/ar-eg.mjs +1 -1
- package/dist/locale/ar.js +1 -1
- package/dist/locale/ar.min.js +1 -1
- package/dist/locale/ar.min.mjs +1 -1
- package/dist/locale/ar.mjs +1 -1
- package/dist/locale/az.js +1 -1
- package/dist/locale/az.min.js +1 -1
- package/dist/locale/az.min.mjs +1 -1
- package/dist/locale/az.mjs +1 -1
- package/dist/locale/bg.js +1 -1
- package/dist/locale/bg.min.js +1 -1
- package/dist/locale/bg.min.mjs +1 -1
- package/dist/locale/bg.mjs +1 -1
- package/dist/locale/bn.js +1 -1
- package/dist/locale/bn.min.js +1 -1
- package/dist/locale/bn.min.mjs +1 -1
- package/dist/locale/bn.mjs +1 -1
- package/dist/locale/ca.js +1 -1
- package/dist/locale/ca.min.js +1 -1
- package/dist/locale/ca.min.mjs +1 -1
- package/dist/locale/ca.mjs +1 -1
- package/dist/locale/ckb.js +1 -1
- package/dist/locale/ckb.min.js +1 -1
- package/dist/locale/ckb.min.mjs +1 -1
- package/dist/locale/ckb.mjs +1 -1
- package/dist/locale/cs.js +1 -1
- package/dist/locale/cs.min.js +1 -1
- package/dist/locale/cs.min.mjs +1 -1
- package/dist/locale/cs.mjs +1 -1
- package/dist/locale/da.js +1 -1
- package/dist/locale/da.min.js +1 -1
- package/dist/locale/da.min.mjs +1 -1
- package/dist/locale/da.mjs +1 -1
- package/dist/locale/de.js +1 -1
- package/dist/locale/de.min.js +1 -1
- package/dist/locale/de.min.mjs +1 -1
- package/dist/locale/de.mjs +1 -1
- package/dist/locale/el.js +1 -1
- package/dist/locale/el.min.js +1 -1
- package/dist/locale/el.min.mjs +1 -1
- package/dist/locale/el.mjs +1 -1
- package/dist/locale/en.js +1 -1
- package/dist/locale/en.min.js +1 -1
- package/dist/locale/en.min.mjs +1 -1
- package/dist/locale/en.mjs +1 -1
- package/dist/locale/eo.js +1 -1
- package/dist/locale/eo.min.js +1 -1
- package/dist/locale/eo.min.mjs +1 -1
- package/dist/locale/eo.mjs +1 -1
- package/dist/locale/es.js +1 -1
- package/dist/locale/es.min.js +1 -1
- package/dist/locale/es.min.mjs +1 -1
- package/dist/locale/es.mjs +1 -1
- package/dist/locale/et.js +1 -1
- package/dist/locale/et.min.js +1 -1
- package/dist/locale/et.min.mjs +1 -1
- package/dist/locale/et.mjs +1 -1
- package/dist/locale/eu.js +1 -1
- package/dist/locale/eu.min.js +1 -1
- package/dist/locale/eu.min.mjs +1 -1
- package/dist/locale/eu.mjs +1 -1
- package/dist/locale/fa.js +1 -1
- package/dist/locale/fa.min.js +1 -1
- package/dist/locale/fa.min.mjs +1 -1
- package/dist/locale/fa.mjs +1 -1
- package/dist/locale/fi.js +1 -1
- package/dist/locale/fi.min.js +1 -1
- package/dist/locale/fi.min.mjs +1 -1
- package/dist/locale/fi.mjs +1 -1
- package/dist/locale/fr.js +1 -1
- package/dist/locale/fr.min.js +1 -1
- package/dist/locale/fr.min.mjs +1 -1
- package/dist/locale/fr.mjs +1 -1
- package/dist/locale/he.js +1 -1
- package/dist/locale/he.min.js +1 -1
- package/dist/locale/he.min.mjs +1 -1
- package/dist/locale/he.mjs +1 -1
- package/dist/locale/hi.js +1 -1
- package/dist/locale/hi.min.js +1 -1
- package/dist/locale/hi.min.mjs +1 -1
- package/dist/locale/hi.mjs +1 -1
- package/dist/locale/hr.js +1 -1
- package/dist/locale/hr.min.js +1 -1
- package/dist/locale/hr.min.mjs +1 -1
- package/dist/locale/hr.mjs +1 -1
- package/dist/locale/hu.js +1 -1
- package/dist/locale/hu.min.js +1 -1
- package/dist/locale/hu.min.mjs +1 -1
- package/dist/locale/hu.mjs +1 -1
- package/dist/locale/hy-am.js +1 -1
- package/dist/locale/hy-am.min.js +1 -1
- package/dist/locale/hy-am.min.mjs +1 -1
- package/dist/locale/hy-am.mjs +1 -1
- package/dist/locale/id.js +1 -1
- package/dist/locale/id.min.js +1 -1
- package/dist/locale/id.min.mjs +1 -1
- package/dist/locale/id.mjs +1 -1
- package/dist/locale/it.js +1 -1
- package/dist/locale/it.min.js +1 -1
- package/dist/locale/it.min.mjs +1 -1
- package/dist/locale/it.mjs +1 -1
- package/dist/locale/ja.js +1 -1
- package/dist/locale/ja.min.js +1 -1
- package/dist/locale/ja.min.mjs +1 -1
- package/dist/locale/ja.mjs +1 -1
- package/dist/locale/kk.js +1 -1
- package/dist/locale/kk.min.js +1 -1
- package/dist/locale/kk.min.mjs +1 -1
- package/dist/locale/kk.mjs +1 -1
- package/dist/locale/km.js +1 -1
- package/dist/locale/km.min.js +1 -1
- package/dist/locale/km.min.mjs +1 -1
- package/dist/locale/km.mjs +1 -1
- package/dist/locale/ko.js +1 -1
- package/dist/locale/ko.min.js +1 -1
- package/dist/locale/ko.min.mjs +1 -1
- package/dist/locale/ko.mjs +1 -1
- package/dist/locale/ku.js +1 -1
- package/dist/locale/ku.min.js +1 -1
- package/dist/locale/ku.min.mjs +1 -1
- package/dist/locale/ku.mjs +1 -1
- package/dist/locale/ky.js +1 -1
- package/dist/locale/ky.min.js +1 -1
- package/dist/locale/ky.min.mjs +1 -1
- package/dist/locale/ky.mjs +1 -1
- package/dist/locale/lo.js +1 -1
- package/dist/locale/lo.min.js +1 -1
- package/dist/locale/lo.min.mjs +1 -1
- package/dist/locale/lo.mjs +1 -1
- package/dist/locale/lt.js +1 -1
- package/dist/locale/lt.min.js +1 -1
- package/dist/locale/lt.min.mjs +1 -1
- package/dist/locale/lt.mjs +1 -1
- package/dist/locale/lv.js +1 -1
- package/dist/locale/lv.min.js +1 -1
- package/dist/locale/lv.min.mjs +1 -1
- package/dist/locale/lv.mjs +1 -1
- package/dist/locale/mg.js +1 -1
- package/dist/locale/mg.min.js +1 -1
- package/dist/locale/mg.min.mjs +1 -1
- package/dist/locale/mg.mjs +1 -1
- package/dist/locale/mn.js +1 -1
- package/dist/locale/mn.min.js +1 -1
- package/dist/locale/mn.min.mjs +1 -1
- package/dist/locale/mn.mjs +1 -1
- package/dist/locale/ms.js +1 -1
- package/dist/locale/ms.min.js +1 -1
- package/dist/locale/ms.min.mjs +1 -1
- package/dist/locale/ms.mjs +1 -1
- package/dist/locale/my.js +1 -1
- package/dist/locale/my.min.js +1 -1
- package/dist/locale/my.min.mjs +1 -1
- package/dist/locale/my.mjs +1 -1
- package/dist/locale/nb-no.js +1 -1
- package/dist/locale/nb-no.min.js +1 -1
- package/dist/locale/nb-no.min.mjs +1 -1
- package/dist/locale/nb-no.mjs +1 -1
- package/dist/locale/nl.js +1 -1
- package/dist/locale/nl.min.js +1 -1
- package/dist/locale/nl.min.mjs +1 -1
- package/dist/locale/nl.mjs +1 -1
- package/dist/locale/no.js +1 -1
- package/dist/locale/no.min.js +1 -1
- package/dist/locale/no.min.mjs +1 -1
- package/dist/locale/no.mjs +1 -1
- package/dist/locale/pa.js +1 -1
- package/dist/locale/pa.min.js +1 -1
- package/dist/locale/pa.min.mjs +1 -1
- package/dist/locale/pa.mjs +1 -1
- package/dist/locale/pl.js +1 -1
- package/dist/locale/pl.min.js +1 -1
- package/dist/locale/pl.min.mjs +1 -1
- package/dist/locale/pl.mjs +1 -1
- package/dist/locale/pt-br.js +1 -1
- package/dist/locale/pt-br.min.js +1 -1
- package/dist/locale/pt-br.min.mjs +1 -1
- package/dist/locale/pt-br.mjs +1 -1
- package/dist/locale/pt.js +1 -1
- package/dist/locale/pt.min.js +1 -1
- package/dist/locale/pt.min.mjs +1 -1
- package/dist/locale/pt.mjs +1 -1
- package/dist/locale/ro.js +1 -1
- package/dist/locale/ro.min.js +1 -1
- package/dist/locale/ro.min.mjs +1 -1
- package/dist/locale/ro.mjs +1 -1
- package/dist/locale/ru.js +1 -1
- package/dist/locale/ru.min.js +1 -1
- package/dist/locale/ru.min.mjs +1 -1
- package/dist/locale/ru.mjs +1 -1
- package/dist/locale/sk.js +1 -1
- package/dist/locale/sk.min.js +1 -1
- package/dist/locale/sk.min.mjs +1 -1
- package/dist/locale/sk.mjs +1 -1
- package/dist/locale/sl.js +1 -1
- package/dist/locale/sl.min.js +1 -1
- package/dist/locale/sl.min.mjs +1 -1
- package/dist/locale/sl.mjs +1 -1
- package/dist/locale/sr.js +1 -1
- package/dist/locale/sr.min.js +1 -1
- package/dist/locale/sr.min.mjs +1 -1
- package/dist/locale/sr.mjs +1 -1
- package/dist/locale/sv.js +1 -1
- package/dist/locale/sv.min.js +1 -1
- package/dist/locale/sv.min.mjs +1 -1
- package/dist/locale/sv.mjs +1 -1
- package/dist/locale/sw.js +1 -1
- package/dist/locale/sw.min.js +1 -1
- package/dist/locale/sw.min.mjs +1 -1
- package/dist/locale/sw.mjs +1 -1
- package/dist/locale/ta.js +1 -1
- package/dist/locale/ta.min.js +1 -1
- package/dist/locale/ta.min.mjs +1 -1
- package/dist/locale/ta.mjs +1 -1
- package/dist/locale/te.js +1 -1
- package/dist/locale/te.min.js +1 -1
- package/dist/locale/te.min.mjs +1 -1
- package/dist/locale/te.mjs +1 -1
- package/dist/locale/th.js +1 -1
- package/dist/locale/th.min.js +1 -1
- package/dist/locale/th.min.mjs +1 -1
- package/dist/locale/th.mjs +1 -1
- package/dist/locale/tk.js +1 -1
- package/dist/locale/tk.min.js +1 -1
- package/dist/locale/tk.min.mjs +1 -1
- package/dist/locale/tk.mjs +1 -1
- package/dist/locale/tr.js +1 -1
- package/dist/locale/tr.min.js +1 -1
- package/dist/locale/tr.min.mjs +1 -1
- package/dist/locale/tr.mjs +1 -1
- package/dist/locale/ug-cn.js +1 -1
- package/dist/locale/ug-cn.min.js +1 -1
- package/dist/locale/ug-cn.min.mjs +1 -1
- package/dist/locale/ug-cn.mjs +1 -1
- package/dist/locale/uk.js +1 -1
- package/dist/locale/uk.min.js +1 -1
- package/dist/locale/uk.min.mjs +1 -1
- package/dist/locale/uk.mjs +1 -1
- package/dist/locale/uz-uz.js +1 -1
- package/dist/locale/uz-uz.min.js +1 -1
- package/dist/locale/uz-uz.min.mjs +1 -1
- package/dist/locale/uz-uz.mjs +1 -1
- package/dist/locale/vi.js +1 -1
- package/dist/locale/vi.min.js +1 -1
- package/dist/locale/vi.min.mjs +1 -1
- package/dist/locale/vi.mjs +1 -1
- package/dist/locale/zh-cn.js +1 -1
- package/dist/locale/zh-cn.min.js +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/locale/zh-cn.mjs +1 -1
- package/dist/locale/zh-hk.js +1 -1
- package/dist/locale/zh-hk.min.js +1 -1
- package/dist/locale/zh-hk.min.mjs +1 -1
- package/dist/locale/zh-hk.mjs +1 -1
- package/dist/locale/zh-mo.js +1 -1
- package/dist/locale/zh-mo.min.js +1 -1
- package/dist/locale/zh-mo.min.mjs +1 -1
- package/dist/locale/zh-mo.mjs +1 -1
- package/dist/locale/zh-tw.js +1 -1
- package/dist/locale/zh-tw.min.js +1 -1
- package/dist/locale/zh-tw.min.mjs +1 -1
- package/dist/locale/zh-tw.mjs +1 -1
- package/es/components/affix/src/affix.d.ts +2 -1
- package/es/components/affix/src/affix.mjs.map +1 -1
- package/es/components/affix/src/affix.vue.d.ts +1 -1
- package/es/components/affix/src/affix2.mjs +11 -1
- package/es/components/affix/src/affix2.mjs.map +1 -1
- package/es/components/alert/src/alert.d.ts +2 -1
- package/es/components/alert/src/alert.mjs.map +1 -1
- package/es/components/anchor/src/anchor-link.d.ts +2 -1
- package/es/components/anchor/src/anchor-link.mjs.map +1 -1
- package/es/components/anchor/src/anchor.d.ts +2 -1
- package/es/components/anchor/src/anchor.mjs.map +1 -1
- package/es/components/autocomplete/src/autocomplete.d.ts +2 -1
- package/es/components/autocomplete/src/autocomplete.mjs.map +1 -1
- package/es/components/avatar/src/avatar.d.ts +2 -1
- package/es/components/avatar/src/avatar.mjs.map +1 -1
- package/es/components/backtop/src/backtop.d.ts +2 -1
- package/es/components/backtop/src/backtop.mjs.map +1 -1
- package/es/components/badge/index.mjs +2 -2
- package/es/components/badge/src/badge.d.ts +2 -1
- package/es/components/badge/src/badge.mjs +71 -32
- package/es/components/badge/src/badge.mjs.map +1 -1
- package/es/components/badge/src/badge2.mjs +32 -71
- package/es/components/badge/src/badge2.mjs.map +1 -1
- package/es/components/breadcrumb/src/breadcrumb-item.d.ts +2 -1
- package/es/components/breadcrumb/src/breadcrumb-item.mjs.map +1 -1
- package/es/components/breadcrumb/src/breadcrumb.d.ts +2 -1
- package/es/components/breadcrumb/src/breadcrumb.mjs.map +1 -1
- package/es/components/button/src/button-group.d.ts +2 -1
- package/es/components/button/src/button-group.mjs.map +1 -1
- package/es/components/button/src/button.d.ts +2 -1
- package/es/components/button/src/button.mjs.map +1 -1
- package/es/components/calendar/src/calendar.d.ts +2 -1
- package/es/components/calendar/src/calendar.mjs.map +1 -1
- package/es/components/calendar/src/date-table.d.ts +2 -1
- package/es/components/calendar/src/date-table.mjs.map +1 -1
- package/es/components/card/src/card.d.ts +2 -1
- package/es/components/card/src/card.mjs.map +1 -1
- package/es/components/carousel/src/carousel-item.d.ts +2 -1
- package/es/components/carousel/src/carousel-item.mjs.map +1 -1
- package/es/components/carousel/src/carousel.d.ts +2 -1
- package/es/components/carousel/src/carousel.mjs.map +1 -1
- package/es/components/cascader/src/cascader.mjs +1 -1
- package/es/components/check-tag/src/check-tag.d.ts +2 -1
- package/es/components/check-tag/src/check-tag.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox-group.d.ts +2 -1
- package/es/components/checkbox/src/checkbox-group.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox.d.ts +2 -1
- package/es/components/checkbox/src/checkbox.mjs.map +1 -1
- package/es/components/col/src/col.d.ts +2 -1
- package/es/components/col/src/col.mjs.map +1 -1
- package/es/components/collapse/src/collapse-item.d.ts +2 -1
- package/es/components/collapse/src/collapse-item.mjs.map +1 -1
- package/es/components/collapse/src/collapse.d.ts +2 -1
- package/es/components/collapse/src/collapse.mjs.map +1 -1
- package/es/components/color-picker/src/color-picker.d.ts +2 -1
- package/es/components/color-picker/src/color-picker.mjs.map +1 -1
- package/es/components/color-picker/src/props/alpha-slider.d.ts +2 -1
- package/es/components/color-picker/src/props/alpha-slider.mjs.map +1 -1
- package/es/components/config-provider/src/config-provider-props.d.ts +2 -1
- package/es/components/config-provider/src/config-provider-props.mjs.map +1 -1
- package/es/components/countdown/src/countdown.d.ts +2 -1
- package/es/components/countdown/src/countdown.mjs.map +1 -1
- package/es/components/date-picker/src/composables/use-basic-date-table.d.ts +1 -60
- package/es/components/date-picker/src/props/basic-cell.d.ts +2 -1
- package/es/components/date-picker/src/props/basic-cell.mjs.map +1 -1
- package/es/components/date-picker/src/props/basic-date-table.d.ts +2 -1
- package/es/components/date-picker/src/props/basic-date-table.mjs.map +1 -1
- package/es/components/date-picker/src/props/basic-month-table.d.ts +2 -1
- package/es/components/date-picker/src/props/basic-month-table.mjs.map +1 -1
- package/es/components/date-picker/src/props/basic-year-table.d.ts +2 -1
- package/es/components/date-picker/src/props/basic-year-table.mjs.map +1 -1
- package/es/components/date-picker/src/props/date-picker.d.ts +2 -1
- package/es/components/date-picker/src/props/date-picker.mjs.map +1 -1
- package/es/components/date-picker/src/props/panel-date-pick.d.ts +2 -1
- package/es/components/date-picker/src/props/panel-date-pick.mjs.map +1 -1
- package/es/components/date-picker/src/props/panel-date-range.d.ts +2 -1
- package/es/components/date-picker/src/props/panel-date-range.mjs.map +1 -1
- package/es/components/date-picker/src/props/panel-month-range.d.ts +2 -1
- package/es/components/date-picker/src/props/panel-month-range.mjs.map +1 -1
- package/es/components/date-picker/src/props/panel-year-range.d.ts +2 -1
- package/es/components/date-picker/src/props/panel-year-range.mjs.map +1 -1
- package/es/components/date-picker/src/props/shared.d.ts +2 -1
- package/es/components/date-picker/src/props/shared.mjs.map +1 -1
- package/es/components/descriptions/index.mjs +2 -2
- package/es/components/descriptions/src/description-item.d.ts +2 -1
- package/es/components/descriptions/src/description-item.mjs.map +1 -1
- package/es/components/descriptions/src/description.d.ts +2 -1
- package/es/components/descriptions/src/description.mjs +127 -26
- package/es/components/descriptions/src/description.mjs.map +1 -1
- package/es/components/descriptions/src/description2.mjs +26 -127
- package/es/components/descriptions/src/description2.mjs.map +1 -1
- package/es/components/dialog/src/dialog.d.ts +2 -1
- package/es/components/dialog/src/dialog.mjs.map +1 -1
- package/es/components/divider/src/divider.d.ts +2 -1
- package/es/components/divider/src/divider.mjs.map +1 -1
- package/es/components/drawer/src/drawer.d.ts +2 -1
- package/es/components/drawer/src/drawer.mjs.map +1 -1
- package/es/components/empty/src/empty.d.ts +2 -1
- package/es/components/empty/src/empty.mjs.map +1 -1
- package/es/components/form/src/form-item.d.ts +2 -1
- package/es/components/form/src/form-item.mjs.map +1 -1
- package/es/components/form/src/form.d.ts +3 -1
- package/es/components/form/src/form.mjs.map +1 -1
- package/es/components/form/src/form.vue.d.ts +1 -570
- package/es/components/icon/src/icon.d.ts +2 -1
- package/es/components/icon/src/icon.mjs.map +1 -1
- package/es/components/image/src/image.d.ts +2 -1
- package/es/components/image/src/image.mjs.map +1 -1
- package/es/components/image-viewer/src/image-viewer.d.ts +2 -1
- package/es/components/image-viewer/src/image-viewer.mjs.map +1 -1
- package/es/components/index.mjs +13 -13
- package/es/components/input/src/input.d.ts +2 -1
- package/es/components/input/src/input.mjs.map +1 -1
- package/es/components/input-number/index.mjs +2 -2
- package/es/components/input-number/src/input-number.d.ts +2 -1
- package/es/components/input-number/src/input-number.mjs +65 -348
- package/es/components/input-number/src/input-number.mjs.map +1 -1
- package/es/components/input-number/src/input-number2.mjs +348 -65
- package/es/components/input-number/src/input-number2.mjs.map +1 -1
- package/es/components/input-tag/src/input-tag.d.ts +2 -1
- package/es/components/input-tag/src/input-tag.mjs +1 -1
- package/es/components/input-tag/src/input-tag.mjs.map +1 -1
- package/es/components/link/index.mjs +2 -2
- package/es/components/link/src/link.d.ts +2 -1
- package/es/components/link/src/link.mjs +25 -71
- package/es/components/link/src/link.mjs.map +1 -1
- package/es/components/link/src/link2.mjs +71 -25
- package/es/components/link/src/link2.mjs.map +1 -1
- package/es/components/mention/src/mention.d.ts +2 -1
- package/es/components/mention/src/mention.mjs.map +1 -1
- package/es/components/menu/index.mjs +2 -2
- package/es/components/menu/src/menu-item-group.d.ts +2 -1
- package/es/components/menu/src/menu-item-group.mjs.map +1 -1
- package/es/components/menu/src/menu-item.d.ts +2 -1
- package/es/components/menu/src/menu-item.mjs +100 -15
- package/es/components/menu/src/menu-item.mjs.map +1 -1
- package/es/components/menu/src/menu-item2.mjs +15 -100
- package/es/components/menu/src/menu-item2.mjs.map +1 -1
- package/es/components/menu/src/menu.d.ts +2 -1
- package/es/components/menu/src/menu.mjs.map +1 -1
- package/es/components/menu/src/sub-menu.d.ts +2 -1
- package/es/components/menu/src/sub-menu.mjs.map +1 -1
- package/es/components/message/src/message.d.ts +2 -1
- package/es/components/message/src/message.mjs.map +1 -1
- package/es/components/message/src/message.vue.d.ts +1 -1
- package/es/components/message-box/src/index.vue.d.ts +1 -21
- package/es/components/notification/src/notification.d.ts +2 -1
- package/es/components/notification/src/notification.mjs.map +1 -1
- package/es/components/notification/src/notification.vue.d.ts +1 -1
- package/es/components/overlay/src/overlay.d.ts +2 -1
- package/es/components/overlay/src/overlay.mjs.map +1 -1
- package/es/components/page-header/src/page-header.d.ts +2 -1
- package/es/components/page-header/src/page-header.mjs.map +1 -1
- package/es/components/pagination/src/components/jumper.d.ts +2 -1
- package/es/components/pagination/src/components/jumper2.mjs.map +1 -1
- package/es/components/pagination/src/components/next.d.ts +2 -1
- package/es/components/pagination/src/components/next.mjs.map +1 -1
- package/es/components/pagination/src/components/pager.d.ts +2 -1
- package/es/components/pagination/src/components/pager.mjs.map +1 -1
- package/es/components/pagination/src/components/prev.d.ts +2 -1
- package/es/components/pagination/src/components/prev.mjs.map +1 -1
- package/es/components/pagination/src/components/sizes.d.ts +2 -1
- package/es/components/pagination/src/components/sizes.mjs.map +1 -1
- package/es/components/pagination/src/components/total.d.ts +2 -1
- package/es/components/pagination/src/components/total.mjs +26 -6
- package/es/components/pagination/src/components/total.mjs.map +1 -1
- package/es/components/pagination/src/components/total2.mjs +6 -26
- package/es/components/pagination/src/components/total2.mjs.map +1 -1
- package/es/components/pagination/src/pagination.d.ts +2 -1
- package/es/components/pagination/src/pagination.mjs +1 -1
- package/es/components/pagination/src/pagination.mjs.map +1 -1
- package/es/components/popconfirm/src/popconfirm.d.ts +2 -1
- package/es/components/popconfirm/src/popconfirm.mjs.map +1 -1
- package/es/components/popover/index.mjs +2 -2
- package/es/components/popover/src/popover.d.ts +2 -1
- package/es/components/popover/src/popover.mjs +112 -66
- package/es/components/popover/src/popover.mjs.map +1 -1
- package/es/components/popover/src/popover2.mjs +66 -112
- package/es/components/popover/src/popover2.mjs.map +1 -1
- package/es/components/popper/src/arrow.d.ts +2 -1
- package/es/components/popper/src/arrow.mjs.map +1 -1
- package/es/components/popper/src/content.d.ts +3 -1
- package/es/components/popper/src/content.mjs.map +1 -1
- package/es/components/popper/src/popper.d.ts +2 -1
- package/es/components/popper/src/popper.mjs.map +1 -1
- package/es/components/progress/src/progress.d.ts +2 -1
- package/es/components/progress/src/progress.mjs.map +1 -1
- package/es/components/radio/src/radio-button.d.ts +2 -1
- package/es/components/radio/src/radio-button.mjs.map +1 -1
- package/es/components/radio/src/radio-group.d.ts +2 -1
- package/es/components/radio/src/radio-group.mjs.map +1 -1
- package/es/components/radio/src/radio.d.ts +2 -1
- package/es/components/radio/src/radio.mjs.map +1 -1
- package/es/components/rate/src/rate.d.ts +2 -1
- package/es/components/rate/src/rate.mjs.map +1 -1
- package/es/components/result/src/result.d.ts +2 -1
- package/es/components/result/src/result.mjs.map +1 -1
- package/es/components/roving-focus-group/src/roving-focus-group.d.ts +2 -1
- package/es/components/roving-focus-group/src/roving-focus-group.mjs.map +1 -1
- package/es/components/row/src/row.d.ts +2 -1
- package/es/components/row/src/row.mjs.map +1 -1
- package/es/components/scrollbar/index.mjs +1 -1
- package/es/components/scrollbar/src/bar.d.ts +2 -1
- package/es/components/scrollbar/src/bar.mjs.map +1 -1
- package/es/components/scrollbar/src/bar2.mjs +1 -1
- package/es/components/scrollbar/src/scrollbar.d.ts +2 -1
- package/es/components/scrollbar/src/scrollbar.mjs.map +1 -1
- package/es/components/scrollbar/src/thumb.d.ts +2 -1
- package/es/components/scrollbar/src/thumb.mjs +139 -11
- package/es/components/scrollbar/src/thumb.mjs.map +1 -1
- package/es/components/scrollbar/src/thumb2.mjs +11 -139
- package/es/components/scrollbar/src/thumb2.mjs.map +1 -1
- package/es/components/segmented/index.mjs +2 -2
- package/es/components/segmented/src/segmented.d.ts +2 -1
- package/es/components/segmented/src/segmented.mjs +168 -42
- package/es/components/segmented/src/segmented.mjs.map +1 -1
- package/es/components/segmented/src/segmented2.mjs +42 -168
- package/es/components/segmented/src/segmented2.mjs.map +1 -1
- package/es/components/select/src/select.d.ts +2 -1
- package/es/components/select/src/select.mjs +1 -1
- package/es/components/select/src/select.mjs.map +1 -1
- package/es/components/select/src/select.vue.d.ts +2 -2
- package/es/components/select/src/type.d.ts +2 -1
- package/es/components/select/src/useSelect.d.ts +2 -2
- package/es/components/select-v2/src/defaults.d.ts +3 -1
- package/es/components/select-v2/src/defaults.mjs +1 -1
- package/es/components/select-v2/src/defaults.mjs.map +1 -1
- package/es/components/skeleton/src/skeleton-item.d.ts +2 -1
- package/es/components/skeleton/src/skeleton-item.mjs.map +1 -1
- package/es/components/skeleton/src/skeleton.d.ts +2 -1
- package/es/components/skeleton/src/skeleton.mjs.map +1 -1
- package/es/components/slider/src/button.d.ts +2 -1
- package/es/components/slider/src/button.mjs.map +1 -1
- package/es/components/slider/src/marker.d.ts +2 -1
- package/es/components/slider/src/marker.mjs.map +1 -1
- package/es/components/slider/src/slider.d.ts +2 -1
- package/es/components/slider/src/slider.mjs.map +1 -1
- package/es/components/space/src/item.d.ts +2 -1
- package/es/components/space/src/item.mjs.map +1 -1
- package/es/components/space/src/space.d.ts +2 -1
- package/es/components/space/src/space.mjs.map +1 -1
- package/es/components/splitter/src/split-panel.d.ts +2 -1
- package/es/components/splitter/src/split-panel.mjs.map +1 -1
- package/es/components/splitter/src/splitter.d.ts +2 -1
- package/es/components/splitter/src/splitter.mjs.map +1 -1
- package/es/components/statistic/index.mjs +2 -2
- package/es/components/statistic/src/statistic.d.ts +2 -1
- package/es/components/statistic/src/statistic.mjs +25 -69
- package/es/components/statistic/src/statistic.mjs.map +1 -1
- package/es/components/statistic/src/statistic2.mjs +69 -25
- package/es/components/statistic/src/statistic2.mjs.map +1 -1
- package/es/components/steps/src/item.d.ts +2 -1
- package/es/components/steps/src/item.mjs.map +1 -1
- package/es/components/steps/src/steps.d.ts +2 -1
- package/es/components/steps/src/steps.mjs.map +1 -1
- package/es/components/switch/src/switch.d.ts +2 -1
- package/es/components/switch/src/switch.mjs.map +1 -1
- package/es/components/table/src/table-header/index.d.ts +1 -1
- package/es/components/table-v2/src/auto-resizer.d.ts +2 -1
- package/es/components/table-v2/src/auto-resizer.mjs.map +1 -1
- package/es/components/table-v2/src/cell.d.ts +2 -1
- package/es/components/table-v2/src/cell.mjs.map +1 -1
- package/es/components/table-v2/src/grid.d.ts +2 -1
- package/es/components/table-v2/src/grid.mjs.map +1 -1
- package/es/components/table-v2/src/header-cell.d.ts +2 -1
- package/es/components/table-v2/src/header-cell.mjs.map +1 -1
- package/es/components/table-v2/src/header-row.d.ts +2 -1
- package/es/components/table-v2/src/header-row.mjs.map +1 -1
- package/es/components/table-v2/src/header.d.ts +2 -1
- package/es/components/table-v2/src/header.mjs.map +1 -1
- package/es/components/table-v2/src/row.d.ts +2 -1
- package/es/components/table-v2/src/row.mjs.map +1 -1
- package/es/components/table-v2/src/table.d.ts +2 -1
- package/es/components/table-v2/src/table.mjs.map +1 -1
- package/es/components/tabs/index.mjs +1 -1
- package/es/components/tabs/src/tab-bar.d.ts +2 -1
- package/es/components/tabs/src/tab-bar.mjs +87 -11
- package/es/components/tabs/src/tab-bar.mjs.map +1 -1
- package/es/components/tabs/src/tab-bar2.mjs +11 -87
- package/es/components/tabs/src/tab-bar2.mjs.map +1 -1
- package/es/components/tabs/src/tab-nav.d.ts +2 -1
- package/es/components/tabs/src/tab-nav.mjs +1 -1
- package/es/components/tabs/src/tab-nav.mjs.map +1 -1
- package/es/components/tabs/src/tab-pane.d.ts +2 -1
- package/es/components/tabs/src/tab-pane.mjs.map +1 -1
- package/es/components/tabs/src/tabs.d.ts +2 -1
- package/es/components/tabs/src/tabs.mjs.map +1 -1
- package/es/components/tag/index.mjs +2 -2
- package/es/components/tag/src/tag.d.ts +2 -1
- package/es/components/tag/src/tag.mjs +99 -27
- package/es/components/tag/src/tag.mjs.map +1 -1
- package/es/components/tag/src/tag2.mjs +27 -99
- package/es/components/tag/src/tag2.mjs.map +1 -1
- package/es/components/teleport/src/teleport.d.ts +2 -1
- package/es/components/teleport/src/teleport2.mjs.map +1 -1
- package/es/components/text/index.mjs +2 -2
- package/es/components/text/src/text.d.ts +2 -1
- package/es/components/text/src/text.mjs +21 -67
- package/es/components/text/src/text.mjs.map +1 -1
- package/es/components/text/src/text2.mjs +67 -21
- package/es/components/text/src/text2.mjs.map +1 -1
- package/es/components/time-picker/src/common/props.d.ts +2 -1
- package/es/components/time-picker/src/common/props.mjs.map +1 -1
- package/es/components/time-picker/src/props/basic-time-spinner.d.ts +2 -1
- package/es/components/time-picker/src/props/basic-time-spinner.mjs.map +1 -1
- package/es/components/time-picker/src/props/panel-time-picker.d.ts +2 -1
- package/es/components/time-picker/src/props/panel-time-picker.mjs.map +1 -1
- package/es/components/time-picker/src/props/panel-time-range.d.ts +2 -1
- package/es/components/time-picker/src/props/panel-time-range.mjs.map +1 -1
- package/es/components/time-picker/src/props/shared.d.ts +3 -1
- package/es/components/time-picker/src/props/shared.mjs.map +1 -1
- package/es/components/time-select/src/time-select.d.ts +2 -1
- package/es/components/time-select/src/time-select.mjs.map +1 -1
- package/es/components/timeline/src/timeline-item.d.ts +2 -1
- package/es/components/timeline/src/timeline-item.mjs.map +1 -1
- package/es/components/tooltip/src/content.d.ts +2 -1
- package/es/components/tooltip/src/content.mjs.map +1 -1
- package/es/components/tooltip/src/tooltip.d.ts +2 -1
- package/es/components/tooltip/src/tooltip.mjs.map +1 -1
- package/es/components/tooltip/src/trigger.d.ts +2 -1
- package/es/components/tooltip/src/trigger.mjs.map +1 -1
- package/es/components/tooltip-v2/index.mjs +2 -2
- package/es/components/tooltip-v2/src/arrow.d.ts +2 -1
- package/es/components/tooltip-v2/src/arrow.mjs.map +1 -1
- package/es/components/tooltip-v2/src/common.d.ts +2 -1
- package/es/components/tooltip-v2/src/common.mjs.map +1 -1
- package/es/components/tooltip-v2/src/content.d.ts +2 -1
- package/es/components/tooltip-v2/src/content.mjs.map +1 -1
- package/es/components/tooltip-v2/src/forward-ref.d.ts +2 -1
- package/es/components/tooltip-v2/src/forward-ref.mjs.map +1 -1
- package/es/components/tooltip-v2/src/root.d.ts +2 -1
- package/es/components/tooltip-v2/src/root.mjs.map +1 -1
- package/es/components/tooltip-v2/src/tooltip.d.ts +2 -1
- package/es/components/tooltip-v2/src/tooltip.mjs +19 -77
- package/es/components/tooltip-v2/src/tooltip.mjs.map +1 -1
- package/es/components/tooltip-v2/src/tooltip2.mjs +77 -19
- package/es/components/tooltip-v2/src/tooltip2.mjs.map +1 -1
- package/es/components/tooltip-v2/src/trigger.d.ts +2 -1
- package/es/components/tooltip-v2/src/trigger.mjs.map +1 -1
- package/es/components/tour/src/content.d.ts +2 -1
- package/es/components/tour/src/content.mjs.map +1 -1
- package/es/components/tour/src/mask.d.ts +2 -1
- package/es/components/tour/src/mask.mjs +18 -75
- package/es/components/tour/src/mask.mjs.map +1 -1
- package/es/components/tour/src/mask2.mjs +75 -18
- package/es/components/tour/src/mask2.mjs.map +1 -1
- package/es/components/tour/src/step.d.ts +2 -1
- package/es/components/tour/src/step.mjs.map +1 -1
- package/es/components/tour/src/tour.d.ts +2 -1
- package/es/components/tour/src/tour.mjs.map +1 -1
- package/es/components/tour/src/tour2.mjs +1 -1
- package/es/components/transfer/src/transfer-panel.d.ts +2 -1
- package/es/components/transfer/src/transfer-panel.mjs.map +1 -1
- package/es/components/transfer/src/transfer.d.ts +2 -1
- package/es/components/transfer/src/transfer.mjs.map +1 -1
- package/es/components/tree-v2/src/composables/useFilter.d.ts +2 -2
- package/es/components/tree-v2/src/types.d.ts +2 -1
- package/es/components/upload/index.mjs +2 -2
- package/es/components/upload/src/upload-content.d.ts +2 -1
- package/es/components/upload/src/upload-content.mjs +1 -1
- package/es/components/upload/src/upload-content.mjs.map +1 -1
- package/es/components/upload/src/upload-content2.mjs +1 -1
- package/es/components/upload/src/upload-dragger.d.ts +2 -1
- package/es/components/upload/src/upload-dragger.mjs.map +1 -1
- package/es/components/upload/src/upload-list.d.ts +2 -1
- package/es/components/upload/src/upload-list.mjs +1 -1
- package/es/components/upload/src/upload-list.mjs.map +1 -1
- package/es/components/upload/src/upload.d.ts +2 -1
- package/es/components/upload/src/upload.mjs +97 -125
- package/es/components/upload/src/upload.mjs.map +1 -1
- package/es/components/upload/src/upload2.mjs +125 -97
- package/es/components/upload/src/upload2.mjs.map +1 -1
- package/es/components/upload/src/use-handlers.mjs +1 -1
- package/es/components/virtual-list/src/props.d.ts +5 -1
- package/es/components/virtual-list/src/props.mjs.map +1 -1
- package/es/components/watermark/src/watermark.d.ts +2 -1
- package/es/components/watermark/src/watermark.mjs.map +1 -1
- package/es/hooks/use-model-toggle/index.d.ts +2 -1
- package/es/hooks/use-model-toggle/index.mjs.map +1 -1
- package/es/index.d.ts +116 -589
- package/es/index.mjs +13 -13
- package/es/utils/vue/props/util.d.ts +31 -0
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/affix/src/affix.d.ts +2 -1
- package/lib/components/affix/src/affix.js.map +1 -1
- package/lib/components/affix/src/affix.vue.d.ts +1 -1
- package/lib/components/affix/src/affix2.js +11 -1
- package/lib/components/affix/src/affix2.js.map +1 -1
- package/lib/components/alert/src/alert.d.ts +2 -1
- package/lib/components/alert/src/alert.js.map +1 -1
- package/lib/components/anchor/src/anchor-link.d.ts +2 -1
- package/lib/components/anchor/src/anchor-link.js.map +1 -1
- package/lib/components/anchor/src/anchor.d.ts +2 -1
- package/lib/components/anchor/src/anchor.js.map +1 -1
- package/lib/components/autocomplete/src/autocomplete.d.ts +2 -1
- package/lib/components/autocomplete/src/autocomplete.js.map +1 -1
- package/lib/components/avatar/src/avatar.d.ts +2 -1
- package/lib/components/avatar/src/avatar.js.map +1 -1
- package/lib/components/backtop/src/backtop.d.ts +2 -1
- package/lib/components/backtop/src/backtop.js.map +1 -1
- package/lib/components/badge/index.js +2 -2
- package/lib/components/badge/src/badge.d.ts +2 -1
- package/lib/components/badge/src/badge.js +71 -32
- package/lib/components/badge/src/badge.js.map +1 -1
- package/lib/components/badge/src/badge2.js +32 -71
- package/lib/components/badge/src/badge2.js.map +1 -1
- package/lib/components/breadcrumb/src/breadcrumb-item.d.ts +2 -1
- package/lib/components/breadcrumb/src/breadcrumb-item.js.map +1 -1
- package/lib/components/breadcrumb/src/breadcrumb.d.ts +2 -1
- package/lib/components/breadcrumb/src/breadcrumb.js.map +1 -1
- package/lib/components/button/src/button-group.d.ts +2 -1
- package/lib/components/button/src/button-group.js.map +1 -1
- package/lib/components/button/src/button.d.ts +2 -1
- package/lib/components/button/src/button.js.map +1 -1
- package/lib/components/calendar/src/calendar.d.ts +2 -1
- package/lib/components/calendar/src/calendar.js.map +1 -1
- package/lib/components/calendar/src/date-table.d.ts +2 -1
- package/lib/components/calendar/src/date-table.js.map +1 -1
- package/lib/components/card/src/card.d.ts +2 -1
- package/lib/components/card/src/card.js.map +1 -1
- package/lib/components/carousel/src/carousel-item.d.ts +2 -1
- package/lib/components/carousel/src/carousel-item.js.map +1 -1
- package/lib/components/carousel/src/carousel.d.ts +2 -1
- package/lib/components/carousel/src/carousel.js.map +1 -1
- package/lib/components/cascader/src/cascader.js +1 -1
- package/lib/components/check-tag/src/check-tag.d.ts +2 -1
- package/lib/components/check-tag/src/check-tag.js.map +1 -1
- package/lib/components/checkbox/src/checkbox-group.d.ts +2 -1
- package/lib/components/checkbox/src/checkbox-group.js.map +1 -1
- package/lib/components/checkbox/src/checkbox.d.ts +2 -1
- package/lib/components/checkbox/src/checkbox.js.map +1 -1
- package/lib/components/col/src/col.d.ts +2 -1
- package/lib/components/col/src/col.js.map +1 -1
- package/lib/components/collapse/src/collapse-item.d.ts +2 -1
- package/lib/components/collapse/src/collapse-item.js.map +1 -1
- package/lib/components/collapse/src/collapse.d.ts +2 -1
- package/lib/components/collapse/src/collapse.js.map +1 -1
- package/lib/components/color-picker/src/color-picker.d.ts +2 -1
- package/lib/components/color-picker/src/color-picker.js.map +1 -1
- package/lib/components/color-picker/src/props/alpha-slider.d.ts +2 -1
- package/lib/components/color-picker/src/props/alpha-slider.js.map +1 -1
- package/lib/components/config-provider/src/config-provider-props.d.ts +2 -1
- package/lib/components/config-provider/src/config-provider-props.js.map +1 -1
- package/lib/components/countdown/src/countdown.d.ts +2 -1
- package/lib/components/countdown/src/countdown.js.map +1 -1
- package/lib/components/date-picker/src/composables/use-basic-date-table.d.ts +1 -60
- package/lib/components/date-picker/src/props/basic-cell.d.ts +2 -1
- package/lib/components/date-picker/src/props/basic-cell.js.map +1 -1
- package/lib/components/date-picker/src/props/basic-date-table.d.ts +2 -1
- package/lib/components/date-picker/src/props/basic-date-table.js.map +1 -1
- package/lib/components/date-picker/src/props/basic-month-table.d.ts +2 -1
- package/lib/components/date-picker/src/props/basic-month-table.js.map +1 -1
- package/lib/components/date-picker/src/props/basic-year-table.d.ts +2 -1
- package/lib/components/date-picker/src/props/basic-year-table.js.map +1 -1
- package/lib/components/date-picker/src/props/date-picker.d.ts +2 -1
- package/lib/components/date-picker/src/props/date-picker.js.map +1 -1
- package/lib/components/date-picker/src/props/panel-date-pick.d.ts +2 -1
- package/lib/components/date-picker/src/props/panel-date-pick.js.map +1 -1
- package/lib/components/date-picker/src/props/panel-date-range.d.ts +2 -1
- package/lib/components/date-picker/src/props/panel-date-range.js.map +1 -1
- package/lib/components/date-picker/src/props/panel-month-range.d.ts +2 -1
- package/lib/components/date-picker/src/props/panel-month-range.js.map +1 -1
- package/lib/components/date-picker/src/props/panel-year-range.d.ts +2 -1
- package/lib/components/date-picker/src/props/panel-year-range.js.map +1 -1
- package/lib/components/date-picker/src/props/shared.d.ts +2 -1
- package/lib/components/date-picker/src/props/shared.js.map +1 -1
- package/lib/components/descriptions/index.js +2 -2
- package/lib/components/descriptions/src/description-item.d.ts +2 -1
- package/lib/components/descriptions/src/description-item.js.map +1 -1
- package/lib/components/descriptions/src/description.d.ts +2 -1
- package/lib/components/descriptions/src/description.js +127 -26
- package/lib/components/descriptions/src/description.js.map +1 -1
- package/lib/components/descriptions/src/description2.js +26 -127
- package/lib/components/descriptions/src/description2.js.map +1 -1
- package/lib/components/dialog/src/dialog.d.ts +2 -1
- package/lib/components/dialog/src/dialog.js.map +1 -1
- package/lib/components/divider/src/divider.d.ts +2 -1
- package/lib/components/divider/src/divider.js.map +1 -1
- package/lib/components/drawer/src/drawer.d.ts +2 -1
- package/lib/components/drawer/src/drawer.js.map +1 -1
- package/lib/components/empty/src/empty.d.ts +2 -1
- package/lib/components/empty/src/empty.js.map +1 -1
- package/lib/components/form/src/form-item.d.ts +2 -1
- package/lib/components/form/src/form-item.js.map +1 -1
- package/lib/components/form/src/form.d.ts +3 -1
- package/lib/components/form/src/form.js.map +1 -1
- package/lib/components/form/src/form.vue.d.ts +1 -570
- package/lib/components/icon/src/icon.d.ts +2 -1
- package/lib/components/icon/src/icon.js.map +1 -1
- package/lib/components/image/src/image.d.ts +2 -1
- package/lib/components/image/src/image.js.map +1 -1
- package/lib/components/image-viewer/src/image-viewer.d.ts +2 -1
- package/lib/components/image-viewer/src/image-viewer.js.map +1 -1
- package/lib/components/index.js +13 -13
- package/lib/components/input/src/input.d.ts +2 -1
- package/lib/components/input/src/input.js.map +1 -1
- package/lib/components/input-number/index.js +2 -2
- package/lib/components/input-number/src/input-number.d.ts +2 -1
- package/lib/components/input-number/src/input-number.js +64 -346
- package/lib/components/input-number/src/input-number.js.map +1 -1
- package/lib/components/input-number/src/input-number2.js +346 -64
- package/lib/components/input-number/src/input-number2.js.map +1 -1
- package/lib/components/input-tag/src/input-tag.d.ts +2 -1
- package/lib/components/input-tag/src/input-tag.js +1 -1
- package/lib/components/input-tag/src/input-tag.js.map +1 -1
- package/lib/components/link/index.js +2 -2
- package/lib/components/link/src/link.d.ts +2 -1
- package/lib/components/link/src/link.js +26 -71
- package/lib/components/link/src/link.js.map +1 -1
- package/lib/components/link/src/link2.js +71 -26
- package/lib/components/link/src/link2.js.map +1 -1
- package/lib/components/mention/src/mention.d.ts +2 -1
- package/lib/components/mention/src/mention.js.map +1 -1
- package/lib/components/menu/index.js +2 -2
- package/lib/components/menu/src/menu-item-group.d.ts +2 -1
- package/lib/components/menu/src/menu-item-group.js.map +1 -1
- package/lib/components/menu/src/menu-item.d.ts +2 -1
- package/lib/components/menu/src/menu-item.js +100 -16
- package/lib/components/menu/src/menu-item.js.map +1 -1
- package/lib/components/menu/src/menu-item2.js +16 -100
- package/lib/components/menu/src/menu-item2.js.map +1 -1
- package/lib/components/menu/src/menu.d.ts +2 -1
- package/lib/components/menu/src/menu.js.map +1 -1
- package/lib/components/menu/src/sub-menu.d.ts +2 -1
- package/lib/components/menu/src/sub-menu.js.map +1 -1
- package/lib/components/message/src/message.d.ts +2 -1
- package/lib/components/message/src/message.js.map +1 -1
- package/lib/components/message/src/message.vue.d.ts +1 -1
- package/lib/components/message-box/src/index.vue.d.ts +1 -21
- package/lib/components/notification/src/notification.d.ts +2 -1
- package/lib/components/notification/src/notification.js.map +1 -1
- package/lib/components/notification/src/notification.vue.d.ts +1 -1
- package/lib/components/overlay/src/overlay.d.ts +2 -1
- package/lib/components/overlay/src/overlay.js.map +1 -1
- package/lib/components/page-header/src/page-header.d.ts +2 -1
- package/lib/components/page-header/src/page-header.js.map +1 -1
- package/lib/components/pagination/src/components/jumper.d.ts +2 -1
- package/lib/components/pagination/src/components/jumper2.js.map +1 -1
- package/lib/components/pagination/src/components/next.d.ts +2 -1
- package/lib/components/pagination/src/components/next.js.map +1 -1
- package/lib/components/pagination/src/components/pager.d.ts +2 -1
- package/lib/components/pagination/src/components/pager.js.map +1 -1
- package/lib/components/pagination/src/components/prev.d.ts +2 -1
- package/lib/components/pagination/src/components/prev.js.map +1 -1
- package/lib/components/pagination/src/components/sizes.d.ts +2 -1
- package/lib/components/pagination/src/components/sizes.js.map +1 -1
- package/lib/components/pagination/src/components/total.d.ts +2 -1
- package/lib/components/pagination/src/components/total.js +26 -6
- package/lib/components/pagination/src/components/total.js.map +1 -1
- package/lib/components/pagination/src/components/total2.js +6 -26
- package/lib/components/pagination/src/components/total2.js.map +1 -1
- package/lib/components/pagination/src/pagination.d.ts +2 -1
- package/lib/components/pagination/src/pagination.js +1 -1
- package/lib/components/pagination/src/pagination.js.map +1 -1
- package/lib/components/popconfirm/src/popconfirm.d.ts +2 -1
- package/lib/components/popconfirm/src/popconfirm.js.map +1 -1
- package/lib/components/popover/index.js +2 -2
- package/lib/components/popover/src/popover.d.ts +2 -1
- package/lib/components/popover/src/popover.js +112 -67
- package/lib/components/popover/src/popover.js.map +1 -1
- package/lib/components/popover/src/popover2.js +67 -112
- package/lib/components/popover/src/popover2.js.map +1 -1
- package/lib/components/popper/src/arrow.d.ts +2 -1
- package/lib/components/popper/src/arrow.js.map +1 -1
- package/lib/components/popper/src/content.d.ts +3 -1
- package/lib/components/popper/src/content.js.map +1 -1
- package/lib/components/popper/src/popper.d.ts +2 -1
- package/lib/components/popper/src/popper.js.map +1 -1
- package/lib/components/progress/src/progress.d.ts +2 -1
- package/lib/components/progress/src/progress.js.map +1 -1
- package/lib/components/radio/src/radio-button.d.ts +2 -1
- package/lib/components/radio/src/radio-button.js.map +1 -1
- package/lib/components/radio/src/radio-group.d.ts +2 -1
- package/lib/components/radio/src/radio-group.js.map +1 -1
- package/lib/components/radio/src/radio.d.ts +2 -1
- package/lib/components/radio/src/radio.js.map +1 -1
- package/lib/components/rate/src/rate.d.ts +2 -1
- package/lib/components/rate/src/rate.js.map +1 -1
- package/lib/components/result/src/result.d.ts +2 -1
- package/lib/components/result/src/result.js.map +1 -1
- package/lib/components/roving-focus-group/src/roving-focus-group.d.ts +2 -1
- package/lib/components/roving-focus-group/src/roving-focus-group.js.map +1 -1
- package/lib/components/row/src/row.d.ts +2 -1
- package/lib/components/row/src/row.js.map +1 -1
- package/lib/components/scrollbar/index.js +1 -1
- package/lib/components/scrollbar/src/bar.d.ts +2 -1
- package/lib/components/scrollbar/src/bar.js.map +1 -1
- package/lib/components/scrollbar/src/bar2.js +1 -1
- package/lib/components/scrollbar/src/scrollbar.d.ts +2 -1
- package/lib/components/scrollbar/src/scrollbar.js.map +1 -1
- package/lib/components/scrollbar/src/thumb.d.ts +2 -1
- package/lib/components/scrollbar/src/thumb.js +139 -11
- package/lib/components/scrollbar/src/thumb.js.map +1 -1
- package/lib/components/scrollbar/src/thumb2.js +11 -139
- package/lib/components/scrollbar/src/thumb2.js.map +1 -1
- package/lib/components/segmented/index.js +2 -2
- package/lib/components/segmented/src/segmented.d.ts +2 -1
- package/lib/components/segmented/src/segmented.js +168 -44
- package/lib/components/segmented/src/segmented.js.map +1 -1
- package/lib/components/segmented/src/segmented2.js +44 -168
- package/lib/components/segmented/src/segmented2.js.map +1 -1
- package/lib/components/select/src/select.d.ts +2 -1
- package/lib/components/select/src/select.js +1 -1
- package/lib/components/select/src/select.js.map +1 -1
- package/lib/components/select/src/select.vue.d.ts +2 -2
- package/lib/components/select/src/type.d.ts +2 -1
- package/lib/components/select/src/useSelect.d.ts +2 -2
- package/lib/components/select-v2/src/defaults.d.ts +3 -1
- package/lib/components/select-v2/src/defaults.js +1 -1
- package/lib/components/select-v2/src/defaults.js.map +1 -1
- package/lib/components/skeleton/src/skeleton-item.d.ts +2 -1
- package/lib/components/skeleton/src/skeleton-item.js.map +1 -1
- package/lib/components/skeleton/src/skeleton.d.ts +2 -1
- package/lib/components/skeleton/src/skeleton.js.map +1 -1
- package/lib/components/slider/src/button.d.ts +2 -1
- package/lib/components/slider/src/button.js.map +1 -1
- package/lib/components/slider/src/marker.d.ts +2 -1
- package/lib/components/slider/src/marker.js.map +1 -1
- package/lib/components/slider/src/slider.d.ts +2 -1
- package/lib/components/slider/src/slider.js.map +1 -1
- package/lib/components/space/src/item.d.ts +2 -1
- package/lib/components/space/src/item.js.map +1 -1
- package/lib/components/space/src/space.d.ts +2 -1
- package/lib/components/space/src/space.js.map +1 -1
- package/lib/components/splitter/src/split-panel.d.ts +2 -1
- package/lib/components/splitter/src/split-panel.js.map +1 -1
- package/lib/components/splitter/src/splitter.d.ts +2 -1
- package/lib/components/splitter/src/splitter.js.map +1 -1
- package/lib/components/statistic/index.js +2 -2
- package/lib/components/statistic/src/statistic.d.ts +2 -1
- package/lib/components/statistic/src/statistic.js +25 -69
- package/lib/components/statistic/src/statistic.js.map +1 -1
- package/lib/components/statistic/src/statistic2.js +69 -25
- package/lib/components/statistic/src/statistic2.js.map +1 -1
- package/lib/components/steps/src/item.d.ts +2 -1
- package/lib/components/steps/src/item.js.map +1 -1
- package/lib/components/steps/src/steps.d.ts +2 -1
- package/lib/components/steps/src/steps.js.map +1 -1
- package/lib/components/switch/src/switch.d.ts +2 -1
- package/lib/components/switch/src/switch.js.map +1 -1
- package/lib/components/table/src/table-header/index.d.ts +1 -1
- package/lib/components/table-v2/src/auto-resizer.d.ts +2 -1
- package/lib/components/table-v2/src/auto-resizer.js.map +1 -1
- package/lib/components/table-v2/src/cell.d.ts +2 -1
- package/lib/components/table-v2/src/cell.js.map +1 -1
- package/lib/components/table-v2/src/grid.d.ts +2 -1
- package/lib/components/table-v2/src/grid.js.map +1 -1
- package/lib/components/table-v2/src/header-cell.d.ts +2 -1
- package/lib/components/table-v2/src/header-cell.js.map +1 -1
- package/lib/components/table-v2/src/header-row.d.ts +2 -1
- package/lib/components/table-v2/src/header-row.js.map +1 -1
- package/lib/components/table-v2/src/header.d.ts +2 -1
- package/lib/components/table-v2/src/header.js.map +1 -1
- package/lib/components/table-v2/src/row.d.ts +2 -1
- package/lib/components/table-v2/src/row.js.map +1 -1
- package/lib/components/table-v2/src/table.d.ts +2 -1
- package/lib/components/table-v2/src/table.js.map +1 -1
- package/lib/components/tabs/index.js +1 -1
- package/lib/components/tabs/src/tab-bar.d.ts +2 -1
- package/lib/components/tabs/src/tab-bar.js +87 -11
- package/lib/components/tabs/src/tab-bar.js.map +1 -1
- package/lib/components/tabs/src/tab-bar2.js +11 -87
- package/lib/components/tabs/src/tab-bar2.js.map +1 -1
- package/lib/components/tabs/src/tab-nav.d.ts +2 -1
- package/lib/components/tabs/src/tab-nav.js +1 -1
- package/lib/components/tabs/src/tab-nav.js.map +1 -1
- package/lib/components/tabs/src/tab-pane.d.ts +2 -1
- package/lib/components/tabs/src/tab-pane.js.map +1 -1
- package/lib/components/tabs/src/tabs.d.ts +2 -1
- package/lib/components/tabs/src/tabs.js.map +1 -1
- package/lib/components/tag/index.js +2 -2
- package/lib/components/tag/src/tag.d.ts +2 -1
- package/lib/components/tag/src/tag.js +99 -28
- package/lib/components/tag/src/tag.js.map +1 -1
- package/lib/components/tag/src/tag2.js +28 -99
- package/lib/components/tag/src/tag2.js.map +1 -1
- package/lib/components/teleport/src/teleport.d.ts +2 -1
- package/lib/components/teleport/src/teleport2.js.map +1 -1
- package/lib/components/text/index.js +2 -2
- package/lib/components/text/src/text.d.ts +2 -1
- package/lib/components/text/src/text.js +21 -67
- package/lib/components/text/src/text.js.map +1 -1
- package/lib/components/text/src/text2.js +67 -21
- package/lib/components/text/src/text2.js.map +1 -1
- package/lib/components/time-picker/src/common/props.d.ts +2 -1
- package/lib/components/time-picker/src/common/props.js.map +1 -1
- package/lib/components/time-picker/src/props/basic-time-spinner.d.ts +2 -1
- package/lib/components/time-picker/src/props/basic-time-spinner.js.map +1 -1
- package/lib/components/time-picker/src/props/panel-time-picker.d.ts +2 -1
- package/lib/components/time-picker/src/props/panel-time-picker.js.map +1 -1
- package/lib/components/time-picker/src/props/panel-time-range.d.ts +2 -1
- package/lib/components/time-picker/src/props/panel-time-range.js.map +1 -1
- package/lib/components/time-picker/src/props/shared.d.ts +3 -1
- package/lib/components/time-picker/src/props/shared.js.map +1 -1
- package/lib/components/time-select/src/time-select.d.ts +2 -1
- package/lib/components/time-select/src/time-select.js.map +1 -1
- package/lib/components/timeline/src/timeline-item.d.ts +2 -1
- package/lib/components/timeline/src/timeline-item.js.map +1 -1
- package/lib/components/tooltip/src/content.d.ts +2 -1
- package/lib/components/tooltip/src/content.js.map +1 -1
- package/lib/components/tooltip/src/tooltip.d.ts +2 -1
- package/lib/components/tooltip/src/tooltip.js.map +1 -1
- package/lib/components/tooltip/src/trigger.d.ts +2 -1
- package/lib/components/tooltip/src/trigger.js.map +1 -1
- package/lib/components/tooltip-v2/index.js +2 -2
- package/lib/components/tooltip-v2/src/arrow.d.ts +2 -1
- package/lib/components/tooltip-v2/src/arrow.js.map +1 -1
- package/lib/components/tooltip-v2/src/common.d.ts +2 -1
- package/lib/components/tooltip-v2/src/common.js.map +1 -1
- package/lib/components/tooltip-v2/src/content.d.ts +2 -1
- package/lib/components/tooltip-v2/src/content.js.map +1 -1
- package/lib/components/tooltip-v2/src/forward-ref.d.ts +2 -1
- package/lib/components/tooltip-v2/src/forward-ref.js.map +1 -1
- package/lib/components/tooltip-v2/src/root.d.ts +2 -1
- package/lib/components/tooltip-v2/src/root.js.map +1 -1
- package/lib/components/tooltip-v2/src/tooltip.d.ts +2 -1
- package/lib/components/tooltip-v2/src/tooltip.js +19 -77
- package/lib/components/tooltip-v2/src/tooltip.js.map +1 -1
- package/lib/components/tooltip-v2/src/tooltip2.js +77 -19
- package/lib/components/tooltip-v2/src/tooltip2.js.map +1 -1
- package/lib/components/tooltip-v2/src/trigger.d.ts +2 -1
- package/lib/components/tooltip-v2/src/trigger.js.map +1 -1
- package/lib/components/tour/src/content.d.ts +2 -1
- package/lib/components/tour/src/content.js.map +1 -1
- package/lib/components/tour/src/mask.d.ts +2 -1
- package/lib/components/tour/src/mask.js +18 -75
- package/lib/components/tour/src/mask.js.map +1 -1
- package/lib/components/tour/src/mask2.js +75 -18
- package/lib/components/tour/src/mask2.js.map +1 -1
- package/lib/components/tour/src/step.d.ts +2 -1
- package/lib/components/tour/src/step.js.map +1 -1
- package/lib/components/tour/src/tour.d.ts +2 -1
- package/lib/components/tour/src/tour.js.map +1 -1
- package/lib/components/tour/src/tour2.js +1 -1
- package/lib/components/transfer/src/transfer-panel.d.ts +2 -1
- package/lib/components/transfer/src/transfer-panel.js.map +1 -1
- package/lib/components/transfer/src/transfer.d.ts +2 -1
- package/lib/components/transfer/src/transfer.js.map +1 -1
- package/lib/components/tree-v2/src/composables/useFilter.d.ts +2 -2
- package/lib/components/tree-v2/src/types.d.ts +2 -1
- package/lib/components/upload/index.js +2 -2
- package/lib/components/upload/src/upload-content.d.ts +2 -1
- package/lib/components/upload/src/upload-content.js +1 -1
- package/lib/components/upload/src/upload-content.js.map +1 -1
- package/lib/components/upload/src/upload-content2.js +1 -1
- package/lib/components/upload/src/upload-dragger.d.ts +2 -1
- package/lib/components/upload/src/upload-dragger.js.map +1 -1
- package/lib/components/upload/src/upload-list.d.ts +2 -1
- package/lib/components/upload/src/upload-list.js +1 -1
- package/lib/components/upload/src/upload-list.js.map +1 -1
- package/lib/components/upload/src/upload.d.ts +2 -1
- package/lib/components/upload/src/upload.js +100 -125
- package/lib/components/upload/src/upload.js.map +1 -1
- package/lib/components/upload/src/upload2.js +125 -100
- package/lib/components/upload/src/upload2.js.map +1 -1
- package/lib/components/upload/src/use-handlers.js +1 -1
- package/lib/components/virtual-list/src/props.d.ts +5 -1
- package/lib/components/virtual-list/src/props.js.map +1 -1
- package/lib/components/watermark/src/watermark.d.ts +2 -1
- package/lib/components/watermark/src/watermark.js.map +1 -1
- package/lib/hooks/use-model-toggle/index.d.ts +2 -1
- package/lib/hooks/use-model-toggle/index.js.map +1 -1
- package/lib/index.d.ts +116 -589
- package/lib/index.js +13 -13
- package/lib/utils/vue/props/util.d.ts +31 -0
- 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
@@ -1,30 +1,74 @@
|
|
1
|
-
import {
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createElementVNode, normalizeStyle } from 'vue';
|
2
|
+
import { statisticProps } from './statistic.mjs';
|
3
|
+
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
4
|
+
import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
|
5
|
+
import { isFunction } from '@vue/shared';
|
6
|
+
import { isNumber } from '../../../utils/types.mjs';
|
2
7
|
|
3
|
-
const
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
8
|
+
const __default__ = defineComponent({
|
9
|
+
name: "ElStatistic"
|
10
|
+
});
|
11
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
12
|
+
...__default__,
|
13
|
+
props: statisticProps,
|
14
|
+
setup(__props, { expose }) {
|
15
|
+
const props = __props;
|
16
|
+
const ns = useNamespace("statistic");
|
17
|
+
const displayValue = computed(() => {
|
18
|
+
const { value, formatter, precision, decimalSeparator, groupSeparator } = props;
|
19
|
+
if (isFunction(formatter))
|
20
|
+
return formatter(value);
|
21
|
+
if (!isNumber(value) || Number.isNaN(value))
|
22
|
+
return value;
|
23
|
+
let [integer, decimal = ""] = String(value).split(".");
|
24
|
+
decimal = decimal.padEnd(precision, "0").slice(0, precision > 0 ? precision : 0);
|
25
|
+
integer = integer.replace(/\B(?=(\d{3})+(?!\d))/g, groupSeparator);
|
26
|
+
return [integer, decimal].join(decimal ? decimalSeparator : "");
|
27
|
+
});
|
28
|
+
expose({
|
29
|
+
displayValue
|
30
|
+
});
|
31
|
+
return (_ctx, _cache) => {
|
32
|
+
return openBlock(), createElementBlock("div", {
|
33
|
+
class: normalizeClass(unref(ns).b())
|
34
|
+
}, [
|
35
|
+
_ctx.$slots.title || _ctx.title ? (openBlock(), createElementBlock("div", {
|
36
|
+
key: 0,
|
37
|
+
class: normalizeClass(unref(ns).e("head"))
|
38
|
+
}, [
|
39
|
+
renderSlot(_ctx.$slots, "title", {}, () => [
|
40
|
+
createTextVNode(toDisplayString(_ctx.title), 1)
|
41
|
+
])
|
42
|
+
], 2)) : createCommentVNode("v-if", true),
|
43
|
+
createElementVNode("div", {
|
44
|
+
class: normalizeClass(unref(ns).e("content"))
|
45
|
+
}, [
|
46
|
+
_ctx.$slots.prefix || _ctx.prefix ? (openBlock(), createElementBlock("div", {
|
47
|
+
key: 0,
|
48
|
+
class: normalizeClass(unref(ns).e("prefix"))
|
49
|
+
}, [
|
50
|
+
renderSlot(_ctx.$slots, "prefix", {}, () => [
|
51
|
+
createElementVNode("span", null, toDisplayString(_ctx.prefix), 1)
|
52
|
+
])
|
53
|
+
], 2)) : createCommentVNode("v-if", true),
|
54
|
+
createElementVNode("span", {
|
55
|
+
class: normalizeClass(unref(ns).e("number")),
|
56
|
+
style: normalizeStyle(_ctx.valueStyle)
|
57
|
+
}, toDisplayString(unref(displayValue)), 7),
|
58
|
+
_ctx.$slots.suffix || _ctx.suffix ? (openBlock(), createElementBlock("div", {
|
59
|
+
key: 1,
|
60
|
+
class: normalizeClass(unref(ns).e("suffix"))
|
61
|
+
}, [
|
62
|
+
renderSlot(_ctx.$slots, "suffix", {}, () => [
|
63
|
+
createElementVNode("span", null, toDisplayString(_ctx.suffix), 1)
|
64
|
+
])
|
65
|
+
], 2)) : createCommentVNode("v-if", true)
|
66
|
+
], 2)
|
67
|
+
], 2);
|
68
|
+
};
|
26
69
|
}
|
27
70
|
});
|
71
|
+
var Statistic = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "statistic.vue"]]);
|
28
72
|
|
29
|
-
export {
|
73
|
+
export { Statistic as default };
|
30
74
|
//# sourceMappingURL=statistic2.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"statistic2.mjs","sources":["../../../../../../packages/components/statistic/src/statistic.
|
1
|
+
{"version":3,"file":"statistic2.mjs","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\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 // https://github.com/element-plus/element-plus/issues/17784\n if (!isNumber(value) || Number.isNaN(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":[],"mappings":";;;;;;;mCA+Bc,CAAA;AAAA,EACZ,IAAM,EAAA,aAAA;AACR,CAAA,CAAA,CAAA;;;;;;AAGA,IAAM,MAAA,EAAA,GAAK,aAAa,WAAW,CAAA,CAAA;AAEnC,IAAM,MAAA,YAAA,GAAe,SAAS,MAAM;AAClC,MAAA,MAAM,EAAE,KAAO,EAAA,SAAA,EAAW,SAAW,EAAA,gBAAA,EAAkB,gBACrD,GAAA,KAAA,CAAA;AAEF,MAAA,IAAI,UAAW,CAAA,SAAS,CAAG;AAG3B,QAAI,gBAAe,CAAA,KAAK;AAExB,MAAI,IAAA,CAAC,SAAS,KAAU,CAAA,IAAA,MAAM,CAAO,KAAA,CAAA,KAAK,CAAE;AAC5C,QAAU,OAAA,KAAA,CAAA;AAGV,MAAU,IAAA,CAAA,OAAA,EAAA,OAAgB,GAAA,EAAA,CAAA,GAAA,MAAA,CAAA,KAAA,CAAA,CAAA,KAAA,CAAA,GAAuC,CAAA,CAAA;AACjE,MAAA,OAAO,GAAU,OAAA,CAAA,MAAO,UAAO,EAAA,GAAA,CAAA,CAAU,qBAAqB,CAAA,GAAA,SAAA,GAAA,CAAA,CAAA,CAAA;AAAA,MAC/D,OAAA,GAAA,OAAA,CAAA,OAAA,CAAA,uBAAA,EAAA,cAAA,CAAA,CAAA;AAED,MAAa,OAAA,CAAA,OAAA,EAAA,OAAA,CAAA,CAAA,IAAA,CAAA,OAAA,GAAA,gBAAA,GAAA,EAAA,CAAA,CAAA;AAAA,KAAA,CAAA,CAAA;AAAA,IAAA,MAAA,CAAA;AAAA,MAAA,YAAA;AAAA,KAIX,CAAA,CAAA;AAAA,IACF,OAAC,CAAA,IAAA,EAAA,MAAA,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type Step from './item.vue';
|
2
|
-
import type { ExtractPropTypes } from 'vue';
|
2
|
+
import type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue';
|
3
3
|
export declare const stepProps: {
|
4
4
|
readonly title: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
5
5
|
readonly icon: {
|
@@ -12,4 +12,5 @@ export declare const stepProps: {
|
|
12
12
|
readonly status: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "" | "wait" | "error" | "finish" | "success" | "process", unknown, "", boolean>;
|
13
13
|
};
|
14
14
|
export type StepProps = ExtractPropTypes<typeof stepProps>;
|
15
|
+
export type StepPropsPublic = __ExtractPublicPropTypes<typeof stepProps>;
|
15
16
|
export type StepInstance = InstanceType<typeof Step> & unknown;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"item.mjs","sources":["../../../../../../packages/components/steps/src/item.ts"],"sourcesContent":["import { buildProps, iconPropType } from '@element-plus/utils'\n\nimport type Step from './item.vue'\nimport type { ExtractPropTypes } from 'vue'\n\nexport const stepProps = buildProps({\n /**\n * @description step title\n */\n title: {\n type: String,\n default: '',\n },\n /**\n * @description step custom icon. Icons can be passed via named slot as well\n */\n icon: {\n type: iconPropType,\n },\n /**\n * @description step description\n */\n description: {\n type: String,\n default: '',\n },\n /**\n * @description current status. It will be automatically set by Steps if not configured.\n */\n status: {\n type: String,\n values: ['', 'wait', 'process', 'finish', 'error', 'success'],\n default: '',\n },\n} as const)\n\nexport type StepProps = ExtractPropTypes<typeof stepProps>\n\nexport type StepInstance = InstanceType<typeof Step> & unknown\n"],"names":[],"mappings":";;;AACY,MAAC,SAAS,GAAG,UAAU,CAAC;AACpC,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,YAAY;AACtB,GAAG;AACH,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,CAAC;AACjE,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,CAAC;;;;"}
|
1
|
+
{"version":3,"file":"item.mjs","sources":["../../../../../../packages/components/steps/src/item.ts"],"sourcesContent":["import { buildProps, iconPropType } from '@element-plus/utils'\n\nimport type Step from './item.vue'\nimport type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue'\n\nexport const stepProps = buildProps({\n /**\n * @description step title\n */\n title: {\n type: String,\n default: '',\n },\n /**\n * @description step custom icon. Icons can be passed via named slot as well\n */\n icon: {\n type: iconPropType,\n },\n /**\n * @description step description\n */\n description: {\n type: String,\n default: '',\n },\n /**\n * @description current status. It will be automatically set by Steps if not configured.\n */\n status: {\n type: String,\n values: ['', 'wait', 'process', 'finish', 'error', 'success'],\n default: '',\n },\n} as const)\n\nexport type StepProps = ExtractPropTypes<typeof stepProps>\nexport type StepPropsPublic = __ExtractPublicPropTypes<typeof stepProps>\n\nexport type StepInstance = InstanceType<typeof Step> & unknown\n"],"names":[],"mappings":";;;AACY,MAAC,SAAS,GAAG,UAAU,CAAC;AACpC,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,YAAY;AACtB,GAAG;AACH,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,CAAC;AACjE,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,CAAC;;;;"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type Steps from './steps.vue';
|
2
|
-
import type { ExtractPropTypes } from 'vue';
|
2
|
+
import type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue';
|
3
3
|
export declare const stepsProps: {
|
4
4
|
readonly space: import("@element-plus/nightly/es/utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], unknown, unknown, "", boolean>;
|
5
5
|
readonly active: import("@element-plus/nightly/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
@@ -20,6 +20,7 @@ export declare const stepsProps: {
|
|
20
20
|
readonly processStatus: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "wait" | "error" | "finish" | "success" | "process", unknown, "process", boolean>;
|
21
21
|
};
|
22
22
|
export type StepsProps = ExtractPropTypes<typeof stepsProps>;
|
23
|
+
export type StepsPropsPublic = __ExtractPublicPropTypes<typeof stepsProps>;
|
23
24
|
export declare const stepsEmits: {
|
24
25
|
change: (newVal: number, oldVal: number) => boolean;
|
25
26
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"steps.mjs","sources":["../../../../../../packages/components/steps/src/steps.ts"],"sourcesContent":["import { CHANGE_EVENT } from '@element-plus/constants'\nimport { buildProps, isNumber } from '@element-plus/utils'\n\nimport type Steps from './steps.vue'\nimport type { ExtractPropTypes } from 'vue'\n\nexport const stepsProps = buildProps({\n /**\n * @description the spacing of each step, will be responsive if omitted. Supports percentage.\n */\n space: {\n type: [Number, String],\n default: '',\n },\n /**\n * @description current activation step\n */\n active: {\n type: Number,\n default: 0,\n },\n /**\n * @description display direction\n */\n direction: {\n type: String,\n default: 'horizontal',\n values: ['horizontal', 'vertical'],\n },\n /**\n * @description center title and description\n */\n alignCenter: {\n type: Boolean,\n },\n /**\n * @description whether to apply simple theme\n */\n simple: {\n type: Boolean,\n },\n /**\n * @description status of end step\n */\n finishStatus: {\n type: String,\n values: ['wait', 'process', 'finish', 'error', 'success'],\n default: 'finish',\n },\n /**\n * @description status of current step\n */\n processStatus: {\n type: String,\n values: ['wait', 'process', 'finish', 'error', 'success'],\n default: 'process',\n },\n} as const)\nexport type StepsProps = ExtractPropTypes<typeof stepsProps>\n\nexport const stepsEmits = {\n [CHANGE_EVENT]: (newVal: number, oldVal: number) =>\n [newVal, oldVal].every(isNumber),\n}\nexport type StepsEmits = typeof stepsEmits\n\nexport type StepsInstance = InstanceType<typeof Steps> & unknown\n"],"names":[],"mappings":";;;;AAEY,MAAC,UAAU,GAAG,UAAU,CAAC;AACrC,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;AAC1B,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,YAAY;AACzB,IAAI,MAAM,EAAE,CAAC,YAAY,EAAE,UAAU,CAAC;AACtC,GAAG;AACH,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,OAAO;AACjB,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,OAAO;AACjB,GAAG;AACH,EAAE,YAAY,EAAE;AAChB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,CAAC;AAC7D,IAAI,OAAO,EAAE,QAAQ;AACrB,GAAG;AACH,EAAE,aAAa,EAAE;AACjB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,CAAC;AAC7D,IAAI,OAAO,EAAE,SAAS;AACtB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,UAAU,GAAG;AAC1B,EAAE,CAAC,YAAY,GAAG,CAAC,MAAM,EAAE,MAAM,KAAK,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC;AACtE;;;;"}
|
1
|
+
{"version":3,"file":"steps.mjs","sources":["../../../../../../packages/components/steps/src/steps.ts"],"sourcesContent":["import { CHANGE_EVENT } from '@element-plus/constants'\nimport { buildProps, isNumber } from '@element-plus/utils'\n\nimport type Steps from './steps.vue'\nimport type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue'\n\nexport const stepsProps = buildProps({\n /**\n * @description the spacing of each step, will be responsive if omitted. Supports percentage.\n */\n space: {\n type: [Number, String],\n default: '',\n },\n /**\n * @description current activation step\n */\n active: {\n type: Number,\n default: 0,\n },\n /**\n * @description display direction\n */\n direction: {\n type: String,\n default: 'horizontal',\n values: ['horizontal', 'vertical'],\n },\n /**\n * @description center title and description\n */\n alignCenter: {\n type: Boolean,\n },\n /**\n * @description whether to apply simple theme\n */\n simple: {\n type: Boolean,\n },\n /**\n * @description status of end step\n */\n finishStatus: {\n type: String,\n values: ['wait', 'process', 'finish', 'error', 'success'],\n default: 'finish',\n },\n /**\n * @description status of current step\n */\n processStatus: {\n type: String,\n values: ['wait', 'process', 'finish', 'error', 'success'],\n default: 'process',\n },\n} as const)\nexport type StepsProps = ExtractPropTypes<typeof stepsProps>\nexport type StepsPropsPublic = __ExtractPublicPropTypes<typeof stepsProps>\n\nexport const stepsEmits = {\n [CHANGE_EVENT]: (newVal: number, oldVal: number) =>\n [newVal, oldVal].every(isNumber),\n}\nexport type StepsEmits = typeof stepsEmits\n\nexport type StepsInstance = InstanceType<typeof Steps> & unknown\n"],"names":[],"mappings":";;;;AAEY,MAAC,UAAU,GAAG,UAAU,CAAC;AACrC,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;AAC1B,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,YAAY;AACzB,IAAI,MAAM,EAAE,CAAC,YAAY,EAAE,UAAU,CAAC;AACtC,GAAG;AACH,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,OAAO;AACjB,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,OAAO;AACjB,GAAG;AACH,EAAE,YAAY,EAAE;AAChB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,CAAC;AAC7D,IAAI,OAAO,EAAE,QAAQ;AACrB,GAAG;AACH,EAAE,aAAa,EAAE;AACjB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,CAAC;AAC7D,IAAI,OAAO,EAAE,SAAS;AACtB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,UAAU,GAAG;AAC1B,EAAE,CAAC,YAAY,GAAG,CAAC,MAAM,EAAE,MAAM,KAAK,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC;AACtE;;;;"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type Switch from './switch.vue';
|
2
|
-
import type { ExtractPropTypes, PropType } from 'vue';
|
2
|
+
import type { ExtractPropTypes, PropType, __ExtractPublicPropTypes } from 'vue';
|
3
3
|
export declare const switchProps: {
|
4
4
|
readonly ariaLabel: StringConstructor;
|
5
5
|
readonly modelValue: import("@element-plus/nightly/es/utils").EpPropFinalized<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown, false, boolean>;
|
@@ -58,6 +58,7 @@ export declare const switchProps: {
|
|
58
58
|
};
|
59
59
|
};
|
60
60
|
export type SwitchProps = ExtractPropTypes<typeof switchProps>;
|
61
|
+
export type SwitchPropsPublic = __ExtractPublicPropTypes<typeof switchProps>;
|
61
62
|
export declare const switchEmits: {
|
62
63
|
"update:modelValue": (val: boolean | string | number) => boolean;
|
63
64
|
change: (val: boolean | string | number) => boolean;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"switch.mjs","sources":["../../../../../../packages/components/switch/src/switch.ts"],"sourcesContent":["import {\n buildProps,\n definePropType,\n iconPropType,\n isBoolean,\n isNumber,\n isString,\n isValidComponentSize,\n} from '@element-plus/utils'\nimport {\n CHANGE_EVENT,\n INPUT_EVENT,\n UPDATE_MODEL_EVENT,\n} from '@element-plus/constants'\nimport { useAriaProps } from '@element-plus/hooks'\n\nimport type { ComponentSize } from '@element-plus/constants'\nimport type Switch from './switch.vue'\nimport type { ExtractPropTypes, PropType } from 'vue'\n\nexport const switchProps = buildProps({\n /**\n * @description binding value, it should be equivalent to either `active-value` or `inactive-value`, by default it's `boolean` type\n */\n modelValue: {\n type: [Boolean, String, Number],\n default: false,\n },\n /**\n * @description whether Switch is disabled\n */\n disabled: Boolean,\n /**\n * @description whether Switch is in loading state\n */\n loading: Boolean,\n /**\n * @description size of Switch\n */\n size: {\n type: String as PropType<ComponentSize>,\n validator: isValidComponentSize,\n },\n /**\n * @description width of Switch\n */\n width: {\n type: [String, Number],\n default: '',\n },\n /**\n * @description whether icon or text is displayed inside dot, only the first character will be rendered for text\n */\n inlinePrompt: Boolean,\n /**\n * @description component of the icon displayed in action when in `off` state\n */\n inactiveActionIcon: {\n type: iconPropType,\n },\n /**\n * @description component of the icon displayed in action when in `on` state\n */\n activeActionIcon: {\n type: iconPropType,\n },\n /**\n * @description component of the icon displayed when in `on` state, overrides `active-text`\n */\n activeIcon: {\n type: iconPropType,\n },\n /**\n * @description component of the icon displayed when in `off` state, overrides `inactive-text`\n */\n inactiveIcon: {\n type: iconPropType,\n },\n /**\n * @description text displayed when in `on` state\n */\n activeText: {\n type: String,\n default: '',\n },\n /**\n * @description text displayed when in `off` state\n */\n inactiveText: {\n type: String,\n default: '',\n },\n /**\n * @description switch value when in `on` state\n */\n activeValue: {\n type: [Boolean, String, Number],\n default: true,\n },\n /**\n * @description switch value when in `off` state\n */\n inactiveValue: {\n type: [Boolean, String, Number],\n default: false,\n },\n /**\n * @description input name of Switch\n */\n name: {\n type: String,\n default: '',\n },\n /**\n * @description whether to trigger form validation\n */\n validateEvent: {\n type: Boolean,\n default: true,\n },\n /**\n * @description before-change hook before the switch state changes. If `false` is returned or a `Promise` is returned and then is rejected, will stop switching\n */\n beforeChange: {\n type: definePropType<() => Promise<boolean> | boolean>(Function),\n },\n /**\n * @description id for input\n */\n id: String,\n /**\n * @description tabindex for input\n */\n tabindex: {\n type: [String, Number],\n },\n ...useAriaProps(['ariaLabel']),\n} as const)\n\nexport type SwitchProps = ExtractPropTypes<typeof switchProps>\n\nexport const switchEmits = {\n [UPDATE_MODEL_EVENT]: (val: boolean | string | number) =>\n isBoolean(val) || isString(val) || isNumber(val),\n [CHANGE_EVENT]: (val: boolean | string | number) =>\n isBoolean(val) || isString(val) || isNumber(val),\n [INPUT_EVENT]: (val: boolean | string | number) =>\n isBoolean(val) || isString(val) || isNumber(val),\n}\nexport type SwitchEmits = typeof switchEmits\n\nexport type SwitchInstance = InstanceType<typeof Switch> & unknown\n"],"names":[],"mappings":";;;;;;;;AAeY,MAAC,WAAW,GAAG,UAAU,CAAC;AACtC,EAAE,UAAU,EAAE;AACd,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC;AACnC,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,EAAE,QAAQ,EAAE,OAAO;AACnB,EAAE,OAAO,EAAE,OAAO;AAClB,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,SAAS,EAAE,oBAAoB;AACnC,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;AAC1B,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,YAAY,EAAE,OAAO;AACvB,EAAE,kBAAkB,EAAE;AACtB,IAAI,IAAI,EAAE,YAAY;AACtB,GAAG;AACH,EAAE,gBAAgB,EAAE;AACpB,IAAI,IAAI,EAAE,YAAY;AACtB,GAAG;AACH,EAAE,UAAU,EAAE;AACd,IAAI,IAAI,EAAE,YAAY;AACtB,GAAG;AACH,EAAE,YAAY,EAAE;AAChB,IAAI,IAAI,EAAE,YAAY;AACtB,GAAG;AACH,EAAE,UAAU,EAAE;AACd,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,YAAY,EAAE;AAChB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC;AACnC,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,aAAa,EAAE;AACjB,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC;AACnC,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,aAAa,EAAE;AACjB,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,YAAY,EAAE;AAChB,IAAI,IAAI,EAAE,cAAc,CAAC,QAAQ,CAAC;AAClC,GAAG;AACH,EAAE,EAAE,EAAE,MAAM;AACZ,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;AAC1B,GAAG;AACH,EAAE,GAAG,YAAY,CAAC,CAAC,WAAW,CAAC,CAAC;AAChC,CAAC,EAAE;AACS,MAAC,WAAW,GAAG;AAC3B,EAAE,CAAC,kBAAkB,GAAG,CAAC,GAAG,KAAK,SAAS,CAAC,GAAG,CAAC,IAAI,QAAQ,CAAC,GAAG,CAAC,IAAI,QAAQ,CAAC,GAAG,CAAC;AACjF,EAAE,CAAC,YAAY,GAAG,CAAC,GAAG,KAAK,SAAS,CAAC,GAAG,CAAC,IAAI,QAAQ,CAAC,GAAG,CAAC,IAAI,QAAQ,CAAC,GAAG,CAAC;AAC3E,EAAE,CAAC,WAAW,GAAG,CAAC,GAAG,KAAK,SAAS,CAAC,GAAG,CAAC,IAAI,QAAQ,CAAC,GAAG,CAAC,IAAI,QAAQ,CAAC,GAAG,CAAC;AAC1E;;;;"}
|
1
|
+
{"version":3,"file":"switch.mjs","sources":["../../../../../../packages/components/switch/src/switch.ts"],"sourcesContent":["import {\n buildProps,\n definePropType,\n iconPropType,\n isBoolean,\n isNumber,\n isString,\n isValidComponentSize,\n} from '@element-plus/utils'\nimport {\n CHANGE_EVENT,\n INPUT_EVENT,\n UPDATE_MODEL_EVENT,\n} from '@element-plus/constants'\nimport { useAriaProps } from '@element-plus/hooks'\n\nimport type { ComponentSize } from '@element-plus/constants'\nimport type Switch from './switch.vue'\nimport type { ExtractPropTypes, PropType, __ExtractPublicPropTypes } from 'vue'\n\nexport const switchProps = buildProps({\n /**\n * @description binding value, it should be equivalent to either `active-value` or `inactive-value`, by default it's `boolean` type\n */\n modelValue: {\n type: [Boolean, String, Number],\n default: false,\n },\n /**\n * @description whether Switch is disabled\n */\n disabled: Boolean,\n /**\n * @description whether Switch is in loading state\n */\n loading: Boolean,\n /**\n * @description size of Switch\n */\n size: {\n type: String as PropType<ComponentSize>,\n validator: isValidComponentSize,\n },\n /**\n * @description width of Switch\n */\n width: {\n type: [String, Number],\n default: '',\n },\n /**\n * @description whether icon or text is displayed inside dot, only the first character will be rendered for text\n */\n inlinePrompt: Boolean,\n /**\n * @description component of the icon displayed in action when in `off` state\n */\n inactiveActionIcon: {\n type: iconPropType,\n },\n /**\n * @description component of the icon displayed in action when in `on` state\n */\n activeActionIcon: {\n type: iconPropType,\n },\n /**\n * @description component of the icon displayed when in `on` state, overrides `active-text`\n */\n activeIcon: {\n type: iconPropType,\n },\n /**\n * @description component of the icon displayed when in `off` state, overrides `inactive-text`\n */\n inactiveIcon: {\n type: iconPropType,\n },\n /**\n * @description text displayed when in `on` state\n */\n activeText: {\n type: String,\n default: '',\n },\n /**\n * @description text displayed when in `off` state\n */\n inactiveText: {\n type: String,\n default: '',\n },\n /**\n * @description switch value when in `on` state\n */\n activeValue: {\n type: [Boolean, String, Number],\n default: true,\n },\n /**\n * @description switch value when in `off` state\n */\n inactiveValue: {\n type: [Boolean, String, Number],\n default: false,\n },\n /**\n * @description input name of Switch\n */\n name: {\n type: String,\n default: '',\n },\n /**\n * @description whether to trigger form validation\n */\n validateEvent: {\n type: Boolean,\n default: true,\n },\n /**\n * @description before-change hook before the switch state changes. If `false` is returned or a `Promise` is returned and then is rejected, will stop switching\n */\n beforeChange: {\n type: definePropType<() => Promise<boolean> | boolean>(Function),\n },\n /**\n * @description id for input\n */\n id: String,\n /**\n * @description tabindex for input\n */\n tabindex: {\n type: [String, Number],\n },\n ...useAriaProps(['ariaLabel']),\n} as const)\n\nexport type SwitchProps = ExtractPropTypes<typeof switchProps>\nexport type SwitchPropsPublic = __ExtractPublicPropTypes<typeof switchProps>\n\nexport const switchEmits = {\n [UPDATE_MODEL_EVENT]: (val: boolean | string | number) =>\n isBoolean(val) || isString(val) || isNumber(val),\n [CHANGE_EVENT]: (val: boolean | string | number) =>\n isBoolean(val) || isString(val) || isNumber(val),\n [INPUT_EVENT]: (val: boolean | string | number) =>\n isBoolean(val) || isString(val) || isNumber(val),\n}\nexport type SwitchEmits = typeof switchEmits\n\nexport type SwitchInstance = InstanceType<typeof Switch> & unknown\n"],"names":[],"mappings":";;;;;;;;AAeY,MAAC,WAAW,GAAG,UAAU,CAAC;AACtC,EAAE,UAAU,EAAE;AACd,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC;AACnC,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,EAAE,QAAQ,EAAE,OAAO;AACnB,EAAE,OAAO,EAAE,OAAO;AAClB,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,SAAS,EAAE,oBAAoB;AACnC,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;AAC1B,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,YAAY,EAAE,OAAO;AACvB,EAAE,kBAAkB,EAAE;AACtB,IAAI,IAAI,EAAE,YAAY;AACtB,GAAG;AACH,EAAE,gBAAgB,EAAE;AACpB,IAAI,IAAI,EAAE,YAAY;AACtB,GAAG;AACH,EAAE,UAAU,EAAE;AACd,IAAI,IAAI,EAAE,YAAY;AACtB,GAAG;AACH,EAAE,YAAY,EAAE;AAChB,IAAI,IAAI,EAAE,YAAY;AACtB,GAAG;AACH,EAAE,UAAU,EAAE;AACd,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,YAAY,EAAE;AAChB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC;AACnC,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,aAAa,EAAE;AACjB,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC;AACnC,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,aAAa,EAAE;AACjB,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,YAAY,EAAE;AAChB,IAAI,IAAI,EAAE,cAAc,CAAC,QAAQ,CAAC;AAClC,GAAG;AACH,EAAE,EAAE,EAAE,MAAM;AACZ,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;AAC1B,GAAG;AACH,EAAE,GAAG,YAAY,CAAC,CAAC,WAAW,CAAC,CAAC;AAChC,CAAC,EAAE;AACS,MAAC,WAAW,GAAG;AAC3B,EAAE,CAAC,kBAAkB,GAAG,CAAC,GAAG,KAAK,SAAS,CAAC,GAAG,CAAC,IAAI,QAAQ,CAAC,GAAG,CAAC,IAAI,QAAQ,CAAC,GAAG,CAAC;AACjF,EAAE,CAAC,YAAY,GAAG,CAAC,GAAG,KAAK,SAAS,CAAC,GAAG,CAAC,IAAI,QAAQ,CAAC,GAAG,CAAC,IAAI,QAAQ,CAAC,GAAG,CAAC;AAC3E,EAAE,CAAC,WAAW,GAAG,CAAC,GAAG,KAAK,SAAS,CAAC,GAAG,CAAC,IAAI,QAAQ,CAAC,GAAG,CAAC,IAAI,QAAQ,CAAC,GAAG,CAAC;AAC1E;;;;"}
|
@@ -75,7 +75,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
75
75
|
handleFilterClick: (event: Event) => void;
|
76
76
|
isGroup: import("vue").ComputedRef<boolean>;
|
77
77
|
toggleAllSelection: (event: Event) => void;
|
78
|
-
saveIndexSelection: Map<any, any
|
78
|
+
saveIndexSelection: import("@vue/reactivity").Reactive<Map<any, any>>;
|
79
79
|
isTableLayoutAuto: boolean;
|
80
80
|
theadRef: Ref<any>;
|
81
81
|
updateFixedColumnStyle: () => void;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { ExtractPropTypes } from 'vue';
|
1
|
+
import type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue';
|
2
2
|
type AutoResizeHandler = (event: {
|
3
3
|
height: number;
|
4
4
|
width: number;
|
@@ -14,4 +14,5 @@ export declare const autoResizerProps: {
|
|
14
14
|
};
|
15
15
|
};
|
16
16
|
export type AutoResizerProps = ExtractPropTypes<typeof autoResizerProps>;
|
17
|
+
export type AutoResizerPropsPublic = __ExtractPublicPropTypes<typeof autoResizerProps>;
|
17
18
|
export {};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"auto-resizer.mjs","sources":["../../../../../../packages/components/table-v2/src/auto-resizer.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\n\nimport type { ExtractPropTypes } from 'vue'\n\ntype AutoResizeHandler = (event: { height: number; width: number }) => void\n\nexport const autoResizerProps = buildProps({\n disableWidth: Boolean,\n disableHeight: Boolean,\n onResize: {\n type: definePropType<AutoResizeHandler>(Function),\n },\n} as const)\n\nexport type AutoResizerProps = ExtractPropTypes<typeof autoResizerProps>\n"],"names":[],"mappings":";;AACY,MAAC,gBAAgB,GAAG,UAAU,CAAC;AAC3C,EAAE,YAAY,EAAE,OAAO;AACvB,EAAE,aAAa,EAAE,OAAO;AACxB,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,cAAc,CAAC,QAAQ,CAAC;AAClC,GAAG;AACH,CAAC;;;;"}
|
1
|
+
{"version":3,"file":"auto-resizer.mjs","sources":["../../../../../../packages/components/table-v2/src/auto-resizer.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\n\nimport type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue'\n\ntype AutoResizeHandler = (event: { height: number; width: number }) => void\n\nexport const autoResizerProps = buildProps({\n disableWidth: Boolean,\n disableHeight: Boolean,\n onResize: {\n type: definePropType<AutoResizeHandler>(Function),\n },\n} as const)\n\nexport type AutoResizerProps = ExtractPropTypes<typeof autoResizerProps>\nexport type AutoResizerPropsPublic = __ExtractPublicPropTypes<\n typeof autoResizerProps\n>\n"],"names":[],"mappings":";;AACY,MAAC,gBAAgB,GAAG,UAAU,CAAC;AAC3C,EAAE,YAAY,EAAE,OAAO;AACvB,EAAE,aAAa,EAAE,OAAO;AACxB,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,cAAc,CAAC,QAAQ,CAAC;AAClC,GAAG;AACH,CAAC;;;;"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { ExtractPropTypes, StyleValue } from 'vue';
|
1
|
+
import type { ExtractPropTypes, StyleValue, __ExtractPublicPropTypes } from 'vue';
|
2
2
|
export declare const tableV2CellProps: {
|
3
3
|
readonly class: StringConstructor;
|
4
4
|
readonly cellData: {
|
@@ -29,3 +29,4 @@ export declare const tableV2CellProps: {
|
|
29
29
|
readonly rowIndex: NumberConstructor;
|
30
30
|
};
|
31
31
|
export type TableV2CellProps = ExtractPropTypes<typeof tableV2CellProps>;
|
32
|
+
export type TableV2CellPropsPublic = __ExtractPublicPropTypes<typeof tableV2CellProps>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"cell.mjs","sources":["../../../../../../packages/components/table-v2/src/cell.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\nimport { column } from './common'\n\nimport type {
|
1
|
+
{"version":3,"file":"cell.mjs","sources":["../../../../../../packages/components/table-v2/src/cell.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\nimport { column } from './common'\n\nimport type {\n ExtractPropTypes,\n StyleValue,\n __ExtractPublicPropTypes,\n} from 'vue'\n\nexport const tableV2CellProps = buildProps({\n class: String,\n cellData: {\n type: definePropType<any>([String, Boolean, Number, Object]),\n },\n column,\n columnIndex: Number,\n style: {\n type: definePropType<StyleValue>([String, Array, Object]),\n },\n rowData: {\n type: definePropType<any>(Object),\n },\n rowIndex: Number,\n} as const)\n\nexport type TableV2CellProps = ExtractPropTypes<typeof tableV2CellProps>\nexport type TableV2CellPropsPublic = __ExtractPublicPropTypes<\n typeof tableV2CellProps\n>\n"],"names":[],"mappings":";;;AAEY,MAAC,gBAAgB,GAAG,UAAU,CAAC;AAC3C,EAAE,KAAK,EAAE,MAAM;AACf,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,cAAc,CAAC,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AAC3D,GAAG;AACH,EAAE,MAAM;AACR,EAAE,WAAW,EAAE,MAAM;AACrB,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,cAAc,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC;AACjD,GAAG;AACH,EAAE,OAAO,EAAE;AACX,IAAI,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC;AAChC,GAAG;AACH,EAAE,QAAQ,EAAE,MAAM;AAClB,CAAC;;;;"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { ExtractPropTypes } from 'vue';
|
1
|
+
import type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue';
|
2
2
|
import type { ItemSize } from '@element-plus/nightly/es/components/virtual-list';
|
3
3
|
export type onRowRenderedParams = {
|
4
4
|
rowCacheStart: number;
|
@@ -102,3 +102,4 @@ export declare const tableV2GridProps: {
|
|
102
102
|
};
|
103
103
|
};
|
104
104
|
export type TableV2GridProps = ExtractPropTypes<typeof tableV2GridProps>;
|
105
|
+
export type TableV2GridPropsPublic = __ExtractPublicPropTypes<typeof tableV2GridProps>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"grid.mjs","sources":["../../../../../../packages/components/table-v2/src/grid.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\nimport {\n virtualizedGridProps,\n virtualizedListProps,\n} from '@element-plus/components/virtual-list'\nimport {\n classType,\n columns,\n dataType,\n fixedDataType,\n requiredNumber,\n styleType,\n} from './common'\nimport { tableV2HeaderProps } from './header'\nimport { tableV2RowProps } from './row'\n\nimport type { ExtractPropTypes } from 'vue'\nimport type { ItemSize } from '@element-plus/components/virtual-list'\n\nexport type onRowRenderedParams = {\n rowCacheStart: number\n rowCacheEnd: number\n rowVisibleStart: number\n rowVisibleEnd: number\n}\n\nexport const tableV2GridProps = buildProps({\n columns,\n data: dataType,\n fixedData: fixedDataType,\n estimatedRowHeight: tableV2RowProps.estimatedRowHeight,\n\n /**\n * Size related attributes\n */\n width: requiredNumber,\n height: requiredNumber,\n\n headerWidth: requiredNumber,\n headerHeight: tableV2HeaderProps.headerHeight,\n\n bodyWidth: requiredNumber,\n rowHeight: requiredNumber,\n\n /**\n * Special attributes\n */\n cache: virtualizedListProps.cache,\n useIsScrolling: Boolean,\n scrollbarAlwaysOn: virtualizedGridProps.scrollbarAlwaysOn,\n scrollbarStartGap: virtualizedGridProps.scrollbarStartGap,\n scrollbarEndGap: virtualizedGridProps.scrollbarEndGap,\n\n /**\n * CSS attributes\n */\n class: classType,\n style: styleType,\n containerStyle: styleType,\n\n getRowHeight: {\n type: definePropType<ItemSize>(Function),\n required: true,\n },\n rowKey: tableV2RowProps.rowKey,\n\n /**\n * Event handlers\n */\n onRowsRendered: {\n type: definePropType<(params: onRowRenderedParams) => void>(Function),\n },\n onScroll: {\n type: definePropType<(...args: any[]) => void>(Function),\n },\n} as const)\n\nexport type TableV2GridProps = ExtractPropTypes<typeof tableV2GridProps>\n"],"names":[],"mappings":";;;;;;AAeY,MAAC,gBAAgB,GAAG,UAAU,CAAC;AAC3C,EAAE,OAAO;AACT,EAAE,IAAI,EAAE,QAAQ;AAChB,EAAE,SAAS,EAAE,aAAa;AAC1B,EAAE,kBAAkB,EAAE,eAAe,CAAC,kBAAkB;AACxD,EAAE,KAAK,EAAE,cAAc;AACvB,EAAE,MAAM,EAAE,cAAc;AACxB,EAAE,WAAW,EAAE,cAAc;AAC7B,EAAE,YAAY,EAAE,kBAAkB,CAAC,YAAY;AAC/C,EAAE,SAAS,EAAE,cAAc;AAC3B,EAAE,SAAS,EAAE,cAAc;AAC3B,EAAE,KAAK,EAAE,oBAAoB,CAAC,KAAK;AACnC,EAAE,cAAc,EAAE,OAAO;AACzB,EAAE,iBAAiB,EAAE,oBAAoB,CAAC,iBAAiB;AAC3D,EAAE,iBAAiB,EAAE,oBAAoB,CAAC,iBAAiB;AAC3D,EAAE,eAAe,EAAE,oBAAoB,CAAC,eAAe;AACvD,EAAE,KAAK,EAAE,SAAS;AAClB,EAAE,KAAK,EAAE,SAAS;AAClB,EAAE,cAAc,EAAE,SAAS;AAC3B,EAAE,YAAY,EAAE;AAChB,IAAI,IAAI,EAAE,cAAc,CAAC,QAAQ,CAAC;AAClC,IAAI,QAAQ,EAAE,IAAI;AAClB,GAAG;AACH,EAAE,MAAM,EAAE,eAAe,CAAC,MAAM;AAChC,EAAE,cAAc,EAAE;AAClB,IAAI,IAAI,EAAE,cAAc,CAAC,QAAQ,CAAC;AAClC,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,cAAc,CAAC,QAAQ,CAAC;AAClC,GAAG;AACH,CAAC;;;;"}
|
1
|
+
{"version":3,"file":"grid.mjs","sources":["../../../../../../packages/components/table-v2/src/grid.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\nimport {\n virtualizedGridProps,\n virtualizedListProps,\n} from '@element-plus/components/virtual-list'\nimport {\n classType,\n columns,\n dataType,\n fixedDataType,\n requiredNumber,\n styleType,\n} from './common'\nimport { tableV2HeaderProps } from './header'\nimport { tableV2RowProps } from './row'\n\nimport type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue'\nimport type { ItemSize } from '@element-plus/components/virtual-list'\n\nexport type onRowRenderedParams = {\n rowCacheStart: number\n rowCacheEnd: number\n rowVisibleStart: number\n rowVisibleEnd: number\n}\n\nexport const tableV2GridProps = buildProps({\n columns,\n data: dataType,\n fixedData: fixedDataType,\n estimatedRowHeight: tableV2RowProps.estimatedRowHeight,\n\n /**\n * Size related attributes\n */\n width: requiredNumber,\n height: requiredNumber,\n\n headerWidth: requiredNumber,\n headerHeight: tableV2HeaderProps.headerHeight,\n\n bodyWidth: requiredNumber,\n rowHeight: requiredNumber,\n\n /**\n * Special attributes\n */\n cache: virtualizedListProps.cache,\n useIsScrolling: Boolean,\n scrollbarAlwaysOn: virtualizedGridProps.scrollbarAlwaysOn,\n scrollbarStartGap: virtualizedGridProps.scrollbarStartGap,\n scrollbarEndGap: virtualizedGridProps.scrollbarEndGap,\n\n /**\n * CSS attributes\n */\n class: classType,\n style: styleType,\n containerStyle: styleType,\n\n getRowHeight: {\n type: definePropType<ItemSize>(Function),\n required: true,\n },\n rowKey: tableV2RowProps.rowKey,\n\n /**\n * Event handlers\n */\n onRowsRendered: {\n type: definePropType<(params: onRowRenderedParams) => void>(Function),\n },\n onScroll: {\n type: definePropType<(...args: any[]) => void>(Function),\n },\n} as const)\n\nexport type TableV2GridProps = ExtractPropTypes<typeof tableV2GridProps>\nexport type TableV2GridPropsPublic = __ExtractPublicPropTypes<\n typeof tableV2GridProps\n>\n"],"names":[],"mappings":";;;;;;AAeY,MAAC,gBAAgB,GAAG,UAAU,CAAC;AAC3C,EAAE,OAAO;AACT,EAAE,IAAI,EAAE,QAAQ;AAChB,EAAE,SAAS,EAAE,aAAa;AAC1B,EAAE,kBAAkB,EAAE,eAAe,CAAC,kBAAkB;AACxD,EAAE,KAAK,EAAE,cAAc;AACvB,EAAE,MAAM,EAAE,cAAc;AACxB,EAAE,WAAW,EAAE,cAAc;AAC7B,EAAE,YAAY,EAAE,kBAAkB,CAAC,YAAY;AAC/C,EAAE,SAAS,EAAE,cAAc;AAC3B,EAAE,SAAS,EAAE,cAAc;AAC3B,EAAE,KAAK,EAAE,oBAAoB,CAAC,KAAK;AACnC,EAAE,cAAc,EAAE,OAAO;AACzB,EAAE,iBAAiB,EAAE,oBAAoB,CAAC,iBAAiB;AAC3D,EAAE,iBAAiB,EAAE,oBAAoB,CAAC,iBAAiB;AAC3D,EAAE,eAAe,EAAE,oBAAoB,CAAC,eAAe;AACvD,EAAE,KAAK,EAAE,SAAS;AAClB,EAAE,KAAK,EAAE,SAAS;AAClB,EAAE,cAAc,EAAE,SAAS;AAC3B,EAAE,YAAY,EAAE;AAChB,IAAI,IAAI,EAAE,cAAc,CAAC,QAAQ,CAAC;AAClC,IAAI,QAAQ,EAAE,IAAI;AAClB,GAAG;AACH,EAAE,MAAM,EAAE,eAAe,CAAC,MAAM;AAChC,EAAE,cAAc,EAAE;AAClB,IAAI,IAAI,EAAE,cAAc,CAAC,QAAQ,CAAC;AAClC,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,cAAc,CAAC,QAAQ,CAAC;AAClC,GAAG;AACH,CAAC;;;;"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { ExtractPropTypes } from 'vue';
|
1
|
+
import type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue';
|
2
2
|
export declare const tableV2HeaderCell: {
|
3
3
|
class: StringConstructor;
|
4
4
|
columnIndex: NumberConstructor;
|
@@ -10,3 +10,4 @@ export declare const tableV2HeaderCell: {
|
|
10
10
|
};
|
11
11
|
};
|
12
12
|
export type TableV2HeaderCell = ExtractPropTypes<typeof tableV2HeaderCell>;
|
13
|
+
export type TableV2HeaderCellPublic = __ExtractPublicPropTypes<typeof tableV2HeaderCell>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"header-cell.mjs","sources":["../../../../../../packages/components/table-v2/src/header-cell.ts"],"sourcesContent":["import { buildProps } from '@element-plus/utils'\nimport { classType, column } from './common'\n\nimport type { ExtractPropTypes } from 'vue'\n\nexport const tableV2HeaderCell = buildProps({\n class: classType,\n columnIndex: Number,\n column,\n})\n\nexport type TableV2HeaderCell = ExtractPropTypes<typeof tableV2HeaderCell>\n"],"names":[],"mappings":";;;AAEY,MAAC,iBAAiB,GAAG,UAAU,CAAC;AAC5C,EAAE,KAAK,EAAE,SAAS;AAClB,EAAE,WAAW,EAAE,MAAM;AACrB,EAAE,MAAM;AACR,CAAC;;;;"}
|
1
|
+
{"version":3,"file":"header-cell.mjs","sources":["../../../../../../packages/components/table-v2/src/header-cell.ts"],"sourcesContent":["import { buildProps } from '@element-plus/utils'\nimport { classType, column } from './common'\n\nimport type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue'\n\nexport const tableV2HeaderCell = buildProps({\n class: classType,\n columnIndex: Number,\n column,\n})\n\nexport type TableV2HeaderCell = ExtractPropTypes<typeof tableV2HeaderCell>\nexport type TableV2HeaderCellPublic = __ExtractPublicPropTypes<\n typeof tableV2HeaderCell\n>\n"],"names":[],"mappings":";;;AAEY,MAAC,iBAAiB,GAAG,UAAU,CAAC;AAC5C,EAAE,KAAK,EAAE,SAAS;AAClB,EAAE,WAAW,EAAE,MAAM;AACrB,EAAE,MAAM;AACR,CAAC;;;;"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { CSSProperties, ExtractPropTypes } from 'vue';
|
1
|
+
import type { CSSProperties, ExtractPropTypes, __ExtractPublicPropTypes } from 'vue';
|
2
2
|
import type { KeyType } from './types';
|
3
3
|
export declare const tableV2HeaderRowProps: {
|
4
4
|
readonly class: StringConstructor;
|
@@ -23,3 +23,4 @@ export declare const tableV2HeaderRowProps: {
|
|
23
23
|
};
|
24
24
|
};
|
25
25
|
export type TableV2HeaderRowProps = ExtractPropTypes<typeof tableV2HeaderRowProps>;
|
26
|
+
export type TableV2HeaderRowPropsPublic = __ExtractPublicPropTypes<typeof tableV2HeaderRowProps>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"header-row.mjs","sources":["../../../../../../packages/components/table-v2/src/header-row.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\nimport { columns } from './common'\n\nimport type {
|
1
|
+
{"version":3,"file":"header-row.mjs","sources":["../../../../../../packages/components/table-v2/src/header-row.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\nimport { columns } from './common'\n\nimport type {\n CSSProperties,\n ExtractPropTypes,\n __ExtractPublicPropTypes,\n} from 'vue'\nimport type { KeyType } from './types'\n\nexport const tableV2HeaderRowProps = buildProps({\n class: String,\n columns,\n columnsStyles: {\n type: definePropType<Record<KeyType, CSSProperties>>(Object),\n required: true,\n },\n headerIndex: Number,\n style: { type: definePropType<CSSProperties>(Object) },\n} as const)\n\nexport type TableV2HeaderRowProps = ExtractPropTypes<\n typeof tableV2HeaderRowProps\n>\nexport type TableV2HeaderRowPropsPublic = __ExtractPublicPropTypes<\n typeof tableV2HeaderRowProps\n>\n"],"names":[],"mappings":";;;AAEY,MAAC,qBAAqB,GAAG,UAAU,CAAC;AAChD,EAAE,KAAK,EAAE,MAAM;AACf,EAAE,OAAO;AACT,EAAE,aAAa,EAAE;AACjB,IAAI,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC;AAChC,IAAI,QAAQ,EAAE,IAAI;AAClB,GAAG;AACH,EAAE,WAAW,EAAE,MAAM;AACrB,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC,EAAE;AACzC,CAAC;;;;"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { ExtractPropTypes } from 'vue';
|
1
|
+
import type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue';
|
2
2
|
export declare const tableV2HeaderProps: {
|
3
3
|
readonly class: StringConstructor;
|
4
4
|
readonly columns: {
|
@@ -41,3 +41,4 @@ export declare const tableV2HeaderProps: {
|
|
41
41
|
};
|
42
42
|
};
|
43
43
|
export type TableV2HeaderProps = ExtractPropTypes<typeof tableV2HeaderProps>;
|
44
|
+
export type TableV2HeaderPropsPublic = __ExtractPublicPropTypes<typeof tableV2HeaderProps>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"header.mjs","sources":["../../../../../../packages/components/table-v2/src/header.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\nimport { columns } from './common'\n\nimport type { ExtractPropTypes } from 'vue'\n\nconst requiredNumberType = {\n type: Number,\n required: true,\n} as const\n\nexport const tableV2HeaderProps = buildProps({\n class: String,\n columns,\n fixedHeaderData: {\n type: definePropType<any[]>(Array),\n },\n headerData: {\n type: definePropType<any[]>(Array),\n required: true,\n },\n headerHeight: {\n type: definePropType<number | number[]>([Number, Array]),\n default: 50,\n },\n rowWidth: requiredNumberType,\n rowHeight: {\n type: Number,\n default: 50,\n },\n height: requiredNumberType,\n width: requiredNumberType,\n} as const)\n\nexport type TableV2HeaderProps = ExtractPropTypes<typeof tableV2HeaderProps>\n"],"names":[],"mappings":";;;AAEA,MAAM,kBAAkB,GAAG;AAC3B,EAAE,IAAI,EAAE,MAAM;AACd,EAAE,QAAQ,EAAE,IAAI;AAChB,CAAC,CAAC;AACU,MAAC,kBAAkB,GAAG,UAAU,CAAC;AAC7C,EAAE,KAAK,EAAE,MAAM;AACf,EAAE,OAAO;AACT,EAAE,eAAe,EAAE;AACnB,IAAI,IAAI,EAAE,cAAc,CAAC,KAAK,CAAC;AAC/B,GAAG;AACH,EAAE,UAAU,EAAE;AACd,IAAI,IAAI,EAAE,cAAc,CAAC,KAAK,CAAC;AAC/B,IAAI,QAAQ,EAAE,IAAI;AAClB,GAAG;AACH,EAAE,YAAY,EAAE;AAChB,IAAI,IAAI,EAAE,cAAc,CAAC,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AACzC,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,QAAQ,EAAE,kBAAkB;AAC9B,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,MAAM,EAAE,kBAAkB;AAC5B,EAAE,KAAK,EAAE,kBAAkB;AAC3B,CAAC;;;;"}
|
1
|
+
{"version":3,"file":"header.mjs","sources":["../../../../../../packages/components/table-v2/src/header.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\nimport { columns } from './common'\n\nimport type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue'\n\nconst requiredNumberType = {\n type: Number,\n required: true,\n} as const\n\nexport const tableV2HeaderProps = buildProps({\n class: String,\n columns,\n fixedHeaderData: {\n type: definePropType<any[]>(Array),\n },\n headerData: {\n type: definePropType<any[]>(Array),\n required: true,\n },\n headerHeight: {\n type: definePropType<number | number[]>([Number, Array]),\n default: 50,\n },\n rowWidth: requiredNumberType,\n rowHeight: {\n type: Number,\n default: 50,\n },\n height: requiredNumberType,\n width: requiredNumberType,\n} as const)\n\nexport type TableV2HeaderProps = ExtractPropTypes<typeof tableV2HeaderProps>\nexport type TableV2HeaderPropsPublic = __ExtractPublicPropTypes<\n typeof tableV2HeaderProps\n>\n"],"names":[],"mappings":";;;AAEA,MAAM,kBAAkB,GAAG;AAC3B,EAAE,IAAI,EAAE,MAAM;AACd,EAAE,QAAQ,EAAE,IAAI;AAChB,CAAC,CAAC;AACU,MAAC,kBAAkB,GAAG,UAAU,CAAC;AAC7C,EAAE,KAAK,EAAE,MAAM;AACf,EAAE,OAAO;AACT,EAAE,eAAe,EAAE;AACnB,IAAI,IAAI,EAAE,cAAc,CAAC,KAAK,CAAC;AAC/B,GAAG;AACH,EAAE,UAAU,EAAE;AACd,IAAI,IAAI,EAAE,cAAc,CAAC,KAAK,CAAC;AAC/B,IAAI,QAAQ,EAAE,IAAI;AAClB,GAAG;AACH,EAAE,YAAY,EAAE;AAChB,IAAI,IAAI,EAAE,cAAc,CAAC,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AACzC,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,QAAQ,EAAE,kBAAkB;AAC9B,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,MAAM,EAAE,kBAAkB;AAC5B,EAAE,KAAK,EAAE,kBAAkB;AAC3B,CAAC;;;;"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { CSSProperties, ExtractPropTypes } from 'vue';
|
1
|
+
import type { CSSProperties, ExtractPropTypes, __ExtractPublicPropTypes } from 'vue';
|
2
2
|
import type { FixedDirection, KeyType, RowCommonParams } from './types';
|
3
3
|
export type RowExpandParams = {
|
4
4
|
expanded: boolean;
|
@@ -98,3 +98,4 @@ export declare const tableV2RowProps: {
|
|
98
98
|
};
|
99
99
|
};
|
100
100
|
export type TableV2RowProps = ExtractPropTypes<typeof tableV2RowProps>;
|
101
|
+
export type TableV2RowPropsPublic = __ExtractPublicPropTypes<typeof tableV2RowProps>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"row.mjs","sources":["../../../../../../packages/components/table-v2/src/row.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\nimport { virtualizedGridProps } from '@element-plus/components/virtual-list'\nimport { columns, expandColumnKey, rowKey } from './common'\n\nimport type {
|
1
|
+
{"version":3,"file":"row.mjs","sources":["../../../../../../packages/components/table-v2/src/row.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\nimport { virtualizedGridProps } from '@element-plus/components/virtual-list'\nimport { columns, expandColumnKey, rowKey } from './common'\n\nimport type {\n CSSProperties,\n ExtractPropTypes,\n __ExtractPublicPropTypes,\n} from 'vue'\nimport type { FixedDirection, KeyType, RowCommonParams } from './types'\n\nexport type RowExpandParams = {\n expanded: boolean\n rowKey: KeyType\n} & RowCommonParams\n\nexport type RowHoverParams = {\n event: MouseEvent\n hovered: boolean\n rowKey: KeyType\n} & RowCommonParams\n\nexport type RowEventHandlerParams = {\n rowKey: KeyType\n event: Event\n} & RowCommonParams\n\nexport type RowHeightChangedParams = {\n rowKey: KeyType\n height: number\n rowIndex: number\n}\n\nexport type RowExpandHandler = (params: RowExpandParams) => void\nexport type RowHoverHandler = (params: RowHoverParams) => void\nexport type RowEventHandler = (params: RowEventHandlerParams) => void\nexport type RowHeightChangeHandler = (\n row: RowHeightChangedParams,\n fixedDirection: boolean | FixedDirection | undefined\n) => void\n\nexport type RowEventHandlers = {\n onClick?: RowEventHandler\n onContextmenu?: RowEventHandler\n onDblclick?: RowEventHandler\n onMouseenter?: RowEventHandler\n onMouseleave?: RowEventHandler\n}\n\nexport const tableV2RowProps = buildProps({\n class: String,\n columns,\n columnsStyles: {\n type: definePropType<Record<KeyType, CSSProperties>>(Object),\n required: true,\n },\n depth: Number,\n expandColumnKey,\n estimatedRowHeight: {\n ...virtualizedGridProps.estimatedRowHeight,\n default: undefined,\n },\n isScrolling: Boolean,\n onRowExpand: {\n type: definePropType<RowExpandHandler>(Function),\n },\n onRowHover: {\n type: definePropType<RowHoverHandler>(Function),\n },\n onRowHeightChange: {\n type: definePropType<RowHeightChangeHandler>(Function),\n },\n rowData: {\n type: definePropType<any>(Object),\n required: true,\n },\n rowEventHandlers: {\n type: definePropType<RowEventHandlers>(Object),\n },\n rowIndex: {\n type: Number,\n required: true,\n },\n /**\n * Unique item key\n */\n rowKey,\n style: {\n type: definePropType<CSSProperties>(Object),\n },\n} as const)\n\nexport type TableV2RowProps = ExtractPropTypes<typeof tableV2RowProps>\nexport type TableV2RowPropsPublic = __ExtractPublicPropTypes<\n typeof tableV2RowProps\n>\n"],"names":[],"mappings":";;;;AAGY,MAAC,eAAe,GAAG,UAAU,CAAC;AAC1C,EAAE,KAAK,EAAE,MAAM;AACf,EAAE,OAAO;AACT,EAAE,aAAa,EAAE;AACjB,IAAI,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC;AAChC,IAAI,QAAQ,EAAE,IAAI;AAClB,GAAG;AACH,EAAE,KAAK,EAAE,MAAM;AACf,EAAE,eAAe;AACjB,EAAE,kBAAkB,EAAE;AACtB,IAAI,GAAG,oBAAoB,CAAC,kBAAkB;AAC9C,IAAI,OAAO,EAAE,KAAK,CAAC;AACnB,GAAG;AACH,EAAE,WAAW,EAAE,OAAO;AACtB,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,cAAc,CAAC,QAAQ,CAAC;AAClC,GAAG;AACH,EAAE,UAAU,EAAE;AACd,IAAI,IAAI,EAAE,cAAc,CAAC,QAAQ,CAAC;AAClC,GAAG;AACH,EAAE,iBAAiB,EAAE;AACrB,IAAI,IAAI,EAAE,cAAc,CAAC,QAAQ,CAAC;AAClC,GAAG;AACH,EAAE,OAAO,EAAE;AACX,IAAI,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC;AAChC,IAAI,QAAQ,EAAE,IAAI;AAClB,GAAG;AACH,EAAE,gBAAgB,EAAE;AACpB,IAAI,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC;AAChC,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,QAAQ,EAAE,IAAI;AAClB,GAAG;AACH,EAAE,MAAM;AACR,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC;AAChC,GAAG;AACH,CAAC;;;;"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { CSSProperties, ExtractPropTypes } from 'vue';
|
1
|
+
import type { CSSProperties, ExtractPropTypes, __ExtractPublicPropTypes } from 'vue';
|
2
2
|
import type { SortOrder } from './constants';
|
3
3
|
import type { Column, ColumnCommonParams, DataGetter, KeyType, RowCommonParams, SortBy, SortState } from './types';
|
4
4
|
/**
|
@@ -191,3 +191,4 @@ export declare const tableV2Props: {
|
|
191
191
|
};
|
192
192
|
};
|
193
193
|
export type TableV2Props = ExtractPropTypes<typeof tableV2Props>;
|
194
|
+
export type TableV2PropsPublic = __ExtractPublicPropTypes<typeof tableV2Props>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"table.mjs","sources":["../../../../../../packages/components/table-v2/src/table.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\nimport {\n virtualizedGridProps,\n virtualizedScrollbarProps,\n} from '@element-plus/components/virtual-list'\nimport {\n classType,\n columns,\n dataType,\n expandKeys,\n fixedDataType,\n requiredNumber,\n rowKey,\n} from './common'\nimport { tableV2RowProps } from './row'\nimport { tableV2HeaderProps } from './header'\nimport { tableV2GridProps } from './grid'\n\nimport type {
|
1
|
+
{"version":3,"file":"table.mjs","sources":["../../../../../../packages/components/table-v2/src/table.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\nimport {\n virtualizedGridProps,\n virtualizedScrollbarProps,\n} from '@element-plus/components/virtual-list'\nimport {\n classType,\n columns,\n dataType,\n expandKeys,\n fixedDataType,\n requiredNumber,\n rowKey,\n} from './common'\nimport { tableV2RowProps } from './row'\nimport { tableV2HeaderProps } from './header'\nimport { tableV2GridProps } from './grid'\n\nimport type {\n CSSProperties,\n ExtractPropTypes,\n __ExtractPublicPropTypes,\n} from 'vue'\nimport type { SortOrder } from './constants'\nimport type {\n Column,\n ColumnCommonParams,\n DataGetter,\n KeyType,\n RowCommonParams,\n SortBy,\n SortState,\n} from './types'\n\n/**\n * Param types\n */\nexport type ColumnSortParams<T> = {\n column: Column<T>\n key: KeyType\n order: SortOrder\n}\n\n/**\n * Renderer/Getter types\n */\n\nexport type ExtraCellPropGetter<T> = (\n params: ColumnCommonParams<T> &\n RowCommonParams & { cellData: T; rowData: any }\n) => any\n\nexport type ExtractHeaderPropGetter<T> = (params: {\n columns: Column<T>[]\n headerIndex: number\n}) => any\n\nexport type ExtractHeaderCellPropGetter<T> = (\n params: ColumnCommonParams<T> & { headerIndex: number }\n) => any\n\nexport type ExtractRowPropGetter<T> = (\n params: { columns: Column<T>[] } & RowCommonParams\n) => any\n\nexport type HeaderClassNameGetter<T> = (params: {\n columns: Column<T>[]\n headerIndex: number\n}) => string\n\nexport type RowClassNameGetter<T> = (\n params: { columns: Column<T>[] } & RowCommonParams\n) => string\n\n/**\n * Handler types\n */\nexport type ColumnSortHandler<T> = (params: ColumnSortParams<T>) => void\nexport type ColumnResizeHandler<T> = (column: Column<T>, width: number) => void\nexport type ExpandedRowsChangeHandler = (expandedRowKeys: KeyType[]) => void\n\nexport const tableV2Props = buildProps({\n cache: tableV2GridProps.cache,\n estimatedRowHeight: tableV2RowProps.estimatedRowHeight,\n rowKey,\n // Header attributes\n headerClass: {\n type: definePropType<string | HeaderClassNameGetter<any>>([\n String,\n Function,\n ]),\n },\n headerProps: {\n type: definePropType<any | ExtractHeaderPropGetter<any>>([\n Object,\n Function,\n ]),\n },\n headerCellProps: {\n type: definePropType<any | ExtractHeaderCellPropGetter<any>>([\n Object,\n Function,\n ]),\n },\n headerHeight: tableV2HeaderProps.headerHeight,\n /**\n * Footer attributes\n */\n footerHeight: {\n type: Number,\n default: 0,\n },\n /**\n * Row attributes\n */\n rowClass: {\n type: definePropType<string | RowClassNameGetter<any>>([String, Function]),\n },\n rowProps: {\n type: definePropType<ExtractRowPropGetter<any> | any>([Object, Function]),\n },\n rowHeight: {\n type: Number,\n default: 50,\n },\n\n /**\n * Cell attributes\n */\n cellProps: {\n type: definePropType<Record<string, any> | ExtraCellPropGetter<any>>([\n Object,\n Function,\n ]),\n },\n /**\n * Data models\n */\n columns,\n data: dataType,\n dataGetter: {\n type: definePropType<DataGetter<any>>(Function),\n },\n fixedData: fixedDataType,\n /**\n * Expanded keys\n */\n expandColumnKey: tableV2RowProps.expandColumnKey,\n expandedRowKeys: expandKeys,\n defaultExpandedRowKeys: expandKeys,\n\n /**\n * Attributes\n */\n class: classType,\n // disabled: Boolean,\n fixed: Boolean,\n style: {\n type: definePropType<CSSProperties>(Object),\n },\n width: requiredNumber,\n height: requiredNumber,\n maxHeight: Number,\n useIsScrolling: Boolean,\n indentSize: {\n type: Number,\n default: 12,\n },\n iconSize: {\n type: Number,\n default: 12,\n },\n hScrollbarSize: virtualizedGridProps.hScrollbarSize,\n vScrollbarSize: virtualizedGridProps.vScrollbarSize,\n scrollbarAlwaysOn: virtualizedScrollbarProps.alwaysOn,\n\n /**\n * Sorting\n */\n sortBy: {\n type: definePropType<SortBy>(Object),\n default: () => ({} as { key: KeyType; order: SortOrder }),\n },\n sortState: {\n type: definePropType<SortState>(Object),\n default: undefined,\n },\n\n /**\n * Handlers\n */\n onColumnSort: {\n type: definePropType<ColumnSortHandler<any>>(Function),\n },\n onExpandedRowsChange: {\n type: definePropType<ExpandedRowsChangeHandler>(Function),\n },\n onEndReached: {\n type: definePropType<(remainDistance: number) => void>(Function),\n },\n onRowExpand: tableV2RowProps.onRowExpand,\n onScroll: tableV2GridProps.onScroll,\n onRowsRendered: tableV2GridProps.onRowsRendered,\n rowEventHandlers: tableV2RowProps.rowEventHandlers,\n} as const)\n\nexport type TableV2Props = ExtractPropTypes<typeof tableV2Props>\nexport type TableV2PropsPublic = __ExtractPublicPropTypes<typeof tableV2Props>\n"],"names":[],"mappings":";;;;;;;AAiBY,MAAC,YAAY,GAAG,UAAU,CAAC;AACvC,EAAE,KAAK,EAAE,gBAAgB,CAAC,KAAK;AAC/B,EAAE,kBAAkB,EAAE,eAAe,CAAC,kBAAkB;AACxD,EAAE,MAAM;AACR,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,cAAc,CAAC;AACzB,MAAM,MAAM;AACZ,MAAM,QAAQ;AACd,KAAK,CAAC;AACN,GAAG;AACH,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,cAAc,CAAC;AACzB,MAAM,MAAM;AACZ,MAAM,QAAQ;AACd,KAAK,CAAC;AACN,GAAG;AACH,EAAE,eAAe,EAAE;AACnB,IAAI,IAAI,EAAE,cAAc,CAAC;AACzB,MAAM,MAAM;AACZ,MAAM,QAAQ;AACd,KAAK,CAAC;AACN,GAAG;AACH,EAAE,YAAY,EAAE,kBAAkB,CAAC,YAAY;AAC/C,EAAE,YAAY,EAAE;AAChB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,cAAc,CAAC,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;AAC5C,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,cAAc,CAAC,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;AAC5C,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,cAAc,CAAC;AACzB,MAAM,MAAM;AACZ,MAAM,QAAQ;AACd,KAAK,CAAC;AACN,GAAG;AACH,EAAE,OAAO;AACT,EAAE,IAAI,EAAE,QAAQ;AAChB,EAAE,UAAU,EAAE;AACd,IAAI,IAAI,EAAE,cAAc,CAAC,QAAQ,CAAC;AAClC,GAAG;AACH,EAAE,SAAS,EAAE,aAAa;AAC1B,EAAE,eAAe,EAAE,eAAe,CAAC,eAAe;AAClD,EAAE,eAAe,EAAE,UAAU;AAC7B,EAAE,sBAAsB,EAAE,UAAU;AACpC,EAAE,KAAK,EAAE,SAAS;AAClB,EAAE,KAAK,EAAE,OAAO;AAChB,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC;AAChC,GAAG;AACH,EAAE,KAAK,EAAE,cAAc;AACvB,EAAE,MAAM,EAAE,cAAc;AACxB,EAAE,SAAS,EAAE,MAAM;AACnB,EAAE,cAAc,EAAE,OAAO;AACzB,EAAE,UAAU,EAAE;AACd,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,cAAc,EAAE,oBAAoB,CAAC,cAAc;AACrD,EAAE,cAAc,EAAE,oBAAoB,CAAC,cAAc;AACrD,EAAE,iBAAiB,EAAE,yBAAyB,CAAC,QAAQ;AACvD,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC;AAChC,IAAI,OAAO,EAAE,OAAO,EAAE,CAAC;AACvB,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC;AAChC,IAAI,OAAO,EAAE,KAAK,CAAC;AACnB,GAAG;AACH,EAAE,YAAY,EAAE;AAChB,IAAI,IAAI,EAAE,cAAc,CAAC,QAAQ,CAAC;AAClC,GAAG;AACH,EAAE,oBAAoB,EAAE;AACxB,IAAI,IAAI,EAAE,cAAc,CAAC,QAAQ,CAAC;AAClC,GAAG;AACH,EAAE,YAAY,EAAE;AAChB,IAAI,IAAI,EAAE,cAAc,CAAC,QAAQ,CAAC;AAClC,GAAG;AACH,EAAE,WAAW,EAAE,eAAe,CAAC,WAAW;AAC1C,EAAE,QAAQ,EAAE,gBAAgB,CAAC,QAAQ;AACrC,EAAE,cAAc,EAAE,gBAAgB,CAAC,cAAc;AACjD,EAAE,gBAAgB,EAAE,eAAe,CAAC,gBAAgB;AACpD,CAAC;;;;"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import Tabs from './src/tabs.mjs';
|
2
2
|
export { tabsEmits, tabsProps } from './src/tabs.mjs';
|
3
3
|
import TabPane from './src/tab-pane2.mjs';
|
4
|
-
export { tabBarProps } from './src/tab-
|
4
|
+
export { tabBarProps } from './src/tab-bar2.mjs';
|
5
5
|
export { tabNavEmits, tabNavProps } from './src/tab-nav.mjs';
|
6
6
|
export { tabPaneProps } from './src/tab-pane.mjs';
|
7
7
|
export { tabsRootContextKey } from './src/constants.mjs';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { ExtractPropTypes } from 'vue';
|
1
|
+
import type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue';
|
2
2
|
import type { TabPaneName } from './constants';
|
3
3
|
import type TabBar from './tab-bar.vue';
|
4
4
|
export declare const tabBarProps: {
|
@@ -82,4 +82,5 @@ export declare const tabBarProps: {
|
|
82
82
|
}))[], unknown, unknown, () => import("@element-plus/nightly/es/utils").Mutable<{}>, boolean>;
|
83
83
|
};
|
84
84
|
export type TabBarProps = ExtractPropTypes<typeof tabBarProps>;
|
85
|
+
export type TabBarPropsPublic = __ExtractPublicPropTypes<typeof tabBarProps>;
|
85
86
|
export type TabBarInstance = InstanceType<typeof TabBar> & unknown;
|
@@ -1,16 +1,92 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
1
|
+
import { defineComponent, inject, ref, watch, nextTick, onBeforeUnmount, openBlock, createElementBlock, normalizeClass, unref, normalizeStyle } from 'vue';
|
2
|
+
import { useResizeObserver } from '@vueuse/core';
|
3
|
+
import { tabsRootContextKey } from './constants.mjs';
|
4
|
+
import { tabBarProps } from './tab-bar2.mjs';
|
5
|
+
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
6
|
+
import { capitalize } from '../../../utils/strings.mjs';
|
7
|
+
import { throwError } from '../../../utils/error.mjs';
|
8
|
+
import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
|
9
|
+
import { isUndefined } from '../../../utils/types.mjs';
|
3
10
|
|
4
|
-
const
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
11
|
+
const COMPONENT_NAME = "ElTabBar";
|
12
|
+
const __default__ = defineComponent({
|
13
|
+
name: COMPONENT_NAME
|
14
|
+
});
|
15
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
16
|
+
...__default__,
|
17
|
+
props: tabBarProps,
|
18
|
+
setup(__props, { expose }) {
|
19
|
+
const props = __props;
|
20
|
+
const rootTabs = inject(tabsRootContextKey);
|
21
|
+
if (!rootTabs)
|
22
|
+
throwError(COMPONENT_NAME, "<el-tabs><el-tab-bar /></el-tabs>");
|
23
|
+
const ns = useNamespace("tabs");
|
24
|
+
const barRef = ref();
|
25
|
+
const barStyle = ref();
|
26
|
+
const getBarStyle = () => {
|
27
|
+
let offset = 0;
|
28
|
+
let tabSize = 0;
|
29
|
+
const sizeName = ["top", "bottom"].includes(rootTabs.props.tabPosition) ? "width" : "height";
|
30
|
+
const sizeDir = sizeName === "width" ? "x" : "y";
|
31
|
+
const position = sizeDir === "x" ? "left" : "top";
|
32
|
+
props.tabs.every((tab) => {
|
33
|
+
if (isUndefined(tab.paneName))
|
34
|
+
return false;
|
35
|
+
const $el = props.tabRefs[tab.paneName];
|
36
|
+
if (!$el)
|
37
|
+
return false;
|
38
|
+
if (!tab.active) {
|
39
|
+
return true;
|
40
|
+
}
|
41
|
+
offset = $el[`offset${capitalize(position)}`];
|
42
|
+
tabSize = $el[`client${capitalize(sizeName)}`];
|
43
|
+
const tabStyles = window.getComputedStyle($el);
|
44
|
+
if (sizeName === "width") {
|
45
|
+
tabSize -= Number.parseFloat(tabStyles.paddingLeft) + Number.parseFloat(tabStyles.paddingRight);
|
46
|
+
offset += Number.parseFloat(tabStyles.paddingLeft);
|
47
|
+
}
|
48
|
+
return false;
|
49
|
+
});
|
50
|
+
return {
|
51
|
+
[sizeName]: `${tabSize}px`,
|
52
|
+
transform: `translate${capitalize(sizeDir)}(${offset}px)`
|
53
|
+
};
|
54
|
+
};
|
55
|
+
const update = () => barStyle.value = getBarStyle();
|
56
|
+
const saveObserver = [];
|
57
|
+
const observerTabs = () => {
|
58
|
+
saveObserver.forEach((observer) => observer.stop());
|
59
|
+
saveObserver.length = 0;
|
60
|
+
Object.values(props.tabRefs).forEach((tab) => {
|
61
|
+
saveObserver.push(useResizeObserver(tab, update));
|
62
|
+
});
|
63
|
+
};
|
64
|
+
watch(() => props.tabs, async () => {
|
65
|
+
await nextTick();
|
66
|
+
update();
|
67
|
+
observerTabs();
|
68
|
+
}, { immediate: true });
|
69
|
+
const barObserever = useResizeObserver(barRef, () => update());
|
70
|
+
onBeforeUnmount(() => {
|
71
|
+
saveObserver.forEach((observer) => observer.stop());
|
72
|
+
saveObserver.length = 0;
|
73
|
+
barObserever.stop();
|
74
|
+
});
|
75
|
+
expose({
|
76
|
+
ref: barRef,
|
77
|
+
update
|
78
|
+
});
|
79
|
+
return (_ctx, _cache) => {
|
80
|
+
return openBlock(), createElementBlock("div", {
|
81
|
+
ref_key: "barRef",
|
82
|
+
ref: barRef,
|
83
|
+
class: normalizeClass([unref(ns).e("active-bar"), unref(ns).is(unref(rootTabs).props.tabPosition)]),
|
84
|
+
style: normalizeStyle(barStyle.value)
|
85
|
+
}, null, 6);
|
86
|
+
};
|
12
87
|
}
|
13
88
|
});
|
89
|
+
var TabBar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "tab-bar.vue"]]);
|
14
90
|
|
15
|
-
export {
|
91
|
+
export { TabBar as default };
|
16
92
|
//# sourceMappingURL=tab-bar.mjs.map
|