courthive-components 0.7.3 → 0.7.5
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,
|
|
@@ -51199,11 +51198,10 @@ const vh = {
|
|
|
51199
51198
|
validateTieFormat: br
|
|
51200
51199
|
}, E0e = Ke({
|
|
51201
51200
|
WebkitBoxSizing: "border-box",
|
|
51201
|
+
marginInlineEnd: ".3em",
|
|
51202
51202
|
display: "inline-block",
|
|
51203
51203
|
boxSizing: "border-box",
|
|
51204
51204
|
position: "relative",
|
|
51205
|
-
marginInlineStart: 1,
|
|
51206
|
-
marginInlineEnd: 2,
|
|
51207
51205
|
borderRadius: 2,
|
|
51208
51206
|
variants: {
|
|
51209
51207
|
variant: {
|
|
@@ -51219,7 +51217,7 @@ const vh = {
|
|
|
51219
51217
|
function $0e({ matchUp: t, individualParticipant: e, spacer: r }) {
|
|
51220
51218
|
var a, l, c;
|
|
51221
51219
|
const n = ((a = e == null ? void 0 : e.person) == null ? void 0 : a.iso2NationalityCode) || "", o = n ? (l = uH.countryToFlag(n)) == null ? void 0 : l.slice(0, 4) : "", i = document.createElement("span"), s = (c = t == null ? void 0 : t.matchUpType) == null ? void 0 : c.toLowerCase();
|
|
51222
|
-
return i.className = E0e({ variant: s }), i.innerHTML = r ? "" : o, i;
|
|
51220
|
+
return r || (i.className = E0e({ variant: s })), i.innerHTML = r ? "" : o, i;
|
|
51223
51221
|
}
|
|
51224
51222
|
function $u({ individualParticipant: t, composition: e, className: r, matchUp: n, spacer: o, side: i, type: s }) {
|
|
51225
51223
|
if (s === "scale")
|
|
@@ -52580,7 +52578,12 @@ const { createTheme: Ks } = gA({
|
|
|
52580
52578
|
drawPositions: !0,
|
|
52581
52579
|
scheduleInfo: !0,
|
|
52582
52580
|
roundHeader: !0,
|
|
52583
|
-
showAddress: !0
|
|
52581
|
+
showAddress: !0,
|
|
52582
|
+
scaleAttributes: {
|
|
52583
|
+
scaleType: "RATING",
|
|
52584
|
+
scaleName: "WTN",
|
|
52585
|
+
accessor: "wtnRating"
|
|
52586
|
+
}
|
|
52584
52587
|
},
|
|
52585
52588
|
theme: fA
|
|
52586
52589
|
},
|