@platox/pivot-table 0.0.22 → 0.0.24
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/index.js +7 -3
- package/lib/index.umd.cjs +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -22087,9 +22087,13 @@ const yG = /* @__PURE__ */ yl(mG), qR = Bn(void 0), bG = ({
|
|
|
22087
22087
|
var o, s, l;
|
|
22088
22088
|
const i = t == null ? void 0 : t.find((u) => u.value === r);
|
|
22089
22089
|
let a = e;
|
|
22090
|
-
|
|
22091
|
-
(
|
|
22092
|
-
|
|
22090
|
+
if ((i == null ? void 0 : i.type) === "enum" && (i != null && i.enum) && ((o = i == null ? void 0 : i.enum) == null ? void 0 : o.length) > 0) {
|
|
22091
|
+
const u = (l = (s = i == null ? void 0 : i.enum) == null ? void 0 : s.find(
|
|
22092
|
+
(f) => f.value === e
|
|
22093
|
+
)) == null ? void 0 : l.label;
|
|
22094
|
+
a = u ? (n == null ? void 0 : n[u]) || u : e;
|
|
22095
|
+
}
|
|
22096
|
+
return (i == null ? void 0 : i.type) === "timestamp" && (a = e ? da(e).format("YYYY-MM-DD") : ""), a;
|
|
22093
22097
|
};
|
|
22094
22098
|
da.extend(yG);
|
|
22095
22099
|
const XR = ({
|