@amityco/ui-kit-open-source 4.17.3 → 4.19.1
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/esm/index.css +1 -1
- package/dist/esm/index.js +63 -3972
- package/dist/index.css +1 -1
- package/dist/index.d.mts +149 -181
- package/dist/index.d.ts +149 -181
- package/dist/index.js +200 -4107
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/package.json +4 -5
- package/dist/3VW64HDT-LYCE6SQJ.js +0 -8
- package/dist/J3FDRF32-M7MNUPOJ.js +0 -8
- package/dist/chunk-DE5GFHYC.js +0 -72
- package/dist/chunk-LJEBBGQM.js +0 -1344
- package/dist/esm/3VW64HDT-LYCE6SQJ.js +0 -6
- package/dist/esm/J3FDRF32-M7MNUPOJ.js +0 -6
- package/dist/esm/chunk-DE5GFHYC.js +0 -3
- package/dist/esm/chunk-LJEBBGQM.js +0 -1335
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import React, { FC
|
|
1
|
+
import React, { FC } from 'react';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import * as styled_components_dist_types from 'styled-components/dist/types';
|
|
4
|
-
import * as styled_components from 'styled-components';
|
|
5
3
|
import { AnalyticsSourceTypeEnum, FeedSourceEnum } from '@amityco/ts-sdk';
|
|
6
4
|
|
|
7
5
|
/**
|
|
@@ -106,6 +104,13 @@ interface Config {
|
|
|
106
104
|
can_view_tab: UserAccess;
|
|
107
105
|
};
|
|
108
106
|
};
|
|
107
|
+
chat?: {
|
|
108
|
+
enabled_channel_types?: ('conversation' | 'community')[];
|
|
109
|
+
conversation_chat_user_actions?: {
|
|
110
|
+
name: 'mute' | 'report' | 'block';
|
|
111
|
+
enabled: boolean;
|
|
112
|
+
}[];
|
|
113
|
+
};
|
|
109
114
|
};
|
|
110
115
|
}
|
|
111
116
|
|
|
@@ -211,8 +216,14 @@ interface LivestreamChatMessageComposerProps {
|
|
|
211
216
|
community?: Amity.Community | null;
|
|
212
217
|
isPendingPost?: boolean;
|
|
213
218
|
isPlayer?: boolean;
|
|
219
|
+
/**
|
|
220
|
+
* The channel is still being fetched (e.g. event live chat loads after the
|
|
221
|
+
* stage). Render the compose bar in a disabled placeholder state so the UI
|
|
222
|
+
* matches the loaded layout instead of collapsing to nothing.
|
|
223
|
+
*/
|
|
224
|
+
isChannelPending?: boolean;
|
|
214
225
|
}
|
|
215
|
-
declare const LivestreamChatMessageComposer: ({ pageId, channelId, disabled, community, isPendingPost, isPlayer, }: LivestreamChatMessageComposerProps) => react_jsx_runtime.JSX.Element;
|
|
226
|
+
declare const LivestreamChatMessageComposer: ({ pageId, channelId, disabled, community, isPendingPost, isPlayer, isChannelPending, }: LivestreamChatMessageComposerProps) => react_jsx_runtime.JSX.Element;
|
|
216
227
|
|
|
217
228
|
type CreateLivestreamPageProps = {
|
|
218
229
|
targetType: 'community' | 'user';
|
|
@@ -772,10 +783,10 @@ interface AmityUIKitProviderProps {
|
|
|
772
783
|
};
|
|
773
784
|
userId?: string;
|
|
774
785
|
displayName?: string;
|
|
775
|
-
postRendererConfig?: any;
|
|
776
786
|
theme?: Record<string, unknown>;
|
|
777
787
|
children?: React.ReactNode;
|
|
778
788
|
socialCommunityCreationButtonVisible?: boolean;
|
|
789
|
+
hideExplore?: boolean;
|
|
779
790
|
actionHandlers?: {
|
|
780
791
|
onChangePage?: (data: {
|
|
781
792
|
type: string;
|
|
@@ -829,181 +840,92 @@ interface AmityUIKitProviderProps {
|
|
|
829
840
|
}
|
|
830
841
|
declare const AmityUIKitProvider: React.FC<AmityUIKitProviderProps>;
|
|
831
842
|
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
targetId?: string | null;
|
|
837
|
-
showPostCreator?: boolean;
|
|
838
|
-
onPostCreated?: () => void;
|
|
839
|
-
goToExplore?: () => void;
|
|
840
|
-
readonly?: boolean;
|
|
841
|
-
isHiddenProfile?: boolean;
|
|
843
|
+
declare const Application$1: () => react_jsx_runtime.JSX.Element;
|
|
844
|
+
|
|
845
|
+
interface LiveChatProps {
|
|
846
|
+
channelId: Amity.Channel['channelId'];
|
|
842
847
|
}
|
|
843
|
-
declare const
|
|
844
|
-
|
|
845
|
-
declare const Application: () => react_jsx_runtime.JSX.Element;
|
|
846
|
-
|
|
847
|
-
type PartialChannel = Pick<Amity.Channel, 'channelId' | 'type'>;
|
|
848
|
-
declare const ChatApplication: ({ membershipFilter, defaultChannelId, onMemberSelect, onChannelSelect, onAddNewChannel, onEditChatMember, }: {
|
|
849
|
-
membershipFilter?: "all" | "member" | "notMember" | undefined;
|
|
850
|
-
defaultChannelId: string | null;
|
|
851
|
-
onMemberSelect?: ((member: Amity.Membership<'channel'>) => void) | undefined;
|
|
852
|
-
onChannelSelect?: ((channel: PartialChannel) => void) | undefined;
|
|
853
|
-
onAddNewChannel?: (() => void) | undefined;
|
|
854
|
-
onEditChatMember?: (({ channel, members, }: {
|
|
855
|
-
channel: Amity.Channel;
|
|
856
|
-
members: Amity.Membership<'channel'>[];
|
|
857
|
-
}) => void) | undefined;
|
|
858
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
848
|
+
declare const LiveChat: ({ channelId }: LiveChatProps) => react_jsx_runtime.JSX.Element | null;
|
|
859
849
|
|
|
860
|
-
|
|
861
|
-
|
|
850
|
+
declare function Application(): react_jsx_runtime.JSX.Element;
|
|
851
|
+
|
|
852
|
+
declare function ChatHomePage(): react_jsx_runtime.JSX.Element;
|
|
853
|
+
|
|
854
|
+
declare function ChannelCreateConversationPage(): react_jsx_runtime.JSX.Element;
|
|
855
|
+
|
|
856
|
+
type SelectGroupMemberPageProps = {
|
|
857
|
+
selectedGroupMember?: Amity.User[];
|
|
862
858
|
};
|
|
863
|
-
declare
|
|
859
|
+
declare function SelectGroupMemberPage({ selectedGroupMember }: SelectGroupMemberPageProps): react_jsx_runtime.JSX.Element;
|
|
864
860
|
|
|
865
|
-
|
|
861
|
+
type CreateGroupChatPageProps = {
|
|
862
|
+
selectedUsers: Amity.User[];
|
|
863
|
+
};
|
|
864
|
+
declare function CreateGroupChatPage({ selectedUsers }: CreateGroupChatPageProps): react_jsx_runtime.JSX.Element;
|
|
866
865
|
|
|
867
|
-
|
|
866
|
+
type ChatPageProps = {
|
|
867
|
+
channelId?: string;
|
|
868
|
+
userId?: string;
|
|
869
|
+
userDisplayName?: string;
|
|
870
|
+
avatarUrl?: string;
|
|
871
|
+
isJustCreated?: boolean;
|
|
872
|
+
jumpToMessageId?: string;
|
|
873
|
+
};
|
|
874
|
+
declare function ChatPage({ channelId, userId, userDisplayName, avatarUrl, isJustCreated, jumpToMessageId, }: ChatPageProps): react_jsx_runtime.JSX.Element;
|
|
868
875
|
|
|
869
|
-
|
|
876
|
+
type GroupChatPageProps = {
|
|
877
|
+
channelId: string;
|
|
878
|
+
isJustCreated?: boolean;
|
|
879
|
+
jumpToMessageId?: string;
|
|
880
|
+
};
|
|
881
|
+
declare function GroupChatPage({ channelId, isJustCreated, jumpToMessageId }: GroupChatPageProps): react_jsx_runtime.JSX.Element;
|
|
870
882
|
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
UserFeed = "userfeed",
|
|
876
|
-
CommunityFeed = "communityfeed",
|
|
877
|
-
CommunityEdit = "communityedit",
|
|
878
|
-
UserEdit = "useredit",
|
|
879
|
-
ViewStory = "viewstory",
|
|
880
|
-
DraftPage = "draftpage"
|
|
881
|
-
}
|
|
883
|
+
type EditGroupProfilePageProps = {
|
|
884
|
+
channelId: string;
|
|
885
|
+
};
|
|
886
|
+
declare function EditGroupProfilePage({ channelId }: EditGroupProfilePageProps): react_jsx_runtime.JSX.Element;
|
|
882
887
|
|
|
883
|
-
type
|
|
884
|
-
|
|
885
|
-
url: string;
|
|
886
|
-
} | {
|
|
887
|
-
type: 'video';
|
|
888
|
-
url: string;
|
|
888
|
+
type EditGroupNotificationPageProps = {
|
|
889
|
+
channelId: string;
|
|
889
890
|
};
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
891
|
+
declare function EditGroupNotificationPage({ channelId }: EditGroupNotificationPageProps): react_jsx_runtime.JSX.Element;
|
|
892
|
+
|
|
893
|
+
type EditGroupMemberPermissionsPageProps = {
|
|
894
|
+
channelId: string;
|
|
894
895
|
};
|
|
895
|
-
declare
|
|
896
|
+
declare function EditGroupMemberPermissionsPage({ channelId }: EditGroupMemberPermissionsPageProps): react_jsx_runtime.JSX.Element;
|
|
896
897
|
|
|
897
|
-
type
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
}
|
|
901
|
-
type: PageTypes.CommunityFeed;
|
|
902
|
-
communityId: string;
|
|
903
|
-
isNewCommunity: boolean;
|
|
904
|
-
} | {
|
|
905
|
-
type: PageTypes.CommunityEdit;
|
|
906
|
-
communityId: string;
|
|
907
|
-
tab: string;
|
|
908
|
-
} | {
|
|
909
|
-
type: PageTypes.Category;
|
|
910
|
-
categoryId: string;
|
|
911
|
-
communityId?: string;
|
|
912
|
-
} | {
|
|
913
|
-
type: PageTypes.UserFeed | PageTypes.UserEdit;
|
|
914
|
-
userId: string;
|
|
915
|
-
communityId?: string;
|
|
916
|
-
} | {
|
|
917
|
-
type: PageTypes.ViewStory;
|
|
918
|
-
storyId: string;
|
|
919
|
-
targetId: string;
|
|
920
|
-
communityId?: string;
|
|
921
|
-
targetIds: string[];
|
|
922
|
-
storyType: 'communityFeed' | 'globalFeed';
|
|
923
|
-
} | {
|
|
924
|
-
type: PageTypes.DraftPage;
|
|
925
|
-
communityId?: string;
|
|
926
|
-
mediaType: AmityStoryMediaType$1;
|
|
927
|
-
targetId: string;
|
|
928
|
-
targetType: Amity.StoryTargetType;
|
|
929
|
-
storyType: 'communityFeed' | 'globalFeed';
|
|
930
|
-
};
|
|
931
|
-
type ContextValue = {
|
|
932
|
-
page: Page;
|
|
933
|
-
onChangePage: (type: string) => void;
|
|
934
|
-
onClickCategory: (categoryId: string) => void;
|
|
935
|
-
onClickCommunity: (communityId: string) => void;
|
|
936
|
-
onClickUser: (userId: string, pageType?: string) => void;
|
|
937
|
-
onClickStory: (storyId: string, storyType: 'communityFeed' | 'globalFeed', targetId?: string[]) => void;
|
|
938
|
-
onCommunityCreated: (communityId: string) => void;
|
|
939
|
-
onEditCommunity: (communityId: string, tab?: string) => void;
|
|
940
|
-
onEditUser: (userId: string) => void;
|
|
941
|
-
onMessageUser: (userId: string) => void;
|
|
942
|
-
onBack: () => void;
|
|
943
|
-
goToDraftStoryPage: (targetId: string, targetType: string, mediaType: AmityStoryMediaType$1, storyType: 'communityFeed' | 'globalFeed') => void;
|
|
944
|
-
setNavigationBlocker?: (params: {
|
|
945
|
-
title: ReactNode;
|
|
946
|
-
content: ReactNode;
|
|
947
|
-
okText: ReactNode;
|
|
948
|
-
onOk?: () => void;
|
|
949
|
-
} | null | undefined) => void;
|
|
950
|
-
};
|
|
951
|
-
declare const useNavigation: () => ContextValue;
|
|
952
|
-
|
|
953
|
-
declare const SIZE_ALIAS: {
|
|
954
|
-
BIG: string;
|
|
955
|
-
REGULAR: string;
|
|
956
|
-
SMALL: string;
|
|
957
|
-
TINY: string;
|
|
958
|
-
};
|
|
959
|
-
|
|
960
|
-
interface AvatarProps {
|
|
961
|
-
className?: string;
|
|
962
|
-
avatar?: string | null;
|
|
963
|
-
showOverlay?: boolean;
|
|
964
|
-
size?: ValueOf<typeof SIZE_ALIAS> | null;
|
|
965
|
-
onClick?: () => void;
|
|
966
|
-
loading?: boolean;
|
|
967
|
-
backgroundImage?: string | null;
|
|
968
|
-
}
|
|
969
|
-
declare const _default$1: (props: AvatarProps) => react_jsx_runtime.JSX.Element;
|
|
898
|
+
type GroupNotificationPreferencePageProps = {
|
|
899
|
+
channelId: string;
|
|
900
|
+
};
|
|
901
|
+
declare function GroupNotificationPreferencePage({ channelId, }: GroupNotificationPreferencePageProps): react_jsx_runtime.JSX.Element;
|
|
970
902
|
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
className?: string | undefined;
|
|
976
|
-
children?: ReactNode;
|
|
977
|
-
}) => react_jsx_runtime.JSX.Element, keyof React.Component<any, {}, any>>;
|
|
903
|
+
type GroupSettingPageProps = {
|
|
904
|
+
channelId: string;
|
|
905
|
+
};
|
|
906
|
+
declare function GroupSettingPage({ channelId }: GroupSettingPageProps): react_jsx_runtime.JSX.Element;
|
|
978
907
|
|
|
979
|
-
type
|
|
980
|
-
|
|
981
|
-
length: number;
|
|
982
|
-
index: number;
|
|
983
|
-
type: string;
|
|
984
|
-
displayName: string;
|
|
908
|
+
type GroupMemberListPageProps = {
|
|
909
|
+
channelId: string;
|
|
985
910
|
};
|
|
911
|
+
declare function GroupMemberListPage({ channelId }: GroupMemberListPageProps): react_jsx_runtime.JSX.Element;
|
|
986
912
|
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
}
|
|
913
|
+
type AddGroupMemberPageProps = {
|
|
914
|
+
channelId: string;
|
|
915
|
+
};
|
|
916
|
+
declare function AddGroupMemberPage({ channelId }: AddGroupMemberPageProps): react_jsx_runtime.JSX.Element;
|
|
991
917
|
|
|
992
|
-
|
|
918
|
+
type BannedGroupMemberListPageProps = {
|
|
919
|
+
channelId: string;
|
|
920
|
+
};
|
|
921
|
+
declare function BannedGroupMemberListPage({ channelId }: BannedGroupMemberListPageProps): react_jsx_runtime.JSX.Element;
|
|
993
922
|
|
|
994
|
-
|
|
995
|
-
text?: string;
|
|
996
|
-
className?: string;
|
|
997
|
-
mentionees?: Mentioned[];
|
|
998
|
-
maxLines?: number;
|
|
999
|
-
}
|
|
1000
|
-
declare const CommentText: ({ text, className, mentionees, maxLines, }: CommentTextProps) => react_jsx_runtime.JSX.Element | null;
|
|
923
|
+
declare function ArchivedChatPage(): react_jsx_runtime.JSX.Element;
|
|
1001
924
|
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
currentUserId?: string | null | undefined;
|
|
1005
|
-
userRoles: string[];
|
|
925
|
+
type PageRendererProps = {
|
|
926
|
+
children: React.JSX.Element;
|
|
1006
927
|
};
|
|
928
|
+
declare const PageRenderer: ({ children }: PageRendererProps) => react_jsx_runtime.JSX.Element | null;
|
|
1007
929
|
|
|
1008
930
|
/**
|
|
1009
931
|
* Interface representing the session handler for the Amity SDK.
|
|
@@ -1169,12 +1091,7 @@ interface ReactionListProps {
|
|
|
1169
1091
|
referenceType: Amity.ReactableType;
|
|
1170
1092
|
}
|
|
1171
1093
|
|
|
1172
|
-
|
|
1173
|
-
channelId: Amity.Channel['channelId'];
|
|
1174
|
-
}
|
|
1175
|
-
declare const LiveChat: ({ channelId }: LiveChatProps) => react_jsx_runtime.JSX.Element | null;
|
|
1176
|
-
|
|
1177
|
-
type AmityStoryMediaType = {
|
|
1094
|
+
type AmityStoryMediaType$1 = {
|
|
1178
1095
|
type: 'image';
|
|
1179
1096
|
url: string;
|
|
1180
1097
|
} | {
|
|
@@ -1182,7 +1099,7 @@ type AmityStoryMediaType = {
|
|
|
1182
1099
|
url: string;
|
|
1183
1100
|
};
|
|
1184
1101
|
type StoryPreviewProps = {
|
|
1185
|
-
mediaType?: AmityStoryMediaType;
|
|
1102
|
+
mediaType?: AmityStoryMediaType$1;
|
|
1186
1103
|
imageMode: 'fit' | 'fill';
|
|
1187
1104
|
width?: number;
|
|
1188
1105
|
height?: number;
|
|
@@ -1220,6 +1137,20 @@ type StoryPreviewThumbnailProps = {
|
|
|
1220
1137
|
};
|
|
1221
1138
|
declare const StoryPreviewThumbnail: React.FC<StoryPreviewThumbnailProps>;
|
|
1222
1139
|
|
|
1140
|
+
type AmityStoryMediaType = {
|
|
1141
|
+
type: 'image';
|
|
1142
|
+
url: string;
|
|
1143
|
+
} | {
|
|
1144
|
+
type: 'video';
|
|
1145
|
+
url: string;
|
|
1146
|
+
};
|
|
1147
|
+
type AmityDraftStoryPageProps = {
|
|
1148
|
+
targetId: string;
|
|
1149
|
+
targetType: Amity.StoryTargetType;
|
|
1150
|
+
mediaType?: AmityStoryMediaType;
|
|
1151
|
+
};
|
|
1152
|
+
declare const AmityDraftStoryPage: (props: AmityDraftStoryPageProps) => react_jsx_runtime.JSX.Element;
|
|
1153
|
+
|
|
1223
1154
|
type ViewStoryPageType = 'communityFeed' | 'globalFeed';
|
|
1224
1155
|
interface AmityViewStoryPageProps {
|
|
1225
1156
|
type: ViewStoryPageType;
|
|
@@ -1230,6 +1161,7 @@ declare const ViewStoryPage: React.FC<AmityViewStoryPageProps>;
|
|
|
1230
1161
|
declare function StoryTargetSelectionPage(): react_jsx_runtime.JSX.Element;
|
|
1231
1162
|
|
|
1232
1163
|
declare enum HomePageTab {
|
|
1164
|
+
ForYou = "ForYou",
|
|
1233
1165
|
Newsfeed = "Newsfeed",
|
|
1234
1166
|
Explore = "Explore",
|
|
1235
1167
|
MyCommunities = "My communities",
|
|
@@ -1241,6 +1173,12 @@ declare enum HomePageTab {
|
|
|
1241
1173
|
declare function SocialHomePage({ activeTab: initialActiveTab }: {
|
|
1242
1174
|
activeTab?: HomePageTab;
|
|
1243
1175
|
}): react_jsx_runtime.JSX.Element;
|
|
1176
|
+
declare namespace SocialHomePage {
|
|
1177
|
+
var TabsSkeleton: () => react_jsx_runtime.JSX.Element;
|
|
1178
|
+
var FeedSkeleton: ({ pageId }: {
|
|
1179
|
+
pageId?: string | undefined;
|
|
1180
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
1181
|
+
}
|
|
1244
1182
|
|
|
1245
1183
|
declare function SelectPostTargetPage({ isClipPost }: {
|
|
1246
1184
|
isClipPost?: boolean;
|
|
@@ -1455,18 +1393,6 @@ type MyCommunitiesProps = {
|
|
|
1455
1393
|
};
|
|
1456
1394
|
declare const MyCommunities: ({ pageId }: MyCommunitiesProps) => react_jsx_runtime.JSX.Element;
|
|
1457
1395
|
|
|
1458
|
-
interface GlobalFeedProps {
|
|
1459
|
-
pageId?: string;
|
|
1460
|
-
componentId?: string;
|
|
1461
|
-
items: Array<Amity.Post | Amity.Ad>;
|
|
1462
|
-
globalFeaturedPosts?: Array<Amity.PinnedPost>;
|
|
1463
|
-
isLoading: boolean;
|
|
1464
|
-
isGlobalFeaturedPostsLoading?: boolean;
|
|
1465
|
-
onFeedReachBottom: () => void;
|
|
1466
|
-
onPostDeleted?: (post: Amity.Post) => void;
|
|
1467
|
-
}
|
|
1468
|
-
declare const GlobalFeed: ({ pageId, componentId, items, isLoading, globalFeaturedPosts, isGlobalFeaturedPostsLoading, onFeedReachBottom, onPostDeleted, }: GlobalFeedProps) => react_jsx_runtime.JSX.Element;
|
|
1469
|
-
|
|
1470
1396
|
interface EmptyNewsfeedProps {
|
|
1471
1397
|
pageId?: string;
|
|
1472
1398
|
}
|
|
@@ -1589,6 +1515,48 @@ type JoinRequestContentProps = {
|
|
|
1589
1515
|
};
|
|
1590
1516
|
declare const JoinRequestContent: ({ pageId, joinRequests, isLoading, refresh, }: JoinRequestContentProps) => react_jsx_runtime.JSX.Element;
|
|
1591
1517
|
|
|
1518
|
+
type FeedProps = {
|
|
1519
|
+
pageId?: string;
|
|
1520
|
+
componentId?: string;
|
|
1521
|
+
posts: Array<Amity.Post>;
|
|
1522
|
+
newPosts?: Array<Amity.Post>;
|
|
1523
|
+
globalFeaturedPosts?: Array<Amity.PinnedPost>;
|
|
1524
|
+
isLoading: boolean;
|
|
1525
|
+
isLoadingFirstPage: boolean;
|
|
1526
|
+
hasMore: boolean;
|
|
1527
|
+
isGlobalFeaturedPostsLoading?: boolean;
|
|
1528
|
+
withAnalytics?: boolean;
|
|
1529
|
+
onFeedReachBottom: () => void;
|
|
1530
|
+
onPostDeleted?: (post: Amity.Post) => void;
|
|
1531
|
+
};
|
|
1532
|
+
declare function Feed({ pageId, componentId, posts, newPosts, globalFeaturedPosts, isLoading, isLoadingFirstPage, hasMore, withAnalytics, onFeedReachBottom, onPostDeleted, }: FeedProps): react_jsx_runtime.JSX.Element;
|
|
1533
|
+
declare namespace Feed {
|
|
1534
|
+
var Post: typeof FeedPost;
|
|
1535
|
+
}
|
|
1536
|
+
type FeedPostProps = {
|
|
1537
|
+
pageId: string;
|
|
1538
|
+
post: Amity.Post;
|
|
1539
|
+
renderIndex: number;
|
|
1540
|
+
withAnalytics: boolean;
|
|
1541
|
+
onPostDeleted?: (post: Amity.Post) => void;
|
|
1542
|
+
onClick: NonNullable<React.ComponentProps<typeof PostContent>['onClick']>;
|
|
1543
|
+
};
|
|
1544
|
+
declare function FeedPost({ pageId, post, renderIndex, withAnalytics, onPostDeleted, onClick, }: FeedPostProps): react_jsx_runtime.JSX.Element;
|
|
1545
|
+
|
|
1546
|
+
type ForYouFeedProps = {
|
|
1547
|
+
pageId: string;
|
|
1548
|
+
};
|
|
1549
|
+
declare function ForYouFeed({ pageId }: ForYouFeedProps): react_jsx_runtime.JSX.Element;
|
|
1550
|
+
|
|
1551
|
+
type FeedCaughtUpProps = {
|
|
1552
|
+
pageId?: string;
|
|
1553
|
+
componentId?: string;
|
|
1554
|
+
title?: string;
|
|
1555
|
+
ctaLabel?: string;
|
|
1556
|
+
onSwitchRequested: () => void;
|
|
1557
|
+
};
|
|
1558
|
+
declare function FeedCaughtUp({ pageId, componentId, title, ctaLabel, onSwitchRequested, }: FeedCaughtUpProps): react_jsx_runtime.JSX.Element | null;
|
|
1559
|
+
|
|
1592
1560
|
type ExploreEventProps = {
|
|
1593
1561
|
pageId?: string;
|
|
1594
1562
|
};
|
|
@@ -1599,4 +1567,4 @@ type MyEventsProps = {
|
|
|
1599
1567
|
};
|
|
1600
1568
|
declare function MyEvents({ pageId }: MyEventsProps): react_jsx_runtime.JSX.Element | null;
|
|
1601
1569
|
|
|
1602
|
-
export { AllCategoriesPage as AmityAllCategoriesPage,
|
|
1570
|
+
export { AddGroupMemberPage as AmityAddGroupMemberPage, AllCategoriesPage as AmityAllCategoriesPage, ArchivedChatPage as AmityArchivedChatPage, BannedGroupMemberListPage as AmityBannedGroupMemberListPage, BlockedUserPage as AmityBlockedUserPage, ChannelCreateConversationPage as AmityChannelCreateConversationPage, ChatHomePage as AmityChatHomePage, ChatPage as AmityChatPage, ClipFeedPage as AmityClipFeedPage, CommentTray as AmityCommentTrayComponent, CommunitiesByCategoryPage as AmityCommunitiesByCategoryPage, CommunityAddCategoryPage as AmityCommunityAddCategoryPage, CommunityAddMemberPage as AmityCommunityAddMemberPage, CommunityEventFeed as AmityCommunityEventFeedComponent, CommunityFeed as AmityCommunityFeedComponent, CommunityHeader as AmityCommunityHeaderComponent, CommunityImageFeed as AmityCommunityImageFeedComponent, CommunityInviteMemberPage as AmityCommunityInviteMemberPage, CommunityMediaFeed as AmityCommunityMediaFeedComponent, CommunityMembershipPage as AmityCommunityMembershipPage, CommunityPendingInvitationPage as AmityCommunityPendingInvitationPage, CommunityPinnedPost as AmityCommunityPinnedPostComponent, CommunityPostPermissionPage as AmityCommunityPostPermissionPage, CommunityProfilePage as AmityCommunityProfilePage, CommunitySearchResult as AmityCommunitySearchResultComponent, CommunitySettingPage as AmityCommunitySettingPage, CommunitySetupPage as AmityCommunitySetupPage, AmityCommunitySetupPageMode, CommunityStorySettingPage as AmityCommunityStorySettingPage, CommunityVideoFeed as AmityCommunityVideoFeedComponent, CreateGroupChatPage as AmityCreateGroupChatPage, CreateLivestreamPage as AmityCreateLivestreamPage, CreatePostMenu as AmityCreatePostMenuComponent, DetailedMediaAttachment as AmityDetailedMediaAttachmentComponent, DraftClipPage as AmityDraftClipPage, AmityDraftStoryPage, EditGroupMemberPermissionsPage as AmityEditGroupMemberPermissionsPage, EditGroupNotificationPage as AmityEditGroupNotificationPage, EditGroupProfilePage as AmityEditGroupProfilePage, EditUserProfilePage as AmityEditUserProfilePage, EmptyNewsfeed as AmityEmptyNewsFeedComponent, EventAttendeesPage as AmityEventAttendeesPage, EventDetailPage as AmityEventDetailPage, EventInfo as AmityEventInfoComponent, EventSetupPage as AmityEventSetupPage, EventSetupMode as AmityEventSetupPageMode, EventTargetSelectionPage as AmityEventTargetSelectionPage, Explore as AmityExploreComponent, ExploreEvent as AmityExploreEventFeedComponent, FeedCaughtUp as AmityFeedCaughtUpComponent, ForYouFeed as AmityForYouFeedComponent, Feed as AmityGlobalFeedComponent, GroupChatPage as AmityGroupChatPage, GroupMemberListPage as AmityGroupMemberListPage, GroupNotificationPreferencePage as AmityGroupNotificationPreferencePage, GroupSettingPage as AmityGroupSettingPage, InvitationBanner as AmityInvitationBannerComponent, InvitationSection as AmityInvitationSectionComponent, JoinRequestContent as AmityJoinRequestContentComponent, ChatHeader as AmityLiveChatHeader, MessageComposer as AmityLiveChatMessageComposeBar, MessageList as AmityLiveChatMessageList, MessageQuickReaction as AmityLiveChatMessageQuickReaction, MessageReactionPicker as AmityLiveChatMessageReactionPicker, MessageReactionPreview as AmityLiveChatMessageReactionPreview, LiveChat as AmityLiveChatPage, LiveStreamBannedPage as AmityLiveStreamBannedPage, LiveStreamPlayerPage as AmityLiveStreamPlayerPage, LivestreamChatMessageComposer as AmityLivestreamChatMessageComposerComponent, LivestreamTargetSelectionPage as AmityLivestreamTargetSelectionPage, LivestreamTerminatedPage as AmityLivestreamTerminatedPage, LivestreamUnsupportedPage as AmityLivestreamUnsupportedPage, ManageProductTagList as AmityManageProductTagListComponent, MediaAttachment as AmityMediaAttachmentComponent, type MessageActionType as AmityMessageActionType, MyCommunities as AmityMyCommunitiesComponent, MyCommunitiesSearchPage as AmityMyCommunitiesSearchPage, MyEvents as AmityMyEventFeedComponent, Newsfeed as AmityNewsFeedComponent, PageRenderer as AmityPageRenderer, PastEventsPage as AmityPastEventsPage, PendingPostContent as AmityPendingPostContentComponent, PendingPostList as AmityPendingPostListComponent, PendingPostsPage as AmityPendingPostsPage, PendingRequestPage as AmityPendingRequestPage, PollPostComposerPage as AmityPollPostComposerPage, PollTargetSelectionPage as AmityPollTargetSelectionPage, PostComposerPage as AmityPostComposerPage, PostContent as AmityPostContentComponent, PostDetailPage as AmityPostDetailPage, SelectPostTargetPage as AmityPostTargetSelectionPage, ProductTagList as AmityProductTagListComponent, ProductTagSelection as AmityProductTagSelectionComponent, ReactionList as AmityReactionListComponent, type ReactionListProps as AmityReactionListProps, SelectGroupMemberPage as AmitySelectGroupMemberPage, SocialGlobalSearchPage as AmitySocialGlobalSearchPage, SocialHomePage as AmitySocialHomePage, HomePageTab as AmitySocialHomePageTab, TopNavigation as AmitySocialHomeTopNavigationComponent, StoryPreview as AmityStoryPreview, StoryPreviewThumbnail as AmityStoryPreviewThumbnail, StoryTab as AmityStoryTabComponent, StoryTargetSelectionPage as AmityStoryTargetSelectionPage, TopSearchBar as AmityTopSearchBarComponent, AmityUIKitManager, Application as AmityUiKitChatV4, AmityUIKitProvider as AmityUiKitProvider, Application$1 as AmityUiKitSocial, UpcomingEventsPage as AmityUpcomingEventsPage, UserFeed as AmityUserFeedComponent, UserImageFeed as AmityUserImageFeedComponent, UserPendingFollowRequestPage as AmityUserPendingFollowRequestPage, UserProfileHeader as AmityUserProfileHeaderComponent, UserProfilePage as AmityUserProfilePage, UserRelationshipPage as AmityUserRelationshipPage, UserRelationshipPageTabs as AmityUserRelationshipPageTabs, UserSearchResult as AmityUserSearchResultComponent, UserVideoFeed as AmityUserVideoFeedComponent, ViewStoryPage as AmityViewStoryPage };
|