@element-plus/nightly 0.0.20220203 → 0.0.20220207
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -12
- package/attributes.json +1 -1
- package/dist/index.css +1 -1
- package/dist/index.full.js +150 -95
- 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 +149 -96
- 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 +3 -2
- package/es/components/index.mjs.map +1 -1
- package/es/components/pagination/src/pagination.mjs +5 -3
- package/es/components/pagination/src/pagination.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/components/switch/index.mjs +2 -2
- package/es/components/switch/src/switch.mjs +247 -86
- package/es/components/switch/src/switch.mjs.map +1 -1
- package/es/components/switch/src/switch2.mjs +86 -247
- package/es/components/switch/src/switch2.mjs.map +1 -1
- package/es/components/table/src/table/style-helper.mjs +2 -0
- package/es/components/table/src/table/style-helper.mjs.map +1 -1
- package/es/components/timeline/index.mjs +2 -2
- package/es/components/timeline/src/timeline-item.mjs +73 -37
- package/es/components/timeline/src/timeline-item.mjs.map +1 -1
- package/es/components/timeline/src/timeline-item2.mjs +37 -73
- package/es/components/timeline/src/timeline-item2.mjs.map +1 -1
- package/es/components/tree/index.d.ts +8 -8
- package/es/components/tree/src/tree.mjs +0 -1
- package/es/components/tree/src/tree.mjs.map +1 -1
- package/es/components/tree/src/tree.vue.d.ts +4 -4
- 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 +4 -2
- 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 +4 -2
- package/lib/components/index.js.map +1 -1
- package/lib/components/pagination/src/pagination.js +5 -3
- package/lib/components/pagination/src/pagination.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/components/switch/index.js +2 -2
- package/lib/components/switch/src/switch.js +247 -87
- package/lib/components/switch/src/switch.js.map +1 -1
- package/lib/components/switch/src/switch2.js +87 -247
- package/lib/components/switch/src/switch2.js.map +1 -1
- package/lib/components/table/src/table/style-helper.js +2 -0
- package/lib/components/table/src/table/style-helper.js.map +1 -1
- package/lib/components/timeline/index.js +2 -2
- package/lib/components/timeline/src/timeline-item.js +73 -37
- package/lib/components/timeline/src/timeline-item.js.map +1 -1
- package/lib/components/timeline/src/timeline-item2.js +37 -73
- package/lib/components/timeline/src/timeline-item2.js.map +1 -1
- package/lib/components/tree/index.d.ts +8 -8
- package/lib/components/tree/src/tree.js +0 -1
- package/lib/components/tree/src/tree.js.map +1 -1
- package/lib/components/tree/src/tree.vue.d.ts +4 -4
- 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 +66 -62
- 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/theme-chalk/el-pagination.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/pagination.scss +4 -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.20220207 */
|
|
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.20220207";
|
|
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
|
]);
|
|
@@ -30633,11 +30669,13 @@
|
|
|
30633
30669
|
rightWrapperChildren.push(TEMPLATE_MAP[c]);
|
|
30634
30670
|
}
|
|
30635
30671
|
});
|
|
30636
|
-
if (haveRightWrapper && rightWrapperChildren.length > 0) {
|
|
30637
|
-
rootChildren.unshift(rightWrapperRoot);
|
|
30638
|
-
}
|
|
30639
30672
|
addClass(rootChildren[0], "is-first");
|
|
30640
30673
|
addClass(rootChildren[rootChildren.length - 1], "is-last");
|
|
30674
|
+
if (haveRightWrapper && rightWrapperChildren.length > 0) {
|
|
30675
|
+
addClass(rightWrapperChildren[0], "is-first");
|
|
30676
|
+
addClass(rightWrapperChildren[rightWrapperChildren.length - 1], "is-last");
|
|
30677
|
+
rootChildren.push(rightWrapperRoot);
|
|
30678
|
+
}
|
|
30641
30679
|
return vue.h("div", {
|
|
30642
30680
|
role: "pagination",
|
|
30643
30681
|
"aria-label": "pagination",
|
|
@@ -30655,52 +30693,56 @@
|
|
|
30655
30693
|
|
|
30656
30694
|
const ElPagination = withInstall(Pagination);
|
|
30657
30695
|
|
|
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
|
-
|
|
30696
|
+
const popconfirmProps = {
|
|
30697
|
+
...buildProps({
|
|
30698
|
+
title: {
|
|
30699
|
+
type: String
|
|
30700
|
+
},
|
|
30701
|
+
confirmButtonText: {
|
|
30702
|
+
type: String
|
|
30703
|
+
},
|
|
30704
|
+
cancelButtonText: {
|
|
30705
|
+
type: String
|
|
30706
|
+
},
|
|
30707
|
+
confirmButtonType: {
|
|
30708
|
+
type: String,
|
|
30709
|
+
values: buttonType,
|
|
30710
|
+
default: "primary"
|
|
30711
|
+
},
|
|
30712
|
+
cancelButtonType: {
|
|
30713
|
+
type: String,
|
|
30714
|
+
values: buttonType,
|
|
30715
|
+
default: "text"
|
|
30716
|
+
},
|
|
30717
|
+
icon: {
|
|
30718
|
+
type: definePropType([String, Object]),
|
|
30719
|
+
default: questionFilled
|
|
30720
|
+
},
|
|
30721
|
+
iconColor: {
|
|
30722
|
+
type: String,
|
|
30723
|
+
default: "#f90"
|
|
30724
|
+
},
|
|
30725
|
+
hideIcon: {
|
|
30726
|
+
type: Boolean,
|
|
30727
|
+
default: false
|
|
30728
|
+
},
|
|
30729
|
+
hideAfter: {
|
|
30730
|
+
type: Number,
|
|
30731
|
+
default: 200
|
|
30732
|
+
},
|
|
30733
|
+
onConfirm: {
|
|
30734
|
+
type: definePropType(Function)
|
|
30735
|
+
},
|
|
30736
|
+
onCancel: {
|
|
30737
|
+
type: definePropType(Function)
|
|
30738
|
+
}
|
|
30739
|
+
}),
|
|
30740
|
+
teleported: useTooltipContentProps.teleported
|
|
30741
|
+
};
|
|
30701
30742
|
|
|
30743
|
+
const COMPONENT_NAME$6 = "ElPopconfirm";
|
|
30702
30744
|
const _sfc_main$C = vue.defineComponent({
|
|
30703
|
-
name:
|
|
30745
|
+
name: COMPONENT_NAME$6,
|
|
30704
30746
|
components: {
|
|
30705
30747
|
ElButton,
|
|
30706
30748
|
ElTooltip,
|
|
@@ -30708,6 +30750,7 @@
|
|
|
30708
30750
|
},
|
|
30709
30751
|
props: popconfirmProps,
|
|
30710
30752
|
setup(props) {
|
|
30753
|
+
const { compatTeleported } = useDeprecateAppendToBody(COMPONENT_NAME$6, "appendToBody");
|
|
30711
30754
|
const { t } = useLocale();
|
|
30712
30755
|
const tooltipRef = vue.ref();
|
|
30713
30756
|
const hidePopper = () => {
|
|
@@ -30733,6 +30776,7 @@
|
|
|
30733
30776
|
finalConfirmButtonText,
|
|
30734
30777
|
finalCancelButtonText,
|
|
30735
30778
|
tooltipRef,
|
|
30779
|
+
compatTeleported,
|
|
30736
30780
|
confirm,
|
|
30737
30781
|
cancel
|
|
30738
30782
|
};
|
|
@@ -30749,7 +30793,7 @@
|
|
|
30749
30793
|
trigger: "click",
|
|
30750
30794
|
effect: "light",
|
|
30751
30795
|
"popper-class": "el-popover",
|
|
30752
|
-
|
|
30796
|
+
teleported: _ctx.compatTeleported,
|
|
30753
30797
|
"fallback-placements": ["bottom", "top", "right", "left"],
|
|
30754
30798
|
"hide-after": _ctx.hideAfter,
|
|
30755
30799
|
persistent: ""
|
|
@@ -30797,13 +30841,14 @@
|
|
|
30797
30841
|
_ctx.$slots.reference ? vue.renderSlot(_ctx.$slots, "reference", { key: 0 }) : vue.createCommentVNode("v-if", true)
|
|
30798
30842
|
]),
|
|
30799
30843
|
_: 3
|
|
30800
|
-
}, 16, ["hide-after"]);
|
|
30844
|
+
}, 16, ["teleported", "hide-after"]);
|
|
30801
30845
|
}
|
|
30802
30846
|
var Popconfirm = /* @__PURE__ */ _export_sfc$1(_sfc_main$C, [["render", _sfc_render$y]]);
|
|
30803
30847
|
|
|
30804
30848
|
const ElPopconfirm = withInstall(Popconfirm);
|
|
30805
30849
|
|
|
30806
30850
|
const usePopoverProps = {
|
|
30851
|
+
appendToBody: { type: Boolean, default: void 0 },
|
|
30807
30852
|
content: useTooltipContentProps.content,
|
|
30808
30853
|
popperStyle: useTooltipContentProps.popperStyle,
|
|
30809
30854
|
popperClass: useTooltipContentProps.popperClass,
|
|
@@ -30815,6 +30860,7 @@
|
|
|
30815
30860
|
...useTooltipContentProps.effect,
|
|
30816
30861
|
default: "light"
|
|
30817
30862
|
},
|
|
30863
|
+
teleported: useTooltipContentProps.teleported,
|
|
30818
30864
|
...buildProps({
|
|
30819
30865
|
title: String,
|
|
30820
30866
|
width: {
|
|
@@ -30825,9 +30871,9 @@
|
|
|
30825
30871
|
};
|
|
30826
30872
|
|
|
30827
30873
|
const emits = ["update:visible", "after-enter", "after-leave"];
|
|
30828
|
-
const
|
|
30874
|
+
const COMPONENT_NAME$5 = "ElPopover";
|
|
30829
30875
|
const _sfc_main$B = vue.defineComponent({
|
|
30830
|
-
name:
|
|
30876
|
+
name: COMPONENT_NAME$5,
|
|
30831
30877
|
components: {
|
|
30832
30878
|
ElTooltip
|
|
30833
30879
|
},
|
|
@@ -30860,6 +30906,7 @@
|
|
|
30860
30906
|
props.popperClass
|
|
30861
30907
|
];
|
|
30862
30908
|
});
|
|
30909
|
+
const { compatTeleported } = useDeprecateAppendToBody(COMPONENT_NAME$5, "appendToBody");
|
|
30863
30910
|
const hide = () => {
|
|
30864
30911
|
var _a;
|
|
30865
30912
|
(_a = tooltipRef.value) == null ? void 0 : _a.hide();
|
|
@@ -30871,6 +30918,7 @@
|
|
|
30871
30918
|
emit("after-leave");
|
|
30872
30919
|
};
|
|
30873
30920
|
return {
|
|
30921
|
+
compatTeleported,
|
|
30874
30922
|
kls,
|
|
30875
30923
|
style,
|
|
30876
30924
|
tooltipRef,
|
|
@@ -30894,6 +30942,7 @@
|
|
|
30894
30942
|
enterable: _ctx.enterable,
|
|
30895
30943
|
"popper-class": _ctx.kls,
|
|
30896
30944
|
"popper-style": _ctx.style,
|
|
30945
|
+
teleported: _ctx.compatTeleported,
|
|
30897
30946
|
persistent: "",
|
|
30898
30947
|
onShow: _ctx.afterEnter,
|
|
30899
30948
|
onHide: _ctx.afterLeave
|
|
@@ -30908,7 +30957,7 @@
|
|
|
30908
30957
|
_ctx.$slots.reference ? vue.renderSlot(_ctx.$slots, "reference", { key: 0 }) : vue.createCommentVNode("v-if", true)
|
|
30909
30958
|
]),
|
|
30910
30959
|
_: 3
|
|
30911
|
-
}, 16, ["aria-label", "effect", "enterable", "popper-class", "popper-style", "onShow", "onHide"]);
|
|
30960
|
+
}, 16, ["aria-label", "effect", "enterable", "popper-class", "popper-style", "teleported", "onShow", "onHide"]);
|
|
30912
30961
|
}
|
|
30913
30962
|
var Popover = /* @__PURE__ */ _export_sfc$1(_sfc_main$B, [["render", _sfc_render$x]]);
|
|
30914
30963
|
|
|
@@ -33509,8 +33558,9 @@
|
|
|
33509
33558
|
},
|
|
33510
33559
|
popperAppendToBody: {
|
|
33511
33560
|
type: Boolean,
|
|
33512
|
-
default:
|
|
33561
|
+
default: void 0
|
|
33513
33562
|
},
|
|
33563
|
+
teleported: useTooltipContentProps.teleported,
|
|
33514
33564
|
popperClass: {
|
|
33515
33565
|
type: String,
|
|
33516
33566
|
default: ""
|
|
@@ -33873,9 +33923,11 @@
|
|
|
33873
33923
|
default: 42,
|
|
33874
33924
|
small: 33
|
|
33875
33925
|
};
|
|
33926
|
+
const COMPONENT_NAME$4 = "ElSelectV2";
|
|
33876
33927
|
const useSelect = (props, emit) => {
|
|
33877
33928
|
const { t } = useLocale();
|
|
33878
33929
|
const { form: elForm, formItem: elFormItem } = useFormItem();
|
|
33930
|
+
const { compatTeleported } = useDeprecateAppendToBody(COMPONENT_NAME$4, "popperAppendToBody");
|
|
33879
33931
|
const states = vue.reactive({
|
|
33880
33932
|
inputValue: DEFAULT_INPUT_PLACEHOLDER,
|
|
33881
33933
|
displayInputValue: DEFAULT_INPUT_PLACEHOLDER,
|
|
@@ -34452,7 +34504,7 @@
|
|
|
34452
34504
|
popperRef,
|
|
34453
34505
|
validateState,
|
|
34454
34506
|
validateIcon,
|
|
34455
|
-
|
|
34507
|
+
compatTeleported,
|
|
34456
34508
|
debouncedOnInputChange,
|
|
34457
34509
|
deleteTag,
|
|
34458
34510
|
getLabel,
|
|
@@ -34548,7 +34600,7 @@
|
|
|
34548
34600
|
ref: "popper",
|
|
34549
34601
|
visible: _ctx.dropdownMenuVisible,
|
|
34550
34602
|
"onUpdate:visible": _cache[22] || (_cache[22] = ($event) => _ctx.dropdownMenuVisible = $event),
|
|
34551
|
-
|
|
34603
|
+
teleported: _ctx.compatTeleported,
|
|
34552
34604
|
"popper-class": `el-select-v2__popper ${_ctx.popperClass}`,
|
|
34553
34605
|
"gpu-acceleration": false,
|
|
34554
34606
|
"stop-popper-mouse-event": false,
|
|
@@ -34792,7 +34844,7 @@
|
|
|
34792
34844
|
}, 8, ["data", "width", "hovering-index", "scrollbar-always-on"])
|
|
34793
34845
|
]),
|
|
34794
34846
|
_: 3
|
|
34795
|
-
}, 8, ["visible", "
|
|
34847
|
+
}, 8, ["visible", "teleported", "popper-class", "popper-options", "onShow"])
|
|
34796
34848
|
], 34)), [
|
|
34797
34849
|
[_directive_click_outside, _ctx.handleClickOutside, _ctx.popperRef]
|
|
34798
34850
|
]);
|
|
@@ -39751,6 +39803,8 @@
|
|
|
39751
39803
|
};
|
|
39752
39804
|
const bindEvents = () => {
|
|
39753
39805
|
var _a;
|
|
39806
|
+
if (!table.refs.scrollWrapper)
|
|
39807
|
+
return;
|
|
39754
39808
|
(_a = table.refs.scrollWrapper.wrap$) == null ? void 0 : _a.addEventListener("scroll", syncPostion, {
|
|
39755
39809
|
passive: true
|
|
39756
39810
|
});
|
|
@@ -43709,7 +43763,6 @@
|
|
|
43709
43763
|
store.value.setDefaultCheckedKey(newVal);
|
|
43710
43764
|
});
|
|
43711
43765
|
vue.watch(() => props.defaultExpandedKeys, (newVal) => {
|
|
43712
|
-
store.value.defaultExpandedKeys = newVal;
|
|
43713
43766
|
store.value.setDefaultExpandedKeys(newVal);
|
|
43714
43767
|
});
|
|
43715
43768
|
vue.watch(() => props.data, (newVal) => {
|
|
@@ -48603,6 +48656,8 @@
|
|
|
48603
48656
|
exports.useDelayedRender = useDelayedRender;
|
|
48604
48657
|
exports.useDelayedToggle = useDelayedToggle;
|
|
48605
48658
|
exports.useDelayedToggleProps = useDelayedToggleProps;
|
|
48659
|
+
exports.useDeprecateAppendToBody = useDeprecateAppendToBody;
|
|
48660
|
+
exports.useDeprecated = useDeprecated;
|
|
48606
48661
|
exports.useDialog = useDialog;
|
|
48607
48662
|
exports.useDisabled = useDisabled$1;
|
|
48608
48663
|
exports.useDraggable = useDraggable;
|