vue-intergrall-plugins 0.0.280 → 0.0.282

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