vue-intergrall-plugins 0.0.287 → 0.0.289

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