vue-intergrall-plugins 0.0.274 → 0.0.280

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