@element-plus/nightly 0.0.20240319 → 0.0.20240320
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.full.js +2 -2
- package/dist/index.full.min.js +2 -2
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +2 -2
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +2 -2
- package/dist/locale/af.js +1 -1
- package/dist/locale/af.min.js +1 -1
- package/dist/locale/af.min.mjs +1 -1
- package/dist/locale/af.mjs +1 -1
- package/dist/locale/ar-eg.js +1 -1
- package/dist/locale/ar-eg.min.js +1 -1
- package/dist/locale/ar-eg.min.mjs +1 -1
- package/dist/locale/ar-eg.mjs +1 -1
- package/dist/locale/ar.js +1 -1
- package/dist/locale/ar.min.js +1 -1
- package/dist/locale/ar.min.mjs +1 -1
- package/dist/locale/ar.mjs +1 -1
- package/dist/locale/az.js +1 -1
- package/dist/locale/az.min.js +1 -1
- package/dist/locale/az.min.mjs +1 -1
- package/dist/locale/az.mjs +1 -1
- package/dist/locale/bg.js +1 -1
- package/dist/locale/bg.min.js +1 -1
- package/dist/locale/bg.min.mjs +1 -1
- package/dist/locale/bg.mjs +1 -1
- package/dist/locale/bn.js +1 -1
- package/dist/locale/bn.min.js +1 -1
- package/dist/locale/bn.min.mjs +1 -1
- package/dist/locale/bn.mjs +1 -1
- package/dist/locale/ca.js +1 -1
- package/dist/locale/ca.min.js +1 -1
- package/dist/locale/ca.min.mjs +1 -1
- package/dist/locale/ca.mjs +1 -1
- package/dist/locale/ckb.js +1 -1
- package/dist/locale/ckb.min.js +1 -1
- package/dist/locale/ckb.min.mjs +1 -1
- package/dist/locale/ckb.mjs +1 -1
- package/dist/locale/cs.js +1 -1
- package/dist/locale/cs.min.js +1 -1
- package/dist/locale/cs.min.mjs +1 -1
- package/dist/locale/cs.mjs +1 -1
- package/dist/locale/da.js +1 -1
- package/dist/locale/da.min.js +1 -1
- package/dist/locale/da.min.mjs +1 -1
- package/dist/locale/da.mjs +1 -1
- package/dist/locale/de.js +1 -1
- package/dist/locale/de.min.js +1 -1
- package/dist/locale/de.min.mjs +1 -1
- package/dist/locale/de.mjs +1 -1
- package/dist/locale/el.js +1 -1
- package/dist/locale/el.min.js +1 -1
- package/dist/locale/el.min.mjs +1 -1
- package/dist/locale/el.mjs +1 -1
- package/dist/locale/en.js +1 -1
- package/dist/locale/en.min.js +1 -1
- package/dist/locale/en.min.mjs +1 -1
- package/dist/locale/en.mjs +1 -1
- package/dist/locale/eo.js +1 -1
- package/dist/locale/eo.min.js +1 -1
- package/dist/locale/eo.min.mjs +1 -1
- package/dist/locale/eo.mjs +1 -1
- package/dist/locale/es.js +1 -1
- package/dist/locale/es.min.js +1 -1
- package/dist/locale/es.min.mjs +1 -1
- package/dist/locale/es.mjs +1 -1
- package/dist/locale/et.js +1 -1
- package/dist/locale/et.min.js +1 -1
- package/dist/locale/et.min.mjs +1 -1
- package/dist/locale/et.mjs +1 -1
- package/dist/locale/eu.js +1 -1
- package/dist/locale/eu.min.js +1 -1
- package/dist/locale/eu.min.mjs +1 -1
- package/dist/locale/eu.mjs +1 -1
- package/dist/locale/fa.js +1 -1
- package/dist/locale/fa.min.js +1 -1
- package/dist/locale/fa.min.mjs +1 -1
- package/dist/locale/fa.mjs +1 -1
- package/dist/locale/fi.js +1 -1
- package/dist/locale/fi.min.js +1 -1
- package/dist/locale/fi.min.mjs +1 -1
- package/dist/locale/fi.mjs +1 -1
- package/dist/locale/fr.js +1 -1
- package/dist/locale/fr.min.js +1 -1
- package/dist/locale/fr.min.mjs +1 -1
- package/dist/locale/fr.mjs +1 -1
- package/dist/locale/he.js +1 -1
- package/dist/locale/he.min.js +1 -1
- package/dist/locale/he.min.mjs +1 -1
- package/dist/locale/he.mjs +1 -1
- package/dist/locale/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/sw.js +1 -1
- package/dist/locale/sw.min.js +1 -1
- package/dist/locale/sw.min.mjs +1 -1
- package/dist/locale/sw.mjs +1 -1
- package/dist/locale/ta.js +1 -1
- package/dist/locale/ta.min.js +1 -1
- package/dist/locale/ta.min.mjs +1 -1
- package/dist/locale/ta.mjs +1 -1
- package/dist/locale/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/anchor/index.mjs +1 -1
- package/es/components/anchor/src/anchor-link.mjs +82 -6
- package/es/components/anchor/src/anchor-link.mjs.map +1 -1
- package/es/components/anchor/src/anchor-link2.mjs +6 -82
- package/es/components/anchor/src/anchor-link2.mjs.map +1 -1
- package/es/components/index.mjs +2 -2
- package/es/components/popper/index.mjs +2 -2
- package/es/components/popper/src/content.mjs +94 -137
- package/es/components/popper/src/content.mjs.map +1 -1
- package/es/components/popper/src/content2.mjs +137 -94
- package/es/components/popper/src/content2.mjs.map +1 -1
- package/es/components/tooltip/src/content.mjs +1 -1
- package/es/components/tooltip/src/content2.mjs +1 -1
- package/es/components/tooltip-v2/index.mjs +1 -1
- package/es/components/tooltip-v2/src/arrow.mjs +37 -22
- package/es/components/tooltip-v2/src/arrow.mjs.map +1 -1
- package/es/components/tooltip-v2/src/arrow2.mjs +22 -37
- package/es/components/tooltip-v2/src/arrow2.mjs.map +1 -1
- package/es/components/tooltip-v2/src/tooltip.mjs +1 -1
- package/es/components/tooltip-v2/src/tooltip2.mjs +2 -2
- package/es/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/anchor/index.js +1 -1
- package/lib/components/anchor/src/anchor-link.js +82 -6
- package/lib/components/anchor/src/anchor-link.js.map +1 -1
- package/lib/components/anchor/src/anchor-link2.js +6 -82
- package/lib/components/anchor/src/anchor-link2.js.map +1 -1
- package/lib/components/index.js +2 -2
- package/lib/components/popper/index.js +2 -2
- package/lib/components/popper/src/content.js +99 -137
- package/lib/components/popper/src/content.js.map +1 -1
- package/lib/components/popper/src/content2.js +137 -99
- package/lib/components/popper/src/content2.js.map +1 -1
- package/lib/components/tooltip/src/content.js +1 -1
- package/lib/components/tooltip/src/content2.js +1 -1
- package/lib/components/tooltip-v2/index.js +1 -1
- package/lib/components/tooltip-v2/src/arrow.js +37 -23
- package/lib/components/tooltip-v2/src/arrow.js.map +1 -1
- package/lib/components/tooltip-v2/src/arrow2.js +23 -37
- package/lib/components/tooltip-v2/src/arrow2.js.map +1 -1
- package/lib/components/tooltip-v2/src/tooltip.js +1 -1
- package/lib/components/tooltip-v2/src/tooltip2.js +2 -2
- package/lib/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 +1 -1
- package/web-types.json +1 -1
|
@@ -1,10 +1,86 @@
|
|
|
1
|
-
import '
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent, ref, inject, computed, watch, nextTick, onMounted, onBeforeUnmount, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, renderSlot, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
|
|
2
|
+
import { anchorLinkProps } from './anchor-link2.mjs';
|
|
3
|
+
import { anchorKey } from './constants.mjs';
|
|
4
|
+
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
|
3
5
|
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
const _hoisted_1 = ["href"];
|
|
7
|
+
const __default__ = defineComponent({
|
|
8
|
+
name: "ElAnchorLink"
|
|
7
9
|
});
|
|
10
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
|
+
...__default__,
|
|
12
|
+
props: anchorLinkProps,
|
|
13
|
+
setup(__props) {
|
|
14
|
+
const props = __props;
|
|
15
|
+
const linkRef = ref(null);
|
|
16
|
+
const {
|
|
17
|
+
ns,
|
|
18
|
+
direction,
|
|
19
|
+
currentAnchor,
|
|
20
|
+
addLink,
|
|
21
|
+
removeLink,
|
|
22
|
+
handleClick: contextHandleClick
|
|
23
|
+
} = inject(anchorKey);
|
|
24
|
+
const cls = computed(() => [
|
|
25
|
+
ns.e("link"),
|
|
26
|
+
ns.is("active", currentAnchor.value === props.href)
|
|
27
|
+
]);
|
|
28
|
+
const handleClick = (e) => {
|
|
29
|
+
contextHandleClick(e, props.href);
|
|
30
|
+
};
|
|
31
|
+
watch(() => props.href, (val, oldVal) => {
|
|
32
|
+
nextTick(() => {
|
|
33
|
+
if (oldVal)
|
|
34
|
+
removeLink(oldVal);
|
|
35
|
+
if (val) {
|
|
36
|
+
addLink({
|
|
37
|
+
href: val,
|
|
38
|
+
el: linkRef.value
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
});
|
|
43
|
+
onMounted(() => {
|
|
44
|
+
const { href } = props;
|
|
45
|
+
if (href) {
|
|
46
|
+
addLink({
|
|
47
|
+
href,
|
|
48
|
+
el: linkRef.value
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
onBeforeUnmount(() => {
|
|
53
|
+
const { href } = props;
|
|
54
|
+
if (href) {
|
|
55
|
+
removeLink(href);
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
return (_ctx, _cache) => {
|
|
59
|
+
return openBlock(), createElementBlock("div", {
|
|
60
|
+
class: normalizeClass(unref(ns).e("item"))
|
|
61
|
+
}, [
|
|
62
|
+
createElementVNode("a", {
|
|
63
|
+
ref_key: "linkRef",
|
|
64
|
+
ref: linkRef,
|
|
65
|
+
class: normalizeClass(unref(cls)),
|
|
66
|
+
href: _ctx.href,
|
|
67
|
+
onClick: handleClick
|
|
68
|
+
}, [
|
|
69
|
+
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
70
|
+
createTextVNode(toDisplayString(_ctx.title), 1)
|
|
71
|
+
])
|
|
72
|
+
], 10, _hoisted_1),
|
|
73
|
+
_ctx.$slots["sub-link"] && unref(direction) === "vertical" ? (openBlock(), createElementBlock("div", {
|
|
74
|
+
key: 0,
|
|
75
|
+
class: normalizeClass(unref(ns).e("list"))
|
|
76
|
+
}, [
|
|
77
|
+
renderSlot(_ctx.$slots, "sub-link")
|
|
78
|
+
], 2)) : createCommentVNode("v-if", true)
|
|
79
|
+
], 2);
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
var AnchorLink = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "anchor-link.vue"]]);
|
|
8
84
|
|
|
9
|
-
export {
|
|
85
|
+
export { AnchorLink as default };
|
|
10
86
|
//# sourceMappingURL=anchor-link.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"anchor-link.mjs","sources":["../../../../../../packages/components/anchor/src/anchor-link.
|
|
1
|
+
{"version":3,"file":"anchor-link.mjs","sources":["../../../../../../packages/components/anchor/src/anchor-link.vue"],"sourcesContent":["<template>\n <div :class=\"ns.e('item')\">\n <a ref=\"linkRef\" :class=\"cls\" :href=\"href\" @click=\"handleClick\">\n <slot>{{ title }}</slot>\n </a>\n <div\n v-if=\"$slots['sub-link'] && direction === 'vertical'\"\n :class=\"ns.e('list')\"\n >\n <slot name=\"sub-link\" />\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport {\n computed,\n inject,\n nextTick,\n onBeforeUnmount,\n onMounted,\n ref,\n watch,\n} from 'vue'\nimport { anchorLinkProps } from './anchor-link'\nimport { anchorKey } from './constants'\n\ndefineOptions({\n name: 'ElAnchorLink',\n})\n\nconst props = defineProps(anchorLinkProps)\n\nconst linkRef = ref<HTMLElement | null>(null)\n\nconst {\n ns,\n direction,\n currentAnchor,\n addLink,\n removeLink,\n handleClick: contextHandleClick,\n} = inject(anchorKey)!\n\nconst cls = computed(() => [\n ns.e('link'),\n ns.is('active', currentAnchor.value === props.href),\n])\n\nconst handleClick = (e: MouseEvent) => {\n contextHandleClick(e, props.href)\n}\n\nwatch(\n () => props.href,\n (val, oldVal) => {\n nextTick(() => {\n if (oldVal) removeLink(oldVal)\n if (val) {\n addLink({\n href: val,\n el: linkRef.value!,\n })\n }\n })\n }\n)\n\nonMounted(() => {\n const { href } = props\n if (href) {\n addLink({\n href,\n el: linkRef.value!,\n })\n }\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UACN,IAAA;AAAA,UACA,IAAI,OAAQ,CAAA,KAAA;AAAA,SACb,CAAA,CAAA;AAAA,OACH;AAAA,KACD,CAAA,CAAA;AAED,IAAA,eAAA,CAAgB,MAAM;AACpB,MAAA,MAAM,EAAE,IAAS,EAAA,GAAA,KAAA,CAAA;AACjB,MAAA,IAAI,IAAM,EAAA;AACR,QAAA,UAAA,CAAW,IAAI,CAAA,CAAA;AAAA,OACjB;AAAA,KACD,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,86 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import { anchorKey } from './constants.mjs';
|
|
4
|
-
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
|
1
|
+
import '../../../utils/index.mjs';
|
|
2
|
+
import { buildProps } from '../../../utils/vue/props/runtime.mjs';
|
|
5
3
|
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const anchorLinkProps = buildProps({
|
|
5
|
+
title: String,
|
|
6
|
+
href: String
|
|
9
7
|
});
|
|
10
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
|
-
...__default__,
|
|
12
|
-
props: anchorLinkProps,
|
|
13
|
-
setup(__props) {
|
|
14
|
-
const props = __props;
|
|
15
|
-
const linkRef = ref(null);
|
|
16
|
-
const {
|
|
17
|
-
ns,
|
|
18
|
-
direction,
|
|
19
|
-
currentAnchor,
|
|
20
|
-
addLink,
|
|
21
|
-
removeLink,
|
|
22
|
-
handleClick: contextHandleClick
|
|
23
|
-
} = inject(anchorKey);
|
|
24
|
-
const cls = computed(() => [
|
|
25
|
-
ns.e("link"),
|
|
26
|
-
ns.is("active", currentAnchor.value === props.href)
|
|
27
|
-
]);
|
|
28
|
-
const handleClick = (e) => {
|
|
29
|
-
contextHandleClick(e, props.href);
|
|
30
|
-
};
|
|
31
|
-
watch(() => props.href, (val, oldVal) => {
|
|
32
|
-
nextTick(() => {
|
|
33
|
-
if (oldVal)
|
|
34
|
-
removeLink(oldVal);
|
|
35
|
-
if (val) {
|
|
36
|
-
addLink({
|
|
37
|
-
href: val,
|
|
38
|
-
el: linkRef.value
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
});
|
|
43
|
-
onMounted(() => {
|
|
44
|
-
const { href } = props;
|
|
45
|
-
if (href) {
|
|
46
|
-
addLink({
|
|
47
|
-
href,
|
|
48
|
-
el: linkRef.value
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
});
|
|
52
|
-
onBeforeUnmount(() => {
|
|
53
|
-
const { href } = props;
|
|
54
|
-
if (href) {
|
|
55
|
-
removeLink(href);
|
|
56
|
-
}
|
|
57
|
-
});
|
|
58
|
-
return (_ctx, _cache) => {
|
|
59
|
-
return openBlock(), createElementBlock("div", {
|
|
60
|
-
class: normalizeClass(unref(ns).e("item"))
|
|
61
|
-
}, [
|
|
62
|
-
createElementVNode("a", {
|
|
63
|
-
ref_key: "linkRef",
|
|
64
|
-
ref: linkRef,
|
|
65
|
-
class: normalizeClass(unref(cls)),
|
|
66
|
-
href: _ctx.href,
|
|
67
|
-
onClick: handleClick
|
|
68
|
-
}, [
|
|
69
|
-
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
70
|
-
createTextVNode(toDisplayString(_ctx.title), 1)
|
|
71
|
-
])
|
|
72
|
-
], 10, _hoisted_1),
|
|
73
|
-
_ctx.$slots["sub-link"] && unref(direction) === "vertical" ? (openBlock(), createElementBlock("div", {
|
|
74
|
-
key: 0,
|
|
75
|
-
class: normalizeClass(unref(ns).e("list"))
|
|
76
|
-
}, [
|
|
77
|
-
renderSlot(_ctx.$slots, "sub-link")
|
|
78
|
-
], 2)) : createCommentVNode("v-if", true)
|
|
79
|
-
], 2);
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
});
|
|
83
|
-
var AnchorLink = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "anchor-link.vue"]]);
|
|
84
8
|
|
|
85
|
-
export {
|
|
9
|
+
export { anchorLinkProps };
|
|
86
10
|
//# sourceMappingURL=anchor-link2.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"anchor-link2.mjs","sources":["../../../../../../packages/components/anchor/src/anchor-link.
|
|
1
|
+
{"version":3,"file":"anchor-link2.mjs","sources":["../../../../../../packages/components/anchor/src/anchor-link.ts"],"sourcesContent":["import { buildProps } from '@element-plus/utils'\n\nimport type { ExtractPropTypes } from 'vue'\n\nexport const anchorLinkProps = buildProps({\n /**\n * @description the text content of the anchor link\n */\n title: String,\n /**\n * @description The address of the anchor link\n */\n href: String,\n})\n\nexport type AnchorLinkProps = ExtractPropTypes<typeof anchorLinkProps>\n"],"names":[],"mappings":";;;AACY,MAAC,eAAe,GAAG,UAAU,CAAC;AAC1C,EAAE,KAAK,EAAE,MAAM;AACf,EAAE,IAAI,EAAE,MAAM;AACd,CAAC;;;;"}
|
package/es/components/index.mjs
CHANGED
|
@@ -144,12 +144,12 @@ export { elPaginationKey } from './pagination/src/constants.mjs';
|
|
|
144
144
|
export { popconfirmEmits, popconfirmProps } from './popconfirm/src/popconfirm.mjs';
|
|
145
145
|
export { Effect, popperProps, roleTypes, usePopperProps } from './popper/src/popper.mjs';
|
|
146
146
|
export { popperTriggerProps, usePopperTriggerProps } from './popper/src/trigger.mjs';
|
|
147
|
-
export { popperContentEmits, popperContentProps, popperCoreConfigProps, usePopperContentEmits, usePopperContentProps, usePopperCoreConfigProps } from './popper/src/
|
|
147
|
+
export { popperContentEmits, popperContentProps, popperCoreConfigProps, usePopperContentEmits, usePopperContentProps, usePopperCoreConfigProps } from './popper/src/content.mjs';
|
|
148
148
|
export { popperArrowProps, usePopperArrowProps } from './popper/src/arrow.mjs';
|
|
149
149
|
export { POPPER_CONTENT_INJECTION_KEY, POPPER_INJECTION_KEY } from './popper/src/constants.mjs';
|
|
150
150
|
export { default as ElPopperArrow } from './popper/src/arrow2.mjs';
|
|
151
151
|
export { default as ElPopperTrigger } from './popper/src/trigger2.mjs';
|
|
152
|
-
export { default as ElPopperContent } from './popper/src/
|
|
152
|
+
export { default as ElPopperContent } from './popper/src/content2.mjs';
|
|
153
153
|
export { progressProps } from './progress/src/progress.mjs';
|
|
154
154
|
export { radioEmits, radioProps, radioPropsBase } from './radio/src/radio.mjs';
|
|
155
155
|
export { radioGroupEmits, radioGroupProps } from './radio/src/radio-group.mjs';
|
|
@@ -2,10 +2,10 @@ import '../../utils/index.mjs';
|
|
|
2
2
|
import Popper from './src/popper2.mjs';
|
|
3
3
|
export { default as ElPopperArrow } from './src/arrow2.mjs';
|
|
4
4
|
export { default as ElPopperTrigger } from './src/trigger2.mjs';
|
|
5
|
-
export { default as ElPopperContent } from './src/
|
|
5
|
+
export { default as ElPopperContent } from './src/content2.mjs';
|
|
6
6
|
export { Effect, popperProps, roleTypes, usePopperProps } from './src/popper.mjs';
|
|
7
7
|
export { popperTriggerProps, usePopperTriggerProps } from './src/trigger.mjs';
|
|
8
|
-
export { popperContentEmits, popperContentProps, popperCoreConfigProps, usePopperContentEmits, usePopperContentProps, usePopperCoreConfigProps } from './src/
|
|
8
|
+
export { popperContentEmits, popperContentProps, popperCoreConfigProps, usePopperContentEmits, usePopperContentProps, usePopperCoreConfigProps } from './src/content.mjs';
|
|
9
9
|
export { popperArrowProps, usePopperArrowProps } from './src/arrow.mjs';
|
|
10
10
|
export { POPPER_CONTENT_INJECTION_KEY, POPPER_INJECTION_KEY } from './src/constants.mjs';
|
|
11
11
|
import { withInstall } from '../../utils/vue/install.mjs';
|
|
@@ -1,143 +1,100 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { NOOP } from '@vue/shared';
|
|
3
|
-
import { isNil } from 'lodash-unified';
|
|
4
|
-
import '../../focus-trap/index.mjs';
|
|
5
|
-
import '../../form/index.mjs';
|
|
1
|
+
import { placements } from '@popperjs/core';
|
|
6
2
|
import '../../../utils/index.mjs';
|
|
7
|
-
import {
|
|
8
|
-
import { popperContentProps, popperContentEmits } from './content2.mjs';
|
|
9
|
-
import './composables/index.mjs';
|
|
10
|
-
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
|
11
|
-
import { usePopperContentFocusTrap } from './composables/use-focus-trap.mjs';
|
|
12
|
-
import { usePopperContent } from './composables/use-content.mjs';
|
|
13
|
-
import { usePopperContentDOM } from './composables/use-content-dom.mjs';
|
|
14
|
-
import { formItemContextKey } from '../../form/src/constants.mjs';
|
|
15
|
-
import { isElement } from '../../../utils/types.mjs';
|
|
16
|
-
import ElFocusTrap from '../../focus-trap/src/focus-trap.mjs';
|
|
3
|
+
import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
|
|
17
4
|
|
|
18
|
-
const
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
const formItemContext = inject(formItemContextKey, void 0);
|
|
50
|
-
const arrowOffset = ref();
|
|
51
|
-
provide(POPPER_CONTENT_INJECTION_KEY, {
|
|
52
|
-
arrowStyle,
|
|
53
|
-
arrowRef,
|
|
54
|
-
arrowOffset
|
|
55
|
-
});
|
|
56
|
-
if (formItemContext && (formItemContext.addInputId || formItemContext.removeInputId)) {
|
|
57
|
-
provide(formItemContextKey, {
|
|
58
|
-
...formItemContext,
|
|
59
|
-
addInputId: NOOP,
|
|
60
|
-
removeInputId: NOOP
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
let triggerTargetAriaStopWatch = void 0;
|
|
64
|
-
const updatePopper = (shouldUpdateZIndex = true) => {
|
|
65
|
-
update();
|
|
66
|
-
shouldUpdateZIndex && updateZIndex();
|
|
67
|
-
};
|
|
68
|
-
const togglePopperAlive = () => {
|
|
69
|
-
updatePopper(false);
|
|
70
|
-
if (props.visible && props.focusOnShow) {
|
|
71
|
-
trapped.value = true;
|
|
72
|
-
} else if (props.visible === false) {
|
|
73
|
-
trapped.value = false;
|
|
74
|
-
}
|
|
75
|
-
};
|
|
76
|
-
onMounted(() => {
|
|
77
|
-
watch(() => props.triggerTargetEl, (triggerTargetEl, prevTriggerTargetEl) => {
|
|
78
|
-
triggerTargetAriaStopWatch == null ? void 0 : triggerTargetAriaStopWatch();
|
|
79
|
-
triggerTargetAriaStopWatch = void 0;
|
|
80
|
-
const el = unref(triggerTargetEl || contentRef.value);
|
|
81
|
-
const prevEl = unref(prevTriggerTargetEl || contentRef.value);
|
|
82
|
-
if (isElement(el)) {
|
|
83
|
-
triggerTargetAriaStopWatch = watch([role, () => props.ariaLabel, ariaModal, () => props.id], (watches) => {
|
|
84
|
-
;
|
|
85
|
-
["role", "aria-label", "aria-modal", "id"].forEach((key, idx) => {
|
|
86
|
-
isNil(watches[idx]) ? el.removeAttribute(key) : el.setAttribute(key, watches[idx]);
|
|
87
|
-
});
|
|
88
|
-
}, { immediate: true });
|
|
89
|
-
}
|
|
90
|
-
if (prevEl !== el && isElement(prevEl)) {
|
|
91
|
-
;
|
|
92
|
-
["role", "aria-label", "aria-modal", "id"].forEach((key) => {
|
|
93
|
-
prevEl.removeAttribute(key);
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
}, { immediate: true });
|
|
97
|
-
watch(() => props.visible, togglePopperAlive, { immediate: true });
|
|
98
|
-
});
|
|
99
|
-
onBeforeUnmount(() => {
|
|
100
|
-
triggerTargetAriaStopWatch == null ? void 0 : triggerTargetAriaStopWatch();
|
|
101
|
-
triggerTargetAriaStopWatch = void 0;
|
|
102
|
-
});
|
|
103
|
-
expose({
|
|
104
|
-
popperContentRef: contentRef,
|
|
105
|
-
popperInstanceRef: instanceRef,
|
|
106
|
-
updatePopper,
|
|
107
|
-
contentStyle
|
|
108
|
-
});
|
|
109
|
-
return (_ctx, _cache) => {
|
|
110
|
-
return openBlock(), createElementBlock("div", mergeProps({
|
|
111
|
-
ref_key: "contentRef",
|
|
112
|
-
ref: contentRef
|
|
113
|
-
}, unref(contentAttrs), {
|
|
114
|
-
style: unref(contentStyle),
|
|
115
|
-
class: unref(contentClass),
|
|
116
|
-
tabindex: "-1",
|
|
117
|
-
onMouseenter: _cache[0] || (_cache[0] = (e) => _ctx.$emit("mouseenter", e)),
|
|
118
|
-
onMouseleave: _cache[1] || (_cache[1] = (e) => _ctx.$emit("mouseleave", e))
|
|
119
|
-
}), [
|
|
120
|
-
createVNode(unref(ElFocusTrap), {
|
|
121
|
-
trapped: unref(trapped),
|
|
122
|
-
"trap-on-focus-in": true,
|
|
123
|
-
"focus-trap-el": unref(contentRef),
|
|
124
|
-
"focus-start-el": unref(focusStartRef),
|
|
125
|
-
onFocusAfterTrapped: unref(onFocusAfterTrapped),
|
|
126
|
-
onFocusAfterReleased: unref(onFocusAfterReleased),
|
|
127
|
-
onFocusin: unref(onFocusInTrap),
|
|
128
|
-
onFocusoutPrevented: unref(onFocusoutPrevented),
|
|
129
|
-
onReleaseRequested: unref(onReleaseRequested)
|
|
130
|
-
}, {
|
|
131
|
-
default: withCtx(() => [
|
|
132
|
-
renderSlot(_ctx.$slots, "default")
|
|
133
|
-
]),
|
|
134
|
-
_: 3
|
|
135
|
-
}, 8, ["trapped", "focus-trap-el", "focus-start-el", "onFocusAfterTrapped", "onFocusAfterReleased", "onFocusin", "onFocusoutPrevented", "onReleaseRequested"])
|
|
136
|
-
], 16);
|
|
137
|
-
};
|
|
5
|
+
const POSITIONING_STRATEGIES = ["fixed", "absolute"];
|
|
6
|
+
const popperCoreConfigProps = buildProps({
|
|
7
|
+
boundariesPadding: {
|
|
8
|
+
type: Number,
|
|
9
|
+
default: 0
|
|
10
|
+
},
|
|
11
|
+
fallbackPlacements: {
|
|
12
|
+
type: definePropType(Array),
|
|
13
|
+
default: void 0
|
|
14
|
+
},
|
|
15
|
+
gpuAcceleration: {
|
|
16
|
+
type: Boolean,
|
|
17
|
+
default: true
|
|
18
|
+
},
|
|
19
|
+
offset: {
|
|
20
|
+
type: Number,
|
|
21
|
+
default: 12
|
|
22
|
+
},
|
|
23
|
+
placement: {
|
|
24
|
+
type: String,
|
|
25
|
+
values: placements,
|
|
26
|
+
default: "bottom"
|
|
27
|
+
},
|
|
28
|
+
popperOptions: {
|
|
29
|
+
type: definePropType(Object),
|
|
30
|
+
default: () => ({})
|
|
31
|
+
},
|
|
32
|
+
strategy: {
|
|
33
|
+
type: String,
|
|
34
|
+
values: POSITIONING_STRATEGIES,
|
|
35
|
+
default: "absolute"
|
|
138
36
|
}
|
|
139
37
|
});
|
|
140
|
-
|
|
38
|
+
const popperContentProps = buildProps({
|
|
39
|
+
...popperCoreConfigProps,
|
|
40
|
+
id: String,
|
|
41
|
+
style: {
|
|
42
|
+
type: definePropType([String, Array, Object])
|
|
43
|
+
},
|
|
44
|
+
className: {
|
|
45
|
+
type: definePropType([String, Array, Object])
|
|
46
|
+
},
|
|
47
|
+
effect: {
|
|
48
|
+
type: String,
|
|
49
|
+
default: "dark"
|
|
50
|
+
},
|
|
51
|
+
visible: Boolean,
|
|
52
|
+
enterable: {
|
|
53
|
+
type: Boolean,
|
|
54
|
+
default: true
|
|
55
|
+
},
|
|
56
|
+
pure: Boolean,
|
|
57
|
+
focusOnShow: {
|
|
58
|
+
type: Boolean,
|
|
59
|
+
default: false
|
|
60
|
+
},
|
|
61
|
+
trapping: {
|
|
62
|
+
type: Boolean,
|
|
63
|
+
default: false
|
|
64
|
+
},
|
|
65
|
+
popperClass: {
|
|
66
|
+
type: definePropType([String, Array, Object])
|
|
67
|
+
},
|
|
68
|
+
popperStyle: {
|
|
69
|
+
type: definePropType([String, Array, Object])
|
|
70
|
+
},
|
|
71
|
+
referenceEl: {
|
|
72
|
+
type: definePropType(Object)
|
|
73
|
+
},
|
|
74
|
+
triggerTargetEl: {
|
|
75
|
+
type: definePropType(Object)
|
|
76
|
+
},
|
|
77
|
+
stopPopperMouseEvent: {
|
|
78
|
+
type: Boolean,
|
|
79
|
+
default: true
|
|
80
|
+
},
|
|
81
|
+
ariaLabel: {
|
|
82
|
+
type: String,
|
|
83
|
+
default: void 0
|
|
84
|
+
},
|
|
85
|
+
virtualTriggering: Boolean,
|
|
86
|
+
zIndex: Number
|
|
87
|
+
});
|
|
88
|
+
const popperContentEmits = {
|
|
89
|
+
mouseenter: (evt) => evt instanceof MouseEvent,
|
|
90
|
+
mouseleave: (evt) => evt instanceof MouseEvent,
|
|
91
|
+
focus: () => true,
|
|
92
|
+
blur: () => true,
|
|
93
|
+
close: () => true
|
|
94
|
+
};
|
|
95
|
+
const usePopperCoreConfigProps = popperCoreConfigProps;
|
|
96
|
+
const usePopperContentProps = popperContentProps;
|
|
97
|
+
const usePopperContentEmits = popperContentEmits;
|
|
141
98
|
|
|
142
|
-
export {
|
|
99
|
+
export { popperContentEmits, popperContentProps, popperCoreConfigProps, usePopperContentEmits, usePopperContentProps, usePopperCoreConfigProps };
|
|
143
100
|
//# sourceMappingURL=content.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content.mjs","sources":["../../../../../../packages/components/popper/src/content.
|
|
1
|
+
{"version":3,"file":"content.mjs","sources":["../../../../../../packages/components/popper/src/content.ts"],"sourcesContent":["import { placements } from '@popperjs/core'\nimport { buildProps, definePropType } from '@element-plus/utils'\n\nimport type { ExtractPropTypes, StyleValue } from 'vue'\nimport type { Options, Placement } from '@popperjs/core'\nimport type { Measurable } from './constants'\nimport type Content from './content.vue'\n\ntype ClassObjectType = Record<string, boolean>\ntype ClassType = string | ClassObjectType | ClassType[]\n\nconst POSITIONING_STRATEGIES = ['fixed', 'absolute'] as const\n\nexport interface CreatePopperInstanceParams {\n referenceEl: Measurable\n popperContentEl: HTMLElement\n arrowEl: HTMLElement | undefined\n}\n\nexport const popperCoreConfigProps = buildProps({\n boundariesPadding: {\n type: Number,\n default: 0,\n },\n fallbackPlacements: {\n type: definePropType<Placement[]>(Array),\n default: undefined,\n },\n gpuAcceleration: {\n type: Boolean,\n default: true,\n },\n /**\n * @description offset of the Tooltip\n */\n offset: {\n type: Number,\n default: 12,\n },\n /**\n * @description position of Tooltip\n */\n placement: {\n type: String,\n values: placements,\n default: 'bottom',\n },\n /**\n * @description [popper.js](https://popper.js.org/docs/v2/) parameters\n */\n popperOptions: {\n type: definePropType<Partial<Options>>(Object),\n default: () => ({}),\n },\n strategy: {\n type: String,\n values: POSITIONING_STRATEGIES,\n default: 'absolute',\n },\n} as const)\nexport type PopperCoreConfigProps = ExtractPropTypes<\n typeof popperCoreConfigProps\n>\n\nexport const popperContentProps = buildProps({\n ...popperCoreConfigProps,\n id: String,\n style: {\n type: definePropType<StyleValue>([String, Array, Object]),\n },\n className: {\n type: definePropType<ClassType>([String, Array, Object]),\n },\n effect: {\n type: String,\n default: 'dark',\n },\n visible: Boolean,\n enterable: {\n type: Boolean,\n default: true,\n },\n pure: Boolean,\n focusOnShow: {\n type: Boolean,\n default: false,\n },\n trapping: {\n type: Boolean,\n default: false,\n },\n popperClass: {\n type: definePropType<ClassType>([String, Array, Object]),\n },\n popperStyle: {\n type: definePropType<StyleValue>([String, Array, Object]),\n },\n referenceEl: {\n type: definePropType<HTMLElement>(Object),\n },\n triggerTargetEl: {\n type: definePropType<HTMLElement>(Object),\n },\n stopPopperMouseEvent: {\n type: Boolean,\n default: true,\n },\n ariaLabel: {\n type: String,\n default: undefined,\n },\n virtualTriggering: Boolean,\n zIndex: Number,\n} as const)\nexport type PopperContentProps = ExtractPropTypes<typeof popperContentProps>\n\nexport const popperContentEmits = {\n mouseenter: (evt: MouseEvent) => evt instanceof MouseEvent,\n mouseleave: (evt: MouseEvent) => evt instanceof MouseEvent,\n focus: () => true,\n blur: () => true,\n close: () => true,\n}\nexport type PopperContentEmits = typeof popperContentEmits\n\nexport type PopperContentInstance = InstanceType<typeof Content>\n\n/** @deprecated use `popperCoreConfigProps` instead, and it will be deprecated in the next major version */\nexport const usePopperCoreConfigProps = popperCoreConfigProps\n\n/** @deprecated use `popperContentProps` instead, and it will be deprecated in the next major version */\nexport const usePopperContentProps = popperContentProps\n\n/** @deprecated use `popperContentEmits` instead, and it will be deprecated in the next major version */\nexport const usePopperContentEmits = popperContentEmits\n\n/** @deprecated use `PopperCoreConfigProps` instead, and it will be deprecated in the next major version */\nexport type UsePopperCoreConfigProps = PopperCoreConfigProps\n\n/** @deprecated use `PopperContentProps` instead, and it will be deprecated in the next major version */\nexport type UsePopperContentProps = PopperContentProps\n\n/** @deprecated use `PopperContentInstance` instead, and it will be deprecated in the next major version */\nexport type ElPopperArrowContent = PopperContentInstance\n"],"names":[],"mappings":";;;;AAEA,MAAM,sBAAsB,GAAG,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC;AACzC,MAAC,qBAAqB,GAAG,UAAU,CAAC;AAChD,EAAE,iBAAiB,EAAE;AACrB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,kBAAkB,EAAE;AACtB,IAAI,IAAI,EAAE,cAAc,CAAC,KAAK,CAAC;AAC/B,IAAI,OAAO,EAAE,KAAK,CAAC;AACnB,GAAG;AACH,EAAE,eAAe,EAAE;AACnB,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,UAAU;AACtB,IAAI,OAAO,EAAE,QAAQ;AACrB,GAAG;AACH,EAAE,aAAa,EAAE;AAC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