mp-front-cli 0.0.131 → 0.0.132
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/{index-16adcad8.js → i18n-83b7a0ce.js} +28 -8
- package/dist/lang/i18n.d.ts +3 -0
- package/dist/lang/i18n.d.ts.map +1 -0
- package/dist/lang/index.d.ts +2 -0
- package/dist/lang/index.d.ts.map +1 -1
- package/dist/mp-front-cli-all.es.js +1 -1
- package/dist/mp-front-cli-core.es.js +61 -81
- package/dist/mp-front-cli-locale.es.js +3 -1
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import e from "i18next";
|
|
2
|
+
const o = {
|
|
2
3
|
calculator: {
|
|
3
4
|
"SCORE-CLIENTREJECTED-01": {
|
|
4
5
|
title: "Cliente no aprobado",
|
|
@@ -206,7 +207,7 @@ const e = {
|
|
|
206
207
|
message: "Error de servicio"
|
|
207
208
|
}
|
|
208
209
|
}
|
|
209
|
-
},
|
|
210
|
+
}, a = {
|
|
210
211
|
enrollment: {
|
|
211
212
|
"ENROLLMENT-INVALIDCONFIGURATION-0000": {
|
|
212
213
|
title: "Configuración no correspondiente",
|
|
@@ -397,7 +398,7 @@ const e = {
|
|
|
397
398
|
message: "El IMEI / Núm. de serie especificado no existe."
|
|
398
399
|
}
|
|
399
400
|
}
|
|
400
|
-
},
|
|
401
|
+
}, r = {
|
|
401
402
|
helpdesk: {
|
|
402
403
|
"PF-CANCEL-APPLICATION-GENERIC-ERROR-001": {
|
|
403
404
|
title: "Error",
|
|
@@ -436,7 +437,7 @@ const e = {
|
|
|
436
437
|
message: "Favor de contactar a soporte"
|
|
437
438
|
}
|
|
438
439
|
}
|
|
439
|
-
},
|
|
440
|
+
}, t = {
|
|
440
441
|
errors: {
|
|
441
442
|
default: {
|
|
442
443
|
title: "No pudimos cargar alguno de los datos solicitados.",
|
|
@@ -467,9 +468,9 @@ const e = {
|
|
|
467
468
|
message: "Es necesario asignar una clave de vendedor al usuario. Por favor comunícate con nuestra mesa de ayuda para solucionar el problema."
|
|
468
469
|
},
|
|
469
470
|
//Calculator & Apartadito
|
|
470
|
-
...
|
|
471
|
+
...o,
|
|
471
472
|
//#region helpdesk
|
|
472
|
-
...
|
|
473
|
+
...r,
|
|
473
474
|
//JORNADA
|
|
474
475
|
"JOURNEY-INVALIDATEDATA-01": {
|
|
475
476
|
title: "Por favor verifique su estructura y los valores de sus atributos.",
|
|
@@ -664,7 +665,7 @@ const e = {
|
|
|
664
665
|
message: "Por favor ingresa otro número de teléfono"
|
|
665
666
|
},
|
|
666
667
|
//ENROLLMENT
|
|
667
|
-
...
|
|
668
|
+
...a.enrollment,
|
|
668
669
|
//PERSONAL REFERENCES
|
|
669
670
|
"PERSONALREFERENCE-ACTIVECREDITSEXCEPTION-01": {
|
|
670
671
|
title: "Intentar con otra referencia",
|
|
@@ -717,7 +718,26 @@ const e = {
|
|
|
717
718
|
message: "Por favor comunícate con mesa de ayuda"
|
|
718
719
|
}
|
|
719
720
|
}
|
|
721
|
+
}, i = {
|
|
722
|
+
es: {
|
|
723
|
+
translation: {
|
|
724
|
+
...t
|
|
725
|
+
}
|
|
726
|
+
}
|
|
720
727
|
};
|
|
728
|
+
e.init({
|
|
729
|
+
resources: i,
|
|
730
|
+
lng: "es",
|
|
731
|
+
// language to use, more information here: https://www.i18next.com/overview/configuration-options#languages-namespaces-resources
|
|
732
|
+
// you can use the i18n.changeLanguage function to change the language manually: https://www.i18next.com/overview/api#changelanguage
|
|
733
|
+
// if you're using a language detector, do not define the lng option
|
|
734
|
+
supportedLngs: ["es", "en"],
|
|
735
|
+
interpolation: {
|
|
736
|
+
escapeValue: !1
|
|
737
|
+
// react already safes from xss
|
|
738
|
+
},
|
|
739
|
+
debug: !1
|
|
740
|
+
});
|
|
721
741
|
export {
|
|
722
|
-
|
|
742
|
+
t
|
|
723
743
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/lang/i18n.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,SAAS,CAAA;AAyB1B,eAAe,IAAI,CAAA"}
|
package/dist/lang/index.d.ts
CHANGED
package/dist/lang/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lang/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,aAAa,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lang/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,aAAa,CAAA;AAC3B,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,cAAc,CAAA;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ApiMiddleware as l, ErrorCatalog as x, FetchServiceBE as f, FetchServiceFE as s } from "./mp-front-cli-core.es.js";
|
|
2
2
|
import { LoadingHandler as E, MessageHandler as F, RxSubjectManager as M } from "./mp-front-cli-utils-rxjs.es.js";
|
|
3
3
|
import { S as H } from "./index-def0b487.js";
|
|
4
|
+
import "./i18n-83b7a0ce.js";
|
|
4
5
|
import "i18next";
|
|
5
|
-
import "./index-16adcad8.js";
|
|
6
6
|
import "./mp-front-cli-logger.es.js";
|
|
7
7
|
import "rxjs";
|
|
8
8
|
import "./mp-front-cli-encrypter.es.js";
|
|
@@ -1,42 +1,22 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var O = (t, r, e) => (
|
|
1
|
+
var f = Object.defineProperty;
|
|
2
|
+
var u = (t, r, e) => r in t ? f(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e;
|
|
3
|
+
var O = (t, r, e) => (u(t, typeof r != "symbol" ? r + "" : r, e), e);
|
|
4
4
|
import { LoadingHandler as g, MessageHandler as M } from "./mp-front-cli-utils-rxjs.es.js";
|
|
5
|
-
import { RxSubjectManager as
|
|
5
|
+
import { RxSubjectManager as Se } from "./mp-front-cli-utils-rxjs.es.js";
|
|
6
6
|
import { f as c } from "./index-def0b487.js";
|
|
7
|
-
import { S as
|
|
8
|
-
import
|
|
9
|
-
import { t as
|
|
10
|
-
import { CustomLogger as
|
|
11
|
-
import { of as o, switchMap as L, forkJoin as p, catchError as
|
|
12
|
-
import { CustomEncrypter as
|
|
13
|
-
import { CustomHeader as
|
|
14
|
-
import
|
|
15
|
-
import { CustomEncoder as
|
|
16
|
-
import { u as
|
|
7
|
+
import { S as ne } from "./index-def0b487.js";
|
|
8
|
+
import "./i18n-83b7a0ce.js";
|
|
9
|
+
import { t as S } from "i18next";
|
|
10
|
+
import { CustomLogger as F } from "./mp-front-cli-logger.es.js";
|
|
11
|
+
import { of as o, switchMap as L, forkJoin as p, catchError as U, EMPTY as P, filter as v } from "rxjs";
|
|
12
|
+
import { CustomEncrypter as w } from "./mp-front-cli-encrypter.es.js";
|
|
13
|
+
import { CustomHeader as h } from "./mp-front-cli-header.es.js";
|
|
14
|
+
import V from "querystring";
|
|
15
|
+
import { CustomEncoder as Q } from "./mp-front-cli-encoder.es.js";
|
|
16
|
+
import { u as H } from "./stringify-788d71a0.js";
|
|
17
17
|
import "node-jose";
|
|
18
18
|
import "crypto";
|
|
19
|
-
const
|
|
20
|
-
es: {
|
|
21
|
-
translation: {
|
|
22
|
-
...v
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
F.init({
|
|
27
|
-
resources: Y,
|
|
28
|
-
lng: "es",
|
|
29
|
-
// language to use, more information here: https://www.i18next.com/overview/configuration-options#languages-namespaces-resources
|
|
30
|
-
// you can use the i18n.changeLanguage function to change the language manually: https://www.i18next.com/overview/api#changelanguage
|
|
31
|
-
// if you're using a language detector, do not define the lng option
|
|
32
|
-
supportedLngs: ["es", "en"],
|
|
33
|
-
interpolation: {
|
|
34
|
-
escapeValue: !1
|
|
35
|
-
// react already safes from xss
|
|
36
|
-
},
|
|
37
|
-
debug: !1
|
|
38
|
-
});
|
|
39
|
-
const K = {
|
|
19
|
+
const x = {
|
|
40
20
|
"ENROLLMENT-INVALIDCONFIGURATION-0000": {
|
|
41
21
|
code: 400,
|
|
42
22
|
type: "modal",
|
|
@@ -366,7 +346,7 @@ const K = {
|
|
|
366
346
|
title: "errors.ENROLLMENT-THEREISNTIMEI-0048.title",
|
|
367
347
|
level: "warning"
|
|
368
348
|
}
|
|
369
|
-
},
|
|
349
|
+
}, G = {
|
|
370
350
|
"SKIPFINGERPRINT-WITHOUT-PERMISSIONS-01": {
|
|
371
351
|
code: 400,
|
|
372
352
|
type: "modal",
|
|
@@ -423,7 +403,7 @@ const K = {
|
|
|
423
403
|
title: "errors.helpdesk.UNEXCEPTED-ERROR.title",
|
|
424
404
|
level: "error"
|
|
425
405
|
}
|
|
426
|
-
},
|
|
406
|
+
}, Y = {
|
|
427
407
|
"PF-CANCEL-APPLICATION-GENERIC-ERROR-001": {
|
|
428
408
|
code: 400,
|
|
429
409
|
type: "modal",
|
|
@@ -431,9 +411,9 @@ const K = {
|
|
|
431
411
|
title: "errors.PF-CANCEL-APPLICATION-GENERIC-ERROR-001.title",
|
|
432
412
|
level: "error"
|
|
433
413
|
}
|
|
434
|
-
},
|
|
435
|
-
...
|
|
436
|
-
...
|
|
414
|
+
}, K = {
|
|
415
|
+
...Y,
|
|
416
|
+
...G
|
|
437
417
|
}, i = {
|
|
438
418
|
"MP-001": {
|
|
439
419
|
code: 400,
|
|
@@ -1257,17 +1237,17 @@ const K = {
|
|
|
1257
1237
|
type: "modal",
|
|
1258
1238
|
level: "warning"
|
|
1259
1239
|
},
|
|
1260
|
-
...
|
|
1261
|
-
...
|
|
1240
|
+
...x,
|
|
1241
|
+
...K
|
|
1262
1242
|
};
|
|
1263
|
-
class C extends
|
|
1243
|
+
class C extends F {
|
|
1264
1244
|
get(r = "default", e = "NOT_FOUND") {
|
|
1265
1245
|
var N, A;
|
|
1266
1246
|
if (r instanceof Error)
|
|
1267
1247
|
return this.logError(r.message), {
|
|
1268
1248
|
...i.internalError,
|
|
1269
|
-
title:
|
|
1270
|
-
message:
|
|
1249
|
+
title: S(i.internalError.title),
|
|
1250
|
+
message: S(i.internalError.message),
|
|
1271
1251
|
uuid: e
|
|
1272
1252
|
};
|
|
1273
1253
|
const E = typeof r == "string" ? r : r.code ?? r.errorType;
|
|
@@ -1275,11 +1255,11 @@ class C extends w {
|
|
|
1275
1255
|
const l = typeof r == "string" ? {} : { ...r };
|
|
1276
1256
|
return {
|
|
1277
1257
|
...i[E] ?? i.default,
|
|
1278
|
-
title:
|
|
1258
|
+
title: S(
|
|
1279
1259
|
((N = i[E]) == null ? void 0 : N.title) ?? i.default.title,
|
|
1280
1260
|
l
|
|
1281
1261
|
),
|
|
1282
|
-
message:
|
|
1262
|
+
message: S(
|
|
1283
1263
|
((A = i[E]) == null ? void 0 : A.message) ?? i.default.message,
|
|
1284
1264
|
l
|
|
1285
1265
|
),
|
|
@@ -1288,7 +1268,7 @@ class C extends w {
|
|
|
1288
1268
|
};
|
|
1289
1269
|
}
|
|
1290
1270
|
}
|
|
1291
|
-
class
|
|
1271
|
+
class Ie extends w {
|
|
1292
1272
|
constructor() {
|
|
1293
1273
|
super(...arguments);
|
|
1294
1274
|
O(this, "uuid", "");
|
|
@@ -1329,7 +1309,7 @@ class me extends V {
|
|
|
1329
1309
|
L(({ params: A, response: R, headers: s }) => (this.logDebug(
|
|
1330
1310
|
`ApiMiddleware \x1B[37m <URL>: \x1B[33m ${E.url} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(s)} \x1B[37m <UUID> \x1B[33m ${E.body.uuid} \x1B[37m <PARAMS> \x1B[33m ${JSON.stringify(A)} \x1B[37m <RESPONSE>: \x1B[33m ${JSON.stringify(R)}`
|
|
1331
1311
|
), o(R))),
|
|
1332
|
-
|
|
1312
|
+
U((A) => {
|
|
1333
1313
|
var R;
|
|
1334
1314
|
return this.logError(
|
|
1335
1315
|
`ApiMiddleware <URL>: ${E == null ? void 0 : E.url} <HEADERS>: ${JSON.stringify(E == null ? void 0 : E.headers)} <UUID> ${(R = E == null ? void 0 : E.body) == null ? void 0 : R.uuid} <PARAMS> ${JSON.stringify(E == null ? void 0 : E.body)} <ERROR>: ${JSON.stringify(A)}`
|
|
@@ -1343,8 +1323,8 @@ class me extends V {
|
|
|
1343
1323
|
};
|
|
1344
1324
|
}
|
|
1345
1325
|
}
|
|
1346
|
-
const
|
|
1347
|
-
class
|
|
1326
|
+
const X = process.env.ID_FRONT ?? "NOT_AVAILABLE";
|
|
1327
|
+
class ie extends h {
|
|
1348
1328
|
constructor(e, E, l = {}) {
|
|
1349
1329
|
super(l);
|
|
1350
1330
|
O(this, "apiUrl");
|
|
@@ -1359,7 +1339,7 @@ class ge extends Q {
|
|
|
1359
1339
|
formatParams(e) {
|
|
1360
1340
|
return JSON.stringify({
|
|
1361
1341
|
data: {
|
|
1362
|
-
type:
|
|
1342
|
+
type: X,
|
|
1363
1343
|
attributes: e
|
|
1364
1344
|
}
|
|
1365
1345
|
});
|
|
@@ -1376,7 +1356,7 @@ class ge extends Q {
|
|
|
1376
1356
|
selector: (N) => N.json()
|
|
1377
1357
|
}
|
|
1378
1358
|
).pipe(
|
|
1379
|
-
|
|
1359
|
+
U((N) => {
|
|
1380
1360
|
throw this.logError(JSON.stringify(N)), this.logError(
|
|
1381
1361
|
`FetchServiceBE \x1B[37m <URL>: \x1B[33m ${this.apiUrl} \x1B[37m <UUID>: \x1B[33m ${E} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(
|
|
1382
1362
|
l
|
|
@@ -1394,13 +1374,13 @@ class ge extends Q {
|
|
|
1394
1374
|
), o(N)))
|
|
1395
1375
|
)
|
|
1396
1376
|
),
|
|
1397
|
-
|
|
1377
|
+
v((l) => this.errorHandler(l, E))
|
|
1398
1378
|
);
|
|
1399
1379
|
}
|
|
1400
1380
|
fetchCustomData(e = {}, E) {
|
|
1401
1381
|
const l = {
|
|
1402
1382
|
"Content-Type": "application/json"
|
|
1403
|
-
}, N =
|
|
1383
|
+
}, N = V.stringify(
|
|
1404
1384
|
e
|
|
1405
1385
|
), A = `${this.apiUrl}?${N}`, R = this.method === "GET" ? A : this.apiUrl;
|
|
1406
1386
|
return this.getHeaders(l).pipe(
|
|
@@ -1411,7 +1391,7 @@ class ge extends Q {
|
|
|
1411
1391
|
body: this.method === "GET" ? null : JSON.stringify(e),
|
|
1412
1392
|
selector: (T) => T.json()
|
|
1413
1393
|
}).pipe(
|
|
1414
|
-
|
|
1394
|
+
U((T) => {
|
|
1415
1395
|
throw this.logError(JSON.stringify(T)), this.logError(
|
|
1416
1396
|
`FetchServiceBE \x1B[37m <URL>: \x1B[33m ${R} \x1B[37m <UUID>: \x1B[33m ${E} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(
|
|
1417
1397
|
s
|
|
@@ -1432,29 +1412,29 @@ class ge extends Q {
|
|
|
1432
1412
|
);
|
|
1433
1413
|
}
|
|
1434
1414
|
}
|
|
1435
|
-
const
|
|
1436
|
-
function
|
|
1437
|
-
return typeof t == "string" &&
|
|
1415
|
+
const J = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;
|
|
1416
|
+
function _(t) {
|
|
1417
|
+
return typeof t == "string" && J.test(t);
|
|
1438
1418
|
}
|
|
1439
|
-
function
|
|
1440
|
-
if (!
|
|
1419
|
+
function $(t) {
|
|
1420
|
+
if (!_(t))
|
|
1441
1421
|
throw TypeError("Invalid UUID");
|
|
1442
1422
|
let r;
|
|
1443
1423
|
const e = new Uint8Array(16);
|
|
1444
1424
|
return e[0] = (r = parseInt(t.slice(0, 8), 16)) >>> 24, e[1] = r >>> 16 & 255, e[2] = r >>> 8 & 255, e[3] = r & 255, e[4] = (r = parseInt(t.slice(9, 13), 16)) >>> 8, e[5] = r & 255, e[6] = (r = parseInt(t.slice(14, 18), 16)) >>> 8, e[7] = r & 255, e[8] = (r = parseInt(t.slice(19, 23), 16)) >>> 8, e[9] = r & 255, e[10] = (r = parseInt(t.slice(24, 36), 16)) / 1099511627776 & 255, e[11] = r / 4294967296 & 255, e[12] = r >>> 24 & 255, e[13] = r >>> 16 & 255, e[14] = r >>> 8 & 255, e[15] = r & 255, e;
|
|
1445
1425
|
}
|
|
1446
|
-
function
|
|
1426
|
+
function b(t) {
|
|
1447
1427
|
t = unescape(encodeURIComponent(t));
|
|
1448
1428
|
const r = [];
|
|
1449
1429
|
for (let e = 0; e < t.length; ++e)
|
|
1450
1430
|
r.push(t.charCodeAt(e));
|
|
1451
1431
|
return r;
|
|
1452
1432
|
}
|
|
1453
|
-
const
|
|
1454
|
-
function
|
|
1433
|
+
const W = "6ba7b810-9dad-11d1-80b4-00c04fd430c8", k = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
|
|
1434
|
+
function j(t, r, e) {
|
|
1455
1435
|
function E(l, N, A, R) {
|
|
1456
1436
|
var s;
|
|
1457
|
-
if (typeof l == "string" && (l =
|
|
1437
|
+
if (typeof l == "string" && (l = b(l)), typeof N == "string" && (N = $(N)), ((s = N) === null || s === void 0 ? void 0 : s.length) !== 16)
|
|
1458
1438
|
throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");
|
|
1459
1439
|
let T = new Uint8Array(16 + l.length);
|
|
1460
1440
|
if (T.set(N), T.set(l, N.length), T = e(T), T[6] = T[6] & 15 | r, T[8] = T[8] & 63 | 128, A) {
|
|
@@ -1463,15 +1443,15 @@ function q(t, r, e) {
|
|
|
1463
1443
|
A[R + I] = T[I];
|
|
1464
1444
|
return A;
|
|
1465
1445
|
}
|
|
1466
|
-
return
|
|
1446
|
+
return H(T);
|
|
1467
1447
|
}
|
|
1468
1448
|
try {
|
|
1469
1449
|
E.name = t;
|
|
1470
1450
|
} catch {
|
|
1471
1451
|
}
|
|
1472
|
-
return E.DNS =
|
|
1452
|
+
return E.DNS = W, E.URL = k, E;
|
|
1473
1453
|
}
|
|
1474
|
-
function
|
|
1454
|
+
function Z(t, r, e, E) {
|
|
1475
1455
|
switch (t) {
|
|
1476
1456
|
case 0:
|
|
1477
1457
|
return r & e ^ ~r & E;
|
|
@@ -1486,7 +1466,7 @@ function ee(t, r, e, E) {
|
|
|
1486
1466
|
function D(t, r) {
|
|
1487
1467
|
return t << r | t >>> 32 - r;
|
|
1488
1468
|
}
|
|
1489
|
-
function
|
|
1469
|
+
function z(t) {
|
|
1490
1470
|
const r = [1518500249, 1859775393, 2400959708, 3395469782], e = [1732584193, 4023233417, 2562383102, 271733878, 3285377520];
|
|
1491
1471
|
if (typeof t == "string") {
|
|
1492
1472
|
const A = unescape(encodeURIComponent(t));
|
|
@@ -1510,17 +1490,17 @@ function Ee(t) {
|
|
|
1510
1490
|
R[a] = N[A][a];
|
|
1511
1491
|
for (let a = 16; a < 80; ++a)
|
|
1512
1492
|
R[a] = D(R[a - 3] ^ R[a - 8] ^ R[a - 14] ^ R[a - 16], 1);
|
|
1513
|
-
let s = e[0], T = e[1], I = e[2], m = e[3],
|
|
1493
|
+
let s = e[0], T = e[1], I = e[2], m = e[3], n = e[4];
|
|
1514
1494
|
for (let a = 0; a < 80; ++a) {
|
|
1515
|
-
const d = Math.floor(a / 20), y = D(s, 5) +
|
|
1516
|
-
|
|
1495
|
+
const d = Math.floor(a / 20), y = D(s, 5) + Z(d, T, I, m) + n + r[d] + R[a] >>> 0;
|
|
1496
|
+
n = m, m = I, I = D(T, 30) >>> 0, T = s, s = y;
|
|
1517
1497
|
}
|
|
1518
|
-
e[0] = e[0] + s >>> 0, e[1] = e[1] + T >>> 0, e[2] = e[2] + I >>> 0, e[3] = e[3] + m >>> 0, e[4] = e[4] +
|
|
1498
|
+
e[0] = e[0] + s >>> 0, e[1] = e[1] + T >>> 0, e[2] = e[2] + I >>> 0, e[3] = e[3] + m >>> 0, e[4] = e[4] + n >>> 0;
|
|
1519
1499
|
}
|
|
1520
1500
|
return [e[0] >> 24 & 255, e[0] >> 16 & 255, e[0] >> 8 & 255, e[0] & 255, e[1] >> 24 & 255, e[1] >> 16 & 255, e[1] >> 8 & 255, e[1] & 255, e[2] >> 24 & 255, e[2] >> 16 & 255, e[2] >> 8 & 255, e[2] & 255, e[3] >> 24 & 255, e[3] >> 16 & 255, e[3] >> 8 & 255, e[3] & 255, e[4] >> 24 & 255, e[4] >> 16 & 255, e[4] >> 8 & 255, e[4] & 255];
|
|
1521
1501
|
}
|
|
1522
|
-
const
|
|
1523
|
-
class
|
|
1502
|
+
const q = j("v5", 80, z), B = q;
|
|
1503
|
+
class Ce extends Q {
|
|
1524
1504
|
constructor(e, E = "POST", l = {}) {
|
|
1525
1505
|
super();
|
|
1526
1506
|
O(this, "apiUrl");
|
|
@@ -1556,7 +1536,7 @@ class ne extends x {
|
|
|
1556
1536
|
L((s) => (g.getInstance().setSubject(!1), this.logDebug(
|
|
1557
1537
|
`FetchServiceFE <URL>: ${this.apiUrl} <HEADERS>: ${JSON.stringify(this.headers)} <PARAMS> ${JSON.stringify(e)} <BODY> ${N} <RESPONSE>: ${JSON.stringify(s)}`
|
|
1558
1538
|
), o(s))),
|
|
1559
|
-
|
|
1539
|
+
U((s) => (this.logError(
|
|
1560
1540
|
`FetchServiceFE <URL>: ${this.apiUrl} <HEADERS>: ${JSON.stringify(this.headers)} <PARAMS> ${JSON.stringify(e)} <BODY> ${N} <RESPONSE>: ${JSON.stringify(s)}`
|
|
1561
1541
|
), g.getInstance().setSubject(!1), M.getInstance().setSubject(
|
|
1562
1542
|
new C().get(s, l)
|
|
@@ -1565,12 +1545,12 @@ class ne extends x {
|
|
|
1565
1545
|
}
|
|
1566
1546
|
}
|
|
1567
1547
|
export {
|
|
1568
|
-
|
|
1548
|
+
Ie as ApiMiddleware,
|
|
1569
1549
|
C as ErrorCatalog,
|
|
1570
|
-
|
|
1571
|
-
|
|
1550
|
+
ie as FetchServiceBE,
|
|
1551
|
+
Ce as FetchServiceFE,
|
|
1572
1552
|
g as LoadingHandler,
|
|
1573
1553
|
M as MessageHandler,
|
|
1574
|
-
|
|
1575
|
-
|
|
1554
|
+
Se as RxSubjectManager,
|
|
1555
|
+
ne as ServiceToken
|
|
1576
1556
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { t } from "./
|
|
1
|
+
import { t } from "./i18n-83b7a0ce.js";
|
|
2
|
+
import { default as i } from "i18next";
|
|
2
3
|
const e = {
|
|
3
4
|
errors: {}
|
|
4
5
|
}, a = {
|
|
@@ -45,6 +46,7 @@ const e = {
|
|
|
45
46
|
export {
|
|
46
47
|
e as errorEN_EN,
|
|
47
48
|
t as errorES_MX,
|
|
49
|
+
i as i18n,
|
|
48
50
|
a as validatorEN_EN,
|
|
49
51
|
r as validatorES_MX
|
|
50
52
|
};
|