@spash/frontlib 1.0.4-beta.1 → 1.0.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.
- package/dist/main.d.ts +2 -0
- package/dist/main.js +9 -6
- package/package.json +1 -1
package/dist/main.d.ts
CHANGED
|
@@ -339,6 +339,7 @@ export declare interface SessionInput {
|
|
|
339
339
|
bookingProvider?: string;
|
|
340
340
|
bookingProviderData?: string;
|
|
341
341
|
videoUploadEnable?: boolean;
|
|
342
|
+
aiEnabled: boolean;
|
|
342
343
|
}
|
|
343
344
|
|
|
344
345
|
export declare interface SessionPlayer {
|
|
@@ -972,6 +973,7 @@ export { useI18n }
|
|
|
972
973
|
|
|
973
974
|
export declare const useIdle: (time: number, callback?: () => void) => {
|
|
974
975
|
isIdle: Ref<boolean, boolean>;
|
|
976
|
+
cleanup: () => void;
|
|
975
977
|
};
|
|
976
978
|
|
|
977
979
|
export declare const useLuxon: () => {
|
package/dist/main.js
CHANGED
|
@@ -25617,7 +25617,7 @@ const L5 = /* @__PURE__ */ je(I5, [["render", O5]]), k5 = { class: "relative min
|
|
|
25617
25617
|
if (t.value.type === "goal" && s.value.withStats) {
|
|
25618
25618
|
const v = t.value.ngtvSessionTeam.color;
|
|
25619
25619
|
v === "orange" ? (p.title = "Team B", p.color = "teamA") : v === "blue" && (p.title = "Team A", p.color = "teamB");
|
|
25620
|
-
} else t.value.type === "goal" ? t.value.ngtvSessionTeam.home ? (p.title = "Team A", p.color = "teamB") : (p.title = "Team B", p.color = "teamA") : t.value.
|
|
25620
|
+
} else t.value.type === "goal" ? t.value.ngtvSessionTeam.home ? (p.title = "Team A", p.color = "teamB") : (p.title = "Team B", p.color = "teamA") : t.value.ngtvSessionTeam.home ? (p.title = "Team A", p.color = "teamA") : (p.title = "Team B", p.color = "teamB");
|
|
25621
25621
|
else
|
|
25622
25622
|
t.value.type === "buzz" ? (p.title = "Buzz !", p.color = "red") : t.value.type === "foul" ? (p.title = i("commons.events.foul"), p.color = "orange") : t.value.type === "new_set" ? (p.title = i("commons.events.new_set"), p.color = "blue") : (p.title = ((g = d.value) == null ? void 0 : g.name) || "", p.color = "purple");
|
|
25623
25623
|
return p;
|
|
@@ -37953,11 +37953,14 @@ const k9 = () => {
|
|
|
37953
37953
|
closeAllConnections: s
|
|
37954
37954
|
};
|
|
37955
37955
|
}, F9 = (n, e) => {
|
|
37956
|
-
const { idle: t } = lE(n)
|
|
37957
|
-
|
|
37958
|
-
|
|
37959
|
-
|
|
37960
|
-
isIdle: t
|
|
37956
|
+
const { idle: t, reset: r } = lE(n), s = Yt(t, (o) => {
|
|
37957
|
+
o && (e ? e() : window.location.href = "/");
|
|
37958
|
+
});
|
|
37959
|
+
return {
|
|
37960
|
+
isIdle: t,
|
|
37961
|
+
cleanup: () => {
|
|
37962
|
+
s(), r();
|
|
37963
|
+
}
|
|
37961
37964
|
};
|
|
37962
37965
|
}, M9 = ({ t: n } = {}) => ({ groupsOptions: (t = 0) => {
|
|
37963
37966
|
const r = "ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").slice(0, t).map((i) => ({ id: `group_${i}`, name: n(`commons.groups.group_${i}`) })), s = [
|