@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.
- package/dist/hooks/likes/useGetLikesAsset.js +140 -305
- package/dist/index.js +1 -0
- package/dist/modules/index.js +3 -0
- package/dist/modules/sessionScroll/index.js +33 -43
- package/dist/modules/user/auth/index.js +1 -0
- package/dist/modules/user/index.js +3 -0
- package/dist/modules/user/profileData/index.js +1 -0
- package/dist/store/index.js +4 -5
- package/dist/types/api/server-search/queries/useFetchCollections/index.d.ts +13 -23
- package/dist/types/api/server-search/queries/useFetchDynamicCollectionData/index.d.ts +9 -13
- package/dist/types/components/CreationCard/CardHead.d.ts +10 -22
- package/dist/types/components/CreationCard/index.d.ts +18 -39
- package/dist/types/components/addWalletsRedirectPage/index.d.ts +2 -5
- package/dist/types/components/assetPage/assetLikes/index.d.ts +4 -9
- package/dist/types/components/assetPage/assetNft/index.d.ts +1 -5
- package/dist/types/components/assetPage/assetWrapper/index.d.ts +5 -12
- package/dist/types/components/assetPage/audioVideoPlayer/Duration.d.ts +1 -2
- package/dist/types/components/assetPage/audioVideoPlayer/index.d.ts +87 -99
- package/dist/types/components/assetPage/category/index.d.ts +2 -5
- package/dist/types/components/assetPage/description/index.d.ts +1 -5
- package/dist/types/components/assetPage/detailsAccordeon/index.d.ts +2 -6
- package/dist/types/components/assetPage/figCaption/index.d.ts +2 -6
- package/dist/types/components/assetPage/information/index.d.ts +2 -6
- package/dist/types/components/assetPage/moreDropDown/index.d.ts +4 -5
- package/dist/types/components/assetPage/participants/index.d.ts +5 -12
- package/dist/types/components/assetPage/priceRank/index.d.ts +5 -11
- package/dist/types/components/assetPage/properties/index.d.ts +1 -5
- package/dist/types/components/assetPage/slider/index.d.ts +2 -7
- package/dist/types/components/assetPage/tittle/index.d.ts +5 -12
- package/dist/types/components/assetPage/viewer3D/index.d.ts +4 -10
- package/dist/types/components/collectionPage/collectionLike/index.d.ts +4 -9
- package/dist/types/components/deleteDialog/index.d.ts +5 -11
- package/dist/types/components/editProfile/UserPicProfile/index.d.ts +2 -5
- package/dist/types/components/favoriteList/add/addAssetToFavoriteList/index.d.ts +1 -2
- package/dist/types/components/favoriteList/add/addCollectionToFavoriteList/index.d.ts +1 -2
- package/dist/types/components/favoriteList/add/addCreationToFavoriteList/index.d.ts +2 -3
- package/dist/types/components/filters/index.d.ts +7 -23
- package/dist/types/components/forms/form/index.d.ts +8 -10
- package/dist/types/components/forms/formsNavigation/index.d.ts +0 -1
- package/dist/types/components/forms/formsTemplate/index.d.ts +6 -9
- package/dist/types/components/gallery/add/addAssetToGallery/index.d.ts +1 -2
- package/dist/types/components/gallery/add/addCreationToGallery/index.d.ts +0 -1
- package/dist/types/components/gradientLabel/index.d.ts +0 -1
- package/dist/types/components/headers/headerSearch/index.d.ts +0 -1
- package/dist/types/components/headers/headerSimple/index.d.ts +0 -1
- package/dist/types/components/inviteCodesPage/components/index.d.ts +0 -1
- package/dist/types/components/inviteCodesPage/components/inviteCodes/inviteCode/index.d.ts +3 -8
- package/dist/types/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/index.d.ts +4 -9
- package/dist/types/components/inviteCodesPage/components/inviteCodes/inviteCodeCopy/index.d.ts +2 -6
- package/dist/types/components/inviteCodesPage/components/inviteCodes/inviteCodeDate/index.d.ts +2 -5
- package/dist/types/components/inviteCodesPage/wrappers/index.d.ts +0 -1
- package/dist/types/components/inviteCodesPage/wrappers/resumeCodes/index.d.ts +5 -11
- package/dist/types/components/inviteCodesPage/wrappers/unusedCodes/index.d.ts +3 -8
- package/dist/types/components/inviteCodesPage/wrappers/usedCodes/index.d.ts +3 -8
- package/dist/types/components/linkTabs/linkTab/index.d.ts +5 -11
- package/dist/types/components/myWallets/index.d.ts +0 -1
- package/dist/types/components/navigation/index.d.ts +3 -4
- package/dist/types/components/profile/ProfileTabs.d.ts +5 -11
- package/dist/types/components/profile/aboutText/index.d.ts +2 -21
- package/dist/types/components/profile/addToGalleryBtns/index.d.ts +2 -5
- package/dist/types/components/profile/followersSocial/followers/index.d.ts +3 -7
- package/dist/types/components/profile/info/index.d.ts +2 -6
- package/dist/types/components/profile/profileUserCards/profileUserCard/index.d.ts +7 -16
- package/dist/types/components/profile/rank/index.d.ts +1 -5
- package/dist/types/components/profile/wallets/index.d.ts +0 -1
- package/dist/types/components/profile/wrapper/index.d.ts +4 -10
- package/dist/types/components/registrationPage/registrationSelection/index.d.ts +10 -12
- package/dist/types/components/rewards/FAQ/index.d.ts +0 -1
- package/dist/types/components/rewards/clarifications/index.d.ts +6 -8
- package/dist/types/components/rewards/logoBottom/index.d.ts +1 -1
- package/dist/types/components/rewards/seasonBanner/index.d.ts +3 -5
- package/dist/types/components/rewards/taskExpTab/index.d.ts +10 -21
- package/dist/types/components/rewards/tasksGrid/index.d.ts +3 -6
- package/dist/types/components/rewards/userExp/index.d.ts +8 -17
- package/dist/types/components/search/SearchInputContainer.d.ts +21 -35
- package/dist/types/components/search/index.d.ts +0 -1
- package/dist/types/components/search/searchCloseMoreButtons/index.d.ts +9 -14
- package/dist/types/components/search/searchSimpleInput/index.d.ts +2 -5
- package/dist/types/components/shareDialog/index.d.ts +29 -33
- package/dist/types/components/sidebar/index.d.ts +0 -1
- package/dist/types/components/sidebar/initializer.d.ts +1 -1
- package/dist/types/components/socialButtons/index.d.ts +0 -1
- package/dist/types/components/toTopBtn/index.d.ts +2 -5
- package/dist/types/dto/AssetEntity/views/AssetAudio/index.d.ts +3 -11
- package/dist/types/dto/AssetEntity/views/AssetObject/index.d.ts +5 -14
- package/dist/types/dto/AssetEntity/views/AssetVideo/index.d.ts +3 -11
- package/dist/types/dto/Collection/CollectionCreationEntity/index.d.ts +37 -39
- package/dist/types/dto/CreationEntity/index.d.ts +41 -43
- package/dist/types/dto/common/ItemViews/CreationAudio/index.d.ts +3 -11
- package/dist/types/dto/common/ItemViews/CreationObject/index.d.ts +2 -10
- package/dist/types/hooks/favorites/useGetFavoriteGallaryCreations/index.d.ts +16 -23
- package/dist/types/hooks/favorites/useGetUserFevoritesCreations/index.d.ts +17 -28
- package/dist/types/hooks/galleries/useGetUserGalleriesCreations/index.d.ts +17 -26
- package/dist/types/hooks/likes/dynamic/useGetCollectionInfoAndLikes.d.ts +11 -18
- package/dist/types/hooks/likes/dynamic/useGetMixedLikesFavoriteList.d.ts +13 -18
- package/dist/types/hooks/likes/dynamic/useGetTableLikes.d.ts +9 -19
- package/dist/types/hooks/likes/index.d.ts +12 -20
- package/dist/types/hooks/likes/useGetLikesAsset.d.ts +8 -20
- package/dist/types/hooks/useToGalleryAsset/index.d.ts +12 -21
- package/dist/types/index.d.ts +1 -0
- package/dist/types/layouts/GlobalLayout.d.ts +2 -5
- package/dist/types/layouts/base/LWithRegularHeader/index.d.ts +0 -1
- package/dist/types/layouts/base/LWithRegularHeader/type.d.ts +1 -3
- package/dist/types/layouts/base/LWithSearchHeader/index.d.ts +0 -1
- package/dist/types/layouts/base/LWithSearchHeader/type.d.ts +1 -3
- package/dist/types/layouts/base/LWithSimpleHeader/index.d.ts +0 -1
- package/dist/types/layouts/base/LWithSimpleHeader/type.d.ts +1 -3
- package/dist/types/layouts/base/LWithoutHeader/index.d.ts +0 -1
- package/dist/types/layouts/custom/accountLayout/index.d.ts +0 -1
- package/dist/types/layouts/custom/formsLayout/index.d.ts +0 -1
- package/dist/types/layouts/custom/mainLayout/index.d.ts +0 -1
- package/dist/types/layouts/custom/searchLayout/index.d.ts +0 -1
- package/dist/types/layouts/custom/simpleLayout/index.d.ts +0 -1
- package/dist/types/layouts/pageWithLayout.d.ts +3 -10
- package/dist/types/modules/gallery/ui/AllResults.d.ts +2 -5
- package/dist/types/modules/gallery/ui/EditGallery.d.ts +7 -18
- package/dist/types/modules/gallery/ui/GalleryDeleteIcon.d.ts +3 -7
- package/dist/types/modules/gallery/ui/chooseGalleryItems/index.d.ts +10 -15
- package/dist/types/modules/gallery/ui/itemsPreview/index.d.ts +13 -27
- package/dist/types/modules/index.d.ts +3 -0
- package/dist/types/modules/sessionScroll/index.d.ts +7 -10
- package/dist/types/modules/sessionScroll/useVirtuosoInitialScroll.d.ts +6 -14
- package/dist/types/modules/user/auth/index.d.ts +1 -0
- package/dist/types/modules/user/index.d.ts +3 -0
- package/dist/types/modules/user/profileData/index.d.ts +1 -0
- package/dist/types/modules/virtuoso/VirtuosoPageBuilder.d.ts +14 -32
- package/dist/types/modules/virtuoso/VirtuosoToTopBtn.d.ts +5 -9
- package/dist/types/modules/virtuoso/types.d.ts +2 -3
- package/dist/types/modules/virtuoso/useVirtuosoData.d.ts +8 -16
- package/dist/types/store/index.d.ts +7 -14
- package/dist/types/system/Cards/CardContent/CardLikes/index.d.ts +3 -7
- package/dist/types/system/Cards/CardHeadIcons/index.d.ts +10 -24
- package/dist/types/system/Cards/CardMedia/CardAudio/index.d.ts +5 -11
- package/dist/types/system/Cards/CardRank/index.d.ts +3 -2
- package/dist/types/system/Cards/CardsGrid/index.d.ts +9 -19
- package/dist/types/system/Cards/MultiMediaCard/index.d.ts +4 -10
- package/dist/types/system/Cards/RegularCard/index.d.ts +14 -28
- package/dist/types/system/CardsHolderWithSkeleton/CardsHolder/index.d.ts +13 -20
- package/dist/types/system/CardsHolderWithSkeleton/CardsHolderLoader/index.d.ts +0 -1
- package/dist/types/system/CardsHolderWithSkeleton/index.d.ts +20 -27
- package/dist/types/system/Forms/Selects/DesktopSelect/index.d.ts +6 -15
- package/dist/types/system/Img/Profilepic/index.d.ts +4 -6
- package/dist/types/system/ShareIconResize.d.ts +1 -1
- package/dist/types/utils/adaptive/check4k.d.ts +3 -7
- package/dist/types/utils/adaptive/scale.d.ts +8 -14
- package/dist/types/utils/copyBtn/index.d.ts +3 -8
- package/dist/types/utils/extractItemIds/index.d.ts +1 -4
- package/dist/types/utils/getPageSizeAssets.d.ts +3 -6
- package/dist/types/utils/screen/index.d.ts +9 -9
- package/package.json +1 -1
- package/src/index.ts +1 -0
- package/src/store/index.ts +2 -0
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
2
|
interface Props {
|
|
4
|
-
|
|
5
|
-
|
|
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
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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,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
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
8
|
+
[K in FormsNavigationTabs]?: {
|
|
9
|
+
formTitle: string;
|
|
10
|
+
formDescription: string;
|
|
11
|
+
inputs: InputProps[];
|
|
12
|
+
submitMutation?: any;
|
|
13
|
+
};
|
|
17
14
|
};
|
|
@@ -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
|
-
|
|
6
|
-
|
|
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;
|
package/dist/types/components/inviteCodesPage/components/inviteCodes/inviteCodeCaption/index.d.ts
CHANGED
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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;
|
package/dist/types/components/inviteCodesPage/components/inviteCodes/inviteCodeCopy/index.d.ts
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
2
|
import { identitySchema as schema } from '@ludo.ninja/api';
|
|
4
|
-
|
|
5
|
-
|
|
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,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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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
|
-
|
|
6
|
-
|
|
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
|
-
|
|
6
|
-
|
|
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
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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,9 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
2
|
export declare enum NavigationTabs {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
5
|
-
|
|
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
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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,13 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
2
|
import { ProfileEntity } from '@ludo.ninja/core';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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,10 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
declare const Clarifications: ({
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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,7 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
declare const SeasonsTab: ({
|
|
3
|
-
|
|
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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
|
|
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
|
-
|
|
5
|
-
|
|
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;
|