zarebin-player-library 1.0.7 → 1.0.9
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/README.md +32 -60
- package/dist/App.d.ts +2 -0
- package/dist/main.d.ts +1 -0
- package/dist/videoPlayerLibrary/index.d.ts +1 -0
- package/dist/videoPlayerLibrary/shared/configs/configs.d.ts +33 -0
- package/dist/videoPlayerLibrary/shared/configs/getDetailsConfigs.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/helpers/conditions/conditions.d.ts +1 -0
- package/dist/videoPlayerLibrary/shared/helpers/conditions/paramsConditions.d.ts +21 -0
- package/dist/videoPlayerLibrary/shared/helpers/constants.d.ts +10 -0
- package/dist/videoPlayerLibrary/shared/helpers/environment.d.ts +14 -0
- package/dist/videoPlayerLibrary/shared/helpers/helpers.d.ts +87 -0
- package/dist/videoPlayerLibrary/shared/helpers/hooks/index.d.ts +13 -0
- package/dist/videoPlayerLibrary/shared/helpers/hooks/useActiveInActive.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/helpers/hooks/useBackButton.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/helpers/hooks/useBeforeUnload.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/helpers/hooks/useContinuousPlaybackInterval.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/helpers/hooks/useFullScreen.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/helpers/hooks/useGetData/useGetAggregat.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/helpers/hooks/useGetData/useGetData.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/helpers/hooks/useGetData/useGetDetails.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/helpers/hooks/useGetData/useGetMarkers.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/helpers/hooks/useGetData/useGetPlayList.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/helpers/hooks/useGetData/useGetProfile.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/helpers/hooks/useGetData/useGetRecommendationList.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/helpers/hooks/useGetData/useUserSettings.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/helpers/hooks/useGetData/useVideoSettings.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/helpers/hooks/useGetData/useWebListConfig.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/helpers/hooks/useHandleKeyPress.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/helpers/hooks/useHandleParams.d.ts +5 -0
- package/dist/videoPlayerLibrary/shared/helpers/hooks/useHandleScroll.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/helpers/hooks/useHandleXToken.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/helpers/hooks/useHideSubtitle.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/helpers/hooks/useIntersect.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/helpers/hooks/useKeyPress.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/helpers/hooks/useLongPress.d.ts +12 -0
- package/dist/videoPlayerLibrary/shared/helpers/hooks/useOnClickOutside.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/helpers/hooks/usePingPong.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/helpers/hooks/useRouteChange.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/helpers/index.d.ts +6 -0
- package/dist/videoPlayerLibrary/shared/helpers/langs/ar.d.ts +162 -0
- package/dist/videoPlayerLibrary/shared/helpers/langs/fa.d.ts +162 -0
- package/dist/videoPlayerLibrary/shared/helpers/langs/index.d.ts +1 -0
- package/dist/videoPlayerLibrary/shared/helpers/langs/translate.d.ts +162 -0
- package/dist/videoPlayerLibrary/shared/helpers/regex.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/images/importImages.d.ts +79 -0
- package/dist/videoPlayerLibrary/shared/interfaces/enums.d.ts +332 -0
- package/dist/videoPlayerLibrary/shared/interfaces/index.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/interfaces/interfaces.d.ts +1130 -0
- package/dist/videoPlayerLibrary/shared/logs/fluentdLogger.d.ts +1 -0
- package/dist/videoPlayerLibrary/shared/logs/index.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/logs/logs.d.ts +289 -0
- package/dist/videoPlayerLibrary/shared/providers/theme-provider.d.ts +13 -0
- package/dist/videoPlayerLibrary/shared/redux/actions/chat.actions.d.ts +16 -0
- package/dist/videoPlayerLibrary/shared/redux/actions/comment.action.d.ts +11 -0
- package/dist/videoPlayerLibrary/shared/redux/actions/controller.actions.d.ts +12 -0
- package/dist/videoPlayerLibrary/shared/redux/actions/index.d.ts +8 -0
- package/dist/videoPlayerLibrary/shared/redux/actions/playerCore.actions.d.ts +129 -0
- package/dist/videoPlayerLibrary/shared/redux/actions/progressbar.actions.d.ts +15 -0
- package/dist/videoPlayerLibrary/shared/redux/actions/quiz.actions.d.ts +26 -0
- package/dist/videoPlayerLibrary/shared/redux/actions/tags.actions.d.ts +16 -0
- package/dist/videoPlayerLibrary/shared/redux/actions/user.actions.d.ts +22 -0
- package/dist/videoPlayerLibrary/shared/redux/actions/videoData.actions.d.ts +50 -0
- package/dist/videoPlayerLibrary/shared/redux/hooks.d.ts +4 -0
- package/dist/videoPlayerLibrary/shared/redux/index.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/redux/slices/chatSlice.d.ts +248 -0
- package/dist/videoPlayerLibrary/shared/redux/slices/commentsSlice.d.ts +428 -0
- package/dist/videoPlayerLibrary/shared/redux/slices/controllerSlice.d.ts +736 -0
- package/dist/videoPlayerLibrary/shared/redux/slices/popoversSlice.d.ts +559 -0
- package/dist/videoPlayerLibrary/shared/redux/slices/quizSlice.d.ts +372 -0
- package/dist/videoPlayerLibrary/shared/redux/slices/tagsSlice.d.ts +56 -0
- package/dist/videoPlayerLibrary/shared/redux/slices/userSlice.d.ts +680 -0
- package/dist/videoPlayerLibrary/shared/redux/slices/videoDataSlice.d.ts +5 -0
- package/dist/videoPlayerLibrary/shared/redux/store.d.ts +24 -0
- package/dist/videoPlayerLibrary/shared/services/apiCaller.d.ts +15 -0
- package/dist/videoPlayerLibrary/shared/services/baseUrl.d.ts +23 -0
- package/dist/videoPlayerLibrary/shared/services/index.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/services/services.d.ts +93 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/MessageIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/ProfileIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/arrowBottomIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/arrowDownIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/arrowLeft.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/arrowLeft1.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/arrowLeftTrailer.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/arrowRightTrailer.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/arrowTopTrailer.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/arrowUpIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/bookmarkIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/cameraIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/chatIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/chevronLeft.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/chevronRight.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/clockIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/closeIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/copy.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/downloadIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/emptyProfile.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/emptyStateBookmarkIcon.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/feedbackIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/heartIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/homeIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/index.d.ts +39 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/infoIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/judgeIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/multiLiveIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/mute.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/notActiveVideoIcon.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/onlineViewerIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/personalMarkerIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/pinIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/playlistIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/plusEmojiIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/printIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/rotateLeftIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/rotateLeftIcon2.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/share1Icon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/shareIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/smsStarIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/starIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/starSlashIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/tagsEmptyState.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/unMute.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/icon-components/videoListHeader.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/index.d.ts +7 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/mainComponent/footer/controllbar/controllbar.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/mainComponent/footer/controllbar/controllbarTooltip.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/mainComponent/footer/controllbar/portraitControlbar.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/mainComponent/footer/footer.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/mainComponent/footer/progressbar/markers/markers.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/mainComponent/footer/progressbar/progressbar.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/mainComponent/header/header.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/mainComponent/header/portraitHeader.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/mainComponent/index.d.ts +9 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/mainComponent/main/main.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/modules/quiz/customComponents/circleProgressBar/circleProgressBar.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/modules/quiz/customComponents/hourglassSpinner/hourglassSpinner.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/modules/quiz/customComponents/popover/popover.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/modules/quiz/customComponents/quizCountDown.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/modules/quiz/hooks/useEliminationQuiz.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/modules/quiz/hooks/usePointsQuiz.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/modules/quiz/login/loginPopover.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/modules/quiz/login/mobileNumber.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/modules/quiz/login/otp.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/modules/quiz/popoverHeader.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/modules/quiz/quiz.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/modules/quiz/quizPlayer.d.ts +5 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/modules/quiz/quizPlayerLibrary.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/modules/quiz/quizPopover.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/modules/quiz/steps/step0.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/modules/quiz/steps/step1.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/modules/quiz/steps/step2.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/modules/quiz/steps/step3.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/modules/quiz/steps/step4.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/modules/quiz/usePoints.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/modules/quiz/userStatus.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/modules/video-player-library/errorBoundary.d.ts +14 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/modules/video-player-library/players/errorBoundaryFunctions.d.ts +4 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/modules/video-player-library/players/liveAndVodPlayer/player.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/modules/video-player-library/players/liveAndVodPlayer/videoArea.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/modules/video-player-library/players/liveAndVodPlayer/videoPlayer.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/modules/video-player-library/players/staticPlayer/player.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/modules/video-player-library/videoPlayer.d.ts +5 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/modules/video-player-library/videoPlayerLibrary.d.ts +8 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/InstagramEmoji/InstagramEmoji.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/InstagramEmoji/explode/ExplodeEmoji.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/InstagramEmoji/explode/animatedEmoji/AnimatedEmoji.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/InstagramEmoji/spray/SprayEmoji.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/InstagramEmoji/spray/animatedEmoji/AnimatedEmoji.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/InstagramEmoji/uni/UniEmoji.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/InstagramEmoji/uni/animatedEmoji/AnimatedEmoji.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/Player360/Player360.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/ageClassification/ageClassification.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/autoPlay/autoPlay.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/autoPlay/autoPlayListIcon.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/backwardForward/backwardForward.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/bookmark/bookmark.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/bookmark/bookmarkCard.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/bookmark/bookmarksPopover.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/button/button.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/chat/addChatComment.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/chat/chat.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/chat/chatCard.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/chat/chatObserver.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/chat/chatRules.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/chat/defaultMessages.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/chat/pinMessage.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/checkbox/checkbox.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/codeInput/codeInput.d.ts +13 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/comments/addComment.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/comments/commentContentPopover.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/comments/commentSettings/commentSettingsInDesktop.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/comments/commentSettings/commentSettingsPopover.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/comments/comments.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/comments/commentsPopover.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/comments/defaultMessages.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/comments/likeComment.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/comments/singleComment.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/comments/singleReply.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/comments/touchScreenCommentObserver.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/complexDesktop/complexDesktop.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/complexPortrait/complexPortrait.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/confirmationModal/confirmationModal.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/copyText/copyText.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/download/download.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/elapsedTime/elapsedTime.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/emoji/emoji.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/emojiPicker/emojiPicker.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/feedback/feedback.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/feedback/stars.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/fullScreen/fullScreen.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/fullScreen/fullScreenIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/fullrate/fullrate.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/gif/gif.d.ts +4 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/index.d.ts +105 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/likeDisLike/dislikeIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/likeDisLike/likeDisLike.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/likeDisLike/likeIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/liveStatus/liveStatus.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/liveStatus/onlineViewer/liveIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/liveStatus/onlineViewer/onlineViewer.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/loader/loader.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/lockUnlock/lock.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/lockUnlock/lockIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/lockUnlock/unlock.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/lockUnlock/unlockIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/markersList/markersList.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/markersList/markersListIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/movie/movieDetail/movieDetail.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/multiAudio/multiAudio.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/multiLive/multiLive.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/multiLive/multiLiveDialog.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/multiLive/multiLiveIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/notActive/notActive.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/paramsErrorPopover/paramsErrorPopover.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/personalMarkers/personalMarkers.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/pictureInPicture/pictureInPicture.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/playList/playList.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/playList/playListCard.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/playList/playlistTab.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/playList/playlistVideoCards.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/playList/singlePlayList.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/playList/touchScreenPlaylistObserver.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/playNext/playNextVideo.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/playNext/playNextVideoIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/playPause/playPause.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/playPauseControllbar/playPauseControllbar.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/playPauseControllbar/playPauseIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/playerCard/playerCard.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/poll/poll.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/poll/pollOption.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/poll/portraitPoll/portraitPoll.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/poll/portraitPoll/portraitPollOption.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/popover/popover.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/popover/popovers.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/qualityLevels/qualityLevels.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/recommendationList/recommendationList.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/settings/settings.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/settings/settingsIcon.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/share/shareDialog.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/skeleton/skeleton.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/snapshot/snapshot.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/soundVolume/soundVolume.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/soundVolume/soundVolumeIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/speed/speed.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/speed/speedIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/spinners/circleSpinner.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/subtitles/displaySubtitle.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/subtitles/subtitleIcon.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/subtitles/subtitleSettingMenu.d.ts +5 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/subtitles/subtitles.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/subtitles/subtitlesBackgroundColorsMenu.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/subtitles/subtitlesMenu.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/subtitles/subtitlesTextColorsMenu.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/tabNavigator/TabNavigator.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/tags/selectedTagsVideoList.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/tags/tags.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/tags/tagsFilter.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/tags/tagsPopover.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/tags/viewersTagsList.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/title/title.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/toggle/autoPlayToggle.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/toggle/toggle.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/tooltip/tooltip.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/touchVolumeBrightness/touchVolumeBrightness.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/trailer/trailer.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/trailer/trailerPopover/trailerPopover.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/videoAreaShadow.tsx/videoAreaShadow.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-components/viewersChart/viewersChart.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-core/playerCore.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-core/players/multiLiveVideoTag.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-core/players/nonStaticVideoTag.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-core/players/staticVideoTag.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/components/player-core/players/videoTag.d.ts +3 -0
- package/dist/videoPlayerLibrary/shared/ui/src/index.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/playerComponents/continuousPlayback/ContinuousPlayback.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/playerComponents/continuousPlayback/continuousePlayback.d.ts +10 -0
- package/dist/videoPlayerLibrary/shared/ui/src/playerComponents/continuousPlayback/hooks/useContinuousePlaybackTimer.d.ts +2 -0
- package/dist/videoPlayerLibrary/shared/ui/src/playerComponents/index.d.ts +1 -0
- package/dist/videoPlayerLibrary/videoPlayerLibrary.d.ts +4 -0
- package/dist/zarebin-player-library.css +11 -2
- package/dist/zarebin-player-library.js +62389 -53160
- package/dist/zarebin-player-library.umd.cjs +131 -63
- package/package.json +48 -33
package/README.md
CHANGED
|
@@ -1,73 +1,45 @@
|
|
|
1
|
-
|
|
1
|
+
#!/bin/sh
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
# import from .env
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
if [ -f .env ]; then
|
|
6
|
+
export $(grep -v '^#' .env | xargs)
|
|
7
|
+
fi
|
|
6
8
|
|
|
7
|
-
|
|
8
|
-
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/)
|
|
9
|
+
# cheching variables
|
|
9
10
|
|
|
10
|
-
|
|
11
|
+
if [ -z "$GITLAB_ACCESS_TOKEN" ] || [ -z "$GITLAB_URL" ] || [ -z "$PROJECT_ID" ]; then
|
|
12
|
+
echo "❌ error: (GITLAB_ACCESS_TOKEN, GITLAB_URL, PROJECT_ID) not found"
|
|
13
|
+
exit 1
|
|
14
|
+
fi
|
|
11
15
|
|
|
12
|
-
|
|
16
|
+
echo "🔍 Checking Merge Requests in GitLab..."
|
|
13
17
|
|
|
14
|
-
|
|
18
|
+
# استفاده از curl برای گرفتن لیست MRها
|
|
15
19
|
|
|
16
|
-
|
|
20
|
+
# دقت کنید: در ویندوز حتما باید jq نصب باشد
|
|
17
21
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
globalIgnores(["dist"]),
|
|
21
|
-
{
|
|
22
|
-
files: ["**/*.{ts,tsx}"],
|
|
23
|
-
extends: [
|
|
24
|
-
// Other configs...
|
|
22
|
+
MR_COUNT=$(curl -s --header "PRIVATE-TOKEN: $GITLAB_ACCESS_TOKEN" \
|
|
23
|
+
"$GITLAB_URL/api/v4/projects/$PROJECT_ID/merge_requests?state=opened" | jq '. | length')
|
|
25
24
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
tseslint.configs.stylisticTypeChecked,
|
|
25
|
+
if [ "$MR_COUNT" -gt 0 ]; then
|
|
26
|
+
echo "❌ عملیات ممنوع: در این پروژه $MR_COUNT Merge Request باز وجود دارد."
|
|
27
|
+
echo "✔ لطفا ابتدا همه MRها را ببندید."
|
|
28
|
+
exit 1
|
|
29
|
+
fi
|
|
32
30
|
|
|
33
|
-
|
|
34
|
-
],
|
|
35
|
-
languageOptions: {
|
|
36
|
-
parserOptions: {
|
|
37
|
-
project: ["./tsconfig.node.json", "./tsconfig.app.json"],
|
|
38
|
-
tsconfigRootDir: import.meta.dirname,
|
|
39
|
-
},
|
|
40
|
-
// other options...
|
|
41
|
-
},
|
|
42
|
-
},
|
|
43
|
-
]);
|
|
44
|
-
```
|
|
31
|
+
# ادامه چک کردن Push status...
|
|
45
32
|
|
|
46
|
-
|
|
33
|
+
branch=$(git rev-parse --abbrev-ref HEAD)
|
|
34
|
+
git fetch origin "$branch" --quiet
|
|
47
35
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
import reactX from "eslint-plugin-react-x";
|
|
51
|
-
import reactDom from "eslint-plugin-react-dom";
|
|
36
|
+
local_commit=$(git rev-parse HEAD)
|
|
37
|
+
remote_commit=$(git rev-parse "origin/$branch")
|
|
52
38
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
reactX.configs["recommended-typescript"],
|
|
61
|
-
// Enable lint rules for React DOM
|
|
62
|
-
reactDom.configs.recommended,
|
|
63
|
-
],
|
|
64
|
-
languageOptions: {
|
|
65
|
-
parserOptions: {
|
|
66
|
-
project: ["./tsconfig.node.json", "./tsconfig.app.json"],
|
|
67
|
-
tsconfigRootDir: import.meta.dirname,
|
|
68
|
-
},
|
|
69
|
-
// other options...
|
|
70
|
-
},
|
|
71
|
-
},
|
|
72
|
-
]);
|
|
73
|
-
```
|
|
39
|
+
if [ "$local_commit" != "$remote_commit" ]; then
|
|
40
|
+
echo "❌ کامیتهای لوکال با ریموت یکی نیست. لطفا push کنید."
|
|
41
|
+
exit 1
|
|
42
|
+
fi
|
|
43
|
+
|
|
44
|
+
echo "🎉 Passed all conditions"
|
|
45
|
+
exit 0
|
package/dist/App.d.ts
ADDED
package/dist/main.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { VideoPlayerLibrary } from './videoPlayerLibrary';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export declare const configs: {
|
|
2
|
+
status: string;
|
|
3
|
+
baseUrl: string;
|
|
4
|
+
driveRestAPI: string;
|
|
5
|
+
chatBaseUrl: string;
|
|
6
|
+
GA_MEASUREMENT_ID: string;
|
|
7
|
+
favIconUrl: string;
|
|
8
|
+
zarebinUserConfig: string;
|
|
9
|
+
loginBaseUrl: string;
|
|
10
|
+
trackerRestAPI: string;
|
|
11
|
+
aggregatorBaseUrl: string;
|
|
12
|
+
setAggregatorBaseUrl: string;
|
|
13
|
+
fluentdUrl: string;
|
|
14
|
+
loginRedirectUrl: string;
|
|
15
|
+
cookieKey: string;
|
|
16
|
+
whiteListTargets: string;
|
|
17
|
+
whiteListGeneralUrl: string;
|
|
18
|
+
sendXToken: string;
|
|
19
|
+
chatAPIBaseUrl: string;
|
|
20
|
+
zarebinNasle3Url: string;
|
|
21
|
+
assistant: boolean;
|
|
22
|
+
initialLoadedFragmentCount: string;
|
|
23
|
+
filmAndSerialAllowedUsers: string;
|
|
24
|
+
arabicFilmAndSerialAllowedUsers: string;
|
|
25
|
+
keshtAllowedUsers: string;
|
|
26
|
+
keshtBasePath: string;
|
|
27
|
+
keshtAppName: string;
|
|
28
|
+
filmAndSerialBasePath: string;
|
|
29
|
+
hamrahiCloudLanding: string;
|
|
30
|
+
commentPanel: string;
|
|
31
|
+
hamrahiLiveBaseUrl: string;
|
|
32
|
+
onPermise: string;
|
|
33
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const conditions: (type: string) => any;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare const allParams: string[];
|
|
2
|
+
export declare const quizConditions: {
|
|
3
|
+
requireds: string[];
|
|
4
|
+
optionals: string[];
|
|
5
|
+
};
|
|
6
|
+
export declare const isGeneralConditions: {
|
|
7
|
+
requireds: string[];
|
|
8
|
+
optionals: string[];
|
|
9
|
+
};
|
|
10
|
+
export declare const staticConditions: {
|
|
11
|
+
requireds: string[];
|
|
12
|
+
optionals: string[];
|
|
13
|
+
};
|
|
14
|
+
export declare const nonStaticConditions: {
|
|
15
|
+
requireds: string[];
|
|
16
|
+
optionals: string[];
|
|
17
|
+
};
|
|
18
|
+
export declare const rawConditions: {
|
|
19
|
+
requireds: string[];
|
|
20
|
+
optionals: string[];
|
|
21
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const LiveDelay = 6;
|
|
2
|
+
export declare const LiveWindow = 12;
|
|
3
|
+
export declare const videoTag: () => HTMLVideoElement;
|
|
4
|
+
export declare const multiLiveVideo: () => HTMLVideoElement;
|
|
5
|
+
export declare const progressBar: () => any;
|
|
6
|
+
export declare const progressBarWidth: () => number;
|
|
7
|
+
export declare const seenPoll: () => any;
|
|
8
|
+
export declare const livePoll: () => any;
|
|
9
|
+
export declare const popoverHeader: () => HTMLElement | null;
|
|
10
|
+
export declare const otpType = "LOGIN_ANDROID_4";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IEnvironment } from '../interfaces';
|
|
2
|
+
export declare const whiteListTargets: string[];
|
|
3
|
+
export declare const whiteListGeneralUrl: string[];
|
|
4
|
+
export declare const ENVIRONMENT: IEnvironment;
|
|
5
|
+
export declare const activeElementsTime = 3000;
|
|
6
|
+
export declare const showLoaderTime = 3000;
|
|
7
|
+
export declare const livePlayRetryDuration = 3000;
|
|
8
|
+
export declare const RetryCountGeneralDataFetch = 3;
|
|
9
|
+
export declare const RetryTimeDelayGeneralDataFetch = 5;
|
|
10
|
+
export declare const durationWatched = 60;
|
|
11
|
+
export declare const continuousePlaybackIntervalTime = 60000;
|
|
12
|
+
export declare const footerPadding: () => 0 | 64;
|
|
13
|
+
export declare const featureToggle = "ft";
|
|
14
|
+
export declare const sidebarWidth = 357;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { BookmarkCategory, VideoNumberTypeEnum } from '../interfaces/enums';
|
|
2
|
+
import { default as View360 } from '@egjs/view360';
|
|
3
|
+
export declare const wait: (s: number) => Promise<unknown>;
|
|
4
|
+
export declare const getRemainingTime: (timestamp: number) => string;
|
|
5
|
+
export declare const compare: (a: any, b: any) => 0 | 1 | -1;
|
|
6
|
+
export declare const handlePageTitle: (title: string) => void;
|
|
7
|
+
export declare const getUUID: () => string;
|
|
8
|
+
export declare const uuidGenerator: () => string;
|
|
9
|
+
export declare const customizeInterval: (timeCount: number, cb: Function) => Promise<void>;
|
|
10
|
+
export declare const isTouchScreen: () => any;
|
|
11
|
+
export declare const isTouchScreenLandscape: () => any;
|
|
12
|
+
export declare const isTouchScreenPortrait: () => any;
|
|
13
|
+
export declare const handleIsComplexDesktop: (isPortrait: boolean) => boolean;
|
|
14
|
+
export declare const isIOS: () => boolean;
|
|
15
|
+
export declare const controllbarIconSize: {
|
|
16
|
+
miniPlayer: number;
|
|
17
|
+
miniPlayerFontAwesome: string;
|
|
18
|
+
other: number;
|
|
19
|
+
otherFontAwesome: string;
|
|
20
|
+
};
|
|
21
|
+
export declare const addZeroBefore: (n: number) => string;
|
|
22
|
+
export declare const secondsToHMS: (seconds: number) => string;
|
|
23
|
+
export declare const secondsToPersianHMS: (seconds: number) => string[];
|
|
24
|
+
export declare const efficientSecondsToPersianHMS: (seconds: number) => string;
|
|
25
|
+
export declare const staticFormats: (realFormat: string) => false | "mp4" | "webm" | "flv" | "mp3";
|
|
26
|
+
export declare const addUuidToSrc: (src: string) => string;
|
|
27
|
+
export declare const handleSumVotes: (question: any) => number;
|
|
28
|
+
export declare const checkParentTarget: (event: any, target: string) => boolean;
|
|
29
|
+
export declare const unitization: (viewers: number) => {
|
|
30
|
+
value: number;
|
|
31
|
+
unit: string;
|
|
32
|
+
};
|
|
33
|
+
export declare const handleNotActiveText: (errorType?: string) => {
|
|
34
|
+
title: string;
|
|
35
|
+
description: string;
|
|
36
|
+
} | undefined;
|
|
37
|
+
export declare const isVoted: (qid: number) => any;
|
|
38
|
+
export declare const isSelectedOption: (qid: number, oid: number) => any;
|
|
39
|
+
export declare const appendQueryParamsToChunks: (link: string) => void;
|
|
40
|
+
export declare const inViewPort: (element: any) => "inViewport" | "OutViewPortFromLeft" | "OutViewPortFromRight" | undefined;
|
|
41
|
+
export declare const handleIsComplexPortrait: (params?: any) => any;
|
|
42
|
+
export declare const isFullMobilePortrait: () => boolean;
|
|
43
|
+
export declare const handleRippleCircle: (event: any, id: string) => void;
|
|
44
|
+
export declare const handleRipple: (event: any, id: string, size?: number) => void;
|
|
45
|
+
export declare const utf8_to_b64: (text: string) => string;
|
|
46
|
+
export declare const changeVideoUrl: (videoType?: string, videoId?: number) => string;
|
|
47
|
+
export declare const hasQuestionMark: (text: string) => boolean;
|
|
48
|
+
export declare const responseValidator: (status: number) => boolean;
|
|
49
|
+
export declare const generateNewAccessToken: () => Promise<void>;
|
|
50
|
+
export declare const convertB64ToFile: (dataUrl: string, filename: string) => File;
|
|
51
|
+
export declare const isWhiteListUrl: (url: string) => boolean;
|
|
52
|
+
export declare const parseJwt: (token: string) => any;
|
|
53
|
+
export declare const handlePopoverSizeInMiniPlayer: () => {
|
|
54
|
+
top: number;
|
|
55
|
+
height: number;
|
|
56
|
+
left: number;
|
|
57
|
+
} | {
|
|
58
|
+
top?: undefined;
|
|
59
|
+
height?: undefined;
|
|
60
|
+
left?: undefined;
|
|
61
|
+
};
|
|
62
|
+
export declare const numbersToLetters: string[];
|
|
63
|
+
export declare const handleVideoType: () => VideoNumberTypeEnum.Archive | VideoNumberTypeEnum.Vod | VideoNumberTypeEnum.Clip | VideoNumberTypeEnum.FutureLive;
|
|
64
|
+
export declare const handleHasXTokenParamOrSendXToken: () => {
|
|
65
|
+
"x-token": string | undefined;
|
|
66
|
+
} | undefined;
|
|
67
|
+
export declare const handleGetBookmarkCategory: (provider?: string) => BookmarkCategory;
|
|
68
|
+
export declare function getWebEnvConfig(key: string): string;
|
|
69
|
+
export declare const getDomainFromUrl: (url: string) => string;
|
|
70
|
+
export declare const clearRedux: () => void;
|
|
71
|
+
export declare const weighted_random: (options: any) => any;
|
|
72
|
+
export declare const convertTimeToSeconds: (time: string) => number;
|
|
73
|
+
export declare const imageFormatChecking: (filename: string) => boolean;
|
|
74
|
+
export declare const handlePageLoadTime: (loadingDurationRef: any) => void;
|
|
75
|
+
export declare const highestResolutionSupported: (resolutions: string[], width: number, height: number) => number;
|
|
76
|
+
export declare const getSubtitleLabel: (subtitleLanguage: string) => string | undefined;
|
|
77
|
+
export declare const getOS: () => string;
|
|
78
|
+
export declare const deleteQueryParamsInUrl: (queryParam: string) => void;
|
|
79
|
+
export declare const handleRedirectCards: (id?: string, type?: string) => void;
|
|
80
|
+
export declare const strToObj: (str: string) => {};
|
|
81
|
+
export declare const hasPermissionToRedirect: (url: string) => void;
|
|
82
|
+
export declare const flattenObject: (input: any, keyName?: string) => any;
|
|
83
|
+
export declare const findIntersectionBetweenTwoArray: (arr1: string[], arr2: string[]) => string[];
|
|
84
|
+
export declare const sortLanguages: (array: any) => any;
|
|
85
|
+
export declare const hexToRGB: (hex: string, alpha?: number) => string;
|
|
86
|
+
export declare const checkIsOnPremise: (baseUrl: string) => string;
|
|
87
|
+
export declare const handle360: () => Promise<View360>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from './useActiveInActive';
|
|
2
|
+
export * from './useBackButton';
|
|
3
|
+
export * from './useBeforeUnload';
|
|
4
|
+
export * from './useFullScreen';
|
|
5
|
+
export * from './useHandleKeyPress';
|
|
6
|
+
export * from './useHandleParams';
|
|
7
|
+
export * from './useHandleScroll';
|
|
8
|
+
export * from './useIntersect';
|
|
9
|
+
export * from './useKeyPress';
|
|
10
|
+
export * from './useOnClickOutside';
|
|
11
|
+
export * from './useGetData/useGetData';
|
|
12
|
+
export * from './usePingPong';
|
|
13
|
+
export * from './useRouteChange';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { TouchEvent } from 'react';
|
|
2
|
+
declare const useLongPress: (scrollElement?: string) => {
|
|
3
|
+
handleTouchStart: (event: TouchEvent<HTMLDivElement>) => void;
|
|
4
|
+
handleTouchEnd: () => void;
|
|
5
|
+
isLongPress: boolean;
|
|
6
|
+
setIsLongPress: import('react').Dispatch<import('react').SetStateAction<boolean>>;
|
|
7
|
+
touchPosition: {
|
|
8
|
+
x: number;
|
|
9
|
+
y: number;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export default useLongPress;
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
export declare const ar: {
|
|
2
|
+
save: string;
|
|
3
|
+
addPersonalMarker: string;
|
|
4
|
+
editPersonalMarker: string;
|
|
5
|
+
pleaseSelectMarker: string;
|
|
6
|
+
pleaseEnterMarkerName: string;
|
|
7
|
+
maxLengthMarkerName: string;
|
|
8
|
+
successAddMarker: string;
|
|
9
|
+
successEditMarker: string;
|
|
10
|
+
errorRegisteringTwoMarker: string;
|
|
11
|
+
pleaseLoginFirst: string;
|
|
12
|
+
addMarker: string;
|
|
13
|
+
markerName: string;
|
|
14
|
+
description: string;
|
|
15
|
+
pleaseEnterMarkerDescription: string;
|
|
16
|
+
cancel: string;
|
|
17
|
+
nextIn: string;
|
|
18
|
+
play: string;
|
|
19
|
+
visit: string;
|
|
20
|
+
clickForMoreVideos: string;
|
|
21
|
+
hour: string;
|
|
22
|
+
minutes: string;
|
|
23
|
+
seconds: string;
|
|
24
|
+
currentlyNoItemsSaved: string;
|
|
25
|
+
savedList: string;
|
|
26
|
+
enterYourOpinion: string;
|
|
27
|
+
notPossibleRegisterComment: string;
|
|
28
|
+
youMustSubmitYourComment: string;
|
|
29
|
+
notPossibleToRegisterComment: string;
|
|
30
|
+
comeIn: string;
|
|
31
|
+
sharing: string;
|
|
32
|
+
recordFeedback: string;
|
|
33
|
+
cinematicFilm: string;
|
|
34
|
+
serial: string;
|
|
35
|
+
subtitle: string;
|
|
36
|
+
translation: string;
|
|
37
|
+
persian: string;
|
|
38
|
+
english: string;
|
|
39
|
+
arabic: string;
|
|
40
|
+
turkish: string;
|
|
41
|
+
playlist: string;
|
|
42
|
+
playlists: string;
|
|
43
|
+
showPlaylist: string;
|
|
44
|
+
suggestedVideos: string;
|
|
45
|
+
become: string;
|
|
46
|
+
production: string;
|
|
47
|
+
viewPoint: string;
|
|
48
|
+
show: string;
|
|
49
|
+
saved: string;
|
|
50
|
+
home: string;
|
|
51
|
+
profile: string;
|
|
52
|
+
previousViewingTime: string;
|
|
53
|
+
continuousPlaybackText: string;
|
|
54
|
+
watchContinuousVideo: string;
|
|
55
|
+
watchCBeginningVideo: string;
|
|
56
|
+
takingPicture: string;
|
|
57
|
+
liveChat: string;
|
|
58
|
+
hideLiveChat: string;
|
|
59
|
+
showLiveChat: string;
|
|
60
|
+
anonymousUser: string;
|
|
61
|
+
awaitingApprovalByAdmin: string;
|
|
62
|
+
approvedByAdmin: string;
|
|
63
|
+
closeMessage: string;
|
|
64
|
+
viewFullPinnedMessage: string;
|
|
65
|
+
pinnedMessage: string;
|
|
66
|
+
less: string;
|
|
67
|
+
more: string;
|
|
68
|
+
copyLink: string;
|
|
69
|
+
linkWasCopied: string;
|
|
70
|
+
download: string;
|
|
71
|
+
withQuality: string;
|
|
72
|
+
selectDownloadQuality: string;
|
|
73
|
+
badSoundAndImageQuality: string;
|
|
74
|
+
streamLinkFailure: string;
|
|
75
|
+
amountOfInternetUsageWasHigh: string;
|
|
76
|
+
programAppearance: string;
|
|
77
|
+
soundAndImageMismatch: string;
|
|
78
|
+
noSubtitle: string;
|
|
79
|
+
noSubtitle1: string;
|
|
80
|
+
accessForMeDifficult: string;
|
|
81
|
+
videoContentWasNotGood: string;
|
|
82
|
+
goodSoundAndImageQuality: string;
|
|
83
|
+
noDisconnection: string;
|
|
84
|
+
amountOfInternetUsage: string;
|
|
85
|
+
privacyProtection: string;
|
|
86
|
+
farsiSubtitles: string;
|
|
87
|
+
easyAccess: string;
|
|
88
|
+
appropriateVideoContent: string;
|
|
89
|
+
veryBad: string;
|
|
90
|
+
bad: string;
|
|
91
|
+
middle: string;
|
|
92
|
+
good: string;
|
|
93
|
+
veryGood: string;
|
|
94
|
+
successfullyCommentSubmit: string;
|
|
95
|
+
ratingZarebin: string;
|
|
96
|
+
fullRateInternetTraffic: string;
|
|
97
|
+
exitFrom: string;
|
|
98
|
+
fullScreen: string;
|
|
99
|
+
lock: string;
|
|
100
|
+
markersList: string;
|
|
101
|
+
markers: string;
|
|
102
|
+
languageSelection: string;
|
|
103
|
+
default: string;
|
|
104
|
+
retry: string;
|
|
105
|
+
pictureInPicture: string;
|
|
106
|
+
video: string;
|
|
107
|
+
season: string;
|
|
108
|
+
section: string;
|
|
109
|
+
playNextVideo: string;
|
|
110
|
+
replay: string;
|
|
111
|
+
pause: string;
|
|
112
|
+
quality: string;
|
|
113
|
+
automatic: string;
|
|
114
|
+
basedOnYourInternetSpeed: string;
|
|
115
|
+
settings: string;
|
|
116
|
+
choiceQuality: string;
|
|
117
|
+
subtitleSettings: string;
|
|
118
|
+
jumpTo: string;
|
|
119
|
+
mute: string;
|
|
120
|
+
unmute: string;
|
|
121
|
+
playBackSpeed: string;
|
|
122
|
+
normalSpeed: string;
|
|
123
|
+
subtitleBackgroundColor: string;
|
|
124
|
+
subtitleTextColor: string;
|
|
125
|
+
subtitleSelection: string;
|
|
126
|
+
selectSubtitleBackgroundColor: string;
|
|
127
|
+
selectSubtitleTextColor: string;
|
|
128
|
+
tagFilter: string;
|
|
129
|
+
tags: string;
|
|
130
|
+
separateItemsWithEnter: string;
|
|
131
|
+
contentType: string;
|
|
132
|
+
search: string;
|
|
133
|
+
accordingThisTagVideoNotFound: string;
|
|
134
|
+
autoPlay: string;
|
|
135
|
+
bright: string;
|
|
136
|
+
off: string;
|
|
137
|
+
is: string;
|
|
138
|
+
photo: string;
|
|
139
|
+
currentlyNoVideoContent: string;
|
|
140
|
+
viewOtherVideos: string;
|
|
141
|
+
enteredAddressNotCorrect: string;
|
|
142
|
+
first: string;
|
|
143
|
+
second: string;
|
|
144
|
+
third: string;
|
|
145
|
+
fourth: string;
|
|
146
|
+
fifth: string;
|
|
147
|
+
sixth: string;
|
|
148
|
+
seventh: string;
|
|
149
|
+
eighth: string;
|
|
150
|
+
ninth: string;
|
|
151
|
+
tenth: string;
|
|
152
|
+
eleventh: string;
|
|
153
|
+
twelfth: string;
|
|
154
|
+
thirteenth: string;
|
|
155
|
+
fourteenth: string;
|
|
156
|
+
fifteenth: string;
|
|
157
|
+
sixteenth: string;
|
|
158
|
+
seventeenth: string;
|
|
159
|
+
eighteenth: string;
|
|
160
|
+
nineteenth: string;
|
|
161
|
+
twentieth: string;
|
|
162
|
+
};
|