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

Function mu

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

Source from the content-addressed store, hash-verified

6571 };
6572 }
6573 function mu(e, t) {
6574 let n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {};
6575 const { markDef: i, encoding: r, config: o } = t,
6576 { vgChannel: a } = n;
6577 let { defaultRef: s, defaultValue: l } = n;
6578 const c = r[e];
6579 void 0 === s &&
6580 ((l ??= En(e, i, o, { vgChannel: a, ignoreVgConfig: !Qo(c) })),
6581 void 0 !== l && (s = Pn(l)));
6582 const u = {
6583 markDef: i,
6584 config: o,
6585 scaleName: t.scaleName(e),
6586 scale: t.getScaleComponent(e),
6587 },
6588 f = yo({ ...u, scaleChannel: e, channelDef: c });
6589 return ru({
6590 model: t,
6591 channelDef: c,
6592 vgChannel: a ?? e,
6593 invalidValueRef: f,
6594 mainRefFn: (t) =>
6595 wo({ ...u, channel: e, channelDef: t, stack: null, defaultRef: s }),
6596 });
6597 }
6598 function pu(e) {
6599 let t =
6600 arguments.length > 1 && void 0 !== arguments[1]

Callers 6

puFunction · 0.70
FuFunction · 0.70
PuFunction · 0.70
zpFunction · 0.70
CpFunction · 0.70
vega-lite.min.jsFile · 0.70

Calls 8

EnFunction · 0.85
QoFunction · 0.85
PnFunction · 0.85
scaleNameMethod · 0.80
getScaleComponentMethod · 0.80
yoFunction · 0.70
ruFunction · 0.70
woFunction · 0.70

Tested by

no test coverage detected