courthive-components 3.14.3 → 3.14.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.
|
@@ -14055,7 +14055,7 @@ function rb(e) {
|
|
|
14055
14055
|
tb || nb(globalThis.getComputedStyle?.(e)?.position) && (tb = !0, console.warn("[courthive-components] venue-locator: leaflet's stylesheet is missing — the map will render incorrectly. Add `import 'leaflet/dist/leaflet.css';` to the host application."));
|
|
14056
14056
|
}
|
|
14057
14057
|
function ib() {
|
|
14058
|
-
return globalThis.document?.documentElement?.
|
|
14058
|
+
return globalThis.document?.documentElement?.dataset.theme === "dark";
|
|
14059
14059
|
}
|
|
14060
14060
|
function ab(e, t, n) {
|
|
14061
14061
|
let r = e.tiles[t] ?? e.tiles.map;
|
|
@@ -15247,8 +15247,8 @@ function CC(e) {
|
|
|
15247
15247
|
}
|
|
15248
15248
|
var wC = {
|
|
15249
15249
|
name: "courthive-components",
|
|
15250
|
-
packageManager: "pnpm@11.
|
|
15251
|
-
version: "3.14.
|
|
15250
|
+
packageManager: "pnpm@11.22.0",
|
|
15251
|
+
version: "3.14.4",
|
|
15252
15252
|
engines: { node: ">=22" },
|
|
15253
15253
|
description: "Components for competitions projects",
|
|
15254
15254
|
files: ["dist"],
|
|
@@ -15340,7 +15340,7 @@ var wC = {
|
|
|
15340
15340
|
semver: "7.8.5",
|
|
15341
15341
|
storybook: "^10.2.17",
|
|
15342
15342
|
"tabulator-tables": "6.5.2",
|
|
15343
|
-
"tods-competition-factory": "6.29.
|
|
15343
|
+
"tods-competition-factory": "6.29.1",
|
|
15344
15344
|
typescript: "^6.0.2",
|
|
15345
15345
|
vite: "8.2.1",
|
|
15346
15346
|
"vite-plugin-dts": "^5.0.0",
|
|
@@ -15358,7 +15358,7 @@ var wC = {
|
|
|
15358
15358
|
"class-variance-authority": "0.7.1",
|
|
15359
15359
|
classnames: "2.5.1",
|
|
15360
15360
|
d3: "^7.9.0",
|
|
15361
|
-
dayjs: "1.11.
|
|
15361
|
+
dayjs: "1.11.23",
|
|
15362
15362
|
"focus-trap": "^8.0.0",
|
|
15363
15363
|
"timepicker-ui": "^4.1.2",
|
|
15364
15364
|
"tippy.js": "6.3.7",
|
|
@@ -24169,7 +24169,7 @@ function eB(e, t, n, r, i, a, o, s) {
|
|
|
24169
24169
|
if (i?.length && m.querySelector(".chc-schematic-structure")) {
|
|
24170
24170
|
let e = m.querySelectorAll(".chc-schematic-round-container[data-round-number]");
|
|
24171
24171
|
for (let n of e) {
|
|
24172
|
-
let e = parseInt(n.
|
|
24172
|
+
let e = Number.parseInt(n.dataset.roundNumber || "0"), r = i.filter((t) => t.roundNumber === e);
|
|
24173
24173
|
if (!r.length) continue;
|
|
24174
24174
|
let a = r.find((e) => e.isSelected) || r.find((e) => e.linkType === qz) || r.find((e) => e.linkType === Kz) || r[0];
|
|
24175
24175
|
n.classList.add("tb-round-linked"), n.classList.add(`tb-round-linked--${a.linkType.toLowerCase()}`), n.classList.add(`tb-round-linked--${a.direction}`), a.isSelected && n.classList.add("tb-round-linked--active"), n.style.cursor = "pointer", n.addEventListener("click", (e) => {
|
|
@@ -28890,7 +28890,7 @@ function mK(e, t) {
|
|
|
28890
28890
|
};
|
|
28891
28891
|
}
|
|
28892
28892
|
function hK(e) {
|
|
28893
|
-
return
|
|
28893
|
+
return structuredClone(e);
|
|
28894
28894
|
}
|
|
28895
28895
|
//#endregion
|
|
28896
28896
|
//#region src/components/scorecard/renderScorecard.ts
|