exploria-ui 2026.3.4 → 2026.3.6
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/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 +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 +1 -1
- 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/EImageUtil.js +2 -2
- package/package.json +1 -1
- package/dist/plugins/EPreloadImageBuilder.d.ts +0 -5
- package/dist/plugins/ESvgPolyfill.d.ts +0 -3
- package/dist/plugins/ESvgSpriteBuilder.d.ts +0 -6
- package/dist/plugins/index.d.ts +0 -4
- package/dist/plugins/index.js +0 -7487
package/dist/node_modules/.pnpm/sortablejs@1.15.7/node_modules/sortablejs/modular/sortable.esm.js
CHANGED
|
@@ -79,7 +79,7 @@ function c(e) {
|
|
|
79
79
|
}
|
|
80
80
|
var l = "1.15.7";
|
|
81
81
|
function u(e) {
|
|
82
|
-
if (typeof window < "u" && window.navigator) return
|
|
82
|
+
if (typeof window < "u" && window.navigator) return !!navigator.userAgent.match(e);
|
|
83
83
|
}
|
|
84
84
|
var d = u(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), f = u(/Edge/i), p = u(/firefox/i), m = u(/safari/i) && !u(/chrome/i) && !u(/android/i), h = u(/iP(ad|od|hone)/i), g = u(/chrome/i) && u(/android/i), _ = {
|
|
85
85
|
capture: !1,
|
|
@@ -267,7 +267,7 @@ function le(e, t, n) {
|
|
|
267
267
|
}
|
|
268
268
|
}), r.width = r.right - r.left, r.height = r.bottom - r.top, r.x = r.left, r.y = r.top, r;
|
|
269
269
|
}
|
|
270
|
-
var F = "Sortable" +
|
|
270
|
+
var F = "Sortable" + new Date().getTime();
|
|
271
271
|
function ue() {
|
|
272
272
|
var e = [], t;
|
|
273
273
|
return {
|
package/dist/node_modules/.pnpm/three@0.180.0/node_modules/three/examples/jsm/libs/fflate.module.js
CHANGED
|
@@ -116,7 +116,10 @@ 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
|
-
|
|
119
|
+
h(g, 9, 0);
|
|
120
|
+
var ee = h(g, 9, 1);
|
|
121
|
+
h(_, 5, 0);
|
|
122
|
+
var v = h(_, 5, 1), y = function(e) {
|
|
120
123
|
for (var t = e[0], n = 1; n < e.length; ++n) e[n] > t && (t = e[n]);
|
|
121
124
|
return t;
|
|
122
125
|
}, b = function(e, t, n) {
|
|
@@ -172,7 +175,7 @@ var v = /* @__PURE__ */ h(g, 9, 1), ee = /* @__PURE__ */ h(_, 5, 1), y = functio
|
|
|
172
175
|
}
|
|
173
176
|
p && g(w + M), o.set(t.subarray(j, N), w), n.b = w += M, n.p = S = N * 8, n.f = _;
|
|
174
177
|
continue;
|
|
175
|
-
} else if (A == 1) T =
|
|
178
|
+
} else if (A == 1) T = ee, E = v, D = 9, O = 5;
|
|
176
179
|
else if (A == 2) {
|
|
177
180
|
var P = b(t, S, 31) + 257, F = b(t, S + 10, 15) + 4, I = P + b(t, S + 5, 31) + 1;
|
|
178
181
|
S += 14;
|
|
@@ -236,13 +239,13 @@ var v = /* @__PURE__ */ h(g, 9, 1), ee = /* @__PURE__ */ h(_, 5, 1), y = functio
|
|
|
236
239
|
n.l = T, n.p = K, n.b = w, n.f = _, T && (_ = 1, n.m = D, n.d = E, n.n = O);
|
|
237
240
|
} while (!_);
|
|
238
241
|
return w != o.length && f ? ne(o, 0, w) : o.subarray(0, w);
|
|
239
|
-
}, T =
|
|
242
|
+
}, T = new e(0), E = function(e, t) {
|
|
240
243
|
return ((e[0] & 15) != 8 || e[0] >> 4 > 7 || (e[0] << 8 | e[1]) % 31) && C(6, "invalid zlib data"), (e[1] >> 5 & 1) == +!t && C(6, "invalid zlib data: " + (e[1] & 32 ? "need" : "unexpected") + " dictionary"), (e[1] >> 3 & 4) + 2;
|
|
241
244
|
};
|
|
242
245
|
function D(e, t) {
|
|
243
246
|
return w(e.subarray(E(e, t && t.dictionary), -4), { i: 2 }, t && t.out, t && t.dictionary);
|
|
244
247
|
}
|
|
245
|
-
var O = typeof TextDecoder < "u" &&
|
|
248
|
+
var O = typeof TextDecoder < "u" && new TextDecoder();
|
|
246
249
|
try {
|
|
247
250
|
O.decode(T, { stream: !0 });
|
|
248
251
|
} catch {}
|
package/dist/node_modules/.pnpm/three@0.180.0/node_modules/three/examples/jsm/loaders/FBXLoader.js
CHANGED
|
@@ -36,7 +36,7 @@ var F, I, L, ue = class extends _ {
|
|
|
36
36
|
return this.parseScene(r, i, n), L;
|
|
37
37
|
}
|
|
38
38
|
parseConnections() {
|
|
39
|
-
let e =
|
|
39
|
+
let e = new Map();
|
|
40
40
|
return "Connections" in F && F.Connections.connections.forEach(function(t) {
|
|
41
41
|
let n = t[0], r = t[1], i = t[2];
|
|
42
42
|
e.has(n) || e.set(n, {
|
|
@@ -112,7 +112,7 @@ var F, I, L, ue = class extends _ {
|
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
parseTextures(e) {
|
|
115
|
-
let t =
|
|
115
|
+
let t = new Map();
|
|
116
116
|
if ("Texture" in F.Objects) {
|
|
117
117
|
let n = F.Objects.Texture;
|
|
118
118
|
for (let r in n) {
|
|
@@ -147,7 +147,7 @@ var F, I, L, ue = class extends _ {
|
|
|
147
147
|
return r.setPath(i), s;
|
|
148
148
|
}
|
|
149
149
|
parseMaterials(e) {
|
|
150
|
-
let t =
|
|
150
|
+
let t = new Map();
|
|
151
151
|
if ("Material" in F.Objects) {
|
|
152
152
|
let n = F.Objects.Material;
|
|
153
153
|
for (let r in n) {
|
|
@@ -293,7 +293,7 @@ var F, I, L, ue = class extends _ {
|
|
|
293
293
|
L.children.length === 1 && L.children[0].isGroup && (L.children[0].animations = o, L = L.children[0]), L.animations = o;
|
|
294
294
|
}
|
|
295
295
|
parseModels(e, t, n) {
|
|
296
|
-
let r =
|
|
296
|
+
let r = new Map(), a = F.Objects.Model;
|
|
297
297
|
for (let o in a) {
|
|
298
298
|
let s = parseInt(o), c = a[o], l = I.get(s), u = this.buildSkeleton(l, e, s, c.attrName);
|
|
299
299
|
if (!u) {
|
|
@@ -495,7 +495,7 @@ var F, I, L, ue = class extends _ {
|
|
|
495
495
|
this.negativeMaterialIndices = !1;
|
|
496
496
|
}
|
|
497
497
|
parse(e) {
|
|
498
|
-
let t =
|
|
498
|
+
let t = new Map();
|
|
499
499
|
if ("Geometry" in F.Objects) {
|
|
500
500
|
let n = F.Objects.Geometry;
|
|
501
501
|
for (let r in n) {
|
|
@@ -766,7 +766,7 @@ var F, I, L, ue = class extends _ {
|
|
|
766
766
|
return this.parseAnimStacks(t);
|
|
767
767
|
}
|
|
768
768
|
parseAnimationCurveNodes() {
|
|
769
|
-
let e = F.Objects.AnimationCurveNode, t =
|
|
769
|
+
let e = F.Objects.AnimationCurveNode, t = new Map();
|
|
770
770
|
for (let n in e) {
|
|
771
771
|
let r = e[n];
|
|
772
772
|
if (r.attrName.match(/S|R|T|DeformPercent/) !== null) {
|
|
@@ -795,7 +795,7 @@ var F, I, L, ue = class extends _ {
|
|
|
795
795
|
}
|
|
796
796
|
}
|
|
797
797
|
parseAnimationLayers(e) {
|
|
798
|
-
let t = F.Objects.AnimationLayer, n =
|
|
798
|
+
let t = F.Objects.AnimationLayer, n = new Map();
|
|
799
799
|
for (let r in t) {
|
|
800
800
|
let t = [], i = I.get(parseInt(r));
|
|
801
801
|
i !== void 0 && (i.children.forEach(function(n, r) {
|
package/dist/node_modules/.pnpm/three@0.180.0/node_modules/three/examples/jsm/loaders/GLTFLoader.js
CHANGED
|
@@ -89,7 +89,7 @@ var De = class extends ce {
|
|
|
89
89
|
} else i = JSON.parse(s.decode(e));
|
|
90
90
|
else i = e;
|
|
91
91
|
if (i.asset === void 0 || i.asset.version[0] < 2) {
|
|
92
|
-
r && r(
|
|
92
|
+
r && r(Error("THREE.GLTFLoader: Unsupported asset. glTF versions >=2.0 are supported."));
|
|
93
93
|
return;
|
|
94
94
|
}
|
|
95
95
|
let c = new ct(i, {
|
|
@@ -742,7 +742,7 @@ function ot(e) {
|
|
|
742
742
|
}
|
|
743
743
|
var st = new w(), ct = class {
|
|
744
744
|
constructor(e = {}, t = {}) {
|
|
745
|
-
this.json = e, this.extensions = {}, this.plugins = {}, this.options = t, this.cache = new Oe(), this.associations =
|
|
745
|
+
this.json = e, this.extensions = {}, this.plugins = {}, this.options = t, this.cache = new Oe(), this.associations = new Map(), this.primitiveCache = {}, this.nodeCache = {}, this.meshCache = {
|
|
746
746
|
refs: {},
|
|
747
747
|
uses: {}
|
|
748
748
|
}, this.cameraCache = {
|
|
@@ -915,7 +915,7 @@ var st = new w(), ct = class {
|
|
|
915
915
|
let r = this.options;
|
|
916
916
|
return new Promise(function(e, i) {
|
|
917
917
|
n.load(S.resolveURL(t.uri, r.path), e, void 0, function() {
|
|
918
|
-
i(
|
|
918
|
+
i(Error("THREE.GLTFLoader: Failed to load buffer \"" + t.uri + "\"."));
|
|
919
919
|
});
|
|
920
920
|
});
|
|
921
921
|
}
|
|
@@ -1226,7 +1226,7 @@ var st = new w(), ct = class {
|
|
|
1226
1226
|
return Promise.all(o).then(function(e) {
|
|
1227
1227
|
for (let t = 0, n = e.length; t < n; t++) i.add(e[t]);
|
|
1228
1228
|
return r.associations = ((e) => {
|
|
1229
|
-
let t =
|
|
1229
|
+
let t = new Map();
|
|
1230
1230
|
for (let [e, n] of r.associations) (e instanceof C || e instanceof F) && t.set(e, n);
|
|
1231
1231
|
return e.traverse((e) => {
|
|
1232
1232
|
let n = r.associations.get(e);
|
|
@@ -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 =
|
|
5
|
+
var n = t(e, [["__scopeId", "data-v-9210efa3"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createElementBlock as e, defineComponent as t, onMounted as n, openBlock as r, useTemplateRef as i } from "vue";
|
|
2
2
|
//#region src/components/advanced/EParallaxScrolling/EParallaxScrolling.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
-
var a =
|
|
3
|
+
var a = t({
|
|
4
4
|
__name: "EParallaxScrolling",
|
|
5
5
|
props: { imgList: {} },
|
|
6
6
|
setup(t) {
|
package/dist/packages/exploria-ui/src/components/advanced/ERollingFollow/ERollingFollow.vue.js
CHANGED
|
@@ -2,6 +2,6 @@ import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./ERollingFollow.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/advanced/ERollingFollow/ERollingFollow.vue
|
|
5
|
-
var n =
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-7961613b"]]);
|
|
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, openBlock as a, ref as o, renderSlot as s, useTemplateRef as c } from "vue";
|
|
2
2
|
//#region src/components/advanced/ERollingFollow/ERollingFollow.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
-
var l =
|
|
3
|
+
var l = n({
|
|
4
4
|
__name: "ERollingFollow",
|
|
5
5
|
props: {
|
|
6
6
|
itemHeight: {},
|
|
@@ -2,6 +2,6 @@ import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./EVirtualList.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/advanced/EVirtualList/EVirtualList.vue
|
|
5
|
-
var n =
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-dbf8f24d"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Fragment as e, computed as t, createElementBlock as n, createElementVNode as r, defineComponent as i, normalizeStyle as a, openBlock as o, ref as s, renderList as c, renderSlot as l, useTemplateRef as u, watch as d } from "vue";
|
|
2
2
|
//#region src/components/advanced/EVirtualList/EVirtualList.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
-
var f =
|
|
3
|
+
var f = i({
|
|
4
4
|
__name: "EVirtualList",
|
|
5
5
|
props: {
|
|
6
6
|
data: {},
|
|
@@ -11,9 +11,7 @@ var f = /* @__PURE__ */ i({
|
|
|
11
11
|
if (i.containerHeight % i.itemHeight !== 0) throw Error("containerHeight 不是 itemHeight 的整数倍");
|
|
12
12
|
let f = i.containerHeight / i.itemHeight, p = s(f), m = t(() => i.data.length <= f ? 0 : p.value - f), h = t(() => i.data.slice(m.value, p.value)), g = u("virtual-list");
|
|
13
13
|
d(() => i.data, () => {
|
|
14
|
-
let e = i.data.findIndex((e) => e === h.value[0]);
|
|
15
|
-
console.log("index", e);
|
|
16
|
-
let t = g.value.querySelector(".virtual-list-item")?.clientHeight ?? i.itemHeight;
|
|
14
|
+
let e = i.data.findIndex((e) => e === h.value[0]), t = g.value.querySelector(".virtual-list-item")?.clientHeight ?? i.itemHeight;
|
|
17
15
|
g.value.scrollTop = e * t;
|
|
18
16
|
});
|
|
19
17
|
let _ = (e) => {
|
|
@@ -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 =
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-8635b31d"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -1,46 +1,100 @@
|
|
|
1
|
-
import { computed as e, createElementBlock as t,
|
|
1
|
+
import { computed as e, createElementBlock as t, createElementVNode as n, defineComponent as r, onMounted as i, onUnmounted as a, openBlock as o, renderSlot as s, useTemplateRef as c, watch as l } from "vue";
|
|
2
2
|
//#region src/components/advanced/EWatermark/EWatermark.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
-
var
|
|
3
|
+
var u = {
|
|
4
4
|
ref: "watermark",
|
|
5
5
|
class: "e-watermark"
|
|
6
|
-
},
|
|
6
|
+
}, d = { class: "e-watermark__content" }, f = r({
|
|
7
7
|
__name: "EWatermark",
|
|
8
8
|
props: {
|
|
9
9
|
text: { default: "Watermark" },
|
|
10
|
-
rotate: { default: 45 },
|
|
11
|
-
fontColor: { default: "rgba(
|
|
12
|
-
fontSize: { default: 16 }
|
|
10
|
+
rotate: { default: () => -45 },
|
|
11
|
+
fontColor: { default: "rgba(100, 100, 100, 0.5)" },
|
|
12
|
+
fontSize: { default: 16 },
|
|
13
|
+
fontFamily: { default: "Arial" },
|
|
14
|
+
gap: { default: 100 },
|
|
15
|
+
width: {},
|
|
16
|
+
height: {},
|
|
17
|
+
image: { default: "" },
|
|
18
|
+
imageWidth: { default: 120 },
|
|
19
|
+
imageHeight: { default: 40 }
|
|
13
20
|
},
|
|
14
|
-
setup(
|
|
15
|
-
let
|
|
16
|
-
let e = document.createElement("canvas"), t = e.getContext("2d"),
|
|
17
|
-
|
|
21
|
+
setup(r) {
|
|
22
|
+
let f = c("watermark"), p = e(() => {
|
|
23
|
+
let e = document.createElement("canvas"), t = e.getContext("2d"), n = window.devicePixelRatio || 1, i = r.width, a = r.height;
|
|
24
|
+
if (r.image) i ||= r.imageWidth, a ||= r.imageHeight;
|
|
25
|
+
else if (r.text) {
|
|
26
|
+
let e = Array.isArray(r.text) ? r.text : [r.text];
|
|
27
|
+
t.font = `${r.fontSize * n}px ${r.fontFamily}`;
|
|
28
|
+
let o = 0;
|
|
29
|
+
e.forEach((e) => {
|
|
30
|
+
let n = t.measureText(e);
|
|
31
|
+
o = Math.max(o, n.width);
|
|
32
|
+
});
|
|
33
|
+
let s = r.fontSize * 1.5, c = e.length * s * n, l = Math.abs(r.rotate * Math.PI / 180), u = Math.abs(Math.cos(l) * o) + Math.abs(Math.sin(l) * c), d = Math.abs(Math.sin(l) * o) + Math.abs(Math.cos(l) * c);
|
|
34
|
+
if (!i || !a) {
|
|
35
|
+
let e = 40 * n;
|
|
36
|
+
i ||= (u + e) / n, a ||= (d + e) / n;
|
|
37
|
+
}
|
|
38
|
+
let f = (u + 40 * n) / n, p = (d + 40 * n) / n;
|
|
39
|
+
i = Math.max(i, f), a = Math.max(a, p);
|
|
40
|
+
}
|
|
41
|
+
if (e.width = i * n, e.height = a * n, t.fillStyle = "rgba(0, 0, 0, 0)", t.fillRect(0, 0, e.width, e.height), t.save(), t.translate(e.width / 2, e.height / 2), t.rotate(r.rotate * Math.PI / 180), t.translate(-e.width / 2, -e.height / 2), r.image) {
|
|
42
|
+
let i = new Image();
|
|
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);
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
return t.restore(), {
|
|
18
55
|
base64: e.toDataURL(),
|
|
19
|
-
|
|
56
|
+
width: i,
|
|
57
|
+
height: a,
|
|
58
|
+
gap: r.gap
|
|
20
59
|
};
|
|
21
|
-
}),
|
|
22
|
-
|
|
60
|
+
}), m, h = () => {
|
|
61
|
+
f.value && (f.value.style.position = "relative", m && m.remove(), m = document.createElement("div"), m.style.position = "absolute", m.style.inset = "0", m.style.zIndex = "1", m.style.pointerEvents = "none", m.style.backgroundRepeat = "repeat", m.style.backgroundImage = `url(${p.value.base64})`, m.style.backgroundSize = `${p.value.width}px ${p.value.height}px`, m.style.backgroundPosition = `${p.value.gap / 2}px ${p.value.gap / 2}px`, f.value.appendChild(m));
|
|
23
62
|
};
|
|
24
|
-
return
|
|
25
|
-
|
|
26
|
-
let e =
|
|
63
|
+
return i(() => {
|
|
64
|
+
h();
|
|
65
|
+
let e = (e) => {
|
|
66
|
+
let t = new Image();
|
|
67
|
+
t.crossOrigin = "anonymous", t.onload = () => {
|
|
68
|
+
h();
|
|
69
|
+
}, t.src = e;
|
|
70
|
+
};
|
|
71
|
+
l([p], () => {
|
|
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;
|
|
27
78
|
e.forEach((e) => {
|
|
28
|
-
for (let
|
|
29
|
-
|
|
79
|
+
for (let n of Array.from(e.removedNodes)) if (n === m) {
|
|
80
|
+
t = !0;
|
|
30
81
|
return;
|
|
31
82
|
}
|
|
32
|
-
e.target ===
|
|
33
|
-
|
|
83
|
+
if (e.target === m) {
|
|
84
|
+
t = !0;
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
}), t && h();
|
|
34
88
|
});
|
|
35
|
-
|
|
89
|
+
t.observe(f.value, {
|
|
36
90
|
childList: !0,
|
|
37
91
|
subtree: !0,
|
|
38
92
|
attributes: !0
|
|
39
|
-
}),
|
|
40
|
-
|
|
93
|
+
}), a(() => {
|
|
94
|
+
t.disconnect(), m && m.remove();
|
|
41
95
|
});
|
|
42
|
-
}), (e,
|
|
96
|
+
}), (e, r) => (o(), t("div", u, [n("div", d, [s(e.$slots, "default", {}, void 0, !0)])], 512));
|
|
43
97
|
}
|
|
44
98
|
});
|
|
45
99
|
//#endregion
|
|
46
|
-
export {
|
|
100
|
+
export { f as default };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
2
|
+
import t from "./EBadge.vue_vue_type_script_setup_true_lang.js";
|
|
3
|
+
/* empty css */
|
|
4
|
+
//#region src/components/basic/EBadge/EBadge.vue
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-009f2d80"]]);
|
|
6
|
+
//#endregion
|
|
7
|
+
export { n as default };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { computed as e, createCommentVNode as t, createElementBlock as n, defineComponent as r, normalizeClass as i, openBlock as a, renderSlot as o, toDisplayString as s } from "vue";
|
|
2
|
+
//#region src/components/basic/EBadge/EBadge.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
+
var c = { class: "e-badge" }, l = r({
|
|
4
|
+
__name: "EBadge",
|
|
5
|
+
props: {
|
|
6
|
+
value: {},
|
|
7
|
+
max: { default: 99 },
|
|
8
|
+
type: { default: "danger" },
|
|
9
|
+
size: { default: "medium" },
|
|
10
|
+
showZero: {
|
|
11
|
+
type: Boolean,
|
|
12
|
+
default: !1
|
|
13
|
+
},
|
|
14
|
+
dot: {
|
|
15
|
+
type: Boolean,
|
|
16
|
+
default: !1
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
setup(r) {
|
|
20
|
+
let l = e(() => {
|
|
21
|
+
if (r.dot || r.value === void 0 || r.value === null) return "";
|
|
22
|
+
if (typeof r.value == "number") {
|
|
23
|
+
if (r.value === 0 && !r.showZero) return "";
|
|
24
|
+
if (r.max && r.value > r.max) return `${r.max}+`;
|
|
25
|
+
}
|
|
26
|
+
return String(r.value);
|
|
27
|
+
}), u = e(() => r.dot ? !0 : !(r.value === void 0 || r.value === null || typeof r.value == "number" && r.value === 0 && !r.showZero));
|
|
28
|
+
return (e, d) => (a(), n("div", c, [o(e.$slots, "default", {}, void 0, !0), u.value ? (a(), n("sup", {
|
|
29
|
+
key: 0,
|
|
30
|
+
class: i([
|
|
31
|
+
"e-badge__content",
|
|
32
|
+
`e-badge__content--${r.type}`,
|
|
33
|
+
`e-badge__content--${r.size}`,
|
|
34
|
+
r.dot && "e-badge__content--dot"
|
|
35
|
+
])
|
|
36
|
+
}, s(l.value), 3)) : t("", !0)]));
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
//#endregion
|
|
40
|
+
export { l as default };
|
|
@@ -2,6 +2,6 @@ import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./EButton.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/basic/EButton/EButton.vue
|
|
5
|
-
var n =
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-7646f2cd"]]);
|
|
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 "./ECard.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/basic/ECard/ECard.vue
|
|
5
|
-
var n =
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-d1a44382"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -12,7 +12,7 @@ var c = {
|
|
|
12
12
|
}, f = { class: "e-card__body" }, p = {
|
|
13
13
|
key: 1,
|
|
14
14
|
class: "e-card__footer"
|
|
15
|
-
}, m =
|
|
15
|
+
}, m = r({
|
|
16
16
|
__name: "ECard",
|
|
17
17
|
props: {
|
|
18
18
|
title: {},
|
|
@@ -28,7 +28,7 @@ var c = {
|
|
|
28
28
|
return (m, h) => (a(), t("div", { class: i([
|
|
29
29
|
"e-card",
|
|
30
30
|
`e-card--${r.size}`,
|
|
31
|
-
`e-card--shadow-${r.shadow}`,
|
|
31
|
+
r.shadow && `e-card--shadow-${r.shadow}`,
|
|
32
32
|
r.bordered && "bordered"
|
|
33
33
|
]) }, [
|
|
34
34
|
r.title || r.subTitle || m.$slots.header ? (a(), t("div", c, [o(m.$slots, "header", {}, () => [n("div", l, [r.title ? (a(), t("h3", u, s(r.title), 1)) : e("", !0), r.subTitle ? (a(), t("p", d, s(r.subTitle), 1)) : e("", !0)])], !0)])) : e("", !0),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createElementBlock as e, createElementVNode as t, defineComponent as n, openBlock as r } from "vue";
|
|
2
2
|
//#region src/components/basic/ESvgIcon/ESvgIcon.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
-
var i = { "aria-hidden": "true" }, a = ["xlink:href"], o =
|
|
3
|
+
var i = { "aria-hidden": "true" }, a = ["xlink:href"], o = n({
|
|
4
4
|
__name: "ESvgIcon",
|
|
5
5
|
props: { symbolId: {} },
|
|
6
6
|
setup(n) {
|
|
@@ -6,6 +6,6 @@ var i = {}, a = { class: "e-under-line" };
|
|
|
6
6
|
function o(e, i) {
|
|
7
7
|
return n(), t("span", a, [r(e.$slots, "default", {}, void 0, !0)]);
|
|
8
8
|
}
|
|
9
|
-
var s =
|
|
9
|
+
var s = e(i, [["render", o], ["__scopeId", "data-v-2b048a25"]]);
|
|
10
10
|
//#endregion
|
|
11
11
|
export { s as default };
|
|
@@ -2,6 +2,6 @@ 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
4
|
//#region src/components/data/EAvatar/EAvatar.vue
|
|
5
|
-
var n =
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-ce870577"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createElementBlock as e, defineComponent as t, normalizeStyle as n, openBlock as r } from "vue";
|
|
2
2
|
//#region src/components/data/EAvatar/EAvatar.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
-
var i =
|
|
3
|
+
var i = t({
|
|
4
4
|
__name: "EAvatar",
|
|
5
5
|
props: { src: {} },
|
|
6
6
|
setup(t) {
|
|
@@ -2,6 +2,6 @@ import e from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./ECalendar.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region src/components/data/ECalendar.vue
|
|
5
|
-
var n =
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-0e0e412f"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Fragment as e, computed as t, createElementBlock as n, createElementVNode as r, defineComponent as i, normalizeClass as a, openBlock as o, renderList as s, toDisplayString as c } from "vue";
|
|
2
2
|
//#region src/components/data/ECalendar.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
-
var l = { class: "e-calendar" }, u = { class: "e-calendar__header" }, d = { class: "e-calendar__header-left" }, f = { class: "e-calendar__weekdays" }, p = { class: "e-calendar__body" }, m =
|
|
3
|
+
var l = { class: "e-calendar" }, u = { class: "e-calendar__header" }, d = { class: "e-calendar__header-left" }, f = { class: "e-calendar__weekdays" }, p = { class: "e-calendar__body" }, m = i({
|
|
4
4
|
__name: "ECalendar",
|
|
5
5
|
props: { modelValue: {} },
|
|
6
6
|
emits: ["update:model-value"],
|
|
@@ -28,7 +28,7 @@ var l = { class: "e-calendar" }, u = { class: "e-calendar__header" }, d = { clas
|
|
|
28
28
|
return {
|
|
29
29
|
day: n,
|
|
30
30
|
isOtherMonth: r,
|
|
31
|
-
isToday: S(new Date(e, t, n),
|
|
31
|
+
isToday: S(new Date(e, t, n), new Date())
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
34
|
function S(e, t) {
|
|
@@ -41,7 +41,7 @@ var l = { class: "e-calendar" }, u = { class: "e-calendar__header" }, d = { clas
|
|
|
41
41
|
g("update:model-value", new Date(v.value, y.value + 1, 1));
|
|
42
42
|
}
|
|
43
43
|
function T() {
|
|
44
|
-
let e =
|
|
44
|
+
let e = new Date();
|
|
45
45
|
g("update:model-value", new Date(e.getFullYear(), e.getMonth(), 1));
|
|
46
46
|
}
|
|
47
47
|
return (t, i) => (o(), n("div", l, [
|
|
@@ -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 =
|
|
5
|
+
var n = e(t, [["__scopeId", "data-v-fd9ac4fd"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|