fge-auth-component 0.0.2 → 0.0.3

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.
@@ -1040,7 +1040,7 @@ async function PN(e) {
1040
1040
  Ye("Failed to export the state as JSON. Check the console for more details.", "error"), console.error(t);
1041
1041
  }
1042
1042
  }
1043
- function It(e) {
1043
+ function yt(e) {
1044
1044
  return {
1045
1045
  _custom: {
1046
1046
  display: e
@@ -1100,8 +1100,8 @@ function ZN(e) {
1100
1100
  operations: [],
1101
1101
  newValue: {}
1102
1102
  }) : {
1103
- operation: It(e.type),
1104
- key: It(e.key),
1103
+ operation: yt(e.type),
1104
+ key: yt(e.key),
1105
1105
  oldValue: e.oldValue,
1106
1106
  newValue: e.newValue
1107
1107
  } : {};
@@ -1285,8 +1285,8 @@ function GN(e, t) {
1285
1285
  title: "🛫 " + o,
1286
1286
  subtitle: "start",
1287
1287
  data: {
1288
- store: It(t.$id),
1289
- action: It(o),
1288
+ store: yt(t.$id),
1289
+ action: yt(o),
1290
1290
  args: a
1291
1291
  },
1292
1292
  groupId: N
@@ -1299,8 +1299,8 @@ function GN(e, t) {
1299
1299
  title: "🛬 " + o,
1300
1300
  subtitle: "end",
1301
1301
  data: {
1302
- store: It(t.$id),
1303
- action: It(o),
1302
+ store: yt(t.$id),
1303
+ action: yt(o),
1304
1304
  args: a,
1305
1305
  result: l
1306
1306
  },
@@ -1316,8 +1316,8 @@ function GN(e, t) {
1316
1316
  title: "💥 " + o,
1317
1317
  subtitle: "end",
1318
1318
  data: {
1319
- store: It(t.$id),
1320
- action: It(o),
1319
+ store: yt(t.$id),
1320
+ action: yt(o),
1321
1321
  args: a,
1322
1322
  error: l
1323
1323
  },
@@ -1347,7 +1347,7 @@ function GN(e, t) {
1347
1347
  const a = {
1348
1348
  time: i(),
1349
1349
  title: HN(s),
1350
- data: WN({ store: It(t.$id) }, ZN(r)),
1350
+ data: WN({ store: yt(t.$id) }, ZN(r)),
1351
1351
  groupId: tM
1352
1352
  };
1353
1353
  tM = void 0, s === Ot.patchFunction ? a.subtitle = "⤵️" : s === Ot.patchObject ? a.subtitle = "🧩" : r && !Array.isArray(r) && (a.subtitle = r.type), r && (a.data["rawEvent(s)"] = {
@@ -1371,8 +1371,8 @@ function GN(e, t) {
1371
1371
  title: "🔥 " + t.$id,
1372
1372
  subtitle: "HMR update",
1373
1373
  data: {
1374
- store: It(t.$id),
1375
- info: It("HMR update")
1374
+ store: yt(t.$id),
1375
+ info: yt("HMR update")
1376
1376
  }
1377
1377
  }
1378
1378
  }), M.notifyComponentUpdate(), M.sendInspectorTree(Re), M.sendInspectorState(Re);
@@ -3892,7 +3892,7 @@ pe.HttpStatusCode = UD;
3892
3892
  pe.default = pe;
3893
3893
  const QD = pe;
3894
3894
  function ln() {
3895
- const e = dt(), t = QD.create({
3895
+ const e = Dt(), t = QD.create({
3896
3896
  headers: {
3897
3897
  "Content-Type": "application/json",
3898
3898
  "Cache-Control": "no-cache"
@@ -3959,7 +3959,7 @@ const vD = () => {
3959
3959
  codigoDispositivo: f || void 0,
3960
3960
  aplicacion: u.value
3961
3961
  });
3962
- if (console.log(F), (B = F == null ? void 0 : F.response) != null && B.usuarioId)
3962
+ if ((B = F == null ? void 0 : F.response) != null && B.usuarioId)
3963
3963
  return F.response;
3964
3964
  A(F.response), s.value && s.value();
3965
3965
  }, Q = async (L) => {
@@ -4058,7 +4058,7 @@ const vD = () => {
4058
4058
  setDispositivoConfianzaCookie: E,
4059
4059
  updateUserData: w
4060
4060
  };
4061
- }, dt = Qs("LOGIN_STORE", vD);
4061
+ }, Dt = Qs("LOGIN_STORE", vD);
4062
4062
  var $e = {
4063
4063
  name: "InputText",
4064
4064
  emits: ["update:modelValue"],
@@ -5073,7 +5073,7 @@ function za(e, t, M) {
5073
5073
  p.register(Ee), ys(() => {
5074
5074
  C = !0, p.unregister(Ee);
5075
5075
  });
5076
- const Dt = le(() => {
5076
+ const ct = le(() => {
5077
5077
  const b = B.value;
5078
5078
  return !b || _t(b) || qM(b) || Ht(b) || Array.isArray(b) ? {} : Object.keys(b).reduce((Ie, Ue) => {
5079
5079
  const Ai = n4(b[Ue]).map((qt) => qt.__locatorRef).reduce((qt, bM) => {
@@ -5083,7 +5083,7 @@ function za(e, t, M) {
5083
5083
  return Object.assign(Ie, Ai), Ie;
5084
5084
  }, {});
5085
5085
  });
5086
- return fe(Dt, (b, Ie) => {
5086
+ return fe(ct, (b, Ie) => {
5087
5087
  if (!Object.keys(b).length)
5088
5088
  return;
5089
5089
  !me(b, Ie) && (T.validated ? X() : q());
@@ -5363,7 +5363,7 @@ function li(e) {
5363
5363
  setErrors: se,
5364
5364
  setFieldError: J,
5365
5365
  setTouched: b,
5366
- setFieldTouched: Dt,
5366
+ setFieldTouched: ct,
5367
5367
  setValues: We,
5368
5368
  setFieldValue: we,
5369
5369
  resetForm: Ue,
@@ -5407,7 +5407,7 @@ function li(e) {
5407
5407
  setValues: We,
5408
5408
  setErrors: se,
5409
5409
  setFieldError: J,
5410
- setFieldTouched: Dt,
5410
+ setFieldTouched: ct,
5411
5411
  setTouched: b,
5412
5412
  resetForm: Ue,
5413
5413
  resetField: Ie,
@@ -5467,13 +5467,13 @@ function li(e) {
5467
5467
  function Ee(S) {
5468
5468
  return Array.isArray(S) ? S.map(qe) : qe(S);
5469
5469
  }
5470
- function Dt(S, U) {
5470
+ function ct(S, U) {
5471
5471
  const P = u.value[S];
5472
5472
  P && _e(P, (K) => K.setTouched(U));
5473
5473
  }
5474
5474
  function b(S) {
5475
5475
  Qe(S).forEach((U) => {
5476
- Dt(U, !!S[U]);
5476
+ ct(U, !!S[U]);
5477
5477
  });
5478
5478
  }
5479
5479
  function Ie(S, U) {
@@ -9273,7 +9273,7 @@ let kt = {
9273
9273
  const n = i != null && i !== M ? ` (cast from the value \`${fM(i, !0)}\`).` : ".";
9274
9274
  return t !== "mixed" ? `${e} must be a \`${t}\` type, but the final value was: \`${fM(M, !0)}\`` + n : `${e} must match the configured type. The validated value was: \`${fM(M, !0)}\`` + n;
9275
9275
  }
9276
- }, jt = {
9276
+ }, It = {
9277
9277
  length: "${path} must be exactly ${length} characters",
9278
9278
  min: "${path} must be at least ${min} characters",
9279
9279
  max: "${path} must be at most ${max} characters",
@@ -9306,7 +9306,7 @@ let kt = {
9306
9306
  };
9307
9307
  var Xg = Object.assign(/* @__PURE__ */ Object.create(null), {
9308
9308
  mixed: kt,
9309
- string: jt,
9309
+ string: It,
9310
9310
  number: Gg,
9311
9311
  date: Du,
9312
9312
  object: cu,
@@ -10020,7 +10020,7 @@ class Fa extends ft {
10020
10020
  notRequired() {
10021
10021
  return super.notRequired().withMutation((t) => (t.tests = t.tests.filter((M) => M.OPTIONS.name !== "required"), t));
10022
10022
  }
10023
- length(t, M = jt.length) {
10023
+ length(t, M = It.length) {
10024
10024
  return this.test({
10025
10025
  message: M,
10026
10026
  name: "length",
@@ -10034,7 +10034,7 @@ class Fa extends ft {
10034
10034
  }
10035
10035
  });
10036
10036
  }
10037
- min(t, M = jt.min) {
10037
+ min(t, M = It.min) {
10038
10038
  return this.test({
10039
10039
  message: M,
10040
10040
  name: "min",
@@ -10048,7 +10048,7 @@ class Fa extends ft {
10048
10048
  }
10049
10049
  });
10050
10050
  }
10051
- max(t, M = jt.max) {
10051
+ max(t, M = It.max) {
10052
10052
  return this.test({
10053
10053
  name: "max",
10054
10054
  exclusive: !0,
@@ -10070,7 +10070,7 @@ class Fa extends ft {
10070
10070
  name: u
10071
10071
  } = M : n = M), this.test({
10072
10072
  name: u || "matches",
10073
- message: n || jt.matches,
10073
+ message: n || It.matches,
10074
10074
  params: {
10075
10075
  regex: t
10076
10076
  },
@@ -10078,21 +10078,21 @@ class Fa extends ft {
10078
10078
  test: (r) => r === "" && i || r.search(t) !== -1
10079
10079
  });
10080
10080
  }
10081
- email(t = jt.email) {
10081
+ email(t = It.email) {
10082
10082
  return this.matches(tj, {
10083
10083
  name: "email",
10084
10084
  message: t,
10085
10085
  excludeEmptyString: !0
10086
10086
  });
10087
10087
  }
10088
- url(t = jt.url) {
10088
+ url(t = It.url) {
10089
10089
  return this.matches(Mj, {
10090
10090
  name: "url",
10091
10091
  message: t,
10092
10092
  excludeEmptyString: !0
10093
10093
  });
10094
10094
  }
10095
- uuid(t = jt.uuid) {
10095
+ uuid(t = It.uuid) {
10096
10096
  return this.matches(ij, {
10097
10097
  name: "uuid",
10098
10098
  message: t,
@@ -10103,14 +10103,14 @@ class Fa extends ft {
10103
10103
  ensure() {
10104
10104
  return this.default("").transform((t) => t === null ? "" : t);
10105
10105
  }
10106
- trim(t = jt.trim) {
10106
+ trim(t = It.trim) {
10107
10107
  return this.transform((M) => M != null ? M.trim() : M).test({
10108
10108
  message: t,
10109
10109
  name: "trim",
10110
10110
  test: nj
10111
10111
  });
10112
10112
  }
10113
- lowercase(t = jt.lowercase) {
10113
+ lowercase(t = It.lowercase) {
10114
10114
  return this.transform((M) => MM(M) ? M : M.toLowerCase()).test({
10115
10115
  message: t,
10116
10116
  name: "string_case",
@@ -10119,7 +10119,7 @@ class Fa extends ft {
10119
10119
  test: (M) => MM(M) || M === M.toLowerCase()
10120
10120
  });
10121
10121
  }
10122
- uppercase(t = jt.uppercase) {
10122
+ uppercase(t = It.uppercase) {
10123
10123
  return this.transform((M) => MM(M) ? M : M.toUpperCase()).test({
10124
10124
  message: t,
10125
10125
  name: "string_case",
@@ -10495,9 +10495,8 @@ function jj(e, t, M) {
10495
10495
  throw new TypeError("Method function must be provided");
10496
10496
  e.prototype[t] = M;
10497
10497
  }
10498
- const yt = ({ error: e, setErrors: t, toast: M }) => {
10498
+ const At = ({ error: e, setErrors: t, toast: M }) => {
10499
10499
  var n;
10500
- console.log({ error: e });
10501
10500
  const i = (n = e == null ? void 0 : e.response) == null ? void 0 : n.validationErrors;
10502
10501
  if (e.message && M.add({ severity: "error", summary: "Error", detail: e.message, life: 5e3 }), i) {
10503
10502
  let u = {};
@@ -10554,19 +10553,19 @@ class Rt extends lM {
10554
10553
  super("Zone is an abstract class");
10555
10554
  }
10556
10555
  }
10557
- const v = "numeric", Lt = "short", tt = "long", Gi = {
10556
+ const v = "numeric", dt = "short", tt = "long", Gi = {
10558
10557
  year: v,
10559
10558
  month: v,
10560
10559
  day: v
10561
10560
  }, Za = {
10562
10561
  year: v,
10563
- month: Lt,
10562
+ month: dt,
10564
10563
  day: v
10565
10564
  }, Tj = {
10566
10565
  year: v,
10567
- month: Lt,
10566
+ month: dt,
10568
10567
  day: v,
10569
- weekday: Lt
10568
+ weekday: dt
10570
10569
  }, Ha = {
10571
10570
  year: v,
10572
10571
  month: tt,
@@ -10587,7 +10586,7 @@ const v = "numeric", Lt = "short", tt = "long", Gi = {
10587
10586
  hour: v,
10588
10587
  minute: v,
10589
10588
  second: v,
10590
- timeZoneName: Lt
10589
+ timeZoneName: dt
10591
10590
  }, Ka = {
10592
10591
  hour: v,
10593
10592
  minute: v,
@@ -10607,7 +10606,7 @@ const v = "numeric", Lt = "short", tt = "long", Gi = {
10607
10606
  minute: v,
10608
10607
  second: v,
10609
10608
  hourCycle: "h23",
10610
- timeZoneName: Lt
10609
+ timeZoneName: dt
10611
10610
  }, Mo = {
10612
10611
  hour: v,
10613
10612
  minute: v,
@@ -10629,22 +10628,22 @@ const v = "numeric", Lt = "short", tt = "long", Gi = {
10629
10628
  second: v
10630
10629
  }, uo = {
10631
10630
  year: v,
10632
- month: Lt,
10631
+ month: dt,
10633
10632
  day: v,
10634
10633
  hour: v,
10635
10634
  minute: v
10636
10635
  }, ro = {
10637
10636
  year: v,
10638
- month: Lt,
10637
+ month: dt,
10639
10638
  day: v,
10640
10639
  hour: v,
10641
10640
  minute: v,
10642
10641
  second: v
10643
10642
  }, Oj = {
10644
10643
  year: v,
10645
- month: Lt,
10644
+ month: dt,
10646
10645
  day: v,
10647
- weekday: Lt,
10646
+ weekday: dt,
10648
10647
  hour: v,
10649
10648
  minute: v
10650
10649
  }, so = {
@@ -10653,7 +10652,7 @@ const v = "numeric", Lt = "short", tt = "long", Gi = {
10653
10652
  day: v,
10654
10653
  hour: v,
10655
10654
  minute: v,
10656
- timeZoneName: Lt
10655
+ timeZoneName: dt
10657
10656
  }, ao = {
10658
10657
  year: v,
10659
10658
  month: tt,
@@ -10661,7 +10660,7 @@ const v = "numeric", Lt = "short", tt = "long", Gi = {
10661
10660
  hour: v,
10662
10661
  minute: v,
10663
10662
  second: v,
10664
- timeZoneName: Lt
10663
+ timeZoneName: dt
10665
10664
  }, oo = {
10666
10665
  year: v,
10667
10666
  month: tt,
@@ -11901,7 +11900,7 @@ class Pe {
11901
11900
  return qr(u, n(s));
11902
11901
  }
11903
11902
  }
11904
- class At {
11903
+ class Lt {
11905
11904
  constructor(t, M) {
11906
11905
  this.reason = t, this.explanation = M;
11907
11906
  }
@@ -12331,7 +12330,7 @@ class ue {
12331
12330
  static invalid(t, M = null) {
12332
12331
  if (!t)
12333
12332
  throw new st("need to specify a reason the Duration is invalid");
12334
- const i = t instanceof At ? t : new At(t, M);
12333
+ const i = t instanceof Lt ? t : new Lt(t, M);
12335
12334
  if (he.throwOnInvalid)
12336
12335
  throw new zj(i);
12337
12336
  return new ue({ invalid: i });
@@ -12815,7 +12814,7 @@ class Te {
12815
12814
  static invalid(t, M = null) {
12816
12815
  if (!t)
12817
12816
  throw new st("need to specify a reason the Interval is invalid");
12818
- const i = t instanceof At ? t : new At(t, M);
12817
+ const i = t instanceof Lt ? t : new Lt(t, M);
12819
12818
  if (he.throwOnInvalid)
12820
12819
  throw new dj(i);
12821
12820
  return new Te({ invalid: i });
@@ -13474,7 +13473,7 @@ function KI(e) {
13474
13473
  } else
13475
13474
  return t;
13476
13475
  }
13477
- function ct({ numberingSystem: e }, t = "") {
13476
+ function gt({ numberingSystem: e }, t = "") {
13478
13477
  return new RegExp(`${tr[e || "latn"]}${t}`);
13479
13478
  }
13480
13479
  const XI = "missing Intl.DateTimeFormat.formatToParts support";
@@ -13488,7 +13487,7 @@ function ty(e) {
13488
13487
  function ts(e) {
13489
13488
  return e.replace(/\./g, "").replace(mo, " ").toLowerCase();
13490
13489
  }
13491
- function gt(e, t) {
13490
+ function jt(e, t) {
13492
13491
  return e === null ? null : {
13493
13492
  regex: RegExp(e.map(ty).join("|")),
13494
13493
  deser: ([M]) => e.findIndex((i) => ts(M) === ts(i)) + t
@@ -13504,14 +13503,14 @@ function My(e) {
13504
13503
  return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&");
13505
13504
  }
13506
13505
  function iy(e, t) {
13507
- const M = ct(t), i = ct(t, "{2}"), n = ct(t, "{3}"), u = ct(t, "{4}"), r = ct(t, "{6}"), s = ct(t, "{1,2}"), o = ct(t, "{1,3}"), a = ct(t, "{1,6}"), N = ct(t, "{1,9}"), l = ct(t, "{2,4}"), I = ct(t, "{4,6}"), g = (Q) => ({ regex: RegExp(My(Q.val)), deser: ([p]) => p, literal: !0 }), d = ((Q) => {
13506
+ const M = gt(t), i = gt(t, "{2}"), n = gt(t, "{3}"), u = gt(t, "{4}"), r = gt(t, "{6}"), s = gt(t, "{1,2}"), o = gt(t, "{1,3}"), a = gt(t, "{1,6}"), N = gt(t, "{1,9}"), l = gt(t, "{2,4}"), I = gt(t, "{4,6}"), g = (Q) => ({ regex: RegExp(My(Q.val)), deser: ([p]) => p, literal: !0 }), d = ((Q) => {
13508
13507
  if (e.literal)
13509
13508
  return g(Q);
13510
13509
  switch (Q.val) {
13511
13510
  case "G":
13512
- return gt(t.eras("short", !1), 0);
13511
+ return jt(t.eras("short", !1), 0);
13513
13512
  case "GG":
13514
- return gt(t.eras("long", !1), 0);
13513
+ return jt(t.eras("long", !1), 0);
13515
13514
  case "y":
13516
13515
  return ae(a);
13517
13516
  case "yy":
@@ -13527,17 +13526,17 @@ function iy(e, t) {
13527
13526
  case "MM":
13528
13527
  return ae(i);
13529
13528
  case "MMM":
13530
- return gt(t.months("short", !0, !1), 1);
13529
+ return jt(t.months("short", !0, !1), 1);
13531
13530
  case "MMMM":
13532
- return gt(t.months("long", !0, !1), 1);
13531
+ return jt(t.months("long", !0, !1), 1);
13533
13532
  case "L":
13534
13533
  return ae(s);
13535
13534
  case "LL":
13536
13535
  return ae(i);
13537
13536
  case "LLL":
13538
- return gt(t.months("short", !1, !1), 1);
13537
+ return jt(t.months("short", !1, !1), 1);
13539
13538
  case "LLLL":
13540
- return gt(t.months("long", !1, !1), 1);
13539
+ return jt(t.months("long", !1, !1), 1);
13541
13540
  case "d":
13542
13541
  return ae(s);
13543
13542
  case "dd":
@@ -13577,7 +13576,7 @@ function iy(e, t) {
13577
13576
  case "uuu":
13578
13577
  return ae(M);
13579
13578
  case "a":
13580
- return gt(t.meridiems(), 0);
13579
+ return jt(t.meridiems(), 0);
13581
13580
  case "kkkk":
13582
13581
  return ae(u);
13583
13582
  case "kk":
@@ -13590,13 +13589,13 @@ function iy(e, t) {
13590
13589
  case "c":
13591
13590
  return ae(M);
13592
13591
  case "EEE":
13593
- return gt(t.weekdays("short", !1, !1), 1);
13592
+ return jt(t.weekdays("short", !1, !1), 1);
13594
13593
  case "EEEE":
13595
- return gt(t.weekdays("long", !1, !1), 1);
13594
+ return jt(t.weekdays("long", !1, !1), 1);
13596
13595
  case "ccc":
13597
- return gt(t.weekdays("short", !0, !1), 1);
13596
+ return jt(t.weekdays("short", !0, !1), 1);
13598
13597
  case "cccc":
13599
- return gt(t.weekdays("long", !0, !1), 1);
13598
+ return jt(t.weekdays("long", !0, !1), 1);
13600
13599
  case "Z":
13601
13600
  case "ZZ":
13602
13601
  return Ms(new RegExp(`([+-]${s.source})(?::(${i.source}))?`), 2);
@@ -13761,7 +13760,7 @@ function Uo(e, t) {
13761
13760
  }
13762
13761
  const Qo = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334], Yo = [0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335];
13763
13762
  function ot(e, t) {
13764
- return new At(
13763
+ return new Lt(
13765
13764
  "unit out of range",
13766
13765
  `you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`
13767
13766
  );
@@ -13817,7 +13816,7 @@ function Vo(e) {
13817
13816
  }
13818
13817
  const Rn = "Invalid DateTime", us = 864e13;
13819
13818
  function Ci(e) {
13820
- return new At("unsupported zone", `the zone "${e.name}" is not supported`);
13819
+ return new Lt("unsupported zone", `the zone "${e.name}" is not supported`);
13821
13820
  }
13822
13821
  function Pn(e) {
13823
13822
  return e.weekData === null && (e.weekData = Lu(e.c)), e.weekData;
@@ -13889,7 +13888,7 @@ function RM(e, t, M, i, n, u) {
13889
13888
  return r ? a : a.setZone(s);
13890
13889
  } else
13891
13890
  return G.invalid(
13892
- new At("unparsable", `the input "${n}" can't be parsed as ${i}`)
13891
+ new Lt("unparsable", `the input "${n}" can't be parsed as ${i}`)
13893
13892
  );
13894
13893
  }
13895
13894
  function ki(e, t, M = !0) {
@@ -14004,7 +14003,7 @@ class G {
14004
14003
  */
14005
14004
  constructor(t) {
14006
14005
  const M = t.zone || he.defaultZone;
14007
- let i = t.invalid || (Number.isNaN(t.ts) ? new At("invalid input") : null) || (M.isValid ? null : Ci(M));
14006
+ let i = t.invalid || (Number.isNaN(t.ts) ? new Lt("invalid input") : null) || (M.isValid ? null : Ci(M));
14008
14007
  this.ts = ie(t.ts) ? he.now() : t.ts;
14009
14008
  let n = null, u = null;
14010
14009
  if (!i)
@@ -14012,7 +14011,7 @@ class G {
14012
14011
  [n, u] = [t.old.c, t.old.o];
14013
14012
  else {
14014
14013
  const s = M.offset(this.ts);
14015
- n = rs(this.ts, s), i = Number.isNaN(n.year) ? new At("invalid input") : null, n = i ? null : n, u = i ? null : s;
14014
+ n = rs(this.ts, s), i = Number.isNaN(n.year) ? new Lt("invalid input") : null, n = i ? null : n, u = i ? null : s;
14016
14015
  }
14017
14016
  this._zone = M, this.loc = t.loc || ze.create(), this.invalid = i, this.weekData = null, this.c = n, this.o = u, this.isLuxonDateTime = !0;
14018
14017
  }
@@ -14319,7 +14318,7 @@ class G {
14319
14318
  static invalid(t, M = null) {
14320
14319
  if (!t)
14321
14320
  throw new st("need to specify a reason the DateTime is invalid");
14322
- const i = t instanceof At ? t : new At(t, M);
14321
+ const i = t instanceof Lt ? t : new Lt(t, M);
14323
14322
  if (he.throwOnInvalid)
14324
14323
  throw new Lj(i);
14325
14324
  return new G({ invalid: i });
@@ -15530,7 +15529,7 @@ function Ly() {
15530
15529
  lt().shape({
15531
15530
  codigoContacto: oe().required().matches(Wu).max(10).label("Código")
15532
15531
  })
15533
- ], t = si(), M = dt(), i = An(), {
15532
+ ], t = si(), M = Dt(), i = An(), {
15534
15533
  onVerificarDatosRegistroApi: n,
15535
15534
  onSolicitarCodigoVerificacionApi: u,
15536
15535
  onConfirmarCodigoVerificacionApi: r,
@@ -15586,7 +15585,7 @@ function Ly() {
15586
15585
  a.value = a.value + 1, O("codigoRegistro", ee.response.codigo);
15587
15586
  } catch (q) {
15588
15587
  if (q.response && Array.isArray(q.response)) {
15589
- yt({ error: q.response, setErrors: C, toast: t });
15588
+ At({ error: q.response, setErrors: C, toast: t });
15590
15589
  return;
15591
15590
  }
15592
15591
  q.message && t.add({ severity: "error", summary: "Error", detail: q.message, life: 5e3 });
@@ -15661,7 +15660,7 @@ function Ly() {
15661
15660
  t.add({ severity: "success", summary: "Error", detail: ee.message, life: 5e3 }), i.setLoading(!1), M.goLoginPage();
15662
15661
  } catch (q) {
15663
15662
  if (q.response && Array.isArray(q.response)) {
15664
- yt({ error: q.response, setErrors: C, toast: t });
15663
+ At({ error: q.response, setErrors: C, toast: t });
15665
15664
  return;
15666
15665
  }
15667
15666
  q.message && t.add({ severity: "error", summary: "Error", detail: q.message, life: 5e3 });
@@ -15889,7 +15888,7 @@ const Mr = /* @__PURE__ */ oM(wy, [["render", vy], ["__scopeId", "data-v-f32fa82
15889
15888
  onEnviarCodigoAlUsuario: I,
15890
15889
  onEnviarCodigoVerificacion: g,
15891
15890
  onCancelarVerificacion: y
15892
- } = Ly(), d = dt();
15891
+ } = Ly(), d = Dt();
15893
15892
  return (Q, p) => {
15894
15893
  const A = Yt("tooltip");
15895
15894
  return j(), z(Ae, null, [
@@ -16382,7 +16381,7 @@ function kA(e, t, M, i, n, u) {
16382
16381
  }
16383
16382
  Bo.render = kA;
16384
16383
  function mA() {
16385
- const e = dt(), t = si();
16384
+ const e = Dt(), t = si();
16386
16385
  kM(() => {
16387
16386
  i();
16388
16387
  });
@@ -16418,7 +16417,7 @@ function mA() {
16418
16417
  };
16419
16418
  }
16420
16419
  function pA() {
16421
- const e = dt(), t = An(), { redirectCD: M } = mA(), i = si(), { refCounter: n, currentContacto: u } = On("2auth"), r = ut([
16420
+ const e = Dt(), t = An(), { redirectCD: M } = mA(), i = si(), { refCounter: n, currentContacto: u } = On("2auth"), r = ut([
16422
16421
  {
16423
16422
  name: "step1"
16424
16423
  },
@@ -16445,7 +16444,7 @@ function pA() {
16445
16444
  (T = n.value) == null || T.reInit(60);
16446
16445
  }));
16447
16446
  } catch (O) {
16448
- yt({ error: O, toast: i, setErrors: g });
16447
+ At({ error: O, toast: i, setErrors: g });
16449
16448
  } finally {
16450
16449
  t.setLoading(!1);
16451
16450
  }
@@ -16457,7 +16456,7 @@ function pA() {
16457
16456
  code: Number(E.code)
16458
16457
  });
16459
16458
  } catch (O) {
16460
- yt({ error: O, toast: i, setErrors: g });
16459
+ At({ error: O, toast: i, setErrors: g });
16461
16460
  } finally {
16462
16461
  t.setLoading(!1);
16463
16462
  }
@@ -16499,7 +16498,7 @@ const wA = { class: "flex flex-column gap-4" }, UA = { class: "formgrid grid gri
16499
16498
  }, " Dispositivo de confianza ", -1), ZA = /* @__PURE__ */ ke({
16500
16499
  __name: "FgeLogin",
16501
16500
  setup(e) {
16502
- const t = dt(), {
16501
+ const t = Dt(), {
16503
16502
  refCounter: M,
16504
16503
  currentContacto: i,
16505
16504
  steps: n,
@@ -18209,7 +18208,7 @@ function id() {
18209
18208
  };
18210
18209
  }
18211
18210
  function nd() {
18212
- const { onRecoverPasswordApi: e, onSendRecoveryCodeApi: t, onChangePasswordApi: M } = id(), i = dt(), n = An(), u = Z(0), r = le(() => l[u.value]), { refCounter: s, currentContacto: o } = On("recuperar-pw"), a = ut([
18211
+ const { onRecoverPasswordApi: e, onSendRecoveryCodeApi: t, onChangePasswordApi: M } = id(), i = Dt(), n = An(), u = Z(0), r = le(() => l[u.value]), { refCounter: s, currentContacto: o } = On("recuperar-pw"), a = ut([
18213
18212
  {
18214
18213
  name: "step1"
18215
18214
  },
@@ -18239,7 +18238,7 @@ function nd() {
18239
18238
  try {
18240
18239
  n.setLoading(!0), w();
18241
18240
  } catch (m) {
18242
- yt({ error: m, setErrors: d, toast: N });
18241
+ At({ error: m, setErrors: d, toast: N });
18243
18242
  } finally {
18244
18243
  n.setLoading(!1);
18245
18244
  }
@@ -18253,7 +18252,7 @@ function nd() {
18253
18252
  (f = s.value) == null || f.reInit(120);
18254
18253
  });
18255
18254
  } catch (L) {
18256
- yt({ error: L, setErrors: d, toast: N });
18255
+ At({ error: L, setErrors: d, toast: N });
18257
18256
  } finally {
18258
18257
  n.setLoading(!1);
18259
18258
  }
@@ -18268,7 +18267,7 @@ function nd() {
18268
18267
  aplicacion: i.aplicacion
18269
18268
  }), u.value = u.value + 1;
18270
18269
  } catch (L) {
18271
- yt({ error: L, setErrors: d, toast: N });
18270
+ At({ error: L, setErrors: d, toast: N });
18272
18271
  } finally {
18273
18272
  n.setLoading(!1);
18274
18273
  }
@@ -18289,7 +18288,7 @@ function nd() {
18289
18288
  life: 5e3
18290
18289
  }), n.setLoading(!1), i.goLoginPage();
18291
18290
  } catch (L) {
18292
- yt({ error: L, setErrors: d, toast: N }), n.setLoading(!1);
18291
+ At({ error: L, setErrors: d, toast: N }), n.setLoading(!1);
18293
18292
  }
18294
18293
  });
18295
18294
  return {
@@ -18466,7 +18465,7 @@ function Ed(e, t) {
18466
18465
  const Ko = /* @__PURE__ */ oM(dd, [["render", Ed], ["__scopeId", "data-v-9d78b2ec"]]), xd = { class: "fge-login-container fge-container" }, Sd = /* @__PURE__ */ c("div", { class: "left" }, null, -1), hd = { class: "right" }, Cd = { class: "right-container" }, kd = { class: "fge-login" }, md = { class: "right-container-footer" }, pd = /* @__PURE__ */ ke({
18467
18466
  __name: "PrincipalLoginComp",
18468
18467
  setup(e) {
18469
- const t = dt(), M = An();
18468
+ const t = Dt(), M = An();
18470
18469
  return kM(() => {
18471
18470
  t.currentPage = "login";
18472
18471
  }), (i, n) => (j(), z(Ae, null, [
@@ -19432,7 +19431,7 @@ const MN = /* @__PURE__ */ oM(yz, [["render", Tz]]), Oz = { class: "flex gap-3 a
19432
19431
  }
19433
19432
  },
19434
19433
  setup(e) {
19435
- const t = dt(), M = Z(!0), i = () => {
19434
+ const t = Dt(), M = Z(!0), i = () => {
19436
19435
  M.value = !1;
19437
19436
  };
19438
19437
  return (n, u) => {
@@ -19530,7 +19529,7 @@ function _z() {
19530
19529
  newPassword: oe().required().matches(ni).min(8).max(15).label("Nueva contraseña"),
19531
19530
  repetirPassword: oe().required().oneOf([Zu("newPassword")], "Las contraseñas deben ser iguales").label("Confirmación de la contraseña")
19532
19531
  })
19533
- ], r = si(), s = dt(), o = zs(), { refCounter: a, currentContacto: N, currentMedio: l, enviarMensaje: I } = On("profile"), g = Z(0), y = Z(), d = Z(!1), Q = Z([
19532
+ ], r = si(), s = Dt(), o = zs(), { refCounter: a, currentContacto: N, currentMedio: l, enviarMensaje: I } = On("profile"), g = Z(0), y = Z(), d = Z(!1), Q = Z([
19534
19533
  {
19535
19534
  name: "step1"
19536
19535
  },
@@ -19549,13 +19548,13 @@ function _z() {
19549
19548
  keepValuesOnUnmount: !0
19550
19549
  });
19551
19550
  kM(() => {
19552
- var J, se, we, We, qe, Ee, Dt, b;
19551
+ var J, se, we, We, qe, Ee, ct, b;
19553
19552
  L({
19554
19553
  celular: ((se = (J = s.userState.user) == null ? void 0 : J.celular) == null ? void 0 : se.toString()) || void 0,
19555
19554
  email: ((we = s.userState.user) == null ? void 0 : we.email) || void 0,
19556
19555
  direccion: ((We = s.userState.user) == null ? void 0 : We.direccion) || void 0,
19557
19556
  medio: ((qe = s.userState.user) == null ? void 0 : qe.notificacionDefault) || void 0
19558
- }), A.verificadoWhatsapp = !!((Ee = s.userState.user) != null && Ee.whatsapp), A.verificadoTelegram = !!((Dt = s.userState.user) != null && Dt.telegram), A.verificadoEmail = !!((b = s.userState.user) != null && b.emailValidado);
19557
+ }), A.verificadoWhatsapp = !!((Ee = s.userState.user) != null && Ee.whatsapp), A.verificadoTelegram = !!((ct = s.userState.user) != null && ct.telegram), A.verificadoEmail = !!((b = s.userState.user) != null && b.emailValidado);
19559
19558
  }), fe(
19560
19559
  () => C.celular,
19561
19560
  (J) => {
@@ -19615,7 +19614,7 @@ function _z() {
19615
19614
  emailValidado: !!A.verificadoEmail
19616
19615
  }), H(), T("codigo", void 0), l.value = void 0, N.value = null;
19617
19616
  } catch (J) {
19618
- yt({ error: J.response, toast: r, setErrors: O });
19617
+ At({ error: J.response, toast: r, setErrors: O });
19619
19618
  } finally {
19620
19619
  d.value = !1;
19621
19620
  }
@@ -19664,13 +19663,13 @@ function _z() {
19664
19663
  life: 5e3
19665
19664
  }), H();
19666
19665
  } catch (se) {
19667
- yt({ error: se.response, toast: r, setErrors: O });
19666
+ At({ error: se.response, toast: r, setErrors: O });
19668
19667
  } finally {
19669
19668
  d.value = !1;
19670
19669
  }
19671
19670
  }), q = () => {
19672
19671
  var J;
19673
- console.log(y.value), (J = y.value) == null || J.click();
19672
+ (J = y.value) == null || J.click();
19674
19673
  }, ee = async (J) => {
19675
19674
  var qe;
19676
19675
  const se = (qe = J == null ? void 0 : J.target) == null ? void 0 : qe.files[0], we = "." + se.name.split(".").pop(), We = se.size / 1024;
@@ -19706,8 +19705,8 @@ function _z() {
19706
19705
  s.updateUserData({
19707
19706
  fotoRuta: (Ee = Ue.response) == null ? void 0 : Ee.foto
19708
19707
  });
19709
- } catch (Dt) {
19710
- yt({ error: Dt.response, toast: r, setErrors: O });
19708
+ } catch (ct) {
19709
+ At({ error: ct.response, toast: r, setErrors: O });
19711
19710
  } finally {
19712
19711
  d.value = !1;
19713
19712
  }
@@ -20221,7 +20220,7 @@ const fT = /* @__PURE__ */ oM(OT, [["__scopeId", "data-v-49bf61ff"]]), iN = /* @
20221
20220
  ], vT = /* @__PURE__ */ ke({
20222
20221
  __name: "FgeMenuItems",
20223
20222
  setup(e) {
20224
- const t = dt(), M = Z(), i = Z(), n = Z(!0), u = (o) => {
20223
+ const t = Dt(), M = Z(), i = Z(), n = Z(!0), u = (o) => {
20225
20224
  M.value.toggle(o);
20226
20225
  }, r = () => {
20227
20226
  i.value.openDialog();
@@ -20520,9 +20519,15 @@ jj(oe, "email", function(t) {
20520
20519
  });
20521
20520
  const ZT = {
20522
20521
  install: (e, t) => {
20523
- console.log("?"), t.enablerPrimeDirectives && e.directive("tooltip", RT), t.enablerPrimeServices && (e.use(SN), e.use(xN)), t.configPrimeVueLocale && e.use(EN, {
20522
+ t.usePrimeDirectives && e.directive("tooltip", RT), t.usePrimeServices && (e.use(SN), e.use(xN)), t.usePrimeVueLocale && e.use(EN, {
20524
20523
  locale: PT
20525
- }), t.configYupLocale && gj(DN), e.component("FgeLoginComponent", pd), e.component("FgePerfilMenuComponent", vT), e.component("FgePerfilSidebar", iN), e.use(_s);
20524
+ }), t.useYupLocale && gj(DN), e.component("FgeLoginComponent", pd), e.component("FgePerfilMenuComponent", vT), e.component("FgePerfilSidebar", iN), e.use(_s), Dt().setConfigs({
20525
+ newBaseURL: t.baseUrl,
20526
+ newAplicacion: t.aplicacion,
20527
+ newRrhhUrl: t.rrhhUrl,
20528
+ newRedirectLoginFunction: t.redirectLoginFunction,
20529
+ newRedirectLogoutFunction: t.redirectLogoutFunction
20530
+ });
20526
20531
  }
20527
20532
  };
20528
20533
  export {
@@ -20530,6 +20535,6 @@ export {
20530
20535
  pd as FgeLoginComponent,
20531
20536
  iN as FgePerfilSidebar,
20532
20537
  ZT as default,
20533
- dt as useFgeAuthLoginStore,
20538
+ Dt as useFgeAuthLoginStore,
20534
20539
  An as useFgeAuthStateStore
20535
20540
  };