exploria-ui 2026.3.6 → 2026.4.13
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/components/advanced/EParallaxScrolling/EParallaxScrolling.vue.d.ts +3 -0
- package/dist/components/advanced/EWatermark/EWatermark.vue.d.ts +25 -34
- package/dist/components/{data → basic}/EAvatar/EAvatar.vue.d.ts +2 -0
- package/dist/components/data/ETimeline/ETimeline.vue.d.ts +8 -1
- package/dist/components/data/ETimeline/ETimelineItem.vue.d.ts +3 -0
- package/dist/components/form/ESelect/ESelect.vue.d.ts +1 -0
- package/dist/components/index.d.ts +3 -3
- package/dist/components/index.js +7 -7
- package/dist/directives/ESizeOb.d.ts +1 -1
- package/dist/directives/index.d.ts +4 -4
- package/dist/directives/index.js +1 -1
- package/dist/index.css +1 -1
- package/dist/node_modules/.pnpm/three@0.180.0/node_modules/three/examples/jsm/libs/fflate.module.js +2 -5
- package/dist/packages/exploria-ui/src/components/advanced/EParallaxScrolling/EParallaxScrolling.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/advanced/EParallaxScrolling/EParallaxScrolling.vue_vue_type_script_setup_true_lang.js +26 -22
- package/dist/packages/exploria-ui/src/components/advanced/EWatermark/EWatermark.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/advanced/EWatermark/EWatermark.vue_vue_type_script_setup_true_lang.js +61 -63
- package/dist/packages/exploria-ui/src/components/{data → basic}/EAvatar/EAvatar.vue.js +2 -2
- package/dist/packages/exploria-ui/src/components/basic/EAvatar/EAvatar.vue_vue_type_script_setup_true_lang.js +26 -0
- package/dist/packages/exploria-ui/src/components/basic/EBadge/EBadge.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/data/ECarousel/ECarousel.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/data/ECodeCollapse/ECodeCollapse.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/data/EImage.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/data/EList.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/data/ETable/ETable.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/data/ETimeline/ETimeline.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/data/ETimeline/ETimeline.vue_vue_type_script_setup_true_lang.js +16 -15
- package/dist/packages/exploria-ui/src/components/data/ETimeline/ETimelineItem.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/data/ETimeline/ETimelineItem.vue_vue_type_script_setup_true_lang.js +19 -19
- package/dist/packages/exploria-ui/src/components/feedback/EDialog/EDialog.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/feedback/EDrawer/EDrawer.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/feedback/EDrawer/EDrawer.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/packages/exploria-ui/src/components/feedback/EPopover.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/feedback/ETooltip.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/form/EColorPicker.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/form/EConditionGroup/EConditionGroup.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/form/EConditionGroup/EConditionGroup.vue_vue_type_script_setup_true_lang.js +72 -56
- package/dist/packages/exploria-ui/src/components/form/EFileSelector.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/form/EForm.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/form/EFormItem.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/form/EInput/EInput.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/form/EInput/EInput.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/packages/exploria-ui/src/components/form/ESelect/ESelect.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/form/ESelect/ESelect.vue_vue_type_script_setup_true_lang.js +2 -1
- package/dist/packages/exploria-ui/src/components/form/ESlider.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/form/ETimePicker.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/navigation/EDropdown.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/navigation/ETabs/ETabs.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/navigation/ETabs/ETabs.vue_vue_type_script_setup_true_lang.js +10 -7
- package/dist/packages/exploria-ui/src/utils/EDomUtil.js +21 -10
- package/dist/plugins/EPreloadImageBuilder.d.ts +5 -0
- package/dist/plugins/ESvgPolyfill.d.ts +3 -0
- package/dist/plugins/ESvgSpriteBuilder.d.ts +6 -0
- package/dist/plugins/index.d.ts +4 -0
- package/dist/plugins/index.js +7793 -0
- package/dist/utils/EDomUtil.d.ts +7 -0
- package/dist/utils/EThreeUtil.d.ts +2 -2
- package/package.json +11 -11
- package/dist/packages/exploria-ui/src/components/data/EAvatar/EAvatar.vue_vue_type_script_setup_true_lang.js +0 -14
package/dist/node_modules/.pnpm/three@0.180.0/node_modules/three/examples/jsm/libs/fflate.module.js
CHANGED
|
@@ -116,10 +116,7 @@ for (var p = 144; p < 256; ++p) g[p] = 9;
|
|
|
116
116
|
for (var p = 256; p < 280; ++p) g[p] = 7;
|
|
117
117
|
for (var p = 280; p < 288; ++p) g[p] = 8;
|
|
118
118
|
for (var _ = new e(32), p = 0; p < 32; ++p) _[p] = 5;
|
|
119
|
-
h(g, 9,
|
|
120
|
-
var ee = h(g, 9, 1);
|
|
121
|
-
h(_, 5, 0);
|
|
122
|
-
var v = h(_, 5, 1), y = function(e) {
|
|
119
|
+
var v = h(g, 9, 1), ee = h(_, 5, 1), y = function(e) {
|
|
123
120
|
for (var t = e[0], n = 1; n < e.length; ++n) e[n] > t && (t = e[n]);
|
|
124
121
|
return t;
|
|
125
122
|
}, b = function(e, t, n) {
|
|
@@ -175,7 +172,7 @@ var v = h(_, 5, 1), y = function(e) {
|
|
|
175
172
|
}
|
|
176
173
|
p && g(w + M), o.set(t.subarray(j, N), w), n.b = w += M, n.p = S = N * 8, n.f = _;
|
|
177
174
|
continue;
|
|
178
|
-
} else if (A == 1) T =
|
|
175
|
+
} else if (A == 1) T = v, E = ee, D = 9, O = 5;
|
|
179
176
|
else if (A == 2) {
|
|
180
177
|
var P = b(t, S, 31) + 257, F = b(t, S + 10, 15) + 4, I = P + b(t, S + 5, 31) + 1;
|
|
181
178
|
S += 14;
|
|
@@ -2,6 +2,6 @@ import e from "./EParallaxScrolling.vue_vue_type_script_setup_true_lang.js";
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
//#region src/components/advanced/EParallaxScrolling/EParallaxScrolling.vue
|
|
5
|
-
var n = t(e, [["__scopeId", "data-v-
|
|
5
|
+
var n = t(e, [["__scopeId", "data-v-eb15c81e"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -1,38 +1,42 @@
|
|
|
1
|
-
import { createElementBlock as e, defineComponent as t,
|
|
1
|
+
import { createElementBlock as e, defineComponent as t, normalizeStyle as n, onMounted as r, openBlock as i, ref as a, useTemplateRef as o } from "vue";
|
|
2
2
|
//#region src/components/advanced/EParallaxScrolling/EParallaxScrolling.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
-
var
|
|
3
|
+
var s = t({
|
|
4
4
|
__name: "EParallaxScrolling",
|
|
5
|
-
props: {
|
|
5
|
+
props: {
|
|
6
|
+
imgList: {},
|
|
7
|
+
height: { default: "400px" }
|
|
8
|
+
},
|
|
6
9
|
setup(t) {
|
|
7
|
-
let
|
|
10
|
+
let s = o("parallax-scrolling"), c = 0, l = a(!1), u = () => c === 0 ? t.imgList.length - 1 : c - 1, d = () => c === t.imgList.length - 1 ? 0 : c + 1, f = (e) => {
|
|
8
11
|
let n = document.createElement("img");
|
|
9
12
|
n.src = t.imgList[e];
|
|
10
13
|
let r = document.createElement("div");
|
|
11
|
-
return r.className = "item", r.appendChild(n),
|
|
12
|
-
},
|
|
13
|
-
let e =
|
|
14
|
+
return r.className = "item", r.appendChild(n), s.value.appendChild(r), r;
|
|
15
|
+
}, p = () => {
|
|
16
|
+
let e = s.value;
|
|
14
17
|
e.innerHTML = "";
|
|
15
|
-
let t =
|
|
16
|
-
|
|
18
|
+
let t = u(), n = d();
|
|
19
|
+
f(t).classList.add("prev"), f(c).classList.add("cur"), f(n).classList.add("next");
|
|
17
20
|
};
|
|
18
|
-
|
|
19
|
-
|
|
21
|
+
r(() => {
|
|
22
|
+
p();
|
|
20
23
|
});
|
|
21
|
-
let
|
|
22
|
-
if (!e.deltaY) return;
|
|
23
|
-
let t =
|
|
24
|
-
e.deltaY < 0 ? t.
|
|
25
|
-
},
|
|
24
|
+
let m = (e) => {
|
|
25
|
+
if (!e.deltaY || l.value) return;
|
|
26
|
+
let t = s.value;
|
|
27
|
+
e.deltaY < 0 ? t.classList.add("scroll-up") : t.classList.add("scroll-down"), l.value = !0;
|
|
28
|
+
}, h = (e) => {
|
|
26
29
|
let t = e.currentTarget;
|
|
27
|
-
t.
|
|
30
|
+
t.classList.contains("scroll-up") ? c = u() : t.classList.contains("scroll-down") && (c = d()), p(), t.classList.remove("scroll-up", "scroll-down"), l.value = !1;
|
|
28
31
|
};
|
|
29
|
-
return (
|
|
32
|
+
return (r, a) => (i(), e("div", {
|
|
30
33
|
class: "parallax-scrolling",
|
|
31
34
|
ref: "parallax-scrolling",
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
+
style: n({ height: t.height }),
|
|
36
|
+
onWheel: m,
|
|
37
|
+
onTransitionend: h
|
|
38
|
+
}, null, 36));
|
|
35
39
|
}
|
|
36
40
|
});
|
|
37
41
|
//#endregion
|
|
38
|
-
export {
|
|
42
|
+
export { s as default };
|
|
@@ -2,6 +2,6 @@ import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./EWatermark.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/advanced/EWatermark/EWatermark.vue
|
|
5
|
-
var n = e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-7f9b754f"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { computed as e, createElementBlock as t, createElementVNode as n, defineComponent as r, onMounted as i, onUnmounted as a, openBlock as o,
|
|
1
|
+
import { computed as e, createElementBlock as t, createElementVNode as n, defineComponent as r, onMounted as i, onUnmounted as a, openBlock as o, ref as s, renderSlot as c, useTemplateRef as l, watch as u } from "vue";
|
|
2
2
|
//#region src/components/advanced/EWatermark/EWatermark.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
-
var
|
|
3
|
+
var d = {
|
|
4
4
|
ref: "watermark",
|
|
5
5
|
class: "e-watermark"
|
|
6
|
-
},
|
|
6
|
+
}, f = { class: "e-watermark__content" }, p = r({
|
|
7
7
|
__name: "EWatermark",
|
|
8
8
|
props: {
|
|
9
9
|
text: { default: "Watermark" },
|
|
10
|
-
rotate: { default:
|
|
11
|
-
fontColor: { default: "rgba(100, 100, 100, 0.
|
|
10
|
+
rotate: { default: -45 },
|
|
11
|
+
fontColor: { default: "rgba(100, 100, 100, 0.15)" },
|
|
12
12
|
fontSize: { default: 16 },
|
|
13
13
|
fontFamily: { default: "Arial" },
|
|
14
14
|
gap: { default: 100 },
|
|
@@ -16,85 +16,83 @@ var u = {
|
|
|
16
16
|
height: {},
|
|
17
17
|
image: { default: "" },
|
|
18
18
|
imageWidth: { default: 120 },
|
|
19
|
-
imageHeight: { default: 40 }
|
|
19
|
+
imageHeight: { default: 40 },
|
|
20
|
+
opacity: { default: 1 }
|
|
20
21
|
},
|
|
21
22
|
setup(r) {
|
|
22
|
-
let
|
|
23
|
-
|
|
24
|
-
if (
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
let p = r, m = l("watermark"), h = s(null);
|
|
24
|
+
u(() => p.image, (e) => {
|
|
25
|
+
if (!e) {
|
|
26
|
+
h.value = null;
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
let t = new Image();
|
|
30
|
+
t.crossOrigin = "anonymous", t.onload = () => {
|
|
31
|
+
h.value = t;
|
|
32
|
+
}, t.onerror = () => {
|
|
33
|
+
console.warn(`[EWatermark] 图片加载失败: ${e}`), h.value = null;
|
|
34
|
+
}, t.src = e;
|
|
35
|
+
}, { immediate: !0 });
|
|
36
|
+
let g = e(() => {
|
|
37
|
+
let e = document.createElement("canvas"), t = e.getContext("2d"), n = window.devicePixelRatio || 1, r = p.width, i = p.height;
|
|
38
|
+
if (p.image && h.value) r ||= p.imageWidth + 40, i ||= p.imageHeight + 40;
|
|
39
|
+
else if (p.text && !p.image) {
|
|
40
|
+
let e = Array.isArray(p.text) ? p.text : [p.text];
|
|
41
|
+
t.font = `${p.fontSize * n}px ${p.fontFamily}`;
|
|
42
|
+
let a = 0;
|
|
29
43
|
e.forEach((e) => {
|
|
30
|
-
|
|
31
|
-
o = Math.max(o, n.width);
|
|
44
|
+
a = Math.max(a, t.measureText(e).width);
|
|
32
45
|
});
|
|
33
|
-
let
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
if (i.crossOrigin = "anonymous", i.src = r.image, i.complete) {
|
|
44
|
-
let a = (e.width - r.imageWidth * n) / 2, o = (e.height - r.imageHeight * n) / 2;
|
|
45
|
-
t.drawImage(i, a, o, r.imageWidth * n, r.imageHeight * n);
|
|
46
|
-
}
|
|
47
|
-
} else if (r.text) {
|
|
48
|
-
let i = Array.isArray(r.text) ? r.text : [r.text], a = 1.5, o = i.length * r.fontSize * a, s = (e.height - o * n) / 2;
|
|
49
|
-
t.font = `${r.fontSize * n}px ${r.fontFamily}`, t.fillStyle = r.fontColor, t.textAlign = "center", t.textBaseline = "top", i.forEach((i, o) => {
|
|
50
|
-
let c = s + o * r.fontSize * a * n;
|
|
51
|
-
t.fillText(i, e.width / 2, c);
|
|
46
|
+
let o = p.fontSize * 1.5, s = e.length * o * n, c = Math.abs(p.rotate * Math.PI / 180), l = Math.abs(Math.cos(c) * a) + Math.abs(Math.sin(c) * s), u = Math.abs(Math.sin(c) * a) + Math.abs(Math.cos(c) * s), d = 40 * n;
|
|
47
|
+
r ||= (l + d) / n, i ||= (u + d) / n, r = Math.max(r, (l + 40 * n) / n), i = Math.max(i, (u + 40 * n) / n);
|
|
48
|
+
} else r ||= 200, i ||= 200;
|
|
49
|
+
if (e.width = r * n, e.height = i * n, t.save(), t.translate(e.width / 2, e.height / 2), t.rotate(p.rotate * Math.PI / 180), t.translate(-e.width / 2, -e.height / 2), t.globalAlpha = p.opacity, p.image && h.value) {
|
|
50
|
+
let r = p.imageWidth * n, i = p.imageHeight * n;
|
|
51
|
+
t.drawImage(h.value, (e.width - r) / 2, (e.height - i) / 2, r, i);
|
|
52
|
+
} else if (p.text && !p.image) {
|
|
53
|
+
let r = Array.isArray(p.text) ? p.text : [p.text], i = r.length * p.fontSize * 1.5, a = (e.height - i * n) / 2;
|
|
54
|
+
t.font = `${p.fontSize * n}px ${p.fontFamily}`, t.fillStyle = p.fontColor, t.textAlign = "center", t.textBaseline = "top", r.forEach((r, i) => {
|
|
55
|
+
t.fillText(r, e.width / 2, a + i * p.fontSize * 1.5 * n);
|
|
52
56
|
});
|
|
53
57
|
}
|
|
54
58
|
return t.restore(), {
|
|
55
59
|
base64: e.toDataURL(),
|
|
56
|
-
width:
|
|
57
|
-
height:
|
|
58
|
-
gap:
|
|
60
|
+
width: r,
|
|
61
|
+
height: i,
|
|
62
|
+
gap: p.gap
|
|
59
63
|
};
|
|
60
|
-
}),
|
|
61
|
-
|
|
64
|
+
}), _ = null, v = () => {
|
|
65
|
+
if (!m.value) return;
|
|
66
|
+
m.value.style.position = "relative", _ &&= (_.remove(), null);
|
|
67
|
+
let { base64: e, width: t, height: n, gap: r } = g.value;
|
|
68
|
+
_ = document.createElement("div"), _.style.position = "absolute", _.style.inset = "0", _.style.zIndex = "1", _.style.pointerEvents = "none", _.style.backgroundRepeat = "repeat", _.style.backgroundImage = `url(${e})`, _.style.backgroundSize = `${t}px ${n}px`, _.style.backgroundPosition = `${r / 2}px ${r / 2}px`, m.value.appendChild(_);
|
|
62
69
|
};
|
|
63
70
|
return i(() => {
|
|
64
|
-
h()
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
h();
|
|
73
|
-
}, { deep: !0 }), l(() => r.image, (t) => {
|
|
74
|
-
t && e(t);
|
|
75
|
-
}, { immediate: !0 });
|
|
76
|
-
let t = new MutationObserver((e) => {
|
|
77
|
-
let t = !1;
|
|
78
|
-
e.forEach((e) => {
|
|
79
|
-
for (let n of Array.from(e.removedNodes)) if (n === m) {
|
|
80
|
-
t = !0;
|
|
71
|
+
u([g, h], () => v(), {
|
|
72
|
+
deep: !0,
|
|
73
|
+
immediate: !0
|
|
74
|
+
});
|
|
75
|
+
let e = new MutationObserver((e) => {
|
|
76
|
+
for (let t of e) {
|
|
77
|
+
for (let e of Array.from(t.removedNodes)) if (e === _) {
|
|
78
|
+
v();
|
|
81
79
|
return;
|
|
82
80
|
}
|
|
83
|
-
if (
|
|
84
|
-
|
|
81
|
+
if (t.target === _ && t.type === "attributes") {
|
|
82
|
+
v();
|
|
85
83
|
return;
|
|
86
84
|
}
|
|
87
|
-
}
|
|
85
|
+
}
|
|
88
86
|
});
|
|
89
|
-
|
|
87
|
+
e.observe(m.value, {
|
|
90
88
|
childList: !0,
|
|
91
89
|
subtree: !0,
|
|
92
90
|
attributes: !0
|
|
93
91
|
}), a(() => {
|
|
94
|
-
|
|
92
|
+
e.disconnect(), _?.remove();
|
|
95
93
|
});
|
|
96
|
-
}), (e, r) => (o(), t("div",
|
|
94
|
+
}), (e, r) => (o(), t("div", d, [n("div", f, [c(e.$slots, "default", {}, void 0, !0)])], 512));
|
|
97
95
|
}
|
|
98
96
|
});
|
|
99
97
|
//#endregion
|
|
100
|
-
export {
|
|
98
|
+
export { p as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
2
|
import t from "./EAvatar.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
|
-
//#region src/components/
|
|
5
|
-
var n = e(t, [["__scopeId", "data-v-
|
|
4
|
+
//#region src/components/basic/EAvatar/EAvatar.vue
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-635a1e66"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { createElementBlock as e, defineComponent as t, normalizeStyle as n, openBlock as r } from "vue";
|
|
2
|
+
//#region src/components/basic/EAvatar/EAvatar.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
+
var i = t({
|
|
4
|
+
__name: "EAvatar",
|
|
5
|
+
props: {
|
|
6
|
+
src: {},
|
|
7
|
+
size: { default: "medium" }
|
|
8
|
+
},
|
|
9
|
+
setup(t) {
|
|
10
|
+
let i = {
|
|
11
|
+
small: "24px",
|
|
12
|
+
medium: "40px",
|
|
13
|
+
large: "56px"
|
|
14
|
+
};
|
|
15
|
+
return (a, o) => (r(), e("div", {
|
|
16
|
+
class: "e-avatar",
|
|
17
|
+
style: n({
|
|
18
|
+
backgroundImage: `url(${t.src})`,
|
|
19
|
+
width: i[t.size],
|
|
20
|
+
height: i[t.size]
|
|
21
|
+
})
|
|
22
|
+
}, null, 4));
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
export { i as default };
|
|
@@ -2,6 +2,6 @@ import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./EBadge.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/basic/EBadge/EBadge.vue
|
|
5
|
-
var n = e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-b65f346c"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -2,6 +2,6 @@ import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./ECarousel.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/data/ECarousel/ECarousel.vue
|
|
5
|
-
var n = e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-6fb479e3"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -2,6 +2,6 @@ import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./ECodeCollapse.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/data/ECodeCollapse/ECodeCollapse.vue
|
|
5
|
-
var n = e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-082f56a7"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -2,6 +2,6 @@ import e from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./EImage.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/data/EImage.vue
|
|
5
|
-
var n = e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-093862b4"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -2,6 +2,6 @@ import e from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./EList.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/data/EList.vue
|
|
5
|
-
var n = e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-6377d3d9"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -2,6 +2,6 @@ import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./ETable.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/data/ETable/ETable.vue
|
|
5
|
-
var n = e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-6d5f99b3"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -2,6 +2,6 @@ import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./ETimeline.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/data/ETimeline/ETimeline.vue
|
|
5
|
-
var n = e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-f42c4470"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { Fragment as e, computed as t, createCommentVNode as n, createElementBlock as r, defineComponent as i,
|
|
1
|
+
import { Fragment as e, computed as t, createCommentVNode as n, createElementBlock as r, defineComponent as i, normalizeClass as a, normalizeStyle as o, openBlock as s, provide as c, reactive as l, renderList as u, renderSlot as d } from "vue";
|
|
2
2
|
//#region src/components/data/ETimeline/ETimeline.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
-
var
|
|
3
|
+
var f = 4, p = i({
|
|
4
4
|
__name: "ETimeline",
|
|
5
|
+
props: { size: { default: "medium" } },
|
|
5
6
|
setup(i) {
|
|
6
|
-
let p =
|
|
7
|
-
|
|
7
|
+
let p = l({});
|
|
8
|
+
c("updateDotInfo", ({ timestamp: e, offsetTop: t, offsetLeft: n, height: r, width: i }) => {
|
|
8
9
|
p[e] = {
|
|
9
10
|
offsetTop: t,
|
|
10
11
|
offsetLeft: n,
|
|
11
12
|
height: r,
|
|
12
13
|
width: i
|
|
13
14
|
};
|
|
14
|
-
}),
|
|
15
|
+
}), c("addDotInfo", ({ timestamp: e, offsetTop: t, offsetLeft: n, height: r, width: i }) => {
|
|
15
16
|
if (p[e]) throw Error("已存在相同的时间戳");
|
|
16
17
|
p[e] = {
|
|
17
18
|
offsetTop: t,
|
|
@@ -19,21 +20,21 @@ var d = { class: "e-timeline" }, f = 3, p = i({
|
|
|
19
20
|
height: r,
|
|
20
21
|
width: i
|
|
21
22
|
};
|
|
22
|
-
}),
|
|
23
|
+
}), c("removeDotInfo", (e) => {
|
|
23
24
|
delete p[e];
|
|
24
|
-
});
|
|
25
|
+
}), c("timelineSize", i.size);
|
|
25
26
|
let m = t(() => Object.values(p).sort((e, t) => e.offsetTop - t.offsetTop));
|
|
26
|
-
return (t,
|
|
27
|
+
return (t, c) => (s(), r("div", { class: a(["e-timeline", [`e-timeline--${i.size}`]]) }, [(s(!0), r(e, null, u(p, (t, a, c) => (s(), r(e, { key: a }, [c > 0 ? (s(), r("div", {
|
|
27
28
|
key: 0,
|
|
28
|
-
class: "
|
|
29
|
-
style:
|
|
30
|
-
top: `${m.value[
|
|
31
|
-
height: `${t.offsetTop - f - m.value[
|
|
32
|
-
left:
|
|
33
|
-
width:
|
|
29
|
+
class: "e-timeline__line",
|
|
30
|
+
style: o({
|
|
31
|
+
top: `${m.value[c - 1].offsetTop + m.value[c - 1].height + f}px`,
|
|
32
|
+
height: `${t.offsetTop - f - m.value[c - 1].offsetTop - m.value[c - 1].height - f}px`,
|
|
33
|
+
left: `calc(var(--e-timeline-${i.size}-grid-column) / 2)`,
|
|
34
|
+
width: `var(--e-timeline-${i.size}-line-width)`,
|
|
34
35
|
transform: "translateX(-50%)"
|
|
35
36
|
})
|
|
36
|
-
}, null, 4)) : n("", !0)], 64))), 128)),
|
|
37
|
+
}, null, 4)) : n("", !0)], 64))), 128)), d(t.$slots, "default", {}, void 0, !0)], 2));
|
|
37
38
|
}
|
|
38
39
|
});
|
|
39
40
|
//#endregion
|
|
@@ -2,6 +2,6 @@ import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./ETimelineItem.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/data/ETimeline/ETimelineItem.vue
|
|
5
|
-
var n = e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-a7f4e704"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { createElementBlock as e, createElementVNode as t, defineComponent as n, inject as r,
|
|
1
|
+
import { createElementBlock as e, createElementVNode as t, defineComponent as n, inject as r, normalizeClass as i, onMounted as a, onUnmounted as o, openBlock as s, renderSlot as c, toDisplayString as l, unref as u, useSlots as d, useTemplateRef as f } from "vue";
|
|
2
2
|
//#region src/components/data/ETimeline/ETimelineItem.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
-
var
|
|
3
|
+
var p = { class: "e-timeline-item__dot-box" }, m = {
|
|
4
4
|
key: 1,
|
|
5
|
-
class: "
|
|
6
|
-
},
|
|
5
|
+
class: "e-timeline-item__dot"
|
|
6
|
+
}, h = { class: "e-timeline-item__timestamp" }, g = { class: "e-timeline-item__content" }, _ = n({
|
|
7
7
|
__name: "ETimelineItem",
|
|
8
8
|
props: { timestamp: {} },
|
|
9
9
|
setup(n) {
|
|
10
|
-
let
|
|
11
|
-
return
|
|
12
|
-
let e =
|
|
13
|
-
|
|
10
|
+
let _ = d(), v = r("timelineSize", "medium"), y = r("updateDotInfo"), b = r("addDotInfo"), x = r("removeDotInfo"), S = f("timelineItemRef");
|
|
11
|
+
return a(() => {
|
|
12
|
+
let e = S.value.parentNode, t = S.value.querySelector(".e-timeline-item__dot-box").firstElementChild;
|
|
13
|
+
b({
|
|
14
14
|
timestamp: n.timestamp,
|
|
15
15
|
offsetTop: t.offsetTop,
|
|
16
16
|
offsetLeft: t.offsetLeft,
|
|
@@ -18,7 +18,7 @@ var f = { class: "dot-box" }, p = {
|
|
|
18
18
|
width: t.offsetWidth
|
|
19
19
|
});
|
|
20
20
|
let r = new ResizeObserver(() => {
|
|
21
|
-
|
|
21
|
+
y({
|
|
22
22
|
timestamp: n.timestamp,
|
|
23
23
|
offsetTop: t.offsetTop,
|
|
24
24
|
offsetLeft: t.offsetLeft,
|
|
@@ -26,19 +26,19 @@ var f = { class: "dot-box" }, p = {
|
|
|
26
26
|
width: t.offsetWidth
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
r.observe(e),
|
|
30
|
-
|
|
29
|
+
r.observe(e), o(() => {
|
|
30
|
+
x(n.timestamp), r.disconnect();
|
|
31
31
|
});
|
|
32
|
-
}), (r,
|
|
33
|
-
class: "e-timeline-item",
|
|
32
|
+
}), (r, a) => (s(), e("div", {
|
|
33
|
+
class: i(["e-timeline-item", [`e-timeline-item--${u(v)}`]]),
|
|
34
34
|
ref_key: "timelineItemRef",
|
|
35
|
-
ref:
|
|
35
|
+
ref: S
|
|
36
36
|
}, [
|
|
37
|
-
t("div",
|
|
38
|
-
t("div",
|
|
39
|
-
t("div",
|
|
40
|
-
],
|
|
37
|
+
t("div", p, [u(_).icon ? c(r.$slots, "icon", { key: 0 }, void 0, !0) : (s(), e("div", m))]),
|
|
38
|
+
t("div", h, l(n.timestamp), 1),
|
|
39
|
+
t("div", g, [c(r.$slots, "default", {}, void 0, !0)])
|
|
40
|
+
], 2));
|
|
41
41
|
}
|
|
42
42
|
});
|
|
43
43
|
//#endregion
|
|
44
|
-
export {
|
|
44
|
+
export { _ as default };
|
|
@@ -2,6 +2,6 @@ import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./EDialog.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/feedback/EDialog/EDialog.vue
|
|
5
|
-
var n = e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-e48d4c96"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -2,6 +2,6 @@ import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./EDrawer.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/feedback/EDrawer/EDrawer.vue
|
|
5
|
-
var n = e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-1819995a"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -2,6 +2,6 @@ import e from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./EPopover.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/feedback/EPopover.vue
|
|
5
|
-
var n = e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-8710a281"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -2,6 +2,6 @@ import e from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./ETooltip.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/feedback/ETooltip.vue
|
|
5
|
-
var n = e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-0ad9b03b"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -2,6 +2,6 @@ import e from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./EColorPicker.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/form/EColorPicker.vue
|
|
5
|
-
var n = e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-cbf39932"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
package/dist/packages/exploria-ui/src/components/form/EConditionGroup/EConditionGroup.vue.js
CHANGED
|
@@ -2,6 +2,6 @@ import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./EConditionGroup.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/form/EConditionGroup/EConditionGroup.vue
|
|
5
|
-
var n = e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-32edb668"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|