MCPcopy Create free account
hub / github.com/alignoth/alignoth / cp

Function cp

resources/vega-lite.min.js:12811–12826  ·  view source on GitHub ↗
(e, t)

Source from the content-addressed store, hash-verified

12809 };
12810 }
12811 function cp(e, t) {
12812 const { child: n } = e;
12813 if (n.component.axes[t]) {
12814 const { layoutHeaders: i, resolve: r } = e.component;
12815 if (((r.axis[t] = Xf(r, t)), "shared" === r.axis[t])) {
12816 const r = "x" === t ? "column" : "row",
12817 o = i[r];
12818 for (const i of n.component.axes[t]) {
12819 const t = ap(i.get("orient"));
12820 o[t] ??= [lp(e, r, !1)];
12821 const n = gf(i, "main", e.config, { header: !0 });
12822 (n && o[t][0].axes.push(n), (i.mainExtracted = !0));
12823 }
12824 }
12825 }
12826 }
12827 function up(e) {
12828 for (const t of e.children) t.parseLayoutSize();
12829 }

Callers 1

parseAxesAndHeadersMethod · 0.70

Calls 5

XfFunction · 0.70
apFunction · 0.70
lpFunction · 0.70
gfFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected