@ludo.ninja/components 1.9.4 → 1.9.5
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.jsx → CardHead.js} +15 -22
- package/dist/components/CreationCard/{index.jsx → index.js} +24 -19
- package/dist/components/addWalletsRedirectPage/{index.jsx → index.js} +11 -18
- package/dist/components/banner/{index.jsx → index.js} +17 -23
- package/dist/components/base/Meta/index.js +60 -0
- package/dist/components/base/NoSSR/{index.jsx → index.js} +1 -1
- package/dist/components/collectionPage/collectionLike/{index.jsx → index.js} +5 -9
- package/dist/components/deleteDialog/{index.jsx → index.js} +14 -19
- package/dist/components/favoriteList/add/addAssetToFavoriteList/{index.jsx → index.js} +2 -4
- package/dist/components/favoriteList/add/addCollectionToFavoriteList/{index.jsx → index.js} +1 -3
- package/dist/components/favoriteList/add/addCreationToFavoriteList/{index.jsx → index.js} +2 -4
- package/dist/components/filters/applyResetBtns/{index.jsx → index.js} +5 -8
- package/dist/components/filters/galleriesFiltersForm/{index.jsx → index.js} +5 -14
- package/dist/components/filters/{index.jsx → index.js} +27 -35
- package/dist/components/filters/mobileFilters/{index.jsx → index.js} +1 -1
- package/dist/components/filters/setsFiltersForm/{index.jsx → index.js} +4 -11
- package/dist/components/forms/form/{index.jsx → index.js} +35 -45
- package/dist/components/forms/formsNavigation/{index.jsx → index.js} +6 -14
- package/dist/components/forms/formsTemplate/{index.jsx → index.js} +3 -4
- package/dist/components/gallery/add/addAssetToGallery/{index.jsx → index.js} +2 -4
- package/dist/components/gallery/add/addCreationToGallery/{index.jsx → index.js} +7 -8
- package/dist/components/gradientLabel/{index.jsx → index.js} +1 -1
- package/dist/components/headers/components/headerExperienceLabel/{index.jsx → index.js} +2 -3
- package/dist/components/headers/components/headerUserPic/{index.jsx → index.js} +2 -3
- package/dist/components/headers/header/{index.jsx → index.js} +6 -6
- package/dist/components/headers/headerSearch/{index.jsx → index.js} +7 -7
- package/dist/components/headers/headerSimple/{index.jsx → index.js} +4 -6
- package/dist/components/inviteCodesForms/getEarlyAccessForm/{index.jsx → index.js} +17 -27
- package/dist/components/inviteCodesForms/joinWaitListForm/{index.jsx → index.js} +11 -22
- package/dist/components/inviteCodesPage/components/inviteCodes/{index.jsx → index.js} +2 -2
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCode/{index.jsx → index.js} +3 -4
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCode/loader/{index.jsx → index.js} +6 -7
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/{index.jsx → index.js} +2 -2
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/loader/{index.jsx → index.js} +1 -1
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCopy/{index.jsx → index.js} +4 -9
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeDate/{index.jsx → index.js} +1 -3
- package/dist/components/inviteCodesPage/wrappers/resumeCodes/{index.jsx → index.js} +17 -27
- package/dist/components/inviteCodesPage/wrappers/resumeCodes/loader/index.js +17 -0
- package/dist/components/inviteCodesPage/wrappers/unusedCodes/{index.jsx → index.js} +4 -6
- package/dist/components/inviteCodesPage/wrappers/usedCodes/{index.jsx → index.js} +6 -9
- package/dist/components/linkTabs/{index.jsx → index.js} +1 -3
- package/dist/components/linkTabs/linkTab/{index.jsx → index.js} +4 -6
- package/dist/components/myWallets/{index.jsx → index.js} +4 -5
- package/dist/components/myWallets/myWalletItem/{index.jsx → index.js} +22 -29
- package/dist/components/navigation/{index.jsx → index.js} +11 -29
- package/dist/components/profile/MultiversXAudit/{MultiversXAudit.jsx → MultiversXAudit.js} +10 -15
- package/dist/components/profile/{ProfileTabs.jsx → ProfileTabs.js} +20 -22
- package/dist/components/profile/aboutText/{index.jsx → index.js} +16 -25
- package/dist/components/profile/addToGalleryBtns/{index.jsx → index.js} +6 -9
- package/dist/components/profile/followersSocial/followers/{index.jsx → index.js} +3 -4
- package/dist/components/profile/followersSocial/{index.jsx → index.js} +6 -7
- package/dist/components/profile/followersSocial/social/{index.jsx → index.js} +7 -9
- package/dist/components/profile/info/{index.jsx → index.js} +8 -11
- package/dist/components/profile/interests/{index.jsx → index.js} +14 -29
- package/dist/components/profile/pageHead/index.js +51 -0
- package/dist/components/profile/profileSkeleton/{index.jsx → index.js} +9 -15
- package/dist/components/profile/profileUserCards/{index.jsx → index.js} +1 -1
- package/dist/components/profile/profileUserCards/profileUserCard/{index.jsx → index.js} +21 -26
- package/dist/components/profile/rank/{index.jsx → index.js} +7 -15
- package/dist/components/profile/stats/{index.jsx → index.js} +4 -12
- package/dist/components/profile/wallets/{index.jsx → index.js} +20 -28
- package/dist/components/profile/wrapper/{index.jsx → index.js} +4 -12
- package/dist/components/registrationPage/registrationSelectBox/{index.jsx → index.js} +2 -3
- package/dist/components/registrationPage/registrationSelection/{index.jsx → index.js} +15 -29
- package/dist/components/rewards/FAQ/{index.jsx → index.js} +12 -20
- package/dist/components/rewards/clarifications/{index.jsx → index.js} +15 -25
- package/dist/components/rewards/logoBottom/{index.jsx → index.js} +5 -6
- package/dist/components/rewards/prograssBar/{index.jsx → index.js} +3 -5
- package/dist/components/rewards/seasonBanner/{index.jsx → index.js} +2 -3
- package/dist/components/rewards/taskExpTab/{index.jsx → index.js} +19 -31
- package/dist/components/rewards/tasksGrid/{index.jsx → index.js} +3 -6
- package/dist/components/rewards/userExp/{index.jsx → index.js} +23 -29
- package/dist/components/search/{SearchInputContainer.jsx → SearchInputContainer.js} +96 -98
- package/dist/components/search/{index.jsx → index.js} +10 -12
- package/dist/components/search/searchCategories/{index.jsx → index.js} +6 -10
- package/dist/components/search/searchCloseMoreButtons/{index.jsx → index.js} +12 -15
- package/dist/components/search/searchResultCaption/{index.jsx → index.js} +3 -6
- package/dist/components/search/searchSelectsGalleries/{index.jsx → index.js} +14 -30
- package/dist/components/search/searchSelectsSets/{index.jsx → index.js} +14 -27
- package/dist/components/search/searchSimpleInput/{index.jsx → index.js} +9 -11
- package/dist/components/search/searchSuggestions/index.js +117 -0
- package/dist/components/search/searchSuggestions/searchSuggestionsCaption/{index.jsx → index.js} +3 -4
- package/dist/components/search/searchSuggestions/searchSuggestionsFooter/{index.jsx → index.js} +6 -7
- package/dist/components/search/searchSuggestions/searchSuggestionsItem/{index.jsx → index.js} +11 -18
- package/dist/components/search/searchSuggestions/searchSuggestionsItem/searchSuggestionsItemSkeleton/{index.jsx → index.js} +7 -14
- package/dist/components/search/searchSuggestions/searchSuggestionsNotFound/{index.jsx → index.js} +5 -3
- package/dist/components/shareDialog/index.js +73 -0
- package/dist/components/showcaseAssets/showcaseSort/{index.jsx → index.js} +4 -6
- package/dist/components/sidebar/{data.jsx → data.js} +8 -8
- package/dist/components/sidebar/{index.jsx → index.js} +16 -23
- package/dist/components/sidebar/{initializer.jsx → initializer.js} +1 -1
- package/dist/components/sidebar/sidebarFilters/{index.jsx → index.js} +6 -9
- package/dist/components/sidebar/sidebarInviteCodeLabel/{index.jsx → index.js} +3 -4
- package/dist/components/socialButtons/{data.jsx → data.js} +6 -6
- package/dist/components/socialButtons/icons/discord.js +7 -0
- package/dist/components/socialButtons/icons/facebook.js +8 -0
- package/dist/components/socialButtons/icons/instagram.js +9 -0
- package/dist/components/socialButtons/icons/medium.js +7 -0
- package/dist/components/socialButtons/icons/telegram.js +7 -0
- package/dist/components/socialButtons/icons/twitter.js +7 -0
- package/dist/components/socialButtons/{index.jsx → index.js} +5 -8
- package/dist/components/tabs/icons/bell.js +9 -0
- package/dist/components/tabs/icons/profile.js +9 -0
- package/dist/components/tabs/icons/secure.js +8 -0
- package/dist/components/tabs/{index.jsx → index.js} +10 -13
- package/dist/components/toTopBtn/{index.jsx → index.js} +5 -7
- package/dist/dto/AssetEntity/views/AssetAudio/{index.jsx → index.js} +1 -1
- package/dist/dto/AssetEntity/views/AssetImage/{index.jsx → index.js} +2 -2
- package/dist/dto/AssetEntity/views/AssetObject/{index.jsx → index.js} +3 -3
- package/dist/dto/AssetEntity/views/AssetOther/{index.jsx → index.js} +3 -3
- package/dist/dto/AssetEntity/views/AssetScreenshot/{index.jsx → index.js} +2 -2
- package/dist/dto/AssetEntity/views/AssetVideo/{index.jsx → index.js} +1 -1
- package/dist/dto/common/ItemViews/CreationAudio/{index.jsx → index.js} +1 -1
- package/dist/dto/common/ItemViews/CreationImage/{index.jsx → index.js} +2 -2
- package/dist/dto/common/ItemViews/CreationObject/{index.jsx → index.js} +1 -1
- package/dist/dto/common/ItemViews/CreationOther/{index.jsx → index.js} +1 -1
- package/dist/dto/common/ItemViews/CreationVideo/{index.jsx → index.js} +1 -1
- package/dist/dto/common/Media/Audio/{index.jsx → index.js} +3 -3
- package/dist/dto/common/Media/Image/{index.jsx → index.js} +4 -4
- package/dist/dto/common/Media/Object/{index.jsx → index.js} +3 -3
- package/dist/dto/common/Media/Other/{index.jsx → index.js} +3 -3
- package/dist/dto/common/Media/Screenshot/{index.jsx → index.js} +4 -4
- package/dist/dto/common/Media/Video/{index.jsx → index.js} +3 -3
- package/dist/fonts/{FontsInitializeLayout.jsx → FontsInitializeLayout.js} +1 -4
- package/dist/hooks/searchFiltersConnector/{index.jsx → index.js} +33 -35
- package/dist/hooks/useToGalleryAsset/{index.jsx → index.js} +1 -1
- package/dist/layouts/{GlobalLayout.jsx → GlobalLayout.js} +15 -16
- package/dist/layouts/base/LWithRegularHeader/{index.jsx → index.js} +4 -5
- package/dist/layouts/base/LWithSearchHeader/{index.jsx → index.js} +4 -5
- package/dist/layouts/base/LWithSimpleHeader/{index.jsx → index.js} +4 -5
- package/dist/layouts/base/LWithoutHeader/{index.jsx → index.js} +3 -4
- package/dist/layouts/custom/accountLayout/{index.jsx → index.js} +6 -11
- package/dist/layouts/custom/formsLayout/{index.jsx → index.js} +3 -5
- package/dist/layouts/custom/mainLayout/{index.jsx → index.js} +5 -8
- package/dist/layouts/custom/searchLayout/{index.jsx → index.js} +5 -8
- package/dist/layouts/custom/simpleLayout/{index.jsx → index.js} +5 -8
- package/dist/layouts/pageTransitionLayout.js +24 -0
- package/dist/modules/notifications/{CreatorNotifications.jsx → CreatorNotifications.js} +1 -3
- package/dist/modules/user/profileData/{profileDataInitialization.jsx → profileDataInitialization.js} +1 -1
- package/dist/modules/virtuoso/{VirtuosoPageBuilder.jsx → VirtuosoPageBuilder.js} +18 -23
- package/dist/modules/virtuoso/{VirtuosoToTopBtn.jsx → VirtuosoToTopBtn.js} +1 -1
- package/dist/pages/index.js +16 -0
- package/dist/system/ActiveLink/{index.jsx → index.js} +14 -5
- package/dist/system/Alert/{index.jsx → index.js} +1 -1
- package/dist/system/BasicOverlay/{index.jsx → index.js} +1 -1
- package/dist/system/Cards/CardCheckbox/{index.jsx → index.js} +4 -6
- package/dist/system/Cards/CardContent/CardCategory/{index.jsx → index.js} +3 -5
- package/dist/system/Cards/CardContent/CardLikes/{index.jsx → index.js} +7 -11
- package/dist/system/Cards/CardContent/CardShowMore/{index.jsx → index.js} +5 -8
- package/dist/system/Cards/CardContent/{index.jsx → index.js} +16 -30
- package/dist/system/Cards/CardHeadIcons/{index.jsx → index.js} +15 -22
- package/dist/system/Cards/CardMedia/CardAudio/{index.jsx → index.js} +4 -5
- package/dist/system/Cards/CardMedia/CardImage/{index.jsx → index.js} +4 -5
- package/dist/system/Cards/CardMedia/CardVideo/{index.jsx → index.js} +9 -11
- package/dist/system/Cards/CardRank/{index.jsx → index.js} +6 -12
- package/dist/system/Cards/CardsGrid/{index.jsx → index.js} +8 -13
- package/dist/system/Cards/HideLink/index.js +27 -0
- package/dist/system/Cards/MultiMediaCard/{index.jsx → index.js} +11 -17
- package/dist/system/Cards/RegularCard/{index.jsx → index.js} +11 -17
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsError/{index.jsx → index.js} +3 -6
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsNoResults/{index.jsx → index.js} +3 -4
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsSkeleton/{index.jsx → index.js} +9 -15
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/{index.jsx → index.js} +4 -8
- package/dist/system/CardsHolderWithSkeleton/CardsHolderLoader/{index.jsx → index.js} +2 -3
- package/dist/system/CardsHolderWithSkeleton/{index.jsx → index.js} +3 -6
- package/dist/system/DropDown/{DropDown.test.jsx → DropDown.test.js} +7 -11
- package/dist/system/DropDown/{index.jsx → index.js} +10 -13
- package/dist/system/Forms/Checkbox/{Checkbox.test.jsx → Checkbox.test.js} +13 -2
- package/dist/system/Forms/Checkbox/{index.jsx → index.js} +23 -15
- package/dist/system/Forms/DatePicker/{index.jsx → index.js} +6 -7
- package/dist/system/Forms/ErrorLabel/{ErrorLabel.test.jsx → ErrorLabel.test.js} +2 -2
- package/dist/system/Forms/ErrorLabel/{index.jsx → index.js} +1 -1
- package/dist/system/Forms/Input/{Input.test.jsx → Input.test.js} +2 -2
- package/dist/system/Forms/Input/{index.jsx → index.js} +15 -5
- package/dist/system/Forms/RadioInput/{index.jsx → index.js} +16 -6
- package/dist/system/Forms/Selects/DesktopSelect/{index.jsx → index.js} +21 -11
- package/dist/system/Forms/Selects/MobileSelect/{index.jsx → index.js} +1 -3
- package/dist/system/Forms/TextArea/{index.jsx → index.js} +15 -5
- package/dist/system/Img/ExternalImage/{index.jsx → index.js} +12 -1
- package/dist/system/Img/ImageInterceptor/{ImageInterceptor.test.jsx → ImageInterceptor.test.js} +10 -14
- package/dist/system/Img/ImageInterceptor/{index.jsx → index.js} +4 -5
- package/dist/system/Img/Profilepic/{index.jsx → index.js} +8 -9
- package/dist/system/Img/Userpic/{UserPic.test.jsx → UserPic.test.js} +6 -8
- package/dist/system/Img/Userpic/{index.jsx → index.js} +10 -13
- package/dist/system/Labels/ExperienceLabel/{ExperienceLabel.test.jsx → ExperienceLabel.test.js} +16 -6
- package/dist/system/Labels/ExperienceLabel/{index.jsx → index.js} +6 -5
- package/dist/system/Labels/InviteLabel/{InviteLabel.test.jsx → InviteLabel.test.js} +15 -5
- package/dist/system/Labels/InviteLabel/{index.jsx → index.js} +3 -4
- package/dist/system/Modals/Modal/{Modal.test.jsx → Modal.test.js} +2 -2
- package/dist/system/Modals/Modal/{index.jsx → index.js} +3 -4
- package/dist/system/Modals/ModalSidebar/{CreatorModalSidebarPortal.jsx → CreatorModalSidebarPortal.js} +1 -1
- package/dist/system/Modals/ModalSidebar/{ModalSidebar.test.jsx → ModalSidebar.test.js} +2 -2
- package/dist/system/Modals/ModalSidebar/{ModalSidebarPortal.jsx → ModalSidebarPortal.js} +4 -6
- package/dist/system/Modals/ModalSidebar/{index.jsx → index.js} +3 -4
- package/dist/system/Overlay/{Overlay.test.jsx → Overlay.test.js} +2 -3
- package/dist/system/Overlay/{index.jsx → index.js} +2 -3
- package/dist/system/{ShareIconResize.jsx → ShareIconResize.js} +5 -6
- package/dist/system/Tabs/TabNavLink/{TabNavLink.test.jsx → TabNavLink.test.js} +3 -3
- package/dist/system/Tabs/TabNavLink/{index.jsx → index.js} +1 -3
- package/dist/system/Tabs/TabsNav/{TabsNav.test.jsx → TabsNav.test.js} +4 -4
- package/dist/system/Tabs/TabsNav/{index.jsx → index.js} +2 -2
- package/dist/system/Tabs/TabsPanel/{TabsPanel.test.jsx → TabsPanel.test.js} +8 -12
- package/dist/system/Tabs/TabsPanel/{index.jsx → index.js} +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utils/copyBtn/{index.jsx → index.js} +4 -7
- package/package.json +1 -1
- package/dist/components/base/Meta/index.jsx +0 -64
- package/dist/components/inviteCodesPage/wrappers/resumeCodes/loader/index.jsx +0 -18
- package/dist/components/profile/pageHead/index.jsx +0 -52
- package/dist/components/search/searchSuggestions/index.jsx +0 -124
- package/dist/components/shareDialog/index.jsx +0 -91
- package/dist/components/socialButtons/icons/discord.jsx +0 -8
- package/dist/components/socialButtons/icons/facebook.jsx +0 -9
- package/dist/components/socialButtons/icons/instagram.jsx +0 -10
- package/dist/components/socialButtons/icons/medium.jsx +0 -8
- package/dist/components/socialButtons/icons/telegram.jsx +0 -8
- package/dist/components/socialButtons/icons/twitter.jsx +0 -8
- package/dist/components/tabs/icons/bell.jsx +0 -10
- package/dist/components/tabs/icons/profile.jsx +0 -10
- package/dist/components/tabs/icons/secure.jsx +0 -9
- package/dist/layouts/pageTransitionLayout.jsx +0 -27
- package/dist/pages/index.jsx +0 -18
- package/dist/system/Cards/HideLink/index.jsx +0 -22
- /package/dist/components/headers/components/MobileToggle/{index.jsx → index.js} +0 -0
- /package/dist/components/inviteCodesPage/components/{index.jsx → index.js} +0 -0
- /package/dist/components/inviteCodesPage/wrappers/{index.jsx → index.js} +0 -0
- /package/dist/components/profile/jsonLd/{index.jsx → index.js} +0 -0
- /package/dist/components/registrationPage/{index.jsx → index.js} +0 -0
- /package/dist/components/rewards/rewardsButton/{index.jsx → index.js} +0 -0
- /package/dist/dto/common/ItemType/{index.jsx → index.js} +0 -0
- /package/dist/dto/common/Media/{index.jsx → index.js} +0 -0
- /package/dist/hooks/apollo/{index.jsx → index.js} +0 -0
- /package/dist/hooks/audio/useMultiAudio/{index.jsx → index.js} +0 -0
- /package/dist/hooks/likes/dynamic/{useFindCollectionsAndLikes.jsx → useFindCollectionsAndLikes.js} +0 -0
- /package/dist/hooks/likes/dynamic/{useFindCreationsAndLikes.jsx → useFindCreationsAndLikes.js} +0 -0
- /package/dist/hooks/likes/dynamic/{useGetCollectionInfoAndLikes.jsx → useGetCollectionInfoAndLikes.js} +0 -0
- /package/dist/hooks/likes/dynamic/{useGetCreationsAndLikes.jsx → useGetCreationsAndLikes.js} +0 -0
- /package/dist/hooks/likes/dynamic/{useGetCreationsAndLikesByType.jsx → useGetCreationsAndLikesByType.js} +0 -0
- /package/dist/hooks/likes/dynamic/{useGetMixedLikesFavoriteList.jsx → useGetMixedLikesFavoriteList.js} +0 -0
- /package/dist/hooks/likes/dynamic/{useGetTableLikes.jsx → useGetTableLikes.js} +0 -0
- /package/dist/modules/notifications/{index.jsx → index.js} +0 -0
- /package/dist/modules/user/{store.jsx → store.js} +0 -0
- /package/dist/styles/animations/{index.jsx → index.js} +0 -0
- /package/dist/styles/{globalStyles.jsx → globalStyles.js} +0 -0
- /package/dist/styles/mixins/{boxShadow.jsx → boxShadow.js} +0 -0
- /package/dist/styles/mixins/{boxTransform.jsx → boxTransform.js} +0 -0
- /package/dist/styles/mixins/{z-indexes.jsx → z-indexes.js} +0 -0
- /package/dist/styles/typography/{index.jsx → index.js} +0 -0
- /package/dist/system/Buttons/IconButton/{index.jsx → index.js} +0 -0
- /package/dist/system/Buttons/IconWithButton/{index.jsx → index.js} +0 -0
- /package/dist/system/Buttons/MainButton/{index.jsx → index.js} +0 -0
- /package/dist/system/Buttons/SecondaryButton/{index.jsx → index.js} +0 -0
- /package/dist/system/Flex/{index.jsx → index.js} +0 -0
- /package/dist/system/Labels/SkeletonLabel/{index.jsx → index.js} +0 -0
- /package/dist/system/PageLoader/{index.jsx → index.js} +0 -0
- /package/dist/system/Palete/{index.jsx → index.js} +0 -0
- /package/dist/system/Text/{index.jsx → index.js} +0 -0
- /package/dist/utils/extractItemIds/{index.jsx → index.js} +0 -0
- /package/dist/utils/imageProportionsSize/{index.jsx → index.js} +0 -0
- /package/dist/utils/ui/{index.jsx → index.js} +0 -0
|
@@ -78,11 +78,11 @@ var CardHead = function (_a) {
|
|
|
78
78
|
return [3 /*break*/, 6];
|
|
79
79
|
case 1:
|
|
80
80
|
if (!(type === 'fav-list')) return [3 /*break*/, 2];
|
|
81
|
-
openModalSidebarPortal(
|
|
81
|
+
openModalSidebarPortal(react_1.default.createElement(addCreationToFavoriteList_1.default, { ids: [
|
|
82
82
|
creation instanceof CollectionCreationEntity_1.default
|
|
83
83
|
? "".concat(creation.getItemType() + '.' + creation.getCreationId())
|
|
84
84
|
: creation.getCreationId(),
|
|
85
|
-
]
|
|
85
|
+
], currentMyGalleryId: currentMyGalleryId }));
|
|
86
86
|
return [3 /*break*/, 6];
|
|
87
87
|
case 2:
|
|
88
88
|
if (!(type === 'likes')) return [3 /*break*/, 6];
|
|
@@ -107,30 +107,23 @@ var CardHead = function (_a) {
|
|
|
107
107
|
}); };
|
|
108
108
|
var renderLikeButton = function () {
|
|
109
109
|
if ([ItemType_1.LabelKeys.asset, ItemType_1.LabelKeys.collection].includes(creation.getItemType())) {
|
|
110
|
-
return (
|
|
111
|
-
|
|
112
|
-
</div>);
|
|
110
|
+
return (react_1.default.createElement("div", { className: "icon like ".concat(isLicked ? 'liked' : ''), onClick: function (e) { return handleClick(e, 'likes'); } },
|
|
111
|
+
react_1.default.createElement(heart_svg_1.default, null)));
|
|
113
112
|
}
|
|
114
113
|
};
|
|
115
|
-
return (
|
|
114
|
+
return (react_1.default.createElement(Headicons_1.default, { isMobile: isMobile, style: isDisabled
|
|
116
115
|
? {
|
|
117
116
|
pointerEvents: 'none',
|
|
118
117
|
}
|
|
119
|
-
: {}}
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
}}>
|
|
130
|
-
{isRegularCard || !isUserProfile || isGallery ? (<addToFavListIcon_svg_1.default />) : (<addToGalleryIcon_svg_1.default />)}
|
|
131
|
-
</div>
|
|
132
|
-
{renderLikeButton()}
|
|
133
|
-
</div>)}
|
|
134
|
-
</Headicons_1.default>);
|
|
118
|
+
: {} },
|
|
119
|
+
react_1.default.createElement("div", { className: 'rank' },
|
|
120
|
+
react_1.default.createElement(CardRank_1.default, { rank: creation.getRank() })),
|
|
121
|
+
!(0, env_1.isProd)({ ENV: isProdENV }) && !isShowCheckbox && (react_1.default.createElement("div", { className: "icons" },
|
|
122
|
+
react_1.default.createElement("div", { className: "icon", onClick: function (e) {
|
|
123
|
+
return handleClick(e, isRegularCard || !isUserProfile || isGallery
|
|
124
|
+
? 'fav-list'
|
|
125
|
+
: 'gallery');
|
|
126
|
+
} }, isRegularCard || !isUserProfile || isGallery ? (react_1.default.createElement(addToFavListIcon_svg_1.default, null)) : (react_1.default.createElement(addToGalleryIcon_svg_1.default, null))),
|
|
127
|
+
renderLikeButton()))));
|
|
135
128
|
};
|
|
136
129
|
exports.CardHead = CardHead;
|
|
@@ -3,6 +3,17 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
3
3
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
4
|
return cooked;
|
|
5
5
|
};
|
|
6
|
+
var __assign = (this && this.__assign) || function () {
|
|
7
|
+
__assign = Object.assign || function(t) {
|
|
8
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
9
|
+
s = arguments[i];
|
|
10
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
11
|
+
t[p] = s[p];
|
|
12
|
+
}
|
|
13
|
+
return t;
|
|
14
|
+
};
|
|
15
|
+
return __assign.apply(this, arguments);
|
|
16
|
+
};
|
|
6
17
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
18
|
if (k2 === undefined) k2 = k;
|
|
8
19
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -62,7 +73,7 @@ var CreationCardWithCheckboxState = function (props) {
|
|
|
62
73
|
isActiveGalleryMode: state.isActiveGalleryMode,
|
|
63
74
|
creationsToGallery: state.creationsToGallery,
|
|
64
75
|
}); }), toggleCreationToGallery = _a.toggleCreationToGallery, isActiveGalleryMode = _a.isActiveGalleryMode, creationsToGallery = _a.creationsToGallery;
|
|
65
|
-
return (
|
|
76
|
+
return (react_1.default.createElement(exports.CreationCard, __assign({}, props, { isShowCheckbox: isActiveGalleryMode, isActiveCheckbox: (0, useToGalleryAsset_1.getIsActiveCreation)(creationsToGallery, props.creation), toggleCreationToGallery: toggleCreationToGallery })));
|
|
66
77
|
};
|
|
67
78
|
exports.CreationCardWithCheckboxState = CreationCardWithCheckboxState;
|
|
68
79
|
var CreationCard = function (_a) {
|
|
@@ -74,25 +85,19 @@ var CreationCard = function (_a) {
|
|
|
74
85
|
removeOnDislike: toolsForRemove,
|
|
75
86
|
isLoadingLikes: isLoadingLikes,
|
|
76
87
|
}), likes = _c.likes, addLike = _c.addLike, deleteLike = _c.deleteLike;
|
|
77
|
-
return (
|
|
78
|
-
|
|
88
|
+
return (react_1.default.createElement(StyledRegularCard, { isNeedHeight: isNeedHeight, isNeedTransform: isNeedShowMoreButton, isShowCheckbox: isShowCheckbox },
|
|
89
|
+
isShowCheckbox && (react_1.default.createElement(CardCheckbox_1.default, { isActiveCheckbox: !!isActiveCheckbox, onChange: function () {
|
|
79
90
|
toggleCreationToGallery === null || toggleCreationToGallery === void 0 ? void 0 : toggleCreationToGallery(creation);
|
|
80
|
-
}}
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
{!(0, env_1.isProd)({ ENV: isProdENV }) &&
|
|
91
|
-
(isLoadingLikes ? (<react_loading_skeleton_1.default style={{ borderRadius: '3px' }} height="100%" width="30px"/>) : (<CardLikes_1.default isLiked={likes.isLiked} likes={likes.likesCount}/>))}
|
|
92
|
-
</_system_1.Flex>
|
|
93
|
-
</CardContent_1.default>
|
|
94
|
-
</HideLink_1.default>
|
|
95
|
-
</StyledRegularCard>);
|
|
91
|
+
} })),
|
|
92
|
+
react_1.default.createElement(HideLink_1.default, { className: "linkRegularCard", isProdENV: isProdENV, href: creation.getCreationLink() },
|
|
93
|
+
react_1.default.createElement(Head_1.default, null,
|
|
94
|
+
creation.detectMediaType().displaySingleMedia(),
|
|
95
|
+
react_1.default.createElement(CardHead_1.CardHead, { isRegularCard: !!isRegularCard, isIconLiked: likes.isLiked, creation: creation, addLikeToCard: addLike, deleteLikeFromCard: deleteLike, isUserProfile: isUserProfile || false, isDisabled: !!isLoadingLikes, isShowCheckbox: isShowCheckbox, currentMyGalleryId: currentMyGalleryId })),
|
|
96
|
+
react_1.default.createElement(CardContent_1.default, { creationName: creationName, firstName: creation.getCreatorAddress(), secondName: creation.getName(), cuttedSecondName: creation.getCuttedSecondName(!isMobile), itemId: creation.getItemId(), isNeedShowMoreButton: isNeedShowMoreButton || false, href: creation.getCreationLink() },
|
|
97
|
+
react_1.default.createElement(_system_1.Flex, { alignItems: "end", justifyContent: 'space-between' },
|
|
98
|
+
react_1.default.createElement(CardCategory_1.default, { label: creation.getLabel() }),
|
|
99
|
+
!(0, env_1.isProd)({ ENV: isProdENV }) &&
|
|
100
|
+
(isLoadingLikes ? (react_1.default.createElement(react_loading_skeleton_1.default, { style: { borderRadius: '3px' }, height: "100%", width: "30px" })) : (react_1.default.createElement(CardLikes_1.default, { isLiked: likes.isLiked, likes: likes.likesCount }))))))));
|
|
96
101
|
};
|
|
97
102
|
exports.CreationCard = CreationCard;
|
|
98
103
|
var templateObject_1, templateObject_2, templateObject_3;
|
|
@@ -21,24 +21,17 @@ var StyledImage = (0, styled_components_1.default)(image_1.default)(templateObje
|
|
|
21
21
|
// Component
|
|
22
22
|
var AddWalletsRedirectPage = function (_a) {
|
|
23
23
|
var walletType = _a.walletType;
|
|
24
|
-
return (
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
</_system_1.H5>
|
|
36
|
-
<div className={'loading'}/>
|
|
37
|
-
</_system_1.Flex>
|
|
38
|
-
</_system_1.Box>
|
|
39
|
-
</_system_1.Flex>
|
|
40
|
-
</_system_1.Box>
|
|
41
|
-
</StyledRedirectOpportunityIdPage>);
|
|
24
|
+
return (react_1.default.createElement(StyledRedirectOpportunityIdPage, null,
|
|
25
|
+
react_1.default.createElement(_system_1.Box, null,
|
|
26
|
+
react_1.default.createElement(_system_1.Flex, { flexDirection: "column", alignItems: 'center' },
|
|
27
|
+
react_1.default.createElement(_system_1.Box, { mt: 16 },
|
|
28
|
+
react_1.default.createElement(_system_1.Flex, { flexDirection: "column", alignItems: 'center' },
|
|
29
|
+
react_1.default.createElement(StyledImage, { width: 74, height: 74, src: "".concat((0, core_1.getStaticDomain)({
|
|
30
|
+
ENV: process_1.default.env.NEXT_PUBLIC_STATIC_DOMAIN,
|
|
31
|
+
}), "/wallets/regular/").concat(walletType, ".svg"), alt: "".concat(walletType, " icon") }),
|
|
32
|
+
react_1.default.createElement(_system_1.H1, { color: colors_1.BlackColor }, "Redirecting..."),
|
|
33
|
+
react_1.default.createElement(_system_1.H5, { mt: 8, color: colors_1.TextGray2Color, textAlign: 'center' }, "Please wait while we add your new wallet"),
|
|
34
|
+
react_1.default.createElement("div", { className: 'loading' })))))));
|
|
42
35
|
};
|
|
43
36
|
// Export
|
|
44
37
|
exports.default = AddWalletsRedirectPage;
|
|
@@ -48,29 +48,23 @@ var Banner = function () {
|
|
|
48
48
|
// const { isConnected } = useAccount();
|
|
49
49
|
// const { disconnectAsync } = useDisconnect();
|
|
50
50
|
var router = (0, router_1.useRouter)();
|
|
51
|
-
return (
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
},
|
|
69
|
-
});
|
|
70
|
-
}} variant="primaryL" text={'Join Ludo'}/>
|
|
71
|
-
</div>
|
|
72
|
-
<image_1.default src={'/banner/banner_img.svg'} className={'banner_img'} width={518} priority={true} height={390} alt={'banner_img'}/>
|
|
73
|
-
</StyledBanner>);
|
|
51
|
+
return (react_1.default.createElement(StyledBanner, null,
|
|
52
|
+
react_1.default.createElement("div", { className: 'banner_content' },
|
|
53
|
+
react_1.default.createElement("span", { className: 'caption' },
|
|
54
|
+
"We have ",
|
|
55
|
+
react_1.default.createElement("strong", null, !loading && count.toLocaleString('RU')),
|
|
56
|
+
react_1.default.createElement("br", null),
|
|
57
|
+
"NFTs indexed"),
|
|
58
|
+
react_1.default.createElement("p", { className: "text " }, "Come join us and explore the blockhain in your own way. We are a multichain discoverability platform offering you easy access to all kinds of NFTs and the best Metaverse experiences and apps."),
|
|
59
|
+
react_1.default.createElement(MainButton_1.default, { onClick: function () {
|
|
60
|
+
return router.push({
|
|
61
|
+
pathname: "".concat(process.env.NEXT_PUBLIC_AUTH_HOST, "/login"),
|
|
62
|
+
query: {
|
|
63
|
+
fallback_url: window.location.origin.replace(/\s/g, ''),
|
|
64
|
+
},
|
|
65
|
+
});
|
|
66
|
+
}, variant: "primaryL", text: 'Join Ludo' })),
|
|
67
|
+
react_1.default.createElement(image_1.default, { src: '/banner/banner_img.svg', className: 'banner_img', width: 518, priority: true, height: 390, alt: 'banner_img' })));
|
|
74
68
|
};
|
|
75
69
|
// Export
|
|
76
70
|
exports.default = Banner;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
var head_1 = __importDefault(require("next/head"));
|
|
7
|
+
var process_1 = __importDefault(require("process"));
|
|
8
|
+
var core_1 = require("@ludo.ninja/core");
|
|
9
|
+
// Component
|
|
10
|
+
var DEFAULT_SEO = {
|
|
11
|
+
title: 'Ludo | The Reputation-Driven Discovery Engine',
|
|
12
|
+
description: 'Ludo is super-cool. Share it with your friends',
|
|
13
|
+
openGraph: {
|
|
14
|
+
type: 'website',
|
|
15
|
+
locale: 'en_US',
|
|
16
|
+
url: "https://".concat(process_1.default.env.NEXT_PUBLIC_STATIC_DOMAIN),
|
|
17
|
+
title: 'Ludo - NFT server-search engine',
|
|
18
|
+
description: 'Ludo is super-cool. Share it with your friends',
|
|
19
|
+
image: "https://".concat(process_1.default.env.NEXT_PUBLIC_STATIC_DOMAIN, "/favicon.png"),
|
|
20
|
+
site_name: process_1.default.env.NEXT_PUBLIC_ENV_DOMAIN,
|
|
21
|
+
imageWidth: '512',
|
|
22
|
+
imageHeight: '512',
|
|
23
|
+
},
|
|
24
|
+
twitter: {
|
|
25
|
+
handle: '@ludo',
|
|
26
|
+
cardType: 'summary_large_image',
|
|
27
|
+
},
|
|
28
|
+
};
|
|
29
|
+
var Meta = function () { return (React.createElement(React.Fragment, null,
|
|
30
|
+
React.createElement(head_1.default, null,
|
|
31
|
+
React.createElement("title", null, DEFAULT_SEO.title),
|
|
32
|
+
React.createElement("link", { rel: "preconnect", href: (0, core_1.getMediaDomain)({ ENV: process_1.default.env.NEXT_PUBLIC_STATIC_DOMAIN }) }),
|
|
33
|
+
React.createElement("link", { rel: "preconnect", href: (0, core_1.getStaticDomain)({ ENV: process_1.default.env.NEXT_PUBLIC_STATIC_DOMAIN }) }),
|
|
34
|
+
React.createElement("link", { rel: "dns-prefetch", href: (0, core_1.getMediaDomain)({ ENV: process_1.default.env.NEXT_PUBLIC_STATIC_DOMAIN }) }),
|
|
35
|
+
React.createElement("link", { rel: "dns-prefetch", href: (0, core_1.getStaticDomain)({ ENV: process_1.default.env.NEXT_PUBLIC_STATIC_DOMAIN }) }),
|
|
36
|
+
React.createElement("link", { rel: "icon", type: "image/svg+xml", href: "".concat((0, core_1.getStaticDomain)({
|
|
37
|
+
ENV: process_1.default.env.NEXT_PUBLIC_STATIC_DOMAIN,
|
|
38
|
+
}), "/favicon/favicon.svg"), sizes: "any" }),
|
|
39
|
+
React.createElement("link", { rel: "icon", type: "image/x-icon", href: "".concat((0, core_1.getStaticDomain)({
|
|
40
|
+
ENV: process_1.default.env.NEXT_PUBLIC_STATIC_DOMAIN,
|
|
41
|
+
}), "/favicon/fav64.ico"), sizes: "any" }),
|
|
42
|
+
React.createElement("link", { rel: "apple-touch-icon", href: "".concat((0, core_1.getStaticDomain)({
|
|
43
|
+
ENV: process_1.default.env.NEXT_PUBLIC_STATIC_DOMAIN,
|
|
44
|
+
}), "/favicon/favicon128.png") }),
|
|
45
|
+
React.createElement("meta", { key: "description", name: "description", content: DEFAULT_SEO.description }),
|
|
46
|
+
React.createElement("meta", { key: "twitter:card", name: "twitter:card", content: DEFAULT_SEO.twitter.cardType }),
|
|
47
|
+
React.createElement("meta", { key: "twitter:site", name: "twitter:site", content: DEFAULT_SEO.twitter.handle }),
|
|
48
|
+
React.createElement("meta", { key: "og:url", property: "og:url", content: DEFAULT_SEO.openGraph.url }),
|
|
49
|
+
React.createElement("meta", { key: "og:type", property: "og:type", content: DEFAULT_SEO.openGraph.type }),
|
|
50
|
+
React.createElement("meta", { key: "og:title", property: "og:title", content: DEFAULT_SEO.openGraph.title }),
|
|
51
|
+
React.createElement("meta", { key: "og:description", property: "og:description", content: DEFAULT_SEO.openGraph.description }),
|
|
52
|
+
React.createElement("meta", { key: "og:image", property: "og:image", content: DEFAULT_SEO.openGraph.image }),
|
|
53
|
+
React.createElement("meta", { key: "og:image:width", property: "og:image:width", content: DEFAULT_SEO.openGraph.imageWidth }),
|
|
54
|
+
React.createElement("meta", { key: "og:image:height", property: "og:image:height", content: DEFAULT_SEO.openGraph.imageHeight }),
|
|
55
|
+
React.createElement("meta", { key: "og:locale", property: "og:locale", content: DEFAULT_SEO.openGraph.locale }),
|
|
56
|
+
React.createElement("meta", { name: "viewport", content: "width=device-width, initial-scale=1" }),
|
|
57
|
+
React.createElement("meta", { charSet: "utf-8" }),
|
|
58
|
+
React.createElement("meta", { name: "viewport", content: "width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" })))); };
|
|
59
|
+
// Export
|
|
60
|
+
exports.default = Meta;
|
|
@@ -5,6 +5,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
var dynamic_1 = __importDefault(require("next/dynamic"));
|
|
7
7
|
// Component
|
|
8
|
-
var NoSsr = function (props) { return
|
|
8
|
+
var NoSsr = function (props) { return React.createElement(React.Fragment, null, props.children); };
|
|
9
9
|
// Export
|
|
10
10
|
exports.default = (0, dynamic_1.default)(function () { return Promise.resolve(NoSsr); }, { ssr: false });
|
|
@@ -15,9 +15,8 @@ var ItemType_1 = require("@/dto/common/ItemType");
|
|
|
15
15
|
var heart_svg_1 = __importDefault(require("@/public/showCaseIcons/heart.svg"));
|
|
16
16
|
var HeartIconResize = function () {
|
|
17
17
|
var windowDimensions = (0, screen_1.useWindowDimensionsWithServerInitial)().windowDimensions;
|
|
18
|
-
return (
|
|
19
|
-
|
|
20
|
-
</div>);
|
|
18
|
+
return (react_1.default.createElement("div", { className: 'icon' },
|
|
19
|
+
react_1.default.createElement(heart_svg_1.default, { style: (0, scale_1.getAdaptiveScale)({ windowDimensions: windowDimensions, currentSize: 1 }) })));
|
|
21
20
|
};
|
|
22
21
|
var CollectionLike = function (_a) {
|
|
23
22
|
var likesCount = _a.likesCount, isLiked = _a.isLiked, collectionId = _a.collectionId;
|
|
@@ -35,11 +34,8 @@ var CollectionLike = function (_a) {
|
|
|
35
34
|
!isLiked ? addLike(collectionId) : deleteLike(collectionId);
|
|
36
35
|
}
|
|
37
36
|
};
|
|
38
|
-
return (
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
<span className={'counter'}>{likes.likesCount}</span>
|
|
42
|
-
</Likes_1.default>)}
|
|
43
|
-
</>);
|
|
37
|
+
return (react_1.default.createElement(react_1.default.Fragment, null, isLoading ? (react_1.default.createElement(react_loading_skeleton_1.default, { style: { borderRadius: '3px' }, height: "100%", width: "31px" })) : (react_1.default.createElement(Likes_1.default, { isLiked: likes.isLiked, onClick: function () { return handleLikes(likes.isLiked); } },
|
|
38
|
+
react_1.default.createElement(HeartIconResize, null),
|
|
39
|
+
react_1.default.createElement("span", { className: 'counter' }, likes.likesCount)))));
|
|
44
40
|
};
|
|
45
41
|
exports.default = CollectionLike;
|
|
@@ -65,12 +65,11 @@ var StyledDelete = styled_components_1.default.div(templateObject_1 || (template
|
|
|
65
65
|
var SIcon = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n\n ", " {\n width: ", ";\n height: ", ";\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n\n ", " {\n width: ", ";\n height: ", ";\n }\n"])), styles_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(40), (0, _4k_1.adaptiveValueCalc)(35));
|
|
66
66
|
var WarningIconResize = function () {
|
|
67
67
|
var windowDimensions = (0, utils_1.useWindowDimensionsWithServerInitial)().windowDimensions;
|
|
68
|
-
return (
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
</SIcon>);
|
|
68
|
+
return (react_1.default.createElement(SIcon, null,
|
|
69
|
+
react_1.default.createElement(warning_svg_1.default, { style: (0, utils_1.getAdaptiveScale)({
|
|
70
|
+
windowDimensions: windowDimensions,
|
|
71
|
+
currentSize: 1,
|
|
72
|
+
}) })));
|
|
74
73
|
};
|
|
75
74
|
var DeleteDialog = function (_a) {
|
|
76
75
|
var galleryId = _a.galleryId, userId = _a.userId, onHide = _a.onHide, isGallery = _a.isGallery;
|
|
@@ -95,19 +94,15 @@ var DeleteDialog = function (_a) {
|
|
|
95
94
|
}
|
|
96
95
|
});
|
|
97
96
|
}); };
|
|
98
|
-
return (
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
<system_1.MainButton text={'Cancel'} variant="outline" onClick={onHide}/>
|
|
108
|
-
</div>
|
|
109
|
-
</div>
|
|
110
|
-
</StyledDelete>);
|
|
97
|
+
return (react_1.default.createElement(StyledDelete, null,
|
|
98
|
+
react_1.default.createElement(WarningIconResize, null),
|
|
99
|
+
react_1.default.createElement(system_1.H2, { className: "title" }, "Are you sure you want to delete this gallery?"),
|
|
100
|
+
react_1.default.createElement("p", { className: "warning" }, "Gallery can\u2019t be restored after deleting."),
|
|
101
|
+
react_1.default.createElement("div", { className: 'btns' },
|
|
102
|
+
react_1.default.createElement("div", { className: 'delete' },
|
|
103
|
+
react_1.default.createElement(system_1.MainButton, { text: 'Delete', type: 'button', variant: "danger", onClick: function () { return hendleDelete(galleryId); } })),
|
|
104
|
+
react_1.default.createElement("div", { className: 'cancel' },
|
|
105
|
+
react_1.default.createElement(system_1.MainButton, { text: 'Cancel', variant: "outline", onClick: onHide })))));
|
|
111
106
|
};
|
|
112
107
|
// Export
|
|
113
108
|
exports.default = DeleteDialog;
|
|
@@ -86,11 +86,9 @@ var AddAssetToFavoriteList = function (_a) {
|
|
|
86
86
|
}
|
|
87
87
|
});
|
|
88
88
|
}); };
|
|
89
|
-
return (
|
|
90
|
-
{isNeedAddFavList ? (<createGalleryForm_1.default setAddGallery={setAddFavList} title={'Create Favourite List'} inputPlaceHolderText={'List Name'}
|
|
89
|
+
return (react_1.default.createElement("div", null, isNeedAddFavList ? (react_1.default.createElement(createGalleryForm_1.default, { setAddGallery: setAddFavList, title: 'Create Favourite List', inputPlaceHolderText: 'List Name',
|
|
91
90
|
// ids={ids}
|
|
92
|
-
createMethod
|
|
93
|
-
</div>);
|
|
91
|
+
createMethod: createFavorites, error: errorCreateFavorites })) : (react_1.default.createElement(chooseGalleryItems_1.default, { setAddGallery: setAddFavList, title: 'Add to Favourite List', titleBtn: '+ New Favourite List', ids: ids, addMethod: addMethod, isAdded: isAdded, error: error }))));
|
|
94
92
|
};
|
|
95
93
|
// Export
|
|
96
94
|
exports.default = AddAssetToFavoriteList;
|
|
@@ -86,9 +86,7 @@ var AddCollectionToFavoriteList = function (_a) {
|
|
|
86
86
|
}
|
|
87
87
|
});
|
|
88
88
|
}); };
|
|
89
|
-
return (
|
|
90
|
-
{isNeedAddFavList ? (<createGalleryForm_1.default setAddGallery={setAddFavList} title={'Create Favourite List'} inputPlaceHolderText={'List Name'} createMethod={createFavorites} error={errorCreateFavorites}/>) : (<chooseGalleryItems_1.default setAddGallery={setAddFavList} title={'Add to Favourite List'} titleBtn={'+ New Favourite List'} ids={ids} addMethod={addMethod} isAdded={isAdded} error={error}/>)}
|
|
91
|
-
</div>);
|
|
89
|
+
return (react_1.default.createElement("div", null, isNeedAddFavList ? (react_1.default.createElement(createGalleryForm_1.default, { setAddGallery: setAddFavList, title: 'Create Favourite List', inputPlaceHolderText: 'List Name', createMethod: createFavorites, error: errorCreateFavorites })) : (react_1.default.createElement(chooseGalleryItems_1.default, { setAddGallery: setAddFavList, title: 'Add to Favourite List', titleBtn: '+ New Favourite List', ids: ids, addMethod: addMethod, isAdded: isAdded, error: error }))));
|
|
92
90
|
};
|
|
93
91
|
// Export
|
|
94
92
|
exports.default = AddCollectionToFavoriteList;
|
|
@@ -86,11 +86,9 @@ var AddCreationToFavoriteList = function (_a) {
|
|
|
86
86
|
}
|
|
87
87
|
});
|
|
88
88
|
}); };
|
|
89
|
-
return (
|
|
90
|
-
{isNeedAddFavList ? (<createGalleryForm_1.default setAddGallery={setAddFavList} title={'Create Favourite List'} inputPlaceHolderText={'List Name'}
|
|
89
|
+
return (react_1.default.createElement("div", null, isNeedAddFavList ? (react_1.default.createElement(createGalleryForm_1.default, { setAddGallery: setAddFavList, title: 'Create Favourite List', inputPlaceHolderText: 'List Name',
|
|
91
90
|
// ids={ids}
|
|
92
|
-
createMethod
|
|
93
|
-
</div>);
|
|
91
|
+
createMethod: createFavorites, error: errorCreateFavorites })) : (react_1.default.createElement(chooseGalleryItems_1.default, { setAddGallery: setAddFavList, title: 'Add to Favourite List', titleBtn: '+ New Favourite List', ids: ids, addMethod: addMethod, isAdded: isAdded, error: error, currentMyGalleryId: currentMyGalleryId }))));
|
|
94
92
|
};
|
|
95
93
|
// Export
|
|
96
94
|
exports.default = AddCreationToFavoriteList;
|
|
@@ -17,14 +17,11 @@ var StyledApplyResetButtons = styled_components_1.default.div(templateObject_1 |
|
|
|
17
17
|
// Component
|
|
18
18
|
var ApplyResetButtons = function (_a) {
|
|
19
19
|
var onReset = _a.onReset, onApply = _a.onApply;
|
|
20
|
-
return (
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
<MainButton_1.default text={'Apply'} variant="primaryL" onClick={function () { return onApply(); }}/>
|
|
26
|
-
</div>
|
|
27
|
-
</StyledApplyResetButtons>);
|
|
20
|
+
return (react_1.default.createElement(StyledApplyResetButtons, null,
|
|
21
|
+
react_1.default.createElement("div", { className: 'reset_btn' },
|
|
22
|
+
react_1.default.createElement(MainButton_1.default, { text: 'Reset', variant: "outline", onClick: function () { return onReset(); } })),
|
|
23
|
+
react_1.default.createElement("div", { className: 'apply_btn' },
|
|
24
|
+
react_1.default.createElement(MainButton_1.default, { text: 'Apply', variant: "primaryL", onClick: function () { return onApply(); } }))));
|
|
28
25
|
};
|
|
29
26
|
// Export
|
|
30
27
|
exports.default = ApplyResetButtons;
|
|
@@ -79,20 +79,11 @@ var GalleryFiltersForm = function (_a) {
|
|
|
79
79
|
var handleChangeBlockchainTimeResult = function (value) {
|
|
80
80
|
setSelectedBlockchainTimeResult(value);
|
|
81
81
|
};
|
|
82
|
-
return (
|
|
83
|
-
|
|
84
|
-
{
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
{selectBlockchainSearchResult.map(function (select) { return (<RadioInput_1.default key={select.id} radioLabel={select.label} radioValue={select.id} handleChange={handleChangeBlockchainResult} radioChecked={selectedBlockchainResult === select.id}/>); })}
|
|
88
|
-
</DropDown_1.default>
|
|
89
|
-
<DropDown_1.default caption={'Category'} fallBackOnClose={handleChangeBlockchainCategoryResult}>
|
|
90
|
-
{selectBlockchainCategoryResult.map(function (select) { return (<RadioInput_1.default key={select.id} radioLabel={select.label} radioValue={select.id} handleChange={handleChangeBlockchainCategoryResult} radioChecked={selectedBlockchainResult === select.id}/>); })}
|
|
91
|
-
</DropDown_1.default>
|
|
92
|
-
<DropDown_1.default caption={'Time'} fallBackOnClose={handleChangeBlockchainTimeResult}>
|
|
93
|
-
{selectBlockchainTimeResult.map(function (select) { return (<RadioInput_1.default key={select.id} radioLabel={select.label} radioValue={select.id} handleChange={handleChangeBlockchainTimeResult} radioChecked={selectedBlockchainResult === select.id}/>); })}
|
|
94
|
-
</DropDown_1.default>
|
|
95
|
-
</StyledNtfsFiltersForm>);
|
|
82
|
+
return (react_1.default.createElement(StyledNtfsFiltersForm, null,
|
|
83
|
+
react_1.default.createElement(DropDown_1.default, { caption: 'Type', fallBackOnClose: handleChangeSearchResult }, selectTypeSearchResult.map(function (select) { return (react_1.default.createElement(RadioInput_1.default, { key: select.id, radioLabel: select.label, radioValue: select.id, handleChange: handleChangeSearchResult, radioChecked: selectedBlockchainResult === select.id })); })),
|
|
84
|
+
react_1.default.createElement(DropDown_1.default, { caption: 'BlockChainEntity', fallBackOnClose: handleChangeBlockchainResult }, selectBlockchainSearchResult.map(function (select) { return (react_1.default.createElement(RadioInput_1.default, { key: select.id, radioLabel: select.label, radioValue: select.id, handleChange: handleChangeBlockchainResult, radioChecked: selectedBlockchainResult === select.id })); })),
|
|
85
|
+
react_1.default.createElement(DropDown_1.default, { caption: 'Category', fallBackOnClose: handleChangeBlockchainCategoryResult }, selectBlockchainCategoryResult.map(function (select) { return (react_1.default.createElement(RadioInput_1.default, { key: select.id, radioLabel: select.label, radioValue: select.id, handleChange: handleChangeBlockchainCategoryResult, radioChecked: selectedBlockchainResult === select.id })); })),
|
|
86
|
+
react_1.default.createElement(DropDown_1.default, { caption: 'Time', fallBackOnClose: handleChangeBlockchainTimeResult }, selectBlockchainTimeResult.map(function (select) { return (react_1.default.createElement(RadioInput_1.default, { key: select.id, radioLabel: select.label, radioValue: select.id, handleChange: handleChangeBlockchainTimeResult, radioChecked: selectedBlockchainResult === select.id })); }))));
|
|
96
87
|
};
|
|
97
88
|
// Export
|
|
98
89
|
exports.default = GalleryFiltersForm;
|
|
@@ -78,41 +78,33 @@ var Filters = function (_a) {
|
|
|
78
78
|
closeOverlay();
|
|
79
79
|
setSidebarOpen(false);
|
|
80
80
|
};
|
|
81
|
-
return (
|
|
82
|
-
|
|
83
|
-
selectData.map(function (select) { return (
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
closeFiltersMobile();
|
|
109
|
-
}} onApply={function () {
|
|
110
|
-
handleMobileFilterInput(mobileFilterInput);
|
|
111
|
-
closeFiltersMobile();
|
|
112
|
-
}}/>
|
|
113
|
-
</sidebarFilters_1.default>
|
|
114
|
-
</>)}
|
|
115
|
-
</StyledFilters>);
|
|
81
|
+
return (react_1.default.createElement(StyledFilters, null,
|
|
82
|
+
!isMobile &&
|
|
83
|
+
selectData.map(function (select) { return (react_1.default.createElement("div", { key: select.id, className: "select ".concat(select.data.selectName) },
|
|
84
|
+
react_1.default.createElement(DesktopSelect_1.default, { defaultOptionValue: filterInput[select.data.selectName], options: select.data.selectOptions, isLoading: false, onChangeHandler: filterInputHandler, name: select.data.selectName }))); }),
|
|
85
|
+
isMobile && (react_1.default.createElement(react_1.default.Fragment, null,
|
|
86
|
+
react_1.default.createElement("div", { className: 'filterButton' },
|
|
87
|
+
react_1.default.createElement("button", { onClick: function (e) {
|
|
88
|
+
e.stopPropagation();
|
|
89
|
+
e.preventDefault();
|
|
90
|
+
openOverLay();
|
|
91
|
+
setSidebarOpen(true);
|
|
92
|
+
} },
|
|
93
|
+
"Filters",
|
|
94
|
+
selectedFiltersCount ? (react_1.default.createElement("span", { className: 'counter' }, selectedFiltersCount)) : null)),
|
|
95
|
+
react_1.default.createElement(sidebarFilters_1.default, { isOpen: isSideBarOpen, handleClose: function () {
|
|
96
|
+
setMobileFilterInput(filterInput);
|
|
97
|
+
closeFiltersMobile();
|
|
98
|
+
} },
|
|
99
|
+
react_1.default.createElement(mobileFilters_1.default, null, selectData.map(function (select) { return (react_1.default.createElement(MobileSelect_1.default, { key: select.id, defaultOptionValue: mobileFilterInput[select.data
|
|
100
|
+
.selectName], options: select.data.selectOptions, name: select.data.selectName, onChangeHandler: handleMobileFilters })); })),
|
|
101
|
+
react_1.default.createElement(applyResetBtns_1.default, { onReset: function () {
|
|
102
|
+
handleResetFilter();
|
|
103
|
+
closeFiltersMobile();
|
|
104
|
+
}, onApply: function () {
|
|
105
|
+
handleMobileFilterInput(mobileFilterInput);
|
|
106
|
+
closeFiltersMobile();
|
|
107
|
+
} }))))));
|
|
116
108
|
};
|
|
117
109
|
// Export
|
|
118
110
|
exports.default = Filters;
|
|
@@ -14,7 +14,7 @@ var StyledMobileFilters = styled_components_1.default.div(templateObject_1 || (t
|
|
|
14
14
|
// Component
|
|
15
15
|
var MobileFilters = function (_a) {
|
|
16
16
|
var children = _a.children;
|
|
17
|
-
return
|
|
17
|
+
return react_1.default.createElement(StyledMobileFilters, null, children);
|
|
18
18
|
};
|
|
19
19
|
// Export
|
|
20
20
|
exports.default = MobileFilters;
|
|
@@ -72,17 +72,10 @@ var SetsFiltersForm = function (_a) {
|
|
|
72
72
|
var handleChangeBlockchainTimeResult = function (value) {
|
|
73
73
|
setSelectedBlockchainTimeResult(value);
|
|
74
74
|
};
|
|
75
|
-
return (
|
|
76
|
-
|
|
77
|
-
{
|
|
78
|
-
|
|
79
|
-
<DropDown_1.default caption={'Category'} fallBackOnClose={handleChangeBlockchainCategoryResult}>
|
|
80
|
-
{selectBlockchainCategoryResult.map(function (select) { return (<RadioInput_1.default key={select.id} radioLabel={select.label} radioValue={select.id} handleChange={handleChangeBlockchainCategoryResult} radioChecked={selectedSearchResult === select.id}/>); })}
|
|
81
|
-
</DropDown_1.default>
|
|
82
|
-
<DropDown_1.default caption={'Time'} fallBackOnClose={handleChangeBlockchainTimeResult}>
|
|
83
|
-
{selectBlockchainTimeResult.map(function (select) { return (<RadioInput_1.default key={select.id} radioLabel={select.label} radioValue={select.id} handleChange={handleChangeBlockchainTimeResult} radioChecked={selectedSearchResult === select.id}/>); })}
|
|
84
|
-
</DropDown_1.default>
|
|
85
|
-
</StyledSetsFiltersForm>);
|
|
75
|
+
return (react_1.default.createElement(StyledSetsFiltersForm, null,
|
|
76
|
+
react_1.default.createElement(DropDown_1.default, { caption: 'Type', fallBackOnClose: handleChangeSearchResult }, selectTypeSearchResult.map(function (select) { return (react_1.default.createElement(RadioInput_1.default, { key: select.id, radioLabel: select.label, radioValue: select.id, handleChange: handleChangeSearchResult, radioChecked: selectedSearchResult === select.id })); })),
|
|
77
|
+
react_1.default.createElement(DropDown_1.default, { caption: 'Category', fallBackOnClose: handleChangeBlockchainCategoryResult }, selectBlockchainCategoryResult.map(function (select) { return (react_1.default.createElement(RadioInput_1.default, { key: select.id, radioLabel: select.label, radioValue: select.id, handleChange: handleChangeBlockchainCategoryResult, radioChecked: selectedSearchResult === select.id })); })),
|
|
78
|
+
react_1.default.createElement(DropDown_1.default, { caption: 'Time', fallBackOnClose: handleChangeBlockchainTimeResult }, selectBlockchainTimeResult.map(function (select) { return (react_1.default.createElement(RadioInput_1.default, { key: select.id, radioLabel: select.label, radioValue: select.id, handleChange: handleChangeBlockchainTimeResult, radioChecked: selectedSearchResult === select.id })); }))));
|
|
86
79
|
};
|
|
87
80
|
// Export
|
|
88
81
|
exports.default = SetsFiltersForm;
|