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

Method assembleSelectionTopLevelSignals

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

Source from the content-addressed store, hash-verified

14437 ));
14438 }
14439 assembleSelectionTopLevelSignals(e) {
14440 return (function (e, n) {
14441 let i = !1;
14442 for (const r of F(e.component.selection ?? {})) {
14443 const o = r.name,
14444 a = t.stringValue(o + Ju);
14445 if (0 === n.filter((e) => e.name === o).length) {
14446 const e = "global" === r.resolve ? "union" : r.resolve,
14447 i = "point" === r.type ? ", true, true)" : ")";
14448 n.push({
14449 name: r.name,
14450 update: `${ef}(${a}, ${t.stringValue(e)}${i}`,
14451 });
14452 }
14453 i = !0;
14454 for (const t of tf)
14455 t.defined(r) &&
14456 t.topLevelSignals &&
14457 (n = t.topLevelSignals(e, r, n));
14458 }
14459 i &&
14460 0 === n.filter((e) => "unit" === e.name).length &&
14461 n.unshift({
14462 name: "unit",
14463 value: {},
14464 on: [
14465 {
14466 events: "pointermove",
14467 update: "isTuple(group()) ? group() : unit",
14468 },
14469 ],
14470 });
14471 return Xc(n);
14472 })(this, e);
14473 }
14474 assembleSignals() {
14475 return [...hf(this), ...Hc(this, [])];
14476 }

Callers

nothing calls this directly

Calls 2

FFunction · 0.85
XcFunction · 0.85

Tested by

no test coverage detected