@amityco/ulta-ui-kit 4.0.0-alpha.2 → 4.0.0-beta.2
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/package.json +1 -1
- package/dist/CircularStd-Book-X7C7G6T7.ttf +0 -0
- package/dist/esm/CircularStd-Book-X7C7G6T7.ttf +0 -0
- package/dist/esm/index.css +0 -6
- package/dist/esm/index.js +0 -4216
- package/dist/index.css +0 -6
- package/dist/index.d.mts +0 -897
- package/dist/index.d.ts +0 -897
- package/dist/index.js +0 -4315
- package/dist/metafile-cjs.json +0 -1
- package/dist/metafile-esm.json +0 -1
package/dist/index.d.mts
DELETED
|
@@ -1,897 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode, RefObject } from 'react';
|
|
2
|
-
import * as styled_components_dist_types from 'styled-components/dist/types';
|
|
3
|
-
import * as styled_components from 'styled-components';
|
|
4
|
-
|
|
5
|
-
type AmityReactionType = {
|
|
6
|
-
name: string;
|
|
7
|
-
image: string;
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
type ThemeValue = {
|
|
11
|
-
primary_color: string;
|
|
12
|
-
secondary_color: string;
|
|
13
|
-
secondary_shade1_color: string;
|
|
14
|
-
secondary_shade2_color: string;
|
|
15
|
-
secondary_shade3_color: string;
|
|
16
|
-
secondary_shade4_color: string;
|
|
17
|
-
base_color: string;
|
|
18
|
-
base_shade1_color: string;
|
|
19
|
-
base_shade2_color: string;
|
|
20
|
-
base_shade3_color: string;
|
|
21
|
-
base_shade4_color: string;
|
|
22
|
-
base_shade5_color: string;
|
|
23
|
-
alert_color: string;
|
|
24
|
-
background_color: string;
|
|
25
|
-
base_inverse_color: string;
|
|
26
|
-
};
|
|
27
|
-
type Theme = {
|
|
28
|
-
light: ThemeValue;
|
|
29
|
-
dark: ThemeValue;
|
|
30
|
-
};
|
|
31
|
-
type ThemeConfiguration = {
|
|
32
|
-
preferred_theme?: 'light' | 'dark' | 'default';
|
|
33
|
-
theme?: {
|
|
34
|
-
light?: Partial<Theme['light']>;
|
|
35
|
-
dark?: Partial<Theme['dark']>;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
interface Config {
|
|
39
|
-
preferred_theme?: 'light' | 'dark' | 'default';
|
|
40
|
-
theme?: {
|
|
41
|
-
light?: Theme['light'];
|
|
42
|
-
dark?: Theme['dark'];
|
|
43
|
-
};
|
|
44
|
-
excludes?: string[];
|
|
45
|
-
message_reactions?: AmityReactionType[];
|
|
46
|
-
customizations?: {
|
|
47
|
-
[key: string]: IconConfiguration & TextConfiguration & ThemeConfiguration & CustomConfiguration;
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
type IconConfiguration = {
|
|
51
|
-
icon?: string;
|
|
52
|
-
image?: string;
|
|
53
|
-
};
|
|
54
|
-
type TextConfiguration = {
|
|
55
|
-
text?: string;
|
|
56
|
-
};
|
|
57
|
-
type CustomConfiguration = {
|
|
58
|
-
[key: string]: string | undefined | boolean | Array<string> | number | Record<string, unknown>;
|
|
59
|
-
};
|
|
60
|
-
|
|
61
|
-
declare enum AmityPostContentComponentStyle {
|
|
62
|
-
FEED = "feed",
|
|
63
|
-
DETAIL = "detail"
|
|
64
|
-
}
|
|
65
|
-
declare enum AmityPostCategory {
|
|
66
|
-
GENERAL = "general",
|
|
67
|
-
ANNOUNCEMENT = "announcement",
|
|
68
|
-
PIN = "pin",
|
|
69
|
-
PIN_AND_ANNOUNCEMENT = "pin_and_announcement"
|
|
70
|
-
}
|
|
71
|
-
interface PostContentProps {
|
|
72
|
-
post: Amity.Post;
|
|
73
|
-
onClick?: () => void;
|
|
74
|
-
onPostDeleted?: (post: Amity.Post) => void;
|
|
75
|
-
style: AmityPostContentComponentStyle;
|
|
76
|
-
category: AmityPostCategory;
|
|
77
|
-
hideMenu?: boolean;
|
|
78
|
-
hideTarget?: boolean;
|
|
79
|
-
pageId?: string;
|
|
80
|
-
}
|
|
81
|
-
declare const PostContent: ({ pageId, post: initialPost, onClick, onPostDeleted, category, hideMenu, hideTarget, style, }: PostContentProps) => React.JSX.Element;
|
|
82
|
-
|
|
83
|
-
type MemberCommunitySetup = {
|
|
84
|
-
userId: string;
|
|
85
|
-
displayName: string;
|
|
86
|
-
};
|
|
87
|
-
declare enum AmityCommunitySetupPageMode {
|
|
88
|
-
CREATE = "create",
|
|
89
|
-
EDIT = "edit"
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
declare enum Mode {
|
|
93
|
-
CREATE = "create",
|
|
94
|
-
EDIT = "edit"
|
|
95
|
-
}
|
|
96
|
-
interface AmityPostComposerEditOptions {
|
|
97
|
-
mode: Mode.EDIT;
|
|
98
|
-
post: Amity.Post;
|
|
99
|
-
}
|
|
100
|
-
interface AmityPostComposerCreateOptions {
|
|
101
|
-
mode: Mode.CREATE;
|
|
102
|
-
targetId: string | null;
|
|
103
|
-
targetType: 'community' | 'user';
|
|
104
|
-
community?: Amity.Community;
|
|
105
|
-
}
|
|
106
|
-
type PostComposerPageProps = AmityPostComposerCreateOptions | AmityPostComposerEditOptions;
|
|
107
|
-
declare function PostComposerPage(props: PostComposerPageProps): React.JSX.Element;
|
|
108
|
-
|
|
109
|
-
declare const enum UserRelationshipPageTabs {
|
|
110
|
-
FOLLOWING = "following",
|
|
111
|
-
FOLLOWER = "followers"
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
interface PageBehavior {
|
|
115
|
-
AmityStoryViewPageBehavior?: {
|
|
116
|
-
onCloseAction?(): void;
|
|
117
|
-
hyperLinkAction?(context: Record<string, unknown>): void;
|
|
118
|
-
};
|
|
119
|
-
AmityDraftStoryPageBehavior?: {
|
|
120
|
-
closeAction?(): void;
|
|
121
|
-
};
|
|
122
|
-
onClickHyperLink?(): void;
|
|
123
|
-
AmitySocialHomePageBehavior?: Record<string, unknown>;
|
|
124
|
-
AmityGlobalFeedComponentBehavior?: {
|
|
125
|
-
goToPostDetailPage?: (context: {
|
|
126
|
-
postId: string;
|
|
127
|
-
}) => void;
|
|
128
|
-
goToViewStoryPage?: (context: {
|
|
129
|
-
targetId: string;
|
|
130
|
-
targetType: Amity.StoryTargetType;
|
|
131
|
-
storyType: 'communityFeed' | 'globalFeed';
|
|
132
|
-
targetIds?: string[];
|
|
133
|
-
}) => void;
|
|
134
|
-
goToCreateCommunityPage?(context: {
|
|
135
|
-
mode: AmityCommunitySetupPageMode;
|
|
136
|
-
}): void;
|
|
137
|
-
};
|
|
138
|
-
AmityPostDetailPageBehavior?: Record<string, unknown>;
|
|
139
|
-
AmityPostContentComponentBehavior?: {
|
|
140
|
-
goToCommunityProfilePage?: (context: {
|
|
141
|
-
communityId: string;
|
|
142
|
-
}) => void;
|
|
143
|
-
goToUserProfilePage?: (context: {
|
|
144
|
-
userId: string;
|
|
145
|
-
}) => void;
|
|
146
|
-
goToPostComposerPage?: (context: {
|
|
147
|
-
mode: Mode.EDIT;
|
|
148
|
-
post: Amity.Post;
|
|
149
|
-
}) => void;
|
|
150
|
-
};
|
|
151
|
-
AmitySocialGlobalSearchPageBehavior?: Record<string, unknown>;
|
|
152
|
-
AmityCommunitySearchResultComponentBehavior?: {
|
|
153
|
-
goToCommunityProfilePage?: (context: {
|
|
154
|
-
communityId: string;
|
|
155
|
-
}) => void;
|
|
156
|
-
};
|
|
157
|
-
AmityUserSearchResultComponentBehavior?: {
|
|
158
|
-
goToUserProfilePage?: (context: {
|
|
159
|
-
userId: string;
|
|
160
|
-
}) => void;
|
|
161
|
-
};
|
|
162
|
-
AmityCreatePostMenuComponentBehavior?: {
|
|
163
|
-
goToSelectPostTargetPage?(): void;
|
|
164
|
-
goToStoryTargetSelectionPage?(): void;
|
|
165
|
-
};
|
|
166
|
-
AmityPostTargetSelectionPage?: {
|
|
167
|
-
goToPostComposerPage?: (context: {
|
|
168
|
-
mode: Mode.CREATE;
|
|
169
|
-
targetId: string | null;
|
|
170
|
-
targetType: 'community' | 'user';
|
|
171
|
-
community?: Amity.Community;
|
|
172
|
-
}) => void;
|
|
173
|
-
};
|
|
174
|
-
AmityStoryTargetSelectionPage?: {
|
|
175
|
-
goToStoryCreationPage?(context: {
|
|
176
|
-
targetId: string | null;
|
|
177
|
-
targetType: Amity.StoryTargetType;
|
|
178
|
-
mediaType: {
|
|
179
|
-
type: 'image';
|
|
180
|
-
url: string;
|
|
181
|
-
} | {
|
|
182
|
-
type: 'video';
|
|
183
|
-
url: string;
|
|
184
|
-
};
|
|
185
|
-
storyType: 'communityFeed' | 'globalFeed';
|
|
186
|
-
}): void;
|
|
187
|
-
};
|
|
188
|
-
AmityPostComposerPageBehavior?: {
|
|
189
|
-
goToSocialHomePage?(): void;
|
|
190
|
-
};
|
|
191
|
-
AmityCommunityProfilePageBehavior?: {
|
|
192
|
-
goToPostComposerPage?(context: {
|
|
193
|
-
mode: Mode.CREATE | Mode.EDIT;
|
|
194
|
-
targetId: string | null;
|
|
195
|
-
targetType: 'community' | 'user';
|
|
196
|
-
community?: Amity.Community;
|
|
197
|
-
post?: Amity.Post;
|
|
198
|
-
}): void;
|
|
199
|
-
goToPostDetailPage?(context: {
|
|
200
|
-
postId: string;
|
|
201
|
-
hideTarget?: boolean;
|
|
202
|
-
category?: AmityPostCategory;
|
|
203
|
-
}): void;
|
|
204
|
-
goToStoryCreationPage?(context: {
|
|
205
|
-
targetId: string | null;
|
|
206
|
-
targetType: Amity.StoryTargetType;
|
|
207
|
-
mediaType: {
|
|
208
|
-
type: 'image';
|
|
209
|
-
url: string;
|
|
210
|
-
} | {
|
|
211
|
-
type: 'video';
|
|
212
|
-
url: string;
|
|
213
|
-
};
|
|
214
|
-
storyType: 'communityFeed' | 'globalFeed';
|
|
215
|
-
}): void;
|
|
216
|
-
goToCommunitySettingPage?(context: {
|
|
217
|
-
community: Amity.Community;
|
|
218
|
-
}): void;
|
|
219
|
-
goToEditCommunityPage?(context: {
|
|
220
|
-
mode: AmityCommunitySetupPageMode;
|
|
221
|
-
community: Amity.Community;
|
|
222
|
-
}): void;
|
|
223
|
-
goToPendingPostPage?(context: {
|
|
224
|
-
communityId: string;
|
|
225
|
-
}): void;
|
|
226
|
-
goToMembershipPage?(context: {
|
|
227
|
-
community: Amity.Community;
|
|
228
|
-
}): void;
|
|
229
|
-
};
|
|
230
|
-
AmitySocialHomeTopNavigationComponentBehavior?: {
|
|
231
|
-
goToCreateCommunityPage?(context: {
|
|
232
|
-
mode: AmityCommunitySetupPageMode;
|
|
233
|
-
}): void;
|
|
234
|
-
};
|
|
235
|
-
AmityCommunitySetupPageBehavior?: {
|
|
236
|
-
goToAddCategoryPage?(context: {
|
|
237
|
-
categories?: Amity.Category[];
|
|
238
|
-
}): void;
|
|
239
|
-
goToAddMemberPage?(context: {
|
|
240
|
-
members?: MemberCommunitySetup[];
|
|
241
|
-
communityId?: string;
|
|
242
|
-
onAddedAction?: (userId: string[]) => void;
|
|
243
|
-
}): void;
|
|
244
|
-
};
|
|
245
|
-
AmityCommunitySettingPageBehavior?: {
|
|
246
|
-
goToEditCommunityPage?(context: {
|
|
247
|
-
mode: AmityCommunitySetupPageMode;
|
|
248
|
-
community: Amity.Community;
|
|
249
|
-
}): void;
|
|
250
|
-
goToMembershipPage?(context: {
|
|
251
|
-
community: Amity.Community;
|
|
252
|
-
}): void;
|
|
253
|
-
goToPostPermissionPage?(context: {
|
|
254
|
-
community: Amity.Community;
|
|
255
|
-
}): void;
|
|
256
|
-
goToStorySettingPage?(context: {
|
|
257
|
-
community: Amity.Community;
|
|
258
|
-
}): void;
|
|
259
|
-
goToSocialHomePage?(): void;
|
|
260
|
-
};
|
|
261
|
-
AmityCommunityMembershipPage?: {
|
|
262
|
-
goToAddMemberPage?(context: {
|
|
263
|
-
members?: MemberCommunitySetup[];
|
|
264
|
-
communityId?: string;
|
|
265
|
-
onAddedAction?: (userId: string[]) => void;
|
|
266
|
-
}): void;
|
|
267
|
-
goToUserProfilePage?: (context: {
|
|
268
|
-
userId: string;
|
|
269
|
-
}) => void;
|
|
270
|
-
};
|
|
271
|
-
AmityUserFeedComponentBehavior?: {
|
|
272
|
-
goToPostDetailPage?(context: {
|
|
273
|
-
postId: string;
|
|
274
|
-
}): void;
|
|
275
|
-
};
|
|
276
|
-
AmityUserProfilePageBehavior?: {
|
|
277
|
-
goToEditUserPage?(context: {
|
|
278
|
-
userId: string;
|
|
279
|
-
}): void;
|
|
280
|
-
goToBlockedUsersPage?(): void;
|
|
281
|
-
goToPostComposerPage?(context: {
|
|
282
|
-
userId: string;
|
|
283
|
-
}): void;
|
|
284
|
-
};
|
|
285
|
-
AmityUserProfileHeaderComponentBehavior: {
|
|
286
|
-
goToUserRelationshipPage?(context: {
|
|
287
|
-
userId: string;
|
|
288
|
-
selectedTab: UserRelationshipPageTabs;
|
|
289
|
-
}): void;
|
|
290
|
-
goToPendingFollowRequestPage?(): void;
|
|
291
|
-
};
|
|
292
|
-
AmityUserRelationshipPageBehavior: {
|
|
293
|
-
goToUserProfilePage?(context: {
|
|
294
|
-
userId: string;
|
|
295
|
-
}): void;
|
|
296
|
-
};
|
|
297
|
-
AmityUserPendingFollowRequestsPageBehavior: {
|
|
298
|
-
goToUserProfilePage?(context: {
|
|
299
|
-
userId: string;
|
|
300
|
-
}): void;
|
|
301
|
-
};
|
|
302
|
-
AmityBlockedUsersPageBehavior: {
|
|
303
|
-
goToUserProfilePage?(context: {
|
|
304
|
-
userId: string;
|
|
305
|
-
}): void;
|
|
306
|
-
};
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
interface UltaConfigContextProps {
|
|
310
|
-
faqCommunityId: string;
|
|
311
|
-
newsCommunityId: string;
|
|
312
|
-
privacyAndPolicyUrl: string;
|
|
313
|
-
termsAndConditionsUrl: string;
|
|
314
|
-
allowUpdateDisplayName?: boolean;
|
|
315
|
-
defaultTab?: 'explore' | 'newsfeed';
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
type AmityUIKitConfig = Config;
|
|
319
|
-
interface AmityUIKitProviderProps {
|
|
320
|
-
apiKey: string;
|
|
321
|
-
apiRegion: string;
|
|
322
|
-
apiEndpoint?: {
|
|
323
|
-
http?: string;
|
|
324
|
-
mqtt?: string;
|
|
325
|
-
};
|
|
326
|
-
userId: string;
|
|
327
|
-
displayName?: string;
|
|
328
|
-
postRendererConfig?: any;
|
|
329
|
-
theme?: Record<string, unknown>;
|
|
330
|
-
children?: React.ReactNode;
|
|
331
|
-
socialCommunityCreationButtonVisible?: boolean;
|
|
332
|
-
actionHandlers?: {
|
|
333
|
-
onChangePage?: (data: {
|
|
334
|
-
type: string;
|
|
335
|
-
[x: string]: string | boolean;
|
|
336
|
-
}) => void;
|
|
337
|
-
onClickCategory?: (categoryId: string) => void;
|
|
338
|
-
onClickCommunity?: (communityId: string) => void;
|
|
339
|
-
onClickUser?: (userId: string) => void;
|
|
340
|
-
onCommunityCreated?: (communityId: string) => void;
|
|
341
|
-
onEditCommunity?: (communityId: string, options?: {
|
|
342
|
-
tab?: string;
|
|
343
|
-
}) => void;
|
|
344
|
-
onEditUser?: (userId: string) => void;
|
|
345
|
-
onMessageUser?: (userId: string) => void;
|
|
346
|
-
};
|
|
347
|
-
pageBehavior?: PageBehavior;
|
|
348
|
-
onConnectionStatusChange?: (state: Amity.SessionStates) => void;
|
|
349
|
-
onConnected?: () => void;
|
|
350
|
-
onDisconnected?: () => void;
|
|
351
|
-
getAuthToken?: () => Promise<string>;
|
|
352
|
-
configs?: AmityUIKitConfig;
|
|
353
|
-
ultaConfig: UltaConfigContextProps;
|
|
354
|
-
}
|
|
355
|
-
declare const AmityUIKitProvider: React.FC<AmityUIKitProviderProps>;
|
|
356
|
-
|
|
357
|
-
interface FeedProps {
|
|
358
|
-
className?: string;
|
|
359
|
-
feedType?: 'reviewing' | 'published';
|
|
360
|
-
targetType?: string;
|
|
361
|
-
targetId?: string | null;
|
|
362
|
-
showPostCreator?: boolean;
|
|
363
|
-
onPostCreated?: () => void;
|
|
364
|
-
goToExplore?: () => void;
|
|
365
|
-
readonly?: boolean;
|
|
366
|
-
isHiddenProfile?: boolean;
|
|
367
|
-
}
|
|
368
|
-
declare const _default$2: React.MemoExoticComponent<(props: FeedProps) => React.JSX.Element>;
|
|
369
|
-
|
|
370
|
-
declare const Application: () => React.JSX.Element;
|
|
371
|
-
|
|
372
|
-
type PartialChannel = Pick<Amity.Channel, 'channelId' | 'type'>;
|
|
373
|
-
declare const ChatApplication: ({ membershipFilter, defaultChannelId, onMemberSelect, onChannelSelect, onAddNewChannel, onEditChatMember, }: {
|
|
374
|
-
membershipFilter?: "all" | "member" | "notMember" | undefined;
|
|
375
|
-
defaultChannelId: string | null;
|
|
376
|
-
onMemberSelect?: ((member: Amity.Membership<'channel'>) => void) | undefined;
|
|
377
|
-
onChannelSelect?: ((channel: PartialChannel) => void) | undefined;
|
|
378
|
-
onAddNewChannel?: (() => void) | undefined;
|
|
379
|
-
onEditChatMember?: (({ channel, members, }: {
|
|
380
|
-
channel: Amity.Channel;
|
|
381
|
-
members: Amity.Membership<'channel'>[];
|
|
382
|
-
}) => void) | undefined;
|
|
383
|
-
}) => React.JSX.Element;
|
|
384
|
-
|
|
385
|
-
declare const addChatMembers: (channelId: string, userIds: string[]) => Promise<boolean>;
|
|
386
|
-
|
|
387
|
-
declare const removeChatMembers: (channelId: string, userIds: string[]) => Promise<boolean>;
|
|
388
|
-
|
|
389
|
-
declare const useUser: (userId?: string | null) => Amity.User | null;
|
|
390
|
-
|
|
391
|
-
declare const enum PageTypes {
|
|
392
|
-
Explore = "explore",
|
|
393
|
-
Category = "category",
|
|
394
|
-
NewsFeed = "newsfeed",
|
|
395
|
-
UserFeed = "userfeed",
|
|
396
|
-
CommunityFeed = "communityfeed",
|
|
397
|
-
CommunityEdit = "communityedit",
|
|
398
|
-
UserEdit = "useredit",
|
|
399
|
-
ViewStory = "viewstory",
|
|
400
|
-
DraftPage = "draftpage",
|
|
401
|
-
MyCommunities = "MyCommunities"
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
type AmityStoryMediaType$1 = {
|
|
405
|
-
type: 'image';
|
|
406
|
-
url: string;
|
|
407
|
-
} | {
|
|
408
|
-
type: 'video';
|
|
409
|
-
url: string;
|
|
410
|
-
};
|
|
411
|
-
type AmityDraftStoryPageProps = {
|
|
412
|
-
targetId: string;
|
|
413
|
-
targetType: Amity.StoryTargetType;
|
|
414
|
-
mediaType?: AmityStoryMediaType$1;
|
|
415
|
-
};
|
|
416
|
-
declare const AmityDraftStoryPage: (props: AmityDraftStoryPageProps) => React.JSX.Element;
|
|
417
|
-
|
|
418
|
-
type Page = {
|
|
419
|
-
type: PageTypes.Explore | PageTypes.NewsFeed;
|
|
420
|
-
communityId?: string;
|
|
421
|
-
} | {
|
|
422
|
-
type: PageTypes.CommunityFeed;
|
|
423
|
-
communityId: string;
|
|
424
|
-
isNewCommunity: boolean;
|
|
425
|
-
} | {
|
|
426
|
-
type: PageTypes.CommunityEdit;
|
|
427
|
-
communityId: string;
|
|
428
|
-
tab: string;
|
|
429
|
-
} | {
|
|
430
|
-
type: PageTypes.Category;
|
|
431
|
-
categoryId: string;
|
|
432
|
-
communityId?: string;
|
|
433
|
-
} | {
|
|
434
|
-
type: PageTypes.UserFeed | PageTypes.UserEdit;
|
|
435
|
-
userId: string;
|
|
436
|
-
communityId?: string;
|
|
437
|
-
} | {
|
|
438
|
-
type: PageTypes.ViewStory;
|
|
439
|
-
storyId: string;
|
|
440
|
-
targetId: string;
|
|
441
|
-
communityId?: string;
|
|
442
|
-
targetIds: string[];
|
|
443
|
-
storyType: 'communityFeed' | 'globalFeed';
|
|
444
|
-
} | {
|
|
445
|
-
type: PageTypes.DraftPage;
|
|
446
|
-
communityId?: string;
|
|
447
|
-
mediaType: AmityStoryMediaType$1;
|
|
448
|
-
targetId: string;
|
|
449
|
-
targetType: Amity.StoryTargetType;
|
|
450
|
-
storyType: 'communityFeed' | 'globalFeed';
|
|
451
|
-
};
|
|
452
|
-
type ContextValue = {
|
|
453
|
-
page: Page;
|
|
454
|
-
onChangePage: (type: string) => void;
|
|
455
|
-
onClickCategory: (categoryId: string) => void;
|
|
456
|
-
onClickCommunity: (communityId: string) => void;
|
|
457
|
-
onClickUser: (userId: string, pageType?: string) => void;
|
|
458
|
-
onClickStory: (storyId: string, storyType: 'communityFeed' | 'globalFeed', targetId?: string[]) => void;
|
|
459
|
-
onCommunityCreated: (communityId: string) => void;
|
|
460
|
-
onEditCommunity: (communityId: string, tab?: string) => void;
|
|
461
|
-
onEditUser: (userId: string) => void;
|
|
462
|
-
onMessageUser: (userId: string) => void;
|
|
463
|
-
onBack: () => void;
|
|
464
|
-
goToDraftStoryPage: (targetId: string, targetType: string, mediaType: AmityStoryMediaType$1, storyType: 'communityFeed' | 'globalFeed') => void;
|
|
465
|
-
setNavigationBlocker?: (params: {
|
|
466
|
-
title: ReactNode;
|
|
467
|
-
content: ReactNode;
|
|
468
|
-
okText: ReactNode;
|
|
469
|
-
onOk?: () => void;
|
|
470
|
-
} | null | undefined) => void;
|
|
471
|
-
};
|
|
472
|
-
declare const useNavigation: () => ContextValue;
|
|
473
|
-
|
|
474
|
-
declare const SIZE_ALIAS: {
|
|
475
|
-
BIG: string;
|
|
476
|
-
REGULAR: string;
|
|
477
|
-
SMALL: string;
|
|
478
|
-
TINY: string;
|
|
479
|
-
};
|
|
480
|
-
|
|
481
|
-
interface AvatarProps {
|
|
482
|
-
className?: string;
|
|
483
|
-
avatar?: string | null;
|
|
484
|
-
showOverlay?: boolean;
|
|
485
|
-
size?: ValueOf<typeof SIZE_ALIAS> | null;
|
|
486
|
-
onClick?: () => void;
|
|
487
|
-
loading?: boolean;
|
|
488
|
-
backgroundImage?: string | null;
|
|
489
|
-
}
|
|
490
|
-
declare const _default$1: (props: AvatarProps) => React.JSX.Element;
|
|
491
|
-
|
|
492
|
-
declare const PostContainer: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<{
|
|
493
|
-
className?: string | undefined;
|
|
494
|
-
children?: ReactNode;
|
|
495
|
-
}, never>> & string & Omit<({ className, ...props }: {
|
|
496
|
-
className?: string | undefined;
|
|
497
|
-
children?: ReactNode;
|
|
498
|
-
}) => React.JSX.Element, keyof React.Component<any, {}, any>>;
|
|
499
|
-
|
|
500
|
-
type Mentioned = {
|
|
501
|
-
userId: string;
|
|
502
|
-
length: number;
|
|
503
|
-
index: number;
|
|
504
|
-
type: string;
|
|
505
|
-
displayName: string;
|
|
506
|
-
};
|
|
507
|
-
|
|
508
|
-
interface EngagementBarProps {
|
|
509
|
-
postId: string;
|
|
510
|
-
readonly?: boolean;
|
|
511
|
-
}
|
|
512
|
-
|
|
513
|
-
declare const _default: React.MemoExoticComponent<(props: EngagementBarProps) => React.JSX.Element>;
|
|
514
|
-
|
|
515
|
-
interface CommentTextProps {
|
|
516
|
-
text?: string;
|
|
517
|
-
className?: string;
|
|
518
|
-
mentionees?: Mentioned[];
|
|
519
|
-
maxLines?: number;
|
|
520
|
-
}
|
|
521
|
-
declare const CommentText: ({ text, className, mentionees, maxLines, }: CommentTextProps) => React.JSX.Element | null;
|
|
522
|
-
|
|
523
|
-
declare const useSDK: () => {
|
|
524
|
-
client?: Amity.Client | null | undefined;
|
|
525
|
-
currentUserId?: string | null | undefined;
|
|
526
|
-
userRoles: string[];
|
|
527
|
-
};
|
|
528
|
-
|
|
529
|
-
/**
|
|
530
|
-
* Interface representing the session handler for the Amity SDK.
|
|
531
|
-
*/
|
|
532
|
-
interface SessionHandler {
|
|
533
|
-
/**
|
|
534
|
-
* Handles the access token renewal during the login process.
|
|
535
|
-
* @param renewal - The access token renewal handler.
|
|
536
|
-
*/
|
|
537
|
-
sessionWillRenewAccessToken(renewal: Amity.AccessTokenRenewal): void;
|
|
538
|
-
}
|
|
539
|
-
/**
|
|
540
|
-
* Manages the Amity SDK client and authentication state.
|
|
541
|
-
*/
|
|
542
|
-
declare class AmityUIKitManager {
|
|
543
|
-
private static instance;
|
|
544
|
-
private client;
|
|
545
|
-
private isConnected;
|
|
546
|
-
private stateChangeHandler;
|
|
547
|
-
private disconnectedHandler;
|
|
548
|
-
private onConnectionStatusChange?;
|
|
549
|
-
private onConnected?;
|
|
550
|
-
private onDisconnected?;
|
|
551
|
-
/**
|
|
552
|
-
* Private constructor to prevent direct instantiation.
|
|
553
|
-
*/
|
|
554
|
-
private constructor();
|
|
555
|
-
/**
|
|
556
|
-
* Sets up the AmityUIKitManager instance with the provided configuration.
|
|
557
|
-
* @param config - The configuration object containing the API key and endpoint.
|
|
558
|
-
*/
|
|
559
|
-
static setup(config: {
|
|
560
|
-
apiKey: string;
|
|
561
|
-
apiRegion: string;
|
|
562
|
-
apiEndpoint?: {
|
|
563
|
-
http?: string;
|
|
564
|
-
mqtt?: string;
|
|
565
|
-
};
|
|
566
|
-
}): void;
|
|
567
|
-
/**
|
|
568
|
-
* Registers a device with the Amity SDK and handles the login process.
|
|
569
|
-
* @param userId - The user ID to be used for login.
|
|
570
|
-
* @param displayName - The display name of the user.
|
|
571
|
-
* @param sessionHandler - The session handler for access token renewal.
|
|
572
|
-
* @param authToken - The authentication token to be used for login.
|
|
573
|
-
* @param onConnectionStatusChange - The callback function for connection status changes.
|
|
574
|
-
* @param onConnected - The callback function to be called when connected.
|
|
575
|
-
* @param onDisconnected - The callback function to be called when disconnected.
|
|
576
|
-
*/
|
|
577
|
-
static registerDevice(userId: string, displayName: string, sessionHandler: SessionHandler, authToken?: string, onConnectionStatusChange?: (state: Amity.SessionStates) => void, onConnected?: () => void, onDisconnected?: () => void): Promise<void>;
|
|
578
|
-
/**
|
|
579
|
-
* Sets the AmityClient instance to be used by the AmityUIKitManager.
|
|
580
|
-
* This method is useful when sharing the AmityClient instance between different parts of the application.
|
|
581
|
-
* @param client - The AmityClient instance to be used.
|
|
582
|
-
*/
|
|
583
|
-
static setClient(client: Amity.Client): void;
|
|
584
|
-
/**
|
|
585
|
-
* Connects and logs in to the Amity SDK with the provided user details and session handler.
|
|
586
|
-
* @param userId - The user ID to be used for login.
|
|
587
|
-
* @param displayName - The display name of the user.
|
|
588
|
-
* @param sessionHandler - The session handler for access token renewal.
|
|
589
|
-
*/
|
|
590
|
-
private connectAndLogin;
|
|
591
|
-
/**
|
|
592
|
-
* Disconnects from the Amity SDK and cleans up resources.
|
|
593
|
-
*/
|
|
594
|
-
disconnect(): void;
|
|
595
|
-
/**
|
|
596
|
-
* Retrieves the Amity SDK client instance.
|
|
597
|
-
* @returns The Amity SDK client instance or null if not connected.
|
|
598
|
-
*/
|
|
599
|
-
static getClient(): Amity.Client | null;
|
|
600
|
-
/**
|
|
601
|
-
* Checks if the client is connected to the Amity SDK.
|
|
602
|
-
* @returns True if the client is connected, false otherwise.
|
|
603
|
-
*/
|
|
604
|
-
isClientConnected(): boolean;
|
|
605
|
-
}
|
|
606
|
-
|
|
607
|
-
interface ChatHeaderProps {
|
|
608
|
-
channel: Amity.Channel | null;
|
|
609
|
-
pageId?: string;
|
|
610
|
-
componentId?: string;
|
|
611
|
-
}
|
|
612
|
-
declare const ChatHeader: ({ channel, pageId }: ChatHeaderProps) => React.JSX.Element;
|
|
613
|
-
|
|
614
|
-
interface AmityLiveChatMessageListProps {
|
|
615
|
-
pageId?: string;
|
|
616
|
-
channel: Amity.Channel;
|
|
617
|
-
replyMessage: (message: Amity.Message<'text'>) => void;
|
|
618
|
-
}
|
|
619
|
-
declare const MessageList: ({ pageId, channel, replyMessage, }: AmityLiveChatMessageListProps) => React.JSX.Element;
|
|
620
|
-
|
|
621
|
-
type ComposeActionTypes = {
|
|
622
|
-
replyMessage?: Amity.Message;
|
|
623
|
-
mentionMessage?: Amity.Message;
|
|
624
|
-
clearReplyMessage?: () => void;
|
|
625
|
-
clearMention?: () => void;
|
|
626
|
-
};
|
|
627
|
-
interface MessageComposerProps {
|
|
628
|
-
channel: Amity.Channel;
|
|
629
|
-
composeAction: ComposeActionTypes;
|
|
630
|
-
suggestionRef?: RefObject<HTMLDivElement>;
|
|
631
|
-
disabled?: boolean;
|
|
632
|
-
pageId?: string;
|
|
633
|
-
}
|
|
634
|
-
declare const MessageComposer: ({ pageId, channel, composeAction: { replyMessage, mentionMessage, clearReplyMessage, clearMention }, }: MessageComposerProps) => React.JSX.Element;
|
|
635
|
-
|
|
636
|
-
declare const MessageReactionPreview: ({ message, onClick, }: {
|
|
637
|
-
message: Amity.Message;
|
|
638
|
-
onClick?: (() => void) | undefined;
|
|
639
|
-
}) => React.JSX.Element | null;
|
|
640
|
-
|
|
641
|
-
declare const MessageReactionPicker: ({ message, onSelectReaction, }: {
|
|
642
|
-
message: Amity.Message;
|
|
643
|
-
onSelectReaction: (reactionName: string) => void;
|
|
644
|
-
}) => React.JSX.Element | null;
|
|
645
|
-
|
|
646
|
-
interface MessageQuickReactionProps {
|
|
647
|
-
pageId?: string;
|
|
648
|
-
componentId?: string;
|
|
649
|
-
message: Amity.Message;
|
|
650
|
-
onSelectReaction?: () => void;
|
|
651
|
-
}
|
|
652
|
-
declare const MessageQuickReaction: ({ pageId, componentId, message, onSelectReaction, }: MessageQuickReactionProps) => React.JSX.Element;
|
|
653
|
-
|
|
654
|
-
type MessageActionType = {
|
|
655
|
-
onCopy?: () => void;
|
|
656
|
-
onFlag?: () => void;
|
|
657
|
-
onUnflag?: () => void;
|
|
658
|
-
onDelete?: () => void;
|
|
659
|
-
onReply?: () => void;
|
|
660
|
-
onMention?: () => void;
|
|
661
|
-
};
|
|
662
|
-
|
|
663
|
-
interface ReactionListProps$1 {
|
|
664
|
-
pageId: string;
|
|
665
|
-
referenceId: string;
|
|
666
|
-
referenceType: Amity.ReactableType;
|
|
667
|
-
}
|
|
668
|
-
declare const ReactionList: ({ pageId, referenceId, referenceType }: ReactionListProps$1) => React.JSX.Element | null;
|
|
669
|
-
|
|
670
|
-
interface ReactionListProps {
|
|
671
|
-
referenceId: string;
|
|
672
|
-
referenceType: Amity.ReactableType;
|
|
673
|
-
}
|
|
674
|
-
|
|
675
|
-
interface LiveChatProps {
|
|
676
|
-
channelId: Amity.Channel['channelId'];
|
|
677
|
-
}
|
|
678
|
-
declare const LiveChat: ({ channelId }: LiveChatProps) => React.JSX.Element;
|
|
679
|
-
|
|
680
|
-
type AmityStoryMediaType = {
|
|
681
|
-
type: 'image';
|
|
682
|
-
url: string;
|
|
683
|
-
} | {
|
|
684
|
-
type: 'video';
|
|
685
|
-
url: string;
|
|
686
|
-
};
|
|
687
|
-
type StoryPreviewProps = {
|
|
688
|
-
mediaType?: AmityStoryMediaType;
|
|
689
|
-
imageMode: 'fit' | 'fill';
|
|
690
|
-
width?: number;
|
|
691
|
-
height?: number;
|
|
692
|
-
hyperLink: {
|
|
693
|
-
data: {
|
|
694
|
-
url: string;
|
|
695
|
-
customText: string;
|
|
696
|
-
};
|
|
697
|
-
type: Amity.StoryItemType;
|
|
698
|
-
}[];
|
|
699
|
-
onPlay?: () => void;
|
|
700
|
-
onPause?: () => void;
|
|
701
|
-
avatar: string;
|
|
702
|
-
title: string;
|
|
703
|
-
description: string;
|
|
704
|
-
duration?: number;
|
|
705
|
-
isOfficial?: boolean;
|
|
706
|
-
};
|
|
707
|
-
declare const StoryPreview: React.FC<StoryPreviewProps>;
|
|
708
|
-
|
|
709
|
-
type StoryPreviewThumbnailProps = {
|
|
710
|
-
thumbnailUrl?: string;
|
|
711
|
-
hyperLink: {
|
|
712
|
-
data: {
|
|
713
|
-
url: string;
|
|
714
|
-
customText: string;
|
|
715
|
-
};
|
|
716
|
-
type: Amity.StoryItemType;
|
|
717
|
-
}[];
|
|
718
|
-
avatar: string;
|
|
719
|
-
title: string;
|
|
720
|
-
isOfficial?: boolean;
|
|
721
|
-
onClick?: () => void;
|
|
722
|
-
imageMode?: 'fit' | 'fill';
|
|
723
|
-
};
|
|
724
|
-
declare const StoryPreviewThumbnail: React.FC<StoryPreviewThumbnailProps>;
|
|
725
|
-
|
|
726
|
-
type ViewStoryPageType = 'communityFeed' | 'globalFeed';
|
|
727
|
-
interface AmityViewStoryPageProps {
|
|
728
|
-
type: ViewStoryPageType;
|
|
729
|
-
targetId: string;
|
|
730
|
-
}
|
|
731
|
-
declare const ViewStoryPage: React.FC<AmityViewStoryPageProps>;
|
|
732
|
-
|
|
733
|
-
declare function StoryTargetSelectionPage(): React.JSX.Element;
|
|
734
|
-
|
|
735
|
-
declare function SocialHomePage(): React.JSX.Element;
|
|
736
|
-
|
|
737
|
-
declare function SelectPostTargetPage(): React.JSX.Element;
|
|
738
|
-
|
|
739
|
-
declare function MyCommunitiesSearchPage(): React.JSX.Element;
|
|
740
|
-
|
|
741
|
-
declare function SocialGlobalSearchPage(): React.JSX.Element;
|
|
742
|
-
|
|
743
|
-
interface PostDetailPageProps {
|
|
744
|
-
id: string;
|
|
745
|
-
hideTarget?: boolean;
|
|
746
|
-
category?: AmityPostCategory;
|
|
747
|
-
}
|
|
748
|
-
declare function PostDetailPage({ id, hideTarget, category }: PostDetailPageProps): React.JSX.Element;
|
|
749
|
-
|
|
750
|
-
interface CommunityProfileProps {
|
|
751
|
-
communityId: string;
|
|
752
|
-
page?: number;
|
|
753
|
-
}
|
|
754
|
-
declare const CommunityProfilePage: React.FC<CommunityProfileProps>;
|
|
755
|
-
|
|
756
|
-
type UserProfilePageProps = {
|
|
757
|
-
userId: string;
|
|
758
|
-
isShowBackButton?: boolean;
|
|
759
|
-
};
|
|
760
|
-
declare const UserProfilePage: React.FC<UserProfilePageProps>;
|
|
761
|
-
|
|
762
|
-
interface EditUserProfilePageProps {
|
|
763
|
-
userId: string;
|
|
764
|
-
}
|
|
765
|
-
declare const EditUserProfilePage: React.FC<EditUserProfilePageProps>;
|
|
766
|
-
|
|
767
|
-
interface CommentTrayProps {
|
|
768
|
-
referenceType: Amity.CommentReferenceType;
|
|
769
|
-
referenceId: string;
|
|
770
|
-
community: Amity.Community;
|
|
771
|
-
shouldAllowInteraction: boolean;
|
|
772
|
-
shouldAllowCreation?: boolean;
|
|
773
|
-
pageId?: string;
|
|
774
|
-
}
|
|
775
|
-
declare const CommentTray: ({ pageId, referenceType, referenceId, community, shouldAllowInteraction, shouldAllowCreation, }: CommentTrayProps) => React.JSX.Element;
|
|
776
|
-
|
|
777
|
-
type StoryTabProps = ({
|
|
778
|
-
type: 'communityFeed';
|
|
779
|
-
communityId: string;
|
|
780
|
-
} | {
|
|
781
|
-
type: 'globalFeed';
|
|
782
|
-
}) & {
|
|
783
|
-
pageId?: string;
|
|
784
|
-
};
|
|
785
|
-
declare const StoryTab: React.FC<StoryTabProps>;
|
|
786
|
-
|
|
787
|
-
interface CreatePostMenuProps {
|
|
788
|
-
pageId: string;
|
|
789
|
-
}
|
|
790
|
-
declare function CreatePostMenu({ pageId }: CreatePostMenuProps): React.JSX.Element;
|
|
791
|
-
|
|
792
|
-
interface MediaAttachmentProps {
|
|
793
|
-
pageId: string;
|
|
794
|
-
uploadLoading?: boolean;
|
|
795
|
-
isVisibleCamera: boolean;
|
|
796
|
-
isVisibleImage: boolean;
|
|
797
|
-
isVisibleVideo: boolean;
|
|
798
|
-
onVideoFileChange?: (files: File[]) => void;
|
|
799
|
-
onImageFileChange?: (files: File[]) => void;
|
|
800
|
-
}
|
|
801
|
-
declare function MediaAttachment({ pageId, isVisibleCamera, isVisibleImage, isVisibleVideo, onVideoFileChange, onImageFileChange, }: MediaAttachmentProps): React.JSX.Element | null;
|
|
802
|
-
|
|
803
|
-
interface DetailedMediaAttachmentProps {
|
|
804
|
-
pageId: string;
|
|
805
|
-
isVisibleCamera: boolean;
|
|
806
|
-
isVisibleImage: boolean;
|
|
807
|
-
isVisibleVideo: boolean;
|
|
808
|
-
onVideoFileChange?: (files: File[]) => void;
|
|
809
|
-
onImageFileChange?: (files: File[]) => void;
|
|
810
|
-
}
|
|
811
|
-
declare function DetailedMediaAttachment({ pageId, isVisibleCamera, isVisibleImage, isVisibleVideo, onVideoFileChange, onImageFileChange, }: DetailedMediaAttachmentProps): React.JSX.Element | null;
|
|
812
|
-
|
|
813
|
-
type UserSearchResultProps = {
|
|
814
|
-
pageId?: string;
|
|
815
|
-
isLoading: boolean;
|
|
816
|
-
onLoadMore: () => void;
|
|
817
|
-
userCollection: Amity.User[];
|
|
818
|
-
onClosePopover?: () => void;
|
|
819
|
-
};
|
|
820
|
-
declare const UserSearchResult: ({ isLoading, onLoadMore, pageId, onClosePopover, userCollection, }: UserSearchResultProps) => React.JSX.Element;
|
|
821
|
-
|
|
822
|
-
type CommunitySearchResultProps = {
|
|
823
|
-
pageId?: string;
|
|
824
|
-
isLoading: boolean;
|
|
825
|
-
onLoadMore: () => void;
|
|
826
|
-
showJoinButton?: boolean;
|
|
827
|
-
onClosePopover?: () => void;
|
|
828
|
-
communityCollection: Amity.Community[];
|
|
829
|
-
};
|
|
830
|
-
declare const CommunitySearchResult: ({ isLoading, onLoadMore, pageId, onClosePopover, showJoinButton, communityCollection, }: CommunitySearchResultProps) => React.JSX.Element;
|
|
831
|
-
|
|
832
|
-
type TopSearchBarProps = {
|
|
833
|
-
pageId?: string;
|
|
834
|
-
onFocus?: () => void;
|
|
835
|
-
search: (keyword: string) => void;
|
|
836
|
-
};
|
|
837
|
-
declare function TopSearchBar({ pageId, search, onFocus }: TopSearchBarProps): React.JSX.Element | null;
|
|
838
|
-
|
|
839
|
-
interface MyCommunitiesProps {
|
|
840
|
-
pageId?: string;
|
|
841
|
-
}
|
|
842
|
-
declare const MyCommunities: ({ pageId }: MyCommunitiesProps) => React.JSX.Element;
|
|
843
|
-
|
|
844
|
-
interface GlobalFeedProps {
|
|
845
|
-
pageId?: string;
|
|
846
|
-
componentId?: string;
|
|
847
|
-
items: Array<Amity.Post | Amity.Ad>;
|
|
848
|
-
isLoading: boolean;
|
|
849
|
-
onFeedReachBottom: () => void;
|
|
850
|
-
onPostDeleted?: (post: Amity.Post) => void;
|
|
851
|
-
}
|
|
852
|
-
declare const GlobalFeed: ({ pageId, componentId, items, isLoading, onFeedReachBottom, onPostDeleted, }: GlobalFeedProps) => React.JSX.Element;
|
|
853
|
-
|
|
854
|
-
interface EmptyNewsfeedProps {
|
|
855
|
-
pageId?: string;
|
|
856
|
-
}
|
|
857
|
-
declare function EmptyNewsfeed({ pageId }: EmptyNewsfeedProps): React.JSX.Element | null;
|
|
858
|
-
|
|
859
|
-
type NewsfeedProps = {
|
|
860
|
-
pageId?: string;
|
|
861
|
-
};
|
|
862
|
-
declare const Newsfeed: ({ pageId }: NewsfeedProps) => React.JSX.Element;
|
|
863
|
-
|
|
864
|
-
declare enum HomePageTab {
|
|
865
|
-
Newsfeed = "Newsfeed",
|
|
866
|
-
Explore = "Explore",
|
|
867
|
-
Profile = "Profile",
|
|
868
|
-
MyCommunities = "My communities"
|
|
869
|
-
}
|
|
870
|
-
|
|
871
|
-
interface TopNavigationProps {
|
|
872
|
-
pageId?: string;
|
|
873
|
-
selectedTab?: HomePageTab;
|
|
874
|
-
onClickPostCreationButton?: () => void;
|
|
875
|
-
}
|
|
876
|
-
declare function TopNavigation({ pageId, selectedTab, onClickPostCreationButton, }: TopNavigationProps): React.JSX.Element | null;
|
|
877
|
-
|
|
878
|
-
interface CommunityProfileHeaderProps {
|
|
879
|
-
pageId?: string;
|
|
880
|
-
community: Amity.Community;
|
|
881
|
-
isSticky?: boolean;
|
|
882
|
-
page?: number;
|
|
883
|
-
}
|
|
884
|
-
declare const CommunityHeader: React.FC<CommunityProfileHeaderProps>;
|
|
885
|
-
|
|
886
|
-
interface CommunityFeedProps {
|
|
887
|
-
communityId: string;
|
|
888
|
-
pageId?: string;
|
|
889
|
-
}
|
|
890
|
-
declare const CommunityFeed: ({ pageId, communityId }: CommunityFeedProps) => React.JSX.Element | null;
|
|
891
|
-
|
|
892
|
-
interface CommunityPinnedPostProps {
|
|
893
|
-
communityId?: string;
|
|
894
|
-
}
|
|
895
|
-
declare const CommunityPinnedPost: ({ communityId }: CommunityPinnedPostProps) => React.JSX.Element;
|
|
896
|
-
|
|
897
|
-
export { _default$1 as AmityAvatar, CommentTray as AmityCommentTrayComponent, CommunityFeed as AmityCommunityFeedComponent, CommunityHeader as AmityCommunityHeaderComponent, CommunityPinnedPost as AmityCommunityPinnedPostComponent, CommunityProfilePage as AmityCommunityProfilePage, CommunitySearchResult as AmityCommunitySearchResultComponent, CreatePostMenu as AmityCreatePostMenuComponent, DetailedMediaAttachment as AmityDetailedMediaAttachmentComponent, AmityDraftStoryPage, EditUserProfilePage as AmityEditUserProfilePage, EmptyNewsfeed as AmityEmptyNewsFeedComponent, CommentText as AmityExpandableText, GlobalFeed as AmityGlobalFeedComponent, ChatHeader as AmityLiveChatHeader, MessageComposer as AmityLiveChatMessageComposeBar, MessageList as AmityLiveChatMessageList, MessageQuickReaction as AmityLiveChatMessageQuickReaction, MessageReactionPicker as AmityLiveChatMessageReactionPicker, MessageReactionPreview as AmityLiveChatMessageReactionPreview, LiveChat as AmityLiveChatPage, MediaAttachment as AmityMediaAttachmentComponent, type MessageActionType as AmityMessageActionType, MyCommunities as AmityMyCommunitiesComponent, MyCommunitiesSearchPage as AmityMyCommunitiesSearchPage, Newsfeed as AmityNewsFeedComponent, PostComposerPage as AmityPostComposerPage, PostContainer as AmityPostContainer, PostContent as AmityPostContentComponent, PostDetailPage as AmityPostDetailPage, _default as AmityPostEngagementBar, SelectPostTargetPage as AmityPostTargetSelectionPage, ReactionList as AmityReactionListComponent, type ReactionListProps as AmityReactionListProps, 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, ChatApplication as AmityUiKitChat, _default$2 as AmityUiKitFeed, AmityUIKitProvider as AmityUiKitProvider, Application as AmityUiKitSocial, UserProfilePage as AmityUserProfilePage, UserSearchResult as AmityUserSearchResultComponent, ViewStoryPage as AmityViewStoryPage, addChatMembers as amityAddChatMembers, removeChatMembers as amityRemoveChatMembers, useNavigation as useAmityNavigation, useSDK as useAmitySDK, useUser as useAmityUser };
|