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

Function Hc

resources/vega-lite.min.js:5996–6015  ·  view source on GitHub ↗
(e, n)

Source from the content-addressed store, hash-verified

5994 : e;
5995 }
5996 function Hc(e, n) {
5997 for (const i of F(e.component.selection ?? {})) {
5998 const r = i.name;
5999 let o = `${r}${Ku}, ${"global" === i.resolve ? "true" : `{unit: ${nf(e)}}`}`;
6000 for (const t of tf)
6001 t.defined(i) &&
6002 (t.signals && (n = t.signals(e, i, n)),
6003 t.modifyExpr && (o = t.modifyExpr(e, i, o)));
6004 n.push({
6005 name: r + Zu,
6006 on: [
6007 {
6008 events: { signal: i.name + Ku },
6009 update: `modify(${t.stringValue(i.name + Ju)}, ${o})`,
6010 },
6011 ],
6012 });
6013 }
6014 return Xc(n);
6015 }
6016 function Gc(e, n) {
6017 if (e.component.selection && D(e.component.selection).length) {
6018 const i = t.stringValue(e.getName("cell"));

Callers 1

assembleSignalsMethod · 0.85

Calls 3

FFunction · 0.85
XcFunction · 0.85
nfFunction · 0.70

Tested by

no test coverage detected