courthive-components 0.7.3 → 0.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -495,13 +495,12 @@ function VF({ className: t, composition: e, side: r }) {
|
|
|
495
495
|
}
|
|
496
496
|
const BF = Ke({
|
|
497
497
|
WebkitBoxSizing: "border-box",
|
|
498
|
-
|
|
498
|
+
marginInlineEnd: ".5em",
|
|
499
499
|
boxSizing: "border-box",
|
|
500
|
-
|
|
500
|
+
display: "inline-block",
|
|
501
501
|
position: "relative",
|
|
502
502
|
fontSize: "smaller",
|
|
503
503
|
fontWeight: "bold",
|
|
504
|
-
marginInlineEnd: 2,
|
|
505
504
|
borderRadius: 2,
|
|
506
505
|
width: "1.8rem",
|
|
507
506
|
color: "blue"
|
|
@@ -549,9 +548,9 @@ var IA = { exports: {} };
|
|
|
549
548
|
var GF = IA.exports;
|
|
550
549
|
const gs = /* @__PURE__ */ _A(GF);
|
|
551
550
|
function WF({ individualParticipant: t, composition: e, className: r, matchUp: n, spacer: o }) {
|
|
552
|
-
var
|
|
553
|
-
const i = (n == null ? void 0 : n.matchUpType) || "SINGLES", s = (
|
|
554
|
-
return
|
|
551
|
+
var g, h, _, I;
|
|
552
|
+
const i = (n == null ? void 0 : n.matchUpType) || "SINGLES", s = (g = t == null ? void 0 : t.ratings) == null ? void 0 : g[i], a = (h = t == null ? void 0 : t.rankings) == null ? void 0 : h[i], l = (_ = e == null ? void 0 : e.configuration) == null ? void 0 : _.scaleAttributes, c = l == null ? void 0 : l.scaleType, u = l == null ? void 0 : l.scaleName, d = l == null ? void 0 : l.accessor, p = c === "RATING" ? s : a, v = !o && ((I = p == null ? void 0 : p.find((P) => (P == null ? void 0 : P.scaleName) === u)) == null ? void 0 : I.scaleValue), f = v && d ? v[d] : v || "", m = document.createElement("span");
|
|
553
|
+
return f && (m.className = gs(r, BF())), m.innerHTML = f || "", m;
|
|
555
554
|
}
|
|
556
555
|
const HF = "normal", Nh = "timed", qF = "final", Rv = "NOAD", Iu = "SET", zF = {
|
|
557
556
|
S: HF,
|
|
@@ -52580,7 +52579,12 @@ const { createTheme: Ks } = gA({
|
|
|
52580
52579
|
drawPositions: !0,
|
|
52581
52580
|
scheduleInfo: !0,
|
|
52582
52581
|
roundHeader: !0,
|
|
52583
|
-
showAddress: !0
|
|
52582
|
+
showAddress: !0,
|
|
52583
|
+
scaleAttributes: {
|
|
52584
|
+
scaleType: "RATING",
|
|
52585
|
+
scaleName: "WTN",
|
|
52586
|
+
accessor: "wtnRating"
|
|
52587
|
+
}
|
|
52584
52588
|
},
|
|
52585
52589
|
theme: fA
|
|
52586
52590
|
},
|