vue-intergrall-plugins 0.0.208 → 0.0.211
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -2
- package/dist/vue-intergrall-plugins.esm.js +312 -319
- package/dist/vue-intergrall-plugins.min.js +1 -1
- package/dist/vue-intergrall-plugins.ssr.js +321 -330
- package/package.json +1 -1
- package/src/lib-components/Cards/CardFile.vue +11 -67
- package/src/lib-components/Chat/BtnFiles.vue +50 -23
- package/src/lib-components/Chat/MultipleFilePreview.vue +22 -12
- package/src/lib-components/Chat/SingleFilePreview.vue +2 -2
- package/src/lib-components/Chat/StandardMessages.vue +3 -3
- package/src/lib-components/Chat/TextFooter.vue +6 -4
- package/src/lib-components/Messages/AnexoMensagem.vue +36 -76
- package/src/lib-components/Messages/CardAttachment.vue +12 -68
- package/src/lib-components/Messages/InteratividadeFormulario.vue +10 -16
- package/src/lib-components/Templates/TemplateGenerator.vue +34 -30
|
@@ -3552,11 +3552,17 @@ var __vue_render__$n = function () {
|
|
|
3552
3552
|
"textContent": _vm._s(_vm.dictionary.titulo_msg_formato_invalido)
|
|
3553
3553
|
}
|
|
3554
3554
|
}), _vm._v(" "), _c('h4', {
|
|
3555
|
+
attrs: {
|
|
3556
|
+
"title": _vm.validFileFormats
|
|
3557
|
+
},
|
|
3555
3558
|
domProps: {
|
|
3556
3559
|
"textContent": _vm._s(_vm.validFileFormats)
|
|
3557
3560
|
}
|
|
3558
3561
|
})]) : [_vm.file.name ? _c('h3', {
|
|
3559
|
-
staticClass: "text-footer-preview-title"
|
|
3562
|
+
staticClass: "text-footer-preview-title",
|
|
3563
|
+
attrs: {
|
|
3564
|
+
"title": _vm.file.name
|
|
3565
|
+
}
|
|
3560
3566
|
}, [_vm.isDoc ? _c('fa-icon', {
|
|
3561
3567
|
attrs: {
|
|
3562
3568
|
"icon": ['fas', 'file-alt']
|
|
@@ -3583,7 +3589,7 @@ var __vue_staticRenderFns__$n = [];
|
|
|
3583
3589
|
|
|
3584
3590
|
const __vue_inject_styles__$n = function (inject) {
|
|
3585
3591
|
if (!inject) return;
|
|
3586
|
-
inject("data-v-
|
|
3592
|
+
inject("data-v-a5119ba8_0", {
|
|
3587
3593
|
source: ".single-file-preview .close-icon{color:#e74c3c;cursor:pointer;opacity:.9;transition:opacity .3s}.single-file-preview .close-icon:hover{opacity:1}.text-footer-invalid-format{color:#222;padding:10px}.text-footer-invalid-format h3{font-weight:500}.text-footer-invalid-format h4{font-size:.9rem}.text-footer-preview-title{font-size:1rem;padding:10px 0 0 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.text-footer-image-preview{display:flex;justify-content:center;align-items:center;width:100%}.text-footer-image-preview img{cursor:pointer;max-width:98%;max-height:98%;padding:2%}",
|
|
3588
3594
|
map: undefined,
|
|
3589
3595
|
media: undefined
|
|
@@ -3743,6 +3749,9 @@ var __vue_render__$m = function () {
|
|
|
3743
3749
|
"textContent": _vm._s(_vm.dictionary.titulo_msg_formato_invalido)
|
|
3744
3750
|
}
|
|
3745
3751
|
}), _vm._v(" "), _c('h4', {
|
|
3752
|
+
attrs: {
|
|
3753
|
+
"title": _vm.validFileFormats
|
|
3754
|
+
},
|
|
3746
3755
|
domProps: {
|
|
3747
3756
|
"innerHTML": _vm._s(_vm.validFileFormats)
|
|
3748
3757
|
}
|
|
@@ -3751,14 +3760,18 @@ var __vue_render__$m = function () {
|
|
|
3751
3760
|
key: index,
|
|
3752
3761
|
staticClass: "file-preview"
|
|
3753
3762
|
}, [_c('p', {
|
|
3754
|
-
staticClass: "file-title"
|
|
3763
|
+
staticClass: "file-title",
|
|
3764
|
+
class: {
|
|
3765
|
+
'red': singleFile.invalid
|
|
3766
|
+
},
|
|
3767
|
+
attrs: {
|
|
3768
|
+
"title": !singleFile.invalid ? singleFile.name : (_vm.dictionary.titulo_msg_formato_invalido ? _vm.dictionary.titulo_msg_formato_invalido : 'Arquivo invalido') + " - " + singleFile.name
|
|
3769
|
+
}
|
|
3755
3770
|
}, [_c('fa-icon', {
|
|
3756
3771
|
attrs: {
|
|
3757
3772
|
"icon": _vm.icon(singleFile.imgOrDoc)
|
|
3758
3773
|
}
|
|
3759
|
-
}), _vm._v("\n " + _vm._s(singleFile.name) + "\n ")], 1), _vm._v(" "),
|
|
3760
|
-
staticClass: "file-title red"
|
|
3761
|
-
}, [_vm._v("\n " + _vm._s(_vm.dictionary.titulo_msg_formato_invalido ? _vm.dictionary.titulo_msg_formato_invalido : "Arquivo invalido") + "\n ")]) : _vm._e(), _vm._v(" "), _c('div', {
|
|
3774
|
+
}), _vm._v("\n " + _vm._s(!singleFile.invalid ? singleFile.name : (_vm.dictionary.titulo_msg_formato_invalido ? _vm.dictionary.titulo_msg_formato_invalido : "Arquivo invalido") + " - " + singleFile.name) + "\n ")], 1), _vm._v(" "), _c('div', {
|
|
3762
3775
|
staticClass: "small-img"
|
|
3763
3776
|
}, [singleFile.imgOrDoc === 'img' && !_vm.isPdf(singleFile.type) ? _c('span', {
|
|
3764
3777
|
staticClass: "img-container"
|
|
@@ -3779,9 +3792,24 @@ var __vue_render__$m = function () {
|
|
|
3779
3792
|
attrs: {
|
|
3780
3793
|
"icon": ['fas', 'file-pdf']
|
|
3781
3794
|
}
|
|
3782
|
-
})], 1) :
|
|
3795
|
+
})], 1) : _c('span', {
|
|
3796
|
+
staticClass: "doc"
|
|
3797
|
+
}, [_c('fa-icon', {
|
|
3798
|
+
attrs: {
|
|
3799
|
+
"icon": ['fas', 'file-alt']
|
|
3800
|
+
}
|
|
3801
|
+
})], 1)]), _vm._v(" "), _c('span', {
|
|
3802
|
+
directives: [{
|
|
3803
|
+
name: "tippy",
|
|
3804
|
+
rawName: "v-tippy",
|
|
3805
|
+
value: {
|
|
3806
|
+
placement: 'left'
|
|
3807
|
+
},
|
|
3808
|
+
expression: "{placement: 'left'}"
|
|
3809
|
+
}],
|
|
3783
3810
|
staticClass: "delete-file",
|
|
3784
3811
|
attrs: {
|
|
3812
|
+
"content": _vm.dictionary.msg_excluir_anexo,
|
|
3785
3813
|
"title": _vm.dictionary.msg_excluir_anexo
|
|
3786
3814
|
},
|
|
3787
3815
|
on: {
|
|
@@ -3802,8 +3830,8 @@ var __vue_staticRenderFns__$m = [];
|
|
|
3802
3830
|
|
|
3803
3831
|
const __vue_inject_styles__$m = function (inject) {
|
|
3804
3832
|
if (!inject) return;
|
|
3805
|
-
inject("data-v-
|
|
3806
|
-
source: ".multiple-file-preview{position:relative;display:flex;flex-direction:column;width:100%;height:100%;max-height:100%;overflow-y:auto;overflow-x:hidden;border-top-left-radius:2.5px;border-top-right-radius:2.5px;transition:background-color 150ms;scrollbar-color:#888 rgba(0,0,0,.2);scrollbar-width:4px}.multiple-file-preview::-webkit-scrollbar{width:4px}.multiple-file-preview .close-icon{color:#e74c3c;cursor:pointer;opacity:.9;transition:opacity .3s}.multiple-file-preview .close-icon:hover{opacity:1}.multiple-file-preview::-webkit-scrollbar-track{background-color:rgba(0,0,0,.2)}.multiple-file-preview::-webkit-scrollbar-thumb{transition-duration:.5s;background-color:#222}.multiple-file-preview::-webkit-scrollbar-thumb:hover{background-color:#555}.text-footer-invalid-format{color:#222;padding:10px}.text-footer-invalid-format h3{font-weight:500}.text-footer-invalid-format h4{font-size:.9rem}.text-footer-exclude-file{position:absolute;top:5px;right:5px;cursor:pointer;display:flex;justify-content:center;align-items:center;min-width:1rem;min-height:1rem;background-color:#fff;border-radius:50%}.text-footer-exclude-file svg{transition:color .2s;color:#e9594a}.text-footer-exclude-file svg:hover{color:#e74c3c}.file-preview{display:flex;width:100%;align-items:center;padding:5px 10px;transition:background-color 150ms}.file-preview:hover{background-color:rgba(0,0,0,.1)}.file-title{color:#222;display:flex;align-items:center;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding:4px 10px;background-color:#fff;border-radius:30px;display:inline-block}.file-title.red{color:#e74c3c;margin-
|
|
3833
|
+
inject("data-v-131a11b5_0", {
|
|
3834
|
+
source: ".multiple-file-preview{position:relative;display:flex;flex-direction:column;width:100%;height:100%;max-height:100%;overflow-y:auto;overflow-x:hidden;border-top-left-radius:2.5px;border-top-right-radius:2.5px;transition:background-color 150ms;scrollbar-color:#888 rgba(0,0,0,.2);scrollbar-width:4px}.multiple-file-preview::-webkit-scrollbar{width:4px}.multiple-file-preview .close-icon{color:#e74c3c;cursor:pointer;opacity:.9;transition:opacity .3s}.multiple-file-preview .close-icon:hover{opacity:1}.multiple-file-preview::-webkit-scrollbar-track{background-color:rgba(0,0,0,.2)}.multiple-file-preview::-webkit-scrollbar-thumb{transition-duration:.5s;background-color:#222}.multiple-file-preview::-webkit-scrollbar-thumb:hover{background-color:#555}.text-footer-invalid-format{color:#222;padding:10px}.text-footer-invalid-format h3{text-overflow:ellipsis;overflow:hidden;font-weight:500}.text-footer-invalid-format h4{text-overflow:ellipsis;overflow:hidden;font-size:.9rem}.text-footer-exclude-file{position:absolute;top:5px;right:5px;cursor:pointer;display:flex;justify-content:center;align-items:center;min-width:1rem;min-height:1rem;background-color:#fff;border-radius:50%}.text-footer-exclude-file svg{transition:color .2s;color:#e9594a}.text-footer-exclude-file svg:hover{color:#e74c3c}.file-preview{display:flex;width:100%;align-items:center;padding:5px 10px;transition:background-color 150ms}.file-preview:hover{background-color:rgba(0,0,0,.1)}.file-title{color:#222;display:flex;align-items:center;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding:4px 10px;background-color:#fff;border-radius:30px;display:inline-block}.file-title.red{color:#e74c3c;margin-right:5px}.file-title>svg{margin-right:5px;color:#333}.small-img{flex:1;margin:0 15px;display:flex;justify-content:center;align-items:center;position:relative}.small-img img{height:40px;cursor:pointer}.small-img .doc,.small-img .pdf{display:flex;justify-content:center;align-items:center;font-size:30px}.small-img .pdf{color:#e74c3c}.small-img .doc{color:#006bc9}.small-img .doc svg,.small-img .pdf svg{z-index:1}.small-img .doc::after,.small-img .pdf::after{content:\"\";position:absolute;bottom:2px;transform:translateY(2px);width:20px;height:20px;background-color:#fff}.img-container{padding:5px;border-radius:2.5px;background-color:rgba(0,0,0,.15);display:flex;justify-content:center;align-items:center}.delete-file{display:flex;justify-content:center;align-items:center;cursor:pointer}.delete-file>svg{font-size:1rem;color:#e74c3c}",
|
|
3807
3835
|
map: undefined,
|
|
3808
3836
|
media: undefined
|
|
3809
3837
|
});
|
|
@@ -3924,6 +3952,14 @@ var script$l = {
|
|
|
3924
3952
|
},
|
|
3925
3953
|
|
|
3926
3954
|
isFileValid(type, fileName) {
|
|
3955
|
+
if (type == "img" && !this.fileSettings.imagesExtensions || type == "doc" && !this.fileSettings.docsExtensions) {
|
|
3956
|
+
this.$toasted.global.defaultInfo({
|
|
3957
|
+
msg: this.dictionary.sem_extensoes_parametrizadas
|
|
3958
|
+
});
|
|
3959
|
+
this.hasAnyFile = false;
|
|
3960
|
+
return false;
|
|
3961
|
+
}
|
|
3962
|
+
|
|
3927
3963
|
const extensions = type === "img" ? this.fileSettings.imagesExtensions : this.fileSettings.docsExtensions;
|
|
3928
3964
|
const regex = new RegExp("(" + extensions + ")", "i");
|
|
3929
3965
|
if (regex.test(fileName)) return true;
|
|
@@ -3950,9 +3986,17 @@ var script$l = {
|
|
|
3950
3986
|
this.fileSize = 0;
|
|
3951
3987
|
if (this.fileFormatError) this.file = [];
|
|
3952
3988
|
this.openFiles = false;
|
|
3953
|
-
|
|
3989
|
+
const filesAux = !externalCall ? event.target.files ? event.target.files : event.dataTransfer.files : event;
|
|
3954
3990
|
this.file = filesAux.length ? filesAux : this.file;
|
|
3955
3991
|
if (!this.file.length) return;
|
|
3992
|
+
|
|
3993
|
+
if (this.file.length > this.fileSettings.max) {
|
|
3994
|
+
this.file = [];
|
|
3995
|
+
return this.$toasted.global.defaultInfo({
|
|
3996
|
+
msg: `Limite de ${this.fileSettings.max} arquivos`
|
|
3997
|
+
});
|
|
3998
|
+
}
|
|
3999
|
+
|
|
3956
4000
|
this.hasAnyFile = true;
|
|
3957
4001
|
this.fileSize = this.file.length;
|
|
3958
4002
|
|
|
@@ -3969,6 +4013,7 @@ var script$l = {
|
|
|
3969
4013
|
},
|
|
3970
4014
|
|
|
3971
4015
|
returnFileType(file) {
|
|
4016
|
+
if (!this.fileSettings.imagesExtensions && !this.fileSettings.docsExtensions) return "";
|
|
3972
4017
|
const imgRegex = new RegExp("\.(" + this.fileSettings.imagesExtensions + ")", "i");
|
|
3973
4018
|
if (imgRegex.test(file.name)) return "img";
|
|
3974
4019
|
const docRegex = new RegExp("\.(" + this.fileSettings.docsExtensions + ")", "i");
|
|
@@ -3977,52 +4022,79 @@ var script$l = {
|
|
|
3977
4022
|
},
|
|
3978
4023
|
|
|
3979
4024
|
multipleFileUpload() {
|
|
4025
|
+
const hasImgExt = this.fileSettings.imagesExtensions ? true : false;
|
|
4026
|
+
const hasDocExt = this.fileSettings.docsExtensions ? true : false;
|
|
4027
|
+
|
|
4028
|
+
if (!hasImgExt && !hasDocExt) {
|
|
4029
|
+
this.file = [];
|
|
4030
|
+
this.fileSize = 0;
|
|
4031
|
+
return this.$toasted.global.defaultInfo({
|
|
4032
|
+
msg: this.dictionary.sem_extensoes_parametrizadas
|
|
4033
|
+
});
|
|
4034
|
+
}
|
|
4035
|
+
|
|
3980
4036
|
let waitForImageLoad = false;
|
|
4037
|
+
let hasAnyInvalidFile = false;
|
|
3981
4038
|
this.file = Array.from(this.file);
|
|
3982
4039
|
this.file.forEach(file => {
|
|
3983
|
-
const fileReader = new FileReader();
|
|
3984
4040
|
const singleFileType = this.returnFileType(file);
|
|
3985
4041
|
if (!singleFileType) file.invalid = true;
|
|
3986
4042
|
file.imgOrDoc = singleFileType ? singleFileType : "";
|
|
3987
|
-
if (file.imgOrDoc === "doc") this.isDoc = true;
|
|
3988
4043
|
|
|
3989
|
-
if (file.imgOrDoc
|
|
3990
|
-
|
|
4044
|
+
if (this.isFileValid(file.imgOrDoc, file.name)) {
|
|
4045
|
+
if (file.imgOrDoc == "img") {
|
|
4046
|
+
const fileReader = new FileReader();
|
|
4047
|
+
waitForImageLoad = true;
|
|
3991
4048
|
|
|
3992
|
-
|
|
4049
|
+
fileReader.onload = () => file.src = fileReader.result;
|
|
3993
4050
|
|
|
3994
|
-
|
|
3995
|
-
}
|
|
4051
|
+
fileReader.onloadend = () => this.emitFileVars(true);
|
|
3996
4052
|
|
|
3997
|
-
|
|
3998
|
-
|
|
4053
|
+
fileReader.readAsDataURL(file);
|
|
4054
|
+
}
|
|
4055
|
+
|
|
4056
|
+
if (file.imgOrDoc === "doc") this.isDoc = true;
|
|
3999
4057
|
file.invalid = false;
|
|
4000
|
-
this.fileFormatError = false;
|
|
4058
|
+
this.fileFormatError = !hasAnyInvalidFile ? false : true;
|
|
4001
4059
|
} else {
|
|
4060
|
+
hasAnyInvalidFile = true;
|
|
4002
4061
|
file.invalid = true;
|
|
4003
4062
|
this.fileFormatError = true;
|
|
4004
|
-
this.validFileFormats = `
|
|
4063
|
+
if (hasImgExt && !hasDocExt) this.validFileFormats = `Imagens: ${this.fileSettings.imagesExtensions.split("|").join(", ")}`;
|
|
4064
|
+
if (hasDocExt && hasImgExt) this.validFileFormats = `Documentos: ${this.fileSettings.docsExtensions.split("|").join(", ")}`;
|
|
4065
|
+
if (hasImgExt && hasDocExt) this.validFileFormats = `Imagens: ${this.fileSettings.imagesExtensions.split("|").join(", ")} - Documentos: ${this.fileSettings.docsExtensions.split("|").join(", ")}`;
|
|
4005
4066
|
}
|
|
4006
4067
|
});
|
|
4068
|
+
|
|
4069
|
+
if (this.fileFormatError) {
|
|
4070
|
+
this.file = [];
|
|
4071
|
+
this.fileSize = 0;
|
|
4072
|
+
}
|
|
4073
|
+
|
|
4007
4074
|
if (this.isDoc && !waitForImageLoad) this.emitFileVars();
|
|
4008
4075
|
},
|
|
4009
4076
|
|
|
4010
4077
|
singleFileUpload(type, fileName) {
|
|
4011
|
-
|
|
4078
|
+
if (this.isFileValid(type, fileName)) {
|
|
4079
|
+
const fileReader = new FileReader();
|
|
4012
4080
|
|
|
4013
|
-
|
|
4014
|
-
|
|
4081
|
+
if (type === "img") {
|
|
4082
|
+
fileReader.onload = () => this.imagePreview = fileReader.result;
|
|
4015
4083
|
|
|
4016
|
-
|
|
4017
|
-
|
|
4084
|
+
fileReader.onloadend = () => this.emitFileVars();
|
|
4085
|
+
|
|
4086
|
+
fileReader.readAsDataURL(this.file);
|
|
4087
|
+
}
|
|
4018
4088
|
|
|
4019
|
-
if (this.isFileValid(type, fileName)) {
|
|
4020
|
-
if (type === "img") fileReader.readAsDataURL(this.file);
|
|
4021
4089
|
if (type === "doc") this.isDoc = true;
|
|
4022
4090
|
this.fileFormatError = false;
|
|
4023
4091
|
} else {
|
|
4024
4092
|
this.fileFormatError = true;
|
|
4025
|
-
|
|
4093
|
+
const hasImgExt = this.fileSettings.imagesExtensions ? true : false;
|
|
4094
|
+
const hasDocExt = this.fileSettings.docsExtensions ? true : false;
|
|
4095
|
+
if (hasImgExt && !hasDocExt) this.validFileFormats = `Imagens: ${this.fileSettings.imagesExtensions}`;
|
|
4096
|
+
if (hasDocExt && hasImgExt) this.validFileFormats = `Documentos: ${this.fileSettings.docsExtensions}`;
|
|
4097
|
+
if (hasImgExt && hasDocExt) this.validFileFormats = `Imagens: ${this.fileSettings.imagesExtensions} - Documentos: ${this.fileSettings.docsExtensions}`;
|
|
4026
4098
|
}
|
|
4027
4099
|
|
|
4028
4100
|
if (this.isDoc) this.emitFileVars();
|
|
@@ -4292,7 +4364,7 @@ var __vue_staticRenderFns__$l = [];
|
|
|
4292
4364
|
|
|
4293
4365
|
const __vue_inject_styles__$l = function (inject) {
|
|
4294
4366
|
if (!inject) return;
|
|
4295
|
-
inject("data-v-
|
|
4367
|
+
inject("data-v-402ae30b_0", {
|
|
4296
4368
|
source: ".fade-enter-active,.fade-leave-active{transition:opacity .3s}.fade-enter,.fade-leave-to{opacity:0}.files-counter{position:absolute;top:unset;transform:translate(17.5px,-15px);background-color:#888;z-index:1;font-size:.5rem;width:15px;height:15px;border-radius:50%;display:flex;justify-content:center;align-items:center;cursor:pointer;opacity:.9;transition:all .3s;color:#fff;font-weight:900}.files-counter:hover{opacity:1}",
|
|
4297
4369
|
map: undefined,
|
|
4298
4370
|
media: undefined
|
|
@@ -8459,7 +8531,7 @@ var script$i = {
|
|
|
8459
8531
|
this.loadingReq = true;
|
|
8460
8532
|
this.getStandardMessages(cod, this.token_cliente).then(data => {
|
|
8461
8533
|
this.loadingReq = false;
|
|
8462
|
-
if (data.msg_ret) return this.$toasted.global.
|
|
8534
|
+
if (data.msg_ret) return this.$toasted.global.defaultInfo({
|
|
8463
8535
|
msg: data.msg_ret
|
|
8464
8536
|
});
|
|
8465
8537
|
if (data) return this.showFormattedMessage(data, selectionIndex);
|
|
@@ -8480,7 +8552,7 @@ var script$i = {
|
|
|
8480
8552
|
try {
|
|
8481
8553
|
let success = false;
|
|
8482
8554
|
if (Array.isArray(messageData)) success = true;
|
|
8483
|
-
if (!success && selectionIndex != 4) this.$toasted.global.
|
|
8555
|
+
if (!success && selectionIndex != 4) this.$toasted.global.defaultInfo({
|
|
8484
8556
|
msg: messageData ? messageData.msg : "Nao foi possível obter mensagens"
|
|
8485
8557
|
});
|
|
8486
8558
|
|
|
@@ -8505,7 +8577,7 @@ var script$i = {
|
|
|
8505
8577
|
case 3:
|
|
8506
8578
|
if (!success) {
|
|
8507
8579
|
this.formatted_messages_3.push(messageData);
|
|
8508
|
-
this.$toasted.global.
|
|
8580
|
+
this.$toasted.global.defaultInfo({
|
|
8509
8581
|
msg: this.dictionary.msg_erro_sem_msg_formatada
|
|
8510
8582
|
});
|
|
8511
8583
|
this.$emit("close-blocker-standard-message");
|
|
@@ -8674,7 +8746,7 @@ var __vue_staticRenderFns__$i = [];
|
|
|
8674
8746
|
|
|
8675
8747
|
const __vue_inject_styles__$i = function (inject) {
|
|
8676
8748
|
if (!inject) return;
|
|
8677
|
-
inject("data-v-
|
|
8749
|
+
inject("data-v-324084df_0", {
|
|
8678
8750
|
source: ".transition-selects{min-height:80px;display:flex;flex-direction:column;width:100%}.loader-select{position:relative;min-height:35px;background:#fff;width:100%;border:1px solid #ccc;border-radius:5px;z-index:1}.loading-message{background-color:#555!important}",
|
|
8679
8751
|
map: undefined,
|
|
8680
8752
|
media: undefined
|
|
@@ -8780,7 +8852,8 @@ var script$h = {
|
|
|
8780
8852
|
docsExtensions: "",
|
|
8781
8853
|
imagesExtensions: "",
|
|
8782
8854
|
multiple: false,
|
|
8783
|
-
systemButton: false
|
|
8855
|
+
systemButton: false,
|
|
8856
|
+
max: 3
|
|
8784
8857
|
};
|
|
8785
8858
|
},
|
|
8786
8859
|
required: false
|
|
@@ -8853,7 +8926,7 @@ var script$h = {
|
|
|
8853
8926
|
if (event.data == '' && this.showStandardMessages) {
|
|
8854
8927
|
this.closeBlockerStandardMessage();
|
|
8855
8928
|
this.toggleStandardMessages();
|
|
8856
|
-
this.$toasted.global.
|
|
8929
|
+
this.$toasted.global.defaultInfo({
|
|
8857
8930
|
msg: this.dictionary.msg_erro_sem_msg_formatada
|
|
8858
8931
|
});
|
|
8859
8932
|
} else if (typeof event.data === "string" && this.showStandardMessages) {
|
|
@@ -8922,7 +8995,7 @@ var script$h = {
|
|
|
8922
8995
|
if ((!this.message || !this.message.trim()) && !this.hasAnyFile && !this.audioFile) return false;
|
|
8923
8996
|
if (this.textareaSettings.disabled) return false;
|
|
8924
8997
|
|
|
8925
|
-
if (this.fileFormatError) {
|
|
8998
|
+
if (this.fileFormatError && this.hasAnyFile) {
|
|
8926
8999
|
if (!document.querySelector(".toasted.toasted-primary.error")) this.$toasted.global.defaultError({
|
|
8927
9000
|
msg: this.dictionary.msg_formato_invalido
|
|
8928
9001
|
});
|
|
@@ -9057,11 +9130,12 @@ var script$h = {
|
|
|
9057
9130
|
},
|
|
9058
9131
|
|
|
9059
9132
|
returnFileType(file, stopAlert) {
|
|
9133
|
+
if (!this.fileSettings.imagesExtensions && !this.fileSettings.docsExtensions) return false;
|
|
9060
9134
|
const imgRegex = new RegExp("\.(" + this.fileSettings.imagesExtensions + ")", "i");
|
|
9061
9135
|
if (imgRegex.test(file.name)) return "img";
|
|
9062
9136
|
const docRegex = new RegExp("\.(" + this.fileSettings.docsExtensions + ")", "i");
|
|
9063
9137
|
if (docRegex.test(file.name)) return "doc";
|
|
9064
|
-
if (!stopAlert) return;
|
|
9138
|
+
if (!stopAlert) return false;
|
|
9065
9139
|
if (!document.querySelector(".toasted.toasted-primary.error")) this.$toasted.global.defaultError({
|
|
9066
9140
|
msg: this.dictionary.msg_formato_invalido
|
|
9067
9141
|
});
|
|
@@ -9433,8 +9507,8 @@ var __vue_staticRenderFns__$h = [];
|
|
|
9433
9507
|
|
|
9434
9508
|
const __vue_inject_styles__$h = function (inject) {
|
|
9435
9509
|
if (!inject) return;
|
|
9436
|
-
inject("data-v-
|
|
9437
|
-
source: ".toasted svg{margin-right:10px}.d-none{display:none}ul{list-style-type:none}.text-footer-container{display:flex;justify-content:center;align-items:center;flex-direction:column;width:100%;position:relative}.text-footer-container .text-footer{min-height:48px;box-shadow:0 3px 7px -2px rgba(0,0,0,.45);position:relative;display:flex;justify-content:center;align-items:center;border:1px solid #ccc;padding:5px 2px 5px 5px;border-radius:5px}.text-footer-container .text-footer.full{width:100%}.text-footer-container .text-footer.almostFull{width:95%}.text-footer-container .text-footer.medium{width:75%}.text-footer-container.bigger .text-footer{height:80px}.text-footer-container.bigger .text-footer>textarea{font-size:.875rem;height:75px;max-height:75px;min-height:75px}.text-footer-container textarea{margin:0 5px;border:unset;flex:1;resize:none;min-height:30px;max-height:60px;font-size:.875rem;font-family:inherit;background:inherit}.text-footer-container textarea:focus{outline:unset}.text-footer-container textarea::placeholder{font-size:.75rem}.text-footer-container .text-footer-audio{flex:1;display:flex;justify-content:center;align-items:center}.text-footer-container audio{flex:1;outline:unset;width:auto;height:38px}.text-footer-container .delete-audio{display:flex;justify-content:center;align-items:center;color:#e74c3c;transition:background .3s;border-radius:50%;font-size:1rem;padding:10px;cursor:pointer;margin:0 5px;width:31px;height:31px}.text-footer-container .delete-audio:hover{background-color:rgba(208,0,0,.2)}.text-footer-container .max-characters{font-size:.575rem;z-index:1;color:#444;position:relative;top:30px;left:-30px}.text-footer-container .max-characters.no-width{width:0}.text-footer-container .text-footer-actions{display:flex}.text-footer-container .text-footer-actions.outside-buttons{display:flex;align-items:center;justify-content:flex-end;position:absolute;top:-42px;right:2px;background-color:#ddd;box-shadow:inset 0 -10px 5px -11px rgba(0,0,0,.5)}.text-footer-container .text-footer-actions .text-footer-actions--btn{display:flex;justify-content:center;align-items:center;color:#777;border-radius:50%;transition:background .3s;padding:10px;font-size:1rem;width:36px;height:36px;cursor:pointer;margin-right:2.5px}.text-footer-container .text-footer-actions .text-footer-actions--btn:last-child{margin-right:unset}.text-footer-container .text-footer-actions .text-footer-actions--btn:hover{background-color:rgba(0,0,0,.1)}.text-footer-container .text-footer-actions .text-footer-actions--btn.files-activated{background-color:rgba(0,0,0,.1)}.text-footer-container .text-footer-actions .text-footer-actions--btn.audio-activated{background-color:rgba(208,0,0,.7);color:#fff}.text-footer-container .text-footer-actions .text-footer-actions--btn.left-button{position:absolute;left:0}.text-footer-container .text-footer-hsm-container{margin:12px 0 7px 0}.text-footer-container .text-footer-hsm-container.full{width:100%}.text-footer-container .text-footer-hsm-container.almostFull{width:95%}.text-footer-container .text-footer-hsm-container.medium{width:75%}.text-footer-container .text-footer-hsm-container .text-footer-v-select{border-radius:5px;margin-bottom:5px}.text-footer-container .text-footer-hsm-container .text-footer-select-03{display:flex;align-items:center;flex:1;width:100%}.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer-v-select{flex:1}.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer--btn-select-03{transition-duration:.3s;user-select:none;cursor:pointer;box-shadow:inset 0 -3px rgba(0,0,0,.2);opacity:.9;border-radius:2.5px;display:flex;justify-content:center;align-items:center;margin-left:5px;margin-bottom:5px;background-color:#f7fe72;width:32px;height:32px}.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer--btn-select-03:hover{opacity:1}.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer--btn-select-03:active{opacity:1;box-shadow:inset 0 -1px rgba(0,0,0,.2);-webkit-transform:translateY(1px);-moz-transform:translateY(1px);-o-transform:translateY(1px);-ms-transform:translateY(1px);transform:translateY(1px)}.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer--btn-select-03 svg{font-size:1rem}.text-footer-container .text-footer-files-container{position:absolute;right:0;top:-55px;padding:5px;background-color:rgba(0,0,0,.4);border-radius:5px;display:flex;align-items:center;justify-content:space-between;z-index:1}.text-footer-container .text-footer-files-container.horizontal{right:-55px;flex-direction:column}.text-footer-container .text-footer-files-container .files-btn{transition-duration:.3s;transition-property:opacity;opacity:.8;cursor:pointer;display:flex;justify-content:center;align-items:center;border-radius:10px;padding:3px;width:40px;height:40px;font-size:1rem;color:#fff}.text-footer-container .text-footer-files-container .files-btn:hover{opacity:1}.text-footer-container .text-footer-files-container .files-btn svg{color:#fff}.text-footer-container .text-footer-files-container .files-btn.images{background-color:#9575cd;margin-right:5px}.text-footer-container .text-footer-files-container .files-btn.images.margin-bottom{margin-right:unset;margin-bottom:5px}.text-footer-container .text-footer-files-container .files-btn.docs{background-color:#7986cb}.text-footer-container .text-footer-files-container .files-btn.system{background-color:#49a349;margin-left:5px}.text-footer-container .text-footer-files-container .files-btn.both{font-size:.95rem;background-color:#5555ec;flex-direction:column}.text-footer-container .text-footer-files-container .files-btn.both svg:nth-child(1){transform:translateX(5px)}.text-footer-container .text-footer-files-container .files-btn.both svg:nth-child(2){transform:translateX(-5px)}.text-footer-container .text-footer-preview-container{cursor:default;position:absolute;left:0;background-color:#f1f1f1;border:2px solid #ccc;border-bottom:unset;border-top-left-radius:2.5px;border-top-right-radius:2.5px}.text-footer-container .text-footer-preview-container.isDoc{top:-50px;width:100%;height:45px}.text-footer-container .text-footer-preview-container.isImg,.text-footer-container .text-footer-preview-container.isMultiple{top:-205px;width:100%;height:200px}.text-footer-container .text-footer-preview-container.isImg .text-footer-image-preview{height:170px}.text-footer-container .text-footer-preview-container.isError{top:-80px;width:100%;height:75px}.text-footer-container .text-footer-alt{margin-top:-12px;width:100%;padding:0 10px}.text-footer-container .text-footer-alt .text-footer-out-session{margin-top:12px}.text-footer-container .text-footer-alt .text-footer-sem-24h{font-size:.8rem;text-align:right;font-weight:600;letter-spacing:-.5px;color:#dd7f0c;margin-top:5px;position:absolute;right:0}.text-footer-container .text-footer-alt .sem-templates{margin-top:10px;font-size:.8rem;text-align:right;font-weight:600;letter-spacing:-.5px;color:#921e12}.text-footer-container .text-footer-alt .text-footer-templates{position:relative;width:100%}.text-footer-container .text-footer-alt .text-footer-templates .text-footer-group-selection{width:100%;display:flex;align-items:center}.text-footer-container .text-footer-alt .text-footer-templates .text-footer-group-selection h4{margin-right:5px}.text-footer-container .text-footer-alt .text-footer-templates .text-footer-group-selection .sm__select{flex:1}.vs__dropdown-menu{font-size:.85rem!important}.emoji-mart-anchor,.emoji-mart-emoji span{cursor:pointer!important}.emoji-mart{z-index:2!important}.emoji-mart-scroll{overflow-x:hidden}",
|
|
9510
|
+
inject("data-v-7910091a_0", {
|
|
9511
|
+
source: ".toasted svg{margin-right:10px}.d-none{display:none}ul{list-style-type:none}.text-footer-container{display:flex;justify-content:center;align-items:center;flex-direction:column;width:100%;position:relative}.text-footer-container .text-footer{min-height:48px;box-shadow:0 3px 7px -2px rgba(0,0,0,.45);position:relative;display:flex;justify-content:center;align-items:center;border:1px solid #ccc;padding:5px 2px 5px 5px;border-radius:5px}.text-footer-container .text-footer.full{width:100%}.text-footer-container .text-footer.almostFull{width:95%}.text-footer-container .text-footer.medium{width:75%}.text-footer-container.bigger .text-footer{height:80px}.text-footer-container.bigger .text-footer>textarea{font-size:.875rem;height:75px;max-height:75px;min-height:75px}.text-footer-container textarea{margin:0 5px;border:unset;flex:1;resize:none;min-height:30px;max-height:60px;font-size:.875rem;font-family:inherit;background:inherit}.text-footer-container textarea:focus{outline:unset}.text-footer-container textarea::placeholder{font-size:.75rem}.text-footer-container .text-footer-audio{flex:1;display:flex;justify-content:center;align-items:center}.text-footer-container audio{flex:1;outline:unset;width:auto;height:38px}.text-footer-container .delete-audio{display:flex;justify-content:center;align-items:center;color:#e74c3c;transition:background .3s;border-radius:50%;font-size:1rem;padding:10px;cursor:pointer;margin:0 5px;width:31px;height:31px}.text-footer-container .delete-audio:hover{background-color:rgba(208,0,0,.2)}.text-footer-container .max-characters{font-size:.575rem;z-index:1;color:#444;position:relative;top:30px;left:-30px}.text-footer-container .max-characters.no-width{width:0}.text-footer-container .text-footer-actions{display:flex}.text-footer-container .text-footer-actions.outside-buttons{display:flex;align-items:center;justify-content:flex-end;position:absolute;top:-42px;right:2px;background-color:#ddd;box-shadow:inset 0 -10px 5px -11px rgba(0,0,0,.5)}.text-footer-container .text-footer-actions .text-footer-actions--btn{display:flex;justify-content:center;align-items:center;color:#777;border-radius:50%;transition:background .3s;padding:10px;font-size:1rem;width:36px;height:36px;cursor:pointer;margin-right:2.5px}.text-footer-container .text-footer-actions .text-footer-actions--btn:last-child{margin-right:unset}.text-footer-container .text-footer-actions .text-footer-actions--btn:hover{background-color:rgba(0,0,0,.1)}.text-footer-container .text-footer-actions .text-footer-actions--btn.files-activated{background-color:rgba(0,0,0,.1)}.text-footer-container .text-footer-actions .text-footer-actions--btn.audio-activated{background-color:rgba(208,0,0,.7);color:#fff}.text-footer-container .text-footer-actions .text-footer-actions--btn.left-button{position:absolute;left:0}.text-footer-container .text-footer-hsm-container{margin:12px 0 7px 0}.text-footer-container .text-footer-hsm-container.full{width:100%}.text-footer-container .text-footer-hsm-container.almostFull{width:95%}.text-footer-container .text-footer-hsm-container.medium{width:75%}.text-footer-container .text-footer-hsm-container .text-footer-v-select{border-radius:5px;margin-bottom:5px}.text-footer-container .text-footer-hsm-container .text-footer-select-03{display:flex;align-items:center;flex:1;width:100%}.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer-v-select{flex:1}.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer--btn-select-03{transition-duration:.3s;user-select:none;cursor:pointer;box-shadow:inset 0 -3px rgba(0,0,0,.2);opacity:.9;border-radius:2.5px;display:flex;justify-content:center;align-items:center;margin-left:5px;margin-bottom:5px;background-color:#f7fe72;width:32px;height:32px}.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer--btn-select-03:hover{opacity:1}.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer--btn-select-03:active{opacity:1;box-shadow:inset 0 -1px rgba(0,0,0,.2);-webkit-transform:translateY(1px);-moz-transform:translateY(1px);-o-transform:translateY(1px);-ms-transform:translateY(1px);transform:translateY(1px)}.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer--btn-select-03 svg{font-size:1rem}.text-footer-container .text-footer-files-container{position:absolute;right:0;top:-55px;padding:5px;background-color:rgba(0,0,0,.4);border-radius:5px;display:flex;align-items:center;justify-content:space-between;z-index:1}.text-footer-container .text-footer-files-container.horizontal{right:-55px;flex-direction:column}.text-footer-container .text-footer-files-container .files-btn{transition-duration:.3s;transition-property:opacity;opacity:.8;cursor:pointer;display:flex;justify-content:center;align-items:center;border-radius:10px;padding:3px;width:40px;height:40px;font-size:1rem;color:#fff}.text-footer-container .text-footer-files-container .files-btn:hover{opacity:1}.text-footer-container .text-footer-files-container .files-btn svg{color:#fff}.text-footer-container .text-footer-files-container .files-btn.images{background-color:#9575cd;margin-right:5px}.text-footer-container .text-footer-files-container .files-btn.images.margin-bottom{margin-right:unset;margin-bottom:5px}.text-footer-container .text-footer-files-container .files-btn.docs{background-color:#7986cb}.text-footer-container .text-footer-files-container .files-btn.system{background-color:#49a349;margin-left:5px}.text-footer-container .text-footer-files-container .files-btn.both{font-size:.95rem;background-color:#5555ec;flex-direction:column}.text-footer-container .text-footer-files-container .files-btn.both svg:nth-child(1){transform:translateX(5px)}.text-footer-container .text-footer-files-container .files-btn.both svg:nth-child(2){transform:translateX(-5px)}.text-footer-container .text-footer-preview-container{width:100%;cursor:default;position:absolute;left:0;background-color:#f1f1f1;border:2px solid #ccc;border-bottom:unset;border-top-left-radius:2.5px;border-top-right-radius:2.5px}.text-footer-container .text-footer-preview-container.isDoc{top:-50px;width:100%;height:45px}.text-footer-container .text-footer-preview-container.isImg,.text-footer-container .text-footer-preview-container.isMultiple{top:-205px;width:100%;height:200px}.text-footer-container .text-footer-preview-container.isImg .text-footer-image-preview{height:170px}.text-footer-container .text-footer-preview-container.isError{top:-80px;width:100%;height:75px}.text-footer-container .text-footer-alt{margin-top:-12px;width:100%;padding:0 10px}.text-footer-container .text-footer-alt .text-footer-out-session{margin-top:12px}.text-footer-container .text-footer-alt .text-footer-sem-24h{font-size:.8rem;text-align:right;font-weight:600;letter-spacing:-.5px;color:#dd7f0c;margin-top:5px;position:absolute;right:0}.text-footer-container .text-footer-alt .sem-templates{margin-top:10px;font-size:.8rem;text-align:right;font-weight:600;letter-spacing:-.5px;color:#921e12}.text-footer-container .text-footer-alt .text-footer-templates{position:relative;width:100%}.text-footer-container .text-footer-alt .text-footer-templates .text-footer-group-selection{width:100%;display:flex;align-items:center}.text-footer-container .text-footer-alt .text-footer-templates .text-footer-group-selection h4{margin-right:5px}.text-footer-container .text-footer-alt .text-footer-templates .text-footer-group-selection .sm__select{flex:1}.vs__dropdown-menu{font-size:.85rem!important}.emoji-mart-anchor,.emoji-mart-emoji span{cursor:pointer!important}.emoji-mart{z-index:2!important}.emoji-mart-scroll{overflow-x:hidden}",
|
|
9438
9512
|
map: undefined,
|
|
9439
9513
|
media: undefined
|
|
9440
9514
|
});
|
|
@@ -9653,9 +9727,11 @@ var script$f = {
|
|
|
9653
9727
|
for (let key in template) {
|
|
9654
9728
|
if (key === "components" && Array.isArray(template[key])) {
|
|
9655
9729
|
template[key].map(component => {
|
|
9656
|
-
component.parameters.
|
|
9657
|
-
|
|
9658
|
-
|
|
9730
|
+
if (component && component.parameters && component.parameters.length) {
|
|
9731
|
+
component.parameters.map(param => {
|
|
9732
|
+
fullText += param.text;
|
|
9733
|
+
});
|
|
9734
|
+
}
|
|
9659
9735
|
});
|
|
9660
9736
|
}
|
|
9661
9737
|
}
|
|
@@ -9739,41 +9815,44 @@ var script$f = {
|
|
|
9739
9815
|
for (let index in this.selectedTemplate) {
|
|
9740
9816
|
if (index === "components" && Array.isArray(this.selectedTemplate[index])) {
|
|
9741
9817
|
const arrComponents = this.selectedTemplate[index];
|
|
9742
|
-
arrComponents.map(component => {
|
|
9743
|
-
if (component && component.parameters && component.parameters.length) {
|
|
9744
|
-
component.parameters.map(message => {
|
|
9745
|
-
message.currentText = message.text;
|
|
9746
|
-
let keyIndex = 0;
|
|
9747
9818
|
|
|
9748
|
-
|
|
9749
|
-
|
|
9819
|
+
if (arrComponents && arrComponents.length) {
|
|
9820
|
+
arrComponents.map(component => {
|
|
9821
|
+
if (component && component.parameters && component.parameters.length) {
|
|
9822
|
+
component.parameters.map(message => {
|
|
9823
|
+
message.currentText = message.text;
|
|
9824
|
+
let keyIndex = 0;
|
|
9750
9825
|
|
|
9751
|
-
|
|
9752
|
-
|
|
9753
|
-
if (component.type === "header") {
|
|
9754
|
-
this.selectedTemplate['parameters'][component.type] = {}; //Header s? pode ter uma vari?vel
|
|
9826
|
+
while (keyIndex < keys.length) {
|
|
9827
|
+
const varName = `{{${keys[keyIndex]}}}`;
|
|
9755
9828
|
|
|
9756
|
-
|
|
9757
|
-
|
|
9758
|
-
|
|
9759
|
-
|
|
9760
|
-
} else if (!this.selectedTemplate['parameters'][component.type]) {
|
|
9761
|
-
this.selectedTemplate['parameters'][component.type] = new Array();
|
|
9762
|
-
} //Aplicando valores das v?riaveis dentro dos outros componentes com execess?o do header
|
|
9829
|
+
if (message.text.indexOf(varName) != -1) {
|
|
9830
|
+
/**Gerando os obejetos de parametros da notificacao para o component */
|
|
9831
|
+
if (component.type === "header") {
|
|
9832
|
+
this.selectedTemplate['parameters'][component.type] = {}; //Header s? pode ter uma vari?vel
|
|
9763
9833
|
|
|
9834
|
+
this.selectedTemplate['parameters'][component.type] = {
|
|
9835
|
+
tipo: "text",
|
|
9836
|
+
text: values[keyIndex]
|
|
9837
|
+
};
|
|
9838
|
+
} else if (!this.selectedTemplate['parameters'][component.type]) {
|
|
9839
|
+
this.selectedTemplate['parameters'][component.type] = new Array();
|
|
9840
|
+
} //Aplicando valores das v?riaveis dentro dos outros componentes com execess?o do header
|
|
9764
9841
|
|
|
9765
|
-
|
|
9766
|
-
this.selectedTemplate['parameters'][component.type].
|
|
9842
|
+
|
|
9843
|
+
if (this.selectedTemplate['parameters'][component.type] && component.type !== 'header') {
|
|
9844
|
+
this.selectedTemplate['parameters'][component.type].push(values[keyIndex]);
|
|
9845
|
+
}
|
|
9846
|
+
|
|
9847
|
+
message.currentText = message.currentText.replace(varName, values[keyIndex]);
|
|
9767
9848
|
}
|
|
9768
9849
|
|
|
9769
|
-
|
|
9850
|
+
keyIndex++;
|
|
9770
9851
|
}
|
|
9771
|
-
|
|
9772
|
-
|
|
9773
|
-
|
|
9774
|
-
|
|
9775
|
-
}
|
|
9776
|
-
});
|
|
9852
|
+
});
|
|
9853
|
+
}
|
|
9854
|
+
});
|
|
9855
|
+
}
|
|
9777
9856
|
}
|
|
9778
9857
|
}
|
|
9779
9858
|
|
|
@@ -9870,7 +9949,7 @@ var __vue_staticRenderFns__$f = [];
|
|
|
9870
9949
|
|
|
9871
9950
|
const __vue_inject_styles__$f = function (inject) {
|
|
9872
9951
|
if (!inject) return;
|
|
9873
|
-
inject("data-v-
|
|
9952
|
+
inject("data-v-5a97ed34_0", {
|
|
9874
9953
|
source: "*{box-sizing:border-box}.toasted svg{margin-right:10px}.d-none{display:none}ul{list-style-type:none}h1,h2,h3,h4,p{margin:0;padding:0}.tg-container{width:100%;max-width:800px;display:flex;flex-direction:column;overflow-x:hidden;overflow-y:auto}.tg-options{width:100%;display:flex}.tg-options.column{flex-direction:column}.tg-options h4{margin-right:5px}.tg-select{flex:1;height:34px;overflow:hidden}.tg-select .vs__dropdown-toggle{background-color:#fff;height:34px;overflow:hidden;display:flex;align-items:center}.tg-select .vs__selected-options{height:34px;overflow:hidden}.tg-select .vs__selected-options>span{white-space:nowrap;text-overflow:ellipsis;flex:1}.tg-select .vs__selected-options>input{flex-grow:0}.vs__dropdown-option{transition:background-color 150ms;white-space:normal}.vs__dropdown-option:nth-child(odd){background-color:#f1f1f1}.vs__dropdown-option--highlight,.vs__dropdown-option--selected,.vs__dropdown-option:active,.vs__dropdown-option:focus,.vs__dropdown-option:hover{background-color:#5897fb!important;color:#fff}.tg-component{width:100%}.ts-container{width:100%;display:flex;justify-content:space-between}.ts-content{--border-color:#CCC;--background-color:#DFF0D8;--input-background-color:#FFF;--input-border-default:#007BFF;--input-border-error:#E74C3C;--placeholder-color:#BBB;flex:2;font-size:.7rem;padding:10px 0}.ts-content footer,.ts-content header,.ts-content section{padding:3px 5px;background-color:var(--background-color)}.ts-content header,.ts-content section{border-right:1px solid var(--border-color);border-left:1px solid var(--border-color)}.ts-content header{border-top-left-radius:2.5px;border-top-right-radius:2.5px;border-top:1px solid var(--border-color)}.ts-content header{font-weight:550}.ts-content section{line-height:25px}.ts-content section.margin-bottom{border-bottom-left-radius:2.5px;border-bottom-right-radius:2.5px;border-bottom:1px solid var(--border-color)}.ts-content footer{border:1px solid var(--border-color);border-top:unset;border-bottom-left-radius:2.5px;border-bottom-right-radius:2.5px}.ts-content input{border:1px solid transparent;outline:0;font-size:.8rem;padding:2.5px 5px;background-color:var(--input-background-color)}.ts-content input::placeholder{color:var(--placeholder-color)}.ts-content input.active,.ts-content input:focus{border:1px solid var(--input-border-default)}.ts-content input.invalid{border:1px solid var(--input-border-error)!important}.ts-content__var{display:inline-block;position:relative}.ts-dropdown{margin:0;padding:0;position:absolute;top:19px;left:0;background:#eee;width:100%;z-index:1;transition:all 150ms;visibility:hidden;opacity:0;list-style-type:none;border:1px solid #444;border-top:unset}.ts-dropdown li{width:100%;opacity:.9;cursor:pointer;font-weight:550;padding:2px 5px;transition:background-color 150ms}.ts-dropdown li:focus,.ts-dropdown li:focus-within,.ts-dropdown li:hover{opacity:1;background-color:#555;color:#fff}.ts-dropdown.visible{visibility:visible;opacity:1}.tg-btn{width:40%;display:flex;justify-content:center;align-items:center}.tg-btn button{outline:unset;border:unset;display:block;min-width:180px;height:35px;padding:0 10px;font-weight:500;background-color:#007bff;color:#fff;transition-duration:.3s;user-select:none;cursor:pointer;box-shadow:inset 0 -2px rgba(0,0,0,.2);opacity:.9;border-radius:2.5px}.tg-btn button>svg{margin-right:5px;color:#003166}.tg-btn button:hover{opacity:1}.tg-btn button:active{opacity:1;box-shadow:inset 0 -1px rgba(0,0,0,.2);-webkit-transform:translateY(1px);-moz-transform:translateY(1px);-o-transform:translateY(1px);-ms-transform:translateY(1px);transform:translateY(1px)}.tg-btn button:active{opacity:1;box-shadow:inset 0 -1px rgba(0,0,0,.2);-webkit-transform:translateY(1px);-moz-transform:translateY(1px);-o-transform:translateY(1px);-ms-transform:translateY(1px);transform:translateY(1px)}.tg-btn button:active,.tg-btn button:focus{outline:unset}.tg-btn.small-btn{width:auto;margin-left:5px}.tg-btn.small-btn svg{margin-right:0}.tg-btn.small-btn button{min-width:35px;width:35px;padding:0;display:flex;justify-content:center;align-items:center}.tm-container{border:1px solid var(--border-color);border-radius:2.5px;display:flex}",
|
|
9875
9954
|
map: undefined,
|
|
9876
9955
|
media: undefined
|
|
@@ -10426,50 +10505,59 @@ function gerarVariaveisAnexo(anexos, storeObj) {
|
|
|
10426
10505
|
}
|
|
10427
10506
|
}
|
|
10428
10507
|
|
|
10429
|
-
|
|
10430
|
-
var script$d = {
|
|
10431
|
-
props: {
|
|
10432
|
-
file: {
|
|
10433
|
-
type: Object,
|
|
10434
|
-
required: true
|
|
10435
|
-
},
|
|
10436
|
-
dictionary: {
|
|
10437
|
-
type: Object,
|
|
10438
|
-
required: true
|
|
10439
|
-
},
|
|
10440
|
-
domain: {
|
|
10441
|
-
type: String,
|
|
10442
|
-
required: true
|
|
10443
|
-
}
|
|
10444
|
-
},
|
|
10445
|
-
computed: {
|
|
10446
|
-
currentClass() {
|
|
10447
|
-
return this.fileExt === "pdf" ? "pdf" : "doc";
|
|
10448
|
-
}
|
|
10449
|
-
|
|
10450
|
-
},
|
|
10451
|
-
|
|
10508
|
+
const fileHandler = {
|
|
10452
10509
|
data() {
|
|
10453
10510
|
return {
|
|
10454
|
-
|
|
10455
|
-
|
|
10456
|
-
|
|
10457
|
-
|
|
10458
|
-
|
|
10459
|
-
|
|
10511
|
+
isLoading: true,
|
|
10512
|
+
isFile: false,
|
|
10513
|
+
imageURL: "",
|
|
10514
|
+
fileType: "",
|
|
10515
|
+
docURL: "",
|
|
10516
|
+
filename: "",
|
|
10460
10517
|
audio: false,
|
|
10461
10518
|
video: false,
|
|
10462
10519
|
icon: []
|
|
10463
10520
|
};
|
|
10464
10521
|
},
|
|
10465
10522
|
|
|
10466
|
-
|
|
10467
|
-
|
|
10468
|
-
|
|
10523
|
+
computed: {
|
|
10524
|
+
iconClass() {
|
|
10525
|
+
return this.fileType === "pdf" ? "pdf" : "doc";
|
|
10526
|
+
}
|
|
10469
10527
|
|
|
10528
|
+
},
|
|
10470
10529
|
methods: {
|
|
10471
|
-
|
|
10530
|
+
openWindowFromURL(link, isImg) {
|
|
10531
|
+
const viewableExtensions = ["pdf", "txt", "html", "css", "js", "json", "xml", "woff", "svg", "gif", "mp4", "mp3", "aac", "ogg", "wma"];
|
|
10532
|
+
|
|
10533
|
+
if (!isImg && !viewableExtensions.includes(this.fileType)) {
|
|
10534
|
+
const a = document.createElement("a");
|
|
10535
|
+
a.setAttribute("href", link);
|
|
10536
|
+
a.setAttribute("download", this.filename);
|
|
10537
|
+
a.setAttribute("target", "_blank");
|
|
10538
|
+
a.setAttribute("rel", "noopener noreferrer");
|
|
10539
|
+
a.click();
|
|
10540
|
+
return;
|
|
10541
|
+
}
|
|
10542
|
+
|
|
10543
|
+
const width = window.innerWidth;
|
|
10544
|
+
const height = window.innerHeight;
|
|
10545
|
+
const options = !isImg ? `width=${width},height=${height}` : "width=auto,height=auto";
|
|
10546
|
+
window.open(link, "anexo-ra", options);
|
|
10547
|
+
},
|
|
10548
|
+
|
|
10549
|
+
showImage(image) {
|
|
10550
|
+
if (!image) return console.warn("Não foi possível abrir a imagem");
|
|
10551
|
+
this.$emit("abrir-imagem", image);
|
|
10552
|
+
},
|
|
10553
|
+
|
|
10554
|
+
setFileVars(rawFile, storeObj) {
|
|
10472
10555
|
try {
|
|
10556
|
+
if (!rawFile) {
|
|
10557
|
+
this.isLoading = false;
|
|
10558
|
+
return console.warn("Anexo recebido invalido");
|
|
10559
|
+
}
|
|
10560
|
+
|
|
10473
10561
|
const {
|
|
10474
10562
|
anexo,
|
|
10475
10563
|
imgAnexo,
|
|
@@ -10478,36 +10566,53 @@ var script$d = {
|
|
|
10478
10566
|
nomeArquivo,
|
|
10479
10567
|
audio,
|
|
10480
10568
|
video
|
|
10481
|
-
} = gerarVariaveisAnexo(
|
|
10482
|
-
|
|
10483
|
-
|
|
10484
|
-
this.
|
|
10485
|
-
this.
|
|
10486
|
-
this.
|
|
10487
|
-
this.docUrl = docAnexo;
|
|
10488
|
-
this.fileName = nomeArquivo;
|
|
10569
|
+
} = gerarVariaveisAnexo(rawFile, storeObj);
|
|
10570
|
+
this.isFile = anexo;
|
|
10571
|
+
this.imageURL = imgAnexo;
|
|
10572
|
+
this.fileType = tipoDoc;
|
|
10573
|
+
this.docURL = docAnexo;
|
|
10574
|
+
this.filename = nomeArquivo;
|
|
10489
10575
|
this.audio = audio;
|
|
10490
10576
|
this.video = video;
|
|
10491
|
-
this.
|
|
10492
|
-
this.
|
|
10577
|
+
this.setIcon();
|
|
10578
|
+
this.isLoading = false;
|
|
10493
10579
|
} catch (e) {
|
|
10494
10580
|
console.error("Erro ao gerar as variaveis dos anexos");
|
|
10495
10581
|
console.error(e);
|
|
10496
10582
|
}
|
|
10497
10583
|
},
|
|
10498
10584
|
|
|
10499
|
-
|
|
10500
|
-
this.icon = this.
|
|
10501
|
-
}
|
|
10585
|
+
setIcon() {
|
|
10586
|
+
this.icon = this.fileType === "pdf" ? ['fas', 'file-pdf'] : ['fas', 'file-alt'];
|
|
10587
|
+
}
|
|
10502
10588
|
|
|
10503
|
-
|
|
10504
|
-
|
|
10505
|
-
|
|
10506
|
-
|
|
10507
|
-
|
|
10589
|
+
}
|
|
10590
|
+
};
|
|
10591
|
+
|
|
10592
|
+
//
|
|
10593
|
+
var script$d = {
|
|
10594
|
+
mixins: [fileHandler],
|
|
10595
|
+
props: {
|
|
10596
|
+
file: {
|
|
10597
|
+
type: Object,
|
|
10598
|
+
required: true
|
|
10599
|
+
},
|
|
10600
|
+
dictionary: {
|
|
10601
|
+
type: Object,
|
|
10602
|
+
required: true
|
|
10603
|
+
},
|
|
10604
|
+
domain: {
|
|
10605
|
+
type: String,
|
|
10606
|
+
required: true
|
|
10508
10607
|
}
|
|
10608
|
+
},
|
|
10509
10609
|
|
|
10610
|
+
mounted() {
|
|
10611
|
+
this.setFileVars(this.file, {
|
|
10612
|
+
dominio: this.domain
|
|
10613
|
+
});
|
|
10510
10614
|
}
|
|
10615
|
+
|
|
10511
10616
|
};
|
|
10512
10617
|
|
|
10513
10618
|
/* script */
|
|
@@ -10529,40 +10634,40 @@ var __vue_render__$d = function () {
|
|
|
10529
10634
|
"name": "fade",
|
|
10530
10635
|
"mode": "out-in"
|
|
10531
10636
|
}
|
|
10532
|
-
}, [_vm.
|
|
10637
|
+
}, [_vm.isLoading ? _c('div', {
|
|
10533
10638
|
key: "card-file-loader",
|
|
10534
10639
|
staticClass: "req-loader slow",
|
|
10535
10640
|
attrs: {
|
|
10536
10641
|
"small": true
|
|
10537
10642
|
}
|
|
10538
|
-
}) : [_vm.
|
|
10643
|
+
}) : [_vm.imageURL ? _c('span', {
|
|
10539
10644
|
key: "card-file-img",
|
|
10540
10645
|
staticClass: "file-img box-shadow",
|
|
10541
10646
|
attrs: {
|
|
10542
|
-
"title": _vm.
|
|
10647
|
+
"title": _vm.filename
|
|
10543
10648
|
},
|
|
10544
10649
|
on: {
|
|
10545
10650
|
"click": function ($event) {
|
|
10546
|
-
return _vm.
|
|
10651
|
+
return _vm.openWindowFromURL(_vm.imageURL, true);
|
|
10547
10652
|
}
|
|
10548
10653
|
}
|
|
10549
10654
|
}, [_c('img', {
|
|
10550
10655
|
attrs: {
|
|
10551
|
-
"src": "" + _vm.
|
|
10552
|
-
"alt": _vm.
|
|
10656
|
+
"src": "" + _vm.imageURL,
|
|
10657
|
+
"alt": _vm.filename
|
|
10553
10658
|
}
|
|
10554
10659
|
})]) : _c('span', {
|
|
10555
10660
|
key: "card-file-doc",
|
|
10556
10661
|
staticClass: "file-icon",
|
|
10557
|
-
class: [_vm.
|
|
10662
|
+
class: [_vm.iconClass],
|
|
10558
10663
|
attrs: {
|
|
10559
|
-
"title": _vm.
|
|
10664
|
+
"title": _vm.filename,
|
|
10560
10665
|
"target": "_blank",
|
|
10561
10666
|
"rel": "noreferrer noopener"
|
|
10562
10667
|
},
|
|
10563
10668
|
on: {
|
|
10564
10669
|
"click": function ($event) {
|
|
10565
|
-
return _vm.
|
|
10670
|
+
return _vm.openWindowFromURL(_vm.docURL, false);
|
|
10566
10671
|
}
|
|
10567
10672
|
}
|
|
10568
10673
|
}, [_c('fa-icon', {
|
|
@@ -10572,11 +10677,11 @@ var __vue_render__$d = function () {
|
|
|
10572
10677
|
})], 1), _vm._v(" "), _c('a', {
|
|
10573
10678
|
key: "card-file-download-icon",
|
|
10574
10679
|
attrs: {
|
|
10575
|
-
"href": _vm.
|
|
10576
|
-
"download": "" + _vm.
|
|
10680
|
+
"href": _vm.imageURL ? _vm.imageURL : _vm.docURL,
|
|
10681
|
+
"download": "" + _vm.filename,
|
|
10577
10682
|
"target": "_blank",
|
|
10578
10683
|
"rel": "noreferrer noopener",
|
|
10579
|
-
"title": "Download " + _vm.
|
|
10684
|
+
"title": "Download " + _vm.filename
|
|
10580
10685
|
}
|
|
10581
10686
|
}, [_c('fa-icon', {
|
|
10582
10687
|
attrs: {
|
|
@@ -10590,11 +10695,11 @@ var __vue_staticRenderFns__$d = [];
|
|
|
10590
10695
|
|
|
10591
10696
|
const __vue_inject_styles__$d = function (inject) {
|
|
10592
10697
|
if (!inject) return;
|
|
10593
|
-
inject("data-v-
|
|
10594
|
-
source: ".fade-enter-active[data-v-
|
|
10698
|
+
inject("data-v-c0bc7096_0", {
|
|
10699
|
+
source: ".fade-enter-active[data-v-c0bc7096],.fade-leave-active[data-v-c0bc7096]{transition:opacity .5s}.fade-enter[data-v-c0bc7096],.fade-leave-to[data-v-c0bc7096]{opacity:0}",
|
|
10595
10700
|
map: undefined,
|
|
10596
10701
|
media: undefined
|
|
10597
|
-
}), inject("data-v-
|
|
10702
|
+
}), inject("data-v-c0bc7096_1", {
|
|
10598
10703
|
source: ".file-item{width:100%;height:100%;display:flex;justify-content:center;align-items:center;position:relative}.file-item-transition{max-width:100%;max-height:100%;display:flex;justify-content:center;align-items:center;position:relative}.file-item .req-loader{position:absolute;top:calc(50% - 12.5px);right:calc(50% - 12.5px)}.file-item-transition img{max-width:45px;max-height:45px}.file-item a{margin-left:5px;text-decoration:none;color:#333}.file-icon{display:flex;justify-content:center;align-items:center;font-size:30px;cursor:pointer}.file-icon:hover{opacity:1}.file-icon:visited{color:inherit}svg{font-size:30px;z-index:1}.file-icon.pdf{position:relative}.file-icon.pdf svg{color:#e74c3c}.file-icon.pdf::after{content:\"\";position:absolute;bottom:2px;transform:translateY(2px);width:20px;height:20px;background-color:#fff}.file-icon.doc{color:#15517f}.file-icon.doc::after{content:\"\";position:absolute;width:20px;height:20px;background-color:#fff}.file-img{display:flex;justify-content:center;align-items:center;width:100%;height:100%;overflow:hidden;background-color:rgba(0,0,0,.2);border-radius:2.5px;cursor:pointer;opacity:.9;transition:opacity 150ms}.file-img:hover{opacity:1}.file-img img{width:95%}",
|
|
10599
10704
|
map: undefined,
|
|
10600
10705
|
media: undefined
|
|
@@ -10603,7 +10708,7 @@ const __vue_inject_styles__$d = function (inject) {
|
|
|
10603
10708
|
/* scoped */
|
|
10604
10709
|
|
|
10605
10710
|
|
|
10606
|
-
const __vue_scope_id__$d = "data-v-
|
|
10711
|
+
const __vue_scope_id__$d = "data-v-c0bc7096";
|
|
10607
10712
|
/* module identifier */
|
|
10608
10713
|
|
|
10609
10714
|
const __vue_module_identifier__$d = undefined;
|
|
@@ -11270,9 +11375,7 @@ var script$9 = {
|
|
|
11270
11375
|
const width = window.innerWidth;
|
|
11271
11376
|
const height = window.innerHeight;
|
|
11272
11377
|
const options = !isImg ? `width=${width},height=${height}` : "width=auto,height=auto";
|
|
11273
|
-
|
|
11274
|
-
console.log(urlformatted);
|
|
11275
|
-
window.open(urlformatted, "card-file", options);
|
|
11378
|
+
window.open(`${this.dominio}/callcenter/docs.php?mku=${url}`, "card-file", options);
|
|
11276
11379
|
},
|
|
11277
11380
|
|
|
11278
11381
|
validateInterativity() {
|
|
@@ -11291,13 +11394,9 @@ var script$9 = {
|
|
|
11291
11394
|
formulario
|
|
11292
11395
|
} = this.interatividade;
|
|
11293
11396
|
formulario = formulario ? formulario : [];
|
|
11294
|
-
|
|
11295
|
-
|
|
11296
|
-
|
|
11297
|
-
}
|
|
11298
|
-
|
|
11299
|
-
let foundInfosAdd = formulario.filter(f => f.TIPO_TEXTO > 999);
|
|
11300
|
-
let foundInfos = formulario.filter(f => f.TIPO_TEXTO < 1000);
|
|
11397
|
+
if (!formulario.length) return;
|
|
11398
|
+
const foundInfosAdd = formulario.filter(f => f.TIPO_TEXTO > 999);
|
|
11399
|
+
const foundInfos = formulario.filter(f => f.TIPO_TEXTO < 1000);
|
|
11301
11400
|
|
|
11302
11401
|
if (foundInfos) {
|
|
11303
11402
|
this.informacao = foundInfos.map(info => {
|
|
@@ -11309,9 +11408,7 @@ var script$9 = {
|
|
|
11309
11408
|
});
|
|
11310
11409
|
}
|
|
11311
11410
|
|
|
11312
|
-
if (foundInfosAdd)
|
|
11313
|
-
this.informacaoAdicional = foundInfosAdd;
|
|
11314
|
-
}
|
|
11411
|
+
if (foundInfosAdd) this.informacaoAdicional = foundInfosAdd;
|
|
11315
11412
|
} catch (e) {
|
|
11316
11413
|
console.error("Erro ao pegar o objeto interatividade formulario");
|
|
11317
11414
|
console.error(e);
|
|
@@ -11443,8 +11540,8 @@ var __vue_staticRenderFns__$9 = [];
|
|
|
11443
11540
|
|
|
11444
11541
|
const __vue_inject_styles__$9 = function (inject) {
|
|
11445
11542
|
if (!inject) return;
|
|
11446
|
-
inject("data-v-
|
|
11447
|
-
source: ".show-x-enter-active[data-v-
|
|
11543
|
+
inject("data-v-7b989966_0", {
|
|
11544
|
+
source: ".show-x-enter-active[data-v-7b989966],.show-x-leave-enter[data-v-7b989966]{opacity:1;transform:translateX(0);transition:all .2s linear}.show-x-enter[data-v-7b989966],.show-x-leave-to[data-v-7b989966]{opacity:0;transform:translateX(5%)}.divisor-form-info-aditional[data-v-7b989966]{display:flex;align-items:center;justify-content:space-around}.info-aditional[data-v-7b989966]{border-bottom:1px solid #ccc;width:49%}.interatividade-form-header[data-v-7b989966]{background-color:#efefef;margin-top:5px;border-top-right-radius:10px;border-top-left-radius:10px;padding-left:10px;padding-right:10px;padding-top:5px;padding-bottom:5px;justify-content:space-between;display:flex;color:#333;font-weight:700;font-size:.9rem}.interatividade-form-body[data-v-7b989966]{padding:0 10px;background:#fff;border-right:1px solid #efefef;border-left:1px solid #efefef;border-bottom-left-radius:10px;border-bottom-right-radius:10px;padding-bottom:10px}.interatividade[data-v-7b989966]{margin:10px 0}.interatividade-titulo-form[data-v-7b989966]{white-space:nowrap;text-overflow:ellipsis;font-weight:700;overflow:hidden;max-width:100%;margin:0;padding:0;padding-top:5px}.interatividade-description-form[data-v-7b989966]{overflow:hidden;max-width:100%;margin:0;padding:0}.interatividade-lista[data-v-7b989966]{width:100%;min-width:200px;border-radius:15px;background-color:#fff;color:#333;margin:10px 0}.interatividade-lista-conteudo[data-v-7b989966]{padding:10px;border-bottom:1px solid #d7d7d7}.interatividade-lista-titulo[data-v-7b989966]{font-weight:700;font-size:1.2em;margin-bottom:10px}.interatividade-lista-rodape[data-v-7b989966]{color:#818181;margin-top:5px}.interatividade-lista-link[data-v-7b989966]{width:100%;text-align:center;padding:10px;color:#006eff;cursor:pointer;transition:color .2s ease-in-out}.interatividade-lista-link[data-v-7b989966]:hover{color:#00628f}.text-blue[data-v-7b989966]{color:#294ed3}.text-red[data-v-7b989966]{color:#e74c3c}.text-dark[data-v-7b989966]{color:#333}.ml-3[data-v-7b989966]{margin-left:3px}.fs-2[data-v-7b989966]{font-size:2rem}.flex-wrap[data-v-7b989966]{-ms-flex-wrap:wrap;flex-wrap:wrap}.align-items-center[data-v-7b989966]{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.d-flex[data-v-7b989966]{display:-webkit-box;display:-ms-flexbox;display:flex}.align-items-end[data-v-7b989966]{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.text-bold[data-v-7b989966]{font-weight:700}.m-5[data-v-7b989966]{margin:5px}.mb-5[data-v-7b989966]{margin-bottom:5px}.mx-5[data-v-7b989966]{margin-left:5px;margin-right:5px}.cursor-pointer[data-v-7b989966]{cursor:pointer}",
|
|
11448
11545
|
map: undefined,
|
|
11449
11546
|
media: undefined
|
|
11450
11547
|
});
|
|
@@ -11452,7 +11549,7 @@ const __vue_inject_styles__$9 = function (inject) {
|
|
|
11452
11549
|
/* scoped */
|
|
11453
11550
|
|
|
11454
11551
|
|
|
11455
|
-
const __vue_scope_id__$9 = "data-v-
|
|
11552
|
+
const __vue_scope_id__$9 = "data-v-7b989966";
|
|
11456
11553
|
/* module identifier */
|
|
11457
11554
|
|
|
11458
11555
|
const __vue_module_identifier__$9 = undefined;
|
|
@@ -11472,6 +11569,7 @@ var InteratividadeFormulario = __vue_component__$d;
|
|
|
11472
11569
|
|
|
11473
11570
|
//
|
|
11474
11571
|
var script$8 = {
|
|
11572
|
+
mixins: [fileHandler],
|
|
11475
11573
|
props: {
|
|
11476
11574
|
anexo: {
|
|
11477
11575
|
type: Object,
|
|
@@ -11486,72 +11584,13 @@ var script$8 = {
|
|
|
11486
11584
|
required: true
|
|
11487
11585
|
}
|
|
11488
11586
|
},
|
|
11489
|
-
computed: {
|
|
11490
|
-
iconeClass() {
|
|
11491
|
-
return this.tipoDoc === "pdf" ? "pdf" : "doc";
|
|
11492
|
-
}
|
|
11493
|
-
|
|
11494
|
-
},
|
|
11495
|
-
|
|
11496
|
-
data() {
|
|
11497
|
-
return {
|
|
11498
|
-
carregando: true,
|
|
11499
|
-
isAnexo: false,
|
|
11500
|
-
imgAnexo: "",
|
|
11501
|
-
tipoDoc: "",
|
|
11502
|
-
docAnexo: "",
|
|
11503
|
-
nomeArquivo: "",
|
|
11504
|
-
audio: false,
|
|
11505
|
-
video: false,
|
|
11506
|
-
icone: []
|
|
11507
|
-
};
|
|
11508
|
-
},
|
|
11509
11587
|
|
|
11510
11588
|
mounted() {
|
|
11511
|
-
this.
|
|
11512
|
-
|
|
11513
|
-
|
|
11514
|
-
methods: {
|
|
11515
|
-
setVariaveisAnexo() {
|
|
11516
|
-
try {
|
|
11517
|
-
const {
|
|
11518
|
-
anexo,
|
|
11519
|
-
imgAnexo,
|
|
11520
|
-
tipoDoc,
|
|
11521
|
-
docAnexo,
|
|
11522
|
-
nomeArquivo,
|
|
11523
|
-
audio,
|
|
11524
|
-
video
|
|
11525
|
-
} = gerarVariaveisAnexo(this.anexo, {
|
|
11526
|
-
dominio: this.dominio
|
|
11527
|
-
});
|
|
11528
|
-
this.isAnexo = anexo;
|
|
11529
|
-
this.imgAnexo = imgAnexo;
|
|
11530
|
-
this.tipoDoc = tipoDoc;
|
|
11531
|
-
this.docAnexo = docAnexo;
|
|
11532
|
-
this.nomeArquivo = nomeArquivo;
|
|
11533
|
-
this.audio = audio;
|
|
11534
|
-
this.video = video;
|
|
11535
|
-
this.gerarIcone();
|
|
11536
|
-
this.carregando = false;
|
|
11537
|
-
} catch (e) {
|
|
11538
|
-
console.error("Erro ao gerar as variaveis dos anexos");
|
|
11539
|
-
console.error(e);
|
|
11540
|
-
}
|
|
11541
|
-
},
|
|
11542
|
-
|
|
11543
|
-
gerarIcone() {
|
|
11544
|
-
this.icone = this.tipoDoc === "pdf" ? ['fas', 'file-pdf'] : ['fas', 'file-alt'];
|
|
11545
|
-
},
|
|
11546
|
-
|
|
11547
|
-
abrirAnexo(link, isImg) {
|
|
11548
|
-
const width = window.innerWidth;
|
|
11549
|
-
const height = window.innerHeight;
|
|
11550
|
-
const options = !isImg ? `width=${width},height=${height}` : "width=auto,height=auto";
|
|
11551
|
-
window.open(link, "anexo-ra", options);
|
|
11552
|
-
}
|
|
11553
|
-
|
|
11589
|
+
this.setFileVars(this.anexo, {
|
|
11590
|
+
dominio: this.dominio
|
|
11591
|
+
});
|
|
11554
11592
|
}
|
|
11593
|
+
|
|
11555
11594
|
};
|
|
11556
11595
|
|
|
11557
11596
|
/* script */
|
|
@@ -11573,54 +11612,54 @@ var __vue_render__$8 = function () {
|
|
|
11573
11612
|
"name": "fade",
|
|
11574
11613
|
"mode": "out-in"
|
|
11575
11614
|
}
|
|
11576
|
-
}, [_vm.
|
|
11615
|
+
}, [_vm.isLoading ? _c('div', {
|
|
11577
11616
|
key: "ra-loader-anexo",
|
|
11578
11617
|
staticClass: "req-loader slow",
|
|
11579
11618
|
attrs: {
|
|
11580
11619
|
"small": true
|
|
11581
11620
|
}
|
|
11582
|
-
}) : [_vm.
|
|
11621
|
+
}) : [_vm.imageURL ? _c('span', {
|
|
11583
11622
|
key: "ra-img-anexo",
|
|
11584
11623
|
staticClass: "anexo-img box-shadow",
|
|
11585
11624
|
attrs: {
|
|
11586
|
-
"title": _vm.
|
|
11625
|
+
"title": _vm.filename
|
|
11587
11626
|
},
|
|
11588
11627
|
on: {
|
|
11589
11628
|
"click": function ($event) {
|
|
11590
|
-
return _vm.
|
|
11629
|
+
return _vm.openWindowFromURL(_vm.imageURL, true);
|
|
11591
11630
|
}
|
|
11592
11631
|
}
|
|
11593
11632
|
}, [_c('img', {
|
|
11594
11633
|
attrs: {
|
|
11595
|
-
"src": "" + _vm.
|
|
11596
|
-
"alt": _vm.
|
|
11634
|
+
"src": "" + _vm.imageURL,
|
|
11635
|
+
"alt": _vm.filename
|
|
11597
11636
|
}
|
|
11598
11637
|
})]) : _c('span', {
|
|
11599
11638
|
key: "ra-doc-anexo",
|
|
11600
|
-
staticClass: "anexo-
|
|
11601
|
-
class: [_vm.
|
|
11639
|
+
staticClass: "anexo-icon",
|
|
11640
|
+
class: [_vm.iconClass],
|
|
11602
11641
|
attrs: {
|
|
11603
|
-
"title": _vm.
|
|
11642
|
+
"title": _vm.filename,
|
|
11604
11643
|
"target": "_blank",
|
|
11605
11644
|
"rel": "noreferrer noopener"
|
|
11606
11645
|
},
|
|
11607
11646
|
on: {
|
|
11608
11647
|
"click": function ($event) {
|
|
11609
|
-
return _vm.
|
|
11648
|
+
return _vm.openWindowFromURL(_vm.docURL, false);
|
|
11610
11649
|
}
|
|
11611
11650
|
}
|
|
11612
11651
|
}, [_c('fa-icon', {
|
|
11613
11652
|
attrs: {
|
|
11614
|
-
"icon": _vm.
|
|
11653
|
+
"icon": _vm.icon
|
|
11615
11654
|
}
|
|
11616
11655
|
})], 1), _vm._v(" "), _c('a', {
|
|
11617
11656
|
key: "ra-download-icon",
|
|
11618
11657
|
attrs: {
|
|
11619
|
-
"href": _vm.
|
|
11620
|
-
"download": "" + _vm.
|
|
11658
|
+
"href": _vm.imageURL ? _vm.imageURL : _vm.docURL,
|
|
11659
|
+
"download": "" + _vm.filename,
|
|
11621
11660
|
"target": "_blank",
|
|
11622
11661
|
"rel": "noreferrer noopener",
|
|
11623
|
-
"title": "Download " + _vm.
|
|
11662
|
+
"title": "Download " + _vm.filename
|
|
11624
11663
|
}
|
|
11625
11664
|
}, [_c('fa-icon', {
|
|
11626
11665
|
attrs: {
|
|
@@ -11634,8 +11673,8 @@ var __vue_staticRenderFns__$8 = [];
|
|
|
11634
11673
|
|
|
11635
11674
|
const __vue_inject_styles__$8 = function (inject) {
|
|
11636
11675
|
if (!inject) return;
|
|
11637
|
-
inject("data-v-
|
|
11638
|
-
source: ".fade-enter-active[data-v-
|
|
11676
|
+
inject("data-v-0408a7b0_0", {
|
|
11677
|
+
source: ".fade-enter-active[data-v-0408a7b0],.fade-leave-active[data-v-0408a7b0]{transition:opacity .5s}.fade-enter[data-v-0408a7b0],.fade-leave-to[data-v-0408a7b0]{opacity:0}",
|
|
11639
11678
|
map: undefined,
|
|
11640
11679
|
media: undefined
|
|
11641
11680
|
});
|
|
@@ -11643,7 +11682,7 @@ const __vue_inject_styles__$8 = function (inject) {
|
|
|
11643
11682
|
/* scoped */
|
|
11644
11683
|
|
|
11645
11684
|
|
|
11646
|
-
const __vue_scope_id__$8 = "data-v-
|
|
11685
|
+
const __vue_scope_id__$8 = "data-v-0408a7b0";
|
|
11647
11686
|
/* module identifier */
|
|
11648
11687
|
|
|
11649
11688
|
const __vue_module_identifier__$8 = undefined;
|
|
@@ -11930,6 +11969,7 @@ var __vue_component__$b = __vue_component__$a;
|
|
|
11930
11969
|
|
|
11931
11970
|
//
|
|
11932
11971
|
var script$6 = {
|
|
11972
|
+
mixins: [fileHandler],
|
|
11933
11973
|
components: {
|
|
11934
11974
|
Loader
|
|
11935
11975
|
},
|
|
@@ -11954,15 +11994,6 @@ var script$6 = {
|
|
|
11954
11994
|
|
|
11955
11995
|
data() {
|
|
11956
11996
|
return {
|
|
11957
|
-
carregando: true,
|
|
11958
|
-
isAnexo: false,
|
|
11959
|
-
imgAnexo: "",
|
|
11960
|
-
tipoDoc: "",
|
|
11961
|
-
docAnexo: "",
|
|
11962
|
-
nomeArquivo: "",
|
|
11963
|
-
audio: false,
|
|
11964
|
-
video: false,
|
|
11965
|
-
icone: [],
|
|
11966
11997
|
imgErro: false,
|
|
11967
11998
|
imgMsgErro: ''
|
|
11968
11999
|
};
|
|
@@ -11970,49 +12001,17 @@ var script$6 = {
|
|
|
11970
12001
|
|
|
11971
12002
|
mounted() {
|
|
11972
12003
|
if (this.validarAnexo()) {
|
|
11973
|
-
this.
|
|
12004
|
+
this.setFileVars(this.anexo, {
|
|
12005
|
+
dominio: this.dominio
|
|
12006
|
+
});
|
|
11974
12007
|
}
|
|
11975
12008
|
},
|
|
11976
12009
|
|
|
11977
12010
|
methods: {
|
|
11978
|
-
abrirVisualizacaoImg(imagem) {
|
|
11979
|
-
this.$emit("abrir-imagem", imagem);
|
|
11980
|
-
},
|
|
11981
|
-
|
|
11982
|
-
setVariaveisAnexo() {
|
|
11983
|
-
try {
|
|
11984
|
-
const {
|
|
11985
|
-
anexo,
|
|
11986
|
-
imgAnexo,
|
|
11987
|
-
tipoDoc,
|
|
11988
|
-
docAnexo,
|
|
11989
|
-
nomeArquivo,
|
|
11990
|
-
audio,
|
|
11991
|
-
video
|
|
11992
|
-
} = gerarVariaveisAnexo(this.anexo, {
|
|
11993
|
-
dominio: this.dominio
|
|
11994
|
-
});
|
|
11995
|
-
this.isAnexo = anexo;
|
|
11996
|
-
this.imgAnexo = imgAnexo;
|
|
11997
|
-
this.tipoDoc = tipoDoc;
|
|
11998
|
-
this.docAnexo = docAnexo;
|
|
11999
|
-
this.nomeArquivo = nomeArquivo;
|
|
12000
|
-
this.audio = audio;
|
|
12001
|
-
this.video = video;
|
|
12002
|
-
this.gerarIcone();
|
|
12003
|
-
this.carregando = false;
|
|
12004
|
-
} catch (e) {
|
|
12005
|
-
console.error("Erro ao gerar as variaveis dos anexos");
|
|
12006
|
-
console.error(e);
|
|
12007
|
-
}
|
|
12008
|
-
},
|
|
12009
|
-
|
|
12010
12011
|
validarAnexo() {
|
|
12011
12012
|
let status = true; //caso for audio ou documento ignorar
|
|
12012
12013
|
|
|
12013
|
-
if (this.anexo.
|
|
12014
|
-
return true;
|
|
12015
|
-
}
|
|
12014
|
+
if (this.anexo.docURL || this.anexo.audio) return true;
|
|
12016
12015
|
|
|
12017
12016
|
if (!this.anexo.name) {
|
|
12018
12017
|
this.imgMsgErro = this.dictionary.img_com_erro_nome;
|
|
@@ -12022,11 +12021,7 @@ var script$6 = {
|
|
|
12022
12021
|
if (!this.anexo.nomeGravacao) {
|
|
12023
12022
|
this.imgMsgErro = this.dictionary.img_com_erro_nome_gravacao;
|
|
12024
12023
|
status = false;
|
|
12025
|
-
}
|
|
12026
|
-
// this.imgMsgErro = this.dictionary.img_com_erro_tamanho
|
|
12027
|
-
// status = false;
|
|
12028
|
-
// }
|
|
12029
|
-
|
|
12024
|
+
}
|
|
12030
12025
|
|
|
12031
12026
|
if (!this.anexo.type) {
|
|
12032
12027
|
this.imgMsgErro = this.dictionary.img_com_erro_tipo;
|
|
@@ -12035,14 +12030,10 @@ var script$6 = {
|
|
|
12035
12030
|
|
|
12036
12031
|
if (status == false) {
|
|
12037
12032
|
this.imgErro = true;
|
|
12038
|
-
this.
|
|
12033
|
+
this.isLoading = false;
|
|
12039
12034
|
}
|
|
12040
12035
|
|
|
12041
12036
|
return status;
|
|
12042
|
-
},
|
|
12043
|
-
|
|
12044
|
-
gerarIcone() {
|
|
12045
|
-
this.icone = this.tipoDoc === "pdf" ? ['fas', 'file-pdf'] : ['fas', 'file-alt'];
|
|
12046
12037
|
}
|
|
12047
12038
|
|
|
12048
12039
|
}
|
|
@@ -12085,7 +12076,7 @@ var __vue_render__$6 = function () {
|
|
|
12085
12076
|
attrs: {
|
|
12086
12077
|
"icon": ['fas', 'file-image']
|
|
12087
12078
|
}
|
|
12088
|
-
}), _vm._v("\n " + _vm._s(_vm.dictionary.img_com_erro) + "\n ")], 1)]) : _vm._e(), _vm._v(" "), _vm.
|
|
12079
|
+
}), _vm._v("\n " + _vm._s(_vm.dictionary.img_com_erro) + "\n ")], 1)]) : _vm._e(), _vm._v(" "), _vm.isLoading ? _c('Loader', {
|
|
12089
12080
|
key: "anexo-loader",
|
|
12090
12081
|
attrs: {
|
|
12091
12082
|
"small": true,
|
|
@@ -12094,17 +12085,17 @@ var __vue_render__$6 = function () {
|
|
|
12094
12085
|
}) : _c('div', {
|
|
12095
12086
|
key: "anexo-mensagem",
|
|
12096
12087
|
staticClass: "anexo-mensagem"
|
|
12097
|
-
}, [_vm.
|
|
12088
|
+
}, [_vm.imageURL ? _c('img', {
|
|
12098
12089
|
attrs: {
|
|
12099
|
-
"src": _vm.
|
|
12090
|
+
"src": _vm.imageURL,
|
|
12100
12091
|
"alt": _vm.dictionary.alt_msg_img
|
|
12101
12092
|
},
|
|
12102
12093
|
on: {
|
|
12103
12094
|
"click": function ($event) {
|
|
12104
|
-
return _vm.
|
|
12095
|
+
return _vm.showImage(_vm.imageURL);
|
|
12105
12096
|
}
|
|
12106
12097
|
}
|
|
12107
|
-
}) : _vm._e(), _vm._v(" "), _vm.
|
|
12098
|
+
}) : _vm._e(), _vm._v(" "), _vm.imageURL ? _c('div', {
|
|
12108
12099
|
staticClass: "anexos-links-container"
|
|
12109
12100
|
}, [_c('a', {
|
|
12110
12101
|
attrs: {
|
|
@@ -12112,7 +12103,8 @@ var __vue_render__$6 = function () {
|
|
|
12112
12103
|
},
|
|
12113
12104
|
on: {
|
|
12114
12105
|
"click": function ($event) {
|
|
12115
|
-
|
|
12106
|
+
$event.preventDefault();
|
|
12107
|
+
return _vm.showImage(_vm.imageURL);
|
|
12116
12108
|
}
|
|
12117
12109
|
}
|
|
12118
12110
|
}, [_vm._v(" " + _vm._s(_vm.dictionary.titulo_visualizar_img) + " ")]), _vm._v(" "), _c('fa-icon', {
|
|
@@ -12121,63 +12113,64 @@ var __vue_render__$6 = function () {
|
|
|
12121
12113
|
},
|
|
12122
12114
|
on: {
|
|
12123
12115
|
"click": function ($event) {
|
|
12124
|
-
return _vm.
|
|
12116
|
+
return _vm.showImage(_vm.imageURL);
|
|
12125
12117
|
}
|
|
12126
12118
|
}
|
|
12127
|
-
})], 1) : _vm.
|
|
12119
|
+
})], 1) : _vm.docURL ? _c('div', {
|
|
12128
12120
|
staticClass: "anexo-container"
|
|
12129
12121
|
}, [_vm.audio || _vm.video ? [_vm.audio ? _c('audio', {
|
|
12130
12122
|
attrs: {
|
|
12131
|
-
"src": _vm.
|
|
12123
|
+
"src": _vm.docURL,
|
|
12132
12124
|
"controls": "",
|
|
12133
|
-
"title": _vm.
|
|
12125
|
+
"title": _vm.fileType + " - " + _vm.filename
|
|
12134
12126
|
}
|
|
12135
12127
|
}, [_c('p', [_vm._v(" " + _vm._s(_vm.dictionary.msg_erro_audio) + " "), _c('a', {
|
|
12136
12128
|
attrs: {
|
|
12137
|
-
"href": _vm.
|
|
12129
|
+
"href": _vm.docURL,
|
|
12138
12130
|
"target": "_blank",
|
|
12139
12131
|
"rel": "noreferrer noopener"
|
|
12140
12132
|
}
|
|
12141
12133
|
}, [_vm._v(" " + _vm._s(_vm.dictionary.msg_abrir_audio) + " ")])])]) : _vm._e(), _vm._v(" "), _vm.video ? _c('video', {
|
|
12142
12134
|
attrs: {
|
|
12143
|
-
"src": _vm.
|
|
12135
|
+
"src": _vm.docURL,
|
|
12144
12136
|
"controls": "",
|
|
12145
|
-
"title": _vm.
|
|
12137
|
+
"title": _vm.fileType + " - " + _vm.filename
|
|
12146
12138
|
}
|
|
12147
|
-
}, [_c('p', [_vm._v(" " + _vm._s(_vm.dictionary.msg_erro_video) + " "), _vm.
|
|
12139
|
+
}, [_c('p', [_vm._v(" " + _vm._s(_vm.dictionary.msg_erro_video) + " "), _vm.fileType != 'erro' ? _c('a', {
|
|
12148
12140
|
attrs: {
|
|
12149
|
-
"href": _vm.
|
|
12141
|
+
"href": _vm.docURL,
|
|
12150
12142
|
"target": "_blank",
|
|
12151
12143
|
"rel": "noreferrer noopener"
|
|
12152
12144
|
}
|
|
12153
|
-
}, [_vm._v(" " + _vm._s(_vm.dictionary.msg_abrir_video) + " ")]) : _vm._e()])]) : _vm._e()] : [_vm.
|
|
12145
|
+
}, [_vm._v(" " + _vm._s(_vm.dictionary.msg_abrir_video) + " ")]) : _vm._e()])]) : _vm._e()] : [_vm.fileType != 'erro' ? _c('a', {
|
|
12154
12146
|
attrs: {
|
|
12155
|
-
"href": _vm.
|
|
12147
|
+
"href": _vm.docURL,
|
|
12156
12148
|
"target": "_blank",
|
|
12157
12149
|
"rel": "noreferrer noopener",
|
|
12158
|
-
"title": _vm.
|
|
12150
|
+
"title": _vm.fileType + " - " + _vm.filename
|
|
12159
12151
|
}
|
|
12160
12152
|
}, [_c('fa-icon', {
|
|
12153
|
+
class: [_vm.iconClass],
|
|
12161
12154
|
attrs: {
|
|
12162
|
-
"icon":
|
|
12155
|
+
"icon": _vm.icon
|
|
12163
12156
|
}
|
|
12164
12157
|
}), _vm._v(" "), _c('p', {
|
|
12165
12158
|
domProps: {
|
|
12166
|
-
"textContent": _vm._s(_vm.
|
|
12159
|
+
"textContent": _vm._s(_vm.filename)
|
|
12167
12160
|
}
|
|
12168
12161
|
})], 1) : _c('p', {
|
|
12169
12162
|
staticClass: "arquivo-erro",
|
|
12170
12163
|
attrs: {
|
|
12171
|
-
"title": _vm.
|
|
12164
|
+
"title": _vm.fileType + " - " + _vm.filename
|
|
12172
12165
|
}
|
|
12173
12166
|
}, [_c('fa-icon', {
|
|
12174
12167
|
attrs: {
|
|
12175
12168
|
"icon": ['fas', 'file-alt']
|
|
12176
12169
|
}
|
|
12177
|
-
}), _vm._v("\n " + _vm._s(_vm.
|
|
12170
|
+
}), _vm._v("\n " + _vm._s(_vm.filename) + "\n ")], 1)]], 2) : _vm._e(), _vm._v(" "), _vm.imageURL ? _c('a', {
|
|
12178
12171
|
attrs: {
|
|
12179
|
-
"href": _vm.
|
|
12180
|
-
"download": "" + _vm.
|
|
12172
|
+
"href": _vm.imageURL,
|
|
12173
|
+
"download": "" + _vm.filename,
|
|
12181
12174
|
"target": "_blank",
|
|
12182
12175
|
"rel": "noreferrer noopener"
|
|
12183
12176
|
}
|
|
@@ -12185,10 +12178,10 @@ var __vue_render__$6 = function () {
|
|
|
12185
12178
|
attrs: {
|
|
12186
12179
|
"icon": ['fas', 'download']
|
|
12187
12180
|
}
|
|
12188
|
-
})], 1) : _vm._e(), _vm._v(" "), _vm.
|
|
12181
|
+
})], 1) : _vm._e(), _vm._v(" "), _vm.docURL ? _c('a', {
|
|
12189
12182
|
attrs: {
|
|
12190
|
-
"href": _vm.
|
|
12191
|
-
"download": "" + _vm.
|
|
12183
|
+
"href": _vm.docURL,
|
|
12184
|
+
"download": "" + _vm.filename,
|
|
12192
12185
|
"target": "_blank",
|
|
12193
12186
|
"rel": "noreferrer noopener"
|
|
12194
12187
|
}
|
|
@@ -12204,8 +12197,8 @@ var __vue_staticRenderFns__$6 = [];
|
|
|
12204
12197
|
|
|
12205
12198
|
const __vue_inject_styles__$6 = function (inject) {
|
|
12206
12199
|
if (!inject) return;
|
|
12207
|
-
inject("data-v-
|
|
12208
|
-
source: ".fade-enter-active[data-v-
|
|
12200
|
+
inject("data-v-1a4340aa_0", {
|
|
12201
|
+
source: ".fade-enter-active[data-v-1a4340aa],.fade-leave-active[data-v-1a4340aa]{transition:opacity .5s}.fade-enter[data-v-1a4340aa],.fade-leave-to[data-v-1a4340aa]{opacity:0}.mensagem-div-anexo[data-v-1a4340aa]{width:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;overflow:hidden}.anexo-container[data-v-1a4340aa]{width:100%;margin-top:5px}.anexo-container .arquivo-erro[data-v-1a4340aa],.anexo-container a[data-v-1a4340aa]{padding:10px 15px 15px 15px;display:flex;justify-content:center;align-items:center}.anexo-container .arquivo-erro[data-v-1a4340aa],.anexo-container p[data-v-1a4340aa]{margin:0;margin-left:15px;font-size:.9rem}.anexo-container svg[data-v-1a4340aa]{font-size:2rem}.anexo-container audio[data-v-1a4340aa]{outline:0;width:100%}.anexo-container video[data-v-1a4340aa]{width:100%;max-width:350px;cursor:pointer}.anexos-links-container[data-v-1a4340aa]{width:100%;display:flex;justify-content:center;align-items:center}.anexos-links-container a[data-v-1a4340aa]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-right:5px;font-weight:550;color:inherit;text-decoration:none}.anexos-links-container svg[data-v-1a4340aa]{cursor:pointer}.mensagem-div-anexo img[data-v-1a4340aa]{cursor:pointer;margin:10px 0;min-width:35px;width:100%;max-width:250px}.anexo-transition[data-v-1a4340aa]{width:100%;height:100%}.anexo-mensagem[data-v-1a4340aa]{display:flex;justify-content:center;align-items:center;flex-direction:column}.alert-danger[data-v-1a4340aa]{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.alert[data-v-1a4340aa]{position:relative;padding:.65rem 1.2rem;margin:5px 0;border:1px solid transparent;border-radius:.25rem;text-align:center}.alert svg[data-v-1a4340aa]{font-size:1.025em;margin-right:2px}.pdf[data-v-1a4340aa]{color:#e74c3c}.doc[data-v-1a4340aa]{color:#006bc9}",
|
|
12209
12202
|
map: undefined,
|
|
12210
12203
|
media: undefined
|
|
12211
12204
|
});
|
|
@@ -12213,7 +12206,7 @@ const __vue_inject_styles__$6 = function (inject) {
|
|
|
12213
12206
|
/* scoped */
|
|
12214
12207
|
|
|
12215
12208
|
|
|
12216
|
-
const __vue_scope_id__$6 = "data-v-
|
|
12209
|
+
const __vue_scope_id__$6 = "data-v-1a4340aa";
|
|
12217
12210
|
/* module identifier */
|
|
12218
12211
|
|
|
12219
12212
|
const __vue_module_identifier__$6 = undefined;
|