@element-plus/nightly 0.0.20250214 → 0.0.20250217
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.full.js +12 -6
- package/dist/index.full.min.js +10 -10
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +10 -10
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +12 -6
- package/dist/locale/af.js +1 -1
- package/dist/locale/af.min.js +1 -1
- package/dist/locale/af.min.mjs +1 -1
- package/dist/locale/af.mjs +1 -1
- package/dist/locale/ar-eg.js +1 -1
- package/dist/locale/ar-eg.min.js +1 -1
- package/dist/locale/ar-eg.min.mjs +1 -1
- package/dist/locale/ar-eg.mjs +1 -1
- package/dist/locale/ar.js +1 -1
- package/dist/locale/ar.min.js +1 -1
- package/dist/locale/ar.min.mjs +1 -1
- package/dist/locale/ar.mjs +1 -1
- package/dist/locale/az.js +1 -1
- package/dist/locale/az.min.js +1 -1
- package/dist/locale/az.min.mjs +1 -1
- package/dist/locale/az.mjs +1 -1
- package/dist/locale/bg.js +1 -1
- package/dist/locale/bg.min.js +1 -1
- package/dist/locale/bg.min.mjs +1 -1
- package/dist/locale/bg.mjs +1 -1
- package/dist/locale/bn.js +1 -1
- package/dist/locale/bn.min.js +1 -1
- package/dist/locale/bn.min.mjs +1 -1
- package/dist/locale/bn.mjs +1 -1
- package/dist/locale/ca.js +1 -1
- package/dist/locale/ca.min.js +1 -1
- package/dist/locale/ca.min.mjs +1 -1
- package/dist/locale/ca.mjs +1 -1
- package/dist/locale/ckb.js +1 -1
- package/dist/locale/ckb.min.js +1 -1
- package/dist/locale/ckb.min.mjs +1 -1
- package/dist/locale/ckb.mjs +1 -1
- package/dist/locale/cs.js +1 -1
- package/dist/locale/cs.min.js +1 -1
- package/dist/locale/cs.min.mjs +1 -1
- package/dist/locale/cs.mjs +1 -1
- package/dist/locale/da.js +1 -1
- package/dist/locale/da.min.js +1 -1
- package/dist/locale/da.min.mjs +1 -1
- package/dist/locale/da.mjs +1 -1
- package/dist/locale/de.js +1 -1
- package/dist/locale/de.min.js +1 -1
- package/dist/locale/de.min.mjs +1 -1
- package/dist/locale/de.mjs +1 -1
- package/dist/locale/el.js +1 -1
- package/dist/locale/el.min.js +1 -1
- package/dist/locale/el.min.mjs +1 -1
- package/dist/locale/el.mjs +1 -1
- package/dist/locale/en.js +1 -1
- package/dist/locale/en.min.js +1 -1
- package/dist/locale/en.min.mjs +1 -1
- package/dist/locale/en.mjs +1 -1
- package/dist/locale/eo.js +1 -1
- package/dist/locale/eo.min.js +1 -1
- package/dist/locale/eo.min.mjs +1 -1
- package/dist/locale/eo.mjs +1 -1
- package/dist/locale/es.js +1 -1
- package/dist/locale/es.min.js +1 -1
- package/dist/locale/es.min.mjs +1 -1
- package/dist/locale/es.mjs +1 -1
- package/dist/locale/et.js +1 -1
- package/dist/locale/et.min.js +1 -1
- package/dist/locale/et.min.mjs +1 -1
- package/dist/locale/et.mjs +1 -1
- package/dist/locale/eu.js +1 -1
- package/dist/locale/eu.min.js +1 -1
- package/dist/locale/eu.min.mjs +1 -1
- package/dist/locale/eu.mjs +1 -1
- package/dist/locale/fa.js +1 -1
- package/dist/locale/fa.min.js +1 -1
- package/dist/locale/fa.min.mjs +1 -1
- package/dist/locale/fa.mjs +1 -1
- package/dist/locale/fi.js +1 -1
- package/dist/locale/fi.min.js +1 -1
- package/dist/locale/fi.min.mjs +1 -1
- package/dist/locale/fi.mjs +1 -1
- package/dist/locale/fr.js +1 -1
- package/dist/locale/fr.min.js +1 -1
- package/dist/locale/fr.min.mjs +1 -1
- package/dist/locale/fr.mjs +1 -1
- package/dist/locale/he.js +1 -1
- package/dist/locale/he.min.js +1 -1
- package/dist/locale/he.min.mjs +1 -1
- package/dist/locale/he.mjs +1 -1
- package/dist/locale/hi.js +1 -1
- package/dist/locale/hi.min.js +1 -1
- package/dist/locale/hi.min.mjs +1 -1
- package/dist/locale/hi.mjs +1 -1
- package/dist/locale/hr.js +1 -1
- package/dist/locale/hr.min.js +1 -1
- package/dist/locale/hr.min.mjs +1 -1
- package/dist/locale/hr.mjs +1 -1
- package/dist/locale/hu.js +1 -1
- package/dist/locale/hu.min.js +1 -1
- package/dist/locale/hu.min.mjs +1 -1
- package/dist/locale/hu.mjs +1 -1
- package/dist/locale/hy-am.js +1 -1
- package/dist/locale/hy-am.min.js +1 -1
- package/dist/locale/hy-am.min.mjs +1 -1
- package/dist/locale/hy-am.mjs +1 -1
- package/dist/locale/id.js +1 -1
- package/dist/locale/id.min.js +1 -1
- package/dist/locale/id.min.mjs +1 -1
- package/dist/locale/id.mjs +1 -1
- package/dist/locale/it.js +1 -1
- package/dist/locale/it.min.js +1 -1
- package/dist/locale/it.min.mjs +1 -1
- package/dist/locale/it.mjs +1 -1
- package/dist/locale/ja.js +1 -1
- package/dist/locale/ja.min.js +1 -1
- package/dist/locale/ja.min.mjs +1 -1
- package/dist/locale/ja.mjs +1 -1
- package/dist/locale/kk.js +1 -1
- package/dist/locale/kk.min.js +1 -1
- package/dist/locale/kk.min.mjs +1 -1
- package/dist/locale/kk.mjs +1 -1
- package/dist/locale/km.js +1 -1
- package/dist/locale/km.min.js +1 -1
- package/dist/locale/km.min.mjs +1 -1
- package/dist/locale/km.mjs +1 -1
- package/dist/locale/ko.js +1 -1
- package/dist/locale/ko.min.js +1 -1
- package/dist/locale/ko.min.mjs +1 -1
- package/dist/locale/ko.mjs +1 -1
- package/dist/locale/ku.js +1 -1
- package/dist/locale/ku.min.js +1 -1
- package/dist/locale/ku.min.mjs +1 -1
- package/dist/locale/ku.mjs +1 -1
- package/dist/locale/ky.js +1 -1
- package/dist/locale/ky.min.js +1 -1
- package/dist/locale/ky.min.mjs +1 -1
- package/dist/locale/ky.mjs +1 -1
- package/dist/locale/lt.js +1 -1
- package/dist/locale/lt.min.js +1 -1
- package/dist/locale/lt.min.mjs +1 -1
- package/dist/locale/lt.mjs +1 -1
- package/dist/locale/lv.js +1 -1
- package/dist/locale/lv.min.js +1 -1
- package/dist/locale/lv.min.mjs +1 -1
- package/dist/locale/lv.mjs +1 -1
- package/dist/locale/mg.js +1 -1
- package/dist/locale/mg.min.js +1 -1
- package/dist/locale/mg.min.mjs +1 -1
- package/dist/locale/mg.mjs +1 -1
- package/dist/locale/mn.js +1 -1
- package/dist/locale/mn.min.js +1 -1
- package/dist/locale/mn.min.mjs +1 -1
- package/dist/locale/mn.mjs +1 -1
- package/dist/locale/ms.js +1 -1
- package/dist/locale/ms.min.js +1 -1
- package/dist/locale/ms.min.mjs +1 -1
- package/dist/locale/ms.mjs +1 -1
- package/dist/locale/my.js +1 -1
- package/dist/locale/my.min.js +1 -1
- package/dist/locale/my.min.mjs +1 -1
- package/dist/locale/my.mjs +1 -1
- package/dist/locale/nb-no.js +1 -1
- package/dist/locale/nb-no.min.js +1 -1
- package/dist/locale/nb-no.min.mjs +1 -1
- package/dist/locale/nb-no.mjs +1 -1
- package/dist/locale/nl.js +1 -1
- package/dist/locale/nl.min.js +1 -1
- package/dist/locale/nl.min.mjs +1 -1
- package/dist/locale/nl.mjs +1 -1
- package/dist/locale/no.js +1 -1
- package/dist/locale/no.min.js +1 -1
- package/dist/locale/no.min.mjs +1 -1
- package/dist/locale/no.mjs +1 -1
- package/dist/locale/pa.js +1 -1
- package/dist/locale/pa.min.js +1 -1
- package/dist/locale/pa.min.mjs +1 -1
- package/dist/locale/pa.mjs +1 -1
- package/dist/locale/pl.js +1 -1
- package/dist/locale/pl.min.js +1 -1
- package/dist/locale/pl.min.mjs +1 -1
- package/dist/locale/pl.mjs +1 -1
- package/dist/locale/pt-br.js +1 -1
- package/dist/locale/pt-br.min.js +1 -1
- package/dist/locale/pt-br.min.mjs +1 -1
- package/dist/locale/pt-br.mjs +1 -1
- package/dist/locale/pt.js +1 -1
- package/dist/locale/pt.min.js +1 -1
- package/dist/locale/pt.min.mjs +1 -1
- package/dist/locale/pt.mjs +1 -1
- package/dist/locale/ro.js +1 -1
- package/dist/locale/ro.min.js +1 -1
- package/dist/locale/ro.min.mjs +1 -1
- package/dist/locale/ro.mjs +1 -1
- package/dist/locale/ru.js +1 -1
- package/dist/locale/ru.min.js +1 -1
- package/dist/locale/ru.min.mjs +1 -1
- package/dist/locale/ru.mjs +1 -1
- package/dist/locale/sk.js +1 -1
- package/dist/locale/sk.min.js +1 -1
- package/dist/locale/sk.min.mjs +1 -1
- package/dist/locale/sk.mjs +1 -1
- package/dist/locale/sl.js +1 -1
- package/dist/locale/sl.min.js +1 -1
- package/dist/locale/sl.min.mjs +1 -1
- package/dist/locale/sl.mjs +1 -1
- package/dist/locale/sr.js +1 -1
- package/dist/locale/sr.min.js +1 -1
- package/dist/locale/sr.min.mjs +1 -1
- package/dist/locale/sr.mjs +1 -1
- package/dist/locale/sv.js +1 -1
- package/dist/locale/sv.min.js +1 -1
- package/dist/locale/sv.min.mjs +1 -1
- package/dist/locale/sv.mjs +1 -1
- package/dist/locale/sw.js +1 -1
- package/dist/locale/sw.min.js +1 -1
- package/dist/locale/sw.min.mjs +1 -1
- package/dist/locale/sw.mjs +1 -1
- package/dist/locale/ta.js +1 -1
- package/dist/locale/ta.min.js +1 -1
- package/dist/locale/ta.min.mjs +1 -1
- package/dist/locale/ta.mjs +1 -1
- package/dist/locale/te.js +1 -1
- package/dist/locale/te.min.js +1 -1
- package/dist/locale/te.min.mjs +1 -1
- package/dist/locale/te.mjs +1 -1
- package/dist/locale/th.js +1 -1
- package/dist/locale/th.min.js +1 -1
- package/dist/locale/th.min.mjs +1 -1
- package/dist/locale/th.mjs +1 -1
- package/dist/locale/tk.js +1 -1
- package/dist/locale/tk.min.js +1 -1
- package/dist/locale/tk.min.mjs +1 -1
- package/dist/locale/tk.mjs +1 -1
- package/dist/locale/tr.js +1 -1
- package/dist/locale/tr.min.js +1 -1
- package/dist/locale/tr.min.mjs +1 -1
- package/dist/locale/tr.mjs +1 -1
- package/dist/locale/ug-cn.js +1 -1
- package/dist/locale/ug-cn.min.js +1 -1
- package/dist/locale/ug-cn.min.mjs +1 -1
- package/dist/locale/ug-cn.mjs +1 -1
- package/dist/locale/uk.js +1 -1
- package/dist/locale/uk.min.js +1 -1
- package/dist/locale/uk.min.mjs +1 -1
- package/dist/locale/uk.mjs +1 -1
- package/dist/locale/uz-uz.js +1 -1
- package/dist/locale/uz-uz.min.js +1 -1
- package/dist/locale/uz-uz.min.mjs +1 -1
- package/dist/locale/uz-uz.mjs +1 -1
- package/dist/locale/vi.js +1 -1
- package/dist/locale/vi.min.js +1 -1
- package/dist/locale/vi.min.mjs +1 -1
- package/dist/locale/vi.mjs +1 -1
- package/dist/locale/zh-cn.js +1 -1
- package/dist/locale/zh-cn.min.js +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/locale/zh-cn.mjs +1 -1
- package/dist/locale/zh-hk.js +1 -1
- package/dist/locale/zh-hk.min.js +1 -1
- package/dist/locale/zh-hk.min.mjs +1 -1
- package/dist/locale/zh-hk.mjs +1 -1
- package/dist/locale/zh-mo.js +1 -1
- package/dist/locale/zh-mo.min.js +1 -1
- package/dist/locale/zh-mo.min.mjs +1 -1
- package/dist/locale/zh-mo.mjs +1 -1
- package/dist/locale/zh-tw.js +1 -1
- package/dist/locale/zh-tw.min.js +1 -1
- package/dist/locale/zh-tw.min.mjs +1 -1
- package/dist/locale/zh-tw.mjs +1 -1
- package/es/components/autocomplete/index.mjs +2 -2
- package/es/components/autocomplete/src/autocomplete.mjs +79 -367
- package/es/components/autocomplete/src/autocomplete.mjs.map +1 -1
- package/es/components/autocomplete/src/autocomplete2.mjs +367 -79
- package/es/components/autocomplete/src/autocomplete2.mjs.map +1 -1
- package/es/components/backtop/index.mjs +2 -2
- package/es/components/backtop/src/backtop.mjs +21 -53
- package/es/components/backtop/src/backtop.mjs.map +1 -1
- package/es/components/backtop/src/backtop2.mjs +53 -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 +32 -71
- package/es/components/badge/src/badge.mjs.map +1 -1
- package/es/components/badge/src/badge2.mjs +71 -32
- package/es/components/badge/src/badge2.mjs.map +1 -1
- package/es/components/card/index.mjs +2 -2
- package/es/components/card/src/card.mjs +20 -42
- package/es/components/card/src/card.mjs.map +1 -1
- package/es/components/card/src/card2.mjs +42 -20
- package/es/components/card/src/card2.mjs.map +1 -1
- package/es/components/cascader/index.mjs +2 -2
- package/es/components/cascader/src/cascader.mjs +634 -80
- package/es/components/cascader/src/cascader.mjs.map +1 -1
- package/es/components/cascader/src/cascader2.mjs +80 -634
- package/es/components/cascader/src/cascader2.mjs.map +1 -1
- package/es/components/col/index.mjs +2 -2
- package/es/components/col/src/col.mjs +43 -64
- package/es/components/col/src/col.mjs.map +1 -1
- package/es/components/col/src/col2.mjs +64 -43
- package/es/components/col/src/col2.mjs.map +1 -1
- package/es/components/collapse/index.mjs +2 -2
- package/es/components/collapse/src/collapse.mjs +28 -16
- package/es/components/collapse/src/collapse.mjs.map +1 -1
- package/es/components/collapse/src/collapse2.mjs +16 -28
- package/es/components/collapse/src/collapse2.mjs.map +1 -1
- package/es/components/color-picker/src/color-picker.mjs +1 -1
- package/es/components/date-picker/src/date-picker.d.ts +6 -6
- package/es/components/date-picker/src/props/date-picker.d.ts +3 -3
- package/es/components/dialog/src/dialog-content.mjs +87 -29
- package/es/components/dialog/src/dialog-content.mjs.map +1 -1
- package/es/components/dialog/src/dialog-content2.mjs +29 -87
- package/es/components/dialog/src/dialog-content2.mjs.map +1 -1
- package/es/components/dialog/src/dialog.mjs +1 -1
- package/es/components/dialog/src/dialog2.mjs +1 -1
- package/es/components/dropdown/src/dropdown.mjs +1 -1
- package/es/components/form/index.mjs +2 -2
- package/es/components/form/src/form.mjs +53 -153
- package/es/components/form/src/form.mjs.map +1 -1
- package/es/components/form/src/form2.mjs +153 -53
- package/es/components/form/src/form2.mjs.map +1 -1
- package/es/components/index.mjs +17 -17
- package/es/components/menu/src/menu-item2.mjs +2 -2
- package/es/components/menu/src/menu-item2.mjs.map +1 -1
- package/es/components/menu/src/menu.d.ts +4 -0
- package/es/components/menu/src/menu.mjs +4 -0
- package/es/components/menu/src/menu.mjs.map +1 -1
- package/es/components/menu/src/sub-menu.mjs +2 -1
- package/es/components/menu/src/sub-menu.mjs.map +1 -1
- package/es/components/popconfirm/src/popconfirm.mjs +1 -1
- package/es/components/popover/src/popover.mjs +1 -1
- package/es/components/rate/index.mjs +2 -2
- package/es/components/rate/src/rate.mjs +83 -258
- package/es/components/rate/src/rate.mjs.map +1 -1
- package/es/components/rate/src/rate2.mjs +258 -83
- package/es/components/rate/src/rate2.mjs.map +1 -1
- package/es/components/scrollbar/index.mjs +1 -1
- package/es/components/scrollbar/src/bar.mjs +64 -10
- package/es/components/scrollbar/src/bar.mjs.map +1 -1
- package/es/components/scrollbar/src/bar2.mjs +10 -64
- package/es/components/scrollbar/src/bar2.mjs.map +1 -1
- package/es/components/scrollbar/src/scrollbar2.mjs +1 -1
- package/es/components/scrollbar/src/thumb.mjs +11 -129
- package/es/components/scrollbar/src/thumb.mjs.map +1 -1
- package/es/components/scrollbar/src/thumb2.mjs +129 -11
- package/es/components/scrollbar/src/thumb2.mjs.map +1 -1
- package/es/components/select/src/select.mjs +1 -1
- package/es/components/select/src/useOption.mjs +3 -2
- package/es/components/select/src/useOption.mjs.map +1 -1
- package/es/components/select-v2/src/defaults.mjs +1 -1
- package/es/components/skeleton/index.mjs +2 -2
- package/es/components/skeleton/src/skeleton.mjs +21 -48
- package/es/components/skeleton/src/skeleton.mjs.map +1 -1
- package/es/components/skeleton/src/skeleton2.mjs +48 -21
- package/es/components/skeleton/src/skeleton2.mjs.map +1 -1
- package/es/components/statistic/index.mjs +2 -2
- package/es/components/statistic/src/statistic.mjs +25 -69
- package/es/components/statistic/src/statistic.mjs.map +1 -1
- package/es/components/statistic/src/statistic2.mjs +69 -25
- package/es/components/statistic/src/statistic2.mjs.map +1 -1
- package/es/components/steps/index.mjs +2 -2
- package/es/components/steps/src/steps.mjs +38 -35
- package/es/components/steps/src/steps.mjs.map +1 -1
- package/es/components/steps/src/steps2.mjs +35 -38
- package/es/components/steps/src/steps2.mjs.map +1 -1
- package/es/components/time-picker/src/common/picker.vue.d.ts +6 -6
- package/es/components/time-picker/src/common/props.d.ts +3 -3
- package/es/components/time-picker/src/composables/use-time-panel.d.ts +4 -4
- package/es/components/time-picker/src/composables/use-time-panel.mjs.map +1 -1
- package/es/components/time-picker/src/composables/use-time-picker.d.ts +4 -5
- package/es/components/time-picker/src/composables/use-time-picker.mjs.map +1 -1
- package/es/components/time-picker/src/props/basic-time-spinner.d.ts +3 -3
- package/es/components/time-picker/src/props/shared.d.ts +1 -4
- package/es/components/time-picker/src/props/shared.mjs.map +1 -1
- package/es/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +6 -6
- package/es/components/time-picker/src/time-picker.d.ts +6 -6
- package/es/components/tooltip/index.mjs +3 -3
- package/es/components/tooltip/src/content.mjs +28 -192
- package/es/components/tooltip/src/content.mjs.map +1 -1
- package/es/components/tooltip/src/content2.mjs +192 -28
- package/es/components/tooltip/src/content2.mjs.map +1 -1
- package/es/components/tooltip/src/tooltip.mjs +30 -166
- package/es/components/tooltip/src/tooltip.mjs.map +1 -1
- package/es/components/tooltip/src/tooltip2.mjs +166 -30
- package/es/components/tooltip/src/tooltip2.mjs.map +1 -1
- package/es/components/tooltip-v2/index.mjs +1 -1
- package/es/components/tooltip-v2/src/root.mjs +79 -17
- package/es/components/tooltip-v2/src/root.mjs.map +1 -1
- package/es/components/tooltip-v2/src/root2.mjs +17 -79
- package/es/components/tooltip-v2/src/root2.mjs.map +1 -1
- package/es/components/tooltip-v2/src/tooltip.mjs +1 -1
- package/es/components/tooltip-v2/src/tooltip2.mjs +2 -2
- package/es/components/tree/index.d.ts +2 -1
- package/es/components/tree/index.mjs.map +1 -1
- package/es/components/tree/src/tree.type.d.ts +21 -23
- package/es/components/tree-v2/src/tree.vue.d.ts +16 -16
- package/es/components/upload/index.mjs +1 -1
- package/es/components/upload/src/upload-content2.mjs +1 -1
- package/es/components/upload/src/upload-dragger.mjs +47 -10
- package/es/components/upload/src/upload-dragger.mjs.map +1 -1
- package/es/components/upload/src/upload-dragger2.mjs +10 -47
- package/es/components/upload/src/upload-dragger2.mjs.map +1 -1
- package/es/components/watermark/index.mjs +2 -2
- package/es/components/watermark/src/watermark.mjs +27 -210
- package/es/components/watermark/src/watermark.mjs.map +1 -1
- package/es/components/watermark/src/watermark2.mjs +210 -27
- package/es/components/watermark/src/watermark2.mjs.map +1 -1
- package/es/index.mjs +17 -17
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/autocomplete/index.js +2 -2
- package/lib/components/autocomplete/src/autocomplete.js +79 -366
- package/lib/components/autocomplete/src/autocomplete.js.map +1 -1
- package/lib/components/autocomplete/src/autocomplete2.js +366 -79
- package/lib/components/autocomplete/src/autocomplete2.js.map +1 -1
- package/lib/components/backtop/index.js +2 -2
- package/lib/components/backtop/src/backtop.js +22 -53
- package/lib/components/backtop/src/backtop.js.map +1 -1
- package/lib/components/backtop/src/backtop2.js +53 -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 +32 -71
- package/lib/components/badge/src/badge.js.map +1 -1
- package/lib/components/badge/src/badge2.js +71 -32
- package/lib/components/badge/src/badge2.js.map +1 -1
- package/lib/components/card/index.js +2 -2
- package/lib/components/card/src/card.js +20 -42
- package/lib/components/card/src/card.js.map +1 -1
- package/lib/components/card/src/card2.js +42 -20
- package/lib/components/card/src/card2.js.map +1 -1
- package/lib/components/cascader/index.js +2 -2
- package/lib/components/cascader/src/cascader.js +634 -81
- package/lib/components/cascader/src/cascader.js.map +1 -1
- package/lib/components/cascader/src/cascader2.js +81 -634
- package/lib/components/cascader/src/cascader2.js.map +1 -1
- package/lib/components/col/index.js +2 -2
- package/lib/components/col/src/col.js +43 -64
- package/lib/components/col/src/col.js.map +1 -1
- package/lib/components/col/src/col2.js +64 -43
- package/lib/components/col/src/col2.js.map +1 -1
- package/lib/components/collapse/index.js +2 -2
- package/lib/components/collapse/src/collapse.js +28 -18
- package/lib/components/collapse/src/collapse.js.map +1 -1
- package/lib/components/collapse/src/collapse2.js +18 -28
- package/lib/components/collapse/src/collapse2.js.map +1 -1
- package/lib/components/color-picker/src/color-picker.js +1 -1
- package/lib/components/date-picker/src/date-picker.d.ts +6 -6
- package/lib/components/date-picker/src/props/date-picker.d.ts +3 -3
- package/lib/components/dialog/src/dialog-content.js +86 -29
- package/lib/components/dialog/src/dialog-content.js.map +1 -1
- package/lib/components/dialog/src/dialog-content2.js +29 -86
- package/lib/components/dialog/src/dialog-content2.js.map +1 -1
- package/lib/components/dialog/src/dialog.js +1 -1
- package/lib/components/dialog/src/dialog2.js +1 -1
- package/lib/components/dropdown/src/dropdown.js +1 -1
- package/lib/components/form/index.js +2 -2
- package/lib/components/form/src/form.js +54 -152
- package/lib/components/form/src/form.js.map +1 -1
- package/lib/components/form/src/form2.js +152 -54
- package/lib/components/form/src/form2.js.map +1 -1
- package/lib/components/index.js +17 -17
- package/lib/components/menu/src/menu-item2.js +2 -2
- package/lib/components/menu/src/menu-item2.js.map +1 -1
- package/lib/components/menu/src/menu.d.ts +4 -0
- package/lib/components/menu/src/menu.js +4 -0
- package/lib/components/menu/src/menu.js.map +1 -1
- package/lib/components/menu/src/sub-menu.js +2 -1
- package/lib/components/menu/src/sub-menu.js.map +1 -1
- package/lib/components/popconfirm/src/popconfirm.js +1 -1
- package/lib/components/popover/src/popover.js +1 -1
- package/lib/components/rate/index.js +2 -2
- package/lib/components/rate/src/rate.js +83 -257
- package/lib/components/rate/src/rate.js.map +1 -1
- package/lib/components/rate/src/rate2.js +257 -83
- package/lib/components/rate/src/rate2.js.map +1 -1
- package/lib/components/scrollbar/index.js +1 -1
- package/lib/components/scrollbar/src/bar.js +64 -10
- package/lib/components/scrollbar/src/bar.js.map +1 -1
- package/lib/components/scrollbar/src/bar2.js +10 -64
- package/lib/components/scrollbar/src/bar2.js.map +1 -1
- package/lib/components/scrollbar/src/scrollbar2.js +1 -1
- package/lib/components/scrollbar/src/thumb.js +11 -129
- package/lib/components/scrollbar/src/thumb.js.map +1 -1
- package/lib/components/scrollbar/src/thumb2.js +129 -11
- package/lib/components/scrollbar/src/thumb2.js.map +1 -1
- package/lib/components/select/src/select.js +1 -1
- package/lib/components/select/src/useOption.js +2 -1
- package/lib/components/select/src/useOption.js.map +1 -1
- package/lib/components/select-v2/src/defaults.js +1 -1
- package/lib/components/skeleton/index.js +2 -2
- package/lib/components/skeleton/src/skeleton.js +21 -48
- package/lib/components/skeleton/src/skeleton.js.map +1 -1
- package/lib/components/skeleton/src/skeleton2.js +48 -21
- package/lib/components/skeleton/src/skeleton2.js.map +1 -1
- package/lib/components/statistic/index.js +2 -2
- package/lib/components/statistic/src/statistic.js +25 -69
- package/lib/components/statistic/src/statistic.js.map +1 -1
- package/lib/components/statistic/src/statistic2.js +69 -25
- package/lib/components/statistic/src/statistic2.js.map +1 -1
- package/lib/components/steps/index.js +2 -2
- package/lib/components/steps/src/steps.js +38 -36
- package/lib/components/steps/src/steps.js.map +1 -1
- package/lib/components/steps/src/steps2.js +36 -38
- package/lib/components/steps/src/steps2.js.map +1 -1
- package/lib/components/time-picker/src/common/picker.vue.d.ts +6 -6
- package/lib/components/time-picker/src/common/props.d.ts +3 -3
- package/lib/components/time-picker/src/composables/use-time-panel.d.ts +4 -4
- package/lib/components/time-picker/src/composables/use-time-panel.js.map +1 -1
- package/lib/components/time-picker/src/composables/use-time-picker.d.ts +4 -5
- package/lib/components/time-picker/src/composables/use-time-picker.js.map +1 -1
- package/lib/components/time-picker/src/props/basic-time-spinner.d.ts +3 -3
- package/lib/components/time-picker/src/props/shared.d.ts +1 -4
- package/lib/components/time-picker/src/props/shared.js.map +1 -1
- package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +6 -6
- package/lib/components/time-picker/src/time-picker.d.ts +6 -6
- package/lib/components/tooltip/index.js +3 -3
- package/lib/components/tooltip/src/content.js +28 -192
- package/lib/components/tooltip/src/content.js.map +1 -1
- package/lib/components/tooltip/src/content2.js +192 -28
- package/lib/components/tooltip/src/content2.js.map +1 -1
- package/lib/components/tooltip/src/tooltip.js +33 -165
- package/lib/components/tooltip/src/tooltip.js.map +1 -1
- package/lib/components/tooltip/src/tooltip2.js +165 -33
- package/lib/components/tooltip/src/tooltip2.js.map +1 -1
- package/lib/components/tooltip-v2/index.js +1 -1
- package/lib/components/tooltip-v2/src/root.js +79 -17
- package/lib/components/tooltip-v2/src/root.js.map +1 -1
- package/lib/components/tooltip-v2/src/root2.js +17 -79
- package/lib/components/tooltip-v2/src/root2.js.map +1 -1
- package/lib/components/tooltip-v2/src/tooltip.js +1 -1
- package/lib/components/tooltip-v2/src/tooltip2.js +2 -2
- package/lib/components/tree/index.d.ts +2 -1
- package/lib/components/tree/index.js.map +1 -1
- package/lib/components/tree/src/tree.type.d.ts +21 -23
- package/lib/components/tree-v2/src/tree.vue.d.ts +16 -16
- package/lib/components/upload/index.js +1 -1
- package/lib/components/upload/src/upload-content2.js +1 -1
- package/lib/components/upload/src/upload-dragger.js +47 -11
- package/lib/components/upload/src/upload-dragger.js.map +1 -1
- package/lib/components/upload/src/upload-dragger2.js +11 -47
- package/lib/components/upload/src/upload-dragger2.js.map +1 -1
- package/lib/components/watermark/index.js +2 -2
- package/lib/components/watermark/src/watermark.js +27 -210
- package/lib/components/watermark/src/watermark.js.map +1 -1
- package/lib/components/watermark/src/watermark2.js +210 -27
- package/lib/components/watermark/src/watermark2.js.map +1 -1
- package/lib/index.js +17 -17
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +2 -2
- package/web-types.json +1 -1
- package/es/components/time-picker/src/types.d.ts +0 -4
- package/es/components/time-picker/src/types.mjs +0 -2
- package/es/components/time-picker/src/types.mjs.map +0 -1
- package/lib/components/time-picker/src/types.d.ts +0 -4
- package/lib/components/time-picker/src/types.js +0 -3
- package/lib/components/time-picker/src/types.js.map +0 -1
|
@@ -25,19 +25,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
25
25
|
readonly placement: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("@popperjs/core").Placement) | ((new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("@popperjs/core").Placement))[], import("@popperjs/core").Placement, unknown, "bottom", boolean>;
|
|
26
26
|
readonly fallbackPlacements: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("@popperjs/core").Placement[]) | (() => import("@popperjs/core").Placement[]) | ((new (...args: any[]) => import("@popperjs/core").Placement[]) | (() => import("@popperjs/core").Placement[]))[], unknown, unknown, readonly ["bottom", "top", "right", "left"], boolean>;
|
|
27
27
|
readonly disabledHours: {
|
|
28
|
-
readonly type: import("vue").PropType<import("
|
|
28
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/components/time-picker").GetDisabledHours>;
|
|
29
29
|
readonly required: false;
|
|
30
30
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
31
31
|
__epPropKey: true;
|
|
32
32
|
};
|
|
33
33
|
readonly disabledMinutes: {
|
|
34
|
-
readonly type: import("vue").PropType<import("
|
|
34
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/components/time-picker").GetDisabledMinutes>;
|
|
35
35
|
readonly required: false;
|
|
36
36
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
37
37
|
__epPropKey: true;
|
|
38
38
|
};
|
|
39
39
|
readonly disabledSeconds: {
|
|
40
|
-
readonly type: import("vue").PropType<import("
|
|
40
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/components/time-picker").GetDisabledSeconds>;
|
|
41
41
|
readonly required: false;
|
|
42
42
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
43
43
|
__epPropKey: true;
|
|
@@ -121,19 +121,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
121
121
|
readonly placement: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("@popperjs/core").Placement) | ((new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("@popperjs/core").Placement))[], import("@popperjs/core").Placement, unknown, "bottom", boolean>;
|
|
122
122
|
readonly fallbackPlacements: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("@popperjs/core").Placement[]) | (() => import("@popperjs/core").Placement[]) | ((new (...args: any[]) => import("@popperjs/core").Placement[]) | (() => import("@popperjs/core").Placement[]))[], unknown, unknown, readonly ["bottom", "top", "right", "left"], boolean>;
|
|
123
123
|
readonly disabledHours: {
|
|
124
|
-
readonly type: import("vue").PropType<import("
|
|
124
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/components/time-picker").GetDisabledHours>;
|
|
125
125
|
readonly required: false;
|
|
126
126
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
127
127
|
__epPropKey: true;
|
|
128
128
|
};
|
|
129
129
|
readonly disabledMinutes: {
|
|
130
|
-
readonly type: import("vue").PropType<import("
|
|
130
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/components/time-picker").GetDisabledMinutes>;
|
|
131
131
|
readonly required: false;
|
|
132
132
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
133
133
|
__epPropKey: true;
|
|
134
134
|
};
|
|
135
135
|
readonly disabledSeconds: {
|
|
136
|
-
readonly type: import("vue").PropType<import("
|
|
136
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/components/time-picker").GetDisabledSeconds>;
|
|
137
137
|
readonly required: false;
|
|
138
138
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
139
139
|
__epPropKey: true;
|
|
@@ -26,19 +26,19 @@ export declare const datePickerProps: {
|
|
|
26
26
|
readonly placement: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("@popperjs/core").Placement) | ((new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import("@popperjs/core").Placement))[], import("@popperjs/core").Placement, unknown, "bottom", boolean>;
|
|
27
27
|
readonly fallbackPlacements: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("@popperjs/core").Placement[]) | (() => import("@popperjs/core").Placement[]) | ((new (...args: any[]) => import("@popperjs/core").Placement[]) | (() => import("@popperjs/core").Placement[]))[], unknown, unknown, readonly ["bottom", "top", "right", "left"], boolean>;
|
|
28
28
|
readonly disabledHours: {
|
|
29
|
-
readonly type: import("vue").PropType<import("
|
|
29
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/components/time-picker").GetDisabledHours>;
|
|
30
30
|
readonly required: false;
|
|
31
31
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
32
32
|
__epPropKey: true;
|
|
33
33
|
};
|
|
34
34
|
readonly disabledMinutes: {
|
|
35
|
-
readonly type: import("vue").PropType<import("
|
|
35
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/components/time-picker").GetDisabledMinutes>;
|
|
36
36
|
readonly required: false;
|
|
37
37
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
38
38
|
__epPropKey: true;
|
|
39
39
|
};
|
|
40
40
|
readonly disabledSeconds: {
|
|
41
|
-
readonly type: import("vue").PropType<import("
|
|
41
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/components/time-picker").GetDisabledSeconds>;
|
|
42
42
|
readonly required: false;
|
|
43
43
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
44
44
|
__epPropKey: true;
|
|
@@ -1,34 +1,92 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent, inject, computed, openBlock, createElementBlock, unref, normalizeClass, normalizeStyle, createElementVNode, renderSlot, toDisplayString, createVNode, withCtx, createBlock, resolveDynamicComponent, createCommentVNode } from 'vue';
|
|
2
|
+
import { ElIcon } from '../../icon/index.mjs';
|
|
3
|
+
import { dialogInjectionKey } from './constants.mjs';
|
|
4
|
+
import { dialogContentProps, dialogContentEmits } from './dialog-content2.mjs';
|
|
5
|
+
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
|
6
|
+
import { FOCUS_TRAP_INJECTION_KEY } from '../../focus-trap/src/tokens.mjs';
|
|
7
|
+
import { useDraggable } from '../../../hooks/use-draggable/index.mjs';
|
|
8
|
+
import { CloseComponents } from '../../../utils/vue/icon.mjs';
|
|
9
|
+
import { composeRefs } from '../../../utils/vue/refs.mjs';
|
|
10
|
+
import { useLocale } from '../../../hooks/use-locale/index.mjs';
|
|
3
11
|
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
12
|
+
const __default__ = defineComponent({ name: "ElDialogContent" });
|
|
13
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
14
|
+
...__default__,
|
|
15
|
+
props: dialogContentProps,
|
|
16
|
+
emits: dialogContentEmits,
|
|
17
|
+
setup(__props, { expose }) {
|
|
18
|
+
const props = __props;
|
|
19
|
+
const { t } = useLocale();
|
|
20
|
+
const { Close } = CloseComponents;
|
|
21
|
+
const { dialogRef, headerRef, bodyId, ns, style } = inject(dialogInjectionKey);
|
|
22
|
+
const { focusTrapRef } = inject(FOCUS_TRAP_INJECTION_KEY);
|
|
23
|
+
const dialogKls = computed(() => [
|
|
24
|
+
ns.b(),
|
|
25
|
+
ns.is("fullscreen", props.fullscreen),
|
|
26
|
+
ns.is("draggable", props.draggable),
|
|
27
|
+
ns.is("align-center", props.alignCenter),
|
|
28
|
+
{ [ns.m("center")]: props.center }
|
|
29
|
+
]);
|
|
30
|
+
const composedDialogRef = composeRefs(focusTrapRef, dialogRef);
|
|
31
|
+
const draggable = computed(() => props.draggable);
|
|
32
|
+
const overflow = computed(() => props.overflow);
|
|
33
|
+
const { resetPosition } = useDraggable(dialogRef, headerRef, draggable, overflow);
|
|
34
|
+
expose({
|
|
35
|
+
resetPosition
|
|
36
|
+
});
|
|
37
|
+
return (_ctx, _cache) => {
|
|
38
|
+
return openBlock(), createElementBlock("div", {
|
|
39
|
+
ref: unref(composedDialogRef),
|
|
40
|
+
class: normalizeClass(unref(dialogKls)),
|
|
41
|
+
style: normalizeStyle(unref(style)),
|
|
42
|
+
tabindex: "-1"
|
|
43
|
+
}, [
|
|
44
|
+
createElementVNode("header", {
|
|
45
|
+
ref_key: "headerRef",
|
|
46
|
+
ref: headerRef,
|
|
47
|
+
class: normalizeClass([unref(ns).e("header"), _ctx.headerClass, { "show-close": _ctx.showClose }])
|
|
48
|
+
}, [
|
|
49
|
+
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
50
|
+
createElementVNode("span", {
|
|
51
|
+
role: "heading",
|
|
52
|
+
"aria-level": _ctx.ariaLevel,
|
|
53
|
+
class: normalizeClass(unref(ns).e("title"))
|
|
54
|
+
}, toDisplayString(_ctx.title), 11, ["aria-level"])
|
|
55
|
+
]),
|
|
56
|
+
_ctx.showClose ? (openBlock(), createElementBlock("button", {
|
|
57
|
+
key: 0,
|
|
58
|
+
"aria-label": unref(t)("el.dialog.close"),
|
|
59
|
+
class: normalizeClass(unref(ns).e("headerbtn")),
|
|
60
|
+
type: "button",
|
|
61
|
+
onClick: ($event) => _ctx.$emit("close")
|
|
62
|
+
}, [
|
|
63
|
+
createVNode(unref(ElIcon), {
|
|
64
|
+
class: normalizeClass(unref(ns).e("close"))
|
|
65
|
+
}, {
|
|
66
|
+
default: withCtx(() => [
|
|
67
|
+
(openBlock(), createBlock(resolveDynamicComponent(_ctx.closeIcon || unref(Close))))
|
|
68
|
+
]),
|
|
69
|
+
_: 1
|
|
70
|
+
}, 8, ["class"])
|
|
71
|
+
], 10, ["aria-label", "onClick"])) : createCommentVNode("v-if", true)
|
|
72
|
+
], 2),
|
|
73
|
+
createElementVNode("div", {
|
|
74
|
+
id: unref(bodyId),
|
|
75
|
+
class: normalizeClass([unref(ns).e("body"), _ctx.bodyClass])
|
|
76
|
+
}, [
|
|
77
|
+
renderSlot(_ctx.$slots, "default")
|
|
78
|
+
], 10, ["id"]),
|
|
79
|
+
_ctx.$slots.footer ? (openBlock(), createElementBlock("footer", {
|
|
80
|
+
key: 0,
|
|
81
|
+
class: normalizeClass([unref(ns).e("footer"), _ctx.footerClass])
|
|
82
|
+
}, [
|
|
83
|
+
renderSlot(_ctx.$slots, "footer")
|
|
84
|
+
], 2)) : createCommentVNode("v-if", true)
|
|
85
|
+
], 6);
|
|
86
|
+
};
|
|
27
87
|
}
|
|
28
88
|
});
|
|
29
|
-
|
|
30
|
-
close: () => true
|
|
31
|
-
};
|
|
89
|
+
var ElDialogContent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "dialog-content.vue"]]);
|
|
32
90
|
|
|
33
|
-
export {
|
|
91
|
+
export { ElDialogContent as default };
|
|
34
92
|
//# sourceMappingURL=dialog-content.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog-content.mjs","sources":["../../../../../../packages/components/dialog/src/dialog-content.
|
|
1
|
+
{"version":3,"file":"dialog-content.mjs","sources":["../../../../../../packages/components/dialog/src/dialog-content.vue"],"sourcesContent":["<template>\n <div :ref=\"composedDialogRef\" :class=\"dialogKls\" :style=\"style\" tabindex=\"-1\">\n <header\n ref=\"headerRef\"\n :class=\"[ns.e('header'), headerClass, { 'show-close': showClose }]\"\n >\n <slot name=\"header\">\n <span role=\"heading\" :aria-level=\"ariaLevel\" :class=\"ns.e('title')\">\n {{ title }}\n </span>\n </slot>\n <button\n v-if=\"showClose\"\n :aria-label=\"t('el.dialog.close')\"\n :class=\"ns.e('headerbtn')\"\n type=\"button\"\n @click=\"$emit('close')\"\n >\n <el-icon :class=\"ns.e('close')\">\n <component :is=\"closeIcon || Close\" />\n </el-icon>\n </button>\n </header>\n <div :id=\"bodyId\" :class=\"[ns.e('body'), bodyClass]\">\n <slot />\n </div>\n <footer v-if=\"$slots.footer\" :class=\"[ns.e('footer'), footerClass]\">\n <slot name=\"footer\" />\n </footer>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, inject } from 'vue'\nimport { ElIcon } from '@element-plus/components/icon'\nimport { FOCUS_TRAP_INJECTION_KEY } from '@element-plus/components/focus-trap'\nimport { useDraggable, useLocale } from '@element-plus/hooks'\nimport { CloseComponents, composeRefs } from '@element-plus/utils'\nimport { dialogInjectionKey } from './constants'\nimport { dialogContentEmits, dialogContentProps } from './dialog-content'\n\nconst { t } = useLocale()\nconst { Close } = CloseComponents\n\ndefineOptions({ name: 'ElDialogContent' })\nconst props = defineProps(dialogContentProps)\ndefineEmits(dialogContentEmits)\n\nconst { dialogRef, headerRef, bodyId, ns, style } = inject(dialogInjectionKey)!\nconst { focusTrapRef } = inject(FOCUS_TRAP_INJECTION_KEY)!\n\nconst dialogKls = computed(() => [\n ns.b(),\n ns.is('fullscreen', props.fullscreen),\n ns.is('draggable', props.draggable),\n ns.is('align-center', props.alignCenter),\n { [ns.m('center')]: props.center },\n])\n\nconst composedDialogRef = composeRefs(focusTrapRef, dialogRef)\n\nconst draggable = computed(() => props.draggable)\nconst overflow = computed(() => props.overflow)\nconst { resetPosition } = useDraggable(\n dialogRef,\n headerRef,\n draggable,\n overflow\n)\n\ndefineExpose({\n resetPosition,\n})\n</script>\n"],"names":["_openBlock","_createElementBlock","_unref","_normalizeClass","_normalizeStyle"],"mappings":";;;;;;;;;;;mCA4Cc,CAAA,EAAE,IAAM,EAAA,iBAAA,EAAkB,CAAA,CAAA;;;;;;;AAHxC,IAAM,MAAA,EAAE,CAAE,EAAA,GAAI,SAAU,EAAA,CAAA;AACxB,IAAM,MAAA,EAAE,OAAU,GAAA,eAAA,CAAA;AAMlB,IAAM,MAAA,EAAE,WAAW,SAAW,EAAA,MAAA,EAAQ,IAAI,KAAM,EAAA,GAAI,OAAO,kBAAkB,CAAA,CAAA;AAC7E,IAAA,MAAM,EAAE,YAAA,EAAiB,GAAA,MAAA,CAAO,wBAAwB,CAAA,CAAA;AAExD,IAAM,MAAA,SAAA,GAAY,SAAS,MAAM;AAAA,MAC/B,GAAG,CAAE,EAAA;AAAA,MACL,EAAG,CAAA,EAAA,CAAG,YAAc,EAAA,KAAA,CAAM,UAAU,CAAA;AAAA,MACpC,EAAG,CAAA,EAAA,CAAG,WAAa,EAAA,KAAA,CAAM,SAAS,CAAA;AAAA,MAClC,EAAG,CAAA,EAAA,CAAG,cAAgB,EAAA,KAAA,CAAM,WAAW,CAAA;AAAA,MACvC,EAAE,CAAC,EAAG,CAAA,CAAA,CAAE,QAAQ,CAAC,GAAG,MAAM,MAAO,EAAA;AAAA,KAClC,CAAA,CAAA;AAED,IAAM,MAAA,iBAAA,GAAoB,WAAY,CAAA,YAAA,EAAc,SAAS,CAAA,CAAA;AAE7D,IAAA,MAAM,SAAY,GAAA,QAAA,CAAS,MAAM,KAAA,CAAM,SAAS,CAAA,CAAA;AAChD,IAAA,MAAM,QAAW,GAAA,QAAA,CAAS,MAAM,KAAA,CAAM,QAAQ,CAAA,CAAA;AAC9C,IAAM,MAAA,EAAE,eAAkB,GAAA,YAAA,CAAA,SAAA,EAAA,SAAA,EAAA,SAAA,EAAA,QAAA,CAAA,CAAA;AAAA,IACxB,MAAA,CAAA;AAAA,MACA,aAAA;AAAA,KACA,CAAA,CAAA;AAAA,IACA,OAAA,CAAA,IAAA,EAAA,MAAA,KAAA;AAAA,MACF,OAAAA,SAAA,EAAA,EAAAC,kBAAA,CAAA,KAAA,EAAA;AAEA,QAAa,GAAA,EAAAC,KAAA,CAAA,iBAAA,CAAA;AAAA,QACX,KAAA,EAAAC,cAAA,CAAAD,KAAA,CAAA,SAAA,CAAA,CAAA;AAAA,QACD,KAAA,EAAAE,cAAA,CAAAF,KAAA,CAAA,KAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,92 +1,34 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { dialogInjectionKey } from './constants.mjs';
|
|
4
|
-
import { dialogContentProps, dialogContentEmits } from './dialog-content.mjs';
|
|
5
|
-
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
|
6
|
-
import { FOCUS_TRAP_INJECTION_KEY } from '../../focus-trap/src/tokens.mjs';
|
|
7
|
-
import { useDraggable } from '../../../hooks/use-draggable/index.mjs';
|
|
8
|
-
import { CloseComponents } from '../../../utils/vue/icon.mjs';
|
|
9
|
-
import { composeRefs } from '../../../utils/vue/refs.mjs';
|
|
10
|
-
import { useLocale } from '../../../hooks/use-locale/index.mjs';
|
|
1
|
+
import { buildProps } from '../../../utils/vue/props/runtime.mjs';
|
|
2
|
+
import { iconPropType } from '../../../utils/vue/icon.mjs';
|
|
11
3
|
|
|
12
|
-
const
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
resetPosition
|
|
36
|
-
});
|
|
37
|
-
return (_ctx, _cache) => {
|
|
38
|
-
return openBlock(), createElementBlock("div", {
|
|
39
|
-
ref: unref(composedDialogRef),
|
|
40
|
-
class: normalizeClass(unref(dialogKls)),
|
|
41
|
-
style: normalizeStyle(unref(style)),
|
|
42
|
-
tabindex: "-1"
|
|
43
|
-
}, [
|
|
44
|
-
createElementVNode("header", {
|
|
45
|
-
ref_key: "headerRef",
|
|
46
|
-
ref: headerRef,
|
|
47
|
-
class: normalizeClass([unref(ns).e("header"), _ctx.headerClass, { "show-close": _ctx.showClose }])
|
|
48
|
-
}, [
|
|
49
|
-
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
50
|
-
createElementVNode("span", {
|
|
51
|
-
role: "heading",
|
|
52
|
-
"aria-level": _ctx.ariaLevel,
|
|
53
|
-
class: normalizeClass(unref(ns).e("title"))
|
|
54
|
-
}, toDisplayString(_ctx.title), 11, ["aria-level"])
|
|
55
|
-
]),
|
|
56
|
-
_ctx.showClose ? (openBlock(), createElementBlock("button", {
|
|
57
|
-
key: 0,
|
|
58
|
-
"aria-label": unref(t)("el.dialog.close"),
|
|
59
|
-
class: normalizeClass(unref(ns).e("headerbtn")),
|
|
60
|
-
type: "button",
|
|
61
|
-
onClick: ($event) => _ctx.$emit("close")
|
|
62
|
-
}, [
|
|
63
|
-
createVNode(unref(ElIcon), {
|
|
64
|
-
class: normalizeClass(unref(ns).e("close"))
|
|
65
|
-
}, {
|
|
66
|
-
default: withCtx(() => [
|
|
67
|
-
(openBlock(), createBlock(resolveDynamicComponent(_ctx.closeIcon || unref(Close))))
|
|
68
|
-
]),
|
|
69
|
-
_: 1
|
|
70
|
-
}, 8, ["class"])
|
|
71
|
-
], 10, ["aria-label", "onClick"])) : createCommentVNode("v-if", true)
|
|
72
|
-
], 2),
|
|
73
|
-
createElementVNode("div", {
|
|
74
|
-
id: unref(bodyId),
|
|
75
|
-
class: normalizeClass([unref(ns).e("body"), _ctx.bodyClass])
|
|
76
|
-
}, [
|
|
77
|
-
renderSlot(_ctx.$slots, "default")
|
|
78
|
-
], 10, ["id"]),
|
|
79
|
-
_ctx.$slots.footer ? (openBlock(), createElementBlock("footer", {
|
|
80
|
-
key: 0,
|
|
81
|
-
class: normalizeClass([unref(ns).e("footer"), _ctx.footerClass])
|
|
82
|
-
}, [
|
|
83
|
-
renderSlot(_ctx.$slots, "footer")
|
|
84
|
-
], 2)) : createCommentVNode("v-if", true)
|
|
85
|
-
], 6);
|
|
86
|
-
};
|
|
4
|
+
const dialogContentProps = buildProps({
|
|
5
|
+
center: Boolean,
|
|
6
|
+
alignCenter: Boolean,
|
|
7
|
+
closeIcon: {
|
|
8
|
+
type: iconPropType
|
|
9
|
+
},
|
|
10
|
+
draggable: Boolean,
|
|
11
|
+
overflow: Boolean,
|
|
12
|
+
fullscreen: Boolean,
|
|
13
|
+
headerClass: String,
|
|
14
|
+
bodyClass: String,
|
|
15
|
+
footerClass: String,
|
|
16
|
+
showClose: {
|
|
17
|
+
type: Boolean,
|
|
18
|
+
default: true
|
|
19
|
+
},
|
|
20
|
+
title: {
|
|
21
|
+
type: String,
|
|
22
|
+
default: ""
|
|
23
|
+
},
|
|
24
|
+
ariaLevel: {
|
|
25
|
+
type: String,
|
|
26
|
+
default: "2"
|
|
87
27
|
}
|
|
88
28
|
});
|
|
89
|
-
|
|
29
|
+
const dialogContentEmits = {
|
|
30
|
+
close: () => true
|
|
31
|
+
};
|
|
90
32
|
|
|
91
|
-
export {
|
|
33
|
+
export { dialogContentEmits, dialogContentProps };
|
|
92
34
|
//# sourceMappingURL=dialog-content2.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog-content2.mjs","sources":["../../../../../../packages/components/dialog/src/dialog-content.
|
|
1
|
+
{"version":3,"file":"dialog-content2.mjs","sources":["../../../../../../packages/components/dialog/src/dialog-content.ts"],"sourcesContent":["import { buildProps, iconPropType } from '@element-plus/utils'\n\nexport const dialogContentProps = buildProps({\n /**\n * @description whether to align the header and footer in center\n */\n center: Boolean,\n /**\n * @description whether to align the dialog both horizontally and vertically\n */\n alignCenter: Boolean,\n /**\n * @description custom close icon, default is Close\n */\n closeIcon: {\n type: iconPropType,\n },\n /**\n * @description enable dragging feature for Dialog\n */\n draggable: Boolean,\n /**\n * @description draggable Dialog can overflow the viewport\n */\n overflow: Boolean,\n /**\n * @description whether the Dialog takes up full screen\n */\n fullscreen: Boolean,\n /**\n * @description custom class names for header wrapper\n */\n headerClass: String,\n /**\n * @description custom class names for body wrapper\n */\n bodyClass: String,\n /**\n * @description custom class names for footer wrapper\n */\n footerClass: String,\n /**\n * @description whether to show a close button\n */\n showClose: {\n type: Boolean,\n default: true,\n },\n /**\n * @description title of Dialog. Can also be passed with a named slot (see the following table)\n */\n title: {\n type: String,\n default: '',\n },\n /**\n * @description header's aria-level attribute\n */\n ariaLevel: {\n type: String,\n default: '2',\n },\n} as const)\n\nexport const dialogContentEmits = {\n close: () => true,\n}\n"],"names":[],"mappings":";;;AACY,MAAC,kBAAkB,GAAG,UAAU,CAAC;AAC7C,EAAE,MAAM,EAAE,OAAO;AACjB,EAAE,WAAW,EAAE,OAAO;AACtB,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,YAAY;AACtB,GAAG;AACH,EAAE,SAAS,EAAE,OAAO;AACpB,EAAE,QAAQ,EAAE,OAAO;AACnB,EAAE,UAAU,EAAE,OAAO;AACrB,EAAE,WAAW,EAAE,MAAM;AACrB,EAAE,SAAS,EAAE,MAAM;AACnB,EAAE,WAAW,EAAE,MAAM;AACrB,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,GAAG;AAChB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,kBAAkB,GAAG;AAClC,EAAE,KAAK,EAAE,MAAM,IAAI;AACnB;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dialogContentProps } from './dialog-
|
|
1
|
+
import { dialogContentProps } from './dialog-content2.mjs';
|
|
2
2
|
import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
|
|
3
3
|
import { UPDATE_MODEL_EVENT } from '../../../constants/event.mjs';
|
|
4
4
|
import { isBoolean } from '../../../utils/types.mjs';
|
|
@@ -2,7 +2,7 @@ import { defineComponent, useSlots, computed, ref, provide, openBlock, createBlo
|
|
|
2
2
|
import { ElOverlay } from '../../overlay/index.mjs';
|
|
3
3
|
import ElFocusTrap from '../../focus-trap/src/focus-trap.mjs';
|
|
4
4
|
import { ElTeleport } from '../../teleport/index.mjs';
|
|
5
|
-
import ElDialogContent from './dialog-
|
|
5
|
+
import ElDialogContent from './dialog-content.mjs';
|
|
6
6
|
import { dialogInjectionKey } from './constants.mjs';
|
|
7
7
|
import { dialogProps, dialogEmits } from './dialog.mjs';
|
|
8
8
|
import { useDialog } from './use-dialog.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useTooltipTriggerProps } from '../../tooltip/src/trigger.mjs';
|
|
2
2
|
import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
|
|
3
3
|
import { EVENT_CODE } from '../../../constants/aria.mjs';
|
|
4
|
-
import { useTooltipContentProps } from '../../tooltip/src/
|
|
4
|
+
import { useTooltipContentProps } from '../../tooltip/src/content.mjs';
|
|
5
5
|
import { iconPropType } from '../../../utils/vue/icon.mjs';
|
|
6
6
|
import { createCollectionWithScope } from '../../collection/src/collection.mjs';
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import Form from './src/
|
|
1
|
+
import Form from './src/form2.mjs';
|
|
2
2
|
import FormItem from './src/form-item2.mjs';
|
|
3
|
-
export { formEmits, formMetaProps, formProps } from './src/
|
|
3
|
+
export { formEmits, formMetaProps, formProps } from './src/form.mjs';
|
|
4
4
|
export { formItemProps, formItemValidateStates } from './src/form-item.mjs';
|
|
5
5
|
export { formContextKey, formItemContextKey } from './src/constants.mjs';
|
|
6
6
|
import { withInstall, withNoopInstall } from '../../utils/vue/install.mjs';
|
|
@@ -1,159 +1,59 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
|
6
|
-
import { useFormSize } from './hooks/use-form-common-props.mjs';
|
|
7
|
-
import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
|
|
8
|
-
import { debugWarn } from '../../../utils/error.mjs';
|
|
9
|
-
import { isFunction } from '@vue/shared';
|
|
1
|
+
import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
|
|
2
|
+
import { componentSizes } from '../../../constants/size.mjs';
|
|
3
|
+
import { isArray, isString } from '@vue/shared';
|
|
4
|
+
import { isBoolean } from '../../../utils/types.mjs';
|
|
10
5
|
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
|
|
6
|
+
const formMetaProps = buildProps({
|
|
7
|
+
size: {
|
|
8
|
+
type: String,
|
|
9
|
+
values: componentSizes
|
|
10
|
+
},
|
|
11
|
+
disabled: Boolean
|
|
14
12
|
});
|
|
15
|
-
const
|
|
16
|
-
...
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
filterFields(fields, props2).forEach((field) => field.clearValidate());
|
|
55
|
-
};
|
|
56
|
-
const isValidatable = computed(() => {
|
|
57
|
-
const hasModel = !!props.model;
|
|
58
|
-
if (!hasModel) {
|
|
59
|
-
debugWarn(COMPONENT_NAME, "model is required for validate to work.");
|
|
60
|
-
}
|
|
61
|
-
return hasModel;
|
|
62
|
-
});
|
|
63
|
-
const obtainValidateFields = (props2) => {
|
|
64
|
-
if (fields.length === 0)
|
|
65
|
-
return [];
|
|
66
|
-
const filteredFields = filterFields(fields, props2);
|
|
67
|
-
if (!filteredFields.length) {
|
|
68
|
-
debugWarn(COMPONENT_NAME, "please pass correct props!");
|
|
69
|
-
return [];
|
|
70
|
-
}
|
|
71
|
-
return filteredFields;
|
|
72
|
-
};
|
|
73
|
-
const validate = async (callback) => validateField(void 0, callback);
|
|
74
|
-
const doValidateField = async (props2 = []) => {
|
|
75
|
-
if (!isValidatable.value)
|
|
76
|
-
return false;
|
|
77
|
-
const fields2 = obtainValidateFields(props2);
|
|
78
|
-
if (fields2.length === 0)
|
|
79
|
-
return true;
|
|
80
|
-
let validationErrors = {};
|
|
81
|
-
for (const field of fields2) {
|
|
82
|
-
try {
|
|
83
|
-
await field.validate("");
|
|
84
|
-
if (field.validateState === "error")
|
|
85
|
-
field.resetField();
|
|
86
|
-
} catch (fields3) {
|
|
87
|
-
validationErrors = {
|
|
88
|
-
...validationErrors,
|
|
89
|
-
...fields3
|
|
90
|
-
};
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
if (Object.keys(validationErrors).length === 0)
|
|
94
|
-
return true;
|
|
95
|
-
return Promise.reject(validationErrors);
|
|
96
|
-
};
|
|
97
|
-
const validateField = async (modelProps = [], callback) => {
|
|
98
|
-
const shouldThrow = !isFunction(callback);
|
|
99
|
-
try {
|
|
100
|
-
const result = await doValidateField(modelProps);
|
|
101
|
-
if (result === true) {
|
|
102
|
-
await (callback == null ? void 0 : callback(result));
|
|
103
|
-
}
|
|
104
|
-
return result;
|
|
105
|
-
} catch (e) {
|
|
106
|
-
if (e instanceof Error)
|
|
107
|
-
throw e;
|
|
108
|
-
const invalidFields = e;
|
|
109
|
-
if (props.scrollToError) {
|
|
110
|
-
scrollToField(Object.keys(invalidFields)[0]);
|
|
111
|
-
}
|
|
112
|
-
await (callback == null ? void 0 : callback(false, invalidFields));
|
|
113
|
-
return shouldThrow && Promise.reject(invalidFields);
|
|
114
|
-
}
|
|
115
|
-
};
|
|
116
|
-
const scrollToField = (prop) => {
|
|
117
|
-
var _a;
|
|
118
|
-
const field = filterFields(fields, prop)[0];
|
|
119
|
-
if (field) {
|
|
120
|
-
(_a = field.$el) == null ? void 0 : _a.scrollIntoView(props.scrollIntoViewOptions);
|
|
121
|
-
}
|
|
122
|
-
};
|
|
123
|
-
watch(() => props.rules, () => {
|
|
124
|
-
if (props.validateOnRuleChange) {
|
|
125
|
-
validate().catch((err) => debugWarn(err));
|
|
126
|
-
}
|
|
127
|
-
}, { deep: true, flush: "post" });
|
|
128
|
-
provide(formContextKey, reactive({
|
|
129
|
-
...toRefs(props),
|
|
130
|
-
emit,
|
|
131
|
-
resetFields,
|
|
132
|
-
clearValidate,
|
|
133
|
-
validateField,
|
|
134
|
-
getField,
|
|
135
|
-
addField,
|
|
136
|
-
removeField,
|
|
137
|
-
...useFormLabelWidth()
|
|
138
|
-
}));
|
|
139
|
-
expose({
|
|
140
|
-
validate,
|
|
141
|
-
validateField,
|
|
142
|
-
resetFields,
|
|
143
|
-
clearValidate,
|
|
144
|
-
scrollToField,
|
|
145
|
-
fields
|
|
146
|
-
});
|
|
147
|
-
return (_ctx, _cache) => {
|
|
148
|
-
return openBlock(), createElementBlock("form", {
|
|
149
|
-
class: normalizeClass(unref(formClasses))
|
|
150
|
-
}, [
|
|
151
|
-
renderSlot(_ctx.$slots, "default")
|
|
152
|
-
], 2);
|
|
153
|
-
};
|
|
13
|
+
const formProps = buildProps({
|
|
14
|
+
...formMetaProps,
|
|
15
|
+
model: Object,
|
|
16
|
+
rules: {
|
|
17
|
+
type: definePropType(Object)
|
|
18
|
+
},
|
|
19
|
+
labelPosition: {
|
|
20
|
+
type: String,
|
|
21
|
+
values: ["left", "right", "top"],
|
|
22
|
+
default: "right"
|
|
23
|
+
},
|
|
24
|
+
requireAsteriskPosition: {
|
|
25
|
+
type: String,
|
|
26
|
+
values: ["left", "right"],
|
|
27
|
+
default: "left"
|
|
28
|
+
},
|
|
29
|
+
labelWidth: {
|
|
30
|
+
type: [String, Number],
|
|
31
|
+
default: ""
|
|
32
|
+
},
|
|
33
|
+
labelSuffix: {
|
|
34
|
+
type: String,
|
|
35
|
+
default: ""
|
|
36
|
+
},
|
|
37
|
+
inline: Boolean,
|
|
38
|
+
inlineMessage: Boolean,
|
|
39
|
+
statusIcon: Boolean,
|
|
40
|
+
showMessage: {
|
|
41
|
+
type: Boolean,
|
|
42
|
+
default: true
|
|
43
|
+
},
|
|
44
|
+
validateOnRuleChange: {
|
|
45
|
+
type: Boolean,
|
|
46
|
+
default: true
|
|
47
|
+
},
|
|
48
|
+
hideRequiredAsterisk: Boolean,
|
|
49
|
+
scrollToError: Boolean,
|
|
50
|
+
scrollIntoViewOptions: {
|
|
51
|
+
type: [Object, Boolean]
|
|
154
52
|
}
|
|
155
53
|
});
|
|
156
|
-
|
|
54
|
+
const formEmits = {
|
|
55
|
+
validate: (prop, isValid, message) => (isArray(prop) || isString(prop)) && isBoolean(isValid) && isString(message)
|
|
56
|
+
};
|
|
157
57
|
|
|
158
|
-
export {
|
|
58
|
+
export { formEmits, formMetaProps, formProps };
|
|
159
59
|
//# sourceMappingURL=form.mjs.map
|