@sysvale/cuida 3.102.1 → 3.102.2

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.
@@ -20875,13 +20875,13 @@ const HF = /* @__PURE__ */ fe(RF, [["render", NF], ["__scopeId", "data-v-3477c80
20875
20875
  },
20876
20876
  computed: {
20877
20877
  heightResolver() {
20878
- return this.round ? `${this.width}px` : this.height ? `${this.height}px` : "auto";
20878
+ return this.round ? this.resolveSizeUnit(this.width) : this.height ? this.resolveSizeUnit(this.height) : "auto";
20879
20879
  },
20880
20880
  widthResolver() {
20881
- return this.width ? `${this.width}px` : "auto";
20881
+ return this.width ? this.resolveSizeUnit(this.width) : "auto";
20882
20882
  },
20883
20883
  opacityResolver() {
20884
- return this.width ? `${this.width}px` : "auto";
20884
+ return this.width ? this.resolveSizeUnit(this.width) : "auto";
20885
20885
  },
20886
20886
  radiusResolver() {
20887
20887
  return this.round ? "50%" : this.roundedCorners ? C0(this.width) : "0px";
@@ -20899,15 +20899,18 @@ const HF = /* @__PURE__ */ fe(RF, [["render", NF], ["__scopeId", "data-v-3477c80
20899
20899
  rounder: C0,
20900
20900
  imageSrcResolver() {
20901
20901
  this.innerSrc = this.fallbackSrc;
20902
+ },
20903
+ resolveSizeUnit(t) {
20904
+ return Number.isNaN(Number(t)) ? t : `${t}px`;
20902
20905
  }
20903
20906
  }
20904
20907
  }, n4 = () => {
20905
20908
  dt((t) => ({
20906
- "711155cf": t.radiusResolver,
20907
- "4bc73756": t.grayScaleResolver,
20908
- fca7d538: t.heightResolver,
20909
- "3ef28e58": t.opacity,
20910
- a9172416: t.widthResolver
20909
+ "6f05420a": t.radiusResolver,
20910
+ "10569d3b": t.grayScaleResolver,
20911
+ "7fa0019f": t.heightResolver,
20912
+ "8c876e0e": t.opacity,
20913
+ "2f848e5a": t.widthResolver
20911
20914
  }));
20912
20915
  }, i4 = Tp.setup;
20913
20916
  Tp.setup = i4 ? (t, e) => (n4(), i4(t, e)) : n4;
@@ -20920,7 +20923,7 @@ function YF(t, e, n, i, s, a) {
20920
20923
  onError: e[0] || (e[0] = (...r) => a.imageSrcResolver && a.imageSrcResolver(...r))
20921
20924
  }), null, 16, WF);
20922
20925
  }
20923
- const nc = /* @__PURE__ */ fe(Tp, [["render", YF], ["__scopeId", "data-v-c332ce2b"]]), Ur = (t, e) => Object.keys(t).some((n) => n === e), Ap = {
20926
+ const nc = /* @__PURE__ */ fe(Tp, [["render", YF], ["__scopeId", "data-v-7098b95b"]]), Ur = (t, e) => Object.keys(t).some((n) => n === e), Ap = {
20924
20927
  components: {
20925
20928
  CdsBox: Oc,
20926
20929
  CdsImage: nc