pangea-lib 4.0.512 → 4.0.513
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/main.cjs.js +2 -2
- package/dist/main.es.js +9 -9
- package/dist/types/i18n/i18n.d.ts +127 -127
- package/dist/types/i18n/messages/index.d.ts +2 -2
- package/dist/types/types/app-config.types.d.ts +2 -2
- package/package.json +1 -1
- /package/dist/types/api/i18n/{api-connections-error.i18n.d.ts → api-error.i18n.d.ts} +0 -0
- /package/dist/types/api/i18n/{api-connections-success.i18n.d.ts → api-success.i18n.d.ts} +0 -0
package/dist/main.es.js
CHANGED
|
@@ -1425,9 +1425,9 @@ const bT1 = {
|
|
|
1425
1425
|
alertInfo: _T1,
|
|
1426
1426
|
// notifications
|
|
1427
1427
|
notifications: wT1,
|
|
1428
|
-
// api
|
|
1429
|
-
|
|
1430
|
-
|
|
1428
|
+
// api
|
|
1429
|
+
apiError: HT1,
|
|
1430
|
+
apiSuccess: LT1,
|
|
1431
1431
|
// components
|
|
1432
1432
|
pgaButton: VT1,
|
|
1433
1433
|
pgaCalendar: ST1,
|
|
@@ -159503,7 +159503,7 @@ function Tv4(e, t, a, c) {
|
|
|
159503
159503
|
function Ev4(e, t) {
|
|
159504
159504
|
return e ? Array.isArray(t) ? t.map((a) => new e(a)) : new e(t) : t;
|
|
159505
159505
|
}
|
|
159506
|
-
const zp = J2("
|
|
159506
|
+
const zp = J2("apiError");
|
|
159507
159507
|
function Dv4(e) {
|
|
159508
159508
|
var c, n, r;
|
|
159509
159509
|
const t = (r = (n = (c = e.response) == null ? void 0 : c.data) == null ? void 0 : n.error) == null ? void 0 : r.errorCode;
|
|
@@ -159512,8 +159512,8 @@ function Dv4(e) {
|
|
|
159512
159512
|
return;
|
|
159513
159513
|
}
|
|
159514
159514
|
const a = xe.getConfig();
|
|
159515
|
-
if (a.i18n.
|
|
159516
|
-
D0.Add("danger", () => a.i18n.
|
|
159515
|
+
if (a.i18n.apiError(t)) {
|
|
159516
|
+
D0.Add("danger", () => a.i18n.apiError(t));
|
|
159517
159517
|
return;
|
|
159518
159518
|
}
|
|
159519
159519
|
if (zp(t)) {
|
|
@@ -159522,11 +159522,11 @@ function Dv4(e) {
|
|
|
159522
159522
|
}
|
|
159523
159523
|
D0.Add("danger", () => zp("INTERNAL_SERVER_ERROR"));
|
|
159524
159524
|
}
|
|
159525
|
-
const Mn1 = J2("
|
|
159525
|
+
const Mn1 = J2("apiSuccess");
|
|
159526
159526
|
function Ov4(e) {
|
|
159527
159527
|
const t = xe.getConfig();
|
|
159528
|
-
if (t.i18n.
|
|
159529
|
-
D0.Add("success", () => t.i18n.
|
|
159528
|
+
if (t.i18n.apiSuccess(e)) {
|
|
159529
|
+
D0.Add("success", () => t.i18n.apiSuccess(e));
|
|
159530
159530
|
return;
|
|
159531
159531
|
}
|
|
159532
159532
|
Mn1(e) && D0.Add("success", () => Mn1(e));
|