courthive-components 0.7.14 → 0.7.15
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.
|
@@ -526,9 +526,9 @@ function f1({ individualParticipant: t, className: e }) {
|
|
|
526
526
|
return o.className = To(LI(), e), o.innerHTML = i, o;
|
|
527
527
|
}
|
|
528
528
|
function p1({ individualParticipant: t, className: e }) {
|
|
529
|
-
var
|
|
530
|
-
const n = (
|
|
531
|
-
return
|
|
529
|
+
var i;
|
|
530
|
+
const n = (i = t == null ? void 0 : t.teams) == null ? void 0 : i[0], r = (n == null ? void 0 : n.participantName) || " ", s = document.createElement("div");
|
|
531
|
+
return s.className = To(LI(), e), s.classList.add("tmx-tm"), s.setAttribute("id", n == null ? void 0 : n.participantId), s.innerHTML = r, s;
|
|
532
532
|
}
|
|
533
533
|
function h1(t) {
|
|
534
534
|
var s, i, o, c;
|
|
@@ -49647,7 +49647,7 @@ function PI(t) {
|
|
|
49647
49647
|
side: n
|
|
49648
49648
|
}));
|
|
49649
49649
|
}, p = document.createElement("div");
|
|
49650
|
-
p.classList.add("tmx-i"), p.setAttribute("sideNumber", r),
|
|
49650
|
+
p.classList.add("tmx-i"), p.setAttribute("sideNumber", r), p.setAttribute("id", s == null ? void 0 : s.participantId), p.onclick = f;
|
|
49651
49651
|
const h = document.createElement("div");
|
|
49652
49652
|
h.className = i1({ variant: c });
|
|
49653
49653
|
const m = (u == null ? void 0 : u.flags) && Xd({ ...t, type: "flag" });
|
|
@@ -49771,7 +49771,7 @@ function B2({
|
|
|
49771
49771
|
if (b.className = e && a1({
|
|
49772
49772
|
drawPosition: p,
|
|
49773
49773
|
sideNumber: i
|
|
49774
|
-
}), b.classList.add("tmx-p"),
|
|
49774
|
+
}), b.classList.add("tmx-p"), b.setAttribute("id", r == null ? void 0 : r.participantId), T) {
|
|
49775
49775
|
const O = k2({ teamLogo: T });
|
|
49776
49776
|
b.appendChild(O);
|
|
49777
49777
|
}
|
|
@@ -50537,7 +50537,7 @@ function ax(t) {
|
|
|
50537
50537
|
}), E = (e == null ? void 0 : e.configuration) || {}, { resultsInfo: y, centerInfo: b } = E || {}, N = t.eventHandlers || {}, A = (D) => {
|
|
50538
50538
|
Er(N == null ? void 0 : N.matchUpClick) && N.matchUpClick({ pointerEvent: D, matchUp: n });
|
|
50539
50539
|
}, C = document.createElement("div");
|
|
50540
|
-
C.className = To(e.theme, t == null ? void 0 : t.className, "matchup", q2()), C.classList.add("tmx-m"),
|
|
50540
|
+
C.className = To(e.theme, t == null ? void 0 : t.className, "matchup", q2()), C.classList.add("tmx-m"), C.setAttribute("id", n == null ? void 0 : n.matchUpId), C.onclick = A;
|
|
50541
50541
|
const v = document.createElement("div");
|
|
50542
50542
|
v.className = Y2({ configuration: E });
|
|
50543
50543
|
const P = ({ sideNumber: D }) => {
|
|
@@ -50671,7 +50671,7 @@ function Ix({
|
|
|
50671
50671
|
});
|
|
50672
50672
|
s = s || (c == null ? void 0 : c.structureId) || ((g = o == null ? void 0 : o[0]) == null ? void 0 : g.structureId);
|
|
50673
50673
|
const p = o.some(({ isRoundRobin: I }) => I), h = l || f, d = document.createElement("div");
|
|
50674
|
-
d.className = V2(), d.classList.add("tmx-str"),
|
|
50674
|
+
d.className = V2(), d.classList.add("tmx-str"), d.setAttribute("id", s);
|
|
50675
50675
|
const m = Math.max(...a);
|
|
50676
50676
|
for (const I of a) {
|
|
50677
50677
|
const T = lx({
|