@webitel/ui-chats 0.1.22 → 0.1.24
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/package.json
CHANGED
|
@@ -63,6 +63,10 @@ function insertAtCursor(text: string) {
|
|
|
63
63
|
</script>
|
|
64
64
|
|
|
65
65
|
<style scoped>
|
|
66
|
+
.chat-text-field {
|
|
67
|
+
min-height: 0;
|
|
68
|
+
}
|
|
69
|
+
|
|
66
70
|
.chat-text-field :deep(textarea) {
|
|
67
71
|
/* https://webitel.atlassian.net/browse/WTEL-7388
|
|
68
72
|
fixed styles after component migrated on vuetify */
|
|
@@ -15,9 +15,8 @@
|
|
|
15
15
|
>
|
|
16
16
|
<wt-avatar
|
|
17
17
|
v-if="props.showAvatar"
|
|
18
|
-
:username="
|
|
19
|
-
:size="size"
|
|
20
|
-
:src="ComponentSize.SM || size"
|
|
18
|
+
:username="username"
|
|
19
|
+
:size="ComponentSize.SM || size"
|
|
21
20
|
:bot="isBot"
|
|
22
21
|
/>
|
|
23
22
|
</div>
|
|
@@ -107,10 +106,6 @@ const isSelfSide = computed<boolean>(
|
|
|
107
106
|
);
|
|
108
107
|
const isBot = computed<boolean>(() => props.message.member?.type === 'bot');
|
|
109
108
|
|
|
110
|
-
const getClientUsername = computed<string>(() => {
|
|
111
|
-
return !isSelfSide.value ? props.username : ''; // need to show username avatar only for client
|
|
112
|
-
});
|
|
113
|
-
|
|
114
109
|
function handlePlayerInitialize(player) {
|
|
115
110
|
emit(MessageAction.InitializedPlayer, {
|
|
116
111
|
player,
|