@arbocollab/arbo-plugin-item-table 0.1.107 → 0.1.108
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/lib/es/index.es.js +24 -23
- package/lib/umd/index.umd.js +2 -2
- package/package.json +1 -1
package/lib/es/index.es.js
CHANGED
|
@@ -36397,8 +36397,8 @@ function cv() {
|
|
|
36397
36397
|
}
|
|
36398
36398
|
function WI() {
|
|
36399
36399
|
try {
|
|
36400
|
-
var e = cv();
|
|
36401
|
-
return
|
|
36400
|
+
var e = sessionStorage.getItem("APP_DEBUG") ? "✅" : "", t = cv();
|
|
36401
|
+
return "".concat(t.t("errorMessages.fallback.unknownError"), " ").concat(e);
|
|
36402
36402
|
} catch {
|
|
36403
36403
|
return "An error occurred. Please try again or contact support.";
|
|
36404
36404
|
}
|
|
@@ -36462,38 +36462,39 @@ function jI(e, t) {
|
|
|
36462
36462
|
return null;
|
|
36463
36463
|
}
|
|
36464
36464
|
function Qne(e) {
|
|
36465
|
+
var t = sessionStorage.getItem("APP_DEBUG") ? "✅" : "";
|
|
36465
36466
|
if (!e)
|
|
36466
36467
|
return WI();
|
|
36467
|
-
var
|
|
36468
|
-
if (zI(
|
|
36469
|
-
var
|
|
36470
|
-
if (console.log("[Error Utils Debug]",
|
|
36471
|
-
return
|
|
36468
|
+
var n = e.code, o = e.error, s = e.details, r = e.message;
|
|
36469
|
+
if (zI(s) && s) {
|
|
36470
|
+
var i = jI(s, o == null ? void 0 : o.type);
|
|
36471
|
+
if (sessionStorage.getItem("APP_DEBUG") && console.log("[Error Utils Debug]", i), i)
|
|
36472
|
+
return n !== "" ? "[".concat(n, "] ").concat(i, " ").concat(t) : "".concat(i);
|
|
36472
36473
|
try {
|
|
36473
|
-
var
|
|
36474
|
-
return
|
|
36474
|
+
var a = cv();
|
|
36475
|
+
return a.t("errorMessages.GEN.validation_error");
|
|
36475
36476
|
} catch {
|
|
36476
36477
|
return "Validation error occurred.";
|
|
36477
36478
|
}
|
|
36478
36479
|
}
|
|
36479
|
-
if (
|
|
36480
|
-
var
|
|
36480
|
+
if (o && ld(o) === "object" && o.type && o.key) {
|
|
36481
|
+
var l = o.type.toUpperCase();
|
|
36481
36482
|
try {
|
|
36482
|
-
var
|
|
36483
|
-
if (
|
|
36484
|
-
var
|
|
36485
|
-
return
|
|
36483
|
+
var u, c, d, h = "errorMessages.".concat(l, ".").concat(o.key), f = cv(), p = ((u = f.messages) === null || u === void 0 ? void 0 : u.value) || f.messages, g = ((c = f.locale) === null || c === void 0 ? void 0 : c.value) || f.locale, v = (d = p[g]) === null || d === void 0 || (d = d.errorMessages) === null || d === void 0 || (d = d[l]) === null || d === void 0 ? void 0 : d[o.key];
|
|
36484
|
+
if (v && typeof v == "string") {
|
|
36485
|
+
var C = v;
|
|
36486
|
+
return s != null && s.context && (C = Jne(C, s.context), sessionStorage.getItem("APP_DEBUG") && console.log("[Error Utils Debug]", C)), n !== "" ? "[".concat(n, "] ").concat(C, " ").concat(t) : "".concat(C, " ").concat(t);
|
|
36486
36487
|
}
|
|
36487
|
-
} catch (
|
|
36488
|
-
console.error("[Error Utils Debug]",
|
|
36488
|
+
} catch (b) {
|
|
36489
|
+
console.error("[Error Utils Debug]", b);
|
|
36489
36490
|
}
|
|
36490
36491
|
}
|
|
36491
|
-
if (
|
|
36492
|
-
var
|
|
36493
|
-
if (
|
|
36494
|
-
return
|
|
36492
|
+
if (o && ld(o) !== "object" && zI(s)) {
|
|
36493
|
+
var S = jI(s);
|
|
36494
|
+
if (S)
|
|
36495
|
+
return n !== "" ? "[".concat(n, "] ").concat(S, " ").concat(t) : "".concat(S, " ").concat(t);
|
|
36495
36496
|
}
|
|
36496
|
-
return
|
|
36497
|
+
return r ? "".concat(r) : WI();
|
|
36497
36498
|
}
|
|
36498
36499
|
const vp = /* @__PURE__ */ Pu("toast", () => {
|
|
36499
36500
|
const e = (l) => {
|
|
@@ -87617,7 +87618,7 @@ const $De = {
|
|
|
87617
87618
|
"beta-tag": "_beta-tag_1sow5_56"
|
|
87618
87619
|
}, oTe = {
|
|
87619
87620
|
$style: nTe
|
|
87620
|
-
}, sTe = /* @__PURE__ */ _t(ZDe, [["__cssModules", oTe]]), i$ = "0.1.
|
|
87621
|
+
}, sTe = /* @__PURE__ */ _t(ZDe, [["__cssModules", oTe]]), i$ = "0.1.108", rTe = { key: 0 }, iTe = /* @__PURE__ */ it({
|
|
87621
87622
|
__name: "app",
|
|
87622
87623
|
setup(e) {
|
|
87623
87624
|
const t = Y(() => n.id.length === 0 || n.workspaceId.length === 0), n = ys({
|