@ludo.ninja/components 2.3.36 → 2.3.37
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/useFetchAssets/index.js +2 -2
- package/build/api/server-assets/queries/useFetchDynamicAssetLikes/index.js +2 -2
- package/build/api/server-assets/queries/useFetchDynamicAssetsLikes/index.js +2 -2
- package/build/api/server-experiences/queries/useFetchMyActivityStreak/index.js +3 -3
- package/build/api/server-experiences/queries/useFetchMyExperienceWithLevel/index.js +3 -3
- package/build/api/server-experiences/queries/useFetchMyTasks/index.js +2 -2
- 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 +2 -2
- package/build/api/server-galleries/mutations/useDeleteGalleryBanner/index.js +1 -1
- package/build/api/server-galleries/mutations/useRemoveAssetFromGallery/index.js +2 -2
- package/build/api/server-galleries/mutations/useRemoveCollectionFromGallery/index.js +1 -1
- package/build/api/server-galleries/queries/useFetchGallery/index.d.ts +1 -1
- package/build/api/server-galleries/queries/useFetchGallery/index.js +1 -1
- package/build/api/server-galleries/queries/useFetchMyFavorites/index.d.ts +1 -1
- package/build/api/server-galleries/queries/useFetchMyFavorites/index.js +1 -1
- package/build/api/server-galleries/queries/useFetchMyGalleries/index.d.ts +1 -1
- package/build/api/server-galleries/queries/useFetchMyGalleries/index.js +1 -1
- package/build/api/server-galleries/queries/useFetchUserFavorites/index.d.ts +1 -1
- package/build/api/server-galleries/queries/useFetchUserFavorites/index.js +1 -1
- package/build/api/server-identities/mutations/useAddWalletElrond/index.js +2 -2
- package/build/api/server-identities/mutations/useAddWalletFlow/index.js +2 -2
- package/build/api/server-identities/mutations/useAddWalletMetamask/index.js +2 -2
- package/build/api/server-identities/mutations/useAddWalletSolana/index.js +2 -2
- package/build/api/server-identities/mutations/useAddWalletTezos/index.js +2 -2
- package/build/api/server-identities/mutations/useAddWalletTon/index.js +2 -2
- package/build/api/server-identities/mutations/useFollowProfile/index.js +2 -2
- package/build/api/server-identities/mutations/useInviteCode/index.js +2 -2
- package/build/api/server-identities/mutations/useRemoveWallet/index.js +2 -2
- package/build/api/server-identities/mutations/useSaveEmailOfJoiner/index.js +2 -2
- package/build/api/server-identities/mutations/useUnfollowProfile/index.js +2 -2
- package/build/api/server-identities/queries/useFetchProfile/index.js +3 -3
- package/build/api/server-medias/queries/useFetchUserPic/index.js +1 -1
- package/build/api/server-opportunities/mutations/useCopyOpportunityShareLink/index.js +2 -2
- package/build/api/server-opportunities/mutations/useDislikeOpportunity.js +2 -2
- package/build/api/server-opportunities/mutations/useLikeOpportunity.js +2 -2
- package/build/api/server-opportunities/mutations/useOpenOpportunity/index.js +2 -2
- package/build/api/server-opportunities/queries/useGetOpportunities.js +3 -3
- package/build/api/server-preferences/mutations/useSaveUserExpectations/index.js +2 -2
- package/build/api/server-preferences/mutations/useSaveUserInterests/index.js +2 -2
- package/build/api/server-preferences/queries/fetchSearchResultSelections/queryData.js +2 -2
- package/build/api/server-preferences/queries/useFetchSearchResultTimeSelection/index.d.ts +1 -1
- package/build/api/server-preferences/queries/useSearchResultBlockchainSelections/index.d.ts +1 -1
- package/build/api/server-search/queries/useFetchAllCreations/index.d.ts +1 -1
- package/build/api/server-search/queries/useFetchAllCreations/index.js +1 -1
- package/build/api/server-search/queries/useFetchCollections/index.d.ts +1 -1
- package/build/api/server-search/queries/useFetchCollections/index.js +4 -4
- package/build/api/server-search/queries/useFetchDynamicCollectionData/index.d.ts +1 -1
- package/build/api/server-search/queries/useFetchDynamicCollectionData/index.js +3 -3
- package/build/api/server-search/queries/useFetchFindAllTopEntitiesByName/index.d.ts +1 -1
- package/build/api/server-search/queries/useFetchFindAllTopEntitiesByName/index.js +1 -1
- package/build/api/server-search/queries/useFetchLudoNftsTonPage/index.d.ts +1 -1
- package/build/api/server-search/queries/useFetchLudoNftsTonPage/index.js +2 -2
- package/build/api/server-search/queries/useFindCreations/index.d.ts +1 -1
- package/build/api/server-search/queries/useFindCreations/index.js +3 -3
- package/build/api/server-search/queries/useFindUserCreations/index.d.ts +1 -1
- package/build/api/server-search/queries/useFindUserCreations/index.js +2 -2
- package/build/api/server-search/queries/useFindUserLudoCreations/index.d.ts +1 -1
- package/build/api/server-search/queries/useFindUserLudoCreations/index.js +2 -2
- package/build/api/subscriptions/SubscriberInviteNotification.js +4 -4
- package/build/api/subscriptions/SubscriberNotifications.js +2 -2
- package/build/api/subscriptions/SubscriberOpportunityNotification.js +4 -4
- package/build/api/subscriptions/SubscriptionNotificationSPA.js +4 -4
- package/build/components/Page404/Page404SPA.js +1 -1
- package/build/components/Page404/index.js +3 -3
- package/build/components/Page500/index.d.ts +2 -0
- package/build/components/Page500/index.js +87 -0
- package/build/components/assetPage/assetLikes/index.d.ts +6 -0
- package/build/components/assetPage/assetLikes/index.js +58 -0
- package/build/components/assetPage/assetNft/index.d.ts +4 -0
- package/build/components/assetPage/assetNft/index.js +37 -0
- package/build/components/assetPage/audioVideoPlayer/Duration.d.ts +5 -0
- package/build/components/assetPage/audioVideoPlayer/Duration.js +22 -0
- package/build/components/assetPage/audioVideoPlayer/index.d.ts +96 -0
- package/build/components/assetPage/audioVideoPlayer/index.js +308 -0
- package/build/components/assetPage/category/index.d.ts +4 -0
- package/build/components/assetPage/category/index.js +58 -0
- package/build/components/assetPage/index.d.ts +5 -0
- package/build/components/assetPage/index.js +13 -0
- package/build/components/assetPage/information/index.d.ts +4 -0
- package/build/components/assetPage/information/index.js +114 -0
- package/build/components/assetPage/marketPlaces/index.d.ts +4 -0
- package/build/components/assetPage/marketPlaces/index.js +57 -0
- package/build/components/assetPage/media/AssetImage/index.d.ts +8 -0
- package/build/components/assetPage/media/AssetImage/index.js +187 -0
- package/build/components/assetPage/moreDropDown/index.d.ts +10 -0
- package/build/components/assetPage/moreDropDown/index.js +152 -0
- package/build/components/assetPage/properties/index.d.ts +4 -0
- package/build/components/assetPage/properties/index.js +42 -0
- package/build/components/assetPage/slider/store.d.ts +8 -0
- package/build/components/assetPage/slider/store.js +16 -0
- package/build/components/assetPage/viewer3D/index.d.ts +7 -0
- package/build/components/assetPage/viewer3D/index.js +124 -0
- package/build/components/base/Meta/index.js +1 -1
- package/build/components/base/PageHead/index.d.ts +8 -0
- package/build/components/base/PageHead/index.js +13 -0
- package/build/components/base/UserStreak/index.js +3 -3
- package/build/components/favoriteList/add/addCreationToFavoriteList/index.d.ts +7 -0
- package/build/components/favoriteList/add/addCreationToFavoriteList/index.js +28 -0
- package/build/components/gallery/add/addCreationToGallery/index.d.ts +2 -0
- package/build/components/gallery/add/addCreationToGallery/index.js +48 -0
- package/build/components/headers/components/headerExperienceLabel/index.js +4 -4
- package/build/components/headers/components/headerStreak/index.js +2 -2
- package/build/components/headers/components/headerUserPic/index.js +2 -2
- package/build/components/headers/header/index.js +7 -7
- package/build/components/headers/headerSearch/index.js +8 -8
- package/build/components/headers/headerSimple/index.d.ts +2 -0
- package/build/components/headers/headerSimple/index.js +78 -0
- package/build/components/linkTabs/index.d.ts +8 -0
- package/build/components/linkTabs/index.js +51 -0
- package/build/components/linkTabs/linkTab/index.d.ts +9 -0
- package/build/components/linkTabs/linkTab/index.js +74 -0
- package/build/components/myWallets/index.d.ts +9 -0
- package/build/components/myWallets/index.js +37 -0
- package/build/components/myWallets/myWalletItem/index.d.ts +10 -0
- package/build/components/myWallets/myWalletItem/index.js +82 -0
- package/build/components/myWallets/myWalletItem/myWalletItemCheckBox/index.d.ts +9 -0
- package/build/components/myWallets/myWalletItem/myWalletItemCheckBox/index.js +21 -0
- package/build/components/profile/profileSkeleton/index.d.ts +4 -0
- package/build/components/profile/profileSkeleton/index.js +75 -0
- 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.d.ts +1 -1
- package/build/components/search/searchSuggestions/index.js +10 -10
- 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.d.ts +5 -0
- package/build/components/searchFiltersConnector/filters/applyResetBtns/index.js +55 -0
- package/build/components/searchFiltersConnector/filters/galleriesFiltersForm/index.d.ts +10 -0
- package/build/components/searchFiltersConnector/filters/galleriesFiltersForm/index.js +60 -0
- package/build/components/searchFiltersConnector/filters/index.d.ts +11 -0
- package/build/components/searchFiltersConnector/filters/index.js +158 -0
- package/build/components/searchFiltersConnector/filters/mobileFilters/index.d.ts +5 -0
- package/build/components/searchFiltersConnector/filters/mobileFilters/index.js +25 -0
- package/build/components/searchFiltersConnector/filters/setsFiltersForm/index.d.ts +9 -0
- package/build/components/searchFiltersConnector/filters/setsFiltersForm/index.js +53 -0
- package/build/components/searchFiltersConnector/index.d.ts +10 -0
- package/build/components/searchFiltersConnector/index.js +116 -0
- package/build/components/shareDialog/index.d.ts +34 -0
- package/build/components/shareDialog/index.js +92 -0
- package/build/components/sidebar/data.d.ts +6 -0
- package/build/components/sidebar/data.js +121 -0
- package/build/components/sidebar/icons.d.ts +9 -0
- package/build/components/sidebar/icons.js +22 -0
- package/build/components/sidebar/index.d.ts +2 -0
- package/build/components/sidebar/index.js +135 -0
- package/build/components/sidebar/initializer.d.ts +1 -0
- package/build/components/sidebar/initializer.js +36 -0
- package/build/components/sidebar/sidebarFilters/index.d.ts +7 -0
- package/build/components/sidebar/sidebarFilters/index.js +51 -0
- package/build/components/sidebar/sidebarInviteCodeLabel/index.d.ts +2 -0
- package/build/components/sidebar/sidebarInviteCodeLabel/index.js +49 -0
- package/build/components/sidebar/sidebarSpa.d.ts +10 -0
- package/build/components/sidebar/sidebarSpa.js +134 -0
- package/build/components/toTopBtn/index.js +7 -7
- package/build/dto/AssetEntity/index.d.ts +63 -0
- package/build/dto/AssetEntity/index.js +208 -0
- package/build/dto/AssetEntity/interface.d.ts +39 -0
- package/build/dto/AssetEntity/interface.js +2 -0
- package/build/dto/AssetEntity/views/AssetAudio/index.d.ts +11 -0
- package/build/dto/AssetEntity/views/AssetAudio/index.js +32 -0
- package/build/dto/AssetEntity/views/AssetImage/index.d.ts +12 -0
- package/build/dto/AssetEntity/views/AssetImage/index.js +44 -0
- package/build/dto/AssetEntity/views/AssetObject/index.d.ts +13 -0
- package/build/dto/AssetEntity/views/AssetObject/index.js +64 -0
- package/build/dto/AssetEntity/views/AssetOther/index.d.ts +13 -0
- package/build/dto/AssetEntity/views/AssetOther/index.js +47 -0
- package/build/dto/AssetEntity/views/AssetScreenshot/index.d.ts +12 -0
- package/build/dto/AssetEntity/views/AssetScreenshot/index.js +44 -0
- package/build/dto/AssetEntity/views/AssetVideo/index.d.ts +11 -0
- package/build/dto/AssetEntity/views/AssetVideo/index.js +32 -0
- package/build/dto/AssetEntity/views/index.d.ts +6 -0
- package/build/dto/AssetEntity/views/index.js +16 -0
- package/build/dto/AssetSearchEntity/index.d.ts +60 -0
- package/build/dto/AssetSearchEntity/index.js +164 -0
- package/build/dto/AssetSearchEntity/interface.d.ts +36 -0
- package/build/dto/AssetSearchEntity/interface.js +2 -0
- package/build/dto/Collection/CollectionCreationEntity/index.d.ts +45 -0
- package/build/dto/Collection/CollectionCreationEntity/index.js +173 -0
- package/build/dto/Collection/CollectionCreationEntity/interface.d.ts +24 -0
- package/build/dto/Collection/CollectionCreationEntity/interface.js +2 -0
- package/build/dto/Collection/CollectionEntity/index.d.ts +32 -0
- package/build/dto/Collection/CollectionEntity/index.js +82 -0
- package/build/dto/Collection/CollectionEntity/interface.d.ts +16 -0
- package/build/dto/Collection/CollectionEntity/interface.js +2 -0
- package/build/dto/CreationEntity/index.d.ts +49 -0
- package/build/dto/CreationEntity/index.js +178 -0
- package/build/dto/CreationEntity/interface.d.ts +30 -0
- package/build/dto/CreationEntity/interface.js +2 -0
- package/build/dto/GalleryEntityV2/index.d.ts +32 -0
- package/build/dto/GalleryEntityV2/index.js +80 -0
- package/build/dto/GalleryEntityV2/interface.d.ts +16 -0
- package/build/dto/GalleryEntityV2/interface.js +2 -0
- package/build/dto/common/ItemType/data.d.ts +3 -0
- package/build/dto/common/ItemType/data.js +41 -0
- package/build/dto/common/ItemType/index.d.ts +49 -0
- package/build/dto/common/ItemType/index.js +46 -0
- package/build/dto/common/ItemViews/CreationAudio/index.d.ts +8 -0
- package/build/dto/common/ItemViews/CreationAudio/index.js +28 -0
- package/build/dto/common/ItemViews/CreationImage/index.d.ts +9 -0
- package/build/dto/common/ItemViews/CreationImage/index.js +39 -0
- package/build/dto/common/ItemViews/CreationObject/index.d.ts +7 -0
- package/build/dto/common/ItemViews/CreationObject/index.js +30 -0
- package/build/dto/common/ItemViews/CreationOther/index.d.ts +8 -0
- package/build/dto/common/ItemViews/CreationOther/index.js +28 -0
- package/build/dto/common/ItemViews/CreationVideo/index.d.ts +8 -0
- package/build/dto/common/ItemViews/CreationVideo/index.js +28 -0
- package/build/dto/common/Media/Audio/index.d.ts +15 -0
- package/build/dto/common/Media/Audio/index.js +40 -0
- package/build/dto/common/Media/Image/index.d.ts +15 -0
- package/build/dto/common/Media/Image/index.js +48 -0
- package/build/dto/common/Media/Object/index.d.ts +15 -0
- package/build/dto/common/Media/Object/index.js +49 -0
- package/build/dto/common/Media/Other/index.d.ts +15 -0
- package/build/dto/common/Media/Other/index.js +68 -0
- package/build/dto/common/Media/Screenshot/index.d.ts +15 -0
- package/build/dto/common/Media/Screenshot/index.js +48 -0
- package/build/dto/common/Media/Urls/index.d.ts +31 -0
- package/build/dto/common/Media/Urls/index.js +125 -0
- package/build/dto/common/Media/Video/index.d.ts +15 -0
- package/build/dto/common/Media/Video/index.js +40 -0
- package/build/dto/common/Media/index.d.ts +28 -0
- package/build/dto/common/Media/index.js +45 -0
- package/build/dto/common/Media/interface.d.ts +30 -0
- package/build/dto/common/Media/interface.js +2 -0
- package/build/entities/asset/AssetMediasViews.d.ts +4 -0
- package/build/entities/asset/AssetMediasViews.js +54 -0
- package/build/entities/asset/builder.d.ts +1 -1
- package/build/entities/asset/builder.js +2 -2
- package/build/entities/asset/getAssetMediasOpengraph.d.ts +5 -0
- package/build/entities/asset/getAssetMediasOpengraph.js +39 -0
- package/build/entities/asset/getAssetMiniatureUrl.d.ts +1 -1
- package/build/entities/asset/getAssetMiniatureUrl.js +3 -3
- package/build/entities/asset/types.d.ts +2 -2
- package/build/entities/collection/builder.d.ts +3 -0
- package/build/entities/collection/builder.js +31 -0
- package/build/entities/collection/types.d.ts +17 -0
- package/build/entities/collection/types.js +2 -0
- package/build/entities/creation/CreationMediaView.d.ts +1 -1
- package/build/entities/creation/CreationMediaView.js +7 -7
- package/build/entities/creation/builder.d.ts +1 -1
- package/build/entities/creation/builder.js +3 -3
- package/build/entities/creation/collectionCreationBuilder.d.ts +1 -1
- package/build/entities/creation/collectionCreationBuilder.js +2 -2
- package/build/entities/creation/types.d.ts +2 -2
- package/build/entities/gallery/builder.d.ts +1 -1
- package/build/entities/gallery/builder.js +1 -1
- package/build/entities/gallery/types.d.ts +1 -1
- package/build/entities/media/builder.d.ts +1 -1
- package/build/entities/media/getMediaVariant.d.ts +1 -1
- package/build/entities/media/getMediaVariant.js +2 -2
- package/build/fonts/FontsInitializeLayout.d.ts +12 -0
- package/build/fonts/FontsInitializeLayout.js +164 -0
- package/build/hoc/HOCSignUpInterceptor/CircleSvg.d.ts +1 -0
- package/build/hoc/HOCSignUpInterceptor/CircleSvg.js +6 -0
- package/build/hoc/HOCSignUpInterceptor/HOCSignUpInterceptor.d.ts +2 -0
- package/build/hoc/HOCSignUpInterceptor/HOCSignUpInterceptor.js +103 -0
- package/build/hooks/apollo/index.d.ts +1 -0
- package/build/hooks/apollo/index.js +24 -0
- package/build/hooks/audio/useMultiAudio/index.d.ts +2 -0
- package/build/hooks/audio/useMultiAudio/index.js +47 -0
- package/build/hooks/extension/useExtension/index.d.ts +7 -0
- package/build/hooks/extension/useExtension/index.js +32 -0
- package/build/hooks/favorites/useGetFavoriteGallaryCreations/index.d.ts +22 -0
- package/build/hooks/favorites/useGetFavoriteGallaryCreations/index.js +122 -0
- package/build/hooks/favorites/useGetUserFevoritesCreations/index.d.ts +23 -0
- package/build/hooks/favorites/useGetUserFevoritesCreations/index.js +166 -0
- package/build/hooks/galleries/useGetUserGalleriesCreations/index.d.ts +23 -0
- package/build/hooks/galleries/useGetUserGalleriesCreations/index.js +155 -0
- package/build/hooks/likes/dynamic/useFindCollectionsAndLikes.d.ts +29 -0
- package/build/hooks/likes/dynamic/useFindCollectionsAndLikes.js +145 -0
- package/build/hooks/likes/dynamic/useFindCreationsAndLikes.d.ts +15 -0
- package/build/hooks/likes/dynamic/useFindCreationsAndLikes.js +119 -0
- package/build/hooks/likes/dynamic/useGetCollectionInfoAndLikes.d.ts +14 -0
- package/build/hooks/likes/dynamic/useGetCollectionInfoAndLikes.js +125 -0
- package/build/hooks/likes/dynamic/useGetCreationsAndLikes.d.ts +17 -0
- package/build/hooks/likes/dynamic/useGetCreationsAndLikes.js +128 -0
- package/build/hooks/likes/dynamic/useGetCreationsAndLikesByType.d.ts +16 -0
- package/build/hooks/likes/dynamic/useGetCreationsAndLikesByType.js +142 -0
- package/build/hooks/likes/dynamic/useGetMixedLikesFavoriteList.d.ts +18 -0
- package/build/hooks/likes/dynamic/useGetMixedLikesFavoriteList.js +48 -0
- package/build/hooks/likes/dynamic/useGetTableLikes.d.ts +14 -0
- package/build/hooks/likes/dynamic/useGetTableLikes.js +104 -0
- package/build/hooks/likes/index.d.ts +19 -0
- package/build/hooks/likes/index.js +113 -0
- package/build/hooks/likes/useGetLikesAsset.d.ts +20 -0
- package/build/hooks/likes/useGetLikesAsset.js +91 -0
- package/build/layouts/AppLayout.d.ts +6 -0
- package/build/layouts/AppLayout.js +24 -0
- package/build/layouts/GlobalLayout.d.ts +4 -0
- package/build/layouts/GlobalLayout.js +34 -0
- package/build/layouts/base/LWithRegularHeader/index.d.ts +3 -0
- package/build/layouts/base/LWithRegularHeader/index.js +16 -0
- package/build/layouts/base/LWithRegularHeader/type.d.ts +5 -0
- package/build/layouts/base/LWithRegularHeader/type.js +2 -0
- package/build/layouts/base/LWithSearchHeader/index.d.ts +3 -0
- package/build/layouts/base/LWithSearchHeader/index.js +12 -0
- package/build/layouts/base/LWithSearchHeader/type.d.ts +5 -0
- package/build/layouts/base/LWithSearchHeader/type.js +2 -0
- package/build/layouts/custom/mainLayout/index.d.ts +3 -0
- package/build/layouts/custom/mainLayout/index.js +17 -0
- package/build/layouts/custom/styles.d.ts +2 -0
- package/build/layouts/custom/styles.js +46 -0
- package/build/layouts/pageTransitionLayout.d.ts +6 -0
- package/build/layouts/pageTransitionLayout.js +23 -0
- package/build/layouts/pageWithLayout.d.ts +9 -0
- package/build/layouts/pageWithLayout.js +2 -0
- package/build/modules/gallery/api/useGetAssetsAndCollectionForFavorite.d.ts +19 -0
- package/build/modules/gallery/api/useGetAssetsAndCollectionForFavorite.js +204 -0
- package/build/modules/gallery/api/useGetFavoriteGallery.d.ts +6 -0
- package/build/modules/gallery/api/useGetFavoriteGallery.js +37 -0
- package/build/modules/gallery/store.d.ts +26 -0
- package/build/modules/gallery/store.js +97 -0
- package/build/modules/gallery/ui/AllResults.d.ts +3 -0
- package/build/modules/gallery/ui/AllResults.js +12 -0
- package/build/modules/gallery/ui/Description.d.ts +4 -0
- package/build/modules/gallery/ui/Description.js +101 -0
- package/build/modules/gallery/ui/EditGallery.d.ts +9 -0
- package/build/modules/gallery/ui/EditGallery.js +51 -0
- package/build/modules/gallery/ui/GalleryDeleteIcon.d.ts +4 -0
- package/build/modules/gallery/ui/GalleryDeleteIcon.js +30 -0
- package/build/modules/gallery/ui/PlaceholderItemsGallery.d.ts +1 -0
- package/build/modules/gallery/ui/PlaceholderItemsGallery.js +71 -0
- package/build/modules/gallery/ui/STopSections.d.ts +1 -0
- package/build/modules/gallery/ui/STopSections.js +31 -0
- package/build/modules/gallery/ui/chooseGalleryItems/chooseGalleryItem/index.d.ts +7 -0
- package/build/modules/gallery/ui/chooseGalleryItems/chooseGalleryItem/index.js +97 -0
- package/build/modules/gallery/ui/chooseGalleryItems/index.d.ts +15 -0
- package/build/modules/gallery/ui/chooseGalleryItems/index.js +157 -0
- package/build/modules/gallery/ui/createGalleryForm/index.d.ts +12 -0
- package/build/modules/gallery/ui/createGalleryForm/index.js +137 -0
- package/build/modules/gallery/ui/editGalleryForm/index.d.ts +8 -0
- package/build/modules/gallery/ui/editGalleryForm/index.js +189 -0
- package/build/modules/gallery/ui/itemsPreview/index.d.ts +19 -0
- package/build/modules/gallery/ui/itemsPreview/index.js +279 -0
- package/build/modules/gallery/useToGalleryAsset.d.ts +18 -0
- package/build/modules/gallery/useToGalleryAsset.js +88 -0
- package/build/modules/notifications/CreatorNotifications.d.ts +1 -0
- package/build/modules/notifications/CreatorNotifications.js +42 -0
- package/build/modules/opportunity/OpportunityCard.d.ts +5 -0
- package/build/modules/opportunity/OpportunityCard.js +279 -0
- package/build/modules/opportunity/OpportunityDropDown.d.ts +5 -0
- package/build/modules/opportunity/OpportunityDropDown.js +42 -0
- package/build/modules/opportunity/ShareIcon.d.ts +1 -0
- package/build/modules/opportunity/ShareIcon.js +6 -0
- package/build/modules/opportunity/encodeQuery.d.ts +14 -0
- package/build/modules/opportunity/encodeQuery.js +31 -0
- package/build/modules/opportunity/popup/CopyIcon.d.ts +8 -0
- package/build/modules/opportunity/popup/CopyIcon.js +7 -0
- package/build/modules/opportunity/popup/FacebookIcon.d.ts +8 -0
- package/build/modules/opportunity/popup/FacebookIcon.js +7 -0
- package/build/modules/opportunity/popup/LinkedInIcon.d.ts +8 -0
- package/build/modules/opportunity/popup/LinkedInIcon.js +7 -0
- package/build/modules/opportunity/popup/LogoXIcon.d.ts +8 -0
- package/build/modules/opportunity/popup/LogoXIcon.js +7 -0
- package/build/modules/opportunity/popup/OpportunityMenu.d.ts +8 -0
- package/build/modules/opportunity/popup/OpportunityMenu.js +204 -0
- package/build/modules/opportunity/type.d.ts +2 -0
- package/build/modules/opportunity/type.js +2 -0
- package/build/modules/sessionScroll/globalTabs.d.ts +12 -0
- package/build/modules/sessionScroll/globalTabs.js +50 -0
- package/build/modules/sessionScroll/useVirtuosoInitialScroll.d.ts +12 -0
- package/build/modules/sessionScroll/useVirtuosoInitialScroll.js +59 -0
- package/build/modules/user/auth/HOCAuthSearchParamsLocalhostInterceptor.d.ts +3 -0
- package/build/modules/user/auth/HOCAuthSearchParamsLocalhostInterceptor.js +34 -0
- package/build/modules/user/auth/useAuthVerification.d.ts +1 -0
- package/build/modules/user/auth/useAuthVerification.js +18 -0
- package/build/modules/user/auth/useSignIn.d.ts +2 -0
- package/build/modules/user/auth/useSignIn.js +23 -0
- package/build/modules/user/auth/useSignOut.d.ts +1 -0
- package/build/modules/user/auth/useSignOut.js +42 -0
- package/build/modules/user/auth/useVerification.d.ts +1 -0
- package/build/modules/user/auth/useVerification.js +67 -0
- package/build/modules/user/profileData/profileDataInitialization.d.ts +1 -0
- package/build/modules/user/profileData/profileDataInitialization.js +66 -0
- package/build/modules/user/store.d.ts +1 -1
- package/build/modules/virtuoso/VirtuosoPageBuilder.d.ts +19 -0
- package/build/modules/virtuoso/VirtuosoPageBuilder.js +135 -0
- package/build/modules/virtuoso/VirtuosoToTopBtn.d.ts +9 -0
- package/build/modules/virtuoso/VirtuosoToTopBtn.js +38 -0
- package/build/modules/virtuoso/types.d.ts +4 -0
- package/build/modules/virtuoso/types.js +2 -0
- package/build/modules/virtuoso/useSubscribeVirtuosoScrollToHeader.d.ts +3 -0
- package/build/modules/virtuoso/useSubscribeVirtuosoScrollToHeader.js +27 -0
- package/build/modules/virtuoso/useVirtuosoData.d.ts +12 -0
- package/build/modules/virtuoso/useVirtuosoData.js +49 -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/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/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/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/favicon.ico +0 -0
- package/build/public/favicon.png +0 -0
- package/build/public/follower.js +27 -0
- package/build/public/fonts/dm-sans-v15-latin-500.woff2 +0 -0
- package/build/public/fonts/dm-sans-v15-latin-500italic.woff2 +0 -0
- package/build/public/fonts/dm-sans-v15-latin-600.woff2 +0 -0
- package/build/public/fonts/dm-sans-v15-latin-600italic.woff2 +0 -0
- package/build/public/fonts/dm-sans-v15-latin-700.woff2 +0 -0
- package/build/public/fonts/dm-sans-v15-latin-700italic.woff2 +0 -0
- package/build/public/fonts/dm-sans-v15-latin-italic.woff2 +0 -0
- package/build/public/fonts/dm-sans-v15-latin-regular.woff2 +0 -0
- package/build/public/fonts/poppins-v21-latin-200.woff2 +0 -0
- package/build/public/fonts/poppins-v21-latin-300.woff2 +0 -0
- package/build/public/fonts/poppins-v21-latin-500.woff2 +0 -0
- package/build/public/fonts/poppins-v21-latin-600.woff2 +0 -0
- package/build/public/fonts/poppins-v21-latin-700.woff2 +0 -0
- package/build/public/fonts/poppins-v21-latin-800.woff2 +0 -0
- package/build/public/fonts/poppins-v21-latin-regular.woff2 +0 -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/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/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/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/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-icon.js +40 -0
- package/build/public/showCaseIcons/heart.js +20 -0
- package/build/public/tabs/arrow_right.js +25 -0
- package/build/public/tabs/arrow_right_dark.js +25 -0
- package/build/public/tests/audio.mp3 +0 -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/userpic-placeholder.jpg +0 -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/creation/index.d.ts +5 -0
- package/build/store/creation/index.js +38 -0
- package/build/store/media/index.d.ts +2 -0
- package/build/store/media/index.js +59 -0
- package/build/store/media/types.d.ts +11 -0
- package/build/store/media/types.js +2 -0
- package/build/store/ui/index.js +2 -2
- package/build/store/ui/types.d.ts +3 -3
- package/build/store/ui/utils.d.ts +1 -1
- package/build/styles/animations/index.d.ts +2 -0
- package/build/styles/animations/index.js +20 -0
- package/build/styles/globalStyles.d.ts +2 -0
- package/build/styles/globalStyles.js +86 -0
- package/build/system/ActiveLink/ActiveLink.test.d.ts +1 -0
- package/build/system/ActiveLink/ActiveLink.test.js +48 -0
- package/build/system/ActiveLink/index.d.ts +9 -0
- package/build/system/ActiveLink/index.js +49 -0
- package/build/system/Alert/index.d.ts +2 -0
- package/build/system/Alert/index.js +21 -0
- package/build/system/BasicOverlay/index.d.ts +2 -0
- package/build/system/BasicOverlay/index.js +27 -0
- package/build/system/Buttons/IconButton/index.d.ts +2 -0
- package/build/system/Buttons/IconButton/index.js +7 -0
- package/build/system/Buttons/IconWithButton/index.d.ts +2 -0
- package/build/system/Buttons/IconWithButton/index.js +7 -0
- package/build/system/Buttons/IconWithButton/themes.d.ts +0 -0
- package/build/system/Buttons/IconWithButton/themes.js +1 -0
- package/build/system/Buttons/MainButton/index.d.ts +2 -0
- package/build/system/Buttons/MainButton/index.js +7 -0
- package/build/system/Buttons/MainButton/themes.d.ts +0 -0
- package/build/system/Buttons/MainButton/themes.js +1 -0
- package/build/system/Buttons/SecondaryButton/index.d.ts +2 -0
- package/build/system/Buttons/SecondaryButton/index.js +7 -0
- package/build/system/Cards/CardCheckbox/index.d.ts +5 -0
- package/build/system/Cards/CardCheckbox/index.js +89 -0
- package/build/system/Cards/CardContent/CardCategory/CardCategory.test.d.ts +1 -0
- package/build/system/Cards/CardContent/CardCategory/CardCategory.test.js +28 -0
- package/build/system/Cards/CardContent/CardCategory/index.d.ts +5 -0
- package/build/system/Cards/CardContent/CardCategory/index.js +54 -0
- package/build/system/Cards/CardContent/CardContent.test.d.ts +1 -0
- package/build/system/Cards/CardContent/CardContent.test.js +103 -0
- package/build/system/Cards/CardContent/CardLikes/CardLikes.test.d.ts +1 -0
- package/build/system/Cards/CardContent/CardLikes/CardLikes.test.js +37 -0
- package/build/system/Cards/CardContent/CardLikes/index.d.ts +5 -0
- package/build/system/Cards/CardContent/CardLikes/index.js +29 -0
- package/build/system/Cards/CardContent/CardShowMore/CardShowMore.test.d.ts +1 -0
- package/build/system/Cards/CardContent/CardShowMore/CardShowMore.test.js +46 -0
- package/build/system/Cards/CardContent/CardShowMore/index.d.ts +6 -0
- package/build/system/Cards/CardContent/CardShowMore/index.js +121 -0
- package/build/system/Cards/CardContent/index.d.ts +17 -0
- package/build/system/Cards/CardContent/index.js +97 -0
- package/build/system/Cards/CardMedia/CardAudio/CardAudio.test.d.ts +1 -0
- package/build/system/Cards/CardMedia/CardAudio/CardAudio.test.js +92 -0
- package/build/system/Cards/CardMedia/CardAudio/index.d.ts +7 -0
- package/build/system/Cards/CardMedia/CardAudio/index.js +66 -0
- package/build/system/Cards/CardMedia/CardImage/CardImage.test.d.ts +1 -0
- package/build/system/Cards/CardMedia/CardImage/CardImage.test.js +34 -0
- package/build/system/Cards/CardMedia/CardImage/index.d.ts +9 -0
- package/build/system/Cards/CardMedia/CardImage/index.js +24 -0
- package/build/system/Cards/CardMedia/CardVideo/index.d.ts +7 -0
- package/build/system/Cards/CardMedia/CardVideo/index.js +57 -0
- package/build/system/Cards/CardRank/index.d.ts +4 -0
- package/build/system/Cards/CardRank/index.js +82 -0
- package/build/system/Cards/CreationCard/CardHead.d.ts +12 -0
- package/build/system/Cards/CreationCard/CardHead.js +62 -0
- package/build/system/Cards/CreationCard/index.d.ts +29 -0
- package/build/system/Cards/CreationCard/index.js +129 -0
- package/build/system/Cards/MultiMediaCard/index.d.ts +8 -0
- package/build/system/Cards/MultiMediaCard/index.js +126 -0
- package/build/system/Cards/Styles/Content.d.ts +2 -0
- package/build/system/Cards/Styles/Content.js +40 -0
- package/build/system/Cards/Styles/Head.d.ts +2 -0
- package/build/system/Cards/Styles/Head.js +46 -0
- package/build/system/Cards/Styles/Headicons.d.ts +4 -0
- package/build/system/Cards/Styles/Headicons.js +122 -0
- package/build/system/Cards/Styles/Image.d.ts +4 -0
- package/build/system/Cards/Styles/Image.js +24 -0
- package/build/system/Cards/Styles/Likes.d.ts +4 -0
- package/build/system/Cards/Styles/Likes.js +53 -0
- package/build/system/Cards/Styles/MultiHead.d.ts +2 -0
- package/build/system/Cards/Styles/MultiHead.js +44 -0
- package/build/system/Cards/Styles/Video.d.ts +2 -0
- package/build/system/Cards/Styles/Video.js +15 -0
- package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsError/index.d.ts +4 -0
- package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsError/index.js +48 -0
- package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsNoResults/index.d.ts +4 -0
- package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsNoResults/index.js +34 -0
- package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsSkeleton/index.d.ts +5 -0
- package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsSkeleton/index.js +57 -0
- package/build/system/CardsHolderWithSkeleton/CardsHolderLoader/index.d.ts +2 -0
- package/build/system/CardsHolderWithSkeleton/CardsHolderLoader/index.js +42 -0
- package/build/system/DropDown/DropDown.test.d.ts +1 -0
- package/build/system/DropDown/DropDown.test.js +38 -0
- package/build/system/DropDown/index.js +2 -2
- package/build/system/Filters/type.d.ts +16 -0
- package/build/system/Filters/type.js +11 -0
- package/build/system/Flex/index.d.ts +0 -0
- package/build/system/Flex/index.js +1 -0
- package/build/system/Forms/Checkbox/Checkbox.test.js +1 -1
- package/build/system/Forms/Checkbox/index.js +4 -4
- package/build/system/Forms/DatePicker/DatePicker.test.d.ts +1 -0
- package/build/system/Forms/DatePicker/DatePicker.test.js +39 -0
- package/build/system/Forms/DatePicker/index.d.ts +14 -0
- package/build/system/Forms/DatePicker/index.js +138 -0
- 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/RadioInput.test.js +1 -1
- package/build/system/Forms/RadioInput/index.js +2 -2
- package/build/system/Forms/Selects/DesktopSelect/index.d.ts +1 -1
- package/build/system/Forms/Selects/DesktopSelect/index.js +6 -6
- 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 +4 -4
- package/build/system/Img/Userpic/UserPicSpa.js +6 -6
- package/build/system/Img/Userpic/index.js +6 -6
- package/build/system/Img/index.d.ts +3 -3
- package/build/system/Img/index.js +3 -3
- package/build/system/Labels/ExperienceLabel/index.js +5 -5
- package/build/system/Labels/InviteLabel/InviteLabel.test.d.ts +1 -0
- package/build/system/Labels/InviteLabel/InviteLabel.test.js +44 -0
- package/build/system/Labels/InviteLabel/index.d.ts +6 -0
- package/build/system/Labels/InviteLabel/index.js +44 -0
- package/build/system/Modals/Modal/Modal.test.d.ts +1 -0
- package/build/system/Modals/Modal/Modal.test.js +36 -0
- package/build/system/Modals/Modal/index.d.ts +2 -0
- package/build/system/Modals/Modal/index.js +82 -0
- package/build/system/Modals/ModalSidebar/CreatorModalSidebarPortal.d.ts +1 -0
- package/build/system/Modals/ModalSidebar/CreatorModalSidebarPortal.js +47 -0
- package/build/system/Modals/ModalSidebar/ModalSidebar.test.d.ts +1 -0
- package/build/system/Modals/ModalSidebar/ModalSidebar.test.js +35 -0
- package/build/system/Modals/ModalSidebar/ModalSidebarPortal.d.ts +5 -0
- package/build/system/Modals/ModalSidebar/ModalSidebarPortal.js +10 -0
- package/build/system/Modals/ModalSidebar/index.d.ts +3 -0
- package/build/system/Modals/ModalSidebar/index.js +78 -0
- package/build/system/Overlay/Overlay.test.d.ts +1 -0
- package/build/system/Overlay/Overlay.test.js +44 -0
- package/build/system/Overlay/index.d.ts +2 -0
- package/build/system/Overlay/index.js +41 -0
- package/build/system/PageLoader/index.d.ts +2 -0
- package/build/system/PageLoader/index.js +7 -0
- package/build/system/Palete/index.d.ts +2 -0
- package/build/system/Palete/index.js +7 -0
- package/build/system/ShareIconResize.d.ts +1 -0
- package/build/system/ShareIconResize.js +31 -0
- package/build/system/Tabs/TabNavLink/TabNavLink.test.d.ts +2 -0
- package/build/system/Tabs/TabNavLink/TabNavLink.test.js +40 -0
- package/build/system/Tabs/TabNavLink/index.d.ts +12 -0
- package/build/system/Tabs/TabNavLink/index.js +58 -0
- package/build/system/Tabs/TabsNav/TabsNav.test.d.ts +2 -0
- package/build/system/Tabs/TabsNav/TabsNav.test.js +43 -0
- package/build/system/Tabs/TabsNav/index.d.ts +10 -0
- package/build/system/Tabs/TabsNav/index.js +31 -0
- package/build/system/Tabs/TabsNav/type.d.ts +6 -0
- package/build/system/Tabs/TabsNav/type.js +2 -0
- package/build/system/Tabs/TabsPanel/TabsPanel.test.d.ts +2 -0
- package/build/system/Tabs/TabsPanel/TabsPanel.test.js +32 -0
- package/build/system/Tabs/TabsPanel/index.d.ts +7 -0
- package/build/system/Tabs/TabsPanel/index.js +17 -0
- package/build/system/Text/index.d.ts +0 -0
- package/build/system/Text/index.js +1 -0
- package/build/system/index.d.ts +6 -0
- package/build/system/index.js +22 -0
- package/build/utils/adaptive/check4k.d.ts +1 -1
- package/build/utils/adaptive/check4k.js +1 -1
- package/build/utils/adaptive/scale.d.ts +1 -1
- package/build/utils/adaptive/scale.js +1 -1
- package/build/utils/auth/index.js +1 -1
- package/build/utils/copyBtn/index.d.ts +5 -0
- package/build/utils/copyBtn/index.js +46 -0
- package/build/utils/extractItemIds.d.ts +2 -0
- package/build/utils/extractItemIds.js +6 -0
- package/build/utils/getDimensionsImage.d.ts +4 -0
- package/build/utils/getDimensionsImage.js +38 -0
- package/build/utils/getErrorAlertProps/index.js +1 -1
- package/build/utils/imageProportionsSize/index.d.ts +5 -0
- package/build/utils/imageProportionsSize/index.js +23 -0
- package/build/utils/redirectToApp.d.ts +1 -0
- package/build/utils/redirectToApp.js +29 -0
- package/build/utils/screen/index.js +2 -2
- package/build/utils/ssrFunctions/index.d.ts +17 -0
- package/build/utils/ssrFunctions/index.js +33 -0
- package/package.json +1 -1
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
30
|
+
const react_1 = __importStar(require("react"));
|
|
31
|
+
const link_1 = __importDefault(require("next/link"));
|
|
32
|
+
const ScreenWidth_1 = require("../../../../styles/ScreenWidth");
|
|
33
|
+
const imageProportionsSize_1 = require("../../../../utils/imageProportionsSize");
|
|
34
|
+
const react_loading_skeleton_1 = __importDefault(require("react-loading-skeleton"));
|
|
35
|
+
const styled_components_1 = __importStar(require("styled-components"));
|
|
36
|
+
const colors_1 = require("@ludo.ninja/ui/build/styles/colors");
|
|
37
|
+
const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
38
|
+
const vars_1 = require("../../../../fonts/vars");
|
|
39
|
+
const SScreenshotContainer = styled_components_1.default.div `
|
|
40
|
+
border-radius: 16px;
|
|
41
|
+
overflow: hidden;
|
|
42
|
+
background-color: ${colors_1.WhiteColor};
|
|
43
|
+
transition: background-color 150ms;
|
|
44
|
+
|
|
45
|
+
&:hover {
|
|
46
|
+
background-color: ${colors_1.InactiveButtonColor};
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.link {
|
|
50
|
+
display: flex;
|
|
51
|
+
align-items: center;
|
|
52
|
+
padding: 10px;
|
|
53
|
+
width: 100%;
|
|
54
|
+
height: 48px;
|
|
55
|
+
|
|
56
|
+
${ScreenWidth_1.mediaQuery.desktop} {
|
|
57
|
+
height: 42px;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
span {
|
|
61
|
+
text-align: center;
|
|
62
|
+
color: ${colors_1.AccentColor};
|
|
63
|
+
font-family: ${vars_1.poppinsFontVarCss.css};
|
|
64
|
+
font-size: 15px;
|
|
65
|
+
font-weight: 500;
|
|
66
|
+
line-height: 22px;
|
|
67
|
+
width: 100%;
|
|
68
|
+
overflow: hidden;
|
|
69
|
+
text-overflow: ellipsis;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
${ScreenWidth_1.mediaQuery.minWidthFourK} {
|
|
74
|
+
border-radius: ${(0, _4k_1.adaptiveValueCalc)(16)};
|
|
75
|
+
|
|
76
|
+
.link {
|
|
77
|
+
padding: ${(0, _4k_1.adaptiveValueCalc)(10)};
|
|
78
|
+
height: ${(0, _4k_1.adaptiveValueCalc)(48)};
|
|
79
|
+
|
|
80
|
+
span {
|
|
81
|
+
font-size: ${(0, _4k_1.adaptiveValueCalc)(15)};
|
|
82
|
+
line-height: ${(0, _4k_1.adaptiveValueCalc)(22)};
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
`;
|
|
87
|
+
const ImageContainer = styled_components_1.default.div `
|
|
88
|
+
display: flex;
|
|
89
|
+
position: relative;
|
|
90
|
+
align-self: center;
|
|
91
|
+
justify-content: center;
|
|
92
|
+
align-items: center;
|
|
93
|
+
overflow: hidden;
|
|
94
|
+
|
|
95
|
+
& img {
|
|
96
|
+
object-fit: contain;
|
|
97
|
+
aspect-ratio: auto;
|
|
98
|
+
width: 100%;
|
|
99
|
+
border-radius: 16px;
|
|
100
|
+
max-height: 510px;
|
|
101
|
+
max-width: 510px;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
${(props) => props.isScreenshot
|
|
105
|
+
? (0, styled_components_1.css) `
|
|
106
|
+
width: 508px;
|
|
107
|
+
height: 244px;
|
|
108
|
+
|
|
109
|
+
${ScreenWidth_1.mediaQuery.desktop} {
|
|
110
|
+
width: 336px;
|
|
111
|
+
height: 164px;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
${ScreenWidth_1.mediaQuery.mobile} {
|
|
115
|
+
width: 320px;
|
|
116
|
+
height: 154px;
|
|
117
|
+
}
|
|
118
|
+
`
|
|
119
|
+
: (0, styled_components_1.css) `
|
|
120
|
+
border-radius: 16px;
|
|
121
|
+
width: 510px;
|
|
122
|
+
height: 510px;
|
|
123
|
+
|
|
124
|
+
${ScreenWidth_1.mediaQuery.desktop} {
|
|
125
|
+
width: 335px;
|
|
126
|
+
height: 335px;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
${ScreenWidth_1.mediaQuery.mobile} {
|
|
130
|
+
width: 320px;
|
|
131
|
+
height: 320px;
|
|
132
|
+
}
|
|
133
|
+
`}
|
|
134
|
+
${ScreenWidth_1.mediaQuery.minWidthFourK} {
|
|
135
|
+
& img {
|
|
136
|
+
border-radius: ${(0, _4k_1.adaptiveValueCalc)(16)};
|
|
137
|
+
max-height: ${(0, _4k_1.adaptiveValueCalc)(510)};
|
|
138
|
+
max-width: ${(0, _4k_1.adaptiveValueCalc)(510)};
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
${(props) => props.isScreenshot
|
|
142
|
+
? (0, styled_components_1.css) `
|
|
143
|
+
width: ${(0, _4k_1.adaptiveValueCalc)(508)};
|
|
144
|
+
height: ${(0, _4k_1.adaptiveValueCalc)(244)};
|
|
145
|
+
`
|
|
146
|
+
: (0, styled_components_1.css) `
|
|
147
|
+
border-radius: ${(0, _4k_1.adaptiveValueCalc)(16)};
|
|
148
|
+
width: ${(0, _4k_1.adaptiveValueCalc)(510)};
|
|
149
|
+
height: ${(0, _4k_1.adaptiveValueCalc)(510)};
|
|
150
|
+
`}
|
|
151
|
+
}
|
|
152
|
+
`;
|
|
153
|
+
const AssetImage = ({ imageUrl, errorImg, originalUrl, alt, isScreenshot, }) => {
|
|
154
|
+
const [size, setSize] = (0, react_1.useState)({});
|
|
155
|
+
const [loading, setLoading] = (0, react_1.useState)(true);
|
|
156
|
+
const ref = (0, react_1.useRef)(null);
|
|
157
|
+
(0, react_1.useLayoutEffect)(() => {
|
|
158
|
+
const { width, height } = (0, imageProportionsSize_1.defineImgProportion)(ref, 80);
|
|
159
|
+
if (imageUrl && parseFloat(height) && parseFloat(width)) {
|
|
160
|
+
(0, imageProportionsSize_1.defineImgProportion)(ref, 80);
|
|
161
|
+
setSize({ width, height });
|
|
162
|
+
}
|
|
163
|
+
}, [imageUrl]);
|
|
164
|
+
const LinkComponent = originalUrl ? link_1.default : react_1.default.Fragment;
|
|
165
|
+
const ScreenShotContainer = isScreenshot
|
|
166
|
+
? SScreenshotContainer
|
|
167
|
+
: react_1.default.Fragment;
|
|
168
|
+
return ((0, jsx_runtime_1.jsx)(LinkComponent, { href: `${originalUrl}`, target: "_blank", children: (0, jsx_runtime_1.jsxs)(ScreenShotContainer, { children: [(0, jsx_runtime_1.jsxs)(ImageContainer, { isScreenshot: isScreenshot, children: [loading && ((0, jsx_runtime_1.jsx)(react_loading_skeleton_1.default, { height: '100%', width: '100%', style: {
|
|
169
|
+
lineHeight: 'normal',
|
|
170
|
+
position: 'absolute',
|
|
171
|
+
top: 0,
|
|
172
|
+
left: 0,
|
|
173
|
+
visibility: `${loading ? 'hidden' : 'visible'}`,
|
|
174
|
+
} })), (0, jsx_runtime_1.jsx)("img", { alt: alt, ref: ref, src: imageUrl, onError: (e) => {
|
|
175
|
+
e.target.src = errorImg;
|
|
176
|
+
setSize({ width: '100%', height: '100%' });
|
|
177
|
+
}, onLoad: () => setLoading(false), style: {
|
|
178
|
+
opacity: loading ? '0' : '1',
|
|
179
|
+
...(isScreenshot
|
|
180
|
+
? {
|
|
181
|
+
maxHeight: '100%',
|
|
182
|
+
maxWidth: '100%',
|
|
183
|
+
}
|
|
184
|
+
: size),
|
|
185
|
+
} })] }), isScreenshot && originalUrl && ((0, jsx_runtime_1.jsx)("div", { className: "link", title: originalUrl, children: (0, jsx_runtime_1.jsx)("span", { children: originalUrl }) }))] }) }));
|
|
186
|
+
};
|
|
187
|
+
exports.default = AssetImage;
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.MoreDropDown = void 0;
|
|
30
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
31
|
+
const react_1 = require("react");
|
|
32
|
+
const ScreenWidth_1 = require("../../../styles/ScreenWidth");
|
|
33
|
+
const colors_1 = require("../../../styles/colors");
|
|
34
|
+
const scale_1 = require("../../../utils/adaptive/scale");
|
|
35
|
+
const screen_1 = require("../../../utils/screen");
|
|
36
|
+
const styled_components_1 = __importStar(require("styled-components"));
|
|
37
|
+
const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
38
|
+
const utils_1 = require("@ludo.ninja/utils");
|
|
39
|
+
const IconWithButton_1 = __importDefault(require("../../../system/Buttons/IconWithButton"));
|
|
40
|
+
const vars_1 = require("../../../fonts/vars");
|
|
41
|
+
const moreBtn_svg_1 = __importDefault(require("../../../public/creation/card/moreBtn"));
|
|
42
|
+
const SContainer = styled_components_1.default.div `
|
|
43
|
+
position: relative;
|
|
44
|
+
|
|
45
|
+
& > *:first-child {
|
|
46
|
+
width: 24px;
|
|
47
|
+
height: 24px;
|
|
48
|
+
|
|
49
|
+
${ScreenWidth_1.mediaQuery.minWidthFourK} {
|
|
50
|
+
width: ${(0, _4k_1.adaptiveValueCalc)(24)};
|
|
51
|
+
height: ${(0, _4k_1.adaptiveValueCalc)(24)};
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
`;
|
|
55
|
+
const SContent = styled_components_1.default.div `
|
|
56
|
+
position: absolute;
|
|
57
|
+
padding: 8px;
|
|
58
|
+
top: calc(100% + 8px);
|
|
59
|
+
right: 0;
|
|
60
|
+
display: flex;
|
|
61
|
+
flex-direction: column;
|
|
62
|
+
|
|
63
|
+
transition: opacity 200ms;
|
|
64
|
+
|
|
65
|
+
pointer-events: ${(props) => (props.isOpen ? 'unset' : 'none')};
|
|
66
|
+
opacity: ${(props) => (props.isOpen ? '1' : '0')};
|
|
67
|
+
|
|
68
|
+
border-radius: 6px;
|
|
69
|
+
background: ${colors_1.WhiteColor};
|
|
70
|
+
box-shadow: 0px 8px 16px -16px rgba(33, 21, 95, 0.1);
|
|
71
|
+
width: 184px;
|
|
72
|
+
|
|
73
|
+
${ScreenWidth_1.mediaQuery.minWidthFourK} {
|
|
74
|
+
padding: ${(0, _4k_1.adaptiveValueCalc)(8)};
|
|
75
|
+
top: calc(100% + ${(0, _4k_1.adaptiveValueCalc)(8)});
|
|
76
|
+
border-radius: ${(0, _4k_1.adaptiveValueCalc)(6)};
|
|
77
|
+
box-shadow: 0 ${(0, _4k_1.adaptiveValueCalc)(8)} ${(0, _4k_1.adaptiveValueCalc)(16)}
|
|
78
|
+
${(0, _4k_1.adaptiveValueCalc)(-16)} rgba(33, 21, 95, 0.1);
|
|
79
|
+
width: ${(0, _4k_1.adaptiveValueCalc)(184)};
|
|
80
|
+
}
|
|
81
|
+
`;
|
|
82
|
+
const hover = (0, styled_components_1.css) `
|
|
83
|
+
color: ${colors_1.BlackColor};
|
|
84
|
+
border-radius: 4px;
|
|
85
|
+
background: ${colors_1.BackgroundColorLight};
|
|
86
|
+
|
|
87
|
+
${ScreenWidth_1.mediaQuery.minWidthFourK} {
|
|
88
|
+
border-radius: ${(0, _4k_1.adaptiveValueCalc)(4)};
|
|
89
|
+
}
|
|
90
|
+
`;
|
|
91
|
+
const SButton = styled_components_1.default.button `
|
|
92
|
+
font-family: ${vars_1.dmsansFontVarCss.css};
|
|
93
|
+
padding: 6px 8px;
|
|
94
|
+
color: ${colors_1.TextGrayColor};
|
|
95
|
+
font-size: 13px;
|
|
96
|
+
font-weight: 400;
|
|
97
|
+
line-height: 18px;
|
|
98
|
+
outline: none;
|
|
99
|
+
border: none;
|
|
100
|
+
background: inherit;
|
|
101
|
+
transition: background-color 200ms;
|
|
102
|
+
text-align: left;
|
|
103
|
+
|
|
104
|
+
&:active {
|
|
105
|
+
${hover}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
@media (hover: hover) {
|
|
109
|
+
&:hover {
|
|
110
|
+
${hover}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
${ScreenWidth_1.mediaQuery.minWidthFourK} {
|
|
115
|
+
padding: ${(0, _4k_1.adaptiveValueCalc)(6)} ${(0, _4k_1.adaptiveValueCalc)(8)};
|
|
116
|
+
font-size: ${(0, _4k_1.adaptiveValueCalc)(13)};
|
|
117
|
+
line-height: ${(0, _4k_1.adaptiveValueCalc)(18)};
|
|
118
|
+
}
|
|
119
|
+
`;
|
|
120
|
+
const SIcon = styled_components_1.default.div `
|
|
121
|
+
display: flex;
|
|
122
|
+
align-items: center;
|
|
123
|
+
justify-content: center;
|
|
124
|
+
|
|
125
|
+
${ScreenWidth_1.mediaQuery.minWidthFourK} {
|
|
126
|
+
width: ${(0, _4k_1.adaptiveValueCalc)(17)};
|
|
127
|
+
height: ${(0, _4k_1.adaptiveValueCalc)(4)};
|
|
128
|
+
}
|
|
129
|
+
`;
|
|
130
|
+
const IconResize = () => {
|
|
131
|
+
const { windowDimensions } = (0, screen_1.useWindowDimensionsWithServerInitial)();
|
|
132
|
+
return ((0, jsx_runtime_1.jsx)(SIcon, { children: (0, jsx_runtime_1.jsx)(moreBtn_svg_1.default, { style: (0, scale_1.getAdaptiveScale)({
|
|
133
|
+
windowDimensions,
|
|
134
|
+
currentSize: 1,
|
|
135
|
+
}) }) }));
|
|
136
|
+
};
|
|
137
|
+
const MoreDropDown = ({ items }) => {
|
|
138
|
+
const [isOpen, setIsOpen] = (0, react_1.useState)(false);
|
|
139
|
+
const handle = {
|
|
140
|
+
close() {
|
|
141
|
+
setIsOpen(false);
|
|
142
|
+
},
|
|
143
|
+
toggle() {
|
|
144
|
+
setIsOpen((prev) => !prev);
|
|
145
|
+
},
|
|
146
|
+
};
|
|
147
|
+
return ((0, jsx_runtime_1.jsx)(utils_1.ClickAwayListener, { onClickAway: handle.close, children: (0, jsx_runtime_1.jsxs)(SContainer, { children: [(0, jsx_runtime_1.jsx)(IconWithButton_1.default, { variant: 'dots', onClick: handle.toggle, children: (0, jsx_runtime_1.jsx)(IconResize, {}) }), (0, jsx_runtime_1.jsx)(SContent, { isOpen: isOpen, children: items.map(({ title, onClick, id }) => ((0, jsx_runtime_1.jsx)(SButton, { onClick: () => {
|
|
148
|
+
onClick?.();
|
|
149
|
+
handle.close();
|
|
150
|
+
}, children: (0, jsx_runtime_1.jsx)("span", { children: title }) }, id))) })] }) }));
|
|
151
|
+
};
|
|
152
|
+
exports.MoreDropDown = MoreDropDown;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.Properties = void 0;
|
|
7
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
9
|
+
const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
10
|
+
const ScreenWidth_1 = require("../../../styles/ScreenWidth");
|
|
11
|
+
const colors_1 = require("../../../styles/colors");
|
|
12
|
+
const index_1 = require("../../../system/index");
|
|
13
|
+
const Wrapper = styled_components_1.default.div `
|
|
14
|
+
display: grid;
|
|
15
|
+
grid-template-columns: 1fr 1fr;
|
|
16
|
+
gap: 15px;
|
|
17
|
+
|
|
18
|
+
${ScreenWidth_1.mediaQuery.tablet} {
|
|
19
|
+
gap: 10px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
${ScreenWidth_1.mediaQuery.minWidthFourK} {
|
|
23
|
+
gap: ${(0, _4k_1.adaptiveValueCalc)(15)};
|
|
24
|
+
}
|
|
25
|
+
`;
|
|
26
|
+
const SFlex = (0, styled_components_1.default)(index_1.Flex) `
|
|
27
|
+
border-radius: 6px;
|
|
28
|
+
border: 1px solid ${colors_1.BorderColorLight};
|
|
29
|
+
padding: 10px 16px;
|
|
30
|
+
|
|
31
|
+
${ScreenWidth_1.mediaQuery.minWidthFourK} {
|
|
32
|
+
border-radius: ${(0, _4k_1.adaptiveValueCalc)(6)};
|
|
33
|
+
border: ${(0, _4k_1.adaptiveValueCalc)(1)} solid ${colors_1.BorderColorLight};
|
|
34
|
+
padding: ${(0, _4k_1.adaptiveValueCalc)(10)} ${(0, _4k_1.adaptiveValueCalc)(16)};
|
|
35
|
+
}
|
|
36
|
+
`;
|
|
37
|
+
const Properties = ({ attributes }) => {
|
|
38
|
+
return ((0, jsx_runtime_1.jsx)(Wrapper, { children: attributes?.map((item) => {
|
|
39
|
+
return ((0, jsx_runtime_1.jsxs)(SFlex, { flexDirection: "column", children: [(0, jsx_runtime_1.jsx)(index_1.H6, { style: { wordBreak: 'break-word' }, color: colors_1.TextGrayColor, children: item?.name }), (0, jsx_runtime_1.jsx)(index_1.H5, { style: { wordBreak: 'break-word' }, children: item?.value })] }, item?.name));
|
|
40
|
+
}) }));
|
|
41
|
+
};
|
|
42
|
+
exports.Properties = Properties;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface ISliderStore {
|
|
2
|
+
isActiveSlider: boolean;
|
|
3
|
+
setIsActiveSlider: (isActiveSlider: boolean) => void;
|
|
4
|
+
isDisabled: boolean;
|
|
5
|
+
setIsDisabled: (isDisabled: boolean) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const useSliderStore: import("zustand").UseBoundStore<import("zustand").StoreApi<ISliderStore>>;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useSliderStore = void 0;
|
|
4
|
+
const zustand_1 = require("zustand");
|
|
5
|
+
exports.useSliderStore = (0, zustand_1.create)()((setState, getState) => ({
|
|
6
|
+
isActiveSlider: false,
|
|
7
|
+
setIsActiveSlider: (isActiveSlider) => {
|
|
8
|
+
setState({ isActiveSlider });
|
|
9
|
+
},
|
|
10
|
+
isDisabled: false,
|
|
11
|
+
setIsDisabled: (isDisabled) => {
|
|
12
|
+
if (getState().isActiveSlider) {
|
|
13
|
+
setState({ isDisabled });
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
}));
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type Viewer3dProps = {
|
|
2
|
+
file2D?: string | undefined | null;
|
|
3
|
+
file3D: string | undefined | null;
|
|
4
|
+
};
|
|
5
|
+
export declare const ScenePreview: ({ file3D }: Pick<Viewer3dProps, "file3D">) => import("react/jsx-runtime").JSX.Element | null;
|
|
6
|
+
export declare const Viewer3D: ({ file3D, file2D }: Viewer3dProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.Viewer3D = exports.ScenePreview = void 0;
|
|
7
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
+
const AssetImage_1 = __importDefault(require("../media/AssetImage"));
|
|
9
|
+
const store_1 = require("../slider/store");
|
|
10
|
+
const NoSSR_1 = __importDefault(require("../../base/NoSSR"));
|
|
11
|
+
const ScreenWidth_1 = require("../../../styles/ScreenWidth");
|
|
12
|
+
const colors_1 = require("../../../styles/colors");
|
|
13
|
+
const index_1 = require("../../../system/index");
|
|
14
|
+
const constants_1 = require("@ludo.ninja/core/build/constants");
|
|
15
|
+
const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
16
|
+
const drei_1 = require("@react-three/drei");
|
|
17
|
+
const fiber_1 = require("@react-three/fiber");
|
|
18
|
+
const react_1 = require("react");
|
|
19
|
+
const react_loading_skeleton_1 = __importDefault(require("react-loading-skeleton"));
|
|
20
|
+
const styled_components_1 = __importDefault(require("styled-components"));
|
|
21
|
+
const Togler = (0, styled_components_1.default)(index_1.Flex) `
|
|
22
|
+
border-radius: 8px;
|
|
23
|
+
position: absolute;
|
|
24
|
+
top: 16px;
|
|
25
|
+
right: 16px;
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
z-index: 1;
|
|
28
|
+
border: 1px solid ${colors_1.BlackColor};
|
|
29
|
+
|
|
30
|
+
${ScreenWidth_1.mediaQuery.minWidthFourK} {
|
|
31
|
+
border-radius: ${(0, _4k_1.adaptiveValueCalc)(8)};
|
|
32
|
+
top: ${(0, _4k_1.adaptiveValueCalc)(16)};
|
|
33
|
+
right: ${(0, _4k_1.adaptiveValueCalc)(16)};
|
|
34
|
+
border: ${(0, _4k_1.adaptiveValueCalc)(1)} solid ${colors_1.BlackColor};
|
|
35
|
+
}
|
|
36
|
+
`;
|
|
37
|
+
const ButtonTogler = styled_components_1.default.button `
|
|
38
|
+
border: none;
|
|
39
|
+
cursor: pointer;
|
|
40
|
+
background: ${(props) => (props.isActive ? colors_1.InactiveButtonColor : colors_1.WhiteColor)};
|
|
41
|
+
padding: 0;
|
|
42
|
+
width: 36px;
|
|
43
|
+
height: 36px;
|
|
44
|
+
font-size: 13px;
|
|
45
|
+
font-weight: 40;
|
|
46
|
+
color: ${(props) => (props.isActive ? colors_1.BlackColor : colors_1.TextGrayColor)};
|
|
47
|
+
|
|
48
|
+
${ScreenWidth_1.mediaQuery.minWidthFourK} {
|
|
49
|
+
width: ${(0, _4k_1.adaptiveValueCalc)(36)};
|
|
50
|
+
height: ${(0, _4k_1.adaptiveValueCalc)(36)};
|
|
51
|
+
font-size: ${(0, _4k_1.adaptiveValueCalc)(13)};
|
|
52
|
+
}
|
|
53
|
+
`;
|
|
54
|
+
const StyledAsset = styled_components_1.default.div `
|
|
55
|
+
max-height: 100%;
|
|
56
|
+
max-width: 100%;
|
|
57
|
+
width: 510px;
|
|
58
|
+
height: 510px;
|
|
59
|
+
margin-right: 60px;
|
|
60
|
+
position: relative;
|
|
61
|
+
overflow: hidden;
|
|
62
|
+
border-radius: 16px;
|
|
63
|
+
background-color: ${colors_1.WhiteColor};
|
|
64
|
+
display: flex;
|
|
65
|
+
align-items: center;
|
|
66
|
+
justify-content: center;
|
|
67
|
+
|
|
68
|
+
//border: 2px solid rgba(0, 0, 0, 0.5);
|
|
69
|
+
|
|
70
|
+
${ScreenWidth_1.mediaQuery.desktop} {
|
|
71
|
+
width: 335px;
|
|
72
|
+
margin-right: 30px;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
${ScreenWidth_1.mediaQuery.tablet} {
|
|
76
|
+
align-items: flex-start;
|
|
77
|
+
width: 320px;
|
|
78
|
+
margin-right: 0;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
${ScreenWidth_1.mediaQuery.minWidthFourK} {
|
|
82
|
+
width: ${(0, _4k_1.adaptiveValueCalc)(510)};
|
|
83
|
+
height: ${(0, _4k_1.adaptiveValueCalc)(510)};
|
|
84
|
+
margin-right: ${(0, _4k_1.adaptiveValueCalc)(60)};
|
|
85
|
+
border-radius: ${(0, _4k_1.adaptiveValueCalc)(16)};
|
|
86
|
+
}
|
|
87
|
+
`;
|
|
88
|
+
const ModelPreview = ({ file3D }) => {
|
|
89
|
+
const gltf = (0, drei_1.useGLTF)(file3D);
|
|
90
|
+
(0, fiber_1.useFrame)(() => {
|
|
91
|
+
gltf.scene.rotateY(0.002);
|
|
92
|
+
});
|
|
93
|
+
(0, react_1.useEffect)(() => {
|
|
94
|
+
return () => {
|
|
95
|
+
gltf.scene.rotation.set(0, 0, 0);
|
|
96
|
+
};
|
|
97
|
+
}, [gltf]);
|
|
98
|
+
return (0, jsx_runtime_1.jsx)("primitive", { object: gltf.scene });
|
|
99
|
+
};
|
|
100
|
+
const ScenePreview = ({ file3D }) => {
|
|
101
|
+
if (typeof window === "undefined" || !file3D)
|
|
102
|
+
return null;
|
|
103
|
+
return ((0, jsx_runtime_1.jsx)(NoSSR_1.default, { children: (0, jsx_runtime_1.jsx)(react_1.Suspense, { fallback: (0, jsx_runtime_1.jsx)(react_loading_skeleton_1.default, { style: { position: "absolute", left: 0, top: 0 }, height: "100%", width: "100%" }), children: (0, jsx_runtime_1.jsxs)(fiber_1.Canvas, { resize: { scroll: false }, children: [(0, jsx_runtime_1.jsx)(drei_1.ContactShadows, { opacity: 1, scale: 1000, blur: 0.5, far: 100, resolution: 2048, color: "#003366" }), (0, jsx_runtime_1.jsx)(drei_1.Stage, { environment: "city", preset: "rembrandt", children: (0, jsx_runtime_1.jsx)(drei_1.Center, { children: (0, jsx_runtime_1.jsx)(ModelPreview, { file3D: file3D }) }) }), (0, jsx_runtime_1.jsx)(drei_1.OrbitControls, {})] }) }) }));
|
|
104
|
+
};
|
|
105
|
+
exports.ScenePreview = ScenePreview;
|
|
106
|
+
const Viewer3D = ({ file3D, file2D }) => {
|
|
107
|
+
const [activeTab, setActiveTab] = (0, react_1.useState)("2D");
|
|
108
|
+
const setIsDisabledSlider = (0, store_1.useSliderStore)((state) => state.setIsDisabled);
|
|
109
|
+
return ((0, jsx_runtime_1.jsx)("div", { style: {
|
|
110
|
+
width: "100%",
|
|
111
|
+
height: "100%",
|
|
112
|
+
}, children: (0, jsx_runtime_1.jsxs)(StyledAsset, { is3D: activeTab === "3D", children: [(0, jsx_runtime_1.jsxs)(Togler, { children: [(0, jsx_runtime_1.jsx)(ButtonTogler, { isActive: activeTab === "2D", onClick: () => {
|
|
113
|
+
setActiveTab("2D");
|
|
114
|
+
setIsDisabledSlider(false);
|
|
115
|
+
}, children: "2D" }), (0, jsx_runtime_1.jsx)(ButtonTogler, { isActive: activeTab === "3D", onClick: () => {
|
|
116
|
+
setActiveTab("3D");
|
|
117
|
+
setIsDisabledSlider(true);
|
|
118
|
+
}, children: "3D" })] }), activeTab === "3D" && file3D ? ((0, jsx_runtime_1.jsx)("div", { style: {
|
|
119
|
+
cursor: "pointer",
|
|
120
|
+
width: "100%",
|
|
121
|
+
height: "100%",
|
|
122
|
+
}, children: (0, jsx_runtime_1.jsx)(exports.ScenePreview, { file3D: file3D }) })) : ((0, jsx_runtime_1.jsx)(AssetImage_1.default, { alt: "fallback", imageUrl: file2D || `${constants_1.staticLink}/public/noContent/noContentObject.svg`, errorImg: `${constants_1.staticLink}/public/noContent/noContentObject.svg` }))] }) }));
|
|
123
|
+
};
|
|
124
|
+
exports.Viewer3D = Viewer3D;
|
|
@@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
7
|
const head_1 = __importDefault(require("next/head"));
|
|
8
|
-
const env_1 = require("
|
|
8
|
+
const env_1 = require("../../../store/env");
|
|
9
9
|
// Component
|
|
10
10
|
const Meta = () => {
|
|
11
11
|
const { getMediaDomain, getStaticDomain, } = (0, env_1.useEnvStore)((state) => ({
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
|
+
const head_1 = __importDefault(require("next/head"));
|
|
8
|
+
// Component
|
|
9
|
+
const PageHead = ({ title, description, children }) => {
|
|
10
|
+
return ((0, jsx_runtime_1.jsxs)(head_1.default, { children: [(0, jsx_runtime_1.jsx)("title", { children: title }), description && (0, jsx_runtime_1.jsx)("meta", { name: "description", content: description }), children] }));
|
|
11
|
+
};
|
|
12
|
+
// Export
|
|
13
|
+
exports.default = PageHead;
|
|
@@ -5,11 +5,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
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
|
-
const vars_1 = require("
|
|
8
|
+
const vars_1 = require("../../../fonts/vars");
|
|
9
9
|
const colors_1 = require("@ludo.ninja/ui/build/styles/colors");
|
|
10
|
-
const ScreenWidth_1 = require("
|
|
10
|
+
const ScreenWidth_1 = require("../../../styles/ScreenWidth");
|
|
11
11
|
const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
12
|
-
const store_1 = require("
|
|
12
|
+
const store_1 = require("../../../modules/user/store");
|
|
13
13
|
const rc_tooltip_1 = __importDefault(require("rc-tooltip"));
|
|
14
14
|
const react_loading_skeleton_1 = __importDefault(require("react-loading-skeleton"));
|
|
15
15
|
const Wrapper = styled_components_1.default.div `
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
|
+
const react_1 = require("react");
|
|
8
|
+
const chooseGalleryItems_1 = __importDefault(require("../../../../modules/gallery/ui/chooseGalleryItems"));
|
|
9
|
+
const createGalleryForm_1 = __importDefault(require("../../../../modules/gallery/ui/createGalleryForm"));
|
|
10
|
+
const ui_1 = require("../../../../store/ui");
|
|
11
|
+
const useAddCreationsToGallery_1 = require("../../../../api/server-galleries/mutations/useAddCreationsToGallery");
|
|
12
|
+
const useCreateFavorites_1 = require("../../../../api/server-galleries/mutations/useCreateFavorites");
|
|
13
|
+
// Component
|
|
14
|
+
const AddCreationToFavoriteList = ({ ids, currentMyGalleryId, }) => {
|
|
15
|
+
const [isNeedAddFavList, setAddFavList] = (0, react_1.useState)(false);
|
|
16
|
+
const closeModalSidebarPortal = (0, ui_1.useUiStore)((state) => state.closeModalSidebarPortal);
|
|
17
|
+
const { createFavorites, errorCreateFavorites } = (0, useCreateFavorites_1.useCreateFavoriteListV2)();
|
|
18
|
+
const { addCreationsToGallery, isAdded, error } = (0, useAddCreationsToGallery_1.useAddCreationsToGalleryV2)();
|
|
19
|
+
const addMethod = async (galleryId, ids) => {
|
|
20
|
+
await addCreationsToGallery({ galleryId, creationIds: ids });
|
|
21
|
+
setTimeout(() => closeModalSidebarPortal(), 900);
|
|
22
|
+
};
|
|
23
|
+
return ((0, jsx_runtime_1.jsx)("div", { children: isNeedAddFavList ? ((0, jsx_runtime_1.jsx)(createGalleryForm_1.default, { setAddGallery: setAddFavList, title: 'Create Favourite List', inputPlaceHolderText: 'List Name',
|
|
24
|
+
// ids={ids}
|
|
25
|
+
createMethod: createFavorites, error: errorCreateFavorites })) : ((0, jsx_runtime_1.jsx)(chooseGalleryItems_1.default, { setAddGallery: setAddFavList, title: 'Add to Favourite List', titleBtn: '+ New Favourite List', ids: ids, addMethod: addMethod, isAdded: isAdded, error: error, currentMyGalleryId: currentMyGalleryId })) }));
|
|
26
|
+
};
|
|
27
|
+
// Export
|
|
28
|
+
exports.default = AddCreationToFavoriteList;
|