@ludo.ninja/components 2.3.34 → 2.3.36

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 (726) hide show
  1. package/build/api/server-assets/queries/useFetchAssets/index.js +2 -2
  2. package/build/api/server-assets/queries/useFetchDynamicAssetLikes/index.js +2 -2
  3. package/build/api/server-assets/queries/useFetchDynamicAssetsLikes/index.js +2 -2
  4. package/build/api/server-experiences/queries/useFetchMyActivityStreak/index.js +3 -3
  5. package/build/api/server-experiences/queries/useFetchMyExperienceWithLevel/index.js +3 -3
  6. package/build/api/server-experiences/queries/useFetchMyTasks/index.js +2 -2
  7. package/build/api/server-galleries/mutations/useAddChangeGalleryBanner/index.js +1 -1
  8. package/build/api/server-galleries/mutations/useAddCreationsToGallery/index.js +1 -1
  9. package/build/api/server-galleries/mutations/useDeleteGallery/index.js +2 -2
  10. package/build/api/server-galleries/mutations/useDeleteGalleryBanner/index.js +1 -1
  11. package/build/api/server-galleries/mutations/useRemoveAssetFromGallery/index.js +2 -2
  12. package/build/api/server-galleries/mutations/useRemoveCollectionFromGallery/index.js +1 -1
  13. package/build/api/server-galleries/queries/useFetchGallery/index.d.ts +1 -1
  14. package/build/api/server-galleries/queries/useFetchGallery/index.js +1 -1
  15. package/build/api/server-galleries/queries/useFetchMyFavorites/index.d.ts +1 -1
  16. package/build/api/server-galleries/queries/useFetchMyFavorites/index.js +1 -1
  17. package/build/api/server-galleries/queries/useFetchMyGalleries/index.d.ts +1 -1
  18. package/build/api/server-galleries/queries/useFetchMyGalleries/index.js +1 -1
  19. package/build/api/server-galleries/queries/useFetchUserFavorites/index.d.ts +1 -1
  20. package/build/api/server-galleries/queries/useFetchUserFavorites/index.js +1 -1
  21. package/build/api/server-identities/mutations/useAddWalletElrond/index.js +2 -2
  22. package/build/api/server-identities/mutations/useAddWalletFlow/index.js +2 -2
  23. package/build/api/server-identities/mutations/useAddWalletMetamask/index.js +2 -2
  24. package/build/api/server-identities/mutations/useAddWalletSolana/index.js +2 -2
  25. package/build/api/server-identities/mutations/useAddWalletTezos/index.js +2 -2
  26. package/build/api/server-identities/mutations/useAddWalletTon/index.js +2 -2
  27. package/build/api/server-identities/mutations/useFollowProfile/index.js +2 -2
  28. package/build/api/server-identities/mutations/useInviteCode/index.js +2 -2
  29. package/build/api/server-identities/mutations/useRemoveWallet/index.js +2 -2
  30. package/build/api/server-identities/mutations/useSaveEmailOfJoiner/index.js +2 -2
  31. package/build/api/server-identities/mutations/useUnfollowProfile/index.js +2 -2
  32. package/build/api/server-identities/queries/useFetchProfile/index.js +3 -3
  33. package/build/api/server-medias/queries/useFetchUserPic/index.js +1 -1
  34. package/build/api/server-opportunities/mutations/useCopyOpportunityShareLink/index.js +2 -2
  35. package/build/api/server-opportunities/mutations/useDislikeOpportunity.js +2 -2
  36. package/build/api/server-opportunities/mutations/useLikeOpportunity.js +2 -2
  37. package/build/api/server-opportunities/mutations/useOpenOpportunity/index.js +2 -2
  38. package/build/api/server-opportunities/queries/useGetOpportunities.js +3 -3
  39. package/build/api/server-preferences/mutations/useSaveUserExpectations/index.js +2 -2
  40. package/build/api/server-preferences/mutations/useSaveUserInterests/index.js +2 -2
  41. package/build/api/server-preferences/queries/fetchSearchResultSelections/queryData.js +2 -2
  42. package/build/api/server-preferences/queries/useFetchSearchResultTimeSelection/index.d.ts +1 -1
  43. package/build/api/server-preferences/queries/useSearchResultBlockchainSelections/index.d.ts +1 -1
  44. package/build/api/server-search/queries/useFetchAllCreations/index.d.ts +1 -1
  45. package/build/api/server-search/queries/useFetchAllCreations/index.js +1 -1
  46. package/build/api/server-search/queries/useFetchCollections/index.d.ts +1 -1
  47. package/build/api/server-search/queries/useFetchCollections/index.js +4 -4
  48. package/build/api/server-search/queries/useFetchDynamicCollectionData/index.d.ts +1 -1
  49. package/build/api/server-search/queries/useFetchDynamicCollectionData/index.js +3 -3
  50. package/build/api/server-search/queries/useFetchFindAllTopEntitiesByName/index.d.ts +1 -1
  51. package/build/api/server-search/queries/useFetchFindAllTopEntitiesByName/index.js +1 -1
  52. package/build/api/server-search/queries/useFetchLudoNftsTonPage/index.d.ts +1 -1
  53. package/build/api/server-search/queries/useFetchLudoNftsTonPage/index.js +2 -2
  54. package/build/api/server-search/queries/useFindCreations/index.d.ts +1 -1
  55. package/build/api/server-search/queries/useFindCreations/index.js +3 -3
  56. package/build/api/server-search/queries/useFindUserCreations/index.d.ts +1 -1
  57. package/build/api/server-search/queries/useFindUserCreations/index.js +2 -2
  58. package/build/api/server-search/queries/useFindUserLudoCreations/index.d.ts +1 -1
  59. package/build/api/server-search/queries/useFindUserLudoCreations/index.js +2 -2
  60. package/build/api/subscriptions/SubscriberInviteNotification.js +4 -4
  61. package/build/api/subscriptions/SubscriberNotifications.js +2 -2
  62. package/build/api/subscriptions/SubscriberOpportunityNotification.js +4 -4
  63. package/build/api/subscriptions/SubscriptionNotificationSPA.js +4 -4
  64. package/build/components/Page404/Page404SPA.js +1 -1
  65. package/build/components/Page404/index.js +3 -3
  66. package/build/components/base/Meta/index.js +1 -1
  67. package/build/components/base/UserStreak/index.js +3 -3
  68. package/build/components/headers/components/headerExperienceLabel/index.js +4 -4
  69. package/build/components/headers/components/headerStreak/index.js +2 -2
  70. package/build/components/headers/components/headerUserPic/index.js +2 -2
  71. package/build/components/headers/header/index.js +7 -7
  72. package/build/components/headers/headerSearch/index.js +8 -8
  73. package/build/components/search/SearchInputContainer.js +9 -9
  74. package/build/components/search/searchCloseMoreButtons/index.js +4 -4
  75. package/build/components/search/searchSimpleInput/index.js +7 -7
  76. package/build/components/search/searchSuggestions/index.d.ts +1 -1
  77. package/build/components/search/searchSuggestions/index.js +10 -10
  78. package/build/components/search/searchSuggestions/searchSuggestionsCaption/index.js +3 -3
  79. package/build/components/search/searchSuggestions/searchSuggestionsFooter/index.js +4 -4
  80. package/build/components/search/searchSuggestions/searchSuggestionsItem/index.js +4 -4
  81. package/build/components/search/searchSuggestions/searchSuggestionsItem/searchSuggestionsItemSkeleton/index.js +3 -3
  82. package/build/components/search/searchSuggestions/searchSuggestionsNotFound/index.js +3 -3
  83. package/build/components/toTopBtn/index.js +7 -7
  84. package/build/entities/asset/builder.d.ts +1 -1
  85. package/build/entities/asset/builder.js +2 -2
  86. package/build/entities/asset/getAssetMiniatureUrl.d.ts +1 -1
  87. package/build/entities/asset/getAssetMiniatureUrl.js +3 -3
  88. package/build/entities/asset/types.d.ts +2 -2
  89. package/build/entities/creation/CreationMediaView.d.ts +1 -1
  90. package/build/entities/creation/CreationMediaView.js +7 -7
  91. package/build/entities/creation/builder.d.ts +1 -1
  92. package/build/entities/creation/builder.js +3 -3
  93. package/build/entities/creation/collectionCreationBuilder.d.ts +1 -1
  94. package/build/entities/creation/collectionCreationBuilder.js +2 -2
  95. package/build/entities/creation/types.d.ts +2 -2
  96. package/build/entities/gallery/builder.d.ts +1 -1
  97. package/build/entities/gallery/builder.js +1 -1
  98. package/build/entities/gallery/types.d.ts +1 -1
  99. package/build/entities/media/builder.d.ts +1 -1
  100. package/build/entities/media/getMediaVariant.d.ts +1 -1
  101. package/build/entities/media/getMediaVariant.js +2 -2
  102. package/build/modules/user/store.d.ts +1 -1
  103. package/build/store/ui/index.js +2 -2
  104. package/build/store/ui/types.d.ts +3 -3
  105. package/build/store/ui/utils.d.ts +1 -1
  106. package/build/system/DropDown/index.js +2 -2
  107. package/build/system/Forms/Checkbox/Checkbox.test.js +1 -1
  108. package/build/system/Forms/Checkbox/index.js +4 -4
  109. package/build/system/Forms/ErrorLabel/ErrorLabel.test.js +1 -1
  110. package/build/system/Forms/ErrorLabel/index.js +1 -1
  111. package/build/system/Forms/Input/Input.test.js +2 -2
  112. package/build/system/Forms/Input/index.js +5 -5
  113. package/build/system/Forms/RadioInput/RadioInput.test.js +1 -1
  114. package/build/system/Forms/RadioInput/index.js +2 -2
  115. package/build/system/Forms/Selects/DesktopSelect/index.d.ts +1 -1
  116. package/build/system/Forms/Selects/DesktopSelect/index.js +6 -6
  117. package/build/system/Forms/Selects/MobileSelect/index.js +2 -2
  118. package/build/system/Forms/TextArea/TextArea.test.js +2 -2
  119. package/build/system/Forms/TextArea/index.js +4 -4
  120. package/build/system/Img/Profilepic/index.js +3 -3
  121. package/build/system/Img/Userpic/UserPic.test.js +4 -4
  122. package/build/system/Img/Userpic/UserPicSpa.js +6 -6
  123. package/build/system/Img/Userpic/index.js +6 -6
  124. package/build/system/Img/index.d.ts +3 -3
  125. package/build/system/Img/index.js +3 -3
  126. package/build/system/Labels/ExperienceLabel/index.js +5 -5
  127. package/build/utils/adaptive/check4k.d.ts +1 -1
  128. package/build/utils/adaptive/check4k.js +1 -1
  129. package/build/utils/adaptive/scale.d.ts +1 -1
  130. package/build/utils/adaptive/scale.js +1 -1
  131. package/build/utils/auth/index.js +1 -1
  132. package/build/utils/getErrorAlertProps/index.js +1 -1
  133. package/build/utils/screen/index.js +2 -2
  134. package/package.json +1 -1
  135. package/build/components/Page500/index.d.ts +0 -2
  136. package/build/components/Page500/index.js +0 -87
  137. package/build/components/assetPage/assetLikes/index.d.ts +0 -6
  138. package/build/components/assetPage/assetLikes/index.js +0 -58
  139. package/build/components/assetPage/assetNft/index.d.ts +0 -4
  140. package/build/components/assetPage/assetNft/index.js +0 -37
  141. package/build/components/assetPage/audioVideoPlayer/Duration.d.ts +0 -5
  142. package/build/components/assetPage/audioVideoPlayer/Duration.js +0 -22
  143. package/build/components/assetPage/audioVideoPlayer/index.d.ts +0 -96
  144. package/build/components/assetPage/audioVideoPlayer/index.js +0 -308
  145. package/build/components/assetPage/category/index.d.ts +0 -4
  146. package/build/components/assetPage/category/index.js +0 -58
  147. package/build/components/assetPage/index.d.ts +0 -5
  148. package/build/components/assetPage/index.js +0 -13
  149. package/build/components/assetPage/information/index.d.ts +0 -4
  150. package/build/components/assetPage/information/index.js +0 -114
  151. package/build/components/assetPage/marketPlaces/index.d.ts +0 -4
  152. package/build/components/assetPage/marketPlaces/index.js +0 -57
  153. package/build/components/assetPage/media/AssetImage/index.d.ts +0 -8
  154. package/build/components/assetPage/media/AssetImage/index.js +0 -187
  155. package/build/components/assetPage/moreDropDown/index.d.ts +0 -10
  156. package/build/components/assetPage/moreDropDown/index.js +0 -152
  157. package/build/components/assetPage/properties/index.d.ts +0 -4
  158. package/build/components/assetPage/properties/index.js +0 -42
  159. package/build/components/assetPage/slider/store.d.ts +0 -8
  160. package/build/components/assetPage/slider/store.js +0 -16
  161. package/build/components/assetPage/viewer3D/index.d.ts +0 -7
  162. package/build/components/assetPage/viewer3D/index.js +0 -124
  163. package/build/components/base/PageHead/index.d.ts +0 -8
  164. package/build/components/base/PageHead/index.js +0 -13
  165. package/build/components/favoriteList/add/addCreationToFavoriteList/index.d.ts +0 -7
  166. package/build/components/favoriteList/add/addCreationToFavoriteList/index.js +0 -28
  167. package/build/components/gallery/add/addCreationToGallery/index.d.ts +0 -2
  168. package/build/components/gallery/add/addCreationToGallery/index.js +0 -48
  169. package/build/components/headers/headerSimple/index.d.ts +0 -2
  170. package/build/components/headers/headerSimple/index.js +0 -78
  171. package/build/components/linkTabs/index.d.ts +0 -8
  172. package/build/components/linkTabs/index.js +0 -51
  173. package/build/components/linkTabs/linkTab/index.d.ts +0 -9
  174. package/build/components/linkTabs/linkTab/index.js +0 -74
  175. package/build/components/myWallets/index.d.ts +0 -9
  176. package/build/components/myWallets/index.js +0 -37
  177. package/build/components/myWallets/myWalletItem/index.d.ts +0 -10
  178. package/build/components/myWallets/myWalletItem/index.js +0 -82
  179. package/build/components/myWallets/myWalletItem/myWalletItemCheckBox/index.d.ts +0 -9
  180. package/build/components/myWallets/myWalletItem/myWalletItemCheckBox/index.js +0 -21
  181. package/build/components/profile/profileSkeleton/index.d.ts +0 -4
  182. package/build/components/profile/profileSkeleton/index.js +0 -75
  183. package/build/components/searchFiltersConnector/filters/applyResetBtns/index.d.ts +0 -5
  184. package/build/components/searchFiltersConnector/filters/applyResetBtns/index.js +0 -55
  185. package/build/components/searchFiltersConnector/filters/galleriesFiltersForm/index.d.ts +0 -10
  186. package/build/components/searchFiltersConnector/filters/galleriesFiltersForm/index.js +0 -60
  187. package/build/components/searchFiltersConnector/filters/index.d.ts +0 -11
  188. package/build/components/searchFiltersConnector/filters/index.js +0 -158
  189. package/build/components/searchFiltersConnector/filters/mobileFilters/index.d.ts +0 -5
  190. package/build/components/searchFiltersConnector/filters/mobileFilters/index.js +0 -25
  191. package/build/components/searchFiltersConnector/filters/setsFiltersForm/index.d.ts +0 -9
  192. package/build/components/searchFiltersConnector/filters/setsFiltersForm/index.js +0 -53
  193. package/build/components/searchFiltersConnector/index.d.ts +0 -10
  194. package/build/components/searchFiltersConnector/index.js +0 -116
  195. package/build/components/shareDialog/index.d.ts +0 -34
  196. package/build/components/shareDialog/index.js +0 -92
  197. package/build/components/sidebar/data.d.ts +0 -6
  198. package/build/components/sidebar/data.js +0 -121
  199. package/build/components/sidebar/icons.d.ts +0 -9
  200. package/build/components/sidebar/icons.js +0 -22
  201. package/build/components/sidebar/index.d.ts +0 -2
  202. package/build/components/sidebar/index.js +0 -135
  203. package/build/components/sidebar/initializer.d.ts +0 -1
  204. package/build/components/sidebar/initializer.js +0 -36
  205. package/build/components/sidebar/sidebarFilters/index.d.ts +0 -7
  206. package/build/components/sidebar/sidebarFilters/index.js +0 -51
  207. package/build/components/sidebar/sidebarInviteCodeLabel/index.d.ts +0 -2
  208. package/build/components/sidebar/sidebarInviteCodeLabel/index.js +0 -49
  209. package/build/components/sidebar/sidebarSpa.d.ts +0 -10
  210. package/build/components/sidebar/sidebarSpa.js +0 -134
  211. package/build/dto/AssetEntity/index.d.ts +0 -63
  212. package/build/dto/AssetEntity/index.js +0 -208
  213. package/build/dto/AssetEntity/interface.d.ts +0 -39
  214. package/build/dto/AssetEntity/interface.js +0 -2
  215. package/build/dto/AssetEntity/views/AssetAudio/index.d.ts +0 -11
  216. package/build/dto/AssetEntity/views/AssetAudio/index.js +0 -32
  217. package/build/dto/AssetEntity/views/AssetImage/index.d.ts +0 -12
  218. package/build/dto/AssetEntity/views/AssetImage/index.js +0 -44
  219. package/build/dto/AssetEntity/views/AssetObject/index.d.ts +0 -13
  220. package/build/dto/AssetEntity/views/AssetObject/index.js +0 -64
  221. package/build/dto/AssetEntity/views/AssetOther/index.d.ts +0 -13
  222. package/build/dto/AssetEntity/views/AssetOther/index.js +0 -47
  223. package/build/dto/AssetEntity/views/AssetScreenshot/index.d.ts +0 -12
  224. package/build/dto/AssetEntity/views/AssetScreenshot/index.js +0 -44
  225. package/build/dto/AssetEntity/views/AssetVideo/index.d.ts +0 -11
  226. package/build/dto/AssetEntity/views/AssetVideo/index.js +0 -32
  227. package/build/dto/AssetEntity/views/index.d.ts +0 -6
  228. package/build/dto/AssetEntity/views/index.js +0 -16
  229. package/build/dto/AssetSearchEntity/index.d.ts +0 -60
  230. package/build/dto/AssetSearchEntity/index.js +0 -164
  231. package/build/dto/AssetSearchEntity/interface.d.ts +0 -36
  232. package/build/dto/AssetSearchEntity/interface.js +0 -2
  233. package/build/dto/Collection/CollectionCreationEntity/index.d.ts +0 -45
  234. package/build/dto/Collection/CollectionCreationEntity/index.js +0 -173
  235. package/build/dto/Collection/CollectionCreationEntity/interface.d.ts +0 -24
  236. package/build/dto/Collection/CollectionCreationEntity/interface.js +0 -2
  237. package/build/dto/Collection/CollectionEntity/index.d.ts +0 -32
  238. package/build/dto/Collection/CollectionEntity/index.js +0 -82
  239. package/build/dto/Collection/CollectionEntity/interface.d.ts +0 -16
  240. package/build/dto/Collection/CollectionEntity/interface.js +0 -2
  241. package/build/dto/CreationEntity/index.d.ts +0 -49
  242. package/build/dto/CreationEntity/index.js +0 -178
  243. package/build/dto/CreationEntity/interface.d.ts +0 -30
  244. package/build/dto/CreationEntity/interface.js +0 -2
  245. package/build/dto/GalleryEntityV2/index.d.ts +0 -32
  246. package/build/dto/GalleryEntityV2/index.js +0 -80
  247. package/build/dto/GalleryEntityV2/interface.d.ts +0 -16
  248. package/build/dto/GalleryEntityV2/interface.js +0 -2
  249. package/build/dto/common/ItemType/data.d.ts +0 -3
  250. package/build/dto/common/ItemType/data.js +0 -41
  251. package/build/dto/common/ItemType/index.d.ts +0 -49
  252. package/build/dto/common/ItemType/index.js +0 -46
  253. package/build/dto/common/ItemViews/CreationAudio/index.d.ts +0 -8
  254. package/build/dto/common/ItemViews/CreationAudio/index.js +0 -28
  255. package/build/dto/common/ItemViews/CreationImage/index.d.ts +0 -9
  256. package/build/dto/common/ItemViews/CreationImage/index.js +0 -39
  257. package/build/dto/common/ItemViews/CreationObject/index.d.ts +0 -7
  258. package/build/dto/common/ItemViews/CreationObject/index.js +0 -30
  259. package/build/dto/common/ItemViews/CreationOther/index.d.ts +0 -8
  260. package/build/dto/common/ItemViews/CreationOther/index.js +0 -28
  261. package/build/dto/common/ItemViews/CreationVideo/index.d.ts +0 -8
  262. package/build/dto/common/ItemViews/CreationVideo/index.js +0 -28
  263. package/build/dto/common/Media/Audio/index.d.ts +0 -15
  264. package/build/dto/common/Media/Audio/index.js +0 -40
  265. package/build/dto/common/Media/Image/index.d.ts +0 -15
  266. package/build/dto/common/Media/Image/index.js +0 -48
  267. package/build/dto/common/Media/Object/index.d.ts +0 -15
  268. package/build/dto/common/Media/Object/index.js +0 -49
  269. package/build/dto/common/Media/Other/index.d.ts +0 -15
  270. package/build/dto/common/Media/Other/index.js +0 -68
  271. package/build/dto/common/Media/Screenshot/index.d.ts +0 -15
  272. package/build/dto/common/Media/Screenshot/index.js +0 -48
  273. package/build/dto/common/Media/Urls/index.d.ts +0 -31
  274. package/build/dto/common/Media/Urls/index.js +0 -125
  275. package/build/dto/common/Media/Video/index.d.ts +0 -15
  276. package/build/dto/common/Media/Video/index.js +0 -40
  277. package/build/dto/common/Media/index.d.ts +0 -28
  278. package/build/dto/common/Media/index.js +0 -45
  279. package/build/dto/common/Media/interface.d.ts +0 -30
  280. package/build/dto/common/Media/interface.js +0 -2
  281. package/build/entities/asset/AssetMediasViews.d.ts +0 -4
  282. package/build/entities/asset/AssetMediasViews.js +0 -54
  283. package/build/entities/asset/getAssetMediasOpengraph.d.ts +0 -5
  284. package/build/entities/asset/getAssetMediasOpengraph.js +0 -39
  285. package/build/entities/collection/builder.d.ts +0 -3
  286. package/build/entities/collection/builder.js +0 -31
  287. package/build/entities/collection/types.d.ts +0 -17
  288. package/build/entities/collection/types.js +0 -2
  289. package/build/fonts/FontsInitializeLayout.d.ts +0 -12
  290. package/build/fonts/FontsInitializeLayout.js +0 -164
  291. package/build/hoc/HOCSignUpInterceptor/CircleSvg.d.ts +0 -1
  292. package/build/hoc/HOCSignUpInterceptor/CircleSvg.js +0 -6
  293. package/build/hoc/HOCSignUpInterceptor/HOCSignUpInterceptor.d.ts +0 -2
  294. package/build/hoc/HOCSignUpInterceptor/HOCSignUpInterceptor.js +0 -103
  295. package/build/hooks/apollo/index.d.ts +0 -1
  296. package/build/hooks/apollo/index.js +0 -24
  297. package/build/hooks/audio/useMultiAudio/index.d.ts +0 -2
  298. package/build/hooks/audio/useMultiAudio/index.js +0 -47
  299. package/build/hooks/extension/useExtension/index.d.ts +0 -7
  300. package/build/hooks/extension/useExtension/index.js +0 -32
  301. package/build/hooks/favorites/useGetFavoriteGallaryCreations/index.d.ts +0 -22
  302. package/build/hooks/favorites/useGetFavoriteGallaryCreations/index.js +0 -122
  303. package/build/hooks/favorites/useGetUserFevoritesCreations/index.d.ts +0 -23
  304. package/build/hooks/favorites/useGetUserFevoritesCreations/index.js +0 -166
  305. package/build/hooks/galleries/useGetUserGalleriesCreations/index.d.ts +0 -23
  306. package/build/hooks/galleries/useGetUserGalleriesCreations/index.js +0 -155
  307. package/build/hooks/likes/dynamic/useFindCollectionsAndLikes.d.ts +0 -29
  308. package/build/hooks/likes/dynamic/useFindCollectionsAndLikes.js +0 -145
  309. package/build/hooks/likes/dynamic/useFindCreationsAndLikes.d.ts +0 -15
  310. package/build/hooks/likes/dynamic/useFindCreationsAndLikes.js +0 -119
  311. package/build/hooks/likes/dynamic/useGetCollectionInfoAndLikes.d.ts +0 -14
  312. package/build/hooks/likes/dynamic/useGetCollectionInfoAndLikes.js +0 -125
  313. package/build/hooks/likes/dynamic/useGetCreationsAndLikes.d.ts +0 -17
  314. package/build/hooks/likes/dynamic/useGetCreationsAndLikes.js +0 -128
  315. package/build/hooks/likes/dynamic/useGetCreationsAndLikesByType.d.ts +0 -16
  316. package/build/hooks/likes/dynamic/useGetCreationsAndLikesByType.js +0 -142
  317. package/build/hooks/likes/dynamic/useGetMixedLikesFavoriteList.d.ts +0 -18
  318. package/build/hooks/likes/dynamic/useGetMixedLikesFavoriteList.js +0 -48
  319. package/build/hooks/likes/dynamic/useGetTableLikes.d.ts +0 -14
  320. package/build/hooks/likes/dynamic/useGetTableLikes.js +0 -104
  321. package/build/hooks/likes/index.d.ts +0 -19
  322. package/build/hooks/likes/index.js +0 -113
  323. package/build/hooks/likes/useGetLikesAsset.d.ts +0 -20
  324. package/build/hooks/likes/useGetLikesAsset.js +0 -91
  325. package/build/layouts/AppLayout.d.ts +0 -6
  326. package/build/layouts/AppLayout.js +0 -24
  327. package/build/layouts/GlobalLayout.d.ts +0 -4
  328. package/build/layouts/GlobalLayout.js +0 -34
  329. package/build/layouts/base/LWithRegularHeader/index.d.ts +0 -3
  330. package/build/layouts/base/LWithRegularHeader/index.js +0 -16
  331. package/build/layouts/base/LWithRegularHeader/type.d.ts +0 -5
  332. package/build/layouts/base/LWithRegularHeader/type.js +0 -2
  333. package/build/layouts/base/LWithSearchHeader/index.d.ts +0 -3
  334. package/build/layouts/base/LWithSearchHeader/index.js +0 -12
  335. package/build/layouts/base/LWithSearchHeader/type.d.ts +0 -5
  336. package/build/layouts/base/LWithSearchHeader/type.js +0 -2
  337. package/build/layouts/custom/mainLayout/index.d.ts +0 -3
  338. package/build/layouts/custom/mainLayout/index.js +0 -17
  339. package/build/layouts/custom/styles.d.ts +0 -2
  340. package/build/layouts/custom/styles.js +0 -46
  341. package/build/layouts/pageTransitionLayout.d.ts +0 -6
  342. package/build/layouts/pageTransitionLayout.js +0 -23
  343. package/build/layouts/pageWithLayout.d.ts +0 -9
  344. package/build/layouts/pageWithLayout.js +0 -2
  345. package/build/modules/gallery/api/useGetAssetsAndCollectionForFavorite.d.ts +0 -19
  346. package/build/modules/gallery/api/useGetAssetsAndCollectionForFavorite.js +0 -204
  347. package/build/modules/gallery/api/useGetFavoriteGallery.d.ts +0 -6
  348. package/build/modules/gallery/api/useGetFavoriteGallery.js +0 -37
  349. package/build/modules/gallery/store.d.ts +0 -26
  350. package/build/modules/gallery/store.js +0 -97
  351. package/build/modules/gallery/ui/AllResults.d.ts +0 -3
  352. package/build/modules/gallery/ui/AllResults.js +0 -12
  353. package/build/modules/gallery/ui/Description.d.ts +0 -4
  354. package/build/modules/gallery/ui/Description.js +0 -101
  355. package/build/modules/gallery/ui/EditGallery.d.ts +0 -9
  356. package/build/modules/gallery/ui/EditGallery.js +0 -51
  357. package/build/modules/gallery/ui/GalleryDeleteIcon.d.ts +0 -4
  358. package/build/modules/gallery/ui/GalleryDeleteIcon.js +0 -30
  359. package/build/modules/gallery/ui/PlaceholderItemsGallery.d.ts +0 -1
  360. package/build/modules/gallery/ui/PlaceholderItemsGallery.js +0 -71
  361. package/build/modules/gallery/ui/STopSections.d.ts +0 -1
  362. package/build/modules/gallery/ui/STopSections.js +0 -31
  363. package/build/modules/gallery/ui/chooseGalleryItems/chooseGalleryItem/index.d.ts +0 -7
  364. package/build/modules/gallery/ui/chooseGalleryItems/chooseGalleryItem/index.js +0 -97
  365. package/build/modules/gallery/ui/chooseGalleryItems/index.d.ts +0 -15
  366. package/build/modules/gallery/ui/chooseGalleryItems/index.js +0 -157
  367. package/build/modules/gallery/ui/createGalleryForm/index.d.ts +0 -12
  368. package/build/modules/gallery/ui/createGalleryForm/index.js +0 -137
  369. package/build/modules/gallery/ui/editGalleryForm/index.d.ts +0 -8
  370. package/build/modules/gallery/ui/editGalleryForm/index.js +0 -189
  371. package/build/modules/gallery/ui/itemsPreview/index.d.ts +0 -19
  372. package/build/modules/gallery/ui/itemsPreview/index.js +0 -279
  373. package/build/modules/gallery/useToGalleryAsset.d.ts +0 -18
  374. package/build/modules/gallery/useToGalleryAsset.js +0 -88
  375. package/build/modules/notifications/CreatorNotifications.d.ts +0 -1
  376. package/build/modules/notifications/CreatorNotifications.js +0 -42
  377. package/build/modules/opportunity/OpportunityCard.d.ts +0 -5
  378. package/build/modules/opportunity/OpportunityCard.js +0 -272
  379. package/build/modules/opportunity/OpportunityDropDown.d.ts +0 -5
  380. package/build/modules/opportunity/OpportunityDropDown.js +0 -42
  381. package/build/modules/opportunity/ShareIcon.d.ts +0 -1
  382. package/build/modules/opportunity/ShareIcon.js +0 -6
  383. package/build/modules/opportunity/encodeQuery.d.ts +0 -14
  384. package/build/modules/opportunity/encodeQuery.js +0 -31
  385. package/build/modules/opportunity/popup/CopyIcon.d.ts +0 -8
  386. package/build/modules/opportunity/popup/CopyIcon.js +0 -7
  387. package/build/modules/opportunity/popup/FacebookIcon.d.ts +0 -8
  388. package/build/modules/opportunity/popup/FacebookIcon.js +0 -7
  389. package/build/modules/opportunity/popup/LinkedInIcon.d.ts +0 -8
  390. package/build/modules/opportunity/popup/LinkedInIcon.js +0 -7
  391. package/build/modules/opportunity/popup/LogoXIcon.d.ts +0 -8
  392. package/build/modules/opportunity/popup/LogoXIcon.js +0 -7
  393. package/build/modules/opportunity/popup/OpportunityMenu.d.ts +0 -8
  394. package/build/modules/opportunity/popup/OpportunityMenu.js +0 -204
  395. package/build/modules/opportunity/type.d.ts +0 -2
  396. package/build/modules/opportunity/type.js +0 -2
  397. package/build/modules/sessionScroll/globalTabs.d.ts +0 -12
  398. package/build/modules/sessionScroll/globalTabs.js +0 -50
  399. package/build/modules/sessionScroll/useVirtuosoInitialScroll.d.ts +0 -12
  400. package/build/modules/sessionScroll/useVirtuosoInitialScroll.js +0 -59
  401. package/build/modules/user/auth/HOCAuthSearchParamsLocalhostInterceptor.d.ts +0 -3
  402. package/build/modules/user/auth/HOCAuthSearchParamsLocalhostInterceptor.js +0 -34
  403. package/build/modules/user/auth/useAuthVerification.d.ts +0 -1
  404. package/build/modules/user/auth/useAuthVerification.js +0 -18
  405. package/build/modules/user/auth/useSignIn.d.ts +0 -2
  406. package/build/modules/user/auth/useSignIn.js +0 -23
  407. package/build/modules/user/auth/useSignOut.d.ts +0 -1
  408. package/build/modules/user/auth/useSignOut.js +0 -42
  409. package/build/modules/user/auth/useVerification.d.ts +0 -1
  410. package/build/modules/user/auth/useVerification.js +0 -67
  411. package/build/modules/user/profileData/profileDataInitialization.d.ts +0 -1
  412. package/build/modules/user/profileData/profileDataInitialization.js +0 -66
  413. package/build/modules/virtuoso/VirtuosoPageBuilder.d.ts +0 -19
  414. package/build/modules/virtuoso/VirtuosoPageBuilder.js +0 -135
  415. package/build/modules/virtuoso/VirtuosoToTopBtn.d.ts +0 -9
  416. package/build/modules/virtuoso/VirtuosoToTopBtn.js +0 -38
  417. package/build/modules/virtuoso/types.d.ts +0 -4
  418. package/build/modules/virtuoso/types.js +0 -2
  419. package/build/modules/virtuoso/useSubscribeVirtuosoScrollToHeader.d.ts +0 -3
  420. package/build/modules/virtuoso/useSubscribeVirtuosoScrollToHeader.js +0 -27
  421. package/build/modules/virtuoso/useVirtuosoData.d.ts +0 -12
  422. package/build/modules/virtuoso/useVirtuosoData.js +0 -49
  423. package/build/public/MobileSearchBtn/close.js +0 -25
  424. package/build/public/MobileSearchBtn/search.js +0 -31
  425. package/build/public/MobileSearchBtn/test/pirate.js +0 -36
  426. package/build/public/MobileSearchBtn/test/squircle.js +0 -36
  427. package/build/public/assetPage/audioPlaceholder.js +0 -116
  428. package/build/public/assetPage/details.js +0 -31
  429. package/build/public/assetPage/favorite.js +0 -22
  430. package/build/public/assetPage/favorite_hover.js +0 -24
  431. package/build/public/assetPage/flag.js +0 -32
  432. package/build/public/assetPage/fullScreen.js +0 -24
  433. package/build/public/assetPage/owners.js +0 -27
  434. package/build/public/assetPage/pause.js +0 -25
  435. package/build/public/assetPage/play.js +0 -23
  436. package/build/public/assetPage/share.js +0 -26
  437. package/build/public/assetPage/share2.js +0 -25
  438. package/build/public/assetPage/share2_hover.js +0 -25
  439. package/build/public/assetPage/shareWithDots.js +0 -40
  440. package/build/public/assetPage/shareWithDots_hover.js +0 -40
  441. package/build/public/assetPage/share_hover.js +0 -24
  442. package/build/public/assetPage/soundOf.js +0 -24
  443. package/build/public/assetPage/soundOn.js +0 -24
  444. package/build/public/calendar.js +0 -24
  445. package/build/public/cards/addToFavListIcon.js +0 -30
  446. package/build/public/cards/addToGalleryIcon.js +0 -22
  447. package/build/public/cards/heart.js +0 -20
  448. package/build/public/cardsHolderLoader/loader.js +0 -25
  449. package/build/public/checkbox-on.js +0 -34
  450. package/build/public/checkboxArrow.js +0 -25
  451. package/build/public/close.js +0 -25
  452. package/build/public/close20.js +0 -25
  453. package/build/public/collectionPage/export.js +0 -25
  454. package/build/public/copied.js +0 -30
  455. package/build/public/copy-icon-new.js +0 -31
  456. package/build/public/creation/card/moreBtn.js +0 -24
  457. package/build/public/creation/card/moreBtnVertical.js +0 -28
  458. package/build/public/creation/card/moreBtn_hover.js +0 -28
  459. package/build/public/dropDown/arrow_down.js +0 -24
  460. package/build/public/dropdown-arrow-down.js +0 -22
  461. package/build/public/dropdown-arrow-up.js +0 -22
  462. package/build/public/error/refresh.js +0 -29
  463. package/build/public/favicon.ico +0 -0
  464. package/build/public/favicon.png +0 -0
  465. package/build/public/follower.js +0 -27
  466. package/build/public/fonts/dm-sans-v15-latin-500.woff2 +0 -0
  467. package/build/public/fonts/dm-sans-v15-latin-500italic.woff2 +0 -0
  468. package/build/public/fonts/dm-sans-v15-latin-600.woff2 +0 -0
  469. package/build/public/fonts/dm-sans-v15-latin-600italic.woff2 +0 -0
  470. package/build/public/fonts/dm-sans-v15-latin-700.woff2 +0 -0
  471. package/build/public/fonts/dm-sans-v15-latin-700italic.woff2 +0 -0
  472. package/build/public/fonts/dm-sans-v15-latin-italic.woff2 +0 -0
  473. package/build/public/fonts/dm-sans-v15-latin-regular.woff2 +0 -0
  474. package/build/public/fonts/poppins-v21-latin-200.woff2 +0 -0
  475. package/build/public/fonts/poppins-v21-latin-300.woff2 +0 -0
  476. package/build/public/fonts/poppins-v21-latin-500.woff2 +0 -0
  477. package/build/public/fonts/poppins-v21-latin-600.woff2 +0 -0
  478. package/build/public/fonts/poppins-v21-latin-700.woff2 +0 -0
  479. package/build/public/fonts/poppins-v21-latin-800.woff2 +0 -0
  480. package/build/public/fonts/poppins-v21-latin-regular.woff2 +0 -0
  481. package/build/public/header/mobile_menu_icons/arrows/arrow_down.js +0 -25
  482. package/build/public/header/mobile_menu_icons/arrows/arrow_up.js +0 -25
  483. package/build/public/header/mobile_menu_icons/campaigns.js +0 -40
  484. package/build/public/header/mobile_menu_icons/dropdown/add_new_campaign.js +0 -72
  485. package/build/public/header/mobile_menu_icons/dropdown/my_galleries.js +0 -71
  486. package/build/public/header/mobile_menu_icons/dropdown/my_profile.js +0 -35
  487. package/build/public/header/mobile_menu_icons/dropdown/my_wallets.js +0 -34
  488. package/build/public/header/mobile_menu_icons/dropdown/notifications.js +0 -36
  489. package/build/public/header/mobile_menu_icons/dropdown/top_campaigns.js +0 -44
  490. package/build/public/header/mobile_menu_icons/dropdown/top_creations.js +0 -41
  491. package/build/public/header/mobile_menu_icons/dropdown/top_creators.js +0 -58
  492. package/build/public/header/mobile_menu_icons/dropdown/top_galleries.js +0 -75
  493. package/build/public/header/mobile_menu_icons/dropdown/top_/321/201ollectors.js +0 -64
  494. package/build/public/header/mobile_menu_icons/experiences.js +0 -49
  495. package/build/public/header/mobile_menu_icons/settings.js +0 -24
  496. package/build/public/header/mobile_menu_icons/sign_out.js +0 -31
  497. package/build/public/header/mobile_menu_icons/submit_nft.js +0 -88
  498. package/build/public/header/mobile_menu_icons/top.js +0 -45
  499. package/build/public/header/mobile_toggle/close.js +0 -25
  500. package/build/public/header/mobile_toggle/regular.js +0 -25
  501. package/build/public/like-icon-active.js +0 -27
  502. package/build/public/like-icon.js +0 -23
  503. package/build/public/logOut/logOutBtn.js +0 -35
  504. package/build/public/logo/main_logo.js +0 -726
  505. package/build/public/logo/main_logo_dark.js +0 -159
  506. package/build/public/logo/mobile_logo.js +0 -714
  507. package/build/public/logo/mobile_logo_dark.js +0 -147
  508. package/build/public/ludo-logo-small.js +0 -28
  509. package/build/public/ludo-logo-square.js +0 -40
  510. package/build/public/no_image placeholder.js +0 -41
  511. package/build/public/no_media_placeholder.js +0 -752
  512. package/build/public/report.js +0 -40
  513. package/build/public/search/arrow_up.js +0 -25
  514. package/build/public/search/back.js +0 -25
  515. package/build/public/search/close.js +0 -25
  516. package/build/public/search/no_found.js +0 -30
  517. package/build/public/search/search.js +0 -31
  518. package/build/public/search-icon.js +0 -34
  519. package/build/public/services/opensea.js +0 -28
  520. package/build/public/services/other.js +0 -40
  521. package/build/public/services/rarible.js +0 -29
  522. package/build/public/settings_page/back.js +0 -25
  523. package/build/public/settings_page/burger_menu.js +0 -37
  524. package/build/public/settings_page/notifications.js +0 -35
  525. package/build/public/settings_page/notifications_active.js +0 -35
  526. package/build/public/settings_page/privacy.js +0 -27
  527. package/build/public/settings_page/privacy_active.js +0 -27
  528. package/build/public/settings_page/settings.js +0 -28
  529. package/build/public/settings_page/settings_active.js +0 -28
  530. package/build/public/settings_page/upload.js +0 -30
  531. package/build/public/share-icon.js +0 -40
  532. package/build/public/showCaseIcons/heart.js +0 -20
  533. package/build/public/tabs/arrow_right.js +0 -25
  534. package/build/public/tabs/arrow_right_dark.js +0 -25
  535. package/build/public/tests/audio.mp3 +0 -0
  536. package/build/public/tests/test_1.js +0 -64
  537. package/build/public/toTopBtn/toTopBtn.js +0 -31
  538. package/build/public/upload-userpic.js +0 -64
  539. package/build/public/userpic-placeholder.jpg +0 -0
  540. package/build/public/userpics/placeholder-lg-1.js +0 -46
  541. package/build/public/userpics/placeholder-sm-1.js +0 -46
  542. package/build/public/video/pause.js +0 -33
  543. package/build/public/video/play.js +0 -29
  544. package/build/public/wallets/arkane-btn.js +0 -37
  545. package/build/public/wallets/bitski-btn.js +0 -52
  546. package/build/public/wallets/elrond-btn.js +0 -189
  547. package/build/public/wallets/elrond-icon-sm.js +0 -184
  548. package/build/public/wallets/elrond.js +0 -27
  549. package/build/public/wallets/ethereum-icon-sm.js +0 -34
  550. package/build/public/wallets/flow-btn.js +0 -33
  551. package/build/public/wallets/flow-icon-sm.js +0 -36
  552. package/build/public/wallets/formatic-btn.js +0 -25
  553. package/build/public/wallets/formatic-icon-sm.js +0 -25
  554. package/build/public/wallets/maiar-btn.js +0 -58
  555. package/build/public/wallets/maiar-icon-sm.js +0 -58
  556. package/build/public/wallets/metamask-btn.js +0 -176
  557. package/build/public/wallets/metamask-icon-sm.js +0 -169
  558. package/build/public/wallets/phantom.js +0 -27
  559. package/build/public/wallets/plus.js +0 -29
  560. package/build/public/wallets/solana-btn.js +0 -71
  561. package/build/public/wallets/solana-icon-sm.js +0 -64
  562. package/build/public/wallets/terra-btn.js +0 -94
  563. package/build/public/wallets/terra-icon-sm.js +0 -94
  564. package/build/public/wallets/tezos-btn.js +0 -42
  565. package/build/public/wallets/tezos-icon-sm.js +0 -37
  566. package/build/public/wallets/wallet_connect.js +0 -27
  567. package/build/public/wallets/walletconnect-btn.js +0 -22
  568. package/build/public/wallets/walletlink-btn.js +0 -36
  569. package/build/public/wallets/walletlink-icon-sm.js +0 -37
  570. package/build/public/wallets/xdefi-btn.js +0 -31
  571. package/build/public/wallets/xdefi-icon-sm.js +0 -31
  572. package/build/public/warning.js +0 -22
  573. package/build/store/creation/index.d.ts +0 -5
  574. package/build/store/creation/index.js +0 -38
  575. package/build/store/media/index.d.ts +0 -2
  576. package/build/store/media/index.js +0 -59
  577. package/build/store/media/types.d.ts +0 -11
  578. package/build/store/media/types.js +0 -2
  579. package/build/styles/animations/index.d.ts +0 -2
  580. package/build/styles/animations/index.js +0 -20
  581. package/build/styles/globalStyles.d.ts +0 -2
  582. package/build/styles/globalStyles.js +0 -86
  583. package/build/system/ActiveLink/ActiveLink.test.d.ts +0 -1
  584. package/build/system/ActiveLink/ActiveLink.test.js +0 -48
  585. package/build/system/ActiveLink/index.d.ts +0 -9
  586. package/build/system/ActiveLink/index.js +0 -49
  587. package/build/system/Alert/index.d.ts +0 -2
  588. package/build/system/Alert/index.js +0 -21
  589. package/build/system/BasicOverlay/index.d.ts +0 -2
  590. package/build/system/BasicOverlay/index.js +0 -27
  591. package/build/system/Buttons/IconButton/index.d.ts +0 -2
  592. package/build/system/Buttons/IconButton/index.js +0 -7
  593. package/build/system/Buttons/IconWithButton/index.d.ts +0 -2
  594. package/build/system/Buttons/IconWithButton/index.js +0 -7
  595. package/build/system/Buttons/IconWithButton/themes.d.ts +0 -0
  596. package/build/system/Buttons/IconWithButton/themes.js +0 -1
  597. package/build/system/Buttons/MainButton/index.d.ts +0 -2
  598. package/build/system/Buttons/MainButton/index.js +0 -7
  599. package/build/system/Buttons/MainButton/themes.d.ts +0 -0
  600. package/build/system/Buttons/MainButton/themes.js +0 -1
  601. package/build/system/Buttons/SecondaryButton/index.d.ts +0 -2
  602. package/build/system/Buttons/SecondaryButton/index.js +0 -7
  603. package/build/system/Cards/CardCheckbox/index.d.ts +0 -5
  604. package/build/system/Cards/CardCheckbox/index.js +0 -89
  605. package/build/system/Cards/CardContent/CardCategory/CardCategory.test.d.ts +0 -1
  606. package/build/system/Cards/CardContent/CardCategory/CardCategory.test.js +0 -28
  607. package/build/system/Cards/CardContent/CardCategory/index.d.ts +0 -5
  608. package/build/system/Cards/CardContent/CardCategory/index.js +0 -54
  609. package/build/system/Cards/CardContent/CardContent.test.d.ts +0 -1
  610. package/build/system/Cards/CardContent/CardContent.test.js +0 -103
  611. package/build/system/Cards/CardContent/CardLikes/CardLikes.test.d.ts +0 -1
  612. package/build/system/Cards/CardContent/CardLikes/CardLikes.test.js +0 -37
  613. package/build/system/Cards/CardContent/CardLikes/index.d.ts +0 -5
  614. package/build/system/Cards/CardContent/CardLikes/index.js +0 -29
  615. package/build/system/Cards/CardContent/CardShowMore/CardShowMore.test.d.ts +0 -1
  616. package/build/system/Cards/CardContent/CardShowMore/CardShowMore.test.js +0 -46
  617. package/build/system/Cards/CardContent/CardShowMore/index.d.ts +0 -6
  618. package/build/system/Cards/CardContent/CardShowMore/index.js +0 -121
  619. package/build/system/Cards/CardContent/index.d.ts +0 -17
  620. package/build/system/Cards/CardContent/index.js +0 -97
  621. package/build/system/Cards/CardMedia/CardAudio/CardAudio.test.d.ts +0 -1
  622. package/build/system/Cards/CardMedia/CardAudio/CardAudio.test.js +0 -92
  623. package/build/system/Cards/CardMedia/CardAudio/index.d.ts +0 -7
  624. package/build/system/Cards/CardMedia/CardAudio/index.js +0 -66
  625. package/build/system/Cards/CardMedia/CardImage/CardImage.test.d.ts +0 -1
  626. package/build/system/Cards/CardMedia/CardImage/CardImage.test.js +0 -34
  627. package/build/system/Cards/CardMedia/CardImage/index.d.ts +0 -9
  628. package/build/system/Cards/CardMedia/CardImage/index.js +0 -24
  629. package/build/system/Cards/CardMedia/CardVideo/index.d.ts +0 -7
  630. package/build/system/Cards/CardMedia/CardVideo/index.js +0 -57
  631. package/build/system/Cards/CardRank/index.d.ts +0 -4
  632. package/build/system/Cards/CardRank/index.js +0 -82
  633. package/build/system/Cards/CreationCard/CardHead.d.ts +0 -12
  634. package/build/system/Cards/CreationCard/CardHead.js +0 -62
  635. package/build/system/Cards/CreationCard/index.d.ts +0 -29
  636. package/build/system/Cards/CreationCard/index.js +0 -129
  637. package/build/system/Cards/MultiMediaCard/index.d.ts +0 -8
  638. package/build/system/Cards/MultiMediaCard/index.js +0 -126
  639. package/build/system/Cards/Styles/Content.d.ts +0 -2
  640. package/build/system/Cards/Styles/Content.js +0 -40
  641. package/build/system/Cards/Styles/Head.d.ts +0 -2
  642. package/build/system/Cards/Styles/Head.js +0 -46
  643. package/build/system/Cards/Styles/Headicons.d.ts +0 -4
  644. package/build/system/Cards/Styles/Headicons.js +0 -122
  645. package/build/system/Cards/Styles/Image.d.ts +0 -4
  646. package/build/system/Cards/Styles/Image.js +0 -24
  647. package/build/system/Cards/Styles/Likes.d.ts +0 -4
  648. package/build/system/Cards/Styles/Likes.js +0 -53
  649. package/build/system/Cards/Styles/MultiHead.d.ts +0 -2
  650. package/build/system/Cards/Styles/MultiHead.js +0 -44
  651. package/build/system/Cards/Styles/Video.d.ts +0 -2
  652. package/build/system/Cards/Styles/Video.js +0 -15
  653. package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsError/index.d.ts +0 -4
  654. package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsError/index.js +0 -48
  655. package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsNoResults/index.d.ts +0 -4
  656. package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsNoResults/index.js +0 -34
  657. package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsSkeleton/index.d.ts +0 -5
  658. package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsSkeleton/index.js +0 -57
  659. package/build/system/CardsHolderWithSkeleton/CardsHolderLoader/index.d.ts +0 -2
  660. package/build/system/CardsHolderWithSkeleton/CardsHolderLoader/index.js +0 -42
  661. package/build/system/DropDown/DropDown.test.d.ts +0 -1
  662. package/build/system/DropDown/DropDown.test.js +0 -38
  663. package/build/system/Filters/type.d.ts +0 -16
  664. package/build/system/Filters/type.js +0 -11
  665. package/build/system/Flex/index.d.ts +0 -0
  666. package/build/system/Flex/index.js +0 -1
  667. package/build/system/Forms/DatePicker/DatePicker.test.d.ts +0 -1
  668. package/build/system/Forms/DatePicker/DatePicker.test.js +0 -39
  669. package/build/system/Forms/DatePicker/index.d.ts +0 -14
  670. package/build/system/Forms/DatePicker/index.js +0 -138
  671. package/build/system/Labels/InviteLabel/InviteLabel.test.d.ts +0 -1
  672. package/build/system/Labels/InviteLabel/InviteLabel.test.js +0 -44
  673. package/build/system/Labels/InviteLabel/index.d.ts +0 -6
  674. package/build/system/Labels/InviteLabel/index.js +0 -44
  675. package/build/system/Modals/Modal/Modal.test.d.ts +0 -1
  676. package/build/system/Modals/Modal/Modal.test.js +0 -36
  677. package/build/system/Modals/Modal/index.d.ts +0 -2
  678. package/build/system/Modals/Modal/index.js +0 -82
  679. package/build/system/Modals/ModalSidebar/CreatorModalSidebarPortal.d.ts +0 -1
  680. package/build/system/Modals/ModalSidebar/CreatorModalSidebarPortal.js +0 -47
  681. package/build/system/Modals/ModalSidebar/ModalSidebar.test.d.ts +0 -1
  682. package/build/system/Modals/ModalSidebar/ModalSidebar.test.js +0 -35
  683. package/build/system/Modals/ModalSidebar/ModalSidebarPortal.d.ts +0 -5
  684. package/build/system/Modals/ModalSidebar/ModalSidebarPortal.js +0 -10
  685. package/build/system/Modals/ModalSidebar/index.d.ts +0 -3
  686. package/build/system/Modals/ModalSidebar/index.js +0 -78
  687. package/build/system/Overlay/Overlay.test.d.ts +0 -1
  688. package/build/system/Overlay/Overlay.test.js +0 -44
  689. package/build/system/Overlay/index.d.ts +0 -2
  690. package/build/system/Overlay/index.js +0 -41
  691. package/build/system/PageLoader/index.d.ts +0 -2
  692. package/build/system/PageLoader/index.js +0 -7
  693. package/build/system/Palete/index.d.ts +0 -2
  694. package/build/system/Palete/index.js +0 -7
  695. package/build/system/ShareIconResize.d.ts +0 -1
  696. package/build/system/ShareIconResize.js +0 -31
  697. package/build/system/Tabs/TabNavLink/TabNavLink.test.d.ts +0 -2
  698. package/build/system/Tabs/TabNavLink/TabNavLink.test.js +0 -40
  699. package/build/system/Tabs/TabNavLink/index.d.ts +0 -12
  700. package/build/system/Tabs/TabNavLink/index.js +0 -58
  701. package/build/system/Tabs/TabsNav/TabsNav.test.d.ts +0 -2
  702. package/build/system/Tabs/TabsNav/TabsNav.test.js +0 -43
  703. package/build/system/Tabs/TabsNav/index.d.ts +0 -10
  704. package/build/system/Tabs/TabsNav/index.js +0 -31
  705. package/build/system/Tabs/TabsNav/type.d.ts +0 -6
  706. package/build/system/Tabs/TabsNav/type.js +0 -2
  707. package/build/system/Tabs/TabsPanel/TabsPanel.test.d.ts +0 -2
  708. package/build/system/Tabs/TabsPanel/TabsPanel.test.js +0 -32
  709. package/build/system/Tabs/TabsPanel/index.d.ts +0 -7
  710. package/build/system/Tabs/TabsPanel/index.js +0 -17
  711. package/build/system/Text/index.d.ts +0 -0
  712. package/build/system/Text/index.js +0 -1
  713. package/build/system/index.d.ts +0 -6
  714. package/build/system/index.js +0 -22
  715. package/build/utils/copyBtn/index.d.ts +0 -5
  716. package/build/utils/copyBtn/index.js +0 -46
  717. package/build/utils/extractItemIds.d.ts +0 -2
  718. package/build/utils/extractItemIds.js +0 -6
  719. package/build/utils/getDimensionsImage.d.ts +0 -4
  720. package/build/utils/getDimensionsImage.js +0 -38
  721. package/build/utils/imageProportionsSize/index.d.ts +0 -5
  722. package/build/utils/imageProportionsSize/index.js +0 -23
  723. package/build/utils/redirectToApp.d.ts +0 -1
  724. package/build/utils/redirectToApp.js +0 -29
  725. package/build/utils/ssrFunctions/index.d.ts +0 -17
  726. package/build/utils/ssrFunctions/index.js +0 -33
@@ -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
- const jsx_runtime_1 = require("react/jsx-runtime");
7
- require("@testing-library/jest-dom/extend-expect");
8
- const react_1 = require("@testing-library/react");
9
- const index_1 = __importDefault(require("./index"));
10
- jest.mock('react-loading-skeleton', () => function Skeleton() {
11
- return (0, jsx_runtime_1.jsx)("div", { "data-testid": "skeleton-loader" });
12
- });
13
- describe('CardImage Component', () => {
14
- const imgSrc = '/tests/test_1.svg';
15
- const errorImg = 'error-image.jpg';
16
- const alt = 'Test Image';
17
- test('renders skeleton loader initially', () => {
18
- (0, react_1.render)((0, jsx_runtime_1.jsx)(index_1.default, { imgSrc: imgSrc, errorImg: errorImg, alt: alt }));
19
- expect(react_1.screen.getByTestId('skeleton-loader')).toBeInTheDocument();
20
- });
21
- test('renders image correctly after loading', async () => {
22
- (0, react_1.render)((0, jsx_runtime_1.jsx)(index_1.default, { imgSrc: imgSrc, errorImg: errorImg, alt: alt }));
23
- const image = react_1.screen.getByAltText(alt);
24
- react_1.fireEvent.load(image);
25
- expect(image).toHaveAttribute('src', imgSrc);
26
- expect(react_1.screen.queryByTestId('skeleton-loader')).not.toBeInTheDocument();
27
- });
28
- test('renders error image on load failure', () => {
29
- (0, react_1.render)((0, jsx_runtime_1.jsx)(index_1.default, { imgSrc: imgSrc, errorImg: errorImg, alt: alt }));
30
- const image = react_1.screen.getByAltText(alt);
31
- react_1.fireEvent.error(image);
32
- expect(image).toHaveAttribute('src', errorImg);
33
- });
34
- });
@@ -1,9 +0,0 @@
1
- import { CSSProperties } from "react";
2
- declare const CardImage: ({ imgSrc, errorImg, alt, className, style }: {
3
- imgSrc: string;
4
- errorImg: string;
5
- alt: string;
6
- className?: string;
7
- style?: CSSProperties;
8
- }) => import("react/jsx-runtime").JSX.Element;
9
- export default CardImage;
@@ -1,24 +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
- const jsx_runtime_1 = require("react/jsx-runtime");
7
- const creation_1 = require("../../../../store/creation");
8
- const Image_1 = __importDefault(require("../../Styles/Image"));
9
- const react_1 = require("react");
10
- const react_loading_skeleton_1 = __importDefault(require("react-loading-skeleton"));
11
- // Component
12
- const CardImage = ({ imgSrc, errorImg, alt, className, style }) => {
13
- const isFirstLoading = !creation_1.urlsActive[imgSrc];
14
- const [loading, setLoading] = (0, react_1.useState)(isFirstLoading);
15
- if (isFirstLoading) {
16
- (0, creation_1.addUrlsActive)(imgSrc);
17
- }
18
- return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [loading && ((0, jsx_runtime_1.jsx)(react_loading_skeleton_1.default, { height: "100%", width: "100%", style: {
19
- lineHeight: "normal",
20
- visibility: `${loading ? "hidden" : "visible"}`,
21
- } })), (0, jsx_runtime_1.jsx)(Image_1.default, { className: className, style: style, isLoading: loading, src: imgSrc, alt: alt, onError: (e) => (e.target.src = errorImg), onLoad: () => setLoading(false) })] }));
22
- };
23
- // Export
24
- exports.default = CardImage;
@@ -1,7 +0,0 @@
1
- declare const CardVideo: ({ videoSrc, errorImg, alt, playOnHover }: {
2
- videoSrc: string;
3
- errorImg: string;
4
- alt: string;
5
- playOnHover?: boolean;
6
- }) => import("react/jsx-runtime").JSX.Element;
7
- export default CardVideo;
@@ -1,57 +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
- const jsx_runtime_1 = require("react/jsx-runtime");
7
- const react_1 = require("react");
8
- const react_loading_skeleton_1 = __importDefault(require("react-loading-skeleton"));
9
- const Image_1 = __importDefault(require("../../Styles/Image"));
10
- const Video_1 = __importDefault(require("../../Styles/Video"));
11
- const pause_svg_1 = __importDefault(require("../../../../public/video/pause"));
12
- const play_svg_1 = __importDefault(require("../../../../public/video/play"));
13
- // Component
14
- const CardVideo = ({ videoSrc, errorImg, alt, playOnHover }) => {
15
- const [lVideoSrc, setLVideoSrc] = (0, react_1.useState)(null);
16
- const [isPlayIcon, setPlayIcon] = (0, react_1.useState)(false);
17
- const video = (0, react_1.useRef)();
18
- (0, react_1.useEffect)(() => {
19
- const video = document.createElement('video');
20
- video.setAttribute('src', `${videoSrc}`);
21
- video.addEventListener('canplay', () => {
22
- setLVideoSrc(videoSrc);
23
- setPlayIcon(true);
24
- }, false);
25
- video.addEventListener('error', () => {
26
- setLVideoSrc(null);
27
- setPlayIcon(false);
28
- }, false);
29
- return () => video.removeEventListener('canplay', () => setLVideoSrc(null));
30
- }, []);
31
- const playVideo = () => {
32
- video.current && video.current?.play();
33
- setPlayIcon(false);
34
- };
35
- const pauseVideo = () => {
36
- video.current && video.current?.pause();
37
- setPlayIcon(true);
38
- };
39
- const renderImage = () => ((0, jsx_runtime_1.jsx)(Image_1.default, { isLoading: false, src: errorImg, alt: alt }));
40
- if (!videoSrc)
41
- return renderImage();
42
- return lVideoSrc ? ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)(Video_1.default, { ref: video, muted: true, loop: true, playsInline: true, preload: 'false', ...(playOnHover ? {
43
- onMouseOver: event => event.target.play(),
44
- onMouseOut: event => event.target.pause()
45
- } : {}), children: [(0, jsx_runtime_1.jsx)("source", { type: "video/mp4", src: lVideoSrc }), (0, jsx_runtime_1.jsx)("p", { children: alt })] }), lVideoSrc.length && !playOnHover &&
46
- (isPlayIcon ? ((0, jsx_runtime_1.jsx)(play_svg_1.default, { className: 'playIcon', onClick: (e) => {
47
- e.preventDefault();
48
- e.stopPropagation();
49
- playVideo();
50
- } })) : ((0, jsx_runtime_1.jsx)(pause_svg_1.default, { className: 'pauseIcon', onClick: (e) => {
51
- e.preventDefault();
52
- e.stopPropagation();
53
- pauseVideo();
54
- } })))] })) : ((0, jsx_runtime_1.jsx)(react_loading_skeleton_1.default, { height: '100%', width: '100%', style: { lineHeight: 'normal' } }));
55
- };
56
- // Export
57
- exports.default = CardVideo;
@@ -1,4 +0,0 @@
1
- declare const CardRank: ({ rank }: {
2
- rank: number;
3
- }) => import("react/jsx-runtime").JSX.Element;
4
- export default CardRank;
@@ -1,82 +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
- const jsx_runtime_1 = require("react/jsx-runtime");
7
- const styled_components_1 = __importDefault(require("styled-components"));
8
- const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
9
- const utils_1 = require("@ludo.ninja/utils");
10
- const ScreenWidth_1 = require("../../../styles/ScreenWidth");
11
- const colors_1 = require("../../../styles/colors");
12
- const index_1 = require("../../index");
13
- // Styles
14
- const StyledCardRank = styled_components_1.default.div `
15
- width: 64px;
16
- height: 24px;
17
- background-color: ${colors_1.WhiteColor};
18
- border-radius: 4px;
19
- padding: 5px;
20
-
21
- .rankText {
22
- color: ${colors_1.BlackColor};
23
- margin-right: 4px;
24
- font-size: 1.3em;
25
- font-weight: 600;
26
- }
27
-
28
- .smallText {
29
- font-size: 1.2em;
30
- letter-spacing: -0.5px;
31
- }
32
-
33
- ${ScreenWidth_1.mediaQuery.phone} {
34
- width: 43px;
35
- height: 18px;
36
- }
37
-
38
- ${ScreenWidth_1.mediaQuery.minWidthFourK} {
39
- width: ${(0, _4k_1.adaptiveValueCalc)(64)};
40
- height: ${(0, _4k_1.adaptiveValueCalc)(24)};
41
- border-radius: ${(0, _4k_1.adaptiveValueCalc)(4)};
42
- padding: ${(0, _4k_1.adaptiveValueCalc)(5)};
43
-
44
- .rankText {
45
- font-size: ${(0, _4k_1.adaptiveValueCalc)(13)};
46
- margin-right: ${(0, _4k_1.adaptiveValueCalc)(4)};
47
- }
48
-
49
- .smallText {
50
- font-size: ${(0, _4k_1.adaptiveValueCalc)(12)};
51
- letter-spacing: ${(0, _4k_1.adaptiveValueCalc)(-0.5)};
52
- }
53
- }
54
- `;
55
- const SBox = (0, styled_components_1.default)(index_1.Box) `
56
- height: 10px;
57
- width: 32px;
58
- background: ${colors_1.InactiveButtonColor};
59
-
60
- ${ScreenWidth_1.mediaQuery.minWidthFourK} {
61
- height: ${(0, _4k_1.adaptiveValueCalc)(10)};
62
- width: ${(0, _4k_1.adaptiveValueCalc)(32)};
63
- }
64
- `;
65
- const RangeValue = styled_components_1.default.div `
66
- display: block;
67
- background: ${(props) => props.rankValue && (0, utils_1.getRankColor)(props.rankValue)};
68
- height: 10px;
69
- width: ${(props) => `${props.rankValue}%`};
70
- border-radius: 2px 0 0 2px;
71
-
72
- ${ScreenWidth_1.mediaQuery.minWidthFourK} {
73
- height: ${(0, _4k_1.adaptiveValueCalc)(10)};
74
- border-radius: ${(0, _4k_1.adaptiveValueCalc)(2)} 0 0 ${(0, _4k_1.adaptiveValueCalc)(2)};
75
- }
76
- `;
77
- // Component
78
- const CardRank = ({ rank }) => {
79
- return ((0, jsx_runtime_1.jsx)(StyledCardRank, { children: (0, jsx_runtime_1.jsxs)(index_1.Flex, { alignItems: 'center', height: '100%', children: [(0, jsx_runtime_1.jsx)(index_1.Box, { children: (0, jsx_runtime_1.jsx)("p", { className: `rankText ${!Boolean(rank) && 'smallText'}`, children: rank ? rank : 'unknown' }) }), Boolean(rank) && ((0, jsx_runtime_1.jsx)(SBox, { children: (0, jsx_runtime_1.jsx)(RangeValue, { rankValue: rank }) }))] }) }));
80
- };
81
- // Export
82
- exports.default = CardRank;
@@ -1,12 +0,0 @@
1
- import { TCreation } from '../../../entities/creation/types';
2
- export declare const CardHead: ({ creation, isRegularCard, isIconLiked, addLikeToCard, deleteLikeFromCard, isUserProfile, isDisabled, isShowCheckbox, currentMyGalleryId, }: {
3
- creation: TCreation;
4
- isRegularCard: boolean;
5
- isIconLiked: boolean;
6
- addLikeToCard: (id: string) => void;
7
- deleteLikeFromCard: (id: string) => void;
8
- isUserProfile: boolean;
9
- isDisabled?: boolean;
10
- isShowCheckbox?: boolean | undefined;
11
- currentMyGalleryId?: false | string | undefined;
12
- }) => import("react/jsx-runtime").JSX.Element;
@@ -1,62 +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.CardHead = void 0;
7
- const jsx_runtime_1 = require("react/jsx-runtime");
8
- const addCreationToFavoriteList_1 = __importDefault(require("../../../components/favoriteList/add/addCreationToFavoriteList"));
9
- const types_1 = require("../../../entities/labelCreationType/types");
10
- const store_1 = require("../../../modules/user/store");
11
- const addToFavListIcon_svg_1 = __importDefault(require("../../../public/cards/addToFavListIcon"));
12
- const addToGalleryIcon_svg_1 = __importDefault(require("../../../public/cards/addToGalleryIcon"));
13
- const heart_svg_1 = __importDefault(require("../../../public/cards/heart"));
14
- const env_1 = require("../../../store/env");
15
- const ui_1 = require("../../../store/ui");
16
- const ScreenWidth_1 = require("../../../styles/ScreenWidth");
17
- const CardRank_1 = __importDefault(require("../CardRank"));
18
- const Headicons_1 = __importDefault(require("../Styles/Headicons"));
19
- const auth_1 = require("../../../utils/auth");
20
- const screen_1 = require("../../../utils/screen");
21
- const router_1 = require("next/router");
22
- // Component
23
- const CardHead = ({ creation, isRegularCard, isIconLiked, addLikeToCard, deleteLikeFromCard, isUserProfile, isDisabled, isShowCheckbox, currentMyGalleryId, }) => {
24
- const redirectToLoginWindow = (0, auth_1.useRedirectToLoginWindow)();
25
- const isProd = (0, env_1.useEnvStore)((state) => state.isProd);
26
- const openModalSidebarPortal = (0, ui_1.useUiStore)((state) => state.openModalSidebarPortal);
27
- const isSignedIn = (0, store_1.useUserStore)((state) => state.isSignedIn);
28
- const isLicked = isIconLiked && isSignedIn;
29
- const { windowDimensions } = (0, screen_1.useWindowDimensionsWithServerInitial)();
30
- const isMobile = !!(windowDimensions?.windowWidth && windowDimensions.windowWidth <= ScreenWidth_1.ScreenWidth.DESKTOP);
31
- const router = (0, router_1.useRouter)();
32
- const isGallery = router.pathname.includes("gallery");
33
- const handleClick = async (e, type) => {
34
- e.preventDefault();
35
- e.stopPropagation();
36
- if (!isSignedIn) {
37
- redirectToLoginWindow();
38
- }
39
- else if (type === "fav-list") {
40
- openModalSidebarPortal((0, jsx_runtime_1.jsx)(addCreationToFavoriteList_1.default, { ids: [creation.creationId], currentMyGalleryId: currentMyGalleryId }));
41
- }
42
- else if (type === "likes") {
43
- if (!isLicked) {
44
- await addLikeToCard(creation.itemId);
45
- }
46
- else {
47
- await deleteLikeFromCard(creation.itemId);
48
- }
49
- }
50
- };
51
- const renderLikeButton = () => {
52
- if ([types_1.LabelKeys.asset, types_1.LabelKeys.collection].includes(creation.itemType)) {
53
- return ((0, jsx_runtime_1.jsx)("div", { className: `icon like ${isLicked ? "liked" : ""}`, onClick: (e) => handleClick(e, "likes"), children: (0, jsx_runtime_1.jsx)(heart_svg_1.default, {}) }));
54
- }
55
- };
56
- return ((0, jsx_runtime_1.jsxs)(Headicons_1.default, { isMobile: isMobile, style: isDisabled
57
- ? {
58
- pointerEvents: "none",
59
- }
60
- : {}, children: [(0, jsx_runtime_1.jsx)("div", { className: "rank", children: (0, jsx_runtime_1.jsx)(CardRank_1.default, { rank: creation.rank }) }), !isProd() && !isShowCheckbox && ((0, jsx_runtime_1.jsxs)("div", { className: "icons", children: [(0, jsx_runtime_1.jsx)("div", { className: "icon", onClick: (e) => handleClick(e, isRegularCard || !isUserProfile || isGallery ? "fav-list" : "gallery"), children: isRegularCard || !isUserProfile || isGallery ? (0, jsx_runtime_1.jsx)(addToFavListIcon_svg_1.default, {}) : (0, jsx_runtime_1.jsx)(addToGalleryIcon_svg_1.default, {}) }), renderLikeButton()] }))] }));
61
- };
62
- exports.CardHead = CardHead;
@@ -1,29 +0,0 @@
1
- import { TCreation } from '../../../entities/creation/types';
2
- import { TGallery } from '../../../entities/gallery/types';
3
- import { searchSchema as schema } from "@ludo.ninja/api";
4
- import { ReactNode } from "react";
5
- export type RemoveToolsType = {
6
- gallery?: TGallery;
7
- removeFn: (itemType: "asset" | "collection") => void;
8
- };
9
- export interface ICheckboxState {
10
- isShowCheckbox?: boolean;
11
- checkboxSlot?: ReactNode;
12
- }
13
- export interface ICreationCard {
14
- creationName?: string;
15
- creation: TCreation;
16
- isNeedHeight: boolean;
17
- isNeedScaleTransform?: boolean;
18
- likesDynamicInfo?: schema.IDynamicAssetData | schema.IDynamicCollectionData;
19
- toolsForRemove?: RemoveToolsType | undefined;
20
- isMobile: boolean;
21
- isLoadingLikes?: boolean | undefined;
22
- isNeedShowMoreButton?: boolean;
23
- isUserProfile?: boolean;
24
- isRegularCard?: boolean;
25
- isNeedBounceTransform?: boolean;
26
- currentMyGalleryId?: false | string;
27
- playVideoOnHover?: boolean;
28
- }
29
- export declare const CreationCard: ({ creationName, creation, isNeedHeight, likesDynamicInfo, toolsForRemove, isMobile, isLoadingLikes, isNeedShowMoreButton, isUserProfile, isRegularCard, isShowCheckbox, checkboxSlot, currentMyGalleryId, isNeedScaleTransform, isNeedBounceTransform, playVideoOnHover }: ICreationCard & ICheckboxState) => import("react/jsx-runtime").JSX.Element;
@@ -1,129 +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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- var __importDefault = (this && this.__importDefault) || function (mod) {
26
- return (mod && mod.__esModule) ? mod : { "default": mod };
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.CreationCard = void 0;
30
- const jsx_runtime_1 = require("react/jsx-runtime");
31
- const CreationMediaView_1 = require("../../../entities/creation/CreationMediaView");
32
- const types_1 = require("../../../entities/labelCreationType/types");
33
- const likes_1 = __importDefault(require("../../../hooks/likes"));
34
- const env_1 = require("../../../store/env");
35
- const ScreenWidth_1 = require("../../../styles/ScreenWidth");
36
- const colors_1 = require("../../../styles/colors");
37
- const boxShadow_1 = __importDefault(require("../../../styles/mixins/boxShadow"));
38
- const boxTransform_1 = __importDefault(require("../../../styles/mixins/boxTransform"));
39
- const CardContent_1 = __importDefault(require("../CardContent"));
40
- const CardCategory_1 = __importDefault(require("../CardContent/CardCategory"));
41
- const CardLikes_1 = __importDefault(require("../CardContent/CardLikes"));
42
- const CardHead_1 = require("./CardHead");
43
- const Head_1 = __importDefault(require("../Styles/Head"));
44
- const Headicons_1 = __importDefault(require("../Styles/Headicons"));
45
- const index_1 = require("../../index");
46
- const ludoDomains_1 = require("@ludo.ninja/core/build/ludoDomains");
47
- const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
48
- const link_1 = __importDefault(require("next/link"));
49
- const react_1 = __importDefault(require("react"));
50
- const react_loading_skeleton_1 = __importDefault(require("react-loading-skeleton"));
51
- const styled_components_1 = __importStar(require("styled-components"));
52
- // Styles
53
- const StyledRegularCard = styled_components_1.default.div `
54
- position: relative;
55
- background-color: ${colors_1.WhiteColor};
56
- border-radius: 6px;
57
- ${boxShadow_1.default};
58
- ${(props) => (props.isNeedBounceTransform ? boxTransform_1.default : null)}
59
-
60
- min-height: ${(props) => (props.isNeedHeight ? "346px" : "")};
61
-
62
- ${(props) => props.isShowCheckbox
63
- ? (0, styled_components_1.css) `
64
- ${Headicons_1.default} {
65
- transition: 0.2s opacity ease-in;
66
- opacity: 1 !important;
67
- }
68
- `
69
- : (0, styled_components_1.css) `
70
- &:hover ${Headicons_1.default} {
71
- transition: 0.2s opacity ease-in;
72
- opacity: 1 !important;
73
- }
74
- `}
75
- .linkRegularCard {
76
- display: flex;
77
- height: 100%;
78
- flex-direction: column;
79
- }
80
-
81
- ${ScreenWidth_1.mediaQuery.maxWidthTablet} {
82
- width: 164px;
83
- min-height: ${(props) => (props.isNeedHeight ? "258px" : "")};
84
- }
85
-
86
- ${ScreenWidth_1.mediaQuery.mobile} {
87
- width: 154px;
88
- min-height: ${(props) => (props.isNeedHeight ? "244px" : "")};
89
- }
90
-
91
- ${ScreenWidth_1.mediaQuery.minWidthFourK} {
92
- border-radius: ${(0, _4k_1.adaptiveValueCalc)(6)};
93
-
94
- min-height: ${(props) => (props.isNeedHeight ? (0, _4k_1.adaptiveValueCalc)(346) : "")};
95
- }
96
- `;
97
- // Component
98
- const CreationCard = ({ creationName, creation, isNeedHeight, likesDynamicInfo, toolsForRemove, isMobile, isLoadingLikes, isNeedShowMoreButton, isUserProfile, isRegularCard = true, isShowCheckbox, checkboxSlot, currentMyGalleryId, isNeedScaleTransform, isNeedBounceTransform = true, playVideoOnHover }) => {
99
- const isProd = (0, env_1.useEnvStore)((state) => state.isProd);
100
- const NEXT_PUBLIC_ENV_VALUE = (0, env_1.useEnvStore)((state) => state.NEXT_PUBLIC_ENV_VALUE);
101
- const { likes, addLike, deleteLike } = (0, likes_1.default)({
102
- defaultLikesCount: likesDynamicInfo?.likesNum || creation.likes,
103
- defaultIsLiked: likesDynamicInfo?.isLikedByUser || creation.isLiked,
104
- itemType: creation.itemType,
105
- removeOnDislike: toolsForRemove,
106
- isLoadingLikes,
107
- });
108
- // Todo cardLink
109
- const isHideProd = isProd();
110
- const HideLink = isHideProd ? react_1.default.Fragment : link_1.default;
111
- const getLink = (href) => {
112
- if (creation.itemType === types_1.LabelKeys.asset) {
113
- return `${ludoDomains_1.ludoDomains[NEXT_PUBLIC_ENV_VALUE]["asset"]}/${href.replace(`/${types_1.LabelKeys.asset}/`, "")}`;
114
- }
115
- if (creation.itemType === types_1.LabelKeys.collection) {
116
- return `${ludoDomains_1.ludoDomains[NEXT_PUBLIC_ENV_VALUE]["collections"]}/${href.replace(`/${types_1.LabelKeys.collection}/`, "")}`;
117
- }
118
- return href;
119
- };
120
- // const domain = ludoDomains[NEXT_PUBLIC_ENV_VALUE as TEnvValue]["app"];
121
- // if (domain === window.origin) {
122
- // router.push(`/rewards/${userId}`);
123
- // } else {
124
- // window.open(`${domain}/rewards/${userId}`,'_self');
125
- // }
126
- return ((0, jsx_runtime_1.jsxs)(StyledRegularCard, { isNeedHeight: isNeedHeight, isNeedTransform: isNeedShowMoreButton, isShowCheckbox: isShowCheckbox, isNeedBounceTransform: isNeedBounceTransform, children: [isShowCheckbox && checkboxSlot, (0, jsx_runtime_1.jsxs)(HideLink, { className: "linkRegularCard", href: getLink(creation.creationLink), children: [(0, jsx_runtime_1.jsxs)(Head_1.default, { children: [(0, jsx_runtime_1.jsx)(CreationMediaView_1.CreationMediaView, { media: creation.media, isNeedScaleTransform: isNeedScaleTransform, playVideoOnHover: playVideoOnHover }), (0, jsx_runtime_1.jsx)(CardHead_1.CardHead, { isRegularCard: !!isRegularCard, isIconLiked: likes.isLiked, creation: creation, addLikeToCard: addLike, deleteLikeFromCard: deleteLike, isUserProfile: isUserProfile || false, isDisabled: !!isLoadingLikes, isShowCheckbox: isShowCheckbox, currentMyGalleryId: currentMyGalleryId })] }), (0, jsx_runtime_1.jsx)(CardContent_1.default, { creationName: creationName, firstName: creation.creatorAddress, secondName: creation.name, cuttedSecondName: creation.getCuttedSecondName(!isMobile), itemId: creation.itemId, isNeedShowMoreButton: isHideProd ? false : !!isNeedShowMoreButton, href: getLink(creation.creationLink), children: (0, jsx_runtime_1.jsxs)(index_1.Flex, { alignItems: "end", justifyContent: "space-between", children: [(0, jsx_runtime_1.jsx)(CardCategory_1.default, { label: creation.label }), !isHideProd &&
127
- (isLoadingLikes ? ((0, jsx_runtime_1.jsx)(react_loading_skeleton_1.default, { style: { borderRadius: "3px" }, height: "100%", width: "30px" })) : ((0, jsx_runtime_1.jsx)(CardLikes_1.default, { isLiked: likes.isLiked, likes: likes.likesCount })))] }) })] })] }));
128
- };
129
- exports.CreationCard = CreationCard;
@@ -1,8 +0,0 @@
1
- import { TCreation } from '../../../entities/creation/types';
2
- import { TGallery } from '../../../entities/gallery/types';
3
- declare const MultiMediaCard: ({ gallery, assets, collections, }: {
4
- gallery: TGallery;
5
- assets: TCreation[] | null;
6
- collections: TCreation[] | null;
7
- }) => import("react/jsx-runtime").JSX.Element;
8
- export default MultiMediaCard;
@@ -1,126 +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
- const jsx_runtime_1 = require("react/jsx-runtime");
7
- const CardCategory_1 = __importDefault(require("../CardContent/CardCategory"));
8
- const CardImage_1 = __importDefault(require("../CardMedia/CardImage"));
9
- const CreationMediaView_1 = require("../../../entities/creation/CreationMediaView");
10
- const env_1 = require("../../../store/env");
11
- const ScreenWidth_1 = require("../../../styles/ScreenWidth");
12
- const colors_1 = require("../../../styles/colors");
13
- const boxShadow_1 = __importDefault(require("../../../styles/mixins/boxShadow"));
14
- const boxTransform_1 = __importDefault(require("../../../styles/mixins/boxTransform"));
15
- const CardContent_1 = __importDefault(require("../CardContent"));
16
- const CardLikes_1 = __importDefault(require("../CardContent/CardLikes"));
17
- const MultiHead_1 = __importDefault(require("../Styles/MultiHead"));
18
- const index_1 = require("../../index");
19
- const constants_1 = require("@ludo.ninja/core/build/constants");
20
- const ludoDomains_1 = require("@ludo.ninja/core/build/ludoDomains");
21
- const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
22
- const link_1 = __importDefault(require("next/link"));
23
- const styled_components_1 = __importDefault(require("styled-components"));
24
- // Styles
25
- const StyledMultiCard = styled_components_1.default.div `
26
- position: relative;
27
- background-color: ${colors_1.WhiteColor};
28
- border-radius: 6px;
29
- ${boxShadow_1.default};
30
- ${boxTransform_1.default};
31
- @media (max-width: 1199px) {
32
- height: max-content;
33
- }
34
-
35
- .media {
36
- width: 100%;
37
- height: 100%;
38
- aspect-ratio: 1 / 1;
39
-
40
- & .svg {
41
- width: 100%;
42
- height: 100%;
43
- }
44
-
45
- & img {
46
- border-radius: 3px;
47
- }
48
-
49
- & span {
50
- display: none;
51
- }
52
-
53
- & video {
54
- border-radius: 3px;
55
- }
56
- }
57
-
58
- .media.digital {
59
- position: relative;
60
-
61
- & .svg {
62
- position: absolute;
63
- width: 20px;
64
- height: 20px;
65
- bottom: 0;
66
- right: 0;
67
- }
68
- }
69
-
70
- ${ScreenWidth_1.mediaQuery.minWidthFourK} {
71
- border-radius: ${(0, _4k_1.adaptiveValueCalc)(6)};
72
- .media {
73
- & img {
74
- border-radius: ${(0, _4k_1.adaptiveValueCalc)(3)};
75
- }
76
- & video {
77
- border-radius: ${(0, _4k_1.adaptiveValueCalc)(3)};
78
- }
79
- }
80
-
81
- .media.digital {
82
- & .svg {
83
- width: ${(0, _4k_1.adaptiveValueCalc)(20)};
84
- height: ${(0, _4k_1.adaptiveValueCalc)(20)};
85
- }
86
- }
87
- }
88
- `;
89
- // Component
90
- const MultiMediaCard = ({ gallery, assets, collections, }) => {
91
- const mediaTemplate = (mediaKey, media) => {
92
- return ((0, jsx_runtime_1.jsx)("div", { className: media.type?.name === "CardVideo" || media.type?.name === "CardAudio" ? "media digital" : "media", children: media }, mediaKey));
93
- };
94
- const renderMedia = () => {
95
- // if (
96
- // (!assets || assets.length === 0) &&
97
- // (!collections || collections.length === 0)
98
- // )
99
- // return null;
100
- const galleryCreationIds = gallery.creationIds;
101
- const cardsMedia = [];
102
- for (let i = 0; i < 4; i++) {
103
- const creationId = galleryCreationIds[i];
104
- const asset = assets?.find((asset) => {
105
- return creationId === asset.creationId;
106
- });
107
- const collection = collections?.find((collection) => collection.creationId === creationId?.split(".").splice(1).join("."));
108
- if (asset) {
109
- cardsMedia.push(mediaTemplate(i, (0, jsx_runtime_1.jsx)(CreationMediaView_1.CreationMediaView, { media: asset.media })));
110
- }
111
- else if (collection) {
112
- cardsMedia.push(mediaTemplate(i, (0, jsx_runtime_1.jsx)(CardImage_1.default, { alt: `${collection.name} ${collection.address || ""}`, imgSrc: collection.originalUrls?.[0] ?? "", errorImg: `${constants_1.staticLink}/public/noContent/noContent.svg` })));
113
- }
114
- else {
115
- cardsMedia.push(mediaTemplate(i, (0, jsx_runtime_1.jsx)("img", { src: `${constants_1.staticLink}/public/gallery/defaultImage.svg`, alt: "gallery_default", className: "svg" })));
116
- }
117
- }
118
- return cardsMedia;
119
- };
120
- const secondName = gallery.username !== "" ? gallery.username : "";
121
- // const userCreationAddresses = gallery?.getGalleryCreations()[0]?.getOwnersAddresses();
122
- const NEXT_PUBLIC_ENV_VALUE = (0, env_1.useEnvStore)((state) => state.NEXT_PUBLIC_ENV_VALUE);
123
- return ((0, jsx_runtime_1.jsx)(StyledMultiCard, { children: (0, jsx_runtime_1.jsxs)(link_1.default, { href: `${ludoDomains_1.ludoDomains[NEXT_PUBLIC_ENV_VALUE]["app"]}${gallery.creationLink}`, children: [(0, jsx_runtime_1.jsx)(MultiHead_1.default, { children: renderMedia() }), (0, jsx_runtime_1.jsx)(CardContent_1.default, { firstName: gallery.name, secondName: secondName, wallets: gallery.userWallets, isNeedShowMoreButton: false, itemId: gallery.galleryId, children: (0, jsx_runtime_1.jsxs)(index_1.Flex, { alignItems: "flex-end", justifyContent: "space-between", children: [(0, jsx_runtime_1.jsx)(CardCategory_1.default, { label: gallery.label }), (0, jsx_runtime_1.jsx)(CardLikes_1.default, { isLiked: false, likes: 0 })] }) })] }) }));
124
- };
125
- // Export
126
- exports.default = MultiMediaCard;
@@ -1,2 +0,0 @@
1
- declare const StyledContentCard: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
2
- export default StyledContentCard;
@@ -1,40 +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
- // Styles
7
- const styled_components_1 = __importDefault(require("styled-components"));
8
- const colors_1 = require("../../../styles/colors");
9
- const typography_1 = require("../../../styles/typography");
10
- const StyledContentCard = styled_components_1.default.div `
11
- display: flex;
12
- flex-direction: column;
13
- padding: 12px 16px;
14
- height: auto;
15
-
16
- &Header {
17
- display: flex;
18
- justify-content: space-between;
19
-
20
- &Artist {
21
- .artist_name {
22
- ${typography_1.TextSmall};
23
- color: ${colors_1.TextGrayColor};
24
- line-height: 1.39em;
25
- }
26
- .art_name {
27
- ${typography_1.MainText};
28
- color: ${colors_1.BlackColor};
29
- line-height: 1.47em;
30
- margin-bottom: 0;
31
- }
32
- }
33
- }
34
-
35
- @media (max-width: 1040px) {
36
- height: auto;
37
- padding: 12px;
38
- }
39
- `;
40
- exports.default = StyledContentCard;
@@ -1,2 +0,0 @@
1
- declare const StyledCardHead: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
2
- export default StyledCardHead;