@sysvale/cuida 3.39.0 → 3.39.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.
@@ -18166,7 +18166,7 @@ const dR = {
18166
18166
  document.body.style.overflow = t ? "hidden" : "auto";
18167
18167
  }
18168
18168
  }
18169
- }, hR = (t) => (dr("data-v-2058822e"), t = t(), hr(), t), fR = { key: 0 }, pR = /* @__PURE__ */ hR(() => /* @__PURE__ */ k("div", { class: "bottom-sheet__header-border" }, [
18169
+ }, hR = (t) => (dr("data-v-5566e57a"), t = t(), hr(), t), fR = { key: 0 }, pR = /* @__PURE__ */ hR(() => /* @__PURE__ */ k("div", { class: "bottom-sheet__header-border" }, [
18170
18170
  /* @__PURE__ */ k("div", { class: "bottom-sheet__header-border-line" })
18171
18171
  ], -1)), gR = { class: "bottom-sheet__header" }, mR = { class: "bottom-sheet__title" }, vR = { class: "bottom-sheet__content" };
18172
18172
  function _R(t, e, n, i, s, r) {
@@ -18202,7 +18202,7 @@ function _R(t, e, n, i, s, r) {
18202
18202
  ], 2)
18203
18203
  ])) : K("", !0);
18204
18204
  }
18205
- const yR = /* @__PURE__ */ me(dR, [["render", _R], ["__scopeId", "data-v-2058822e"]]);
18205
+ const yR = /* @__PURE__ */ me(dR, [["render", _R], ["__scopeId", "data-v-5566e57a"]]);
18206
18206
  var sf = { exports: {} };
18207
18207
  (function(t, e) {
18208
18208
  var n = 9007199254740991, i = "[object Arguments]", s = "[object Function]", r = "[object GeneratorFunction]", a = "[object Map]", l = "[object Object]", c = "[object Promise]", d = "[object Set]", h = "[object WeakMap]", p = "[object DataView]", g = /[\\^$.*+?()[\]{}|]/g, v = /^\[object .+?Constructor\]$/, b = typeof zn == "object" && zn && zn.Object === Object && zn, x = typeof self == "object" && self && self.Object === Object && self, S = b || x || Function("return this")(), O = e && !e.nodeType && e, I = O && !0 && t && !t.nodeType && t, z = I && I.exports === O;
@@ -29318,7 +29318,8 @@ const Rp = {
29318
29318
  file: !!this.modelValue && !_i.exports.isEmpty(this.modelValue) ? this.modelValue : null,
29319
29319
  isOnDragEnterState: !1,
29320
29320
  isValid: !0,
29321
- internalState: this.state
29321
+ internalState: this.state,
29322
+ invalidExtensionError: null
29322
29323
  };
29323
29324
  },
29324
29325
  computed: {
@@ -29341,10 +29342,11 @@ const Rp = {
29341
29342
  },
29342
29343
  computedAllowedMessage() {
29343
29344
  if (this.allowedExtensions) {
29344
- if (this.file)
29345
- return this.errorMessage;
29346
- const e = this.allowedExtensions.split(",").length === 1 ? "" : "s";
29347
- return `${`S\xE3o aceitos apenas arquivo${e} do${e} seguinte${e} tipo${e}:`} ${this.acceptString}.`;
29345
+ if (this.invalidExtensionError) {
29346
+ const e = this.allowedExtensions.split(",").length === 1 ? "" : "s";
29347
+ return `${`S\xE3o aceitos apenas arquivo${e} do${e} seguinte${e} tipo${e}:`} ${this.acceptString}.`;
29348
+ }
29349
+ return this.errorMessage;
29348
29350
  } else if (this.state === "invalid")
29349
29351
  return this.errorMessage;
29350
29352
  return null;
@@ -29396,7 +29398,9 @@ const Rp = {
29396
29398
  return !0;
29397
29399
  const e = this.allowedExtensions.split(",");
29398
29400
  let n = t.split(".");
29399
- return n = n[n.length - 1].trim(), e.filter((i) => i === n).length > 0;
29401
+ n = n[n.length - 1].trim();
29402
+ const i = e.filter((s) => s === n).length > 0;
29403
+ return this.invalidExtensionError = !i, i;
29400
29404
  },
29401
29405
  handleFormFileChange(t) {
29402
29406
  this.isValid = "invalid";
@@ -29415,7 +29419,7 @@ const Rp = {
29415
29419
  }
29416
29420
  }, X4 = () => {
29417
29421
  ln((t) => ({
29418
- b02901c0: t.textAlignmentResolver
29422
+ d2504baa: t.textAlignmentResolver
29419
29423
  }));
29420
29424
  }, J4 = Rp.setup;
29421
29425
  Rp.setup = J4 ? (t, e) => (X4(), J4(t, e)) : X4;
@@ -29525,7 +29529,7 @@ function kse(t, e, n, i, s, r) {
29525
29529
  s.internalState === "invalid" ? (y(), M("div", Cse, Z(r.computedAllowedMessage), 1)) : K("", !0)
29526
29530
  ], 64);
29527
29531
  }
29528
- const Mse = /* @__PURE__ */ me(vse, [["render", kse], ["__scopeId", "data-v-96a6c007"]]), Np = [
29532
+ const Mse = /* @__PURE__ */ me(vse, [["render", kse], ["__scopeId", "data-v-94ce0691"]]), Np = [
29529
29533
  {
29530
29534
  name: "turquoise",
29531
29535
  hex: "#3CACDD",