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

Function ts

resources/vega-lite.min.js:3213–3232  ·  view source on GitHub ↗
(e, n, i, r)

Source from the content-addressed store, hash-verified

3211 };
3212 }
3213 function ts(e, n, i, r) {
3214 const { clip: o, color: a, opacity: s } = e,
3215 l = e.type;
3216 return e[n] || (void 0 === e[n] && i[n])
3217 ? [
3218 {
3219 ...r,
3220 mark: {
3221 ...i[n],
3222 ...(o ? { clip: o } : {}),
3223 ...(a ? { color: a } : {}),
3224 ...(s ? { opacity: s } : {}),
3225 ...(no(r.mark) ? r.mark : { type: r.mark }),
3226 style: `${l}-${String(n)}`,
3227 ...(t.isBoolean(e[n]) ? {} : e[n]),
3228 },
3229 },
3230 ]
3231 : [];
3232 }
3233 function ns(e, t, n) {
3234 const { encoding: i } = e,
3235 r = "vertical" === t ? "y" : "x",

Callers 2

esFunction · 0.70
lsFunction · 0.70

Calls 1

noFunction · 0.70

Tested by

no test coverage detected