vue-intergrall-plugins 1.0.86 → 1.0.88
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 +15 -24
- package/dist/vue-intergrall-plugins.min.js +1 -1
- package/dist/vue-intergrall-plugins.ssr.js +19 -28
- package/package.json +1 -1
- package/src/lib-components/Chat/BtnFiles.vue +1 -1
- package/src/lib-components/Chat/ExpandTextarea.vue +4 -15
- package/src/lib-components/Chat/MultipleFilePreview.vue +194 -169
- package/src/lib-components/Chat/TextFooter.vue +8 -8
- package/src/lib-components/Messages/ChatMessages.vue +62 -198
|
@@ -1,33 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
:
|
|
6
|
-
>
|
|
7
|
-
<InteratividadeFormulario
|
|
8
|
-
v-if="interatividade && validateInterativity()"
|
|
9
|
-
:interatividade="interatividade"
|
|
10
|
-
:dominio="dominio"
|
|
11
|
-
:anexos="anexos"
|
|
12
|
-
:dictionary="dictionary"
|
|
13
|
-
/>
|
|
14
|
-
<div
|
|
15
|
-
v-else
|
|
16
|
-
class="mensagem"
|
|
17
|
-
:class="{ mapa, 'hist-msg': histMsg, 'max-w-60': link && !mapa }"
|
|
18
|
-
>
|
|
2
|
+
<div :class="'mensagem__' + origem" v-if="origem && !erro" :id="`a${messageIndex ? messageIndex : randomizeValue}`">
|
|
3
|
+
<InteratividadeFormulario v-if="interatividade && validateInterativity()" :interatividade="interatividade"
|
|
4
|
+
:dominio="dominio" :anexos="anexos" :dictionary="dictionary" />
|
|
5
|
+
<div v-else class="mensagem" :class="{ mapa, 'hist-msg': histMsg, 'max-w-60': link && !mapa }">
|
|
19
6
|
<!-- Estilo da mensagem do tipo reply (que foi respondida) -->
|
|
20
|
-
<div
|
|
21
|
-
v-if="
|
|
22
|
-
class="mensagem-reply"
|
|
23
|
-
:class="`message-reply-${origem}`"
|
|
24
|
-
>
|
|
25
|
-
<p
|
|
26
|
-
v-if="replyMessage"
|
|
27
|
-
v-html="replyMessage"
|
|
28
|
-
@click.stop
|
|
29
|
-
@click.prevent="scrollToMessage()"
|
|
30
|
-
></p>
|
|
7
|
+
<div v-if="isReply && replyMessage" class="mensagem-reply" :class="`message-reply-${origem}`">
|
|
8
|
+
<p v-if="replyMessage" v-html="replyMessage" @click.stop @click.prevent="scrollToMessage()"></p>
|
|
31
9
|
<span v-else class="mensagem-reply-vazia">
|
|
32
10
|
<fa-icon :icon="['fas', 'times']" v-if="showReplyIcon" />
|
|
33
11
|
{{
|
|
@@ -38,34 +16,16 @@
|
|
|
38
16
|
<!-- Anexos -->
|
|
39
17
|
<template v-if="anexos && anexos.length">
|
|
40
18
|
<div class="mensagem-anexo" v-for="(anexo, index) in anexos" :key="index">
|
|
41
|
-
<AnexoMensagem
|
|
42
|
-
:
|
|
43
|
-
|
|
44
|
-
:dictionary="dictionary"
|
|
45
|
-
:anexo="anexo"
|
|
46
|
-
:origemExterna="origemExterna"
|
|
47
|
-
:dominio="dominio"
|
|
48
|
-
@abrir-imagem="abrirImagem"
|
|
49
|
-
@download-all="$emit('download-all')"
|
|
50
|
-
/>
|
|
19
|
+
<AnexoMensagem :showControlFiles="showControlFiles" :referenceSelector="referenceSelector"
|
|
20
|
+
:dictionary="dictionary" :anexo="anexo" :origemExterna="origemExterna" :dominio="dominio"
|
|
21
|
+
@abrir-imagem="abrirImagem" @download-all="$emit('download-all')" />
|
|
51
22
|
</div>
|
|
52
23
|
</template>
|
|
53
24
|
<!-- sticker -->
|
|
54
|
-
<img
|
|
55
|
-
class="default-stick-size"
|
|
56
|
-
v-if="urlSticker"
|
|
57
|
-
:src="urlSticker"
|
|
58
|
-
:title="urlFileName"
|
|
59
|
-
/>
|
|
25
|
+
<img class="default-stick-size" v-if="urlSticker" :src="urlSticker" :title="urlFileName" />
|
|
60
26
|
<!-- Mapa -->
|
|
61
27
|
<div v-if="mapa" class="mensagem-div-mapa">
|
|
62
|
-
<GmapMap
|
|
63
|
-
:id="`mapa_${seq}`"
|
|
64
|
-
class="msg-mapa"
|
|
65
|
-
:center="center"
|
|
66
|
-
:zoom="17"
|
|
67
|
-
:options="mapOptions"
|
|
68
|
-
>
|
|
28
|
+
<GmapMap :id="`mapa_${seq}`" class="msg-mapa" :center="center" :zoom="17" :options="mapOptions">
|
|
69
29
|
<GmapMarker :position="marker" />
|
|
70
30
|
</GmapMap>
|
|
71
31
|
<ul class="info-mapa" v-if="infos.length">
|
|
@@ -87,122 +47,56 @@
|
|
|
87
47
|
<span class="horario-envio" v-text="horario"></span>
|
|
88
48
|
<!-- Reenviar mensagem -->
|
|
89
49
|
<transition name="fade" mode="out-in">
|
|
90
|
-
<span
|
|
91
|
-
:
|
|
92
|
-
v-if="hasReply && (status == 'C' || status == 'T' || status == 'ERRO')"
|
|
93
|
-
v-tippy
|
|
94
|
-
:content="msgReply ? msgReply : 'Fazer reenvio da mensagem'"
|
|
95
|
-
@click="$emit('replyMsg')"
|
|
96
|
-
>
|
|
50
|
+
<span :class="reply" v-if="hasReply && (status == 'C' || status == 'T' || status == 'ERRO')" v-tippy
|
|
51
|
+
:content="msgReply ? msgReply : 'Fazer reenvio da mensagem'" @click="$emit('replyMsg')">
|
|
97
52
|
<fa-icon :icon="['fas', 'reply']" />
|
|
98
53
|
</span>
|
|
99
54
|
</transition>
|
|
100
55
|
<!-- ?? -->
|
|
101
56
|
<transition name="fade" mode="out-in" v-if="validadeSeq">
|
|
102
|
-
<span
|
|
103
|
-
|
|
104
|
-
v-if="iniDialogo > 0"
|
|
105
|
-
:content="contentTooltipStar"
|
|
106
|
-
v-tippy
|
|
107
|
-
key="star-padrao-dourado"
|
|
108
|
-
>
|
|
57
|
+
<span class="star dourado" v-if="iniDialogo > 0" :content="contentTooltipStar" v-tippy
|
|
58
|
+
key="star-padrao-dourado">
|
|
109
59
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
|
|
110
|
-
<path
|
|
111
|
-
|
|
112
|
-
d="M224 122.8c-72.7 0-131.8 59.1-131.9 131.8 0 24.9 7 49.2 20.2 70.1l3.1 5-13.3 48.6 49.9-13.1 4.8 2.9c20.2 12 43.4 18.4 67.1 18.4h.1c72.6 0 133.3-59.1 133.3-131.8 0-35.2-15.2-68.3-40.1-93.2-25-25-58-38.7-93.2-38.7zm77.5 188.4c-3.3 9.3-19.1 17.7-26.7 18.8-12.6 1.9-22.4.9-47.5-9.9-39.7-17.2-65.7-57.2-67.7-59.8-2-2.6-16.2-21.5-16.2-41s10.2-29.1 13.9-33.1c3.6-4 7.9-5 10.6-5 2.6 0 5.3 0 7.6.1 2.4.1 5.7-.9 8.9 6.8 3.3 7.9 11.2 27.4 12.2 29.4s1.7 4.3.3 6.9c-7.6 15.2-15.7 14.6-11.6 21.6 15.3 26.3 30.6 35.4 53.9 47.1 4 2 6.3 1.7 8.6-1 2.3-2.6 9.9-11.6 12.5-15.5 2.6-4 5.3-3.3 8.9-2 3.6 1.3 23.1 10.9 27.1 12.9s6.6 3 7.6 4.6c.9 1.9.9 9.9-2.4 19.1zM400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM223.9 413.2c-26.6 0-52.7-6.7-75.8-19.3L64 416l22.5-82.2c-13.9-24-21.2-51.3-21.2-79.3C65.4 167.1 136.5 96 223.9 96c42.4 0 82.2 16.5 112.2 46.5 29.9 30 47.9 69.8 47.9 112.2 0 87.4-72.7 158.5-160.1 158.5z"
|
|
113
|
-
/>
|
|
60
|
+
<path fill="#FFD700"
|
|
61
|
+
d="M224 122.8c-72.7 0-131.8 59.1-131.9 131.8 0 24.9 7 49.2 20.2 70.1l3.1 5-13.3 48.6 49.9-13.1 4.8 2.9c20.2 12 43.4 18.4 67.1 18.4h.1c72.6 0 133.3-59.1 133.3-131.8 0-35.2-15.2-68.3-40.1-93.2-25-25-58-38.7-93.2-38.7zm77.5 188.4c-3.3 9.3-19.1 17.7-26.7 18.8-12.6 1.9-22.4.9-47.5-9.9-39.7-17.2-65.7-57.2-67.7-59.8-2-2.6-16.2-21.5-16.2-41s10.2-29.1 13.9-33.1c3.6-4 7.9-5 10.6-5 2.6 0 5.3 0 7.6.1 2.4.1 5.7-.9 8.9 6.8 3.3 7.9 11.2 27.4 12.2 29.4s1.7 4.3.3 6.9c-7.6 15.2-15.7 14.6-11.6 21.6 15.3 26.3 30.6 35.4 53.9 47.1 4 2 6.3 1.7 8.6-1 2.3-2.6 9.9-11.6 12.5-15.5 2.6-4 5.3-3.3 8.9-2 3.6 1.3 23.1 10.9 27.1 12.9s6.6 3 7.6 4.6c.9 1.9.9 9.9-2.4 19.1zM400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM223.9 413.2c-26.6 0-52.7-6.7-75.8-19.3L64 416l22.5-82.2c-13.9-24-21.2-51.3-21.2-79.3C65.4 167.1 136.5 96 223.9 96c42.4 0 82.2 16.5 112.2 46.5 29.9 30 47.9 69.8 47.9 112.2 0 87.4-72.7 158.5-160.1 158.5z" />
|
|
114
62
|
</svg>
|
|
115
63
|
</span>
|
|
116
|
-
<span
|
|
117
|
-
class="star cinza"
|
|
118
|
-
v-if="iniDialogo == 0"
|
|
119
|
-
:content="contentTooltipStar"
|
|
120
|
-
v-tippy
|
|
121
|
-
key="star-padrao-cinza"
|
|
122
|
-
>
|
|
64
|
+
<span class="star cinza" v-if="iniDialogo == 0" :content="contentTooltipStar" v-tippy key="star-padrao-cinza">
|
|
123
65
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
|
|
124
|
-
<path
|
|
125
|
-
|
|
126
|
-
d="M224 122.8c-72.7 0-131.8 59.1-131.9 131.8 0 24.9 7 49.2 20.2 70.1l3.1 5-13.3 48.6 49.9-13.1 4.8 2.9c20.2 12 43.4 18.4 67.1 18.4h.1c72.6 0 133.3-59.1 133.3-131.8 0-35.2-15.2-68.3-40.1-93.2-25-25-58-38.7-93.2-38.7zm77.5 188.4c-3.3 9.3-19.1 17.7-26.7 18.8-12.6 1.9-22.4.9-47.5-9.9-39.7-17.2-65.7-57.2-67.7-59.8-2-2.6-16.2-21.5-16.2-41s10.2-29.1 13.9-33.1c3.6-4 7.9-5 10.6-5 2.6 0 5.3 0 7.6.1 2.4.1 5.7-.9 8.9 6.8 3.3 7.9 11.2 27.4 12.2 29.4s1.7 4.3.3 6.9c-7.6 15.2-15.7 14.6-11.6 21.6 15.3 26.3 30.6 35.4 53.9 47.1 4 2 6.3 1.7 8.6-1 2.3-2.6 9.9-11.6 12.5-15.5 2.6-4 5.3-3.3 8.9-2 3.6 1.3 23.1 10.9 27.1 12.9s6.6 3 7.6 4.6c.9 1.9.9 9.9-2.4 19.1zM400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM223.9 413.2c-26.6 0-52.7-6.7-75.8-19.3L64 416l22.5-82.2c-13.9-24-21.2-51.3-21.2-79.3C65.4 167.1 136.5 96 223.9 96c42.4 0 82.2 16.5 112.2 46.5 29.9 30 47.9 69.8 47.9 112.2 0 87.4-72.7 158.5-160.1 158.5z"
|
|
127
|
-
/>
|
|
66
|
+
<path fill="#808080"
|
|
67
|
+
d="M224 122.8c-72.7 0-131.8 59.1-131.9 131.8 0 24.9 7 49.2 20.2 70.1l3.1 5-13.3 48.6 49.9-13.1 4.8 2.9c20.2 12 43.4 18.4 67.1 18.4h.1c72.6 0 133.3-59.1 133.3-131.8 0-35.2-15.2-68.3-40.1-93.2-25-25-58-38.7-93.2-38.7zm77.5 188.4c-3.3 9.3-19.1 17.7-26.7 18.8-12.6 1.9-22.4.9-47.5-9.9-39.7-17.2-65.7-57.2-67.7-59.8-2-2.6-16.2-21.5-16.2-41s10.2-29.1 13.9-33.1c3.6-4 7.9-5 10.6-5 2.6 0 5.3 0 7.6.1 2.4.1 5.7-.9 8.9 6.8 3.3 7.9 11.2 27.4 12.2 29.4s1.7 4.3.3 6.9c-7.6 15.2-15.7 14.6-11.6 21.6 15.3 26.3 30.6 35.4 53.9 47.1 4 2 6.3 1.7 8.6-1 2.3-2.6 9.9-11.6 12.5-15.5 2.6-4 5.3-3.3 8.9-2 3.6 1.3 23.1 10.9 27.1 12.9s6.6 3 7.6 4.6c.9 1.9.9 9.9-2.4 19.1zM400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM223.9 413.2c-26.6 0-52.7-6.7-75.8-19.3L64 416l22.5-82.2c-13.9-24-21.2-51.3-21.2-79.3C65.4 167.1 136.5 96 223.9 96c42.4 0 82.2 16.5 112.2 46.5 29.9 30 47.9 69.8 47.9 112.2 0 87.4-72.7 158.5-160.1 158.5z" />
|
|
128
68
|
</svg>
|
|
129
69
|
</span>
|
|
130
70
|
</transition>
|
|
131
71
|
<!-- Status da mensagem -->
|
|
132
72
|
<transition name="fade" mode="out-in">
|
|
133
|
-
<span
|
|
134
|
-
class="check"
|
|
135
|
-
v-if="status == 'D'"
|
|
136
|
-
:content="contentTooltip"
|
|
137
|
-
v-tippy
|
|
138
|
-
key="check-padrao"
|
|
139
|
-
>
|
|
73
|
+
<span class="check" v-if="status == 'D'" :content="contentTooltip" v-tippy key="check-padrao">
|
|
140
74
|
<fa-icon :icon="['fas', 'check']" />
|
|
141
75
|
</span>
|
|
142
|
-
<span
|
|
143
|
-
class="check cinza"
|
|
144
|
-
v-else-if="status == 'Q'"
|
|
145
|
-
:content="contentTooltip"
|
|
146
|
-
v-tippy
|
|
147
|
-
key="check-cinza"
|
|
148
|
-
>
|
|
76
|
+
<span class="check cinza" v-else-if="status == 'Q'" :content="contentTooltip" v-tippy key="check-cinza">
|
|
149
77
|
<fa-icon :icon="['fas', 'check']" />
|
|
150
78
|
</span>
|
|
151
|
-
<span
|
|
152
|
-
class="check preto"
|
|
153
|
-
v-else-if="status == 'G'"
|
|
154
|
-
:content="contentTooltip"
|
|
155
|
-
v-tippy
|
|
156
|
-
key="check-preto"
|
|
157
|
-
>
|
|
79
|
+
<span class="check preto" v-else-if="status == 'G'" :content="contentTooltip" v-tippy key="check-preto">
|
|
158
80
|
<fa-icon :icon="['fas', 'check']" />
|
|
159
81
|
</span>
|
|
160
|
-
<span
|
|
161
|
-
class="check preto"
|
|
162
|
-
v-else-if="status == 'E'"
|
|
163
|
-
:content="contentTooltip"
|
|
164
|
-
v-tippy
|
|
165
|
-
key="double-check-preto"
|
|
166
|
-
>
|
|
82
|
+
<span class="check preto" v-else-if="status == 'E'" :content="contentTooltip" v-tippy key="double-check-preto">
|
|
167
83
|
<fa-icon :icon="['fas', 'check-double']" />
|
|
168
84
|
</span>
|
|
169
|
-
<span
|
|
170
|
-
|
|
171
|
-
v-else-if="status == 'L'"
|
|
172
|
-
:content="contentTooltip"
|
|
173
|
-
v-tippy
|
|
174
|
-
key="double-check-visualizado"
|
|
175
|
-
>
|
|
85
|
+
<span class="check visualizado" v-else-if="status == 'L'" :content="contentTooltip" v-tippy
|
|
86
|
+
key="double-check-visualizado">
|
|
176
87
|
<fa-icon :icon="['fas', 'check-double']" />
|
|
177
88
|
</span>
|
|
178
89
|
<!-- Status finalizador -->
|
|
179
|
-
<span
|
|
180
|
-
|
|
181
|
-
v-else-if="status == 'C' || status == 'ERRO'"
|
|
182
|
-
:content="contentTooltip"
|
|
183
|
-
v-tippy
|
|
184
|
-
key="times-circle"
|
|
185
|
-
>
|
|
90
|
+
<span class="check vermelho" v-else-if="status == 'C' || status == 'ERRO'" :content="contentTooltip" v-tippy
|
|
91
|
+
key="times-circle">
|
|
186
92
|
<fa-icon :icon="['fas', 'times-circle']" />
|
|
187
93
|
</span>
|
|
188
94
|
<!-- Status finalizador -->
|
|
189
|
-
<span
|
|
190
|
-
class="check vermelho"
|
|
191
|
-
v-else-if="status == 'T'"
|
|
192
|
-
:content="contentTooltip"
|
|
193
|
-
v-tippy
|
|
194
|
-
key="hourglass"
|
|
195
|
-
>
|
|
95
|
+
<span class="check vermelho" v-else-if="status == 'T'" :content="contentTooltip" v-tippy key="hourglass">
|
|
196
96
|
<fa-icon :icon="['fas', 'hourglass']" />
|
|
197
97
|
</span>
|
|
198
98
|
<!-- Status finalizador -->
|
|
199
|
-
<span
|
|
200
|
-
class="check vermelho"
|
|
201
|
-
v-else-if="status == 'O'"
|
|
202
|
-
:content="contentTooltip"
|
|
203
|
-
v-tippy
|
|
204
|
-
key="deleted"
|
|
205
|
-
>
|
|
99
|
+
<span class="check vermelho" v-else-if="status == 'O'" :content="contentTooltip" v-tippy key="deleted">
|
|
206
100
|
<fa-icon :icon="['fas', 'times']" />
|
|
207
101
|
</span>
|
|
208
102
|
<!-- Status de mensagem deletada -->
|
|
@@ -214,52 +108,26 @@
|
|
|
214
108
|
<!-- <span class="menu-mensagem" @click="toggleIsMenuOpen" v-tippy :content="dictionary.tit_mais_msg">
|
|
215
109
|
<fa-icon :icon="['fas', 'chevron-down']" />
|
|
216
110
|
</span> -->
|
|
217
|
-
<span
|
|
218
|
-
|
|
219
|
-
@click="responderMensagemHandler"
|
|
220
|
-
v-tippy
|
|
221
|
-
:content="dictionary.tit_responder_msg"
|
|
222
|
-
v-if="showMenu.reply"
|
|
223
|
-
>
|
|
111
|
+
<span class="menu-mensagem" @click="responderMensagemHandler" v-tippy :content="dictionary.tit_responder_msg"
|
|
112
|
+
v-if="showMenu.reply">
|
|
224
113
|
<fa-icon :icon="['fas', 'reply']" />
|
|
225
114
|
</span>
|
|
226
|
-
<span
|
|
227
|
-
|
|
228
|
-
@click="reagirMensagemHandler"
|
|
229
|
-
v-tippy
|
|
230
|
-
:content="dictionary.tit_reagir_msg"
|
|
231
|
-
v-if="showMenu.reaction"
|
|
232
|
-
>
|
|
115
|
+
<span class="menu-mensagem" @click="reagirMensagemHandler" v-tippy :content="dictionary.tit_reagir_msg"
|
|
116
|
+
v-if="showMenu.reaction">
|
|
233
117
|
<fa-icon :icon="['fas', 'smile']" />
|
|
234
118
|
</span>
|
|
235
119
|
<template v-if="showMenu.customButtons && showMenu.customButtons.length">
|
|
236
|
-
<span
|
|
237
|
-
|
|
238
|
-
:
|
|
239
|
-
v-
|
|
240
|
-
|
|
241
|
-
:class="`${button.customClass || 'menu-mensagem'}`"
|
|
242
|
-
v-tippy
|
|
243
|
-
:content="button.tippyContent"
|
|
244
|
-
>
|
|
245
|
-
<fa-icon
|
|
246
|
-
:icon="['fas', button.icon || 'question-circle']"
|
|
247
|
-
v-if="!button.svgIcon"
|
|
248
|
-
/>
|
|
249
|
-
<span
|
|
250
|
-
v-else
|
|
251
|
-
v-html="button.svgIcon"
|
|
252
|
-
:class="button.svgClass ? button.svgClass : ''"
|
|
253
|
-
></span>
|
|
120
|
+
<span v-for="(button, index) in showMenu.customButtons" :key="button.id || index" v-show="button.use"
|
|
121
|
+
@click="button.callback(returnParams(button.params))" :class="`${button.customClass || 'menu-mensagem'}`"
|
|
122
|
+
v-tippy :content="button.tippyContent">
|
|
123
|
+
<fa-icon :icon="['fas', button.icon || 'question-circle']" v-if="!button.svgIcon" />
|
|
124
|
+
<span v-else v-html="button.svgIcon" :class="button.svgClass ? button.svgClass : ''"></span>
|
|
254
125
|
</span>
|
|
255
126
|
</template>
|
|
256
127
|
</div>
|
|
257
128
|
<div class="emoji-message-container" v-if="isEmojisOpen" v-clickaway="closeEmojis">
|
|
258
|
-
<fa-icon
|
|
259
|
-
|
|
260
|
-
class="sc-icone-fechar sc-icone-fechar--externo"
|
|
261
|
-
@click="closeEmojis"
|
|
262
|
-
/>
|
|
129
|
+
<fa-icon :icon="['fas', 'times-circle']" class="sc-icone-fechar sc-icone-fechar--externo"
|
|
130
|
+
@click="closeEmojis" />
|
|
263
131
|
<Picker @insert-emoji="addReaction" />
|
|
264
132
|
</div>
|
|
265
133
|
<transition name="fade" mode="out-in" v-if="isMenuOpen">
|
|
@@ -273,11 +141,7 @@
|
|
|
273
141
|
</ul>
|
|
274
142
|
</transition>
|
|
275
143
|
<transition name="fade" mode="out-in" v-if="messageReaction">
|
|
276
|
-
<span
|
|
277
|
-
class="reaction"
|
|
278
|
-
v-tippy
|
|
279
|
-
:content="`${dictionary.tit_mensagem_reagida} ${messageReaction.finalEmoji}`"
|
|
280
|
-
>
|
|
144
|
+
<span class="reaction" v-tippy :content="`${dictionary.tit_mensagem_reagida} ${messageReaction.finalEmoji}`">
|
|
281
145
|
<span v-html="messageReaction.finalEmoji"></span>
|
|
282
146
|
</span>
|
|
283
147
|
</transition>
|
|
@@ -419,17 +283,16 @@ export default {
|
|
|
419
283
|
: "";
|
|
420
284
|
tooltipStar += this.expSessao
|
|
421
285
|
? this.dictionary["expiracao_sessao"] +
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
286
|
+
" - " +
|
|
287
|
+
formataTimezoneData(this.expSessao) +
|
|
288
|
+
"<br/>"
|
|
425
289
|
: "";
|
|
426
290
|
|
|
427
291
|
if (this.tipo_origem) {
|
|
428
|
-
tooltipStar += `${this.dictionary["tipo_origem"]}: ${
|
|
429
|
-
this.dictionary[`tipo_origem_${this.tipo_origem}`]
|
|
292
|
+
tooltipStar += `${this.dictionary["tipo_origem"]}: ${this.dictionary[`tipo_origem_${this.tipo_origem}`]
|
|
430
293
|
? this.dictionary[`tipo_origem_${this.tipo_origem}`]
|
|
431
294
|
: this.tipo_origem
|
|
432
|
-
|
|
295
|
+
}<br/>`;
|
|
433
296
|
}
|
|
434
297
|
|
|
435
298
|
return tooltipStar;
|
|
@@ -642,18 +505,18 @@ export default {
|
|
|
642
505
|
: document.documentElement;
|
|
643
506
|
|
|
644
507
|
// IF FIXO URGENCIA PARA O DAVID: CANAL HI
|
|
645
|
-
const isHI = this.seq.substring(0, 2) == "HI";
|
|
508
|
+
const isHI = this.seq && this.seq.substring(0, 2) == "HI";
|
|
646
509
|
const textColor = isHI ? "#FFF" : l <= 50 ? "#FFF" : "#111B21";
|
|
647
510
|
const filesBg = isHI
|
|
648
511
|
? "rgba(255, 255, 255, 0.1)"
|
|
649
512
|
: l <= 50
|
|
650
|
-
|
|
651
|
-
|
|
513
|
+
? "rgba(255, 255, 255, 0.1)"
|
|
514
|
+
: "rgba(100, 100, 100, 0.1)";
|
|
652
515
|
const filesBgHover = isHI
|
|
653
516
|
? "rgba(255, 255, 255, 0.3)"
|
|
654
517
|
: l <= 50
|
|
655
|
-
|
|
656
|
-
|
|
518
|
+
? "rgba(255, 255, 255, 0.3)"
|
|
519
|
+
: "rgba(100, 100, 100, 0.3)";
|
|
657
520
|
|
|
658
521
|
elem.style.setProperty("--text-color", textColor);
|
|
659
522
|
elem.style.setProperty("--files-bg", filesBg);
|
|
@@ -918,6 +781,7 @@ export default {
|
|
|
918
781
|
|
|
919
782
|
.menu-primario {
|
|
920
783
|
transition: opacity 150ms ease-in-out;
|
|
784
|
+
height: 20px;
|
|
921
785
|
position: absolute;
|
|
922
786
|
font-size: 11.2px;
|
|
923
787
|
top: 2px;
|
|
@@ -938,7 +802,7 @@ export default {
|
|
|
938
802
|
background-color: #fff;
|
|
939
803
|
}
|
|
940
804
|
|
|
941
|
-
.menu-primario.outros
|
|
805
|
+
.menu-primario.outros>span:nth-child(1) {
|
|
942
806
|
order: 10;
|
|
943
807
|
}
|
|
944
808
|
|
|
@@ -1007,7 +871,7 @@ export default {
|
|
|
1007
871
|
justify-content: flex-end;
|
|
1008
872
|
}
|
|
1009
873
|
|
|
1010
|
-
.mensagem__principal
|
|
874
|
+
.mensagem__principal>.mensagem::after {
|
|
1011
875
|
content: "";
|
|
1012
876
|
width: 0;
|
|
1013
877
|
height: 0;
|
|
@@ -1020,16 +884,16 @@ export default {
|
|
|
1020
884
|
transform: rotate(-90deg);
|
|
1021
885
|
}
|
|
1022
886
|
|
|
1023
|
-
.mensagem__principal
|
|
887
|
+
.mensagem__principal>.mensagem {
|
|
1024
888
|
background-color: var(--message-color);
|
|
1025
889
|
color: var(--text-color);
|
|
1026
890
|
}
|
|
1027
891
|
|
|
1028
|
-
.mensagem__principal
|
|
892
|
+
.mensagem__principal>.mensagem .horario-envio {
|
|
1029
893
|
color: var(--text-color);
|
|
1030
894
|
}
|
|
1031
895
|
|
|
1032
|
-
.mensagem__principal
|
|
896
|
+
.mensagem__principal>.mensagem .autor-mensagem {
|
|
1033
897
|
right: 5px;
|
|
1034
898
|
color: var(--text-color);
|
|
1035
899
|
}
|
|
@@ -1040,12 +904,12 @@ export default {
|
|
|
1040
904
|
display: flex;
|
|
1041
905
|
}
|
|
1042
906
|
|
|
1043
|
-
.mensagem__outros
|
|
907
|
+
.mensagem__outros>.mensagem {
|
|
1044
908
|
background-color: #fff;
|
|
1045
909
|
color: #333;
|
|
1046
910
|
}
|
|
1047
911
|
|
|
1048
|
-
.mensagem__outros
|
|
912
|
+
.mensagem__outros>.mensagem::after {
|
|
1049
913
|
content: "";
|
|
1050
914
|
width: 0;
|
|
1051
915
|
height: 0;
|
|
@@ -1061,7 +925,7 @@ export default {
|
|
|
1061
925
|
/* .mensagem__outros .check{
|
|
1062
926
|
display: none
|
|
1063
927
|
} */
|
|
1064
|
-
.mensagem__outros
|
|
928
|
+
.mensagem__outros>.autor-mensagem {
|
|
1065
929
|
left: 5px;
|
|
1066
930
|
color: #333;
|
|
1067
931
|
}
|
|
@@ -1170,7 +1034,7 @@ export default {
|
|
|
1170
1034
|
max-height: 1.8em;
|
|
1171
1035
|
}
|
|
1172
1036
|
|
|
1173
|
-
.reaction
|
|
1037
|
+
.reaction>span {
|
|
1174
1038
|
display: block;
|
|
1175
1039
|
transform: translateY(-1px);
|
|
1176
1040
|
}
|