├── .eslintrc.cjs
├── .gitignore
├── LICENSE.md
├── README.md
├── Screenshots
├── add-ui-kit.png
├── logo.png
├── main.png
├── overview_cometchat_screens.png
└── ui-unified.png
├── dist
├── index.d.ts
├── index.js
├── index.mjs
├── index.umd.js
├── src
│ ├── assets.d.ts
│ ├── components
│ │ ├── AI
│ │ │ ├── AIAssistBot
│ │ │ │ ├── AIAssistBotChatView.vue.d.ts
│ │ │ │ ├── AIAssistBotDecorator.d.ts
│ │ │ │ ├── AIAssistBotExtension.d.ts
│ │ │ │ ├── AIAssistBotOptionsView.vue.d.ts
│ │ │ │ ├── style.d.ts
│ │ │ │ └── utils.d.ts
│ │ │ ├── AIConversationStarter
│ │ │ │ ├── AIConversationStarterDecorator.d.ts
│ │ │ │ ├── AIConversationStarterExtension.d.ts
│ │ │ │ ├── AIConversationStarterView.vue.d.ts
│ │ │ │ └── style.d.ts
│ │ │ ├── AIConversationSummary
│ │ │ │ ├── AIConversationSummaryDecorator.d.ts
│ │ │ │ ├── AIConversationSummaryExtension.d.ts
│ │ │ │ ├── AIConversationSummaryView.vue.d.ts
│ │ │ │ └── style.d.ts
│ │ │ └── AISmartReplies
│ │ │ │ ├── AISmartRepliesDecorator.d.ts
│ │ │ │ ├── AISmartRepliesExtension.d.ts
│ │ │ │ ├── AISmartRepliesView.vue.d.ts
│ │ │ │ └── style.d.ts
│ │ ├── Calling
│ │ │ ├── CallingExtension.d.ts
│ │ │ ├── CallingExtensionDecorator.d.ts
│ │ │ ├── CometChatCallButtons
│ │ │ │ └── index.vue.d.ts
│ │ │ ├── CometChatCallLogDetails
│ │ │ │ ├── index.vue.d.ts
│ │ │ │ └── style.d.ts
│ │ │ ├── CometChatCallLogHistory
│ │ │ │ ├── index.vue.d.ts
│ │ │ │ └── style.d.ts
│ │ │ ├── CometChatCallLogParticipants
│ │ │ │ ├── index.vue.d.ts
│ │ │ │ └── style.d.ts
│ │ │ ├── CometChatCallLogRecordings
│ │ │ │ ├── index.vue.d.ts
│ │ │ │ └── style.d.ts
│ │ │ ├── CometChatCallLogs
│ │ │ │ ├── index.vue.d.ts
│ │ │ │ └── style.d.ts
│ │ │ ├── CometChatCallLogsWithDetails
│ │ │ │ ├── index.vue.d.ts
│ │ │ │ └── style.d.ts
│ │ │ ├── CometChatIncomingCall
│ │ │ │ └── index.vue.d.ts
│ │ │ ├── CometChatOngoingCall
│ │ │ │ └── index.vue.d.ts
│ │ │ ├── CometChatOutgoingCall
│ │ │ │ └── index.vue.d.ts
│ │ │ └── Utils
│ │ │ │ ├── CallingDetailsUtils.d.ts
│ │ │ │ └── utils.d.ts
│ │ ├── CometChatAddMembers
│ │ │ └── index.vue.d.ts
│ │ ├── CometChatBannedMembers
│ │ │ └── index.vue.d.ts
│ │ ├── CometChatContacts
│ │ │ └── index.vue.d.ts
│ │ ├── CometChatConversations
│ │ │ └── index.vue.d.ts
│ │ ├── CometChatConversationsWithMessages
│ │ │ └── index.vue.d.ts
│ │ ├── CometChatDetails
│ │ │ └── index.vue.d.ts
│ │ ├── CometChatGroupMembers
│ │ │ └── index.vue.d.ts
│ │ ├── CometChatGroups
│ │ │ └── index.vue.d.ts
│ │ ├── CometChatGroupsWithMessages
│ │ │ └── index.vue.d.ts
│ │ ├── CometChatList
│ │ │ └── index.vue.d.ts
│ │ ├── CometChatMessageBubble
│ │ │ └── index.vue.d.ts
│ │ ├── CometChatMessageComposer
│ │ │ └── index.vue.d.ts
│ │ ├── CometChatMessageHeader
│ │ │ └── index.vue.d.ts
│ │ ├── CometChatMessageInformation
│ │ │ └── index.vue.d.ts
│ │ ├── CometChatMessageList
│ │ │ └── index.vue.d.ts
│ │ ├── CometChatMessages
│ │ │ └── index.vue.d.ts
│ │ ├── CometChatThreadedMessages
│ │ │ └── index.vue.d.ts
│ │ ├── CometChatTransferOwnership
│ │ │ └── index.vue.d.ts
│ │ ├── CometChatUserMemberWrapper
│ │ │ └── index.vue.d.ts
│ │ ├── CometChatUsers
│ │ │ └── index.vue.d.ts
│ │ ├── CometChatUsersWithMessages
│ │ │ └── index.vue.d.ts
│ │ ├── Extensions
│ │ │ ├── CollaborativeDocument
│ │ │ │ ├── CollaborativeDocumentConfiguration.d.ts
│ │ │ │ ├── CollaborativeDocumentExtension.d.ts
│ │ │ │ ├── CollaborativeDocumentExtensionDecorator.d.ts
│ │ │ │ └── CometChatDocumentExtensionBubble
│ │ │ │ │ └── index.vue.d.ts
│ │ │ ├── CollaborativeWhiteboard
│ │ │ │ ├── CollaborativeWhiteboardConfiguration.d.ts
│ │ │ │ ├── CollaborativeWhiteboardExtension.d.ts
│ │ │ │ └── CollaborativeWhiteboardExtensionDecorator.d.ts
│ │ │ ├── ImageModeration
│ │ │ │ ├── CometChatImageModerationBubble
│ │ │ │ │ └── index.vue.d.ts
│ │ │ │ ├── ImageModerationConfiguration.d.ts
│ │ │ │ ├── ImageModerationExtension.d.ts
│ │ │ │ └── ImageModerationExtensionDecorator.d.ts
│ │ │ ├── LinkPreview
│ │ │ │ ├── CometChatLinkPreviewBubble
│ │ │ │ │ └── index.vue.d.ts
│ │ │ │ ├── LinkPreviewConfiguration.d.ts
│ │ │ │ ├── LinkPreviewExtension.d.ts
│ │ │ │ └── LinkPreviewExtensionDecorator.d.ts
│ │ │ ├── MessageTranslation
│ │ │ │ ├── CometChatMessageTranslationBubble
│ │ │ │ │ └── index.vue.d.ts
│ │ │ │ ├── MessageTranslationConfiguration.d.ts
│ │ │ │ ├── MessageTranslationExtension.d.ts
│ │ │ │ └── MessageTranslationExtensionDecorator.d.ts
│ │ │ ├── Polls
│ │ │ │ ├── CometChatCreatePollView
│ │ │ │ │ └── index.vue.d.ts
│ │ │ │ ├── CometChatPollsBubble
│ │ │ │ │ └── index.vue.d.ts
│ │ │ │ ├── PollsConfiguration.d.ts
│ │ │ │ ├── PollsExtension.d.ts
│ │ │ │ └── PollsExtensionDecorator.d.ts
│ │ │ ├── SmartReplies
│ │ │ │ ├── CometChatSmartReplyBubble
│ │ │ │ │ └── index.vue.d.ts
│ │ │ │ ├── SmartRepliesConfiguration.d.ts
│ │ │ │ ├── SmartRepliesExtension.d.ts
│ │ │ │ └── SmartRepliesExtensionDecorator.d.ts
│ │ │ ├── Stickers
│ │ │ │ ├── CometChatStickersAuxiliaryButton
│ │ │ │ │ └── index.vue.d.ts
│ │ │ │ ├── StickersConfiguration.d.ts
│ │ │ │ ├── StickersExtension.d.ts
│ │ │ │ └── StickersExtensionDecorator.d.ts
│ │ │ ├── TextModerator
│ │ │ │ ├── TextModeratorExtension.d.ts
│ │ │ │ └── TextModeratorExtensionDecorator.d.ts
│ │ │ └── ThumbnailGeneration
│ │ │ │ ├── ThumbnailGenerationExtension.d.ts
│ │ │ │ └── ThumbnailGenerationExtensionDecorator.d.ts
│ │ └── shared
│ │ │ ├── CometChatUIKit
│ │ │ └── CometChatUIKit.d.ts
│ │ │ ├── Framework
│ │ │ ├── AIExtensionDataSource.d.ts
│ │ │ ├── ChatConfigurator.d.ts
│ │ │ ├── DataSource.d.ts
│ │ │ ├── DataSourceDecorator.d.ts
│ │ │ └── ExtensionsDatasource.d.ts
│ │ │ ├── Utils
│ │ │ ├── MessageUtils.d.ts
│ │ │ └── MessagesDataSource.d.ts
│ │ │ └── Views
│ │ │ ├── CometChatAudioBubble
│ │ │ └── index.vue.d.ts
│ │ │ ├── CometChatCardBubble
│ │ │ └── index.vue.d.ts
│ │ │ ├── CometChatConfirmDialogView
│ │ │ └── index.vue.d.ts
│ │ │ ├── CometChatContextMenu
│ │ │ └── index.vue.d.ts
│ │ │ ├── CometChatFileBubble
│ │ │ └── index.vue.d.ts
│ │ │ ├── CometChatFormBubble
│ │ │ └── index.vue.d.ts
│ │ │ ├── CometChatImageBubble
│ │ │ └── index.vue.d.ts
│ │ │ ├── CometChatSchedulerBubble
│ │ │ └── index.vue.d.ts
│ │ │ ├── CometChatTabs
│ │ │ └── index.vue.d.ts
│ │ │ ├── CometChatTextBubble
│ │ │ └── index.vue.d.ts
│ │ │ ├── CometChatVideoBubble
│ │ │ └── index.vue.d.ts
│ │ │ └── DynamicRenderer
│ │ │ └── index.vue.d.ts
│ └── public.api.d.ts
└── style.css
├── env.d.ts
├── index.html
├── package-lock.json
├── package.json
├── tsconfig.app.json
├── tsconfig.json
├── tsconfig.node.json
└── vite.config.ts
/.eslintrc.cjs:
--------------------------------------------------------------------------------
1 | /* eslint-env node */
2 | require('@rushstack/eslint-patch/modern-module-resolution')
3 |
4 | module.exports = {
5 | root: true,
6 | 'extends': [
7 | 'plugin:vue/vue3-essential',
8 | 'eslint:recommended',
9 | '@vue/eslint-config-typescript',
10 | '@vue/eslint-config-prettier/skip-formatting'
11 | ],
12 | rules:{
13 | "vue/no-deprecated-slot-attribute": "off",
14 | "vue/multi-word-component-names": "off",
15 | },
16 | parserOptions: {
17 | ecmaVersion: 'latest'
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Logs
2 | logs
3 | *.log
4 | npm-debug.log*
5 | yarn-debug.log*
6 | yarn-error.log*
7 | pnpm-debug.log*
8 | lerna-debug.log*
9 |
10 | node_modules
11 | .DS_Store
12 | dist
13 | dist-ssr
14 | coverage
15 | *.local
16 |
17 | /cypress/videos/
18 | /cypress/screenshots/
19 |
20 | # Editor directories and files
21 | .vscode/*
22 | !.vscode/extensions.json
23 | .idea
24 | *.suo
25 | *.ntvs*
26 | *.njsproj
27 | *.sln
28 | *.sw?
29 |
--------------------------------------------------------------------------------
/LICENSE.md:
--------------------------------------------------------------------------------
1 | Copyright (c) 2023 CometChat Inc.
2 |
3 | License agreement: https://www.cometchat.com/legal-terms-of-service
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | # CometChat UI Kit for Vue
6 |
7 | The CometChat Vue UI Kit provides a pre-built user interface kit that developers can use to quickly integrate a reliable & fully-featured chat experience into an existing or a new app.
8 |
9 |
13 |
14 |
15 |
16 | ## Prerequisites
17 |
18 | - Node.js >= 14.17.0
19 | - npm >= 7
20 |
21 | ## Getting Started
22 |
23 | To set up CometChat Vue UI Kit and utilize CometChat for your chat and calls functionality, you'll need to follow these steps:
24 | - Register at the [CometChat Dashboard](https://app.cometchat.com/) to create an account.
25 | - After registering, log into your CometChat account and create a new app. Once created, CometChat will generate an Auth Key and App ID for you. Keep these credentials secure as you'll need them later.
26 | - Check the [Key Concepts](https://www.cometchat.com/docs/vue-uikit/key-concepts) to understand the basic components of CometChat.
27 | - Refer to the [Integration Steps](https://www.cometchat.com/docs/vue-uikit/integration) in our documentation to integrate the UI Kit into your Vue app.
28 |
29 | ## Help and Support
30 |
31 | For issues running the project or integrating with our UI Kits, consult our [documentation](https://www.cometchat.com/docs/vue-uikit/integration) or create a [support ticket](https://help.cometchat.com/hc/en-us) or seek real-time support via the [CometChat Dashboard](https://app.cometchat.com/).
32 |
--------------------------------------------------------------------------------
/Screenshots/add-ui-kit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cometchat/cometchat-uikit-vue/a4c5ddcb1497d62347f08a217fcd316e1562f602/Screenshots/add-ui-kit.png
--------------------------------------------------------------------------------
/Screenshots/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cometchat/cometchat-uikit-vue/a4c5ddcb1497d62347f08a217fcd316e1562f602/Screenshots/logo.png
--------------------------------------------------------------------------------
/Screenshots/main.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cometchat/cometchat-uikit-vue/a4c5ddcb1497d62347f08a217fcd316e1562f602/Screenshots/main.png
--------------------------------------------------------------------------------
/Screenshots/overview_cometchat_screens.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cometchat/cometchat-uikit-vue/a4c5ddcb1497d62347f08a217fcd316e1562f602/Screenshots/overview_cometchat_screens.png
--------------------------------------------------------------------------------
/Screenshots/ui-unified.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cometchat/cometchat-uikit-vue/a4c5ddcb1497d62347f08a217fcd316e1562f602/Screenshots/ui-unified.png
--------------------------------------------------------------------------------
/dist/index.d.ts:
--------------------------------------------------------------------------------
1 | export * from './src/public.api'
2 |
--------------------------------------------------------------------------------
/dist/src/assets.d.ts:
--------------------------------------------------------------------------------
1 | import ActivityIcon from "./assets/activity.svg";
2 | import AiBotIcon from './assets/ai-bot.svg';
3 | import AiEmptyIcon from './assets/ai-error.svg';
4 | import AiErrorIcon from './assets/ai-error.svg';
5 | import AnimalsIcon from "./assets/animals.svg";
6 | import AudioCall2xIcon from "./assets/Audio-Call2x.svg";
7 | import AudioCallIcon from "./assets/Audio-Call.svg";
8 | import AudioIcon from "./assets/audio-file.svg";
9 | import BackIcon from "./assets/backbutton.svg";
10 | import Chat from "./assets/chat.svg";
11 | import CheckIcon from "./assets/checkmark.svg";
12 | import Close2xIcon from "./assets/close2x.svg";
13 | import CloseIcon from "./assets/close.svg";
14 | import CopyIcon from "./assets/Copy.svg";
15 | import CreateIcon from "./assets/create-button.svg";
16 | import DeleteIcon from "./assets/deleteicon.svg";
17 | import DeliveredIcon from "./assets/message-delivered.svg";
18 | import DocumentIcon from "./assets/collaborativedocument.svg";
19 | import DownArrowIcon from "./assets/down-arrow.svg";
20 | import DownloadIcon from "./assets/download.svg";
21 | import EditIcon from "./assets/editicon.svg";
22 | import EmojiIcon from "./assets/Stipop.svg";
23 | import FileIcon from "./assets/attachment-file.svg";
24 | import FlagsIcon from "./assets/flags.svg";
25 | import FoodIcon from "./assets/food.svg";
26 | import GridLayoutIcon from "./assets/Grid-layout.svg";
27 | import Group from "./assets/group.svg";
28 | import HeartIcon from "./assets/Heart.svg";
29 | import ImageIcon from "./assets/photolibrary.svg";
30 | import ImageModerationIcon from "./assets/Imagemoderation.svg";
31 | import IncomingAudioCallIcon from './assets/IncomingAudio.svg';
32 | import IncomingVideoCallIcon from './assets/IncomingVideo.svg';
33 | import IncreaseSizeIcon from "./assets/increase-size.svg";
34 | import InfoIcon from "./assets/Info.svg";
35 | import LiveReactionIcon from "./assets/heart-reaction.png";
36 | import LoadingIcon from "./assets/Spinner.svg";
37 | import MicIcon from "./assets/mic.svg";
38 | import MissedAudioCallIcon from './assets/MissedAudio.svg';
39 | import MissedVideoCallIcon from './assets/MissedVideo.svg';
40 | import MoreIcon from "./assets/More@2x.svg";
41 | import MoreIconSmall from "./assets/moreicon.svg";
42 | import ObjectsIcon from "./assets/objects.svg";
43 | import OutgoingAudioCallIcon from './assets/OutgoingAudio.svg';
44 | import OutgoingVideoCallIcon from './assets/OutgoingVideo.svg';
45 | import PasswordGroupIcon from "./assets/Locked.svg";
46 | import PlaceholderImage from "./assets/placeholder.png";
47 | import PlusIcon from "./assets/Plus.svg";
48 | import PlusRotatedIcon from "./assets/plus-rotated.svg";
49 | import PollsIcon from "./assets/polls.svg";
50 | import PrivateGroupIcon from "./assets/Private.svg";
51 | import ReactionIcon from "./assets/addreaction.svg";
52 | import ReactionOptionIcon from "./assets/Reactionsicon.svg";
53 | import ReadIcon from "./assets/message-read.svg";
54 | import ReduceSizeIcon from "./assets/reduce-size.svg";
55 | import RightArrowIcon from "./assets/side-arrow.svg";
56 | import SearchIcon from "./assets/search.svg";
57 | import SendIcon from "./assets/Send.svg";
58 | import SendMessagePrivatelyIcon from "./assets/send-message-privately.svg";
59 | import SentIcon from "./assets/message-sent.svg";
60 | import SmileysIcon from "./assets/smileys.svg";
61 | import StartConversation from "./assets/start-conversation.svg";
62 | import StickerIcon from "./assets/Stickers.svg";
63 | import StopIcon from "./assets/stop.svg";
64 | import SymbolsIcon from "./assets/symbols.svg";
65 | import ThreadIcon from "./assets/threadicon.svg";
66 | import ThreadIndicatorIcon from "./assets/threadIndicatorIcon.svg";
67 | import TranslateIcon from "./assets/translation.svg";
68 | import TravelIcon from "./assets/travel.svg";
69 | import UnsafeIcon from "./assets/unsafe-content.svg";
70 | import User from "./assets/user.svg";
71 | import VideoCall2xIcon from "./assets/Video-call2x.svg";
72 | import VideoCallIcon from "./assets/Video-call.svg";
73 | import VideoIcon from "./assets/video.svg";
74 | import WaitIcon from "./assets/wait.svg";
75 | import WarningIcon from "./assets/warning-small.svg";
76 | import WhiteboardIcon from "./assets/collaborativewhiteboard.svg";
77 | import openThreadArrow from "./assets/thread-arrow.svg";
78 | import mentions from "./assets/mentions.svg";
79 | import InfoSimpleIcon from './assets/InfoSimpleIcon.svg';
80 | export { AiErrorIcon, AiEmptyIcon, AiBotIcon };
81 | export { DeleteIcon };
82 | export { CopyIcon };
83 | export { GridLayoutIcon };
84 | export { HeartIcon };
85 | export { ImageModerationIcon };
86 | export { PasswordGroupIcon };
87 | export { MoreIcon };
88 | export { PlusIcon };
89 | export { MoreIconSmall };
90 | export { PrivateGroupIcon };
91 | export { SendIcon };
92 | export { LoadingIcon };
93 | export { StickerIcon };
94 | export { EmojiIcon };
95 | export { ActivityIcon };
96 | export { ReactionIcon };
97 | export { ReactionOptionIcon };
98 | export { AnimalsIcon };
99 | export { FileIcon };
100 | export { AudioIcon };
101 | export { BackIcon };
102 | export { CheckIcon };
103 | export { Close2xIcon };
104 | export { CloseIcon };
105 | export { DocumentIcon };
106 | export { WhiteboardIcon };
107 | export { CreateIcon };
108 | export { DownArrowIcon };
109 | export { DownloadIcon };
110 | export { EditIcon };
111 | export { FlagsIcon };
112 | export { FoodIcon };
113 | export { LiveReactionIcon };
114 | export { DeliveredIcon };
115 | export { ReadIcon };
116 | export { ObjectsIcon };
117 | export { ImageIcon };
118 | export { PlusRotatedIcon };
119 | export { PollsIcon };
120 | export { SearchIcon };
121 | export { SmileysIcon };
122 | export { SymbolsIcon };
123 | export { ThreadIcon };
124 | export { TranslateIcon };
125 | export { openThreadArrow };
126 | export { TravelIcon };
127 | export { UnsafeIcon };
128 | export { VideoIcon };
129 | export { WaitIcon };
130 | export { WarningIcon };
131 | export { SentIcon };
132 | export { PlaceholderImage };
133 | export { InfoIcon };
134 | export { AudioCallIcon };
135 | export { RightArrowIcon };
136 | export { VideoCallIcon };
137 | export { AudioCall2xIcon };
138 | export { VideoCall2xIcon };
139 | export { ReduceSizeIcon };
140 | export { IncreaseSizeIcon };
141 | export { User };
142 | export { Group };
143 | export { Chat };
144 | export { SendMessagePrivatelyIcon };
145 | export { StartConversation };
146 | export { MicIcon };
147 | export { StopIcon };
148 | export { IncomingAudioCallIcon };
149 | export { IncomingVideoCallIcon };
150 | export { OutgoingAudioCallIcon };
151 | export { OutgoingVideoCallIcon };
152 | export { MissedAudioCallIcon };
153 | export { MissedVideoCallIcon };
154 | export { ThreadIndicatorIcon };
155 | export { mentions };
156 | export { InfoSimpleIcon };
157 |
--------------------------------------------------------------------------------
/dist/src/components/AI/AIAssistBot/AIAssistBotDecorator.d.ts:
--------------------------------------------------------------------------------
1 | import { CometChat } from "@cometchat/chat-sdk-javascript";
2 | import { CometChatTheme, CometChatMessageComposerAction, CometChatActionsView } from "@cometchat/uikit-resources";
3 | import { DataSource } from "../../shared/Framework/DataSource";
4 | import { DataSourceDecorator } from "../../shared/Framework/DataSourceDecorator";
5 | import { AIAssistBotConfiguration, AIOptionsStyle } from "@cometchat/uikit-shared";
6 | export declare class AIAssistBotDecorator extends DataSourceDecorator {
7 | configuration?: AIAssistBotConfiguration;
8 | newDataSource: DataSource;
9 | loggedInUser: CometChat.User | null;
10 | bots: CometChat.User[] | [];
11 | user: CometChat.User;
12 | group: CometChat.Group;
13 | theme: CometChatTheme;
14 | constructor(dataSource: DataSource, configuration?: AIAssistBotConfiguration);
15 | private getAllBots;
16 | getId(): string;
17 | getAIOptions(user: CometChat.User | null, group: CometChat.Group | null, theme: CometChatTheme, id?: any, aiOptionsStyle?: AIOptionsStyle): (CometChatMessageComposerAction | CometChatActionsView)[];
18 | onMessageSent: (message: string, bot: CometChat.User) => Promise;
19 | closeChat: () => void;
20 | onOptionClick: (bot: CometChat.User) => void;
21 | private addMessageListener;
22 | }
23 |
--------------------------------------------------------------------------------
/dist/src/components/AI/AIAssistBot/AIAssistBotExtension.d.ts:
--------------------------------------------------------------------------------
1 | import { AIExtensionDataSource } from "../../shared/Framework/AIExtensionDataSource";
2 | import { AIAssistBotConfiguration } from "@cometchat/uikit-shared";
3 | export declare class AIAssistBotExtension extends AIExtensionDataSource {
4 | private configuration?;
5 | constructor(configuration?: AIAssistBotConfiguration);
6 | addExtension(): void;
7 | getExtensionId(): string;
8 | }
9 |
--------------------------------------------------------------------------------
/dist/src/components/AI/AIAssistBot/AIAssistBotOptionsView.vue.d.ts:
--------------------------------------------------------------------------------
1 | import { PropType, Ref } from 'vue';
2 | import { getBackButtonStyle, getBotsContainerStyle, getBotTitleStyle, getOptionStyle } from "./style";
3 | import { AIAssistBotConfiguration } from '@cometchat/uikit-shared';
4 | import { CometChatMessageComposerAction, CometChatTheme } from '@cometchat/uikit-resources';
5 | declare const _sfc_main: import("vue").DefineComponent<{
6 | title: {
7 | type: StringConstructor;
8 | };
9 | configuration: {
10 | type: PropType;
11 | default: () => AIAssistBotConfiguration;
12 | };
13 | bots: {
14 | type: PropType;
15 | default: () => CometChatMessageComposerAction[];
16 | };
17 | closeCallback: {
18 | type: PropType<() => void>;
19 | };
20 | backCallback: {
21 | type: PropType<() => void>;
22 | };
23 | }, {
24 | getContainerStyle: (style?: import("@cometchat/uikit-shared").AIAssistBotStyle, theme?: CometChatTheme) => {
25 | display: string;
26 | width: string;
27 | height: string;
28 | justifyContent: string;
29 | alignItems: string;
30 | minHeight: string;
31 | background: string;
32 | borderRadius: string;
33 | };
34 | contentContainerStyle: import("vue").CSSProperties;
35 | optionsContainerStyle: import("vue").CSSProperties;
36 | getBackButtonStyle: typeof getBackButtonStyle;
37 | getBotsContainerStyle: typeof getBotsContainerStyle;
38 | getBotTitleStyle: typeof getBotTitleStyle;
39 | getOptionStyle: typeof getOptionStyle;
40 | onBotClick: (event: any) => void;
41 | assistBotStyle: Ref<{
42 | titleFont?: string;
43 | titleColor?: string;
44 | optionTitleFont?: string;
45 | optionTitleColor?: string;
46 | subtitleFont?: string;
47 | subtitleColor?: string;
48 | closeIconTint?: string;
49 | backIconTint?: string;
50 | sendIconTint?: string;
51 | buttonTextColor?: string;
52 | buttonTextFont?: string;
53 | buttonBackground?: string;
54 | loadingIconTint?: string;
55 | emptyIconTint?: string;
56 | errorIconTint?: string;
57 | height?: string;
58 | width?: string;
59 | border?: string;
60 | borderRadius?: string;
61 | background?: string;
62 | }>;
63 | theme: Ref;
64 | backButtonIconURL: string;
65 | }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly;
71 | default: () => AIAssistBotConfiguration;
72 | };
73 | bots: {
74 | type: PropType;
75 | default: () => CometChatMessageComposerAction[];
76 | };
77 | closeCallback: {
78 | type: PropType<() => void>;
79 | };
80 | backCallback: {
81 | type: PropType<() => void>;
82 | };
83 | }>>, {
84 | configuration: AIAssistBotConfiguration;
85 | bots: CometChatMessageComposerAction[];
86 | }, {}>;
87 | export default _sfc_main;
88 |
--------------------------------------------------------------------------------
/dist/src/components/AI/AIAssistBot/style.d.ts:
--------------------------------------------------------------------------------
1 | import { AIAssistBotConfiguration, AIAssistBotStyle } from "@cometchat/uikit-shared";
2 | import { AvatarStyle, ReceiptStyle, TextInputStyle } from "@cometchat/uikit-elements";
3 | import { CometChatTheme } from "@cometchat/uikit-resources";
4 | import { CSSProperties } from "vue";
5 | export declare const getContainerStyle: (style?: AIAssistBotStyle, theme?: CometChatTheme) => {
6 | display: string;
7 | width: string;
8 | height: string;
9 | justifyContent: string;
10 | alignItems: string;
11 | minHeight: string;
12 | background: string;
13 | borderRadius: string;
14 | };
15 | export declare const contentContainerStyle: CSSProperties;
16 | export declare function getBackButtonStyle(style?: AIAssistBotStyle, theme?: CometChatTheme): any;
17 | export declare function getBotsContainerStyle(): any;
18 | export declare function getBotTitleStyle(style?: AIAssistBotStyle, theme?: CometChatTheme): any;
19 | export declare const optionsContainerStyle: CSSProperties;
20 | export declare function getOptionStyle(style?: AIAssistBotStyle, theme?: CometChatTheme): any;
21 | export declare function getBotChatContainerStyle(style?: AIAssistBotStyle, theme?: CometChatTheme): any;
22 | export declare function getBotChatHeaderStyle(theme?: CometChatTheme): any;
23 | export declare function getCloseButtonStyle(style?: AIAssistBotStyle, theme?: CometChatTheme): any;
24 | export declare function getSendButtonStyle(style?: AIAssistBotStyle, theme?: CometChatTheme): any;
25 | export declare function getChatBotMessageContainerStyle(): any;
26 | export declare function getMessageBubbleStyle(message: CometChat.TextMessage, theme: CometChatTheme, sender: CometChat.User, configuration: AIAssistBotConfiguration): any;
27 | export declare function getAvatarStyle(style: AvatarStyle): AvatarStyle;
28 | export declare function textInputStyle(style: TextInputStyle, theme: CometChatTheme): TextInputStyle;
29 | export declare function getMessageBubbleDateStyle(theme: CometChatTheme): {
30 | textColor: string;
31 | textFont: string;
32 | padding: string;
33 | };
34 | export declare function getMessageReceiptStyle(style: AIAssistBotStyle, theme: CometChatTheme): ReceiptStyle;
35 | export declare function getBotBackgroundStyle(theme: CometChatTheme): {
36 | display: string;
37 | justifyContent: string;
38 | height: string;
39 | width: string;
40 | background: string;
41 | };
42 | export declare function getMessageListFooterStyle(): CSSProperties;
43 |
--------------------------------------------------------------------------------
/dist/src/components/AI/AIAssistBot/utils.d.ts:
--------------------------------------------------------------------------------
1 | import { AIAssistBotConfiguration } from "@cometchat/uikit-shared";
2 | import { CometChatTheme, MessageBubbleAlignment } from "@cometchat/uikit-resources";
3 | export declare function getBubbleAlignment(message: CometChat.TextMessage, sender: CometChat.User): MessageBubbleAlignment;
4 | export declare function getContentView(message: CometChat.TextMessage, theme: CometChatTheme, alignment: MessageBubbleAlignment, configuration: AIAssistBotConfiguration): ViewType;
5 | export declare function getBubbleFooterView(item: CometChat.TextMessage, configuration: AIAssistBotConfiguration, theme: CometChatTheme, sender: CometChat.User): ViewType;
6 |
--------------------------------------------------------------------------------
/dist/src/components/AI/AIConversationStarter/AIConversationStarterDecorator.d.ts:
--------------------------------------------------------------------------------
1 | import { CometChatTheme } from "@cometchat/uikit-resources";
2 | import { DataSource } from "../../shared/Framework/DataSource";
3 | import { DataSourceDecorator } from "../../shared/Framework/DataSourceDecorator";
4 | import { AIConversationStarterConfiguration } from "@cometchat/uikit-shared";
5 | export declare class AIConversationStarterDecorator extends DataSourceDecorator {
6 | configuration?: AIConversationStarterConfiguration;
7 | newDataSource: DataSource;
8 | currentMessage: CometChat.BaseMessage | null;
9 | loggedInUser: CometChat.User | null;
10 | user: CometChat.User;
11 | group: CometChat.Group;
12 | theme: CometChatTheme;
13 | constructor(dataSource: DataSource, configuration?: AIConversationStarterConfiguration);
14 | getId(): string;
15 | editReply(reply: string): void;
16 | closePanel: () => void;
17 | closeIfMessageReceived(message: CometChat.BaseMessage): void;
18 | getConversationStarter: (theme?: CometChatTheme) => Promise;
19 | private loadConversationStarter;
20 | private addMessageListener;
21 | }
22 |
--------------------------------------------------------------------------------
/dist/src/components/AI/AIConversationStarter/AIConversationStarterExtension.d.ts:
--------------------------------------------------------------------------------
1 | import { AIExtensionDataSource } from "../../shared/Framework/AIExtensionDataSource";
2 | import { AIConversationStarterConfiguration } from "@cometchat/uikit-shared";
3 | export declare class AIConversationStarterExtension extends AIExtensionDataSource {
4 | private configuration?;
5 | constructor(configuration?: AIConversationStarterConfiguration);
6 | addExtension(): void;
7 | getExtensionId(): string;
8 | }
9 |
--------------------------------------------------------------------------------
/dist/src/components/AI/AIConversationStarter/AIConversationStarterView.vue.d.ts:
--------------------------------------------------------------------------------
1 | import { Ref, PropType } from 'vue';
2 | import { CometChatTheme, States } from '@cometchat/uikit-resources';
3 | import { AIConversationStarterConfiguration } from "@cometchat/uikit-shared";
4 | declare const _sfc_main: import("vue").DefineComponent<{
5 | getConversationStarterCallback: {
6 | type: PropType<(theme: CometChatTheme) => Promise>;
7 | required: true;
8 | };
9 | configuration: {
10 | type: PropType;
11 | default: () => AIConversationStarterConfiguration;
12 | };
13 | editReplyCallback: {
14 | type: PropType<(reply: string) => void>;
15 | };
16 | closeCallback: {
17 | type: PropType<() => void>;
18 | };
19 | }, {
20 | starterViewStyle: import("@cometchat/uikit-shared").AIConversationStarterStyle;
21 | errorStateText: any;
22 | loadingStateText: any;
23 | emptyStateText: any;
24 | fetchButtonContent: () => void;
25 | getConversationStarterStyle: (theme?: CometChatTheme, style?: import("@cometchat/uikit-shared").AIConversationStarterStyle) => {
26 | replyTextFont: string;
27 | replyTextColor: string;
28 | replyBackground: string;
29 | boxShadow: string;
30 | background: string;
31 | width: string;
32 | height: string;
33 | border: string;
34 | borderRadius: string;
35 | display: string;
36 | justifyContent: string;
37 | };
38 | theme: Ref;
39 | States: typeof States;
40 | getContainerStyle: (style?: import("@cometchat/uikit-shared").AIConversationStarterStyle) => {
41 | display: string;
42 | overflow: string;
43 | width: string;
44 | height: string;
45 | justifyContent: string;
46 | alignItems: string;
47 | minHeight: string;
48 | };
49 | localize: (str: string) => any;
50 | messageListState: Ref;
51 | loadingIconURL: string;
52 | errorIconURL: string;
53 | emptyIconURL: string;
54 | activeView: any;
55 | replies: Ref;
56 | }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly Promise>;
59 | required: true;
60 | };
61 | configuration: {
62 | type: PropType;
63 | default: () => AIConversationStarterConfiguration;
64 | };
65 | editReplyCallback: {
66 | type: PropType<(reply: string) => void>;
67 | };
68 | closeCallback: {
69 | type: PropType<() => void>;
70 | };
71 | }>>, {
72 | configuration: AIConversationStarterConfiguration;
73 | }, {}>;
74 | export default _sfc_main;
75 |
--------------------------------------------------------------------------------
/dist/src/components/AI/AIConversationStarter/style.d.ts:
--------------------------------------------------------------------------------
1 | import { CometChatTheme } from "@cometchat/uikit-resources";
2 | import { AIConversationStarterStyle } from "@cometchat/uikit-shared";
3 | import { CSSProperties } from "vue";
4 | export declare const getContainerStyle: (style?: AIConversationStarterStyle) => {
5 | display: string;
6 | overflow: string;
7 | width: string;
8 | height: string;
9 | justifyContent: string;
10 | alignItems: string;
11 | minHeight: string;
12 | };
13 | export declare const contentContainerStyle: CSSProperties;
14 | export declare const getConversationStarterStyle: (theme?: CometChatTheme, style?: AIConversationStarterStyle) => {
15 | replyTextFont: string;
16 | replyTextColor: string;
17 | replyBackground: string;
18 | boxShadow: string;
19 | background: string;
20 | width: string;
21 | height: string;
22 | border: string;
23 | borderRadius: string;
24 | display: string;
25 | justifyContent: string;
26 | };
27 |
--------------------------------------------------------------------------------
/dist/src/components/AI/AIConversationSummary/AIConversationSummaryDecorator.d.ts:
--------------------------------------------------------------------------------
1 | import { CometChatTheme, CometChatMessageComposerAction, CometChatActionsView } from "@cometchat/uikit-resources";
2 | import { DataSource } from "../../shared/Framework/DataSource";
3 | import { DataSourceDecorator } from "../../shared/Framework/DataSourceDecorator";
4 | import { AIConversationSummaryConfiguration, AIOptionsStyle } from "@cometchat/uikit-shared";
5 | export declare class AIConversationSummaryDecorator extends DataSourceDecorator {
6 | configuration?: AIConversationSummaryConfiguration;
7 | newDataSource: DataSource;
8 | currentMessage: CometChat.BaseMessage | null;
9 | unreadMessageCount: number;
10 | loggedInUser: CometChat.User | null;
11 | user: CometChat.User;
12 | group: CometChat.Group;
13 | theme: CometChatTheme;
14 | constructor(dataSource: DataSource, configuration?: AIConversationSummaryConfiguration);
15 | getId(): string;
16 | editReply(reply: string): void;
17 | closePanel: () => void;
18 | closeIfMessageReceived(message: CometChat.BaseMessage): void;
19 | getConversationSummary: (theme?: CometChatTheme) => Promise;
20 | private loadConversationSummary;
21 | getAIOptions(user: CometChat.User | null, group: CometChat.Group | null, theme: CometChatTheme, id?: any, aiOptionsStyle?: AIOptionsStyle): (CometChatMessageComposerAction | CometChatActionsView)[];
22 | private addMessageListener;
23 | }
24 |
--------------------------------------------------------------------------------
/dist/src/components/AI/AIConversationSummary/AIConversationSummaryExtension.d.ts:
--------------------------------------------------------------------------------
1 | import { AIExtensionDataSource } from "../../shared/Framework/AIExtensionDataSource";
2 | import { AIConversationSummaryConfiguration } from "@cometchat/uikit-shared";
3 | export declare class AIConversationSummaryExtension extends AIExtensionDataSource {
4 | private configuration?;
5 | constructor(configuration?: AIConversationSummaryConfiguration);
6 | addExtension(): void;
7 | getExtensionId(): string;
8 | }
9 |
--------------------------------------------------------------------------------
/dist/src/components/AI/AIConversationSummary/AIConversationSummaryView.vue.d.ts:
--------------------------------------------------------------------------------
1 | import { Ref, PropType } from 'vue';
2 | import { CometChatTheme, States } from '@cometchat/uikit-resources';
3 | import { AIConversationSummaryConfiguration } from "@cometchat/uikit-shared";
4 | declare const _sfc_main: import("vue").DefineComponent<{
5 | getConversationSummaryCallback: {
6 | type: PropType<(theme: CometChatTheme) => Promise>;
7 | required: true;
8 | };
9 | configuration: {
10 | type: PropType;
11 | default: () => AIConversationSummaryConfiguration;
12 | };
13 | closeCallback: {
14 | type: PropType<() => void>;
15 | default: any;
16 | };
17 | }, {
18 | summaryViewStyle: import("@cometchat/uikit-shared").AIConversationSummaryStyle;
19 | errorStateText: string;
20 | loadingStateText: string;
21 | emptyStateText: string;
22 | titleText: string;
23 | fetchButtonContent: () => void;
24 | theme: Ref;
25 | States: typeof States;
26 | getContainerStyle: (style?: import("@cometchat/uikit-shared").AIConversationSummaryStyle) => {
27 | display: string;
28 | overflow: string;
29 | width: string;
30 | height: string;
31 | justifyContent: string;
32 | alignItems: string;
33 | minHeight: string;
34 | };
35 | localize: (str: string) => any;
36 | getPanelStyle: (theme: CometChatTheme, summaryStyle: import("@cometchat/uikit-shared").AIConversationSummaryStyle) => import("@cometchat/uikit-elements").PanelStyle;
37 | messageListState: Ref;
38 | loadingIconURL: string;
39 | errorIconURL: string;
40 | emptyIconURL: string;
41 | activeView: any;
42 | summary: any;
43 | }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly Promise>;
46 | required: true;
47 | };
48 | configuration: {
49 | type: PropType;
50 | default: () => AIConversationSummaryConfiguration;
51 | };
52 | closeCallback: {
53 | type: PropType<() => void>;
54 | default: any;
55 | };
56 | }>>, {
57 | configuration: AIConversationSummaryConfiguration;
58 | closeCallback: () => void;
59 | }, {}>;
60 | export default _sfc_main;
61 |
--------------------------------------------------------------------------------
/dist/src/components/AI/AIConversationSummary/style.d.ts:
--------------------------------------------------------------------------------
1 | import { CometChatTheme } from "@cometchat/uikit-resources";
2 | import { AIConversationSummaryStyle } from "@cometchat/uikit-shared";
3 | import { CSSProperties } from "vue";
4 | import { PanelStyle } from "@cometchat/uikit-elements";
5 | export declare const getContainerStyle: (style?: AIConversationSummaryStyle) => {
6 | display: string;
7 | overflow: string;
8 | width: string;
9 | height: string;
10 | justifyContent: string;
11 | alignItems: string;
12 | minHeight: string;
13 | };
14 | export declare const contentContainerStyle: CSSProperties;
15 | export declare const getConversationSummaryStyle: (theme?: CometChatTheme, style?: AIConversationSummaryStyle) => {
16 | replyTextFont: string;
17 | replyTextColor: string;
18 | replyBackground: string;
19 | boxShadow: string;
20 | background: string;
21 | width: string;
22 | height: string;
23 | border: string;
24 | borderRadius: string;
25 | display: string;
26 | justifyContent: string;
27 | };
28 | export declare const getPanelStyle: (theme: CometChatTheme, summaryStyle: AIConversationSummaryStyle) => PanelStyle;
29 |
--------------------------------------------------------------------------------
/dist/src/components/AI/AISmartReplies/AISmartRepliesDecorator.d.ts:
--------------------------------------------------------------------------------
1 | import { CometChatTheme, CometChatMessageComposerAction, CometChatActionsView } from "@cometchat/uikit-resources";
2 | import { DataSource } from "../../shared/Framework/DataSource";
3 | import { DataSourceDecorator } from "../../shared/Framework/DataSourceDecorator";
4 | import { AIOptionsStyle, AISmartRepliesConfiguration } from "@cometchat/uikit-shared";
5 | export declare class AISmartRepliesDecorator extends DataSourceDecorator {
6 | configuration?: AISmartRepliesConfiguration;
7 | newDataSource: DataSource;
8 | loggedInUser: CometChat.User | null;
9 | user: CometChat.User;
10 | group: CometChat.Group;
11 | theme: CometChatTheme;
12 | private closeCallback?;
13 | constructor(dataSource: DataSource, configuration?: AISmartRepliesConfiguration);
14 | getId(): string;
15 | editReply: (reply: string) => void;
16 | getSmartReplies: (theme?: CometChatTheme) => Promise;
17 | getAIOptions(user: CometChat.User | null, group: CometChat.Group | null, theme: CometChatTheme, id?: any, aiOptionsStyle?: AIOptionsStyle): (CometChatMessageComposerAction | CometChatActionsView)[];
18 | private closeIfMessageReceived;
19 | private addMessageListener;
20 | }
21 |
--------------------------------------------------------------------------------
/dist/src/components/AI/AISmartReplies/AISmartRepliesExtension.d.ts:
--------------------------------------------------------------------------------
1 | import { AIExtensionDataSource } from "../../shared/Framework/AIExtensionDataSource";
2 | import { AISmartRepliesConfiguration } from "@cometchat/uikit-shared";
3 | export declare class AISmartRepliesExtension extends AIExtensionDataSource {
4 | private configuration?;
5 | constructor(configuration?: AISmartRepliesConfiguration);
6 | addExtension(): void;
7 | getExtensionId(): string;
8 | }
9 |
--------------------------------------------------------------------------------
/dist/src/components/AI/AISmartReplies/AISmartRepliesView.vue.d.ts:
--------------------------------------------------------------------------------
1 | import { Ref, PropType } from 'vue';
2 | import { CometChatTheme, States } from '@cometchat/uikit-resources';
3 | import { getBackButtonStyle, getSmartRepliesContainerStyle, getSmartRepliesTitleStyle } from './style';
4 | import { AISmartRepliesConfiguration } from "@cometchat/uikit-shared";
5 | declare const _sfc_main: import("vue").DefineComponent<{
6 | title: {
7 | type: StringConstructor;
8 | default: any;
9 | };
10 | getSmartRepliesCallback: {
11 | type: PropType<(theme: CometChatTheme) => Promise>;
12 | required: true;
13 | };
14 | configuration: {
15 | type: PropType;
16 | default: () => AISmartRepliesConfiguration;
17 | };
18 | editReplyCallback: {
19 | type: PropType<(reply: string) => void>;
20 | };
21 | backCallback: {
22 | type: PropType<() => void>;
23 | };
24 | closeCallback: {
25 | type: PropType<() => void>;
26 | };
27 | }, {
28 | smartReplyViewStyle: import("@cometchat/uikit-shared").AISmartRepliesStyle;
29 | errorStateText: any;
30 | loadingStateText: any;
31 | emptyStateText: any;
32 | fetchButtonContent: () => void;
33 | getSmartReplyStyle: (theme?: CometChatTheme, style?: import("@cometchat/uikit-shared").AISmartRepliesStyle) => {
34 | replyTextFont: string;
35 | replyTextColor: string;
36 | replyBackground: string;
37 | boxShadow: string;
38 | background: string;
39 | border: string;
40 | borderRadius: string;
41 | display: string;
42 | justifyContent: string;
43 | };
44 | getBackButtonStyle: typeof getBackButtonStyle;
45 | getSmartRepliesContainerStyle: typeof getSmartRepliesContainerStyle;
46 | getSmartRepliesTitleStyle: typeof getSmartRepliesTitleStyle;
47 | theme: Ref;
48 | States: typeof States;
49 | getContainerStyle: (style?: import("@cometchat/uikit-shared").AISmartRepliesStyle, theme?: CometChatTheme) => import("vue").CSSProperties;
50 | localize: (str: string) => any;
51 | messageListState: Ref;
52 | loadingIconURL: string;
53 | errorIconURL: string;
54 | emptyIconURL: string;
55 | backButtonIconURL: string;
56 | activeView: any;
57 | replies: Ref;
58 | }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly Promise>;
65 | required: true;
66 | };
67 | configuration: {
68 | type: PropType;
69 | default: () => AISmartRepliesConfiguration;
70 | };
71 | editReplyCallback: {
72 | type: PropType<(reply: string) => void>;
73 | };
74 | backCallback: {
75 | type: PropType<() => void>;
76 | };
77 | closeCallback: {
78 | type: PropType<() => void>;
79 | };
80 | }>>, {
81 | title: string;
82 | configuration: AISmartRepliesConfiguration;
83 | }, {}>;
84 | export default _sfc_main;
85 |
--------------------------------------------------------------------------------
/dist/src/components/AI/AISmartReplies/style.d.ts:
--------------------------------------------------------------------------------
1 | import { AISmartRepliesStyle, SmartRepliesStyle } from "@cometchat/uikit-shared";
2 | import { CometChatTheme } from "@cometchat/uikit-resources";
3 | import { CSSProperties } from "vue";
4 | export declare const getContainerStyle: (style?: AISmartRepliesStyle, theme?: CometChatTheme) => CSSProperties;
5 | export declare const contentContainerStyle: CSSProperties;
6 | export declare const getSmartReplyStyle: (theme?: CometChatTheme, style?: AISmartRepliesStyle) => {
7 | replyTextFont: string;
8 | replyTextColor: string;
9 | replyBackground: string;
10 | boxShadow: string;
11 | background: string;
12 | border: string;
13 | borderRadius: string;
14 | display: string;
15 | justifyContent: string;
16 | };
17 | export declare function getBackButtonStyle(style?: SmartRepliesStyle, theme?: CometChatTheme): any;
18 | export declare function getSmartRepliesContainerStyle(): any;
19 | export declare function getSmartRepliesTitleStyle(style?: AISmartRepliesStyle, theme?: CometChatTheme): any;
20 |
--------------------------------------------------------------------------------
/dist/src/components/Calling/CallingExtension.d.ts:
--------------------------------------------------------------------------------
1 | import { CallingConfiguration, CallingExtensionDataSource } from "@cometchat/uikit-shared";
2 | export declare class CallingExtension extends CallingExtensionDataSource {
3 | private configuration?;
4 | constructor(configuration?: CallingConfiguration);
5 | addExtension(): void;
6 | getExtensionId(): string;
7 | enable(): void;
8 | }
9 |
--------------------------------------------------------------------------------
/dist/src/components/Calling/CallingExtensionDecorator.d.ts:
--------------------------------------------------------------------------------
1 | import { CometChatMessageTemplate, CometChatTheme, DocumentIconAlignment, MessageBubbleAlignment, CallWorkflow } from "@cometchat/uikit-resources";
2 | import { CallingConfiguration } from "@cometchat/uikit-shared";
3 | import { CallscreenStyle } from "@cometchat/uikit-elements";
4 | import { DataSourceDecorator } from "../shared/Framework/DataSourceDecorator";
5 | import { DataSource } from "../shared/Framework/DataSource";
6 | export declare class CallingExtensionDecorator extends DataSourceDecorator {
7 | theme: CometChatTheme;
8 | loggedInUser: CometChat.User | null;
9 | configuration?: CallingConfiguration;
10 | constructor(dataSource: DataSource, configuration?: CallingConfiguration);
11 | addLoginListener(): void;
12 | getLoggedInUser(): Promise;
13 | getAllMessageTypes(): string[];
14 | getId(): string;
15 | getAllMessageCategories(): string[];
16 | checkIfTemplateTypeExist(template: CometChatMessageTemplate[], type: string): boolean;
17 | checkIfTemplateCategoryExist(template: CometChatMessageTemplate[], category: string): boolean;
18 | getAllMessageTemplates(_theme?: CometChatTheme | undefined, additionalConfigurations?: any): CometChatMessageTemplate[];
19 | getDirectCallTemplate(_theme: CometChatTheme): CometChatMessageTemplate;
20 | getDefaultCallTemplate(_theme: CometChatTheme): CometChatMessageTemplate[];
21 | getCallBubbleStyle(_alignment: MessageBubbleAlignment, _theme: CometChatTheme): {
22 | titleFont: string;
23 | titleColor: string;
24 | iconTint: string;
25 | buttonTextFont: string;
26 | buttonTextColor: string;
27 | buttonBackground: string;
28 | width: string;
29 | background: string;
30 | borderRadius: string;
31 | } | {
32 | titleFont: string;
33 | titleColor: string;
34 | iconTint: string;
35 | buttonTextFont: string;
36 | buttonTextColor: string;
37 | buttonBackground: string;
38 | width: string;
39 | borderRadius: string;
40 | background?: undefined;
41 | };
42 | getSessionId(_message: CometChat.CustomMessage): any;
43 | getCallBubbleTitle(_message: CometChat.CustomMessage): any;
44 | getDirectCallMessageBubble(_message: CometChat.CustomMessage, _alignment: MessageBubbleAlignment, _theme: CometChatTheme): {
45 | componentName: string;
46 | props: {
47 | hideSeparator: boolean;
48 | iconAlignment: DocumentIconAlignment.left;
49 | documentStyle: {
50 | titleFont: string;
51 | titleColor: string;
52 | iconTint: string;
53 | buttonTextFont: string;
54 | buttonTextColor: string;
55 | buttonBackground: string;
56 | width: string;
57 | background: string;
58 | borderRadius: string;
59 | } | {
60 | titleFont: string;
61 | titleColor: string;
62 | iconTint: string;
63 | buttonTextFont: string;
64 | buttonTextColor: string;
65 | buttonBackground: string;
66 | width: string;
67 | borderRadius: string;
68 | background?: undefined;
69 | };
70 | URL: any;
71 | iconURL: string;
72 | title: any;
73 | buttonText: any;
74 | ccClicked: () => void;
75 | };
76 | };
77 | startDirectCall(sessionId: string, message: CometChat.CustomMessage): void;
78 | getOngoingCallUI(sessionId: string, callSettings: any): {
79 | componentName: string;
80 | props: {
81 | ongoingCallStyle: CallscreenStyle;
82 | sessionID: string;
83 | callWorkflow: CallWorkflow;
84 | callSettingsBuilder: any;
85 | };
86 | };
87 | callStatusStyle(_message: CometChat.Call, theme: CometChatTheme): {
88 | buttonTextFont: string;
89 | buttonTextColor: string;
90 | borderRadius: string;
91 | border: string;
92 | buttonIconTint: string;
93 | background: string;
94 | iconBackground: string;
95 | padding: string;
96 | gap: string;
97 | height: string;
98 | justifyContent: string;
99 | };
100 | getCallActionMessage(_message: CometChat.Call): string;
101 | getDefaultAudioCallMessageBubble(_message: CometChat.Call, _alignment: MessageBubbleAlignment, _theme: CometChatTheme): {
102 | componentName: string;
103 | props: {
104 | disabled: boolean;
105 | iconURL: string;
106 | buttonStyle: {
107 | buttonTextFont: string;
108 | buttonTextColor: string;
109 | borderRadius: string;
110 | border: string;
111 | buttonIconTint: string;
112 | background: string;
113 | iconBackground: string;
114 | padding: string;
115 | gap: string;
116 | height: string;
117 | justifyContent: string;
118 | };
119 | text: string;
120 | };
121 | };
122 | getDefaultVideoCallMessageBubble(_message: CometChat.Call, _alignment: MessageBubbleAlignment, _theme: CometChatTheme): {
123 | componentName: string;
124 | props: {
125 | disabled: boolean;
126 | iconURL: string;
127 | buttonStyle: {
128 | buttonTextFont: string;
129 | buttonTextColor: string;
130 | borderRadius: string;
131 | border: string;
132 | buttonIconTint: string;
133 | background: string;
134 | iconBackground: string;
135 | padding: string;
136 | gap: string;
137 | height: string;
138 | justifyContent: string;
139 | };
140 | text: string;
141 | };
142 | };
143 | getLastConversationMessage(conversation: CometChat.Conversation, loggedInUser: CometChat.User, additionalConfigurations?: any): string;
144 | getAuxiliaryHeaderMenu(user: CometChat.User, group: CometChat.Group): any[];
145 | }
146 |
--------------------------------------------------------------------------------
/dist/src/components/Calling/CometChatCallButtons/index.vue.d.ts:
--------------------------------------------------------------------------------
1 | import { PropType, Ref } from "vue";
2 | import { CallButtonsStyle, CometChatUIKitCalls, CallScreenConfiguration, OutgoingCallConfiguration } from "@cometchat/uikit-shared";
3 | import { CometChat } from "@cometchat/chat-sdk-javascript";
4 | declare const _sfc_main: import("vue").DefineComponent<{
5 | user: {
6 | type: PropType;
7 | };
8 | group: {
9 | type: PropType;
10 | };
11 | voiceCallIconURL: {
12 | type: StringConstructor;
13 | default: string;
14 | };
15 | voiceCallIconText: {
16 | type: StringConstructor;
17 | default: () => any;
18 | };
19 | voiceCallIconHoverText: {
20 | type: StringConstructor;
21 | default: () => any;
22 | };
23 | videoCallIconURL: {
24 | type: StringConstructor;
25 | default: string;
26 | };
27 | videoCallIconText: {
28 | type: StringConstructor;
29 | default: () => any;
30 | };
31 | videoCallIconHoverText: {
32 | type: StringConstructor;
33 | default: () => any;
34 | };
35 | callButtonsStyle: {
36 | type: PropType;
37 | default: () => CallButtonsStyle;
38 | };
39 | onVoiceCallClick: {
40 | type: PropType<(user: CometChat.User, group: CometChat.Group) => void>;
41 | default: () => void;
42 | };
43 | onVideoCallClick: {
44 | type: PropType<(user: CometChat.User, group: CometChat.Group) => void>;
45 | default: () => void;
46 | };
47 | onError: {
48 | type: PropType<(error: CometChat.CometChatException) => void>;
49 | default: (error: CometChat.CometChatException) => void;
50 | };
51 | ongoingCallConfiguration: {
52 | type: PropType;
53 | default: () => CallScreenConfiguration;
54 | };
55 | outgoingCallConfiguration: {
56 | type: PropType;
57 | default: () => OutgoingCallConfiguration;
58 | };
59 | }, {
60 | getVoiceCallButtonStyle: () => any;
61 | getVideoCallButtonStyle: () => any;
62 | initiateAudioCall: () => void;
63 | initiateVideoCall: () => void;
64 | getOngoingCallStyle: () => any;
65 | wrapperStyle: () => {
66 | height: any;
67 | width: any;
68 | background: any;
69 | border: any;
70 | borderRadius: any;
71 | };
72 | call: Ref;
73 | showOutgoingCallscreen: Ref;
74 | showOngoingCall: Ref;
75 | cancelOutgoingCall: () => void;
76 | getOutGoingCallStyle: () => {
77 | titleTextFont?: string;
78 | titleTextColor?: string;
79 | subtitleTextFont?: string;
80 | subtitleTextColor?: string;
81 | declineButtonTextFont?: string;
82 | declineButtonTextColor?: string;
83 | declineButtonIconTint?: string;
84 | declineButtonIconBackground?: string;
85 | height?: string;
86 | width?: string;
87 | border?: string;
88 | borderRadius?: string;
89 | background?: string;
90 | };
91 | getCallBuilder: () => typeof CometChatUIKitCalls.CallSettings;
92 | sessionId: Ref;
93 | disableButtons: Ref;
94 | }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly;
97 | };
98 | group: {
99 | type: PropType;
100 | };
101 | voiceCallIconURL: {
102 | type: StringConstructor;
103 | default: string;
104 | };
105 | voiceCallIconText: {
106 | type: StringConstructor;
107 | default: () => any;
108 | };
109 | voiceCallIconHoverText: {
110 | type: StringConstructor;
111 | default: () => any;
112 | };
113 | videoCallIconURL: {
114 | type: StringConstructor;
115 | default: string;
116 | };
117 | videoCallIconText: {
118 | type: StringConstructor;
119 | default: () => any;
120 | };
121 | videoCallIconHoverText: {
122 | type: StringConstructor;
123 | default: () => any;
124 | };
125 | callButtonsStyle: {
126 | type: PropType;
127 | default: () => CallButtonsStyle;
128 | };
129 | onVoiceCallClick: {
130 | type: PropType<(user: CometChat.User, group: CometChat.Group) => void>;
131 | default: () => void;
132 | };
133 | onVideoCallClick: {
134 | type: PropType<(user: CometChat.User, group: CometChat.Group) => void>;
135 | default: () => void;
136 | };
137 | onError: {
138 | type: PropType<(error: CometChat.CometChatException) => void>;
139 | default: (error: CometChat.CometChatException) => void;
140 | };
141 | ongoingCallConfiguration: {
142 | type: PropType;
143 | default: () => CallScreenConfiguration;
144 | };
145 | outgoingCallConfiguration: {
146 | type: PropType;
147 | default: () => OutgoingCallConfiguration;
148 | };
149 | }>>, {
150 | onError: (error: CometChat.CometChatException) => void;
151 | voiceCallIconURL: string;
152 | voiceCallIconText: string;
153 | voiceCallIconHoverText: string;
154 | videoCallIconURL: string;
155 | videoCallIconText: string;
156 | videoCallIconHoverText: string;
157 | callButtonsStyle: CallButtonsStyle;
158 | onVoiceCallClick: (user: CometChat.User, group: CometChat.Group) => void;
159 | onVideoCallClick: (user: CometChat.User, group: CometChat.Group) => void;
160 | ongoingCallConfiguration: CallScreenConfiguration;
161 | outgoingCallConfiguration: OutgoingCallConfiguration;
162 | }, {}>;
163 | export default _sfc_main;
164 |
--------------------------------------------------------------------------------
/dist/src/components/Calling/CometChatCallLogDetails/index.vue.d.ts:
--------------------------------------------------------------------------------
1 | import { AvatarStyle } from "@cometchat/uikit-elements";
2 | import { PropType, Ref } from "vue";
3 | import { verifyCallUser } from "../Utils/utils";
4 | import { CometChatCallDetailsOption, CometChatCallDetailsTemplate, CometChatDetailsTemplate, CometChatTheme } from "@cometchat/uikit-resources";
5 | import { getProfileContainerStyle, getBackButtonStyle, getButtonContainerStyle, getContainerStyle, getTitleStyle } from "./style";
6 | import { CallLogDetailsStyle, CallLogHistoryConfiguration, CallLogParticipantsConfiguration, CallLogRecordingsConfiguration } from "@cometchat/uikit-shared";
7 | declare const _sfc_main: import("vue").DefineComponent<{
8 | call: {
9 | type: PropType;
10 | required: true;
11 | };
12 | title: {
13 | type: StringConstructor;
14 | default: any;
15 | };
16 | backIconUrl: {
17 | type: StringConstructor;
18 | default: string;
19 | };
20 | avatarStyle: {
21 | type: PropType;
22 | default: () => AvatarStyle;
23 | };
24 | onBackClick: {
25 | type: PropType<() => void>;
26 | };
27 | data: {
28 | type: PropType<(callLog: any, loggedInUser: CometChat.User, theme: CometChatTheme) => CometChatCallDetailsTemplate[]>;
29 | };
30 | callLogHistoryConfiguration: {
31 | type: PropType;
32 | default: () => CallLogHistoryConfiguration;
33 | };
34 | callLogParticipantsConfiguration: {
35 | type: PropType;
36 | default: () => CallLogParticipantsConfiguration;
37 | };
38 | callLogRecordingsConfiguration: {
39 | type: PropType;
40 | default: () => CallLogRecordingsConfiguration;
41 | };
42 | callLogDetailsStyle: {
43 | type: PropType;
44 | default: () => Record;
45 | };
46 | }, {
47 | theme: Ref;
48 | verifyCallUser: typeof verifyCallUser;
49 | loggedInUser: Ref;
50 | getAvatarStyle: (theme: CometChatTheme, avatarStyle?: AvatarStyle) => AvatarStyle;
51 | getAvatarTitleStyle: (theme: CometChatTheme, style: CallLogDetailsStyle) => {
52 | color: string;
53 | font: string;
54 | };
55 | templates: Ref;
56 | getOptionsForTemplate: (template: CometChatDetailsTemplate) => CometChatCallDetailsOption[];
57 | getProfileContainerStyle: typeof getProfileContainerStyle;
58 | getBackButtonStyle: typeof getBackButtonStyle;
59 | getButtonContainerStyle: typeof getButtonContainerStyle;
60 | handleOptionClick: (option: CometChatCallDetailsOption) => void;
61 | showDetailsPage: import("vue").ComputedRef;
62 | showParticipantsPage: import("vue").ComputedRef;
63 | showRecordingsPage: import("vue").ComputedRef;
64 | showCallHistoryPage: import("vue").ComputedRef;
65 | handlePageOnBackClick: () => void;
66 | getCallUser: () => any;
67 | getCallGroup: () => any;
68 | getContainerStyle: typeof getContainerStyle;
69 | getTitleStyle: typeof getTitleStyle;
70 | localize: (str: string) => any;
71 | }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly;
74 | required: true;
75 | };
76 | title: {
77 | type: StringConstructor;
78 | default: any;
79 | };
80 | backIconUrl: {
81 | type: StringConstructor;
82 | default: string;
83 | };
84 | avatarStyle: {
85 | type: PropType;
86 | default: () => AvatarStyle;
87 | };
88 | onBackClick: {
89 | type: PropType<() => void>;
90 | };
91 | data: {
92 | type: PropType<(callLog: any, loggedInUser: CometChat.User, theme: CometChatTheme) => CometChatCallDetailsTemplate[]>;
93 | };
94 | callLogHistoryConfiguration: {
95 | type: PropType;
96 | default: () => CallLogHistoryConfiguration;
97 | };
98 | callLogParticipantsConfiguration: {
99 | type: PropType;
100 | default: () => CallLogParticipantsConfiguration;
101 | };
102 | callLogRecordingsConfiguration: {
103 | type: PropType;
104 | default: () => CallLogRecordingsConfiguration;
105 | };
106 | callLogDetailsStyle: {
107 | type: PropType;
108 | default: () => Record;
109 | };
110 | }>>, {
111 | title: string;
112 | avatarStyle: AvatarStyle;
113 | backIconUrl: string;
114 | callLogHistoryConfiguration: CallLogHistoryConfiguration;
115 | callLogParticipantsConfiguration: CallLogParticipantsConfiguration;
116 | callLogRecordingsConfiguration: CallLogRecordingsConfiguration;
117 | callLogDetailsStyle: Record;
118 | }, {}>;
119 | export default _sfc_main;
120 |
--------------------------------------------------------------------------------
/dist/src/components/Calling/CometChatCallLogDetails/style.d.ts:
--------------------------------------------------------------------------------
1 | import { CometChatTheme } from "@cometchat/uikit-resources";
2 | import { CSSProperties } from "vue";
3 | import { CallLogDetailsStyle } from "@cometchat/uikit-shared";
4 | export declare function getProfileContainerStyle(): CSSProperties;
5 | export declare function getButtonContainerStyle(): CSSProperties;
6 | export declare function getBackButtonStyle(theme: CometChatTheme, style: CallLogDetailsStyle): {
7 | height: string;
8 | width: string;
9 | border: string;
10 | borderRadius: string;
11 | background: string;
12 | buttonIconTint: string;
13 | };
14 | export declare function getContainerStyle(theme: CometChatTheme, style: CallLogDetailsStyle): CSSProperties;
15 | export declare function getTitleStyle(theme: CometChatTheme, style: CallLogDetailsStyle): {
16 | font: string;
17 | color: string;
18 | background: string;
19 | };
20 |
--------------------------------------------------------------------------------
/dist/src/components/Calling/CometChatCallLogHistory/index.vue.d.ts:
--------------------------------------------------------------------------------
1 | import { PropType, Ref } from "vue";
2 | import { getSubtitleStyle, getAvatarStyle, getListItemStyle, getContainerStyle, getListStyle, getButtonContainerStyle, getCallDurationStyle, getBackButtonStyle, getCallStatusStyle, getTitleStyle } from "./style";
3 | import { CometChat } from "@cometchat/chat-sdk-javascript";
4 | import { CometChatTheme, DatePatterns, SelectionMode, States } from "@cometchat/uikit-resources";
5 | import { getCallStatusWithType, verifyCallUser } from "../Utils/utils";
6 | import { ListItemStyle } from "@cometchat/uikit-elements";
7 | import { CallLogHistoryStyle } from "@cometchat/uikit-shared";
8 | declare const _sfc_main: import("vue").DefineComponent<{
9 | callUser: {
10 | type: ObjectConstructor;
11 | };
12 | callGroup: {
13 | type: ObjectConstructor;
14 | };
15 | title: {
16 | type: StringConstructor;
17 | default: () => any;
18 | };
19 | emptyStateView: {
20 | type: PropType;
21 | };
22 | emptyStateText: {
23 | type: StringConstructor;
24 | default: () => any;
25 | };
26 | errorStateText: {
27 | type: StringConstructor;
28 | default: () => any;
29 | };
30 | errorStateView: {
31 | type: PropType;
32 | };
33 | loadingIconURL: {
34 | type: StringConstructor;
35 | default: string;
36 | };
37 | loadingStateView: {
38 | type: PropType<(item: any) => ViewType>;
39 | };
40 | subtitleView: {
41 | type: PropType<(item: any) => ViewType>;
42 | };
43 | tailView: {
44 | type: PropType<(item: any) => ViewType>;
45 | };
46 | callLogRequestBuilder: {
47 | type: ObjectConstructor;
48 | };
49 | onItemClick: {
50 | type: PropType<(item: any) => void>;
51 | };
52 | backIconUrl: {
53 | type: StringConstructor;
54 | default: string;
55 | };
56 | onBackClick: {
57 | type: PropType<() => void>;
58 | };
59 | listItemStyle: {
60 | type: PropType;
61 | default: () => ListItemStyle;
62 | };
63 | datePattern: {
64 | type: PropType;
65 | default: DatePatterns;
66 | };
67 | dateSeparatorPattern: {
68 | type: PropType;
69 | default: DatePatterns;
70 | };
71 | callLogHistoryStyle: {
72 | type: PropType;
73 | default: () => CallLogHistoryStyle;
74 | };
75 | onError: {
76 | type: PropType<(error: CometChat.CometChatException) => void>;
77 | };
78 | }, {
79 | callList: any;
80 | state: Ref;
81 | SelectionMode: typeof SelectionMode;
82 | getListItemStyle: typeof getListItemStyle;
83 | getAvatarStyle: typeof getAvatarStyle;
84 | getCallStatusWithType: typeof getCallStatusWithType;
85 | getSubtitleStyle: typeof getSubtitleStyle;
86 | handleItemClick: (call: any) => void;
87 | theme: Ref;
88 | getCallList: () => Promise;
89 | loggedInUser: Ref;
90 | verifyCallUser: typeof verifyCallUser;
91 | getBackButtonStyle: typeof getBackButtonStyle;
92 | getButtonContainerStyle: typeof getButtonContainerStyle;
93 | handleBackClick: () => void;
94 | getContainerStyle: typeof getContainerStyle;
95 | getListStyle: typeof getListStyle;
96 | getCallDurationStyle: typeof getCallDurationStyle;
97 | getMessageBubbleDate: (item: any, i: number) => string;
98 | getCallDuration: (item: any) => string | false;
99 | getCallStatusStyle: typeof getCallStatusStyle;
100 | getTitleStyle: typeof getTitleStyle;
101 | }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly any;
111 | };
112 | emptyStateView: {
113 | type: PropType;
114 | };
115 | emptyStateText: {
116 | type: StringConstructor;
117 | default: () => any;
118 | };
119 | errorStateText: {
120 | type: StringConstructor;
121 | default: () => any;
122 | };
123 | errorStateView: {
124 | type: PropType;
125 | };
126 | loadingIconURL: {
127 | type: StringConstructor;
128 | default: string;
129 | };
130 | loadingStateView: {
131 | type: PropType<(item: any) => ViewType>;
132 | };
133 | subtitleView: {
134 | type: PropType<(item: any) => ViewType>;
135 | };
136 | tailView: {
137 | type: PropType<(item: any) => ViewType>;
138 | };
139 | callLogRequestBuilder: {
140 | type: ObjectConstructor;
141 | };
142 | onItemClick: {
143 | type: PropType<(item: any) => void>;
144 | };
145 | backIconUrl: {
146 | type: StringConstructor;
147 | default: string;
148 | };
149 | onBackClick: {
150 | type: PropType<() => void>;
151 | };
152 | listItemStyle: {
153 | type: PropType;
154 | default: () => ListItemStyle;
155 | };
156 | datePattern: {
157 | type: PropType;
158 | default: DatePatterns;
159 | };
160 | dateSeparatorPattern: {
161 | type: PropType;
162 | default: DatePatterns;
163 | };
164 | callLogHistoryStyle: {
165 | type: PropType;
166 | default: () => CallLogHistoryStyle;
167 | };
168 | onError: {
169 | type: PropType<(error: CometChat.CometChatException) => void>;
170 | };
171 | }>>, {
172 | title: string;
173 | errorStateText: string;
174 | emptyStateText: string;
175 | listItemStyle: ListItemStyle;
176 | loadingIconURL: string;
177 | datePattern: DatePatterns;
178 | backIconUrl: string;
179 | dateSeparatorPattern: DatePatterns;
180 | callLogHistoryStyle: CallLogHistoryStyle;
181 | }, {}>;
182 | export default _sfc_main;
183 |
--------------------------------------------------------------------------------
/dist/src/components/Calling/CometChatCallLogHistory/style.d.ts:
--------------------------------------------------------------------------------
1 | import { AvatarStyle, DateStyle, ListItemStyle } from "@cometchat/uikit-elements";
2 | import { CallLogHistoryStyle, ListStyle } from "@cometchat/uikit-shared";
3 | import { CometChatTheme } from "@cometchat/uikit-resources";
4 | import { CSSProperties } from "vue";
5 | export declare function getSubtitleStyle(theme: CometChatTheme, style: CallLogHistoryStyle): DateStyle;
6 | export declare function getAvatarStyle(theme: CometChatTheme, avatarStyle?: AvatarStyle): AvatarStyle;
7 | export declare function getListItemStyle(theme: CometChatTheme, listItemStyle?: ListItemStyle): ListItemStyle;
8 | export declare function getCallStatusStyle(theme: CometChatTheme, style: CallLogHistoryStyle): {
9 | font: string;
10 | color: string;
11 | };
12 | export declare function getContainerStyle(theme: CometChatTheme, callLogsStyle: CallLogHistoryStyle): CSSProperties;
13 | export declare function getListStyle(theme: CometChatTheme, callLogsStyle: CallLogHistoryStyle): ListStyle;
14 | export declare function getCallDurationStyle(theme: CometChatTheme, style: CallLogHistoryStyle): {
15 | font: string;
16 | color: string;
17 | };
18 | export declare function getButtonContainerStyle(): CSSProperties;
19 | export declare function getBackButtonStyle(theme: CometChatTheme, style: CallLogHistoryStyle): {
20 | height: string;
21 | width: string;
22 | border: string;
23 | borderRadius: string;
24 | background: string;
25 | buttonIconTint: string;
26 | };
27 | export declare function getDateSeparator(theme: CometChatTheme, style: CallLogHistoryStyle): {
28 | textFont: string;
29 | textColor: string;
30 | background: string;
31 | };
32 | export declare function getDividerStyle(theme: CometChatTheme, style: CallLogHistoryStyle): {
33 | height: string;
34 | width: string;
35 | background: string;
36 | };
37 | export declare function getTitleStyle(theme: CometChatTheme, style: CallLogHistoryStyle): {
38 | font: string;
39 | color: string;
40 | background: string;
41 | };
42 |
--------------------------------------------------------------------------------
/dist/src/components/Calling/CometChatCallLogParticipants/index.vue.d.ts:
--------------------------------------------------------------------------------
1 | import { PropType, Ref } from "vue";
2 | import { getButtonContainerStyle, getBackButtonStyle, getTitleStyle, getListStyle, getAvatarStyle, getListItemStyle, getSubtitleStyle, getCallDateStyle, getContainerStyle } from "./style";
3 | import { CometChatTheme, DatePatterns, States } from "@cometchat/uikit-resources";
4 | import { AvatarStyle, ListItemStyle } from "@cometchat/uikit-elements";
5 | import { CallLogParticipantsStyle } from "@cometchat/uikit-shared";
6 | declare const _sfc_main: import("vue").DefineComponent<{
7 | title: {
8 | type: StringConstructor;
9 | default: () => any;
10 | };
11 | call: {
12 | type: PropType;
13 | required: true;
14 | };
15 | backIconUrl: {
16 | type: StringConstructor;
17 | default: string;
18 | };
19 | onBackClick: {
20 | type: PropType<() => void>;
21 | };
22 | avatarStyle: {
23 | type: PropType;
24 | default: () => AvatarStyle;
25 | };
26 | onItemClick: {
27 | type: PropType<(item: any) => void>;
28 | };
29 | datePattern: {
30 | type: PropType;
31 | default: DatePatterns;
32 | };
33 | listItemStyle: {
34 | type: PropType;
35 | default: () => ListItemStyle;
36 | };
37 | callLogParticipantsStyle: {
38 | type: PropType;
39 | default: () => CallLogParticipantsStyle;
40 | };
41 | listItemView: {
42 | type: PropType<(item: any) => ViewType>;
43 | };
44 | subtitleView: {
45 | type: PropType<(item: any) => ViewType>;
46 | };
47 | tailView: {
48 | type: PropType<(item: any) => ViewType>;
49 | };
50 | }, {
51 | theme: Ref;
52 | States: typeof States;
53 | handleBackClick: () => void;
54 | getButtonContainerStyle: typeof getButtonContainerStyle;
55 | getBackButtonStyle: typeof getBackButtonStyle;
56 | getTitleStyle: typeof getTitleStyle;
57 | getListStyle: typeof getListStyle;
58 | getAvatarStyle: typeof getAvatarStyle;
59 | getListItemStyle: typeof getListItemStyle;
60 | handleItemClick: (item: any) => void;
61 | getSubtitleStyle: typeof getSubtitleStyle;
62 | getCallDateStyle: typeof getCallDateStyle;
63 | getCallParticipants: () => any;
64 | loggedInUser: any;
65 | getCallInitiatedAt: () => any;
66 | getDurationOfCall: (item: any) => string;
67 | getContainerStyle: typeof getContainerStyle;
68 | }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly any;
72 | };
73 | call: {
74 | type: PropType;
75 | required: true;
76 | };
77 | backIconUrl: {
78 | type: StringConstructor;
79 | default: string;
80 | };
81 | onBackClick: {
82 | type: PropType<() => void>;
83 | };
84 | avatarStyle: {
85 | type: PropType;
86 | default: () => AvatarStyle;
87 | };
88 | onItemClick: {
89 | type: PropType<(item: any) => void>;
90 | };
91 | datePattern: {
92 | type: PropType;
93 | default: DatePatterns;
94 | };
95 | listItemStyle: {
96 | type: PropType;
97 | default: () => ListItemStyle;
98 | };
99 | callLogParticipantsStyle: {
100 | type: PropType;
101 | default: () => CallLogParticipantsStyle;
102 | };
103 | listItemView: {
104 | type: PropType<(item: any) => ViewType>;
105 | };
106 | subtitleView: {
107 | type: PropType<(item: any) => ViewType>;
108 | };
109 | tailView: {
110 | type: PropType<(item: any) => ViewType>;
111 | };
112 | }>>, {
113 | title: string;
114 | avatarStyle: AvatarStyle;
115 | listItemStyle: ListItemStyle;
116 | datePattern: DatePatterns;
117 | backIconUrl: string;
118 | callLogParticipantsStyle: CallLogParticipantsStyle;
119 | }, {}>;
120 | export default _sfc_main;
121 |
--------------------------------------------------------------------------------
/dist/src/components/Calling/CometChatCallLogParticipants/style.d.ts:
--------------------------------------------------------------------------------
1 | import { AvatarStyle, ListItemStyle } from "@cometchat/uikit-elements";
2 | import { CallLogParticipantsStyle, ListStyle } from "@cometchat/uikit-shared";
3 | import { CometChatTheme } from "@cometchat/uikit-resources";
4 | import { CSSProperties } from "vue";
5 | export declare function getButtonContainerStyle(): CSSProperties;
6 | export declare function getBackButtonStyle(theme: CometChatTheme, style: CallLogParticipantsStyle): {
7 | height: string;
8 | width: string;
9 | border: string;
10 | borderRadius: string;
11 | background: string;
12 | buttonIconTint: string;
13 | };
14 | export declare function getListStyle(theme: CometChatTheme, callLogsStyle: CallLogParticipantsStyle): ListStyle;
15 | export declare function getAvatarStyle(theme: CometChatTheme, avatarStyle?: AvatarStyle): AvatarStyle;
16 | export declare function getListItemStyle(theme: CometChatTheme, listItemStyle?: ListItemStyle): ListItemStyle;
17 | export declare function getSubtitleStyle(theme: CometChatTheme, style: CallLogParticipantsStyle): CSSProperties;
18 | export declare function getCallDateStyle(theme: CometChatTheme, style: CallLogParticipantsStyle): {
19 | textColor: string;
20 | textFont: string;
21 | font: string;
22 | color: string;
23 | background: string;
24 | padding: string;
25 | };
26 | export declare function getContainerStyle(theme: CometChatTheme, callLogsStyle: CallLogParticipantsStyle): CSSProperties;
27 | export declare function getTitleStyle(theme: CometChatTheme, style: CallLogParticipantsStyle): {
28 | font: string;
29 | color: string;
30 | background: string;
31 | };
32 |
--------------------------------------------------------------------------------
/dist/src/components/Calling/CometChatCallLogRecordings/index.vue.d.ts:
--------------------------------------------------------------------------------
1 | import { PropType, Ref } from "vue";
2 | import { getButtonContainerStyle, getBackButtonStyle, getTitleStyle, getListStyle, getListItemStyle, getSubtitleStyle, getCallDateStyle, getContainerStyle, getDownloadButtonStyle } from "./style";
3 | import { CometChatTheme, DatePatterns, States } from "@cometchat/uikit-resources";
4 | import { ListItemStyle } from "@cometchat/uikit-elements";
5 | import { CallLogRecordingsStyle } from "@cometchat/uikit-shared";
6 | declare const _sfc_main: import("vue").DefineComponent<{
7 | title: {
8 | type: StringConstructor;
9 | default: () => any;
10 | };
11 | call: {
12 | type: PropType;
13 | required: true;
14 | };
15 | backIconUrl: {
16 | type: StringConstructor;
17 | default: string;
18 | };
19 | onBackClick: {
20 | type: PropType<() => void>;
21 | };
22 | onItemClick: {
23 | type: PropType<(item: any) => void>;
24 | };
25 | datePattern: {
26 | type: PropType;
27 | default: DatePatterns;
28 | };
29 | listItemStyle: {
30 | type: PropType;
31 | default: () => ListItemStyle;
32 | };
33 | callLogRecordingsStyle: {
34 | type: PropType;
35 | default: () => CallLogRecordingsStyle;
36 | };
37 | downloadIconUrl: {
38 | type: StringConstructor;
39 | default: string;
40 | };
41 | hideDownloadButton: {
42 | type: BooleanConstructor;
43 | default: boolean;
44 | };
45 | onDownloadClick: {
46 | type: PropType<(item: any) => void>;
47 | };
48 | listItemView: {
49 | type: PropType<(item: any) => ViewType>;
50 | };
51 | subtitleView: {
52 | type: PropType<(item: any) => ViewType>;
53 | };
54 | tailView: {
55 | type: PropType<(item: any) => ViewType>;
56 | };
57 | }, {
58 | theme: Ref;
59 | state: Ref;
60 | handleBackClick: () => void;
61 | getButtonContainerStyle: typeof getButtonContainerStyle;
62 | getBackButtonStyle: typeof getBackButtonStyle;
63 | getTitleStyle: typeof getTitleStyle;
64 | getListStyle: typeof getListStyle;
65 | getListItemStyle: typeof getListItemStyle;
66 | handleItemClick: (item: any) => void;
67 | getSubtitleStyle: typeof getSubtitleStyle;
68 | getCallDateStyle: typeof getCallDateStyle;
69 | getRecordings: () => any;
70 | loggedInUser: any;
71 | getRecordingStartTime: (item: any) => any;
72 | getRecordingDuration: (item: any) => string;
73 | getContainerStyle: typeof getContainerStyle;
74 | handleDownloadClick: (item: any) => void;
75 | getDownloadButtonStyle: typeof getDownloadButtonStyle;
76 | }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly any;
80 | };
81 | call: {
82 | type: PropType;
83 | required: true;
84 | };
85 | backIconUrl: {
86 | type: StringConstructor;
87 | default: string;
88 | };
89 | onBackClick: {
90 | type: PropType<() => void>;
91 | };
92 | onItemClick: {
93 | type: PropType<(item: any) => void>;
94 | };
95 | datePattern: {
96 | type: PropType;
97 | default: DatePatterns;
98 | };
99 | listItemStyle: {
100 | type: PropType;
101 | default: () => ListItemStyle;
102 | };
103 | callLogRecordingsStyle: {
104 | type: PropType;
105 | default: () => CallLogRecordingsStyle;
106 | };
107 | downloadIconUrl: {
108 | type: StringConstructor;
109 | default: string;
110 | };
111 | hideDownloadButton: {
112 | type: BooleanConstructor;
113 | default: boolean;
114 | };
115 | onDownloadClick: {
116 | type: PropType<(item: any) => void>;
117 | };
118 | listItemView: {
119 | type: PropType<(item: any) => ViewType>;
120 | };
121 | subtitleView: {
122 | type: PropType<(item: any) => ViewType>;
123 | };
124 | tailView: {
125 | type: PropType<(item: any) => ViewType>;
126 | };
127 | }>>, {
128 | title: string;
129 | listItemStyle: ListItemStyle;
130 | datePattern: DatePatterns;
131 | backIconUrl: string;
132 | callLogRecordingsStyle: CallLogRecordingsStyle;
133 | downloadIconUrl: string;
134 | hideDownloadButton: boolean;
135 | }, {}>;
136 | export default _sfc_main;
137 |
--------------------------------------------------------------------------------
/dist/src/components/Calling/CometChatCallLogRecordings/style.d.ts:
--------------------------------------------------------------------------------
1 | import { CallLogRecordingsStyle, ListStyle } from "@cometchat/uikit-shared";
2 | import { CometChatTheme } from "@cometchat/uikit-resources";
3 | import { CSSProperties } from "vue";
4 | import { ListItemStyle } from "@cometchat/uikit-elements";
5 | export declare function getButtonContainerStyle(): CSSProperties;
6 | export declare function getListStyle(theme: CometChatTheme, callLogsStyle: CallLogRecordingsStyle): ListStyle;
7 | export declare function getListItemStyle(theme: CometChatTheme, listItemStyle?: ListItemStyle): ListItemStyle;
8 | export declare function getSubtitleStyle(theme: CometChatTheme, style: CallLogRecordingsStyle): CSSProperties;
9 | export declare function getCallDateStyle(theme: CometChatTheme, style: CallLogRecordingsStyle): {
10 | textColor: string;
11 | textFont: string;
12 | background: string;
13 | };
14 | export declare function getBackButtonStyle(theme: CometChatTheme, style: CallLogRecordingsStyle): {
15 | height: string;
16 | width: string;
17 | border: string;
18 | borderRadius: string;
19 | background: string;
20 | buttonIconTint: string;
21 | };
22 | export declare function getDownloadButtonStyle(theme: CometChatTheme, style: CallLogRecordingsStyle): {
23 | height: string;
24 | width: string;
25 | border: string;
26 | borderRadius: string;
27 | background: string;
28 | buttonIconTint: string;
29 | };
30 | export declare function getContainerStyle(theme: CometChatTheme, callLogsStyle: CallLogRecordingsStyle): CSSProperties;
31 | export declare function getTitleStyle(theme: CometChatTheme, style: CallLogRecordingsStyle): {
32 | font: string;
33 | color: string;
34 | background: string;
35 | };
36 |
--------------------------------------------------------------------------------
/dist/src/components/Calling/CometChatCallLogs/style.d.ts:
--------------------------------------------------------------------------------
1 | import { AvatarStyle, ListItemStyle } from "@cometchat/uikit-elements";
2 | import { CallLogsStyle, ListStyle } from "@cometchat/uikit-shared";
3 | import { CometChatTheme } from "@cometchat/uikit-resources";
4 | import { CSSProperties } from "vue";
5 | export declare function getSubtitleStyle(theme: CometChatTheme, style: CallLogsStyle): CSSProperties;
6 | export declare function getAvatarStyle(theme: CometChatTheme, avatarStyle?: AvatarStyle): AvatarStyle;
7 | export declare function getListItemStyle(call: any, theme: CometChatTheme, listItemStyle?: ListItemStyle, loggedInUser?: CometChat.User): ListItemStyle;
8 | export declare function getContainerStyle(theme: CometChatTheme, callLogsStyle: CallLogsStyle): CSSProperties;
9 | export declare function getListStyle(theme: CometChatTheme, callLogsStyle: CallLogsStyle): ListStyle;
10 | export declare function getCallDateStyle(theme: CometChatTheme, style: CallLogsStyle): {
11 | textColor: string;
12 | textFont: string;
13 | background: string;
14 | padding: string;
15 | };
16 | export declare function getButtonContainerStyle(): CSSProperties;
17 | export declare function getDirectionIconStyle(call: any, theme: CometChatTheme, style: CallLogsStyle, loggedInUser: CometChat.User): {
18 | height: string;
19 | width: string;
20 | border: string;
21 | borderRadius: string;
22 | background: string;
23 | iconTint: any;
24 | };
25 | export declare function getInfoButtonStyle(theme: CometChatTheme, style: CallLogsStyle): {
26 | height: string;
27 | width: string;
28 | border: string;
29 | borderRadius: string;
30 | background: string;
31 | buttonIconTint: string;
32 | };
33 | export declare function getDateSeparator(theme: CometChatTheme, style: CallLogsStyle): {
34 | textFont: string;
35 | textColor: string;
36 | background: string;
37 | padding: string;
38 | };
39 |
--------------------------------------------------------------------------------
/dist/src/components/Calling/CometChatCallLogsWithDetails/index.vue.d.ts:
--------------------------------------------------------------------------------
1 | import { PropType, Ref } from 'vue';
2 | import { getContainerStyle, getLabelStyle, getEmptyContainerStyle } from './style';
3 | import { CometChatTheme } from '@cometchat/uikit-resources';
4 | import { CallLogDetailsConfiguration, CallLogsConfiguration, WithDetailsStyle } from '@cometchat/uikit-shared';
5 | declare const _sfc_main: import("vue").DefineComponent<{
6 | isMobileView: {
7 | type: BooleanConstructor;
8 | default: boolean;
9 | };
10 | messageText: {
11 | type: StringConstructor;
12 | default: () => any;
13 | };
14 | withDetailsStyle: {
15 | type: PropType;
16 | default: () => WithDetailsStyle;
17 | };
18 | callLogDetailsConfiguration: {
19 | type: PropType;
20 | default: () => CallLogDetailsConfiguration;
21 | };
22 | callLogConfiguration: {
23 | type: PropType;
24 | default: () => CallLogsConfiguration;
25 | };
26 | }, {
27 | activeCall: any;
28 | handleInfoClick: (call: any) => void;
29 | getCallLogStyle: () => {
30 | width: string;
31 | display: string;
32 | minWidth?: undefined;
33 | } | {
34 | width: string;
35 | minWidth: string;
36 | display?: undefined;
37 | };
38 | getCallDetailStyle: () => {
39 | width: string;
40 | display: string;
41 | } | {
42 | width: string;
43 | display?: undefined;
44 | };
45 | getContainerStyle: typeof getContainerStyle;
46 | getLabelStyle: typeof getLabelStyle;
47 | getEmptyContainerStyle: typeof getEmptyContainerStyle;
48 | theme: Ref;
49 | localize: (str: string) => any;
50 | computedCallLogDetailsConfiguration: import("vue").ComputedRef;
51 | computedCallLogConfiguration: import("vue").ComputedRef;
52 | }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly any;
60 | };
61 | withDetailsStyle: {
62 | type: PropType;
63 | default: () => WithDetailsStyle;
64 | };
65 | callLogDetailsConfiguration: {
66 | type: PropType;
67 | default: () => CallLogDetailsConfiguration;
68 | };
69 | callLogConfiguration: {
70 | type: PropType;
71 | default: () => CallLogsConfiguration;
72 | };
73 | }>>, {
74 | isMobileView: boolean;
75 | messageText: string;
76 | withDetailsStyle: WithDetailsStyle;
77 | callLogDetailsConfiguration: CallLogDetailsConfiguration;
78 | callLogConfiguration: CallLogsConfiguration;
79 | }, {}>;
80 | export default _sfc_main;
81 |
--------------------------------------------------------------------------------
/dist/src/components/Calling/CometChatCallLogsWithDetails/style.d.ts:
--------------------------------------------------------------------------------
1 | import { CometChatTheme } from "@cometchat/uikit-resources";
2 | import { CSSProperties } from "vue";
3 | import { LabelStyle } from "@cometchat/uikit-elements";
4 | import { WithDetailsStyle } from "@cometchat/uikit-shared";
5 | export declare function getContainerStyle(theme: CometChatTheme, style: WithDetailsStyle): CSSProperties;
6 | export declare function getLabelStyle(theme: CometChatTheme, style: WithDetailsStyle): LabelStyle;
7 | export declare function getEmptyContainerStyle(): {
8 | display: string;
9 | justifyContent: string;
10 | alignItems: string;
11 | height: string;
12 | width: string;
13 | };
14 |
--------------------------------------------------------------------------------
/dist/src/components/Calling/CometChatIncomingCall/index.vue.d.ts:
--------------------------------------------------------------------------------
1 | import { PropType, Ref } from "vue";
2 | import { IncomingCallStyle, CometChatUIKitCalls, CallScreenConfiguration } from "@cometchat/uikit-shared";
3 | import { CallscreenStyle } from "@cometchat/uikit-elements";
4 | import { CometChat } from "@cometchat/chat-sdk-javascript";
5 | import { AvatarStyle, IconStyle, ListItemStyle } from "@cometchat/uikit-elements";
6 | declare const _sfc_main: import("vue").DefineComponent<{
7 | call: {
8 | type: PropType;
9 | };
10 | disableSoundForCalls: {
11 | type: BooleanConstructor;
12 | default: boolean;
13 | };
14 | customSoundForCalls: {
15 | type: StringConstructor;
16 | };
17 | onAccept: {
18 | type: PropType<() => void>;
19 | };
20 | onDecline: {
21 | type: PropType<() => void>;
22 | };
23 | acceptButtonText: {
24 | type: StringConstructor;
25 | default: () => any;
26 | };
27 | declineButtonText: {
28 | type: StringConstructor;
29 | default: () => any;
30 | };
31 | subtitleView: {
32 | type: PropType;
33 | default: any;
34 | };
35 | onError: {
36 | type: PropType<(error: CometChat.CometChatException) => void>;
37 | default: (error: CometChat.CometChatException) => void;
38 | };
39 | listItemStyle: {
40 | type: PropType;
41 | default: () => ListItemStyle;
42 | };
43 | avatarStyle: {
44 | type: PropType;
45 | default: () => AvatarStyle;
46 | };
47 | incomingCallStyle: {
48 | type: PropType;
49 | default: () => IncomingCallStyle;
50 | };
51 | ongoingCallConfiguration: {
52 | type: PropType;
53 | default: () => CallScreenConfiguration;
54 | };
55 | }, {
56 | wrapperStyle: () => {
57 | height: any;
58 | width: any;
59 | background: any;
60 | border: any;
61 | borderRadius: any;
62 | padding: string;
63 | };
64 | getCallTypeIcon: () => string;
65 | getOngoingCallStyle: () => any;
66 | getAvatarStyle: () => {};
67 | getListItemStyle: () => {};
68 | getDeclineStyle: () => any;
69 | getAcceptButtonStyle: () => any;
70 | getCallBuilder: () => typeof CometChatUIKitCalls.CallSettings | undefined;
71 | showOngoingCall: Ref;
72 | ongoingCallStyle: CallscreenStyle;
73 | sessionId: Ref;
74 | rejectIncomingCall: (reason?: string) => void;
75 | acceptIncomingCall: () => void;
76 | getIconStyle: () => IconStyle;
77 | subtitleText: string;
78 | subtitleStyle: () => {
79 | textFont: any;
80 | textColor: any;
81 | };
82 | currentCall: any;
83 | showIncomingCallScreen: Ref;
84 | }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly;
87 | };
88 | disableSoundForCalls: {
89 | type: BooleanConstructor;
90 | default: boolean;
91 | };
92 | customSoundForCalls: {
93 | type: StringConstructor;
94 | };
95 | onAccept: {
96 | type: PropType<() => void>;
97 | };
98 | onDecline: {
99 | type: PropType<() => void>;
100 | };
101 | acceptButtonText: {
102 | type: StringConstructor;
103 | default: () => any;
104 | };
105 | declineButtonText: {
106 | type: StringConstructor;
107 | default: () => any;
108 | };
109 | subtitleView: {
110 | type: PropType;
111 | default: any;
112 | };
113 | onError: {
114 | type: PropType<(error: CometChat.CometChatException) => void>;
115 | default: (error: CometChat.CometChatException) => void;
116 | };
117 | listItemStyle: {
118 | type: PropType;
119 | default: () => ListItemStyle;
120 | };
121 | avatarStyle: {
122 | type: PropType;
123 | default: () => AvatarStyle;
124 | };
125 | incomingCallStyle: {
126 | type: PropType;
127 | default: () => IncomingCallStyle;
128 | };
129 | ongoingCallConfiguration: {
130 | type: PropType;
131 | default: () => CallScreenConfiguration;
132 | };
133 | }>>, {
134 | subtitleView: ViewType;
135 | onError: (error: CometChat.CometChatException) => void;
136 | avatarStyle: AvatarStyle;
137 | listItemStyle: ListItemStyle;
138 | ongoingCallConfiguration: CallScreenConfiguration;
139 | disableSoundForCalls: boolean;
140 | acceptButtonText: string;
141 | declineButtonText: string;
142 | incomingCallStyle: IncomingCallStyle;
143 | }, {}>;
144 | export default _sfc_main;
145 |
--------------------------------------------------------------------------------
/dist/src/components/Calling/CometChatOngoingCall/index.vue.d.ts:
--------------------------------------------------------------------------------
1 | import { PropType } from "vue";
2 | import { CallscreenStyle } from "@cometchat/uikit-elements";
3 | import { CometChat } from "@cometchat/chat-sdk-javascript";
4 | import { CallWorkflow } from "@cometchat/uikit-resources";
5 | declare const _sfc_main: import("vue").DefineComponent<{
6 | callSettingsBuilder: {
7 | type: any;
8 | };
9 | sessionID: {
10 | type: StringConstructor;
11 | default: string;
12 | };
13 | ongoingCallStyle: {
14 | type: PropType;
15 | default: () => CallscreenStyle;
16 | };
17 | resizeIconHoverText: {
18 | type: StringConstructor;
19 | default: () => any;
20 | };
21 | minimizeIconURL: {
22 | type: StringConstructor;
23 | default: string;
24 | };
25 | maximizeIconURL: {
26 | type: StringConstructor;
27 | default: string;
28 | };
29 | callWorkflow: {
30 | type: PropType;
31 | default: () => CallWorkflow;
32 | };
33 | onError: {
34 | type: PropType<(error: CometChat.CometChatException) => void>;
35 | default: (error: CometChat.CometChatException) => void;
36 | };
37 | }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly;
47 | default: () => CallscreenStyle;
48 | };
49 | resizeIconHoverText: {
50 | type: StringConstructor;
51 | default: () => any;
52 | };
53 | minimizeIconURL: {
54 | type: StringConstructor;
55 | default: string;
56 | };
57 | maximizeIconURL: {
58 | type: StringConstructor;
59 | default: string;
60 | };
61 | callWorkflow: {
62 | type: PropType;
63 | default: () => CallWorkflow;
64 | };
65 | onError: {
66 | type: PropType<(error: CometChat.CometChatException) => void>;
67 | default: (error: CometChat.CometChatException) => void;
68 | };
69 | }>>, {
70 | onError: (error: CometChat.CometChatException) => void;
71 | ongoingCallStyle: CallscreenStyle;
72 | callSettingsBuilder: any;
73 | sessionID: string;
74 | resizeIconHoverText: string;
75 | minimizeIconURL: string;
76 | maximizeIconURL: string;
77 | callWorkflow: CallWorkflow;
78 | }, {}>;
79 | export default _sfc_main;
80 |
--------------------------------------------------------------------------------
/dist/src/components/Calling/CometChatOutgoingCall/index.vue.d.ts:
--------------------------------------------------------------------------------
1 | import { PropType } from "vue";
2 | import { OutgoingCallStyle } from "@cometchat/uikit-shared";
3 | import { CometChat } from "@cometchat/chat-sdk-javascript";
4 | import { IconButtonAlignment } from "@cometchat/uikit-resources";
5 | import { AvatarStyle, CardStyle } from "@cometchat/uikit-elements";
6 | declare const _sfc_main: import("vue").DefineComponent<{
7 | call: {
8 | type: PropType;
9 | };
10 | disableSoundForCalls: {
11 | type: BooleanConstructor;
12 | default: boolean;
13 | };
14 | customSoundForCalls: {
15 | type: StringConstructor;
16 | };
17 | declineButtonText: {
18 | type: StringConstructor;
19 | default: () => any;
20 | };
21 | declineButtonIconURL: {
22 | type: StringConstructor;
23 | default: string;
24 | };
25 | customView: {
26 | type: PropType;
27 | };
28 | onError: {
29 | type: PropType<(error: CometChat.CometChatException) => void>;
30 | default: (error: CometChat.CometChatException) => void;
31 | };
32 | avatarStyle: {
33 | type: PropType;
34 | default: () => AvatarStyle;
35 | };
36 | outgoingCallStyle: {
37 | type: PropType;
38 | default: () => OutgoingCallStyle;
39 | };
40 | onCloseClicked: {
41 | type: PropType<(call: any) => void>;
42 | };
43 | }, {
44 | wrapperStyle: () => {
45 | height: string;
46 | width: string;
47 | background: string;
48 | border: string;
49 | borderRadius: string;
50 | };
51 | getCardStyle: () => CardStyle;
52 | getAvatarURL: () => string;
53 | getSubtitleStyle: () => {
54 | textFont: string;
55 | textColor: string;
56 | };
57 | subtitleText: string;
58 | iconAlignment: IconButtonAlignment.top;
59 | getButtonStyle: () => any;
60 | getAvatarStyle: () => AvatarStyle;
61 | onClose: (call: any) => void;
62 | }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly;
65 | };
66 | disableSoundForCalls: {
67 | type: BooleanConstructor;
68 | default: boolean;
69 | };
70 | customSoundForCalls: {
71 | type: StringConstructor;
72 | };
73 | declineButtonText: {
74 | type: StringConstructor;
75 | default: () => any;
76 | };
77 | declineButtonIconURL: {
78 | type: StringConstructor;
79 | default: string;
80 | };
81 | customView: {
82 | type: PropType;
83 | };
84 | onError: {
85 | type: PropType<(error: CometChat.CometChatException) => void>;
86 | default: (error: CometChat.CometChatException) => void;
87 | };
88 | avatarStyle: {
89 | type: PropType;
90 | default: () => AvatarStyle;
91 | };
92 | outgoingCallStyle: {
93 | type: PropType;
94 | default: () => OutgoingCallStyle;
95 | };
96 | onCloseClicked: {
97 | type: PropType<(call: any) => void>;
98 | };
99 | }>>, {
100 | onError: (error: CometChat.CometChatException) => void;
101 | avatarStyle: AvatarStyle;
102 | disableSoundForCalls: boolean;
103 | declineButtonText: string;
104 | declineButtonIconURL: string;
105 | outgoingCallStyle: OutgoingCallStyle;
106 | }, {}>;
107 | export default _sfc_main;
108 |
--------------------------------------------------------------------------------
/dist/src/components/Calling/Utils/CallingDetailsUtils.d.ts:
--------------------------------------------------------------------------------
1 | import { CometChatCallDetailsTemplate, CometChatTheme } from "@cometchat/uikit-resources";
2 | export declare class CallingDetailsUtils {
3 | static getDefaultCallTemplate(callLog: any, loggedInUser: CometChat.User, theme: CometChatTheme): Array;
4 | private static getCallButtons;
5 | static getPrimaryDetailsTemplate(callLog: any, loggedInUser: CometChat.User, theme: CometChatTheme): CometChatCallDetailsTemplate;
6 | private static getPrimaryOptions;
7 | private static getSecondaryDetailsTemplate;
8 | private static getSecondaryOptions;
9 | private static generateCallDetailsHTML;
10 | private static generateCallOptionsHTML;
11 | }
12 |
--------------------------------------------------------------------------------
/dist/src/components/Calling/Utils/utils.d.ts:
--------------------------------------------------------------------------------
1 | export declare function isSentByMe(call: any, loggedInUser: CometChat.User): boolean;
2 | export declare function isMissedCall(call: any, loggedInUser: CometChat.User): boolean;
3 | export declare function getCallStatusWithType(call: any, loggedInUser: CometChat.User, includeType?: boolean): string;
4 | export declare function verifyCallUser(call: any, loggedInUser: CometChat.User): any;
5 | export declare function convertMinutesToHoursMinutesSeconds(minutes: number): string;
6 | export declare function convertSecondsToHoursMinutesSeconds(seconds: number): string;
7 | export declare function downloadRecordingFromURL(url: string): void;
8 |
--------------------------------------------------------------------------------
/dist/src/components/CometChatContacts/index.vue.d.ts:
--------------------------------------------------------------------------------
1 | import { PropType } from "vue";
2 | import { TabAlignment, SelectionMode, TabsVisibility } from "@cometchat/uikit-resources";
3 | import { GroupsConfiguration, UsersConfiguration, ContactsStyle } from "@cometchat/uikit-shared";
4 | declare const _sfc_main: import("vue").DefineComponent<{
5 | title: {
6 | type: StringConstructor;
7 | };
8 | usersTabTitle: {
9 | type: StringConstructor;
10 | };
11 | groupsTabTitle: {
12 | type: StringConstructor;
13 | };
14 | usersConfiguration: {
15 | type: PropType;
16 | };
17 | groupsConfiguration: {
18 | type: PropType;
19 | };
20 | /**
21 | * @deprecated
22 | *
23 | * This property is deprecated as of version 4.3.18 due to newer property 'onSubmitButtonClick'. It will be removed in subsequent versions.
24 | */
25 | onSubmitIconClick: {
26 | type: PropType<(usersList?: Array, groupsList?: Array) => void>;
27 | };
28 | closeIconURL: {
29 | type: StringConstructor;
30 | default: string;
31 | };
32 | onItemClick: {
33 | type: PropType<(user?: CometChat.User, group?: CometChat.Group) => void>;
34 | };
35 | contactsStyle: {
36 | type: PropType;
37 | default: () => ContactsStyle;
38 | };
39 | onClose: {
40 | type: PropType<() => void>;
41 | };
42 | tabVisibility: {
43 | type: PropType;
44 | default: () => TabsVisibility;
45 | };
46 | selectionLimit: {
47 | type: NumberConstructor;
48 | default: number;
49 | };
50 | hideSubmitButton: {
51 | type: BooleanConstructor;
52 | default: () => boolean;
53 | };
54 | submitButtonText: {
55 | type: StringConstructor;
56 | default: () => any;
57 | };
58 | selectionMode: {
59 | type: PropType;
60 | default: () => SelectionMode;
61 | };
62 | onSubmitButtonClick: {
63 | type: PropType<(usersList?: Array, groupsList?: Array) => void>;
64 | default: any;
65 | };
66 | }, {
67 | TabAlignment: typeof TabAlignment;
68 | tabsToShow: any[];
69 | getCloseButtonStyle: () => {
70 | height: string;
71 | width: string;
72 | border: string;
73 | borderRadius: string;
74 | background: string;
75 | buttonIconTint: string;
76 | };
77 | getTitleStyle: () => {
78 | textFont: string;
79 | textColor: string;
80 | };
81 | tabsStyle: {
82 | background: string;
83 | borderRadius: string;
84 | border: string;
85 | };
86 | closeIconUrl: string;
87 | getWrapperStyle: () => {
88 | background: string;
89 | };
90 | selectionLimitReached: import("vue").ComputedRef;
91 | localize: (str: string) => any;
92 | getSubmitButtonStyle: () => {
93 | background: string;
94 | borderRadius: string;
95 | height: string;
96 | padding: string;
97 | width: string;
98 | display: string;
99 | justifyContent: string;
100 | alignItems: string;
101 | border: string;
102 | buttonTextFont: string;
103 | buttonTextColor: string;
104 | };
105 | selectionArray: {
106 | userArray: any[];
107 | groupArray: any[];
108 | };
109 | submitClicked: () => void;
110 | }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly;
122 | };
123 | groupsConfiguration: {
124 | type: PropType;
125 | };
126 | /**
127 | * @deprecated
128 | *
129 | * This property is deprecated as of version 4.3.18 due to newer property 'onSubmitButtonClick'. It will be removed in subsequent versions.
130 | */
131 | onSubmitIconClick: {
132 | type: PropType<(usersList?: Array, groupsList?: Array) => void>;
133 | };
134 | closeIconURL: {
135 | type: StringConstructor;
136 | default: string;
137 | };
138 | onItemClick: {
139 | type: PropType<(user?: CometChat.User, group?: CometChat.Group) => void>;
140 | };
141 | contactsStyle: {
142 | type: PropType;
143 | default: () => ContactsStyle;
144 | };
145 | onClose: {
146 | type: PropType<() => void>;
147 | };
148 | tabVisibility: {
149 | type: PropType;
150 | default: () => TabsVisibility;
151 | };
152 | selectionLimit: {
153 | type: NumberConstructor;
154 | default: number;
155 | };
156 | hideSubmitButton: {
157 | type: BooleanConstructor;
158 | default: () => boolean;
159 | };
160 | submitButtonText: {
161 | type: StringConstructor;
162 | default: () => any;
163 | };
164 | selectionMode: {
165 | type: PropType;
166 | default: () => SelectionMode;
167 | };
168 | onSubmitButtonClick: {
169 | type: PropType<(usersList?: Array, groupsList?: Array) => void>;
170 | default: any;
171 | };
172 | }>>, {
173 | selectionMode: SelectionMode;
174 | closeIconURL: string;
175 | contactsStyle: ContactsStyle;
176 | tabVisibility: TabsVisibility;
177 | selectionLimit: number;
178 | hideSubmitButton: boolean;
179 | submitButtonText: string;
180 | onSubmitButtonClick: (usersList?: Array, groupsList?: Array) => void;
181 | }, {}>;
182 | export default _sfc_main;
183 |
--------------------------------------------------------------------------------
/dist/src/components/CometChatConversationsWithMessages/index.vue.d.ts:
--------------------------------------------------------------------------------
1 | import { Ref, PropType } from "vue";
2 | import { ConversationsConfiguration, GroupsConfiguration, MessagesConfiguration, UsersConfiguration, WithMessagesStyle, ContactsConfiguration } from "@cometchat/uikit-shared";
3 | import { CometChat } from "@cometchat/chat-sdk-javascript";
4 | declare const _sfc_main: import("vue").DefineComponent<{
5 | user: {
6 | type: PropType;
7 | };
8 | group: {
9 | type: PropType;
10 | };
11 | isMobileView: {
12 | type: BooleanConstructor;
13 | default: boolean;
14 | };
15 | messageText: {
16 | type: StringConstructor;
17 | default: () => any;
18 | };
19 | conversationsWithMessagesStyle: {
20 | type: PropType;
21 | default: () => WithMessagesStyle;
22 | };
23 | messagesConfiguration: {
24 | type: PropType;
25 | default: () => MessagesConfiguration;
26 | };
27 | conversationConfiguration: {
28 | type: PropType;
29 | default: () => ConversationsConfiguration;
30 | };
31 | onError: {
32 | type: FunctionConstructor;
33 | default: (error: CometChat.CometChatException) => void;
34 | };
35 | startConversationConfiguration: {
36 | type: PropType;
37 | default: () => ContactsConfiguration;
38 | };
39 | startConversationIconUrl: {
40 | type: StringConstructor;
41 | default: string;
42 | };
43 | }, {
44 | labelStyle: any;
45 | onItemClick: (conversation: CometChat.Conversation) => void;
46 | emptyMessageStyle: () => {
47 | background: string;
48 | height: string;
49 | width: string;
50 | border: string;
51 | borderRadius: string;
52 | };
53 | chatsWrapperStyles: () => {
54 | height: string;
55 | width: string;
56 | border: string;
57 | borderRadius: string;
58 | background: string;
59 | };
60 | messagesConfig: Ref;
61 | currentUser: Ref;
62 | currentGroup: Ref;
63 | activeConversation: any;
64 | getMenu: () => any;
65 | getConversationStyle: () => {
66 | titleTextFont?: string;
67 | titleTextColor?: string;
68 | emptyStateTextFont?: string;
69 | emptyStateTextColor?: string;
70 | errorStateTextFont?: string;
71 | errorStateTextColor?: string;
72 | loadingIconTint?: string;
73 | onlineStatusColor?: string;
74 | separatorColor?: string;
75 | boxShadow?: string;
76 | privateGroupIconBackground?: string;
77 | passwordGroupIconBackground?: string;
78 | lastMessageTextColor?: string;
79 | lastMessageTextFont?: string;
80 | typingIndictorTextColor?: string;
81 | typingIndictorTextFont?: string;
82 | threadIndicatorTextFont?: string;
83 | threadIndicatorTextColor?: string;
84 | height: string;
85 | width?: string;
86 | border?: string;
87 | borderRadius?: string;
88 | background?: string;
89 | };
90 | getStartConversationButton: () => ViewType;
91 | showContacts: Ref;
92 | onContactsItemClick: (user: CometChat.User | null, group: CometChat.Group | null) => void;
93 | closeContacts: () => void;
94 | localize: (str: string) => any;
95 | getUsersConfiguration: () => UsersConfiguration;
96 | getGroupsConfiguration: () => GroupsConfiguration;
97 | shouldShowSidebar: import("vue").ComputedRef;
98 | }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly;
101 | };
102 | group: {
103 | type: PropType;
104 | };
105 | isMobileView: {
106 | type: BooleanConstructor;
107 | default: boolean;
108 | };
109 | messageText: {
110 | type: StringConstructor;
111 | default: () => any;
112 | };
113 | conversationsWithMessagesStyle: {
114 | type: PropType;
115 | default: () => WithMessagesStyle;
116 | };
117 | messagesConfiguration: {
118 | type: PropType;
119 | default: () => MessagesConfiguration;
120 | };
121 | conversationConfiguration: {
122 | type: PropType;
123 | default: () => ConversationsConfiguration;
124 | };
125 | onError: {
126 | type: FunctionConstructor;
127 | default: (error: CometChat.CometChatException) => void;
128 | };
129 | startConversationConfiguration: {
130 | type: PropType;
131 | default: () => ContactsConfiguration;
132 | };
133 | startConversationIconUrl: {
134 | type: StringConstructor;
135 | default: string;
136 | };
137 | }>>, {
138 | onError: Function;
139 | isMobileView: boolean;
140 | messageText: string;
141 | conversationsWithMessagesStyle: WithMessagesStyle;
142 | messagesConfiguration: MessagesConfiguration;
143 | conversationConfiguration: ConversationsConfiguration;
144 | startConversationConfiguration: ContactsConfiguration;
145 | startConversationIconUrl: string;
146 | }, {}>;
147 | export default _sfc_main;
148 |
--------------------------------------------------------------------------------
/dist/src/components/CometChatGroupsWithMessages/index.vue.d.ts:
--------------------------------------------------------------------------------
1 | import { Ref, PropType } from "vue";
2 | import { CreateGroupConfiguration, GroupsConfiguration, JoinGroupConfiguration, MessageHeaderStyle, MessagesConfiguration, WithMessagesStyle } from "@cometchat/uikit-shared";
3 | import { CometChat } from "@cometchat/chat-sdk-javascript";
4 | import { CreateGroupStyle, JoinGroupStyle, ListItemStyle } from "@cometchat/uikit-elements";
5 | declare const _sfc_main: import("vue").DefineComponent<{
6 | group: {
7 | type: PropType;
8 | };
9 | hideCreateGroup: {
10 | type: BooleanConstructor;
11 | default: boolean;
12 | };
13 | isMobileView: {
14 | type: BooleanConstructor;
15 | default: boolean;
16 | };
17 | messageText: {
18 | type: StringConstructor;
19 | default: () => any;
20 | };
21 | groupsWithMessagesStyle: {
22 | type: PropType;
23 | default: () => WithMessagesStyle;
24 | };
25 | messagesConfiguration: {
26 | type: PropType;
27 | default: () => MessagesConfiguration;
28 | };
29 | groupsConfiguration: {
30 | type: PropType;
31 | default: () => GroupsConfiguration;
32 | };
33 | createGroupConfiguration: {
34 | type: PropType;
35 | default: () => CreateGroupConfiguration;
36 | };
37 | joinGroupConfiguration: {
38 | type: PropType;
39 | default: () => JoinGroupConfiguration;
40 | };
41 | onError: {
42 | type: PropType<(error: CometChat.CometChatException) => void>;
43 | default: (error: CometChat.CometChatException) => void;
44 | };
45 | }, {
46 | labelStyle: any;
47 | onItemClick: (group: CometChat.Group) => void;
48 | emptyMessageStyle: () => {
49 | background: any;
50 | height: any;
51 | width: string;
52 | border: any;
53 | borderRadius: any;
54 | };
55 | groupsWrapperStyles: () => {
56 | height: any;
57 | width: any;
58 | border: any;
59 | borderRadius: any;
60 | background: any;
61 | };
62 | messagesConfig: Ref;
63 | currentGroup: Ref;
64 | currentUser: Ref;
65 | openPasswordModal: Ref;
66 | openCreateGroup: () => void;
67 | closeCreateGroup: () => void;
68 | closeJoinGroup: () => void;
69 | onGroupJoined: (event: any) => void;
70 | CreateIcon: string;
71 | updatedCreatedGroup: (event: any) => void;
72 | getCreateGroupButton: () => {
73 | componentName: string;
74 | props: {
75 | buttonStyle: any;
76 | iconURL: string;
77 | };
78 | listeners: {
79 | "cc-button-clicked": () => void;
80 | };
81 | };
82 | openCreateGroupPage: Ref;
83 | backdropStyle: any;
84 | getCreateGroupStyle: () => CreateGroupStyle;
85 | protectedGroup: any;
86 | getJoinGroupStyle: () => JoinGroupStyle;
87 | getMessageHeaderStyle: () => MessageHeaderStyle;
88 | getListItemStyle: () => ListItemStyle;
89 | getGroupsStyle: () => {
90 | titleTextFont?: string;
91 | titleTextColor?: string;
92 | emptyStateTextFont?: string;
93 | emptyStateTextColor?: string;
94 | errorStateTextFont?: string;
95 | errorStateTextColor?: string;
96 | loadingIconTint?: string;
97 | separatorColor?: string;
98 | boxShadow?: string;
99 | privateGroupIconBackground?: string;
100 | passwordGroupIconBackground?: string;
101 | searchIconTint?: string;
102 | searchBorder?: string;
103 | searchBorderRadius?: string;
104 | searchBackground?: string;
105 | searchPlaceholderTextFont?: string;
106 | searchPlaceholderTextColor?: string;
107 | searchTextFont?: string;
108 | searchTextColor?: string;
109 | subTitleTextFont?: string;
110 | subTitleTextColor?: string;
111 | height: string;
112 | width?: string;
113 | border?: string;
114 | borderRadius?: string;
115 | background?: string;
116 | };
117 | }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly;
120 | };
121 | hideCreateGroup: {
122 | type: BooleanConstructor;
123 | default: boolean;
124 | };
125 | isMobileView: {
126 | type: BooleanConstructor;
127 | default: boolean;
128 | };
129 | messageText: {
130 | type: StringConstructor;
131 | default: () => any;
132 | };
133 | groupsWithMessagesStyle: {
134 | type: PropType;
135 | default: () => WithMessagesStyle;
136 | };
137 | messagesConfiguration: {
138 | type: PropType;
139 | default: () => MessagesConfiguration;
140 | };
141 | groupsConfiguration: {
142 | type: PropType;
143 | default: () => GroupsConfiguration;
144 | };
145 | createGroupConfiguration: {
146 | type: PropType;
147 | default: () => CreateGroupConfiguration;
148 | };
149 | joinGroupConfiguration: {
150 | type: PropType;
151 | default: () => JoinGroupConfiguration;
152 | };
153 | onError: {
154 | type: PropType<(error: CometChat.CometChatException) => void>;
155 | default: (error: CometChat.CometChatException) => void;
156 | };
157 | }>>, {
158 | onError: (error: CometChat.CometChatException) => void;
159 | groupsConfiguration: GroupsConfiguration;
160 | isMobileView: boolean;
161 | messageText: string;
162 | messagesConfiguration: MessagesConfiguration;
163 | hideCreateGroup: boolean;
164 | groupsWithMessagesStyle: WithMessagesStyle;
165 | createGroupConfiguration: CreateGroupConfiguration;
166 | joinGroupConfiguration: JoinGroupConfiguration;
167 | }, {}>;
168 | export default _sfc_main;
169 |
--------------------------------------------------------------------------------
/dist/src/components/CometChatThreadedMessages/index.vue.d.ts:
--------------------------------------------------------------------------------
1 | import { Ref, PropType } from "vue";
2 | import { CometChat } from "@cometchat/chat-sdk-javascript";
3 | import { MessageListConfiguration, MessageComposerConfiguration, ThreadedMessagesStyle } from "@cometchat/uikit-shared";
4 | declare const _sfc_main: import("vue").DefineComponent<{
5 | onClose: {
6 | type: PropType<() => void>;
7 | default: () => void;
8 | };
9 | onError: {
10 | type: PropType<(error: CometChat.CometChatException) => void>;
11 | default: (error: CometChat.CometChatException) => void;
12 | };
13 | parentMessage: {
14 | type: PropType;
15 | };
16 | title: {
17 | type: StringConstructor;
18 | default: () => any;
19 | };
20 | closeIconURL: {
21 | type: StringConstructor;
22 | default: string;
23 | };
24 | messageActionView: {
25 | type: PropType;
26 | };
27 | messageListConfiguration: {
28 | type: PropType;
29 | default: () => MessageListConfiguration;
30 | };
31 | messageComposerConfiguration: {
32 | type: PropType;
33 | default: () => MessageComposerConfiguration;
34 | };
35 | threadedMessagesStyle: {
36 | type: PropType;
37 | default: () => ThreadedMessagesStyle;
38 | };
39 | bubbleView: {
40 | type: PropType<(message: CometChat.BaseMessage) => ViewType>;
41 | };
42 | messageComposerView: {
43 | type: PropType<(user: CometChat.User, group: CometChat.Group, message: CometChat.BaseMessage) => ViewType>;
44 | };
45 | messageListView: {
46 | type: PropType<(user: CometChat.User, group: CometChat.Group, message: CometChat.BaseMessage) => ViewType>;
47 | };
48 | hideMessageComposer: {
49 | type: BooleanConstructor;
50 | default: boolean;
51 | };
52 | }, {
53 | getMessageListStyle: () => {
54 | emptyStateView: any;
55 | errorStateView: any;
56 | loadingStateView: any;
57 | disableReceipt: boolean;
58 | hideReceipt: boolean;
59 | readIcon: string;
60 | deliveredIcon: string;
61 | sentIcon: string;
62 | waitIcon: string;
63 | errorIcon: string;
64 | alignment: import("@cometchat/uikit-resources").MessageListAlignment;
65 | showAvatar: boolean;
66 | datePattern: import("@cometchat/uikit-resources").DatePatterns;
67 | timestampAlignment: import("@cometchat/uikit-resources").TimestampAlignment;
68 | DateSeparatorPattern: import("@cometchat/uikit-resources").DatePatterns;
69 | hideDateSeparator: boolean;
70 | templates: import("@cometchat/uikit-resources/dist/Models/CometChatMessageTemplate").CometChatMessageTemplate[];
71 | hideError: boolean;
72 | messagesRequestBuilder: import("@cometchat/chat-sdk-javascript").MessagesRequestBuilder;
73 | messageInformationConfiguration: import("@cometchat/uikit-shared").MessageInformationConfiguration;
74 | thresholdValue: number;
75 | scrollToBottomOnNewMessages: boolean;
76 | onThreadRepliesClick: any;
77 | headerView: any;
78 | footerView: any;
79 | loadingIconURL: string;
80 | avatarStyle: import("@cometchat/uikit-elements").AvatarStyle;
81 | dateSeparatorStyle: import("@cometchat/uikit-elements").DateStyle;
82 | messageListStyle: import("@cometchat/uikit-shared").MessageListStyle;
83 | onError: (error: import("@cometchat/chat-sdk-javascript").CometChatException) => void;
84 | backdropStyle: import("@cometchat/uikit-elements").BackdropStyle;
85 | disableMentions: boolean;
86 | reactionsConfiguration: import("@cometchat/uikit-shared").ReactionsConfiguration;
87 | disableReactions: boolean;
88 | emojiKeyboardStyle: import("@cometchat/uikit-elements").EmojiKeyboardStyle;
89 | threadIndicatorIcon: string;
90 | textFormatters: import("@cometchat/uikit-shared").CometChatTextFormatter[];
91 | height: string;
92 | };
93 | titleStyle: any;
94 | buttonStyle: any;
95 | actionButtonStyle: any;
96 | closeView: () => void;
97 | getThreadCount: () => string;
98 | requestBuilder: Ref;
99 | group: any;
100 | user: any;
101 | wrapperStyle: () => {
102 | background: string;
103 | height: string;
104 | width: string;
105 | border: string;
106 | borderRadius: string;
107 | };
108 | componentDefinition: any;
109 | messageListViewComputed: import("vue").ComputedRef;
110 | messageComposerViewComputed: import("vue").ComputedRef;
111 | }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly void>;
114 | default: () => void;
115 | };
116 | onError: {
117 | type: PropType<(error: CometChat.CometChatException) => void>;
118 | default: (error: CometChat.CometChatException) => void;
119 | };
120 | parentMessage: {
121 | type: PropType;
122 | };
123 | title: {
124 | type: StringConstructor;
125 | default: () => any;
126 | };
127 | closeIconURL: {
128 | type: StringConstructor;
129 | default: string;
130 | };
131 | messageActionView: {
132 | type: PropType;
133 | };
134 | messageListConfiguration: {
135 | type: PropType;
136 | default: () => MessageListConfiguration;
137 | };
138 | messageComposerConfiguration: {
139 | type: PropType;
140 | default: () => MessageComposerConfiguration;
141 | };
142 | threadedMessagesStyle: {
143 | type: PropType;
144 | default: () => ThreadedMessagesStyle;
145 | };
146 | bubbleView: {
147 | type: PropType<(message: CometChat.BaseMessage) => ViewType>;
148 | };
149 | messageComposerView: {
150 | type: PropType<(user: CometChat.User, group: CometChat.Group, message: CometChat.BaseMessage) => ViewType>;
151 | };
152 | messageListView: {
153 | type: PropType<(user: CometChat.User, group: CometChat.Group, message: CometChat.BaseMessage) => ViewType>;
154 | };
155 | hideMessageComposer: {
156 | type: BooleanConstructor;
157 | default: boolean;
158 | };
159 | }>>, {
160 | title: string;
161 | onError: (error: CometChat.CometChatException) => void;
162 | onClose: () => void;
163 | closeIconURL: string;
164 | hideMessageComposer: boolean;
165 | messageListConfiguration: MessageListConfiguration;
166 | messageComposerConfiguration: MessageComposerConfiguration;
167 | threadedMessagesStyle: ThreadedMessagesStyle;
168 | }, {}>;
169 | export default _sfc_main;
170 |
--------------------------------------------------------------------------------
/dist/src/components/CometChatUserMemberWrapper/index.vue.d.ts:
--------------------------------------------------------------------------------
1 | import { PropType } from "vue";
2 | import { UserMemberListType, UserPresencePlacement } from "@cometchat/uikit-resources";
3 | import { AvatarStyle } from "@cometchat/uikit-elements";
4 | declare const _sfc_main: import("vue").DefineComponent<{
5 | userMemberListType: {
6 | type: PropType;
7 | default: UserMemberListType;
8 | };
9 | onItemClick: {
10 | type: PropType<(user: CometChat.User | CometChat.GroupMember) => void>;
11 | };
12 | listItemView: {
13 | type: PropType<(item: CometChat.User | CometChat.GroupMember) => ViewType>;
14 | };
15 | avatarStyle: {
16 | type: PropType;
17 | };
18 | statusIndicatorStyle: {
19 | type: ObjectConstructor;
20 | };
21 | searchKeyword: {
22 | type: StringConstructor;
23 | };
24 | group: {
25 | type: PropType;
26 | };
27 | subtitleView: {
28 | type: PropType<(item: CometChat.User | CometChat.GroupMember) => ViewType>;
29 | };
30 | usersRequestBuilder: {
31 | type: PropType;
32 | };
33 | disableUsersPresence: {
34 | type: BooleanConstructor;
35 | default: boolean;
36 | };
37 | hideSeparator: {
38 | type: BooleanConstructor;
39 | default: boolean;
40 | };
41 | loadingStateView: {
42 | type: PropType;
43 | };
44 | onEmpty: {
45 | type: PropType<() => void>;
46 | };
47 | groupMembersRequestBuilder: {
48 | type: PropType;
49 | };
50 | loadingIconUrl: {
51 | type: StringConstructor;
52 | default: string;
53 | };
54 | userPresencePlacement: {
55 | type: PropType;
56 | default: UserPresencePlacement;
57 | };
58 | disableLoadingState: {
59 | type: BooleanConstructor;
60 | default: boolean;
61 | };
62 | onError: {
63 | type: PropType<() => void>;
64 | };
65 | }, {
66 | UserMemberListType: typeof UserMemberListType;
67 | listItemStyle: {
68 | height: string;
69 | };
70 | getUsersStyle: () => {
71 | border: string;
72 | height: string;
73 | background: string;
74 | minHeight: string;
75 | borderRadius: string;
76 | };
77 | getGroupMemebersStyle: () => {
78 | border: string;
79 | height: string;
80 | padding: string;
81 | background: string;
82 | borderRadius: string;
83 | };
84 | }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly;
87 | default: UserMemberListType;
88 | };
89 | onItemClick: {
90 | type: PropType<(user: CometChat.User | CometChat.GroupMember) => void>;
91 | };
92 | listItemView: {
93 | type: PropType<(item: CometChat.User | CometChat.GroupMember) => ViewType>;
94 | };
95 | avatarStyle: {
96 | type: PropType;
97 | };
98 | statusIndicatorStyle: {
99 | type: ObjectConstructor;
100 | };
101 | searchKeyword: {
102 | type: StringConstructor;
103 | };
104 | group: {
105 | type: PropType;
106 | };
107 | subtitleView: {
108 | type: PropType<(item: CometChat.User | CometChat.GroupMember) => ViewType>;
109 | };
110 | usersRequestBuilder: {
111 | type: PropType;
112 | };
113 | disableUsersPresence: {
114 | type: BooleanConstructor;
115 | default: boolean;
116 | };
117 | hideSeparator: {
118 | type: BooleanConstructor;
119 | default: boolean;
120 | };
121 | loadingStateView: {
122 | type: PropType;
123 | };
124 | onEmpty: {
125 | type: PropType<() => void>;
126 | };
127 | groupMembersRequestBuilder: {
128 | type: PropType;
129 | };
130 | loadingIconUrl: {
131 | type: StringConstructor;
132 | default: string;
133 | };
134 | userPresencePlacement: {
135 | type: PropType;
136 | default: UserPresencePlacement;
137 | };
138 | disableLoadingState: {
139 | type: BooleanConstructor;
140 | default: boolean;
141 | };
142 | onError: {
143 | type: PropType<() => void>;
144 | };
145 | }>>, {
146 | disableUsersPresence: boolean;
147 | hideSeparator: boolean;
148 | userPresencePlacement: UserPresencePlacement;
149 | disableLoadingState: boolean;
150 | userMemberListType: UserMemberListType;
151 | loadingIconUrl: string;
152 | }, {}>;
153 | export default _sfc_main;
154 |
--------------------------------------------------------------------------------
/dist/src/components/CometChatUsersWithMessages/index.vue.d.ts:
--------------------------------------------------------------------------------
1 | import { Ref, PropType } from "vue";
2 | import { MessagesConfiguration, UsersConfiguration, WithMessagesStyle } from "@cometchat/uikit-shared";
3 | import { CometChat } from "@cometchat/chat-sdk-javascript";
4 | declare const _sfc_main: import("vue").DefineComponent<{
5 | user: {
6 | type: PropType;
7 | };
8 | isMobileView: {
9 | type: BooleanConstructor;
10 | default: boolean;
11 | };
12 | messageText: {
13 | type: StringConstructor;
14 | default: () => any;
15 | };
16 | usersWithMessagesStyle: {
17 | type: PropType;
18 | default: () => WithMessagesStyle;
19 | };
20 | messagesConfiguration: {
21 | type: PropType;
22 | default: () => MessagesConfiguration;
23 | };
24 | usersConfiguration: {
25 | type: PropType;
26 | default: () => UsersConfiguration;
27 | };
28 | onError: {
29 | type: PropType<(error: CometChat.CometChatException) => void>;
30 | default: (error: CometChat.CometChatException) => void;
31 | };
32 | }, {
33 | labelStyle: any;
34 | onItemClick: (user: CometChat.User) => void;
35 | emptyMessageStyle: () => {
36 | background: string;
37 | height: string;
38 | width: string;
39 | border: string;
40 | borderRadius: string;
41 | };
42 | usersWrapperStyles: () => {
43 | height: any;
44 | width: any;
45 | border: any;
46 | borderRadius: any;
47 | background: any;
48 | };
49 | messagesConfig: Ref;
50 | currentUser: Ref;
51 | getMenu: () => any;
52 | }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly;
55 | };
56 | isMobileView: {
57 | type: BooleanConstructor;
58 | default: boolean;
59 | };
60 | messageText: {
61 | type: StringConstructor;
62 | default: () => any;
63 | };
64 | usersWithMessagesStyle: {
65 | type: PropType;
66 | default: () => WithMessagesStyle;
67 | };
68 | messagesConfiguration: {
69 | type: PropType;
70 | default: () => MessagesConfiguration;
71 | };
72 | usersConfiguration: {
73 | type: PropType;
74 | default: () => UsersConfiguration;
75 | };
76 | onError: {
77 | type: PropType<(error: CometChat.CometChatException) => void>;
78 | default: (error: CometChat.CometChatException) => void;
79 | };
80 | }>>, {
81 | onError: (error: CometChat.CometChatException) => void;
82 | usersConfiguration: UsersConfiguration;
83 | isMobileView: boolean;
84 | messageText: string;
85 | messagesConfiguration: MessagesConfiguration;
86 | usersWithMessagesStyle: WithMessagesStyle;
87 | }, {}>;
88 | export default _sfc_main;
89 |
--------------------------------------------------------------------------------
/dist/src/components/Extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.d.ts:
--------------------------------------------------------------------------------
1 | import { DocumentBubbleStyle } from "@cometchat/uikit-elements";
2 | import { OptionsStyle } from "@cometchat/uikit-shared";
3 | export declare class CollaborativeDocumentConfiguration {
4 | private style?;
5 | private iconURL?;
6 | private optionIconURL?;
7 | private optionStyle?;
8 | constructor(configuration: {
9 | style?: DocumentBubbleStyle;
10 | iconURL?: string;
11 | optionIconURL?: string;
12 | optionStyle?: OptionsStyle;
13 | });
14 | getDocumentBubbleStyle(): DocumentBubbleStyle | undefined;
15 | getIconURL(): string | undefined;
16 | getOptionIconURL(): string | undefined;
17 | getOptionStyle(): OptionsStyle | undefined;
18 | }
19 |
--------------------------------------------------------------------------------
/dist/src/components/Extensions/CollaborativeDocument/CollaborativeDocumentExtension.d.ts:
--------------------------------------------------------------------------------
1 | import { ExtensionsDataSource } from "../../shared/Framework/ExtensionsDatasource";
2 | import { CollaborativeDocumentConfiguration } from "./CollaborativeDocumentConfiguration";
3 | export declare class CollaborativeDocumentExtension extends ExtensionsDataSource {
4 | configuration?: CollaborativeDocumentConfiguration;
5 | constructor({ configuration, }?: {
6 | configuration?: CollaborativeDocumentConfiguration;
7 | });
8 | addExtension(): void;
9 | getExtensionId(): string;
10 | }
11 |
--------------------------------------------------------------------------------
/dist/src/components/Extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.d.ts:
--------------------------------------------------------------------------------
1 | import { CometChatTheme, CometChatMessageTemplate, DocumentIconAlignment } from "@cometchat/uikit-resources";
2 | import { DataSourceDecorator } from "../../shared/Framework/DataSourceDecorator";
3 | import { DataSource } from "../../shared/Framework/DataSource";
4 | import { CollaborativeDocumentConfiguration } from "./CollaborativeDocumentConfiguration";
5 | export declare class CollaborativeDocumentExtensionDecorator extends DataSourceDecorator {
6 | configuration: CollaborativeDocumentConfiguration;
7 | newDataSource: DataSource;
8 | theme: CometChatTheme;
9 | constructor(dataSource: DataSource, configuration?: CollaborativeDocumentConfiguration);
10 | getAllMessageTypes(): string[];
11 | getId(): string;
12 | getAllMessageCategories(): string[];
13 | checkIfTemplateExist(template: CometChatMessageTemplate[], type: string): boolean;
14 | getAllMessageTemplates(_theme: CometChatTheme, additionalConfigurations?: any): CometChatMessageTemplate[];
15 | getDocumentTemplate(_theme: CometChatTheme): CometChatMessageTemplate;
16 | getDocumentContentView(documentMessage: CometChat.CustomMessage, _theme: CometChatTheme): {
17 | componentName: string;
18 | props: {
19 | iconURL: string;
20 | title: any;
21 | URL: any;
22 | subtitle: any;
23 | buttonText: any;
24 | documentStyle: {
25 | titleFont: string;
26 | titleColor: string;
27 | subtitleFont: string;
28 | subtitleColor: string;
29 | iconTint: string;
30 | buttonTextFont: string;
31 | buttonTextColor: string;
32 | buttonBackground: string;
33 | separatorColor: string;
34 | };
35 | hideSeparator: boolean;
36 | iconAlignment: DocumentIconAlignment.right;
37 | ccClicked: (documentURL: string) => void;
38 | };
39 | };
40 | launchCollaborativeDocument(documentURL: string): void;
41 | getDocumentURL(message: CometChat.CustomMessage): any;
42 | getAttachmentOptions(theme?: CometChatTheme, id?: any): any;
43 | getLastConversationMessage(conversation: CometChat.Conversation, loggedInUser: CometChat.User, additionalConfigurations: any): string;
44 | }
45 |
--------------------------------------------------------------------------------
/dist/src/components/Extensions/CollaborativeDocument/CometChatDocumentExtensionBubble/index.vue.d.ts:
--------------------------------------------------------------------------------
1 | import { DocumentIconAlignment } from "@cometchat/uikit-resources";
2 | import { PropType } from "vue";
3 | declare const _sfc_main: import("vue").DefineComponent<{
4 | iconURL: {
5 | type: StringConstructor;
6 | };
7 | title: {
8 | type: StringConstructor;
9 | };
10 | URL: {
11 | type: StringConstructor;
12 | };
13 | subtitle: {
14 | type: StringConstructor;
15 | };
16 | buttonText: {
17 | type: StringConstructor;
18 | };
19 | documentStyle: {
20 | type: any;
21 | };
22 | hideSeparator: {
23 | type: BooleanConstructor;
24 | default: boolean;
25 | };
26 | iconAlignment: {
27 | type: PropType;
28 | };
29 | listeners: {
30 | type: any;
31 | };
32 | ccClicked: {
33 | type: any;
34 | };
35 | }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly;
60 | };
61 | listeners: {
62 | type: any;
63 | };
64 | ccClicked: {
65 | type: any;
66 | };
67 | }>>, {
68 | hideSeparator: boolean;
69 | listeners: any;
70 | documentStyle: any;
71 | ccClicked: any;
72 | }, {}>;
73 | export default _sfc_main;
74 |
--------------------------------------------------------------------------------
/dist/src/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.d.ts:
--------------------------------------------------------------------------------
1 | import { DocumentBubbleStyle } from "@cometchat/uikit-elements";
2 | import { OptionsStyle } from "@cometchat/uikit-shared";
3 | export declare class CollaborativeWhiteboardConfiguration {
4 | private style;
5 | private iconURL;
6 | private optionIconURL;
7 | private optionStyle;
8 | constructor(configuration: {
9 | style?: DocumentBubbleStyle;
10 | iconURL?: string;
11 | optionIconURL?: string;
12 | optionStyle?: OptionsStyle;
13 | });
14 | getWhiteboardBubbleStyle(): DocumentBubbleStyle;
15 | getIconURL(): string;
16 | getOptionIconURL(): string;
17 | getOptionStyle(): OptionsStyle;
18 | }
19 |
--------------------------------------------------------------------------------
/dist/src/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.d.ts:
--------------------------------------------------------------------------------
1 | import { ExtensionsDataSource } from "../../shared/Framework/ExtensionsDatasource";
2 | import { CollaborativeWhiteboardConfiguration } from "./CollaborativeWhiteboardConfiguration";
3 | export declare class CollaborativeWhiteBoardExtension extends ExtensionsDataSource {
4 | configuration?: CollaborativeWhiteboardConfiguration;
5 | constructor({ configuration, }?: {
6 | configuration?: CollaborativeWhiteboardConfiguration;
7 | });
8 | addExtension(): void;
9 | getExtensionId(): string;
10 | }
11 |
--------------------------------------------------------------------------------
/dist/src/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.d.ts:
--------------------------------------------------------------------------------
1 | import { CometChatTheme, CometChatMessageTemplate, DocumentIconAlignment } from "@cometchat/uikit-resources";
2 | import { CollaborativeWhiteboardConfiguration } from "./CollaborativeWhiteboardConfiguration";
3 | import { DataSourceDecorator } from "../../shared/Framework/DataSourceDecorator";
4 | import { DataSource } from "../../shared/Framework/DataSource";
5 | export declare class CollaborativeWhiteBoardExtensionDecorator extends DataSourceDecorator {
6 | configuration?: CollaborativeWhiteboardConfiguration;
7 | newDataSource: DataSource;
8 | theme: CometChatTheme;
9 | constructor(dataSource: DataSource, { configuration }: {
10 | configuration: CollaborativeWhiteboardConfiguration;
11 | });
12 | getAllMessageTypes(): string[];
13 | getId(): string;
14 | getAllMessageCategories(): string[];
15 | checkIfTemplateExist(template: CometChatMessageTemplate[], type: string): boolean;
16 | getAllMessageTemplates(_theme: CometChatTheme, additionalConfigurations?: any): CometChatMessageTemplate[];
17 | getWhiteBoardTemplate(_theme: CometChatTheme): CometChatMessageTemplate;
18 | getWhiteboardContentView(whiteboardMessage: CometChat.CustomMessage, _theme: CometChatTheme): {
19 | componentName: string;
20 | props: {
21 | hideSeparator: boolean;
22 | iconAlignment: DocumentIconAlignment.right;
23 | iconURL: string;
24 | title: any;
25 | URL: any;
26 | subtitle: any;
27 | buttonText: any;
28 | documentStyle: {
29 | titleFont: string;
30 | titleColor: string;
31 | subtitleFont: string;
32 | subtitleColor: string;
33 | iconTint: string;
34 | buttonTextFont: string;
35 | buttonTextColor: string;
36 | buttonBackground: string;
37 | separatorColor: string;
38 | };
39 | ccClicked: (whiteboardURL: string) => Promise;
40 | };
41 | };
42 | launchCollaborativeWhiteboardDocument(whiteboardURL: string): Promise;
43 | getWhiteboardDocument(message: CometChat.CustomMessage): any;
44 | getAttachmentOptions(theme?: CometChatTheme, id?: any): any;
45 | getLastConversationMessage(conversation: CometChat.Conversation, loggedInUser: CometChat.User, additionalConfigurations: any): string;
46 | }
47 |
--------------------------------------------------------------------------------
/dist/src/components/Extensions/ImageModeration/CometChatImageModerationBubble/index.vue.d.ts:
--------------------------------------------------------------------------------
1 | declare const _sfc_main: import("vue").DefineComponent<{
2 | message: {
3 | type: any;
4 | };
5 | imageModerationStyle: {
6 | type: any;
7 | };
8 | src: {
9 | type: any;
10 | };
11 | placeholderImage: {
12 | type: any;
13 | };
14 | listeners: {
15 | type: any;
16 | };
17 | }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly>, {
34 | message: any;
35 | listeners: any;
36 | imageModerationStyle: any;
37 | src: any;
38 | placeholderImage: any;
39 | }, {}>;
40 | export default _sfc_main;
41 |
--------------------------------------------------------------------------------
/dist/src/components/Extensions/ImageModeration/ImageModerationConfiguration.d.ts:
--------------------------------------------------------------------------------
1 | import { ConfirmDialogStyle } from "@cometchat/uikit-elements";
2 | import { BaseStyle, ImageModerationStyle } from "@cometchat/uikit-shared";
3 | export declare class ImageModerationConfiguration {
4 | private style?;
5 | private confirmDialogStyle?;
6 | private backDropStyle?;
7 | constructor(configuration: {
8 | style?: ImageModerationStyle;
9 | confirmDialogStyle?: ConfirmDialogStyle;
10 | backDropStyle?: BaseStyle;
11 | });
12 | getImageModerationStyle(): ImageModerationStyle | undefined;
13 | getConfirmDialogSyle(): ConfirmDialogStyle | undefined;
14 | getBackDropStyle(): BaseStyle | undefined;
15 | }
16 |
--------------------------------------------------------------------------------
/dist/src/components/Extensions/ImageModeration/ImageModerationExtension.d.ts:
--------------------------------------------------------------------------------
1 | import { ExtensionsDataSource } from "../../shared/Framework/ExtensionsDatasource";
2 | import { ImageModerationConfiguration } from "./ImageModerationConfiguration";
3 | export declare class ImageModerationExtension extends ExtensionsDataSource {
4 | private configuration?;
5 | constructor({ configuration }?: {
6 | configuration?: ImageModerationConfiguration;
7 | });
8 | addExtension(): void;
9 | getExtensionId(): string;
10 | }
11 |
--------------------------------------------------------------------------------
/dist/src/components/Extensions/ImageModeration/ImageModerationExtensionDecorator.d.ts:
--------------------------------------------------------------------------------
1 | import { DataSource } from "../../shared/Framework/DataSource";
2 | import { DataSourceDecorator } from "../../shared/Framework/DataSourceDecorator";
3 | import { CometChatTheme, MessageBubbleAlignment } from "@cometchat/uikit-resources";
4 | import { ImageModerationConfiguration } from "./ImageModerationConfiguration";
5 | export declare class ImageModerationExtensionDecorator extends DataSourceDecorator {
6 | configuration?: ImageModerationConfiguration;
7 | newDataSource: DataSource;
8 | theme: CometChatTheme;
9 | constructor(dataSource: DataSource, { configuration }: {
10 | configuration?: ImageModerationConfiguration;
11 | });
12 | getId(): string;
13 | getImageMessageContentView(message: CometChat.MediaMessage, alignment: MessageBubbleAlignment, theme: CometChatTheme): {
14 | componentName: string;
15 | props: {
16 | message: import("@cometchat/chat-sdk-javascript").MediaMessage;
17 | imageModerationStyle: {
18 | filterColor: string;
19 | height: string;
20 | width: string;
21 | border: string;
22 | borderRadius: string;
23 | warningTextColor: string;
24 | warningTextFont: string;
25 | };
26 | src: string;
27 | placeholderImage: string;
28 | listeners: {
29 | "cc-show-dialog": any;
30 | };
31 | };
32 | };
33 | showDialog(_event: any): void;
34 | getConfirmDialogView(_event: any): {
35 | componentName: string;
36 | props: {
37 | backdropStyle: {
38 | height: string;
39 | width: string;
40 | background: string;
41 | };
42 | title: string;
43 | warningText: string;
44 | confirmText: any;
45 | cancelText: any;
46 | confirmDialogStyle: {
47 | confirmButtonBackground: string;
48 | cancelButtonBackground: string;
49 | confirmButtonTextColor: string;
50 | confirmButtonTextFont: string;
51 | cancelButtonTextColor: string;
52 | cancelButtonTextFont: string;
53 | titleFont: string;
54 | titleColor: string;
55 | messageTextFont: string;
56 | messageTextColor: string;
57 | background: string;
58 | height: string;
59 | width: string;
60 | border: string;
61 | borderRadius: string;
62 | };
63 | listeners: {
64 | "cc-cancel-clicked": () => void;
65 | "cc-confirm-clicked": () => void;
66 | };
67 | };
68 | };
69 | onCancelClicked: () => void;
70 | onConfirmClicked: (_event: any) => void;
71 | getImageModerationStyle(_theme: CometChatTheme): {
72 | filterColor: string;
73 | height: string;
74 | width: string;
75 | border: string;
76 | borderRadius: string;
77 | warningTextColor: string;
78 | warningTextFont: string;
79 | };
80 | }
81 |
--------------------------------------------------------------------------------
/dist/src/components/Extensions/LinkPreview/CometChatLinkPreviewBubble/index.vue.d.ts:
--------------------------------------------------------------------------------
1 | import { PropType } from "vue";
2 | import { CometChatTextFormatter, LinkPreviewStyle } from "@cometchat/uikit-shared";
3 | import { TextBubbleStyle } from "@cometchat/uikit-elements";
4 | declare const _sfc_main: import("vue").DefineComponent<{
5 | title: {
6 | type: StringConstructor;
7 | };
8 | description: {
9 | type: StringConstructor;
10 | };
11 | URL: {
12 | type: StringConstructor;
13 | };
14 | image: {
15 | type: StringConstructor;
16 | };
17 | favIconURL: {
18 | type: StringConstructor;
19 | };
20 | linkPreviewStyle: {
21 | type: PropType;
22 | };
23 | textStyle: {
24 | type: PropType;
25 | };
26 | text: {
27 | type: StringConstructor;
28 | };
29 | listeners: {
30 | type: any;
31 | };
32 | textFormatters: {
33 | type: PropType;
34 | };
35 | }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly;
53 | };
54 | textStyle: {
55 | type: PropType;
56 | };
57 | text: {
58 | type: StringConstructor;
59 | };
60 | listeners: {
61 | type: any;
62 | };
63 | textFormatters: {
64 | type: PropType;
65 | };
66 | }>>, {
67 | listeners: any;
68 | }, {}>;
69 | export default _sfc_main;
70 |
--------------------------------------------------------------------------------
/dist/src/components/Extensions/LinkPreview/LinkPreviewConfiguration.d.ts:
--------------------------------------------------------------------------------
1 | import { LinkPreviewStyle } from "@cometchat/uikit-shared";
2 | export declare class LinkPreviewConfiguration {
3 | private style;
4 | constructor(configuration: {
5 | style?: LinkPreviewStyle;
6 | });
7 | getLinkPreviewStyle(): LinkPreviewStyle;
8 | }
9 |
--------------------------------------------------------------------------------
/dist/src/components/Extensions/LinkPreview/LinkPreviewExtension.d.ts:
--------------------------------------------------------------------------------
1 | import { ExtensionsDataSource } from "../../shared/Framework/ExtensionsDatasource";
2 | import { LinkPreviewConfiguration } from "./LinkPreviewConfiguration";
3 | export declare class LinkPreviewExtension extends ExtensionsDataSource {
4 | private configuration?;
5 | constructor({ configuration }?: {
6 | configuration?: LinkPreviewConfiguration;
7 | });
8 | addExtension(): void;
9 | getExtensionId(): string;
10 | }
11 |
--------------------------------------------------------------------------------
/dist/src/components/Extensions/LinkPreview/LinkPreviewExtensionDecorator.d.ts:
--------------------------------------------------------------------------------
1 | import { DataSource } from "../../shared/Framework/DataSource";
2 | import { DataSourceDecorator } from "../../shared/Framework/DataSourceDecorator";
3 | import { CometChatTheme, MessageBubbleAlignment } from "@cometchat/uikit-resources";
4 | import { LinkPreviewStyle } from "@cometchat/uikit-shared";
5 | import { LinkPreviewConfiguration } from "./LinkPreviewConfiguration";
6 | export declare class LinkPreviewExtensionDecorator extends DataSourceDecorator {
7 | configuration?: LinkPreviewConfiguration;
8 | newDataSource: DataSource;
9 | constructor(dataSource: DataSource, { configuration }: {
10 | configuration: LinkPreviewConfiguration;
11 | });
12 | getId(): string;
13 | getTextMessageContentView(message: CometChat.TextMessage, alignment: MessageBubbleAlignment, theme: CometChatTheme, additionalConfigurations?: any): any;
14 | openLink(event: any): void;
15 | getLinkPreviewStyle(_theme: CometChatTheme): LinkPreviewStyle;
16 | getTextMessageStyle(_alignment: MessageBubbleAlignment, _theme: CometChatTheme): {
17 | textFont: string;
18 | textColor: string;
19 | };
20 | getLinkPreview(message: CometChat.TextMessage): any;
21 | getLinkPreviewDetails(linkPreviewObject: any, key: string): string;
22 | }
23 |
--------------------------------------------------------------------------------
/dist/src/components/Extensions/MessageTranslation/CometChatMessageTranslationBubble/index.vue.d.ts:
--------------------------------------------------------------------------------
1 | import { CometChatTextFormatter, MessageTranslationStyle } from "@cometchat/uikit-shared";
2 | import { MessageBubbleAlignment } from "@cometchat/uikit-resources";
3 | import { PropType } from "vue";
4 | declare const _sfc_main: import("vue").DefineComponent<{
5 | translatedText: {
6 | type: StringConstructor;
7 | };
8 | alignment: {
9 | type: PropType;
10 | };
11 | messageTranslationStyle: {
12 | type: typeof MessageTranslationStyle;
13 | };
14 | textStyle: {
15 | type: any;
16 | };
17 | text: {
18 | type: StringConstructor;
19 | };
20 | textFormatters: {
21 | type: PropType