vue-intergrall-plugins 1.0.26 → 1.0.28
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 +168 -28
- package/dist/vue-intergrall-plugins.min.js +1 -1
- package/dist/vue-intergrall-plugins.ssr.js +164 -26
- package/package.json +1 -1
- package/src/lib-components/Cards/Card.vue +77 -50
- package/src/lib-components/Chat/TextFooter.vue +147 -170
- package/src/lib-components/Messages/CardMessages.vue +39 -1
- package/src/lib-components/Messages/ChatMessages.vue +94 -185
|
@@ -1,28 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
:
|
|
6
|
-
>
|
|
7
|
-
<InteratividadeFormulario
|
|
8
|
-
v-if="interatividade && validateInterativity()"
|
|
9
|
-
:interatividade="interatividade"
|
|
10
|
-
:dominio="dominio"
|
|
11
|
-
:infoCanal="infoCanalTeste"
|
|
12
|
-
:anexos="anexos"
|
|
13
|
-
:dictionary="dictionary"
|
|
14
|
-
/>
|
|
15
|
-
<div
|
|
16
|
-
v-else
|
|
17
|
-
class="mensagem"
|
|
18
|
-
:class="{ mapa, 'hist-msg': histMsg, 'max-w-60': link && !mapa }"
|
|
19
|
-
>
|
|
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" :infoCanal="infoCanalTeste" :anexos="anexos" :dictionary="dictionary" />
|
|
5
|
+
<div v-else class="mensagem" :class="{ mapa, 'hist-msg': histMsg, 'max-w-60': link && !mapa }">
|
|
20
6
|
<!-- Estilo da mensagem do tipo reply (que foi respondida) -->
|
|
21
|
-
<div
|
|
22
|
-
v-if="isReply && replyMessage"
|
|
23
|
-
class="mensagem-reply"
|
|
24
|
-
:class="`message-reply-${origem}`"
|
|
25
|
-
>
|
|
7
|
+
<div v-if="isReply && replyMessage" class="mensagem-reply" :class="`message-reply-${origem}`">
|
|
26
8
|
<p v-if="replyMessage" v-html="replyMessage"></p>
|
|
27
9
|
<span v-else class="mensagem-reply-vazia">
|
|
28
10
|
<fa-icon :icon="['fas', 'times']" v-if="showReplyIcon" />
|
|
@@ -34,34 +16,16 @@
|
|
|
34
16
|
<!-- Anexos -->
|
|
35
17
|
<template v-if="anexos && anexos.length">
|
|
36
18
|
<div class="mensagem-anexo" v-for="(anexo, index) in anexos" :key="index">
|
|
37
|
-
<AnexoMensagem
|
|
38
|
-
:
|
|
39
|
-
|
|
40
|
-
:dictionary="dictionary"
|
|
41
|
-
:anexo="anexo"
|
|
42
|
-
:origemExterna="origemExterna"
|
|
43
|
-
:dominio="dominio"
|
|
44
|
-
@abrir-imagem="abrirImagem"
|
|
45
|
-
@download-all="$emit('download-all')"
|
|
46
|
-
/>
|
|
19
|
+
<AnexoMensagem :showControlFiles="showControlFiles" :referenceSelector="referenceSelector"
|
|
20
|
+
:dictionary="dictionary" :anexo="anexo" :origemExterna="origemExterna" :dominio="dominio"
|
|
21
|
+
@abrir-imagem="abrirImagem" @download-all="$emit('download-all')" />
|
|
47
22
|
</div>
|
|
48
23
|
</template>
|
|
49
24
|
<!-- sticker -->
|
|
50
|
-
<img
|
|
51
|
-
class="default-stick-size"
|
|
52
|
-
v-if="urlSticker"
|
|
53
|
-
:src="urlSticker"
|
|
54
|
-
:title="urlFileName"
|
|
55
|
-
/>
|
|
25
|
+
<img class="default-stick-size" v-if="urlSticker" :src="urlSticker" :title="urlFileName" />
|
|
56
26
|
<!-- Mapa -->
|
|
57
27
|
<div v-if="mapa" class="mensagem-div-mapa">
|
|
58
|
-
<GmapMap
|
|
59
|
-
:id="`mapa_${seq}`"
|
|
60
|
-
class="msg-mapa"
|
|
61
|
-
:center="center"
|
|
62
|
-
:zoom="17"
|
|
63
|
-
:options="mapOptions"
|
|
64
|
-
>
|
|
28
|
+
<GmapMap :id="`mapa_${seq}`" class="msg-mapa" :center="center" :zoom="17" :options="mapOptions">
|
|
65
29
|
<GmapMarker :position="marker" />
|
|
66
30
|
</GmapMap>
|
|
67
31
|
<ul class="info-mapa" v-if="infos.length">
|
|
@@ -83,122 +47,56 @@
|
|
|
83
47
|
<span class="horario-envio" v-text="horario"></span>
|
|
84
48
|
<!-- Reenviar mensagem -->
|
|
85
49
|
<transition name="fade" mode="out-in">
|
|
86
|
-
<span
|
|
87
|
-
:
|
|
88
|
-
v-if="hasReply && (status == 'C' || status == 'T' || status == 'ERRO')"
|
|
89
|
-
v-tippy
|
|
90
|
-
:content="msgReply ? msgReply : 'Fazer reenvio da mensagem'"
|
|
91
|
-
@click="$emit('replyMsg')"
|
|
92
|
-
>
|
|
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')">
|
|
93
52
|
<fa-icon :icon="['fas', 'reply']" />
|
|
94
53
|
</span>
|
|
95
54
|
</transition>
|
|
96
55
|
<!-- ?? -->
|
|
97
56
|
<transition name="fade" mode="out-in" v-if="validadeSeq">
|
|
98
|
-
<span
|
|
99
|
-
|
|
100
|
-
v-if="iniDialogo > 0"
|
|
101
|
-
:content="contentTooltipStar"
|
|
102
|
-
v-tippy
|
|
103
|
-
key="star-padrao-dourado"
|
|
104
|
-
>
|
|
57
|
+
<span class="star dourado" v-if="iniDialogo > 0" :content="contentTooltipStar" v-tippy
|
|
58
|
+
key="star-padrao-dourado">
|
|
105
59
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
|
|
106
|
-
<path
|
|
107
|
-
|
|
108
|
-
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"
|
|
109
|
-
/>
|
|
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" />
|
|
110
62
|
</svg>
|
|
111
63
|
</span>
|
|
112
|
-
<span
|
|
113
|
-
class="star cinza"
|
|
114
|
-
v-if="iniDialogo == 0"
|
|
115
|
-
:content="contentTooltipStar"
|
|
116
|
-
v-tippy
|
|
117
|
-
key="star-padrao-cinza"
|
|
118
|
-
>
|
|
64
|
+
<span class="star cinza" v-if="iniDialogo == 0" :content="contentTooltipStar" v-tippy key="star-padrao-cinza">
|
|
119
65
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
|
|
120
|
-
<path
|
|
121
|
-
|
|
122
|
-
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"
|
|
123
|
-
/>
|
|
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" />
|
|
124
68
|
</svg>
|
|
125
69
|
</span>
|
|
126
70
|
</transition>
|
|
127
71
|
<!-- Status da mensagem -->
|
|
128
72
|
<transition name="fade" mode="out-in">
|
|
129
|
-
<span
|
|
130
|
-
class="check"
|
|
131
|
-
v-if="status == 'D'"
|
|
132
|
-
:content="contentTooltip"
|
|
133
|
-
v-tippy
|
|
134
|
-
key="check-padrao"
|
|
135
|
-
>
|
|
73
|
+
<span class="check" v-if="status == 'D'" :content="contentTooltip" v-tippy key="check-padrao">
|
|
136
74
|
<fa-icon :icon="['fas', 'check']" />
|
|
137
75
|
</span>
|
|
138
|
-
<span
|
|
139
|
-
class="check cinza"
|
|
140
|
-
v-else-if="status == 'Q'"
|
|
141
|
-
:content="contentTooltip"
|
|
142
|
-
v-tippy
|
|
143
|
-
key="check-cinza"
|
|
144
|
-
>
|
|
76
|
+
<span class="check cinza" v-else-if="status == 'Q'" :content="contentTooltip" v-tippy key="check-cinza">
|
|
145
77
|
<fa-icon :icon="['fas', 'check']" />
|
|
146
78
|
</span>
|
|
147
|
-
<span
|
|
148
|
-
class="check preto"
|
|
149
|
-
v-else-if="status == 'G'"
|
|
150
|
-
:content="contentTooltip"
|
|
151
|
-
v-tippy
|
|
152
|
-
key="check-preto"
|
|
153
|
-
>
|
|
79
|
+
<span class="check preto" v-else-if="status == 'G'" :content="contentTooltip" v-tippy key="check-preto">
|
|
154
80
|
<fa-icon :icon="['fas', 'check']" />
|
|
155
81
|
</span>
|
|
156
|
-
<span
|
|
157
|
-
class="check preto"
|
|
158
|
-
v-else-if="status == 'E'"
|
|
159
|
-
:content="contentTooltip"
|
|
160
|
-
v-tippy
|
|
161
|
-
key="double-check-preto"
|
|
162
|
-
>
|
|
82
|
+
<span class="check preto" v-else-if="status == 'E'" :content="contentTooltip" v-tippy key="double-check-preto">
|
|
163
83
|
<fa-icon :icon="['fas', 'check-double']" />
|
|
164
84
|
</span>
|
|
165
|
-
<span
|
|
166
|
-
|
|
167
|
-
v-else-if="status == 'L'"
|
|
168
|
-
:content="contentTooltip"
|
|
169
|
-
v-tippy
|
|
170
|
-
key="double-check-visualizado"
|
|
171
|
-
>
|
|
85
|
+
<span class="check visualizado" v-else-if="status == 'L'" :content="contentTooltip" v-tippy
|
|
86
|
+
key="double-check-visualizado">
|
|
172
87
|
<fa-icon :icon="['fas', 'check-double']" />
|
|
173
88
|
</span>
|
|
174
89
|
<!-- Status finalizador -->
|
|
175
|
-
<span
|
|
176
|
-
|
|
177
|
-
v-else-if="status == 'C' || status == 'ERRO'"
|
|
178
|
-
:content="contentTooltip"
|
|
179
|
-
v-tippy
|
|
180
|
-
key="times-circle"
|
|
181
|
-
>
|
|
90
|
+
<span class="check vermelho" v-else-if="status == 'C' || status == 'ERRO'" :content="contentTooltip" v-tippy
|
|
91
|
+
key="times-circle">
|
|
182
92
|
<fa-icon :icon="['fas', 'times-circle']" />
|
|
183
93
|
</span>
|
|
184
94
|
<!-- Status finalizador -->
|
|
185
|
-
<span
|
|
186
|
-
class="check vermelho"
|
|
187
|
-
v-else-if="status == 'T'"
|
|
188
|
-
:content="contentTooltip"
|
|
189
|
-
v-tippy
|
|
190
|
-
key="hourglass"
|
|
191
|
-
>
|
|
95
|
+
<span class="check vermelho" v-else-if="status == 'T'" :content="contentTooltip" v-tippy key="hourglass">
|
|
192
96
|
<fa-icon :icon="['fas', 'hourglass']" />
|
|
193
97
|
</span>
|
|
194
98
|
<!-- Status finalizador -->
|
|
195
|
-
<span
|
|
196
|
-
class="check vermelho"
|
|
197
|
-
v-else-if="status == 'O'"
|
|
198
|
-
:content="contentTooltip"
|
|
199
|
-
v-tippy
|
|
200
|
-
key="deleted"
|
|
201
|
-
>
|
|
99
|
+
<span class="check vermelho" v-else-if="status == 'O'" :content="contentTooltip" v-tippy key="deleted">
|
|
202
100
|
<fa-icon :icon="['fas', 'times']" />
|
|
203
101
|
</span>
|
|
204
102
|
<!-- Status de mensagem deletada -->
|
|
@@ -210,48 +108,26 @@
|
|
|
210
108
|
<!-- <span class="menu-mensagem" @click="toggleIsMenuOpen" v-tippy :content="dictionary.tit_mais_msg">
|
|
211
109
|
<fa-icon :icon="['fas', 'chevron-down']" />
|
|
212
110
|
</span> -->
|
|
213
|
-
<span
|
|
214
|
-
|
|
215
|
-
@click="responderMensagemHandler"
|
|
216
|
-
v-tippy
|
|
217
|
-
:content="dictionary.tit_responder_msg"
|
|
218
|
-
v-if="showMenu.reply"
|
|
219
|
-
>
|
|
111
|
+
<span class="menu-mensagem" @click="responderMensagemHandler" v-tippy :content="dictionary.tit_responder_msg"
|
|
112
|
+
v-if="showMenu.reply">
|
|
220
113
|
<fa-icon :icon="['fas', 'reply']" />
|
|
221
114
|
</span>
|
|
222
|
-
<span
|
|
223
|
-
|
|
224
|
-
@click="reagirMensagemHandler"
|
|
225
|
-
v-tippy
|
|
226
|
-
:content="dictionary.tit_reagir_msg"
|
|
227
|
-
v-if="showMenu.reaction"
|
|
228
|
-
>
|
|
115
|
+
<span class="menu-mensagem" @click="reagirMensagemHandler" v-tippy :content="dictionary.tit_reagir_msg"
|
|
116
|
+
v-if="showMenu.reaction">
|
|
229
117
|
<fa-icon :icon="['fas', 'smile']" />
|
|
230
118
|
</span>
|
|
231
119
|
<template v-if="showMenu.customButtons && showMenu.customButtons.length">
|
|
232
|
-
<span
|
|
233
|
-
|
|
234
|
-
:
|
|
235
|
-
v-
|
|
236
|
-
|
|
237
|
-
:class="`${button.customClass || 'menu-mensagem'}`"
|
|
238
|
-
v-tippy
|
|
239
|
-
:content="button.tippyContent"
|
|
240
|
-
>
|
|
241
|
-
<fa-icon :icon="['fas', button.icon || 'question-circle']" />
|
|
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>
|
|
242
125
|
</span>
|
|
243
126
|
</template>
|
|
244
127
|
</div>
|
|
245
|
-
<div
|
|
246
|
-
class="
|
|
247
|
-
|
|
248
|
-
v-on-clickaway="closeEmojis"
|
|
249
|
-
>
|
|
250
|
-
<fa-icon
|
|
251
|
-
:icon="['fas', 'times-circle']"
|
|
252
|
-
class="sc-icone-fechar sc-icone-fechar--externo"
|
|
253
|
-
@click="closeEmojis"
|
|
254
|
-
/>
|
|
128
|
+
<div class="emoji-message-container" v-if="isEmojisOpen" v-on-clickaway="closeEmojis">
|
|
129
|
+
<fa-icon :icon="['fas', 'times-circle']" class="sc-icone-fechar sc-icone-fechar--externo"
|
|
130
|
+
@click="closeEmojis" />
|
|
255
131
|
<Picker @insert-emoji="addReaction" />
|
|
256
132
|
</div>
|
|
257
133
|
<transition name="fade" mode="out-in" v-if="isMenuOpen">
|
|
@@ -265,11 +141,7 @@
|
|
|
265
141
|
</ul>
|
|
266
142
|
</transition>
|
|
267
143
|
<transition name="fade" mode="out-in" v-if="messageReaction">
|
|
268
|
-
<span
|
|
269
|
-
class="reaction"
|
|
270
|
-
v-tippy
|
|
271
|
-
:content="`${dictionary.tit_mensagem_reagida} ${messageReaction.finalEmoji}`"
|
|
272
|
-
>
|
|
144
|
+
<span class="reaction" v-tippy :content="`${dictionary.tit_mensagem_reagida} ${messageReaction.finalEmoji}`">
|
|
273
145
|
<span v-html="messageReaction.finalEmoji"></span>
|
|
274
146
|
</span>
|
|
275
147
|
</transition>
|
|
@@ -415,17 +287,16 @@ export default {
|
|
|
415
287
|
: "";
|
|
416
288
|
tooltipStar += this.expSessao
|
|
417
289
|
? this.dictionary["expiracao_sessao"] +
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
290
|
+
" - " +
|
|
291
|
+
formataTimezoneData(this.expSessao) +
|
|
292
|
+
"<br/>"
|
|
421
293
|
: "";
|
|
422
294
|
|
|
423
295
|
if (this.tipo_origem) {
|
|
424
|
-
tooltipStar += `${this.dictionary["tipo_origem"]}: ${
|
|
425
|
-
this.dictionary[`tipo_origem_${this.tipo_origem}`]
|
|
296
|
+
tooltipStar += `${this.dictionary["tipo_origem"]}: ${this.dictionary[`tipo_origem_${this.tipo_origem}`]
|
|
426
297
|
? this.dictionary[`tipo_origem_${this.tipo_origem}`]
|
|
427
298
|
: this.tipo_origem
|
|
428
|
-
|
|
299
|
+
}<br/>`;
|
|
429
300
|
}
|
|
430
301
|
|
|
431
302
|
return tooltipStar;
|
|
@@ -693,6 +564,7 @@ export default {
|
|
|
693
564
|
.fade-leave-active {
|
|
694
565
|
transition: opacity 0.5s;
|
|
695
566
|
}
|
|
567
|
+
|
|
696
568
|
.fade-enter,
|
|
697
569
|
.fade-leave-to {
|
|
698
570
|
opacity: 0;
|
|
@@ -708,6 +580,7 @@ export default {
|
|
|
708
580
|
overflow: hidden;
|
|
709
581
|
max-width: 100%;
|
|
710
582
|
}
|
|
583
|
+
|
|
711
584
|
.mensagem-reply p {
|
|
712
585
|
overflow: hidden;
|
|
713
586
|
text-overflow: ellipsis;
|
|
@@ -718,6 +591,7 @@ export default {
|
|
|
718
591
|
border-left: 3px solid transparent;
|
|
719
592
|
background-color: rgba(100, 100, 100, 0.1);
|
|
720
593
|
}
|
|
594
|
+
|
|
721
595
|
.message-reply-principal:hover {
|
|
722
596
|
background-color: rgba(100, 100, 100, 0.2);
|
|
723
597
|
}
|
|
@@ -726,6 +600,7 @@ export default {
|
|
|
726
600
|
background-color: rgb(245, 245, 245);
|
|
727
601
|
border-left: 3px solid var(--message-color);
|
|
728
602
|
}
|
|
603
|
+
|
|
729
604
|
.message-reply-outros:hover {
|
|
730
605
|
background-color: rgb(235, 235, 235);
|
|
731
606
|
}
|
|
@@ -734,6 +609,7 @@ export default {
|
|
|
734
609
|
display: flex;
|
|
735
610
|
align-items: center;
|
|
736
611
|
}
|
|
612
|
+
|
|
737
613
|
.mensagem-reply-vazia svg {
|
|
738
614
|
margin-right: 5px;
|
|
739
615
|
color: #ba181b;
|
|
@@ -760,27 +636,34 @@ export default {
|
|
|
760
636
|
box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14),
|
|
761
637
|
0px 1px 5px 0px rgba(0, 0, 0, 0.12);
|
|
762
638
|
}
|
|
639
|
+
|
|
763
640
|
.mensagem.max-w-60 {
|
|
764
641
|
max-width: 60%;
|
|
765
642
|
}
|
|
643
|
+
|
|
766
644
|
.mensagem.mapa {
|
|
767
645
|
width: 100%;
|
|
768
646
|
}
|
|
647
|
+
|
|
769
648
|
.mensagem.hist-msg {
|
|
770
649
|
animation: show 1s;
|
|
771
650
|
}
|
|
651
|
+
|
|
772
652
|
.mensagem a {
|
|
773
653
|
margin-right: 5px;
|
|
774
654
|
font-weight: 550;
|
|
775
655
|
color: inherit;
|
|
776
656
|
text-decoration: none;
|
|
777
657
|
}
|
|
658
|
+
|
|
778
659
|
.mensagem a:hover {
|
|
779
660
|
text-decoration: underline;
|
|
780
661
|
}
|
|
662
|
+
|
|
781
663
|
.message p {
|
|
782
664
|
white-space: pre-wrap;
|
|
783
665
|
}
|
|
666
|
+
|
|
784
667
|
.mensagem:hover .menu-primario {
|
|
785
668
|
visibility: visible;
|
|
786
669
|
opacity: 1;
|
|
@@ -808,10 +691,12 @@ export default {
|
|
|
808
691
|
border-radius: 50%;
|
|
809
692
|
background-color: #fff;
|
|
810
693
|
}
|
|
694
|
+
|
|
811
695
|
.reply svg {
|
|
812
696
|
margin-top: -1px;
|
|
813
697
|
margin-right: -1px;
|
|
814
698
|
}
|
|
699
|
+
|
|
815
700
|
.reply-with-2-icons {
|
|
816
701
|
right: 30px;
|
|
817
702
|
}
|
|
@@ -823,26 +708,32 @@ export default {
|
|
|
823
708
|
bottom: 2px;
|
|
824
709
|
font-size: 11.2px;
|
|
825
710
|
}
|
|
711
|
+
|
|
826
712
|
.check.visualizado,
|
|
827
713
|
.check.visualizado svg {
|
|
828
714
|
color: #006daa;
|
|
829
715
|
}
|
|
716
|
+
|
|
830
717
|
.check.verde,
|
|
831
718
|
.check.verde svg {
|
|
832
719
|
color: #4f772d;
|
|
833
720
|
}
|
|
721
|
+
|
|
834
722
|
.check.vermelho,
|
|
835
723
|
.check.vermelho svg {
|
|
836
724
|
color: #ba181b;
|
|
837
725
|
}
|
|
726
|
+
|
|
838
727
|
.check.cinza,
|
|
839
728
|
.check.cinza svg {
|
|
840
729
|
color: #999;
|
|
841
730
|
}
|
|
731
|
+
|
|
842
732
|
.check.preto,
|
|
843
733
|
.check.preto svg {
|
|
844
734
|
color: #666;
|
|
845
735
|
}
|
|
736
|
+
|
|
846
737
|
.star {
|
|
847
738
|
cursor: pointer;
|
|
848
739
|
position: absolute;
|
|
@@ -851,10 +742,12 @@ export default {
|
|
|
851
742
|
font-size: 6.4px;
|
|
852
743
|
width: 11.2px;
|
|
853
744
|
}
|
|
745
|
+
|
|
854
746
|
.default-stick-size {
|
|
855
747
|
width: 180px;
|
|
856
748
|
height: auto;
|
|
857
749
|
}
|
|
750
|
+
|
|
858
751
|
.horario-envio {
|
|
859
752
|
margin-right: 15px;
|
|
860
753
|
font-size: 11.2px;
|
|
@@ -885,18 +778,20 @@ export default {
|
|
|
885
778
|
gap: 5px;
|
|
886
779
|
padding: 2px 4px;
|
|
887
780
|
}
|
|
781
|
+
|
|
888
782
|
.menu-primario.principal {
|
|
889
783
|
left: 4px;
|
|
890
784
|
color: var(--text-color);
|
|
891
785
|
background-color: var(--message-color);
|
|
892
786
|
}
|
|
787
|
+
|
|
893
788
|
.menu-primario.outros {
|
|
894
789
|
right: 4px;
|
|
895
790
|
color: var(--text-color);
|
|
896
791
|
background-color: #fff;
|
|
897
792
|
}
|
|
898
793
|
|
|
899
|
-
.menu-primario.outros
|
|
794
|
+
.menu-primario.outros>span:nth-child(1) {
|
|
900
795
|
order: 10;
|
|
901
796
|
}
|
|
902
797
|
|
|
@@ -956,7 +851,8 @@ export default {
|
|
|
956
851
|
display: flex;
|
|
957
852
|
justify-content: flex-end;
|
|
958
853
|
}
|
|
959
|
-
|
|
854
|
+
|
|
855
|
+
.mensagem__principal>.mensagem::after {
|
|
960
856
|
content: "";
|
|
961
857
|
width: 0;
|
|
962
858
|
height: 0;
|
|
@@ -968,28 +864,33 @@ export default {
|
|
|
968
864
|
right: -10px;
|
|
969
865
|
transform: rotate(-90deg);
|
|
970
866
|
}
|
|
971
|
-
|
|
867
|
+
|
|
868
|
+
.mensagem__principal>.mensagem {
|
|
972
869
|
background-color: var(--message-color);
|
|
973
870
|
color: var(--text-color);
|
|
974
871
|
}
|
|
975
872
|
|
|
976
|
-
.mensagem__principal
|
|
873
|
+
.mensagem__principal>.mensagem .horario-envio {
|
|
977
874
|
color: var(--text-color);
|
|
978
875
|
}
|
|
979
|
-
|
|
876
|
+
|
|
877
|
+
.mensagem__principal>.mensagem .autor-mensagem {
|
|
980
878
|
right: 5px;
|
|
981
879
|
color: var(--text-color);
|
|
982
880
|
}
|
|
881
|
+
|
|
983
882
|
/* Outros */
|
|
984
883
|
.mensagem__outros {
|
|
985
884
|
width: 100%;
|
|
986
885
|
display: flex;
|
|
987
886
|
}
|
|
988
|
-
|
|
887
|
+
|
|
888
|
+
.mensagem__outros>.mensagem {
|
|
989
889
|
background-color: #fff;
|
|
990
890
|
color: #333;
|
|
991
891
|
}
|
|
992
|
-
|
|
892
|
+
|
|
893
|
+
.mensagem__outros>.mensagem::after {
|
|
993
894
|
content: "";
|
|
994
895
|
width: 0;
|
|
995
896
|
height: 0;
|
|
@@ -1001,13 +902,15 @@ export default {
|
|
|
1001
902
|
left: -10px;
|
|
1002
903
|
transform: rotate(90deg);
|
|
1003
904
|
}
|
|
905
|
+
|
|
1004
906
|
/* .mensagem__outros .check{
|
|
1005
907
|
display: none
|
|
1006
908
|
} */
|
|
1007
|
-
.mensagem__outros
|
|
909
|
+
.mensagem__outros>.autor-mensagem {
|
|
1008
910
|
left: 5px;
|
|
1009
911
|
color: #333;
|
|
1010
912
|
}
|
|
913
|
+
|
|
1011
914
|
/* Mapa */
|
|
1012
915
|
.mensagem-div-mapa {
|
|
1013
916
|
width: 100%;
|
|
@@ -1024,6 +927,7 @@ export default {
|
|
|
1024
927
|
height: 100%;
|
|
1025
928
|
box-sizing: initial;
|
|
1026
929
|
}
|
|
930
|
+
|
|
1027
931
|
.msg-mapa img {
|
|
1028
932
|
max-width: none !important;
|
|
1029
933
|
}
|
|
@@ -1031,13 +935,16 @@ export default {
|
|
|
1031
935
|
.info-mapa {
|
|
1032
936
|
list-style-type: none;
|
|
1033
937
|
}
|
|
938
|
+
|
|
1034
939
|
.info-mapa li.title {
|
|
1035
940
|
font-size: 0.85em;
|
|
1036
941
|
}
|
|
942
|
+
|
|
1037
943
|
.info-mapa li.address,
|
|
1038
944
|
.info-mapa li.url {
|
|
1039
945
|
font-size: 0.85em;
|
|
1040
946
|
}
|
|
947
|
+
|
|
1041
948
|
.info-mapa li.url {
|
|
1042
949
|
font-size: 0.85em;
|
|
1043
950
|
}
|
|
@@ -1058,6 +965,7 @@ export default {
|
|
|
1058
965
|
width: 300px;
|
|
1059
966
|
height: 250px;
|
|
1060
967
|
}
|
|
968
|
+
|
|
1061
969
|
/* .emoji-message-container {
|
|
1062
970
|
z-index: 1;
|
|
1063
971
|
overflow: hidden;
|
|
@@ -1085,6 +993,7 @@ export default {
|
|
|
1085
993
|
width: 300px;
|
|
1086
994
|
height: 250px;
|
|
1087
995
|
}
|
|
996
|
+
|
|
1088
997
|
.emoji-message-container .sm-emoji-picker .sm-emoji-header {
|
|
1089
998
|
overflow-x: auto;
|
|
1090
999
|
overflow-y: hidden;
|
|
@@ -1106,7 +1015,7 @@ export default {
|
|
|
1106
1015
|
max-height: 1.8em;
|
|
1107
1016
|
}
|
|
1108
1017
|
|
|
1109
|
-
.reaction
|
|
1018
|
+
.reaction>span {
|
|
1110
1019
|
display: block;
|
|
1111
1020
|
transform: translateY(-1px);
|
|
1112
1021
|
}
|