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

Function Nf

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

Source from the content-addressed store, hash-verified

8230 const _f = ["row", "column"],
8231 Pf = ["header", "footer"];
8232 function Nf(e, t) {
8233 const n = e.component.layoutHeaders[t].title,
8234 i = e.config ? e.config : void 0,
8235 r = e.component.layoutHeaders[t].facetFieldDef
8236 ? e.component.layoutHeaders[t].facetFieldDef
8237 : void 0,
8238 {
8239 titleAnchor: o,
8240 titleAngle: a,
8241 titleOrient: s,
8242 } = Cf(["titleAnchor", "titleAngle", "titleOrient"], r.header, i, t),
8243 l = Of(t, s),
8244 c = H(a);
8245 return {
8246 name: `${t}-title`,
8247 type: "group",
8248 role: `${l}-title`,
8249 title: {
8250 text: n,
8251 ...("row" === t ? { orient: "left" } : {}),
8252 style: "guide-title",
8253 ...Tf(c, l),
8254 ...Af(l, c, o),
8255 ...Uf(i, r, t, Ss, ws),
8256 },
8257 };
8258 }
8259 function Af(e, t) {
8260 switch (
8261 arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : "middle"

Callers 1

assembleHeaderMarksMethod · 0.70

Calls 6

AfFunction · 0.85
UfFunction · 0.85
CfFunction · 0.70
OfFunction · 0.70
HFunction · 0.70
TfFunction · 0.70

Tested by

no test coverage detected