@ludo.ninja/components 2.3.36 → 2.3.37
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/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.js +1 -1
- 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.js +3 -3
- 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/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/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 +37 -0
- package/build/components/myWallets/myWalletItem/index.d.ts +10 -0
- package/build/components/myWallets/myWalletItem/index.js +82 -0
- package/build/components/myWallets/myWalletItem/myWalletItemCheckBox/index.d.ts +9 -0
- package/build/components/myWallets/myWalletItem/myWalletItemCheckBox/index.js +21 -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.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/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 +135 -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 +134 -0
- package/build/components/toTopBtn/index.js +7 -7
- 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/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 +1 -1
- package/build/entities/asset/builder.js +2 -2
- package/build/entities/asset/getAssetMediasOpengraph.d.ts +5 -0
- package/build/entities/asset/getAssetMediasOpengraph.js +39 -0
- 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/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 +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/fonts/FontsInitializeLayout.d.ts +12 -0
- package/build/fonts/FontsInitializeLayout.js +164 -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 +122 -0
- package/build/hooks/favorites/useGetUserFevoritesCreations/index.d.ts +23 -0
- package/build/hooks/favorites/useGetUserFevoritesCreations/index.js +166 -0
- package/build/hooks/galleries/useGetUserGalleriesCreations/index.d.ts +23 -0
- package/build/hooks/galleries/useGetUserGalleriesCreations/index.js +155 -0
- package/build/hooks/likes/dynamic/useFindCollectionsAndLikes.d.ts +29 -0
- package/build/hooks/likes/dynamic/useFindCollectionsAndLikes.js +145 -0
- package/build/hooks/likes/dynamic/useFindCreationsAndLikes.d.ts +15 -0
- package/build/hooks/likes/dynamic/useFindCreationsAndLikes.js +119 -0
- package/build/hooks/likes/dynamic/useGetCollectionInfoAndLikes.d.ts +14 -0
- package/build/hooks/likes/dynamic/useGetCollectionInfoAndLikes.js +125 -0
- package/build/hooks/likes/dynamic/useGetCreationsAndLikes.d.ts +17 -0
- package/build/hooks/likes/dynamic/useGetCreationsAndLikes.js +128 -0
- package/build/hooks/likes/dynamic/useGetCreationsAndLikesByType.d.ts +16 -0
- package/build/hooks/likes/dynamic/useGetCreationsAndLikesByType.js +142 -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 +104 -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 +91 -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 +204 -0
- package/build/modules/gallery/api/useGetFavoriteGallery.d.ts +6 -0
- package/build/modules/gallery/api/useGetFavoriteGallery.js +37 -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 +157 -0
- package/build/modules/gallery/ui/createGalleryForm/index.d.ts +12 -0
- package/build/modules/gallery/ui/createGalleryForm/index.js +137 -0
- package/build/modules/gallery/ui/editGalleryForm/index.d.ts +8 -0
- package/build/modules/gallery/ui/editGalleryForm/index.js +189 -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 +42 -0
- package/build/modules/opportunity/OpportunityCard.d.ts +5 -0
- package/build/modules/opportunity/OpportunityCard.js +279 -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/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 +66 -0
- package/build/modules/user/store.d.ts +1 -1
- 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/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.js +2 -2
- package/build/store/ui/types.d.ts +3 -3
- package/build/store/ui/utils.d.ts +1 -1
- package/build/styles/animations/index.d.ts +2 -0
- package/build/styles/animations/index.js +20 -0
- package/build/styles/globalStyles.d.ts +2 -0
- package/build/styles/globalStyles.js +86 -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/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.js +2 -2
- 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.js +1 -1
- package/build/system/Forms/Checkbox/index.js +4 -4
- 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.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/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/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/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/copyBtn/index.d.ts +5 -0
- package/build/utils/copyBtn/index.js +46 -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/getErrorAlertProps/index.js +1 -1
- 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.js +2 -2
- package/build/utils/ssrFunctions/index.d.ts +17 -0
- package/build/utils/ssrFunctions/index.js +33 -0
- package/package.json +1 -1
|
@@ -0,0 +1,173 @@
|
|
|
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 CreationAudio_1 = __importDefault(require("../../common/ItemViews/CreationAudio"));
|
|
7
|
+
const CreationImage_1 = __importDefault(require("../../common/ItemViews/CreationImage"));
|
|
8
|
+
const CreationObject_1 = __importDefault(require("../../common/ItemViews/CreationObject"));
|
|
9
|
+
const CreationOther_1 = __importDefault(require("../../common/ItemViews/CreationOther"));
|
|
10
|
+
const CreationVideo_1 = __importDefault(require("../../common/ItemViews/CreationVideo"));
|
|
11
|
+
const data_1 = __importDefault(require("../../../entities/labelCreationType/data"));
|
|
12
|
+
const types_1 = require("../../../entities/labelCreationType/types");
|
|
13
|
+
const core_1 = require("@ludo.ninja/core");
|
|
14
|
+
const utils_1 = require("@ludo.ninja/utils");
|
|
15
|
+
class CollectionCreationEntity {
|
|
16
|
+
collectionId;
|
|
17
|
+
collectionTitle;
|
|
18
|
+
id;
|
|
19
|
+
itemType;
|
|
20
|
+
blockchain;
|
|
21
|
+
likes;
|
|
22
|
+
creatorsAddresses;
|
|
23
|
+
liked;
|
|
24
|
+
rank;
|
|
25
|
+
medias;
|
|
26
|
+
originalUrls;
|
|
27
|
+
address;
|
|
28
|
+
tokenId;
|
|
29
|
+
collectionCreationId;
|
|
30
|
+
name;
|
|
31
|
+
constructor(collectionAsset, type) {
|
|
32
|
+
this.collectionId = collectionAsset.collectionId;
|
|
33
|
+
this.id = collectionAsset.id;
|
|
34
|
+
this.collectionTitle = collectionAsset.collectionTitle;
|
|
35
|
+
this.name = collectionAsset.name;
|
|
36
|
+
this.blockchain = new core_1.BlockChainEntity(collectionAsset.blockchain);
|
|
37
|
+
this.tokenId = collectionAsset.tokenId;
|
|
38
|
+
this.address = collectionAsset.address;
|
|
39
|
+
this.creatorsAddresses = collectionAsset.creatorsAddresses;
|
|
40
|
+
this.originalUrls = collectionAsset.originalUrls;
|
|
41
|
+
this.rank = collectionAsset.rank;
|
|
42
|
+
this.likes = collectionAsset.likes;
|
|
43
|
+
this.liked = collectionAsset.liked;
|
|
44
|
+
this.medias = collectionAsset.medias;
|
|
45
|
+
this.collectionCreationId = collectionAsset.assetId;
|
|
46
|
+
this.itemType = type ?? types_1.LabelKeys.asset;
|
|
47
|
+
}
|
|
48
|
+
getCreationId() {
|
|
49
|
+
return this.collectionId ? this.collectionId : "";
|
|
50
|
+
}
|
|
51
|
+
getId() {
|
|
52
|
+
return this.id ? this.id : "";
|
|
53
|
+
}
|
|
54
|
+
getItemType() {
|
|
55
|
+
return this.itemType;
|
|
56
|
+
}
|
|
57
|
+
getAddress() {
|
|
58
|
+
return this.address ? this.address : null;
|
|
59
|
+
}
|
|
60
|
+
getTokenId() {
|
|
61
|
+
return this.tokenId ? this.tokenId : "";
|
|
62
|
+
}
|
|
63
|
+
getCollectionCreationId() {
|
|
64
|
+
return this.collectionCreationId ? this.collectionCreationId : "";
|
|
65
|
+
}
|
|
66
|
+
getCreationLink() {
|
|
67
|
+
if (this.getItemType() === types_1.LabelKeys.asset) {
|
|
68
|
+
const blockChainPrivateLabel = this.getBlockchain().getBlockChainPrivateLabel();
|
|
69
|
+
if (blockChainPrivateLabel === core_1.BlockChainKeys.elrond) {
|
|
70
|
+
return `/${this.getItemType()}/${this.getBlockchain().getBlockChainPrivateLabel()}/${this.getId()}`;
|
|
71
|
+
}
|
|
72
|
+
else if (blockChainPrivateLabel === core_1.BlockChainKeys.solana) {
|
|
73
|
+
return `/${this.getItemType()}/${this.getBlockchain().getBlockChainPrivateLabel()}/${this.getTokenId()}`;
|
|
74
|
+
}
|
|
75
|
+
else {
|
|
76
|
+
return `/${this.getItemType()}/${this.getBlockchain().getBlockChainPrivateLabel()}/${this.getAddress()}/${this.getTokenId()}`;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
return `/${this.getItemType()}/${this.getItemId()}`;
|
|
80
|
+
}
|
|
81
|
+
getBlockchain() {
|
|
82
|
+
return this.blockchain;
|
|
83
|
+
}
|
|
84
|
+
getName() {
|
|
85
|
+
return this.name;
|
|
86
|
+
}
|
|
87
|
+
getItemId() {
|
|
88
|
+
return this.getCreationId();
|
|
89
|
+
}
|
|
90
|
+
getCreatorAddress() {
|
|
91
|
+
return this.creatorsAddresses ? this.creatorsAddresses[0] : null;
|
|
92
|
+
}
|
|
93
|
+
getLikes() {
|
|
94
|
+
return this.likes ? this.likes : 0;
|
|
95
|
+
}
|
|
96
|
+
getRank() {
|
|
97
|
+
return this.rank ? Math.round(this.rank) : 0;
|
|
98
|
+
}
|
|
99
|
+
getOriginalUrls() {
|
|
100
|
+
if (!this.originalUrls)
|
|
101
|
+
return null;
|
|
102
|
+
const convertedOriginalUrlsArray = [];
|
|
103
|
+
for (let i = 0; i < this.originalUrls?.length; i++) {
|
|
104
|
+
convertedOriginalUrlsArray.push((0, utils_1.checkGltfUrl)(this.originalUrls[i] || ""));
|
|
105
|
+
}
|
|
106
|
+
return convertedOriginalUrlsArray;
|
|
107
|
+
}
|
|
108
|
+
getIsLiked() {
|
|
109
|
+
return this.liked;
|
|
110
|
+
}
|
|
111
|
+
getMediaOrOriginalUrl() {
|
|
112
|
+
if (!this.getMedia()) {
|
|
113
|
+
if (!this.getOriginalUrls())
|
|
114
|
+
return null;
|
|
115
|
+
return this.getOriginalUrls()?.[0];
|
|
116
|
+
}
|
|
117
|
+
else {
|
|
118
|
+
return this.getMedia();
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
getMimeType() {
|
|
122
|
+
if (this.medias && this.medias.length && this.medias[0]) {
|
|
123
|
+
return this.medias[0].mimeType;
|
|
124
|
+
}
|
|
125
|
+
else
|
|
126
|
+
return null;
|
|
127
|
+
}
|
|
128
|
+
getMedia() {
|
|
129
|
+
if (this.medias && this.medias.length && this.medias[0]) {
|
|
130
|
+
return this.medias[0].url;
|
|
131
|
+
}
|
|
132
|
+
else
|
|
133
|
+
return null;
|
|
134
|
+
}
|
|
135
|
+
detectMediaType() {
|
|
136
|
+
const mediaFields = {
|
|
137
|
+
media: this.getMediaOrOriginalUrl(),
|
|
138
|
+
nsfw: null,
|
|
139
|
+
mimeType: this.getMimeType(),
|
|
140
|
+
previewUrl: null,
|
|
141
|
+
alt: `${this.getName()} ${this.getAddress()}`,
|
|
142
|
+
};
|
|
143
|
+
const mediaTypes = [
|
|
144
|
+
new CreationImage_1.default(mediaFields),
|
|
145
|
+
new CreationVideo_1.default(mediaFields),
|
|
146
|
+
new CreationAudio_1.default(mediaFields),
|
|
147
|
+
new CreationObject_1.default(mediaFields),
|
|
148
|
+
];
|
|
149
|
+
let currentMedia = new CreationOther_1.default(mediaFields);
|
|
150
|
+
for (let i = 0; i < mediaTypes.length; i++) {
|
|
151
|
+
if (mediaTypes[i].checkOwnType()) {
|
|
152
|
+
currentMedia = mediaTypes[i];
|
|
153
|
+
break;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
return currentMedia;
|
|
157
|
+
}
|
|
158
|
+
getLabel() {
|
|
159
|
+
return data_1.default[this.getItemType()];
|
|
160
|
+
}
|
|
161
|
+
getCuttedSecondName(isMobileView) {
|
|
162
|
+
if (!this.name)
|
|
163
|
+
return null;
|
|
164
|
+
return isMobileView
|
|
165
|
+
? this.name && this.name.length >= 20
|
|
166
|
+
? this.name?.substring(0, 22).concat("...")
|
|
167
|
+
: this.name
|
|
168
|
+
: this.name && this.name.length >= 11
|
|
169
|
+
? this.name?.substring(0, 13).concat("...")
|
|
170
|
+
: this.name;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
exports.default = CollectionCreationEntity;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import Media from '../../common/Media';
|
|
2
|
+
import { LabelKeys, LabelType } from '../../../entities/labelCreationType/types';
|
|
3
|
+
import { BlockChainEntity } from "@ludo.ninja/core";
|
|
4
|
+
interface ICollectionCreationEntity {
|
|
5
|
+
getItemType(): LabelKeys;
|
|
6
|
+
getId(): string;
|
|
7
|
+
getCreationId(): string;
|
|
8
|
+
getCreationLink(): string;
|
|
9
|
+
getCollectionCreationId(): string;
|
|
10
|
+
getTokenId(): string;
|
|
11
|
+
getAddress(): string | null;
|
|
12
|
+
getName(): string | null;
|
|
13
|
+
getCreatorAddress(): string | null;
|
|
14
|
+
getOriginalUrls(): string[] | null;
|
|
15
|
+
getBlockchain(): BlockChainEntity;
|
|
16
|
+
getMediaOrOriginalUrl(): string | null;
|
|
17
|
+
detectMediaType(): Media;
|
|
18
|
+
getLabel(): LabelType;
|
|
19
|
+
getLikes(): number;
|
|
20
|
+
getIsLiked(): boolean;
|
|
21
|
+
getRank(): number;
|
|
22
|
+
getCuttedSecondName(isMobileView: boolean): string | null;
|
|
23
|
+
}
|
|
24
|
+
export default ICollectionCreationEntity;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import ICollectionEntity from './interface';
|
|
2
|
+
import { collectionsSchema } from "@ludo.ninja/api";
|
|
3
|
+
import { BlockChainEntity, MarketPlaceEntity, ProfileEntity } from "@ludo.ninja/core";
|
|
4
|
+
declare class CollectionEntity implements ICollectionEntity {
|
|
5
|
+
private collectionTitle;
|
|
6
|
+
private collectionId;
|
|
7
|
+
private blockchain;
|
|
8
|
+
private likes;
|
|
9
|
+
private creatorsProfiles;
|
|
10
|
+
private liked;
|
|
11
|
+
private creatorsAddresses;
|
|
12
|
+
private contractAddress;
|
|
13
|
+
private rank;
|
|
14
|
+
private items;
|
|
15
|
+
private owners;
|
|
16
|
+
private collectionMarkets;
|
|
17
|
+
constructor(collection: collectionsSchema.ICollection);
|
|
18
|
+
getCollectionId(): string;
|
|
19
|
+
getBlockchain(): BlockChainEntity;
|
|
20
|
+
getContractAddress(): string | null;
|
|
21
|
+
getCreatorsProfiles(): ProfileEntity[] | null;
|
|
22
|
+
getCollectionMarkets(): MarketPlaceEntity[] | null;
|
|
23
|
+
getCreationLink(): string;
|
|
24
|
+
getCollectionItems(): number;
|
|
25
|
+
getOwners(): number;
|
|
26
|
+
getCollectionTitle(): string | null;
|
|
27
|
+
getCreatorsAddresses(): string[] | null;
|
|
28
|
+
getLikes(): number;
|
|
29
|
+
getRank(): number;
|
|
30
|
+
getIsLiked(): boolean;
|
|
31
|
+
}
|
|
32
|
+
export default CollectionEntity;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const core_1 = require("@ludo.ninja/core");
|
|
4
|
+
class CollectionEntity {
|
|
5
|
+
collectionTitle;
|
|
6
|
+
collectionId;
|
|
7
|
+
blockchain;
|
|
8
|
+
likes;
|
|
9
|
+
creatorsProfiles;
|
|
10
|
+
liked;
|
|
11
|
+
creatorsAddresses;
|
|
12
|
+
contractAddress;
|
|
13
|
+
rank;
|
|
14
|
+
items;
|
|
15
|
+
owners;
|
|
16
|
+
collectionMarkets;
|
|
17
|
+
constructor(collection) {
|
|
18
|
+
this.collectionTitle = collection.collectionTitle;
|
|
19
|
+
this.collectionId = collection.collectionId;
|
|
20
|
+
this.items = collection.items;
|
|
21
|
+
this.owners = collection.owners;
|
|
22
|
+
this.creatorsProfiles = collection.creatorsProfiles;
|
|
23
|
+
this.contractAddress = collection.contractAddress;
|
|
24
|
+
this.collectionMarkets =
|
|
25
|
+
collection.collectionMarkets?.map((market) => new core_1.MarketPlaceEntity({
|
|
26
|
+
marketName: market?.marketName,
|
|
27
|
+
marketUrl: market?.marketUrl,
|
|
28
|
+
marketId: market?.marketUrl,
|
|
29
|
+
})) || [];
|
|
30
|
+
this.creatorsAddresses = collection.creatorsAddresses;
|
|
31
|
+
this.blockchain = new core_1.BlockChainEntity(collection.blockchain);
|
|
32
|
+
this.rank = collection.rank;
|
|
33
|
+
this.likes = collection.likes;
|
|
34
|
+
this.liked = collection.liked;
|
|
35
|
+
}
|
|
36
|
+
getCollectionId() {
|
|
37
|
+
return this.collectionId ? this.collectionId : "no id";
|
|
38
|
+
}
|
|
39
|
+
getBlockchain() {
|
|
40
|
+
return this.blockchain;
|
|
41
|
+
}
|
|
42
|
+
getContractAddress() {
|
|
43
|
+
return this.contractAddress ? this.contractAddress : null;
|
|
44
|
+
}
|
|
45
|
+
getCreatorsProfiles() {
|
|
46
|
+
let profiles;
|
|
47
|
+
if (this.creatorsProfiles) {
|
|
48
|
+
profiles = this.creatorsProfiles.map((profile) => {
|
|
49
|
+
return new core_1.ProfileEntity(profile);
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
return profiles || null;
|
|
53
|
+
}
|
|
54
|
+
getCollectionMarkets() {
|
|
55
|
+
return this.collectionMarkets ? this.collectionMarkets : null;
|
|
56
|
+
}
|
|
57
|
+
getCreationLink() {
|
|
58
|
+
return `/${this.getCollectionId()}/${this.getCollectionId()}`;
|
|
59
|
+
}
|
|
60
|
+
getCollectionItems() {
|
|
61
|
+
return this.items ? this.items : 0;
|
|
62
|
+
}
|
|
63
|
+
getOwners() {
|
|
64
|
+
return this.owners ? this.owners : 0;
|
|
65
|
+
}
|
|
66
|
+
getCollectionTitle() {
|
|
67
|
+
return this.collectionTitle ? this.collectionTitle : null;
|
|
68
|
+
}
|
|
69
|
+
getCreatorsAddresses() {
|
|
70
|
+
return this.creatorsAddresses ? this.creatorsAddresses : null;
|
|
71
|
+
}
|
|
72
|
+
getLikes() {
|
|
73
|
+
return this.likes ? this.likes : 0;
|
|
74
|
+
}
|
|
75
|
+
getRank() {
|
|
76
|
+
return this.rank ? Math.round(this.rank) : 0;
|
|
77
|
+
}
|
|
78
|
+
getIsLiked() {
|
|
79
|
+
return this.liked;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.default = CollectionEntity;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { BlockChainEntity, MarketPlaceEntity, ProfileEntity } from '@ludo.ninja/core';
|
|
2
|
+
interface ICollectionEntity {
|
|
3
|
+
getCollectionTitle(): string | null;
|
|
4
|
+
getCollectionId(): string;
|
|
5
|
+
getCollectionItems(): number;
|
|
6
|
+
getContractAddress(): string | null;
|
|
7
|
+
getOwners(): number;
|
|
8
|
+
getCollectionMarkets(): MarketPlaceEntity[] | null;
|
|
9
|
+
getCreatorsProfiles(): ProfileEntity[] | null;
|
|
10
|
+
getCreatorsAddresses(): string[] | null;
|
|
11
|
+
getBlockchain(): BlockChainEntity;
|
|
12
|
+
getLikes(): number;
|
|
13
|
+
getIsLiked(): boolean;
|
|
14
|
+
getRank(): number;
|
|
15
|
+
}
|
|
16
|
+
export default ICollectionEntity;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import ICreationEntity from './interface';
|
|
2
|
+
import Media from '../common/Media';
|
|
3
|
+
import { LabelKeys, LabelType } from '../../entities/labelCreationType/types';
|
|
4
|
+
import { searchSchema as schema } from "@ludo.ninja/api";
|
|
5
|
+
import { BlockChainEntity } from "@ludo.ninja/core";
|
|
6
|
+
declare class CreationEntity implements ICreationEntity {
|
|
7
|
+
private itemId;
|
|
8
|
+
private itemType;
|
|
9
|
+
private likes;
|
|
10
|
+
private liked;
|
|
11
|
+
private media;
|
|
12
|
+
private id;
|
|
13
|
+
private originalUrls;
|
|
14
|
+
private rank;
|
|
15
|
+
private mimeType;
|
|
16
|
+
private name;
|
|
17
|
+
private blockchain;
|
|
18
|
+
private creatorsAddresses;
|
|
19
|
+
private isNeedRenderCheckbox;
|
|
20
|
+
private isCheckboxSelected;
|
|
21
|
+
private address;
|
|
22
|
+
private tokenId;
|
|
23
|
+
constructor(creation: schema.ICreation);
|
|
24
|
+
getAddress(): string;
|
|
25
|
+
getId(): string;
|
|
26
|
+
getTokenId(): string;
|
|
27
|
+
getItemId(): string;
|
|
28
|
+
getCreationId(): string;
|
|
29
|
+
getName(): null | string;
|
|
30
|
+
getRank(): number;
|
|
31
|
+
getOriginalUrls(): string[] | null;
|
|
32
|
+
getItemType(): LabelKeys;
|
|
33
|
+
getCheckboxSelected(): boolean;
|
|
34
|
+
getCreationLink(): string;
|
|
35
|
+
getLabel(): LabelType;
|
|
36
|
+
getLikes(): number;
|
|
37
|
+
getIsLiked(): boolean;
|
|
38
|
+
getMedia(): null | string;
|
|
39
|
+
getMimeType(): string | null;
|
|
40
|
+
set setIsNeedRenderCheckbox(isNeedToShow: boolean);
|
|
41
|
+
set setCheckboxSelected(isSelected: boolean);
|
|
42
|
+
getNeedRenderCheckbox(): boolean;
|
|
43
|
+
getBlockchain(): BlockChainEntity;
|
|
44
|
+
getCreatorAddress(): string | null;
|
|
45
|
+
getMediaOrOriginalUrl(): string | null;
|
|
46
|
+
getCuttedSecondName(isMobileView: boolean): string | null;
|
|
47
|
+
detectMediaType(): Media;
|
|
48
|
+
}
|
|
49
|
+
export default CreationEntity;
|
|
@@ -0,0 +1,178 @@
|
|
|
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 CreationAudio_1 = __importDefault(require("../common/ItemViews/CreationAudio"));
|
|
7
|
+
const CreationImage_1 = __importDefault(require("../common/ItemViews/CreationImage"));
|
|
8
|
+
const CreationObject_1 = __importDefault(require("../common/ItemViews/CreationObject"));
|
|
9
|
+
const CreationOther_1 = __importDefault(require("../common/ItemViews/CreationOther"));
|
|
10
|
+
const CreationVideo_1 = __importDefault(require("../common/ItemViews/CreationVideo"));
|
|
11
|
+
const types_1 = require("../../entities/labelCreationType/types");
|
|
12
|
+
const data_1 = __importDefault(require("../../entities/labelCreationType/data"));
|
|
13
|
+
const core_1 = require("@ludo.ninja/core");
|
|
14
|
+
class CreationEntity {
|
|
15
|
+
itemId;
|
|
16
|
+
itemType;
|
|
17
|
+
likes;
|
|
18
|
+
liked;
|
|
19
|
+
media;
|
|
20
|
+
id;
|
|
21
|
+
// private mediaPreview;
|
|
22
|
+
// private creatorsProfiles;
|
|
23
|
+
// private ownersAddresses;
|
|
24
|
+
// private ownersProfiles;
|
|
25
|
+
originalUrls;
|
|
26
|
+
rank;
|
|
27
|
+
mimeType;
|
|
28
|
+
name;
|
|
29
|
+
// private nsfw;
|
|
30
|
+
blockchain;
|
|
31
|
+
creatorsAddresses;
|
|
32
|
+
isNeedRenderCheckbox;
|
|
33
|
+
isCheckboxSelected;
|
|
34
|
+
address;
|
|
35
|
+
tokenId;
|
|
36
|
+
constructor(creation) {
|
|
37
|
+
this.itemId = creation.itemId;
|
|
38
|
+
this.id = creation.id;
|
|
39
|
+
this.itemType = creation.itemType;
|
|
40
|
+
this.blockchain = new core_1.BlockChainEntity(creation.blockchain);
|
|
41
|
+
this.address = creation.address;
|
|
42
|
+
this.tokenId = creation.tokenId;
|
|
43
|
+
// this.creatorsProfiles = creation.creatorsProfiles;
|
|
44
|
+
// this.ownersAddresses = creation.ownersAddresses;
|
|
45
|
+
// this.ownersProfiles = creation.ownersProfiles;
|
|
46
|
+
this.originalUrls = creation.originalUrls;
|
|
47
|
+
this.rank = creation.rank;
|
|
48
|
+
this.likes = creation.likes;
|
|
49
|
+
this.liked = creation.liked;
|
|
50
|
+
this.media = creation.media;
|
|
51
|
+
// this.mediaPreview = creation.mediaPreview;
|
|
52
|
+
this.mimeType = creation.mimeType;
|
|
53
|
+
this.name = creation.name;
|
|
54
|
+
this.creatorsAddresses = creation.creatorsAddresses;
|
|
55
|
+
this.isNeedRenderCheckbox = false;
|
|
56
|
+
this.isCheckboxSelected = false;
|
|
57
|
+
}
|
|
58
|
+
// accessors
|
|
59
|
+
getAddress() {
|
|
60
|
+
return this.address ? this.address : "";
|
|
61
|
+
}
|
|
62
|
+
getId() {
|
|
63
|
+
return this.id ? this.id : "";
|
|
64
|
+
}
|
|
65
|
+
getTokenId() {
|
|
66
|
+
return this.tokenId ? this.tokenId : "";
|
|
67
|
+
}
|
|
68
|
+
getItemId() {
|
|
69
|
+
return this.itemId;
|
|
70
|
+
}
|
|
71
|
+
getCreationId() {
|
|
72
|
+
return `${this.getItemType()}.${this.getItemId()}`;
|
|
73
|
+
}
|
|
74
|
+
getName() {
|
|
75
|
+
return this.name ? this.name : null;
|
|
76
|
+
}
|
|
77
|
+
getRank() {
|
|
78
|
+
return this.rank ? Math.round(this.rank) : 0;
|
|
79
|
+
}
|
|
80
|
+
getOriginalUrls() {
|
|
81
|
+
return this.originalUrls ? this.originalUrls : null;
|
|
82
|
+
}
|
|
83
|
+
getItemType() {
|
|
84
|
+
return this.itemType;
|
|
85
|
+
}
|
|
86
|
+
getCheckboxSelected() {
|
|
87
|
+
return this.isCheckboxSelected;
|
|
88
|
+
}
|
|
89
|
+
getCreationLink() {
|
|
90
|
+
if (this.getItemType() === types_1.LabelKeys.asset) {
|
|
91
|
+
const blockChainPrivateLabel = this.getBlockchain().getBlockChainPrivateLabel();
|
|
92
|
+
if (blockChainPrivateLabel === core_1.BlockChainKeys.elrond) {
|
|
93
|
+
return `/${this.getItemType()}/${this.getBlockchain().getBlockChainPrivateLabel()}/${this.getId()}`;
|
|
94
|
+
}
|
|
95
|
+
else if (blockChainPrivateLabel === core_1.BlockChainKeys.solana) {
|
|
96
|
+
return `/${this.getItemType()}/${this.getBlockchain().getBlockChainPrivateLabel()}/${this.getTokenId()}`;
|
|
97
|
+
}
|
|
98
|
+
else {
|
|
99
|
+
return `/${this.getItemType()}/${this.getBlockchain().getBlockChainPrivateLabel()}/${this.getAddress()}/${this.getTokenId()}`;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
return `/${this.getItemType()}/${this.getItemId()}`;
|
|
103
|
+
}
|
|
104
|
+
getLabel() {
|
|
105
|
+
return data_1.default[this.getItemType()];
|
|
106
|
+
}
|
|
107
|
+
getLikes() {
|
|
108
|
+
return this.likes ? this.likes : 0;
|
|
109
|
+
}
|
|
110
|
+
getIsLiked() {
|
|
111
|
+
return this.liked;
|
|
112
|
+
}
|
|
113
|
+
getMedia() {
|
|
114
|
+
return this.media ? this.media : null;
|
|
115
|
+
}
|
|
116
|
+
getMimeType() {
|
|
117
|
+
return this.mimeType ? this.mimeType : null;
|
|
118
|
+
}
|
|
119
|
+
set setIsNeedRenderCheckbox(isNeedToShow) {
|
|
120
|
+
this.isNeedRenderCheckbox = isNeedToShow;
|
|
121
|
+
}
|
|
122
|
+
set setCheckboxSelected(isSelected) {
|
|
123
|
+
this.isCheckboxSelected = isSelected;
|
|
124
|
+
}
|
|
125
|
+
getNeedRenderCheckbox() {
|
|
126
|
+
return this.isNeedRenderCheckbox;
|
|
127
|
+
}
|
|
128
|
+
getBlockchain() {
|
|
129
|
+
return this.blockchain;
|
|
130
|
+
}
|
|
131
|
+
getCreatorAddress() {
|
|
132
|
+
return this.creatorsAddresses ? this.creatorsAddresses[0] : null;
|
|
133
|
+
}
|
|
134
|
+
getMediaOrOriginalUrl() {
|
|
135
|
+
if (!this.getMedia()) {
|
|
136
|
+
if (!this.getOriginalUrls())
|
|
137
|
+
return null;
|
|
138
|
+
return this.getOriginalUrls()?.[0];
|
|
139
|
+
}
|
|
140
|
+
return this.getMedia();
|
|
141
|
+
}
|
|
142
|
+
getCuttedSecondName(isMobileView) {
|
|
143
|
+
if (!this.name)
|
|
144
|
+
return null;
|
|
145
|
+
return isMobileView
|
|
146
|
+
? this.name && this.name.length >= 20
|
|
147
|
+
? this.name?.substring(0, 22).concat("...")
|
|
148
|
+
: this.name
|
|
149
|
+
: this.name && this.name.length >= 11
|
|
150
|
+
? this.name?.substring(0, 13).concat("...")
|
|
151
|
+
: this.name;
|
|
152
|
+
}
|
|
153
|
+
// methods
|
|
154
|
+
detectMediaType() {
|
|
155
|
+
const mediaFields = {
|
|
156
|
+
media: this.getMediaOrOriginalUrl(),
|
|
157
|
+
nsfw: null,
|
|
158
|
+
mimeType: this.getMimeType(),
|
|
159
|
+
previewUrl: null,
|
|
160
|
+
alt: `${this.getName()} ${this.getAddress()}`,
|
|
161
|
+
};
|
|
162
|
+
const mediaTypes = [
|
|
163
|
+
new CreationImage_1.default(mediaFields),
|
|
164
|
+
new CreationVideo_1.default(mediaFields),
|
|
165
|
+
new CreationAudio_1.default(mediaFields),
|
|
166
|
+
new CreationObject_1.default(mediaFields),
|
|
167
|
+
];
|
|
168
|
+
let currentMedia = new CreationOther_1.default(mediaFields);
|
|
169
|
+
for (let i = 0; i < mediaTypes.length; i++) {
|
|
170
|
+
if (mediaTypes[i].checkOwnType()) {
|
|
171
|
+
currentMedia = mediaTypes[i];
|
|
172
|
+
break;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
return currentMedia;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
exports.default = CreationEntity;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { BlockChainEntity } from '@ludo.ninja/core';
|
|
2
|
+
import { LabelKeys, LabelType } from '../common/ItemType';
|
|
3
|
+
import Media from '../common/Media';
|
|
4
|
+
interface ICreationEntity {
|
|
5
|
+
getItemId(): string;
|
|
6
|
+
getId(): string;
|
|
7
|
+
getCreationId(): string;
|
|
8
|
+
getItemType(): LabelKeys;
|
|
9
|
+
getAddress(): string;
|
|
10
|
+
getTokenId(): string;
|
|
11
|
+
getLikes(): number;
|
|
12
|
+
getIsLiked(): boolean;
|
|
13
|
+
getMedia(): null | string;
|
|
14
|
+
getRank(): number;
|
|
15
|
+
getMimeType(): string | null;
|
|
16
|
+
getNeedRenderCheckbox(): boolean;
|
|
17
|
+
getCheckboxSelected(): boolean;
|
|
18
|
+
getOriginalUrls(): string[] | null;
|
|
19
|
+
getMediaOrOriginalUrl(): string | null;
|
|
20
|
+
set setIsNeedRenderCheckbox(isNeedToShow: boolean);
|
|
21
|
+
set setCheckboxSelected(isSelected: boolean);
|
|
22
|
+
getLabel(): LabelType;
|
|
23
|
+
getCreationLink(): string;
|
|
24
|
+
getName(): null | string;
|
|
25
|
+
getBlockchain(): BlockChainEntity;
|
|
26
|
+
getCreatorAddress(): string | null;
|
|
27
|
+
getCuttedSecondName(isMobileView: boolean): string | null;
|
|
28
|
+
detectMediaType(): Media;
|
|
29
|
+
}
|
|
30
|
+
export default ICreationEntity;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { LabelKeys, LabelType } from "../common/ItemType";
|
|
2
|
+
import IGalleryEntityV2 from "./interface";
|
|
3
|
+
import { galleriesSchema as schema } from "@ludo.ninja/api";
|
|
4
|
+
import { ProfileEntity } from "@ludo.ninja/core";
|
|
5
|
+
declare class GalleryEntityV2 implements IGalleryEntityV2 {
|
|
6
|
+
private galleryId;
|
|
7
|
+
private galleryType;
|
|
8
|
+
private name;
|
|
9
|
+
private description;
|
|
10
|
+
private username;
|
|
11
|
+
private userpic;
|
|
12
|
+
private banner;
|
|
13
|
+
private items;
|
|
14
|
+
private creationIds;
|
|
15
|
+
private userWallets;
|
|
16
|
+
private profile;
|
|
17
|
+
constructor(gallery: schema.IGalleryV2);
|
|
18
|
+
getProfile(): ProfileEntity;
|
|
19
|
+
getBanner(): string | null;
|
|
20
|
+
getGalleryId(): string;
|
|
21
|
+
getGalleryUsername(): string;
|
|
22
|
+
getGalleryUserpic(): string;
|
|
23
|
+
getGalleryUserWallets(): schema.IWallet[];
|
|
24
|
+
getGalleryName(): string;
|
|
25
|
+
getGalleryItemsCount(): string;
|
|
26
|
+
getGalleryCreationIds(): string[];
|
|
27
|
+
getGalleryDescription(): string;
|
|
28
|
+
getGalleryType(): LabelKeys;
|
|
29
|
+
getLabel(): LabelType;
|
|
30
|
+
getCreationLink(): string;
|
|
31
|
+
}
|
|
32
|
+
export default GalleryEntityV2;
|