mp-front-cli 0.0.139 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/core/errors/enrollment/error-catalog-enrollment.d.ts +1 -1
  2. package/dist/core/errors/error-catalog.d.ts +2 -2
  3. package/dist/core/errors/helpdesk/cancelPr.d.ts +1 -1
  4. package/dist/core/errors/helpdesk/index.d.ts +1 -1
  5. package/dist/core/errors/helpdesk/skipFingerprint.d.ts +1 -1
  6. package/dist/core/errors/index.d.ts +1 -1
  7. package/dist/core/errors/message-error.d.ts +3 -3
  8. package/dist/core/index.d.ts +5 -5
  9. package/dist/core/interfaces/index.d.ts +3 -3
  10. package/dist/core/middleware/index.d.ts +5 -5
  11. package/dist/core/services/index.d.ts +1 -1
  12. package/dist/core/services/service-token.d.ts +2 -2
  13. package/dist/core/utils/Terminal/index.d.ts +2 -2
  14. package/dist/core/utils/api-request/fetch-service-be.d.ts +4 -4
  15. package/dist/core/utils/api-request/fetch-service-fe.d.ts +3 -3
  16. package/dist/core/utils/api-request/index.d.ts +2 -2
  17. package/dist/core/utils/custom-adapter.d.ts +1 -1
  18. package/dist/core/utils/custom-cache.d.ts +1 -1
  19. package/dist/core/utils/custom-encoder.d.ts +1 -1
  20. package/dist/core/utils/custom-encrypter.d.ts +1 -1
  21. package/dist/core/utils/custom-header.d.ts +2 -2
  22. package/dist/core/utils/custom-redis.d.ts +1 -1
  23. package/dist/core/utils/func/index.d.ts +1 -1
  24. package/dist/core/utils/index.d.ts +2 -2
  25. package/dist/core/utils/rxjs/index.d.ts +3 -3
  26. package/dist/core/utils/rxjs/loading-handler.d.ts +1 -1
  27. package/dist/core/utils/rxjs/message-handler.d.ts +2 -2
  28. package/dist/core/utils/rxjs/rx-subject-manager.d.ts +1 -1
  29. package/dist/{index-def0b487.js → index-a6a5a26e.js} +204 -199
  30. package/dist/index.d.ts +1 -1
  31. package/dist/lang/common/errors/calculator/index.d.ts +2 -2
  32. package/dist/lang/common/errors/enrollment/index.d.ts +2 -2
  33. package/dist/lang/common/errors/helpdesk/index.d.ts +2 -2
  34. package/dist/lang/common/errors/index.d.ts +2 -2
  35. package/dist/lang/common/index.d.ts +1 -1
  36. package/dist/lang/i18n.d.ts +1 -1
  37. package/dist/lang/index.d.ts +4 -4
  38. package/dist/lang/validator/index.d.ts +2 -2
  39. package/dist/mp-front-cli-all.es.js +1 -1
  40. package/dist/mp-front-cli-core.es.js +3 -3
  41. package/dist/mp-front-cli-header.es.js +1 -1
  42. package/dist/mp-front-cli-services.es.js +1 -1
  43. package/package.json +3 -3
@@ -1,4 +1,4 @@
1
- import { IMessage } from "src/core/interfaces";
1
+ import { IMessage } from 'src/core/interfaces';
2
2
  export declare const errorCatalogEnrollment: {
3
3
  [props: string | number]: IMessage;
4
4
  };
@@ -1,5 +1,5 @@
1
- import { ApiError } from "../interfaces/api-response";
2
- import { CustomLogger } from "../utils/custom-logger";
1
+ import { ApiError } from '../interfaces/api-response';
2
+ import { CustomLogger } from '../utils/custom-logger';
3
3
  export declare class ErrorCatalog extends CustomLogger {
4
4
  get(error?: string | Error | ApiError, uuid?: string): {
5
5
  title: string;
@@ -1,4 +1,4 @@
1
- import { IMessage } from "src/core/interfaces";
1
+ import { IMessage } from 'src/core/interfaces';
2
2
  export declare const errorCatalogHelpdeskCancelPr: {
3
3
  [props: string | number]: IMessage;
4
4
  };
@@ -1,4 +1,4 @@
1
- import { IMessage } from "src/core/interfaces";
1
+ import { IMessage } from 'src/core/interfaces';
2
2
  export declare const errorCatalogHelpdesk: {
3
3
  [props: string | number]: IMessage;
4
4
  };
@@ -1,4 +1,4 @@
1
- import { IMessage } from "src/core/interfaces";
1
+ import { IMessage } from 'src/core/interfaces';
2
2
  export declare const errorCatalogHelpdeskSkipFingerprint: {
3
3
  [props: string | number]: IMessage;
4
4
  };
@@ -1,2 +1,2 @@
1
- export { ErrorCatalog } from "./error-catalog";
1
+ export { ErrorCatalog } from './error-catalog';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,6 +1,6 @@
1
- import { ApiError } from "../interfaces/api-response";
2
- import { IMessage } from "../interfaces/message";
3
- import { CustomLogger } from "../utils/custom-logger";
1
+ import { ApiError } from '../interfaces/api-response';
2
+ import { IMessage } from '../interfaces/message';
3
+ import { CustomLogger } from '../utils/custom-logger';
4
4
  /**
5
5
  * clase para manejar los errores de la aplicación
6
6
  *
@@ -1,6 +1,6 @@
1
- export * from "./errors";
2
- export * from "./interfaces";
3
- export * from "./middleware";
4
- export * from "./utils";
5
- export * from "./services";
1
+ export * from './errors';
2
+ export * from './interfaces';
3
+ export * from './middleware';
4
+ export * from './utils';
5
+ export * from './services';
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- export type { ApiResponse } from "./api-response";
2
- export type { IMessage } from "./message";
3
- export type { RefreshState } from "../../core/utils/custom-cache";
1
+ export type { ApiResponse } from './api-response';
2
+ export type { IMessage } from './message';
3
+ export type { RefreshState } from '../../core/utils/custom-cache';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,8 +1,8 @@
1
- import { Observable } from "rxjs";
2
- import type { NextApiRequest, NextApiResponse } from "next";
3
- import type { IMessage } from "../interfaces/message";
4
- import { CustomEncrypter } from "../utils/custom-encrypter";
5
- import type { Session } from "next-auth";
1
+ import { Observable } from 'rxjs';
2
+ import { NextApiRequest, NextApiResponse } from 'next';
3
+ import { IMessage } from '../interfaces/message';
4
+ import { CustomEncrypter } from '../utils/custom-encrypter';
5
+ import { Session } from 'next-auth';
6
6
  export declare class ApiMiddleware<TRes, TData = {}> extends CustomEncrypter {
7
7
  protected uuid: string;
8
8
  private session;
@@ -1,2 +1,2 @@
1
- export * from "./service-token";
1
+ export * from './service-token';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import { CustomLogger } from "../utils/custom-logger";
1
+ import { CustomLogger } from '../utils/custom-logger';
2
2
  export declare class ServiceToken extends CustomLogger {
3
3
  private API_AUTH_BACK_URL;
4
4
  private API_AUTH_BACK_USERNAME_AUTH;
@@ -6,6 +6,6 @@ export declare class ServiceToken extends CustomLogger {
6
6
  private headers;
7
7
  private ID;
8
8
  constructor();
9
- get(): import("rxjs").Observable<any>;
9
+ get(): import('rxjs').Observable<any>;
10
10
  }
11
11
  //# sourceMappingURL=service-token.d.ts.map
@@ -1,5 +1,5 @@
1
- import { ITerminal } from "./interfaces";
2
- import { CustomEncrypter } from "../custom-encrypter";
1
+ import { ITerminal } from './interfaces';
2
+ import { CustomEncrypter } from '../custom-encrypter';
3
3
  declare class Terminal extends CustomEncrypter {
4
4
  private readonly redisCacheHandler;
5
5
  private getIdApi;
@@ -1,7 +1,7 @@
1
- import { Observable } from "rxjs";
2
- import type { ApiResponse, TypesDataResponse } from "../../interfaces/api-response";
3
- import { Method } from "../../interfaces/method";
4
- import { CustomHeader } from "../custom-header";
1
+ import { Observable } from 'rxjs';
2
+ import { ApiResponse, TypesDataResponse } from '../../interfaces/api-response';
3
+ import { Method } from '../../interfaces/method';
4
+ import { CustomHeader } from '../custom-header';
5
5
  export declare class FetchServiceBE<TRes, TData = {}, TypeDataResponse extends TypesDataResponse = "OBJECT", Relationships = {}> extends CustomHeader {
6
6
  private apiUrl;
7
7
  private method;
@@ -1,6 +1,6 @@
1
- import { Observable } from "rxjs";
2
- import { Method } from "../../interfaces/method";
3
- import { CustomEncoder } from "../custom-encoder";
1
+ import { Observable } from 'rxjs';
2
+ import { Method } from '../../interfaces/method';
3
+ import { CustomEncoder } from '../custom-encoder';
4
4
  export declare class FetchServiceFE<TRes, TData = {}> extends CustomEncoder {
5
5
  private apiUrl;
6
6
  private method;
@@ -1,3 +1,3 @@
1
- export { FetchServiceBE } from "./fetch-service-be";
2
- export { FetchServiceFE } from "./fetch-service-fe";
1
+ export { FetchServiceBE } from './fetch-service-be';
2
+ export { FetchServiceFE } from './fetch-service-fe';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { Adapter } from "next-auth/adapters";
1
+ import { Adapter } from 'next-auth/adapters';
2
2
  export interface IORedisAdapterOptions {
3
3
  baseKeyPrefix?: string;
4
4
  userKeyPrefix?: string;
@@ -1,4 +1,4 @@
1
- import { CustomEncrypter } from "./custom-encrypter";
1
+ import { CustomEncrypter } from './custom-encrypter';
2
2
  export declare enum RefreshState {
3
3
  NOT_REFRESH = "NOT_REFRESH",
4
4
  REFRESH = "REFRESH"
@@ -1,4 +1,4 @@
1
- import { CustomLogger } from "./custom-logger";
1
+ import { CustomLogger } from './custom-logger';
2
2
  export declare class CustomEncoder extends CustomLogger {
3
3
  encode<T>(data: T, uuid?: string): string;
4
4
  decode<T>(data: string | T | {
@@ -1,4 +1,4 @@
1
- import { CustomEncoder } from "./custom-encoder";
1
+ import { CustomEncoder } from './custom-encoder';
2
2
  export declare class CustomEncrypter extends CustomEncoder {
3
3
  private signatureKey;
4
4
  private generateKey;
@@ -1,5 +1,5 @@
1
- import { Observable } from "rxjs";
2
- import { CustomEncrypter } from "./custom-encrypter";
1
+ import { Observable } from 'rxjs';
2
+ import { CustomEncrypter } from './custom-encrypter';
3
3
  export declare class CustomHeader extends CustomEncrypter {
4
4
  private headers;
5
5
  constructor(headers?: HeadersInit);
@@ -1,4 +1,4 @@
1
- import Redis from "ioredis";
1
+ import { default as Redis } from 'ioredis';
2
2
  declare const CustomRedis: Redis;
3
3
  export default CustomRedis;
4
4
  //# sourceMappingURL=custom-redis.d.ts.map
@@ -1,2 +1,2 @@
1
- export * from "./escape_unicode";
1
+ export * from './escape_unicode';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,3 @@
1
- export * from "./api-request";
2
- export * from "./rxjs";
1
+ export * from './api-request';
2
+ export * from './rxjs';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- export { MessageHandler } from "./message-handler";
2
- export { RxSubjectManager } from "./rx-subject-manager";
3
- export { LoadingHandler } from "./loading-handler";
1
+ export { MessageHandler } from './message-handler';
2
+ export { RxSubjectManager } from './rx-subject-manager';
3
+ export { LoadingHandler } from './loading-handler';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import { RxSubjectManager } from "./rx-subject-manager";
1
+ import { RxSubjectManager } from './rx-subject-manager';
2
2
  export declare class LoadingHandler extends RxSubjectManager<boolean> {
3
3
  private static instance;
4
4
  private constructor();
@@ -1,5 +1,5 @@
1
- import { IMessage } from "src/core/interfaces/message";
2
- import { RxSubjectManager } from "./rx-subject-manager";
1
+ import { IMessage } from 'src/core/interfaces/message';
2
+ import { RxSubjectManager } from './rx-subject-manager';
3
3
  export declare class MessageHandler extends RxSubjectManager<IMessage> {
4
4
  private static instance;
5
5
  private constructor();
@@ -1,4 +1,4 @@
1
- import { Subject, Observable } from "rxjs";
1
+ import { Subject, Observable } from 'rxjs';
2
2
  export declare class RxSubjectManager<T> extends Observable<T> {
3
3
  private subject$;
4
4
  constructor();
@@ -1,8 +1,8 @@
1
- var J = Object.defineProperty;
2
- var V = (r, t, e) => t in r ? J(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e;
3
- var b = (r, t, e) => (V(r, typeof t != "symbol" ? t + "" : t, e), e);
4
- import { switchMap as L, of as k, catchError as q } from "rxjs";
5
- import { CustomLogger as W } from "./mp-front-cli-logger.es.js";
1
+ var q = Object.defineProperty;
2
+ var W = (r, t, e) => t in r ? q(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e;
3
+ var m = (r, t, e) => (W(r, typeof t != "symbol" ? t + "" : t, e), e);
4
+ import { switchMap as j, of as L, catchError as Q } from "rxjs";
5
+ import { CustomLogger as X } from "./mp-front-cli-logger.es.js";
6
6
  var I = function(r, t) {
7
7
  return I = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, n) {
8
8
  e.__proto__ = n;
@@ -30,7 +30,7 @@ var w = function() {
30
30
  return t;
31
31
  }, w.apply(this, arguments);
32
32
  };
33
- function Q(r, t) {
33
+ function Z(r, t) {
34
34
  var e = {};
35
35
  for (var n in r)
36
36
  Object.prototype.hasOwnProperty.call(r, n) && t.indexOf(n) < 0 && (e[n] = r[n]);
@@ -39,21 +39,21 @@ function Q(r, t) {
39
39
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(r, n[i]) && (e[n[i]] = r[n[i]]);
40
40
  return e;
41
41
  }
42
- function X(r, t, e, n) {
42
+ function z(r, t, e, n) {
43
43
  function i(o) {
44
44
  return o instanceof e ? o : new e(function(u) {
45
45
  u(o);
46
46
  });
47
47
  }
48
48
  return new (e || (e = Promise))(function(o, u) {
49
- function a(f) {
49
+ function s(f) {
50
50
  try {
51
51
  c(n.next(f));
52
52
  } catch (y) {
53
53
  u(y);
54
54
  }
55
55
  }
56
- function s(f) {
56
+ function a(f) {
57
57
  try {
58
58
  c(n.throw(f));
59
59
  } catch (y) {
@@ -61,7 +61,7 @@ function X(r, t, e, n) {
61
61
  }
62
62
  }
63
63
  function c(f) {
64
- f.done ? o(f.value) : i(f.value).then(a, s);
64
+ f.done ? o(f.value) : i(f.value).then(s, a);
65
65
  }
66
66
  c((n = n.apply(r, t || [])).next());
67
67
  });
@@ -71,16 +71,16 @@ function F(r, t) {
71
71
  if (o[0] & 1)
72
72
  throw o[1];
73
73
  return o[1];
74
- }, trys: [], ops: [] }, n, i, o, u;
75
- return u = { next: a(0), throw: a(1), return: a(2) }, typeof Symbol == "function" && (u[Symbol.iterator] = function() {
74
+ }, trys: [], ops: [] }, n, i, o, u = Object.create((typeof Iterator == "function" ? Iterator : Object).prototype);
75
+ return u.next = s(0), u.throw = s(1), u.return = s(2), typeof Symbol == "function" && (u[Symbol.iterator] = function() {
76
76
  return this;
77
77
  }), u;
78
- function a(c) {
78
+ function s(c) {
79
79
  return function(f) {
80
- return s([c, f]);
80
+ return a([c, f]);
81
81
  };
82
82
  }
83
- function s(c) {
83
+ function a(c) {
84
84
  if (n)
85
85
  throw new TypeError("Generator is already executing.");
86
86
  for (; u && (u = 0, c[0] && (e = 0)), e; )
@@ -151,8 +151,8 @@ function g(r, t) {
151
151
  try {
152
152
  for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
153
153
  o.push(i.value);
154
- } catch (a) {
155
- u = { error: a };
154
+ } catch (s) {
155
+ u = { error: s };
156
156
  } finally {
157
157
  try {
158
158
  i && !i.done && (e = n.return) && e.call(n);
@@ -169,44 +169,49 @@ function T(r, t, e) {
169
169
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
170
170
  return r.concat(o || Array.prototype.slice.call(t));
171
171
  }
172
- function m(r) {
173
- return this instanceof m ? (this.v = r, this) : new m(r);
172
+ function A(r) {
173
+ return this instanceof A ? (this.v = r, this) : new A(r);
174
174
  }
175
- function Z(r, t, e) {
175
+ function N(r, t, e) {
176
176
  if (!Symbol.asyncIterator)
177
177
  throw new TypeError("Symbol.asyncIterator is not defined.");
178
178
  var n = e.apply(r, t || []), i, o = [];
179
- return i = {}, u("next"), u("throw"), u("return"), i[Symbol.asyncIterator] = function() {
179
+ return i = Object.create((typeof AsyncIterator == "function" ? AsyncIterator : Object).prototype), s("next"), s("throw"), s("return", u), i[Symbol.asyncIterator] = function() {
180
180
  return this;
181
181
  }, i;
182
182
  function u(l) {
183
- n[l] && (i[l] = function(d) {
184
- return new Promise(function(A, p) {
185
- o.push([l, d, A, p]) > 1 || a(l, d);
183
+ return function(v) {
184
+ return Promise.resolve(v).then(l, y);
185
+ };
186
+ }
187
+ function s(l, v) {
188
+ n[l] && (i[l] = function(h) {
189
+ return new Promise(function(J, V) {
190
+ o.push([l, h, J, V]) > 1 || a(l, h);
186
191
  });
187
- });
192
+ }, v && (i[l] = v(i[l])));
188
193
  }
189
- function a(l, d) {
194
+ function a(l, v) {
190
195
  try {
191
- s(n[l](d));
192
- } catch (A) {
193
- y(o[0][3], A);
196
+ c(n[l](v));
197
+ } catch (h) {
198
+ d(o[0][3], h);
194
199
  }
195
200
  }
196
- function s(l) {
197
- l.value instanceof m ? Promise.resolve(l.value.v).then(c, f) : y(o[0][2], l);
198
- }
199
201
  function c(l) {
200
- a("next", l);
202
+ l.value instanceof A ? Promise.resolve(l.value.v).then(f, y) : d(o[0][2], l);
201
203
  }
202
204
  function f(l) {
205
+ a("next", l);
206
+ }
207
+ function y(l) {
203
208
  a("throw", l);
204
209
  }
205
- function y(l, d) {
206
- l(d), o.shift(), o.length && a(o[0][0], o[0][1]);
210
+ function d(l, v) {
211
+ l(v), o.shift(), o.length && a(o[0][0], o[0][1]);
207
212
  }
208
213
  }
209
- function z(r) {
214
+ function rr(r) {
210
215
  if (!Symbol.asyncIterator)
211
216
  throw new TypeError("Symbol.asyncIterator is not defined.");
212
217
  var t = r[Symbol.asyncIterator], e;
@@ -215,27 +220,27 @@ function z(r) {
215
220
  }, e);
216
221
  function n(o) {
217
222
  e[o] = r[o] && function(u) {
218
- return new Promise(function(a, s) {
219
- u = r[o](u), i(a, s, u.done, u.value);
223
+ return new Promise(function(s, a) {
224
+ u = r[o](u), i(s, a, u.done, u.value);
220
225
  });
221
226
  };
222
227
  }
223
- function i(o, u, a, s) {
224
- Promise.resolve(s).then(function(c) {
225
- o({ value: c, done: a });
228
+ function i(o, u, s, a) {
229
+ Promise.resolve(a).then(function(c) {
230
+ o({ value: c, done: s });
226
231
  }, u);
227
232
  }
228
233
  }
229
- function h(r) {
234
+ function p(r) {
230
235
  return typeof r == "function";
231
236
  }
232
- function N(r) {
237
+ function er(r) {
233
238
  var t = function(n) {
234
239
  Error.call(n), n.stack = new Error().stack;
235
240
  }, e = r(t);
236
241
  return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
237
242
  }
238
- var E = N(function(r) {
243
+ var E = er(function(r) {
239
244
  return function(e) {
240
245
  r(this), this.message = e ? e.length + ` errors occurred during unsubscription:
241
246
  ` + e.map(function(n, i) {
@@ -244,7 +249,7 @@ var E = N(function(r) {
244
249
  `) : "", this.name = "UnsubscriptionError", this.errors = e;
245
250
  };
246
251
  });
247
- function C(r, t) {
252
+ function k(r, t) {
248
253
  if (r) {
249
254
  var e = r.indexOf(t);
250
255
  0 <= e && r.splice(e, 1);
@@ -262,15 +267,15 @@ var R = function() {
262
267
  if (u)
263
268
  if (this._parentage = null, Array.isArray(u))
264
269
  try {
265
- for (var a = S(u), s = a.next(); !s.done; s = a.next()) {
266
- var c = s.value;
270
+ for (var s = S(u), a = s.next(); !a.done; a = s.next()) {
271
+ var c = a.value;
267
272
  c.remove(this);
268
273
  }
269
- } catch (p) {
270
- t = { error: p };
274
+ } catch (h) {
275
+ t = { error: h };
271
276
  } finally {
272
277
  try {
273
- s && !s.done && (e = a.return) && e.call(a);
278
+ a && !a.done && (e = s.return) && e.call(s);
274
279
  } finally {
275
280
  if (t)
276
281
  throw t.error;
@@ -279,29 +284,29 @@ var R = function() {
279
284
  else
280
285
  u.remove(this);
281
286
  var f = this.initialTeardown;
282
- if (h(f))
287
+ if (p(f))
283
288
  try {
284
289
  f();
285
- } catch (p) {
286
- o = p instanceof E ? p.errors : [p];
290
+ } catch (h) {
291
+ o = h instanceof E ? h.errors : [h];
287
292
  }
288
293
  var y = this._finalizers;
289
294
  if (y) {
290
295
  this._finalizers = null;
291
296
  try {
292
- for (var l = S(y), d = l.next(); !d.done; d = l.next()) {
293
- var A = d.value;
297
+ for (var d = S(y), l = d.next(); !l.done; l = d.next()) {
298
+ var v = l.value;
294
299
  try {
295
- j(A);
296
- } catch (p) {
297
- o = o ?? [], p instanceof E ? o = T(T([], g(o)), g(p.errors)) : o.push(p);
300
+ C(v);
301
+ } catch (h) {
302
+ o = o ?? [], h instanceof E ? o = T(T([], g(o)), g(h.errors)) : o.push(h);
298
303
  }
299
304
  }
300
- } catch (p) {
301
- n = { error: p };
305
+ } catch (h) {
306
+ n = { error: h };
302
307
  } finally {
303
308
  try {
304
- d && !d.done && (i = l.return) && i.call(l);
309
+ l && !l.done && (i = d.return) && i.call(d);
305
310
  } finally {
306
311
  if (n)
307
312
  throw n.error;
@@ -315,7 +320,7 @@ var R = function() {
315
320
  var e;
316
321
  if (t && t !== this)
317
322
  if (this.closed)
318
- j(t);
323
+ C(t);
319
324
  else {
320
325
  if (t instanceof r) {
321
326
  if (t.closed || t._hasParent(this))
@@ -332,10 +337,10 @@ var R = function() {
332
337
  this._parentage = Array.isArray(e) ? (e.push(t), e) : e ? [e, t] : t;
333
338
  }, r.prototype._removeParent = function(t) {
334
339
  var e = this._parentage;
335
- e === t ? this._parentage = null : Array.isArray(e) && C(e, t);
340
+ e === t ? this._parentage = null : Array.isArray(e) && k(e, t);
336
341
  }, r.prototype.remove = function(t) {
337
342
  var e = this._finalizers;
338
- e && C(e, t), t instanceof r && t._removeParent(this);
343
+ e && k(e, t), t instanceof r && t._removeParent(this);
339
344
  }, r.EMPTY = function() {
340
345
  var t = new r();
341
346
  return t.closed = !0, t;
@@ -343,10 +348,10 @@ var R = function() {
343
348
  }();
344
349
  R.EMPTY;
345
350
  function M(r) {
346
- return r instanceof R || r && "closed" in r && h(r.remove) && h(r.add) && h(r.unsubscribe);
351
+ return r instanceof R || r && "closed" in r && p(r.remove) && p(r.add) && p(r.unsubscribe);
347
352
  }
348
- function j(r) {
349
- h(r) ? r() : r.unsubscribe();
353
+ function C(r) {
354
+ p(r) ? r() : r.unsubscribe();
350
355
  }
351
356
  var Y = {
352
357
  onUnhandledError: null,
@@ -354,37 +359,37 @@ var Y = {
354
359
  Promise: void 0,
355
360
  useDeprecatedSynchronousErrorHandling: !1,
356
361
  useDeprecatedNextContext: !1
357
- }, U = {
362
+ }, O = {
358
363
  setTimeout: function(r, t) {
359
364
  for (var e = [], n = 2; n < arguments.length; n++)
360
365
  e[n - 2] = arguments[n];
361
- var i = U.delegate;
366
+ var i = O.delegate;
362
367
  return i != null && i.setTimeout ? i.setTimeout.apply(i, T([r, t], g(e))) : setTimeout.apply(void 0, T([r, t], g(e)));
363
368
  },
364
369
  clearTimeout: function(r) {
365
- var t = U.delegate;
370
+ var t = O.delegate;
366
371
  return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(r);
367
372
  },
368
373
  delegate: void 0
369
374
  };
370
375
  function $(r) {
371
- U.setTimeout(function() {
376
+ O.setTimeout(function() {
372
377
  throw r;
373
378
  });
374
379
  }
375
380
  function D() {
376
381
  }
377
- function rr(r) {
382
+ function tr(r) {
378
383
  r();
379
384
  }
380
385
  var H = function(r) {
381
386
  x(t, r);
382
387
  function t(e) {
383
388
  var n = r.call(this) || this;
384
- return n.isStopped = !1, e ? (n.destination = e, M(e) && e.add(n)) : n.destination = or, n;
389
+ return n.isStopped = !1, e ? (n.destination = e, M(e) && e.add(n)) : n.destination = ur, n;
385
390
  }
386
391
  return t.create = function(e, n, i) {
387
- return new O(e, n, i);
392
+ return new U(e, n, i);
388
393
  }, t.prototype.next = function(e) {
389
394
  this.isStopped || this._next(e);
390
395
  }, t.prototype.error = function(e) {
@@ -408,11 +413,11 @@ var H = function(r) {
408
413
  this.unsubscribe();
409
414
  }
410
415
  }, t;
411
- }(R), er = Function.prototype.bind;
416
+ }(R), nr = Function.prototype.bind;
412
417
  function P(r, t) {
413
- return er.call(r, t);
418
+ return nr.call(r, t);
414
419
  }
415
- var tr = function() {
420
+ var or = function() {
416
421
  function r(t) {
417
422
  this.partialObserver = t;
418
423
  }
@@ -443,56 +448,56 @@ var tr = function() {
443
448
  _(e);
444
449
  }
445
450
  }, r;
446
- }(), O = function(r) {
451
+ }(), U = function(r) {
447
452
  x(t, r);
448
453
  function t(e, n, i) {
449
454
  var o = r.call(this) || this, u;
450
- if (h(e) || !e)
455
+ if (p(e) || !e)
451
456
  u = {
452
457
  next: e ?? void 0,
453
458
  error: n ?? void 0,
454
459
  complete: i ?? void 0
455
460
  };
456
461
  else {
457
- var a;
458
- o && Y.useDeprecatedNextContext ? (a = Object.create(e), a.unsubscribe = function() {
462
+ var s;
463
+ o && Y.useDeprecatedNextContext ? (s = Object.create(e), s.unsubscribe = function() {
459
464
  return o.unsubscribe();
460
465
  }, u = {
461
- next: e.next && P(e.next, a),
462
- error: e.error && P(e.error, a),
463
- complete: e.complete && P(e.complete, a)
466
+ next: e.next && P(e.next, s),
467
+ error: e.error && P(e.error, s),
468
+ complete: e.complete && P(e.complete, s)
464
469
  }) : u = e;
465
470
  }
466
- return o.destination = new tr(u), o;
471
+ return o.destination = new or(u), o;
467
472
  }
468
473
  return t;
469
474
  }(H);
470
475
  function _(r) {
471
476
  $(r);
472
477
  }
473
- function nr(r) {
478
+ function ir(r) {
474
479
  throw r;
475
480
  }
476
- var or = {
481
+ var ur = {
477
482
  closed: !0,
478
483
  next: D,
479
- error: nr,
484
+ error: ir,
480
485
  complete: D
481
486
  };
482
- function ir(r, t, e, n, i) {
483
- return new ur(r, t, e, n, i);
487
+ function cr(r, t, e, n, i) {
488
+ return new ar(r, t, e, n, i);
484
489
  }
485
- var ur = function(r) {
490
+ var ar = function(r) {
486
491
  x(t, r);
487
- function t(e, n, i, o, u, a) {
488
- var s = r.call(this, e) || this;
489
- return s.onFinalize = u, s.shouldUnsubscribe = a, s._next = n ? function(c) {
492
+ function t(e, n, i, o, u, s) {
493
+ var a = r.call(this, e) || this;
494
+ return a.onFinalize = u, a.shouldUnsubscribe = s, a._next = n ? function(c) {
490
495
  try {
491
496
  n(c);
492
497
  } catch (f) {
493
498
  e.error(f);
494
499
  }
495
- } : r.prototype._next, s._error = o ? function(c) {
500
+ } : r.prototype._next, a._error = o ? function(c) {
496
501
  try {
497
502
  o(c);
498
503
  } catch (f) {
@@ -500,7 +505,7 @@ var ur = function(r) {
500
505
  } finally {
501
506
  this.unsubscribe();
502
507
  }
503
- } : r.prototype._error, s._complete = i ? function() {
508
+ } : r.prototype._error, a._complete = i ? function() {
504
509
  try {
505
510
  i();
506
511
  } catch (c) {
@@ -508,7 +513,7 @@ var ur = function(r) {
508
513
  } finally {
509
514
  this.unsubscribe();
510
515
  }
511
- } : r.prototype._complete, s;
516
+ } : r.prototype._complete, a;
512
517
  }
513
518
  return t.prototype.unsubscribe = function() {
514
519
  var e;
@@ -520,17 +525,17 @@ var ur = function(r) {
520
525
  }(H), B = function() {
521
526
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
522
527
  }();
523
- function cr(r) {
528
+ function sr(r) {
524
529
  return r;
525
530
  }
526
- function ar(r) {
527
- return r.length === 0 ? cr : r.length === 1 ? r[0] : function(e) {
531
+ function lr(r) {
532
+ return r.length === 0 ? sr : r.length === 1 ? r[0] : function(e) {
528
533
  return r.reduce(function(n, i) {
529
534
  return i(n);
530
535
  }, e);
531
536
  };
532
537
  }
533
- var v = function() {
538
+ var b = function() {
534
539
  function r(t) {
535
540
  t && (this._subscribe = t);
536
541
  }
@@ -538,10 +543,10 @@ var v = function() {
538
543
  var e = new r();
539
544
  return e.source = this, e.operator = t, e;
540
545
  }, r.prototype.subscribe = function(t, e, n) {
541
- var i = this, o = lr(t) ? t : new O(t, e, n);
542
- return rr(function() {
543
- var u = i, a = u.operator, s = u.source;
544
- o.add(a ? a.call(o, s) : s ? i._subscribe(o) : i._trySubscribe(o));
546
+ var i = this, o = hr(t) ? t : new U(t, e, n);
547
+ return tr(function() {
548
+ var u = i, s = u.operator, a = u.source;
549
+ o.add(s ? s.call(o, a) : a ? i._subscribe(o) : i._trySubscribe(o));
545
550
  }), o;
546
551
  }, r.prototype._trySubscribe = function(t) {
547
552
  try {
@@ -552,12 +557,12 @@ var v = function() {
552
557
  }, r.prototype.forEach = function(t, e) {
553
558
  var n = this;
554
559
  return e = K(e), new e(function(i, o) {
555
- var u = new O({
556
- next: function(a) {
560
+ var u = new U({
561
+ next: function(s) {
557
562
  try {
558
- t(a);
559
- } catch (s) {
560
- o(s), u.unsubscribe();
563
+ t(s);
564
+ } catch (a) {
565
+ o(a), u.unsubscribe();
561
566
  }
562
567
  },
563
568
  error: o,
@@ -573,7 +578,7 @@ var v = function() {
573
578
  }, r.prototype.pipe = function() {
574
579
  for (var t = [], e = 0; e < arguments.length; e++)
575
580
  t[e] = arguments[e];
576
- return ar(t)(this);
581
+ return lr(t)(this);
577
582
  }, r.prototype.toPromise = function(t) {
578
583
  var e = this;
579
584
  return t = K(t), new t(function(n, i) {
@@ -594,36 +599,36 @@ function K(r) {
594
599
  var t;
595
600
  return (t = r ?? Y.Promise) !== null && t !== void 0 ? t : Promise;
596
601
  }
597
- function sr(r) {
598
- return r && h(r.next) && h(r.error) && h(r.complete);
602
+ function fr(r) {
603
+ return r && p(r.next) && p(r.error) && p(r.complete);
599
604
  }
600
- function lr(r) {
601
- return r && r instanceof H || sr(r) && M(r);
605
+ function hr(r) {
606
+ return r && r instanceof H || fr(r) && M(r);
602
607
  }
603
- var fr = function(r) {
608
+ var pr = function(r) {
604
609
  return r && typeof r.length == "number" && typeof r != "function";
605
610
  };
606
- function hr(r) {
607
- return h(r == null ? void 0 : r.then);
608
- }
609
- function pr(r) {
610
- return h(r[B]);
611
- }
612
611
  function yr(r) {
613
- return Symbol.asyncIterator && h(r == null ? void 0 : r[Symbol.asyncIterator]);
612
+ return p(r == null ? void 0 : r.then);
614
613
  }
615
614
  function dr(r) {
615
+ return p(r[B]);
616
+ }
617
+ function vr(r) {
618
+ return Symbol.asyncIterator && p(r == null ? void 0 : r[Symbol.asyncIterator]);
619
+ }
620
+ function br(r) {
616
621
  return new TypeError("You provided " + (r !== null && typeof r == "object" ? "an invalid object" : "'" + r + "'") + " where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.");
617
622
  }
618
- function vr() {
623
+ function mr() {
619
624
  return typeof Symbol != "function" || !Symbol.iterator ? "@@iterator" : Symbol.iterator;
620
625
  }
621
- var br = vr();
622
- function mr(r) {
623
- return h(r == null ? void 0 : r[br]);
626
+ var Ar = mr();
627
+ function Sr(r) {
628
+ return p(r == null ? void 0 : r[Ar]);
624
629
  }
625
- function Ar(r) {
626
- return Z(this, arguments, function() {
630
+ function _r(r) {
631
+ return N(this, arguments, function() {
627
632
  var e, n, i, o;
628
633
  return F(this, function(u) {
629
634
  switch (u.label) {
@@ -632,13 +637,13 @@ function Ar(r) {
632
637
  case 1:
633
638
  u.trys.push([1, , 9, 10]), u.label = 2;
634
639
  case 2:
635
- return [4, m(e.read())];
640
+ return [4, A(e.read())];
636
641
  case 3:
637
- return n = u.sent(), i = n.value, o = n.done, o ? [4, m(void 0)] : [3, 5];
642
+ return n = u.sent(), i = n.value, o = n.done, o ? [4, A(void 0)] : [3, 5];
638
643
  case 4:
639
644
  return [2, u.sent()];
640
645
  case 5:
641
- return [4, m(i)];
646
+ return [4, A(i)];
642
647
  case 6:
643
648
  return [4, u.sent()];
644
649
  case 7:
@@ -653,45 +658,45 @@ function Ar(r) {
653
658
  });
654
659
  });
655
660
  }
656
- function Sr(r) {
657
- return h(r == null ? void 0 : r.getReader);
661
+ function wr(r) {
662
+ return p(r == null ? void 0 : r.getReader);
658
663
  }
659
- function _r(r) {
660
- if (r instanceof v)
664
+ function gr(r) {
665
+ if (r instanceof b)
661
666
  return r;
662
667
  if (r != null) {
663
- if (pr(r))
664
- return wr(r);
665
- if (fr(r))
666
- return gr(r);
667
- if (hr(r))
668
+ if (dr(r))
668
669
  return Tr(r);
670
+ if (pr(r))
671
+ return Er(r);
669
672
  if (yr(r))
673
+ return Pr(r);
674
+ if (vr(r))
670
675
  return G(r);
671
- if (mr(r))
672
- return Er(r);
673
676
  if (Sr(r))
674
- return Pr(r);
677
+ return Ir(r);
678
+ if (wr(r))
679
+ return Or(r);
675
680
  }
676
- throw dr(r);
681
+ throw br(r);
677
682
  }
678
- function wr(r) {
679
- return new v(function(t) {
683
+ function Tr(r) {
684
+ return new b(function(t) {
680
685
  var e = r[B]();
681
- if (h(e.subscribe))
686
+ if (p(e.subscribe))
682
687
  return e.subscribe(t);
683
688
  throw new TypeError("Provided object does not correctly implement Symbol.observable");
684
689
  });
685
690
  }
686
- function gr(r) {
687
- return new v(function(t) {
691
+ function Er(r) {
692
+ return new b(function(t) {
688
693
  for (var e = 0; e < r.length && !t.closed; e++)
689
694
  t.next(r[e]);
690
695
  t.complete();
691
696
  });
692
697
  }
693
- function Tr(r) {
694
- return new v(function(t) {
698
+ function Pr(r) {
699
+ return new b(function(t) {
695
700
  r.then(function(e) {
696
701
  t.closed || (t.next(e), t.complete());
697
702
  }, function(e) {
@@ -699,8 +704,8 @@ function Tr(r) {
699
704
  }).then(null, $);
700
705
  });
701
706
  }
702
- function Er(r) {
703
- return new v(function(t) {
707
+ function Ir(r) {
708
+ return new b(function(t) {
704
709
  var e, n;
705
710
  try {
706
711
  for (var i = S(r), o = i.next(); !o.done; o = i.next()) {
@@ -708,8 +713,8 @@ function Er(r) {
708
713
  if (t.next(u), t.closed)
709
714
  return;
710
715
  }
711
- } catch (a) {
712
- e = { error: a };
716
+ } catch (s) {
717
+ e = { error: s };
713
718
  } finally {
714
719
  try {
715
720
  o && !o.done && (n = i.return) && n.call(i);
@@ -722,41 +727,41 @@ function Er(r) {
722
727
  });
723
728
  }
724
729
  function G(r) {
725
- return new v(function(t) {
726
- Ir(r, t).catch(function(e) {
730
+ return new b(function(t) {
731
+ Ur(r, t).catch(function(e) {
727
732
  return t.error(e);
728
733
  });
729
734
  });
730
735
  }
731
- function Pr(r) {
732
- return G(Ar(r));
736
+ function Or(r) {
737
+ return G(_r(r));
733
738
  }
734
- function Ir(r, t) {
739
+ function Ur(r, t) {
735
740
  var e, n, i, o;
736
- return X(this, void 0, void 0, function() {
737
- var u, a;
738
- return F(this, function(s) {
739
- switch (s.label) {
741
+ return z(this, void 0, void 0, function() {
742
+ var u, s;
743
+ return F(this, function(a) {
744
+ switch (a.label) {
740
745
  case 0:
741
- s.trys.push([0, 5, 6, 11]), e = z(r), s.label = 1;
746
+ a.trys.push([0, 5, 6, 11]), e = rr(r), a.label = 1;
742
747
  case 1:
743
748
  return [4, e.next()];
744
749
  case 2:
745
- if (n = s.sent(), !!n.done)
750
+ if (n = a.sent(), !!n.done)
746
751
  return [3, 4];
747
752
  if (u = n.value, t.next(u), t.closed)
748
753
  return [2];
749
- s.label = 3;
754
+ a.label = 3;
750
755
  case 3:
751
756
  return [3, 1];
752
757
  case 4:
753
758
  return [3, 11];
754
759
  case 5:
755
- return a = s.sent(), i = { error: a }, [3, 11];
760
+ return s = a.sent(), i = { error: s }, [3, 11];
756
761
  case 6:
757
- return s.trys.push([6, , 9, 10]), n && !n.done && (o = e.return) ? [4, o.call(e)] : [3, 8];
762
+ return a.trys.push([6, , 9, 10]), n && !n.done && (o = e.return) ? [4, o.call(e)] : [3, 8];
758
763
  case 7:
759
- s.sent(), s.label = 8;
764
+ a.sent(), a.label = 8;
760
765
  case 8:
761
766
  return [3, 10];
762
767
  case 9:
@@ -771,49 +776,49 @@ function Ir(r, t) {
771
776
  });
772
777
  });
773
778
  }
774
- function Ur(r, t) {
779
+ function xr(r, t) {
775
780
  t === void 0 && (t = {});
776
- var e = t.selector, n = Q(t, ["selector"]);
777
- return new v(function(i) {
778
- var o = new AbortController(), u = o.signal, a = !0, s = n.signal;
779
- if (s)
780
- if (s.aborted)
781
+ var e = t.selector, n = Z(t, ["selector"]);
782
+ return new b(function(i) {
783
+ var o = new AbortController(), u = o.signal, s = !0, a = n.signal;
784
+ if (a)
785
+ if (a.aborted)
781
786
  o.abort();
782
787
  else {
783
788
  var c = function() {
784
789
  u.aborted || o.abort();
785
790
  };
786
- s.addEventListener("abort", c), i.add(function() {
787
- return s.removeEventListener("abort", c);
791
+ a.addEventListener("abort", c), i.add(function() {
792
+ return a.removeEventListener("abort", c);
788
793
  });
789
794
  }
790
- var f = w(w({}, n), { signal: u }), y = function(l) {
791
- a = !1, i.error(l);
795
+ var f = w(w({}, n), { signal: u }), y = function(d) {
796
+ s = !1, i.error(d);
792
797
  };
793
- return fetch(r, f).then(function(l) {
794
- e ? _r(e(l)).subscribe(ir(i, void 0, function() {
795
- a = !1, i.complete();
796
- }, y)) : (a = !1, i.next(l), i.complete());
798
+ return fetch(r, f).then(function(d) {
799
+ e ? gr(e(d)).subscribe(cr(i, void 0, function() {
800
+ s = !1, i.complete();
801
+ }, y)) : (s = !1, i.next(d), i.complete());
797
802
  }).catch(y), function() {
798
- a && o.abort();
803
+ s && o.abort();
799
804
  };
800
805
  });
801
806
  }
802
- class Hr extends W {
807
+ class jr extends X {
803
808
  constructor() {
804
809
  super();
805
- b(this, "API_AUTH_BACK_URL");
806
- b(this, "API_AUTH_BACK_USERNAME_AUTH");
807
- b(this, "API_AUTH_BACK_PASSWORD_AUTH");
808
- b(this, "headers");
809
- b(this, "ID", process.env.ID_FRONT ?? "NOT_AVAILABLE");
810
+ m(this, "API_AUTH_BACK_URL");
811
+ m(this, "API_AUTH_BACK_USERNAME_AUTH");
812
+ m(this, "API_AUTH_BACK_PASSWORD_AUTH");
813
+ m(this, "headers");
814
+ m(this, "ID", process.env.ID_FRONT ?? "NOT_AVAILABLE");
810
815
  this.API_AUTH_BACK_URL = process.env.API_AUTH_BACK_URL, this.API_AUTH_BACK_USERNAME_AUTH = process.env.API_AUTH_BACK_USERNAME_AUTH, this.API_AUTH_BACK_PASSWORD_AUTH = process.env.API_AUTH_BACK_PASSWORD_AUTH, this.headers = {
811
816
  Accept: "application/json",
812
817
  "Content-Type": "application/vnd.api+json"
813
818
  };
814
819
  }
815
820
  get() {
816
- return this.logDebug("get ServiceToken"), Ur(this.API_AUTH_BACK_URL, {
821
+ return this.logDebug("get ServiceToken"), xr(this.API_AUTH_BACK_URL, {
817
822
  method: "POST",
818
823
  headers: this.headers,
819
824
  body: JSON.stringify({
@@ -827,18 +832,18 @@ class Hr extends W {
827
832
  }
828
833
  })
829
834
  }).pipe(
830
- L((e) => e.json()),
831
- L((e) => {
835
+ j((e) => e.json()),
836
+ j((e) => {
832
837
  var n;
833
838
  return this.logDebug(
834
839
  `ServiceToken <URL>: \x1B[33m ${this.API_AUTH_BACK_URL} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(this.headers)} \x1B[37m <BODY>: \x1B[33m ${JSON.stringify(e)} \x1B[37m`
835
- ), k(((n = e == null ? void 0 : e.data.attributes) == null ? void 0 : n.token) || "");
840
+ ), L(((n = e == null ? void 0 : e.data.attributes) == null ? void 0 : n.token) || "");
836
841
  }),
837
- q((e) => (this.logError(`ServiceToken ${e}`), k("")))
842
+ Q((e) => (this.logError(`ServiceToken ${e}`), L("")))
838
843
  );
839
844
  }
840
845
  }
841
846
  export {
842
- Hr as S,
843
- Ur as f
847
+ jr as S,
848
+ xr as f
844
849
  };
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * from "./core";
1
+ export * from './core';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,3 @@
1
- export { default as calculatorEN_EN } from "./en_EN";
2
- export { default as calculatorES_MX } from "./es_MX";
1
+ export { default as calculatorEN_EN } from './en_EN';
2
+ export { default as calculatorES_MX } from './es_MX';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,3 @@
1
- export { default as enrollmentEN_EN } from "./en_EN";
2
- export { default as enrollmentES_MX } from "./es_MX";
1
+ export { default as enrollmentEN_EN } from './en_EN';
2
+ export { default as enrollmentES_MX } from './es_MX';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,3 @@
1
- export { default as helpdeskEN_EN } from "./en_EN";
2
- export { default as helpdeskES_MX } from "./en_MX";
1
+ export { default as helpdeskEN_EN } from './en_EN';
2
+ export { default as helpdeskES_MX } from './en_MX';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,3 @@
1
- export { default as errorEN_EN } from "./en_EN";
2
- export { default as errorES_MX } from "./es_MX";
1
+ export { default as errorEN_EN } from './en_EN';
2
+ export { default as errorES_MX } from './es_MX';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,2 +1,2 @@
1
- export * from "./errors";
1
+ export * from './errors';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,3 @@
1
- import i18n from "i18next";
1
+ import { default as i18n } from 'i18next';
2
2
  export default i18n;
3
3
  //# sourceMappingURL=i18n.d.ts.map
@@ -1,5 +1,5 @@
1
- export * from "./common";
2
- export * from "./validator";
3
- export { default as i18n } from "../lang/i18n";
4
- export { errorES_MX } from "./common";
1
+ export * from './common';
2
+ export * from './validator';
3
+ export { default as i18n } from '../lang/i18n';
4
+ export { errorES_MX } from './common';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,3 @@
1
- export { default as validatorEN_EN } from "./en_EN";
2
- export { default as validatorES_MX } from "./es_MX";
1
+ export { default as validatorEN_EN } from './en_EN';
2
+ export { default as validatorES_MX } from './es_MX';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,6 +1,6 @@
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
- import { S as H } from "./index-def0b487.js";
3
+ import { S as H } from "./index-a6a5a26e.js";
4
4
  import "./i18n-3dcfe704.js";
5
5
  import "i18next";
6
6
  import "./mp-front-cli-logger.es.js";
@@ -3,8 +3,8 @@ var f = (t, r, e) => r in t ? u(t, r, { enumerable: !0, configurable: !0, writab
3
3
  var L = (t, r, e) => (f(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
5
  import { RxSubjectManager as Se } from "./mp-front-cli-utils-rxjs.es.js";
6
- import { f as c } from "./index-def0b487.js";
7
- import { S as ne } from "./index-def0b487.js";
6
+ import { f as c } from "./index-a6a5a26e.js";
7
+ import { S as ne } from "./index-a6a5a26e.js";
8
8
  import "./i18n-3dcfe704.js";
9
9
  import { t as S } from "i18next";
10
10
  import { CustomLogger as F } from "./mp-front-cli-logger.es.js";
@@ -497,7 +497,7 @@ const x = {
497
497
  title: "errors.PF-VALIDATE-CLIENTTYPE-003.title",
498
498
  message: "errors.PF-VALIDATE-CLIENTTYPE-003.message",
499
499
  level: "warning",
500
- code: 420,
500
+ code: 310,
501
501
  type: "modal"
502
502
  },
503
503
  "PF-VALIDATE-CLIENTTYPE-006": {
@@ -3,7 +3,7 @@ var d = (r, t, e) => t in r ? n(r, t, { enumerable: !0, configurable: !0, writab
3
3
  var a = (r, t, e) => (d(r, typeof t != "symbol" ? t + "" : t, e), e);
4
4
  import { switchMap as s, of as o } from "rxjs";
5
5
  import { CustomEncrypter as m } from "./mp-front-cli-encrypter.es.js";
6
- import { S as c } from "./index-def0b487.js";
6
+ import { S as c } from "./index-a6a5a26e.js";
7
7
  import "node-jose";
8
8
  import "crypto";
9
9
  import "./mp-front-cli-encoder.es.js";
@@ -1,4 +1,4 @@
1
- import { S as m } from "./index-def0b487.js";
1
+ import { S as m } from "./index-a6a5a26e.js";
2
2
  import "rxjs";
3
3
  import "./mp-front-cli-logger.es.js";
4
4
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mp-front-cli",
3
- "version": "0.0.139",
3
+ "version": "1.0.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {
@@ -84,8 +84,8 @@
84
84
  "eslint-config-prettier": "9.1.0",
85
85
  "eslint-plugin-prettier": "5.1.3",
86
86
  "typescript": "5.3.3",
87
- "vite": "^4.5.3",
88
- "vite-plugin-dts": "3.7.1",
87
+ "vite": "4.5.9",
88
+ "vite-plugin-dts": "4.5.0",
89
89
  "vite-tsconfig-paths": "4.2.2"
90
90
  }
91
91
  }