@ludo.ninja/components 2.3.36 → 2.3.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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/Page500/index.d.ts +2 -0
  67. package/build/components/Page500/index.js +87 -0
  68. package/build/components/assetPage/assetLikes/index.d.ts +6 -0
  69. package/build/components/assetPage/assetLikes/index.js +58 -0
  70. package/build/components/assetPage/assetNft/index.d.ts +4 -0
  71. package/build/components/assetPage/assetNft/index.js +37 -0
  72. package/build/components/assetPage/audioVideoPlayer/Duration.d.ts +5 -0
  73. package/build/components/assetPage/audioVideoPlayer/Duration.js +22 -0
  74. package/build/components/assetPage/audioVideoPlayer/index.d.ts +96 -0
  75. package/build/components/assetPage/audioVideoPlayer/index.js +308 -0
  76. package/build/components/assetPage/category/index.d.ts +4 -0
  77. package/build/components/assetPage/category/index.js +58 -0
  78. package/build/components/assetPage/index.d.ts +5 -0
  79. package/build/components/assetPage/index.js +13 -0
  80. package/build/components/assetPage/information/index.d.ts +4 -0
  81. package/build/components/assetPage/information/index.js +114 -0
  82. package/build/components/assetPage/marketPlaces/index.d.ts +4 -0
  83. package/build/components/assetPage/marketPlaces/index.js +57 -0
  84. package/build/components/assetPage/media/AssetImage/index.d.ts +8 -0
  85. package/build/components/assetPage/media/AssetImage/index.js +187 -0
  86. package/build/components/assetPage/moreDropDown/index.d.ts +10 -0
  87. package/build/components/assetPage/moreDropDown/index.js +152 -0
  88. package/build/components/assetPage/properties/index.d.ts +4 -0
  89. package/build/components/assetPage/properties/index.js +42 -0
  90. package/build/components/assetPage/slider/store.d.ts +8 -0
  91. package/build/components/assetPage/slider/store.js +16 -0
  92. package/build/components/assetPage/viewer3D/index.d.ts +7 -0
  93. package/build/components/assetPage/viewer3D/index.js +124 -0
  94. package/build/components/base/Meta/index.js +1 -1
  95. package/build/components/base/PageHead/index.d.ts +8 -0
  96. package/build/components/base/PageHead/index.js +13 -0
  97. package/build/components/base/UserStreak/index.js +3 -3
  98. package/build/components/favoriteList/add/addCreationToFavoriteList/index.d.ts +7 -0
  99. package/build/components/favoriteList/add/addCreationToFavoriteList/index.js +28 -0
  100. package/build/components/gallery/add/addCreationToGallery/index.d.ts +2 -0
  101. package/build/components/gallery/add/addCreationToGallery/index.js +48 -0
  102. package/build/components/headers/components/headerExperienceLabel/index.js +4 -4
  103. package/build/components/headers/components/headerStreak/index.js +2 -2
  104. package/build/components/headers/components/headerUserPic/index.js +2 -2
  105. package/build/components/headers/header/index.js +7 -7
  106. package/build/components/headers/headerSearch/index.js +8 -8
  107. package/build/components/headers/headerSimple/index.d.ts +2 -0
  108. package/build/components/headers/headerSimple/index.js +78 -0
  109. package/build/components/linkTabs/index.d.ts +8 -0
  110. package/build/components/linkTabs/index.js +51 -0
  111. package/build/components/linkTabs/linkTab/index.d.ts +9 -0
  112. package/build/components/linkTabs/linkTab/index.js +74 -0
  113. package/build/components/myWallets/index.d.ts +9 -0
  114. package/build/components/myWallets/index.js +37 -0
  115. package/build/components/myWallets/myWalletItem/index.d.ts +10 -0
  116. package/build/components/myWallets/myWalletItem/index.js +82 -0
  117. package/build/components/myWallets/myWalletItem/myWalletItemCheckBox/index.d.ts +9 -0
  118. package/build/components/myWallets/myWalletItem/myWalletItemCheckBox/index.js +21 -0
  119. package/build/components/profile/profileSkeleton/index.d.ts +4 -0
  120. package/build/components/profile/profileSkeleton/index.js +75 -0
  121. package/build/components/search/SearchInputContainer.js +9 -9
  122. package/build/components/search/searchCloseMoreButtons/index.js +4 -4
  123. package/build/components/search/searchSimpleInput/index.js +7 -7
  124. package/build/components/search/searchSuggestions/index.d.ts +1 -1
  125. package/build/components/search/searchSuggestions/index.js +10 -10
  126. package/build/components/search/searchSuggestions/searchSuggestionsCaption/index.js +3 -3
  127. package/build/components/search/searchSuggestions/searchSuggestionsFooter/index.js +4 -4
  128. package/build/components/search/searchSuggestions/searchSuggestionsItem/index.js +4 -4
  129. package/build/components/search/searchSuggestions/searchSuggestionsItem/searchSuggestionsItemSkeleton/index.js +3 -3
  130. package/build/components/search/searchSuggestions/searchSuggestionsNotFound/index.js +3 -3
  131. package/build/components/searchFiltersConnector/filters/applyResetBtns/index.d.ts +5 -0
  132. package/build/components/searchFiltersConnector/filters/applyResetBtns/index.js +55 -0
  133. package/build/components/searchFiltersConnector/filters/galleriesFiltersForm/index.d.ts +10 -0
  134. package/build/components/searchFiltersConnector/filters/galleriesFiltersForm/index.js +60 -0
  135. package/build/components/searchFiltersConnector/filters/index.d.ts +11 -0
  136. package/build/components/searchFiltersConnector/filters/index.js +158 -0
  137. package/build/components/searchFiltersConnector/filters/mobileFilters/index.d.ts +5 -0
  138. package/build/components/searchFiltersConnector/filters/mobileFilters/index.js +25 -0
  139. package/build/components/searchFiltersConnector/filters/setsFiltersForm/index.d.ts +9 -0
  140. package/build/components/searchFiltersConnector/filters/setsFiltersForm/index.js +53 -0
  141. package/build/components/searchFiltersConnector/index.d.ts +10 -0
  142. package/build/components/searchFiltersConnector/index.js +116 -0
  143. package/build/components/shareDialog/index.d.ts +34 -0
  144. package/build/components/shareDialog/index.js +92 -0
  145. package/build/components/sidebar/data.d.ts +6 -0
  146. package/build/components/sidebar/data.js +121 -0
  147. package/build/components/sidebar/icons.d.ts +9 -0
  148. package/build/components/sidebar/icons.js +22 -0
  149. package/build/components/sidebar/index.d.ts +2 -0
  150. package/build/components/sidebar/index.js +135 -0
  151. package/build/components/sidebar/initializer.d.ts +1 -0
  152. package/build/components/sidebar/initializer.js +36 -0
  153. package/build/components/sidebar/sidebarFilters/index.d.ts +7 -0
  154. package/build/components/sidebar/sidebarFilters/index.js +51 -0
  155. package/build/components/sidebar/sidebarInviteCodeLabel/index.d.ts +2 -0
  156. package/build/components/sidebar/sidebarInviteCodeLabel/index.js +49 -0
  157. package/build/components/sidebar/sidebarSpa.d.ts +10 -0
  158. package/build/components/sidebar/sidebarSpa.js +134 -0
  159. package/build/components/toTopBtn/index.js +7 -7
  160. package/build/dto/AssetEntity/index.d.ts +63 -0
  161. package/build/dto/AssetEntity/index.js +208 -0
  162. package/build/dto/AssetEntity/interface.d.ts +39 -0
  163. package/build/dto/AssetEntity/interface.js +2 -0
  164. package/build/dto/AssetEntity/views/AssetAudio/index.d.ts +11 -0
  165. package/build/dto/AssetEntity/views/AssetAudio/index.js +32 -0
  166. package/build/dto/AssetEntity/views/AssetImage/index.d.ts +12 -0
  167. package/build/dto/AssetEntity/views/AssetImage/index.js +44 -0
  168. package/build/dto/AssetEntity/views/AssetObject/index.d.ts +13 -0
  169. package/build/dto/AssetEntity/views/AssetObject/index.js +64 -0
  170. package/build/dto/AssetEntity/views/AssetOther/index.d.ts +13 -0
  171. package/build/dto/AssetEntity/views/AssetOther/index.js +47 -0
  172. package/build/dto/AssetEntity/views/AssetScreenshot/index.d.ts +12 -0
  173. package/build/dto/AssetEntity/views/AssetScreenshot/index.js +44 -0
  174. package/build/dto/AssetEntity/views/AssetVideo/index.d.ts +11 -0
  175. package/build/dto/AssetEntity/views/AssetVideo/index.js +32 -0
  176. package/build/dto/AssetEntity/views/index.d.ts +6 -0
  177. package/build/dto/AssetEntity/views/index.js +16 -0
  178. package/build/dto/AssetSearchEntity/index.d.ts +60 -0
  179. package/build/dto/AssetSearchEntity/index.js +164 -0
  180. package/build/dto/AssetSearchEntity/interface.d.ts +36 -0
  181. package/build/dto/AssetSearchEntity/interface.js +2 -0
  182. package/build/dto/Collection/CollectionCreationEntity/index.d.ts +45 -0
  183. package/build/dto/Collection/CollectionCreationEntity/index.js +173 -0
  184. package/build/dto/Collection/CollectionCreationEntity/interface.d.ts +24 -0
  185. package/build/dto/Collection/CollectionCreationEntity/interface.js +2 -0
  186. package/build/dto/Collection/CollectionEntity/index.d.ts +32 -0
  187. package/build/dto/Collection/CollectionEntity/index.js +82 -0
  188. package/build/dto/Collection/CollectionEntity/interface.d.ts +16 -0
  189. package/build/dto/Collection/CollectionEntity/interface.js +2 -0
  190. package/build/dto/CreationEntity/index.d.ts +49 -0
  191. package/build/dto/CreationEntity/index.js +178 -0
  192. package/build/dto/CreationEntity/interface.d.ts +30 -0
  193. package/build/dto/CreationEntity/interface.js +2 -0
  194. package/build/dto/GalleryEntityV2/index.d.ts +32 -0
  195. package/build/dto/GalleryEntityV2/index.js +80 -0
  196. package/build/dto/GalleryEntityV2/interface.d.ts +16 -0
  197. package/build/dto/GalleryEntityV2/interface.js +2 -0
  198. package/build/dto/common/ItemType/data.d.ts +3 -0
  199. package/build/dto/common/ItemType/data.js +41 -0
  200. package/build/dto/common/ItemType/index.d.ts +49 -0
  201. package/build/dto/common/ItemType/index.js +46 -0
  202. package/build/dto/common/ItemViews/CreationAudio/index.d.ts +8 -0
  203. package/build/dto/common/ItemViews/CreationAudio/index.js +28 -0
  204. package/build/dto/common/ItemViews/CreationImage/index.d.ts +9 -0
  205. package/build/dto/common/ItemViews/CreationImage/index.js +39 -0
  206. package/build/dto/common/ItemViews/CreationObject/index.d.ts +7 -0
  207. package/build/dto/common/ItemViews/CreationObject/index.js +30 -0
  208. package/build/dto/common/ItemViews/CreationOther/index.d.ts +8 -0
  209. package/build/dto/common/ItemViews/CreationOther/index.js +28 -0
  210. package/build/dto/common/ItemViews/CreationVideo/index.d.ts +8 -0
  211. package/build/dto/common/ItemViews/CreationVideo/index.js +28 -0
  212. package/build/dto/common/Media/Audio/index.d.ts +15 -0
  213. package/build/dto/common/Media/Audio/index.js +40 -0
  214. package/build/dto/common/Media/Image/index.d.ts +15 -0
  215. package/build/dto/common/Media/Image/index.js +48 -0
  216. package/build/dto/common/Media/Object/index.d.ts +15 -0
  217. package/build/dto/common/Media/Object/index.js +49 -0
  218. package/build/dto/common/Media/Other/index.d.ts +15 -0
  219. package/build/dto/common/Media/Other/index.js +68 -0
  220. package/build/dto/common/Media/Screenshot/index.d.ts +15 -0
  221. package/build/dto/common/Media/Screenshot/index.js +48 -0
  222. package/build/dto/common/Media/Urls/index.d.ts +31 -0
  223. package/build/dto/common/Media/Urls/index.js +125 -0
  224. package/build/dto/common/Media/Video/index.d.ts +15 -0
  225. package/build/dto/common/Media/Video/index.js +40 -0
  226. package/build/dto/common/Media/index.d.ts +28 -0
  227. package/build/dto/common/Media/index.js +45 -0
  228. package/build/dto/common/Media/interface.d.ts +30 -0
  229. package/build/dto/common/Media/interface.js +2 -0
  230. package/build/entities/asset/AssetMediasViews.d.ts +4 -0
  231. package/build/entities/asset/AssetMediasViews.js +54 -0
  232. package/build/entities/asset/builder.d.ts +1 -1
  233. package/build/entities/asset/builder.js +2 -2
  234. package/build/entities/asset/getAssetMediasOpengraph.d.ts +5 -0
  235. package/build/entities/asset/getAssetMediasOpengraph.js +39 -0
  236. package/build/entities/asset/getAssetMiniatureUrl.d.ts +1 -1
  237. package/build/entities/asset/getAssetMiniatureUrl.js +3 -3
  238. package/build/entities/asset/types.d.ts +2 -2
  239. package/build/entities/collection/builder.d.ts +3 -0
  240. package/build/entities/collection/builder.js +31 -0
  241. package/build/entities/collection/types.d.ts +17 -0
  242. package/build/entities/collection/types.js +2 -0
  243. package/build/entities/creation/CreationMediaView.d.ts +1 -1
  244. package/build/entities/creation/CreationMediaView.js +7 -7
  245. package/build/entities/creation/builder.d.ts +1 -1
  246. package/build/entities/creation/builder.js +3 -3
  247. package/build/entities/creation/collectionCreationBuilder.d.ts +1 -1
  248. package/build/entities/creation/collectionCreationBuilder.js +2 -2
  249. package/build/entities/creation/types.d.ts +2 -2
  250. package/build/entities/gallery/builder.d.ts +1 -1
  251. package/build/entities/gallery/builder.js +1 -1
  252. package/build/entities/gallery/types.d.ts +1 -1
  253. package/build/entities/media/builder.d.ts +1 -1
  254. package/build/entities/media/getMediaVariant.d.ts +1 -1
  255. package/build/entities/media/getMediaVariant.js +2 -2
  256. package/build/fonts/FontsInitializeLayout.d.ts +12 -0
  257. package/build/fonts/FontsInitializeLayout.js +164 -0
  258. package/build/hoc/HOCSignUpInterceptor/CircleSvg.d.ts +1 -0
  259. package/build/hoc/HOCSignUpInterceptor/CircleSvg.js +6 -0
  260. package/build/hoc/HOCSignUpInterceptor/HOCSignUpInterceptor.d.ts +2 -0
  261. package/build/hoc/HOCSignUpInterceptor/HOCSignUpInterceptor.js +103 -0
  262. package/build/hooks/apollo/index.d.ts +1 -0
  263. package/build/hooks/apollo/index.js +24 -0
  264. package/build/hooks/audio/useMultiAudio/index.d.ts +2 -0
  265. package/build/hooks/audio/useMultiAudio/index.js +47 -0
  266. package/build/hooks/extension/useExtension/index.d.ts +7 -0
  267. package/build/hooks/extension/useExtension/index.js +32 -0
  268. package/build/hooks/favorites/useGetFavoriteGallaryCreations/index.d.ts +22 -0
  269. package/build/hooks/favorites/useGetFavoriteGallaryCreations/index.js +122 -0
  270. package/build/hooks/favorites/useGetUserFevoritesCreations/index.d.ts +23 -0
  271. package/build/hooks/favorites/useGetUserFevoritesCreations/index.js +166 -0
  272. package/build/hooks/galleries/useGetUserGalleriesCreations/index.d.ts +23 -0
  273. package/build/hooks/galleries/useGetUserGalleriesCreations/index.js +155 -0
  274. package/build/hooks/likes/dynamic/useFindCollectionsAndLikes.d.ts +29 -0
  275. package/build/hooks/likes/dynamic/useFindCollectionsAndLikes.js +145 -0
  276. package/build/hooks/likes/dynamic/useFindCreationsAndLikes.d.ts +15 -0
  277. package/build/hooks/likes/dynamic/useFindCreationsAndLikes.js +119 -0
  278. package/build/hooks/likes/dynamic/useGetCollectionInfoAndLikes.d.ts +14 -0
  279. package/build/hooks/likes/dynamic/useGetCollectionInfoAndLikes.js +125 -0
  280. package/build/hooks/likes/dynamic/useGetCreationsAndLikes.d.ts +17 -0
  281. package/build/hooks/likes/dynamic/useGetCreationsAndLikes.js +128 -0
  282. package/build/hooks/likes/dynamic/useGetCreationsAndLikesByType.d.ts +16 -0
  283. package/build/hooks/likes/dynamic/useGetCreationsAndLikesByType.js +142 -0
  284. package/build/hooks/likes/dynamic/useGetMixedLikesFavoriteList.d.ts +18 -0
  285. package/build/hooks/likes/dynamic/useGetMixedLikesFavoriteList.js +48 -0
  286. package/build/hooks/likes/dynamic/useGetTableLikes.d.ts +14 -0
  287. package/build/hooks/likes/dynamic/useGetTableLikes.js +104 -0
  288. package/build/hooks/likes/index.d.ts +19 -0
  289. package/build/hooks/likes/index.js +113 -0
  290. package/build/hooks/likes/useGetLikesAsset.d.ts +20 -0
  291. package/build/hooks/likes/useGetLikesAsset.js +91 -0
  292. package/build/layouts/AppLayout.d.ts +6 -0
  293. package/build/layouts/AppLayout.js +24 -0
  294. package/build/layouts/GlobalLayout.d.ts +4 -0
  295. package/build/layouts/GlobalLayout.js +34 -0
  296. package/build/layouts/base/LWithRegularHeader/index.d.ts +3 -0
  297. package/build/layouts/base/LWithRegularHeader/index.js +16 -0
  298. package/build/layouts/base/LWithRegularHeader/type.d.ts +5 -0
  299. package/build/layouts/base/LWithRegularHeader/type.js +2 -0
  300. package/build/layouts/base/LWithSearchHeader/index.d.ts +3 -0
  301. package/build/layouts/base/LWithSearchHeader/index.js +12 -0
  302. package/build/layouts/base/LWithSearchHeader/type.d.ts +5 -0
  303. package/build/layouts/base/LWithSearchHeader/type.js +2 -0
  304. package/build/layouts/custom/mainLayout/index.d.ts +3 -0
  305. package/build/layouts/custom/mainLayout/index.js +17 -0
  306. package/build/layouts/custom/styles.d.ts +2 -0
  307. package/build/layouts/custom/styles.js +46 -0
  308. package/build/layouts/pageTransitionLayout.d.ts +6 -0
  309. package/build/layouts/pageTransitionLayout.js +23 -0
  310. package/build/layouts/pageWithLayout.d.ts +9 -0
  311. package/build/layouts/pageWithLayout.js +2 -0
  312. package/build/modules/gallery/api/useGetAssetsAndCollectionForFavorite.d.ts +19 -0
  313. package/build/modules/gallery/api/useGetAssetsAndCollectionForFavorite.js +204 -0
  314. package/build/modules/gallery/api/useGetFavoriteGallery.d.ts +6 -0
  315. package/build/modules/gallery/api/useGetFavoriteGallery.js +37 -0
  316. package/build/modules/gallery/store.d.ts +26 -0
  317. package/build/modules/gallery/store.js +97 -0
  318. package/build/modules/gallery/ui/AllResults.d.ts +3 -0
  319. package/build/modules/gallery/ui/AllResults.js +12 -0
  320. package/build/modules/gallery/ui/Description.d.ts +4 -0
  321. package/build/modules/gallery/ui/Description.js +101 -0
  322. package/build/modules/gallery/ui/EditGallery.d.ts +9 -0
  323. package/build/modules/gallery/ui/EditGallery.js +51 -0
  324. package/build/modules/gallery/ui/GalleryDeleteIcon.d.ts +4 -0
  325. package/build/modules/gallery/ui/GalleryDeleteIcon.js +30 -0
  326. package/build/modules/gallery/ui/PlaceholderItemsGallery.d.ts +1 -0
  327. package/build/modules/gallery/ui/PlaceholderItemsGallery.js +71 -0
  328. package/build/modules/gallery/ui/STopSections.d.ts +1 -0
  329. package/build/modules/gallery/ui/STopSections.js +31 -0
  330. package/build/modules/gallery/ui/chooseGalleryItems/chooseGalleryItem/index.d.ts +7 -0
  331. package/build/modules/gallery/ui/chooseGalleryItems/chooseGalleryItem/index.js +97 -0
  332. package/build/modules/gallery/ui/chooseGalleryItems/index.d.ts +15 -0
  333. package/build/modules/gallery/ui/chooseGalleryItems/index.js +157 -0
  334. package/build/modules/gallery/ui/createGalleryForm/index.d.ts +12 -0
  335. package/build/modules/gallery/ui/createGalleryForm/index.js +137 -0
  336. package/build/modules/gallery/ui/editGalleryForm/index.d.ts +8 -0
  337. package/build/modules/gallery/ui/editGalleryForm/index.js +189 -0
  338. package/build/modules/gallery/ui/itemsPreview/index.d.ts +19 -0
  339. package/build/modules/gallery/ui/itemsPreview/index.js +279 -0
  340. package/build/modules/gallery/useToGalleryAsset.d.ts +18 -0
  341. package/build/modules/gallery/useToGalleryAsset.js +88 -0
  342. package/build/modules/notifications/CreatorNotifications.d.ts +1 -0
  343. package/build/modules/notifications/CreatorNotifications.js +42 -0
  344. package/build/modules/opportunity/OpportunityCard.d.ts +5 -0
  345. package/build/modules/opportunity/OpportunityCard.js +279 -0
  346. package/build/modules/opportunity/OpportunityDropDown.d.ts +5 -0
  347. package/build/modules/opportunity/OpportunityDropDown.js +42 -0
  348. package/build/modules/opportunity/ShareIcon.d.ts +1 -0
  349. package/build/modules/opportunity/ShareIcon.js +6 -0
  350. package/build/modules/opportunity/encodeQuery.d.ts +14 -0
  351. package/build/modules/opportunity/encodeQuery.js +31 -0
  352. package/build/modules/opportunity/popup/CopyIcon.d.ts +8 -0
  353. package/build/modules/opportunity/popup/CopyIcon.js +7 -0
  354. package/build/modules/opportunity/popup/FacebookIcon.d.ts +8 -0
  355. package/build/modules/opportunity/popup/FacebookIcon.js +7 -0
  356. package/build/modules/opportunity/popup/LinkedInIcon.d.ts +8 -0
  357. package/build/modules/opportunity/popup/LinkedInIcon.js +7 -0
  358. package/build/modules/opportunity/popup/LogoXIcon.d.ts +8 -0
  359. package/build/modules/opportunity/popup/LogoXIcon.js +7 -0
  360. package/build/modules/opportunity/popup/OpportunityMenu.d.ts +8 -0
  361. package/build/modules/opportunity/popup/OpportunityMenu.js +204 -0
  362. package/build/modules/opportunity/type.d.ts +2 -0
  363. package/build/modules/opportunity/type.js +2 -0
  364. package/build/modules/sessionScroll/globalTabs.d.ts +12 -0
  365. package/build/modules/sessionScroll/globalTabs.js +50 -0
  366. package/build/modules/sessionScroll/useVirtuosoInitialScroll.d.ts +12 -0
  367. package/build/modules/sessionScroll/useVirtuosoInitialScroll.js +59 -0
  368. package/build/modules/user/auth/HOCAuthSearchParamsLocalhostInterceptor.d.ts +3 -0
  369. package/build/modules/user/auth/HOCAuthSearchParamsLocalhostInterceptor.js +34 -0
  370. package/build/modules/user/auth/useAuthVerification.d.ts +1 -0
  371. package/build/modules/user/auth/useAuthVerification.js +18 -0
  372. package/build/modules/user/auth/useSignIn.d.ts +2 -0
  373. package/build/modules/user/auth/useSignIn.js +23 -0
  374. package/build/modules/user/auth/useSignOut.d.ts +1 -0
  375. package/build/modules/user/auth/useSignOut.js +42 -0
  376. package/build/modules/user/auth/useVerification.d.ts +1 -0
  377. package/build/modules/user/auth/useVerification.js +67 -0
  378. package/build/modules/user/profileData/profileDataInitialization.d.ts +1 -0
  379. package/build/modules/user/profileData/profileDataInitialization.js +66 -0
  380. package/build/modules/user/store.d.ts +1 -1
  381. package/build/modules/virtuoso/VirtuosoPageBuilder.d.ts +19 -0
  382. package/build/modules/virtuoso/VirtuosoPageBuilder.js +135 -0
  383. package/build/modules/virtuoso/VirtuosoToTopBtn.d.ts +9 -0
  384. package/build/modules/virtuoso/VirtuosoToTopBtn.js +38 -0
  385. package/build/modules/virtuoso/types.d.ts +4 -0
  386. package/build/modules/virtuoso/types.js +2 -0
  387. package/build/modules/virtuoso/useSubscribeVirtuosoScrollToHeader.d.ts +3 -0
  388. package/build/modules/virtuoso/useSubscribeVirtuosoScrollToHeader.js +27 -0
  389. package/build/modules/virtuoso/useVirtuosoData.d.ts +12 -0
  390. package/build/modules/virtuoso/useVirtuosoData.js +49 -0
  391. package/build/public/MobileSearchBtn/close.js +25 -0
  392. package/build/public/MobileSearchBtn/search.js +31 -0
  393. package/build/public/MobileSearchBtn/test/pirate.js +36 -0
  394. package/build/public/MobileSearchBtn/test/squircle.js +36 -0
  395. package/build/public/assetPage/audioPlaceholder.js +116 -0
  396. package/build/public/assetPage/details.js +31 -0
  397. package/build/public/assetPage/favorite.js +22 -0
  398. package/build/public/assetPage/favorite_hover.js +24 -0
  399. package/build/public/assetPage/flag.js +32 -0
  400. package/build/public/assetPage/fullScreen.js +24 -0
  401. package/build/public/assetPage/owners.js +27 -0
  402. package/build/public/assetPage/pause.js +25 -0
  403. package/build/public/assetPage/play.js +23 -0
  404. package/build/public/assetPage/share.js +26 -0
  405. package/build/public/assetPage/share2.js +25 -0
  406. package/build/public/assetPage/share2_hover.js +25 -0
  407. package/build/public/assetPage/shareWithDots.js +40 -0
  408. package/build/public/assetPage/shareWithDots_hover.js +40 -0
  409. package/build/public/assetPage/share_hover.js +24 -0
  410. package/build/public/assetPage/soundOf.js +24 -0
  411. package/build/public/assetPage/soundOn.js +24 -0
  412. package/build/public/calendar.js +24 -0
  413. package/build/public/cards/addToFavListIcon.js +30 -0
  414. package/build/public/cards/addToGalleryIcon.js +22 -0
  415. package/build/public/cards/heart.js +20 -0
  416. package/build/public/cardsHolderLoader/loader.js +25 -0
  417. package/build/public/checkbox-on.js +34 -0
  418. package/build/public/checkboxArrow.js +25 -0
  419. package/build/public/close.js +25 -0
  420. package/build/public/close20.js +25 -0
  421. package/build/public/collectionPage/export.js +25 -0
  422. package/build/public/copied.js +30 -0
  423. package/build/public/copy-icon-new.js +31 -0
  424. package/build/public/creation/card/moreBtn.js +24 -0
  425. package/build/public/creation/card/moreBtnVertical.js +28 -0
  426. package/build/public/creation/card/moreBtn_hover.js +28 -0
  427. package/build/public/dropDown/arrow_down.js +24 -0
  428. package/build/public/dropdown-arrow-down.js +22 -0
  429. package/build/public/dropdown-arrow-up.js +22 -0
  430. package/build/public/error/refresh.js +29 -0
  431. package/build/public/favicon.ico +0 -0
  432. package/build/public/favicon.png +0 -0
  433. package/build/public/follower.js +27 -0
  434. package/build/public/fonts/dm-sans-v15-latin-500.woff2 +0 -0
  435. package/build/public/fonts/dm-sans-v15-latin-500italic.woff2 +0 -0
  436. package/build/public/fonts/dm-sans-v15-latin-600.woff2 +0 -0
  437. package/build/public/fonts/dm-sans-v15-latin-600italic.woff2 +0 -0
  438. package/build/public/fonts/dm-sans-v15-latin-700.woff2 +0 -0
  439. package/build/public/fonts/dm-sans-v15-latin-700italic.woff2 +0 -0
  440. package/build/public/fonts/dm-sans-v15-latin-italic.woff2 +0 -0
  441. package/build/public/fonts/dm-sans-v15-latin-regular.woff2 +0 -0
  442. package/build/public/fonts/poppins-v21-latin-200.woff2 +0 -0
  443. package/build/public/fonts/poppins-v21-latin-300.woff2 +0 -0
  444. package/build/public/fonts/poppins-v21-latin-500.woff2 +0 -0
  445. package/build/public/fonts/poppins-v21-latin-600.woff2 +0 -0
  446. package/build/public/fonts/poppins-v21-latin-700.woff2 +0 -0
  447. package/build/public/fonts/poppins-v21-latin-800.woff2 +0 -0
  448. package/build/public/fonts/poppins-v21-latin-regular.woff2 +0 -0
  449. package/build/public/header/mobile_menu_icons/arrows/arrow_down.js +25 -0
  450. package/build/public/header/mobile_menu_icons/arrows/arrow_up.js +25 -0
  451. package/build/public/header/mobile_menu_icons/campaigns.js +40 -0
  452. package/build/public/header/mobile_menu_icons/dropdown/add_new_campaign.js +72 -0
  453. package/build/public/header/mobile_menu_icons/dropdown/my_galleries.js +71 -0
  454. package/build/public/header/mobile_menu_icons/dropdown/my_profile.js +35 -0
  455. package/build/public/header/mobile_menu_icons/dropdown/my_wallets.js +34 -0
  456. package/build/public/header/mobile_menu_icons/dropdown/notifications.js +36 -0
  457. package/build/public/header/mobile_menu_icons/dropdown/top_campaigns.js +44 -0
  458. package/build/public/header/mobile_menu_icons/dropdown/top_creations.js +41 -0
  459. package/build/public/header/mobile_menu_icons/dropdown/top_creators.js +58 -0
  460. package/build/public/header/mobile_menu_icons/dropdown/top_galleries.js +75 -0
  461. package/build/public/header/mobile_menu_icons/dropdown/top_/321/201ollectors.js +64 -0
  462. package/build/public/header/mobile_menu_icons/experiences.js +49 -0
  463. package/build/public/header/mobile_menu_icons/settings.js +24 -0
  464. package/build/public/header/mobile_menu_icons/sign_out.js +31 -0
  465. package/build/public/header/mobile_menu_icons/submit_nft.js +88 -0
  466. package/build/public/header/mobile_menu_icons/top.js +45 -0
  467. package/build/public/header/mobile_toggle/close.js +25 -0
  468. package/build/public/header/mobile_toggle/regular.js +25 -0
  469. package/build/public/like-icon-active.js +27 -0
  470. package/build/public/like-icon.js +23 -0
  471. package/build/public/logOut/logOutBtn.js +35 -0
  472. package/build/public/logo/main_logo.js +726 -0
  473. package/build/public/logo/main_logo_dark.js +159 -0
  474. package/build/public/logo/mobile_logo.js +714 -0
  475. package/build/public/logo/mobile_logo_dark.js +147 -0
  476. package/build/public/ludo-logo-small.js +28 -0
  477. package/build/public/ludo-logo-square.js +40 -0
  478. package/build/public/no_image placeholder.js +41 -0
  479. package/build/public/no_media_placeholder.js +752 -0
  480. package/build/public/report.js +40 -0
  481. package/build/public/search/arrow_up.js +25 -0
  482. package/build/public/search/back.js +25 -0
  483. package/build/public/search/close.js +25 -0
  484. package/build/public/search/no_found.js +30 -0
  485. package/build/public/search/search.js +31 -0
  486. package/build/public/search-icon.js +34 -0
  487. package/build/public/services/opensea.js +28 -0
  488. package/build/public/services/other.js +40 -0
  489. package/build/public/services/rarible.js +29 -0
  490. package/build/public/settings_page/back.js +25 -0
  491. package/build/public/settings_page/burger_menu.js +37 -0
  492. package/build/public/settings_page/notifications.js +35 -0
  493. package/build/public/settings_page/notifications_active.js +35 -0
  494. package/build/public/settings_page/privacy.js +27 -0
  495. package/build/public/settings_page/privacy_active.js +27 -0
  496. package/build/public/settings_page/settings.js +28 -0
  497. package/build/public/settings_page/settings_active.js +28 -0
  498. package/build/public/settings_page/upload.js +30 -0
  499. package/build/public/share-icon.js +40 -0
  500. package/build/public/showCaseIcons/heart.js +20 -0
  501. package/build/public/tabs/arrow_right.js +25 -0
  502. package/build/public/tabs/arrow_right_dark.js +25 -0
  503. package/build/public/tests/audio.mp3 +0 -0
  504. package/build/public/tests/test_1.js +64 -0
  505. package/build/public/toTopBtn/toTopBtn.js +31 -0
  506. package/build/public/upload-userpic.js +64 -0
  507. package/build/public/userpic-placeholder.jpg +0 -0
  508. package/build/public/userpics/placeholder-lg-1.js +46 -0
  509. package/build/public/userpics/placeholder-sm-1.js +46 -0
  510. package/build/public/video/pause.js +33 -0
  511. package/build/public/video/play.js +29 -0
  512. package/build/public/wallets/arkane-btn.js +37 -0
  513. package/build/public/wallets/bitski-btn.js +52 -0
  514. package/build/public/wallets/elrond-btn.js +189 -0
  515. package/build/public/wallets/elrond-icon-sm.js +184 -0
  516. package/build/public/wallets/elrond.js +27 -0
  517. package/build/public/wallets/ethereum-icon-sm.js +34 -0
  518. package/build/public/wallets/flow-btn.js +33 -0
  519. package/build/public/wallets/flow-icon-sm.js +36 -0
  520. package/build/public/wallets/formatic-btn.js +25 -0
  521. package/build/public/wallets/formatic-icon-sm.js +25 -0
  522. package/build/public/wallets/maiar-btn.js +58 -0
  523. package/build/public/wallets/maiar-icon-sm.js +58 -0
  524. package/build/public/wallets/metamask-btn.js +176 -0
  525. package/build/public/wallets/metamask-icon-sm.js +169 -0
  526. package/build/public/wallets/phantom.js +27 -0
  527. package/build/public/wallets/plus.js +29 -0
  528. package/build/public/wallets/solana-btn.js +71 -0
  529. package/build/public/wallets/solana-icon-sm.js +64 -0
  530. package/build/public/wallets/terra-btn.js +94 -0
  531. package/build/public/wallets/terra-icon-sm.js +94 -0
  532. package/build/public/wallets/tezos-btn.js +42 -0
  533. package/build/public/wallets/tezos-icon-sm.js +37 -0
  534. package/build/public/wallets/wallet_connect.js +27 -0
  535. package/build/public/wallets/walletconnect-btn.js +22 -0
  536. package/build/public/wallets/walletlink-btn.js +36 -0
  537. package/build/public/wallets/walletlink-icon-sm.js +37 -0
  538. package/build/public/wallets/xdefi-btn.js +31 -0
  539. package/build/public/wallets/xdefi-icon-sm.js +31 -0
  540. package/build/public/warning.js +22 -0
  541. package/build/store/creation/index.d.ts +5 -0
  542. package/build/store/creation/index.js +38 -0
  543. package/build/store/media/index.d.ts +2 -0
  544. package/build/store/media/index.js +59 -0
  545. package/build/store/media/types.d.ts +11 -0
  546. package/build/store/media/types.js +2 -0
  547. package/build/store/ui/index.js +2 -2
  548. package/build/store/ui/types.d.ts +3 -3
  549. package/build/store/ui/utils.d.ts +1 -1
  550. package/build/styles/animations/index.d.ts +2 -0
  551. package/build/styles/animations/index.js +20 -0
  552. package/build/styles/globalStyles.d.ts +2 -0
  553. package/build/styles/globalStyles.js +86 -0
  554. package/build/system/ActiveLink/ActiveLink.test.d.ts +1 -0
  555. package/build/system/ActiveLink/ActiveLink.test.js +48 -0
  556. package/build/system/ActiveLink/index.d.ts +9 -0
  557. package/build/system/ActiveLink/index.js +49 -0
  558. package/build/system/Alert/index.d.ts +2 -0
  559. package/build/system/Alert/index.js +21 -0
  560. package/build/system/BasicOverlay/index.d.ts +2 -0
  561. package/build/system/BasicOverlay/index.js +27 -0
  562. package/build/system/Buttons/IconButton/index.d.ts +2 -0
  563. package/build/system/Buttons/IconButton/index.js +7 -0
  564. package/build/system/Buttons/IconWithButton/index.d.ts +2 -0
  565. package/build/system/Buttons/IconWithButton/index.js +7 -0
  566. package/build/system/Buttons/IconWithButton/themes.d.ts +0 -0
  567. package/build/system/Buttons/IconWithButton/themes.js +1 -0
  568. package/build/system/Buttons/MainButton/index.d.ts +2 -0
  569. package/build/system/Buttons/MainButton/index.js +7 -0
  570. package/build/system/Buttons/MainButton/themes.d.ts +0 -0
  571. package/build/system/Buttons/MainButton/themes.js +1 -0
  572. package/build/system/Buttons/SecondaryButton/index.d.ts +2 -0
  573. package/build/system/Buttons/SecondaryButton/index.js +7 -0
  574. package/build/system/Cards/CardCheckbox/index.d.ts +5 -0
  575. package/build/system/Cards/CardCheckbox/index.js +89 -0
  576. package/build/system/Cards/CardContent/CardCategory/CardCategory.test.d.ts +1 -0
  577. package/build/system/Cards/CardContent/CardCategory/CardCategory.test.js +28 -0
  578. package/build/system/Cards/CardContent/CardCategory/index.d.ts +5 -0
  579. package/build/system/Cards/CardContent/CardCategory/index.js +54 -0
  580. package/build/system/Cards/CardContent/CardContent.test.d.ts +1 -0
  581. package/build/system/Cards/CardContent/CardContent.test.js +103 -0
  582. package/build/system/Cards/CardContent/CardLikes/CardLikes.test.d.ts +1 -0
  583. package/build/system/Cards/CardContent/CardLikes/CardLikes.test.js +37 -0
  584. package/build/system/Cards/CardContent/CardLikes/index.d.ts +5 -0
  585. package/build/system/Cards/CardContent/CardLikes/index.js +29 -0
  586. package/build/system/Cards/CardContent/CardShowMore/CardShowMore.test.d.ts +1 -0
  587. package/build/system/Cards/CardContent/CardShowMore/CardShowMore.test.js +46 -0
  588. package/build/system/Cards/CardContent/CardShowMore/index.d.ts +6 -0
  589. package/build/system/Cards/CardContent/CardShowMore/index.js +121 -0
  590. package/build/system/Cards/CardContent/index.d.ts +17 -0
  591. package/build/system/Cards/CardContent/index.js +97 -0
  592. package/build/system/Cards/CardMedia/CardAudio/CardAudio.test.d.ts +1 -0
  593. package/build/system/Cards/CardMedia/CardAudio/CardAudio.test.js +92 -0
  594. package/build/system/Cards/CardMedia/CardAudio/index.d.ts +7 -0
  595. package/build/system/Cards/CardMedia/CardAudio/index.js +66 -0
  596. package/build/system/Cards/CardMedia/CardImage/CardImage.test.d.ts +1 -0
  597. package/build/system/Cards/CardMedia/CardImage/CardImage.test.js +34 -0
  598. package/build/system/Cards/CardMedia/CardImage/index.d.ts +9 -0
  599. package/build/system/Cards/CardMedia/CardImage/index.js +24 -0
  600. package/build/system/Cards/CardMedia/CardVideo/index.d.ts +7 -0
  601. package/build/system/Cards/CardMedia/CardVideo/index.js +57 -0
  602. package/build/system/Cards/CardRank/index.d.ts +4 -0
  603. package/build/system/Cards/CardRank/index.js +82 -0
  604. package/build/system/Cards/CreationCard/CardHead.d.ts +12 -0
  605. package/build/system/Cards/CreationCard/CardHead.js +62 -0
  606. package/build/system/Cards/CreationCard/index.d.ts +29 -0
  607. package/build/system/Cards/CreationCard/index.js +129 -0
  608. package/build/system/Cards/MultiMediaCard/index.d.ts +8 -0
  609. package/build/system/Cards/MultiMediaCard/index.js +126 -0
  610. package/build/system/Cards/Styles/Content.d.ts +2 -0
  611. package/build/system/Cards/Styles/Content.js +40 -0
  612. package/build/system/Cards/Styles/Head.d.ts +2 -0
  613. package/build/system/Cards/Styles/Head.js +46 -0
  614. package/build/system/Cards/Styles/Headicons.d.ts +4 -0
  615. package/build/system/Cards/Styles/Headicons.js +122 -0
  616. package/build/system/Cards/Styles/Image.d.ts +4 -0
  617. package/build/system/Cards/Styles/Image.js +24 -0
  618. package/build/system/Cards/Styles/Likes.d.ts +4 -0
  619. package/build/system/Cards/Styles/Likes.js +53 -0
  620. package/build/system/Cards/Styles/MultiHead.d.ts +2 -0
  621. package/build/system/Cards/Styles/MultiHead.js +44 -0
  622. package/build/system/Cards/Styles/Video.d.ts +2 -0
  623. package/build/system/Cards/Styles/Video.js +15 -0
  624. package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsError/index.d.ts +4 -0
  625. package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsError/index.js +48 -0
  626. package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsNoResults/index.d.ts +4 -0
  627. package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsNoResults/index.js +34 -0
  628. package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsSkeleton/index.d.ts +5 -0
  629. package/build/system/CardsHolderWithSkeleton/CardsHolder/CardsSkeleton/index.js +57 -0
  630. package/build/system/CardsHolderWithSkeleton/CardsHolderLoader/index.d.ts +2 -0
  631. package/build/system/CardsHolderWithSkeleton/CardsHolderLoader/index.js +42 -0
  632. package/build/system/DropDown/DropDown.test.d.ts +1 -0
  633. package/build/system/DropDown/DropDown.test.js +38 -0
  634. package/build/system/DropDown/index.js +2 -2
  635. package/build/system/Filters/type.d.ts +16 -0
  636. package/build/system/Filters/type.js +11 -0
  637. package/build/system/Flex/index.d.ts +0 -0
  638. package/build/system/Flex/index.js +1 -0
  639. package/build/system/Forms/Checkbox/Checkbox.test.js +1 -1
  640. package/build/system/Forms/Checkbox/index.js +4 -4
  641. package/build/system/Forms/DatePicker/DatePicker.test.d.ts +1 -0
  642. package/build/system/Forms/DatePicker/DatePicker.test.js +39 -0
  643. package/build/system/Forms/DatePicker/index.d.ts +14 -0
  644. package/build/system/Forms/DatePicker/index.js +138 -0
  645. package/build/system/Forms/ErrorLabel/ErrorLabel.test.js +1 -1
  646. package/build/system/Forms/ErrorLabel/index.js +1 -1
  647. package/build/system/Forms/Input/Input.test.js +2 -2
  648. package/build/system/Forms/Input/index.js +5 -5
  649. package/build/system/Forms/RadioInput/RadioInput.test.js +1 -1
  650. package/build/system/Forms/RadioInput/index.js +2 -2
  651. package/build/system/Forms/Selects/DesktopSelect/index.d.ts +1 -1
  652. package/build/system/Forms/Selects/DesktopSelect/index.js +6 -6
  653. package/build/system/Forms/Selects/MobileSelect/index.js +2 -2
  654. package/build/system/Forms/TextArea/TextArea.test.js +2 -2
  655. package/build/system/Forms/TextArea/index.js +4 -4
  656. package/build/system/Img/Profilepic/index.js +3 -3
  657. package/build/system/Img/Userpic/UserPic.test.js +4 -4
  658. package/build/system/Img/Userpic/UserPicSpa.js +6 -6
  659. package/build/system/Img/Userpic/index.js +6 -6
  660. package/build/system/Img/index.d.ts +3 -3
  661. package/build/system/Img/index.js +3 -3
  662. package/build/system/Labels/ExperienceLabel/index.js +5 -5
  663. package/build/system/Labels/InviteLabel/InviteLabel.test.d.ts +1 -0
  664. package/build/system/Labels/InviteLabel/InviteLabel.test.js +44 -0
  665. package/build/system/Labels/InviteLabel/index.d.ts +6 -0
  666. package/build/system/Labels/InviteLabel/index.js +44 -0
  667. package/build/system/Modals/Modal/Modal.test.d.ts +1 -0
  668. package/build/system/Modals/Modal/Modal.test.js +36 -0
  669. package/build/system/Modals/Modal/index.d.ts +2 -0
  670. package/build/system/Modals/Modal/index.js +82 -0
  671. package/build/system/Modals/ModalSidebar/CreatorModalSidebarPortal.d.ts +1 -0
  672. package/build/system/Modals/ModalSidebar/CreatorModalSidebarPortal.js +47 -0
  673. package/build/system/Modals/ModalSidebar/ModalSidebar.test.d.ts +1 -0
  674. package/build/system/Modals/ModalSidebar/ModalSidebar.test.js +35 -0
  675. package/build/system/Modals/ModalSidebar/ModalSidebarPortal.d.ts +5 -0
  676. package/build/system/Modals/ModalSidebar/ModalSidebarPortal.js +10 -0
  677. package/build/system/Modals/ModalSidebar/index.d.ts +3 -0
  678. package/build/system/Modals/ModalSidebar/index.js +78 -0
  679. package/build/system/Overlay/Overlay.test.d.ts +1 -0
  680. package/build/system/Overlay/Overlay.test.js +44 -0
  681. package/build/system/Overlay/index.d.ts +2 -0
  682. package/build/system/Overlay/index.js +41 -0
  683. package/build/system/PageLoader/index.d.ts +2 -0
  684. package/build/system/PageLoader/index.js +7 -0
  685. package/build/system/Palete/index.d.ts +2 -0
  686. package/build/system/Palete/index.js +7 -0
  687. package/build/system/ShareIconResize.d.ts +1 -0
  688. package/build/system/ShareIconResize.js +31 -0
  689. package/build/system/Tabs/TabNavLink/TabNavLink.test.d.ts +2 -0
  690. package/build/system/Tabs/TabNavLink/TabNavLink.test.js +40 -0
  691. package/build/system/Tabs/TabNavLink/index.d.ts +12 -0
  692. package/build/system/Tabs/TabNavLink/index.js +58 -0
  693. package/build/system/Tabs/TabsNav/TabsNav.test.d.ts +2 -0
  694. package/build/system/Tabs/TabsNav/TabsNav.test.js +43 -0
  695. package/build/system/Tabs/TabsNav/index.d.ts +10 -0
  696. package/build/system/Tabs/TabsNav/index.js +31 -0
  697. package/build/system/Tabs/TabsNav/type.d.ts +6 -0
  698. package/build/system/Tabs/TabsNav/type.js +2 -0
  699. package/build/system/Tabs/TabsPanel/TabsPanel.test.d.ts +2 -0
  700. package/build/system/Tabs/TabsPanel/TabsPanel.test.js +32 -0
  701. package/build/system/Tabs/TabsPanel/index.d.ts +7 -0
  702. package/build/system/Tabs/TabsPanel/index.js +17 -0
  703. package/build/system/Text/index.d.ts +0 -0
  704. package/build/system/Text/index.js +1 -0
  705. package/build/system/index.d.ts +6 -0
  706. package/build/system/index.js +22 -0
  707. package/build/utils/adaptive/check4k.d.ts +1 -1
  708. package/build/utils/adaptive/check4k.js +1 -1
  709. package/build/utils/adaptive/scale.d.ts +1 -1
  710. package/build/utils/adaptive/scale.js +1 -1
  711. package/build/utils/auth/index.js +1 -1
  712. package/build/utils/copyBtn/index.d.ts +5 -0
  713. package/build/utils/copyBtn/index.js +46 -0
  714. package/build/utils/extractItemIds.d.ts +2 -0
  715. package/build/utils/extractItemIds.js +6 -0
  716. package/build/utils/getDimensionsImage.d.ts +4 -0
  717. package/build/utils/getDimensionsImage.js +38 -0
  718. package/build/utils/getErrorAlertProps/index.js +1 -1
  719. package/build/utils/imageProportionsSize/index.d.ts +5 -0
  720. package/build/utils/imageProportionsSize/index.js +23 -0
  721. package/build/utils/redirectToApp.d.ts +1 -0
  722. package/build/utils/redirectToApp.js +29 -0
  723. package/build/utils/screen/index.js +2 -2
  724. package/build/utils/ssrFunctions/index.d.ts +17 -0
  725. package/build/utils/ssrFunctions/index.js +33 -0
  726. package/package.json +1 -1
@@ -0,0 +1,157 @@
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 useFetchMyFavorites_1 = require("../../../../api/server-galleries/queries/useFetchMyFavorites");
8
+ const useFetchMyGalleries_1 = require("../../../../api/server-galleries/queries/useFetchMyGalleries");
9
+ const PlaceholderItemsGallery_1 = require("../PlaceholderItemsGallery");
10
+ const chooseGalleryItem_1 = __importDefault(require("./chooseGalleryItem"));
11
+ const ui_1 = require("../../../../store/ui");
12
+ const ScreenWidth_1 = require("../../../../styles/ScreenWidth");
13
+ const colors_1 = require("../../../../styles/colors");
14
+ const typography_1 = require("../../../../styles/typography");
15
+ const MainButton_1 = __importDefault(require("../../../../system/Buttons/MainButton"));
16
+ const CardsHolderLoader_1 = __importDefault(require("../../../../system/CardsHolderWithSkeleton/CardsHolderLoader"));
17
+ const type_1 = require("@ludo.ninja/ui/build/system/Alert/type");
18
+ const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
19
+ const react_1 = require("react");
20
+ const react_virtuoso_1 = require("react-virtuoso");
21
+ const styled_components_1 = __importDefault(require("styled-components"));
22
+ const getErrorAlertProps_1 = require("../../../../utils/getErrorAlertProps");
23
+ // Styles
24
+ const StyledChooseGalleryItems = styled_components_1.default.div `
25
+ min-height: calc(460px - 24px);
26
+ //position: relative;
27
+
28
+ @media (min-width: 1200px) {
29
+ min-width: 344px;
30
+ }
31
+
32
+ .head {
33
+ margin-bottom: 20px;
34
+
35
+ .tittle {
36
+ ${typography_1.FH3};
37
+ color: ${colors_1.BlackColor};
38
+ margin: 0;
39
+ }
40
+ }
41
+
42
+ .content {
43
+ height: 234px;
44
+ overflow-x: auto;
45
+ margin-bottom: 55px;
46
+
47
+ [data-test-id='virtuoso-item-list'] > *:not([data-index='0']) {
48
+ padding-top: 4px;
49
+ }
50
+ }
51
+
52
+ .favoriteBtn {
53
+ button {
54
+ width: 100%;
55
+ }
56
+ }
57
+
58
+ .btns {
59
+ margin-top: 16px;
60
+ display: flex;
61
+ justify-content: center;
62
+ gap: 16px;
63
+
64
+ button {
65
+ width: 100%;
66
+ }
67
+
68
+ //button:not(:last-child) {
69
+ // margin-right: 16px;
70
+ //}
71
+ }
72
+
73
+ @media (max-width: 767px) {
74
+ .content {
75
+ width: auto;
76
+ margin-bottom: 32px;
77
+ }
78
+ }
79
+
80
+ ${ScreenWidth_1.mediaQuery.minWidthFourK} {
81
+ min-height: calc(${(0, _4k_1.adaptiveValueCalc)(460)} - ${(0, _4k_1.adaptiveValueCalc)(24)});
82
+ min-width: ${(0, _4k_1.adaptiveValueCalc)(344)};
83
+
84
+ .head {
85
+ margin-bottom: ${(0, _4k_1.adaptiveValueCalc)(20)};
86
+ }
87
+
88
+ .content {
89
+ height: ${(0, _4k_1.adaptiveValueCalc)(234)};
90
+ margin-bottom: ${(0, _4k_1.adaptiveValueCalc)(55)};
91
+
92
+ [data-test-id='virtuoso-item-list'] > *:not([data-index='0']) {
93
+ padding-top ${(0, _4k_1.adaptiveValueCalc)(4)};
94
+ }
95
+ }
96
+
97
+ .btns {
98
+ margin-top: ${(0, _4k_1.adaptiveValueCalc)(16)};
99
+ gap: ${(0, _4k_1.adaptiveValueCalc)(16)};
100
+ }
101
+ }
102
+ `;
103
+ const GalleryItems = ({ galleryItems, loadMore, isNextLoading, isAdded, titleBtn, title, currentMyGalleryId, setAddGallery, addMethod, ids, error, isLoading, }) => {
104
+ const { closeModalSidebar, openAlert, closeModalSidebarPortal } = (0, ui_1.useUiStore)((state) => ({
105
+ openAlert: state.openAlert,
106
+ closeModalSidebarPortal: state.closeModalSidebarPortal,
107
+ closeModalSidebar: state.closeModalSidebar,
108
+ }));
109
+ const [selectedItem, setSelectedItem] = (0, react_1.useState)(null);
110
+ (0, react_1.useEffect)(() => {
111
+ if (isAdded) {
112
+ setSelectedItem(null);
113
+ openAlert({
114
+ type: type_1.alertVariants.success,
115
+ caption: "NFT successfully added!",
116
+ text: "",
117
+ });
118
+ }
119
+ }, [isAdded]);
120
+ (0, react_1.useEffect)(() => {
121
+ if (error) {
122
+ setSelectedItem(null);
123
+ openAlert((0, getErrorAlertProps_1.getErrorAlertProps)(error));
124
+ }
125
+ }, [error]);
126
+ const handleIsSelected = (newGallery) => {
127
+ setSelectedItem(newGallery);
128
+ };
129
+ const renderItems = galleryItems
130
+ ?.filter((gallery) => gallery.galleryType !== "likelist" && gallery.galleryId !== currentMyGalleryId)
131
+ .map((galleryItem) => ((0, jsx_runtime_1.jsx)(chooseGalleryItem_1.default, { galleryItem: galleryItem, isSelected: galleryItem.galleryId === selectedItem?.galleryId, handleIsSelected: handleIsSelected }, galleryItem.galleryId)));
132
+ return ((0, jsx_runtime_1.jsxs)(StyledChooseGalleryItems, { children: [(0, jsx_runtime_1.jsx)("div", { className: "head", children: (0, jsx_runtime_1.jsx)("h3", { className: "tittle", children: title }) }), (0, jsx_runtime_1.jsxs)("div", { className: "content", children: [!isLoading && galleryItems && ((0, jsx_runtime_1.jsx)(react_virtuoso_1.Virtuoso, { totalCount: renderItems.length, itemContent: (index) => renderItems[index], endReached: loadMore, overscan: 200, components: {
133
+ Footer: () => (isNextLoading ? (0, jsx_runtime_1.jsx)(CardsHolderLoader_1.default, {}) : null),
134
+ } })), isLoading && (0, jsx_runtime_1.jsx)(react_virtuoso_1.Virtuoso, { totalCount: 20, itemContent: () => (0, jsx_runtime_1.jsx)(PlaceholderItemsGallery_1.PlaceholderItemsGallery, {}) })] }), (0, jsx_runtime_1.jsx)("div", { className: "favoriteBtn", children: (0, jsx_runtime_1.jsx)(MainButton_1.default, { text: titleBtn, variant: "outline", onClick: () => setAddGallery(true) }) }), (0, jsx_runtime_1.jsxs)("div", { className: "btns", children: [(0, jsx_runtime_1.jsx)(MainButton_1.default, { text: "Add", variant: "primaryM", disabled: !selectedItem || !ids, onClick: () => {
135
+ addMethod(selectedItem?.galleryId, ids);
136
+ } }), (0, jsx_runtime_1.jsx)(MainButton_1.default, { text: "Cancel", variant: "secondary", onClick: () => {
137
+ closeModalSidebarPortal();
138
+ closeModalSidebar();
139
+ } })] })] }));
140
+ };
141
+ const GalleryItemsMyGallery = (props) => {
142
+ const { galleryItems, loadMore, isNextLoading, load, isLoading } = (0, useFetchMyGalleries_1.useFetchMyGalleriesV2)();
143
+ (0, react_1.useEffect)(() => {
144
+ load({ pageSize: 100, pageToken: "" });
145
+ }, []);
146
+ return ((0, jsx_runtime_1.jsx)(GalleryItems, { ...props, galleryItems: galleryItems, loadMore: loadMore, isNextLoading: isNextLoading, isLoading: isLoading }));
147
+ };
148
+ const GalleryItemsMyFavorite = (props) => {
149
+ const { galleryItems, loadMore, isNextLoading, load, isLoading } = (0, useFetchMyFavorites_1.useFetchMyFavoritesV2)();
150
+ (0, react_1.useEffect)(() => {
151
+ load({ pageSize: 100, pageToken: "" });
152
+ }, []);
153
+ return ((0, jsx_runtime_1.jsx)(GalleryItems, { ...props, galleryItems: galleryItems, loadMore: loadMore, isNextLoading: isNextLoading, isLoading: isLoading }));
154
+ };
155
+ const ChooseGalleryItems = ({ isGetMyGalleries, ...props }) => (isGetMyGalleries ? (0, jsx_runtime_1.jsx)(GalleryItemsMyGallery, { ...props }) : (0, jsx_runtime_1.jsx)(GalleryItemsMyFavorite, { ...props }));
156
+ // Export
157
+ exports.default = ChooseGalleryItems;
@@ -0,0 +1,12 @@
1
+ import { ApolloError } from '@apollo/client';
2
+ import { galleriesSchema as schema } from '@ludo.ninja/api';
3
+ declare const CreateGalleryForm: ({ setAddGallery, title, inputPlaceHolderText, createMethod, error, refetchFavoritesList, }: {
4
+ setAddGallery: (value: boolean) => void;
5
+ refetchFavoritesList?: () => Promise<void>;
6
+ title: string;
7
+ inputPlaceHolderText: string;
8
+ ids?: string[];
9
+ createMethod: ({ name, description, publicAccessible, creationIds, }: schema.IMutationCreateFavoriteListV2Args | schema.IMutationCreateGalleryV2Args) => Promise<void>;
10
+ error: ApolloError | undefined;
11
+ }) => import("react/jsx-runtime").JSX.Element;
12
+ export default CreateGalleryForm;
@@ -0,0 +1,137 @@
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_hook_form_1 = require("react-hook-form");
8
+ const styled_components_1 = __importDefault(require("styled-components"));
9
+ const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
10
+ const ui_1 = require("../../../../store/ui");
11
+ const ScreenWidth_1 = require("../../../../styles/ScreenWidth");
12
+ const colors_1 = require("../../../../styles/colors");
13
+ const typography_1 = require("../../../../styles/typography");
14
+ const MainButton_1 = __importDefault(require("../../../../system/Buttons/MainButton"));
15
+ const Forms_1 = require("../../../../system/Forms");
16
+ const Messages_1 = __importDefault(require("../../../../system/Forms/Messages"));
17
+ const getErrorAlertProps_1 = require("../../../../utils/getErrorAlertProps");
18
+ // Styles
19
+ const StyledCreateForm = styled_components_1.default.div `
20
+ min-width: 344px;
21
+ min-height: calc(460px - 24px);
22
+ position: relative;
23
+
24
+ .head {
25
+ margin-bottom: 20px;
26
+
27
+ .tittle {
28
+ ${typography_1.FH3};
29
+ color: ${colors_1.BlackColor};
30
+ margin: 0;
31
+ }
32
+ }
33
+
34
+ .content {
35
+ margin-bottom: 60px;
36
+
37
+ .input_group {
38
+ position: relative;
39
+ margin-bottom: 16px;
40
+ }
41
+ }
42
+
43
+ .btns {
44
+ margin-top: 16px;
45
+ display: flex;
46
+ position: absolute;
47
+ left: 0;
48
+ right: 0;
49
+ bottom: 0;
50
+ justify-content: center;
51
+ gap: 16px;
52
+
53
+ button {
54
+ width: 100%;
55
+ }
56
+ }
57
+
58
+ @media (max-width: 767px) {
59
+ margin-right: 0;
60
+ .content {
61
+ width: auto;
62
+ }
63
+ }
64
+
65
+ ${ScreenWidth_1.mediaQuery.minWidthFourK} {
66
+ min-width: ${(0, _4k_1.adaptiveValueCalc)(344)};
67
+ min-height: calc(${(0, _4k_1.adaptiveValueCalc)(460)} - ${(0, _4k_1.adaptiveValueCalc)(24)});
68
+
69
+ .head {
70
+ margin-bottom: ${(0, _4k_1.adaptiveValueCalc)(20)};
71
+ }
72
+
73
+ .content {
74
+ margin-bottom: ${(0, _4k_1.adaptiveValueCalc)(60)};
75
+
76
+ .input_group {
77
+ margin-bottom: ${(0, _4k_1.adaptiveValueCalc)(16)};
78
+ }
79
+ }
80
+
81
+ .btns {
82
+ margin-top: ${(0, _4k_1.adaptiveValueCalc)(16)};
83
+ gap: ${(0, _4k_1.adaptiveValueCalc)(16)};
84
+ }
85
+ }
86
+ `;
87
+ // Component
88
+ const CreateGalleryForm = ({ setAddGallery, title, inputPlaceHolderText,
89
+ // ids,
90
+ createMethod, error, refetchFavoritesList, }) => {
91
+ const { register, handleSubmit, formState: { errors }, } = (0, react_hook_form_1.useForm)({
92
+ mode: 'all',
93
+ });
94
+ const openAlert = (0, ui_1.useUiStore)((state) => state.openAlert);
95
+ const dataForgalleryName = {
96
+ labelText: 'galleryName',
97
+ name: 'galleryName',
98
+ placeHolder: inputPlaceHolderText,
99
+ };
100
+ const dataForBio = {
101
+ labelText: 'Bio',
102
+ name: 'galleryDescription',
103
+ placeHolder: 'Description (tags and hashtags are supported)',
104
+ };
105
+ const registergalleryName = register('galleryName', Messages_1.default[dataForgalleryName.name]);
106
+ const registergalleryDescription = register('galleryDescription', Messages_1.default[dataForBio.name]);
107
+ const errorGalleryName = {
108
+ isNeedShowError: Boolean(errors?.galleryName),
109
+ message: errors?.galleryName && errors?.galleryName.message,
110
+ };
111
+ const errorGalleryDescription = {
112
+ isNeedShowError: Boolean(errors?.galleryDescription),
113
+ message: errors?.galleryDescription && errors?.galleryDescription.message,
114
+ };
115
+ const onSubmit = async ({ galleryName, galleryDescription }) => {
116
+ // const creationIds = getCreationIdsArray();
117
+ await createMethod({
118
+ name: galleryName,
119
+ description: galleryDescription,
120
+ publicAccessible: true,
121
+ creationIds: [],
122
+ });
123
+ refetchFavoritesList && (await refetchFavoritesList());
124
+ if (error) {
125
+ openAlert((0, getErrorAlertProps_1.getErrorAlertProps)(error));
126
+ return;
127
+ }
128
+ setAddGallery(false);
129
+ };
130
+ return ((0, jsx_runtime_1.jsxs)(StyledCreateForm, { children: [(0, jsx_runtime_1.jsx)("div", { className: 'head', children: (0, jsx_runtime_1.jsx)("h3", { className: 'tittle', children: title }) }), (0, jsx_runtime_1.jsxs)("form", { onSubmit: handleSubmit(onSubmit), children: [(0, jsx_runtime_1.jsxs)("div", { className: 'content', children: [(0, jsx_runtime_1.jsx)("div", { className: "input_group", children: (0, jsx_runtime_1.jsx)(Forms_1.Input, { register: registergalleryName, error: errorGalleryName, data: dataForgalleryName }) }), (0, jsx_runtime_1.jsx)("div", { className: "input_group", children: (0, jsx_runtime_1.jsx)(Forms_1.BasicTextArea, { register: registergalleryDescription,
131
+ // counter={0}
132
+ isNeedBiggerArea: false, error: errorGalleryDescription, data: dataForBio }) })] }), (0, jsx_runtime_1.jsxs)("div", { className: "btns", children: [(0, jsx_runtime_1.jsx)(MainButton_1.default, { text: 'Create', type: 'submit', variant: "primaryM", onClick: () => null }), (0, jsx_runtime_1.jsx)(MainButton_1.default, { text: 'Go Back', variant: "outline", onClick: () => {
133
+ setAddGallery(false);
134
+ } })] })] })] }));
135
+ };
136
+ // Export
137
+ exports.default = CreateGalleryForm;
@@ -0,0 +1,8 @@
1
+ declare const EditGalleryForm: ({ title, inputPlaceHolderText, galleryId, name, description, }: {
2
+ title: string;
3
+ inputPlaceHolderText: string;
4
+ galleryId: string;
5
+ name: string;
6
+ description: string;
7
+ }) => import("react/jsx-runtime").JSX.Element;
8
+ export default EditGalleryForm;
@@ -0,0 +1,189 @@
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_hook_form_1 = require("react-hook-form");
9
+ const styled_components_1 = __importDefault(require("styled-components"));
10
+ const _4k_1 = require("@ludo.ninja/ui/build/utils/4k");
11
+ const store_1 = require("../../store");
12
+ const ui_1 = require("../../../../store/ui");
13
+ const useEditGallery_1 = __importDefault(require("../../../../api/server-galleries/mutations/useEditGallery"));
14
+ const ScreenWidth_1 = require("../../../../styles/ScreenWidth");
15
+ const colors_1 = require("../../../../styles/colors");
16
+ const typography_1 = require("../../../../styles/typography");
17
+ const MainButton_1 = __importDefault(require("../../../../system/Buttons/MainButton"));
18
+ const Forms_1 = require("../../../../system/Forms");
19
+ const Messages_1 = __importDefault(require("../../../../system/Forms/Messages"));
20
+ const getErrorAlertProps_1 = require("../../../../utils/getErrorAlertProps");
21
+ // Styles
22
+ const StyledCreateForm = styled_components_1.default.div `
23
+ min-width: 344px;
24
+ min-height: calc(460px - 24px);
25
+ position: relative;
26
+
27
+ .head {
28
+ margin-bottom: 20px;
29
+
30
+ .tittle {
31
+ ${typography_1.FH3};
32
+ color: ${colors_1.BlackColor};
33
+ margin: 0;
34
+ }
35
+ }
36
+
37
+ .content {
38
+ margin-bottom: 60px;
39
+
40
+ .input_group {
41
+ position: relative;
42
+ margin-bottom: 16px;
43
+ }
44
+ }
45
+
46
+ .btns {
47
+ margin-top: 16px;
48
+ display: flex;
49
+ position: absolute;
50
+ left: 0;
51
+ right: 0;
52
+ bottom: 0;
53
+ gap: 16px;
54
+
55
+ .add {
56
+ width: 100%;
57
+
58
+ & button {
59
+ font-size: 15px;
60
+ font-weight: 500;
61
+ line-height: 1.47;
62
+
63
+ @media (max-width: 767px) {
64
+ font-size: 14px;
65
+ line-height: 1.43;
66
+ }
67
+ }
68
+ }
69
+
70
+ .cancel {
71
+ width: 100%;
72
+ }
73
+
74
+ & button {
75
+ width: 100%;
76
+ padding: 9px 0;
77
+ }
78
+ }
79
+
80
+ @media (max-width: 767px) {
81
+ margin-right: 0;
82
+ .content {
83
+ width: auto;
84
+ }
85
+
86
+ .btns {
87
+ position: static;
88
+ justify-content: center;
89
+ }
90
+
91
+ .add,
92
+ .cancel {
93
+ max-width: 140px;
94
+ }
95
+ }
96
+
97
+ ${ScreenWidth_1.mediaQuery.minWidthFourK} {
98
+ min-width: ${(0, _4k_1.adaptiveValueCalc)(344)};
99
+ min-height: calc(${(0, _4k_1.adaptiveValueCalc)(460)} - ${(0, _4k_1.adaptiveValueCalc)(24)});
100
+
101
+ .head {
102
+ margin-bottom: ${(0, _4k_1.adaptiveValueCalc)(20)};
103
+ }
104
+
105
+ .content {
106
+ margin-bottom: ${(0, _4k_1.adaptiveValueCalc)(60)};
107
+
108
+ .input_group {
109
+ margin-bottom: ${(0, _4k_1.adaptiveValueCalc)(16)};
110
+ }
111
+ }
112
+
113
+ .btns {
114
+ margin-top: ${(0, _4k_1.adaptiveValueCalc)(16)};
115
+ gap: ${(0, _4k_1.adaptiveValueCalc)(16)};
116
+
117
+ .add {
118
+ & button {
119
+ font-size: ${(0, _4k_1.adaptiveValueCalc)(15)};
120
+ }
121
+ }
122
+
123
+ & button {
124
+ padding: ${(0, _4k_1.adaptiveValueCalc)(9)} 0;
125
+ }
126
+ }
127
+ }
128
+ `;
129
+ // Component
130
+ const EditGalleryForm = ({ title, inputPlaceHolderText, galleryId, name, description, }) => {
131
+ const updateGalleryInfo = (0, store_1.useGalleryStore)((state) => state.updateGalleryInfo);
132
+ const { editGallery } = (0, useEditGallery_1.default)();
133
+ const { register, handleSubmit, formState: { errors }, reset, } = (0, react_hook_form_1.useForm)({
134
+ mode: 'all',
135
+ });
136
+ (0, react_1.useEffect)(() => {
137
+ const defaultValues = {
138
+ galleryName: name,
139
+ galleryDescription: description,
140
+ };
141
+ reset({ ...defaultValues });
142
+ }, [name, description]);
143
+ const openAlert = (0, ui_1.useUiStore)((state) => state.openAlert);
144
+ const closeModalSidebar = (0, ui_1.useUiStore)((state) => state.closeModalSidebar);
145
+ const dataForgalleryName = {
146
+ labelText: 'galleryName',
147
+ name: 'galleryName',
148
+ placeHolder: inputPlaceHolderText,
149
+ };
150
+ const dataForBio = {
151
+ labelText: 'Bio',
152
+ name: 'galleryDescription',
153
+ placeHolder: 'Description (tags and hashtags are supported)',
154
+ };
155
+ const registergalleryName = register('galleryName', Messages_1.default[dataForgalleryName.name]);
156
+ const registergalleryDescription = register('galleryDescription', Messages_1.default[dataForBio.name]);
157
+ const errorGalleryName = {
158
+ isNeedShowError: Boolean(errors?.galleryName),
159
+ message: errors?.galleryName && errors?.galleryName.message,
160
+ };
161
+ const errorGalleryDescription = {
162
+ isNeedShowError: Boolean(errors?.galleryDescription),
163
+ message: errors?.galleryDescription && errors?.galleryDescription.message,
164
+ };
165
+ const onSubmit = async ({ galleryName, galleryDescription }) => {
166
+ try {
167
+ const data = await editGallery({
168
+ galleryId,
169
+ name: galleryName,
170
+ description: galleryDescription,
171
+ });
172
+ if (data.data.editGallery) {
173
+ updateGalleryInfo({
174
+ galleryName,
175
+ galleryDescription,
176
+ });
177
+ }
178
+ closeModalSidebar();
179
+ }
180
+ catch (error) {
181
+ openAlert((0, getErrorAlertProps_1.getErrorAlertProps)(error));
182
+ }
183
+ };
184
+ return ((0, jsx_runtime_1.jsxs)(StyledCreateForm, { children: [(0, jsx_runtime_1.jsx)("div", { className: 'head', children: (0, jsx_runtime_1.jsx)("h3", { className: 'tittle', children: title }) }), (0, jsx_runtime_1.jsxs)("form", { onSubmit: handleSubmit(onSubmit), children: [(0, jsx_runtime_1.jsxs)("div", { className: 'content', children: [(0, jsx_runtime_1.jsx)("div", { className: "input_group", children: (0, jsx_runtime_1.jsx)(Forms_1.Input, { register: registergalleryName, error: errorGalleryName, data: dataForgalleryName }) }), (0, jsx_runtime_1.jsx)("div", { className: "input_group", children: (0, jsx_runtime_1.jsx)(Forms_1.BasicTextArea, { register: registergalleryDescription,
185
+ // counter={0}
186
+ isNeedBiggerArea: false, error: errorGalleryDescription, data: dataForBio }) })] }), (0, jsx_runtime_1.jsxs)("div", { className: "btns", children: [(0, jsx_runtime_1.jsx)("div", { className: 'add', children: (0, jsx_runtime_1.jsx)(MainButton_1.default, { text: 'Save', type: 'submit', variant: "primaryL", onClick: () => null }) }), (0, jsx_runtime_1.jsx)("div", { className: 'cancel', children: (0, jsx_runtime_1.jsx)(MainButton_1.default, { text: 'Cancel', variant: "outline", onClick: closeModalSidebar }) })] })] })] }));
187
+ };
188
+ // Export
189
+ exports.default = EditGalleryForm;
@@ -0,0 +1,19 @@
1
+ import { TCreation } from '../../../../entities/creation/types';
2
+ import { TVirtuosoData } from '../../../virtuoso/types';
3
+ export declare const useVirtuosoData: <TData>({ creations, isMobile }: {
4
+ isMobile: boolean;
5
+ creations: TData[];
6
+ }) => {
7
+ virtuosoData: TVirtuosoData<TData>;
8
+ placeholderData: number[][];
9
+ };
10
+ declare const ItemsPreview: ({ creations, deleteMethod, title, loadMore, isLoading, isNextLoading, allCount, }: {
11
+ creations: TCreation[];
12
+ deleteMethod: (itemId: string) => void;
13
+ title: string;
14
+ loadMore?: () => void;
15
+ isLoading?: boolean;
16
+ isNextLoading?: boolean;
17
+ allCount?: number;
18
+ }) => import("react/jsx-runtime").JSX.Element;
19
+ export default ItemsPreview;