@ludo.ninja/components 2.0.2 → 2.0.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/build/api/server-assets/queries/useFetchAssetByBlockchain/index.js +2 -2
- package/build/api/server-assets/queries/useFetchAssets/index.js +1 -1
- package/build/api/server-assets/queries/useFetchDynamicAssetLikes/index.js +1 -1
- package/build/api/server-assets/queries/useFetchDynamicAssetsLikes/index.js +1 -1
- package/build/api/server-experiences/queries/useFetchMyExperienceWithLevel/index.js +3 -3
- package/build/api/server-experiences/queries/useFetchMyTasks/index.js +1 -1
- package/build/api/server-galleries/mutations/useAddChangeGalleryBanner/index.js +1 -1
- package/build/api/server-galleries/mutations/useAddCreationsToGallery/index.js +1 -1
- package/build/api/server-galleries/mutations/useDeleteGallery/index.js +1 -1
- package/build/api/server-galleries/mutations/useDeleteGalleryBanner/index.js +1 -1
- package/build/api/server-galleries/mutations/useRemoveAssetFromGallery/index.js +1 -1
- package/build/api/server-galleries/mutations/useRemoveCollectionFromGallery/index.js +1 -1
- package/build/api/server-galleries/queries/useFetchGallery/index.js +1 -1
- package/build/api/server-galleries/queries/useFetchMyFavorites/index.js +1 -1
- package/build/api/server-galleries/queries/useFetchMyGalleries/index.js +1 -1
- package/build/api/server-galleries/queries/useFetchUserFavorites/index.js +1 -1
- package/build/api/server-identities/mutations/useAddWalletElrond/index.js +1 -1
- package/build/api/server-identities/mutations/useAddWalletFlow/index.js +1 -1
- package/build/api/server-identities/mutations/useAddWalletMetamask/index.js +1 -1
- package/build/api/server-identities/mutations/useAddWalletSolana/index.js +1 -1
- package/build/api/server-identities/mutations/useAddWalletTezos/index.js +1 -1
- package/build/api/server-identities/mutations/useFollowProfile/index.js +1 -1
- package/build/api/server-identities/mutations/useInviteCode/index.js +1 -1
- package/build/api/server-identities/mutations/useRemoveWallet/index.js +1 -1
- package/build/api/server-identities/mutations/useSaveEmailOfJoiner/index.js +1 -1
- package/build/api/server-identities/mutations/useUnfollowProfile/index.js +1 -1
- package/build/api/server-identities/queries/useFetchProfile/index.js +2 -2
- package/build/api/server-medias/queries/useFetchUserPic/index.js +1 -1
- package/build/api/server-opportunities/mutations/useDislikeOpportunity.js +1 -1
- package/build/api/server-opportunities/mutations/useLikeOpportunity.js +1 -1
- package/build/api/server-opportunities/mutations/useOpenOpportunity/index.js +1 -1
- package/build/api/server-opportunities/queries/useGetOpportunities.js +1 -1
- package/build/api/server-preferences/queries/fetchSearchResultSelections/queryData.js +2 -2
- package/build/api/server-search/queries/useFetchAllCreations/index.js +1 -1
- package/build/api/server-search/queries/useFetchCollection/index.js +2 -2
- package/build/api/server-search/queries/useFetchCollections/index.js +2 -2
- package/build/api/server-search/queries/useFetchDynamicCollectionData/index.js +2 -2
- package/build/api/server-search/queries/useFetchFindAllTopEntitiesByName/index.js +1 -1
- package/build/api/server-search/queries/useFindCreations/index.js +2 -2
- package/build/api/server-search/queries/useFindUserCreations/index.js +2 -2
- package/build/api/subscriptions/SubscriberInviteNotification.js +3 -3
- package/build/components/assetPage/assetLikes/index.js +9 -9
- package/build/components/assetPage/assetNft/index.d.ts +2 -2
- package/build/components/assetPage/assetNft/index.js +5 -5
- package/build/components/assetPage/audioVideoPlayer/Duration.js +3 -3
- package/build/components/assetPage/audioVideoPlayer/index.js +5 -5
- package/build/components/assetPage/category/index.js +5 -5
- package/build/components/assetPage/description/index.js +5 -5
- package/build/components/assetPage/information/index.js +13 -13
- package/build/components/assetPage/marketPlaces/index.js +4 -4
- package/build/components/assetPage/media/AssetImage/index.js +3 -3
- package/build/components/assetPage/moreDropDown/index.js +7 -7
- package/build/components/assetPage/participants/index.js +21 -21
- package/build/components/assetPage/priceRank/index.js +7 -7
- package/build/components/assetPage/properties/index.js +5 -5
- package/build/components/assetPage/slider/index.js +5 -5
- package/build/components/assetPage/slider/slideItem.js +2 -2
- package/build/components/assetPage/tittle/index.js +10 -10
- package/build/components/assetPage/viewer3D/index.js +7 -7
- package/build/components/base/Meta/index.js +1 -1
- package/build/components/favoriteList/add/addCreationToFavoriteList/index.js +5 -5
- package/build/components/gallery/add/addCreationToGallery/index.js +7 -7
- package/build/components/headers/components/headerExperienceLabel/index.js +3 -3
- package/build/components/headers/components/headerUserPic/index.js +2 -2
- package/build/components/headers/header/index.js +5 -5
- package/build/components/headers/headerSearch/index.js +7 -7
- package/build/components/headers/headerSimple/index.js +2 -2
- package/build/components/linkTabs/index.js +2 -2
- package/build/components/linkTabs/linkTab/index.js +4 -4
- package/build/components/profile/profileSkeleton/index.js +1 -1
- package/build/components/search/SearchInputContainer.js +9 -9
- package/build/components/search/searchCloseMoreButtons/index.js +4 -4
- package/build/components/search/searchSimpleInput/index.js +7 -7
- package/build/components/search/searchSuggestions/index.js +9 -9
- package/build/components/search/searchSuggestions/searchSuggestionsCaption/index.js +3 -3
- package/build/components/search/searchSuggestions/searchSuggestionsFooter/index.js +4 -4
- package/build/components/search/searchSuggestions/searchSuggestionsItem/index.js +4 -4
- package/build/components/search/searchSuggestions/searchSuggestionsItem/searchSuggestionsItemSkeleton/index.js +3 -3
- package/build/components/search/searchSuggestions/searchSuggestionsNotFound/index.js +3 -3
- package/build/components/searchFiltersConnector/filters/applyResetBtns/index.js +3 -3
- package/build/components/searchFiltersConnector/filters/galleriesFiltersForm/index.js +2 -2
- package/build/components/searchFiltersConnector/filters/index.js +8 -8
- package/build/components/searchFiltersConnector/filters/setsFiltersForm/index.js +2 -2
- package/build/components/searchFiltersConnector/index.js +1 -1
- package/build/components/sidebar/data.js +7 -7
- package/build/components/sidebar/index.js +12 -12
- package/build/components/sidebar/sidebarFilters/index.js +2 -2
- package/build/components/sidebar/sidebarInviteCodeLabel/index.js +4 -4
- package/build/components/toTopBtn/index.js +7 -7
- package/build/dto/AssetEntity/index.js +3 -3
- package/build/dto/AssetEntity/views/AssetAudio/index.js +4 -4
- package/build/dto/AssetEntity/views/AssetImage/index.js +4 -4
- package/build/dto/AssetEntity/views/AssetObject/index.js +4 -4
- package/build/dto/AssetEntity/views/AssetOther/index.js +4 -4
- package/build/dto/AssetEntity/views/AssetScreenshot/index.js +4 -4
- package/build/dto/AssetEntity/views/AssetVideo/index.js +4 -4
- package/build/dto/AssetEntity/views/index.js +5 -5
- package/build/dto/Collection/CollectionCreationEntity/index.js +7 -7
- package/build/dto/CreationEntity/index.js +7 -7
- package/build/dto/common/ItemType/data.js +1 -1
- package/build/dto/common/ItemViews/CreationAudio/index.js +4 -4
- package/build/dto/common/ItemViews/CreationImage/index.js +4 -4
- package/build/dto/common/ItemViews/CreationObject/index.js +3 -3
- package/build/dto/common/ItemViews/CreationOther/index.js +4 -4
- package/build/dto/common/ItemViews/CreationVideo/index.js +4 -4
- package/build/dto/common/Media/Audio/index.js +1 -1
- package/build/dto/common/Media/Image/index.js +1 -1
- package/build/dto/common/Media/Object/index.js +2 -2
- package/build/dto/common/Media/Other/index.js +2 -2
- package/build/dto/common/Media/Screenshot/index.js +1 -1
- package/build/dto/common/Media/Video/index.js +1 -1
- package/build/fonts/FontsInitializeLayout.js +1 -1
- package/build/hooks/apollo/index.js +2 -2
- package/build/hooks/audio/useMultiAudio/index.js +1 -1
- package/build/hooks/favorites/useGetFavoriteGallaryCreations/index.js +4 -4
- package/build/hooks/favorites/useGetUserFevoritesCreations/index.js +4 -4
- package/build/hooks/galleries/useGetUserGalleriesCreations/index.js +4 -4
- package/build/hooks/likes/dynamic/useFindCollectionsAndLikes.js +3 -3
- package/build/hooks/likes/dynamic/useFindCreationsAndLikes.js +3 -3
- package/build/hooks/likes/dynamic/useGetCollectionInfoAndLikes.js +3 -3
- package/build/hooks/likes/dynamic/useGetCreationsAndLikes.js +3 -3
- package/build/hooks/likes/dynamic/useGetCreationsAndLikesByType.js +2 -2
- package/build/hooks/likes/dynamic/useGetMixedLikesFavoriteList.js +1 -1
- package/build/hooks/likes/dynamic/useGetTableLikes.js +3 -3
- package/build/hooks/likes/index.js +8 -8
- package/build/hooks/likes/useGetLikesAsset.js +1 -1
- package/build/modules/gallery/api/useGetAssetsAndCollectionForFavorite.js +6 -6
- package/build/modules/gallery/api/useGetFavoriteGallery.js +2 -2
- package/build/modules/gallery/store.js +2 -2
- package/build/modules/gallery/ui/AllResults.js +4 -4
- package/build/modules/gallery/ui/Description.js +3 -3
- package/build/modules/gallery/ui/EditGallery.js +5 -5
- package/build/modules/gallery/ui/GalleryDeleteIcon.js +5 -5
- package/build/modules/gallery/ui/PlaceholderItemsGallery.js +1 -1
- package/build/modules/gallery/ui/STopSections.js +1 -1
- package/build/modules/gallery/ui/chooseGalleryItems/chooseGalleryItem/index.js +5 -5
- package/build/modules/gallery/ui/chooseGalleryItems/index.js +10 -10
- package/build/modules/gallery/ui/createGalleryForm/index.js +7 -7
- package/build/modules/gallery/ui/editGalleryForm/index.js +9 -9
- package/build/modules/gallery/ui/itemsPreview/index.js +8 -8
- package/build/modules/gallery/useToGalleryAsset.js +2 -2
- package/build/modules/notifications/CreatorNotifications.js +1 -1
- package/build/modules/opportunity/OpportunityCard.js +21 -21
- package/build/modules/opportunity/OpportunityDropDown.js +2 -2
- package/build/modules/opportunity/popup/OpportunityMenu.js +2 -2
- package/build/modules/user/auth/useAuthVerification.js +2 -2
- package/build/modules/user/auth/useSignIn.js +2 -2
- package/build/modules/user/auth/useSignOut.js +2 -2
- package/build/modules/user/profileData/profileDataInitialization.js +2 -2
- package/build/modules/virtuoso/VirtuosoPageBuilder.js +10 -10
- package/build/modules/virtuoso/VirtuosoToTopBtn.js +1 -1
- package/build/modules/virtuoso/useVirtuosoData.js +1 -1
- package/build/store/ui/index.js +2 -2
- package/build/styles/globalStyles.js +1 -1
- package/build/system/Alert/index.js +1 -1
- package/build/system/Cards/CardCheckbox/CardCheckbox.test.js +1 -1
- package/build/system/Cards/CardCheckbox/index.js +2 -2
- package/build/system/Cards/CardContent/CardCategory/CardCategory.test.js +1 -1
- package/build/system/Cards/CardContent/CardCategory/index.js +2 -2
- package/build/system/Cards/CardContent/CardLikes/index.js +4 -4
- package/build/system/Cards/CardContent/CardShowMore/CardShowMore.test.js +1 -1
- package/build/system/Cards/CardContent/CardShowMore/index.js +6 -6
- package/build/system/Cards/CardContent/index.js +5 -5
- package/build/system/Cards/CardMedia/CardAudio/CardAudio.test.js +1 -1
- package/build/system/Cards/CardMedia/CardAudio/index.js +5 -5
- package/build/system/Cards/CardMedia/CardImage/index.js +1 -1
- package/build/system/Cards/CardMedia/CardVideo/index.js +4 -4
- package/build/system/Cards/CardRank/index.js +5 -5
- package/build/system/Cards/CreationCard/CardHead.js +14 -14
- package/build/system/Cards/CreationCard/index.js +16 -16
- package/build/system/Cards/MultiMediaCard/index.js +10 -10
- package/build/system/Cards/Styles/Content.js +2 -2
- package/build/system/Cards/Styles/Head.js +1 -1
- package/build/system/Cards/Styles/Headicons.js +2 -2
- package/build/system/Cards/Styles/Image.js +1 -1
- package/build/system/Cards/Styles/Likes.js +3 -3
- package/build/system/Cards/Styles/MultiHead.js +1 -1
- package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsError/index.js +4 -4
- package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsNoResults/index.js +3 -3
- package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsSkeleton/index.js +2 -2
- package/build/system/CardsHolderWithSkeleton/CardsHolderLoader/index.js +5 -5
- package/build/system/DropDown/index.js +2 -2
- package/build/system/Forms/Checkbox/Checkbox.test.js +1 -1
- package/build/system/Forms/Checkbox/index.js +3 -3
- package/build/system/Forms/DatePicker/index.js +6 -6
- package/build/system/Forms/ErrorLabel/ErrorLabel.test.js +1 -1
- package/build/system/Forms/ErrorLabel/index.js +1 -1
- package/build/system/Forms/Input/Input.test.js +2 -2
- package/build/system/Forms/Input/index.js +5 -5
- package/build/system/Forms/RadioInput/index.js +2 -2
- package/build/system/Forms/Selects/DesktopSelect/index.js +7 -7
- package/build/system/Forms/Selects/MobileSelect/index.js +2 -2
- package/build/system/Forms/TextArea/TextArea.test.js +2 -2
- package/build/system/Forms/TextArea/index.js +4 -4
- package/build/system/Img/Profilepic/index.js +3 -3
- package/build/system/Img/Userpic/UserPic.test.js +3 -3
- package/build/system/Img/Userpic/index.js +7 -7
- package/build/system/Img/index.js +3 -3
- package/build/system/Labels/ExperienceLabel/index.js +5 -5
- package/build/system/Labels/InviteLabel/index.js +4 -4
- package/build/system/Modals/Modal/Modal.test.js +2 -2
- package/build/system/Modals/Modal/index.js +4 -4
- package/build/system/Modals/ModalSidebar/CreatorModalSidebarPortal.js +1 -1
- package/build/system/Modals/ModalSidebar/ModalSidebar.test.js +1 -1
- package/build/system/Modals/ModalSidebar/ModalSidebarPortal.js +1 -1
- package/build/system/Modals/ModalSidebar/index.js +4 -4
- package/build/system/Overlay/Overlay.test.js +1 -1
- package/build/system/Overlay/index.js +3 -3
- package/build/system/ShareIconResize.js +4 -4
- package/build/system/Tabs/TabNavLink/TabNavLink.test.js +1 -1
- package/build/system/Tabs/TabNavLink/index.js +4 -4
- package/build/system/Tabs/TabsNav/TabsNav.test.js +1 -1
- package/build/system/Tabs/TabsNav/index.js +1 -1
- package/build/system/index.js +2 -2
- package/build/utils/adaptive/check4k.js +1 -1
- package/build/utils/adaptive/scale.js +1 -1
- package/build/utils/auth/index.js +1 -1
- package/build/utils/copyBtn/index.js +9 -9
- package/build/utils/extractItemIds.js +1 -1
- package/build/utils/screen/index.js +3 -3
- package/package.json +8 -14
- package/public/404/404.svg +8 -0
- package/public/500/500.svg +8 -0
- package/public/MobileSearchBtn/close.svg +3 -0
- package/public/MobileSearchBtn/search.svg +4 -0
- package/public/MobileSearchBtn/test/pirate.svg +9 -0
- package/public/MobileSearchBtn/test/squircle.svg +9 -0
- package/public/alerts/close.svg +5 -0
- package/public/alerts/errorIcon.svg +4 -0
- package/public/alerts/successIcon.svg +4 -0
- package/public/alerts/warningIcon.svg +8 -0
- package/public/assetPage/arrow.svg +3 -0
- package/public/assetPage/audioPlaceholder.svg +35 -0
- package/public/assetPage/details.svg +6 -0
- package/public/assetPage/favorite.svg +3 -0
- package/public/assetPage/favorite_hover.svg +3 -0
- package/public/assetPage/flag.svg +5 -0
- package/public/assetPage/fullScreen.svg +3 -0
- package/public/assetPage/owners.svg +4 -0
- package/public/assetPage/pause.svg +4 -0
- package/public/assetPage/play.svg +3 -0
- package/public/assetPage/share.svg +3 -0
- package/public/assetPage/share2.svg +3 -0
- package/public/assetPage/share2_hover.svg +3 -0
- package/public/assetPage/shareWithDots.svg +6 -0
- package/public/assetPage/shareWithDots_hover.svg +6 -0
- package/public/assetPage/share_hover.svg +3 -0
- package/public/assetPage/soundOf.svg +3 -0
- package/public/assetPage/soundOn.svg +3 -0
- package/public/banner/banner_img.svg +96 -0
- package/public/banner/banner_stroke.svg +3 -0
- package/public/button_skin/accept.svg +11 -0
- package/public/button_skin/decline.svg +11 -0
- package/public/calendar.svg +3 -0
- package/public/cards/addToFavListIcon.svg +5 -0
- package/public/cards/addToGalleryIcon.svg +3 -0
- package/public/cards/heart.svg +3 -0
- package/public/cardsHolderLoader/loader.svg +4 -0
- package/public/checkbox-on.svg +4 -0
- package/public/checkboxArrow.svg +3 -0
- package/public/close.svg +3 -0
- package/public/close20.svg +4 -0
- package/public/collectionPage/export.svg +3 -0
- package/public/copied.svg +4 -0
- package/public/copy-icon-new.svg +4 -0
- package/public/creation/card/moreBtn.svg +6 -0
- package/public/creation/card/moreBtnVertical.svg +5 -0
- package/public/creation/card/moreBtn_hover.svg +5 -0
- package/public/defaultUserpics/0.svg +24 -0
- package/public/defaultUserpics/1.svg +24 -0
- package/public/defaultUserpics/10.svg +24 -0
- package/public/defaultUserpics/11.svg +24 -0
- package/public/defaultUserpics/12.svg +24 -0
- package/public/defaultUserpics/13.svg +24 -0
- package/public/defaultUserpics/14.svg +24 -0
- package/public/defaultUserpics/15.svg +24 -0
- package/public/defaultUserpics/16.svg +24 -0
- package/public/defaultUserpics/17.svg +24 -0
- package/public/defaultUserpics/18.svg +24 -0
- package/public/defaultUserpics/19.svg +24 -0
- package/public/defaultUserpics/2.svg +24 -0
- package/public/defaultUserpics/20.svg +24 -0
- package/public/defaultUserpics/3.svg +24 -0
- package/public/defaultUserpics/4.svg +24 -0
- package/public/defaultUserpics/5.svg +24 -0
- package/public/defaultUserpics/6.svg +24 -0
- package/public/defaultUserpics/7.svg +24 -0
- package/public/defaultUserpics/8.svg +24 -0
- package/public/defaultUserpics/9.svg +24 -0
- package/public/defaultUserpics/defaultUserpic.svg +31 -0
- package/public/dropDown/arrow_down.svg +3 -0
- package/public/dropdown-arrow-down.svg +3 -0
- package/public/dropdown-arrow-up.svg +3 -0
- package/public/error/refresh.svg +4 -0
- package/public/favicon.ico +0 -0
- package/public/favicon.png +0 -0
- package/public/follower.svg +4 -0
- package/public/fonts/dm-sans-v15-latin-500.woff2 +0 -0
- package/public/fonts/dm-sans-v15-latin-500italic.woff2 +0 -0
- package/public/fonts/dm-sans-v15-latin-600.woff2 +0 -0
- package/public/fonts/dm-sans-v15-latin-600italic.woff2 +0 -0
- package/public/fonts/dm-sans-v15-latin-700.woff2 +0 -0
- package/public/fonts/dm-sans-v15-latin-700italic.woff2 +0 -0
- package/public/fonts/dm-sans-v15-latin-italic.woff2 +0 -0
- package/public/fonts/dm-sans-v15-latin-regular.woff2 +0 -0
- package/public/fonts/poppins-v21-latin-200.woff2 +0 -0
- package/public/fonts/poppins-v21-latin-300.woff2 +0 -0
- package/public/fonts/poppins-v21-latin-500.woff2 +0 -0
- package/public/fonts/poppins-v21-latin-600.woff2 +0 -0
- package/public/fonts/poppins-v21-latin-700.woff2 +0 -0
- package/public/fonts/poppins-v21-latin-800.woff2 +0 -0
- package/public/fonts/poppins-v21-latin-regular.woff2 +0 -0
- package/public/forms/checkbox/checked.svg +4 -0
- package/public/formsBg/get_early_access_bg.jpg +0 -0
- package/public/gallery/defaultImage.svg +3 -0
- package/public/gallery/delete.svg +4 -0
- package/public/header/mobile_menu_icons/arrows/arrow_down.svg +3 -0
- package/public/header/mobile_menu_icons/arrows/arrow_up.svg +3 -0
- package/public/header/mobile_menu_icons/campaigns.svg +6 -0
- package/public/header/mobile_menu_icons/dropdown/add_new_campaign.svg +10 -0
- package/public/header/mobile_menu_icons/dropdown/my_galleries.svg +12 -0
- package/public/header/mobile_menu_icons/dropdown/my_profile.svg +5 -0
- package/public/header/mobile_menu_icons/dropdown/my_wallets.svg +5 -0
- package/public/header/mobile_menu_icons/dropdown/notifications.svg +6 -0
- package/public/header/mobile_menu_icons/dropdown/top_campaigns.svg +7 -0
- package/public/header/mobile_menu_icons/dropdown/top_creations.svg +6 -0
- package/public/header/mobile_menu_icons/dropdown/top_creators.svg +10 -0
- package/public/header/mobile_menu_icons/dropdown/top_galleries.svg +13 -0
- package/public/header/mobile_menu_icons/dropdown/top_/321/201ollectors.svg +10 -0
- package/public/header/mobile_menu_icons/experiences.svg +11 -0
- package/public/header/mobile_menu_icons/settings.svg +3 -0
- package/public/header/mobile_menu_icons/sign_out.svg +4 -0
- package/public/header/mobile_menu_icons/submit_nft.svg +16 -0
- package/public/header/mobile_menu_icons/top.svg +7 -0
- package/public/header/mobile_toggle/close.svg +3 -0
- package/public/header/mobile_toggle/regular.svg +3 -0
- package/public/iconButton/share.svg +6 -0
- package/public/iconButton/trash.svg +5 -0
- package/public/iconButton/trash_open.svg +6 -0
- package/public/like-icon-active.svg +4 -0
- package/public/like-icon.svg +3 -0
- package/public/logOut/logOutBtn.svg +5 -0
- package/public/logo/main_logo.svg +214 -0
- package/public/logo/main_logo_dark.svg +49 -0
- package/public/logo/mobile_logo.svg +210 -0
- package/public/logo/mobile_logo_dark.svg +45 -0
- package/public/ludo-logo-small.svg +5 -0
- package/public/ludo-logo-square.svg +9 -0
- package/public/modal/close.svg +3 -0
- package/public/noContent/noContent.svg +9 -0
- package/public/noContent/noContentAudio.svg +34 -0
- package/public/noContent/noContentObject.svg +35 -0
- package/public/no_image placeholder.svg +9 -0
- package/public/no_media_placeholder.svg +222 -0
- package/public/report.svg +6 -0
- package/public/rewardsPage/XP_logo.svg +22 -0
- package/public/rewardsPage/arrow_up_light.svg +3 -0
- package/public/rewardsPage/banner_rewards.svg +9 -0
- package/public/rewardsPage/banner_rewards_mobile.svg +9 -0
- package/public/rewardsPage/banner_rewards_tablet.svg +9 -0
- package/public/rewardsPage/banner_seasons.svg +9 -0
- package/public/rewardsPage/defaultUserPic.svg +9 -0
- package/public/rewardsPage/ludo_logo_white.svg +49 -0
- package/public/search/arrow_up.svg +3 -0
- package/public/search/back.svg +3 -0
- package/public/search/close.svg +3 -0
- package/public/search/no_found.svg +4 -0
- package/public/search/search.svg +4 -0
- package/public/search-icon.svg +4 -0
- package/public/selects/arrow_down.svg +3 -0
- package/public/services/opensea.svg +5 -0
- package/public/services/other.svg +8 -0
- package/public/services/rarible.svg +4 -0
- package/public/settings_page/back.svg +3 -0
- package/public/settings_page/burger_menu.svg +5 -0
- package/public/settings_page/notifications.svg +5 -0
- package/public/settings_page/notifications_active.svg +5 -0
- package/public/settings_page/privacy.svg +4 -0
- package/public/settings_page/privacy_active.svg +4 -0
- package/public/settings_page/settings.svg +5 -0
- package/public/settings_page/settings_active.svg +5 -0
- package/public/settings_page/upload.svg +4 -0
- package/public/share/copy-link-btn.svg +6 -0
- package/public/share/email-btn.svg +5 -0
- package/public/share/facebook-btn.svg +5 -0
- package/public/share/insta-btn.svg +21 -0
- package/public/share/reddit-btn.svg +11 -0
- package/public/share/telegram-btn.svg +4 -0
- package/public/share/twitter-btn.svg +5 -0
- package/public/share/whatsapp-btn.svg +6 -0
- package/public/share-icon.svg +7 -0
- package/public/showCaseIcons/heart.svg +3 -0
- package/public/sidebar/aboutLudo.svg +40 -0
- package/public/sidebar/aboutLudoDark.svg +52 -0
- package/public/sidebar/api.svg +3 -0
- package/public/sidebar/close.svg +3 -0
- package/public/sidebar/disconnect.svg +3 -0
- package/public/sidebar/explore.svg +5 -0
- package/public/sidebar/ludoX.svg +63 -0
- package/public/sidebar/my-invites.svg +4 -0
- package/public/sidebar/rewards.svg +4 -0
- package/public/sidebar/submitNft.svg +3 -0
- package/public/socials/facebook.svg +4 -0
- package/public/socials/instagram.svg +5 -0
- package/public/socials/twitter.svg +3 -0
- package/public/socials/website.svg +8 -0
- package/public/tabs/arrow_right.svg +3 -0
- package/public/tabs/arrow_right_dark.svg +3 -0
- package/public/tests/audio.mp3 +0 -0
- package/public/tests/test_1.svg +11 -0
- package/public/toTopBtn/toTopBtn.svg +4 -0
- package/public/upload-userpic.svg +11 -0
- package/public/userpic-placeholder.jpg +0 -0
- package/public/userpics/placeholder-lg-1.svg +10 -0
- package/public/userpics/placeholder-sm-1.svg +10 -0
- package/public/video/pause.svg +5 -0
- package/public/video/play.svg +4 -0
- package/public/wallets/arkane-btn.svg +5 -0
- package/public/wallets/bitski-btn.svg +12 -0
- package/public/wallets/elrond-btn.svg +36 -0
- package/public/wallets/elrond-icon-sm.svg +35 -0
- package/public/wallets/elrond.svg +4 -0
- package/public/wallets/ethereum-icon-sm.svg +7 -0
- package/public/wallets/flow-btn.svg +6 -0
- package/public/wallets/flow-icon-sm.svg +12 -0
- package/public/wallets/formatic-btn.svg +4 -0
- package/public/wallets/formatic-icon-sm.svg +4 -0
- package/public/wallets/maiar-btn.svg +17 -0
- package/public/wallets/maiar-icon-sm.svg +17 -0
- package/public/wallets/metamask-btn.svg +33 -0
- package/public/wallets/metamask-icon-sm.svg +32 -0
- package/public/wallets/phantom.svg +4 -0
- package/public/wallets/plus.svg +4 -0
- package/public/wallets/solana-btn.svg +20 -0
- package/public/wallets/solana-icon-sm.svg +19 -0
- package/public/wallets/terra-btn.svg +29 -0
- package/public/wallets/terra-icon-sm.svg +29 -0
- package/public/wallets/tezos-btn.svg +12 -0
- package/public/wallets/tezos-icon-sm.svg +11 -0
- package/public/wallets/wallet_connect.svg +4 -0
- package/public/wallets/walletconnect-btn.svg +3 -0
- package/public/wallets/walletlink-btn.svg +5 -0
- package/public/wallets/walletlink-icon-sm.svg +5 -0
- package/public/wallets/xdefi-btn.svg +6 -0
- package/public/wallets/xdefi-icon-sm.svg +6 -0
- package/public/warning.svg +3 -0
|
@@ -4,10 +4,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
|
-
const Image_1 = __importDefault(require("
|
|
8
|
-
const Urls_1 = require("
|
|
9
|
-
const env_1 = require("
|
|
10
|
-
const CardImage_1 = __importDefault(require("
|
|
7
|
+
const Image_1 = __importDefault(require("../../Media/Image"));
|
|
8
|
+
const Urls_1 = require("../../Media/Urls");
|
|
9
|
+
const env_1 = require("../../../../store/env");
|
|
10
|
+
const CardImage_1 = __importDefault(require("../../../../system/Cards/CardMedia/CardImage"));
|
|
11
11
|
const DisplaySingleMedia = ({ getMediaUrl, errorImg, alt, }) => {
|
|
12
12
|
const NEXT_PUBLIC_STATIC_DOMAIN = (0, env_1.useEnvStore)((state) => state.NEXT_PUBLIC_STATIC_DOMAIN);
|
|
13
13
|
return ((0, jsx_runtime_1.jsx)(CardImage_1.default, { alt: alt, imgSrc: getMediaUrl(NEXT_PUBLIC_STATIC_DOMAIN), errorImg: errorImg }));
|
|
@@ -4,10 +4,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
|
-
const assetPage_1 = require("
|
|
7
|
+
const assetPage_1 = require("../../../../components/assetPage");
|
|
8
8
|
// import CardImage from '@/system/Cards/CardMedia/CardImage';
|
|
9
|
-
const Object_1 = __importDefault(require("
|
|
10
|
-
const env_1 = require("
|
|
9
|
+
const Object_1 = __importDefault(require("../../Media/Object"));
|
|
10
|
+
const env_1 = require("../../../../store/env");
|
|
11
11
|
class CreationObject extends Object_1.default {
|
|
12
12
|
constructor({ media, mimeType, previewUrl, nsfw, alt, originalMime, }) {
|
|
13
13
|
super({ nsfw, previewUrl, media, mimeType, alt, originalMime });
|
|
@@ -4,10 +4,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
|
-
const Other_1 = __importDefault(require("
|
|
8
|
-
const Urls_1 = require("
|
|
9
|
-
const env_1 = require("
|
|
10
|
-
const CardImage_1 = __importDefault(require("
|
|
7
|
+
const Other_1 = __importDefault(require("../../Media/Other"));
|
|
8
|
+
const Urls_1 = require("../../Media/Urls");
|
|
9
|
+
const env_1 = require("../../../../store/env");
|
|
10
|
+
const CardImage_1 = __importDefault(require("../../../../system/Cards/CardMedia/CardImage"));
|
|
11
11
|
class CreationOther extends Other_1.default {
|
|
12
12
|
constructor({ media, mimeType, previewUrl, nsfw, alt, originalMime, }) {
|
|
13
13
|
super({ nsfw, previewUrl, media, mimeType, alt, originalMime });
|
|
@@ -4,10 +4,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
|
-
const Urls_1 = require("
|
|
8
|
-
const Video_1 = __importDefault(require("
|
|
9
|
-
const env_1 = require("
|
|
10
|
-
const CardVideo_1 = __importDefault(require("
|
|
7
|
+
const Urls_1 = require("../../Media/Urls");
|
|
8
|
+
const Video_1 = __importDefault(require("../../Media/Video"));
|
|
9
|
+
const env_1 = require("../../../../store/env");
|
|
10
|
+
const CardVideo_1 = __importDefault(require("../../../../system/Cards/CardMedia/CardVideo"));
|
|
11
11
|
const DisplaySingleMedia = ({ getMediaUrl, errorImg, alt, }) => {
|
|
12
12
|
const getVideoDomain = (0, env_1.useEnvStore)((state) => state.getVideoDomain);
|
|
13
13
|
return ((0, jsx_runtime_1.jsx)(CardVideo_1.default, { alt: alt, videoSrc: getMediaUrl(getVideoDomain), errorImg: errorImg }));
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
7
|
// helpers
|
|
8
8
|
const core_1 = require("@ludo.ninja/core");
|
|
9
|
-
const Media_1 = __importDefault(require("
|
|
9
|
+
const Media_1 = __importDefault(require(".."));
|
|
10
10
|
class Audio extends Media_1.default {
|
|
11
11
|
constructor({ media, mimeType, previewUrl, nsfw, alt, originalMime, }) {
|
|
12
12
|
super({ nsfw, previewUrl, media, mimeType, alt, originalMime });
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
7
|
// helpers
|
|
8
8
|
const core_1 = require("@ludo.ninja/core");
|
|
9
|
-
const Media_1 = __importDefault(require("
|
|
9
|
+
const Media_1 = __importDefault(require(".."));
|
|
10
10
|
class Image extends Media_1.default {
|
|
11
11
|
constructor({ media, mimeType, previewUrl, nsfw, originalUrl, alt, originalMime, }) {
|
|
12
12
|
super({
|
|
@@ -7,8 +7,8 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
7
7
|
// components
|
|
8
8
|
// helpers
|
|
9
9
|
// import { isObject } from '@ludo.ninja/core';
|
|
10
|
-
const Media_1 = __importDefault(require("
|
|
11
|
-
const _3d_1 = require("
|
|
10
|
+
const Media_1 = __importDefault(require(".."));
|
|
11
|
+
const _3d_1 = require("../../../../utils/3d");
|
|
12
12
|
class ObjectMedia extends Media_1.default {
|
|
13
13
|
constructor({ media, mimeType, previewUrl, nsfw, alt, originalMime, originalUrl, }) {
|
|
14
14
|
super({
|
|
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
7
|
// helpers
|
|
8
8
|
const core_1 = require("@ludo.ninja/core");
|
|
9
|
-
const Media_1 = __importDefault(require("
|
|
10
|
-
const _3d_1 = require("
|
|
9
|
+
const Media_1 = __importDefault(require(".."));
|
|
10
|
+
const _3d_1 = require("../../../../utils/3d");
|
|
11
11
|
class Other extends Media_1.default {
|
|
12
12
|
constructor({ media, mimeType, previewUrl, nsfw, originalUrl, alt, originalMime, }) {
|
|
13
13
|
super({
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
7
|
// helpers
|
|
8
8
|
const core_1 = require("@ludo.ninja/core");
|
|
9
|
-
const Media_1 = __importDefault(require("
|
|
9
|
+
const Media_1 = __importDefault(require(".."));
|
|
10
10
|
class Screenshot extends Media_1.default {
|
|
11
11
|
constructor({ media, mimeType, previewUrl, nsfw, originalUrl, alt, originalMime, }) {
|
|
12
12
|
super({
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
7
|
// helpers
|
|
8
8
|
const core_1 = require("@ludo.ninja/core");
|
|
9
|
-
const Media_1 = __importDefault(require("
|
|
9
|
+
const Media_1 = __importDefault(require(".."));
|
|
10
10
|
class Video extends Media_1.default {
|
|
11
11
|
constructor({ media, mimeType, previewUrl, nsfw, alt, originalMime, }) {
|
|
12
12
|
super({ nsfw, previewUrl, media, mimeType, alt, originalMime });
|
|
@@ -5,7 +5,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const google_1 = require("next/font/google");
|
|
7
7
|
const styled_components_1 = require("styled-components");
|
|
8
|
-
const vars_1 = require("
|
|
8
|
+
const vars_1 = require("./vars");
|
|
9
9
|
// const poppinsFont = Poppins({
|
|
10
10
|
// subsets: ['latin'],
|
|
11
11
|
// style: ['normal'],
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.useApollo = void 0;
|
|
4
4
|
const react_1 = require("react");
|
|
5
|
-
const graphql_1 = require("
|
|
5
|
+
const graphql_1 = require("../../api/graphql");
|
|
6
6
|
const api_1 = require("@ludo.ninja/api");
|
|
7
|
-
const env_1 = require("
|
|
7
|
+
const env_1 = require("../../store/env");
|
|
8
8
|
function useApollo(pageProps) {
|
|
9
9
|
const NEXT_PUBLIC_ENV_DOMAIN = (0, env_1.useEnvStore)((state) => state.NEXT_PUBLIC_ENV_DOMAIN);
|
|
10
10
|
const state = pageProps[graphql_1.APOLLO_STATE_PROP_NAME];
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const react_1 = require("react");
|
|
4
4
|
const router_1 = require("next/router");
|
|
5
|
-
const media_1 = require("
|
|
5
|
+
const media_1 = require("../../../store/media");
|
|
6
6
|
const useMultiAudio = () => {
|
|
7
7
|
const tracks = (0, media_1.useMediaStore)((state) => state.audioTracks);
|
|
8
8
|
const setTracks = (0, media_1.useMediaStore)((state) => state.setAudioTracks);
|
|
@@ -10,10 +10,10 @@ const api_1 = require("@ludo.ninja/api");
|
|
|
10
10
|
const schema_1 = require("@ludo.ninja/api/build/graphql_tools/__generated__/galleriesHost/schema");
|
|
11
11
|
const schema_2 = require("@ludo.ninja/api/build/graphql_tools/__generated__/searchHost/schema");
|
|
12
12
|
const type_1 = require("@ludo.ninja/ui/build/system/Alert/type");
|
|
13
|
-
const ui_1 = require("
|
|
14
|
-
const CollectionCreationEntity_1 = __importDefault(require("
|
|
15
|
-
const CreationEntity_1 = __importDefault(require("
|
|
16
|
-
const GalleryEntityV2_1 = __importDefault(require("
|
|
13
|
+
const ui_1 = require("../../../store/ui");
|
|
14
|
+
const CollectionCreationEntity_1 = __importDefault(require("../../../dto/Collection/CollectionCreationEntity"));
|
|
15
|
+
const CreationEntity_1 = __importDefault(require("../../../dto/CreationEntity"));
|
|
16
|
+
const GalleryEntityV2_1 = __importDefault(require("../../../dto/GalleryEntityV2"));
|
|
17
17
|
const useGetUserFevoritesCreations_1 = require("../useGetUserFevoritesCreations");
|
|
18
18
|
const useGetFavoriteGallaryCreations = ({ galleryId, itemsCount, }) => {
|
|
19
19
|
const [gallery, setGallery] = (0, react_1.useState)([]);
|
|
@@ -10,10 +10,10 @@ const api_1 = require("@ludo.ninja/api");
|
|
|
10
10
|
const schema_1 = require("@ludo.ninja/api/build/graphql_tools/__generated__/galleriesHost/schema");
|
|
11
11
|
const schema_2 = require("@ludo.ninja/api/build/graphql_tools/__generated__/searchHost/schema");
|
|
12
12
|
const type_1 = require("@ludo.ninja/ui/build/system/Alert/type");
|
|
13
|
-
const ui_1 = require("
|
|
14
|
-
const CollectionCreationEntity_1 = __importDefault(require("
|
|
15
|
-
const CreationEntity_1 = __importDefault(require("
|
|
16
|
-
const GalleryEntityV2_1 = __importDefault(require("
|
|
13
|
+
const ui_1 = require("../../../store/ui");
|
|
14
|
+
const CollectionCreationEntity_1 = __importDefault(require("../../../dto/Collection/CollectionCreationEntity"));
|
|
15
|
+
const CreationEntity_1 = __importDefault(require("../../../dto/CreationEntity"));
|
|
16
|
+
const GalleryEntityV2_1 = __importDefault(require("../../../dto/GalleryEntityV2"));
|
|
17
17
|
const maxUserFavoritesLength = 1000;
|
|
18
18
|
const useGetUserFevoritesCreations = ({ userId, pageSize, pageToken, }) => {
|
|
19
19
|
const [assets, setAsset] = (0, react_1.useState)(null);
|
|
@@ -10,10 +10,10 @@ const api_1 = require("@ludo.ninja/api");
|
|
|
10
10
|
const schema_1 = require("@ludo.ninja/api/build/graphql_tools/__generated__/galleriesHost/schema");
|
|
11
11
|
const schema_2 = require("@ludo.ninja/api/build/graphql_tools/__generated__/searchHost/schema");
|
|
12
12
|
const type_1 = require("@ludo.ninja/ui/build/system/Alert/type");
|
|
13
|
-
const ui_1 = require("
|
|
14
|
-
const CollectionCreationEntity_1 = __importDefault(require("
|
|
15
|
-
const CreationEntity_1 = __importDefault(require("
|
|
16
|
-
const GalleryEntityV2_1 = __importDefault(require("
|
|
13
|
+
const ui_1 = require("../../../store/ui");
|
|
14
|
+
const CollectionCreationEntity_1 = __importDefault(require("../../../dto/Collection/CollectionCreationEntity"));
|
|
15
|
+
const CreationEntity_1 = __importDefault(require("../../../dto/CreationEntity"));
|
|
16
|
+
const GalleryEntityV2_1 = __importDefault(require("../../../dto/GalleryEntityV2"));
|
|
17
17
|
const maxUserFavoritesLength = 1000;
|
|
18
18
|
const useGetUserGalleriesCreations = ({ userId, pageSize, pageToken, }) => {
|
|
19
19
|
const [assets, setAsset] = (0, react_1.useState)(null);
|
|
@@ -9,9 +9,9 @@ const client_1 = require("@apollo/client");
|
|
|
9
9
|
const api_1 = require("@ludo.ninja/api");
|
|
10
10
|
const schema_1 = require("@ludo.ninja/api/build/graphql_tools/__generated__/searchHost/schema");
|
|
11
11
|
const type_1 = require("@ludo.ninja/ui/build/system/Alert/type");
|
|
12
|
-
const useGetCreationsAndLikes_1 = require("
|
|
13
|
-
const ui_1 = require("
|
|
14
|
-
const CollectionCreationEntity_1 = __importDefault(require("
|
|
12
|
+
const useGetCreationsAndLikes_1 = require("./useGetCreationsAndLikes");
|
|
13
|
+
const ui_1 = require("../../../store/ui");
|
|
14
|
+
const CollectionCreationEntity_1 = __importDefault(require("../../../dto/Collection/CollectionCreationEntity"));
|
|
15
15
|
// export const prefetchFindCollections = (
|
|
16
16
|
// { term, input, pageSize, pageToken }: schema.IQueryFindCollectionsArgs,
|
|
17
17
|
// apolloClient: ApolloClient<NormalizedCacheObject>
|
|
@@ -9,9 +9,9 @@ const client_1 = require("@apollo/client");
|
|
|
9
9
|
const api_1 = require("@ludo.ninja/api");
|
|
10
10
|
const schema_1 = require("@ludo.ninja/api/build/graphql_tools/__generated__/searchHost/schema");
|
|
11
11
|
const type_1 = require("@ludo.ninja/ui/build/system/Alert/type");
|
|
12
|
-
const useGetCreationsAndLikes_1 = require("
|
|
13
|
-
const ui_1 = require("
|
|
14
|
-
const CreationEntity_1 = __importDefault(require("
|
|
12
|
+
const useGetCreationsAndLikes_1 = require("./useGetCreationsAndLikes");
|
|
13
|
+
const ui_1 = require("../../../store/ui");
|
|
14
|
+
const CreationEntity_1 = __importDefault(require("../../../dto/CreationEntity"));
|
|
15
15
|
const maxCreationLength = 1000;
|
|
16
16
|
const useFindCreationsAndLikes = ({ term, input, page, }) => {
|
|
17
17
|
const [creations, setCreations] = (0, react_1.useState)([]);
|
|
@@ -9,9 +9,9 @@ const client_1 = require("@apollo/client");
|
|
|
9
9
|
const api_1 = require("@ludo.ninja/api");
|
|
10
10
|
const schema_1 = require("@ludo.ninja/api/build/graphql_tools/__generated__/searchHost/schema");
|
|
11
11
|
const type_1 = require("@ludo.ninja/ui/build/system/Alert/type");
|
|
12
|
-
const useGetCreationsAndLikes_1 = require("
|
|
13
|
-
const ui_1 = require("
|
|
14
|
-
const CollectionCreationEntity_1 = __importDefault(require("
|
|
12
|
+
const useGetCreationsAndLikes_1 = require("./useGetCreationsAndLikes");
|
|
13
|
+
const ui_1 = require("../../../store/ui");
|
|
14
|
+
const CollectionCreationEntity_1 = __importDefault(require("../../../dto/Collection/CollectionCreationEntity"));
|
|
15
15
|
const maxCollectionListLength = 1000;
|
|
16
16
|
const useGetCollectionInfoAndLikes = ({ input, }) => {
|
|
17
17
|
const { page, collectionId } = input;
|
|
@@ -9,9 +9,9 @@ const client_1 = require("@apollo/client");
|
|
|
9
9
|
const api_1 = require("@ludo.ninja/api");
|
|
10
10
|
const schema_1 = require("@ludo.ninja/api/build/graphql_tools/__generated__/searchHost/schema");
|
|
11
11
|
const type_1 = require("@ludo.ninja/ui/build/system/Alert/type");
|
|
12
|
-
const ui_1 = require("
|
|
13
|
-
const CollectionCreationEntity_1 = __importDefault(require("
|
|
14
|
-
const CreationEntity_1 = __importDefault(require("
|
|
12
|
+
const ui_1 = require("../../../store/ui");
|
|
13
|
+
const CollectionCreationEntity_1 = __importDefault(require("../../../dto/Collection/CollectionCreationEntity"));
|
|
14
|
+
const CreationEntity_1 = __importDefault(require("../../../dto/CreationEntity"));
|
|
15
15
|
const maxCreationLength = 1000;
|
|
16
16
|
const useGetCreationsAndLikes = ({ page }) => {
|
|
17
17
|
const [allCreations, setCreations] = (0, react_1.useState)([]);
|
|
@@ -9,8 +9,8 @@ const client_1 = require("@apollo/client");
|
|
|
9
9
|
const api_1 = require("@ludo.ninja/api");
|
|
10
10
|
const schema_1 = require("@ludo.ninja/api/build/graphql_tools/__generated__/searchHost/schema");
|
|
11
11
|
const type_1 = require("@ludo.ninja/ui/build/system/Alert/type");
|
|
12
|
-
const ui_1 = require("
|
|
13
|
-
const CreationEntity_1 = __importDefault(require("
|
|
12
|
+
const ui_1 = require("../../../store/ui");
|
|
13
|
+
const CreationEntity_1 = __importDefault(require("../../../dto/CreationEntity"));
|
|
14
14
|
const useGetCreationsAndLikes_1 = require("./useGetCreationsAndLikes");
|
|
15
15
|
const maxCreationLength = 1000;
|
|
16
16
|
const useGetCreationsAndLikesByType = ({ itemType, page, }) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const react_1 = require("react");
|
|
4
|
-
const useGetFavoriteGallaryCreations_1 = require("
|
|
4
|
+
const useGetFavoriteGallaryCreations_1 = require("../../favorites/useGetFavoriteGallaryCreations");
|
|
5
5
|
const useGetTableLikes_1 = require("./useGetTableLikes");
|
|
6
6
|
const useGetMixedLikesFavoriteList = ({ galleryId, itemsCount, }) => {
|
|
7
7
|
const [likes, setLikes] = (0, react_1.useState)([]);
|
|
@@ -8,9 +8,9 @@ const react_1 = require("react");
|
|
|
8
8
|
const client_1 = require("@apollo/client");
|
|
9
9
|
const api_1 = require("@ludo.ninja/api");
|
|
10
10
|
const type_1 = require("@ludo.ninja/ui/build/system/Alert/type");
|
|
11
|
-
const ui_1 = require("
|
|
12
|
-
const CollectionCreationEntity_1 = __importDefault(require("
|
|
13
|
-
const CreationEntity_1 = __importDefault(require("
|
|
11
|
+
const ui_1 = require("../../../store/ui");
|
|
12
|
+
const CollectionCreationEntity_1 = __importDefault(require("../../../dto/Collection/CollectionCreationEntity"));
|
|
13
|
+
const CreationEntity_1 = __importDefault(require("../../../dto/CreationEntity"));
|
|
14
14
|
const useGetTableLikes = ({ allItems, }) => {
|
|
15
15
|
const [assetsLikes, setAssetsLikes] = (0, react_1.useState)([]);
|
|
16
16
|
const [collectionsLikes, setCollectionsLikes] = (0, react_1.useState)([]);
|
|
@@ -5,14 +5,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const react_1 = require("react");
|
|
7
7
|
const type_1 = require("@ludo.ninja/ui/build/system/Alert/type");
|
|
8
|
-
const ui_1 = require("
|
|
9
|
-
const useDislikeAsset_1 = __importDefault(require("
|
|
10
|
-
const useLikeAsset_1 = __importDefault(require("
|
|
11
|
-
const useDislikeCollection_1 = __importDefault(require("
|
|
12
|
-
const useLikeCollection_1 = __importDefault(require("
|
|
13
|
-
const useRemoveAssetFromGallery_1 = require("
|
|
14
|
-
const useRemoveCollectionFromGallery_1 = require("
|
|
15
|
-
const ItemType_1 = require("
|
|
8
|
+
const ui_1 = require("../../store/ui");
|
|
9
|
+
const useDislikeAsset_1 = __importDefault(require("../../api/server-assets/mutations/useDislikeAsset"));
|
|
10
|
+
const useLikeAsset_1 = __importDefault(require("../../api/server-assets/mutations/useLikeAsset"));
|
|
11
|
+
const useDislikeCollection_1 = __importDefault(require("../../api/server-collection/mutations/useDislikeCollection"));
|
|
12
|
+
const useLikeCollection_1 = __importDefault(require("../../api/server-collection/mutations/useLikeCollection"));
|
|
13
|
+
const useRemoveAssetFromGallery_1 = require("../../api/server-galleries/mutations/useRemoveAssetFromGallery");
|
|
14
|
+
const useRemoveCollectionFromGallery_1 = require("../../api/server-galleries/mutations/useRemoveCollectionFromGallery");
|
|
15
|
+
const ItemType_1 = require("../../dto/common/ItemType");
|
|
16
16
|
// Component
|
|
17
17
|
const useLikes = ({ defaultLikesCount, defaultIsLiked, itemType, removeOnDislike, isLoadingLikes, }) => {
|
|
18
18
|
const [likes, setLikes] = (0, react_1.useState)({
|
|
@@ -6,7 +6,7 @@ const client_1 = require("@apollo/client");
|
|
|
6
6
|
const api_1 = require("@ludo.ninja/api");
|
|
7
7
|
const api_2 = require("@ludo.ninja/api");
|
|
8
8
|
const type_1 = require("@ludo.ninja/ui/build/system/Alert/type");
|
|
9
|
-
const ui_1 = require("
|
|
9
|
+
const ui_1 = require("../../store/ui");
|
|
10
10
|
const useGetLikesAsset = () => {
|
|
11
11
|
const openAlert = (0, ui_1.useUiStore)((state) => state.openAlert);
|
|
12
12
|
const [activeRequestsCountLikes, setActiveRequestsCountLikes] = (0, react_1.useState)(0);
|
|
@@ -9,12 +9,12 @@ const client_1 = require("@apollo/client");
|
|
|
9
9
|
const api_1 = require("@ludo.ninja/api");
|
|
10
10
|
const api_2 = require("@ludo.ninja/api");
|
|
11
11
|
const type_1 = require("@ludo.ninja/ui/build/system/Alert/type");
|
|
12
|
-
const CollectionCreationEntity_1 = __importDefault(require("
|
|
13
|
-
const CreationEntity_1 = __importDefault(require("
|
|
14
|
-
const ui_1 = require("
|
|
15
|
-
const extractItemIds_1 = require("
|
|
16
|
-
const getPageSizeAssets_1 = require("
|
|
17
|
-
const store_1 = require("
|
|
12
|
+
const CollectionCreationEntity_1 = __importDefault(require("../../../dto/Collection/CollectionCreationEntity"));
|
|
13
|
+
const CreationEntity_1 = __importDefault(require("../../../dto/CreationEntity"));
|
|
14
|
+
const ui_1 = require("../../../store/ui");
|
|
15
|
+
const extractItemIds_1 = require("../../../utils/extractItemIds");
|
|
16
|
+
const getPageSizeAssets_1 = require("../../../utils/getPageSizeAssets");
|
|
17
|
+
const store_1 = require("../store");
|
|
18
18
|
const limit = 40;
|
|
19
19
|
const useGetAssetsAndCollectionForFavorite = ({ gallery, activeTab, fetchLikes, }) => {
|
|
20
20
|
const [assets, setAssets] = (0, react_1.useState)([]);
|
|
@@ -4,8 +4,8 @@ exports.useGetFavoriteGallery = void 0;
|
|
|
4
4
|
const client_1 = require("@apollo/client");
|
|
5
5
|
const api_1 = require("@ludo.ninja/api");
|
|
6
6
|
const type_1 = require("@ludo.ninja/ui/build/system/Alert/type");
|
|
7
|
-
const store_1 = require("
|
|
8
|
-
const ui_1 = require("
|
|
7
|
+
const store_1 = require("../store");
|
|
8
|
+
const ui_1 = require("../../../store/ui");
|
|
9
9
|
const useGetFavoriteGallery = ({ galleryId }) => {
|
|
10
10
|
const { setGallery, setAllResults } = (0, store_1.useGalleryStore)((state) => ({
|
|
11
11
|
setGallery: state.setGallery,
|
|
@@ -4,10 +4,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.useGalleryStore = void 0;
|
|
7
|
-
const getDimensionsImage_1 = require("
|
|
7
|
+
const getDimensionsImage_1 = require("../../utils/getDimensionsImage");
|
|
8
8
|
const shallow_1 = require("zustand/shallow");
|
|
9
9
|
const traditional_1 = require("zustand/traditional");
|
|
10
|
-
const GalleryEntityV2_1 = __importDefault(require("
|
|
10
|
+
const GalleryEntityV2_1 = __importDefault(require("../../dto/GalleryEntityV2"));
|
|
11
11
|
const initialState = {
|
|
12
12
|
gallery: null,
|
|
13
13
|
fetchGalleryV2: null,
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AllResultsGallery = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
const store_1 = require("
|
|
6
|
-
const colors_1 = require("
|
|
7
|
-
const
|
|
5
|
+
const store_1 = require("../store");
|
|
6
|
+
const colors_1 = require("../../../styles/colors");
|
|
7
|
+
const index_1 = require("../../../system/index");
|
|
8
8
|
const AllResultsGallery = ({ isShowCounts, }) => {
|
|
9
9
|
const allResults = (0, store_1.useGalleryStore)((state) => state.allResults);
|
|
10
|
-
return isShowCounts ? ((0, jsx_runtime_1.jsxs)(
|
|
10
|
+
return isShowCounts ? ((0, jsx_runtime_1.jsxs)(index_1.H5, { mt: 10, fontSize: 13, color: colors_1.TextDarkGrayColor, children: [allResults, " ", allResults !== 1 ? 'items' : 'item'] })) : null;
|
|
11
11
|
};
|
|
12
12
|
exports.AllResultsGallery = AllResultsGallery;
|
|
@@ -9,9 +9,9 @@ const react_1 = require("react");
|
|
|
9
9
|
const react_hyphen_1 = __importDefault(require("react-hyphen"));
|
|
10
10
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
11
11
|
const colors_1 = require("@ludo.ninja/ui/build/styles/colors");
|
|
12
|
-
const ScreenWidth_1 = require("
|
|
13
|
-
const typography_1 = require("
|
|
14
|
-
const vars_1 = require("
|
|
12
|
+
const ScreenWidth_1 = require("../../../styles/ScreenWidth");
|
|
13
|
+
const typography_1 = require("../../../styles/typography");
|
|
14
|
+
const vars_1 = require("../../../fonts/vars");
|
|
15
15
|
const SDescription = styled_components_1.default.div `
|
|
16
16
|
margin-top: 16px;
|
|
17
17
|
position: relative;
|
|
@@ -6,11 +6,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.EditGallery = void 0;
|
|
7
7
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
8
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
|
-
const useGetAssetsAndCollectionForFavorite_1 = require("
|
|
10
|
-
const store_1 = require("
|
|
11
|
-
const itemsPreview_1 = __importDefault(require("
|
|
12
|
-
const useRemoveAssetFromGallery_1 = require("
|
|
13
|
-
const useRemoveCollectionFromGallery_1 = require("
|
|
9
|
+
const useGetAssetsAndCollectionForFavorite_1 = require("../api/useGetAssetsAndCollectionForFavorite");
|
|
10
|
+
const store_1 = require("../store");
|
|
11
|
+
const itemsPreview_1 = __importDefault(require("./itemsPreview"));
|
|
12
|
+
const useRemoveAssetFromGallery_1 = require("../../../api/server-galleries/mutations/useRemoveAssetFromGallery");
|
|
13
|
+
const useRemoveCollectionFromGallery_1 = require("../../../api/server-galleries/mutations/useRemoveCollectionFromGallery");
|
|
14
14
|
const editGalleryForm_1 = __importDefault(require("./editGalleryForm"));
|
|
15
15
|
const StyledAddFavlist = styled_components_1.default.div `
|
|
16
16
|
display: flex;
|
|
@@ -6,11 +6,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.GalleryDeleteIcon = void 0;
|
|
7
7
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
8
|
const react_1 = require("react");
|
|
9
|
-
const scale_1 = require("
|
|
10
|
-
const screen_1 = require("
|
|
11
|
-
const IconButton_1 = __importDefault(require("
|
|
12
|
-
const trash_svg_1 = __importDefault(require("
|
|
13
|
-
const trash_open_svg_1 = __importDefault(require("
|
|
9
|
+
const scale_1 = require("../../../utils/adaptive/scale");
|
|
10
|
+
const screen_1 = require("../../../utils/screen");
|
|
11
|
+
const IconButton_1 = __importDefault(require("../../../system/Buttons/IconButton"));
|
|
12
|
+
const trash_svg_1 = __importDefault(require("../../../../public/iconButton/trash.svg"));
|
|
13
|
+
const trash_open_svg_1 = __importDefault(require("../../../../public/iconButton/trash_open.svg"));
|
|
14
14
|
const GalleryDeleteIcon = ({ onClick, className, }) => {
|
|
15
15
|
const { windowDimensions } = (0, screen_1.useWindowDimensionsWithServerInitial)();
|
|
16
16
|
const [isHovered, setIsHovered] = (0, react_1.useState)(false);
|
|
@@ -8,7 +8,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
8
8
|
const react_loading_skeleton_1 = __importDefault(require("react-loading-skeleton"));
|
|
9
9
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
10
10
|
const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
11
|
-
const ScreenWidth_1 = require("
|
|
11
|
+
const ScreenWidth_1 = require("../../../styles/ScreenWidth");
|
|
12
12
|
const SWrapper = styled_components_1.default.div `
|
|
13
13
|
padding: 8px;
|
|
14
14
|
display: flex;
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.STopSections = void 0;
|
|
7
7
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
8
8
|
const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
9
|
-
const ScreenWidth_1 = require("
|
|
9
|
+
const ScreenWidth_1 = require("../../../styles/ScreenWidth");
|
|
10
10
|
exports.STopSections = styled_components_1.default.div `
|
|
11
11
|
position: relative;
|
|
12
12
|
width: 1080px;
|
|
@@ -6,11 +6,11 @@ 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 _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
9
|
-
const ScreenWidth_1 = require("
|
|
10
|
-
const colors_1 = require("
|
|
11
|
-
const typography_1 = require("
|
|
12
|
-
const vars_1 = require("
|
|
13
|
-
const defaultImage_svg_1 = __importDefault(require("
|
|
9
|
+
const ScreenWidth_1 = require("../../../../../styles/ScreenWidth");
|
|
10
|
+
const colors_1 = require("../../../../../styles/colors");
|
|
11
|
+
const typography_1 = require("../../../../../styles/typography");
|
|
12
|
+
const vars_1 = require("../../../../../fonts/vars");
|
|
13
|
+
const defaultImage_svg_1 = __importDefault(require("../../../../../../public/gallery/defaultImage.svg"));
|
|
14
14
|
// Styles
|
|
15
15
|
const StyledChooseItem = styled_components_1.default.div `
|
|
16
16
|
cursor: pointer;
|
|
@@ -9,16 +9,16 @@ const react_virtuoso_1 = require("react-virtuoso");
|
|
|
9
9
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
10
10
|
const type_1 = require("@ludo.ninja/ui/build/system/Alert/type");
|
|
11
11
|
const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
12
|
-
const PlaceholderItemsGallery_1 = require("
|
|
13
|
-
const chooseGalleryItem_1 = __importDefault(require("
|
|
14
|
-
const ui_1 = require("
|
|
15
|
-
const useFetchMyFavorites_1 = require("
|
|
16
|
-
const useFetchMyGalleries_1 = require("
|
|
17
|
-
const ScreenWidth_1 = require("
|
|
18
|
-
const colors_1 = require("
|
|
19
|
-
const typography_1 = require("
|
|
20
|
-
const MainButton_1 = __importDefault(require("
|
|
21
|
-
const CardsHolderLoader_1 = __importDefault(require("
|
|
12
|
+
const PlaceholderItemsGallery_1 = require("../PlaceholderItemsGallery");
|
|
13
|
+
const chooseGalleryItem_1 = __importDefault(require("./chooseGalleryItem"));
|
|
14
|
+
const ui_1 = require("../../../../store/ui");
|
|
15
|
+
const useFetchMyFavorites_1 = require("../../../../api/server-galleries/queries/useFetchMyFavorites");
|
|
16
|
+
const useFetchMyGalleries_1 = require("../../../../api/server-galleries/queries/useFetchMyGalleries");
|
|
17
|
+
const ScreenWidth_1 = require("../../../../styles/ScreenWidth");
|
|
18
|
+
const colors_1 = require("../../../../styles/colors");
|
|
19
|
+
const typography_1 = require("../../../../styles/typography");
|
|
20
|
+
const MainButton_1 = __importDefault(require("../../../../system/Buttons/MainButton"));
|
|
21
|
+
const CardsHolderLoader_1 = __importDefault(require("../../../../system/CardsHolderWithSkeleton/CardsHolderLoader"));
|
|
22
22
|
// Styles
|
|
23
23
|
const StyledChooseGalleryItems = styled_components_1.default.div `
|
|
24
24
|
min-height: calc(460px - 24px);
|
|
@@ -8,13 +8,13 @@ const react_hook_form_1 = require("react-hook-form");
|
|
|
8
8
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
9
|
const type_1 = require("@ludo.ninja/ui/build/system/Alert/type");
|
|
10
10
|
const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
11
|
-
const ui_1 = require("
|
|
12
|
-
const ScreenWidth_1 = require("
|
|
13
|
-
const colors_1 = require("
|
|
14
|
-
const typography_1 = require("
|
|
15
|
-
const MainButton_1 = __importDefault(require("
|
|
16
|
-
const Forms_1 = require("
|
|
17
|
-
const Messages_1 = __importDefault(require("
|
|
11
|
+
const ui_1 = require("../../../../store/ui");
|
|
12
|
+
const ScreenWidth_1 = require("../../../../styles/ScreenWidth");
|
|
13
|
+
const colors_1 = require("../../../../styles/colors");
|
|
14
|
+
const typography_1 = require("../../../../styles/typography");
|
|
15
|
+
const MainButton_1 = __importDefault(require("../../../../system/Buttons/MainButton"));
|
|
16
|
+
const Forms_1 = require("../../../../system/Forms");
|
|
17
|
+
const Messages_1 = __importDefault(require("../../../../system/Forms/Messages"));
|
|
18
18
|
// Styles
|
|
19
19
|
const StyledCreateForm = styled_components_1.default.div `
|
|
20
20
|
min-width: 344px;
|
|
@@ -9,15 +9,15 @@ const react_hook_form_1 = require("react-hook-form");
|
|
|
9
9
|
const styled_components_1 = __importDefault(require("styled-components"));
|
|
10
10
|
const type_1 = require("@ludo.ninja/ui/build/system/Alert/type");
|
|
11
11
|
const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
12
|
-
const store_1 = require("
|
|
13
|
-
const ui_1 = require("
|
|
14
|
-
const useEditGallery_1 = __importDefault(require("
|
|
15
|
-
const ScreenWidth_1 = require("
|
|
16
|
-
const colors_1 = require("
|
|
17
|
-
const typography_1 = require("
|
|
18
|
-
const MainButton_1 = __importDefault(require("
|
|
19
|
-
const Forms_1 = require("
|
|
20
|
-
const Messages_1 = __importDefault(require("
|
|
12
|
+
const store_1 = require("../../store");
|
|
13
|
+
const ui_1 = require("../../../../store/ui");
|
|
14
|
+
const useEditGallery_1 = __importDefault(require("../../../../api/server-galleries/mutations/useEditGallery"));
|
|
15
|
+
const ScreenWidth_1 = require("../../../../styles/ScreenWidth");
|
|
16
|
+
const colors_1 = require("../../../../styles/colors");
|
|
17
|
+
const typography_1 = require("../../../../styles/typography");
|
|
18
|
+
const MainButton_1 = __importDefault(require("../../../../system/Buttons/MainButton"));
|
|
19
|
+
const Forms_1 = require("../../../../system/Forms");
|
|
20
|
+
const Messages_1 = __importDefault(require("../../../../system/Forms/Messages"));
|
|
21
21
|
// Styles
|
|
22
22
|
const StyledCreateForm = styled_components_1.default.div `
|
|
23
23
|
min-width: 344px;
|