@ludo.ninja/components 0.6.0 → 1.0.1
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/.eslintrc.json +16 -1
- package/.husky/pre-commit +1 -0
- package/.prettierignore +3 -0
- package/.prettierrc.json +38 -0
- package/dist/api/server-assets/mutations/useDislikeAsset/index.js +79 -0
- package/dist/api/server-assets/mutations/useLikeAsset/index.js +80 -0
- package/dist/api/server-assets/queries/useFetchAssetByBlockchain/index.js +84 -0
- package/dist/api/server-assets/queries/useFetchAssets/index.js +30 -0
- package/dist/api/server-assets/queries/useFetchDynamicAssetLikes/index.js +35 -0
- package/dist/api/server-assets/queries/useFetchDynamicAssetsLikes/index.js +30 -0
- package/dist/api/server-collection/mutations/useDislikeCollection/index.js +78 -0
- package/dist/api/server-collection/mutations/useLikeCollection/index.js +78 -0
- package/dist/api/server-experiences/queries/useFetchMyExperienceWithLevel/index.js +91 -0
- package/dist/api/server-experiences/queries/useFetchMyTasks/index.js +46 -0
- package/dist/api/server-galleries/mutations/useAddAssetsToGallery/index.js +82 -0
- package/dist/api/server-galleries/mutations/useAddChangeGalleryBanner/index.js +67 -0
- package/dist/api/server-galleries/mutations/useAddCollectionsToGallery/index.js +81 -0
- package/dist/api/server-galleries/mutations/useAddCreationsToGallery/index.js +89 -0
- package/dist/api/server-galleries/mutations/useCreateFavorites/index.js +70 -0
- package/dist/api/server-galleries/mutations/useCreateGallery/index.js +70 -0
- package/dist/api/server-galleries/mutations/useDeleteGallery/index.js +87 -0
- package/dist/api/server-galleries/mutations/useDeleteGalleryBanner/index.js +83 -0
- package/dist/api/server-galleries/mutations/useEditGallery/index.js +62 -0
- package/dist/api/server-galleries/mutations/useRemoveAssetFromGallery/index.js +95 -0
- package/dist/api/server-galleries/mutations/useRemoveCollectionFromGallery/index.js +90 -0
- package/dist/api/server-galleries/queries/useFetchGallery/index.js +42 -0
- package/dist/api/server-galleries/queries/useFetchGalleryAssets/index.js +115 -0
- package/dist/api/server-galleries/queries/useFetchMyFavorites/index.js +120 -0
- package/dist/api/server-galleries/queries/useFetchMyGalleries/index.js +123 -0
- package/dist/api/server-galleries/queries/useFetchSubscribedGalleries/index.js +95 -0
- package/dist/api/server-galleries/queries/useFetchUserFavorites/index.js +130 -0
- package/dist/api/server-identities/mutations/useAddWalletElrond/index.js +37 -0
- package/dist/api/server-identities/mutations/useAddWalletFlow/index.js +78 -0
- package/dist/api/server-identities/mutations/useAddWalletMetamask/index.js +87 -0
- package/dist/api/server-identities/mutations/useAddWalletSolana/index.js +82 -0
- package/dist/api/server-identities/mutations/useAddWalletTezos/index.js +78 -0
- package/dist/api/server-identities/mutations/useFollowProfile/index.js +40 -0
- package/dist/api/server-identities/mutations/useGenerateNewInviteCodes/index.js +78 -0
- package/dist/api/server-identities/mutations/useInviteCode/index.js +76 -0
- package/dist/api/server-identities/mutations/useRemoveWallet/index.js +44 -0
- package/dist/api/server-identities/mutations/useRevokeToken/index.js +66 -0
- package/dist/api/server-identities/mutations/useSaveEmailOfJoiner/index.js +76 -0
- package/dist/api/server-identities/mutations/useUnfollowProfile/index.js +39 -0
- package/dist/api/server-identities/queries/useFetchProfile/index.js +79 -0
- package/dist/api/server-identities/queries/useFetchUserWallets/index.js +19 -0
- package/dist/api/server-identities/queries/useGetMyInviteCodes/index.js +36 -0
- package/dist/api/server-medias/mutations/useDeleteUserpic/index.js +19 -0
- package/dist/api/server-medias/mutations/useUploadUserpic/index.js +69 -0
- package/dist/api/server-medias/queries/useFetchUserPic/index.js +37 -0
- package/dist/api/server-opportunities/mutations/useDislikeOpportunity.js +71 -0
- package/dist/api/server-opportunities/mutations/useLikeOpportunity.js +71 -0
- package/dist/api/server-opportunities/mutations/useOpenOpportunity/index.js +72 -0
- package/dist/api/server-opportunities/queries/useGetOpportunities.js +22 -0
- package/dist/api/server-preferences/mutations/useSaveUserExpectations/index.jsx +86 -0
- package/dist/api/server-preferences/mutations/useSaveUserInterests/index.js +86 -0
- package/dist/api/server-preferences/queries/fetchSearchResultSelections/index.js +28 -0
- package/dist/api/server-preferences/queries/fetchSearchResultSelections/queryData.js +87 -0
- package/dist/api/server-preferences/queries/useFetchExpectations/index.js +19 -0
- package/dist/api/server-preferences/queries/useFetchInterests/index.js +19 -0
- package/dist/api/server-preferences/queries/useFetchSearchResultTimeSelection/index.js +36 -0
- package/dist/api/server-preferences/queries/useFetchUserInterests/index.js +20 -0
- package/dist/api/server-preferences/queries/useSearchResultBlockchainSelections/index.js +37 -0
- package/dist/api/server-preferences/queries/useSearchResultCategorySelections/index.js +37 -0
- package/dist/api/server-preferences/queries/useSearchResultStatusSelections/index.js +38 -0
- package/dist/api/server-preferences/queries/useSearchResultTypeSelections/index.js +42 -0
- package/dist/api/server-search/queries/useFetchAllCreations/index.js +171 -0
- package/dist/api/server-search/queries/useFetchAssetsCount/index.js +31 -0
- package/dist/api/server-search/queries/useFetchCollection/index.js +55 -0
- package/dist/api/server-search/queries/useFetchCollections/index.js +176 -0
- package/dist/api/server-search/queries/useFetchDynamicCollectionData/index.js +195 -0
- package/dist/api/server-search/queries/useFetchFindAllTopEntitiesByName/index.js +54 -0
- package/dist/api/server-search/queries/useFetchNetWorth/index.js +22 -0
- package/dist/api/server-search/queries/useFindCreations/index.js +184 -0
- package/dist/api/server-search/queries/useFindProfilesByName/index.js +58 -0
- package/dist/api/server-search/queries/useFindShowcaseItems/index.js +40 -0
- package/dist/api/server-search/queries/useFindUserCreations/index.js +168 -0
- package/dist/api/server-search/queries/useFindUserShowcaseItems/index.js +38 -0
- package/dist/api/subscriptions/SubscriberInviteNotification.jsx +40 -0
- package/dist/components/CreationCard/CardHead.jsx +129 -0
- package/dist/components/CreationCard/index.jsx +73 -0
- package/dist/components/addWalletsRedirectPage/index.jsx +40 -0
- package/dist/components/assetJSONLD.jsx +27 -0
- package/dist/components/assetPage/assetLikes/index.jsx +59 -0
- package/dist/components/assetPage/assetNft/index.jsx +29 -0
- package/dist/components/assetPage/assetWrapper/index.jsx +54 -0
- package/dist/components/assetPage/audioVideoPlayer/Duration.jsx +22 -0
- package/dist/components/assetPage/audioVideoPlayer/index.jsx +179 -0
- package/dist/components/assetPage/category/index.jsx +35 -0
- package/dist/components/assetPage/description/index.jsx +30 -0
- package/dist/components/assetPage/detailsAccordeon/index.jsx +49 -0
- package/dist/components/assetPage/figCaption/index.jsx +208 -0
- package/dist/components/assetPage/index.js +13 -0
- package/dist/components/assetPage/information/index.jsx +87 -0
- package/dist/components/assetPage/marketPlaces/index.jsx +35 -0
- package/dist/components/assetPage/media/AssetImage/index.jsx +76 -0
- package/dist/components/assetPage/moreDropDown/index.jsx +60 -0
- package/dist/components/assetPage/participants/index.jsx +137 -0
- package/dist/components/assetPage/priceRank/index.jsx +75 -0
- package/dist/components/assetPage/properties/index.jsx +26 -0
- package/dist/components/assetPage/slider/index.jsx +73 -0
- package/dist/components/assetPage/slider/slideItem.jsx +16 -0
- package/dist/components/assetPage/slider/store.js +13 -0
- package/dist/components/assetPage/tittle/index.jsx +51 -0
- package/dist/components/assetPage/viewer3D/index.jsx +85 -0
- package/dist/components/banner/index.jsx +49 -0
- package/dist/components/base/Meta/index.jsx +59 -0
- package/dist/components/base/NoSSR/index.jsx +5 -0
- package/dist/components/collectionPage/collectionLike/index.jsx +40 -0
- package/dist/components/deleteDialog/index.jsx +111 -0
- package/dist/components/editProfile/Cropper/index.jsx +88 -0
- package/dist/components/editProfile/UserPicProfile/index.jsx +254 -0
- package/dist/components/favoriteList/add/addAssetToFavoriteList/index.jsx +68 -0
- package/dist/components/favoriteList/add/addCollectionToFavoriteList/index.jsx +66 -0
- package/dist/components/favoriteList/add/addCreationToFavoriteList/index.jsx +68 -0
- package/dist/components/filters/applyResetBtns/index.jsx +26 -0
- package/dist/components/filters/galleriesFiltersForm/index.jsx +71 -0
- package/dist/components/filters/index.jsx +92 -0
- package/dist/components/filters/mobileFilters/index.jsx +16 -0
- package/dist/components/filters/setsFiltersForm/index.jsx +61 -0
- package/dist/components/forms/form/index.jsx +118 -0
- package/dist/components/forms/formsNavigation/index.jsx +54 -0
- package/dist/components/forms/formsTemplate/index.jsx +747 -0
- package/dist/components/forms/types/index.js +10 -0
- package/dist/components/gallery/add/addAssetToGallery/index.jsx +68 -0
- package/dist/components/gallery/add/addCreationToGallery/index.jsx +87 -0
- package/dist/components/gradientLabel/index.jsx +19 -0
- package/dist/components/headers/components/MobileToggle/index.jsx +1 -0
- package/dist/components/headers/components/headerExperienceLabel/index.jsx +28 -0
- package/dist/components/headers/components/headerUserPic/index.jsx +23 -0
- package/dist/components/headers/header/index.jsx +27 -0
- package/dist/components/headers/headerSearch/index.jsx +34 -0
- package/dist/components/headers/headerSimple/index.jsx +30 -0
- package/dist/components/inviteCodesForms/getEarlyAccessForm/index.jsx +186 -0
- package/dist/components/inviteCodesForms/joinWaitListForm/index.jsx +132 -0
- package/dist/components/inviteCodesForms/styles/index.js +12 -0
- package/dist/components/inviteCodesPage/components/index.jsx +5 -0
- package/dist/components/inviteCodesPage/components/inviteCodes/index.jsx +19 -0
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCode/index.jsx +26 -0
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCode/loader/index.jsx +22 -0
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/index.jsx +23 -0
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/loader/index.jsx +16 -0
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCopy/index.jsx +27 -0
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeDate/index.jsx +20 -0
- package/dist/components/inviteCodesPage/wrappers/index.jsx +4 -0
- package/dist/components/inviteCodesPage/wrappers/resumeCodes/index.jsx +59 -0
- package/dist/components/inviteCodesPage/wrappers/resumeCodes/loader/index.jsx +13 -0
- package/dist/components/inviteCodesPage/wrappers/unusedCodes/index.jsx +28 -0
- package/dist/components/inviteCodesPage/wrappers/usedCodes/index.jsx +35 -0
- package/dist/components/linkTabs/index.jsx +21 -0
- package/dist/components/linkTabs/linkTab/index.jsx +27 -0
- package/dist/components/myWallets/index.jsx +29 -0
- package/dist/components/myWallets/myWalletItem/index.jsx +116 -0
- package/dist/components/navigation/index.jsx +65 -0
- package/dist/components/profile/MultiversXAudit/MultiversXAudit.jsx +134 -0
- package/dist/components/profile/ProfileTabs.jsx +41 -0
- package/dist/components/profile/aboutText/index.jsx +89 -0
- package/dist/components/profile/addToGalleryBtns/index.jsx +43 -0
- package/dist/components/profile/followersSocial/followers/index.jsx +22 -0
- package/dist/components/profile/followersSocial/index.jsx +22 -0
- package/dist/components/profile/followersSocial/social/index.jsx +35 -0
- package/dist/components/profile/index.js +11 -0
- package/dist/components/profile/info/index.jsx +39 -0
- package/dist/components/profile/interests/data.js +20 -0
- package/dist/components/profile/interests/index.jsx +64 -0
- package/dist/components/profile/interests/type.js +1 -0
- package/dist/components/profile/jsonLd/index.jsx +5 -0
- package/dist/components/profile/pageHead/index.jsx +45 -0
- package/dist/components/profile/profileSkeleton/index.jsx +33 -0
- package/dist/components/profile/profileUserCards/index.jsx +12 -0
- package/dist/components/profile/profileUserCards/profileUserCard/index.jsx +132 -0
- package/dist/components/profile/rank/index.jsx +34 -0
- package/dist/components/profile/stats/index.jsx +29 -0
- package/dist/components/profile/wallets/index.jsx +74 -0
- package/dist/components/profile/wrapper/index.jsx +20 -0
- package/dist/components/registrationPage/index.jsx +3 -0
- package/dist/components/registrationPage/registrationSelectBox/index.jsx +20 -0
- package/dist/components/registrationPage/registrationSelection/index.jsx +52 -0
- package/dist/components/rewards/FAQ/index.jsx +112 -0
- package/dist/components/rewards/clarifications/index.jsx +59 -0
- package/dist/components/rewards/logoBottom/index.jsx +25 -0
- package/dist/components/rewards/prograssBar/index.jsx +29 -0
- package/dist/components/rewards/rewardsButton/index.jsx +12 -0
- package/dist/components/rewards/seasonBanner/index.jsx +25 -0
- package/dist/components/rewards/taskExpTab/index.jsx +71 -0
- package/dist/components/rewards/tasksGrid/index.jsx +140 -0
- package/dist/components/rewards/userExp/index.jsx +73 -0
- package/dist/components/search/SearchInputContainer.jsx +216 -0
- package/dist/components/search/index.jsx +60 -0
- package/dist/components/search/searchCategories/index.jsx +55 -0
- package/dist/components/search/searchCategories/type.js +1 -0
- package/dist/components/search/searchCloseMoreButtons/index.jsx +52 -0
- package/dist/components/search/searchResultCaption/index.jsx +29 -0
- package/dist/components/search/searchSelectsGalleries/index.jsx +58 -0
- package/dist/components/search/searchSelectsSets/index.jsx +54 -0
- package/dist/components/search/searchSimpleInput/index.jsx +59 -0
- package/dist/components/search/searchSuggestions/index.jsx +119 -0
- package/dist/components/search/searchSuggestions/searchSuggestionsCaption/index.jsx +23 -0
- package/dist/components/search/searchSuggestions/searchSuggestionsFooter/index.jsx +26 -0
- package/dist/components/search/searchSuggestions/searchSuggestionsItem/index.jsx +42 -0
- package/dist/components/search/searchSuggestions/searchSuggestionsItem/searchSuggestionsItemSkeleton/index.jsx +33 -0
- package/dist/components/search/searchSuggestions/searchSuggestionsNotFound/index.jsx +22 -0
- package/dist/components/searchPage/SearchTabs.jsx +46 -0
- package/dist/components/searchPage/searchFiltersConnector/index.jsx +382 -0
- package/dist/components/searchPage/searchProfiles/index.jsx +112 -0
- package/dist/components/shareDialog/index.jsx +86 -0
- package/dist/components/showcaseAssets/showcaseSort/data.js +26 -0
- package/dist/components/showcaseAssets/showcaseSort/index.jsx +25 -0
- package/dist/components/sidebar/data.jsx +81 -0
- package/dist/components/sidebar/index.jsx +111 -0
- package/dist/components/sidebar/initializer.jsx +5 -0
- package/dist/components/sidebar/sidebarFilters/index.jsx +28 -0
- package/dist/components/sidebar/sidebarInviteCodeLabel/index.jsx +40 -0
- package/dist/components/socialButtons/data.jsx +47 -0
- package/dist/components/socialButtons/icons/discord.jsx +6 -0
- package/dist/components/socialButtons/icons/facebook.jsx +7 -0
- package/dist/components/socialButtons/icons/instagram.jsx +8 -0
- package/dist/components/socialButtons/icons/medium.jsx +6 -0
- package/dist/components/socialButtons/icons/telegram.jsx +6 -0
- package/dist/components/socialButtons/icons/twitter.jsx +6 -0
- package/dist/components/socialButtons/index.jsx +30 -0
- package/dist/components/socialButtons/type.js +1 -0
- package/dist/components/tabs/icons/bell.jsx +8 -0
- package/dist/components/tabs/icons/profile.jsx +8 -0
- package/dist/components/tabs/icons/secure.jsx +7 -0
- package/dist/components/tabs/index.jsx +53 -0
- package/dist/components/toTopBtn/index.jsx +61 -0
- package/dist/dto/AssetEntity/index.js +206 -0
- package/dist/dto/AssetEntity/interface.js +1 -0
- package/dist/dto/AssetEntity/views/AssetAudio/index.jsx +34 -0
- package/dist/dto/AssetEntity/views/AssetImage/index.jsx +45 -0
- package/dist/dto/AssetEntity/views/AssetObject/index.jsx +65 -0
- package/dist/dto/AssetEntity/views/AssetOther/index.jsx +49 -0
- package/dist/dto/AssetEntity/views/AssetScreenshot/index.jsx +45 -0
- package/dist/dto/AssetEntity/views/AssetVideo/index.jsx +34 -0
- package/dist/dto/AssetEntity/views/index.js +6 -0
- package/dist/dto/Collection/CollectionCreationEntity/index.js +157 -0
- package/dist/dto/Collection/CollectionCreationEntity/interface.js +1 -0
- package/dist/dto/Collection/CollectionEntity/index.js +72 -0
- package/dist/dto/Collection/CollectionEntity/interface.js +1 -0
- package/dist/dto/CreationEntity/index.js +163 -0
- package/dist/dto/CreationEntity/interface.js +1 -0
- package/dist/dto/GalleryEntityV2/index.js +69 -0
- package/dist/dto/GalleryEntityV2/interface.js +1 -0
- package/dist/dto/common/ItemType/data.js +35 -0
- package/dist/dto/common/ItemType/index.jsx +40 -0
- package/dist/dto/common/ItemViews/CreationAudio/index.jsx +34 -0
- package/dist/dto/common/ItemViews/CreationImage/index.jsx +45 -0
- package/dist/dto/common/ItemViews/CreationObject/index.jsx +38 -0
- package/dist/dto/common/ItemViews/CreationOther/index.jsx +34 -0
- package/dist/dto/common/ItemViews/CreationVideo/index.jsx +34 -0
- package/dist/dto/common/ItemViews/index.js +5 -0
- package/dist/dto/common/Media/Audio/index.jsx +49 -0
- package/dist/dto/common/Media/Image/index.jsx +57 -0
- package/dist/dto/common/Media/Object/index.jsx +58 -0
- package/dist/dto/common/Media/Other/index.jsx +77 -0
- package/dist/dto/common/Media/Screenshot/index.jsx +57 -0
- package/dist/dto/common/Media/Urls/index.js +112 -0
- package/dist/dto/common/Media/Video/index.jsx +49 -0
- package/dist/dto/common/Media/index.jsx +38 -0
- package/dist/dto/common/Media/interface.js +1 -0
- package/dist/dto/index.js +8 -0
- package/dist/entities/user/type.js +1 -0
- package/dist/fonts/{FontsInitializeLayout.js → FontsInitializeLayout.jsx} +5 -3
- package/dist/hooks/apollo/index.jsx +10 -0
- package/dist/hooks/audio/useMultiAudio/index.jsx +54 -0
- package/dist/hooks/extension/useExtension/index.js +76 -0
- package/dist/hooks/favorites/useGetFavoriteGallaryCreations/index.js +190 -0
- package/dist/hooks/favorites/useGetUserFevoritesCreations/index.js +265 -0
- package/dist/hooks/galleries/useGetUserGalleriesCreations/index.js +250 -0
- package/dist/hooks/likes/dynamic/useFindCollectionsAndLikes.jsx +234 -0
- package/dist/hooks/likes/dynamic/useFindCreationsAndLikes.jsx +207 -0
- package/dist/hooks/likes/dynamic/useGetCollectionInfoAndLikes.jsx +204 -0
- package/dist/hooks/likes/dynamic/useGetCreationsAndLikes.jsx +223 -0
- package/dist/hooks/likes/dynamic/useGetCreationsAndLikesByType.jsx +234 -0
- package/dist/hooks/likes/dynamic/useGetMixedLikesFavoriteList.jsx +48 -0
- package/dist/hooks/likes/dynamic/useGetTableLikes.jsx +110 -0
- package/dist/hooks/likes/index.js +172 -0
- package/dist/hooks/likes/useGetLikesAsset.js +156 -0
- package/dist/hooks/useToGalleryAsset/index.jsx +95 -0
- package/dist/index.js +2 -0
- package/dist/layouts/GlobalLayout.jsx +43 -0
- package/dist/layouts/base/LWithRegularHeader/index.jsx +21 -0
- package/dist/layouts/base/LWithRegularHeader/type.js +1 -0
- package/dist/layouts/base/LWithSearchHeader/index.jsx +14 -0
- package/dist/layouts/base/LWithSearchHeader/type.js +1 -0
- package/dist/layouts/base/LWithSimpleHeader/index.jsx +17 -0
- package/dist/layouts/base/LWithSimpleHeader/type.js +1 -0
- package/dist/layouts/base/LWithoutHeader/index.jsx +19 -0
- package/dist/layouts/custom/accountLayout/index.jsx +22 -0
- package/dist/layouts/custom/formsLayout/index.jsx +15 -0
- package/dist/layouts/custom/mainLayout/index.jsx +20 -0
- package/dist/layouts/custom/searchLayout/index.jsx +23 -0
- package/dist/layouts/custom/simpleLayout/index.jsx +20 -0
- package/dist/layouts/custom/styles.js +10 -0
- package/dist/layouts/pageTransitionLayout.jsx +25 -0
- package/dist/layouts/pageWithLayout.js +1 -0
- package/dist/modules/gallery/api/useGetAssetsAndCollectionForFavorite.js +276 -0
- package/dist/modules/gallery/api/useGetFavoriteGallery.js +39 -0
- package/dist/modules/gallery/store.js +141 -0
- package/dist/modules/gallery/ui/AllResults.jsx +11 -0
- package/dist/modules/gallery/ui/Description.jsx +50 -0
- package/dist/modules/gallery/ui/EditGallery.jsx +93 -0
- package/dist/modules/gallery/ui/GalleryDeleteIcon.jsx +21 -0
- package/dist/modules/gallery/ui/PlaceholderItemsGallery.jsx +19 -0
- package/dist/modules/gallery/ui/STopSections.js +9 -0
- package/dist/modules/gallery/ui/chooseGalleryItems/chooseGalleryItem/index.jsx +38 -0
- package/dist/modules/gallery/ui/chooseGalleryItems/index.jsx +117 -0
- package/dist/modules/gallery/ui/createGalleryForm/index.jsx +148 -0
- package/dist/modules/gallery/ui/editGalleryForm/index.jsx +168 -0
- package/dist/modules/gallery/ui/itemsPreview/index.jsx +180 -0
- package/dist/modules/index.js +1 -0
- package/dist/modules/notifications/CreatorNotifications.jsx +14 -0
- package/dist/modules/notifications/index.jsx +3 -0
- package/dist/modules/sessionScroll/globalTabs.js +47 -0
- package/dist/modules/sessionScroll/index.js +54 -0
- package/dist/modules/sessionScroll/type.js +1 -0
- package/dist/modules/sessionScroll/useVirtuosoInitialScroll.js +58 -0
- package/dist/modules/user/auth/useAuthVerification.js +93 -0
- package/dist/modules/user/auth/useSignIn.js +17 -0
- package/dist/modules/user/auth/useSignOut.js +71 -0
- package/dist/modules/user/profileData/profileDataInitialization.jsx +55 -0
- package/dist/modules/user/store.jsx +75 -0
- package/dist/modules/virtuoso/VirtuosoPageBuilder.jsx +127 -0
- package/dist/modules/virtuoso/VirtuosoToTopBtn.jsx +34 -0
- package/dist/modules/virtuoso/index.js +1 -0
- package/dist/modules/virtuoso/types.js +1 -0
- package/dist/modules/virtuoso/useSubscribeVirtuosoScrollToHeader.js +23 -0
- package/dist/modules/virtuoso/useVirtuosoData.js +46 -0
- package/dist/pages/index.jsx +12 -0
- package/dist/store/index.js +9 -0
- package/dist/store/media/index.js +66 -0
- package/dist/store/media/types.js +1 -0
- package/dist/store/ui/index.js +164 -0
- package/dist/store/ui/types.js +1 -0
- package/dist/store/ui/utils.js +28 -0
- package/dist/styles/ScreenWidth.js +23 -0
- package/dist/styles/animations/index.jsx +8 -0
- package/dist/styles/colors/index.jsx +1 -0
- package/dist/styles/mixins/boxShadow.jsx +8 -0
- package/dist/styles/mixins/boxTransform.jsx +8 -0
- package/dist/styles/mixins/z-indexes.jsx +10 -0
- package/dist/styles/typography/index.jsx +1 -0
- package/dist/system/ActiveLink/index.jsx +34 -0
- package/dist/system/Alert/index.jsx +15 -0
- package/dist/system/Alert/type.js +1 -0
- package/dist/system/BasicOverlay/index.jsx +15 -0
- package/dist/system/Buttons/IconButton/index.jsx +2 -0
- package/dist/system/Buttons/IconWithButton/index.jsx +2 -0
- package/dist/system/Buttons/IconWithButton/themes.js +1 -0
- package/dist/system/Buttons/MainButton/index.jsx +2 -0
- package/dist/system/Buttons/MainButton/themes.js +1 -0
- package/dist/system/Buttons/SecondaryButton/index.jsx +2 -0
- package/dist/system/Cards/CardCheckbox/index.jsx +25 -0
- package/dist/system/Cards/CardContent/CardCategory/index.jsx +25 -0
- package/dist/system/Cards/CardContent/CardLikes/index.jsx +31 -0
- package/dist/system/Cards/CardContent/CardShowMore/index.jsx +39 -0
- package/dist/system/Cards/CardContent/index.jsx +61 -0
- package/dist/system/Cards/CardHeadIcons/index.jsx +136 -0
- package/dist/system/Cards/CardMedia/CardAudio/index.jsx +66 -0
- package/dist/system/Cards/CardMedia/CardImage/index.jsx +17 -0
- package/dist/system/Cards/CardMedia/CardVideo/index.jsx +57 -0
- package/dist/system/Cards/CardRank/index.jsx +34 -0
- package/dist/system/Cards/CardsGrid/index.jsx +59 -0
- package/dist/system/Cards/MultiMediaCard/index.jsx +82 -0
- package/dist/system/Cards/RegularCard/index.jsx +60 -0
- package/dist/system/Cards/Styles/Content.js +11 -0
- package/dist/system/Cards/Styles/Head.js +11 -0
- package/dist/system/Cards/Styles/Headicons.js +15 -0
- package/dist/system/Cards/Styles/Image.js +10 -0
- package/dist/system/Cards/Styles/Likes.js +13 -0
- package/dist/system/Cards/Styles/MultiHead.js +11 -0
- package/dist/system/Cards/Styles/Video.js +8 -0
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsError/index.jsx +75 -0
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsNoResults/index.jsx +22 -0
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsSkeleton/index.jsx +37 -0
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/index.jsx +37 -0
- package/dist/system/CardsHolderWithSkeleton/CardsHolderLoader/index.jsx +24 -0
- package/dist/system/CardsHolderWithSkeleton/index.jsx +17 -0
- package/dist/system/DropDown/DropDown.test.jsx +41 -0
- package/dist/system/DropDown/index.jsx +38 -0
- package/dist/system/Filters/helpers.js +4 -0
- package/dist/system/Filters/type.js +8 -0
- package/dist/system/Flex/index.jsx +1 -0
- package/dist/system/Forms/Checkbox/Checkbox.test.jsx +74 -0
- package/dist/system/Forms/Checkbox/index.jsx +35 -0
- package/dist/system/Forms/DatePicker/index.jsx +39 -0
- package/dist/system/Forms/ErrorLabel/ErrorLabel.test.jsx +22 -0
- package/dist/system/Forms/ErrorLabel/index.jsx +15 -0
- package/dist/system/Forms/Input/Input.test.jsx +52 -0
- package/dist/system/Forms/Input/index.jsx +29 -0
- package/dist/system/Forms/Input/type.js +1 -0
- package/dist/system/Forms/Messages/index.js +67 -0
- package/dist/system/Forms/RadioInput/index.jsx +27 -0
- package/dist/system/Forms/Selects/DesktopSelect/index.jsx +115 -0
- package/dist/system/Forms/Selects/DesktopSelect/type.js +1 -0
- package/dist/system/Forms/Selects/MobileSelect/index.jsx +29 -0
- package/dist/system/Forms/TextArea/index.jsx +29 -0
- package/dist/system/Forms/index.js +5 -0
- package/dist/system/Img/ExternalImage/index.jsx +13 -0
- package/dist/system/Img/ImageInterceptor/ImageInterceptor.test.jsx +52 -0
- package/dist/system/Img/ImageInterceptor/index.jsx +27 -0
- package/dist/system/Img/Profilepic/index.jsx +33 -0
- package/dist/system/Img/Userpic/UserPic.test.jsx +66 -0
- package/dist/system/Img/Userpic/index.jsx +74 -0
- package/dist/system/Img/index.js +3 -0
- package/dist/system/Labels/ExperienceLabel/ExperienceLabel.test.jsx +49 -0
- package/dist/system/Labels/ExperienceLabel/index.jsx +38 -0
- package/dist/system/Labels/InviteLabel/InviteLabel.test.jsx +41 -0
- package/dist/system/Labels/InviteLabel/index.jsx +34 -0
- package/dist/system/Labels/SkeletonLabel/index.jsx +2 -0
- package/dist/system/Modals/Modal/Modal.test.jsx +31 -0
- package/dist/system/Modals/Modal/index.jsx +29 -0
- package/dist/system/Modals/ModalSidebar/CreatorModalSidebarPortal.jsx +18 -0
- package/dist/system/Modals/ModalSidebar/ModalSidebar.test.jsx +30 -0
- package/dist/system/Modals/ModalSidebar/ModalSidebarPortal.jsx +14 -0
- package/dist/system/Modals/ModalSidebar/index.jsx +28 -0
- package/dist/system/Overlay/Overlay.test.jsx +43 -0
- package/dist/system/Overlay/index.jsx +24 -0
- package/dist/system/PageLoader/index.jsx +2 -0
- package/dist/system/Palete/index.jsx +2 -0
- package/dist/system/ShareIconResize.jsx +21 -0
- package/dist/system/Tabs/TabNavLink/TabNavLink.test.jsx +35 -0
- package/dist/system/Tabs/TabNavLink/index.jsx +23 -0
- package/dist/system/Tabs/TabsNav/TabsNav.test.jsx +38 -0
- package/dist/system/Tabs/TabsNav/index.jsx +22 -0
- package/dist/system/Tabs/TabsNav/type.js +1 -0
- package/dist/system/Tabs/TabsPanel/TabsPanel.test.jsx +36 -0
- package/dist/system/Tabs/TabsPanel/index.jsx +16 -0
- package/dist/system/Text/index.jsx +1 -0
- package/dist/system/index.js +6 -0
- package/dist/system/theme.js +1 -0
- package/dist/types/api/server-assets/mutations/useDislikeAsset/index.d.ts +7 -0
- package/dist/types/api/server-assets/mutations/useLikeAsset/index.d.ts +7 -0
- package/dist/types/api/server-assets/queries/useFetchAssets/index.d.ts +7 -0
- package/dist/types/api/server-assets/queries/useFetchDynamicAssetLikes/index.d.ts +8 -0
- package/dist/types/api/server-assets/queries/useFetchDynamicAssetsLikes/index.d.ts +7 -0
- package/dist/types/api/server-collection/mutations/useDislikeCollection/index.d.ts +7 -0
- package/dist/types/api/server-collection/mutations/useLikeCollection/index.d.ts +7 -0
- package/dist/types/api/server-experiences/queries/useFetchMyExperienceWithLevel/index.d.ts +2 -0
- package/dist/types/api/server-experiences/queries/useFetchMyTasks/index.d.ts +31 -0
- package/dist/types/api/server-galleries/mutations/useAddAssetsToGallery/index.d.ts +7 -0
- package/dist/types/api/server-galleries/mutations/useAddChangeGalleryBanner/index.d.ts +4 -0
- package/dist/types/api/server-galleries/mutations/useAddCollectionsToGallery/index.d.ts +7 -0
- package/dist/types/api/server-galleries/mutations/useAddCreationsToGallery/index.d.ts +7 -0
- package/dist/types/api/server-galleries/mutations/useCreateFavorites/index.d.ts +6 -0
- package/dist/types/api/server-galleries/mutations/useCreateGallery/index.d.ts +6 -0
- package/dist/types/api/server-galleries/mutations/useDeleteGallery/index.d.ts +8 -0
- package/dist/types/api/server-galleries/mutations/useDeleteGalleryBanner/index.d.ts +5 -0
- package/dist/types/api/server-galleries/mutations/useEditGallery/index.d.ts +5 -0
- package/dist/types/api/server-galleries/mutations/useRemoveAssetFromGallery/index.d.ts +7 -0
- package/dist/types/api/server-galleries/mutations/useRemoveCollectionFromGallery/index.d.ts +7 -0
- package/dist/types/api/server-galleries/queries/useFetchGallery/index.d.ts +16 -0
- package/dist/types/api/server-galleries/queries/useFetchGalleryAssets/index.d.ts +18 -0
- package/dist/types/api/server-galleries/queries/useFetchMyFavorites/index.d.ts +10 -0
- package/dist/types/api/server-galleries/queries/useFetchMyGalleries/index.d.ts +10 -0
- package/dist/types/api/server-galleries/queries/useFetchSubscribedGalleries/index.d.ts +9 -0
- package/dist/types/api/server-galleries/queries/useFetchUserFavorites/index.d.ts +11 -0
- package/dist/types/api/server-identities/mutations/useAddWalletElrond/index.d.ts +6 -0
- package/dist/types/api/server-identities/mutations/useAddWalletFlow/index.d.ts +5 -0
- package/dist/types/api/server-identities/mutations/useAddWalletMetamask/index.d.ts +12 -0
- package/dist/types/api/server-identities/mutations/useAddWalletSolana/index.d.ts +5 -0
- package/dist/types/api/server-identities/mutations/useAddWalletTezos/index.d.ts +5 -0
- package/dist/types/api/server-identities/mutations/useFollowProfile/index.d.ts +7 -0
- package/dist/types/api/server-identities/mutations/useGenerateNewInviteCodes/index.d.ts +7 -0
- package/dist/types/api/server-identities/mutations/useRevokeToken/index.d.ts +4 -0
- package/dist/types/api/server-identities/mutations/useUnfollowProfile/index.d.ts +7 -0
- package/dist/types/api/server-identities/queries/useFetchProfile/index.d.ts +16 -0
- package/dist/types/api/server-identities/queries/useGetMyInviteCodes/index.d.ts +8 -0
- package/dist/types/api/server-medias/mutations/useDeleteUserpic/index.d.ts +6 -0
- package/dist/types/api/server-medias/mutations/useUploadUserpic/index.d.ts +4 -0
- package/dist/types/api/server-opportunities/mutations/useDislikeOpportunity.d.ts +4 -0
- package/dist/types/api/server-opportunities/mutations/useLikeOpportunity.d.ts +4 -0
- package/dist/types/api/server-opportunities/mutations/useOpenOpportunity/index.d.ts +5 -0
- package/dist/types/api/server-opportunities/queries/useGetOpportunities.d.ts +4 -0
- package/dist/types/api/server-preferences/mutations/useSaveUserExpectations/index.d.ts +4 -0
- package/dist/types/api/server-preferences/mutations/useSaveUserInterests/index.d.ts +4 -0
- package/dist/types/api/server-preferences/queries/fetchSearchResultSelections/queryData.d.ts +14 -0
- package/dist/types/api/server-preferences/queries/useFetchSearchResultTimeSelection/index.d.ts +12 -0
- package/dist/types/api/server-preferences/queries/useFetchUserInterests/index.d.ts +7 -0
- package/dist/types/api/server-preferences/queries/useSearchResultBlockchainSelections/index.d.ts +13 -0
- package/dist/types/api/server-preferences/queries/useSearchResultCategorySelections/index.d.ts +13 -0
- package/dist/types/api/server-preferences/queries/useSearchResultStatusSelections/index.d.ts +14 -0
- package/dist/types/api/server-preferences/queries/useSearchResultTypeSelections/index.d.ts +13 -0
- package/dist/types/api/server-search/queries/useFetchAssetsCount/index.d.ts +7 -0
- package/dist/types/api/server-search/queries/useFetchCollection/index.d.ts +19 -0
- package/dist/types/api/server-search/queries/useFetchCollections/index.d.ts +23 -0
- package/dist/types/api/server-search/queries/useFetchDynamicCollectionData/index.d.ts +13 -0
- package/dist/types/api/server-search/queries/useFetchFindAllTopEntitiesByName/index.d.ts +50 -0
- package/dist/types/api/server-search/queries/useFetchNetWorth/index.d.ts +7 -0
- package/dist/types/api/server-search/queries/useFindShowcaseItems/index.d.ts +2 -0
- package/dist/types/api/server-search/queries/useFindUserShowcaseItems/index.d.ts +2 -0
- package/dist/types/api/subscriptions/SubscriberInviteNotification.d.ts +2 -0
- package/dist/types/components/CreationCard/CardHead.d.ts +14 -0
- package/dist/types/components/CreationCard/index.d.ts +29 -0
- package/dist/types/components/addWalletsRedirectPage/index.d.ts +5 -0
- package/dist/types/components/assetJSONLD.d.ts +1 -0
- package/dist/types/components/assetPage/assetLikes/index.d.ts +7 -0
- package/dist/types/components/assetPage/assetNft/index.d.ts +5 -0
- package/dist/types/components/assetPage/assetWrapper/index.d.ts +9 -0
- package/dist/types/components/assetPage/audioVideoPlayer/Duration.d.ts +6 -0
- package/dist/types/components/assetPage/audioVideoPlayer/index.d.ts +96 -0
- package/dist/types/components/assetPage/category/index.d.ts +7 -0
- package/dist/types/components/assetPage/description/index.d.ts +5 -0
- package/dist/types/components/assetPage/detailsAccordeon/index.d.ts +7 -0
- package/dist/types/components/assetPage/figCaption/index.d.ts +5 -0
- package/dist/types/components/assetPage/index.d.ts +13 -0
- package/dist/types/components/assetPage/information/index.d.ts +7 -0
- package/dist/types/components/assetPage/marketPlaces/index.d.ts +5 -0
- package/dist/types/components/assetPage/media/AssetImage/index.d.ts +9 -0
- package/dist/types/components/assetPage/moreDropDown/index.d.ts +11 -0
- package/dist/types/components/assetPage/participants/index.d.ts +10 -0
- package/dist/types/components/assetPage/priceRank/index.d.ts +10 -0
- package/dist/types/components/assetPage/properties/index.d.ts +5 -0
- package/dist/types/components/assetPage/slider/index.d.ts +6 -0
- package/dist/types/components/assetPage/slider/slideItem.d.ts +6 -0
- package/dist/types/components/assetPage/slider/store.d.ts +8 -0
- package/dist/types/components/assetPage/tittle/index.d.ts +10 -0
- package/dist/types/components/assetPage/viewer3D/index.d.ts +8 -0
- package/dist/types/components/banner/index.d.ts +3 -0
- package/dist/types/components/base/Meta/index.d.ts +3 -0
- package/dist/types/components/base/NoSSR/index.d.ts +5 -0
- package/dist/types/components/collectionPage/collectionLike/index.d.ts +7 -0
- package/dist/types/components/deleteDialog/index.d.ts +8 -0
- package/dist/types/components/editProfile/Cropper/index.d.ts +21 -0
- package/dist/types/components/editProfile/UserPicProfile/index.d.ts +5 -0
- package/dist/types/components/favoriteList/add/addAssetToFavoriteList/index.d.ts +6 -0
- package/dist/types/components/favoriteList/add/addCollectionToFavoriteList/index.d.ts +6 -0
- package/dist/types/components/favoriteList/add/addCreationToFavoriteList/index.d.ts +7 -0
- package/dist/types/components/filters/applyResetBtns/index.d.ts +6 -0
- package/dist/types/components/filters/galleriesFiltersForm/index.d.ts +11 -0
- package/dist/types/components/filters/index.d.ts +12 -0
- package/dist/types/components/filters/mobileFilters/index.d.ts +5 -0
- package/dist/types/components/filters/setsFiltersForm/index.d.ts +10 -0
- package/dist/types/components/forms/form/index.d.ts +14 -0
- package/dist/types/components/forms/formsNavigation/index.d.ts +3 -0
- package/dist/types/components/forms/formsTemplate/index.d.ts +14 -0
- package/dist/types/components/forms/types/index.d.ts +32 -0
- package/dist/types/components/gallery/add/addAssetToGallery/index.d.ts +6 -0
- package/dist/types/components/gallery/add/addCreationToGallery/index.d.ts +3 -0
- package/dist/types/components/gradientLabel/index.d.ts +3 -0
- package/dist/types/components/headers/components/MobileToggle/index.d.ts +0 -0
- package/dist/types/components/headers/components/headerExperienceLabel/index.d.ts +5 -0
- package/dist/types/components/headers/components/headerUserPic/index.d.ts +5 -0
- package/dist/types/components/headers/header/index.d.ts +3 -0
- package/dist/types/components/headers/headerSearch/index.d.ts +3 -0
- package/dist/types/components/headers/headerSimple/index.d.ts +3 -0
- package/dist/types/components/inviteCodesForms/getEarlyAccessForm/index.d.ts +3 -0
- package/dist/types/components/inviteCodesForms/joinWaitListForm/index.d.ts +3 -0
- package/dist/types/components/inviteCodesForms/styles/index.d.ts +6 -0
- package/dist/types/components/inviteCodesPage/components/index.d.ts +5 -0
- package/dist/types/components/inviteCodesPage/components/inviteCodes/index.d.ts +6 -0
- package/dist/types/components/inviteCodesPage/components/inviteCodes/inviteCode/index.d.ts +7 -0
- package/dist/types/components/inviteCodesPage/components/inviteCodes/inviteCode/loader/index.d.ts +3 -0
- package/dist/types/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/index.d.ts +7 -0
- package/dist/types/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/loader/index.d.ts +3 -0
- package/dist/types/components/inviteCodesPage/components/inviteCodes/inviteCodeCopy/index.d.ts +6 -0
- package/dist/types/components/inviteCodesPage/components/inviteCodes/inviteCodeDate/index.d.ts +5 -0
- package/dist/types/components/inviteCodesPage/wrappers/index.d.ts +4 -0
- package/dist/types/components/inviteCodesPage/wrappers/resumeCodes/index.d.ts +8 -0
- package/dist/types/components/inviteCodesPage/wrappers/resumeCodes/loader/index.d.ts +3 -0
- package/dist/types/components/inviteCodesPage/wrappers/unusedCodes/index.d.ts +7 -0
- package/dist/types/components/inviteCodesPage/wrappers/usedCodes/index.d.ts +7 -0
- package/dist/types/components/linkTabs/index.d.ts +7 -0
- package/dist/types/components/linkTabs/linkTab/index.d.ts +9 -0
- package/dist/types/components/myWallets/index.d.ts +3 -0
- package/dist/types/components/myWallets/myWalletItem/index.d.ts +10 -0
- package/dist/types/components/navigation/index.d.ts +8 -0
- package/dist/types/components/profile/MultiversXAudit/MultiversXAudit.d.ts +2 -0
- package/dist/types/components/profile/ProfileTabs.d.ts +7 -0
- package/dist/types/components/profile/aboutText/index.d.ts +5 -0
- package/dist/types/components/profile/addToGalleryBtns/index.d.ts +5 -0
- package/dist/types/components/profile/followersSocial/followers/index.d.ts +7 -0
- package/dist/types/components/profile/followersSocial/index.d.ts +5 -0
- package/dist/types/components/profile/followersSocial/social/index.d.ts +3 -0
- package/dist/types/components/profile/index.d.ts +11 -0
- package/dist/types/components/profile/info/index.d.ts +7 -0
- package/dist/types/components/profile/interests/data.d.ts +3 -0
- package/dist/types/components/profile/interests/index.d.ts +2 -0
- package/dist/types/components/profile/interests/type.d.ts +6 -0
- package/dist/types/components/profile/jsonLd/index.d.ts +4 -0
- package/dist/types/components/profile/pageHead/index.d.ts +6 -0
- package/dist/types/components/profile/profileSkeleton/index.d.ts +5 -0
- package/dist/types/components/profile/profileUserCards/index.d.ts +4 -0
- package/dist/types/components/profile/profileUserCards/profileUserCard/index.d.ts +10 -0
- package/dist/types/components/profile/rank/index.d.ts +5 -0
- package/dist/types/components/profile/stats/index.d.ts +5 -0
- package/dist/types/components/profile/wallets/index.d.ts +2 -0
- package/dist/types/components/profile/wrapper/index.d.ts +7 -0
- package/dist/types/components/registrationPage/index.d.ts +3 -0
- package/dist/types/components/registrationPage/registrationSelectBox/index.d.ts +9 -0
- package/dist/types/components/registrationPage/registrationSelection/index.d.ts +16 -0
- package/dist/types/components/rewards/FAQ/index.d.ts +3 -0
- package/dist/types/components/rewards/clarifications/index.d.ts +8 -0
- package/dist/types/components/rewards/logoBottom/index.d.ts +3 -0
- package/dist/types/components/rewards/prograssBar/index.d.ts +7 -0
- package/dist/types/components/rewards/rewardsButton/index.d.ts +3 -0
- package/dist/types/components/rewards/seasonBanner/index.d.ts +5 -0
- package/dist/types/components/rewards/taskExpTab/index.d.ts +14 -0
- package/dist/types/components/rewards/tasksGrid/index.d.ts +6 -0
- package/dist/types/components/rewards/userExp/index.d.ts +12 -0
- package/dist/types/components/search/SearchInputContainer.d.ts +26 -0
- package/dist/types/components/search/index.d.ts +3 -0
- package/dist/types/components/search/searchCategories/index.d.ts +3 -0
- package/dist/types/components/search/searchCategories/type.d.ts +5 -0
- package/dist/types/components/search/searchCloseMoreButtons/index.d.ts +14 -0
- package/dist/types/components/search/searchResultCaption/index.d.ts +7 -0
- package/dist/types/components/search/searchSelectsGalleries/index.d.ts +9 -0
- package/dist/types/components/search/searchSelectsSets/index.d.ts +8 -0
- package/dist/types/components/search/searchSimpleInput/index.d.ts +5 -0
- package/dist/types/components/search/searchSuggestions/index.d.ts +14 -0
- package/dist/types/components/search/searchSuggestions/searchSuggestionsCaption/index.d.ts +7 -0
- package/dist/types/components/search/searchSuggestions/searchSuggestionsFooter/index.d.ts +3 -0
- package/dist/types/components/search/searchSuggestions/searchSuggestionsItem/index.d.ts +11 -0
- package/dist/types/components/search/searchSuggestions/searchSuggestionsItem/searchSuggestionsItemSkeleton/index.d.ts +4 -0
- package/dist/types/components/search/searchSuggestions/searchSuggestionsNotFound/index.d.ts +5 -0
- package/dist/types/components/searchPage/SearchTabs.d.ts +7 -0
- package/dist/types/components/searchPage/searchFiltersConnector/index.d.ts +25 -0
- package/dist/types/components/searchPage/searchProfiles/index.d.ts +8 -0
- package/dist/types/components/shareDialog/index.d.ts +34 -0
- package/dist/types/components/showcaseAssets/showcaseSort/data.d.ts +3 -0
- package/dist/types/components/showcaseAssets/showcaseSort/index.d.ts +8 -0
- package/dist/types/components/sidebar/data.d.ts +20 -0
- package/dist/types/components/sidebar/index.d.ts +3 -0
- package/dist/types/components/sidebar/initializer.d.ts +2 -0
- package/dist/types/components/sidebar/sidebarFilters/index.d.ts +7 -0
- package/dist/types/components/sidebar/sidebarInviteCodeLabel/index.d.ts +3 -0
- package/dist/types/components/socialButtons/data.d.ts +3 -0
- package/dist/types/components/socialButtons/icons/discord.d.ts +3 -0
- package/dist/types/components/socialButtons/icons/facebook.d.ts +3 -0
- package/dist/types/components/socialButtons/icons/instagram.d.ts +3 -0
- package/dist/types/components/socialButtons/icons/medium.d.ts +3 -0
- package/dist/types/components/socialButtons/icons/telegram.d.ts +3 -0
- package/dist/types/components/socialButtons/icons/twitter.d.ts +3 -0
- package/dist/types/components/socialButtons/index.d.ts +3 -0
- package/dist/types/components/socialButtons/type.d.ts +8 -0
- package/dist/types/components/tabs/icons/bell.d.ts +5 -0
- package/dist/types/components/tabs/icons/profile.d.ts +5 -0
- package/dist/types/components/tabs/icons/secure.d.ts +5 -0
- package/dist/types/components/tabs/index.d.ts +3 -0
- package/dist/types/components/toTopBtn/index.d.ts +6 -0
- package/dist/types/dto/AssetEntity/index.d.ts +63 -0
- package/dist/types/dto/AssetEntity/interface.d.ts +39 -0
- package/dist/types/dto/AssetEntity/views/AssetAudio/index.d.ts +9 -0
- package/dist/types/dto/AssetEntity/views/AssetImage/index.d.ts +10 -0
- package/dist/types/dto/AssetEntity/views/AssetObject/index.d.ts +11 -0
- package/dist/types/dto/AssetEntity/views/AssetOther/index.d.ts +11 -0
- package/dist/types/dto/AssetEntity/views/AssetScreenshot/index.d.ts +10 -0
- package/dist/types/dto/AssetEntity/views/AssetVideo/index.d.ts +9 -0
- package/dist/types/dto/AssetEntity/views/index.d.ts +6 -0
- package/dist/types/dto/Collection/CollectionCreationEntity/index.d.ts +45 -0
- package/dist/types/dto/Collection/CollectionCreationEntity/interface.d.ts +24 -0
- package/dist/types/dto/Collection/CollectionEntity/index.d.ts +32 -0
- package/dist/types/dto/Collection/CollectionEntity/interface.d.ts +16 -0
- package/dist/types/dto/CreationEntity/index.d.ts +49 -0
- package/dist/types/dto/CreationEntity/interface.d.ts +30 -0
- package/dist/types/dto/GalleryEntityV2/index.d.ts +32 -0
- package/dist/types/dto/GalleryEntityV2/interface.d.ts +16 -0
- package/dist/types/dto/common/ItemType/data.d.ts +3 -0
- package/dist/types/dto/common/ItemType/index.d.ts +45 -0
- package/dist/types/dto/common/ItemViews/CreationAudio/index.d.ts +9 -0
- package/dist/types/dto/common/ItemViews/CreationImage/index.d.ts +10 -0
- package/dist/types/dto/common/ItemViews/CreationObject/index.d.ts +8 -0
- package/dist/types/dto/common/ItemViews/CreationOther/index.d.ts +9 -0
- package/dist/types/dto/common/ItemViews/CreationVideo/index.d.ts +9 -0
- package/dist/types/dto/common/ItemViews/index.d.ts +5 -0
- package/dist/types/dto/common/Media/Audio/index.d.ts +13 -0
- package/dist/types/dto/common/Media/Image/index.d.ts +13 -0
- package/dist/types/dto/common/Media/Object/index.d.ts +13 -0
- package/dist/types/dto/common/Media/Other/index.d.ts +13 -0
- package/dist/types/dto/common/Media/Screenshot/index.d.ts +13 -0
- package/dist/types/dto/common/Media/Urls/index.d.ts +31 -0
- package/dist/types/dto/common/Media/Video/index.d.ts +13 -0
- package/dist/types/dto/common/Media/index.d.ts +26 -0
- package/dist/types/dto/common/Media/interface.d.ts +26 -0
- package/dist/types/dto/index.d.ts +8 -0
- package/dist/types/entities/user/type.d.ts +5 -0
- package/dist/types/fonts/FontsInitializeLayout.d.ts +2 -2
- package/dist/types/hooks/audio/useMultiAudio/index.d.ts +2 -0
- package/dist/types/hooks/extension/useExtension/index.d.ts +7 -0
- package/dist/types/hooks/favorites/useGetFavoriteGallaryCreations/index.d.ts +23 -0
- package/dist/types/hooks/favorites/useGetUserFevoritesCreations/index.d.ts +24 -0
- package/dist/types/hooks/galleries/useGetUserGalleriesCreations/index.d.ts +24 -0
- package/dist/types/hooks/likes/dynamic/useGetCollectionInfoAndLikes.d.ts +14 -0
- package/dist/types/hooks/likes/dynamic/useGetMixedLikesFavoriteList.d.ts +19 -0
- package/dist/types/hooks/likes/dynamic/useGetTableLikes.d.ts +15 -0
- package/dist/types/hooks/likes/index.d.ts +19 -0
- package/dist/types/hooks/likes/useGetLikesAsset.d.ts +19 -0
- package/dist/types/hooks/useToGalleryAsset/index.d.ts +18 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/layouts/GlobalLayout.d.ts +4 -0
- package/dist/types/layouts/base/LWithRegularHeader/index.d.ts +3 -0
- package/dist/types/layouts/base/LWithRegularHeader/type.d.ts +5 -0
- package/dist/types/layouts/base/LWithSearchHeader/index.d.ts +3 -0
- package/dist/types/layouts/base/LWithSearchHeader/type.d.ts +5 -0
- package/dist/types/layouts/base/LWithSimpleHeader/index.d.ts +3 -0
- package/dist/types/layouts/base/LWithSimpleHeader/type.d.ts +5 -0
- package/dist/types/layouts/base/LWithoutHeader/index.d.ts +3 -0
- package/dist/types/layouts/custom/accountLayout/index.d.ts +3 -0
- package/dist/types/layouts/custom/formsLayout/index.d.ts +3 -0
- package/dist/types/layouts/custom/mainLayout/index.d.ts +3 -0
- package/dist/types/layouts/custom/searchLayout/index.d.ts +3 -0
- package/dist/types/layouts/custom/simpleLayout/index.d.ts +3 -0
- package/dist/types/layouts/custom/styles.d.ts +3 -0
- package/dist/types/layouts/pageTransitionLayout.d.ts +6 -0
- package/dist/types/layouts/pageWithLayout.d.ts +9 -0
- package/dist/types/modules/gallery/api/useGetFavoriteGallery.d.ts +6 -0
- package/dist/types/modules/gallery/store.d.ts +26 -0
- package/dist/types/modules/gallery/ui/AllResults.d.ts +4 -0
- package/dist/types/modules/gallery/ui/Description.d.ts +5 -0
- package/dist/types/modules/gallery/ui/EditGallery.d.ts +10 -0
- package/dist/types/modules/gallery/ui/GalleryDeleteIcon.d.ts +5 -0
- package/dist/types/modules/gallery/ui/PlaceholderItemsGallery.d.ts +2 -0
- package/dist/types/modules/gallery/ui/STopSections.d.ts +2 -0
- package/dist/types/modules/gallery/ui/chooseGalleryItems/chooseGalleryItem/index.d.ts +8 -0
- package/dist/types/modules/gallery/ui/chooseGalleryItems/index.d.ts +16 -0
- package/dist/types/modules/gallery/ui/createGalleryForm/index.d.ts +14 -0
- package/dist/types/modules/gallery/ui/editGalleryForm/index.d.ts +9 -0
- package/dist/types/modules/gallery/ui/itemsPreview/index.d.ts +21 -0
- package/dist/types/modules/index.d.ts +1 -0
- package/dist/types/modules/notifications/CreatorNotifications.d.ts +2 -0
- package/dist/types/modules/notifications/index.d.ts +22 -0
- package/dist/types/modules/sessionScroll/globalTabs.d.ts +12 -0
- package/dist/types/modules/sessionScroll/index.d.ts +14 -0
- package/dist/types/modules/sessionScroll/type.d.ts +7 -0
- package/dist/types/modules/sessionScroll/useVirtuosoInitialScroll.d.ts +12 -0
- package/dist/types/modules/user/auth/useAuthVerification.d.ts +1 -0
- package/dist/types/modules/user/auth/useSignIn.d.ts +2 -0
- package/dist/types/modules/user/auth/useSignOut.d.ts +1 -0
- package/dist/types/modules/user/profileData/profileDataInitialization.d.ts +2 -0
- package/dist/types/modules/user/store.d.ts +33 -0
- package/dist/types/modules/virtuoso/VirtuosoPageBuilder.d.ts +19 -0
- package/dist/types/modules/virtuoso/VirtuosoToTopBtn.d.ts +9 -0
- package/dist/types/modules/virtuoso/index.d.ts +1 -0
- package/dist/types/modules/virtuoso/types.d.ts +7 -0
- package/dist/types/modules/virtuoso/useSubscribeVirtuosoScrollToHeader.d.ts +3 -0
- package/dist/types/modules/virtuoso/useVirtuosoData.d.ts +12 -0
- package/dist/types/pages/index.d.ts +2 -1
- package/dist/types/store/index.d.ts +10 -0
- package/dist/types/store/media/index.d.ts +2 -0
- package/dist/types/store/media/types.d.ts +11 -0
- package/dist/types/store/ui/index.d.ts +2 -0
- package/dist/types/store/ui/types.d.ts +34 -0
- package/dist/types/store/ui/utils.d.ts +7 -0
- package/dist/types/styles/ScreenWidth.d.ts +22 -0
- package/dist/types/styles/animations/index.d.ts +2 -0
- package/dist/types/styles/colors/index.d.ts +1 -0
- package/dist/types/styles/mixins/boxShadow.d.ts +2 -0
- package/dist/types/styles/mixins/boxTransform.d.ts +2 -0
- package/dist/types/styles/mixins/z-indexes.d.ts +10 -0
- package/dist/types/styles/typography/index.d.ts +1 -0
- package/dist/types/system/ActiveLink/index.d.ts +9 -0
- package/dist/types/system/Alert/index.d.ts +3 -0
- package/dist/types/system/Alert/type.d.ts +2 -0
- package/dist/types/system/BasicOverlay/index.d.ts +3 -0
- package/dist/types/system/Buttons/IconButton/index.d.ts +2 -0
- package/dist/types/system/Buttons/IconWithButton/index.d.ts +2 -0
- package/dist/types/system/Buttons/IconWithButton/themes.d.ts +0 -0
- package/dist/types/system/Buttons/MainButton/index.d.ts +2 -0
- package/dist/types/system/Buttons/MainButton/themes.d.ts +0 -0
- package/dist/types/system/Buttons/SecondaryButton/index.d.ts +2 -0
- package/dist/types/system/Cards/CardCheckbox/index.d.ts +6 -0
- package/dist/types/system/Cards/CardContent/CardCategory/index.d.ts +6 -0
- package/dist/types/system/Cards/CardContent/CardLikes/index.d.ts +6 -0
- package/dist/types/system/Cards/CardContent/CardShowMore/index.d.ts +7 -0
- package/dist/types/system/Cards/CardContent/index.d.ts +17 -0
- package/dist/types/system/Cards/CardHeadIcons/index.d.ts +15 -0
- package/dist/types/system/Cards/CardMedia/CardAudio/index.d.ts +8 -0
- package/dist/types/system/Cards/CardMedia/CardImage/index.d.ts +7 -0
- package/dist/types/system/Cards/CardMedia/CardVideo/index.d.ts +7 -0
- package/dist/types/system/Cards/CardRank/index.d.ts +5 -0
- package/dist/types/system/Cards/CardsGrid/index.d.ts +13 -0
- package/dist/types/system/Cards/MultiMediaCard/index.d.ts +10 -0
- package/dist/types/system/Cards/RegularCard/index.d.ts +22 -0
- package/dist/types/system/Cards/Styles/Content.d.ts +3 -0
- package/dist/types/system/Cards/Styles/Head.d.ts +3 -0
- package/dist/types/system/Cards/Styles/Headicons.d.ts +5 -0
- package/dist/types/system/Cards/Styles/Image.d.ts +5 -0
- package/dist/types/system/Cards/Styles/Likes.d.ts +5 -0
- package/dist/types/system/Cards/Styles/MultiHead.d.ts +3 -0
- package/dist/types/system/Cards/Styles/Video.d.ts +3 -0
- package/dist/types/system/CardsHolderWithSkeleton/CardsHolder/CardsError/index.d.ts +5 -0
- package/dist/types/system/CardsHolderWithSkeleton/CardsHolder/CardsNoResults/index.d.ts +5 -0
- package/dist/types/system/CardsHolderWithSkeleton/CardsHolder/CardsSkeleton/index.d.ts +6 -0
- package/dist/types/system/CardsHolderWithSkeleton/CardsHolder/index.d.ts +22 -0
- package/dist/types/system/CardsHolderWithSkeleton/CardsHolderLoader/index.d.ts +3 -0
- package/dist/types/system/CardsHolderWithSkeleton/index.d.ts +29 -0
- package/dist/types/system/DropDown/DropDown.test.d.ts +1 -0
- package/dist/types/system/DropDown/index.d.ts +8 -0
- package/dist/types/system/Filters/helpers.d.ts +6 -0
- package/dist/types/system/Filters/type.d.ts +16 -0
- package/dist/types/system/Flex/index.d.ts +0 -0
- package/dist/types/system/Forms/Checkbox/Checkbox.test.d.ts +1 -0
- package/dist/types/system/Forms/Checkbox/index.d.ts +22 -0
- package/dist/types/system/Forms/DatePicker/index.d.ts +16 -0
- package/dist/types/system/Forms/ErrorLabel/ErrorLabel.test.d.ts +1 -0
- package/dist/types/system/Forms/ErrorLabel/index.d.ts +7 -0
- package/dist/types/system/Forms/Input/Input.test.d.ts +1 -0
- package/dist/types/system/Forms/Input/index.d.ts +16 -0
- package/dist/types/system/Forms/Input/type.d.ts +5 -0
- package/dist/types/system/Forms/Messages/index.d.ts +67 -0
- package/dist/types/system/Forms/RadioInput/index.d.ts +13 -0
- package/dist/types/system/Forms/Selects/DesktopSelect/index.d.ts +12 -0
- package/dist/types/system/Forms/Selects/DesktopSelect/type.d.ts +5 -0
- package/dist/types/system/Forms/Selects/MobileSelect/index.d.ts +14 -0
- package/dist/types/system/Forms/TextArea/index.d.ts +14 -0
- package/dist/types/system/Forms/index.d.ts +5 -0
- package/dist/types/system/Img/ExternalImage/index.d.ts +6 -0
- package/dist/types/system/Img/ImageInterceptor/ImageInterceptor.test.d.ts +1 -0
- package/dist/types/system/Img/ImageInterceptor/index.d.ts +17 -0
- package/dist/types/system/Img/Profilepic/index.d.ts +11 -0
- package/dist/types/system/Img/Userpic/UserPic.test.d.ts +2 -0
- package/dist/types/system/Img/Userpic/index.d.ts +9 -0
- package/dist/types/system/Img/index.d.ts +3 -0
- package/dist/types/system/Labels/ExperienceLabel/ExperienceLabel.test.d.ts +1 -0
- package/dist/types/system/Labels/ExperienceLabel/index.d.ts +7 -0
- package/dist/types/system/Labels/InviteLabel/InviteLabel.test.d.ts +1 -0
- package/dist/types/system/Labels/InviteLabel/index.d.ts +7 -0
- package/dist/types/system/Labels/SkeletonLabel/index.d.ts +2 -0
- package/dist/types/system/Modals/Modal/Modal.test.d.ts +1 -0
- package/dist/types/system/Modals/Modal/index.d.ts +3 -0
- package/dist/types/system/Modals/ModalSidebar/CreatorModalSidebarPortal.d.ts +2 -0
- package/dist/types/system/Modals/ModalSidebar/ModalSidebar.test.d.ts +1 -0
- package/dist/types/system/Modals/ModalSidebar/ModalSidebarPortal.d.ts +5 -0
- package/dist/types/system/Modals/ModalSidebar/index.d.ts +4 -0
- package/dist/types/system/Overlay/Overlay.test.d.ts +1 -0
- package/dist/types/system/Overlay/index.d.ts +3 -0
- package/dist/types/system/PageLoader/index.d.ts +2 -0
- package/dist/types/system/Palete/index.d.ts +2 -0
- package/dist/types/system/ShareIconResize.d.ts +2 -0
- package/dist/types/system/Tabs/TabNavLink/TabNavLink.test.d.ts +2 -0
- package/dist/types/system/Tabs/TabNavLink/index.d.ts +12 -0
- package/dist/types/system/Tabs/TabsNav/TabsNav.test.d.ts +2 -0
- package/dist/types/system/Tabs/TabsNav/index.d.ts +10 -0
- package/dist/types/system/Tabs/TabsNav/type.d.ts +6 -0
- package/dist/types/system/Tabs/TabsPanel/TabsPanel.test.d.ts +2 -0
- package/dist/types/system/Tabs/TabsPanel/index.d.ts +7 -0
- package/dist/types/system/Text/index.d.ts +0 -0
- package/dist/types/system/index.d.ts +6 -0
- package/dist/types/system/theme.d.ts +1 -0
- package/dist/types/utils/3d.d.ts +5 -0
- package/dist/types/utils/adaptive/check4k.d.ts +5 -0
- package/dist/types/utils/adaptive/scale.d.ts +9 -0
- package/dist/types/utils/auth/index.d.ts +1 -0
- package/dist/types/utils/copyBtn/index.d.ts +5 -0
- package/dist/types/utils/env/index.d.ts +5 -0
- package/dist/types/utils/extractItemIds/index.d.ts +2 -0
- package/dist/types/utils/getDimensionsImage.d.ts +4 -0
- package/dist/types/utils/getPageSizeAssets.d.ts +5 -0
- package/dist/types/utils/imageProportionsSize/index.d.ts +5 -0
- package/dist/types/utils/index.d.ts +1 -1
- package/dist/types/utils/screen/index.d.ts +18 -0
- package/dist/types/utils/ssrFunctions/index.d.ts +1 -1
- package/dist/types/utils/ui/index.d.ts +8 -0
- package/dist/utils/3d.js +41 -0
- package/dist/utils/adaptive/check4k.js +13 -0
- package/dist/utils/adaptive/scale.js +15 -0
- package/dist/utils/auth/index.js +4 -0
- package/dist/utils/copyBtn/index.jsx +80 -0
- package/dist/utils/env/index.js +23 -0
- package/dist/utils/env/isProd/index.js +1 -1
- package/dist/utils/extractItemIds/index.jsx +8 -0
- package/dist/utils/getDimensionsImage.js +80 -0
- package/dist/utils/getPageSizeAssets.js +15 -0
- package/dist/utils/imageProportionsSize/index.jsx +20 -0
- package/dist/utils/index.js +1 -1
- package/dist/utils/screen/index.js +80 -0
- package/dist/utils/ui/index.jsx +4 -0
- package/jest.config.js +41 -0
- package/jest.setup.js +1 -0
- package/k8s/2-services-prod.yaml +18 -0
- package/k8s/2-services-stage.yaml +18 -0
- package/k8s/3-utils-prod.yaml +109 -0
- package/k8s/3-utils-stage.yaml +109 -0
- package/k8s/4-workloads-prod.yaml +180 -0
- package/k8s/4-workloads-stage.yaml +180 -0
- package/k8s/5-routing-prod.yaml +73 -0
- package/k8s/5-routing-stage.yaml +73 -0
- package/next-env.d.ts +5 -0
- package/next.config.js +41 -0
- package/package.json +79 -9
- package/public/404/404.svg +8 -0
- package/public/500/500.svg +8 -0
- package/public/MobileSearchBtn/close.svg +3 -0
- package/public/MobileSearchBtn/search.svg +4 -0
- package/public/MobileSearchBtn/test/pirate.svg +9 -0
- package/public/MobileSearchBtn/test/squircle.svg +9 -0
- package/public/alerts/close.svg +5 -0
- package/public/alerts/errorIcon.svg +4 -0
- package/public/alerts/successIcon.svg +4 -0
- package/public/alerts/warningIcon.svg +8 -0
- package/public/assetPage/arrow.svg +3 -0
- package/public/assetPage/audioPlaceholder.svg +35 -0
- package/public/assetPage/details.svg +6 -0
- package/public/assetPage/favorite.svg +3 -0
- package/public/assetPage/favorite_hover.svg +3 -0
- package/public/assetPage/flag.svg +5 -0
- package/public/assetPage/fullScreen.svg +3 -0
- package/public/assetPage/owners.svg +4 -0
- package/public/assetPage/pause.svg +4 -0
- package/public/assetPage/play.svg +3 -0
- package/public/assetPage/share.svg +3 -0
- package/public/assetPage/share2.svg +3 -0
- package/public/assetPage/share2_hover.svg +3 -0
- package/public/assetPage/shareWithDots.svg +6 -0
- package/public/assetPage/shareWithDots_hover.svg +6 -0
- package/public/assetPage/share_hover.svg +3 -0
- package/public/assetPage/soundOf.svg +3 -0
- package/public/assetPage/soundOn.svg +3 -0
- package/public/banner/banner_img.svg +96 -0
- package/public/banner/banner_stroke.svg +3 -0
- package/public/button_skin/accept.svg +11 -0
- package/public/button_skin/decline.svg +11 -0
- package/public/calendar.svg +3 -0
- package/public/cards/addToFavListIcon.svg +5 -0
- package/public/cards/addToGalleryIcon.svg +3 -0
- package/public/cards/heart.svg +3 -0
- package/public/cardsHolderLoader/loader.svg +4 -0
- package/public/checkbox-on.svg +4 -0
- package/public/checkboxArrow.svg +3 -0
- package/public/close.svg +3 -0
- package/public/close20.svg +4 -0
- package/public/collectionPage/export.svg +3 -0
- package/public/copied.svg +4 -0
- package/public/copy-icon-new.svg +4 -0
- package/public/creation/card/moreBtn.svg +6 -0
- package/public/creation/card/moreBtnVertical.svg +5 -0
- package/public/creation/card/moreBtn_hover.svg +5 -0
- package/public/defaultUserpics/0.svg +24 -0
- package/public/defaultUserpics/1.svg +24 -0
- package/public/defaultUserpics/10.svg +24 -0
- package/public/defaultUserpics/11.svg +24 -0
- package/public/defaultUserpics/12.svg +24 -0
- package/public/defaultUserpics/13.svg +24 -0
- package/public/defaultUserpics/14.svg +24 -0
- package/public/defaultUserpics/15.svg +24 -0
- package/public/defaultUserpics/16.svg +24 -0
- package/public/defaultUserpics/17.svg +24 -0
- package/public/defaultUserpics/18.svg +24 -0
- package/public/defaultUserpics/19.svg +24 -0
- package/public/defaultUserpics/2.svg +24 -0
- package/public/defaultUserpics/20.svg +24 -0
- package/public/defaultUserpics/3.svg +24 -0
- package/public/defaultUserpics/4.svg +24 -0
- package/public/defaultUserpics/5.svg +24 -0
- package/public/defaultUserpics/6.svg +24 -0
- package/public/defaultUserpics/7.svg +24 -0
- package/public/defaultUserpics/8.svg +24 -0
- package/public/defaultUserpics/9.svg +24 -0
- package/public/defaultUserpics/defaultUserpic.svg +31 -0
- package/public/dropDown/arrow_down.svg +3 -0
- package/public/dropdown-arrow-down.svg +3 -0
- package/public/dropdown-arrow-up.svg +3 -0
- package/public/error/refresh.svg +4 -0
- package/public/favicon.ico +0 -0
- package/public/favicon.png +0 -0
- package/public/follower.svg +4 -0
- package/public/fonts/dm-sans-v15-latin-500.woff2 +0 -0
- package/public/fonts/dm-sans-v15-latin-500italic.woff2 +0 -0
- package/public/fonts/dm-sans-v15-latin-600.woff2 +0 -0
- package/public/fonts/dm-sans-v15-latin-600italic.woff2 +0 -0
- package/public/fonts/dm-sans-v15-latin-700.woff2 +0 -0
- package/public/fonts/dm-sans-v15-latin-700italic.woff2 +0 -0
- package/public/fonts/dm-sans-v15-latin-italic.woff2 +0 -0
- package/public/fonts/dm-sans-v15-latin-regular.woff2 +0 -0
- package/public/fonts/poppins-v21-latin-200.woff2 +0 -0
- package/public/fonts/poppins-v21-latin-300.woff2 +0 -0
- package/public/fonts/poppins-v21-latin-500.woff2 +0 -0
- package/public/fonts/poppins-v21-latin-600.woff2 +0 -0
- package/public/fonts/poppins-v21-latin-700.woff2 +0 -0
- package/public/fonts/poppins-v21-latin-800.woff2 +0 -0
- package/public/fonts/poppins-v21-latin-regular.woff2 +0 -0
- package/public/forms/checkbox/checked.svg +4 -0
- package/public/formsBg/get_early_access_bg.jpg +0 -0
- package/public/gallery/defaultImage.svg +3 -0
- package/public/gallery/delete.svg +4 -0
- package/public/header/mobile_menu_icons/arrows/arrow_down.svg +3 -0
- package/public/header/mobile_menu_icons/arrows/arrow_up.svg +3 -0
- package/public/header/mobile_menu_icons/campaigns.svg +6 -0
- package/public/header/mobile_menu_icons/dropdown/add_new_campaign.svg +10 -0
- package/public/header/mobile_menu_icons/dropdown/my_galleries.svg +12 -0
- package/public/header/mobile_menu_icons/dropdown/my_profile.svg +5 -0
- package/public/header/mobile_menu_icons/dropdown/my_wallets.svg +5 -0
- package/public/header/mobile_menu_icons/dropdown/notifications.svg +6 -0
- package/public/header/mobile_menu_icons/dropdown/top_campaigns.svg +7 -0
- package/public/header/mobile_menu_icons/dropdown/top_creations.svg +6 -0
- package/public/header/mobile_menu_icons/dropdown/top_creators.svg +10 -0
- package/public/header/mobile_menu_icons/dropdown/top_galleries.svg +13 -0
- package/public/header/mobile_menu_icons/dropdown/top_/321/201ollectors.svg +10 -0
- package/public/header/mobile_menu_icons/experiences.svg +11 -0
- package/public/header/mobile_menu_icons/settings.svg +3 -0
- package/public/header/mobile_menu_icons/sign_out.svg +4 -0
- package/public/header/mobile_menu_icons/submit_nft.svg +16 -0
- package/public/header/mobile_menu_icons/top.svg +7 -0
- package/public/header/mobile_toggle/close.svg +3 -0
- package/public/header/mobile_toggle/regular.svg +3 -0
- package/public/iconButton/share.svg +6 -0
- package/public/iconButton/trash.svg +5 -0
- package/public/iconButton/trash_open.svg +6 -0
- package/public/like-icon-active.svg +4 -0
- package/public/like-icon.svg +3 -0
- package/public/logOut/logOutBtn.svg +5 -0
- package/public/logo/main_logo.svg +214 -0
- package/public/logo/main_logo_dark.svg +49 -0
- package/public/logo/mobile_logo.svg +210 -0
- package/public/logo/mobile_logo_dark.svg +45 -0
- package/public/ludo-logo-small.svg +5 -0
- package/public/ludo-logo-square.svg +9 -0
- package/public/modal/close.svg +3 -0
- package/public/noContent/noContent.svg +9 -0
- package/public/noContent/noContentAudio.svg +34 -0
- package/public/noContent/noContentObject.svg +35 -0
- package/public/no_image placeholder.svg +9 -0
- package/public/no_media_placeholder.svg +222 -0
- package/public/report.svg +6 -0
- package/public/rewardsPage/XP_logo.svg +22 -0
- package/public/rewardsPage/arrow_up_light.svg +3 -0
- package/public/rewardsPage/banner_rewards.svg +9 -0
- package/public/rewardsPage/banner_rewards_mobile.svg +9 -0
- package/public/rewardsPage/banner_rewards_tablet.svg +9 -0
- package/public/rewardsPage/banner_seasons.svg +9 -0
- package/public/rewardsPage/defaultUserPic.svg +9 -0
- package/public/rewardsPage/ludo_logo_white.svg +49 -0
- package/public/search/arrow_up.svg +3 -0
- package/public/search/back.svg +3 -0
- package/public/search/close.svg +3 -0
- package/public/search/no_found.svg +4 -0
- package/public/search/search.svg +4 -0
- package/public/search-icon.svg +4 -0
- package/public/selects/arrow_down.svg +3 -0
- package/public/services/opensea.svg +5 -0
- package/public/services/other.svg +8 -0
- package/public/services/rarible.svg +4 -0
- package/public/settings_page/back.svg +3 -0
- package/public/settings_page/burger_menu.svg +5 -0
- package/public/settings_page/notifications.svg +5 -0
- package/public/settings_page/notifications_active.svg +5 -0
- package/public/settings_page/privacy.svg +4 -0
- package/public/settings_page/privacy_active.svg +4 -0
- package/public/settings_page/settings.svg +5 -0
- package/public/settings_page/settings_active.svg +5 -0
- package/public/settings_page/upload.svg +4 -0
- package/public/share/copy-link-btn.svg +6 -0
- package/public/share/email-btn.svg +5 -0
- package/public/share/facebook-btn.svg +5 -0
- package/public/share/insta-btn.svg +21 -0
- package/public/share/reddit-btn.svg +11 -0
- package/public/share/telegram-btn.svg +4 -0
- package/public/share/twitter-btn.svg +5 -0
- package/public/share/whatsapp-btn.svg +6 -0
- package/public/share-icon.svg +7 -0
- package/public/showCaseIcons/heart.svg +3 -0
- package/public/sidebar/aboutLudo.svg +40 -0
- package/public/sidebar/aboutLudoDark.svg +52 -0
- package/public/sidebar/api.svg +3 -0
- package/public/sidebar/close.svg +3 -0
- package/public/sidebar/disconnect.svg +3 -0
- package/public/sidebar/explore.svg +5 -0
- package/public/sidebar/ludoX.svg +63 -0
- package/public/sidebar/my-invites.svg +4 -0
- package/public/sidebar/rewards.svg +4 -0
- package/public/sidebar/submitNft.svg +3 -0
- package/public/socials/facebook.svg +4 -0
- package/public/socials/instagram.svg +5 -0
- package/public/socials/twitter.svg +3 -0
- package/public/socials/website.svg +8 -0
- package/public/tabs/arrow_right.svg +3 -0
- package/public/tabs/arrow_right_dark.svg +3 -0
- package/public/tests/test_1.svg +11 -0
- package/public/toTopBtn/toTopBtn.svg +4 -0
- package/public/upload-userpic.svg +11 -0
- package/public/userpic-placeholder.jpg +0 -0
- package/public/userpics/placeholder-lg-1.svg +10 -0
- package/public/userpics/placeholder-sm-1.svg +10 -0
- package/public/video/pause.svg +5 -0
- package/public/video/play.svg +4 -0
- package/public/wallets/arkane-btn.svg +5 -0
- package/public/wallets/bitski-btn.svg +12 -0
- package/public/wallets/elrond-btn.svg +36 -0
- package/public/wallets/elrond-icon-sm.svg +35 -0
- package/public/wallets/elrond.svg +4 -0
- package/public/wallets/ethereum-icon-sm.svg +7 -0
- package/public/wallets/flow-btn.svg +6 -0
- package/public/wallets/flow-icon-sm.svg +12 -0
- package/public/wallets/formatic-btn.svg +4 -0
- package/public/wallets/formatic-icon-sm.svg +4 -0
- package/public/wallets/maiar-btn.svg +17 -0
- package/public/wallets/maiar-icon-sm.svg +17 -0
- package/public/wallets/metamask-btn.svg +33 -0
- package/public/wallets/metamask-icon-sm.svg +32 -0
- package/public/wallets/phantom.svg +4 -0
- package/public/wallets/plus.svg +4 -0
- package/public/wallets/solana-btn.svg +20 -0
- package/public/wallets/solana-icon-sm.svg +19 -0
- package/public/wallets/terra-btn.svg +29 -0
- package/public/wallets/terra-icon-sm.svg +29 -0
- package/public/wallets/tezos-btn.svg +12 -0
- package/public/wallets/tezos-icon-sm.svg +11 -0
- package/public/wallets/wallet_connect.svg +4 -0
- package/public/wallets/walletconnect-btn.svg +3 -0
- package/public/wallets/walletlink-btn.svg +5 -0
- package/public/wallets/walletlink-icon-sm.svg +5 -0
- package/public/wallets/xdefi-btn.svg +6 -0
- package/public/wallets/xdefi-icon-sm.svg +6 -0
- package/public/warning.svg +3 -0
- package/src/api/server-assets/mutations/useDislikeAsset/index.ts +36 -0
- package/src/api/server-assets/mutations/useLikeAsset/index.ts +37 -0
- package/src/api/server-assets/queries/useFetchAssetByBlockchain/index.ts +68 -0
- package/src/api/server-assets/queries/useFetchAssets/index.ts +38 -0
- package/src/api/server-assets/queries/useFetchDynamicAssetLikes/index.ts +43 -0
- package/src/api/server-assets/queries/useFetchDynamicAssetsLikes/index.ts +40 -0
- package/src/api/server-collection/mutations/useDislikeCollection/index.ts +37 -0
- package/src/api/server-collection/mutations/useLikeCollection/index.ts +37 -0
- package/src/api/server-experiences/queries/useFetchMyExperienceWithLevel/index.ts +121 -0
- package/src/api/server-experiences/queries/useFetchMyTasks/index.ts +61 -0
- package/src/api/server-galleries/mutations/useAddAssetsToGallery/index.ts +42 -0
- package/src/api/server-galleries/mutations/useAddChangeGalleryBanner/index.ts +35 -0
- package/src/api/server-galleries/mutations/useAddCollectionsToGallery/index.ts +44 -0
- package/src/api/server-galleries/mutations/useAddCreationsToGallery/index.ts +53 -0
- package/src/api/server-galleries/mutations/useCreateFavorites/index.ts +31 -0
- package/src/api/server-galleries/mutations/useCreateGallery/index.ts +31 -0
- package/src/api/server-galleries/mutations/useDeleteGallery/index.ts +50 -0
- package/src/api/server-galleries/mutations/useDeleteGalleryBanner/index.ts +43 -0
- package/src/api/server-galleries/mutations/useEditGallery/index.ts +30 -0
- package/src/api/server-galleries/mutations/useRemoveAssetFromGallery/index.ts +61 -0
- package/src/api/server-galleries/mutations/useRemoveCollectionFromGallery/index.ts +55 -0
- package/src/api/server-galleries/queries/useFetchGallery/index.ts +54 -0
- package/src/api/server-galleries/queries/useFetchGalleryAssets/index.ts +99 -0
- package/src/api/server-galleries/queries/useFetchMyFavorites/index.ts +82 -0
- package/src/api/server-galleries/queries/useFetchMyGalleries/index.ts +87 -0
- package/src/api/server-galleries/queries/useFetchSubscribedGalleries/index.ts +84 -0
- package/src/api/server-galleries/queries/useFetchUserFavorites/index.ts +86 -0
- package/src/api/server-identities/mutations/useAddWalletElrond/index.ts +46 -0
- package/src/api/server-identities/mutations/useAddWalletFlow/index.ts +46 -0
- package/src/api/server-identities/mutations/useAddWalletMetamask/index.ts +55 -0
- package/src/api/server-identities/mutations/useAddWalletSolana/index.ts +46 -0
- package/src/api/server-identities/mutations/useAddWalletTezos/index.ts +46 -0
- package/src/api/server-identities/mutations/useFollowProfile/index.ts +48 -0
- package/src/api/server-identities/mutations/useGenerateNewInviteCodes/index.ts +42 -0
- package/src/api/server-identities/mutations/useInviteCode/index.ts +43 -0
- package/src/api/server-identities/mutations/useRemoveWallet/index.ts +45 -0
- package/src/api/server-identities/mutations/useRevokeToken/index.ts +23 -0
- package/src/api/server-identities/mutations/useSaveEmailOfJoiner/index.ts +44 -0
- package/src/api/server-identities/mutations/useUnfollowProfile/index.ts +47 -0
- package/src/api/server-identities/queries/useFetchProfile/index.ts +100 -0
- package/src/api/server-identities/queries/useFetchUserWallets/index.ts +24 -0
- package/src/api/server-identities/queries/useGetMyInviteCodes/index.ts +47 -0
- package/src/api/server-medias/mutations/useDeleteUserpic/index.ts +23 -0
- package/src/api/server-medias/mutations/useUploadUserpic/index.ts +31 -0
- package/src/api/server-medias/queries/useFetchUserPic/index.ts +43 -0
- package/src/api/server-opportunities/mutations/useDislikeOpportunity.ts +32 -0
- package/src/api/server-opportunities/mutations/useLikeOpportunity.ts +32 -0
- package/src/api/server-opportunities/mutations/useOpenOpportunity/index.ts +34 -0
- package/src/api/server-opportunities/queries/useGetOpportunities.ts +27 -0
- package/src/api/server-preferences/mutations/useSaveUserExpectations/index.tsx +49 -0
- package/src/api/server-preferences/mutations/useSaveUserInterests/index.ts +49 -0
- package/src/api/server-preferences/queries/fetchSearchResultSelections/index.ts +36 -0
- package/src/api/server-preferences/queries/fetchSearchResultSelections/queryData.ts +82 -0
- package/src/api/server-preferences/queries/useFetchExpectations/index.ts +25 -0
- package/src/api/server-preferences/queries/useFetchInterests/index.ts +23 -0
- package/src/api/server-preferences/queries/useFetchSearchResultTimeSelection/index.ts +50 -0
- package/src/api/server-preferences/queries/useFetchUserInterests/index.ts +27 -0
- package/src/api/server-preferences/queries/useSearchResultBlockchainSelections/index.ts +54 -0
- package/src/api/server-preferences/queries/useSearchResultCategorySelections/index.ts +52 -0
- package/src/api/server-preferences/queries/useSearchResultStatusSelections/index.ts +53 -0
- package/src/api/server-preferences/queries/useSearchResultTypeSelections/index.ts +62 -0
- package/src/api/server-search/queries/useFetchAllCreations/index.ts +114 -0
- package/src/api/server-search/queries/useFetchAssetsCount/index.ts +35 -0
- package/src/api/server-search/queries/useFetchCollection/index.ts +75 -0
- package/src/api/server-search/queries/useFetchCollections/index.ts +126 -0
- package/src/api/server-search/queries/useFetchDynamicCollectionData/index.ts +165 -0
- package/src/api/server-search/queries/useFetchFindAllTopEntitiesByName/index.ts +82 -0
- package/src/api/server-search/queries/useFetchNetWorth/index.ts +26 -0
- package/src/api/server-search/queries/useFindCreations/index.ts +130 -0
- package/src/api/server-search/queries/useFindProfilesByName/index.ts +72 -0
- package/src/api/server-search/queries/useFindShowcaseItems/index.ts +42 -0
- package/src/api/server-search/queries/useFindUserCreations/index.ts +115 -0
- package/src/api/server-search/queries/useFindUserShowcaseItems/index.ts +40 -0
- package/src/api/subscriptions/SubscriberInviteNotification.tsx +54 -0
- package/src/components/CreationCard/CardHead.tsx +159 -0
- package/src/components/CreationCard/index.tsx +223 -0
- package/src/components/addWalletsRedirectPage/index.tsx +74 -0
- package/src/components/assetJSONLD.tsx +31 -0
- package/src/components/assetPage/assetLikes/index.tsx +96 -0
- package/src/components/assetPage/assetNft/index.tsx +52 -0
- package/src/components/assetPage/assetWrapper/index.tsx +174 -0
- package/src/components/assetPage/audioVideoPlayer/Duration.tsx +32 -0
- package/src/components/assetPage/audioVideoPlayer/index.tsx +525 -0
- package/src/components/assetPage/category/index.tsx +71 -0
- package/src/components/assetPage/description/index.tsx +54 -0
- package/src/components/assetPage/detailsAccordeon/index.tsx +130 -0
- package/src/components/assetPage/figCaption/index.tsx +299 -0
- package/src/components/assetPage/index.ts +13 -0
- package/src/components/assetPage/information/index.tsx +194 -0
- package/src/components/assetPage/marketPlaces/index.tsx +86 -0
- package/src/components/assetPage/media/AssetImage/index.tsx +217 -0
- package/src/components/assetPage/moreDropDown/index.tsx +176 -0
- package/src/components/assetPage/participants/index.tsx +330 -0
- package/src/components/assetPage/priceRank/index.tsx +192 -0
- package/src/components/assetPage/properties/index.tsx +56 -0
- package/src/components/assetPage/slider/index.tsx +235 -0
- package/src/components/assetPage/slider/slideItem.tsx +55 -0
- package/src/components/assetPage/slider/store.ts +23 -0
- package/src/components/assetPage/tittle/index.tsx +143 -0
- package/src/components/assetPage/viewer3D/index.tsx +206 -0
- package/src/components/banner/index.tsx +159 -0
- package/src/components/base/Meta/index.tsx +140 -0
- package/src/components/base/NoSSR/index.tsx +11 -0
- package/src/components/collectionPage/collectionLike/index.tsx +73 -0
- package/src/components/deleteDialog/index.tsx +237 -0
- package/src/components/editProfile/Cropper/index.tsx +111 -0
- package/src/components/editProfile/UserPicProfile/index.tsx +375 -0
- package/src/components/favoriteList/add/addAssetToFavoriteList/index.tsx +59 -0
- package/src/components/favoriteList/add/addCollectionToFavoriteList/index.tsx +59 -0
- package/src/components/favoriteList/add/addCreationToFavoriteList/index.tsx +65 -0
- package/src/components/filters/applyResetBtns/index.tsx +80 -0
- package/src/components/filters/galleriesFiltersForm/index.tsx +157 -0
- package/src/components/filters/index.tsx +256 -0
- package/src/components/filters/mobileFilters/index.tsx +24 -0
- package/src/components/filters/setsFiltersForm/index.tsx +130 -0
- package/src/components/forms/form/index.tsx +241 -0
- package/src/components/forms/formsNavigation/index.tsx +165 -0
- package/src/components/forms/formsTemplate/index.tsx +772 -0
- package/src/components/forms/types/index.ts +50 -0
- package/src/components/gallery/add/addAssetToGallery/index.tsx +60 -0
- package/src/components/gallery/add/addCreationToGallery/index.tsx +95 -0
- package/src/components/gradientLabel/index.tsx +37 -0
- package/src/components/headers/components/MobileToggle/index.tsx +0 -0
- package/src/components/headers/components/headerExperienceLabel/index.tsx +40 -0
- package/src/components/headers/components/headerUserPic/index.tsx +41 -0
- package/src/components/headers/header/index.tsx +43 -0
- package/src/components/headers/headerSearch/index.tsx +52 -0
- package/src/components/headers/headerSimple/index.tsx +98 -0
- package/src/components/inviteCodesForms/getEarlyAccessForm/index.tsx +193 -0
- package/src/components/inviteCodesForms/joinWaitListForm/index.tsx +117 -0
- package/src/components/inviteCodesForms/styles/index.ts +61 -0
- package/src/components/inviteCodesPage/components/index.tsx +6 -0
- package/src/components/inviteCodesPage/components/inviteCodes/index.tsx +28 -0
- package/src/components/inviteCodesPage/components/inviteCodes/inviteCode/index.tsx +52 -0
- package/src/components/inviteCodesPage/components/inviteCodes/inviteCode/loader/index.tsx +27 -0
- package/src/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/index.tsx +36 -0
- package/src/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/loader/index.tsx +18 -0
- package/src/components/inviteCodesPage/components/inviteCodes/inviteCodeCopy/index.tsx +45 -0
- package/src/components/inviteCodesPage/components/inviteCodes/inviteCodeDate/index.tsx +25 -0
- package/src/components/inviteCodesPage/wrappers/index.tsx +5 -0
- package/src/components/inviteCodesPage/wrappers/resumeCodes/index.tsx +124 -0
- package/src/components/inviteCodesPage/wrappers/resumeCodes/loader/index.tsx +31 -0
- package/src/components/inviteCodesPage/wrappers/unusedCodes/index.tsx +41 -0
- package/src/components/inviteCodesPage/wrappers/usedCodes/index.tsx +58 -0
- package/src/components/linkTabs/index.tsx +64 -0
- package/src/components/linkTabs/linkTab/index.tsx +94 -0
- package/src/components/myWallets/index.tsx +52 -0
- package/src/components/myWallets/myWalletItem/index.tsx +207 -0
- package/src/components/navigation/index.tsx +199 -0
- package/src/components/profile/MultiversXAudit/MultiversXAudit.tsx +230 -0
- package/src/components/profile/ProfileTabs.tsx +57 -0
- package/src/components/profile/aboutText/index.tsx +277 -0
- package/src/components/profile/addToGalleryBtns/index.tsx +144 -0
- package/src/components/profile/followersSocial/followers/index.tsx +56 -0
- package/src/components/profile/followersSocial/index.tsx +44 -0
- package/src/components/profile/followersSocial/social/index.tsx +73 -0
- package/src/components/profile/index.ts +11 -0
- package/src/components/profile/info/index.tsx +109 -0
- package/src/components/profile/interests/data.ts +24 -0
- package/src/components/profile/interests/index.tsx +182 -0
- package/src/components/profile/interests/type.ts +8 -0
- package/src/components/profile/jsonLd/index.tsx +28 -0
- package/src/components/profile/pageHead/index.tsx +133 -0
- package/src/components/profile/profileSkeleton/index.tsx +103 -0
- package/src/components/profile/profileUserCards/index.tsx +27 -0
- package/src/components/profile/profileUserCards/profileUserCard/index.tsx +248 -0
- package/src/components/profile/rank/index.tsx +65 -0
- package/src/components/profile/stats/index.tsx +59 -0
- package/src/components/profile/wallets/index.tsx +177 -0
- package/src/components/profile/wrapper/index.tsx +36 -0
- package/src/components/registrationPage/index.tsx +4 -0
- package/src/components/registrationPage/registrationSelectBox/index.tsx +96 -0
- package/src/components/registrationPage/registrationSelection/index.tsx +141 -0
- package/src/components/rewards/FAQ/index.tsx +251 -0
- package/src/components/rewards/clarifications/index.tsx +128 -0
- package/src/components/rewards/logoBottom/index.tsx +52 -0
- package/src/components/rewards/prograssBar/index.tsx +62 -0
- package/src/components/rewards/rewardsButton/index.tsx +79 -0
- package/src/components/rewards/seasonBanner/index.tsx +81 -0
- package/src/components/rewards/taskExpTab/index.tsx +251 -0
- package/src/components/rewards/tasksGrid/index.tsx +182 -0
- package/src/components/rewards/userExp/index.tsx +356 -0
- package/src/components/search/SearchInputContainer.tsx +298 -0
- package/src/components/search/index.tsx +271 -0
- package/src/components/search/searchCategories/index.tsx +169 -0
- package/src/components/search/searchCategories/type.ts +6 -0
- package/src/components/search/searchCloseMoreButtons/index.tsx +101 -0
- package/src/components/search/searchResultCaption/index.tsx +78 -0
- package/src/components/search/searchSelectsGalleries/index.tsx +176 -0
- package/src/components/search/searchSelectsSets/index.tsx +160 -0
- package/src/components/search/searchSimpleInput/index.tsx +174 -0
- package/src/components/search/searchSuggestions/index.tsx +234 -0
- package/src/components/search/searchSuggestions/searchSuggestionsCaption/index.tsx +58 -0
- package/src/components/search/searchSuggestions/searchSuggestionsFooter/index.tsx +63 -0
- package/src/components/search/searchSuggestions/searchSuggestionsItem/index.tsx +153 -0
- package/src/components/search/searchSuggestions/searchSuggestionsItem/searchSuggestionsItemSkeleton/index.tsx +116 -0
- package/src/components/search/searchSuggestions/searchSuggestionsNotFound/index.tsx +56 -0
- package/src/components/shareDialog/index.tsx +260 -0
- package/src/components/showcaseAssets/showcaseSort/data.ts +29 -0
- package/src/components/showcaseAssets/showcaseSort/index.tsx +62 -0
- package/src/components/sidebar/data.tsx +89 -0
- package/src/components/sidebar/index.tsx +218 -0
- package/src/components/sidebar/initializer.tsx +6 -0
- package/src/components/sidebar/sidebarFilters/index.tsx +74 -0
- package/src/components/sidebar/sidebarInviteCodeLabel/index.tsx +75 -0
- package/src/components/socialButtons/data.tsx +52 -0
- package/src/components/socialButtons/icons/discord.tsx +17 -0
- package/src/components/socialButtons/icons/facebook.tsx +18 -0
- package/src/components/socialButtons/icons/instagram.tsx +22 -0
- package/src/components/socialButtons/icons/medium.tsx +17 -0
- package/src/components/socialButtons/icons/telegram.tsx +17 -0
- package/src/components/socialButtons/icons/twitter.tsx +17 -0
- package/src/components/socialButtons/index.tsx +69 -0
- package/src/components/socialButtons/type.ts +7 -0
- package/src/components/tabs/icons/bell.tsx +17 -0
- package/src/components/tabs/icons/profile.tsx +26 -0
- package/src/components/tabs/icons/secure.tsx +24 -0
- package/src/components/tabs/index.tsx +128 -0
- package/src/components/toTopBtn/index.tsx +117 -0
- package/src/dto/AssetEntity/index.ts +294 -0
- package/src/dto/AssetEntity/interface.ts +46 -0
- package/src/dto/AssetEntity/views/AssetAudio/index.tsx +36 -0
- package/src/dto/AssetEntity/views/AssetImage/index.tsx +56 -0
- package/src/dto/AssetEntity/views/AssetObject/index.tsx +66 -0
- package/src/dto/AssetEntity/views/AssetOther/index.tsx +60 -0
- package/src/dto/AssetEntity/views/AssetScreenshot/index.tsx +58 -0
- package/src/dto/AssetEntity/views/AssetVideo/index.tsx +36 -0
- package/src/dto/AssetEntity/views/index.ts +7 -0
- package/src/dto/Collection/CollectionCreationEntity/index.ts +198 -0
- package/src/dto/Collection/CollectionCreationEntity/interface.ts +26 -0
- package/src/dto/Collection/CollectionEntity/index.ts +111 -0
- package/src/dto/Collection/CollectionEntity/interface.ts +21 -0
- package/src/dto/CreationEntity/index.ts +212 -0
- package/src/dto/CreationEntity/interface.ts +32 -0
- package/src/dto/GalleryEntityV2/index.ts +97 -0
- package/src/dto/GalleryEntityV2/interface.ts +18 -0
- package/src/dto/common/ItemType/data.ts +42 -0
- package/src/dto/common/ItemType/index.tsx +51 -0
- package/src/dto/common/ItemViews/CreationAudio/index.tsx +37 -0
- package/src/dto/common/ItemViews/CreationImage/index.tsx +49 -0
- package/src/dto/common/ItemViews/CreationObject/index.tsx +33 -0
- package/src/dto/common/ItemViews/CreationOther/index.tsx +36 -0
- package/src/dto/common/ItemViews/CreationVideo/index.tsx +36 -0
- package/src/dto/common/ItemViews/index.ts +5 -0
- package/src/dto/common/Media/Audio/index.tsx +48 -0
- package/src/dto/common/Media/Image/index.tsx +57 -0
- package/src/dto/common/Media/Object/index.tsx +58 -0
- package/src/dto/common/Media/Other/index.tsx +80 -0
- package/src/dto/common/Media/Screenshot/index.tsx +57 -0
- package/src/dto/common/Media/Urls/index.ts +184 -0
- package/src/dto/common/Media/Video/index.tsx +48 -0
- package/src/dto/common/Media/index.tsx +75 -0
- package/src/dto/common/Media/interface.ts +27 -0
- package/src/dto/index.ts +8 -0
- package/src/entities/user/type.ts +10 -0
- package/src/hooks/apollo/index.tsx +18 -0
- package/src/hooks/audio/useMultiAudio/index.tsx +54 -0
- package/src/hooks/extension/useExtension/index.ts +44 -0
- package/src/hooks/favorites/useGetFavoriteGallaryCreations/index.ts +186 -0
- package/src/hooks/favorites/useGetUserFevoritesCreations/index.ts +254 -0
- package/src/hooks/galleries/useGetUserGalleriesCreations/index.ts +241 -0
- package/src/hooks/likes/dynamic/useFindCollectionsAndLikes.tsx +191 -0
- package/src/hooks/likes/dynamic/useFindCreationsAndLikes.tsx +160 -0
- package/src/hooks/likes/dynamic/useGetCollectionInfoAndLikes.tsx +183 -0
- package/src/hooks/likes/dynamic/useGetCreationsAndLikes.tsx +177 -0
- package/src/hooks/likes/dynamic/useGetCreationsAndLikesByType.tsx +191 -0
- package/src/hooks/likes/dynamic/useGetMixedLikesFavoriteList.tsx +95 -0
- package/src/hooks/likes/dynamic/useGetTableLikes.tsx +144 -0
- package/src/hooks/likes/index.ts +149 -0
- package/src/hooks/likes/useGetLikesAsset.ts +128 -0
- package/src/hooks/useToGalleryAsset/index.tsx +127 -0
- package/src/index.ts +3 -1
- package/src/layouts/GlobalLayout.tsx +55 -0
- package/src/layouts/base/LWithRegularHeader/index.tsx +25 -0
- package/src/layouts/base/LWithRegularHeader/type.ts +7 -0
- package/src/layouts/base/LWithSearchHeader/index.tsx +19 -0
- package/src/layouts/base/LWithSearchHeader/type.ts +7 -0
- package/src/layouts/base/LWithSimpleHeader/index.tsx +25 -0
- package/src/layouts/base/LWithSimpleHeader/type.ts +7 -0
- package/src/layouts/base/LWithoutHeader/index.tsx +31 -0
- package/src/layouts/custom/accountLayout/index.tsx +27 -0
- package/src/layouts/custom/formsLayout/index.tsx +22 -0
- package/src/layouts/custom/mainLayout/index.tsx +29 -0
- package/src/layouts/custom/searchLayout/index.tsx +31 -0
- package/src/layouts/custom/simpleLayout/index.tsx +28 -0
- package/src/layouts/custom/styles.ts +44 -0
- package/src/layouts/pageTransitionLayout.tsx +45 -0
- package/src/layouts/pageWithLayout.ts +16 -0
- package/src/modules/gallery/api/useGetAssetsAndCollectionForFavorite.ts +300 -0
- package/src/modules/gallery/api/useGetFavoriteGallery.ts +47 -0
- package/src/modules/gallery/store.ts +135 -0
- package/src/modules/gallery/ui/AllResults.tsx +21 -0
- package/src/modules/gallery/ui/Description.tsx +134 -0
- package/src/modules/gallery/ui/EditGallery.tsx +97 -0
- package/src/modules/gallery/ui/GalleryDeleteIcon.tsx +49 -0
- package/src/modules/gallery/ui/PlaceholderItemsGallery.tsx +75 -0
- package/src/modules/gallery/ui/STopSections.ts +28 -0
- package/src/modules/gallery/ui/chooseGalleryItems/chooseGalleryItem/index.tsx +130 -0
- package/src/modules/gallery/ui/chooseGalleryItems/index.tsx +304 -0
- package/src/modules/gallery/ui/createGalleryForm/index.tsx +236 -0
- package/src/modules/gallery/ui/editGalleryForm/index.tsx +280 -0
- package/src/modules/gallery/ui/itemsPreview/index.tsx +392 -0
- package/src/modules/index.ts +1 -0
- package/src/modules/notifications/CreatorNotifications.tsx +29 -0
- package/src/modules/notifications/index.tsx +10 -0
- package/src/modules/sessionScroll/globalTabs.ts +59 -0
- package/src/modules/sessionScroll/index.ts +81 -0
- package/src/modules/sessionScroll/type.ts +7 -0
- package/src/modules/sessionScroll/useVirtuosoInitialScroll.ts +77 -0
- package/src/modules/user/auth/useAuthVerification.ts +53 -0
- package/src/modules/user/auth/useSignIn.ts +31 -0
- package/src/modules/user/auth/useSignOut.ts +28 -0
- package/src/modules/user/profileData/profileDataInitialization.tsx +67 -0
- package/src/modules/user/store.tsx +124 -0
- package/src/modules/virtuoso/VirtuosoPageBuilder.tsx +208 -0
- package/src/modules/virtuoso/VirtuosoToTopBtn.tsx +44 -0
- package/src/modules/virtuoso/index.ts +1 -0
- package/src/modules/virtuoso/types.ts +9 -0
- package/src/modules/virtuoso/useSubscribeVirtuosoScrollToHeader.ts +26 -0
- package/src/modules/virtuoso/useVirtuosoData.ts +66 -0
- package/src/pages/index.tsx +2 -2
- package/src/store/index.ts +16 -0
- package/src/store/media/index.ts +62 -0
- package/src/store/media/types.ts +12 -0
- package/src/store/ui/index.ts +153 -0
- package/src/store/ui/types.ts +54 -0
- package/src/store/ui/utils.ts +34 -0
- package/src/styles/ScreenWidth.ts +23 -0
- package/src/styles/animations/index.tsx +19 -0
- package/src/styles/colors/index.tsx +36 -0
- package/src/styles/index.ts +1 -1
- package/src/styles/mixins/boxShadow.tsx +13 -0
- package/src/styles/mixins/boxTransform.tsx +12 -0
- package/src/styles/mixins/z-indexes.tsx +10 -0
- package/src/styles/typography/index.tsx +11 -0
- package/src/system/ActiveLink/index.tsx +39 -0
- package/src/system/Alert/index.tsx +20 -0
- package/src/system/Alert/type.ts +10 -0
- package/src/system/BasicOverlay/index.tsx +27 -0
- package/src/system/Buttons/IconButton/index.tsx +3 -0
- package/src/system/Buttons/IconWithButton/index.tsx +3 -0
- package/src/system/Buttons/IconWithButton/themes.ts +0 -0
- package/src/system/Buttons/MainButton/index.tsx +3 -0
- package/src/system/Buttons/MainButton/themes.ts +0 -0
- package/src/system/Buttons/SecondaryButton/index.tsx +3 -0
- package/src/system/Cards/CardCheckbox/index.tsx +115 -0
- package/src/system/Cards/CardContent/CardCategory/index.tsx +67 -0
- package/src/system/Cards/CardContent/CardLikes/index.tsx +45 -0
- package/src/system/Cards/CardContent/CardShowMore/index.tsx +139 -0
- package/src/system/Cards/CardContent/index.tsx +167 -0
- package/src/system/Cards/CardHeadIcons/index.tsx +157 -0
- package/src/system/Cards/CardMedia/CardAudio/index.tsx +118 -0
- package/src/system/Cards/CardMedia/CardImage/index.tsx +44 -0
- package/src/system/Cards/CardMedia/CardVideo/index.tsx +112 -0
- package/src/system/Cards/CardRank/index.tsx +103 -0
- package/src/system/Cards/CardsGrid/index.tsx +161 -0
- package/src/system/Cards/MultiMediaCard/index.tsx +197 -0
- package/src/system/Cards/RegularCard/index.tsx +154 -0
- package/src/system/Cards/Styles/Content.ts +38 -0
- package/src/system/Cards/Styles/Head.ts +45 -0
- package/src/system/Cards/Styles/Headicons.ts +120 -0
- package/src/system/Cards/Styles/Image.ts +23 -0
- package/src/system/Cards/Styles/Likes.ts +53 -0
- package/src/system/Cards/Styles/MultiHead.ts +44 -0
- package/src/system/Cards/Styles/Video.ts +12 -0
- package/src/system/CardsHolderWithSkeleton/CardsHolder/CardsError/index.tsx +60 -0
- package/src/system/CardsHolderWithSkeleton/CardsHolder/CardsNoResults/index.tsx +41 -0
- package/src/system/CardsHolderWithSkeleton/CardsHolder/CardsSkeleton/index.tsx +80 -0
- package/src/system/CardsHolderWithSkeleton/CardsHolder/index.tsx +115 -0
- package/src/system/CardsHolderWithSkeleton/CardsHolderLoader/index.tsx +52 -0
- package/src/system/CardsHolderWithSkeleton/index.tsx +85 -0
- package/src/system/DropDown/DropDown.test.tsx +60 -0
- package/src/system/DropDown/index.tsx +92 -0
- package/src/system/Filters/helpers.ts +17 -0
- package/src/system/Filters/type.ts +19 -0
- package/src/system/Flex/index.tsx +0 -0
- package/src/system/Forms/Checkbox/Checkbox.test.tsx +92 -0
- package/src/system/Forms/Checkbox/index.tsx +128 -0
- package/src/system/Forms/DatePicker/index.tsx +189 -0
- package/src/system/Forms/ErrorLabel/ErrorLabel.test.tsx +28 -0
- package/src/system/Forms/ErrorLabel/index.tsx +35 -0
- package/src/system/Forms/Input/Input.test.tsx +79 -0
- package/src/system/Forms/Input/index.tsx +108 -0
- package/src/system/Forms/Input/type.ts +5 -0
- package/src/system/Forms/Messages/index.ts +68 -0
- package/src/system/Forms/RadioInput/index.tsx +117 -0
- package/src/system/Forms/Selects/DesktopSelect/index.tsx +236 -0
- package/src/system/Forms/Selects/DesktopSelect/type.ts +5 -0
- package/src/system/Forms/Selects/MobileSelect/index.tsx +80 -0
- package/src/system/Forms/TextArea/index.tsx +119 -0
- package/src/system/Forms/index.ts +6 -0
- package/src/system/Img/ExternalImage/index.tsx +36 -0
- package/src/system/Img/ImageInterceptor/ImageInterceptor.test.tsx +77 -0
- package/src/system/Img/ImageInterceptor/index.tsx +73 -0
- package/src/system/Img/Profilepic/index.tsx +55 -0
- package/src/system/Img/Userpic/UserPic.test.tsx +98 -0
- package/src/system/Img/Userpic/index.tsx +140 -0
- package/src/system/Img/index.ts +3 -0
- package/src/system/Labels/ExperienceLabel/ExperienceLabel.test.tsx +65 -0
- package/src/system/Labels/ExperienceLabel/index.tsx +88 -0
- package/src/system/Labels/InviteLabel/InviteLabel.test.tsx +55 -0
- package/src/system/Labels/InviteLabel/index.tsx +62 -0
- package/src/system/Labels/SkeletonLabel/index.tsx +3 -0
- package/src/system/Modals/Modal/Modal.test.tsx +42 -0
- package/src/system/Modals/Modal/index.tsx +100 -0
- package/src/system/Modals/ModalSidebar/CreatorModalSidebarPortal.tsx +30 -0
- package/src/system/Modals/ModalSidebar/ModalSidebar.test.tsx +41 -0
- package/src/system/Modals/ModalSidebar/ModalSidebarPortal.tsx +31 -0
- package/src/system/Modals/ModalSidebar/index.tsx +95 -0
- package/src/system/Overlay/Overlay.test.tsx +59 -0
- package/src/system/Overlay/index.tsx +48 -0
- package/src/system/PageLoader/index.tsx +3 -0
- package/src/system/Palete/index.tsx +3 -0
- package/src/system/ShareIconResize.tsx +36 -0
- package/src/system/Tabs/TabNavLink/TabNavLink.test.tsx +53 -0
- package/src/system/Tabs/TabNavLink/index.tsx +80 -0
- package/src/system/Tabs/TabsNav/TabsNav.test.tsx +72 -0
- package/src/system/Tabs/TabsNav/index.tsx +47 -0
- package/src/system/Tabs/TabsNav/type.ts +7 -0
- package/src/system/Tabs/TabsPanel/TabsPanel.test.tsx +53 -0
- package/src/system/Tabs/TabsPanel/index.tsx +25 -0
- package/src/system/Text/index.tsx +0 -0
- package/src/system/index.ts +6 -0
- package/src/system/theme.ts +5 -0
- package/src/types/global.d.ts +20 -0
- package/src/types/module/declare-module.d.ts +13 -0
- package/src/types/styled.d.ts +9 -0
- package/src/types/svg/index.d.ts +4 -0
- package/src/utils/3d.ts +54 -0
- package/src/utils/adaptive/check4k.ts +25 -0
- package/src/utils/adaptive/scale.ts +27 -0
- package/src/utils/auth/index.ts +9 -0
- package/src/utils/copyBtn/index.tsx +74 -0
- package/src/utils/env/index.ts +30 -0
- package/src/utils/env/isProd/index.ts +2 -2
- package/src/utils/env/type.ts +4 -4
- package/src/utils/extractItemIds/index.tsx +11 -0
- package/src/utils/getDimensionsImage.ts +43 -0
- package/src/utils/getPageSizeAssets.ts +21 -0
- package/src/utils/imageProportionsSize/index.tsx +27 -0
- package/src/utils/index.ts +6 -2
- package/src/utils/screen/index.ts +111 -0
- package/src/utils/ssrFunctions/index.ts +1 -1
- package/src/utils/ui/index.tsx +9 -0
- package/tests/__mocks__/next/router.js +23 -0
- package/tests/svgrTransform/index.js +8 -0
- package/tsconfig.jest.json +11 -0
- package/tsconfig.json +3 -2
- package/tslint.json +86 -0
- package/dist/pages/_app.js +0 -16
- package/dist/pages/_document.js +0 -5
- package/dist/pages/index.js +0 -5
- package/dist/types/pages/_app.d.ts +0 -2
- package/dist/types/pages/_document.d.ts +0 -1
- package/next.config.mjs +0 -6
- package/public/next.svg +0 -1
- package/public/vercel.svg +0 -1
- package/src/pages/_app.tsx +0 -5
- package/src/pages/_document.tsx +0 -13
- /package/dist/styles/{globalStyles.js → globalStyles.jsx} +0 -0
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
2
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
3
|
+
if (ar || !(i in from)) {
|
|
4
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
5
|
+
ar[i] = from[i];
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
9
|
+
};
|
|
10
|
+
import React from 'react';
|
|
11
|
+
import AboutLudoIcon from '@/public/sidebar/aboutLudo.svg';
|
|
12
|
+
import AboutLudoDarkIcon from '@/public/sidebar/aboutLudoDark.svg';
|
|
13
|
+
import ApiIcon from '@/public/sidebar/api.svg';
|
|
14
|
+
import ExploreIcon from '@/public/sidebar/explore.svg';
|
|
15
|
+
import MyInvitesIcon from '@/public/sidebar/my-invites.svg';
|
|
16
|
+
import RewardsIcon from '@/public/sidebar/rewards.svg';
|
|
17
|
+
import SubmitNftIcon from '@/public/sidebar/submitNft.svg';
|
|
18
|
+
export var sideBarDataForDev = function (_a) {
|
|
19
|
+
var isAuthorized = _a.isAuthorized, isDarkTheme = _a.isDarkTheme, userId = _a.userId;
|
|
20
|
+
return __spreadArray(__spreadArray([
|
|
21
|
+
{
|
|
22
|
+
href: '/',
|
|
23
|
+
title: 'Explore',
|
|
24
|
+
icon: <ExploreIcon />,
|
|
25
|
+
isExternalUrl: false,
|
|
26
|
+
}
|
|
27
|
+
], (isAuthorized
|
|
28
|
+
? [
|
|
29
|
+
{
|
|
30
|
+
href: "/rewards/".concat(userId),
|
|
31
|
+
title: 'Rewards',
|
|
32
|
+
icon: <RewardsIcon />,
|
|
33
|
+
isExternalUrl: false,
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
href: '/invite-codes',
|
|
37
|
+
title: 'My invites',
|
|
38
|
+
icon: <MyInvitesIcon />,
|
|
39
|
+
isExternalUrl: false,
|
|
40
|
+
},
|
|
41
|
+
]
|
|
42
|
+
: []), true), [
|
|
43
|
+
{
|
|
44
|
+
href: 'https://apidocs.ludo.com/',
|
|
45
|
+
title: 'API',
|
|
46
|
+
icon: <ApiIcon />,
|
|
47
|
+
isExternalUrl: true,
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
href: '/',
|
|
51
|
+
title: 'Submit NFT',
|
|
52
|
+
icon: <SubmitNftIcon />,
|
|
53
|
+
isExternalUrl: false,
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
href: '/',
|
|
57
|
+
title: 'About Ludo',
|
|
58
|
+
icon: isDarkTheme ? <AboutLudoDarkIcon /> : <AboutLudoIcon />,
|
|
59
|
+
isExternalUrl: false,
|
|
60
|
+
},
|
|
61
|
+
], false);
|
|
62
|
+
};
|
|
63
|
+
export var sideBarDataForProd = function (_a) {
|
|
64
|
+
var isAuthorized = _a.isAuthorized, userId = _a.userId;
|
|
65
|
+
return __spreadArray([], (isAuthorized
|
|
66
|
+
? [
|
|
67
|
+
{
|
|
68
|
+
href: "/rewards/".concat(userId),
|
|
69
|
+
title: 'Rewards',
|
|
70
|
+
icon: <RewardsIcon />,
|
|
71
|
+
isExternalUrl: false,
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
href: '/invite-codes',
|
|
75
|
+
title: 'My invites',
|
|
76
|
+
icon: <MyInvitesIcon />,
|
|
77
|
+
isExternalUrl: false,
|
|
78
|
+
},
|
|
79
|
+
]
|
|
80
|
+
: []), true);
|
|
81
|
+
};
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
2
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
3
|
+
return cooked;
|
|
4
|
+
};
|
|
5
|
+
var __assign = (this && this.__assign) || function () {
|
|
6
|
+
__assign = Object.assign || function(t) {
|
|
7
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
8
|
+
s = arguments[i];
|
|
9
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
10
|
+
t[p] = s[p];
|
|
11
|
+
}
|
|
12
|
+
return t;
|
|
13
|
+
};
|
|
14
|
+
return __assign.apply(this, arguments);
|
|
15
|
+
};
|
|
16
|
+
import React from 'react';
|
|
17
|
+
import Link from 'next/link';
|
|
18
|
+
import styled, { useTheme } from 'styled-components';
|
|
19
|
+
import { Sidebar as SidebarUi } from '@ludo.ninja/ui/build/components/sidebar';
|
|
20
|
+
import { ThemeEnum } from '@ludo.ninja/ui/build/dto/Theme/interface';
|
|
21
|
+
import MainButton from '@ludo.ninja/ui/build/system/Buttons/MainButton';
|
|
22
|
+
import { adaptiveValueCalc } from '@ludo.ninja/ui/build/utils/4k';
|
|
23
|
+
import useExtension from '@/hooks/extension/useExtension';
|
|
24
|
+
import { useSignOut } from '@/modules/user/auth/useSignOut';
|
|
25
|
+
import { useUserStore } from '@/modules/user/store';
|
|
26
|
+
import { useUiStore } from '@/store/ui';
|
|
27
|
+
import { mediaQuery } from '@/styles/ScreenWidth';
|
|
28
|
+
import { sideBarDataForDev, sideBarDataForProd, } from '@/components/sidebar/data';
|
|
29
|
+
import SidebarInviteCodeLabel from '@/components/sidebar/sidebarInviteCodeLabel';
|
|
30
|
+
import UserPic from '@/system/Img/Userpic';
|
|
31
|
+
import { getAdaptiveScale } from '@/utils/adaptive/scale';
|
|
32
|
+
import { redirectToLoginWindow } from '@/utils/auth';
|
|
33
|
+
import { isProd } from '@/utils/env';
|
|
34
|
+
import { useWindowDimensions, useWindowDimensionsWithServerInitial, } from '@/utils/screen';
|
|
35
|
+
var MenuItem = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-size: 15px;\n font-weight: 500;\n line-height: 22px;\n display: flex;\n gap: 8px;\n align-items: center;\n padding: 12px 4px;\n text-indent: 4px;\n border-radius: 4px;\n cursor: pointer;\n color: ", ";\n\n ", " {\n font-size: 14px;\n line-height: 20px;\n }\n\n transition: background-color 0.3s ease-in-out;\n\n @media (hover: hover) {\n &:hover {\n transition: background-color 0.3s ease-in;\n background-color: ", ";\n }\n }\n\n ", " {\n font-size: ", ";\n line-height: ", ";\n gap: ", ";\n padding: ", " ", ";\n text-indent: ", ";\n border-radius: ", ";\n img {\n width: ", ";\n height: ", ";\n }\n }\n"], ["\n font-size: 15px;\n font-weight: 500;\n line-height: 22px;\n display: flex;\n gap: 8px;\n align-items: center;\n padding: 12px 4px;\n text-indent: 4px;\n border-radius: 4px;\n cursor: pointer;\n color: ", ";\n\n ", " {\n font-size: 14px;\n line-height: 20px;\n }\n\n transition: background-color 0.3s ease-in-out;\n\n @media (hover: hover) {\n &:hover {\n transition: background-color 0.3s ease-in;\n background-color: ", ";\n }\n }\n\n ", " {\n font-size: ", ";\n line-height: ", ";\n gap: ", ";\n padding: ", " ", ";\n text-indent: ", ";\n border-radius: ", ";\n img {\n width: ", ";\n height: ", ";\n }\n }\n"])), function (_a) {
|
|
36
|
+
var theme = _a.theme;
|
|
37
|
+
return theme.colors.secondaryText;
|
|
38
|
+
}, mediaQuery.mobile, function (_a) {
|
|
39
|
+
var theme = _a.theme;
|
|
40
|
+
return theme.colors.secondaryBg;
|
|
41
|
+
}, mediaQuery.minWidthFourK, adaptiveValueCalc(15), adaptiveValueCalc(22), adaptiveValueCalc(8), adaptiveValueCalc(12), adaptiveValueCalc(4), adaptiveValueCalc(4), adaptiveValueCalc(4), adaptiveValueCalc(20), adaptiveValueCalc(20));
|
|
42
|
+
var BeforeMenuContainer = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n padding: 12px 0;\n border-bottom: 1px solid ", ";\n\n ", " {\n padding: ", " 0;\n border-bottom: ", " solid\n ", ";\n }\n"], ["\n padding: 12px 0;\n border-bottom: 1px solid ", ";\n\n ", " {\n padding: ", " 0;\n border-bottom: ", " solid\n ", ";\n }\n"])), function (_a) {
|
|
43
|
+
var theme = _a.theme;
|
|
44
|
+
return theme.colors.divider;
|
|
45
|
+
}, mediaQuery.minWidthFourK, adaptiveValueCalc(12), adaptiveValueCalc(1), function (_a) {
|
|
46
|
+
var theme = _a.theme;
|
|
47
|
+
return theme.colors.divider;
|
|
48
|
+
});
|
|
49
|
+
var SLink = styled(Link)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n &:not(:last-child) svg path {\n fill: ", ";\n }\n .icon-wrapper {\n width: 20px;\n height: 20px;\n display: flex;\n align-items: center;\n justify-content: center;\n ", " {\n width: ", ";\n height: ", ";\n svg {\n transform: ", ";\n }\n }\n }\n"], ["\n &:not(:last-child) svg path {\n fill: ", ";\n }\n .icon-wrapper {\n width: 20px;\n height: 20px;\n display: flex;\n align-items: center;\n justify-content: center;\n ", " {\n width: ", ";\n height: ", ";\n svg {\n transform: ", ";\n }\n }\n }\n"])), function (_a) {
|
|
50
|
+
var theme = _a.theme;
|
|
51
|
+
return theme.colors.sidebarSvgPathFill;
|
|
52
|
+
}, mediaQuery.minWidthFourK, adaptiveValueCalc(20), adaptiveValueCalc(20), function (props) {
|
|
53
|
+
return 'transform' in props.scale && props.scale.transform;
|
|
54
|
+
});
|
|
55
|
+
// Component
|
|
56
|
+
var Sidebar = function () {
|
|
57
|
+
var _a;
|
|
58
|
+
var closeSidebar = useUiStore(function (state) { return state.closeSidebar; });
|
|
59
|
+
var isSidebarOpen = useUiStore(function (state) { return state.isSidebarOpen; });
|
|
60
|
+
var isAuthorized = useUserStore(function (state) { return state.isSignedIn; });
|
|
61
|
+
var getUser = useUserStore(function (state) { return state.user; });
|
|
62
|
+
var signOut = useSignOut();
|
|
63
|
+
var deviceType = useWindowDimensions().deviceType;
|
|
64
|
+
var _b = useExtension(), isExtensionInstalled = _b.isExtensionInstalled, openExtensionChromeStorePage = _b.openExtensionChromeStorePage, openExtension = _b.openExtension;
|
|
65
|
+
var _c = (_a = getUser) !== null && _a !== void 0 ? _a : [''], wallets = _c.wallets, userId = _c.userId;
|
|
66
|
+
var type = useTheme().type;
|
|
67
|
+
var isDarkTheme = type === ThemeEnum.dark;
|
|
68
|
+
// Todo fav-list
|
|
69
|
+
var sideBarData = isProd()
|
|
70
|
+
? sideBarDataForProd({ userId: userId, isAuthorized: isAuthorized })
|
|
71
|
+
: sideBarDataForDev({ userId: userId, isAuthorized: isAuthorized, isDarkTheme: isDarkTheme });
|
|
72
|
+
var windowDimensions = useWindowDimensionsWithServerInitial().windowDimensions;
|
|
73
|
+
return (<SidebarUi closeSidebar={closeSidebar} isOpen={isSidebarOpen} handle={{
|
|
74
|
+
login: function () {
|
|
75
|
+
closeSidebar();
|
|
76
|
+
redirectToLoginWindow();
|
|
77
|
+
},
|
|
78
|
+
logout: signOut,
|
|
79
|
+
}} isAuthorized={isAuthorized} userWallets={wallets} slots={__assign({ menu: sideBarData.map(function (_a) {
|
|
80
|
+
var title = _a.title, href = _a.href, icon = _a.icon, isExternalUrl = _a.isExternalUrl;
|
|
81
|
+
return (<SLink href={href} target={isExternalUrl ? '_blank' : '_self'} onClick={closeSidebar} key={title} passHref={isExternalUrl} scale={getAdaptiveScale({ windowDimensions: windowDimensions, currentSize: 1 })}>
|
|
82
|
+
<span className="icon-wrapper">{icon}</span>
|
|
83
|
+
{title}
|
|
84
|
+
</SLink>);
|
|
85
|
+
}), userPicture: function (_a) {
|
|
86
|
+
var children = _a.children, height = _a.height, width = _a.width, isNeedBoxTransform = _a.isNeedBoxTransform;
|
|
87
|
+
return (<UserPic width={width} height={height} userId={userId} isNeedBoxTransform={isNeedBoxTransform}>
|
|
88
|
+
{children}
|
|
89
|
+
</UserPic>);
|
|
90
|
+
}, inviteCode: <SidebarInviteCodeLabel /> }, (deviceType == 'isDesktop' && isAuthorized
|
|
91
|
+
? {
|
|
92
|
+
beforeMenu: (<BeforeMenuContainer>
|
|
93
|
+
{isExtensionInstalled ? (<MenuItem onClick={function () {
|
|
94
|
+
closeSidebar();
|
|
95
|
+
openExtension();
|
|
96
|
+
}}>
|
|
97
|
+
<img src="/sidebar/ludoX.svg" alt="Ludo X" width={20} height={20}/>
|
|
98
|
+
Open Ludo X
|
|
99
|
+
</MenuItem>) : (<div style={{ padding: '12px 0' }}>
|
|
100
|
+
<MainButton onClick={function () {
|
|
101
|
+
closeSidebar();
|
|
102
|
+
openExtensionChromeStorePage();
|
|
103
|
+
}} text={'Install Ludo X now'} variant={'primaryM'}/>
|
|
104
|
+
</div>)}
|
|
105
|
+
</BeforeMenuContainer>),
|
|
106
|
+
}
|
|
107
|
+
: {}))}/>);
|
|
108
|
+
};
|
|
109
|
+
// Export
|
|
110
|
+
export default Sidebar;
|
|
111
|
+
var templateObject_1, templateObject_2, templateObject_3;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
2
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
3
|
+
return cooked;
|
|
4
|
+
};
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import styled from 'styled-components';
|
|
7
|
+
import { FH3 } from '@/styles/typography';
|
|
8
|
+
import CloseIcon from '@/public/close20.svg';
|
|
9
|
+
// Styles
|
|
10
|
+
var StyledSidebarFilters = styled.aside(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n box-sizing: border-box;\n background-color: white;\n position: fixed;\n z-index: 1000000;\n transform: ", ";\n transition: transform 0.2s;\n will-change: transform;\n width: 100%;\n height: var(--app-height);\n top: 0;\n right: 0;\n bottom: 0;\n border-radius: 0;\n display: flex;\n flex-direction: column;\n\n .closeIcon {\n position: absolute;\n top: 16px;\n right: 16px;\n display: flex;\n justify-content: flex-end;\n cursor: pointer;\n }\n\n .header {\n padding: 32px 32px 6px 32px;\n\n .caption {\n ", ";\n margin: 0;\n }\n }\n"], ["\n box-sizing: border-box;\n background-color: white;\n position: fixed;\n z-index: 1000000;\n transform: ", ";\n transition: transform 0.2s;\n will-change: transform;\n width: 100%;\n height: var(--app-height);\n top: 0;\n right: 0;\n bottom: 0;\n border-radius: 0;\n display: flex;\n flex-direction: column;\n\n .closeIcon {\n position: absolute;\n top: 16px;\n right: 16px;\n display: flex;\n justify-content: flex-end;\n cursor: pointer;\n }\n\n .header {\n padding: 32px 32px 6px 32px;\n\n .caption {\n ", ";\n margin: 0;\n }\n }\n"])), function (props) {
|
|
11
|
+
return props.isOpen ? 'translateX(0%)' : 'translateX(calc(100% + 16px))';
|
|
12
|
+
}, FH3);
|
|
13
|
+
// Component
|
|
14
|
+
var SidebarFilters = function (_a) {
|
|
15
|
+
var isOpen = _a.isOpen, handleClose = _a.handleClose, children = _a.children;
|
|
16
|
+
return (<StyledSidebarFilters isOpen={isOpen} /*onMouseLeave={() => closeSidebar()}*/>
|
|
17
|
+
<div className={'closeIcon'} onClick={handleClose}>
|
|
18
|
+
<CloseIcon />
|
|
19
|
+
</div>
|
|
20
|
+
<div className="header">
|
|
21
|
+
<h3 className={'caption'}>Filters</h3>
|
|
22
|
+
</div>
|
|
23
|
+
{children}
|
|
24
|
+
</StyledSidebarFilters>);
|
|
25
|
+
};
|
|
26
|
+
// Export
|
|
27
|
+
export default SidebarFilters;
|
|
28
|
+
var templateObject_1;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
2
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
3
|
+
return cooked;
|
|
4
|
+
};
|
|
5
|
+
import React, { useEffect } from 'react';
|
|
6
|
+
import styled from 'styled-components';
|
|
7
|
+
import { adaptiveValueCalc } from '@ludo.ninja/ui/build/utils/4k';
|
|
8
|
+
import { useUserStore } from '@/modules/user/store';
|
|
9
|
+
import { useUiStore } from '@/store/ui';
|
|
10
|
+
import { useGetMyInviteCodes } from '@/api/server-identities/queries/useGetMyInviteCodes';
|
|
11
|
+
import { mediaQuery } from '@/styles/ScreenWidth';
|
|
12
|
+
import ExperienceLabel from '@/system/Labels/ExperienceLabel';
|
|
13
|
+
import InviteLabel from '@/system/Labels/InviteLabel';
|
|
14
|
+
// Styles
|
|
15
|
+
var StyledSidebarInviteCodeLabel = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n gap: 16px;\n margin-top: 16px;\n\n ", " {\n gap: ", ";\n margin-top: ", ";\n }\n"], ["\n display: flex;\n gap: 16px;\n margin-top: 16px;\n\n ", " {\n gap: ", ";\n margin-top: ", ";\n }\n"])), mediaQuery.minWidthFourK, adaptiveValueCalc(16), adaptiveValueCalc(16));
|
|
16
|
+
// Component
|
|
17
|
+
var SidebarInviteCodeLabel = function () {
|
|
18
|
+
var _a = useGetMyInviteCodes(), myInviteCodes = _a.myInviteCodes, loadMyInviteCodes = _a.loadMyInviteCodes, errorMyInviteCodes = _a.errorMyInviteCodes, loadingMyInviteCodes = _a.loadingMyInviteCodes;
|
|
19
|
+
var isSidebarOpen = useUiStore(function (state) { return state.isSidebarOpen; });
|
|
20
|
+
var _b = useUserStore(function (state) { return ({
|
|
21
|
+
getUser: state.user,
|
|
22
|
+
userExp: state.userExp,
|
|
23
|
+
isLoadingExp: state.isLoadingExp,
|
|
24
|
+
errorExp: state.errorExp,
|
|
25
|
+
isLoadingProfileData: state.isLoadingProfileData,
|
|
26
|
+
}); }), getUser = _b.getUser, userExp = _b.userExp, isLoadingExp = _b.isLoadingExp, errorExp = _b.errorExp, isLoadingProfileData = _b.isLoadingProfileData;
|
|
27
|
+
useEffect(function () {
|
|
28
|
+
if (isSidebarOpen && !isLoadingProfileData && !(myInviteCodes === null || myInviteCodes === void 0 ? void 0 : myInviteCodes.length)) {
|
|
29
|
+
loadMyInviteCodes();
|
|
30
|
+
}
|
|
31
|
+
}, [isSidebarOpen, isLoadingProfileData]);
|
|
32
|
+
var unUsedInviteCodes = myInviteCodes === null || myInviteCodes === void 0 ? void 0 : myInviteCodes.filter(function (code) { return !code.isUsed; });
|
|
33
|
+
return (<StyledSidebarInviteCodeLabel>
|
|
34
|
+
<ExperienceLabel value={userExp.xps} link={"/rewards/".concat(getUser === null || getUser === void 0 ? void 0 : getUser.userId)} loading={isLoadingExp || !!errorExp}/>
|
|
35
|
+
<InviteLabel value={unUsedInviteCodes === null || unUsedInviteCodes === void 0 ? void 0 : unUsedInviteCodes.length} link={'/invite-codes'} loading={loadingMyInviteCodes || errorMyInviteCodes}/>
|
|
36
|
+
</StyledSidebarInviteCodeLabel>);
|
|
37
|
+
};
|
|
38
|
+
// Export
|
|
39
|
+
export default SidebarInviteCodeLabel;
|
|
40
|
+
var templateObject_1;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import DiscordIcon from './icons/discord';
|
|
3
|
+
// Icons
|
|
4
|
+
import FacebookIcon from './icons/facebook';
|
|
5
|
+
import InstagramIcon from './icons/instagram';
|
|
6
|
+
import MediumIcon from './icons/medium';
|
|
7
|
+
import TelegramIcon from './icons/telegram';
|
|
8
|
+
import TwitterIcon from './icons/twitter';
|
|
9
|
+
var data = [
|
|
10
|
+
{
|
|
11
|
+
id: Math.random(),
|
|
12
|
+
label: 'Facebook',
|
|
13
|
+
onClickHandler: function () { return alert('connect to Facebook'); },
|
|
14
|
+
icon: <FacebookIcon />,
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
id: Math.random(),
|
|
18
|
+
label: 'Twitter',
|
|
19
|
+
onClickHandler: function () { return alert('connect to Twitter'); },
|
|
20
|
+
icon: <TwitterIcon />,
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
id: Math.random(),
|
|
24
|
+
label: 'Discord',
|
|
25
|
+
onClickHandler: function () { return alert('connect to Discord'); },
|
|
26
|
+
icon: <DiscordIcon />,
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
id: Math.random(),
|
|
30
|
+
label: 'Instagram',
|
|
31
|
+
onClickHandler: function () { return alert('connect to Instagram'); },
|
|
32
|
+
icon: <InstagramIcon />,
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
id: Math.random(),
|
|
36
|
+
label: 'Telegram',
|
|
37
|
+
onClickHandler: function () { return alert('connect to Telegram'); },
|
|
38
|
+
icon: <TelegramIcon />,
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
id: Math.random(),
|
|
42
|
+
label: 'Medium',
|
|
43
|
+
onClickHandler: function () { return alert('connect to Medium'); },
|
|
44
|
+
icon: <MediumIcon />,
|
|
45
|
+
},
|
|
46
|
+
];
|
|
47
|
+
export default data;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
var DiscordIcon = function () {
|
|
2
|
+
return (<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="M19.2727 4.875C19.2727 4.875 17.1886 3.19312 14.7273 3L14 4.07317C13.3944 3.98624 12.7334 3.9375 12 3.9375C11.2666 3.9375 10.6056 3.98624 10 4.07317L9.27273 3C6.69045 3.25172 4.72727 4.875 4.72727 4.875C4.72727 4.875 2.39955 8.35547 2 15.1875C4.34636 17.978 7.90909 18 7.90909 18L8.65409 16.9758C7.38955 16.5225 5.96136 15.713 4.72727 14.25C6.19909 15.3984 8.42045 16.5938 12 16.5938C15.5795 16.5938 17.8009 15.3984 19.2727 14.25C18.0386 15.713 16.6105 16.5225 15.3459 16.9758L16.0909 18C16.0909 18 19.6536 17.978 22 15.1875C21.6005 8.35547 19.2727 4.875 19.2727 4.875ZM9.04545 13.3125C8.16682 13.3125 7.45455 12.473 7.45455 11.4375C7.45455 10.402 8.16682 9.5625 9.04545 9.5625C9.92409 9.5625 10.6364 10.402 10.6364 11.4375C10.6364 12.473 9.92409 13.3125 9.04545 13.3125ZM14.9545 13.3125C14.0759 13.3125 13.3636 12.473 13.3636 11.4375C13.3636 10.402 14.0759 9.5625 14.9545 9.5625C15.8332 9.5625 16.5455 10.402 16.5455 11.4375C16.5455 12.473 15.8332 13.3125 14.9545 13.3125Z" fill="#C1C8DE"/>
|
|
4
|
+
</svg>);
|
|
5
|
+
};
|
|
6
|
+
export default DiscordIcon;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
var FacebookIcon = function () {
|
|
2
|
+
return (<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<circle cx="12" cy="12" r="10" fill="#C1C8DE"/>
|
|
4
|
+
<path d="M13.1043 14.9097H15.5858L15.9755 12.3735H13.1043V10.9871C13.1043 9.93367 13.4466 8.99933 14.4261 8.99933H16V6.78625C15.7234 6.74863 15.1385 6.66663 14.0334 6.66663C11.7255 6.66663 10.3726 7.89279 10.3726 10.6866V12.3739H8V14.9102H10.3721V22C10.9077 22 11.318 22 11.8066 22C12.2481 22 12.7055 22 13.1043 22V14.9097Z" fill="white"/>
|
|
5
|
+
</svg>);
|
|
6
|
+
};
|
|
7
|
+
export default FacebookIcon;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
var InstagramIcon = function () {
|
|
2
|
+
return (<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="M16.6154 22H7.38462C4.41615 22 2 19.5846 2 16.6154V7.38462C2 4.41538 4.41615 2 7.38462 2H16.6154C19.5838 2 22 4.41538 22 7.38462V16.6154C22 19.5846 19.5838 22 16.6154 22Z" fill="#C1C8DE"/>
|
|
4
|
+
<path d="M17.909 7.45457C18.6622 7.45457 19.2727 6.84405 19.2727 6.09093C19.2727 5.33782 18.6622 4.72729 17.909 4.72729C17.1559 4.72729 16.5454 5.33782 16.5454 6.09093C16.5454 6.84405 17.1559 7.45457 17.909 7.45457Z" fill="white"/>
|
|
5
|
+
<circle cx="12" cy="12" r="4.45455" stroke="white" strokeWidth="2"/>
|
|
6
|
+
</svg>);
|
|
7
|
+
};
|
|
8
|
+
export default InstagramIcon;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
var MediumIcon = function () {
|
|
2
|
+
return (<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="M20.786 5.87617L22 4.34783V4H17.3347L12.4807 15.2577L7.398 4H2.66667V4.34783L3.90533 6.08696C3.96667 6.16278 4 6.25809 4 6.35687V16.8696C4 17.0233 3.94867 17.1729 3.85533 17.2925L2 19.6842V20H7.33333V19.6842L5.47667 17.2786C5.384 17.159 5.33333 17.0108 5.33333 16.8577V7.73913L10.8693 20H11.8987L17.3333 7.39409V17.7391C17.3333 17.8504 17.2907 17.9576 17.214 18.0369L15.3333 19.6842V20H22V19.6842L20.786 18.0369C20.7093 17.9576 20.6667 17.8504 20.6667 17.7391V6.17391C20.6667 6.06261 20.7093 5.95548 20.786 5.87617Z" fill="#C1C8DE"/>
|
|
4
|
+
</svg>);
|
|
5
|
+
};
|
|
6
|
+
export default MediumIcon;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
var TelegramIcon = function () {
|
|
2
|
+
return (<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="M18.8367 19.7717L21.9583 3.83334C21.9583 3.83334 22 3.625 22 3.41667C22 3.10417 21.7225 3 21.4792 3C21.0833 2.99917 20.5408 3.195 20.5408 3.195L2.7775 10.2517C2.7775 10.2517 2 10.5 2 11.0208C2 11.6458 2.75583 11.8642 2.75583 11.8642C2.75583 11.8642 4.89207 12.8768 6.33864 12.817C6.83592 12.7965 7.25 12.8 7.6 12.6348C7.95 12.4696 16.4039 7.36106 16.7 7.2C17.05 7.00962 17.2633 7.06332 17.4 7.2C17.5367 7.33668 17.6598 7.6376 17.4 7.9C17.1824 8.11972 11.1886 13.85 10.7943 14.2C10.4 14.55 11.1 15.25 11.1 15.25L17.0717 20.2717C17.0717 20.2717 17.3192 20.5 17.7992 20.5C18.7025 20.5 18.8367 19.7717 18.8367 19.7717Z" fill="#C1C8DE"/>
|
|
4
|
+
</svg>);
|
|
5
|
+
};
|
|
6
|
+
export default TelegramIcon;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
var TwitterIcon = function () {
|
|
2
|
+
return (<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="M11.3485 8.22848C11.3485 5.89642 13.2928 4 15.6838 4C16.8254 4 17.8452 4.47525 18.6199 5.18203C19.4179 5.01295 20.1738 4.73572 20.8562 4.3412C20.9983 4.25743 21.1795 4.26961 21.3091 4.36862C21.4387 4.46915 21.4934 4.63823 21.4434 4.79208C21.2966 5.24143 21.053 5.64052 20.7688 6.01066C20.9843 5.93907 21.2248 5.92993 21.4309 5.84006C21.5934 5.76542 21.7886 5.80655 21.9041 5.94059C22.0213 6.07464 22.0322 6.26809 21.9307 6.4128C21.4184 7.16222 20.7641 7.8035 20.0316 8.35034C20.0348 8.46001 20.0441 8.56816 20.0441 8.67936C20.0441 11.3145 19.0212 14.1356 17.0581 16.3077C15.0951 18.4798 12.1684 20 8.43748 20C6.13552 20 3.99441 19.3374 2.19063 18.2087C2.02977 18.1127 1.95949 17.9193 2.02352 17.7456C2.08599 17.572 2.26559 17.4653 2.453 17.4897C2.74347 17.5232 3.03551 17.5385 3.34005 17.5385C4.74715 17.5385 6.78261 17.0526 7.65217 15.7895C2.91134 12.971 1.56522 9.89474 3.39002 4.90175C3.45562 4.78903 3.57431 4.71439 3.70705 4.70526C3.84136 4.69612 3.96942 4.75095 4.05219 4.85301C5.82786 6.97791 8.44217 8.3671 11.3985 8.6428C11.3844 8.50571 11.3485 8.36862 11.3485 8.22848Z" fill="#C1C8DE"/>
|
|
4
|
+
</svg>);
|
|
5
|
+
};
|
|
6
|
+
export default TwitterIcon;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
2
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
3
|
+
return cooked;
|
|
4
|
+
};
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import styled from 'styled-components';
|
|
7
|
+
import { TextGrayColor } from '@/styles/colors';
|
|
8
|
+
import { FH3 } from '@/styles/typography';
|
|
9
|
+
import { Box } from '@system';
|
|
10
|
+
import data from './data';
|
|
11
|
+
// Styles
|
|
12
|
+
var StyledCaption = styled.span(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", ";\n color: #000;\n"], ["\n ", ";\n color: #000;\n"])), FH3);
|
|
13
|
+
var StyledSocialButtons = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n margin-top: 20px;\n margin-bottom: 50px;\n max-width: 376px;\n"], ["\n margin-top: 20px;\n margin-bottom: 50px;\n max-width: 376px;\n"])));
|
|
14
|
+
var StyledSocialButton = styled.button(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n width: 100%;\n text-align: left;\n border: 1px solid #c1c8de;\n border-radius: 25px;\n padding: 11px 15px;\n color: ", ";\n font-weight: 400;\n font-size: 1.6em;\n margin-bottom: 20px;\n user-select: none;\n background-color: transparent;\n\n &:last-child {\n margin-bottom: 0;\n }\n\n svg {\n margin-right: 16px;\n }\n"], ["\n width: 100%;\n text-align: left;\n border: 1px solid #c1c8de;\n border-radius: 25px;\n padding: 11px 15px;\n color: ", ";\n font-weight: 400;\n font-size: 1.6em;\n margin-bottom: 20px;\n user-select: none;\n background-color: transparent;\n\n &:last-child {\n margin-bottom: 0;\n }\n\n svg {\n margin-right: 16px;\n }\n"])), TextGrayColor);
|
|
15
|
+
// Components
|
|
16
|
+
var SocialButtons = function () {
|
|
17
|
+
var renderButtons = function () {
|
|
18
|
+
return data.map(function (button) { return (<StyledSocialButton key={button.id} onClick={button.onClickHandler} type={'button'}>
|
|
19
|
+
{button.icon}
|
|
20
|
+
{"Connect ".concat(button.label)}
|
|
21
|
+
</StyledSocialButton>); });
|
|
22
|
+
};
|
|
23
|
+
return (<Box mt={45}>
|
|
24
|
+
<StyledCaption>Social links</StyledCaption>
|
|
25
|
+
<StyledSocialButtons>{renderButtons()}</StyledSocialButtons>
|
|
26
|
+
</Box>);
|
|
27
|
+
};
|
|
28
|
+
// Export
|
|
29
|
+
export default SocialButtons;
|
|
30
|
+
var templateObject_1, templateObject_2, templateObject_3;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
var BellIcon = function (props) {
|
|
2
|
+
return (<svg className={props.customClassName} width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="M12 3C19 3 19 10 19 10V15H5V10C5 10 5 3 12 3Z" fill="#C1C8DE"/>
|
|
4
|
+
<rect x="3" y="15" width="18" height="2" rx="0.3" fill="#C1C8DE"/>
|
|
5
|
+
<rect x="9" y="19" width="6" height="2" rx="0.3" fill="#C1C8DE"/>
|
|
6
|
+
</svg>);
|
|
7
|
+
};
|
|
8
|
+
export default BellIcon;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
var ProfileIcon = function (props) {
|
|
2
|
+
return (<svg className={props.customClassName} width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z" fill="#C1C8DE"/>
|
|
4
|
+
<path d="M11.9999 18.5C7.99976 18.5 6.11462 15.4342 6.11462 15.4342C7.69253 13.9175 9.74983 13 12 13C14.2502 13 16.3075 13.9175 17.8854 15.4342C17.8854 15.4342 15.9998 18.5 11.9999 18.5Z" fill="#F6F7FD"/>
|
|
5
|
+
<path d="M15 9C15 10.6569 13.6569 12 12 12C10.3431 12 9 10.6569 9 9C9 7.34315 10.3431 6 12 6C13.6569 6 15 7.34315 15 9Z" fill="#F6F7FD"/>
|
|
6
|
+
</svg>);
|
|
7
|
+
};
|
|
8
|
+
export default ProfileIcon;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
var SecureIcon = function (props) {
|
|
2
|
+
return (<svg className={props.customClassName} width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="M4.00136 5.23027C4.0001 5.09261 4.09369 4.97658 4.22724 4.94319L11.9272 3.01819C11.975 3.00625 12.025 3.00625 12.0728 3.01819L19.7728 4.94319C19.9063 4.97658 19.9999 5.09261 19.9986 5.23027C19.9845 6.77686 19.8241 15.6319 18 17C16.2359 18.3231 12.9158 20.4242 12.1571 20.9014C12.06 20.9625 11.94 20.9625 11.8429 20.9014C11.0842 20.4242 7.76405 18.3231 6 17C4.1759 15.6319 4.01547 6.77686 4.00136 5.23027Z" fill="#C1C8DE"/>
|
|
4
|
+
<path d="M9 12.0717L11.1744 14.2461L13.2103 12.2102L15.2461 10.1744" stroke="white" strokeWidth="1.7" strokeLinecap="square"/>
|
|
5
|
+
</svg>);
|
|
6
|
+
};
|
|
7
|
+
export default SecureIcon;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
2
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
3
|
+
return cooked;
|
|
4
|
+
};
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import styled from 'styled-components';
|
|
7
|
+
import { TextGrayColor } from '@/styles/colors';
|
|
8
|
+
import ActiveLink from '@/system/ActiveLink';
|
|
9
|
+
import BellIcon from './icons/bell';
|
|
10
|
+
import ProfileIcon from './icons/profile';
|
|
11
|
+
import SecureIcon from './icons/secure';
|
|
12
|
+
// Styles
|
|
13
|
+
var StyledTabs = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n .caption {\n font-size: 2.8em;\n color: #000000;\n font-weight: 600;\n letter-spacing: -0.015em;\n }\n"], ["\n .caption {\n font-size: 2.8em;\n color: #000000;\n font-weight: 600;\n letter-spacing: -0.015em;\n }\n"])));
|
|
14
|
+
var StyledTabsList = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n margin-top: 20px;\n a {\n text-decoration: none;\n }\n"], ["\n margin-top: 20px;\n a {\n text-decoration: none;\n }\n"])));
|
|
15
|
+
var StyledTabItem = styled.span(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n text-decoration: none;\n padding: 14px;\n height: 48px;\n display: flex;\n align-items: center;\n user-select: none;\n\n .text {\n font-size: 1.8em;\n color: #696f91;\n margin-left: 8px;\n }\n\n :hover {\n background: #f6f7fd;\n border-radius: 8px;\n\n .profile path:first-child,\n .secure path:first-child {\n fill: ", ";\n }\n\n .bell path,\n .bell rect {\n fill: ", ";\n }\n\n .text {\n color: #1a1c29;\n }\n }\n\n &.active {\n background: #f6f7fd;\n border-radius: 8px;\n\n .profile path:first-child,\n .secure path:first-child {\n fill: ", ";\n }\n\n .bell path,\n .bell rect {\n fill: ", ";\n }\n\n .text {\n color: #1a1c29;\n }\n }\n"], ["\n text-decoration: none;\n padding: 14px;\n height: 48px;\n display: flex;\n align-items: center;\n user-select: none;\n\n .text {\n font-size: 1.8em;\n color: #696f91;\n margin-left: 8px;\n }\n\n :hover {\n background: #f6f7fd;\n border-radius: 8px;\n\n .profile path:first-child,\n .secure path:first-child {\n fill: ", ";\n }\n\n .bell path,\n .bell rect {\n fill: ", ";\n }\n\n .text {\n color: #1a1c29;\n }\n }\n\n &.active {\n background: #f6f7fd;\n border-radius: 8px;\n\n .profile path:first-child,\n .secure path:first-child {\n fill: ", ";\n }\n\n .bell path,\n .bell rect {\n fill: ", ";\n }\n\n .text {\n color: #1a1c29;\n }\n }\n"])), TextGrayColor, TextGrayColor, TextGrayColor, TextGrayColor);
|
|
16
|
+
var data = [
|
|
17
|
+
{
|
|
18
|
+
id: Math.random(),
|
|
19
|
+
title: 'Profile settings',
|
|
20
|
+
icon: <ProfileIcon customClassName={'profile'}/>,
|
|
21
|
+
link: '/account/settings/profile',
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
id: Math.random(),
|
|
25
|
+
title: 'Notifications',
|
|
26
|
+
icon: <BellIcon customClassName={'bell'}/>,
|
|
27
|
+
link: '/account/settings/notifications',
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
id: Math.random(),
|
|
31
|
+
title: 'Privacy',
|
|
32
|
+
icon: <SecureIcon customClassName={'secure'}/>,
|
|
33
|
+
link: '/account/settings/privacy',
|
|
34
|
+
},
|
|
35
|
+
];
|
|
36
|
+
// Component
|
|
37
|
+
var Tabs = function () {
|
|
38
|
+
var renderTabItems = function () {
|
|
39
|
+
return data.map(function (dataItem) { return (<ActiveLink key={dataItem.id} href={dataItem.link} activeClassName={'active'}>
|
|
40
|
+
<StyledTabItem>
|
|
41
|
+
{dataItem.icon}
|
|
42
|
+
<p className={'text'}>{dataItem.title}</p>
|
|
43
|
+
</StyledTabItem>
|
|
44
|
+
</ActiveLink>); });
|
|
45
|
+
};
|
|
46
|
+
return (<StyledTabs>
|
|
47
|
+
<h3 className={'caption'}>Settings</h3>
|
|
48
|
+
<StyledTabsList>{renderTabItems()}</StyledTabsList>
|
|
49
|
+
</StyledTabs>);
|
|
50
|
+
};
|
|
51
|
+
// Export
|
|
52
|
+
export default Tabs;
|
|
53
|
+
var templateObject_1, templateObject_2, templateObject_3;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
2
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
3
|
+
return cooked;
|
|
4
|
+
};
|
|
5
|
+
import React, { useEffect, useState } from 'react';
|
|
6
|
+
import styled from 'styled-components';
|
|
7
|
+
import { adaptiveValueCalc } from '@ludo.ninja/ui/build/utils/4k';
|
|
8
|
+
import { mediaQuery } from '@/styles/ScreenWidth';
|
|
9
|
+
import { AccentColor } from '@/styles/colors';
|
|
10
|
+
import { zIndexToTopBtn } from '@/styles/mixins/z-indexes';
|
|
11
|
+
import { getAdaptiveScale } from '@/utils/adaptive/scale';
|
|
12
|
+
import { useWindowDimensionsWithServerInitial } from '@/utils/screen';
|
|
13
|
+
import { upBtnDistance } from '@/utils/ui';
|
|
14
|
+
import ToTopBtnIcon from '@/public/toTopBtn/toTopBtn.svg';
|
|
15
|
+
// Styles
|
|
16
|
+
var StyledToTopBnt = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n position: fixed;\n width: 48px;\n height: 48px;\n bottom: 36px;\n right: 24px;\n z-index: ", ";\n cursor: pointer;\n padding: 5px;\n background-color: ", ";\n border-radius: 24px;\n box-shadow: 0 10px 32px -16px rgba(33, 21, 95, 0.1);\n\n &:hover {\n svg path {\n stroke: ", ";\n }\n }\n\n @media (max-width: 767px) {\n position: fixed;\n left: 0;\n right: 0;\n margin: 0 auto;\n }\n\n ", " {\n width: ", ";\n height: ", ";\n bottom: ", ";\n right: ", ";\n border-radius: ", ";\n padding: ", ";\n box-shadow: 0 ", " ", "\n ", " rgba(33, 21, 95, 0.1);\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n position: fixed;\n width: 48px;\n height: 48px;\n bottom: 36px;\n right: 24px;\n z-index: ", ";\n cursor: pointer;\n padding: 5px;\n background-color: ", ";\n border-radius: 24px;\n box-shadow: 0 10px 32px -16px rgba(33, 21, 95, 0.1);\n\n &:hover {\n svg path {\n stroke: ", ";\n }\n }\n\n @media (max-width: 767px) {\n position: fixed;\n left: 0;\n right: 0;\n margin: 0 auto;\n }\n\n ", " {\n width: ", ";\n height: ", ";\n bottom: ", ";\n right: ", ";\n border-radius: ", ";\n padding: ", ";\n box-shadow: 0 ", " ", "\n ", " rgba(33, 21, 95, 0.1);\n }\n"])), zIndexToTopBtn, function (_a) {
|
|
17
|
+
var theme = _a.theme;
|
|
18
|
+
return theme.colors.toTopBtn;
|
|
19
|
+
}, AccentColor, mediaQuery.minWidthFourK, adaptiveValueCalc(48), adaptiveValueCalc(48), adaptiveValueCalc(36), adaptiveValueCalc(24), adaptiveValueCalc(24), adaptiveValueCalc(5), adaptiveValueCalc(10), adaptiveValueCalc(32), adaptiveValueCalc(-16));
|
|
20
|
+
var ToTopBtnIconResize = function () {
|
|
21
|
+
var windowDimensions = useWindowDimensionsWithServerInitial().windowDimensions;
|
|
22
|
+
return (<ToTopBtnIcon style={getAdaptiveScale({ windowDimensions: windowDimensions, currentSize: 1 })}/>);
|
|
23
|
+
};
|
|
24
|
+
var ToTopBtn = function () {
|
|
25
|
+
var _a = useState(false), showBtn = _a[0], setShowBtn = _a[1];
|
|
26
|
+
var oldScrollY = document.documentElement.scrollTop;
|
|
27
|
+
var offsetPixels = 600;
|
|
28
|
+
useEffect(function () {
|
|
29
|
+
window.addEventListener('scroll', handleScroll);
|
|
30
|
+
return function () { return window.removeEventListener('scroll', handleScroll); };
|
|
31
|
+
}, []);
|
|
32
|
+
var handleClickFunction = function () {
|
|
33
|
+
window.scrollTo({ top: 0, behavior: 'smooth' });
|
|
34
|
+
};
|
|
35
|
+
var handleScroll = function () {
|
|
36
|
+
if (upBtnDistance(document, offsetPixels)) {
|
|
37
|
+
if (oldScrollY > document.documentElement.scrollTop) {
|
|
38
|
+
setShowBtn(true);
|
|
39
|
+
}
|
|
40
|
+
oldScrollY = document.documentElement.scrollTop;
|
|
41
|
+
}
|
|
42
|
+
else {
|
|
43
|
+
setShowBtn(false);
|
|
44
|
+
oldScrollY = offsetPixels;
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
if (!showBtn)
|
|
48
|
+
return null;
|
|
49
|
+
return (<StyledToTopBnt onClick={handleClickFunction}>
|
|
50
|
+
<ToTopBtnIconResize />
|
|
51
|
+
</StyledToTopBnt>);
|
|
52
|
+
};
|
|
53
|
+
export var ToTopBtnWithCustomHandler = function (_a) {
|
|
54
|
+
var handleClickFunction = _a.handleClickFunction;
|
|
55
|
+
return (<StyledToTopBnt onClick={handleClickFunction}>
|
|
56
|
+
<ToTopBtnIconResize />
|
|
57
|
+
</StyledToTopBnt>);
|
|
58
|
+
};
|
|
59
|
+
// Export
|
|
60
|
+
export default ToTopBtn;
|
|
61
|
+
var templateObject_1;
|