@element-plus/nightly 0.0.20221120 → 0.0.20221122
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/attributes.json +1 -1
- package/dist/index.css +1 -1
- package/dist/index.full.js +68 -41
- package/dist/index.full.min.js +13 -13
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +13 -13
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +67 -40
- 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 +109 -24
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +109 -24
- package/es/components/cascader/index.d.ts +142 -32
- package/es/components/cascader/src/index.vue.d.ts +71 -16
- package/es/components/col/index.d.ts +1 -1
- package/es/components/col/src/col.mjs.map +1 -1
- package/es/components/col/src/col.vue.d.ts +1 -1
- package/es/components/col/src/col2.mjs +9 -9
- package/es/components/col/src/col2.mjs.map +1 -1
- package/es/components/color-picker/index.d.ts +109 -24
- package/es/components/color-picker/src/color-picker.vue.d.ts +109 -24
- package/es/components/container/src/aside.mjs.map +1 -1
- package/es/components/container/src/aside.vue.d.ts +9 -0
- package/es/components/container/src/container.mjs.map +1 -1
- package/es/components/container/src/container.vue.d.ts +9 -0
- package/es/components/container/src/footer.mjs.map +1 -1
- package/es/components/container/src/footer.vue.d.ts +9 -0
- package/es/components/container/src/header.mjs.map +1 -1
- package/es/components/container/src/header.vue.d.ts +9 -0
- package/es/components/dropdown/index.d.ts +71 -16
- package/es/components/dropdown/src/dropdown.vue.d.ts +71 -16
- package/es/components/icon/src/icon.mjs.map +1 -1
- package/es/components/input-number/index.d.ts +1 -1
- package/es/components/input-number/src/input-number.vue.d.ts +1 -1
- package/es/components/input-number/src/input-number2.mjs +14 -4
- package/es/components/input-number/src/input-number2.mjs.map +1 -1
- package/es/components/link/index.d.ts +1 -0
- package/es/components/link/src/link.mjs.map +1 -1
- package/es/components/link/src/link.vue.d.ts +1 -0
- package/es/components/link/src/link2.mjs +8 -7
- package/es/components/link/src/link2.mjs.map +1 -1
- package/es/components/pagination/src/components/prev.mjs +18 -34
- package/es/components/pagination/src/components/prev.mjs.map +1 -1
- package/es/components/pagination/src/components/prev2.mjs +34 -18
- package/es/components/pagination/src/components/prev2.mjs.map +1 -1
- package/es/components/pagination/src/components/sizes.vue.d.ts +71 -16
- package/es/components/pagination/src/pagination.mjs +1 -1
- package/es/components/popconfirm/index.d.ts +109 -24
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +109 -24
- package/es/components/popover/index.d.ts +109 -24
- package/es/components/popover/src/popover.vue.d.ts +109 -24
- package/es/components/row/index.d.ts +1 -0
- package/es/components/row/src/row.mjs.map +1 -1
- package/es/components/row/src/row.vue.d.ts +1 -0
- package/es/components/row/src/row2.mjs +6 -5
- package/es/components/row/src/row2.mjs.map +1 -1
- package/es/components/select/index.d.ts +71 -16
- package/es/components/select/src/select.vue.d.ts +71 -16
- package/es/components/select/src/useSelect.d.ts +71 -16
- package/es/components/select-v2/index.d.ts +142 -32
- package/es/components/select-v2/src/select.vue.d.ts +71 -16
- package/es/components/select-v2/src/useSelect.d.ts +71 -16
- package/es/components/slider/index.d.ts +191 -41
- package/es/components/slider/src/button.vue.d.ts +38 -8
- package/es/components/slider/src/composables/use-slide.d.ts +152 -32
- package/es/components/slider/src/slider.vue.d.ts +191 -41
- package/es/components/space/src/space.d.ts +3 -2
- package/es/components/space/src/space.mjs +1 -1
- package/es/components/space/src/space.mjs.map +1 -1
- package/es/components/table/src/filter-panel.vue.d.ts +71 -16
- package/es/components/time-picker/src/common/picker.vue.d.ts +109 -24
- package/es/components/time-select/index.d.ts +284 -64
- package/es/components/time-select/src/time-select.vue.d.ts +142 -32
- package/es/components/tooltip/index.d.ts +38 -8
- package/es/components/tooltip/src/content.d.ts +6 -1
- package/es/components/tooltip/src/content.mjs +1 -3
- package/es/components/tooltip/src/content.mjs.map +1 -1
- package/es/components/tooltip/src/content.vue.d.ts +20 -4
- package/es/components/tooltip/src/content2.mjs +8 -3
- package/es/components/tooltip/src/content2.mjs.map +1 -1
- package/es/components/tooltip/src/tooltip.d.ts +6 -1
- package/es/components/tooltip/src/tooltip.vue.d.ts +39 -11
- package/es/hooks/index.mjs +2 -2
- package/es/hooks/use-id/index.d.ts +1 -0
- package/es/hooks/use-id/index.mjs +6 -3
- package/es/hooks/use-id/index.mjs.map +1 -1
- package/es/hooks/use-popper-container/index.d.ts +4 -2
- package/es/hooks/use-popper-container/index.mjs +20 -11
- package/es/hooks/use-popper-container/index.mjs.map +1 -1
- package/es/index.mjs +2 -2
- 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.d.ts +109 -24
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +109 -24
- package/lib/components/cascader/index.d.ts +142 -32
- package/lib/components/cascader/src/index.vue.d.ts +71 -16
- package/lib/components/col/index.d.ts +1 -1
- package/lib/components/col/src/col.js.map +1 -1
- package/lib/components/col/src/col.vue.d.ts +1 -1
- package/lib/components/col/src/col2.js +9 -9
- package/lib/components/col/src/col2.js.map +1 -1
- package/lib/components/color-picker/index.d.ts +109 -24
- package/lib/components/color-picker/src/color-picker.vue.d.ts +109 -24
- package/lib/components/container/src/aside.js.map +1 -1
- package/lib/components/container/src/aside.vue.d.ts +9 -0
- package/lib/components/container/src/container.js.map +1 -1
- package/lib/components/container/src/container.vue.d.ts +9 -0
- package/lib/components/container/src/footer.js.map +1 -1
- package/lib/components/container/src/footer.vue.d.ts +9 -0
- package/lib/components/container/src/header.js.map +1 -1
- package/lib/components/container/src/header.vue.d.ts +9 -0
- package/lib/components/dropdown/index.d.ts +71 -16
- package/lib/components/dropdown/src/dropdown.vue.d.ts +71 -16
- package/lib/components/icon/src/icon.js.map +1 -1
- package/lib/components/input-number/index.d.ts +1 -1
- package/lib/components/input-number/src/input-number.vue.d.ts +1 -1
- package/lib/components/input-number/src/input-number2.js +14 -4
- package/lib/components/input-number/src/input-number2.js.map +1 -1
- package/lib/components/link/index.d.ts +1 -0
- package/lib/components/link/src/link.js.map +1 -1
- package/lib/components/link/src/link.vue.d.ts +1 -0
- package/lib/components/link/src/link2.js +7 -6
- package/lib/components/link/src/link2.js.map +1 -1
- package/lib/components/pagination/src/components/prev.js +19 -34
- package/lib/components/pagination/src/components/prev.js.map +1 -1
- package/lib/components/pagination/src/components/prev2.js +34 -19
- package/lib/components/pagination/src/components/prev2.js.map +1 -1
- package/lib/components/pagination/src/components/sizes.vue.d.ts +71 -16
- package/lib/components/pagination/src/pagination.js +1 -1
- package/lib/components/popconfirm/index.d.ts +109 -24
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +109 -24
- package/lib/components/popover/index.d.ts +109 -24
- package/lib/components/popover/src/popover.vue.d.ts +109 -24
- package/lib/components/row/index.d.ts +1 -0
- package/lib/components/row/src/row.js.map +1 -1
- package/lib/components/row/src/row.vue.d.ts +1 -0
- package/lib/components/row/src/row2.js +6 -5
- package/lib/components/row/src/row2.js.map +1 -1
- package/lib/components/select/index.d.ts +71 -16
- package/lib/components/select/src/select.vue.d.ts +71 -16
- package/lib/components/select/src/useSelect.d.ts +71 -16
- package/lib/components/select-v2/index.d.ts +142 -32
- package/lib/components/select-v2/src/select.vue.d.ts +71 -16
- package/lib/components/select-v2/src/useSelect.d.ts +71 -16
- package/lib/components/slider/index.d.ts +191 -41
- package/lib/components/slider/src/button.vue.d.ts +38 -8
- package/lib/components/slider/src/composables/use-slide.d.ts +152 -32
- package/lib/components/slider/src/slider.vue.d.ts +191 -41
- package/lib/components/space/src/space.d.ts +3 -2
- package/lib/components/space/src/space.js +1 -1
- package/lib/components/space/src/space.js.map +1 -1
- package/lib/components/table/src/filter-panel.vue.d.ts +71 -16
- package/lib/components/time-picker/src/common/picker.vue.d.ts +109 -24
- package/lib/components/time-select/index.d.ts +284 -64
- package/lib/components/time-select/src/time-select.vue.d.ts +142 -32
- package/lib/components/tooltip/index.d.ts +38 -8
- package/lib/components/tooltip/src/content.d.ts +6 -1
- package/lib/components/tooltip/src/content.js +1 -3
- package/lib/components/tooltip/src/content.js.map +1 -1
- package/lib/components/tooltip/src/content.vue.d.ts +20 -4
- package/lib/components/tooltip/src/content2.js +7 -2
- package/lib/components/tooltip/src/content2.js.map +1 -1
- package/lib/components/tooltip/src/tooltip.d.ts +6 -1
- package/lib/components/tooltip/src/tooltip.vue.d.ts +39 -11
- package/lib/hooks/index.js +2 -2
- package/lib/hooks/use-id/index.d.ts +1 -0
- package/lib/hooks/use-id/index.js +5 -1
- package/lib/hooks/use-id/index.js.map +1 -1
- package/lib/hooks/use-popper-container/index.d.ts +4 -2
- package/lib/hooks/use-popper-container/index.js +19 -11
- package/lib/hooks/use-popper-container/index.js.map +1 -1
- package/lib/index.js +2 -2
- 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/theme-chalk/el-pagination.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/pagination.scss +9 -1
- package/web-types.json +1 -1
|
@@ -93,7 +93,6 @@ export declare const ElDropdown: import("element-plus/es/utils").SFCWithInstall<
|
|
|
93
93
|
visible: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown>;
|
|
94
94
|
pure: boolean;
|
|
95
95
|
virtualTriggering: boolean;
|
|
96
|
-
appendTo: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>;
|
|
97
96
|
content: string;
|
|
98
97
|
rawContent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
99
98
|
transition: string;
|
|
@@ -161,7 +160,12 @@ export declare const ElDropdown: import("element-plus/es/utils").SFCWithInstall<
|
|
|
161
160
|
};
|
|
162
161
|
id: StringConstructor;
|
|
163
162
|
open: BooleanConstructor;
|
|
164
|
-
appendTo:
|
|
163
|
+
appendTo: {
|
|
164
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
165
|
+
readonly required: false;
|
|
166
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
167
|
+
__epPropKey: true;
|
|
168
|
+
};
|
|
165
169
|
content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
166
170
|
rawContent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
167
171
|
persistent: BooleanConstructor;
|
|
@@ -422,7 +426,7 @@ export declare const ElDropdown: import("element-plus/es/utils").SFCWithInstall<
|
|
|
422
426
|
role: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "group" | "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "navigation" | "tree", unknown, "tooltip", boolean>;
|
|
423
427
|
}>> & {
|
|
424
428
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
425
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "trigger" | "placement" | "offset" | "effect" | "showAfter" | "hideAfter" | "boundariesPadding" | "fallbackPlacements" | "gpuAcceleration" | "popperOptions" | "strategy" | "enterable" | "focusOnShow" | "trapping" | "stopPopperMouseEvent" | "visible" | "pure" | "virtualTriggering" | "
|
|
429
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "trigger" | "placement" | "offset" | "effect" | "showAfter" | "hideAfter" | "boundariesPadding" | "fallbackPlacements" | "gpuAcceleration" | "popperOptions" | "strategy" | "enterable" | "focusOnShow" | "trapping" | "stopPopperMouseEvent" | "visible" | "pure" | "virtualTriggering" | "content" | "rawContent" | "transition" | "teleported" | "persistent" | "open" | "role" | "triggerKeys" | "arrowOffset" | "showArrow">;
|
|
426
430
|
$attrs: {
|
|
427
431
|
[x: string]: unknown;
|
|
428
432
|
};
|
|
@@ -493,7 +497,12 @@ export declare const ElDropdown: import("element-plus/es/utils").SFCWithInstall<
|
|
|
493
497
|
};
|
|
494
498
|
id: StringConstructor;
|
|
495
499
|
open: BooleanConstructor;
|
|
496
|
-
appendTo:
|
|
500
|
+
appendTo: {
|
|
501
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
502
|
+
readonly required: false;
|
|
503
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
504
|
+
__epPropKey: true;
|
|
505
|
+
};
|
|
497
506
|
content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
498
507
|
rawContent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
499
508
|
persistent: BooleanConstructor;
|
|
@@ -812,7 +821,12 @@ export declare const ElDropdown: import("element-plus/es/utils").SFCWithInstall<
|
|
|
812
821
|
};
|
|
813
822
|
id: StringConstructor;
|
|
814
823
|
open: BooleanConstructor;
|
|
815
|
-
appendTo:
|
|
824
|
+
appendTo: {
|
|
825
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
826
|
+
readonly required: false;
|
|
827
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
828
|
+
__epPropKey: true;
|
|
829
|
+
};
|
|
816
830
|
content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
817
831
|
rawContent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
818
832
|
persistent: BooleanConstructor;
|
|
@@ -1525,7 +1539,12 @@ export declare const ElDropdown: import("element-plus/es/utils").SFCWithInstall<
|
|
|
1525
1539
|
readonly triggerKeys: string[];
|
|
1526
1540
|
}>;
|
|
1527
1541
|
ElTooltipContent: import("vue").DefineComponent<{
|
|
1528
|
-
readonly appendTo:
|
|
1542
|
+
readonly appendTo: {
|
|
1543
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
1544
|
+
readonly required: false;
|
|
1545
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1546
|
+
__epPropKey: true;
|
|
1547
|
+
};
|
|
1529
1548
|
readonly content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1530
1549
|
readonly rawContent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
1531
1550
|
readonly persistent: BooleanConstructor;
|
|
@@ -1787,7 +1806,12 @@ export declare const ElDropdown: import("element-plus/es/utils").SFCWithInstall<
|
|
|
1787
1806
|
readonly hideAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 200, boolean>;
|
|
1788
1807
|
}, {
|
|
1789
1808
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1790
|
-
readonly appendTo:
|
|
1809
|
+
readonly appendTo: {
|
|
1810
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
1811
|
+
readonly required: false;
|
|
1812
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1813
|
+
__epPropKey: true;
|
|
1814
|
+
};
|
|
1791
1815
|
readonly content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1792
1816
|
readonly rawContent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
1793
1817
|
readonly persistent: BooleanConstructor;
|
|
@@ -2050,6 +2074,7 @@ export declare const ElDropdown: import("element-plus/es/utils").SFCWithInstall<
|
|
|
2050
2074
|
}>> & {
|
|
2051
2075
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
2052
2076
|
}>>;
|
|
2077
|
+
selector: import("vue").ComputedRef<string>;
|
|
2053
2078
|
contentRef: any;
|
|
2054
2079
|
destroyed: import("vue").Ref<boolean>;
|
|
2055
2080
|
controlled: import("vue").Ref<boolean>;
|
|
@@ -2065,6 +2090,7 @@ export declare const ElDropdown: import("element-plus/es/utils").SFCWithInstall<
|
|
|
2065
2090
|
persistentRef: import("vue").ComputedRef<boolean>;
|
|
2066
2091
|
shouldRender: import("vue").ComputedRef<boolean>;
|
|
2067
2092
|
shouldShow: import("vue").ComputedRef<boolean>;
|
|
2093
|
+
appendTo: import("vue").ComputedRef<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
2068
2094
|
contentStyle: import("vue").ComputedRef<any>;
|
|
2069
2095
|
ariaHidden: import("vue").ComputedRef<boolean>;
|
|
2070
2096
|
onTransitionLeave: () => void;
|
|
@@ -2954,7 +2980,12 @@ export declare const ElDropdown: import("element-plus/es/utils").SFCWithInstall<
|
|
|
2954
2980
|
readonly virtualTriggering: boolean;
|
|
2955
2981
|
}>;
|
|
2956
2982
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
2957
|
-
readonly appendTo:
|
|
2983
|
+
readonly appendTo: {
|
|
2984
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
2985
|
+
readonly required: false;
|
|
2986
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2987
|
+
__epPropKey: true;
|
|
2988
|
+
};
|
|
2958
2989
|
readonly content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
2959
2990
|
readonly rawContent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
2960
2991
|
readonly persistent: BooleanConstructor;
|
|
@@ -3232,7 +3263,6 @@ export declare const ElDropdown: import("element-plus/es/utils").SFCWithInstall<
|
|
|
3232
3263
|
readonly visible: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown>;
|
|
3233
3264
|
readonly pure: boolean;
|
|
3234
3265
|
readonly virtualTriggering: boolean;
|
|
3235
|
-
readonly appendTo: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>;
|
|
3236
3266
|
readonly content: string;
|
|
3237
3267
|
readonly rawContent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3238
3268
|
readonly transition: string;
|
|
@@ -3259,7 +3289,6 @@ export declare const ElDropdown: import("element-plus/es/utils").SFCWithInstall<
|
|
|
3259
3289
|
visible: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown>;
|
|
3260
3290
|
pure: boolean;
|
|
3261
3291
|
virtualTriggering: boolean;
|
|
3262
|
-
appendTo: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>;
|
|
3263
3292
|
content: string;
|
|
3264
3293
|
rawContent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3265
3294
|
transition: string;
|
|
@@ -3347,7 +3376,12 @@ export declare const ElDropdown: import("element-plus/es/utils").SFCWithInstall<
|
|
|
3347
3376
|
};
|
|
3348
3377
|
id: StringConstructor;
|
|
3349
3378
|
open: BooleanConstructor;
|
|
3350
|
-
appendTo:
|
|
3379
|
+
appendTo: {
|
|
3380
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
3381
|
+
readonly required: false;
|
|
3382
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3383
|
+
__epPropKey: true;
|
|
3384
|
+
};
|
|
3351
3385
|
content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
3352
3386
|
rawContent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
3353
3387
|
persistent: BooleanConstructor;
|
|
@@ -3666,7 +3700,12 @@ export declare const ElDropdown: import("element-plus/es/utils").SFCWithInstall<
|
|
|
3666
3700
|
};
|
|
3667
3701
|
id: StringConstructor;
|
|
3668
3702
|
open: BooleanConstructor;
|
|
3669
|
-
appendTo:
|
|
3703
|
+
appendTo: {
|
|
3704
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
3705
|
+
readonly required: false;
|
|
3706
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3707
|
+
__epPropKey: true;
|
|
3708
|
+
};
|
|
3670
3709
|
content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
3671
3710
|
rawContent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
3672
3711
|
persistent: BooleanConstructor;
|
|
@@ -4379,7 +4418,12 @@ export declare const ElDropdown: import("element-plus/es/utils").SFCWithInstall<
|
|
|
4379
4418
|
readonly triggerKeys: string[];
|
|
4380
4419
|
}>;
|
|
4381
4420
|
ElTooltipContent: import("vue").DefineComponent<{
|
|
4382
|
-
readonly appendTo:
|
|
4421
|
+
readonly appendTo: {
|
|
4422
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
4423
|
+
readonly required: false;
|
|
4424
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4425
|
+
__epPropKey: true;
|
|
4426
|
+
};
|
|
4383
4427
|
readonly content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
4384
4428
|
readonly rawContent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
4385
4429
|
readonly persistent: BooleanConstructor;
|
|
@@ -4641,7 +4685,12 @@ export declare const ElDropdown: import("element-plus/es/utils").SFCWithInstall<
|
|
|
4641
4685
|
readonly hideAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 200, boolean>;
|
|
4642
4686
|
}, {
|
|
4643
4687
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
4644
|
-
readonly appendTo:
|
|
4688
|
+
readonly appendTo: {
|
|
4689
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
4690
|
+
readonly required: false;
|
|
4691
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4692
|
+
__epPropKey: true;
|
|
4693
|
+
};
|
|
4645
4694
|
readonly content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
4646
4695
|
readonly rawContent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
4647
4696
|
readonly persistent: BooleanConstructor;
|
|
@@ -4904,6 +4953,7 @@ export declare const ElDropdown: import("element-plus/es/utils").SFCWithInstall<
|
|
|
4904
4953
|
}>> & {
|
|
4905
4954
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
4906
4955
|
}>>;
|
|
4956
|
+
selector: import("vue").ComputedRef<string>;
|
|
4907
4957
|
contentRef: any;
|
|
4908
4958
|
destroyed: import("vue").Ref<boolean>;
|
|
4909
4959
|
controlled: import("vue").Ref<boolean>;
|
|
@@ -4919,6 +4969,7 @@ export declare const ElDropdown: import("element-plus/es/utils").SFCWithInstall<
|
|
|
4919
4969
|
persistentRef: import("vue").ComputedRef<boolean>;
|
|
4920
4970
|
shouldRender: import("vue").ComputedRef<boolean>;
|
|
4921
4971
|
shouldShow: import("vue").ComputedRef<boolean>;
|
|
4972
|
+
appendTo: import("vue").ComputedRef<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
4922
4973
|
contentStyle: import("vue").ComputedRef<any>;
|
|
4923
4974
|
ariaHidden: import("vue").ComputedRef<boolean>;
|
|
4924
4975
|
onTransitionLeave: () => void;
|
|
@@ -5808,7 +5859,12 @@ export declare const ElDropdown: import("element-plus/es/utils").SFCWithInstall<
|
|
|
5808
5859
|
readonly virtualTriggering: boolean;
|
|
5809
5860
|
}>;
|
|
5810
5861
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
5811
|
-
readonly appendTo:
|
|
5862
|
+
readonly appendTo: {
|
|
5863
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
5864
|
+
readonly required: false;
|
|
5865
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
5866
|
+
__epPropKey: true;
|
|
5867
|
+
};
|
|
5812
5868
|
readonly content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
5813
5869
|
readonly rawContent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
5814
5870
|
readonly persistent: BooleanConstructor;
|
|
@@ -6086,7 +6142,6 @@ export declare const ElDropdown: import("element-plus/es/utils").SFCWithInstall<
|
|
|
6086
6142
|
readonly visible: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown>;
|
|
6087
6143
|
readonly pure: boolean;
|
|
6088
6144
|
readonly virtualTriggering: boolean;
|
|
6089
|
-
readonly appendTo: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>;
|
|
6090
6145
|
readonly content: string;
|
|
6091
6146
|
readonly rawContent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
6092
6147
|
readonly transition: string;
|
|
@@ -94,7 +94,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
94
94
|
visible: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown>;
|
|
95
95
|
pure: boolean;
|
|
96
96
|
virtualTriggering: boolean;
|
|
97
|
-
appendTo: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>;
|
|
98
97
|
content: string;
|
|
99
98
|
rawContent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
100
99
|
transition: string;
|
|
@@ -162,7 +161,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
162
161
|
};
|
|
163
162
|
id: StringConstructor;
|
|
164
163
|
open: BooleanConstructor;
|
|
165
|
-
appendTo:
|
|
164
|
+
appendTo: {
|
|
165
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
166
|
+
readonly required: false;
|
|
167
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
168
|
+
__epPropKey: true;
|
|
169
|
+
};
|
|
166
170
|
content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
167
171
|
rawContent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
168
172
|
persistent: BooleanConstructor;
|
|
@@ -423,7 +427,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
423
427
|
role: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "group" | "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "navigation" | "tree", unknown, "tooltip", boolean>;
|
|
424
428
|
}>> & {
|
|
425
429
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
426
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "trigger" | "placement" | "offset" | "effect" | "showAfter" | "hideAfter" | "boundariesPadding" | "fallbackPlacements" | "gpuAcceleration" | "popperOptions" | "strategy" | "enterable" | "focusOnShow" | "trapping" | "stopPopperMouseEvent" | "visible" | "pure" | "virtualTriggering" | "
|
|
430
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "trigger" | "placement" | "offset" | "effect" | "showAfter" | "hideAfter" | "boundariesPadding" | "fallbackPlacements" | "gpuAcceleration" | "popperOptions" | "strategy" | "enterable" | "focusOnShow" | "trapping" | "stopPopperMouseEvent" | "visible" | "pure" | "virtualTriggering" | "content" | "rawContent" | "transition" | "teleported" | "persistent" | "open" | "role" | "triggerKeys" | "arrowOffset" | "showArrow">;
|
|
427
431
|
$attrs: {
|
|
428
432
|
[x: string]: unknown;
|
|
429
433
|
};
|
|
@@ -494,7 +498,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
494
498
|
};
|
|
495
499
|
id: StringConstructor;
|
|
496
500
|
open: BooleanConstructor;
|
|
497
|
-
appendTo:
|
|
501
|
+
appendTo: {
|
|
502
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
503
|
+
readonly required: false;
|
|
504
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
505
|
+
__epPropKey: true;
|
|
506
|
+
};
|
|
498
507
|
content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
499
508
|
rawContent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
500
509
|
persistent: BooleanConstructor;
|
|
@@ -813,7 +822,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
813
822
|
};
|
|
814
823
|
id: StringConstructor;
|
|
815
824
|
open: BooleanConstructor;
|
|
816
|
-
appendTo:
|
|
825
|
+
appendTo: {
|
|
826
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
827
|
+
readonly required: false;
|
|
828
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
829
|
+
__epPropKey: true;
|
|
830
|
+
};
|
|
817
831
|
content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
818
832
|
rawContent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
819
833
|
persistent: BooleanConstructor;
|
|
@@ -1526,7 +1540,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1526
1540
|
readonly triggerKeys: string[];
|
|
1527
1541
|
}>;
|
|
1528
1542
|
ElTooltipContent: import("vue").DefineComponent<{
|
|
1529
|
-
readonly appendTo:
|
|
1543
|
+
readonly appendTo: {
|
|
1544
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
1545
|
+
readonly required: false;
|
|
1546
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1547
|
+
__epPropKey: true;
|
|
1548
|
+
};
|
|
1530
1549
|
readonly content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1531
1550
|
readonly rawContent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
1532
1551
|
readonly persistent: BooleanConstructor;
|
|
@@ -1788,7 +1807,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1788
1807
|
readonly hideAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 200, boolean>;
|
|
1789
1808
|
}, {
|
|
1790
1809
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1791
|
-
readonly appendTo:
|
|
1810
|
+
readonly appendTo: {
|
|
1811
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
1812
|
+
readonly required: false;
|
|
1813
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1814
|
+
__epPropKey: true;
|
|
1815
|
+
};
|
|
1792
1816
|
readonly content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1793
1817
|
readonly rawContent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
1794
1818
|
readonly persistent: BooleanConstructor;
|
|
@@ -2051,6 +2075,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2051
2075
|
}>> & {
|
|
2052
2076
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
2053
2077
|
}>>;
|
|
2078
|
+
selector: import("vue").ComputedRef<string>;
|
|
2054
2079
|
contentRef: any;
|
|
2055
2080
|
destroyed: import("vue").Ref<boolean>;
|
|
2056
2081
|
controlled: import("vue").Ref<boolean>;
|
|
@@ -2066,6 +2091,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2066
2091
|
persistentRef: import("vue").ComputedRef<boolean>;
|
|
2067
2092
|
shouldRender: import("vue").ComputedRef<boolean>;
|
|
2068
2093
|
shouldShow: import("vue").ComputedRef<boolean>;
|
|
2094
|
+
appendTo: import("vue").ComputedRef<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
2069
2095
|
contentStyle: import("vue").ComputedRef<any>;
|
|
2070
2096
|
ariaHidden: import("vue").ComputedRef<boolean>;
|
|
2071
2097
|
onTransitionLeave: () => void;
|
|
@@ -2955,7 +2981,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2955
2981
|
readonly virtualTriggering: boolean;
|
|
2956
2982
|
}>;
|
|
2957
2983
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
2958
|
-
readonly appendTo:
|
|
2984
|
+
readonly appendTo: {
|
|
2985
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
2986
|
+
readonly required: false;
|
|
2987
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2988
|
+
__epPropKey: true;
|
|
2989
|
+
};
|
|
2959
2990
|
readonly content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
2960
2991
|
readonly rawContent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
2961
2992
|
readonly persistent: BooleanConstructor;
|
|
@@ -3233,7 +3264,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3233
3264
|
readonly visible: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown>;
|
|
3234
3265
|
readonly pure: boolean;
|
|
3235
3266
|
readonly virtualTriggering: boolean;
|
|
3236
|
-
readonly appendTo: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>;
|
|
3237
3267
|
readonly content: string;
|
|
3238
3268
|
readonly rawContent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3239
3269
|
readonly transition: string;
|
|
@@ -3260,7 +3290,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3260
3290
|
visible: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown>;
|
|
3261
3291
|
pure: boolean;
|
|
3262
3292
|
virtualTriggering: boolean;
|
|
3263
|
-
appendTo: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>;
|
|
3264
3293
|
content: string;
|
|
3265
3294
|
rawContent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3266
3295
|
transition: string;
|
|
@@ -3348,7 +3377,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3348
3377
|
};
|
|
3349
3378
|
id: StringConstructor;
|
|
3350
3379
|
open: BooleanConstructor;
|
|
3351
|
-
appendTo:
|
|
3380
|
+
appendTo: {
|
|
3381
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
3382
|
+
readonly required: false;
|
|
3383
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3384
|
+
__epPropKey: true;
|
|
3385
|
+
};
|
|
3352
3386
|
content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
3353
3387
|
rawContent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
3354
3388
|
persistent: BooleanConstructor;
|
|
@@ -3667,7 +3701,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3667
3701
|
};
|
|
3668
3702
|
id: StringConstructor;
|
|
3669
3703
|
open: BooleanConstructor;
|
|
3670
|
-
appendTo:
|
|
3704
|
+
appendTo: {
|
|
3705
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
3706
|
+
readonly required: false;
|
|
3707
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3708
|
+
__epPropKey: true;
|
|
3709
|
+
};
|
|
3671
3710
|
content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
3672
3711
|
rawContent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
3673
3712
|
persistent: BooleanConstructor;
|
|
@@ -4380,7 +4419,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4380
4419
|
readonly triggerKeys: string[];
|
|
4381
4420
|
}>;
|
|
4382
4421
|
ElTooltipContent: import("vue").DefineComponent<{
|
|
4383
|
-
readonly appendTo:
|
|
4422
|
+
readonly appendTo: {
|
|
4423
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
4424
|
+
readonly required: false;
|
|
4425
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4426
|
+
__epPropKey: true;
|
|
4427
|
+
};
|
|
4384
4428
|
readonly content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
4385
4429
|
readonly rawContent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
4386
4430
|
readonly persistent: BooleanConstructor;
|
|
@@ -4642,7 +4686,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4642
4686
|
readonly hideAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 200, boolean>;
|
|
4643
4687
|
}, {
|
|
4644
4688
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
4645
|
-
readonly appendTo:
|
|
4689
|
+
readonly appendTo: {
|
|
4690
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
4691
|
+
readonly required: false;
|
|
4692
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4693
|
+
__epPropKey: true;
|
|
4694
|
+
};
|
|
4646
4695
|
readonly content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
4647
4696
|
readonly rawContent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
4648
4697
|
readonly persistent: BooleanConstructor;
|
|
@@ -4905,6 +4954,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4905
4954
|
}>> & {
|
|
4906
4955
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
4907
4956
|
}>>;
|
|
4957
|
+
selector: import("vue").ComputedRef<string>;
|
|
4908
4958
|
contentRef: any;
|
|
4909
4959
|
destroyed: import("vue").Ref<boolean>;
|
|
4910
4960
|
controlled: import("vue").Ref<boolean>;
|
|
@@ -4920,6 +4970,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4920
4970
|
persistentRef: import("vue").ComputedRef<boolean>;
|
|
4921
4971
|
shouldRender: import("vue").ComputedRef<boolean>;
|
|
4922
4972
|
shouldShow: import("vue").ComputedRef<boolean>;
|
|
4973
|
+
appendTo: import("vue").ComputedRef<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
4923
4974
|
contentStyle: import("vue").ComputedRef<any>;
|
|
4924
4975
|
ariaHidden: import("vue").ComputedRef<boolean>;
|
|
4925
4976
|
onTransitionLeave: () => void;
|
|
@@ -5809,7 +5860,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5809
5860
|
readonly virtualTriggering: boolean;
|
|
5810
5861
|
}>;
|
|
5811
5862
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
5812
|
-
readonly appendTo:
|
|
5863
|
+
readonly appendTo: {
|
|
5864
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
5865
|
+
readonly required: false;
|
|
5866
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
5867
|
+
__epPropKey: true;
|
|
5868
|
+
};
|
|
5813
5869
|
readonly content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
5814
5870
|
readonly rawContent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
5815
5871
|
readonly persistent: BooleanConstructor;
|
|
@@ -6087,7 +6143,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6087
6143
|
readonly visible: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown>;
|
|
6088
6144
|
readonly pure: boolean;
|
|
6089
6145
|
readonly virtualTriggering: boolean;
|
|
6090
|
-
readonly appendTo: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>;
|
|
6091
6146
|
readonly content: string;
|
|
6092
6147
|
readonly rawContent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
6093
6148
|
readonly transition: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon.mjs","sources":["../../../../../../packages/components/icon/src/icon.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\nimport type { ExtractPropTypes } from 'vue'\nimport type Icon from './icon.vue'\n\nexport const iconProps = buildProps({\n size: {\n type: definePropType<number | string>([Number, String]),\n },\n color: {\n type: String,\n },\n} as const)\nexport type IconProps = ExtractPropTypes<typeof iconProps>\nexport type IconInstance = InstanceType<typeof Icon>\n"],"names":[],"mappings":";;;AACY,MAAC,SAAS,GAAG,UAAU,CAAC;AACpC,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,cAAc,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC1C,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,GAAG;AACH,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"icon.mjs","sources":["../../../../../../packages/components/icon/src/icon.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\nimport type { ExtractPropTypes } from 'vue'\nimport type Icon from './icon.vue'\n\nexport const iconProps = buildProps({\n /**\n * @description SVG icon size, size x size\n */\n size: {\n type: definePropType<number | string>([Number, String]),\n },\n /**\n * @description SVG tag's fill attribute\n */\n color: {\n type: String,\n },\n} as const)\nexport type IconProps = ExtractPropTypes<typeof iconProps>\nexport type IconInstance = InstanceType<typeof Icon>\n"],"names":[],"mappings":";;;AACY,MAAC,SAAS,GAAG,UAAU,CAAC;AACpC,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,cAAc,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC1C,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,GAAG;AACH,CAAC;;;;"}
|
|
@@ -888,7 +888,7 @@ export declare const ElInputNumber: import("element-plus/es/utils").SFCWithInsta
|
|
|
888
888
|
increase: () => void;
|
|
889
889
|
decrease: () => void;
|
|
890
890
|
verifyValue: (value: string | number | null | undefined, update?: boolean | undefined) => number | null | undefined;
|
|
891
|
-
setCurrentValue: (value: string | number | null | undefined) => void;
|
|
891
|
+
setCurrentValue: (value: string | number | null | undefined, emitChange?: boolean) => void;
|
|
892
892
|
handleInput: (value: string) => void;
|
|
893
893
|
handleInputChange: (value: string) => void;
|
|
894
894
|
focus: () => void;
|
|
@@ -888,7 +888,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
888
888
|
increase: () => void;
|
|
889
889
|
decrease: () => void;
|
|
890
890
|
verifyValue: (value: number | string | null | undefined, update?: boolean | undefined) => number | null | undefined;
|
|
891
|
-
setCurrentValue: (value: number | string | null | undefined) => void;
|
|
891
|
+
setCurrentValue: (value: number | string | null | undefined, emitChange?: boolean) => void;
|
|
892
892
|
handleInput: (value: string) => void;
|
|
893
893
|
handleInputChange: (value: string) => void;
|
|
894
894
|
focus: () => void;
|
|
@@ -148,12 +148,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
148
148
|
}
|
|
149
149
|
return newVal;
|
|
150
150
|
};
|
|
151
|
-
const setCurrentValue = (value) => {
|
|
151
|
+
const setCurrentValue = (value, emitChange = true) => {
|
|
152
152
|
var _a;
|
|
153
153
|
const oldVal = data.currentValue;
|
|
154
154
|
const newVal = verifyValue(value);
|
|
155
155
|
if (oldVal === newVal)
|
|
156
156
|
return;
|
|
157
|
+
if (!emitChange) {
|
|
158
|
+
emit(UPDATE_MODEL_EVENT, newVal);
|
|
159
|
+
return;
|
|
160
|
+
}
|
|
157
161
|
data.userInput = null;
|
|
158
162
|
emit(UPDATE_MODEL_EVENT, newVal);
|
|
159
163
|
emit(CHANGE_EVENT, newVal, oldVal);
|
|
@@ -164,7 +168,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
164
168
|
};
|
|
165
169
|
const handleInput = (value) => {
|
|
166
170
|
data.userInput = value;
|
|
167
|
-
|
|
171
|
+
const newVal = value === "" ? null : Number(value);
|
|
172
|
+
emit(INPUT_EVENT, newVal);
|
|
173
|
+
setCurrentValue(newVal, false);
|
|
168
174
|
};
|
|
169
175
|
const handleInputChange = (value) => {
|
|
170
176
|
const newVal = value !== "" ? Number(value) : "";
|
|
@@ -192,8 +198,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
192
198
|
}
|
|
193
199
|
};
|
|
194
200
|
watch(() => props.modelValue, (value) => {
|
|
195
|
-
|
|
196
|
-
|
|
201
|
+
const userInput = verifyValue(data.userInput);
|
|
202
|
+
const newValue = verifyValue(value, true);
|
|
203
|
+
if (!userInput || userInput !== newValue) {
|
|
204
|
+
data.currentValue = newValue;
|
|
205
|
+
data.userInput = null;
|
|
206
|
+
}
|
|
197
207
|
}, { immediate: true });
|
|
198
208
|
onMounted(() => {
|
|
199
209
|
var _a;
|