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

Function tl

resources/vega-lite.min.js:4379–4410  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

4377 ...ao,
4378 };
4379 function tl(e) {
4380 e = l(e);
4381 for (const t of Zs) delete e[t];
4382 if (e.axis) for (const t in e.axis) Ta(e.axis[t]) && delete e.axis[t];
4383 if (e.legend) for (const t of $s) delete e.legend[t];
4384 if (e.mark) {
4385 for (const t of ro) delete e.mark[t];
4386 e.mark.tooltip && t.isObject(e.mark.tooltip) && delete e.mark.tooltip;
4387 }
4388 e.params &&
4389 ((e.signals = (e.signals || []).concat(As(e.params))), delete e.params);
4390 for (const t of Ks) {
4391 for (const n of ro) delete e[t][n];
4392 const n = el[t];
4393 if (n) for (const i of n) delete e[t][i];
4394 nl(e, t);
4395 }
4396 for (const t of D(bs)) delete e[t];
4397 !(function (e) {
4398 const {
4399 titleMarkConfig: t,
4400 subtitleMarkConfig: n,
4401 subtitle: i,
4402 } = xn(e.title);
4403 S(t) || (e.style["group-title"] = { ...e.style["group-title"], ...t });
4404 S(n) ||
4405 (e.style["group-subtitle"] = { ...e.style["group-subtitle"], ...n });
4406 S(i) ? delete e.title : (e.title = i);
4407 })(e);
4408 for (const n in e) t.isObject(e[n]) && S(e[n]) && delete e[n];
4409 return S(e) ? void 0 : e;
4410 }
4411 function nl(e, t, n, i) {
4412 "view" === t && (n = "cell");
4413 const r = { ...e[t], ...e.style[n ?? t] };

Callers 1

vega-lite.min.jsFile · 0.70

Calls 7

DFunction · 0.85
lFunction · 0.70
TaFunction · 0.70
AsFunction · 0.70
nlFunction · 0.70
xnFunction · 0.70
SFunction · 0.70

Tested by

no test coverage detected