@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
package/es/index.mjs
CHANGED
@@ -12,7 +12,7 @@ export { avatarEmits, avatarProps } from './components/avatar/src/avatar.mjs';
|
|
12
12
|
export { ElAvatar } from './components/avatar/index.mjs';
|
13
13
|
export { backtopEmits, backtopProps } from './components/backtop/src/backtop.mjs';
|
14
14
|
export { ElBacktop } from './components/backtop/index.mjs';
|
15
|
-
export { badgeProps } from './components/badge/src/
|
15
|
+
export { badgeProps } from './components/badge/src/badge2.mjs';
|
16
16
|
export { ElBadge } from './components/badge/index.mjs';
|
17
17
|
export { breadcrumbProps } from './components/breadcrumb/src/breadcrumb.mjs';
|
18
18
|
export { breadcrumbItemProps } from './components/breadcrumb/src/breadcrumb-item.mjs';
|
@@ -60,7 +60,7 @@ export { ElCountdown } from './components/countdown/index.mjs';
|
|
60
60
|
export { ROOT_PICKER_INJECTION_KEY, ROOT_PICKER_IS_DEFAULT_FORMAT_INJECTION_KEY } from './components/date-picker/src/constants.mjs';
|
61
61
|
export { datePickerProps } from './components/date-picker/src/props/date-picker.mjs';
|
62
62
|
export { ElDatePicker } from './components/date-picker/index.mjs';
|
63
|
-
export { descriptionProps } from './components/descriptions/src/
|
63
|
+
export { descriptionProps } from './components/descriptions/src/description2.mjs';
|
64
64
|
export { descriptionItemProps } from './components/descriptions/src/description-item.mjs';
|
65
65
|
export { ElDescriptions, ElDescriptionsItem } from './components/descriptions/index.mjs';
|
66
66
|
export { useDialog } from './components/dialog/src/use-dialog.mjs';
|
@@ -90,14 +90,14 @@ export { imageViewerEmits, imageViewerProps } from './components/image-viewer/sr
|
|
90
90
|
export { ElImageViewer } from './components/image-viewer/index.mjs';
|
91
91
|
export { inputEmits, inputProps } from './components/input/src/input.mjs';
|
92
92
|
export { ElInput } from './components/input/index.mjs';
|
93
|
-
export { inputNumberEmits, inputNumberProps } from './components/input-number/src/input-
|
93
|
+
export { inputNumberEmits, inputNumberProps } from './components/input-number/src/input-number.mjs';
|
94
94
|
export { ElInputNumber } from './components/input-number/index.mjs';
|
95
95
|
export { inputTagEmits, inputTagProps } from './components/input-tag/src/input-tag.mjs';
|
96
96
|
export { ElInputTag } from './components/input-tag/index.mjs';
|
97
|
-
export { linkEmits, linkProps } from './components/link/src/
|
97
|
+
export { linkEmits, linkProps } from './components/link/src/link.mjs';
|
98
98
|
export { ElLink } from './components/link/index.mjs';
|
99
99
|
export { menuEmits, menuProps } from './components/menu/src/menu.mjs';
|
100
|
-
export { menuItemEmits, menuItemProps } from './components/menu/src/menu-
|
100
|
+
export { menuItemEmits, menuItemProps } from './components/menu/src/menu-item2.mjs';
|
101
101
|
export { menuItemGroupProps } from './components/menu/src/menu-item-group.mjs';
|
102
102
|
export { subMenuProps } from './components/menu/src/sub-menu.mjs';
|
103
103
|
export { MENU_INJECTION_KEY, SUB_MENU_INJECTION_KEY } from './components/menu/src/tokens.mjs';
|
@@ -136,7 +136,7 @@ export { rowContextKey } from './components/row/src/constants.mjs';
|
|
136
136
|
export { ElRow } from './components/row/index.mjs';
|
137
137
|
export { BAR_MAP, GAP, renderThumbStyle } from './components/scrollbar/src/util.mjs';
|
138
138
|
export { scrollbarEmits, scrollbarProps } from './components/scrollbar/src/scrollbar.mjs';
|
139
|
-
export { thumbProps } from './components/scrollbar/src/
|
139
|
+
export { thumbProps } from './components/scrollbar/src/thumb2.mjs';
|
140
140
|
export { scrollbarContextKey } from './components/scrollbar/src/constants.mjs';
|
141
141
|
export { ElScrollbar } from './components/scrollbar/index.mjs';
|
142
142
|
export { selectGroupKey, selectKey } from './components/select/src/token.mjs';
|
@@ -154,7 +154,7 @@ export { spaceProps } from './components/space/src/space.mjs';
|
|
154
154
|
export { spaceItemProps } from './components/space/src/item.mjs';
|
155
155
|
export { useSpace } from './components/space/src/use-space.mjs';
|
156
156
|
export { ElSpace } from './components/space/index.mjs';
|
157
|
-
export { statisticProps } from './components/statistic/src/
|
157
|
+
export { statisticProps } from './components/statistic/src/statistic.mjs';
|
158
158
|
export { ElStatistic } from './components/statistic/index.mjs';
|
159
159
|
export { stepProps } from './components/steps/src/item.mjs';
|
160
160
|
export { stepsEmits, stepsProps } from './components/steps/src/steps.mjs';
|
@@ -171,14 +171,14 @@ export { tableV2Props } from './components/table-v2/src/table.mjs';
|
|
171
171
|
export { tableV2RowProps } from './components/table-v2/src/row.mjs';
|
172
172
|
export { ElAutoResizer, ElTableV2 } from './components/table-v2/index.mjs';
|
173
173
|
export { tabsEmits, tabsProps } from './components/tabs/src/tabs.mjs';
|
174
|
-
export { tabBarProps } from './components/tabs/src/tab-
|
174
|
+
export { tabBarProps } from './components/tabs/src/tab-bar2.mjs';
|
175
175
|
export { tabNavEmits, tabNavProps } from './components/tabs/src/tab-nav.mjs';
|
176
176
|
export { tabPaneProps } from './components/tabs/src/tab-pane.mjs';
|
177
177
|
export { tabsRootContextKey } from './components/tabs/src/constants.mjs';
|
178
178
|
export { ElTabPane, ElTabs } from './components/tabs/index.mjs';
|
179
|
-
export { tagEmits, tagProps } from './components/tag/src/
|
179
|
+
export { tagEmits, tagProps } from './components/tag/src/tag2.mjs';
|
180
180
|
export { ElTag } from './components/tag/index.mjs';
|
181
|
-
export { textProps } from './components/text/src/
|
181
|
+
export { textProps } from './components/text/src/text.mjs';
|
182
182
|
export { ElText } from './components/text/index.mjs';
|
183
183
|
export { buildTimeList, dateEquals, dayOrDaysToDate, extractDateFormat, extractTimeFormat, formatter, makeList, parseDate, rangeArr, valueEquals } from './components/time-picker/src/utils.mjs';
|
184
184
|
export { DEFAULT_FORMATS_DATE, DEFAULT_FORMATS_DATEPICKER, DEFAULT_FORMATS_TIME, PICKER_BASE_INJECTION_KEY, PICKER_POPPER_OPTIONS_INJECTION_KEY, timeUnits } from './components/time-picker/src/constants.mjs';
|
@@ -202,7 +202,7 @@ export { NODE_INSTANCE_INJECTION_KEY, ROOT_TREE_INJECTION_KEY, TREE_NODE_MAP_INJ
|
|
202
202
|
export { ElTree } from './components/tree/index.mjs';
|
203
203
|
export { ElTreeSelect } from './components/tree-select/index.mjs';
|
204
204
|
export { ElTreeV2 } from './components/tree-v2/index.mjs';
|
205
|
-
export { genFileId, uploadBaseProps, uploadListTypes, uploadProps } from './components/upload/src/
|
205
|
+
export { genFileId, uploadBaseProps, uploadListTypes, uploadProps } from './components/upload/src/upload.mjs';
|
206
206
|
export { uploadContentProps } from './components/upload/src/upload-content.mjs';
|
207
207
|
export { uploadListEmits, uploadListProps } from './components/upload/src/upload-list.mjs';
|
208
208
|
export { uploadDraggerEmits, uploadDraggerProps } from './components/upload/src/upload-dragger.mjs';
|
@@ -221,7 +221,7 @@ export { tourContentEmits, tourContentProps, tourPlacements, tourStrategies } fr
|
|
221
221
|
export { ElTour, ElTourStep } from './components/tour/index.mjs';
|
222
222
|
export { anchorEmits, anchorProps } from './components/anchor/src/anchor.mjs';
|
223
223
|
export { ElAnchor, ElAnchorLink } from './components/anchor/index.mjs';
|
224
|
-
export { defaultProps, segmentedEmits, segmentedProps } from './components/segmented/src/
|
224
|
+
export { defaultProps, segmentedEmits, segmentedProps } from './components/segmented/src/segmented2.mjs';
|
225
225
|
export { ElSegmented } from './components/segmented/index.mjs';
|
226
226
|
export { mentionEmits, mentionProps } from './components/mention/src/mention.mjs';
|
227
227
|
export { ElMention } from './components/mention/index.mjs';
|
@@ -237,7 +237,7 @@ export { ElMessage } from './components/message/index.mjs';
|
|
237
237
|
export { ElMessageBox } from './components/message-box/index.mjs';
|
238
238
|
export { notificationEmits, notificationProps, notificationTypes } from './components/notification/src/notification.mjs';
|
239
239
|
export { ElNotification } from './components/notification/index.mjs';
|
240
|
-
export { popoverEmits, popoverProps } from './components/popover/src/
|
240
|
+
export { popoverEmits, popoverProps } from './components/popover/src/popover2.mjs';
|
241
241
|
export { ElPopover, ElPopoverDirective } from './components/popover/index.mjs';
|
242
242
|
export { EVENT_CODE } from './constants/aria.mjs';
|
243
243
|
export { WEEK_DAYS, datePickTypes } from './constants/date.mjs';
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import type { Prop } from 'vue';
|
1
2
|
export type Writable<T> = {
|
2
3
|
-readonly [P in keyof T]: T[P];
|
3
4
|
};
|
@@ -5,4 +6,34 @@ export type WritableArray<T> = T extends readonly any[] ? Writable<T> : T;
|
|
5
6
|
export type IfNever<T, Y = true, N = false> = [T] extends [never] ? Y : N;
|
6
7
|
export type IfUnknown<T, Y, N> = [unknown] extends [T] ? Y : N;
|
7
8
|
export type UnknownToNever<T> = IfUnknown<T, never, T>;
|
9
|
+
export type IfAny<T, Y, N> = 0 extends 1 & T ? Y : N;
|
10
|
+
type InferPropType<T, NullAsAny = true> = [T] extends [null] ? NullAsAny extends true ? any : null : [T] extends [{
|
11
|
+
type: null | true;
|
12
|
+
}] ? any : [T] extends [ObjectConstructor | {
|
13
|
+
type: ObjectConstructor;
|
14
|
+
}] ? Record<string, any> : [T] extends [BooleanConstructor | {
|
15
|
+
type: BooleanConstructor;
|
16
|
+
}] ? boolean : [T] extends [DateConstructor | {
|
17
|
+
type: DateConstructor;
|
18
|
+
}] ? Date : [T] extends [(infer U)[] | {
|
19
|
+
type: (infer U)[];
|
20
|
+
}] ? U extends DateConstructor ? Date | InferPropType<U, false> : InferPropType<U, false> : [T] extends [Prop<infer V, infer D>] ? unknown extends V ? keyof V extends never ? IfAny<V, V, D> : V : V : T;
|
21
|
+
type PublicRequiredKeys<T> = {
|
22
|
+
[K in keyof T]: T[K] extends {
|
23
|
+
required: true;
|
24
|
+
} ? K : never;
|
25
|
+
}[keyof T];
|
26
|
+
type PublicOptionalKeys<T> = Exclude<keyof T, PublicRequiredKeys<T>>;
|
27
|
+
/**
|
28
|
+
* Extract prop types from a runtime props options object.
|
29
|
+
* The extracted types are **public** - i.e. the expected props that can be
|
30
|
+
* passed to component.
|
31
|
+
*/
|
32
|
+
declare module 'vue' {
|
33
|
+
type __ExtractPublicPropTypes<O> = {
|
34
|
+
[K in keyof Pick<O, PublicRequiredKeys<O>>]: InferPropType<O[K]>;
|
35
|
+
} & {
|
36
|
+
[K in keyof Pick<O, PublicOptionalKeys<O>>]?: InferPropType<O[K]>;
|
37
|
+
};
|
38
|
+
}
|
8
39
|
export {};
|
package/es/version.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export declare const version = "0.0.
|
1
|
+
export declare const version = "0.0.20250707";
|
package/es/version.mjs
CHANGED
package/es/version.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"version.mjs","sources":["../../../packages/element-plus/version.ts"],"sourcesContent":["export const version = '0.0.
|
1
|
+
{"version":3,"file":"version.mjs","sources":["../../../packages/element-plus/version.ts"],"sourcesContent":["export const version = '0.0.20250707'\n"],"names":[],"mappings":"AAAY,MAAC,OAAO,GAAG;;;;"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { ExtractPropTypes } from 'vue';
|
1
|
+
import type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue';
|
2
2
|
import type { ZIndexProperty } from 'csstype';
|
3
3
|
import type Affix from './affix.vue';
|
4
4
|
export declare const affixProps: {
|
@@ -8,6 +8,7 @@ export declare const affixProps: {
|
|
8
8
|
readonly position: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "top" | "bottom", unknown, "top", boolean>;
|
9
9
|
};
|
10
10
|
export type AffixProps = ExtractPropTypes<typeof affixProps>;
|
11
|
+
export type AffixPropsPublic = __ExtractPublicPropTypes<typeof affixProps>;
|
11
12
|
export declare const affixEmits: {
|
12
13
|
scroll: ({ scrollTop, fixed }: {
|
13
14
|
scrollTop: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"affix.js","sources":["../../../../../../packages/components/affix/src/affix.ts"],"sourcesContent":["import {\n buildProps,\n definePropType,\n isBoolean,\n isNumber,\n} from '@element-plus/utils'\nimport { CHANGE_EVENT } from '@element-plus/constants'\n\nimport type { ExtractPropTypes } from 'vue'\nimport type { ZIndexProperty } from 'csstype'\nimport type Affix from './affix.vue'\n\nexport const affixProps = buildProps({\n /**\n * @description affix element zIndex value\n * */\n zIndex: {\n type: definePropType<ZIndexProperty>([Number, String]),\n default: 100,\n },\n /**\n * @description target container. (CSS selector)\n */\n target: {\n type: String,\n default: '',\n },\n /**\n * @description offset distance\n * */\n offset: {\n type: Number,\n default: 0,\n },\n /**\n * @description position of affix\n * */\n position: {\n type: String,\n values: ['top', 'bottom'],\n default: 'top',\n },\n} as const)\nexport type AffixProps = ExtractPropTypes<typeof affixProps>\n\nexport const affixEmits = {\n scroll: ({ scrollTop, fixed }: { scrollTop: number; fixed: boolean }) =>\n isNumber(scrollTop) && isBoolean(fixed),\n [CHANGE_EVENT]: (fixed: boolean) => isBoolean(fixed),\n}\nexport type AffixEmits = typeof affixEmits\n\nexport type AffixInstance = InstanceType<typeof Affix> & unknown\n"],"names":["buildProps","definePropType","isNumber","isBoolean","CHANGE_EVENT"],"mappings":";;;;;;;;AAOY,MAAC,UAAU,GAAGA,kBAAU,CAAC;AACrC,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAEC,sBAAc,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC1C,IAAI,OAAO,EAAE,GAAG;AAChB,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC;AAC7B,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,UAAU,GAAG;AAC1B,EAAE,MAAM,EAAE,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,KAAKC,cAAQ,CAAC,SAAS,CAAC,IAAIC,eAAS,CAAC,KAAK,CAAC;AAC3E,EAAE,CAACC,kBAAY,GAAG,CAAC,KAAK,KAAKD,eAAS,CAAC,KAAK,CAAC;AAC7C;;;;;"}
|
1
|
+
{"version":3,"file":"affix.js","sources":["../../../../../../packages/components/affix/src/affix.ts"],"sourcesContent":["import {\n buildProps,\n definePropType,\n isBoolean,\n isNumber,\n} from '@element-plus/utils'\nimport { CHANGE_EVENT } from '@element-plus/constants'\n\nimport type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue'\nimport type { ZIndexProperty } from 'csstype'\nimport type Affix from './affix.vue'\n\nexport const affixProps = buildProps({\n /**\n * @description affix element zIndex value\n * */\n zIndex: {\n type: definePropType<ZIndexProperty>([Number, String]),\n default: 100,\n },\n /**\n * @description target container. (CSS selector)\n */\n target: {\n type: String,\n default: '',\n },\n /**\n * @description offset distance\n * */\n offset: {\n type: Number,\n default: 0,\n },\n /**\n * @description position of affix\n * */\n position: {\n type: String,\n values: ['top', 'bottom'],\n default: 'top',\n },\n} as const)\nexport type AffixProps = ExtractPropTypes<typeof affixProps>\nexport type AffixPropsPublic = __ExtractPublicPropTypes<typeof affixProps>\n\nexport const affixEmits = {\n scroll: ({ scrollTop, fixed }: { scrollTop: number; fixed: boolean }) =>\n isNumber(scrollTop) && isBoolean(fixed),\n [CHANGE_EVENT]: (fixed: boolean) => isBoolean(fixed),\n}\nexport type AffixEmits = typeof affixEmits\n\nexport type AffixInstance = InstanceType<typeof Affix> & unknown\n"],"names":["buildProps","definePropType","isNumber","isBoolean","CHANGE_EVENT"],"mappings":";;;;;;;;AAOY,MAAC,UAAU,GAAGA,kBAAU,CAAC;AACrC,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAEC,sBAAc,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC1C,IAAI,OAAO,EAAE,GAAG;AAChB,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC;AAC7B,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,UAAU,GAAG;AAC1B,EAAE,MAAM,EAAE,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,KAAKC,cAAQ,CAAC,SAAS,CAAC,IAAIC,eAAS,CAAC,KAAK,CAAC;AAC3E,EAAE,CAACC,kBAAY,GAAG,CAAC,KAAK,KAAKD,eAAS,CAAC,KAAK,CAAC;AAC7C;;;;;"}
|
@@ -10,7 +10,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
10
10
|
/** @description update affix status */
|
11
11
|
update: () => void;
|
12
12
|
/** @description update rootRect info */
|
13
|
-
updateRoot: () => void
|
13
|
+
updateRoot: () => Promise<void>;
|
14
14
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
15
15
|
scroll: (args_0: {
|
16
16
|
scrollTop: number;
|
@@ -79,6 +79,16 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
79
79
|
fixed.value = windowHeight.value - offset < rootBottom.value;
|
80
80
|
}
|
81
81
|
};
|
82
|
+
const updateRootRect = async () => {
|
83
|
+
if (!fixed.value) {
|
84
|
+
updateRoot();
|
85
|
+
return;
|
86
|
+
}
|
87
|
+
fixed.value = false;
|
88
|
+
await vue.nextTick();
|
89
|
+
updateRoot();
|
90
|
+
fixed.value = true;
|
91
|
+
};
|
82
92
|
const handleScroll = async () => {
|
83
93
|
updateRoot();
|
84
94
|
await vue.nextTick();
|
@@ -104,7 +114,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
104
114
|
vue.watchEffect(update);
|
105
115
|
expose({
|
106
116
|
update,
|
107
|
-
updateRoot
|
117
|
+
updateRoot: updateRootRect
|
108
118
|
});
|
109
119
|
return (_ctx, _cache) => {
|
110
120
|
return vue.openBlock(), vue.createElementBlock("div", {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"affix2.js","sources":["../../../../../../packages/components/affix/src/affix.vue"],"sourcesContent":["<template>\n <div ref=\"root\" :class=\"ns.b()\" :style=\"rootStyle\">\n <div :class=\"{ [ns.m('fixed')]: fixed }\" :style=\"affixStyle\">\n <slot />\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport {\n computed,\n nextTick,\n onMounted,\n ref,\n shallowRef,\n watch,\n watchEffect,\n} from 'vue'\nimport {\n useElementBounding,\n useEventListener,\n useWindowSize,\n} from '@vueuse/core'\nimport { addUnit, getScrollContainer, throwError } from '@element-plus/utils'\nimport { useNamespace } from '@element-plus/hooks'\nimport { CHANGE_EVENT } from '@element-plus/constants'\nimport { affixEmits, affixProps } from './affix'\n\nimport type { CSSProperties } from 'vue'\n\nconst COMPONENT_NAME = 'ElAffix'\ndefineOptions({\n name: COMPONENT_NAME,\n})\nconst props = defineProps(affixProps)\nconst emit = defineEmits(affixEmits)\n\nconst ns = useNamespace('affix')\n\nconst target = shallowRef<HTMLElement>()\nconst root = shallowRef<HTMLDivElement>()\nconst scrollContainer = shallowRef<HTMLElement | Window>()\nconst { height: windowHeight } = useWindowSize()\nconst {\n height: rootHeight,\n width: rootWidth,\n top: rootTop,\n bottom: rootBottom,\n update: updateRoot,\n} = useElementBounding(root, { windowScroll: false })\nconst targetRect = useElementBounding(target)\n\nconst fixed = ref(false)\nconst scrollTop = ref(0)\nconst transform = ref(0)\n\nconst rootStyle = computed<CSSProperties>(() => {\n return {\n height: fixed.value ? `${rootHeight.value}px` : '',\n width: fixed.value ? `${rootWidth.value}px` : '',\n }\n})\n\nconst affixStyle = computed<CSSProperties>(() => {\n if (!fixed.value) return {}\n\n const offset = props.offset ? addUnit(props.offset) : 0\n return {\n height: `${rootHeight.value}px`,\n width: `${rootWidth.value}px`,\n top: props.position === 'top' ? offset : '',\n bottom: props.position === 'bottom' ? offset : '',\n transform: transform.value ? `translateY(${transform.value}px)` : '',\n zIndex: props.zIndex,\n }\n})\n\nconst update = () => {\n if (!scrollContainer.value) return\n\n scrollTop.value =\n scrollContainer.value instanceof Window\n ? document.documentElement.scrollTop\n : scrollContainer.value.scrollTop || 0\n\n const { position, target, offset } = props\n const rootHeightOffset = offset + rootHeight.value\n\n if (position === 'top') {\n if (target) {\n const difference = targetRect.bottom.value - rootHeightOffset\n fixed.value = offset > rootTop.value && targetRect.bottom.value > 0\n transform.value = difference < 0 ? difference : 0\n } else {\n fixed.value = offset > rootTop.value\n }\n } else if (target) {\n const difference =\n windowHeight.value - targetRect.top.value - rootHeightOffset\n fixed.value =\n windowHeight.value - offset < rootBottom.value &&\n windowHeight.value > targetRect.top.value\n transform.value = difference < 0 ? -difference : 0\n } else {\n fixed.value = windowHeight.value - offset < rootBottom.value\n }\n}\n\nconst handleScroll = async () => {\n updateRoot()\n await nextTick()\n emit('scroll', {\n scrollTop: scrollTop.value,\n fixed: fixed.value,\n })\n}\n\nwatch(fixed, (val) => emit(CHANGE_EVENT, val))\n\nonMounted(() => {\n if (props.target) {\n target.value =\n document.querySelector<HTMLElement>(props.target) ?? undefined\n if (!target.value)\n throwError(COMPONENT_NAME, `Target does not exist: ${props.target}`)\n } else {\n target.value = document.documentElement\n }\n scrollContainer.value = getScrollContainer(root.value!, true)\n updateRoot()\n})\n\nuseEventListener(scrollContainer, 'scroll', handleScroll)\nwatchEffect(update)\n\ndefineExpose({\n /** @description update affix status */\n update,\n /** @description update rootRect info */\n updateRoot,\n})\n</script>\n"],"names":["useNamespace","shallowRef","useWindowSize","useElementBounding","ref","computed","addUnit","target","watch","CHANGE_EVENT","onMounted","throwError","getScrollContainer","useEventListener","watchEffect"],"mappings":";;;;;;;;;;;;;;;uCA+Bc,CAAA;AAAA,EACZ,IAAM,EAAA,cAAA;AACR;;;;;;;AAIA,IAAM,MAAA,EAAA,GAAKA,mBAAa,OAAO,CAAA,CAAA;AAE/B,IAAA,MAAM,SAASC,cAAwB,EAAA,CAAA;AACvC,IAAA,MAAM,OAAOA,cAA2B,EAAA,CAAA;AACxC,IAAA,MAAM,kBAAkBA,cAAiC,EAAA,CAAA;AACzD,IAAA,MAAM,EAAE,MAAA,EAAQ,YAAa,EAAA,GAAIC,kBAAc,EAAA,CAAA;AAC/C,IAAM,MAAA;AAAA,MACJ,MAAQ,EAAA,UAAA;AAAA,MACR,KAAO,EAAA,SAAA;AAAA,MACP,GAAK,EAAA,OAAA;AAAA,MACL,MAAQ,EAAA,UAAA;AAAA,MACR,MAAQ,EAAA,UAAA;AAAA,QACNC,uBAAmB,CAAA,IAAA,EAAM,EAAE,YAAA,EAAc,OAAO,CAAA,CAAA;AACpD,IAAM,MAAA,UAAA,GAAaA,wBAAmB,MAAM,CAAA,CAAA;AAE5C,IAAM,MAAA,KAAA,GAAQC,QAAI,KAAK,CAAA,CAAA;AACvB,IAAM,MAAA,SAAA,GAAYA,QAAI,CAAC,CAAA,CAAA;AACvB,IAAM,MAAA,SAAA,GAAYA,QAAI,CAAC,CAAA,CAAA;AAEvB,IAAM,MAAA,SAAA,GAAYC,aAAwB,MAAM;AAC9C,MAAO,OAAA;AAAA,QACL,QA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AA,CAAA,CAAA;AAEA,KAAA,CAAA;AACE,IAAAC,SAAA,CAAI,OAAc,CAAA,GAAA,KAAA,IAAA,CAAAC,kBAAA,EAAA,GAAA,CAAA,CAAA,CAAA;AAChB,IAAAC,aAAA,CAAA,MACE;AACF,MAAA,IAAA,EAAI,CAAC;AACH,MAAA,IAAA,KAAA,CAAA,MAA2B,EAAA;AAAwC,QAChE,MAAA,CAAA,KAAA,GAAA,CAAA,EAAA,GAAA,QAAA,CAAA,aAAA,CAAA,KAAA,CAAA,MAAA,CAAA,KAAA,IAAA,GAAA,EAAA,GAAA,KAAA,CAAA,CAAA;AACL,QAAA,IAAA,CAAA,YAAwB;AAAA,UAC1BC,gBAAA,CAAA,cAAA,EAAA,CAAA,uBAAA,EAAA,KAAA,CAAA,MAAA,CAAA,CAAA,CAAA,CAAA;AACA,OAAA,MAAA;AACA,QAAW,MAAA,CAAA,KAAA,GAAA,QAAA,CAAA,eAAA,CAAA;AAAA,OACZ;AAED,MAAiB,eAAA,CAAA,KAAA,GAAAC,yBAA2B,CAAY,IAAA,CAAA,KAAA,EAAA,IAAA,CAAA,CAAA;AACxD,MAAA,UAAY,EAAM,CAAA;AAElB,KAAa,CAAA,CAAA;AAAA,IAAAC,qBAAA,CAAA,eAAA,EAAA,QAAA,EAAA,YAAA,CAAA,CAAA;AAAA,IAEXC,eAAA,CAAA,MAAA,CAAA,CAAA;AAAA,IAAA,MAAA,CAAA;AAAA,MAEA,
|
1
|
+
{"version":3,"file":"affix2.js","sources":["../../../../../../packages/components/affix/src/affix.vue"],"sourcesContent":["<template>\n <div ref=\"root\" :class=\"ns.b()\" :style=\"rootStyle\">\n <div :class=\"{ [ns.m('fixed')]: fixed }\" :style=\"affixStyle\">\n <slot />\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport {\n computed,\n nextTick,\n onMounted,\n ref,\n shallowRef,\n watch,\n watchEffect,\n} from 'vue'\nimport {\n useElementBounding,\n useEventListener,\n useWindowSize,\n} from '@vueuse/core'\nimport { addUnit, getScrollContainer, throwError } from '@element-plus/utils'\nimport { useNamespace } from '@element-plus/hooks'\nimport { CHANGE_EVENT } from '@element-plus/constants'\nimport { affixEmits, affixProps } from './affix'\n\nimport type { CSSProperties } from 'vue'\n\nconst COMPONENT_NAME = 'ElAffix'\ndefineOptions({\n name: COMPONENT_NAME,\n})\nconst props = defineProps(affixProps)\nconst emit = defineEmits(affixEmits)\n\nconst ns = useNamespace('affix')\n\nconst target = shallowRef<HTMLElement>()\nconst root = shallowRef<HTMLDivElement>()\nconst scrollContainer = shallowRef<HTMLElement | Window>()\nconst { height: windowHeight } = useWindowSize()\nconst {\n height: rootHeight,\n width: rootWidth,\n top: rootTop,\n bottom: rootBottom,\n update: updateRoot,\n} = useElementBounding(root, { windowScroll: false })\nconst targetRect = useElementBounding(target)\n\nconst fixed = ref(false)\nconst scrollTop = ref(0)\nconst transform = ref(0)\n\nconst rootStyle = computed<CSSProperties>(() => {\n return {\n height: fixed.value ? `${rootHeight.value}px` : '',\n width: fixed.value ? `${rootWidth.value}px` : '',\n }\n})\n\nconst affixStyle = computed<CSSProperties>(() => {\n if (!fixed.value) return {}\n\n const offset = props.offset ? addUnit(props.offset) : 0\n return {\n height: `${rootHeight.value}px`,\n width: `${rootWidth.value}px`,\n top: props.position === 'top' ? offset : '',\n bottom: props.position === 'bottom' ? offset : '',\n transform: transform.value ? `translateY(${transform.value}px)` : '',\n zIndex: props.zIndex,\n }\n})\n\nconst update = () => {\n if (!scrollContainer.value) return\n\n scrollTop.value =\n scrollContainer.value instanceof Window\n ? document.documentElement.scrollTop\n : scrollContainer.value.scrollTop || 0\n\n const { position, target, offset } = props\n const rootHeightOffset = offset + rootHeight.value\n\n if (position === 'top') {\n if (target) {\n const difference = targetRect.bottom.value - rootHeightOffset\n fixed.value = offset > rootTop.value && targetRect.bottom.value > 0\n transform.value = difference < 0 ? difference : 0\n } else {\n fixed.value = offset > rootTop.value\n }\n } else if (target) {\n const difference =\n windowHeight.value - targetRect.top.value - rootHeightOffset\n fixed.value =\n windowHeight.value - offset < rootBottom.value &&\n windowHeight.value > targetRect.top.value\n transform.value = difference < 0 ? -difference : 0\n } else {\n fixed.value = windowHeight.value - offset < rootBottom.value\n }\n}\n\nconst updateRootRect = async () => {\n if (!fixed.value) {\n updateRoot()\n return\n }\n\n fixed.value = false\n await nextTick()\n updateRoot()\n fixed.value = true\n}\n\nconst handleScroll = async () => {\n updateRoot()\n await nextTick()\n emit('scroll', {\n scrollTop: scrollTop.value,\n fixed: fixed.value,\n })\n}\n\nwatch(fixed, (val) => emit(CHANGE_EVENT, val))\n\nonMounted(() => {\n if (props.target) {\n target.value =\n document.querySelector<HTMLElement>(props.target) ?? undefined\n if (!target.value)\n throwError(COMPONENT_NAME, `Target does not exist: ${props.target}`)\n } else {\n target.value = document.documentElement\n }\n scrollContainer.value = getScrollContainer(root.value!, true)\n updateRoot()\n})\n\nuseEventListener(scrollContainer, 'scroll', handleScroll)\nwatchEffect(update)\n\ndefineExpose({\n /** @description update affix status */\n update,\n /** @description update rootRect info */\n updateRoot: updateRootRect,\n})\n</script>\n"],"names":["useNamespace","shallowRef","useWindowSize","useElementBounding","ref","computed","addUnit","target","nextTick","watch","CHANGE_EVENT","onMounted","throwError","getScrollContainer","useEventListener","watchEffect"],"mappings":";;;;;;;;;;;;;;;uCA+Bc,CAAA;AAAA,EACZ,IAAM,EAAA,cAAA;AACR;;;;;;;AAIA,IAAM,MAAA,EAAA,GAAKA,mBAAa,OAAO,CAAA,CAAA;AAE/B,IAAA,MAAM,SAASC,cAAwB,EAAA,CAAA;AACvC,IAAA,MAAM,OAAOA,cAA2B,EAAA,CAAA;AACxC,IAAA,MAAM,kBAAkBA,cAAiC,EAAA,CAAA;AACzD,IAAA,MAAM,EAAE,MAAA,EAAQ,YAAa,EAAA,GAAIC,kBAAc,EAAA,CAAA;AAC/C,IAAM,MAAA;AAAA,MACJ,MAAQ,EAAA,UAAA;AAAA,MACR,KAAO,EAAA,SAAA;AA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AAA,CAAA,MAAA,CAAA,CAAA,CAAA,CAAA;AACA,OAAA,MAAA;AACA,QAAW,MAAA,CAAA,KAAA,GAAA,QAAA,CAAA,eAAA,CAAA;AAAA,OACZ;AAED,MAAiB,eAAA,CAAA,KAAA,GAAAC,yBAA2B,CAAY,IAAA,CAAA,KAAA,EAAA,IAAA,CAAA,CAAA;AACxD,MAAA,UAAY,EAAM,CAAA;AAElB,KAAa,CAAA,CAAA;AAAA,IAAAC,qBAAA,CAAA,eAAA,EAAA,QAAA,EAAA,YAAA,CAAA,CAAA;AAAA,IAEXC,eAAA,CAAA,MAAA,CAAA,CAAA;AAAA,IAAA,MAAA,CAAA;AAAA,MAEA,MAAY;AAAA,MACb,UAAA,EAAA,cAAA;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { ExtractPropTypes } from 'vue';
|
1
|
+
import type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue';
|
2
2
|
export declare const alertEffects: readonly ["light", "dark"];
|
3
3
|
export declare const alertProps: {
|
4
4
|
readonly showAfter: import("@element-plus/nightly/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
@@ -14,6 +14,7 @@ export declare const alertProps: {
|
|
14
14
|
readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "dark" | "light", unknown, "light", boolean>;
|
15
15
|
};
|
16
16
|
export type AlertProps = ExtractPropTypes<typeof alertProps>;
|
17
|
+
export type AlertPropsPublic = __ExtractPublicPropTypes<typeof alertProps>;
|
17
18
|
export declare const alertEmits: {
|
18
19
|
open: () => boolean;
|
19
20
|
close: (evt?: Event) => boolean;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"alert.js","sources":["../../../../../../packages/components/alert/src/alert.ts"],"sourcesContent":["import { useDelayedToggleProps } from '@element-plus/hooks'\nimport {\n TypeComponentsMap,\n buildProps,\n isUndefined,\n keysOf,\n} from '@element-plus/utils'\n\nimport type { ExtractPropTypes } from 'vue'\n\nexport const alertEffects = ['light', 'dark'] as const\n\nexport const alertProps = buildProps({\n /**\n * @description alert title.\n */\n title: {\n type: String,\n default: '',\n },\n description: {\n type: String,\n default: '',\n },\n /**\n * @description alert type.\n */\n type: {\n type: String,\n values: keysOf(TypeComponentsMap),\n default: 'info',\n },\n /**\n * @description whether alert can be dismissed.\n */\n closable: {\n type: Boolean,\n default: true,\n },\n /**\n * @description text for replacing x button\n */\n closeText: {\n type: String,\n default: '',\n },\n /**\n * @description whether show icon\n */\n showIcon: Boolean,\n /**\n * @description should content be placed in center.\n */\n center: Boolean,\n effect: {\n type: String,\n values: alertEffects,\n default: 'light',\n },\n ...useDelayedToggleProps,\n} as const)\nexport type AlertProps = ExtractPropTypes<typeof alertProps>\n\nexport const alertEmits = {\n open: () => true,\n close: (evt?: Event) => isUndefined(evt) || evt instanceof Event,\n}\nexport type AlertEmits = typeof alertEmits\n"],"names":["buildProps","keysOf","TypeComponentsMap","useDelayedToggleProps","isUndefined"],"mappings":";;;;;;;;;;AAOY,MAAC,YAAY,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE;AAClC,MAAC,UAAU,GAAGA,kBAAU,CAAC;AACrC,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAEC,cAAM,CAACC,sBAAiB,CAAC;AACrC,IAAI,OAAO,EAAE,MAAM;AACnB,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,QAAQ,EAAE,OAAO;AACnB,EAAE,MAAM,EAAE,OAAO;AACjB,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,YAAY;AACxB,IAAI,OAAO,EAAE,OAAO;AACpB,GAAG;AACH,EAAE,GAAGC,2BAAqB;AAC1B,CAAC,EAAE;AACS,MAAC,UAAU,GAAG;AAC1B,EAAE,IAAI,EAAE,MAAM,IAAI;AAClB,EAAE,KAAK,EAAE,CAAC,GAAG,KAAKC,iBAAW,CAAC,GAAG,CAAC,IAAI,GAAG,YAAY,KAAK;AAC1D;;;;;;"}
|
1
|
+
{"version":3,"file":"alert.js","sources":["../../../../../../packages/components/alert/src/alert.ts"],"sourcesContent":["import { useDelayedToggleProps } from '@element-plus/hooks'\nimport {\n TypeComponentsMap,\n buildProps,\n isUndefined,\n keysOf,\n} from '@element-plus/utils'\n\nimport type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue'\n\nexport const alertEffects = ['light', 'dark'] as const\n\nexport const alertProps = buildProps({\n /**\n * @description alert title.\n */\n title: {\n type: String,\n default: '',\n },\n description: {\n type: String,\n default: '',\n },\n /**\n * @description alert type.\n */\n type: {\n type: String,\n values: keysOf(TypeComponentsMap),\n default: 'info',\n },\n /**\n * @description whether alert can be dismissed.\n */\n closable: {\n type: Boolean,\n default: true,\n },\n /**\n * @description text for replacing x button\n */\n closeText: {\n type: String,\n default: '',\n },\n /**\n * @description whether show icon\n */\n showIcon: Boolean,\n /**\n * @description should content be placed in center.\n */\n center: Boolean,\n effect: {\n type: String,\n values: alertEffects,\n default: 'light',\n },\n ...useDelayedToggleProps,\n} as const)\nexport type AlertProps = ExtractPropTypes<typeof alertProps>\nexport type AlertPropsPublic = __ExtractPublicPropTypes<typeof alertProps>\n\nexport const alertEmits = {\n open: () => true,\n close: (evt?: Event) => isUndefined(evt) || evt instanceof Event,\n}\nexport type AlertEmits = typeof alertEmits\n"],"names":["buildProps","keysOf","TypeComponentsMap","useDelayedToggleProps","isUndefined"],"mappings":";;;;;;;;;;AAOY,MAAC,YAAY,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE;AAClC,MAAC,UAAU,GAAGA,kBAAU,CAAC;AACrC,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAEC,cAAM,CAACC,sBAAiB,CAAC;AACrC,IAAI,OAAO,EAAE,MAAM;AACnB,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,QAAQ,EAAE,OAAO;AACnB,EAAE,MAAM,EAAE,OAAO;AACjB,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,YAAY;AACxB,IAAI,OAAO,EAAE,OAAO;AACpB,GAAG;AACH,EAAE,GAAGC,2BAAqB;AAC1B,CAAC,EAAE;AACS,MAAC,UAAU,GAAG;AAC1B,EAAE,IAAI,EAAE,MAAM,IAAI;AAClB,EAAE,KAAK,EAAE,CAAC,GAAG,KAAKC,iBAAW,CAAC,GAAG,CAAC,IAAI,GAAG,YAAY,KAAK;AAC1D;;;;;;"}
|
@@ -1,6 +1,7 @@
|
|
1
|
-
import type { ExtractPropTypes } from 'vue';
|
1
|
+
import type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue';
|
2
2
|
export declare const anchorLinkProps: {
|
3
3
|
title: StringConstructor;
|
4
4
|
href: StringConstructor;
|
5
5
|
};
|
6
6
|
export type AnchorLinkProps = ExtractPropTypes<typeof anchorLinkProps>;
|
7
|
+
export type AnchorLinkPropsPublic = __ExtractPublicPropTypes<typeof anchorLinkProps>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"anchor-link.js","sources":["../../../../../../packages/components/anchor/src/anchor-link.ts"],"sourcesContent":["import { buildProps } from '@element-plus/utils'\n\nimport type { ExtractPropTypes } from 'vue'\n\nexport const anchorLinkProps = buildProps({\n /**\n * @description the text content of the anchor link\n */\n title: String,\n /**\n * @description The address of the anchor link\n */\n href: String,\n})\n\nexport type AnchorLinkProps = ExtractPropTypes<typeof anchorLinkProps>\n"],"names":["buildProps"],"mappings":";;;;;;AACY,MAAC,eAAe,GAAGA,kBAAU,CAAC;AAC1C,EAAE,KAAK,EAAE,MAAM;AACf,EAAE,IAAI,EAAE,MAAM;AACd,CAAC;;;;"}
|
1
|
+
{"version":3,"file":"anchor-link.js","sources":["../../../../../../packages/components/anchor/src/anchor-link.ts"],"sourcesContent":["import { buildProps } from '@element-plus/utils'\n\nimport type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue'\n\nexport const anchorLinkProps = buildProps({\n /**\n * @description the text content of the anchor link\n */\n title: String,\n /**\n * @description The address of the anchor link\n */\n href: String,\n})\n\nexport type AnchorLinkProps = ExtractPropTypes<typeof anchorLinkProps>\nexport type AnchorLinkPropsPublic = __ExtractPublicPropTypes<\n typeof anchorLinkProps\n>\n"],"names":["buildProps"],"mappings":";;;;;;AACY,MAAC,eAAe,GAAGA,kBAAU,CAAC;AAC1C,EAAE,KAAK,EAAE,MAAM;AACf,EAAE,IAAI,EAAE,MAAM;AACd,CAAC;;;;"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { ExtractPropTypes } from 'vue';
|
1
|
+
import type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue';
|
2
2
|
import type Anchor from './anchor.vue';
|
3
3
|
export declare const anchorProps: {
|
4
4
|
container: {
|
@@ -16,6 +16,7 @@ export declare const anchorProps: {
|
|
16
16
|
selectScrollTop: BooleanConstructor;
|
17
17
|
};
|
18
18
|
export type AnchorProps = ExtractPropTypes<typeof anchorProps>;
|
19
|
+
export type AnchorPropsPublic = __ExtractPublicPropTypes<typeof anchorProps>;
|
19
20
|
export type AnchorInstance = InstanceType<typeof Anchor> & unknown;
|
20
21
|
export declare const anchorEmits: {
|
21
22
|
change: (href: string) => boolean;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"anchor.js","sources":["../../../../../../packages/components/anchor/src/anchor.ts"],"sourcesContent":["import {\n buildProps,\n definePropType,\n isString,\n isUndefined,\n} from '@element-plus/utils'\n\nimport type { ExtractPropTypes } from 'vue'\nimport type Anchor from './anchor.vue'\n\nexport const anchorProps = buildProps({\n /**\n * @description scroll container\n */\n container: {\n type: definePropType<string | HTMLElement | Window | null>([\n String,\n Object,\n ]),\n },\n /**\n * @description Set the offset of the anchor scroll\n */\n offset: {\n type: Number,\n default: 0,\n },\n /**\n * @description The offset of the element starting to trigger the anchor\n */\n bound: {\n type: Number,\n default: 15,\n },\n /**\n * @description Set the scroll duration of the container when the anchor is clicked, in milliseconds\n */\n duration: {\n type: Number,\n default: 300,\n },\n /**\n * @description Whether to show the marker\n */\n marker: {\n type: Boolean,\n default: true,\n },\n /**\n * @description Set Anchor type\n */\n type: {\n type: definePropType<'default' | 'underline'>(String),\n default: 'default',\n },\n /**\n * @description Set Anchor direction\n */\n direction: {\n type: definePropType<'vertical' | 'horizontal'>(String),\n default: 'vertical',\n },\n /**\n * @description Scroll whether link is selected at the top\n */\n selectScrollTop: Boolean,\n})\n\nexport type AnchorProps = ExtractPropTypes<typeof anchorProps>\nexport type AnchorInstance = InstanceType<typeof Anchor> & unknown\n\nexport const anchorEmits = {\n change: (href: string) => isString(href),\n click: (e: MouseEvent, href?: string) =>\n e instanceof MouseEvent && (isString(href) || isUndefined(href)),\n}\nexport type AnchorEmits = typeof anchorEmits\n"],"names":["buildProps","definePropType","isString","isUndefined"],"mappings":";;;;;;;;AAMY,MAAC,WAAW,GAAGA,kBAAU,CAAC;AACtC,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAEC,sBAAc,CAAC;AACzB,MAAM,MAAM;AACZ,MAAM,MAAM;AACZ,KAAK,CAAC;AACN,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,GAAG;AAChB,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAEA,sBAAc,CAAC,MAAM,CAAC;AAChC,IAAI,OAAO,EAAE,SAAS;AACtB,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAEA,sBAAc,CAAC,MAAM,CAAC;AAChC,IAAI,OAAO,EAAE,UAAU;AACvB,GAAG;AACH,EAAE,eAAe,EAAE,OAAO;AAC1B,CAAC,EAAE;AACS,MAAC,WAAW,GAAG;AAC3B,EAAE,MAAM,EAAE,CAAC,IAAI,KAAKC,eAAQ,CAAC,IAAI,CAAC;AAClC,EAAE,KAAK,EAAE,CAAC,CAAC,EAAE,IAAI,KAAK,CAAC,YAAY,UAAU,KAAKA,eAAQ,CAAC,IAAI,CAAC,IAAIC,iBAAW,CAAC,IAAI,CAAC,CAAC;AACtF;;;;;"}
|
1
|
+
{"version":3,"file":"anchor.js","sources":["../../../../../../packages/components/anchor/src/anchor.ts"],"sourcesContent":["import {\n buildProps,\n definePropType,\n isString,\n isUndefined,\n} from '@element-plus/utils'\n\nimport type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue'\nimport type Anchor from './anchor.vue'\n\nexport const anchorProps = buildProps({\n /**\n * @description scroll container\n */\n container: {\n type: definePropType<string | HTMLElement | Window | null>([\n String,\n Object,\n ]),\n },\n /**\n * @description Set the offset of the anchor scroll\n */\n offset: {\n type: Number,\n default: 0,\n },\n /**\n * @description The offset of the element starting to trigger the anchor\n */\n bound: {\n type: Number,\n default: 15,\n },\n /**\n * @description Set the scroll duration of the container when the anchor is clicked, in milliseconds\n */\n duration: {\n type: Number,\n default: 300,\n },\n /**\n * @description Whether to show the marker\n */\n marker: {\n type: Boolean,\n default: true,\n },\n /**\n * @description Set Anchor type\n */\n type: {\n type: definePropType<'default' | 'underline'>(String),\n default: 'default',\n },\n /**\n * @description Set Anchor direction\n */\n direction: {\n type: definePropType<'vertical' | 'horizontal'>(String),\n default: 'vertical',\n },\n /**\n * @description Scroll whether link is selected at the top\n */\n selectScrollTop: Boolean,\n})\n\nexport type AnchorProps = ExtractPropTypes<typeof anchorProps>\nexport type AnchorPropsPublic = __ExtractPublicPropTypes<typeof anchorProps>\nexport type AnchorInstance = InstanceType<typeof Anchor> & unknown\n\nexport const anchorEmits = {\n change: (href: string) => isString(href),\n click: (e: MouseEvent, href?: string) =>\n e instanceof MouseEvent && (isString(href) || isUndefined(href)),\n}\nexport type AnchorEmits = typeof anchorEmits\n"],"names":["buildProps","definePropType","isString","isUndefined"],"mappings":";;;;;;;;AAMY,MAAC,WAAW,GAAGA,kBAAU,CAAC;AACtC,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAEC,sBAAc,CAAC;AACzB,MAAM,MAAM;AACZ,MAAM,MAAM;AACZ,KAAK,CAAC;AACN,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,GAAG;AAChB,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAEA,sBAAc,CAAC,MAAM,CAAC;AAChC,IAAI,OAAO,EAAE,SAAS;AACtB,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAEA,sBAAc,CAAC,MAAM,CAAC;AAChC,IAAI,OAAO,EAAE,UAAU;AACvB,GAAG;AACH,EAAE,eAAe,EAAE,OAAO;AAC1B,CAAC,EAAE;AACS,MAAC,WAAW,GAAG;AAC3B,EAAE,MAAM,EAAE,CAAC,IAAI,KAAKC,eAAQ,CAAC,IAAI,CAAC;AAClC,EAAE,KAAK,EAAE,CAAC,CAAC,EAAE,IAAI,KAAK,CAAC,YAAY,UAAU,KAAKA,eAAQ,CAAC,IAAI,CAAC,IAAIC,iBAAW,CAAC,IAAI,CAAC,CAAC;AACtF;;;;;"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { ExtractPropTypes } from 'vue';
|
1
|
+
import type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue';
|
2
2
|
import type Autocomplete from './autocomplete.vue';
|
3
3
|
import type { Placement } from '@element-plus/nightly/es/components/popper';
|
4
4
|
import type { Awaitable } from '@element-plus/nightly/es/utils';
|
@@ -110,6 +110,7 @@ export declare const autocompleteProps: {
|
|
110
110
|
readonly rows: import("@element-plus/nightly/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 2, boolean>;
|
111
111
|
};
|
112
112
|
export type AutocompleteProps = ExtractPropTypes<typeof autocompleteProps>;
|
113
|
+
export type AutocompletePropsPublic = __ExtractPublicPropTypes<typeof autocompleteProps>;
|
113
114
|
export declare const autocompleteEmits: {
|
114
115
|
"update:modelValue": (value: string) => boolean;
|
115
116
|
input: (value: string) => boolean;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"autocomplete.js","sources":["../../../../../../packages/components/autocomplete/src/autocomplete.ts"],"sourcesContent":["import {\n NOOP,\n buildProps,\n definePropType,\n isObject,\n isString,\n} from '@element-plus/utils'\nimport { useTooltipContentProps } from '@element-plus/components/tooltip'\nimport {\n CHANGE_EVENT,\n INPUT_EVENT,\n UPDATE_MODEL_EVENT,\n} from '@element-plus/constants'\nimport { inputProps } from '@element-plus/components/input'\n\nimport type { ExtractPropTypes } from 'vue'\nimport type Autocomplete from './autocomplete.vue'\nimport type { Placement } from '@element-plus/components/popper'\nimport type { Awaitable } from '@element-plus/utils'\n\nexport type AutocompleteData = Record<string, any>[]\nexport type AutocompleteFetchSuggestionsCallback = (\n data: AutocompleteData\n) => void\nexport type AutocompleteFetchSuggestions =\n | ((\n queryString: string,\n cb: AutocompleteFetchSuggestionsCallback\n ) => Awaitable<AutocompleteData> | void)\n | AutocompleteData\n\nexport const autocompleteProps = buildProps({\n ...inputProps,\n /**\n * @description key name of the input suggestion object for display\n */\n valueKey: {\n type: String,\n default: 'value',\n },\n /**\n * @description binding value\n */\n modelValue: {\n type: [String, Number],\n default: '',\n },\n /**\n * @description debounce delay when typing, in milliseconds\n */\n debounce: {\n type: Number,\n default: 300,\n },\n /**\n * @description placement of the popup menu\n */\n placement: {\n type: definePropType<Placement>(String),\n values: [\n 'top',\n 'top-start',\n 'top-end',\n 'bottom',\n 'bottom-start',\n 'bottom-end',\n ],\n default: 'bottom-start',\n },\n /**\n * @description a method to fetch input suggestions. When suggestions are ready, invoke `callback(data:[])` to return them to Autocomplete\n */\n fetchSuggestions: {\n type: definePropType<AutocompleteFetchSuggestions>([Function, Array]),\n default: NOOP,\n },\n /**\n * @description custom class name for autocomplete's dropdown\n */\n popperClass: {\n type: String,\n default: '',\n },\n /**\n * @description whether show suggestions when input focus\n */\n triggerOnFocus: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether to emit a `select` event on enter when there is no autocomplete match\n */\n selectWhenUnmatched: Boolean,\n /**\n * @description whether to hide the loading icon in remote search\n */\n hideLoading: Boolean,\n /**\n * @description whether select dropdown is teleported to the body\n */\n teleported: useTooltipContentProps.teleported,\n /**\n * @description which select dropdown appends to\n */\n appendTo: useTooltipContentProps.appendTo,\n /**\n * @description whether to highlight first item in remote search suggestions by default\n */\n highlightFirstItem: Boolean,\n /**\n * @description whether the width of the dropdown is the same as the input\n */\n fitInputWidth: Boolean,\n} as const)\nexport type AutocompleteProps = ExtractPropTypes<typeof autocompleteProps>\n\nexport const autocompleteEmits = {\n [UPDATE_MODEL_EVENT]: (value: string) => isString(value),\n [INPUT_EVENT]: (value: string) => isString(value),\n [CHANGE_EVENT]: (value: string) => isString(value),\n focus: (evt: FocusEvent) => evt instanceof FocusEvent,\n blur: (evt: FocusEvent) => evt instanceof FocusEvent,\n clear: () => true,\n select: (item: Record<string, any>) => isObject(item),\n}\nexport type AutocompleteEmits = typeof autocompleteEmits\n\nexport type AutocompleteInstance = InstanceType<typeof Autocomplete> & unknown\n"],"names":["buildProps","inputProps","definePropType","NOOP","useTooltipContentProps","UPDATE_MODEL_EVENT","isString","INPUT_EVENT","CHANGE_EVENT","isObject"],"mappings":";;;;;;;;;;AAcY,MAAC,iBAAiB,GAAGA,kBAAU,CAAC;AAC5C,EAAE,GAAGC,gBAAU;AACf,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,OAAO;AACpB,GAAG;AACH,EAAE,UAAU,EAAE;AACd,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;AAC1B,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,GAAG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E,KAAK,EAAE,MAAM,IAAI;AACnB,EAAE,MAAM,EAAE,CAAC,IAAI,KAAKG,eAAQ,CAAC,IAAI,CAAC;AAClC;;;;;"}
|
1
|
+
{"version":3,"file":"autocomplete.js","sources":["../../../../../../packages/components/autocomplete/src/autocomplete.ts"],"sourcesContent":["import {\n NOOP,\n buildProps,\n definePropType,\n isObject,\n isString,\n} from '@element-plus/utils'\nimport { useTooltipContentProps } from '@element-plus/components/tooltip'\nimport {\n CHANGE_EVENT,\n INPUT_EVENT,\n UPDATE_MODEL_EVENT,\n} from '@element-plus/constants'\nimport { inputProps } from '@element-plus/components/input'\n\nimport type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue'\nimport type Autocomplete from './autocomplete.vue'\nimport type { Placement } from '@element-plus/components/popper'\nimport type { Awaitable } from '@element-plus/utils'\n\nexport type AutocompleteData = Record<string, any>[]\nexport type AutocompleteFetchSuggestionsCallback = (\n data: AutocompleteData\n) => void\nexport type AutocompleteFetchSuggestions =\n | ((\n queryString: string,\n cb: AutocompleteFetchSuggestionsCallback\n ) => Awaitable<AutocompleteData> | void)\n | AutocompleteData\n\nexport const autocompleteProps = buildProps({\n ...inputProps,\n /**\n * @description key name of the input suggestion object for display\n */\n valueKey: {\n type: String,\n default: 'value',\n },\n /**\n * @description binding value\n */\n modelValue: {\n type: [String, Number],\n default: '',\n },\n /**\n * @description debounce delay when typing, in milliseconds\n */\n debounce: {\n type: Number,\n default: 300,\n },\n /**\n * @description placement of the popup menu\n */\n placement: {\n type: definePropType<Placement>(String),\n values: [\n 'top',\n 'top-start',\n 'top-end',\n 'bottom',\n 'bottom-start',\n 'bottom-end',\n ],\n default: 'bottom-start',\n },\n /**\n * @description a method to fetch input suggestions. When suggestions are ready, invoke `callback(data:[])` to return them to Autocomplete\n */\n fetchSuggestions: {\n type: definePropType<AutocompleteFetchSuggestions>([Function, Array]),\n default: NOOP,\n },\n /**\n * @description custom class name for autocomplete's dropdown\n */\n popperClass: {\n type: String,\n default: '',\n },\n /**\n * @description whether show suggestions when input focus\n */\n triggerOnFocus: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether to emit a `select` event on enter when there is no autocomplete match\n */\n selectWhenUnmatched: Boolean,\n /**\n * @description whether to hide the loading icon in remote search\n */\n hideLoading: Boolean,\n /**\n * @description whether select dropdown is teleported to the body\n */\n teleported: useTooltipContentProps.teleported,\n /**\n * @description which select dropdown appends to\n */\n appendTo: useTooltipContentProps.appendTo,\n /**\n * @description whether to highlight first item in remote search suggestions by default\n */\n highlightFirstItem: Boolean,\n /**\n * @description whether the width of the dropdown is the same as the input\n */\n fitInputWidth: Boolean,\n} as const)\nexport type AutocompleteProps = ExtractPropTypes<typeof autocompleteProps>\nexport type AutocompletePropsPublic = __ExtractPublicPropTypes<\n typeof autocompleteProps\n>\n\nexport const autocompleteEmits = {\n [UPDATE_MODEL_EVENT]: (value: string) => isString(value),\n [INPUT_EVENT]: (value: string) => isString(value),\n [CHANGE_EVENT]: (value: string) => isString(value),\n focus: (evt: FocusEvent) => evt instanceof FocusEvent,\n blur: (evt: FocusEvent) => evt instanceof FocusEvent,\n clear: () => true,\n select: (item: Record<string, any>) => isObject(item),\n}\nexport type AutocompleteEmits = typeof autocompleteEmits\n\nexport type AutocompleteInstance = InstanceType<typeof Autocomplete> & unknown\n"],"names":["buildProps","inputProps","definePropType","NOOP","useTooltipContentProps","UPDATE_MODEL_EVENT","isString","INPUT_EVENT","CHANGE_EVENT","isObject"],"mappings":";;;;;;;;;;AAcY,MAAC,iBAAiB,GAAGA,kBAAU,CAAC;AAC5C,EAAE,GAAGC,gBAAU;AACf,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,OAAO;AACpB,GAAG;AACH,EAAE,UAAU,EAAE;AACd,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;AAC1B,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,QAAQ,EAAE;A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AAI,EAAE,CAAC,GAAG,KAAK,GAAG,YAAY,UAAU;AAC1C,EAAE,KAAK,EAAE,MAAM,IAAI;AACnB,EAAE,MAAM,EAAE,CAAC,IAAI,KAAKG,eAAQ,CAAC,IAAI,CAAC;AAClC;;;;;"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { ExtractPropTypes } from 'vue';
|
1
|
+
import type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue';
|
2
2
|
import type { ObjectFitProperty } from 'csstype';
|
3
3
|
export declare const avatarProps: {
|
4
4
|
readonly size: import("@element-plus/nightly/es/utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], "" | "small" | "default" | "large", number, "", boolean>;
|
@@ -15,6 +15,7 @@ export declare const avatarProps: {
|
|
15
15
|
readonly fit: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => "fill" | "contain" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "cover" | "scale-down") | (() => ObjectFitProperty) | ((new (...args: any[]) => "fill" | "contain" | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "cover" | "scale-down") | (() => ObjectFitProperty))[], unknown, unknown, "cover", boolean>;
|
16
16
|
};
|
17
17
|
export type AvatarProps = ExtractPropTypes<typeof avatarProps>;
|
18
|
+
export type AvatarPropsPublic = __ExtractPublicPropTypes<typeof avatarProps>;
|
18
19
|
export declare const avatarEmits: {
|
19
20
|
error: (evt: Event) => boolean;
|
20
21
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"avatar.js","sources":["../../../../../../packages/components/avatar/src/avatar.ts"],"sourcesContent":["import {\n buildProps,\n definePropType,\n iconPropType,\n isNumber,\n} from '@element-plus/utils'\nimport { componentSizes } from '@element-plus/constants'\n\nimport type { ExtractPropTypes } from 'vue'\nimport type { ObjectFitProperty } from 'csstype'\n\nexport const avatarProps = buildProps({\n /**\n * @description avatar size.\n */\n size: {\n type: [Number, String],\n values: componentSizes,\n default: '',\n validator: (val: unknown): val is number => isNumber(val),\n },\n /**\n * @description avatar shape.\n */\n shape: {\n type: String,\n values: ['circle', 'square'],\n default: 'circle',\n },\n /**\n * @description representation type to icon, more info on icon component.\n */\n icon: {\n type: iconPropType,\n },\n /**\n * @description the source of the image for an image avatar.\n */\n src: {\n type: String,\n default: '',\n },\n /**\n * @description native attribute `alt` of image avatar.\n */\n alt: String,\n /**\n * @description native attribute srcset of image avatar.\n */\n srcSet: String,\n /**\n * @description set how the image fit its container for an image avatar.\n */\n fit: {\n type: definePropType<ObjectFitProperty>(String),\n default: 'cover',\n },\n} as const)\nexport type AvatarProps = ExtractPropTypes<typeof avatarProps>\n\nexport const avatarEmits = {\n error: (evt: Event) => evt instanceof Event,\n}\nexport type AvatarEmits = typeof avatarEmits\n"],"names":["buildProps","componentSizes","isNumber","iconPropType","definePropType"],"mappings":";;;;;;;;;AAOY,MAAC,WAAW,GAAGA,kBAAU,CAAC;AACtC,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;AAC1B,IAAI,MAAM,EAAEC,mBAAc;AAC1B,IAAI,OAAO,EAAE,EAAE;AACf,IAAI,SAAS,EAAE,CAAC,GAAG,KAAKC,cAAQ,CAAC,GAAG,CAAC;AACrC,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC;AAChC,IAAI,OAAO,EAAE,QAAQ;AACrB,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAEC,iBAAY;AACtB,GAAG;AACH,EAAE,GAAG,EAAE;AACP,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,GAAG,EAAE,MAAM;AACb,EAAE,MAAM,EAAE,MAAM;AAChB,EAAE,GAAG,EAAE;AACP,IAAI,IAAI,EAAEC,sBAAc,CAAC,MAAM,CAAC;AAChC,IAAI,OAAO,EAAE,OAAO;AACpB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,WAAW,GAAG;AAC3B,EAAE,KAAK,EAAE,CAAC,GAAG,KAAK,GAAG,YAAY,KAAK;AACtC;;;;;"}
|
1
|
+
{"version":3,"file":"avatar.js","sources":["../../../../../../packages/components/avatar/src/avatar.ts"],"sourcesContent":["import {\n buildProps,\n definePropType,\n iconPropType,\n isNumber,\n} from '@element-plus/utils'\nimport { componentSizes } from '@element-plus/constants'\n\nimport type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue'\nimport type { ObjectFitProperty } from 'csstype'\n\nexport const avatarProps = buildProps({\n /**\n * @description avatar size.\n */\n size: {\n type: [Number, String],\n values: componentSizes,\n default: '',\n validator: (val: unknown): val is number => isNumber(val),\n },\n /**\n * @description avatar shape.\n */\n shape: {\n type: String,\n values: ['circle', 'square'],\n default: 'circle',\n },\n /**\n * @description representation type to icon, more info on icon component.\n */\n icon: {\n type: iconPropType,\n },\n /**\n * @description the source of the image for an image avatar.\n */\n src: {\n type: String,\n default: '',\n },\n /**\n * @description native attribute `alt` of image avatar.\n */\n alt: String,\n /**\n * @description native attribute srcset of image avatar.\n */\n srcSet: String,\n /**\n * @description set how the image fit its container for an image avatar.\n */\n fit: {\n type: definePropType<ObjectFitProperty>(String),\n default: 'cover',\n },\n} as const)\nexport type AvatarProps = ExtractPropTypes<typeof avatarProps>\nexport type AvatarPropsPublic = __ExtractPublicPropTypes<typeof avatarProps>\n\nexport const avatarEmits = {\n error: (evt: Event) => evt instanceof Event,\n}\nexport type AvatarEmits = typeof avatarEmits\n"],"names":["buildProps","componentSizes","isNumber","iconPropType","definePropType"],"mappings":";;;;;;;;;AAOY,MAAC,WAAW,GAAGA,kBAAU,CAAC;AACtC,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;AAC1B,IAAI,MAAM,EAAEC,mBAAc;AAC1B,IAAI,OAAO,EAAE,EAAE;AACf,IAAI,SAAS,EAAE,CAAC,GAAG,KAAKC,cAAQ,CAAC,GAAG,CAAC;AACrC,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC;AAChC,IAAI,OAAO,EAAE,QAAQ;AACrB,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAEC,iBAAY;AACtB,GAAG;AACH,EAAE,GAAG,EAAE;AACP,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,GAAG,EAAE,MAAM;AACb,EAAE,MAAM,EAAE,MAAM;AAChB,EAAE,GAAG,EAAE;AACP,IAAI,IAAI,EAAEC,sBAAc,CAAC,MAAM,CAAC;AAChC,IAAI,OAAO,EAAE,OAAO;AACpB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,WAAW,GAAG;AAC3B,EAAE,KAAK,EAAE,CAAC,GAAG,KAAK,GAAG,YAAY,KAAK;AACtC;;;;;"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { ExtractPropTypes } from 'vue';
|
1
|
+
import type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue';
|
2
2
|
export declare const backtopProps: {
|
3
3
|
/**
|
4
4
|
* @description the button will not show until the scroll height reaches this value.
|
@@ -30,6 +30,7 @@ export declare const backtopProps: {
|
|
30
30
|
};
|
31
31
|
};
|
32
32
|
export type BacktopProps = ExtractPropTypes<typeof backtopProps>;
|
33
|
+
export type BacktopPropsPublic = __ExtractPublicPropTypes<typeof backtopProps>;
|
33
34
|
export declare const backtopEmits: {
|
34
35
|
click: (evt: MouseEvent) => boolean;
|
35
36
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"backtop.js","sources":["../../../../../../packages/components/backtop/src/backtop.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\n\nexport const backtopProps = {\n /**\n * @description the button will not show until the scroll height reaches this value.\n */\n visibilityHeight: {\n type: Number,\n default: 200,\n },\n /**\n * @description the target to trigger scroll.\n */\n target: {\n type: String,\n default: '',\n },\n /**\n * @description right distance.\n */\n right: {\n type: Number,\n default: 40,\n },\n /**\n * @description bottom distance.\n */\n bottom: {\n type: Number,\n default: 40,\n },\n} as const\nexport type BacktopProps = ExtractPropTypes<typeof backtopProps>\n\nexport const backtopEmits = {\n click: (evt: MouseEvent) => evt instanceof MouseEvent,\n}\nexport type BacktopEmits = typeof backtopEmits\n"],"names":[],"mappings":";;;;AAAY,MAAC,YAAY,GAAG;AAC5B,EAAE,gBAAgB,EAAE;AACpB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,GAAG;AAChB,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE;AACU,MAAC,YAAY,GAAG;AAC5B,EAAE,KAAK,EAAE,CAAC,GAAG,KAAK,GAAG,YAAY,UAAU;AAC3C;;;;;"}
|
1
|
+
{"version":3,"file":"backtop.js","sources":["../../../../../../packages/components/backtop/src/backtop.ts"],"sourcesContent":["import type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue'\n\nexport const backtopProps = {\n /**\n * @description the button will not show until the scroll height reaches this value.\n */\n visibilityHeight: {\n type: Number,\n default: 200,\n },\n /**\n * @description the target to trigger scroll.\n */\n target: {\n type: String,\n default: '',\n },\n /**\n * @description right distance.\n */\n right: {\n type: Number,\n default: 40,\n },\n /**\n * @description bottom distance.\n */\n bottom: {\n type: Number,\n default: 40,\n },\n} as const\nexport type BacktopProps = ExtractPropTypes<typeof backtopProps>\nexport type BacktopPropsPublic = __ExtractPublicPropTypes<typeof backtopProps>\n\nexport const backtopEmits = {\n click: (evt: MouseEvent) => evt instanceof MouseEvent,\n}\nexport type BacktopEmits = typeof backtopEmits\n"],"names":[],"mappings":";;;;AAAY,MAAC,YAAY,GAAG;AAC5B,EAAE,gBAAgB,EAAE;AACpB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,GAAG;AAChB,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE;AACU,MAAC,YAAY,GAAG;AAC5B,EAAE,KAAK,EAAE,CAAC,GAAG,KAAK,GAAG,YAAY,UAAU;AAC3C;;;;;"}
|
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
var badge$1 = require('./src/
|
6
|
-
var badge = require('./src/
|
5
|
+
var badge$1 = require('./src/badge.js');
|
6
|
+
var badge = require('./src/badge2.js');
|
7
7
|
var install = require('../../utils/vue/install.js');
|
8
8
|
|
9
9
|
const ElBadge = install.withInstall(badge$1["default"]);
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { ExtractPropTypes, StyleValue } from 'vue';
|
1
|
+
import type { ExtractPropTypes, StyleValue, __ExtractPublicPropTypes } from 'vue';
|
2
2
|
export declare const badgeProps: {
|
3
3
|
readonly value: import("@element-plus/nightly/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
4
4
|
readonly max: import("@element-plus/nightly/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 99, boolean>;
|
@@ -22,3 +22,4 @@ export declare const badgeProps: {
|
|
22
22
|
};
|
23
23
|
};
|
24
24
|
export type BadgeProps = ExtractPropTypes<typeof badgeProps>;
|
25
|
+
export type BadgePropsPublic = __ExtractPublicPropTypes<typeof badgeProps>;
|
@@ -2,40 +2,79 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
var
|
5
|
+
var vue = require('vue');
|
6
|
+
var badge = require('./badge2.js');
|
7
|
+
var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
|
8
|
+
var index = require('../../../hooks/use-namespace/index.js');
|
9
|
+
var types = require('../../../utils/types.js');
|
10
|
+
var style = require('../../../utils/dom/style.js');
|
6
11
|
|
7
|
-
const
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
12
|
+
const __default__ = vue.defineComponent({
|
13
|
+
name: "ElBadge"
|
14
|
+
});
|
15
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
16
|
+
...__default__,
|
17
|
+
props: badge.badgeProps,
|
18
|
+
setup(__props, { expose }) {
|
19
|
+
const props = __props;
|
20
|
+
const ns = index.useNamespace("badge");
|
21
|
+
const content = vue.computed(() => {
|
22
|
+
if (props.isDot)
|
23
|
+
return "";
|
24
|
+
if (types.isNumber(props.value) && types.isNumber(props.max)) {
|
25
|
+
return props.max < props.value ? `${props.max}+` : `${props.value}`;
|
26
|
+
}
|
27
|
+
return `${props.value}`;
|
28
|
+
});
|
29
|
+
const style$1 = vue.computed(() => {
|
30
|
+
var _a, _b, _c, _d, _e;
|
31
|
+
return [
|
32
|
+
{
|
33
|
+
backgroundColor: props.color,
|
34
|
+
marginRight: style.addUnit(-((_b = (_a = props.offset) == null ? void 0 : _a[0]) != null ? _b : 0)),
|
35
|
+
marginTop: style.addUnit((_d = (_c = props.offset) == null ? void 0 : _c[1]) != null ? _d : 0)
|
36
|
+
},
|
37
|
+
(_e = props.badgeStyle) != null ? _e : {}
|
38
|
+
];
|
39
|
+
});
|
40
|
+
expose({
|
41
|
+
content
|
42
|
+
});
|
43
|
+
return (_ctx, _cache) => {
|
44
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
45
|
+
class: vue.normalizeClass(vue.unref(ns).b())
|
46
|
+
}, [
|
47
|
+
vue.renderSlot(_ctx.$slots, "default"),
|
48
|
+
vue.createVNode(vue.Transition, {
|
49
|
+
name: `${vue.unref(ns).namespace.value}-zoom-in-center`,
|
50
|
+
persisted: ""
|
51
|
+
}, {
|
52
|
+
default: vue.withCtx(() => [
|
53
|
+
vue.withDirectives(vue.createElementVNode("sup", {
|
54
|
+
class: vue.normalizeClass([
|
55
|
+
vue.unref(ns).e("content"),
|
56
|
+
vue.unref(ns).em("content", _ctx.type),
|
57
|
+
vue.unref(ns).is("fixed", !!_ctx.$slots.default),
|
58
|
+
vue.unref(ns).is("dot", _ctx.isDot),
|
59
|
+
vue.unref(ns).is("hide-zero", !_ctx.showZero && props.value === 0),
|
60
|
+
_ctx.badgeClass
|
61
|
+
]),
|
62
|
+
style: vue.normalizeStyle(vue.unref(style$1))
|
63
|
+
}, [
|
64
|
+
vue.renderSlot(_ctx.$slots, "content", { value: vue.unref(content) }, () => [
|
65
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(content)), 1)
|
66
|
+
])
|
67
|
+
], 6), [
|
68
|
+
[vue.vShow, !_ctx.hidden && (vue.unref(content) || _ctx.isDot || _ctx.$slots.content)]
|
69
|
+
])
|
70
|
+
]),
|
71
|
+
_: 3
|
72
|
+
}, 8, ["name"])
|
73
|
+
], 2);
|
74
|
+
};
|
37
75
|
}
|
38
76
|
});
|
77
|
+
var Badge = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "badge.vue"]]);
|
39
78
|
|
40
|
-
exports
|
79
|
+
exports["default"] = Badge;
|
41
80
|
//# sourceMappingURL=badge.js.map
|