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
|
@@ -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, withCtx as b } from "vue";
|
|
4
4
|
//#region src/components/feedback/EPopover.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
-
var x = ["data-id"], S =
|
|
5
|
+
var x = ["data-id"], S = l({
|
|
6
6
|
__name: "EPopover",
|
|
7
7
|
props: {
|
|
8
8
|
trigger: { default: "click" },
|
|
@@ -19,35 +19,35 @@ var x = ["data-id"], S = /* @__PURE__ */ l({
|
|
|
19
19
|
},
|
|
20
20
|
emits: ["update:open"],
|
|
21
21
|
setup(l, { emit: S }) {
|
|
22
|
-
let C = y("ePopoverRef"), w = S, T = g(!1), { position: E, arrowPosition: D, arrowSize: O, DELAY_TIME: k, resetPosition: A, computePositionByRect: j } = t(l.placement, l.size, l.showArrow),
|
|
22
|
+
let C = y("ePopoverRef"), w = S, T = g(!1), { position: E, arrowPosition: D, arrowSize: O, DELAY_TIME: k, resetPosition: A, computePositionByRect: j, trackPosition: M } = t(l.placement, l.size, l.showArrow), N = (e) => {
|
|
23
23
|
T.value = e, w("update:open", e);
|
|
24
|
-
},
|
|
24
|
+
}, P = u()?.uid || e.generate();
|
|
25
25
|
return m(() => {
|
|
26
26
|
let e = C.value.children[0];
|
|
27
27
|
if (l.trigger === "hover") {
|
|
28
28
|
let t;
|
|
29
|
-
e.onmouseenter = (
|
|
30
|
-
let
|
|
31
|
-
A(), j(
|
|
32
|
-
let i = () => {
|
|
29
|
+
e.onmouseenter = () => {
|
|
30
|
+
let n = e.getBoundingClientRect();
|
|
31
|
+
A(), j(n), T.value = !0, w("update:open", !0);
|
|
32
|
+
let r, i = () => {
|
|
33
33
|
clearTimeout(t), t = setTimeout(() => {
|
|
34
|
-
T.value = !1, w("update:open", !1);
|
|
34
|
+
T.value = !1, r?.(), w("update:open", !1);
|
|
35
35
|
}, k);
|
|
36
36
|
};
|
|
37
37
|
d(() => {
|
|
38
|
-
let
|
|
39
|
-
e.onmouseenter = () => {
|
|
38
|
+
let n = document.querySelector(`.e-popover-container[data-id="${P}"]`);
|
|
39
|
+
r = M(e), n.onmouseenter = () => {
|
|
40
40
|
clearTimeout(t), T.value = !0, w("update:open", !0);
|
|
41
|
-
},
|
|
41
|
+
}, n.onmouseleave = i;
|
|
42
42
|
}), e.onmouseleave = i;
|
|
43
43
|
};
|
|
44
44
|
} else l.trigger === "contextmenu" ? e.oncontextmenu = (e) => {
|
|
45
45
|
e.preventDefault(), E.left = e.pageX, E.top = e.pageY, T.value = !0, w("update:open", !0), d(() => {
|
|
46
46
|
window.onmousedown = () => {
|
|
47
|
-
|
|
47
|
+
N(!1), window.onmousedown = null;
|
|
48
48
|
};
|
|
49
49
|
let e = () => {
|
|
50
|
-
|
|
50
|
+
N(!1), window.removeEventListener("scroll", e, !0);
|
|
51
51
|
};
|
|
52
52
|
window.addEventListener("scroll", e, !0);
|
|
53
53
|
});
|
|
@@ -58,11 +58,11 @@ var x = ["data-id"], S = /* @__PURE__ */ l({
|
|
|
58
58
|
}
|
|
59
59
|
let t = e.getBoundingClientRect();
|
|
60
60
|
A(), j(t), T.value = !0, w("update:open", !0), d(() => {
|
|
61
|
-
let t = document.querySelector(`.e-popover-container[data-id="${
|
|
61
|
+
let t = document.querySelector(`.e-popover-container[data-id="${P}"]`);
|
|
62
62
|
t.onclick = (e) => e.stopPropagation(), t.onmousedown = (e) => e.stopPropagation();
|
|
63
63
|
let n = () => j(e.getBoundingClientRect()), r = new ResizeObserver(n);
|
|
64
64
|
r.observe(e), window.onresize = n, window.addEventListener("scroll", n, !0), window.onmousedown = () => {
|
|
65
|
-
|
|
65
|
+
N(!1), r.disconnect(), window.onresize = null, window.removeEventListener("scroll", n, !0);
|
|
66
66
|
};
|
|
67
67
|
});
|
|
68
68
|
});
|
|
@@ -76,7 +76,7 @@ var x = ["data-id"], S = /* @__PURE__ */ l({
|
|
|
76
76
|
default: b(() => [(l.trigger ? T.value : l.open) ? (h(), o("div", {
|
|
77
77
|
key: 0,
|
|
78
78
|
class: f(["e-popover-container", l.size]),
|
|
79
|
-
"data-id": v(
|
|
79
|
+
"data-id": v(P),
|
|
80
80
|
style: p({
|
|
81
81
|
top: v(E).top + "px",
|
|
82
82
|
left: v(E).left + "px",
|
|
@@ -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 =
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-152661a6"]]);
|
|
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, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, defineComponent as c, getCurrentInstance as l, nextTick as u, normalizeClass as d, normalizeStyle as f, onMounted as p, onUnmounted as m, openBlock as h, ref as g, renderSlot as _, toDisplayString as v, unref as y, useTemplateRef as b, watchEffect as x } from "vue";
|
|
4
4
|
//#region src/components/feedback/ETooltip.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
-
var S = ["data-id"], C =
|
|
5
|
+
var S = ["data-id"], C = c({
|
|
6
6
|
__name: "ETooltip",
|
|
7
7
|
props: {
|
|
8
8
|
content: {},
|
|
@@ -15,7 +15,7 @@ var S = ["data-id"], C = /* @__PURE__ */ c({
|
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
setup(c) {
|
|
18
|
-
let C = g(c.open), w = b("eTooltipRef"), { position: T, arrowPosition: E, arrowSize: D, DELAY_TIME: O, resetPosition: k, computePositionByRect: A,
|
|
18
|
+
let C = g(c.open), w = b("eTooltipRef"), { position: T, arrowPosition: E, arrowSize: D, DELAY_TIME: O, resetPosition: k, computePositionByRect: A, trackPosition: j } = t(c.placement, c.size, c.showArrow), M = l()?.uid || e.generate(), N;
|
|
19
19
|
return p(() => {
|
|
20
20
|
let e, t = w.value.children[0];
|
|
21
21
|
x(() => {
|
|
@@ -2,6 +2,6 @@ import e from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./ECheckbox.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/form/ECheckbox.vue
|
|
5
|
-
var n =
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-0e16187d"]]);
|
|
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 =
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-67306421"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { usePosition as e } from "../hooks/usePosition.js";
|
|
2
|
-
import { Teleport as t, Transition as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, normalizeClass as l, normalizeStyle as u, onMounted as d, onUnmounted as f, openBlock as p, reactive as m, ref as h, toDisplayString as g, unref as _, useTemplateRef as v,
|
|
2
|
+
import { Teleport as t, Transition as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, normalizeClass as l, normalizeStyle as u, onMounted as d, onUnmounted as f, openBlock as p, reactive as m, ref as h, toDisplayString as g, unref as _, useTemplateRef as v, withCtx as y, withModifiers as b } from "vue";
|
|
3
3
|
//#region src/components/form/EColorPicker.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
-
var C = { class: "
|
|
4
|
+
var x = { class: "color-picker-section" }, S = { class: "hue-slider-section" }, C = { class: "hue-slider-container" }, w = ["value"], ee = { class: "alpha-slider-section" }, T = { class: "slider-label" }, E = { class: "slider-value" }, D = { class: "alpha-slider-container" }, O = ["value"], k = { class: "current-color-preview" }, A = { class: "color-code" }, j = c({
|
|
5
5
|
__name: "EColorPicker",
|
|
6
6
|
props: {
|
|
7
7
|
modelValue: { default: "#ff0000" },
|
|
@@ -12,138 +12,192 @@ var C = { class: "alpha-slider-container" }, w = { class: "current-color-preview
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
emits: ["update:modelValue"],
|
|
15
|
-
setup(c, { emit:
|
|
16
|
-
let { position:
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
},
|
|
15
|
+
setup(c, { emit: j }) {
|
|
16
|
+
let M = j, { position: N, computePositionByRect: P, trackPosition: F, arrowSize: I, arrowPosition: L } = e("bottom", c.size, c.showArrow), R = m({
|
|
17
|
+
left: 0,
|
|
18
|
+
top: 0,
|
|
19
|
+
translateX: "0",
|
|
20
|
+
translateY: "0"
|
|
21
|
+
}), z, B = h(!1), V = m({
|
|
22
|
+
h: 0,
|
|
23
|
+
s: 100,
|
|
24
|
+
l: 50,
|
|
25
|
+
a: 1
|
|
26
|
+
}), H = m({
|
|
22
27
|
x: 0,
|
|
23
28
|
y: 0
|
|
24
|
-
}),
|
|
25
|
-
if (
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
29
|
+
}), U = h(""), W = v("eColorPickerRef"), G = () => {
|
|
30
|
+
if (B.value) B.value = !1, z();
|
|
31
|
+
else {
|
|
32
|
+
let e = W.value.children[0];
|
|
33
|
+
P(e.getBoundingClientRect()), R.left = N.left, R.top = N.top, R.translateX = N.translateX, R.translateY = N.translateY, z = F(e), Y(), B.value = !0;
|
|
34
|
+
}
|
|
35
|
+
}, K = (e, t, n) => {
|
|
36
|
+
e /= 255, t /= 255, n /= 255;
|
|
37
|
+
let r = Math.max(e, t, n), i = Math.min(e, t, n), a = 0, o = 0, s = (r + i) / 2;
|
|
38
|
+
if (r !== i) {
|
|
39
|
+
let c = r - i;
|
|
40
|
+
switch (o = s > .5 ? c / (2 - r - i) : c / (r + i), r) {
|
|
41
|
+
case e:
|
|
42
|
+
a = (t - n) / c + (t < n ? 6 : 0);
|
|
43
|
+
break;
|
|
44
|
+
case t:
|
|
45
|
+
a = (n - e) / c + 2;
|
|
46
|
+
break;
|
|
47
|
+
case n:
|
|
48
|
+
a = (e - t) / c + 4;
|
|
49
|
+
break;
|
|
30
50
|
}
|
|
51
|
+
a *= 60;
|
|
31
52
|
}
|
|
32
|
-
|
|
33
|
-
|
|
53
|
+
return {
|
|
54
|
+
h: Math.round(a),
|
|
55
|
+
s: Math.round(o * 100),
|
|
56
|
+
l: Math.round(s * 100)
|
|
57
|
+
};
|
|
58
|
+
}, q = (e, t, n, r) => {
|
|
34
59
|
t /= 100, n /= 100;
|
|
35
|
-
let
|
|
36
|
-
e >= 0 && e < 60 ? (
|
|
60
|
+
let i = (1 - Math.abs(2 * n - 1)) * t, a = i * (1 - Math.abs(e / 60 % 2 - 1)), o = n - i / 2, s = 0, c = 0, l = 0;
|
|
61
|
+
return e >= 0 && e < 60 ? (s = i, c = a, l = 0) : e >= 60 && e < 120 ? (s = a, c = i, l = 0) : e >= 120 && e < 180 ? (s = 0, c = i, l = a) : e >= 180 && e < 240 ? (s = 0, c = a, l = i) : e >= 240 && e < 300 ? (s = a, c = 0, l = i) : (s = i, c = 0, l = a), s = Math.round((s + o) * 255), c = Math.round((c + o) * 255), l = Math.round((l + o) * 255), `rgba(${s},${c},${l},${r})`;
|
|
62
|
+
}, J = () => {
|
|
63
|
+
U.value = q(V.h, V.s, V.l, V.a), M("update:modelValue", U.value);
|
|
64
|
+
}, Y = () => {
|
|
65
|
+
let e = 255, t = 0, n = 0, r = 1;
|
|
66
|
+
if (c.modelValue.startsWith("#")) {
|
|
67
|
+
let i = c.modelValue.slice(1), a = i;
|
|
68
|
+
i.length === 3 && (a = i.split("").map((e) => e + e).join("")), e = parseInt(a.substring(0, 2), 16), t = parseInt(a.substring(2, 4), 16), n = parseInt(a.substring(4, 6), 16), a.length === 8 && (r = parseInt(a.substring(6, 8), 16) / 255);
|
|
69
|
+
} else if (c.modelValue.startsWith("rgba")) {
|
|
70
|
+
let i = c.modelValue.match(/rgba\((\d+),\s*(\d+),\s*(\d+),\s*([\d.]+)\)/);
|
|
71
|
+
i && (e = Number(i[1]), t = Number(i[2]), n = Number(i[3]), r = Number(i[4]));
|
|
72
|
+
} else if (c.modelValue.startsWith("rgb")) {
|
|
73
|
+
let r = c.modelValue.match(/rgb\((\d+),\s*(\d+),\s*(\d+)\)/);
|
|
74
|
+
r && (e = Number(r[1]), t = Number(r[2]), n = Number(r[3]));
|
|
75
|
+
}
|
|
76
|
+
let i = K(e, t, n);
|
|
77
|
+
V.h = i.h, V.s = i.s, V.l = i.l, V.a = r;
|
|
78
|
+
let a = document.querySelector(".color-picker-area");
|
|
79
|
+
a && $(V, a);
|
|
80
|
+
}, X = (e) => {
|
|
81
|
+
if (e.currentTarget !== e.target) return;
|
|
82
|
+
let t = e.currentTarget, n = t.getBoundingClientRect(), r = e.clientX - n.left, i = e.clientY - n.top, a = Math.max(0, Math.min(r, n.width)), o = Math.max(0, Math.min(i, n.height));
|
|
83
|
+
V.s = a / n.width * 100;
|
|
84
|
+
let s = a / n.width, c = o / n.height, l = 100 * (1 - c);
|
|
85
|
+
V.l = l + s * (50 * (1 - c) - l), V.s = Math.max(0, Math.min(V.s, 100)), V.l = Math.max(0, Math.min(V.l, 100)), $(V, t), U.value = q(V.h, V.s, V.l, V.a), M("update:modelValue", U.value), document.onmousemove = (e) => {
|
|
86
|
+
let n = t.getBoundingClientRect(), r = e.clientX - n.left, i = e.clientY - n.top, a = Math.max(0, Math.min(r, n.width)), o = Math.max(0, Math.min(i, n.height));
|
|
87
|
+
V.s = a / n.width * 100;
|
|
88
|
+
let s = a / n.width, c = o / n.height, l = 100 * (1 - c);
|
|
89
|
+
V.l = l + s * (50 * (1 - c) - l), V.s = Math.max(0, Math.min(V.s, 100)), V.l = Math.max(0, Math.min(V.l, 100)), $(V, t), U.value = q(V.h, V.s, V.l, V.a), M("update:modelValue", U.value);
|
|
90
|
+
}, document.onmouseup = () => {
|
|
91
|
+
document.onmouseup = null, document.onmousemove = null;
|
|
92
|
+
};
|
|
93
|
+
}, Z = (e) => {
|
|
94
|
+
let t = e.target;
|
|
95
|
+
V.h = Number(t.value), J();
|
|
96
|
+
}, Q = (e) => {
|
|
97
|
+
let t = e.target;
|
|
98
|
+
V.a = parseFloat(Number(t.value).toFixed(2)), J();
|
|
99
|
+
}, $ = (e, t) => {
|
|
100
|
+
let n = t.getBoundingClientRect();
|
|
101
|
+
H.x = e.s / 100 * n.width;
|
|
102
|
+
let r = 100 - .5 * e.s;
|
|
103
|
+
H.y = (r > 0 ? 1 - e.l / r : 0) * n.height;
|
|
104
|
+
}, te = async () => {
|
|
105
|
+
if ("EyeDropper" in window) try {
|
|
106
|
+
let e = (await new window.EyeDropper().open()).sRGBHex, t = 0, n = 0, r = 0, i = 1, a = e.replace("#", "");
|
|
107
|
+
a.length === 6 ? (t = parseInt(a.substring(0, 2), 16), n = parseInt(a.substring(2, 4), 16), r = parseInt(a.substring(4, 6), 16)) : a.length === 8 && (t = parseInt(a.substring(0, 2), 16), n = parseInt(a.substring(2, 4), 16), r = parseInt(a.substring(4, 6), 16), i = parseInt(a.substring(6, 8), 16) / 255);
|
|
108
|
+
let o = K(t, n, r);
|
|
109
|
+
V.h = o.h, V.s = o.s, V.l = o.l, V.a = i;
|
|
110
|
+
let s = document.querySelector(".color-picker-area");
|
|
111
|
+
s && $(V, s), U.value = q(V.h, V.s, V.l, V.a), M("update:modelValue", U.value);
|
|
112
|
+
} catch {
|
|
113
|
+
console.log("Color selection canceled");
|
|
114
|
+
}
|
|
115
|
+
else alert("您的浏览器不支持颜色提取功能,请使用最新版本的Chrome或Edge浏览器。");
|
|
37
116
|
};
|
|
38
117
|
return d(() => {
|
|
39
|
-
let e = () =>
|
|
40
|
-
|
|
118
|
+
let e = () => {
|
|
119
|
+
B.value = !1;
|
|
120
|
+
};
|
|
121
|
+
document.addEventListener("click", e), f(() => {
|
|
41
122
|
document.removeEventListener("click", e);
|
|
42
123
|
});
|
|
43
124
|
}), (e, d) => (p(), a("div", {
|
|
44
125
|
class: l(["e-color-picker", [c.size]]),
|
|
45
126
|
ref_key: "eColorPickerRef",
|
|
46
|
-
ref:
|
|
47
|
-
}, [
|
|
127
|
+
ref: W
|
|
128
|
+
}, [(p(), a("div", {
|
|
48
129
|
class: "color-display",
|
|
49
|
-
|
|
50
|
-
|
|
130
|
+
key: c.modelValue,
|
|
131
|
+
style: u({ backgroundColor: c.modelValue }),
|
|
132
|
+
onClick: b(G, ["stop"]),
|
|
51
133
|
title: "点击选择颜色"
|
|
52
|
-
}, null, 4), (p(), r(t, { to: "body" }, [s(n, {
|
|
53
|
-
|
|
54
|
-
transform: "scale(0.9)",
|
|
55
|
-
opacity: 0
|
|
56
|
-
}, {
|
|
57
|
-
transform: "scale(1)",
|
|
58
|
-
opacity: 1
|
|
59
|
-
}], {
|
|
60
|
-
duration: 0,
|
|
61
|
-
easing: "ease-in-out"
|
|
62
|
-
}).play();
|
|
63
|
-
} }, {
|
|
64
|
-
default: b(() => [F.value ? (p(), a("div", {
|
|
134
|
+
}, null, 4)), (p(), r(t, { to: "body" }, [s(n, { name: "e-color-picker-transition" }, {
|
|
135
|
+
default: y(() => [B.value ? (p(), a("div", {
|
|
65
136
|
key: 0,
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
padding: "16px",
|
|
70
|
-
background: "#fff",
|
|
71
|
-
filter: "var(--e-drop-shadow-medium)"
|
|
72
|
-
}, {
|
|
137
|
+
class: "e-color-picker-popup",
|
|
138
|
+
onClick: d[0] ||= b(() => {}, ["stop"]),
|
|
139
|
+
style: u({
|
|
73
140
|
borderRadius: `var(--e-border-radius-${c.size})`,
|
|
74
|
-
left:
|
|
75
|
-
top:
|
|
76
|
-
transform: `translateX(${
|
|
77
|
-
}
|
|
78
|
-
onClick: d[4] ||= S(() => {}, ["stop"])
|
|
141
|
+
left: R.left + "px",
|
|
142
|
+
top: R.top + "px",
|
|
143
|
+
transform: `translateX(${R.translateX}) translateY(${R.translateY})`
|
|
144
|
+
})
|
|
79
145
|
}, [
|
|
80
146
|
o("div", {
|
|
81
147
|
class: "e-select-arrow",
|
|
82
148
|
style: u({
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
clipPath: _(j).clipPath
|
|
149
|
+
height: `${_(I)}px`,
|
|
150
|
+
width: `${_(I)}px`,
|
|
151
|
+
left: _(L).left,
|
|
152
|
+
top: _(L).top,
|
|
153
|
+
clipPath: _(L).clipPath
|
|
89
154
|
})
|
|
90
155
|
}, null, 4),
|
|
91
|
-
o("div", {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
cursor: "crosshair",
|
|
99
|
-
overflow: "hidden"
|
|
100
|
-
},
|
|
101
|
-
onMousedown: d[0] ||= (e) => {
|
|
102
|
-
let t = e.currentTarget;
|
|
103
|
-
t.onmousemove = (e) => {
|
|
104
|
-
let n = t.getBoundingClientRect();
|
|
105
|
-
L.x = e.offsetX, L.y = e.offsetY, V(L.x / n.width * 360, 100, 100 - L.y / n.height * 100);
|
|
106
|
-
};
|
|
107
|
-
},
|
|
108
|
-
onMouseup: d[1] ||= (e) => {
|
|
109
|
-
let t = e.currentTarget;
|
|
110
|
-
t.onmousemove = null;
|
|
111
|
-
}
|
|
156
|
+
o("div", x, [o("div", {
|
|
157
|
+
class: "color-picker-area",
|
|
158
|
+
onMousedown: X,
|
|
159
|
+
style: u({
|
|
160
|
+
background: `linear-gradient(to right, #fff, hsl(${V.h}, 100%, 50%)), linear-gradient(to top, #000, transparent)`,
|
|
161
|
+
backgroundBlendMode: "multiply"
|
|
162
|
+
})
|
|
112
163
|
}, [o("div", {
|
|
113
164
|
class: "color-cursor",
|
|
114
165
|
style: u({
|
|
115
|
-
left: `${
|
|
116
|
-
top: `${
|
|
166
|
+
left: `${H.x}px`,
|
|
167
|
+
top: `${H.y}px`
|
|
117
168
|
})
|
|
118
|
-
}, null, 4)],
|
|
119
|
-
o("div",
|
|
169
|
+
}, null, 4)], 36)]),
|
|
170
|
+
o("div", S, [o("button", {
|
|
171
|
+
class: "color-picker-eye-dropper",
|
|
172
|
+
onClick: te,
|
|
173
|
+
title: "提取屏幕颜色"
|
|
174
|
+
}, " 🎨 "), o("div", C, [o("input", {
|
|
120
175
|
type: "range",
|
|
121
|
-
|
|
176
|
+
class: "hue-slider",
|
|
122
177
|
min: "0",
|
|
123
|
-
max: "
|
|
178
|
+
max: "360",
|
|
179
|
+
value: V.h,
|
|
180
|
+
onInput: Z
|
|
181
|
+
}, null, 40, w)])]),
|
|
182
|
+
o("div", ee, [o("div", T, [d[1] ||= o("span", null, "透明度", -1), o("span", E, g((V.a * 100).toFixed(0)) + "%", 1)]), o("div", D, [o("input", {
|
|
183
|
+
type: "range",
|
|
124
184
|
class: "alpha-slider",
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
o("div", {
|
|
138
|
-
class: "preview-color",
|
|
139
|
-
style: u({ backgroundColor: R.value })
|
|
140
|
-
}, null, 4),
|
|
141
|
-
o("span", T, g(R.value), 1)
|
|
142
|
-
])
|
|
185
|
+
min: "0",
|
|
186
|
+
max: "1",
|
|
187
|
+
step: "0.01",
|
|
188
|
+
value: V.a,
|
|
189
|
+
onInput: Q,
|
|
190
|
+
style: u({ background: `linear-gradient(to right, rgba(0, 0, 0, 0), hsl(${V.h}, ${V.s}%, ${V.l}%))` })
|
|
191
|
+
}, null, 44, O)])]),
|
|
192
|
+
o("div", k, [(p(), a("div", {
|
|
193
|
+
class: "preview-color",
|
|
194
|
+
key: c.modelValue,
|
|
195
|
+
style: u({ backgroundColor: c.modelValue })
|
|
196
|
+
}, null, 4)), o("span", A, g(c.modelValue), 1)])
|
|
143
197
|
], 4)) : i("", !0)]),
|
|
144
198
|
_: 1
|
|
145
199
|
})]))], 2));
|
|
146
200
|
}
|
|
147
201
|
});
|
|
148
202
|
//#endregion
|
|
149
|
-
export {
|
|
203
|
+
export { j 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 =
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-70a57319"]]);
|
|
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 "./EFileSelector.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/form/EFileSelector.vue
|
|
5
|
-
var n =
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-f3de71b8"]]);
|
|
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, ref as a, renderSlot as o, toDisplayString as s, withModifiers as c } from "vue";
|
|
2
2
|
//#region src/components/form/EFileSelector.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
-
var l =
|
|
3
|
+
var l = n({
|
|
4
4
|
__name: "EFileSelector",
|
|
5
5
|
props: {
|
|
6
6
|
accessFileTypes: {},
|
|
@@ -8,9 +8,7 @@ var l = /* @__PURE__ */ n({
|
|
|
8
8
|
},
|
|
9
9
|
emits: ["change"],
|
|
10
10
|
setup(n, { emit: l }) {
|
|
11
|
-
let u = a(null)
|
|
12
|
-
console.log(n.accessFileTypes);
|
|
13
|
-
let d = l, f = () => {
|
|
11
|
+
let u = a(null), d = l, f = () => {
|
|
14
12
|
let e = document.createElement("input");
|
|
15
13
|
e.type = "file", e.accept = "video/*", e.onchange = (t) => {
|
|
16
14
|
u.value = t.target?.files?.[0] ?? null, u.value && d("change", u.value), e.remove();
|
|
@@ -2,6 +2,6 @@ import e from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./EForm.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/form/EForm.vue
|
|
5
|
-
var n =
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-d68eaae7"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
package/dist/packages/exploria-ui/src/components/form/EForm.vue_vue_type_script_setup_true_lang.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed as e, createElementBlock as t, defineComponent as n, normalizeClass as r, openBlock as i, provide as a, renderSlot as o, withModifiers as s } from "vue";
|
|
2
2
|
//#region src/components/form/EForm.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
-
var c =
|
|
3
|
+
var c = n({
|
|
4
4
|
__name: "EForm",
|
|
5
5
|
props: {
|
|
6
6
|
labelPosition: { default: "left" },
|
|
@@ -2,6 +2,6 @@ import e from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./EFormItem.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/form/EFormItem.vue
|
|
5
|
-
var n =
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-03331f6d"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -3,7 +3,7 @@ import { Transition as e, computed as t, createCommentVNode as n, createElementB
|
|
|
3
3
|
var _ = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "e-form-item__required"
|
|
6
|
-
}, v = { class: "e-form-item__content" }, y =
|
|
6
|
+
}, v = { class: "e-form-item__content" }, y = s({
|
|
7
7
|
__name: "EFormItem",
|
|
8
8
|
props: {
|
|
9
9
|
label: {},
|
|
@@ -2,6 +2,6 @@ import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./EInput.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/form/EInput/EInput.vue
|
|
5
|
-
var n =
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-54cde9c9"]]);
|
|
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 "./ERadio.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/form/ERadio.vue
|
|
5
|
-
var n =
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-a51ea617"]]);
|
|
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 "./ESelect.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/form/ESelect/ESelect.vue
|
|
5
|
-
var n =
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-940200e9"]]);
|
|
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 { Fragment as n, Teleport as r, Transition as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, getCurrentInstance as p, isRef as m, normalizeClass as h, normalizeStyle as g, onMounted as _, onUnmounted as v, openBlock as y, ref as b, renderList as x, toDisplayString as S, unref as C, useTemplateRef as w, withCtx as T, withModifiers as E } from "vue";
|
|
4
4
|
//#region src/components/form/ESelect/ESelect.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
-
var D = ["data-id"], O = ["onClick"], k =
|
|
5
|
+
var D = ["data-id"], O = ["onClick"], k = f({
|
|
6
6
|
__name: "ESelect",
|
|
7
7
|
props: {
|
|
8
8
|
modelValue: {},
|
|
@@ -15,7 +15,7 @@ var D = ["data-id"], O = ["onClick"], k = /* @__PURE__ */ f({
|
|
|
15
15
|
let A = k, j = a({
|
|
16
16
|
get: () => f.modelValue,
|
|
17
17
|
set: (e) => A("update:model-value", e)
|
|
18
|
-
}), M = b(!1), N = w("eSelectRef"), { position: P, arrowPosition: F, arrowSize: I, resetPosition: L, computePositionByRect: R,
|
|
18
|
+
}), M = b(!1), N = w("eSelectRef"), { position: P, arrowPosition: F, arrowSize: I, resetPosition: L, computePositionByRect: R, trackPosition: z } = t(a(() => `bottom-${f.placement}`).value, f.size, !0), B = () => M.value = !1;
|
|
19
19
|
_(() => {
|
|
20
20
|
window.addEventListener("click", B);
|
|
21
21
|
}), v(() => {
|
|
@@ -2,6 +2,6 @@ import e from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./ESlider.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/form/ESlider.vue
|
|
5
|
-
var n =
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-1a1d6126"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
package/dist/packages/exploria-ui/src/components/form/ESlider.vue_vue_type_script_setup_true_lang.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "../feedback/ETooltip.vue.js";
|
|
2
2
|
import { createElementBlock as t, createElementVNode as n, createVNode as r, defineComponent as i, normalizeClass as a, normalizeStyle as o, openBlock as s, ref as c, useTemplateRef as l, watchEffect as u, withCtx as d, withModifiers as f } from "vue";
|
|
3
3
|
//#region src/components/form/ESlider.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
-
var p =
|
|
4
|
+
var p = i({
|
|
5
5
|
__name: "ESlider",
|
|
6
6
|
props: {
|
|
7
7
|
modelValue: {},
|
|
@@ -2,6 +2,6 @@ import e from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./ETimePicker.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/form/ETimePicker.vue
|
|
5
|
-
var n =
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-15a4e704"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|