@ludo.ninja/components 1.9.5 → 2.0.0
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/package.json +4 -6
- package/README.md +0 -40
- package/dist/api/graphql/index.d.ts +0 -4
- package/dist/api/graphql/index.js +0 -11
- package/dist/components/CreationCard/CardHead.d.ts +0 -14
- package/dist/components/CreationCard/CardHead.js +0 -129
- package/dist/components/CreationCard/index.d.ts +0 -30
- package/dist/components/CreationCard/index.js +0 -103
- package/dist/components/addWalletsRedirectPage/index.d.ts +0 -5
- package/dist/components/addWalletsRedirectPage/index.js +0 -38
- package/dist/components/banner/index.d.ts +0 -3
- package/dist/components/banner/index.js +0 -71
- package/dist/components/base/Meta/index.d.ts +0 -3
- package/dist/components/base/Meta/index.js +0 -60
- package/dist/components/base/NoSSR/index.d.ts +0 -5
- package/dist/components/base/NoSSR/index.js +0 -10
- package/dist/components/collectionPage/collectionLike/index.d.ts +0 -7
- package/dist/components/collectionPage/collectionLike/index.js +0 -41
- package/dist/components/deleteDialog/index.d.ts +0 -8
- package/dist/components/deleteDialog/index.js +0 -109
- package/dist/components/favoriteList/add/addAssetToFavoriteList/index.d.ts +0 -6
- package/dist/components/favoriteList/add/addAssetToFavoriteList/index.js +0 -94
- package/dist/components/favoriteList/add/addCollectionToFavoriteList/index.d.ts +0 -6
- package/dist/components/favoriteList/add/addCollectionToFavoriteList/index.js +0 -92
- package/dist/components/favoriteList/add/addCreationToFavoriteList/index.d.ts +0 -7
- package/dist/components/favoriteList/add/addCreationToFavoriteList/index.js +0 -94
- package/dist/components/filters/applyResetBtns/index.d.ts +0 -6
- package/dist/components/filters/applyResetBtns/index.js +0 -28
- package/dist/components/filters/galleriesFiltersForm/index.d.ts +0 -11
- package/dist/components/filters/galleriesFiltersForm/index.js +0 -90
- package/dist/components/filters/index.d.ts +0 -12
- package/dist/components/filters/index.js +0 -111
- package/dist/components/filters/mobileFilters/index.d.ts +0 -5
- package/dist/components/filters/mobileFilters/index.js +0 -21
- package/dist/components/filters/setsFiltersForm/index.d.ts +0 -10
- package/dist/components/filters/setsFiltersForm/index.js +0 -82
- package/dist/components/forms/form/index.d.ts +0 -14
- package/dist/components/forms/form/index.js +0 -136
- package/dist/components/forms/formsNavigation/index.d.ts +0 -3
- package/dist/components/forms/formsNavigation/index.js +0 -73
- package/dist/components/forms/formsTemplate/index.d.ts +0 -14
- package/dist/components/forms/formsTemplate/index.js +0 -776
- package/dist/components/forms/types/index.d.ts +0 -32
- package/dist/components/forms/types/index.js +0 -13
- package/dist/components/gallery/add/addAssetToGallery/index.d.ts +0 -6
- package/dist/components/gallery/add/addAssetToGallery/index.js +0 -94
- package/dist/components/gallery/add/addCreationToGallery/index.d.ts +0 -3
- package/dist/components/gallery/add/addCreationToGallery/index.js +0 -114
- package/dist/components/gradientLabel/index.d.ts +0 -3
- package/dist/components/gradientLabel/index.js +0 -24
- package/dist/components/headers/components/MobileToggle/index.d.ts +0 -0
- package/dist/components/headers/components/MobileToggle/index.js +0 -0
- package/dist/components/headers/components/headerExperienceLabel/index.d.ts +0 -5
- package/dist/components/headers/components/headerExperienceLabel/index.js +0 -32
- package/dist/components/headers/components/headerUserPic/index.d.ts +0 -5
- package/dist/components/headers/components/headerUserPic/index.js +0 -27
- package/dist/components/headers/header/index.d.ts +0 -3
- package/dist/components/headers/header/index.js +0 -32
- package/dist/components/headers/headerSearch/index.d.ts +0 -3
- package/dist/components/headers/headerSearch/index.js +0 -39
- package/dist/components/headers/headerSimple/index.d.ts +0 -3
- package/dist/components/headers/headerSimple/index.js +0 -33
- package/dist/components/index.d.ts +0 -2
- package/dist/components/index.js +0 -23
- package/dist/components/inviteCodesForms/getEarlyAccessForm/index.d.ts +0 -3
- package/dist/components/inviteCodesForms/getEarlyAccessForm/index.js +0 -181
- package/dist/components/inviteCodesForms/joinWaitListForm/index.d.ts +0 -3
- package/dist/components/inviteCodesForms/joinWaitListForm/index.js +0 -126
- package/dist/components/inviteCodesForms/styles/index.d.ts +0 -6
- package/dist/components/inviteCodesForms/styles/index.js +0 -18
- package/dist/components/inviteCodesPage/components/index.d.ts +0 -5
- package/dist/components/inviteCodesPage/components/index.js +0 -14
- package/dist/components/inviteCodesPage/components/inviteCodes/index.d.ts +0 -6
- package/dist/components/inviteCodesPage/components/inviteCodes/index.js +0 -24
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCode/index.d.ts +0 -7
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCode/index.js +0 -30
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCode/loader/index.d.ts +0 -3
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCode/loader/index.js +0 -26
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/index.d.ts +0 -7
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/index.js +0 -28
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/loader/index.d.ts +0 -3
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/loader/index.js +0 -21
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCopy/index.d.ts +0 -6
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCopy/index.js +0 -27
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeDate/index.d.ts +0 -5
- package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeDate/index.js +0 -23
- package/dist/components/inviteCodesPage/wrappers/index.d.ts +0 -4
- package/dist/components/inviteCodesPage/wrappers/index.js +0 -12
- package/dist/components/inviteCodesPage/wrappers/resumeCodes/index.d.ts +0 -8
- package/dist/components/inviteCodesPage/wrappers/resumeCodes/index.js +0 -49
- package/dist/components/inviteCodesPage/wrappers/resumeCodes/loader/index.d.ts +0 -3
- package/dist/components/inviteCodesPage/wrappers/resumeCodes/loader/index.js +0 -17
- package/dist/components/inviteCodesPage/wrappers/unusedCodes/index.d.ts +0 -7
- package/dist/components/inviteCodesPage/wrappers/unusedCodes/index.js +0 -31
- package/dist/components/inviteCodesPage/wrappers/usedCodes/index.d.ts +0 -7
- package/dist/components/inviteCodesPage/wrappers/usedCodes/index.js +0 -37
- package/dist/components/linkTabs/index.d.ts +0 -7
- package/dist/components/linkTabs/index.js +0 -23
- package/dist/components/linkTabs/linkTab/index.d.ts +0 -9
- package/dist/components/linkTabs/linkTab/index.js +0 -28
- package/dist/components/myWallets/index.d.ts +0 -3
- package/dist/components/myWallets/index.js +0 -33
- package/dist/components/myWallets/myWalletItem/index.d.ts +0 -10
- package/dist/components/myWallets/myWalletItem/index.js +0 -137
- package/dist/components/navigation/index.d.ts +0 -8
- package/dist/components/navigation/index.js +0 -75
- package/dist/components/profile/MultiversXAudit/MultiversXAudit.d.ts +0 -2
- package/dist/components/profile/MultiversXAudit/MultiversXAudit.js +0 -136
- package/dist/components/profile/ProfileTabs.d.ts +0 -7
- package/dist/components/profile/ProfileTabs.js +0 -46
- package/dist/components/profile/aboutText/index.d.ts +0 -5
- package/dist/components/profile/aboutText/index.js +0 -105
- package/dist/components/profile/addToGalleryBtns/index.d.ts +0 -5
- package/dist/components/profile/addToGalleryBtns/index.js +0 -42
- package/dist/components/profile/followersSocial/followers/index.d.ts +0 -7
- package/dist/components/profile/followersSocial/followers/index.js +0 -28
- package/dist/components/profile/followersSocial/index.d.ts +0 -5
- package/dist/components/profile/followersSocial/index.js +0 -28
- package/dist/components/profile/followersSocial/social/index.d.ts +0 -3
- package/dist/components/profile/followersSocial/social/index.js +0 -40
- package/dist/components/profile/index.d.ts +0 -1
- package/dist/components/profile/index.js +0 -5
- package/dist/components/profile/info/index.d.ts +0 -7
- package/dist/components/profile/info/index.js +0 -43
- package/dist/components/profile/interests/data.d.ts +0 -3
- package/dist/components/profile/interests/data.js +0 -22
- package/dist/components/profile/interests/index.d.ts +0 -2
- package/dist/components/profile/interests/index.js +0 -56
- package/dist/components/profile/interests/type.d.ts +0 -6
- package/dist/components/profile/interests/type.js +0 -2
- package/dist/components/profile/jsonLd/index.d.ts +0 -4
- package/dist/components/profile/jsonLd/index.js +0 -9
- package/dist/components/profile/pageHead/index.d.ts +0 -6
- package/dist/components/profile/pageHead/index.js +0 -51
- package/dist/components/profile/profileSkeleton/index.d.ts +0 -5
- package/dist/components/profile/profileSkeleton/index.js +0 -35
- package/dist/components/profile/profileUserCards/index.d.ts +0 -4
- package/dist/components/profile/profileUserCards/index.js +0 -19
- package/dist/components/profile/profileUserCards/profileUserCard/index.d.ts +0 -10
- package/dist/components/profile/profileUserCards/profileUserCard/index.js +0 -157
- package/dist/components/profile/rank/index.d.ts +0 -5
- package/dist/components/profile/rank/index.js +0 -33
- package/dist/components/profile/stats/index.d.ts +0 -5
- package/dist/components/profile/stats/index.js +0 -28
- package/dist/components/profile/wallets/index.d.ts +0 -2
- package/dist/components/profile/wallets/index.js +0 -73
- package/dist/components/profile/wrapper/index.d.ts +0 -7
- package/dist/components/profile/wrapper/index.js +0 -17
- package/dist/components/registrationPage/index.d.ts +0 -3
- package/dist/components/registrationPage/index.js +0 -10
- package/dist/components/registrationPage/registrationSelectBox/index.d.ts +0 -9
- package/dist/components/registrationPage/registrationSelectBox/index.js +0 -24
- package/dist/components/registrationPage/registrationSelection/index.d.ts +0 -16
- package/dist/components/registrationPage/registrationSelection/index.js +0 -43
- package/dist/components/rewards/FAQ/index.d.ts +0 -3
- package/dist/components/rewards/FAQ/index.js +0 -132
- package/dist/components/rewards/clarifications/index.d.ts +0 -8
- package/dist/components/rewards/clarifications/index.js +0 -54
- package/dist/components/rewards/logoBottom/index.d.ts +0 -3
- package/dist/components/rewards/logoBottom/index.js +0 -29
- package/dist/components/rewards/prograssBar/index.d.ts +0 -7
- package/dist/components/rewards/prograssBar/index.js +0 -32
- package/dist/components/rewards/rewardsButton/index.d.ts +0 -3
- package/dist/components/rewards/rewardsButton/index.js +0 -17
- package/dist/components/rewards/seasonBanner/index.d.ts +0 -5
- package/dist/components/rewards/seasonBanner/index.js +0 -29
- package/dist/components/rewards/taskExpTab/index.d.ts +0 -14
- package/dist/components/rewards/taskExpTab/index.js +0 -64
- package/dist/components/rewards/tasksGrid/index.d.ts +0 -6
- package/dist/components/rewards/tasksGrid/index.js +0 -142
- package/dist/components/rewards/userExp/index.d.ts +0 -12
- package/dist/components/rewards/userExp/index.js +0 -72
- package/dist/components/search/SearchInputContainer.d.ts +0 -26
- package/dist/components/search/SearchInputContainer.js +0 -244
- package/dist/components/search/index.d.ts +0 -3
- package/dist/components/search/index.js +0 -86
- package/dist/components/search/searchCategories/index.d.ts +0 -3
- package/dist/components/search/searchCategories/index.js +0 -79
- package/dist/components/search/searchCategories/type.d.ts +0 -5
- package/dist/components/search/searchCategories/type.js +0 -2
- package/dist/components/search/searchCloseMoreButtons/index.d.ts +0 -14
- package/dist/components/search/searchCloseMoreButtons/index.js +0 -54
- package/dist/components/search/searchResultCaption/index.d.ts +0 -7
- package/dist/components/search/searchResultCaption/index.js +0 -31
- package/dist/components/search/searchSelectsGalleries/index.d.ts +0 -9
- package/dist/components/search/searchSelectsGalleries/index.js +0 -70
- package/dist/components/search/searchSelectsSets/index.d.ts +0 -8
- package/dist/components/search/searchSelectsSets/index.js +0 -69
- package/dist/components/search/searchSimpleInput/index.d.ts +0 -5
- package/dist/components/search/searchSimpleInput/index.js +0 -85
- package/dist/components/search/searchSuggestions/index.d.ts +0 -14
- package/dist/components/search/searchSuggestions/index.js +0 -117
- package/dist/components/search/searchSuggestions/searchSuggestionsCaption/index.d.ts +0 -7
- package/dist/components/search/searchSuggestions/searchSuggestionsCaption/index.js +0 -27
- package/dist/components/search/searchSuggestions/searchSuggestionsFooter/index.d.ts +0 -3
- package/dist/components/search/searchSuggestions/searchSuggestionsFooter/index.js +0 -30
- package/dist/components/search/searchSuggestions/searchSuggestionsItem/index.d.ts +0 -11
- package/dist/components/search/searchSuggestions/searchSuggestionsItem/index.js +0 -40
- package/dist/components/search/searchSuggestions/searchSuggestionsItem/searchSuggestionsItemSkeleton/index.d.ts +0 -4
- package/dist/components/search/searchSuggestions/searchSuggestionsItem/searchSuggestionsItemSkeleton/index.js +0 -56
- package/dist/components/search/searchSuggestions/searchSuggestionsNotFound/index.d.ts +0 -5
- package/dist/components/search/searchSuggestions/searchSuggestionsNotFound/index.js +0 -29
- package/dist/components/shareDialog/index.d.ts +0 -34
- package/dist/components/shareDialog/index.js +0 -73
- package/dist/components/showcaseAssets/showcaseSort/data.d.ts +0 -3
- package/dist/components/showcaseAssets/showcaseSort/data.js +0 -29
- package/dist/components/showcaseAssets/showcaseSort/index.d.ts +0 -8
- package/dist/components/showcaseAssets/showcaseSort/index.js +0 -28
- package/dist/components/sidebar/data.d.ts +0 -20
- package/dist/components/sidebar/data.js +0 -89
- package/dist/components/sidebar/index.d.ts +0 -3
- package/dist/components/sidebar/index.js +0 -131
- package/dist/components/sidebar/initializer.d.ts +0 -2
- package/dist/components/sidebar/initializer.js +0 -36
- package/dist/components/sidebar/sidebarFilters/index.d.ts +0 -7
- package/dist/components/sidebar/sidebarFilters/index.js +0 -30
- package/dist/components/sidebar/sidebarInviteCodeLabel/index.d.ts +0 -3
- package/dist/components/sidebar/sidebarInviteCodeLabel/index.js +0 -67
- package/dist/components/socialButtons/data.d.ts +0 -3
- package/dist/components/socialButtons/data.js +0 -52
- package/dist/components/socialButtons/icons/discord.d.ts +0 -3
- package/dist/components/socialButtons/icons/discord.js +0 -7
- package/dist/components/socialButtons/icons/facebook.d.ts +0 -3
- package/dist/components/socialButtons/icons/facebook.js +0 -8
- package/dist/components/socialButtons/icons/instagram.d.ts +0 -3
- package/dist/components/socialButtons/icons/instagram.js +0 -9
- package/dist/components/socialButtons/icons/medium.d.ts +0 -3
- package/dist/components/socialButtons/icons/medium.js +0 -7
- package/dist/components/socialButtons/icons/telegram.d.ts +0 -3
- package/dist/components/socialButtons/icons/telegram.js +0 -7
- package/dist/components/socialButtons/icons/twitter.d.ts +0 -3
- package/dist/components/socialButtons/icons/twitter.js +0 -7
- package/dist/components/socialButtons/index.d.ts +0 -3
- package/dist/components/socialButtons/index.js +0 -32
- package/dist/components/socialButtons/type.d.ts +0 -8
- package/dist/components/socialButtons/type.js +0 -2
- package/dist/components/tabs/icons/bell.d.ts +0 -5
- package/dist/components/tabs/icons/bell.js +0 -9
- package/dist/components/tabs/icons/profile.d.ts +0 -5
- package/dist/components/tabs/icons/profile.js +0 -9
- package/dist/components/tabs/icons/secure.d.ts +0 -5
- package/dist/components/tabs/icons/secure.js +0 -8
- package/dist/components/tabs/index.d.ts +0 -3
- package/dist/components/tabs/index.js +0 -55
- package/dist/components/toTopBtn/index.d.ts +0 -6
- package/dist/components/toTopBtn/index.js +0 -85
- package/dist/dto/AssetEntity/index.d.ts +0 -63
- package/dist/dto/AssetEntity/index.js +0 -211
- package/dist/dto/AssetEntity/interface.d.ts +0 -39
- package/dist/dto/AssetEntity/interface.js +0 -2
- package/dist/dto/AssetEntity/views/AssetAudio/index.d.ts +0 -9
- package/dist/dto/AssetEntity/views/AssetAudio/index.js +0 -39
- package/dist/dto/AssetEntity/views/AssetImage/index.d.ts +0 -10
- package/dist/dto/AssetEntity/views/AssetImage/index.js +0 -50
- package/dist/dto/AssetEntity/views/AssetObject/index.d.ts +0 -11
- package/dist/dto/AssetEntity/views/AssetObject/index.js +0 -70
- package/dist/dto/AssetEntity/views/AssetOther/index.d.ts +0 -11
- package/dist/dto/AssetEntity/views/AssetOther/index.js +0 -54
- package/dist/dto/AssetEntity/views/AssetScreenshot/index.d.ts +0 -10
- package/dist/dto/AssetEntity/views/AssetScreenshot/index.js +0 -50
- package/dist/dto/AssetEntity/views/AssetVideo/index.d.ts +0 -9
- package/dist/dto/AssetEntity/views/AssetVideo/index.js +0 -39
- package/dist/dto/AssetEntity/views/index.d.ts +0 -6
- package/dist/dto/AssetEntity/views/index.js +0 -16
- package/dist/dto/Collection/CollectionCreationEntity/index.d.ts +0 -45
- package/dist/dto/Collection/CollectionCreationEntity/index.js +0 -162
- package/dist/dto/Collection/CollectionCreationEntity/interface.d.ts +0 -24
- package/dist/dto/Collection/CollectionCreationEntity/interface.js +0 -2
- package/dist/dto/Collection/CollectionEntity/index.d.ts +0 -32
- package/dist/dto/Collection/CollectionEntity/index.js +0 -74
- package/dist/dto/Collection/CollectionEntity/interface.d.ts +0 -16
- package/dist/dto/Collection/CollectionEntity/interface.js +0 -2
- package/dist/dto/CreationEntity/index.d.ts +0 -49
- package/dist/dto/CreationEntity/index.js +0 -168
- package/dist/dto/CreationEntity/interface.d.ts +0 -30
- package/dist/dto/CreationEntity/interface.js +0 -2
- package/dist/dto/GalleryEntityV2/index.d.ts +0 -32
- package/dist/dto/GalleryEntityV2/index.js +0 -74
- package/dist/dto/GalleryEntityV2/interface.d.ts +0 -16
- package/dist/dto/GalleryEntityV2/interface.js +0 -2
- package/dist/dto/common/ItemType/data.d.ts +0 -3
- package/dist/dto/common/ItemType/data.js +0 -37
- package/dist/dto/common/ItemType/index.d.ts +0 -45
- package/dist/dto/common/ItemType/index.js +0 -42
- package/dist/dto/common/ItemViews/CreationAudio/index.d.ts +0 -9
- package/dist/dto/common/ItemViews/CreationAudio/index.js +0 -39
- package/dist/dto/common/ItemViews/CreationImage/index.d.ts +0 -10
- package/dist/dto/common/ItemViews/CreationImage/index.js +0 -50
- package/dist/dto/common/ItemViews/CreationObject/index.d.ts +0 -8
- package/dist/dto/common/ItemViews/CreationObject/index.js +0 -43
- package/dist/dto/common/ItemViews/CreationOther/index.d.ts +0 -9
- package/dist/dto/common/ItemViews/CreationOther/index.js +0 -39
- package/dist/dto/common/ItemViews/CreationVideo/index.d.ts +0 -9
- package/dist/dto/common/ItemViews/CreationVideo/index.js +0 -39
- package/dist/dto/common/ItemViews/index.d.ts +0 -5
- package/dist/dto/common/ItemViews/index.js +0 -21
- package/dist/dto/common/Media/Audio/index.d.ts +0 -13
- package/dist/dto/common/Media/Audio/index.js +0 -54
- package/dist/dto/common/Media/Image/index.d.ts +0 -13
- package/dist/dto/common/Media/Image/index.js +0 -62
- package/dist/dto/common/Media/Object/index.d.ts +0 -13
- package/dist/dto/common/Media/Object/index.js +0 -63
- package/dist/dto/common/Media/Other/index.d.ts +0 -13
- package/dist/dto/common/Media/Other/index.js +0 -82
- package/dist/dto/common/Media/Screenshot/index.d.ts +0 -13
- package/dist/dto/common/Media/Screenshot/index.js +0 -62
- package/dist/dto/common/Media/Urls/index.d.ts +0 -31
- package/dist/dto/common/Media/Urls/index.js +0 -130
- package/dist/dto/common/Media/Video/index.d.ts +0 -13
- package/dist/dto/common/Media/Video/index.js +0 -54
- package/dist/dto/common/Media/index.d.ts +0 -26
- package/dist/dto/common/Media/index.js +0 -40
- package/dist/dto/common/Media/interface.d.ts +0 -26
- package/dist/dto/common/Media/interface.js +0 -2
- package/dist/dto/index.d.ts +0 -8
- package/dist/dto/index.js +0 -33
- package/dist/entities/user/type.d.ts +0 -5
- package/dist/entities/user/type.js +0 -2
- package/dist/fonts/FontsInitializeLayout.d.ts +0 -6
- package/dist/fonts/FontsInitializeLayout.js +0 -67
- package/dist/fonts/index.d.ts +0 -3
- package/dist/fonts/index.js +0 -25
- package/dist/fonts/vars.d.ts +0 -1
- package/dist/fonts/vars.js +0 -6
- package/dist/hooks/apollo/index.d.ts +0 -5
- package/dist/hooks/apollo/index.js +0 -11
- package/dist/hooks/audio/useMultiAudio/index.d.ts +0 -2
- package/dist/hooks/audio/useMultiAudio/index.js +0 -56
- package/dist/hooks/extension/useExtension/index.d.ts +0 -7
- package/dist/hooks/extension/useExtension/index.js +0 -78
- package/dist/hooks/favorites/index.d.ts +0 -2
- package/dist/hooks/favorites/index.js +0 -18
- package/dist/hooks/favorites/useGetFavoriteGallaryCreations/index.d.ts +0 -20
- package/dist/hooks/favorites/useGetFavoriteGallaryCreations/index.js +0 -194
- package/dist/hooks/favorites/useGetUserFevoritesCreations/index.d.ts +0 -22
- package/dist/hooks/favorites/useGetUserFevoritesCreations/index.js +0 -270
- package/dist/hooks/galleries/index.d.ts +0 -1
- package/dist/hooks/galleries/index.js +0 -17
- package/dist/hooks/galleries/useGetUserGalleriesCreations/index.d.ts +0 -17
- package/dist/hooks/galleries/useGetUserGalleriesCreations/index.js +0 -226
- package/dist/hooks/index.d.ts +0 -5
- package/dist/hooks/index.js +0 -21
- package/dist/hooks/likes/dynamic/useFindCollectionsAndLikes.js +0 -241
- package/dist/hooks/likes/dynamic/useFindCreationsAndLikes.js +0 -213
- package/dist/hooks/likes/dynamic/useGetCollectionInfoAndLikes.d.ts +0 -13
- package/dist/hooks/likes/dynamic/useGetCollectionInfoAndLikes.js +0 -210
- package/dist/hooks/likes/dynamic/useGetCreationsAndLikes.js +0 -230
- package/dist/hooks/likes/dynamic/useGetCreationsAndLikesByType.js +0 -240
- package/dist/hooks/likes/dynamic/useGetMixedLikesFavoriteList.d.ts +0 -17
- package/dist/hooks/likes/dynamic/useGetMixedLikesFavoriteList.js +0 -50
- package/dist/hooks/likes/dynamic/useGetTableLikes.d.ts +0 -15
- package/dist/hooks/likes/dynamic/useGetTableLikes.js +0 -116
- package/dist/hooks/likes/index.d.ts +0 -19
- package/dist/hooks/likes/index.js +0 -177
- package/dist/hooks/likes/useGetLikesAsset.d.ts +0 -20
- package/dist/hooks/likes/useGetLikesAsset.js +0 -159
- package/dist/hooks/searchFiltersConnector/index.d.ts +0 -11
- package/dist/hooks/searchFiltersConnector/index.js +0 -195
- package/dist/hooks/useToGalleryAsset/index.d.ts +0 -18
- package/dist/hooks/useToGalleryAsset/index.js +0 -103
- package/dist/index.d.ts +0 -9
- package/dist/index.js +0 -25
- package/dist/layouts/GlobalLayout.d.ts +0 -4
- package/dist/layouts/GlobalLayout.js +0 -48
- package/dist/layouts/base/LWithRegularHeader/index.d.ts +0 -3
- package/dist/layouts/base/LWithRegularHeader/index.js +0 -25
- package/dist/layouts/base/LWithRegularHeader/type.d.ts +0 -5
- package/dist/layouts/base/LWithRegularHeader/type.js +0 -2
- package/dist/layouts/base/LWithSearchHeader/index.d.ts +0 -3
- package/dist/layouts/base/LWithSearchHeader/index.js +0 -18
- package/dist/layouts/base/LWithSearchHeader/type.d.ts +0 -5
- package/dist/layouts/base/LWithSearchHeader/type.js +0 -2
- package/dist/layouts/base/LWithSimpleHeader/index.d.ts +0 -3
- package/dist/layouts/base/LWithSimpleHeader/index.js +0 -21
- package/dist/layouts/base/LWithSimpleHeader/type.d.ts +0 -5
- package/dist/layouts/base/LWithSimpleHeader/type.js +0 -2
- package/dist/layouts/base/LWithoutHeader/index.d.ts +0 -3
- package/dist/layouts/base/LWithoutHeader/index.js +0 -23
- package/dist/layouts/custom/accountLayout/index.d.ts +0 -3
- package/dist/layouts/custom/accountLayout/index.js +0 -23
- package/dist/layouts/custom/formsLayout/index.d.ts +0 -3
- package/dist/layouts/custom/formsLayout/index.js +0 -18
- package/dist/layouts/custom/mainLayout/index.d.ts +0 -3
- package/dist/layouts/custom/mainLayout/index.js +0 -22
- package/dist/layouts/custom/searchLayout/index.d.ts +0 -3
- package/dist/layouts/custom/searchLayout/index.js +0 -26
- package/dist/layouts/custom/simpleLayout/index.d.ts +0 -3
- package/dist/layouts/custom/simpleLayout/index.js +0 -22
- package/dist/layouts/custom/styles.d.ts +0 -3
- package/dist/layouts/custom/styles.js +0 -16
- package/dist/layouts/pageTransitionLayout.d.ts +0 -6
- package/dist/layouts/pageTransitionLayout.js +0 -24
- package/dist/layouts/pageWithLayout.d.ts +0 -9
- package/dist/layouts/pageWithLayout.js +0 -2
- package/dist/modules/index.d.ts +0 -4
- package/dist/modules/index.js +0 -20
- package/dist/modules/notifications/CreatorNotifications.d.ts +0 -2
- package/dist/modules/notifications/CreatorNotifications.js +0 -42
- package/dist/modules/notifications/index.d.ts +0 -22
- package/dist/modules/notifications/index.js +0 -6
- package/dist/modules/sessionScroll/globalTabs.d.ts +0 -12
- package/dist/modules/sessionScroll/globalTabs.js +0 -50
- package/dist/modules/sessionScroll/index.d.ts +0 -15
- package/dist/modules/sessionScroll/index.js +0 -77
- package/dist/modules/sessionScroll/type.d.ts +0 -7
- package/dist/modules/sessionScroll/type.js +0 -2
- package/dist/modules/sessionScroll/useVirtuosoInitialScroll.d.ts +0 -12
- package/dist/modules/sessionScroll/useVirtuosoInitialScroll.js +0 -62
- package/dist/modules/user/auth/index.d.ts +0 -1
- package/dist/modules/user/auth/index.js +0 -17
- package/dist/modules/user/auth/useAuthVerification.d.ts +0 -1
- package/dist/modules/user/auth/useAuthVerification.js +0 -120
- package/dist/modules/user/auth/useSignIn.d.ts +0 -1
- package/dist/modules/user/auth/useSignIn.js +0 -21
- package/dist/modules/user/auth/useSignOut.d.ts +0 -1
- package/dist/modules/user/auth/useSignOut.js +0 -78
- package/dist/modules/user/index.d.ts +0 -3
- package/dist/modules/user/index.js +0 -19
- package/dist/modules/user/profileData/index.d.ts +0 -1
- package/dist/modules/user/profileData/index.js +0 -17
- package/dist/modules/user/profileData/profileDataInitialization.d.ts +0 -2
- package/dist/modules/user/profileData/profileDataInitialization.js +0 -59
- package/dist/modules/user/store.d.ts +0 -33
- package/dist/modules/user/store.js +0 -78
- package/dist/modules/virtuoso/VirtuosoPageBuilder.d.ts +0 -19
- package/dist/modules/virtuoso/VirtuosoPageBuilder.js +0 -146
- package/dist/modules/virtuoso/VirtuosoToTopBtn.d.ts +0 -10
- package/dist/modules/virtuoso/VirtuosoToTopBtn.js +0 -43
- package/dist/modules/virtuoso/index.d.ts +0 -5
- package/dist/modules/virtuoso/index.js +0 -21
- package/dist/modules/virtuoso/types.d.ts +0 -7
- package/dist/modules/virtuoso/types.js +0 -2
- package/dist/modules/virtuoso/useSubscribeVirtuosoScrollToHeader.d.ts +0 -3
- package/dist/modules/virtuoso/useSubscribeVirtuosoScrollToHeader.js +0 -27
- package/dist/modules/virtuoso/useVirtuosoData.d.ts +0 -11
- package/dist/modules/virtuoso/useVirtuosoData.js +0 -50
- package/dist/pages/index.d.ts +0 -2
- package/dist/pages/index.js +0 -16
- package/dist/store/index.d.ts +0 -11
- package/dist/store/index.js +0 -28
- package/dist/store/media/index.d.ts +0 -1
- package/dist/store/media/index.js +0 -69
- package/dist/store/media/types.d.ts +0 -11
- package/dist/store/media/types.js +0 -2
- package/dist/store/ui/index.d.ts +0 -2
- package/dist/store/ui/index.js +0 -167
- package/dist/store/ui/types.d.ts +0 -34
- package/dist/store/ui/types.js +0 -2
- package/dist/store/ui/utils.d.ts +0 -7
- package/dist/store/ui/utils.js +0 -32
- package/dist/styles/ScreenWidth.d.ts +0 -22
- package/dist/styles/ScreenWidth.js +0 -26
- package/dist/styles/animations/index.d.ts +0 -2
- package/dist/styles/animations/index.js +0 -11
- package/dist/styles/colors/index.d.ts +0 -1
- package/dist/styles/colors/index.js +0 -38
- package/dist/styles/globalStyles.d.ts +0 -3
- package/dist/styles/globalStyles.js +0 -23
- package/dist/styles/index.d.ts +0 -5
- package/dist/styles/index.js +0 -26
- package/dist/styles/mixins/boxShadow.d.ts +0 -2
- package/dist/styles/mixins/boxShadow.js +0 -10
- package/dist/styles/mixins/boxTransform.d.ts +0 -2
- package/dist/styles/mixins/boxTransform.js +0 -10
- package/dist/styles/mixins/index.d.ts +0 -3
- package/dist/styles/mixins/index.js +0 -25
- package/dist/styles/mixins/z-indexes.d.ts +0 -10
- package/dist/styles/mixins/z-indexes.js +0 -13
- package/dist/styles/typography/index.d.ts +0 -1
- package/dist/styles/typography/index.js +0 -12
- package/dist/system/ActiveLink/index.d.ts +0 -9
- package/dist/system/ActiveLink/index.js +0 -71
- package/dist/system/Alert/index.d.ts +0 -3
- package/dist/system/Alert/index.js +0 -20
- package/dist/system/Alert/type.d.ts +0 -2
- package/dist/system/Alert/type.js +0 -8
- package/dist/system/BasicOverlay/index.d.ts +0 -3
- package/dist/system/BasicOverlay/index.js +0 -20
- package/dist/system/Buttons/IconButton/index.d.ts +0 -2
- package/dist/system/Buttons/IconButton/index.js +0 -7
- package/dist/system/Buttons/IconWithButton/index.d.ts +0 -2
- package/dist/system/Buttons/IconWithButton/index.js +0 -7
- package/dist/system/Buttons/IconWithButton/themes.d.ts +0 -0
- package/dist/system/Buttons/IconWithButton/themes.js +0 -0
- package/dist/system/Buttons/MainButton/index.d.ts +0 -2
- package/dist/system/Buttons/MainButton/index.js +0 -7
- package/dist/system/Buttons/MainButton/themes.d.ts +0 -0
- package/dist/system/Buttons/MainButton/themes.js +0 -0
- package/dist/system/Buttons/SecondaryButton/index.d.ts +0 -2
- package/dist/system/Buttons/SecondaryButton/index.js +0 -7
- package/dist/system/Buttons/index.d.ts +0 -4
- package/dist/system/Buttons/index.js +0 -14
- package/dist/system/Cards/CardCheckbox/index.d.ts +0 -6
- package/dist/system/Cards/CardCheckbox/index.js +0 -50
- package/dist/system/Cards/CardContent/CardCategory/index.d.ts +0 -6
- package/dist/system/Cards/CardContent/CardCategory/index.js +0 -27
- package/dist/system/Cards/CardContent/CardLikes/index.d.ts +0 -6
- package/dist/system/Cards/CardContent/CardLikes/index.js +0 -32
- package/dist/system/Cards/CardContent/CardShowMore/index.d.ts +0 -7
- package/dist/system/Cards/CardContent/CardShowMore/index.js +0 -40
- package/dist/system/Cards/CardContent/index.d.ts +0 -17
- package/dist/system/Cards/CardContent/index.js +0 -50
- package/dist/system/Cards/CardHeadIcons/index.d.ts +0 -15
- package/dist/system/Cards/CardHeadIcons/index.js +0 -134
- package/dist/system/Cards/CardMedia/CardAudio/index.d.ts +0 -8
- package/dist/system/Cards/CardMedia/CardAudio/index.js +0 -93
- package/dist/system/Cards/CardMedia/CardImage/index.d.ts +0 -7
- package/dist/system/Cards/CardMedia/CardImage/index.js +0 -44
- package/dist/system/Cards/CardMedia/CardVideo/index.d.ts +0 -7
- package/dist/system/Cards/CardMedia/CardVideo/index.js +0 -83
- package/dist/system/Cards/CardMedia/index.d.ts +0 -3
- package/dist/system/Cards/CardMedia/index.js +0 -12
- package/dist/system/Cards/CardRank/index.d.ts +0 -5
- package/dist/system/Cards/CardRank/index.js +0 -33
- package/dist/system/Cards/CardsGrid/index.d.ts +0 -13
- package/dist/system/Cards/CardsGrid/index.js +0 -80
- package/dist/system/Cards/HideLink/index.d.ts +0 -10
- package/dist/system/Cards/HideLink/index.js +0 -27
- package/dist/system/Cards/MultiMediaCard/index.d.ts +0 -10
- package/dist/system/Cards/MultiMediaCard/index.js +0 -78
- package/dist/system/Cards/RegularCard/index.d.ts +0 -22
- package/dist/system/Cards/RegularCard/index.js +0 -53
- package/dist/system/Cards/Styles/Content.d.ts +0 -3
- package/dist/system/Cards/Styles/Content.js +0 -16
- package/dist/system/Cards/Styles/Head.d.ts +0 -3
- package/dist/system/Cards/Styles/Head.js +0 -16
- package/dist/system/Cards/Styles/Headicons.d.ts +0 -5
- package/dist/system/Cards/Styles/Headicons.js +0 -19
- package/dist/system/Cards/Styles/Image.d.ts +0 -5
- package/dist/system/Cards/Styles/Image.js +0 -15
- package/dist/system/Cards/Styles/Likes.d.ts +0 -5
- package/dist/system/Cards/Styles/Likes.js +0 -17
- package/dist/system/Cards/Styles/MultiHead.d.ts +0 -3
- package/dist/system/Cards/Styles/MultiHead.js +0 -16
- package/dist/system/Cards/Styles/Video.d.ts +0 -3
- package/dist/system/Cards/Styles/Video.js +0 -13
- package/dist/system/Cards/Styles/index.d.ts +0 -7
- package/dist/system/Cards/Styles/index.js +0 -20
- package/dist/system/Cards/index.d.ts +0 -14
- package/dist/system/Cards/index.js +0 -46
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsError/index.d.ts +0 -5
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsError/index.js +0 -100
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsNoResults/index.d.ts +0 -5
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsNoResults/index.js +0 -26
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsSkeleton/index.d.ts +0 -6
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsSkeleton/index.js +0 -38
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/index.d.ts +0 -22
- package/dist/system/CardsHolderWithSkeleton/CardsHolder/index.js +0 -38
- package/dist/system/CardsHolderWithSkeleton/CardsHolderLoader/index.d.ts +0 -3
- package/dist/system/CardsHolderWithSkeleton/CardsHolderLoader/index.js +0 -26
- package/dist/system/CardsHolderWithSkeleton/index.d.ts +0 -30
- package/dist/system/CardsHolderWithSkeleton/index.js +0 -19
- package/dist/system/DropDown/DropDown.test.d.ts +0 -1
- package/dist/system/DropDown/DropDown.test.js +0 -42
- package/dist/system/DropDown/index.d.ts +0 -8
- package/dist/system/DropDown/index.js +0 -63
- package/dist/system/Filters/helpers.d.ts +0 -7
- package/dist/system/Filters/helpers.js +0 -8
- package/dist/system/Filters/index.d.ts +0 -2
- package/dist/system/Filters/index.js +0 -18
- package/dist/system/Filters/type.d.ts +0 -16
- package/dist/system/Filters/type.js +0 -11
- package/dist/system/Flex/index.d.ts +0 -0
- package/dist/system/Flex/index.js +0 -0
- package/dist/system/Forms/Checkbox/Checkbox.test.d.ts +0 -1
- package/dist/system/Forms/Checkbox/Checkbox.test.js +0 -90
- package/dist/system/Forms/Checkbox/index.d.ts +0 -22
- package/dist/system/Forms/Checkbox/index.js +0 -71
- package/dist/system/Forms/DatePicker/index.d.ts +0 -16
- package/dist/system/Forms/DatePicker/index.js +0 -43
- package/dist/system/Forms/ErrorLabel/ErrorLabel.test.d.ts +0 -1
- package/dist/system/Forms/ErrorLabel/ErrorLabel.test.js +0 -27
- package/dist/system/Forms/ErrorLabel/index.d.ts +0 -7
- package/dist/system/Forms/ErrorLabel/index.js +0 -20
- package/dist/system/Forms/Input/Input.test.d.ts +0 -1
- package/dist/system/Forms/Input/Input.test.js +0 -57
- package/dist/system/Forms/Input/index.d.ts +0 -16
- package/dist/system/Forms/Input/index.js +0 -45
- package/dist/system/Forms/Input/type.d.ts +0 -5
- package/dist/system/Forms/Input/type.js +0 -2
- package/dist/system/Forms/Messages/index.d.ts +0 -67
- package/dist/system/Forms/Messages/index.js +0 -69
- package/dist/system/Forms/RadioInput/index.d.ts +0 -13
- package/dist/system/Forms/RadioInput/index.js +0 -42
- package/dist/system/Forms/Selects/DesktopSelect/index.d.ts +0 -12
- package/dist/system/Forms/Selects/DesktopSelect/index.js +0 -151
- package/dist/system/Forms/Selects/DesktopSelect/type.d.ts +0 -5
- package/dist/system/Forms/Selects/DesktopSelect/type.js +0 -2
- package/dist/system/Forms/Selects/MobileSelect/index.d.ts +0 -14
- package/dist/system/Forms/Selects/MobileSelect/index.js +0 -55
- package/dist/system/Forms/TextArea/index.d.ts +0 -14
- package/dist/system/Forms/TextArea/index.js +0 -44
- package/dist/system/Forms/index.d.ts +0 -6
- package/dist/system/Forms/index.js +0 -16
- package/dist/system/Img/ExternalImage/index.d.ts +0 -6
- package/dist/system/Img/ExternalImage/index.js +0 -53
- package/dist/system/Img/ImageInterceptor/ImageInterceptor.test.d.ts +0 -1
- package/dist/system/Img/ImageInterceptor/ImageInterceptor.test.js +0 -53
- package/dist/system/Img/ImageInterceptor/index.d.ts +0 -17
- package/dist/system/Img/ImageInterceptor/index.js +0 -56
- package/dist/system/Img/Profilepic/index.d.ts +0 -11
- package/dist/system/Img/Profilepic/index.js +0 -39
- package/dist/system/Img/Userpic/UserPic.test.d.ts +0 -2
- package/dist/system/Img/Userpic/UserPic.test.js +0 -69
- package/dist/system/Img/Userpic/index.d.ts +0 -9
- package/dist/system/Img/Userpic/index.js +0 -98
- package/dist/system/Img/index.d.ts +0 -4
- package/dist/system/Img/index.js +0 -20
- package/dist/system/Labels/ExperienceLabel/ExperienceLabel.test.d.ts +0 -1
- package/dist/system/Labels/ExperienceLabel/ExperienceLabel.test.js +0 -64
- package/dist/system/Labels/ExperienceLabel/index.d.ts +0 -7
- package/dist/system/Labels/ExperienceLabel/index.js +0 -42
- package/dist/system/Labels/InviteLabel/InviteLabel.test.d.ts +0 -1
- package/dist/system/Labels/InviteLabel/InviteLabel.test.js +0 -56
- package/dist/system/Labels/InviteLabel/index.d.ts +0 -7
- package/dist/system/Labels/InviteLabel/index.js +0 -38
- package/dist/system/Labels/SkeletonLabel/index.d.ts +0 -2
- package/dist/system/Labels/SkeletonLabel/index.js +0 -7
- package/dist/system/Modals/Modal/Modal.test.d.ts +0 -1
- package/dist/system/Modals/Modal/Modal.test.js +0 -36
- package/dist/system/Modals/Modal/index.d.ts +0 -3
- package/dist/system/Modals/Modal/index.js +0 -31
- package/dist/system/Modals/ModalSidebar/CreatorModalSidebarPortal.d.ts +0 -2
- package/dist/system/Modals/ModalSidebar/CreatorModalSidebarPortal.js +0 -48
- package/dist/system/Modals/ModalSidebar/ModalSidebar.test.d.ts +0 -1
- package/dist/system/Modals/ModalSidebar/ModalSidebar.test.js +0 -35
- package/dist/system/Modals/ModalSidebar/ModalSidebarPortal.d.ts +0 -5
- package/dist/system/Modals/ModalSidebar/ModalSidebarPortal.js +0 -19
- package/dist/system/Modals/ModalSidebar/index.d.ts +0 -4
- package/dist/system/Modals/ModalSidebar/index.js +0 -31
- package/dist/system/Modals/index.d.ts +0 -2
- package/dist/system/Modals/index.js +0 -10
- package/dist/system/Overlay/Overlay.test.d.ts +0 -1
- package/dist/system/Overlay/Overlay.test.js +0 -47
- package/dist/system/Overlay/index.d.ts +0 -3
- package/dist/system/Overlay/index.js +0 -28
- package/dist/system/PageLoader/index.d.ts +0 -2
- package/dist/system/PageLoader/index.js +0 -7
- package/dist/system/Palete/index.d.ts +0 -2
- package/dist/system/Palete/index.js +0 -7
- package/dist/system/ShareIconResize.d.ts +0 -2
- package/dist/system/ShareIconResize.js +0 -26
- package/dist/system/Tabs/TabNavLink/TabNavLink.test.d.ts +0 -2
- package/dist/system/Tabs/TabNavLink/TabNavLink.test.js +0 -40
- package/dist/system/Tabs/TabNavLink/index.d.ts +0 -12
- package/dist/system/Tabs/TabNavLink/index.js +0 -26
- package/dist/system/Tabs/TabsNav/TabsNav.test.d.ts +0 -2
- package/dist/system/Tabs/TabsNav/TabsNav.test.js +0 -43
- package/dist/system/Tabs/TabsNav/index.d.ts +0 -10
- package/dist/system/Tabs/TabsNav/index.js +0 -28
- package/dist/system/Tabs/TabsNav/type.d.ts +0 -6
- package/dist/system/Tabs/TabsNav/type.js +0 -2
- package/dist/system/Tabs/TabsPanel/TabsPanel.test.d.ts +0 -2
- package/dist/system/Tabs/TabsPanel/TabsPanel.test.js +0 -37
- package/dist/system/Tabs/TabsPanel/index.d.ts +0 -7
- package/dist/system/Tabs/TabsPanel/index.js +0 -21
- package/dist/system/Tabs/index.d.ts +0 -4
- package/dist/system/Tabs/index.js +0 -27
- package/dist/system/Text/index.d.ts +0 -0
- package/dist/system/Text/index.js +0 -0
- package/dist/system/index.d.ts +0 -21
- package/dist/system/index.js +0 -49
- package/dist/system/theme.d.ts +0 -1
- package/dist/system/theme.js +0 -7
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/dist/utils/3d.d.ts +0 -5
- package/dist/utils/3d.js +0 -45
- package/dist/utils/adaptive/check4k.d.ts +0 -5
- package/dist/utils/adaptive/check4k.js +0 -17
- package/dist/utils/adaptive/index.d.ts +0 -2
- package/dist/utils/adaptive/index.js +0 -18
- package/dist/utils/adaptive/scale.d.ts +0 -9
- package/dist/utils/adaptive/scale.js +0 -19
- package/dist/utils/auth/index.d.ts +0 -1
- package/dist/utils/auth/index.js +0 -11
- package/dist/utils/copyBtn/index.d.ts +0 -5
- package/dist/utils/copyBtn/index.js +0 -107
- package/dist/utils/env/index.d.ts +0 -5
- package/dist/utils/env/index.js +0 -34
- package/dist/utils/env/isProd/index.d.ts +0 -3
- package/dist/utils/env/isProd/index.js +0 -9
- package/dist/utils/env/type.d.ts +0 -5
- package/dist/utils/env/type.js +0 -9
- package/dist/utils/extractItemIds/index.d.ts +0 -2
- package/dist/utils/extractItemIds/index.js +0 -12
- package/dist/utils/getDimensionsImage.d.ts +0 -4
- package/dist/utils/getDimensionsImage.js +0 -84
- package/dist/utils/getPageSizeAssets.d.ts +0 -5
- package/dist/utils/getPageSizeAssets.js +0 -19
- package/dist/utils/healzHandler/index.d.ts +0 -9
- package/dist/utils/healzHandler/index.js +0 -10
- package/dist/utils/imageProportionsSize/index.d.ts +0 -5
- package/dist/utils/imageProportionsSize/index.js +0 -24
- package/dist/utils/index.d.ts +0 -7
- package/dist/utils/index.js +0 -23
- package/dist/utils/screen/index.d.ts +0 -18
- package/dist/utils/screen/index.js +0 -87
- package/dist/utils/ssrFunctions/index.d.ts +0 -11
- package/dist/utils/ssrFunctions/index.js +0 -41
- package/dist/utils/ui/index.d.ts +0 -8
- package/dist/utils/ui/index.js +0 -8
package/dist/utils/3d.d.ts
DELETED
package/dist/utils/3d.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isObject3D = void 0;
|
|
4
|
-
var objectExtensionsStarts;
|
|
5
|
-
(function (objectExtensionsStarts) {
|
|
6
|
-
objectExtensionsStarts["OBJECT"] = "object";
|
|
7
|
-
objectExtensionsStarts["MODEL"] = "model";
|
|
8
|
-
})(objectExtensionsStarts || (objectExtensionsStarts = {}));
|
|
9
|
-
var objectExtensionsEnds;
|
|
10
|
-
(function (objectExtensionsEnds) {
|
|
11
|
-
objectExtensionsEnds["OBJ"] = "obj";
|
|
12
|
-
objectExtensionsEnds["GLB"] = "glb";
|
|
13
|
-
})(objectExtensionsEnds || (objectExtensionsEnds = {}));
|
|
14
|
-
// const isObject = ({
|
|
15
|
-
// media,
|
|
16
|
-
// mimeType,
|
|
17
|
-
// originalMimeType,
|
|
18
|
-
// }: mediaType): boolean => {
|
|
19
|
-
// if (!originalMimeType) {
|
|
20
|
-
// const isObjectExtension =
|
|
21
|
-
// media &&
|
|
22
|
-
// (media.endsWith(objectExtensionsEnds.OBJ) ||
|
|
23
|
-
// media.endsWith(objectExtensionsEnds.GLB));
|
|
24
|
-
// return (
|
|
25
|
-
// (mimeType &&
|
|
26
|
-
// (mimeType.startsWith(objectExtensionsStarts.OBJECT) ||
|
|
27
|
-
// mimeType.startsWith(objectExtensionsStarts.MODEL))) ||
|
|
28
|
-
// isObjectExtension ||
|
|
29
|
-
// false
|
|
30
|
-
// );
|
|
31
|
-
// } else return false;
|
|
32
|
-
// };
|
|
33
|
-
//todo:after add originalMimeType and preview 2d - refactor to top version and add to ludo.ninja/core
|
|
34
|
-
var isObject3D = function (_a) {
|
|
35
|
-
var media = _a.media, mimeType = _a.mimeType;
|
|
36
|
-
var isObjectExtension = media &&
|
|
37
|
-
(media.endsWith(objectExtensionsEnds.OBJ) ||
|
|
38
|
-
media.endsWith(objectExtensionsEnds.GLB));
|
|
39
|
-
return ((mimeType &&
|
|
40
|
-
(mimeType.startsWith(objectExtensionsStarts.OBJECT) ||
|
|
41
|
-
mimeType.startsWith(objectExtensionsStarts.MODEL))) ||
|
|
42
|
-
isObjectExtension ||
|
|
43
|
-
false);
|
|
44
|
-
};
|
|
45
|
-
exports.isObject3D = isObject3D;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getAdaptiveValueWithCheck4k = void 0;
|
|
4
|
-
var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
5
|
-
var styles_1 = require("@ludo.ninja/components/dist/styles");
|
|
6
|
-
var getAdaptiveValueWithCheck4k = function (_a) {
|
|
7
|
-
var windowDimensions = _a.windowDimensions, currentSize = _a.currentSize;
|
|
8
|
-
if (windowDimensions &&
|
|
9
|
-
windowDimensions.windowWidth >= styles_1.ScreenWidth.FOUR_K_MIN) {
|
|
10
|
-
return (0, _4k_1.getAdaptiveValue)({
|
|
11
|
-
windowWidth: windowDimensions.windowWidth,
|
|
12
|
-
currentSize: currentSize,
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
return currentSize;
|
|
16
|
-
};
|
|
17
|
-
exports.getAdaptiveValueWithCheck4k = getAdaptiveValueWithCheck4k;
|
|
@@ -1,18 +0,0 @@
|
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./check4k"), exports);
|
|
18
|
-
__exportStar(require("./scale"), exports);
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { TDimensions } from '@ludo.ninja/components/dist/utils';
|
|
2
|
-
export declare const getAdaptiveScale: ({ windowDimensions, currentSize, }: {
|
|
3
|
-
currentSize: number;
|
|
4
|
-
windowDimensions: TDimensions | null;
|
|
5
|
-
}) => {
|
|
6
|
-
transform: string;
|
|
7
|
-
} | {
|
|
8
|
-
transform?: undefined;
|
|
9
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getAdaptiveScale = void 0;
|
|
4
|
-
var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
5
|
-
var styles_1 = require("@ludo.ninja/components/dist/styles");
|
|
6
|
-
var getAdaptiveScale = function (_a) {
|
|
7
|
-
var windowDimensions = _a.windowDimensions, currentSize = _a.currentSize;
|
|
8
|
-
if (windowDimensions &&
|
|
9
|
-
windowDimensions.windowWidth >= styles_1.ScreenWidth.FOUR_K_MIN) {
|
|
10
|
-
return {
|
|
11
|
-
transform: "scale(".concat((0, _4k_1.getAdaptiveValue)({
|
|
12
|
-
windowWidth: windowDimensions.windowWidth,
|
|
13
|
-
currentSize: currentSize,
|
|
14
|
-
}), ")"),
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
return {};
|
|
18
|
-
};
|
|
19
|
-
exports.getAdaptiveScale = getAdaptiveScale;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const redirectToLoginWindow: () => Window;
|
package/dist/utils/auth/index.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
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.redirectToLoginWindow = void 0;
|
|
7
|
-
var process_1 = __importDefault(require("process"));
|
|
8
|
-
var redirectToLoginWindow = function () {
|
|
9
|
-
return window.open("".concat(process_1.default.env.NEXT_PUBLIC_AUTH_HOST, "/login/?fallback_url=").concat(window.location.href.replace(/\s/g, '')), '_self');
|
|
10
|
-
};
|
|
11
|
-
exports.redirectToLoginWindow = redirectToLoginWindow;
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
-
return cooked;
|
|
5
|
-
};
|
|
6
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
-
if (k2 === undefined) k2 = k;
|
|
8
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
-
}
|
|
12
|
-
Object.defineProperty(o, k2, desc);
|
|
13
|
-
}) : (function(o, m, k, k2) {
|
|
14
|
-
if (k2 === undefined) k2 = k;
|
|
15
|
-
o[k2] = m[k];
|
|
16
|
-
}));
|
|
17
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
-
}) : function(o, v) {
|
|
20
|
-
o["default"] = v;
|
|
21
|
-
});
|
|
22
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
23
|
-
if (mod && mod.__esModule) return mod;
|
|
24
|
-
var result = {};
|
|
25
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
26
|
-
__setModuleDefault(result, mod);
|
|
27
|
-
return result;
|
|
28
|
-
};
|
|
29
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
30
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
31
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
32
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
33
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
34
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
35
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
36
|
-
});
|
|
37
|
-
};
|
|
38
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
39
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
40
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
41
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
42
|
-
function step(op) {
|
|
43
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
44
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
45
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
46
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
47
|
-
switch (op[0]) {
|
|
48
|
-
case 0: case 1: t = op; break;
|
|
49
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
50
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
51
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
52
|
-
default:
|
|
53
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
54
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
55
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
56
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
57
|
-
if (t[2]) _.ops.pop();
|
|
58
|
-
_.trys.pop(); continue;
|
|
59
|
-
}
|
|
60
|
-
op = body.call(thisArg, _);
|
|
61
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
62
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
63
|
-
}
|
|
64
|
-
};
|
|
65
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
66
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
67
|
-
};
|
|
68
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
69
|
-
exports.CopyButton = void 0;
|
|
70
|
-
var react_1 = __importStar(require("react"));
|
|
71
|
-
var styled_components_1 = __importDefault(require("styled-components"));
|
|
72
|
-
var _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
|
|
73
|
-
var utils_1 = require("@ludo.ninja/utils");
|
|
74
|
-
var ScreenWidth_1 = require("@/styles/ScreenWidth");
|
|
75
|
-
var colors_1 = require("@/styles/colors");
|
|
76
|
-
var _system_1 = require("@system");
|
|
77
|
-
var scale_1 = require("@/utils/adaptive/scale");
|
|
78
|
-
var screen_1 = require("@/utils/screen");
|
|
79
|
-
var copied_svg_1 = __importDefault(require("@/public/copied.svg"));
|
|
80
|
-
var copy_icon_new_svg_1 = __importDefault(require("@/public/copy-icon-new.svg"));
|
|
81
|
-
var SWrapperIcon = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n cursor: pointer;\n margin-left: 5px;\n display: flex;\n align-items: center;\n justify-content: center;\n\n ", " {\n margin-left: ", ";\n width: ", ";\n height: ", ";\n }\n"], ["\n cursor: pointer;\n margin-left: 5px;\n display: flex;\n align-items: center;\n justify-content: center;\n\n ", " {\n margin-left: ", ";\n width: ", ";\n height: ", ";\n }\n"])), ScreenWidth_1.mediaQuery.minWidthFourK, (0, _4k_1.adaptiveValueCalc)(5), (0, _4k_1.adaptiveValueCalc)(20), (0, _4k_1.adaptiveValueCalc)(20));
|
|
82
|
-
var CopyButton = function (_a) {
|
|
83
|
-
var value = _a.value, style = _a.style, children = _a.children;
|
|
84
|
-
var _b = (0, react_1.useState)(false), isCopied = _b[0], setIsCopied = _b[1];
|
|
85
|
-
var handleCopy = function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
86
|
-
return __generator(this, function (_a) {
|
|
87
|
-
switch (_a.label) {
|
|
88
|
-
case 0: return [4 /*yield*/, (0, utils_1.copyToClipboard)(value)];
|
|
89
|
-
case 1:
|
|
90
|
-
_a.sent();
|
|
91
|
-
setIsCopied(true);
|
|
92
|
-
setTimeout(function () {
|
|
93
|
-
setIsCopied(false);
|
|
94
|
-
}, 200);
|
|
95
|
-
return [2 /*return*/];
|
|
96
|
-
}
|
|
97
|
-
});
|
|
98
|
-
}); };
|
|
99
|
-
var windowDimensions = (0, screen_1.useWindowDimensionsWithServerInitial)().windowDimensions;
|
|
100
|
-
if (!value)
|
|
101
|
-
return react_1.default.createElement(_system_1.H5, { color: colors_1.BlackColor }, "Unknown");
|
|
102
|
-
return (react_1.default.createElement(_system_1.Flex, { alignItems: "center", onClick: handleCopy, style: style },
|
|
103
|
-
children,
|
|
104
|
-
react_1.default.createElement(SWrapperIcon, null, !isCopied ? (react_1.default.createElement(copy_icon_new_svg_1.default, { width: 20, height: 20, style: (0, scale_1.getAdaptiveScale)({ windowDimensions: windowDimensions, currentSize: 1 }) })) : (react_1.default.createElement(copied_svg_1.default, { width: 20, height: 20, style: (0, scale_1.getAdaptiveScale)({ windowDimensions: windowDimensions, currentSize: 1 }) })))));
|
|
105
|
-
};
|
|
106
|
-
exports.CopyButton = CopyButton;
|
|
107
|
-
var templateObject_1;
|
package/dist/utils/env/index.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
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.isProd = exports.getMediaENVDomain = exports.getStaticENVDomain = exports.getAudioENVDomain = exports.getVideoENVDomain = void 0;
|
|
7
|
-
var process_1 = __importDefault(require("process"));
|
|
8
|
-
var core_1 = require("@ludo.ninja/core");
|
|
9
|
-
var getVideoENVDomain = function () {
|
|
10
|
-
return "".concat((0, core_1.getVideoDomain)({
|
|
11
|
-
ENV: process_1.default.env.NEXT_PUBLIC_STATIC_DOMAIN,
|
|
12
|
-
}));
|
|
13
|
-
};
|
|
14
|
-
exports.getVideoENVDomain = getVideoENVDomain;
|
|
15
|
-
var getAudioENVDomain = function () {
|
|
16
|
-
return "".concat((0, core_1.getAudioDomain)({
|
|
17
|
-
ENV: process_1.default.env.NEXT_PUBLIC_STATIC_DOMAIN,
|
|
18
|
-
}));
|
|
19
|
-
};
|
|
20
|
-
exports.getAudioENVDomain = getAudioENVDomain;
|
|
21
|
-
var getStaticENVDomain = function () {
|
|
22
|
-
return "".concat((0, core_1.getStaticDomain)({
|
|
23
|
-
ENV: process_1.default.env.NEXT_PUBLIC_STATIC_DOMAIN,
|
|
24
|
-
}));
|
|
25
|
-
};
|
|
26
|
-
exports.getStaticENVDomain = getStaticENVDomain;
|
|
27
|
-
var getMediaENVDomain = function () {
|
|
28
|
-
return "".concat((0, core_1.getMediaDomain)({
|
|
29
|
-
ENV: process_1.default.env.NEXT_PUBLIC_STATIC_DOMAIN,
|
|
30
|
-
}));
|
|
31
|
-
};
|
|
32
|
-
exports.getMediaENVDomain = getMediaENVDomain;
|
|
33
|
-
var isProd_1 = require("./isProd");
|
|
34
|
-
Object.defineProperty(exports, "isProd", { enumerable: true, get: function () { return isProd_1.isProd; } });
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isProd = void 0;
|
|
4
|
-
var type_1 = require("@/utils/env/type");
|
|
5
|
-
var isProd = function (_a) {
|
|
6
|
-
var ENV = _a.ENV;
|
|
7
|
-
return ENV === type_1.envProdTypes.PROD;
|
|
8
|
-
};
|
|
9
|
-
exports.isProd = isProd;
|
package/dist/utils/env/type.d.ts
DELETED
package/dist/utils/env/type.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.envProdTypes = void 0;
|
|
4
|
-
var envProdTypes;
|
|
5
|
-
(function (envProdTypes) {
|
|
6
|
-
envProdTypes["STAGE"] = "stage";
|
|
7
|
-
envProdTypes["PROD"] = "prod";
|
|
8
|
-
envProdTypes["DEVELOPMENT"] = "development";
|
|
9
|
-
})(envProdTypes || (exports.envProdTypes = envProdTypes = {}));
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.extractItemIds = void 0;
|
|
4
|
-
var index_1 = require("@/dto/index");
|
|
5
|
-
function extractItemIds(creations) {
|
|
6
|
-
return creations.map(function (creation) {
|
|
7
|
-
return creation instanceof index_1.CollectionCreationEntity
|
|
8
|
-
? creation.getCreationId()
|
|
9
|
-
: creation.getItemId();
|
|
10
|
-
});
|
|
11
|
-
}
|
|
12
|
-
exports.extractItemIds = extractItemIds;
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
13
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
|
-
function step(op) {
|
|
16
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
|
-
switch (op[0]) {
|
|
21
|
-
case 0: case 1: t = op; break;
|
|
22
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
23
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
24
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
25
|
-
default:
|
|
26
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
27
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
28
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
30
|
-
if (t[2]) _.ops.pop();
|
|
31
|
-
_.trys.pop(); continue;
|
|
32
|
-
}
|
|
33
|
-
op = body.call(thisArg, _);
|
|
34
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
35
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.getDimensionsImage = void 0;
|
|
40
|
-
var getDimensionsImage = function (value) { return __awaiter(void 0, void 0, void 0, function () {
|
|
41
|
-
function loadReader(file) {
|
|
42
|
-
return new Promise(function (resolve) {
|
|
43
|
-
var reader = new FileReader();
|
|
44
|
-
reader.addEventListener('load', function () {
|
|
45
|
-
resolve(reader.result);
|
|
46
|
-
});
|
|
47
|
-
reader.readAsDataURL(file);
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
function loadImage(url) {
|
|
51
|
-
return new Promise(function (resolve, reject) {
|
|
52
|
-
var image = new Image();
|
|
53
|
-
image.addEventListener('error', function (error) {
|
|
54
|
-
reject(error);
|
|
55
|
-
});
|
|
56
|
-
image.addEventListener('load', function inc() {
|
|
57
|
-
// console.log("this",this)
|
|
58
|
-
resolve({
|
|
59
|
-
width: this.width,
|
|
60
|
-
height: this.height,
|
|
61
|
-
});
|
|
62
|
-
});
|
|
63
|
-
image.src = url;
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
var url, e_1;
|
|
67
|
-
return __generator(this, function (_a) {
|
|
68
|
-
switch (_a.label) {
|
|
69
|
-
case 0: return [4 /*yield*/, loadReader(value)];
|
|
70
|
-
case 1:
|
|
71
|
-
url = _a.sent();
|
|
72
|
-
_a.label = 2;
|
|
73
|
-
case 2:
|
|
74
|
-
_a.trys.push([2, 4, , 5]);
|
|
75
|
-
return [4 /*yield*/, loadImage(url)];
|
|
76
|
-
case 3: return [2 /*return*/, _a.sent()];
|
|
77
|
-
case 4:
|
|
78
|
-
e_1 = _a.sent();
|
|
79
|
-
return [2 /*return*/, null];
|
|
80
|
-
case 5: return [2 /*return*/];
|
|
81
|
-
}
|
|
82
|
-
});
|
|
83
|
-
}); };
|
|
84
|
-
exports.getDimensionsImage = getDimensionsImage;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getPageSize = exports.limitCount = void 0;
|
|
4
|
-
var sessionScroll_1 = require("@/modules/sessionScroll");
|
|
5
|
-
exports.limitCount = 40;
|
|
6
|
-
var getPageSize = function (_a) {
|
|
7
|
-
var _b, _c;
|
|
8
|
-
var _d = _a.limit, limit = _d === void 0 ? exports.limitCount : _d, scrollTab = _a.scrollTab;
|
|
9
|
-
if (scrollTab) {
|
|
10
|
-
var scrollKeys = (0, sessionScroll_1.getScrollKeys)();
|
|
11
|
-
if (scrollKeys) {
|
|
12
|
-
var itemsCount = (_b = scrollKeys[scrollTab]) === null || _b === void 0 ? void 0 : _b.itemsCountKey;
|
|
13
|
-
var itemIndexKey = (_c = scrollKeys[scrollTab]) === null || _c === void 0 ? void 0 : _c.itemIndexKey;
|
|
14
|
-
return itemsCount && itemIndexKey ? Number(itemsCount) : limit;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
return limit;
|
|
18
|
-
};
|
|
19
|
-
exports.getPageSize = getPageSize;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { NextApiRequest, NextApiResponse } from 'next';
|
|
2
|
-
type ResponseData = {
|
|
3
|
-
message: string;
|
|
4
|
-
};
|
|
5
|
-
type HandlerProps = {
|
|
6
|
-
appName: string;
|
|
7
|
-
};
|
|
8
|
-
export declare const createHandler: ({ appName }: HandlerProps) => (req: NextApiRequest, res: NextApiResponse<ResponseData>) => void;
|
|
9
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.createHandler = void 0;
|
|
4
|
-
var createHandler = function (_a) {
|
|
5
|
-
var appName = _a.appName;
|
|
6
|
-
return function (req, res) {
|
|
7
|
-
res.status(200).json({ message: "Hello from ".concat(appName, "!") });
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
exports.createHandler = createHandler;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defineImgProportion = void 0;
|
|
4
|
-
var defineImgProportion = function (ref, whenDisableAddProportion) {
|
|
5
|
-
var _a, _b;
|
|
6
|
-
var height = 0;
|
|
7
|
-
var width = 0;
|
|
8
|
-
var x;
|
|
9
|
-
if (ref.current) {
|
|
10
|
-
height = (ref === null || ref === void 0 ? void 0 : ref.current) && ((_a = ref === null || ref === void 0 ? void 0 : ref.current) === null || _a === void 0 ? void 0 : _a.naturalHeight);
|
|
11
|
-
width = (ref === null || ref === void 0 ? void 0 : ref.current) && ((_b = ref === null || ref === void 0 ? void 0 : ref.current) === null || _b === void 0 ? void 0 : _b.naturalWidth);
|
|
12
|
-
var biggestSize = height > width ? height : width;
|
|
13
|
-
var lowerSize = height > width ? width : height;
|
|
14
|
-
x = ((lowerSize * 100) / biggestSize).toFixed(2);
|
|
15
|
-
if (+x > whenDisableAddProportion || +x > 100) {
|
|
16
|
-
x = 100;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
return {
|
|
20
|
-
width: width > height ? '100%' : x + '%',
|
|
21
|
-
height: width > height ? x + '%' : '100%',
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
exports.defineImgProportion = defineImgProportion;
|
package/dist/utils/index.d.ts
DELETED
package/dist/utils/index.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./ssrFunctions"), exports);
|
|
18
|
-
__exportStar(require("./env/isProd"), exports);
|
|
19
|
-
__exportStar(require("./screen"), exports);
|
|
20
|
-
__exportStar(require("./healzHandler"), exports);
|
|
21
|
-
__exportStar(require("./adaptive"), exports);
|
|
22
|
-
__exportStar(require("./copyBtn"), exports);
|
|
23
|
-
__exportStar(require("./ui"), exports);
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export type TDimensions = {
|
|
2
|
-
windowWidth: number;
|
|
3
|
-
windowHeight: number;
|
|
4
|
-
};
|
|
5
|
-
export declare function getWindowDimensions(): {
|
|
6
|
-
windowWidth: number;
|
|
7
|
-
windowHeight: number;
|
|
8
|
-
};
|
|
9
|
-
export declare function useWindowDimensions(isMobileInitial?: boolean): {
|
|
10
|
-
windowDimensions: TDimensions;
|
|
11
|
-
deviceType: "isMobile" | "isDesktop" | "isTablet";
|
|
12
|
-
isMobile: boolean;
|
|
13
|
-
};
|
|
14
|
-
export declare function useWindowDimensionsWithServerInitial(): {
|
|
15
|
-
isMobile: boolean;
|
|
16
|
-
windowDimensions: TDimensions;
|
|
17
|
-
};
|
|
18
|
-
export declare function InitializeAppHeight(): any;
|