vue-wiguet-chatweb 0.1.29 → 0.1.31
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
package/src/components/Chat.vue
CHANGED
@@ -113,7 +113,6 @@
|
|
113
113
|
"
|
114
114
|
@keyup.enter="(event)=>{
|
115
115
|
saltoDeLineaOEnviar(event, MESSAGE_TYPE_CODES.IMAGEN)
|
116
|
-
dialog.modelValue = false;
|
117
116
|
}"
|
118
117
|
/>
|
119
118
|
|
@@ -254,6 +253,7 @@ function saltoDeLineaOEnviar(event: KeyboardEvent, messageTypeCode?: TypeMessage
|
|
254
253
|
}
|
255
254
|
|
256
255
|
submitMessage({ codigoTipoMensaje: messageTypeCode });
|
256
|
+
dialog.modelValue = false;
|
257
257
|
}
|
258
258
|
|
259
259
|
function createMessage(message: string, codigoTipoMensaje?: TypeMessageTypeCodes) {
|
@@ -294,7 +294,7 @@ function createMessage(message: string, codigoTipoMensaje?: TypeMessageTypeCodes
|
|
294
294
|
createdAt: new Date().toISOString(),
|
295
295
|
updatedAt: new Date().toISOString(),
|
296
296
|
file: inputFiles.value?.[0],
|
297
|
-
urlFile: urlFiles.value?.[0]
|
297
|
+
urlFile: urlFiles.value?.[0],
|
298
298
|
messageType,
|
299
299
|
sender: {
|
300
300
|
nombreCompleto: props.user.nombreCompleto,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<template>
|
2
2
|
<Teleport v-if="isReadyTeleport" to="#dialogs">
|
3
|
-
<div v-if="props.modelValue" class="dialog-overlay"
|
3
|
+
<div v-if="props.modelValue" class="dialog-overlay">
|
4
4
|
<div class="dialog-content" @click.stop>
|
5
5
|
<div class="header-widget">
|
6
6
|
<h4 class="title-chat">{{ title }}</h4>
|
@@ -52,6 +52,7 @@ onMounted(() => {
|
|
52
52
|
|
53
53
|
<style scoped>
|
54
54
|
.dialog-overlay {
|
55
|
+
z-index: 10001;
|
55
56
|
position: fixed;
|
56
57
|
top: 0;
|
57
58
|
left: 0;
|