@malloydata/render 0.0.188-dev240919204933 → 0.0.188-dev240923145123
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.
|
@@ -90549,13 +90549,13 @@ function yrt(t) {
|
|
|
90549
90549
|
const {
|
|
90550
90550
|
field: e,
|
|
90551
90551
|
data: n
|
|
90552
|
-
} = t, r = t.metadata.field(e).vegaChartProps, i = structuredClone(r.spec);
|
|
90553
|
-
r.specType === "vega" ? i.data[0].values =
|
|
90554
|
-
const
|
|
90555
|
-
return
|
|
90556
|
-
|
|
90557
|
-
const
|
|
90558
|
-
(typeof
|
|
90552
|
+
} = t, r = t.metadata.field(e).vegaChartProps, i = structuredClone(r.spec), s = structuredClone(n);
|
|
90553
|
+
r.specType === "vega" ? i.data[0].values = s : i.data.values = s;
|
|
90554
|
+
const o = e.allFields.filter((u) => u.isAtomicField() && (u.isDate() || u.isTimestamp()));
|
|
90555
|
+
return s.forEach((u) => {
|
|
90556
|
+
o.forEach((a) => {
|
|
90557
|
+
const l = u[a.name];
|
|
90558
|
+
(typeof l == "number" || typeof l == "string") && (u[a.name] = CB(new Date(l), a.isDate(), a.timeframe));
|
|
90559
90559
|
});
|
|
90560
90560
|
}), xt(grt, {
|
|
90561
90561
|
spec: i,
|