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

Function Pu

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

Source from the content-addressed store, hash-verified

7183 }
7184 const _u = new Set(["aria", "width", "height"]);
7185 function Pu(e, t) {
7186 const { fill: n, stroke: i } = "include" === t.color ? pu(e) : {};
7187 return {
7188 ...Au(e.markDef, t),
7189 ...Nu("fill", n),
7190 ...Nu("stroke", i),
7191 ...mu("opacity", e),
7192 ...mu("fillOpacity", e),
7193 ...mu("strokeOpacity", e),
7194 ...mu("strokeWidth", e),
7195 ...mu("strokeDash", e),
7196 ...gu(e),
7197 ...su(e),
7198 ...ou(e, "href"),
7199 ...uu(e),
7200 };
7201 }
7202 function Nu(e, t) {
7203 return t ? { [e]: t } : {};
7204 }

Callers 2

zpFunction · 0.70
vega-lite.min.jsFile · 0.70

Calls 8

puFunction · 0.85
NuFunction · 0.85
AuFunction · 0.70
muFunction · 0.70
guFunction · 0.70
suFunction · 0.70
ouFunction · 0.70
uuFunction · 0.70

Tested by

no test coverage detected