@sysvale/cuida 3.51.0 → 3.52.0

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.
@@ -18444,7 +18444,8 @@ const fp = {
18444
18444
  },
18445
18445
  fallbackSrc: {
18446
18446
  type: String,
18447
- required: !1
18447
+ required: !1,
18448
+ default: "https://sysfront.nyc3.cdn.digitaloceanspaces.com/cuida/images/imagePlaceholder.png"
18448
18449
  },
18449
18450
  width: {
18450
18451
  type: [Number, String],
@@ -18473,6 +18474,10 @@ const fp = {
18473
18474
  roundedCorners: {
18474
18475
  type: Boolean,
18475
18476
  default: !1
18477
+ },
18478
+ round: {
18479
+ type: Boolean,
18480
+ default: !1
18476
18481
  }
18477
18482
  },
18478
18483
  data() {
@@ -18482,7 +18487,7 @@ const fp = {
18482
18487
  },
18483
18488
  computed: {
18484
18489
  heightResolver() {
18485
- return this.height ? `${this.height}px` : "auto";
18490
+ return this.round ? `${this.width}px` : this.height ? `${this.height}px` : "auto";
18486
18491
  },
18487
18492
  widthResolver() {
18488
18493
  return this.width ? `${this.width}px` : "auto";
@@ -18491,7 +18496,7 @@ const fp = {
18491
18496
  return this.width ? `${this.width}px` : "auto";
18492
18497
  },
18493
18498
  radiusResolver() {
18494
- return this.roundedCorners ? sf(this.width) : "0px";
18499
+ return this.round ? "50%" : this.roundedCorners ? sf(this.width) : "0px";
18495
18500
  },
18496
18501
  grayScaleResolver() {
18497
18502
  return this.blackAndWhite ? "grayscale(100%)" : this.dimmed ? "grayscale(35%)" : "grayscale(0%)";
@@ -18505,11 +18510,11 @@ const fp = {
18505
18510
  }
18506
18511
  }, I3 = () => {
18507
18512
  cn((t) => ({
18508
- "21136de6": t.radiusResolver,
18509
- e10ed842: t.grayScaleResolver,
18510
- "31ae2d7b": t.heightResolver,
18511
- "1e7f7c9d": t.opacity,
18512
- "775376fe": t.widthResolver
18513
+ "5ba223ed": t.radiusResolver,
18514
+ "162d6710": t.grayScaleResolver,
18515
+ "6c3ce382": t.heightResolver,
18516
+ "0b2f1f14": t.opacity,
18517
+ "26a26417": t.widthResolver
18513
18518
  }));
18514
18519
  }, P3 = fp.setup;
18515
18520
  fp.setup = P3 ? (t, e) => (I3(), P3(t, e)) : I3;
@@ -18522,7 +18527,7 @@ function TR(t, e, n, i, s, r) {
18522
18527
  onError: e[0] || (e[0] = (...a) => r.imageSrcResolver && r.imageSrcResolver(...a))
18523
18528
  }), null, 16, DR);
18524
18529
  }
18525
- const n1 = /* @__PURE__ */ me(OR, [["render", TR], ["__scopeId", "data-v-79754f28"]]), I1 = (t, e) => Object.keys(t).some((n) => n === e);
18530
+ const n1 = /* @__PURE__ */ me(OR, [["render", TR], ["__scopeId", "data-v-44f14fbd"]]), I1 = (t, e) => Object.keys(t).some((n) => n === e);
18526
18531
  const pp = {
18527
18532
  components: {
18528
18533
  CdsBox: lu,