vue-wiguet-chatweb 0.1.33 → 0.1.34

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-wiguet-chatweb",
3
- "version": "0.1.33",
3
+ "version": "0.1.34",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",
@@ -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