oeos-components 0.0.86 → 0.0.87
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.
|
@@ -2302,16 +2302,23 @@ function Qu(e) {
|
|
|
2302
2302
|
return a.replace(/\B(?=(\d{3})+(?!\d))/g, ",") + o;
|
|
2303
2303
|
}
|
|
2304
2304
|
function Wu(e, n, a = "") {
|
|
2305
|
+
const o = new Error().stack.split(`
|
|
2306
|
+
`)[2].trim().match(/\((.*):(\d+):(\d+)\)/);
|
|
2307
|
+
let t = "";
|
|
2308
|
+
if (o && a) {
|
|
2309
|
+
const i = o[2];
|
|
2310
|
+
t = `vscode://file/Users/andy${a}:${i}`;
|
|
2311
|
+
}
|
|
2305
2312
|
if (Ve(n)) {
|
|
2306
|
-
let
|
|
2307
|
-
|
|
2313
|
+
let i = _(n);
|
|
2314
|
+
r(z4(i));
|
|
2308
2315
|
} else
|
|
2309
|
-
|
|
2310
|
-
function
|
|
2311
|
-
|
|
2316
|
+
r(n);
|
|
2317
|
+
function r(i) {
|
|
2318
|
+
c(i) === "object" || c(i) === "array" ? wa.log(`%c${e} `, "background:#fff; color: blue;font-size: 0.8em", JSON.stringify(i, null, " "), `${t}`) : wa.log(`%c${e} `, "background:#fff; color: blue;font-size: 0.8em", i, `${t}`);
|
|
2312
2319
|
}
|
|
2313
|
-
function
|
|
2314
|
-
return typeof
|
|
2320
|
+
function c(i) {
|
|
2321
|
+
return typeof i == "object" ? Object.prototype.toString.call(i).slice(8, -1).toLowerCase() : typeof i;
|
|
2315
2322
|
}
|
|
2316
2323
|
}
|
|
2317
2324
|
function jt(e = 0, n = 10) {
|