@ludo.ninja/components 2.3.6 → 2.3.8
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/build/api/graphql/index.d.ts +4 -0
- package/build/api/graphql/index.js +11 -0
- package/build/api/server-assets/mutations/useDislikeAsset/index.d.ts +7 -0
- package/build/api/server-assets/mutations/useDislikeAsset/index.js +32 -0
- package/build/api/server-assets/mutations/useLikeAsset/index.d.ts +7 -0
- package/build/api/server-assets/mutations/useLikeAsset/index.js +33 -0
- package/build/api/server-assets/queries/useFetchAssets/index.d.ts +7 -0
- package/build/api/server-assets/queries/useFetchAssets/index.js +31 -0
- package/build/api/server-assets/queries/useFetchDynamicAssetLikes/index.d.ts +8 -0
- package/build/api/server-assets/queries/useFetchDynamicAssetLikes/index.js +35 -0
- package/build/api/server-assets/queries/useFetchDynamicAssetsLikes/index.d.ts +7 -0
- package/build/api/server-assets/queries/useFetchDynamicAssetsLikes/index.js +30 -0
- package/build/api/server-collection/mutations/useDislikeCollection/index.d.ts +7 -0
- package/build/api/server-collection/mutations/useDislikeCollection/index.js +31 -0
- package/build/api/server-collection/mutations/useLikeCollection/index.d.ts +7 -0
- package/build/api/server-collection/mutations/useLikeCollection/index.js +31 -0
- package/build/api/server-experiences/queries/useFetchMyActivityStreak/index.d.ts +2 -0
- package/build/api/server-experiences/queries/useFetchMyActivityStreak/index.js +55 -0
- package/build/api/server-experiences/queries/useFetchMyExperienceWithLevel/index.d.ts +2 -0
- package/build/api/server-experiences/queries/useFetchMyExperienceWithLevel/index.js +51 -0
- package/build/api/server-experiences/queries/useFetchMyTasks/index.d.ts +31 -0
- package/build/api/server-experiences/queries/useFetchMyTasks/index.js +49 -0
- package/build/api/server-galleries/mutations/useAddAssetsToGallery/index.d.ts +7 -0
- package/build/api/server-galleries/mutations/useAddAssetsToGallery/index.js +36 -0
- package/build/api/server-galleries/mutations/useAddChangeGalleryBanner/index.d.ts +4 -0
- package/build/api/server-galleries/mutations/useAddChangeGalleryBanner/index.js +30 -0
- package/build/api/server-galleries/mutations/useAddCollectionsToGallery/index.d.ts +7 -0
- package/build/api/server-galleries/mutations/useAddCollectionsToGallery/index.js +35 -0
- package/build/api/server-galleries/mutations/useAddCreationsToGallery/index.d.ts +7 -0
- package/build/api/server-galleries/mutations/useAddCreationsToGallery/index.js +43 -0
- package/build/api/server-galleries/mutations/useCreateFavorites/index.d.ts +6 -0
- package/build/api/server-galleries/mutations/useCreateFavorites/index.js +25 -0
- package/build/api/server-galleries/mutations/useCreateGallery/index.d.ts +6 -0
- package/build/api/server-galleries/mutations/useCreateGallery/index.js +25 -0
- package/build/api/server-galleries/mutations/useDeleteGallery/index.d.ts +8 -0
- package/build/api/server-galleries/mutations/useDeleteGallery/index.js +42 -0
- package/build/api/server-galleries/mutations/useDeleteGalleryBanner/index.d.ts +5 -0
- package/build/api/server-galleries/mutations/useDeleteGalleryBanner/index.js +39 -0
- package/build/api/server-galleries/mutations/useEditGallery/index.d.ts +5 -0
- package/build/api/server-galleries/mutations/useEditGallery/index.js +23 -0
- package/build/api/server-galleries/mutations/useRemoveAssetFromGallery/index.d.ts +7 -0
- package/build/api/server-galleries/mutations/useRemoveAssetFromGallery/index.js +49 -0
- package/build/api/server-galleries/mutations/useRemoveCollectionFromGallery/index.d.ts +7 -0
- package/build/api/server-galleries/mutations/useRemoveCollectionFromGallery/index.js +44 -0
- package/build/api/server-galleries/queries/useFetchGallery/index.d.ts +16 -0
- package/build/api/server-galleries/queries/useFetchGallery/index.js +43 -0
- package/build/api/server-galleries/queries/useFetchGalleryAssets/index.d.ts +18 -0
- package/build/api/server-galleries/queries/useFetchGalleryAssets/index.js +86 -0
- package/build/api/server-galleries/queries/useFetchMyFavorites/index.d.ts +10 -0
- package/build/api/server-galleries/queries/useFetchMyFavorites/index.js +67 -0
- package/build/api/server-galleries/queries/useFetchMyGalleries/index.d.ts +10 -0
- package/build/api/server-galleries/queries/useFetchMyGalleries/index.js +69 -0
- package/build/api/server-galleries/queries/useFetchSubscribedGalleries/index.d.ts +9 -0
- package/build/api/server-galleries/queries/useFetchSubscribedGalleries/index.js +69 -0
- package/build/api/server-galleries/queries/useFetchUserFavorites/index.d.ts +11 -0
- package/build/api/server-galleries/queries/useFetchUserFavorites/index.js +65 -0
- package/build/api/server-identities/mutations/useAddWalletElrond/index.d.ts +6 -0
- package/build/api/server-identities/mutations/useAddWalletElrond/index.js +35 -0
- package/build/api/server-identities/mutations/useAddWalletFlow/index.d.ts +5 -0
- package/build/api/server-identities/mutations/useAddWalletFlow/index.js +35 -0
- package/build/api/server-identities/mutations/useAddWalletMetamask/index.d.ts +12 -0
- package/build/api/server-identities/mutations/useAddWalletMetamask/index.js +39 -0
- package/build/api/server-identities/mutations/useAddWalletSolana/index.d.ts +5 -0
- package/build/api/server-identities/mutations/useAddWalletSolana/index.js +35 -0
- package/build/api/server-identities/mutations/useAddWalletTezos/index.d.ts +5 -0
- package/build/api/server-identities/mutations/useAddWalletTezos/index.js +35 -0
- package/build/api/server-identities/mutations/useAddWalletTon/index.d.ts +6 -0
- package/build/api/server-identities/mutations/useAddWalletTon/index.js +35 -0
- package/build/api/server-identities/mutations/useFollowProfile/index.d.ts +7 -0
- package/build/api/server-identities/mutations/useFollowProfile/index.js +40 -0
- package/build/api/server-identities/mutations/useGenerateNewInviteCodes/index.d.ts +7 -0
- package/build/api/server-identities/mutations/useGenerateNewInviteCodes/index.js +31 -0
- package/build/api/server-identities/mutations/useInviteCode/index.d.ts +7 -0
- package/build/api/server-identities/mutations/useInviteCode/index.js +34 -0
- package/build/api/server-identities/mutations/useRemoveWallet/index.d.ts +6 -0
- package/build/api/server-identities/mutations/useRemoveWallet/index.js +37 -0
- package/build/api/server-identities/mutations/useRevokeToken/index.d.ts +4 -0
- package/build/api/server-identities/mutations/useRevokeToken/index.js +21 -0
- package/build/api/server-identities/mutations/useSaveEmailOfJoiner/index.d.ts +7 -0
- package/build/api/server-identities/mutations/useSaveEmailOfJoiner/index.js +34 -0
- package/build/api/server-identities/mutations/useUnfollowProfile/index.d.ts +7 -0
- package/build/api/server-identities/mutations/useUnfollowProfile/index.js +39 -0
- package/build/api/server-identities/queries/useFetchProfile/index.d.ts +16 -0
- package/build/api/server-identities/queries/useFetchProfile/index.js +83 -0
- package/build/api/server-identities/queries/useFetchUserWallets/index.d.ts +10 -0
- package/build/api/server-identities/queries/useFetchUserWallets/index.js +24 -0
- package/build/api/server-medias/mutations/useDeleteUserpic/index.d.ts +6 -0
- package/build/api/server-medias/mutations/useDeleteUserpic/index.js +20 -0
- package/build/api/server-medias/mutations/useUploadUserpic/index.d.ts +4 -0
- package/build/api/server-medias/mutations/useUploadUserpic/index.js +27 -0
- package/build/api/server-medias/queries/useFetchUserPic/index.d.ts +12 -0
- package/build/api/server-medias/queries/useFetchUserPic/index.js +39 -0
- package/build/api/server-opportunities/mutations/useCopyOpportunityShareLink/index.d.ts +5 -0
- package/build/api/server-opportunities/mutations/useCopyOpportunityShareLink/index.js +28 -0
- package/build/api/server-opportunities/mutations/useDislikeOpportunity.d.ts +4 -0
- package/build/api/server-opportunities/mutations/useDislikeOpportunity.js +29 -0
- package/build/api/server-opportunities/mutations/useLikeOpportunity.d.ts +4 -0
- package/build/api/server-opportunities/mutations/useLikeOpportunity.js +29 -0
- package/build/api/server-opportunities/mutations/useOpenOpportunity/index.d.ts +5 -0
- package/build/api/server-opportunities/mutations/useOpenOpportunity/index.js +28 -0
- package/build/api/server-opportunities/queries/useGetOpportunities.d.ts +4 -0
- package/build/api/server-opportunities/queries/useGetOpportunities.js +41 -0
- package/build/api/server-preferences/mutations/useSaveUserExpectations/index.d.ts +4 -0
- package/build/api/server-preferences/mutations/useSaveUserExpectations/index.js +43 -0
- package/build/api/server-preferences/mutations/useSaveUserInterests/index.d.ts +4 -0
- package/build/api/server-preferences/mutations/useSaveUserInterests/index.js +43 -0
- package/build/api/server-preferences/queries/fetchSearchResultSelections/index.d.ts +28 -0
- package/build/api/server-preferences/queries/fetchSearchResultSelections/index.js +33 -0
- package/build/api/server-preferences/queries/fetchSearchResultSelections/queryData.d.ts +13 -0
- package/build/api/server-preferences/queries/fetchSearchResultSelections/queryData.js +37 -0
- package/build/api/server-preferences/queries/useFetchExpectations/index.d.ts +7 -0
- package/build/api/server-preferences/queries/useFetchExpectations/index.js +20 -0
- package/build/api/server-preferences/queries/useFetchInterests/index.d.ts +7 -0
- package/build/api/server-preferences/queries/useFetchInterests/index.js +20 -0
- package/build/api/server-preferences/queries/useFetchSearchResultTimeSelection/index.d.ts +12 -0
- package/build/api/server-preferences/queries/useFetchSearchResultTimeSelection/index.js +40 -0
- package/build/api/server-preferences/queries/useFetchUserInterests/index.d.ts +7 -0
- package/build/api/server-preferences/queries/useFetchUserInterests/index.js +21 -0
- package/build/api/server-preferences/queries/useSearchResultBlockchainSelections/index.d.ts +13 -0
- package/build/api/server-preferences/queries/useSearchResultBlockchainSelections/index.js +41 -0
- package/build/api/server-preferences/queries/useSearchResultCategorySelections/index.d.ts +13 -0
- package/build/api/server-preferences/queries/useSearchResultCategorySelections/index.js +40 -0
- package/build/api/server-preferences/queries/useSearchResultStatusSelections/index.d.ts +14 -0
- package/build/api/server-preferences/queries/useSearchResultStatusSelections/index.js +41 -0
- package/build/api/server-preferences/queries/useSearchResultTypeSelections/index.d.ts +13 -0
- package/build/api/server-preferences/queries/useSearchResultTypeSelections/index.js +48 -0
- package/build/api/server-search/queries/useFetchAllCreations/index.d.ts +32 -0
- package/build/api/server-search/queries/useFetchAllCreations/index.js +91 -0
- package/build/api/server-search/queries/useFetchAssetsCount/index.d.ts +7 -0
- package/build/api/server-search/queries/useFetchAssetsCount/index.js +33 -0
- package/build/api/server-search/queries/useFetchCollections/index.d.ts +23 -0
- package/build/api/server-search/queries/useFetchCollections/index.js +99 -0
- package/build/api/server-search/queries/useFetchDynamicCollectionData/index.d.ts +13 -0
- package/build/api/server-search/queries/useFetchDynamicCollectionData/index.js +123 -0
- package/build/api/server-search/queries/useFetchFindAllTopEntitiesByName/index.d.ts +47 -0
- package/build/api/server-search/queries/useFetchFindAllTopEntitiesByName/index.js +56 -0
- package/build/api/server-search/queries/useFetchLudoNftsTonPage/index.d.ts +15 -0
- package/build/api/server-search/queries/useFetchLudoNftsTonPage/index.js +105 -0
- package/build/api/server-search/queries/useFetchNetWorth/index.d.ts +7 -0
- package/build/api/server-search/queries/useFetchNetWorth/index.js +23 -0
- package/build/api/server-search/queries/useFindCreations/index.d.ts +34 -0
- package/build/api/server-search/queries/useFindCreations/index.js +104 -0
- package/build/api/server-search/queries/useFindProfilesByName/index.d.ts +32 -0
- package/build/api/server-search/queries/useFindProfilesByName/index.js +59 -0
- package/build/api/server-search/queries/useFindShowcaseItems/index.d.ts +2 -0
- package/build/api/server-search/queries/useFindShowcaseItems/index.js +42 -0
- package/build/api/server-search/queries/useFindUserCreations/index.d.ts +16 -0
- package/build/api/server-search/queries/useFindUserCreations/index.js +95 -0
- package/build/api/server-search/queries/useFindUserLudoCreations/index.d.ts +15 -0
- package/build/api/server-search/queries/useFindUserLudoCreations/index.js +93 -0
- package/build/api/server-search/queries/useFindUserShowcaseItems/index.d.ts +2 -0
- package/build/api/server-search/queries/useFindUserShowcaseItems/index.js +40 -0
- package/build/api/subscriptions/SubscriberInviteNotification.d.ts +1 -0
- package/build/api/subscriptions/SubscriberInviteNotification.js +53 -0
- package/build/api/subscriptions/SubscriberNotifications.d.ts +1 -0
- package/build/api/subscriptions/SubscriberNotifications.js +29 -0
- package/build/api/subscriptions/SubscriberOpportunityNotification.d.ts +1 -0
- package/build/api/subscriptions/SubscriberOpportunityNotification.js +75 -0
- package/build/api/subscriptions/SubscriptionNotificationSPA.d.ts +11 -0
- package/build/api/subscriptions/SubscriptionNotificationSPA.js +142 -0
- package/build/api/subscriptions/noContent.d.ts +1 -0
- package/build/api/subscriptions/noContent.js +6 -0
- package/build/components/Page404/Page404SPA.d.ts +3 -0
- package/build/components/Page404/Page404SPA.js +67 -0
- package/build/components/Page404/index.d.ts +2 -0
- package/build/components/Page404/index.js +27 -0
- package/build/components/Page500/index.d.ts +2 -0
- package/build/components/Page500/index.js +87 -0
- package/build/components/assetPage/assetLikes/index.d.ts +6 -0
- package/build/components/assetPage/assetLikes/index.js +58 -0
- package/build/components/assetPage/assetNft/index.d.ts +4 -0
- package/build/components/assetPage/assetNft/index.js +37 -0
- package/build/components/assetPage/audioVideoPlayer/Duration.d.ts +5 -0
- package/build/components/assetPage/audioVideoPlayer/Duration.js +22 -0
- package/build/components/assetPage/audioVideoPlayer/index.d.ts +96 -0
- package/build/components/assetPage/audioVideoPlayer/index.js +308 -0
- package/build/components/assetPage/category/index.d.ts +4 -0
- package/build/components/assetPage/category/index.js +58 -0
- package/build/components/assetPage/index.d.ts +5 -0
- package/build/components/assetPage/index.js +13 -0
- package/build/components/assetPage/information/index.d.ts +4 -0
- package/build/components/assetPage/information/index.js +114 -0
- package/build/components/assetPage/marketPlaces/index.d.ts +4 -0
- package/build/components/assetPage/marketPlaces/index.js +57 -0
- package/build/components/assetPage/media/AssetImage/index.d.ts +8 -0
- package/build/components/assetPage/media/AssetImage/index.js +187 -0
- package/build/components/assetPage/moreDropDown/index.d.ts +10 -0
- package/build/components/assetPage/moreDropDown/index.js +152 -0
- package/build/components/assetPage/properties/index.d.ts +4 -0
- package/build/components/assetPage/properties/index.js +42 -0
- package/build/components/assetPage/slider/store.d.ts +8 -0
- package/build/components/assetPage/slider/store.js +16 -0
- package/build/components/assetPage/viewer3D/index.d.ts +7 -0
- package/build/components/assetPage/viewer3D/index.js +124 -0
- package/build/components/base/Meta/index.d.ts +2 -0
- package/build/components/base/Meta/index.js +24 -0
- package/build/components/base/NoSSR/index.d.ts +5 -0
- package/build/components/base/NoSSR/index.js +11 -0
- package/build/components/base/PageHead/index.d.ts +8 -0
- package/build/components/base/PageHead/index.js +13 -0
- package/build/components/base/UserStreak/index.d.ts +7 -0
- package/build/components/base/UserStreak/index.js +161 -0
- package/build/components/favoriteList/add/addCreationToFavoriteList/index.d.ts +7 -0
- package/build/components/favoriteList/add/addCreationToFavoriteList/index.js +28 -0
- package/build/components/gallery/add/addCreationToGallery/index.d.ts +2 -0
- package/build/components/gallery/add/addCreationToGallery/index.js +48 -0
- package/build/components/headers/components/MobileToggle/index.d.ts +0 -0
- package/build/components/headers/components/MobileToggle/index.js +1 -0
- package/build/components/headers/components/headerExperienceLabel/index.d.ts +4 -0
- package/build/components/headers/components/headerExperienceLabel/index.js +34 -0
- package/build/components/headers/components/headerStreak/index.d.ts +6 -0
- package/build/components/headers/components/headerStreak/index.js +21 -0
- package/build/components/headers/components/headerUserPic/index.d.ts +4 -0
- package/build/components/headers/components/headerUserPic/index.js +29 -0
- package/build/components/headers/header/index.d.ts +2 -0
- package/build/components/headers/header/index.js +36 -0
- package/build/components/headers/headerSearch/index.d.ts +5 -0
- package/build/components/headers/headerSearch/index.js +42 -0
- package/build/components/headers/headerSimple/index.d.ts +2 -0
- package/build/components/headers/headerSimple/index.js +78 -0
- package/build/components/linkTabs/index.d.ts +8 -0
- package/build/components/linkTabs/index.js +51 -0
- package/build/components/linkTabs/linkTab/index.d.ts +9 -0
- package/build/components/linkTabs/linkTab/index.js +74 -0
- package/build/components/myWallets/index.d.ts +9 -0
- package/build/components/myWallets/index.js +24 -0
- package/build/components/myWallets/myWalletItem/index.d.ts +10 -0
- package/build/components/myWallets/myWalletItem/index.js +56 -0
- package/build/components/myWallets/myWalletItem/myWalletItemCheckBox/index.d.ts +8 -0
- package/build/components/myWallets/myWalletItem/myWalletItemCheckBox/index.js +16 -0
- package/build/components/profile/profileSkeleton/index.d.ts +4 -0
- package/build/components/profile/profileSkeleton/index.js +75 -0
- package/build/components/search/SearchInputContainer.d.ts +26 -0
- package/build/components/search/SearchInputContainer.js +237 -0
- package/build/components/search/searchCloseMoreButtons/index.d.ts +14 -0
- package/build/components/search/searchCloseMoreButtons/index.js +64 -0
- package/build/components/search/searchSimpleInput/index.d.ts +4 -0
- package/build/components/search/searchSimpleInput/index.js +139 -0
- package/build/components/search/searchSuggestions/index.d.ts +14 -0
- package/build/components/search/searchSuggestions/index.js +112 -0
- package/build/components/search/searchSuggestions/searchSuggestionsCaption/index.d.ts +7 -0
- package/build/components/search/searchSuggestions/searchSuggestionsCaption/index.js +45 -0
- package/build/components/search/searchSuggestions/searchSuggestionsFooter/index.d.ts +2 -0
- package/build/components/search/searchSuggestions/searchSuggestionsFooter/index.js +52 -0
- package/build/components/search/searchSuggestions/searchSuggestionsItem/index.d.ts +12 -0
- package/build/components/search/searchSuggestions/searchSuggestionsItem/index.js +128 -0
- package/build/components/search/searchSuggestions/searchSuggestionsItem/searchSuggestionsItemSkeleton/index.d.ts +3 -0
- package/build/components/search/searchSuggestions/searchSuggestionsItem/searchSuggestionsItemSkeleton/index.js +116 -0
- package/build/components/search/searchSuggestions/searchSuggestionsNotFound/index.d.ts +4 -0
- package/build/components/search/searchSuggestions/searchSuggestionsNotFound/index.js +46 -0
- package/build/components/searchFiltersConnector/filters/applyResetBtns/index.d.ts +5 -0
- package/build/components/searchFiltersConnector/filters/applyResetBtns/index.js +55 -0
- package/build/components/searchFiltersConnector/filters/galleriesFiltersForm/index.d.ts +10 -0
- package/build/components/searchFiltersConnector/filters/galleriesFiltersForm/index.js +60 -0
- package/build/components/searchFiltersConnector/filters/index.d.ts +11 -0
- package/build/components/searchFiltersConnector/filters/index.js +158 -0
- package/build/components/searchFiltersConnector/filters/mobileFilters/index.d.ts +5 -0
- package/build/components/searchFiltersConnector/filters/mobileFilters/index.js +25 -0
- package/build/components/searchFiltersConnector/filters/setsFiltersForm/index.d.ts +9 -0
- package/build/components/searchFiltersConnector/filters/setsFiltersForm/index.js +53 -0
- package/build/components/searchFiltersConnector/index.d.ts +10 -0
- package/build/components/searchFiltersConnector/index.js +116 -0
- package/build/components/shareDialog/index.d.ts +34 -0
- package/build/components/shareDialog/index.js +92 -0
- package/build/components/sidebar/data.d.ts +6 -0
- package/build/components/sidebar/data.js +121 -0
- package/build/components/sidebar/icons.d.ts +9 -0
- package/build/components/sidebar/icons.js +22 -0
- package/build/components/sidebar/index.d.ts +2 -0
- package/build/components/sidebar/index.js +133 -0
- package/build/components/sidebar/initializer.d.ts +1 -0
- package/build/components/sidebar/initializer.js +36 -0
- package/build/components/sidebar/sidebarFilters/index.d.ts +7 -0
- package/build/components/sidebar/sidebarFilters/index.js +51 -0
- package/build/components/sidebar/sidebarInviteCodeLabel/index.d.ts +2 -0
- package/build/components/sidebar/sidebarInviteCodeLabel/index.js +49 -0
- package/build/components/sidebar/sidebarSpa.d.ts +10 -0
- package/build/components/sidebar/sidebarSpa.js +132 -0
- package/build/components/toTopBtn/index.d.ts +5 -0
- package/build/components/toTopBtn/index.js +95 -0
- package/build/dto/AssetEntity/index.d.ts +63 -0
- package/build/dto/AssetEntity/index.js +208 -0
- package/build/dto/AssetEntity/interface.d.ts +39 -0
- package/build/dto/AssetEntity/interface.js +2 -0
- package/build/dto/AssetEntity/views/AssetAudio/index.d.ts +11 -0
- package/build/dto/AssetEntity/views/AssetAudio/index.js +32 -0
- package/build/dto/AssetEntity/views/AssetImage/index.d.ts +12 -0
- package/build/dto/AssetEntity/views/AssetImage/index.js +44 -0
- package/build/dto/AssetEntity/views/AssetObject/index.d.ts +13 -0
- package/build/dto/AssetEntity/views/AssetObject/index.js +64 -0
- package/build/dto/AssetEntity/views/AssetOther/index.d.ts +13 -0
- package/build/dto/AssetEntity/views/AssetOther/index.js +47 -0
- package/build/dto/AssetEntity/views/AssetScreenshot/index.d.ts +12 -0
- package/build/dto/AssetEntity/views/AssetScreenshot/index.js +44 -0
- package/build/dto/AssetEntity/views/AssetVideo/index.d.ts +11 -0
- package/build/dto/AssetEntity/views/AssetVideo/index.js +32 -0
- package/build/dto/AssetEntity/views/index.d.ts +6 -0
- package/build/dto/AssetEntity/views/index.js +16 -0
- package/build/dto/AssetSearchEntity/index.d.ts +60 -0
- package/build/dto/AssetSearchEntity/index.js +164 -0
- package/build/dto/AssetSearchEntity/interface.d.ts +36 -0
- package/build/dto/AssetSearchEntity/interface.js +2 -0
- package/build/dto/Collection/CollectionCreationEntity/index.d.ts +45 -0
- package/build/dto/Collection/CollectionCreationEntity/index.js +173 -0
- package/build/dto/Collection/CollectionCreationEntity/interface.d.ts +24 -0
- package/build/dto/Collection/CollectionCreationEntity/interface.js +2 -0
- package/build/dto/Collection/CollectionEntity/index.d.ts +32 -0
- package/build/dto/Collection/CollectionEntity/index.js +82 -0
- package/build/dto/Collection/CollectionEntity/interface.d.ts +16 -0
- package/build/dto/Collection/CollectionEntity/interface.js +2 -0
- package/build/dto/CreationEntity/index.d.ts +49 -0
- package/build/dto/CreationEntity/index.js +178 -0
- package/build/dto/CreationEntity/interface.d.ts +30 -0
- package/build/dto/CreationEntity/interface.js +2 -0
- package/build/dto/GalleryEntityV2/index.d.ts +32 -0
- package/build/dto/GalleryEntityV2/index.js +80 -0
- package/build/dto/GalleryEntityV2/interface.d.ts +16 -0
- package/build/dto/GalleryEntityV2/interface.js +2 -0
- package/build/dto/Theme/interface.d.ts +2 -0
- package/build/dto/Theme/interface.js +5 -0
- package/build/dto/common/ItemType/data.d.ts +3 -0
- package/build/dto/common/ItemType/data.js +41 -0
- package/build/dto/common/ItemType/index.d.ts +49 -0
- package/build/dto/common/ItemType/index.js +46 -0
- package/build/dto/common/ItemViews/CreationAudio/index.d.ts +8 -0
- package/build/dto/common/ItemViews/CreationAudio/index.js +28 -0
- package/build/dto/common/ItemViews/CreationImage/index.d.ts +9 -0
- package/build/dto/common/ItemViews/CreationImage/index.js +39 -0
- package/build/dto/common/ItemViews/CreationObject/index.d.ts +7 -0
- package/build/dto/common/ItemViews/CreationObject/index.js +30 -0
- package/build/dto/common/ItemViews/CreationOther/index.d.ts +8 -0
- package/build/dto/common/ItemViews/CreationOther/index.js +28 -0
- package/build/dto/common/ItemViews/CreationVideo/index.d.ts +8 -0
- package/build/dto/common/ItemViews/CreationVideo/index.js +28 -0
- package/build/dto/common/Media/Audio/index.d.ts +15 -0
- package/build/dto/common/Media/Audio/index.js +40 -0
- package/build/dto/common/Media/Image/index.d.ts +15 -0
- package/build/dto/common/Media/Image/index.js +48 -0
- package/build/dto/common/Media/Object/index.d.ts +15 -0
- package/build/dto/common/Media/Object/index.js +49 -0
- package/build/dto/common/Media/Other/index.d.ts +15 -0
- package/build/dto/common/Media/Other/index.js +68 -0
- package/build/dto/common/Media/Screenshot/index.d.ts +15 -0
- package/build/dto/common/Media/Screenshot/index.js +48 -0
- package/build/dto/common/Media/Urls/index.d.ts +31 -0
- package/build/dto/common/Media/Urls/index.js +125 -0
- package/build/dto/common/Media/Video/index.d.ts +15 -0
- package/build/dto/common/Media/Video/index.js +40 -0
- package/build/dto/common/Media/index.d.ts +28 -0
- package/build/dto/common/Media/index.js +45 -0
- package/build/dto/common/Media/interface.d.ts +30 -0
- package/build/dto/common/Media/interface.js +2 -0
- package/build/entities/asset/AssetMediasViews.d.ts +4 -0
- package/build/entities/asset/AssetMediasViews.js +54 -0
- package/build/entities/asset/builder.d.ts +3 -0
- package/build/entities/asset/builder.js +67 -0
- package/build/entities/asset/getAssetMediasOpengraph.d.ts +5 -0
- package/build/entities/asset/getAssetMediasOpengraph.js +39 -0
- package/build/entities/asset/getAssetMiniatureUrl.d.ts +7 -0
- package/build/entities/asset/getAssetMiniatureUrl.js +31 -0
- package/build/entities/asset/types.d.ts +37 -0
- package/build/entities/asset/types.js +2 -0
- package/build/entities/collection/builder.d.ts +3 -0
- package/build/entities/collection/builder.js +31 -0
- package/build/entities/collection/types.d.ts +17 -0
- package/build/entities/collection/types.js +2 -0
- package/build/entities/creation/CreationMediaView.d.ts +6 -0
- package/build/entities/creation/CreationMediaView.js +81 -0
- package/build/entities/creation/builder.d.ts +3 -0
- package/build/entities/creation/builder.js +63 -0
- package/build/entities/creation/collectionCreationBuilder.d.ts +3 -0
- package/build/entities/creation/collectionCreationBuilder.js +26 -0
- package/build/entities/creation/types.d.ts +23 -0
- package/build/entities/creation/types.js +2 -0
- package/build/entities/gallery/builder.d.ts +3 -0
- package/build/entities/gallery/builder.js +35 -0
- package/build/entities/gallery/types.d.ts +18 -0
- package/build/entities/gallery/types.js +2 -0
- package/build/entities/labelCreationType/data.d.ts +3 -0
- package/build/entities/labelCreationType/data.js +41 -0
- package/build/entities/labelCreationType/types.d.ts +49 -0
- package/build/entities/labelCreationType/types.js +46 -0
- package/build/entities/media/builder.d.ts +11 -0
- package/build/entities/media/builder.js +29 -0
- package/build/entities/media/getMediaVariant.d.ts +4 -0
- package/build/entities/media/getMediaVariant.js +44 -0
- package/build/entities/media/types.d.ts +17 -0
- package/build/entities/media/types.js +12 -0
- package/build/entities/media/urls.d.ts +31 -0
- package/build/entities/media/urls.js +125 -0
- package/build/entities/user/type.d.ts +5 -0
- package/build/entities/user/type.js +2 -0
- package/build/fonts/FontsInitializeLayout.d.ts +12 -0
- package/build/fonts/FontsInitializeLayout.js +164 -0
- package/build/fonts/vars.d.ts +1 -0
- package/build/fonts/vars.js +6 -0
- package/build/hoc/HOCSignUpInterceptor/CircleSvg.d.ts +1 -0
- package/build/hoc/HOCSignUpInterceptor/CircleSvg.js +6 -0
- package/build/hoc/HOCSignUpInterceptor/HOCSignUpInterceptor.d.ts +2 -0
- package/build/hoc/HOCSignUpInterceptor/HOCSignUpInterceptor.js +103 -0
- package/build/hooks/apollo/index.d.ts +1 -0
- package/build/hooks/apollo/index.js +24 -0
- package/build/hooks/audio/useMultiAudio/index.d.ts +2 -0
- package/build/hooks/audio/useMultiAudio/index.js +47 -0
- package/build/hooks/extension/useExtension/index.d.ts +7 -0
- package/build/hooks/extension/useExtension/index.js +32 -0
- package/build/hooks/favorites/useGetFavoriteGallaryCreations/index.d.ts +22 -0
- package/build/hooks/favorites/useGetFavoriteGallaryCreations/index.js +128 -0
- package/build/hooks/favorites/useGetUserFevoritesCreations/index.d.ts +23 -0
- package/build/hooks/favorites/useGetUserFevoritesCreations/index.js +175 -0
- package/build/hooks/galleries/useGetUserGalleriesCreations/index.d.ts +23 -0
- package/build/hooks/galleries/useGetUserGalleriesCreations/index.js +164 -0
- package/build/hooks/likes/dynamic/useFindCollectionsAndLikes.d.ts +29 -0
- package/build/hooks/likes/dynamic/useFindCollectionsAndLikes.js +151 -0
- package/build/hooks/likes/dynamic/useFindCreationsAndLikes.d.ts +15 -0
- package/build/hooks/likes/dynamic/useFindCreationsAndLikes.js +125 -0
- package/build/hooks/likes/dynamic/useGetCollectionInfoAndLikes.d.ts +14 -0
- package/build/hooks/likes/dynamic/useGetCollectionInfoAndLikes.js +128 -0
- package/build/hooks/likes/dynamic/useGetCreationsAndLikes.d.ts +17 -0
- package/build/hooks/likes/dynamic/useGetCreationsAndLikes.js +134 -0
- package/build/hooks/likes/dynamic/useGetCreationsAndLikesByType.d.ts +16 -0
- package/build/hooks/likes/dynamic/useGetCreationsAndLikesByType.js +151 -0
- package/build/hooks/likes/dynamic/useGetMixedLikesFavoriteList.d.ts +18 -0
- package/build/hooks/likes/dynamic/useGetMixedLikesFavoriteList.js +48 -0
- package/build/hooks/likes/dynamic/useGetTableLikes.d.ts +14 -0
- package/build/hooks/likes/dynamic/useGetTableLikes.js +110 -0
- package/build/hooks/likes/index.d.ts +19 -0
- package/build/hooks/likes/index.js +113 -0
- package/build/hooks/likes/useGetLikesAsset.d.ts +20 -0
- package/build/hooks/likes/useGetLikesAsset.js +97 -0
- package/build/index.d.ts +0 -0
- package/build/index.js +1 -0
- package/build/layouts/AppLayout.d.ts +6 -0
- package/build/layouts/AppLayout.js +24 -0
- package/build/layouts/GlobalLayout.d.ts +4 -0
- package/build/layouts/GlobalLayout.js +34 -0
- package/build/layouts/base/LWithRegularHeader/index.d.ts +3 -0
- package/build/layouts/base/LWithRegularHeader/index.js +16 -0
- package/build/layouts/base/LWithRegularHeader/type.d.ts +5 -0
- package/build/layouts/base/LWithRegularHeader/type.js +2 -0
- package/build/layouts/base/LWithSearchHeader/index.d.ts +3 -0
- package/build/layouts/base/LWithSearchHeader/index.js +12 -0
- package/build/layouts/base/LWithSearchHeader/type.d.ts +5 -0
- package/build/layouts/base/LWithSearchHeader/type.js +2 -0
- package/build/layouts/custom/mainLayout/index.d.ts +3 -0
- package/build/layouts/custom/mainLayout/index.js +17 -0
- package/build/layouts/custom/styles.d.ts +2 -0
- package/build/layouts/custom/styles.js +46 -0
- package/build/layouts/pageTransitionLayout.d.ts +6 -0
- package/build/layouts/pageTransitionLayout.js +23 -0
- package/build/layouts/pageWithLayout.d.ts +9 -0
- package/build/layouts/pageWithLayout.js +2 -0
- package/build/modules/gallery/api/useGetAssetsAndCollectionForFavorite.d.ts +19 -0
- package/build/modules/gallery/api/useGetAssetsAndCollectionForFavorite.js +213 -0
- package/build/modules/gallery/api/useGetFavoriteGallery.d.ts +6 -0
- package/build/modules/gallery/api/useGetFavoriteGallery.js +40 -0
- package/build/modules/gallery/store.d.ts +26 -0
- package/build/modules/gallery/store.js +97 -0
- package/build/modules/gallery/ui/AllResults.d.ts +3 -0
- package/build/modules/gallery/ui/AllResults.js +12 -0
- package/build/modules/gallery/ui/Description.d.ts +4 -0
- package/build/modules/gallery/ui/Description.js +101 -0
- package/build/modules/gallery/ui/EditGallery.d.ts +9 -0
- package/build/modules/gallery/ui/EditGallery.js +51 -0
- package/build/modules/gallery/ui/GalleryDeleteIcon.d.ts +4 -0
- package/build/modules/gallery/ui/GalleryDeleteIcon.js +30 -0
- package/build/modules/gallery/ui/PlaceholderItemsGallery.d.ts +1 -0
- package/build/modules/gallery/ui/PlaceholderItemsGallery.js +71 -0
- package/build/modules/gallery/ui/STopSections.d.ts +1 -0
- package/build/modules/gallery/ui/STopSections.js +31 -0
- package/build/modules/gallery/ui/chooseGalleryItems/chooseGalleryItem/index.d.ts +7 -0
- package/build/modules/gallery/ui/chooseGalleryItems/chooseGalleryItem/index.js +97 -0
- package/build/modules/gallery/ui/chooseGalleryItems/index.d.ts +15 -0
- package/build/modules/gallery/ui/chooseGalleryItems/index.js +160 -0
- package/build/modules/gallery/ui/createGalleryForm/index.d.ts +12 -0
- package/build/modules/gallery/ui/createGalleryForm/index.js +140 -0
- package/build/modules/gallery/ui/editGalleryForm/index.d.ts +8 -0
- package/build/modules/gallery/ui/editGalleryForm/index.js +192 -0
- package/build/modules/gallery/ui/itemsPreview/index.d.ts +19 -0
- package/build/modules/gallery/ui/itemsPreview/index.js +279 -0
- package/build/modules/gallery/useToGalleryAsset.d.ts +18 -0
- package/build/modules/gallery/useToGalleryAsset.js +88 -0
- package/build/modules/notifications/CreatorNotifications.d.ts +1 -0
- package/build/modules/notifications/CreatorNotifications.js +41 -0
- package/build/modules/notifications/index.d.ts +17 -0
- package/build/modules/notifications/index.js +7 -0
- package/build/modules/opportunity/OpportunityCard.d.ts +5 -0
- package/build/modules/opportunity/OpportunityCard.js +261 -0
- package/build/modules/opportunity/OpportunityDropDown.d.ts +5 -0
- package/build/modules/opportunity/OpportunityDropDown.js +42 -0
- package/build/modules/opportunity/ShareIcon.d.ts +1 -0
- package/build/modules/opportunity/ShareIcon.js +6 -0
- package/build/modules/opportunity/encodeQuery.d.ts +14 -0
- package/build/modules/opportunity/encodeQuery.js +31 -0
- package/build/modules/opportunity/popup/CopyIcon.d.ts +8 -0
- package/build/modules/opportunity/popup/CopyIcon.js +7 -0
- package/build/modules/opportunity/popup/FacebookIcon.d.ts +8 -0
- package/build/modules/opportunity/popup/FacebookIcon.js +7 -0
- package/build/modules/opportunity/popup/LinkedInIcon.d.ts +8 -0
- package/build/modules/opportunity/popup/LinkedInIcon.js +7 -0
- package/build/modules/opportunity/popup/LogoXIcon.d.ts +8 -0
- package/build/modules/opportunity/popup/LogoXIcon.js +7 -0
- package/build/modules/opportunity/popup/OpportunityMenu.d.ts +8 -0
- package/build/modules/opportunity/popup/OpportunityMenu.js +204 -0
- package/build/modules/opportunity/type.d.ts +2 -0
- package/build/modules/opportunity/type.js +2 -0
- package/build/modules/sessionScroll/globalTabs.d.ts +12 -0
- package/build/modules/sessionScroll/globalTabs.js +50 -0
- package/build/modules/sessionScroll/index.d.ts +14 -0
- package/build/modules/sessionScroll/index.js +62 -0
- package/build/modules/sessionScroll/type.d.ts +7 -0
- package/build/modules/sessionScroll/type.js +2 -0
- package/build/modules/sessionScroll/useVirtuosoInitialScroll.d.ts +12 -0
- package/build/modules/sessionScroll/useVirtuosoInitialScroll.js +59 -0
- package/build/modules/user/auth/HOCAuthSearchParamsLocalhostInterceptor.d.ts +3 -0
- package/build/modules/user/auth/HOCAuthSearchParamsLocalhostInterceptor.js +34 -0
- package/build/modules/user/auth/useAuthVerification.d.ts +1 -0
- package/build/modules/user/auth/useAuthVerification.js +18 -0
- package/build/modules/user/auth/useSignIn.d.ts +2 -0
- package/build/modules/user/auth/useSignIn.js +23 -0
- package/build/modules/user/auth/useSignOut.d.ts +1 -0
- package/build/modules/user/auth/useSignOut.js +42 -0
- package/build/modules/user/auth/useVerification.d.ts +1 -0
- package/build/modules/user/auth/useVerification.js +67 -0
- package/build/modules/user/profileData/profileDataInitialization.d.ts +1 -0
- package/build/modules/user/profileData/profileDataInitialization.js +69 -0
- package/build/modules/user/store.d.ts +42 -0
- package/build/modules/user/store.js +97 -0
- package/build/modules/virtuoso/VirtuosoPageBuilder.d.ts +19 -0
- package/build/modules/virtuoso/VirtuosoPageBuilder.js +135 -0
- package/build/modules/virtuoso/VirtuosoToTopBtn.d.ts +9 -0
- package/build/modules/virtuoso/VirtuosoToTopBtn.js +38 -0
- package/build/modules/virtuoso/types.d.ts +4 -0
- package/build/modules/virtuoso/types.js +2 -0
- package/build/modules/virtuoso/useSubscribeVirtuosoScrollToHeader.d.ts +3 -0
- package/build/modules/virtuoso/useSubscribeVirtuosoScrollToHeader.js +27 -0
- package/build/modules/virtuoso/useVirtuosoData.d.ts +12 -0
- package/build/modules/virtuoso/useVirtuosoData.js +49 -0
- package/build/public/MobileSearchBtn/close.js +25 -0
- package/build/public/MobileSearchBtn/search.js +31 -0
- package/build/public/MobileSearchBtn/test/pirate.js +36 -0
- package/build/public/MobileSearchBtn/test/squircle.js +36 -0
- package/build/public/assetPage/audioPlaceholder.js +116 -0
- package/build/public/assetPage/details.js +31 -0
- package/build/public/assetPage/favorite.js +22 -0
- package/build/public/assetPage/favorite_hover.js +24 -0
- package/build/public/assetPage/flag.js +32 -0
- package/build/public/assetPage/fullScreen.js +24 -0
- package/build/public/assetPage/owners.js +27 -0
- package/build/public/assetPage/pause.js +25 -0
- package/build/public/assetPage/play.js +23 -0
- package/build/public/assetPage/share.js +26 -0
- package/build/public/assetPage/share2.js +25 -0
- package/build/public/assetPage/share2_hover.js +25 -0
- package/build/public/assetPage/shareWithDots.js +40 -0
- package/build/public/assetPage/shareWithDots_hover.js +40 -0
- package/build/public/assetPage/share_hover.js +24 -0
- package/build/public/assetPage/soundOf.js +24 -0
- package/build/public/assetPage/soundOn.js +24 -0
- package/build/public/calendar.js +24 -0
- package/build/public/cards/addToFavListIcon.js +30 -0
- package/build/public/cards/addToGalleryIcon.js +22 -0
- package/build/public/cards/heart.js +20 -0
- package/build/public/cardsHolderLoader/loader.js +25 -0
- package/build/public/checkbox-on.js +34 -0
- package/build/public/checkboxArrow.js +25 -0
- package/build/public/close.js +25 -0
- package/build/public/close20.js +25 -0
- package/build/public/collectionPage/export.js +25 -0
- package/build/public/copied.js +30 -0
- package/build/public/copy-icon-new.js +31 -0
- package/build/public/creation/card/moreBtn.js +24 -0
- package/build/public/creation/card/moreBtnVertical.js +28 -0
- package/build/public/creation/card/moreBtn_hover.js +28 -0
- package/build/public/dropDown/arrow_down.js +24 -0
- package/build/public/dropdown-arrow-down.js +22 -0
- package/build/public/dropdown-arrow-up.js +22 -0
- package/build/public/error/refresh.js +29 -0
- package/build/public/favicon.ico +0 -0
- package/build/public/favicon.png +0 -0
- package/build/public/follower.js +27 -0
- package/build/public/fonts/dm-sans-v15-latin-500.woff2 +0 -0
- package/build/public/fonts/dm-sans-v15-latin-500italic.woff2 +0 -0
- package/build/public/fonts/dm-sans-v15-latin-600.woff2 +0 -0
- package/build/public/fonts/dm-sans-v15-latin-600italic.woff2 +0 -0
- package/build/public/fonts/dm-sans-v15-latin-700.woff2 +0 -0
- package/build/public/fonts/dm-sans-v15-latin-700italic.woff2 +0 -0
- package/build/public/fonts/dm-sans-v15-latin-italic.woff2 +0 -0
- package/build/public/fonts/dm-sans-v15-latin-regular.woff2 +0 -0
- package/build/public/fonts/poppins-v21-latin-200.woff2 +0 -0
- package/build/public/fonts/poppins-v21-latin-300.woff2 +0 -0
- package/build/public/fonts/poppins-v21-latin-500.woff2 +0 -0
- package/build/public/fonts/poppins-v21-latin-600.woff2 +0 -0
- package/build/public/fonts/poppins-v21-latin-700.woff2 +0 -0
- package/build/public/fonts/poppins-v21-latin-800.woff2 +0 -0
- package/build/public/fonts/poppins-v21-latin-regular.woff2 +0 -0
- package/build/public/header/mobile_menu_icons/arrows/arrow_down.js +25 -0
- package/build/public/header/mobile_menu_icons/arrows/arrow_up.js +25 -0
- package/build/public/header/mobile_menu_icons/campaigns.js +40 -0
- package/build/public/header/mobile_menu_icons/dropdown/add_new_campaign.js +72 -0
- package/build/public/header/mobile_menu_icons/dropdown/my_galleries.js +71 -0
- package/build/public/header/mobile_menu_icons/dropdown/my_profile.js +35 -0
- package/build/public/header/mobile_menu_icons/dropdown/my_wallets.js +34 -0
- package/build/public/header/mobile_menu_icons/dropdown/notifications.js +36 -0
- package/build/public/header/mobile_menu_icons/dropdown/top_campaigns.js +44 -0
- package/build/public/header/mobile_menu_icons/dropdown/top_creations.js +41 -0
- package/build/public/header/mobile_menu_icons/dropdown/top_creators.js +58 -0
- package/build/public/header/mobile_menu_icons/dropdown/top_galleries.js +75 -0
- package/build/public/header/mobile_menu_icons/dropdown/top_/321/201ollectors.js +64 -0
- package/build/public/header/mobile_menu_icons/experiences.js +49 -0
- package/build/public/header/mobile_menu_icons/settings.js +24 -0
- package/build/public/header/mobile_menu_icons/sign_out.js +31 -0
- package/build/public/header/mobile_menu_icons/submit_nft.js +88 -0
- package/build/public/header/mobile_menu_icons/top.js +45 -0
- package/build/public/header/mobile_toggle/close.js +25 -0
- package/build/public/header/mobile_toggle/regular.js +25 -0
- package/build/public/like-icon-active.js +27 -0
- package/build/public/like-icon.js +23 -0
- package/build/public/logOut/logOutBtn.js +35 -0
- package/build/public/logo/main_logo.js +726 -0
- package/build/public/logo/main_logo_dark.js +159 -0
- package/build/public/logo/mobile_logo.js +714 -0
- package/build/public/logo/mobile_logo_dark.js +147 -0
- package/build/public/ludo-logo-small.js +28 -0
- package/build/public/ludo-logo-square.js +40 -0
- package/build/public/no_image placeholder.js +41 -0
- package/build/public/no_media_placeholder.js +752 -0
- package/build/public/report.js +40 -0
- package/build/public/search/arrow_up.js +25 -0
- package/build/public/search/back.js +25 -0
- package/build/public/search/close.js +25 -0
- package/build/public/search/no_found.js +30 -0
- package/build/public/search/search.js +31 -0
- package/build/public/search-icon.js +34 -0
- package/build/public/services/opensea.js +28 -0
- package/build/public/services/other.js +40 -0
- package/build/public/services/rarible.js +29 -0
- package/build/public/settings_page/back.js +25 -0
- package/build/public/settings_page/burger_menu.js +37 -0
- package/build/public/settings_page/notifications.js +35 -0
- package/build/public/settings_page/notifications_active.js +35 -0
- package/build/public/settings_page/privacy.js +27 -0
- package/build/public/settings_page/privacy_active.js +27 -0
- package/build/public/settings_page/settings.js +28 -0
- package/build/public/settings_page/settings_active.js +28 -0
- package/build/public/settings_page/upload.js +30 -0
- package/build/public/share-icon.js +40 -0
- package/build/public/showCaseIcons/heart.js +20 -0
- package/build/public/tabs/arrow_right.js +25 -0
- package/build/public/tabs/arrow_right_dark.js +25 -0
- package/build/public/tests/audio.mp3 +0 -0
- package/build/public/tests/test_1.js +64 -0
- package/build/public/toTopBtn/toTopBtn.js +31 -0
- package/build/public/upload-userpic.js +64 -0
- package/build/public/userpic-placeholder.jpg +0 -0
- package/build/public/userpics/placeholder-lg-1.js +46 -0
- package/build/public/userpics/placeholder-sm-1.js +46 -0
- package/build/public/video/pause.js +33 -0
- package/build/public/video/play.js +29 -0
- package/build/public/wallets/arkane-btn.js +37 -0
- package/build/public/wallets/bitski-btn.js +52 -0
- package/build/public/wallets/elrond-btn.js +189 -0
- package/build/public/wallets/elrond-icon-sm.js +184 -0
- package/build/public/wallets/elrond.js +27 -0
- package/build/public/wallets/ethereum-icon-sm.js +34 -0
- package/build/public/wallets/flow-btn.js +33 -0
- package/build/public/wallets/flow-icon-sm.js +36 -0
- package/build/public/wallets/formatic-btn.js +25 -0
- package/build/public/wallets/formatic-icon-sm.js +25 -0
- package/build/public/wallets/maiar-btn.js +58 -0
- package/build/public/wallets/maiar-icon-sm.js +58 -0
- package/build/public/wallets/metamask-btn.js +176 -0
- package/build/public/wallets/metamask-icon-sm.js +169 -0
- package/build/public/wallets/phantom.js +27 -0
- package/build/public/wallets/plus.js +29 -0
- package/build/public/wallets/solana-btn.js +71 -0
- package/build/public/wallets/solana-icon-sm.js +64 -0
- package/build/public/wallets/terra-btn.js +94 -0
- package/build/public/wallets/terra-icon-sm.js +94 -0
- package/build/public/wallets/tezos-btn.js +42 -0
- package/build/public/wallets/tezos-icon-sm.js +37 -0
- package/build/public/wallets/wallet_connect.js +27 -0
- package/build/public/wallets/walletconnect-btn.js +22 -0
- package/build/public/wallets/walletlink-btn.js +36 -0
- package/build/public/wallets/walletlink-icon-sm.js +37 -0
- package/build/public/wallets/xdefi-btn.js +31 -0
- package/build/public/wallets/xdefi-icon-sm.js +31 -0
- package/build/public/warning.js +22 -0
- package/build/store/creation/index.d.ts +5 -0
- package/build/store/creation/index.js +38 -0
- package/build/store/env/index.d.ts +17 -0
- package/build/store/env/index.js +33 -0
- package/build/store/index.d.ts +9 -0
- package/build/store/index.js +12 -0
- package/build/store/media/index.d.ts +2 -0
- package/build/store/media/index.js +59 -0
- package/build/store/media/types.d.ts +11 -0
- package/build/store/media/types.js +2 -0
- package/build/store/ui/index.d.ts +2 -0
- package/build/store/ui/index.js +116 -0
- package/build/store/ui/types.d.ts +34 -0
- package/build/store/ui/types.js +2 -0
- package/build/store/ui/utils.d.ts +7 -0
- package/build/store/ui/utils.js +25 -0
- package/build/styles/ScreenWidth.d.ts +22 -0
- package/build/styles/ScreenWidth.js +26 -0
- package/build/styles/animations/index.d.ts +2 -0
- package/build/styles/animations/index.js +20 -0
- package/build/styles/colors/index.d.ts +1 -0
- package/build/styles/colors/index.js +38 -0
- package/build/styles/globalStyles.d.ts +2 -0
- package/build/styles/globalStyles.js +86 -0
- package/build/styles/mixins/boxShadow.d.ts +2 -0
- package/build/styles/mixins/boxShadow.js +13 -0
- package/build/styles/mixins/boxTransform.d.ts +2 -0
- package/build/styles/mixins/boxTransform.js +12 -0
- package/build/styles/mixins/z-indexes.d.ts +10 -0
- package/build/styles/mixins/z-indexes.js +13 -0
- package/build/styles/typography/index.d.ts +1 -0
- package/build/styles/typography/index.js +13 -0
- package/build/system/ActiveLink/ActiveLink.test.d.ts +1 -0
- package/build/system/ActiveLink/ActiveLink.test.js +48 -0
- package/build/system/ActiveLink/index.d.ts +9 -0
- package/build/system/ActiveLink/index.js +49 -0
- package/build/system/Alert/index.d.ts +2 -0
- package/build/system/Alert/index.js +21 -0
- package/build/system/Alert/type.d.ts +2 -0
- package/build/system/Alert/type.js +8 -0
- package/build/system/Badge/index.d.ts +10 -0
- package/build/system/Badge/index.js +15 -0
- package/build/system/BasicOverlay/index.d.ts +2 -0
- package/build/system/BasicOverlay/index.js +27 -0
- package/build/system/Buttons/IconButton/index.d.ts +2 -0
- package/build/system/Buttons/IconButton/index.js +7 -0
- package/build/system/Buttons/IconWithButton/index.d.ts +2 -0
- package/build/system/Buttons/IconWithButton/index.js +7 -0
- package/build/system/Buttons/IconWithButton/themes.d.ts +0 -0
- package/build/system/Buttons/IconWithButton/themes.js +1 -0
- package/build/system/Buttons/MainButton/index.d.ts +2 -0
- package/build/system/Buttons/MainButton/index.js +7 -0
- package/build/system/Buttons/MainButton/themes.d.ts +0 -0
- package/build/system/Buttons/MainButton/themes.js +1 -0
- package/build/system/Buttons/SecondaryButton/index.d.ts +2 -0
- package/build/system/Buttons/SecondaryButton/index.js +7 -0
- package/build/system/Cards/CardCheckbox/index.d.ts +5 -0
- package/build/system/Cards/CardCheckbox/index.js +89 -0
- package/build/system/Cards/CardContent/CardCategory/CardCategory.test.d.ts +1 -0
- package/build/system/Cards/CardContent/CardCategory/CardCategory.test.js +28 -0
- package/build/system/Cards/CardContent/CardCategory/index.d.ts +5 -0
- package/build/system/Cards/CardContent/CardCategory/index.js +54 -0
- package/build/system/Cards/CardContent/CardContent.test.d.ts +1 -0
- package/build/system/Cards/CardContent/CardContent.test.js +103 -0
- package/build/system/Cards/CardContent/CardLikes/CardLikes.test.d.ts +1 -0
- package/build/system/Cards/CardContent/CardLikes/CardLikes.test.js +37 -0
- package/build/system/Cards/CardContent/CardLikes/index.d.ts +5 -0
- package/build/system/Cards/CardContent/CardLikes/index.js +29 -0
- package/build/system/Cards/CardContent/CardShowMore/CardShowMore.test.d.ts +1 -0
- package/build/system/Cards/CardContent/CardShowMore/CardShowMore.test.js +46 -0
- package/build/system/Cards/CardContent/CardShowMore/index.d.ts +6 -0
- package/build/system/Cards/CardContent/CardShowMore/index.js +121 -0
- package/build/system/Cards/CardContent/index.d.ts +17 -0
- package/build/system/Cards/CardContent/index.js +97 -0
- package/build/system/Cards/CardMedia/CardAudio/CardAudio.test.d.ts +1 -0
- package/build/system/Cards/CardMedia/CardAudio/CardAudio.test.js +92 -0
- package/build/system/Cards/CardMedia/CardAudio/index.d.ts +7 -0
- package/build/system/Cards/CardMedia/CardAudio/index.js +66 -0
- package/build/system/Cards/CardMedia/CardImage/CardImage.test.d.ts +1 -0
- package/build/system/Cards/CardMedia/CardImage/CardImage.test.js +34 -0
- package/build/system/Cards/CardMedia/CardImage/index.d.ts +9 -0
- package/build/system/Cards/CardMedia/CardImage/index.js +24 -0
- package/build/system/Cards/CardMedia/CardVideo/index.d.ts +7 -0
- package/build/system/Cards/CardMedia/CardVideo/index.js +57 -0
- package/build/system/Cards/CardRank/index.d.ts +4 -0
- package/build/system/Cards/CardRank/index.js +82 -0
- package/build/system/Cards/CreationCard/CardHead.d.ts +12 -0
- package/build/system/Cards/CreationCard/CardHead.js +62 -0
- package/build/system/Cards/CreationCard/index.d.ts +29 -0
- package/build/system/Cards/CreationCard/index.js +129 -0
- package/build/system/Cards/MultiMediaCard/index.d.ts +8 -0
- package/build/system/Cards/MultiMediaCard/index.js +126 -0
- package/build/system/Cards/Styles/Content.d.ts +2 -0
- package/build/system/Cards/Styles/Content.js +40 -0
- package/build/system/Cards/Styles/Head.d.ts +2 -0
- package/build/system/Cards/Styles/Head.js +46 -0
- package/build/system/Cards/Styles/Headicons.d.ts +4 -0
- package/build/system/Cards/Styles/Headicons.js +122 -0
- package/build/system/Cards/Styles/Image.d.ts +4 -0
- package/build/system/Cards/Styles/Image.js +24 -0
- package/build/system/Cards/Styles/Likes.d.ts +4 -0
- package/build/system/Cards/Styles/Likes.js +53 -0
- package/build/system/Cards/Styles/MultiHead.d.ts +2 -0
- package/build/system/Cards/Styles/MultiHead.js +44 -0
- package/build/system/Cards/Styles/Video.d.ts +2 -0
- package/build/system/Cards/Styles/Video.js +15 -0
- package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsError/index.d.ts +4 -0
- package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsError/index.js +48 -0
- package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsNoResults/index.d.ts +4 -0
- package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsNoResults/index.js +34 -0
- package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsSkeleton/index.d.ts +5 -0
- package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsSkeleton/index.js +57 -0
- package/build/system/CardsHolderWithSkeleton/CardsHolderLoader/index.d.ts +2 -0
- package/build/system/CardsHolderWithSkeleton/CardsHolderLoader/index.js +42 -0
- package/build/system/DropDown/DropDown.test.d.ts +1 -0
- package/build/system/DropDown/DropDown.test.js +38 -0
- package/build/system/DropDown/index.d.ts +8 -0
- package/build/system/DropDown/index.js +65 -0
- package/build/system/Filters/helpers.d.ts +6 -0
- package/build/system/Filters/helpers.js +8 -0
- package/build/system/Filters/type.d.ts +16 -0
- package/build/system/Filters/type.js +11 -0
- package/build/system/Flex/index.d.ts +0 -0
- package/build/system/Flex/index.js +1 -0
- package/build/system/Forms/Checkbox/Checkbox.test.d.ts +1 -0
- package/build/system/Forms/Checkbox/Checkbox.test.js +76 -0
- package/build/system/Forms/Checkbox/index.d.ts +24 -0
- package/build/system/Forms/Checkbox/index.js +65 -0
- package/build/system/Forms/DatePicker/DatePicker.test.d.ts +1 -0
- package/build/system/Forms/DatePicker/DatePicker.test.js +39 -0
- package/build/system/Forms/DatePicker/index.d.ts +14 -0
- package/build/system/Forms/DatePicker/index.js +138 -0
- package/build/system/Forms/ErrorLabel/ErrorLabel.test.d.ts +1 -0
- package/build/system/Forms/ErrorLabel/ErrorLabel.test.js +28 -0
- package/build/system/Forms/ErrorLabel/index.d.ts +7 -0
- package/build/system/Forms/ErrorLabel/index.js +25 -0
- package/build/system/Forms/Input/Input.test.d.ts +1 -0
- package/build/system/Forms/Input/Input.test.js +54 -0
- package/build/system/Forms/Input/index.d.ts +16 -0
- package/build/system/Forms/Input/index.js +72 -0
- package/build/system/Forms/Input/type.d.ts +5 -0
- package/build/system/Forms/Input/type.js +2 -0
- package/build/system/Forms/Messages/index.d.ts +67 -0
- package/build/system/Forms/Messages/index.js +69 -0
- package/build/system/Forms/RadioInput/RadioInput.test.d.ts +1 -0
- package/build/system/Forms/RadioInput/RadioInput.test.js +62 -0
- package/build/system/Forms/RadioInput/index.d.ts +12 -0
- package/build/system/Forms/RadioInput/index.js +73 -0
- package/build/system/Forms/Selects/DesktopSelect/index.d.ts +12 -0
- package/build/system/Forms/Selects/DesktopSelect/index.js +180 -0
- package/build/system/Forms/Selects/DesktopSelect/type.d.ts +5 -0
- package/build/system/Forms/Selects/DesktopSelect/type.js +2 -0
- package/build/system/Forms/Selects/MobileSelect/index.d.ts +14 -0
- package/build/system/Forms/Selects/MobileSelect/index.js +31 -0
- package/build/system/Forms/TextArea/TextArea.test.d.ts +1 -0
- package/build/system/Forms/TextArea/TextArea.test.js +54 -0
- package/build/system/Forms/TextArea/index.d.ts +14 -0
- package/build/system/Forms/TextArea/index.js +70 -0
- package/build/system/Forms/index.d.ts +5 -0
- package/build/system/Forms/index.js +14 -0
- package/build/system/Img/ExternalImage/index.d.ts +6 -0
- package/build/system/Img/ExternalImage/index.js +22 -0
- package/build/system/Img/ImageInterceptor/ImageInterceptor.test.d.ts +1 -0
- package/build/system/Img/ImageInterceptor/ImageInterceptor.test.js +46 -0
- package/build/system/Img/ImageInterceptor/index.d.ts +17 -0
- package/build/system/Img/ImageInterceptor/index.js +61 -0
- package/build/system/Img/Profilepic/index.d.ts +10 -0
- package/build/system/Img/Profilepic/index.js +34 -0
- package/build/system/Img/Userpic/UserPic.test.d.ts +2 -0
- package/build/system/Img/Userpic/UserPic.test.js +68 -0
- package/build/system/Img/Userpic/UserPicSpa.d.ts +11 -0
- package/build/system/Img/Userpic/UserPicSpa.js +81 -0
- package/build/system/Img/Userpic/index.d.ts +9 -0
- package/build/system/Img/Userpic/index.js +86 -0
- package/build/system/Img/index.d.ts +3 -0
- package/build/system/Img/index.js +19 -0
- package/build/system/Labels/ExperienceLabel/ExperienceLabel.test.d.ts +1 -0
- package/build/system/Labels/ExperienceLabel/ExperienceLabel.test.js +52 -0
- package/build/system/Labels/ExperienceLabel/index.d.ts +6 -0
- package/build/system/Labels/ExperienceLabel/index.js +98 -0
- package/build/system/Labels/InviteLabel/InviteLabel.test.d.ts +1 -0
- package/build/system/Labels/InviteLabel/InviteLabel.test.js +44 -0
- package/build/system/Labels/InviteLabel/index.d.ts +6 -0
- package/build/system/Labels/InviteLabel/index.js +44 -0
- package/build/system/Labels/SkeletonLabel/index.d.ts +2 -0
- package/build/system/Labels/SkeletonLabel/index.js +7 -0
- package/build/system/Modals/Modal/Modal.test.d.ts +1 -0
- package/build/system/Modals/Modal/Modal.test.js +36 -0
- package/build/system/Modals/Modal/index.d.ts +2 -0
- package/build/system/Modals/Modal/index.js +82 -0
- package/build/system/Modals/ModalSidebar/CreatorModalSidebarPortal.d.ts +1 -0
- package/build/system/Modals/ModalSidebar/CreatorModalSidebarPortal.js +47 -0
- package/build/system/Modals/ModalSidebar/ModalSidebar.test.d.ts +1 -0
- package/build/system/Modals/ModalSidebar/ModalSidebar.test.js +35 -0
- package/build/system/Modals/ModalSidebar/ModalSidebarPortal.d.ts +5 -0
- package/build/system/Modals/ModalSidebar/ModalSidebarPortal.js +10 -0
- package/build/system/Modals/ModalSidebar/index.d.ts +3 -0
- package/build/system/Modals/ModalSidebar/index.js +78 -0
- package/build/system/Overlay/Overlay.test.d.ts +1 -0
- package/build/system/Overlay/Overlay.test.js +44 -0
- package/build/system/Overlay/index.d.ts +2 -0
- package/build/system/Overlay/index.js +41 -0
- package/build/system/PageLoader/index.d.ts +2 -0
- package/build/system/PageLoader/index.js +7 -0
- package/build/system/Palete/index.d.ts +2 -0
- package/build/system/Palete/index.js +7 -0
- package/build/system/ShareIconResize.d.ts +1 -0
- package/build/system/ShareIconResize.js +31 -0
- package/build/system/Tabs/TabNavLink/TabNavLink.test.d.ts +2 -0
- package/build/system/Tabs/TabNavLink/TabNavLink.test.js +40 -0
- package/build/system/Tabs/TabNavLink/index.d.ts +12 -0
- package/build/system/Tabs/TabNavLink/index.js +58 -0
- package/build/system/Tabs/TabsNav/TabsNav.test.d.ts +2 -0
- package/build/system/Tabs/TabsNav/TabsNav.test.js +43 -0
- package/build/system/Tabs/TabsNav/index.d.ts +10 -0
- package/build/system/Tabs/TabsNav/index.js +31 -0
- package/build/system/Tabs/TabsNav/type.d.ts +6 -0
- package/build/system/Tabs/TabsNav/type.js +2 -0
- package/build/system/Tabs/TabsPanel/TabsPanel.test.d.ts +2 -0
- package/build/system/Tabs/TabsPanel/TabsPanel.test.js +32 -0
- package/build/system/Tabs/TabsPanel/index.d.ts +7 -0
- package/build/system/Tabs/TabsPanel/index.js +17 -0
- package/build/system/Text/index.d.ts +0 -0
- package/build/system/Text/index.js +1 -0
- package/build/system/index.d.ts +6 -0
- package/build/system/index.js +22 -0
- package/build/system/theme.d.ts +1 -0
- package/build/system/theme.js +7 -0
- package/build/utils/3d.d.ts +5 -0
- package/build/utils/3d.js +44 -0
- package/build/utils/adaptive/check4k.d.ts +5 -0
- package/build/utils/adaptive/check4k.js +16 -0
- package/build/utils/adaptive/scale.d.ts +9 -0
- package/build/utils/adaptive/scale.js +18 -0
- package/build/utils/auth/index.d.ts +1 -0
- package/build/utils/auth/index.js +12 -0
- package/build/utils/copyBtn/index.d.ts +5 -0
- package/build/utils/copyBtn/index.js +46 -0
- package/build/utils/env/index.d.ts +1 -0
- package/build/utils/env/index.js +5 -0
- package/build/utils/extractItemIds.d.ts +2 -0
- package/build/utils/extractItemIds.js +6 -0
- package/build/utils/getDimensionsImage.d.ts +4 -0
- package/build/utils/getDimensionsImage.js +38 -0
- package/build/utils/getPageSizeAssets.d.ts +5 -0
- package/build/utils/getPageSizeAssets.js +17 -0
- package/build/utils/imageProportionsSize/index.d.ts +5 -0
- package/build/utils/imageProportionsSize/index.js +23 -0
- package/build/utils/redirectToApp.d.ts +1 -0
- package/build/utils/redirectToApp.js +29 -0
- package/build/utils/screen/index.d.ts +18 -0
- package/build/utils/screen/index.js +86 -0
- package/build/utils/seacrhTabs.d.ts +4 -0
- package/build/utils/seacrhTabs.js +17 -0
- package/build/utils/ssrFunctions/index.d.ts +17 -0
- package/build/utils/ssrFunctions/index.js +33 -0
- package/build/utils/ui/index.d.ts +8 -0
- package/build/utils/ui/index.js +6 -0
- package/package.json +1 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface ISliderStore {
|
|
2
|
+
isActiveSlider: boolean;
|
|
3
|
+
setIsActiveSlider: (isActiveSlider: boolean) => void;
|
|
4
|
+
isDisabled: boolean;
|
|
5
|
+
setIsDisabled: (isDisabled: boolean) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const useSliderStore: import("zustand").UseBoundStore<import("zustand").StoreApi<ISliderStore>>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useSliderStore = void 0;
|
|
4
|
+
const zustand_1 = require("zustand");
|
|
5
|
+
exports.useSliderStore = (0, zustand_1.create)()((setState, getState) => ({
|
|
6
|
+
isActiveSlider: false,
|
|
7
|
+
setIsActiveSlider: (isActiveSlider) => {
|
|
8
|
+
setState({ isActiveSlider });
|
|
9
|
+
},
|
|
10
|
+
isDisabled: false,
|
|
11
|
+
setIsDisabled: (isDisabled) => {
|
|
12
|
+
if (getState().isActiveSlider) {
|
|
13
|
+
setState({ isDisabled });
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
}));
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type Viewer3dProps = {
|
|
2
|
+
file2D?: string | undefined | null;
|
|
3
|
+
file3D: string | undefined | null;
|
|
4
|
+
};
|
|
5
|
+
export declare const ScenePreview: ({ file3D }: Pick<Viewer3dProps, "file3D">) => import("react/jsx-runtime").JSX.Element | null;
|
|
6
|
+
export declare const Viewer3D: ({ file3D, file2D }: Viewer3dProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.Viewer3D = exports.ScenePreview = void 0;
|
|
7
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
+
const AssetImage_1 = __importDefault(require("../media/AssetImage"));
|
|
9
|
+
const store_1 = require("../slider/store");
|
|
10
|
+
const NoSSR_1 = __importDefault(require("../../base/NoSSR"));
|
|
11
|
+
const ScreenWidth_1 = require("../../../styles/ScreenWidth");
|
|
12
|
+
const colors_1 = require("../../../styles/colors");
|
|
13
|
+
const index_1 = require("../../../system/index");
|
|
14
|
+
const constants_1 = require("@ludo.ninja/core/build/constants");
|
|
15
|
+
const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
16
|
+
const drei_1 = require("@react-three/drei");
|
|
17
|
+
const fiber_1 = require("@react-three/fiber");
|
|
18
|
+
const react_1 = require("react");
|
|
19
|
+
const react_loading_skeleton_1 = __importDefault(require("react-loading-skeleton"));
|
|
20
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
21
|
+
const Togler = (0, styled_components_1.default)(index_1.Flex) `
|
|
22
|
+
border-radius: 8px;
|
|
23
|
+
position: absolute;
|
|
24
|
+
top: 16px;
|
|
25
|
+
right: 16px;
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
z-index: 1;
|
|
28
|
+
border: 1px solid ${colors_1.BlackColor};
|
|
29
|
+
|
|
30
|
+
${ScreenWidth_1.mediaQuery.minWidthFourK} {
|
|
31
|
+
border-radius: ${(0, _4k_1.adaptiveValueCalc)(8)};
|
|
32
|
+
top: ${(0, _4k_1.adaptiveValueCalc)(16)};
|
|
33
|
+
right: ${(0, _4k_1.adaptiveValueCalc)(16)};
|
|
34
|
+
border: ${(0, _4k_1.adaptiveValueCalc)(1)} solid ${colors_1.BlackColor};
|
|
35
|
+
}
|
|
36
|
+
`;
|
|
37
|
+
const ButtonTogler = styled_components_1.default.button `
|
|
38
|
+
border: none;
|
|
39
|
+
cursor: pointer;
|
|
40
|
+
background: ${(props) => (props.isActive ? colors_1.InactiveButtonColor : colors_1.WhiteColor)};
|
|
41
|
+
padding: 0;
|
|
42
|
+
width: 36px;
|
|
43
|
+
height: 36px;
|
|
44
|
+
font-size: 13px;
|
|
45
|
+
font-weight: 40;
|
|
46
|
+
color: ${(props) => (props.isActive ? colors_1.BlackColor : colors_1.TextGrayColor)};
|
|
47
|
+
|
|
48
|
+
${ScreenWidth_1.mediaQuery.minWidthFourK} {
|
|
49
|
+
width: ${(0, _4k_1.adaptiveValueCalc)(36)};
|
|
50
|
+
height: ${(0, _4k_1.adaptiveValueCalc)(36)};
|
|
51
|
+
font-size: ${(0, _4k_1.adaptiveValueCalc)(13)};
|
|
52
|
+
}
|
|
53
|
+
`;
|
|
54
|
+
const StyledAsset = styled_components_1.default.div `
|
|
55
|
+
max-height: 100%;
|
|
56
|
+
max-width: 100%;
|
|
57
|
+
width: 510px;
|
|
58
|
+
height: 510px;
|
|
59
|
+
margin-right: 60px;
|
|
60
|
+
position: relative;
|
|
61
|
+
overflow: hidden;
|
|
62
|
+
border-radius: 16px;
|
|
63
|
+
background-color: ${colors_1.WhiteColor};
|
|
64
|
+
display: flex;
|
|
65
|
+
align-items: center;
|
|
66
|
+
justify-content: center;
|
|
67
|
+
|
|
68
|
+
//border: 2px solid rgba(0, 0, 0, 0.5);
|
|
69
|
+
|
|
70
|
+
${ScreenWidth_1.mediaQuery.desktop} {
|
|
71
|
+
width: 335px;
|
|
72
|
+
margin-right: 30px;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
${ScreenWidth_1.mediaQuery.tablet} {
|
|
76
|
+
align-items: flex-start;
|
|
77
|
+
width: 320px;
|
|
78
|
+
margin-right: 0;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
${ScreenWidth_1.mediaQuery.minWidthFourK} {
|
|
82
|
+
width: ${(0, _4k_1.adaptiveValueCalc)(510)};
|
|
83
|
+
height: ${(0, _4k_1.adaptiveValueCalc)(510)};
|
|
84
|
+
margin-right: ${(0, _4k_1.adaptiveValueCalc)(60)};
|
|
85
|
+
border-radius: ${(0, _4k_1.adaptiveValueCalc)(16)};
|
|
86
|
+
}
|
|
87
|
+
`;
|
|
88
|
+
const ModelPreview = ({ file3D }) => {
|
|
89
|
+
const gltf = (0, drei_1.useGLTF)(file3D);
|
|
90
|
+
(0, fiber_1.useFrame)(() => {
|
|
91
|
+
gltf.scene.rotateY(0.002);
|
|
92
|
+
});
|
|
93
|
+
(0, react_1.useEffect)(() => {
|
|
94
|
+
return () => {
|
|
95
|
+
gltf.scene.rotation.set(0, 0, 0);
|
|
96
|
+
};
|
|
97
|
+
}, [gltf]);
|
|
98
|
+
return (0, jsx_runtime_1.jsx)("primitive", { object: gltf.scene });
|
|
99
|
+
};
|
|
100
|
+
const ScenePreview = ({ file3D }) => {
|
|
101
|
+
if (typeof window === "undefined" || !file3D)
|
|
102
|
+
return null;
|
|
103
|
+
return ((0, jsx_runtime_1.jsx)(NoSSR_1.default, { children: (0, jsx_runtime_1.jsx)(react_1.Suspense, { fallback: (0, jsx_runtime_1.jsx)(react_loading_skeleton_1.default, { style: { position: "absolute", left: 0, top: 0 }, height: "100%", width: "100%" }), children: (0, jsx_runtime_1.jsxs)(fiber_1.Canvas, { resize: { scroll: false }, children: [(0, jsx_runtime_1.jsx)(drei_1.ContactShadows, { opacity: 1, scale: 1000, blur: 0.5, far: 100, resolution: 2048, color: "#003366" }), (0, jsx_runtime_1.jsx)(drei_1.Stage, { environment: "city", preset: "rembrandt", children: (0, jsx_runtime_1.jsx)(drei_1.Center, { children: (0, jsx_runtime_1.jsx)(ModelPreview, { file3D: file3D }) }) }), (0, jsx_runtime_1.jsx)(drei_1.OrbitControls, {})] }) }) }));
|
|
104
|
+
};
|
|
105
|
+
exports.ScenePreview = ScenePreview;
|
|
106
|
+
const Viewer3D = ({ file3D, file2D }) => {
|
|
107
|
+
const [activeTab, setActiveTab] = (0, react_1.useState)("2D");
|
|
108
|
+
const setIsDisabledSlider = (0, store_1.useSliderStore)((state) => state.setIsDisabled);
|
|
109
|
+
return ((0, jsx_runtime_1.jsx)("div", { style: {
|
|
110
|
+
width: "100%",
|
|
111
|
+
height: "100%",
|
|
112
|
+
}, children: (0, jsx_runtime_1.jsxs)(StyledAsset, { is3D: activeTab === "3D", children: [(0, jsx_runtime_1.jsxs)(Togler, { children: [(0, jsx_runtime_1.jsx)(ButtonTogler, { isActive: activeTab === "2D", onClick: () => {
|
|
113
|
+
setActiveTab("2D");
|
|
114
|
+
setIsDisabledSlider(false);
|
|
115
|
+
}, children: "2D" }), (0, jsx_runtime_1.jsx)(ButtonTogler, { isActive: activeTab === "3D", onClick: () => {
|
|
116
|
+
setActiveTab("3D");
|
|
117
|
+
setIsDisabledSlider(true);
|
|
118
|
+
}, children: "3D" })] }), activeTab === "3D" && file3D ? ((0, jsx_runtime_1.jsx)("div", { style: {
|
|
119
|
+
cursor: "pointer",
|
|
120
|
+
width: "100%",
|
|
121
|
+
height: "100%",
|
|
122
|
+
}, children: (0, jsx_runtime_1.jsx)(exports.ScenePreview, { file3D: file3D }) })) : ((0, jsx_runtime_1.jsx)(AssetImage_1.default, { alt: "fallback", imageUrl: file2D || `${constants_1.staticLink}/public/noContent/noContentObject.svg`, errorImg: `${constants_1.staticLink}/public/noContent/noContentObject.svg` }))] }) }));
|
|
123
|
+
};
|
|
124
|
+
exports.Viewer3D = Viewer3D;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
|
+
const head_1 = __importDefault(require("next/head"));
|
|
8
|
+
const env_1 = require("../../../store/env");
|
|
9
|
+
// Component
|
|
10
|
+
const Meta = () => {
|
|
11
|
+
const { getMediaDomain, getStaticDomain, } = (0, env_1.useEnvStore)((state) => ({
|
|
12
|
+
NEXT_PUBLIC_STATIC_DOMAIN: state.NEXT_PUBLIC_STATIC_DOMAIN,
|
|
13
|
+
NEXT_PUBLIC_ENV_DOMAIN: state.NEXT_PUBLIC_ENV_DOMAIN,
|
|
14
|
+
getMediaDomain: state.getMediaDomain,
|
|
15
|
+
getStaticDomain: state.getStaticDomain,
|
|
16
|
+
}));
|
|
17
|
+
// const DEFAULT_SEO = {
|
|
18
|
+
// title: 'Ludo | The Reputation-Driven Discovery Engine',
|
|
19
|
+
// description: 'Ludo is super-cool. Share it with your friends',
|
|
20
|
+
// };
|
|
21
|
+
return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsxs)(head_1.default, { children: [(0, jsx_runtime_1.jsx)("link", { rel: "preconnect", href: getMediaDomain() }), (0, jsx_runtime_1.jsx)("link", { rel: "preconnect", href: getStaticDomain() }), (0, jsx_runtime_1.jsx)("link", { rel: "dns-prefetch", href: getMediaDomain() }), (0, jsx_runtime_1.jsx)("link", { rel: "dns-prefetch", href: getStaticDomain() }), (0, jsx_runtime_1.jsx)("link", { rel: "icon", type: "image/svg+xml", href: `${getStaticDomain()}/favicon/favicon.svg`, sizes: "any" }), (0, jsx_runtime_1.jsx)("link", { rel: "icon", type: "image/x-icon", href: `${getStaticDomain()}/favicon/fav64.ico`, sizes: "any" }), (0, jsx_runtime_1.jsx)("link", { rel: "apple-touch-icon", href: `${getStaticDomain()}/favicon/favicon128.png` }), (0, jsx_runtime_1.jsx)("meta", { name: "viewport", content: "width=device-width, initial-scale=1" }), (0, jsx_runtime_1.jsx)("meta", { charSet: "utf-8" }), (0, jsx_runtime_1.jsx)("meta", { name: "viewport", content: "width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" })] }) }));
|
|
22
|
+
};
|
|
23
|
+
// Export
|
|
24
|
+
exports.default = Meta;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
|
+
const dynamic_1 = __importDefault(require("next/dynamic"));
|
|
8
|
+
// Component
|
|
9
|
+
const NoSsr = (props) => (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: props.children });
|
|
10
|
+
// Export
|
|
11
|
+
exports.default = (0, dynamic_1.default)(() => Promise.resolve(NoSsr), { ssr: false });
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
|
+
const head_1 = __importDefault(require("next/head"));
|
|
8
|
+
// Component
|
|
9
|
+
const PageHead = ({ title, description, children }) => {
|
|
10
|
+
return ((0, jsx_runtime_1.jsxs)(head_1.default, { children: [(0, jsx_runtime_1.jsx)("title", { children: title }), description && (0, jsx_runtime_1.jsx)("meta", { name: "description", content: description }), children] }));
|
|
11
|
+
};
|
|
12
|
+
// Export
|
|
13
|
+
exports.default = PageHead;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type UserStreakProps = {
|
|
2
|
+
className?: string;
|
|
3
|
+
style?: React.CSSProperties;
|
|
4
|
+
tooltipPosition?: string;
|
|
5
|
+
};
|
|
6
|
+
declare const UserStreak: ({ className, style, tooltipPosition }: UserStreakProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default UserStreak;
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
8
|
+
const vars_1 = require("../../../fonts/vars");
|
|
9
|
+
const colors_1 = require("@ludo.ninja/ui/build/styles/colors");
|
|
10
|
+
const ScreenWidth_1 = require("../../../styles/ScreenWidth");
|
|
11
|
+
const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
12
|
+
const store_1 = require("../../../modules/user/store");
|
|
13
|
+
const rc_tooltip_1 = __importDefault(require("rc-tooltip"));
|
|
14
|
+
const react_loading_skeleton_1 = __importDefault(require("react-loading-skeleton"));
|
|
15
|
+
const Wrapper = styled_components_1.default.div `
|
|
16
|
+
display: flex;
|
|
17
|
+
gap: 8px;
|
|
18
|
+
flex-wrap: wrap;
|
|
19
|
+
|
|
20
|
+
color: ${colors_1.TextGrayColor};
|
|
21
|
+
font-family: ${vars_1.poppinsFontVarCss.css};
|
|
22
|
+
font-size: 12px;
|
|
23
|
+
font-style: normal;
|
|
24
|
+
font-weight: 500;
|
|
25
|
+
line-height: 16px;
|
|
26
|
+
.streak-count {
|
|
27
|
+
display: flex;
|
|
28
|
+
align-items: center;
|
|
29
|
+
gap: 4px;
|
|
30
|
+
.skeleton-streak {
|
|
31
|
+
${ScreenWidth_1.mediaQuery.minWidthFourK} {
|
|
32
|
+
width: ${(0, _4k_1.adaptiveValueCalc)(85)};
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
.streak-bonus {
|
|
37
|
+
display: flex;
|
|
38
|
+
align-items: center;
|
|
39
|
+
gap: 8px;
|
|
40
|
+
color: ${colors_1.ProgressColor};
|
|
41
|
+
.skeleton-streak {
|
|
42
|
+
${ScreenWidth_1.mediaQuery.minWidthFourK} {
|
|
43
|
+
width: ${(0, _4k_1.adaptiveValueCalc)(215)};
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.skeleton-streak {
|
|
49
|
+
border-radius: 16px;
|
|
50
|
+
height: 16px;
|
|
51
|
+
|
|
52
|
+
${ScreenWidth_1.mediaQuery.minWidthFourK} {
|
|
53
|
+
border-radius: ${(0, _4k_1.adaptiveValueCalc)(16)};
|
|
54
|
+
height: ${(0, _4k_1.adaptiveValueCalc)(16)};
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
${ScreenWidth_1.mediaQuery.minWidthFourK} {
|
|
59
|
+
font-size: ${(0, _4k_1.adaptiveValueCalc)(12)};
|
|
60
|
+
line-height: ${(0, _4k_1.adaptiveValueCalc)(16)};
|
|
61
|
+
gap: ${(0, _4k_1.adaptiveValueCalc)(8)};
|
|
62
|
+
}
|
|
63
|
+
`;
|
|
64
|
+
const StreakInfo = styled_components_1.default.div `
|
|
65
|
+
display: flex;
|
|
66
|
+
width: 356px;
|
|
67
|
+
flex-direction: column;
|
|
68
|
+
align-items: flex-start;
|
|
69
|
+
gap: 6px;
|
|
70
|
+
flex-shrink: 0;
|
|
71
|
+
|
|
72
|
+
.title {
|
|
73
|
+
color: ${colors_1.BlackColor};
|
|
74
|
+
font-size: 15px;
|
|
75
|
+
font-style: normal;
|
|
76
|
+
font-weight: 500;
|
|
77
|
+
line-height: 22px;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.description {
|
|
81
|
+
width: 100%;
|
|
82
|
+
text-wrap: auto;
|
|
83
|
+
text-align: left;
|
|
84
|
+
color: ${colors_1.TextGrayColor};
|
|
85
|
+
|
|
86
|
+
/* Desktop/Text Small */
|
|
87
|
+
font-family: ${vars_1.dmsansFontVarCss.css};
|
|
88
|
+
font-size: 13px;
|
|
89
|
+
font-style: normal;
|
|
90
|
+
font-weight: 400;
|
|
91
|
+
line-height: 18px;
|
|
92
|
+
|
|
93
|
+
li:not(:last-child) {
|
|
94
|
+
margin-bottom: 13px;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
ul {
|
|
99
|
+
list-style-type: none;
|
|
100
|
+
margin: 0;
|
|
101
|
+
padding: 0;
|
|
102
|
+
}
|
|
103
|
+
span {
|
|
104
|
+
color: ${colors_1.TextGrayColor};
|
|
105
|
+
margin-right: 4px;
|
|
106
|
+
font-weight: 700;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
${ScreenWidth_1.mediaQuery.minWidthFourK} {
|
|
110
|
+
width: ${(0, _4k_1.adaptiveValueCalc)(356)};
|
|
111
|
+
gap: ${(0, _4k_1.adaptiveValueCalc)(6)};
|
|
112
|
+
|
|
113
|
+
.title {
|
|
114
|
+
font-size: ${(0, _4k_1.adaptiveValueCalc)(15)};
|
|
115
|
+
line-height: ${(0, _4k_1.adaptiveValueCalc)(22)};
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.description {
|
|
119
|
+
font-size: ${(0, _4k_1.adaptiveValueCalc)(13)};
|
|
120
|
+
line-height: ${(0, _4k_1.adaptiveValueCalc)(18)};
|
|
121
|
+
|
|
122
|
+
li:not(:last-child) {
|
|
123
|
+
margin-bottom: ${(0, _4k_1.adaptiveValueCalc)(13)};
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
span {
|
|
127
|
+
margin-right: ${(0, _4k_1.adaptiveValueCalc)(4)};
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
`;
|
|
131
|
+
const CheckSVGIcon = () => {
|
|
132
|
+
return ((0, jsx_runtime_1.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", children: (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M1.76335 5.23043C2.11482 4.87895 2.68467 4.87895 3.03614 5.23043L5.36959 7.56388L9.4001 3.53337C9.75158 3.1819 10.3214 3.1819 10.6729 3.53337C11.0244 3.88484 11.0244 4.45469 10.6729 4.80616L6.00599 9.47307C5.65452 9.82454 5.08467 9.82454 4.7332 9.47307L1.76335 6.50322C1.41188 6.15175 1.41188 5.5819 1.76335 5.23043Z", fill: "#B0B2C0" }) }));
|
|
133
|
+
};
|
|
134
|
+
const TooltipSVGIcon = () => {
|
|
135
|
+
return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", children: [(0, jsx_runtime_1.jsx)("circle", { cx: "5.99961", cy: "5.99998", r: "5.4", fill: "#CFD5EA" }), (0, jsx_runtime_1.jsx)("path", { d: "M5.45313 7.25185C5.45313 6.9264 5.509 6.65077 5.62074 6.42495C5.73247 6.19249 5.8705 5.99323 6.03482 5.82719C6.19914 5.6545 6.36017 5.49178 6.51792 5.33902C6.68224 5.17961 6.82027 5.01357 6.932 4.84088C7.04374 4.66155 7.09961 4.44902 7.09961 4.20327C7.09961 4.03723 7.06017 3.86786 6.9813 3.69517C6.909 3.52249 6.78083 3.37969 6.59679 3.26678C6.41276 3.14723 6.1597 3.08745 5.83764 3.08745C5.51557 3.08745 5.2428 3.15055 5.01933 3.27674C4.80243 3.40293 4.63153 3.56898 4.50665 3.77488C4.38834 3.98077 4.31933 4.19995 4.29961 4.43241H3.59961C3.61933 4.06711 3.71792 3.7317 3.89538 3.42618C4.07942 3.11402 4.32919 2.86495 4.64468 2.67898C4.96675 2.49301 5.34468 2.40002 5.77848 2.40002C6.25172 2.40002 6.63623 2.48969 6.932 2.66902C7.23435 2.8417 7.45454 3.06752 7.59257 3.34648C7.7306 3.61879 7.79961 3.90439 7.79961 4.20327C7.79961 4.51543 7.74374 4.77779 7.632 4.99032C7.52684 5.19622 7.3921 5.38219 7.22778 5.54823C7.07003 5.70764 6.909 5.86372 6.74468 6.01648C6.58036 6.16924 6.44233 6.34525 6.3306 6.5445C6.22543 6.73711 6.17285 6.9729 6.17285 7.25185H5.45313Z", fill: "#696F90" }), (0, jsx_runtime_1.jsx)("path", { d: "M5.81299 9.78175C5.61881 9.78175 5.45594 9.72118 5.3244 9.60002C5.19286 9.47887 5.12708 9.32887 5.12708 9.15002C5.12708 8.97118 5.19286 8.82118 5.3244 8.70002C5.45594 8.57887 5.61881 8.51829 5.81299 8.51829C6.00091 8.51829 6.16064 8.57887 6.29218 8.70002C6.42373 8.82118 6.4895 8.97118 6.4895 9.15002C6.4895 9.32887 6.42373 9.47887 6.29218 9.60002C6.16064 9.72118 6.00091 9.78175 5.81299 9.78175Z", fill: "#696F90" })] }));
|
|
136
|
+
};
|
|
137
|
+
const UserStreak = ({ className, style, tooltipPosition = 'bottomLeft' }) => {
|
|
138
|
+
const { userStreak, isLoadingStreak, errorStreak } = (0, store_1.useUserStore)((state) => ({
|
|
139
|
+
userStreak: state.userStreak,
|
|
140
|
+
isLoadingStreak: state.isLoadingStreak,
|
|
141
|
+
errorStreak: state.errorStreak,
|
|
142
|
+
}));
|
|
143
|
+
const isShowSkeleton = isLoadingStreak;
|
|
144
|
+
return ((0, jsx_runtime_1.jsxs)(Wrapper, { className: className, style: style, children: [(0, jsx_runtime_1.jsx)("div", { className: 'streak-count', children: isShowSkeleton ? ((0, jsx_runtime_1.jsx)(react_loading_skeleton_1.default, { className: 'skeleton-streak', width: '85px' })) : ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)("span", { children: [userStreak.totalDays, " Days Streak"] }), (0, jsx_runtime_1.jsx)(CheckSVGIcon, {})] })) }), (0, jsx_runtime_1.jsx)("div", { className: 'streak-bonus', children: isShowSkeleton ? ((0, jsx_runtime_1.jsx)(react_loading_skeleton_1.default, { className: 'skeleton-streak', width: '215px' })) : ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)("span", { children: ["Next Bonus: ", userStreak.nextStreak, " Days Streak +", userStreak.nextBonus, " XP."] }), (0, jsx_runtime_1.jsx)(rc_tooltip_1.default, { placement: tooltipPosition, trigger: ['hover', 'click', 'focus'], showArrow: false, styles: {
|
|
145
|
+
root: {
|
|
146
|
+
backgroundColor: '#ffffff',
|
|
147
|
+
opacity: 1,
|
|
148
|
+
boxShadow: ' 0px 4px 16px -2px rgba(0, 0, 0, 0.14)',
|
|
149
|
+
borderRadius: '12px',
|
|
150
|
+
},
|
|
151
|
+
inner: {
|
|
152
|
+
borderRadius: '12px',
|
|
153
|
+
border: 'none',
|
|
154
|
+
},
|
|
155
|
+
}, overlay: (0, jsx_runtime_1.jsxs)(StreakInfo, { children: [(0, jsx_runtime_1.jsx)("div", { className: 'title', children: "Keep Your Daily Streak Going!" }), (0, jsx_runtime_1.jsxs)("ul", { className: 'description', children: [(0, jsx_runtime_1.jsxs)("li", { children: [(0, jsx_runtime_1.jsx)("span", { children: "\u2022 Visit an Opportunity:" }), "Explore one from the \"New Opportunities\" section to maintain your streak."] }), (0, jsx_runtime_1.jsxs)("li", { children: [(0, jsx_runtime_1.jsx)("span", { children: "\u2022 Share an Opportunity:" }), "Use the available sharing options to tell a friend and keep earning."] }), (0, jsx_runtime_1.jsxs)("li", { children: [(0, jsx_runtime_1.jsx)("span", { children: "\u2022 Reminder:" }), "Maintain your streak to increase your daily XP and reach exciting milestone bonuses!"] })] })] }), children: (0, jsx_runtime_1.jsx)("span", { style: {
|
|
156
|
+
cursor: 'pointer',
|
|
157
|
+
display: 'flex',
|
|
158
|
+
alignItems: 'center',
|
|
159
|
+
}, children: (0, jsx_runtime_1.jsx)(TooltipSVGIcon, {}) }) })] })) })] }));
|
|
160
|
+
};
|
|
161
|
+
exports.default = UserStreak;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
|
+
const react_1 = require("react");
|
|
8
|
+
const chooseGalleryItems_1 = __importDefault(require("../../../../modules/gallery/ui/chooseGalleryItems"));
|
|
9
|
+
const createGalleryForm_1 = __importDefault(require("../../../../modules/gallery/ui/createGalleryForm"));
|
|
10
|
+
const ui_1 = require("../../../../store/ui");
|
|
11
|
+
const useAddCreationsToGallery_1 = require("../../../../api/server-galleries/mutations/useAddCreationsToGallery");
|
|
12
|
+
const useCreateFavorites_1 = require("../../../../api/server-galleries/mutations/useCreateFavorites");
|
|
13
|
+
// Component
|
|
14
|
+
const AddCreationToFavoriteList = ({ ids, currentMyGalleryId, }) => {
|
|
15
|
+
const [isNeedAddFavList, setAddFavList] = (0, react_1.useState)(false);
|
|
16
|
+
const closeModalSidebarPortal = (0, ui_1.useUiStore)((state) => state.closeModalSidebarPortal);
|
|
17
|
+
const { createFavorites, errorCreateFavorites } = (0, useCreateFavorites_1.useCreateFavoriteListV2)();
|
|
18
|
+
const { addCreationsToGallery, isAdded, error } = (0, useAddCreationsToGallery_1.useAddCreationsToGalleryV2)();
|
|
19
|
+
const addMethod = async (galleryId, ids) => {
|
|
20
|
+
await addCreationsToGallery({ galleryId, creationIds: ids });
|
|
21
|
+
setTimeout(() => closeModalSidebarPortal(), 900);
|
|
22
|
+
};
|
|
23
|
+
return ((0, jsx_runtime_1.jsx)("div", { children: isNeedAddFavList ? ((0, jsx_runtime_1.jsx)(createGalleryForm_1.default, { setAddGallery: setAddFavList, title: 'Create Favourite List', inputPlaceHolderText: 'List Name',
|
|
24
|
+
// ids={ids}
|
|
25
|
+
createMethod: createFavorites, error: errorCreateFavorites })) : ((0, jsx_runtime_1.jsx)(chooseGalleryItems_1.default, { setAddGallery: setAddFavList, title: 'Add to Favourite List', titleBtn: '+ New Favourite List', ids: ids, addMethod: addMethod, isAdded: isAdded, error: error, currentMyGalleryId: currentMyGalleryId })) }));
|
|
26
|
+
};
|
|
27
|
+
// Export
|
|
28
|
+
exports.default = AddCreationToFavoriteList;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
|
+
const useAddCreationsToGallery_1 = require("../../../../api/server-galleries/mutations/useAddCreationsToGallery");
|
|
8
|
+
const useCreateGallery_1 = require("../../../../api/server-galleries/mutations/useCreateGallery");
|
|
9
|
+
const chooseGalleryItems_1 = __importDefault(require("../../../../modules/gallery/ui/chooseGalleryItems"));
|
|
10
|
+
const createGalleryForm_1 = __importDefault(require("../../../../modules/gallery/ui/createGalleryForm"));
|
|
11
|
+
const itemsPreview_1 = __importDefault(require("../../../../modules/gallery/ui/itemsPreview"));
|
|
12
|
+
const useToGalleryAsset_1 = require("../../../../modules/gallery/useToGalleryAsset");
|
|
13
|
+
const ui_1 = require("../../../../store/ui");
|
|
14
|
+
const react_1 = require("react");
|
|
15
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
16
|
+
// Styles
|
|
17
|
+
const StyledAddGallery = styled_components_1.default.div `
|
|
18
|
+
display: flex;
|
|
19
|
+
|
|
20
|
+
@media (max-width: 767px) {
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
}
|
|
23
|
+
`;
|
|
24
|
+
// Component
|
|
25
|
+
const AddCreationToGallery = () => {
|
|
26
|
+
const { removeCreationFromGalleryWithCallback, creationsToGallery, resetCreationsInGallery: actionResetCheckboxes, } = (0, useToGalleryAsset_1.useToGalleryStore)((state) => ({
|
|
27
|
+
resetCreationsInGallery: state.resetCreationsInGallery,
|
|
28
|
+
creationsToGallery: state.creationsToGallery,
|
|
29
|
+
removeCreationFromGalleryWithCallback: state.removeCreationFromGalleryWithCallback,
|
|
30
|
+
}));
|
|
31
|
+
const { createGallery, errorCreateGallery } = (0, useCreateGallery_1.useCreateGalleryV2)();
|
|
32
|
+
const closeModalSidebarPortal = (0, ui_1.useUiStore)((state) => state.closeModalSidebarPortal);
|
|
33
|
+
const [isNeedAddGallery, setAddGallery] = (0, react_1.useState)(false);
|
|
34
|
+
const { addCreationsToGallery, isAdded, error } = (0, useAddCreationsToGallery_1.useAddCreationsToGalleryV2)();
|
|
35
|
+
const addMethod = async (galleryId, ids) => {
|
|
36
|
+
await addCreationsToGallery({ galleryId, creationIds: ids });
|
|
37
|
+
actionResetCheckboxes();
|
|
38
|
+
closeModalSidebarPortal();
|
|
39
|
+
};
|
|
40
|
+
const ids = creationsToGallery.map((creations) => creations.creationId);
|
|
41
|
+
return ((0, jsx_runtime_1.jsxs)(StyledAddGallery, { children: [(0, jsx_runtime_1.jsx)(itemsPreview_1.default, { creations: creationsToGallery, title: "Add to Gallery", deleteMethod: (itemId) => {
|
|
42
|
+
removeCreationFromGalleryWithCallback(itemId, closeModalSidebarPortal);
|
|
43
|
+
} }), isNeedAddGallery ? ((0, jsx_runtime_1.jsx)(createGalleryForm_1.default, { setAddGallery: setAddGallery,
|
|
44
|
+
// ids={ids as string[]}
|
|
45
|
+
title: "Create Gallery", createMethod: createGallery, inputPlaceHolderText: "Gallery Name", error: errorCreateGallery })) : ((0, jsx_runtime_1.jsx)(chooseGalleryItems_1.default, { setAddGallery: setAddGallery, title: "Choose Gallery", titleBtn: "+ New Gallery", ids: ids, addMethod: addMethod, isAdded: isAdded, error: error, isGetMyGalleries: true }))] }));
|
|
46
|
+
};
|
|
47
|
+
// Export
|
|
48
|
+
exports.default = AddCreationToGallery;
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
8
|
+
const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
9
|
+
const store_1 = require("../../../../modules/user/store");
|
|
10
|
+
const ScreenWidth_1 = require("../../../../styles/ScreenWidth");
|
|
11
|
+
const ExperienceLabel_1 = __importDefault(require("../../../../system/Labels/ExperienceLabel"));
|
|
12
|
+
const env_1 = require("../../../../store/env");
|
|
13
|
+
const ludoDomains_1 = require("@ludo.ninja/core/build/ludoDomains");
|
|
14
|
+
// Styles
|
|
15
|
+
const StyledHeaderExperienceLabel = styled_components_1.default.div `
|
|
16
|
+
margin-right: 20px;
|
|
17
|
+
${ScreenWidth_1.mediaQuery.minWidthFourK} {
|
|
18
|
+
margin-right: ${(0, _4k_1.adaptiveValueCalc)(20)};
|
|
19
|
+
}
|
|
20
|
+
`;
|
|
21
|
+
// Component
|
|
22
|
+
const HeaderExperienceLabel = ({ userId }) => {
|
|
23
|
+
const NEXT_PUBLIC_ENV_VALUE = (0, env_1.useEnvStore)((state) => state.NEXT_PUBLIC_ENV_VALUE);
|
|
24
|
+
const { userExp, isLoadingExp, errorExp } = (0, store_1.useUserStore)((state) => ({
|
|
25
|
+
userExp: state.userExp,
|
|
26
|
+
isLoadingExp: state.isLoadingExp,
|
|
27
|
+
errorExp: state.errorExp,
|
|
28
|
+
}));
|
|
29
|
+
if (!userId)
|
|
30
|
+
return null;
|
|
31
|
+
return ((0, jsx_runtime_1.jsx)(StyledHeaderExperienceLabel, { children: (0, jsx_runtime_1.jsx)(ExperienceLabel_1.default, { value: userExp.xps, link: `${ludoDomains_1.ludoDomains[NEXT_PUBLIC_ENV_VALUE]["app"]}/rewards/${userId}`, loading: isLoadingExp || !!errorExp }) }));
|
|
32
|
+
};
|
|
33
|
+
// Export
|
|
34
|
+
exports.default = HeaderExperienceLabel;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const HeaderStreak: import("styled-components").StyledComponent<({ className, style, tooltipPosition }: {
|
|
2
|
+
className?: string;
|
|
3
|
+
style?: React.CSSProperties;
|
|
4
|
+
tooltipPosition?: string;
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
6
|
+
export default HeaderStreak;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
7
|
+
const UserStreak_1 = __importDefault(require("../../../base/UserStreak"));
|
|
8
|
+
const ScreenWidth_1 = require("../../../../styles/ScreenWidth");
|
|
9
|
+
const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
10
|
+
const HeaderStreak = (0, styled_components_1.default)(UserStreak_1.default) `
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
gap: 2px !important;
|
|
13
|
+
align-items: end;
|
|
14
|
+
margin-right: 20px;
|
|
15
|
+
|
|
16
|
+
${ScreenWidth_1.mediaQuery.minWidthFourK} {
|
|
17
|
+
gap: ${(0, _4k_1.adaptiveValueCalc)(2)} !important;
|
|
18
|
+
margin-right: ${(0, _4k_1.adaptiveValueCalc)(20)};
|
|
19
|
+
}
|
|
20
|
+
`;
|
|
21
|
+
exports.default = HeaderStreak;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
8
|
+
const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
9
|
+
const ScreenWidth_1 = require("../../../../styles/ScreenWidth");
|
|
10
|
+
const Userpic_1 = __importDefault(require("../../../../system/Img/Userpic"));
|
|
11
|
+
// Styles
|
|
12
|
+
const StyledHeaderUserPick = styled_components_1.default.div `
|
|
13
|
+
margin-right: 24px;
|
|
14
|
+
|
|
15
|
+
${ScreenWidth_1.mediaQuery.mobile} {
|
|
16
|
+
margin-right: 8px;
|
|
17
|
+
}
|
|
18
|
+
${ScreenWidth_1.mediaQuery.minWidthFourK} {
|
|
19
|
+
margin-right: ${(0, _4k_1.adaptiveValueCalc)(24)};
|
|
20
|
+
}
|
|
21
|
+
`;
|
|
22
|
+
// Component
|
|
23
|
+
const HeaderUserPick = ({ userId }) => {
|
|
24
|
+
if (!userId)
|
|
25
|
+
return null;
|
|
26
|
+
return ((0, jsx_runtime_1.jsx)(StyledHeaderUserPick, { children: (0, jsx_runtime_1.jsx)(Userpic_1.default, { width: 32, height: 32, userId: userId, isNeedBoxTransform: true }) }));
|
|
27
|
+
};
|
|
28
|
+
// Export
|
|
29
|
+
exports.default = HeaderUserPick;
|