@cometchat/chat-uikit-angular 4.2.0 → 4.3.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/Calls/CallingExtensionDecorator.d.ts +1 -1
- package/CometChatConversations/cometchat-conversations/cometchat-conversations.component.d.ts +31 -26
- package/CometChatDetails/cometchat-details/cometchat-details.component.d.ts +3 -3
- package/CometChatGroupMembers/cometchat-group-members/cometchat-group-members.component.d.ts +24 -14
- package/CometChatMessageBubble/cometchat-message-bubble/cometchat-message-bubble.component.d.ts +3 -2
- package/CometChatMessageComposer/cometchat-message-composer/cometchat-message-composer.component.d.ts +84 -5
- package/CometChatMessageComposer/cometchat-message-composer.module.d.ts +2 -1
- package/CometChatMessageList/cometchat-message-list/cometchat-message-list.component.d.ts +254 -49
- package/CometChatMessages/cometchat-messages/cometchat-messages.component.d.ts +1 -0
- package/CometChatUserMemberWrapper/cometchat-user-member-wrapper.component.d.ts +41 -0
- package/CometChatUserMemberWrapper/cometchat-user-member-wrapper.module.d.ts +11 -0
- package/CometChatUsers/cometchat-users/cometchat-users.component.d.ts +22 -12
- package/Extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.d.ts +1 -1
- package/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.d.ts +1 -1
- package/Extensions/PollsExtension/PollsExtensionDecorator.d.ts +1 -1
- package/Extensions/Stickers/StickersExtensionDecorator.d.ts +3 -3
- package/Extensions/TextModerator/TextModeratorExtensionDecorator.d.ts +1 -1
- package/README.md +7 -8
- package/Shared/CometChatUIkit/CometChatUIKit.d.ts +5 -4
- package/Shared/Framework/DataSource.d.ts +11 -4
- package/Shared/Framework/DataSourceDecorator.d.ts +10 -3
- package/Shared/Utils/MessageUtils.d.ts +99 -2
- package/Shared/Views/AIAssistBotMessageList/aiassist-bot-message-list/aiassist-bot-message-list.component.d.ts +2 -2
- package/assets/InfoSimpleIcon.svg +4 -0
- package/assets/message-delivered.svg +4 -3
- package/assets/message-read.svg +4 -3
- package/assets/threadIndicatorIcon.svg +11 -0
- package/esm2020/Calls/CallingExtensionDecorator.mjs +26 -13
- package/esm2020/CometChatAddMembers/cometchat-add-members/cometchat-add-members.component.mjs +1 -1
- package/esm2020/CometChatContacts/cometchat-contacts/cometchat-contacts.component.mjs +3 -3
- package/esm2020/CometChatConversations/cometchat-conversations/cometchat-conversations.component.mjs +280 -129
- package/esm2020/CometChatConversationsWithMessages/cometchat-conversations-with-messages/cometchat-conversations-with-messages.component.mjs +3 -3
- package/esm2020/CometChatDetails/cometchat-details/cometchat-details.component.mjs +6 -8
- package/esm2020/CometChatGroupMembers/cometchat-group-members/cometchat-group-members.component.mjs +155 -58
- package/esm2020/CometChatGroupsWithMessages/cometchat-groups-with-messages/cometchat-groups-with-messages.component.mjs +3 -3
- package/esm2020/CometChatMessageBubble/cometchat-message-bubble/cometchat-message-bubble.component.mjs +11 -5
- package/esm2020/CometChatMessageComposer/cometchat-message-composer/cometchat-message-composer.component.mjs +354 -64
- package/esm2020/CometChatMessageComposer/cometchat-message-composer.module.mjs +5 -4
- package/esm2020/CometChatMessageHeader/cometchat-message-header/cometchat-message-header.component.mjs +3 -3
- package/esm2020/CometChatMessageInformation/cometchat-message-information/cometchat-message-information.component.mjs +2 -2
- package/esm2020/CometChatMessageList/cometchat-message-list/cometchat-message-list.component.mjs +780 -287
- package/esm2020/CometChatMessages/cometchat-messages/cometchat-messages.component.mjs +10 -4
- package/esm2020/CometChatThreadedMessages/cometchat-threaded-messages/cometchat-threaded-messages.component.mjs +3 -3
- package/esm2020/CometChatTransferOwnership/cometchat-transfer-ownership/cometchat-transfer-ownership.component.mjs +1 -1
- package/esm2020/CometChatUserMemberWrapper/cometchat-user-member-wrapper.component.mjs +75 -0
- package/esm2020/CometChatUserMemberWrapper/cometchat-user-member-wrapper.module.mjs +21 -0
- package/esm2020/CometChatUsers/cometchat-users/cometchat-users.component.mjs +114 -36
- package/esm2020/CometChatUsersWithMessages/cometchat-users-with-messages/cometchat-users-with-messages.component.mjs +1 -1
- package/esm2020/Extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.mjs +18 -13
- package/esm2020/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.mjs +19 -13
- package/esm2020/Extensions/PollsExtension/PollsExtensionDecorator.mjs +10 -8
- package/esm2020/Extensions/Stickers/StickersExtensionDecorator.mjs +22 -18
- package/esm2020/Extensions/TextModerator/TextModeratorExtensionDecorator.mjs +62 -7
- package/esm2020/Shared/CometChatUIkit/CometChatUIKit.mjs +24 -9
- package/esm2020/Shared/Framework/DataSource.mjs +1 -1
- package/esm2020/Shared/Framework/DataSourceDecorator.mjs +24 -3
- package/esm2020/Shared/Utils/MessageUtils.mjs +252 -11
- package/esm2020/Shared/Views/AIAssistBotMessageList/aiassist-bot-message-list/aiassist-bot-message-list.component.mjs +5 -4
- package/esm2020/public-api.mjs +4 -4
- package/fesm2015/cometchat-chat-uikit-angular.mjs +4326 -2830
- package/fesm2015/cometchat-chat-uikit-angular.mjs.map +1 -1
- package/fesm2020/cometchat-chat-uikit-angular.mjs +4329 -2808
- package/fesm2020/cometchat-chat-uikit-angular.mjs.map +1 -1
- package/package.json +5 -5
- package/public-api.d.ts +3 -3
- package/Extensions/Reactions/ReactionExtension.d.ts +0 -5
- package/Extensions/Reactions/ReactionExtensionDecorator.d.ts +0 -9
- package/esm2020/Extensions/Reactions/ReactionExtension.mjs +0 -12
- package/esm2020/Extensions/Reactions/ReactionExtensionDecorator.mjs +0 -31
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cometchat/chat-uikit-angular",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.1",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"CometChat",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"Angular"
|
|
22
22
|
],
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"@cometchat/chat-sdk-javascript": "^4.0.
|
|
25
|
-
"@cometchat/uikit-elements": "~4.2
|
|
26
|
-
"@cometchat/uikit-resources": "~4.
|
|
27
|
-
"@cometchat/uikit-shared": "~4.2
|
|
24
|
+
"@cometchat/chat-sdk-javascript": "^4.0.4",
|
|
25
|
+
"@cometchat/uikit-elements": "~4.3.2",
|
|
26
|
+
"@cometchat/uikit-resources": "~4.3.1",
|
|
27
|
+
"@cometchat/uikit-shared": "~4.3.2"
|
|
28
28
|
},
|
|
29
29
|
"module": "fesm2015/cometchat-chat-uikit-angular.mjs",
|
|
30
30
|
"es2020": "fesm2020/cometchat-chat-uikit-angular.mjs",
|
package/public-api.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * from "@cometchat/uikit-shared";
|
|
2
2
|
export * from "@cometchat/uikit-resources";
|
|
3
|
-
export { CometChatAvatar, AvatarStyle, CometChatBadge, BadgeStyle, CometChatReceipt, ReceiptStyle, CometChatStatusIndicator, CometChatDate, DateStyle, CometChatIcon, IconStyle, CometChatBackdrop, CometChatButton, CometChatPopover, PopoverStyle, CometChatLabel, LabelStyle, CometChatInput, InputStyle, CometChatSearchInput, SearchInputStyle, CometChatModal, ModalStyle, CometChatMenuList, MenuListStyle, CometChatLoader, LoaderStyle, CometChatListItem, ListItemStyle, CometChatConfirmDialog, ConfirmDialogStyle, CometChatDivider, CometChatButtonGroup, ButtonGroupStyle, CometChatCheckbox, CheckboxStyle, CometChatTextBubble, TextBubbleStyle, CometChatVideoBubble, CometChatAudioBubble, CometChatImageBubble, ImageBubbleStyle, CometChatFileBubble, FileBubbleStyle, CometChatRadioButton, RadioButtonStyle, CometChatEmojiKeyboard, EmojiKeyboardStyle, Emojis, CometChatEmoji, CometChatMessageInput, MessageInputStyle, CometChatDropdown, DropdownStyle, CometChatChangeScope, ChangeScopeStyle, CometChatPreview, PreviewStyle, auxiliaryButtonAlignmentEnum, CometChatActionSheet, CometChatActionItem, layoutType, ActionSheetStyle, CometChatLiveReaction, CometChatJoinGroup, JoinGroupStyle, CometChatCreateGroup, CreateGroupStyle, CometChatDocumentBubble, CometChatCard, CardStyle, DocumentBubbleStyle, CometChatFullScreenViewer, FullScreenViewerStyle, CometChatIconButton, CometChatDraggable, CometChatContextMenu, ContextMenuStyle, CometChatMediaRecorder, MediaRecorderStyle, CallscreenStyle, CometChatCallscreenWrapper, BackdropStyle, CometChatSingleSelect, SingleSelectStyle, CometChatPanel, CometChatQuickView, PanelStyle, QuickViewStyle } from "@cometchat/uikit-elements";
|
|
3
|
+
export { CometChatAvatar, AvatarStyle, CometChatBadge, BadgeStyle, CometChatReceipt, ReceiptStyle, CometChatStatusIndicator, CometChatDate, DateStyle, CometChatIcon, IconStyle, CometChatBackdrop, CometChatButton, CometChatPopover, PopoverStyle, CometChatLabel, LabelStyle, CometChatInput, InputStyle, CometChatSearchInput, SearchInputStyle, CometChatModal, ModalStyle, CometChatMenuList, MenuListStyle, CometChatLoader, LoaderStyle, CometChatListItem, ListItemStyle, CometChatConfirmDialog, ConfirmDialogStyle, CometChatDivider, CometChatButtonGroup, ButtonGroupStyle, CometChatCheckbox, CheckboxStyle, CometChatTextBubble, TextBubbleStyle, CometChatVideoBubble, CometChatAudioBubble, CometChatImageBubble, ImageBubbleStyle, CometChatFileBubble, FileBubbleStyle, CometChatRadioButton, RadioButtonStyle, CometChatEmojiKeyboard, EmojiKeyboardStyle, Emojis, CometChatEmoji, CometChatMessageInput, CometChatTextInput, MessageInputStyle, TextInputStyle, CometChatDropdown, DropdownStyle, CometChatChangeScope, ChangeScopeStyle, CometChatPreview, PreviewStyle, auxiliaryButtonAlignmentEnum, CometChatActionSheet, CometChatActionItem, layoutType, ActionSheetStyle, CometChatLiveReaction, CometChatJoinGroup, JoinGroupStyle, CometChatCreateGroup, CreateGroupStyle, CometChatDocumentBubble, CometChatCard, CardStyle, DocumentBubbleStyle, CometChatFullScreenViewer, FullScreenViewerStyle, CometChatIconButton, CometChatDraggable, CometChatContextMenu, ContextMenuStyle, CometChatMediaRecorder, MediaRecorderStyle, CallscreenStyle, CometChatCallscreenWrapper, BackdropStyle, CometChatSingleSelect, SingleSelectStyle, CometChatPanel, CometChatQuickView, PanelStyle, QuickViewStyle } from "@cometchat/uikit-elements";
|
|
4
4
|
export { CometChatUIKit } from "./Shared/CometChatUIkit/CometChatUIKit";
|
|
5
5
|
export { ChatConfigurator } from "./Shared/Framework/ChatConfigurator";
|
|
6
6
|
export { DataSource } from "./Shared/Framework/DataSource";
|
|
@@ -21,8 +21,6 @@ export { MessageTranslationExtension } from "./Extensions/MessageTranslation/Mes
|
|
|
21
21
|
export { MessageTranslationExtensionDecorator } from "./Extensions/MessageTranslation/MessageTranslationExtensionDecorator";
|
|
22
22
|
export { PollsExtension } from "./Extensions/PollsExtension/PollsExtension";
|
|
23
23
|
export { PollsExtensionDecorator } from "./Extensions/PollsExtension/PollsExtensionDecorator";
|
|
24
|
-
export { ReactionExtension } from "./Extensions/Reactions/ReactionExtension";
|
|
25
|
-
export { ReactionExtensionDecorator } from "./Extensions/Reactions/ReactionExtensionDecorator";
|
|
26
24
|
export { SmartReplyExtension } from "./Extensions/SmartReplies/SmartRepliesExtension";
|
|
27
25
|
export { SmartReplyExtensionDecorator } from "./Extensions/SmartReplies/SmartRepliesExtensionDecorator";
|
|
28
26
|
export { StickersExtension } from "./Extensions/Stickers/StickersExtension";
|
|
@@ -103,3 +101,5 @@ export { AIConversationSummaryDecorator } from "./AI/AIConversationSummary/AICon
|
|
|
103
101
|
export { AIConversationSummaryExtension } from "./AI/AIConversationSummary/AIConversationSummary";
|
|
104
102
|
export { AIAssistBotDecorator } from "./AI/AIAssistBot/AIAssistBotDecorator";
|
|
105
103
|
export { AIAssistBotExtension } from "./AI/AIAssistBot/AIAssistBot";
|
|
104
|
+
export { CometChatUserMemberWrapperComponent } from "./CometChatUserMemberWrapper/cometchat-user-member-wrapper.component";
|
|
105
|
+
export { CometChatUserMemberWrapper } from "./CometChatUserMemberWrapper/cometchat-user-member-wrapper.module";
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { CometChatTheme, CometChatMessageOption } from "@cometchat/uikit-resources";
|
|
2
|
-
import { DataSource } from "../../Shared/Framework/DataSource";
|
|
3
|
-
import { DataSourceDecorator } from "../../Shared/Framework/DataSourceDecorator";
|
|
4
|
-
export declare class ReactionExtensionDecorator extends DataSourceDecorator {
|
|
5
|
-
constructor(dataSource: DataSource);
|
|
6
|
-
getCommonOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, theme: CometChatTheme, group?: CometChat.Group): CometChatMessageOption[];
|
|
7
|
-
checkIfOptionExist(template: CometChatMessageOption[], id: string): boolean;
|
|
8
|
-
getId(): string;
|
|
9
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ChatConfigurator } from "../../Shared/Framework/ChatConfigurator";
|
|
2
|
-
import { ExtensionsId, ExtensionsDataSource } from '@cometchat/uikit-shared';
|
|
3
|
-
import { ReactionExtensionDecorator } from "./ReactionExtensionDecorator";
|
|
4
|
-
export class ReactionExtension extends ExtensionsDataSource {
|
|
5
|
-
addExtension() {
|
|
6
|
-
ChatConfigurator.enable((dataSource) => new ReactionExtensionDecorator(dataSource));
|
|
7
|
-
}
|
|
8
|
-
getExtensionId() {
|
|
9
|
-
return ExtensionsId.reactions;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUmVhY3Rpb25FeHRlbnNpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jaGF0LXVpa2l0LWFuZ3VsYXIvc3JjL0V4dGVuc2lvbnMvUmVhY3Rpb25zL1JlYWN0aW9uRXh0ZW5zaW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8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9XG4gIG92ZXJyaWRlIGdldEV4dGVuc2lvbklkKCk6IHN0cmluZyB7XG4gICAgcmV0dXJuIEV4dGVuc2lvbnNJZC5yZWFjdGlvbnM7XG4gIH1cbn1cblxuIl19
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { CometChatMessageOption, CometChatUIKitConstants, localize, fontHelper } from "@cometchat/uikit-resources";
|
|
2
|
-
import { DataSourceDecorator } from "../../Shared/Framework/DataSourceDecorator";
|
|
3
|
-
export class ReactionExtensionDecorator extends DataSourceDecorator {
|
|
4
|
-
constructor(dataSource) {
|
|
5
|
-
super(dataSource);
|
|
6
|
-
}
|
|
7
|
-
getCommonOptions(loggedInUser, messageObject, theme, group) {
|
|
8
|
-
let options = super.getCommonOptions(loggedInUser, messageObject, theme, group);
|
|
9
|
-
if (!this.checkIfOptionExist(options, CometChatUIKitConstants.MessageOption.reactToMessage)) {
|
|
10
|
-
let newOption = new CometChatMessageOption({
|
|
11
|
-
id: CometChatUIKitConstants.MessageOption.reactToMessage,
|
|
12
|
-
title: localize("ADD_REACTION"),
|
|
13
|
-
iconURL: "assets/Reactionsicon.svg",
|
|
14
|
-
onClick: null,
|
|
15
|
-
iconTint: theme.palette.getAccent600(),
|
|
16
|
-
backgroundColor: "transparent",
|
|
17
|
-
titleFont: fontHelper(theme.typography.subtitle1),
|
|
18
|
-
titleColor: theme.palette.getAccent600()
|
|
19
|
-
});
|
|
20
|
-
options.push(newOption);
|
|
21
|
-
}
|
|
22
|
-
return options;
|
|
23
|
-
}
|
|
24
|
-
checkIfOptionExist(template, id) {
|
|
25
|
-
return template.some(obj => obj.id === id);
|
|
26
|
-
}
|
|
27
|
-
getId() {
|
|
28
|
-
return "reactions";
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUmVhY3Rpb25FeHRlbnNpb25EZWNvcmF0b3IuanMiLCJzb3VyY2VSb290IjoiIiwic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