@streamlayer/react-ui 1.26.0 → 1.27.0
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/lib/app/app/Advertisement/index.d.ts +1 -0
- package/lib/app/app/Advertisement/index.js +125 -92
- package/lib/app/app/Banner/index.d.ts +6 -0
- package/lib/app/app/Banner/index.js +6 -0
- package/lib/app/app/Features/Gamification/Question.d.ts +4 -0
- package/lib/app/app/Features/Gamification/Question.js +79 -50
- package/lib/app/app/Features/Gamification/QuestionAdvertisement.d.ts +6 -0
- package/lib/app/app/Features/Gamification/QuestionAdvertisement.js +46 -0
- package/lib/app/app/Features/Gamification/Tabs.js +12 -12
- package/lib/app/app/Features/Gamification/index.d.ts +3 -0
- package/lib/app/app/Features/Gamification/index.js +56 -52
- package/lib/app/app/Features/index.d.ts +1 -0
- package/lib/app/app/Features/index.js +6 -4
- package/lib/app/app/InApp/index.d.ts +1 -0
- package/lib/app/app/InApp/index.js +44 -17
- package/lib/app/app/Insight/index.d.ts +3 -0
- package/lib/app/app/Insight/index.js +33 -30
- package/lib/app/app/Layout/index.d.ts +17 -0
- package/lib/app/app/Layout/index.js +105 -0
- package/lib/app/app/Layout/styles.d.ts +12 -0
- package/lib/app/app/Layout/styles.js +64 -0
- package/lib/app/app/Notifications/Onboarding/Notification/styles.d.ts +7 -1
- package/lib/app/app/Notifications/styles.d.ts +18 -2
- package/lib/app/app/index.d.ts +1 -0
- package/lib/app/app/index.js +91 -85
- package/lib/app/app/story/index.js +56 -58
- package/lib/app/app/story/promotion/index.js +31 -36
- package/lib/app/app/story/promotion/styles.d.ts +3 -1
- package/lib/app/app/story/promotion/video.js +63 -81
- package/lib/app/app/story/promotion-notification/styles.d.ts +3 -1
- package/lib/app/app/story/styles.d.ts +5 -1
- package/lib/app/app/story/styles.js +36 -16
- package/lib/app/app/story/video.d.ts +5 -1
- package/lib/app/app/story/video.js +70 -33
- package/lib/app/app/useApp.d.ts +1 -2
- package/lib/app/masters/BetPack/BetPackContent/StartScreen/styles.d.ts +7 -1
- package/lib/app/masters/BetPack/BetPackContent/index.js +175 -187
- package/lib/app/masters/BetPack/BetPackContent/styles.d.ts +84 -84
- package/lib/app/masters/BetPack/BetPackOverlay/styles.d.ts +14 -2
- package/lib/app/masters/Features/Gamification/Question.js +19 -17
- package/lib/app/masters/Notifications/Onboarding/Notification/styles.d.ts +7 -1
- package/lib/app/masters/Notifications/styles.d.ts +18 -2
- package/lib/app/masters/masters.d.ts +4 -1
- package/lib/app/masters/useMastersApp.d.ts +1 -1
- package/lib/app/tgl/styles.d.ts +3 -1
- package/lib/app/{tvos → webos/Advertisement}/AdvertisementUI.d.ts +7 -1
- package/lib/app/webos/Advertisement/AdvertisementUI.js +63 -0
- package/lib/app/{tvos/Advertisement.d.ts → webos/Advertisement/index.d.ts} +3 -1
- package/lib/app/webos/Advertisement/index.js +119 -0
- package/lib/app/webos/ExposedPauseAd/PauseAd.d.ts +15 -0
- package/lib/app/webos/ExposedPauseAd/PauseAd.js +93 -0
- package/lib/app/webos/ExposedPauseAd/styles.d.ts +12 -0
- package/lib/app/webos/ExposedPauseAd/styles.js +64 -0
- package/lib/app/webos/Question/index.d.ts +9 -0
- package/lib/app/webos/Question/index.js +56 -0
- package/lib/app/webos/index.d.ts +24 -0
- package/lib/app/webos/index.js +65 -0
- package/lib/app/webos/story.d.ts +9 -0
- package/lib/app/webos/story.js +74 -0
- package/lib/app/webos/styles.js +4 -0
- package/lib/app/webos/ui/Layout/index.js +78 -0
- package/lib/app/{tvos → webos}/ui/Layout/styles.js +25 -25
- package/lib/app/webos/ui/Sidebar/PromoAction.d.ts +7 -0
- package/lib/app/webos/ui/Sidebar/PromoAction.js +63 -0
- package/lib/app/{tvos → webos}/ui/Sidebar/index.d.ts +6 -0
- package/lib/app/webos/ui/Sidebar/index.js +176 -0
- package/lib/app/{tvos → webos}/ui/Sidebar/styles.d.ts +7 -3
- package/lib/app/{tvos → webos}/ui/Sidebar/styles.js +175 -170
- package/lib/app/webos/ui/insight/index.d.ts +9 -0
- package/lib/app/webos/ui/insight/index.js +100 -0
- package/lib/app/webos/ui/insight/styles.d.ts +12 -0
- package/lib/app/webos/ui/insight/styles.js +51 -0
- package/lib/app/webos/useTvButton.d.ts +9 -0
- package/lib/app/webos/useTvButton.js +23 -0
- package/lib/assets/style.css +1 -1
- package/lib/hooks/analytics.d.ts +14 -0
- package/lib/hooks/showIn.d.ts +9 -0
- package/lib/hooks/useKeyboardNavigation.d.ts +15 -0
- package/lib/hooks/useKeyboardNavigation.js +74 -0
- package/lib/index-T1iiS0ZO.js +17 -0
- package/lib/ui/advertisement/banner/index.d.ts +3 -0
- package/lib/ui/advertisement/banner/index.js +29 -17
- package/lib/ui/advertisement/banner/styles.d.ts +5 -1
- package/lib/ui/advertisement/index.d.ts +4 -1
- package/lib/ui/advertisement/index.js +56 -44
- package/lib/ui/advertisement/notification/index.d.ts +2 -0
- package/lib/ui/advertisement/notification/index.js +50 -34
- package/lib/ui/advertisement/notification/lower-third/index.d.ts +2 -0
- package/lib/ui/advertisement/notification/lower-third/index.js +42 -26
- package/lib/ui/advertisement/notification/lower-third/styles.d.ts +11 -0
- package/lib/ui/advertisement/notification/lower-third/styles.js +39 -24
- package/lib/ui/advertisement/notification/styles.d.ts +18 -1
- package/lib/ui/advertisement/notification/styles.js +48 -33
- package/lib/ui/advertisement/overlay/externalAd/vast-player/useGAMPlayer.d.ts +2 -2
- package/lib/ui/advertisement/overlay/externalAd/vast-player/useGAMPlayer.js +1 -1
- package/lib/ui/advertisement/overlay/index.d.ts +4 -1
- package/lib/ui/advertisement/overlay/index.js +135 -77
- package/lib/ui/gamification/detail/header/index.d.ts +2 -0
- package/lib/ui/gamification/detail/header/index.js +19 -16
- package/lib/ui/gamification/detail/header/styles.d.ts +15 -3
- package/lib/ui/gamification/detail/header/styles.js +1 -1
- package/lib/ui/gamification/detail/sponsor/index.d.ts +1 -0
- package/lib/ui/gamification/detail/sponsor/index.js +25 -13
- package/lib/ui/gamification/invite-link/styles.d.ts +14 -2
- package/lib/ui/gamification/leaderboard/list-item/styles.d.ts +7 -1
- package/lib/ui/gamification/onboarding/slides/onboarding-invite-card/styles.d.ts +14 -2
- package/lib/ui/gamification/onboarding/styles.d.ts +10 -2
- package/lib/ui/gamification/points/styles.d.ts +7 -1
- package/lib/ui/gamification/question/inapp/notification/AdNotification/NotificationMedia/index.d.ts +48 -0
- package/lib/ui/gamification/question/inapp/notification/AdNotification/NotificationMedia/index.js +94 -0
- package/lib/ui/gamification/question/inapp/notification/AdNotification/index.d.ts +9 -0
- package/lib/ui/gamification/question/inapp/notification/AdNotification/index.js +99 -0
- package/lib/ui/gamification/question/inapp/notification/AdNotification/styles.d.ts +42 -0
- package/lib/ui/gamification/question/inapp/notification/AdNotification/styles.js +117 -0
- package/lib/ui/gamification/question/inapp/notification/NotificationMedia/index.js +9 -8
- package/lib/ui/gamification/question/inapp/notification/styles.d.ts +7 -1
- package/lib/ui/gamification/question/inapp/onboarding/index.js +12 -12
- package/lib/ui/gamification/question/inapp/onboarding/styles.d.ts +18 -2
- package/lib/ui/gamification/question/inapp/prediction-result/frames/content.js +9 -9
- package/lib/ui/gamification/question/inapp/prediction-result/frames/styles.d.ts +7 -1
- package/lib/ui/gamification/question/inapp/prediction-result-ad/frames/content.d.ts +5 -0
- package/lib/ui/gamification/question/inapp/prediction-result-ad/frames/content.js +49 -0
- package/lib/ui/gamification/question/inapp/prediction-result-ad/frames/index.d.ts +12 -0
- package/lib/ui/gamification/question/inapp/prediction-result-ad/frames/index.js +56 -0
- package/lib/ui/gamification/question/inapp/prediction-result-ad/frames/lines.d.ts +1 -0
- package/lib/ui/gamification/question/inapp/prediction-result-ad/frames/lines.js +34 -0
- package/lib/ui/gamification/question/inapp/prediction-result-ad/frames/step1.d.ts +1 -0
- package/lib/ui/gamification/question/inapp/prediction-result-ad/frames/step1.js +19 -0
- package/lib/ui/gamification/question/inapp/prediction-result-ad/frames/step2.d.ts +4 -0
- package/lib/ui/gamification/question/inapp/prediction-result-ad/frames/step2.js +34 -0
- package/lib/ui/gamification/question/inapp/prediction-result-ad/frames/step3.d.ts +7 -0
- package/lib/ui/gamification/question/inapp/prediction-result-ad/frames/step3.js +43 -0
- package/lib/ui/gamification/question/inapp/prediction-result-ad/frames/styles.d.ts +9 -0
- package/lib/ui/gamification/question/inapp/prediction-result-ad/frames/styles.js +20 -0
- package/lib/ui/gamification/question/inapp/prediction-result-ad/index.d.ts +10 -0
- package/lib/ui/gamification/question/inapp/prediction-result-ad/index.js +20 -0
- package/lib/ui/gamification/question/inapp/prediction-result-ad/styles.d.ts +11 -0
- package/lib/ui/gamification/question/inapp/prediction-result-ad/styles.js +34 -0
- package/lib/ui/gamification/question/notification/prediction-result/styles.d.ts +38 -5
- package/lib/ui/gamification/question/notification/styles.d.ts +14 -2
- package/lib/ui/gamification/question/styles.d.ts +26 -4
- package/lib/ui/gamification/vote/alert/styles.d.ts +7 -1
- package/lib/ui/gamification/vote/feedback/styles.d.ts +19 -2
- package/lib/ui/gamification/vote/feedbackAlert/index.d.ts +9 -0
- package/lib/ui/gamification/vote/feedbackAlert/index.js +11 -0
- package/lib/ui/gamification/vote/feedbackAlert/styles.d.ts +11 -0
- package/lib/ui/gamification/vote/feedbackAlert/styles.js +30 -0
- package/lib/ui/gamification/vote/index.d.ts +3 -1
- package/lib/ui/gamification/vote/index.js +160 -130
- package/lib/ui/gamification/vote/insight-details/index.js +8 -7
- package/lib/ui/gamification/vote/insight-details/styles.d.ts +7 -1
- package/lib/ui/gamification/vote/styles.d.ts +29 -4
- package/lib/ui/gamification/vote/vote-option/index.d.ts +3 -0
- package/lib/ui/gamification/vote/vote-option/index.js +72 -64
- package/lib/ui/gamification/vote/vote-option/styles.d.ts +7 -1
- package/lib/ui/gamification/vote/win-bar/styles.d.ts +19 -2
- package/lib/ui/icons/index.d.ts +1 -0
- package/lib/ui/icons/index.js +80 -79
- package/lib/ui/modal/index.js +12 -17
- package/lib/ui/questions/insight/index.d.ts +4 -1
- package/lib/ui/questions/insight/index.js +29 -26
- package/lib/ui/questions/twitter/account/styles.d.ts +7 -1
- package/lib/ui/questions/twitter/index.d.ts +1 -0
- package/lib/ui/questions/twitter/index.js +27 -19
- package/lib/ui/theme/constants.d.ts +2 -0
- package/lib/ui/theme/constants.js +2 -0
- package/lib/ui/theme/masters-theme.js +1 -0
- package/lib/ui/theme/utils.d.ts +10 -0
- package/lib/ui/theme/utils.js +77 -0
- package/lib/ui/video-player/index.d.ts +10 -2
- package/lib/ui/video-player/index.js +189 -110
- package/lib/ui/video-player/styles.d.ts +36 -0
- package/lib/ui/video-player/styles.js +59 -11
- package/lib/utils/common.d.ts +6 -0
- package/lib/utils/createDemo.d.ts +12 -0
- package/lib/utils/debug/components/bypassLogin.d.ts +6 -0
- package/lib/utils/debug/components/copyLogs.d.ts +1 -0
- package/lib/utils/debug/components/developer.d.ts +14 -0
- package/lib/utils/debug/components/envToggle.d.ts +6 -0
- package/lib/utils/debug/components/eventInput.d.ts +8 -0
- package/lib/utils/debug/components/sdkKey.d.ts +6 -0
- package/lib/utils/debug/components/styles.d.ts +1 -0
- package/lib/utils/debug/index.d.ts +36 -0
- package/lib/utils/debug/storage.d.ts +14 -0
- package/lib/utils/decorators/container.d.ts +6 -0
- package/lib/utils/decorators/container.js +5 -5
- package/lib/utils/decorators/masters.d.ts +2 -0
- package/lib/utils/decorators/styles.d.ts +2 -0
- package/lib/utils/login.d.ts +3 -0
- package/lib/utils/storage.d.ts +14 -0
- package/package.json +27 -20
- package/lib/app/tvos/Advertisement.js +0 -88
- package/lib/app/tvos/AdvertisementUI.js +0 -40
- package/lib/app/tvos/index.d.ts +0 -16
- package/lib/app/tvos/index.js +0 -23
- package/lib/app/tvos/story.d.ts +0 -6
- package/lib/app/tvos/story.js +0 -34
- package/lib/app/tvos/styles.js +0 -4
- package/lib/app/tvos/ui/Layout/index.js +0 -76
- package/lib/app/tvos/ui/Sidebar/PromoAction.d.ts +0 -2
- package/lib/app/tvos/ui/Sidebar/PromoAction.js +0 -62
- package/lib/app/tvos/ui/Sidebar/index.js +0 -114
- /package/lib/app/{tvos → webos}/styles.d.ts +0 -0
- /package/lib/app/{tvos → webos}/ui/Layout/index.d.ts +0 -0
- /package/lib/app/{tvos → webos}/ui/Layout/styles.d.ts +0 -0
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import { jsx as d, jsxs as l, Fragment as X } from "react/jsx-runtime";
|
|
2
|
+
import { updateAllLayouts as Y } from "@noriginmedia/norigin-spatial-navigation";
|
|
3
|
+
import { withFocusable as Z } from "../../useTvButton.js";
|
|
4
|
+
import { useRef as k, useState as E, useEffect as h } from "react";
|
|
5
|
+
import { eventBus as p } from "@streamlayer/sdk-web-interfaces";
|
|
6
|
+
import { PromotionType as r, AutoPlayVideo as F, PlayVideoMuted as ee } from "@streamlayer/sdk-web-types";
|
|
7
|
+
import { SvgIcon as T } from "../../../../ui/icons/index.js";
|
|
8
|
+
import { PromoAction as oe } from "./PromoAction.js";
|
|
9
|
+
import { Container as te, Header as de, BrandBlock as ae, LogoIcon as ne, BrandText as ie, BrandNameContainer as re, BrandName as le, Sponsored as pe, CloseIcon as ce, VideoBlock as se, VideoWrapper as ye, FocusableVideo as me, VideoStatus as W, Title as ue, Description as he, CloseButton as Ae } from "./styles.js";
|
|
10
|
+
const Be = Z(Ae, {
|
|
11
|
+
isFocusBoundary: !0
|
|
12
|
+
}), Se = (O) => {
|
|
13
|
+
var _, V, N, w, S, g, L, P, C, G, D, v, x, U;
|
|
14
|
+
const {
|
|
15
|
+
promotion: e,
|
|
16
|
+
open: y,
|
|
17
|
+
togglePause: a,
|
|
18
|
+
controlVideo: c,
|
|
19
|
+
promotionId: n,
|
|
20
|
+
onClose: b,
|
|
21
|
+
markAsViewed: A,
|
|
22
|
+
advertisementPaused: j,
|
|
23
|
+
isEventFired: o,
|
|
24
|
+
fireEvent: t,
|
|
25
|
+
muted: $,
|
|
26
|
+
isMuted: I
|
|
27
|
+
} = O, H = k(null), B = k(null), [M, q] = E(0), z = e.type === r.INGAME_IAB11_LBAR ? M : M / 2, R = !!((V = (_ = e.banner) == null ? void 0 : _.video) != null && V.url), s = e.autoPlayVideo === F.ENABLED, f = e.playVideoMuted === ee.ENABLED, K = f && s, Q = e.type === r.INGAME_IAB11_LBAR || e.type === r.INGAME_IAB11 || e.type === r.INGAME_IAB11_SIDEBAR;
|
|
28
|
+
let m = (N = e.banner) == null ? void 0 : N.url;
|
|
29
|
+
return m && !m.startsWith("http") && (m = `https://${m}`), h(() => {
|
|
30
|
+
if (!B.current) return;
|
|
31
|
+
const i = new ResizeObserver(([u]) => {
|
|
32
|
+
const J = u.contentRect.width;
|
|
33
|
+
q(J);
|
|
34
|
+
});
|
|
35
|
+
return i.observe(B.current), Y(), () => {
|
|
36
|
+
i.disconnect();
|
|
37
|
+
};
|
|
38
|
+
}, []), h(() => {
|
|
39
|
+
a == null || a(R || s), y == null || y();
|
|
40
|
+
}, [R, s, y, a]), h(() => {
|
|
41
|
+
n && e.type && A && A();
|
|
42
|
+
}, [n, e.type, A]), h(() => () => {
|
|
43
|
+
c == null || c({ muted: !1 });
|
|
44
|
+
}, [c]), /* @__PURE__ */ d("div", { children: /* @__PURE__ */ l(te, { ref: B, children: [
|
|
45
|
+
/* @__PURE__ */ l(de, { children: [
|
|
46
|
+
e.logoMode === 1 && /* @__PURE__ */ l(ae, { children: [
|
|
47
|
+
/* @__PURE__ */ d(ne, { src: (w = e.sponsor) == null ? void 0 : w.logo, alt: "Logo" }),
|
|
48
|
+
/* @__PURE__ */ l(ie, { children: [
|
|
49
|
+
/* @__PURE__ */ d(re, { children: /* @__PURE__ */ d(le, { children: (S = e.sponsor) == null ? void 0 : S.name }) }),
|
|
50
|
+
/* @__PURE__ */ d(pe, { children: "SPONSORED" })
|
|
51
|
+
] })
|
|
52
|
+
] }),
|
|
53
|
+
e.logoMode === 2 && e.type === r.INGAME_IAB11_LBAR && /* @__PURE__ */ d("img", { src: (g = e.sponsor) == null ? void 0 : g.logo, alt: "Video paused preview", style: { height: "56px" } }),
|
|
54
|
+
/* @__PURE__ */ d(Be, { options: { focusKey: "close-ad-button" }, webos: !0, onClick: b, "data-close-btn": "true", children: /* @__PURE__ */ d(ce, {}) })
|
|
55
|
+
] }),
|
|
56
|
+
e.logoMode === 2 && e.type !== r.INGAME_IAB11_LBAR && /* @__PURE__ */ d(
|
|
57
|
+
"img",
|
|
58
|
+
{
|
|
59
|
+
src: (L = e.sponsor) == null ? void 0 : L.logo,
|
|
60
|
+
alt: "Video paused preview",
|
|
61
|
+
style: {
|
|
62
|
+
display: "block",
|
|
63
|
+
alignSelf: "center",
|
|
64
|
+
maxHeight: "72px",
|
|
65
|
+
width: "auto"
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
),
|
|
69
|
+
((P = e.banner) == null ? void 0 : P.imageUrl) && /* @__PURE__ */ d(se, { style: { height: z }, children: /* @__PURE__ */ d(
|
|
70
|
+
"img",
|
|
71
|
+
{
|
|
72
|
+
src: (C = e.banner) == null ? void 0 : C.imageUrl,
|
|
73
|
+
alt: "Video paused preview",
|
|
74
|
+
style: { width: "100%", height: "100%", objectFit: "cover" }
|
|
75
|
+
}
|
|
76
|
+
) }),
|
|
77
|
+
((G = e.banner) == null ? void 0 : G.video) && /* @__PURE__ */ l(ye, { children: [
|
|
78
|
+
/* @__PURE__ */ d(
|
|
79
|
+
me,
|
|
80
|
+
{
|
|
81
|
+
source: e.banner.video.url,
|
|
82
|
+
poster: (v = (D = e.banner) == null ? void 0 : D.video) == null ? void 0 : v.thumbnailUrl,
|
|
83
|
+
webos: !0,
|
|
84
|
+
aspectRatio: Q ? "1/1" : "2/1",
|
|
85
|
+
ref: H,
|
|
86
|
+
onRender: () => {
|
|
87
|
+
o != null && o("video-rendered") || (p.emit("advertisement", {
|
|
88
|
+
action: "videoRendered",
|
|
89
|
+
payload: {
|
|
90
|
+
id: n,
|
|
91
|
+
type: e.type
|
|
92
|
+
}
|
|
93
|
+
}), t == null || t("video-rendered"));
|
|
94
|
+
},
|
|
95
|
+
onQuartile: (i) => {
|
|
96
|
+
o != null && o(`video-quartile-${i}`) || (p.emit("advertisement", {
|
|
97
|
+
action: "quartileCompleted",
|
|
98
|
+
payload: {
|
|
99
|
+
id: n,
|
|
100
|
+
type: e.type,
|
|
101
|
+
quartile: i
|
|
102
|
+
}
|
|
103
|
+
}), t == null || t(`video-quartile-${i}`));
|
|
104
|
+
},
|
|
105
|
+
onMute: (i) => {
|
|
106
|
+
const u = i ? "muted" : "unmuted";
|
|
107
|
+
o != null && o(u) || (p.emit("advertisement", {
|
|
108
|
+
action: i ? "videoMuted" : "videoUnmuted",
|
|
109
|
+
payload: {
|
|
110
|
+
id: n,
|
|
111
|
+
type: e.type
|
|
112
|
+
}
|
|
113
|
+
}), t == null || t(u));
|
|
114
|
+
},
|
|
115
|
+
onPause: () => {
|
|
116
|
+
s && (a == null || a(!0));
|
|
117
|
+
},
|
|
118
|
+
onReplay: () => {
|
|
119
|
+
o != null && o("replayed") || (p.emit("advertisement", {
|
|
120
|
+
action: "videoReplayed",
|
|
121
|
+
payload: {
|
|
122
|
+
id: n,
|
|
123
|
+
type: e.type
|
|
124
|
+
}
|
|
125
|
+
}), t == null || t("replayed"));
|
|
126
|
+
},
|
|
127
|
+
onPlay: () => {
|
|
128
|
+
o != null && o("played") || (p.emit("advertisement", {
|
|
129
|
+
action: "videoPlay",
|
|
130
|
+
payload: {
|
|
131
|
+
id: n,
|
|
132
|
+
type: e.type
|
|
133
|
+
}
|
|
134
|
+
}), t == null || t("played")), a == null || a(!1), o != null && o("played") && (o != null && o("ended")) && !(o != null && o("replayed")) && (p.emit("advertisement", {
|
|
135
|
+
action: "videoReplayed",
|
|
136
|
+
payload: {
|
|
137
|
+
id: n,
|
|
138
|
+
type: e.type
|
|
139
|
+
}
|
|
140
|
+
}), t == null || t("replayed"));
|
|
141
|
+
},
|
|
142
|
+
onEnd: () => {
|
|
143
|
+
o != null && o("ended") || (p.emit("advertisement", {
|
|
144
|
+
action: "videoEnd",
|
|
145
|
+
payload: {
|
|
146
|
+
id: n,
|
|
147
|
+
type: e.type
|
|
148
|
+
}
|
|
149
|
+
}), t == null || t("ended"));
|
|
150
|
+
},
|
|
151
|
+
muted: $,
|
|
152
|
+
autoPlay: s,
|
|
153
|
+
playMuted: f,
|
|
154
|
+
controlVideo: c
|
|
155
|
+
}
|
|
156
|
+
),
|
|
157
|
+
j && /* @__PURE__ */ l(W, { children: [
|
|
158
|
+
/* @__PURE__ */ d(T, { name: "icon-pause" }),
|
|
159
|
+
"PAUSED"
|
|
160
|
+
] }),
|
|
161
|
+
(I || K && I === void 0) && /* @__PURE__ */ l(W, { children: [
|
|
162
|
+
/* @__PURE__ */ d(T, { name: "iconMute" }),
|
|
163
|
+
"MUTED"
|
|
164
|
+
] }),
|
|
165
|
+
" "
|
|
166
|
+
] }),
|
|
167
|
+
e.type !== r.INGAME_IAB11 && e.type !== r.INGAME_IAB11_LBAR && e.type !== r.INGAME_IAB11_SIDEBAR && /* @__PURE__ */ l(X, { children: [
|
|
168
|
+
/* @__PURE__ */ d(ue, { children: (x = e.banner) == null ? void 0 : x.title }),
|
|
169
|
+
/* @__PURE__ */ d(he, { children: (U = e.banner) == null ? void 0 : U.body })
|
|
170
|
+
] }),
|
|
171
|
+
/* @__PURE__ */ d(oe, { promotion: e, onClose: b })
|
|
172
|
+
] }) });
|
|
173
|
+
};
|
|
174
|
+
export {
|
|
175
|
+
Se as TVSidebar
|
|
176
|
+
};
|
|
@@ -9,7 +9,9 @@ export declare const BrandName: import('@linaria/react').StyledComponent<React.C
|
|
|
9
9
|
export declare const Sponsored: import('@linaria/react').StyledComponent<React.ClassAttributes<HTMLSpanElement> & React.HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
|
|
10
10
|
export declare const CloseIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export declare const CloseButton: import('@linaria/react').StyledComponent<React.ClassAttributes<HTMLButtonElement> & React.ButtonHTMLAttributes<HTMLButtonElement> & Record<never, unknown>>;
|
|
12
|
-
export declare const FocusableVideo:
|
|
12
|
+
export declare const FocusableVideo: {
|
|
13
|
+
__wyw_meta: unknown;
|
|
14
|
+
} & React.ForwardRefExoticComponent<import('../../../../ui/video-player').VideoPlayerProps & React.RefAttributes<HTMLVideoElement | null>>;
|
|
13
15
|
export declare const VideoWrapper: import('@linaria/react').StyledComponent<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
14
16
|
export declare const PlayPauseButton: import('@linaria/react').StyledComponent<React.ClassAttributes<HTMLButtonElement> & React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
15
17
|
isPlaying: boolean;
|
|
@@ -19,12 +21,13 @@ export declare const CenterIndicator: import('@linaria/react').StyledComponent<R
|
|
|
19
21
|
}>;
|
|
20
22
|
export declare const VideoBlock: import('@linaria/react').StyledComponent<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
21
23
|
interface SendToUserButtonProps {
|
|
22
|
-
|
|
24
|
+
backgroundColor?: string;
|
|
25
|
+
textColor?: string;
|
|
23
26
|
}
|
|
24
27
|
export declare const SendToUserButton: import('@linaria/react').StyledComponent<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & SendToUserButtonProps>;
|
|
25
28
|
export declare const EnvelopeIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
26
29
|
export declare const SendToUserText: import('@linaria/react').StyledComponent<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
27
|
-
export declare const
|
|
30
|
+
export declare const VideoStatus: import('@linaria/react').StyledComponent<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
28
31
|
export declare const Title: import('@linaria/react').StyledComponent<React.ClassAttributes<HTMLHeadingElement> & React.HTMLAttributes<HTMLHeadingElement> & Record<never, unknown>>;
|
|
29
32
|
export declare const Description: import('@linaria/react').StyledComponent<React.ClassAttributes<HTMLParagraphElement> & React.HTMLAttributes<HTMLParagraphElement> & Record<never, unknown>>;
|
|
30
33
|
export declare const QRBlock: import('@linaria/react').StyledComponent<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
|
@@ -37,6 +40,7 @@ interface QRProps {
|
|
|
37
40
|
fgColor?: string;
|
|
38
41
|
bgColor?: string;
|
|
39
42
|
level?: 'L' | 'M' | 'Q' | 'H';
|
|
43
|
+
tabIndex?: number;
|
|
40
44
|
}
|
|
41
45
|
export declare const QR: React.ForwardRefExoticComponent<QRProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
42
46
|
export {};
|