@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,136 +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 __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
7
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
8
|
-
if (ar || !(i in from)) {
|
|
9
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
10
|
-
ar[i] = from[i];
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
14
|
-
};
|
|
15
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
16
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
|
-
};
|
|
18
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.MultiversXAudit = void 0;
|
|
20
|
-
var react_1 = require("react");
|
|
21
|
-
var auto_1 = __importDefault(require("chart.js/auto"));
|
|
22
|
-
var nookies_1 = require("nookies");
|
|
23
|
-
var styled_components_1 = __importDefault(require("styled-components"));
|
|
24
|
-
var api_1 = require("@ludo.ninja/api");
|
|
25
|
-
var schema_1 = require("@ludo.ninja/api/build/graphql_tools/__generated__/identityHost/schema");
|
|
26
|
-
var colors_1 = require("@ludo.ninja/ui/build/styles/colors");
|
|
27
|
-
var type_1 = require("@ludo.ninja/ui/build/system/Alert/type");
|
|
28
|
-
var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
29
|
-
var store_1 = require("@ludo.ninja/components/dist/store");
|
|
30
|
-
var styles_1 = require("@ludo.ninja/components/dist/styles");
|
|
31
|
-
var fonts_1 = require("@ludo.ninja/components/dist/fonts");
|
|
32
|
-
var SWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n width: 100%;\n padding: 12px 16px;\n flex-direction: column;\n align-items: center;\n gap: 8px;\n border-radius: 6px;\n background: ", ";\n margin-bottom: 16px;\n\n .canvas {\n width: 164px;\n height: 164px;\n\n ", " {\n width: 124px;\n height: 124px;\n }\n }\n\n .labels {\n padding-top: 8px;\n display: flex;\n flex-wrap: wrap;\n gap: 8px;\n\n & > * {\n display: flex;\n align-items: center;\n gap: 6px;\n\n color: ", ";\n font-family: ", ";\n font-size: 13px;\n font-weight: 400;\n line-height: 18px;\n }\n\n .circle {\n width: 10px;\n height: 10px;\n border-radius: 50%;\n }\n }\n\n ", " {\n padding: ", " ", ";\n gap: ", ";\n border-radius: ", ";\n margin-bottom: ", ";\n\n .canvas {\n width: ", ";\n height: ", ";\n }\n\n .labels {\n padding-top: ", ";\n gap: ", ";\n\n & > * {\n gap: ", ";\n\n font-size: ", ";\n line-height: ", ";\n }\n\n .circle {\n width: ", ";\n height: ", ";\n }\n }\n }\n"], ["\n display: flex;\n width: 100%;\n padding: 12px 16px;\n flex-direction: column;\n align-items: center;\n gap: 8px;\n border-radius: 6px;\n background: ", ";\n margin-bottom: 16px;\n\n .canvas {\n width: 164px;\n height: 164px;\n\n ", " {\n width: 124px;\n height: 124px;\n }\n }\n\n .labels {\n padding-top: 8px;\n display: flex;\n flex-wrap: wrap;\n gap: 8px;\n\n & > * {\n display: flex;\n align-items: center;\n gap: 6px;\n\n color: ", ";\n font-family: ", ";\n font-size: 13px;\n font-weight: 400;\n line-height: 18px;\n }\n\n .circle {\n width: 10px;\n height: 10px;\n border-radius: 50%;\n }\n }\n\n ", " {\n padding: ", " ", ";\n gap: ", ";\n border-radius: ", ";\n margin-bottom: ", ";\n\n .canvas {\n width: ", ";\n height: ", ";\n }\n\n .labels {\n padding-top: ", ";\n gap: ", ";\n\n & > * {\n gap: ", ";\n\n font-size: ", ";\n line-height: ", ";\n }\n\n .circle {\n width: ", ";\n height: ", ";\n }\n }\n }\n"])), colors_1.WhiteColor, styles_1.mediaQuery.maxWidthTablet, colors_1.BlackColor, fonts_1.dmsansFontVarCss.css, styles_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(12), (0, _4k_1.adaptiveValueCalc)(16), (0, _4k_1.adaptiveValueCalc)(8), (0, _4k_1.adaptiveValueCalc)(6), (0, _4k_1.adaptiveValueCalc)(16), (0, _4k_1.adaptiveValueCalc)(164), (0, _4k_1.adaptiveValueCalc)(164), (0, _4k_1.adaptiveValueCalc)(8), (0, _4k_1.adaptiveValueCalc)(8), (0, _4k_1.adaptiveValueCalc)(6), (0, _4k_1.adaptiveValueCalc)(13), (0, _4k_1.adaptiveValueCalc)(18), (0, _4k_1.adaptiveValueCalc)(10), (0, _4k_1.adaptiveValueCalc)(10));
|
|
33
|
-
var colors = [
|
|
34
|
-
'#977CFF',
|
|
35
|
-
'#98E2EB',
|
|
36
|
-
'#D181FF',
|
|
37
|
-
'#8FDE95',
|
|
38
|
-
'#7BC0FF',
|
|
39
|
-
'#FB94A3',
|
|
40
|
-
'#FFAE80',
|
|
41
|
-
'#FFE380',
|
|
42
|
-
'#CFD5EA',
|
|
43
|
-
];
|
|
44
|
-
var backgroundColors = __spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray([], colors, true), colors, true), colors, true), colors, true), colors, true), colors, true), colors, true), colors, true), colors, true), colors, true);
|
|
45
|
-
var AuditUI = function (_a) {
|
|
46
|
-
var interests = _a.interests;
|
|
47
|
-
var labels = interests.map(function (el) {
|
|
48
|
-
var name = el.name;
|
|
49
|
-
if (name) {
|
|
50
|
-
return name[0].toUpperCase() + name.slice(1);
|
|
51
|
-
}
|
|
52
|
-
return name;
|
|
53
|
-
});
|
|
54
|
-
var canvasRef = (0, react_1.useRef)(null);
|
|
55
|
-
(0, react_1.useEffect)(function () {
|
|
56
|
-
var canvas = canvasRef.current;
|
|
57
|
-
var chart = canvas &&
|
|
58
|
-
new auto_1.default(canvas, {
|
|
59
|
-
type: 'doughnut',
|
|
60
|
-
data: {
|
|
61
|
-
labels: labels,
|
|
62
|
-
datasets: [
|
|
63
|
-
{
|
|
64
|
-
data: interests.map(function (el) { return el.percentage; }),
|
|
65
|
-
backgroundColor: backgroundColors,
|
|
66
|
-
hoverOffset: 4,
|
|
67
|
-
},
|
|
68
|
-
],
|
|
69
|
-
},
|
|
70
|
-
options: {
|
|
71
|
-
responsive: true,
|
|
72
|
-
plugins: {
|
|
73
|
-
legend: {
|
|
74
|
-
display: false,
|
|
75
|
-
},
|
|
76
|
-
tooltip: {
|
|
77
|
-
callbacks: {
|
|
78
|
-
label: function (context) {
|
|
79
|
-
return ' ' + context.raw + '%';
|
|
80
|
-
},
|
|
81
|
-
},
|
|
82
|
-
},
|
|
83
|
-
},
|
|
84
|
-
},
|
|
85
|
-
});
|
|
86
|
-
return function () {
|
|
87
|
-
if (chart && 'destroy' in chart) {
|
|
88
|
-
chart.destroy();
|
|
89
|
-
}
|
|
90
|
-
};
|
|
91
|
-
}, []);
|
|
92
|
-
return (React.createElement(SWrapper, null,
|
|
93
|
-
React.createElement("div", { className: "canvas" },
|
|
94
|
-
React.createElement("canvas", { ref: canvasRef })),
|
|
95
|
-
React.createElement("div", { className: "labels" }, labels.map(function (label, index) { return (React.createElement("div", { key: index },
|
|
96
|
-
React.createElement("div", { className: "circle", style: {
|
|
97
|
-
backgroundColor: backgroundColors[index],
|
|
98
|
-
} }),
|
|
99
|
-
React.createElement("span", null, label))); }))));
|
|
100
|
-
};
|
|
101
|
-
var Audit = function (_a) {
|
|
102
|
-
var _b;
|
|
103
|
-
var wallet = _a.wallet;
|
|
104
|
-
var openAlert = (0, store_1.useUiStore)(function (state) { return state.openAlert; });
|
|
105
|
-
var data = (0, schema_1.useFetchMultiversXAuditQuery)({
|
|
106
|
-
variables: { wallet: wallet },
|
|
107
|
-
context: {
|
|
108
|
-
uri: api_1.hosts.identityHost,
|
|
109
|
-
},
|
|
110
|
-
notifyOnNetworkStatusChange: true,
|
|
111
|
-
fetchPolicy: 'no-cache',
|
|
112
|
-
onError: function () {
|
|
113
|
-
openAlert({
|
|
114
|
-
type: type_1.alertVariants.error,
|
|
115
|
-
caption: 'Oops, something went wrong.',
|
|
116
|
-
});
|
|
117
|
-
},
|
|
118
|
-
}).data;
|
|
119
|
-
if (!data || !((_b = data.fetchMultiversxAudit) === null || _b === void 0 ? void 0 : _b.interests)) {
|
|
120
|
-
return null;
|
|
121
|
-
}
|
|
122
|
-
var interests = data.fetchMultiversxAudit.interests;
|
|
123
|
-
return interests && React.createElement(AuditUI, { interests: interests });
|
|
124
|
-
};
|
|
125
|
-
var MultiversXAudit = function () {
|
|
126
|
-
var authMultiversXWallet = (0, nookies_1.parseCookies)().authMultiversXWallet;
|
|
127
|
-
if (!authMultiversXWallet) {
|
|
128
|
-
return null;
|
|
129
|
-
}
|
|
130
|
-
return React.createElement(Audit, { wallet: authMultiversXWallet });
|
|
131
|
-
// const testWallet =
|
|
132
|
-
// 'erd138hdrk39plv3afyv0x3fcsknfu9hkdj9xu7u0mpdqmjpvt5avc7s72unc8';
|
|
133
|
-
// return <Audit wallet={testWallet} />;
|
|
134
|
-
};
|
|
135
|
-
exports.MultiversXAudit = MultiversXAudit;
|
|
136
|
-
var templateObject_1;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
3
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
4
|
-
if (ar || !(i in from)) {
|
|
5
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
6
|
-
ar[i] = from[i];
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
10
|
-
};
|
|
11
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
-
};
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.ProfileTabs = void 0;
|
|
16
|
-
var react_1 = __importDefault(require("react"));
|
|
17
|
-
var router_1 = require("next/router");
|
|
18
|
-
var linkTabs_1 = __importDefault(require("@/components/linkTabs"));
|
|
19
|
-
var linkTab_1 = __importDefault(require("@/components/linkTabs/linkTab"));
|
|
20
|
-
var env_1 = require("@/utils/env");
|
|
21
|
-
var ProfileTabs = function (_a) {
|
|
22
|
-
var _b = _a.totalResults, totalResults = _b === void 0 ? null : _b, profileId = _a.profileId, style = _a.style, isMobile = _a.isMobile;
|
|
23
|
-
var router = (0, router_1.useRouter)();
|
|
24
|
-
return (react_1.default.createElement(linkTabs_1.default, { isUnderlined: true, style: style }, __spreadArray([
|
|
25
|
-
{
|
|
26
|
-
link: "/profile/".concat(profileId, "/nfts"),
|
|
27
|
-
text: 'NFTs',
|
|
28
|
-
}
|
|
29
|
-
], ((0, env_1.isProd)({ ENV: isProdENV })
|
|
30
|
-
? []
|
|
31
|
-
: [
|
|
32
|
-
{
|
|
33
|
-
link: "/profile/".concat(profileId, "/galleries"),
|
|
34
|
-
text: 'Galleries',
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
link: "/profile/".concat(profileId, "/favorite-lists"),
|
|
38
|
-
text: isMobile ? 'Fav.Lists' : 'Favorite Lists',
|
|
39
|
-
},
|
|
40
|
-
]), true).map(function (_a) {
|
|
41
|
-
var link = _a.link, text = _a.text;
|
|
42
|
-
var isActive = router.asPath.includes(link);
|
|
43
|
-
return (react_1.default.createElement(linkTab_1.default, { key: link, link: link, isActive: isActive, countItems: isActive ? totalResults : null, text: text }));
|
|
44
|
-
})));
|
|
45
|
-
};
|
|
46
|
-
exports.ProfileTabs = ProfileTabs;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { identitySchema as schema } from '@ludo.ninja/api';
|
|
3
|
-
type ProfileAboutTextProps = Pick<schema.IProfile, 'username' | 'about' | 'following' | 'wallets' | 'followers' | 'followings' | 'social'>;
|
|
4
|
-
export declare const ProfileAboutText: ({ username, about, following, wallets, followers, followings, social, }: ProfileAboutTextProps) => React.JSX.Element;
|
|
5
|
-
export {};
|
|
@@ -1,105 +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.ProfileAboutText = void 0;
|
|
34
|
-
var react_1 = __importStar(require("react"));
|
|
35
|
-
var router_1 = require("next/router");
|
|
36
|
-
var react_hyphen_1 = __importDefault(require("react-hyphen"));
|
|
37
|
-
var styled_components_1 = __importDefault(require("styled-components"));
|
|
38
|
-
var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
39
|
-
var utils_1 = require("@ludo.ninja/utils");
|
|
40
|
-
var modules_1 = require("@ludo.ninja/components/dist/modules");
|
|
41
|
-
var store_1 = require("@ludo.ninja/components/dist/store");
|
|
42
|
-
var useFollowProfile_1 = __importDefault(require("@/api/server-identities/mutations/useFollowProfile"));
|
|
43
|
-
var useUnfollowProfile_1 = __importDefault(require("@/api/server-identities/mutations/useUnfollowProfile"));
|
|
44
|
-
var styles_1 = require("@ludo.ninja/components/dist/styles");
|
|
45
|
-
var system_1 = require("@ludo.ninja/components/dist/system");
|
|
46
|
-
var followersSocial_1 = require("@/components/profile/followersSocial");
|
|
47
|
-
var shareDialog_1 = __importDefault(require("@/components/shareDialog"));
|
|
48
|
-
var utils_2 = require("@ludo.ninja/components/dist/utils");
|
|
49
|
-
var fonts_1 = require("@ludo.ninja/components/dist/fonts");
|
|
50
|
-
var share_svg_1 = __importDefault(require("@/public/iconButton/share.svg"));
|
|
51
|
-
var StyledProfileAboutText = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n max-width: 640px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n word-wrap: break-word;\n margin-left: 32px;\n\n .name {\n ", ";\n color: ", ";\n margin-bottom: 0;\n line-height: 1.75em;\n }\n\n .descr {\n font-family: ", ";\n ", ";\n color: ", ";\n word-wrap: break-word;\n }\n\n .wallet {\n ", ";\n color: ", ";\n }\n\n .isActive {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n overflow: hidden;\n max-height: 3em;\n white-space: normal;\n }\n\n .readMore {\n ", ";\n color: ", ";\n margin-top: 4px;\n display: block;\n user-select: none;\n cursor: pointer;\n }\n\n .shareEdit {\n margin-top: 20px;\n display: flex;\n align-items: center;\n\n .editBtnOrShare {\n margin-right: 24px;\n }\n }\n\n ", " {\n margin-right: 0;\n margin-left: 0;\n margin-bottom: 0;\n max-width: 516px;\n\n .name {\n ", ";\n line-height: 1.335em;\n margin-bottom: 8px;\n }\n\n .descr {\n font-size: 1.4em;\n margin-top: 4px;\n }\n\n .shareEdit {\n margin-top: 24px;\n }\n }\n\n @media (min-width: 600px) and (max-width: 767px) {\n max-width: 368px;\n }\n\n ", " {\n max-width: ", ";\n margin-left: ", ";\n\n .name {\n font-size: ", ";\n line-height: ", ";\n }\n\n .descr {\n font-size: ", ";\n line-height: ", ";\n }\n\n .wallet {\n font-size: ", ";\n line-height: ", ";\n }\n\n .isActive {\n max-height: ", ";\n }\n\n .readMore {\n font-size: ", ";\n line-height: ", ";\n margin-top: ", ";\n }\n\n .shareEdit {\n margin-top: ", ";\n\n .editBtnOrShare {\n margin-right: ", ";\n }\n }\n }\n"], ["\n max-width: 640px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n word-wrap: break-word;\n margin-left: 32px;\n\n .name {\n ", ";\n color: ", ";\n margin-bottom: 0;\n line-height: 1.75em;\n }\n\n .descr {\n font-family: ", ";\n ", ";\n color: ", ";\n word-wrap: break-word;\n }\n\n .wallet {\n ", ";\n color: ", ";\n }\n\n .isActive {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n overflow: hidden;\n max-height: 3em;\n white-space: normal;\n }\n\n .readMore {\n ", ";\n color: ", ";\n margin-top: 4px;\n display: block;\n user-select: none;\n cursor: pointer;\n }\n\n .shareEdit {\n margin-top: 20px;\n display: flex;\n align-items: center;\n\n .editBtnOrShare {\n margin-right: 24px;\n }\n }\n\n ", " {\n margin-right: 0;\n margin-left: 0;\n margin-bottom: 0;\n max-width: 516px;\n\n .name {\n ", ";\n line-height: 1.335em;\n margin-bottom: 8px;\n }\n\n .descr {\n font-size: 1.4em;\n margin-top: 4px;\n }\n\n .shareEdit {\n margin-top: 24px;\n }\n }\n\n @media (min-width: 600px) and (max-width: 767px) {\n max-width: 368px;\n }\n\n ", " {\n max-width: ", ";\n margin-left: ", ";\n\n .name {\n font-size: ", ";\n line-height: ", ";\n }\n\n .descr {\n font-size: ", ";\n line-height: ", ";\n }\n\n .wallet {\n font-size: ", ";\n line-height: ", ";\n }\n\n .isActive {\n max-height: ", ";\n }\n\n .readMore {\n font-size: ", ";\n line-height: ", ";\n margin-top: ", ";\n }\n\n .shareEdit {\n margin-top: ", ";\n\n .editBtnOrShare {\n margin-right: ", ";\n }\n }\n }\n"])), styles_1.FH1, styles_1.BlackColor, fonts_1.dmsansFontVarCss.css, system_1.MainText, styles_1.TextGrayColor, styles_1.FH5, styles_1.AccentColor, styles_1.FH6, styles_1.AccentColor, styles_1.mediaQuery.mobile, styles_1.FH3, styles_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(640), (0, _4k_1.adaptiveValueCalc)(32), (0, _4k_1.adaptiveValueCalc)(24), (0, _4k_1.adaptiveValueCalc)(36), (0, _4k_1.adaptiveValueCalc)(15), (0, _4k_1.adaptiveValueCalc)(22), (0, _4k_1.adaptiveValueCalc)(15), (0, _4k_1.adaptiveValueCalc)(22), (0, _4k_1.adaptiveValueCalc)(44), (0, _4k_1.adaptiveValueCalc)(12), (0, _4k_1.adaptiveValueCalc)(16), (0, _4k_1.adaptiveValueCalc)(4), (0, _4k_1.adaptiveValueCalc)(20), (0, _4k_1.adaptiveValueCalc)(24));
|
|
52
|
-
var maxStringLenght = 177;
|
|
53
|
-
var ProfileAboutText = function (_a) {
|
|
54
|
-
var _b;
|
|
55
|
-
var username = _a.username, about = _a.about, following = _a.following, wallets = _a.wallets, followers = _a.followers, followings = _a.followings, social = _a.social;
|
|
56
|
-
var isSignedIn = (0, modules_1.useUserStore)(function (state) { return state.isSignedIn; });
|
|
57
|
-
var getUser = (0, modules_1.useUserStore)(function (state) { return state.user; });
|
|
58
|
-
var _c = (0, store_1.useUiStore)(function (state) { return ({
|
|
59
|
-
openModal: state.openModal,
|
|
60
|
-
closeModal: state.closeModal,
|
|
61
|
-
}); }), openModal = _c.openModal, closeModal = _c.closeModal;
|
|
62
|
-
var _d = (0, react_1.useState)(false), isNeedReadMore = _d[0], setNeedReadMore = _d[1];
|
|
63
|
-
var _e = (0, react_1.useState)(following), isFollowing = _e[0], setIsFollowing = _e[1];
|
|
64
|
-
var url = typeof window !== 'undefined' ? window.location.href : null;
|
|
65
|
-
var router = (0, router_1.useRouter)();
|
|
66
|
-
var profileId = router.query.profileId;
|
|
67
|
-
var userWallet = profileId === (getUser === null || getUser === void 0 ? void 0 : getUser.userId)
|
|
68
|
-
? getUser === null || getUser === void 0 ? void 0 : getUser.wallets[0]
|
|
69
|
-
: wallets && ((_b = wallets[0]) === null || _b === void 0 ? void 0 : _b.address);
|
|
70
|
-
var isUserNameShouldShow = username && username.length >= 1 && username.length <= 30;
|
|
71
|
-
var followProfile = (0, useFollowProfile_1.default)(profileId).followProfile;
|
|
72
|
-
var unfollowProfile = (0, useUnfollowProfile_1.default)(profileId).unfollowProfile;
|
|
73
|
-
var onContentChanged = (0, react_1.useCallback)(function () {
|
|
74
|
-
isFollowing ? unfollowProfile() : followProfile();
|
|
75
|
-
setIsFollowing(!isFollowing);
|
|
76
|
-
}, [isFollowing]);
|
|
77
|
-
var handleReadMore = function () { return setNeedReadMore(function (p) { return !p; }); };
|
|
78
|
-
(0, react_1.useEffect)(function () {
|
|
79
|
-
if (about && about.length > maxStringLenght) {
|
|
80
|
-
setNeedReadMore(true);
|
|
81
|
-
}
|
|
82
|
-
}, [about]);
|
|
83
|
-
var handleRedirectToProfileSettings = function () {
|
|
84
|
-
router.push("/account/profile/settings/".concat(profileId));
|
|
85
|
-
};
|
|
86
|
-
var windowDimensions = (0, utils_2.useWindowDimensionsWithServerInitial)().windowDimensions;
|
|
87
|
-
return (react_1.default.createElement(StyledProfileAboutText, null,
|
|
88
|
-
isUserNameShouldShow && react_1.default.createElement("h3", { className: 'name' }, username),
|
|
89
|
-
userWallet && (react_1.default.createElement(utils_2.CopyButton, { value: userWallet },
|
|
90
|
-
react_1.default.createElement("p", { className: "wallet" }, (0, utils_1.shortenedText)(userWallet)))),
|
|
91
|
-
react_1.default.createElement(followersSocial_1.ProfileFollowersSocial, { followings: followings, followers: followers, social: social }),
|
|
92
|
-
about && (react_1.default.createElement(react_hyphen_1.default, null,
|
|
93
|
-
react_1.default.createElement("p", { className: "descr ".concat(isNeedReadMore && 'isActive') }, about))),
|
|
94
|
-
isNeedReadMore && (react_1.default.createElement("span", { className: 'readMore', onClick: handleReadMore }, "Read more")),
|
|
95
|
-
react_1.default.createElement("div", { className: "shareEdit" },
|
|
96
|
-
isSignedIn && (react_1.default.createElement("div", { className: "editBtnOrShare" },
|
|
97
|
-
profileId !== (getUser === null || getUser === void 0 ? void 0 : getUser.userId) && (react_1.default.createElement(system_1.MainButton, { text: isFollowing ? 'Unfollow' : 'FOLLOW', variant: isFollowing ? 'secondary' : 'primaryM', onClick: onContentChanged })),
|
|
98
|
-
profileId === (getUser === null || getUser === void 0 ? void 0 : getUser.userId) && (react_1.default.createElement(system_1.MainButton, { text: 'Edit profile', variant: "outline", onClick: handleRedirectToProfileSettings })))),
|
|
99
|
-
react_1.default.createElement("div", { className: "shareBtn" },
|
|
100
|
-
react_1.default.createElement(system_1.IconButton, { onClick: function () {
|
|
101
|
-
return openModal(react_1.default.createElement(shareDialog_1.default, { link: url, onHide: closeModal }));
|
|
102
|
-
}, icon: react_1.default.createElement(share_svg_1.default, { style: (0, utils_2.getAdaptiveScale)({ windowDimensions: windowDimensions, currentSize: 1 }) }) })))));
|
|
103
|
-
};
|
|
104
|
-
exports.ProfileAboutText = ProfileAboutText;
|
|
105
|
-
var templateObject_1;
|
|
@@ -1,42 +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 __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
-
};
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
var react_1 = __importDefault(require("react"));
|
|
11
|
-
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
-
var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
13
|
-
var useToGalleryAsset_1 = require("@ludo.ninja/components/dist/hooks/useToGalleryAsset");
|
|
14
|
-
var styles_1 = require("@ludo.ninja/components/dist/styles");
|
|
15
|
-
var system_1 = require("@ludo.ninja/components/dist/system");
|
|
16
|
-
var utils_1 = require("@ludo.ninja/components/dist/utils");
|
|
17
|
-
var plus_svg_1 = __importDefault(require("@/public/wallets/plus.svg"));
|
|
18
|
-
// Styles
|
|
19
|
-
var StyledProfileAddToGalleryBtns = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: fixed;\n left: 50%;\n transform: translateX(-50%);\n z-index: 100;\n bottom: 32px;\n background: ", ";\n width: 300px;\n height: 55px;\n box-shadow: 0 4px 20px rgba(33, 21, 95, 0.1);\n border-radius: 30px;\n padding: 8px;\n\n .addToGalleryBtns {\n display: flex;\n height: 100%;\n width: 100%;\n\n button:first-child {\n margin-right: 12px;\n width: 160px;\n height: 40px;\n padding: 0;\n }\n\n button:last-child {\n width: 112px;\n height: 40px;\n }\n }\n\n .organizeBtn {\n display: flex;\n height: 100%;\n width: 100%;\n\n button {\n width: 100%;\n }\n }\n\n .icon {\n path {\n stroke: ", ";\n }\n\n margin-right: 5px;\n }\n\n ", " {\n bottom: ", ";\n width: ", ";\n height: ", ";\n box-shadow: 0 ", " ", "\n rgba(33, 21, 95, 0.1);\n border-radius: ", ";\n padding: ", ";\n\n .addToGalleryBtns {\n button:first-child {\n margin-right: ", ";\n width: ", ";\n height: ", ";\n }\n\n button:last-child {\n width: ", ";\n height: ", ";\n }\n }\n\n .icon {\n margin-right: ", ";\n }\n }\n"], ["\n position: fixed;\n left: 50%;\n transform: translateX(-50%);\n z-index: 100;\n bottom: 32px;\n background: ", ";\n width: 300px;\n height: 55px;\n box-shadow: 0 4px 20px rgba(33, 21, 95, 0.1);\n border-radius: 30px;\n padding: 8px;\n\n .addToGalleryBtns {\n display: flex;\n height: 100%;\n width: 100%;\n\n button:first-child {\n margin-right: 12px;\n width: 160px;\n height: 40px;\n padding: 0;\n }\n\n button:last-child {\n width: 112px;\n height: 40px;\n }\n }\n\n .organizeBtn {\n display: flex;\n height: 100%;\n width: 100%;\n\n button {\n width: 100%;\n }\n }\n\n .icon {\n path {\n stroke: ", ";\n }\n\n margin-right: 5px;\n }\n\n ", " {\n bottom: ", ";\n width: ", ";\n height: ", ";\n box-shadow: 0 ", " ", "\n rgba(33, 21, 95, 0.1);\n border-radius: ", ";\n padding: ", ";\n\n .addToGalleryBtns {\n button:first-child {\n margin-right: ", ";\n width: ", ";\n height: ", ";\n }\n\n button:last-child {\n width: ", ";\n height: ", ";\n }\n }\n\n .icon {\n margin-right: ", ";\n }\n }\n"])), styles_1.WhiteColor, styles_1.WhiteColor, styles_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(32), (0, _4k_1.adaptiveValueCalc)(300), (0, _4k_1.adaptiveValueCalc)(55), (0, _4k_1.adaptiveValueCalc)(4), (0, _4k_1.adaptiveValueCalc)(20), (0, _4k_1.adaptiveValueCalc)(30), (0, _4k_1.adaptiveValueCalc)(8), (0, _4k_1.adaptiveValueCalc)(12), (0, _4k_1.adaptiveValueCalc)(160), (0, _4k_1.adaptiveValueCalc)(40), (0, _4k_1.adaptiveValueCalc)(112), (0, _4k_1.adaptiveValueCalc)(40), (0, _4k_1.adaptiveValueCalc)(5));
|
|
20
|
-
// Component
|
|
21
|
-
var PlusIconResize = function () {
|
|
22
|
-
var windowDimensions = (0, utils_1.useWindowDimensionsWithServerInitial)().windowDimensions;
|
|
23
|
-
return (react_1.default.createElement(plus_svg_1.default, { className: 'icon', style: (0, utils_1.getAdaptiveScale)({ windowDimensions: windowDimensions, currentSize: 1 }) }));
|
|
24
|
-
};
|
|
25
|
-
var ProfileAddToGalleryBtns = function (_a) {
|
|
26
|
-
var addMethod = _a.addMethod;
|
|
27
|
-
var _b = (0, useToGalleryAsset_1.useToGalleryStore)(function (state) { return ({
|
|
28
|
-
resetCreationsInGallery: state.resetCreationsInGallery,
|
|
29
|
-
creationsToGallery: state.creationsToGallery,
|
|
30
|
-
isActiveGalleryMode: state.isActiveGalleryMode,
|
|
31
|
-
}); }), resetCreationsInGallery = _b.resetCreationsInGallery, creationsToGallery = _b.creationsToGallery, isActiveGalleryMode = _b.isActiveGalleryMode;
|
|
32
|
-
if (!isActiveGalleryMode)
|
|
33
|
-
return null;
|
|
34
|
-
return (react_1.default.createElement(StyledProfileAddToGalleryBtns, null,
|
|
35
|
-
react_1.default.createElement("div", { className: "addToGalleryBtns" },
|
|
36
|
-
react_1.default.createElement(system_1.IconWithButton, { variant: 'regular', text: 'Add to Gallery', onClick: addMethod, disabled: !creationsToGallery.length, isDisableSkeleton: true },
|
|
37
|
-
react_1.default.createElement(PlusIconResize, null)),
|
|
38
|
-
react_1.default.createElement(system_1.MainButton, { onClick: resetCreationsInGallery, variant: "float", text: 'Cancel' }))));
|
|
39
|
-
};
|
|
40
|
-
// Export
|
|
41
|
-
exports.default = ProfileAddToGalleryBtns;
|
|
42
|
-
var templateObject_1;
|
|
@@ -1,28 +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 __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
-
};
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.ProfileFollowers = void 0;
|
|
11
|
-
var react_1 = __importDefault(require("react"));
|
|
12
|
-
var styled_components_1 = __importDefault(require("styled-components"));
|
|
13
|
-
var colors_1 = require("@/styles/colors");
|
|
14
|
-
var _system_1 = require("@system");
|
|
15
|
-
var vars_1 = require("@/fonts/vars");
|
|
16
|
-
// Styles
|
|
17
|
-
var StyledProfileFollowers = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n\n &:after {\n content: '\u2022';\n color: ", ";\n font-size: 12px;\n font-weight: 500;\n margin: 0 8px;\n line-height: 16px;\n }\n"], ["\n display: flex;\n align-items: center;\n\n &:after {\n content: '\u2022';\n color: ", ";\n font-size: 12px;\n font-weight: 500;\n margin: 0 8px;\n line-height: 16px;\n }\n"])), colors_1.TextGrayColor);
|
|
18
|
-
var StyledProfileFollowersCounter = (0, styled_components_1.default)(_system_1.H5)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n font-family: ", ";\n color: ", ";\n text-transform: uppercase;\n font-weight: 700;\n"], ["\n font-family: ", ";\n color: ", ";\n text-transform: uppercase;\n font-weight: 700;\n"])), vars_1.dmsansFontVarCss.css, colors_1.BlackColor);
|
|
19
|
-
var StyledProfileFollowersCaption = (0, styled_components_1.default)(_system_1.H5)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n font-family: ", ";\n color: ", ";\n margin-left: 8px;\n text-transform: uppercase;\n"], ["\n font-family: ", ";\n color: ", ";\n margin-left: 8px;\n text-transform: uppercase;\n"])), vars_1.dmsansFontVarCss.css, colors_1.TextGrayColor);
|
|
20
|
-
// Components
|
|
21
|
-
var ProfileFollowers = function (_a) {
|
|
22
|
-
var counter = _a.counter, text = _a.text;
|
|
23
|
-
return (react_1.default.createElement(StyledProfileFollowers, null,
|
|
24
|
-
react_1.default.createElement(StyledProfileFollowersCounter, null, counter),
|
|
25
|
-
react_1.default.createElement(StyledProfileFollowersCaption, null, text)));
|
|
26
|
-
};
|
|
27
|
-
exports.ProfileFollowers = ProfileFollowers;
|
|
28
|
-
var templateObject_1, templateObject_2, templateObject_3;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { identitySchema as schema } from '@ludo.ninja/api';
|
|
3
|
-
type ProfileFollowersSocialProps = Pick<schema.IProfile, 'followers' | 'followings' | 'social'>;
|
|
4
|
-
export declare const ProfileFollowersSocial: ({ followers, followings, social, }: ProfileFollowersSocialProps) => React.JSX.Element;
|
|
5
|
-
export {};
|
|
@@ -1,28 +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 __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
-
};
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.ProfileFollowersSocial = void 0;
|
|
11
|
-
var react_1 = __importDefault(require("react"));
|
|
12
|
-
var styled_components_1 = __importDefault(require("styled-components"));
|
|
13
|
-
var followers_1 = require("@/components/profile/followersSocial/followers");
|
|
14
|
-
var social_1 = require("@/components/profile/followersSocial/social");
|
|
15
|
-
// Styles
|
|
16
|
-
var StyledProfileFollowersSocial = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n margin: 6px 0 16px 0;\n"], ["\n display: flex;\n align-items: center;\n margin: 6px 0 16px 0;\n"])));
|
|
17
|
-
// Components
|
|
18
|
-
var ProfileFollowersSocial = function (_a) {
|
|
19
|
-
var followers = _a.followers, followings = _a.followings, social = _a.social;
|
|
20
|
-
return (react_1.default.createElement(StyledProfileFollowersSocial, null,
|
|
21
|
-
(followers && (react_1.default.createElement(followers_1.ProfileFollowers, { text: 'FOLLOWERS', counter: followers }))) ||
|
|
22
|
-
null,
|
|
23
|
-
(followings && (react_1.default.createElement(followers_1.ProfileFollowers, { text: 'FOLLOWING', counter: followings }))) ||
|
|
24
|
-
null,
|
|
25
|
-
react_1.default.createElement(social_1.ProfileSocial, { social: social })));
|
|
26
|
-
};
|
|
27
|
-
exports.ProfileFollowersSocial = ProfileFollowersSocial;
|
|
28
|
-
var templateObject_1;
|
|
@@ -1,40 +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 __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
-
};
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.ProfileSocial = void 0;
|
|
11
|
-
var react_1 = __importDefault(require("react"));
|
|
12
|
-
var image_1 = __importDefault(require("next/image"));
|
|
13
|
-
var styled_components_1 = __importDefault(require("styled-components"));
|
|
14
|
-
// Styles
|
|
15
|
-
var StyledProfileSocialItem = styled_components_1.default.a(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: block;\n width: 20px;\n height: 20px;\n margin-right: 7px;\n transition: all 0.2s;\n transform: scale(1);\n will-change: transform;\n\n &:last-child {\n margin-right: 0;\n }\n\n :hover img {\n transform: scale(1.3);\n transition: all 0.2s;\n }\n"], ["\n display: block;\n width: 20px;\n height: 20px;\n margin-right: 7px;\n transition: all 0.2s;\n transform: scale(1);\n will-change: transform;\n\n &:last-child {\n margin-right: 0;\n }\n\n :hover img {\n transform: scale(1.3);\n transition: all 0.2s;\n }\n"])));
|
|
16
|
-
// Components
|
|
17
|
-
var ProfileSocial = function (_a) {
|
|
18
|
-
var social = _a.social;
|
|
19
|
-
var socialIcon = function (icon, type) {
|
|
20
|
-
var websiteLink = type === 'website'
|
|
21
|
-
? (icon === null || icon === void 0 ? void 0 : icon.includes('http'))
|
|
22
|
-
? icon
|
|
23
|
-
: "https://".concat(icon)
|
|
24
|
-
: icon;
|
|
25
|
-
if (icon) {
|
|
26
|
-
return (react_1.default.createElement(StyledProfileSocialItem, { className: 'profileStatsSocialItem', target: '_blank', rel: "noreferrer", href: websiteLink },
|
|
27
|
-
react_1.default.createElement(image_1.default, { src: "/socials/".concat([type], ".svg"), width: 20, title: type, height: 20, alt: icon })));
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
var isSocialNullish = Object.values(social).every(function (value) { return value === null; });
|
|
31
|
-
if (!isSocialNullish && !(social === null || social === void 0 ? void 0 : social.website))
|
|
32
|
-
return null;
|
|
33
|
-
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
34
|
-
socialIcon(social === null || social === void 0 ? void 0 : social.facebook, 'facebook'),
|
|
35
|
-
socialIcon(social === null || social === void 0 ? void 0 : social.instagram, 'instagram'),
|
|
36
|
-
socialIcon(social === null || social === void 0 ? void 0 : social.website, 'website'),
|
|
37
|
-
socialIcon(social === null || social === void 0 ? void 0 : social.twitter, 'twitter')));
|
|
38
|
-
};
|
|
39
|
-
exports.ProfileSocial = ProfileSocial;
|
|
40
|
-
var templateObject_1;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ProfileSkeleton } from '@ludo.ninja/components/dist/components/profile/profileSkeleton';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ProfileSkeleton = void 0;
|
|
4
|
-
var profileSkeleton_1 = require("@ludo.ninja/components/dist/components/profile/profileSkeleton");
|
|
5
|
-
Object.defineProperty(exports, "ProfileSkeleton", { enumerable: true, get: function () { return profileSkeleton_1.ProfileSkeleton; } });
|
|
@@ -1,43 +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 __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
|
-
};
|
|
9
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.ProfileInfo = void 0;
|
|
11
|
-
var react_1 = __importDefault(require("react"));
|
|
12
|
-
var styled_components_1 = __importDefault(require("styled-components"));
|
|
13
|
-
var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
14
|
-
var styles_1 = require("@ludo.ninja/components/dist/styles");
|
|
15
|
-
var profile_1 = require("@/components/profile");
|
|
16
|
-
var _system_1 = require("@system");
|
|
17
|
-
var env_1 = require("@/utils/env");
|
|
18
|
-
var screen_1 = require("@/utils/screen");
|
|
19
|
-
// Styles
|
|
20
|
-
var StyledProfileInfo = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n margin-bottom: 29px;\n\n ", " {\n margin-bottom: ", ";\n }\n\n ", " {\n flex-direction: column;\n margin-bottom: 0;\n }\n\n .profileImgWithDescription {\n display: flex;\n width: 69.67%;\n margin-right: 44px;\n\n .profileImage {\n a {\n pointer-events: none;\n }\n }\n\n ", " {\n flex-direction: column;\n width: 100%;\n margin-right: 0;\n\n .profileImage img {\n width: 64px;\n height: 64px;\n margin-right: 0;\n margin-bottom: 12px;\n }\n }\n\n ", " {\n margin-right: ", ";\n\n .profileImage img {\n width: ", ";\n height: ", ";\n }\n }\n }\n"], ["\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n margin-bottom: 29px;\n\n ", " {\n margin-bottom: ", ";\n }\n\n ", " {\n flex-direction: column;\n margin-bottom: 0;\n }\n\n .profileImgWithDescription {\n display: flex;\n width: 69.67%;\n margin-right: 44px;\n\n .profileImage {\n a {\n pointer-events: none;\n }\n }\n\n ", " {\n flex-direction: column;\n width: 100%;\n margin-right: 0;\n\n .profileImage img {\n width: 64px;\n height: 64px;\n margin-right: 0;\n margin-bottom: 12px;\n }\n }\n\n ", " {\n margin-right: ", ";\n\n .profileImage img {\n width: ", ";\n height: ", ";\n }\n }\n }\n"])), styles_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(29), styles_1.mediaQuery.mobile, styles_1.mediaQuery.mobile, styles_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(44), (0, _4k_1.adaptiveValueCalc)(120), (0, _4k_1.adaptiveValueCalc)(120));
|
|
21
|
-
// Components
|
|
22
|
-
var ProfileInfo = function (_a) {
|
|
23
|
-
var profile = _a.profile;
|
|
24
|
-
var windowDimensions = (0, screen_1.useWindowDimensionsWithServerInitial)().windowDimensions;
|
|
25
|
-
var getProfileImgSize = function () {
|
|
26
|
-
if (!windowDimensions)
|
|
27
|
-
return 120;
|
|
28
|
-
if (windowDimensions.windowWidth <= styles_1.ScreenWidth.MOBILE)
|
|
29
|
-
return 64;
|
|
30
|
-
return 120;
|
|
31
|
-
};
|
|
32
|
-
var size = getProfileImgSize();
|
|
33
|
-
return (react_1.default.createElement(StyledProfileInfo, null,
|
|
34
|
-
react_1.default.createElement("div", { className: 'profileImgWithDescription' },
|
|
35
|
-
react_1.default.createElement("div", { className: 'profileImage' },
|
|
36
|
-
react_1.default.createElement(_system_1.ProfilePic, { userPicSrc: profile.getUserPic({
|
|
37
|
-
mediaDomain: (0, env_1.getMediaENVDomain)(),
|
|
38
|
-
}), size: size })),
|
|
39
|
-
react_1.default.createElement(profile_1.ProfileAboutText, { username: profile.getName(), about: profile.getAbout(), following: profile === null || profile === void 0 ? void 0 : profile.getIsFollowing(), followings: profile.getFollowings(), followers: profile.getFollowers(), wallets: profile.getWallets(), social: [] })),
|
|
40
|
-
react_1.default.createElement(profile_1.ProfileStats, { rank: profile.getUserRank() })));
|
|
41
|
-
};
|
|
42
|
-
exports.ProfileInfo = ProfileInfo;
|
|
43
|
-
var templateObject_1;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
var colors_1 = require("@/styles/colors");
|
|
4
|
-
var colors = [
|
|
5
|
-
{
|
|
6
|
-
id: Math.random(),
|
|
7
|
-
colorLabel: colors_1.AccentColor,
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
id: Math.random(),
|
|
11
|
-
colorLabel: '#739BFF',
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
id: Math.random(),
|
|
15
|
-
colorLabel: '#76CBFB',
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
id: Math.random(),
|
|
19
|
-
colorLabel: '#9CE8A8',
|
|
20
|
-
},
|
|
21
|
-
];
|
|
22
|
-
exports.default = colors;
|