@ludo.ninja/components 1.5.8 → 1.6.0
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/dist/components/CreationCard/CardHead.d.ts +15 -0
- package/dist/components/CreationCard/CardHead.jsx +129 -0
- package/dist/components/CreationCard/index.d.ts +30 -0
- package/dist/components/CreationCard/index.jsx +70 -0
- package/dist/components/addWalletsRedirectPage/index.d.ts +5 -0
- package/dist/components/addWalletsRedirectPage/index.jsx +40 -0
- package/dist/components/assetJSONLD.d.ts +1 -0
- package/dist/components/assetJSONLD.jsx +27 -0
- package/dist/components/banner/index.d.ts +3 -0
- package/dist/components/banner/index.jsx +49 -0
- package/dist/components/base/Meta/index.d.ts +3 -0
- package/dist/components/base/Meta/index.jsx +59 -0
- package/dist/components/base/NoSSR/index.d.ts +5 -0
- package/dist/components/base/NoSSR/index.jsx +5 -0
- package/dist/components/collectionPage/collectionLike/index.d.ts +7 -0
- package/dist/components/collectionPage/collectionLike/index.jsx +40 -0
- package/dist/components/deleteDialog/index.d.ts +8 -0
- package/dist/components/deleteDialog/index.jsx +111 -0
- package/dist/components/editProfile/Cropper/index.d.ts +21 -0
- package/dist/components/editProfile/Cropper/index.jsx +88 -0
- package/dist/components/editProfile/UserPicProfile/index.d.ts +5 -0
- package/dist/components/editProfile/UserPicProfile/index.jsx +254 -0
- package/dist/components/favoriteList/add/addAssetToFavoriteList/index.d.ts +6 -0
- package/dist/components/favoriteList/add/addAssetToFavoriteList/index.jsx +68 -0
- package/dist/components/favoriteList/add/addCollectionToFavoriteList/index.d.ts +6 -0
- package/dist/components/favoriteList/add/addCollectionToFavoriteList/index.jsx +66 -0
- package/dist/components/favoriteList/add/addCreationToFavoriteList/index.d.ts +7 -0
- package/dist/components/favoriteList/add/addCreationToFavoriteList/index.jsx +68 -0
- package/dist/components/filters/applyResetBtns/index.d.ts +6 -0
- package/dist/components/filters/applyResetBtns/index.jsx +26 -0
- package/dist/components/filters/galleriesFiltersForm/index.d.ts +11 -0
- package/dist/components/filters/galleriesFiltersForm/index.jsx +71 -0
- package/dist/components/filters/index.d.ts +12 -0
- package/dist/components/filters/index.jsx +92 -0
- package/dist/components/filters/mobileFilters/index.d.ts +5 -0
- package/dist/components/filters/mobileFilters/index.jsx +16 -0
- package/dist/components/filters/setsFiltersForm/index.d.ts +10 -0
- package/dist/components/filters/setsFiltersForm/index.jsx +61 -0
- package/dist/components/forms/form/index.d.ts +14 -0
- package/dist/components/forms/form/index.jsx +118 -0
- package/dist/components/forms/formsNavigation/index.d.ts +3 -0
- package/dist/components/forms/formsNavigation/index.jsx +54 -0
- package/dist/components/forms/formsTemplate/index.d.ts +14 -0
- package/dist/components/forms/formsTemplate/index.jsx +747 -0
- package/dist/components/forms/types/index.d.ts +32 -0
- package/dist/components/forms/types/index.js +10 -0
- package/dist/components/gallery/add/addAssetToGallery/index.d.ts +6 -0
- package/dist/components/gallery/add/addAssetToGallery/index.jsx +68 -0
- package/dist/components/gallery/add/addCreationToGallery/index.d.ts +3 -0
- package/dist/components/gallery/add/addCreationToGallery/index.jsx +87 -0
- package/dist/components/gradientLabel/index.d.ts +3 -0
- package/dist/components/gradientLabel/index.jsx +19 -0
- package/dist/components/headers/components/headerExperienceLabel/index.d.ts +5 -0
- package/dist/components/headers/components/headerExperienceLabel/index.jsx +28 -0
- package/dist/components/headers/components/headerUserPic/index.d.ts +5 -0
- package/dist/components/headers/components/headerUserPic/index.jsx +23 -0
- package/dist/components/headers/header/index.d.ts +3 -0
- package/dist/components/headers/header/index.jsx +27 -0
- package/dist/components/headers/headerSearch/index.d.ts +5 -0
- package/dist/components/headers/headerSearch/index.jsx +35 -0
- package/dist/components/headers/headerSimple/index.d.ts +3 -0
- package/dist/components/headers/headerSimple/index.jsx +30 -0
- package/dist/components/index.js +1 -0
- package/dist/components/inviteCodesForms/getEarlyAccessForm/index.d.ts +3 -0
- package/dist/components/inviteCodesForms/getEarlyAccessForm/index.jsx +186 -0
- package/dist/components/inviteCodesForms/joinWaitListForm/index.d.ts +3 -0
- package/dist/components/inviteCodesForms/joinWaitListForm/index.jsx +132 -0
- package/dist/components/inviteCodesForms/styles/index.d.ts +6 -0
- package/dist/components/inviteCodesForms/styles/index.js +12 -0
- package/dist/components/inviteCodesPage/components/index.d.ts +5 -0
- package/dist/components/inviteCodesPage/components/index.jsx +5 -0
- package/dist/components/inviteCodesPage/components/inviteCodes/index.d.ts +6 -0
- package/dist/components/inviteCodesPage/components/inviteCodes/index.jsx +19 -0
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCode/index.d.ts +7 -0
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCode/index.jsx +26 -0
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCode/loader/index.d.ts +3 -0
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCode/loader/index.jsx +22 -0
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/index.d.ts +7 -0
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/index.jsx +23 -0
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/loader/index.d.ts +3 -0
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/loader/index.jsx +16 -0
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCopy/index.d.ts +6 -0
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCopy/index.jsx +27 -0
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeDate/index.d.ts +5 -0
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeDate/index.jsx +20 -0
- package/dist/components/inviteCodesPage/wrappers/index.d.ts +4 -0
- package/dist/components/inviteCodesPage/wrappers/index.jsx +4 -0
- package/dist/components/inviteCodesPage/wrappers/resumeCodes/index.d.ts +8 -0
- package/dist/components/inviteCodesPage/wrappers/resumeCodes/index.jsx +59 -0
- package/dist/components/inviteCodesPage/wrappers/resumeCodes/loader/index.d.ts +3 -0
- package/dist/components/inviteCodesPage/wrappers/resumeCodes/loader/index.jsx +13 -0
- package/dist/components/inviteCodesPage/wrappers/unusedCodes/index.d.ts +7 -0
- package/dist/components/inviteCodesPage/wrappers/unusedCodes/index.jsx +28 -0
- package/dist/components/inviteCodesPage/wrappers/usedCodes/index.d.ts +7 -0
- package/dist/components/inviteCodesPage/wrappers/usedCodes/index.jsx +35 -0
- package/dist/components/linkTabs/index.d.ts +7 -0
- package/dist/components/linkTabs/index.jsx +21 -0
- package/dist/components/linkTabs/linkTab/index.d.ts +9 -0
- package/dist/components/linkTabs/linkTab/index.jsx +27 -0
- package/dist/components/myWallets/index.d.ts +3 -0
- package/dist/components/myWallets/index.jsx +29 -0
- package/dist/components/myWallets/myWalletItem/index.d.ts +10 -0
- package/dist/components/myWallets/myWalletItem/index.jsx +116 -0
- package/dist/components/navigation/index.d.ts +8 -0
- package/dist/components/navigation/index.jsx +65 -0
- package/dist/components/profile/MultiversXAudit/MultiversXAudit.d.ts +2 -0
- package/dist/components/profile/MultiversXAudit/MultiversXAudit.jsx +134 -0
- package/dist/components/profile/ProfileTabs.d.ts +8 -0
- package/dist/components/profile/ProfileTabs.jsx +41 -0
- package/dist/components/profile/aboutText/index.d.ts +5 -0
- package/dist/components/profile/aboutText/index.jsx +89 -0
- package/dist/components/profile/addToGalleryBtns/index.d.ts +5 -0
- package/dist/components/profile/addToGalleryBtns/index.jsx +43 -0
- package/dist/components/profile/followersSocial/followers/index.d.ts +7 -0
- package/dist/components/profile/followersSocial/followers/index.jsx +22 -0
- package/dist/components/profile/followersSocial/index.d.ts +5 -0
- package/dist/components/profile/followersSocial/index.jsx +22 -0
- package/dist/components/profile/followersSocial/social/index.d.ts +3 -0
- package/dist/components/profile/followersSocial/social/index.jsx +35 -0
- package/dist/components/profile/index.js +11 -0
- package/dist/components/profile/info/index.d.ts +7 -0
- package/dist/components/profile/info/index.jsx +39 -0
- package/dist/components/profile/interests/data.d.ts +3 -0
- package/dist/components/profile/interests/data.js +20 -0
- package/dist/components/profile/interests/index.d.ts +2 -0
- package/dist/components/profile/interests/index.jsx +64 -0
- package/dist/components/profile/interests/type.d.ts +6 -0
- package/dist/components/profile/interests/type.js +1 -0
- package/dist/components/profile/jsonLd/index.d.ts +4 -0
- package/dist/components/profile/jsonLd/index.jsx +5 -0
- package/dist/components/profile/pageHead/index.d.ts +6 -0
- package/dist/components/profile/pageHead/index.jsx +45 -0
- package/dist/components/profile/profileSkeleton/index.d.ts +5 -0
- package/dist/components/profile/profileSkeleton/index.jsx +33 -0
- package/dist/components/profile/profileUserCards/index.d.ts +4 -0
- package/dist/components/profile/profileUserCards/index.jsx +12 -0
- package/dist/components/profile/profileUserCards/profileUserCard/index.d.ts +10 -0
- package/dist/components/profile/profileUserCards/profileUserCard/index.jsx +132 -0
- package/dist/components/profile/rank/index.d.ts +5 -0
- package/dist/components/profile/rank/index.jsx +34 -0
- package/dist/components/profile/stats/index.d.ts +5 -0
- package/dist/components/profile/stats/index.jsx +29 -0
- package/dist/components/profile/wallets/index.d.ts +2 -0
- package/dist/components/profile/wallets/index.jsx +74 -0
- package/dist/components/profile/wrapper/index.d.ts +7 -0
- package/dist/components/profile/wrapper/index.jsx +20 -0
- package/dist/components/registrationPage/index.d.ts +3 -0
- package/dist/components/registrationPage/index.jsx +3 -0
- package/dist/components/registrationPage/registrationSelectBox/index.d.ts +9 -0
- package/dist/components/registrationPage/registrationSelectBox/index.jsx +20 -0
- package/dist/components/registrationPage/registrationSelection/index.d.ts +16 -0
- package/dist/components/registrationPage/registrationSelection/index.jsx +52 -0
- package/dist/components/rewards/FAQ/index.d.ts +3 -0
- package/dist/components/rewards/FAQ/index.jsx +112 -0
- package/dist/components/rewards/clarifications/index.d.ts +8 -0
- package/dist/components/rewards/clarifications/index.jsx +59 -0
- package/dist/components/rewards/logoBottom/index.d.ts +3 -0
- package/dist/components/rewards/logoBottom/index.jsx +25 -0
- package/dist/components/rewards/prograssBar/index.d.ts +7 -0
- package/dist/components/rewards/prograssBar/index.jsx +29 -0
- package/dist/components/rewards/rewardsButton/index.d.ts +3 -0
- package/dist/components/rewards/rewardsButton/index.jsx +12 -0
- package/dist/components/rewards/seasonBanner/index.d.ts +5 -0
- package/dist/components/rewards/seasonBanner/index.jsx +25 -0
- package/dist/components/rewards/taskExpTab/index.d.ts +14 -0
- package/dist/components/rewards/taskExpTab/index.jsx +71 -0
- package/dist/components/rewards/tasksGrid/index.d.ts +6 -0
- package/dist/components/rewards/tasksGrid/index.jsx +140 -0
- package/dist/components/rewards/userExp/index.d.ts +12 -0
- package/dist/components/rewards/userExp/index.jsx +73 -0
- package/dist/components/search/SearchInputContainer.d.ts +26 -0
- package/dist/components/search/SearchInputContainer.jsx +216 -0
- package/dist/components/search/index.d.ts +3 -0
- package/dist/components/search/index.jsx +60 -0
- package/dist/components/search/searchCategories/index.d.ts +3 -0
- package/dist/components/search/searchCategories/index.jsx +55 -0
- package/dist/components/search/searchCategories/type.d.ts +5 -0
- package/dist/components/search/searchCategories/type.js +1 -0
- package/dist/components/search/searchCloseMoreButtons/index.d.ts +14 -0
- package/dist/components/search/searchCloseMoreButtons/index.jsx +52 -0
- package/dist/components/search/searchResultCaption/index.d.ts +7 -0
- package/dist/components/search/searchResultCaption/index.jsx +29 -0
- package/dist/components/search/searchSelectsGalleries/index.d.ts +9 -0
- package/dist/components/search/searchSelectsGalleries/index.jsx +58 -0
- package/dist/components/search/searchSelectsSets/index.d.ts +8 -0
- package/dist/components/search/searchSelectsSets/index.jsx +54 -0
- package/dist/components/search/searchSimpleInput/index.d.ts +5 -0
- package/dist/components/search/searchSimpleInput/index.jsx +59 -0
- package/dist/components/search/searchSuggestions/index.d.ts +14 -0
- package/dist/components/search/searchSuggestions/index.jsx +119 -0
- package/dist/components/search/searchSuggestions/searchSuggestionsCaption/index.d.ts +7 -0
- package/dist/components/search/searchSuggestions/searchSuggestionsCaption/index.jsx +23 -0
- package/dist/components/search/searchSuggestions/searchSuggestionsFooter/index.d.ts +3 -0
- package/dist/components/search/searchSuggestions/searchSuggestionsFooter/index.jsx +26 -0
- package/dist/components/search/searchSuggestions/searchSuggestionsItem/index.d.ts +11 -0
- package/dist/components/search/searchSuggestions/searchSuggestionsItem/index.jsx +42 -0
- package/dist/components/search/searchSuggestions/searchSuggestionsItem/searchSuggestionsItemSkeleton/index.d.ts +4 -0
- package/dist/components/search/searchSuggestions/searchSuggestionsItem/searchSuggestionsItemSkeleton/index.jsx +33 -0
- package/dist/components/search/searchSuggestions/searchSuggestionsNotFound/index.d.ts +5 -0
- package/dist/components/search/searchSuggestions/searchSuggestionsNotFound/index.jsx +22 -0
- package/dist/components/shareDialog/index.d.ts +34 -0
- package/dist/components/shareDialog/index.jsx +86 -0
- package/dist/components/showcaseAssets/showcaseSort/data.d.ts +3 -0
- package/dist/components/showcaseAssets/showcaseSort/data.js +26 -0
- package/dist/components/showcaseAssets/showcaseSort/index.d.ts +8 -0
- package/dist/components/showcaseAssets/showcaseSort/index.jsx +25 -0
- package/dist/components/sidebar/data.d.ts +20 -0
- package/dist/components/sidebar/data.jsx +81 -0
- package/dist/components/sidebar/index.d.ts +6 -0
- package/dist/components/sidebar/index.jsx +112 -0
- package/dist/components/sidebar/initializer.d.ts +4 -0
- package/dist/components/sidebar/initializer.jsx +8 -0
- package/dist/components/sidebar/sidebarFilters/index.d.ts +7 -0
- package/dist/components/sidebar/sidebarFilters/index.jsx +28 -0
- package/dist/components/sidebar/sidebarInviteCodeLabel/index.d.ts +3 -0
- package/dist/components/sidebar/sidebarInviteCodeLabel/index.jsx +40 -0
- package/dist/components/socialButtons/data.d.ts +3 -0
- package/dist/components/socialButtons/data.jsx +47 -0
- package/dist/components/socialButtons/icons/discord.d.ts +3 -0
- package/dist/components/socialButtons/icons/discord.jsx +6 -0
- package/dist/components/socialButtons/icons/facebook.d.ts +3 -0
- package/dist/components/socialButtons/icons/facebook.jsx +7 -0
- package/dist/components/socialButtons/icons/instagram.d.ts +3 -0
- package/dist/components/socialButtons/icons/instagram.jsx +8 -0
- package/dist/components/socialButtons/icons/medium.d.ts +3 -0
- package/dist/components/socialButtons/icons/medium.jsx +6 -0
- package/dist/components/socialButtons/icons/telegram.d.ts +3 -0
- package/dist/components/socialButtons/icons/telegram.jsx +6 -0
- package/dist/components/socialButtons/icons/twitter.d.ts +3 -0
- package/dist/components/socialButtons/icons/twitter.jsx +6 -0
- package/dist/components/socialButtons/index.d.ts +3 -0
- package/dist/components/socialButtons/index.jsx +30 -0
- package/dist/components/socialButtons/type.d.ts +8 -0
- package/dist/components/socialButtons/type.js +1 -0
- package/dist/components/tabs/icons/bell.d.ts +5 -0
- package/dist/components/tabs/icons/bell.jsx +8 -0
- package/dist/components/tabs/icons/profile.d.ts +5 -0
- package/dist/components/tabs/icons/profile.jsx +8 -0
- package/dist/components/tabs/icons/secure.d.ts +5 -0
- package/dist/components/tabs/icons/secure.jsx +7 -0
- package/dist/components/tabs/index.d.ts +3 -0
- package/dist/components/tabs/index.jsx +53 -0
- package/dist/components/toTopBtn/index.d.ts +6 -0
- package/dist/components/toTopBtn/index.jsx +61 -0
- package/dist/dto/AssetEntity/index.d.ts +63 -0
- package/dist/dto/AssetEntity/index.js +206 -0
- package/dist/dto/AssetEntity/interface.d.ts +39 -0
- package/dist/dto/AssetEntity/interface.js +1 -0
- package/dist/dto/AssetEntity/views/AssetAudio/index.d.ts +9 -0
- package/dist/dto/AssetEntity/views/AssetAudio/index.jsx +34 -0
- package/dist/dto/AssetEntity/views/AssetImage/index.d.ts +10 -0
- package/dist/dto/AssetEntity/views/AssetImage/index.jsx +45 -0
- package/dist/dto/AssetEntity/views/AssetObject/index.d.ts +11 -0
- package/dist/dto/AssetEntity/views/AssetObject/index.jsx +65 -0
- package/dist/dto/AssetEntity/views/AssetOther/index.d.ts +11 -0
- package/dist/dto/AssetEntity/views/AssetOther/index.jsx +49 -0
- package/dist/dto/AssetEntity/views/AssetScreenshot/index.d.ts +10 -0
- package/dist/dto/AssetEntity/views/AssetScreenshot/index.jsx +45 -0
- package/dist/dto/AssetEntity/views/AssetVideo/index.d.ts +9 -0
- package/dist/dto/AssetEntity/views/AssetVideo/index.jsx +34 -0
- package/dist/dto/AssetEntity/views/index.d.ts +6 -0
- package/dist/dto/AssetEntity/views/index.js +6 -0
- package/dist/dto/Collection/CollectionCreationEntity/index.d.ts +45 -0
- package/dist/dto/Collection/CollectionCreationEntity/index.js +157 -0
- package/dist/dto/Collection/CollectionCreationEntity/interface.d.ts +24 -0
- package/dist/dto/Collection/CollectionCreationEntity/interface.js +1 -0
- package/dist/dto/Collection/CollectionEntity/index.d.ts +32 -0
- package/dist/dto/Collection/CollectionEntity/index.js +72 -0
- package/dist/dto/Collection/CollectionEntity/interface.d.ts +16 -0
- package/dist/dto/Collection/CollectionEntity/interface.js +1 -0
- package/dist/dto/CreationEntity/index.d.ts +49 -0
- package/dist/dto/CreationEntity/index.js +163 -0
- package/dist/dto/CreationEntity/interface.d.ts +30 -0
- package/dist/dto/CreationEntity/interface.js +1 -0
- package/dist/dto/GalleryEntityV2/index.d.ts +32 -0
- package/dist/dto/GalleryEntityV2/index.js +69 -0
- package/dist/dto/GalleryEntityV2/interface.d.ts +16 -0
- package/dist/dto/GalleryEntityV2/interface.js +1 -0
- package/dist/dto/common/ItemType/data.d.ts +3 -0
- package/dist/dto/common/ItemType/data.js +35 -0
- package/dist/dto/common/ItemType/index.d.ts +45 -0
- package/dist/dto/common/ItemType/index.jsx +40 -0
- package/dist/dto/common/ItemViews/CreationAudio/index.d.ts +9 -0
- package/dist/dto/common/ItemViews/CreationAudio/index.jsx +34 -0
- package/dist/dto/common/ItemViews/CreationImage/index.d.ts +10 -0
- package/dist/dto/common/ItemViews/CreationImage/index.jsx +45 -0
- package/dist/dto/common/ItemViews/CreationObject/index.d.ts +8 -0
- package/dist/dto/common/ItemViews/CreationObject/index.jsx +38 -0
- package/dist/dto/common/ItemViews/CreationOther/index.d.ts +9 -0
- package/dist/dto/common/ItemViews/CreationOther/index.jsx +34 -0
- package/dist/dto/common/ItemViews/CreationVideo/index.d.ts +9 -0
- package/dist/dto/common/ItemViews/CreationVideo/index.jsx +34 -0
- package/dist/dto/common/ItemViews/index.js +5 -0
- package/dist/dto/common/Media/Audio/index.d.ts +13 -0
- package/dist/dto/common/Media/Audio/index.jsx +49 -0
- package/dist/dto/common/Media/Image/index.d.ts +13 -0
- package/dist/dto/common/Media/Image/index.jsx +57 -0
- package/dist/dto/common/Media/Object/index.d.ts +13 -0
- package/dist/dto/common/Media/Object/index.jsx +58 -0
- package/dist/dto/common/Media/Other/index.d.ts +13 -0
- package/dist/dto/common/Media/Other/index.jsx +77 -0
- package/dist/dto/common/Media/Screenshot/index.d.ts +13 -0
- package/dist/dto/common/Media/Screenshot/index.jsx +57 -0
- package/dist/dto/common/Media/Urls/index.d.ts +31 -0
- package/dist/dto/common/Media/Urls/index.js +112 -0
- package/dist/dto/common/Media/Video/index.d.ts +13 -0
- package/dist/dto/common/Media/Video/index.jsx +49 -0
- package/dist/dto/common/Media/index.d.ts +26 -0
- package/dist/dto/common/Media/index.jsx +38 -0
- package/dist/dto/common/Media/interface.d.ts +26 -0
- package/dist/dto/common/Media/interface.js +1 -0
- package/dist/dto/index.js +8 -0
- package/dist/entities/user/type.d.ts +5 -0
- package/dist/entities/user/type.js +1 -0
- package/dist/fonts/FontsInitializeLayout.d.ts +5 -0
- package/dist/fonts/FontsInitializeLayout.jsx +38 -0
- package/dist/fonts/index.js +2 -0
- package/dist/fonts/vars.d.ts +1 -0
- package/dist/fonts/vars.js +1 -0
- package/dist/hooks/apollo/index.d.ts +9 -0
- package/dist/hooks/apollo/index.jsx +13 -0
- package/dist/hooks/audio/useMultiAudio/index.d.ts +2 -0
- package/dist/hooks/audio/useMultiAudio/index.jsx +54 -0
- package/dist/hooks/extension/useExtension/index.d.ts +7 -0
- package/dist/hooks/extension/useExtension/index.js +76 -0
- package/dist/hooks/favorites/index.js +2 -0
- package/dist/hooks/favorites/useGetFavoriteGallaryCreations/index.d.ts +23 -0
- package/dist/hooks/favorites/useGetFavoriteGallaryCreations/index.js +188 -0
- package/dist/hooks/favorites/useGetUserFevoritesCreations/index.d.ts +24 -0
- package/dist/hooks/favorites/useGetUserFevoritesCreations/index.js +263 -0
- package/dist/hooks/galleries/index.d.ts +1 -0
- package/dist/hooks/galleries/index.js +1 -0
- package/dist/hooks/galleries/useGetUserGalleriesCreations/index.d.ts +20 -0
- package/dist/hooks/galleries/useGetUserGalleriesCreations/index.js +220 -0
- package/dist/hooks/index.d.ts +5 -0
- package/dist/hooks/index.js +5 -0
- package/dist/hooks/likes/dynamic/useFindCollectionsAndLikes.jsx +234 -0
- package/dist/hooks/likes/dynamic/useFindCreationsAndLikes.jsx +207 -0
- package/dist/hooks/likes/dynamic/useGetCollectionInfoAndLikes.d.ts +14 -0
- package/dist/hooks/likes/dynamic/useGetCollectionInfoAndLikes.jsx +204 -0
- package/dist/hooks/likes/dynamic/useGetCreationsAndLikes.jsx +223 -0
- package/dist/hooks/likes/dynamic/useGetCreationsAndLikesByType.jsx +234 -0
- package/dist/hooks/likes/dynamic/useGetMixedLikesFavoriteList.d.ts +19 -0
- package/dist/hooks/likes/dynamic/useGetMixedLikesFavoriteList.jsx +48 -0
- package/dist/hooks/likes/dynamic/useGetTableLikes.d.ts +15 -0
- package/dist/hooks/likes/dynamic/useGetTableLikes.jsx +110 -0
- package/dist/hooks/likes/index.d.ts +19 -0
- package/dist/hooks/likes/index.js +172 -0
- package/dist/hooks/likes/useGetLikesAsset.d.ts +20 -0
- package/dist/hooks/likes/useGetLikesAsset.js +155 -0
- package/dist/hooks/searchFiltersConnector/index.d.ts +11 -0
- package/dist/hooks/searchFiltersConnector/index.jsx +167 -0
- package/dist/hooks/useToGalleryAsset/index.d.ts +18 -0
- package/dist/hooks/useToGalleryAsset/index.jsx +95 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +8 -0
- package/dist/layouts/GlobalLayout.d.ts +4 -0
- package/dist/layouts/GlobalLayout.jsx +43 -0
- package/dist/layouts/base/LWithRegularHeader/index.d.ts +3 -0
- package/dist/layouts/base/LWithRegularHeader/index.jsx +21 -0
- package/dist/layouts/base/LWithRegularHeader/type.d.ts +5 -0
- package/dist/layouts/base/LWithRegularHeader/type.js +1 -0
- package/dist/layouts/base/LWithSearchHeader/index.d.ts +3 -0
- package/dist/layouts/base/LWithSearchHeader/index.jsx +14 -0
- package/dist/layouts/base/LWithSearchHeader/type.d.ts +5 -0
- package/dist/layouts/base/LWithSearchHeader/type.js +1 -0
- package/dist/layouts/base/LWithSimpleHeader/index.d.ts +3 -0
- package/dist/layouts/base/LWithSimpleHeader/index.jsx +17 -0
- package/dist/layouts/base/LWithSimpleHeader/type.d.ts +5 -0
- package/dist/layouts/base/LWithSimpleHeader/type.js +1 -0
- package/dist/layouts/base/LWithoutHeader/index.d.ts +3 -0
- package/dist/layouts/base/LWithoutHeader/index.jsx +19 -0
- package/dist/layouts/base/index.d.ts +4 -0
- package/dist/layouts/base/index.js +4 -0
- package/dist/layouts/custom/accountLayout/index.d.ts +3 -0
- package/dist/layouts/custom/accountLayout/index.jsx +22 -0
- package/dist/layouts/custom/formsLayout/index.d.ts +3 -0
- package/dist/layouts/custom/formsLayout/index.jsx +15 -0
- package/dist/layouts/custom/index.d.ts +5 -0
- package/dist/layouts/custom/index.js +5 -0
- package/dist/layouts/custom/mainLayout/index.d.ts +3 -0
- package/dist/layouts/custom/mainLayout/index.jsx +20 -0
- package/dist/layouts/custom/searchLayout/index.d.ts +3 -0
- package/dist/layouts/custom/searchLayout/index.jsx +23 -0
- package/dist/layouts/custom/simpleLayout/index.d.ts +3 -0
- package/dist/layouts/custom/simpleLayout/index.jsx +20 -0
- package/dist/layouts/custom/styles.d.ts +3 -0
- package/dist/layouts/custom/styles.js +10 -0
- package/dist/layouts/index.d.ts +5 -0
- package/dist/layouts/index.js +5 -0
- package/dist/layouts/pageTransitionLayout.d.ts +6 -0
- package/dist/layouts/pageTransitionLayout.jsx +25 -0
- package/dist/layouts/pageWithLayout.d.ts +10 -0
- package/dist/layouts/pageWithLayout.js +1 -0
- package/dist/modules/gallery/api/useGetAssetsAndCollectionForFavorite.d.ts +22 -0
- package/dist/modules/gallery/api/useGetAssetsAndCollectionForFavorite.js +276 -0
- package/dist/modules/gallery/api/useGetFavoriteGallery.d.ts +6 -0
- package/dist/modules/gallery/api/useGetFavoriteGallery.js +39 -0
- package/dist/modules/gallery/store.d.ts +26 -0
- package/dist/modules/gallery/store.js +141 -0
- package/dist/modules/gallery/ui/AllResults.d.ts +4 -0
- package/dist/modules/gallery/ui/AllResults.jsx +11 -0
- package/dist/modules/gallery/ui/Description.d.ts +5 -0
- package/dist/modules/gallery/ui/Description.jsx +50 -0
- package/dist/modules/gallery/ui/EditGallery.d.ts +10 -0
- package/dist/modules/gallery/ui/EditGallery.jsx +93 -0
- package/dist/modules/gallery/ui/GalleryDeleteIcon.d.ts +5 -0
- package/dist/modules/gallery/ui/GalleryDeleteIcon.jsx +21 -0
- package/dist/modules/gallery/ui/PlaceholderItemsGallery.d.ts +2 -0
- package/dist/modules/gallery/ui/PlaceholderItemsGallery.jsx +19 -0
- package/dist/modules/gallery/ui/STopSections.d.ts +2 -0
- package/dist/modules/gallery/ui/STopSections.js +9 -0
- package/dist/modules/gallery/ui/chooseGalleryItems/chooseGalleryItem/index.d.ts +8 -0
- package/dist/modules/gallery/ui/chooseGalleryItems/chooseGalleryItem/index.jsx +38 -0
- package/dist/modules/gallery/ui/chooseGalleryItems/index.d.ts +16 -0
- package/dist/modules/gallery/ui/chooseGalleryItems/index.jsx +117 -0
- package/dist/modules/gallery/ui/createGalleryForm/index.d.ts +14 -0
- package/dist/modules/gallery/ui/createGalleryForm/index.jsx +148 -0
- package/dist/modules/gallery/ui/editGalleryForm/index.d.ts +9 -0
- package/dist/modules/gallery/ui/editGalleryForm/index.jsx +168 -0
- package/dist/modules/gallery/ui/itemsPreview/index.d.ts +21 -0
- package/dist/modules/gallery/ui/itemsPreview/index.jsx +180 -0
- package/dist/modules/index.js +4 -0
- package/dist/modules/notifications/CreatorNotifications.d.ts +2 -0
- package/dist/modules/notifications/CreatorNotifications.jsx +14 -0
- package/dist/modules/notifications/index.d.ts +22 -0
- package/dist/modules/notifications/index.jsx +3 -0
- package/dist/modules/sessionScroll/globalTabs.d.ts +12 -0
- package/dist/modules/sessionScroll/globalTabs.js +47 -0
- package/dist/modules/sessionScroll/index.d.ts +15 -0
- package/dist/modules/sessionScroll/index.js +56 -0
- package/dist/modules/sessionScroll/type.d.ts +7 -0
- package/dist/modules/sessionScroll/type.js +1 -0
- package/dist/modules/sessionScroll/useVirtuosoInitialScroll.d.ts +12 -0
- package/dist/modules/sessionScroll/useVirtuosoInitialScroll.js +58 -0
- package/dist/modules/user/auth/useAuthVerification.d.ts +1 -0
- package/dist/modules/user/auth/useAuthVerification.js +93 -0
- package/dist/modules/user/auth/useSignIn.d.ts +2 -0
- package/dist/modules/user/auth/useSignIn.js +17 -0
- package/dist/modules/user/auth/useSignOut.d.ts +1 -0
- package/dist/modules/user/auth/useSignOut.js +71 -0
- package/dist/modules/user/index.js +3 -0
- package/dist/modules/user/profileData/index.d.ts +1 -0
- package/dist/modules/user/profileData/index.js +1 -0
- package/dist/modules/user/profileData/profileDataInitialization.d.ts +2 -0
- package/dist/modules/user/profileData/profileDataInitialization.jsx +55 -0
- package/dist/modules/user/store.d.ts +33 -0
- package/dist/modules/user/store.jsx +75 -0
- package/dist/modules/virtuoso/VirtuosoPageBuilder.d.ts +19 -0
- package/dist/modules/virtuoso/VirtuosoPageBuilder.jsx +127 -0
- package/dist/modules/virtuoso/VirtuosoToTopBtn.d.ts +9 -0
- package/dist/modules/virtuoso/VirtuosoToTopBtn.jsx +34 -0
- package/dist/modules/virtuoso/index.js +5 -0
- package/dist/modules/virtuoso/types.d.ts +7 -0
- package/dist/modules/virtuoso/types.js +1 -0
- package/dist/modules/virtuoso/useSubscribeVirtuosoScrollToHeader.d.ts +3 -0
- package/dist/modules/virtuoso/useSubscribeVirtuosoScrollToHeader.js +23 -0
- package/dist/modules/virtuoso/useVirtuosoData.d.ts +12 -0
- package/dist/modules/virtuoso/useVirtuosoData.js +46 -0
- package/dist/pages/index.d.ts +2 -0
- package/dist/pages/index.jsx +12 -0
- package/dist/store/index.d.ts +11 -0
- package/dist/store/index.js +11 -0
- package/dist/store/media/index.d.ts +2 -0
- package/dist/store/media/index.js +66 -0
- package/dist/store/media/types.d.ts +11 -0
- package/dist/store/media/types.js +1 -0
- package/dist/store/ui/index.d.ts +2 -0
- package/dist/store/ui/index.js +164 -0
- package/dist/store/ui/types.d.ts +34 -0
- package/dist/store/ui/types.js +1 -0
- package/dist/store/ui/utils.d.ts +7 -0
- package/dist/store/ui/utils.js +28 -0
- package/dist/styles/ScreenWidth.d.ts +22 -0
- package/dist/styles/ScreenWidth.js +23 -0
- package/dist/styles/animations/index.d.ts +2 -0
- package/dist/styles/animations/index.jsx +8 -0
- package/dist/styles/colors/index.d.ts +1 -0
- package/dist/styles/colors/index.js +1 -0
- package/dist/styles/globalStyles.d.ts +3 -0
- package/dist/styles/globalStyles.jsx +21 -0
- package/dist/styles/index.d.ts +5 -0
- package/dist/styles/index.js +5 -0
- package/dist/styles/mixins/boxShadow.d.ts +2 -0
- package/dist/styles/mixins/boxShadow.jsx +8 -0
- package/dist/styles/mixins/boxTransform.d.ts +2 -0
- package/dist/styles/mixins/boxTransform.jsx +8 -0
- package/dist/styles/mixins/index.d.ts +3 -0
- package/dist/styles/mixins/index.js +3 -0
- package/dist/styles/mixins/z-indexes.d.ts +10 -0
- package/dist/styles/mixins/z-indexes.jsx +10 -0
- package/dist/styles/typography/index.d.ts +1 -0
- package/dist/styles/typography/index.jsx +1 -0
- package/dist/system/ActiveLink/index.d.ts +9 -0
- package/dist/system/ActiveLink/index.jsx +34 -0
- package/dist/system/Alert/index.d.ts +3 -0
- package/dist/system/Alert/index.jsx +15 -0
- package/dist/system/Alert/type.d.ts +2 -0
- package/dist/system/Alert/type.js +1 -0
- package/dist/system/BasicOverlay/index.d.ts +3 -0
- package/dist/system/BasicOverlay/index.jsx +15 -0
- package/dist/system/Buttons/IconButton/index.d.ts +2 -0
- package/dist/system/Buttons/IconButton/index.jsx +2 -0
- package/dist/system/Buttons/IconWithButton/index.d.ts +2 -0
- package/dist/system/Buttons/IconWithButton/index.jsx +2 -0
- package/dist/system/Buttons/MainButton/index.d.ts +2 -0
- package/dist/system/Buttons/MainButton/index.jsx +2 -0
- package/dist/system/Buttons/MainButton/themes.js +0 -0
- package/dist/system/Buttons/SecondaryButton/index.d.ts +2 -0
- package/dist/system/Buttons/SecondaryButton/index.jsx +2 -0
- package/dist/system/Buttons/index.js +4 -0
- package/dist/system/Cards/CardCheckbox/index.d.ts +6 -0
- package/dist/system/Cards/CardCheckbox/index.jsx +25 -0
- package/dist/system/Cards/CardContent/CardCategory/index.d.ts +6 -0
- package/dist/system/Cards/CardContent/CardCategory/index.jsx +25 -0
- package/dist/system/Cards/CardContent/CardLikes/index.d.ts +6 -0
- package/dist/system/Cards/CardContent/CardLikes/index.jsx +31 -0
- package/dist/system/Cards/CardContent/CardShowMore/index.d.ts +7 -0
- package/dist/system/Cards/CardContent/CardShowMore/index.jsx +39 -0
- package/dist/system/Cards/CardContent/index.d.ts +17 -0
- package/dist/system/Cards/CardContent/index.jsx +61 -0
- package/dist/system/Cards/CardHeadIcons/index.d.ts +16 -0
- package/dist/system/Cards/CardHeadIcons/index.jsx +136 -0
- package/dist/system/Cards/CardMedia/CardAudio/index.d.ts +8 -0
- package/dist/system/Cards/CardMedia/CardAudio/index.jsx +66 -0
- package/dist/system/Cards/CardMedia/CardImage/index.d.ts +7 -0
- package/dist/system/Cards/CardMedia/CardImage/index.jsx +17 -0
- package/dist/system/Cards/CardMedia/CardVideo/index.d.ts +7 -0
- package/dist/system/Cards/CardMedia/CardVideo/index.jsx +57 -0
- package/dist/system/Cards/CardMedia/index.d.ts +3 -0
- package/dist/system/Cards/CardMedia/index.js +3 -0
- package/dist/system/Cards/CardRank/index.d.ts +5 -0
- package/dist/system/Cards/CardRank/index.jsx +34 -0
- package/dist/system/Cards/CardsGrid/index.d.ts +14 -0
- package/dist/system/Cards/CardsGrid/index.jsx +59 -0
- package/dist/system/Cards/HideLink/index.d.ts +10 -0
- package/dist/system/Cards/HideLink/index.jsx +17 -0
- package/dist/system/Cards/MultiMediaCard/index.d.ts +10 -0
- package/dist/system/Cards/MultiMediaCard/index.jsx +82 -0
- package/dist/system/Cards/RegularCard/index.d.ts +23 -0
- package/dist/system/Cards/RegularCard/index.jsx +57 -0
- package/dist/system/Cards/Styles/Content.d.ts +3 -0
- package/dist/system/Cards/Styles/Content.js +11 -0
- package/dist/system/Cards/Styles/Head.d.ts +3 -0
- package/dist/system/Cards/Styles/Head.js +11 -0
- package/dist/system/Cards/Styles/Headicons.d.ts +5 -0
- package/dist/system/Cards/Styles/Headicons.js +15 -0
- package/dist/system/Cards/Styles/Image.d.ts +5 -0
- package/dist/system/Cards/Styles/Image.js +10 -0
- package/dist/system/Cards/Styles/Likes.d.ts +5 -0
- package/dist/system/Cards/Styles/Likes.js +13 -0
- package/dist/system/Cards/Styles/MultiHead.d.ts +3 -0
- package/dist/system/Cards/Styles/MultiHead.js +11 -0
- package/dist/system/Cards/Styles/Video.d.ts +3 -0
- package/dist/system/Cards/Styles/Video.js +8 -0
- package/dist/system/Cards/Styles/index.d.ts +7 -0
- package/dist/system/Cards/Styles/index.js +7 -0
- package/dist/system/Cards/index.d.ts +14 -0
- package/dist/system/Cards/index.js +14 -0
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsError/index.d.ts +5 -0
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsError/index.jsx +75 -0
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsNoResults/index.d.ts +5 -0
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsNoResults/index.jsx +22 -0
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsSkeleton/index.d.ts +6 -0
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsSkeleton/index.jsx +37 -0
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/index.d.ts +23 -0
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/index.jsx +37 -0
- package/dist/system/CardsHolderWithSkeleton/CardsHolderLoader/index.d.ts +3 -0
- package/dist/system/CardsHolderWithSkeleton/CardsHolderLoader/index.jsx +24 -0
- package/dist/system/CardsHolderWithSkeleton/index.d.ts +30 -0
- package/dist/system/CardsHolderWithSkeleton/index.jsx +17 -0
- package/dist/system/DropDown/DropDown.test.d.ts +1 -0
- package/dist/system/DropDown/DropDown.test.jsx +41 -0
- package/dist/system/DropDown/index.d.ts +8 -0
- package/dist/system/DropDown/index.jsx +38 -0
- package/dist/system/Filters/helpers.d.ts +7 -0
- package/dist/system/Filters/helpers.js +4 -0
- package/dist/system/Filters/index.js +2 -0
- package/dist/system/Filters/type.d.ts +16 -0
- package/dist/system/Filters/type.js +8 -0
- package/dist/system/Flex/index.d.ts +0 -0
- package/dist/system/Flex/index.jsx +0 -0
- package/dist/system/Forms/Checkbox/Checkbox.test.d.ts +1 -0
- package/dist/system/Forms/Checkbox/Checkbox.test.jsx +74 -0
- package/dist/system/Forms/Checkbox/index.d.ts +22 -0
- package/dist/system/Forms/Checkbox/index.jsx +35 -0
- package/dist/system/Forms/DatePicker/index.d.ts +16 -0
- package/dist/system/Forms/DatePicker/index.jsx +39 -0
- package/dist/system/Forms/ErrorLabel/ErrorLabel.test.d.ts +1 -0
- package/dist/system/Forms/ErrorLabel/ErrorLabel.test.jsx +22 -0
- package/dist/system/Forms/ErrorLabel/index.d.ts +7 -0
- package/dist/system/Forms/ErrorLabel/index.jsx +15 -0
- package/dist/system/Forms/Input/Input.test.d.ts +1 -0
- package/dist/system/Forms/Input/Input.test.jsx +52 -0
- package/dist/system/Forms/Input/index.d.ts +16 -0
- package/dist/system/Forms/Input/index.jsx +29 -0
- package/dist/system/Forms/Input/type.d.ts +5 -0
- package/dist/system/Forms/Input/type.js +1 -0
- package/dist/system/Forms/Messages/index.d.ts +67 -0
- package/dist/system/Forms/Messages/index.js +67 -0
- package/dist/system/Forms/RadioInput/index.d.ts +13 -0
- package/dist/system/Forms/RadioInput/index.jsx +27 -0
- package/dist/system/Forms/Selects/DesktopSelect/index.d.ts +12 -0
- package/dist/system/Forms/Selects/DesktopSelect/index.jsx +115 -0
- package/dist/system/Forms/Selects/DesktopSelect/type.d.ts +5 -0
- package/dist/system/Forms/Selects/DesktopSelect/type.js +1 -0
- package/dist/system/Forms/Selects/MobileSelect/index.d.ts +14 -0
- package/dist/system/Forms/Selects/MobileSelect/index.jsx +29 -0
- package/dist/system/Forms/TextArea/index.d.ts +14 -0
- package/dist/system/Forms/TextArea/index.jsx +29 -0
- package/dist/system/Forms/index.d.ts +6 -0
- package/dist/system/Forms/index.js +6 -0
- package/dist/system/Img/ExternalImage/index.d.ts +6 -0
- package/dist/system/Img/ExternalImage/index.jsx +13 -0
- package/dist/system/Img/ImageInterceptor/ImageInterceptor.test.d.ts +1 -0
- package/dist/system/Img/ImageInterceptor/ImageInterceptor.test.jsx +52 -0
- package/dist/system/Img/ImageInterceptor/index.d.ts +17 -0
- package/dist/system/Img/ImageInterceptor/index.jsx +27 -0
- package/dist/system/Img/Profilepic/index.d.ts +11 -0
- package/dist/system/Img/Profilepic/index.jsx +33 -0
- package/dist/system/Img/Userpic/UserPic.test.d.ts +2 -0
- package/dist/system/Img/Userpic/UserPic.test.jsx +66 -0
- package/dist/system/Img/Userpic/index.d.ts +9 -0
- package/dist/system/Img/Userpic/index.jsx +74 -0
- package/dist/system/Img/index.d.ts +4 -0
- package/dist/system/Img/index.js +4 -0
- package/dist/system/Labels/ExperienceLabel/ExperienceLabel.test.d.ts +1 -0
- package/dist/system/Labels/ExperienceLabel/ExperienceLabel.test.jsx +49 -0
- package/dist/system/Labels/ExperienceLabel/index.d.ts +7 -0
- package/dist/system/Labels/ExperienceLabel/index.jsx +38 -0
- package/dist/system/Labels/InviteLabel/InviteLabel.test.d.ts +1 -0
- package/dist/system/Labels/InviteLabel/InviteLabel.test.jsx +41 -0
- package/dist/system/Labels/InviteLabel/index.d.ts +7 -0
- package/dist/system/Labels/InviteLabel/index.jsx +34 -0
- package/dist/system/Labels/SkeletonLabel/index.d.ts +2 -0
- package/dist/system/Labels/SkeletonLabel/index.jsx +2 -0
- package/dist/system/Modals/Modal/Modal.test.d.ts +1 -0
- package/dist/system/Modals/Modal/Modal.test.jsx +31 -0
- package/dist/system/Modals/Modal/index.d.ts +3 -0
- package/dist/system/Modals/Modal/index.jsx +29 -0
- package/dist/system/Modals/ModalSidebar/CreatorModalSidebarPortal.d.ts +2 -0
- package/dist/system/Modals/ModalSidebar/CreatorModalSidebarPortal.jsx +18 -0
- package/dist/system/Modals/ModalSidebar/ModalSidebar.test.d.ts +1 -0
- package/dist/system/Modals/ModalSidebar/ModalSidebar.test.jsx +30 -0
- package/dist/system/Modals/ModalSidebar/ModalSidebarPortal.d.ts +5 -0
- package/dist/system/Modals/ModalSidebar/ModalSidebarPortal.jsx +14 -0
- package/dist/system/Modals/ModalSidebar/index.d.ts +4 -0
- package/dist/system/Modals/ModalSidebar/index.jsx +28 -0
- package/dist/system/Overlay/Overlay.test.d.ts +1 -0
- package/dist/system/Overlay/Overlay.test.jsx +43 -0
- package/dist/system/Overlay/index.d.ts +3 -0
- package/dist/system/Overlay/index.jsx +24 -0
- package/dist/system/PageLoader/index.d.ts +2 -0
- package/dist/system/PageLoader/index.jsx +2 -0
- package/dist/system/Palete/index.d.ts +2 -0
- package/dist/system/Palete/index.jsx +2 -0
- package/dist/system/ShareIconResize.d.ts +2 -0
- package/dist/system/ShareIconResize.jsx +21 -0
- package/dist/system/Tabs/TabNavLink/TabNavLink.test.d.ts +2 -0
- package/dist/system/Tabs/TabNavLink/TabNavLink.test.jsx +35 -0
- package/dist/system/Tabs/TabNavLink/index.d.ts +12 -0
- package/dist/system/Tabs/TabNavLink/index.jsx +23 -0
- package/dist/system/Tabs/TabsNav/TabsNav.test.d.ts +2 -0
- package/dist/system/Tabs/TabsNav/TabsNav.test.jsx +38 -0
- package/dist/system/Tabs/TabsNav/index.d.ts +10 -0
- package/dist/system/Tabs/TabsNav/index.jsx +22 -0
- package/dist/system/Tabs/TabsNav/type.d.ts +6 -0
- package/dist/system/Tabs/TabsNav/type.js +1 -0
- package/dist/system/Tabs/TabsPanel/TabsPanel.test.d.ts +2 -0
- package/dist/system/Tabs/TabsPanel/TabsPanel.test.jsx +36 -0
- package/dist/system/Tabs/TabsPanel/index.d.ts +7 -0
- package/dist/system/Tabs/TabsPanel/index.jsx +16 -0
- package/dist/system/Tabs/index.js +4 -0
- package/dist/system/Text/index.d.ts +0 -0
- package/dist/system/Text/index.jsx +0 -0
- package/dist/system/index.d.ts +20 -0
- package/dist/system/index.js +20 -0
- package/dist/system/theme.d.ts +1 -0
- package/dist/system/theme.js +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/utils/3d.d.ts +5 -0
- package/dist/utils/3d.js +41 -0
- package/dist/utils/adaptive/check4k.d.ts +5 -0
- package/dist/utils/adaptive/check4k.js +13 -0
- package/dist/utils/adaptive/index.js +2 -0
- package/dist/utils/adaptive/scale.d.ts +9 -0
- package/dist/utils/adaptive/scale.js +15 -0
- package/dist/utils/auth/index.d.ts +1 -0
- package/dist/utils/auth/index.js +4 -0
- package/dist/utils/copyBtn/index.d.ts +5 -0
- package/dist/utils/copyBtn/index.jsx +80 -0
- package/dist/utils/env/index.d.ts +5 -0
- package/dist/utils/env/index.js +23 -0
- package/dist/utils/env/isProd/index.d.ts +3 -0
- package/dist/utils/env/isProd/index.js +5 -0
- package/dist/utils/env/type.d.ts +5 -0
- package/dist/utils/env/type.js +6 -0
- package/dist/utils/extractItemIds/index.d.ts +2 -0
- package/dist/utils/extractItemIds/index.jsx +8 -0
- package/dist/utils/getDimensionsImage.d.ts +4 -0
- package/dist/utils/getDimensionsImage.js +80 -0
- package/dist/utils/getPageSizeAssets.d.ts +5 -0
- package/dist/utils/getPageSizeAssets.js +15 -0
- package/dist/utils/healzHandler/index.d.ts +9 -0
- package/dist/utils/healzHandler/index.js +6 -0
- package/dist/utils/imageProportionsSize/index.d.ts +5 -0
- package/dist/utils/imageProportionsSize/index.jsx +20 -0
- package/dist/utils/index.d.ts +6 -0
- package/dist/utils/index.js +6 -0
- package/dist/utils/screen/index.d.ts +18 -0
- package/dist/utils/screen/index.js +80 -0
- package/dist/utils/ssrFunctions/index.d.ts +12 -0
- package/dist/utils/ssrFunctions/index.js +35 -0
- package/dist/utils/ui/index.d.ts +8 -0
- package/dist/utils/ui/index.jsx +4 -0
- package/package.json +10 -2
- package/.eslintrc.json +0 -18
- package/.husky/pre-commit +0 -1
- package/.prettierignore +0 -3
- package/.prettierrc.json +0 -38
- package/jest.config.js +0 -41
- package/jest.setup.js +0 -1
- package/k8s/2-services-prod.yaml +0 -18
- package/k8s/2-services-stage.yaml +0 -18
- package/k8s/3-utils-prod.yaml +0 -109
- package/k8s/3-utils-stage.yaml +0 -109
- package/k8s/4-workloads-prod.yaml +0 -180
- package/k8s/4-workloads-stage.yaml +0 -180
- package/k8s/5-routing-prod.yaml +0 -73
- package/k8s/5-routing-stage.yaml +0 -73
- package/next-env.d.ts +0 -5
- package/next.config.js +0 -41
- package/public/404/404.svg +0 -8
- package/public/500/500.svg +0 -8
- package/public/MobileSearchBtn/close.svg +0 -3
- package/public/MobileSearchBtn/search.svg +0 -4
- package/public/MobileSearchBtn/test/pirate.svg +0 -9
- package/public/MobileSearchBtn/test/squircle.svg +0 -9
- package/public/alerts/close.svg +0 -5
- package/public/alerts/errorIcon.svg +0 -4
- package/public/alerts/successIcon.svg +0 -4
- package/public/alerts/warningIcon.svg +0 -8
- package/public/assetPage/arrow.svg +0 -3
- package/public/assetPage/audioPlaceholder.svg +0 -35
- package/public/assetPage/details.svg +0 -6
- package/public/assetPage/favorite.svg +0 -3
- package/public/assetPage/favorite_hover.svg +0 -3
- package/public/assetPage/flag.svg +0 -5
- package/public/assetPage/fullScreen.svg +0 -3
- package/public/assetPage/owners.svg +0 -4
- package/public/assetPage/pause.svg +0 -4
- package/public/assetPage/play.svg +0 -3
- package/public/assetPage/share.svg +0 -3
- package/public/assetPage/share2.svg +0 -3
- package/public/assetPage/share2_hover.svg +0 -3
- package/public/assetPage/shareWithDots.svg +0 -6
- package/public/assetPage/shareWithDots_hover.svg +0 -6
- package/public/assetPage/share_hover.svg +0 -3
- package/public/assetPage/soundOf.svg +0 -3
- package/public/assetPage/soundOn.svg +0 -3
- package/public/banner/banner_img.svg +0 -96
- package/public/banner/banner_stroke.svg +0 -3
- package/public/button_skin/accept.svg +0 -11
- package/public/button_skin/decline.svg +0 -11
- package/public/calendar.svg +0 -3
- package/public/cards/addToFavListIcon.svg +0 -5
- package/public/cards/addToGalleryIcon.svg +0 -3
- package/public/cards/heart.svg +0 -3
- package/public/cardsHolderLoader/loader.svg +0 -4
- package/public/checkbox-on.svg +0 -4
- package/public/checkboxArrow.svg +0 -3
- package/public/close.svg +0 -3
- package/public/close20.svg +0 -4
- package/public/collectionPage/export.svg +0 -3
- package/public/copied.svg +0 -4
- package/public/copy-icon-new.svg +0 -4
- package/public/creation/card/moreBtn.svg +0 -6
- package/public/creation/card/moreBtnVertical.svg +0 -5
- package/public/creation/card/moreBtn_hover.svg +0 -5
- package/public/defaultUserpics/0.svg +0 -24
- package/public/defaultUserpics/1.svg +0 -24
- package/public/defaultUserpics/10.svg +0 -24
- package/public/defaultUserpics/11.svg +0 -24
- package/public/defaultUserpics/12.svg +0 -24
- package/public/defaultUserpics/13.svg +0 -24
- package/public/defaultUserpics/14.svg +0 -24
- package/public/defaultUserpics/15.svg +0 -24
- package/public/defaultUserpics/16.svg +0 -24
- package/public/defaultUserpics/17.svg +0 -24
- package/public/defaultUserpics/18.svg +0 -24
- package/public/defaultUserpics/19.svg +0 -24
- package/public/defaultUserpics/2.svg +0 -24
- package/public/defaultUserpics/20.svg +0 -24
- package/public/defaultUserpics/3.svg +0 -24
- package/public/defaultUserpics/4.svg +0 -24
- package/public/defaultUserpics/5.svg +0 -24
- package/public/defaultUserpics/6.svg +0 -24
- package/public/defaultUserpics/7.svg +0 -24
- package/public/defaultUserpics/8.svg +0 -24
- package/public/defaultUserpics/9.svg +0 -24
- package/public/defaultUserpics/defaultUserpic.svg +0 -31
- package/public/dropDown/arrow_down.svg +0 -3
- package/public/dropdown-arrow-down.svg +0 -3
- package/public/dropdown-arrow-up.svg +0 -3
- package/public/error/refresh.svg +0 -4
- package/public/favicon.ico +0 -0
- package/public/favicon.png +0 -0
- package/public/follower.svg +0 -4
- package/public/fonts/dm-sans-v15-latin-500.woff2 +0 -0
- package/public/fonts/dm-sans-v15-latin-500italic.woff2 +0 -0
- package/public/fonts/dm-sans-v15-latin-600.woff2 +0 -0
- package/public/fonts/dm-sans-v15-latin-600italic.woff2 +0 -0
- package/public/fonts/dm-sans-v15-latin-700.woff2 +0 -0
- package/public/fonts/dm-sans-v15-latin-700italic.woff2 +0 -0
- package/public/fonts/dm-sans-v15-latin-italic.woff2 +0 -0
- package/public/fonts/dm-sans-v15-latin-regular.woff2 +0 -0
- package/public/fonts/poppins-v21-latin-200.woff2 +0 -0
- package/public/fonts/poppins-v21-latin-300.woff2 +0 -0
- package/public/fonts/poppins-v21-latin-500.woff2 +0 -0
- package/public/fonts/poppins-v21-latin-600.woff2 +0 -0
- package/public/fonts/poppins-v21-latin-700.woff2 +0 -0
- package/public/fonts/poppins-v21-latin-800.woff2 +0 -0
- package/public/fonts/poppins-v21-latin-regular.woff2 +0 -0
- package/public/forms/checkbox/checked.svg +0 -4
- package/public/formsBg/get_early_access_bg.jpg +0 -0
- package/public/gallery/defaultImage.svg +0 -3
- package/public/gallery/delete.svg +0 -4
- package/public/header/mobile_menu_icons/arrows/arrow_down.svg +0 -3
- package/public/header/mobile_menu_icons/arrows/arrow_up.svg +0 -3
- package/public/header/mobile_menu_icons/campaigns.svg +0 -6
- package/public/header/mobile_menu_icons/dropdown/add_new_campaign.svg +0 -10
- package/public/header/mobile_menu_icons/dropdown/my_galleries.svg +0 -12
- package/public/header/mobile_menu_icons/dropdown/my_profile.svg +0 -5
- package/public/header/mobile_menu_icons/dropdown/my_wallets.svg +0 -5
- package/public/header/mobile_menu_icons/dropdown/notifications.svg +0 -6
- package/public/header/mobile_menu_icons/dropdown/top_campaigns.svg +0 -7
- package/public/header/mobile_menu_icons/dropdown/top_creations.svg +0 -6
- package/public/header/mobile_menu_icons/dropdown/top_creators.svg +0 -10
- package/public/header/mobile_menu_icons/dropdown/top_galleries.svg +0 -13
- package/public/header/mobile_menu_icons/dropdown/top_/321/201ollectors.svg +0 -10
- package/public/header/mobile_menu_icons/experiences.svg +0 -11
- package/public/header/mobile_menu_icons/settings.svg +0 -3
- package/public/header/mobile_menu_icons/sign_out.svg +0 -4
- package/public/header/mobile_menu_icons/submit_nft.svg +0 -16
- package/public/header/mobile_menu_icons/top.svg +0 -7
- package/public/header/mobile_toggle/close.svg +0 -3
- package/public/header/mobile_toggle/regular.svg +0 -3
- package/public/iconButton/share.svg +0 -6
- package/public/iconButton/trash.svg +0 -5
- package/public/iconButton/trash_open.svg +0 -6
- package/public/like-icon-active.svg +0 -4
- package/public/like-icon.svg +0 -3
- package/public/logOut/logOutBtn.svg +0 -5
- package/public/logo/main_logo.svg +0 -214
- package/public/logo/main_logo_dark.svg +0 -49
- package/public/logo/mobile_logo.svg +0 -210
- package/public/logo/mobile_logo_dark.svg +0 -45
- package/public/ludo-logo-small.svg +0 -5
- package/public/ludo-logo-square.svg +0 -9
- package/public/modal/close.svg +0 -3
- package/public/noContent/noContent.svg +0 -9
- package/public/noContent/noContentAudio.svg +0 -34
- package/public/noContent/noContentObject.svg +0 -35
- package/public/no_image placeholder.svg +0 -9
- package/public/no_media_placeholder.svg +0 -222
- package/public/report.svg +0 -6
- package/public/rewardsPage/XP_logo.svg +0 -22
- package/public/rewardsPage/arrow_up_light.svg +0 -3
- package/public/rewardsPage/banner_rewards.svg +0 -9
- package/public/rewardsPage/banner_rewards_mobile.svg +0 -9
- package/public/rewardsPage/banner_rewards_tablet.svg +0 -9
- package/public/rewardsPage/banner_seasons.svg +0 -9
- package/public/rewardsPage/defaultUserPic.svg +0 -9
- package/public/rewardsPage/ludo_logo_white.svg +0 -49
- package/public/search/arrow_up.svg +0 -3
- package/public/search/back.svg +0 -3
- package/public/search/close.svg +0 -3
- package/public/search/no_found.svg +0 -4
- package/public/search/search.svg +0 -4
- package/public/search-icon.svg +0 -4
- package/public/selects/arrow_down.svg +0 -3
- package/public/services/opensea.svg +0 -5
- package/public/services/other.svg +0 -8
- package/public/services/rarible.svg +0 -4
- package/public/settings_page/back.svg +0 -3
- package/public/settings_page/burger_menu.svg +0 -5
- package/public/settings_page/notifications.svg +0 -5
- package/public/settings_page/notifications_active.svg +0 -5
- package/public/settings_page/privacy.svg +0 -4
- package/public/settings_page/privacy_active.svg +0 -4
- package/public/settings_page/settings.svg +0 -5
- package/public/settings_page/settings_active.svg +0 -5
- package/public/settings_page/upload.svg +0 -4
- package/public/share/copy-link-btn.svg +0 -6
- package/public/share/email-btn.svg +0 -5
- package/public/share/facebook-btn.svg +0 -5
- package/public/share/insta-btn.svg +0 -21
- package/public/share/reddit-btn.svg +0 -11
- package/public/share/telegram-btn.svg +0 -4
- package/public/share/twitter-btn.svg +0 -5
- package/public/share/whatsapp-btn.svg +0 -6
- package/public/share-icon.svg +0 -7
- package/public/showCaseIcons/heart.svg +0 -3
- package/public/sidebar/aboutLudo.svg +0 -40
- package/public/sidebar/aboutLudoDark.svg +0 -52
- package/public/sidebar/api.svg +0 -3
- package/public/sidebar/close.svg +0 -3
- package/public/sidebar/disconnect.svg +0 -3
- package/public/sidebar/explore.svg +0 -5
- package/public/sidebar/ludoX.svg +0 -63
- package/public/sidebar/my-invites.svg +0 -4
- package/public/sidebar/rewards.svg +0 -4
- package/public/sidebar/submitNft.svg +0 -3
- package/public/socials/facebook.svg +0 -4
- package/public/socials/instagram.svg +0 -5
- package/public/socials/twitter.svg +0 -3
- package/public/socials/website.svg +0 -8
- package/public/tabs/arrow_right.svg +0 -3
- package/public/tabs/arrow_right_dark.svg +0 -3
- package/public/tests/test_1.svg +0 -11
- package/public/toTopBtn/toTopBtn.svg +0 -4
- package/public/upload-userpic.svg +0 -11
- package/public/userpic-placeholder.jpg +0 -0
- package/public/userpics/placeholder-lg-1.svg +0 -10
- package/public/userpics/placeholder-sm-1.svg +0 -10
- package/public/video/pause.svg +0 -5
- package/public/video/play.svg +0 -4
- package/public/wallets/arkane-btn.svg +0 -5
- package/public/wallets/bitski-btn.svg +0 -12
- package/public/wallets/elrond-btn.svg +0 -36
- package/public/wallets/elrond-icon-sm.svg +0 -35
- package/public/wallets/elrond.svg +0 -4
- package/public/wallets/ethereum-icon-sm.svg +0 -7
- package/public/wallets/flow-btn.svg +0 -6
- package/public/wallets/flow-icon-sm.svg +0 -12
- package/public/wallets/formatic-btn.svg +0 -4
- package/public/wallets/formatic-icon-sm.svg +0 -4
- package/public/wallets/maiar-btn.svg +0 -17
- package/public/wallets/maiar-icon-sm.svg +0 -17
- package/public/wallets/metamask-btn.svg +0 -33
- package/public/wallets/metamask-icon-sm.svg +0 -32
- package/public/wallets/phantom.svg +0 -4
- package/public/wallets/plus.svg +0 -4
- package/public/wallets/solana-btn.svg +0 -20
- package/public/wallets/solana-icon-sm.svg +0 -19
- package/public/wallets/terra-btn.svg +0 -29
- package/public/wallets/terra-icon-sm.svg +0 -29
- package/public/wallets/tezos-btn.svg +0 -12
- package/public/wallets/tezos-icon-sm.svg +0 -11
- package/public/wallets/wallet_connect.svg +0 -4
- package/public/wallets/walletconnect-btn.svg +0 -3
- package/public/wallets/walletlink-btn.svg +0 -5
- package/public/wallets/walletlink-icon-sm.svg +0 -5
- package/public/wallets/xdefi-btn.svg +0 -6
- package/public/wallets/xdefi-icon-sm.svg +0 -6
- package/public/warning.svg +0 -3
- package/src/api/graphql/index.ts +0 -15
- package/src/api/index.ts +0 -1
- package/src/api/server-assets/mutations/useDislikeAsset/index.ts +0 -36
- package/src/api/server-assets/mutations/useLikeAsset/index.ts +0 -37
- package/src/api/server-assets/queries/useFetchAssetByBlockchain/index.ts +0 -68
- package/src/api/server-assets/queries/useFetchAssets/index.ts +0 -38
- package/src/api/server-assets/queries/useFetchDynamicAssetLikes/index.ts +0 -43
- package/src/api/server-assets/queries/useFetchDynamicAssetsLikes/index.ts +0 -40
- package/src/api/server-collection/mutations/useDislikeCollection/index.ts +0 -37
- package/src/api/server-collection/mutations/useLikeCollection/index.ts +0 -37
- package/src/api/server-experiences/queries/useFetchMyExperienceWithLevel/index.ts +0 -121
- package/src/api/server-experiences/queries/useFetchMyTasks/index.ts +0 -61
- package/src/api/server-galleries/mutations/useAddAssetsToGallery/index.ts +0 -42
- package/src/api/server-galleries/mutations/useAddChangeGalleryBanner/index.ts +0 -35
- package/src/api/server-galleries/mutations/useAddCollectionsToGallery/index.ts +0 -44
- package/src/api/server-galleries/mutations/useAddCreationsToGallery/index.ts +0 -53
- package/src/api/server-galleries/mutations/useCreateFavorites/index.ts +0 -31
- package/src/api/server-galleries/mutations/useCreateGallery/index.ts +0 -31
- package/src/api/server-galleries/mutations/useDeleteGallery/index.ts +0 -50
- package/src/api/server-galleries/mutations/useDeleteGalleryBanner/index.ts +0 -43
- package/src/api/server-galleries/mutations/useEditGallery/index.ts +0 -30
- package/src/api/server-galleries/mutations/useRemoveAssetFromGallery/index.ts +0 -61
- package/src/api/server-galleries/mutations/useRemoveCollectionFromGallery/index.ts +0 -55
- package/src/api/server-galleries/queries/useFetchGallery/index.ts +0 -54
- package/src/api/server-galleries/queries/useFetchGalleryAssets/index.ts +0 -99
- package/src/api/server-galleries/queries/useFetchMyFavorites/index.ts +0 -82
- package/src/api/server-galleries/queries/useFetchMyGalleries/index.ts +0 -87
- package/src/api/server-galleries/queries/useFetchSubscribedGalleries/index.ts +0 -84
- package/src/api/server-galleries/queries/useFetchUserFavorites/index.ts +0 -86
- package/src/api/server-identities/mutations/useAddWalletElrond/index.ts +0 -46
- package/src/api/server-identities/mutations/useAddWalletFlow/index.ts +0 -46
- package/src/api/server-identities/mutations/useAddWalletMetamask/index.ts +0 -55
- package/src/api/server-identities/mutations/useAddWalletSolana/index.ts +0 -46
- package/src/api/server-identities/mutations/useAddWalletTezos/index.ts +0 -46
- package/src/api/server-identities/mutations/useFollowProfile/index.ts +0 -48
- package/src/api/server-identities/mutations/useGenerateNewInviteCodes/index.ts +0 -42
- package/src/api/server-identities/mutations/useInviteCode/index.ts +0 -43
- package/src/api/server-identities/mutations/useRemoveWallet/index.ts +0 -45
- package/src/api/server-identities/mutations/useRevokeToken/index.ts +0 -23
- package/src/api/server-identities/mutations/useSaveEmailOfJoiner/index.ts +0 -44
- package/src/api/server-identities/mutations/useUnfollowProfile/index.ts +0 -47
- package/src/api/server-identities/queries/useFetchProfile/index.ts +0 -100
- package/src/api/server-identities/queries/useFetchUserWallets/index.ts +0 -24
- package/src/api/server-identities/queries/useGetMyInviteCodes/index.ts +0 -47
- package/src/api/server-medias/mutations/useDeleteUserpic/index.ts +0 -23
- package/src/api/server-medias/mutations/useUploadUserpic/index.ts +0 -31
- package/src/api/server-medias/queries/useFetchUserPic/index.ts +0 -43
- package/src/api/server-opportunities/mutations/useDislikeOpportunity.ts +0 -32
- package/src/api/server-opportunities/mutations/useLikeOpportunity.ts +0 -32
- package/src/api/server-opportunities/mutations/useOpenOpportunity/index.ts +0 -34
- package/src/api/server-opportunities/queries/useGetOpportunities.ts +0 -27
- package/src/api/server-preferences/mutations/useSaveUserExpectations/index.tsx +0 -49
- package/src/api/server-preferences/mutations/useSaveUserInterests/index.ts +0 -49
- package/src/api/server-preferences/queries/fetchSearchResultSelections/index.ts +0 -36
- package/src/api/server-preferences/queries/fetchSearchResultSelections/queryData.ts +0 -82
- package/src/api/server-preferences/queries/useFetchExpectations/index.ts +0 -25
- package/src/api/server-preferences/queries/useFetchInterests/index.ts +0 -23
- package/src/api/server-preferences/queries/useFetchSearchResultTimeSelection/index.ts +0 -50
- package/src/api/server-preferences/queries/useFetchUserInterests/index.ts +0 -27
- package/src/api/server-preferences/queries/useSearchResultBlockchainSelections/index.ts +0 -54
- package/src/api/server-preferences/queries/useSearchResultCategorySelections/index.ts +0 -52
- package/src/api/server-preferences/queries/useSearchResultStatusSelections/index.ts +0 -53
- package/src/api/server-preferences/queries/useSearchResultTypeSelections/index.ts +0 -62
- package/src/api/server-search/queries/useFetchAllCreations/index.ts +0 -114
- package/src/api/server-search/queries/useFetchAssetsCount/index.ts +0 -35
- package/src/api/server-search/queries/useFetchCollection/index.ts +0 -75
- package/src/api/server-search/queries/useFetchCollections/index.ts +0 -126
- package/src/api/server-search/queries/useFetchDynamicCollectionData/index.ts +0 -165
- package/src/api/server-search/queries/useFetchFindAllTopEntitiesByName/index.ts +0 -82
- package/src/api/server-search/queries/useFetchNetWorth/index.ts +0 -26
- package/src/api/server-search/queries/useFindCreations/index.ts +0 -130
- package/src/api/server-search/queries/useFindProfilesByName/index.ts +0 -72
- package/src/api/server-search/queries/useFindShowcaseItems/index.ts +0 -42
- package/src/api/server-search/queries/useFindUserCreations/index.ts +0 -115
- package/src/api/server-search/queries/useFindUserShowcaseItems/index.ts +0 -40
- package/src/api/subscriptions/SubscriberInviteNotification.tsx +0 -54
- package/src/components/CreationCard/CardHead.tsx +0 -161
- package/src/components/CreationCard/index.tsx +0 -226
- package/src/components/addWalletsRedirectPage/index.tsx +0 -74
- package/src/components/assetJSONLD.tsx +0 -31
- package/src/components/banner/index.tsx +0 -159
- package/src/components/base/Meta/index.tsx +0 -140
- package/src/components/base/NoSSR/index.tsx +0 -11
- package/src/components/collectionPage/collectionLike/index.tsx +0 -73
- package/src/components/deleteDialog/index.tsx +0 -237
- package/src/components/editProfile/Cropper/index.tsx +0 -111
- package/src/components/editProfile/UserPicProfile/index.tsx +0 -375
- package/src/components/favoriteList/add/addAssetToFavoriteList/index.tsx +0 -59
- package/src/components/favoriteList/add/addCollectionToFavoriteList/index.tsx +0 -59
- package/src/components/favoriteList/add/addCreationToFavoriteList/index.tsx +0 -65
- package/src/components/filters/applyResetBtns/index.tsx +0 -80
- package/src/components/filters/galleriesFiltersForm/index.tsx +0 -157
- package/src/components/filters/index.tsx +0 -256
- package/src/components/filters/mobileFilters/index.tsx +0 -24
- package/src/components/filters/setsFiltersForm/index.tsx +0 -130
- package/src/components/forms/form/index.tsx +0 -241
- package/src/components/forms/formsNavigation/index.tsx +0 -165
- package/src/components/forms/formsTemplate/index.tsx +0 -772
- package/src/components/forms/types/index.ts +0 -50
- package/src/components/gallery/add/addAssetToGallery/index.tsx +0 -60
- package/src/components/gallery/add/addCreationToGallery/index.tsx +0 -95
- package/src/components/gradientLabel/index.tsx +0 -37
- package/src/components/headers/components/headerExperienceLabel/index.tsx +0 -40
- package/src/components/headers/components/headerUserPic/index.tsx +0 -41
- package/src/components/headers/header/index.tsx +0 -43
- package/src/components/headers/headerSearch/index.tsx +0 -52
- package/src/components/headers/headerSimple/index.tsx +0 -98
- package/src/components/inviteCodesForms/getEarlyAccessForm/index.tsx +0 -193
- package/src/components/inviteCodesForms/joinWaitListForm/index.tsx +0 -117
- package/src/components/inviteCodesForms/styles/index.ts +0 -61
- package/src/components/inviteCodesPage/components/index.tsx +0 -6
- package/src/components/inviteCodesPage/components/inviteCodes/index.tsx +0 -28
- package/src/components/inviteCodesPage/components/inviteCodes/inviteCode/index.tsx +0 -52
- package/src/components/inviteCodesPage/components/inviteCodes/inviteCode/loader/index.tsx +0 -27
- package/src/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/index.tsx +0 -36
- package/src/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/loader/index.tsx +0 -18
- package/src/components/inviteCodesPage/components/inviteCodes/inviteCodeCopy/index.tsx +0 -45
- package/src/components/inviteCodesPage/components/inviteCodes/inviteCodeDate/index.tsx +0 -25
- package/src/components/inviteCodesPage/wrappers/index.tsx +0 -5
- package/src/components/inviteCodesPage/wrappers/resumeCodes/index.tsx +0 -124
- package/src/components/inviteCodesPage/wrappers/resumeCodes/loader/index.tsx +0 -31
- package/src/components/inviteCodesPage/wrappers/unusedCodes/index.tsx +0 -41
- package/src/components/inviteCodesPage/wrappers/usedCodes/index.tsx +0 -58
- package/src/components/linkTabs/index.tsx +0 -64
- package/src/components/linkTabs/linkTab/index.tsx +0 -94
- package/src/components/myWallets/index.tsx +0 -52
- package/src/components/myWallets/myWalletItem/index.tsx +0 -207
- package/src/components/navigation/index.tsx +0 -199
- package/src/components/profile/MultiversXAudit/MultiversXAudit.tsx +0 -230
- package/src/components/profile/ProfileTabs.tsx +0 -59
- package/src/components/profile/aboutText/index.tsx +0 -277
- package/src/components/profile/addToGalleryBtns/index.tsx +0 -144
- package/src/components/profile/followersSocial/followers/index.tsx +0 -56
- package/src/components/profile/followersSocial/index.tsx +0 -44
- package/src/components/profile/followersSocial/social/index.tsx +0 -73
- package/src/components/profile/info/index.tsx +0 -109
- package/src/components/profile/interests/data.ts +0 -24
- package/src/components/profile/interests/index.tsx +0 -182
- package/src/components/profile/interests/type.ts +0 -8
- package/src/components/profile/jsonLd/index.tsx +0 -28
- package/src/components/profile/pageHead/index.tsx +0 -133
- package/src/components/profile/profileSkeleton/index.tsx +0 -103
- package/src/components/profile/profileUserCards/index.tsx +0 -27
- package/src/components/profile/profileUserCards/profileUserCard/index.tsx +0 -248
- package/src/components/profile/rank/index.tsx +0 -65
- package/src/components/profile/stats/index.tsx +0 -59
- package/src/components/profile/wallets/index.tsx +0 -177
- package/src/components/profile/wrapper/index.tsx +0 -36
- package/src/components/registrationPage/index.tsx +0 -4
- package/src/components/registrationPage/registrationSelectBox/index.tsx +0 -96
- package/src/components/registrationPage/registrationSelection/index.tsx +0 -141
- package/src/components/rewards/FAQ/index.tsx +0 -251
- package/src/components/rewards/clarifications/index.tsx +0 -128
- package/src/components/rewards/logoBottom/index.tsx +0 -52
- package/src/components/rewards/prograssBar/index.tsx +0 -62
- package/src/components/rewards/rewardsButton/index.tsx +0 -79
- package/src/components/rewards/seasonBanner/index.tsx +0 -81
- package/src/components/rewards/taskExpTab/index.tsx +0 -251
- package/src/components/rewards/tasksGrid/index.tsx +0 -182
- package/src/components/rewards/userExp/index.tsx +0 -356
- package/src/components/search/SearchInputContainer.tsx +0 -298
- package/src/components/search/index.tsx +0 -271
- package/src/components/search/searchCategories/index.tsx +0 -169
- package/src/components/search/searchCategories/type.ts +0 -6
- package/src/components/search/searchCloseMoreButtons/index.tsx +0 -101
- package/src/components/search/searchResultCaption/index.tsx +0 -78
- package/src/components/search/searchSelectsGalleries/index.tsx +0 -176
- package/src/components/search/searchSelectsSets/index.tsx +0 -160
- package/src/components/search/searchSimpleInput/index.tsx +0 -174
- package/src/components/search/searchSuggestions/index.tsx +0 -234
- package/src/components/search/searchSuggestions/searchSuggestionsCaption/index.tsx +0 -58
- package/src/components/search/searchSuggestions/searchSuggestionsFooter/index.tsx +0 -63
- package/src/components/search/searchSuggestions/searchSuggestionsItem/index.tsx +0 -153
- package/src/components/search/searchSuggestions/searchSuggestionsItem/searchSuggestionsItemSkeleton/index.tsx +0 -116
- package/src/components/search/searchSuggestions/searchSuggestionsNotFound/index.tsx +0 -56
- package/src/components/shareDialog/index.tsx +0 -260
- package/src/components/showcaseAssets/showcaseSort/data.ts +0 -29
- package/src/components/showcaseAssets/showcaseSort/index.tsx +0 -62
- package/src/components/sidebar/data.tsx +0 -89
- package/src/components/sidebar/index.tsx +0 -222
- package/src/components/sidebar/initializer.tsx +0 -8
- package/src/components/sidebar/sidebarFilters/index.tsx +0 -74
- package/src/components/sidebar/sidebarInviteCodeLabel/index.tsx +0 -75
- package/src/components/socialButtons/data.tsx +0 -52
- package/src/components/socialButtons/icons/discord.tsx +0 -17
- package/src/components/socialButtons/icons/facebook.tsx +0 -18
- package/src/components/socialButtons/icons/instagram.tsx +0 -22
- package/src/components/socialButtons/icons/medium.tsx +0 -17
- package/src/components/socialButtons/icons/telegram.tsx +0 -17
- package/src/components/socialButtons/icons/twitter.tsx +0 -17
- package/src/components/socialButtons/index.tsx +0 -69
- package/src/components/socialButtons/type.ts +0 -7
- package/src/components/tabs/icons/bell.tsx +0 -17
- package/src/components/tabs/icons/profile.tsx +0 -26
- package/src/components/tabs/icons/secure.tsx +0 -24
- package/src/components/tabs/index.tsx +0 -128
- package/src/components/toTopBtn/index.tsx +0 -117
- package/src/dto/AssetEntity/index.ts +0 -294
- package/src/dto/AssetEntity/interface.ts +0 -46
- package/src/dto/AssetEntity/views/AssetAudio/index.tsx +0 -36
- package/src/dto/AssetEntity/views/AssetImage/index.tsx +0 -56
- package/src/dto/AssetEntity/views/AssetObject/index.tsx +0 -66
- package/src/dto/AssetEntity/views/AssetOther/index.tsx +0 -60
- package/src/dto/AssetEntity/views/AssetScreenshot/index.tsx +0 -58
- package/src/dto/AssetEntity/views/AssetVideo/index.tsx +0 -36
- package/src/dto/AssetEntity/views/index.ts +0 -7
- package/src/dto/Collection/CollectionCreationEntity/index.ts +0 -198
- package/src/dto/Collection/CollectionCreationEntity/interface.ts +0 -26
- package/src/dto/Collection/CollectionEntity/index.ts +0 -111
- package/src/dto/Collection/CollectionEntity/interface.ts +0 -21
- package/src/dto/CreationEntity/index.ts +0 -212
- package/src/dto/CreationEntity/interface.ts +0 -32
- package/src/dto/GalleryEntityV2/index.ts +0 -97
- package/src/dto/GalleryEntityV2/interface.ts +0 -18
- package/src/dto/common/ItemType/data.ts +0 -42
- package/src/dto/common/ItemType/index.tsx +0 -51
- package/src/dto/common/ItemViews/CreationAudio/index.tsx +0 -37
- package/src/dto/common/ItemViews/CreationImage/index.tsx +0 -49
- package/src/dto/common/ItemViews/CreationObject/index.tsx +0 -33
- package/src/dto/common/ItemViews/CreationOther/index.tsx +0 -36
- package/src/dto/common/ItemViews/CreationVideo/index.tsx +0 -36
- package/src/dto/common/Media/Audio/index.tsx +0 -48
- package/src/dto/common/Media/Image/index.tsx +0 -57
- package/src/dto/common/Media/Object/index.tsx +0 -58
- package/src/dto/common/Media/Other/index.tsx +0 -80
- package/src/dto/common/Media/Screenshot/index.tsx +0 -57
- package/src/dto/common/Media/Urls/index.ts +0 -184
- package/src/dto/common/Media/Video/index.tsx +0 -48
- package/src/dto/common/Media/index.tsx +0 -75
- package/src/dto/common/Media/interface.ts +0 -27
- package/src/entities/user/type.ts +0 -10
- package/src/fonts/FontsInitializeLayout.tsx +0 -168
- package/src/fonts/vars.ts +0 -4
- package/src/hooks/apollo/index.tsx +0 -16
- package/src/hooks/audio/useMultiAudio/index.tsx +0 -54
- package/src/hooks/extension/useExtension/index.ts +0 -44
- package/src/hooks/favorites/useGetFavoriteGallaryCreations/index.ts +0 -175
- package/src/hooks/favorites/useGetUserFevoritesCreations/index.ts +0 -243
- package/src/hooks/galleries/index.ts +0 -1
- package/src/hooks/galleries/useGetUserGalleriesCreations/index.ts +0 -201
- package/src/hooks/index.ts +0 -8
- package/src/hooks/likes/dynamic/useFindCollectionsAndLikes.tsx +0 -191
- package/src/hooks/likes/dynamic/useFindCreationsAndLikes.tsx +0 -160
- package/src/hooks/likes/dynamic/useGetCollectionInfoAndLikes.tsx +0 -183
- package/src/hooks/likes/dynamic/useGetCreationsAndLikes.tsx +0 -177
- package/src/hooks/likes/dynamic/useGetCreationsAndLikesByType.tsx +0 -191
- package/src/hooks/likes/dynamic/useGetMixedLikesFavoriteList.tsx +0 -95
- package/src/hooks/likes/dynamic/useGetTableLikes.tsx +0 -144
- package/src/hooks/likes/index.ts +0 -149
- package/src/hooks/likes/useGetLikesAsset.ts +0 -127
- package/src/hooks/searchFiltersConnector/index.tsx +0 -184
- package/src/hooks/useToGalleryAsset/index.tsx +0 -127
- package/src/index.ts +0 -10
- package/src/layouts/GlobalLayout.tsx +0 -55
- package/src/layouts/base/LWithRegularHeader/index.tsx +0 -25
- package/src/layouts/base/LWithRegularHeader/type.ts +0 -7
- package/src/layouts/base/LWithSearchHeader/index.tsx +0 -19
- package/src/layouts/base/LWithSearchHeader/type.ts +0 -7
- package/src/layouts/base/LWithSimpleHeader/index.tsx +0 -25
- package/src/layouts/base/LWithSimpleHeader/type.ts +0 -7
- package/src/layouts/base/LWithoutHeader/index.tsx +0 -31
- package/src/layouts/base/index.ts +0 -7
- package/src/layouts/custom/accountLayout/index.tsx +0 -27
- package/src/layouts/custom/formsLayout/index.tsx +0 -22
- package/src/layouts/custom/index.ts +0 -9
- package/src/layouts/custom/mainLayout/index.tsx +0 -29
- package/src/layouts/custom/searchLayout/index.tsx +0 -31
- package/src/layouts/custom/simpleLayout/index.tsx +0 -28
- package/src/layouts/custom/styles.ts +0 -44
- package/src/layouts/index.ts +0 -8
- package/src/layouts/pageTransitionLayout.tsx +0 -45
- package/src/layouts/pageWithLayout.ts +0 -18
- package/src/modules/gallery/api/useGetAssetsAndCollectionForFavorite.ts +0 -312
- package/src/modules/gallery/api/useGetFavoriteGallery.ts +0 -47
- package/src/modules/gallery/store.ts +0 -135
- package/src/modules/gallery/ui/AllResults.tsx +0 -21
- package/src/modules/gallery/ui/Description.tsx +0 -134
- package/src/modules/gallery/ui/EditGallery.tsx +0 -97
- package/src/modules/gallery/ui/GalleryDeleteIcon.tsx +0 -49
- package/src/modules/gallery/ui/PlaceholderItemsGallery.tsx +0 -75
- package/src/modules/gallery/ui/STopSections.ts +0 -28
- package/src/modules/gallery/ui/chooseGalleryItems/chooseGalleryItem/index.tsx +0 -130
- package/src/modules/gallery/ui/chooseGalleryItems/index.tsx +0 -304
- package/src/modules/gallery/ui/createGalleryForm/index.tsx +0 -236
- package/src/modules/gallery/ui/editGalleryForm/index.tsx +0 -280
- package/src/modules/gallery/ui/itemsPreview/index.tsx +0 -392
- package/src/modules/notifications/CreatorNotifications.tsx +0 -29
- package/src/modules/notifications/index.tsx +0 -10
- package/src/modules/sessionScroll/globalTabs.ts +0 -59
- package/src/modules/sessionScroll/index.ts +0 -84
- package/src/modules/sessionScroll/type.ts +0 -7
- package/src/modules/sessionScroll/useVirtuosoInitialScroll.ts +0 -77
- package/src/modules/user/auth/useAuthVerification.ts +0 -53
- package/src/modules/user/auth/useSignIn.ts +0 -31
- package/src/modules/user/auth/useSignOut.ts +0 -28
- package/src/modules/user/profileData/profileDataInitialization.tsx +0 -67
- package/src/modules/user/store.tsx +0 -124
- package/src/modules/virtuoso/VirtuosoPageBuilder.tsx +0 -208
- package/src/modules/virtuoso/VirtuosoToTopBtn.tsx +0 -44
- package/src/modules/virtuoso/types.ts +0 -9
- package/src/modules/virtuoso/useSubscribeVirtuosoScrollToHeader.ts +0 -26
- package/src/modules/virtuoso/useVirtuosoData.ts +0 -66
- package/src/pages/index.tsx +0 -15
- package/src/store/index.ts +0 -19
- package/src/store/media/index.ts +0 -62
- package/src/store/media/types.ts +0 -12
- package/src/store/ui/index.ts +0 -153
- package/src/store/ui/types.ts +0 -54
- package/src/store/ui/utils.ts +0 -34
- package/src/styles/ScreenWidth.ts +0 -23
- package/src/styles/animations/index.tsx +0 -19
- package/src/styles/colors/index.ts +0 -36
- package/src/styles/globalStyles.tsx +0 -79
- package/src/styles/index.ts +0 -7
- package/src/styles/mixins/boxShadow.tsx +0 -13
- package/src/styles/mixins/boxTransform.tsx +0 -12
- package/src/styles/mixins/index.ts +0 -4
- package/src/styles/mixins/z-indexes.tsx +0 -10
- package/src/styles/typography/index.tsx +0 -11
- package/src/system/ActiveLink/index.tsx +0 -39
- package/src/system/Alert/index.tsx +0 -20
- package/src/system/Alert/type.ts +0 -10
- package/src/system/BasicOverlay/index.tsx +0 -27
- package/src/system/Buttons/IconButton/index.tsx +0 -3
- package/src/system/Buttons/IconWithButton/index.tsx +0 -3
- package/src/system/Buttons/MainButton/index.tsx +0 -3
- package/src/system/Buttons/SecondaryButton/index.tsx +0 -3
- package/src/system/Cards/CardCheckbox/index.tsx +0 -115
- package/src/system/Cards/CardContent/CardCategory/index.tsx +0 -67
- package/src/system/Cards/CardContent/CardLikes/index.tsx +0 -45
- package/src/system/Cards/CardContent/CardShowMore/index.tsx +0 -139
- package/src/system/Cards/CardContent/index.tsx +0 -167
- package/src/system/Cards/CardHeadIcons/index.tsx +0 -159
- package/src/system/Cards/CardMedia/CardAudio/index.tsx +0 -118
- package/src/system/Cards/CardMedia/CardImage/index.tsx +0 -44
- package/src/system/Cards/CardMedia/CardVideo/index.tsx +0 -112
- package/src/system/Cards/CardMedia/index.ts +0 -5
- package/src/system/Cards/CardRank/index.tsx +0 -103
- package/src/system/Cards/CardsGrid/index.tsx +0 -163
- package/src/system/Cards/MultiMediaCard/index.tsx +0 -197
- package/src/system/Cards/RegularCard/index.tsx +0 -157
- package/src/system/Cards/Styles/Content.ts +0 -38
- package/src/system/Cards/Styles/Head.ts +0 -45
- package/src/system/Cards/Styles/Headicons.ts +0 -120
- package/src/system/Cards/Styles/Image.ts +0 -23
- package/src/system/Cards/Styles/Likes.ts +0 -53
- package/src/system/Cards/Styles/MultiHead.ts +0 -44
- package/src/system/Cards/Styles/Video.ts +0 -12
- package/src/system/Cards/Styles/index.ts +0 -13
- package/src/system/Cards/index.ts +0 -24
- package/src/system/CardsHolderWithSkeleton/CardsHolder/CardsError/index.tsx +0 -60
- package/src/system/CardsHolderWithSkeleton/CardsHolder/CardsNoResults/index.tsx +0 -41
- package/src/system/CardsHolderWithSkeleton/CardsHolder/CardsSkeleton/index.tsx +0 -80
- package/src/system/CardsHolderWithSkeleton/CardsHolder/index.tsx +0 -118
- package/src/system/CardsHolderWithSkeleton/CardsHolderLoader/index.tsx +0 -52
- package/src/system/CardsHolderWithSkeleton/index.tsx +0 -89
- package/src/system/DropDown/DropDown.test.tsx +0 -60
- package/src/system/DropDown/index.tsx +0 -92
- package/src/system/Filters/helpers.ts +0 -17
- package/src/system/Filters/type.ts +0 -19
- package/src/system/Forms/Checkbox/Checkbox.test.tsx +0 -92
- package/src/system/Forms/Checkbox/index.tsx +0 -128
- package/src/system/Forms/DatePicker/index.tsx +0 -189
- package/src/system/Forms/ErrorLabel/ErrorLabel.test.tsx +0 -28
- package/src/system/Forms/ErrorLabel/index.tsx +0 -35
- package/src/system/Forms/Input/Input.test.tsx +0 -79
- package/src/system/Forms/Input/index.tsx +0 -108
- package/src/system/Forms/Input/type.ts +0 -5
- package/src/system/Forms/Messages/index.ts +0 -68
- package/src/system/Forms/RadioInput/index.tsx +0 -117
- package/src/system/Forms/Selects/DesktopSelect/index.tsx +0 -236
- package/src/system/Forms/Selects/DesktopSelect/type.ts +0 -5
- package/src/system/Forms/Selects/MobileSelect/index.tsx +0 -80
- package/src/system/Forms/TextArea/index.tsx +0 -119
- package/src/system/Forms/index.ts +0 -8
- package/src/system/Img/ExternalImage/index.tsx +0 -36
- package/src/system/Img/ImageInterceptor/ImageInterceptor.test.tsx +0 -77
- package/src/system/Img/ImageInterceptor/index.tsx +0 -73
- package/src/system/Img/Profilepic/index.tsx +0 -55
- package/src/system/Img/Userpic/UserPic.test.tsx +0 -98
- package/src/system/Img/Userpic/index.tsx +0 -140
- package/src/system/Img/index.ts +0 -5
- package/src/system/Labels/ExperienceLabel/ExperienceLabel.test.tsx +0 -65
- package/src/system/Labels/ExperienceLabel/index.tsx +0 -88
- package/src/system/Labels/InviteLabel/InviteLabel.test.tsx +0 -55
- package/src/system/Labels/InviteLabel/index.tsx +0 -62
- package/src/system/Labels/SkeletonLabel/index.tsx +0 -3
- package/src/system/Modals/Modal/Modal.test.tsx +0 -42
- package/src/system/Modals/Modal/index.tsx +0 -100
- package/src/system/Modals/ModalSidebar/CreatorModalSidebarPortal.tsx +0 -30
- package/src/system/Modals/ModalSidebar/ModalSidebar.test.tsx +0 -41
- package/src/system/Modals/ModalSidebar/ModalSidebarPortal.tsx +0 -31
- package/src/system/Modals/ModalSidebar/index.tsx +0 -95
- package/src/system/Overlay/Overlay.test.tsx +0 -59
- package/src/system/Overlay/index.tsx +0 -48
- package/src/system/PageLoader/index.tsx +0 -3
- package/src/system/Palete/index.tsx +0 -3
- package/src/system/ShareIconResize.tsx +0 -36
- package/src/system/Tabs/TabNavLink/TabNavLink.test.tsx +0 -53
- package/src/system/Tabs/TabNavLink/index.tsx +0 -80
- package/src/system/Tabs/TabsNav/TabsNav.test.tsx +0 -72
- package/src/system/Tabs/TabsNav/index.tsx +0 -47
- package/src/system/Tabs/TabsNav/type.ts +0 -7
- package/src/system/Tabs/TabsPanel/TabsPanel.test.tsx +0 -53
- package/src/system/Tabs/TabsPanel/index.tsx +0 -25
- package/src/system/index.ts +0 -22
- package/src/system/theme.ts +0 -5
- package/src/types/global.d.ts +0 -20
- package/src/types/module/declare-module.d.ts +0 -13
- package/src/types/styled.d.ts +0 -9
- package/src/types/svg/index.d.ts +0 -4
- package/src/utils/3d.ts +0 -54
- package/src/utils/adaptive/check4k.ts +0 -25
- package/src/utils/adaptive/scale.ts +0 -27
- package/src/utils/auth/index.ts +0 -9
- package/src/utils/copyBtn/index.tsx +0 -74
- package/src/utils/env/index.ts +0 -30
- package/src/utils/env/isProd/index.ts +0 -3
- package/src/utils/env/type.ts +0 -5
- package/src/utils/extractItemIds/index.tsx +0 -11
- package/src/utils/getDimensionsImage.ts +0 -43
- package/src/utils/getPageSizeAssets.ts +0 -21
- package/src/utils/healzHandler/index.ts +0 -17
- package/src/utils/imageProportionsSize/index.tsx +0 -27
- package/src/utils/index.ts +0 -8
- package/src/utils/screen/index.ts +0 -111
- package/src/utils/ssrFunctions/index.ts +0 -37
- package/src/utils/ui/index.tsx +0 -9
- package/tests/__mocks__/next/router.js +0 -23
- package/tests/svgrTransform/index.js +0 -8
- package/tsconfig.jest.json +0 -11
- package/tsconfig.json +0 -45
- package/tslint.json +0 -86
- /package/{src/components/headers/components/MobileToggle/index.tsx → dist/components/headers/components/MobileToggle/index.d.ts} +0 -0
- /package/{src/system/Buttons/IconWithButton/themes.ts → dist/components/headers/components/MobileToggle/index.jsx} +0 -0
- /package/{src/components/index.ts → dist/components/index.d.ts} +0 -0
- /package/{src/components/profile/index.ts → dist/components/profile/index.d.ts} +0 -0
- /package/{src/dto/common/ItemViews/index.ts → dist/dto/common/ItemViews/index.d.ts} +0 -0
- /package/{src/dto/index.ts → dist/dto/index.d.ts} +0 -0
- /package/{src/fonts/index.ts → dist/fonts/index.d.ts} +0 -0
- /package/{src/hooks/favorites/index.ts → dist/hooks/favorites/index.d.ts} +0 -0
- /package/{src/modules/index.ts → dist/modules/index.d.ts} +0 -0
- /package/{src/modules/user/auth/index.ts → dist/modules/user/auth/index.d.ts} +0 -0
- /package/{src/modules/user/profileData/index.ts → dist/modules/user/auth/index.js} +0 -0
- /package/{src/modules/user/index.ts → dist/modules/user/index.d.ts} +0 -0
- /package/{src/modules/virtuoso/index.ts → dist/modules/virtuoso/index.d.ts} +0 -0
- /package/{src/system/Buttons/MainButton/themes.ts → dist/system/Buttons/IconWithButton/themes.d.ts} +0 -0
- /package/{src/system/Flex/index.tsx → dist/system/Buttons/IconWithButton/themes.js} +0 -0
- /package/{src/system/Text/index.tsx → dist/system/Buttons/MainButton/themes.d.ts} +0 -0
- /package/{src/system/Buttons/index.ts → dist/system/Buttons/index.d.ts} +0 -0
- /package/{src/system/Filters/index.ts → dist/system/Filters/index.d.ts} +0 -0
- /package/{src/system/Tabs/index.ts → dist/system/Tabs/index.d.ts} +0 -0
- /package/{src/utils/adaptive/index.ts → dist/utils/adaptive/index.d.ts} +0 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
2
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
3
|
+
return cooked;
|
|
4
|
+
};
|
|
5
|
+
import React, { useEffect, useRef, useState } from 'react';
|
|
6
|
+
import Hyphenated from 'react-hyphen';
|
|
7
|
+
import styled from 'styled-components';
|
|
8
|
+
import { AccentColor, TextGrayColor } from '@ludo.ninja/ui/build/styles/colors';
|
|
9
|
+
import { mediaQuery } from '@/styles/ScreenWidth';
|
|
10
|
+
import { FH6, MainText } from '@/styles/typography';
|
|
11
|
+
import { dmsansFontVarCss } from '@/fonts/vars';
|
|
12
|
+
var SDescription = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n margin-top: 16px;\n position: relative;\n overflow: hidden;\n\n .content {\n display: -webkit-box;\n word-break: break-word;\n -webkit-box-orient: vertical;\n white-space: normal;\n overflow: hidden;\n }\n\n .calculate {\n position: absolute;\n top: 0;\n left: 0;\n z-index: -1;\n opacity: 0;\n pointer-events: none;\n }\n\n //=======================\n .descr {\n font-family: ", ";\n word-wrap: break-word;\n ", ";\n color: ", ";\n white-space: normal;\n overflow: visible;\n text-overflow: unset;\n\n ", " {\n .descr {\n font-size: 1.4em;\n }\n }\n }\n\n .readMoreContainer {\n padding-top: 0;\n display: grid;\n grid-template-rows: 0fr;\n opacity: 0;\n pointer-events: none;\n overflow: hidden;\n\n &.show {\n transition: grid-template-rows 300ms ease-in-out,\n padding-top 300ms ease-in-out, opacity 300ms ease-in-out;\n padding-top: 4px;\n grid-template-rows: 1fr;\n opacity: 1;\n pointer-events: unset;\n }\n }\n\n .readMore {\n ", ";\n color: ", ";\n\n user-select: none;\n cursor: pointer;\n min-height: 0;\n }\n"], ["\n margin-top: 16px;\n position: relative;\n overflow: hidden;\n\n .content {\n display: -webkit-box;\n word-break: break-word;\n -webkit-box-orient: vertical;\n white-space: normal;\n overflow: hidden;\n }\n\n .calculate {\n position: absolute;\n top: 0;\n left: 0;\n z-index: -1;\n opacity: 0;\n pointer-events: none;\n }\n\n //=======================\n .descr {\n font-family: ", ";\n word-wrap: break-word;\n ", ";\n color: ", ";\n white-space: normal;\n overflow: visible;\n text-overflow: unset;\n\n ", " {\n .descr {\n font-size: 1.4em;\n }\n }\n }\n\n .readMoreContainer {\n padding-top: 0;\n display: grid;\n grid-template-rows: 0fr;\n opacity: 0;\n pointer-events: none;\n overflow: hidden;\n\n &.show {\n transition: grid-template-rows 300ms ease-in-out,\n padding-top 300ms ease-in-out, opacity 300ms ease-in-out;\n padding-top: 4px;\n grid-template-rows: 1fr;\n opacity: 1;\n pointer-events: unset;\n }\n }\n\n .readMore {\n ", ";\n color: ", ";\n\n user-select: none;\n cursor: pointer;\n min-height: 0;\n }\n"])), dmsansFontVarCss.css, MainText, TextGrayColor, mediaQuery.mobile, FH6, AccentColor);
|
|
13
|
+
export var Description = function (_a) {
|
|
14
|
+
var description = _a.description, _b = _a.lineClamp, lineClamp = _b === void 0 ? 2 : _b;
|
|
15
|
+
var container = useRef(null);
|
|
16
|
+
var position = useRef(null);
|
|
17
|
+
var _c = useState(false), isShowFullDescription = _c[0], setIsShowFullDescription = _c[1];
|
|
18
|
+
var _d = useState(false), isNeedReadMore = _d[0], setIsNeedReadMore = _d[1];
|
|
19
|
+
var handleReadMore = function () {
|
|
20
|
+
setIsNeedReadMore(false);
|
|
21
|
+
setIsShowFullDescription(true);
|
|
22
|
+
};
|
|
23
|
+
useEffect(function () {
|
|
24
|
+
var _a, _b;
|
|
25
|
+
setIsNeedReadMore(((_a = container.current) === null || _a === void 0 ? void 0 : _a.clientHeight) > ((_b = position.current) === null || _b === void 0 ? void 0 : _b.clientHeight));
|
|
26
|
+
}, [description]);
|
|
27
|
+
if (description) {
|
|
28
|
+
var content = (<Hyphenated>
|
|
29
|
+
<p className={"descr"}>{description}</p>
|
|
30
|
+
</Hyphenated>);
|
|
31
|
+
return (<SDescription>
|
|
32
|
+
<div className={"content"} style={{
|
|
33
|
+
WebkitLineClamp: isShowFullDescription ? 'unset' : lineClamp,
|
|
34
|
+
}} ref={position}>
|
|
35
|
+
{content}
|
|
36
|
+
</div>
|
|
37
|
+
<div className={"readMoreContainer ".concat(isNeedReadMore ? 'show' : '')}>
|
|
38
|
+
<span className={"readMore "} onClick={handleReadMore}>
|
|
39
|
+
Read more
|
|
40
|
+
</span>
|
|
41
|
+
</div>
|
|
42
|
+
|
|
43
|
+
<div className={"calculate"} ref={container}>
|
|
44
|
+
{content}
|
|
45
|
+
</div>
|
|
46
|
+
</SDescription>);
|
|
47
|
+
}
|
|
48
|
+
return null;
|
|
49
|
+
};
|
|
50
|
+
var templateObject_1;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import GalleryEntityV2 from '@/dto/GalleryEntityV2';
|
|
3
|
+
export declare const EditGallery: ({ galleryId, handleRemoveAsset, gallery, titleAssets, titleForm, inputPlaceHolderText, }: {
|
|
4
|
+
gallery: GalleryEntityV2;
|
|
5
|
+
galleryId: string;
|
|
6
|
+
handleRemoveAsset: (creationIdToRemove: string) => (itemType: 'asset' | 'collection') => void;
|
|
7
|
+
titleAssets: string;
|
|
8
|
+
titleForm: string;
|
|
9
|
+
inputPlaceHolderText: string;
|
|
10
|
+
}) => React.JSX.Element;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
2
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
3
|
+
return cooked;
|
|
4
|
+
};
|
|
5
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
6
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
7
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
8
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
9
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
10
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
11
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
12
|
+
});
|
|
13
|
+
};
|
|
14
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
15
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
16
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
17
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
18
|
+
function step(op) {
|
|
19
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
20
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
21
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
22
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
23
|
+
switch (op[0]) {
|
|
24
|
+
case 0: case 1: t = op; break;
|
|
25
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
26
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
27
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
28
|
+
default:
|
|
29
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
30
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
31
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
32
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
33
|
+
if (t[2]) _.ops.pop();
|
|
34
|
+
_.trys.pop(); continue;
|
|
35
|
+
}
|
|
36
|
+
op = body.call(thisArg, _);
|
|
37
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
38
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
import React from 'react';
|
|
42
|
+
import styled from 'styled-components';
|
|
43
|
+
import { useGetAssetsAndCollectionForFavorite } from '@/modules/gallery/api/useGetAssetsAndCollectionForFavorite';
|
|
44
|
+
import { useGalleryStore } from '@/modules/gallery/store';
|
|
45
|
+
import ItemsPreview from '@/modules/gallery/ui/itemsPreview';
|
|
46
|
+
import { useRemoveAssetFromGalleryV2 } from '@/api/server-galleries/mutations/useRemoveAssetFromGallery';
|
|
47
|
+
import { useRemoveCollectionFromGalleryV2 } from '@/api/server-galleries/mutations/useRemoveCollectionFromGallery';
|
|
48
|
+
import EditGalleryForm from './editGalleryForm';
|
|
49
|
+
var StyledAddFavlist = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n\n @media (max-width: 767px) {\n flex-direction: column;\n }\n"], ["\n display: flex;\n\n @media (max-width: 767px) {\n flex-direction: column;\n }\n"])));
|
|
50
|
+
export var EditGallery = function (_a) {
|
|
51
|
+
var galleryId = _a.galleryId, handleRemoveAsset = _a.handleRemoveAsset, gallery = _a.gallery, titleAssets = _a.titleAssets, titleForm = _a.titleForm, inputPlaceHolderText = _a.inputPlaceHolderText;
|
|
52
|
+
var _b = useGetAssetsAndCollectionForFavorite({
|
|
53
|
+
gallery: gallery,
|
|
54
|
+
activeTab: null,
|
|
55
|
+
}), creationsList = _b.creations, removeCreation = _b.removeCreation, isLoading = _b.isLoading, loadMore = _b.loadMore, isNextLoading = _b.isNextLoading;
|
|
56
|
+
var removeAssetFromGallery = useRemoveAssetFromGalleryV2().removeAssetFromGallery;
|
|
57
|
+
var removeCollectionFromGallery = useRemoveCollectionFromGalleryV2().removeCollectionFromGallery;
|
|
58
|
+
var handleDeleteCreation = function (itemId) { return __awaiter(void 0, void 0, void 0, function () {
|
|
59
|
+
var id;
|
|
60
|
+
return __generator(this, function (_a) {
|
|
61
|
+
switch (_a.label) {
|
|
62
|
+
case 0:
|
|
63
|
+
id = itemId.split('.').splice(1).join('.');
|
|
64
|
+
if (!(itemId.split('.')[0] === 'collection')) return [3 /*break*/, 2];
|
|
65
|
+
return [4 /*yield*/, removeCollectionFromGallery({
|
|
66
|
+
galleryId: galleryId,
|
|
67
|
+
collectionId: id,
|
|
68
|
+
})];
|
|
69
|
+
case 1:
|
|
70
|
+
_a.sent();
|
|
71
|
+
handleRemoveAsset(id)('collection');
|
|
72
|
+
removeCreation(id, 'collection');
|
|
73
|
+
return [3 /*break*/, 4];
|
|
74
|
+
case 2: return [4 /*yield*/, removeAssetFromGallery({
|
|
75
|
+
galleryId: galleryId,
|
|
76
|
+
assetId: id,
|
|
77
|
+
})];
|
|
78
|
+
case 3:
|
|
79
|
+
_a.sent();
|
|
80
|
+
handleRemoveAsset(id)('asset');
|
|
81
|
+
removeCreation(id, 'asset');
|
|
82
|
+
_a.label = 4;
|
|
83
|
+
case 4: return [2 /*return*/];
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
}); };
|
|
87
|
+
var allResults = useGalleryStore(function (state) { return state.allResults; });
|
|
88
|
+
return (<StyledAddFavlist>
|
|
89
|
+
<ItemsPreview creations={creationsList} title={titleAssets} deleteMethod={handleDeleteCreation} isLoading={isLoading} loadMore={loadMore} isNextLoading={isNextLoading} allCount={allResults}/>
|
|
90
|
+
<EditGalleryForm name={gallery.getGalleryName()} description={gallery.getGalleryDescription()} title={titleForm} inputPlaceHolderText={inputPlaceHolderText} galleryId={galleryId}/>
|
|
91
|
+
</StyledAddFavlist>);
|
|
92
|
+
};
|
|
93
|
+
var templateObject_1;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React, { useState } from 'react';
|
|
2
|
+
import IconButton from '@/system/Buttons/IconButton';
|
|
3
|
+
import { getAdaptiveScale } from '@/utils/adaptive/scale';
|
|
4
|
+
import { useWindowDimensionsWithServerInitial } from '@/utils/screen';
|
|
5
|
+
import TrashIcon from '@/public/iconButton/trash.svg';
|
|
6
|
+
import OpenTrashIcon from '@/public/iconButton/trash_open.svg';
|
|
7
|
+
export var GalleryDeleteIcon = function (_a) {
|
|
8
|
+
var onClick = _a.onClick, className = _a.className;
|
|
9
|
+
var windowDimensions = useWindowDimensionsWithServerInitial().windowDimensions;
|
|
10
|
+
var _b = useState(false), isHovered = _b[0], setIsHovered = _b[1];
|
|
11
|
+
var handleHover = function (e) {
|
|
12
|
+
setIsHovered(e.type === 'mouseenter');
|
|
13
|
+
};
|
|
14
|
+
return (<IconButton handleHoverFn={handleHover} onClick={onClick} className={"trash".concat(className ? " ".concat(className) : '')} icon={isHovered ? (<OpenTrashIcon style={getAdaptiveScale({
|
|
15
|
+
windowDimensions: windowDimensions,
|
|
16
|
+
currentSize: 1,
|
|
17
|
+
})}/>) : (<TrashIcon style={getAdaptiveScale({
|
|
18
|
+
windowDimensions: windowDimensions,
|
|
19
|
+
currentSize: 1,
|
|
20
|
+
})}/>)}/>);
|
|
21
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
2
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
3
|
+
return cooked;
|
|
4
|
+
};
|
|
5
|
+
import Skeleton from 'react-loading-skeleton';
|
|
6
|
+
import styled from 'styled-components';
|
|
7
|
+
import { adaptiveValueCalc } from '@ludo.ninja/ui/build/utils/4k';
|
|
8
|
+
import { mediaQuery } from '@/styles/ScreenWidth';
|
|
9
|
+
var SWrapper = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding: 8px;\n display: flex;\n gap: 16px;\n\n & > :last-child {\n display: flex;\n flex-direction: column;\n gap: 6px;\n }\n\n .first {\n border-radius: 6px;\n height: 32px;\n width: 32px;\n }\n\n .second {\n border-radius: 3px;\n height: 14px;\n width: 110px;\n }\n\n .third {\n border-radius: 3px;\n height: 12px;\n width: 67px;\n }\n\n ", " {\n padding: ", ";\n gap: ", ";\n\n & > :last-child {\n gap: ", ";\n }\n\n .first {\n border-radius: ", ";\n height: ", ";\n width: ", ";\n }\n\n .second {\n border-radius: ", ";\n height: ", ";\n width: ", ";\n }\n\n .third {\n border-radius: ", ";\n height: ", ";\n width: ", ";\n }\n }\n"], ["\n padding: 8px;\n display: flex;\n gap: 16px;\n\n & > :last-child {\n display: flex;\n flex-direction: column;\n gap: 6px;\n }\n\n .first {\n border-radius: 6px;\n height: 32px;\n width: 32px;\n }\n\n .second {\n border-radius: 3px;\n height: 14px;\n width: 110px;\n }\n\n .third {\n border-radius: 3px;\n height: 12px;\n width: 67px;\n }\n\n ", " {\n padding: ", ";\n gap: ", ";\n\n & > :last-child {\n gap: ", ";\n }\n\n .first {\n border-radius: ", ";\n height: ", ";\n width: ", ";\n }\n\n .second {\n border-radius: ", ";\n height: ", ";\n width: ", ";\n }\n\n .third {\n border-radius: ", ";\n height: ", ";\n width: ", ";\n }\n }\n"])), mediaQuery.minWidthFourK, adaptiveValueCalc(8), adaptiveValueCalc(16), adaptiveValueCalc(6), adaptiveValueCalc(6), adaptiveValueCalc(32), adaptiveValueCalc(32), adaptiveValueCalc(3), adaptiveValueCalc(14), adaptiveValueCalc(110), adaptiveValueCalc(3), adaptiveValueCalc(12), adaptiveValueCalc(67));
|
|
10
|
+
export var PlaceholderItemsGallery = function () {
|
|
11
|
+
return (<SWrapper>
|
|
12
|
+
<Skeleton baseColor="#CFD5EA" className="first"/>
|
|
13
|
+
<div>
|
|
14
|
+
<Skeleton baseColor="#CFD5EA" className="second"/>
|
|
15
|
+
<Skeleton baseColor="#CFD5EA" className="third"/>
|
|
16
|
+
</div>
|
|
17
|
+
</SWrapper>);
|
|
18
|
+
};
|
|
19
|
+
var templateObject_1;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const STopSections: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
2
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
3
|
+
return cooked;
|
|
4
|
+
};
|
|
5
|
+
import styled from 'styled-components';
|
|
6
|
+
import { adaptiveValueCalc } from '@ludo.ninja/ui/build/utils/4k';
|
|
7
|
+
import { mediaQuery } from '@/styles/ScreenWidth';
|
|
8
|
+
export var STopSections = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: relative;\n width: 1080px;\n margin: 0 auto;\n padding-top: 124px;\n padding-bottom: 24px;\n\n ", " {\n width: 704px;\n }\n\n ", " {\n width: 320px;\n padding-top: 80px;\n }\n\n ", " {\n width: ", ";\n padding-top: ", ";\n padding-bottom: ", ";\n }\n"], ["\n position: relative;\n width: 1080px;\n margin: 0 auto;\n padding-top: 124px;\n padding-bottom: 24px;\n\n ", " {\n width: 704px;\n }\n\n ", " {\n width: 320px;\n padding-top: 80px;\n }\n\n ", " {\n width: ", ";\n padding-top: ", ";\n padding-bottom: ", ";\n }\n"])), mediaQuery.maxWidthTablet, mediaQuery.mobile, mediaQuery.minWidthFourK, adaptiveValueCalc(1080), adaptiveValueCalc(124), adaptiveValueCalc(24));
|
|
9
|
+
var templateObject_1;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import GalleryEntityV2 from '@/dto/GalleryEntityV2';
|
|
3
|
+
declare const ChooseItem: ({ galleryItem, handleIsSelected, isSelected, }: {
|
|
4
|
+
galleryItem: GalleryEntityV2;
|
|
5
|
+
handleIsSelected: (arg: GalleryEntityV2) => void;
|
|
6
|
+
isSelected: boolean;
|
|
7
|
+
}) => React.JSX.Element;
|
|
8
|
+
export default ChooseItem;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
2
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
3
|
+
return cooked;
|
|
4
|
+
};
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import styled from 'styled-components';
|
|
7
|
+
import { adaptiveValueCalc } from '@ludo.ninja/ui/build/utils/4k';
|
|
8
|
+
import { mediaQuery } from '@/styles/ScreenWidth';
|
|
9
|
+
import { BlackColor, InactiveButtonColor, TextGrayColor, } from '@/styles/colors';
|
|
10
|
+
import { FH6, FH7 } from '@/styles/typography';
|
|
11
|
+
import { dmsansFontVarCss } from '@/fonts/vars';
|
|
12
|
+
import DefaultGalleryIcon from '@/public/gallery/defaultImage.svg';
|
|
13
|
+
// Styles
|
|
14
|
+
var StyledChooseItem = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 6px 8px;\n border-radius: 8px;\n background-color: ", ";\n\n .content-item-gallery-pic-default {\n rect {\n fill: ", ";\n }\n }\n\n &:hover {\n background-color: ", ";\n\n .content-item-gallery-pic-default {\n rect {\n fill: #cfd5ea;\n }\n }\n }\n\n .content-item-wrapper {\n display: flex;\n align-items: center;\n }\n\n .content-item-gallery-pic,\n .content-item-gallery-pic-default {\n img,\n svg {\n border-radius: 6px;\n width: 32px;\n height: 32px;\n }\n }\n\n .content-item-gallery-name {\n margin-left: 16px;\n\n .name {\n ", ";\n color: ", ";\n }\n\n .items-count {\n font-family: ", ";\n ", ";\n color: ", ";\n }\n }\n\n ", " {\n padding: ", " ", ";\n border-radius: ", ";\n\n .content-item-gallery-pic,\n .content-item-gallery-pic-default {\n img,\n svg {\n border-radius: ", ";\n width: ", ";\n height: ", ";\n }\n }\n\n .content-item-gallery-name {\n margin-left: ", ";\n }\n }\n"], ["\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 6px 8px;\n border-radius: 8px;\n background-color: ", ";\n\n .content-item-gallery-pic-default {\n rect {\n fill: ", ";\n }\n }\n\n &:hover {\n background-color: ", ";\n\n .content-item-gallery-pic-default {\n rect {\n fill: #cfd5ea;\n }\n }\n }\n\n .content-item-wrapper {\n display: flex;\n align-items: center;\n }\n\n .content-item-gallery-pic,\n .content-item-gallery-pic-default {\n img,\n svg {\n border-radius: 6px;\n width: 32px;\n height: 32px;\n }\n }\n\n .content-item-gallery-name {\n margin-left: 16px;\n\n .name {\n ", ";\n color: ", ";\n }\n\n .items-count {\n font-family: ", ";\n ", ";\n color: ", ";\n }\n }\n\n ", " {\n padding: ", " ", ";\n border-radius: ", ";\n\n .content-item-gallery-pic,\n .content-item-gallery-pic-default {\n img,\n svg {\n border-radius: ", ";\n width: ", ";\n height: ", ";\n }\n }\n\n .content-item-gallery-name {\n margin-left: ", ";\n }\n }\n"])), function (props) {
|
|
15
|
+
return props.isSelected ? InactiveButtonColor : 'none';
|
|
16
|
+
}, function (props) { return (props.isSelected ? '#cfd5ea' : ''); }, function (props) {
|
|
17
|
+
return props.isSelected ? 'none' : InactiveButtonColor;
|
|
18
|
+
}, FH6, BlackColor, dmsansFontVarCss.css, FH7, TextGrayColor, mediaQuery.minWidthFourK, adaptiveValueCalc(6), adaptiveValueCalc(8), adaptiveValueCalc(8), adaptiveValueCalc(6), adaptiveValueCalc(32), adaptiveValueCalc(32), adaptiveValueCalc(16));
|
|
19
|
+
// Component
|
|
20
|
+
var ChooseItem = function (_a) {
|
|
21
|
+
var galleryItem = _a.galleryItem, handleIsSelected = _a.handleIsSelected, isSelected = _a.isSelected;
|
|
22
|
+
return (<StyledChooseItem isSelected={isSelected} onClick={function () { return handleIsSelected(galleryItem); }}>
|
|
23
|
+
<div className={'content-item-wrapper'}>
|
|
24
|
+
<div className="content-item-gallery-pic-default">
|
|
25
|
+
<DefaultGalleryIcon />
|
|
26
|
+
</div>
|
|
27
|
+
<div className={'content-item-gallery-name'}>
|
|
28
|
+
<p className={'name'}>{galleryItem.getGalleryName()}</p>
|
|
29
|
+
<span className={"items-count"}>
|
|
30
|
+
{galleryItem.getGalleryItemsCount()}
|
|
31
|
+
</span>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
</StyledChooseItem>);
|
|
35
|
+
};
|
|
36
|
+
// Export
|
|
37
|
+
export default ChooseItem;
|
|
38
|
+
var templateObject_1;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ApolloError } from '@apollo/client';
|
|
3
|
+
interface IGalleryItems {
|
|
4
|
+
setAddGallery: (value: boolean) => void;
|
|
5
|
+
addMethod: (galleryId: string, ids: string[]) => void;
|
|
6
|
+
title: string;
|
|
7
|
+
titleBtn: string;
|
|
8
|
+
ids: string[];
|
|
9
|
+
isAdded: boolean;
|
|
10
|
+
error: ApolloError | undefined;
|
|
11
|
+
currentMyGalleryId?: false | string | undefined;
|
|
12
|
+
}
|
|
13
|
+
declare const ChooseGalleryItems: ({ isGetMyGalleries, ...props }: IGalleryItems & {
|
|
14
|
+
isGetMyGalleries?: boolean;
|
|
15
|
+
}) => React.JSX.Element;
|
|
16
|
+
export default ChooseGalleryItems;
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
2
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
3
|
+
return cooked;
|
|
4
|
+
};
|
|
5
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
6
|
+
var t = {};
|
|
7
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
8
|
+
t[p] = s[p];
|
|
9
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
10
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
11
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
12
|
+
t[p[i]] = s[p[i]];
|
|
13
|
+
}
|
|
14
|
+
return t;
|
|
15
|
+
};
|
|
16
|
+
import React, { useEffect, useState } from 'react';
|
|
17
|
+
import { Virtuoso } from 'react-virtuoso';
|
|
18
|
+
import styled from 'styled-components';
|
|
19
|
+
import { alertVariants } from '@ludo.ninja/ui/build/system/Alert/type';
|
|
20
|
+
import { adaptiveValueCalc } from '@ludo.ninja/ui/build/utils/4k';
|
|
21
|
+
import { PlaceholderItemsGallery } from '@/modules/gallery/ui/PlaceholderItemsGallery';
|
|
22
|
+
import ChooseGalleryItem from '@/modules/gallery/ui/chooseGalleryItems/chooseGalleryItem';
|
|
23
|
+
import { useUiStore } from '@/store/ui';
|
|
24
|
+
import { useFetchMyFavoritesV2 } from '@/api/server-galleries/queries/useFetchMyFavorites';
|
|
25
|
+
import { useFetchMyGalleriesV2 } from '@/api/server-galleries/queries/useFetchMyGalleries';
|
|
26
|
+
import { mediaQuery } from '@/styles/ScreenWidth';
|
|
27
|
+
import { BlackColor } from '@/styles/colors';
|
|
28
|
+
import { FH3 } from '@/styles/typography';
|
|
29
|
+
import MainButton from '@/system/Buttons/MainButton';
|
|
30
|
+
import CardsHolderLoader from '@/system/CardsHolderWithSkeleton/CardsHolderLoader';
|
|
31
|
+
// Styles
|
|
32
|
+
var StyledChooseGalleryItems = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n min-height: calc(460px - 24px);\n //position: relative;\n\n @media (min-width: 1200px) {\n min-width: 344px;\n }\n\n .head {\n margin-bottom: 20px;\n\n .tittle {\n ", ";\n color: ", ";\n margin: 0;\n }\n }\n\n .content {\n height: 234px;\n overflow-x: auto;\n margin-bottom: 55px;\n\n [data-test-id='virtuoso-item-list'] > *:not([data-index='0']) {\n padding-top: 4px;\n }\n }\n\n .favoriteBtn {\n button {\n width: 100%;\n }\n }\n\n .btns {\n margin-top: 16px;\n display: flex;\n justify-content: center;\n gap: 16px;\n\n button {\n width: 100%;\n }\n\n //button:not(:last-child) {\n // margin-right: 16px;\n //}\n }\n\n @media (max-width: 767px) {\n .content {\n width: auto;\n margin-bottom: 32px;\n }\n }\n\n ", " {\n min-height: calc(", " - ", ");\n min-width: ", ";\n\n .head {\n margin-bottom: ", ";\n }\n\n .content {\n height: ", ";\n margin-bottom: ", ";\n\n [data-test-id='virtuoso-item-list'] > *:not([data-index='0']) {\n padding-top ", ";\n }\n }\n\n .btns {\n margin-top: ", ";\n gap: ", ";\n }\n }\n"], ["\n min-height: calc(460px - 24px);\n //position: relative;\n\n @media (min-width: 1200px) {\n min-width: 344px;\n }\n\n .head {\n margin-bottom: 20px;\n\n .tittle {\n ", ";\n color: ", ";\n margin: 0;\n }\n }\n\n .content {\n height: 234px;\n overflow-x: auto;\n margin-bottom: 55px;\n\n [data-test-id='virtuoso-item-list'] > *:not([data-index='0']) {\n padding-top: 4px;\n }\n }\n\n .favoriteBtn {\n button {\n width: 100%;\n }\n }\n\n .btns {\n margin-top: 16px;\n display: flex;\n justify-content: center;\n gap: 16px;\n\n button {\n width: 100%;\n }\n\n //button:not(:last-child) {\n // margin-right: 16px;\n //}\n }\n\n @media (max-width: 767px) {\n .content {\n width: auto;\n margin-bottom: 32px;\n }\n }\n\n ", " {\n min-height: calc(", " - ", ");\n min-width: ", ";\n\n .head {\n margin-bottom: ", ";\n }\n\n .content {\n height: ", ";\n margin-bottom: ", ";\n\n [data-test-id='virtuoso-item-list'] > *:not([data-index='0']) {\n padding-top ", ";\n }\n }\n\n .btns {\n margin-top: ", ";\n gap: ", ";\n }\n }\n"])), FH3, BlackColor, mediaQuery.minWidthFourK, adaptiveValueCalc(460), adaptiveValueCalc(24), adaptiveValueCalc(344), adaptiveValueCalc(20), adaptiveValueCalc(234), adaptiveValueCalc(55), adaptiveValueCalc(4), adaptiveValueCalc(16), adaptiveValueCalc(16));
|
|
33
|
+
var GalleryItems = function (_a) {
|
|
34
|
+
var galleryItems = _a.galleryItems, loadMore = _a.loadMore, isNextLoading = _a.isNextLoading, isAdded = _a.isAdded, titleBtn = _a.titleBtn, title = _a.title, currentMyGalleryId = _a.currentMyGalleryId, setAddGallery = _a.setAddGallery, addMethod = _a.addMethod, ids = _a.ids, error = _a.error, isLoading = _a.isLoading;
|
|
35
|
+
var _b = useUiStore(function (state) { return ({
|
|
36
|
+
openAlert: state.openAlert,
|
|
37
|
+
closeModalSidebarPortal: state.closeModalSidebarPortal,
|
|
38
|
+
closeModalSidebar: state.closeModalSidebar,
|
|
39
|
+
}); }), closeModalSidebar = _b.closeModalSidebar, openAlert = _b.openAlert, closeModalSidebarPortal = _b.closeModalSidebarPortal;
|
|
40
|
+
var _c = useState(null), selectedItem = _c[0], setSelectedItem = _c[1];
|
|
41
|
+
useEffect(function () {
|
|
42
|
+
if (isAdded) {
|
|
43
|
+
setSelectedItem(null);
|
|
44
|
+
openAlert({
|
|
45
|
+
type: alertVariants.success,
|
|
46
|
+
caption: 'NFT successfully added!',
|
|
47
|
+
text: '',
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
}, [isAdded]);
|
|
51
|
+
useEffect(function () {
|
|
52
|
+
if (error) {
|
|
53
|
+
setSelectedItem(null);
|
|
54
|
+
openAlert({
|
|
55
|
+
type: alertVariants.error,
|
|
56
|
+
caption: error.message,
|
|
57
|
+
text: '',
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
}, [error]);
|
|
61
|
+
var handleIsSelected = function (newGallery) {
|
|
62
|
+
setSelectedItem(newGallery);
|
|
63
|
+
};
|
|
64
|
+
var renderItems = galleryItems === null || galleryItems === void 0 ? void 0 : galleryItems.filter(function (gallery) {
|
|
65
|
+
return gallery.getGalleryType() !== 'likelist' &&
|
|
66
|
+
gallery.getGalleryId() !== currentMyGalleryId;
|
|
67
|
+
}).map(function (galleryItem) { return (<ChooseGalleryItem key={galleryItem.getGalleryId()} galleryItem={galleryItem} isSelected={galleryItem.getGalleryId() === (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.getGalleryId())} handleIsSelected={handleIsSelected}/>); });
|
|
68
|
+
return (<StyledChooseGalleryItems>
|
|
69
|
+
<div className={'head'}>
|
|
70
|
+
<h3 className={'tittle'}>{title}</h3>
|
|
71
|
+
</div>
|
|
72
|
+
<div className="content">
|
|
73
|
+
{!isLoading && galleryItems && (<Virtuoso totalCount={renderItems.length} itemContent={function (index) { return renderItems[index]; }} endReached={loadMore} overscan={200} components={{
|
|
74
|
+
Footer: function () { return (isNextLoading ? <CardsHolderLoader /> : null); },
|
|
75
|
+
}}/>)}
|
|
76
|
+
{isLoading && (<Virtuoso totalCount={20} itemContent={function () { return <PlaceholderItemsGallery />; }}/>)}
|
|
77
|
+
</div>
|
|
78
|
+
<div className="favoriteBtn">
|
|
79
|
+
<MainButton text={titleBtn} variant="outline" onClick={function () { return setAddGallery(true); }}/>
|
|
80
|
+
</div>
|
|
81
|
+
|
|
82
|
+
<div className="btns">
|
|
83
|
+
{/*<div className={'add'}>*/}
|
|
84
|
+
<MainButton text={'Add'} variant="primaryM" disabled={!selectedItem || !ids} onClick={function () {
|
|
85
|
+
addMethod(selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.getGalleryId(), ids);
|
|
86
|
+
}}/>
|
|
87
|
+
{/*</div>*/}
|
|
88
|
+
{/*<div className={'cancel'}>*/}
|
|
89
|
+
<MainButton text={'Cancel'} variant="secondary" onClick={function () {
|
|
90
|
+
closeModalSidebarPortal();
|
|
91
|
+
closeModalSidebar();
|
|
92
|
+
}}/>
|
|
93
|
+
{/*</div>*/}
|
|
94
|
+
</div>
|
|
95
|
+
</StyledChooseGalleryItems>);
|
|
96
|
+
};
|
|
97
|
+
var GalleryItemsMyGallery = function (props) {
|
|
98
|
+
var _a = useFetchMyGalleriesV2(), galleryItems = _a.galleryItems, loadMore = _a.loadMore, isNextLoading = _a.isNextLoading, load = _a.load, isLoading = _a.isLoading;
|
|
99
|
+
useEffect(function () {
|
|
100
|
+
load({ pageSize: 100, pageToken: '' });
|
|
101
|
+
}, []);
|
|
102
|
+
return (<GalleryItems {...props} galleryItems={galleryItems} loadMore={loadMore} isNextLoading={isNextLoading} isLoading={isLoading}/>);
|
|
103
|
+
};
|
|
104
|
+
var GalleryItemsMyFavorite = function (props) {
|
|
105
|
+
var _a = useFetchMyFavoritesV2(), galleryItems = _a.galleryItems, loadMore = _a.loadMore, isNextLoading = _a.isNextLoading, load = _a.load, isLoading = _a.isLoading;
|
|
106
|
+
useEffect(function () {
|
|
107
|
+
load({ pageSize: 100, pageToken: '' });
|
|
108
|
+
}, []);
|
|
109
|
+
return (<GalleryItems {...props} galleryItems={galleryItems} loadMore={loadMore} isNextLoading={isNextLoading} isLoading={isLoading}/>);
|
|
110
|
+
};
|
|
111
|
+
var ChooseGalleryItems = function (_a) {
|
|
112
|
+
var isGetMyGalleries = _a.isGetMyGalleries, props = __rest(_a, ["isGetMyGalleries"]);
|
|
113
|
+
return isGetMyGalleries ? (<GalleryItemsMyGallery {...props}/>) : (<GalleryItemsMyFavorite {...props}/>);
|
|
114
|
+
};
|
|
115
|
+
// Export
|
|
116
|
+
export default ChooseGalleryItems;
|
|
117
|
+
var templateObject_1;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ApolloError } from '@apollo/client';
|
|
3
|
+
import { galleriesSchema as schema } from '@ludo.ninja/api';
|
|
4
|
+
import { IMutationCreateGalleryV2Args } from '@ludo.ninja/api/src/graphql_tools/__generated__/galleriesHost/schema';
|
|
5
|
+
declare const CreateGalleryForm: ({ setAddGallery, title, inputPlaceHolderText, createMethod, error, refetchFavoritesList, }: {
|
|
6
|
+
setAddGallery: (value: boolean) => void;
|
|
7
|
+
refetchFavoritesList?: () => Promise<void>;
|
|
8
|
+
title: string;
|
|
9
|
+
inputPlaceHolderText: string;
|
|
10
|
+
ids?: string[];
|
|
11
|
+
createMethod: ({ name, description, publicAccessible, creationIds, }: schema.IMutationCreateFavoriteListV2Args | schema.IMutationCreateGalleryV2Args) => Promise<void>;
|
|
12
|
+
error: ApolloError | undefined;
|
|
13
|
+
}) => React.JSX.Element;
|
|
14
|
+
export default CreateGalleryForm;
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
2
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
3
|
+
return cooked;
|
|
4
|
+
};
|
|
5
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
6
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
7
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
8
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
9
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
10
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
11
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
12
|
+
});
|
|
13
|
+
};
|
|
14
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
15
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
16
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
17
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
18
|
+
function step(op) {
|
|
19
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
20
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
21
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
22
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
23
|
+
switch (op[0]) {
|
|
24
|
+
case 0: case 1: t = op; break;
|
|
25
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
26
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
27
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
28
|
+
default:
|
|
29
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
30
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
31
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
32
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
33
|
+
if (t[2]) _.ops.pop();
|
|
34
|
+
_.trys.pop(); continue;
|
|
35
|
+
}
|
|
36
|
+
op = body.call(thisArg, _);
|
|
37
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
38
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
import React from 'react';
|
|
42
|
+
import { useForm } from 'react-hook-form';
|
|
43
|
+
import styled from 'styled-components';
|
|
44
|
+
import { alertVariants } from '@ludo.ninja/ui/build/system/Alert/type';
|
|
45
|
+
import { adaptiveValueCalc } from '@ludo.ninja/ui/build/utils/4k';
|
|
46
|
+
import { useUiStore } from '@/store/ui';
|
|
47
|
+
import { mediaQuery } from '@/styles/ScreenWidth';
|
|
48
|
+
import { BlackColor } from '@/styles/colors';
|
|
49
|
+
import { FH3 } from '@/styles/typography';
|
|
50
|
+
import MainButton from '@/system/Buttons/MainButton';
|
|
51
|
+
import { BasicTextArea, Input } from '@/system/Forms';
|
|
52
|
+
import messages from '@/system/Forms/Messages';
|
|
53
|
+
// Styles
|
|
54
|
+
var StyledCreateForm = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n min-width: 344px;\n min-height: calc(460px - 24px);\n position: relative;\n\n .head {\n margin-bottom: 20px;\n\n .tittle {\n ", ";\n color: ", ";\n margin: 0;\n }\n }\n\n .content {\n margin-bottom: 60px;\n\n .input_group {\n position: relative;\n margin-bottom: 16px;\n }\n }\n\n .btns {\n margin-top: 16px;\n display: flex;\n position: absolute;\n left: 0;\n right: 0;\n bottom: 0;\n justify-content: center;\n gap: 16px;\n\n button {\n width: 100%;\n }\n }\n\n @media (max-width: 767px) {\n margin-right: 0;\n .content {\n width: auto;\n }\n }\n\n ", " {\n min-width: ", ";\n min-height: calc(", " - ", ");\n\n .head {\n margin-bottom: ", ";\n }\n\n .content {\n margin-bottom: ", ";\n\n .input_group {\n margin-bottom: ", ";\n }\n }\n\n .btns {\n margin-top: ", ";\n gap: ", ";\n }\n }\n"], ["\n min-width: 344px;\n min-height: calc(460px - 24px);\n position: relative;\n\n .head {\n margin-bottom: 20px;\n\n .tittle {\n ", ";\n color: ", ";\n margin: 0;\n }\n }\n\n .content {\n margin-bottom: 60px;\n\n .input_group {\n position: relative;\n margin-bottom: 16px;\n }\n }\n\n .btns {\n margin-top: 16px;\n display: flex;\n position: absolute;\n left: 0;\n right: 0;\n bottom: 0;\n justify-content: center;\n gap: 16px;\n\n button {\n width: 100%;\n }\n }\n\n @media (max-width: 767px) {\n margin-right: 0;\n .content {\n width: auto;\n }\n }\n\n ", " {\n min-width: ", ";\n min-height: calc(", " - ", ");\n\n .head {\n margin-bottom: ", ";\n }\n\n .content {\n margin-bottom: ", ";\n\n .input_group {\n margin-bottom: ", ";\n }\n }\n\n .btns {\n margin-top: ", ";\n gap: ", ";\n }\n }\n"])), FH3, BlackColor, mediaQuery.minWidthFourK, adaptiveValueCalc(344), adaptiveValueCalc(460), adaptiveValueCalc(24), adaptiveValueCalc(20), adaptiveValueCalc(60), adaptiveValueCalc(16), adaptiveValueCalc(16), adaptiveValueCalc(16));
|
|
55
|
+
// Component
|
|
56
|
+
var CreateGalleryForm = function (_a) {
|
|
57
|
+
var setAddGallery = _a.setAddGallery, title = _a.title, inputPlaceHolderText = _a.inputPlaceHolderText,
|
|
58
|
+
// ids,
|
|
59
|
+
createMethod = _a.createMethod, error = _a.error, refetchFavoritesList = _a.refetchFavoritesList;
|
|
60
|
+
var _b = useForm({
|
|
61
|
+
mode: 'all',
|
|
62
|
+
}), register = _b.register, handleSubmit = _b.handleSubmit, errors = _b.formState.errors;
|
|
63
|
+
var openAlert = useUiStore(function (state) { return state.openAlert; });
|
|
64
|
+
var dataForgalleryName = {
|
|
65
|
+
labelText: 'galleryName',
|
|
66
|
+
name: 'galleryName',
|
|
67
|
+
placeHolder: inputPlaceHolderText,
|
|
68
|
+
};
|
|
69
|
+
var dataForBio = {
|
|
70
|
+
labelText: 'Bio',
|
|
71
|
+
name: 'galleryDescription',
|
|
72
|
+
placeHolder: 'Description (tags and hashtags are supported)',
|
|
73
|
+
};
|
|
74
|
+
var registergalleryName = register('galleryName', messages[dataForgalleryName.name]);
|
|
75
|
+
var registergalleryDescription = register('galleryDescription', messages[dataForBio.name]);
|
|
76
|
+
var errorGalleryName = {
|
|
77
|
+
isNeedShowError: Boolean(errors === null || errors === void 0 ? void 0 : errors.galleryName),
|
|
78
|
+
message: (errors === null || errors === void 0 ? void 0 : errors.galleryName) && (errors === null || errors === void 0 ? void 0 : errors.galleryName.message),
|
|
79
|
+
};
|
|
80
|
+
var errorGalleryDescription = {
|
|
81
|
+
isNeedShowError: Boolean(errors === null || errors === void 0 ? void 0 : errors.galleryDescription),
|
|
82
|
+
message: (errors === null || errors === void 0 ? void 0 : errors.galleryDescription) && (errors === null || errors === void 0 ? void 0 : errors.galleryDescription.message),
|
|
83
|
+
};
|
|
84
|
+
var onSubmit = function (_a) {
|
|
85
|
+
var galleryName = _a.galleryName, galleryDescription = _a.galleryDescription;
|
|
86
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
87
|
+
var _b;
|
|
88
|
+
return __generator(this, function (_c) {
|
|
89
|
+
switch (_c.label) {
|
|
90
|
+
case 0:
|
|
91
|
+
// const creationIds = getCreationIdsArray();
|
|
92
|
+
return [4 /*yield*/, createMethod({
|
|
93
|
+
name: galleryName,
|
|
94
|
+
description: galleryDescription,
|
|
95
|
+
publicAccessible: true,
|
|
96
|
+
creationIds: [],
|
|
97
|
+
})];
|
|
98
|
+
case 1:
|
|
99
|
+
// const creationIds = getCreationIdsArray();
|
|
100
|
+
_c.sent();
|
|
101
|
+
_b = refetchFavoritesList;
|
|
102
|
+
if (!_b) return [3 /*break*/, 3];
|
|
103
|
+
return [4 /*yield*/, refetchFavoritesList()];
|
|
104
|
+
case 2:
|
|
105
|
+
_b = (_c.sent());
|
|
106
|
+
_c.label = 3;
|
|
107
|
+
case 3:
|
|
108
|
+
_b;
|
|
109
|
+
if (error) {
|
|
110
|
+
openAlert({
|
|
111
|
+
type: alertVariants.error,
|
|
112
|
+
caption: error === null || error === void 0 ? void 0 : error.message,
|
|
113
|
+
});
|
|
114
|
+
return [2 /*return*/];
|
|
115
|
+
}
|
|
116
|
+
setAddGallery(false);
|
|
117
|
+
return [2 /*return*/];
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
});
|
|
121
|
+
};
|
|
122
|
+
return (<StyledCreateForm>
|
|
123
|
+
<div className={'head'}>
|
|
124
|
+
<h3 className={'tittle'}>{title}</h3>
|
|
125
|
+
</div>
|
|
126
|
+
<form onSubmit={handleSubmit(onSubmit)}>
|
|
127
|
+
<div className={'content'}>
|
|
128
|
+
<div className="input_group">
|
|
129
|
+
<Input register={registergalleryName} error={errorGalleryName} data={dataForgalleryName}/>
|
|
130
|
+
</div>
|
|
131
|
+
<div className="input_group">
|
|
132
|
+
<BasicTextArea register={registergalleryDescription}
|
|
133
|
+
// counter={0}
|
|
134
|
+
isNeedBiggerArea={false} error={errorGalleryDescription} data={dataForBio}/>
|
|
135
|
+
</div>
|
|
136
|
+
</div>
|
|
137
|
+
<div className="btns">
|
|
138
|
+
<MainButton text={'Create'} type={'submit'} variant="primaryM" onClick={function () { return null; }}/>
|
|
139
|
+
<MainButton text={'Go Back'} variant="outline" onClick={function () {
|
|
140
|
+
setAddGallery(false);
|
|
141
|
+
}}/>
|
|
142
|
+
</div>
|
|
143
|
+
</form>
|
|
144
|
+
</StyledCreateForm>);
|
|
145
|
+
};
|
|
146
|
+
// Export
|
|
147
|
+
export default CreateGalleryForm;
|
|
148
|
+
var templateObject_1;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const EditGalleryForm: ({ title, inputPlaceHolderText, galleryId, name, description, }: {
|
|
3
|
+
title: string;
|
|
4
|
+
inputPlaceHolderText: string;
|
|
5
|
+
galleryId: string;
|
|
6
|
+
name: string;
|
|
7
|
+
description: string;
|
|
8
|
+
}) => React.JSX.Element;
|
|
9
|
+
export default EditGalleryForm;
|