@ludo.ninja/components 1.0.9 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (152) hide show
  1. package/dist/hooks/likes/useGetLikesAsset.js +140 -305
  2. package/dist/index.js +1 -0
  3. package/dist/modules/index.js +3 -0
  4. package/dist/modules/sessionScroll/index.js +33 -43
  5. package/dist/modules/user/auth/index.js +1 -0
  6. package/dist/modules/user/index.js +3 -0
  7. package/dist/modules/user/profileData/index.js +1 -0
  8. package/dist/store/index.js +4 -5
  9. package/dist/types/api/server-search/queries/useFetchCollections/index.d.ts +13 -23
  10. package/dist/types/api/server-search/queries/useFetchDynamicCollectionData/index.d.ts +9 -13
  11. package/dist/types/components/CreationCard/CardHead.d.ts +10 -22
  12. package/dist/types/components/CreationCard/index.d.ts +18 -39
  13. package/dist/types/components/addWalletsRedirectPage/index.d.ts +2 -5
  14. package/dist/types/components/assetPage/assetLikes/index.d.ts +4 -9
  15. package/dist/types/components/assetPage/assetNft/index.d.ts +1 -5
  16. package/dist/types/components/assetPage/assetWrapper/index.d.ts +5 -12
  17. package/dist/types/components/assetPage/audioVideoPlayer/Duration.d.ts +1 -2
  18. package/dist/types/components/assetPage/audioVideoPlayer/index.d.ts +87 -99
  19. package/dist/types/components/assetPage/category/index.d.ts +2 -5
  20. package/dist/types/components/assetPage/description/index.d.ts +1 -5
  21. package/dist/types/components/assetPage/detailsAccordeon/index.d.ts +2 -6
  22. package/dist/types/components/assetPage/figCaption/index.d.ts +2 -6
  23. package/dist/types/components/assetPage/information/index.d.ts +2 -6
  24. package/dist/types/components/assetPage/moreDropDown/index.d.ts +4 -5
  25. package/dist/types/components/assetPage/participants/index.d.ts +5 -12
  26. package/dist/types/components/assetPage/priceRank/index.d.ts +5 -11
  27. package/dist/types/components/assetPage/properties/index.d.ts +1 -5
  28. package/dist/types/components/assetPage/slider/index.d.ts +2 -7
  29. package/dist/types/components/assetPage/tittle/index.d.ts +5 -12
  30. package/dist/types/components/assetPage/viewer3D/index.d.ts +4 -10
  31. package/dist/types/components/collectionPage/collectionLike/index.d.ts +4 -9
  32. package/dist/types/components/deleteDialog/index.d.ts +5 -11
  33. package/dist/types/components/editProfile/UserPicProfile/index.d.ts +2 -5
  34. package/dist/types/components/favoriteList/add/addAssetToFavoriteList/index.d.ts +1 -2
  35. package/dist/types/components/favoriteList/add/addCollectionToFavoriteList/index.d.ts +1 -2
  36. package/dist/types/components/favoriteList/add/addCreationToFavoriteList/index.d.ts +2 -3
  37. package/dist/types/components/filters/index.d.ts +7 -23
  38. package/dist/types/components/forms/form/index.d.ts +8 -10
  39. package/dist/types/components/forms/formsNavigation/index.d.ts +0 -1
  40. package/dist/types/components/forms/formsTemplate/index.d.ts +6 -9
  41. package/dist/types/components/gallery/add/addAssetToGallery/index.d.ts +1 -2
  42. package/dist/types/components/gallery/add/addCreationToGallery/index.d.ts +0 -1
  43. package/dist/types/components/gradientLabel/index.d.ts +0 -1
  44. package/dist/types/components/headers/headerSearch/index.d.ts +0 -1
  45. package/dist/types/components/headers/headerSimple/index.d.ts +0 -1
  46. package/dist/types/components/inviteCodesPage/components/index.d.ts +0 -1
  47. package/dist/types/components/inviteCodesPage/components/inviteCodes/inviteCode/index.d.ts +3 -8
  48. package/dist/types/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/index.d.ts +4 -9
  49. package/dist/types/components/inviteCodesPage/components/inviteCodes/inviteCodeCopy/index.d.ts +2 -6
  50. package/dist/types/components/inviteCodesPage/components/inviteCodes/inviteCodeDate/index.d.ts +2 -5
  51. package/dist/types/components/inviteCodesPage/wrappers/index.d.ts +0 -1
  52. package/dist/types/components/inviteCodesPage/wrappers/resumeCodes/index.d.ts +5 -11
  53. package/dist/types/components/inviteCodesPage/wrappers/unusedCodes/index.d.ts +3 -8
  54. package/dist/types/components/inviteCodesPage/wrappers/usedCodes/index.d.ts +3 -8
  55. package/dist/types/components/linkTabs/linkTab/index.d.ts +5 -11
  56. package/dist/types/components/myWallets/index.d.ts +0 -1
  57. package/dist/types/components/navigation/index.d.ts +3 -4
  58. package/dist/types/components/profile/ProfileTabs.d.ts +5 -11
  59. package/dist/types/components/profile/aboutText/index.d.ts +2 -21
  60. package/dist/types/components/profile/addToGalleryBtns/index.d.ts +2 -5
  61. package/dist/types/components/profile/followersSocial/followers/index.d.ts +3 -7
  62. package/dist/types/components/profile/info/index.d.ts +2 -6
  63. package/dist/types/components/profile/profileUserCards/profileUserCard/index.d.ts +7 -16
  64. package/dist/types/components/profile/rank/index.d.ts +1 -5
  65. package/dist/types/components/profile/wallets/index.d.ts +0 -1
  66. package/dist/types/components/profile/wrapper/index.d.ts +4 -10
  67. package/dist/types/components/registrationPage/registrationSelection/index.d.ts +10 -12
  68. package/dist/types/components/rewards/FAQ/index.d.ts +0 -1
  69. package/dist/types/components/rewards/clarifications/index.d.ts +6 -8
  70. package/dist/types/components/rewards/logoBottom/index.d.ts +1 -1
  71. package/dist/types/components/rewards/seasonBanner/index.d.ts +3 -5
  72. package/dist/types/components/rewards/taskExpTab/index.d.ts +10 -21
  73. package/dist/types/components/rewards/tasksGrid/index.d.ts +3 -6
  74. package/dist/types/components/rewards/userExp/index.d.ts +8 -17
  75. package/dist/types/components/search/SearchInputContainer.d.ts +21 -35
  76. package/dist/types/components/search/index.d.ts +0 -1
  77. package/dist/types/components/search/searchCloseMoreButtons/index.d.ts +9 -14
  78. package/dist/types/components/search/searchSimpleInput/index.d.ts +2 -5
  79. package/dist/types/components/shareDialog/index.d.ts +29 -33
  80. package/dist/types/components/sidebar/index.d.ts +0 -1
  81. package/dist/types/components/sidebar/initializer.d.ts +1 -1
  82. package/dist/types/components/socialButtons/index.d.ts +0 -1
  83. package/dist/types/components/toTopBtn/index.d.ts +2 -5
  84. package/dist/types/dto/AssetEntity/views/AssetAudio/index.d.ts +3 -11
  85. package/dist/types/dto/AssetEntity/views/AssetObject/index.d.ts +5 -14
  86. package/dist/types/dto/AssetEntity/views/AssetVideo/index.d.ts +3 -11
  87. package/dist/types/dto/Collection/CollectionCreationEntity/index.d.ts +37 -39
  88. package/dist/types/dto/CreationEntity/index.d.ts +41 -43
  89. package/dist/types/dto/common/ItemViews/CreationAudio/index.d.ts +3 -11
  90. package/dist/types/dto/common/ItemViews/CreationObject/index.d.ts +2 -10
  91. package/dist/types/hooks/favorites/useGetFavoriteGallaryCreations/index.d.ts +16 -23
  92. package/dist/types/hooks/favorites/useGetUserFevoritesCreations/index.d.ts +17 -28
  93. package/dist/types/hooks/galleries/useGetUserGalleriesCreations/index.d.ts +17 -26
  94. package/dist/types/hooks/likes/dynamic/useGetCollectionInfoAndLikes.d.ts +11 -18
  95. package/dist/types/hooks/likes/dynamic/useGetMixedLikesFavoriteList.d.ts +13 -18
  96. package/dist/types/hooks/likes/dynamic/useGetTableLikes.d.ts +9 -19
  97. package/dist/types/hooks/likes/index.d.ts +12 -20
  98. package/dist/types/hooks/likes/useGetLikesAsset.d.ts +8 -20
  99. package/dist/types/hooks/useToGalleryAsset/index.d.ts +12 -21
  100. package/dist/types/index.d.ts +1 -0
  101. package/dist/types/layouts/GlobalLayout.d.ts +2 -5
  102. package/dist/types/layouts/base/LWithRegularHeader/index.d.ts +0 -1
  103. package/dist/types/layouts/base/LWithRegularHeader/type.d.ts +1 -3
  104. package/dist/types/layouts/base/LWithSearchHeader/index.d.ts +0 -1
  105. package/dist/types/layouts/base/LWithSearchHeader/type.d.ts +1 -3
  106. package/dist/types/layouts/base/LWithSimpleHeader/index.d.ts +0 -1
  107. package/dist/types/layouts/base/LWithSimpleHeader/type.d.ts +1 -3
  108. package/dist/types/layouts/base/LWithoutHeader/index.d.ts +0 -1
  109. package/dist/types/layouts/custom/accountLayout/index.d.ts +0 -1
  110. package/dist/types/layouts/custom/formsLayout/index.d.ts +0 -1
  111. package/dist/types/layouts/custom/mainLayout/index.d.ts +0 -1
  112. package/dist/types/layouts/custom/searchLayout/index.d.ts +0 -1
  113. package/dist/types/layouts/custom/simpleLayout/index.d.ts +0 -1
  114. package/dist/types/layouts/pageWithLayout.d.ts +3 -10
  115. package/dist/types/modules/gallery/ui/AllResults.d.ts +2 -5
  116. package/dist/types/modules/gallery/ui/EditGallery.d.ts +7 -18
  117. package/dist/types/modules/gallery/ui/GalleryDeleteIcon.d.ts +3 -7
  118. package/dist/types/modules/gallery/ui/chooseGalleryItems/index.d.ts +10 -15
  119. package/dist/types/modules/gallery/ui/itemsPreview/index.d.ts +13 -27
  120. package/dist/types/modules/index.d.ts +3 -0
  121. package/dist/types/modules/sessionScroll/index.d.ts +7 -10
  122. package/dist/types/modules/sessionScroll/useVirtuosoInitialScroll.d.ts +6 -14
  123. package/dist/types/modules/user/auth/index.d.ts +1 -0
  124. package/dist/types/modules/user/index.d.ts +3 -0
  125. package/dist/types/modules/user/profileData/index.d.ts +1 -0
  126. package/dist/types/modules/virtuoso/VirtuosoPageBuilder.d.ts +14 -32
  127. package/dist/types/modules/virtuoso/VirtuosoToTopBtn.d.ts +5 -9
  128. package/dist/types/modules/virtuoso/types.d.ts +2 -3
  129. package/dist/types/modules/virtuoso/useVirtuosoData.d.ts +8 -16
  130. package/dist/types/store/index.d.ts +7 -14
  131. package/dist/types/system/Cards/CardContent/CardLikes/index.d.ts +3 -7
  132. package/dist/types/system/Cards/CardHeadIcons/index.d.ts +10 -24
  133. package/dist/types/system/Cards/CardMedia/CardAudio/index.d.ts +5 -11
  134. package/dist/types/system/Cards/CardRank/index.d.ts +3 -2
  135. package/dist/types/system/Cards/CardsGrid/index.d.ts +9 -19
  136. package/dist/types/system/Cards/MultiMediaCard/index.d.ts +4 -10
  137. package/dist/types/system/Cards/RegularCard/index.d.ts +14 -28
  138. package/dist/types/system/CardsHolderWithSkeleton/CardsHolder/index.d.ts +13 -20
  139. package/dist/types/system/CardsHolderWithSkeleton/CardsHolderLoader/index.d.ts +0 -1
  140. package/dist/types/system/CardsHolderWithSkeleton/index.d.ts +20 -27
  141. package/dist/types/system/Forms/Selects/DesktopSelect/index.d.ts +6 -15
  142. package/dist/types/system/Img/Profilepic/index.d.ts +4 -6
  143. package/dist/types/system/ShareIconResize.d.ts +1 -1
  144. package/dist/types/utils/adaptive/check4k.d.ts +3 -7
  145. package/dist/types/utils/adaptive/scale.d.ts +8 -14
  146. package/dist/types/utils/copyBtn/index.d.ts +3 -8
  147. package/dist/types/utils/extractItemIds/index.d.ts +1 -4
  148. package/dist/types/utils/getPageSizeAssets.d.ts +3 -6
  149. package/dist/types/utils/screen/index.d.ts +9 -9
  150. package/package.json +1 -1
  151. package/src/index.ts +1 -0
  152. package/src/store/index.ts +2 -0
@@ -1,8 +1,5 @@
1
1
  import React from 'react';
2
-
3
- declare const UserPicProfile: ({
4
- defaultImage,
5
- }: {
6
- defaultImage: string | null;
2
+ declare const UserPicProfile: ({ defaultImage }: {
3
+ defaultImage: string | null;
7
4
  }) => React.JSX.Element;
8
5
  export default UserPicProfile;
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
-
3
2
  interface Props {
4
- ids: string[];
3
+ ids: string[];
5
4
  }
6
5
  declare const AddAssetToFavoriteList: React.FC<Props>;
7
6
  export default AddAssetToFavoriteList;
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
-
3
2
  interface Props {
4
- ids: string[];
3
+ ids: string[];
5
4
  }
6
5
  declare const AddCollectionToFavoriteList: React.FC<Props>;
7
6
  export default AddCollectionToFavoriteList;
@@ -1,8 +1,7 @@
1
1
  import React from 'react';
2
-
3
2
  interface Props {
4
- ids: string[];
5
- currentMyGalleryId?: false | string | undefined;
3
+ ids: string[];
4
+ currentMyGalleryId?: false | string | undefined;
6
5
  }
7
6
  declare const AddCreationToFavoriteList: React.FC<Props>;
8
7
  export default AddCreationToFavoriteList;
@@ -1,28 +1,12 @@
1
1
  import React from 'react';
2
-
3
2
  import { searchSchema as schema } from '@ludo.ninja/api';
4
-
5
3
  import { SelectsType } from '@/system/Filters/type';
6
-
7
- declare const Filters: ({
8
- filterInputHandler,
9
- handleResetFilter,
10
- selectData,
11
- filterInput,
12
- handleMobileFilterInput,
13
- isMobile,
14
- }: {
15
- filterInputHandler: (
16
- fieldName: keyof schema.ICreationFilterInput &
17
- keyof schema.ICollectionFilterInput,
18
- fieldValue: string
19
- ) => Promise<void>;
20
- filterInput: schema.ICreationFilterInput | schema.ICollectionFilterInput;
21
- handleResetFilter: () => void;
22
- selectData: SelectsType[];
23
- handleMobileFilterInput: (
24
- newFilters: schema.ICreationFilterInput | schema.ICollectionFilterInput
25
- ) => Promise<void>;
26
- isMobile: boolean;
4
+ declare const Filters: ({ filterInputHandler, handleResetFilter, selectData, filterInput, handleMobileFilterInput, isMobile, }: {
5
+ filterInputHandler: (fieldName: keyof schema.ICreationFilterInput & keyof schema.ICollectionFilterInput, fieldValue: string) => Promise<void>;
6
+ filterInput: schema.ICreationFilterInput | schema.ICollectionFilterInput;
7
+ handleResetFilter: () => void;
8
+ selectData: SelectsType[];
9
+ handleMobileFilterInput: (newFilters: schema.ICreationFilterInput | schema.ICollectionFilterInput) => Promise<void>;
10
+ isMobile: boolean;
27
11
  }) => React.JSX.Element;
28
12
  export default Filters;
@@ -1,16 +1,14 @@
1
1
  import React from 'react';
2
-
3
2
  import { InputProps } from '../types';
4
-
5
3
  interface Props {
6
- onSubmit: (data: unknown) => void;
7
- submitLoading: boolean;
8
- formDescription: string;
9
- formTitle: string;
10
- inputs: InputProps[];
11
- initialValues?: {
12
- [key: string]: any;
13
- };
4
+ onSubmit: (data: unknown) => void;
5
+ submitLoading: boolean;
6
+ formDescription: string;
7
+ formTitle: string;
8
+ inputs: InputProps[];
9
+ initialValues?: {
10
+ [key: string]: any;
11
+ };
14
12
  }
15
13
  declare const Form: ({ ...props }: Props) => React.JSX.Element;
16
14
  export default Form;
@@ -1,4 +1,3 @@
1
1
  import React from 'react';
2
-
3
2
  declare const FormsNavigation: () => React.JSX.Element;
4
3
  export default FormsNavigation;
@@ -1,17 +1,14 @@
1
1
  import React from 'react';
2
-
3
2
  import { GetServerSideProps } from 'next';
4
-
5
3
  import { FormsNavigationTabs, InputProps } from '@/components/forms/types';
6
-
7
4
  declare const FormsTemplate: () => React.JSX.Element | null;
8
5
  export declare const getServerSideProps: GetServerSideProps;
9
6
  export default FormsTemplate;
10
7
  export declare const forms: {
11
- [K in FormsNavigationTabs]?: {
12
- formTitle: string;
13
- formDescription: string;
14
- inputs: InputProps[];
15
- submitMutation?: any;
16
- };
8
+ [K in FormsNavigationTabs]?: {
9
+ formTitle: string;
10
+ formDescription: string;
11
+ inputs: InputProps[];
12
+ submitMutation?: any;
13
+ };
17
14
  };
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
-
3
2
  interface Props {
4
- ids: string[];
3
+ ids: string[];
5
4
  }
6
5
  declare const AddAssetToGallery: React.FC<Props>;
7
6
  export default AddAssetToGallery;
@@ -1,4 +1,3 @@
1
1
  import React from 'react';
2
-
3
2
  declare const AddCreationToGallery: () => React.JSX.Element;
4
3
  export default AddCreationToGallery;
@@ -1,4 +1,3 @@
1
1
  import React from 'react';
2
-
3
2
  declare const GradientLabel: () => React.JSX.Element;
4
3
  export default GradientLabel;
@@ -1,4 +1,3 @@
1
1
  import React from 'react';
2
-
3
2
  declare const HeaderSearch: () => React.JSX.Element;
4
3
  export default HeaderSearch;
@@ -1,4 +1,3 @@
1
1
  import React from 'react';
2
-
3
2
  declare const HeaderSimple: () => React.JSX.Element;
4
3
  export default HeaderSimple;
@@ -2,5 +2,4 @@ import InviteCodes from '@/components/inviteCodesPage/components/inviteCodes';
2
2
  import InviteCodeCaption from '@/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption';
3
3
  import InviteCodeCopy from '@/components/inviteCodesPage/components/inviteCodes/inviteCodeCopy';
4
4
  import InviteCodeDate from '@/components/inviteCodesPage/components/inviteCodes/inviteCodeDate';
5
-
6
5
  export { InviteCodes, InviteCodeCaption, InviteCodeCopy, InviteCodeDate };
@@ -1,12 +1,7 @@
1
1
  import React from 'react';
2
-
3
2
  import { identitySchema as schema } from '@ludo.ninja/api';
4
-
5
- declare const InviteCode: ({
6
- inviteCode,
7
- children,
8
- }: {
9
- inviteCode: schema.IUserInviteCode;
10
- children: JSX.Element;
3
+ declare const InviteCode: ({ inviteCode, children, }: {
4
+ inviteCode: schema.IUserInviteCode;
5
+ children: JSX.Element;
11
6
  }) => React.JSX.Element;
12
7
  export default InviteCode;
@@ -1,12 +1,7 @@
1
1
  import React from 'react';
2
-
3
- declare const InviteCodeCaption: ({
4
- isLoading,
5
- text,
6
- isNeedRender,
7
- }: {
8
- isLoading: boolean;
9
- text: string;
10
- isNeedRender: boolean;
2
+ declare const InviteCodeCaption: ({ isLoading, text, isNeedRender, }: {
3
+ isLoading: boolean;
4
+ text: string;
5
+ isNeedRender: boolean;
11
6
  }) => React.JSX.Element | null;
12
7
  export default InviteCodeCaption;
@@ -1,10 +1,6 @@
1
1
  import React from 'react';
2
-
3
2
  import { identitySchema as schema } from '@ludo.ninja/api';
4
-
5
- declare const InviteCodeCopy: ({
6
- inviteCode,
7
- }: {
8
- inviteCode: schema.IUserInviteCode;
3
+ declare const InviteCodeCopy: ({ inviteCode, }: {
4
+ inviteCode: schema.IUserInviteCode;
9
5
  }) => React.JSX.Element;
10
6
  export default InviteCodeCopy;
@@ -1,8 +1,5 @@
1
1
  import React from 'react';
2
-
3
- declare const InviteCodeActivatedDate: ({
4
- value,
5
- }: {
6
- value: Date;
2
+ declare const InviteCodeActivatedDate: ({ value }: {
3
+ value: Date;
7
4
  }) => React.JSX.Element;
8
5
  export default InviteCodeActivatedDate;
@@ -1,5 +1,4 @@
1
1
  import ResumeCodes from '@/components/inviteCodesPage/wrappers/resumeCodes';
2
2
  import UnusedCodes from '@/components/inviteCodesPage/wrappers/unusedCodes';
3
3
  import UsedCodes from '@/components/inviteCodesPage/wrappers/usedCodes';
4
-
5
4
  export { ResumeCodes, UnusedCodes, UsedCodes };
@@ -1,14 +1,8 @@
1
1
  import React from 'react';
2
-
3
- declare const ResumeCodes: ({
4
- invites,
5
- activeInvites,
6
- isLoading,
7
- userId,
8
- }: {
9
- invites: number;
10
- activeInvites: number;
11
- isLoading: boolean;
12
- userId: string;
2
+ declare const ResumeCodes: ({ invites, activeInvites, isLoading, userId, }: {
3
+ invites: number;
4
+ activeInvites: number;
5
+ isLoading: boolean;
6
+ userId: string;
13
7
  }) => React.JSX.Element;
14
8
  export default ResumeCodes;
@@ -1,12 +1,7 @@
1
1
  import React from 'react';
2
-
3
2
  import { identitySchema as schema } from '@ludo.ninja/api';
4
-
5
- declare const UnusedCodes: ({
6
- unusedInvites,
7
- isLoading,
8
- }: {
9
- unusedInvites: schema.IUserInviteCode[];
10
- isLoading: boolean;
3
+ declare const UnusedCodes: ({ unusedInvites, isLoading, }: {
4
+ unusedInvites: schema.IUserInviteCode[];
5
+ isLoading: boolean;
11
6
  }) => React.JSX.Element | null;
12
7
  export default UnusedCodes;
@@ -1,12 +1,7 @@
1
1
  import React from 'react';
2
-
3
2
  import { identitySchema as schema } from '@ludo.ninja/api';
4
-
5
- declare const UsedCodes: ({
6
- usedInvites,
7
- isLoading,
8
- }: {
9
- usedInvites: schema.IUserInviteCode[];
10
- isLoading: boolean;
3
+ declare const UsedCodes: ({ usedInvites, isLoading, }: {
4
+ usedInvites: schema.IUserInviteCode[];
5
+ isLoading: boolean;
11
6
  }) => React.JSX.Element | null;
12
7
  export default UsedCodes;
@@ -1,15 +1,9 @@
1
1
  import React from 'react';
2
-
3
2
  interface LinkTabsProps {
4
- link: string;
5
- isActive: boolean;
6
- countItems: number | null;
7
- text: string;
3
+ link: string;
4
+ isActive: boolean;
5
+ countItems: number | null;
6
+ text: string;
8
7
  }
9
- declare const LinkTabs: ({
10
- link,
11
- isActive,
12
- countItems,
13
- text,
14
- }: LinkTabsProps) => React.JSX.Element;
8
+ declare const LinkTabs: ({ link, isActive, countItems, text }: LinkTabsProps) => React.JSX.Element;
15
9
  export default LinkTabs;
@@ -1,4 +1,3 @@
1
1
  import React from 'react';
2
-
3
2
  declare const MyWallets: () => React.JSX.Element;
4
3
  export default MyWallets;
@@ -1,9 +1,8 @@
1
1
  import React from 'react';
2
-
3
2
  export declare enum NavigationTabs {
4
- settings = 'settings',
5
- notifications = 'notifications',
6
- privacy = 'privacy',
3
+ settings = "settings",
4
+ notifications = "notifications",
5
+ privacy = "privacy"
7
6
  }
8
7
  declare const Navigation: () => React.JSX.Element;
9
8
  export default Navigation;
@@ -1,13 +1,7 @@
1
1
  import React, { CSSProperties } from 'react';
2
-
3
- export declare const ProfileTabs: ({
4
- totalResults,
5
- profileId,
6
- style,
7
- isMobile,
8
- }: {
9
- totalResults?: number | null | undefined;
10
- profileId: string;
11
- style?: React.CSSProperties | undefined;
12
- isMobile: boolean;
2
+ export declare const ProfileTabs: ({ totalResults, profileId, style, isMobile, }: {
3
+ totalResults?: number | null | undefined;
4
+ profileId: string;
5
+ style?: React.CSSProperties | undefined;
6
+ isMobile: boolean;
13
7
  }) => React.JSX.Element;
@@ -1,24 +1,5 @@
1
1
  import React from 'react';
2
-
3
2
  import { identitySchema as schema } from '@ludo.ninja/api';
4
-
5
- type ProfileAboutTextProps = Pick<
6
- schema.IProfile,
7
- | 'username'
8
- | 'about'
9
- | 'following'
10
- | 'wallets'
11
- | 'followers'
12
- | 'followings'
13
- | 'social'
14
- >;
15
- export declare const ProfileAboutText: ({
16
- username,
17
- about,
18
- following,
19
- wallets,
20
- followers,
21
- followings,
22
- social,
23
- }: ProfileAboutTextProps) => React.JSX.Element;
3
+ type ProfileAboutTextProps = Pick<schema.IProfile, 'username' | 'about' | 'following' | 'wallets' | 'followers' | 'followings' | 'social'>;
4
+ export declare const ProfileAboutText: ({ username, about, following, wallets, followers, followings, social, }: ProfileAboutTextProps) => React.JSX.Element;
24
5
  export {};
@@ -1,8 +1,5 @@
1
1
  import React from 'react';
2
-
3
- declare const ProfileAddToGalleryBtns: ({
4
- addMethod,
5
- }: {
6
- addMethod: () => void;
2
+ declare const ProfileAddToGalleryBtns: ({ addMethod }: {
3
+ addMethod: () => void;
7
4
  }) => React.JSX.Element | null;
8
5
  export default ProfileAddToGalleryBtns;
@@ -1,11 +1,7 @@
1
1
  import React from 'react';
2
-
3
2
  type ProfileStatsProps = {
4
- text: string;
5
- counter: number;
3
+ text: string;
4
+ counter: number;
6
5
  };
7
- export declare const ProfileFollowers: ({
8
- counter,
9
- text,
10
- }: ProfileStatsProps) => React.JSX.Element;
6
+ export declare const ProfileFollowers: ({ counter, text }: ProfileStatsProps) => React.JSX.Element;
11
7
  export {};
@@ -1,11 +1,7 @@
1
1
  import React from 'react';
2
-
3
2
  import { ProfileEntity } from '@ludo.ninja/core';
4
-
5
3
  type ProfileInfoProps = {
6
- profile: ProfileEntity;
4
+ profile: ProfileEntity;
7
5
  };
8
- export declare const ProfileInfo: ({
9
- profile,
10
- }: ProfileInfoProps) => React.JSX.Element;
6
+ export declare const ProfileInfo: ({ profile }: ProfileInfoProps) => React.JSX.Element;
11
7
  export {};
@@ -1,19 +1,10 @@
1
1
  import React from 'react';
2
-
3
2
  import { TDimensions } from '@/utils/screen';
4
-
5
- export declare const ProfileUserCard: ({
6
- userId,
7
- userPic,
8
- userName,
9
- followings,
10
- isFollowing,
11
- windowDimensions,
12
- }: {
13
- userId: string;
14
- userPic: string;
15
- userName: string | null;
16
- followings: number;
17
- isFollowing: boolean;
18
- windowDimensions: TDimensions | null;
3
+ export declare const ProfileUserCard: ({ userId, userPic, userName, followings, isFollowing, windowDimensions, }: {
4
+ userId: string;
5
+ userPic: string;
6
+ userName: string | null;
7
+ followings: number;
8
+ isFollowing: boolean;
9
+ windowDimensions: TDimensions | null;
19
10
  }) => React.JSX.Element;
@@ -1,9 +1,5 @@
1
1
  import React from 'react';
2
-
3
2
  import { identitySchema as schema } from '@ludo.ninja/api';
4
-
5
3
  type ProfileInfoProps = Pick<schema.IProfile, 'rank'>;
6
- export declare const ProfileRank: ({
7
- rank,
8
- }: ProfileInfoProps) => React.JSX.Element;
4
+ export declare const ProfileRank: ({ rank }: ProfileInfoProps) => React.JSX.Element;
9
5
  export {};
@@ -1,3 +1,2 @@
1
1
  import React from 'react';
2
-
3
2
  export declare const ProfileWallets: () => React.JSX.Element | null;
@@ -1,13 +1,7 @@
1
1
  import React from 'react';
2
-
3
2
  import { ProfileEntity } from '@ludo.ninja/core';
4
-
5
- export declare const ProfileWrapper: ({
6
- profile,
7
- url,
8
- children,
9
- }: {
10
- profile: ProfileEntity;
11
- url: string;
12
- children: React.ReactNode;
3
+ export declare const ProfileWrapper: ({ profile, url, children, }: {
4
+ profile: ProfileEntity;
5
+ url: string;
6
+ children: React.ReactNode;
13
7
  }) => React.JSX.Element;
@@ -1,18 +1,16 @@
1
1
  import React from 'react';
2
-
3
2
  import { preferencesSchema as schema } from '@ludo.ninja/api';
4
-
5
3
  interface Props {
6
- step: string;
7
- maxSteps: string;
8
- title: string;
9
- subtitle: string;
10
- values: schema.IInterest[] | null;
11
- selectedNames: string[];
12
- saveValue: string;
13
- onClick: (name: string) => void;
14
- onSaveClick: () => void;
15
- text: string;
4
+ step: string;
5
+ maxSteps: string;
6
+ title: string;
7
+ subtitle: string;
8
+ values: schema.IInterest[] | null;
9
+ selectedNames: string[];
10
+ saveValue: string;
11
+ onClick: (name: string) => void;
12
+ onSaveClick: () => void;
13
+ text: string;
16
14
  }
17
15
  declare const RegistrationSelection: React.FC<Props>;
18
16
  export default RegistrationSelection;
@@ -1,4 +1,3 @@
1
1
  import React from 'react';
2
-
3
2
  declare const FAQRewards: () => React.JSX.Element;
4
3
  export default FAQRewards;
@@ -1,10 +1,8 @@
1
1
  /// <reference types="react" />
2
- declare const Clarifications: ({
3
- goalsArr,
4
- }: {
5
- goalsArr: {
6
- desc: string;
7
- expPerTime: string;
8
- }[];
9
- }) => import('react').JSX.Element;
2
+ declare const Clarifications: ({ goalsArr, }: {
3
+ goalsArr: {
4
+ desc: string;
5
+ expPerTime: string;
6
+ }[];
7
+ }) => import("react").JSX.Element;
10
8
  export default Clarifications;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- declare const BottomLogo: () => import('react').JSX.Element;
2
+ declare const BottomLogo: () => import("react").JSX.Element;
3
3
  export default BottomLogo;
@@ -1,7 +1,5 @@
1
1
  /// <reference types="react" />
2
- declare const SeasonsTab: ({
3
- title,
4
- }: {
5
- title?: string | undefined;
6
- }) => import('react').JSX.Element;
2
+ declare const SeasonsTab: ({ title }: {
3
+ title?: string | undefined;
4
+ }) => import("react").JSX.Element;
7
5
  export default SeasonsTab;
@@ -1,25 +1,14 @@
1
1
  import { MouseEventHandler } from 'react';
2
-
3
- declare const TaskExpTab: ({
4
- taskTitle,
5
- taskDesc,
6
- ernExp,
7
- segmentsNumber,
8
- partDone,
9
- partReq,
10
- action,
11
- }: {
12
- taskTitle?: string | null | undefined;
13
- taskDesc: string | null;
14
- ernExp: number;
15
- segmentsNumber?: number | undefined;
16
- partDone: number;
17
- partReq: number;
18
- action?:
19
- | {
2
+ declare const TaskExpTab: ({ taskTitle, taskDesc, ernExp, segmentsNumber, partDone, partReq, action, }: {
3
+ taskTitle?: string | null | undefined;
4
+ taskDesc: string | null;
5
+ ernExp: number;
6
+ segmentsNumber?: number | undefined;
7
+ partDone: number;
8
+ partReq: number;
9
+ action?: {
20
10
  text: string;
21
11
  onClick: MouseEventHandler;
22
- }
23
- | undefined;
24
- }) => import('react').JSX.Element;
12
+ } | undefined;
13
+ }) => import("react").JSX.Element;
25
14
  export default TaskExpTab;
@@ -1,9 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { experiencesSchema as schema } from '@ludo.ninja/api';
3
-
4
- declare const Tasks: ({
5
- tasks,
6
- }: {
7
- tasks: schema.ITask[] | null;
8
- }) => import('react').JSX.Element | null;
3
+ declare const Tasks: ({ tasks }: {
4
+ tasks: schema.ITask[] | null;
5
+ }) => import("react").JSX.Element | null;
9
6
  export default Tasks;