@ludo.ninja/components 2.3.34 → 2.3.36
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/server-assets/queries/useFetchAssets/index.js +2 -2
- package/build/api/server-assets/queries/useFetchDynamicAssetLikes/index.js +2 -2
- package/build/api/server-assets/queries/useFetchDynamicAssetsLikes/index.js +2 -2
- package/build/api/server-experiences/queries/useFetchMyActivityStreak/index.js +3 -3
- package/build/api/server-experiences/queries/useFetchMyExperienceWithLevel/index.js +3 -3
- package/build/api/server-experiences/queries/useFetchMyTasks/index.js +2 -2
- package/build/api/server-galleries/mutations/useAddChangeGalleryBanner/index.js +1 -1
- package/build/api/server-galleries/mutations/useAddCreationsToGallery/index.js +1 -1
- package/build/api/server-galleries/mutations/useDeleteGallery/index.js +2 -2
- package/build/api/server-galleries/mutations/useDeleteGalleryBanner/index.js +1 -1
- package/build/api/server-galleries/mutations/useRemoveAssetFromGallery/index.js +2 -2
- package/build/api/server-galleries/mutations/useRemoveCollectionFromGallery/index.js +1 -1
- package/build/api/server-galleries/queries/useFetchGallery/index.d.ts +1 -1
- package/build/api/server-galleries/queries/useFetchGallery/index.js +1 -1
- package/build/api/server-galleries/queries/useFetchMyFavorites/index.d.ts +1 -1
- package/build/api/server-galleries/queries/useFetchMyFavorites/index.js +1 -1
- package/build/api/server-galleries/queries/useFetchMyGalleries/index.d.ts +1 -1
- package/build/api/server-galleries/queries/useFetchMyGalleries/index.js +1 -1
- package/build/api/server-galleries/queries/useFetchUserFavorites/index.d.ts +1 -1
- package/build/api/server-galleries/queries/useFetchUserFavorites/index.js +1 -1
- package/build/api/server-identities/mutations/useAddWalletElrond/index.js +2 -2
- package/build/api/server-identities/mutations/useAddWalletFlow/index.js +2 -2
- package/build/api/server-identities/mutations/useAddWalletMetamask/index.js +2 -2
- package/build/api/server-identities/mutations/useAddWalletSolana/index.js +2 -2
- package/build/api/server-identities/mutations/useAddWalletTezos/index.js +2 -2
- package/build/api/server-identities/mutations/useAddWalletTon/index.js +2 -2
- package/build/api/server-identities/mutations/useFollowProfile/index.js +2 -2
- package/build/api/server-identities/mutations/useInviteCode/index.js +2 -2
- package/build/api/server-identities/mutations/useRemoveWallet/index.js +2 -2
- package/build/api/server-identities/mutations/useSaveEmailOfJoiner/index.js +2 -2
- package/build/api/server-identities/mutations/useUnfollowProfile/index.js +2 -2
- package/build/api/server-identities/queries/useFetchProfile/index.js +3 -3
- package/build/api/server-medias/queries/useFetchUserPic/index.js +1 -1
- package/build/api/server-opportunities/mutations/useCopyOpportunityShareLink/index.js +2 -2
- package/build/api/server-opportunities/mutations/useDislikeOpportunity.js +2 -2
- package/build/api/server-opportunities/mutations/useLikeOpportunity.js +2 -2
- package/build/api/server-opportunities/mutations/useOpenOpportunity/index.js +2 -2
- package/build/api/server-opportunities/queries/useGetOpportunities.js +3 -3
- package/build/api/server-preferences/mutations/useSaveUserExpectations/index.js +2 -2
- package/build/api/server-preferences/mutations/useSaveUserInterests/index.js +2 -2
- package/build/api/server-preferences/queries/fetchSearchResultSelections/queryData.js +2 -2
- package/build/api/server-preferences/queries/useFetchSearchResultTimeSelection/index.d.ts +1 -1
- package/build/api/server-preferences/queries/useSearchResultBlockchainSelections/index.d.ts +1 -1
- package/build/api/server-search/queries/useFetchAllCreations/index.d.ts +1 -1
- package/build/api/server-search/queries/useFetchAllCreations/index.js +1 -1
- package/build/api/server-search/queries/useFetchCollections/index.d.ts +1 -1
- package/build/api/server-search/queries/useFetchCollections/index.js +4 -4
- package/build/api/server-search/queries/useFetchDynamicCollectionData/index.d.ts +1 -1
- package/build/api/server-search/queries/useFetchDynamicCollectionData/index.js +3 -3
- package/build/api/server-search/queries/useFetchFindAllTopEntitiesByName/index.d.ts +1 -1
- package/build/api/server-search/queries/useFetchFindAllTopEntitiesByName/index.js +1 -1
- package/build/api/server-search/queries/useFetchLudoNftsTonPage/index.d.ts +1 -1
- package/build/api/server-search/queries/useFetchLudoNftsTonPage/index.js +2 -2
- package/build/api/server-search/queries/useFindCreations/index.d.ts +1 -1
- package/build/api/server-search/queries/useFindCreations/index.js +3 -3
- package/build/api/server-search/queries/useFindUserCreations/index.d.ts +1 -1
- package/build/api/server-search/queries/useFindUserCreations/index.js +2 -2
- package/build/api/server-search/queries/useFindUserLudoCreations/index.d.ts +1 -1
- package/build/api/server-search/queries/useFindUserLudoCreations/index.js +2 -2
- package/build/api/subscriptions/SubscriberInviteNotification.js +4 -4
- package/build/api/subscriptions/SubscriberNotifications.js +2 -2
- package/build/api/subscriptions/SubscriberOpportunityNotification.js +4 -4
- package/build/api/subscriptions/SubscriptionNotificationSPA.js +4 -4
- package/build/components/Page404/Page404SPA.js +1 -1
- package/build/components/Page404/index.js +3 -3
- package/build/components/base/Meta/index.js +1 -1
- package/build/components/base/UserStreak/index.js +3 -3
- package/build/components/headers/components/headerExperienceLabel/index.js +4 -4
- package/build/components/headers/components/headerStreak/index.js +2 -2
- package/build/components/headers/components/headerUserPic/index.js +2 -2
- package/build/components/headers/header/index.js +7 -7
- package/build/components/headers/headerSearch/index.js +8 -8
- package/build/components/search/SearchInputContainer.js +9 -9
- package/build/components/search/searchCloseMoreButtons/index.js +4 -4
- package/build/components/search/searchSimpleInput/index.js +7 -7
- package/build/components/search/searchSuggestions/index.d.ts +1 -1
- package/build/components/search/searchSuggestions/index.js +10 -10
- package/build/components/search/searchSuggestions/searchSuggestionsCaption/index.js +3 -3
- package/build/components/search/searchSuggestions/searchSuggestionsFooter/index.js +4 -4
- package/build/components/search/searchSuggestions/searchSuggestionsItem/index.js +4 -4
- package/build/components/search/searchSuggestions/searchSuggestionsItem/searchSuggestionsItemSkeleton/index.js +3 -3
- package/build/components/search/searchSuggestions/searchSuggestionsNotFound/index.js +3 -3
- package/build/components/toTopBtn/index.js +7 -7
- package/build/entities/asset/builder.d.ts +1 -1
- package/build/entities/asset/builder.js +2 -2
- package/build/entities/asset/getAssetMiniatureUrl.d.ts +1 -1
- package/build/entities/asset/getAssetMiniatureUrl.js +3 -3
- package/build/entities/asset/types.d.ts +2 -2
- package/build/entities/creation/CreationMediaView.d.ts +1 -1
- package/build/entities/creation/CreationMediaView.js +7 -7
- package/build/entities/creation/builder.d.ts +1 -1
- package/build/entities/creation/builder.js +3 -3
- package/build/entities/creation/collectionCreationBuilder.d.ts +1 -1
- package/build/entities/creation/collectionCreationBuilder.js +2 -2
- package/build/entities/creation/types.d.ts +2 -2
- package/build/entities/gallery/builder.d.ts +1 -1
- package/build/entities/gallery/builder.js +1 -1
- package/build/entities/gallery/types.d.ts +1 -1
- package/build/entities/media/builder.d.ts +1 -1
- package/build/entities/media/getMediaVariant.d.ts +1 -1
- package/build/entities/media/getMediaVariant.js +2 -2
- package/build/modules/user/store.d.ts +1 -1
- package/build/store/ui/index.js +2 -2
- package/build/store/ui/types.d.ts +3 -3
- package/build/store/ui/utils.d.ts +1 -1
- package/build/system/DropDown/index.js +2 -2
- package/build/system/Forms/Checkbox/Checkbox.test.js +1 -1
- package/build/system/Forms/Checkbox/index.js +4 -4
- package/build/system/Forms/ErrorLabel/ErrorLabel.test.js +1 -1
- package/build/system/Forms/ErrorLabel/index.js +1 -1
- package/build/system/Forms/Input/Input.test.js +2 -2
- package/build/system/Forms/Input/index.js +5 -5
- package/build/system/Forms/RadioInput/RadioInput.test.js +1 -1
- package/build/system/Forms/RadioInput/index.js +2 -2
- package/build/system/Forms/Selects/DesktopSelect/index.d.ts +1 -1
- package/build/system/Forms/Selects/DesktopSelect/index.js +6 -6
- package/build/system/Forms/Selects/MobileSelect/index.js +2 -2
- package/build/system/Forms/TextArea/TextArea.test.js +2 -2
- package/build/system/Forms/TextArea/index.js +4 -4
- package/build/system/Img/Profilepic/index.js +3 -3
- package/build/system/Img/Userpic/UserPic.test.js +4 -4
- package/build/system/Img/Userpic/UserPicSpa.js +6 -6
- package/build/system/Img/Userpic/index.js +6 -6
- package/build/system/Img/index.d.ts +3 -3
- package/build/system/Img/index.js +3 -3
- package/build/system/Labels/ExperienceLabel/index.js +5 -5
- package/build/utils/adaptive/check4k.d.ts +1 -1
- package/build/utils/adaptive/check4k.js +1 -1
- package/build/utils/adaptive/scale.d.ts +1 -1
- package/build/utils/adaptive/scale.js +1 -1
- package/build/utils/auth/index.js +1 -1
- package/build/utils/getErrorAlertProps/index.js +1 -1
- package/build/utils/screen/index.js +2 -2
- package/package.json +1 -1
- package/build/components/Page500/index.d.ts +0 -2
- package/build/components/Page500/index.js +0 -87
- package/build/components/assetPage/assetLikes/index.d.ts +0 -6
- package/build/components/assetPage/assetLikes/index.js +0 -58
- package/build/components/assetPage/assetNft/index.d.ts +0 -4
- package/build/components/assetPage/assetNft/index.js +0 -37
- package/build/components/assetPage/audioVideoPlayer/Duration.d.ts +0 -5
- package/build/components/assetPage/audioVideoPlayer/Duration.js +0 -22
- package/build/components/assetPage/audioVideoPlayer/index.d.ts +0 -96
- package/build/components/assetPage/audioVideoPlayer/index.js +0 -308
- package/build/components/assetPage/category/index.d.ts +0 -4
- package/build/components/assetPage/category/index.js +0 -58
- package/build/components/assetPage/index.d.ts +0 -5
- package/build/components/assetPage/index.js +0 -13
- package/build/components/assetPage/information/index.d.ts +0 -4
- package/build/components/assetPage/information/index.js +0 -114
- package/build/components/assetPage/marketPlaces/index.d.ts +0 -4
- package/build/components/assetPage/marketPlaces/index.js +0 -57
- package/build/components/assetPage/media/AssetImage/index.d.ts +0 -8
- package/build/components/assetPage/media/AssetImage/index.js +0 -187
- package/build/components/assetPage/moreDropDown/index.d.ts +0 -10
- package/build/components/assetPage/moreDropDown/index.js +0 -152
- package/build/components/assetPage/properties/index.d.ts +0 -4
- package/build/components/assetPage/properties/index.js +0 -42
- package/build/components/assetPage/slider/store.d.ts +0 -8
- package/build/components/assetPage/slider/store.js +0 -16
- package/build/components/assetPage/viewer3D/index.d.ts +0 -7
- package/build/components/assetPage/viewer3D/index.js +0 -124
- package/build/components/base/PageHead/index.d.ts +0 -8
- package/build/components/base/PageHead/index.js +0 -13
- package/build/components/favoriteList/add/addCreationToFavoriteList/index.d.ts +0 -7
- package/build/components/favoriteList/add/addCreationToFavoriteList/index.js +0 -28
- package/build/components/gallery/add/addCreationToGallery/index.d.ts +0 -2
- package/build/components/gallery/add/addCreationToGallery/index.js +0 -48
- package/build/components/headers/headerSimple/index.d.ts +0 -2
- package/build/components/headers/headerSimple/index.js +0 -78
- package/build/components/linkTabs/index.d.ts +0 -8
- package/build/components/linkTabs/index.js +0 -51
- package/build/components/linkTabs/linkTab/index.d.ts +0 -9
- package/build/components/linkTabs/linkTab/index.js +0 -74
- package/build/components/myWallets/index.d.ts +0 -9
- package/build/components/myWallets/index.js +0 -37
- package/build/components/myWallets/myWalletItem/index.d.ts +0 -10
- package/build/components/myWallets/myWalletItem/index.js +0 -82
- package/build/components/myWallets/myWalletItem/myWalletItemCheckBox/index.d.ts +0 -9
- package/build/components/myWallets/myWalletItem/myWalletItemCheckBox/index.js +0 -21
- package/build/components/profile/profileSkeleton/index.d.ts +0 -4
- package/build/components/profile/profileSkeleton/index.js +0 -75
- package/build/components/searchFiltersConnector/filters/applyResetBtns/index.d.ts +0 -5
- package/build/components/searchFiltersConnector/filters/applyResetBtns/index.js +0 -55
- package/build/components/searchFiltersConnector/filters/galleriesFiltersForm/index.d.ts +0 -10
- package/build/components/searchFiltersConnector/filters/galleriesFiltersForm/index.js +0 -60
- package/build/components/searchFiltersConnector/filters/index.d.ts +0 -11
- package/build/components/searchFiltersConnector/filters/index.js +0 -158
- package/build/components/searchFiltersConnector/filters/mobileFilters/index.d.ts +0 -5
- package/build/components/searchFiltersConnector/filters/mobileFilters/index.js +0 -25
- package/build/components/searchFiltersConnector/filters/setsFiltersForm/index.d.ts +0 -9
- package/build/components/searchFiltersConnector/filters/setsFiltersForm/index.js +0 -53
- package/build/components/searchFiltersConnector/index.d.ts +0 -10
- package/build/components/searchFiltersConnector/index.js +0 -116
- package/build/components/shareDialog/index.d.ts +0 -34
- package/build/components/shareDialog/index.js +0 -92
- package/build/components/sidebar/data.d.ts +0 -6
- package/build/components/sidebar/data.js +0 -121
- package/build/components/sidebar/icons.d.ts +0 -9
- package/build/components/sidebar/icons.js +0 -22
- package/build/components/sidebar/index.d.ts +0 -2
- package/build/components/sidebar/index.js +0 -135
- package/build/components/sidebar/initializer.d.ts +0 -1
- package/build/components/sidebar/initializer.js +0 -36
- package/build/components/sidebar/sidebarFilters/index.d.ts +0 -7
- package/build/components/sidebar/sidebarFilters/index.js +0 -51
- package/build/components/sidebar/sidebarInviteCodeLabel/index.d.ts +0 -2
- package/build/components/sidebar/sidebarInviteCodeLabel/index.js +0 -49
- package/build/components/sidebar/sidebarSpa.d.ts +0 -10
- package/build/components/sidebar/sidebarSpa.js +0 -134
- package/build/dto/AssetEntity/index.d.ts +0 -63
- package/build/dto/AssetEntity/index.js +0 -208
- package/build/dto/AssetEntity/interface.d.ts +0 -39
- package/build/dto/AssetEntity/interface.js +0 -2
- package/build/dto/AssetEntity/views/AssetAudio/index.d.ts +0 -11
- package/build/dto/AssetEntity/views/AssetAudio/index.js +0 -32
- package/build/dto/AssetEntity/views/AssetImage/index.d.ts +0 -12
- package/build/dto/AssetEntity/views/AssetImage/index.js +0 -44
- package/build/dto/AssetEntity/views/AssetObject/index.d.ts +0 -13
- package/build/dto/AssetEntity/views/AssetObject/index.js +0 -64
- package/build/dto/AssetEntity/views/AssetOther/index.d.ts +0 -13
- package/build/dto/AssetEntity/views/AssetOther/index.js +0 -47
- package/build/dto/AssetEntity/views/AssetScreenshot/index.d.ts +0 -12
- package/build/dto/AssetEntity/views/AssetScreenshot/index.js +0 -44
- package/build/dto/AssetEntity/views/AssetVideo/index.d.ts +0 -11
- package/build/dto/AssetEntity/views/AssetVideo/index.js +0 -32
- package/build/dto/AssetEntity/views/index.d.ts +0 -6
- package/build/dto/AssetEntity/views/index.js +0 -16
- package/build/dto/AssetSearchEntity/index.d.ts +0 -60
- package/build/dto/AssetSearchEntity/index.js +0 -164
- package/build/dto/AssetSearchEntity/interface.d.ts +0 -36
- package/build/dto/AssetSearchEntity/interface.js +0 -2
- package/build/dto/Collection/CollectionCreationEntity/index.d.ts +0 -45
- package/build/dto/Collection/CollectionCreationEntity/index.js +0 -173
- package/build/dto/Collection/CollectionCreationEntity/interface.d.ts +0 -24
- package/build/dto/Collection/CollectionCreationEntity/interface.js +0 -2
- package/build/dto/Collection/CollectionEntity/index.d.ts +0 -32
- package/build/dto/Collection/CollectionEntity/index.js +0 -82
- package/build/dto/Collection/CollectionEntity/interface.d.ts +0 -16
- package/build/dto/Collection/CollectionEntity/interface.js +0 -2
- package/build/dto/CreationEntity/index.d.ts +0 -49
- package/build/dto/CreationEntity/index.js +0 -178
- package/build/dto/CreationEntity/interface.d.ts +0 -30
- package/build/dto/CreationEntity/interface.js +0 -2
- package/build/dto/GalleryEntityV2/index.d.ts +0 -32
- package/build/dto/GalleryEntityV2/index.js +0 -80
- package/build/dto/GalleryEntityV2/interface.d.ts +0 -16
- package/build/dto/GalleryEntityV2/interface.js +0 -2
- package/build/dto/common/ItemType/data.d.ts +0 -3
- package/build/dto/common/ItemType/data.js +0 -41
- package/build/dto/common/ItemType/index.d.ts +0 -49
- package/build/dto/common/ItemType/index.js +0 -46
- package/build/dto/common/ItemViews/CreationAudio/index.d.ts +0 -8
- package/build/dto/common/ItemViews/CreationAudio/index.js +0 -28
- package/build/dto/common/ItemViews/CreationImage/index.d.ts +0 -9
- package/build/dto/common/ItemViews/CreationImage/index.js +0 -39
- package/build/dto/common/ItemViews/CreationObject/index.d.ts +0 -7
- package/build/dto/common/ItemViews/CreationObject/index.js +0 -30
- package/build/dto/common/ItemViews/CreationOther/index.d.ts +0 -8
- package/build/dto/common/ItemViews/CreationOther/index.js +0 -28
- package/build/dto/common/ItemViews/CreationVideo/index.d.ts +0 -8
- package/build/dto/common/ItemViews/CreationVideo/index.js +0 -28
- package/build/dto/common/Media/Audio/index.d.ts +0 -15
- package/build/dto/common/Media/Audio/index.js +0 -40
- package/build/dto/common/Media/Image/index.d.ts +0 -15
- package/build/dto/common/Media/Image/index.js +0 -48
- package/build/dto/common/Media/Object/index.d.ts +0 -15
- package/build/dto/common/Media/Object/index.js +0 -49
- package/build/dto/common/Media/Other/index.d.ts +0 -15
- package/build/dto/common/Media/Other/index.js +0 -68
- package/build/dto/common/Media/Screenshot/index.d.ts +0 -15
- package/build/dto/common/Media/Screenshot/index.js +0 -48
- package/build/dto/common/Media/Urls/index.d.ts +0 -31
- package/build/dto/common/Media/Urls/index.js +0 -125
- package/build/dto/common/Media/Video/index.d.ts +0 -15
- package/build/dto/common/Media/Video/index.js +0 -40
- package/build/dto/common/Media/index.d.ts +0 -28
- package/build/dto/common/Media/index.js +0 -45
- package/build/dto/common/Media/interface.d.ts +0 -30
- package/build/dto/common/Media/interface.js +0 -2
- package/build/entities/asset/AssetMediasViews.d.ts +0 -4
- package/build/entities/asset/AssetMediasViews.js +0 -54
- package/build/entities/asset/getAssetMediasOpengraph.d.ts +0 -5
- package/build/entities/asset/getAssetMediasOpengraph.js +0 -39
- package/build/entities/collection/builder.d.ts +0 -3
- package/build/entities/collection/builder.js +0 -31
- package/build/entities/collection/types.d.ts +0 -17
- package/build/entities/collection/types.js +0 -2
- package/build/fonts/FontsInitializeLayout.d.ts +0 -12
- package/build/fonts/FontsInitializeLayout.js +0 -164
- package/build/hoc/HOCSignUpInterceptor/CircleSvg.d.ts +0 -1
- package/build/hoc/HOCSignUpInterceptor/CircleSvg.js +0 -6
- package/build/hoc/HOCSignUpInterceptor/HOCSignUpInterceptor.d.ts +0 -2
- package/build/hoc/HOCSignUpInterceptor/HOCSignUpInterceptor.js +0 -103
- package/build/hooks/apollo/index.d.ts +0 -1
- package/build/hooks/apollo/index.js +0 -24
- package/build/hooks/audio/useMultiAudio/index.d.ts +0 -2
- package/build/hooks/audio/useMultiAudio/index.js +0 -47
- package/build/hooks/extension/useExtension/index.d.ts +0 -7
- package/build/hooks/extension/useExtension/index.js +0 -32
- package/build/hooks/favorites/useGetFavoriteGallaryCreations/index.d.ts +0 -22
- package/build/hooks/favorites/useGetFavoriteGallaryCreations/index.js +0 -122
- package/build/hooks/favorites/useGetUserFevoritesCreations/index.d.ts +0 -23
- package/build/hooks/favorites/useGetUserFevoritesCreations/index.js +0 -166
- package/build/hooks/galleries/useGetUserGalleriesCreations/index.d.ts +0 -23
- package/build/hooks/galleries/useGetUserGalleriesCreations/index.js +0 -155
- package/build/hooks/likes/dynamic/useFindCollectionsAndLikes.d.ts +0 -29
- package/build/hooks/likes/dynamic/useFindCollectionsAndLikes.js +0 -145
- package/build/hooks/likes/dynamic/useFindCreationsAndLikes.d.ts +0 -15
- package/build/hooks/likes/dynamic/useFindCreationsAndLikes.js +0 -119
- package/build/hooks/likes/dynamic/useGetCollectionInfoAndLikes.d.ts +0 -14
- package/build/hooks/likes/dynamic/useGetCollectionInfoAndLikes.js +0 -125
- package/build/hooks/likes/dynamic/useGetCreationsAndLikes.d.ts +0 -17
- package/build/hooks/likes/dynamic/useGetCreationsAndLikes.js +0 -128
- package/build/hooks/likes/dynamic/useGetCreationsAndLikesByType.d.ts +0 -16
- package/build/hooks/likes/dynamic/useGetCreationsAndLikesByType.js +0 -142
- package/build/hooks/likes/dynamic/useGetMixedLikesFavoriteList.d.ts +0 -18
- package/build/hooks/likes/dynamic/useGetMixedLikesFavoriteList.js +0 -48
- package/build/hooks/likes/dynamic/useGetTableLikes.d.ts +0 -14
- package/build/hooks/likes/dynamic/useGetTableLikes.js +0 -104
- package/build/hooks/likes/index.d.ts +0 -19
- package/build/hooks/likes/index.js +0 -113
- package/build/hooks/likes/useGetLikesAsset.d.ts +0 -20
- package/build/hooks/likes/useGetLikesAsset.js +0 -91
- package/build/layouts/AppLayout.d.ts +0 -6
- package/build/layouts/AppLayout.js +0 -24
- package/build/layouts/GlobalLayout.d.ts +0 -4
- package/build/layouts/GlobalLayout.js +0 -34
- package/build/layouts/base/LWithRegularHeader/index.d.ts +0 -3
- package/build/layouts/base/LWithRegularHeader/index.js +0 -16
- package/build/layouts/base/LWithRegularHeader/type.d.ts +0 -5
- package/build/layouts/base/LWithRegularHeader/type.js +0 -2
- package/build/layouts/base/LWithSearchHeader/index.d.ts +0 -3
- package/build/layouts/base/LWithSearchHeader/index.js +0 -12
- package/build/layouts/base/LWithSearchHeader/type.d.ts +0 -5
- package/build/layouts/base/LWithSearchHeader/type.js +0 -2
- package/build/layouts/custom/mainLayout/index.d.ts +0 -3
- package/build/layouts/custom/mainLayout/index.js +0 -17
- package/build/layouts/custom/styles.d.ts +0 -2
- package/build/layouts/custom/styles.js +0 -46
- package/build/layouts/pageTransitionLayout.d.ts +0 -6
- package/build/layouts/pageTransitionLayout.js +0 -23
- package/build/layouts/pageWithLayout.d.ts +0 -9
- package/build/layouts/pageWithLayout.js +0 -2
- package/build/modules/gallery/api/useGetAssetsAndCollectionForFavorite.d.ts +0 -19
- package/build/modules/gallery/api/useGetAssetsAndCollectionForFavorite.js +0 -204
- package/build/modules/gallery/api/useGetFavoriteGallery.d.ts +0 -6
- package/build/modules/gallery/api/useGetFavoriteGallery.js +0 -37
- package/build/modules/gallery/store.d.ts +0 -26
- package/build/modules/gallery/store.js +0 -97
- package/build/modules/gallery/ui/AllResults.d.ts +0 -3
- package/build/modules/gallery/ui/AllResults.js +0 -12
- package/build/modules/gallery/ui/Description.d.ts +0 -4
- package/build/modules/gallery/ui/Description.js +0 -101
- package/build/modules/gallery/ui/EditGallery.d.ts +0 -9
- package/build/modules/gallery/ui/EditGallery.js +0 -51
- package/build/modules/gallery/ui/GalleryDeleteIcon.d.ts +0 -4
- package/build/modules/gallery/ui/GalleryDeleteIcon.js +0 -30
- package/build/modules/gallery/ui/PlaceholderItemsGallery.d.ts +0 -1
- package/build/modules/gallery/ui/PlaceholderItemsGallery.js +0 -71
- package/build/modules/gallery/ui/STopSections.d.ts +0 -1
- package/build/modules/gallery/ui/STopSections.js +0 -31
- package/build/modules/gallery/ui/chooseGalleryItems/chooseGalleryItem/index.d.ts +0 -7
- package/build/modules/gallery/ui/chooseGalleryItems/chooseGalleryItem/index.js +0 -97
- package/build/modules/gallery/ui/chooseGalleryItems/index.d.ts +0 -15
- package/build/modules/gallery/ui/chooseGalleryItems/index.js +0 -157
- package/build/modules/gallery/ui/createGalleryForm/index.d.ts +0 -12
- package/build/modules/gallery/ui/createGalleryForm/index.js +0 -137
- package/build/modules/gallery/ui/editGalleryForm/index.d.ts +0 -8
- package/build/modules/gallery/ui/editGalleryForm/index.js +0 -189
- package/build/modules/gallery/ui/itemsPreview/index.d.ts +0 -19
- package/build/modules/gallery/ui/itemsPreview/index.js +0 -279
- package/build/modules/gallery/useToGalleryAsset.d.ts +0 -18
- package/build/modules/gallery/useToGalleryAsset.js +0 -88
- package/build/modules/notifications/CreatorNotifications.d.ts +0 -1
- package/build/modules/notifications/CreatorNotifications.js +0 -42
- package/build/modules/opportunity/OpportunityCard.d.ts +0 -5
- package/build/modules/opportunity/OpportunityCard.js +0 -272
- package/build/modules/opportunity/OpportunityDropDown.d.ts +0 -5
- package/build/modules/opportunity/OpportunityDropDown.js +0 -42
- package/build/modules/opportunity/ShareIcon.d.ts +0 -1
- package/build/modules/opportunity/ShareIcon.js +0 -6
- package/build/modules/opportunity/encodeQuery.d.ts +0 -14
- package/build/modules/opportunity/encodeQuery.js +0 -31
- package/build/modules/opportunity/popup/CopyIcon.d.ts +0 -8
- package/build/modules/opportunity/popup/CopyIcon.js +0 -7
- package/build/modules/opportunity/popup/FacebookIcon.d.ts +0 -8
- package/build/modules/opportunity/popup/FacebookIcon.js +0 -7
- package/build/modules/opportunity/popup/LinkedInIcon.d.ts +0 -8
- package/build/modules/opportunity/popup/LinkedInIcon.js +0 -7
- package/build/modules/opportunity/popup/LogoXIcon.d.ts +0 -8
- package/build/modules/opportunity/popup/LogoXIcon.js +0 -7
- package/build/modules/opportunity/popup/OpportunityMenu.d.ts +0 -8
- package/build/modules/opportunity/popup/OpportunityMenu.js +0 -204
- package/build/modules/opportunity/type.d.ts +0 -2
- package/build/modules/opportunity/type.js +0 -2
- package/build/modules/sessionScroll/globalTabs.d.ts +0 -12
- package/build/modules/sessionScroll/globalTabs.js +0 -50
- package/build/modules/sessionScroll/useVirtuosoInitialScroll.d.ts +0 -12
- package/build/modules/sessionScroll/useVirtuosoInitialScroll.js +0 -59
- package/build/modules/user/auth/HOCAuthSearchParamsLocalhostInterceptor.d.ts +0 -3
- package/build/modules/user/auth/HOCAuthSearchParamsLocalhostInterceptor.js +0 -34
- package/build/modules/user/auth/useAuthVerification.d.ts +0 -1
- package/build/modules/user/auth/useAuthVerification.js +0 -18
- package/build/modules/user/auth/useSignIn.d.ts +0 -2
- package/build/modules/user/auth/useSignIn.js +0 -23
- package/build/modules/user/auth/useSignOut.d.ts +0 -1
- package/build/modules/user/auth/useSignOut.js +0 -42
- package/build/modules/user/auth/useVerification.d.ts +0 -1
- package/build/modules/user/auth/useVerification.js +0 -67
- package/build/modules/user/profileData/profileDataInitialization.d.ts +0 -1
- package/build/modules/user/profileData/profileDataInitialization.js +0 -66
- package/build/modules/virtuoso/VirtuosoPageBuilder.d.ts +0 -19
- package/build/modules/virtuoso/VirtuosoPageBuilder.js +0 -135
- package/build/modules/virtuoso/VirtuosoToTopBtn.d.ts +0 -9
- package/build/modules/virtuoso/VirtuosoToTopBtn.js +0 -38
- package/build/modules/virtuoso/types.d.ts +0 -4
- package/build/modules/virtuoso/types.js +0 -2
- package/build/modules/virtuoso/useSubscribeVirtuosoScrollToHeader.d.ts +0 -3
- package/build/modules/virtuoso/useSubscribeVirtuosoScrollToHeader.js +0 -27
- package/build/modules/virtuoso/useVirtuosoData.d.ts +0 -12
- package/build/modules/virtuoso/useVirtuosoData.js +0 -49
- package/build/public/MobileSearchBtn/close.js +0 -25
- package/build/public/MobileSearchBtn/search.js +0 -31
- package/build/public/MobileSearchBtn/test/pirate.js +0 -36
- package/build/public/MobileSearchBtn/test/squircle.js +0 -36
- package/build/public/assetPage/audioPlaceholder.js +0 -116
- package/build/public/assetPage/details.js +0 -31
- package/build/public/assetPage/favorite.js +0 -22
- package/build/public/assetPage/favorite_hover.js +0 -24
- package/build/public/assetPage/flag.js +0 -32
- package/build/public/assetPage/fullScreen.js +0 -24
- package/build/public/assetPage/owners.js +0 -27
- package/build/public/assetPage/pause.js +0 -25
- package/build/public/assetPage/play.js +0 -23
- package/build/public/assetPage/share.js +0 -26
- package/build/public/assetPage/share2.js +0 -25
- package/build/public/assetPage/share2_hover.js +0 -25
- package/build/public/assetPage/shareWithDots.js +0 -40
- package/build/public/assetPage/shareWithDots_hover.js +0 -40
- package/build/public/assetPage/share_hover.js +0 -24
- package/build/public/assetPage/soundOf.js +0 -24
- package/build/public/assetPage/soundOn.js +0 -24
- package/build/public/calendar.js +0 -24
- package/build/public/cards/addToFavListIcon.js +0 -30
- package/build/public/cards/addToGalleryIcon.js +0 -22
- package/build/public/cards/heart.js +0 -20
- package/build/public/cardsHolderLoader/loader.js +0 -25
- package/build/public/checkbox-on.js +0 -34
- package/build/public/checkboxArrow.js +0 -25
- package/build/public/close.js +0 -25
- package/build/public/close20.js +0 -25
- package/build/public/collectionPage/export.js +0 -25
- package/build/public/copied.js +0 -30
- package/build/public/copy-icon-new.js +0 -31
- package/build/public/creation/card/moreBtn.js +0 -24
- package/build/public/creation/card/moreBtnVertical.js +0 -28
- package/build/public/creation/card/moreBtn_hover.js +0 -28
- package/build/public/dropDown/arrow_down.js +0 -24
- package/build/public/dropdown-arrow-down.js +0 -22
- package/build/public/dropdown-arrow-up.js +0 -22
- package/build/public/error/refresh.js +0 -29
- package/build/public/favicon.ico +0 -0
- package/build/public/favicon.png +0 -0
- package/build/public/follower.js +0 -27
- 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 +0 -25
- package/build/public/header/mobile_menu_icons/arrows/arrow_up.js +0 -25
- package/build/public/header/mobile_menu_icons/campaigns.js +0 -40
- package/build/public/header/mobile_menu_icons/dropdown/add_new_campaign.js +0 -72
- package/build/public/header/mobile_menu_icons/dropdown/my_galleries.js +0 -71
- package/build/public/header/mobile_menu_icons/dropdown/my_profile.js +0 -35
- package/build/public/header/mobile_menu_icons/dropdown/my_wallets.js +0 -34
- package/build/public/header/mobile_menu_icons/dropdown/notifications.js +0 -36
- package/build/public/header/mobile_menu_icons/dropdown/top_campaigns.js +0 -44
- package/build/public/header/mobile_menu_icons/dropdown/top_creations.js +0 -41
- package/build/public/header/mobile_menu_icons/dropdown/top_creators.js +0 -58
- package/build/public/header/mobile_menu_icons/dropdown/top_galleries.js +0 -75
- package/build/public/header/mobile_menu_icons/dropdown/top_/321/201ollectors.js +0 -64
- package/build/public/header/mobile_menu_icons/experiences.js +0 -49
- package/build/public/header/mobile_menu_icons/settings.js +0 -24
- package/build/public/header/mobile_menu_icons/sign_out.js +0 -31
- package/build/public/header/mobile_menu_icons/submit_nft.js +0 -88
- package/build/public/header/mobile_menu_icons/top.js +0 -45
- package/build/public/header/mobile_toggle/close.js +0 -25
- package/build/public/header/mobile_toggle/regular.js +0 -25
- package/build/public/like-icon-active.js +0 -27
- package/build/public/like-icon.js +0 -23
- package/build/public/logOut/logOutBtn.js +0 -35
- package/build/public/logo/main_logo.js +0 -726
- package/build/public/logo/main_logo_dark.js +0 -159
- package/build/public/logo/mobile_logo.js +0 -714
- package/build/public/logo/mobile_logo_dark.js +0 -147
- package/build/public/ludo-logo-small.js +0 -28
- package/build/public/ludo-logo-square.js +0 -40
- package/build/public/no_image placeholder.js +0 -41
- package/build/public/no_media_placeholder.js +0 -752
- package/build/public/report.js +0 -40
- package/build/public/search/arrow_up.js +0 -25
- package/build/public/search/back.js +0 -25
- package/build/public/search/close.js +0 -25
- package/build/public/search/no_found.js +0 -30
- package/build/public/search/search.js +0 -31
- package/build/public/search-icon.js +0 -34
- package/build/public/services/opensea.js +0 -28
- package/build/public/services/other.js +0 -40
- package/build/public/services/rarible.js +0 -29
- package/build/public/settings_page/back.js +0 -25
- package/build/public/settings_page/burger_menu.js +0 -37
- package/build/public/settings_page/notifications.js +0 -35
- package/build/public/settings_page/notifications_active.js +0 -35
- package/build/public/settings_page/privacy.js +0 -27
- package/build/public/settings_page/privacy_active.js +0 -27
- package/build/public/settings_page/settings.js +0 -28
- package/build/public/settings_page/settings_active.js +0 -28
- package/build/public/settings_page/upload.js +0 -30
- package/build/public/share-icon.js +0 -40
- package/build/public/showCaseIcons/heart.js +0 -20
- package/build/public/tabs/arrow_right.js +0 -25
- package/build/public/tabs/arrow_right_dark.js +0 -25
- package/build/public/tests/audio.mp3 +0 -0
- package/build/public/tests/test_1.js +0 -64
- package/build/public/toTopBtn/toTopBtn.js +0 -31
- package/build/public/upload-userpic.js +0 -64
- package/build/public/userpic-placeholder.jpg +0 -0
- package/build/public/userpics/placeholder-lg-1.js +0 -46
- package/build/public/userpics/placeholder-sm-1.js +0 -46
- package/build/public/video/pause.js +0 -33
- package/build/public/video/play.js +0 -29
- package/build/public/wallets/arkane-btn.js +0 -37
- package/build/public/wallets/bitski-btn.js +0 -52
- package/build/public/wallets/elrond-btn.js +0 -189
- package/build/public/wallets/elrond-icon-sm.js +0 -184
- package/build/public/wallets/elrond.js +0 -27
- package/build/public/wallets/ethereum-icon-sm.js +0 -34
- package/build/public/wallets/flow-btn.js +0 -33
- package/build/public/wallets/flow-icon-sm.js +0 -36
- package/build/public/wallets/formatic-btn.js +0 -25
- package/build/public/wallets/formatic-icon-sm.js +0 -25
- package/build/public/wallets/maiar-btn.js +0 -58
- package/build/public/wallets/maiar-icon-sm.js +0 -58
- package/build/public/wallets/metamask-btn.js +0 -176
- package/build/public/wallets/metamask-icon-sm.js +0 -169
- package/build/public/wallets/phantom.js +0 -27
- package/build/public/wallets/plus.js +0 -29
- package/build/public/wallets/solana-btn.js +0 -71
- package/build/public/wallets/solana-icon-sm.js +0 -64
- package/build/public/wallets/terra-btn.js +0 -94
- package/build/public/wallets/terra-icon-sm.js +0 -94
- package/build/public/wallets/tezos-btn.js +0 -42
- package/build/public/wallets/tezos-icon-sm.js +0 -37
- package/build/public/wallets/wallet_connect.js +0 -27
- package/build/public/wallets/walletconnect-btn.js +0 -22
- package/build/public/wallets/walletlink-btn.js +0 -36
- package/build/public/wallets/walletlink-icon-sm.js +0 -37
- package/build/public/wallets/xdefi-btn.js +0 -31
- package/build/public/wallets/xdefi-icon-sm.js +0 -31
- package/build/public/warning.js +0 -22
- package/build/store/creation/index.d.ts +0 -5
- package/build/store/creation/index.js +0 -38
- package/build/store/media/index.d.ts +0 -2
- package/build/store/media/index.js +0 -59
- package/build/store/media/types.d.ts +0 -11
- package/build/store/media/types.js +0 -2
- package/build/styles/animations/index.d.ts +0 -2
- package/build/styles/animations/index.js +0 -20
- package/build/styles/globalStyles.d.ts +0 -2
- package/build/styles/globalStyles.js +0 -86
- package/build/system/ActiveLink/ActiveLink.test.d.ts +0 -1
- package/build/system/ActiveLink/ActiveLink.test.js +0 -48
- package/build/system/ActiveLink/index.d.ts +0 -9
- package/build/system/ActiveLink/index.js +0 -49
- package/build/system/Alert/index.d.ts +0 -2
- package/build/system/Alert/index.js +0 -21
- package/build/system/BasicOverlay/index.d.ts +0 -2
- package/build/system/BasicOverlay/index.js +0 -27
- package/build/system/Buttons/IconButton/index.d.ts +0 -2
- package/build/system/Buttons/IconButton/index.js +0 -7
- package/build/system/Buttons/IconWithButton/index.d.ts +0 -2
- package/build/system/Buttons/IconWithButton/index.js +0 -7
- package/build/system/Buttons/IconWithButton/themes.d.ts +0 -0
- package/build/system/Buttons/IconWithButton/themes.js +0 -1
- package/build/system/Buttons/MainButton/index.d.ts +0 -2
- package/build/system/Buttons/MainButton/index.js +0 -7
- package/build/system/Buttons/MainButton/themes.d.ts +0 -0
- package/build/system/Buttons/MainButton/themes.js +0 -1
- package/build/system/Buttons/SecondaryButton/index.d.ts +0 -2
- package/build/system/Buttons/SecondaryButton/index.js +0 -7
- package/build/system/Cards/CardCheckbox/index.d.ts +0 -5
- package/build/system/Cards/CardCheckbox/index.js +0 -89
- package/build/system/Cards/CardContent/CardCategory/CardCategory.test.d.ts +0 -1
- package/build/system/Cards/CardContent/CardCategory/CardCategory.test.js +0 -28
- package/build/system/Cards/CardContent/CardCategory/index.d.ts +0 -5
- package/build/system/Cards/CardContent/CardCategory/index.js +0 -54
- package/build/system/Cards/CardContent/CardContent.test.d.ts +0 -1
- package/build/system/Cards/CardContent/CardContent.test.js +0 -103
- package/build/system/Cards/CardContent/CardLikes/CardLikes.test.d.ts +0 -1
- package/build/system/Cards/CardContent/CardLikes/CardLikes.test.js +0 -37
- package/build/system/Cards/CardContent/CardLikes/index.d.ts +0 -5
- package/build/system/Cards/CardContent/CardLikes/index.js +0 -29
- package/build/system/Cards/CardContent/CardShowMore/CardShowMore.test.d.ts +0 -1
- package/build/system/Cards/CardContent/CardShowMore/CardShowMore.test.js +0 -46
- package/build/system/Cards/CardContent/CardShowMore/index.d.ts +0 -6
- package/build/system/Cards/CardContent/CardShowMore/index.js +0 -121
- package/build/system/Cards/CardContent/index.d.ts +0 -17
- package/build/system/Cards/CardContent/index.js +0 -97
- package/build/system/Cards/CardMedia/CardAudio/CardAudio.test.d.ts +0 -1
- package/build/system/Cards/CardMedia/CardAudio/CardAudio.test.js +0 -92
- package/build/system/Cards/CardMedia/CardAudio/index.d.ts +0 -7
- package/build/system/Cards/CardMedia/CardAudio/index.js +0 -66
- package/build/system/Cards/CardMedia/CardImage/CardImage.test.d.ts +0 -1
- package/build/system/Cards/CardMedia/CardImage/CardImage.test.js +0 -34
- package/build/system/Cards/CardMedia/CardImage/index.d.ts +0 -9
- package/build/system/Cards/CardMedia/CardImage/index.js +0 -24
- package/build/system/Cards/CardMedia/CardVideo/index.d.ts +0 -7
- package/build/system/Cards/CardMedia/CardVideo/index.js +0 -57
- package/build/system/Cards/CardRank/index.d.ts +0 -4
- package/build/system/Cards/CardRank/index.js +0 -82
- package/build/system/Cards/CreationCard/CardHead.d.ts +0 -12
- package/build/system/Cards/CreationCard/CardHead.js +0 -62
- package/build/system/Cards/CreationCard/index.d.ts +0 -29
- package/build/system/Cards/CreationCard/index.js +0 -129
- package/build/system/Cards/MultiMediaCard/index.d.ts +0 -8
- package/build/system/Cards/MultiMediaCard/index.js +0 -126
- package/build/system/Cards/Styles/Content.d.ts +0 -2
- package/build/system/Cards/Styles/Content.js +0 -40
- package/build/system/Cards/Styles/Head.d.ts +0 -2
- package/build/system/Cards/Styles/Head.js +0 -46
- package/build/system/Cards/Styles/Headicons.d.ts +0 -4
- package/build/system/Cards/Styles/Headicons.js +0 -122
- package/build/system/Cards/Styles/Image.d.ts +0 -4
- package/build/system/Cards/Styles/Image.js +0 -24
- package/build/system/Cards/Styles/Likes.d.ts +0 -4
- package/build/system/Cards/Styles/Likes.js +0 -53
- package/build/system/Cards/Styles/MultiHead.d.ts +0 -2
- package/build/system/Cards/Styles/MultiHead.js +0 -44
- package/build/system/Cards/Styles/Video.d.ts +0 -2
- package/build/system/Cards/Styles/Video.js +0 -15
- package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsError/index.d.ts +0 -4
- package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsError/index.js +0 -48
- package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsNoResults/index.d.ts +0 -4
- package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsNoResults/index.js +0 -34
- package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsSkeleton/index.d.ts +0 -5
- package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsSkeleton/index.js +0 -57
- package/build/system/CardsHolderWithSkeleton/CardsHolderLoader/index.d.ts +0 -2
- package/build/system/CardsHolderWithSkeleton/CardsHolderLoader/index.js +0 -42
- package/build/system/DropDown/DropDown.test.d.ts +0 -1
- package/build/system/DropDown/DropDown.test.js +0 -38
- package/build/system/Filters/type.d.ts +0 -16
- package/build/system/Filters/type.js +0 -11
- package/build/system/Flex/index.d.ts +0 -0
- package/build/system/Flex/index.js +0 -1
- package/build/system/Forms/DatePicker/DatePicker.test.d.ts +0 -1
- package/build/system/Forms/DatePicker/DatePicker.test.js +0 -39
- package/build/system/Forms/DatePicker/index.d.ts +0 -14
- package/build/system/Forms/DatePicker/index.js +0 -138
- package/build/system/Labels/InviteLabel/InviteLabel.test.d.ts +0 -1
- package/build/system/Labels/InviteLabel/InviteLabel.test.js +0 -44
- package/build/system/Labels/InviteLabel/index.d.ts +0 -6
- package/build/system/Labels/InviteLabel/index.js +0 -44
- package/build/system/Modals/Modal/Modal.test.d.ts +0 -1
- package/build/system/Modals/Modal/Modal.test.js +0 -36
- package/build/system/Modals/Modal/index.d.ts +0 -2
- package/build/system/Modals/Modal/index.js +0 -82
- package/build/system/Modals/ModalSidebar/CreatorModalSidebarPortal.d.ts +0 -1
- package/build/system/Modals/ModalSidebar/CreatorModalSidebarPortal.js +0 -47
- package/build/system/Modals/ModalSidebar/ModalSidebar.test.d.ts +0 -1
- package/build/system/Modals/ModalSidebar/ModalSidebar.test.js +0 -35
- package/build/system/Modals/ModalSidebar/ModalSidebarPortal.d.ts +0 -5
- package/build/system/Modals/ModalSidebar/ModalSidebarPortal.js +0 -10
- package/build/system/Modals/ModalSidebar/index.d.ts +0 -3
- package/build/system/Modals/ModalSidebar/index.js +0 -78
- package/build/system/Overlay/Overlay.test.d.ts +0 -1
- package/build/system/Overlay/Overlay.test.js +0 -44
- package/build/system/Overlay/index.d.ts +0 -2
- package/build/system/Overlay/index.js +0 -41
- package/build/system/PageLoader/index.d.ts +0 -2
- package/build/system/PageLoader/index.js +0 -7
- package/build/system/Palete/index.d.ts +0 -2
- package/build/system/Palete/index.js +0 -7
- package/build/system/ShareIconResize.d.ts +0 -1
- package/build/system/ShareIconResize.js +0 -31
- package/build/system/Tabs/TabNavLink/TabNavLink.test.d.ts +0 -2
- package/build/system/Tabs/TabNavLink/TabNavLink.test.js +0 -40
- package/build/system/Tabs/TabNavLink/index.d.ts +0 -12
- package/build/system/Tabs/TabNavLink/index.js +0 -58
- package/build/system/Tabs/TabsNav/TabsNav.test.d.ts +0 -2
- package/build/system/Tabs/TabsNav/TabsNav.test.js +0 -43
- package/build/system/Tabs/TabsNav/index.d.ts +0 -10
- package/build/system/Tabs/TabsNav/index.js +0 -31
- package/build/system/Tabs/TabsNav/type.d.ts +0 -6
- package/build/system/Tabs/TabsNav/type.js +0 -2
- package/build/system/Tabs/TabsPanel/TabsPanel.test.d.ts +0 -2
- package/build/system/Tabs/TabsPanel/TabsPanel.test.js +0 -32
- package/build/system/Tabs/TabsPanel/index.d.ts +0 -7
- package/build/system/Tabs/TabsPanel/index.js +0 -17
- package/build/system/Text/index.d.ts +0 -0
- package/build/system/Text/index.js +0 -1
- package/build/system/index.d.ts +0 -6
- package/build/system/index.js +0 -22
- package/build/utils/copyBtn/index.d.ts +0 -5
- package/build/utils/copyBtn/index.js +0 -46
- package/build/utils/extractItemIds.d.ts +0 -2
- package/build/utils/extractItemIds.js +0 -6
- package/build/utils/getDimensionsImage.d.ts +0 -4
- package/build/utils/getDimensionsImage.js +0 -38
- package/build/utils/imageProportionsSize/index.d.ts +0 -5
- package/build/utils/imageProportionsSize/index.js +0 -23
- package/build/utils/redirectToApp.d.ts +0 -1
- package/build/utils/redirectToApp.js +0 -29
- package/build/utils/ssrFunctions/index.d.ts +0 -17
- package/build/utils/ssrFunctions/index.js +0 -33
|
@@ -1,204 +0,0 @@
|
|
|
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.OpportunityMenu = void 0;
|
|
7
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
-
const react_share_1 = require("react-share");
|
|
9
|
-
const styled_components_1 = __importDefault(require("styled-components"));
|
|
10
|
-
const vars_1 = require("@ludo.ninja/ui/build/fonts/vars");
|
|
11
|
-
const type_1 = require("@ludo.ninja/ui/build/system/Alert/type");
|
|
12
|
-
const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
13
|
-
const ui_1 = require("../../../store/ui");
|
|
14
|
-
const ScreenWidth_1 = require("../../../styles/ScreenWidth");
|
|
15
|
-
const CopyIcon_1 = __importDefault(require("./CopyIcon"));
|
|
16
|
-
const FacebookIcon_1 = __importDefault(require("./FacebookIcon"));
|
|
17
|
-
const LinkedInIcon_1 = __importDefault(require("./LinkedInIcon"));
|
|
18
|
-
const LogoXIcon_1 = __importDefault(require("./LogoXIcon"));
|
|
19
|
-
const useCopyOpportunityShareLink_1 = __importDefault(require("../../../api/server-opportunities/mutations/useCopyOpportunityShareLink"));
|
|
20
|
-
const transitionMain = '200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms';
|
|
21
|
-
const SWrapper = styled_components_1.default.div `
|
|
22
|
-
margin: -24px;
|
|
23
|
-
.root {
|
|
24
|
-
display: flex;
|
|
25
|
-
flex-direction: column;
|
|
26
|
-
align-items: center;
|
|
27
|
-
|
|
28
|
-
width: 238px;
|
|
29
|
-
padding: 8px;
|
|
30
|
-
|
|
31
|
-
border-radius: 8px;
|
|
32
|
-
background: #ffffff;
|
|
33
|
-
box-shadow: 0px 8px 16px -16px rgba(33, 21, 95, 0.12);
|
|
34
|
-
|
|
35
|
-
${ScreenWidth_1.mediaQuery.mobile} {
|
|
36
|
-
width: 100%;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.title {
|
|
41
|
-
display: flex;
|
|
42
|
-
padding: 10px 8px;
|
|
43
|
-
align-items: center;
|
|
44
|
-
|
|
45
|
-
color: #474b5d;
|
|
46
|
-
text-align: center;
|
|
47
|
-
|
|
48
|
-
/* Desktop/H3 */
|
|
49
|
-
font-family: ${vars_1.poppinsFontVarCss.css};
|
|
50
|
-
font-size: 18px;
|
|
51
|
-
font-style: normal;
|
|
52
|
-
font-weight: 600;
|
|
53
|
-
line-height: 26px; /* 144.444% */
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.item {
|
|
57
|
-
display: flex;
|
|
58
|
-
padding: 10px 8px;
|
|
59
|
-
align-items: center;
|
|
60
|
-
gap: 8px;
|
|
61
|
-
align-self: stretch;
|
|
62
|
-
|
|
63
|
-
border-radius: 4px;
|
|
64
|
-
|
|
65
|
-
& .shareButton {
|
|
66
|
-
display: flex;
|
|
67
|
-
/*padding: 10px 8px;*/
|
|
68
|
-
align-items: center;
|
|
69
|
-
gap: 8px;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
& .typography {
|
|
73
|
-
color: #12183a;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
& .icon {
|
|
77
|
-
color: #b0b2c0;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
transition: ${transitionMain};
|
|
81
|
-
|
|
82
|
-
&:hover {
|
|
83
|
-
background: #f3f4f9;
|
|
84
|
-
cursor: pointer;
|
|
85
|
-
|
|
86
|
-
& .icon {
|
|
87
|
-
color: #6048ff;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.icon {
|
|
93
|
-
transition: ${transitionMain};
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.typography {
|
|
97
|
-
flex-grow: 1;
|
|
98
|
-
/* Desktop/H5 */
|
|
99
|
-
font-family: ${vars_1.poppinsFontVarCss.css};
|
|
100
|
-
font-size: 15px;
|
|
101
|
-
font-style: normal;
|
|
102
|
-
font-weight: 500;
|
|
103
|
-
line-height: 24px;
|
|
104
|
-
transition: ${transitionMain};
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.divider {
|
|
108
|
-
width: 100%;
|
|
109
|
-
height: 1px;
|
|
110
|
-
margin: 8px 0;
|
|
111
|
-
background-color: #cfd5ea;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
${ScreenWidth_1.mediaQuery.minWidthFourK} {
|
|
115
|
-
margin: ${(0, _4k_1.adaptiveValueCalc)(-24)};
|
|
116
|
-
.root {
|
|
117
|
-
width: ${(0, _4k_1.adaptiveValueCalc)(238)};
|
|
118
|
-
padding: ${(0, _4k_1.adaptiveValueCalc)(8)};
|
|
119
|
-
border-radius: ${(0, _4k_1.adaptiveValueCalc)(8)};
|
|
120
|
-
box-shadow: 0px ${(0, _4k_1.adaptiveValueCalc)(8)} ${(0, _4k_1.adaptiveValueCalc)(16)}
|
|
121
|
-
${(0, _4k_1.adaptiveValueCalc)(-16)} rgba(33, 21, 95, 0.12);
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.icon svg {
|
|
125
|
-
width: ${(0, _4k_1.adaptiveValueCalc)(20)};
|
|
126
|
-
height: ${(0, _4k_1.adaptiveValueCalc)(20)};
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.title {
|
|
130
|
-
padding: ${(0, _4k_1.adaptiveValueCalc)(10)} ${(0, _4k_1.adaptiveValueCalc)(8)};
|
|
131
|
-
font-size: ${(0, _4k_1.adaptiveValueCalc)(18)};
|
|
132
|
-
line-height: ${(0, _4k_1.adaptiveValueCalc)(26)};
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.item {
|
|
136
|
-
padding: ${(0, _4k_1.adaptiveValueCalc)(10)} ${(0, _4k_1.adaptiveValueCalc)(8)};
|
|
137
|
-
gap: ${(0, _4k_1.adaptiveValueCalc)(8)};
|
|
138
|
-
border-radius: ${(0, _4k_1.adaptiveValueCalc)(4)};
|
|
139
|
-
|
|
140
|
-
& .shareButton {
|
|
141
|
-
gap: ${(0, _4k_1.adaptiveValueCalc)(8)};
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.typography {
|
|
146
|
-
font-size: ${(0, _4k_1.adaptiveValueCalc)(15)};
|
|
147
|
-
line-height: ${(0, _4k_1.adaptiveValueCalc)(24)};
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.divider {
|
|
151
|
-
height: ${(0, _4k_1.adaptiveValueCalc)(1)};
|
|
152
|
-
margin: ${(0, _4k_1.adaptiveValueCalc)(8)} 0;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
`;
|
|
156
|
-
const OpportunityMenu = ({ onClose, opportunity }) => {
|
|
157
|
-
const { copyOpportunityShareLinkAction } = (0, useCopyOpportunityShareLink_1.default)();
|
|
158
|
-
const opportunityLink = opportunity.shareLink || opportunity?.projectUrl || '';
|
|
159
|
-
const handleClickMenuItem = (event, item) => {
|
|
160
|
-
event.stopPropagation();
|
|
161
|
-
copyOpportunityShareLinkAction({ opportunityId: opportunity.opportunityId });
|
|
162
|
-
if (item.closeOnClick) {
|
|
163
|
-
onClose();
|
|
164
|
-
}
|
|
165
|
-
item.onClick && item.onClick();
|
|
166
|
-
};
|
|
167
|
-
const openAlert = (0, ui_1.useUiStore)((state) => state.openAlert);
|
|
168
|
-
const topMenuItems = () => {
|
|
169
|
-
return [
|
|
170
|
-
{
|
|
171
|
-
id: 'copylink',
|
|
172
|
-
title: 'Copy link',
|
|
173
|
-
onClick: () => {
|
|
174
|
-
opportunityLink && navigator.clipboard.writeText(opportunityLink);
|
|
175
|
-
openAlert({
|
|
176
|
-
type: type_1.alertVariants.copied,
|
|
177
|
-
});
|
|
178
|
-
},
|
|
179
|
-
icon: (0, jsx_runtime_1.jsx)(CopyIcon_1.default, {}),
|
|
180
|
-
closeOnClick: true,
|
|
181
|
-
},
|
|
182
|
-
];
|
|
183
|
-
};
|
|
184
|
-
const baseTitle = '🚀 Exciting Opportunity Alert! 💡 Just stumbled upon something incredible you need to check out. ✨';
|
|
185
|
-
const mainMenuItems = [
|
|
186
|
-
{
|
|
187
|
-
id: 'twitter',
|
|
188
|
-
closeOnClick: true,
|
|
189
|
-
content: ((0, jsx_runtime_1.jsxs)(react_share_1.TwitterShareButton, { className: 'shareButton', url: opportunityLink, title: `${baseTitle}`, children: [(0, jsx_runtime_1.jsx)("div", { className: 'icon', children: (0, jsx_runtime_1.jsx)(LogoXIcon_1.default, {}) }), (0, jsx_runtime_1.jsx)("div", { className: 'typography', children: "Share on X" })] })),
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
id: 'facebook',
|
|
193
|
-
closeOnClick: true,
|
|
194
|
-
content: ((0, jsx_runtime_1.jsxs)(react_share_1.FacebookShareButton, { className: 'shareButton', url: opportunityLink, children: [(0, jsx_runtime_1.jsx)("div", { className: 'icon', children: (0, jsx_runtime_1.jsx)(FacebookIcon_1.default, {}) }), (0, jsx_runtime_1.jsx)("div", { className: 'typography', children: "Share on Facebook" })] })),
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
id: 'linkedin',
|
|
198
|
-
closeOnClick: true,
|
|
199
|
-
content: ((0, jsx_runtime_1.jsxs)(react_share_1.LinkedinShareButton, { className: 'shareButton', url: opportunityLink, children: [(0, jsx_runtime_1.jsx)("div", { className: 'icon', children: (0, jsx_runtime_1.jsx)(LinkedInIcon_1.default, {}) }), (0, jsx_runtime_1.jsx)("div", { className: 'typography', children: "Share on LinkedIn" })] })),
|
|
200
|
-
},
|
|
201
|
-
];
|
|
202
|
-
return ((0, jsx_runtime_1.jsx)(SWrapper, { children: (0, jsx_runtime_1.jsxs)("div", { className: 'root', children: [(0, jsx_runtime_1.jsx)("div", { className: 'title', children: "Tell a friend about it!" }), topMenuItems().map((item) => ((0, jsx_runtime_1.jsxs)("div", { className: 'item', onClick: (event) => handleClickMenuItem(event, item), children: [(0, jsx_runtime_1.jsxs)("div", { className: 'icon', children: [" ", item.icon] }), (0, jsx_runtime_1.jsx)("div", { className: 'typography', children: item.title })] }, item.id))), (0, jsx_runtime_1.jsx)("div", { className: 'divider' }), mainMenuItems.map((item) => ((0, jsx_runtime_1.jsx)("div", { className: 'item', onClick: (event) => handleClickMenuItem(event, item), children: item.content }, item.id)))] }) }));
|
|
203
|
-
};
|
|
204
|
-
exports.OpportunityMenu = OpportunityMenu;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { opportunitiesSchema } from '@ludo.ninja/api';
|
|
2
|
-
export type TOpportunity = Pick<opportunitiesSchema.IOpportunityV2, 'opportunityId' | 'projectId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'projectBlockchain' | 'projectContract' | 'projectName' | 'projectSlug' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minRank' | 'maxRank' | 'media' | 'reportLink' | 'clicks' | 'views' | 'blockchain' | 'collection' | 'createdAt' | 'minWalletValue' | 'maxWalletValue' | 'shareLink' | 'liked' | 'participantsLimit' | 'availablePlacesForAirdrop' | 'subscribed' | 'slug'>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { TabsNavType } from '../../system/Tabs/TabsNav/type';
|
|
2
|
-
export declare const globalTabs: {
|
|
3
|
-
profileNft: TabsNavType;
|
|
4
|
-
profileFavorites: TabsNavType;
|
|
5
|
-
profileGalleries: TabsNavType;
|
|
6
|
-
collection: TabsNavType;
|
|
7
|
-
favorite: TabsNavType;
|
|
8
|
-
gallery: TabsNavType;
|
|
9
|
-
searchCollections: TabsNavType;
|
|
10
|
-
searchNfts: TabsNavType;
|
|
11
|
-
searchProfiles: TabsNavType;
|
|
12
|
-
};
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.globalTabs = void 0;
|
|
4
|
-
exports.globalTabs = {
|
|
5
|
-
profileNft: {
|
|
6
|
-
value: 'profileNft',
|
|
7
|
-
label: 'nfts',
|
|
8
|
-
id: 1,
|
|
9
|
-
},
|
|
10
|
-
profileFavorites: {
|
|
11
|
-
value: 'profileFavorites',
|
|
12
|
-
id: 5,
|
|
13
|
-
label: 'favorites',
|
|
14
|
-
},
|
|
15
|
-
profileGalleries: {
|
|
16
|
-
value: 'profileGalleries',
|
|
17
|
-
id: 6,
|
|
18
|
-
label: 'galleries',
|
|
19
|
-
},
|
|
20
|
-
collection: {
|
|
21
|
-
value: 'collectionId',
|
|
22
|
-
label: 'collectionId',
|
|
23
|
-
id: 2,
|
|
24
|
-
},
|
|
25
|
-
favorite: {
|
|
26
|
-
value: 'favoriteId',
|
|
27
|
-
label: 'favoriteId',
|
|
28
|
-
id: 3,
|
|
29
|
-
},
|
|
30
|
-
gallery: {
|
|
31
|
-
value: 'galleryId',
|
|
32
|
-
label: 'galleryId',
|
|
33
|
-
id: 4,
|
|
34
|
-
},
|
|
35
|
-
searchCollections: {
|
|
36
|
-
value: 'searchCollections',
|
|
37
|
-
label: 'collections',
|
|
38
|
-
id: 7,
|
|
39
|
-
},
|
|
40
|
-
searchNfts: {
|
|
41
|
-
value: 'searchNfts',
|
|
42
|
-
label: 'nfts',
|
|
43
|
-
id: 8,
|
|
44
|
-
},
|
|
45
|
-
searchProfiles: {
|
|
46
|
-
value: 'searchProfiles',
|
|
47
|
-
label: 'profiles',
|
|
48
|
-
id: 8,
|
|
49
|
-
},
|
|
50
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { RefObject } from 'react';
|
|
2
|
-
import { VirtuosoHandle } from 'react-virtuoso';
|
|
3
|
-
import { TVirtuosoData } from '../virtuoso/types';
|
|
4
|
-
import { TActiveTab } from '../../system/Tabs/TabsNav/type';
|
|
5
|
-
export declare const useVirtuosoInitialScroll: <TData>({ virtuosoData, activeTab, virtuoso, }: {
|
|
6
|
-
virtuosoData: TVirtuosoData<TData>;
|
|
7
|
-
activeTab: TActiveTab;
|
|
8
|
-
virtuoso: RefObject<VirtuosoHandle | null>;
|
|
9
|
-
}) => {
|
|
10
|
-
updateScroll: (index: number) => void;
|
|
11
|
-
setScrollTop: (scrollY: number) => void;
|
|
12
|
-
};
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.useVirtuosoInitialScroll = void 0;
|
|
4
|
-
const react_1 = require("react");
|
|
5
|
-
const router_1 = require("next/router");
|
|
6
|
-
const index_1 = require("./index");
|
|
7
|
-
const useVirtuosoInitialScroll = ({ virtuosoData, activeTab, virtuoso, }) => {
|
|
8
|
-
const scrollTop = (0, react_1.useRef)(0);
|
|
9
|
-
const isFirstScrolling = (0, react_1.useRef)(true);
|
|
10
|
-
const { setIsHandleUpdateScroll, setBackRoute } = (0, index_1.useScrollState)((state) => ({
|
|
11
|
-
setIsHandleUpdateScroll: state.setIsHandleUpdateScroll,
|
|
12
|
-
setBackRoute: state.setBackRoute,
|
|
13
|
-
}));
|
|
14
|
-
const router = (0, router_1.useRouter)();
|
|
15
|
-
(0, react_1.useEffect)(() => {
|
|
16
|
-
if (virtuosoData.creations.length) {
|
|
17
|
-
if (activeTab && activeTab.value && isFirstScrolling.current) {
|
|
18
|
-
const scrollKeys = (0, index_1.getScrollKeys)();
|
|
19
|
-
if (scrollKeys) {
|
|
20
|
-
const scrollPosition = scrollKeys[activeTab.value]?.pageOffsetKey;
|
|
21
|
-
const scrollIndex = scrollKeys[activeTab.value]?.itemIndexKey;
|
|
22
|
-
if (scrollPosition && scrollIndex) {
|
|
23
|
-
virtuoso.current?.scrollToIndex({
|
|
24
|
-
index: Number(scrollIndex),
|
|
25
|
-
behavior: 'smooth',
|
|
26
|
-
align: 'center',
|
|
27
|
-
});
|
|
28
|
-
// virtuoso.current?.scrollTo({
|
|
29
|
-
// top: Number(scrollPosition),
|
|
30
|
-
// behavior: 'smooth',
|
|
31
|
-
// });
|
|
32
|
-
}
|
|
33
|
-
delete scrollKeys[activeTab.value];
|
|
34
|
-
(0, index_1.setScrollKeys)(scrollKeys);
|
|
35
|
-
isFirstScrolling.current = false;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}, [virtuosoData]);
|
|
40
|
-
return {
|
|
41
|
-
updateScroll: (index) => {
|
|
42
|
-
if (activeTab && activeTab.value) {
|
|
43
|
-
setIsHandleUpdateScroll(true);
|
|
44
|
-
(0, index_1.setScrollKeys)({
|
|
45
|
-
[activeTab.value]: {
|
|
46
|
-
pageOffsetKey: scrollTop.current,
|
|
47
|
-
itemsCountKey: virtuosoData.creations.length,
|
|
48
|
-
itemIndexKey: index,
|
|
49
|
-
},
|
|
50
|
-
});
|
|
51
|
-
setBackRoute(router.asPath);
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
setScrollTop: (scrollY) => {
|
|
55
|
-
scrollTop.current = scrollY;
|
|
56
|
-
},
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
exports.useVirtuosoInitialScroll = useVirtuosoInitialScroll;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { AppProps } from "next/app";
|
|
2
|
-
import { ReactNode } from "react";
|
|
3
|
-
export declare const HOCAuthSearchParamsLocalhostInterceptor: (Component: ReactNode, pageProps: AppProps["pageProps"]) => string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element | Iterable<ReactNode> | Promise<import("react").AwaitedReactNode> | null | undefined;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.HOCAuthSearchParamsLocalhostInterceptor = void 0;
|
|
4
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const api_1 = require("@ludo.ninja/api");
|
|
6
|
-
const router_1 = require("next/router");
|
|
7
|
-
const react_1 = require("react");
|
|
8
|
-
const AuthLoginQuery = () => {
|
|
9
|
-
(0, react_1.useEffect)(() => {
|
|
10
|
-
const currentUrl = new URL(window.location.href);
|
|
11
|
-
const userId = currentUrl.searchParams.get("userId");
|
|
12
|
-
const wallets = currentUrl.searchParams.get("wallets");
|
|
13
|
-
const newUser = currentUrl.searchParams.get("newUser");
|
|
14
|
-
const inviteCode = currentUrl.searchParams.get("inviteCode");
|
|
15
|
-
const role = currentUrl.searchParams.get("role");
|
|
16
|
-
const authToken = currentUrl.searchParams.get("authToken");
|
|
17
|
-
const refreshToken = currentUrl.searchParams.get("refreshToken");
|
|
18
|
-
if (userId && wallets && authToken && refreshToken) {
|
|
19
|
-
api_1.authCookies.assignCookies(userId, JSON.parse(wallets), authToken, refreshToken, String(newUser), inviteCode?.toString() || "null", String(role), "localhost");
|
|
20
|
-
const paramsToRemove = ["userId", "wallets", "newUser", "inviteCode", "role", "authToken", "refreshToken"];
|
|
21
|
-
paramsToRemove.forEach((param) => currentUrl.searchParams.delete(param));
|
|
22
|
-
window.location.href = currentUrl.toString();
|
|
23
|
-
}
|
|
24
|
-
}, []);
|
|
25
|
-
return null;
|
|
26
|
-
};
|
|
27
|
-
const HOCAuthSearchParamsLocalhostInterceptor = (Component, pageProps) => {
|
|
28
|
-
const router = (0, router_1.useRouter)();
|
|
29
|
-
if (!pageProps.userData && router.query?.authToken) {
|
|
30
|
-
return (0, jsx_runtime_1.jsx)(AuthLoginQuery, {});
|
|
31
|
-
}
|
|
32
|
-
return Component;
|
|
33
|
-
};
|
|
34
|
-
exports.HOCAuthSearchParamsLocalhostInterceptor = HOCAuthSearchParamsLocalhostInterceptor;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useAuthVerification: () => void;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.useAuthVerification = void 0;
|
|
4
|
-
const react_1 = require("react");
|
|
5
|
-
const router_1 = require("next/router");
|
|
6
|
-
const useVerification_1 = require("./useVerification");
|
|
7
|
-
const useAuthVerification = () => {
|
|
8
|
-
const router = (0, router_1.useRouter)();
|
|
9
|
-
const verification = (0, useVerification_1.useVerification)();
|
|
10
|
-
(0, react_1.useEffect)(() => {
|
|
11
|
-
const authVerification = () => verification(router.pathname);
|
|
12
|
-
document.addEventListener("visibilitychange", authVerification);
|
|
13
|
-
return () => {
|
|
14
|
-
document.removeEventListener("visibilitychange", authVerification);
|
|
15
|
-
};
|
|
16
|
-
}, [router.query]);
|
|
17
|
-
};
|
|
18
|
-
exports.useAuthVerification = useAuthVerification;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.useSignIn = void 0;
|
|
4
|
-
const api_1 = require("@ludo.ninja/api");
|
|
5
|
-
const store_1 = require("../store");
|
|
6
|
-
const env_1 = require("../../../store/env");
|
|
7
|
-
const useSignIn = () => {
|
|
8
|
-
const setUser = (0, store_1.useUserStore)((state) => state.setUser);
|
|
9
|
-
const NEXT_PUBLIC_ENV_DOMAIN = (0, env_1.useEnvStore)((state) => state.NEXT_PUBLIC_ENV_DOMAIN);
|
|
10
|
-
return (user) => {
|
|
11
|
-
setUser({
|
|
12
|
-
userId: user.userId,
|
|
13
|
-
wallets: user.wallets,
|
|
14
|
-
authToken: user.authToken,
|
|
15
|
-
refreshToken: user.refreshToken,
|
|
16
|
-
newUser: user.newUser,
|
|
17
|
-
inviteCode: user.inviteCode,
|
|
18
|
-
role: user.role,
|
|
19
|
-
});
|
|
20
|
-
api_1.authCookies.assignCookies(user.userId, user.wallets, user.authToken, user.refreshToken, user.newUser.toString(), user.inviteCode, user.role, NEXT_PUBLIC_ENV_DOMAIN);
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
exports.useSignIn = useSignIn;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useSignOut: () => (includeRedirect?: boolean) => Promise<void>;
|
|
@@ -1,42 +0,0 @@
|
|
|
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.useSignOut = void 0;
|
|
7
|
-
const store_1 = require("../store");
|
|
8
|
-
const useRevokeToken_1 = __importDefault(require("../../../api/server-identities/mutations/useRevokeToken"));
|
|
9
|
-
const env_1 = require("../../../store/env");
|
|
10
|
-
const api_1 = require("@ludo.ninja/api");
|
|
11
|
-
const ludoDomains_1 = require("@ludo.ninja/core/build/ludoDomains");
|
|
12
|
-
const nookies_1 = require("nookies");
|
|
13
|
-
const useSignOut = () => {
|
|
14
|
-
const { NEXT_PUBLIC_ENV_VALUE, NEXT_PUBLIC_ENV_DOMAIN } = (0, env_1.useEnvStore)((state) => ({
|
|
15
|
-
NEXT_PUBLIC_ENV_VALUE: state.NEXT_PUBLIC_ENV_VALUE,
|
|
16
|
-
NEXT_PUBLIC_ENV_DOMAIN: state.NEXT_PUBLIC_ENV_DOMAIN,
|
|
17
|
-
}));
|
|
18
|
-
const { revokeToken } = (0, useRevokeToken_1.default)();
|
|
19
|
-
const setUser = (0, store_1.useUserStore)((state) => state.setUser);
|
|
20
|
-
return async (includeRedirect = true) => {
|
|
21
|
-
try {
|
|
22
|
-
await revokeToken();
|
|
23
|
-
}
|
|
24
|
-
catch (e) {
|
|
25
|
-
//====
|
|
26
|
-
}
|
|
27
|
-
finally {
|
|
28
|
-
api_1.authCookies.destroyCookies(NEXT_PUBLIC_ENV_DOMAIN);
|
|
29
|
-
(0, nookies_1.destroyCookie)(null, "authMultiversXWallet", {
|
|
30
|
-
path: "/",
|
|
31
|
-
domain: NEXT_PUBLIC_ENV_DOMAIN,
|
|
32
|
-
});
|
|
33
|
-
setUser(null);
|
|
34
|
-
// when invite code is not required = no redirect
|
|
35
|
-
// window.location.replace(ludoDomains[NEXT_PUBLIC_ENV_VALUE as TEnvValue]["welcome"]);
|
|
36
|
-
if (includeRedirect) {
|
|
37
|
-
window.location.replace(ludoDomains_1.ludoDomains[NEXT_PUBLIC_ENV_VALUE]["welcome"]);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
exports.useSignOut = useSignOut;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useVerification: () => (currentLocation: string) => Promise<void>;
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.useVerification = void 0;
|
|
27
|
-
const useSignIn_1 = require("./useSignIn");
|
|
28
|
-
const useSignOut_1 = require("./useSignOut");
|
|
29
|
-
const useVerification = () => {
|
|
30
|
-
const signIn = (0, useSignIn_1.useSignIn)();
|
|
31
|
-
const signOut = (0, useSignOut_1.useSignOut)();
|
|
32
|
-
// const isProd = useEnvStore((state) => state.isProd);
|
|
33
|
-
return async (currentLocation) => {
|
|
34
|
-
try {
|
|
35
|
-
const authCookies = await Promise.resolve().then(() => __importStar(require("@ludo.ninja/api/build/cookies"))); //update check version cookie in client
|
|
36
|
-
const authCookiesParsed = authCookies.getCookies();
|
|
37
|
-
if (authCookiesParsed.authToken &&
|
|
38
|
-
authCookiesParsed.wallets &&
|
|
39
|
-
authCookiesParsed.refreshToken &&
|
|
40
|
-
authCookiesParsed.newUser &&
|
|
41
|
-
authCookiesParsed.userId &&
|
|
42
|
-
// authCookiesParsed.inviteCode &&
|
|
43
|
-
authCookiesParsed.role) {
|
|
44
|
-
signIn({
|
|
45
|
-
userId: authCookiesParsed.userId,
|
|
46
|
-
wallets: authCookiesParsed.wallets,
|
|
47
|
-
authToken: authCookiesParsed.authToken,
|
|
48
|
-
refreshToken: authCookiesParsed.refreshToken,
|
|
49
|
-
newUser: authCookiesParsed.newUser === "true",
|
|
50
|
-
inviteCode: authCookiesParsed.inviteCode || null,
|
|
51
|
-
role: authCookiesParsed.role,
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
else {
|
|
55
|
-
// when invite code is not required = no redirect in sign out
|
|
56
|
-
// if (isProd() && currentLocation !== "/forms/[formId]" && currentLocation !== "/minting") {
|
|
57
|
-
if (currentLocation !== "/forms/[formId]" && currentLocation !== "/minting") {
|
|
58
|
-
await signOut(false);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
catch (e) {
|
|
63
|
-
// console.error('verification', e);
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
exports.useVerification = useVerification;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const ProfileDataInitialization: () => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,66 +0,0 @@
|
|
|
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.ProfileDataInitialization = void 0;
|
|
7
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
-
const store_1 = require("../store");
|
|
9
|
-
const ui_1 = require("../../../store/ui");
|
|
10
|
-
const api_1 = require("@ludo.ninja/api");
|
|
11
|
-
const api_2 = require("@ludo.ninja/api");
|
|
12
|
-
const useFetchMyActivityStreak_1 = __importDefault(require("../../../api/server-experiences/queries/useFetchMyActivityStreak"));
|
|
13
|
-
const getErrorAlertProps_1 = require("../../../utils/getErrorAlertProps");
|
|
14
|
-
const FetcherMyProfile = ( /*{ userId }: { userId: string }*/) => {
|
|
15
|
-
const openAlert = (0, ui_1.useUiStore)((state) => state.openAlert);
|
|
16
|
-
const { setIsLoadingProfileData, setProfileData,
|
|
17
|
-
// profileData,
|
|
18
|
-
setUserExp, setInviteCodes, setMyShareLink, } = (0, store_1.useUserStore)((state) => ({
|
|
19
|
-
setIsLoadingProfileData: state.setIsLoadingProfileData,
|
|
20
|
-
setProfileData: state.setProfileData,
|
|
21
|
-
profileData: state.profileData,
|
|
22
|
-
setUserExp: state.setUserExp,
|
|
23
|
-
setInviteCodes: state.setInviteCodes,
|
|
24
|
-
setMyShareLink: state.setMyShareLink,
|
|
25
|
-
}));
|
|
26
|
-
// console.log('profileData', profileData);
|
|
27
|
-
api_2.identitySchema.useFetchMyProfileV2Query({
|
|
28
|
-
context: {
|
|
29
|
-
uri: api_1.hosts.identityHost,
|
|
30
|
-
},
|
|
31
|
-
fetchPolicy: "no-cache",
|
|
32
|
-
onCompleted: ({ fetchMyProfileV2: fetchMyProfile }) => {
|
|
33
|
-
// console.log('fetchMyProfile', fetchMyProfile);
|
|
34
|
-
setProfileData(fetchMyProfile);
|
|
35
|
-
if (fetchMyProfile.shareLink) {
|
|
36
|
-
setMyShareLink(fetchMyProfile.shareLink);
|
|
37
|
-
}
|
|
38
|
-
if (fetchMyProfile.xps) {
|
|
39
|
-
setUserExp({
|
|
40
|
-
levelMaxXps: fetchMyProfile.levelMaxXps,
|
|
41
|
-
levelMinXps: fetchMyProfile.levelMinXps,
|
|
42
|
-
xps: fetchMyProfile.xps,
|
|
43
|
-
level: fetchMyProfile.level,
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
if (fetchMyProfile.inviteCodes) {
|
|
47
|
-
setInviteCodes(fetchMyProfile.inviteCodes);
|
|
48
|
-
}
|
|
49
|
-
setIsLoadingProfileData(false);
|
|
50
|
-
},
|
|
51
|
-
onError: (err) => {
|
|
52
|
-
openAlert((0, getErrorAlertProps_1.getErrorAlertProps)(err));
|
|
53
|
-
setProfileData(null);
|
|
54
|
-
setIsLoadingProfileData(false);
|
|
55
|
-
},
|
|
56
|
-
});
|
|
57
|
-
(0, useFetchMyActivityStreak_1.default)();
|
|
58
|
-
return null;
|
|
59
|
-
};
|
|
60
|
-
const ProfileDataInitialization = () => {
|
|
61
|
-
const userId = (0, store_1.useUserStore)((state) => state.user?.userId);
|
|
62
|
-
if (!userId)
|
|
63
|
-
return null;
|
|
64
|
-
return (0, jsx_runtime_1.jsx)(FetcherMyProfile, {});
|
|
65
|
-
};
|
|
66
|
-
exports.ProfileDataInitialization = ProfileDataInitialization;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { ApolloError } from '@apollo/client';
|
|
3
|
-
import { TActiveTab } from '../../system/Tabs/TabsNav/type';
|
|
4
|
-
import { TDimensions } from '../../utils/screen';
|
|
5
|
-
export declare const VirtuosoPageBuilder: <TCreation>({ activeTab, isMobile, creations, windowDimensions, isLoading, error, refetchQuery, loadMore, renderCreation, notFoundText, isNextLoading, headerSlot, isProfileCards, }: {
|
|
6
|
-
activeTab: TActiveTab;
|
|
7
|
-
isMobile: boolean;
|
|
8
|
-
creations: TCreation[];
|
|
9
|
-
windowDimensions: TDimensions | null;
|
|
10
|
-
isLoading: boolean;
|
|
11
|
-
isNextLoading: boolean;
|
|
12
|
-
error: ApolloError | undefined;
|
|
13
|
-
refetchQuery: () => Promise<void>;
|
|
14
|
-
loadMore: () => Promise<void>;
|
|
15
|
-
renderCreation: (creation: TCreation) => ReactNode;
|
|
16
|
-
notFoundText?: string | undefined;
|
|
17
|
-
headerSlot: JSX.Element;
|
|
18
|
-
isProfileCards?: boolean;
|
|
19
|
-
}) => import("react/jsx-runtime").JSX.Element;
|