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

Function nf

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

Source from the content-addressed store, hash-verified

7640 ef = "vlSelectionResolve",
7641 tf = [Ic, iu, Ac, qu, Ru, Qc, Wu, Uu, Vu, Xu, Mu];
7642 function nf(e) {
7643 let { escape: n } =
7644 arguments.length > 1 && void 0 !== arguments[1]
7645 ? arguments[1]
7646 : { escape: !0 },
7647 i = n ? t.stringValue(e.name) : e.name;
7648 const r = (function (e) {
7649 let t = e.parent;
7650 for (; t && !Um(t); ) t = t.parent;
7651 return t;
7652 })(e);
7653 if (r) {
7654 const { facet: e } = r;
7655 for (const n of Be)
7656 e[n] &&
7657 (i += ` + '__facet_${n}_' + (facet[${t.stringValue(r.vgField(n))}])`);
7658 }
7659 return i;
7660 }
7661 function rf(e) {
7662 return F(e.component.selection ?? {}).reduce(
7663 (e, t) => e || t.project.hasSelectionId,

Callers 3

vega-lite.min.jsFile · 0.70
HcFunction · 0.70
assembleSelectionDataMethod · 0.70

Calls 2

vgFieldMethod · 0.80
UmFunction · 0.70

Tested by

no test coverage detected