bkui-vue 0.0.3-beta.2-4 → 0.0.3-beta.2-5
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.cjs.js +1 -1
- package/dist/index.esm.js +6 -1
- package/dist/index.umd.js +1 -1
- package/lib/table/index.js +2 -2
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
@@ -12527,7 +12527,12 @@ const mt = (e, t, n) => {
|
|
12527
12527
|
(typeof e == "string" || typeof e == "number" || typeof e == "boolean") && (a = e);
|
12528
12528
|
const i = (s, l = "ig") => new RegExp(`${s}`.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"), l);
|
12529
12529
|
return a = pr(e, t), n != null && n.length && (n.forEach((s) => {
|
12530
|
-
|
12530
|
+
if (typeof s == "function")
|
12531
|
+
a = s(a, e, t);
|
12532
|
+
else if (typeof a == "string") {
|
12533
|
+
const l = a.match(typeof s == "string" ? i(s) : s);
|
12534
|
+
a = (l == null ? void 0 : l[1]) ?? a;
|
12535
|
+
}
|
12531
12536
|
}), /^-?\d+.?\d*$/.test(a) && (a = Number(a))), a;
|
12532
12537
|
}, cN = (e, t) => pr(e, t), ki = (e, t) => Array.isArray(e) ? e : typeof e == "string" || typeof e == "object" ? [e] : typeof e == "function" ? ki(Reflect.apply(e, globalThis, t), t) : [], uN = (e, t, n) => {
|
12533
12538
|
const a = k9(e, t, n);
|