fansunited-frontend-components 0.0.95 → 0.0.96
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/Betslip.d.ts +1 -2
- package/Betslip.d.ts.map +1 -1
- package/Betslip.js +4 -3
- package/ChanceGame.js +165 -163
- package/ChanceGameComponent.d.ts +1 -1
- package/ChanceGameComponent.d.ts.map +1 -1
- package/ClassicQuizPlay.d.ts +1 -1
- package/ClassicQuizPlay.d.ts.map +1 -1
- package/ClassicQuizPlay.js +4 -3
- package/CollectLead.d.ts +1 -1
- package/CollectLead.d.ts.map +1 -1
- package/CollectLead.js +37 -36
- package/CompetitionStatistics.d.ts +1 -2
- package/CompetitionStatistics.d.ts.map +1 -1
- package/CompetitionStatistics.js +458 -451
- package/CompetitorCard.d.ts +1 -2
- package/CompetitorCard.d.ts.map +1 -1
- package/CompetitorCard.js +1235 -1226
- package/Discussion.d.ts +1 -1
- package/Discussion.d.ts.map +1 -1
- package/Discussion.js +4 -3
- package/EitherOrPlay.d.ts +1 -1
- package/EitherOrPlay.d.ts.map +1 -1
- package/EitherOrPlay.js +4 -3
- package/EventCard.d.ts +1 -2
- package/EventCard.d.ts.map +1 -1
- package/EventCard.js +1249 -1244
- package/EventGamePlay.d.ts +1 -1
- package/EventGamePlay.d.ts.map +1 -1
- package/EventGamePlay.js +4 -3
- package/Leaderboard.d.ts +1 -1
- package/Leaderboard.d.ts.map +1 -1
- package/Leaderboard.js +482 -449
- package/List.d.ts +1 -2
- package/List.d.ts.map +1 -1
- package/List.js +258 -254
- package/MatchQuizPlay.d.ts +1 -1
- package/MatchQuizPlay.d.ts.map +1 -1
- package/MatchQuizPlay.js +4 -3
- package/Odds.d.ts +1 -2
- package/Odds.d.ts.map +1 -1
- package/Odds.js +35 -34
- package/PersonalityQuizPlay.d.ts +1 -1
- package/PersonalityQuizPlay.d.ts.map +1 -1
- package/PersonalityQuizPlay.js +4 -3
- package/PickThePair.js +102 -100
- package/PickThePairComponent.d.ts +1 -1
- package/PickThePairComponent.d.ts.map +1 -1
- package/PlayerOfTheMatch.d.ts +1 -2
- package/PlayerOfTheMatch.d.ts.map +1 -1
- package/PlayerOfTheMatch.js +1096 -1085
- package/PollVote.d.ts +1 -1
- package/PollVote.d.ts.map +1 -1
- package/PollVote.js +4 -3
- package/Predictor.d.ts +1 -2
- package/Predictor.d.ts.map +1 -1
- package/Predictor.js +4553 -4525
- package/README.md +1 -1
- package/Standings.d.ts +1 -2
- package/Standings.d.ts.map +1 -1
- package/Standings.js +404 -394
- package/TopX.d.ts +1 -2
- package/TopX.d.ts.map +1 -1
- package/TopX.js +5296 -5286
- package/chunks/{ChanceGameEmbedVariant-C3NGwvTF.js → ChanceGameEmbedVariant-CVys-3Zh.js} +1 -1
- package/chunks/{OddsSkeleton-Bav8FHHN.js → OddsSkeleton-ClJE2xhR.js} +5 -5
- package/chunks/{OddsStrip-CviVfQI4.js → OddsStrip-BnSp5TXa.js} +3 -3
- package/chunks/{PickOneOfX-a6Dv0-rR.js → PickOneOfX-DaJtkbCw.js} +6 -6
- package/chunks/index-Aq5MbUB9.js +4 -0
- package/chunks/index-BBQm_8LD.js +4 -0
- package/chunks/index-BC_sWWgc.js +4 -0
- package/chunks/index-DXKDJ1Vp.js +4 -0
- package/chunks/index-DjT5NrbA.js +4 -0
- package/chunks/index-DvLRehH6.js +4 -0
- package/chunks/index-aIMaxR-p.js +4 -0
- package/chunks/{main-Dj4Manb5.js → main-52Wff7qC.js} +1763 -1757
- package/chunks/{main-dwV_55lz.js → main-65WcUqAl.js} +615 -615
- package/chunks/{main-gexg6lc-.js → main-B58mi9jx.js} +349 -334
- package/chunks/{main-Dys2_Jt2.js → main-BIdXUTZS.js} +842 -827
- package/chunks/{main-CFwRpvUi.js → main-DD-NEzC7.js} +818 -817
- package/chunks/{main-DjiQz1dv.js → main-DUnfJPzY.js} +311 -311
- package/chunks/{main-eAQMCxQ7.js → main-DpCBqqg_.js} +322 -321
- package/chunks/{main-D9tFZv2q.js → main-Drznt1ak.js} +283 -282
- package/chunks/withVersionStamp-B6nArAj4.js +16 -0
- package/index.d.ts.map +1 -1
- package/index.js +45 -50
- package/package.json +57 -49
- package/withVersionStamp.d.ts +4 -0
- package/withVersionStamp.d.ts.map +1 -0
- package/chunks/3dicons-bookmark-fav-dynamic-color-BkMV51tL.js +0 -4
- package/chunks/3dicons-crow-dynamic-color-BnvCj9i8.js +0 -4
- package/chunks/3dicons-fire-dynamic-color-rNRL0kAe.js +0 -4
- package/chunks/3dicons-flag-dynamic-color-BscQxNXn.js +0 -4
- package/chunks/3dicons-medal-dynamic-color-CsR036OL.js +0 -4
- package/chunks/3dicons-rocket-dynamic-color-EiHCJ2rb.js +0 -4
- package/chunks/3dicons-target-dynamic-color-ChQzHpwv.js +0 -4
- package/chunks/3dicons-thumb-down-dynamic-color-NQLnsNFt.js +0 -4
- package/chunks/index-B1d9q8fX.js +0 -4
- package/chunks/index-BP0pvFJ4.js +0 -4
- package/chunks/index-CHZyL_g_.js +0 -4
- package/chunks/index-CeCUdRmF.js +0 -4
- package/chunks/index-Ckyyw-I8.js +0 -4
- package/chunks/index-DGvCP5G8.js +0 -4
- package/chunks/index-yjMVOgwO.js +0 -4
package/ChanceGameComponent.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChanceGameComponent.d.ts","sourceRoot":"","sources":["../../src/ChanceGameComponent.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"ChanceGameComponent.d.ts","sourceRoot":"","sources":["../../src/ChanceGameComponent.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAGrD,eAAO,MAAM,UAAU,qCAAyD,CAAC"}
|
package/ClassicQuizPlay.d.ts
CHANGED
package/ClassicQuizPlay.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClassicQuizPlay.d.ts","sourceRoot":"","sources":["../../src/ClassicQuizPlay.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"ClassicQuizPlay.d.ts","sourceRoot":"","sources":["../../src/ClassicQuizPlay.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAG1D,eAAO,MAAM,eAAe,0CAAmE,CAAC"}
|
package/ClassicQuizPlay.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { M as
|
|
2
|
-
|
|
1
|
+
import { M as i } from "./chunks/main-BIdXUTZS.js";
|
|
2
|
+
import { w as o } from "./chunks/withVersionStamp-B6nArAj4.js";
|
|
3
|
+
const s = o(i);
|
|
3
4
|
export {
|
|
4
|
-
|
|
5
|
+
s as ClassicQuizPlay
|
|
5
6
|
};
|
package/CollectLead.d.ts
CHANGED
package/CollectLead.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CollectLead.d.ts","sourceRoot":"","sources":["../../src/CollectLead.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"CollectLead.d.ts","sourceRoot":"","sources":["../../src/CollectLead.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAGtD,eAAO,MAAM,WAAW,sCAA2D,CAAC"}
|
package/CollectLead.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { jsx as n, jsxs as s, Fragment as r } from "react/jsx-runtime";
|
|
2
|
-
import { useFontFamily as Y, isMobile as Q, getBrandingClickUrl as de, useConstantContext as J, CollectLeadForm as me, useInternalTheme as K, useSpacingScale as X, useImageBackgroundGradient as Z, WidgetTemplate as
|
|
2
|
+
import { useFontFamily as Y, isMobile as Q, getBrandingClickUrl as de, useConstantContext as J, CollectLeadForm as me, useInternalTheme as K, useSpacingScale as X, useImageBackgroundGradient as Z, WidgetTemplate as A, defaultBgVertical as le, defaultBg as ae, useImageVariant as ee, sanitizeBackgroundUrl as se, useCornerRadius as q, useColors as u, useBorderSize as ge, usePhysicalImagePosition as xe, hexToRgb as re, Portal as fe } from "fansunited-frontend-core";
|
|
3
3
|
import { Box as o, Typography as y } from "@mui/joy";
|
|
4
4
|
import { useTranslation as ye } from "react-i18next";
|
|
5
5
|
import { createContext as ue } from "react";
|
|
6
|
+
import { w as he } from "./chunks/withVersionStamp-B6nArAj4.js";
|
|
6
7
|
const te = (e) => {
|
|
7
8
|
const i = Y().secondary, m = Q(), a = de(e.primaryUrl, e.secondaryUrl, "logo");
|
|
8
9
|
if (!e.brandingLogo)
|
|
@@ -112,7 +113,7 @@ const te = (e) => {
|
|
|
112
113
|
shadowRootElement: null,
|
|
113
114
|
language: null,
|
|
114
115
|
sdk: null
|
|
115
|
-
}),
|
|
116
|
+
}), be = ({
|
|
116
117
|
shadowRootElement: e,
|
|
117
118
|
phoneCountryCode: i,
|
|
118
119
|
images: m,
|
|
@@ -200,7 +201,7 @@ const te = (e) => {
|
|
|
200
201
|
syncWithProfile: T
|
|
201
202
|
}
|
|
202
203
|
);
|
|
203
|
-
},
|
|
204
|
+
}, Ce = (e) => ({
|
|
204
205
|
// Main container with background overlay
|
|
205
206
|
mainContainer: {
|
|
206
207
|
display: "flex",
|
|
@@ -383,22 +384,22 @@ const te = (e) => {
|
|
|
383
384
|
display: "flex",
|
|
384
385
|
alignItems: "center"
|
|
385
386
|
}
|
|
386
|
-
}),
|
|
387
|
+
}), Se = (e) => {
|
|
387
388
|
let i = (e == null ? void 0 : e.mainLogo) || null;
|
|
388
389
|
return Q() && (i = (e == null ? void 0 : e.mobileLogo) || (e == null ? void 0 : e.mainLogo) || null), i;
|
|
389
|
-
},
|
|
390
|
-
var R, l, U, M, I, L, D, z, H, v, B,
|
|
390
|
+
}, pe = () => {
|
|
391
|
+
var R, l, U, M, I, L, D, z, H, v, B, w, C, x, h, W, G, E;
|
|
391
392
|
const e = J(_), i = K(), m = X(), a = Z(
|
|
392
|
-
|
|
393
|
-
), d = Q(), t =
|
|
393
|
+
A.OVERLAY
|
|
394
|
+
), d = Q(), t = Se(
|
|
394
395
|
((R = e.branding) == null ? void 0 : R.images) || null
|
|
395
396
|
), f = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : d ? le : ae, b = ee(
|
|
396
397
|
{
|
|
397
398
|
images: e.images || null,
|
|
398
399
|
imagePlaceholder: f
|
|
399
400
|
},
|
|
400
|
-
|
|
401
|
-
), S = se(b), p = i.colorSchemes.dark.textColor, T = i.customFontFamily.dark.primary, k = i.customFontFamily.dark.secondary, j = i.customRadius.dark.md, N = (l = i.border) == null ? void 0 : l.dark.size, F = (M = (U = i.colorSchemes) == null ? void 0 : U.dark) == null ? void 0 : M.surfaceVariant, P = (L = (I = i.customRadius) == null ? void 0 : I.light) == null ? void 0 : L.xl, V = (v = (H = (z = (D = i.colorSchemes) == null ? void 0 : D.light) == null ? void 0 : z.palette) == null ? void 0 : H.primary) == null ? void 0 : v.plainColor, $ = (x = (C = (
|
|
401
|
+
A.OVERLAY
|
|
402
|
+
), S = se(b), p = i.colorSchemes.dark.textColor, T = i.customFontFamily.dark.primary, k = i.customFontFamily.dark.secondary, j = i.customRadius.dark.md, N = (l = i.border) == null ? void 0 : l.dark.size, F = (M = (U = i.colorSchemes) == null ? void 0 : U.dark) == null ? void 0 : M.surfaceVariant, P = (L = (I = i.customRadius) == null ? void 0 : I.light) == null ? void 0 : L.xl, V = (v = (H = (z = (D = i.colorSchemes) == null ? void 0 : D.light) == null ? void 0 : z.palette) == null ? void 0 : H.primary) == null ? void 0 : v.plainColor, $ = (x = (C = (w = (B = i.colorSchemes) == null ? void 0 : B.light) == null ? void 0 : w.palette) == null ? void 0 : C.primary) == null ? void 0 : x.onPrimary, c = Ce({
|
|
402
403
|
spacingScale: m,
|
|
403
404
|
secondaryColor: p,
|
|
404
405
|
fontFamilyPrimary: T,
|
|
@@ -424,7 +425,7 @@ const te = (e) => {
|
|
|
424
425
|
);
|
|
425
426
|
};
|
|
426
427
|
return /* @__PURE__ */ s(o, { sx: c.mainContainer, children: [
|
|
427
|
-
(h = e.labels) != null && h.title || (
|
|
428
|
+
(h = e.labels) != null && h.title || (W = e.labels) != null && W.description ? /* @__PURE__ */ n(o, { children: /* @__PURE__ */ n(o, { sx: c.headlineSection, children: /* @__PURE__ */ n(o, { sx: c.headlineContent, children: /* @__PURE__ */ n(o, { sx: c.headlineContentInner, children: /* @__PURE__ */ s(o, { sx: c.contentContainer, children: [
|
|
428
429
|
(G = e.labels) != null && G.title ? /* @__PURE__ */ n(y, { level: "h4", sx: c.titleText, children: e.labels.title }) : /* @__PURE__ */ n(r, {}),
|
|
429
430
|
(E = e.labels) != null && E.description ? /* @__PURE__ */ n(y, { level: "body-lg", sx: c.pollDescriptionText, children: e.labels.description }) : /* @__PURE__ */ n(r, {})
|
|
430
431
|
] }) }) }) }) }) : /* @__PURE__ */ n(r, {}),
|
|
@@ -452,7 +453,7 @@ const te = (e) => {
|
|
|
452
453
|
children: e
|
|
453
454
|
}
|
|
454
455
|
);
|
|
455
|
-
},
|
|
456
|
+
}, Te = (e) => ({
|
|
456
457
|
// Mobile headline with image background
|
|
457
458
|
mobileHeadlineWithImage: {
|
|
458
459
|
display: { xs: "flex", md: "none" },
|
|
@@ -761,17 +762,17 @@ const te = (e) => {
|
|
|
761
762
|
// Visual indicator for development (remove in production)
|
|
762
763
|
// border: "1px dashed rgba(255,255,255,0.7)",
|
|
763
764
|
}
|
|
764
|
-
}),
|
|
765
|
-
var I, L, D, z, H, v, B,
|
|
765
|
+
}), ke = (e) => {
|
|
766
|
+
var I, L, D, z, H, v, B, w, C;
|
|
766
767
|
const i = J(_), m = K(), a = e.imagePosition || "left", d = ee(
|
|
767
768
|
{
|
|
768
769
|
images: i.images || null,
|
|
769
770
|
imagePlaceholder: i.defaultImagePlaceholderUrl ? i.defaultImagePlaceholderUrl : ""
|
|
770
771
|
},
|
|
771
|
-
|
|
772
|
+
A.STANDARD
|
|
772
773
|
), t = Q(), f = t ? ((L = (I = i.branding) == null ? void 0 : I.images) == null ? void 0 : L.mobileLogo) || ((z = (D = i.branding) == null ? void 0 : D.images) == null ? void 0 : z.mainLogo) || "" : ((v = (H = i.branding) == null ? void 0 : H.images) == null ? void 0 : v.mainLogo) || "", b = u().textColor, S = u().textSecondary, p = Y().secondary, T = "60%", k = Y().primary, j = u().surfaceVariant, N = q().md, F = q().sm, P = u().palette.primary.plainColor, V = u().palette.primary.onPrimary, $ = q().xl, c = X(), g = Z(
|
|
773
|
-
|
|
774
|
-
), R = xe(a), l =
|
|
774
|
+
A.STANDARD
|
|
775
|
+
), R = xe(a), l = Te({
|
|
775
776
|
finalImage: d,
|
|
776
777
|
spacingScale: c,
|
|
777
778
|
borderRadius: q(),
|
|
@@ -802,9 +803,9 @@ const te = (e) => {
|
|
|
802
803
|
};
|
|
803
804
|
return /* @__PURE__ */ s(ce, { children: [
|
|
804
805
|
(() => {
|
|
805
|
-
var x, h,
|
|
806
|
+
var x, h, W, G, E, O, ie, oe;
|
|
806
807
|
return t ? d ? /* @__PURE__ */ n(o, { sx: l.mobileHeadlineWithImage, children: (x = i.labels) != null && x.title || (h = i.labels) != null && h.description ? /* @__PURE__ */ n(o, { sx: l.mobileHeadlineContent, children: /* @__PURE__ */ s(o, { sx: l.contentContainer, children: [
|
|
807
|
-
(
|
|
808
|
+
(W = i.labels) != null && W.title ? /* @__PURE__ */ n(y, { sx: l.titleTypographyMobileImage, children: i.labels.title }) : /* @__PURE__ */ n(r, {}),
|
|
808
809
|
(G = i.labels) != null && G.description ? /* @__PURE__ */ n(y, { sx: l.descriptionTypographyMobileImage, children: i.labels.description }) : /* @__PURE__ */ n(r, {})
|
|
809
810
|
] }) }) : /* @__PURE__ */ n(r, {}) }) : (E = i.labels) != null && E.title || (O = i.labels) != null && O.description ? /* @__PURE__ */ n(o, { sx: l.mobileHeadlineWithoutImage, children: /* @__PURE__ */ s(o, { sx: l.contentContainer, children: [
|
|
810
811
|
(ie = i.labels) != null && ie.title ? /* @__PURE__ */ n(y, { level: "h4", sx: l.titleTypography, children: i.labels.title }) : /* @__PURE__ */ n(r, {}),
|
|
@@ -813,7 +814,7 @@ const te = (e) => {
|
|
|
813
814
|
})(),
|
|
814
815
|
R === "left" && d ? /* @__PURE__ */ n(o, { sx: l.imageContainerLeft, children: /* @__PURE__ */ n(o, { sx: l.imageSafeArea }) }) : null,
|
|
815
816
|
/* @__PURE__ */ s(o, { sx: l.mainContentArea, children: [
|
|
816
|
-
!t && ((B = i.labels) != null && B.title || (
|
|
817
|
+
!t && ((B = i.labels) != null && B.title || (w = i.labels) != null && w.description) ? /* @__PURE__ */ n(o, { sx: { px: c.md }, children: /* @__PURE__ */ n(o, { sx: l.desktopHeadlineContainer, children: /* @__PURE__ */ n(o, { children: /* @__PURE__ */ s(o, { sx: l.contentContainer, children: [
|
|
817
818
|
i.labels.title ? /* @__PURE__ */ n(y, { level: "h4", sx: l.titleTypographyDesktop, children: i.labels.title }) : /* @__PURE__ */ n(r, {}),
|
|
818
819
|
(C = i.labels) != null && C.description ? /* @__PURE__ */ n(y, { sx: l.descriptionTypographyDesktop, children: i.labels.description }) : /* @__PURE__ */ n(r, {})
|
|
819
820
|
] }) }) }) }) : /* @__PURE__ */ n(r, {}),
|
|
@@ -822,7 +823,7 @@ const te = (e) => {
|
|
|
822
823
|
] }),
|
|
823
824
|
R === "right" && d ? /* @__PURE__ */ n(o, { sx: l.imageContainerRight, children: /* @__PURE__ */ n(o, { sx: l.imageSafeArea }) }) : null
|
|
824
825
|
] });
|
|
825
|
-
},
|
|
826
|
+
}, Fe = (e) => ({
|
|
826
827
|
// Main headline section with background image
|
|
827
828
|
headlineSection: {
|
|
828
829
|
display: "flex",
|
|
@@ -1156,17 +1157,17 @@ const te = (e) => {
|
|
|
1156
1157
|
presentedByMobile: {
|
|
1157
1158
|
display: { xs: "block", md: "none" }
|
|
1158
1159
|
}
|
|
1159
|
-
}),
|
|
1160
|
-
var U, M, I, L, D, z, H, v, B,
|
|
1160
|
+
}), Pe = () => {
|
|
1161
|
+
var U, M, I, L, D, z, H, v, B, w;
|
|
1161
1162
|
const e = J(_), i = K(), m = Q(), a = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : m ? le : ae, d = ee(
|
|
1162
1163
|
{
|
|
1163
1164
|
images: e.images || null,
|
|
1164
1165
|
imagePlaceholder: a
|
|
1165
1166
|
},
|
|
1166
|
-
|
|
1167
|
-
), t = m ? ((M = (U = e.branding) == null ? void 0 : U.images) == null ? void 0 : M.mobileLogo) || ((L = (I = e.branding) == null ? void 0 : I.images) == null ? void 0 : L.mainLogo) || "" : ((z = (D = e.branding) == null ? void 0 : D.images) == null ? void 0 : z.mainLogo) || "", f = u().textColor, b = Y().secondary, S = "60%", p = Y().primary, T = q().xl, k = u().surfaceVariant, j = (v = (H = u().palette) == null ? void 0 : H.primary) == null ? void 0 : v.plainColor, N = (
|
|
1168
|
-
|
|
1169
|
-
), c = re(k || ""), g =
|
|
1167
|
+
A.SPLIT
|
|
1168
|
+
), t = m ? ((M = (U = e.branding) == null ? void 0 : U.images) == null ? void 0 : M.mobileLogo) || ((L = (I = e.branding) == null ? void 0 : I.images) == null ? void 0 : L.mainLogo) || "" : ((z = (D = e.branding) == null ? void 0 : D.images) == null ? void 0 : z.mainLogo) || "", f = u().textColor, b = Y().secondary, S = "60%", p = Y().primary, T = q().xl, k = u().surfaceVariant, j = (v = (H = u().palette) == null ? void 0 : H.primary) == null ? void 0 : v.plainColor, N = (w = (B = u().palette) == null ? void 0 : B.primary) == null ? void 0 : w.onPrimary, F = u().textColor, P = X(), V = q(), $ = Z(
|
|
1169
|
+
A.SPLIT
|
|
1170
|
+
), c = re(k || ""), g = Fe({
|
|
1170
1171
|
finalImage: d,
|
|
1171
1172
|
spacingScale: P,
|
|
1172
1173
|
borderRadius: V,
|
|
@@ -1194,11 +1195,11 @@ const te = (e) => {
|
|
|
1194
1195
|
};
|
|
1195
1196
|
return /* @__PURE__ */ s(ce, { children: [
|
|
1196
1197
|
(() => {
|
|
1197
|
-
var C, x, h,
|
|
1198
|
+
var C, x, h, W;
|
|
1198
1199
|
return /* @__PURE__ */ n(o, { sx: g.headlineSection, children: /* @__PURE__ */ s(o, { sx: g.headlineContent, children: [
|
|
1199
1200
|
(C = e.labels) != null && C.title || (x = e.labels) != null && x.description ? /* @__PURE__ */ n(o, { children: /* @__PURE__ */ s(o, { sx: g.contentContainer, children: [
|
|
1200
1201
|
(h = e.labels) != null && h.title ? /* @__PURE__ */ n(y, { sx: g.pollTitleText, children: e.labels.title }) : /* @__PURE__ */ n(r, {}),
|
|
1201
|
-
(
|
|
1202
|
+
(W = e.labels) != null && W.description ? /* @__PURE__ */ n(y, { sx: g.pollDescriptionText, children: e.labels.description }) : /* @__PURE__ */ n(r, {})
|
|
1202
1203
|
] }) }) : /* @__PURE__ */ n(r, {}),
|
|
1203
1204
|
t ? /* @__PURE__ */ n(o, { sx: g.presentedByDesktop, children: R(i.colorSchemes.dark.textColor) }) : /* @__PURE__ */ n(r, {})
|
|
1204
1205
|
] }) });
|
|
@@ -1215,10 +1216,10 @@ const te = (e) => {
|
|
|
1215
1216
|
] }) })
|
|
1216
1217
|
] });
|
|
1217
1218
|
};
|
|
1218
|
-
function
|
|
1219
|
-
return e.template ===
|
|
1219
|
+
function Re(e) {
|
|
1220
|
+
return e.template === A.STANDARD;
|
|
1220
1221
|
}
|
|
1221
|
-
const
|
|
1222
|
+
const Ie = (e) => e.template === A.OVERLAY ? /* @__PURE__ */ n(pe, {}) : Re(e) ? /* @__PURE__ */ n(ke, { imagePosition: e.imagePosition || "left" }) : /* @__PURE__ */ n(Pe, {}), Le = (e) => {
|
|
1222
1223
|
var i;
|
|
1223
1224
|
return /* @__PURE__ */ n(
|
|
1224
1225
|
fe,
|
|
@@ -1227,7 +1228,7 @@ const Re = (e) => e.template === w.OVERLAY ? /* @__PURE__ */ n(Se, {}) : Pe(e) ?
|
|
|
1227
1228
|
entityId: ((i = e.content) == null ? void 0 : i.id) || "",
|
|
1228
1229
|
...e,
|
|
1229
1230
|
children: /* @__PURE__ */ n(
|
|
1230
|
-
|
|
1231
|
+
be,
|
|
1231
1232
|
{
|
|
1232
1233
|
phoneCountryCode: e.phoneCountryCode,
|
|
1233
1234
|
language: e.language,
|
|
@@ -1244,12 +1245,12 @@ const Re = (e) => e.template === w.OVERLAY ? /* @__PURE__ */ n(Se, {}) : Pe(e) ?
|
|
|
1244
1245
|
customFields: e.customFields,
|
|
1245
1246
|
consents: e.consents,
|
|
1246
1247
|
syncWithProfile: e.syncWithProfile,
|
|
1247
|
-
children: /* @__PURE__ */ n(
|
|
1248
|
+
children: /* @__PURE__ */ n(Ie, { ...e })
|
|
1248
1249
|
}
|
|
1249
1250
|
)
|
|
1250
1251
|
}
|
|
1251
1252
|
);
|
|
1252
|
-
},
|
|
1253
|
+
}, We = he(Le);
|
|
1253
1254
|
export {
|
|
1254
|
-
|
|
1255
|
+
We as CollectLead
|
|
1255
1256
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
import { CompetitionStatisticsProps } from "fansunited-frontend-core";
|
|
3
2
|
|
|
4
|
-
export declare const CompetitionStatistics:
|
|
3
|
+
export declare const CompetitionStatistics: import('react').FC<CompetitionStatisticsProps>;
|
|
5
4
|
//# sourceMappingURL=CompetitionStatistics.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CompetitionStatistics.d.ts","sourceRoot":"","sources":["../../src/CompetitionStatistics.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CompetitionStatistics.d.ts","sourceRoot":"","sources":["../../src/CompetitionStatistics.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAGhE,eAAO,MAAM,qBAAqB,gDAA+E,CAAC"}
|