fge-auth-component 3.0.7 → 3.0.8
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/components/FgeButtonCounter.vue.d.ts.map +1 -1
- package/dist/components/FgeEnviarCodigo.vue.d.ts.map +1 -1
- package/dist/components/FgeErrorMessage.vue.d.ts.map +1 -1
- package/dist/components/FgeFooter.vue.d.ts.map +1 -1
- package/dist/components/FgeHeader.vue.d.ts.map +1 -1
- package/dist/components/FgeLoadingComponent.vue.d.ts.map +1 -1
- package/dist/components/FgeLogin.vue.d.ts.map +1 -1
- package/dist/components/FgeMenuItems.vue.d.ts.map +1 -1
- package/dist/components/FgePassword.vue.d.ts.map +1 -1
- package/dist/components/FgePerfil.vue.d.ts.map +1 -1
- package/dist/components/FgePerfilHeader.vue.d.ts.map +1 -1
- package/dist/components/FgePerfilSidebar.vue.d.ts.map +1 -1
- package/dist/components/FgeRecuperarPassword.vue.d.ts.map +1 -1
- package/dist/components/FgeRegistrarPage.vue.d.ts.map +1 -1
- package/dist/components/FgeStepComponent.vue.d.ts.map +1 -1
- package/dist/components/PasswordDialog.vue.d.ts.map +1 -1
- package/dist/components/PrincipalLoginComp.vue.d.ts.map +1 -1
- package/dist/components/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/TelegramDialog.vue.d.ts.map +1 -1
- package/dist/components/UpdateImageDialog.vue.d.ts.map +1 -1
- package/dist/components/svgIcons/CheckMarkIcon.vue.d.ts.map +1 -1
- package/dist/components/svgIcons/DefaultUserIcon.vue.d.ts.map +1 -1
- package/dist/components/svgIcons/ErrorIcon.vue.d.ts.map +1 -1
- package/dist/components/svgIcons/ExclamationIcon.vue.d.ts.map +1 -1
- package/dist/components/svgIcons/LoaderIcon.vue.d.ts.map +1 -1
- package/dist/fge-auth-component.es.js +145 -142
- package/dist/fge-auth-component.umd.js +4 -4
- package/package.json +1 -1
|
@@ -769,8 +769,8 @@ function Vs(e, t, n = {}, o, r, a) {
|
|
|
769
769
|
}
|
|
770
770
|
const p = a ? function() {
|
|
771
771
|
const { state: S } = n, T = S ? S() : {};
|
|
772
|
-
this.$patch((
|
|
773
|
-
rt(
|
|
772
|
+
this.$patch((j) => {
|
|
773
|
+
rt(j, T);
|
|
774
774
|
});
|
|
775
775
|
} : (
|
|
776
776
|
/* istanbul ignore next */
|
|
@@ -784,9 +784,9 @@ function Vs(e, t, n = {}, o, r, a) {
|
|
|
784
784
|
function w(D, S) {
|
|
785
785
|
return function() {
|
|
786
786
|
Ho(o);
|
|
787
|
-
const T = Array.from(arguments),
|
|
787
|
+
const T = Array.from(arguments), j = [], H = [];
|
|
788
788
|
function re(Y) {
|
|
789
|
-
|
|
789
|
+
j.push(Y);
|
|
790
790
|
}
|
|
791
791
|
function te(Y) {
|
|
792
792
|
H.push(Y);
|
|
@@ -804,7 +804,7 @@ function Vs(e, t, n = {}, o, r, a) {
|
|
|
804
804
|
} catch (Y) {
|
|
805
805
|
throw Hn(H, Y), Y;
|
|
806
806
|
}
|
|
807
|
-
return J instanceof Promise ? J.then((Y) => (Hn(
|
|
807
|
+
return J instanceof Promise ? J.then((Y) => (Hn(j, Y), Y)).catch((Y) => (Hn(H, Y), Promise.reject(Y))) : (Hn(j, J), J);
|
|
808
808
|
};
|
|
809
809
|
}
|
|
810
810
|
const C = /* @__PURE__ */ Mt({
|
|
@@ -820,7 +820,7 @@ function Vs(e, t, n = {}, o, r, a) {
|
|
|
820
820
|
$patch: E,
|
|
821
821
|
$reset: p,
|
|
822
822
|
$subscribe(D, S = {}) {
|
|
823
|
-
const T = Yi(f, D, S.detached, () =>
|
|
823
|
+
const T = Yi(f, D, S.detached, () => j()), j = s.run(() => se(() => o.state.value[e], (H) => {
|
|
824
824
|
(S.flush === "sync" ? d : c) && D({
|
|
825
825
|
storeId: e,
|
|
826
826
|
type: St.direct,
|
|
@@ -868,8 +868,8 @@ function Vs(e, t, n = {}, o, r, a) {
|
|
|
868
868
|
}), process.env.NODE_ENV !== "production" && (O._hotUpdate = Mt((D) => {
|
|
869
869
|
O._hotUpdating = !0, D._hmrPayload.state.forEach((S) => {
|
|
870
870
|
if (S in O.$state) {
|
|
871
|
-
const T = D.$state[S],
|
|
872
|
-
typeof T == "object" && Rn(T) && Rn(
|
|
871
|
+
const T = D.$state[S], j = O.$state[S];
|
|
872
|
+
typeof T == "object" && Rn(T) && Rn(j) ? Jc(T, j) : D.$state[S] = j;
|
|
873
873
|
}
|
|
874
874
|
pr(O, S, Tr(D.$state, S));
|
|
875
875
|
}), Object.keys(O.$state).forEach((S) => {
|
|
@@ -882,11 +882,11 @@ function Vs(e, t, n = {}, o, r, a) {
|
|
|
882
882
|
pr(O, S, w(S, T));
|
|
883
883
|
}
|
|
884
884
|
for (const S in D._hmrPayload.getters) {
|
|
885
|
-
const T = D._hmrPayload.getters[S],
|
|
885
|
+
const T = D._hmrPayload.getters[S], j = a ? (
|
|
886
886
|
// special handling of options api
|
|
887
887
|
P(() => (Ho(o), T.call(O, O)))
|
|
888
888
|
) : T;
|
|
889
|
-
pr(O, S,
|
|
889
|
+
pr(O, S, j);
|
|
890
890
|
}
|
|
891
891
|
Object.keys(O._hmrPayload.getters).forEach((S) => {
|
|
892
892
|
S in D._hmrPayload.getters || _a(O, S);
|
|
@@ -2861,11 +2861,11 @@ const _4 = async (e) => Re.post("v1/auth/login", e).then((t) => t).catch((t) =>
|
|
|
2861
2861
|
newRrhhUrl: D,
|
|
2862
2862
|
verificarSiFuncionario: S,
|
|
2863
2863
|
telegramBot: T,
|
|
2864
|
-
systemVersion:
|
|
2864
|
+
systemVersion: j,
|
|
2865
2865
|
enableChangePasswordMsg: H,
|
|
2866
2866
|
enableForceChangePassword: re
|
|
2867
2867
|
}) => {
|
|
2868
|
-
r.value = R, a.value = N, i.value = D, l.value = S || !1, s.value = T, c.value =
|
|
2868
|
+
r.value = R, a.value = N, i.value = D, l.value = S || !1, s.value = T, c.value = j || "0.0.1", d.value = !!H, f.value = !!re;
|
|
2869
2869
|
},
|
|
2870
2870
|
setDispositivoConfianzaCookie: w,
|
|
2871
2871
|
clearUserData: p,
|
|
@@ -4120,7 +4120,7 @@ const W5 = (e) => ({
|
|
|
4120
4120
|
}, h = K1(r), g = L1(h), y = await s.getDimensions(c), v = h === "y", E = v ? "top" : "left", p = v ? "bottom" : "right", A = v ? "clientHeight" : "clientWidth", w = a.reference[g] + a.reference[h] - m[h] - a.floating[g], C = m[h] - a.reference[h], M = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(c));
|
|
4121
4121
|
let O = M ? M[A] : 0;
|
|
4122
4122
|
(!O || !await (s.isElement == null ? void 0 : s.isElement(M))) && (O = i.floating[A] || a.floating[g]);
|
|
4123
|
-
const R = w / 2 - C / 2, N = O / 2 - y[g] / 2 - 1, D = Qt(f[E], N), S = Qt(f[p], N), T = D,
|
|
4123
|
+
const R = w / 2 - C / 2, N = O / 2 - y[g] / 2 - 1, D = Qt(f[E], N), S = Qt(f[p], N), T = D, j = O - y[g] - S, H = O / 2 - y[g] / 2 + R, re = _s(T, H, j), te = !l.arrow && Oo(r) != null && H !== re && a.reference[g] / 2 - (H < T ? D : S) - y[g] / 2 < 0, J = te ? H < T ? H - T : H - j : 0;
|
|
4124
4124
|
return {
|
|
4125
4125
|
[h]: m[h] + J,
|
|
4126
4126
|
data: {
|
|
@@ -4185,8 +4185,8 @@ const W5 = (e) => ({
|
|
|
4185
4185
|
if (!te)
|
|
4186
4186
|
switch (h) {
|
|
4187
4187
|
case "bestFit": {
|
|
4188
|
-
var
|
|
4189
|
-
const J = (
|
|
4188
|
+
var j;
|
|
4189
|
+
const J = (j = D.filter((Y) => {
|
|
4190
4190
|
if (M) {
|
|
4191
4191
|
const ue = mn(Y.placement);
|
|
4192
4192
|
return ue === p || // Create a bias to the `y` side axis due to horizontal
|
|
@@ -4194,7 +4194,7 @@ const W5 = (e) => ({
|
|
|
4194
4194
|
ue === "y";
|
|
4195
4195
|
}
|
|
4196
4196
|
return !0;
|
|
4197
|
-
}).map((Y) => [Y.placement, Y.overflows.filter((ue) => ue > 0).reduce((ue, L) => ue + L, 0)]).sort((Y, ue) => Y[1] - ue[1])[0]) == null ? void 0 :
|
|
4197
|
+
}).map((Y) => [Y.placement, Y.overflows.filter((ue) => ue > 0).reduce((ue, L) => ue + L, 0)]).sort((Y, ue) => Y[1] - ue[1])[0]) == null ? void 0 : j[0];
|
|
4198
4198
|
J && (te = J);
|
|
4199
4199
|
break;
|
|
4200
4200
|
}
|
|
@@ -7277,12 +7277,12 @@ const u6 = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
|
|
|
7277
7277
|
}), T = $1({
|
|
7278
7278
|
defaultPlaceholder: n.placeholder,
|
|
7279
7279
|
defaultValue: S.value
|
|
7280
|
-
}),
|
|
7280
|
+
}), j = je(n, "placeholder", o, {
|
|
7281
7281
|
defaultValue: n.defaultPlaceholder ?? T.copy(),
|
|
7282
7282
|
passive: n.placeholder === void 0
|
|
7283
7283
|
});
|
|
7284
7284
|
function H(ve) {
|
|
7285
|
-
|
|
7285
|
+
j.value = ve.copy();
|
|
7286
7286
|
}
|
|
7287
7287
|
const {
|
|
7288
7288
|
fullCalendarLabel: re,
|
|
@@ -7299,7 +7299,7 @@ const u6 = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
|
|
|
7299
7299
|
grid: Un
|
|
7300
7300
|
} = c6({
|
|
7301
7301
|
locale: r,
|
|
7302
|
-
placeholder:
|
|
7302
|
+
placeholder: j,
|
|
7303
7303
|
weekStartsOn: c,
|
|
7304
7304
|
fixedWeeks: f,
|
|
7305
7305
|
numberOfMonths: y,
|
|
@@ -7324,9 +7324,9 @@ const u6 = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
|
|
|
7324
7324
|
se(S, (ve) => {
|
|
7325
7325
|
if (Array.isArray(ve) && ve.length) {
|
|
7326
7326
|
const Tt = ve[ve.length - 1];
|
|
7327
|
-
Tt && !Yt(
|
|
7327
|
+
Tt && !Yt(j.value, Tt) && H(Tt);
|
|
7328
7328
|
} else
|
|
7329
|
-
!Array.isArray(ve) && ve && !Yt(
|
|
7329
|
+
!Array.isArray(ve) && ve && !Yt(j.value, ve) && H(ve);
|
|
7330
7330
|
});
|
|
7331
7331
|
function Dd(ve) {
|
|
7332
7332
|
if (m.value) {
|
|
@@ -7340,7 +7340,7 @@ const u6 = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
|
|
|
7340
7340
|
else if (!v.value) {
|
|
7341
7341
|
const Tt = S.value.filter((Xa) => !Zn(Xa, ve));
|
|
7342
7342
|
if (!Tt.length) {
|
|
7343
|
-
|
|
7343
|
+
j.value = ve.copy(), S.value = void 0;
|
|
7344
7344
|
return;
|
|
7345
7345
|
}
|
|
7346
7346
|
S.value = Tt.map((Xa) => Xa.copy());
|
|
@@ -7351,7 +7351,7 @@ const u6 = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
|
|
|
7351
7351
|
S.value = ve.copy();
|
|
7352
7352
|
return;
|
|
7353
7353
|
}
|
|
7354
|
-
!v.value && Yt(S.value, ve) ? (
|
|
7354
|
+
!v.value && Yt(S.value, ve) ? (j.value = ve.copy(), S.value = void 0) : S.value = ve.copy();
|
|
7355
7355
|
}
|
|
7356
7356
|
}
|
|
7357
7357
|
return ye(() => {
|
|
@@ -7363,7 +7363,7 @@ const u6 = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
|
|
|
7363
7363
|
locale: r,
|
|
7364
7364
|
formatter: dt,
|
|
7365
7365
|
modelValue: S,
|
|
7366
|
-
placeholder:
|
|
7366
|
+
placeholder: j,
|
|
7367
7367
|
disabled: a,
|
|
7368
7368
|
initialFocus: i,
|
|
7369
7369
|
pagedNavigation: l,
|
|
@@ -7400,7 +7400,7 @@ const u6 = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
|
|
|
7400
7400
|
}, {
|
|
7401
7401
|
default: B(() => [
|
|
7402
7402
|
V(ve.$slots, "default", {
|
|
7403
|
-
date: u(
|
|
7403
|
+
date: u(j),
|
|
7404
7404
|
grid: u(Un),
|
|
7405
7405
|
weekDays: u(oe),
|
|
7406
7406
|
weekStartsOn: u(c),
|
|
@@ -7940,14 +7940,14 @@ const h2 = {
|
|
|
7940
7940
|
}),
|
|
7941
7941
|
I7({
|
|
7942
7942
|
...g.value,
|
|
7943
|
-
apply: ({ elements: D, rects: S, availableWidth: T, availableHeight:
|
|
7943
|
+
apply: ({ elements: D, rects: S, availableWidth: T, availableHeight: j }) => {
|
|
7944
7944
|
const { width: H, height: re } = S.reference, te = D.floating.style;
|
|
7945
7945
|
te.setProperty(
|
|
7946
7946
|
"--radix-popper-available-width",
|
|
7947
7947
|
`${T}px`
|
|
7948
7948
|
), te.setProperty(
|
|
7949
7949
|
"--radix-popper-available-height",
|
|
7950
|
-
`${
|
|
7950
|
+
`${j}px`
|
|
7951
7951
|
), te.setProperty(
|
|
7952
7952
|
"--radix-popper-anchor-width",
|
|
7953
7953
|
`${H}px`
|
|
@@ -8005,7 +8005,7 @@ const h2 = {
|
|
|
8005
8005
|
arrowY: N,
|
|
8006
8006
|
shouldHideArrow: M
|
|
8007
8007
|
}), (D, S) => {
|
|
8008
|
-
var T,
|
|
8008
|
+
var T, j, H;
|
|
8009
8009
|
return Q(), G("div", {
|
|
8010
8010
|
ref_key: "floatingRef",
|
|
8011
8011
|
ref: i,
|
|
@@ -8018,7 +8018,7 @@ const h2 = {
|
|
|
8018
8018
|
zIndex: O.value,
|
|
8019
8019
|
"--radix-popper-transform-origin": [
|
|
8020
8020
|
(T = u(A).transformOrigin) == null ? void 0 : T.x,
|
|
8021
|
-
(
|
|
8021
|
+
(j = u(A).transformOrigin) == null ? void 0 : j.y
|
|
8022
8022
|
].join(" "),
|
|
8023
8023
|
// hide the content if using the hide middleware and should be hidden
|
|
8024
8024
|
// set visibility to hidden and disable pointer events so the UI behaves
|
|
@@ -8493,7 +8493,7 @@ const [t9, n9] = Me("RovingFocusGroup"), v2 = /* @__PURE__ */ z({
|
|
|
8493
8493
|
function O(D) {
|
|
8494
8494
|
if (D.defaultPrevented)
|
|
8495
8495
|
return;
|
|
8496
|
-
const S = D.target.closest("[data-radix-menu-content]") === D.currentTarget, T = D.ctrlKey || D.altKey || D.metaKey,
|
|
8496
|
+
const S = D.target.closest("[data-radix-menu-content]") === D.currentTarget, T = D.ctrlKey || D.altKey || D.metaKey, j = D.key.length === 1, H = nf(
|
|
8497
8497
|
D,
|
|
8498
8498
|
document.activeElement,
|
|
8499
8499
|
p.value,
|
|
@@ -8507,7 +8507,7 @@ const [t9, n9] = Me("RovingFocusGroup"), v2 = /* @__PURE__ */ z({
|
|
|
8507
8507
|
);
|
|
8508
8508
|
if (H)
|
|
8509
8509
|
return H == null ? void 0 : H.focus();
|
|
8510
|
-
if (D.code === "Space" || (S && (D.key === "Tab" && D.preventDefault(), !T &&
|
|
8510
|
+
if (D.code === "Space" || (S && (D.key === "Tab" && D.preventDefault(), !T && j && w(D.key)), D.target !== p.value) || !Uf.includes(D.key))
|
|
8511
8511
|
return;
|
|
8512
8512
|
D.preventDefault();
|
|
8513
8513
|
const re = A.value;
|
|
@@ -8521,8 +8521,8 @@ const [t9, n9] = Me("RovingFocusGroup"), v2 = /* @__PURE__ */ z({
|
|
|
8521
8521
|
var S;
|
|
8522
8522
|
if (!r1(D))
|
|
8523
8523
|
return;
|
|
8524
|
-
const T = D.target,
|
|
8525
|
-
if ((S = D == null ? void 0 : D.currentTarget) != null && S.contains(T) &&
|
|
8524
|
+
const T = D.target, j = g.value !== D.clientX;
|
|
8525
|
+
if ((S = D == null ? void 0 : D.currentTarget) != null && S.contains(T) && j) {
|
|
8526
8526
|
const H = D.clientX > g.value ? "right" : "left";
|
|
8527
8527
|
h.value = H, g.value = D.clientX;
|
|
8528
8528
|
}
|
|
@@ -8983,7 +8983,7 @@ const g9 = ["id", "value", "name", "disabled", "required"], [p9, v9] = Me("DateF
|
|
|
8983
8983
|
const S = Z(null), T = P(() => Array.from(v.value).findIndex((Y) => {
|
|
8984
8984
|
var ue;
|
|
8985
8985
|
return Y.getAttribute("data-radix-vue-date-field-segment") === ((ue = S.value) == null ? void 0 : ue.getAttribute("data-radix-vue-date-field-segment"));
|
|
8986
|
-
})),
|
|
8986
|
+
})), j = P(() => {
|
|
8987
8987
|
const Y = h.value === "rtl" ? -1 : 1;
|
|
8988
8988
|
return (Y < 0 ? T.value < 0 : T.value > v.value.size - 1) ? null : Array.from(v.value)[T.value + Y];
|
|
8989
8989
|
}), H = P(() => {
|
|
@@ -8992,7 +8992,7 @@ const g9 = ["id", "value", "name", "disabled", "required"], [p9, v9] = Me("DateF
|
|
|
8992
8992
|
}), re = sr();
|
|
8993
8993
|
function te(Y) {
|
|
8994
8994
|
var ue, L;
|
|
8995
|
-
on(Y.key) && (Y.key === re.ARROW_LEFT && ((ue = H.value) == null || ue.focus()), Y.key === re.ARROW_RIGHT && ((L =
|
|
8995
|
+
on(Y.key) && (Y.key === re.ARROW_LEFT && ((ue = H.value) == null || ue.focus()), Y.key === re.ARROW_RIGHT && ((L = j.value) == null || L.focus()));
|
|
8996
8996
|
}
|
|
8997
8997
|
function J(Y) {
|
|
8998
8998
|
S.value = Y;
|
|
@@ -9013,7 +9013,7 @@ const g9 = ["id", "value", "name", "disabled", "required"], [p9, v9] = Me("DateF
|
|
|
9013
9013
|
setFocusedElement: J,
|
|
9014
9014
|
focusNext() {
|
|
9015
9015
|
var Y;
|
|
9016
|
-
(Y =
|
|
9016
|
+
(Y = j.value) == null || Y.focus();
|
|
9017
9017
|
}
|
|
9018
9018
|
}), t({
|
|
9019
9019
|
/** Helper to set the focused element inside the DateField */
|
|
@@ -9711,12 +9711,12 @@ const R9 = /* @__PURE__ */ z({
|
|
|
9711
9711
|
dir: D
|
|
9712
9712
|
} = Fe(n), S = Nn(D), T = je(n, "modelValue", o, {
|
|
9713
9713
|
defaultValue: N.value
|
|
9714
|
-
}),
|
|
9714
|
+
}), j = P(() => $1({
|
|
9715
9715
|
defaultPlaceholder: n.placeholder,
|
|
9716
9716
|
granularity: n.granularity,
|
|
9717
9717
|
defaultValue: T.value
|
|
9718
9718
|
})), H = je(n, "placeholder", o, {
|
|
9719
|
-
defaultValue: n.defaultPlaceholder ??
|
|
9719
|
+
defaultValue: n.defaultPlaceholder ?? j.value.copy(),
|
|
9720
9720
|
passive: n.placeholder === void 0
|
|
9721
9721
|
}), re = je(n, "open", o, {
|
|
9722
9722
|
defaultValue: y.value,
|
|
@@ -12199,130 +12199,130 @@ class $t extends jn {
|
|
|
12199
12199
|
super("Zone is an abstract class");
|
|
12200
12200
|
}
|
|
12201
12201
|
}
|
|
12202
|
-
const
|
|
12203
|
-
year:
|
|
12204
|
-
month:
|
|
12205
|
-
day:
|
|
12202
|
+
const U = "numeric", It = "short", tt = "long", ia = {
|
|
12203
|
+
year: U,
|
|
12204
|
+
month: U,
|
|
12205
|
+
day: U
|
|
12206
12206
|
}, z2 = {
|
|
12207
|
-
year:
|
|
12207
|
+
year: U,
|
|
12208
12208
|
month: It,
|
|
12209
|
-
day:
|
|
12209
|
+
day: U
|
|
12210
12210
|
}, Oh = {
|
|
12211
|
-
year:
|
|
12211
|
+
year: U,
|
|
12212
12212
|
month: It,
|
|
12213
|
-
day:
|
|
12213
|
+
day: U,
|
|
12214
12214
|
weekday: It
|
|
12215
12215
|
}, P2 = {
|
|
12216
|
-
year:
|
|
12216
|
+
year: U,
|
|
12217
12217
|
month: tt,
|
|
12218
|
-
day:
|
|
12218
|
+
day: U
|
|
12219
12219
|
}, F2 = {
|
|
12220
|
-
year:
|
|
12220
|
+
year: U,
|
|
12221
12221
|
month: tt,
|
|
12222
|
-
day:
|
|
12222
|
+
day: U,
|
|
12223
12223
|
weekday: tt
|
|
12224
12224
|
}, N2 = {
|
|
12225
|
-
hour:
|
|
12226
|
-
minute:
|
|
12225
|
+
hour: U,
|
|
12226
|
+
minute: U
|
|
12227
12227
|
}, V2 = {
|
|
12228
|
-
hour:
|
|
12229
|
-
minute:
|
|
12230
|
-
second:
|
|
12228
|
+
hour: U,
|
|
12229
|
+
minute: U,
|
|
12230
|
+
second: U
|
|
12231
12231
|
}, Y2 = {
|
|
12232
|
-
hour:
|
|
12233
|
-
minute:
|
|
12234
|
-
second:
|
|
12232
|
+
hour: U,
|
|
12233
|
+
minute: U,
|
|
12234
|
+
second: U,
|
|
12235
12235
|
timeZoneName: It
|
|
12236
12236
|
}, j2 = {
|
|
12237
|
-
hour:
|
|
12238
|
-
minute:
|
|
12239
|
-
second:
|
|
12237
|
+
hour: U,
|
|
12238
|
+
minute: U,
|
|
12239
|
+
second: U,
|
|
12240
12240
|
timeZoneName: tt
|
|
12241
12241
|
}, U2 = {
|
|
12242
|
-
hour:
|
|
12243
|
-
minute:
|
|
12242
|
+
hour: U,
|
|
12243
|
+
minute: U,
|
|
12244
12244
|
hourCycle: "h23"
|
|
12245
12245
|
}, G2 = {
|
|
12246
|
-
hour:
|
|
12247
|
-
minute:
|
|
12248
|
-
second:
|
|
12246
|
+
hour: U,
|
|
12247
|
+
minute: U,
|
|
12248
|
+
second: U,
|
|
12249
12249
|
hourCycle: "h23"
|
|
12250
12250
|
}, q2 = {
|
|
12251
|
-
hour:
|
|
12252
|
-
minute:
|
|
12253
|
-
second:
|
|
12251
|
+
hour: U,
|
|
12252
|
+
minute: U,
|
|
12253
|
+
second: U,
|
|
12254
12254
|
hourCycle: "h23",
|
|
12255
12255
|
timeZoneName: It
|
|
12256
12256
|
}, H2 = {
|
|
12257
|
-
hour:
|
|
12258
|
-
minute:
|
|
12259
|
-
second:
|
|
12257
|
+
hour: U,
|
|
12258
|
+
minute: U,
|
|
12259
|
+
second: U,
|
|
12260
12260
|
hourCycle: "h23",
|
|
12261
12261
|
timeZoneName: tt
|
|
12262
12262
|
}, L2 = {
|
|
12263
|
-
year:
|
|
12264
|
-
month:
|
|
12265
|
-
day:
|
|
12266
|
-
hour:
|
|
12267
|
-
minute:
|
|
12263
|
+
year: U,
|
|
12264
|
+
month: U,
|
|
12265
|
+
day: U,
|
|
12266
|
+
hour: U,
|
|
12267
|
+
minute: U
|
|
12268
12268
|
}, K2 = {
|
|
12269
|
-
year:
|
|
12270
|
-
month:
|
|
12271
|
-
day:
|
|
12272
|
-
hour:
|
|
12273
|
-
minute:
|
|
12274
|
-
second:
|
|
12269
|
+
year: U,
|
|
12270
|
+
month: U,
|
|
12271
|
+
day: U,
|
|
12272
|
+
hour: U,
|
|
12273
|
+
minute: U,
|
|
12274
|
+
second: U
|
|
12275
12275
|
}, W2 = {
|
|
12276
|
-
year:
|
|
12276
|
+
year: U,
|
|
12277
12277
|
month: It,
|
|
12278
|
-
day:
|
|
12279
|
-
hour:
|
|
12280
|
-
minute:
|
|
12278
|
+
day: U,
|
|
12279
|
+
hour: U,
|
|
12280
|
+
minute: U
|
|
12281
12281
|
}, J2 = {
|
|
12282
|
-
year:
|
|
12282
|
+
year: U,
|
|
12283
12283
|
month: It,
|
|
12284
|
-
day:
|
|
12285
|
-
hour:
|
|
12286
|
-
minute:
|
|
12287
|
-
second:
|
|
12284
|
+
day: U,
|
|
12285
|
+
hour: U,
|
|
12286
|
+
minute: U,
|
|
12287
|
+
second: U
|
|
12288
12288
|
}, Mh = {
|
|
12289
|
-
year:
|
|
12289
|
+
year: U,
|
|
12290
12290
|
month: It,
|
|
12291
|
-
day:
|
|
12291
|
+
day: U,
|
|
12292
12292
|
weekday: It,
|
|
12293
|
-
hour:
|
|
12294
|
-
minute:
|
|
12293
|
+
hour: U,
|
|
12294
|
+
minute: U
|
|
12295
12295
|
}, X2 = {
|
|
12296
|
-
year:
|
|
12296
|
+
year: U,
|
|
12297
12297
|
month: tt,
|
|
12298
|
-
day:
|
|
12299
|
-
hour:
|
|
12300
|
-
minute:
|
|
12298
|
+
day: U,
|
|
12299
|
+
hour: U,
|
|
12300
|
+
minute: U,
|
|
12301
12301
|
timeZoneName: It
|
|
12302
12302
|
}, _2 = {
|
|
12303
|
-
year:
|
|
12303
|
+
year: U,
|
|
12304
12304
|
month: tt,
|
|
12305
|
-
day:
|
|
12306
|
-
hour:
|
|
12307
|
-
minute:
|
|
12308
|
-
second:
|
|
12305
|
+
day: U,
|
|
12306
|
+
hour: U,
|
|
12307
|
+
minute: U,
|
|
12308
|
+
second: U,
|
|
12309
12309
|
timeZoneName: It
|
|
12310
12310
|
}, $2 = {
|
|
12311
|
-
year:
|
|
12311
|
+
year: U,
|
|
12312
12312
|
month: tt,
|
|
12313
|
-
day:
|
|
12313
|
+
day: U,
|
|
12314
12314
|
weekday: tt,
|
|
12315
|
-
hour:
|
|
12316
|
-
minute:
|
|
12315
|
+
hour: U,
|
|
12316
|
+
minute: U,
|
|
12317
12317
|
timeZoneName: tt
|
|
12318
12318
|
}, e3 = {
|
|
12319
|
-
year:
|
|
12319
|
+
year: U,
|
|
12320
12320
|
month: tt,
|
|
12321
|
-
day:
|
|
12321
|
+
day: U,
|
|
12322
12322
|
weekday: tt,
|
|
12323
|
-
hour:
|
|
12324
|
-
minute:
|
|
12325
|
-
second:
|
|
12323
|
+
hour: U,
|
|
12324
|
+
minute: U,
|
|
12325
|
+
second: U,
|
|
12326
12326
|
timeZoneName: tt
|
|
12327
12327
|
};
|
|
12328
12328
|
class dr {
|
|
@@ -17461,8 +17461,8 @@ function MA() {
|
|
|
17461
17461
|
{
|
|
17462
17462
|
ci: le().required().label("Cédula de identidad"),
|
|
17463
17463
|
nombres: le().required().label("Nombre"),
|
|
17464
|
-
paterno: le().when("materno", ([
|
|
17465
|
-
materno: le().when("paterno", ([
|
|
17464
|
+
paterno: le().when("materno", ([j]) => j ? le().notRequired() : le().required().label("Apellido paterno o materno")),
|
|
17465
|
+
materno: le().when("paterno", ([j]) => j ? le().notRequired() : le().required().label("Apellido paterno o materno")),
|
|
17466
17466
|
fechaNacimiento: Qd().required().label("Fecha de nacimiento")
|
|
17467
17467
|
},
|
|
17468
17468
|
[["materno", "paterno"]]
|
|
@@ -17531,18 +17531,18 @@ function MA() {
|
|
|
17531
17531
|
m.verificadoEmail && (m.verificadoEmail = !1);
|
|
17532
17532
|
}
|
|
17533
17533
|
);
|
|
17534
|
-
const M = g(async (
|
|
17534
|
+
const M = g(async (j) => {
|
|
17535
17535
|
var re, te, J;
|
|
17536
17536
|
n.setLoading(!0);
|
|
17537
17537
|
const H = /* @__PURE__ */ new Date(
|
|
17538
|
-
`${
|
|
17538
|
+
`${j.fechaNacimiento.month}-${j.fechaNacimiento.day}-${j.fechaNacimiento.year}`
|
|
17539
17539
|
);
|
|
17540
17540
|
try {
|
|
17541
17541
|
const Y = {
|
|
17542
|
-
ci:
|
|
17543
|
-
nombres: (re =
|
|
17544
|
-
paterno: (te =
|
|
17545
|
-
materno: (J =
|
|
17542
|
+
ci: j.ci,
|
|
17543
|
+
nombres: (re = j.nombres) == null ? void 0 : re.trim(),
|
|
17544
|
+
paterno: (te = j.paterno) == null ? void 0 : te.trim(),
|
|
17545
|
+
materno: (J = j.materno) == null ? void 0 : J.trim(),
|
|
17546
17546
|
fechaNacimiento: H,
|
|
17547
17547
|
aplicacion: t.aplicacion
|
|
17548
17548
|
}, ue = await IA(Y);
|
|
@@ -17565,8 +17565,8 @@ function MA() {
|
|
|
17565
17565
|
} finally {
|
|
17566
17566
|
n.setLoading(!1);
|
|
17567
17567
|
}
|
|
17568
|
-
}), O = async ({ medio:
|
|
17569
|
-
if (
|
|
17568
|
+
}), O = async ({ medio: j, contacto: H }) => {
|
|
17569
|
+
if (j === "email") {
|
|
17570
17570
|
if (!h.email) {
|
|
17571
17571
|
w("email", "Email es requerido para verificar");
|
|
17572
17572
|
return;
|
|
@@ -17575,7 +17575,7 @@ function MA() {
|
|
|
17575
17575
|
if (!Y || m.verificadoEmail)
|
|
17576
17576
|
return;
|
|
17577
17577
|
}
|
|
17578
|
-
const te =
|
|
17578
|
+
const te = j === "telegram", J = j === "whatsapp";
|
|
17579
17579
|
if (te || J) {
|
|
17580
17580
|
if (te && m.verificadoTelegram || J && m.verificadoWhatsapp)
|
|
17581
17581
|
return;
|
|
@@ -17584,7 +17584,7 @@ function MA() {
|
|
|
17584
17584
|
return;
|
|
17585
17585
|
}
|
|
17586
17586
|
try {
|
|
17587
|
-
l.value =
|
|
17587
|
+
l.value = j, i.value = H, N(te), r.value = 2;
|
|
17588
17588
|
} catch (Y) {
|
|
17589
17589
|
K.error(
|
|
17590
17590
|
`<p class="toast-title">Error</p><p class="toast-description">${Y.message}</p>`,
|
|
@@ -17599,8 +17599,8 @@ function MA() {
|
|
|
17599
17599
|
}
|
|
17600
17600
|
}, R = async () => {
|
|
17601
17601
|
try {
|
|
17602
|
-
const { valid:
|
|
17603
|
-
if (!
|
|
17602
|
+
const { valid: j } = await E("codigoContacto");
|
|
17603
|
+
if (!j)
|
|
17604
17604
|
return;
|
|
17605
17605
|
const H = await OA({
|
|
17606
17606
|
code_confirmacion: h.codigoContacto,
|
|
@@ -17617,9 +17617,9 @@ function MA() {
|
|
|
17617
17617
|
dangerouslyHTMLString: !0
|
|
17618
17618
|
}
|
|
17619
17619
|
), l.value === "email" ? m.verificadoEmail = !0 : l.value === "whatsapp" ? m.verificadoWhatsapp = !0 : l.value === "telegram" && (m.verificadoTelegram = !0), r.value = r.value - 1, A("codigoContacto", void 0), l.value = void 0, i.value = null;
|
|
17620
|
-
} catch (
|
|
17620
|
+
} catch (j) {
|
|
17621
17621
|
K.error(
|
|
17622
|
-
`<p class="toast-title">Error</p><p class="toast-description">${
|
|
17622
|
+
`<p class="toast-title">Error</p><p class="toast-description">${j.message}</p>`,
|
|
17623
17623
|
{
|
|
17624
17624
|
autoClose: 5e3,
|
|
17625
17625
|
hideProgressBar: !0,
|
|
@@ -17629,11 +17629,11 @@ function MA() {
|
|
|
17629
17629
|
}
|
|
17630
17630
|
);
|
|
17631
17631
|
}
|
|
17632
|
-
}, N = async (
|
|
17632
|
+
}, N = async (j = !1) => {
|
|
17633
17633
|
d({
|
|
17634
17634
|
callbackApi: BA,
|
|
17635
17635
|
code: h.codigoRegistro,
|
|
17636
|
-
abrirTelegramDialog:
|
|
17636
|
+
abrirTelegramDialog: j,
|
|
17637
17637
|
counterTime: 120
|
|
17638
17638
|
}), K.success(
|
|
17639
17639
|
'<p class="toast-title">Operación exitosa</p><p class="toast-description">Mensaje enviado!</p>',
|
|
@@ -17649,18 +17649,21 @@ function MA() {
|
|
|
17649
17649
|
r.value = 1, A("codigoContacto", void 0);
|
|
17650
17650
|
}, S = () => {
|
|
17651
17651
|
r.value = 0, p();
|
|
17652
|
-
}, T = g(async (
|
|
17652
|
+
}, T = g(async (j) => {
|
|
17653
17653
|
var H, re;
|
|
17654
17654
|
n.setLoading(!0);
|
|
17655
17655
|
try {
|
|
17656
|
-
const te =
|
|
17657
|
-
|
|
17658
|
-
|
|
17659
|
-
|
|
17660
|
-
|
|
17661
|
-
|
|
17656
|
+
const te = /* @__PURE__ */ new Date(
|
|
17657
|
+
`${j.fechaNacimiento.month}-${j.fechaNacimiento.day}-${j.fechaNacimiento.year}`
|
|
17658
|
+
), J = {
|
|
17659
|
+
...j,
|
|
17660
|
+
email: (H = j.email) == null ? void 0 : H.trim(),
|
|
17661
|
+
direccion: (re = j.direccion) == null ? void 0 : re.trim(),
|
|
17662
|
+
aplicacion: t.aplicacion,
|
|
17663
|
+
fechaNacimiento: te
|
|
17664
|
+
}, Y = await bA(J);
|
|
17662
17665
|
K.success(
|
|
17663
|
-
`<p class="toast-title">Operación realizada</p><p class="toast-description">${
|
|
17666
|
+
`<p class="toast-title">Operación realizada</p><p class="toast-description">${Y.message}</p>`,
|
|
17664
17667
|
{
|
|
17665
17668
|
autoClose: 5e3,
|
|
17666
17669
|
hideProgressBar: !0,
|
|
@@ -22257,7 +22260,7 @@ function TE() {
|
|
|
22257
22260
|
dangerouslyHTMLString: !0
|
|
22258
22261
|
}
|
|
22259
22262
|
);
|
|
22260
|
-
},
|
|
22263
|
+
}, j = A(async (L) => {
|
|
22261
22264
|
g.value = !0;
|
|
22262
22265
|
try {
|
|
22263
22266
|
const oe = {
|
|
@@ -22365,7 +22368,7 @@ function TE() {
|
|
|
22365
22368
|
onEnviarCodigoAlUsuario: S,
|
|
22366
22369
|
cambiarPass: ue,
|
|
22367
22370
|
goProfileStep: J,
|
|
22368
|
-
onCambiarPasswordPerfil:
|
|
22371
|
+
onCambiarPasswordPerfil: j,
|
|
22369
22372
|
onCambiarImagenPerfil: re,
|
|
22370
22373
|
onAcceptImageUpdateClick: te
|
|
22371
22374
|
};
|