@malloydata/render 0.0.189-dev240924161421 → 0.0.189-dev240924171744
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.
|
@@ -92040,8 +92040,8 @@ function RB(t, e, n, r) {
|
|
|
92040
92040
|
var J;
|
|
92041
92041
|
const i = (r == null ? void 0 : r.xField) ?? t.allFields.at(0), s = (r == null ? void 0 : r.yField) ?? t.allFields.at(1), { tag: o } = t.tagParse();
|
|
92042
92042
|
let u = 0, a = 0;
|
|
92043
|
-
const l = o.numeric("size", "width"), c = o.numeric("size", "height");
|
|
92044
|
-
let f = o.text("size");
|
|
92043
|
+
const l = n.numeric("size", "width") ?? o.numeric("size", "width"), c = n.numeric("size", "height") ?? o.numeric("size", "height");
|
|
92044
|
+
let f = n.text("size") ?? o.text("size");
|
|
92045
92045
|
l && c ? (u = l, a = c) : (f = f || "md", [u, a] = fit[f], a = a * RE);
|
|
92046
92046
|
let x = 0, h = 0, p = -90, m = "right", g = "middle", y = 0, E = 0;
|
|
92047
92047
|
const A = f !== "spark", v = f !== "spark", _ = e.fields[fu(t)];
|