@amityco/ui-kit-open-source 4.15.0-beta.4 → 4.15.0-beta.6

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/index.d.mts CHANGED
@@ -2,7 +2,7 @@ import React, { FC, ReactNode } from 'react';
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
3
  import * as styled_components_dist_types from 'styled-components/dist/types';
4
4
  import * as styled_components from 'styled-components';
5
- import { FeedSourceEnum } from '@amityco/ts-sdk';
5
+ import { AnalyticsSourceTypeEnum, FeedSourceEnum } from '@amityco/ts-sdk';
6
6
 
7
7
  type AmityReactionType = {
8
8
  name: string;
@@ -224,6 +224,80 @@ declare function LivestreamTerminatedPage(): react_jsx_runtime.JSX.Element;
224
224
 
225
225
  declare function LivestreamUnsupportedPage(): react_jsx_runtime.JSX.Element;
226
226
 
227
+ declare const enum DisplayModeEnum {
228
+ DESKTOP = "desktop",
229
+ MOBILE = "mobile"
230
+ }
231
+ type DisplayMode = `${DisplayModeEnum}`;
232
+ declare const enum ProductTagListRenderModeEnum {
233
+ POST = "post",
234
+ LIVESTREAM = "livestream",
235
+ IMAGE = "image",
236
+ VIDEO = "video"
237
+ }
238
+ type ProductTagListRenderMode = `${ProductTagListRenderModeEnum}`;
239
+ declare const enum LayoutVariantEnum {
240
+ LIST = "list",
241
+ CARD = "card"
242
+ }
243
+ type LayoutVariant = `${LayoutVariantEnum}`;
244
+
245
+ type RenderModeEnum = 'livestream' | 'playback';
246
+
247
+ type ProductTagSelectionMode = 'create' | 'edit' | 'livestream';
248
+ interface ProductTagSelectionProps {
249
+ selectedProductTags?: Amity.ProductTag[];
250
+ onTagChanges: (tags: Amity.ProductTag[]) => void;
251
+ onUpdateProductTags?: (tags: Amity.ProductTag[]) => Promise<Amity.ProductTag[] | undefined> | void;
252
+ displayMode?: DisplayMode;
253
+ mode?: ProductTagSelectionMode;
254
+ onDone?: () => void;
255
+ onClose?: (selectedProducts?: Amity.ProductTag[], hasChanges?: boolean) => void;
256
+ pageId?: string;
257
+ maxCount?: number;
258
+ isFromManageTagList?: boolean;
259
+ pinnedProductId?: string;
260
+ onPinnedProductIdChange?: (pinnedProductId: string | undefined) => void;
261
+ renderMode?: RenderModeEnum;
262
+ isShowSearch?: boolean;
263
+ isHost?: boolean;
264
+ onRemoveProduct?: (productTag: Amity.ProductTag) => void;
265
+ remainingLimit?: number;
266
+ taggedProductIds?: string[];
267
+ }
268
+ declare function ProductTagSelection({ selectedProductTags, onTagChanges, onUpdateProductTags, displayMode, mode, onDone, onClose, pageId, maxCount, isFromManageTagList, pinnedProductId, onPinnedProductIdChange, renderMode, isShowSearch, isHost, onRemoveProduct, remainingLimit, taggedProductIds, }: ProductTagSelectionProps): react_jsx_runtime.JSX.Element | null;
269
+
270
+ interface ManageProductTagListProps {
271
+ productTags?: Amity.MediaProductTag[];
272
+ onProductTagsChange?: (tags: Amity.ProductTag[]) => void;
273
+ onUpdateProductTags?: (tags: Amity.ProductTag[]) => Promise<Amity.ProductTag[] | undefined> | void;
274
+ onRemove?: (productTag: Amity.ProductTag) => void;
275
+ pageId?: string;
276
+ onClose: (tags: Amity.ProductTag[], pinnedProductId: string) => void;
277
+ maxCount?: number;
278
+ pinnedProductId?: string;
279
+ onPinnedProductIdChange?: (pinnedProductId: string | undefined) => void;
280
+ isPinning?: boolean;
281
+ isUnpinning?: boolean;
282
+ renderMode?: RenderModeEnum;
283
+ isHost?: boolean;
284
+ sourceType?: AnalyticsSourceTypeEnum;
285
+ sourceId: string;
286
+ }
287
+ declare function ManageProductTagList({ productTags: initialProductTags, onProductTagsChange, onUpdateProductTags, onRemove, pageId, onClose, maxCount, pinnedProductId, onPinnedProductIdChange, isPinning, isUnpinning, renderMode, isHost, sourceType, sourceId, }: ManageProductTagListProps): react_jsx_runtime.JSX.Element;
288
+
289
+ interface ProductTagListProps {
290
+ pageId?: string;
291
+ productTags: Amity.ProductTag[];
292
+ displayMode?: DisplayMode;
293
+ onClose?: () => void;
294
+ renderMode?: ProductTagListRenderMode;
295
+ layout?: LayoutVariant;
296
+ pinnedProductId?: string;
297
+ sourceId?: string;
298
+ }
299
+ declare function ProductTagList({ productTags, displayMode, pageId, onClose, renderMode, layout, pinnedProductId, sourceId, }: ProductTagListProps): react_jsx_runtime.JSX.Element | null;
300
+
227
301
  type MemberCommunitySetup = {
228
302
  userId: string;
229
303
  displayName: string;
@@ -651,6 +725,11 @@ interface PageBehavior {
651
725
  userId: string;
652
726
  }): void;
653
727
  };
728
+ AmityProducTagtListComponentBehavior: {
729
+ onProductTagClick?(context: {
730
+ productTag: Amity.ProductTag;
731
+ }): void;
732
+ };
654
733
  }
655
734
 
656
735
  type AmityUIKitConfig = Config;
@@ -1272,14 +1351,16 @@ declare function CreatePostMenu({ pageId }: CreatePostMenuProps): react_jsx_runt
1272
1351
 
1273
1352
  interface MediaAttachmentProps {
1274
1353
  pageId: string;
1354
+ sourceId?: string;
1275
1355
  isVisibleCamera: boolean;
1276
1356
  isVisibleImage: boolean;
1277
1357
  isVisibleVideo: boolean;
1278
1358
  totalMedia?: number;
1359
+ productTags?: Amity.ProductTag[];
1279
1360
  onVideoFileChange?: (files: File[], fileType?: string) => void;
1280
1361
  onImageFileChange?: (files: File[], fileType?: string) => void;
1281
1362
  }
1282
- declare function MediaAttachment({ pageId, isVisibleCamera, isVisibleImage, isVisibleVideo, totalMedia, onVideoFileChange, onImageFileChange, }: MediaAttachmentProps): react_jsx_runtime.JSX.Element | null;
1363
+ declare function MediaAttachment({ pageId, sourceId, isVisibleCamera, isVisibleImage, isVisibleVideo, totalMedia, productTags, onVideoFileChange, onImageFileChange, }: MediaAttachmentProps): react_jsx_runtime.JSX.Element | null;
1283
1364
 
1284
1365
  interface DetailedMediaAttachmentProps {
1285
1366
  pageId: string;
@@ -1471,4 +1552,4 @@ type MyEventsProps = {
1471
1552
  };
1472
1553
  declare function MyEvents({ pageId }: MyEventsProps): react_jsx_runtime.JSX.Element | null;
1473
1554
 
1474
- export { AllCategoriesPage as AmityAllCategoriesPage, _default$1 as AmityAvatar, BlockedUserPage as AmityBlockedUserPage, 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, CreateLivestreamPage as AmityCreateLivestreamPage, CreatePostMenu as AmityCreatePostMenuComponent, DetailedMediaAttachment as AmityDetailedMediaAttachmentComponent, DraftClipPage as AmityDraftClipPage, AmityDraftStoryPage, EditUserProfilePage as AmityEditUserProfilePage, EmptyNewsfeed as AmityEmptyNewsFeedComponent, EventAttendeesPage as AmityEventAttendeesPage, EventDetailPage as AmityEventDetailPage, EventInfo as AmityEventInfoComponent, EventSetupPage as AmityEventSetupPage, EventSetupMode as AmityEventSetupPageMode, EventTargetSelectionPage as AmityEventTargetSelectionPage, CommentText as AmityExpandableText, Explore as AmityExploreComponent, ExploreEvent as AmityExploreEventFeedComponent, GlobalFeed as AmityGlobalFeedComponent, 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, 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, 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, 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, addChatMembers as amityAddChatMembers, removeChatMembers as amityRemoveChatMembers, useNavigation as useAmityNavigation, useSDK as useAmitySDK, useUser as useAmityUser };
1555
+ export { AllCategoriesPage as AmityAllCategoriesPage, _default$1 as AmityAvatar, BlockedUserPage as AmityBlockedUserPage, 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, CreateLivestreamPage as AmityCreateLivestreamPage, CreatePostMenu as AmityCreatePostMenuComponent, DetailedMediaAttachment as AmityDetailedMediaAttachmentComponent, DraftClipPage as AmityDraftClipPage, AmityDraftStoryPage, EditUserProfilePage as AmityEditUserProfilePage, EmptyNewsfeed as AmityEmptyNewsFeedComponent, EventAttendeesPage as AmityEventAttendeesPage, EventDetailPage as AmityEventDetailPage, EventInfo as AmityEventInfoComponent, EventSetupPage as AmityEventSetupPage, EventSetupMode as AmityEventSetupPageMode, EventTargetSelectionPage as AmityEventTargetSelectionPage, CommentText as AmityExpandableText, Explore as AmityExploreComponent, ExploreEvent as AmityExploreEventFeedComponent, GlobalFeed as AmityGlobalFeedComponent, 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, PostContainer as AmityPostContainer, PostContent as AmityPostContentComponent, PostDetailPage as AmityPostDetailPage, _default as AmityPostEngagementBar, SelectPostTargetPage as AmityPostTargetSelectionPage, ProductTagList as AmityProductTagListComponent, ProductTagSelection as AmityProductTagSelectionComponent, 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, 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, addChatMembers as amityAddChatMembers, removeChatMembers as amityRemoveChatMembers, useNavigation as useAmityNavigation, useSDK as useAmitySDK, useUser as useAmityUser };
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ import React, { FC, ReactNode } from 'react';
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
3
  import * as styled_components_dist_types from 'styled-components/dist/types';
4
4
  import * as styled_components from 'styled-components';
5
- import { FeedSourceEnum } from '@amityco/ts-sdk';
5
+ import { AnalyticsSourceTypeEnum, FeedSourceEnum } from '@amityco/ts-sdk';
6
6
 
7
7
  type AmityReactionType = {
8
8
  name: string;
@@ -224,6 +224,80 @@ declare function LivestreamTerminatedPage(): react_jsx_runtime.JSX.Element;
224
224
 
225
225
  declare function LivestreamUnsupportedPage(): react_jsx_runtime.JSX.Element;
226
226
 
227
+ declare const enum DisplayModeEnum {
228
+ DESKTOP = "desktop",
229
+ MOBILE = "mobile"
230
+ }
231
+ type DisplayMode = `${DisplayModeEnum}`;
232
+ declare const enum ProductTagListRenderModeEnum {
233
+ POST = "post",
234
+ LIVESTREAM = "livestream",
235
+ IMAGE = "image",
236
+ VIDEO = "video"
237
+ }
238
+ type ProductTagListRenderMode = `${ProductTagListRenderModeEnum}`;
239
+ declare const enum LayoutVariantEnum {
240
+ LIST = "list",
241
+ CARD = "card"
242
+ }
243
+ type LayoutVariant = `${LayoutVariantEnum}`;
244
+
245
+ type RenderModeEnum = 'livestream' | 'playback';
246
+
247
+ type ProductTagSelectionMode = 'create' | 'edit' | 'livestream';
248
+ interface ProductTagSelectionProps {
249
+ selectedProductTags?: Amity.ProductTag[];
250
+ onTagChanges: (tags: Amity.ProductTag[]) => void;
251
+ onUpdateProductTags?: (tags: Amity.ProductTag[]) => Promise<Amity.ProductTag[] | undefined> | void;
252
+ displayMode?: DisplayMode;
253
+ mode?: ProductTagSelectionMode;
254
+ onDone?: () => void;
255
+ onClose?: (selectedProducts?: Amity.ProductTag[], hasChanges?: boolean) => void;
256
+ pageId?: string;
257
+ maxCount?: number;
258
+ isFromManageTagList?: boolean;
259
+ pinnedProductId?: string;
260
+ onPinnedProductIdChange?: (pinnedProductId: string | undefined) => void;
261
+ renderMode?: RenderModeEnum;
262
+ isShowSearch?: boolean;
263
+ isHost?: boolean;
264
+ onRemoveProduct?: (productTag: Amity.ProductTag) => void;
265
+ remainingLimit?: number;
266
+ taggedProductIds?: string[];
267
+ }
268
+ declare function ProductTagSelection({ selectedProductTags, onTagChanges, onUpdateProductTags, displayMode, mode, onDone, onClose, pageId, maxCount, isFromManageTagList, pinnedProductId, onPinnedProductIdChange, renderMode, isShowSearch, isHost, onRemoveProduct, remainingLimit, taggedProductIds, }: ProductTagSelectionProps): react_jsx_runtime.JSX.Element | null;
269
+
270
+ interface ManageProductTagListProps {
271
+ productTags?: Amity.MediaProductTag[];
272
+ onProductTagsChange?: (tags: Amity.ProductTag[]) => void;
273
+ onUpdateProductTags?: (tags: Amity.ProductTag[]) => Promise<Amity.ProductTag[] | undefined> | void;
274
+ onRemove?: (productTag: Amity.ProductTag) => void;
275
+ pageId?: string;
276
+ onClose: (tags: Amity.ProductTag[], pinnedProductId: string) => void;
277
+ maxCount?: number;
278
+ pinnedProductId?: string;
279
+ onPinnedProductIdChange?: (pinnedProductId: string | undefined) => void;
280
+ isPinning?: boolean;
281
+ isUnpinning?: boolean;
282
+ renderMode?: RenderModeEnum;
283
+ isHost?: boolean;
284
+ sourceType?: AnalyticsSourceTypeEnum;
285
+ sourceId: string;
286
+ }
287
+ declare function ManageProductTagList({ productTags: initialProductTags, onProductTagsChange, onUpdateProductTags, onRemove, pageId, onClose, maxCount, pinnedProductId, onPinnedProductIdChange, isPinning, isUnpinning, renderMode, isHost, sourceType, sourceId, }: ManageProductTagListProps): react_jsx_runtime.JSX.Element;
288
+
289
+ interface ProductTagListProps {
290
+ pageId?: string;
291
+ productTags: Amity.ProductTag[];
292
+ displayMode?: DisplayMode;
293
+ onClose?: () => void;
294
+ renderMode?: ProductTagListRenderMode;
295
+ layout?: LayoutVariant;
296
+ pinnedProductId?: string;
297
+ sourceId?: string;
298
+ }
299
+ declare function ProductTagList({ productTags, displayMode, pageId, onClose, renderMode, layout, pinnedProductId, sourceId, }: ProductTagListProps): react_jsx_runtime.JSX.Element | null;
300
+
227
301
  type MemberCommunitySetup = {
228
302
  userId: string;
229
303
  displayName: string;
@@ -651,6 +725,11 @@ interface PageBehavior {
651
725
  userId: string;
652
726
  }): void;
653
727
  };
728
+ AmityProducTagtListComponentBehavior: {
729
+ onProductTagClick?(context: {
730
+ productTag: Amity.ProductTag;
731
+ }): void;
732
+ };
654
733
  }
655
734
 
656
735
  type AmityUIKitConfig = Config;
@@ -1272,14 +1351,16 @@ declare function CreatePostMenu({ pageId }: CreatePostMenuProps): react_jsx_runt
1272
1351
 
1273
1352
  interface MediaAttachmentProps {
1274
1353
  pageId: string;
1354
+ sourceId?: string;
1275
1355
  isVisibleCamera: boolean;
1276
1356
  isVisibleImage: boolean;
1277
1357
  isVisibleVideo: boolean;
1278
1358
  totalMedia?: number;
1359
+ productTags?: Amity.ProductTag[];
1279
1360
  onVideoFileChange?: (files: File[], fileType?: string) => void;
1280
1361
  onImageFileChange?: (files: File[], fileType?: string) => void;
1281
1362
  }
1282
- declare function MediaAttachment({ pageId, isVisibleCamera, isVisibleImage, isVisibleVideo, totalMedia, onVideoFileChange, onImageFileChange, }: MediaAttachmentProps): react_jsx_runtime.JSX.Element | null;
1363
+ declare function MediaAttachment({ pageId, sourceId, isVisibleCamera, isVisibleImage, isVisibleVideo, totalMedia, productTags, onVideoFileChange, onImageFileChange, }: MediaAttachmentProps): react_jsx_runtime.JSX.Element | null;
1283
1364
 
1284
1365
  interface DetailedMediaAttachmentProps {
1285
1366
  pageId: string;
@@ -1471,4 +1552,4 @@ type MyEventsProps = {
1471
1552
  };
1472
1553
  declare function MyEvents({ pageId }: MyEventsProps): react_jsx_runtime.JSX.Element | null;
1473
1554
 
1474
- export { AllCategoriesPage as AmityAllCategoriesPage, _default$1 as AmityAvatar, BlockedUserPage as AmityBlockedUserPage, 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, CreateLivestreamPage as AmityCreateLivestreamPage, CreatePostMenu as AmityCreatePostMenuComponent, DetailedMediaAttachment as AmityDetailedMediaAttachmentComponent, DraftClipPage as AmityDraftClipPage, AmityDraftStoryPage, EditUserProfilePage as AmityEditUserProfilePage, EmptyNewsfeed as AmityEmptyNewsFeedComponent, EventAttendeesPage as AmityEventAttendeesPage, EventDetailPage as AmityEventDetailPage, EventInfo as AmityEventInfoComponent, EventSetupPage as AmityEventSetupPage, EventSetupMode as AmityEventSetupPageMode, EventTargetSelectionPage as AmityEventTargetSelectionPage, CommentText as AmityExpandableText, Explore as AmityExploreComponent, ExploreEvent as AmityExploreEventFeedComponent, GlobalFeed as AmityGlobalFeedComponent, 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, 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, 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, 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, addChatMembers as amityAddChatMembers, removeChatMembers as amityRemoveChatMembers, useNavigation as useAmityNavigation, useSDK as useAmitySDK, useUser as useAmityUser };
1555
+ export { AllCategoriesPage as AmityAllCategoriesPage, _default$1 as AmityAvatar, BlockedUserPage as AmityBlockedUserPage, 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, CreateLivestreamPage as AmityCreateLivestreamPage, CreatePostMenu as AmityCreatePostMenuComponent, DetailedMediaAttachment as AmityDetailedMediaAttachmentComponent, DraftClipPage as AmityDraftClipPage, AmityDraftStoryPage, EditUserProfilePage as AmityEditUserProfilePage, EmptyNewsfeed as AmityEmptyNewsFeedComponent, EventAttendeesPage as AmityEventAttendeesPage, EventDetailPage as AmityEventDetailPage, EventInfo as AmityEventInfoComponent, EventSetupPage as AmityEventSetupPage, EventSetupMode as AmityEventSetupPageMode, EventTargetSelectionPage as AmityEventTargetSelectionPage, CommentText as AmityExpandableText, Explore as AmityExploreComponent, ExploreEvent as AmityExploreEventFeedComponent, GlobalFeed as AmityGlobalFeedComponent, 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, PostContainer as AmityPostContainer, PostContent as AmityPostContentComponent, PostDetailPage as AmityPostDetailPage, _default as AmityPostEngagementBar, SelectPostTargetPage as AmityPostTargetSelectionPage, ProductTagList as AmityProductTagListComponent, ProductTagSelection as AmityProductTagSelectionComponent, 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, 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, addChatMembers as amityAddChatMembers, removeChatMembers as amityRemoveChatMembers, useNavigation as useAmityNavigation, useSDK as useAmitySDK, useUser as useAmityUser };