@ludo.ninja/components 1.9.2 → 1.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/CreationCard/{CardHead.js → CardHead.jsx} +27 -20
- package/dist/components/CreationCard/index.d.ts +1 -1
- package/dist/components/CreationCard/{index.js → index.jsx} +22 -27
- package/dist/components/addWalletsRedirectPage/{index.js → index.jsx} +18 -11
- package/dist/components/banner/{index.js → index.jsx} +23 -17
- package/dist/components/base/Meta/index.jsx +64 -0
- package/dist/components/base/NoSSR/{index.js → index.jsx} +1 -1
- package/dist/components/collectionPage/collectionLike/{index.js → index.jsx} +9 -5
- package/dist/components/deleteDialog/{index.js → index.jsx} +23 -18
- package/dist/components/favoriteList/add/addAssetToFavoriteList/{index.js → index.jsx} +5 -3
- package/dist/components/favoriteList/add/addCollectionToFavoriteList/{index.js → index.jsx} +4 -2
- package/dist/components/favoriteList/add/addCreationToFavoriteList/{index.js → index.jsx} +5 -3
- package/dist/components/filters/applyResetBtns/{index.js → index.jsx} +8 -5
- package/dist/components/filters/galleriesFiltersForm/{index.js → index.jsx} +14 -5
- package/dist/components/filters/{index.js → index.jsx} +37 -29
- package/dist/components/filters/mobileFilters/{index.js → index.jsx} +1 -1
- package/dist/components/filters/setsFiltersForm/{index.js → index.jsx} +11 -4
- package/dist/components/forms/form/{index.js → index.jsx} +46 -36
- package/dist/components/forms/formsNavigation/{index.js → index.jsx} +15 -7
- package/dist/components/forms/formsTemplate/{index.js → index.jsx} +7 -6
- package/dist/components/gallery/add/addAssetToGallery/{index.js → index.jsx} +5 -3
- package/dist/components/gallery/add/addCreationToGallery/{index.js → index.jsx} +9 -8
- package/dist/components/gradientLabel/{index.js → index.jsx} +1 -1
- package/dist/components/headers/components/headerExperienceLabel/{index.js → index.jsx} +6 -5
- package/dist/components/headers/components/headerUserPic/{index.js → index.jsx} +5 -4
- package/dist/components/headers/header/{index.js → index.jsx} +7 -7
- package/dist/components/headers/headerSearch/{index.js → index.jsx} +8 -8
- package/dist/components/headers/headerSimple/{index.js → index.jsx} +6 -4
- package/dist/components/inviteCodesForms/getEarlyAccessForm/{index.js → index.jsx} +27 -17
- package/dist/components/inviteCodesForms/joinWaitListForm/{index.js → index.jsx} +22 -11
- package/dist/components/inviteCodesPage/components/inviteCodes/{index.js → index.jsx} +2 -2
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCode/{index.js → index.jsx} +4 -3
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCode/loader/{index.js → index.jsx} +7 -6
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/{index.js → index.jsx} +2 -2
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/loader/{index.js → index.jsx} +1 -1
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCopy/{index.js → index.jsx} +9 -4
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeDate/{index.js → index.jsx} +3 -1
- package/dist/components/inviteCodesPage/wrappers/resumeCodes/{index.js → index.jsx} +30 -20
- package/dist/components/inviteCodesPage/wrappers/resumeCodes/loader/index.jsx +18 -0
- package/dist/components/inviteCodesPage/wrappers/unusedCodes/{index.js → index.jsx} +6 -4
- package/dist/components/inviteCodesPage/wrappers/usedCodes/{index.js → index.jsx} +9 -6
- package/dist/components/linkTabs/{index.js → index.jsx} +4 -2
- package/dist/components/linkTabs/linkTab/{index.js → index.jsx} +8 -6
- package/dist/components/myWallets/{index.js → index.jsx} +5 -4
- package/dist/components/myWallets/myWalletItem/{index.js → index.jsx} +30 -23
- package/dist/components/navigation/{index.js → index.jsx} +30 -12
- package/dist/components/profile/MultiversXAudit/{MultiversXAudit.js → MultiversXAudit.jsx} +18 -13
- package/dist/components/profile/{ProfileTabs.js → ProfileTabs.jsx} +22 -20
- package/dist/components/profile/aboutText/{index.js → index.jsx} +31 -22
- package/dist/components/profile/addToGalleryBtns/{index.js → index.jsx} +13 -10
- package/dist/components/profile/followersSocial/followers/{index.js → index.jsx} +4 -3
- package/dist/components/profile/followersSocial/{index.js → index.jsx} +7 -6
- package/dist/components/profile/followersSocial/social/{index.js → index.jsx} +9 -7
- package/dist/components/profile/index.d.ts +1 -1
- package/dist/components/profile/index.js +1 -1
- package/dist/components/profile/info/{index.js → index.jsx} +12 -9
- package/dist/components/profile/interests/{index.js → index.jsx} +30 -15
- package/dist/components/profile/pageHead/index.jsx +52 -0
- package/dist/components/profile/profileSkeleton/{index.js → index.jsx} +16 -10
- package/dist/components/profile/profileUserCards/{index.js → index.jsx} +1 -1
- package/dist/components/profile/profileUserCards/profileUserCard/{index.js → index.jsx} +27 -22
- package/dist/components/profile/rank/{index.js → index.jsx} +16 -8
- package/dist/components/profile/stats/{index.js → index.jsx} +13 -5
- package/dist/components/profile/wallets/{index.js → index.jsx} +30 -22
- package/dist/components/profile/wrapper/{index.js → index.jsx} +12 -4
- package/dist/components/registrationPage/registrationSelectBox/{index.js → index.jsx} +3 -2
- package/dist/components/registrationPage/registrationSelection/{index.js → index.jsx} +30 -16
- package/dist/components/rewards/FAQ/{index.js → index.jsx} +21 -13
- package/dist/components/rewards/clarifications/{index.js → index.jsx} +26 -16
- package/dist/components/rewards/logoBottom/{index.js → index.jsx} +7 -6
- package/dist/components/rewards/prograssBar/{index.js → index.jsx} +6 -4
- package/dist/components/rewards/rewardsButton/{index.js → index.jsx} +1 -1
- package/dist/components/rewards/seasonBanner/{index.js → index.jsx} +4 -3
- package/dist/components/rewards/taskExpTab/{index.js → index.jsx} +32 -20
- package/dist/components/rewards/tasksGrid/{index.js → index.jsx} +7 -4
- package/dist/components/rewards/userExp/{index.js → index.jsx} +30 -24
- package/dist/components/search/{SearchInputContainer.js → SearchInputContainer.jsx} +100 -98
- package/dist/components/search/{index.js → index.jsx} +13 -11
- package/dist/components/search/searchCategories/{index.js → index.jsx} +10 -6
- package/dist/components/search/searchCloseMoreButtons/{index.js → index.jsx} +16 -13
- package/dist/components/search/searchResultCaption/{index.js → index.jsx} +7 -4
- package/dist/components/search/searchSelectsGalleries/{index.js → index.jsx} +31 -15
- package/dist/components/search/searchSelectsSets/{index.js → index.jsx} +28 -15
- package/dist/components/search/searchSimpleInput/{index.js → index.jsx} +12 -10
- package/dist/components/search/searchSuggestions/index.jsx +124 -0
- package/dist/components/search/searchSuggestions/searchSuggestionsCaption/{index.js → index.jsx} +5 -4
- package/dist/components/search/searchSuggestions/searchSuggestionsFooter/{index.js → index.jsx} +8 -7
- package/dist/components/search/searchSuggestions/searchSuggestionsItem/{index.js → index.jsx} +19 -12
- package/dist/components/search/searchSuggestions/searchSuggestionsItem/searchSuggestionsItemSkeleton/{index.js → index.jsx} +15 -8
- package/dist/components/search/searchSuggestions/searchSuggestionsNotFound/{index.js → index.jsx} +4 -6
- package/dist/components/shareDialog/index.jsx +91 -0
- package/dist/components/showcaseAssets/showcaseSort/{index.js → index.jsx} +6 -4
- package/dist/components/sidebar/{data.js → data.jsx} +8 -8
- package/dist/components/sidebar/{index.js → index.jsx} +33 -26
- package/dist/components/sidebar/{initializer.js → initializer.jsx} +1 -1
- package/dist/components/sidebar/sidebarFilters/{index.js → index.jsx} +9 -6
- package/dist/components/sidebar/sidebarInviteCodeLabel/{index.js → index.jsx} +5 -4
- package/dist/components/socialButtons/{data.js → data.jsx} +6 -6
- package/dist/components/socialButtons/icons/discord.jsx +8 -0
- package/dist/components/socialButtons/icons/facebook.jsx +9 -0
- package/dist/components/socialButtons/icons/instagram.jsx +10 -0
- package/dist/components/socialButtons/icons/medium.jsx +8 -0
- package/dist/components/socialButtons/icons/telegram.jsx +8 -0
- package/dist/components/socialButtons/icons/twitter.jsx +8 -0
- package/dist/components/socialButtons/{index.js → index.jsx} +8 -5
- package/dist/components/tabs/icons/bell.jsx +10 -0
- package/dist/components/tabs/icons/profile.jsx +10 -0
- package/dist/components/tabs/icons/secure.jsx +9 -0
- package/dist/components/tabs/{index.js → index.jsx} +13 -10
- package/dist/components/toTopBtn/{index.js → index.jsx} +9 -7
- package/dist/dto/AssetEntity/views/AssetAudio/{index.js → index.jsx} +1 -1
- package/dist/dto/AssetEntity/views/AssetImage/{index.js → index.jsx} +2 -2
- package/dist/dto/AssetEntity/views/AssetObject/{index.js → index.jsx} +3 -3
- package/dist/dto/AssetEntity/views/AssetOther/{index.js → index.jsx} +3 -3
- package/dist/dto/AssetEntity/views/AssetScreenshot/{index.js → index.jsx} +2 -2
- package/dist/dto/AssetEntity/views/AssetVideo/{index.js → index.jsx} +1 -1
- package/dist/dto/common/ItemViews/CreationAudio/{index.js → index.jsx} +1 -1
- package/dist/dto/common/ItemViews/CreationImage/{index.js → index.jsx} +2 -2
- package/dist/dto/common/ItemViews/CreationObject/{index.js → index.jsx} +1 -1
- package/dist/dto/common/ItemViews/CreationOther/{index.js → index.jsx} +1 -1
- package/dist/dto/common/ItemViews/CreationVideo/{index.js → index.jsx} +1 -1
- package/dist/dto/common/Media/Audio/{index.js → index.jsx} +3 -3
- package/dist/dto/common/Media/Image/{index.js → index.jsx} +4 -4
- package/dist/dto/common/Media/Object/{index.js → index.jsx} +3 -3
- package/dist/dto/common/Media/Other/{index.js → index.jsx} +3 -3
- package/dist/dto/common/Media/Screenshot/{index.js → index.jsx} +4 -4
- package/dist/dto/common/Media/Video/{index.js → index.jsx} +3 -3
- package/dist/fonts/{FontsInitializeLayout.js → FontsInitializeLayout.jsx} +4 -1
- package/dist/hooks/apollo/index.d.ts +1 -4
- package/dist/hooks/apollo/{index.js → index.jsx} +1 -1
- package/dist/hooks/likes/dynamic/{useFindCollectionsAndLikes.js → useFindCollectionsAndLikes.jsx} +1 -1
- package/dist/hooks/searchFiltersConnector/{index.js → index.jsx} +35 -33
- package/dist/hooks/useToGalleryAsset/{index.js → index.jsx} +1 -1
- package/dist/layouts/GlobalLayout.jsx +49 -0
- package/dist/layouts/base/LWithRegularHeader/{index.js → index.jsx} +5 -4
- package/dist/layouts/base/LWithSearchHeader/{index.js → index.jsx} +5 -4
- package/dist/layouts/base/LWithSimpleHeader/{index.js → index.jsx} +5 -4
- package/dist/layouts/base/LWithoutHeader/{index.js → index.jsx} +4 -3
- package/dist/layouts/custom/accountLayout/index.d.ts +1 -1
- package/dist/layouts/custom/accountLayout/index.jsx +28 -0
- package/dist/layouts/custom/formsLayout/index.d.ts +1 -1
- package/dist/layouts/custom/formsLayout/{index.js → index.jsx} +8 -6
- package/dist/layouts/custom/mainLayout/index.d.ts +1 -1
- package/dist/layouts/custom/mainLayout/{index.js → index.jsx} +12 -9
- package/dist/layouts/custom/searchLayout/index.d.ts +1 -1
- package/dist/layouts/custom/searchLayout/{index.js → index.jsx} +11 -8
- package/dist/layouts/custom/simpleLayout/index.d.ts +1 -1
- package/dist/layouts/custom/simpleLayout/{index.js → index.jsx} +12 -9
- package/dist/layouts/custom/styles.js +1 -1
- package/dist/layouts/pageTransitionLayout.jsx +27 -0
- package/dist/modules/notifications/{CreatorNotifications.js → CreatorNotifications.jsx} +4 -2
- package/dist/modules/sessionScroll/useVirtuosoInitialScroll.d.ts +2 -2
- package/dist/modules/sessionScroll/useVirtuosoInitialScroll.js +1 -1
- package/dist/modules/user/profileData/{profileDataInitialization.js → profileDataInitialization.jsx} +3 -3
- package/dist/modules/virtuoso/VirtuosoPageBuilder.d.ts +2 -2
- package/dist/modules/virtuoso/{VirtuosoPageBuilder.js → VirtuosoPageBuilder.jsx} +27 -22
- package/dist/modules/virtuoso/{VirtuosoToTopBtn.js → VirtuosoToTopBtn.jsx} +2 -2
- package/dist/pages/index.jsx +18 -0
- package/dist/store/ui/index.js +1 -1
- package/dist/store/ui/utils.d.ts +1 -1
- package/dist/system/ActiveLink/{index.js → index.jsx} +5 -14
- package/dist/system/Alert/{index.js → index.jsx} +2 -2
- package/dist/system/BasicOverlay/{index.js → index.jsx} +1 -1
- package/dist/system/Cards/CardCheckbox/{index.js → index.jsx} +7 -5
- package/dist/system/Cards/CardContent/CardCategory/{index.js → index.jsx} +6 -4
- package/dist/system/Cards/CardContent/CardLikes/{index.js → index.jsx} +11 -7
- package/dist/system/Cards/CardContent/CardShowMore/{index.js → index.jsx} +11 -8
- package/dist/system/Cards/CardContent/{index.js → index.jsx} +31 -17
- package/dist/system/Cards/CardHeadIcons/{index.js → index.jsx} +25 -18
- package/dist/system/Cards/CardMedia/CardAudio/{index.js → index.jsx} +8 -7
- package/dist/system/Cards/CardMedia/CardImage/{index.js → index.jsx} +5 -4
- package/dist/system/Cards/CardMedia/CardVideo/{index.js → index.jsx} +11 -9
- package/dist/system/Cards/CardRank/{index.js → index.jsx} +13 -7
- package/dist/system/Cards/CardsGrid/{index.js → index.jsx} +14 -9
- package/dist/system/Cards/HideLink/index.jsx +22 -0
- package/dist/system/Cards/MultiMediaCard/{index.js → index.jsx} +18 -12
- package/dist/system/Cards/RegularCard/{index.js → index.jsx} +18 -12
- package/dist/system/Cards/Styles/Head.js +1 -1
- package/dist/system/Cards/Styles/Headicons.js +1 -1
- package/dist/system/Cards/Styles/Image.js +1 -1
- package/dist/system/Cards/Styles/Likes.js +2 -2
- package/dist/system/Cards/Styles/MultiHead.js +1 -1
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsError/{index.js → index.jsx} +6 -3
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsNoResults/{index.js → index.jsx} +4 -3
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsSkeleton/{index.js → index.jsx} +17 -11
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/{index.js → index.jsx} +9 -5
- package/dist/system/CardsHolderWithSkeleton/CardsHolderLoader/{index.js → index.jsx} +5 -4
- package/dist/system/CardsHolderWithSkeleton/{index.js → index.jsx} +6 -3
- package/dist/system/DropDown/{DropDown.test.js → DropDown.test.jsx} +11 -7
- package/dist/system/DropDown/{index.js → index.jsx} +13 -10
- package/dist/system/Forms/Checkbox/{Checkbox.test.js → Checkbox.test.jsx} +2 -13
- package/dist/system/Forms/Checkbox/{index.js → index.jsx} +15 -23
- package/dist/system/Forms/DatePicker/{index.js → index.jsx} +8 -7
- package/dist/system/Forms/ErrorLabel/{ErrorLabel.test.js → ErrorLabel.test.jsx} +2 -2
- package/dist/system/Forms/ErrorLabel/{index.js → index.jsx} +2 -2
- package/dist/system/Forms/Input/{Input.test.js → Input.test.jsx} +2 -2
- package/dist/system/Forms/Input/{index.js → index.jsx} +6 -16
- package/dist/system/Forms/RadioInput/{index.js → index.jsx} +6 -16
- package/dist/system/Forms/Selects/DesktopSelect/{index.js → index.jsx} +15 -25
- package/dist/system/Forms/Selects/MobileSelect/{index.js → index.jsx} +3 -1
- package/dist/system/Forms/TextArea/{index.js → index.jsx} +6 -16
- package/dist/system/Img/ExternalImage/{index.js → index.jsx} +1 -12
- package/dist/system/Img/ImageInterceptor/{ImageInterceptor.test.js → ImageInterceptor.test.jsx} +14 -10
- package/dist/system/Img/ImageInterceptor/{index.js → index.jsx} +5 -4
- package/dist/system/Img/Profilepic/{index.js → index.jsx} +9 -8
- package/dist/system/Img/Userpic/{UserPic.test.js → UserPic.test.jsx} +8 -6
- package/dist/system/Img/Userpic/{index.js → index.jsx} +16 -13
- package/dist/system/Labels/ExperienceLabel/{ExperienceLabel.test.js → ExperienceLabel.test.jsx} +6 -16
- package/dist/system/Labels/ExperienceLabel/{index.js → index.jsx} +7 -8
- package/dist/system/Labels/InviteLabel/{InviteLabel.test.js → InviteLabel.test.jsx} +5 -15
- package/dist/system/Labels/InviteLabel/{index.js → index.jsx} +4 -3
- package/dist/system/Modals/Modal/{Modal.test.js → Modal.test.jsx} +5 -5
- package/dist/system/Modals/Modal/{index.js → index.jsx} +6 -5
- package/dist/system/Modals/ModalSidebar/{CreatorModalSidebarPortal.js → CreatorModalSidebarPortal.jsx} +2 -2
- package/dist/system/Modals/ModalSidebar/{ModalSidebar.test.js → ModalSidebar.test.jsx} +4 -4
- package/dist/system/Modals/ModalSidebar/{ModalSidebarPortal.js → ModalSidebarPortal.jsx} +6 -4
- package/dist/system/Modals/ModalSidebar/{index.js → index.jsx} +6 -5
- package/dist/system/Overlay/{Overlay.test.js → Overlay.test.jsx} +5 -4
- package/dist/system/Overlay/{index.js → index.jsx} +4 -3
- package/dist/system/{ShareIconResize.js → ShareIconResize.jsx} +8 -7
- package/dist/system/Tabs/TabNavLink/{TabNavLink.test.js → TabNavLink.test.jsx} +3 -3
- package/dist/system/Tabs/TabNavLink/index.d.ts +1 -1
- package/dist/system/Tabs/TabNavLink/{index.js → index.jsx} +6 -4
- package/dist/system/Tabs/TabsNav/{TabsNav.test.js → TabsNav.test.jsx} +4 -4
- package/dist/system/Tabs/TabsNav/{index.js → index.jsx} +2 -2
- package/dist/system/Tabs/TabsPanel/{TabsPanel.test.js → TabsPanel.test.jsx} +12 -8
- package/dist/system/Tabs/TabsPanel/{index.js → index.jsx} +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utils/adaptive/check4k.js +1 -1
- package/dist/utils/adaptive/scale.d.ts +1 -1
- package/dist/utils/adaptive/scale.js +1 -1
- package/dist/utils/copyBtn/{index.js → index.jsx} +7 -4
- package/package.json +2 -2
- package/dist/components/base/Meta/index.js +0 -60
- package/dist/components/inviteCodesPage/wrappers/resumeCodes/loader/index.js +0 -17
- package/dist/components/profile/pageHead/index.js +0 -51
- package/dist/components/search/searchSuggestions/index.js +0 -117
- package/dist/components/shareDialog/index.js +0 -73
- package/dist/components/socialButtons/icons/discord.js +0 -7
- package/dist/components/socialButtons/icons/facebook.js +0 -8
- package/dist/components/socialButtons/icons/instagram.js +0 -9
- package/dist/components/socialButtons/icons/medium.js +0 -7
- package/dist/components/socialButtons/icons/telegram.js +0 -7
- package/dist/components/socialButtons/icons/twitter.js +0 -7
- package/dist/components/tabs/icons/bell.js +0 -9
- package/dist/components/tabs/icons/profile.js +0 -9
- package/dist/components/tabs/icons/secure.js +0 -8
- package/dist/layouts/GlobalLayout.js +0 -48
- package/dist/layouts/custom/accountLayout/index.js +0 -23
- package/dist/layouts/pageTransitionLayout.js +0 -24
- package/dist/pages/index.js +0 -16
- package/dist/system/Cards/HideLink/index.js +0 -27
- /package/dist/components/headers/components/MobileToggle/{index.js → index.jsx} +0 -0
- /package/dist/components/inviteCodesPage/components/{index.js → index.jsx} +0 -0
- /package/dist/components/inviteCodesPage/wrappers/{index.js → index.jsx} +0 -0
- /package/dist/components/profile/jsonLd/{index.js → index.jsx} +0 -0
- /package/dist/components/registrationPage/{index.js → index.jsx} +0 -0
- /package/dist/dto/common/ItemType/{index.js → index.jsx} +0 -0
- /package/dist/dto/common/Media/{index.js → index.jsx} +0 -0
- /package/dist/hooks/audio/useMultiAudio/{index.js → index.jsx} +0 -0
- /package/dist/hooks/likes/dynamic/{useFindCreationsAndLikes.js → useFindCreationsAndLikes.jsx} +0 -0
- /package/dist/hooks/likes/dynamic/{useGetCollectionInfoAndLikes.js → useGetCollectionInfoAndLikes.jsx} +0 -0
- /package/dist/hooks/likes/dynamic/{useGetCreationsAndLikes.js → useGetCreationsAndLikes.jsx} +0 -0
- /package/dist/hooks/likes/dynamic/{useGetCreationsAndLikesByType.js → useGetCreationsAndLikesByType.jsx} +0 -0
- /package/dist/hooks/likes/dynamic/{useGetMixedLikesFavoriteList.js → useGetMixedLikesFavoriteList.jsx} +0 -0
- /package/dist/hooks/likes/dynamic/{useGetTableLikes.js → useGetTableLikes.jsx} +0 -0
- /package/dist/modules/notifications/{index.js → index.jsx} +0 -0
- /package/dist/modules/user/{store.js → store.jsx} +0 -0
- /package/dist/styles/animations/{index.js → index.jsx} +0 -0
- /package/dist/styles/{globalStyles.js → globalStyles.jsx} +0 -0
- /package/dist/styles/mixins/{boxShadow.js → boxShadow.jsx} +0 -0
- /package/dist/styles/mixins/{boxTransform.js → boxTransform.jsx} +0 -0
- /package/dist/styles/mixins/{z-indexes.js → z-indexes.jsx} +0 -0
- /package/dist/styles/typography/{index.js → index.jsx} +0 -0
- /package/dist/system/Buttons/IconButton/{index.js → index.jsx} +0 -0
- /package/dist/system/Buttons/IconWithButton/{index.js → index.jsx} +0 -0
- /package/dist/system/Buttons/MainButton/{index.js → index.jsx} +0 -0
- /package/dist/system/Buttons/SecondaryButton/{index.js → index.jsx} +0 -0
- /package/dist/system/Flex/{index.js → index.jsx} +0 -0
- /package/dist/system/Labels/SkeletonLabel/{index.js → index.jsx} +0 -0
- /package/dist/system/PageLoader/{index.js → index.jsx} +0 -0
- /package/dist/system/Palete/{index.js → index.jsx} +0 -0
- /package/dist/system/Text/{index.js → index.jsx} +0 -0
- /package/dist/utils/extractItemIds/{index.js → index.jsx} +0 -0
- /package/dist/utils/imageProportionsSize/{index.js → index.jsx} +0 -0
- /package/dist/utils/ui/{index.js → index.jsx} +0 -0
|
@@ -36,7 +36,7 @@ var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
|
36
36
|
var store_1 = require("@/modules/user/store");
|
|
37
37
|
var ui_1 = require("@/store/ui");
|
|
38
38
|
var useGetMyInviteCodes_1 = require("@/api/server-identities/queries/useGetMyInviteCodes");
|
|
39
|
-
var styles_1 = require("@ludo.ninja/components/
|
|
39
|
+
var styles_1 = require("@ludo.ninja/components/dist/styles");
|
|
40
40
|
var ExperienceLabel_1 = __importDefault(require("@/system/Labels/ExperienceLabel"));
|
|
41
41
|
var InviteLabel_1 = __importDefault(require("@/system/Labels/InviteLabel"));
|
|
42
42
|
// Styles
|
|
@@ -58,9 +58,10 @@ var SidebarInviteCodeLabel = function () {
|
|
|
58
58
|
}
|
|
59
59
|
}, [isSidebarOpen, isLoadingProfileData]);
|
|
60
60
|
var unUsedInviteCodes = myInviteCodes === null || myInviteCodes === void 0 ? void 0 : myInviteCodes.filter(function (code) { return !code.isUsed; });
|
|
61
|
-
return (
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
return (<StyledSidebarInviteCodeLabel>
|
|
62
|
+
<ExperienceLabel_1.default value={userExp.xps} link={"/rewards/".concat(getUser === null || getUser === void 0 ? void 0 : getUser.userId)} loading={isLoadingExp || !!errorExp}/>
|
|
63
|
+
<InviteLabel_1.default value={unUsedInviteCodes === null || unUsedInviteCodes === void 0 ? void 0 : unUsedInviteCodes.length} link={'/invite-codes'} loading={loadingMyInviteCodes || errorMyInviteCodes}/>
|
|
64
|
+
</StyledSidebarInviteCodeLabel>);
|
|
64
65
|
};
|
|
65
66
|
// Export
|
|
66
67
|
exports.default = SidebarInviteCodeLabel;
|
|
@@ -16,37 +16,37 @@ var data = [
|
|
|
16
16
|
id: Math.random(),
|
|
17
17
|
label: 'Facebook',
|
|
18
18
|
onClickHandler: function () { return alert('connect to Facebook'); },
|
|
19
|
-
icon:
|
|
19
|
+
icon: <facebook_1.default />,
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
id: Math.random(),
|
|
23
23
|
label: 'Twitter',
|
|
24
24
|
onClickHandler: function () { return alert('connect to Twitter'); },
|
|
25
|
-
icon:
|
|
25
|
+
icon: <twitter_1.default />,
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
id: Math.random(),
|
|
29
29
|
label: 'Discord',
|
|
30
30
|
onClickHandler: function () { return alert('connect to Discord'); },
|
|
31
|
-
icon:
|
|
31
|
+
icon: <discord_1.default />,
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
id: Math.random(),
|
|
35
35
|
label: 'Instagram',
|
|
36
36
|
onClickHandler: function () { return alert('connect to Instagram'); },
|
|
37
|
-
icon:
|
|
37
|
+
icon: <instagram_1.default />,
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
40
|
id: Math.random(),
|
|
41
41
|
label: 'Telegram',
|
|
42
42
|
onClickHandler: function () { return alert('connect to Telegram'); },
|
|
43
|
-
icon:
|
|
43
|
+
icon: <telegram_1.default />,
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
id: Math.random(),
|
|
47
47
|
label: 'Medium',
|
|
48
48
|
onClickHandler: function () { return alert('connect to Medium'); },
|
|
49
|
-
icon:
|
|
49
|
+
icon: <medium_1.default />,
|
|
50
50
|
},
|
|
51
51
|
];
|
|
52
52
|
exports.default = data;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var DiscordIcon = function () {
|
|
4
|
+
return (<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
5
|
+
<path d="M19.2727 4.875C19.2727 4.875 17.1886 3.19312 14.7273 3L14 4.07317C13.3944 3.98624 12.7334 3.9375 12 3.9375C11.2666 3.9375 10.6056 3.98624 10 4.07317L9.27273 3C6.69045 3.25172 4.72727 4.875 4.72727 4.875C4.72727 4.875 2.39955 8.35547 2 15.1875C4.34636 17.978 7.90909 18 7.90909 18L8.65409 16.9758C7.38955 16.5225 5.96136 15.713 4.72727 14.25C6.19909 15.3984 8.42045 16.5938 12 16.5938C15.5795 16.5938 17.8009 15.3984 19.2727 14.25C18.0386 15.713 16.6105 16.5225 15.3459 16.9758L16.0909 18C16.0909 18 19.6536 17.978 22 15.1875C21.6005 8.35547 19.2727 4.875 19.2727 4.875ZM9.04545 13.3125C8.16682 13.3125 7.45455 12.473 7.45455 11.4375C7.45455 10.402 8.16682 9.5625 9.04545 9.5625C9.92409 9.5625 10.6364 10.402 10.6364 11.4375C10.6364 12.473 9.92409 13.3125 9.04545 13.3125ZM14.9545 13.3125C14.0759 13.3125 13.3636 12.473 13.3636 11.4375C13.3636 10.402 14.0759 9.5625 14.9545 9.5625C15.8332 9.5625 16.5455 10.402 16.5455 11.4375C16.5455 12.473 15.8332 13.3125 14.9545 13.3125Z" fill="#C1C8DE"/>
|
|
6
|
+
</svg>);
|
|
7
|
+
};
|
|
8
|
+
exports.default = DiscordIcon;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var FacebookIcon = function () {
|
|
4
|
+
return (<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
5
|
+
<circle cx="12" cy="12" r="10" fill="#C1C8DE"/>
|
|
6
|
+
<path d="M13.1043 14.9097H15.5858L15.9755 12.3735H13.1043V10.9871C13.1043 9.93367 13.4466 8.99933 14.4261 8.99933H16V6.78625C15.7234 6.74863 15.1385 6.66663 14.0334 6.66663C11.7255 6.66663 10.3726 7.89279 10.3726 10.6866V12.3739H8V14.9102H10.3721V22C10.9077 22 11.318 22 11.8066 22C12.2481 22 12.7055 22 13.1043 22V14.9097Z" fill="white"/>
|
|
7
|
+
</svg>);
|
|
8
|
+
};
|
|
9
|
+
exports.default = FacebookIcon;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var InstagramIcon = function () {
|
|
4
|
+
return (<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
5
|
+
<path d="M16.6154 22H7.38462C4.41615 22 2 19.5846 2 16.6154V7.38462C2 4.41538 4.41615 2 7.38462 2H16.6154C19.5838 2 22 4.41538 22 7.38462V16.6154C22 19.5846 19.5838 22 16.6154 22Z" fill="#C1C8DE"/>
|
|
6
|
+
<path d="M17.909 7.45457C18.6622 7.45457 19.2727 6.84405 19.2727 6.09093C19.2727 5.33782 18.6622 4.72729 17.909 4.72729C17.1559 4.72729 16.5454 5.33782 16.5454 6.09093C16.5454 6.84405 17.1559 7.45457 17.909 7.45457Z" fill="white"/>
|
|
7
|
+
<circle cx="12" cy="12" r="4.45455" stroke="white" strokeWidth="2"/>
|
|
8
|
+
</svg>);
|
|
9
|
+
};
|
|
10
|
+
exports.default = InstagramIcon;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var MediumIcon = function () {
|
|
4
|
+
return (<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
5
|
+
<path d="M20.786 5.87617L22 4.34783V4H17.3347L12.4807 15.2577L7.398 4H2.66667V4.34783L3.90533 6.08696C3.96667 6.16278 4 6.25809 4 6.35687V16.8696C4 17.0233 3.94867 17.1729 3.85533 17.2925L2 19.6842V20H7.33333V19.6842L5.47667 17.2786C5.384 17.159 5.33333 17.0108 5.33333 16.8577V7.73913L10.8693 20H11.8987L17.3333 7.39409V17.7391C17.3333 17.8504 17.2907 17.9576 17.214 18.0369L15.3333 19.6842V20H22V19.6842L20.786 18.0369C20.7093 17.9576 20.6667 17.8504 20.6667 17.7391V6.17391C20.6667 6.06261 20.7093 5.95548 20.786 5.87617Z" fill="#C1C8DE"/>
|
|
6
|
+
</svg>);
|
|
7
|
+
};
|
|
8
|
+
exports.default = MediumIcon;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var TelegramIcon = function () {
|
|
4
|
+
return (<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
5
|
+
<path d="M18.8367 19.7717L21.9583 3.83334C21.9583 3.83334 22 3.625 22 3.41667C22 3.10417 21.7225 3 21.4792 3C21.0833 2.99917 20.5408 3.195 20.5408 3.195L2.7775 10.2517C2.7775 10.2517 2 10.5 2 11.0208C2 11.6458 2.75583 11.8642 2.75583 11.8642C2.75583 11.8642 4.89207 12.8768 6.33864 12.817C6.83592 12.7965 7.25 12.8 7.6 12.6348C7.95 12.4696 16.4039 7.36106 16.7 7.2C17.05 7.00962 17.2633 7.06332 17.4 7.2C17.5367 7.33668 17.6598 7.6376 17.4 7.9C17.1824 8.11972 11.1886 13.85 10.7943 14.2C10.4 14.55 11.1 15.25 11.1 15.25L17.0717 20.2717C17.0717 20.2717 17.3192 20.5 17.7992 20.5C18.7025 20.5 18.8367 19.7717 18.8367 19.7717Z" fill="#C1C8DE"/>
|
|
6
|
+
</svg>);
|
|
7
|
+
};
|
|
8
|
+
exports.default = TelegramIcon;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var TwitterIcon = function () {
|
|
4
|
+
return (<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
5
|
+
<path d="M11.3485 8.22848C11.3485 5.89642 13.2928 4 15.6838 4C16.8254 4 17.8452 4.47525 18.6199 5.18203C19.4179 5.01295 20.1738 4.73572 20.8562 4.3412C20.9983 4.25743 21.1795 4.26961 21.3091 4.36862C21.4387 4.46915 21.4934 4.63823 21.4434 4.79208C21.2966 5.24143 21.053 5.64052 20.7688 6.01066C20.9843 5.93907 21.2248 5.92993 21.4309 5.84006C21.5934 5.76542 21.7886 5.80655 21.9041 5.94059C22.0213 6.07464 22.0322 6.26809 21.9307 6.4128C21.4184 7.16222 20.7641 7.8035 20.0316 8.35034C20.0348 8.46001 20.0441 8.56816 20.0441 8.67936C20.0441 11.3145 19.0212 14.1356 17.0581 16.3077C15.0951 18.4798 12.1684 20 8.43748 20C6.13552 20 3.99441 19.3374 2.19063 18.2087C2.02977 18.1127 1.95949 17.9193 2.02352 17.7456C2.08599 17.572 2.26559 17.4653 2.453 17.4897C2.74347 17.5232 3.03551 17.5385 3.34005 17.5385C4.74715 17.5385 6.78261 17.0526 7.65217 15.7895C2.91134 12.971 1.56522 9.89474 3.39002 4.90175C3.45562 4.78903 3.57431 4.71439 3.70705 4.70526C3.84136 4.69612 3.96942 4.75095 4.05219 4.85301C5.82786 6.97791 8.44217 8.3671 11.3985 8.6428C11.3844 8.50571 11.3485 8.36862 11.3485 8.22848Z" fill="#C1C8DE"/>
|
|
6
|
+
</svg>);
|
|
7
|
+
};
|
|
8
|
+
exports.default = TwitterIcon;
|
|
@@ -20,12 +20,15 @@ var StyledSocialButton = styled_components_1.default.button(templateObject_3 ||
|
|
|
20
20
|
// Components
|
|
21
21
|
var SocialButtons = function () {
|
|
22
22
|
var renderButtons = function () {
|
|
23
|
-
return data_1.default.map(function (button) { return (
|
|
24
|
-
|
|
23
|
+
return data_1.default.map(function (button) { return (<StyledSocialButton key={button.id} onClick={button.onClickHandler} type={'button'}>
|
|
24
|
+
{button.icon}
|
|
25
|
+
{"Connect ".concat(button.label)}
|
|
26
|
+
</StyledSocialButton>); });
|
|
25
27
|
};
|
|
26
|
-
return (
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
return (<_system_1.Box mt={45}>
|
|
29
|
+
<StyledCaption>Social links</StyledCaption>
|
|
30
|
+
<StyledSocialButtons>{renderButtons()}</StyledSocialButtons>
|
|
31
|
+
</_system_1.Box>);
|
|
29
32
|
};
|
|
30
33
|
// Export
|
|
31
34
|
exports.default = SocialButtons;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var BellIcon = function (props) {
|
|
4
|
+
return (<svg className={props.customClassName} width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
5
|
+
<path d="M12 3C19 3 19 10 19 10V15H5V10C5 10 5 3 12 3Z" fill="#C1C8DE"/>
|
|
6
|
+
<rect x="3" y="15" width="18" height="2" rx="0.3" fill="#C1C8DE"/>
|
|
7
|
+
<rect x="9" y="19" width="6" height="2" rx="0.3" fill="#C1C8DE"/>
|
|
8
|
+
</svg>);
|
|
9
|
+
};
|
|
10
|
+
exports.default = BellIcon;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var ProfileIcon = function (props) {
|
|
4
|
+
return (<svg className={props.customClassName} width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
5
|
+
<path d="M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z" fill="#C1C8DE"/>
|
|
6
|
+
<path d="M11.9999 18.5C7.99976 18.5 6.11462 15.4342 6.11462 15.4342C7.69253 13.9175 9.74983 13 12 13C14.2502 13 16.3075 13.9175 17.8854 15.4342C17.8854 15.4342 15.9998 18.5 11.9999 18.5Z" fill="#F6F7FD"/>
|
|
7
|
+
<path d="M15 9C15 10.6569 13.6569 12 12 12C10.3431 12 9 10.6569 9 9C9 7.34315 10.3431 6 12 6C13.6569 6 15 7.34315 15 9Z" fill="#F6F7FD"/>
|
|
8
|
+
</svg>);
|
|
9
|
+
};
|
|
10
|
+
exports.default = ProfileIcon;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var SecureIcon = function (props) {
|
|
4
|
+
return (<svg className={props.customClassName} width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
5
|
+
<path d="M4.00136 5.23027C4.0001 5.09261 4.09369 4.97658 4.22724 4.94319L11.9272 3.01819C11.975 3.00625 12.025 3.00625 12.0728 3.01819L19.7728 4.94319C19.9063 4.97658 19.9999 5.09261 19.9986 5.23027C19.9845 6.77686 19.8241 15.6319 18 17C16.2359 18.3231 12.9158 20.4242 12.1571 20.9014C12.06 20.9625 11.94 20.9625 11.8429 20.9014C11.0842 20.4242 7.76405 18.3231 6 17C4.1759 15.6319 4.01547 6.77686 4.00136 5.23027Z" fill="#C1C8DE"/>
|
|
6
|
+
<path d="M9 12.0717L11.1744 14.2461L13.2103 12.2102L15.2461 10.1744" stroke="white" strokeWidth="1.7" strokeLinecap="square"/>
|
|
7
|
+
</svg>);
|
|
8
|
+
};
|
|
9
|
+
exports.default = SecureIcon;
|
|
@@ -22,33 +22,36 @@ var data = [
|
|
|
22
22
|
{
|
|
23
23
|
id: Math.random(),
|
|
24
24
|
title: 'Profile settings',
|
|
25
|
-
icon:
|
|
25
|
+
icon: <profile_1.default customClassName={'profile'}/>,
|
|
26
26
|
link: '/account/settings/profile',
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
29
|
id: Math.random(),
|
|
30
30
|
title: 'Notifications',
|
|
31
|
-
icon:
|
|
31
|
+
icon: <bell_1.default customClassName={'bell'}/>,
|
|
32
32
|
link: '/account/settings/notifications',
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
35
|
id: Math.random(),
|
|
36
36
|
title: 'Privacy',
|
|
37
|
-
icon:
|
|
37
|
+
icon: <secure_1.default customClassName={'secure'}/>,
|
|
38
38
|
link: '/account/settings/privacy',
|
|
39
39
|
},
|
|
40
40
|
];
|
|
41
41
|
// Component
|
|
42
42
|
var Tabs = function () {
|
|
43
43
|
var renderTabItems = function () {
|
|
44
|
-
return data.map(function (dataItem) { return (
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
44
|
+
return data.map(function (dataItem) { return (<ActiveLink_1.default key={dataItem.id} href={dataItem.link} activeClassName={'active'}>
|
|
45
|
+
<StyledTabItem>
|
|
46
|
+
{dataItem.icon}
|
|
47
|
+
<p className={'text'}>{dataItem.title}</p>
|
|
48
|
+
</StyledTabItem>
|
|
49
|
+
</ActiveLink_1.default>); });
|
|
48
50
|
};
|
|
49
|
-
return (
|
|
50
|
-
|
|
51
|
-
|
|
51
|
+
return (<StyledTabs>
|
|
52
|
+
<h3 className={'caption'}>Settings</h3>
|
|
53
|
+
<StyledTabsList>{renderTabItems()}</StyledTabsList>
|
|
54
|
+
</StyledTabs>);
|
|
52
55
|
};
|
|
53
56
|
// Export
|
|
54
57
|
exports.default = Tabs;
|
|
@@ -34,8 +34,8 @@ exports.ToTopBtnWithCustomHandler = void 0;
|
|
|
34
34
|
var react_1 = __importStar(require("react"));
|
|
35
35
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
36
36
|
var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
37
|
-
var styles_1 = require("@ludo.ninja/components/
|
|
38
|
-
var utils_1 = require("@ludo.ninja/components/
|
|
37
|
+
var styles_1 = require("@ludo.ninja/components/dist/styles");
|
|
38
|
+
var utils_1 = require("@ludo.ninja/components/dist/utils");
|
|
39
39
|
var toTopBtn_svg_1 = __importDefault(require("@/public/toTopBtn/toTopBtn.svg"));
|
|
40
40
|
// Styles
|
|
41
41
|
var StyledToTopBnt = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n position: fixed;\n width: 48px;\n height: 48px;\n bottom: 36px;\n right: 24px;\n z-index: ", ";\n cursor: pointer;\n padding: 5px;\n background-color: ", ";\n border-radius: 24px;\n box-shadow: 0 10px 32px -16px rgba(33, 21, 95, 0.1);\n\n &:hover {\n svg path {\n stroke: ", ";\n }\n }\n\n @media (max-width: 767px) {\n position: fixed;\n left: 0;\n right: 0;\n margin: 0 auto;\n }\n\n ", " {\n width: ", ";\n height: ", ";\n bottom: ", ";\n right: ", ";\n border-radius: ", ";\n padding: ", ";\n box-shadow: 0 ", " ", "\n ", " rgba(33, 21, 95, 0.1);\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n position: fixed;\n width: 48px;\n height: 48px;\n bottom: 36px;\n right: 24px;\n z-index: ", ";\n cursor: pointer;\n padding: 5px;\n background-color: ", ";\n border-radius: 24px;\n box-shadow: 0 10px 32px -16px rgba(33, 21, 95, 0.1);\n\n &:hover {\n svg path {\n stroke: ", ";\n }\n }\n\n @media (max-width: 767px) {\n position: fixed;\n left: 0;\n right: 0;\n margin: 0 auto;\n }\n\n ", " {\n width: ", ";\n height: ", ";\n bottom: ", ";\n right: ", ";\n border-radius: ", ";\n padding: ", ";\n box-shadow: 0 ", " ", "\n ", " rgba(33, 21, 95, 0.1);\n }\n"])), styles_1.zIndexToTopBtn, function (_a) {
|
|
@@ -44,7 +44,7 @@ var StyledToTopBnt = styled_components_1.default.div(templateObject_1 || (templa
|
|
|
44
44
|
}, styles_1.AccentColor, styles_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(48), (0, _4k_1.adaptiveValueCalc)(48), (0, _4k_1.adaptiveValueCalc)(36), (0, _4k_1.adaptiveValueCalc)(24), (0, _4k_1.adaptiveValueCalc)(24), (0, _4k_1.adaptiveValueCalc)(5), (0, _4k_1.adaptiveValueCalc)(10), (0, _4k_1.adaptiveValueCalc)(32), (0, _4k_1.adaptiveValueCalc)(-16));
|
|
45
45
|
var ToTopBtnIconResize = function () {
|
|
46
46
|
var windowDimensions = (0, utils_1.useWindowDimensionsWithServerInitial)().windowDimensions;
|
|
47
|
-
return (
|
|
47
|
+
return (<toTopBtn_svg_1.default style={(0, utils_1.getAdaptiveScale)({ windowDimensions: windowDimensions, currentSize: 1 })}/>);
|
|
48
48
|
};
|
|
49
49
|
var ToTopBtn = function () {
|
|
50
50
|
var _a = (0, react_1.useState)(false), showBtn = _a[0], setShowBtn = _a[1];
|
|
@@ -71,13 +71,15 @@ var ToTopBtn = function () {
|
|
|
71
71
|
};
|
|
72
72
|
if (!showBtn)
|
|
73
73
|
return null;
|
|
74
|
-
return (
|
|
75
|
-
|
|
74
|
+
return (<StyledToTopBnt onClick={handleClickFunction}>
|
|
75
|
+
<ToTopBtnIconResize />
|
|
76
|
+
</StyledToTopBnt>);
|
|
76
77
|
};
|
|
77
78
|
var ToTopBtnWithCustomHandler = function (_a) {
|
|
78
79
|
var handleClickFunction = _a.handleClickFunction;
|
|
79
|
-
return (
|
|
80
|
-
|
|
80
|
+
return (<StyledToTopBnt onClick={handleClickFunction}>
|
|
81
|
+
<ToTopBtnIconResize />
|
|
82
|
+
</StyledToTopBnt>);
|
|
81
83
|
};
|
|
82
84
|
exports.ToTopBtnWithCustomHandler = ToTopBtnWithCustomHandler;
|
|
83
85
|
// Export
|
|
@@ -32,7 +32,7 @@ var AssetAudio = /** @class */ (function (_super) {
|
|
|
32
32
|
return (0, Urls_1.isExternalMediaAudio)(this.getMedia());
|
|
33
33
|
};
|
|
34
34
|
AssetAudio.prototype.displaySingleMedia = function () {
|
|
35
|
-
return (
|
|
35
|
+
return (<assetPage_1.AudioVideoPlayer playerType="audio" poster={null} src={this.getMediaUrl()}/>);
|
|
36
36
|
};
|
|
37
37
|
return AssetAudio;
|
|
38
38
|
}(Audio_1.default));
|
|
@@ -40,10 +40,10 @@ var AssetImage = /** @class */ (function (_super) {
|
|
|
40
40
|
return (0, Urls_1.isExternalMediaImage)(this.getMedia(), Urls_1.mediaSizes.regular);
|
|
41
41
|
};
|
|
42
42
|
AssetImage.prototype.displaySingleMedia = function () {
|
|
43
|
-
return (
|
|
43
|
+
return (<AssetImage_1.default alt={this.getAlt()} imageUrl={this.getMediaUrl()} errorImg={'/noContent/noContent.svg'}/>);
|
|
44
44
|
};
|
|
45
45
|
AssetImage.prototype.displayLinkedMedia = function () {
|
|
46
|
-
return (
|
|
46
|
+
return (<AssetImage_1.default alt={this.getAlt()} imageUrl={this.getMediaUrl()} errorImg={'/noContent/noContent.svg'} originalUrl={this.getOriginalUrl()}/>);
|
|
47
47
|
};
|
|
48
48
|
return AssetImage;
|
|
49
49
|
}(Image_1.default));
|
|
@@ -41,7 +41,7 @@ var AssetObject = /** @class */ (function (_super) {
|
|
|
41
41
|
};
|
|
42
42
|
AssetObject.prototype.displaySingleMedia = function () {
|
|
43
43
|
//todo: add previewUrl to 2d
|
|
44
|
-
return
|
|
44
|
+
return <assetPage_1.Viewer3D file3D={this.getMediaUrl()} file2D={''}/>;
|
|
45
45
|
// return (
|
|
46
46
|
// <AssetImage
|
|
47
47
|
// alt={this.getAlt()}
|
|
@@ -52,7 +52,7 @@ var AssetObject = /** @class */ (function (_super) {
|
|
|
52
52
|
};
|
|
53
53
|
AssetObject.prototype.displayLinkedMedia = function () {
|
|
54
54
|
//todo: add previewUrl to 2d
|
|
55
|
-
return
|
|
55
|
+
return <assetPage_1.Viewer3D file3D={this.getOriginalUrl()} file2D={''}/>;
|
|
56
56
|
// return (
|
|
57
57
|
// <AssetImage
|
|
58
58
|
// alt={this.getAlt()}
|
|
@@ -63,7 +63,7 @@ var AssetObject = /** @class */ (function (_super) {
|
|
|
63
63
|
// );
|
|
64
64
|
};
|
|
65
65
|
AssetObject.prototype.displayMiniature = function () {
|
|
66
|
-
return
|
|
66
|
+
return <div> It`s otherMedia Miniature</div>;
|
|
67
67
|
};
|
|
68
68
|
return AssetObject;
|
|
69
69
|
}(Object_1.default));
|
|
@@ -40,14 +40,14 @@ var AssetOther = /** @class */ (function (_super) {
|
|
|
40
40
|
return (0, Urls_1.isExternalMediaImage)(this.getMedia(), Urls_1.mediaSizes.regular);
|
|
41
41
|
};
|
|
42
42
|
AssetOther.prototype.displaySingleMedia = function () {
|
|
43
|
-
return (
|
|
43
|
+
return (<AssetImage_1.default alt={this.getAlt()} imageUrl={this.getMediaUrl()} errorImg={'/noContent/noContent.svg'}/>);
|
|
44
44
|
};
|
|
45
45
|
AssetOther.prototype.displayLinkedMedia = function () {
|
|
46
46
|
var _a;
|
|
47
|
-
return (
|
|
47
|
+
return (<AssetImage_1.default alt={this.getAlt()} imageUrl={this.getMediaUrl()} errorImg={'/noContent/noContent.svg'} originalUrl={(_a = this.getOriginalUrl()) !== null && _a !== void 0 ? _a : this.getMediaUrl()}/>);
|
|
48
48
|
};
|
|
49
49
|
AssetOther.prototype.displayMiniature = function () {
|
|
50
|
-
return
|
|
50
|
+
return <div> It`s otherMedia Miniature</div>;
|
|
51
51
|
};
|
|
52
52
|
return AssetOther;
|
|
53
53
|
}(Other_1.default));
|
|
@@ -40,10 +40,10 @@ var AssetScreenshot = /** @class */ (function (_super) {
|
|
|
40
40
|
return (0, Urls_1.isExternalMediaImage)(this.getMedia(), Urls_1.mediaSizes.regular);
|
|
41
41
|
};
|
|
42
42
|
AssetScreenshot.prototype.displaySingleMedia = function () {
|
|
43
|
-
return (
|
|
43
|
+
return (<AssetImage_1.default alt={this.getAlt()} imageUrl={this.getMediaUrl()} errorImg={'/noContent/noContent.svg'} isScreenshot/>);
|
|
44
44
|
};
|
|
45
45
|
AssetScreenshot.prototype.displayLinkedMedia = function () {
|
|
46
|
-
return (
|
|
46
|
+
return (<AssetImage_1.default alt={this.getAlt()} imageUrl={this.getMediaUrl()} errorImg={'/noContent/noContent.svg'} originalUrl={this.getOriginalUrl()} isScreenshot/>);
|
|
47
47
|
};
|
|
48
48
|
return AssetScreenshot;
|
|
49
49
|
}(Screenshot_1.default));
|
|
@@ -32,7 +32,7 @@ var AssetVideo = /** @class */ (function (_super) {
|
|
|
32
32
|
return (0, Urls_1.isExternalMediaVideo)(this.getMedia());
|
|
33
33
|
};
|
|
34
34
|
AssetVideo.prototype.displaySingleMedia = function () {
|
|
35
|
-
return (
|
|
35
|
+
return (<assetPage_1.AudioVideoPlayer playerType="video" poster={null} src={this.getMediaUrl()}/>);
|
|
36
36
|
};
|
|
37
37
|
return AssetVideo;
|
|
38
38
|
}(Video_1.default));
|
|
@@ -32,7 +32,7 @@ var CreationAudio = /** @class */ (function (_super) {
|
|
|
32
32
|
return (0, Urls_1.isExternalMediaAudio)(this.getMedia());
|
|
33
33
|
};
|
|
34
34
|
CreationAudio.prototype.displaySingleMedia = function () {
|
|
35
|
-
return (
|
|
35
|
+
return (<CardAudio_1.default alt={this.getAlt()} audioSrc={this.getMediaUrl()} imgSrc={'/noContent/noContentAudio.svg'} errorImg={'/noContent/noContentAudio.svg'}/>);
|
|
36
36
|
};
|
|
37
37
|
return CreationAudio;
|
|
38
38
|
}(Audio_1.default));
|
|
@@ -40,10 +40,10 @@ var CreationImage = /** @class */ (function (_super) {
|
|
|
40
40
|
return (0, Urls_1.isExternalMediaImage)(this.getMedia(), Urls_1.mediaSizes.small);
|
|
41
41
|
};
|
|
42
42
|
CreationImage.prototype.displaySingleMedia = function () {
|
|
43
|
-
return (
|
|
43
|
+
return (<CardImage_1.default alt={this.getAlt()} imgSrc={this.getMediaUrl()} errorImg={'/noContent/noContent.svg'}/>);
|
|
44
44
|
};
|
|
45
45
|
CreationImage.prototype.displayLinkedMedia = function () {
|
|
46
|
-
return
|
|
46
|
+
return <div>Its linked image</div>;
|
|
47
47
|
};
|
|
48
48
|
return CreationImage;
|
|
49
49
|
}(Image_1.default));
|
|
@@ -29,7 +29,7 @@ var CreationObject = /** @class */ (function (_super) {
|
|
|
29
29
|
return _super.call(this, { nsfw: nsfw, previewUrl: previewUrl, media: media, mimeType: mimeType, alt: alt, originalMime: originalMime }) || this;
|
|
30
30
|
}
|
|
31
31
|
CreationObject.prototype.displaySingleMedia = function () {
|
|
32
|
-
return
|
|
32
|
+
return <assetPage_1.Viewer3D file3D={this.getMediaUrl()} file2D={'file2D'}/>;
|
|
33
33
|
// return (
|
|
34
34
|
// <CardImage
|
|
35
35
|
// alt={this.getAlt()}
|
|
@@ -32,7 +32,7 @@ var CreationOther = /** @class */ (function (_super) {
|
|
|
32
32
|
return (0, Urls_1.isExternalMediaImage)(this.getMedia(), Urls_1.mediaSizes.small);
|
|
33
33
|
};
|
|
34
34
|
CreationOther.prototype.displaySingleMedia = function () {
|
|
35
|
-
return (
|
|
35
|
+
return (<CardImage_1.default alt={this.getAlt()} imgSrc={this.getMediaUrl()} errorImg={'/noContent/noContent.svg'}/>);
|
|
36
36
|
};
|
|
37
37
|
return CreationOther;
|
|
38
38
|
}(Other_1.default));
|
|
@@ -32,7 +32,7 @@ var CreationVideo = /** @class */ (function (_super) {
|
|
|
32
32
|
return (0, Urls_1.isExternalMediaVideo)(this.getMedia());
|
|
33
33
|
};
|
|
34
34
|
CreationVideo.prototype.displaySingleMedia = function () {
|
|
35
|
-
return (
|
|
35
|
+
return (<CardVideo_1.default alt={this.getAlt()} videoSrc={this.getMediaUrl()} errorImg={'/noContent/noContent.svg'}/>);
|
|
36
36
|
};
|
|
37
37
|
return CreationVideo;
|
|
38
38
|
}(Video_1.default));
|
|
@@ -38,13 +38,13 @@ var Audio = /** @class */ (function (_super) {
|
|
|
38
38
|
return 'path to custom audio';
|
|
39
39
|
};
|
|
40
40
|
Audio.prototype.displaySingleMedia = function () {
|
|
41
|
-
return
|
|
41
|
+
return <div>its audio</div>;
|
|
42
42
|
};
|
|
43
43
|
Audio.prototype.displayMultipleMedia = function () {
|
|
44
|
-
return
|
|
44
|
+
return <div>its multiple audio</div>;
|
|
45
45
|
};
|
|
46
46
|
Audio.prototype.displayMiniature = function () {
|
|
47
|
-
return
|
|
47
|
+
return <div>its miniature audio</div>;
|
|
48
48
|
};
|
|
49
49
|
Audio.prototype.displayLinkedMedia = function () {
|
|
50
50
|
return this.displaySingleMedia();
|
|
@@ -46,16 +46,16 @@ var Image = /** @class */ (function (_super) {
|
|
|
46
46
|
return 'path to custom image';
|
|
47
47
|
};
|
|
48
48
|
Image.prototype.displaySingleMedia = function () {
|
|
49
|
-
return
|
|
49
|
+
return <div>its image</div>;
|
|
50
50
|
};
|
|
51
51
|
Image.prototype.displayLinkedMedia = function () {
|
|
52
|
-
return
|
|
52
|
+
return <div>its linked image</div>;
|
|
53
53
|
};
|
|
54
54
|
Image.prototype.displayMultipleMedia = function () {
|
|
55
|
-
return
|
|
55
|
+
return <div>its multiple image</div>;
|
|
56
56
|
};
|
|
57
57
|
Image.prototype.displayMiniature = function () {
|
|
58
|
-
return
|
|
58
|
+
return <div>its miniature image</div>;
|
|
59
59
|
};
|
|
60
60
|
return Image;
|
|
61
61
|
}(Media_1.default));
|
|
@@ -47,13 +47,13 @@ var Object = /** @class */ (function (_super) {
|
|
|
47
47
|
return 'path to custom object';
|
|
48
48
|
};
|
|
49
49
|
Object.prototype.displaySingleMedia = function () {
|
|
50
|
-
return
|
|
50
|
+
return <div>its object</div>;
|
|
51
51
|
};
|
|
52
52
|
Object.prototype.displayMultipleMedia = function () {
|
|
53
|
-
return
|
|
53
|
+
return <div>its multiple object</div>;
|
|
54
54
|
};
|
|
55
55
|
Object.prototype.displayMiniature = function () {
|
|
56
|
-
return
|
|
56
|
+
return <div>its miniature object</div>;
|
|
57
57
|
};
|
|
58
58
|
Object.prototype.displayLinkedMedia = function () {
|
|
59
59
|
return this.displaySingleMedia();
|
|
@@ -66,13 +66,13 @@ var Other = /** @class */ (function (_super) {
|
|
|
66
66
|
return 'path to custom other';
|
|
67
67
|
};
|
|
68
68
|
Other.prototype.displaySingleMedia = function () {
|
|
69
|
-
return
|
|
69
|
+
return <div>its other</div>;
|
|
70
70
|
};
|
|
71
71
|
Other.prototype.displayMultipleMedia = function () {
|
|
72
|
-
return
|
|
72
|
+
return <div>its multiple other</div>;
|
|
73
73
|
};
|
|
74
74
|
Other.prototype.displayMiniature = function () {
|
|
75
|
-
return
|
|
75
|
+
return <div>its miniature other</div>;
|
|
76
76
|
};
|
|
77
77
|
Other.prototype.displayLinkedMedia = function () {
|
|
78
78
|
return this.displaySingleMedia();
|
|
@@ -46,16 +46,16 @@ var Screenshot = /** @class */ (function (_super) {
|
|
|
46
46
|
return 'path to custom screenshot';
|
|
47
47
|
};
|
|
48
48
|
Screenshot.prototype.displaySingleMedia = function () {
|
|
49
|
-
return
|
|
49
|
+
return <div>its screenshot</div>;
|
|
50
50
|
};
|
|
51
51
|
Screenshot.prototype.displayLinkedMedia = function () {
|
|
52
|
-
return
|
|
52
|
+
return <div>its linked screenshot</div>;
|
|
53
53
|
};
|
|
54
54
|
Screenshot.prototype.displayMultipleMedia = function () {
|
|
55
|
-
return
|
|
55
|
+
return <div>its multiple screenshot</div>;
|
|
56
56
|
};
|
|
57
57
|
Screenshot.prototype.displayMiniature = function () {
|
|
58
|
-
return
|
|
58
|
+
return <div>its miniature screenshot</div>;
|
|
59
59
|
};
|
|
60
60
|
return Screenshot;
|
|
61
61
|
}(Media_1.default));
|
|
@@ -38,13 +38,13 @@ var Video = /** @class */ (function (_super) {
|
|
|
38
38
|
return 'path to custom video';
|
|
39
39
|
};
|
|
40
40
|
Video.prototype.displaySingleMedia = function () {
|
|
41
|
-
return
|
|
41
|
+
return <div>its video</div>;
|
|
42
42
|
};
|
|
43
43
|
Video.prototype.displayMultipleMedia = function () {
|
|
44
|
-
return
|
|
44
|
+
return <div>its multiple video</div>;
|
|
45
45
|
};
|
|
46
46
|
Video.prototype.displayMiniature = function () {
|
|
47
|
-
return
|
|
47
|
+
return <div>its miniature video</div>;
|
|
48
48
|
};
|
|
49
49
|
Video.prototype.displayLinkedMedia = function () {
|
|
50
50
|
return this.displaySingleMedia();
|