@ludo.ninja/components 1.0.6 → 1.0.8

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.
Files changed (809) hide show
  1. package/dist/api/graphql/index.js +4 -4
  2. package/dist/api/server-assets/mutations/useDislikeAsset/index.js +185 -72
  3. package/dist/api/server-assets/mutations/useLikeAsset/index.js +182 -73
  4. package/dist/api/server-assets/queries/useFetchAssetByBlockchain/index.js +200 -73
  5. package/dist/api/server-assets/queries/useFetchAssets/index.js +34 -22
  6. package/dist/api/server-assets/queries/useFetchDynamicAssetLikes/index.js +44 -27
  7. package/dist/api/server-assets/queries/useFetchDynamicAssetsLikes/index.js +32 -22
  8. package/dist/api/server-collection/mutations/useDislikeCollection/index.js +184 -71
  9. package/dist/api/server-collection/mutations/useLikeCollection/index.js +184 -71
  10. package/dist/api/server-experiences/queries/useFetchMyExperienceWithLevel/index.js +124 -71
  11. package/dist/api/server-experiences/queries/useFetchMyTasks/index.js +49 -35
  12. package/dist/api/server-galleries/mutations/useAddAssetsToGallery/index.js +189 -75
  13. package/dist/api/server-galleries/mutations/useAddChangeGalleryBanner/index.js +167 -60
  14. package/dist/api/server-galleries/mutations/useAddCollectionsToGallery/index.js +191 -74
  15. package/dist/api/server-galleries/mutations/useAddCreationsToGallery/index.js +197 -80
  16. package/dist/api/server-galleries/mutations/useCreateFavorites/index.js +177 -63
  17. package/dist/api/server-galleries/mutations/useCreateGallery/index.js +177 -63
  18. package/dist/api/server-galleries/mutations/useDeleteGallery/index.js +188 -79
  19. package/dist/api/server-galleries/mutations/useDeleteGalleryBanner/index.js +185 -76
  20. package/dist/api/server-galleries/mutations/useEditGallery/index.js +164 -55
  21. package/dist/api/server-galleries/mutations/useRemoveAssetFromGallery/index.js +199 -86
  22. package/dist/api/server-galleries/mutations/useRemoveCollectionFromGallery/index.js +194 -81
  23. package/dist/api/server-galleries/queries/useFetchGallery/index.js +39 -31
  24. package/dist/api/server-galleries/queries/useFetchGalleryAssets/index.js +256 -103
  25. package/dist/api/server-galleries/queries/useFetchMyFavorites/index.js +245 -108
  26. package/dist/api/server-galleries/queries/useFetchMyGalleries/index.js +250 -112
  27. package/dist/api/server-galleries/queries/useFetchSubscribedGalleries/index.js +235 -86
  28. package/dist/api/server-galleries/queries/useFetchUserFavorites/index.js +254 -119
  29. package/dist/api/server-identities/mutations/useAddWalletElrond/index.js +53 -30
  30. package/dist/api/server-identities/mutations/useAddWalletFlow/index.js +184 -66
  31. package/dist/api/server-identities/mutations/useAddWalletMetamask/index.js +219 -76
  32. package/dist/api/server-identities/mutations/useAddWalletSolana/index.js +193 -71
  33. package/dist/api/server-identities/mutations/useAddWalletTezos/index.js +184 -66
  34. package/dist/api/server-identities/mutations/useFollowProfile/index.js +56 -31
  35. package/dist/api/server-identities/mutations/useGenerateNewInviteCodes/index.js +184 -71
  36. package/dist/api/server-identities/mutations/useInviteCode/index.js +192 -65
  37. package/dist/api/server-identities/mutations/useRemoveWallet/index.js +50 -35
  38. package/dist/api/server-identities/mutations/useRevokeToken/index.js +160 -59
  39. package/dist/api/server-identities/mutations/useSaveEmailOfJoiner/index.js +193 -65
  40. package/dist/api/server-identities/mutations/useUnfollowProfile/index.js +58 -30
  41. package/dist/api/server-identities/queries/useFetchProfile/index.js +85 -61
  42. package/dist/api/server-identities/queries/useFetchUserWallets/index.js +35 -15
  43. package/dist/api/server-identities/queries/useGetMyInviteCodes/index.js +43 -27
  44. package/dist/api/server-medias/mutations/useDeleteUserpic/index.js +28 -13
  45. package/dist/api/server-medias/mutations/useUploadUserpic/index.js +181 -60
  46. package/dist/api/server-medias/queries/useFetchUserPic/index.js +43 -31
  47. package/dist/api/server-opportunities/mutations/useDislikeOpportunity.js +171 -65
  48. package/dist/api/server-opportunities/mutations/useLikeOpportunity.js +171 -65
  49. package/dist/api/server-opportunities/mutations/useOpenOpportunity/index.js +171 -65
  50. package/dist/api/server-opportunities/queries/useGetOpportunities.js +25 -16
  51. package/dist/api/server-preferences/mutations/useSaveUserExpectations/index.jsx +199 -75
  52. package/dist/api/server-preferences/mutations/useSaveUserInterests/index.js +199 -75
  53. package/dist/api/server-preferences/queries/fetchSearchResultSelections/index.js +26 -19
  54. package/dist/api/server-preferences/queries/fetchSearchResultSelections/queryData.js +235 -76
  55. package/dist/api/server-preferences/queries/useFetchExpectations/index.js +20 -14
  56. package/dist/api/server-preferences/queries/useFetchInterests/index.js +20 -14
  57. package/dist/api/server-preferences/queries/useFetchSearchResultTimeSelection/index.js +35 -27
  58. package/dist/api/server-preferences/queries/useFetchUserInterests/index.js +21 -14
  59. package/dist/api/server-preferences/queries/useSearchResultBlockchainSelections/index.js +38 -28
  60. package/dist/api/server-preferences/queries/useSearchResultCategorySelections/index.js +35 -27
  61. package/dist/api/server-preferences/queries/useSearchResultStatusSelections/index.js +36 -28
  62. package/dist/api/server-preferences/queries/useSearchResultTypeSelections/index.js +59 -33
  63. package/dist/api/server-search/queries/useFetchAllCreations/index.js +304 -150
  64. package/dist/api/server-search/queries/useFetchAssetsCount/index.js +20 -20
  65. package/dist/api/server-search/queries/useFetchCollection/index.js +56 -42
  66. package/dist/api/server-search/queries/useFetchCollections/index.js +299 -141
  67. package/dist/api/server-search/queries/useFetchDynamicCollectionData/index.js +342 -178
  68. package/dist/api/server-search/queries/useFetchFindAllTopEntitiesByName/index.js +66 -41
  69. package/dist/api/server-search/queries/useFetchNetWorth/index.js +23 -16
  70. package/dist/api/server-search/queries/useFindCreations/index.js +331 -162
  71. package/dist/api/server-search/queries/useFindProfilesByName/index.js +77 -49
  72. package/dist/api/server-search/queries/useFindShowcaseItems/index.js +32 -32
  73. package/dist/api/server-search/queries/useFindUserCreations/index.js +315 -151
  74. package/dist/api/server-search/queries/useFindUserShowcaseItems/index.js +30 -30
  75. package/dist/api/subscriptions/SubscriberInviteNotification.jsx +49 -29
  76. package/dist/components/CreationCard/CardHead.jsx +277 -103
  77. package/dist/components/CreationCard/index.jsx +211 -32
  78. package/dist/components/addWalletsRedirectPage/index.jsx +66 -15
  79. package/dist/components/assetJSONLD.jsx +24 -24
  80. package/dist/components/assetPage/assetLikes/index.jsx +98 -43
  81. package/dist/components/assetPage/assetNft/index.jsx +61 -19
  82. package/dist/components/assetPage/assetWrapper/index.jsx +170 -35
  83. package/dist/components/assetPage/audioVideoPlayer/Duration.jsx +17 -12
  84. package/dist/components/assetPage/audioVideoPlayer/index.jsx +462 -149
  85. package/dist/components/assetPage/category/index.jsx +89 -16
  86. package/dist/components/assetPage/description/index.jsx +70 -17
  87. package/dist/components/assetPage/detailsAccordeon/index.jsx +81 -18
  88. package/dist/components/assetPage/figCaption/index.jsx +445 -147
  89. package/dist/components/assetPage/information/index.jsx +194 -42
  90. package/dist/components/assetPage/marketPlaces/index.jsx +109 -20
  91. package/dist/components/assetPage/media/AssetImage/index.jsx +256 -54
  92. package/dist/components/assetPage/moreDropDown/index.jsx +224 -38
  93. package/dist/components/assetPage/participants/index.jsx +404 -91
  94. package/dist/components/assetPage/priceRank/index.jsx +177 -24
  95. package/dist/components/assetPage/properties/index.jsx +90 -17
  96. package/dist/components/assetPage/slider/index.jsx +183 -49
  97. package/dist/components/assetPage/slider/slideItem.jsx +48 -7
  98. package/dist/components/assetPage/slider/store.js +9 -6
  99. package/dist/components/assetPage/tittle/index.jsx +134 -31
  100. package/dist/components/assetPage/viewer3D/index.jsx +216 -51
  101. package/dist/components/banner/index.jsx +71 -20
  102. package/dist/components/base/Meta/index.jsx +139 -48
  103. package/dist/components/base/NoSSR/index.jsx +10 -2
  104. package/dist/components/collectionPage/collectionLike/index.jsx +57 -23
  105. package/dist/components/deleteDialog/index.jsx +306 -78
  106. package/dist/components/editProfile/Cropper/index.jsx +235 -73
  107. package/dist/components/editProfile/UserPicProfile/index.jsx +462 -206
  108. package/dist/components/favoriteList/add/addAssetToFavoriteList/index.jsx +195 -57
  109. package/dist/components/favoriteList/add/addCollectionToFavoriteList/index.jsx +197 -55
  110. package/dist/components/favoriteList/add/addCreationToFavoriteList/index.jsx +197 -57
  111. package/dist/components/filters/applyResetBtns/index.jsx +55 -10
  112. package/dist/components/filters/galleriesFiltersForm/index.jsx +137 -51
  113. package/dist/components/filters/index.jsx +189 -57
  114. package/dist/components/filters/mobileFilters/index.jsx +26 -7
  115. package/dist/components/filters/setsFiltersForm/index.jsx +113 -43
  116. package/dist/components/forms/form/index.jsx +289 -92
  117. package/dist/components/forms/formsNavigation/index.jsx +146 -34
  118. package/dist/components/forms/formsTemplate/index.jsx +930 -697
  119. package/dist/components/forms/types/index.js +7 -7
  120. package/dist/components/gallery/add/addAssetToGallery/index.jsx +196 -57
  121. package/dist/components/gallery/add/addCreationToGallery/index.jsx +240 -69
  122. package/dist/components/gradientLabel/index.jsx +37 -6
  123. package/dist/components/headers/components/MobileToggle/index.jsx +1 -1
  124. package/dist/components/headers/components/headerExperienceLabel/index.jsx +43 -13
  125. package/dist/components/headers/components/headerUserPic/index.jsx +48 -11
  126. package/dist/components/headers/header/index.jsx +49 -14
  127. package/dist/components/headers/headerSearch/index.jsx +58 -19
  128. package/dist/components/headers/headerSimple/index.jsx +49 -13
  129. package/dist/components/inviteCodesForms/getEarlyAccessForm/index.jsx +326 -148
  130. package/dist/components/inviteCodesForms/joinWaitListForm/index.jsx +271 -103
  131. package/dist/components/inviteCodesForms/styles/index.js +75 -11
  132. package/dist/components/inviteCodesPage/components/index.jsx +1 -0
  133. package/dist/components/inviteCodesPage/components/inviteCodes/index.jsx +25 -9
  134. package/dist/components/inviteCodesPage/components/inviteCodes/inviteCode/index.jsx +48 -9
  135. package/dist/components/inviteCodesPage/components/inviteCodes/inviteCode/loader/index.jsx +28 -11
  136. package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/index.jsx +30 -11
  137. package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/loader/index.jsx +21 -6
  138. package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeCopy/index.jsx +32 -9
  139. package/dist/components/inviteCodesPage/components/inviteCodes/inviteCodeDate/index.jsx +29 -9
  140. package/dist/components/inviteCodesPage/wrappers/index.jsx +1 -0
  141. package/dist/components/inviteCodesPage/wrappers/resumeCodes/index.jsx +137 -22
  142. package/dist/components/inviteCodesPage/wrappers/resumeCodes/loader/index.jsx +22 -6
  143. package/dist/components/inviteCodesPage/wrappers/unusedCodes/index.jsx +40 -16
  144. package/dist/components/inviteCodesPage/wrappers/usedCodes/index.jsx +51 -21
  145. package/dist/components/linkTabs/index.jsx +56 -8
  146. package/dist/components/linkTabs/linkTab/index.jsx +83 -10
  147. package/dist/components/myWallets/index.jsx +56 -15
  148. package/dist/components/myWallets/myWalletItem/index.jsx +359 -90
  149. package/dist/components/navigation/index.jsx +156 -25
  150. package/dist/components/profile/MultiversXAudit/MultiversXAudit.jsx +243 -109
  151. package/dist/components/profile/ProfileTabs.jsx +61 -34
  152. package/dist/components/profile/aboutText/index.jsx +240 -53
  153. package/dist/components/profile/addToGalleryBtns/index.jsx +114 -16
  154. package/dist/components/profile/followersSocial/followers/index.jsx +70 -10
  155. package/dist/components/profile/followersSocial/index.jsx +37 -13
  156. package/dist/components/profile/followersSocial/social/index.jsx +80 -27
  157. package/dist/components/profile/info/index.jsx +86 -22
  158. package/dist/components/profile/interests/data.js +17 -16
  159. package/dist/components/profile/interests/index.jsx +149 -33
  160. package/dist/components/profile/jsonLd/index.jsx +14 -3
  161. package/dist/components/profile/pageHead/index.jsx +106 -35
  162. package/dist/components/profile/profileSkeleton/index.jsx +51 -17
  163. package/dist/components/profile/profileUserCards/index.jsx +26 -7
  164. package/dist/components/profile/profileUserCards/profileUserCard/index.jsx +340 -101
  165. package/dist/components/profile/rank/index.jsx +78 -11
  166. package/dist/components/profile/stats/index.jsx +46 -9
  167. package/dist/components/profile/wallets/index.jsx +142 -34
  168. package/dist/components/profile/wrapper/index.jsx +16 -8
  169. package/dist/components/registrationPage/index.jsx +1 -0
  170. package/dist/components/registrationPage/registrationSelectBox/index.jsx +91 -10
  171. package/dist/components/registrationPage/registrationSelection/index.jsx +99 -33
  172. package/dist/components/rewards/FAQ/index.jsx +281 -77
  173. package/dist/components/rewards/clarifications/index.jsx +98 -23
  174. package/dist/components/rewards/logoBottom/index.jsx +46 -12
  175. package/dist/components/rewards/prograssBar/index.jsx +66 -12
  176. package/dist/components/rewards/rewardsButton/index.jsx +78 -6
  177. package/dist/components/rewards/seasonBanner/index.jsx +86 -11
  178. package/dist/components/rewards/taskExpTab/index.jsx +200 -30
  179. package/dist/components/rewards/tasksGrid/index.jsx +360 -117
  180. package/dist/components/rewards/userExp/index.jsx +256 -32
  181. package/dist/components/search/SearchInputContainer.jsx +476 -190
  182. package/dist/components/search/index.jsx +350 -37
  183. package/dist/components/search/searchCategories/index.jsx +75 -38
  184. package/dist/components/search/searchCloseMoreButtons/index.jsx +131 -35
  185. package/dist/components/search/searchResultCaption/index.jsx +71 -13
  186. package/dist/components/search/searchSelectsGalleries/index.jsx +103 -23
  187. package/dist/components/search/searchSelectsSets/index.jsx +101 -23
  188. package/dist/components/search/searchSimpleInput/index.jsx +201 -31
  189. package/dist/components/search/searchSuggestions/index.jsx +273 -68
  190. package/dist/components/search/searchSuggestions/searchSuggestionsCaption/index.jsx +59 -8
  191. package/dist/components/search/searchSuggestions/searchSuggestionsFooter/index.jsx +65 -8
  192. package/dist/components/search/searchSuggestions/searchSuggestionsItem/index.jsx +111 -25
  193. package/dist/components/search/searchSuggestions/searchSuggestionsItem/searchSuggestionsItemSkeleton/index.jsx +124 -21
  194. package/dist/components/search/searchSuggestions/searchSuggestionsNotFound/index.jsx +67 -8
  195. package/dist/components/shareDialog/index.jsx +277 -34
  196. package/dist/components/showcaseAssets/showcaseSort/data.js +23 -23
  197. package/dist/components/showcaseAssets/showcaseSort/index.jsx +48 -10
  198. package/dist/components/sidebar/data.jsx +83 -62
  199. package/dist/components/sidebar/index.jsx +278 -75
  200. package/dist/components/sidebar/initializer.jsx +13 -3
  201. package/dist/components/sidebar/sidebarFilters/index.jsx +42 -9
  202. package/dist/components/sidebar/sidebarInviteCodeLabel/index.jsx +95 -18
  203. package/dist/components/socialButtons/data.jsx +44 -30
  204. package/dist/components/socialButtons/icons/discord.jsx +14 -3
  205. package/dist/components/socialButtons/icons/facebook.jsx +15 -4
  206. package/dist/components/socialButtons/icons/instagram.jsx +19 -5
  207. package/dist/components/socialButtons/icons/medium.jsx +14 -3
  208. package/dist/components/socialButtons/icons/telegram.jsx +14 -3
  209. package/dist/components/socialButtons/icons/twitter.jsx +14 -3
  210. package/dist/components/socialButtons/index.jsx +63 -15
  211. package/dist/components/tabs/icons/bell.jsx +14 -5
  212. package/dist/components/tabs/icons/profile.jsx +23 -5
  213. package/dist/components/tabs/icons/secure.jsx +21 -4
  214. package/dist/components/tabs/index.jsx +95 -35
  215. package/dist/components/toTopBtn/index.jsx +112 -36
  216. package/dist/dto/AssetEntity/index.js +249 -194
  217. package/dist/dto/AssetEntity/views/AssetAudio/index.jsx +67 -27
  218. package/dist/dto/AssetEntity/views/AssetImage/index.jsx +79 -38
  219. package/dist/dto/AssetEntity/views/AssetObject/index.jsx +86 -58
  220. package/dist/dto/AssetEntity/views/AssetOther/index.jsx +87 -42
  221. package/dist/dto/AssetEntity/views/AssetScreenshot/index.jsx +81 -38
  222. package/dist/dto/AssetEntity/views/AssetVideo/index.jsx +67 -27
  223. package/dist/dto/AssetEntity/views/index.js +1 -0
  224. package/dist/dto/Collection/CollectionCreationEntity/index.js +161 -145
  225. package/dist/dto/Collection/CollectionEntity/index.js +87 -69
  226. package/dist/dto/CreationEntity/index.js +167 -152
  227. package/dist/dto/GalleryEntityV2/index.js +77 -65
  228. package/dist/dto/common/ItemType/data.js +41 -33
  229. package/dist/dto/common/ItemType/index.jsx +27 -27
  230. package/dist/dto/common/ItemViews/CreationAudio/index.jsx +68 -27
  231. package/dist/dto/common/ItemViews/CreationImage/index.jsx +72 -38
  232. package/dist/dto/common/ItemViews/CreationObject/index.jsx +66 -32
  233. package/dist/dto/common/ItemViews/CreationOther/index.jsx +67 -27
  234. package/dist/dto/common/ItemViews/CreationVideo/index.jsx +67 -27
  235. package/dist/dto/common/Media/Audio/index.jsx +76 -43
  236. package/dist/dto/common/Media/Image/index.jsx +78 -51
  237. package/dist/dto/common/Media/Object/index.jsx +77 -50
  238. package/dist/dto/common/Media/Other/index.jsx +100 -70
  239. package/dist/dto/common/Media/Screenshot/index.jsx +78 -51
  240. package/dist/dto/common/Media/Urls/index.js +110 -71
  241. package/dist/dto/common/Media/Video/index.jsx +76 -43
  242. package/dist/dto/common/Media/index.jsx +41 -34
  243. package/dist/fonts/FontsInitializeLayout.jsx +96 -24
  244. package/dist/fonts/vars.js +4 -1
  245. package/dist/hooks/apollo/index.jsx +14 -4
  246. package/dist/hooks/audio/useMultiAudio/index.jsx +63 -46
  247. package/dist/hooks/extension/useExtension/index.js +182 -62
  248. package/dist/hooks/favorites/useGetFavoriteGallaryCreations/index.js +346 -172
  249. package/dist/hooks/favorites/useGetUserFevoritesCreations/index.js +421 -247
  250. package/dist/hooks/galleries/useGetUserGalleriesCreations/index.js +397 -231
  251. package/dist/hooks/likes/dynamic/useFindCollectionsAndLikes.jsx +385 -196
  252. package/dist/hooks/likes/dynamic/useFindCreationsAndLikes.jsx +371 -185
  253. package/dist/hooks/likes/dynamic/useGetCollectionInfoAndLikes.jsx +364 -186
  254. package/dist/hooks/likes/dynamic/useGetCreationsAndLikes.jsx +374 -200
  255. package/dist/hooks/likes/dynamic/useGetCreationsAndLikesByType.jsx +393 -212
  256. package/dist/hooks/likes/dynamic/useGetMixedLikesFavoriteList.jsx +81 -42
  257. package/dist/hooks/likes/dynamic/useGetTableLikes.jsx +121 -98
  258. package/dist/hooks/likes/index.js +308 -153
  259. package/dist/hooks/likes/useGetLikesAsset.js +305 -140
  260. package/dist/hooks/useToGalleryAsset/index.jsx +109 -65
  261. package/dist/layouts/GlobalLayout.jsx +23 -10
  262. package/dist/layouts/base/LWithRegularHeader/index.jsx +29 -11
  263. package/dist/layouts/base/LWithSearchHeader/index.jsx +10 -6
  264. package/dist/layouts/base/LWithSimpleHeader/index.jsx +10 -6
  265. package/dist/layouts/base/LWithoutHeader/index.jsx +32 -10
  266. package/dist/layouts/custom/accountLayout/index.jsx +7 -3
  267. package/dist/layouts/custom/formsLayout/index.jsx +7 -3
  268. package/dist/layouts/custom/mainLayout/index.jsx +9 -3
  269. package/dist/layouts/custom/searchLayout/index.jsx +6 -3
  270. package/dist/layouts/custom/simpleLayout/index.jsx +9 -3
  271. package/dist/layouts/custom/styles.js +66 -6
  272. package/dist/layouts/pageTransitionLayout.jsx +29 -18
  273. package/dist/modules/gallery/api/useGetAssetsAndCollectionForFavorite.js +447 -257
  274. package/dist/modules/gallery/api/useGetFavoriteGallery.js +49 -30
  275. package/dist/modules/gallery/store.js +231 -106
  276. package/dist/modules/gallery/ui/AllResults.jsx +12 -4
  277. package/dist/modules/gallery/ui/Description.jsx +98 -32
  278. package/dist/modules/gallery/ui/EditGallery.jsx +242 -82
  279. package/dist/modules/gallery/ui/GalleryDeleteIcon.jsx +38 -13
  280. package/dist/modules/gallery/ui/PlaceholderItemsGallery.jsx +71 -10
  281. package/dist/modules/gallery/ui/STopSections.js +43 -5
  282. package/dist/modules/gallery/ui/chooseGalleryItems/chooseGalleryItem/index.jsx +107 -21
  283. package/dist/modules/gallery/ui/chooseGalleryItems/index.jsx +255 -71
  284. package/dist/modules/gallery/ui/createGalleryForm/index.jsx +323 -115
  285. package/dist/modules/gallery/ui/editGalleryForm/index.jsx +360 -129
  286. package/dist/modules/gallery/ui/itemsPreview/index.jsx +329 -153
  287. package/dist/modules/notifications/CreatorNotifications.jsx +25 -7
  288. package/dist/modules/notifications/index.jsx +1 -0
  289. package/dist/modules/sessionScroll/globalTabs.js +45 -45
  290. package/dist/modules/sessionScroll/index.js +43 -32
  291. package/dist/modules/sessionScroll/useVirtuosoInitialScroll.js +76 -50
  292. package/dist/modules/user/auth/useAuthVerification.js +201 -87
  293. package/dist/modules/user/auth/useSignIn.js +26 -13
  294. package/dist/modules/user/auth/useSignOut.js +171 -64
  295. package/dist/modules/user/profileData/profileDataInitialization.jsx +53 -41
  296. package/dist/modules/user/store.jsx +61 -40
  297. package/dist/modules/virtuoso/VirtuosoPageBuilder.jsx +204 -110
  298. package/dist/modules/virtuoso/VirtuosoToTopBtn.jsx +34 -27
  299. package/dist/modules/virtuoso/useSubscribeVirtuosoScrollToHeader.js +23 -20
  300. package/dist/modules/virtuoso/useVirtuosoData.js +56 -41
  301. package/dist/pages/index.jsx +8 -5
  302. package/dist/store/index.js +5 -2
  303. package/dist/store/media/index.js +75 -51
  304. package/dist/store/ui/index.js +310 -141
  305. package/dist/store/ui/utils.js +32 -25
  306. package/dist/styles/ScreenWidth.js +23 -18
  307. package/dist/styles/animations/index.jsx +34 -6
  308. package/dist/styles/colors/index.jsx +36 -1
  309. package/dist/styles/globalStyles.jsx +43 -9
  310. package/dist/styles/mixins/boxShadow.jsx +24 -4
  311. package/dist/styles/mixins/boxTransform.jsx +24 -4
  312. package/dist/styles/typography/index.jsx +11 -1
  313. package/dist/system/ActiveLink/index.jsx +43 -25
  314. package/dist/system/Alert/index.jsx +11 -5
  315. package/dist/system/Alert/type.js +6 -1
  316. package/dist/system/BasicOverlay/index.jsx +25 -6
  317. package/dist/system/Buttons/IconButton/index.jsx +1 -0
  318. package/dist/system/Buttons/IconWithButton/index.jsx +1 -0
  319. package/dist/system/Buttons/IconWithButton/themes.js +1 -1
  320. package/dist/system/Buttons/MainButton/index.jsx +1 -0
  321. package/dist/system/Buttons/MainButton/themes.js +1 -1
  322. package/dist/system/Buttons/SecondaryButton/index.jsx +1 -0
  323. package/dist/system/Cards/CardCheckbox/index.jsx +69 -11
  324. package/dist/system/Cards/CardContent/CardCategory/index.jsx +60 -10
  325. package/dist/system/Cards/CardContent/CardLikes/index.jsx +43 -13
  326. package/dist/system/Cards/CardContent/CardShowMore/index.jsx +109 -17
  327. package/dist/system/Cards/CardContent/index.jsx +122 -31
  328. package/dist/system/Cards/CardHeadIcons/index.jsx +276 -107
  329. package/dist/system/Cards/CardMedia/CardAudio/index.jsx +95 -48
  330. package/dist/system/Cards/CardMedia/CardImage/index.jsx +34 -9
  331. package/dist/system/Cards/CardMedia/CardVideo/index.jsx +79 -40
  332. package/dist/system/Cards/CardRank/index.jsx +130 -14
  333. package/dist/system/Cards/CardsGrid/index.jsx +99 -35
  334. package/dist/system/Cards/MultiMediaCard/index.jsx +152 -50
  335. package/dist/system/Cards/RegularCard/index.jsx +128 -27
  336. package/dist/system/Cards/Styles/Content.js +36 -5
  337. package/dist/system/Cards/Styles/Head.js +34 -5
  338. package/dist/system/Cards/Styles/Headicons.js +105 -6
  339. package/dist/system/Cards/Styles/Image.js +39 -5
  340. package/dist/system/Cards/Styles/Likes.js +56 -5
  341. package/dist/system/Cards/Styles/MultiHead.js +43 -5
  342. package/dist/system/Cards/Styles/Video.js +23 -5
  343. package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsError/index.jsx +197 -61
  344. package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsNoResults/index.jsx +38 -9
  345. package/dist/system/CardsHolderWithSkeleton/CardsHolder/CardsSkeleton/index.jsx +62 -16
  346. package/dist/system/CardsHolderWithSkeleton/CardsHolder/index.jsx +97 -22
  347. package/dist/system/CardsHolderWithSkeleton/CardsHolderLoader/index.jsx +49 -9
  348. package/dist/system/CardsHolderWithSkeleton/index.jsx +47 -7
  349. package/dist/system/DropDown/DropDown.test.jsx +43 -30
  350. package/dist/system/DropDown/index.jsx +62 -21
  351. package/dist/system/Filters/helpers.js +17 -3
  352. package/dist/system/Filters/type.js +5 -5
  353. package/dist/system/Flex/index.jsx +1 -1
  354. package/dist/system/Forms/Checkbox/Checkbox.test.jsx +60 -55
  355. package/dist/system/Forms/Checkbox/index.jsx +93 -22
  356. package/dist/system/Forms/DatePicker/index.jsx +161 -20
  357. package/dist/system/Forms/ErrorLabel/ErrorLabel.test.jsx +17 -14
  358. package/dist/system/Forms/ErrorLabel/index.jsx +38 -7
  359. package/dist/system/Forms/Input/Input.test.jsx +48 -36
  360. package/dist/system/Forms/Input/index.jsx +121 -16
  361. package/dist/system/Forms/Messages/index.js +58 -57
  362. package/dist/system/Forms/RadioInput/index.jsx +78 -17
  363. package/dist/system/Forms/Selects/DesktopSelect/index.jsx +352 -95
  364. package/dist/system/Forms/Selects/MobileSelect/index.jsx +53 -20
  365. package/dist/system/Forms/TextArea/index.jsx +113 -15
  366. package/dist/system/Forms/index.js +1 -0
  367. package/dist/system/Img/ExternalImage/index.jsx +40 -7
  368. package/dist/system/Img/ImageInterceptor/ImageInterceptor.test.jsx +70 -41
  369. package/dist/system/Img/ImageInterceptor/index.jsx +60 -20
  370. package/dist/system/Img/Profilepic/index.jsx +52 -21
  371. package/dist/system/Img/Userpic/UserPic.test.jsx +73 -50
  372. package/dist/system/Img/Userpic/index.jsx +142 -44
  373. package/dist/system/Labels/ExperienceLabel/ExperienceLabel.test.jsx +46 -41
  374. package/dist/system/Labels/ExperienceLabel/index.jsx +111 -18
  375. package/dist/system/Labels/InviteLabel/InviteLabel.test.jsx +41 -36
  376. package/dist/system/Labels/InviteLabel/index.jsx +67 -17
  377. package/dist/system/Labels/SkeletonLabel/index.jsx +1 -0
  378. package/dist/system/Modals/Modal/Modal.test.jsx +26 -22
  379. package/dist/system/Modals/Modal/index.jsx +84 -12
  380. package/dist/system/Modals/ModalSidebar/CreatorModalSidebarPortal.jsx +21 -7
  381. package/dist/system/Modals/ModalSidebar/ModalSidebar.test.jsx +25 -21
  382. package/dist/system/Modals/ModalSidebar/ModalSidebarPortal.jsx +20 -7
  383. package/dist/system/Modals/ModalSidebar/index.jsx +80 -12
  384. package/dist/system/Overlay/Overlay.test.jsx +39 -33
  385. package/dist/system/Overlay/index.jsx +57 -9
  386. package/dist/system/PageLoader/index.jsx +1 -0
  387. package/dist/system/Palete/index.jsx +1 -0
  388. package/dist/system/ShareIconResize.jsx +48 -12
  389. package/dist/system/Tabs/TabNavLink/TabNavLink.test.jsx +32 -22
  390. package/dist/system/Tabs/TabNavLink/index.jsx +67 -8
  391. package/dist/system/Tabs/TabsNav/TabsNav.test.jsx +47 -25
  392. package/dist/system/Tabs/TabsNav/index.jsx +45 -12
  393. package/dist/system/Tabs/TabsPanel/TabsPanel.test.jsx +39 -25
  394. package/dist/system/Tabs/TabsPanel/index.jsx +28 -7
  395. package/dist/system/Text/index.jsx +1 -1
  396. package/dist/system/theme.js +5 -1
  397. package/dist/types/api/graphql/index.d.ts +7 -2
  398. package/dist/types/api/server-assets/mutations/useDislikeAsset/index.d.ts +6 -3
  399. package/dist/types/api/server-assets/mutations/useLikeAsset/index.d.ts +4 -3
  400. package/dist/types/api/server-assets/queries/useFetchAssets/index.d.ts +14 -5
  401. package/dist/types/api/server-assets/queries/useFetchDynamicAssetLikes/index.d.ts +8 -5
  402. package/dist/types/api/server-assets/queries/useFetchDynamicAssetsLikes/index.d.ts +7 -4
  403. package/dist/types/api/server-collection/mutations/useDislikeCollection/index.d.ts +6 -3
  404. package/dist/types/api/server-collection/mutations/useLikeCollection/index.d.ts +6 -3
  405. package/dist/types/api/server-experiences/queries/useFetchMyTasks/index.d.ts +36 -20
  406. package/dist/types/api/server-galleries/mutations/useAddAssetsToGallery/index.d.ts +7 -3
  407. package/dist/types/api/server-galleries/mutations/useAddChangeGalleryBanner/index.d.ts +7 -1
  408. package/dist/types/api/server-galleries/mutations/useAddCollectionsToGallery/index.d.ts +7 -3
  409. package/dist/types/api/server-galleries/mutations/useAddCreationsToGallery/index.d.ts +7 -3
  410. package/dist/types/api/server-galleries/mutations/useCreateFavorites/index.d.ts +8 -2
  411. package/dist/types/api/server-galleries/mutations/useCreateGallery/index.d.ts +8 -2
  412. package/dist/types/api/server-galleries/mutations/useDeleteGallery/index.d.ts +7 -4
  413. package/dist/types/api/server-galleries/mutations/useDeleteGalleryBanner/index.d.ts +5 -2
  414. package/dist/types/api/server-galleries/mutations/useEditGallery/index.d.ts +8 -1
  415. package/dist/types/api/server-galleries/mutations/useRemoveAssetFromGallery/index.d.ts +7 -3
  416. package/dist/types/api/server-galleries/mutations/useRemoveCollectionFromGallery/index.d.ts +7 -3
  417. package/dist/types/api/server-galleries/queries/useFetchGallery/index.d.ts +20 -9
  418. package/dist/types/api/server-galleries/queries/useFetchGalleryAssets/index.d.ts +18 -15
  419. package/dist/types/api/server-galleries/queries/useFetchMyFavorites/index.d.ts +7 -5
  420. package/dist/types/api/server-galleries/queries/useFetchMyGalleries/index.d.ts +7 -5
  421. package/dist/types/api/server-galleries/queries/useFetchSubscribedGalleries/index.d.ts +10 -7
  422. package/dist/types/api/server-galleries/queries/useFetchUserFavorites/index.d.ts +13 -7
  423. package/dist/types/api/server-identities/mutations/useAddWalletElrond/index.d.ts +8 -2
  424. package/dist/types/api/server-identities/mutations/useAddWalletFlow/index.d.ts +5 -1
  425. package/dist/types/api/server-identities/mutations/useAddWalletMetamask/index.d.ts +11 -3
  426. package/dist/types/api/server-identities/mutations/useAddWalletSolana/index.d.ts +5 -1
  427. package/dist/types/api/server-identities/mutations/useAddWalletTezos/index.d.ts +5 -1
  428. package/dist/types/api/server-identities/mutations/useFollowProfile/index.d.ts +13 -4
  429. package/dist/types/api/server-identities/mutations/useGenerateNewInviteCodes/index.d.ts +6 -3
  430. package/dist/types/api/server-identities/mutations/useRevokeToken/index.d.ts +1 -1
  431. package/dist/types/api/server-identities/mutations/useUnfollowProfile/index.d.ts +13 -4
  432. package/dist/types/api/server-identities/queries/useFetchProfile/index.d.ts +23 -10
  433. package/dist/types/api/server-identities/queries/useGetMyInviteCodes/index.d.ts +5 -4
  434. package/dist/types/api/server-medias/mutations/useDeleteUserpic/index.d.ts +12 -3
  435. package/dist/types/api/server-medias/mutations/useUploadUserpic/index.d.ts +3 -1
  436. package/dist/types/api/server-opportunities/mutations/useDislikeOpportunity.d.ts +4 -1
  437. package/dist/types/api/server-opportunities/mutations/useLikeOpportunity.d.ts +4 -1
  438. package/dist/types/api/server-opportunities/mutations/useOpenOpportunity/index.d.ts +4 -1
  439. package/dist/types/api/server-opportunities/queries/useGetOpportunities.d.ts +41 -2
  440. package/dist/types/api/server-preferences/mutations/useSaveUserExpectations/index.d.ts +1 -1
  441. package/dist/types/api/server-preferences/mutations/useSaveUserInterests/index.d.ts +1 -1
  442. package/dist/types/api/server-preferences/queries/fetchSearchResultSelections/queryData.d.ts +16 -7
  443. package/dist/types/api/server-preferences/queries/useFetchSearchResultTimeSelection/index.d.ts +14 -7
  444. package/dist/types/api/server-preferences/queries/useFetchUserInterests/index.d.ts +4 -3
  445. package/dist/types/api/server-preferences/queries/useSearchResultBlockchainSelections/index.d.ts +15 -8
  446. package/dist/types/api/server-preferences/queries/useSearchResultCategorySelections/index.d.ts +16 -7
  447. package/dist/types/api/server-preferences/queries/useSearchResultStatusSelections/index.d.ts +17 -8
  448. package/dist/types/api/server-preferences/queries/useSearchResultTypeSelections/index.d.ts +17 -8
  449. package/dist/types/api/server-search/queries/useFetchAssetsCount/index.d.ts +4 -4
  450. package/dist/types/api/server-search/queries/useFetchCollection/index.d.ts +25 -11
  451. package/dist/types/api/server-search/queries/useFetchCollections/index.d.ts +23 -13
  452. package/dist/types/api/server-search/queries/useFetchDynamicCollectionData/index.d.ts +13 -9
  453. package/dist/types/api/server-search/queries/useFetchNetWorth/index.d.ts +4 -3
  454. package/dist/types/api/subscriptions/SubscriberInviteNotification.d.ts +3 -1
  455. package/dist/types/components/CreationCard/CardHead.d.ts +22 -10
  456. package/dist/types/components/CreationCard/index.d.ts +39 -18
  457. package/dist/types/components/addWalletsRedirectPage/index.d.ts +5 -2
  458. package/dist/types/components/assetPage/assetLikes/index.d.ts +9 -4
  459. package/dist/types/components/assetPage/assetNft/index.d.ts +5 -1
  460. package/dist/types/components/assetPage/assetWrapper/index.d.ts +12 -5
  461. package/dist/types/components/assetPage/audioVideoPlayer/Duration.d.ts +2 -1
  462. package/dist/types/components/assetPage/audioVideoPlayer/index.d.ts +99 -87
  463. package/dist/types/components/assetPage/category/index.d.ts +5 -2
  464. package/dist/types/components/assetPage/description/index.d.ts +5 -1
  465. package/dist/types/components/assetPage/detailsAccordeon/index.d.ts +6 -2
  466. package/dist/types/components/assetPage/figCaption/index.d.ts +6 -2
  467. package/dist/types/components/assetPage/information/index.d.ts +6 -2
  468. package/dist/types/components/assetPage/marketPlaces/index.d.ts +6 -2
  469. package/dist/types/components/assetPage/media/AssetImage/index.d.ts +13 -6
  470. package/dist/types/components/assetPage/moreDropDown/index.d.ts +5 -4
  471. package/dist/types/components/assetPage/participants/index.d.ts +12 -5
  472. package/dist/types/components/assetPage/priceRank/index.d.ts +11 -5
  473. package/dist/types/components/assetPage/properties/index.d.ts +5 -1
  474. package/dist/types/components/assetPage/slider/index.d.ts +7 -2
  475. package/dist/types/components/assetPage/slider/slideItem.d.ts +8 -3
  476. package/dist/types/components/assetPage/slider/store.d.ts +7 -5
  477. package/dist/types/components/assetPage/tittle/index.d.ts +12 -5
  478. package/dist/types/components/assetPage/viewer3D/index.d.ts +10 -4
  479. package/dist/types/components/banner/index.d.ts +1 -0
  480. package/dist/types/components/base/Meta/index.d.ts +1 -1
  481. package/dist/types/components/base/NoSSR/index.d.ts +3 -2
  482. package/dist/types/components/collectionPage/collectionLike/index.d.ts +9 -4
  483. package/dist/types/components/deleteDialog/index.d.ts +11 -5
  484. package/dist/types/components/editProfile/Cropper/index.d.ts +13 -15
  485. package/dist/types/components/editProfile/UserPicProfile/index.d.ts +5 -2
  486. package/dist/types/components/favoriteList/add/addAssetToFavoriteList/index.d.ts +2 -1
  487. package/dist/types/components/favoriteList/add/addCollectionToFavoriteList/index.d.ts +2 -1
  488. package/dist/types/components/favoriteList/add/addCreationToFavoriteList/index.d.ts +3 -2
  489. package/dist/types/components/filters/applyResetBtns/index.d.ts +7 -3
  490. package/dist/types/components/filters/galleriesFiltersForm/index.d.ts +16 -7
  491. package/dist/types/components/filters/index.d.ts +23 -7
  492. package/dist/types/components/filters/mobileFilters/index.d.ts +5 -2
  493. package/dist/types/components/filters/setsFiltersForm/index.d.ts +14 -6
  494. package/dist/types/components/forms/form/index.d.ts +10 -8
  495. package/dist/types/components/forms/formsNavigation/index.d.ts +1 -0
  496. package/dist/types/components/forms/formsTemplate/index.d.ts +9 -6
  497. package/dist/types/components/forms/types/index.d.ts +34 -22
  498. package/dist/types/components/gallery/add/addAssetToGallery/index.d.ts +2 -1
  499. package/dist/types/components/gallery/add/addCreationToGallery/index.d.ts +1 -0
  500. package/dist/types/components/gradientLabel/index.d.ts +1 -0
  501. package/dist/types/components/headers/components/headerExperienceLabel/index.d.ts +5 -3
  502. package/dist/types/components/headers/components/headerUserPic/index.d.ts +5 -2
  503. package/dist/types/components/headers/header/index.d.ts +1 -0
  504. package/dist/types/components/headers/headerSearch/index.d.ts +1 -0
  505. package/dist/types/components/headers/headerSimple/index.d.ts +1 -0
  506. package/dist/types/components/inviteCodesForms/getEarlyAccessForm/index.d.ts +1 -0
  507. package/dist/types/components/inviteCodesForms/joinWaitListForm/index.d.ts +1 -0
  508. package/dist/types/components/inviteCodesForms/styles/index.d.ts +55 -5
  509. package/dist/types/components/inviteCodesPage/components/index.d.ts +1 -0
  510. package/dist/types/components/inviteCodesPage/components/inviteCodes/index.d.ts +7 -3
  511. package/dist/types/components/inviteCodesPage/components/inviteCodes/inviteCode/index.d.ts +8 -3
  512. package/dist/types/components/inviteCodesPage/components/inviteCodes/inviteCode/loader/index.d.ts +1 -0
  513. package/dist/types/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/index.d.ts +9 -4
  514. package/dist/types/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/loader/index.d.ts +1 -0
  515. package/dist/types/components/inviteCodesPage/components/inviteCodes/inviteCodeCopy/index.d.ts +6 -2
  516. package/dist/types/components/inviteCodesPage/components/inviteCodes/inviteCodeDate/index.d.ts +5 -2
  517. package/dist/types/components/inviteCodesPage/wrappers/index.d.ts +1 -0
  518. package/dist/types/components/inviteCodesPage/wrappers/resumeCodes/index.d.ts +11 -5
  519. package/dist/types/components/inviteCodesPage/wrappers/resumeCodes/loader/index.d.ts +1 -0
  520. package/dist/types/components/inviteCodesPage/wrappers/unusedCodes/index.d.ts +8 -3
  521. package/dist/types/components/inviteCodesPage/wrappers/usedCodes/index.d.ts +8 -3
  522. package/dist/types/components/linkTabs/index.d.ts +9 -4
  523. package/dist/types/components/linkTabs/linkTab/index.d.ts +11 -5
  524. package/dist/types/components/myWallets/index.d.ts +1 -0
  525. package/dist/types/components/myWallets/myWalletItem/index.d.ts +14 -6
  526. package/dist/types/components/navigation/index.d.ts +4 -3
  527. package/dist/types/components/profile/MultiversXAudit/MultiversXAudit.d.ts +1 -1
  528. package/dist/types/components/profile/ProfileTabs.d.ts +11 -5
  529. package/dist/types/components/profile/aboutText/index.d.ts +21 -2
  530. package/dist/types/components/profile/addToGalleryBtns/index.d.ts +5 -2
  531. package/dist/types/components/profile/followersSocial/followers/index.d.ts +7 -3
  532. package/dist/types/components/profile/followersSocial/index.d.ts +11 -2
  533. package/dist/types/components/profile/followersSocial/social/index.d.ts +5 -1
  534. package/dist/types/components/profile/info/index.d.ts +6 -2
  535. package/dist/types/components/profile/interests/data.d.ts +1 -0
  536. package/dist/types/components/profile/interests/index.d.ts +1 -0
  537. package/dist/types/components/profile/interests/type.d.ts +3 -2
  538. package/dist/types/components/profile/jsonLd/index.d.ts +6 -2
  539. package/dist/types/components/profile/pageHead/index.d.ts +8 -3
  540. package/dist/types/components/profile/profileSkeleton/index.d.ts +5 -2
  541. package/dist/types/components/profile/profileUserCards/index.d.ts +5 -2
  542. package/dist/types/components/profile/profileUserCards/profileUserCard/index.d.ts +16 -7
  543. package/dist/types/components/profile/rank/index.d.ts +5 -1
  544. package/dist/types/components/profile/stats/index.d.ts +5 -1
  545. package/dist/types/components/profile/wallets/index.d.ts +1 -0
  546. package/dist/types/components/profile/wrapper/index.d.ts +10 -4
  547. package/dist/types/components/registrationPage/index.d.ts +1 -0
  548. package/dist/types/components/registrationPage/registrationSelectBox/index.d.ts +5 -4
  549. package/dist/types/components/registrationPage/registrationSelection/index.d.ts +12 -10
  550. package/dist/types/components/rewards/FAQ/index.d.ts +1 -0
  551. package/dist/types/components/rewards/clarifications/index.d.ts +8 -6
  552. package/dist/types/components/rewards/logoBottom/index.d.ts +1 -1
  553. package/dist/types/components/rewards/prograssBar/index.d.ts +9 -5
  554. package/dist/types/components/rewards/rewardsButton/index.d.ts +11 -1
  555. package/dist/types/components/rewards/seasonBanner/index.d.ts +5 -3
  556. package/dist/types/components/rewards/taskExpTab/index.d.ts +21 -10
  557. package/dist/types/components/rewards/tasksGrid/index.d.ts +6 -3
  558. package/dist/types/components/rewards/userExp/index.d.ts +17 -8
  559. package/dist/types/components/search/SearchInputContainer.d.ts +35 -21
  560. package/dist/types/components/search/index.d.ts +1 -0
  561. package/dist/types/components/search/searchCategories/index.d.ts +1 -0
  562. package/dist/types/components/search/searchCategories/type.d.ts +2 -2
  563. package/dist/types/components/search/searchCloseMoreButtons/index.d.ts +14 -9
  564. package/dist/types/components/search/searchResultCaption/index.d.ts +9 -4
  565. package/dist/types/components/search/searchSelectsGalleries/index.d.ts +12 -5
  566. package/dist/types/components/search/searchSelectsSets/index.d.ts +10 -4
  567. package/dist/types/components/search/searchSimpleInput/index.d.ts +5 -2
  568. package/dist/types/components/search/searchSuggestions/index.d.ts +9 -6
  569. package/dist/types/components/search/searchSuggestions/searchSuggestionsCaption/index.d.ts +3 -2
  570. package/dist/types/components/search/searchSuggestions/searchSuggestionsFooter/index.d.ts +1 -0
  571. package/dist/types/components/search/searchSuggestions/searchSuggestionsItem/index.d.ts +7 -6
  572. package/dist/types/components/search/searchSuggestions/searchSuggestionsItem/searchSuggestionsItemSkeleton/index.d.ts +1 -0
  573. package/dist/types/components/search/searchSuggestions/searchSuggestionsNotFound/index.d.ts +5 -2
  574. package/dist/types/components/shareDialog/index.d.ts +33 -29
  575. package/dist/types/components/showcaseAssets/showcaseSort/data.d.ts +1 -0
  576. package/dist/types/components/showcaseAssets/showcaseSort/index.d.ts +10 -4
  577. package/dist/types/components/sidebar/data.d.ts +23 -15
  578. package/dist/types/components/sidebar/index.d.ts +1 -0
  579. package/dist/types/components/sidebar/initializer.d.ts +1 -1
  580. package/dist/types/components/sidebar/sidebarFilters/index.d.ts +9 -4
  581. package/dist/types/components/sidebar/sidebarInviteCodeLabel/index.d.ts +1 -0
  582. package/dist/types/components/socialButtons/data.d.ts +1 -0
  583. package/dist/types/components/socialButtons/icons/discord.d.ts +1 -1
  584. package/dist/types/components/socialButtons/icons/facebook.d.ts +1 -1
  585. package/dist/types/components/socialButtons/icons/instagram.d.ts +1 -1
  586. package/dist/types/components/socialButtons/icons/medium.d.ts +1 -1
  587. package/dist/types/components/socialButtons/icons/telegram.d.ts +1 -1
  588. package/dist/types/components/socialButtons/icons/twitter.d.ts +1 -1
  589. package/dist/types/components/socialButtons/index.d.ts +1 -0
  590. package/dist/types/components/socialButtons/type.d.ts +4 -4
  591. package/dist/types/components/tabs/icons/bell.d.ts +2 -2
  592. package/dist/types/components/tabs/icons/profile.d.ts +2 -2
  593. package/dist/types/components/tabs/icons/secure.d.ts +2 -2
  594. package/dist/types/components/tabs/index.d.ts +1 -0
  595. package/dist/types/components/toTopBtn/index.d.ts +5 -2
  596. package/dist/types/dto/AssetEntity/index.d.ts +62 -55
  597. package/dist/types/dto/AssetEntity/interface.d.ts +39 -32
  598. package/dist/types/dto/AssetEntity/views/AssetAudio/index.d.ts +11 -3
  599. package/dist/types/dto/AssetEntity/views/AssetImage/index.d.ts +13 -4
  600. package/dist/types/dto/AssetEntity/views/AssetObject/index.d.ts +14 -5
  601. package/dist/types/dto/AssetEntity/views/AssetOther/index.d.ts +14 -5
  602. package/dist/types/dto/AssetEntity/views/AssetScreenshot/index.d.ts +13 -4
  603. package/dist/types/dto/AssetEntity/views/AssetVideo/index.d.ts +11 -3
  604. package/dist/types/dto/AssetEntity/views/index.d.ts +1 -0
  605. package/dist/types/dto/Collection/CollectionCreationEntity/index.d.ts +39 -37
  606. package/dist/types/dto/Collection/CollectionCreationEntity/interface.d.ts +20 -18
  607. package/dist/types/dto/Collection/CollectionEntity/index.d.ts +33 -27
  608. package/dist/types/dto/Collection/CollectionEntity/interface.d.ts +18 -13
  609. package/dist/types/dto/CreationEntity/index.d.ts +43 -41
  610. package/dist/types/dto/CreationEntity/interface.d.ts +26 -24
  611. package/dist/types/dto/GalleryEntityV2/index.d.ts +27 -25
  612. package/dist/types/dto/GalleryEntityV2/interface.d.ts +13 -11
  613. package/dist/types/dto/common/ItemType/data.d.ts +1 -0
  614. package/dist/types/dto/common/ItemType/index.d.ts +31 -31
  615. package/dist/types/dto/common/ItemViews/CreationAudio/index.d.ts +11 -3
  616. package/dist/types/dto/common/ItemViews/CreationImage/index.d.ts +13 -4
  617. package/dist/types/dto/common/ItemViews/CreationObject/index.d.ts +10 -2
  618. package/dist/types/dto/common/ItemViews/CreationOther/index.d.ts +11 -3
  619. package/dist/types/dto/common/ItemViews/CreationVideo/index.d.ts +11 -3
  620. package/dist/types/dto/common/Media/Audio/index.d.ts +15 -7
  621. package/dist/types/dto/common/Media/Image/index.d.ts +16 -7
  622. package/dist/types/dto/common/Media/Object/index.d.ts +16 -7
  623. package/dist/types/dto/common/Media/Other/index.d.ts +16 -7
  624. package/dist/types/dto/common/Media/Screenshot/index.d.ts +16 -7
  625. package/dist/types/dto/common/Media/Urls/index.d.ts +49 -16
  626. package/dist/types/dto/common/Media/Video/index.d.ts +15 -7
  627. package/dist/types/dto/common/Media/index.d.ts +30 -21
  628. package/dist/types/dto/common/Media/interface.d.ts +21 -20
  629. package/dist/types/entities/user/type.d.ts +8 -3
  630. package/dist/types/fonts/FontsInitializeLayout.d.ts +6 -3
  631. package/dist/types/fonts/vars.d.ts +4 -1
  632. package/dist/types/hooks/extension/useExtension/index.d.ts +4 -4
  633. package/dist/types/hooks/favorites/useGetFavoriteGallaryCreations/index.d.ts +23 -16
  634. package/dist/types/hooks/favorites/useGetUserFevoritesCreations/index.d.ts +28 -17
  635. package/dist/types/hooks/galleries/useGetUserGalleriesCreations/index.d.ts +26 -17
  636. package/dist/types/hooks/likes/dynamic/useGetCollectionInfoAndLikes.d.ts +18 -11
  637. package/dist/types/hooks/likes/dynamic/useGetMixedLikesFavoriteList.d.ts +18 -13
  638. package/dist/types/hooks/likes/dynamic/useGetTableLikes.d.ts +19 -9
  639. package/dist/types/hooks/likes/index.d.ts +20 -12
  640. package/dist/types/hooks/likes/useGetLikesAsset.d.ts +20 -8
  641. package/dist/types/hooks/useToGalleryAsset/index.d.ts +21 -12
  642. package/dist/types/layouts/GlobalLayout.d.ts +5 -2
  643. package/dist/types/layouts/base/LWithRegularHeader/index.d.ts +1 -0
  644. package/dist/types/layouts/base/LWithRegularHeader/type.d.ts +3 -1
  645. package/dist/types/layouts/base/LWithSearchHeader/index.d.ts +1 -0
  646. package/dist/types/layouts/base/LWithSearchHeader/type.d.ts +3 -1
  647. package/dist/types/layouts/base/LWithSimpleHeader/index.d.ts +1 -0
  648. package/dist/types/layouts/base/LWithSimpleHeader/type.d.ts +3 -1
  649. package/dist/types/layouts/base/LWithoutHeader/index.d.ts +1 -0
  650. package/dist/types/layouts/custom/accountLayout/index.d.ts +1 -0
  651. package/dist/types/layouts/custom/formsLayout/index.d.ts +1 -0
  652. package/dist/types/layouts/custom/mainLayout/index.d.ts +1 -0
  653. package/dist/types/layouts/custom/searchLayout/index.d.ts +1 -0
  654. package/dist/types/layouts/custom/simpleLayout/index.d.ts +1 -0
  655. package/dist/types/layouts/custom/styles.d.ts +22 -2
  656. package/dist/types/layouts/pageTransitionLayout.d.ts +2 -1
  657. package/dist/types/layouts/pageWithLayout.d.ts +10 -3
  658. package/dist/types/modules/gallery/api/useGetFavoriteGallery.d.ts +6 -4
  659. package/dist/types/modules/gallery/store.d.ts +21 -17
  660. package/dist/types/modules/gallery/ui/AllResults.d.ts +5 -2
  661. package/dist/types/modules/gallery/ui/Description.d.ts +7 -3
  662. package/dist/types/modules/gallery/ui/EditGallery.d.ts +18 -7
  663. package/dist/types/modules/gallery/ui/GalleryDeleteIcon.d.ts +7 -3
  664. package/dist/types/modules/gallery/ui/PlaceholderItemsGallery.d.ts +1 -1
  665. package/dist/types/modules/gallery/ui/STopSections.d.ts +11 -1
  666. package/dist/types/modules/gallery/ui/chooseGalleryItems/chooseGalleryItem/index.d.ts +10 -4
  667. package/dist/types/modules/gallery/ui/chooseGalleryItems/index.d.ts +15 -10
  668. package/dist/types/modules/gallery/ui/createGalleryForm/index.d.ts +25 -8
  669. package/dist/types/modules/gallery/ui/editGalleryForm/index.d.ts +13 -6
  670. package/dist/types/modules/gallery/ui/itemsPreview/index.d.ts +27 -13
  671. package/dist/types/modules/notifications/CreatorNotifications.d.ts +1 -1
  672. package/dist/types/modules/notifications/index.d.ts +18 -15
  673. package/dist/types/modules/sessionScroll/globalTabs.d.ts +10 -9
  674. package/dist/types/modules/sessionScroll/index.d.ts +9 -6
  675. package/dist/types/modules/sessionScroll/type.d.ts +5 -5
  676. package/dist/types/modules/sessionScroll/useVirtuosoInitialScroll.d.ts +14 -6
  677. package/dist/types/modules/user/auth/useSignIn.d.ts +1 -0
  678. package/dist/types/modules/user/profileData/profileDataInitialization.d.ts +3 -1
  679. package/dist/types/modules/user/store.d.ts +38 -22
  680. package/dist/types/modules/virtuoso/VirtuosoPageBuilder.d.ts +32 -14
  681. package/dist/types/modules/virtuoso/VirtuosoToTopBtn.d.ts +9 -5
  682. package/dist/types/modules/virtuoso/types.d.ts +3 -2
  683. package/dist/types/modules/virtuoso/useSubscribeVirtuosoScrollToHeader.d.ts +1 -1
  684. package/dist/types/modules/virtuoso/useVirtuosoData.d.ts +16 -8
  685. package/dist/types/pages/index.d.ts +1 -1
  686. package/dist/types/store/index.d.ts +13 -5
  687. package/dist/types/store/media/index.d.ts +4 -1
  688. package/dist/types/store/media/types.d.ts +7 -7
  689. package/dist/types/store/ui/index.d.ts +4 -1
  690. package/dist/types/store/ui/types.d.ts +32 -27
  691. package/dist/types/store/ui/utils.d.ts +7 -2
  692. package/dist/types/styles/ScreenWidth.d.ts +18 -18
  693. package/dist/types/styles/animations/index.d.ts +2 -2
  694. package/dist/types/styles/colors/index.d.ts +36 -1
  695. package/dist/types/styles/globalStyles.d.ts +3 -1
  696. package/dist/types/styles/mixins/boxShadow.d.ts +1 -1
  697. package/dist/types/styles/mixins/boxTransform.d.ts +1 -1
  698. package/dist/types/styles/typography/index.d.ts +11 -1
  699. package/dist/types/system/ActiveLink/index.d.ts +10 -5
  700. package/dist/types/system/Alert/index.d.ts +1 -1
  701. package/dist/types/system/Alert/type.d.ts +10 -2
  702. package/dist/types/system/BasicOverlay/index.d.ts +1 -0
  703. package/dist/types/system/Buttons/IconButton/index.d.ts +1 -0
  704. package/dist/types/system/Buttons/IconWithButton/index.d.ts +1 -0
  705. package/dist/types/system/Buttons/MainButton/index.d.ts +1 -0
  706. package/dist/types/system/Buttons/SecondaryButton/index.d.ts +1 -0
  707. package/dist/types/system/Cards/CardCheckbox/index.d.ts +7 -3
  708. package/dist/types/system/Cards/CardContent/CardCategory/index.d.ts +6 -2
  709. package/dist/types/system/Cards/CardContent/CardLikes/index.d.ts +7 -3
  710. package/dist/types/system/Cards/CardContent/CardShowMore/index.d.ts +18 -5
  711. package/dist/types/system/Cards/CardContent/index.d.ts +27 -13
  712. package/dist/types/system/Cards/CardHeadIcons/index.d.ts +24 -10
  713. package/dist/types/system/Cards/CardMedia/CardAudio/index.d.ts +11 -5
  714. package/dist/types/system/Cards/CardMedia/CardImage/index.d.ts +9 -4
  715. package/dist/types/system/Cards/CardMedia/CardVideo/index.d.ts +9 -4
  716. package/dist/types/system/Cards/CardRank/index.d.ts +2 -3
  717. package/dist/types/system/Cards/CardsGrid/index.d.ts +19 -9
  718. package/dist/types/system/Cards/MultiMediaCard/index.d.ts +10 -4
  719. package/dist/types/system/Cards/RegularCard/index.d.ts +28 -14
  720. package/dist/types/system/Cards/Styles/Content.d.ts +11 -1
  721. package/dist/types/system/Cards/Styles/Head.d.ts +11 -1
  722. package/dist/types/system/Cards/Styles/Headicons.d.ts +13 -3
  723. package/dist/types/system/Cards/Styles/Image.d.ts +13 -3
  724. package/dist/types/system/Cards/Styles/Likes.d.ts +13 -3
  725. package/dist/types/system/Cards/Styles/MultiHead.d.ts +11 -1
  726. package/dist/types/system/Cards/Styles/Video.d.ts +11 -1
  727. package/dist/types/system/CardsHolderWithSkeleton/CardsHolder/CardsError/index.d.ts +5 -2
  728. package/dist/types/system/CardsHolderWithSkeleton/CardsHolder/CardsNoResults/index.d.ts +5 -2
  729. package/dist/types/system/CardsHolderWithSkeleton/CardsHolder/CardsSkeleton/index.d.ts +5 -2
  730. package/dist/types/system/CardsHolderWithSkeleton/CardsHolder/index.d.ts +20 -13
  731. package/dist/types/system/CardsHolderWithSkeleton/CardsHolderLoader/index.d.ts +1 -0
  732. package/dist/types/system/CardsHolderWithSkeleton/index.d.ts +27 -20
  733. package/dist/types/system/DropDown/index.d.ts +11 -5
  734. package/dist/types/system/Filters/helpers.d.ts +14 -4
  735. package/dist/types/system/Filters/type.d.ts +10 -9
  736. package/dist/types/system/Forms/Checkbox/index.d.ts +16 -14
  737. package/dist/types/system/Forms/DatePicker/index.d.ts +9 -7
  738. package/dist/types/system/Forms/ErrorLabel/index.d.ts +3 -2
  739. package/dist/types/system/Forms/Input/index.d.ts +22 -9
  740. package/dist/types/system/Forms/Input/type.d.ts +3 -3
  741. package/dist/types/system/Forms/Messages/index.d.ts +57 -57
  742. package/dist/types/system/Forms/RadioInput/index.d.ts +20 -9
  743. package/dist/types/system/Forms/Selects/DesktopSelect/index.d.ts +15 -6
  744. package/dist/types/system/Forms/Selects/DesktopSelect/type.d.ts +3 -3
  745. package/dist/types/system/Forms/Selects/MobileSelect/index.d.ts +15 -7
  746. package/dist/types/system/Forms/TextArea/index.d.ts +10 -7
  747. package/dist/types/system/Forms/index.d.ts +1 -0
  748. package/dist/types/system/Img/ExternalImage/index.d.ts +11 -4
  749. package/dist/types/system/Img/ImageInterceptor/index.d.ts +25 -13
  750. package/dist/types/system/Img/Profilepic/index.d.ts +6 -4
  751. package/dist/types/system/Img/Userpic/index.d.ts +13 -6
  752. package/dist/types/system/Labels/ExperienceLabel/index.d.ts +9 -4
  753. package/dist/types/system/Labels/InviteLabel/index.d.ts +9 -4
  754. package/dist/types/system/Labels/SkeletonLabel/index.d.ts +1 -0
  755. package/dist/types/system/Modals/Modal/index.d.ts +1 -0
  756. package/dist/types/system/Modals/ModalSidebar/CreatorModalSidebarPortal.d.ts +3 -1
  757. package/dist/types/system/Modals/ModalSidebar/ModalSidebarPortal.d.ts +7 -3
  758. package/dist/types/system/Modals/ModalSidebar/index.d.ts +12 -1
  759. package/dist/types/system/Overlay/index.d.ts +1 -0
  760. package/dist/types/system/PageLoader/index.d.ts +1 -0
  761. package/dist/types/system/Palete/index.d.ts +1 -0
  762. package/dist/types/system/ShareIconResize.d.ts +1 -1
  763. package/dist/types/system/Tabs/TabNavLink/index.d.ts +18 -6
  764. package/dist/types/system/Tabs/TabsNav/index.d.ts +16 -4
  765. package/dist/types/system/Tabs/TabsNav/type.d.ts +3 -3
  766. package/dist/types/system/Tabs/TabsPanel/index.d.ts +3 -2
  767. package/dist/types/system/theme.d.ts +5 -1
  768. package/dist/types/utils/3d.d.ts +7 -3
  769. package/dist/types/utils/adaptive/check4k.d.ts +7 -3
  770. package/dist/types/utils/adaptive/scale.d.ts +14 -8
  771. package/dist/types/utils/copyBtn/index.d.ts +8 -3
  772. package/dist/types/utils/env/isProd/index.d.ts +1 -3
  773. package/dist/types/utils/env/type.d.ts +3 -3
  774. package/dist/types/utils/extractItemIds/index.d.ts +4 -1
  775. package/dist/types/utils/getDimensionsImage.d.ts +2 -2
  776. package/dist/types/utils/getPageSizeAssets.d.ts +6 -3
  777. package/dist/types/utils/imageProportionsSize/index.d.ts +7 -3
  778. package/dist/types/utils/index.d.ts +5 -1
  779. package/dist/types/utils/screen/index.d.ts +9 -9
  780. package/dist/types/utils/ssrFunctions/index.d.ts +21 -13
  781. package/dist/types/utils/ui/index.d.ts +7 -4
  782. package/dist/utils/3d.js +17 -13
  783. package/dist/utils/adaptive/check4k.js +14 -9
  784. package/dist/utils/adaptive/scale.js +19 -11
  785. package/dist/utils/auth/index.js +7 -1
  786. package/dist/utils/copyBtn/index.jsx +223 -63
  787. package/dist/utils/env/index.js +28 -13
  788. package/dist/utils/env/isProd/index.js +3 -2
  789. package/dist/utils/env/type.js +3 -3
  790. package/dist/utils/extractItemIds/index.jsx +6 -5
  791. package/dist/utils/getDimensionsImage.js +169 -67
  792. package/dist/utils/getPageSizeAssets.js +19 -10
  793. package/dist/utils/imageProportionsSize/index.jsx +27 -17
  794. package/dist/utils/index.js +5 -1
  795. package/dist/utils/screen/index.js +95 -67
  796. package/dist/utils/ssrFunctions/index.js +41 -27
  797. package/dist/utils/ui/index.jsx +4 -2
  798. package/package.json +1 -1
  799. package/src/hooks/index.ts +1 -1
  800. package/src/hooks/likes/useGetLikesAsset.ts +24 -20
  801. package/src/index.ts +0 -1
  802. package/src/modules/index.ts +3 -0
  803. package/src/modules/sessionScroll/index.ts +2 -0
  804. package/src/modules/user/auth/index.ts +1 -0
  805. package/src/modules/user/index.ts +3 -0
  806. package/src/modules/user/profileData/index.ts +1 -0
  807. package/src/modules/virtuoso/index.ts +0 -2
  808. package/src/system/Tabs/index.ts +1 -3
  809. package/src/system/index.ts +0 -2
@@ -1,34 +1,74 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- if (typeof b !== "function" && b !== null)
10
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
11
- extendStatics(d, b);
12
- function __() { this.constructor = d; }
13
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
14
- };
15
- })();
16
1
  import React from 'react';
2
+
17
3
  import { AudioVideoPlayer } from '@/components/assetPage';
4
+
18
5
  import { isExternalMediaVideo } from '@/dto/common/Media/Urls';
19
6
  import Video from '@/dto/common/Media/Video';
20
- var AssetVideo = /** @class */ (function (_super) {
21
- __extends(AssetVideo, _super);
22
- function AssetVideo(_a) {
23
- var media = _a.media, mimeType = _a.mimeType, previewUrl = _a.previewUrl, nsfw = _a.nsfw, alt = _a.alt, originalMime = _a.originalMime;
24
- return _super.call(this, { nsfw: nsfw, previewUrl: previewUrl, media: media, mimeType: mimeType, alt: alt, originalMime: originalMime }) || this;
25
- }
26
- AssetVideo.prototype.getMediaUrl = function () {
27
- return isExternalMediaVideo(this.getMedia());
7
+
8
+ var __extends =
9
+ (this && this.__extends) ||
10
+ (function () {
11
+ var extendStatics = function (d, b) {
12
+ extendStatics =
13
+ Object.setPrototypeOf ||
14
+ ({ __proto__: [] } instanceof Array &&
15
+ function (d, b) {
16
+ d.__proto__ = b;
17
+ }) ||
18
+ function (d, b) {
19
+ for (var p in b)
20
+ if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
21
+ };
22
+ return extendStatics(d, b);
28
23
  };
29
- AssetVideo.prototype.displaySingleMedia = function () {
30
- return (<AudioVideoPlayer playerType="video" poster={null} src={this.getMediaUrl()}/>);
24
+ return function (d, b) {
25
+ if (typeof b !== 'function' && b !== null)
26
+ throw new TypeError(
27
+ 'Class extends value ' + String(b) + ' is not a constructor or null'
28
+ );
29
+ extendStatics(d, b);
30
+ function __() {
31
+ this.constructor = d;
32
+ }
33
+ d.prototype =
34
+ b === null
35
+ ? Object.create(b)
36
+ : ((__.prototype = b.prototype), new __());
31
37
  };
32
- return AssetVideo;
33
- }(Video));
38
+ })();
39
+
40
+ var AssetVideo = /** @class */ (function (_super) {
41
+ __extends(AssetVideo, _super);
42
+ function AssetVideo(_a) {
43
+ var media = _a.media,
44
+ mimeType = _a.mimeType,
45
+ previewUrl = _a.previewUrl,
46
+ nsfw = _a.nsfw,
47
+ alt = _a.alt,
48
+ originalMime = _a.originalMime;
49
+ return (
50
+ _super.call(this, {
51
+ nsfw: nsfw,
52
+ previewUrl: previewUrl,
53
+ media: media,
54
+ mimeType: mimeType,
55
+ alt: alt,
56
+ originalMime: originalMime,
57
+ }) || this
58
+ );
59
+ }
60
+ AssetVideo.prototype.getMediaUrl = function () {
61
+ return isExternalMediaVideo(this.getMedia());
62
+ };
63
+ AssetVideo.prototype.displaySingleMedia = function () {
64
+ return (
65
+ <AudioVideoPlayer
66
+ playerType="video"
67
+ poster={null}
68
+ src={this.getMediaUrl()}
69
+ />
70
+ );
71
+ };
72
+ return AssetVideo;
73
+ })(Video);
34
74
  export default AssetVideo;
@@ -3,4 +3,5 @@ import AssetImage from '@/dto/AssetEntity/views/AssetImage';
3
3
  import AssetOther from '@/dto/AssetEntity/views/AssetOther';
4
4
  import AssetScreenshot from '@/dto/AssetEntity/views/AssetScreenshot';
5
5
  import AssetVideo from '@/dto/AssetEntity/views/AssetVideo';
6
+
6
7
  export { AssetImage, AssetAudio, AssetScreenshot, AssetVideo, AssetOther };
@@ -1,5 +1,6 @@
1
1
  import { BlockChainEntity, BlockChainKeys } from '@ludo.ninja/core';
2
2
  import { checkGltfUrl } from '@ludo.ninja/utils';
3
+
3
4
  import { LabelKeys } from '@/dto/common/ItemType';
4
5
  import labelsData from '@/dto/common/ItemType/data';
5
6
  import CreationAudio from '@/dto/common/ItemViews/CreationAudio';
@@ -7,151 +8,166 @@ import CreationImage from '@/dto/common/ItemViews/CreationImage';
7
8
  import CreationObject from '@/dto/common/ItemViews/CreationObject';
8
9
  import CreationOther from '@/dto/common/ItemViews/CreationOther';
9
10
  import CreationVideo from '@/dto/common/ItemViews/CreationVideo';
11
+
10
12
  var CollectionCreationEntity = /** @class */ (function () {
11
- function CollectionCreationEntity(collectionAsset, type) {
12
- this.collectionId = collectionAsset.collectionId;
13
- this.id = collectionAsset.id;
14
- this.collectionTitle = collectionAsset.collectionTitle;
15
- this.name = collectionAsset.name;
16
- this.blockchain = new BlockChainEntity(collectionAsset.blockchain);
17
- this.tokenId = collectionAsset.tokenId;
18
- this.address = collectionAsset.address;
19
- this.creatorsAddresses = collectionAsset.creatorsAddresses;
20
- this.originalUrls = collectionAsset.originalUrls;
21
- this.rank = collectionAsset.rank;
22
- this.likes = collectionAsset.likes;
23
- this.liked = collectionAsset.liked;
24
- this.medias = collectionAsset.medias;
25
- this.collectionCreationId = collectionAsset.assetId;
26
- this.itemType = type !== null && type !== void 0 ? type : LabelKeys.asset;
13
+ function CollectionCreationEntity(collectionAsset, type) {
14
+ this.collectionId = collectionAsset.collectionId;
15
+ this.id = collectionAsset.id;
16
+ this.collectionTitle = collectionAsset.collectionTitle;
17
+ this.name = collectionAsset.name;
18
+ this.blockchain = new BlockChainEntity(collectionAsset.blockchain);
19
+ this.tokenId = collectionAsset.tokenId;
20
+ this.address = collectionAsset.address;
21
+ this.creatorsAddresses = collectionAsset.creatorsAddresses;
22
+ this.originalUrls = collectionAsset.originalUrls;
23
+ this.rank = collectionAsset.rank;
24
+ this.likes = collectionAsset.likes;
25
+ this.liked = collectionAsset.liked;
26
+ this.medias = collectionAsset.medias;
27
+ this.collectionCreationId = collectionAsset.assetId;
28
+ this.itemType = type !== null && type !== void 0 ? type : LabelKeys.asset;
29
+ }
30
+ CollectionCreationEntity.prototype.getCreationId = function () {
31
+ return this.collectionId ? this.collectionId : '';
32
+ };
33
+ CollectionCreationEntity.prototype.getId = function () {
34
+ return this.id ? this.id : '';
35
+ };
36
+ CollectionCreationEntity.prototype.getItemType = function () {
37
+ return this.itemType;
38
+ };
39
+ CollectionCreationEntity.prototype.getAddress = function () {
40
+ return this.address ? this.address : null;
41
+ };
42
+ CollectionCreationEntity.prototype.getTokenId = function () {
43
+ return this.tokenId ? this.tokenId : '';
44
+ };
45
+ CollectionCreationEntity.prototype.getCollectionCreationId = function () {
46
+ return this.collectionCreationId ? this.collectionCreationId : '';
47
+ };
48
+ CollectionCreationEntity.prototype.getCreationLink = function () {
49
+ if (this.getItemType() === LabelKeys.asset) {
50
+ var blockChainPrivateLabel =
51
+ this.getBlockchain().getBlockChainPrivateLabel();
52
+ if (blockChainPrivateLabel === BlockChainKeys.elrond) {
53
+ return '/'
54
+ .concat(this.getItemType(), '/')
55
+ .concat(this.getBlockchain().getBlockChainPrivateLabel(), '/')
56
+ .concat(this.getId());
57
+ } else if (blockChainPrivateLabel === BlockChainKeys.solana) {
58
+ return '/'
59
+ .concat(this.getItemType(), '/')
60
+ .concat(this.getBlockchain().getBlockChainPrivateLabel(), '/')
61
+ .concat(this.getTokenId());
62
+ } else {
63
+ return '/'
64
+ .concat(this.getItemType(), '/')
65
+ .concat(this.getBlockchain().getBlockChainPrivateLabel(), '/')
66
+ .concat(this.getAddress(), '/')
67
+ .concat(this.getTokenId());
68
+ }
27
69
  }
28
- CollectionCreationEntity.prototype.getCreationId = function () {
29
- return this.collectionId ? this.collectionId : '';
30
- };
31
- CollectionCreationEntity.prototype.getId = function () {
32
- return this.id ? this.id : '';
33
- };
34
- CollectionCreationEntity.prototype.getItemType = function () {
35
- return this.itemType;
36
- };
37
- CollectionCreationEntity.prototype.getAddress = function () {
38
- return this.address ? this.address : null;
39
- };
40
- CollectionCreationEntity.prototype.getTokenId = function () {
41
- return this.tokenId ? this.tokenId : '';
42
- };
43
- CollectionCreationEntity.prototype.getCollectionCreationId = function () {
44
- return this.collectionCreationId ? this.collectionCreationId : '';
45
- };
46
- CollectionCreationEntity.prototype.getCreationLink = function () {
47
- if (this.getItemType() === LabelKeys.asset) {
48
- var blockChainPrivateLabel = this.getBlockchain().getBlockChainPrivateLabel();
49
- if (blockChainPrivateLabel === BlockChainKeys.elrond) {
50
- return "/".concat(this.getItemType(), "/").concat(this.getBlockchain().getBlockChainPrivateLabel(), "/").concat(this.getId());
51
- }
52
- else if (blockChainPrivateLabel === BlockChainKeys.solana) {
53
- return "/".concat(this.getItemType(), "/").concat(this.getBlockchain().getBlockChainPrivateLabel(), "/").concat(this.getTokenId());
54
- }
55
- else {
56
- return "/".concat(this.getItemType(), "/").concat(this.getBlockchain().getBlockChainPrivateLabel(), "/").concat(this.getAddress(), "/").concat(this.getTokenId());
57
- }
58
- }
59
- return "/".concat(this.getItemType(), "/").concat(this.getItemId());
60
- };
61
- CollectionCreationEntity.prototype.getBlockchain = function () {
62
- return this.blockchain;
63
- };
64
- CollectionCreationEntity.prototype.getName = function () {
65
- return this.name;
66
- };
67
- CollectionCreationEntity.prototype.getItemId = function () {
68
- return this.getCreationId();
69
- };
70
- CollectionCreationEntity.prototype.getCreatorAddress = function () {
71
- return this.creatorsAddresses ? this.creatorsAddresses[0] : null;
72
- };
73
- CollectionCreationEntity.prototype.getLikes = function () {
74
- return this.likes ? this.likes : 0;
75
- };
76
- CollectionCreationEntity.prototype.getRank = function () {
77
- return this.rank ? Math.round(this.rank) : 0;
78
- };
79
- CollectionCreationEntity.prototype.getOriginalUrls = function () {
80
- var _a;
81
- if (!this.originalUrls)
82
- return null;
83
- var convertedOriginalUrlsArray = [];
84
- for (var i = 0; i < ((_a = this.originalUrls) === null || _a === void 0 ? void 0 : _a.length); i++) {
85
- convertedOriginalUrlsArray.push(checkGltfUrl(this.originalUrls[i] || ''));
86
- }
87
- return convertedOriginalUrlsArray;
88
- };
89
- CollectionCreationEntity.prototype.getIsLiked = function () {
90
- return this.liked;
91
- };
92
- CollectionCreationEntity.prototype.getMediaOrOriginalUrl = function () {
93
- var _a;
94
- if (!this.getMedia()) {
95
- if (!this.getOriginalUrls())
96
- return null;
97
- return (_a = this.getOriginalUrls()) === null || _a === void 0 ? void 0 : _a[0];
98
- }
99
- else {
100
- return this.getMedia();
101
- }
102
- };
103
- CollectionCreationEntity.prototype.getMimeType = function () {
104
- if (this.medias && this.medias.length && this.medias[0]) {
105
- return this.medias[0].mimeType;
106
- }
107
- else
108
- return null;
109
- };
110
- CollectionCreationEntity.prototype.getMedia = function () {
111
- if (this.medias && this.medias.length && this.medias[0]) {
112
- return this.medias[0].url;
113
- }
114
- else
115
- return null;
116
- };
117
- CollectionCreationEntity.prototype.detectMediaType = function () {
118
- var mediaFields = {
119
- media: this.getMediaOrOriginalUrl(),
120
- nsfw: null,
121
- mimeType: this.getMimeType(),
122
- previewUrl: null,
123
- alt: "".concat(this.getName(), " ").concat(this.getAddress()),
124
- };
125
- var mediaTypes = [
126
- new CreationImage(mediaFields),
127
- new CreationVideo(mediaFields),
128
- new CreationAudio(mediaFields),
129
- new CreationObject(mediaFields),
130
- ];
131
- var currentMedia = new CreationOther(mediaFields);
132
- for (var i = 0; i < mediaTypes.length; i++) {
133
- if (mediaTypes[i].checkOwnType()) {
134
- currentMedia = mediaTypes[i];
135
- break;
136
- }
137
- }
138
- return currentMedia;
139
- };
140
- CollectionCreationEntity.prototype.getLabel = function () {
141
- return labelsData[this.getItemType()];
142
- };
143
- CollectionCreationEntity.prototype.getCuttedSecondName = function (isMobileView) {
144
- var _a, _b;
145
- if (!this.name)
146
- return null;
147
- return isMobileView
148
- ? this.name && this.name.length >= 20
149
- ? (_a = this.name) === null || _a === void 0 ? void 0 : _a.substring(0, 22).concat('...')
150
- : this.name
151
- : this.name && this.name.length >= 11
152
- ? (_b = this.name) === null || _b === void 0 ? void 0 : _b.substring(0, 13).concat('...')
153
- : this.name;
154
- };
155
- return CollectionCreationEntity;
156
- }());
70
+ return '/'.concat(this.getItemType(), '/').concat(this.getItemId());
71
+ };
72
+ CollectionCreationEntity.prototype.getBlockchain = function () {
73
+ return this.blockchain;
74
+ };
75
+ CollectionCreationEntity.prototype.getName = function () {
76
+ return this.name;
77
+ };
78
+ CollectionCreationEntity.prototype.getItemId = function () {
79
+ return this.getCreationId();
80
+ };
81
+ CollectionCreationEntity.prototype.getCreatorAddress = function () {
82
+ return this.creatorsAddresses ? this.creatorsAddresses[0] : null;
83
+ };
84
+ CollectionCreationEntity.prototype.getLikes = function () {
85
+ return this.likes ? this.likes : 0;
86
+ };
87
+ CollectionCreationEntity.prototype.getRank = function () {
88
+ return this.rank ? Math.round(this.rank) : 0;
89
+ };
90
+ CollectionCreationEntity.prototype.getOriginalUrls = function () {
91
+ var _a;
92
+ if (!this.originalUrls) return null;
93
+ var convertedOriginalUrlsArray = [];
94
+ for (
95
+ var i = 0;
96
+ i <
97
+ ((_a = this.originalUrls) === null || _a === void 0 ? void 0 : _a.length);
98
+ i++
99
+ ) {
100
+ convertedOriginalUrlsArray.push(checkGltfUrl(this.originalUrls[i] || ''));
101
+ }
102
+ return convertedOriginalUrlsArray;
103
+ };
104
+ CollectionCreationEntity.prototype.getIsLiked = function () {
105
+ return this.liked;
106
+ };
107
+ CollectionCreationEntity.prototype.getMediaOrOriginalUrl = function () {
108
+ var _a;
109
+ if (!this.getMedia()) {
110
+ if (!this.getOriginalUrls()) return null;
111
+ return (_a = this.getOriginalUrls()) === null || _a === void 0
112
+ ? void 0
113
+ : _a[0];
114
+ } else {
115
+ return this.getMedia();
116
+ }
117
+ };
118
+ CollectionCreationEntity.prototype.getMimeType = function () {
119
+ if (this.medias && this.medias.length && this.medias[0]) {
120
+ return this.medias[0].mimeType;
121
+ } else return null;
122
+ };
123
+ CollectionCreationEntity.prototype.getMedia = function () {
124
+ if (this.medias && this.medias.length && this.medias[0]) {
125
+ return this.medias[0].url;
126
+ } else return null;
127
+ };
128
+ CollectionCreationEntity.prototype.detectMediaType = function () {
129
+ var mediaFields = {
130
+ media: this.getMediaOrOriginalUrl(),
131
+ nsfw: null,
132
+ mimeType: this.getMimeType(),
133
+ previewUrl: null,
134
+ alt: ''.concat(this.getName(), ' ').concat(this.getAddress()),
135
+ };
136
+ var mediaTypes = [
137
+ new CreationImage(mediaFields),
138
+ new CreationVideo(mediaFields),
139
+ new CreationAudio(mediaFields),
140
+ new CreationObject(mediaFields),
141
+ ];
142
+ var currentMedia = new CreationOther(mediaFields);
143
+ for (var i = 0; i < mediaTypes.length; i++) {
144
+ if (mediaTypes[i].checkOwnType()) {
145
+ currentMedia = mediaTypes[i];
146
+ break;
147
+ }
148
+ }
149
+ return currentMedia;
150
+ };
151
+ CollectionCreationEntity.prototype.getLabel = function () {
152
+ return labelsData[this.getItemType()];
153
+ };
154
+ CollectionCreationEntity.prototype.getCuttedSecondName = function (
155
+ isMobileView
156
+ ) {
157
+ var _a, _b;
158
+ if (!this.name) return null;
159
+ return isMobileView
160
+ ? this.name && this.name.length >= 20
161
+ ? (_a = this.name) === null || _a === void 0
162
+ ? void 0
163
+ : _a.substring(0, 22).concat('...')
164
+ : this.name
165
+ : this.name && this.name.length >= 11
166
+ ? (_b = this.name) === null || _b === void 0
167
+ ? void 0
168
+ : _b.substring(0, 13).concat('...')
169
+ : this.name;
170
+ };
171
+ return CollectionCreationEntity;
172
+ })();
157
173
  export default CollectionCreationEntity;
@@ -1,72 +1,90 @@
1
- import { BlockChainEntity, MarketPlaceEntity, ProfileEntity, } from '@ludo.ninja/core';
1
+ import {
2
+ BlockChainEntity,
3
+ MarketPlaceEntity,
4
+ ProfileEntity,
5
+ } from '@ludo.ninja/core';
6
+
2
7
  var CollectionEntity = /** @class */ (function () {
3
- function CollectionEntity(collection) {
4
- var _a;
5
- this.collectionTitle = collection.collectionTitle;
6
- this.collectionId = collection.collectionId;
7
- this.items = collection.items;
8
- this.owners = collection.owners;
9
- this.creatorsProfiles = collection.creatorsProfiles;
10
- this.contractAddress = collection.contractAddress;
11
- this.collectionMarkets =
12
- ((_a = collection.collectionMarkets) === null || _a === void 0 ? void 0 : _a.map(function (market) {
13
- return new MarketPlaceEntity({
14
- marketName: market === null || market === void 0 ? void 0 : market.marketName,
15
- marketUrl: market === null || market === void 0 ? void 0 : market.marketUrl,
16
- marketId: market === null || market === void 0 ? void 0 : market.marketUrl,
17
- });
18
- })) || [];
19
- this.creatorsAddresses = collection.creatorsAddresses;
20
- this.blockchain = new BlockChainEntity(collection.blockchain);
21
- this.rank = collection.rank;
22
- this.likes = collection.likes;
23
- this.liked = collection.liked;
24
- }
25
- CollectionEntity.prototype.getCollectionId = function () {
26
- return this.collectionId ? this.collectionId : 'no id';
27
- };
28
- CollectionEntity.prototype.getBlockchain = function () {
29
- return this.blockchain;
30
- };
31
- CollectionEntity.prototype.getContractAddress = function () {
32
- return this.contractAddress ? this.contractAddress : null;
33
- };
34
- CollectionEntity.prototype.getCreatorsProfiles = function () {
35
- var profiles;
36
- if (this.creatorsProfiles) {
37
- profiles = this.creatorsProfiles.map(function (profile) {
38
- return new ProfileEntity(profile);
8
+ function CollectionEntity(collection) {
9
+ var _a;
10
+ this.collectionTitle = collection.collectionTitle;
11
+ this.collectionId = collection.collectionId;
12
+ this.items = collection.items;
13
+ this.owners = collection.owners;
14
+ this.creatorsProfiles = collection.creatorsProfiles;
15
+ this.contractAddress = collection.contractAddress;
16
+ this.collectionMarkets =
17
+ ((_a = collection.collectionMarkets) === null || _a === void 0
18
+ ? void 0
19
+ : _a.map(function (market) {
20
+ return new MarketPlaceEntity({
21
+ marketName:
22
+ market === null || market === void 0
23
+ ? void 0
24
+ : market.marketName,
25
+ marketUrl:
26
+ market === null || market === void 0
27
+ ? void 0
28
+ : market.marketUrl,
29
+ marketId:
30
+ market === null || market === void 0
31
+ ? void 0
32
+ : market.marketUrl,
39
33
  });
40
- }
41
- return profiles || null;
42
- };
43
- CollectionEntity.prototype.getCollectionMarkets = function () {
44
- return this.collectionMarkets ? this.collectionMarkets : null;
45
- };
46
- CollectionEntity.prototype.getCreationLink = function () {
47
- return "/".concat(this.getCollectionId(), "/").concat(this.getCollectionId());
48
- };
49
- CollectionEntity.prototype.getCollectionItems = function () {
50
- return this.items ? this.items : 0;
51
- };
52
- CollectionEntity.prototype.getOwners = function () {
53
- return this.owners ? this.owners : 0;
54
- };
55
- CollectionEntity.prototype.getCollectionTitle = function () {
56
- return this.collectionTitle ? this.collectionTitle : null;
57
- };
58
- CollectionEntity.prototype.getCreatorsAddresses = function () {
59
- return this.creatorsAddresses ? this.creatorsAddresses : null;
60
- };
61
- CollectionEntity.prototype.getLikes = function () {
62
- return this.likes ? this.likes : 0;
63
- };
64
- CollectionEntity.prototype.getRank = function () {
65
- return this.rank ? Math.round(this.rank) : 0;
66
- };
67
- CollectionEntity.prototype.getIsLiked = function () {
68
- return this.liked;
69
- };
70
- return CollectionEntity;
71
- }());
34
+ })) || [];
35
+ this.creatorsAddresses = collection.creatorsAddresses;
36
+ this.blockchain = new BlockChainEntity(collection.blockchain);
37
+ this.rank = collection.rank;
38
+ this.likes = collection.likes;
39
+ this.liked = collection.liked;
40
+ }
41
+ CollectionEntity.prototype.getCollectionId = function () {
42
+ return this.collectionId ? this.collectionId : 'no id';
43
+ };
44
+ CollectionEntity.prototype.getBlockchain = function () {
45
+ return this.blockchain;
46
+ };
47
+ CollectionEntity.prototype.getContractAddress = function () {
48
+ return this.contractAddress ? this.contractAddress : null;
49
+ };
50
+ CollectionEntity.prototype.getCreatorsProfiles = function () {
51
+ var profiles;
52
+ if (this.creatorsProfiles) {
53
+ profiles = this.creatorsProfiles.map(function (profile) {
54
+ return new ProfileEntity(profile);
55
+ });
56
+ }
57
+ return profiles || null;
58
+ };
59
+ CollectionEntity.prototype.getCollectionMarkets = function () {
60
+ return this.collectionMarkets ? this.collectionMarkets : null;
61
+ };
62
+ CollectionEntity.prototype.getCreationLink = function () {
63
+ return '/'
64
+ .concat(this.getCollectionId(), '/')
65
+ .concat(this.getCollectionId());
66
+ };
67
+ CollectionEntity.prototype.getCollectionItems = function () {
68
+ return this.items ? this.items : 0;
69
+ };
70
+ CollectionEntity.prototype.getOwners = function () {
71
+ return this.owners ? this.owners : 0;
72
+ };
73
+ CollectionEntity.prototype.getCollectionTitle = function () {
74
+ return this.collectionTitle ? this.collectionTitle : null;
75
+ };
76
+ CollectionEntity.prototype.getCreatorsAddresses = function () {
77
+ return this.creatorsAddresses ? this.creatorsAddresses : null;
78
+ };
79
+ CollectionEntity.prototype.getLikes = function () {
80
+ return this.likes ? this.likes : 0;
81
+ };
82
+ CollectionEntity.prototype.getRank = function () {
83
+ return this.rank ? Math.round(this.rank) : 0;
84
+ };
85
+ CollectionEntity.prototype.getIsLiked = function () {
86
+ return this.liked;
87
+ };
88
+ return CollectionEntity;
89
+ })();
72
90
  export default CollectionEntity;