vue-intergrall-plugins 0.0.180 → 0.0.183
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/vue-intergrall-plugins.esm.js +366 -357
- package/dist/vue-intergrall-plugins.min.js +1 -1
- package/dist/vue-intergrall-plugins.ssr.js +306 -253
- package/package.json +1 -1
- package/src/lib-components/Messages/ChatMessages.vue +8 -6
- package/src/lib-components/Messages/InteratividadeFormulario.vue +10 -1
package/package.json
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div :class="'mensagem__'+origem" v-if="origem && !erro" :id="`a${messageIndex ? messageIndex : randomizeValue}`">
|
|
3
|
-
<
|
|
3
|
+
<InteratividadeFormulario
|
|
4
|
+
v-if="interatividade && validateInterativity()"
|
|
5
|
+
:interatividade="interatividade"
|
|
6
|
+
:dictionary="dictionary"
|
|
7
|
+
/>
|
|
8
|
+
<div v-else class="mensagem" :class="{mapa, 'hist-msg' : histMsg}">
|
|
4
9
|
<template v-if="anexos && anexos.length">
|
|
5
10
|
<div class="mensagem-anexo" v-for="(anexo, index) in anexos" :key="index">
|
|
6
11
|
<AnexoMensagem :dictionary="dictionary" :anexo="anexo" :origemExterna="origemExterna" :dominio="dominio" @abrir-imagem="abrirImagem"/>
|
|
@@ -30,11 +35,6 @@
|
|
|
30
35
|
v-if="interatividade"
|
|
31
36
|
:interatividade="interatividade"
|
|
32
37
|
/>
|
|
33
|
-
<InteratividadeFormulario
|
|
34
|
-
v-if="interatividade"
|
|
35
|
-
:interatividade="interatividade"
|
|
36
|
-
:dictionary="dictionary"
|
|
37
|
-
/>
|
|
38
38
|
<span class="horario-envio" v-text="horario"></span>
|
|
39
39
|
<transition name="fade" mode="out-in">
|
|
40
40
|
<span :class="reply" v-if="hasReply && (status == 'C' || status == 'T')" v-tippy :content="msgReply ? msgReply : 'Fazer reenvio da mensagem'" @click="$emit('replyMsg')"> <fa-icon :icon="['fas', 'reply']" /> </span>
|
|
@@ -181,6 +181,8 @@ export default {
|
|
|
181
181
|
if(data.images && data.images.length > 0){
|
|
182
182
|
this.urlSticker = data.images[0];
|
|
183
183
|
}
|
|
184
|
+
}).catch(erro => {
|
|
185
|
+
console.log(erro);
|
|
184
186
|
});
|
|
185
187
|
}
|
|
186
188
|
},
|
|
@@ -74,7 +74,12 @@ export default {
|
|
|
74
74
|
let foundInfosAdd = formulario.filter(f => f.TIPO_TEXTO > 999);
|
|
75
75
|
let foundInfos = formulario.filter(f => f.TIPO_TEXTO < 1000);
|
|
76
76
|
if(foundInfos){
|
|
77
|
-
this.informacao = foundInfos
|
|
77
|
+
this.informacao = foundInfos.map(info => {
|
|
78
|
+
if(info.TIPO_TEXTO == 1){
|
|
79
|
+
info.TEXTO = info.TEXTO == 'S' ? this.dictionary.msg_sim : this.dictionary.msg_nao
|
|
80
|
+
}
|
|
81
|
+
return info
|
|
82
|
+
})
|
|
78
83
|
}
|
|
79
84
|
if(foundInfosAdd){
|
|
80
85
|
this.informacaoAdicional = foundInfosAdd;
|
|
@@ -126,8 +131,12 @@ export default {
|
|
|
126
131
|
}
|
|
127
132
|
.interatividade-form-body{
|
|
128
133
|
padding: 0px 10px;
|
|
134
|
+
background: white;
|
|
129
135
|
border-right: 1px solid rgb(239, 239, 239);
|
|
130
136
|
border-left: 1px solid rgb(239, 239, 239);
|
|
137
|
+
border-bottom-left-radius: 10px;
|
|
138
|
+
border-bottom-right-radius: 10px;
|
|
139
|
+
padding-bottom: 10px;
|
|
131
140
|
}
|
|
132
141
|
.interatividade {
|
|
133
142
|
margin: 10px 0;
|