fansunited-frontend-components 0.0.31-RC5 → 0.0.31-RC6
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/ClassicQuizPlay.js +4847 -3
- package/CollectLead.js +1253 -3
- package/EventGamePlay.js +7595 -3
- package/MatchQuizPlay.js +11002 -3
- package/PersonalityQuizPlay.js +39512 -3
- package/PollVote.js +4167 -3
- package/chunks/CollectLeadForm-DtmR2Vuf.js +844 -0
- package/chunks/Error-DhQL89pn.js +120 -0
- package/chunks/NotFoundSkeleton-BYJTzYJR.js +2425 -0
- package/chunks/OverlayLeadAfterCollection-DnqztPJ5.js +899 -0
- package/chunks/OverlayScoreStateSkeleton-C9FUhcnd.js +147 -0
- package/chunks/Portal-BWqqFvVm.js +13823 -0
- package/package.json +1 -1
- package/_virtual/_commonjsHelpers.js +0 -6
- package/_virtual/index.js +0 -4
- package/_virtual/index2.js +0 -4
- package/_virtual/index3.js +0 -4
- package/_virtual/jsx-runtime.js +0 -4
- package/_virtual/react-is.development.js +0 -4
- package/_virtual/react-is.development2.js +0 -4
- package/_virtual/react-is.production.min.js +0 -4
- package/_virtual/react-is.production.min2.js +0 -4
- package/_virtual/react-jsx-runtime.development.js +0 -4
- package/_virtual/react-jsx-runtime.production.js +0 -4
- package/packages/classic-quiz-play/src/assets/default-quiz-bg-vertical.jpg.js +0 -4
- package/packages/classic-quiz-play/src/assets/default-quiz-bg.png.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/3dicons-bookmark-fav-dynamic-color.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/3dicons-crow-dynamic-color.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/3dicons-fire-dynamic-color.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/3dicons-flag-dynamic-color.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/3dicons-medal-dynamic-color.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/3dicons-rocket-dynamic-color.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/3dicons-target-dynamic-color.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/3dicons-thumb-down-dynamic-color.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/bottle-with-popping-cork.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/crown.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/direct-hit.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/hundred-points.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/person-facepalming.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/sports-medal.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/thumbs-down.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/trophy.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/upside-down-face.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/hexagons/shape-hexagon-danger.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/hexagons/shape-hexagon-success.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/hexagons/shape-hexagon-warning.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/info.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/school.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/sports_score.svg.js +0 -4
- package/packages/classic-quiz-play/src/components/ClassicQuizNotFound.js +0 -23
- package/packages/classic-quiz-play/src/components/ClassicQuizPlay.js +0 -353
- package/packages/classic-quiz-play/src/components/Leads/CollectLeadWrapper.js +0 -65
- package/packages/classic-quiz-play/src/components/Shared/AlertMessage.js +0 -93
- package/packages/classic-quiz-play/src/components/Shared/Answers/Answers.js +0 -80
- package/packages/classic-quiz-play/src/components/Shared/Answers/Option.js +0 -130
- package/packages/classic-quiz-play/src/components/Shared/Button.js +0 -67
- package/packages/classic-quiz-play/src/components/Shared/MainCard.js +0 -34
- package/packages/classic-quiz-play/src/components/Shared/PresentedBy.js +0 -122
- package/packages/classic-quiz-play/src/components/Shared/ScoreStateWrapper.js +0 -443
- package/packages/classic-quiz-play/src/components/Shared/Stepper.js +0 -59
- package/packages/classic-quiz-play/src/components/Shared/Stopwatch.js +0 -109
- package/packages/classic-quiz-play/src/components/Variants/Overlay/Error/OverlayError.js +0 -45
- package/packages/classic-quiz-play/src/components/Variants/Overlay/LeadCollection/OverlayLeadAfterCollection.js +0 -35
- package/packages/classic-quiz-play/src/components/Variants/Overlay/OverlayVariant.js +0 -170
- package/packages/classic-quiz-play/src/components/Variants/Overlay/OverlayVariant.styles.js +0 -190
- package/packages/classic-quiz-play/src/components/Variants/Overlay/ScoreState/OverlayScoreState.js +0 -177
- package/packages/classic-quiz-play/src/components/Variants/Overlay/ScoreState/OverlayScoreState.styles.js +0 -373
- package/packages/classic-quiz-play/src/components/Variants/Overlay/SignIn/OverlaySignIn.js +0 -120
- package/packages/classic-quiz-play/src/components/Variants/Overlay/SignIn/OverlaySignIn.styles.js +0 -42
- package/packages/classic-quiz-play/src/components/Variants/Split/Error/SplitError.js +0 -42
- package/packages/classic-quiz-play/src/components/Variants/Split/LeadCollection/SplitLeadAfterCollection.js +0 -37
- package/packages/classic-quiz-play/src/components/Variants/Split/ScoreState/SplitScoreState.js +0 -231
- package/packages/classic-quiz-play/src/components/Variants/Split/ScoreState/SplitScoreState.styles.js +0 -353
- package/packages/classic-quiz-play/src/components/Variants/Split/SignIn/SplitSignIn.js +0 -118
- package/packages/classic-quiz-play/src/components/Variants/Split/SignIn/SplitSignIn.styles.js +0 -52
- package/packages/classic-quiz-play/src/components/Variants/Split/SplitVariant.js +0 -183
- package/packages/classic-quiz-play/src/components/Variants/Split/SplitVariant.styles.js +0 -145
- package/packages/classic-quiz-play/src/components/Variants/Standard/Error/StandardError.js +0 -43
- package/packages/classic-quiz-play/src/components/Variants/Standard/LeadCollection/StandardLeadAfterCollection.js +0 -35
- package/packages/classic-quiz-play/src/components/Variants/Standard/ScoreState/StandardScoreState.js +0 -220
- package/packages/classic-quiz-play/src/components/Variants/Standard/ScoreState/StandardScoreState.styles.js +0 -347
- package/packages/classic-quiz-play/src/components/Variants/Standard/SignIn/StandardSignIn.js +0 -117
- package/packages/classic-quiz-play/src/components/Variants/Standard/SignIn/StandardSignIn.styles.js +0 -52
- package/packages/classic-quiz-play/src/components/Variants/Standard/StandardVariant.js +0 -209
- package/packages/classic-quiz-play/src/components/Variants/Standard/StandardVariant.styles.js +0 -182
- package/packages/classic-quiz-play/src/constants/constants.js +0 -4
- package/packages/classic-quiz-play/src/hooks/useClassicQuizById.js +0 -18
- package/packages/classic-quiz-play/src/hooks/useEmbedCodeContainer.js +0 -30
- package/packages/classic-quiz-play/src/hooks/useMyParticipation.js +0 -40
- package/packages/classic-quiz-play/src/hooks/useScoreStateHelpers.js +0 -117
- package/packages/classic-quiz-play/src/index.js +0 -4
- package/packages/classic-quiz-play/src/main.js +0 -7
- package/packages/collect-lead/src/assets/default-quiz-bg-vertical.jpg.js +0 -4
- package/packages/collect-lead/src/assets/default-quiz-bg.png.js +0 -4
- package/packages/collect-lead/src/components/CollectLead.js +0 -18
- package/packages/collect-lead/src/components/Leads/CollectLeadWrapper.js +0 -63
- package/packages/collect-lead/src/components/Shared/MainCard.js +0 -31
- package/packages/collect-lead/src/components/Shared/PresentedBy.js +0 -118
- package/packages/collect-lead/src/components/Variants/Overlay/LeadOverlayVariant.js +0 -72
- package/packages/collect-lead/src/components/Variants/Overlay/LeadOverlayVariant.styles.js +0 -187
- package/packages/collect-lead/src/components/Variants/Split/LeadSplitVariant.js +0 -81
- package/packages/collect-lead/src/components/Variants/Split/LeadSplitVariant.styles.js +0 -338
- package/packages/collect-lead/src/components/Variants/Standard/LeadStandardVariant.js +0 -82
- package/packages/collect-lead/src/components/Variants/Standard/LeadStandardVariant.styles.js +0 -313
- package/packages/collect-lead/src/index.js +0 -4
- package/packages/collect-lead/src/main.js +0 -39
- package/packages/collect-lead/src/providers/ConfigurationProvider.js +0 -50
- package/packages/common/src/components/AdditionalCTA.js +0 -24
- package/packages/common/src/components/AlertMessage.js +0 -88
- package/packages/common/src/components/LeadCollection/OverlayLeadAfterCollection.js +0 -111
- package/packages/common/src/components/LeadCollection/SplitLeadAfterCollection.js +0 -103
- package/packages/common/src/components/LeadCollection/StandardLeadAfterCollection.js +0 -101
- package/packages/common/src/components/Leads/CollectLeadForm.js +0 -72
- package/packages/common/src/components/Leads/ConsentsCheckboxes.js +0 -82
- package/packages/common/src/components/Leads/LeadAgreementCheckbox.js +0 -104
- package/packages/common/src/components/Leads/LeadForm.js +0 -498
- package/packages/common/src/components/Portal.js +0 -62
- package/packages/common/src/components/Rules.js +0 -299
- package/packages/common/src/components/Skeletons/NotFoundSkeleton.js +0 -83
- package/packages/common/src/components/Skeletons/Overlay/ApiError/OverlayApiErrorSkeleton.js +0 -80
- package/packages/common/src/components/Skeletons/Overlay/ApiError/OverlayApiErrorSkeleton.styles.js +0 -190
- package/packages/common/src/components/Skeletons/Overlay/OverlaySkeleton.js +0 -68
- package/packages/common/src/components/Skeletons/Overlay/OverlaySkeleton.styles.js +0 -100
- package/packages/common/src/components/Skeletons/Overlay/ScoreState/OverlayScoreStateSkeleton.js +0 -65
- package/packages/common/src/components/Skeletons/Overlay/ScoreState/OverlayScoreStateSkeleton.styles.js +0 -90
- package/packages/common/src/components/Skeletons/Overlay/ScoreState/OverlayScoreStateWrapperSkeleton.js +0 -34
- package/packages/common/src/components/Skeletons/Overlay/ScoreState/OverlayScoreStateWrapperSkeleton.styles.js +0 -55
- package/packages/common/src/components/Skeletons/Overlay/SignIn/OverlaySignInSkeleton.js +0 -58
- package/packages/common/src/components/Skeletons/Overlay/SignIn/OverlaySignInSkeleton.styles.js +0 -105
- package/packages/common/src/components/Skeletons/Split/ApiError/SplitApiErrorSkeleton.js +0 -98
- package/packages/common/src/components/Skeletons/Split/ApiError/SplitApiErrorSkeleton.styles.js +0 -167
- package/packages/common/src/components/Skeletons/Split/ScoreState/SplitScoreStateSkeleton.js +0 -64
- package/packages/common/src/components/Skeletons/Split/ScoreState/SplitScoreStateSkeleton.styles.js +0 -107
- package/packages/common/src/components/Skeletons/Split/SignIn/SplitSignInSkeleton.js +0 -55
- package/packages/common/src/components/Skeletons/Split/SignIn/SplitSignInSkeleton.styles.js +0 -94
- package/packages/common/src/components/Skeletons/Split/SplitSkeleton.js +0 -186
- package/packages/common/src/components/Skeletons/Split/SplitSkeleton.styles.js +0 -181
- package/packages/common/src/components/Skeletons/Standard/ApiError/StandardApiErrorSkeleton.js +0 -173
- package/packages/common/src/components/Skeletons/Standard/ApiError/StandardApiErrorSkeleton.styles.js +0 -275
- package/packages/common/src/components/Skeletons/Standard/ScoreState/StandardContentSkeleton.js +0 -23
- package/packages/common/src/components/Skeletons/Standard/ScoreState/StandardContentSkeleton.styles.js +0 -40
- package/packages/common/src/components/Skeletons/Standard/ScoreState/StandardScoreStateSkeleton.js +0 -142
- package/packages/common/src/components/Skeletons/Standard/ScoreState/StandardScoreStateSkeleton.styles.js +0 -203
- package/packages/common/src/components/Skeletons/Standard/SignIn/StandardSignInSkeleton.js +0 -157
- package/packages/common/src/components/Skeletons/Standard/SignIn/StandardSignInSkeleton.styles.js +0 -194
- package/packages/common/src/components/Skeletons/Standard/StandardSkeleton.js +0 -238
- package/packages/common/src/components/Skeletons/Standard/StandardSkeleton.styles.js +0 -211
- package/packages/common/src/components/Spinner.js +0 -36
- package/packages/common/src/constants/constants.js +0 -457
- package/packages/common/src/enums/enums.js +0 -4
- package/packages/common/src/functions/helpers.js +0 -58
- package/packages/common/src/functions/i18n.js +0 -69
- package/packages/common/src/functions/theme.js +0 -301
- package/packages/common/src/hooks/useConstantContext.js +0 -10
- package/packages/common/src/hooks/useImageUrl.js +0 -8
- package/packages/common/src/hooks/useImageVariant.js +0 -11
- package/packages/common/src/hooks/useLeadForm.js +0 -129
- package/packages/common/src/hooks/useThemeMode.js +0 -30
- package/packages/common/src/locales/bg.json.js +0 -363
- package/packages/common/src/locales/de.json.js +0 -362
- package/packages/common/src/locales/el.json.js +0 -362
- package/packages/common/src/locales/en.json.js +0 -368
- package/packages/common/src/locales/es.json.js +0 -362
- package/packages/common/src/locales/fr-be.json.js +0 -362
- package/packages/common/src/locales/fr.json.js +0 -362
- package/packages/common/src/locales/it.json.js +0 -362
- package/packages/common/src/locales/pl.json.js +0 -362
- package/packages/common/src/locales/pt-br.json.js +0 -362
- package/packages/common/src/locales/pt.json.js +0 -362
- package/packages/common/src/locales/ro.json.js +0 -362
- package/packages/common/src/locales/sk.json.js +0 -362
- package/packages/common/src/locales/sr.json.js +0 -362
- package/packages/common/src/providers/ConstantsProvider.js +0 -29
- package/packages/common/src/providers/ContainerProvider.js +0 -35
- package/packages/common/src/providers/FontProvider.js +0 -25
- package/packages/common/src/providers/ThemeProvider.js +0 -80
- package/packages/event-game-play/src/assets/default-quiz-bg-vertical.jpg.js +0 -4
- package/packages/event-game-play/src/assets/default-quiz-bg.png.js +0 -4
- package/packages/event-game-play/src/assets/school.svg.js +0 -4
- package/packages/event-game-play/src/assets/sports_score.svg.js +0 -4
- package/packages/event-game-play/src/components/EventGameNotFound.js +0 -23
- package/packages/event-game-play/src/components/EventGamePlay.js +0 -318
- package/packages/event-game-play/src/components/Shared/AlertMessage.js +0 -93
- package/packages/event-game-play/src/components/Shared/Countdown.js +0 -125
- package/packages/event-game-play/src/components/Shared/FinishedGameWrapper/FinishedGameWrapper.js +0 -574
- package/packages/event-game-play/src/components/Shared/Fixtures/Boolean/BooleanFixture.js +0 -60
- package/packages/event-game-play/src/components/Shared/Fixtures/Boolean/BooleanFixture.styles.js +0 -29
- package/packages/event-game-play/src/components/Shared/Fixtures/Boolean/BooleanSelector.js +0 -108
- package/packages/event-game-play/src/components/Shared/Fixtures/Boolean/BooleanSelector.styles.js +0 -44
- package/packages/event-game-play/src/components/Shared/Fixtures/Number/NumberFixture.js +0 -70
- package/packages/event-game-play/src/components/Shared/Fixtures/Number/NumberFixture.styles.js +0 -37
- package/packages/event-game-play/src/components/Shared/Fixtures/Number/NumberSelector.js +0 -82
- package/packages/event-game-play/src/components/Shared/Fixtures/Number/NumberSelector.styles.js +0 -64
- package/packages/event-game-play/src/components/Shared/Fixtures/PointsDisplay/PointsDisplay.js +0 -70
- package/packages/event-game-play/src/components/Shared/Fixtures/PointsDisplay/PointsDisplay.styles.js +0 -98
- package/packages/event-game-play/src/components/Shared/Fixtures/Text/TextFixture.js +0 -62
- package/packages/event-game-play/src/components/Shared/Fixtures/Text/TextFixture.styles.js +0 -29
- package/packages/event-game-play/src/components/Shared/Fixtures/Text/TextSelector.js +0 -344
- package/packages/event-game-play/src/components/Shared/Fixtures/Text/TextSelector.styles.js +0 -70
- package/packages/event-game-play/src/components/Shared/Fixtures/shared.styles.js +0 -63
- package/packages/event-game-play/src/components/Shared/Leaderboard/LeaderboardComponent.js +0 -220
- package/packages/event-game-play/src/components/Shared/Leaderboard/LeaderboardPagination.js +0 -88
- package/packages/event-game-play/src/components/Shared/MainCard.js +0 -34
- package/packages/event-game-play/src/components/Shared/Notification.js +0 -67
- package/packages/event-game-play/src/components/Shared/Stepper.js +0 -151
- package/packages/event-game-play/src/components/Shared/Summary/EditPredictionModal.js +0 -163
- package/packages/event-game-play/src/components/Shared/Summary/EditPredictionModal.styles.js +0 -110
- package/packages/event-game-play/src/components/Shared/Summary/PredictionSummary.js +0 -118
- package/packages/event-game-play/src/components/Shared/Summary/PredictionSummary.styles.js +0 -180
- package/packages/event-game-play/src/components/Variants/Overlay/Error/EventGameOverlayError.js +0 -30
- package/packages/event-game-play/src/components/Variants/Overlay/EventGameOverlayVariant.js +0 -348
- package/packages/event-game-play/src/components/Variants/Overlay/EventGameOverlayVariant.styles.js +0 -213
- package/packages/event-game-play/src/components/Variants/Overlay/FinishedGame/EventGameOverlayFinishedGame.js +0 -130
- package/packages/event-game-play/src/components/Variants/Overlay/FinishedGame/EventGameOverlayFinishedGame.styles.js +0 -712
- package/packages/event-game-play/src/components/Variants/Overlay/ScoreState/EventGameOverlayScoreState.js +0 -141
- package/packages/event-game-play/src/components/Variants/Overlay/ScoreState/EventGameOverlayScoreState.styles.js +0 -156
- package/packages/event-game-play/src/components/Variants/Split/Error/EventGameSplitError.js +0 -28
- package/packages/event-game-play/src/components/Variants/Split/EventGameSplitVariant.js +0 -347
- package/packages/event-game-play/src/components/Variants/Split/EventGameSplitVariant.styles.js +0 -149
- package/packages/event-game-play/src/components/Variants/Split/FinishedGame/EventGameSplitFinishedGame.js +0 -119
- package/packages/event-game-play/src/components/Variants/Split/FinishedGame/EventGameSplitFinishedGame.styles.js +0 -230
- package/packages/event-game-play/src/components/Variants/Split/ScoreState/EventGameSplitScoreState.js +0 -139
- package/packages/event-game-play/src/components/Variants/Split/ScoreState/EventGameSplitScoreState.styles.js +0 -45
- package/packages/event-game-play/src/components/Variants/Standard/Error/EventGameStandardError.js +0 -29
- package/packages/event-game-play/src/components/Variants/Standard/EventGameStandardVariant.js +0 -329
- package/packages/event-game-play/src/components/Variants/Standard/EventGameStandardVariant.styles.js +0 -373
- package/packages/event-game-play/src/components/Variants/Standard/FinishedGame/EventGameStandardFinishedGame.js +0 -219
- package/packages/event-game-play/src/components/Variants/Standard/FinishedGame/EventGameStandardFinishedGame.styles.js +0 -548
- package/packages/event-game-play/src/components/Variants/Standard/ScoreState/EventGameStandardScoreState.js +0 -117
- package/packages/event-game-play/src/components/Variants/Standard/ScoreState/EventGameStandardScoreState.styles.js +0 -259
- package/packages/event-game-play/src/helpers/helpers.js +0 -11
- package/packages/event-game-play/src/hooks/useEventGameById.js +0 -27
- package/packages/event-game-play/src/hooks/useEventGamePrediction.js +0 -54
- package/packages/event-game-play/src/hooks/useEventRankings.js +0 -61
- package/packages/event-game-play/src/index.js +0 -4
- package/packages/event-game-play/src/main.js +0 -7
- package/packages/event-game-play/src/providers/ConstantsProvider.js +0 -17
- package/packages/match-quiz-play/src/assets/default-quiz-bg-vertical.jpg.js +0 -4
- package/packages/match-quiz-play/src/assets/default-quiz-bg.png.js +0 -4
- package/packages/match-quiz-play/src/assets/school.svg.js +0 -4
- package/packages/match-quiz-play/src/assets/sports_score.svg.js +0 -4
- package/packages/match-quiz-play/src/components/Leads/CollectLeadWrapper.js +0 -65
- package/packages/match-quiz-play/src/components/MatchQuizNotFound.js +0 -23
- package/packages/match-quiz-play/src/components/MatchQuizPlay.js +0 -490
- package/packages/match-quiz-play/src/components/Shared/AlertMessage.js +0 -93
- package/packages/match-quiz-play/src/components/Shared/Countdown.js +0 -125
- package/packages/match-quiz-play/src/components/Shared/FinishedGameWrapper/EarnedPointsDisplay.js +0 -64
- package/packages/match-quiz-play/src/components/Shared/FinishedGameWrapper/FinishedGameWrapper.js +0 -854
- package/packages/match-quiz-play/src/components/Shared/Fixtures/1X2/OneXTwoFixture.js +0 -63
- package/packages/match-quiz-play/src/components/Shared/Fixtures/1X2/OneXTwoFixture.styles.js +0 -29
- package/packages/match-quiz-play/src/components/Shared/Fixtures/1X2/OneXTwoSelector.js +0 -143
- package/packages/match-quiz-play/src/components/Shared/Fixtures/1X2/OneXTwoSelector.styles.js +0 -101
- package/packages/match-quiz-play/src/components/Shared/Fixtures/1X2/OneXTwoSelectorSplit.js +0 -97
- package/packages/match-quiz-play/src/components/Shared/Fixtures/1X2/OneXTwoSelectorSplit.styles.js +0 -77
- package/packages/match-quiz-play/src/components/Shared/Fixtures/Corners/CornersFixture.js +0 -61
- package/packages/match-quiz-play/src/components/Shared/Fixtures/Corners/CornersFixture.styles.js +0 -29
- package/packages/match-quiz-play/src/components/Shared/Fixtures/Corners/CornersSelector.js +0 -63
- package/packages/match-quiz-play/src/components/Shared/Fixtures/Corners/CornersSelector.styles.js +0 -41
- package/packages/match-quiz-play/src/components/Shared/Fixtures/CorrectScore/CorrectScoreFixture.js +0 -72
- package/packages/match-quiz-play/src/components/Shared/Fixtures/CorrectScore/CorrectScoreFixture.styles.js +0 -30
- package/packages/match-quiz-play/src/components/Shared/Fixtures/CorrectScore/ScoreSelector.js +0 -179
- package/packages/match-quiz-play/src/components/Shared/Fixtures/CorrectScore/ScoreSelector.styles.js +0 -163
- package/packages/match-quiz-play/src/components/Shared/Fixtures/CorrectScore/ScoreSelectorSplit.js +0 -103
- package/packages/match-quiz-play/src/components/Shared/Fixtures/CorrectScore/ScoreSelectorSplit.styles.js +0 -86
- package/packages/match-quiz-play/src/components/Shared/Fixtures/Players/PlayersFixture.js +0 -79
- package/packages/match-quiz-play/src/components/Shared/Fixtures/Players/PlayersFixture.styles.js +0 -29
- package/packages/match-quiz-play/src/components/Shared/Fixtures/Players/PlayersSelector.js +0 -213
- package/packages/match-quiz-play/src/components/Shared/Fixtures/Players/PlayersSelector.styles.js +0 -293
- package/packages/match-quiz-play/src/components/Shared/Fixtures/PointsDisplay/PointsDisplay.js +0 -116
- package/packages/match-quiz-play/src/components/Shared/Fixtures/PointsDisplay/PointsDisplay.styles.js +0 -98
- package/packages/match-quiz-play/src/components/Shared/Fixtures/YesNo/YesNoFixture.js +0 -72
- package/packages/match-quiz-play/src/components/Shared/Fixtures/YesNo/YesNoFixture.styles.js +0 -29
- package/packages/match-quiz-play/src/components/Shared/Fixtures/YesNo/YesNoSelector.js +0 -108
- package/packages/match-quiz-play/src/components/Shared/Fixtures/YesNo/YesNoSelector.styles.js +0 -44
- package/packages/match-quiz-play/src/components/Shared/Fixtures/shared.styles.js +0 -63
- package/packages/match-quiz-play/src/components/Shared/Leaderboard/LeaderboardComponent.js +0 -220
- package/packages/match-quiz-play/src/components/Shared/Leaderboard/RoundedPagination.js +0 -207
- package/packages/match-quiz-play/src/components/Shared/MainCard.js +0 -34
- package/packages/match-quiz-play/src/components/Shared/Notification.js +0 -67
- package/packages/match-quiz-play/src/components/Shared/PresentedBy.js +0 -118
- package/packages/match-quiz-play/src/components/Shared/Stepper.js +0 -151
- package/packages/match-quiz-play/src/components/Shared/Summary/EditPredictionModal.js +0 -172
- package/packages/match-quiz-play/src/components/Shared/Summary/EditPredictionModal.styles.js +0 -109
- package/packages/match-quiz-play/src/components/Shared/Summary/PredictionSummary.js +0 -235
- package/packages/match-quiz-play/src/components/Shared/Summary/PredictionSummary.styles.js +0 -219
- package/packages/match-quiz-play/src/components/Variants/Overlay/Error/MatchQuizOverlayError.js +0 -45
- package/packages/match-quiz-play/src/components/Variants/Overlay/FinishedGame/MatchQuizOverlayFinishedGame.js +0 -157
- package/packages/match-quiz-play/src/components/Variants/Overlay/FinishedGame/MatchQuizOverlayFinishedGame.styles.js +0 -710
- package/packages/match-quiz-play/src/components/Variants/Overlay/LeadCollection/OverlayLeadAfterCollection.js +0 -35
- package/packages/match-quiz-play/src/components/Variants/Overlay/MatchQuizOverlayVariant.js +0 -499
- package/packages/match-quiz-play/src/components/Variants/Overlay/MatchQuizOverlayVariant.styles.js +0 -213
- package/packages/match-quiz-play/src/components/Variants/Overlay/ScoreState/MatchQuizOverlayScoreState.js +0 -178
- package/packages/match-quiz-play/src/components/Variants/Overlay/ScoreState/MatchQuizOverlayScoreState.styles.js +0 -128
- package/packages/match-quiz-play/src/components/Variants/Overlay/SignIn/MatchQuizOverlaySignIn.js +0 -120
- package/packages/match-quiz-play/src/components/Variants/Overlay/SignIn/MatchQuizOverlaySignIn.styles.js +0 -42
- package/packages/match-quiz-play/src/components/Variants/Split/Error/MatchQuizSplitError.js +0 -42
- package/packages/match-quiz-play/src/components/Variants/Split/FinishedGame/MatchQuizSplitFinishedGame.js +0 -185
- package/packages/match-quiz-play/src/components/Variants/Split/FinishedGame/MatchQuizSplitFinishedGame.styles.js +0 -233
- package/packages/match-quiz-play/src/components/Variants/Split/LeadCollection/SplitLeadAfterCollection.js +0 -37
- package/packages/match-quiz-play/src/components/Variants/Split/MatchQuizSplitVariant.js +0 -511
- package/packages/match-quiz-play/src/components/Variants/Split/MatchQuizSplitVariant.styles.js +0 -149
- package/packages/match-quiz-play/src/components/Variants/Split/ScoreState/MatchQuizSplitScoreState.js +0 -164
- package/packages/match-quiz-play/src/components/Variants/Split/ScoreState/MatchQuizSplitScoreState.styles.js +0 -27
- package/packages/match-quiz-play/src/components/Variants/Split/SignIn/MatchQuizSplitSignIn.js +0 -118
- package/packages/match-quiz-play/src/components/Variants/Split/SignIn/MatchQuizSplitSignIn.styles.js +0 -52
- package/packages/match-quiz-play/src/components/Variants/Standard/Error/MatchQuizStandardError.js +0 -43
- package/packages/match-quiz-play/src/components/Variants/Standard/FinishedGame/MatchQuizStandardFinishedGame.js +0 -234
- package/packages/match-quiz-play/src/components/Variants/Standard/FinishedGame/MatchQuizStandardFinishedGame.styles.js +0 -548
- package/packages/match-quiz-play/src/components/Variants/Standard/LeadCollection/StandardLeadAfterCollection.js +0 -35
- package/packages/match-quiz-play/src/components/Variants/Standard/MatchQuizStandardVariant.js +0 -513
- package/packages/match-quiz-play/src/components/Variants/Standard/MatchQuizStandardVariant.styles.js +0 -376
- package/packages/match-quiz-play/src/components/Variants/Standard/ScoreState/MatchQuizStandardScoreState.js +0 -135
- package/packages/match-quiz-play/src/components/Variants/Standard/ScoreState/MatchQuizStandardScoreState.styles.js +0 -259
- package/packages/match-quiz-play/src/components/Variants/Standard/SignIn/MatchQuizStandardSignIn.js +0 -129
- package/packages/match-quiz-play/src/components/Variants/Standard/SignIn/MatchQuizStandardSignIn.styles.js +0 -239
- package/packages/match-quiz-play/src/helpers/helpers.js +0 -9
- package/packages/match-quiz-play/src/hooks/useMatchQuiz.js +0 -42
- package/packages/match-quiz-play/src/hooks/useMatchQuizLeaderboard.js +0 -53
- package/packages/match-quiz-play/src/hooks/useMatchQuizMarketsResults.js +0 -29
- package/packages/match-quiz-play/src/hooks/useMatchQuizPrediction.js +0 -38
- package/packages/match-quiz-play/src/index.js +0 -4
- package/packages/match-quiz-play/src/main.js +0 -7
- package/packages/match-quiz-play/src/providers/ConstantsProvider.js +0 -26
- package/packages/personality-quiz-play/dist/personality-quiz-play.es.js +0 -39513
- package/packages/poll-vote/src/assets/default-quiz-bg-vertical.jpg.js +0 -4
- package/packages/poll-vote/src/assets/default-quiz-bg.png.js +0 -4
- package/packages/poll-vote/src/components/Leads/CollectLeadWrapper.js +0 -65
- package/packages/poll-vote/src/components/PollNotFound.js +0 -23
- package/packages/poll-vote/src/components/PollVote.js +0 -270
- package/packages/poll-vote/src/components/Shared/AlertMessage.js +0 -93
- package/packages/poll-vote/src/components/Shared/Answers/PollOption.js +0 -132
- package/packages/poll-vote/src/components/Shared/Answers/PollOptions.js +0 -82
- package/packages/poll-vote/src/components/Shared/Button.js +0 -76
- package/packages/poll-vote/src/components/Shared/MainCard.js +0 -36
- package/packages/poll-vote/src/components/Shared/PresentedBy.js +0 -118
- package/packages/poll-vote/src/components/Shared/Results/PollOptionResult.js +0 -257
- package/packages/poll-vote/src/components/Shared/Results/PollOptionsResults.js +0 -232
- package/packages/poll-vote/src/components/Variants/Overlay/Error/PollOverlayError.js +0 -45
- package/packages/poll-vote/src/components/Variants/Overlay/LeadCollection/OverlayLeadAfterCollection.js +0 -34
- package/packages/poll-vote/src/components/Variants/Overlay/PollOverlayVariant.js +0 -137
- package/packages/poll-vote/src/components/Variants/Overlay/PollOverlayVariant.styles.js +0 -105
- package/packages/poll-vote/src/components/Variants/Overlay/ScoreState/PollOverlayScoreState.js +0 -107
- package/packages/poll-vote/src/components/Variants/Overlay/ScoreState/PollOverlayScoreState.styles.js +0 -178
- package/packages/poll-vote/src/components/Variants/Overlay/SignIn/PollOverlaySignIn.js +0 -120
- package/packages/poll-vote/src/components/Variants/Overlay/SignIn/PollOverlaySignIn.styles.js +0 -42
- package/packages/poll-vote/src/components/Variants/Split/Error/PollSplitError.js +0 -42
- package/packages/poll-vote/src/components/Variants/Split/LeadCollection/SplitLeadAfterCollection.js +0 -36
- package/packages/poll-vote/src/components/Variants/Split/PollSplitVariant.js +0 -231
- package/packages/poll-vote/src/components/Variants/Split/PollSplitVariant.styles.js +0 -332
- package/packages/poll-vote/src/components/Variants/Split/ScoreState/PollSplitScoreState.js +0 -155
- package/packages/poll-vote/src/components/Variants/Split/ScoreState/PollSplitScoreState.styles.js +0 -156
- package/packages/poll-vote/src/components/Variants/Split/SignIn/PollSplitSignIn.js +0 -117
- package/packages/poll-vote/src/components/Variants/Split/SignIn/PollSplitSignIn.styles.js +0 -52
- package/packages/poll-vote/src/components/Variants/Standard/Error/PollStandardError.js +0 -43
- package/packages/poll-vote/src/components/Variants/Standard/LeadCollection/StandardLeadAfterCollection.js +0 -34
- package/packages/poll-vote/src/components/Variants/Standard/PollStandardVariant.js +0 -138
- package/packages/poll-vote/src/components/Variants/Standard/PollStandardVariant.styles.js +0 -92
- package/packages/poll-vote/src/components/Variants/Standard/ScoreState/PollStandardScoreState.js +0 -146
- package/packages/poll-vote/src/components/Variants/Standard/ScoreState/PollStandardScoreState.styles.js +0 -164
- package/packages/poll-vote/src/components/Variants/Standard/SignIn/PollStandardSignIn.js +0 -129
- package/packages/poll-vote/src/components/Variants/Standard/SignIn/PollStandardSignIn.styles.js +0 -248
- package/packages/poll-vote/src/hooks/useEmbedCodeContainer.js +0 -30
- package/packages/poll-vote/src/hooks/useMyPollVote.js +0 -43
- package/packages/poll-vote/src/hooks/usePollById.js +0 -16
- package/packages/poll-vote/src/hooks/usePollOptionsImages.js +0 -19
- package/packages/poll-vote/src/index.js +0 -4
- package/packages/poll-vote/src/main.js +0 -7
|
@@ -1,220 +0,0 @@
|
|
|
1
|
-
import { j as e } from "../../../../../../node_modules/react/jsx-runtime.js";
|
|
2
|
-
import { Typography as i, Box as b, Sheet as $, Table as B, Avatar as T } from "@mui/joy";
|
|
3
|
-
import z from "../../../../../../node_modules/@mui/icons-material/esm/Person.js";
|
|
4
|
-
import { useInternalTheme as k, useColors as N, useFontFamily as w, useCornerRadius as R, useSpacingScale as E, isExtraSmall as L } from "../../../../../common/src/functions/theme.js";
|
|
5
|
-
import { hexToRgb as m } from "../../../../../common/src/functions/helpers.js";
|
|
6
|
-
import "../../../../../../node_modules/i18next/dist/esm/i18next.js";
|
|
7
|
-
import "../../../../../../node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js";
|
|
8
|
-
import M from "../../../../../common/src/components/Spinner.js";
|
|
9
|
-
import "react";
|
|
10
|
-
import "../../../../../common/src/providers/ConstantsProvider.js";
|
|
11
|
-
import "../../../../../common/src/providers/ContainerProvider.js";
|
|
12
|
-
import { useTranslation as U } from "../../../../../../node_modules/react-i18next/dist/es/useTranslation.js";
|
|
13
|
-
const ee = ({
|
|
14
|
-
leaderboard: c,
|
|
15
|
-
userRankings: x,
|
|
16
|
-
matchQuiz: P,
|
|
17
|
-
showHeading: A,
|
|
18
|
-
isSplitVariant: g
|
|
19
|
-
}) => {
|
|
20
|
-
var v;
|
|
21
|
-
const { t: n } = U(), F = k(), h = N(), a = ((v = P.branding) == null ? void 0 : v.colors) || null, u = (a == null ? void 0 : a.primaryColor) || h.palette.primary.plainColor, r = (a == null ? void 0 : a.contentColor) || h.textColor, l = w().primary, W = w().secondary, I = R(), p = E(), C = L(), d = h.surfaceVariant, y = F.colorSchemes.light.palette.primary.onPrimary, j = h.outlineEnabledBorder, o = {
|
|
22
|
-
leaderboardContainer: {
|
|
23
|
-
display: "flex",
|
|
24
|
-
flexDirection: "column",
|
|
25
|
-
gap: p.md
|
|
26
|
-
},
|
|
27
|
-
leaderboardTitle: {
|
|
28
|
-
fontFamily: l,
|
|
29
|
-
fontWeight: 700,
|
|
30
|
-
fontSize: "1.25em",
|
|
31
|
-
color: r,
|
|
32
|
-
textAlign: "center",
|
|
33
|
-
marginBottom: p.sm
|
|
34
|
-
},
|
|
35
|
-
tableContainer: {
|
|
36
|
-
overflowX: "auto",
|
|
37
|
-
borderRadius: I.md,
|
|
38
|
-
border: `1px solid ${j}`
|
|
39
|
-
},
|
|
40
|
-
table: {
|
|
41
|
-
backgroundColor: d,
|
|
42
|
-
"--TableCell-paddingX": "0.5rem",
|
|
43
|
-
"--TableCell-paddingY": "0.375rem",
|
|
44
|
-
cursor: "default",
|
|
45
|
-
"& > tbody > tr:hover": {
|
|
46
|
-
backgroundColor: "transparent"
|
|
47
|
-
},
|
|
48
|
-
"& > thead > tr > th": {
|
|
49
|
-
backgroundColor: `rgba(${m(d)}, 0.8)`,
|
|
50
|
-
color: r,
|
|
51
|
-
fontFamily: l,
|
|
52
|
-
fontWeight: 600,
|
|
53
|
-
fontSize: "0.875em",
|
|
54
|
-
textAlign: "center",
|
|
55
|
-
borderBottom: `1px solid ${j}`
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
headerCellPosition: {
|
|
59
|
-
backgroundColor: `rgba(${m(d)}, 0.8)`,
|
|
60
|
-
color: r,
|
|
61
|
-
fontFamily: l,
|
|
62
|
-
fontWeight: 600,
|
|
63
|
-
fontSize: "0.875em",
|
|
64
|
-
textAlign: "center",
|
|
65
|
-
padding: "0.375rem 0.5rem",
|
|
66
|
-
width: "10%"
|
|
67
|
-
},
|
|
68
|
-
headerCellName: {
|
|
69
|
-
backgroundColor: `rgba(${m(d)}, 0.8)`,
|
|
70
|
-
color: r,
|
|
71
|
-
fontFamily: l,
|
|
72
|
-
fontWeight: 600,
|
|
73
|
-
fontSize: "0.875em",
|
|
74
|
-
textAlign: "left",
|
|
75
|
-
padding: "0.375rem 0.5rem",
|
|
76
|
-
width: "80%"
|
|
77
|
-
},
|
|
78
|
-
headerCellPoints: {
|
|
79
|
-
backgroundColor: `rgba(${m(d)}, 0.8)`,
|
|
80
|
-
color: r,
|
|
81
|
-
fontFamily: l,
|
|
82
|
-
fontWeight: 600,
|
|
83
|
-
fontSize: "0.875em",
|
|
84
|
-
textAlign: "center",
|
|
85
|
-
padding: "0.375rem 0.5rem",
|
|
86
|
-
width: "10%"
|
|
87
|
-
},
|
|
88
|
-
tableCellPosition: {
|
|
89
|
-
padding: "0.375rem 0.5rem",
|
|
90
|
-
width: "10%",
|
|
91
|
-
textAlign: "center"
|
|
92
|
-
},
|
|
93
|
-
tableCellName: {
|
|
94
|
-
padding: "0.375rem 0.5rem",
|
|
95
|
-
width: "80%"
|
|
96
|
-
},
|
|
97
|
-
tableCellPoints: {
|
|
98
|
-
padding: "0.375rem 0.5rem",
|
|
99
|
-
width: "10%",
|
|
100
|
-
textAlign: "center"
|
|
101
|
-
},
|
|
102
|
-
userRow: {
|
|
103
|
-
backgroundColor: `rgba(${m(u)}, 0.1)`
|
|
104
|
-
},
|
|
105
|
-
nameCell: {
|
|
106
|
-
display: "flex",
|
|
107
|
-
alignItems: "center",
|
|
108
|
-
gap: p.sm
|
|
109
|
-
},
|
|
110
|
-
leaderboardAvatar: {
|
|
111
|
-
width: "32px",
|
|
112
|
-
height: "32px",
|
|
113
|
-
fontSize: "0.875em",
|
|
114
|
-
fontWeight: 600,
|
|
115
|
-
backgroundColor: u,
|
|
116
|
-
color: y
|
|
117
|
-
},
|
|
118
|
-
nameText: {
|
|
119
|
-
fontFamily: l,
|
|
120
|
-
fontWeight: 500,
|
|
121
|
-
fontSize: "0.875em",
|
|
122
|
-
color: r,
|
|
123
|
-
overflow: "hidden",
|
|
124
|
-
textOverflow: "ellipsis",
|
|
125
|
-
whiteSpace: "nowrap"
|
|
126
|
-
},
|
|
127
|
-
positionText: {
|
|
128
|
-
fontFamily: l,
|
|
129
|
-
fontWeight: 600,
|
|
130
|
-
fontSize: "0.875em",
|
|
131
|
-
color: r
|
|
132
|
-
},
|
|
133
|
-
pointsText: {
|
|
134
|
-
fontFamily: l,
|
|
135
|
-
fontWeight: 600,
|
|
136
|
-
fontSize: "0.875em",
|
|
137
|
-
color: r
|
|
138
|
-
},
|
|
139
|
-
avatarIcon: {
|
|
140
|
-
fontSize: "1em",
|
|
141
|
-
color: y
|
|
142
|
-
},
|
|
143
|
-
noLeaderboardText: {
|
|
144
|
-
fontFamily: W,
|
|
145
|
-
fontSize: "1.25em",
|
|
146
|
-
color: r,
|
|
147
|
-
textAlign: "center",
|
|
148
|
-
marginY: p.md
|
|
149
|
-
}
|
|
150
|
-
};
|
|
151
|
-
if (!c || !x)
|
|
152
|
-
return /* @__PURE__ */ e.jsx(M, { my: 10 });
|
|
153
|
-
if (c.length === 0)
|
|
154
|
-
return /* @__PURE__ */ e.jsx(i, { level: "body-lg", sx: o.noLeaderboardText, children: n("matchQuiz.leaderboard.noLeaderboardAvailable") });
|
|
155
|
-
const s = x && x.length > 0 ? x[0] : null, f = s == null ? void 0 : s.position, Q = f && c.some((t) => t.position === f);
|
|
156
|
-
return /* @__PURE__ */ e.jsxs(b, { sx: o.leaderboardContainer, children: [
|
|
157
|
-
A && /* @__PURE__ */ e.jsx(i, { level: "h4", sx: o.leaderboardTitle, children: n("matchQuiz.leaderboard.title") }),
|
|
158
|
-
/* @__PURE__ */ e.jsx($, { sx: o.tableContainer, children: /* @__PURE__ */ e.jsxs(
|
|
159
|
-
B,
|
|
160
|
-
{
|
|
161
|
-
variant: "outlined",
|
|
162
|
-
hoverRow: !1,
|
|
163
|
-
borderAxis: "bothBetween",
|
|
164
|
-
size: "sm",
|
|
165
|
-
sx: o.table,
|
|
166
|
-
children: [
|
|
167
|
-
/* @__PURE__ */ e.jsx("thead", { children: /* @__PURE__ */ e.jsxs("tr", { children: [
|
|
168
|
-
/* @__PURE__ */ e.jsx("th", { style: o.headerCellPosition, children: C || g ? "" : n("matchQuiz.leaderboard.position") }),
|
|
169
|
-
/* @__PURE__ */ e.jsx("th", { style: o.headerCellName, children: n("matchQuiz.leaderboard.name") }),
|
|
170
|
-
/* @__PURE__ */ e.jsx("th", { style: o.headerCellPoints, children: C || g ? "🎯" : n("matchQuiz.leaderboard.points") })
|
|
171
|
-
] }) }),
|
|
172
|
-
/* @__PURE__ */ e.jsxs("tbody", { children: [
|
|
173
|
-
s && !Q && /* @__PURE__ */ e.jsxs("tr", { style: o.userRow, children: [
|
|
174
|
-
/* @__PURE__ */ e.jsx("td", { style: o.tableCellPosition, children: /* @__PURE__ */ e.jsxs(i, { sx: o.positionText, children: [
|
|
175
|
-
"#",
|
|
176
|
-
s.position
|
|
177
|
-
] }) }),
|
|
178
|
-
/* @__PURE__ */ e.jsx("td", { style: o.tableCellName, children: /* @__PURE__ */ e.jsxs(b, { sx: o.nameCell, children: [
|
|
179
|
-
/* @__PURE__ */ e.jsx(T, { sx: o.leaderboardAvatar, children: /* @__PURE__ */ e.jsx(z, { sx: o.avatarIcon }) }),
|
|
180
|
-
/* @__PURE__ */ e.jsx(i, { sx: o.nameText, children: n("matchQuiz.leaderboard.you") })
|
|
181
|
-
] }) }),
|
|
182
|
-
/* @__PURE__ */ e.jsx("td", { style: o.tableCellPoints, children: /* @__PURE__ */ e.jsx(i, { sx: o.pointsText, children: s.points }) })
|
|
183
|
-
] }),
|
|
184
|
-
c.map((t) => {
|
|
185
|
-
const S = f === t.position;
|
|
186
|
-
return /* @__PURE__ */ e.jsxs(
|
|
187
|
-
"tr",
|
|
188
|
-
{
|
|
189
|
-
style: S ? o.userRow : void 0,
|
|
190
|
-
children: [
|
|
191
|
-
/* @__PURE__ */ e.jsx("td", { style: o.tableCellPosition, children: /* @__PURE__ */ e.jsxs(i, { sx: o.positionText, children: [
|
|
192
|
-
"#",
|
|
193
|
-
t.position
|
|
194
|
-
] }) }),
|
|
195
|
-
/* @__PURE__ */ e.jsx("td", { style: o.tableCellName, children: /* @__PURE__ */ e.jsxs(b, { sx: o.nameCell, children: [
|
|
196
|
-
/* @__PURE__ */ e.jsx(
|
|
197
|
-
T,
|
|
198
|
-
{
|
|
199
|
-
src: t.profileModel.avatar || void 0,
|
|
200
|
-
sx: o.leaderboardAvatar,
|
|
201
|
-
children: t.profileModel.avatar ? /* @__PURE__ */ e.jsx(e.Fragment, {}) : /* @__PURE__ */ e.jsx(z, { sx: o.avatarIcon })
|
|
202
|
-
}
|
|
203
|
-
),
|
|
204
|
-
/* @__PURE__ */ e.jsx(i, { sx: o.nameText, children: S ? n("matchQuiz.leaderboard.you") : t.profileModel.nickname || t.profileModel.name })
|
|
205
|
-
] }) }),
|
|
206
|
-
/* @__PURE__ */ e.jsx("td", { style: o.tableCellPoints, children: /* @__PURE__ */ e.jsx(i, { sx: o.pointsText, children: t.points }) })
|
|
207
|
-
]
|
|
208
|
-
},
|
|
209
|
-
t.profileId
|
|
210
|
-
);
|
|
211
|
-
})
|
|
212
|
-
] })
|
|
213
|
-
]
|
|
214
|
-
}
|
|
215
|
-
) })
|
|
216
|
-
] });
|
|
217
|
-
};
|
|
218
|
-
export {
|
|
219
|
-
ee as default
|
|
220
|
-
};
|
|
@@ -1,207 +0,0 @@
|
|
|
1
|
-
import { j as o } from "../../../../../../node_modules/react/jsx-runtime.js";
|
|
2
|
-
import { Box as M, IconButton as u, Button as B } from "@mui/joy";
|
|
3
|
-
import { useInternalTheme as S } from "../../../../../common/src/functions/theme.js";
|
|
4
|
-
import "../../../../../../node_modules/i18next/dist/esm/i18next.js";
|
|
5
|
-
import "../../../../../../node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js";
|
|
6
|
-
import "react";
|
|
7
|
-
import "../../../../../common/src/providers/ConstantsProvider.js";
|
|
8
|
-
import "../../../../../common/src/providers/ContainerProvider.js";
|
|
9
|
-
import H from "../../../../../../node_modules/lucide-react/dist/esm/icons/chevrons-left.js";
|
|
10
|
-
import I from "../../../../../../node_modules/lucide-react/dist/esm/icons/chevron-left.js";
|
|
11
|
-
import P from "../../../../../../node_modules/lucide-react/dist/esm/icons/chevron-right.js";
|
|
12
|
-
import D from "../../../../../../node_modules/lucide-react/dist/esm/icons/chevrons-right.js";
|
|
13
|
-
const Y = ({
|
|
14
|
-
count: e = 10,
|
|
15
|
-
page: i = 1,
|
|
16
|
-
onChange: C,
|
|
17
|
-
siblingCount: b = 1,
|
|
18
|
-
boundaryCount: s = 1,
|
|
19
|
-
showFirstButton: z = !0,
|
|
20
|
-
showLastButton: R = !0,
|
|
21
|
-
size: h = "md",
|
|
22
|
-
disabled: p = !1,
|
|
23
|
-
isOverlayVariant: g = !1
|
|
24
|
-
}) => {
|
|
25
|
-
const k = S(), x = (r) => {
|
|
26
|
-
C && r >= 1 && r <= e && C(r);
|
|
27
|
-
}, j = (r, t) => {
|
|
28
|
-
const l = [];
|
|
29
|
-
for (let n = r; n <= t; n++) l.push(n);
|
|
30
|
-
return l;
|
|
31
|
-
}, W = (() => {
|
|
32
|
-
if (e <= 0) return [];
|
|
33
|
-
const r = j(1, Math.min(s, e)), t = j(
|
|
34
|
-
Math.max(e - s + 1, s + 1),
|
|
35
|
-
e
|
|
36
|
-
), l = Math.max(s + 1, i - b), n = Math.min(e - s, i + b), c = [...r];
|
|
37
|
-
if (l > s + 1 && c.push("ellipsis-start"), l <= n)
|
|
38
|
-
for (let d = l; d <= n; d++)
|
|
39
|
-
c.push(d);
|
|
40
|
-
n < e - s && c.push("ellipsis-end");
|
|
41
|
-
for (const d of t)
|
|
42
|
-
c.includes(d) || c.push(d);
|
|
43
|
-
return c;
|
|
44
|
-
})(), a = h === "sm" ? "sm" : h === "lg" ? "lg" : "md", m = h === "sm" ? 16 : h === "lg" ? 24 : 20, v = (r = !1) => {
|
|
45
|
-
if (!g)
|
|
46
|
-
return {
|
|
47
|
-
borderRadius: "8px",
|
|
48
|
-
minWidth: "32px",
|
|
49
|
-
minHeight: "32px",
|
|
50
|
-
fontWeight: r ? 600 : 400
|
|
51
|
-
};
|
|
52
|
-
const t = k.colorSchemes.dark;
|
|
53
|
-
return {
|
|
54
|
-
borderRadius: "8px",
|
|
55
|
-
minWidth: "32px",
|
|
56
|
-
minHeight: "32px",
|
|
57
|
-
fontWeight: r ? 600 : 400,
|
|
58
|
-
backgroundColor: r ? t.palette.neutral.solidBg : "transparent",
|
|
59
|
-
color: r ? t.palette.neutral.solidColor : t.textColor,
|
|
60
|
-
border: "none",
|
|
61
|
-
"&:hover": {
|
|
62
|
-
backgroundColor: t.palette.neutral.solidBg,
|
|
63
|
-
color: r ? t.palette.neutral.solidColor : t.textColor
|
|
64
|
-
},
|
|
65
|
-
"&:active": {
|
|
66
|
-
backgroundColor: t.palette.neutral.plainActiveBg
|
|
67
|
-
},
|
|
68
|
-
"&.Mui-disabled": {
|
|
69
|
-
backgroundColor: "transparent",
|
|
70
|
-
color: t.textDisabled,
|
|
71
|
-
opacity: 0.5
|
|
72
|
-
}
|
|
73
|
-
};
|
|
74
|
-
}, f = () => {
|
|
75
|
-
if (!g)
|
|
76
|
-
return {
|
|
77
|
-
borderRadius: "8px",
|
|
78
|
-
minWidth: "32px",
|
|
79
|
-
minHeight: "32px"
|
|
80
|
-
};
|
|
81
|
-
const r = k.colorSchemes.dark;
|
|
82
|
-
return {
|
|
83
|
-
borderRadius: "8px",
|
|
84
|
-
minWidth: "32px",
|
|
85
|
-
minHeight: "32px",
|
|
86
|
-
backgroundColor: "transparent",
|
|
87
|
-
color: r.textColor,
|
|
88
|
-
border: "none",
|
|
89
|
-
"&:hover": {
|
|
90
|
-
backgroundColor: r.palette.neutral.solidBg,
|
|
91
|
-
color: r.textColor
|
|
92
|
-
},
|
|
93
|
-
"&:active": {
|
|
94
|
-
backgroundColor: r.palette.neutral.plainActiveBg
|
|
95
|
-
},
|
|
96
|
-
"&.Mui-disabled": {
|
|
97
|
-
backgroundColor: "transparent",
|
|
98
|
-
color: r.textDisabled,
|
|
99
|
-
opacity: 0.5
|
|
100
|
-
}
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
return /* @__PURE__ */ o.jsxs(
|
|
104
|
-
M,
|
|
105
|
-
{
|
|
106
|
-
sx: {
|
|
107
|
-
display: "flex",
|
|
108
|
-
gap: 0.5,
|
|
109
|
-
alignItems: "center",
|
|
110
|
-
flexWrap: "wrap"
|
|
111
|
-
},
|
|
112
|
-
children: [
|
|
113
|
-
z && /* @__PURE__ */ o.jsx(
|
|
114
|
-
u,
|
|
115
|
-
{
|
|
116
|
-
size: a,
|
|
117
|
-
variant: "plain",
|
|
118
|
-
color: "neutral",
|
|
119
|
-
onClick: () => x(1),
|
|
120
|
-
disabled: p || i === 1,
|
|
121
|
-
sx: f(),
|
|
122
|
-
children: /* @__PURE__ */ o.jsx(H, { size: m })
|
|
123
|
-
}
|
|
124
|
-
),
|
|
125
|
-
/* @__PURE__ */ o.jsx(
|
|
126
|
-
u,
|
|
127
|
-
{
|
|
128
|
-
size: a,
|
|
129
|
-
variant: "plain",
|
|
130
|
-
color: "neutral",
|
|
131
|
-
onClick: () => x(i - 1),
|
|
132
|
-
disabled: p || i === 1,
|
|
133
|
-
sx: f(),
|
|
134
|
-
children: /* @__PURE__ */ o.jsx(I, { size: m })
|
|
135
|
-
}
|
|
136
|
-
),
|
|
137
|
-
W.map((r, t) => {
|
|
138
|
-
if (typeof r == "string" && r.startsWith("ellipsis"))
|
|
139
|
-
return /* @__PURE__ */ o.jsx(
|
|
140
|
-
B,
|
|
141
|
-
{
|
|
142
|
-
size: a,
|
|
143
|
-
variant: "plain",
|
|
144
|
-
color: "neutral",
|
|
145
|
-
disabled: !0,
|
|
146
|
-
sx: {
|
|
147
|
-
...v(!1),
|
|
148
|
-
cursor: "default",
|
|
149
|
-
"&.Mui-disabled": g ? {
|
|
150
|
-
backgroundColor: "transparent",
|
|
151
|
-
color: k.colorSchemes.dark.textDisabled,
|
|
152
|
-
opacity: 0.5
|
|
153
|
-
} : {
|
|
154
|
-
opacity: 1,
|
|
155
|
-
color: "text.secondary"
|
|
156
|
-
}
|
|
157
|
-
},
|
|
158
|
-
children: "..."
|
|
159
|
-
},
|
|
160
|
-
`${r}-${t}`
|
|
161
|
-
);
|
|
162
|
-
const l = r === i;
|
|
163
|
-
return /* @__PURE__ */ o.jsx(
|
|
164
|
-
B,
|
|
165
|
-
{
|
|
166
|
-
size: a,
|
|
167
|
-
variant: l ? "solid" : "plain",
|
|
168
|
-
color: "neutral",
|
|
169
|
-
onClick: () => x(r),
|
|
170
|
-
disabled: p,
|
|
171
|
-
sx: v(l),
|
|
172
|
-
children: r
|
|
173
|
-
},
|
|
174
|
-
r
|
|
175
|
-
);
|
|
176
|
-
}),
|
|
177
|
-
/* @__PURE__ */ o.jsx(
|
|
178
|
-
u,
|
|
179
|
-
{
|
|
180
|
-
size: a,
|
|
181
|
-
variant: "plain",
|
|
182
|
-
color: "neutral",
|
|
183
|
-
onClick: () => x(i + 1),
|
|
184
|
-
disabled: p || i === e,
|
|
185
|
-
sx: f(),
|
|
186
|
-
children: /* @__PURE__ */ o.jsx(P, { size: m })
|
|
187
|
-
}
|
|
188
|
-
),
|
|
189
|
-
R && /* @__PURE__ */ o.jsx(
|
|
190
|
-
u,
|
|
191
|
-
{
|
|
192
|
-
size: a,
|
|
193
|
-
variant: "plain",
|
|
194
|
-
color: "neutral",
|
|
195
|
-
onClick: () => x(e),
|
|
196
|
-
disabled: p || i === e,
|
|
197
|
-
sx: f(),
|
|
198
|
-
children: /* @__PURE__ */ o.jsx(D, { size: m })
|
|
199
|
-
}
|
|
200
|
-
)
|
|
201
|
-
]
|
|
202
|
-
}
|
|
203
|
-
);
|
|
204
|
-
};
|
|
205
|
-
export {
|
|
206
|
-
Y as default
|
|
207
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { j as m } from "../../../../../node_modules/react/jsx-runtime.js";
|
|
2
|
-
import { Box as n } from "@mui/joy";
|
|
3
|
-
import { isMobile as a, useCornerRadius as p, useColors as o, useBorderSize as u } from "../../../../common/src/functions/theme.js";
|
|
4
|
-
import "../../../../../node_modules/i18next/dist/esm/i18next.js";
|
|
5
|
-
import "../../../../../node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js";
|
|
6
|
-
import "react";
|
|
7
|
-
import "../../../../common/src/providers/ConstantsProvider.js";
|
|
8
|
-
import "../../../../common/src/providers/ContainerProvider.js";
|
|
9
|
-
const R = ({
|
|
10
|
-
children: r,
|
|
11
|
-
brandingBorderColor: e
|
|
12
|
-
}) => {
|
|
13
|
-
const i = a(), s = p().md, d = e || o().secondaryContainer, t = u().size + " solid " + d;
|
|
14
|
-
return /* @__PURE__ */ m.jsx(
|
|
15
|
-
n,
|
|
16
|
-
{
|
|
17
|
-
sx: {
|
|
18
|
-
display: "flex",
|
|
19
|
-
flexDirection: i ? "column" : "row",
|
|
20
|
-
width: "100%",
|
|
21
|
-
borderRadius: s,
|
|
22
|
-
boxShadow: "md",
|
|
23
|
-
border: t,
|
|
24
|
-
overflow: "hidden",
|
|
25
|
-
background: o().surface,
|
|
26
|
-
minHeight: "250px"
|
|
27
|
-
},
|
|
28
|
-
children: r
|
|
29
|
-
}
|
|
30
|
-
);
|
|
31
|
-
};
|
|
32
|
-
export {
|
|
33
|
-
R as default
|
|
34
|
-
};
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { j as e } from "../../../../../node_modules/react/jsx-runtime.js";
|
|
2
|
-
import { Snackbar as l, Box as n, Typography as o } from "@mui/joy";
|
|
3
|
-
import a from "../../../../../node_modules/@mui/icons-material/esm/CheckCircle.js";
|
|
4
|
-
import m from "../../../../../node_modules/@mui/icons-material/esm/Error.js";
|
|
5
|
-
import { useCornerRadius as p, useFontFamily as x } from "../../../../common/src/functions/theme.js";
|
|
6
|
-
import "../../../../../node_modules/i18next/dist/esm/i18next.js";
|
|
7
|
-
import "../../../../../node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js";
|
|
8
|
-
import "react";
|
|
9
|
-
import "../../../../common/src/providers/ConstantsProvider.js";
|
|
10
|
-
import "../../../../common/src/providers/ContainerProvider.js";
|
|
11
|
-
const z = ({
|
|
12
|
-
notification: r,
|
|
13
|
-
onClose: s
|
|
14
|
-
}) => {
|
|
15
|
-
const t = p(), i = x();
|
|
16
|
-
return r.open ? /* @__PURE__ */ e.jsx(
|
|
17
|
-
l,
|
|
18
|
-
{
|
|
19
|
-
open: r.open,
|
|
20
|
-
onClose: s,
|
|
21
|
-
autoHideDuration: r.variant === "error" ? 5e3 : 3e3,
|
|
22
|
-
anchorOrigin: { vertical: "top", horizontal: "center" },
|
|
23
|
-
color: r.variant === "success" ? "success" : "danger",
|
|
24
|
-
variant: "soft",
|
|
25
|
-
startDecorator: r.variant === "success" ? /* @__PURE__ */ e.jsx(a, {}) : /* @__PURE__ */ e.jsx(m, {}),
|
|
26
|
-
sx: {
|
|
27
|
-
borderRadius: t.sm,
|
|
28
|
-
fontFamily: i.secondary,
|
|
29
|
-
minWidth: "300px",
|
|
30
|
-
maxWidth: "400px",
|
|
31
|
-
zIndex: 9999,
|
|
32
|
-
position: "fixed"
|
|
33
|
-
},
|
|
34
|
-
children: /* @__PURE__ */ e.jsxs(n, { sx: { display: "flex", flexDirection: "column", gap: "4px" }, children: [
|
|
35
|
-
r.title && /* @__PURE__ */ e.jsx(
|
|
36
|
-
o,
|
|
37
|
-
{
|
|
38
|
-
level: "title-md",
|
|
39
|
-
sx: {
|
|
40
|
-
fontWeight: 600,
|
|
41
|
-
fontSize: "16px",
|
|
42
|
-
lineHeight: 1.2,
|
|
43
|
-
color: "inherit"
|
|
44
|
-
},
|
|
45
|
-
children: r.title
|
|
46
|
-
}
|
|
47
|
-
),
|
|
48
|
-
r.message && /* @__PURE__ */ e.jsx(
|
|
49
|
-
o,
|
|
50
|
-
{
|
|
51
|
-
level: "body-sm",
|
|
52
|
-
sx: {
|
|
53
|
-
fontSize: "14px",
|
|
54
|
-
lineHeight: 1.3,
|
|
55
|
-
color: "inherit",
|
|
56
|
-
opacity: 0.9
|
|
57
|
-
},
|
|
58
|
-
children: r.message
|
|
59
|
-
}
|
|
60
|
-
)
|
|
61
|
-
] })
|
|
62
|
-
}
|
|
63
|
-
) : null;
|
|
64
|
-
};
|
|
65
|
-
export {
|
|
66
|
-
z as default
|
|
67
|
-
};
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
import { j as n } from "../../../../../node_modules/react/jsx-runtime.js";
|
|
2
|
-
import { Box as t, Typography as a } from "@mui/joy";
|
|
3
|
-
import { useFontFamily as s, isMobile as d } from "../../../../common/src/functions/theme.js";
|
|
4
|
-
import { getBrandingClickUrl as g } from "../../../../common/src/functions/helpers.js";
|
|
5
|
-
import "../../../../../node_modules/i18next/dist/esm/i18next.js";
|
|
6
|
-
import "../../../../../node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js";
|
|
7
|
-
import "react";
|
|
8
|
-
import "../../../../common/src/providers/ConstantsProvider.js";
|
|
9
|
-
import "../../../../common/src/providers/ContainerProvider.js";
|
|
10
|
-
const z = (e) => {
|
|
11
|
-
const l = s().secondary, x = d(), c = e.flexDirection || "column", i = g(e.primaryUrl, e.secondaryUrl, "logo");
|
|
12
|
-
if (!e.brandingLogo)
|
|
13
|
-
return null;
|
|
14
|
-
const m = () => {
|
|
15
|
-
i && window.open(i, "_blank", "noopener,noreferrer");
|
|
16
|
-
}, o = /* @__PURE__ */ n.jsx(
|
|
17
|
-
"img",
|
|
18
|
-
{
|
|
19
|
-
src: e.brandingLogo,
|
|
20
|
-
alt: "branding-logo",
|
|
21
|
-
style: {
|
|
22
|
-
maxHeight: "50px",
|
|
23
|
-
maxWidth: "100px"
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
), r = i ? typeof window > "u" ? /* @__PURE__ */ n.jsx(
|
|
27
|
-
t,
|
|
28
|
-
{
|
|
29
|
-
component: "a",
|
|
30
|
-
href: i,
|
|
31
|
-
target: "_blank",
|
|
32
|
-
rel: "noopener noreferrer",
|
|
33
|
-
sx: {
|
|
34
|
-
cursor: "pointer",
|
|
35
|
-
textDecoration: "none",
|
|
36
|
-
display: "inline-flex"
|
|
37
|
-
},
|
|
38
|
-
children: o
|
|
39
|
-
}
|
|
40
|
-
) : /* @__PURE__ */ n.jsx(
|
|
41
|
-
t,
|
|
42
|
-
{
|
|
43
|
-
onClick: m,
|
|
44
|
-
sx: {
|
|
45
|
-
cursor: "pointer",
|
|
46
|
-
display: "inline-flex"
|
|
47
|
-
},
|
|
48
|
-
children: o
|
|
49
|
-
}
|
|
50
|
-
) : o;
|
|
51
|
-
return e.isCentered || x ? /* @__PURE__ */ n.jsxs(
|
|
52
|
-
t,
|
|
53
|
-
{
|
|
54
|
-
sx: {
|
|
55
|
-
display: "flex",
|
|
56
|
-
flexDirection: c,
|
|
57
|
-
gap: "8px",
|
|
58
|
-
alignItems: "center",
|
|
59
|
-
minWidth: "180px",
|
|
60
|
-
fontSize: "1em",
|
|
61
|
-
zIndex: 1
|
|
62
|
-
},
|
|
63
|
-
children: [
|
|
64
|
-
e.label && /* @__PURE__ */ n.jsx(
|
|
65
|
-
a,
|
|
66
|
-
{
|
|
67
|
-
level: "body-sm",
|
|
68
|
-
sx: {
|
|
69
|
-
fontWeight: 400,
|
|
70
|
-
lineHeight: "166%",
|
|
71
|
-
letterSpacing: "0.4px",
|
|
72
|
-
fontSize: "1em",
|
|
73
|
-
color: e.textColor,
|
|
74
|
-
textAlign: "right",
|
|
75
|
-
fontFamily: l
|
|
76
|
-
},
|
|
77
|
-
children: e.label
|
|
78
|
-
}
|
|
79
|
-
),
|
|
80
|
-
r
|
|
81
|
-
]
|
|
82
|
-
}
|
|
83
|
-
) : /* @__PURE__ */ n.jsxs(
|
|
84
|
-
t,
|
|
85
|
-
{
|
|
86
|
-
sx: {
|
|
87
|
-
minWidth: "180px",
|
|
88
|
-
display: "flex",
|
|
89
|
-
gap: "8px",
|
|
90
|
-
alignItems: "center",
|
|
91
|
-
zIndex: 10,
|
|
92
|
-
fontSize: "1em"
|
|
93
|
-
},
|
|
94
|
-
children: [
|
|
95
|
-
e.label && /* @__PURE__ */ n.jsx(
|
|
96
|
-
a,
|
|
97
|
-
{
|
|
98
|
-
level: "body-sm",
|
|
99
|
-
sx: {
|
|
100
|
-
fontWeight: 400,
|
|
101
|
-
lineHeight: "166%",
|
|
102
|
-
letterSpacing: "0.4px",
|
|
103
|
-
textAlign: "right",
|
|
104
|
-
fontSize: "1em",
|
|
105
|
-
color: e.textColor,
|
|
106
|
-
fontFamily: l
|
|
107
|
-
},
|
|
108
|
-
children: e.label
|
|
109
|
-
}
|
|
110
|
-
),
|
|
111
|
-
r
|
|
112
|
-
]
|
|
113
|
-
}
|
|
114
|
-
);
|
|
115
|
-
};
|
|
116
|
-
export {
|
|
117
|
-
z as default
|
|
118
|
-
};
|