@ludo.ninja/components 2.0.7 → 2.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/api/graphql/index.js +2 -2
- package/build/api/server-preferences/queries/fetchSearchResultSelections/index.d.ts +15 -15
- package/build/api/server-preferences/queries/fetchSearchResultSelections/queryData.d.ts +0 -1
- package/build/api/server-search/queries/useFindUserCreations/index.d.ts +2 -2
- package/build/components/assetPage/assetLikes/index.js +1 -1
- package/build/components/assetPage/audioVideoPlayer/Duration.js +1 -1
- package/build/components/assetPage/media/AssetImage/index.d.ts +1 -1
- package/build/components/assetPage/moreDropDown/index.js +1 -1
- package/build/components/assetPage/participants/index.js +1 -1
- package/build/components/assetPage/viewer3D/index.d.ts +1 -1
- package/build/components/headers/components/headerExperienceLabel/index.d.ts +1 -1
- package/build/components/headers/components/headerUserPic/index.d.ts +1 -1
- package/build/components/linkTabs/index.d.ts +1 -1
- package/build/components/search/SearchInputContainer.js +1 -1
- package/build/components/search/searchCloseMoreButtons/index.js +1 -1
- package/build/components/search/searchSimpleInput/index.js +1 -1
- package/build/components/searchFiltersConnector/index.d.ts +2 -2
- package/build/components/sidebar/data.js +7 -7
- package/build/components/sidebar/sidebarFilters/index.js +1 -1
- package/build/components/toTopBtn/index.js +1 -1
- package/build/dto/AssetEntity/views/AssetAudio/index.d.ts +0 -1
- package/build/dto/AssetEntity/views/AssetImage/index.d.ts +0 -1
- package/build/dto/AssetEntity/views/AssetObject/index.d.ts +0 -1
- package/build/dto/AssetEntity/views/AssetOther/index.d.ts +0 -1
- package/build/dto/AssetEntity/views/AssetScreenshot/index.d.ts +0 -1
- package/build/dto/AssetEntity/views/AssetVideo/index.d.ts +0 -1
- package/build/dto/common/ItemViews/CreationAudio/index.d.ts +0 -1
- package/build/dto/common/ItemViews/CreationImage/index.d.ts +0 -1
- package/build/dto/common/ItemViews/CreationObject/index.d.ts +0 -1
- package/build/dto/common/ItemViews/CreationOther/index.d.ts +0 -1
- package/build/dto/common/ItemViews/CreationVideo/index.d.ts +0 -1
- package/build/dto/common/Media/Audio/index.d.ts +0 -1
- package/build/dto/common/Media/Image/index.d.ts +0 -1
- package/build/dto/common/Media/Object/index.d.ts +0 -1
- package/build/dto/common/Media/Other/index.d.ts +0 -1
- package/build/dto/common/Media/Screenshot/index.d.ts +0 -1
- package/build/dto/common/Media/Video/index.d.ts +0 -1
- package/build/dto/common/Media/index.d.ts +0 -1
- package/build/dto/common/Media/interface.d.ts +0 -1
- package/build/hooks/apollo/index.js +1 -2
- package/build/hooks/favorites/useGetUserFevoritesCreations/index.js +2 -2
- package/build/hooks/galleries/useGetUserGalleriesCreations/index.js +2 -2
- package/build/hooks/likes/dynamic/useGetCreationsAndLikes.js +2 -2
- package/build/hooks/likes/useGetLikesAsset.d.ts +8 -8
- package/build/layouts/custom/styles.d.ts +0 -1
- package/build/modules/gallery/api/useGetAssetsAndCollectionForFavorite.d.ts +2 -2
- package/build/modules/gallery/ui/Description.d.ts +1 -1
- package/build/modules/gallery/ui/EditGallery.d.ts +1 -1
- package/build/modules/gallery/ui/GalleryDeleteIcon.d.ts +1 -1
- package/build/modules/gallery/ui/GalleryDeleteIcon.js +2 -2
- package/build/modules/gallery/ui/STopSections.d.ts +0 -1
- package/build/modules/gallery/ui/chooseGalleryItems/chooseGalleryItem/index.js +1 -1
- package/build/modules/gallery/ui/chooseGalleryItems/index.d.ts +1 -1
- package/build/modules/gallery/ui/createGalleryForm/index.d.ts +2 -3
- package/build/modules/gallery/ui/itemsPreview/index.d.ts +4 -4
- package/build/modules/notifications/index.d.ts +6 -17
- package/build/modules/opportunity/OpportunityCard.d.ts +1 -1
- package/build/modules/opportunity/OpportunityCard.js +1 -1
- package/build/modules/opportunity/OpportunityDropDown.js +1 -1
- package/build/modules/user/store.d.ts +0 -1
- package/build/modules/virtuoso/VirtuosoPageBuilder.d.ts +1 -1
- package/build/modules/virtuoso/useVirtuosoData.d.ts +2 -2
- package/build/public/404/404.js +39 -0
- package/build/public/500/500.js +39 -0
- package/build/public/MobileSearchBtn/close.js +25 -0
- package/build/public/MobileSearchBtn/search.js +31 -0
- package/build/public/MobileSearchBtn/test/pirate.js +36 -0
- package/build/public/MobileSearchBtn/test/squircle.js +36 -0
- package/build/public/alerts/close.js +27 -0
- package/build/public/alerts/errorIcon.js +31 -0
- package/build/public/alerts/successIcon.js +31 -0
- package/build/public/alerts/warningIcon.js +43 -0
- package/build/public/assetPage/arrow.js +25 -0
- package/build/public/assetPage/audioPlaceholder.js +116 -0
- package/build/public/assetPage/details.js +31 -0
- package/build/public/assetPage/favorite.js +22 -0
- package/build/public/assetPage/favorite_hover.js +24 -0
- package/build/public/assetPage/flag.js +32 -0
- package/build/public/assetPage/fullScreen.js +24 -0
- package/build/public/assetPage/owners.js +27 -0
- package/build/public/assetPage/pause.js +25 -0
- package/build/public/assetPage/play.js +23 -0
- package/build/public/assetPage/share.js +26 -0
- package/build/public/assetPage/share2.js +25 -0
- package/build/public/assetPage/share2_hover.js +25 -0
- package/build/public/assetPage/shareWithDots.js +40 -0
- package/build/public/assetPage/shareWithDots_hover.js +40 -0
- package/build/public/assetPage/share_hover.js +24 -0
- package/build/public/assetPage/soundOf.js +24 -0
- package/build/public/assetPage/soundOn.js +24 -0
- package/build/public/banner/banner_img.js +1 -0
- package/build/public/banner/banner_stroke.js +24 -0
- package/build/public/button_skin/accept.js +38 -0
- package/build/public/button_skin/decline.js +38 -0
- package/build/public/calendar.js +24 -0
- package/build/public/cards/addToFavListIcon.js +30 -0
- package/build/public/cards/addToGalleryIcon.js +22 -0
- package/build/public/cards/heart.js +20 -0
- package/build/public/cardsHolderLoader/loader.js +25 -0
- package/build/public/checkbox-on.js +34 -0
- package/build/public/checkboxArrow.js +25 -0
- package/build/public/close.js +25 -0
- package/build/public/close20.js +25 -0
- package/build/public/collectionPage/export.js +25 -0
- package/build/public/copied.js +30 -0
- package/build/public/copy-icon-new.js +31 -0
- package/build/public/creation/card/moreBtn.js +24 -0
- package/build/public/creation/card/moreBtnVertical.js +28 -0
- package/build/public/creation/card/moreBtn_hover.js +28 -0
- package/build/public/defaultUserpics/0.js +75 -0
- package/build/public/defaultUserpics/1.js +78 -0
- package/build/public/defaultUserpics/10.js +75 -0
- package/build/public/defaultUserpics/11.js +75 -0
- package/build/public/defaultUserpics/12.js +75 -0
- package/build/public/defaultUserpics/13.js +75 -0
- package/build/public/defaultUserpics/14.js +75 -0
- package/build/public/defaultUserpics/15.js +75 -0
- package/build/public/defaultUserpics/16.js +75 -0
- package/build/public/defaultUserpics/17.js +75 -0
- package/build/public/defaultUserpics/18.js +75 -0
- package/build/public/defaultUserpics/19.js +75 -0
- package/build/public/defaultUserpics/2.js +75 -0
- package/build/public/defaultUserpics/20.js +75 -0
- package/build/public/defaultUserpics/3.js +75 -0
- package/build/public/defaultUserpics/4.js +75 -0
- package/build/public/defaultUserpics/5.js +75 -0
- package/build/public/defaultUserpics/6.js +75 -0
- package/build/public/defaultUserpics/7.js +75 -0
- package/build/public/defaultUserpics/8.js +75 -0
- package/build/public/defaultUserpics/9.js +75 -0
- package/build/public/defaultUserpics/defaultUserpic.js +91 -0
- package/build/public/dropDown/arrow_down.js +24 -0
- package/build/public/dropdown-arrow-down.js +22 -0
- package/build/public/dropdown-arrow-up.js +22 -0
- package/build/public/error/refresh.js +29 -0
- package/build/public/follower.js +27 -0
- package/build/public/forms/checkbox/checked.js +30 -0
- package/build/public/gallery/defaultImage.js +24 -0
- package/build/public/gallery/delete.js +30 -0
- package/build/public/header/mobile_menu_icons/arrows/arrow_down.js +25 -0
- package/build/public/header/mobile_menu_icons/arrows/arrow_up.js +25 -0
- package/build/public/header/mobile_menu_icons/campaigns.js +40 -0
- package/build/public/header/mobile_menu_icons/dropdown/add_new_campaign.js +72 -0
- package/build/public/header/mobile_menu_icons/dropdown/my_galleries.js +71 -0
- package/build/public/header/mobile_menu_icons/dropdown/my_profile.js +35 -0
- package/build/public/header/mobile_menu_icons/dropdown/my_wallets.js +34 -0
- package/build/public/header/mobile_menu_icons/dropdown/notifications.js +36 -0
- package/build/public/header/mobile_menu_icons/dropdown/top_campaigns.js +44 -0
- package/build/public/header/mobile_menu_icons/dropdown/top_creations.js +41 -0
- package/build/public/header/mobile_menu_icons/dropdown/top_creators.js +58 -0
- package/build/public/header/mobile_menu_icons/dropdown/top_galleries.js +75 -0
- package/build/public/header/mobile_menu_icons/dropdown/top_/321/201ollectors.js +64 -0
- package/build/public/header/mobile_menu_icons/experiences.js +49 -0
- package/build/public/header/mobile_menu_icons/settings.js +24 -0
- package/build/public/header/mobile_menu_icons/sign_out.js +31 -0
- package/build/public/header/mobile_menu_icons/submit_nft.js +88 -0
- package/build/public/header/mobile_menu_icons/top.js +45 -0
- package/build/public/header/mobile_toggle/close.js +25 -0
- package/build/public/header/mobile_toggle/regular.js +25 -0
- package/build/public/iconButton/share.js +40 -0
- package/build/public/iconButton/trash.js +36 -0
- package/build/public/iconButton/trash_open.js +42 -0
- package/build/public/like-icon-active.js +27 -0
- package/build/public/like-icon.js +23 -0
- package/build/public/logOut/logOutBtn.js +35 -0
- package/build/public/logo/main_logo.js +726 -0
- package/build/public/logo/main_logo_dark.js +159 -0
- package/build/public/logo/mobile_logo.js +714 -0
- package/build/public/logo/mobile_logo_dark.js +147 -0
- package/build/public/ludo-logo-small.js +28 -0
- package/build/public/ludo-logo-square.js +40 -0
- package/build/public/modal/close.js +25 -0
- package/build/public/noContent/noContent.js +37 -0
- package/build/public/noContent/noContentAudio.js +114 -0
- package/build/public/noContent/noContentObject.js +117 -0
- package/build/public/no_image placeholder.js +41 -0
- package/build/public/no_media_placeholder.js +752 -0
- package/build/public/report.js +40 -0
- package/build/public/rewardsPage/XP_logo.js +74 -0
- package/build/public/rewardsPage/arrow_up_light.js +25 -0
- package/build/public/rewardsPage/banner_rewards.js +1 -0
- package/build/public/rewardsPage/banner_rewards_mobile.js +1 -0
- package/build/public/rewardsPage/banner_rewards_tablet.js +1 -0
- package/{public/rewardsPage/banner_seasons.svg → build/public/rewardsPage/banner_seasons.js} +1 -9
- package/build/public/rewardsPage/defaultUserPic.js +1 -0
- package/build/public/rewardsPage/ludo_logo_white.js +159 -0
- package/build/public/search/arrow_up.js +25 -0
- package/build/public/search/back.js +25 -0
- package/build/public/search/close.js +25 -0
- package/build/public/search/no_found.js +30 -0
- package/build/public/search/search.js +31 -0
- package/build/public/search-icon.js +34 -0
- package/build/public/selects/arrow_down.js +25 -0
- package/build/public/services/opensea.js +28 -0
- package/build/public/services/other.js +40 -0
- package/build/public/services/rarible.js +29 -0
- package/build/public/settings_page/back.js +25 -0
- package/build/public/settings_page/burger_menu.js +37 -0
- package/build/public/settings_page/notifications.js +35 -0
- package/build/public/settings_page/notifications_active.js +35 -0
- package/build/public/settings_page/privacy.js +27 -0
- package/build/public/settings_page/privacy_active.js +27 -0
- package/build/public/settings_page/settings.js +28 -0
- package/build/public/settings_page/settings_active.js +28 -0
- package/build/public/settings_page/upload.js +30 -0
- package/build/public/share/copy-link-btn.js +39 -0
- package/build/public/share/email-btn.js +33 -0
- package/build/public/share/facebook-btn.js +30 -0
- package/build/public/share/insta-btn.js +70 -0
- package/build/public/share/reddit-btn.js +36 -0
- package/build/public/share/telegram-btn.js +25 -0
- package/build/public/share/twitter-btn.js +34 -0
- package/build/public/share/whatsapp-btn.js +35 -0
- package/build/public/share-icon.js +40 -0
- package/build/public/showCaseIcons/heart.js +20 -0
- package/build/public/sidebar/aboutLudo.js +139 -0
- package/build/public/sidebar/aboutLudoDark.js +139 -0
- package/build/public/sidebar/api.js +24 -0
- package/build/public/sidebar/close.js +25 -0
- package/build/public/sidebar/disconnect.js +24 -0
- package/build/public/sidebar/explore.js +24 -0
- package/build/public/sidebar/ludoX.js +204 -0
- package/build/public/sidebar/my-invites.js +22 -0
- package/build/public/sidebar/rewards.js +22 -0
- package/build/public/sidebar/submitNft.js +24 -0
- package/build/public/socials/facebook.js +27 -0
- package/build/public/socials/instagram.js +30 -0
- package/build/public/socials/twitter.js +22 -0
- package/build/public/socials/website.js +44 -0
- package/build/public/tabs/arrow_right.js +25 -0
- package/build/public/tabs/arrow_right_dark.js +25 -0
- package/build/public/tests/test_1.js +64 -0
- package/build/public/toTopBtn/toTopBtn.js +31 -0
- package/build/public/upload-userpic.js +64 -0
- package/build/public/userpics/placeholder-lg-1.js +46 -0
- package/build/public/userpics/placeholder-sm-1.js +46 -0
- package/build/public/video/pause.js +33 -0
- package/build/public/video/play.js +29 -0
- package/build/public/wallets/arkane-btn.js +37 -0
- package/build/public/wallets/bitski-btn.js +52 -0
- package/build/public/wallets/elrond-btn.js +189 -0
- package/build/public/wallets/elrond-icon-sm.js +184 -0
- package/build/public/wallets/elrond.js +27 -0
- package/build/public/wallets/ethereum-icon-sm.js +34 -0
- package/build/public/wallets/flow-btn.js +33 -0
- package/build/public/wallets/flow-icon-sm.js +36 -0
- package/build/public/wallets/formatic-btn.js +25 -0
- package/build/public/wallets/formatic-icon-sm.js +25 -0
- package/build/public/wallets/maiar-btn.js +58 -0
- package/build/public/wallets/maiar-icon-sm.js +58 -0
- package/build/public/wallets/metamask-btn.js +176 -0
- package/build/public/wallets/metamask-icon-sm.js +169 -0
- package/build/public/wallets/phantom.js +27 -0
- package/build/public/wallets/plus.js +29 -0
- package/build/public/wallets/solana-btn.js +71 -0
- package/build/public/wallets/solana-icon-sm.js +64 -0
- package/build/public/wallets/terra-btn.js +94 -0
- package/build/public/wallets/terra-icon-sm.js +94 -0
- package/build/public/wallets/tezos-btn.js +42 -0
- package/build/public/wallets/tezos-icon-sm.js +37 -0
- package/build/public/wallets/wallet_connect.js +27 -0
- package/build/public/wallets/walletconnect-btn.js +22 -0
- package/build/public/wallets/walletlink-btn.js +36 -0
- package/build/public/wallets/walletlink-icon-sm.js +37 -0
- package/build/public/wallets/xdefi-btn.js +31 -0
- package/build/public/wallets/xdefi-icon-sm.js +31 -0
- package/build/public/warning.js +22 -0
- package/build/store/env/index.d.ts +0 -1
- package/build/store/index.d.ts +0 -1
- package/build/store/ui/utils.d.ts +1 -1
- package/build/styles/globalStyles.d.ts +0 -1
- package/build/system/Cards/CardContent/CardLikes/index.js +1 -1
- package/build/system/Cards/CardContent/CardShowMore/index.js +1 -1
- package/build/system/Cards/CardContent/index.d.ts +8 -8
- package/build/system/Cards/CardMedia/CardAudio/index.js +2 -2
- package/build/system/Cards/CardMedia/CardVideo/index.js +2 -2
- package/build/system/Cards/CreationCard/CardHead.d.ts +1 -1
- package/build/system/Cards/CreationCard/CardHead.js +3 -3
- package/build/system/Cards/MultiMediaCard/index.js +1 -1
- package/build/system/Cards/Styles/Content.d.ts +0 -1
- package/build/system/Cards/Styles/Head.d.ts +0 -1
- package/build/system/Cards/Styles/Headicons.d.ts +0 -1
- package/build/system/Cards/Styles/Image.d.ts +0 -1
- package/build/system/Cards/Styles/Likes.d.ts +0 -1
- package/build/system/Cards/Styles/MultiHead.d.ts +0 -1
- package/build/system/Cards/Styles/Video.d.ts +0 -1
- package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsError/index.js +1 -1
- package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsNoResults/index.js +1 -1
- package/build/system/CardsHolderWithSkeleton/CardsHolderLoader/index.js +1 -1
- package/build/system/DropDown/index.d.ts +1 -1
- package/build/system/DropDown/index.js +1 -1
- package/build/system/Forms/DatePicker/index.js +2 -2
- package/build/system/Forms/RadioInput/index.d.ts +4 -4
- package/build/system/Forms/Selects/DesktopSelect/index.js +1 -1
- package/build/system/Img/Userpic/index.js +1 -1
- package/build/system/ShareIconResize.js +1 -1
- package/build/utils/3d.d.ts +2 -2
- package/build/utils/copyBtn/index.d.ts +3 -3
- package/build/utils/copyBtn/index.js +2 -2
- package/build/utils/extractItemIds.js +1 -2
- package/build/utils/getPageSizeAssets.d.ts +2 -2
- package/build/utils/screen/index.js +4 -5
- package/package.json +12 -6
- package/public/404/404.svg +0 -8
- package/public/500/500.svg +0 -8
- package/public/MobileSearchBtn/close.svg +0 -3
- package/public/MobileSearchBtn/search.svg +0 -4
- package/public/MobileSearchBtn/test/pirate.svg +0 -9
- package/public/MobileSearchBtn/test/squircle.svg +0 -9
- package/public/alerts/close.svg +0 -5
- package/public/alerts/errorIcon.svg +0 -4
- package/public/alerts/successIcon.svg +0 -4
- package/public/alerts/warningIcon.svg +0 -8
- package/public/assetPage/arrow.svg +0 -3
- package/public/assetPage/audioPlaceholder.svg +0 -35
- package/public/assetPage/details.svg +0 -6
- package/public/assetPage/favorite.svg +0 -3
- package/public/assetPage/favorite_hover.svg +0 -3
- package/public/assetPage/flag.svg +0 -5
- package/public/assetPage/fullScreen.svg +0 -3
- package/public/assetPage/owners.svg +0 -4
- package/public/assetPage/pause.svg +0 -4
- package/public/assetPage/play.svg +0 -3
- package/public/assetPage/share.svg +0 -3
- package/public/assetPage/share2.svg +0 -3
- package/public/assetPage/share2_hover.svg +0 -3
- package/public/assetPage/shareWithDots.svg +0 -6
- package/public/assetPage/shareWithDots_hover.svg +0 -6
- package/public/assetPage/share_hover.svg +0 -3
- package/public/assetPage/soundOf.svg +0 -3
- package/public/assetPage/soundOn.svg +0 -3
- package/public/banner/banner_img.svg +0 -96
- package/public/banner/banner_stroke.svg +0 -3
- package/public/button_skin/accept.svg +0 -11
- package/public/button_skin/decline.svg +0 -11
- package/public/calendar.svg +0 -3
- package/public/cards/addToFavListIcon.svg +0 -5
- package/public/cards/addToGalleryIcon.svg +0 -3
- package/public/cards/heart.svg +0 -3
- package/public/cardsHolderLoader/loader.svg +0 -4
- package/public/checkbox-on.svg +0 -4
- package/public/checkboxArrow.svg +0 -3
- package/public/close.svg +0 -3
- package/public/close20.svg +0 -4
- package/public/collectionPage/export.svg +0 -3
- package/public/copied.svg +0 -4
- package/public/copy-icon-new.svg +0 -4
- package/public/creation/card/moreBtn.svg +0 -6
- package/public/creation/card/moreBtnVertical.svg +0 -5
- package/public/creation/card/moreBtn_hover.svg +0 -5
- package/public/defaultUserpics/0.svg +0 -24
- package/public/defaultUserpics/1.svg +0 -24
- package/public/defaultUserpics/10.svg +0 -24
- package/public/defaultUserpics/11.svg +0 -24
- package/public/defaultUserpics/12.svg +0 -24
- package/public/defaultUserpics/13.svg +0 -24
- package/public/defaultUserpics/14.svg +0 -24
- package/public/defaultUserpics/15.svg +0 -24
- package/public/defaultUserpics/16.svg +0 -24
- package/public/defaultUserpics/17.svg +0 -24
- package/public/defaultUserpics/18.svg +0 -24
- package/public/defaultUserpics/19.svg +0 -24
- package/public/defaultUserpics/2.svg +0 -24
- package/public/defaultUserpics/20.svg +0 -24
- package/public/defaultUserpics/3.svg +0 -24
- package/public/defaultUserpics/4.svg +0 -24
- package/public/defaultUserpics/5.svg +0 -24
- package/public/defaultUserpics/6.svg +0 -24
- package/public/defaultUserpics/7.svg +0 -24
- package/public/defaultUserpics/8.svg +0 -24
- package/public/defaultUserpics/9.svg +0 -24
- package/public/defaultUserpics/defaultUserpic.svg +0 -31
- package/public/dropDown/arrow_down.svg +0 -3
- package/public/dropdown-arrow-down.svg +0 -3
- package/public/dropdown-arrow-up.svg +0 -3
- package/public/error/refresh.svg +0 -4
- package/public/follower.svg +0 -4
- package/public/forms/checkbox/checked.svg +0 -4
- package/public/gallery/defaultImage.svg +0 -3
- package/public/gallery/delete.svg +0 -4
- package/public/header/mobile_menu_icons/arrows/arrow_down.svg +0 -3
- package/public/header/mobile_menu_icons/arrows/arrow_up.svg +0 -3
- package/public/header/mobile_menu_icons/campaigns.svg +0 -6
- package/public/header/mobile_menu_icons/dropdown/add_new_campaign.svg +0 -10
- package/public/header/mobile_menu_icons/dropdown/my_galleries.svg +0 -12
- package/public/header/mobile_menu_icons/dropdown/my_profile.svg +0 -5
- package/public/header/mobile_menu_icons/dropdown/my_wallets.svg +0 -5
- package/public/header/mobile_menu_icons/dropdown/notifications.svg +0 -6
- package/public/header/mobile_menu_icons/dropdown/top_campaigns.svg +0 -7
- package/public/header/mobile_menu_icons/dropdown/top_creations.svg +0 -6
- package/public/header/mobile_menu_icons/dropdown/top_creators.svg +0 -10
- package/public/header/mobile_menu_icons/dropdown/top_galleries.svg +0 -13
- package/public/header/mobile_menu_icons/dropdown/top_/321/201ollectors.svg +0 -10
- package/public/header/mobile_menu_icons/experiences.svg +0 -11
- package/public/header/mobile_menu_icons/settings.svg +0 -3
- package/public/header/mobile_menu_icons/sign_out.svg +0 -4
- package/public/header/mobile_menu_icons/submit_nft.svg +0 -16
- package/public/header/mobile_menu_icons/top.svg +0 -7
- package/public/header/mobile_toggle/close.svg +0 -3
- package/public/header/mobile_toggle/regular.svg +0 -3
- package/public/iconButton/share.svg +0 -6
- package/public/iconButton/trash.svg +0 -5
- package/public/iconButton/trash_open.svg +0 -6
- package/public/like-icon-active.svg +0 -4
- package/public/like-icon.svg +0 -3
- package/public/logOut/logOutBtn.svg +0 -5
- package/public/logo/main_logo.svg +0 -214
- package/public/logo/main_logo_dark.svg +0 -49
- package/public/logo/mobile_logo.svg +0 -210
- package/public/logo/mobile_logo_dark.svg +0 -45
- package/public/ludo-logo-small.svg +0 -5
- package/public/ludo-logo-square.svg +0 -9
- package/public/modal/close.svg +0 -3
- package/public/noContent/noContent.svg +0 -9
- package/public/noContent/noContentAudio.svg +0 -34
- package/public/noContent/noContentObject.svg +0 -35
- package/public/no_image placeholder.svg +0 -9
- package/public/no_media_placeholder.svg +0 -222
- package/public/report.svg +0 -6
- package/public/rewardsPage/XP_logo.svg +0 -22
- package/public/rewardsPage/arrow_up_light.svg +0 -3
- package/public/rewardsPage/banner_rewards.svg +0 -9
- package/public/rewardsPage/banner_rewards_mobile.svg +0 -9
- package/public/rewardsPage/banner_rewards_tablet.svg +0 -9
- package/public/rewardsPage/defaultUserPic.svg +0 -9
- package/public/rewardsPage/ludo_logo_white.svg +0 -49
- package/public/search/arrow_up.svg +0 -3
- package/public/search/back.svg +0 -3
- package/public/search/close.svg +0 -3
- package/public/search/no_found.svg +0 -4
- package/public/search/search.svg +0 -4
- package/public/search-icon.svg +0 -4
- package/public/selects/arrow_down.svg +0 -3
- package/public/services/opensea.svg +0 -5
- package/public/services/other.svg +0 -8
- package/public/services/rarible.svg +0 -4
- package/public/settings_page/back.svg +0 -3
- package/public/settings_page/burger_menu.svg +0 -5
- package/public/settings_page/notifications.svg +0 -5
- package/public/settings_page/notifications_active.svg +0 -5
- package/public/settings_page/privacy.svg +0 -4
- package/public/settings_page/privacy_active.svg +0 -4
- package/public/settings_page/settings.svg +0 -5
- package/public/settings_page/settings_active.svg +0 -5
- package/public/settings_page/upload.svg +0 -4
- package/public/share/copy-link-btn.svg +0 -6
- package/public/share/email-btn.svg +0 -5
- package/public/share/facebook-btn.svg +0 -5
- package/public/share/insta-btn.svg +0 -21
- package/public/share/reddit-btn.svg +0 -11
- package/public/share/telegram-btn.svg +0 -4
- package/public/share/twitter-btn.svg +0 -5
- package/public/share/whatsapp-btn.svg +0 -6
- package/public/share-icon.svg +0 -7
- package/public/showCaseIcons/heart.svg +0 -3
- package/public/sidebar/aboutLudo.svg +0 -40
- package/public/sidebar/aboutLudoDark.svg +0 -52
- package/public/sidebar/api.svg +0 -3
- package/public/sidebar/close.svg +0 -3
- package/public/sidebar/disconnect.svg +0 -3
- package/public/sidebar/explore.svg +0 -5
- package/public/sidebar/ludoX.svg +0 -63
- package/public/sidebar/my-invites.svg +0 -4
- package/public/sidebar/rewards.svg +0 -4
- package/public/sidebar/submitNft.svg +0 -3
- package/public/socials/facebook.svg +0 -4
- package/public/socials/instagram.svg +0 -5
- package/public/socials/twitter.svg +0 -3
- package/public/socials/website.svg +0 -8
- package/public/tabs/arrow_right.svg +0 -3
- package/public/tabs/arrow_right_dark.svg +0 -3
- package/public/tests/test_1.svg +0 -11
- package/public/toTopBtn/toTopBtn.svg +0 -4
- package/public/upload-userpic.svg +0 -11
- package/public/userpics/placeholder-lg-1.svg +0 -10
- package/public/userpics/placeholder-sm-1.svg +0 -10
- package/public/video/pause.svg +0 -5
- package/public/video/play.svg +0 -4
- package/public/wallets/arkane-btn.svg +0 -5
- package/public/wallets/bitski-btn.svg +0 -12
- package/public/wallets/elrond-btn.svg +0 -36
- package/public/wallets/elrond-icon-sm.svg +0 -35
- package/public/wallets/elrond.svg +0 -4
- package/public/wallets/ethereum-icon-sm.svg +0 -7
- package/public/wallets/flow-btn.svg +0 -6
- package/public/wallets/flow-icon-sm.svg +0 -12
- package/public/wallets/formatic-btn.svg +0 -4
- package/public/wallets/formatic-icon-sm.svg +0 -4
- package/public/wallets/maiar-btn.svg +0 -17
- package/public/wallets/maiar-icon-sm.svg +0 -17
- package/public/wallets/metamask-btn.svg +0 -33
- package/public/wallets/metamask-icon-sm.svg +0 -32
- package/public/wallets/phantom.svg +0 -4
- package/public/wallets/plus.svg +0 -4
- package/public/wallets/solana-btn.svg +0 -20
- package/public/wallets/solana-icon-sm.svg +0 -19
- package/public/wallets/terra-btn.svg +0 -29
- package/public/wallets/terra-icon-sm.svg +0 -29
- package/public/wallets/tezos-btn.svg +0 -12
- package/public/wallets/tezos-icon-sm.svg +0 -11
- package/public/wallets/wallet_connect.svg +0 -4
- package/public/wallets/walletconnect-btn.svg +0 -3
- package/public/wallets/walletlink-btn.svg +0 -5
- package/public/wallets/walletlink-icon-sm.svg +0 -5
- package/public/wallets/xdefi-btn.svg +0 -6
- package/public/wallets/xdefi-icon-sm.svg +0 -6
- package/public/warning.svg +0 -3
- /package/{public → build/public}/favicon.ico +0 -0
- /package/{public → build/public}/favicon.png +0 -0
- /package/{public → build/public}/fonts/dm-sans-v15-latin-500.woff2 +0 -0
- /package/{public → build/public}/fonts/dm-sans-v15-latin-500italic.woff2 +0 -0
- /package/{public → build/public}/fonts/dm-sans-v15-latin-600.woff2 +0 -0
- /package/{public → build/public}/fonts/dm-sans-v15-latin-600italic.woff2 +0 -0
- /package/{public → build/public}/fonts/dm-sans-v15-latin-700.woff2 +0 -0
- /package/{public → build/public}/fonts/dm-sans-v15-latin-700italic.woff2 +0 -0
- /package/{public → build/public}/fonts/dm-sans-v15-latin-italic.woff2 +0 -0
- /package/{public → build/public}/fonts/dm-sans-v15-latin-regular.woff2 +0 -0
- /package/{public → build/public}/fonts/poppins-v21-latin-200.woff2 +0 -0
- /package/{public → build/public}/fonts/poppins-v21-latin-300.woff2 +0 -0
- /package/{public → build/public}/fonts/poppins-v21-latin-500.woff2 +0 -0
- /package/{public → build/public}/fonts/poppins-v21-latin-600.woff2 +0 -0
- /package/{public → build/public}/fonts/poppins-v21-latin-700.woff2 +0 -0
- /package/{public → build/public}/fonts/poppins-v21-latin-800.woff2 +0 -0
- /package/{public → build/public}/fonts/poppins-v21-latin-regular.woff2 +0 -0
- /package/{public → build/public}/formsBg/get_early_access_bg.jpg +0 -0
- /package/{public → build/public}/tests/audio.mp3 +0 -0
- /package/{public → build/public}/userpic-placeholder.jpg +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.APOLLO_STATE_PROP_NAME = void 0;
|
|
4
|
+
exports.addApolloState = addApolloState;
|
|
4
5
|
exports.APOLLO_STATE_PROP_NAME = '__APOLLO_STATE__';
|
|
5
6
|
function addApolloState(client, pageProps) {
|
|
6
7
|
if (pageProps?.props) {
|
|
@@ -8,4 +9,3 @@ function addApolloState(client, pageProps) {
|
|
|
8
9
|
}
|
|
9
10
|
return pageProps;
|
|
10
11
|
}
|
|
11
|
-
exports.addApolloState = addApolloState;
|
|
@@ -9,20 +9,20 @@ export declare const useFetchSearchResultSelections: () => {
|
|
|
9
9
|
resultTimeSelectionsLoading: boolean;
|
|
10
10
|
error: import("@apollo/client").ApolloError | undefined;
|
|
11
11
|
searchResultSelections: {
|
|
12
|
-
typeSelections: schema.Maybe<Pick<schema.ISelection, "label"> & {
|
|
13
|
-
id:
|
|
14
|
-
}
|
|
15
|
-
blockchainSelections: schema.Maybe<Pick<schema.ISelection, "label"> & {
|
|
16
|
-
id:
|
|
17
|
-
}
|
|
18
|
-
categorySelections: schema.Maybe<Pick<schema.ISelection, "label"> & {
|
|
19
|
-
id:
|
|
20
|
-
}
|
|
21
|
-
timeSelections: schema.Maybe<Pick<schema.ISelection, "label"> & {
|
|
22
|
-
id:
|
|
23
|
-
}
|
|
24
|
-
statusSelections: schema.Maybe<Pick<schema.ISelection, "label"> & {
|
|
25
|
-
id:
|
|
26
|
-
}
|
|
12
|
+
typeSelections: Array<schema.Maybe<(Pick<schema.ISelection, "label"> & {
|
|
13
|
+
id: schema.ISelection["name"];
|
|
14
|
+
})>>;
|
|
15
|
+
blockchainSelections: Array<schema.Maybe<(Pick<schema.ISelection, "label"> & {
|
|
16
|
+
id: schema.ISelection["name"];
|
|
17
|
+
})>>;
|
|
18
|
+
categorySelections: Array<schema.Maybe<(Pick<schema.ISelection, "label"> & {
|
|
19
|
+
id: schema.ISelection["name"];
|
|
20
|
+
})>>;
|
|
21
|
+
timeSelections: Array<schema.Maybe<(Pick<schema.ISelection, "label"> & {
|
|
22
|
+
id: schema.ISelection["name"];
|
|
23
|
+
})>>;
|
|
24
|
+
statusSelections: Array<schema.Maybe<(Pick<schema.ISelection, "label"> & {
|
|
25
|
+
id: schema.ISelection["name"];
|
|
26
|
+
})>>;
|
|
27
27
|
} | undefined;
|
|
28
28
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import { ApolloClient, NormalizedCacheObject } from '@apollo/client';
|
|
3
2
|
import * as querystring from 'querystring';
|
|
4
3
|
import { ICollectionFilterInput, ICreationFilterInput } from '@ludo.ninja/api/build/graphql_tools/__generated__/searchHost/schema';
|
|
@@ -2,8 +2,8 @@ import { searchSchema as schema } from '@ludo.ninja/api';
|
|
|
2
2
|
import CreationEntity from '@/dto/CreationEntity';
|
|
3
3
|
declare const useFindUserCreations: ({ ownerId, input, scrollTab, }: {
|
|
4
4
|
scrollTab: string | undefined;
|
|
5
|
-
ownerId: schema.IQueryFindUserCreationsArgs[
|
|
6
|
-
input: schema.IQueryFindUserCreationsArgs[
|
|
5
|
+
ownerId: schema.IQueryFindUserCreationsArgs["ownerId"];
|
|
6
|
+
input: schema.IQueryFindUserCreationsArgs["input"];
|
|
7
7
|
}) => {
|
|
8
8
|
isLoading: boolean;
|
|
9
9
|
error: import("@apollo/client").ApolloError | undefined;
|
|
@@ -13,7 +13,7 @@ const scale_1 = require("../../../utils/adaptive/scale");
|
|
|
13
13
|
const auth_1 = require("../../../utils/auth");
|
|
14
14
|
const screen_1 = require("../../../utils/screen");
|
|
15
15
|
const likes_1 = __importDefault(require("../../../hooks/likes"));
|
|
16
|
-
const heart_svg_1 = __importDefault(require("
|
|
16
|
+
const heart_svg_1 = __importDefault(require("../../../public/showCaseIcons/heart"));
|
|
17
17
|
const AssetLikes = ({ assetId, likesByUser, isLikedByUser, }) => {
|
|
18
18
|
const redirectToLoginWindow = (0, auth_1.useRedirectToLoginWindow)();
|
|
19
19
|
const isSignedIn = (0, store_1.useUserStore)((state) => state.isSignedIn);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = Duration;
|
|
3
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
5
|
const colors_1 = require("../../../styles/colors");
|
|
5
6
|
const index_1 = require("../../../system/index");
|
|
6
7
|
function Duration({ seconds }) {
|
|
7
8
|
return ((0, jsx_runtime_1.jsx)("time", { dateTime: `P${Math.round(seconds)}S`, children: (0, jsx_runtime_1.jsx)(index_1.H5, { color: colors_1.InactiveButtonColor, children: format(seconds) }) }));
|
|
8
9
|
}
|
|
9
|
-
exports.default = Duration;
|
|
10
10
|
function format(seconds) {
|
|
11
11
|
const date = new Date(seconds * 1000);
|
|
12
12
|
const hh = date.getUTCHours();
|
|
@@ -3,6 +3,6 @@ declare const AssetImage: ({ imageUrl, errorImg, originalUrl, alt, isScreenshot,
|
|
|
3
3
|
errorImg: string;
|
|
4
4
|
alt: string;
|
|
5
5
|
originalUrl?: string | null | undefined;
|
|
6
|
-
isScreenshot?: boolean
|
|
6
|
+
isScreenshot?: boolean;
|
|
7
7
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export default AssetImage;
|
|
@@ -38,7 +38,7 @@ const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
|
38
38
|
const utils_1 = require("@ludo.ninja/utils");
|
|
39
39
|
const IconWithButton_1 = __importDefault(require("../../../system/Buttons/IconWithButton"));
|
|
40
40
|
const vars_1 = require("../../../fonts/vars");
|
|
41
|
-
const moreBtn_svg_1 = __importDefault(require("
|
|
41
|
+
const moreBtn_svg_1 = __importDefault(require("../../../public/creation/card/moreBtn"));
|
|
42
42
|
const SContainer = styled_components_1.default.div `
|
|
43
43
|
position: relative;
|
|
44
44
|
|
|
@@ -17,7 +17,7 @@ const index_1 = require("../../../system/index");
|
|
|
17
17
|
const scale_1 = require("../../../utils/adaptive/scale");
|
|
18
18
|
const copyBtn_1 = require("../../../utils/copyBtn");
|
|
19
19
|
const screen_1 = require("../../../utils/screen");
|
|
20
|
-
const details_svg_1 = __importDefault(require("
|
|
20
|
+
const details_svg_1 = __importDefault(require("../../../public/assetPage/details"));
|
|
21
21
|
const MultiFlexRight = (0, styled_components_1.default)(index_1.Flex) `
|
|
22
22
|
margin-left: 100px;
|
|
23
23
|
align-items: center;
|
|
@@ -2,6 +2,6 @@ type Viewer3dProps = {
|
|
|
2
2
|
file2D?: string | undefined | null;
|
|
3
3
|
file3D: string | undefined | null;
|
|
4
4
|
};
|
|
5
|
-
export declare const ScenePreview: ({ file3D }: Pick<Viewer3dProps,
|
|
5
|
+
export declare const ScenePreview: ({ file3D }: Pick<Viewer3dProps, "file3D">) => import("react/jsx-runtime").JSX.Element | null;
|
|
6
6
|
export declare const Viewer3D: ({ file3D, file2D }: Viewer3dProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -2,6 +2,6 @@ import React, { CSSProperties } from 'react';
|
|
|
2
2
|
declare const LinkTabs: ({ isUnderlined, children, style, }: {
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
isUnderlined: boolean;
|
|
5
|
-
style?:
|
|
5
|
+
style?: CSSProperties;
|
|
6
6
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export default LinkTabs;
|
|
@@ -43,7 +43,7 @@ const ui_1 = require("../../store/ui");
|
|
|
43
43
|
const ScreenWidth_1 = require("../../styles/ScreenWidth");
|
|
44
44
|
const screen_1 = require("../../utils/screen");
|
|
45
45
|
const seacrhTabs_1 = require("../../utils/seacrhTabs");
|
|
46
|
-
const back_svg_1 = __importDefault(require("
|
|
46
|
+
const back_svg_1 = __importDefault(require("../../public/search/back"));
|
|
47
47
|
const enterKey = 'Enter';
|
|
48
48
|
const SearchInputContainer = ({ onFocusHandler, isClearOnBlur, initializeInputComponent, }) => {
|
|
49
49
|
const NEXT_PUBLIC_ENV_SEARCH_DOMAIN = (0, env_1.useEnvStore)((state) => state.NEXT_PUBLIC_ENV_SEARCH_DOMAIN);
|
|
@@ -10,7 +10,7 @@ const scale_1 = require("../../../utils/adaptive/scale");
|
|
|
10
10
|
const screen_1 = require("../../../utils/screen");
|
|
11
11
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
12
12
|
const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
13
|
-
const close_svg_1 = __importDefault(require("
|
|
13
|
+
const close_svg_1 = __importDefault(require("../../../public/search/close"));
|
|
14
14
|
const StyledSearchCloseMoreButtons = styled_components_1.default.div `
|
|
15
15
|
position: absolute;
|
|
16
16
|
right: ${(props) => props.position.right};
|
|
@@ -35,7 +35,7 @@ const typography_1 = require("../../../styles/typography");
|
|
|
35
35
|
const scale_1 = require("../../../utils/adaptive/scale");
|
|
36
36
|
const screen_1 = require("../../../utils/screen");
|
|
37
37
|
const vars_1 = require("../../../fonts/vars");
|
|
38
|
-
const search_svg_1 = __importDefault(require("
|
|
38
|
+
const search_svg_1 = __importDefault(require("../../../public/search/search"));
|
|
39
39
|
// Styles
|
|
40
40
|
const StyledSearchSimpleInput = styled_components_1.default.div `
|
|
41
41
|
position: relative;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { searchSchema as schema } from '@ludo.ninja/api';
|
|
2
2
|
import { DefaultsCollectionsSearchPageProps, DefaultsNftSearchPageProps } from '@/api/server-preferences/queries/fetchSearchResultSelections/queryData';
|
|
3
|
-
export declare const useSearchFiltersConnector: <TFilterInput extends schema.
|
|
3
|
+
export declare const useSearchFiltersConnector: <TFilterInput extends schema.ICreationFilterInput | schema.ICollectionFilterInput = schema.ICreationFilterInput>({ defaults, isDisabledTypeFilters, isMobile, }: {
|
|
4
4
|
defaults: DefaultsNftSearchPageProps | DefaultsCollectionsSearchPageProps;
|
|
5
|
-
isDisabledTypeFilters?: boolean
|
|
5
|
+
isDisabledTypeFilters?: boolean;
|
|
6
6
|
isMobile: boolean;
|
|
7
7
|
}) => {
|
|
8
8
|
filterInput: TFilterInput;
|
|
@@ -5,13 +5,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.sideBarDataForProd = exports.sideBarDataForDev = void 0;
|
|
7
7
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
-
const aboutLudo_svg_1 = __importDefault(require("
|
|
9
|
-
const aboutLudoDark_svg_1 = __importDefault(require("
|
|
10
|
-
const api_svg_1 = __importDefault(require("
|
|
11
|
-
const explore_svg_1 = __importDefault(require("
|
|
12
|
-
const my_invites_svg_1 = __importDefault(require("
|
|
13
|
-
const rewards_svg_1 = __importDefault(require("
|
|
14
|
-
const submitNft_svg_1 = __importDefault(require("
|
|
8
|
+
const aboutLudo_svg_1 = __importDefault(require("../../public/sidebar/aboutLudo"));
|
|
9
|
+
const aboutLudoDark_svg_1 = __importDefault(require("../../public/sidebar/aboutLudoDark"));
|
|
10
|
+
const api_svg_1 = __importDefault(require("../../public/sidebar/api"));
|
|
11
|
+
const explore_svg_1 = __importDefault(require("../../public/sidebar/explore"));
|
|
12
|
+
const my_invites_svg_1 = __importDefault(require("../../public/sidebar/my-invites"));
|
|
13
|
+
const rewards_svg_1 = __importDefault(require("../../public/sidebar/rewards"));
|
|
14
|
+
const submitNft_svg_1 = __importDefault(require("../../public/sidebar/submitNft"));
|
|
15
15
|
const sideBarDataForDev = ({ isAuthorized, isDarkTheme, userId, }) => {
|
|
16
16
|
return [
|
|
17
17
|
{
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
7
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
8
8
|
const typography_1 = require("../../../styles/typography");
|
|
9
|
-
const close20_svg_1 = __importDefault(require("
|
|
9
|
+
const close20_svg_1 = __importDefault(require("../../../public/close20"));
|
|
10
10
|
// Styles
|
|
11
11
|
const StyledSidebarFilters = styled_components_1.default.aside `
|
|
12
12
|
box-sizing: border-box;
|
|
@@ -14,7 +14,7 @@ const screen_1 = require("../../utils/screen");
|
|
|
14
14
|
const ui_1 = require("../../utils/ui");
|
|
15
15
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
16
16
|
const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
17
|
-
const toTopBtn_svg_1 = __importDefault(require("
|
|
17
|
+
const toTopBtn_svg_1 = __importDefault(require("../../public/toTopBtn/toTopBtn"));
|
|
18
18
|
// Styles
|
|
19
19
|
const StyledToTopBnt = styled_components_1.default.div `
|
|
20
20
|
display: flex;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import ICreationEntity from '@/dto/CreationEntity/interface';
|
|
3
2
|
export type TGetMediaUrlFunc = (getENVDomain: (env?: string) => string, isExternalImage?: boolean) => string;
|
|
4
3
|
export type TGetMediaUrlStr = (getENVDomain: string, isExternalImage?: boolean) => string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.useApollo =
|
|
3
|
+
exports.useApollo = useApollo;
|
|
4
4
|
const react_1 = require("react");
|
|
5
5
|
const graphql_1 = require("../../api/graphql");
|
|
6
6
|
const api_1 = require("@ludo.ninja/api");
|
|
@@ -10,4 +10,3 @@ function useApollo(pageProps) {
|
|
|
10
10
|
const state = pageProps[graphql_1.APOLLO_STATE_PROP_NAME];
|
|
11
11
|
return (0, react_1.useMemo)(() => api_1.graphqlConfig.initializeApollo(state, NEXT_PUBLIC_ENV_DOMAIN), [state]);
|
|
12
12
|
}
|
|
13
|
-
exports.useApollo = useApollo;
|
|
@@ -3,7 +3,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
6
|
+
exports.useGetUserFevoritesCreations = void 0;
|
|
7
|
+
exports.getMediaForGallery = getMediaForGallery;
|
|
7
8
|
const react_1 = require("react");
|
|
8
9
|
const client_1 = require("@apollo/client");
|
|
9
10
|
const api_1 = require("@ludo.ninja/api");
|
|
@@ -185,4 +186,3 @@ function getMediaForGallery(favorites, takeFirstFour, pageNumber = 1, totalLengt
|
|
|
185
186
|
});
|
|
186
187
|
return { assetArray, collectionsArray };
|
|
187
188
|
}
|
|
188
|
-
exports.getMediaForGallery = getMediaForGallery;
|
|
@@ -3,7 +3,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
6
|
+
exports.useGetUserGalleriesCreations = void 0;
|
|
7
|
+
exports.getMediaForGallery = getMediaForGallery;
|
|
7
8
|
const react_1 = require("react");
|
|
8
9
|
const client_1 = require("@apollo/client");
|
|
9
10
|
const api_1 = require("@ludo.ninja/api");
|
|
@@ -174,4 +175,3 @@ function getMediaForGallery(favorites, takeFirstFour) {
|
|
|
174
175
|
});
|
|
175
176
|
return { assetArray, collectionsArray };
|
|
176
177
|
}
|
|
177
|
-
exports.getMediaForGallery = getMediaForGallery;
|
|
@@ -3,7 +3,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
6
|
+
exports.useGetCreationsAndLikes = void 0;
|
|
7
|
+
exports.extractItemIds = extractItemIds;
|
|
7
8
|
const react_1 = require("react");
|
|
8
9
|
const client_1 = require("@apollo/client");
|
|
9
10
|
const api_1 = require("@ludo.ninja/api");
|
|
@@ -136,4 +137,3 @@ function extractItemIds(creations) {
|
|
|
136
137
|
? creation.getCreationId()
|
|
137
138
|
: creation.getItemId());
|
|
138
139
|
}
|
|
139
|
-
exports.extractItemIds = extractItemIds;
|
|
@@ -4,16 +4,16 @@ export declare const useGetLikesAsset: () => {
|
|
|
4
4
|
isLoadingLikes: boolean;
|
|
5
5
|
fetchLikes: (itemsIdsArray: string[], currentItemType: TCurrentItemType) => Promise<void>;
|
|
6
6
|
likes: Map<string, {
|
|
7
|
-
assetId:
|
|
8
|
-
isLikedByUser?: searchSchema.Maybe<
|
|
9
|
-
likesNum?: searchSchema.Maybe<
|
|
10
|
-
medias?: searchSchema.Maybe<searchSchema.Maybe<searchSchema.IMedia
|
|
7
|
+
assetId: searchSchema.Scalars["String"];
|
|
8
|
+
isLikedByUser?: searchSchema.Maybe<searchSchema.Scalars["Boolean"]>;
|
|
9
|
+
likesNum?: searchSchema.Maybe<searchSchema.Scalars["Int"]>;
|
|
10
|
+
medias?: searchSchema.Maybe<Array<searchSchema.Maybe<searchSchema.IMedia>>>;
|
|
11
11
|
id: string;
|
|
12
12
|
} | {
|
|
13
|
-
collectionId:
|
|
14
|
-
isLikedByUser?: searchSchema.Maybe<
|
|
15
|
-
likesNum?: searchSchema.Maybe<
|
|
16
|
-
collectionAssetsPage?: searchSchema.Maybe<searchSchema.IAssetsPage
|
|
13
|
+
collectionId: searchSchema.Scalars["String"];
|
|
14
|
+
isLikedByUser?: searchSchema.Maybe<searchSchema.Scalars["Boolean"]>;
|
|
15
|
+
likesNum?: searchSchema.Maybe<searchSchema.Scalars["Int"]>;
|
|
16
|
+
collectionAssetsPage?: searchSchema.Maybe<searchSchema.IAssetsPage>;
|
|
17
17
|
id: string;
|
|
18
18
|
}>;
|
|
19
19
|
resetLikes: () => void;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const StyledMain: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
|
|
3
2
|
export declare const StyledMainForms: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
|
|
@@ -7,7 +7,7 @@ export type TCreationWithOpportunity = TCreationAndCollection | TOpportunity;
|
|
|
7
7
|
export declare const useGetAssetsAndCollectionForFavorite: <TCreations>({ gallery, activeTab, fetchLikes, }: {
|
|
8
8
|
gallery: GalleryEntityV2;
|
|
9
9
|
activeTab: TActiveTab;
|
|
10
|
-
fetchLikes?: (
|
|
10
|
+
fetchLikes?: (itemsIdsArray: string[], currentItemType: TCurrentItemType) => Promise<void>;
|
|
11
11
|
}) => {
|
|
12
12
|
creations: TCreations[];
|
|
13
13
|
isLoading: boolean;
|
|
@@ -15,5 +15,5 @@ export declare const useGetAssetsAndCollectionForFavorite: <TCreations>({ galler
|
|
|
15
15
|
loadMore: () => Promise<void>;
|
|
16
16
|
error: import("@apollo/client").ApolloError | undefined;
|
|
17
17
|
refetchQuery: () => Promise<void>;
|
|
18
|
-
removeCreation: (creationIdToRemove: string, itemType:
|
|
18
|
+
removeCreation: (creationIdToRemove: string, itemType: "asset" | "collection" | "opportunity") => void;
|
|
19
19
|
};
|
|
@@ -2,7 +2,7 @@ import GalleryEntityV2 from '@/dto/GalleryEntityV2';
|
|
|
2
2
|
export declare const EditGallery: ({ galleryId, handleRemoveAsset, gallery, titleAssets, titleForm, inputPlaceHolderText, }: {
|
|
3
3
|
gallery: GalleryEntityV2;
|
|
4
4
|
galleryId: string;
|
|
5
|
-
handleRemoveAsset: (creationIdToRemove: string) => (itemType:
|
|
5
|
+
handleRemoveAsset: (creationIdToRemove: string) => (itemType: "asset" | "collection") => void;
|
|
6
6
|
titleAssets: string;
|
|
7
7
|
titleForm: string;
|
|
8
8
|
inputPlaceHolderText: string;
|
|
@@ -9,8 +9,8 @@ const react_1 = require("react");
|
|
|
9
9
|
const scale_1 = require("../../../utils/adaptive/scale");
|
|
10
10
|
const screen_1 = require("../../../utils/screen");
|
|
11
11
|
const IconButton_1 = __importDefault(require("../../../system/Buttons/IconButton"));
|
|
12
|
-
const trash_svg_1 = __importDefault(require("
|
|
13
|
-
const trash_open_svg_1 = __importDefault(require("
|
|
12
|
+
const trash_svg_1 = __importDefault(require("../../../public/iconButton/trash"));
|
|
13
|
+
const trash_open_svg_1 = __importDefault(require("../../../public/iconButton/trash_open"));
|
|
14
14
|
const GalleryDeleteIcon = ({ onClick, className, }) => {
|
|
15
15
|
const { windowDimensions } = (0, screen_1.useWindowDimensionsWithServerInitial)();
|
|
16
16
|
const [isHovered, setIsHovered] = (0, react_1.useState)(false);
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export declare const STopSections: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -10,7 +10,7 @@ const ScreenWidth_1 = require("../../../../../styles/ScreenWidth");
|
|
|
10
10
|
const colors_1 = require("../../../../../styles/colors");
|
|
11
11
|
const typography_1 = require("../../../../../styles/typography");
|
|
12
12
|
const vars_1 = require("../../../../../fonts/vars");
|
|
13
|
-
const defaultImage_svg_1 = __importDefault(require("
|
|
13
|
+
const defaultImage_svg_1 = __importDefault(require("../../../../../public/gallery/defaultImage"));
|
|
14
14
|
// Styles
|
|
15
15
|
const StyledChooseItem = styled_components_1.default.div `
|
|
16
16
|
cursor: pointer;
|
|
@@ -10,6 +10,6 @@ interface IGalleryItems {
|
|
|
10
10
|
currentMyGalleryId?: false | string | undefined;
|
|
11
11
|
}
|
|
12
12
|
declare const ChooseGalleryItems: ({ isGetMyGalleries, ...props }: IGalleryItems & {
|
|
13
|
-
isGetMyGalleries?: boolean
|
|
13
|
+
isGetMyGalleries?: boolean;
|
|
14
14
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
export default ChooseGalleryItems;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { ApolloError } from '@apollo/client';
|
|
2
2
|
import { galleriesSchema as schema } from '@ludo.ninja/api';
|
|
3
|
-
import { IMutationCreateGalleryV2Args } from '@ludo.ninja/api/src/graphql_tools/__generated__/galleriesHost/schema';
|
|
4
3
|
declare const CreateGalleryForm: ({ setAddGallery, title, inputPlaceHolderText, createMethod, error, refetchFavoritesList, }: {
|
|
5
4
|
setAddGallery: (value: boolean) => void;
|
|
6
|
-
refetchFavoritesList?: (
|
|
5
|
+
refetchFavoritesList?: () => Promise<void>;
|
|
7
6
|
title: string;
|
|
8
7
|
inputPlaceHolderText: string;
|
|
9
|
-
ids?: string[]
|
|
8
|
+
ids?: string[];
|
|
10
9
|
createMethod: ({ name, description, publicAccessible, creationIds, }: schema.IMutationCreateFavoriteListV2Args | schema.IMutationCreateGalleryV2Args) => Promise<void>;
|
|
11
10
|
error: ApolloError | undefined;
|
|
12
11
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -12,9 +12,9 @@ declare const ItemsPreview: ({ creations, deleteMethod, title, loadMore, isLoadi
|
|
|
12
12
|
creations: (CreationEntity | CollectionCreationEntity)[];
|
|
13
13
|
deleteMethod: (itemId: string) => void;
|
|
14
14
|
title: string;
|
|
15
|
-
loadMore?: (
|
|
16
|
-
isLoading?: boolean
|
|
17
|
-
isNextLoading?: boolean
|
|
18
|
-
allCount?: number
|
|
15
|
+
loadMore?: () => void;
|
|
16
|
+
isLoading?: boolean;
|
|
17
|
+
isNextLoading?: boolean;
|
|
18
|
+
allCount?: number;
|
|
19
19
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
20
20
|
export default ItemsPreview;
|
|
@@ -1,22 +1,11 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export type { TNotificationData, TNotifications, } from '@ludo.ninja/ui/build/modules/notifications/types';
|
|
3
2
|
export declare const createXpNotification: (arg: {
|
|
4
3
|
xpsIncrement: string | number;
|
|
5
|
-
description?: string
|
|
6
|
-
onClick?: (
|
|
7
|
-
}) =>
|
|
8
|
-
icon: import("react").ReactNode;
|
|
9
|
-
title: string;
|
|
10
|
-
description: string;
|
|
11
|
-
onClick?: (() => void) | undefined;
|
|
12
|
-
};
|
|
4
|
+
description?: string;
|
|
5
|
+
onClick?: () => void;
|
|
6
|
+
}) => import("@ludo.ninja/ui/build/modules/notifications/types").INotification["content"];
|
|
13
7
|
export declare const createInviteNotification: (arg: {
|
|
14
8
|
inviteCode: string;
|
|
15
|
-
description?: string
|
|
16
|
-
onClick?: (
|
|
17
|
-
}) =>
|
|
18
|
-
icon: import("react").ReactNode;
|
|
19
|
-
title: string;
|
|
20
|
-
description: string;
|
|
21
|
-
onClick?: (() => void) | undefined;
|
|
22
|
-
};
|
|
9
|
+
description?: string;
|
|
10
|
+
onClick?: () => void;
|
|
11
|
+
}) => import("@ludo.ninja/ui/build/modules/notifications/types").INotification["content"];
|