@element-plus/nightly 0.0.20220203 → 0.0.20220204
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.full.js +143 -91
- package/dist/index.full.min.js +6 -6
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +6 -6
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +142 -92
- 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/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/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 +12 -4
- package/es/components/autocomplete/src/index.mjs +11 -4
- package/es/components/autocomplete/src/index.mjs.map +1 -1
- package/es/components/autocomplete/src/index.vue.d.ts +6 -2
- package/es/components/cascader/index.d.ts +12 -4
- package/es/components/cascader/src/index.mjs +12 -5
- package/es/components/cascader/src/index.mjs.map +1 -1
- package/es/components/cascader/src/index.vue.d.ts +6 -2
- package/es/components/index.mjs +1 -0
- package/es/components/index.mjs.map +1 -1
- package/es/components/popconfirm/index.d.ts +26 -22
- package/es/components/popconfirm/src/popconfirm.d.ts +12 -11
- package/es/components/popconfirm/src/popconfirm.mjs +48 -43
- package/es/components/popconfirm/src/popconfirm.mjs.map +1 -1
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +26 -22
- package/es/components/popconfirm/src/popconfirm2.mjs +8 -3
- package/es/components/popconfirm/src/popconfirm2.mjs.map +1 -1
- package/es/components/popover/index.d.ts +26 -0
- package/es/components/popover/src/index.mjs +8 -3
- package/es/components/popover/src/index.mjs.map +1 -1
- package/es/components/popover/src/index.vue.d.ts +39 -26
- package/es/components/popover/src/popover.d.ts +5 -0
- package/es/components/popover/src/popover.mjs +2 -0
- package/es/components/popover/src/popover.mjs.map +1 -1
- package/es/components/popper/index.d.ts +1 -0
- package/es/components/popper/index.mjs +1 -0
- package/es/components/popper/index.mjs.map +1 -1
- package/es/components/popper/src/deprecation.d.ts +3 -0
- package/es/components/popper/src/deprecation.mjs +24 -0
- package/es/components/popper/src/deprecation.mjs.map +1 -0
- package/es/components/select/index.d.ts +6 -2
- package/es/components/select/src/select.mjs +13 -6
- package/es/components/select/src/select.mjs.map +1 -1
- package/es/components/select/src/select.vue.d.ts +30 -26
- package/es/components/select-v2/index.d.ts +12 -12
- package/es/components/select-v2/src/defaults.d.ts +2 -1
- package/es/components/select-v2/src/defaults.mjs +4 -1
- package/es/components/select-v2/src/defaults.mjs.map +1 -1
- package/es/components/select-v2/src/select.mjs +2 -2
- package/es/components/select-v2/src/select.mjs.map +1 -1
- package/es/components/select-v2/src/select.vue.d.ts +6 -6
- package/es/components/select-v2/src/useSelect.d.ts +1 -4
- package/es/components/select-v2/src/useSelect.mjs +4 -2
- package/es/components/select-v2/src/useSelect.mjs.map +1 -1
- package/es/hooks/index.d.ts +1 -0
- package/es/hooks/index.mjs +1 -0
- package/es/hooks/index.mjs.map +1 -1
- package/es/hooks/use-deprecated/index.d.ts +10 -0
- package/es/hooks/use-deprecated/index.mjs +17 -0
- package/es/hooks/use-deprecated/index.mjs.map +1 -0
- package/es/index.mjs +2 -0
- package/es/index.mjs.map +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/autocomplete/index.d.ts +12 -4
- package/lib/components/autocomplete/src/index.js +11 -4
- package/lib/components/autocomplete/src/index.js.map +1 -1
- package/lib/components/autocomplete/src/index.vue.d.ts +6 -2
- package/lib/components/cascader/index.d.ts +12 -4
- package/lib/components/cascader/src/index.js +12 -5
- package/lib/components/cascader/src/index.js.map +1 -1
- package/lib/components/cascader/src/index.vue.d.ts +6 -2
- package/lib/components/index.js +2 -0
- package/lib/components/index.js.map +1 -1
- package/lib/components/popconfirm/index.d.ts +26 -22
- package/lib/components/popconfirm/src/popconfirm.d.ts +12 -11
- package/lib/components/popconfirm/src/popconfirm.js +48 -43
- package/lib/components/popconfirm/src/popconfirm.js.map +1 -1
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +26 -22
- package/lib/components/popconfirm/src/popconfirm2.js +8 -3
- package/lib/components/popconfirm/src/popconfirm2.js.map +1 -1
- package/lib/components/popover/index.d.ts +26 -0
- package/lib/components/popover/src/index.js +8 -3
- package/lib/components/popover/src/index.js.map +1 -1
- package/lib/components/popover/src/index.vue.d.ts +39 -26
- package/lib/components/popover/src/popover.d.ts +5 -0
- package/lib/components/popover/src/popover.js +2 -0
- package/lib/components/popover/src/popover.js.map +1 -1
- package/lib/components/popper/index.d.ts +1 -0
- package/lib/components/popper/index.js +2 -0
- package/lib/components/popper/index.js.map +1 -1
- package/lib/components/popper/src/deprecation.d.ts +3 -0
- package/lib/components/popper/src/deprecation.js +28 -0
- package/lib/components/popper/src/deprecation.js.map +1 -0
- package/lib/components/select/index.d.ts +6 -2
- package/lib/components/select/src/select.js +13 -6
- package/lib/components/select/src/select.js.map +1 -1
- package/lib/components/select/src/select.vue.d.ts +30 -26
- package/lib/components/select-v2/index.d.ts +12 -12
- package/lib/components/select-v2/src/defaults.d.ts +2 -1
- package/lib/components/select-v2/src/defaults.js +4 -1
- package/lib/components/select-v2/src/defaults.js.map +1 -1
- package/lib/components/select-v2/src/select.js +2 -2
- package/lib/components/select-v2/src/select.js.map +1 -1
- package/lib/components/select-v2/src/select.vue.d.ts +6 -6
- package/lib/components/select-v2/src/useSelect.d.ts +1 -4
- package/lib/components/select-v2/src/useSelect.js +11 -9
- package/lib/components/select-v2/src/useSelect.js.map +1 -1
- package/lib/hooks/index.d.ts +1 -0
- package/lib/hooks/index.js +62 -60
- package/lib/hooks/index.js.map +1 -1
- package/lib/hooks/use-deprecated/index.d.ts +10 -0
- package/lib/hooks/use-deprecated/index.js +21 -0
- package/lib/hooks/use-deprecated/index.js.map +1 -0
- package/lib/index.js +64 -60
- package/lib/index.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +2 -2
- package/tags.json +1 -1
- package/web-types.json +1 -1
package/dist/index.full.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Element Plus v0.0.
|
|
1
|
+
/*! Element Plus v0.0.20220204 */
|
|
2
2
|
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
|
|
@@ -3019,6 +3019,13 @@
|
|
|
3019
3019
|
return vue.computed(() => disabled.value || vue.unref(fallback) || (form == null ? void 0 : form.disabled) || false);
|
|
3020
3020
|
};
|
|
3021
3021
|
|
|
3022
|
+
const useDeprecated = ({ from, replacement, scope, version, ref }, condition) => {
|
|
3023
|
+
vue.watch(() => vue.unref(condition), (val) => {
|
|
3024
|
+
}, {
|
|
3025
|
+
immediate: true
|
|
3026
|
+
});
|
|
3027
|
+
};
|
|
3028
|
+
|
|
3022
3029
|
const useDraggable = (targetRef, dragRef, draggable) => {
|
|
3023
3030
|
let transform = {
|
|
3024
3031
|
offsetX: 0,
|
|
@@ -4604,7 +4611,7 @@
|
|
|
4604
4611
|
});
|
|
4605
4612
|
}
|
|
4606
4613
|
|
|
4607
|
-
const version$1 = "0.0.
|
|
4614
|
+
const version$1 = "0.0.20220204";
|
|
4608
4615
|
|
|
4609
4616
|
const INSTALLED_KEY = Symbol("INSTALLED_KEY");
|
|
4610
4617
|
const makeInstaller = (components = []) => {
|
|
@@ -7007,15 +7014,15 @@
|
|
|
7007
7014
|
always: Boolean
|
|
7008
7015
|
});
|
|
7009
7016
|
|
|
7010
|
-
const COMPONENT_NAME$
|
|
7017
|
+
const COMPONENT_NAME$f = "Thumb";
|
|
7011
7018
|
const _sfc_main$26 = vue.defineComponent({
|
|
7012
|
-
name: COMPONENT_NAME$
|
|
7019
|
+
name: COMPONENT_NAME$f,
|
|
7013
7020
|
props: thumbProps,
|
|
7014
7021
|
setup(props) {
|
|
7015
7022
|
const scrollbar = vue.inject(scrollbarContextKey);
|
|
7016
7023
|
const ns = useNamespace("scrollbar");
|
|
7017
7024
|
if (!scrollbar)
|
|
7018
|
-
throwError(COMPONENT_NAME$
|
|
7025
|
+
throwError(COMPONENT_NAME$f, "can not inject scrollbar context");
|
|
7019
7026
|
const instance = vue.ref();
|
|
7020
7027
|
const thumb = vue.ref();
|
|
7021
7028
|
const thumbState = vue.ref({});
|
|
@@ -9322,9 +9329,9 @@
|
|
|
9322
9329
|
}
|
|
9323
9330
|
var ElPopperArrow = /* @__PURE__ */ _export_sfc$1(_sfc_main$22, [["render", _sfc_render$1Z]]);
|
|
9324
9331
|
|
|
9325
|
-
const NAME
|
|
9332
|
+
const NAME = "ElOnlyChild";
|
|
9326
9333
|
const OnlyChild = vue.defineComponent({
|
|
9327
|
-
name: NAME
|
|
9334
|
+
name: NAME,
|
|
9328
9335
|
setup(_, { slots, attrs }) {
|
|
9329
9336
|
var _a;
|
|
9330
9337
|
const forwardRefInjection = vue.inject(FORWARD_REF_INJECTION_KEY, void 0);
|
|
@@ -9603,6 +9610,23 @@
|
|
|
9603
9610
|
}
|
|
9604
9611
|
var ElPopperContent = /* @__PURE__ */ _export_sfc$1(_sfc_main$20, [["render", _sfc_render$1X]]);
|
|
9605
9612
|
|
|
9613
|
+
function useDeprecateAppendToBody(scope, from) {
|
|
9614
|
+
const vm = vue.getCurrentInstance();
|
|
9615
|
+
const compatTeleported = vue.computed(() => {
|
|
9616
|
+
return isBool(vm.props[from]) ? vm.props[from] : vm.props.teleported;
|
|
9617
|
+
});
|
|
9618
|
+
useDeprecated({
|
|
9619
|
+
scope,
|
|
9620
|
+
from,
|
|
9621
|
+
replacement: "teleported",
|
|
9622
|
+
version: "2.1.0",
|
|
9623
|
+
ref: "https://element-plus.org/en-US/component/tooltip.html#attributes"
|
|
9624
|
+
}, vue.computed(() => isBool(vm.props[from])));
|
|
9625
|
+
return {
|
|
9626
|
+
compatTeleported
|
|
9627
|
+
};
|
|
9628
|
+
}
|
|
9629
|
+
|
|
9606
9630
|
const ElPopper = withInstall(Popper);
|
|
9607
9631
|
|
|
9608
9632
|
const _sfc_main$1$ = vue.defineComponent({
|
|
@@ -10085,8 +10109,9 @@
|
|
|
10085
10109
|
|
|
10086
10110
|
const ElTooltip = withInstall(Tooltip);
|
|
10087
10111
|
|
|
10112
|
+
const COMPONENT_NAME$e = "ElAutocomplete";
|
|
10088
10113
|
const _sfc_main$1X = vue.defineComponent({
|
|
10089
|
-
name:
|
|
10114
|
+
name: COMPONENT_NAME$e,
|
|
10090
10115
|
components: {
|
|
10091
10116
|
ElTooltip,
|
|
10092
10117
|
ElInput,
|
|
@@ -10147,8 +10172,9 @@
|
|
|
10147
10172
|
},
|
|
10148
10173
|
popperAppendToBody: {
|
|
10149
10174
|
type: Boolean,
|
|
10150
|
-
default:
|
|
10175
|
+
default: void 0
|
|
10151
10176
|
},
|
|
10177
|
+
teleported: useTooltipContentProps.teleported,
|
|
10152
10178
|
highlightFirstItem: {
|
|
10153
10179
|
type: Boolean,
|
|
10154
10180
|
default: false
|
|
@@ -10165,6 +10191,7 @@
|
|
|
10165
10191
|
],
|
|
10166
10192
|
setup(props, ctx) {
|
|
10167
10193
|
const ns = useNamespace("autocomplete");
|
|
10194
|
+
const { compatTeleported } = useDeprecateAppendToBody(COMPONENT_NAME$e, "popperAppendToBody");
|
|
10168
10195
|
const attrs = useAttrs();
|
|
10169
10196
|
const suggestions = vue.ref([]);
|
|
10170
10197
|
const highlightedIndex = vue.ref(-1);
|
|
@@ -10312,6 +10339,7 @@
|
|
|
10312
10339
|
id,
|
|
10313
10340
|
suggestionVisible,
|
|
10314
10341
|
suggestionLoading,
|
|
10342
|
+
compatTeleported,
|
|
10315
10343
|
getData,
|
|
10316
10344
|
handleInput,
|
|
10317
10345
|
handleChange,
|
|
@@ -10345,7 +10373,7 @@
|
|
|
10345
10373
|
placement: _ctx.placement,
|
|
10346
10374
|
"fallback-placements": ["bottom-start", "top-start"],
|
|
10347
10375
|
"popper-class": `${_ctx.ns.e("popper")} ${_ctx.popperClass}`,
|
|
10348
|
-
|
|
10376
|
+
teleported: _ctx.compatTeleported,
|
|
10349
10377
|
"gpu-acceleration": false,
|
|
10350
10378
|
pure: "",
|
|
10351
10379
|
"manual-mode": "",
|
|
@@ -10449,7 +10477,7 @@
|
|
|
10449
10477
|
])
|
|
10450
10478
|
]),
|
|
10451
10479
|
_: 3
|
|
10452
|
-
}, 8, ["visible", "placement", "popper-class", "
|
|
10480
|
+
}, 8, ["visible", "placement", "popper-class", "teleported", "transition", "onShow"]);
|
|
10453
10481
|
}
|
|
10454
10482
|
var Autocomplete = /* @__PURE__ */ _export_sfc$1(_sfc_main$1X, [["render", _sfc_render$1S]]);
|
|
10455
10483
|
|
|
@@ -10584,9 +10612,9 @@
|
|
|
10584
10612
|
click: (evt) => evt instanceof MouseEvent
|
|
10585
10613
|
};
|
|
10586
10614
|
|
|
10587
|
-
const COMPONENT_NAME$
|
|
10615
|
+
const COMPONENT_NAME$d = "ElBacktop";
|
|
10588
10616
|
const _sfc_main$1V = vue.defineComponent({
|
|
10589
|
-
name: COMPONENT_NAME$
|
|
10617
|
+
name: COMPONENT_NAME$d,
|
|
10590
10618
|
components: {
|
|
10591
10619
|
ElIcon,
|
|
10592
10620
|
CaretTop: caretTop
|
|
@@ -10632,7 +10660,7 @@
|
|
|
10632
10660
|
if (props.target) {
|
|
10633
10661
|
el.value = (_a = document.querySelector(props.target)) != null ? _a : void 0;
|
|
10634
10662
|
if (!el.value) {
|
|
10635
|
-
throwError(COMPONENT_NAME$
|
|
10663
|
+
throwError(COMPONENT_NAME$d, `target is not existed: ${props.target}`);
|
|
10636
10664
|
}
|
|
10637
10665
|
container.value = el.value;
|
|
10638
10666
|
}
|
|
@@ -10800,9 +10828,9 @@
|
|
|
10800
10828
|
}
|
|
10801
10829
|
});
|
|
10802
10830
|
|
|
10803
|
-
const COMPONENT_NAME$
|
|
10831
|
+
const COMPONENT_NAME$c = "ElBreadcrumbItem";
|
|
10804
10832
|
const _sfc_main$1S = vue.defineComponent({
|
|
10805
|
-
name: COMPONENT_NAME$
|
|
10833
|
+
name: COMPONENT_NAME$c,
|
|
10806
10834
|
components: {
|
|
10807
10835
|
ElIcon
|
|
10808
10836
|
},
|
|
@@ -17380,8 +17408,9 @@
|
|
|
17380
17408
|
}
|
|
17381
17409
|
]
|
|
17382
17410
|
};
|
|
17411
|
+
const COMPONENT_NAME$b = "ElCascader";
|
|
17383
17412
|
const _sfc_main$1w = vue.defineComponent({
|
|
17384
|
-
name:
|
|
17413
|
+
name: COMPONENT_NAME$b,
|
|
17385
17414
|
components: {
|
|
17386
17415
|
ElCascaderPanel: _CascaderPanel,
|
|
17387
17416
|
ElInput,
|
|
@@ -17435,8 +17464,9 @@
|
|
|
17435
17464
|
},
|
|
17436
17465
|
popperAppendToBody: {
|
|
17437
17466
|
type: Boolean,
|
|
17438
|
-
default:
|
|
17439
|
-
}
|
|
17467
|
+
default: void 0
|
|
17468
|
+
},
|
|
17469
|
+
teleported: useTooltipContentProps.teleported
|
|
17440
17470
|
},
|
|
17441
17471
|
emits: [
|
|
17442
17472
|
UPDATE_MODEL_EVENT,
|
|
@@ -17450,6 +17480,7 @@
|
|
|
17450
17480
|
setup(props, { emit }) {
|
|
17451
17481
|
let inputInitialHeight = 0;
|
|
17452
17482
|
let pressDeleteCount = 0;
|
|
17483
|
+
const { compatTeleported } = useDeprecateAppendToBody(COMPONENT_NAME$b, "popperAppendToBody");
|
|
17453
17484
|
const { t } = useLocale();
|
|
17454
17485
|
const elForm = vue.inject(elFormKey, {});
|
|
17455
17486
|
const elFormItem = vue.inject(elFormItemKey, {});
|
|
@@ -17763,6 +17794,7 @@
|
|
|
17763
17794
|
multiple,
|
|
17764
17795
|
readonly,
|
|
17765
17796
|
clearBtnVisible,
|
|
17797
|
+
compatTeleported,
|
|
17766
17798
|
t,
|
|
17767
17799
|
togglePopperVisible,
|
|
17768
17800
|
hideSuggestionPanel,
|
|
@@ -17803,7 +17835,7 @@
|
|
|
17803
17835
|
ref: "tooltipRef",
|
|
17804
17836
|
visible: _ctx.popperVisible,
|
|
17805
17837
|
"onUpdate:visible": _cache[17] || (_cache[17] = ($event) => _ctx.popperVisible = $event),
|
|
17806
|
-
|
|
17838
|
+
teleported: _ctx.compatTeleported,
|
|
17807
17839
|
"popper-class": `el-cascader__dropdown ${_ctx.popperClass}`,
|
|
17808
17840
|
"popper-options": _ctx.popperOptions,
|
|
17809
17841
|
"fallback-placements": [
|
|
@@ -17969,7 +18001,7 @@
|
|
|
17969
18001
|
]) : vue.createCommentVNode("v-if", true)
|
|
17970
18002
|
]),
|
|
17971
18003
|
_: 3
|
|
17972
|
-
}, 8, ["visible", "
|
|
18004
|
+
}, 8, ["visible", "teleported", "popper-class", "popper-options", "onHide"]);
|
|
17973
18005
|
}
|
|
17974
18006
|
var Cascader = /* @__PURE__ */ _export_sfc$1(_sfc_main$1w, [["render", _sfc_render$1s]]);
|
|
17975
18007
|
|
|
@@ -27693,19 +27725,19 @@
|
|
|
27693
27725
|
default: void 0
|
|
27694
27726
|
}
|
|
27695
27727
|
});
|
|
27696
|
-
const COMPONENT_NAME$
|
|
27728
|
+
const COMPONENT_NAME$a = "ElSubMenu";
|
|
27697
27729
|
var SubMenu = vue.defineComponent({
|
|
27698
|
-
name: COMPONENT_NAME$
|
|
27730
|
+
name: COMPONENT_NAME$a,
|
|
27699
27731
|
props: subMenuProps,
|
|
27700
27732
|
setup(props, { slots, expose }) {
|
|
27701
27733
|
const instance = vue.getCurrentInstance();
|
|
27702
27734
|
const { paddingStyle, indexPath, parentMenu } = useMenu(instance, vue.computed(() => props.index));
|
|
27703
27735
|
const rootMenu = vue.inject("rootMenu");
|
|
27704
27736
|
if (!rootMenu)
|
|
27705
|
-
throwError(COMPONENT_NAME$
|
|
27737
|
+
throwError(COMPONENT_NAME$a, "can not inject root menu");
|
|
27706
27738
|
const subMenu = vue.inject(`subMenu:${parentMenu.value.uid}`);
|
|
27707
27739
|
if (!subMenu)
|
|
27708
|
-
throwError(COMPONENT_NAME$
|
|
27740
|
+
throwError(COMPONENT_NAME$a, "can not inject sub menu");
|
|
27709
27741
|
const items = vue.ref({});
|
|
27710
27742
|
const subMenus = vue.ref({});
|
|
27711
27743
|
let timeout;
|
|
@@ -28228,9 +28260,9 @@
|
|
|
28228
28260
|
click: (item) => isString$1(item.index) && Array.isArray(item.indexPath)
|
|
28229
28261
|
};
|
|
28230
28262
|
|
|
28231
|
-
const COMPONENT_NAME$
|
|
28263
|
+
const COMPONENT_NAME$9 = "ElMenuItem";
|
|
28232
28264
|
const _sfc_main$P = vue.defineComponent({
|
|
28233
|
-
name: COMPONENT_NAME$
|
|
28265
|
+
name: COMPONENT_NAME$9,
|
|
28234
28266
|
components: {
|
|
28235
28267
|
ElTooltip
|
|
28236
28268
|
},
|
|
@@ -28240,11 +28272,11 @@
|
|
|
28240
28272
|
const instance = vue.getCurrentInstance();
|
|
28241
28273
|
const rootMenu = vue.inject("rootMenu");
|
|
28242
28274
|
if (!rootMenu)
|
|
28243
|
-
throwError(COMPONENT_NAME$
|
|
28275
|
+
throwError(COMPONENT_NAME$9, "can not inject root menu");
|
|
28244
28276
|
const { parentMenu, paddingStyle, indexPath } = useMenu(instance, vue.toRef(props, "index"));
|
|
28245
28277
|
const subMenu = vue.inject(`subMenu:${parentMenu.value.uid}`);
|
|
28246
28278
|
if (!subMenu)
|
|
28247
|
-
throwError(COMPONENT_NAME$
|
|
28279
|
+
throwError(COMPONENT_NAME$9, "can not inject sub menu");
|
|
28248
28280
|
const active = vue.computed(() => props.index === rootMenu.activeIndex);
|
|
28249
28281
|
const item = vue.reactive({
|
|
28250
28282
|
index: props.index,
|
|
@@ -28328,15 +28360,15 @@
|
|
|
28328
28360
|
title: String
|
|
28329
28361
|
};
|
|
28330
28362
|
|
|
28331
|
-
const COMPONENT_NAME$
|
|
28363
|
+
const COMPONENT_NAME$8 = "ElMenuItemGroup";
|
|
28332
28364
|
const _sfc_main$O = vue.defineComponent({
|
|
28333
|
-
name: COMPONENT_NAME$
|
|
28365
|
+
name: COMPONENT_NAME$8,
|
|
28334
28366
|
props: menuItemGroupProps,
|
|
28335
28367
|
setup() {
|
|
28336
28368
|
const instance = vue.getCurrentInstance();
|
|
28337
28369
|
const menu = vue.inject("rootMenu");
|
|
28338
28370
|
if (!menu)
|
|
28339
|
-
throwError(COMPONENT_NAME$
|
|
28371
|
+
throwError(COMPONENT_NAME$8, "can not inject root menu");
|
|
28340
28372
|
const levelPadding = vue.computed(() => {
|
|
28341
28373
|
if (menu.props.collapse)
|
|
28342
28374
|
return 20;
|
|
@@ -29421,9 +29453,10 @@
|
|
|
29421
29453
|
};
|
|
29422
29454
|
};
|
|
29423
29455
|
|
|
29456
|
+
const COMPONENT_NAME$7 = "ElSelect";
|
|
29424
29457
|
const _sfc_main$I = vue.defineComponent({
|
|
29425
|
-
name:
|
|
29426
|
-
componentName:
|
|
29458
|
+
name: COMPONENT_NAME$7,
|
|
29459
|
+
componentName: COMPONENT_NAME$7,
|
|
29427
29460
|
components: {
|
|
29428
29461
|
ElInput,
|
|
29429
29462
|
ElSelectMenu: ElSelectMenu$1,
|
|
@@ -29485,8 +29518,9 @@
|
|
|
29485
29518
|
collapseTags: Boolean,
|
|
29486
29519
|
popperAppendToBody: {
|
|
29487
29520
|
type: Boolean,
|
|
29488
|
-
default:
|
|
29521
|
+
default: void 0
|
|
29489
29522
|
},
|
|
29523
|
+
teleported: useTooltipContentProps.teleported,
|
|
29490
29524
|
clearIcon: {
|
|
29491
29525
|
type: [String, Object],
|
|
29492
29526
|
default: circleClose
|
|
@@ -29666,6 +29700,7 @@
|
|
|
29666
29700
|
var _a, _b;
|
|
29667
29701
|
return (_b = (_a = tooltipRef.value) == null ? void 0 : _a.popperRef) == null ? void 0 : _b.contentRef;
|
|
29668
29702
|
});
|
|
29703
|
+
const { compatTeleported } = useDeprecateAppendToBody(COMPONENT_NAME$7, "popperAppendToBody");
|
|
29669
29704
|
return {
|
|
29670
29705
|
tagInMultiLine,
|
|
29671
29706
|
prefixWidth,
|
|
@@ -29726,7 +29761,8 @@
|
|
|
29726
29761
|
selectWrapper,
|
|
29727
29762
|
scrollbar,
|
|
29728
29763
|
wrapperKls,
|
|
29729
|
-
selectTagsStyle
|
|
29764
|
+
selectTagsStyle,
|
|
29765
|
+
compatTeleported
|
|
29730
29766
|
};
|
|
29731
29767
|
}
|
|
29732
29768
|
});
|
|
@@ -29758,7 +29794,7 @@
|
|
|
29758
29794
|
visible: _ctx.dropMenuVisible,
|
|
29759
29795
|
"onUpdate:visible": _cache[23] || (_cache[23] = ($event) => _ctx.dropMenuVisible = $event),
|
|
29760
29796
|
placement: "bottom-start",
|
|
29761
|
-
|
|
29797
|
+
teleported: _ctx.compatTeleported,
|
|
29762
29798
|
"popper-class": `el-select__popper ${_ctx.popperClass}`,
|
|
29763
29799
|
"fallback-placements": ["bottom-start", "top-start", "right", "left"],
|
|
29764
29800
|
effect: "light",
|
|
@@ -29977,7 +30013,7 @@
|
|
|
29977
30013
|
})
|
|
29978
30014
|
]),
|
|
29979
30015
|
_: 3
|
|
29980
|
-
}, 8, ["visible", "
|
|
30016
|
+
}, 8, ["visible", "teleported", "popper-class", "onShow"])
|
|
29981
30017
|
], 2)), [
|
|
29982
30018
|
[_directive_click_outside, _ctx.handleClose, _ctx.popperPaneRef]
|
|
29983
30019
|
]);
|
|
@@ -30655,52 +30691,56 @@
|
|
|
30655
30691
|
|
|
30656
30692
|
const ElPagination = withInstall(Pagination);
|
|
30657
30693
|
|
|
30658
|
-
const popconfirmProps =
|
|
30659
|
-
|
|
30660
|
-
|
|
30661
|
-
|
|
30662
|
-
|
|
30663
|
-
|
|
30664
|
-
|
|
30665
|
-
|
|
30666
|
-
|
|
30667
|
-
|
|
30668
|
-
|
|
30669
|
-
|
|
30670
|
-
|
|
30671
|
-
|
|
30672
|
-
|
|
30673
|
-
|
|
30674
|
-
|
|
30675
|
-
|
|
30676
|
-
|
|
30677
|
-
|
|
30678
|
-
|
|
30679
|
-
|
|
30680
|
-
|
|
30681
|
-
|
|
30682
|
-
|
|
30683
|
-
|
|
30684
|
-
|
|
30685
|
-
|
|
30686
|
-
|
|
30687
|
-
|
|
30688
|
-
|
|
30689
|
-
|
|
30690
|
-
|
|
30691
|
-
|
|
30692
|
-
|
|
30693
|
-
|
|
30694
|
-
|
|
30695
|
-
|
|
30696
|
-
|
|
30697
|
-
|
|
30698
|
-
|
|
30699
|
-
|
|
30700
|
-
|
|
30694
|
+
const popconfirmProps = {
|
|
30695
|
+
...buildProps({
|
|
30696
|
+
title: {
|
|
30697
|
+
type: String
|
|
30698
|
+
},
|
|
30699
|
+
confirmButtonText: {
|
|
30700
|
+
type: String
|
|
30701
|
+
},
|
|
30702
|
+
cancelButtonText: {
|
|
30703
|
+
type: String
|
|
30704
|
+
},
|
|
30705
|
+
confirmButtonType: {
|
|
30706
|
+
type: String,
|
|
30707
|
+
values: buttonType,
|
|
30708
|
+
default: "primary"
|
|
30709
|
+
},
|
|
30710
|
+
cancelButtonType: {
|
|
30711
|
+
type: String,
|
|
30712
|
+
values: buttonType,
|
|
30713
|
+
default: "text"
|
|
30714
|
+
},
|
|
30715
|
+
icon: {
|
|
30716
|
+
type: definePropType([String, Object]),
|
|
30717
|
+
default: questionFilled
|
|
30718
|
+
},
|
|
30719
|
+
iconColor: {
|
|
30720
|
+
type: String,
|
|
30721
|
+
default: "#f90"
|
|
30722
|
+
},
|
|
30723
|
+
hideIcon: {
|
|
30724
|
+
type: Boolean,
|
|
30725
|
+
default: false
|
|
30726
|
+
},
|
|
30727
|
+
hideAfter: {
|
|
30728
|
+
type: Number,
|
|
30729
|
+
default: 200
|
|
30730
|
+
},
|
|
30731
|
+
onConfirm: {
|
|
30732
|
+
type: definePropType(Function)
|
|
30733
|
+
},
|
|
30734
|
+
onCancel: {
|
|
30735
|
+
type: definePropType(Function)
|
|
30736
|
+
}
|
|
30737
|
+
}),
|
|
30738
|
+
teleported: useTooltipContentProps.teleported
|
|
30739
|
+
};
|
|
30701
30740
|
|
|
30741
|
+
const COMPONENT_NAME$6 = "Elpopperconfirm";
|
|
30702
30742
|
const _sfc_main$C = vue.defineComponent({
|
|
30703
|
-
name:
|
|
30743
|
+
name: COMPONENT_NAME$6,
|
|
30704
30744
|
components: {
|
|
30705
30745
|
ElButton,
|
|
30706
30746
|
ElTooltip,
|
|
@@ -30708,6 +30748,7 @@
|
|
|
30708
30748
|
},
|
|
30709
30749
|
props: popconfirmProps,
|
|
30710
30750
|
setup(props) {
|
|
30751
|
+
const { compatTeleported } = useDeprecateAppendToBody(COMPONENT_NAME$6, "appendToBody");
|
|
30711
30752
|
const { t } = useLocale();
|
|
30712
30753
|
const tooltipRef = vue.ref();
|
|
30713
30754
|
const hidePopper = () => {
|
|
@@ -30733,6 +30774,7 @@
|
|
|
30733
30774
|
finalConfirmButtonText,
|
|
30734
30775
|
finalCancelButtonText,
|
|
30735
30776
|
tooltipRef,
|
|
30777
|
+
compatTeleported,
|
|
30736
30778
|
confirm,
|
|
30737
30779
|
cancel
|
|
30738
30780
|
};
|
|
@@ -30749,7 +30791,7 @@
|
|
|
30749
30791
|
trigger: "click",
|
|
30750
30792
|
effect: "light",
|
|
30751
30793
|
"popper-class": "el-popover",
|
|
30752
|
-
|
|
30794
|
+
teleported: _ctx.compatTeleported,
|
|
30753
30795
|
"fallback-placements": ["bottom", "top", "right", "left"],
|
|
30754
30796
|
"hide-after": _ctx.hideAfter,
|
|
30755
30797
|
persistent: ""
|
|
@@ -30797,13 +30839,14 @@
|
|
|
30797
30839
|
_ctx.$slots.reference ? vue.renderSlot(_ctx.$slots, "reference", { key: 0 }) : vue.createCommentVNode("v-if", true)
|
|
30798
30840
|
]),
|
|
30799
30841
|
_: 3
|
|
30800
|
-
}, 16, ["hide-after"]);
|
|
30842
|
+
}, 16, ["teleported", "hide-after"]);
|
|
30801
30843
|
}
|
|
30802
30844
|
var Popconfirm = /* @__PURE__ */ _export_sfc$1(_sfc_main$C, [["render", _sfc_render$y]]);
|
|
30803
30845
|
|
|
30804
30846
|
const ElPopconfirm = withInstall(Popconfirm);
|
|
30805
30847
|
|
|
30806
30848
|
const usePopoverProps = {
|
|
30849
|
+
appendToBody: { type: Boolean, default: void 0 },
|
|
30807
30850
|
content: useTooltipContentProps.content,
|
|
30808
30851
|
popperStyle: useTooltipContentProps.popperStyle,
|
|
30809
30852
|
popperClass: useTooltipContentProps.popperClass,
|
|
@@ -30815,6 +30858,7 @@
|
|
|
30815
30858
|
...useTooltipContentProps.effect,
|
|
30816
30859
|
default: "light"
|
|
30817
30860
|
},
|
|
30861
|
+
teleported: useTooltipContentProps.teleported,
|
|
30818
30862
|
...buildProps({
|
|
30819
30863
|
title: String,
|
|
30820
30864
|
width: {
|
|
@@ -30825,9 +30869,9 @@
|
|
|
30825
30869
|
};
|
|
30826
30870
|
|
|
30827
30871
|
const emits = ["update:visible", "after-enter", "after-leave"];
|
|
30828
|
-
const
|
|
30872
|
+
const COMPONENT_NAME$5 = "ElPopover";
|
|
30829
30873
|
const _sfc_main$B = vue.defineComponent({
|
|
30830
|
-
name:
|
|
30874
|
+
name: COMPONENT_NAME$5,
|
|
30831
30875
|
components: {
|
|
30832
30876
|
ElTooltip
|
|
30833
30877
|
},
|
|
@@ -30860,6 +30904,7 @@
|
|
|
30860
30904
|
props.popperClass
|
|
30861
30905
|
];
|
|
30862
30906
|
});
|
|
30907
|
+
const { compatTeleported } = useDeprecateAppendToBody(COMPONENT_NAME$5, "appendToBody");
|
|
30863
30908
|
const hide = () => {
|
|
30864
30909
|
var _a;
|
|
30865
30910
|
(_a = tooltipRef.value) == null ? void 0 : _a.hide();
|
|
@@ -30871,6 +30916,7 @@
|
|
|
30871
30916
|
emit("after-leave");
|
|
30872
30917
|
};
|
|
30873
30918
|
return {
|
|
30919
|
+
compatTeleported,
|
|
30874
30920
|
kls,
|
|
30875
30921
|
style,
|
|
30876
30922
|
tooltipRef,
|
|
@@ -30894,6 +30940,7 @@
|
|
|
30894
30940
|
enterable: _ctx.enterable,
|
|
30895
30941
|
"popper-class": _ctx.kls,
|
|
30896
30942
|
"popper-style": _ctx.style,
|
|
30943
|
+
teleported: _ctx.compatTeleported,
|
|
30897
30944
|
persistent: "",
|
|
30898
30945
|
onShow: _ctx.afterEnter,
|
|
30899
30946
|
onHide: _ctx.afterLeave
|
|
@@ -30908,7 +30955,7 @@
|
|
|
30908
30955
|
_ctx.$slots.reference ? vue.renderSlot(_ctx.$slots, "reference", { key: 0 }) : vue.createCommentVNode("v-if", true)
|
|
30909
30956
|
]),
|
|
30910
30957
|
_: 3
|
|
30911
|
-
}, 16, ["aria-label", "effect", "enterable", "popper-class", "popper-style", "onShow", "onHide"]);
|
|
30958
|
+
}, 16, ["aria-label", "effect", "enterable", "popper-class", "popper-style", "teleported", "onShow", "onHide"]);
|
|
30912
30959
|
}
|
|
30913
30960
|
var Popover = /* @__PURE__ */ _export_sfc$1(_sfc_main$B, [["render", _sfc_render$x]]);
|
|
30914
30961
|
|
|
@@ -33509,8 +33556,9 @@
|
|
|
33509
33556
|
},
|
|
33510
33557
|
popperAppendToBody: {
|
|
33511
33558
|
type: Boolean,
|
|
33512
|
-
default:
|
|
33559
|
+
default: void 0
|
|
33513
33560
|
},
|
|
33561
|
+
teleported: useTooltipContentProps.teleported,
|
|
33514
33562
|
popperClass: {
|
|
33515
33563
|
type: String,
|
|
33516
33564
|
default: ""
|
|
@@ -33873,9 +33921,11 @@
|
|
|
33873
33921
|
default: 42,
|
|
33874
33922
|
small: 33
|
|
33875
33923
|
};
|
|
33924
|
+
const COMPONENT_NAME$4 = "ElSelectV2";
|
|
33876
33925
|
const useSelect = (props, emit) => {
|
|
33877
33926
|
const { t } = useLocale();
|
|
33878
33927
|
const { form: elForm, formItem: elFormItem } = useFormItem();
|
|
33928
|
+
const { compatTeleported } = useDeprecateAppendToBody(COMPONENT_NAME$4, "popperAppendToBody");
|
|
33879
33929
|
const states = vue.reactive({
|
|
33880
33930
|
inputValue: DEFAULT_INPUT_PLACEHOLDER,
|
|
33881
33931
|
displayInputValue: DEFAULT_INPUT_PLACEHOLDER,
|
|
@@ -34452,7 +34502,7 @@
|
|
|
34452
34502
|
popperRef,
|
|
34453
34503
|
validateState,
|
|
34454
34504
|
validateIcon,
|
|
34455
|
-
|
|
34505
|
+
compatTeleported,
|
|
34456
34506
|
debouncedOnInputChange,
|
|
34457
34507
|
deleteTag,
|
|
34458
34508
|
getLabel,
|
|
@@ -34548,7 +34598,7 @@
|
|
|
34548
34598
|
ref: "popper",
|
|
34549
34599
|
visible: _ctx.dropdownMenuVisible,
|
|
34550
34600
|
"onUpdate:visible": _cache[22] || (_cache[22] = ($event) => _ctx.dropdownMenuVisible = $event),
|
|
34551
|
-
|
|
34601
|
+
teleported: _ctx.compatTeleported,
|
|
34552
34602
|
"popper-class": `el-select-v2__popper ${_ctx.popperClass}`,
|
|
34553
34603
|
"gpu-acceleration": false,
|
|
34554
34604
|
"stop-popper-mouse-event": false,
|
|
@@ -34792,7 +34842,7 @@
|
|
|
34792
34842
|
}, 8, ["data", "width", "hovering-index", "scrollbar-always-on"])
|
|
34793
34843
|
]),
|
|
34794
34844
|
_: 3
|
|
34795
|
-
}, 8, ["visible", "
|
|
34845
|
+
}, 8, ["visible", "teleported", "popper-class", "popper-options", "onShow"])
|
|
34796
34846
|
], 34)), [
|
|
34797
34847
|
[_directive_click_outside, _ctx.handleClickOutside, _ctx.popperRef]
|
|
34798
34848
|
]);
|
|
@@ -48603,6 +48653,8 @@
|
|
|
48603
48653
|
exports.useDelayedRender = useDelayedRender;
|
|
48604
48654
|
exports.useDelayedToggle = useDelayedToggle;
|
|
48605
48655
|
exports.useDelayedToggleProps = useDelayedToggleProps;
|
|
48656
|
+
exports.useDeprecateAppendToBody = useDeprecateAppendToBody;
|
|
48657
|
+
exports.useDeprecated = useDeprecated;
|
|
48606
48658
|
exports.useDialog = useDialog;
|
|
48607
48659
|
exports.useDisabled = useDisabled$1;
|
|
48608
48660
|
exports.useDraggable = useDraggable;
|