@ludo.ninja/components 1.9.2 → 1.9.4
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.js → CardHead.jsx} +27 -20
- package/dist/components/CreationCard/index.d.ts +1 -1
- package/dist/components/CreationCard/{index.js → index.jsx} +22 -27
- package/dist/components/addWalletsRedirectPage/{index.js → index.jsx} +18 -11
- package/dist/components/banner/{index.js → index.jsx} +23 -17
- package/dist/components/base/Meta/index.jsx +64 -0
- package/dist/components/base/NoSSR/{index.js → index.jsx} +1 -1
- package/dist/components/collectionPage/collectionLike/{index.js → index.jsx} +9 -5
- package/dist/components/deleteDialog/{index.js → index.jsx} +23 -18
- package/dist/components/favoriteList/add/addAssetToFavoriteList/{index.js → index.jsx} +5 -3
- package/dist/components/favoriteList/add/addCollectionToFavoriteList/{index.js → index.jsx} +4 -2
- package/dist/components/favoriteList/add/addCreationToFavoriteList/{index.js → index.jsx} +5 -3
- package/dist/components/filters/applyResetBtns/{index.js → index.jsx} +8 -5
- package/dist/components/filters/galleriesFiltersForm/{index.js → index.jsx} +14 -5
- package/dist/components/filters/{index.js → index.jsx} +37 -29
- package/dist/components/filters/mobileFilters/{index.js → index.jsx} +1 -1
- package/dist/components/filters/setsFiltersForm/{index.js → index.jsx} +11 -4
- package/dist/components/forms/form/{index.js → index.jsx} +46 -36
- package/dist/components/forms/formsNavigation/{index.js → index.jsx} +15 -7
- package/dist/components/forms/formsTemplate/{index.js → index.jsx} +7 -6
- package/dist/components/gallery/add/addAssetToGallery/{index.js → index.jsx} +5 -3
- package/dist/components/gallery/add/addCreationToGallery/{index.js → index.jsx} +9 -8
- package/dist/components/gradientLabel/{index.js → index.jsx} +1 -1
- package/dist/components/headers/components/headerExperienceLabel/{index.js → index.jsx} +6 -5
- package/dist/components/headers/components/headerUserPic/{index.js → index.jsx} +5 -4
- package/dist/components/headers/header/{index.js → index.jsx} +7 -7
- package/dist/components/headers/headerSearch/{index.js → index.jsx} +8 -8
- package/dist/components/headers/headerSimple/{index.js → index.jsx} +6 -4
- package/dist/components/inviteCodesForms/getEarlyAccessForm/{index.js → index.jsx} +27 -17
- package/dist/components/inviteCodesForms/joinWaitListForm/{index.js → index.jsx} +22 -11
- package/dist/components/inviteCodesPage/components/inviteCodes/{index.js → index.jsx} +2 -2
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCode/{index.js → index.jsx} +4 -3
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCode/loader/{index.js → index.jsx} +7 -6
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/{index.js → index.jsx} +2 -2
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/loader/{index.js → index.jsx} +1 -1
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCopy/{index.js → index.jsx} +9 -4
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeDate/{index.js → index.jsx} +3 -1
- package/dist/components/inviteCodesPage/wrappers/resumeCodes/{index.js → index.jsx} +30 -20
- package/dist/components/inviteCodesPage/wrappers/resumeCodes/loader/index.jsx +18 -0
- package/dist/components/inviteCodesPage/wrappers/unusedCodes/{index.js → index.jsx} +6 -4
- package/dist/components/inviteCodesPage/wrappers/usedCodes/{index.js → index.jsx} +9 -6
- package/dist/components/linkTabs/{index.js → index.jsx} +4 -2
- package/dist/components/linkTabs/linkTab/{index.js → index.jsx} +8 -6
- package/dist/components/myWallets/{index.js → index.jsx} +5 -4
- package/dist/components/myWallets/myWalletItem/{index.js → index.jsx} +30 -23
- package/dist/components/navigation/{index.js → index.jsx} +30 -12
- package/dist/components/profile/MultiversXAudit/{MultiversXAudit.js → MultiversXAudit.jsx} +18 -13
- package/dist/components/profile/{ProfileTabs.js → ProfileTabs.jsx} +22 -20
- package/dist/components/profile/aboutText/{index.js → index.jsx} +31 -22
- package/dist/components/profile/addToGalleryBtns/{index.js → index.jsx} +13 -10
- package/dist/components/profile/followersSocial/followers/{index.js → index.jsx} +4 -3
- package/dist/components/profile/followersSocial/{index.js → index.jsx} +7 -6
- package/dist/components/profile/followersSocial/social/{index.js → index.jsx} +9 -7
- package/dist/components/profile/index.d.ts +1 -1
- package/dist/components/profile/index.js +1 -1
- package/dist/components/profile/info/{index.js → index.jsx} +12 -9
- package/dist/components/profile/interests/{index.js → index.jsx} +30 -15
- package/dist/components/profile/pageHead/index.jsx +52 -0
- package/dist/components/profile/profileSkeleton/{index.js → index.jsx} +16 -10
- package/dist/components/profile/profileUserCards/{index.js → index.jsx} +1 -1
- package/dist/components/profile/profileUserCards/profileUserCard/{index.js → index.jsx} +27 -22
- package/dist/components/profile/rank/{index.js → index.jsx} +16 -8
- package/dist/components/profile/stats/{index.js → index.jsx} +13 -5
- package/dist/components/profile/wallets/{index.js → index.jsx} +30 -22
- package/dist/components/profile/wrapper/{index.js → index.jsx} +12 -4
- package/dist/components/registrationPage/registrationSelectBox/{index.js → index.jsx} +3 -2
- package/dist/components/registrationPage/registrationSelection/{index.js → index.jsx} +30 -16
- package/dist/components/rewards/FAQ/{index.js → index.jsx} +21 -13
- package/dist/components/rewards/clarifications/{index.js → index.jsx} +26 -16
- package/dist/components/rewards/logoBottom/{index.js → index.jsx} +7 -6
- package/dist/components/rewards/prograssBar/{index.js → index.jsx} +6 -4
- package/dist/components/rewards/rewardsButton/{index.js → index.jsx} +1 -1
- package/dist/components/rewards/seasonBanner/{index.js → index.jsx} +4 -3
- package/dist/components/rewards/taskExpTab/{index.js → index.jsx} +32 -20
- package/dist/components/rewards/tasksGrid/{index.js → index.jsx} +7 -4
- package/dist/components/rewards/userExp/{index.js → index.jsx} +30 -24
- package/dist/components/search/{SearchInputContainer.js → SearchInputContainer.jsx} +100 -98
- package/dist/components/search/{index.js → index.jsx} +13 -11
- package/dist/components/search/searchCategories/{index.js → index.jsx} +10 -6
- package/dist/components/search/searchCloseMoreButtons/{index.js → index.jsx} +16 -13
- package/dist/components/search/searchResultCaption/{index.js → index.jsx} +7 -4
- package/dist/components/search/searchSelectsGalleries/{index.js → index.jsx} +31 -15
- package/dist/components/search/searchSelectsSets/{index.js → index.jsx} +28 -15
- package/dist/components/search/searchSimpleInput/{index.js → index.jsx} +12 -10
- package/dist/components/search/searchSuggestions/index.jsx +124 -0
- package/dist/components/search/searchSuggestions/searchSuggestionsCaption/{index.js → index.jsx} +5 -4
- package/dist/components/search/searchSuggestions/searchSuggestionsFooter/{index.js → index.jsx} +8 -7
- package/dist/components/search/searchSuggestions/searchSuggestionsItem/{index.js → index.jsx} +19 -12
- package/dist/components/search/searchSuggestions/searchSuggestionsItem/searchSuggestionsItemSkeleton/{index.js → index.jsx} +15 -8
- package/dist/components/search/searchSuggestions/searchSuggestionsNotFound/{index.js → index.jsx} +4 -6
- package/dist/components/shareDialog/index.jsx +91 -0
- package/dist/components/showcaseAssets/showcaseSort/{index.js → index.jsx} +6 -4
- package/dist/components/sidebar/{data.js → data.jsx} +8 -8
- package/dist/components/sidebar/{index.js → index.jsx} +33 -26
- package/dist/components/sidebar/{initializer.js → initializer.jsx} +1 -1
- package/dist/components/sidebar/sidebarFilters/{index.js → index.jsx} +9 -6
- package/dist/components/sidebar/sidebarInviteCodeLabel/{index.js → index.jsx} +5 -4
- package/dist/components/socialButtons/{data.js → data.jsx} +6 -6
- package/dist/components/socialButtons/icons/discord.jsx +8 -0
- package/dist/components/socialButtons/icons/facebook.jsx +9 -0
- package/dist/components/socialButtons/icons/instagram.jsx +10 -0
- package/dist/components/socialButtons/icons/medium.jsx +8 -0
- package/dist/components/socialButtons/icons/telegram.jsx +8 -0
- package/dist/components/socialButtons/icons/twitter.jsx +8 -0
- package/dist/components/socialButtons/{index.js → index.jsx} +8 -5
- package/dist/components/tabs/icons/bell.jsx +10 -0
- package/dist/components/tabs/icons/profile.jsx +10 -0
- package/dist/components/tabs/icons/secure.jsx +9 -0
- package/dist/components/tabs/{index.js → index.jsx} +13 -10
- package/dist/components/toTopBtn/{index.js → index.jsx} +9 -7
- package/dist/dto/AssetEntity/views/AssetAudio/{index.js → index.jsx} +1 -1
- package/dist/dto/AssetEntity/views/AssetImage/{index.js → index.jsx} +2 -2
- package/dist/dto/AssetEntity/views/AssetObject/{index.js → index.jsx} +3 -3
- package/dist/dto/AssetEntity/views/AssetOther/{index.js → index.jsx} +3 -3
- package/dist/dto/AssetEntity/views/AssetScreenshot/{index.js → index.jsx} +2 -2
- package/dist/dto/AssetEntity/views/AssetVideo/{index.js → index.jsx} +1 -1
- package/dist/dto/common/ItemViews/CreationAudio/{index.js → index.jsx} +1 -1
- package/dist/dto/common/ItemViews/CreationImage/{index.js → index.jsx} +2 -2
- package/dist/dto/common/ItemViews/CreationObject/{index.js → index.jsx} +1 -1
- package/dist/dto/common/ItemViews/CreationOther/{index.js → index.jsx} +1 -1
- package/dist/dto/common/ItemViews/CreationVideo/{index.js → index.jsx} +1 -1
- package/dist/dto/common/Media/Audio/{index.js → index.jsx} +3 -3
- package/dist/dto/common/Media/Image/{index.js → index.jsx} +4 -4
- package/dist/dto/common/Media/Object/{index.js → index.jsx} +3 -3
- package/dist/dto/common/Media/Other/{index.js → index.jsx} +3 -3
- package/dist/dto/common/Media/Screenshot/{index.js → index.jsx} +4 -4
- package/dist/dto/common/Media/Video/{index.js → index.jsx} +3 -3
- package/dist/fonts/{FontsInitializeLayout.js → FontsInitializeLayout.jsx} +4 -1
- package/dist/hooks/apollo/index.d.ts +1 -4
- package/dist/hooks/apollo/{index.js → index.jsx} +1 -1
- package/dist/hooks/likes/dynamic/{useFindCollectionsAndLikes.js → useFindCollectionsAndLikes.jsx} +1 -1
- package/dist/hooks/searchFiltersConnector/{index.js → index.jsx} +35 -33
- package/dist/hooks/useToGalleryAsset/{index.js → index.jsx} +1 -1
- package/dist/layouts/GlobalLayout.jsx +49 -0
- package/dist/layouts/base/LWithRegularHeader/{index.js → index.jsx} +5 -4
- package/dist/layouts/base/LWithSearchHeader/{index.js → index.jsx} +5 -4
- package/dist/layouts/base/LWithSimpleHeader/{index.js → index.jsx} +5 -4
- package/dist/layouts/base/LWithoutHeader/{index.js → index.jsx} +4 -3
- package/dist/layouts/custom/accountLayout/index.d.ts +1 -1
- package/dist/layouts/custom/accountLayout/index.jsx +28 -0
- package/dist/layouts/custom/formsLayout/index.d.ts +1 -1
- package/dist/layouts/custom/formsLayout/{index.js → index.jsx} +8 -6
- package/dist/layouts/custom/mainLayout/index.d.ts +1 -1
- package/dist/layouts/custom/mainLayout/{index.js → index.jsx} +12 -9
- package/dist/layouts/custom/searchLayout/index.d.ts +1 -1
- package/dist/layouts/custom/searchLayout/{index.js → index.jsx} +11 -8
- package/dist/layouts/custom/simpleLayout/index.d.ts +1 -1
- package/dist/layouts/custom/simpleLayout/{index.js → index.jsx} +12 -9
- package/dist/layouts/custom/styles.js +1 -1
- package/dist/layouts/pageTransitionLayout.jsx +27 -0
- package/dist/modules/notifications/{CreatorNotifications.js → CreatorNotifications.jsx} +4 -2
- package/dist/modules/sessionScroll/useVirtuosoInitialScroll.d.ts +2 -2
- package/dist/modules/sessionScroll/useVirtuosoInitialScroll.js +1 -1
- package/dist/modules/user/profileData/{profileDataInitialization.js → profileDataInitialization.jsx} +3 -3
- package/dist/modules/virtuoso/VirtuosoPageBuilder.d.ts +2 -2
- package/dist/modules/virtuoso/{VirtuosoPageBuilder.js → VirtuosoPageBuilder.jsx} +27 -22
- package/dist/modules/virtuoso/{VirtuosoToTopBtn.js → VirtuosoToTopBtn.jsx} +2 -2
- package/dist/pages/index.jsx +18 -0
- package/dist/store/ui/index.js +1 -1
- package/dist/store/ui/utils.d.ts +1 -1
- package/dist/system/ActiveLink/{index.js → index.jsx} +5 -14
- package/dist/system/Alert/{index.js → index.jsx} +2 -2
- package/dist/system/BasicOverlay/{index.js → index.jsx} +1 -1
- package/dist/system/Cards/CardCheckbox/{index.js → index.jsx} +7 -5
- package/dist/system/Cards/CardContent/CardCategory/{index.js → index.jsx} +6 -4
- package/dist/system/Cards/CardContent/CardLikes/{index.js → index.jsx} +11 -7
- package/dist/system/Cards/CardContent/CardShowMore/{index.js → index.jsx} +11 -8
- package/dist/system/Cards/CardContent/{index.js → index.jsx} +31 -17
- package/dist/system/Cards/CardHeadIcons/{index.js → index.jsx} +25 -18
- package/dist/system/Cards/CardMedia/CardAudio/{index.js → index.jsx} +8 -7
- package/dist/system/Cards/CardMedia/CardImage/{index.js → index.jsx} +5 -4
- package/dist/system/Cards/CardMedia/CardVideo/{index.js → index.jsx} +11 -9
- package/dist/system/Cards/CardRank/{index.js → index.jsx} +13 -7
- package/dist/system/Cards/CardsGrid/{index.js → index.jsx} +14 -9
- package/dist/system/Cards/HideLink/index.jsx +22 -0
- package/dist/system/Cards/MultiMediaCard/{index.js → index.jsx} +18 -12
- package/dist/system/Cards/RegularCard/{index.js → index.jsx} +18 -12
- package/dist/system/Cards/Styles/Head.js +1 -1
- package/dist/system/Cards/Styles/Headicons.js +1 -1
- package/dist/system/Cards/Styles/Image.js +1 -1
- package/dist/system/Cards/Styles/Likes.js +2 -2
- package/dist/system/Cards/Styles/MultiHead.js +1 -1
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsError/{index.js → index.jsx} +6 -3
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsNoResults/{index.js → index.jsx} +4 -3
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsSkeleton/{index.js → index.jsx} +17 -11
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/{index.js → index.jsx} +9 -5
- package/dist/system/CardsHolderWithSkeleton/CardsHolderLoader/{index.js → index.jsx} +5 -4
- package/dist/system/CardsHolderWithSkeleton/{index.js → index.jsx} +6 -3
- package/dist/system/DropDown/{DropDown.test.js → DropDown.test.jsx} +11 -7
- package/dist/system/DropDown/{index.js → index.jsx} +13 -10
- package/dist/system/Forms/Checkbox/{Checkbox.test.js → Checkbox.test.jsx} +2 -13
- package/dist/system/Forms/Checkbox/{index.js → index.jsx} +15 -23
- package/dist/system/Forms/DatePicker/{index.js → index.jsx} +8 -7
- package/dist/system/Forms/ErrorLabel/{ErrorLabel.test.js → ErrorLabel.test.jsx} +2 -2
- package/dist/system/Forms/ErrorLabel/{index.js → index.jsx} +2 -2
- package/dist/system/Forms/Input/{Input.test.js → Input.test.jsx} +2 -2
- package/dist/system/Forms/Input/{index.js → index.jsx} +6 -16
- package/dist/system/Forms/RadioInput/{index.js → index.jsx} +6 -16
- package/dist/system/Forms/Selects/DesktopSelect/{index.js → index.jsx} +15 -25
- package/dist/system/Forms/Selects/MobileSelect/{index.js → index.jsx} +3 -1
- package/dist/system/Forms/TextArea/{index.js → index.jsx} +6 -16
- package/dist/system/Img/ExternalImage/{index.js → index.jsx} +1 -12
- package/dist/system/Img/ImageInterceptor/{ImageInterceptor.test.js → ImageInterceptor.test.jsx} +14 -10
- package/dist/system/Img/ImageInterceptor/{index.js → index.jsx} +5 -4
- package/dist/system/Img/Profilepic/{index.js → index.jsx} +9 -8
- package/dist/system/Img/Userpic/{UserPic.test.js → UserPic.test.jsx} +8 -6
- package/dist/system/Img/Userpic/{index.js → index.jsx} +16 -13
- package/dist/system/Labels/ExperienceLabel/{ExperienceLabel.test.js → ExperienceLabel.test.jsx} +6 -16
- package/dist/system/Labels/ExperienceLabel/{index.js → index.jsx} +7 -8
- package/dist/system/Labels/InviteLabel/{InviteLabel.test.js → InviteLabel.test.jsx} +5 -15
- package/dist/system/Labels/InviteLabel/{index.js → index.jsx} +4 -3
- package/dist/system/Modals/Modal/{Modal.test.js → Modal.test.jsx} +5 -5
- package/dist/system/Modals/Modal/{index.js → index.jsx} +6 -5
- package/dist/system/Modals/ModalSidebar/{CreatorModalSidebarPortal.js → CreatorModalSidebarPortal.jsx} +2 -2
- package/dist/system/Modals/ModalSidebar/{ModalSidebar.test.js → ModalSidebar.test.jsx} +4 -4
- package/dist/system/Modals/ModalSidebar/{ModalSidebarPortal.js → ModalSidebarPortal.jsx} +6 -4
- package/dist/system/Modals/ModalSidebar/{index.js → index.jsx} +6 -5
- package/dist/system/Overlay/{Overlay.test.js → Overlay.test.jsx} +5 -4
- package/dist/system/Overlay/{index.js → index.jsx} +4 -3
- package/dist/system/{ShareIconResize.js → ShareIconResize.jsx} +8 -7
- package/dist/system/Tabs/TabNavLink/{TabNavLink.test.js → TabNavLink.test.jsx} +3 -3
- package/dist/system/Tabs/TabNavLink/index.d.ts +1 -1
- package/dist/system/Tabs/TabNavLink/{index.js → index.jsx} +6 -4
- package/dist/system/Tabs/TabsNav/{TabsNav.test.js → TabsNav.test.jsx} +4 -4
- package/dist/system/Tabs/TabsNav/{index.js → index.jsx} +2 -2
- package/dist/system/Tabs/TabsPanel/{TabsPanel.test.js → TabsPanel.test.jsx} +12 -8
- package/dist/system/Tabs/TabsPanel/{index.js → index.jsx} +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utils/adaptive/check4k.js +1 -1
- package/dist/utils/adaptive/scale.d.ts +1 -1
- package/dist/utils/adaptive/scale.js +1 -1
- package/dist/utils/copyBtn/{index.js → index.jsx} +7 -4
- package/package.json +2 -2
- package/dist/components/base/Meta/index.js +0 -60
- package/dist/components/inviteCodesPage/wrappers/resumeCodes/loader/index.js +0 -17
- package/dist/components/profile/pageHead/index.js +0 -51
- package/dist/components/search/searchSuggestions/index.js +0 -117
- package/dist/components/shareDialog/index.js +0 -73
- package/dist/components/socialButtons/icons/discord.js +0 -7
- package/dist/components/socialButtons/icons/facebook.js +0 -8
- package/dist/components/socialButtons/icons/instagram.js +0 -9
- package/dist/components/socialButtons/icons/medium.js +0 -7
- package/dist/components/socialButtons/icons/telegram.js +0 -7
- package/dist/components/socialButtons/icons/twitter.js +0 -7
- package/dist/components/tabs/icons/bell.js +0 -9
- package/dist/components/tabs/icons/profile.js +0 -9
- package/dist/components/tabs/icons/secure.js +0 -8
- package/dist/layouts/GlobalLayout.js +0 -48
- package/dist/layouts/custom/accountLayout/index.js +0 -23
- package/dist/layouts/pageTransitionLayout.js +0 -24
- package/dist/pages/index.js +0 -16
- package/dist/system/Cards/HideLink/index.js +0 -27
- /package/dist/components/headers/components/MobileToggle/{index.js → index.jsx} +0 -0
- /package/dist/components/inviteCodesPage/components/{index.js → index.jsx} +0 -0
- /package/dist/components/inviteCodesPage/wrappers/{index.js → index.jsx} +0 -0
- /package/dist/components/profile/jsonLd/{index.js → index.jsx} +0 -0
- /package/dist/components/registrationPage/{index.js → index.jsx} +0 -0
- /package/dist/dto/common/ItemType/{index.js → index.jsx} +0 -0
- /package/dist/dto/common/Media/{index.js → index.jsx} +0 -0
- /package/dist/hooks/audio/useMultiAudio/{index.js → index.jsx} +0 -0
- /package/dist/hooks/likes/dynamic/{useFindCreationsAndLikes.js → useFindCreationsAndLikes.jsx} +0 -0
- /package/dist/hooks/likes/dynamic/{useGetCollectionInfoAndLikes.js → useGetCollectionInfoAndLikes.jsx} +0 -0
- /package/dist/hooks/likes/dynamic/{useGetCreationsAndLikes.js → useGetCreationsAndLikes.jsx} +0 -0
- /package/dist/hooks/likes/dynamic/{useGetCreationsAndLikesByType.js → useGetCreationsAndLikesByType.jsx} +0 -0
- /package/dist/hooks/likes/dynamic/{useGetMixedLikesFavoriteList.js → useGetMixedLikesFavoriteList.jsx} +0 -0
- /package/dist/hooks/likes/dynamic/{useGetTableLikes.js → useGetTableLikes.jsx} +0 -0
- /package/dist/modules/notifications/{index.js → index.jsx} +0 -0
- /package/dist/modules/user/{store.js → store.jsx} +0 -0
- /package/dist/styles/animations/{index.js → index.jsx} +0 -0
- /package/dist/styles/{globalStyles.js → globalStyles.jsx} +0 -0
- /package/dist/styles/mixins/{boxShadow.js → boxShadow.jsx} +0 -0
- /package/dist/styles/mixins/{boxTransform.js → boxTransform.jsx} +0 -0
- /package/dist/styles/mixins/{z-indexes.js → z-indexes.jsx} +0 -0
- /package/dist/styles/typography/{index.js → index.jsx} +0 -0
- /package/dist/system/Buttons/IconButton/{index.js → index.jsx} +0 -0
- /package/dist/system/Buttons/IconWithButton/{index.js → index.jsx} +0 -0
- /package/dist/system/Buttons/MainButton/{index.js → index.jsx} +0 -0
- /package/dist/system/Buttons/SecondaryButton/{index.js → index.jsx} +0 -0
- /package/dist/system/Flex/{index.js → index.jsx} +0 -0
- /package/dist/system/Labels/SkeletonLabel/{index.js → index.jsx} +0 -0
- /package/dist/system/PageLoader/{index.js → index.jsx} +0 -0
- /package/dist/system/Palete/{index.js → index.jsx} +0 -0
- /package/dist/system/Text/{index.js → index.jsx} +0 -0
- /package/dist/utils/extractItemIds/{index.js → index.jsx} +0 -0
- /package/dist/utils/imageProportionsSize/{index.js → index.jsx} +0 -0
- /package/dist/utils/ui/{index.js → index.jsx} +0 -0
|
@@ -42,15 +42,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
42
42
|
exports.CardHead = void 0;
|
|
43
43
|
var react_1 = __importDefault(require("react"));
|
|
44
44
|
var router_1 = require("next/router");
|
|
45
|
-
var user_1 = require("@ludo.ninja/components/
|
|
46
|
-
var store_1 = require("@ludo.ninja/components/
|
|
47
|
-
var styles_1 = require("@ludo.ninja/components/
|
|
45
|
+
var user_1 = require("@ludo.ninja/components/dist/modules/user");
|
|
46
|
+
var store_1 = require("@ludo.ninja/components/dist/store");
|
|
47
|
+
var styles_1 = require("@ludo.ninja/components/dist/styles");
|
|
48
48
|
var addCreationToFavoriteList_1 = __importDefault(require("@/components/favoriteList/add/addCreationToFavoriteList"));
|
|
49
49
|
var CardRank_1 = __importDefault(require("@/system/Cards/CardRank"));
|
|
50
50
|
var Headicons_1 = __importDefault(require("@/system/Cards/Styles/Headicons"));
|
|
51
|
-
var auth_1 = require("@ludo.ninja/components/
|
|
51
|
+
var auth_1 = require("@ludo.ninja/components/dist/utils/auth");
|
|
52
52
|
var env_1 = require("@/utils/env");
|
|
53
|
-
var utils_1 = require("@ludo.ninja/components/
|
|
53
|
+
var utils_1 = require("@ludo.ninja/components/dist/utils");
|
|
54
54
|
var CollectionCreationEntity_1 = __importDefault(require("@/dto/Collection/CollectionCreationEntity"));
|
|
55
55
|
var ItemType_1 = require("@/dto/common/ItemType");
|
|
56
56
|
var addToFavListIcon_svg_1 = __importDefault(require("@/public/cards/addToFavListIcon.svg"));
|
|
@@ -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(<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,23 +107,30 @@ 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
|
-
|
|
110
|
+
return (<div className={"icon like ".concat(isLicked ? 'liked' : '')} onClick={function (e) { return handleClick(e, 'likes'); }}>
|
|
111
|
+
<heart_svg_1.default />
|
|
112
|
+
</div>);
|
|
112
113
|
}
|
|
113
114
|
};
|
|
114
|
-
return (
|
|
115
|
+
return (<Headicons_1.default isMobile={isMobile} style={isDisabled
|
|
115
116
|
? {
|
|
116
117
|
pointerEvents: 'none',
|
|
117
118
|
}
|
|
118
|
-
: {}
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
119
|
+
: {}}>
|
|
120
|
+
<div className={'rank'}>
|
|
121
|
+
<CardRank_1.default rank={creation.getRank()}/>
|
|
122
|
+
</div>
|
|
123
|
+
{/* // Todo cardHeadIcons */}
|
|
124
|
+
{!(0, env_1.isProd)({ ENV: isProdENV }) && !isShowCheckbox && (<div className="icons">
|
|
125
|
+
<div className="icon" onClick={function (e) {
|
|
126
|
+
return handleClick(e, isRegularCard || !isUserProfile || isGallery
|
|
127
|
+
? 'fav-list'
|
|
128
|
+
: 'gallery');
|
|
129
|
+
}}>
|
|
130
|
+
{isRegularCard || !isUserProfile || isGallery ? (<addToFavListIcon_svg_1.default />) : (<addToGalleryIcon_svg_1.default />)}
|
|
131
|
+
</div>
|
|
132
|
+
{renderLikeButton()}
|
|
133
|
+
</div>)}
|
|
134
|
+
</Headicons_1.default>);
|
|
128
135
|
};
|
|
129
136
|
exports.CardHead = CardHead;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { searchSchema as schema } from '@ludo.ninja/api';
|
|
3
|
-
import { TCreationAndCollection } from '@ludo.ninja/components/
|
|
3
|
+
import { TCreationAndCollection } from '@ludo.ninja/components/dist/modules';
|
|
4
4
|
import GalleryEntityV2 from '@/dto/GalleryEntityV2';
|
|
5
5
|
export type RemoveToolsType = {
|
|
6
6
|
gallery?: GalleryEntityV2;
|
|
@@ -3,17 +3,6 @@ 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
|
-
};
|
|
17
6
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
7
|
if (k2 === undefined) k2 = k;
|
|
19
8
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -46,9 +35,9 @@ var react_1 = __importDefault(require("react"));
|
|
|
46
35
|
var react_loading_skeleton_1 = __importDefault(require("react-loading-skeleton"));
|
|
47
36
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
48
37
|
var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
49
|
-
var likes_1 = __importDefault(require("@ludo.ninja/components/
|
|
50
|
-
var useToGalleryAsset_1 = require("@ludo.ninja/components/
|
|
51
|
-
var styles_1 = require("@ludo.ninja/components/
|
|
38
|
+
var likes_1 = __importDefault(require("@ludo.ninja/components/dist/hooks/likes"));
|
|
39
|
+
var useToGalleryAsset_1 = require("@ludo.ninja/components/dist/hooks/useToGalleryAsset");
|
|
40
|
+
var styles_1 = require("@ludo.ninja/components/dist/styles");
|
|
52
41
|
var CardHead_1 = require("@/components/CreationCard/CardHead");
|
|
53
42
|
var HideLink_1 = __importDefault(require("@/system/Cards/HideLink"));
|
|
54
43
|
var CardCheckbox_1 = __importDefault(require("@/system/Cards/CardCheckbox"));
|
|
@@ -73,7 +62,7 @@ var CreationCardWithCheckboxState = function (props) {
|
|
|
73
62
|
isActiveGalleryMode: state.isActiveGalleryMode,
|
|
74
63
|
creationsToGallery: state.creationsToGallery,
|
|
75
64
|
}); }), toggleCreationToGallery = _a.toggleCreationToGallery, isActiveGalleryMode = _a.isActiveGalleryMode, creationsToGallery = _a.creationsToGallery;
|
|
76
|
-
return (
|
|
65
|
+
return (<exports.CreationCard {...props} isShowCheckbox={isActiveGalleryMode} isActiveCheckbox={(0, useToGalleryAsset_1.getIsActiveCreation)(creationsToGallery, props.creation)} toggleCreationToGallery={toggleCreationToGallery}/>);
|
|
77
66
|
};
|
|
78
67
|
exports.CreationCardWithCheckboxState = CreationCardWithCheckboxState;
|
|
79
68
|
var CreationCard = function (_a) {
|
|
@@ -85,19 +74,25 @@ var CreationCard = function (_a) {
|
|
|
85
74
|
removeOnDislike: toolsForRemove,
|
|
86
75
|
isLoadingLikes: isLoadingLikes,
|
|
87
76
|
}), likes = _c.likes, addLike = _c.addLike, deleteLike = _c.deleteLike;
|
|
88
|
-
return (
|
|
89
|
-
|
|
77
|
+
return (<StyledRegularCard isNeedHeight={isNeedHeight} isNeedTransform={isNeedShowMoreButton} isShowCheckbox={isShowCheckbox}>
|
|
78
|
+
{isShowCheckbox && (<CardCheckbox_1.default isActiveCheckbox={!!isActiveCheckbox} onChange={function () {
|
|
90
79
|
toggleCreationToGallery === null || toggleCreationToGallery === void 0 ? void 0 : toggleCreationToGallery(creation);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
80
|
+
}}/>)}
|
|
81
|
+
<HideLink_1.default className="linkRegularCard" isProdENV={isProdENV} href={creation.getCreationLink()}>
|
|
82
|
+
<Head_1.default>
|
|
83
|
+
{creation.detectMediaType().displaySingleMedia()}
|
|
84
|
+
<CardHead_1.CardHead isRegularCard={!!isRegularCard} isIconLiked={likes.isLiked} creation={creation} addLikeToCard={addLike} deleteLikeFromCard={deleteLike} isUserProfile={isUserProfile || false} isDisabled={!!isLoadingLikes} isShowCheckbox={isShowCheckbox} currentMyGalleryId={currentMyGalleryId}/>
|
|
85
|
+
</Head_1.default>
|
|
86
|
+
<CardContent_1.default creationName={creationName} firstName={creation.getCreatorAddress()} secondName={creation.getName()} cuttedSecondName={creation.getCuttedSecondName(!isMobile)} itemId={creation.getItemId()} isNeedShowMoreButton={isNeedShowMoreButton || false} href={creation.getCreationLink()}>
|
|
87
|
+
<_system_1.Flex alignItems="end" justifyContent={'space-between'}>
|
|
88
|
+
<CardCategory_1.default label={creation.getLabel()}/>
|
|
89
|
+
{/* // Todo cardLikes */}
|
|
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>);
|
|
101
96
|
};
|
|
102
97
|
exports.CreationCard = CreationCard;
|
|
103
98
|
var templateObject_1, templateObject_2, templateObject_3;
|
|
@@ -21,17 +21,24 @@ 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
|
-
|
|
24
|
+
return (<StyledRedirectOpportunityIdPage>
|
|
25
|
+
<_system_1.Box>
|
|
26
|
+
<_system_1.Flex flexDirection="column" alignItems={'center'}>
|
|
27
|
+
<_system_1.Box mt={16}>
|
|
28
|
+
<_system_1.Flex flexDirection="column" alignItems={'center'}>
|
|
29
|
+
<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
|
+
<_system_1.H1 color={colors_1.BlackColor}>Redirecting...</_system_1.H1>
|
|
33
|
+
<_system_1.H5 mt={8} color={colors_1.TextGray2Color} textAlign={'center'}>
|
|
34
|
+
{"Please wait while we add your new wallet"}
|
|
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>);
|
|
35
42
|
};
|
|
36
43
|
// Export
|
|
37
44
|
exports.default = AddWalletsRedirectPage;
|
|
@@ -48,23 +48,29 @@ 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
|
-
|
|
51
|
+
return (<StyledBanner>
|
|
52
|
+
<div className={'banner_content'}>
|
|
53
|
+
<span className={'caption'}>
|
|
54
|
+
We have <strong>{!loading && count.toLocaleString('RU')}</strong>
|
|
55
|
+
<br />
|
|
56
|
+
NFTs indexed
|
|
57
|
+
</span>
|
|
58
|
+
<p className={"text "}>
|
|
59
|
+
Come join us and explore the blockhain in your own way. We are a
|
|
60
|
+
multichain discoverability platform offering you easy access to all
|
|
61
|
+
kinds of NFTs and the best Metaverse experiences and apps.
|
|
62
|
+
</p>
|
|
63
|
+
<MainButton_1.default onClick={function () {
|
|
64
|
+
return router.push({
|
|
65
|
+
pathname: "".concat(process.env.NEXT_PUBLIC_AUTH_HOST, "/login"),
|
|
66
|
+
query: {
|
|
67
|
+
fallback_url: window.location.origin.replace(/\s/g, ''),
|
|
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>);
|
|
68
74
|
};
|
|
69
75
|
// Export
|
|
70
76
|
exports.default = Banner;
|
|
@@ -0,0 +1,64 @@
|
|
|
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 (<>
|
|
30
|
+
<head_1.default>
|
|
31
|
+
<title>{DEFAULT_SEO.title}</title>
|
|
32
|
+
|
|
33
|
+
<link rel="preconnect" href={(0, core_1.getMediaDomain)({ ENV: process_1.default.env.NEXT_PUBLIC_STATIC_DOMAIN })}/>
|
|
34
|
+
<link rel="preconnect" href={(0, core_1.getStaticDomain)({ ENV: process_1.default.env.NEXT_PUBLIC_STATIC_DOMAIN })}/>
|
|
35
|
+
<link rel="dns-prefetch" href={(0, core_1.getMediaDomain)({ ENV: process_1.default.env.NEXT_PUBLIC_STATIC_DOMAIN })}/>
|
|
36
|
+
<link rel="dns-prefetch" href={(0, core_1.getStaticDomain)({ ENV: process_1.default.env.NEXT_PUBLIC_STATIC_DOMAIN })}/>
|
|
37
|
+
<link rel="icon" type="image/svg+xml" href={"".concat((0, core_1.getStaticDomain)({
|
|
38
|
+
ENV: process_1.default.env.NEXT_PUBLIC_STATIC_DOMAIN,
|
|
39
|
+
}), "/favicon/favicon.svg")} sizes="any"/>
|
|
40
|
+
<link rel="icon" type="image/x-icon" href={"".concat((0, core_1.getStaticDomain)({
|
|
41
|
+
ENV: process_1.default.env.NEXT_PUBLIC_STATIC_DOMAIN,
|
|
42
|
+
}), "/favicon/fav64.ico")} sizes="any"/>
|
|
43
|
+
<link rel="apple-touch-icon" href={"".concat((0, core_1.getStaticDomain)({
|
|
44
|
+
ENV: process_1.default.env.NEXT_PUBLIC_STATIC_DOMAIN,
|
|
45
|
+
}), "/favicon/favicon128.png")}/>
|
|
46
|
+
<meta key="description" name="description" content={DEFAULT_SEO.description}/>
|
|
47
|
+
<meta key="twitter:card" name="twitter:card" content={DEFAULT_SEO.twitter.cardType}/>
|
|
48
|
+
<meta key="twitter:site" name="twitter:site" content={DEFAULT_SEO.twitter.handle}/>
|
|
49
|
+
<meta key="og:url" property="og:url" content={DEFAULT_SEO.openGraph.url}/>
|
|
50
|
+
<meta key="og:type" property="og:type" content={DEFAULT_SEO.openGraph.type}/>
|
|
51
|
+
<meta key="og:title" property="og:title" content={DEFAULT_SEO.openGraph.title}/>
|
|
52
|
+
<meta key="og:description" property="og:description" content={DEFAULT_SEO.openGraph.description}/>
|
|
53
|
+
<meta key="og:image" property="og:image" content={DEFAULT_SEO.openGraph.image}/>
|
|
54
|
+
<meta key="og:image:width" property="og:image:width" content={DEFAULT_SEO.openGraph.imageWidth}/>
|
|
55
|
+
<meta key="og:image:height" property="og:image:height" content={DEFAULT_SEO.openGraph.imageHeight}/>
|
|
56
|
+
<meta key="og:locale" property="og:locale" content={DEFAULT_SEO.openGraph.locale}/>
|
|
57
|
+
|
|
58
|
+
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
59
|
+
<meta charSet="utf-8"/>
|
|
60
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
|
61
|
+
</head_1.default>
|
|
62
|
+
</>); };
|
|
63
|
+
// Export
|
|
64
|
+
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 <>{props.children}</>; };
|
|
9
9
|
// Export
|
|
10
10
|
exports.default = (0, dynamic_1.default)(function () { return Promise.resolve(NoSsr); }, { ssr: false });
|
|
@@ -15,8 +15,9 @@ 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
|
-
|
|
18
|
+
return (<div className={'icon'}>
|
|
19
|
+
<heart_svg_1.default style={(0, scale_1.getAdaptiveScale)({ windowDimensions: windowDimensions, currentSize: 1 })}/>
|
|
20
|
+
</div>);
|
|
20
21
|
};
|
|
21
22
|
var CollectionLike = function (_a) {
|
|
22
23
|
var likesCount = _a.likesCount, isLiked = _a.isLiked, collectionId = _a.collectionId;
|
|
@@ -34,8 +35,11 @@ var CollectionLike = function (_a) {
|
|
|
34
35
|
!isLiked ? addLike(collectionId) : deleteLike(collectionId);
|
|
35
36
|
}
|
|
36
37
|
};
|
|
37
|
-
return (
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
return (<>
|
|
39
|
+
{isLoading ? (<react_loading_skeleton_1.default style={{ borderRadius: '3px' }} height="100%" width="31px"/>) : (<Likes_1.default isLiked={likes.isLiked} onClick={function () { return handleLikes(likes.isLiked); }}>
|
|
40
|
+
<HeartIconResize />
|
|
41
|
+
<span className={'counter'}>{likes.likesCount}</span>
|
|
42
|
+
</Likes_1.default>)}
|
|
43
|
+
</>);
|
|
40
44
|
};
|
|
41
45
|
exports.default = CollectionLike;
|
|
@@ -48,10 +48,10 @@ var router_1 = require("next/router");
|
|
|
48
48
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
49
49
|
var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
50
50
|
var useDeleteGallery_1 = __importDefault(require("@/api/server-galleries/mutations/useDeleteGallery"));
|
|
51
|
-
var styles_1 = require("@ludo.ninja/components/
|
|
52
|
-
var system_1 = require("@ludo.ninja/components/
|
|
53
|
-
var utils_1 = require("@ludo.ninja/components/
|
|
54
|
-
var fonts_1 = require("@ludo.ninja/components/
|
|
51
|
+
var styles_1 = require("@ludo.ninja/components/dist/styles");
|
|
52
|
+
var system_1 = require("@ludo.ninja/components/dist/system");
|
|
53
|
+
var utils_1 = require("@ludo.ninja/components/dist/utils");
|
|
54
|
+
var fonts_1 = require("@ludo.ninja/components/dist/fonts");
|
|
55
55
|
var warning_svg_1 = __importDefault(require("@/public/warning.svg"));
|
|
56
56
|
// Styles
|
|
57
57
|
var StyledDelete = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n min-width: 534px;\n min-height: 199px;\n display: flex;\n flex-direction: column;\n justify-items: center;\n align-items: center;\n\n & svg {\n margin-bottom: 16px;\n }\n\n ", " {\n min-width: 288px;\n min-height: 220px;\n\n .btns {\n position: static;\n justify-content: center;\n }\n\n .delete,\n .cancel {\n max-width: 133px;\n }\n }\n\n .btns {\n min-width: 280px;\n display: flex;\n gap: 16px;\n margin-bottom: 16px;\n\n .delete {\n width: 100%;\n\n & button {\n font-size: 15px;\n font-weight: 500;\n line-height: 1.47;\n\n @media (max-width: 767px) {\n font-size: 14px;\n line-height: 1.43;\n }\n }\n }\n\n .cancel {\n width: 100%;\n }\n\n & button {\n width: 100%;\n padding: 9px 0;\n }\n\n ", " {\n min-width: 100%;\n }\n }\n\n .title {\n font-family: ", ";\n margin-bottom: 16px;\n font-size: 20px;\n font-weight: 600;\n line-height: 1.4;\n color: ", ";\n text-align: center;\n\n @media (max-width: 767px) {\n max-width: 245px;\n margin-bottom: 20px;\n font-size: 18px;\n line-height: 1.33;\n }\n }\n\n .warning {\n font-family: ", ";\n margin-bottom: 34px;\n font-size: 15px;\n font-weight: 500;\n line-height: 1.46;\n color: ", ";\n\n @media (max-width: 767px) {\n margin-bottom: 32px;\n font-size: 14px;\n line-height: 1.42;\n }\n }\n\n ", " {\n min-width: ", ";\n min-height: ", ";\n\n & svg {\n margin-bottom: ", ";\n }\n\n .btns {\n min-width: ", ";\n gap: ", ";\n margin-bottom: ", ";\n\n .delete {\n & button {\n font-size: ", ";\n }\n }\n\n & button {\n padding: ", " 0;\n }\n }\n\n .title {\n margin-bottom: ", ";\n font-size: ", ";\n }\n\n .warning {\n margin-bottom: ", ";\n font-size: ", ";\n }\n }\n"], ["\n min-width: 534px;\n min-height: 199px;\n display: flex;\n flex-direction: column;\n justify-items: center;\n align-items: center;\n\n & svg {\n margin-bottom: 16px;\n }\n\n ", " {\n min-width: 288px;\n min-height: 220px;\n\n .btns {\n position: static;\n justify-content: center;\n }\n\n .delete,\n .cancel {\n max-width: 133px;\n }\n }\n\n .btns {\n min-width: 280px;\n display: flex;\n gap: 16px;\n margin-bottom: 16px;\n\n .delete {\n width: 100%;\n\n & button {\n font-size: 15px;\n font-weight: 500;\n line-height: 1.47;\n\n @media (max-width: 767px) {\n font-size: 14px;\n line-height: 1.43;\n }\n }\n }\n\n .cancel {\n width: 100%;\n }\n\n & button {\n width: 100%;\n padding: 9px 0;\n }\n\n ", " {\n min-width: 100%;\n }\n }\n\n .title {\n font-family: ", ";\n margin-bottom: 16px;\n font-size: 20px;\n font-weight: 600;\n line-height: 1.4;\n color: ", ";\n text-align: center;\n\n @media (max-width: 767px) {\n max-width: 245px;\n margin-bottom: 20px;\n font-size: 18px;\n line-height: 1.33;\n }\n }\n\n .warning {\n font-family: ", ";\n margin-bottom: 34px;\n font-size: 15px;\n font-weight: 500;\n line-height: 1.46;\n color: ", ";\n\n @media (max-width: 767px) {\n margin-bottom: 32px;\n font-size: 14px;\n line-height: 1.42;\n }\n }\n\n ", " {\n min-width: ", ";\n min-height: ", ";\n\n & svg {\n margin-bottom: ", ";\n }\n\n .btns {\n min-width: ", ";\n gap: ", ";\n margin-bottom: ", ";\n\n .delete {\n & button {\n font-size: ", ";\n }\n }\n\n & button {\n padding: ", " 0;\n }\n }\n\n .title {\n margin-bottom: ", ";\n font-size: ", ";\n }\n\n .warning {\n margin-bottom: ", ";\n font-size: ", ";\n }\n }\n"])), styles_1.mediaQuery.mobile, styles_1.mediaQuery.mobile, fonts_1.poppinsFontVarCss.css, function (_a) {
|
|
@@ -65,11 +65,12 @@ 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
|
-
|
|
68
|
+
return (<SIcon>
|
|
69
|
+
<warning_svg_1.default style={(0, utils_1.getAdaptiveScale)({
|
|
70
|
+
windowDimensions: windowDimensions,
|
|
71
|
+
currentSize: 1,
|
|
72
|
+
})}/>
|
|
73
|
+
</SIcon>);
|
|
73
74
|
};
|
|
74
75
|
var DeleteDialog = function (_a) {
|
|
75
76
|
var galleryId = _a.galleryId, userId = _a.userId, onHide = _a.onHide, isGallery = _a.isGallery;
|
|
@@ -94,15 +95,19 @@ var DeleteDialog = function (_a) {
|
|
|
94
95
|
}
|
|
95
96
|
});
|
|
96
97
|
}); };
|
|
97
|
-
return (
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
98
|
+
return (<StyledDelete>
|
|
99
|
+
<WarningIconResize />
|
|
100
|
+
<system_1.H2 className={"title"}>Are you sure you want to delete this gallery?</system_1.H2>
|
|
101
|
+
<p className={"warning"}>Gallery can’t be restored after deleting.</p>
|
|
102
|
+
<div className={'btns'}>
|
|
103
|
+
<div className={'delete'}>
|
|
104
|
+
<system_1.MainButton text={'Delete'} type={'button'} variant="danger" onClick={function () { return hendleDelete(galleryId); }}/>
|
|
105
|
+
</div>
|
|
106
|
+
<div className={'cancel'}>
|
|
107
|
+
<system_1.MainButton text={'Cancel'} variant="outline" onClick={onHide}/>
|
|
108
|
+
</div>
|
|
109
|
+
</div>
|
|
110
|
+
</StyledDelete>);
|
|
106
111
|
};
|
|
107
112
|
// Export
|
|
108
113
|
exports.default = DeleteDialog;
|
|
@@ -65,7 +65,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
65
65
|
var react_1 = __importStar(require("react"));
|
|
66
66
|
var chooseGalleryItems_1 = __importDefault(require("@/modules/gallery/ui/chooseGalleryItems"));
|
|
67
67
|
var createGalleryForm_1 = __importDefault(require("@/modules/gallery/ui/createGalleryForm"));
|
|
68
|
-
var ui_1 = require("@ludo.ninja/components/
|
|
68
|
+
var ui_1 = require("@ludo.ninja/components/dist/store/ui");
|
|
69
69
|
var useAddAssetsToGallery_1 = require("@/api/server-galleries/mutations/useAddAssetsToGallery");
|
|
70
70
|
var useCreateFavorites_1 = require("@/api/server-galleries/mutations/useCreateFavorites");
|
|
71
71
|
// Component
|
|
@@ -86,9 +86,11 @@ var AddAssetToFavoriteList = function (_a) {
|
|
|
86
86
|
}
|
|
87
87
|
});
|
|
88
88
|
}); };
|
|
89
|
-
return (
|
|
89
|
+
return (<div>
|
|
90
|
+
{isNeedAddFavList ? (<createGalleryForm_1.default setAddGallery={setAddFavList} title={'Create Favourite List'} inputPlaceHolderText={'List Name'}
|
|
90
91
|
// ids={ids}
|
|
91
|
-
createMethod
|
|
92
|
+
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}/>)}
|
|
93
|
+
</div>);
|
|
92
94
|
};
|
|
93
95
|
// Export
|
|
94
96
|
exports.default = AddAssetToFavoriteList;
|
|
@@ -65,7 +65,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
65
65
|
var react_1 = __importStar(require("react"));
|
|
66
66
|
var chooseGalleryItems_1 = __importDefault(require("@/modules/gallery/ui/chooseGalleryItems"));
|
|
67
67
|
var createGalleryForm_1 = __importDefault(require("@/modules/gallery/ui/createGalleryForm"));
|
|
68
|
-
var ui_1 = require("@ludo.ninja/components/
|
|
68
|
+
var ui_1 = require("@ludo.ninja/components/dist/store/ui");
|
|
69
69
|
var useAddCollectionsToGallery_1 = require("@/api/server-galleries/mutations/useAddCollectionsToGallery");
|
|
70
70
|
var useCreateFavorites_1 = require("@/api/server-galleries/mutations/useCreateFavorites");
|
|
71
71
|
// Component
|
|
@@ -86,7 +86,9 @@ var AddCollectionToFavoriteList = function (_a) {
|
|
|
86
86
|
}
|
|
87
87
|
});
|
|
88
88
|
}); };
|
|
89
|
-
return (
|
|
89
|
+
return (<div>
|
|
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>);
|
|
90
92
|
};
|
|
91
93
|
// Export
|
|
92
94
|
exports.default = AddCollectionToFavoriteList;
|
|
@@ -65,7 +65,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
65
65
|
var react_1 = __importStar(require("react"));
|
|
66
66
|
var chooseGalleryItems_1 = __importDefault(require("@/modules/gallery/ui/chooseGalleryItems"));
|
|
67
67
|
var createGalleryForm_1 = __importDefault(require("@/modules/gallery/ui/createGalleryForm"));
|
|
68
|
-
var ui_1 = require("@ludo.ninja/components/
|
|
68
|
+
var ui_1 = require("@ludo.ninja/components/dist/store/ui");
|
|
69
69
|
var useAddCreationsToGallery_1 = require("@/api/server-galleries/mutations/useAddCreationsToGallery");
|
|
70
70
|
var useCreateFavorites_1 = require("@/api/server-galleries/mutations/useCreateFavorites");
|
|
71
71
|
// Component
|
|
@@ -86,9 +86,11 @@ var AddCreationToFavoriteList = function (_a) {
|
|
|
86
86
|
}
|
|
87
87
|
});
|
|
88
88
|
}); };
|
|
89
|
-
return (
|
|
89
|
+
return (<div>
|
|
90
|
+
{isNeedAddFavList ? (<createGalleryForm_1.default setAddGallery={setAddFavList} title={'Create Favourite List'} inputPlaceHolderText={'List Name'}
|
|
90
91
|
// ids={ids}
|
|
91
|
-
createMethod
|
|
92
|
+
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} currentMyGalleryId={currentMyGalleryId}/>)}
|
|
93
|
+
</div>);
|
|
92
94
|
};
|
|
93
95
|
// Export
|
|
94
96
|
exports.default = AddCreationToFavoriteList;
|
|
@@ -17,11 +17,14 @@ 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
|
-
|
|
20
|
+
return (<StyledApplyResetButtons>
|
|
21
|
+
<div className={'reset_btn'}>
|
|
22
|
+
<MainButton_1.default text={'Reset'} variant="outline" onClick={function () { return onReset(); }}/>
|
|
23
|
+
</div>
|
|
24
|
+
<div className={'apply_btn'}>
|
|
25
|
+
<MainButton_1.default text={'Apply'} variant="primaryL" onClick={function () { return onApply(); }}/>
|
|
26
|
+
</div>
|
|
27
|
+
</StyledApplyResetButtons>);
|
|
25
28
|
};
|
|
26
29
|
// Export
|
|
27
30
|
exports.default = ApplyResetButtons;
|
|
@@ -79,11 +79,20 @@ var GalleryFiltersForm = function (_a) {
|
|
|
79
79
|
var handleChangeBlockchainTimeResult = function (value) {
|
|
80
80
|
setSelectedBlockchainTimeResult(value);
|
|
81
81
|
};
|
|
82
|
-
return (
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
82
|
+
return (<StyledNtfsFiltersForm>
|
|
83
|
+
<DropDown_1.default caption={'Type'} fallBackOnClose={handleChangeSearchResult}>
|
|
84
|
+
{selectTypeSearchResult.map(function (select) { return (<RadioInput_1.default key={select.id} radioLabel={select.label} radioValue={select.id} handleChange={handleChangeSearchResult} radioChecked={selectedBlockchainResult === select.id}/>); })}
|
|
85
|
+
</DropDown_1.default>
|
|
86
|
+
<DropDown_1.default caption={'BlockChainEntity'} fallBackOnClose={handleChangeBlockchainResult}>
|
|
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>);
|
|
87
96
|
};
|
|
88
97
|
// Export
|
|
89
98
|
exports.default = GalleryFiltersForm;
|