vue-intergrall-plugins 1.1.11 → 1.1.13

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.
Files changed (44) hide show
  1. package/README.md +220 -220
  2. package/dist/vue-intergrall-plugins.esm.js +56 -48
  3. package/dist/vue-intergrall-plugins.min.js +1 -1
  4. package/dist/vue-intergrall-plugins.ssr.js +129 -121
  5. package/package.json +66 -66
  6. package/src/lib-components/Buttons/IconButton.vue +27 -27
  7. package/src/lib-components/Buttons/SimpleButton.vue +140 -140
  8. package/src/lib-components/Cards/Card.vue +490 -490
  9. package/src/lib-components/Cards/CardCheck.vue +35 -35
  10. package/src/lib-components/Cards/CardFile.vue +163 -163
  11. package/src/lib-components/Chat/BtnDownloadAllFiles.vue +36 -36
  12. package/src/lib-components/Chat/BtnEmojis.vue +118 -118
  13. package/src/lib-components/Chat/BtnExpand.vue +17 -17
  14. package/src/lib-components/Chat/BtnFiles.vue +486 -486
  15. package/src/lib-components/Chat/BtnMic.vue +60 -60
  16. package/src/lib-components/Chat/BtnScreenShare.vue +31 -31
  17. package/src/lib-components/Chat/BtnStandardMessages.vue +17 -17
  18. package/src/lib-components/Chat/ExpandTextarea.vue +427 -427
  19. package/src/lib-components/Chat/MultipleFilePreview.vue +291 -291
  20. package/src/lib-components/Chat/Picker.vue +405 -405
  21. package/src/lib-components/Chat/RemainingCharacters.vue +28 -28
  22. package/src/lib-components/Chat/SingleFilePreview.vue +94 -94
  23. package/src/lib-components/Chat/SkeletonPicker.vue +110 -110
  24. package/src/lib-components/Chat/StandardMessages.vue +252 -252
  25. package/src/lib-components/Chat/TextFooter.vue +1007 -1007
  26. package/src/lib-components/Email/EmailExpanded.vue +270 -270
  27. package/src/lib-components/Email/EmailFile.vue +192 -192
  28. package/src/lib-components/Email/EmailFrom.vue +66 -66
  29. package/src/lib-components/Email/EmailItem.vue +941 -933
  30. package/src/lib-components/Email/EmailTo.vue +57 -57
  31. package/src/lib-components/Loader/Loader.vue +78 -78
  32. package/src/lib-components/Messages/AnexoMensagem.vue +415 -415
  33. package/src/lib-components/Messages/CardAttachment.vue +61 -61
  34. package/src/lib-components/Messages/CardMessages.vue +687 -687
  35. package/src/lib-components/Messages/InteratividadeBotoes.vue +199 -199
  36. package/src/lib-components/Messages/InteratividadeContato.vue +32 -32
  37. package/src/lib-components/Messages/InteratividadeContatoItem.vue +213 -213
  38. package/src/lib-components/Messages/InteratividadeFormulario.vue +334 -334
  39. package/src/lib-components/Messages/InteratividadePopup.vue +95 -95
  40. package/src/lib-components/Messages/LinkPreview.vue +176 -176
  41. package/src/lib-components/Scroll/ScrollContent.vue +166 -166
  42. package/src/lib-components/Templates/TemplateGenerator.vue +640 -640
  43. package/src/lib-components/Templates/TemplateMessage.vue +83 -83
  44. package/src/lib-components/Templates/TemplateSingle.vue +478 -478
@@ -1,415 +1,415 @@
1
- <template>
2
- <div class="mensagem-div-anexo">
3
- <div class="anexo-mensagem">
4
- <img v-if="imageURL" @click="showImage(imageURL)" :src="imageURL" :alt="dictionary.alt_msg_img" />
5
- <div class="divAudioPai" v-else-if="audio">
6
- <audio ref="audioPlayer" class="audioStyle" controls="controls">
7
- <source :src="docURL" :type="fileType" />
8
- Sem suporte para o elemento audio
9
- </audio>
10
- <audio-speed-control @change-speed="changeAudioSpeed"></audio-speed-control>
11
- </div>
12
-
13
- <video v-else-if="video" controls="controls">
14
- <source :src="docURL" :type="fileType" />
15
- Sem suporte para o elemento video
16
- </video>
17
- <span v-else-if="docURL" @click="openWindowFromURL(docURL)" class="default-doc">
18
- <fa-icon :class="[iconClass]" :icon="icon" />
19
- <p v-text="filename" :title="filename"></p>
20
- </span>
21
- <span v-else class="default-doc">
22
- <fa-icon :class="[iconClass ? iconClass : '']" :icon="['fas', 'file-alt']" />
23
- <p v-text="filename" :title="filename"></p>
24
- </span>
25
- <!-- Acoes -->
26
- <div v-if="showControlFiles" class="file-actions">
27
- <span v-if="imageURL" class="file-action-button" @click="showImage(imageURL)">
28
- <fa-icon :icon="['fas', 'search-plus']" v-tippy :content="`${dictionary.titulo_visualizar_img}`" />
29
- </span>
30
- <span v-if="docURL" @click="openWindowFromURL(docURL)" v-tippy :content="`Visualizar anexo`"
31
- class="file-action-button">
32
- <fa-icon :icon="['fas', 'search-plus']" />
33
- </span>
34
- <a v-if="imageURL || docURL" :href="imageURL ? imageURL : docURL" :download="`${filename}`" target="_blank"
35
- rel="noreferrer noopener" v-tippy :content="`Fazer o download do anexo`" class="file-action-button">
36
- <fa-icon :icon="['fas', 'download']" />
37
- </a>
38
- <template v-if="imageURL || docURL">
39
- <tippy interactive theme="light" trigger="click">
40
- <template v-slot:trigger>
41
- <span class="file-action-button" ref="download-multiple-trigger" v-tippy
42
- :content="`Fazer o download de todos anexos da conversa`">
43
- <fa-icon :icon="['fas', 'download']" />
44
- <fa-icon :icon="['fas', 'download']" />
45
- <fa-icon :icon="['fas', 'download']" />
46
- </span>
47
- </template>
48
-
49
- <div class="tippy-confirmation">
50
- <p>Deseja fazer download de todos anexos da tela?</p>
51
- <button class="cancel box-shadow" @click="closeTippy">Cancelar</button>
52
- <button class="confirm box-shadow" @click="downloadAllFilesHandler(referenceSelector)">
53
- Confirmar
54
- </button>
55
- </div>
56
- </tippy>
57
- </template>
58
- </div>
59
- </div>
60
- </div>
61
- </template>
62
-
63
- <style>
64
- .tippy-tooltip.light-theme .tippy-backdrop {
65
- background-color: #fff;
66
- }
67
-
68
- .tippy-tooltip.light-theme {
69
- /* .tippy-box[data-theme~='light'] { */
70
- background-color: #fff;
71
- border: 1px solid #ccc;
72
- color: #333;
73
- -webkit-box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2),
74
- 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
75
- -moz-box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2),
76
- 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
77
- box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14),
78
- 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
79
- }
80
-
81
- .tippy-confirmation p {
82
- margin-bottom: 3px;
83
- }
84
-
85
- .tippy-confirmation button {
86
- border: unset;
87
- background-color: #f1f1f1;
88
- border-radius: 3px;
89
- padding: 5px 8px;
90
- cursor: pointer;
91
- font-size: 12px;
92
- }
93
-
94
- .tippy-confirmation button.cancel {
95
- border-bottom: 2px solid red;
96
- margin-right: 15px;
97
- }
98
-
99
- .tippy-confirmation button.confirm {
100
- border-bottom: 2px solid green;
101
- }
102
- </style>
103
-
104
- <script>
105
- import { fileHandler } from "../../mixins/fileHandler";
106
- import AudioSpeedControl from "../Chat/AudioSpeedControl.vue";
107
- import Loader from "../Loader/Loader";
108
-
109
- export default {
110
- mixins: [fileHandler],
111
- components: { Loader, AudioSpeedControl },
112
- props: {
113
- anexo: {
114
- type: Object,
115
- required: true,
116
- },
117
- dominio: {
118
- type: String,
119
- required: true,
120
- },
121
- dictionary: {
122
- type: Object,
123
- required: true,
124
- },
125
- origemExterna: {
126
- type: Boolean,
127
- required: false,
128
- },
129
- referenceSelector: {
130
- type: String,
131
- required: true,
132
- },
133
- showControlFiles: { type: Boolean },
134
- },
135
- data() {
136
- return {
137
- imgErro: false,
138
- imgMsgErro: "",
139
- };
140
- },
141
- mounted() {
142
- if (this.validarAnexo()) {
143
- this.setFileVars(this.anexo, { dominio: this.dominio });
144
- }
145
- },
146
- methods: {
147
- changeAudioSpeed(newSpeed) {
148
- // Aplique a velocidade ao elemento de áudio
149
- this.$refs.audioPlayer.playbackRate = newSpeed;
150
- },
151
- validarAnexo() {
152
- let status = true;
153
- //caso for audio ou documento ignorar
154
- if (this.anexo.docURL || this.anexo.audio) return true;
155
- if (!this.anexo.name) {
156
- this.imgMsgErro = this.dictionary.img_com_erro_nome;
157
- status = false;
158
- }
159
- if (!this.anexo.nomeGravacao) {
160
- this.imgMsgErro = this.dictionary.img_com_erro_nome_gravacao;
161
- status = false;
162
- }
163
- if (!this.anexo.type) {
164
- this.imgMsgErro = this.dictionary.img_com_erro_tipo;
165
- status = false;
166
- }
167
- if (status == false) {
168
- this.imgErro = true;
169
- this.isLoading = false;
170
- }
171
- return status;
172
- },
173
- closeTippy() {
174
- this.$refs["download-multiple-trigger"] &&
175
- this.$refs["download-multiple-trigger"].click();
176
- },
177
- },
178
- };
179
- </script>
180
-
181
- <style>
182
- .mensagem__principal .default-doc {
183
- background-color: var(--files-bg);
184
- }
185
-
186
- .mensagem__principal .default-doc:hover {
187
- background-color: var(--files-bg-hover);
188
- }
189
-
190
- .mensagem__outros .default-doc {
191
- background-color: rgba(100, 100, 100, 0.1);
192
- }
193
-
194
- .mensagem__outros .default-doc:hover {
195
- background-color: rgba(100, 100, 100, 0.3);
196
- }
197
-
198
- .default-doc:hover p {
199
- text-decoration: underline;
200
- }
201
-
202
- .default-doc {
203
- display: flex;
204
- align-items: center;
205
- padding: 10px;
206
- border-radius: 5px;
207
- width: 100%;
208
- max-width: 100%;
209
- cursor: pointer;
210
- transition: background-color 150ms ease-in-out;
211
- }
212
-
213
- .default-doc svg {
214
- font-size: 19.2px;
215
- margin: 0 5px;
216
- }
217
-
218
- .default-doc p {
219
- overflow: hidden;
220
- text-overflow: ellipsis;
221
- white-space: nowrap;
222
- }
223
-
224
- .file-actions {
225
- display: flex;
226
- justify-content: flex-end;
227
- width: 100%;
228
- padding: 5px;
229
- }
230
-
231
- .file-actions a {
232
- margin-right: 0;
233
- }
234
-
235
- .mensagem__principal .file-action-button {
236
- background-color: var(--files-bg);
237
- }
238
-
239
- .mensagem__outros .file-action-button {
240
- background-color: rgba(100, 100, 100, 0.1);
241
- }
242
-
243
- .mensagem__principal .file-action-button:hover {
244
- background-color: var(--files-bg-hover);
245
- }
246
-
247
- .mensagem__outros .file-action-button:hover {
248
- background-color: rgba(100, 100, 100, 0.3);
249
- }
250
-
251
- .file-action-button {
252
- display: flex;
253
- justify-content: center;
254
- align-items: center;
255
- margin-left: 12px;
256
- cursor: pointer;
257
- padding: 5px;
258
- border-radius: 5px;
259
- transition: background-color 150ms ease-in-out;
260
- }
261
-
262
- .file-action-button a {
263
- margin: 0;
264
- }
265
-
266
- .fade-enter-active,
267
- .fade-leave-active {
268
- transition: opacity 0.5s;
269
- }
270
-
271
- .fade-enter,
272
- .fade-leave-to {
273
- opacity: 0;
274
- }
275
-
276
- .mensagem-div-anexo {
277
- width: 100%;
278
- display: flex;
279
- justify-content: center;
280
- align-items: center;
281
- flex-direction: column;
282
- overflow: hidden;
283
- }
284
-
285
- .anexo-container {
286
- width: 100%;
287
- margin-top: 5px;
288
- overflow: hidden;
289
- display: flex;
290
- max-height: 300px;
291
- }
292
-
293
- .anexo-container a,
294
- .anexo-container .arquivo-erro {
295
- padding: 10px 15px 15px 15px;
296
- display: flex;
297
- justify-content: center;
298
- align-items: center;
299
- }
300
-
301
- .anexo-container p {
302
- text-overflow: ellipsis;
303
- overflow: hidden;
304
- }
305
-
306
- .anexo-container p,
307
- .anexo-container .arquivo-erro {
308
- margin: 0;
309
- margin-left: 15px;
310
- font-size: 14.4px;
311
- }
312
-
313
- .anexo-container svg {
314
- font-size: 32px;
315
- }
316
-
317
- .anexo-mensagem audio .divAudioPai {
318
- outline: none;
319
- width: 100%;
320
- margin-bottom: 5px;
321
- }
322
-
323
- .audioStyle {
324
- width: 370px;
325
- min-width: calc(100% - 45px);
326
- }
327
-
328
- .divAudioPai {
329
- display: flex;
330
- /* justify-content: space-between; */
331
- background-color: #f1f3f4;
332
- border-radius: 50%;
333
- width: 100%;
334
- border-bottom-right-radius: 26px;
335
- border-top-right-radius: 26px;
336
- }
337
-
338
- .anexo-mensagem video {
339
- flex: 1;
340
- width: 100%;
341
- max-width: 350px;
342
- cursor: pointer;
343
- margin-bottom: 5px;
344
- }
345
-
346
- .anexos-links-container {
347
- width: 100%;
348
- display: flex;
349
- justify-content: center;
350
- align-items: center;
351
- }
352
-
353
- .anexos-links-container a {
354
- white-space: nowrap;
355
- text-overflow: ellipsis;
356
- overflow: hidden;
357
- margin-right: 5px;
358
- font-weight: 550;
359
- color: inherit;
360
- text-decoration: none;
361
- }
362
-
363
- .anexos-links-container svg {
364
- cursor: pointer;
365
- }
366
-
367
- .mensagem-div-anexo img {
368
- cursor: pointer;
369
- margin: 10px 0;
370
- min-width: 35px;
371
- width: 100%;
372
- max-width: 250px;
373
- }
374
-
375
- .anexo-transition {
376
- width: 100%;
377
- height: 100%;
378
- }
379
-
380
- .anexo-mensagem {
381
- display: flex;
382
- justify-content: center;
383
- align-items: center;
384
- flex-direction: column;
385
- width: 100%;
386
- }
387
-
388
- .alert-danger {
389
- color: #721c24;
390
- background-color: #f8d7da;
391
- border-color: #f5c6cb;
392
- }
393
-
394
- .alert {
395
- position: relative;
396
- padding: 10.4px 19.2px;
397
- margin: 5px 0;
398
- border: 1px solid transparent;
399
- border-radius: 4px;
400
- text-align: center;
401
- }
402
-
403
- .alert svg {
404
- font-size: 16.4px;
405
- margin-right: 2px;
406
- }
407
-
408
- .pdf {
409
- color: #e74c3c;
410
- }
411
-
412
- .doc {
413
- color: #006bc9;
414
- }
415
- </style>
1
+ <template>
2
+ <div class="mensagem-div-anexo">
3
+ <div class="anexo-mensagem">
4
+ <img v-if="imageURL" @click="showImage(imageURL)" :src="imageURL" :alt="dictionary.alt_msg_img" />
5
+ <div class="divAudioPai" v-else-if="audio">
6
+ <audio ref="audioPlayer" class="audioStyle" controls="controls">
7
+ <source :src="docURL" :type="fileType" />
8
+ Sem suporte para o elemento audio
9
+ </audio>
10
+ <audio-speed-control @change-speed="changeAudioSpeed"></audio-speed-control>
11
+ </div>
12
+
13
+ <video v-else-if="video" controls="controls">
14
+ <source :src="docURL" :type="fileType" />
15
+ Sem suporte para o elemento video
16
+ </video>
17
+ <span v-else-if="docURL" @click="openWindowFromURL(docURL)" class="default-doc">
18
+ <fa-icon :class="[iconClass]" :icon="icon" />
19
+ <p v-text="filename" :title="filename"></p>
20
+ </span>
21
+ <span v-else class="default-doc">
22
+ <fa-icon :class="[iconClass ? iconClass : '']" :icon="['fas', 'file-alt']" />
23
+ <p v-text="filename" :title="filename"></p>
24
+ </span>
25
+ <!-- Acoes -->
26
+ <div v-if="showControlFiles" class="file-actions">
27
+ <span v-if="imageURL" class="file-action-button" @click="showImage(imageURL)">
28
+ <fa-icon :icon="['fas', 'search-plus']" v-tippy :content="`${dictionary.titulo_visualizar_img}`" />
29
+ </span>
30
+ <span v-if="docURL" @click="openWindowFromURL(docURL)" v-tippy :content="`Visualizar anexo`"
31
+ class="file-action-button">
32
+ <fa-icon :icon="['fas', 'search-plus']" />
33
+ </span>
34
+ <a v-if="imageURL || docURL" :href="imageURL ? imageURL : docURL" :download="`${filename}`" target="_blank"
35
+ rel="noreferrer noopener" v-tippy :content="`Fazer o download do anexo`" class="file-action-button">
36
+ <fa-icon :icon="['fas', 'download']" />
37
+ </a>
38
+ <template v-if="imageURL || docURL">
39
+ <tippy interactive theme="light" trigger="click">
40
+ <template v-slot:trigger>
41
+ <span class="file-action-button" ref="download-multiple-trigger" v-tippy
42
+ :content="`Fazer o download de todos anexos da conversa`">
43
+ <fa-icon :icon="['fas', 'download']" />
44
+ <fa-icon :icon="['fas', 'download']" />
45
+ <fa-icon :icon="['fas', 'download']" />
46
+ </span>
47
+ </template>
48
+
49
+ <div class="tippy-confirmation">
50
+ <p>Deseja fazer download de todos anexos da tela?</p>
51
+ <button class="cancel box-shadow" @click="closeTippy">Cancelar</button>
52
+ <button class="confirm box-shadow" @click="downloadAllFilesHandler(referenceSelector)">
53
+ Confirmar
54
+ </button>
55
+ </div>
56
+ </tippy>
57
+ </template>
58
+ </div>
59
+ </div>
60
+ </div>
61
+ </template>
62
+
63
+ <style>
64
+ .tippy-tooltip.light-theme .tippy-backdrop {
65
+ background-color: #fff;
66
+ }
67
+
68
+ .tippy-tooltip.light-theme {
69
+ /* .tippy-box[data-theme~='light'] { */
70
+ background-color: #fff;
71
+ border: 1px solid #ccc;
72
+ color: #333;
73
+ -webkit-box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2),
74
+ 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
75
+ -moz-box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2),
76
+ 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
77
+ box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14),
78
+ 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
79
+ }
80
+
81
+ .tippy-confirmation p {
82
+ margin-bottom: 3px;
83
+ }
84
+
85
+ .tippy-confirmation button {
86
+ border: unset;
87
+ background-color: #f1f1f1;
88
+ border-radius: 3px;
89
+ padding: 5px 8px;
90
+ cursor: pointer;
91
+ font-size: 12px;
92
+ }
93
+
94
+ .tippy-confirmation button.cancel {
95
+ border-bottom: 2px solid red;
96
+ margin-right: 15px;
97
+ }
98
+
99
+ .tippy-confirmation button.confirm {
100
+ border-bottom: 2px solid green;
101
+ }
102
+ </style>
103
+
104
+ <script>
105
+ import { fileHandler } from "../../mixins/fileHandler";
106
+ import AudioSpeedControl from "../Chat/AudioSpeedControl.vue";
107
+ import Loader from "../Loader/Loader";
108
+
109
+ export default {
110
+ mixins: [fileHandler],
111
+ components: { Loader, AudioSpeedControl },
112
+ props: {
113
+ anexo: {
114
+ type: Object,
115
+ required: true,
116
+ },
117
+ dominio: {
118
+ type: String,
119
+ required: true,
120
+ },
121
+ dictionary: {
122
+ type: Object,
123
+ required: true,
124
+ },
125
+ origemExterna: {
126
+ type: Boolean,
127
+ required: false,
128
+ },
129
+ referenceSelector: {
130
+ type: String,
131
+ required: true,
132
+ },
133
+ showControlFiles: { type: Boolean },
134
+ },
135
+ data() {
136
+ return {
137
+ imgErro: false,
138
+ imgMsgErro: "",
139
+ };
140
+ },
141
+ mounted() {
142
+ if (this.validarAnexo()) {
143
+ this.setFileVars(this.anexo, { dominio: this.dominio });
144
+ }
145
+ },
146
+ methods: {
147
+ changeAudioSpeed(newSpeed) {
148
+ // Aplique a velocidade ao elemento de áudio
149
+ this.$refs.audioPlayer.playbackRate = newSpeed;
150
+ },
151
+ validarAnexo() {
152
+ let status = true;
153
+ //caso for audio ou documento ignorar
154
+ if (this.anexo.docURL || this.anexo.audio) return true;
155
+ if (!this.anexo.name) {
156
+ this.imgMsgErro = this.dictionary.img_com_erro_nome;
157
+ status = false;
158
+ }
159
+ if (!this.anexo.nomeGravacao) {
160
+ this.imgMsgErro = this.dictionary.img_com_erro_nome_gravacao;
161
+ status = false;
162
+ }
163
+ if (!this.anexo.type) {
164
+ this.imgMsgErro = this.dictionary.img_com_erro_tipo;
165
+ status = false;
166
+ }
167
+ if (status == false) {
168
+ this.imgErro = true;
169
+ this.isLoading = false;
170
+ }
171
+ return status;
172
+ },
173
+ closeTippy() {
174
+ this.$refs["download-multiple-trigger"] &&
175
+ this.$refs["download-multiple-trigger"].click();
176
+ },
177
+ },
178
+ };
179
+ </script>
180
+
181
+ <style>
182
+ .mensagem__principal .default-doc {
183
+ background-color: var(--files-bg);
184
+ }
185
+
186
+ .mensagem__principal .default-doc:hover {
187
+ background-color: var(--files-bg-hover);
188
+ }
189
+
190
+ .mensagem__outros .default-doc {
191
+ background-color: rgba(100, 100, 100, 0.1);
192
+ }
193
+
194
+ .mensagem__outros .default-doc:hover {
195
+ background-color: rgba(100, 100, 100, 0.3);
196
+ }
197
+
198
+ .default-doc:hover p {
199
+ text-decoration: underline;
200
+ }
201
+
202
+ .default-doc {
203
+ display: flex;
204
+ align-items: center;
205
+ padding: 10px;
206
+ border-radius: 5px;
207
+ width: 100%;
208
+ max-width: 100%;
209
+ cursor: pointer;
210
+ transition: background-color 150ms ease-in-out;
211
+ }
212
+
213
+ .default-doc svg {
214
+ font-size: 19.2px;
215
+ margin: 0 5px;
216
+ }
217
+
218
+ .default-doc p {
219
+ overflow: hidden;
220
+ text-overflow: ellipsis;
221
+ white-space: nowrap;
222
+ }
223
+
224
+ .file-actions {
225
+ display: flex;
226
+ justify-content: flex-end;
227
+ width: 100%;
228
+ padding: 5px;
229
+ }
230
+
231
+ .file-actions a {
232
+ margin-right: 0;
233
+ }
234
+
235
+ .mensagem__principal .file-action-button {
236
+ background-color: var(--files-bg);
237
+ }
238
+
239
+ .mensagem__outros .file-action-button {
240
+ background-color: rgba(100, 100, 100, 0.1);
241
+ }
242
+
243
+ .mensagem__principal .file-action-button:hover {
244
+ background-color: var(--files-bg-hover);
245
+ }
246
+
247
+ .mensagem__outros .file-action-button:hover {
248
+ background-color: rgba(100, 100, 100, 0.3);
249
+ }
250
+
251
+ .file-action-button {
252
+ display: flex;
253
+ justify-content: center;
254
+ align-items: center;
255
+ margin-left: 12px;
256
+ cursor: pointer;
257
+ padding: 5px;
258
+ border-radius: 5px;
259
+ transition: background-color 150ms ease-in-out;
260
+ }
261
+
262
+ .file-action-button a {
263
+ margin: 0;
264
+ }
265
+
266
+ .fade-enter-active,
267
+ .fade-leave-active {
268
+ transition: opacity 0.5s;
269
+ }
270
+
271
+ .fade-enter,
272
+ .fade-leave-to {
273
+ opacity: 0;
274
+ }
275
+
276
+ .mensagem-div-anexo {
277
+ width: 100%;
278
+ display: flex;
279
+ justify-content: center;
280
+ align-items: center;
281
+ flex-direction: column;
282
+ overflow: hidden;
283
+ }
284
+
285
+ .anexo-container {
286
+ width: 100%;
287
+ margin-top: 5px;
288
+ overflow: hidden;
289
+ display: flex;
290
+ max-height: 300px;
291
+ }
292
+
293
+ .anexo-container a,
294
+ .anexo-container .arquivo-erro {
295
+ padding: 10px 15px 15px 15px;
296
+ display: flex;
297
+ justify-content: center;
298
+ align-items: center;
299
+ }
300
+
301
+ .anexo-container p {
302
+ text-overflow: ellipsis;
303
+ overflow: hidden;
304
+ }
305
+
306
+ .anexo-container p,
307
+ .anexo-container .arquivo-erro {
308
+ margin: 0;
309
+ margin-left: 15px;
310
+ font-size: 14.4px;
311
+ }
312
+
313
+ .anexo-container svg {
314
+ font-size: 32px;
315
+ }
316
+
317
+ .anexo-mensagem audio .divAudioPai {
318
+ outline: none;
319
+ width: 100%;
320
+ margin-bottom: 5px;
321
+ }
322
+
323
+ .audioStyle {
324
+ width: 370px;
325
+ min-width: calc(100% - 45px);
326
+ }
327
+
328
+ .divAudioPai {
329
+ display: flex;
330
+ /* justify-content: space-between; */
331
+ background-color: #f1f3f4;
332
+ border-radius: 50%;
333
+ width: 100%;
334
+ border-bottom-right-radius: 26px;
335
+ border-top-right-radius: 26px;
336
+ }
337
+
338
+ .anexo-mensagem video {
339
+ flex: 1;
340
+ width: 100%;
341
+ max-width: 350px;
342
+ cursor: pointer;
343
+ margin-bottom: 5px;
344
+ }
345
+
346
+ .anexos-links-container {
347
+ width: 100%;
348
+ display: flex;
349
+ justify-content: center;
350
+ align-items: center;
351
+ }
352
+
353
+ .anexos-links-container a {
354
+ white-space: nowrap;
355
+ text-overflow: ellipsis;
356
+ overflow: hidden;
357
+ margin-right: 5px;
358
+ font-weight: 550;
359
+ color: inherit;
360
+ text-decoration: none;
361
+ }
362
+
363
+ .anexos-links-container svg {
364
+ cursor: pointer;
365
+ }
366
+
367
+ .mensagem-div-anexo img {
368
+ cursor: pointer;
369
+ margin: 10px 0;
370
+ min-width: 35px;
371
+ width: 100%;
372
+ max-width: 250px;
373
+ }
374
+
375
+ .anexo-transition {
376
+ width: 100%;
377
+ height: 100%;
378
+ }
379
+
380
+ .anexo-mensagem {
381
+ display: flex;
382
+ justify-content: center;
383
+ align-items: center;
384
+ flex-direction: column;
385
+ width: 100%;
386
+ }
387
+
388
+ .alert-danger {
389
+ color: #721c24;
390
+ background-color: #f8d7da;
391
+ border-color: #f5c6cb;
392
+ }
393
+
394
+ .alert {
395
+ position: relative;
396
+ padding: 10.4px 19.2px;
397
+ margin: 5px 0;
398
+ border: 1px solid transparent;
399
+ border-radius: 4px;
400
+ text-align: center;
401
+ }
402
+
403
+ .alert svg {
404
+ font-size: 16.4px;
405
+ margin-right: 2px;
406
+ }
407
+
408
+ .pdf {
409
+ color: #e74c3c;
410
+ }
411
+
412
+ .doc {
413
+ color: #006bc9;
414
+ }
415
+ </style>