element-pe 2.0.7 → 2.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/attributes.json +1 -1
- package/dist/index.css +1 -1
- package/dist/index.full.js +680 -601
- package/dist/index.full.min.js +11 -17
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +11 -17
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +679 -600
- package/dist/locale/af.js +1 -1
- package/dist/locale/af.min.js +1 -1
- package/dist/locale/af.min.js.map +1 -1
- package/dist/locale/af.min.mjs +1 -1
- package/dist/locale/af.min.mjs.map +1 -1
- package/dist/locale/af.mjs +1 -1
- package/dist/locale/ar.js +1 -1
- package/dist/locale/ar.min.js +1 -1
- package/dist/locale/ar.min.js.map +1 -1
- package/dist/locale/ar.min.mjs +1 -1
- package/dist/locale/ar.min.mjs.map +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.js.map +1 -1
- package/dist/locale/az.min.mjs +1 -1
- package/dist/locale/az.min.mjs.map +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.js.map +1 -1
- package/dist/locale/bg.min.mjs +1 -1
- package/dist/locale/bg.min.mjs.map +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.js.map +1 -1
- package/dist/locale/bn.min.mjs +1 -1
- package/dist/locale/bn.min.mjs.map +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.js.map +1 -1
- package/dist/locale/ca.min.mjs +1 -1
- package/dist/locale/ca.min.mjs.map +1 -1
- package/dist/locale/ca.mjs +1 -1
- package/dist/locale/cs.js +1 -1
- package/dist/locale/cs.min.js +1 -1
- package/dist/locale/cs.min.js.map +1 -1
- package/dist/locale/cs.min.mjs +1 -1
- package/dist/locale/cs.min.mjs.map +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.js.map +1 -1
- package/dist/locale/da.min.mjs +1 -1
- package/dist/locale/da.min.mjs.map +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.js.map +1 -1
- package/dist/locale/de.min.mjs +1 -1
- package/dist/locale/de.min.mjs.map +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.js.map +1 -1
- package/dist/locale/el.min.mjs +1 -1
- package/dist/locale/el.min.mjs.map +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.js.map +1 -1
- package/dist/locale/en.min.mjs +1 -1
- package/dist/locale/en.min.mjs.map +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.js.map +1 -1
- package/dist/locale/eo.min.mjs +1 -1
- package/dist/locale/eo.min.mjs.map +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.js.map +1 -1
- package/dist/locale/es.min.mjs +1 -1
- package/dist/locale/es.min.mjs.map +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.js.map +1 -1
- package/dist/locale/et.min.mjs +1 -1
- package/dist/locale/et.min.mjs.map +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.js.map +1 -1
- package/dist/locale/eu.min.mjs +1 -1
- package/dist/locale/eu.min.mjs.map +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.js.map +1 -1
- package/dist/locale/fa.min.mjs +1 -1
- package/dist/locale/fa.min.mjs.map +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.js.map +1 -1
- package/dist/locale/fi.min.mjs +1 -1
- package/dist/locale/fi.min.mjs.map +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.js.map +1 -1
- package/dist/locale/fr.min.mjs +1 -1
- package/dist/locale/fr.min.mjs.map +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.js.map +1 -1
- package/dist/locale/he.min.mjs +1 -1
- package/dist/locale/he.min.mjs.map +1 -1
- package/dist/locale/he.mjs +1 -1
- package/dist/locale/hr.js +1 -1
- package/dist/locale/hr.min.js +1 -1
- package/dist/locale/hr.min.js.map +1 -1
- package/dist/locale/hr.min.mjs +1 -1
- package/dist/locale/hr.min.mjs.map +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.js.map +1 -1
- package/dist/locale/hu.min.mjs +1 -1
- package/dist/locale/hu.min.mjs.map +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.js.map +1 -1
- package/dist/locale/hy-am.min.mjs +1 -1
- package/dist/locale/hy-am.min.mjs.map +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.js.map +1 -1
- package/dist/locale/id.min.mjs +1 -1
- package/dist/locale/id.min.mjs.map +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.js.map +1 -1
- package/dist/locale/it.min.mjs +1 -1
- package/dist/locale/it.min.mjs.map +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.js.map +1 -1
- package/dist/locale/ja.min.mjs +1 -1
- package/dist/locale/ja.min.mjs.map +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.js.map +1 -1
- package/dist/locale/kk.min.mjs +1 -1
- package/dist/locale/kk.min.mjs.map +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.js.map +1 -1
- package/dist/locale/km.min.mjs +1 -1
- package/dist/locale/km.min.mjs.map +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.js.map +1 -1
- package/dist/locale/ko.min.mjs +1 -1
- package/dist/locale/ko.min.mjs.map +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.js.map +1 -1
- package/dist/locale/ku.min.mjs +1 -1
- package/dist/locale/ku.min.mjs.map +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.js.map +1 -1
- package/dist/locale/ky.min.mjs +1 -1
- package/dist/locale/ky.min.mjs.map +1 -1
- package/dist/locale/ky.mjs +1 -1
- package/dist/locale/lt.js +1 -1
- package/dist/locale/lt.min.js +1 -1
- package/dist/locale/lt.min.js.map +1 -1
- package/dist/locale/lt.min.mjs +1 -1
- package/dist/locale/lt.min.mjs.map +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.js.map +1 -1
- package/dist/locale/lv.min.mjs +1 -1
- package/dist/locale/lv.min.mjs.map +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.js.map +1 -1
- package/dist/locale/mg.min.mjs +1 -1
- package/dist/locale/mg.min.mjs.map +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.js.map +1 -1
- package/dist/locale/mn.min.mjs +1 -1
- package/dist/locale/mn.min.mjs.map +1 -1
- package/dist/locale/mn.mjs +1 -1
- package/dist/locale/nb-no.js +1 -1
- package/dist/locale/nb-no.min.js +1 -1
- package/dist/locale/nb-no.min.js.map +1 -1
- package/dist/locale/nb-no.min.mjs +1 -1
- package/dist/locale/nb-no.min.mjs.map +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.js.map +1 -1
- package/dist/locale/nl.min.mjs +1 -1
- package/dist/locale/nl.min.mjs.map +1 -1
- package/dist/locale/nl.mjs +1 -1
- package/dist/locale/pa.js +1 -1
- package/dist/locale/pa.min.js +1 -1
- package/dist/locale/pa.min.js.map +1 -1
- package/dist/locale/pa.min.mjs +1 -1
- package/dist/locale/pa.min.mjs.map +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.js.map +1 -1
- package/dist/locale/pl.min.mjs +1 -1
- package/dist/locale/pl.min.mjs.map +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.js.map +1 -1
- package/dist/locale/pt-br.min.mjs +1 -1
- package/dist/locale/pt-br.min.mjs.map +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.js.map +1 -1
- package/dist/locale/pt.min.mjs +1 -1
- package/dist/locale/pt.min.mjs.map +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.js.map +1 -1
- package/dist/locale/ro.min.mjs +1 -1
- package/dist/locale/ro.min.mjs.map +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.js.map +1 -1
- package/dist/locale/ru.min.mjs +1 -1
- package/dist/locale/ru.min.mjs.map +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.js.map +1 -1
- package/dist/locale/sk.min.mjs +1 -1
- package/dist/locale/sk.min.mjs.map +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.js.map +1 -1
- package/dist/locale/sl.min.mjs +1 -1
- package/dist/locale/sl.min.mjs.map +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.js.map +1 -1
- package/dist/locale/sr.min.mjs +1 -1
- package/dist/locale/sr.min.mjs.map +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.js.map +1 -1
- package/dist/locale/sv.min.mjs +1 -1
- package/dist/locale/sv.min.mjs.map +1 -1
- package/dist/locale/sv.mjs +1 -1
- package/dist/locale/ta.js +1 -1
- package/dist/locale/ta.min.js +1 -1
- package/dist/locale/ta.min.js.map +1 -1
- package/dist/locale/ta.min.mjs +1 -1
- package/dist/locale/ta.min.mjs.map +1 -1
- package/dist/locale/ta.mjs +1 -1
- package/dist/locale/th.js +1 -1
- package/dist/locale/th.min.js +1 -1
- package/dist/locale/th.min.js.map +1 -1
- package/dist/locale/th.min.mjs +1 -1
- package/dist/locale/th.min.mjs.map +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.js.map +1 -1
- package/dist/locale/tk.min.mjs +1 -1
- package/dist/locale/tk.min.mjs.map +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.js.map +1 -1
- package/dist/locale/tr.min.mjs +1 -1
- package/dist/locale/tr.min.mjs.map +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.js.map +1 -1
- package/dist/locale/ug-cn.min.mjs +1 -1
- package/dist/locale/ug-cn.min.mjs.map +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.js.map +1 -1
- package/dist/locale/uk.min.mjs +1 -1
- package/dist/locale/uk.min.mjs.map +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.js.map +1 -1
- package/dist/locale/uz-uz.min.mjs +1 -1
- package/dist/locale/uz-uz.min.mjs.map +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.js.map +1 -1
- package/dist/locale/vi.min.mjs +1 -1
- package/dist/locale/vi.min.mjs.map +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.js.map +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/locale/zh-cn.min.mjs.map +1 -1
- package/dist/locale/zh-cn.mjs +1 -1
- package/dist/locale/zh-tw.js +1 -1
- package/dist/locale/zh-tw.min.js +1 -1
- package/dist/locale/zh-tw.min.js.map +1 -1
- package/dist/locale/zh-tw.min.mjs +1 -1
- package/dist/locale/zh-tw.min.mjs.map +1 -1
- package/dist/locale/zh-tw.mjs +1 -1
- package/es/components/affix/index.mjs +2 -2
- package/es/components/affix/src/affix.mjs +23 -114
- package/es/components/affix/src/affix.mjs.map +1 -1
- package/es/components/affix/src/affix2.mjs +114 -23
- package/es/components/affix/src/affix2.mjs.map +1 -1
- package/es/components/alert/index.mjs +2 -2
- package/es/components/alert/src/alert.mjs +90 -36
- package/es/components/alert/src/alert.mjs.map +1 -1
- package/es/components/alert/src/alert2.mjs +36 -90
- package/es/components/alert/src/alert2.mjs.map +1 -1
- package/es/components/autocomplete/index.d.ts +0 -4599
- package/es/components/autocomplete/index.mjs +2 -2
- package/es/components/autocomplete/src/autocomplete.mjs +67 -325
- package/es/components/autocomplete/src/autocomplete.mjs.map +1 -1
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +0 -4599
- package/es/components/autocomplete/src/autocomplete2.mjs +325 -67
- package/es/components/autocomplete/src/autocomplete2.mjs.map +1 -1
- package/es/components/avatar/index.mjs +2 -2
- package/es/components/avatar/src/avatar.mjs +68 -32
- package/es/components/avatar/src/avatar.mjs.map +1 -1
- package/es/components/avatar/src/avatar2.mjs +32 -68
- package/es/components/avatar/src/avatar2.mjs.map +1 -1
- package/es/components/backtop/index.mjs +2 -2
- package/es/components/backtop/src/backtop.mjs +21 -100
- package/es/components/backtop/src/backtop.mjs.map +1 -1
- package/es/components/backtop/src/backtop2.mjs +100 -21
- package/es/components/backtop/src/backtop2.mjs.map +1 -1
- package/es/components/badge/index.mjs +2 -2
- package/es/components/badge/src/badge.mjs +54 -17
- package/es/components/badge/src/badge.mjs.map +1 -1
- package/es/components/badge/src/badge2.mjs +17 -54
- package/es/components/badge/src/badge2.mjs.map +1 -1
- package/es/components/breadcrumb/index.mjs +4 -4
- package/es/components/breadcrumb/src/breadcrumb-item.mjs +57 -11
- package/es/components/breadcrumb/src/breadcrumb-item.mjs.map +1 -1
- package/es/components/breadcrumb/src/breadcrumb-item2.mjs +11 -57
- package/es/components/breadcrumb/src/breadcrumb-item2.mjs.map +1 -1
- package/es/components/breadcrumb/src/breadcrumb.mjs +12 -37
- package/es/components/breadcrumb/src/breadcrumb.mjs.map +1 -1
- package/es/components/breadcrumb/src/breadcrumb2.mjs +37 -12
- package/es/components/breadcrumb/src/breadcrumb2.mjs.map +1 -1
- package/es/components/button/index.mjs +3 -3
- package/es/components/button/src/button-group.mjs +30 -5
- package/es/components/button/src/button-group.mjs.map +1 -1
- package/es/components/button/src/button-group2.mjs +5 -30
- package/es/components/button/src/button-group2.mjs.map +1 -1
- package/es/components/button/src/button.mjs +51 -106
- package/es/components/button/src/button.mjs.map +1 -1
- package/es/components/button/src/button2.mjs +106 -51
- package/es/components/button/src/button2.mjs.map +1 -1
- package/es/components/card/index.mjs +2 -2
- package/es/components/card/src/card.mjs +35 -15
- package/es/components/card/src/card.mjs.map +1 -1
- package/es/components/card/src/card2.mjs +15 -35
- package/es/components/card/src/card2.mjs.map +1 -1
- package/es/components/carousel/index.mjs +4 -4
- package/es/components/carousel/src/carousel-item.mjs +7 -155
- package/es/components/carousel/src/carousel-item.mjs.map +1 -1
- package/es/components/carousel/src/carousel-item2.mjs +155 -7
- package/es/components/carousel/src/carousel-item2.mjs.map +1 -1
- package/es/components/carousel/src/carousel.mjs +319 -48
- package/es/components/carousel/src/carousel.mjs.map +1 -1
- package/es/components/carousel/src/carousel2.mjs +48 -319
- package/es/components/carousel/src/carousel2.mjs.map +1 -1
- package/es/components/cascader/index.d.ts +0 -6132
- package/es/components/cascader/src/index.mjs +1 -1
- package/es/components/cascader/src/index.vue.d.ts +0 -3066
- package/es/components/cascader-panel/src/config.mjs +1 -1
- package/es/components/cascader-panel/src/index.mjs +1 -1
- package/es/components/cascader-panel/src/menu.mjs +1 -1
- package/es/components/cascader-panel/src/node.mjs +120 -209
- package/es/components/cascader-panel/src/node.mjs.map +1 -1
- package/es/components/cascader-panel/src/node2.mjs +209 -120
- package/es/components/cascader-panel/src/node2.mjs.map +1 -1
- package/es/components/cascader-panel/src/store.mjs +1 -1
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.mjs +2 -1
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.mjs.map +1 -1
- package/es/components/divider/index.mjs +2 -2
- package/es/components/divider/src/divider.mjs +17 -34
- package/es/components/divider/src/divider.mjs.map +1 -1
- package/es/components/divider/src/divider2.mjs +34 -17
- package/es/components/divider/src/divider2.mjs.map +1 -1
- package/es/components/drawer/index.mjs +2 -2
- package/es/components/drawer/src/drawer.mjs +126 -21
- package/es/components/drawer/src/drawer.mjs.map +1 -1
- package/es/components/drawer/src/drawer2.mjs +21 -126
- package/es/components/drawer/src/drawer2.mjs.map +1 -1
- package/es/components/empty/src/img-empty.mjs +7 -17
- package/es/components/empty/src/img-empty.mjs.map +1 -1
- package/es/components/form/index.d.ts +4 -6
- package/es/components/form/src/form-item.vue.d.ts +2 -3
- package/es/components/form/src/form-item2.mjs +22 -22
- package/es/components/form/src/form-item2.mjs.map +1 -1
- package/es/components/form/src/form-label-wrap.mjs +6 -6
- package/es/components/form/src/form-label-wrap.mjs.map +1 -1
- package/es/components/icon/index.mjs +2 -2
- package/es/components/icon/src/icon.mjs +8 -35
- package/es/components/icon/src/icon.mjs.map +1 -1
- package/es/components/icon/src/icon2.mjs +35 -8
- package/es/components/icon/src/icon2.mjs.map +1 -1
- package/es/components/image-viewer/index.mjs +2 -2
- package/es/components/image-viewer/src/image-viewer.mjs +30 -399
- package/es/components/image-viewer/src/image-viewer.mjs.map +1 -1
- package/es/components/image-viewer/src/image-viewer2.mjs +399 -30
- package/es/components/image-viewer/src/image-viewer2.mjs.map +1 -1
- package/es/components/index.mjs +32 -32
- package/es/components/input/index.d.ts +0 -1533
- package/es/components/input/index.mjs +2 -2
- package/es/components/input/src/input.mjs +410 -92
- package/es/components/input/src/input.mjs.map +1 -1
- package/es/components/input/src/input.vue.d.ts +6 -1539
- package/es/components/input/src/input2.mjs +92 -433
- package/es/components/input/src/input2.mjs.map +1 -1
- package/es/components/input-number/index.d.ts +3 -3068
- package/es/components/input-number/index.mjs +2 -2
- package/es/components/input-number/src/input-number.d.ts +1 -1
- package/es/components/input-number/src/input-number.mjs +52 -284
- package/es/components/input-number/src/input-number.mjs.map +1 -1
- package/es/components/input-number/src/input-number.vue.d.ts +3 -3068
- package/es/components/input-number/src/input-number2.mjs +284 -53
- package/es/components/input-number/src/input-number2.mjs.map +1 -1
- package/es/components/link/index.mjs +2 -2
- package/es/components/link/src/link.mjs +22 -49
- package/es/components/link/src/link.mjs.map +1 -1
- package/es/components/link/src/link2.mjs +49 -22
- package/es/components/link/src/link2.mjs.map +1 -1
- package/es/components/loading/src/loading.mjs +3 -1
- package/es/components/loading/src/loading.mjs.map +1 -1
- package/es/components/loading/src/service.mjs +1 -2
- package/es/components/loading/src/service.mjs.map +1 -1
- package/es/components/menu/index.d.ts +84 -0
- package/es/components/menu/index.mjs +2 -2
- package/es/components/menu/src/menu-collapse-transition.mjs +10 -7
- package/es/components/menu/src/menu-collapse-transition.mjs.map +1 -1
- package/es/components/menu/src/menu-item-group.vue.d.ts +14 -0
- package/es/components/menu/src/menu-item-group2.mjs +12 -7
- package/es/components/menu/src/menu-item-group2.mjs.map +1 -1
- package/es/components/menu/src/menu-item.mjs +14 -94
- package/es/components/menu/src/menu-item.mjs.map +1 -1
- package/es/components/menu/src/menu-item.vue.d.ts +28 -0
- package/es/components/menu/src/menu-item2.mjs +102 -14
- package/es/components/menu/src/menu-item2.mjs.map +1 -1
- package/es/components/menu/src/menu.mjs +10 -6
- package/es/components/menu/src/menu.mjs.map +1 -1
- package/es/components/menu/src/sub-menu.mjs +17 -14
- package/es/components/menu/src/sub-menu.mjs.map +1 -1
- package/es/components/menu/src/utils/menu-bar.d.ts +2 -2
- package/es/components/menu/src/utils/menu-bar.mjs +4 -4
- package/es/components/menu/src/utils/menu-bar.mjs.map +1 -1
- package/es/components/menu/src/utils/menu-item.d.ts +2 -2
- package/es/components/menu/src/utils/menu-item.mjs +4 -4
- package/es/components/menu/src/utils/menu-item.mjs.map +1 -1
- package/es/components/message-box/src/index.mjs +56 -47
- package/es/components/message-box/src/index.mjs.map +1 -1
- package/es/components/message-box/src/index.vue.d.ts +17 -1
- package/es/components/page-header/index.mjs +2 -2
- package/es/components/page-header/src/page-header.mjs +17 -60
- package/es/components/page-header/src/page-header.mjs.map +1 -1
- package/es/components/page-header/src/page-header2.mjs +60 -17
- package/es/components/page-header/src/page-header2.mjs.map +1 -1
- package/es/components/popconfirm/src/popconfirm.mjs +1 -1
- package/es/components/popper/index.mjs +2 -2
- package/es/components/popper/src/content.vue.d.ts +1 -1
- package/es/components/popper/src/content2.mjs +3 -3
- package/es/components/popper/src/content2.mjs.map +1 -1
- package/es/components/popper/src/trigger.mjs +71 -16
- package/es/components/popper/src/trigger.mjs.map +1 -1
- package/es/components/popper/src/trigger2.mjs +16 -71
- package/es/components/popper/src/trigger2.mjs.map +1 -1
- package/es/components/progress/index.mjs +2 -2
- package/es/components/progress/src/progress.mjs +57 -230
- package/es/components/progress/src/progress.mjs.map +1 -1
- package/es/components/progress/src/progress2.mjs +230 -57
- package/es/components/progress/src/progress2.mjs.map +1 -1
- package/es/components/radio/index.mjs +2 -2
- package/es/components/radio/src/radio-button.mjs +1 -1
- package/es/components/radio/src/radio-button2.mjs +1 -1
- package/es/components/radio/src/radio-group.mjs +1 -1
- package/es/components/radio/src/radio.mjs +83 -67
- package/es/components/radio/src/radio.mjs.map +1 -1
- package/es/components/radio/src/radio2.mjs +67 -83
- package/es/components/radio/src/radio2.mjs.map +1 -1
- package/es/components/result/index.mjs +2 -2
- package/es/components/result/src/result.mjs +73 -28
- package/es/components/result/src/result.mjs.map +1 -1
- package/es/components/result/src/result2.mjs +28 -73
- package/es/components/result/src/result2.mjs.map +1 -1
- package/es/components/scrollbar/index.mjs +3 -3
- package/es/components/scrollbar/src/bar2.mjs +1 -1
- package/es/components/scrollbar/src/scrollbar.mjs +175 -49
- package/es/components/scrollbar/src/scrollbar.mjs.map +1 -1
- package/es/components/scrollbar/src/scrollbar2.mjs +49 -175
- package/es/components/scrollbar/src/scrollbar2.mjs.map +1 -1
- package/es/components/scrollbar/src/thumb.mjs +137 -11
- package/es/components/scrollbar/src/thumb.mjs.map +1 -1
- package/es/components/scrollbar/src/thumb2.mjs +11 -137
- package/es/components/scrollbar/src/thumb2.mjs.map +1 -1
- package/es/components/select/src/select.mjs +4 -6
- package/es/components/select/src/select.mjs.map +1 -1
- package/es/components/select/src/useSelect.mjs +1 -2
- package/es/components/select/src/useSelect.mjs.map +1 -1
- package/es/components/switch/index.mjs +2 -2
- package/es/components/switch/src/switch.mjs +87 -250
- package/es/components/switch/src/switch.mjs.map +1 -1
- package/es/components/switch/src/switch2.mjs +250 -87
- package/es/components/switch/src/switch2.mjs.map +1 -1
- package/es/components/table/src/table/defaults.d.ts +1 -1
- package/es/components/table/src/table/defaults.mjs.map +1 -1
- package/es/components/table-v2/index.d.ts +1 -0
- package/es/components/table-v2/src/cell.d.ts +3 -3
- package/es/components/table-v2/src/cell.mjs +5 -3
- package/es/components/table-v2/src/cell.mjs.map +1 -1
- package/es/components/table-v2/src/column-resizer.d.ts +14 -0
- package/es/components/table-v2/src/column-resizer.mjs +24 -0
- package/es/components/table-v2/src/column-resizer.mjs.map +1 -0
- package/es/components/table-v2/src/column.d.ts +4 -6
- package/es/components/table-v2/src/column.mjs +2 -6
- package/es/components/table-v2/src/column.mjs.map +1 -1
- package/es/components/table-v2/src/common.d.ts +1 -2
- package/es/components/table-v2/src/common.mjs.map +1 -1
- package/es/components/table-v2/src/constants.d.ts +13 -1
- package/es/components/table-v2/src/constants.mjs +16 -2
- package/es/components/table-v2/src/constants.mjs.map +1 -1
- package/es/components/table-v2/src/expand-icon.d.ts +11 -0
- package/es/components/table-v2/src/grid.d.ts +18 -22
- package/es/components/table-v2/src/grid.mjs +6 -4
- package/es/components/table-v2/src/grid.mjs.map +1 -1
- package/es/components/table-v2/src/header-cell.d.ts +1 -19
- package/es/components/table-v2/src/header-row.d.ts +1 -20
- package/es/components/table-v2/src/header-row.mjs +0 -1
- package/es/components/table-v2/src/header-row.mjs.map +1 -1
- package/es/components/table-v2/src/header.d.ts +1 -19
- package/es/components/table-v2/src/private.d.ts +1 -0
- package/es/components/table-v2/src/private.mjs +4 -0
- package/es/components/table-v2/src/private.mjs.map +1 -0
- package/es/components/table-v2/src/renderers/cell.d.ts +10 -0
- package/es/components/table-v2/src/renderers/header-cell.d.ts +10 -0
- package/es/components/table-v2/src/renderers/header.d.ts +9 -0
- package/es/components/table-v2/src/renderers/left-table.d.ts +8 -0
- package/es/components/table-v2/src/renderers/main-table.d.ts +8 -0
- package/es/components/table-v2/src/renderers/right-table.d.ts +8 -0
- package/es/components/table-v2/src/renderers/row.d.ts +10 -0
- package/es/components/table-v2/src/row.d.ts +8 -20
- package/es/components/table-v2/src/row.mjs +4 -1
- package/es/components/table-v2/src/row.mjs.map +1 -1
- package/es/components/table-v2/src/sort-icon.d.ts +8 -0
- package/es/components/table-v2/src/table-cell.d.ts +8 -18
- package/es/components/table-v2/src/table-column-resizer.d.ts +31 -0
- package/es/components/table-v2/src/table-grid.d.ts +45 -47
- package/es/components/table-v2/src/table-header-cell.d.ts +7 -47
- package/es/components/table-v2/src/table-header-row.d.ts +15 -40
- package/es/components/table-v2/src/table-header.d.ts +14 -39
- package/es/components/table-v2/src/table-row.d.ts +31 -41
- package/es/components/table-v2/src/table-v2.d.ts +151 -0
- package/es/components/table-v2/src/table.d.ts +33 -32
- package/es/components/table-v2/src/table.mjs +36 -4
- package/es/components/table-v2/src/table.mjs.map +1 -1
- package/es/components/table-v2/src/tokens.d.ts +2 -1
- package/es/components/table-v2/src/tokens.mjs.map +1 -1
- package/es/components/table-v2/src/types.d.ts +8 -11
- package/es/components/table-v2/src/use-columns.d.ts +18 -0
- package/es/components/table-v2/src/{useTable.mjs → use-columns.mjs} +43 -36
- package/es/components/table-v2/src/use-columns.mjs.map +1 -0
- package/es/components/table-v2/src/use-table.d.ts +58 -0
- package/es/components/table-v2/src/use-table.mjs +304 -0
- package/es/components/table-v2/src/use-table.mjs.map +1 -0
- package/es/components/table-v2/src/utils.d.ts +7 -0
- package/es/components/table-v2/src/utils.mjs +23 -0
- package/es/components/table-v2/src/utils.mjs.map +1 -0
- package/es/components/tabs/index.mjs +1 -1
- package/es/components/tabs/src/tab-bar.mjs +7 -76
- package/es/components/tabs/src/tab-bar.mjs.map +1 -1
- package/es/components/tabs/src/tab-bar2.mjs +76 -7
- package/es/components/tabs/src/tab-bar2.mjs.map +1 -1
- package/es/components/tabs/src/tab-nav.mjs +1 -1
- package/es/components/tag/index.mjs +2 -2
- package/es/components/tag/src/tag.mjs +93 -33
- package/es/components/tag/src/tag.mjs.map +1 -1
- package/es/components/tag/src/tag2.mjs +33 -93
- package/es/components/tag/src/tag2.mjs.map +1 -1
- package/es/components/time-select/index.d.ts +28 -0
- package/es/components/time-select/src/time-select.mjs +7 -3
- package/es/components/time-select/src/time-select.mjs.map +1 -1
- package/es/components/time-select/src/time-select.vue.d.ts +14 -0
- package/es/components/tooltip/src/content.vue.d.ts +2 -2
- package/es/components/tooltip/src/tooltip.mjs +1 -1
- package/es/components/tooltip/src/trigger.mjs +1 -1
- package/es/components/tooltip-v2/index.mjs +3 -3
- package/es/components/tooltip-v2/src/content.mjs +50 -113
- package/es/components/tooltip-v2/src/content.mjs.map +1 -1
- package/es/components/tooltip-v2/src/content2.mjs +113 -50
- package/es/components/tooltip-v2/src/content2.mjs.map +1 -1
- package/es/components/tooltip-v2/src/tooltip.mjs +73 -20
- package/es/components/tooltip-v2/src/tooltip.mjs.map +1 -1
- package/es/components/tooltip-v2/src/tooltip2.mjs +20 -73
- package/es/components/tooltip-v2/src/tooltip2.mjs.map +1 -1
- package/es/components/tree-select/src/tree-select.mjs +1 -0
- package/es/components/tree-select/src/tree-select.mjs.map +1 -1
- package/es/components/tree-select/src/tree.mjs +16 -3
- package/es/components/tree-select/src/tree.mjs.map +1 -1
- package/es/components/upload/index.mjs +1 -1
- package/es/components/upload/src/upload-content.mjs +169 -38
- package/es/components/upload/src/upload-content.mjs.map +1 -1
- package/es/components/upload/src/upload-content2.mjs +38 -169
- package/es/components/upload/src/upload-content2.mjs.map +1 -1
- package/es/components/upload/src/upload2.mjs +1 -1
- package/es/components/virtual-list/index.d.ts +2 -1
- package/es/components/virtual-list/index.mjs +1 -1
- package/es/components/virtual-list/src/builders/build-grid.d.ts +18 -9
- package/es/components/virtual-list/src/builders/build-grid.mjs +37 -9
- package/es/components/virtual-list/src/builders/build-grid.mjs.map +1 -1
- package/es/components/virtual-list/src/builders/build-list.d.ts +16 -2
- package/es/components/virtual-list/src/builders/build-list.mjs +7 -5
- package/es/components/virtual-list/src/builders/build-list.mjs.map +1 -1
- package/es/components/virtual-list/src/components/dynamic-size-grid.d.ts +29 -5
- package/es/components/virtual-list/src/components/dynamic-size-grid.mjs +32 -2
- package/es/components/virtual-list/src/components/dynamic-size-grid.mjs.map +1 -1
- package/es/components/virtual-list/src/components/dynamic-size-list.d.ts +16 -2
- package/es/components/virtual-list/src/components/fixed-size-grid.d.ts +15 -3
- package/es/components/virtual-list/src/components/fixed-size-list.d.ts +16 -2
- package/es/components/virtual-list/src/components/scrollbar.d.ts +14 -0
- package/es/components/virtual-list/src/components/scrollbar.mjs +27 -28
- package/es/components/virtual-list/src/components/scrollbar.mjs.map +1 -1
- package/es/components/virtual-list/src/defaults.d.ts +1 -1
- package/es/components/virtual-list/src/defaults.mjs +1 -1
- package/es/components/virtual-list/src/defaults.mjs.map +1 -1
- package/es/components/virtual-list/src/hooks/use-grid-wheel.mjs +7 -2
- package/es/components/virtual-list/src/hooks/use-grid-wheel.mjs.map +1 -1
- package/es/components/virtual-list/src/props.d.ts +9 -0
- package/es/components/virtual-list/src/props.mjs +15 -0
- package/es/components/virtual-list/src/props.mjs.map +1 -1
- package/es/components/virtual-list/src/types.d.ts +5 -0
- package/es/index.mjs +32 -32
- package/es/utils/animation.mjs +3 -1
- package/es/utils/animation.mjs.map +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/affix/index.js +2 -2
- package/lib/components/affix/src/affix.js +24 -114
- package/lib/components/affix/src/affix.js.map +1 -1
- package/lib/components/affix/src/affix2.js +114 -24
- package/lib/components/affix/src/affix2.js.map +1 -1
- package/lib/components/alert/index.js +2 -2
- package/lib/components/alert/src/alert.js +89 -37
- package/lib/components/alert/src/alert.js.map +1 -1
- package/lib/components/alert/src/alert2.js +37 -89
- package/lib/components/alert/src/alert2.js.map +1 -1
- package/lib/components/autocomplete/index.d.ts +0 -4599
- package/lib/components/autocomplete/index.js +2 -2
- package/lib/components/autocomplete/src/autocomplete.js +67 -324
- package/lib/components/autocomplete/src/autocomplete.js.map +1 -1
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +0 -4599
- package/lib/components/autocomplete/src/autocomplete2.js +324 -67
- package/lib/components/autocomplete/src/autocomplete2.js.map +1 -1
- package/lib/components/avatar/index.js +2 -2
- package/lib/components/avatar/src/avatar.js +68 -33
- package/lib/components/avatar/src/avatar.js.map +1 -1
- package/lib/components/avatar/src/avatar2.js +33 -68
- package/lib/components/avatar/src/avatar2.js.map +1 -1
- package/lib/components/backtop/index.js +2 -2
- package/lib/components/backtop/src/backtop.js +22 -100
- package/lib/components/backtop/src/backtop.js.map +1 -1
- package/lib/components/backtop/src/backtop2.js +100 -22
- package/lib/components/backtop/src/backtop2.js.map +1 -1
- package/lib/components/badge/index.js +2 -2
- package/lib/components/badge/src/badge.js +54 -17
- package/lib/components/badge/src/badge.js.map +1 -1
- package/lib/components/badge/src/badge2.js +17 -54
- package/lib/components/badge/src/badge2.js.map +1 -1
- package/lib/components/breadcrumb/index.js +4 -4
- package/lib/components/breadcrumb/src/breadcrumb-item.js +57 -11
- package/lib/components/breadcrumb/src/breadcrumb-item.js.map +1 -1
- package/lib/components/breadcrumb/src/breadcrumb-item2.js +11 -57
- package/lib/components/breadcrumb/src/breadcrumb-item2.js.map +1 -1
- package/lib/components/breadcrumb/src/breadcrumb.js +12 -37
- package/lib/components/breadcrumb/src/breadcrumb.js.map +1 -1
- package/lib/components/breadcrumb/src/breadcrumb2.js +37 -12
- package/lib/components/breadcrumb/src/breadcrumb2.js.map +1 -1
- package/lib/components/button/index.js +3 -3
- package/lib/components/button/src/button-group.js +30 -5
- package/lib/components/button/src/button-group.js.map +1 -1
- package/lib/components/button/src/button-group2.js +5 -30
- package/lib/components/button/src/button-group2.js.map +1 -1
- package/lib/components/button/src/button.js +54 -106
- package/lib/components/button/src/button.js.map +1 -1
- package/lib/components/button/src/button2.js +106 -54
- package/lib/components/button/src/button2.js.map +1 -1
- package/lib/components/card/index.js +2 -2
- package/lib/components/card/src/card.js +35 -15
- package/lib/components/card/src/card.js.map +1 -1
- package/lib/components/card/src/card2.js +15 -35
- package/lib/components/card/src/card2.js.map +1 -1
- package/lib/components/carousel/index.js +4 -4
- package/lib/components/carousel/src/carousel-item.js +7 -155
- package/lib/components/carousel/src/carousel-item.js.map +1 -1
- package/lib/components/carousel/src/carousel-item2.js +155 -7
- package/lib/components/carousel/src/carousel-item2.js.map +1 -1
- package/lib/components/carousel/src/carousel.js +319 -49
- package/lib/components/carousel/src/carousel.js.map +1 -1
- package/lib/components/carousel/src/carousel2.js +49 -319
- package/lib/components/carousel/src/carousel2.js.map +1 -1
- package/lib/components/cascader/index.d.ts +0 -6132
- package/lib/components/cascader/src/index.js +1 -1
- package/lib/components/cascader/src/index.vue.d.ts +0 -3066
- package/lib/components/cascader-panel/src/config.js +1 -1
- package/lib/components/cascader-panel/src/index.js +1 -1
- package/lib/components/cascader-panel/src/menu.js +1 -1
- package/lib/components/cascader-panel/src/node.js +121 -209
- package/lib/components/cascader-panel/src/node.js.map +1 -1
- package/lib/components/cascader-panel/src/node2.js +209 -121
- package/lib/components/cascader-panel/src/node2.js.map +1 -1
- package/lib/components/cascader-panel/src/store.js +1 -1
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.js +2 -1
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.js.map +1 -1
- package/lib/components/divider/index.js +2 -2
- package/lib/components/divider/src/divider.js +17 -34
- package/lib/components/divider/src/divider.js.map +1 -1
- package/lib/components/divider/src/divider2.js +34 -17
- package/lib/components/divider/src/divider2.js.map +1 -1
- package/lib/components/drawer/index.js +2 -2
- package/lib/components/drawer/src/drawer.js +126 -22
- package/lib/components/drawer/src/drawer.js.map +1 -1
- package/lib/components/drawer/src/drawer2.js +22 -126
- package/lib/components/drawer/src/drawer2.js.map +1 -1
- package/lib/components/empty/src/img-empty.js +7 -17
- package/lib/components/empty/src/img-empty.js.map +1 -1
- package/lib/components/form/index.d.ts +4 -6
- package/lib/components/form/src/form-item.vue.d.ts +2 -3
- package/lib/components/form/src/form-item2.js +22 -22
- package/lib/components/form/src/form-item2.js.map +1 -1
- package/lib/components/form/src/form-label-wrap.js +6 -6
- package/lib/components/form/src/form-label-wrap.js.map +1 -1
- package/lib/components/icon/index.js +2 -2
- package/lib/components/icon/src/icon.js +8 -35
- package/lib/components/icon/src/icon.js.map +1 -1
- package/lib/components/icon/src/icon2.js +35 -8
- package/lib/components/icon/src/icon2.js.map +1 -1
- package/lib/components/image-viewer/index.js +2 -2
- package/lib/components/image-viewer/src/image-viewer.js +31 -399
- package/lib/components/image-viewer/src/image-viewer.js.map +1 -1
- package/lib/components/image-viewer/src/image-viewer2.js +399 -31
- package/lib/components/image-viewer/src/image-viewer2.js.map +1 -1
- package/lib/components/index.js +32 -32
- package/lib/components/input/index.d.ts +0 -1533
- package/lib/components/input/index.js +2 -2
- package/lib/components/input/src/input.js +409 -92
- package/lib/components/input/src/input.js.map +1 -1
- package/lib/components/input/src/input.vue.d.ts +6 -1539
- package/lib/components/input/src/input2.js +92 -432
- package/lib/components/input/src/input2.js.map +1 -1
- package/lib/components/input-number/index.d.ts +3 -3068
- package/lib/components/input-number/index.js +2 -2
- package/lib/components/input-number/src/input-number.d.ts +1 -1
- package/lib/components/input-number/src/input-number.js +53 -284
- package/lib/components/input-number/src/input-number.js.map +1 -1
- package/lib/components/input-number/src/input-number.vue.d.ts +3 -3068
- package/lib/components/input-number/src/input-number2.js +284 -54
- package/lib/components/input-number/src/input-number2.js.map +1 -1
- package/lib/components/link/index.js +2 -2
- package/lib/components/link/src/link.js +23 -49
- package/lib/components/link/src/link.js.map +1 -1
- package/lib/components/link/src/link2.js +49 -23
- package/lib/components/link/src/link2.js.map +1 -1
- package/lib/components/loading/src/loading.js +3 -1
- package/lib/components/loading/src/loading.js.map +1 -1
- package/lib/components/loading/src/service.js +1 -2
- package/lib/components/loading/src/service.js.map +1 -1
- package/lib/components/menu/index.d.ts +84 -0
- package/lib/components/menu/index.js +2 -2
- package/lib/components/menu/src/menu-collapse-transition.js +10 -7
- package/lib/components/menu/src/menu-collapse-transition.js.map +1 -1
- package/lib/components/menu/src/menu-item-group.vue.d.ts +14 -0
- package/lib/components/menu/src/menu-item-group2.js +11 -6
- package/lib/components/menu/src/menu-item-group2.js.map +1 -1
- package/lib/components/menu/src/menu-item.js +15 -94
- package/lib/components/menu/src/menu-item.js.map +1 -1
- package/lib/components/menu/src/menu-item.vue.d.ts +28 -0
- package/lib/components/menu/src/menu-item2.js +102 -15
- package/lib/components/menu/src/menu-item2.js.map +1 -1
- package/lib/components/menu/src/menu.js +14 -10
- package/lib/components/menu/src/menu.js.map +1 -1
- package/lib/components/menu/src/sub-menu.js +23 -20
- package/lib/components/menu/src/sub-menu.js.map +1 -1
- package/lib/components/menu/src/utils/menu-bar.d.ts +2 -2
- package/lib/components/menu/src/utils/menu-bar.js +4 -4
- package/lib/components/menu/src/utils/menu-bar.js.map +1 -1
- package/lib/components/menu/src/utils/menu-item.d.ts +2 -2
- package/lib/components/menu/src/utils/menu-item.js +4 -4
- package/lib/components/menu/src/utils/menu-item.js.map +1 -1
- package/lib/components/message-box/src/index.js +71 -62
- package/lib/components/message-box/src/index.js.map +1 -1
- package/lib/components/message-box/src/index.vue.d.ts +17 -1
- package/lib/components/page-header/index.js +2 -2
- package/lib/components/page-header/src/page-header.js +18 -60
- package/lib/components/page-header/src/page-header.js.map +1 -1
- package/lib/components/page-header/src/page-header2.js +60 -18
- package/lib/components/page-header/src/page-header2.js.map +1 -1
- package/lib/components/popconfirm/src/popconfirm.js +1 -1
- package/lib/components/popper/index.js +2 -2
- package/lib/components/popper/src/content.vue.d.ts +1 -1
- package/lib/components/popper/src/content2.js +3 -3
- package/lib/components/popper/src/content2.js.map +1 -1
- package/lib/components/popper/src/trigger.js +71 -16
- package/lib/components/popper/src/trigger.js.map +1 -1
- package/lib/components/popper/src/trigger2.js +16 -71
- package/lib/components/popper/src/trigger2.js.map +1 -1
- package/lib/components/progress/index.js +2 -2
- package/lib/components/progress/src/progress.js +57 -230
- package/lib/components/progress/src/progress.js.map +1 -1
- package/lib/components/progress/src/progress2.js +230 -57
- package/lib/components/progress/src/progress2.js.map +1 -1
- package/lib/components/radio/index.js +2 -2
- package/lib/components/radio/src/radio-button.js +1 -1
- package/lib/components/radio/src/radio-button2.js +1 -1
- package/lib/components/radio/src/radio-group.js +1 -1
- package/lib/components/radio/src/radio.js +82 -69
- package/lib/components/radio/src/radio.js.map +1 -1
- package/lib/components/radio/src/radio2.js +69 -82
- package/lib/components/radio/src/radio2.js.map +1 -1
- package/lib/components/result/index.js +2 -2
- package/lib/components/result/src/result.js +73 -30
- package/lib/components/result/src/result.js.map +1 -1
- package/lib/components/result/src/result2.js +30 -73
- package/lib/components/result/src/result2.js.map +1 -1
- package/lib/components/scrollbar/index.js +3 -3
- package/lib/components/scrollbar/src/bar2.js +1 -1
- package/lib/components/scrollbar/src/scrollbar.js +175 -50
- package/lib/components/scrollbar/src/scrollbar.js.map +1 -1
- package/lib/components/scrollbar/src/scrollbar2.js +50 -175
- package/lib/components/scrollbar/src/scrollbar2.js.map +1 -1
- package/lib/components/scrollbar/src/thumb.js +137 -11
- package/lib/components/scrollbar/src/thumb.js.map +1 -1
- package/lib/components/scrollbar/src/thumb2.js +11 -137
- package/lib/components/scrollbar/src/thumb2.js.map +1 -1
- package/lib/components/select/src/select.js +3 -5
- package/lib/components/select/src/select.js.map +1 -1
- package/lib/components/select/src/useSelect.js +1 -2
- package/lib/components/select/src/useSelect.js.map +1 -1
- package/lib/components/switch/index.js +2 -2
- package/lib/components/switch/src/switch.js +87 -249
- package/lib/components/switch/src/switch.js.map +1 -1
- package/lib/components/switch/src/switch2.js +249 -87
- package/lib/components/switch/src/switch2.js.map +1 -1
- package/lib/components/table/src/table/defaults.d.ts +1 -1
- package/lib/components/table/src/table/defaults.js.map +1 -1
- package/lib/components/table-v2/index.d.ts +1 -0
- package/lib/components/table-v2/src/cell.d.ts +3 -3
- package/lib/components/table-v2/src/cell.js +5 -3
- package/lib/components/table-v2/src/cell.js.map +1 -1
- package/lib/components/table-v2/src/column-resizer.d.ts +14 -0
- package/lib/components/table-v2/src/column-resizer.js +28 -0
- package/lib/components/table-v2/src/column-resizer.js.map +1 -0
- package/lib/components/table-v2/src/column.d.ts +4 -6
- package/lib/components/table-v2/src/column.js +2 -6
- package/lib/components/table-v2/src/column.js.map +1 -1
- package/lib/components/table-v2/src/common.d.ts +1 -2
- package/lib/components/table-v2/src/common.js.map +1 -1
- package/lib/components/table-v2/src/constants.d.ts +13 -1
- package/lib/components/table-v2/src/constants.js +18 -1
- package/lib/components/table-v2/src/constants.js.map +1 -1
- package/lib/components/table-v2/src/expand-icon.d.ts +11 -0
- package/lib/components/table-v2/src/grid.d.ts +18 -22
- package/lib/components/table-v2/src/grid.js +5 -3
- package/lib/components/table-v2/src/grid.js.map +1 -1
- package/lib/components/table-v2/src/header-cell.d.ts +1 -19
- package/lib/components/table-v2/src/header-row.d.ts +1 -20
- package/lib/components/table-v2/src/header-row.js +0 -1
- package/lib/components/table-v2/src/header-row.js.map +1 -1
- package/lib/components/table-v2/src/header.d.ts +1 -19
- package/lib/components/table-v2/src/private.d.ts +1 -0
- package/lib/components/table-v2/src/private.js +8 -0
- package/lib/components/table-v2/src/private.js.map +1 -0
- package/lib/components/table-v2/src/renderers/cell.d.ts +10 -0
- package/lib/components/table-v2/src/renderers/header-cell.d.ts +10 -0
- package/lib/components/table-v2/src/renderers/header.d.ts +9 -0
- package/lib/components/table-v2/src/renderers/left-table.d.ts +8 -0
- package/lib/components/table-v2/src/renderers/main-table.d.ts +8 -0
- package/lib/components/table-v2/src/renderers/right-table.d.ts +8 -0
- package/lib/components/table-v2/src/renderers/row.d.ts +10 -0
- package/lib/components/table-v2/src/row.d.ts +8 -20
- package/lib/components/table-v2/src/row.js +4 -1
- package/lib/components/table-v2/src/row.js.map +1 -1
- package/lib/components/table-v2/src/sort-icon.d.ts +8 -0
- package/lib/components/table-v2/src/table-cell.d.ts +8 -18
- package/lib/components/table-v2/src/table-column-resizer.d.ts +31 -0
- package/lib/components/table-v2/src/table-grid.d.ts +45 -47
- package/lib/components/table-v2/src/table-header-cell.d.ts +7 -47
- package/lib/components/table-v2/src/table-header-row.d.ts +15 -40
- package/lib/components/table-v2/src/table-header.d.ts +14 -39
- package/lib/components/table-v2/src/table-row.d.ts +31 -41
- package/lib/components/table-v2/src/table-v2.d.ts +151 -0
- package/lib/components/table-v2/src/table.d.ts +33 -32
- package/lib/components/table-v2/src/table.js +36 -4
- package/lib/components/table-v2/src/table.js.map +1 -1
- package/lib/components/table-v2/src/tokens.d.ts +2 -1
- package/lib/components/table-v2/src/tokens.js.map +1 -1
- package/lib/components/table-v2/src/types.d.ts +8 -11
- package/lib/components/table-v2/src/use-columns.d.ts +18 -0
- package/lib/components/table-v2/src/{useTable.js → use-columns.js} +42 -36
- package/lib/components/table-v2/src/use-columns.js.map +1 -0
- package/lib/components/table-v2/src/use-table.d.ts +58 -0
- package/lib/components/table-v2/src/use-table.js +308 -0
- package/lib/components/table-v2/src/use-table.js.map +1 -0
- package/lib/components/table-v2/src/utils.d.ts +7 -0
- package/lib/components/table-v2/src/utils.js +30 -0
- package/lib/components/table-v2/src/utils.js.map +1 -0
- package/lib/components/tabs/index.js +1 -1
- package/lib/components/tabs/src/tab-bar.js +7 -76
- package/lib/components/tabs/src/tab-bar.js.map +1 -1
- package/lib/components/tabs/src/tab-bar2.js +76 -7
- package/lib/components/tabs/src/tab-bar2.js.map +1 -1
- package/lib/components/tabs/src/tab-nav.js +1 -1
- package/lib/components/tag/index.js +2 -2
- package/lib/components/tag/src/tag.js +93 -34
- package/lib/components/tag/src/tag.js.map +1 -1
- package/lib/components/tag/src/tag2.js +34 -93
- package/lib/components/tag/src/tag2.js.map +1 -1
- package/lib/components/time-select/index.d.ts +28 -0
- package/lib/components/time-select/src/time-select.js +6 -2
- package/lib/components/time-select/src/time-select.js.map +1 -1
- package/lib/components/time-select/src/time-select.vue.d.ts +14 -0
- package/lib/components/tooltip/src/content.vue.d.ts +2 -2
- package/lib/components/tooltip/src/tooltip.js +1 -1
- package/lib/components/tooltip/src/trigger.js +1 -1
- package/lib/components/tooltip-v2/index.js +3 -3
- package/lib/components/tooltip-v2/src/content.js +50 -113
- package/lib/components/tooltip-v2/src/content.js.map +1 -1
- package/lib/components/tooltip-v2/src/content2.js +113 -50
- package/lib/components/tooltip-v2/src/content2.js.map +1 -1
- package/lib/components/tooltip-v2/src/tooltip.js +73 -20
- package/lib/components/tooltip-v2/src/tooltip.js.map +1 -1
- package/lib/components/tooltip-v2/src/tooltip2.js +20 -73
- package/lib/components/tooltip-v2/src/tooltip2.js.map +1 -1
- package/lib/components/tree-select/src/tree-select.js +1 -0
- package/lib/components/tree-select/src/tree-select.js.map +1 -1
- package/lib/components/tree-select/src/tree.js +16 -3
- package/lib/components/tree-select/src/tree.js.map +1 -1
- package/lib/components/upload/index.js +1 -1
- package/lib/components/upload/src/upload-content.js +168 -37
- package/lib/components/upload/src/upload-content.js.map +1 -1
- package/lib/components/upload/src/upload-content2.js +37 -168
- package/lib/components/upload/src/upload-content2.js.map +1 -1
- package/lib/components/upload/src/upload2.js +1 -1
- package/lib/components/virtual-list/index.d.ts +2 -1
- package/lib/components/virtual-list/index.js +1 -1
- package/lib/components/virtual-list/src/builders/build-grid.d.ts +18 -9
- package/lib/components/virtual-list/src/builders/build-grid.js +36 -8
- package/lib/components/virtual-list/src/builders/build-grid.js.map +1 -1
- package/lib/components/virtual-list/src/builders/build-list.d.ts +16 -2
- package/lib/components/virtual-list/src/builders/build-list.js +7 -5
- package/lib/components/virtual-list/src/builders/build-list.js.map +1 -1
- package/lib/components/virtual-list/src/components/dynamic-size-grid.d.ts +29 -5
- package/lib/components/virtual-list/src/components/dynamic-size-grid.js +32 -2
- package/lib/components/virtual-list/src/components/dynamic-size-grid.js.map +1 -1
- package/lib/components/virtual-list/src/components/dynamic-size-list.d.ts +16 -2
- package/lib/components/virtual-list/src/components/fixed-size-grid.d.ts +15 -3
- package/lib/components/virtual-list/src/components/fixed-size-list.d.ts +16 -2
- package/lib/components/virtual-list/src/components/scrollbar.d.ts +14 -0
- package/lib/components/virtual-list/src/components/scrollbar.js +26 -27
- package/lib/components/virtual-list/src/components/scrollbar.js.map +1 -1
- package/lib/components/virtual-list/src/defaults.d.ts +1 -1
- package/lib/components/virtual-list/src/defaults.js +1 -1
- package/lib/components/virtual-list/src/defaults.js.map +1 -1
- package/lib/components/virtual-list/src/hooks/use-grid-wheel.js +7 -2
- package/lib/components/virtual-list/src/hooks/use-grid-wheel.js.map +1 -1
- package/lib/components/virtual-list/src/props.d.ts +9 -0
- package/lib/components/virtual-list/src/props.js +15 -0
- package/lib/components/virtual-list/src/props.js.map +1 -1
- package/lib/components/virtual-list/src/types.d.ts +5 -0
- package/lib/index.js +32 -32
- package/lib/utils/animation.js +3 -1
- package/lib/utils/animation.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +6 -6
- package/theme-chalk/el-badge.css +1 -1
- package/theme-chalk/el-cascader.css +1 -1
- package/theme-chalk/el-check-tag.css +1 -1
- package/theme-chalk/el-color-picker.css +1 -1
- package/theme-chalk/el-date-picker.css +1 -1
- package/theme-chalk/el-form.css +1 -1
- package/theme-chalk/el-input-number.css +1 -1
- package/theme-chalk/el-input.css +1 -1
- package/theme-chalk/el-option.css +1 -1
- package/theme-chalk/el-result.css +1 -1
- package/theme-chalk/el-select.css +1 -1
- package/theme-chalk/el-table-v2.css +1 -0
- package/theme-chalk/el-tag.css +1 -1
- package/theme-chalk/el-time-picker.css +1 -1
- package/theme-chalk/el-time-select.css +1 -1
- package/theme-chalk/el-upload.css +1 -1
- package/theme-chalk/el-virtual-list.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/badge.scss +14 -12
- package/theme-chalk/src/cascader.scss +8 -13
- package/theme-chalk/src/check-tag.scss +1 -1
- package/theme-chalk/src/color-picker.scss +45 -6
- package/theme-chalk/src/common/var.scss +0 -2
- package/theme-chalk/src/dark/css-vars.scss +4 -0
- package/theme-chalk/src/dark/var.scss +19 -0
- package/theme-chalk/src/date-picker/picker.scss +12 -0
- package/theme-chalk/src/date-picker/time-spinner.scss +1 -1
- package/theme-chalk/src/form.scss +4 -2
- package/theme-chalk/src/index.scss +1 -0
- package/theme-chalk/src/input-number.scss +9 -7
- package/theme-chalk/src/input.scss +109 -168
- package/theme-chalk/src/option.scss +0 -4
- package/theme-chalk/src/result.scss +0 -2
- package/theme-chalk/src/select/common.scss +1 -1
- package/theme-chalk/src/select.scss +12 -6
- package/theme-chalk/src/table-v2.scss +189 -0
- package/theme-chalk/src/tag.scss +24 -20
- package/theme-chalk/src/upload.scss +2 -2
- package/theme-chalk/src/virtual-list.scss +3 -0
- package/web-types.json +1 -1
- package/es/components/autocomplete/src/index.mjs +0 -7
- package/es/components/autocomplete/src/index.mjs.map +0 -1
- package/es/components/table-v2/src/useTable.d.ts +0 -13
- package/es/components/table-v2/src/useTable.mjs.map +0 -1
- package/lib/components/autocomplete/src/index.js +0 -11
- package/lib/components/autocomplete/src/index.js.map +0 -1
- package/lib/components/table-v2/src/useTable.d.ts +0 -13
- package/lib/components/table-v2/src/useTable.js.map +0 -1
|
@@ -0,0 +1,308 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var vue = require('vue');
|
|
6
|
+
require('../../../utils/index.js');
|
|
7
|
+
var utils = require('./utils.js');
|
|
8
|
+
var useColumns = require('./use-columns.js');
|
|
9
|
+
var constants = require('./constants.js');
|
|
10
|
+
var core = require('@vueuse/core');
|
|
11
|
+
var types = require('../../../utils/types.js');
|
|
12
|
+
var shared = require('@vue/shared');
|
|
13
|
+
|
|
14
|
+
function useTable(props) {
|
|
15
|
+
const emit = vue.getCurrentInstance().emit;
|
|
16
|
+
const {
|
|
17
|
+
columns,
|
|
18
|
+
columnsStyles,
|
|
19
|
+
columnsTotalWidth,
|
|
20
|
+
fixedColumnsOnLeft,
|
|
21
|
+
fixedColumnOnRight,
|
|
22
|
+
hasFixedColumns,
|
|
23
|
+
mainColumns,
|
|
24
|
+
getColumn
|
|
25
|
+
} = useColumns.useColumns(vue.toRef(props, "columns"), vue.toRef(props, "fixed"));
|
|
26
|
+
const expandedRowKeys = vue.ref(props.defaultExpandedRowKeys || []);
|
|
27
|
+
const depthMap = vue.ref({});
|
|
28
|
+
const hoveringRowKey = vue.shallowRef(null);
|
|
29
|
+
const resetIndex = vue.shallowRef(null);
|
|
30
|
+
const isResetting = vue.shallowRef(false);
|
|
31
|
+
const isScrolling = vue.shallowRef(false);
|
|
32
|
+
const containerRef = vue.ref();
|
|
33
|
+
const mainTableRef = vue.ref();
|
|
34
|
+
const leftTableRef = vue.ref();
|
|
35
|
+
const rightTableRef = vue.ref();
|
|
36
|
+
const scrollPos = vue.ref({ scrollLeft: 0, scrollTop: 0 });
|
|
37
|
+
const lastRenderedRowIndex = vue.ref(-1);
|
|
38
|
+
const rowHeights = vue.shallowRef({});
|
|
39
|
+
const leftTableHeights = vue.shallowRef({});
|
|
40
|
+
const mainTableHeights = vue.shallowRef({});
|
|
41
|
+
const rightTableHeights = vue.shallowRef({});
|
|
42
|
+
const rowsHeight = vue.computed(() => {
|
|
43
|
+
const { rowHeight, estimatedRowHeight } = props;
|
|
44
|
+
const _data = vue.unref(data);
|
|
45
|
+
if (core.isNumber(estimatedRowHeight)) {
|
|
46
|
+
return _data.length * estimatedRowHeight;
|
|
47
|
+
}
|
|
48
|
+
return _data.length * rowHeight;
|
|
49
|
+
});
|
|
50
|
+
const flattenedData = vue.computed(() => {
|
|
51
|
+
const depths = {};
|
|
52
|
+
const { data: data2, rowKey } = props;
|
|
53
|
+
const _expandedRowKeys = vue.unref(expandedRowKeys);
|
|
54
|
+
if (!_expandedRowKeys || !_expandedRowKeys.length)
|
|
55
|
+
return data2;
|
|
56
|
+
const array = [];
|
|
57
|
+
const keysSet = /* @__PURE__ */ new Set();
|
|
58
|
+
_expandedRowKeys.forEach((x) => keysSet.add(x));
|
|
59
|
+
let copy = data2.slice();
|
|
60
|
+
copy.forEach((x) => depths[x[rowKey]] = 0);
|
|
61
|
+
while (copy.length > 0) {
|
|
62
|
+
const item = copy.shift();
|
|
63
|
+
array.push(item);
|
|
64
|
+
if (keysSet.has(item[rowKey]) && Array.isArray(item.children) && item.children.length > 0) {
|
|
65
|
+
copy = [...item.children, ...copy];
|
|
66
|
+
item.children.forEach((child) => depths[child[rowKey]] = depths[item[rowKey]] + 1);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
depthMap.value = depths;
|
|
70
|
+
return array;
|
|
71
|
+
});
|
|
72
|
+
const data = vue.computed(() => {
|
|
73
|
+
const { data: data2, expandColumnKey } = props;
|
|
74
|
+
return expandColumnKey ? vue.unref(flattenedData) : data2;
|
|
75
|
+
});
|
|
76
|
+
const bodyWidth = vue.computed(() => {
|
|
77
|
+
const { fixed, width, vScrollbarSize } = props;
|
|
78
|
+
const ret = width - vScrollbarSize;
|
|
79
|
+
return fixed ? Math.max(Math.round(vue.unref(columnsTotalWidth)), ret) : ret;
|
|
80
|
+
});
|
|
81
|
+
const rootStyle = vue.computed(() => {
|
|
82
|
+
const { style = {}, height, width } = props;
|
|
83
|
+
return utils.enforceUnit({
|
|
84
|
+
...style,
|
|
85
|
+
height,
|
|
86
|
+
width
|
|
87
|
+
});
|
|
88
|
+
});
|
|
89
|
+
const headerWidth = vue.computed(() => vue.unref(bodyWidth) + (props.fixed ? props.vScrollbarSize : 0));
|
|
90
|
+
const mainTableHeight = vue.computed(() => {
|
|
91
|
+
const { height = 0, maxHeight = 0, footerHeight, hScrollbarSize } = props;
|
|
92
|
+
if (maxHeight > 0) {
|
|
93
|
+
const _fixedRowsHeight = vue.unref(fixedRowsHeight);
|
|
94
|
+
const _rowsHeight = vue.unref(rowsHeight);
|
|
95
|
+
const _headerHeight = vue.unref(headerHeight);
|
|
96
|
+
const total = _headerHeight + _fixedRowsHeight + _rowsHeight + hScrollbarSize;
|
|
97
|
+
return Math.min(total, maxHeight - footerHeight);
|
|
98
|
+
}
|
|
99
|
+
return height - footerHeight;
|
|
100
|
+
});
|
|
101
|
+
const fixedTableHeight = vue.computed(() => {
|
|
102
|
+
const { maxHeight } = props;
|
|
103
|
+
const tableHeight = vue.unref(mainTableHeight);
|
|
104
|
+
if (core.isNumber(maxHeight) && maxHeight > 0)
|
|
105
|
+
return tableHeight;
|
|
106
|
+
const totalHeight = vue.unref(rowsHeight) + vue.unref(headerHeight) + vue.unref(fixedRowsHeight);
|
|
107
|
+
return Math.min(tableHeight, totalHeight);
|
|
108
|
+
});
|
|
109
|
+
const mapColumn = (column) => column.width;
|
|
110
|
+
const leftTableWidth = vue.computed(() => utils.sum(vue.unref(fixedColumnsOnLeft).map(mapColumn)));
|
|
111
|
+
const rightTableWidth = vue.computed(() => utils.sum(vue.unref(fixedColumnOnRight).map(mapColumn)));
|
|
112
|
+
const headerHeight = vue.computed(() => utils.sum(props.headerHeight));
|
|
113
|
+
const fixedRowsHeight = vue.computed(() => {
|
|
114
|
+
var _a;
|
|
115
|
+
return (((_a = props.fixedData) == null ? void 0 : _a.length) || 0) * props.rowHeight;
|
|
116
|
+
});
|
|
117
|
+
const windowHeight = vue.computed(() => {
|
|
118
|
+
return vue.unref(mainTableHeight) - vue.unref(headerHeight) - vue.unref(fixedRowsHeight);
|
|
119
|
+
});
|
|
120
|
+
function doScroll(params) {
|
|
121
|
+
var _a, _b, _c;
|
|
122
|
+
const { scrollTop } = params;
|
|
123
|
+
(_a = mainTableRef.value) == null ? void 0 : _a.scrollTo(params);
|
|
124
|
+
(_b = leftTableRef.value) == null ? void 0 : _b.scrollToTop(scrollTop);
|
|
125
|
+
(_c = rightTableRef.value) == null ? void 0 : _c.scrollToTop(scrollTop);
|
|
126
|
+
}
|
|
127
|
+
function scrollTo(params) {
|
|
128
|
+
scrollPos.value = params;
|
|
129
|
+
doScroll(params);
|
|
130
|
+
}
|
|
131
|
+
function scrollToTop(scrollTop) {
|
|
132
|
+
scrollPos.value.scrollTop = scrollTop;
|
|
133
|
+
doScroll(vue.unref(scrollPos));
|
|
134
|
+
}
|
|
135
|
+
function scrollToLeft(scrollLeft) {
|
|
136
|
+
var _a, _b;
|
|
137
|
+
scrollPos.value.scrollLeft = scrollLeft;
|
|
138
|
+
(_b = (_a = mainTableRef.value) == null ? void 0 : _a.scrollTo) == null ? void 0 : _b.call(_a, vue.unref(scrollPos));
|
|
139
|
+
}
|
|
140
|
+
function onMaybeEndReached() {
|
|
141
|
+
const { onEndReached } = props;
|
|
142
|
+
if (!onEndReached)
|
|
143
|
+
return;
|
|
144
|
+
const { scrollTop } = vue.unref(scrollPos);
|
|
145
|
+
const _totalHeight = vue.unref(rowsHeight);
|
|
146
|
+
const clientHeight = vue.unref(windowHeight);
|
|
147
|
+
const heightUntilEnd = _totalHeight - (scrollTop + clientHeight) + props.hScrollbarSize;
|
|
148
|
+
if (vue.unref(lastRenderedRowIndex) >= 0 && _totalHeight !== vue.unref(rowsHeight)) {
|
|
149
|
+
onEndReached(heightUntilEnd);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
function updateRows() {
|
|
153
|
+
isResetting.value = true;
|
|
154
|
+
resetAfterIndex(vue.unref(resetIndex), false);
|
|
155
|
+
resetIndex.value = null;
|
|
156
|
+
isResetting.value = false;
|
|
157
|
+
}
|
|
158
|
+
function resetAfterIndex(index, forceUpdate = false) {
|
|
159
|
+
if (types.isUndefined(props.estimatedRowHeight))
|
|
160
|
+
return;
|
|
161
|
+
[mainTableRef, leftTableRef, rightTableRef].forEach((tableRef) => {
|
|
162
|
+
const table = vue.unref(tableRef);
|
|
163
|
+
if (table)
|
|
164
|
+
table.resetAfterRowIndex(index, forceUpdate);
|
|
165
|
+
});
|
|
166
|
+
}
|
|
167
|
+
function onScroll(params) {
|
|
168
|
+
var _a;
|
|
169
|
+
scrollTo(params);
|
|
170
|
+
(_a = props.onScroll) == null ? void 0 : _a.call(props, params);
|
|
171
|
+
}
|
|
172
|
+
function onVerticalScroll({ scrollTop }) {
|
|
173
|
+
const { scrollTop: currentScrollTop } = vue.unref(scrollPos);
|
|
174
|
+
if (scrollTop !== currentScrollTop)
|
|
175
|
+
scrollToTop(scrollTop);
|
|
176
|
+
}
|
|
177
|
+
function onRowsRendered(params) {
|
|
178
|
+
var _a;
|
|
179
|
+
(_a = props.onRowRendered) == null ? void 0 : _a.call(props, params);
|
|
180
|
+
if (params.rowCacheEnd > vue.unref(lastRenderedRowIndex)) {
|
|
181
|
+
lastRenderedRowIndex.value = params.rowCacheEnd;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
function onRowHovered({ hovered, rowKey }) {
|
|
185
|
+
hoveringRowKey.value = hovered ? rowKey : null;
|
|
186
|
+
}
|
|
187
|
+
function onRowExpanded({
|
|
188
|
+
expanded,
|
|
189
|
+
rowData,
|
|
190
|
+
rowIndex,
|
|
191
|
+
rowKey
|
|
192
|
+
}) {
|
|
193
|
+
var _a, _b;
|
|
194
|
+
const _expandedRowKeys = [...vue.unref(expandedRowKeys)];
|
|
195
|
+
const currentKeyIndex = _expandedRowKeys.indexOf(rowKey);
|
|
196
|
+
if (expanded) {
|
|
197
|
+
if (currentKeyIndex === -1)
|
|
198
|
+
_expandedRowKeys.push(rowKey);
|
|
199
|
+
} else {
|
|
200
|
+
if (currentKeyIndex > -1)
|
|
201
|
+
_expandedRowKeys.splice(currentKeyIndex, 1);
|
|
202
|
+
}
|
|
203
|
+
expandedRowKeys.value = _expandedRowKeys;
|
|
204
|
+
emit("update:expandedRowKeys", _expandedRowKeys);
|
|
205
|
+
(_a = props.onRowExpand) == null ? void 0 : _a.call(props, {
|
|
206
|
+
expanded,
|
|
207
|
+
rowData,
|
|
208
|
+
rowIndex,
|
|
209
|
+
rowKey
|
|
210
|
+
});
|
|
211
|
+
(_b = props.onExpandedRowsChange) == null ? void 0 : _b.call(props, _expandedRowKeys);
|
|
212
|
+
}
|
|
213
|
+
function onColumnSorted(e) {
|
|
214
|
+
var _a;
|
|
215
|
+
const { key } = e.currentTarget.dataset;
|
|
216
|
+
if (!key)
|
|
217
|
+
return;
|
|
218
|
+
const { sortState, sortBy } = props;
|
|
219
|
+
let order = constants.SortOrder.ASC;
|
|
220
|
+
if (shared.isObject(sortState)) {
|
|
221
|
+
order = constants.oppositeOrderMap[sortState[key]];
|
|
222
|
+
} else {
|
|
223
|
+
order = constants.oppositeOrderMap[sortBy.order];
|
|
224
|
+
}
|
|
225
|
+
(_a = props.onColumnSort) == null ? void 0 : _a.call(props, { column: getColumn(key), key, order });
|
|
226
|
+
}
|
|
227
|
+
function onRowHeightChanged(rowKey, height, rowIdx) {
|
|
228
|
+
const resetIdx = vue.unref(resetIndex);
|
|
229
|
+
if (resetIdx === null) {
|
|
230
|
+
resetIndex.value = rowIdx;
|
|
231
|
+
} else {
|
|
232
|
+
if (resetIdx > rowIdx) {
|
|
233
|
+
resetIndex.value = rowIdx;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
rowHeights.value[rowKey] = height;
|
|
237
|
+
}
|
|
238
|
+
function onFixedRowHeightChanged({
|
|
239
|
+
rowKey,
|
|
240
|
+
height,
|
|
241
|
+
rowIndex
|
|
242
|
+
}, fixedDir) {
|
|
243
|
+
if (!fixedDir) {
|
|
244
|
+
mainTableHeights.value[rowKey] = height;
|
|
245
|
+
} else {
|
|
246
|
+
if (fixedDir === "right") {
|
|
247
|
+
rightTableHeights.value[rowKey] = height;
|
|
248
|
+
} else {
|
|
249
|
+
leftTableHeights.value[rowKey] = height;
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
const _rowHeights = vue.unref(rowHeights);
|
|
253
|
+
if (_rowHeights[rowKey] !== height) {
|
|
254
|
+
onRowHeightChanged(rowKey, height, rowIndex);
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
vue.watch(() => vue.unref(scrollPos).scrollTop, (cur, prev) => {
|
|
258
|
+
if (cur > prev)
|
|
259
|
+
onMaybeEndReached();
|
|
260
|
+
});
|
|
261
|
+
vue.watch(lastRenderedRowIndex, () => onMaybeEndReached());
|
|
262
|
+
vue.watch(() => props.expandedRowKeys, (val) => expandedRowKeys.value = val, {
|
|
263
|
+
deep: true
|
|
264
|
+
});
|
|
265
|
+
vue.watch(rowHeights, () => {
|
|
266
|
+
updateRows();
|
|
267
|
+
});
|
|
268
|
+
return {
|
|
269
|
+
columns,
|
|
270
|
+
containerRef,
|
|
271
|
+
mainTableRef,
|
|
272
|
+
leftTableRef,
|
|
273
|
+
rightTableRef,
|
|
274
|
+
isResetting,
|
|
275
|
+
isScrolling,
|
|
276
|
+
hoveringRowKey,
|
|
277
|
+
hasFixedColumns,
|
|
278
|
+
columnsStyles,
|
|
279
|
+
columnsTotalWidth,
|
|
280
|
+
data,
|
|
281
|
+
expandedRowKeys,
|
|
282
|
+
depthMap,
|
|
283
|
+
fixedColumnsOnLeft,
|
|
284
|
+
fixedColumnOnRight,
|
|
285
|
+
mainColumns,
|
|
286
|
+
bodyWidth,
|
|
287
|
+
rootStyle,
|
|
288
|
+
headerWidth,
|
|
289
|
+
mainTableHeight,
|
|
290
|
+
fixedTableHeight,
|
|
291
|
+
leftTableWidth,
|
|
292
|
+
rightTableWidth,
|
|
293
|
+
scrollTo,
|
|
294
|
+
scrollToLeft,
|
|
295
|
+
scrollToTop,
|
|
296
|
+
onColumnSorted,
|
|
297
|
+
onRowHovered,
|
|
298
|
+
onRowExpanded,
|
|
299
|
+
onRowsRendered,
|
|
300
|
+
onRowHeightChanged,
|
|
301
|
+
onFixedRowHeightChanged,
|
|
302
|
+
onScroll,
|
|
303
|
+
onVerticalScroll
|
|
304
|
+
};
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
exports.useTable = useTable;
|
|
308
|
+
//# sourceMappingURL=use-table.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-table.js","sources":["../../../../../../packages/components/table-v2/src/use-table.ts"],"sourcesContent":["import {\n computed,\n getCurrentInstance,\n ref,\n shallowRef,\n toRef,\n unref,\n watch,\n} from 'vue'\nimport { isNumber, isObject, isUndefined } from '@element-plus/utils'\nimport { enforceUnit, sum } from './utils'\nimport { useColumns } from './use-columns'\nimport { SortOrder, oppositeOrderMap } from './constants'\n\nimport type { CSSProperties } from 'vue'\nimport type { FixedDirection, KeyType } from './types'\nimport type { TableV2Props } from './table'\nimport type { onRowRenderedParams } from './grid'\nimport type { RowExpandParams, RowHoverParams } from './row'\n// component\nimport type { TableGridInstance } from './table-grid'\n\ntype Nullable<T> = T | null\ntype ScrollPos = { scrollLeft: number; scrollTop: number }\ntype Heights = Record<KeyType, CSSProperties['height']>\n\nfunction useTable(props: TableV2Props) {\n const emit = getCurrentInstance()!.emit\n\n const {\n columns,\n columnsStyles,\n columnsTotalWidth,\n fixedColumnsOnLeft,\n fixedColumnOnRight,\n hasFixedColumns,\n mainColumns,\n getColumn,\n } = useColumns(toRef(props, 'columns'), toRef(props, 'fixed'))\n // state\n const expandedRowKeys = ref<KeyType[]>(props.defaultExpandedRowKeys || [])\n const depthMap = ref<Record<KeyType, number>>({})\n const hoveringRowKey = shallowRef<Nullable<KeyType>>(null)\n // const resizingKey = shallowRef<Nullable<KeyType>>(null)\n // const resizingWidth = shallowRef(0)\n const resetIndex = shallowRef<Nullable<number>>(null)\n const isResetting = shallowRef(false)\n const isScrolling = shallowRef(false)\n\n // DOM/Component refs\n const containerRef = ref()\n const mainTableRef = ref<TableGridInstance>()\n const leftTableRef = ref<TableGridInstance>()\n const rightTableRef = ref<TableGridInstance>()\n\n const scrollPos = ref<ScrollPos>({ scrollLeft: 0, scrollTop: 0 })\n const lastRenderedRowIndex = ref(-1)\n const rowHeights = shallowRef<Heights>({})\n const leftTableHeights = shallowRef<Heights>({})\n const mainTableHeights = shallowRef<Heights>({})\n const rightTableHeights = shallowRef<Heights>({})\n\n const rowsHeight = computed(() => {\n const { rowHeight, estimatedRowHeight } = props\n const _data = unref(data)\n if (isNumber(estimatedRowHeight)) {\n return _data.length * estimatedRowHeight\n }\n\n return _data.length * rowHeight\n })\n\n const flattenedData = computed(() => {\n const depths = {}\n const { data, rowKey } = props\n\n const _expandedRowKeys = unref(expandedRowKeys)\n\n if (!_expandedRowKeys || !_expandedRowKeys.length) return data\n\n const array: any[] = []\n const keysSet = new Set()\n _expandedRowKeys.forEach((x) => keysSet.add(x))\n\n let copy: any[] = data.slice()\n copy.forEach((x) => (depths[x[rowKey]] = 0))\n while (copy.length > 0) {\n const item = copy.shift()!\n\n array.push(item)\n if (\n keysSet.has(item[rowKey]) &&\n Array.isArray(item.children) &&\n item.children.length > 0\n ) {\n copy = [...item.children, ...copy]\n item.children.forEach(\n (child: any) => (depths[child[rowKey]] = depths[item[rowKey]] + 1)\n )\n }\n }\n\n depthMap.value = depths\n return array\n })\n\n const data = computed(() => {\n const { data, expandColumnKey } = props\n return expandColumnKey ? unref(flattenedData) : data\n })\n\n const bodyWidth = computed(() => {\n const { fixed, width, vScrollbarSize } = props\n const ret = width - vScrollbarSize\n return fixed ? Math.max(Math.round(unref(columnsTotalWidth)), ret) : ret\n })\n\n const rootStyle = computed<CSSProperties>(() => {\n const { style = {}, height, width } = props\n return enforceUnit({\n ...style,\n height,\n width,\n })\n })\n\n const headerWidth = computed(\n () => unref(bodyWidth) + (props.fixed ? props.vScrollbarSize : 0)\n )\n\n const mainTableHeight = computed(() => {\n const { height = 0, maxHeight = 0, footerHeight, hScrollbarSize } = props\n\n if (maxHeight > 0) {\n const _fixedRowsHeight = unref(fixedRowsHeight)\n const _rowsHeight = unref(rowsHeight)\n const _headerHeight = unref(headerHeight)\n const total =\n _headerHeight + _fixedRowsHeight + _rowsHeight + hScrollbarSize\n\n return Math.min(total, maxHeight - footerHeight)\n }\n\n return height - footerHeight\n })\n\n const fixedTableHeight = computed(() => {\n const { maxHeight } = props\n const tableHeight = unref(mainTableHeight)\n if (isNumber(maxHeight) && maxHeight > 0) return tableHeight\n\n const totalHeight =\n unref(rowsHeight) + unref(headerHeight) + unref(fixedRowsHeight)\n\n return Math.min(tableHeight, totalHeight)\n })\n\n const mapColumn = (column: TableV2Props['columns'][number]) => column.width\n\n const leftTableWidth = computed(() =>\n sum(unref(fixedColumnsOnLeft).map(mapColumn))\n )\n\n const rightTableWidth = computed(() =>\n sum(unref(fixedColumnOnRight).map(mapColumn))\n )\n\n const headerHeight = computed(() => sum(props.headerHeight))\n\n const fixedRowsHeight = computed(() => {\n return (props.fixedData?.length || 0) * props.rowHeight\n })\n\n const windowHeight = computed(() => {\n return unref(mainTableHeight) - unref(headerHeight) - unref(fixedRowsHeight)\n })\n\n function doScroll(params: ScrollPos) {\n const { scrollTop } = params\n\n mainTableRef.value?.scrollTo(params)\n leftTableRef.value?.scrollToTop(scrollTop)\n rightTableRef.value?.scrollToTop(scrollTop)\n }\n\n // methods\n function scrollTo(params: ScrollPos) {\n scrollPos.value = params\n\n doScroll(params)\n }\n\n function scrollToTop(scrollTop: number) {\n scrollPos.value.scrollTop = scrollTop\n\n doScroll(unref(scrollPos))\n }\n\n function scrollToLeft(scrollLeft: number) {\n scrollPos.value.scrollLeft = scrollLeft\n\n mainTableRef.value?.scrollTo?.(unref(scrollPos))\n }\n\n function onMaybeEndReached() {\n const { onEndReached } = props\n if (!onEndReached) return\n\n const { scrollTop } = unref(scrollPos)\n\n const _totalHeight = unref(rowsHeight)\n const clientHeight = unref(windowHeight)\n\n const heightUntilEnd =\n _totalHeight - (scrollTop + clientHeight) + props.hScrollbarSize\n\n if (\n unref(lastRenderedRowIndex) >= 0 &&\n _totalHeight !== unref(rowsHeight)\n ) {\n onEndReached(heightUntilEnd)\n }\n }\n\n function updateRows() {\n isResetting.value = true\n resetAfterIndex(unref(resetIndex)!, false)\n // force update\n resetIndex.value = null\n isResetting.value = false\n }\n\n function resetAfterIndex(index: number, forceUpdate = false) {\n if (isUndefined(props.estimatedRowHeight)) return\n ;[mainTableRef, leftTableRef, rightTableRef].forEach((tableRef) => {\n const table = unref(tableRef)\n if (table) table.resetAfterRowIndex(index, forceUpdate)\n })\n }\n // events\n\n function onScroll(params: ScrollPos) {\n scrollTo(params)\n props.onScroll?.(params)\n }\n\n function onVerticalScroll({ scrollTop }: ScrollPos) {\n const { scrollTop: currentScrollTop } = unref(scrollPos)\n if (scrollTop !== currentScrollTop) scrollToTop(scrollTop)\n }\n\n function onRowsRendered(params: onRowRenderedParams) {\n props.onRowRendered?.(params)\n\n if (params.rowCacheEnd > unref(lastRenderedRowIndex)) {\n lastRenderedRowIndex.value = params.rowCacheEnd\n }\n }\n\n function onRowHovered({ hovered, rowKey }: RowHoverParams<any>) {\n hoveringRowKey.value = hovered ? rowKey : null\n }\n\n function onRowExpanded({\n expanded,\n rowData,\n rowIndex,\n rowKey,\n }: RowExpandParams<any>) {\n const _expandedRowKeys = [...unref(expandedRowKeys)]\n const currentKeyIndex = _expandedRowKeys.indexOf(rowKey)\n if (expanded) {\n if (currentKeyIndex === -1) _expandedRowKeys.push(rowKey)\n } else {\n if (currentKeyIndex > -1) _expandedRowKeys.splice(currentKeyIndex, 1)\n }\n expandedRowKeys.value = _expandedRowKeys\n\n emit('update:expandedRowKeys', _expandedRowKeys)\n props.onRowExpand?.({\n expanded,\n rowData,\n rowIndex,\n rowKey,\n })\n // If this is not controlled, then use this to notify changes\n props.onExpandedRowsChange?.(_expandedRowKeys)\n }\n\n // function onColumnResized(\n // { key }: TableV2Props['columns'][number],\n // width: number\n // ) {\n // resizingWidth.value = width\n // const column = getColumn(key)!\n\n // updateColumnWidth(column, width)\n // props.onColumnResize?.(column, width)\n // }\n\n // function onColumnResizeStart({ key }: TableV2Props['columns'][number]) {\n // resizingKey.value = key\n // }\n\n // function onColumnResizeEnd() {\n // const _resizingKey = unref(resizingKey)\n // const _resizingWidth = unref(resizingWidth)\n\n // resizingKey.value = null\n // resizingWidth.value = 0\n\n // if (!_resizingKey || !_resizingWidth) return\n\n // props.onColumnResizeEnded?.(getColumn(_resizingKey)!, _resizingWidth)\n // }\n\n function onColumnSorted(e: MouseEvent) {\n const { key } = (e.currentTarget as HTMLElement).dataset\n if (!key) return\n const { sortState, sortBy } = props\n\n let order = SortOrder.ASC\n\n if (isObject(sortState)) {\n order = oppositeOrderMap[sortState[key]]\n } else {\n order = oppositeOrderMap[sortBy.order]\n }\n\n props.onColumnSort?.({ column: getColumn(key)!, key, order })\n }\n\n function onRowHeightChanged(rowKey: KeyType, height: number, rowIdx: number) {\n const resetIdx = unref(resetIndex)\n if (resetIdx === null) {\n resetIndex.value = rowIdx\n } else {\n if (resetIdx > rowIdx) {\n resetIndex.value = rowIdx\n }\n }\n\n rowHeights.value[rowKey] = height\n }\n\n function onFixedRowHeightChanged(\n {\n rowKey,\n height,\n rowIndex,\n }: {\n rowKey: KeyType\n height: number\n rowIndex: number\n },\n fixedDir: FixedDirection\n ) {\n if (!fixedDir) {\n mainTableHeights.value[rowKey] = height\n } else {\n if (fixedDir === 'right') {\n rightTableHeights.value[rowKey] = height\n } else {\n leftTableHeights.value[rowKey] = height\n }\n }\n\n const _rowHeights = unref(rowHeights)\n if (_rowHeights[rowKey] !== height) {\n onRowHeightChanged(rowKey, height, rowIndex)\n }\n }\n\n // When scrollTop changes, maybe reaching the bottom\n watch(\n () => unref(scrollPos).scrollTop,\n (cur, prev) => {\n if (cur > prev) onMaybeEndReached()\n }\n )\n\n // when rendered row changes, maybe reaching the bottom\n watch(lastRenderedRowIndex, () => onMaybeEndReached())\n\n watch(\n () => props.expandedRowKeys,\n (val) => (expandedRowKeys.value = val),\n {\n deep: true,\n }\n )\n\n watch(rowHeights, () => {\n updateRows()\n })\n\n return {\n // models\n columns,\n containerRef,\n mainTableRef,\n leftTableRef,\n rightTableRef,\n // states\n isResetting,\n isScrolling,\n hoveringRowKey,\n hasFixedColumns,\n // resizingKey,\n // records\n columnsStyles,\n columnsTotalWidth,\n data,\n expandedRowKeys,\n depthMap,\n fixedColumnsOnLeft,\n fixedColumnOnRight,\n mainColumns,\n // metadata\n bodyWidth,\n rootStyle,\n headerWidth,\n mainTableHeight,\n fixedTableHeight,\n leftTableWidth,\n rightTableWidth,\n\n // methods\n scrollTo,\n scrollToLeft,\n scrollToTop,\n\n // event handlers\n onColumnSorted,\n // onColumnResized,\n // onColumnResizeStart,\n // onColumnResizeEnd,\n onRowHovered,\n onRowExpanded,\n onRowsRendered,\n onRowHeightChanged,\n onFixedRowHeightChanged,\n onScroll,\n onVerticalScroll,\n }\n}\n\nexport { useTable }\n\nexport type UseTableReturn = ReturnType<typeof useTable>\n"],"names":["getCurrentInstance","useColumns","toRef","ref","shallowRef","computed","unref","isNumber","enforceUnit","sum","isUndefined","SortOrder","isObject","oppositeOrderMap","watch"],"mappings":";;;;;;;;;;;;;AAaA,SAAS,QAAQ,CAAC,KAAK,EAAE;AACzB,EAAE,MAAM,IAAI,GAAGA,sBAAkB,EAAE,CAAC,IAAI,CAAC;AACzC,EAAE,MAAM;AACR,IAAI,OAAO;AACX,IAAI,aAAa;AACjB,IAAI,iBAAiB;AACrB,IAAI,kBAAkB;AACtB,IAAI,kBAAkB;AACtB,IAAI,eAAe;AACnB,IAAI,WAAW;AACf,IAAI,SAAS;AACb,GAAG,GAAGC,qBAAU,CAACC,SAAK,CAAC,KAAK,EAAE,SAAS,CAAC,EAAEA,SAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC;AACjE,EAAE,MAAM,eAAe,GAAGC,OAAG,CAAC,KAAK,CAAC,sBAAsB,IAAI,EAAE,CAAC,CAAC;AAClE,EAAE,MAAM,QAAQ,GAAGA,OAAG,CAAC,EAAE,CAAC,CAAC;AAC3B,EAAE,MAAM,cAAc,GAAGC,cAAU,CAAC,IAAI,CAAC,CAAC;AAC1C,EAAE,MAAM,UAAU,GAAGA,cAAU,CAAC,IAAI,CAAC,CAAC;AACtC,EAAE,MAAM,WAAW,GAAGA,cAAU,CAAC,KAAK,CAAC,CAAC;AACxC,EAAE,MAAM,WAAW,GAAGA,cAAU,CAAC,KAAK,CAAC,CAAC;AACxC,EAAE,MAAM,YAAY,GAAGD,OAAG,EAAE,CAAC;AAC7B,EAAE,MAAM,YAAY,GAAGA,OAAG,EAAE,CAAC;AAC7B,EAAE,MAAM,YAAY,GAAGA,OAAG,EAAE,CAAC;AAC7B,EAAE,MAAM,aAAa,GAAGA,OAAG,EAAE,CAAC;AAC9B,EAAE,MAAM,SAAS,GAA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AAC;AACjB,GAAG,CAAC,CAAC;AACL,EAAE,OAAO;AACT,IAAI,OAAO;AACX,IAAI,YAAY;AAChB,IAAI,YAAY;AAChB,IAAI,YAAY;AAChB,IAAI,aAAa;AACjB,IAAI,WAAW;AACf,IAAI,WAAW;AACf,IAAI,cAAc;AAClB,IAAI,eAAe;AACnB,IAAI,aAAa;AACjB,IAAI,iBAAiB;AACrB,IAAI,IAAI;AACR,IAAI,eAAe;AACnB,IAAI,QAAQ;AACZ,IAAI,kBAAkB;AACtB,IAAI,kBAAkB;AACtB,IAAI,WAAW;AACf,IAAI,SAAS;AACb,IAAI,SAAS;AACb,IAAI,WAAW;AACf,IAAI,eAAe;AACnB,IAAI,gBAAgB;AACpB,IAAI,cAAc;AAClB,IAAI,eAAe;AACnB,IAAI,QAAQ;AACZ,IAAI,YAAY;AAChB,IAAI,WAAW;AACf,IAAI,cAAc;AAClB,IAAI,YAAY;AAChB,IAAI,aAAa;AACjB,IAAI,cAAc;AAClB,IAAI,kBAAkB;AACtB,IAAI,uBAAuB;AAC3B,IAAI,QAAQ;AACZ,IAAI,gBAAgB;AACpB,GAAG,CAAC;AACJ;;;;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { CSSProperties, Component, Slot } from 'vue';
|
|
2
|
+
export declare const sum: (listLike: number | number[]) => number;
|
|
3
|
+
export declare const tryCall: <T>(fLike: T, params: T extends (...args: infer K) => unknown ? K : any, defaultRet?: {}) => any;
|
|
4
|
+
export declare const enforceUnit: (style: CSSProperties) => CSSProperties;
|
|
5
|
+
export declare const componentToSlot: <T>(ComponentLike: JSX.Element | ((props: T) => Component<T, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | undefined) => Slot | ((props: T) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
}>);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var vue = require('vue');
|
|
6
|
+
require('../../../utils/index.js');
|
|
7
|
+
var shared = require('@vue/shared');
|
|
8
|
+
var style = require('../../../utils/vue/style.js');
|
|
9
|
+
|
|
10
|
+
const sumReducer = (sum2, num) => sum2 + num;
|
|
11
|
+
const sum = (listLike) => {
|
|
12
|
+
return shared.isArray(listLike) ? listLike.reduce(sumReducer, 0) : listLike;
|
|
13
|
+
};
|
|
14
|
+
const tryCall = (fLike, params, defaultRet = {}) => {
|
|
15
|
+
return shared.isFunction(fLike) ? fLike(params) : fLike != null ? fLike : defaultRet;
|
|
16
|
+
};
|
|
17
|
+
const enforceUnit = (style$1) => {
|
|
18
|
+
;
|
|
19
|
+
["width", "maxWidth", "minWidth", "height"].forEach((key) => {
|
|
20
|
+
style$1[key] = style.addUnit(style$1[key]);
|
|
21
|
+
});
|
|
22
|
+
return style$1;
|
|
23
|
+
};
|
|
24
|
+
const componentToSlot = (ComponentLike) => vue.isVNode(ComponentLike) ? (props) => vue.h(ComponentLike, props) : ComponentLike;
|
|
25
|
+
|
|
26
|
+
exports.componentToSlot = componentToSlot;
|
|
27
|
+
exports.enforceUnit = enforceUnit;
|
|
28
|
+
exports.sum = sum;
|
|
29
|
+
exports.tryCall = tryCall;
|
|
30
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sources":["../../../../../../packages/components/table-v2/src/utils.ts"],"sourcesContent":["import { h, isVNode } from 'vue'\nimport { addUnit, isArray, isFunction } from '@element-plus/utils'\n\nimport type { CSSProperties, Component, Slot } from 'vue'\n\nconst sumReducer = (sum: number, num: number) => sum + num\n\nexport const sum = (listLike: number | number[]) => {\n return isArray(listLike) ? listLike.reduce(sumReducer, 0) : listLike\n}\n\nexport const tryCall = <T>(\n fLike: T,\n params: T extends (...args: infer K) => unknown ? K : any,\n defaultRet = {}\n) => {\n return isFunction(fLike) ? fLike(params) : fLike ?? defaultRet\n}\n\nexport const enforceUnit = (style: CSSProperties) => {\n ;['width', 'maxWidth', 'minWidth', 'height'].forEach((key) => {\n style[key] = addUnit(style[key])\n })\n\n return style\n}\n\nexport const componentToSlot = <T>(\n ComponentLike: JSX.Element | ((props: T) => Component<T>) | undefined\n) =>\n isVNode(ComponentLike)\n ? (props: T) => h(ComponentLike, props)\n : (ComponentLike as Slot)\n"],"names":["isArray","isFunction","style","addUnit","isVNode","h"],"mappings":";;;;;;;;;AAEA,MAAM,UAAU,GAAG,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,GAAG,GAAG,CAAC;AACjC,MAAC,GAAG,GAAG,CAAC,QAAQ,KAAK;AACjC,EAAE,OAAOA,cAAO,CAAC,QAAQ,CAAC,GAAG,QAAQ,CAAC,MAAM,CAAC,UAAU,EAAE,CAAC,CAAC,GAAG,QAAQ,CAAC;AACvE,EAAE;AACU,MAAC,OAAO,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,GAAG,EAAE,KAAK;AAC3D,EAAE,OAAOC,iBAAU,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC,GAAG,KAAK,IAAI,IAAI,GAAG,KAAK,GAAG,UAAU,CAAC;AAChF,EAAE;AACU,MAAC,WAAW,GAAG,CAACC,OAAK,KAAK;AACtC,EAAE,CAAC;AACH,EAAE,CAAC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,KAAK;AAC/D,IAAIA,OAAK,CAAC,GAAG,CAAC,GAAGC,aAAO,CAACD,OAAK,CAAC,GAAG,CAAC,CAAC,CAAC;AACrC,GAAG,CAAC,CAAC;AACL,EAAE,OAAOA,OAAK,CAAC;AACf,EAAE;AACU,MAAC,eAAe,GAAG,CAAC,aAAa,KAAKE,WAAO,CAAC,aAAa,CAAC,GAAG,CAAC,KAAK,KAAKC,KAAC,CAAC,aAAa,EAAE,KAAK,CAAC,GAAG;;;;;;;"}
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
require('../../utils/index.js');
|
|
6
6
|
var tabs = require('./src/tabs.js');
|
|
7
7
|
var tabPane$1 = require('./src/tab-pane.js');
|
|
8
|
-
var tabBar = require('./src/tab-
|
|
8
|
+
var tabBar = require('./src/tab-bar.js');
|
|
9
9
|
var tabNav = require('./src/tab-nav.js');
|
|
10
10
|
var tabPane = require('./src/tab-pane2.js');
|
|
11
11
|
var install = require('../../utils/vue/install.js');
|
|
@@ -2,85 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var vue = require('vue');
|
|
6
|
-
var core = require('@vueuse/core');
|
|
7
5
|
require('../../../utils/index.js');
|
|
8
|
-
require('../../../
|
|
9
|
-
require('../../../
|
|
10
|
-
var tabBar = require('./tab-bar2.js');
|
|
11
|
-
var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
|
|
12
|
-
var tabs = require('../../../tokens/tabs.js');
|
|
13
|
-
var error = require('../../../utils/error.js');
|
|
14
|
-
var index = require('../../../hooks/use-namespace/index.js');
|
|
15
|
-
var shared = require('@vue/shared');
|
|
6
|
+
var props = require('../../../utils/vue/props.js');
|
|
7
|
+
var typescript = require('../../../utils/typescript.js');
|
|
16
8
|
|
|
17
|
-
const
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
...__default__,
|
|
22
|
-
props: tabBar.tabBarProps,
|
|
23
|
-
setup(__props, { expose }) {
|
|
24
|
-
const props = __props;
|
|
25
|
-
const COMPONENT_NAME = "ElTabBar";
|
|
26
|
-
const instance = vue.getCurrentInstance();
|
|
27
|
-
const rootTabs = vue.inject(tabs.tabsRootContextKey);
|
|
28
|
-
if (!rootTabs)
|
|
29
|
-
error.throwError(COMPONENT_NAME, "<el-tabs><el-tab-bar /></el-tabs>");
|
|
30
|
-
const ns = index.useNamespace("tabs");
|
|
31
|
-
const barRef = vue.ref();
|
|
32
|
-
const barStyle = vue.ref();
|
|
33
|
-
const getBarStyle = () => {
|
|
34
|
-
let offset = 0;
|
|
35
|
-
let tabSize = 0;
|
|
36
|
-
const sizeName = ["top", "bottom"].includes(rootTabs.props.tabPosition) ? "width" : "height";
|
|
37
|
-
const sizeDir = sizeName === "width" ? "x" : "y";
|
|
38
|
-
props.tabs.every((tab) => {
|
|
39
|
-
var _a, _b, _c, _d;
|
|
40
|
-
const $el = (_b = (_a = instance.parent) == null ? void 0 : _a.refs) == null ? void 0 : _b[`tab-${tab.paneName}`];
|
|
41
|
-
if (!$el)
|
|
42
|
-
return false;
|
|
43
|
-
if (!tab.active) {
|
|
44
|
-
return true;
|
|
45
|
-
}
|
|
46
|
-
tabSize = $el[`client${shared.capitalize(sizeName)}`];
|
|
47
|
-
const position = sizeDir === "x" ? "left" : "top";
|
|
48
|
-
offset = $el.getBoundingClientRect()[position] - ((_d = (_c = $el.parentElement) == null ? void 0 : _c.getBoundingClientRect()[position]) != null ? _d : 0);
|
|
49
|
-
const tabStyles = window.getComputedStyle($el);
|
|
50
|
-
if (sizeName === "width") {
|
|
51
|
-
if (props.tabs.length > 1) {
|
|
52
|
-
tabSize -= Number.parseFloat(tabStyles.paddingLeft) + Number.parseFloat(tabStyles.paddingRight);
|
|
53
|
-
}
|
|
54
|
-
offset += Number.parseFloat(tabStyles.paddingLeft);
|
|
55
|
-
}
|
|
56
|
-
return false;
|
|
57
|
-
});
|
|
58
|
-
return {
|
|
59
|
-
[sizeName]: `${tabSize}px`,
|
|
60
|
-
transform: `translate${shared.capitalize(sizeDir)}(${offset}px)`
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
const update = () => barStyle.value = getBarStyle();
|
|
64
|
-
vue.watch(() => props.tabs, async () => {
|
|
65
|
-
await vue.nextTick();
|
|
66
|
-
update();
|
|
67
|
-
}, { immediate: true });
|
|
68
|
-
core.useResizeObserver(barRef, () => update());
|
|
69
|
-
expose({
|
|
70
|
-
ref: barRef,
|
|
71
|
-
update
|
|
72
|
-
});
|
|
73
|
-
return (_ctx, _cache) => {
|
|
74
|
-
return vue.openBlock(), vue.createElementBlock("div", {
|
|
75
|
-
ref_key: "barRef",
|
|
76
|
-
ref: barRef,
|
|
77
|
-
class: vue.normalizeClass([vue.unref(ns).e("active-bar"), vue.unref(ns).is(vue.unref(rootTabs).props.tabPosition)]),
|
|
78
|
-
style: vue.normalizeStyle(barStyle.value)
|
|
79
|
-
}, null, 6);
|
|
80
|
-
};
|
|
9
|
+
const tabBarProps = props.buildProps({
|
|
10
|
+
tabs: {
|
|
11
|
+
type: props.definePropType(Array),
|
|
12
|
+
default: () => typescript.mutable([])
|
|
81
13
|
}
|
|
82
14
|
});
|
|
83
|
-
var TabBar = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "/Users/meng/workspace/element-pe/packages/components/tabs/src/tab-bar.vue"]]);
|
|
84
15
|
|
|
85
|
-
exports
|
|
16
|
+
exports.tabBarProps = tabBarProps;
|
|
86
17
|
//# sourceMappingURL=tab-bar.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tab-bar.js","sources":["../../../../../../packages/components/tabs/src/tab-bar.
|
|
1
|
+
{"version":3,"file":"tab-bar.js","sources":["../../../../../../packages/components/tabs/src/tab-bar.ts"],"sourcesContent":["import { buildProps, definePropType, mutable } from '@element-plus/utils'\nimport type { ExtractPropTypes } from 'vue'\nimport type { TabsPaneContext } from '@element-plus/tokens'\nimport type TabBar from './tab-bar.vue'\n\nexport const tabBarProps = buildProps({\n tabs: {\n type: definePropType<TabsPaneContext[]>(Array),\n default: () => mutable([] as const),\n },\n} as const)\n\nexport type TabBarProps = ExtractPropTypes<typeof tabBarProps>\nexport type TabBarInstance = InstanceType<typeof TabBar>\n"],"names":["buildProps","definePropType","mutable"],"mappings":";;;;;;;;AACY,MAAC,WAAW,GAAGA,gBAAU,CAAC;AACtC,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAEC,oBAAc,CAAC,KAAK,CAAC;AAC/B,IAAI,OAAO,EAAE,MAAMC,kBAAO,CAAC,EAAE,CAAC;AAC9B,GAAG;AACH,CAAC;;;;"}
|
|
@@ -2,16 +2,85 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var vue = require('vue');
|
|
6
|
+
var core = require('@vueuse/core');
|
|
5
7
|
require('../../../utils/index.js');
|
|
6
|
-
|
|
7
|
-
|
|
8
|
+
require('../../../tokens/index.js');
|
|
9
|
+
require('../../../hooks/index.js');
|
|
10
|
+
var tabBar = require('./tab-bar.js');
|
|
11
|
+
var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
|
|
12
|
+
var tabs = require('../../../tokens/tabs.js');
|
|
13
|
+
var error = require('../../../utils/error.js');
|
|
14
|
+
var index = require('../../../hooks/use-namespace/index.js');
|
|
15
|
+
var shared = require('@vue/shared');
|
|
8
16
|
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
17
|
+
const __default__ = {
|
|
18
|
+
name: "ElTabBar"
|
|
19
|
+
};
|
|
20
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
21
|
+
...__default__,
|
|
22
|
+
props: tabBar.tabBarProps,
|
|
23
|
+
setup(__props, { expose }) {
|
|
24
|
+
const props = __props;
|
|
25
|
+
const COMPONENT_NAME = "ElTabBar";
|
|
26
|
+
const instance = vue.getCurrentInstance();
|
|
27
|
+
const rootTabs = vue.inject(tabs.tabsRootContextKey);
|
|
28
|
+
if (!rootTabs)
|
|
29
|
+
error.throwError(COMPONENT_NAME, "<el-tabs><el-tab-bar /></el-tabs>");
|
|
30
|
+
const ns = index.useNamespace("tabs");
|
|
31
|
+
const barRef = vue.ref();
|
|
32
|
+
const barStyle = vue.ref();
|
|
33
|
+
const getBarStyle = () => {
|
|
34
|
+
let offset = 0;
|
|
35
|
+
let tabSize = 0;
|
|
36
|
+
const sizeName = ["top", "bottom"].includes(rootTabs.props.tabPosition) ? "width" : "height";
|
|
37
|
+
const sizeDir = sizeName === "width" ? "x" : "y";
|
|
38
|
+
props.tabs.every((tab) => {
|
|
39
|
+
var _a, _b, _c, _d;
|
|
40
|
+
const $el = (_b = (_a = instance.parent) == null ? void 0 : _a.refs) == null ? void 0 : _b[`tab-${tab.paneName}`];
|
|
41
|
+
if (!$el)
|
|
42
|
+
return false;
|
|
43
|
+
if (!tab.active) {
|
|
44
|
+
return true;
|
|
45
|
+
}
|
|
46
|
+
tabSize = $el[`client${shared.capitalize(sizeName)}`];
|
|
47
|
+
const position = sizeDir === "x" ? "left" : "top";
|
|
48
|
+
offset = $el.getBoundingClientRect()[position] - ((_d = (_c = $el.parentElement) == null ? void 0 : _c.getBoundingClientRect()[position]) != null ? _d : 0);
|
|
49
|
+
const tabStyles = window.getComputedStyle($el);
|
|
50
|
+
if (sizeName === "width") {
|
|
51
|
+
if (props.tabs.length > 1) {
|
|
52
|
+
tabSize -= Number.parseFloat(tabStyles.paddingLeft) + Number.parseFloat(tabStyles.paddingRight);
|
|
53
|
+
}
|
|
54
|
+
offset += Number.parseFloat(tabStyles.paddingLeft);
|
|
55
|
+
}
|
|
56
|
+
return false;
|
|
57
|
+
});
|
|
58
|
+
return {
|
|
59
|
+
[sizeName]: `${tabSize}px`,
|
|
60
|
+
transform: `translate${shared.capitalize(sizeDir)}(${offset}px)`
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
const update = () => barStyle.value = getBarStyle();
|
|
64
|
+
vue.watch(() => props.tabs, async () => {
|
|
65
|
+
await vue.nextTick();
|
|
66
|
+
update();
|
|
67
|
+
}, { immediate: true });
|
|
68
|
+
core.useResizeObserver(barRef, () => update());
|
|
69
|
+
expose({
|
|
70
|
+
ref: barRef,
|
|
71
|
+
update
|
|
72
|
+
});
|
|
73
|
+
return (_ctx, _cache) => {
|
|
74
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
75
|
+
ref_key: "barRef",
|
|
76
|
+
ref: barRef,
|
|
77
|
+
class: vue.normalizeClass([vue.unref(ns).e("active-bar"), vue.unref(ns).is(vue.unref(rootTabs).props.tabPosition)]),
|
|
78
|
+
style: vue.normalizeStyle(barStyle.value)
|
|
79
|
+
}, null, 6);
|
|
80
|
+
};
|
|
13
81
|
}
|
|
14
82
|
});
|
|
83
|
+
var TabBar = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "/Users/meng/workspace/element-pe/packages/components/tabs/src/tab-bar.vue"]]);
|
|
15
84
|
|
|
16
|
-
exports
|
|
85
|
+
exports["default"] = TabBar;
|
|
17
86
|
//# sourceMappingURL=tab-bar2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tab-bar2.js","sources":["../../../../../../packages/components/tabs/src/tab-bar.
|
|
1
|
+
{"version":3,"file":"tab-bar2.js","sources":["../../../../../../packages/components/tabs/src/tab-bar.vue"],"sourcesContent":["<template>\n <div\n ref=\"barRef\"\n :class=\"[ns.e('active-bar'), ns.is(rootTabs.props.tabPosition)]\"\n :style=\"barStyle\"\n />\n</template>\n<script lang=\"ts\" setup>\nimport { getCurrentInstance, inject, nextTick, ref, watch } from 'vue'\nimport { useResizeObserver } from '@vueuse/core'\nimport { capitalize, throwError } from '@element-plus/utils'\nimport { tabsRootContextKey } from '@element-plus/tokens'\nimport { useNamespace } from '@element-plus/hooks'\nimport { tabBarProps } from './tab-bar'\n\nimport type { CSSProperties } from 'vue'\n\nconst COMPONENT_NAME = 'ElTabBar'\ndefineOptions({\n name: 'ElTabBar',\n})\nconst props = defineProps(tabBarProps)\n\nconst instance = getCurrentInstance()!\nconst rootTabs = inject(tabsRootContextKey)\nif (!rootTabs) throwError(COMPONENT_NAME, '<el-tabs><el-tab-bar /></el-tabs>')\n\nconst ns = useNamespace('tabs')\n\nconst barRef = ref<HTMLDivElement>()\nconst barStyle = ref<CSSProperties>()\n\nconst getBarStyle = (): CSSProperties => {\n let offset = 0\n let tabSize = 0\n\n const sizeName = ['top', 'bottom'].includes(rootTabs.props.tabPosition)\n ? 'width'\n : 'height'\n const sizeDir = sizeName === 'width' ? 'x' : 'y'\n\n props.tabs.every((tab) => {\n const $el = instance.parent?.refs?.[`tab-${tab.paneName}`] as HTMLElement\n if (!$el) return false\n\n if (!tab.active) {\n return true\n }\n\n tabSize = $el[`client${capitalize(sizeName)}`]\n const position = sizeDir === 'x' ? 'left' : 'top'\n offset =\n $el.getBoundingClientRect()[position] -\n ($el.parentElement?.getBoundingClientRect()[position] ?? 0)\n const tabStyles = window.getComputedStyle($el)\n\n if (sizeName === 'width') {\n if (props.tabs.length > 1) {\n tabSize -=\n Number.parseFloat(tabStyles.paddingLeft) +\n Number.parseFloat(tabStyles.paddingRight)\n }\n offset += Number.parseFloat(tabStyles.paddingLeft)\n }\n return false\n })\n\n return {\n [sizeName]: `${tabSize}px`,\n transform: `translate${capitalize(sizeDir)}(${offset}px)`,\n }\n}\n\nconst update = () => (barStyle.value = getBarStyle())\n\nwatch(\n () => props.tabs,\n async () => {\n await nextTick()\n update()\n },\n { immediate: true }\n)\nuseResizeObserver(barRef, () => update())\n\ndefineExpose({\n /** @description tab root html element */\n ref: barRef,\n /** @description method to manually update tab bar style */\n update,\n})\n</script>\n"],"names":["getCurrentInstance","inject","tabsRootContextKey","throwError","useNamespace","ref","capitalize","watch","nextTick","useResizeObserver"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAiBA,IAAA,MAAA,cAAA,GAAA,UAAA,CAAA;AAMA,IAAA,MAAA,WAAAA,sBAAA,EAAA,CAAA;AACA,IAAA,MAAA,QAAA,GAAAC,WAAAC,uBAAA,CAAA,CAAA;AACA,IAAA,IAAA,CAAA,QAAA;AAAA,MAAAC,gBAAA,CAAA,gBAAA,mCAAA,CAAA,CAAA;AAEA,IAAA,MAAA,EAAA,GAAAC,mBAAA,MAAA,CAAA,CAAA;AA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ue = require('@element-plus/icons-vue');
|
|
12
12
|
require('../../../tokens/index.js');
|
|
13
13
|
require('../../../hooks/index.js');
|
|
14
|
-
var tabBar = require('./tab-
|
|
14
|
+
var tabBar = require('./tab-bar2.js');
|
|
15
15
|
var props = require('../../../utils/vue/props.js');
|
|
16
16
|
var typescript = require('../../../utils/typescript.js');
|
|
17
17
|
var tabs = require('../../../tokens/tabs.js');
|