@element-plus/nightly 0.0.20220612 → 0.0.20220615
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/README.md +0 -5
- package/attributes.json +1 -1
- package/dist/index.css +1 -1
- package/dist/index.full.js +312 -291
- package/dist/index.full.min.js +12 -12
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +12 -12
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +313 -293
- package/dist/locale/af.js +1 -1
- package/dist/locale/af.min.js +1 -1
- package/dist/locale/af.min.mjs +1 -1
- package/dist/locale/af.mjs +1 -1
- package/dist/locale/ar.js +1 -1
- package/dist/locale/ar.min.js +1 -1
- package/dist/locale/ar.min.mjs +1 -1
- package/dist/locale/ar.mjs +1 -1
- package/dist/locale/az.js +1 -1
- package/dist/locale/az.min.js +1 -1
- package/dist/locale/az.min.mjs +1 -1
- package/dist/locale/az.mjs +1 -1
- package/dist/locale/bg.js +1 -1
- package/dist/locale/bg.min.js +1 -1
- package/dist/locale/bg.min.mjs +1 -1
- package/dist/locale/bg.mjs +1 -1
- package/dist/locale/bn.js +1 -1
- package/dist/locale/bn.min.js +1 -1
- package/dist/locale/bn.min.mjs +1 -1
- package/dist/locale/bn.mjs +1 -1
- package/dist/locale/ca.js +1 -1
- package/dist/locale/ca.min.js +1 -1
- package/dist/locale/ca.min.mjs +1 -1
- package/dist/locale/ca.mjs +1 -1
- package/dist/locale/cs.js +1 -1
- package/dist/locale/cs.min.js +1 -1
- package/dist/locale/cs.min.mjs +1 -1
- package/dist/locale/cs.mjs +1 -1
- package/dist/locale/da.js +1 -1
- package/dist/locale/da.min.js +1 -1
- package/dist/locale/da.min.mjs +1 -1
- package/dist/locale/da.mjs +1 -1
- package/dist/locale/de.js +1 -1
- package/dist/locale/de.min.js +1 -1
- package/dist/locale/de.min.mjs +1 -1
- package/dist/locale/de.mjs +1 -1
- package/dist/locale/el.js +1 -1
- package/dist/locale/el.min.js +1 -1
- package/dist/locale/el.min.mjs +1 -1
- package/dist/locale/el.mjs +1 -1
- package/dist/locale/en.js +1 -1
- package/dist/locale/en.min.js +1 -1
- package/dist/locale/en.min.mjs +1 -1
- package/dist/locale/en.mjs +1 -1
- package/dist/locale/eo.js +1 -1
- package/dist/locale/eo.min.js +1 -1
- package/dist/locale/eo.min.mjs +1 -1
- package/dist/locale/eo.mjs +1 -1
- package/dist/locale/es.js +1 -1
- package/dist/locale/es.min.js +1 -1
- package/dist/locale/es.min.mjs +1 -1
- package/dist/locale/es.mjs +1 -1
- package/dist/locale/et.js +1 -1
- package/dist/locale/et.min.js +1 -1
- package/dist/locale/et.min.mjs +1 -1
- package/dist/locale/et.mjs +1 -1
- package/dist/locale/eu.js +1 -1
- package/dist/locale/eu.min.js +1 -1
- package/dist/locale/eu.min.mjs +1 -1
- package/dist/locale/eu.mjs +1 -1
- package/dist/locale/fa.js +1 -1
- package/dist/locale/fa.min.js +1 -1
- package/dist/locale/fa.min.mjs +1 -1
- package/dist/locale/fa.mjs +1 -1
- package/dist/locale/fi.js +1 -1
- package/dist/locale/fi.min.js +1 -1
- package/dist/locale/fi.min.mjs +1 -1
- package/dist/locale/fi.mjs +1 -1
- package/dist/locale/fr.js +1 -1
- package/dist/locale/fr.min.js +1 -1
- package/dist/locale/fr.min.mjs +1 -1
- package/dist/locale/fr.mjs +1 -1
- package/dist/locale/he.js +1 -1
- package/dist/locale/he.min.js +1 -1
- package/dist/locale/he.min.mjs +1 -1
- package/dist/locale/he.mjs +1 -1
- package/dist/locale/hr.js +1 -1
- package/dist/locale/hr.min.js +1 -1
- package/dist/locale/hr.min.mjs +1 -1
- package/dist/locale/hr.mjs +1 -1
- package/dist/locale/hu.js +1 -1
- package/dist/locale/hu.min.js +1 -1
- package/dist/locale/hu.min.mjs +1 -1
- package/dist/locale/hu.mjs +1 -1
- package/dist/locale/hy-am.js +1 -1
- package/dist/locale/hy-am.min.js +1 -1
- package/dist/locale/hy-am.min.mjs +1 -1
- package/dist/locale/hy-am.mjs +1 -1
- package/dist/locale/id.js +1 -1
- package/dist/locale/id.min.js +1 -1
- package/dist/locale/id.min.mjs +1 -1
- package/dist/locale/id.mjs +1 -1
- package/dist/locale/it.js +1 -1
- package/dist/locale/it.min.js +1 -1
- package/dist/locale/it.min.mjs +1 -1
- package/dist/locale/it.mjs +1 -1
- package/dist/locale/ja.js +1 -1
- package/dist/locale/ja.min.js +1 -1
- package/dist/locale/ja.min.mjs +1 -1
- package/dist/locale/ja.mjs +1 -1
- package/dist/locale/kk.js +1 -1
- package/dist/locale/kk.min.js +1 -1
- package/dist/locale/kk.min.mjs +1 -1
- package/dist/locale/kk.mjs +1 -1
- package/dist/locale/km.js +1 -1
- package/dist/locale/km.min.js +1 -1
- package/dist/locale/km.min.mjs +1 -1
- package/dist/locale/km.mjs +1 -1
- package/dist/locale/ko.js +1 -1
- package/dist/locale/ko.min.js +1 -1
- package/dist/locale/ko.min.mjs +1 -1
- package/dist/locale/ko.mjs +1 -1
- package/dist/locale/ku.js +1 -1
- package/dist/locale/ku.min.js +1 -1
- package/dist/locale/ku.min.mjs +1 -1
- package/dist/locale/ku.mjs +1 -1
- package/dist/locale/ky.js +1 -1
- package/dist/locale/ky.min.js +1 -1
- package/dist/locale/ky.min.mjs +1 -1
- package/dist/locale/ky.mjs +1 -1
- package/dist/locale/lt.js +1 -1
- package/dist/locale/lt.min.js +1 -1
- package/dist/locale/lt.min.mjs +1 -1
- package/dist/locale/lt.mjs +1 -1
- package/dist/locale/lv.js +1 -1
- package/dist/locale/lv.min.js +1 -1
- package/dist/locale/lv.min.mjs +1 -1
- package/dist/locale/lv.mjs +1 -1
- package/dist/locale/mg.js +1 -1
- package/dist/locale/mg.min.js +1 -1
- package/dist/locale/mg.min.mjs +1 -1
- package/dist/locale/mg.mjs +1 -1
- package/dist/locale/mn.js +1 -1
- package/dist/locale/mn.min.js +1 -1
- package/dist/locale/mn.min.mjs +1 -1
- package/dist/locale/mn.mjs +1 -1
- package/dist/locale/nb-no.js +1 -1
- package/dist/locale/nb-no.min.js +1 -1
- package/dist/locale/nb-no.min.mjs +1 -1
- package/dist/locale/nb-no.mjs +1 -1
- package/dist/locale/nl.js +1 -1
- package/dist/locale/nl.min.js +1 -1
- package/dist/locale/nl.min.mjs +1 -1
- package/dist/locale/nl.mjs +1 -1
- package/dist/locale/pa.js +1 -1
- package/dist/locale/pa.min.js +1 -1
- package/dist/locale/pa.min.mjs +1 -1
- package/dist/locale/pa.mjs +1 -1
- package/dist/locale/pl.js +1 -1
- package/dist/locale/pl.min.js +1 -1
- package/dist/locale/pl.min.mjs +1 -1
- package/dist/locale/pl.mjs +1 -1
- package/dist/locale/pt-br.js +1 -1
- package/dist/locale/pt-br.min.js +1 -1
- package/dist/locale/pt-br.min.mjs +1 -1
- package/dist/locale/pt-br.mjs +1 -1
- package/dist/locale/pt.js +1 -1
- package/dist/locale/pt.min.js +1 -1
- package/dist/locale/pt.min.mjs +1 -1
- package/dist/locale/pt.mjs +1 -1
- package/dist/locale/ro.js +1 -1
- package/dist/locale/ro.min.js +1 -1
- package/dist/locale/ro.min.mjs +1 -1
- package/dist/locale/ro.mjs +1 -1
- package/dist/locale/ru.js +1 -1
- package/dist/locale/ru.min.js +1 -1
- package/dist/locale/ru.min.mjs +1 -1
- package/dist/locale/ru.mjs +1 -1
- package/dist/locale/sk.js +1 -1
- package/dist/locale/sk.min.js +1 -1
- package/dist/locale/sk.min.mjs +1 -1
- package/dist/locale/sk.mjs +1 -1
- package/dist/locale/sl.js +1 -1
- package/dist/locale/sl.min.js +1 -1
- package/dist/locale/sl.min.mjs +1 -1
- package/dist/locale/sl.mjs +1 -1
- package/dist/locale/sr.js +1 -1
- package/dist/locale/sr.min.js +1 -1
- package/dist/locale/sr.min.mjs +1 -1
- package/dist/locale/sr.mjs +1 -1
- package/dist/locale/sv.js +1 -1
- package/dist/locale/sv.min.js +1 -1
- package/dist/locale/sv.min.mjs +1 -1
- package/dist/locale/sv.mjs +1 -1
- package/dist/locale/ta.js +1 -1
- package/dist/locale/ta.min.js +1 -1
- package/dist/locale/ta.min.mjs +1 -1
- package/dist/locale/ta.mjs +1 -1
- package/dist/locale/th.js +1 -1
- package/dist/locale/th.min.js +1 -1
- package/dist/locale/th.min.mjs +1 -1
- package/dist/locale/th.mjs +1 -1
- package/dist/locale/tk.js +1 -1
- package/dist/locale/tk.min.js +1 -1
- package/dist/locale/tk.min.mjs +1 -1
- package/dist/locale/tk.mjs +1 -1
- package/dist/locale/tr.js +1 -1
- package/dist/locale/tr.min.js +1 -1
- package/dist/locale/tr.min.mjs +1 -1
- package/dist/locale/tr.mjs +1 -1
- package/dist/locale/ug-cn.js +1 -1
- package/dist/locale/ug-cn.min.js +1 -1
- package/dist/locale/ug-cn.min.mjs +1 -1
- package/dist/locale/ug-cn.mjs +1 -1
- package/dist/locale/uk.js +1 -1
- package/dist/locale/uk.min.js +1 -1
- package/dist/locale/uk.min.mjs +1 -1
- package/dist/locale/uk.mjs +1 -1
- package/dist/locale/uz-uz.js +1 -1
- package/dist/locale/uz-uz.min.js +1 -1
- package/dist/locale/uz-uz.min.mjs +1 -1
- package/dist/locale/uz-uz.mjs +1 -1
- package/dist/locale/vi.js +1 -1
- package/dist/locale/vi.min.js +1 -1
- package/dist/locale/vi.min.mjs +1 -1
- package/dist/locale/vi.mjs +1 -1
- package/dist/locale/zh-cn.js +1 -1
- package/dist/locale/zh-cn.min.js +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/locale/zh-cn.mjs +1 -1
- package/dist/locale/zh-tw.js +1 -1
- package/dist/locale/zh-tw.min.js +1 -1
- package/dist/locale/zh-tw.min.mjs +1 -1
- package/dist/locale/zh-tw.mjs +1 -1
- package/es/components/autocomplete/index.d.ts +9 -6
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +9 -6
- package/es/components/carousel/index.d.ts +20 -20
- package/es/components/carousel/src/carousel.d.ts +5 -5
- package/es/components/carousel/src/carousel.vue.d.ts +20 -20
- package/es/components/carousel/src/carousel3.mjs +18 -7
- package/es/components/carousel/src/carousel3.mjs.map +1 -1
- package/es/components/cascader/index.d.ts +12 -8
- package/es/components/cascader/src/index.vue.d.ts +6 -4
- package/es/components/checkbox/index.d.ts +14 -14
- package/es/components/checkbox/index.mjs +1 -1
- package/es/components/checkbox/index2.mjs +1 -1
- package/es/components/checkbox/src/checkbox-group.vue.d.ts +7 -7
- package/es/components/checkbox/src/checkbox-group2.mjs +2 -2
- package/es/components/checkbox/src/checkbox-group2.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox.d.ts +8 -2
- package/es/components/checkbox/src/checkbox.mjs +1 -1
- package/es/components/checkbox/src/checkbox3.mjs +6 -2
- package/es/components/checkbox/src/checkbox3.mjs.map +1 -1
- package/es/components/collapse/index.d.ts +12 -12
- package/es/components/collapse/src/collapse-item.vue.d.ts +6 -6
- package/es/components/collapse-transition/index.d.ts +12 -12
- package/es/components/collapse-transition/src/collapse-transition.vue.d.ts +7 -6
- package/es/components/collapse-transition/src/collapse-transition2.mjs.map +1 -1
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +3 -2
- package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +3 -2
- package/es/components/date-picker/src/panel-utils.d.ts +6 -4
- package/es/components/form/index.mjs +1 -1
- package/es/components/form/index2.mjs +2 -2
- package/es/components/form/src/form.mjs +1 -1
- package/es/components/form/src/form3.mjs +148 -48
- package/es/components/form/src/form3.mjs.map +1 -1
- package/es/components/form/src/form4.mjs +48 -148
- package/es/components/form/src/form4.mjs.map +1 -1
- package/es/components/index.mjs +2 -2
- package/es/components/input/index.d.ts +3 -2
- package/es/components/input/src/input.vue.d.ts +3 -2
- package/es/components/input/src/input4.mjs +4 -5
- package/es/components/input/src/input4.mjs.map +1 -1
- package/es/components/input-number/index.d.ts +9 -6
- package/es/components/input-number/src/input-number.vue.d.ts +9 -6
- package/es/components/pagination/src/components/jumper.vue.d.ts +3 -2
- package/es/components/select-v2/index.d.ts +2 -2
- package/es/components/select-v2/src/select.vue.d.ts +1 -1
- package/es/components/select-v2/src/useSelect.d.ts +1 -1
- package/es/components/slider/index.d.ts +9 -6
- package/es/components/slider/src/slider.vue.d.ts +9 -6
- package/es/components/time-picker/src/common/picker.vue.d.ts +3 -2
- package/es/components/time-picker/src/common/picker2.mjs +2 -1
- package/es/components/time-picker/src/common/picker2.mjs.map +1 -1
- package/es/components/tooltip-v2/index.d.ts +11 -8
- package/es/components/tooltip-v2/src/content.vue.d.ts +11 -8
- package/es/components/tooltip-v2/src/content4.mjs +1 -1
- package/es/components/tooltip-v2/src/tooltip.vue.d.ts +11 -8
- package/es/components/virtual-list/src/builders/build-list2.mjs +1 -1
- package/es/components/virtual-list/src/builders/build-list2.mjs.map +1 -1
- package/es/components/visual-hidden/index.d.ts +1 -0
- package/es/components/visual-hidden/index.mjs +2 -1
- package/es/components/visual-hidden/index.mjs.map +1 -1
- package/es/components/visual-hidden/index2.mjs +3 -2
- package/es/components/visual-hidden/index2.mjs.map +1 -1
- package/es/components/visual-hidden/src/visual-hidden.d.ts +4 -0
- package/es/components/visual-hidden/src/visual-hidden.mjs +1 -6
- package/es/components/visual-hidden/src/visual-hidden.mjs.map +1 -1
- package/es/components/visual-hidden/src/visual-hidden.vue.d.ts +12 -8
- package/es/components/visual-hidden/src/visual-hidden2.mjs +3 -37
- package/es/components/visual-hidden/src/visual-hidden2.mjs.map +1 -1
- package/es/components/visual-hidden/src/visual-hidden3.mjs +12 -0
- package/es/components/visual-hidden/src/visual-hidden3.mjs.map +1 -0
- package/es/components/visual-hidden/src/visual-hidden4.mjs +40 -0
- package/es/components/visual-hidden/src/visual-hidden4.mjs.map +1 -0
- package/es/index.mjs +2 -2
- package/es/tokens/form.d.ts +2 -2
- package/es/tokens/form2.mjs.map +1 -1
- package/es/utils/vue/vnode2.mjs +2 -2
- package/es/utils/vue/vnode2.mjs.map +1 -1
- package/es/version.d.ts +1 -1
- package/es/version2.mjs +1 -1
- package/es/version2.mjs.map +1 -1
- package/lib/components/autocomplete/index.d.ts +9 -6
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +9 -6
- package/lib/components/carousel/index.d.ts +20 -20
- package/lib/components/carousel/src/carousel.d.ts +5 -5
- package/lib/components/carousel/src/carousel.vue.d.ts +20 -20
- package/lib/components/carousel/src/carousel3.js +18 -7
- package/lib/components/carousel/src/carousel3.js.map +1 -1
- package/lib/components/cascader/index.d.ts +12 -8
- package/lib/components/cascader/src/index.vue.d.ts +6 -4
- package/lib/components/checkbox/index.d.ts +14 -14
- package/lib/components/checkbox/index.js +1 -0
- package/lib/components/checkbox/index.js.map +1 -1
- package/lib/components/checkbox/index2.js +1 -0
- package/lib/components/checkbox/index2.js.map +1 -1
- package/lib/components/checkbox/src/checkbox-group.vue.d.ts +7 -7
- package/lib/components/checkbox/src/checkbox-group2.js +1 -1
- package/lib/components/checkbox/src/checkbox-group2.js.map +1 -1
- package/lib/components/checkbox/src/checkbox.d.ts +8 -2
- package/lib/components/checkbox/src/checkbox.js +1 -0
- package/lib/components/checkbox/src/checkbox.js.map +1 -1
- package/lib/components/checkbox/src/checkbox3.js +5 -0
- package/lib/components/checkbox/src/checkbox3.js.map +1 -1
- package/lib/components/collapse/index.d.ts +12 -12
- package/lib/components/collapse/src/collapse-item.vue.d.ts +6 -6
- package/lib/components/collapse-transition/index.d.ts +12 -12
- package/lib/components/collapse-transition/src/collapse-transition.vue.d.ts +7 -6
- package/lib/components/collapse-transition/src/collapse-transition2.js.map +1 -1
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +3 -2
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +3 -2
- package/lib/components/date-picker/src/panel-utils.d.ts +6 -4
- package/lib/components/form/index.js +1 -1
- package/lib/components/form/index2.js +2 -2
- package/lib/components/form/src/form.js +1 -1
- package/lib/components/form/src/form3.js +147 -48
- package/lib/components/form/src/form3.js.map +1 -1
- package/lib/components/form/src/form4.js +48 -147
- package/lib/components/form/src/form4.js.map +1 -1
- package/lib/components/index.js +2 -1
- package/lib/components/index.js.map +1 -1
- package/lib/components/input/index.d.ts +3 -2
- package/lib/components/input/src/input.vue.d.ts +3 -2
- package/lib/components/input/src/input4.js +3 -4
- package/lib/components/input/src/input4.js.map +1 -1
- package/lib/components/input-number/index.d.ts +9 -6
- package/lib/components/input-number/src/input-number.vue.d.ts +9 -6
- package/lib/components/pagination/src/components/jumper.vue.d.ts +3 -2
- package/lib/components/select-v2/index.d.ts +2 -2
- package/lib/components/select-v2/src/select.vue.d.ts +1 -1
- package/lib/components/select-v2/src/useSelect.d.ts +1 -1
- package/lib/components/slider/index.d.ts +9 -6
- package/lib/components/slider/src/slider.vue.d.ts +9 -6
- package/lib/components/time-picker/src/common/picker.vue.d.ts +3 -2
- package/lib/components/time-picker/src/common/picker2.js +2 -1
- package/lib/components/time-picker/src/common/picker2.js.map +1 -1
- package/lib/components/tooltip-v2/index.d.ts +11 -8
- package/lib/components/tooltip-v2/src/content.vue.d.ts +11 -8
- package/lib/components/tooltip-v2/src/content4.js +1 -1
- package/lib/components/tooltip-v2/src/tooltip.vue.d.ts +11 -8
- package/lib/components/virtual-list/src/builders/build-list2.js +1 -1
- package/lib/components/virtual-list/src/builders/build-list2.js.map +1 -1
- package/lib/components/visual-hidden/index.d.ts +1 -0
- package/lib/components/visual-hidden/index.js +3 -1
- package/lib/components/visual-hidden/index.js.map +1 -1
- package/lib/components/visual-hidden/index2.js +3 -1
- package/lib/components/visual-hidden/index2.js.map +1 -1
- package/lib/components/visual-hidden/src/visual-hidden.d.ts +4 -0
- package/lib/components/visual-hidden/src/visual-hidden.js +3 -4
- package/lib/components/visual-hidden/src/visual-hidden.js.map +1 -1
- package/lib/components/visual-hidden/src/visual-hidden.vue.d.ts +12 -8
- package/lib/components/visual-hidden/src/visual-hidden2.js +3 -37
- package/lib/components/visual-hidden/src/visual-hidden2.js.map +1 -1
- package/lib/components/visual-hidden/src/visual-hidden3.js +16 -0
- package/lib/components/visual-hidden/src/visual-hidden3.js.map +1 -0
- package/lib/components/visual-hidden/src/visual-hidden4.js +44 -0
- package/lib/components/visual-hidden/src/visual-hidden4.js.map +1 -0
- package/lib/index.js +2 -1
- package/lib/index.js.map +1 -1
- package/lib/tokens/form.d.ts +2 -2
- package/lib/tokens/form2.js.map +1 -1
- package/lib/utils/vue/vnode2.js +1 -1
- package/lib/utils/vue/vnode2.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version2.js +1 -1
- package/lib/version2.js.map +1 -1
- package/package.json +4 -4
- package/tags.json +1 -1
- package/theme-chalk/el-button.css +1 -1
- package/theme-chalk/el-col.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/button.scss +2 -1
- package/theme-chalk/src/col.scss +0 -1
- package/web-types.json +1 -1
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, mergeProps, unref, renderSlot } from 'vue';
|
|
2
|
+
import { visualHiddenProps } from './visual-hidden3.mjs';
|
|
3
|
+
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
|
4
|
+
|
|
5
|
+
const __default__ = {
|
|
6
|
+
name: "ElVisuallyHidden"
|
|
7
|
+
};
|
|
8
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
|
+
...__default__,
|
|
10
|
+
props: visualHiddenProps,
|
|
11
|
+
setup(__props) {
|
|
12
|
+
const props = __props;
|
|
13
|
+
const computedStyle = computed(() => {
|
|
14
|
+
return [
|
|
15
|
+
props.style,
|
|
16
|
+
{
|
|
17
|
+
position: "absolute",
|
|
18
|
+
border: 0,
|
|
19
|
+
width: 1,
|
|
20
|
+
height: 1,
|
|
21
|
+
padding: 0,
|
|
22
|
+
margin: -1,
|
|
23
|
+
overflow: "hidden",
|
|
24
|
+
clip: "rect(0, 0, 0, 0)",
|
|
25
|
+
whiteSpace: "nowrap",
|
|
26
|
+
wordWrap: "normal"
|
|
27
|
+
}
|
|
28
|
+
];
|
|
29
|
+
});
|
|
30
|
+
return (_ctx, _cache) => {
|
|
31
|
+
return openBlock(), createElementBlock("span", mergeProps(_ctx.$attrs, { style: unref(computedStyle) }), [
|
|
32
|
+
renderSlot(_ctx.$slots, "default")
|
|
33
|
+
], 16);
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
var ElVisuallyHidden = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/visual-hidden/src/visual-hidden.vue"]]);
|
|
38
|
+
|
|
39
|
+
export { ElVisuallyHidden as default };
|
|
40
|
+
//# sourceMappingURL=visual-hidden4.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"visual-hidden4.mjs","sources":["../../../../../../packages/components/visual-hidden/src/visual-hidden.vue"],"sourcesContent":["<template>\n <span v-bind=\"$attrs\" :style=\"computedStyle\">\n <slot />\n </span>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { visualHiddenProps } from './visual-hidden'\nimport type { StyleValue } from 'vue'\nconst props = defineProps(visualHiddenProps)\n\ndefineOptions({\n name: 'ElVisuallyHidden',\n})\n\nconst computedStyle = computed<StyleValue>(() => {\n return [\n props.style,\n {\n position: 'absolute',\n border: 0,\n width: 1,\n height: 1,\n padding: 0,\n margin: -1,\n overflow: 'hidden',\n clip: 'rect(0, 0, 0, 0)',\n whiteSpace: 'nowrap',\n wordWrap: 'normal',\n },\n ]\n})\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;AAgBA,IAAA,MAAA,aAAA,GAAA,SAAA,MAAA;AACA,MAAA,OAAA;AAAA,QACA,KAAA,CAAA,KAAA;AAAA,QACA;AAAA,UACA,QAAA,EAAA,UAAA;AAAA,UACA,MAAA,EAAA,CAAA;AAAA,UACA,KAAA,EAAA,CAAA;AAAA,UACA,MAAA,EAAA,CAAA;AAAA,UACA,OAAA,EAAA,CAAA;AAAA,UACA,MAAA,EAAA,CAAA,CAAA;AAAA,UACA,QAAA,EAAA,QAAA;AAAA,UACA,IAAA,EAAA,kBAAA;AAAA,UACA,UAAA,EAAA,QAAA;AAAA,UACA,QAAA,EAAA,QAAA;AAAA,SACA;AAAA,OACA,CAAA;AAAA,KACA,CAAA,CAAA;;;;;;;;;;;;"}
|
package/es/index.mjs
CHANGED
|
@@ -31,7 +31,7 @@ export { CommonProps, DefaultProps, useCascaderConfig } from './components/casca
|
|
|
31
31
|
export { ElCascaderPanel } from './components/cascader-panel/index2.mjs';
|
|
32
32
|
export { checkTagEmits, checkTagProps } from './components/check-tag/src/check-tag3.mjs';
|
|
33
33
|
export { ElCheckTag } from './components/check-tag/index2.mjs';
|
|
34
|
-
export { checkboxEmits, checkboxProps, useCheckbox, useCheckboxGroup, useCheckboxGroupId, useCheckboxGroupProps } from './components/checkbox/src/checkbox3.mjs';
|
|
34
|
+
export { checkboxEmits, checkboxGroupEmits, checkboxProps, useCheckbox, useCheckboxGroup, useCheckboxGroupId, useCheckboxGroupProps } from './components/checkbox/src/checkbox3.mjs';
|
|
35
35
|
export { ElCheckbox, ElCheckboxButton, ElCheckboxGroup } from './components/checkbox/index2.mjs';
|
|
36
36
|
export { colProps } from './components/col/src/col3.mjs';
|
|
37
37
|
export { ElCol } from './components/col/index2.mjs';
|
|
@@ -57,7 +57,7 @@ export { DROPDOWN_INJECTION_KEY } from './components/dropdown/src/tokens2.mjs';
|
|
|
57
57
|
export { ElDropdown, ElDropdownItem, ElDropdownMenu } from './components/dropdown/index2.mjs';
|
|
58
58
|
export { emptyProps } from './components/empty/src/empty3.mjs';
|
|
59
59
|
export { ElEmpty } from './components/empty/index2.mjs';
|
|
60
|
-
export { formEmits, formProps } from './components/form/src/
|
|
60
|
+
export { formEmits, formProps } from './components/form/src/form4.mjs';
|
|
61
61
|
export { formItemProps, formItemValidateStates } from './components/form/src/form-item3.mjs';
|
|
62
62
|
export { ElForm, ElFormItem } from './components/form/index2.mjs';
|
|
63
63
|
export { iconProps } from './components/icon/src/icon3.mjs';
|
package/es/tokens/form.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { InjectionKey, SetupContext, UnwrapRef } from 'vue';
|
|
2
2
|
import type { RuleItem, ValidateError, ValidateFieldsError } from 'async-validator';
|
|
3
3
|
import type { ComponentSize } from 'element-plus/es/constants';
|
|
4
|
-
import type { FormEmits, FormItemProp, FormItemProps, FormLabelWidthContext, FormProps } from 'element-plus/es/components/form';
|
|
4
|
+
import type { FormEmits, FormItemProp, FormItemProps, FormItemValidateState, FormLabelWidthContext, FormProps } from 'element-plus/es/components/form';
|
|
5
5
|
import type { Arrayable } from 'element-plus/es/utils';
|
|
6
6
|
export interface FormItemRule extends RuleItem {
|
|
7
7
|
trigger?: Arrayable<string>;
|
|
@@ -24,7 +24,7 @@ export declare type FormContext = FormProps & UnwrapRef<FormLabelWidthContext> &
|
|
|
24
24
|
export interface FormItemContext extends FormItemProps {
|
|
25
25
|
$el: HTMLDivElement | undefined;
|
|
26
26
|
size: ComponentSize;
|
|
27
|
-
validateState:
|
|
27
|
+
validateState: FormItemValidateState;
|
|
28
28
|
isGroup: boolean;
|
|
29
29
|
labelId: string;
|
|
30
30
|
inputIds: string[];
|
package/es/tokens/form2.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form2.mjs","sources":["../../../../packages/tokens/form.ts"],"sourcesContent":["import type { InjectionKey, SetupContext, UnwrapRef } from 'vue'\nimport type {\n RuleItem,\n ValidateError,\n ValidateFieldsError,\n} from 'async-validator'\nimport type { ComponentSize } from '@element-plus/constants'\nimport type {\n FormEmits,\n FormItemProp,\n FormItemProps,\n FormLabelWidthContext,\n FormProps,\n} from '@element-plus/components/form'\nimport type { Arrayable } from '@element-plus/utils'\n\nexport interface FormItemRule extends RuleItem {\n trigger?: Arrayable<string>\n}\nexport type FormRules = Partial<Record<string, Arrayable<FormItemRule>>>\n\nexport type FormValidationResult = Promise<boolean>\nexport type FormValidateCallback = (\n isValid: boolean,\n invalidFields?: ValidateFieldsError\n) => void\nexport interface FormValidateFailure {\n errors: ValidateError[] | null\n fields: ValidateFieldsError\n}\n\nexport type FormContext = FormProps &\n UnwrapRef<FormLabelWidthContext> & {\n emit: SetupContext<FormEmits>['emit']\n\n // expose\n addField: (field: FormItemContext) => void\n removeField: (field: FormItemContext) => void\n resetFields: (props?: Arrayable<FormItemProp>) => void\n clearValidate: (props?: Arrayable<FormItemProp>) => void\n validateField: (\n props?: Arrayable<FormItemProp>,\n callback?: FormValidateCallback\n ) => FormValidationResult\n }\n\nexport interface FormItemContext extends FormItemProps {\n $el: HTMLDivElement | undefined\n size: ComponentSize\n validateState:
|
|
1
|
+
{"version":3,"file":"form2.mjs","sources":["../../../../packages/tokens/form.ts"],"sourcesContent":["import type { InjectionKey, SetupContext, UnwrapRef } from 'vue'\nimport type {\n RuleItem,\n ValidateError,\n ValidateFieldsError,\n} from 'async-validator'\nimport type { ComponentSize } from '@element-plus/constants'\nimport type {\n FormEmits,\n FormItemProp,\n FormItemProps,\n FormItemValidateState,\n FormLabelWidthContext,\n FormProps,\n} from '@element-plus/components/form'\nimport type { Arrayable } from '@element-plus/utils'\n\nexport interface FormItemRule extends RuleItem {\n trigger?: Arrayable<string>\n}\nexport type FormRules = Partial<Record<string, Arrayable<FormItemRule>>>\n\nexport type FormValidationResult = Promise<boolean>\nexport type FormValidateCallback = (\n isValid: boolean,\n invalidFields?: ValidateFieldsError\n) => void\nexport interface FormValidateFailure {\n errors: ValidateError[] | null\n fields: ValidateFieldsError\n}\n\nexport type FormContext = FormProps &\n UnwrapRef<FormLabelWidthContext> & {\n emit: SetupContext<FormEmits>['emit']\n\n // expose\n addField: (field: FormItemContext) => void\n removeField: (field: FormItemContext) => void\n resetFields: (props?: Arrayable<FormItemProp>) => void\n clearValidate: (props?: Arrayable<FormItemProp>) => void\n validateField: (\n props?: Arrayable<FormItemProp>,\n callback?: FormValidateCallback\n ) => FormValidationResult\n }\n\nexport interface FormItemContext extends FormItemProps {\n $el: HTMLDivElement | undefined\n size: ComponentSize\n validateState: FormItemValidateState\n isGroup: boolean\n labelId: string\n inputIds: string[]\n addInputId: (id: string) => void\n removeInputId: (id: string) => void\n validate: (\n trigger: string,\n callback?: FormValidateCallback\n ) => FormValidationResult\n resetField(): void\n clearValidate(): void\n}\n\nexport const formContextKey: InjectionKey<FormContext> =\n Symbol('formContextKey')\nexport const formItemContextKey: InjectionKey<FormItemContext> =\n Symbol('formItemContextKey')\n"],"names":[],"mappings":"AAAY,MAAC,cAAc,GAAG,MAAM,CAAC,gBAAgB,EAAE;AAC3C,MAAC,kBAAkB,GAAG,MAAM,CAAC,oBAAoB;;;;"}
|
package/es/utils/vue/vnode2.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { isVNode, Fragment, Text, Comment, openBlock, createBlock, createCommentVNode
|
|
2
|
-
import { hasOwn, isArray } from '@vue/shared';
|
|
1
|
+
import { isVNode, Fragment, Text, Comment, openBlock, createBlock, createCommentVNode } from 'vue';
|
|
2
|
+
import { hasOwn, camelize, isArray } from '@vue/shared';
|
|
3
3
|
import '../objects2.mjs';
|
|
4
4
|
import { debugWarn } from '../error2.mjs';
|
|
5
5
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vnode2.mjs","sources":["../../../../../packages/utils/vue/vnode.ts"],"sourcesContent":["import {\n Comment,\n Fragment,\n Text,\n
|
|
1
|
+
{"version":3,"file":"vnode2.mjs","sources":["../../../../../packages/utils/vue/vnode.ts"],"sourcesContent":["import {\n Comment,\n Fragment,\n Text,\n createBlock,\n createCommentVNode,\n isVNode,\n openBlock,\n} from 'vue'\nimport { camelize, isArray } from '@vue/shared'\nimport { hasOwn } from '../objects'\nimport { debugWarn } from '../error'\nimport type {\n VNode,\n VNodeArrayChildren,\n VNodeChild,\n VNodeNormalizedChildren,\n} from 'vue'\n\nconst SCOPE = 'utils/vue/vnode'\n\nexport enum PatchFlags {\n TEXT = 1,\n CLASS = 2,\n STYLE = 4,\n PROPS = 8,\n FULL_PROPS = 16,\n HYDRATE_EVENTS = 32,\n STABLE_FRAGMENT = 64,\n KEYED_FRAGMENT = 128,\n UNKEYED_FRAGMENT = 256,\n NEED_PATCH = 512,\n DYNAMIC_SLOTS = 1024,\n HOISTED = -1,\n BAIL = -2,\n}\n\nexport function isFragment(node: VNode): boolean\nexport function isFragment(node: unknown): node is VNode\nexport function isFragment(node: unknown): node is VNode {\n return isVNode(node) && node.type === Fragment\n}\n\nexport function isText(node: VNode): boolean\nexport function isText(node: unknown): node is VNode\nexport function isText(node: unknown): node is VNode {\n return isVNode(node) && node.type === Text\n}\n\nexport function isComment(node: VNode): boolean\nexport function isComment(node: unknown): node is VNode\nexport function isComment(node: unknown): node is VNode {\n return isVNode(node) && node.type === Comment\n}\n\nconst TEMPLATE = 'template'\nexport function isTemplate(node: VNode): boolean\nexport function isTemplate(node: unknown): node is VNode\nexport function isTemplate(node: unknown): node is VNode {\n return isVNode(node) && node.type === TEMPLATE\n}\n\n/**\n * determine if the element is a valid element type rather than fragments and comment e.g. <template> v-if\n * @param node {VNode} node to be tested\n */\nexport function isValidElementNode(node: VNode): boolean\nexport function isValidElementNode(node: unknown): node is VNode\nexport function isValidElementNode(node: unknown): node is VNode {\n return isVNode(node) && !isFragment(node) && !isComment(node)\n}\n\n/**\n * get a valid child node (not fragment nor comment)\n * @param node {VNode} node to be searched\n * @param depth {number} depth to be searched\n */\nfunction getChildren(\n node: VNodeNormalizedChildren | VNodeChild,\n depth: number\n): VNodeNormalizedChildren | VNodeChild {\n if (isComment(node)) return\n if (isFragment(node) || isTemplate(node)) {\n return depth > 0 ? getFirstValidNode(node.children, depth - 1) : undefined\n }\n return node\n}\n\nexport const getFirstValidNode = (\n nodes: VNodeNormalizedChildren,\n maxDepth = 3\n) => {\n if (Array.isArray(nodes)) {\n return getChildren(nodes[0], maxDepth)\n } else {\n return getChildren(nodes, maxDepth)\n }\n}\n\nexport function renderIf(\n condition: boolean,\n ...args: Parameters<typeof createBlock>\n) {\n return condition ? renderBlock(...args) : createCommentVNode('v-if', true)\n}\n\nexport function renderBlock(...args: Parameters<typeof createBlock>) {\n return openBlock(), createBlock(...args)\n}\n\nexport const getNormalizedProps = (node: VNode) => {\n if (!isVNode(node)) {\n debugWarn(SCOPE, '[getNormalizedProps] must be a VNode')\n return {}\n }\n\n const raw = node.props || {}\n const type = (isVNode(node.type) ? node.type.props : undefined) || {}\n const props: Record<string, any> = {}\n\n Object.keys(type).forEach((key) => {\n if (hasOwn(type[key], 'default')) {\n props[key] = type[key].default\n }\n })\n\n Object.keys(raw).forEach((key) => {\n props[camelize(key)] = raw[key]\n })\n\n return props\n}\n\nexport const ensureOnlyChild = (children: VNodeArrayChildren | undefined) => {\n if (!isArray(children) || children.length > 1) {\n throw new Error('expect to receive a single Vue element child')\n }\n return children[0]\n}\n"],"names":[],"mappings":";;;;;AAYA,MAAM,KAAK,GAAG,iBAAiB,CAAC;AACtB,IAAC,UAAU,mBAAmB,CAAC,CAAC,WAAW,KAAK;AAC1D,EAAE,WAAW,CAAC,WAAW,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,MAAM,CAAC;AAChD,EAAE,WAAW,CAAC,WAAW,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,OAAO,CAAC;AAClD,EAAE,WAAW,CAAC,WAAW,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,OAAO,CAAC;AAClD,EAAE,WAAW,CAAC,WAAW,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,OAAO,CAAC;AAClD,EAAE,WAAW,CAAC,WAAW,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC,GAAG,YAAY,CAAC;AAC7D,EAAE,WAAW,CAAC,WAAW,CAAC,gBAAgB,CAAC,GAAG,EAAE,CAAC,GAAG,gBAAgB,CAAC;AACrE,EAAE,WAAW,CAAC,WAAW,CAAC,iBAAiB,CAAC,GA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|
package/es/version2.mjs
CHANGED
package/es/version2.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version2.mjs","sources":["../../../packages/element-plus/version.ts"],"sourcesContent":["export const version = '0.0.
|
|
1
|
+
{"version":3,"file":"version2.mjs","sources":["../../../packages/element-plus/version.ts"],"sourcesContent":["export const version = '0.0.20220615'\n"],"names":[],"mappings":"AAAY,MAAC,OAAO,GAAG;;;;"}
|
|
@@ -361,8 +361,8 @@ export declare const ElAutocomplete: import("element-plus/es/utils").SFCWithInst
|
|
|
361
361
|
textareaCalcStyle: import("vue").ShallowRef<import("vue").StyleValue>;
|
|
362
362
|
_ref: import("vue").ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
|
363
363
|
needStatusIcon: import("vue").ComputedRef<boolean>;
|
|
364
|
-
validateState: import("vue").ComputedRef<
|
|
365
|
-
validateIcon: import("vue").ComputedRef<
|
|
364
|
+
validateState: import("vue").ComputedRef<"" | "success" | "error" | "validating">;
|
|
365
|
+
validateIcon: import("vue").ComputedRef<"" | import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
366
366
|
passwordIcon: import("vue").ComputedRef<import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
367
367
|
containerStyle: import("vue").ComputedRef<import("vue").StyleValue>;
|
|
368
368
|
textareaStyle: import("vue").ComputedRef<import("vue").StyleValue>;
|
|
@@ -458,6 +458,7 @@ export declare const ElAutocomplete: import("element-plus/es/utils").SFCWithInst
|
|
|
458
458
|
};
|
|
459
459
|
}>>, {}>> & Record<string, any>;
|
|
460
460
|
CircleClose: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
461
|
+
NOOP: () => void;
|
|
461
462
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
462
463
|
"update:modelValue": (value: string) => boolean;
|
|
463
464
|
input: (value: string) => boolean;
|
|
@@ -701,8 +702,8 @@ export declare const ElAutocomplete: import("element-plus/es/utils").SFCWithInst
|
|
|
701
702
|
textareaCalcStyle: import("vue").ShallowRef<import("vue").StyleValue>;
|
|
702
703
|
_ref: import("vue").ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
|
703
704
|
needStatusIcon: import("vue").ComputedRef<boolean>;
|
|
704
|
-
validateState: import("vue").ComputedRef<
|
|
705
|
-
validateIcon: import("vue").ComputedRef<
|
|
705
|
+
validateState: import("vue").ComputedRef<"" | "success" | "error" | "validating">;
|
|
706
|
+
validateIcon: import("vue").ComputedRef<"" | import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
706
707
|
passwordIcon: import("vue").ComputedRef<import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
707
708
|
containerStyle: import("vue").ComputedRef<import("vue").StyleValue>;
|
|
708
709
|
textareaStyle: import("vue").ComputedRef<import("vue").StyleValue>;
|
|
@@ -798,6 +799,7 @@ export declare const ElAutocomplete: import("element-plus/es/utils").SFCWithInst
|
|
|
798
799
|
};
|
|
799
800
|
}>>, {}>> & Record<string, any>;
|
|
800
801
|
CircleClose: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
802
|
+
NOOP: () => void;
|
|
801
803
|
}> & {} & import("vue").ComponentCustomProperties) | undefined>;
|
|
802
804
|
regionRef: import("vue").Ref<HTMLElement | undefined>;
|
|
803
805
|
popperRef: import("vue").Ref<any>;
|
|
@@ -1006,8 +1008,8 @@ export declare const ElAutocomplete: import("element-plus/es/utils").SFCWithInst
|
|
|
1006
1008
|
textareaCalcStyle: import("vue").ShallowRef<import("vue").StyleValue>;
|
|
1007
1009
|
_ref: import("vue").ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
|
1008
1010
|
needStatusIcon: import("vue").ComputedRef<boolean>;
|
|
1009
|
-
validateState: import("vue").ComputedRef<
|
|
1010
|
-
validateIcon: import("vue").ComputedRef<
|
|
1011
|
+
validateState: import("vue").ComputedRef<"" | "success" | "error" | "validating">;
|
|
1012
|
+
validateIcon: import("vue").ComputedRef<"" | import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
1011
1013
|
passwordIcon: import("vue").ComputedRef<import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
1012
1014
|
containerStyle: import("vue").ComputedRef<import("vue").StyleValue>;
|
|
1013
1015
|
textareaStyle: import("vue").ComputedRef<import("vue").StyleValue>;
|
|
@@ -1103,6 +1105,7 @@ export declare const ElAutocomplete: import("element-plus/es/utils").SFCWithInst
|
|
|
1103
1105
|
};
|
|
1104
1106
|
}>>, {}>> & Record<string, any>;
|
|
1105
1107
|
CircleClose: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
1108
|
+
NOOP: () => void;
|
|
1106
1109
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1107
1110
|
"update:modelValue": (value: string) => boolean;
|
|
1108
1111
|
input: (value: string) => boolean;
|
|
@@ -364,8 +364,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
364
364
|
textareaCalcStyle: import("vue").ShallowRef<StyleValue>;
|
|
365
365
|
_ref: import("vue").ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
|
366
366
|
needStatusIcon: import("vue").ComputedRef<boolean>;
|
|
367
|
-
validateState: import("vue").ComputedRef<
|
|
368
|
-
validateIcon: import("vue").ComputedRef<
|
|
367
|
+
validateState: import("vue").ComputedRef<"" | "success" | "error" | "validating">;
|
|
368
|
+
validateIcon: import("vue").ComputedRef<"" | import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
369
369
|
passwordIcon: import("vue").ComputedRef<import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
370
370
|
containerStyle: import("vue").ComputedRef<StyleValue>;
|
|
371
371
|
textareaStyle: import("vue").ComputedRef<StyleValue>;
|
|
@@ -461,6 +461,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
461
461
|
};
|
|
462
462
|
}>>, {}>> & Record<string, any>;
|
|
463
463
|
CircleClose: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
464
|
+
NOOP: () => void;
|
|
464
465
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
465
466
|
"update:modelValue": (value: string) => boolean;
|
|
466
467
|
input: (value: string) => boolean;
|
|
@@ -704,8 +705,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
704
705
|
textareaCalcStyle: import("vue").ShallowRef<StyleValue>;
|
|
705
706
|
_ref: import("vue").ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
|
706
707
|
needStatusIcon: import("vue").ComputedRef<boolean>;
|
|
707
|
-
validateState: import("vue").ComputedRef<
|
|
708
|
-
validateIcon: import("vue").ComputedRef<
|
|
708
|
+
validateState: import("vue").ComputedRef<"" | "success" | "error" | "validating">;
|
|
709
|
+
validateIcon: import("vue").ComputedRef<"" | import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
709
710
|
passwordIcon: import("vue").ComputedRef<import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
710
711
|
containerStyle: import("vue").ComputedRef<StyleValue>;
|
|
711
712
|
textareaStyle: import("vue").ComputedRef<StyleValue>;
|
|
@@ -801,6 +802,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
801
802
|
};
|
|
802
803
|
}>>, {}>> & Record<string, any>;
|
|
803
804
|
CircleClose: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
805
|
+
NOOP: () => void;
|
|
804
806
|
}> & {} & import("vue").ComponentCustomProperties) | undefined>;
|
|
805
807
|
regionRef: import("vue").Ref<HTMLElement | undefined>;
|
|
806
808
|
popperRef: import("vue").Ref<any>;
|
|
@@ -1009,8 +1011,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1009
1011
|
textareaCalcStyle: import("vue").ShallowRef<StyleValue>;
|
|
1010
1012
|
_ref: import("vue").ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
|
1011
1013
|
needStatusIcon: import("vue").ComputedRef<boolean>;
|
|
1012
|
-
validateState: import("vue").ComputedRef<
|
|
1013
|
-
validateIcon: import("vue").ComputedRef<
|
|
1014
|
+
validateState: import("vue").ComputedRef<"" | "success" | "error" | "validating">;
|
|
1015
|
+
validateIcon: import("vue").ComputedRef<"" | import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
1014
1016
|
passwordIcon: import("vue").ComputedRef<import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
1015
1017
|
containerStyle: import("vue").ComputedRef<StyleValue>;
|
|
1016
1018
|
textareaStyle: import("vue").ComputedRef<StyleValue>;
|
|
@@ -1106,6 +1108,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1106
1108
|
};
|
|
1107
1109
|
}>>, {}>> & Record<string, any>;
|
|
1108
1110
|
CircleClose: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
1111
|
+
NOOP: () => void;
|
|
1109
1112
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1110
1113
|
"update:modelValue": (value: string) => boolean;
|
|
1111
1114
|
input: (value: string) => boolean;
|
|
@@ -2,29 +2,29 @@
|
|
|
2
2
|
export declare const ElCarousel: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
3
3
|
readonly initialIndex: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
4
4
|
readonly height: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
5
|
-
readonly trigger: import("element-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
5
|
+
readonly trigger: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
|
|
6
6
|
readonly autoplay: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
7
7
|
readonly interval: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 3000, boolean>;
|
|
8
|
-
readonly indicatorPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
8
|
+
readonly indicatorPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "none" | "outside", unknown, "", boolean>;
|
|
9
9
|
readonly indicator: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
10
|
-
readonly arrow: import("element-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
11
|
-
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
10
|
+
readonly arrow: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "always" | "never" | "hover", unknown, "hover", boolean>;
|
|
11
|
+
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "card", unknown, "", boolean>;
|
|
12
12
|
readonly loop: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
13
|
-
readonly direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
13
|
+
readonly direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
|
|
14
14
|
readonly pauseOnHover: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
15
15
|
}, {
|
|
16
16
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
17
17
|
readonly initialIndex: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
18
18
|
readonly height: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
19
|
-
readonly trigger: import("element-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
19
|
+
readonly trigger: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
|
|
20
20
|
readonly autoplay: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
21
21
|
readonly interval: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 3000, boolean>;
|
|
22
|
-
readonly indicatorPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
22
|
+
readonly indicatorPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "none" | "outside", unknown, "", boolean>;
|
|
23
23
|
readonly indicator: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
24
|
-
readonly arrow: import("element-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
25
|
-
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
24
|
+
readonly arrow: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "always" | "never" | "hover", unknown, "hover", boolean>;
|
|
25
|
+
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "card", unknown, "", boolean>;
|
|
26
26
|
readonly loop: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
27
|
-
readonly direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
27
|
+
readonly direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
|
|
28
28
|
readonly pauseOnHover: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
29
29
|
}>> & {
|
|
30
30
|
onChange?: ((current: number, prev: number) => any) | undefined;
|
|
@@ -175,30 +175,30 @@ export declare const ElCarousel: import("element-plus/es/utils").SFCWithInstall<
|
|
|
175
175
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
176
176
|
readonly initialIndex: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
177
177
|
readonly height: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
178
|
-
readonly trigger: import("element-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
178
|
+
readonly trigger: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
|
|
179
179
|
readonly autoplay: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
180
180
|
readonly interval: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 3000, boolean>;
|
|
181
|
-
readonly indicatorPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
181
|
+
readonly indicatorPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "none" | "outside", unknown, "", boolean>;
|
|
182
182
|
readonly indicator: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
183
|
-
readonly arrow: import("element-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
184
|
-
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
183
|
+
readonly arrow: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "always" | "never" | "hover", unknown, "hover", boolean>;
|
|
184
|
+
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "card", unknown, "", boolean>;
|
|
185
185
|
readonly loop: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
186
|
-
readonly direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
186
|
+
readonly direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
|
|
187
187
|
readonly pauseOnHover: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
188
188
|
}>> & {
|
|
189
189
|
onChange?: ((current: number, prev: number) => any) | undefined;
|
|
190
190
|
}, {
|
|
191
|
-
readonly type:
|
|
192
|
-
readonly trigger:
|
|
191
|
+
readonly type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "card", unknown>;
|
|
192
|
+
readonly trigger: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
|
|
193
193
|
readonly height: string;
|
|
194
|
-
readonly direction:
|
|
194
|
+
readonly direction: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal", unknown>;
|
|
195
195
|
readonly loop: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
196
196
|
readonly indicator: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
197
197
|
readonly initialIndex: number;
|
|
198
198
|
readonly autoplay: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
199
199
|
readonly interval: number;
|
|
200
|
-
readonly indicatorPosition:
|
|
201
|
-
readonly arrow:
|
|
200
|
+
readonly indicatorPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "none" | "outside", unknown>;
|
|
201
|
+
readonly arrow: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "always" | "never" | "hover", unknown>;
|
|
202
202
|
readonly pauseOnHover: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
203
203
|
}>> & {
|
|
204
204
|
CarouselItem: import("vue").DefineComponent<{
|
|
@@ -3,15 +3,15 @@ import type Carousel from './carousel.vue';
|
|
|
3
3
|
export declare const carouselProps: {
|
|
4
4
|
readonly initialIndex: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
5
5
|
readonly height: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
6
|
-
readonly trigger: import("element-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
6
|
+
readonly trigger: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
|
|
7
7
|
readonly autoplay: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
8
8
|
readonly interval: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 3000, boolean>;
|
|
9
|
-
readonly indicatorPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
9
|
+
readonly indicatorPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "none" | "outside", unknown, "", boolean>;
|
|
10
10
|
readonly indicator: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
11
|
-
readonly arrow: import("element-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
12
|
-
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
11
|
+
readonly arrow: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "always" | "never" | "hover", unknown, "hover", boolean>;
|
|
12
|
+
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "card", unknown, "", boolean>;
|
|
13
13
|
readonly loop: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
14
|
-
readonly direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
14
|
+
readonly direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
|
|
15
15
|
readonly pauseOnHover: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
16
16
|
};
|
|
17
17
|
export declare const carouselEmits: {
|
|
@@ -3,29 +3,29 @@ import type { CarouselItemContext } from 'element-plus/es/tokens';
|
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
readonly initialIndex: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
5
5
|
readonly height: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
6
|
-
readonly trigger: import("element-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
6
|
+
readonly trigger: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
|
|
7
7
|
readonly autoplay: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
8
8
|
readonly interval: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 3000, boolean>;
|
|
9
|
-
readonly indicatorPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
9
|
+
readonly indicatorPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "none" | "outside", unknown, "", boolean>;
|
|
10
10
|
readonly indicator: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
11
|
-
readonly arrow: import("element-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
12
|
-
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
11
|
+
readonly arrow: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "always" | "never" | "hover", unknown, "hover", boolean>;
|
|
12
|
+
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "card", unknown, "", boolean>;
|
|
13
13
|
readonly loop: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
14
|
-
readonly direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
14
|
+
readonly direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
|
|
15
15
|
readonly pauseOnHover: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
16
16
|
}, {
|
|
17
17
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
18
18
|
readonly initialIndex: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
19
19
|
readonly height: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
20
|
-
readonly trigger: import("element-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
20
|
+
readonly trigger: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
|
|
21
21
|
readonly autoplay: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
22
22
|
readonly interval: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 3000, boolean>;
|
|
23
|
-
readonly indicatorPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
23
|
+
readonly indicatorPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "none" | "outside", unknown, "", boolean>;
|
|
24
24
|
readonly indicator: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
25
|
-
readonly arrow: import("element-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
26
|
-
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
25
|
+
readonly arrow: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "always" | "never" | "hover", unknown, "hover", boolean>;
|
|
26
|
+
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "card", unknown, "", boolean>;
|
|
27
27
|
readonly loop: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
28
|
-
readonly direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
28
|
+
readonly direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
|
|
29
29
|
readonly pauseOnHover: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
30
30
|
}>> & {
|
|
31
31
|
onChange?: ((current: number, prev: number) => any) | undefined;
|
|
@@ -176,30 +176,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
176
176
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
177
177
|
readonly initialIndex: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
178
178
|
readonly height: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
179
|
-
readonly trigger: import("element-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
179
|
+
readonly trigger: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
|
|
180
180
|
readonly autoplay: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
181
181
|
readonly interval: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 3000, boolean>;
|
|
182
|
-
readonly indicatorPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
182
|
+
readonly indicatorPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "none" | "outside", unknown, "", boolean>;
|
|
183
183
|
readonly indicator: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
184
|
-
readonly arrow: import("element-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
185
|
-
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
184
|
+
readonly arrow: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "always" | "never" | "hover", unknown, "hover", boolean>;
|
|
185
|
+
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "card", unknown, "", boolean>;
|
|
186
186
|
readonly loop: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
187
|
-
readonly direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
187
|
+
readonly direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
|
|
188
188
|
readonly pauseOnHover: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
189
189
|
}>> & {
|
|
190
190
|
onChange?: ((current: number, prev: number) => any) | undefined;
|
|
191
191
|
}, {
|
|
192
|
-
readonly type:
|
|
193
|
-
readonly trigger:
|
|
192
|
+
readonly type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "card", unknown>;
|
|
193
|
+
readonly trigger: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
|
|
194
194
|
readonly height: string;
|
|
195
|
-
readonly direction:
|
|
195
|
+
readonly direction: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal", unknown>;
|
|
196
196
|
readonly loop: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
197
197
|
readonly indicator: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
198
198
|
readonly initialIndex: number;
|
|
199
199
|
readonly autoplay: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
200
200
|
readonly interval: number;
|
|
201
|
-
readonly indicatorPosition:
|
|
202
|
-
readonly arrow:
|
|
201
|
+
readonly indicatorPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "none" | "outside", unknown>;
|
|
202
|
+
readonly arrow: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "always" | "never" | "hover", unknown>;
|
|
203
203
|
readonly pauseOnHover: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
204
204
|
}>;
|
|
205
205
|
export default _default;
|
|
@@ -11,9 +11,13 @@ const carouselProps = runtime.buildProps({
|
|
|
11
11
|
type: Number,
|
|
12
12
|
default: 0
|
|
13
13
|
},
|
|
14
|
-
height: {
|
|
14
|
+
height: {
|
|
15
|
+
type: String,
|
|
16
|
+
default: ""
|
|
17
|
+
},
|
|
15
18
|
trigger: {
|
|
16
19
|
type: String,
|
|
20
|
+
values: ["hover", "click"],
|
|
17
21
|
default: "hover"
|
|
18
22
|
},
|
|
19
23
|
autoplay: {
|
|
@@ -24,26 +28,33 @@ const carouselProps = runtime.buildProps({
|
|
|
24
28
|
type: Number,
|
|
25
29
|
default: 3e3
|
|
26
30
|
},
|
|
27
|
-
indicatorPosition: {
|
|
31
|
+
indicatorPosition: {
|
|
32
|
+
type: String,
|
|
33
|
+
values: ["", "none", "outside"],
|
|
34
|
+
default: ""
|
|
35
|
+
},
|
|
28
36
|
indicator: {
|
|
29
37
|
type: Boolean,
|
|
30
38
|
default: true
|
|
31
39
|
},
|
|
32
40
|
arrow: {
|
|
33
41
|
type: String,
|
|
42
|
+
values: ["always", "hover", "never"],
|
|
34
43
|
default: "hover"
|
|
35
44
|
},
|
|
36
|
-
type: {
|
|
45
|
+
type: {
|
|
46
|
+
type: String,
|
|
47
|
+
values: ["", "card"],
|
|
48
|
+
default: ""
|
|
49
|
+
},
|
|
37
50
|
loop: {
|
|
38
51
|
type: Boolean,
|
|
39
52
|
default: true
|
|
40
53
|
},
|
|
41
54
|
direction: {
|
|
42
55
|
type: String,
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
return ["horizontal", "vertical"].includes(val);
|
|
46
|
-
}
|
|
56
|
+
values: ["horizontal", "vertical"],
|
|
57
|
+
default: "horizontal"
|
|
47
58
|
},
|
|
48
59
|
pauseOnHover: {
|
|
49
60
|
type: Boolean,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"carousel3.js","sources":["../../../../../../packages/components/carousel/src/carousel.ts"],"sourcesContent":["import { buildProps, isNumber } from '@element-plus/utils'\nimport type { ExtractPropTypes } from 'vue'\nimport type Carousel from './carousel.vue'\n\nexport const carouselProps = buildProps({\n initialIndex: {\n type: Number,\n default: 0,\n },\n height: {
|
|
1
|
+
{"version":3,"file":"carousel3.js","sources":["../../../../../../packages/components/carousel/src/carousel.ts"],"sourcesContent":["import { buildProps, isNumber } from '@element-plus/utils'\nimport type { ExtractPropTypes } from 'vue'\nimport type Carousel from './carousel.vue'\n\nexport const carouselProps = buildProps({\n initialIndex: {\n type: Number,\n default: 0,\n },\n height: {\n type: String,\n default: '',\n },\n trigger: {\n type: String,\n values: ['hover', 'click'],\n default: 'hover',\n },\n autoplay: {\n type: Boolean,\n default: true,\n },\n interval: {\n type: Number,\n default: 3000,\n },\n indicatorPosition: {\n type: String,\n values: ['', 'none', 'outside'],\n default: '',\n },\n indicator: {\n type: Boolean,\n default: true,\n },\n arrow: {\n type: String,\n values: ['always', 'hover', 'never'],\n default: 'hover',\n },\n type: {\n type: String,\n values: ['', 'card'],\n default: '',\n },\n loop: {\n type: Boolean,\n default: true,\n },\n direction: {\n type: String,\n values: ['horizontal', 'vertical'],\n default: 'horizontal',\n },\n pauseOnHover: {\n type: Boolean,\n default: true,\n },\n} as const)\n\nexport const carouselEmits = {\n change: (current: number, prev: number) => [current, prev].every(isNumber),\n}\n\nexport type CarouselProps = ExtractPropTypes<typeof carouselProps>\nexport type CarouselEmits = typeof carouselEmits\n\nexport type CarouselInstance = InstanceType<typeof Carousel>\n"],"names":["buildProps","isNumber"],"mappings":";;;;;;;;AACY,MAAC,aAAa,GAAGA,kBAAU,CAAC;AACxC,EAAE,YAAY,EAAE;AAChB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE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