exploria-ui 2026.3.2 → 2026.3.5
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 +102 -137
- package/dist/components/advanced/EWatermark/EWatermark.vue.d.ts +47 -7
- package/dist/components/basic/EBadge/EBadge.vue.d.ts +26 -0
- package/dist/components/data/EProgress.vue.d.ts +46 -3
- package/dist/components/form/ETimePicker.vue.d.ts +2 -1
- package/dist/components/hooks/usePosition.d.ts +1 -1
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.js +47 -46
- package/dist/components/navigation/ETabs/ETabPane.vue.d.ts +3 -3
- package/dist/components/navigation/ETabs/ETabs.vue.d.ts +2 -2
- package/dist/directives/ESlideIn.d.ts +1 -1
- package/dist/index.css +1 -1
- package/dist/node_modules/.pnpm/sortablejs@1.15.7/node_modules/sortablejs/modular/sortable.esm.js +2 -2
- package/dist/node_modules/.pnpm/three@0.180.0/node_modules/three/examples/jsm/libs/fflate.module.js +7 -4
- package/dist/node_modules/.pnpm/three@0.180.0/node_modules/three/examples/jsm/loaders/FBXLoader.js +7 -7
- package/dist/node_modules/.pnpm/three@0.180.0/node_modules/three/examples/jsm/loaders/GLTFLoader.js +4 -4
- 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 +1 -1
- package/dist/packages/exploria-ui/src/components/advanced/ERollingFollow/ERollingFollow.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/advanced/ERollingFollow/ERollingFollow.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/packages/exploria-ui/src/components/advanced/EVirtualList/EVirtualList.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/advanced/EVirtualList/EVirtualList.vue_vue_type_script_setup_true_lang.js +2 -4
- 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 +79 -25
- package/dist/packages/exploria-ui/src/components/basic/EBadge/EBadge.vue.js +7 -0
- package/dist/packages/exploria-ui/src/components/basic/EBadge/EBadge.vue_vue_type_script_setup_true_lang.js +40 -0
- package/dist/packages/exploria-ui/src/components/basic/EButton/EButton.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/basic/EButton/EButton.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/packages/exploria-ui/src/components/basic/ECard/ECard.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/basic/ECard/ECard.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/packages/exploria-ui/src/components/basic/ESvgIcon/ESvgIcon.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/packages/exploria-ui/src/components/basic/EUnderLine/EUnderLine.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/data/EAvatar/EAvatar.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/data/EAvatar/EAvatar.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/packages/exploria-ui/src/components/data/ECalendar.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/data/ECalendar.vue_vue_type_script_setup_true_lang.js +3 -3
- package/dist/packages/exploria-ui/src/components/data/ECarousel/ECarousel.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/data/ECarousel/ECarousel.vue_vue_type_script_setup_true_lang.js +51 -43
- package/dist/packages/exploria-ui/src/components/data/ECarousel/ECarouselItem.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/data/ECarousel/ECarouselItem.vue_vue_type_script_setup_true_lang.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/ECodeCollapse/ECodeCollapse.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/packages/exploria-ui/src/components/data/ECollapse/ECollapse.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/data/ECollapse/ECollapse.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/packages/exploria-ui/src/components/data/EImage.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/data/EImage.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/packages/exploria-ui/src/components/data/EList.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/data/EList.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/packages/exploria-ui/src/components/data/EMediaViewer/EMediaViewer.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/data/EMediaViewer/EMediaViewer.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/packages/exploria-ui/src/components/data/EProgress.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/data/EProgress.vue_vue_type_script_setup_true_lang.js +93 -15
- package/dist/packages/exploria-ui/src/components/data/ERollingPagination.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/data/ERollingPagination.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/packages/exploria-ui/src/components/data/ESkeleton/ESkeleton.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/ETable/ETable.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/packages/exploria-ui/src/components/data/ETable/ETableColumn.vue_vue_type_script_setup_true_lang.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 +1 -1
- 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 +1 -1
- package/dist/packages/exploria-ui/src/components/feedback/EDialog/EDialog.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/feedback/EDialog/EDialog.vue_vue_type_script_setup_true_lang.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 +1 -1
- package/dist/packages/exploria-ui/src/components/feedback/EMessage/EMessage.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/feedback/EMessage/EMessage.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/packages/exploria-ui/src/components/feedback/EMessageBox/EMessageBox.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/feedback/EMessageBox/EMessageBox.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/packages/exploria-ui/src/components/feedback/ENotification/ENotification.js +1 -1
- package/dist/packages/exploria-ui/src/components/feedback/ENotification/ENotification.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/feedback/ENotification/ENotification.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/packages/exploria-ui/src/components/feedback/EPopover.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/feedback/EPopover.vue_vue_type_script_setup_true_lang.js +16 -16
- package/dist/packages/exploria-ui/src/components/feedback/ETooltip.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/feedback/ETooltip.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/packages/exploria-ui/src/components/form/ECheckbox.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/form/ECheckbox.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/packages/exploria-ui/src/components/form/EColorPicker.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/form/EColorPicker.vue_vue_type_script_setup_true_lang.js +156 -102
- 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 +1 -1
- package/dist/packages/exploria-ui/src/components/form/EFileSelector.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/form/EFileSelector.vue_vue_type_script_setup_true_lang.js +2 -4
- package/dist/packages/exploria-ui/src/components/form/EForm.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/form/EForm.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/packages/exploria-ui/src/components/form/EFormItem.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/form/EFormItem.vue_vue_type_script_setup_true_lang.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 +1 -1
- package/dist/packages/exploria-ui/src/components/form/ERadio.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/form/ERadio.vue_vue_type_script_setup_true_lang.js +1 -1
- 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 -2
- package/dist/packages/exploria-ui/src/components/form/ESlider.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/form/ESlider.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/packages/exploria-ui/src/components/form/ETimePicker.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/form/ETimePicker.vue_vue_type_script_setup_true_lang.js +82 -74
- package/dist/packages/exploria-ui/src/components/geometry/ECube.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/hooks/usePosition.js +1 -1
- package/dist/packages/exploria-ui/src/components/layout/EContainerWithScrollbar.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/layout/EContainerWithScrollbar.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/packages/exploria-ui/src/components/layout/EDivider.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/layout/EDivider.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/packages/exploria-ui/src/components/layout/EScrollX.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/layout/EScrollX.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/packages/exploria-ui/src/components/layout/EScrollbar.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/layout/EScrollbar.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/packages/exploria-ui/src/components/navigation/EDropdown.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/navigation/EDropdown.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/packages/exploria-ui/src/components/navigation/ETabs/ETabPane.vue.js +1 -1
- package/dist/packages/exploria-ui/src/components/navigation/ETabs/ETabPane.vue_vue_type_script_setup_true_lang.js +11 -11
- 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 +29 -24
- package/dist/packages/exploria-ui/src/directives/ESizeOb.js +1 -1
- package/dist/packages/exploria-ui/src/directives/ESlideIn.js +120 -16
- package/dist/packages/exploria-ui/src/utils/EClipboardUtil.js +1 -1
- package/dist/packages/exploria-ui/src/utils/EDomUtil.js +23 -2
- package/dist/packages/exploria-ui/src/utils/EImageUtil.js +2 -2
- package/package.json +2 -3
- package/src/plugins/EPreloadImageBuilder.ts +0 -66
- package/src/plugins/ESvgPolyfill.ts +0 -29
- package/src/plugins/ESvgSpriteBuilder.ts +0 -48
- package/src/plugins/index.ts +0 -5
|
@@ -1,89 +1,97 @@
|
|
|
1
1
|
import e from "../../utils/EDomUtil.js";
|
|
2
|
-
import { Fragment as t,
|
|
2
|
+
import { Fragment as t, createElementBlock as n, createElementVNode as r, defineComponent as i, normalizeClass as a, onMounted as o, onUnmounted as s, openBlock as c, ref as l, renderList as u, toDisplayString as d, unref as f, useTemplateRef as p, watch as m } from "vue";
|
|
3
3
|
//#region src/components/form/ETimePicker.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
-
var
|
|
4
|
+
var h = ["onClick"], g = ["onClick"], _ = i({
|
|
5
5
|
__name: "ETimePicker",
|
|
6
6
|
props: {
|
|
7
7
|
time: {},
|
|
8
|
-
size: { default: "
|
|
8
|
+
size: { default: "medium" }
|
|
9
9
|
},
|
|
10
10
|
emits: ["update:time"],
|
|
11
|
-
setup(
|
|
12
|
-
let
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
t.scrollTop = Math.round(t.scrollTop / e.clientHeight) * e.clientHeight, window.onmousemove = null, window.onmouseup = null;
|
|
19
|
-
};
|
|
11
|
+
setup(i, { emit: _ }) {
|
|
12
|
+
let v = _, y = p("hourContainer"), b = p("minuteContainer"), x = l(i.time.getHours()), S = l(i.time.getMinutes()), C = Array.from({ length: 24 }, (e, t) => t.toString().padStart(2, "0")), w = Array.from({ length: 60 }, (e, t) => t.toString().padStart(2, "0")), T = (e, t) => {
|
|
13
|
+
let n = null;
|
|
14
|
+
return (...r) => {
|
|
15
|
+
n !== null && clearTimeout(n), n = window.setTimeout(() => {
|
|
16
|
+
e(...r), n = null;
|
|
17
|
+
}, t);
|
|
20
18
|
};
|
|
19
|
+
}, E = (e, t) => {
|
|
20
|
+
x.value = e, S.value = t, v("update:time", new Date(0, 0, 0, e, t));
|
|
21
|
+
}, D = (e) => {
|
|
22
|
+
let t = e.clientHeight, n = e.scrollTop;
|
|
23
|
+
return Math.round(n / t);
|
|
24
|
+
}, O = T((e) => {
|
|
25
|
+
let t = e.currentTarget;
|
|
26
|
+
E(D(t), S.value);
|
|
27
|
+
}, 100), k = T((e) => {
|
|
28
|
+
let t = e.currentTarget, n = D(t);
|
|
29
|
+
E(x.value, n);
|
|
30
|
+
}, 100);
|
|
31
|
+
function A(e) {
|
|
32
|
+
let t = e.currentTarget, n = e.pageY, r = t.scrollTop, i = (e) => {
|
|
33
|
+
t.scrollTop = r - (e.pageY - n);
|
|
34
|
+
}, a = () => {
|
|
35
|
+
let e = t.clientHeight;
|
|
36
|
+
t.scrollTop = Math.round(t.scrollTop / e) * e, window.removeEventListener("mousemove", i), window.removeEventListener("mouseup", a);
|
|
37
|
+
};
|
|
38
|
+
window.addEventListener("mousemove", i), window.addEventListener("mouseup", a);
|
|
21
39
|
}
|
|
22
|
-
let
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
})
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
let j = (t, n, r) => {
|
|
41
|
+
let i = t.currentTarget;
|
|
42
|
+
if (n === "hour" ? y.value : b.value) {
|
|
43
|
+
e.scrollIntoView({
|
|
44
|
+
element: i,
|
|
45
|
+
block: "center"
|
|
46
|
+
});
|
|
47
|
+
let t = Number(r);
|
|
48
|
+
n === "hour" ? E(t, S.value) : E(x.value, t);
|
|
49
|
+
}
|
|
50
|
+
}, M = () => {
|
|
51
|
+
let t = y.value, n = b.value;
|
|
52
|
+
if (t && n) {
|
|
53
|
+
let r = t.children[x.value];
|
|
54
|
+
r && e.scrollIntoView({
|
|
55
|
+
element: r,
|
|
56
|
+
block: "center"
|
|
57
|
+
});
|
|
58
|
+
let i = n.children[S.value];
|
|
59
|
+
i && e.scrollIntoView({
|
|
60
|
+
element: i,
|
|
61
|
+
block: "center"
|
|
62
|
+
});
|
|
43
63
|
}
|
|
44
|
-
}), x = (e) => {
|
|
45
|
-
let t = e.currentTarget, n = Math.round(t.scrollTop / (t.scrollHeight / _.length));
|
|
46
|
-
b.value = b.value.replace(/\d{2}/, n.toString());
|
|
47
|
-
}, S = (e) => {
|
|
48
|
-
let t = e.currentTarget, n = Math.round(t.scrollTop / (t.scrollHeight / v.length));
|
|
49
|
-
b.value = b.value.replace(/\d{2}$/, n.toString());
|
|
50
64
|
};
|
|
51
|
-
return (
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
},
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
d(e).scrollIntoView({
|
|
80
|
-
element: t.target,
|
|
81
|
-
block: "center"
|
|
82
|
-
});
|
|
83
|
-
}
|
|
84
|
-
}, u(t), 1))), 128))], 32)
|
|
65
|
+
return m(() => i.time, (e) => {
|
|
66
|
+
x.value = e.getHours(), S.value = e.getMinutes(), setTimeout(M, 0);
|
|
67
|
+
}, { deep: !0 }), o(() => {
|
|
68
|
+
M();
|
|
69
|
+
}), s(() => {
|
|
70
|
+
window.onmousemove = null, window.onmouseup = null;
|
|
71
|
+
}), (e, o) => (c(), n("div", { class: a(["e-time-picker", `e-time-picker--${i.size}`]) }, [
|
|
72
|
+
r("div", {
|
|
73
|
+
ref: "hourContainer",
|
|
74
|
+
class: "time-container",
|
|
75
|
+
onMousedown: A,
|
|
76
|
+
onScroll: o[0] ||= (...e) => f(O) && f(O)(...e)
|
|
77
|
+
}, [(c(!0), n(t, null, u(f(C), (e) => (c(), n("div", {
|
|
78
|
+
class: a(["item", { active: Number(e) === x.value }]),
|
|
79
|
+
key: e,
|
|
80
|
+
onClick: (t) => j(t, "hour", e)
|
|
81
|
+
}, d(e), 11, h))), 128))], 544),
|
|
82
|
+
o[2] ||= r("div", { class: "separator" }, ":", -1),
|
|
83
|
+
r("div", {
|
|
84
|
+
ref: "minuteContainer",
|
|
85
|
+
class: "time-container",
|
|
86
|
+
onMousedown: A,
|
|
87
|
+
onScroll: o[1] ||= (...e) => f(k) && f(k)(...e)
|
|
88
|
+
}, [(c(!0), n(t, null, u(f(w), (e) => (c(), n("div", {
|
|
89
|
+
class: a(["item", { active: Number(e) === S.value }]),
|
|
90
|
+
key: e,
|
|
91
|
+
onClick: (t) => j(t, "minute", e)
|
|
92
|
+
}, d(e), 11, g))), 128))], 544)
|
|
85
93
|
], 2));
|
|
86
94
|
}
|
|
87
95
|
});
|
|
88
96
|
//#endregion
|
|
89
|
-
export {
|
|
97
|
+
export { _ as default };
|
|
@@ -6,6 +6,6 @@ var i = {}, a = { class: "cube" };
|
|
|
6
6
|
function o(e, i) {
|
|
7
7
|
return r(), t("div", a, [...i[0] ||= [n("<div class=\"plane top\" data-v-0ea5b937></div><div class=\"plane bottom\" data-v-0ea5b937></div><div class=\"plane front\" data-v-0ea5b937></div><div class=\"plane back\" data-v-0ea5b937></div><div class=\"plane right\" data-v-0ea5b937></div><div class=\"plane left\" data-v-0ea5b937></div><div class=\"cube-inner\" data-v-0ea5b937><div class=\"plane top\" data-v-0ea5b937></div><div class=\"plane bottom\" data-v-0ea5b937></div><div class=\"plane front\" data-v-0ea5b937></div><div class=\"plane back\" data-v-0ea5b937></div><div class=\"plane right\" data-v-0ea5b937></div><div class=\"plane left\" data-v-0ea5b937></div></div>", 7)]]);
|
|
8
8
|
}
|
|
9
|
-
var s =
|
|
9
|
+
var s = e(i, [["render", o], ["__scopeId", "data-v-0ea5b937"]]);
|
|
10
10
|
//#endregion
|
|
11
11
|
export { s as default };
|
|
@@ -26,7 +26,7 @@ var t = (t, n, r) => {
|
|
|
26
26
|
DELAY_TIME: 100,
|
|
27
27
|
resetPosition: s,
|
|
28
28
|
computePositionByRect: c,
|
|
29
|
-
|
|
29
|
+
trackPosition: (e) => {
|
|
30
30
|
let t = () => c(e.getBoundingClientRect()), n = new MutationObserver(t), r = new ResizeObserver(t);
|
|
31
31
|
return r.observe(e), window.onresize = t, window.addEventListener("scroll", t, !0), n.observe(e.parentNode, {
|
|
32
32
|
attributes: !0,
|
|
@@ -2,6 +2,6 @@ import e from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./EContainerWithScrollbar.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/layout/EContainerWithScrollbar.vue
|
|
5
|
-
var n =
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-9c812bf8"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./EScrollbar.vue.js";
|
|
2
2
|
import { createElementBlock as t, createElementVNode as n, createVNode as r, defineComponent as i, openBlock as a, renderSlot as o } from "vue";
|
|
3
3
|
//#region src/components/layout/EContainerWithScrollbar.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
-
var s = { class: "e-container-with-scrollbar" }, c = { class: "content" }, l =
|
|
4
|
+
var s = { class: "e-container-with-scrollbar" }, c = { class: "content" }, l = i({
|
|
5
5
|
__name: "EContainerWithScrollbar",
|
|
6
6
|
props: {
|
|
7
7
|
scrollbarThumbColor: { default: "#ffffff" },
|
|
@@ -2,6 +2,6 @@ import e from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./EDivider.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/layout/EDivider.vue
|
|
5
|
-
var n =
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-1368e8aa"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createElementBlock as e, createElementVNode as t, defineComponent as n, normalizeClass as r, openBlock as i, renderSlot as a } from "vue";
|
|
2
2
|
//#region src/components/layout/EDivider.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
-
var o = { class: "one-divider-text" }, s =
|
|
3
|
+
var o = { class: "one-divider-text" }, s = n({
|
|
4
4
|
__name: "EDivider",
|
|
5
5
|
props: { direction: { default: "left" } },
|
|
6
6
|
setup(n) {
|
|
@@ -2,6 +2,6 @@ import e from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./EScrollX.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/layout/EScrollX.vue
|
|
5
|
-
var n =
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-3b883da6"]]);
|
|
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 "./EScrollbar.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/layout/EScrollbar.vue
|
|
5
|
-
var n =
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-8d7de205"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createElementBlock as e, createElementVNode as t, defineComponent as n, normalizeStyle as r, onMounted as i, onUnmounted as a, openBlock as o, ref as s, useCssVars as c, useTemplateRef as l } from "vue";
|
|
2
2
|
//#region src/components/layout/EScrollbar.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
-
var u =
|
|
3
|
+
var u = n({
|
|
4
4
|
__name: "EScrollbar",
|
|
5
5
|
props: {
|
|
6
6
|
scrollbarThumbColor: { default: "#9e9e9e" },
|
|
@@ -2,6 +2,6 @@ import e from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./EDropdown.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/navigation/EDropdown.vue
|
|
5
|
-
var n =
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-07d653b0"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -2,7 +2,7 @@ import e from "../../utils/EUUIDUtil.js";
|
|
|
2
2
|
import { usePosition as t } from "../hooks/usePosition.js";
|
|
3
3
|
import { Teleport as n, Transition as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createVNode as c, defineComponent as l, getCurrentInstance as u, nextTick as d, normalizeClass as f, normalizeStyle as p, onMounted as m, openBlock as h, ref as g, renderSlot as _, unref as v, useTemplateRef as y, watch as b, withCtx as x } from "vue";
|
|
4
4
|
//#region src/components/navigation/EDropdown.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
-
var S = ["data-id"], C =
|
|
5
|
+
var S = ["data-id"], C = l({
|
|
6
6
|
__name: "EDropdown",
|
|
7
7
|
props: {
|
|
8
8
|
trigger: {},
|
|
@@ -19,7 +19,7 @@ var S = ["data-id"], C = /* @__PURE__ */ l({
|
|
|
19
19
|
},
|
|
20
20
|
emits: ["update:open"],
|
|
21
21
|
setup(l, { emit: C }) {
|
|
22
|
-
let w = y("eDropdownRef"), T = g(!1), E = C, { position: D, arrowPosition: O, arrowSize: k, DELAY_TIME: A, resetPosition: j, computePositionByRect: M,
|
|
22
|
+
let w = y("eDropdownRef"), T = g(!1), E = C, { position: D, arrowPosition: O, arrowSize: k, DELAY_TIME: A, resetPosition: j, computePositionByRect: M, trackPosition: N } = t(l.placement, l.size, l.showArrow), P = u()?.uid || e.generate(), F = (e) => {
|
|
23
23
|
T.value = e, E("update:open", e);
|
|
24
24
|
};
|
|
25
25
|
return m(() => {
|
|
@@ -2,6 +2,6 @@ import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./ETabPane.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/navigation/ETabs/ETabPane.vue
|
|
5
|
-
var n =
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-b143209b"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { computed as e, createElementBlock as t, defineComponent as n, inject as r, normalizeClass as i, onUnmounted as a, openBlock as o, renderSlot as s } from "vue";
|
|
2
2
|
//#region src/components/navigation/ETabs/ETabPane.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
-
var
|
|
3
|
+
var c = n({
|
|
4
4
|
__name: "ETabPane",
|
|
5
5
|
props: {
|
|
6
6
|
name: {},
|
|
7
7
|
label: {}
|
|
8
8
|
},
|
|
9
|
-
setup(
|
|
10
|
-
let
|
|
11
|
-
return
|
|
12
|
-
label:
|
|
13
|
-
name:
|
|
14
|
-
}),
|
|
15
|
-
|
|
16
|
-
}), (
|
|
9
|
+
setup(n) {
|
|
10
|
+
let c = r("registerTabPane"), l = r("unregisterTabPane");
|
|
11
|
+
return c({
|
|
12
|
+
label: e(() => n.label),
|
|
13
|
+
name: n.name
|
|
14
|
+
}), a(() => {
|
|
15
|
+
l(n.name);
|
|
16
|
+
}), (e, r) => (o(), t("div", { class: i(["e-tab-pane", "e-tab-pane" + n.name]) }, [s(e.$slots, "default", {}, void 0, !0)], 2));
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
|
-
export {
|
|
20
|
+
export { c as default };
|
|
@@ -2,6 +2,6 @@ import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./ETabs.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/navigation/ETabs/ETabs.vue
|
|
5
|
-
var n =
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-51cd5c8b"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "../../../utils/EDomUtil.js";
|
|
2
2
|
import { Fragment as t, computed as n, createElementBlock as r, createElementVNode as i, defineComponent as a, nextTick as o, normalizeClass as s, normalizeStyle as c, onMounted as l, onUnmounted as u, openBlock as d, provide as f, ref as p, renderList as m, renderSlot as h, toDisplayString as g, useTemplateRef as _, watch as v } from "vue";
|
|
3
3
|
//#region src/components/navigation/ETabs/ETabs.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
-
var y = ["onClick"], b =
|
|
4
|
+
var y = ["onClick"], b = a({
|
|
5
5
|
__name: "ETabs",
|
|
6
6
|
props: {
|
|
7
7
|
modelValue: {},
|
|
@@ -15,36 +15,40 @@ var y = ["onClick"], b = /* @__PURE__ */ a({
|
|
|
15
15
|
S.value.push(e);
|
|
16
16
|
}), f("unregisterTabPane", (e) => {
|
|
17
17
|
S.value = S.value.filter((t) => t.name !== e);
|
|
18
|
-
})
|
|
19
|
-
|
|
18
|
+
});
|
|
19
|
+
let C = _("eTabsRef");
|
|
20
|
+
l(() => {
|
|
21
|
+
T(C.value.querySelector(".e-tabs-label" + a.modelValue), a.modelValue, !1);
|
|
20
22
|
let e = () => {
|
|
21
|
-
|
|
23
|
+
T(C.value.querySelector(".e-tabs-label" + a.modelValue), a.modelValue, !1);
|
|
22
24
|
};
|
|
23
|
-
|
|
24
|
-
|
|
25
|
+
C.value?.addEventListener("resize", e), u(() => {
|
|
26
|
+
C.value?.removeEventListener("resize", e);
|
|
25
27
|
});
|
|
26
28
|
});
|
|
27
|
-
let
|
|
28
|
-
let t =
|
|
29
|
+
let w = (e) => {
|
|
30
|
+
let t = C.value.querySelector(`.e-tabs-header>.e-tabs-label${a.modelValue}`), n = C.value.querySelector(".e-tabs-header>.line");
|
|
29
31
|
n.style.transition = e ? "all 0.3s ease-in-out" : "none", a.placement.includes("left") || a.placement.includes("right") ? (n.style.top = t.offsetTop + "px", n.style.height = t.offsetHeight + "px", n.style.width = "2px", a.placement.includes("left") ? (n.style.right = "0px", n.style.left = "unset") : (n.style.left = "0px", n.style.right = "unset")) : (n.style.left = t.offsetLeft + "px", n.style.width = t.offsetWidth + "px", n.style.height = "2px", a.placement.includes("top") ? (n.style.bottom = "0px", n.style.top = "unset") : (n.style.top = "0px", n.style.bottom = "unset"));
|
|
30
|
-
},
|
|
31
|
-
let
|
|
32
|
-
|
|
33
|
-
let
|
|
34
|
-
e.scrollIntoView({
|
|
35
|
-
element:
|
|
36
|
-
block:
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
32
|
+
}, T = (t, n, r = !0) => {
|
|
33
|
+
let i = C.value.querySelector(".e-tabs-content");
|
|
34
|
+
i.style.scrollBehavior = r ? "smooth" : "auto";
|
|
35
|
+
let s = i.querySelector(".e-tab-pane" + n);
|
|
36
|
+
t && e.scrollIntoView({
|
|
37
|
+
element: t,
|
|
38
|
+
block: "center"
|
|
39
|
+
}), e.scrollIntoView({
|
|
40
|
+
element: s,
|
|
41
|
+
...a.placement.includes("left") || a.placement.includes("right") ? { block: "center" } : { inline: "center" }
|
|
42
|
+
}), x("update:modelValue", n), x("tabClick", n), o(() => {
|
|
43
|
+
w(r);
|
|
40
44
|
});
|
|
41
45
|
};
|
|
42
46
|
v(() => a.placement, () => {
|
|
43
47
|
o(() => {
|
|
44
|
-
|
|
48
|
+
T(null, a.modelValue, !1);
|
|
45
49
|
});
|
|
46
50
|
});
|
|
47
|
-
let
|
|
51
|
+
let E = n(() => ({
|
|
48
52
|
display: "flex",
|
|
49
53
|
flexDirection: (() => {
|
|
50
54
|
if (a.placement.includes("top")) return "column";
|
|
@@ -52,7 +56,7 @@ var y = ["onClick"], b = /* @__PURE__ */ a({
|
|
|
52
56
|
if (a.placement.includes("left")) return "row";
|
|
53
57
|
if (a.placement.includes("right")) return "row-reverse";
|
|
54
58
|
})()
|
|
55
|
-
})),
|
|
59
|
+
})), D = n(() => {
|
|
56
60
|
let e = {
|
|
57
61
|
flexDirection: a.placement.includes("top") || a.placement.includes("bottom") ? "row" : "column",
|
|
58
62
|
justifyContent: [
|
|
@@ -67,8 +71,9 @@ var y = ["onClick"], b = /* @__PURE__ */ a({
|
|
|
67
71
|
});
|
|
68
72
|
return (e, n) => (d(), r("div", {
|
|
69
73
|
class: s(["e-tabs", a.size]),
|
|
70
|
-
|
|
71
|
-
|
|
74
|
+
ref_key: "eTabsRef",
|
|
75
|
+
ref: C,
|
|
76
|
+
style: c(E.value)
|
|
72
77
|
}, [i("div", {
|
|
73
78
|
class: "e-tabs-header",
|
|
74
79
|
style: c(D.value)
|
|
@@ -79,7 +84,7 @@ var y = ["onClick"], b = /* @__PURE__ */ a({
|
|
|
79
84
|
"e-tabs-label" + e.name,
|
|
80
85
|
{ active: a.modelValue === e.name }
|
|
81
86
|
]),
|
|
82
|
-
onClick: (t) =>
|
|
87
|
+
onClick: (t) => T(t.target, e.name)
|
|
83
88
|
}, g(e.label), 11, y))), 128)), n[0] ||= i("div", { class: "line" }, null, -1)], 4), i("div", {
|
|
84
89
|
class: "e-tabs-content",
|
|
85
90
|
style: c({ flexDirection: a.placement.includes("top") || a.placement.includes("bottom") ? "row" : "column" })
|
|
@@ -1,24 +1,128 @@
|
|
|
1
1
|
//#region src/directives/ESlideIn.ts
|
|
2
|
-
var e =
|
|
3
|
-
for (let r of n)
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
2
|
+
var e = new WeakMap(), t = new IntersectionObserver((n) => {
|
|
3
|
+
for (let r of n) if (r.isIntersecting) {
|
|
4
|
+
let n = e.get(r.target);
|
|
5
|
+
n && (n.play(), t.unobserve(r.target));
|
|
6
|
+
}
|
|
7
|
+
}, {
|
|
8
|
+
threshold: .1,
|
|
9
|
+
rootMargin: "0px 0px -50px 0px"
|
|
10
|
+
}), n = (e) => {
|
|
11
|
+
let t = e.getBoundingClientRect();
|
|
12
|
+
return t.top > window.innerHeight || t.bottom < 0 || t.right < 0 || t.left > window.innerWidth;
|
|
13
|
+
}, r = {
|
|
14
|
+
SLIDE_UP: "slide-up",
|
|
15
|
+
SLIDE_DOWN: "slide-down",
|
|
16
|
+
SLIDE_LEFT: "slide-left",
|
|
17
|
+
SLIDE_RIGHT: "slide-right",
|
|
18
|
+
FADE_IN: "fade-in",
|
|
19
|
+
SCALE_IN: "scale-in",
|
|
20
|
+
BOUNCE_IN: "bounce-in",
|
|
21
|
+
ROTATE_IN: "rotate-in"
|
|
22
|
+
}, i = (e, t) => {
|
|
23
|
+
switch (e) {
|
|
24
|
+
case r.SLIDE_UP: return [{
|
|
25
|
+
opacity: 0,
|
|
26
|
+
transform: "translateY(100px)",
|
|
27
|
+
filter: "blur(4px)"
|
|
28
|
+
}, {
|
|
29
|
+
opacity: 1,
|
|
30
|
+
transform: "translateY(0)",
|
|
31
|
+
filter: "blur(0)"
|
|
32
|
+
}];
|
|
33
|
+
case r.SLIDE_DOWN: return [{
|
|
34
|
+
opacity: 0,
|
|
35
|
+
transform: "translateY(-100px)",
|
|
36
|
+
filter: "blur(4px)"
|
|
37
|
+
}, {
|
|
38
|
+
opacity: 1,
|
|
39
|
+
transform: "translateY(0)",
|
|
40
|
+
filter: "blur(0)"
|
|
41
|
+
}];
|
|
42
|
+
case r.SLIDE_LEFT: return [{
|
|
43
|
+
opacity: 0,
|
|
44
|
+
transform: "translateX(100px)",
|
|
45
|
+
filter: "blur(4px)"
|
|
46
|
+
}, {
|
|
47
|
+
opacity: 1,
|
|
48
|
+
transform: "translateX(0)",
|
|
49
|
+
filter: "blur(0)"
|
|
50
|
+
}];
|
|
51
|
+
case r.SLIDE_RIGHT: return [{
|
|
52
|
+
opacity: 0,
|
|
53
|
+
transform: "translateX(-100px)",
|
|
54
|
+
filter: "blur(4px)"
|
|
55
|
+
}, {
|
|
56
|
+
opacity: 1,
|
|
57
|
+
transform: "translateX(0)",
|
|
58
|
+
filter: "blur(0)"
|
|
59
|
+
}];
|
|
60
|
+
case r.FADE_IN: return [{
|
|
61
|
+
opacity: 0,
|
|
62
|
+
filter: "blur(4px)"
|
|
63
|
+
}, {
|
|
64
|
+
opacity: 1,
|
|
65
|
+
filter: "blur(0)"
|
|
66
|
+
}];
|
|
67
|
+
case r.SCALE_IN: return [{
|
|
68
|
+
opacity: 0,
|
|
69
|
+
transform: "scale(0.8)",
|
|
70
|
+
filter: "blur(4px)"
|
|
71
|
+
}, {
|
|
72
|
+
opacity: 1,
|
|
73
|
+
transform: "scale(1)",
|
|
74
|
+
filter: "blur(0)"
|
|
75
|
+
}];
|
|
76
|
+
case r.BOUNCE_IN: return [
|
|
77
|
+
{
|
|
78
|
+
opacity: 0,
|
|
79
|
+
transform: "scale(0.3)",
|
|
80
|
+
filter: "blur(8px)"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
opacity: .8,
|
|
84
|
+
transform: "scale(1.1)",
|
|
85
|
+
filter: "blur(2px)"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
opacity: 1,
|
|
89
|
+
transform: "scale(1)",
|
|
90
|
+
filter: "blur(0)"
|
|
91
|
+
}
|
|
92
|
+
];
|
|
93
|
+
case r.ROTATE_IN: return [{
|
|
94
|
+
opacity: 0,
|
|
95
|
+
transform: "rotate(-180deg) scale(0.8)",
|
|
96
|
+
filter: "blur(4px)"
|
|
97
|
+
}, {
|
|
98
|
+
opacity: 1,
|
|
99
|
+
transform: "rotate(0deg) scale(1)",
|
|
100
|
+
filter: "blur(0)"
|
|
101
|
+
}];
|
|
102
|
+
default: return [{
|
|
103
|
+
opacity: 0,
|
|
104
|
+
transform: "translateY(100px)",
|
|
105
|
+
filter: "blur(4px)"
|
|
106
|
+
}, {
|
|
107
|
+
opacity: 1,
|
|
108
|
+
transform: "translateY(0)",
|
|
109
|
+
filter: "blur(0)"
|
|
110
|
+
}];
|
|
111
|
+
}
|
|
112
|
+
}, a = {
|
|
113
|
+
mounted(a, o) {
|
|
114
|
+
if (!n(a)) return;
|
|
115
|
+
let s = o.value?.type || r.SLIDE_UP, c = o.value?.duration || 600, l = o.value?.easing || "cubic-bezier(0.23, 1, 0.32, 1)", u = o.value?.delay || 0, d = a.animate(i(s, a), {
|
|
116
|
+
duration: c,
|
|
117
|
+
easing: l,
|
|
118
|
+
delay: u,
|
|
119
|
+
fill: "forwards"
|
|
16
120
|
});
|
|
17
|
-
|
|
121
|
+
d.pause(), t.observe(a), e.set(a, d);
|
|
18
122
|
},
|
|
19
123
|
unmounted(e) {
|
|
20
124
|
t.unobserve(e);
|
|
21
125
|
}
|
|
22
126
|
};
|
|
23
127
|
//#endregion
|
|
24
|
-
export {
|
|
128
|
+
export { a as default };
|
|
@@ -6,7 +6,7 @@ var e = (e) => new Promise((t, n) => {
|
|
|
6
6
|
let r = document.createElement("textarea");
|
|
7
7
|
r.value = e, r.style.position = "fixed", r.style.opacity = "0", document.body.appendChild(r), r.focus(), r.select();
|
|
8
8
|
let i = document.execCommand("copy");
|
|
9
|
-
return i ? (console.log("Text copied to clipboard using execCommand."), t(!0)) : n(
|
|
9
|
+
return i ? (console.log("Text copied to clipboard using execCommand."), t(!0)) : n(Error("Copy command failed.")), document.body.removeChild(r), i;
|
|
10
10
|
} catch (e) {
|
|
11
11
|
n(e);
|
|
12
12
|
}
|