@ludo.ninja/components 1.9.6 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.js +1 -0
- package/package.json +4 -6
- package/README.md +0 -40
- package/dist/api/graphql/index.d.ts +0 -4
- package/dist/api/graphql/index.js +0 -11
- package/dist/components/CreationCard/CardHead.d.ts +0 -14
- package/dist/components/CreationCard/CardHead.js +0 -129
- package/dist/components/CreationCard/index.d.ts +0 -30
- package/dist/components/CreationCard/index.js +0 -103
- package/dist/components/addWalletsRedirectPage/index.d.ts +0 -5
- package/dist/components/addWalletsRedirectPage/index.js +0 -38
- package/dist/components/banner/index.d.ts +0 -3
- package/dist/components/banner/index.js +0 -71
- package/dist/components/base/Meta/index.d.ts +0 -3
- package/dist/components/base/Meta/index.js +0 -60
- package/dist/components/base/NoSSR/index.d.ts +0 -5
- package/dist/components/base/NoSSR/index.js +0 -10
- package/dist/components/collectionPage/collectionLike/index.d.ts +0 -7
- package/dist/components/collectionPage/collectionLike/index.js +0 -41
- package/dist/components/deleteDialog/index.d.ts +0 -8
- package/dist/components/deleteDialog/index.js +0 -109
- package/dist/components/favoriteList/add/addAssetToFavoriteList/index.d.ts +0 -6
- package/dist/components/favoriteList/add/addAssetToFavoriteList/index.js +0 -94
- package/dist/components/favoriteList/add/addCollectionToFavoriteList/index.d.ts +0 -6
- package/dist/components/favoriteList/add/addCollectionToFavoriteList/index.js +0 -92
- package/dist/components/favoriteList/add/addCreationToFavoriteList/index.d.ts +0 -7
- package/dist/components/favoriteList/add/addCreationToFavoriteList/index.js +0 -94
- package/dist/components/filters/applyResetBtns/index.d.ts +0 -6
- package/dist/components/filters/applyResetBtns/index.js +0 -28
- package/dist/components/filters/galleriesFiltersForm/index.d.ts +0 -11
- package/dist/components/filters/galleriesFiltersForm/index.js +0 -90
- package/dist/components/filters/index.d.ts +0 -12
- package/dist/components/filters/index.js +0 -111
- package/dist/components/filters/mobileFilters/index.d.ts +0 -5
- package/dist/components/filters/mobileFilters/index.js +0 -21
- package/dist/components/filters/setsFiltersForm/index.d.ts +0 -10
- package/dist/components/filters/setsFiltersForm/index.js +0 -82
- package/dist/components/forms/form/index.d.ts +0 -14
- package/dist/components/forms/form/index.js +0 -136
- package/dist/components/forms/formsNavigation/index.d.ts +0 -3
- package/dist/components/forms/formsNavigation/index.js +0 -73
- package/dist/components/forms/formsTemplate/index.d.ts +0 -14
- package/dist/components/forms/formsTemplate/index.js +0 -776
- package/dist/components/forms/types/index.d.ts +0 -32
- package/dist/components/forms/types/index.js +0 -13
- package/dist/components/gallery/add/addAssetToGallery/index.d.ts +0 -6
- package/dist/components/gallery/add/addAssetToGallery/index.js +0 -94
- package/dist/components/gallery/add/addCreationToGallery/index.d.ts +0 -3
- package/dist/components/gallery/add/addCreationToGallery/index.js +0 -114
- package/dist/components/gradientLabel/index.d.ts +0 -3
- package/dist/components/gradientLabel/index.js +0 -24
- package/dist/components/headers/components/MobileToggle/index.d.ts +0 -0
- package/dist/components/headers/components/MobileToggle/index.js +0 -0
- package/dist/components/headers/components/headerExperienceLabel/index.d.ts +0 -5
- package/dist/components/headers/components/headerExperienceLabel/index.js +0 -32
- package/dist/components/headers/components/headerUserPic/index.d.ts +0 -5
- package/dist/components/headers/components/headerUserPic/index.js +0 -27
- package/dist/components/headers/header/index.d.ts +0 -3
- package/dist/components/headers/header/index.js +0 -32
- package/dist/components/headers/headerSearch/index.d.ts +0 -3
- package/dist/components/headers/headerSearch/index.js +0 -39
- package/dist/components/headers/headerSimple/index.d.ts +0 -3
- package/dist/components/headers/headerSimple/index.js +0 -33
- package/dist/components/index.d.ts +0 -2
- package/dist/components/index.js +0 -23
- package/dist/components/inviteCodesForms/getEarlyAccessForm/index.d.ts +0 -3
- package/dist/components/inviteCodesForms/getEarlyAccessForm/index.js +0 -181
- package/dist/components/inviteCodesForms/joinWaitListForm/index.d.ts +0 -3
- package/dist/components/inviteCodesForms/joinWaitListForm/index.js +0 -126
- package/dist/components/inviteCodesForms/styles/index.d.ts +0 -6
- package/dist/components/inviteCodesForms/styles/index.js +0 -18
- package/dist/components/inviteCodesPage/components/index.d.ts +0 -5
- package/dist/components/inviteCodesPage/components/index.js +0 -14
- package/dist/components/inviteCodesPage/components/inviteCodes/index.d.ts +0 -6
- package/dist/components/inviteCodesPage/components/inviteCodes/index.js +0 -24
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCode/index.d.ts +0 -7
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCode/index.js +0 -30
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCode/loader/index.d.ts +0 -3
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCode/loader/index.js +0 -26
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/index.d.ts +0 -7
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/index.js +0 -28
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/loader/index.d.ts +0 -3
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/loader/index.js +0 -21
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCopy/index.d.ts +0 -6
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCopy/index.js +0 -27
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeDate/index.d.ts +0 -5
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeDate/index.js +0 -23
- package/dist/components/inviteCodesPage/wrappers/index.d.ts +0 -4
- package/dist/components/inviteCodesPage/wrappers/index.js +0 -12
- package/dist/components/inviteCodesPage/wrappers/resumeCodes/index.d.ts +0 -8
- package/dist/components/inviteCodesPage/wrappers/resumeCodes/index.js +0 -49
- package/dist/components/inviteCodesPage/wrappers/resumeCodes/loader/index.d.ts +0 -3
- package/dist/components/inviteCodesPage/wrappers/resumeCodes/loader/index.js +0 -17
- package/dist/components/inviteCodesPage/wrappers/unusedCodes/index.d.ts +0 -7
- package/dist/components/inviteCodesPage/wrappers/unusedCodes/index.js +0 -31
- package/dist/components/inviteCodesPage/wrappers/usedCodes/index.d.ts +0 -7
- package/dist/components/inviteCodesPage/wrappers/usedCodes/index.js +0 -37
- package/dist/components/linkTabs/index.d.ts +0 -7
- package/dist/components/linkTabs/index.js +0 -23
- package/dist/components/linkTabs/linkTab/index.d.ts +0 -9
- package/dist/components/linkTabs/linkTab/index.js +0 -28
- package/dist/components/myWallets/index.d.ts +0 -3
- package/dist/components/myWallets/index.js +0 -33
- package/dist/components/myWallets/myWalletItem/index.d.ts +0 -10
- package/dist/components/myWallets/myWalletItem/index.js +0 -137
- package/dist/components/navigation/index.d.ts +0 -8
- package/dist/components/navigation/index.js +0 -75
- package/dist/components/profile/MultiversXAudit/MultiversXAudit.d.ts +0 -2
- package/dist/components/profile/MultiversXAudit/MultiversXAudit.js +0 -136
- package/dist/components/profile/ProfileTabs.d.ts +0 -7
- package/dist/components/profile/ProfileTabs.js +0 -46
- package/dist/components/profile/aboutText/index.d.ts +0 -5
- package/dist/components/profile/aboutText/index.js +0 -105
- package/dist/components/profile/addToGalleryBtns/index.d.ts +0 -5
- package/dist/components/profile/addToGalleryBtns/index.js +0 -42
- package/dist/components/profile/followersSocial/followers/index.d.ts +0 -7
- package/dist/components/profile/followersSocial/followers/index.js +0 -28
- package/dist/components/profile/followersSocial/index.d.ts +0 -5
- package/dist/components/profile/followersSocial/index.js +0 -28
- package/dist/components/profile/followersSocial/social/index.d.ts +0 -3
- package/dist/components/profile/followersSocial/social/index.js +0 -40
- package/dist/components/profile/index.d.ts +0 -1
- package/dist/components/profile/index.js +0 -5
- package/dist/components/profile/info/index.d.ts +0 -7
- package/dist/components/profile/info/index.js +0 -43
- package/dist/components/profile/interests/data.d.ts +0 -3
- package/dist/components/profile/interests/data.js +0 -22
- package/dist/components/profile/interests/index.d.ts +0 -2
- package/dist/components/profile/interests/index.js +0 -56
- package/dist/components/profile/interests/type.d.ts +0 -6
- package/dist/components/profile/interests/type.js +0 -2
- package/dist/components/profile/jsonLd/index.d.ts +0 -4
- package/dist/components/profile/jsonLd/index.js +0 -9
- package/dist/components/profile/pageHead/index.d.ts +0 -6
- package/dist/components/profile/pageHead/index.js +0 -51
- package/dist/components/profile/profileSkeleton/index.d.ts +0 -5
- package/dist/components/profile/profileSkeleton/index.js +0 -35
- package/dist/components/profile/profileUserCards/index.d.ts +0 -4
- package/dist/components/profile/profileUserCards/index.js +0 -19
- package/dist/components/profile/profileUserCards/profileUserCard/index.d.ts +0 -10
- package/dist/components/profile/profileUserCards/profileUserCard/index.js +0 -157
- package/dist/components/profile/rank/index.d.ts +0 -5
- package/dist/components/profile/rank/index.js +0 -33
- package/dist/components/profile/stats/index.d.ts +0 -5
- package/dist/components/profile/stats/index.js +0 -28
- package/dist/components/profile/wallets/index.d.ts +0 -2
- package/dist/components/profile/wallets/index.js +0 -73
- package/dist/components/profile/wrapper/index.d.ts +0 -7
- package/dist/components/profile/wrapper/index.js +0 -17
- package/dist/components/registrationPage/index.d.ts +0 -3
- package/dist/components/registrationPage/index.js +0 -10
- package/dist/components/registrationPage/registrationSelectBox/index.d.ts +0 -9
- package/dist/components/registrationPage/registrationSelectBox/index.js +0 -24
- package/dist/components/registrationPage/registrationSelection/index.d.ts +0 -16
- package/dist/components/registrationPage/registrationSelection/index.js +0 -43
- package/dist/components/rewards/FAQ/index.d.ts +0 -3
- package/dist/components/rewards/FAQ/index.js +0 -132
- package/dist/components/rewards/clarifications/index.d.ts +0 -8
- package/dist/components/rewards/clarifications/index.js +0 -54
- package/dist/components/rewards/logoBottom/index.d.ts +0 -3
- package/dist/components/rewards/logoBottom/index.js +0 -29
- package/dist/components/rewards/prograssBar/index.d.ts +0 -7
- package/dist/components/rewards/prograssBar/index.js +0 -32
- package/dist/components/rewards/rewardsButton/index.d.ts +0 -3
- package/dist/components/rewards/rewardsButton/index.js +0 -17
- package/dist/components/rewards/seasonBanner/index.d.ts +0 -5
- package/dist/components/rewards/seasonBanner/index.js +0 -29
- package/dist/components/rewards/taskExpTab/index.d.ts +0 -14
- package/dist/components/rewards/taskExpTab/index.js +0 -64
- package/dist/components/rewards/tasksGrid/index.d.ts +0 -6
- package/dist/components/rewards/tasksGrid/index.js +0 -142
- package/dist/components/rewards/userExp/index.d.ts +0 -12
- package/dist/components/rewards/userExp/index.js +0 -72
- package/dist/components/search/SearchInputContainer.d.ts +0 -26
- package/dist/components/search/SearchInputContainer.js +0 -244
- package/dist/components/search/index.d.ts +0 -3
- package/dist/components/search/index.js +0 -86
- package/dist/components/search/searchCategories/index.d.ts +0 -3
- package/dist/components/search/searchCategories/index.js +0 -79
- package/dist/components/search/searchCategories/type.d.ts +0 -5
- package/dist/components/search/searchCategories/type.js +0 -2
- package/dist/components/search/searchCloseMoreButtons/index.d.ts +0 -14
- package/dist/components/search/searchCloseMoreButtons/index.js +0 -54
- package/dist/components/search/searchResultCaption/index.d.ts +0 -7
- package/dist/components/search/searchResultCaption/index.js +0 -31
- package/dist/components/search/searchSelectsGalleries/index.d.ts +0 -9
- package/dist/components/search/searchSelectsGalleries/index.js +0 -70
- package/dist/components/search/searchSelectsSets/index.d.ts +0 -8
- package/dist/components/search/searchSelectsSets/index.js +0 -69
- package/dist/components/search/searchSimpleInput/index.d.ts +0 -5
- package/dist/components/search/searchSimpleInput/index.js +0 -85
- package/dist/components/search/searchSuggestions/index.d.ts +0 -14
- package/dist/components/search/searchSuggestions/index.js +0 -117
- package/dist/components/search/searchSuggestions/searchSuggestionsCaption/index.d.ts +0 -7
- package/dist/components/search/searchSuggestions/searchSuggestionsCaption/index.js +0 -27
- package/dist/components/search/searchSuggestions/searchSuggestionsFooter/index.d.ts +0 -3
- package/dist/components/search/searchSuggestions/searchSuggestionsFooter/index.js +0 -30
- package/dist/components/search/searchSuggestions/searchSuggestionsItem/index.d.ts +0 -11
- package/dist/components/search/searchSuggestions/searchSuggestionsItem/index.js +0 -40
- package/dist/components/search/searchSuggestions/searchSuggestionsItem/searchSuggestionsItemSkeleton/index.d.ts +0 -4
- package/dist/components/search/searchSuggestions/searchSuggestionsItem/searchSuggestionsItemSkeleton/index.js +0 -56
- package/dist/components/search/searchSuggestions/searchSuggestionsNotFound/index.d.ts +0 -5
- package/dist/components/search/searchSuggestions/searchSuggestionsNotFound/index.js +0 -29
- package/dist/components/shareDialog/index.d.ts +0 -34
- package/dist/components/shareDialog/index.js +0 -73
- package/dist/components/showcaseAssets/showcaseSort/data.d.ts +0 -3
- package/dist/components/showcaseAssets/showcaseSort/data.js +0 -29
- package/dist/components/showcaseAssets/showcaseSort/index.d.ts +0 -8
- package/dist/components/showcaseAssets/showcaseSort/index.js +0 -28
- package/dist/components/sidebar/data.d.ts +0 -20
- package/dist/components/sidebar/data.js +0 -89
- package/dist/components/sidebar/index.d.ts +0 -3
- package/dist/components/sidebar/index.js +0 -131
- package/dist/components/sidebar/initializer.d.ts +0 -2
- package/dist/components/sidebar/initializer.js +0 -36
- package/dist/components/sidebar/sidebarFilters/index.d.ts +0 -7
- package/dist/components/sidebar/sidebarFilters/index.js +0 -30
- package/dist/components/sidebar/sidebarInviteCodeLabel/index.d.ts +0 -3
- package/dist/components/sidebar/sidebarInviteCodeLabel/index.js +0 -67
- package/dist/components/socialButtons/data.d.ts +0 -3
- package/dist/components/socialButtons/data.js +0 -52
- package/dist/components/socialButtons/icons/discord.d.ts +0 -3
- package/dist/components/socialButtons/icons/discord.js +0 -7
- package/dist/components/socialButtons/icons/facebook.d.ts +0 -3
- package/dist/components/socialButtons/icons/facebook.js +0 -8
- package/dist/components/socialButtons/icons/instagram.d.ts +0 -3
- package/dist/components/socialButtons/icons/instagram.js +0 -9
- package/dist/components/socialButtons/icons/medium.d.ts +0 -3
- package/dist/components/socialButtons/icons/medium.js +0 -7
- package/dist/components/socialButtons/icons/telegram.d.ts +0 -3
- package/dist/components/socialButtons/icons/telegram.js +0 -7
- package/dist/components/socialButtons/icons/twitter.d.ts +0 -3
- package/dist/components/socialButtons/icons/twitter.js +0 -7
- package/dist/components/socialButtons/index.d.ts +0 -3
- package/dist/components/socialButtons/index.js +0 -32
- package/dist/components/socialButtons/type.d.ts +0 -8
- package/dist/components/socialButtons/type.js +0 -2
- package/dist/components/tabs/icons/bell.d.ts +0 -5
- package/dist/components/tabs/icons/bell.js +0 -9
- package/dist/components/tabs/icons/profile.d.ts +0 -5
- package/dist/components/tabs/icons/profile.js +0 -9
- package/dist/components/tabs/icons/secure.d.ts +0 -5
- package/dist/components/tabs/icons/secure.js +0 -8
- package/dist/components/tabs/index.d.ts +0 -3
- package/dist/components/tabs/index.js +0 -55
- package/dist/components/toTopBtn/index.d.ts +0 -6
- package/dist/components/toTopBtn/index.js +0 -85
- package/dist/dto/AssetEntity/index.d.ts +0 -63
- package/dist/dto/AssetEntity/index.js +0 -211
- package/dist/dto/AssetEntity/interface.d.ts +0 -39
- package/dist/dto/AssetEntity/interface.js +0 -2
- package/dist/dto/AssetEntity/views/AssetAudio/index.d.ts +0 -9
- package/dist/dto/AssetEntity/views/AssetAudio/index.js +0 -39
- package/dist/dto/AssetEntity/views/AssetImage/index.d.ts +0 -10
- package/dist/dto/AssetEntity/views/AssetImage/index.js +0 -50
- package/dist/dto/AssetEntity/views/AssetObject/index.d.ts +0 -11
- package/dist/dto/AssetEntity/views/AssetObject/index.js +0 -70
- package/dist/dto/AssetEntity/views/AssetOther/index.d.ts +0 -11
- package/dist/dto/AssetEntity/views/AssetOther/index.js +0 -54
- package/dist/dto/AssetEntity/views/AssetScreenshot/index.d.ts +0 -10
- package/dist/dto/AssetEntity/views/AssetScreenshot/index.js +0 -50
- package/dist/dto/AssetEntity/views/AssetVideo/index.d.ts +0 -9
- package/dist/dto/AssetEntity/views/AssetVideo/index.js +0 -39
- package/dist/dto/AssetEntity/views/index.d.ts +0 -6
- package/dist/dto/AssetEntity/views/index.js +0 -16
- package/dist/dto/Collection/CollectionCreationEntity/index.d.ts +0 -45
- package/dist/dto/Collection/CollectionCreationEntity/index.js +0 -162
- package/dist/dto/Collection/CollectionCreationEntity/interface.d.ts +0 -24
- package/dist/dto/Collection/CollectionCreationEntity/interface.js +0 -2
- package/dist/dto/Collection/CollectionEntity/index.d.ts +0 -32
- package/dist/dto/Collection/CollectionEntity/index.js +0 -74
- package/dist/dto/Collection/CollectionEntity/interface.d.ts +0 -16
- package/dist/dto/Collection/CollectionEntity/interface.js +0 -2
- package/dist/dto/CreationEntity/index.d.ts +0 -49
- package/dist/dto/CreationEntity/index.js +0 -168
- package/dist/dto/CreationEntity/interface.d.ts +0 -30
- package/dist/dto/CreationEntity/interface.js +0 -2
- package/dist/dto/GalleryEntityV2/index.d.ts +0 -32
- package/dist/dto/GalleryEntityV2/index.js +0 -74
- package/dist/dto/GalleryEntityV2/interface.d.ts +0 -16
- package/dist/dto/GalleryEntityV2/interface.js +0 -2
- package/dist/dto/common/ItemType/data.d.ts +0 -3
- package/dist/dto/common/ItemType/data.js +0 -37
- package/dist/dto/common/ItemType/index.d.ts +0 -45
- package/dist/dto/common/ItemType/index.js +0 -42
- package/dist/dto/common/ItemViews/CreationAudio/index.d.ts +0 -9
- package/dist/dto/common/ItemViews/CreationAudio/index.js +0 -39
- package/dist/dto/common/ItemViews/CreationImage/index.d.ts +0 -10
- package/dist/dto/common/ItemViews/CreationImage/index.js +0 -50
- package/dist/dto/common/ItemViews/CreationObject/index.d.ts +0 -8
- package/dist/dto/common/ItemViews/CreationObject/index.js +0 -43
- package/dist/dto/common/ItemViews/CreationOther/index.d.ts +0 -9
- package/dist/dto/common/ItemViews/CreationOther/index.js +0 -39
- package/dist/dto/common/ItemViews/CreationVideo/index.d.ts +0 -9
- package/dist/dto/common/ItemViews/CreationVideo/index.js +0 -39
- package/dist/dto/common/ItemViews/index.d.ts +0 -5
- package/dist/dto/common/ItemViews/index.js +0 -21
- package/dist/dto/common/Media/Audio/index.d.ts +0 -13
- package/dist/dto/common/Media/Audio/index.js +0 -54
- package/dist/dto/common/Media/Image/index.d.ts +0 -13
- package/dist/dto/common/Media/Image/index.js +0 -62
- package/dist/dto/common/Media/Object/index.d.ts +0 -13
- package/dist/dto/common/Media/Object/index.js +0 -63
- package/dist/dto/common/Media/Other/index.d.ts +0 -13
- package/dist/dto/common/Media/Other/index.js +0 -82
- package/dist/dto/common/Media/Screenshot/index.d.ts +0 -13
- package/dist/dto/common/Media/Screenshot/index.js +0 -62
- package/dist/dto/common/Media/Urls/index.d.ts +0 -31
- package/dist/dto/common/Media/Urls/index.js +0 -130
- package/dist/dto/common/Media/Video/index.d.ts +0 -13
- package/dist/dto/common/Media/Video/index.js +0 -54
- package/dist/dto/common/Media/index.d.ts +0 -26
- package/dist/dto/common/Media/index.js +0 -40
- package/dist/dto/common/Media/interface.d.ts +0 -26
- package/dist/dto/common/Media/interface.js +0 -2
- package/dist/dto/index.d.ts +0 -8
- package/dist/dto/index.js +0 -33
- package/dist/entities/user/type.d.ts +0 -5
- package/dist/entities/user/type.js +0 -2
- package/dist/fonts/FontsInitializeLayout.d.ts +0 -6
- package/dist/fonts/FontsInitializeLayout.js +0 -67
- package/dist/fonts/index.d.ts +0 -3
- package/dist/fonts/index.js +0 -25
- package/dist/fonts/vars.d.ts +0 -1
- package/dist/fonts/vars.js +0 -6
- package/dist/hooks/apollo/index.d.ts +0 -5
- package/dist/hooks/apollo/index.js +0 -11
- package/dist/hooks/audio/useMultiAudio/index.d.ts +0 -2
- package/dist/hooks/audio/useMultiAudio/index.js +0 -56
- package/dist/hooks/extension/useExtension/index.d.ts +0 -7
- package/dist/hooks/extension/useExtension/index.js +0 -78
- package/dist/hooks/favorites/index.d.ts +0 -2
- package/dist/hooks/favorites/index.js +0 -18
- package/dist/hooks/favorites/useGetFavoriteGallaryCreations/index.d.ts +0 -20
- package/dist/hooks/favorites/useGetFavoriteGallaryCreations/index.js +0 -194
- package/dist/hooks/favorites/useGetUserFevoritesCreations/index.d.ts +0 -22
- package/dist/hooks/favorites/useGetUserFevoritesCreations/index.js +0 -270
- package/dist/hooks/galleries/index.d.ts +0 -1
- package/dist/hooks/galleries/index.js +0 -17
- package/dist/hooks/galleries/useGetUserGalleriesCreations/index.d.ts +0 -17
- package/dist/hooks/galleries/useGetUserGalleriesCreations/index.js +0 -226
- package/dist/hooks/index.d.ts +0 -5
- package/dist/hooks/index.js +0 -21
- package/dist/hooks/likes/dynamic/useFindCollectionsAndLikes.js +0 -241
- package/dist/hooks/likes/dynamic/useFindCreationsAndLikes.js +0 -213
- package/dist/hooks/likes/dynamic/useGetCollectionInfoAndLikes.d.ts +0 -13
- package/dist/hooks/likes/dynamic/useGetCollectionInfoAndLikes.js +0 -210
- package/dist/hooks/likes/dynamic/useGetCreationsAndLikes.js +0 -230
- package/dist/hooks/likes/dynamic/useGetCreationsAndLikesByType.js +0 -240
- package/dist/hooks/likes/dynamic/useGetMixedLikesFavoriteList.d.ts +0 -17
- package/dist/hooks/likes/dynamic/useGetMixedLikesFavoriteList.js +0 -50
- package/dist/hooks/likes/dynamic/useGetTableLikes.d.ts +0 -15
- package/dist/hooks/likes/dynamic/useGetTableLikes.js +0 -116
- package/dist/hooks/likes/index.d.ts +0 -19
- package/dist/hooks/likes/index.js +0 -177
- package/dist/hooks/likes/useGetLikesAsset.d.ts +0 -20
- package/dist/hooks/likes/useGetLikesAsset.js +0 -159
- package/dist/hooks/searchFiltersConnector/index.d.ts +0 -11
- package/dist/hooks/searchFiltersConnector/index.js +0 -195
- package/dist/hooks/useToGalleryAsset/index.d.ts +0 -18
- package/dist/hooks/useToGalleryAsset/index.js +0 -103
- package/dist/index.d.ts +0 -9
- package/dist/index.js +0 -25
- package/dist/layouts/GlobalLayout.d.ts +0 -4
- package/dist/layouts/GlobalLayout.js +0 -48
- package/dist/layouts/base/LWithRegularHeader/index.d.ts +0 -3
- package/dist/layouts/base/LWithRegularHeader/index.js +0 -25
- package/dist/layouts/base/LWithRegularHeader/type.d.ts +0 -5
- package/dist/layouts/base/LWithRegularHeader/type.js +0 -2
- package/dist/layouts/base/LWithSearchHeader/index.d.ts +0 -3
- package/dist/layouts/base/LWithSearchHeader/index.js +0 -18
- package/dist/layouts/base/LWithSearchHeader/type.d.ts +0 -5
- package/dist/layouts/base/LWithSearchHeader/type.js +0 -2
- package/dist/layouts/base/LWithSimpleHeader/index.d.ts +0 -3
- package/dist/layouts/base/LWithSimpleHeader/index.js +0 -21
- package/dist/layouts/base/LWithSimpleHeader/type.d.ts +0 -5
- package/dist/layouts/base/LWithSimpleHeader/type.js +0 -2
- package/dist/layouts/base/LWithoutHeader/index.d.ts +0 -3
- package/dist/layouts/base/LWithoutHeader/index.js +0 -23
- package/dist/layouts/custom/accountLayout/index.d.ts +0 -3
- package/dist/layouts/custom/accountLayout/index.js +0 -23
- package/dist/layouts/custom/formsLayout/index.d.ts +0 -3
- package/dist/layouts/custom/formsLayout/index.js +0 -18
- package/dist/layouts/custom/mainLayout/index.d.ts +0 -3
- package/dist/layouts/custom/mainLayout/index.js +0 -22
- package/dist/layouts/custom/searchLayout/index.d.ts +0 -3
- package/dist/layouts/custom/searchLayout/index.js +0 -26
- package/dist/layouts/custom/simpleLayout/index.d.ts +0 -3
- package/dist/layouts/custom/simpleLayout/index.js +0 -22
- package/dist/layouts/custom/styles.d.ts +0 -3
- package/dist/layouts/custom/styles.js +0 -16
- package/dist/layouts/pageTransitionLayout.d.ts +0 -6
- package/dist/layouts/pageTransitionLayout.js +0 -24
- package/dist/layouts/pageWithLayout.d.ts +0 -9
- package/dist/layouts/pageWithLayout.js +0 -2
- package/dist/modules/index.d.ts +0 -4
- package/dist/modules/index.js +0 -20
- package/dist/modules/notifications/CreatorNotifications.d.ts +0 -2
- package/dist/modules/notifications/CreatorNotifications.js +0 -42
- package/dist/modules/notifications/index.d.ts +0 -22
- package/dist/modules/notifications/index.js +0 -6
- package/dist/modules/sessionScroll/globalTabs.d.ts +0 -12
- package/dist/modules/sessionScroll/globalTabs.js +0 -50
- package/dist/modules/sessionScroll/index.d.ts +0 -15
- package/dist/modules/sessionScroll/index.js +0 -77
- package/dist/modules/sessionScroll/type.d.ts +0 -7
- package/dist/modules/sessionScroll/type.js +0 -2
- package/dist/modules/sessionScroll/useVirtuosoInitialScroll.d.ts +0 -12
- package/dist/modules/sessionScroll/useVirtuosoInitialScroll.js +0 -62
- package/dist/modules/user/auth/index.d.ts +0 -1
- package/dist/modules/user/auth/index.js +0 -17
- package/dist/modules/user/auth/useAuthVerification.d.ts +0 -1
- package/dist/modules/user/auth/useAuthVerification.js +0 -120
- package/dist/modules/user/auth/useSignIn.d.ts +0 -1
- package/dist/modules/user/auth/useSignIn.js +0 -21
- package/dist/modules/user/auth/useSignOut.d.ts +0 -1
- package/dist/modules/user/auth/useSignOut.js +0 -78
- package/dist/modules/user/index.d.ts +0 -3
- package/dist/modules/user/index.js +0 -19
- package/dist/modules/user/profileData/index.d.ts +0 -1
- package/dist/modules/user/profileData/index.js +0 -17
- package/dist/modules/user/profileData/profileDataInitialization.d.ts +0 -2
- package/dist/modules/user/profileData/profileDataInitialization.js +0 -59
- package/dist/modules/user/store.d.ts +0 -33
- package/dist/modules/user/store.js +0 -78
- package/dist/modules/virtuoso/VirtuosoPageBuilder.d.ts +0 -19
- package/dist/modules/virtuoso/VirtuosoPageBuilder.js +0 -146
- package/dist/modules/virtuoso/VirtuosoToTopBtn.d.ts +0 -10
- package/dist/modules/virtuoso/VirtuosoToTopBtn.js +0 -43
- package/dist/modules/virtuoso/index.d.ts +0 -5
- package/dist/modules/virtuoso/index.js +0 -21
- package/dist/modules/virtuoso/types.d.ts +0 -7
- package/dist/modules/virtuoso/types.js +0 -2
- package/dist/modules/virtuoso/useSubscribeVirtuosoScrollToHeader.d.ts +0 -3
- package/dist/modules/virtuoso/useSubscribeVirtuosoScrollToHeader.js +0 -27
- package/dist/modules/virtuoso/useVirtuosoData.d.ts +0 -11
- package/dist/modules/virtuoso/useVirtuosoData.js +0 -50
- package/dist/pages/index.d.ts +0 -2
- package/dist/pages/index.js +0 -16
- package/dist/store/index.d.ts +0 -11
- package/dist/store/index.js +0 -28
- package/dist/store/media/index.d.ts +0 -1
- package/dist/store/media/index.js +0 -69
- package/dist/store/media/types.d.ts +0 -11
- package/dist/store/media/types.js +0 -2
- package/dist/store/ui/index.d.ts +0 -2
- package/dist/store/ui/index.js +0 -167
- package/dist/store/ui/types.d.ts +0 -34
- package/dist/store/ui/types.js +0 -2
- package/dist/store/ui/utils.d.ts +0 -7
- package/dist/store/ui/utils.js +0 -32
- package/dist/styles/ScreenWidth.d.ts +0 -22
- package/dist/styles/ScreenWidth.js +0 -26
- package/dist/styles/animations/index.d.ts +0 -2
- package/dist/styles/animations/index.js +0 -11
- package/dist/styles/colors/index.d.ts +0 -1
- package/dist/styles/colors/index.js +0 -38
- package/dist/styles/globalStyles.d.ts +0 -3
- package/dist/styles/globalStyles.js +0 -23
- package/dist/styles/index.d.ts +0 -5
- package/dist/styles/index.js +0 -26
- package/dist/styles/mixins/boxShadow.d.ts +0 -2
- package/dist/styles/mixins/boxShadow.js +0 -10
- package/dist/styles/mixins/boxTransform.d.ts +0 -2
- package/dist/styles/mixins/boxTransform.js +0 -10
- package/dist/styles/mixins/index.d.ts +0 -3
- package/dist/styles/mixins/index.js +0 -25
- package/dist/styles/mixins/z-indexes.d.ts +0 -10
- package/dist/styles/mixins/z-indexes.js +0 -13
- package/dist/styles/typography/index.d.ts +0 -1
- package/dist/styles/typography/index.js +0 -12
- package/dist/system/ActiveLink/index.d.ts +0 -9
- package/dist/system/ActiveLink/index.js +0 -71
- package/dist/system/Alert/index.d.ts +0 -3
- package/dist/system/Alert/index.js +0 -20
- package/dist/system/Alert/type.d.ts +0 -2
- package/dist/system/Alert/type.js +0 -8
- package/dist/system/BasicOverlay/index.d.ts +0 -3
- package/dist/system/BasicOverlay/index.js +0 -20
- package/dist/system/Buttons/IconButton/index.d.ts +0 -2
- package/dist/system/Buttons/IconButton/index.js +0 -7
- package/dist/system/Buttons/IconWithButton/index.d.ts +0 -2
- package/dist/system/Buttons/IconWithButton/index.js +0 -7
- package/dist/system/Buttons/IconWithButton/themes.d.ts +0 -0
- package/dist/system/Buttons/IconWithButton/themes.js +0 -0
- package/dist/system/Buttons/MainButton/index.d.ts +0 -2
- package/dist/system/Buttons/MainButton/index.js +0 -7
- package/dist/system/Buttons/MainButton/themes.d.ts +0 -0
- package/dist/system/Buttons/MainButton/themes.js +0 -0
- package/dist/system/Buttons/SecondaryButton/index.d.ts +0 -2
- package/dist/system/Buttons/SecondaryButton/index.js +0 -7
- package/dist/system/Buttons/index.d.ts +0 -4
- package/dist/system/Buttons/index.js +0 -14
- package/dist/system/Cards/CardCheckbox/index.d.ts +0 -6
- package/dist/system/Cards/CardCheckbox/index.js +0 -50
- package/dist/system/Cards/CardContent/CardCategory/index.d.ts +0 -6
- package/dist/system/Cards/CardContent/CardCategory/index.js +0 -27
- package/dist/system/Cards/CardContent/CardLikes/index.d.ts +0 -6
- package/dist/system/Cards/CardContent/CardLikes/index.js +0 -32
- package/dist/system/Cards/CardContent/CardShowMore/index.d.ts +0 -7
- package/dist/system/Cards/CardContent/CardShowMore/index.js +0 -40
- package/dist/system/Cards/CardContent/index.d.ts +0 -17
- package/dist/system/Cards/CardContent/index.js +0 -50
- package/dist/system/Cards/CardHeadIcons/index.d.ts +0 -15
- package/dist/system/Cards/CardHeadIcons/index.js +0 -134
- package/dist/system/Cards/CardMedia/CardAudio/index.d.ts +0 -8
- package/dist/system/Cards/CardMedia/CardAudio/index.js +0 -93
- package/dist/system/Cards/CardMedia/CardImage/index.d.ts +0 -7
- package/dist/system/Cards/CardMedia/CardImage/index.js +0 -44
- package/dist/system/Cards/CardMedia/CardVideo/index.d.ts +0 -7
- package/dist/system/Cards/CardMedia/CardVideo/index.js +0 -83
- package/dist/system/Cards/CardMedia/index.d.ts +0 -3
- package/dist/system/Cards/CardMedia/index.js +0 -12
- package/dist/system/Cards/CardRank/index.d.ts +0 -5
- package/dist/system/Cards/CardRank/index.js +0 -33
- package/dist/system/Cards/CardsGrid/index.d.ts +0 -13
- package/dist/system/Cards/CardsGrid/index.js +0 -80
- package/dist/system/Cards/HideLink/index.d.ts +0 -10
- package/dist/system/Cards/HideLink/index.js +0 -27
- package/dist/system/Cards/MultiMediaCard/index.d.ts +0 -10
- package/dist/system/Cards/MultiMediaCard/index.js +0 -78
- package/dist/system/Cards/RegularCard/index.d.ts +0 -22
- package/dist/system/Cards/RegularCard/index.js +0 -53
- package/dist/system/Cards/Styles/Content.d.ts +0 -3
- package/dist/system/Cards/Styles/Content.js +0 -16
- package/dist/system/Cards/Styles/Head.d.ts +0 -3
- package/dist/system/Cards/Styles/Head.js +0 -16
- package/dist/system/Cards/Styles/Headicons.d.ts +0 -5
- package/dist/system/Cards/Styles/Headicons.js +0 -19
- package/dist/system/Cards/Styles/Image.d.ts +0 -5
- package/dist/system/Cards/Styles/Image.js +0 -15
- package/dist/system/Cards/Styles/Likes.d.ts +0 -5
- package/dist/system/Cards/Styles/Likes.js +0 -17
- package/dist/system/Cards/Styles/MultiHead.d.ts +0 -3
- package/dist/system/Cards/Styles/MultiHead.js +0 -16
- package/dist/system/Cards/Styles/Video.d.ts +0 -3
- package/dist/system/Cards/Styles/Video.js +0 -13
- package/dist/system/Cards/Styles/index.d.ts +0 -7
- package/dist/system/Cards/Styles/index.js +0 -20
- package/dist/system/Cards/index.d.ts +0 -14
- package/dist/system/Cards/index.js +0 -46
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsError/index.d.ts +0 -5
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsError/index.js +0 -100
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsNoResults/index.d.ts +0 -5
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsNoResults/index.js +0 -26
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsSkeleton/index.d.ts +0 -6
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsSkeleton/index.js +0 -38
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/index.d.ts +0 -22
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/index.js +0 -38
- package/dist/system/CardsHolderWithSkeleton/CardsHolderLoader/index.d.ts +0 -3
- package/dist/system/CardsHolderWithSkeleton/CardsHolderLoader/index.js +0 -26
- package/dist/system/CardsHolderWithSkeleton/index.d.ts +0 -30
- package/dist/system/CardsHolderWithSkeleton/index.js +0 -19
- package/dist/system/DropDown/DropDown.test.d.ts +0 -1
- package/dist/system/DropDown/DropDown.test.js +0 -42
- package/dist/system/DropDown/index.d.ts +0 -8
- package/dist/system/DropDown/index.js +0 -63
- package/dist/system/Filters/helpers.d.ts +0 -7
- package/dist/system/Filters/helpers.js +0 -8
- package/dist/system/Filters/index.d.ts +0 -2
- package/dist/system/Filters/index.js +0 -18
- package/dist/system/Filters/type.d.ts +0 -16
- package/dist/system/Filters/type.js +0 -11
- package/dist/system/Flex/index.d.ts +0 -0
- package/dist/system/Flex/index.js +0 -0
- package/dist/system/Forms/Checkbox/Checkbox.test.d.ts +0 -1
- package/dist/system/Forms/Checkbox/Checkbox.test.js +0 -90
- package/dist/system/Forms/Checkbox/index.d.ts +0 -22
- package/dist/system/Forms/Checkbox/index.js +0 -71
- package/dist/system/Forms/DatePicker/index.d.ts +0 -16
- package/dist/system/Forms/DatePicker/index.js +0 -43
- package/dist/system/Forms/ErrorLabel/ErrorLabel.test.d.ts +0 -1
- package/dist/system/Forms/ErrorLabel/ErrorLabel.test.js +0 -27
- package/dist/system/Forms/ErrorLabel/index.d.ts +0 -7
- package/dist/system/Forms/ErrorLabel/index.js +0 -20
- package/dist/system/Forms/Input/Input.test.d.ts +0 -1
- package/dist/system/Forms/Input/Input.test.js +0 -57
- package/dist/system/Forms/Input/index.d.ts +0 -16
- package/dist/system/Forms/Input/index.js +0 -45
- package/dist/system/Forms/Input/type.d.ts +0 -5
- package/dist/system/Forms/Input/type.js +0 -2
- package/dist/system/Forms/Messages/index.d.ts +0 -67
- package/dist/system/Forms/Messages/index.js +0 -69
- package/dist/system/Forms/RadioInput/index.d.ts +0 -13
- package/dist/system/Forms/RadioInput/index.js +0 -42
- package/dist/system/Forms/Selects/DesktopSelect/index.d.ts +0 -12
- package/dist/system/Forms/Selects/DesktopSelect/index.js +0 -151
- package/dist/system/Forms/Selects/DesktopSelect/type.d.ts +0 -5
- package/dist/system/Forms/Selects/DesktopSelect/type.js +0 -2
- package/dist/system/Forms/Selects/MobileSelect/index.d.ts +0 -14
- package/dist/system/Forms/Selects/MobileSelect/index.js +0 -55
- package/dist/system/Forms/TextArea/index.d.ts +0 -14
- package/dist/system/Forms/TextArea/index.js +0 -44
- package/dist/system/Forms/index.d.ts +0 -6
- package/dist/system/Forms/index.js +0 -16
- package/dist/system/Img/ExternalImage/index.d.ts +0 -6
- package/dist/system/Img/ExternalImage/index.js +0 -53
- package/dist/system/Img/ImageInterceptor/ImageInterceptor.test.d.ts +0 -1
- package/dist/system/Img/ImageInterceptor/ImageInterceptor.test.js +0 -53
- package/dist/system/Img/ImageInterceptor/index.d.ts +0 -17
- package/dist/system/Img/ImageInterceptor/index.js +0 -56
- package/dist/system/Img/Profilepic/index.d.ts +0 -11
- package/dist/system/Img/Profilepic/index.js +0 -39
- package/dist/system/Img/Userpic/UserPic.test.d.ts +0 -2
- package/dist/system/Img/Userpic/UserPic.test.js +0 -69
- package/dist/system/Img/Userpic/index.d.ts +0 -9
- package/dist/system/Img/Userpic/index.js +0 -98
- package/dist/system/Img/index.d.ts +0 -4
- package/dist/system/Img/index.js +0 -20
- package/dist/system/Labels/ExperienceLabel/ExperienceLabel.test.d.ts +0 -1
- package/dist/system/Labels/ExperienceLabel/ExperienceLabel.test.js +0 -64
- package/dist/system/Labels/ExperienceLabel/index.d.ts +0 -7
- package/dist/system/Labels/ExperienceLabel/index.js +0 -42
- package/dist/system/Labels/InviteLabel/InviteLabel.test.d.ts +0 -1
- package/dist/system/Labels/InviteLabel/InviteLabel.test.js +0 -56
- package/dist/system/Labels/InviteLabel/index.d.ts +0 -7
- package/dist/system/Labels/InviteLabel/index.js +0 -38
- package/dist/system/Labels/SkeletonLabel/index.d.ts +0 -2
- package/dist/system/Labels/SkeletonLabel/index.js +0 -7
- package/dist/system/Modals/Modal/Modal.test.d.ts +0 -1
- package/dist/system/Modals/Modal/Modal.test.js +0 -36
- package/dist/system/Modals/Modal/index.d.ts +0 -3
- package/dist/system/Modals/Modal/index.js +0 -31
- package/dist/system/Modals/ModalSidebar/CreatorModalSidebarPortal.d.ts +0 -2
- package/dist/system/Modals/ModalSidebar/CreatorModalSidebarPortal.js +0 -48
- package/dist/system/Modals/ModalSidebar/ModalSidebar.test.d.ts +0 -1
- package/dist/system/Modals/ModalSidebar/ModalSidebar.test.js +0 -35
- package/dist/system/Modals/ModalSidebar/ModalSidebarPortal.d.ts +0 -5
- package/dist/system/Modals/ModalSidebar/ModalSidebarPortal.js +0 -19
- package/dist/system/Modals/ModalSidebar/index.d.ts +0 -4
- package/dist/system/Modals/ModalSidebar/index.js +0 -31
- package/dist/system/Modals/index.d.ts +0 -2
- package/dist/system/Modals/index.js +0 -10
- package/dist/system/Overlay/Overlay.test.d.ts +0 -1
- package/dist/system/Overlay/Overlay.test.js +0 -47
- package/dist/system/Overlay/index.d.ts +0 -3
- package/dist/system/Overlay/index.js +0 -28
- package/dist/system/PageLoader/index.d.ts +0 -2
- package/dist/system/PageLoader/index.js +0 -7
- package/dist/system/Palete/index.d.ts +0 -2
- package/dist/system/Palete/index.js +0 -7
- package/dist/system/ShareIconResize.d.ts +0 -2
- package/dist/system/ShareIconResize.js +0 -26
- package/dist/system/Tabs/TabNavLink/TabNavLink.test.d.ts +0 -2
- package/dist/system/Tabs/TabNavLink/TabNavLink.test.js +0 -40
- package/dist/system/Tabs/TabNavLink/index.d.ts +0 -12
- package/dist/system/Tabs/TabNavLink/index.js +0 -26
- package/dist/system/Tabs/TabsNav/TabsNav.test.d.ts +0 -2
- package/dist/system/Tabs/TabsNav/TabsNav.test.js +0 -43
- package/dist/system/Tabs/TabsNav/index.d.ts +0 -10
- package/dist/system/Tabs/TabsNav/index.js +0 -28
- package/dist/system/Tabs/TabsNav/type.d.ts +0 -6
- package/dist/system/Tabs/TabsNav/type.js +0 -2
- package/dist/system/Tabs/TabsPanel/TabsPanel.test.d.ts +0 -2
- package/dist/system/Tabs/TabsPanel/TabsPanel.test.js +0 -37
- package/dist/system/Tabs/TabsPanel/index.d.ts +0 -7
- package/dist/system/Tabs/TabsPanel/index.js +0 -21
- package/dist/system/Tabs/index.d.ts +0 -4
- package/dist/system/Tabs/index.js +0 -27
- package/dist/system/Text/index.d.ts +0 -0
- package/dist/system/Text/index.js +0 -0
- package/dist/system/index.d.ts +0 -21
- package/dist/system/index.js +0 -49
- package/dist/system/theme.d.ts +0 -1
- package/dist/system/theme.js +0 -7
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/dist/utils/3d.d.ts +0 -5
- package/dist/utils/3d.js +0 -45
- package/dist/utils/adaptive/check4k.d.ts +0 -5
- package/dist/utils/adaptive/check4k.js +0 -17
- package/dist/utils/adaptive/index.d.ts +0 -2
- package/dist/utils/adaptive/index.js +0 -18
- package/dist/utils/adaptive/scale.d.ts +0 -9
- package/dist/utils/adaptive/scale.js +0 -19
- package/dist/utils/auth/index.d.ts +0 -1
- package/dist/utils/auth/index.js +0 -11
- package/dist/utils/copyBtn/index.d.ts +0 -5
- package/dist/utils/copyBtn/index.js +0 -107
- package/dist/utils/env/index.d.ts +0 -5
- package/dist/utils/env/index.js +0 -34
- package/dist/utils/env/isProd/index.d.ts +0 -3
- package/dist/utils/env/isProd/index.js +0 -9
- package/dist/utils/env/type.d.ts +0 -5
- package/dist/utils/env/type.js +0 -9
- package/dist/utils/extractItemIds/index.d.ts +0 -2
- package/dist/utils/extractItemIds/index.js +0 -12
- package/dist/utils/getDimensionsImage.d.ts +0 -4
- package/dist/utils/getDimensionsImage.js +0 -84
- package/dist/utils/getPageSizeAssets.d.ts +0 -5
- package/dist/utils/getPageSizeAssets.js +0 -19
- package/dist/utils/healzHandler/index.d.ts +0 -9
- package/dist/utils/healzHandler/index.js +0 -10
- package/dist/utils/imageProportionsSize/index.d.ts +0 -5
- package/dist/utils/imageProportionsSize/index.js +0 -24
- package/dist/utils/index.d.ts +0 -7
- package/dist/utils/index.js +0 -23
- package/dist/utils/screen/index.d.ts +0 -18
- package/dist/utils/screen/index.js +0 -87
- package/dist/utils/ssrFunctions/index.d.ts +0 -11
- package/dist/utils/ssrFunctions/index.js +0 -41
- package/dist/utils/ui/index.d.ts +0 -8
- package/dist/utils/ui/index.js +0 -8
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
-
return cooked;
|
|
5
|
-
};
|
|
6
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
-
if (k2 === undefined) k2 = k;
|
|
8
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
-
}
|
|
12
|
-
Object.defineProperty(o, k2, desc);
|
|
13
|
-
}) : (function(o, m, k, k2) {
|
|
14
|
-
if (k2 === undefined) k2 = k;
|
|
15
|
-
o[k2] = m[k];
|
|
16
|
-
}));
|
|
17
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
-
}) : function(o, v) {
|
|
20
|
-
o["default"] = v;
|
|
21
|
-
});
|
|
22
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
23
|
-
if (mod && mod.__esModule) return mod;
|
|
24
|
-
var result = {};
|
|
25
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
26
|
-
__setModuleDefault(result, mod);
|
|
27
|
-
return result;
|
|
28
|
-
};
|
|
29
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
30
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
31
|
-
};
|
|
32
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
33
|
-
exports.ToTopBtnWithCustomHandler = void 0;
|
|
34
|
-
var react_1 = __importStar(require("react"));
|
|
35
|
-
var styled_components_1 = __importDefault(require("styled-components"));
|
|
36
|
-
var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
37
|
-
var styles_1 = require("@ludo.ninja/components/dist/styles");
|
|
38
|
-
var utils_1 = require("@ludo.ninja/components/dist/utils");
|
|
39
|
-
var toTopBtn_svg_1 = __importDefault(require("@/public/toTopBtn/toTopBtn.svg"));
|
|
40
|
-
// Styles
|
|
41
|
-
var StyledToTopBnt = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n position: fixed;\n width: 48px;\n height: 48px;\n bottom: 36px;\n right: 24px;\n z-index: ", ";\n cursor: pointer;\n padding: 5px;\n background-color: ", ";\n border-radius: 24px;\n box-shadow: 0 10px 32px -16px rgba(33, 21, 95, 0.1);\n\n &:hover {\n svg path {\n stroke: ", ";\n }\n }\n\n @media (max-width: 767px) {\n position: fixed;\n left: 0;\n right: 0;\n margin: 0 auto;\n }\n\n ", " {\n width: ", ";\n height: ", ";\n bottom: ", ";\n right: ", ";\n border-radius: ", ";\n padding: ", ";\n box-shadow: 0 ", " ", "\n ", " rgba(33, 21, 95, 0.1);\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n position: fixed;\n width: 48px;\n height: 48px;\n bottom: 36px;\n right: 24px;\n z-index: ", ";\n cursor: pointer;\n padding: 5px;\n background-color: ", ";\n border-radius: 24px;\n box-shadow: 0 10px 32px -16px rgba(33, 21, 95, 0.1);\n\n &:hover {\n svg path {\n stroke: ", ";\n }\n }\n\n @media (max-width: 767px) {\n position: fixed;\n left: 0;\n right: 0;\n margin: 0 auto;\n }\n\n ", " {\n width: ", ";\n height: ", ";\n bottom: ", ";\n right: ", ";\n border-radius: ", ";\n padding: ", ";\n box-shadow: 0 ", " ", "\n ", " rgba(33, 21, 95, 0.1);\n }\n"])), styles_1.zIndexToTopBtn, function (_a) {
|
|
42
|
-
var theme = _a.theme;
|
|
43
|
-
return theme.colors.toTopBtn;
|
|
44
|
-
}, styles_1.AccentColor, styles_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(48), (0, _4k_1.adaptiveValueCalc)(48), (0, _4k_1.adaptiveValueCalc)(36), (0, _4k_1.adaptiveValueCalc)(24), (0, _4k_1.adaptiveValueCalc)(24), (0, _4k_1.adaptiveValueCalc)(5), (0, _4k_1.adaptiveValueCalc)(10), (0, _4k_1.adaptiveValueCalc)(32), (0, _4k_1.adaptiveValueCalc)(-16));
|
|
45
|
-
var ToTopBtnIconResize = function () {
|
|
46
|
-
var windowDimensions = (0, utils_1.useWindowDimensionsWithServerInitial)().windowDimensions;
|
|
47
|
-
return (react_1.default.createElement(toTopBtn_svg_1.default, { style: (0, utils_1.getAdaptiveScale)({ windowDimensions: windowDimensions, currentSize: 1 }) }));
|
|
48
|
-
};
|
|
49
|
-
var ToTopBtn = function () {
|
|
50
|
-
var _a = (0, react_1.useState)(false), showBtn = _a[0], setShowBtn = _a[1];
|
|
51
|
-
var oldScrollY = document.documentElement.scrollTop;
|
|
52
|
-
var offsetPixels = 600;
|
|
53
|
-
(0, react_1.useEffect)(function () {
|
|
54
|
-
window.addEventListener('scroll', handleScroll);
|
|
55
|
-
return function () { return window.removeEventListener('scroll', handleScroll); };
|
|
56
|
-
}, []);
|
|
57
|
-
var handleClickFunction = function () {
|
|
58
|
-
window.scrollTo({ top: 0, behavior: 'smooth' });
|
|
59
|
-
};
|
|
60
|
-
var handleScroll = function () {
|
|
61
|
-
if ((0, utils_1.upBtnDistance)(document, offsetPixels)) {
|
|
62
|
-
if (oldScrollY > document.documentElement.scrollTop) {
|
|
63
|
-
setShowBtn(true);
|
|
64
|
-
}
|
|
65
|
-
oldScrollY = document.documentElement.scrollTop;
|
|
66
|
-
}
|
|
67
|
-
else {
|
|
68
|
-
setShowBtn(false);
|
|
69
|
-
oldScrollY = offsetPixels;
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
if (!showBtn)
|
|
73
|
-
return null;
|
|
74
|
-
return (react_1.default.createElement(StyledToTopBnt, { onClick: handleClickFunction },
|
|
75
|
-
react_1.default.createElement(ToTopBtnIconResize, null)));
|
|
76
|
-
};
|
|
77
|
-
var ToTopBtnWithCustomHandler = function (_a) {
|
|
78
|
-
var handleClickFunction = _a.handleClickFunction;
|
|
79
|
-
return (react_1.default.createElement(StyledToTopBnt, { onClick: handleClickFunction },
|
|
80
|
-
react_1.default.createElement(ToTopBtnIconResize, null)));
|
|
81
|
-
};
|
|
82
|
-
exports.ToTopBtnWithCustomHandler = ToTopBtnWithCustomHandler;
|
|
83
|
-
// Export
|
|
84
|
-
exports.default = ToTopBtn;
|
|
85
|
-
var templateObject_1;
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { assetSchema as schema } from '@ludo.ninja/api';
|
|
2
|
-
import { BlockChainEntity, MarketPlaceEntity } from '@ludo.ninja/core';
|
|
3
|
-
import IAssetEntity from '@/dto/AssetEntity/interface';
|
|
4
|
-
import { LabelKeys } from '@/dto/common/ItemType';
|
|
5
|
-
import Media from '@/dto/common/Media';
|
|
6
|
-
declare class AssetEntity implements IAssetEntity {
|
|
7
|
-
private assetId;
|
|
8
|
-
private blockchain;
|
|
9
|
-
private ownersProfiles;
|
|
10
|
-
private ownersAddresses;
|
|
11
|
-
private itemType;
|
|
12
|
-
private address;
|
|
13
|
-
private tokenId;
|
|
14
|
-
private medias;
|
|
15
|
-
private name;
|
|
16
|
-
private description;
|
|
17
|
-
private creatorsProfiles;
|
|
18
|
-
private creatorsAddresses;
|
|
19
|
-
private markets;
|
|
20
|
-
private originalUrls;
|
|
21
|
-
private rank;
|
|
22
|
-
private collection;
|
|
23
|
-
private category;
|
|
24
|
-
private categoryLabel;
|
|
25
|
-
private attributes;
|
|
26
|
-
private blockTimestamp;
|
|
27
|
-
private price;
|
|
28
|
-
constructor(asset: schema.IAsset);
|
|
29
|
-
getAssetId(): string;
|
|
30
|
-
getIsSlider(): boolean;
|
|
31
|
-
getSplitedAssetId(): string;
|
|
32
|
-
getName(): null | string;
|
|
33
|
-
getMarkets(): MarketPlaceEntity[] | null;
|
|
34
|
-
getBlockchain(): BlockChainEntity;
|
|
35
|
-
getPrice(): {
|
|
36
|
-
latestPriceAmount: number | null;
|
|
37
|
-
latestPriceCurrency: string | null;
|
|
38
|
-
};
|
|
39
|
-
getBlockTimestamp(): number;
|
|
40
|
-
getAttributes(): schema.IAttribute[];
|
|
41
|
-
getDescription(): null | string;
|
|
42
|
-
getTokenId(): string | null;
|
|
43
|
-
getCollection(): {
|
|
44
|
-
collectionId: string | null;
|
|
45
|
-
collectionTitle: string | null;
|
|
46
|
-
collectionMedias: schema.IMedia[];
|
|
47
|
-
};
|
|
48
|
-
getCategory(): string | null;
|
|
49
|
-
getCategoryLabel(): string | null;
|
|
50
|
-
getOriginalUrls(): schema.IMedia[] | null;
|
|
51
|
-
getItemType(): LabelKeys;
|
|
52
|
-
getRank(): number;
|
|
53
|
-
getAddress(): string | null;
|
|
54
|
-
getAssetLink(): string;
|
|
55
|
-
getOwnersProfiles(): schema.IProfile[];
|
|
56
|
-
getAssetMedias(): schema.IMedia[];
|
|
57
|
-
getAssetMediaType(): Media[];
|
|
58
|
-
detectMediaType(media: string, mimeType: string, originalUrl: string, originalMime: string): Media;
|
|
59
|
-
getCreatorsProfiles(): schema.IProfile[];
|
|
60
|
-
getOwnersAddresses(): string[] | null;
|
|
61
|
-
getCreatorsAddresses(): string[] | null;
|
|
62
|
-
}
|
|
63
|
-
export default AssetEntity;
|
|
@@ -1,211 +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
|
-
var core_1 = require("@ludo.ninja/core");
|
|
7
|
-
var utils_1 = require("@ludo.ninja/utils");
|
|
8
|
-
var views_1 = require("@/dto/AssetEntity/views");
|
|
9
|
-
var AssetObject_1 = __importDefault(require("@/dto/AssetEntity/views/AssetObject"));
|
|
10
|
-
var ItemType_1 = require("@/dto/common/ItemType");
|
|
11
|
-
var AssetEntity = /** @class */ (function () {
|
|
12
|
-
function AssetEntity(asset) {
|
|
13
|
-
var _a;
|
|
14
|
-
this.assetId = asset.assetId;
|
|
15
|
-
this.blockchain = new core_1.BlockChainEntity(asset === null || asset === void 0 ? void 0 : asset.blockchain);
|
|
16
|
-
this.markets =
|
|
17
|
-
((_a = asset.markets) === null || _a === void 0 ? void 0 : _a.map(function (market) {
|
|
18
|
-
return new core_1.MarketPlaceEntity({
|
|
19
|
-
marketName: market === null || market === void 0 ? void 0 : market.marketName,
|
|
20
|
-
marketUrl: market === null || market === void 0 ? void 0 : market.marketUrl,
|
|
21
|
-
marketId: market === null || market === void 0 ? void 0 : market.marketUrl,
|
|
22
|
-
});
|
|
23
|
-
})) || [];
|
|
24
|
-
this.ownersProfiles = asset.ownersProfiles || null;
|
|
25
|
-
this.ownersAddresses = asset.ownersAddresses;
|
|
26
|
-
this.itemType = ItemType_1.LabelKeys.asset;
|
|
27
|
-
this.address = asset.address;
|
|
28
|
-
this.tokenId = asset.tokenId;
|
|
29
|
-
this.medias = asset.medias;
|
|
30
|
-
this.name = asset.name;
|
|
31
|
-
this.description = asset.description;
|
|
32
|
-
this.creatorsProfiles = asset.creatorsProfiles || null;
|
|
33
|
-
this.creatorsAddresses = asset.creatorsAddresses;
|
|
34
|
-
this.originalUrls = asset.originalUrls;
|
|
35
|
-
this.rank = asset.rank;
|
|
36
|
-
this.collection = {
|
|
37
|
-
collectionId: asset.collectionId,
|
|
38
|
-
collectionTitle: asset.collectionTitle,
|
|
39
|
-
collectionMedias: asset.collectionMedias,
|
|
40
|
-
};
|
|
41
|
-
this.category = asset.category;
|
|
42
|
-
this.categoryLabel = asset.categoryLabel;
|
|
43
|
-
this.price = {
|
|
44
|
-
latestPriceAmount: asset.latestPriceAmount,
|
|
45
|
-
latestPriceCurrency: asset.latestPriceCurrency,
|
|
46
|
-
};
|
|
47
|
-
this.attributes = asset.attributes;
|
|
48
|
-
this.blockTimestamp = asset.blockTimestamp;
|
|
49
|
-
}
|
|
50
|
-
// accessors
|
|
51
|
-
AssetEntity.prototype.getAssetId = function () {
|
|
52
|
-
return this.assetId;
|
|
53
|
-
};
|
|
54
|
-
AssetEntity.prototype.getIsSlider = function () {
|
|
55
|
-
var _a;
|
|
56
|
-
return this.getAssetMedias()
|
|
57
|
-
? ((_a = this.getAssetMedias()) === null || _a === void 0 ? void 0 : _a.length) > 1
|
|
58
|
-
: false;
|
|
59
|
-
};
|
|
60
|
-
AssetEntity.prototype.getSplitedAssetId = function () {
|
|
61
|
-
return this.getAssetId().split('.')[1] || this.getAssetId();
|
|
62
|
-
};
|
|
63
|
-
AssetEntity.prototype.getName = function () {
|
|
64
|
-
return this.name ? this.name : null;
|
|
65
|
-
};
|
|
66
|
-
AssetEntity.prototype.getMarkets = function () {
|
|
67
|
-
return this.markets ? this.markets : null;
|
|
68
|
-
};
|
|
69
|
-
AssetEntity.prototype.getBlockchain = function () {
|
|
70
|
-
return this.blockchain;
|
|
71
|
-
};
|
|
72
|
-
AssetEntity.prototype.getPrice = function () {
|
|
73
|
-
return {
|
|
74
|
-
latestPriceAmount: this.price.latestPriceAmount
|
|
75
|
-
? this.price.latestPriceAmount
|
|
76
|
-
: null,
|
|
77
|
-
latestPriceCurrency: this.price.latestPriceCurrency
|
|
78
|
-
? this.price.latestPriceCurrency
|
|
79
|
-
: null,
|
|
80
|
-
};
|
|
81
|
-
};
|
|
82
|
-
AssetEntity.prototype.getBlockTimestamp = function () {
|
|
83
|
-
return this.blockTimestamp;
|
|
84
|
-
};
|
|
85
|
-
AssetEntity.prototype.getAttributes = function () {
|
|
86
|
-
var _a;
|
|
87
|
-
return ((_a = this.attributes) === null || _a === void 0 ? void 0 : _a.length)
|
|
88
|
-
? this.attributes
|
|
89
|
-
: [];
|
|
90
|
-
};
|
|
91
|
-
AssetEntity.prototype.getDescription = function () {
|
|
92
|
-
return this.description ? this.description : null;
|
|
93
|
-
};
|
|
94
|
-
AssetEntity.prototype.getTokenId = function () {
|
|
95
|
-
return this.tokenId ? this.tokenId : null;
|
|
96
|
-
};
|
|
97
|
-
AssetEntity.prototype.getCollection = function () {
|
|
98
|
-
var _a;
|
|
99
|
-
return {
|
|
100
|
-
collectionId: this.collection.collectionId
|
|
101
|
-
? this.collection.collectionId
|
|
102
|
-
: null,
|
|
103
|
-
collectionTitle: this.collection.collectionTitle
|
|
104
|
-
? this.collection.collectionTitle
|
|
105
|
-
: null,
|
|
106
|
-
collectionMedias: ((_a = this.collection.collectionMedias) === null || _a === void 0 ? void 0 : _a.length)
|
|
107
|
-
? this.collection.collectionMedias
|
|
108
|
-
: [],
|
|
109
|
-
};
|
|
110
|
-
};
|
|
111
|
-
AssetEntity.prototype.getCategory = function () {
|
|
112
|
-
return this.category ? this.category : null;
|
|
113
|
-
};
|
|
114
|
-
AssetEntity.prototype.getCategoryLabel = function () {
|
|
115
|
-
return this.categoryLabel ? this.categoryLabel : null;
|
|
116
|
-
};
|
|
117
|
-
AssetEntity.prototype.getOriginalUrls = function () {
|
|
118
|
-
var _a;
|
|
119
|
-
if (!this.originalUrls)
|
|
120
|
-
return null;
|
|
121
|
-
var convertedOriginalUrlsArray = [];
|
|
122
|
-
for (var i = 0; i < ((_a = this.originalUrls) === null || _a === void 0 ? void 0 : _a.length); i++) {
|
|
123
|
-
convertedOriginalUrlsArray.push({
|
|
124
|
-
url: (0, utils_1.checkGltfUrl)(this.originalUrls[i] || ''),
|
|
125
|
-
mimeType: null,
|
|
126
|
-
originalMime: null,
|
|
127
|
-
});
|
|
128
|
-
}
|
|
129
|
-
return convertedOriginalUrlsArray;
|
|
130
|
-
};
|
|
131
|
-
AssetEntity.prototype.getItemType = function () {
|
|
132
|
-
return this.itemType;
|
|
133
|
-
};
|
|
134
|
-
AssetEntity.prototype.getRank = function () {
|
|
135
|
-
return this.rank ? Math.round(this.rank) : 0;
|
|
136
|
-
};
|
|
137
|
-
AssetEntity.prototype.getAddress = function () {
|
|
138
|
-
return this.address ? this.address : null;
|
|
139
|
-
};
|
|
140
|
-
AssetEntity.prototype.getAssetLink = function () {
|
|
141
|
-
if (this.getItemType() === ItemType_1.LabelKeys.asset) {
|
|
142
|
-
if (this.getBlockchain().getBlockChainPrivateLabel() ===
|
|
143
|
-
(core_1.BlockChainKeys.elrond || core_1.BlockChainKeys.solana)) {
|
|
144
|
-
return "/".concat(this.getItemType(), "/").concat(this.getBlockchain().getBlockChainPrivateLabel(), "/").concat(this.getAssetId());
|
|
145
|
-
}
|
|
146
|
-
else {
|
|
147
|
-
return "/".concat(this.getItemType(), "/").concat(this.getBlockchain().getBlockChainPrivateLabel(), "/").concat(this.getAddress(), "/").concat(this.getTokenId());
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
return "/".concat(this.getItemType(), "/").concat(this.getAssetId());
|
|
151
|
-
};
|
|
152
|
-
AssetEntity.prototype.getOwnersProfiles = function () {
|
|
153
|
-
return this.ownersProfiles
|
|
154
|
-
? this.ownersProfiles
|
|
155
|
-
: [];
|
|
156
|
-
};
|
|
157
|
-
AssetEntity.prototype.getAssetMedias = function () {
|
|
158
|
-
return this.medias ? this.medias : [];
|
|
159
|
-
};
|
|
160
|
-
AssetEntity.prototype.getAssetMediaType = function () {
|
|
161
|
-
var _this = this;
|
|
162
|
-
var medias = this.getAssetMedias().length
|
|
163
|
-
? this.getAssetMedias()
|
|
164
|
-
: this.getOriginalUrls();
|
|
165
|
-
var detectedMedias = [];
|
|
166
|
-
medias === null || medias === void 0 ? void 0 : medias.forEach(function (media) {
|
|
167
|
-
detectedMedias.push(_this.detectMediaType(media.url, media.mimeType, media.originalUrl, media.originalMime));
|
|
168
|
-
});
|
|
169
|
-
return detectedMedias;
|
|
170
|
-
};
|
|
171
|
-
AssetEntity.prototype.detectMediaType = function (media, mimeType, originalUrl, originalMime) {
|
|
172
|
-
var mediaFields = {
|
|
173
|
-
media: media,
|
|
174
|
-
nsfw: null,
|
|
175
|
-
mimeType: mimeType,
|
|
176
|
-
previewUrl: null,
|
|
177
|
-
originalUrl: originalUrl,
|
|
178
|
-
alt: "".concat(this.getName(), " ").concat(this.getAddress()),
|
|
179
|
-
originalMime: originalMime,
|
|
180
|
-
};
|
|
181
|
-
var mediaTypes = [
|
|
182
|
-
new views_1.AssetImage(mediaFields),
|
|
183
|
-
new views_1.AssetAudio(mediaFields),
|
|
184
|
-
new views_1.AssetScreenshot(mediaFields),
|
|
185
|
-
new views_1.AssetVideo(mediaFields),
|
|
186
|
-
new AssetObject_1.default(mediaFields),
|
|
187
|
-
new views_1.AssetOther(mediaFields),
|
|
188
|
-
];
|
|
189
|
-
var currentMedia = new views_1.AssetOther(mediaFields);
|
|
190
|
-
for (var i = 0; i < mediaTypes.length; i++) {
|
|
191
|
-
if (mediaTypes[i].checkOwnType()) {
|
|
192
|
-
currentMedia = mediaTypes[i];
|
|
193
|
-
break;
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
return currentMedia;
|
|
197
|
-
};
|
|
198
|
-
AssetEntity.prototype.getCreatorsProfiles = function () {
|
|
199
|
-
return this.creatorsProfiles
|
|
200
|
-
? this.creatorsProfiles
|
|
201
|
-
: [];
|
|
202
|
-
};
|
|
203
|
-
AssetEntity.prototype.getOwnersAddresses = function () {
|
|
204
|
-
return this.ownersAddresses ? this.ownersAddresses : null;
|
|
205
|
-
};
|
|
206
|
-
AssetEntity.prototype.getCreatorsAddresses = function () {
|
|
207
|
-
return this.creatorsAddresses ? this.creatorsAddresses : null;
|
|
208
|
-
};
|
|
209
|
-
return AssetEntity;
|
|
210
|
-
}());
|
|
211
|
-
exports.default = AssetEntity;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { assetSchema as schema } from '@ludo.ninja/api';
|
|
2
|
-
import { BlockChainEntity, MarketPlaceEntity } from '@ludo.ninja/core';
|
|
3
|
-
import { LabelKeys } from '@/dto/common/ItemType';
|
|
4
|
-
import Media from '@/dto/common/Media';
|
|
5
|
-
interface IAssetEntity {
|
|
6
|
-
getAssetId(): string;
|
|
7
|
-
getBlockchain(): BlockChainEntity;
|
|
8
|
-
getOwnersProfiles(): schema.IProfile[];
|
|
9
|
-
getBlockTimestamp(): number;
|
|
10
|
-
getCreatorsProfiles(): schema.IProfile[];
|
|
11
|
-
getSplitedAssetId(): string;
|
|
12
|
-
getAttributes(): schema.IAttribute[];
|
|
13
|
-
getAssetMediaType(): Media[];
|
|
14
|
-
getOwnersAddresses(): string[] | null;
|
|
15
|
-
getCreatorsAddresses(): string[] | null;
|
|
16
|
-
getIsSlider(): boolean;
|
|
17
|
-
getMarkets(): MarketPlaceEntity[] | null;
|
|
18
|
-
detectMediaType(media: string, mimeType: string, originalUrl: string, originalMime: string): Media;
|
|
19
|
-
getPrice(): {
|
|
20
|
-
latestPriceAmount: number | null;
|
|
21
|
-
latestPriceCurrency: string | null;
|
|
22
|
-
};
|
|
23
|
-
getAssetMedias(): schema.IMedia[];
|
|
24
|
-
getItemType(): LabelKeys;
|
|
25
|
-
getName(): null | string;
|
|
26
|
-
getOriginalUrls(): schema.IMedia[] | null;
|
|
27
|
-
getAddress(): string | null;
|
|
28
|
-
getCollection(): {
|
|
29
|
-
collectionId: string | null;
|
|
30
|
-
collectionTitle: string | null;
|
|
31
|
-
collectionMedias: schema.IMedia[];
|
|
32
|
-
};
|
|
33
|
-
getCategory(): string | null;
|
|
34
|
-
getCategoryLabel(): string | null;
|
|
35
|
-
getTokenId(): string | null;
|
|
36
|
-
getDescription(): string | null;
|
|
37
|
-
getRank(): number;
|
|
38
|
-
}
|
|
39
|
-
export default IAssetEntity;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import Audio from '@/dto/common/Media/Audio';
|
|
3
|
-
import { BasicMediaType } from '@/dto/common/Media/interface';
|
|
4
|
-
declare class AssetAudio extends Audio {
|
|
5
|
-
constructor({ media, mimeType, previewUrl, nsfw, alt, originalMime, }: BasicMediaType);
|
|
6
|
-
getMediaUrl(): string;
|
|
7
|
-
displaySingleMedia(): JSX.Element;
|
|
8
|
-
}
|
|
9
|
-
export default AssetAudio;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
18
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
19
|
-
};
|
|
20
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
-
var react_1 = __importDefault(require("react"));
|
|
22
|
-
var assetPage_1 = require("@/components/assetPage");
|
|
23
|
-
var Audio_1 = __importDefault(require("@/dto/common/Media/Audio"));
|
|
24
|
-
var Urls_1 = require("@/dto/common/Media/Urls");
|
|
25
|
-
var AssetAudio = /** @class */ (function (_super) {
|
|
26
|
-
__extends(AssetAudio, _super);
|
|
27
|
-
function AssetAudio(_a) {
|
|
28
|
-
var media = _a.media, mimeType = _a.mimeType, previewUrl = _a.previewUrl, nsfw = _a.nsfw, alt = _a.alt, originalMime = _a.originalMime;
|
|
29
|
-
return _super.call(this, { nsfw: nsfw, previewUrl: previewUrl, media: media, mimeType: mimeType, alt: alt, originalMime: originalMime }) || this;
|
|
30
|
-
}
|
|
31
|
-
AssetAudio.prototype.getMediaUrl = function () {
|
|
32
|
-
return (0, Urls_1.isExternalMediaAudio)(this.getMedia());
|
|
33
|
-
};
|
|
34
|
-
AssetAudio.prototype.displaySingleMedia = function () {
|
|
35
|
-
return (react_1.default.createElement(assetPage_1.AudioVideoPlayer, { playerType: "audio", poster: null, src: this.getMediaUrl() }));
|
|
36
|
-
};
|
|
37
|
-
return AssetAudio;
|
|
38
|
-
}(Audio_1.default));
|
|
39
|
-
exports.default = AssetAudio;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import Image from '@/dto/common/Media/Image';
|
|
3
|
-
import { BasicMediaType } from '@/dto/common/Media/interface';
|
|
4
|
-
declare class AssetImage extends Image {
|
|
5
|
-
constructor({ media, mimeType, previewUrl, nsfw, originalUrl, alt, originalMime, }: BasicMediaType);
|
|
6
|
-
getMediaUrl(): string;
|
|
7
|
-
displaySingleMedia(): JSX.Element;
|
|
8
|
-
displayLinkedMedia(): JSX.Element;
|
|
9
|
-
}
|
|
10
|
-
export default AssetImage;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
18
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
19
|
-
};
|
|
20
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
-
var react_1 = __importDefault(require("react"));
|
|
22
|
-
var AssetImage_1 = __importDefault(require("@/components/assetPage/media/AssetImage"));
|
|
23
|
-
var Image_1 = __importDefault(require("@/dto/common/Media/Image"));
|
|
24
|
-
var Urls_1 = require("@/dto/common/Media/Urls");
|
|
25
|
-
var AssetImage = /** @class */ (function (_super) {
|
|
26
|
-
__extends(AssetImage, _super);
|
|
27
|
-
function AssetImage(_a) {
|
|
28
|
-
var media = _a.media, mimeType = _a.mimeType, previewUrl = _a.previewUrl, nsfw = _a.nsfw, originalUrl = _a.originalUrl, alt = _a.alt, originalMime = _a.originalMime;
|
|
29
|
-
return _super.call(this, {
|
|
30
|
-
nsfw: nsfw,
|
|
31
|
-
previewUrl: previewUrl,
|
|
32
|
-
media: media,
|
|
33
|
-
mimeType: mimeType,
|
|
34
|
-
originalUrl: originalUrl,
|
|
35
|
-
alt: alt,
|
|
36
|
-
originalMime: originalMime,
|
|
37
|
-
}) || this;
|
|
38
|
-
}
|
|
39
|
-
AssetImage.prototype.getMediaUrl = function () {
|
|
40
|
-
return (0, Urls_1.isExternalMediaImage)(this.getMedia(), Urls_1.mediaSizes.regular);
|
|
41
|
-
};
|
|
42
|
-
AssetImage.prototype.displaySingleMedia = function () {
|
|
43
|
-
return (react_1.default.createElement(AssetImage_1.default, { alt: this.getAlt(), imageUrl: this.getMediaUrl(), errorImg: '/noContent/noContent.svg' }));
|
|
44
|
-
};
|
|
45
|
-
AssetImage.prototype.displayLinkedMedia = function () {
|
|
46
|
-
return (react_1.default.createElement(AssetImage_1.default, { alt: this.getAlt(), imageUrl: this.getMediaUrl(), errorImg: '/noContent/noContent.svg', originalUrl: this.getOriginalUrl() }));
|
|
47
|
-
};
|
|
48
|
-
return AssetImage;
|
|
49
|
-
}(Image_1.default));
|
|
50
|
-
exports.default = AssetImage;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import Object from '@/dto/common/Media/Object';
|
|
3
|
-
import { BasicMediaType } from '@/dto/common/Media/interface';
|
|
4
|
-
declare class AssetObject extends Object {
|
|
5
|
-
constructor({ media, mimeType, previewUrl, nsfw, originalUrl, alt, originalMime, }: BasicMediaType);
|
|
6
|
-
getMediaUrl(): string;
|
|
7
|
-
displaySingleMedia(): JSX.Element;
|
|
8
|
-
displayLinkedMedia(): JSX.Element;
|
|
9
|
-
displayMiniature(): JSX.Element;
|
|
10
|
-
}
|
|
11
|
-
export default AssetObject;
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
18
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
19
|
-
};
|
|
20
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
-
var react_1 = __importDefault(require("react"));
|
|
22
|
-
var assetPage_1 = require("@/components/assetPage");
|
|
23
|
-
var Object_1 = __importDefault(require("@/dto/common/Media/Object"));
|
|
24
|
-
var Urls_1 = require("@/dto/common/Media/Urls");
|
|
25
|
-
var AssetObject = /** @class */ (function (_super) {
|
|
26
|
-
__extends(AssetObject, _super);
|
|
27
|
-
function AssetObject(_a) {
|
|
28
|
-
var media = _a.media, mimeType = _a.mimeType, previewUrl = _a.previewUrl, nsfw = _a.nsfw, originalUrl = _a.originalUrl, alt = _a.alt, originalMime = _a.originalMime;
|
|
29
|
-
return _super.call(this, {
|
|
30
|
-
nsfw: nsfw,
|
|
31
|
-
previewUrl: previewUrl,
|
|
32
|
-
media: media,
|
|
33
|
-
mimeType: mimeType,
|
|
34
|
-
originalUrl: originalUrl,
|
|
35
|
-
alt: alt,
|
|
36
|
-
originalMime: originalMime,
|
|
37
|
-
}) || this;
|
|
38
|
-
}
|
|
39
|
-
AssetObject.prototype.getMediaUrl = function () {
|
|
40
|
-
return (0, Urls_1.isExternalMediaObject)(this.getMedia());
|
|
41
|
-
};
|
|
42
|
-
AssetObject.prototype.displaySingleMedia = function () {
|
|
43
|
-
//todo: add previewUrl to 2d
|
|
44
|
-
return react_1.default.createElement(assetPage_1.Viewer3D, { file3D: this.getMediaUrl(), file2D: '' });
|
|
45
|
-
// return (
|
|
46
|
-
// <AssetImage
|
|
47
|
-
// alt={this.getAlt()}
|
|
48
|
-
// imageUrl={this.getMediaUrl()}
|
|
49
|
-
// errorImg={'/noContent/noContent.svg'}
|
|
50
|
-
// />
|
|
51
|
-
// );
|
|
52
|
-
};
|
|
53
|
-
AssetObject.prototype.displayLinkedMedia = function () {
|
|
54
|
-
//todo: add previewUrl to 2d
|
|
55
|
-
return react_1.default.createElement(assetPage_1.Viewer3D, { file3D: this.getOriginalUrl(), file2D: '' });
|
|
56
|
-
// return (
|
|
57
|
-
// <AssetImage
|
|
58
|
-
// alt={this.getAlt()}
|
|
59
|
-
// imageUrl={this.getMediaUrl()}
|
|
60
|
-
// errorImg={'/noContent/noContent.svg'}
|
|
61
|
-
// originalUrl={this.getOriginalUrl() ?? this.getMediaUrl()}
|
|
62
|
-
// />
|
|
63
|
-
// );
|
|
64
|
-
};
|
|
65
|
-
AssetObject.prototype.displayMiniature = function () {
|
|
66
|
-
return react_1.default.createElement("div", null, " It`s otherMedia Miniature");
|
|
67
|
-
};
|
|
68
|
-
return AssetObject;
|
|
69
|
-
}(Object_1.default));
|
|
70
|
-
exports.default = AssetObject;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import OtherClass from '@/dto/common/Media/Other';
|
|
3
|
-
import { BasicMediaType } from '@/dto/common/Media/interface';
|
|
4
|
-
declare class AssetOther extends OtherClass {
|
|
5
|
-
constructor({ media, mimeType, previewUrl, nsfw, originalUrl, alt, originalMime, }: BasicMediaType);
|
|
6
|
-
getMediaUrl(): string;
|
|
7
|
-
displaySingleMedia(): JSX.Element;
|
|
8
|
-
displayLinkedMedia(): JSX.Element;
|
|
9
|
-
displayMiniature(): JSX.Element;
|
|
10
|
-
}
|
|
11
|
-
export default AssetOther;
|