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

Function Tu

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

Source from the content-addressed store, hash-verified

7212 );
7213 }
7214 function Tu(e) {
7215 const { config: t, markDef: n } = e,
7216 i = new Set();
7217 if (
7218 (e.forEachFieldDef((r, o) => {
7219 let a;
7220 if (!Qt(o) || !(a = e.getScaleType(o))) return;
7221 const s = cn(r.aggregate),
7222 l = go({
7223 scaleChannel: o,
7224 markDef: n,
7225 config: t,
7226 scaleType: a,
7227 isCountAggregate: s,
7228 });
7229 if (
7230 "break-paths-filter-domains" === (c = l) ||
7231 "break-paths-show-domains" === c
7232 ) {
7233 const t = e.vgField(o, {
7234 expr: "datum",
7235 binSuffix: e.stack?.impute ? "mid" : void 0,
7236 });
7237 t && i.add(t);
7238 }
7239 var c;
7240 }),
7241 i.size > 0)
7242 ) {
7243 return { defined: { signal: [...i].map((e) => ir(e, !0)).join(" && ") } };
7244 }
7245 }
7246 function ju(e, t) {
7247 if (void 0 !== t) return { [e]: Pn(t) };
7248 }

Callers 1

vega-lite.min.jsFile · 0.70

Calls 9

forEachFieldDefMethod · 0.80
getScaleTypeMethod · 0.80
vgFieldMethod · 0.80
QtFunction · 0.70
cnFunction · 0.70
goFunction · 0.70
irFunction · 0.70
addMethod · 0.45
mapMethod · 0.45

Tested by

no test coverage detected