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.
Files changed (123) hide show
  1. package/README.md +102 -137
  2. package/dist/components/advanced/EWatermark/EWatermark.vue.d.ts +47 -7
  3. package/dist/components/basic/EBadge/EBadge.vue.d.ts +26 -0
  4. package/dist/components/data/EProgress.vue.d.ts +46 -3
  5. package/dist/components/form/ETimePicker.vue.d.ts +2 -1
  6. package/dist/components/hooks/usePosition.d.ts +1 -1
  7. package/dist/components/index.d.ts +2 -1
  8. package/dist/components/index.js +47 -46
  9. package/dist/directives/ESlideIn.d.ts +1 -1
  10. package/dist/index.css +1 -1
  11. package/dist/node_modules/.pnpm/sortablejs@1.15.7/node_modules/sortablejs/modular/sortable.esm.js +2 -2
  12. package/dist/node_modules/.pnpm/three@0.180.0/node_modules/three/examples/jsm/libs/fflate.module.js +7 -4
  13. package/dist/node_modules/.pnpm/three@0.180.0/node_modules/three/examples/jsm/loaders/FBXLoader.js +7 -7
  14. package/dist/node_modules/.pnpm/three@0.180.0/node_modules/three/examples/jsm/loaders/GLTFLoader.js +4 -4
  15. package/dist/packages/exploria-ui/src/components/advanced/EParallaxScrolling/EParallaxScrolling.vue.js +1 -1
  16. package/dist/packages/exploria-ui/src/components/advanced/EParallaxScrolling/EParallaxScrolling.vue_vue_type_script_setup_true_lang.js +1 -1
  17. package/dist/packages/exploria-ui/src/components/advanced/ERollingFollow/ERollingFollow.vue.js +1 -1
  18. package/dist/packages/exploria-ui/src/components/advanced/ERollingFollow/ERollingFollow.vue_vue_type_script_setup_true_lang.js +1 -1
  19. package/dist/packages/exploria-ui/src/components/advanced/EVirtualList/EVirtualList.vue.js +1 -1
  20. package/dist/packages/exploria-ui/src/components/advanced/EVirtualList/EVirtualList.vue_vue_type_script_setup_true_lang.js +2 -4
  21. package/dist/packages/exploria-ui/src/components/advanced/EWatermark/EWatermark.vue.js +1 -1
  22. package/dist/packages/exploria-ui/src/components/advanced/EWatermark/EWatermark.vue_vue_type_script_setup_true_lang.js +79 -25
  23. package/dist/packages/exploria-ui/src/components/basic/EBadge/EBadge.vue.js +7 -0
  24. package/dist/packages/exploria-ui/src/components/basic/EBadge/EBadge.vue_vue_type_script_setup_true_lang.js +40 -0
  25. package/dist/packages/exploria-ui/src/components/basic/EButton/EButton.vue.js +1 -1
  26. package/dist/packages/exploria-ui/src/components/basic/EButton/EButton.vue_vue_type_script_setup_true_lang.js +1 -1
  27. package/dist/packages/exploria-ui/src/components/basic/ECard/ECard.vue.js +1 -1
  28. package/dist/packages/exploria-ui/src/components/basic/ECard/ECard.vue_vue_type_script_setup_true_lang.js +2 -2
  29. package/dist/packages/exploria-ui/src/components/basic/ESvgIcon/ESvgIcon.vue_vue_type_script_setup_true_lang.js +1 -1
  30. package/dist/packages/exploria-ui/src/components/basic/EUnderLine/EUnderLine.vue.js +1 -1
  31. package/dist/packages/exploria-ui/src/components/data/EAvatar/EAvatar.vue.js +1 -1
  32. package/dist/packages/exploria-ui/src/components/data/EAvatar/EAvatar.vue_vue_type_script_setup_true_lang.js +1 -1
  33. package/dist/packages/exploria-ui/src/components/data/ECalendar.vue.js +1 -1
  34. package/dist/packages/exploria-ui/src/components/data/ECalendar.vue_vue_type_script_setup_true_lang.js +3 -3
  35. package/dist/packages/exploria-ui/src/components/data/ECarousel/ECarousel.vue.js +1 -1
  36. package/dist/packages/exploria-ui/src/components/data/ECarousel/ECarousel.vue_vue_type_script_setup_true_lang.js +51 -43
  37. package/dist/packages/exploria-ui/src/components/data/ECarousel/ECarouselItem.vue.js +1 -1
  38. package/dist/packages/exploria-ui/src/components/data/ECarousel/ECarouselItem.vue_vue_type_script_setup_true_lang.js +1 -1
  39. package/dist/packages/exploria-ui/src/components/data/ECodeCollapse/ECodeCollapse.vue.js +1 -1
  40. package/dist/packages/exploria-ui/src/components/data/ECodeCollapse/ECodeCollapse.vue_vue_type_script_setup_true_lang.js +1 -1
  41. package/dist/packages/exploria-ui/src/components/data/ECollapse/ECollapse.vue.js +1 -1
  42. package/dist/packages/exploria-ui/src/components/data/ECollapse/ECollapse.vue_vue_type_script_setup_true_lang.js +1 -1
  43. package/dist/packages/exploria-ui/src/components/data/EImage.vue.js +1 -1
  44. package/dist/packages/exploria-ui/src/components/data/EImage.vue_vue_type_script_setup_true_lang.js +1 -1
  45. package/dist/packages/exploria-ui/src/components/data/EList.vue.js +1 -1
  46. package/dist/packages/exploria-ui/src/components/data/EList.vue_vue_type_script_setup_true_lang.js +1 -1
  47. package/dist/packages/exploria-ui/src/components/data/EMediaViewer/EMediaViewer.vue.js +1 -1
  48. package/dist/packages/exploria-ui/src/components/data/EMediaViewer/EMediaViewer.vue_vue_type_script_setup_true_lang.js +1 -1
  49. package/dist/packages/exploria-ui/src/components/data/EProgress.vue.js +1 -1
  50. package/dist/packages/exploria-ui/src/components/data/EProgress.vue_vue_type_script_setup_true_lang.js +93 -15
  51. package/dist/packages/exploria-ui/src/components/data/ERollingPagination.vue.js +1 -1
  52. package/dist/packages/exploria-ui/src/components/data/ERollingPagination.vue_vue_type_script_setup_true_lang.js +1 -1
  53. package/dist/packages/exploria-ui/src/components/data/ESkeleton/ESkeleton.vue.js +1 -1
  54. package/dist/packages/exploria-ui/src/components/data/ETable/ETable.vue.js +1 -1
  55. package/dist/packages/exploria-ui/src/components/data/ETable/ETable.vue_vue_type_script_setup_true_lang.js +1 -1
  56. package/dist/packages/exploria-ui/src/components/data/ETable/ETableColumn.vue_vue_type_script_setup_true_lang.js +1 -1
  57. package/dist/packages/exploria-ui/src/components/data/ETimeline/ETimeline.vue.js +1 -1
  58. package/dist/packages/exploria-ui/src/components/data/ETimeline/ETimeline.vue_vue_type_script_setup_true_lang.js +1 -1
  59. package/dist/packages/exploria-ui/src/components/data/ETimeline/ETimelineItem.vue.js +1 -1
  60. package/dist/packages/exploria-ui/src/components/data/ETimeline/ETimelineItem.vue_vue_type_script_setup_true_lang.js +1 -1
  61. package/dist/packages/exploria-ui/src/components/feedback/EDialog/EDialog.vue.js +1 -1
  62. package/dist/packages/exploria-ui/src/components/feedback/EDialog/EDialog.vue_vue_type_script_setup_true_lang.js +1 -1
  63. package/dist/packages/exploria-ui/src/components/feedback/EDrawer/EDrawer.vue.js +1 -1
  64. package/dist/packages/exploria-ui/src/components/feedback/EDrawer/EDrawer.vue_vue_type_script_setup_true_lang.js +1 -1
  65. package/dist/packages/exploria-ui/src/components/feedback/EMessage/EMessage.vue.js +1 -1
  66. package/dist/packages/exploria-ui/src/components/feedback/EMessage/EMessage.vue_vue_type_script_setup_true_lang.js +1 -1
  67. package/dist/packages/exploria-ui/src/components/feedback/EMessageBox/EMessageBox.vue.js +1 -1
  68. package/dist/packages/exploria-ui/src/components/feedback/EMessageBox/EMessageBox.vue_vue_type_script_setup_true_lang.js +1 -1
  69. package/dist/packages/exploria-ui/src/components/feedback/ENotification/ENotification.js +1 -1
  70. package/dist/packages/exploria-ui/src/components/feedback/ENotification/ENotification.vue.js +1 -1
  71. package/dist/packages/exploria-ui/src/components/feedback/ENotification/ENotification.vue_vue_type_script_setup_true_lang.js +1 -1
  72. package/dist/packages/exploria-ui/src/components/feedback/EPopover.vue.js +1 -1
  73. package/dist/packages/exploria-ui/src/components/feedback/EPopover.vue_vue_type_script_setup_true_lang.js +16 -16
  74. package/dist/packages/exploria-ui/src/components/feedback/ETooltip.vue.js +1 -1
  75. package/dist/packages/exploria-ui/src/components/feedback/ETooltip.vue_vue_type_script_setup_true_lang.js +2 -2
  76. package/dist/packages/exploria-ui/src/components/form/ECheckbox.vue.js +1 -1
  77. package/dist/packages/exploria-ui/src/components/form/ECheckbox.vue_vue_type_script_setup_true_lang.js +1 -1
  78. package/dist/packages/exploria-ui/src/components/form/EColorPicker.vue.js +1 -1
  79. package/dist/packages/exploria-ui/src/components/form/EColorPicker.vue_vue_type_script_setup_true_lang.js +156 -102
  80. package/dist/packages/exploria-ui/src/components/form/EConditionGroup/EConditionGroup.vue.js +1 -1
  81. package/dist/packages/exploria-ui/src/components/form/EConditionGroup/EConditionGroup.vue_vue_type_script_setup_true_lang.js +1 -1
  82. package/dist/packages/exploria-ui/src/components/form/EFileSelector.vue.js +1 -1
  83. package/dist/packages/exploria-ui/src/components/form/EFileSelector.vue_vue_type_script_setup_true_lang.js +2 -4
  84. package/dist/packages/exploria-ui/src/components/form/EForm.vue.js +1 -1
  85. package/dist/packages/exploria-ui/src/components/form/EForm.vue_vue_type_script_setup_true_lang.js +1 -1
  86. package/dist/packages/exploria-ui/src/components/form/EFormItem.vue.js +1 -1
  87. package/dist/packages/exploria-ui/src/components/form/EFormItem.vue_vue_type_script_setup_true_lang.js +1 -1
  88. package/dist/packages/exploria-ui/src/components/form/EInput/EInput.vue.js +1 -1
  89. package/dist/packages/exploria-ui/src/components/form/EInput/EInput.vue_vue_type_script_setup_true_lang.js +1 -1
  90. package/dist/packages/exploria-ui/src/components/form/ERadio.vue.js +1 -1
  91. package/dist/packages/exploria-ui/src/components/form/ERadio.vue_vue_type_script_setup_true_lang.js +1 -1
  92. package/dist/packages/exploria-ui/src/components/form/ESelect/ESelect.vue.js +1 -1
  93. package/dist/packages/exploria-ui/src/components/form/ESelect/ESelect.vue_vue_type_script_setup_true_lang.js +2 -2
  94. package/dist/packages/exploria-ui/src/components/form/ESlider.vue.js +1 -1
  95. package/dist/packages/exploria-ui/src/components/form/ESlider.vue_vue_type_script_setup_true_lang.js +1 -1
  96. package/dist/packages/exploria-ui/src/components/form/ETimePicker.vue.js +1 -1
  97. package/dist/packages/exploria-ui/src/components/form/ETimePicker.vue_vue_type_script_setup_true_lang.js +82 -74
  98. package/dist/packages/exploria-ui/src/components/geometry/ECube.vue.js +1 -1
  99. package/dist/packages/exploria-ui/src/components/hooks/usePosition.js +1 -1
  100. package/dist/packages/exploria-ui/src/components/layout/EContainerWithScrollbar.vue.js +1 -1
  101. package/dist/packages/exploria-ui/src/components/layout/EContainerWithScrollbar.vue_vue_type_script_setup_true_lang.js +1 -1
  102. package/dist/packages/exploria-ui/src/components/layout/EDivider.vue.js +1 -1
  103. package/dist/packages/exploria-ui/src/components/layout/EDivider.vue_vue_type_script_setup_true_lang.js +1 -1
  104. package/dist/packages/exploria-ui/src/components/layout/EScrollX.vue.js +1 -1
  105. package/dist/packages/exploria-ui/src/components/layout/EScrollX.vue_vue_type_script_setup_true_lang.js +1 -1
  106. package/dist/packages/exploria-ui/src/components/layout/EScrollbar.vue.js +1 -1
  107. package/dist/packages/exploria-ui/src/components/layout/EScrollbar.vue_vue_type_script_setup_true_lang.js +1 -1
  108. package/dist/packages/exploria-ui/src/components/navigation/EDropdown.vue.js +1 -1
  109. package/dist/packages/exploria-ui/src/components/navigation/EDropdown.vue_vue_type_script_setup_true_lang.js +2 -2
  110. package/dist/packages/exploria-ui/src/components/navigation/ETabs/ETabPane.vue.js +1 -1
  111. package/dist/packages/exploria-ui/src/components/navigation/ETabs/ETabPane.vue_vue_type_script_setup_true_lang.js +1 -1
  112. package/dist/packages/exploria-ui/src/components/navigation/ETabs/ETabs.vue.js +1 -1
  113. package/dist/packages/exploria-ui/src/components/navigation/ETabs/ETabs.vue_vue_type_script_setup_true_lang.js +1 -1
  114. package/dist/packages/exploria-ui/src/directives/ESizeOb.js +1 -1
  115. package/dist/packages/exploria-ui/src/directives/ESlideIn.js +120 -16
  116. package/dist/packages/exploria-ui/src/utils/EClipboardUtil.js +1 -1
  117. package/dist/packages/exploria-ui/src/utils/EImageUtil.js +2 -2
  118. package/package.json +1 -1
  119. package/dist/plugins/EPreloadImageBuilder.d.ts +0 -5
  120. package/dist/plugins/ESvgPolyfill.d.ts +0 -3
  121. package/dist/plugins/ESvgSpriteBuilder.d.ts +0 -6
  122. package/dist/plugins/index.d.ts +0 -4
  123. package/dist/plugins/index.js +0 -7487
@@ -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 !!/* @__PURE__ */ navigator.userAgent.match(e);
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" + (/* @__PURE__ */ new Date()).getTime();
270
+ var F = "Sortable" + new Date().getTime();
271
271
  function ue() {
272
272
  var e = [], t;
273
273
  return {
@@ -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
- var v = /* @__PURE__ */ h(g, 9, 1), ee = /* @__PURE__ */ h(_, 5, 1), y = function(e) {
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 = v, E = ee, D = 9, O = 5;
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 = /* @__PURE__ */ new e(0), E = function(e, 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" && /* @__PURE__ */ new TextDecoder();
248
+ var O = typeof TextDecoder < "u" && new TextDecoder();
246
249
  try {
247
250
  O.decode(T, { stream: !0 });
248
251
  } catch {}
@@ -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 = /* @__PURE__ */ new Map();
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 = /* @__PURE__ */ new Map();
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 = /* @__PURE__ */ new Map();
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 = /* @__PURE__ */ new Map(), a = F.Objects.Model;
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 = /* @__PURE__ */ new Map();
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 = /* @__PURE__ */ new Map();
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 = /* @__PURE__ */ new Map();
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) {
@@ -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(/* @__PURE__ */ Error("THREE.GLTFLoader: Unsupported asset. glTF versions >=2.0 are supported."));
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 = /* @__PURE__ */ new Map(), this.primitiveCache = {}, this.nodeCache = {}, this.meshCache = {
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(/* @__PURE__ */ Error("THREE.GLTFLoader: Failed to load buffer \"" + t.uri + "\"."));
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 = /* @__PURE__ */ new Map();
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 = /* @__PURE__ */ t(e, [["__scopeId", "data-v-9210efa3"]]);
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 = /* @__PURE__ */ t({
3
+ var a = t({
4
4
  __name: "EParallaxScrolling",
5
5
  props: { imgList: {} },
6
6
  setup(t) {
@@ -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 = /* @__PURE__ */ e(t, [["__scopeId", "data-v-7961613b"]]);
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 = /* @__PURE__ */ n({
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 = /* @__PURE__ */ e(t, [["__scopeId", "data-v-f2552a2a"]]);
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 = /* @__PURE__ */ i({
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 = /* @__PURE__ */ e(t, [["__scopeId", "data-v-1dd88019"]]);
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, defineComponent as n, onMounted as r, onUnmounted as i, openBlock as a, renderSlot as o, useTemplateRef as s, watch as c } from "vue";
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 l = {
3
+ var u = {
4
4
  ref: "watermark",
5
5
  class: "e-watermark"
6
- }, u = /* @__PURE__ */ n({
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(0, 0, 0, 0.1)" },
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(n) {
15
- let u = s("watermark"), d = e(() => {
16
- let e = document.createElement("canvas"), t = e.getContext("2d"), { width: r } = t.measureText(n.text);
17
- return e.width = e.height = r * window.devicePixelRatio, t.font = `${n.fontSize * window.devicePixelRatio}px Arial`, t.fillStyle = n.fontColor, t.textAlign = "center", t.textBaseline = "middle", t.translate(e.width / 2, e.height / 2), t.rotate(n.rotate * Math.PI / 180), t.fillText(n.text, 0, 0), {
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
- size: r / window.devicePixelRatio
56
+ width: i,
57
+ height: a,
58
+ gap: r.gap
20
59
  };
21
- }), f, p = () => {
22
- u.value.style.position = "relative", f && f.remove(), f = document.createElement("div"), f.style.position = "absolute", f.style.inset = "0", f.style.zIndex = "9999", f.style.pointerEvents = "none", f.style.backgroundRepeat = "repeat", f.style.backgroundImage = `url(${d.value.base64})`, f.style.backgroundSize = `${d.value.size}px ${d.value.size}px`, console.log("create div"), u.value.appendChild(f);
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 r(() => {
25
- p(), c(d, p);
26
- let e = new MutationObserver((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 t of Array.from(e.removedNodes)) if (t === f) {
29
- p();
79
+ for (let n of Array.from(e.removedNodes)) if (n === m) {
80
+ t = !0;
30
81
  return;
31
82
  }
32
- e.target === f && p();
33
- });
83
+ if (e.target === m) {
84
+ t = !0;
85
+ return;
86
+ }
87
+ }), t && h();
34
88
  });
35
- e.observe(u.value, {
89
+ t.observe(f.value, {
36
90
  childList: !0,
37
91
  subtree: !0,
38
92
  attributes: !0
39
- }), i(() => {
40
- e.disconnect();
93
+ }), a(() => {
94
+ t.disconnect(), m && m.remove();
41
95
  });
42
- }), (e, n) => (a(), t("div", l, [o(e.$slots, "default", {}, void 0, !0)], 512));
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 { u as default };
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 = /* @__PURE__ */ e(t, [["__scopeId", "data-v-7646f2cd"]]);
5
+ var n = e(t, [["__scopeId", "data-v-7646f2cd"]]);
6
6
  //#endregion
7
7
  export { n as default };
@@ -5,7 +5,7 @@ var l = ["disabled"], u = {
5
5
  class: "e-button__loading",
6
6
  src: e,
7
7
  alt: ""
8
- }, d = /* @__PURE__ */ r({
8
+ }, d = r({
9
9
  __name: "EButton",
10
10
  props: {
11
11
  loading: { type: Boolean },
@@ -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 = /* @__PURE__ */ e(t, [["__scopeId", "data-v-b57a24d5"]]);
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 = /* @__PURE__ */ r({
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 = /* @__PURE__ */ n({
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 = /* @__PURE__ */ e(i, [["render", o], ["__scopeId", "data-v-2b048a25"]]);
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 = /* @__PURE__ */ e(t, [["__scopeId", "data-v-ce870577"]]);
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 = /* @__PURE__ */ t({
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 = /* @__PURE__ */ e(t, [["__scopeId", "data-v-0e0e412f"]]);
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 = /* @__PURE__ */ i({
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), /* @__PURE__ */ new Date())
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 = /* @__PURE__ */ new Date();
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 = /* @__PURE__ */ e(t, [["__scopeId", "data-v-872842d3"]]);
5
+ var n = e(t, [["__scopeId", "data-v-fd9ac4fd"]]);
6
6
  //#endregion
7
7
  export { n as default };