@cometchat/chat-uikit-angular 4.0.1 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AI/AIAssistBot/AIAssistBot.d.ts +7 -0
- package/AI/AIAssistBot/AIAssistBotDecorator.d.ts +11 -0
- package/AI/AIConversationStarter/AIConversationStarter.d.ts +2 -2
- package/AI/AIConversationStarter/AIConversationStarterDecorator.d.ts +3 -0
- package/AI/AIConversationSummary/AIConversationSummary.d.ts +7 -0
- package/AI/AIConversationSummary/AIConversationSummaryDecorator.d.ts +10 -0
- package/AI/AISmartReplies/AISmartReplies.d.ts +2 -2
- package/AI/AISmartReplies/AISmartRepliesDecorator.d.ts +3 -0
- package/Calls/CometChatCallLogDetails/cometchat-call-log-details/cometchat-call-log-details.component.d.ts +119 -0
- package/Calls/CometChatCallLogDetails/cometchat-call-log-details.module.d.ts +14 -0
- package/Calls/CometChatCallLogHistory/cometchat-call-log-history/cometchat-call-log-history.component.d.ts +111 -0
- package/Calls/CometChatCallLogHistory/cometchat-call-log-history.module.d.ts +10 -0
- package/Calls/CometChatCallLogParticipants/cometchat-call-log-participants/cometchat-call-log-participants.component.d.ts +76 -0
- package/Calls/CometChatCallLogParticipants/cometchat-call-log-participants.module.d.ts +10 -0
- package/Calls/CometChatCallLogRecordings/cometchat-call-log-recordings/cometchat-call-log-recordings.component.d.ts +90 -0
- package/Calls/CometChatCallLogRecordings/cometchat-call-log-recordings.module.d.ts +10 -0
- package/Calls/CometChatCallLogs/cometchat-call-logs/cometchat-call-logs.component.d.ts +133 -0
- package/Calls/CometChatCallLogs/cometchat-call-logs.module.d.ts +12 -0
- package/Calls/CometChatCallLogsWithDetails/cometchat-call-logs-with-details/cometchat-call-logs-with-details.component.d.ts +54 -0
- package/Calls/CometChatCallLogsWithDetails/cometchat-call-logs-with-details.module.d.ts +12 -0
- package/CometChatConversations/cometchat-conversations/cometchat-conversations.component.d.ts +18 -7
- package/CometChatList/cometchat-list.component.d.ts +12 -9
- package/CometChatMessageComposer/cometchat-message-composer/cometchat-message-composer.component.d.ts +65 -29
- package/CometChatMessageComposer/cometchat-message-composer.module.d.ts +3 -3
- package/CometChatMessageHeader/cometchat-message-header/cometchat-message-header.component.d.ts +7 -6
- package/CometChatMessageInformation/cometchat-message-information/cometchat-message-information.component.d.ts +6 -4
- package/CometChatMessageList/cometchat-message-list/cometchat-message-list.component.d.ts +96 -55
- package/CometChatMessageList/cometchat-message-list.module.d.ts +1 -1
- package/CometChatMessages/cometchat-messages/cometchat-messages.component.d.ts +19 -16
- package/CometChatMessages/cometchat-messages.module.d.ts +3 -2
- package/CometChatThreadedMessages/cometchat-threaded-messages/cometchat-threaded-messages.component.d.ts +8 -5
- package/Shared/CometChatUIkit/CometChatUIKit.d.ts +13 -3
- package/Shared/Framework/AIExtensionDataSource.d.ts +5 -0
- package/Shared/Framework/DataSource.d.ts +3 -1
- package/Shared/Framework/DataSourceDecorator.d.ts +3 -1
- package/Shared/Utils/CallDetailUtils.d.ts +8 -0
- package/Shared/Utils/CallLogUtils.d.ts +8 -0
- package/Shared/Utils/MessageUtils.d.ts +2 -1
- package/Shared/Views/AIAssistBotMessageList/aiassist-bot-message-list/aiassist-bot-message-list.component.d.ts +71 -0
- package/Shared/Views/AIAssistBotMessageList/aiassist-bot-message-list.module.d.ts +11 -0
- package/assets/InfoIcon.svg +13 -0
- package/assets/greaterThanIcon.svg +3 -0
- package/assets/incomingAudioCallIconUrl.svg +5 -0
- package/assets/incomingVideoCallIconUrl.svg +6 -0
- package/assets/missedAudioCallIconUrl.svg +5 -0
- package/assets/missedVideoCallIconUrl.svg +6 -0
- package/assets/outgoingAudioCallIconUrl.svg +5 -0
- package/assets/outgoingVideoCallIconUrl.svg +6 -0
- package/esm2020/AI/AIAssistBot/AIAssistBot.mjs +21 -0
- package/esm2020/AI/AIAssistBot/AIAssistBotDecorator.mjs +68 -0
- package/esm2020/AI/AIConversationStarter/AIConversationStarter.mjs +7 -4
- package/esm2020/AI/AIConversationStarter/AIConversationStarterDecorator.mjs +22 -1
- package/esm2020/AI/AIConversationSummary/AIConversationSummary.mjs +21 -0
- package/esm2020/AI/AIConversationSummary/AIConversationSummaryDecorator.mjs +32 -0
- package/esm2020/AI/AISmartReplies/AISmartReplies.mjs +7 -4
- package/esm2020/AI/AISmartReplies/AISmartRepliesDecorator.mjs +22 -1
- package/esm2020/Calls/CometChatCallButtons/cometchat-call-buttons/cometchat-call-buttons.component.mjs +3 -3
- package/esm2020/Calls/CometChatCallLogDetails/cometchat-call-log-details/cometchat-call-log-details.component.mjs +351 -0
- package/esm2020/Calls/CometChatCallLogDetails/cometchat-call-log-details.module.mjs +47 -0
- package/esm2020/Calls/CometChatCallLogHistory/cometchat-call-log-history/cometchat-call-log-history.component.mjs +352 -0
- package/esm2020/Calls/CometChatCallLogHistory/cometchat-call-log-history.module.mjs +21 -0
- package/esm2020/Calls/CometChatCallLogParticipants/cometchat-call-log-participants/cometchat-call-log-participants.component.mjs +189 -0
- package/esm2020/Calls/CometChatCallLogParticipants/cometchat-call-log-participants.module.mjs +21 -0
- package/esm2020/Calls/CometChatCallLogRecordings/cometchat-call-log-recordings/cometchat-call-log-recordings.component.mjs +246 -0
- package/esm2020/Calls/CometChatCallLogRecordings/cometchat-call-log-recordings.module.mjs +21 -0
- package/esm2020/Calls/CometChatCallLogs/cometchat-call-logs/cometchat-call-logs.component.mjs +585 -0
- package/esm2020/Calls/CometChatCallLogs/cometchat-call-logs.module.mjs +36 -0
- package/esm2020/Calls/CometChatCallLogsWithDetails/cometchat-call-logs-with-details/cometchat-call-logs-with-details.component.mjs +193 -0
- package/esm2020/Calls/CometChatCallLogsWithDetails/cometchat-call-logs-with-details.module.mjs +39 -0
- package/esm2020/CometChatBannedMembers/cometchat-banned-members/cometchat-banned-members.component.mjs +1 -1
- package/esm2020/CometChatConversations/cometchat-conversations/cometchat-conversations.component.mjs +72 -46
- package/esm2020/CometChatConversationsWithMessages/cometchat-conversations-with-messages/cometchat-conversations-with-messages.component.mjs +3 -3
- package/esm2020/CometChatGroupMembers/cometchat-group-members/cometchat-group-members.component.mjs +1 -1
- package/esm2020/CometChatGroups/cometchat-groups/cometchat-groups.component.mjs +1 -1
- package/esm2020/CometChatGroupsWithMessages/cometchat-groups-with-messages/cometchat-groups-with-messages.component.mjs +3 -3
- package/esm2020/CometChatList/cometchat-list.component.mjs +44 -28
- package/esm2020/CometChatMessageComposer/cometchat-message-composer/cometchat-message-composer.component.mjs +312 -115
- package/esm2020/CometChatMessageComposer/cometchat-message-composer.module.mjs +7 -14
- package/esm2020/CometChatMessageHeader/cometchat-message-header/cometchat-message-header.component.mjs +15 -17
- package/esm2020/CometChatMessageInformation/cometchat-message-information/cometchat-message-information.component.mjs +19 -21
- package/esm2020/CometChatMessageList/cometchat-message-list/cometchat-message-list.component.mjs +888 -300
- package/esm2020/CometChatMessageList/cometchat-message-list.module.mjs +5 -5
- package/esm2020/CometChatMessages/cometchat-messages/cometchat-messages.component.mjs +72 -51
- package/esm2020/CometChatMessages/cometchat-messages.module.mjs +10 -6
- package/esm2020/CometChatThreadedMessages/cometchat-threaded-messages/cometchat-threaded-messages.component.mjs +23 -23
- package/esm2020/CometChatUsers/cometchat-users/cometchat-users.component.mjs +1 -1
- package/esm2020/CometChatUsersWithMessages/cometchat-users-with-messages/cometchat-users-with-messages.component.mjs +3 -3
- package/esm2020/Shared/CometChatUIkit/CometChatUIKit.mjs +173 -36
- package/esm2020/Shared/Framework/AIExtensionDataSource.mjs +3 -0
- package/esm2020/Shared/Framework/ChatConfigurator.mjs +2 -2
- package/esm2020/Shared/Framework/DataSource.mjs +1 -1
- package/esm2020/Shared/Framework/DataSourceDecorator.mjs +5 -2
- package/esm2020/Shared/Utils/CallDetailUtils.mjs +72 -0
- package/esm2020/Shared/Utils/CallLogUtils.mjs +122 -0
- package/esm2020/Shared/Utils/MessageUtils.mjs +31 -20
- package/esm2020/Shared/Views/AIAssistBotMessageList/aiassist-bot-message-list/aiassist-bot-message-list.component.mjs +289 -0
- package/esm2020/Shared/Views/AIAssistBotMessageList/aiassist-bot-message-list.module.mjs +22 -0
- package/esm2020/public-api.mjs +106 -91
- package/fesm2015/cometchat-chat-uikit-angular.mjs +4249 -817
- package/fesm2015/cometchat-chat-uikit-angular.mjs.map +1 -1
- package/fesm2020/cometchat-chat-uikit-angular.mjs +4271 -836
- package/fesm2020/cometchat-chat-uikit-angular.mjs.map +1 -1
- package/package.json +6 -6
- package/public-api.d.ts +105 -90
- package/AI/AIEnabler.d.ts +0 -8
- package/AI/AIEnablerDecorator.d.ts +0 -7
- package/LICENSE.md +0 -3
- package/Shared/Views/CometChatCardView/cometchat-card-view/cometchat-card-view.component.d.ts +0 -71
- package/Shared/Views/CometChatCardView/cometchat-card-view.module.d.ts +0 -8
- package/esm2020/AI/AIEnabler.mjs +0 -70
- package/esm2020/AI/AIEnablerDecorator.mjs +0 -10
- package/esm2020/Shared/Views/CometChatCardView/cometchat-card-view/cometchat-card-view.component.mjs +0 -117
- package/esm2020/Shared/Views/CometChatCardView/cometchat-card-view.module.mjs +0 -23
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cometchat/chat-uikit-angular",
|
|
3
|
-
"version": "4.0
|
|
3
|
+
"version": "4.1.0",
|
|
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/
|
|
25
|
-
"@cometchat/uikit-
|
|
26
|
-
"@cometchat/uikit-
|
|
27
|
-
"@cometchat/
|
|
24
|
+
"@cometchat/chat-sdk-javascript": "^4.0.3",
|
|
25
|
+
"@cometchat/uikit-elements": "~4.1.0",
|
|
26
|
+
"@cometchat/uikit-resources": "~4.1.0",
|
|
27
|
+
"@cometchat/uikit-shared": "~4.1.0"
|
|
28
28
|
},
|
|
29
29
|
"module": "fesm2015/cometchat-chat-uikit-angular.mjs",
|
|
30
30
|
"es2020": "fesm2020/cometchat-chat-uikit-angular.mjs",
|
|
@@ -49,4 +49,4 @@
|
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"tslib": "^2.3.0"
|
|
51
51
|
}
|
|
52
|
-
}
|
|
52
|
+
}
|
package/public-api.d.ts
CHANGED
|
@@ -1,90 +1,105 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
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, } from
|
|
4
|
-
export { CometChatUIKit } from
|
|
5
|
-
export { ChatConfigurator } from
|
|
6
|
-
export { DataSource } from
|
|
7
|
-
export { DataSourceDecorator } from
|
|
8
|
-
export { ExtensionsDataSource } from
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
15
|
-
export {
|
|
16
|
-
export {
|
|
17
|
-
export {
|
|
18
|
-
export {
|
|
19
|
-
export {
|
|
20
|
-
export {
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
23
|
-
export {
|
|
24
|
-
export {
|
|
25
|
-
export {
|
|
26
|
-
export {
|
|
27
|
-
export {
|
|
28
|
-
export {
|
|
29
|
-
export {
|
|
30
|
-
export {
|
|
31
|
-
export {
|
|
32
|
-
export {
|
|
33
|
-
export {
|
|
34
|
-
export {
|
|
35
|
-
export {
|
|
36
|
-
export {
|
|
37
|
-
export {
|
|
38
|
-
export {
|
|
39
|
-
export {
|
|
40
|
-
export {
|
|
41
|
-
export {
|
|
42
|
-
export {
|
|
43
|
-
export {
|
|
44
|
-
export {
|
|
45
|
-
export {
|
|
46
|
-
export {
|
|
47
|
-
export {
|
|
48
|
-
export {
|
|
49
|
-
export {
|
|
50
|
-
export {
|
|
51
|
-
export {
|
|
52
|
-
export {
|
|
53
|
-
export {
|
|
54
|
-
export {
|
|
55
|
-
export {
|
|
56
|
-
export {
|
|
57
|
-
export {
|
|
58
|
-
export {
|
|
59
|
-
export {
|
|
60
|
-
export {
|
|
61
|
-
export {
|
|
62
|
-
export {
|
|
63
|
-
export {
|
|
64
|
-
export {
|
|
65
|
-
export {
|
|
66
|
-
export {
|
|
67
|
-
export {
|
|
68
|
-
export {
|
|
69
|
-
export {
|
|
70
|
-
export {
|
|
71
|
-
export {
|
|
72
|
-
export {
|
|
73
|
-
export {
|
|
74
|
-
export {
|
|
75
|
-
export {
|
|
76
|
-
export {
|
|
77
|
-
export {
|
|
78
|
-
export {
|
|
79
|
-
export {
|
|
80
|
-
export {
|
|
81
|
-
export {
|
|
82
|
-
export {
|
|
83
|
-
export {
|
|
84
|
-
export {
|
|
85
|
-
export {
|
|
86
|
-
export {
|
|
87
|
-
export {
|
|
88
|
-
export {
|
|
89
|
-
export {
|
|
90
|
-
export {
|
|
1
|
+
export * from "@cometchat/uikit-shared";
|
|
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, } from "@cometchat/uikit-elements";
|
|
4
|
+
export { CometChatUIKit } from "./Shared/CometChatUIkit/CometChatUIKit";
|
|
5
|
+
export { ChatConfigurator } from "./Shared/Framework/ChatConfigurator";
|
|
6
|
+
export { DataSource } from "./Shared/Framework/DataSource";
|
|
7
|
+
export { DataSourceDecorator } from "./Shared/Framework/DataSourceDecorator";
|
|
8
|
+
export { ExtensionsDataSource } from "./Shared/Framework/ExtensionDataSource";
|
|
9
|
+
export { AIExtensionDataSource } from "./Shared/Framework/AIExtensionDataSource";
|
|
10
|
+
export { MessageUtils } from "./Shared/Utils/MessageUtils";
|
|
11
|
+
export { CometChatThemeService } from "./CometChatTheme.service";
|
|
12
|
+
export { CollaborativeDocumentExtension } from "./Extensions/CollaborativeDocument/CollaborativeDocumentExtension";
|
|
13
|
+
export { CollaborativeDocumentExtensionDecorator } from "./Extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator";
|
|
14
|
+
export { CollaborativeWhiteBoardExtension } from "./Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension";
|
|
15
|
+
export { CollaborativeWhiteBoardExtensionDecorator } from "./Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator";
|
|
16
|
+
export { ImageModerationExtension } from "./Extensions/ImageModeration/ImageModerationExtension";
|
|
17
|
+
export { ImageModerationExtensionDecorator } from "./Extensions/ImageModeration/ImageModerationExtensionDecorator";
|
|
18
|
+
export { LinkPreviewExtension } from "./Extensions/LinkPreviewExtension/LinkPreviewExtension";
|
|
19
|
+
export { LinkPreviewExtensionDecorator } from "./Extensions/LinkPreviewExtension/LinkPreviewExtensionDecorator";
|
|
20
|
+
export { MessageTranslationExtension } from "./Extensions/MessageTranslation/MessageTranslationExtension";
|
|
21
|
+
export { MessageTranslationExtensionDecorator } from "./Extensions/MessageTranslation/MessageTranslationExtensionDecorator";
|
|
22
|
+
export { PollsExtension } from "./Extensions/PollsExtension/PollsExtension";
|
|
23
|
+
export { PollsExtensionDecorator } from "./Extensions/PollsExtension/PollsExtensionDecorator";
|
|
24
|
+
export { ReactionExtension } from "./Extensions/Reactions/ReactionExtension";
|
|
25
|
+
export { ReactionExtensionDecorator } from "./Extensions/Reactions/ReactionExtensionDecorator";
|
|
26
|
+
export { SmartReplyExtension } from "./Extensions/SmartReplies/SmartRepliesExtension";
|
|
27
|
+
export { SmartReplyExtensionDecorator } from "./Extensions/SmartReplies/SmartRepliesExtensionDecorator";
|
|
28
|
+
export { StickersExtension } from "./Extensions/Stickers/StickersExtension";
|
|
29
|
+
export { StickersExtensionDecorator } from "./Extensions/Stickers/StickersExtensionDecorator";
|
|
30
|
+
export { TextModeratorExtension } from "./Extensions/TextModerator/TextModeratorExtension";
|
|
31
|
+
export { TextModeratorExtensionDecorator } from "./Extensions/TextModerator/TextModeratorExtensionDecorator";
|
|
32
|
+
export { ThumbnailGenerationExtension } from "./Extensions/ThumbnailGeneration/ThumbnailGenerationExtension";
|
|
33
|
+
export { ThumbnailGenerationExtensionDecorator } from "./Extensions/ThumbnailGeneration/ThumbnailGenerationExtensionDecorator";
|
|
34
|
+
export { CallingExtension } from "./Calls/CallingExtension";
|
|
35
|
+
export { CallingExtensionDecorator } from "./Calls/CallingExtensionDecorator";
|
|
36
|
+
export { CometChatCallButtons } from "./Calls/CometChatCallButtons/cometchat-call-buttons.module";
|
|
37
|
+
export { CometChatCallButtonsComponent } from "./Calls/CometChatCallButtons/cometchat-call-buttons/cometchat-call-buttons.component";
|
|
38
|
+
export { CometChatIncomingCall } from "./Calls/CometChatIncomingCall/cometchat-incoming-call.module";
|
|
39
|
+
export { CometChatIncomingCallComponent } from "./Calls/CometChatIncomingCall/cometchat-incoming-call/cometchat-incoming-call.component";
|
|
40
|
+
export { CometChatOngoingCall } from "./Calls/CometChatOngoingCall/cometchat-ongoing-call.module";
|
|
41
|
+
export { CometChatOngoingCallComponent } from "./Calls/CometChatOngoingCall/cometchat-ongoing-call/cometchat-ongoing-call.component";
|
|
42
|
+
export { CometChatOutgoingCall } from "./Calls/CometChatOutgoingCall/cometchat-outgoing-call.module";
|
|
43
|
+
export { CometChatOutgoingCallComponent } from "./Calls/CometChatOutgoingCall/cometchat-outgoing-call/cometchat-outgoing-call.component";
|
|
44
|
+
export { CometChatAddMembersComponent } from "./CometChatAddMembers/cometchat-add-members/cometchat-add-members.component";
|
|
45
|
+
export { CometChatAddMembers } from "./CometChatAddMembers/cometchat-add-members.module";
|
|
46
|
+
export { CometChatBannedMembers } from "./CometChatBannedMembers/cometchat-banned-members.module";
|
|
47
|
+
export { CometChatBannedMembersComponent } from "./CometChatBannedMembers/cometchat-banned-members/cometchat-banned-members.component";
|
|
48
|
+
export { CometChatConversations } from "./CometChatConversations/cometchat-conversations.module";
|
|
49
|
+
export { CometChatConversationsComponent } from "./CometChatConversations/cometchat-conversations/cometchat-conversations.component";
|
|
50
|
+
export { CometChatConversationsWithMessages } from "./CometChatConversationsWithMessages/cometchat-conversations-with-messages.module";
|
|
51
|
+
export { CometChatConversationsWithMessagesComponent } from "./CometChatConversationsWithMessages/cometchat-conversations-with-messages/cometchat-conversations-with-messages.component";
|
|
52
|
+
export { CometChatDetails } from "./CometChatDetails/cometchat-details.module";
|
|
53
|
+
export { CometChatDetailsComponent } from "./CometChatDetails/cometchat-details/cometchat-details.component";
|
|
54
|
+
export { CometChatGroupMembers } from "./CometChatGroupMembers/cometchat-group-members.module";
|
|
55
|
+
export { CometChatGroupMembersComponent } from "./CometChatGroupMembers/cometchat-group-members/cometchat-group-members.component";
|
|
56
|
+
export { CometChatGroups } from "./CometChatGroups/cometchat-groups.module";
|
|
57
|
+
export { CometChatGroupsComponent } from "./CometChatGroups/cometchat-groups/cometchat-groups.component";
|
|
58
|
+
export { CometChatGroupsWithMessages } from "./CometChatGroupsWithMessages/cometchat-groups-with-messages.module";
|
|
59
|
+
export { CometChatGroupsWithMessagesComponent } from "./CometChatGroupsWithMessages/cometchat-groups-with-messages/cometchat-groups-with-messages.component";
|
|
60
|
+
export { CometChatList } from "./CometChatList/cometchat-list.module";
|
|
61
|
+
export { CometchatListComponent } from "./CometChatList/cometchat-list.component";
|
|
62
|
+
export { CometChatMessageBubble } from "./CometChatMessageBubble/cometchat-message-bubble.module";
|
|
63
|
+
export { CometChatMessageBubbleComponent } from "./CometChatMessageBubble/cometchat-message-bubble/cometchat-message-bubble.component";
|
|
64
|
+
export { CometChatMessageComposer } from "./CometChatMessageComposer/cometchat-message-composer.module";
|
|
65
|
+
export { CometChatMessageComposerComponent } from "./CometChatMessageComposer/cometchat-message-composer/cometchat-message-composer.component";
|
|
66
|
+
export { CometChatMessageHeader } from "./CometChatMessageHeader/cometchat-message-header.module";
|
|
67
|
+
export { CometChatMessageHeaderComponent } from "./CometChatMessageHeader/cometchat-message-header/cometchat-message-header.component";
|
|
68
|
+
export { CometChatMessageList } from "./CometChatMessageList/cometchat-message-list.module";
|
|
69
|
+
export { CometChatMessageListComponent } from "./CometChatMessageList/cometchat-message-list/cometchat-message-list.component";
|
|
70
|
+
export { CometChatMessages } from "./CometChatMessages/cometchat-messages.module";
|
|
71
|
+
export { CometChatMessagesComponent } from "./CometChatMessages/cometchat-messages/cometchat-messages.component";
|
|
72
|
+
export { CometChatThreadedMessages } from "./CometChatThreadedMessages/cometchat-threaded-messages.module";
|
|
73
|
+
export { CometChatThreadedMessagesComponent } from "./CometChatThreadedMessages/cometchat-threaded-messages/cometchat-threaded-messages.component";
|
|
74
|
+
export { CometChatTransferOwnership } from "./CometChatTransferOwnership/cometchat-transfer-ownership.module";
|
|
75
|
+
export { CometChatTransferOwnershipComponent } from "./CometChatTransferOwnership/cometchat-transfer-ownership/cometchat-transfer-ownership.component";
|
|
76
|
+
export { CometChatUsersComponent } from "./CometChatUsers/cometchat-users/cometchat-users.component";
|
|
77
|
+
export { CometChatUsers } from "./CometChatUsers/cometchat-users.module";
|
|
78
|
+
export { CometChatUsersWithMessagesComponent } from "./CometChatUsersWithMessages/cometchat-users-with-messages/cometchat-users-with-messages.component";
|
|
79
|
+
export { CometChatUsersWithMessages } from "./CometChatUsersWithMessages/cometchat-users-with-messages.module";
|
|
80
|
+
export { CometChatTabsComponent } from "./Shared/Views/CometChatTabs/cometchat-tabs/cometchat-tabs.component";
|
|
81
|
+
export { CometChatTabs } from "./Shared/Views/CometChatTabs/cometchat-tabs.module";
|
|
82
|
+
export { CometChatContacts } from "./CometChatContacts/cometchat-contacts.module";
|
|
83
|
+
export { CometChatContactsComponent } from "./CometChatContacts/cometchat-contacts/cometchat-contacts.component";
|
|
84
|
+
export { CometChatMessageInformation } from "./CometChatMessageInformation/cometchat-message-information.module";
|
|
85
|
+
export { CometChatMessageInformationComponent } from "./CometChatMessageInformation/cometchat-message-information/cometchat-message-information.component";
|
|
86
|
+
export { CometChatCallLogs } from "./Calls/CometChatCallLogs/cometchat-call-logs.module";
|
|
87
|
+
export { CometchatCallLogsComponent } from "./Calls/CometChatCallLogs/cometchat-call-logs/cometchat-call-logs.component";
|
|
88
|
+
export { CometChatCallLogParticipants } from "./Calls/CometChatCallLogParticipants/cometchat-call-log-participants.module";
|
|
89
|
+
export { CometChatCallLogParticipantsComponent } from "./Calls/CometChatCallLogParticipants/cometchat-call-log-participants/cometchat-call-log-participants.component";
|
|
90
|
+
export { CometChatCallLogRecordings } from "./Calls/CometChatCallLogRecordings/cometchat-call-log-recordings.module";
|
|
91
|
+
export { CometChatCallLogRecordingsComponent } from "./Calls/CometChatCallLogRecordings/cometchat-call-log-recordings/cometchat-call-log-recordings.component";
|
|
92
|
+
export { CometChatCallLogHistory } from "./Calls/CometChatCallLogHistory/cometchat-call-log-history.module";
|
|
93
|
+
export { CometChatCallLogHistoryComponent } from "./Calls/CometChatCallLogHistory/cometchat-call-log-history/cometchat-call-log-history.component";
|
|
94
|
+
export { CometChatCallLogDetails } from "./Calls/CometChatCallLogDetails/cometchat-call-log-details.module";
|
|
95
|
+
export { CometChatCallLogDetailsComponent } from "./Calls/CometChatCallLogDetails/cometchat-call-log-details/cometchat-call-log-details.component";
|
|
96
|
+
export { CometChatCallLogsWithDetails } from "./Calls/CometChatCallLogsWithDetails/cometchat-call-logs-with-details.module";
|
|
97
|
+
export { CometChatCallLogsWithDetailsComponent } from "./Calls/CometChatCallLogsWithDetails/cometchat-call-logs-with-details/cometchat-call-logs-with-details.component";
|
|
98
|
+
export { AIConversationStarterDecorator } from "./AI/AIConversationStarter/AIConversationStarterDecorator";
|
|
99
|
+
export { AIConversationStarterExtension } from "./AI/AIConversationStarter/AIConversationStarter";
|
|
100
|
+
export { AISmartRepliesExtension } from "./AI/AISmartReplies/AISmartReplies";
|
|
101
|
+
export { AISmartRepliesExtensionDecorator } from "./AI/AISmartReplies/AISmartRepliesDecorator";
|
|
102
|
+
export { AIConversationSummaryDecorator } from "./AI/AIConversationSummary/AIConversationSummaryDecorator";
|
|
103
|
+
export { AIConversationSummaryExtension } from "./AI/AIConversationSummary/AIConversationSummary";
|
|
104
|
+
export { AIAssistBotDecorator } from "./AI/AIAssistBot/AIAssistBotDecorator";
|
|
105
|
+
export { AIAssistBotExtension } from "./AI/AIAssistBot/AIAssistBot";
|
package/AI/AIEnabler.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AIExtensionDataSource } from "@cometchat/uikit-shared";
|
|
2
|
-
export declare class AIEnabler extends AIExtensionDataSource {
|
|
3
|
-
defaultAIFeatures: AIExtensionDataSource[] | undefined;
|
|
4
|
-
constructor(defaultFeatures?: AIExtensionDataSource[]);
|
|
5
|
-
addExtension(): void;
|
|
6
|
-
getExtensionId(): string;
|
|
7
|
-
enable(): void;
|
|
8
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { DataSource } from "../Shared/Framework/DataSource";
|
|
2
|
-
import { DataSourceDecorator } from "../Shared/Framework/DataSourceDecorator";
|
|
3
|
-
export declare class AIEnablerDecorator extends DataSourceDecorator {
|
|
4
|
-
newDataSource: DataSource;
|
|
5
|
-
constructor(dataSource: DataSource, features?: any);
|
|
6
|
-
getId(): string;
|
|
7
|
-
}
|
package/LICENSE.md
DELETED
package/Shared/Views/CometChatCardView/cometchat-card-view/cometchat-card-view.component.d.ts
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { OnInit, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import '@cometchat/uikit-elements';
|
|
3
|
-
import { CometChatTheme, States, localize } from '@cometchat/uikit-resources';
|
|
4
|
-
import { CometChatThemeService } from '../../../../CometChatTheme.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class CometChatCardViewComponent implements OnInit {
|
|
7
|
-
private themeService;
|
|
8
|
-
private ref;
|
|
9
|
-
buttons: Buttons[];
|
|
10
|
-
closeCallback: ((callback: () => void) => void) | null;
|
|
11
|
-
replies: string[];
|
|
12
|
-
currentSection: Buttons | undefined;
|
|
13
|
-
activeButtonText: string;
|
|
14
|
-
state: States;
|
|
15
|
-
states: typeof States;
|
|
16
|
-
errorStateText: string;
|
|
17
|
-
emptyStateText: string;
|
|
18
|
-
loadingStateText: string;
|
|
19
|
-
theme: CometChatTheme;
|
|
20
|
-
localize: typeof localize;
|
|
21
|
-
constructor(themeService: CometChatThemeService, ref: ChangeDetectorRef);
|
|
22
|
-
fetchButtonContent(button: Buttons): void;
|
|
23
|
-
handleGoBack: () => void;
|
|
24
|
-
ngOnInit(): void;
|
|
25
|
-
stateLoader: () => {
|
|
26
|
-
iconTint: string | undefined;
|
|
27
|
-
};
|
|
28
|
-
repliesStateStyle: () => {
|
|
29
|
-
textFont: string;
|
|
30
|
-
textColor: string | undefined;
|
|
31
|
-
};
|
|
32
|
-
buttonStyles(): {
|
|
33
|
-
height: string;
|
|
34
|
-
width: string;
|
|
35
|
-
padding: string;
|
|
36
|
-
background: string | undefined;
|
|
37
|
-
border: string;
|
|
38
|
-
borderRadius: string;
|
|
39
|
-
buttonTextColor: string | undefined;
|
|
40
|
-
buttonTextFont: string;
|
|
41
|
-
margin: string;
|
|
42
|
-
};
|
|
43
|
-
repliesViewStyle(): {
|
|
44
|
-
width: string;
|
|
45
|
-
padding: string;
|
|
46
|
-
background: string | undefined;
|
|
47
|
-
border: string;
|
|
48
|
-
borderRadius: string;
|
|
49
|
-
buttonTextColor: string | undefined;
|
|
50
|
-
buttonTextFont: string;
|
|
51
|
-
margin: string;
|
|
52
|
-
};
|
|
53
|
-
backButtonStyle(): {
|
|
54
|
-
height: string;
|
|
55
|
-
width: string;
|
|
56
|
-
background: string;
|
|
57
|
-
border: string;
|
|
58
|
-
buttonIconTint: string | undefined;
|
|
59
|
-
position: string;
|
|
60
|
-
top: string;
|
|
61
|
-
left: string;
|
|
62
|
-
zIndex: number;
|
|
63
|
-
};
|
|
64
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatCardViewComponent, never>;
|
|
65
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CometChatCardViewComponent, "cometchat-card-view", never, { "buttons": "buttons"; "closeCallback": "closeCallback"; }, {}, never, never>;
|
|
66
|
-
}
|
|
67
|
-
export interface Buttons {
|
|
68
|
-
title: string;
|
|
69
|
-
id: string;
|
|
70
|
-
onClick: () => Promise<unknown>;
|
|
71
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./cometchat-card-view/cometchat-card-view.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
export declare class CometChatCardView {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CometChatCardView, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CometChatCardView, [typeof i1.CometChatCardViewComponent], [typeof i2.CommonModule], [typeof i1.CometChatCardViewComponent]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<CometChatCardView>;
|
|
8
|
-
}
|
package/esm2020/AI/AIEnabler.mjs
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { ChatConfigurator } from "./../Shared/Framework/ChatConfigurator";
|
|
2
|
-
import { AIEnablerDecorator } from "./AIEnablerDecorator";
|
|
3
|
-
import { CometChat } from "@cometchat/chat-sdk-javascript";
|
|
4
|
-
import { AISmartRepliesExtension } from "./AISmartReplies/AISmartReplies";
|
|
5
|
-
import { AIConversationStarterExtension } from "./AIConversationStarter/AIConversationStarter";
|
|
6
|
-
import { AIExtensionDataSource } from "@cometchat/uikit-shared";
|
|
7
|
-
export class AIEnabler extends AIExtensionDataSource {
|
|
8
|
-
constructor(defaultFeatures) {
|
|
9
|
-
super();
|
|
10
|
-
this.defaultAIFeatures = defaultFeatures;
|
|
11
|
-
}
|
|
12
|
-
addExtension() {
|
|
13
|
-
}
|
|
14
|
-
getExtensionId() {
|
|
15
|
-
return "ai-enabler";
|
|
16
|
-
}
|
|
17
|
-
enable() {
|
|
18
|
-
let features = {};
|
|
19
|
-
const processFeatures = (feature) => {
|
|
20
|
-
return CometChat.isAIFeatureEnabled(feature.getExtensionId())
|
|
21
|
-
.then((response) => {
|
|
22
|
-
if (response) {
|
|
23
|
-
feature?.enable();
|
|
24
|
-
if (feature.getExtensionId() !== "conversation-starter") {
|
|
25
|
-
features[feature.getExtensionId()] = {
|
|
26
|
-
enabled: true,
|
|
27
|
-
configuration: feature.getConfiguration(),
|
|
28
|
-
enabler: feature,
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
})
|
|
33
|
-
.catch((err) => {
|
|
34
|
-
console.error(err);
|
|
35
|
-
});
|
|
36
|
-
};
|
|
37
|
-
if (this.defaultAIFeatures && this.defaultAIFeatures.length >= 1) {
|
|
38
|
-
const promises = this.defaultAIFeatures.map((feature) => processFeatures(feature));
|
|
39
|
-
Promise.all(promises)
|
|
40
|
-
.then(() => {
|
|
41
|
-
if (Object.keys(features).length > 0) {
|
|
42
|
-
ChatConfigurator.enable((dataSource) => new AIEnablerDecorator(dataSource, features));
|
|
43
|
-
}
|
|
44
|
-
})
|
|
45
|
-
.catch((err) => {
|
|
46
|
-
console.error(err);
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
else if (this.defaultAIFeatures?.length === 0) {
|
|
50
|
-
return;
|
|
51
|
-
}
|
|
52
|
-
else {
|
|
53
|
-
const defaultFeatures = [
|
|
54
|
-
new AISmartRepliesExtension(),
|
|
55
|
-
new AIConversationStarterExtension(),
|
|
56
|
-
];
|
|
57
|
-
const promises = defaultFeatures.map((feature) => processFeatures(feature));
|
|
58
|
-
Promise.all(promises)
|
|
59
|
-
.then(() => {
|
|
60
|
-
if (Object.keys(features).length > 0) {
|
|
61
|
-
ChatConfigurator.enable((dataSource) => new AIEnablerDecorator(dataSource, features));
|
|
62
|
-
}
|
|
63
|
-
})
|
|
64
|
-
.catch((err) => {
|
|
65
|
-
console.error(err);
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQUlFbmFibGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvY2hhdC11aWtpdC1hbmd1bGFyL3NyYy9BSS9BSUVuYWJsZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sd0NBQXdDLENBQUM7QUFDMUUsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFDMUQsT0FBTyxFQUFDLFNBQVMsRUFBQyxNQUFNLGdDQUFnQyxDQUFDO0FBQ3pELE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLGlDQUFpQyxDQUFDO0FBQzFFLE9BQU8sRUFBRSw4QkFBOEIsRUFBRSxNQUFNLCtDQUErQyxDQUFDO0FBQy9GLE9BQU8sRUFBMEIscUJBQXFCLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUN4Rix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yc2F0aW9uLXN0YXJ0ZXJcIikge1xuICAgICAgICAgICAgICBmZWF0dXJlc1tmZWF0dXJlLmdldEV4dGVuc2lvbklkKCldID0ge1xuICAgICAgICAgICAgICAgIGVuYWJsZWQ6IHRydWUsXG4gICAgICAgICAgICAgICAgY29uZmlndXJhdGlvbjogZmVhdHVyZS5nZXRDb25maWd1cmF0aW9uKCksXG4gICAgICAgICAgICAgICAgZW5hYmxlcjogZmVhdHVyZSxcbiAgICAgICAgICAgICAgfTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9XG4gICAgICAgIH0pXG4gICAgICAgIC5jYXRjaCgoZXJyKSA9PiB7XG4gICAgICAgICAgY29uc29sZS5lcnJvcihlcnIpO1xuICAgICAgICB9KTtcbiAgICB9O1xuICBcbiAgICBpZiAodGhpcy5kZWZhdWx0QUlGZWF0dXJlcyAmJiB0aGlzLmRlZmF1bHRBSUZlYXR1cmVzLmxlbmd0aCA+PSAxKSB7XG4gICAgICBjb25zdCBwcm9taXNlcyA9IHRoaXMuZGVmYXVsdEFJRmVhdHVyZXMubWFwKChmZWF0dXJlKSA9PlxuICAgICAgICBwcm9jZXNzRmVhdHVyZXMoZmVhdHVyZSlcbiAgICAgICk7XG4gIFxuICAgICAgUHJvbWlzZS5hbGwocHJvbWlzZXMpXG4gICAgICAgIC50aGVuKCgpID0+IHtcbiAgICAgICAgICBpZiAoT2JqZWN0LmtleXMoZmVhdHVyZXMpLmxlbmd0aCA+IDApIHtcbiAgICAgICAgICAgIENoYXRDb25maWd1cmF0b3IuZW5hYmxlKFxuICAgICAgICAgICAgICAoZGF0YVNvdXJjZTogRGF0YVNvdXJjZSkgPT5cbiAgICAgICAgICAgICAgICBuZXcgQUlFbmFibGVyRGVjb3JhdG9yKGRhdGFTb3VyY2UsIGZlYXR1cmVzKVxuICAgICAgICAgICAgKTtcbiAgICAgICAgICB9XG4gICAgICAgIH0pXG4gICAgICAgIC5jYXRjaCgoZXJyKSA9PiB7XG4gICAgICAgICAgY29uc29sZS5lcnJvcihlcnIpO1xuICAgICAgICB9KTtcbiAgICB9IGVsc2UgaWYgKHRoaXMuZGVmYXVsdEFJRmVhdHVyZXM/Lmxlbmd0aCA9PT0gMCkge1xuICAgICAgcmV0dXJuO1xuICAgIH0gZWxzZSB7XG4gICAgICBjb25zdCBkZWZhdWx0RmVhdHVyZXM6IEFJRXh0ZW5zaW9uRGF0YVNvdXJjZVtdID0gW1xuICAgICAgICBuZXcgQUlTbWFydFJlcGxpZXNFeHRlbnNpb24oKSxcbiAgICAgICAgbmV3IEFJQ29udmVyc2F0aW9uU3RhcnRlckV4dGVuc2lvbigpLFxuICAgICAgXTtcbiAgXG4gICAgICBjb25zdCBwcm9taXNlcyA9IGRlZmF1bHRGZWF0dXJlcy5tYXAoKGZlYXR1cmUpID0+XG4gICAgICAgIHByb2Nlc3NGZWF0dXJlcyhmZWF0dXJlKVxuICAgICAgKTtcbiAgXG4gICAgICBQcm9taXNlLmFsbChwcm9taXNlcylcbiAgICAgICAgLnRoZW4oKCkgPT4ge1xuICAgICAgICAgIGlmIChPYmplY3Qua2V5cyhmZWF0dXJlcykubGVuZ3RoID4gMCkge1xuICAgICAgICAgICAgQ2hhdENvbmZpZ3VyYXRvci5lbmFibGUoXG4gICAgICAgICAgICAgIChkYXRhU291cmNlOiBEYXRhU291cmNlKSA9PlxuICAgICAgICAgICAgICAgIG5ldyBBSUVuYWJsZXJEZWNvcmF0b3IoZGF0YVNvdXJjZSwgZmVhdHVyZXMpXG4gICAgICAgICAgICApO1xuICAgICAgICAgIH1cbiAgICAgICAgfSlcbiAgICAgICAgLmNhdGNoKChlcnIpID0+IHtcbiAgICAgICAgICBjb25zb2xlLmVycm9yKGVycik7XG4gICAgICAgIH0pO1xuICAgIH1cbiAgfVxuXG59Il19
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { DataSourceDecorator } from "../Shared/Framework/DataSourceDecorator";
|
|
2
|
-
export class AIEnablerDecorator extends DataSourceDecorator {
|
|
3
|
-
constructor(dataSource, features) {
|
|
4
|
-
super(dataSource);
|
|
5
|
-
}
|
|
6
|
-
getId() {
|
|
7
|
-
return "aienabler";
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQUlFbmFibGVyRGVjb3JhdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvY2hhdC11aWtpdC1hbmd1bGFyL3NyYy9BSS9BSUVuYWJsZXJEZWNvcmF0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0seUNBQXlDLENBQUM7QUFFOUUsTUFBTSxPQUFPLGtCQUFtQixTQUFRLG1CQUFtQjtJQUkzRCxZQUFZLFVBQXFCLEVBQUUsUUFBYTtRQUM1QyxLQUFLLENBQUMsVUFBVSxDQUFDLENBQUM7SUFLdEIsQ0FBQztJQUNRLEtBQUs7UUFDVixPQUFPLFdBQVcsQ0FBQTtJQUV0QixDQUFDO0NBQ0EiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBEYXRhU291cmNlIH0gZnJvbSBcIi4uL1NoYXJlZC9GcmFtZXdvcmsvRGF0YVNvdXJjZVwiO1xuaW1wb3J0IHsgRGF0YVNvdXJjZURlY29yYXRvciB9IGZyb20gXCIuLi9TaGFyZWQvRnJhbWV3b3JrL0RhdGFTb3VyY2VEZWNvcmF0b3JcIjtcblxuZXhwb3J0IGNsYXNzIEFJRW5hYmxlckRlY29yYXRvciBleHRlbmRzIERhdGFTb3VyY2VEZWNvcmF0b3Ige1xuXG4gICAgcHVibGljIG5ld0RhdGFTb3VyY2UhOiBEYXRhU291cmNlO1xuICAgXG5jb25zdHJ1Y3RvcihkYXRhU291cmNlOkRhdGFTb3VyY2UsIGZlYXR1cmVzPzphbnkpe1xuICAgIHN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