@bcc-code/vue-bcc-chat-ui 3.32.0 → 3.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/style.css +1 -1
- package/dist/vue-bcc-chat-ui.js +10550 -10540
- package/dist/vue-bcc-chat-ui.js.map +1 -0
- package/package.json +1 -1
- package/src/components/BccChatMessages.vue +3 -9
- package/src/components/BccScheduledMessageModal.vue +2 -1
- package/src/components/BccScheduledMessages.vue +4 -1
package/package.json
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import chat from "../chat";
|
|
3
3
|
import { Group } from "@cometchat/chat-sdk-javascript";
|
|
4
|
-
import { inject, nextTick, onMounted,
|
|
5
|
-
import { sendScheduledMessage } from '../chat/scheduledMessage';
|
|
4
|
+
import { inject, nextTick, onMounted, Ref, ref, watch, watchEffect } from 'vue';
|
|
6
5
|
import { ChatInstance } from '../chat/types';
|
|
7
6
|
import BccAttachmentBox from "./BccAttachmentBox.vue";
|
|
8
7
|
import BccChatSendButton from "./BccChatSendButton.vue";
|
|
9
8
|
import { getMessageComposerConfiguration, getMessageListConfiguration, getThreadedMessagesConfiguration } from "../chat/uiKit";
|
|
10
9
|
import { CometChatMessages } from "../chat/cometChatPatches";
|
|
11
|
-
import BccScheduledMessageModal from "./BccScheduledMessageModal.vue";
|
|
12
|
-
import { BccAlert } from "@bcc-code/design-library-vue";
|
|
13
|
-
import { localize } from "@cometchat/uikit-resources";
|
|
14
10
|
import { MessageComposerConfiguration } from "@cometchat/uikit-shared";
|
|
15
11
|
|
|
16
12
|
const props = defineProps({
|
|
@@ -30,11 +26,9 @@ onMounted(async () => {
|
|
|
30
26
|
chatGroup.value = props.chatGroup
|
|
31
27
|
// attachEventlisteners();
|
|
32
28
|
|
|
29
|
+
messageComposerConfiguration.value.text = chatInstance?.value.userInput ?? '';
|
|
30
|
+
|
|
33
31
|
await nextTick();
|
|
34
|
-
const userInput = document.querySelector('.messageinput-input');
|
|
35
|
-
if (userInput && chatInstance?.value.userInput) {
|
|
36
|
-
userInput.innerHTML = chatInstance.value.userInput;
|
|
37
|
-
}
|
|
38
32
|
if (chatInstance?.value.decoyAttachment) {
|
|
39
33
|
chatInstance.value.captionedAttachment = chatInstance.value.decoyAttachment
|
|
40
34
|
chatInstance.value.decoyAttachment = null
|
|
@@ -105,13 +105,16 @@ onUnmounted(() => {
|
|
|
105
105
|
width: 92%;
|
|
106
106
|
font-size: large;
|
|
107
107
|
vertical-align: middle;
|
|
108
|
-
margin:
|
|
108
|
+
margin-top: 4px;
|
|
109
|
+
margin-left: 6px;
|
|
110
|
+
color: var(--cc__text-color);
|
|
109
111
|
}
|
|
110
112
|
|
|
111
113
|
.closeIcon {
|
|
112
114
|
max-height: 35px;
|
|
113
115
|
width: 8%;
|
|
114
116
|
cursor: pointer;
|
|
117
|
+
color: var(--cc__text-color);
|
|
115
118
|
}
|
|
116
119
|
}
|
|
117
120
|
|