vue-wiguet-chatweb 0.1.33 → 0.1.34
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/style.css +1 -1
- package/dist/vue-wiguet-chatweb.js +403 -400
- package/dist/vue-wiguet-chatweb.umd.cjs +6 -6
- package/package.json +1 -1
- package/src/components/Chat.vue +5 -1
package/package.json
CHANGED
package/src/components/Chat.vue
CHANGED
@@ -92,7 +92,7 @@
|
|
92
92
|
class="message-send"
|
93
93
|
@submit.prevent="
|
94
94
|
(event) => {
|
95
|
-
submitMessage();
|
95
|
+
submitMessage({ codigoTipoMensaje: MESSAGE_TYPE_CODES.IMAGEN});
|
96
96
|
dialog.modelValue = false;
|
97
97
|
}
|
98
98
|
"
|
@@ -598,6 +598,10 @@ function onFileSelect() {
|
|
598
598
|
currentDialogView.value = DIALOG_VIEWS.UPLOAD;
|
599
599
|
dialog.title = 'Preparar imagen';
|
600
600
|
dialog.modelValue = true;
|
601
|
+
|
602
|
+
nextTick(()=>{
|
603
|
+
textAreaRef.value?.focus()
|
604
|
+
})
|
601
605
|
}
|
602
606
|
|
603
607
|
// Dialog
|