@sysvale/cuida 3.36.2 → 3.37.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.
@@ -29370,7 +29370,7 @@ const Vp = {
29370
29370
  },
29371
29371
  isValid: {
29372
29372
  handler(t) {
29373
- t ? this.internalState = "invalid" : this.internalState = "valid";
29373
+ t ? this.internalState = "valid" : this.internalState = "invalid";
29374
29374
  },
29375
29375
  immediate: !0
29376
29376
  }
@@ -29413,7 +29413,7 @@ const Vp = {
29413
29413
  }
29414
29414
  }, q4 = () => {
29415
29415
  ln((t) => ({
29416
- "92f24984": t.textAlignmentResolver
29416
+ "46a93594": t.textAlignmentResolver
29417
29417
  }));
29418
29418
  }, G4 = Vp.setup;
29419
29419
  Vp.setup = G4 ? (t, e) => (q4(), G4(t, e)) : q4;
@@ -29523,7 +29523,7 @@ function kse(t, e, n, i, s, r) {
29523
29523
  s.internalState === "invalid" ? (y(), k("div", Cse, X(r.computedAllowedMessage), 1)) : K("", !0)
29524
29524
  ], 64);
29525
29525
  }
29526
- const Mse = /* @__PURE__ */ me(vse, [["render", kse], ["__scopeId", "data-v-fb361912"]]);
29526
+ const Mse = /* @__PURE__ */ me(vse, [["render", kse], ["__scopeId", "data-v-37c9d802"]]);
29527
29527
  function d1(t = "") {
29528
29528
  const e = "\xC0\xC1\xC2\xC3\xC4\xC5\xE0\xE1\xE2\xE3\xE4\xE5\xD2\xD3\xD4\xD5\xD5\xD6\xD8\xF2\xF3\xF4\xF5\xF6\xF8\xC8\xC9\xCA\xCB\xE8\xE9\xEA\xEB\xF0\xC7\xE7\xD0\xCC\xCD\xCE\xCF\xEC\xED\xEE\xEF\xD9\xDA\xDB\xDC\xF9\xFA\xFB\xFC\xD1\xF1\u0160\u0161\u0178\xFF\xFD\u017D\u017E", n = "AAAAAAaaaaaaOOOOOOOooooooEEEEeeeeeCcDIIIIiiiiUUUUuuuuNnSsYyyZz", i = t.length;
29529
29529
  let s = t.split(""), r;
@@ -37238,6 +37238,11 @@ const Uue = {
37238
37238
  type: String,
37239
37239
  default: "default"
37240
37240
  },
37241
+ inputType: {
37242
+ type: String,
37243
+ default: "text",
37244
+ validator: (t) => ["text", "email"].includes(t)
37245
+ },
37241
37246
  required: {
37242
37247
  type: Boolean,
37243
37248
  default: !1
@@ -37401,7 +37406,7 @@ function ede(t, e, n, i, s, r) {
37401
37406
  placeholder: n.placeholder,
37402
37407
  disabled: n.disabled,
37403
37408
  class: B(r.inputClass),
37404
- type: "text",
37409
+ type: "inputType",
37405
37410
  onFocus: e[1] || (e[1] = (...p) => r.handleFocus && r.handleFocus(...p)),
37406
37411
  onBlur: e[2] || (e[2] = (...p) => r.handleBlur && r.handleBlur(...p))
37407
37412
  }, null, 42, Zue)), [
@@ -37414,7 +37419,7 @@ function ede(t, e, n, i, s, r) {
37414
37419
  placeholder: n.placeholder,
37415
37420
  disabled: n.disabled,
37416
37421
  class: B(r.inputClass),
37417
- type: "text",
37422
+ type: "inputType",
37418
37423
  onFocus: e[4] || (e[4] = (...p) => r.handleFocus && r.handleFocus(...p)),
37419
37424
  onBlur: e[5] || (e[5] = (...p) => r.handleBlur && r.handleBlur(...p))
37420
37425
  }, null, 42, Xue)), [
@@ -37446,7 +37451,7 @@ function ede(t, e, n, i, s, r) {
37446
37451
  r.errorState && !n.disabled ? (y(), k("div", Que, X(n.errorMessage), 1)) : K("", !0)
37447
37452
  ]);
37448
37453
  }
37449
- const tde = /* @__PURE__ */ me(Uue, [["render", ede], ["__scopeId", "data-v-40038df0"]]), _f = (t) => /[0-2][0-9]:[0-5][0-9]/.test(t), nde = (t, e) => _f(t) && _f(e) ? Se.fromFormat(t, "HH:mm").diff(
37454
+ const tde = /* @__PURE__ */ me(Uue, [["render", ede], ["__scopeId", "data-v-3ed31d39"]]), _f = (t) => /[0-2][0-9]:[0-5][0-9]/.test(t), nde = (t, e) => _f(t) && _f(e) ? Se.fromFormat(t, "HH:mm").diff(
37450
37455
  Se.fromFormat(e, "HH:mm")
37451
37456
  ) > 0 : !1;
37452
37457
  const ide = (t) => t === "" || t === [] ? !0 : typeof t == "string" ? _f(t) : t.length === 2 && nde(t[1], t[0]), sde = {