fge-auth-component 4.0.9 → 4.0.11
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.
- package/dist/fge-auth-component.es.js +141 -142
- package/dist/fge-auth-component.umd.js +4 -4
- package/package.json +1 -1
|
@@ -770,8 +770,8 @@ function Hi(t, e, n = {}, r, o, a) {
|
|
|
770
770
|
}
|
|
771
771
|
const v = a ? function() {
|
|
772
772
|
const { state: I } = n, F = I ? I() : {};
|
|
773
|
-
this.$patch((
|
|
774
|
-
vt(
|
|
773
|
+
this.$patch((Q) => {
|
|
774
|
+
vt(Q, F);
|
|
775
775
|
});
|
|
776
776
|
} : (
|
|
777
777
|
/* istanbul ignore next */
|
|
@@ -785,9 +785,9 @@ function Hi(t, e, n = {}, r, o, a) {
|
|
|
785
785
|
function w(O, I) {
|
|
786
786
|
return function() {
|
|
787
787
|
Eo(r);
|
|
788
|
-
const F = Array.from(arguments),
|
|
789
|
-
function
|
|
790
|
-
|
|
788
|
+
const F = Array.from(arguments), Q = [], K = [];
|
|
789
|
+
function H(L) {
|
|
790
|
+
Q.push(L);
|
|
791
791
|
}
|
|
792
792
|
function ee(L) {
|
|
793
793
|
K.push(L);
|
|
@@ -796,7 +796,7 @@ function Hi(t, e, n = {}, r, o, a) {
|
|
|
796
796
|
args: F,
|
|
797
797
|
name: O,
|
|
798
798
|
store: D,
|
|
799
|
-
after:
|
|
799
|
+
after: H,
|
|
800
800
|
onError: ee
|
|
801
801
|
});
|
|
802
802
|
let _;
|
|
@@ -805,7 +805,7 @@ function Hi(t, e, n = {}, r, o, a) {
|
|
|
805
805
|
} catch (L) {
|
|
806
806
|
throw vr(K, L), L;
|
|
807
807
|
}
|
|
808
|
-
return _ instanceof Promise ? _.then((L) => (vr(
|
|
808
|
+
return _ instanceof Promise ? _.then((L) => (vr(Q, L), L)).catch((L) => (vr(K, L), Promise.reject(L))) : (vr(Q, _), _);
|
|
809
809
|
};
|
|
810
810
|
}
|
|
811
811
|
const C = /* @__PURE__ */ Ht({
|
|
@@ -821,7 +821,7 @@ function Hi(t, e, n = {}, r, o, a) {
|
|
|
821
821
|
$patch: B,
|
|
822
822
|
$reset: v,
|
|
823
823
|
$subscribe(O, I = {}) {
|
|
824
|
-
const F = dc(d, O, I.detached, () =>
|
|
824
|
+
const F = dc(d, O, I.detached, () => Q()), Q = s.run(() => Ae(() => r.state.value[t], (K) => {
|
|
825
825
|
(I.flush === "sync" ? u : A) && O({
|
|
826
826
|
storeId: t,
|
|
827
827
|
type: zt.direct,
|
|
@@ -868,8 +868,8 @@ function Hi(t, e, n = {}, r, o, a) {
|
|
|
868
868
|
}), process.env.NODE_ENV !== "production" && (D._hotUpdate = Ht((O) => {
|
|
869
869
|
D._hotUpdating = !0, O._hmrPayload.state.forEach((I) => {
|
|
870
870
|
if (I in D.$state) {
|
|
871
|
-
const F = O.$state[I],
|
|
872
|
-
typeof F == "object" && sr(F) && sr(
|
|
871
|
+
const F = O.$state[I], Q = D.$state[I];
|
|
872
|
+
typeof F == "object" && sr(F) && sr(Q) ? Qu(F, Q) : O.$state[I] = Q;
|
|
873
873
|
}
|
|
874
874
|
Wo(D, I, ma(O.$state, I));
|
|
875
875
|
}), Object.keys(D.$state).forEach((I) => {
|
|
@@ -882,11 +882,11 @@ function Hi(t, e, n = {}, r, o, a) {
|
|
|
882
882
|
Wo(D, I, w(I, F));
|
|
883
883
|
}
|
|
884
884
|
for (const I in O._hmrPayload.getters) {
|
|
885
|
-
const F = O._hmrPayload.getters[I],
|
|
885
|
+
const F = O._hmrPayload.getters[I], Q = a ? (
|
|
886
886
|
// special handling of options api
|
|
887
887
|
R(() => (Eo(r), F.call(D, D)))
|
|
888
888
|
) : F;
|
|
889
|
-
Wo(D, I,
|
|
889
|
+
Wo(D, I, Q);
|
|
890
890
|
}
|
|
891
891
|
Object.keys(D._hmrPayload.getters).forEach((I) => {
|
|
892
892
|
I in O._hmrPayload.getters || Ws(D, I);
|
|
@@ -2797,20 +2797,19 @@ const a5 = async (t) => be.post("v1/auth/login", t).then((e) => e).catch((e) =>
|
|
|
2797
2797
|
aplicacion: l.value,
|
|
2798
2798
|
verificarSiFuncionario: h.value
|
|
2799
2799
|
});
|
|
2800
|
-
D(ue.response), z &&
|
|
2800
|
+
D(ue.response), z && Q({
|
|
2801
2801
|
usuario: _.usuario,
|
|
2802
2802
|
value: L
|
|
2803
2803
|
});
|
|
2804
2804
|
}, k = async (_) => {
|
|
2805
2805
|
var Pe, Qe;
|
|
2806
|
-
console.log("🚀 ~ on2AuthLogin ~ values:", _);
|
|
2807
2806
|
let L;
|
|
2808
2807
|
const z = !!_.esDispositivoConfianza;
|
|
2809
2808
|
z && (L = Ys());
|
|
2810
2809
|
const ue = await c5({
|
|
2811
2810
|
..._
|
|
2812
2811
|
}), Ve = await ni();
|
|
2813
|
-
Z((Pe = ue.response) == null ? void 0 : Pe.token, (Qe = ue.response) == null ? void 0 : Qe.tokenRefresh, Ve), z &&
|
|
2812
|
+
Z((Pe = ue.response) == null ? void 0 : Pe.token, (Qe = ue.response) == null ? void 0 : Qe.tokenRefresh, Ve), z && Q({
|
|
2814
2813
|
usuario: _.usuario,
|
|
2815
2814
|
value: L
|
|
2816
2815
|
});
|
|
@@ -2950,7 +2949,7 @@ const a5 = async (t) => be.post("v1/auth/login", t).then((e) => e).catch((e) =>
|
|
|
2950
2949
|
...n.value,
|
|
2951
2950
|
forzarActivar2FA: !1
|
|
2952
2951
|
};
|
|
2953
|
-
},
|
|
2952
|
+
}, Q = async ({
|
|
2954
2953
|
usuario: _,
|
|
2955
2954
|
value: L,
|
|
2956
2955
|
days: z = 7
|
|
@@ -3002,7 +3001,7 @@ const a5 = async (t) => be.post("v1/auth/login", t).then((e) => e).catch((e) =>
|
|
|
3002
3001
|
}) => {
|
|
3003
3002
|
o.value = _, l.value = Ve, s.value = z || "", A.value = ue || "", a.value = L || "", i.value = U(), d.value = Pe, h.value = Qe || !1, u.value = W, f.value = Y || "0.0.1", m.value = !!Ee, y.value = !!Oe;
|
|
3004
3003
|
},
|
|
3005
|
-
setDispositivoConfianzaCookie:
|
|
3004
|
+
setDispositivoConfianzaCookie: Q,
|
|
3006
3005
|
clearUserData: O,
|
|
3007
3006
|
updateUserData: I,
|
|
3008
3007
|
disable2FAStore: F,
|
|
@@ -4825,12 +4824,12 @@ const B6 = (t) => ({
|
|
|
4825
4824
|
}, f = c1(o), m = l1(f), y = await s.getDimensions(A), g = f === "y", B = g ? "top" : "left", v = g ? "bottom" : "right", p = g ? "clientHeight" : "clientWidth", w = a.reference[m] + a.reference[f] - h[f] - a.floating[m], C = h[f] - a.reference[f], k = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(A));
|
|
4826
4825
|
let D = k ? k[p] : 0;
|
|
4827
4826
|
(!D || !await (s.isElement == null ? void 0 : s.isElement(k))) && (D = i.floating[p] || a.floating[m]);
|
|
4828
|
-
const Z = w / 2 - C / 2, U = D / 2 - y[m] / 2 - 1, O = Kt(d[B], U), I = Kt(d[v], U), F = O,
|
|
4827
|
+
const Z = w / 2 - C / 2, U = D / 2 - y[m] / 2 - 1, O = Kt(d[B], U), I = Kt(d[v], U), F = O, Q = D - y[m] - I, K = D / 2 - y[m] / 2 + Z, H = ol(F, K, Q), ee = !l.arrow && Yr(o) != null && K !== H && a.reference[m] / 2 - (K < F ? O : I) - y[m] / 2 < 0, _ = ee ? K < F ? K - F : K - Q : 0;
|
|
4829
4828
|
return {
|
|
4830
4829
|
[f]: h[f] + _,
|
|
4831
4830
|
data: {
|
|
4832
|
-
[f]:
|
|
4833
|
-
centerOffset: K -
|
|
4831
|
+
[f]: H,
|
|
4832
|
+
centerOffset: K - H - _,
|
|
4834
4833
|
...ee && {
|
|
4835
4834
|
alignmentOffset: _
|
|
4836
4835
|
}
|
|
@@ -4875,23 +4874,23 @@ const B6 = (t) => ({
|
|
|
4875
4874
|
overflows: U
|
|
4876
4875
|
}], !U.every((K) => K <= 0)) {
|
|
4877
4876
|
var I, F;
|
|
4878
|
-
const K = (((I = a.flip) == null ? void 0 : I.index) || 0) + 1,
|
|
4879
|
-
if (
|
|
4877
|
+
const K = (((I = a.flip) == null ? void 0 : I.index) || 0) + 1, H = D[K];
|
|
4878
|
+
if (H)
|
|
4880
4879
|
return {
|
|
4881
4880
|
data: {
|
|
4882
4881
|
index: K,
|
|
4883
4882
|
overflows: O
|
|
4884
4883
|
},
|
|
4885
4884
|
reset: {
|
|
4886
|
-
placement:
|
|
4885
|
+
placement: H
|
|
4887
4886
|
}
|
|
4888
4887
|
};
|
|
4889
4888
|
let ee = (F = O.filter((_) => _.overflows[0] <= 0).sort((_, L) => _.overflows[1] - L.overflows[1])[0]) == null ? void 0 : F.placement;
|
|
4890
4889
|
if (!ee)
|
|
4891
4890
|
switch (f) {
|
|
4892
4891
|
case "bestFit": {
|
|
4893
|
-
var
|
|
4894
|
-
const _ = (
|
|
4892
|
+
var Q;
|
|
4893
|
+
const _ = (Q = O.filter((L) => {
|
|
4895
4894
|
if (k) {
|
|
4896
4895
|
const z = Un(L.placement);
|
|
4897
4896
|
return z === v || // Create a bias to the `y` side axis due to horizontal
|
|
@@ -4899,7 +4898,7 @@ const B6 = (t) => ({
|
|
|
4899
4898
|
z === "y";
|
|
4900
4899
|
}
|
|
4901
4900
|
return !0;
|
|
4902
|
-
}).map((L) => [L.placement, L.overflows.filter((z) => z > 0).reduce((z, ue) => z + ue, 0)]).sort((L, z) => L[1] - z[1])[0]) == null ? void 0 :
|
|
4901
|
+
}).map((L) => [L.placement, L.overflows.filter((z) => z > 0).reduce((z, ue) => z + ue, 0)]).sort((L, z) => L[1] - z[1])[0]) == null ? void 0 : Q[0];
|
|
4903
4902
|
_ && (ee = _);
|
|
4904
4903
|
break;
|
|
4905
4904
|
}
|
|
@@ -8012,15 +8011,15 @@ const Zp = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
|
|
|
8012
8011
|
defaultPlaceholder: n.placeholder,
|
|
8013
8012
|
defaultValue: I.value,
|
|
8014
8013
|
locale: n.locale
|
|
8015
|
-
}),
|
|
8014
|
+
}), Q = Xe(n, "placeholder", r, {
|
|
8016
8015
|
defaultValue: n.defaultPlaceholder ?? F.copy(),
|
|
8017
8016
|
passive: n.placeholder === void 0
|
|
8018
8017
|
});
|
|
8019
8018
|
function K(re) {
|
|
8020
|
-
|
|
8019
|
+
Q.value = re.copy();
|
|
8021
8020
|
}
|
|
8022
8021
|
const {
|
|
8023
|
-
fullCalendarLabel:
|
|
8022
|
+
fullCalendarLabel: H,
|
|
8024
8023
|
headingValue: ee,
|
|
8025
8024
|
isDateDisabled: _,
|
|
8026
8025
|
isDateUnavailable: L,
|
|
@@ -8034,7 +8033,7 @@ const Zp = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
|
|
|
8034
8033
|
grid: Ee
|
|
8035
8034
|
} = Vp({
|
|
8036
8035
|
locale: o,
|
|
8037
|
-
placeholder:
|
|
8036
|
+
placeholder: Q,
|
|
8038
8037
|
weekStartsOn: A,
|
|
8039
8038
|
fixedWeeks: d,
|
|
8040
8039
|
numberOfMonths: y,
|
|
@@ -8059,8 +8058,8 @@ const Zp = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
|
|
|
8059
8058
|
Ae(I, (re) => {
|
|
8060
8059
|
if (Array.isArray(re) && re.length) {
|
|
8061
8060
|
const He = re[re.length - 1];
|
|
8062
|
-
He && !yo(
|
|
8063
|
-
} else !Array.isArray(re) && re && !yo(
|
|
8061
|
+
He && !yo(Q.value, He) && K(He);
|
|
8062
|
+
} else !Array.isArray(re) && re && !yo(Q.value, re) && K(re);
|
|
8064
8063
|
});
|
|
8065
8064
|
function Ot(re) {
|
|
8066
8065
|
if (h.value) {
|
|
@@ -8072,7 +8071,7 @@ const Zp = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
|
|
|
8072
8071
|
else if (!g.value) {
|
|
8073
8072
|
const He = I.value.filter((pr) => !Lr(pr, re));
|
|
8074
8073
|
if (!He.length) {
|
|
8075
|
-
|
|
8074
|
+
Q.value = re.copy(), I.value = void 0;
|
|
8076
8075
|
return;
|
|
8077
8076
|
}
|
|
8078
8077
|
I.value = He.map((pr) => pr.copy());
|
|
@@ -8083,7 +8082,7 @@ const Zp = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
|
|
|
8083
8082
|
I.value = re.copy();
|
|
8084
8083
|
return;
|
|
8085
8084
|
}
|
|
8086
|
-
!g.value && yo(I.value, re) ? (
|
|
8085
|
+
!g.value && yo(I.value, re) ? (Q.value = re.copy(), I.value = void 0) : I.value = re.copy();
|
|
8087
8086
|
}
|
|
8088
8087
|
}
|
|
8089
8088
|
return Se(() => {
|
|
@@ -8095,7 +8094,7 @@ const Zp = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
|
|
|
8095
8094
|
locale: o,
|
|
8096
8095
|
formatter: Y,
|
|
8097
8096
|
modelValue: I,
|
|
8098
|
-
placeholder:
|
|
8097
|
+
placeholder: Q,
|
|
8099
8098
|
disabled: a,
|
|
8100
8099
|
initialFocus: i,
|
|
8101
8100
|
pagedNavigation: l,
|
|
@@ -8106,7 +8105,7 @@ const Zp = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
|
|
|
8106
8105
|
numberOfMonths: y,
|
|
8107
8106
|
readonly: s,
|
|
8108
8107
|
preventDeselect: g,
|
|
8109
|
-
fullCalendarLabel:
|
|
8108
|
+
fullCalendarLabel: H,
|
|
8110
8109
|
headingValue: ee,
|
|
8111
8110
|
isInvalid: Oe,
|
|
8112
8111
|
isDateSelected: Ne,
|
|
@@ -8124,7 +8123,7 @@ const Zp = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
|
|
|
8124
8123
|
as: re.as,
|
|
8125
8124
|
"as-child": re.asChild,
|
|
8126
8125
|
role: "application",
|
|
8127
|
-
"aria-label": c(
|
|
8126
|
+
"aria-label": c(H),
|
|
8128
8127
|
"data-readonly": c(s) ? "" : void 0,
|
|
8129
8128
|
"data-disabled": c(a) ? "" : void 0,
|
|
8130
8129
|
"data-invalid": c(Oe) ? "" : void 0,
|
|
@@ -8132,7 +8131,7 @@ const Zp = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
|
|
|
8132
8131
|
}, {
|
|
8133
8132
|
default: S(() => [
|
|
8134
8133
|
q(re.$slots, "default", {
|
|
8135
|
-
date: c(
|
|
8134
|
+
date: c(Q),
|
|
8136
8135
|
grid: c(Ee),
|
|
8137
8136
|
weekDays: c(Ve),
|
|
8138
8137
|
weekStartsOn: c(A),
|
|
@@ -8140,7 +8139,7 @@ const Zp = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
|
|
|
8140
8139
|
fixedWeeks: c(d)
|
|
8141
8140
|
}),
|
|
8142
8141
|
b("div", Zp, [
|
|
8143
|
-
b("div", _p, de(c(
|
|
8142
|
+
b("div", _p, de(c(H)), 1)
|
|
8144
8143
|
])
|
|
8145
8144
|
]),
|
|
8146
8145
|
_: 3
|
|
@@ -8684,20 +8683,20 @@ const d2 = {
|
|
|
8684
8683
|
}),
|
|
8685
8684
|
$6({
|
|
8686
8685
|
...m.value,
|
|
8687
|
-
apply: ({ elements: O, rects: I, availableWidth: F, availableHeight:
|
|
8688
|
-
const { width: K, height:
|
|
8686
|
+
apply: ({ elements: O, rects: I, availableWidth: F, availableHeight: Q }) => {
|
|
8687
|
+
const { width: K, height: H } = I.reference, ee = O.floating.style;
|
|
8689
8688
|
ee.setProperty(
|
|
8690
8689
|
"--radix-popper-available-width",
|
|
8691
8690
|
`${F}px`
|
|
8692
8691
|
), ee.setProperty(
|
|
8693
8692
|
"--radix-popper-available-height",
|
|
8694
|
-
`${
|
|
8693
|
+
`${Q}px`
|
|
8695
8694
|
), ee.setProperty(
|
|
8696
8695
|
"--radix-popper-anchor-width",
|
|
8697
8696
|
`${K}px`
|
|
8698
8697
|
), ee.setProperty(
|
|
8699
8698
|
"--radix-popper-anchor-height",
|
|
8700
|
-
`${
|
|
8699
|
+
`${H}px`
|
|
8701
8700
|
);
|
|
8702
8701
|
}
|
|
8703
8702
|
}),
|
|
@@ -8749,7 +8748,7 @@ const d2 = {
|
|
|
8749
8748
|
arrowY: U,
|
|
8750
8749
|
shouldHideArrow: k
|
|
8751
8750
|
}), (O, I) => {
|
|
8752
|
-
var F,
|
|
8751
|
+
var F, Q, K;
|
|
8753
8752
|
return T(), j("div", {
|
|
8754
8753
|
ref_key: "floatingRef",
|
|
8755
8754
|
ref: i,
|
|
@@ -8762,7 +8761,7 @@ const d2 = {
|
|
|
8762
8761
|
zIndex: D.value,
|
|
8763
8762
|
"--radix-popper-transform-origin": [
|
|
8764
8763
|
(F = c(p).transformOrigin) == null ? void 0 : F.x,
|
|
8765
|
-
(
|
|
8764
|
+
(Q = c(p).transformOrigin) == null ? void 0 : Q.y
|
|
8766
8765
|
].join(" "),
|
|
8767
8766
|
// hide the content if using the hide middleware and should be hidden
|
|
8768
8767
|
// set visibility to hidden and disable pointer events so the UI behaves
|
|
@@ -9243,7 +9242,7 @@ const [M7, x7] = xe("RovingFocusGroup"), g2 = /* @__PURE__ */ N({
|
|
|
9243
9242
|
function D(O) {
|
|
9244
9243
|
if (O.defaultPrevented)
|
|
9245
9244
|
return;
|
|
9246
|
-
const I = O.target.closest("[data-radix-menu-content]") === O.currentTarget, F = O.ctrlKey || O.altKey || O.metaKey,
|
|
9245
|
+
const I = O.target.closest("[data-radix-menu-content]") === O.currentTarget, F = O.ctrlKey || O.altKey || O.metaKey, Q = O.key.length === 1, K = Mh(
|
|
9247
9246
|
O,
|
|
9248
9247
|
ct(),
|
|
9249
9248
|
v.value,
|
|
@@ -9257,11 +9256,11 @@ const [M7, x7] = xe("RovingFocusGroup"), g2 = /* @__PURE__ */ N({
|
|
|
9257
9256
|
);
|
|
9258
9257
|
if (K)
|
|
9259
9258
|
return K == null ? void 0 : K.focus();
|
|
9260
|
-
if (O.code === "Space" || (I && (O.key === "Tab" && O.preventDefault(), !F &&
|
|
9259
|
+
if (O.code === "Space" || (I && (O.key === "Tab" && O.preventDefault(), !F && Q && w(O.key)), O.target !== v.value) || !yp.includes(O.key))
|
|
9261
9260
|
return;
|
|
9262
9261
|
O.preventDefault();
|
|
9263
|
-
const
|
|
9264
|
-
s2.includes(O.key) &&
|
|
9262
|
+
const H = p.value;
|
|
9263
|
+
s2.includes(O.key) && H.reverse(), wp(H);
|
|
9265
9264
|
}
|
|
9266
9265
|
function Z(O) {
|
|
9267
9266
|
var I, F;
|
|
@@ -9271,8 +9270,8 @@ const [M7, x7] = xe("RovingFocusGroup"), g2 = /* @__PURE__ */ N({
|
|
|
9271
9270
|
var I;
|
|
9272
9271
|
if (!Al(O))
|
|
9273
9272
|
return;
|
|
9274
|
-
const F = O.target,
|
|
9275
|
-
if ((I = O == null ? void 0 : O.currentTarget) != null && I.contains(F) &&
|
|
9273
|
+
const F = O.target, Q = m.value !== O.clientX;
|
|
9274
|
+
if ((I = O == null ? void 0 : O.currentTarget) != null && I.contains(F) && Q) {
|
|
9276
9275
|
const K = O.clientX > m.value ? "right" : "left";
|
|
9277
9276
|
f.value = K, m.value = O.clientX;
|
|
9278
9277
|
}
|
|
@@ -9737,16 +9736,16 @@ const z7 = ["id", "value", "name", "disabled", "required"], [j7, J7] = xe("DateF
|
|
|
9737
9736
|
const I = M(null), F = R(() => Array.from(g.value).findIndex((L) => {
|
|
9738
9737
|
var z;
|
|
9739
9738
|
return L.getAttribute("data-radix-vue-date-field-segment") === ((z = I.value) == null ? void 0 : z.getAttribute("data-radix-vue-date-field-segment"));
|
|
9740
|
-
})),
|
|
9739
|
+
})), Q = R(() => {
|
|
9741
9740
|
const L = f.value === "rtl" ? -1 : 1;
|
|
9742
9741
|
return (L < 0 ? F.value < 0 : F.value > g.value.size - 1) ? null : Array.from(g.value)[F.value + L];
|
|
9743
9742
|
}), K = R(() => {
|
|
9744
9743
|
const L = f.value === "rtl" ? -1 : 1;
|
|
9745
9744
|
return (L > 0 ? F.value < 0 : F.value > g.value.size - 1) ? null : Array.from(g.value)[F.value - L];
|
|
9746
|
-
}),
|
|
9745
|
+
}), H = Vo();
|
|
9747
9746
|
function ee(L) {
|
|
9748
9747
|
var z, ue;
|
|
9749
|
-
wn(L.key) && (L.key ===
|
|
9748
|
+
wn(L.key) && (L.key === H.ARROW_LEFT && ((z = K.value) == null || z.focus()), L.key === H.ARROW_RIGHT && ((ue = Q.value) == null || ue.focus()));
|
|
9750
9749
|
}
|
|
9751
9750
|
function _(L) {
|
|
9752
9751
|
I.value = L;
|
|
@@ -9767,7 +9766,7 @@ const z7 = ["id", "value", "name", "disabled", "required"], [j7, J7] = xe("DateF
|
|
|
9767
9766
|
setFocusedElement: _,
|
|
9768
9767
|
focusNext() {
|
|
9769
9768
|
var L;
|
|
9770
|
-
(L =
|
|
9769
|
+
(L = Q.value) == null || L.focus();
|
|
9771
9770
|
}
|
|
9772
9771
|
}), e({
|
|
9773
9772
|
/** Helper to set the focused element inside the DateField */
|
|
@@ -10483,15 +10482,15 @@ const l8 = /* @__PURE__ */ N({
|
|
|
10483
10482
|
} = _e(n), I = dr(O), F = Xe(n, "modelValue", r, {
|
|
10484
10483
|
defaultValue: U.value,
|
|
10485
10484
|
passive: n.modelValue === void 0
|
|
10486
|
-
}),
|
|
10485
|
+
}), Q = R(() => h1({
|
|
10487
10486
|
defaultPlaceholder: n.placeholder,
|
|
10488
10487
|
granularity: n.granularity,
|
|
10489
10488
|
defaultValue: F.value,
|
|
10490
10489
|
locale: n.locale
|
|
10491
10490
|
})), K = Xe(n, "placeholder", r, {
|
|
10492
|
-
defaultValue: n.defaultPlaceholder ??
|
|
10491
|
+
defaultValue: n.defaultPlaceholder ?? Q.value.copy(),
|
|
10493
10492
|
passive: n.placeholder === void 0
|
|
10494
|
-
}),
|
|
10493
|
+
}), H = Xe(n, "open", r, {
|
|
10495
10494
|
defaultValue: y.value,
|
|
10496
10495
|
passive: n.open === void 0
|
|
10497
10496
|
}), ee = M();
|
|
@@ -10513,7 +10512,7 @@ const l8 = /* @__PURE__ */ N({
|
|
|
10513
10512
|
placeholder: K,
|
|
10514
10513
|
defaultOpen: y,
|
|
10515
10514
|
modal: g,
|
|
10516
|
-
open:
|
|
10515
|
+
open: H,
|
|
10517
10516
|
id: B,
|
|
10518
10517
|
name: v,
|
|
10519
10518
|
required: p,
|
|
@@ -10531,8 +10530,8 @@ const l8 = /* @__PURE__ */ N({
|
|
|
10531
10530
|
K.value = _.copy();
|
|
10532
10531
|
}
|
|
10533
10532
|
}), (_, L) => (T(), V(c(x8), {
|
|
10534
|
-
open: c(
|
|
10535
|
-
"onUpdate:open": L[0] || (L[0] = (z) => je(
|
|
10533
|
+
open: c(H),
|
|
10534
|
+
"onUpdate:open": L[0] || (L[0] = (z) => je(H) ? H.value = z : null),
|
|
10536
10535
|
"default-open": c(y),
|
|
10537
10536
|
modal: c(g)
|
|
10538
10537
|
}, {
|
|
@@ -18310,8 +18309,8 @@ function lv() {
|
|
|
18310
18309
|
{
|
|
18311
18310
|
ci: me().required().label("Cédula de identidad"),
|
|
18312
18311
|
nombres: me().required().label("Nombre"),
|
|
18313
|
-
paterno: me().when("materno", ([
|
|
18314
|
-
materno: me().when("paterno", ([
|
|
18312
|
+
paterno: me().when("materno", ([Q]) => Q ? me().notRequired() : me().required().label("Apellido paterno o materno")),
|
|
18313
|
+
materno: me().when("paterno", ([Q]) => Q ? me().notRequired() : me().required().label("Apellido paterno o materno")),
|
|
18315
18314
|
fechaNacimiento: V0().required().label("Fecha de nacimiento")
|
|
18316
18315
|
},
|
|
18317
18316
|
[["materno", "paterno"]]
|
|
@@ -18380,18 +18379,18 @@ function lv() {
|
|
|
18380
18379
|
h.verificadoEmail && (h.verificadoEmail = !1);
|
|
18381
18380
|
}
|
|
18382
18381
|
);
|
|
18383
|
-
const k = m(async (
|
|
18384
|
-
var
|
|
18382
|
+
const k = m(async (Q) => {
|
|
18383
|
+
var H, ee, _;
|
|
18385
18384
|
n.setLoading(!0);
|
|
18386
18385
|
const K = /* @__PURE__ */ new Date(
|
|
18387
|
-
`${
|
|
18386
|
+
`${Q.fechaNacimiento.month}-${Q.fechaNacimiento.day}-${Q.fechaNacimiento.year}`
|
|
18388
18387
|
);
|
|
18389
18388
|
try {
|
|
18390
18389
|
const L = {
|
|
18391
|
-
ci:
|
|
18392
|
-
nombres: (
|
|
18393
|
-
paterno: (ee =
|
|
18394
|
-
materno: (_ =
|
|
18390
|
+
ci: Q.ci,
|
|
18391
|
+
nombres: (H = Q.nombres) == null ? void 0 : H.trim(),
|
|
18392
|
+
paterno: (ee = Q.paterno) == null ? void 0 : ee.trim(),
|
|
18393
|
+
materno: (_ = Q.materno) == null ? void 0 : _.trim(),
|
|
18395
18394
|
fechaNacimiento: K,
|
|
18396
18395
|
aplicacion: e.aplicacion
|
|
18397
18396
|
}, z = await ov(L);
|
|
@@ -18414,8 +18413,8 @@ function lv() {
|
|
|
18414
18413
|
} finally {
|
|
18415
18414
|
n.setLoading(!1);
|
|
18416
18415
|
}
|
|
18417
|
-
}), D = async ({ medio:
|
|
18418
|
-
if (
|
|
18416
|
+
}), D = async ({ medio: Q, contacto: K }) => {
|
|
18417
|
+
if (Q === "email") {
|
|
18419
18418
|
if (!f.email) {
|
|
18420
18419
|
w("email", "Email es requerido para verificar");
|
|
18421
18420
|
return;
|
|
@@ -18423,14 +18422,14 @@ function lv() {
|
|
|
18423
18422
|
const { valid: L } = await B("email");
|
|
18424
18423
|
if (!L || h.verificadoEmail) return;
|
|
18425
18424
|
}
|
|
18426
|
-
const ee =
|
|
18425
|
+
const ee = Q === "telegram", _ = Q === "whatsapp";
|
|
18427
18426
|
if (ee || _) {
|
|
18428
18427
|
if (ee && h.verificadoTelegram || _ && h.verificadoWhatsapp) return;
|
|
18429
18428
|
const { valid: L } = await B("celular");
|
|
18430
18429
|
if (!L) return;
|
|
18431
18430
|
}
|
|
18432
18431
|
try {
|
|
18433
|
-
l.value =
|
|
18432
|
+
l.value = Q, i.value = K, U(ee), o.value = 2;
|
|
18434
18433
|
} catch (L) {
|
|
18435
18434
|
$.error(
|
|
18436
18435
|
`<p class="toast-title">Error</p><p class="toast-description">${L.message}</p>`,
|
|
@@ -18445,8 +18444,8 @@ function lv() {
|
|
|
18445
18444
|
}
|
|
18446
18445
|
}, Z = async () => {
|
|
18447
18446
|
try {
|
|
18448
|
-
const { valid:
|
|
18449
|
-
if (!
|
|
18447
|
+
const { valid: Q } = await B("codigoContacto");
|
|
18448
|
+
if (!Q)
|
|
18450
18449
|
return;
|
|
18451
18450
|
const K = await iv({
|
|
18452
18451
|
code_confirmacion: f.codigoContacto,
|
|
@@ -18463,9 +18462,9 @@ function lv() {
|
|
|
18463
18462
|
dangerouslyHTMLString: !0
|
|
18464
18463
|
}
|
|
18465
18464
|
), l.value === "email" ? h.verificadoEmail = !0 : l.value === "whatsapp" ? h.verificadoWhatsapp = !0 : l.value === "telegram" && (h.verificadoTelegram = !0), o.value = o.value - 1, p("codigoContacto", void 0), l.value = void 0, i.value = null;
|
|
18466
|
-
} catch (
|
|
18465
|
+
} catch (Q) {
|
|
18467
18466
|
$.error(
|
|
18468
|
-
`<p class="toast-title">Error</p><p class="toast-description">${
|
|
18467
|
+
`<p class="toast-title">Error</p><p class="toast-description">${Q.message}</p>`,
|
|
18469
18468
|
{
|
|
18470
18469
|
autoClose: 5e3,
|
|
18471
18470
|
hideProgressBar: !0,
|
|
@@ -18475,11 +18474,11 @@ function lv() {
|
|
|
18475
18474
|
}
|
|
18476
18475
|
);
|
|
18477
18476
|
}
|
|
18478
|
-
}, U = async (
|
|
18477
|
+
}, U = async (Q = !1) => {
|
|
18479
18478
|
u({
|
|
18480
18479
|
callbackApi: sv,
|
|
18481
18480
|
code: f.codigoRegistro,
|
|
18482
|
-
abrirTelegramDialog:
|
|
18481
|
+
abrirTelegramDialog: Q,
|
|
18483
18482
|
counterTime: 120
|
|
18484
18483
|
}), $.success(
|
|
18485
18484
|
'<p class="toast-title">Operación exitosa</p><p class="toast-description">Mensaje enviado!</p>',
|
|
@@ -18495,16 +18494,16 @@ function lv() {
|
|
|
18495
18494
|
o.value = 1, p("codigoContacto", void 0);
|
|
18496
18495
|
}, I = () => {
|
|
18497
18496
|
o.value = 0, v();
|
|
18498
|
-
}, F = m(async (
|
|
18499
|
-
var K,
|
|
18497
|
+
}, F = m(async (Q) => {
|
|
18498
|
+
var K, H;
|
|
18500
18499
|
n.setLoading(!0);
|
|
18501
18500
|
try {
|
|
18502
18501
|
const ee = /* @__PURE__ */ new Date(
|
|
18503
|
-
`${
|
|
18502
|
+
`${Q.fechaNacimiento.month}-${Q.fechaNacimiento.day}-${Q.fechaNacimiento.year}`
|
|
18504
18503
|
), _ = {
|
|
18505
|
-
...
|
|
18506
|
-
email: (K =
|
|
18507
|
-
direccion: (
|
|
18504
|
+
...Q,
|
|
18505
|
+
email: (K = Q.email) == null ? void 0 : K.trim(),
|
|
18506
|
+
direccion: (H = Q.direccion) == null ? void 0 : H.trim(),
|
|
18508
18507
|
aplicacion: e.aplicacion,
|
|
18509
18508
|
fechaNacimiento: ee
|
|
18510
18509
|
}, L = await av(_);
|
|
@@ -22214,19 +22213,19 @@ function CC(t) {
|
|
|
22214
22213
|
validationSchema: d,
|
|
22215
22214
|
keepValuesOnUnmount: !0
|
|
22216
22215
|
}), { value: B } = Vi("usuarioId"), { value: v } = Vi("esDispositivoConfianza"), p = h(async (O) => {
|
|
22217
|
-
var I, F,
|
|
22216
|
+
var I, F, Q, K;
|
|
22218
22217
|
n.setLoading(!0);
|
|
22219
22218
|
try {
|
|
22220
|
-
const
|
|
22221
|
-
e.apiBaseURLAuthNv ? ((I =
|
|
22219
|
+
const H = await e.onLogin({ ...O });
|
|
22220
|
+
e.apiBaseURLAuthNv ? ((I = H == null ? void 0 : H.data) == null ? void 0 : I.mediosVerificados.length) > 0 ? (u.value = u.value + 1, s.value = (F = H == null ? void 0 : H.data) == null ? void 0 : F.usuario, B.value = (Q = H == null ? void 0 : H.data) == null ? void 0 : Q.usuarioId, i.value = (K = H == null ? void 0 : H.data) == null ? void 0 : K.mensajeServicio, r.value = !0, pe(() => {
|
|
22222
22221
|
var ee, _;
|
|
22223
|
-
(_ = a.value) == null || _.reInit(((ee =
|
|
22224
|
-
})) : (
|
|
22222
|
+
(_ = a.value) == null || _.reInit(((ee = H == null ? void 0 : H.data) == null ? void 0 : ee.tiempoVigencia) ?? 120);
|
|
22223
|
+
})) : (r.value = !1, t("onLogin")) : H != null && H.usuarioId && (H != null && H.factor2FA) ? (u.value = u.value + 1, s.value = H.contacto, i.value = H.message, B.value = H.usuarioId, pe(() => {
|
|
22225
22224
|
var ee;
|
|
22226
|
-
(ee = a.value) == null || ee.reInit((
|
|
22225
|
+
(ee = a.value) == null || ee.reInit((H.minutos ?? 2) * 60);
|
|
22227
22226
|
})) : (r.value = !1, t("onLogin"));
|
|
22228
|
-
} catch (
|
|
22229
|
-
|
|
22227
|
+
} catch (H) {
|
|
22228
|
+
H.status === 403 && (r.value = !0), Ct({ error: H, setErrors: y }), t("onError");
|
|
22230
22229
|
} finally {
|
|
22231
22230
|
n.setLoading(!1);
|
|
22232
22231
|
}
|
|
@@ -22234,14 +22233,14 @@ function CC(t) {
|
|
|
22234
22233
|
n.setLoading(!0);
|
|
22235
22234
|
try {
|
|
22236
22235
|
await e.onAutorizarQrNv(O, I, F), r.value = !1, t("onLogin");
|
|
22237
|
-
} catch (
|
|
22238
|
-
|
|
22236
|
+
} catch (Q) {
|
|
22237
|
+
Q.status === 403 && (r.value = !0), Ct({ error: Q, setErrors: y }), t("onError");
|
|
22239
22238
|
} finally {
|
|
22240
22239
|
n.setLoading(!1);
|
|
22241
22240
|
}
|
|
22242
22241
|
}, C = h(async (O) => {
|
|
22243
22242
|
try {
|
|
22244
|
-
|
|
22243
|
+
n.setLoading(!0), e.apiBaseURLAuthNv ? (await e.on2AuthLoginNv({
|
|
22245
22244
|
otp: Number(O.code),
|
|
22246
22245
|
numeroDocumento: O.usuario,
|
|
22247
22246
|
deviceId: e.deviceId,
|
|
@@ -24667,10 +24666,10 @@ const tt = (t) => (jr("data-v-48394fdd"), t = t(), Jr(), t), mE = { class: "fge-
|
|
|
24667
24666
|
try {
|
|
24668
24667
|
const I = await s5(n.aplicacion, n.deviceId);
|
|
24669
24668
|
if (!I) throw new Error("Error al cargar QR");
|
|
24670
|
-
const { qrImage: F, expiresIn:
|
|
24669
|
+
const { qrImage: F, expiresIn: Q } = I;
|
|
24671
24670
|
o.value = `${F}`, l++, l < 5 ? setTimeout(() => {
|
|
24672
24671
|
u();
|
|
24673
|
-
},
|
|
24672
|
+
}, Q * 1e3) : A.value = !0;
|
|
24674
24673
|
} catch (I) {
|
|
24675
24674
|
console.error("Error cargando QR:", I);
|
|
24676
24675
|
} finally {
|
|
@@ -24771,11 +24770,11 @@ const tt = (t) => (jr("data-v-48394fdd"), t = t(), Jr(), t), mE = { class: "fge-
|
|
|
24771
24770
|
b("div", FE, [
|
|
24772
24771
|
LE,
|
|
24773
24772
|
E(c(Be), { name: "password" }, {
|
|
24774
|
-
default: S(({ field:
|
|
24775
|
-
E(Nn, X({ id: "psw" },
|
|
24773
|
+
default: S(({ field: Q }) => [
|
|
24774
|
+
E(Nn, X({ id: "psw" }, Q, {
|
|
24776
24775
|
class: "fge-auth-input with-btn",
|
|
24777
24776
|
onKeyup: Rt(c(C), ["enter"]),
|
|
24778
|
-
modelValue:
|
|
24777
|
+
modelValue: Q.value
|
|
24779
24778
|
}), null, 16, ["onKeyup", "modelValue"])
|
|
24780
24779
|
]),
|
|
24781
24780
|
_: 1
|
|
@@ -24796,20 +24795,20 @@ const tt = (t) => (jr("data-v-48394fdd"), t = t(), Jr(), t), mE = { class: "fge-
|
|
|
24796
24795
|
title: "Iniciar sesión",
|
|
24797
24796
|
class: "fge-auth-primary-button w-full",
|
|
24798
24797
|
onClick: F[1] || (F[1] = //@ts-ignore
|
|
24799
|
-
(...
|
|
24798
|
+
(...Q) => c(C) && c(C)(...Q))
|
|
24800
24799
|
}, QE),
|
|
24801
24800
|
b("div", HE, [
|
|
24802
24801
|
b("button", {
|
|
24803
24802
|
class: "fge-link-secondary-button",
|
|
24804
24803
|
title: "Recuperar contraseña",
|
|
24805
24804
|
onClick: F[2] || (F[2] = //@ts-ignore
|
|
24806
|
-
(...
|
|
24805
|
+
(...Q) => c(n).goRecuperarCont && c(n).goRecuperarCont(...Q))
|
|
24807
24806
|
}, KE),
|
|
24808
24807
|
b("button", {
|
|
24809
24808
|
class: "fge-link-primary-button",
|
|
24810
24809
|
title: "Registrarse",
|
|
24811
24810
|
onClick: F[3] || (F[3] = //@ts-ignore
|
|
24812
|
-
(...
|
|
24811
|
+
(...Q) => c(n).goRegistrarPage && c(n).goRegistrarPage(...Q))
|
|
24813
24812
|
}, jE)
|
|
24814
24813
|
]),
|
|
24815
24814
|
c(n).apiBaseURLAuthNv ? le("", !0) : (T(), j("div", JE, WE)),
|
|
@@ -24817,7 +24816,7 @@ const tt = (t) => (jr("data-v-48394fdd"), t = t(), Jr(), t), mE = { class: "fge-
|
|
|
24817
24816
|
title: "Iniciar sesión con ciudadanía digital",
|
|
24818
24817
|
class: "fge-green-button",
|
|
24819
24818
|
onClick: F[4] || (F[4] = //@ts-ignore
|
|
24820
|
-
(...
|
|
24819
|
+
(...Q) => c(O) && c(O)(...Q))
|
|
24821
24820
|
}, $E)
|
|
24822
24821
|
])
|
|
24823
24822
|
]),
|
|
@@ -24830,7 +24829,7 @@ const tt = (t) => (jr("data-v-48394fdd"), t = t(), Jr(), t), mE = { class: "fge-
|
|
|
24830
24829
|
aceptarFunction: c(k),
|
|
24831
24830
|
"reenviar-mensaje": c(U),
|
|
24832
24831
|
refCounter: c(y),
|
|
24833
|
-
"onUpdate:refCounter": F[6] || (F[6] = (
|
|
24832
|
+
"onUpdate:refCounter": F[6] || (F[6] = (Q) => je(y) ? y.value = Q : null)
|
|
24834
24833
|
}, {
|
|
24835
24834
|
inputs: S(() => [
|
|
24836
24835
|
b("div", GE, [
|
|
@@ -24839,7 +24838,7 @@ const tt = (t) => (jr("data-v-48394fdd"), t = t(), Jr(), t), mE = { class: "fge-
|
|
|
24839
24838
|
E(c(o7), {
|
|
24840
24839
|
class: "checkbox-box",
|
|
24841
24840
|
checked: c(m),
|
|
24842
|
-
"onUpdate:checked": F[5] || (F[5] = (
|
|
24841
|
+
"onUpdate:checked": F[5] || (F[5] = (Q) => je(m) ? m.value = Q : null)
|
|
24843
24842
|
}, {
|
|
24844
24843
|
default: S(() => [
|
|
24845
24844
|
E(c(a7), null, {
|
|
@@ -25591,7 +25590,7 @@ function ec() {
|
|
|
25591
25590
|
} finally {
|
|
25592
25591
|
f.value = !1;
|
|
25593
25592
|
}
|
|
25594
|
-
}),
|
|
25593
|
+
}), Q = () => {
|
|
25595
25594
|
var W;
|
|
25596
25595
|
(W = h.value) == null || W.click();
|
|
25597
25596
|
}, K = async (W) => {
|
|
@@ -25625,7 +25624,7 @@ function ec() {
|
|
|
25625
25624
|
return;
|
|
25626
25625
|
}
|
|
25627
25626
|
o.value = !0, h.value.value = null;
|
|
25628
|
-
},
|
|
25627
|
+
}, H = async () => {
|
|
25629
25628
|
var W;
|
|
25630
25629
|
try {
|
|
25631
25630
|
f.value = !0;
|
|
@@ -25718,7 +25717,7 @@ function ec() {
|
|
|
25718
25717
|
inputImageRef: h,
|
|
25719
25718
|
openTelegram: A,
|
|
25720
25719
|
openTelegramPage: d,
|
|
25721
|
-
onOpenInputFile:
|
|
25720
|
+
onOpenInputFile: Q,
|
|
25722
25721
|
onActualizarDatos: Z,
|
|
25723
25722
|
onEnviarMensaje: I,
|
|
25724
25723
|
onEnviarCodigoAlBackend: U,
|
|
@@ -25733,7 +25732,7 @@ function ec() {
|
|
|
25733
25732
|
onVerifyMediosHabilitados2Fa: ee,
|
|
25734
25733
|
onCambiarPasswordPerfil: F,
|
|
25735
25734
|
onCambiarImagenPerfil: K,
|
|
25736
|
-
onAcceptImageUpdateClick:
|
|
25735
|
+
onAcceptImageUpdateClick: H
|
|
25737
25736
|
};
|
|
25738
25737
|
}
|
|
25739
25738
|
const IS = {
|
|
@@ -26017,7 +26016,7 @@ const NS = { render: PS }, RS = /* @__PURE__ */ b("button", { class: "auth-hide-
|
|
|
26017
26016
|
goEnable2FA: I,
|
|
26018
26017
|
onAcceptImageUpdateClick: F
|
|
26019
26018
|
} = ec();
|
|
26020
|
-
return e({ cambiarPass: Z, goToActiveMediosStep: U }), (
|
|
26019
|
+
return e({ cambiarPass: Z, goToActiveMediosStep: U }), (Q, K) => (T(), j(Ie, null, [
|
|
26021
26020
|
c(h) ? (T(), V(k0, { key: 0 })) : le("", !0),
|
|
26022
26021
|
b("div", rO, [
|
|
26023
26022
|
b("div", oO, [
|
|
@@ -26029,7 +26028,7 @@ const NS = { render: PS }, RS = /* @__PURE__ */ b("button", { class: "auth-hide-
|
|
|
26029
26028
|
c(l) === 0 && c(oS)(c(rS)) ? (T(), j(Ie, { key: 0 }, [
|
|
26030
26029
|
b("button", {
|
|
26031
26030
|
onClick: K[0] || (K[0] = //@ts-ignore
|
|
26032
|
-
(...
|
|
26031
|
+
(...H) => c(D) && c(D)(...H)),
|
|
26033
26032
|
class: "fge-auth-camera-file-button"
|
|
26034
26033
|
}, [
|
|
26035
26034
|
E(c(NS))
|
|
@@ -26041,7 +26040,7 @@ const NS = { render: PS }, RS = /* @__PURE__ */ b("button", { class: "auth-hide-
|
|
|
26041
26040
|
ref: f,
|
|
26042
26041
|
class: "input-hidden",
|
|
26043
26042
|
onChange: K[1] || (K[1] = //@ts-ignore
|
|
26044
|
-
(...
|
|
26043
|
+
(...H) => c(k) && c(k)(...H))
|
|
26045
26044
|
}, null, 544)
|
|
26046
26045
|
], 64)) : le("", !0)
|
|
26047
26046
|
]),
|
|
@@ -26073,7 +26072,7 @@ const NS = { render: PS }, RS = /* @__PURE__ */ b("button", { class: "auth-hide-
|
|
|
26073
26072
|
E(c(On), {
|
|
26074
26073
|
class: "btn-only-icon absolute-2",
|
|
26075
26074
|
title: c(s).verificadoWhatsapp ? "Verificado" : "Verificar whatsapp",
|
|
26076
|
-
onClick: K[2] || (K[2] = (
|
|
26075
|
+
onClick: K[2] || (K[2] = (H) => c(C)({ medio: "whatsapp", contacto: c(a).celular }))
|
|
26077
26076
|
}, {
|
|
26078
26077
|
default: S(() => [
|
|
26079
26078
|
E(c(N3), {
|
|
@@ -26116,7 +26115,7 @@ const NS = { render: PS }, RS = /* @__PURE__ */ b("button", { class: "auth-hide-
|
|
|
26116
26115
|
E(c(On), {
|
|
26117
26116
|
title: c(s).verificadoTelegram ? "Verificado" : "Verificar telegram",
|
|
26118
26117
|
class: "btn-only-icon absolute",
|
|
26119
|
-
onClick: K[3] || (K[3] = (
|
|
26118
|
+
onClick: K[3] || (K[3] = (H) => c(C)({ medio: "telegram", contacto: c(a).celular }))
|
|
26120
26119
|
}, {
|
|
26121
26120
|
default: S(() => [
|
|
26122
26121
|
E(c(Sl), {
|
|
@@ -26175,7 +26174,7 @@ const NS = { render: PS }, RS = /* @__PURE__ */ b("button", { class: "auth-hide-
|
|
|
26175
26174
|
E(c(On), {
|
|
26176
26175
|
title: c(s).verificadoEmail ? "Verificado" : "Verificar",
|
|
26177
26176
|
class: "btn-only-icon absolute",
|
|
26178
|
-
onClick: K[4] || (K[4] = (
|
|
26177
|
+
onClick: K[4] || (K[4] = (H) => c(C)({ medio: "email", contacto: c(a).email }))
|
|
26179
26178
|
}, {
|
|
26180
26179
|
default: S(() => [
|
|
26181
26180
|
E(c(Bl), {
|
|
@@ -26233,9 +26232,9 @@ const NS = { render: PS }, RS = /* @__PURE__ */ b("button", { class: "auth-hide-
|
|
|
26233
26232
|
hO,
|
|
26234
26233
|
b("div", pO, [
|
|
26235
26234
|
E(c(Be), { name: "medio" }, {
|
|
26236
|
-
default: S(({ field:
|
|
26237
|
-
E(c(C2), X(
|
|
26238
|
-
"model-value":
|
|
26235
|
+
default: S(({ field: H }) => [
|
|
26236
|
+
E(c(C2), X(H, {
|
|
26237
|
+
"model-value": H.value,
|
|
26239
26238
|
class: "auth-radio-group-container"
|
|
26240
26239
|
}), {
|
|
26241
26240
|
default: S(() => [
|
|
@@ -26296,15 +26295,15 @@ const NS = { render: PS }, RS = /* @__PURE__ */ b("button", { class: "auth-hide-
|
|
|
26296
26295
|
b("button", {
|
|
26297
26296
|
title: "Cerrar perfil",
|
|
26298
26297
|
onClick: K[5] || (K[5] = () => {
|
|
26299
|
-
var
|
|
26300
|
-
return (
|
|
26298
|
+
var H;
|
|
26299
|
+
return (H = t.onCloseBtn) == null ? void 0 : H.call(t);
|
|
26301
26300
|
}),
|
|
26302
26301
|
class: "fge-gray-button w-full"
|
|
26303
26302
|
}, SO),
|
|
26304
26303
|
b("button", {
|
|
26305
26304
|
title: "Guardar cambios",
|
|
26306
26305
|
onClick: K[6] || (K[6] = //@ts-ignore
|
|
26307
|
-
(...
|
|
26306
|
+
(...H) => c(v) && c(v)(...H)),
|
|
26308
26307
|
class: "w-full fge-auth-primary-button"
|
|
26309
26308
|
}, DO)
|
|
26310
26309
|
])
|
|
@@ -26313,7 +26312,7 @@ const NS = { render: PS }, RS = /* @__PURE__ */ b("button", { class: "auth-hide-
|
|
|
26313
26312
|
E(Zs, {
|
|
26314
26313
|
fieldName: "codigo",
|
|
26315
26314
|
refCounter: c(d),
|
|
26316
|
-
"onUpdate:refCounter": K[7] || (K[7] = (
|
|
26315
|
+
"onUpdate:refCounter": K[7] || (K[7] = (H) => je(d) ? d.value = H : null),
|
|
26317
26316
|
error: c(u).codigo,
|
|
26318
26317
|
currentContacto: c(i),
|
|
26319
26318
|
cancelarFunction: c(n).forzarActivar2FA ? c(U) : c(O),
|
|
@@ -26326,10 +26325,10 @@ const NS = { render: PS }, RS = /* @__PURE__ */ b("button", { class: "auth-hide-
|
|
|
26326
26325
|
b("div", TO, [
|
|
26327
26326
|
IO,
|
|
26328
26327
|
E(c(Be), { name: "oldPassword" }, {
|
|
26329
|
-
default: S(({ field:
|
|
26330
|
-
E(Nn, X({ id: "oldPassword" },
|
|
26328
|
+
default: S(({ field: H }) => [
|
|
26329
|
+
E(Nn, X({ id: "oldPassword" }, H, {
|
|
26331
26330
|
class: "fge-auth-input with-btn",
|
|
26332
|
-
modelValue:
|
|
26331
|
+
modelValue: H.value
|
|
26333
26332
|
}), null, 16, ["modelValue"])
|
|
26334
26333
|
]),
|
|
26335
26334
|
_: 1
|
|
@@ -26341,10 +26340,10 @@ const NS = { render: PS }, RS = /* @__PURE__ */ b("button", { class: "auth-hide-
|
|
|
26341
26340
|
b("div", MO, [
|
|
26342
26341
|
xO,
|
|
26343
26342
|
E(c(Be), { name: "newPassword" }, {
|
|
26344
|
-
default: S(({ field:
|
|
26345
|
-
E(Nn, X({ id: "new-ps" },
|
|
26343
|
+
default: S(({ field: H }) => [
|
|
26344
|
+
E(Nn, X({ id: "new-ps" }, H, {
|
|
26346
26345
|
class: "fge-auth-input with-btn",
|
|
26347
|
-
modelValue:
|
|
26346
|
+
modelValue: H.value,
|
|
26348
26347
|
"error-classes": "fge-auth-input-invalid"
|
|
26349
26348
|
}), null, 16, ["modelValue"])
|
|
26350
26349
|
]),
|
|
@@ -26357,10 +26356,10 @@ const NS = { render: PS }, RS = /* @__PURE__ */ b("button", { class: "auth-hide-
|
|
|
26357
26356
|
b("div", PO, [
|
|
26358
26357
|
NO,
|
|
26359
26358
|
E(c(Be), { name: "repetirPassword" }, {
|
|
26360
|
-
default: S(({ field:
|
|
26361
|
-
E(Nn, X({ id: "fge_contra_rep" },
|
|
26359
|
+
default: S(({ field: H }) => [
|
|
26360
|
+
E(Nn, X({ id: "fge_contra_rep" }, H, {
|
|
26362
26361
|
class: "fge-auth-input with-btn",
|
|
26363
|
-
modelValue:
|
|
26362
|
+
modelValue: H.value,
|
|
26364
26363
|
"error-classes": "fge-auth-input-invalid"
|
|
26365
26364
|
}), null, 16, ["modelValue"])
|
|
26366
26365
|
]),
|
|
@@ -26376,13 +26375,13 @@ const NS = { render: PS }, RS = /* @__PURE__ */ b("button", { class: "auth-hide-
|
|
|
26376
26375
|
key: 0,
|
|
26377
26376
|
title: "Cancelar",
|
|
26378
26377
|
onClick: K[8] || (K[8] = //@ts-ignore
|
|
26379
|
-
(...
|
|
26378
|
+
(...H) => c(O) && c(O)(...H)),
|
|
26380
26379
|
class: "fge-gray-button w-full"
|
|
26381
26380
|
}, LO)),
|
|
26382
26381
|
b("button", {
|
|
26383
26382
|
title: "Aceptar",
|
|
26384
26383
|
onClick: K[9] || (K[9] = //@ts-ignore
|
|
26385
|
-
(...
|
|
26384
|
+
(...H) => c(B) && c(B)(...H)),
|
|
26386
26385
|
class: "w-full fge-auth-primary-button"
|
|
26387
26386
|
}, VO)
|
|
26388
26387
|
])
|
|
@@ -26408,7 +26407,7 @@ const NS = { render: PS }, RS = /* @__PURE__ */ b("button", { class: "auth-hide-
|
|
|
26408
26407
|
E(c(On), {
|
|
26409
26408
|
title: c(s).verificadoTelegram ? "Verificado" : "Verificar telegram",
|
|
26410
26409
|
class: "btn-only-icon absolute",
|
|
26411
|
-
onClick: K[10] || (K[10] = (
|
|
26410
|
+
onClick: K[10] || (K[10] = (H) => c(C)({ medio: "telegram", contacto: c(a).celular }))
|
|
26412
26411
|
}, {
|
|
26413
26412
|
default: S(() => [
|
|
26414
26413
|
E(c(Sl), {
|
|
@@ -26451,7 +26450,7 @@ const NS = { render: PS }, RS = /* @__PURE__ */ b("button", { class: "auth-hide-
|
|
|
26451
26450
|
c(s).verificadoTelegram ? le("", !0) : (T(), j("button", {
|
|
26452
26451
|
key: 0,
|
|
26453
26452
|
class: "fge-auth-primary-button w-full mt-3",
|
|
26454
|
-
onClick: K[11] || (K[11] = (
|
|
26453
|
+
onClick: K[11] || (K[11] = (H) => c(C)({ medio: "telegram", contacto: c(a).celular }))
|
|
26455
26454
|
}, " validar Telegram "))
|
|
26456
26455
|
]),
|
|
26457
26456
|
b("div", qO, [
|
|
@@ -26472,7 +26471,7 @@ const NS = { render: PS }, RS = /* @__PURE__ */ b("button", { class: "auth-hide-
|
|
|
26472
26471
|
E(c(On), {
|
|
26473
26472
|
title: c(s).verificadoEmail ? "Verificado" : "Verificar",
|
|
26474
26473
|
class: "btn-only-icon absolute",
|
|
26475
|
-
onClick: K[12] || (K[12] = (
|
|
26474
|
+
onClick: K[12] || (K[12] = (H) => c(C)({ medio: "email", contacto: c(a).email }))
|
|
26476
26475
|
}, {
|
|
26477
26476
|
default: S(() => [
|
|
26478
26477
|
E(c(Bl), {
|
|
@@ -26515,7 +26514,7 @@ const NS = { render: PS }, RS = /* @__PURE__ */ b("button", { class: "auth-hide-
|
|
|
26515
26514
|
c(s).verificadoEmail ? le("", !0) : (T(), j("button", {
|
|
26516
26515
|
key: 0,
|
|
26517
26516
|
class: "fge-auth-primary-button w-full mt-3",
|
|
26518
|
-
onClick: K[13] || (K[13] = (
|
|
26517
|
+
onClick: K[13] || (K[13] = (H) => c(C)({ medio: "email", contacto: c(a).email }))
|
|
26519
26518
|
}, " validar correo electrónico "))
|
|
26520
26519
|
]),
|
|
26521
26520
|
jO,
|
|
@@ -26532,12 +26531,12 @@ const NS = { render: PS }, RS = /* @__PURE__ */ b("button", { class: "auth-hide-
|
|
|
26532
26531
|
]),
|
|
26533
26532
|
E(QS, {
|
|
26534
26533
|
open: c(m),
|
|
26535
|
-
"onUpdate:open": K[14] || (K[14] = (
|
|
26534
|
+
"onUpdate:open": K[14] || (K[14] = (H) => je(m) ? m.value = H : null),
|
|
26536
26535
|
openClick: c(F)
|
|
26537
26536
|
}, null, 8, ["open", "openClick"]),
|
|
26538
26537
|
E(R3, {
|
|
26539
26538
|
open: c(y),
|
|
26540
|
-
"onUpdate:open": K[15] || (K[15] = (
|
|
26539
|
+
"onUpdate:open": K[15] || (K[15] = (H) => je(y) ? y.value = H : null),
|
|
26541
26540
|
openClick: c(g)
|
|
26542
26541
|
}, null, 8, ["open", "openClick"])
|
|
26543
26542
|
], 64));
|