vue-intergrall-plugins 0.0.246 → 0.0.249
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/dist/vue-intergrall-plugins.esm.js +141 -94
- package/dist/vue-intergrall-plugins.min.js +1 -1
- package/dist/vue-intergrall-plugins.ssr.js +100 -117
- package/package.json +1 -1
- package/src/lib-components/Messages/AnexoMensagem.vue +110 -40
- package/src/lib-components/Messages/ChatMessages.vue +9 -2
|
@@ -10875,7 +10875,9 @@ function gerarVariaveisAnexo(anexos, storeObj) {
|
|
|
10875
10875
|
case "mp3":
|
|
10876
10876
|
case "audio/mp3":
|
|
10877
10877
|
case "aac":
|
|
10878
|
-
|
|
10878
|
+
case "audio/mpeg":
|
|
10879
|
+
case "mpeg":
|
|
10880
|
+
tipoDoc = type.startsWith("audio/") ? type : `audio/${type}`;
|
|
10879
10881
|
docAnexo = `${dominio}/callcenter/docs.php?mku=${mku}`;
|
|
10880
10882
|
nomeArquivo = name;
|
|
10881
10883
|
audio = true;
|
|
@@ -10885,7 +10887,7 @@ function gerarVariaveisAnexo(anexos, storeObj) {
|
|
|
10885
10887
|
case "video":
|
|
10886
10888
|
case "mp4":
|
|
10887
10889
|
case "m4v":
|
|
10888
|
-
tipoDoc = type
|
|
10890
|
+
tipoDoc = type.startsWith("video/") ? type : `video/${type}`;
|
|
10889
10891
|
docAnexo = `${dominio}/callcenter/docs.php?mku=${mku}`;
|
|
10890
10892
|
nomeArquivo = name;
|
|
10891
10893
|
video = true;
|
|
@@ -11001,6 +11003,41 @@ const fileHandler = {
|
|
|
11001
11003
|
|
|
11002
11004
|
setIcon() {
|
|
11003
11005
|
this.icon = this.fileType === "pdf" ? ['fas', 'file-pdf'] : ['fas', 'file-alt'];
|
|
11006
|
+
},
|
|
11007
|
+
|
|
11008
|
+
downloadAllFilesHandler() {
|
|
11009
|
+
try {
|
|
11010
|
+
if (!this.$root.$refs.chatMessages || !this.$root.$refs.chatMessages.referenceSelector) return this.$emit("download-all");
|
|
11011
|
+
const container = document.querySelector(`${this.$root.$refs.chatMessages.referenceSelector}`);
|
|
11012
|
+
if (!container) return this.$emit("download-all");
|
|
11013
|
+
const currentFilesToDownload = container.querySelectorAll("a[download]");
|
|
11014
|
+
if (!currentFilesToDownload.length) return this.$emit("download-all", {
|
|
11015
|
+
status: 'erro',
|
|
11016
|
+
message: 'Sem anexos para fazer o download'
|
|
11017
|
+
});
|
|
11018
|
+
let index = 0;
|
|
11019
|
+
|
|
11020
|
+
const handleInterval = () => {
|
|
11021
|
+
if (index > currentFilesToDownload.length) return false;
|
|
11022
|
+
currentFilesToDownload[index] && currentFilesToDownload[index].click();
|
|
11023
|
+
index += 1;
|
|
11024
|
+
return true;
|
|
11025
|
+
};
|
|
11026
|
+
|
|
11027
|
+
let interval = setInterval(() => {
|
|
11028
|
+
const handler = handleInterval();
|
|
11029
|
+
|
|
11030
|
+
if (!handler) {
|
|
11031
|
+
clearInterval(interval);
|
|
11032
|
+
interval = 0;
|
|
11033
|
+
}
|
|
11034
|
+
}, 300);
|
|
11035
|
+
} catch (error) {
|
|
11036
|
+
console.error("Erro ao fazer o donwload de todos anexos");
|
|
11037
|
+
this.$toasted.global.defaultError({
|
|
11038
|
+
msg: error.message ? error.message : error
|
|
11039
|
+
});
|
|
11040
|
+
}
|
|
11004
11041
|
}
|
|
11005
11042
|
|
|
11006
11043
|
}
|
|
@@ -12556,38 +12593,7 @@ var __vue_render__$8 = function () {
|
|
|
12556
12593
|
|
|
12557
12594
|
return _c('div', {
|
|
12558
12595
|
staticClass: "mensagem-div-anexo"
|
|
12559
|
-
}, [_c('transition-group', {
|
|
12560
|
-
staticClass: "anexo-transition",
|
|
12561
|
-
attrs: {
|
|
12562
|
-
"name": "fade",
|
|
12563
|
-
"mode": "out-in"
|
|
12564
|
-
}
|
|
12565
|
-
}, [_vm.imgErro ? _c('div', {
|
|
12566
|
-
directives: [{
|
|
12567
|
-
name: "tippy",
|
|
12568
|
-
rawName: "v-tippy"
|
|
12569
|
-
}],
|
|
12570
|
-
key: "error-msg",
|
|
12571
|
-
attrs: {
|
|
12572
|
-
"content": _vm.imgMsgErro
|
|
12573
|
-
}
|
|
12574
12596
|
}, [_c('div', {
|
|
12575
|
-
staticClass: "alert alert-danger",
|
|
12576
|
-
attrs: {
|
|
12577
|
-
"role": "alert"
|
|
12578
|
-
}
|
|
12579
|
-
}, [_c('fa-icon', {
|
|
12580
|
-
attrs: {
|
|
12581
|
-
"icon": ['fas', 'file-image']
|
|
12582
|
-
}
|
|
12583
|
-
}), _vm._v("\n " + _vm._s(_vm.dictionary.img_com_erro) + "\n ")], 1)]) : _vm._e(), _vm._v(" "), _vm.isLoading ? _c('Loader', {
|
|
12584
|
-
key: "anexo-loader",
|
|
12585
|
-
attrs: {
|
|
12586
|
-
"small": true,
|
|
12587
|
-
"slow": true
|
|
12588
|
-
}
|
|
12589
|
-
}) : _c('div', {
|
|
12590
|
-
key: "anexo-mensagem",
|
|
12591
12597
|
staticClass: "anexo-mensagem"
|
|
12592
12598
|
}, [_vm.imageURL ? _c('img', {
|
|
12593
12599
|
attrs: {
|
|
@@ -12599,101 +12605,133 @@ var __vue_render__$8 = function () {
|
|
|
12599
12605
|
return _vm.showImage(_vm.imageURL);
|
|
12600
12606
|
}
|
|
12601
12607
|
}
|
|
12602
|
-
}) : _vm.
|
|
12603
|
-
staticClass: "anexos-links-container"
|
|
12604
|
-
}, [_c('a', {
|
|
12605
|
-
attrs: {
|
|
12606
|
-
"href": "#"
|
|
12607
|
-
},
|
|
12608
|
-
on: {
|
|
12609
|
-
"click": function ($event) {
|
|
12610
|
-
$event.preventDefault();
|
|
12611
|
-
return _vm.showImage(_vm.imageURL);
|
|
12612
|
-
}
|
|
12613
|
-
}
|
|
12614
|
-
}, [_vm._v(" " + _vm._s(_vm.dictionary.titulo_visualizar_img) + " ")]), _vm._v(" "), _c('fa-icon', {
|
|
12608
|
+
}) : _vm.audio ? _c('audio', {
|
|
12615
12609
|
attrs: {
|
|
12616
|
-
"
|
|
12617
|
-
},
|
|
12618
|
-
on: {
|
|
12619
|
-
"click": function ($event) {
|
|
12620
|
-
return _vm.showImage(_vm.imageURL);
|
|
12621
|
-
}
|
|
12610
|
+
"controls": ""
|
|
12622
12611
|
}
|
|
12623
|
-
}
|
|
12624
|
-
staticClass: "anexo-container"
|
|
12625
|
-
}, [_vm.audio || _vm.video ? [_vm.audio ? _c('audio', {
|
|
12612
|
+
}, [_c('source', {
|
|
12626
12613
|
attrs: {
|
|
12627
12614
|
"src": _vm.docURL,
|
|
12628
|
-
"
|
|
12629
|
-
"title": _vm.fileType + " - " + _vm.filename
|
|
12615
|
+
"type": _vm.fileType
|
|
12630
12616
|
}
|
|
12631
|
-
},
|
|
12617
|
+
}), _vm._v("\n Sem suporte para o elemento audio\n ")]) : _vm.video ? _c('video', {
|
|
12632
12618
|
attrs: {
|
|
12633
|
-
"
|
|
12634
|
-
"target": "_blank",
|
|
12635
|
-
"rel": "noreferrer noopener"
|
|
12619
|
+
"controls": ""
|
|
12636
12620
|
}
|
|
12637
|
-
}, [
|
|
12621
|
+
}, [_c('source', {
|
|
12638
12622
|
attrs: {
|
|
12639
12623
|
"src": _vm.docURL,
|
|
12640
|
-
"
|
|
12641
|
-
"title": _vm.fileType + " - " + _vm.filename
|
|
12624
|
+
"type": _vm.fileType
|
|
12642
12625
|
}
|
|
12643
|
-
},
|
|
12626
|
+
}), _vm._v("\n Sem suporte para o elemento video\n ")]) : _vm.docURL ? _c('a', {
|
|
12627
|
+
staticClass: "default-doc",
|
|
12644
12628
|
attrs: {
|
|
12645
12629
|
"href": _vm.docURL,
|
|
12646
12630
|
"target": "_blank",
|
|
12647
12631
|
"rel": "noreferrer noopener"
|
|
12648
12632
|
}
|
|
12649
|
-
}, [_vm._v(" " + _vm._s(_vm.dictionary.msg_abrir_video) + " ")]) : _vm._e()])]) : _vm._e()] : [_vm.fileType != 'erro' ? _c('a', {
|
|
12650
|
-
attrs: {
|
|
12651
|
-
"href": _vm.docURL,
|
|
12652
|
-
"target": "_blank",
|
|
12653
|
-
"rel": "noreferrer noopener",
|
|
12654
|
-
"title": _vm.fileType + " - " + _vm.filename
|
|
12655
|
-
}
|
|
12656
12633
|
}, [_c('fa-icon', {
|
|
12657
12634
|
class: [_vm.iconClass],
|
|
12658
12635
|
attrs: {
|
|
12659
12636
|
"icon": _vm.icon
|
|
12660
12637
|
}
|
|
12661
12638
|
}), _vm._v(" "), _c('p', {
|
|
12639
|
+
attrs: {
|
|
12640
|
+
"title": _vm.filename
|
|
12641
|
+
},
|
|
12662
12642
|
domProps: {
|
|
12663
12643
|
"textContent": _vm._s(_vm.filename)
|
|
12664
12644
|
}
|
|
12665
|
-
})], 1) : _c('
|
|
12666
|
-
staticClass: "
|
|
12667
|
-
attrs: {
|
|
12668
|
-
"title": _vm.fileType + " - " + _vm.filename
|
|
12669
|
-
}
|
|
12645
|
+
})], 1) : _c('span', {
|
|
12646
|
+
staticClass: "default-doc"
|
|
12670
12647
|
}, [_c('fa-icon', {
|
|
12648
|
+
class: [_vm.iconClass ? _vm.iconClass : ''],
|
|
12671
12649
|
attrs: {
|
|
12672
12650
|
"icon": ['fas', 'file-alt']
|
|
12673
12651
|
}
|
|
12674
|
-
}), _vm._v("
|
|
12652
|
+
}), _vm._v(" "), _c('p', {
|
|
12675
12653
|
attrs: {
|
|
12676
|
-
"
|
|
12677
|
-
|
|
12678
|
-
|
|
12679
|
-
"
|
|
12654
|
+
"title": _vm.filename
|
|
12655
|
+
},
|
|
12656
|
+
domProps: {
|
|
12657
|
+
"textContent": _vm._s(_vm.filename)
|
|
12658
|
+
}
|
|
12659
|
+
})], 1), _vm._v(" "), _c('div', {
|
|
12660
|
+
staticClass: "file-actions"
|
|
12661
|
+
}, [_vm.imageURL ? _c('span', {
|
|
12662
|
+
staticClass: "file-action-button",
|
|
12663
|
+
on: {
|
|
12664
|
+
"click": function ($event) {
|
|
12665
|
+
return _vm.showImage(_vm.imageURL);
|
|
12666
|
+
}
|
|
12680
12667
|
}
|
|
12681
|
-
}, [
|
|
12668
|
+
}, [_c('fa-icon', {
|
|
12669
|
+
directives: [{
|
|
12670
|
+
name: "tippy",
|
|
12671
|
+
rawName: "v-tippy"
|
|
12672
|
+
}],
|
|
12682
12673
|
attrs: {
|
|
12683
|
-
"icon": ['fas', '
|
|
12674
|
+
"icon": ['fas', 'search-plus'],
|
|
12675
|
+
"content": "" + _vm.dictionary.titulo_visualizar_img
|
|
12684
12676
|
}
|
|
12685
12677
|
})], 1) : _vm._e(), _vm._v(" "), _vm.docURL ? _c('a', {
|
|
12678
|
+
directives: [{
|
|
12679
|
+
name: "tippy",
|
|
12680
|
+
rawName: "v-tippy"
|
|
12681
|
+
}],
|
|
12682
|
+
staticClass: "file-action-button",
|
|
12686
12683
|
attrs: {
|
|
12687
12684
|
"href": _vm.docURL,
|
|
12685
|
+
"target": "_blank",
|
|
12686
|
+
"rel": "noreferrer noopener",
|
|
12687
|
+
"content": "Visualizar anexo"
|
|
12688
|
+
}
|
|
12689
|
+
}, [_c('fa-icon', {
|
|
12690
|
+
attrs: {
|
|
12691
|
+
"icon": ['fas', 'search-plus']
|
|
12692
|
+
}
|
|
12693
|
+
})], 1) : _vm._e(), _vm._v(" "), _vm.imageURL || _vm.docURL ? _c('a', {
|
|
12694
|
+
directives: [{
|
|
12695
|
+
name: "tippy",
|
|
12696
|
+
rawName: "v-tippy"
|
|
12697
|
+
}],
|
|
12698
|
+
staticClass: "file-action-button",
|
|
12699
|
+
attrs: {
|
|
12700
|
+
"href": _vm.imageURL ? _vm.imageURL : _vm.docURL,
|
|
12688
12701
|
"download": "" + _vm.filename,
|
|
12689
12702
|
"target": "_blank",
|
|
12690
|
-
"rel": "noreferrer noopener"
|
|
12703
|
+
"rel": "noreferrer noopener",
|
|
12704
|
+
"content": "Fazer o download do anexo"
|
|
12691
12705
|
}
|
|
12692
|
-
}, [
|
|
12706
|
+
}, [_c('fa-icon', {
|
|
12693
12707
|
attrs: {
|
|
12694
12708
|
"icon": ['fas', 'download']
|
|
12695
12709
|
}
|
|
12696
|
-
})], 1) : _vm._e()
|
|
12710
|
+
})], 1) : _vm._e(), _vm._v(" "), _c('span', {
|
|
12711
|
+
directives: [{
|
|
12712
|
+
name: "tippy",
|
|
12713
|
+
rawName: "v-tippy"
|
|
12714
|
+
}],
|
|
12715
|
+
staticClass: "file-action-button",
|
|
12716
|
+
attrs: {
|
|
12717
|
+
"content": "Fazer download de todos anexos da tela"
|
|
12718
|
+
},
|
|
12719
|
+
on: {
|
|
12720
|
+
"click": _vm.downloadAllFilesHandler
|
|
12721
|
+
}
|
|
12722
|
+
}, [_c('fa-icon', {
|
|
12723
|
+
attrs: {
|
|
12724
|
+
"icon": ['fas', 'download']
|
|
12725
|
+
}
|
|
12726
|
+
}), _vm._v(" "), _c('fa-icon', {
|
|
12727
|
+
attrs: {
|
|
12728
|
+
"icon": ['fas', 'download']
|
|
12729
|
+
}
|
|
12730
|
+
}), _vm._v(" "), _c('fa-icon', {
|
|
12731
|
+
attrs: {
|
|
12732
|
+
"icon": ['fas', 'download']
|
|
12733
|
+
}
|
|
12734
|
+
})], 1)])])]);
|
|
12697
12735
|
};
|
|
12698
12736
|
|
|
12699
12737
|
var __vue_staticRenderFns__$8 = [];
|
|
@@ -12701,8 +12739,8 @@ var __vue_staticRenderFns__$8 = [];
|
|
|
12701
12739
|
|
|
12702
12740
|
const __vue_inject_styles__$8 = function (inject) {
|
|
12703
12741
|
if (!inject) return;
|
|
12704
|
-
inject("data-v-
|
|
12705
|
-
source: ".fade-enter-active[data-v-
|
|
12742
|
+
inject("data-v-9dd05594_0", {
|
|
12743
|
+
source: ".mensagem__principal .default-doc[data-v-9dd05594]{background-color:var(--files-bg)}.mensagem__outros .default-doc[data-v-9dd05594]{background-color:rgba(100,100,100,.1)}.default-doc[data-v-9dd05594]{display:flex;align-items:center;padding:10px;border-radius:5px;width:100%;max-width:100%}.default-doc svg[data-v-9dd05594]{font-size:1.2rem;margin-right:5px}.default-doc p[data-v-9dd05594]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-actions[data-v-9dd05594]{display:flex;justify-content:flex-end;width:100%;padding:5px}.file-actions a[data-v-9dd05594]{margin-right:0}.mensagem__principal .file-action-button[data-v-9dd05594]{background-color:var(--files-bg)}.mensagem__outros .file-action-button[data-v-9dd05594]{background-color:rgba(100,100,100,.1)}.mensagem__principal .file-action-button[data-v-9dd05594]:hover{background-color:var(--files-bg-hover)}.mensagem__outros .file-action-button[data-v-9dd05594]:hover{background-color:rgba(100,100,100,.3)}.file-action-button[data-v-9dd05594]{display:flex;justify-content:center;align-items:center;margin-left:12px;cursor:pointer;padding:5px;border-radius:5px;transition:background-color 150ms ease-in-out}.file-action-button a[data-v-9dd05594]{margin:0}.fade-enter-active[data-v-9dd05594],.fade-leave-active[data-v-9dd05594]{transition:opacity .5s}.fade-enter[data-v-9dd05594],.fade-leave-to[data-v-9dd05594]{opacity:0}.mensagem-div-anexo[data-v-9dd05594]{width:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;overflow:hidden}.anexo-container[data-v-9dd05594]{width:100%;margin-top:5px;overflow:hidden;display:flex;max-height:300px}.anexo-container .arquivo-erro[data-v-9dd05594],.anexo-container a[data-v-9dd05594]{padding:10px 15px 15px 15px;display:flex;justify-content:center;align-items:center}.anexo-container p[data-v-9dd05594]{text-overflow:ellipsis;overflow:hidden}.anexo-container .arquivo-erro[data-v-9dd05594],.anexo-container p[data-v-9dd05594]{margin:0;margin-left:15px;font-size:.9rem}.anexo-container svg[data-v-9dd05594]{font-size:2rem}.anexo-mensagem audio[data-v-9dd05594]{outline:0;width:100%;margin-bottom:5px}.anexo-mensagem video[data-v-9dd05594]{flex:1;width:100%;max-width:350px;cursor:pointer;margin-bottom:5px}.anexos-links-container[data-v-9dd05594]{width:100%;display:flex;justify-content:center;align-items:center}.anexos-links-container a[data-v-9dd05594]{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-9dd05594]{cursor:pointer}.mensagem-div-anexo img[data-v-9dd05594]{cursor:pointer;margin:10px 0;min-width:35px;width:100%;max-width:250px}.anexo-transition[data-v-9dd05594]{width:100%;height:100%}.anexo-mensagem[data-v-9dd05594]{display:flex;justify-content:center;align-items:center;flex-direction:column;width:100%}.alert-danger[data-v-9dd05594]{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.alert[data-v-9dd05594]{position:relative;padding:.65rem 1.2rem;margin:5px 0;border:1px solid transparent;border-radius:.25rem;text-align:center}.alert svg[data-v-9dd05594]{font-size:1.025em;margin-right:2px}.pdf[data-v-9dd05594]{color:#e74c3c}.doc[data-v-9dd05594]{color:#006bc9}",
|
|
12706
12744
|
map: undefined,
|
|
12707
12745
|
media: undefined
|
|
12708
12746
|
});
|
|
@@ -12710,7 +12748,7 @@ const __vue_inject_styles__$8 = function (inject) {
|
|
|
12710
12748
|
/* scoped */
|
|
12711
12749
|
|
|
12712
12750
|
|
|
12713
|
-
const __vue_scope_id__$8 = "data-v-
|
|
12751
|
+
const __vue_scope_id__$8 = "data-v-9dd05594";
|
|
12714
12752
|
/* module identifier */
|
|
12715
12753
|
|
|
12716
12754
|
const __vue_module_identifier__$8 = undefined;
|
|
@@ -13081,7 +13119,11 @@ var script$5 = {
|
|
|
13081
13119
|
InteratividadeFormulario,
|
|
13082
13120
|
LinkPreview
|
|
13083
13121
|
},
|
|
13084
|
-
props: ["smartchannel", "messageIndex", "dictionary", "autor", "origem", "msg", "link", "anexo", "imgAnexo", "tipoDoc", "docAnexo", "nomeArquivo", "audio", "video", "horario", "status", "logo", "msgTooltip", "seq", "mapa", "histMsg", "erro", "msgErro", "origemExterna", "anexos", "dominio", "corMsg", "interatividade", "msgReply", "hasReply", "iniDialogo", "dialogoId", "dialogoOrigem", "expSessao"],
|
|
13122
|
+
props: ["smartchannel", "messageIndex", "dictionary", "autor", "origem", "msg", "link", "anexo", "imgAnexo", "tipoDoc", "docAnexo", "nomeArquivo", "audio", "video", "horario", "status", "logo", "msgTooltip", "seq", "mapa", "histMsg", "erro", "msgErro", "origemExterna", "anexos", "dominio", "corMsg", "interatividade", "msgReply", "hasReply", "iniDialogo", "dialogoId", "dialogoOrigem", "expSessao", "referenceSelector"],
|
|
13123
|
+
|
|
13124
|
+
created() {
|
|
13125
|
+
if (!this.$root.$refs.chatMessages) this.$root.$refs.chatMessages = this;
|
|
13126
|
+
},
|
|
13085
13127
|
|
|
13086
13128
|
data() {
|
|
13087
13129
|
return {
|
|
@@ -13312,6 +13354,8 @@ var script$5 = {
|
|
|
13312
13354
|
h = Math.round(360 * h);
|
|
13313
13355
|
const root = document.documentElement;
|
|
13314
13356
|
root.style.setProperty('--text-color', l <= 50 ? "#FFF" : "#111B21");
|
|
13357
|
+
root.style.setProperty('--files-bg', l <= 50 ? "rgba(255, 255, 255, 0.1)" : "rgba(100, 100, 100, 0.1)");
|
|
13358
|
+
root.style.setProperty('--files-bg-hover', l <= 50 ? "rgba(255, 255, 255, 0.3)" : "rgba(100, 100, 100, 0.3)");
|
|
13315
13359
|
} catch (e) {
|
|
13316
13360
|
console.error("Erro ao ajustar a cor da mensagem: ", e);
|
|
13317
13361
|
}
|
|
@@ -13369,7 +13413,10 @@ var __vue_render__$5 = function () {
|
|
|
13369
13413
|
"dominio": _vm.dominio
|
|
13370
13414
|
},
|
|
13371
13415
|
on: {
|
|
13372
|
-
"abrir-imagem": _vm.abrirImagem
|
|
13416
|
+
"abrir-imagem": _vm.abrirImagem,
|
|
13417
|
+
"download-all": function ($event) {
|
|
13418
|
+
return _vm.$emit('download-all');
|
|
13419
|
+
}
|
|
13373
13420
|
}
|
|
13374
13421
|
})], 1);
|
|
13375
13422
|
}) : _vm._e(), _vm._v(" "), _vm.urlSticker ? _c('img', {
|
|
@@ -13614,8 +13661,8 @@ var __vue_staticRenderFns__$5 = [];
|
|
|
13614
13661
|
|
|
13615
13662
|
const __vue_inject_styles__$5 = function (inject) {
|
|
13616
13663
|
if (!inject) return;
|
|
13617
|
-
inject("data-v-
|
|
13618
|
-
source: ":root{--message-color:#373737;--text-color:#FFF;--light:80;--threshold:60}.fade-enter-active,.fade-leave-active{transition:opacity .5s}.fade-enter,.fade-leave-to{opacity:0}.mensagem{padding:14px 7px;border-radius:5px;min-width:150px;min-height:60px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;position:relative;max-width:80%;margin-bottom:10px;font-size:.75rem;word-break:break-word;-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);-moz-box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mensagem.max-w-60{max-width:60%}.mensagem.mapa{width:100%}.mensagem.hist-msg{animation:show 1s}.mensagem a{margin-right:5px;font-weight:550;color:inherit;text-decoration:none}.mensagem a:hover{text-decoration:underline}.message p{white-space:pre-wrap}.mensagem-anexo a,.mensagem-div-mapa a{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.reply{cursor:pointer;position:absolute;right:53px;bottom:5px;font-size:.6rem;color:#67a332;width:.9rem;height:.9rem;display:flex;justify-content:center;align-items:center;border-radius:50%;background-color:#fff}.reply svg{margin-top:-1px;margin-right:-1px}.reply-with-2-icons{right:30px}.check{cursor:pointer;position:absolute;right:10px;bottom:2px;font-size:.7rem}.check.visualizado,.check.visualizado svg{color:#006daa}.check.verde,.check.verde svg{color:#4f772d}.check.vermelho,.check.vermelho svg{color:#ba181b}.check.cinza,.check.cinza svg{color:#999}.check.preto,.check.preto svg{color:#666}.star{cursor:pointer;position:absolute;right:30px;bottom:2px;font-size:.4rem;width:11.2px}.default-stick-size{width:180px;height:auto}.horario-envio{margin-right:15px;font-size:.7rem;position:absolute;left:10px;bottom:2px}.autor-mensagem{position:absolute;font-size:.6rem;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:90%;font-weight:700;top:2px}.mensagem__principal{width:100%;display:flex;justify-content:flex-end}.mensagem__principal>.mensagem::after{content:\"\";width:0;height:0;position:absolute;border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid var(--message-color);bottom:5px;right:-10px;transform:rotate(-90deg)}.mensagem__principal>.mensagem{background-color:var(--message-color);color:var(--text-color)}.mensagem__principal>.mensagem .horario-envio{color:var(--text-color)}.mensagem__principal>.mensagem .autor-mensagem{right:5px;color:var(--text-color)}.mensagem__outros{width:100%;display:flex}.mensagem__outros>.mensagem{background-color:#fff;color:#333}.mensagem__outros>.mensagem::after{content:\"\";width:0;height:0;position:absolute;border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid #fff;bottom:5px;left:-10px;transform:rotate(90deg)}.mensagem__outros>.autor-mensagem{left:5px;color:#333}.mensagem-div-mapa{width:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;margin-bottom:5px}.msg-mapa{width:100%;min-height:225px;height:100%;box-sizing:initial}.msg-mapa img{max-width:none!important}.info-mapa{list-style-type:none}.info-mapa li.title{font-size:.85em}.info-mapa li.address,.info-mapa li.url{font-size:.85em}.info-mapa li.url{font-size:.85em}.tooltip-list{margin:0;padding:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}",
|
|
13664
|
+
inject("data-v-8292b8c8_0", {
|
|
13665
|
+
source: ":root{--message-color:#373737;--text-color:#FFF;--files-bg:rgba(255, 255, 255, 0.1);--files-bg-hover:rgba(255, 255, 255, 0.1);--light:80;--threshold:60}.fade-enter-active,.fade-leave-active{transition:opacity .5s}.fade-enter,.fade-leave-to{opacity:0}.mensagem{padding:14px 7px;border-radius:5px;min-width:150px;min-height:60px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;position:relative;max-width:80%;margin-bottom:10px;font-size:.75rem;word-break:break-word;-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);-moz-box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mensagem.max-w-60{max-width:60%}.mensagem.mapa{width:100%}.mensagem.hist-msg{animation:show 1s}.mensagem a{margin-right:5px;font-weight:550;color:inherit;text-decoration:none}.mensagem a:hover{text-decoration:underline}.message p{white-space:pre-wrap}.mensagem-anexo a,.mensagem-div-mapa a{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.reply{cursor:pointer;position:absolute;right:53px;bottom:5px;font-size:.6rem;color:#67a332;width:.9rem;height:.9rem;display:flex;justify-content:center;align-items:center;border-radius:50%;background-color:#fff}.reply svg{margin-top:-1px;margin-right:-1px}.reply-with-2-icons{right:30px}.check{cursor:pointer;position:absolute;right:10px;bottom:2px;font-size:.7rem}.check.visualizado,.check.visualizado svg{color:#006daa}.check.verde,.check.verde svg{color:#4f772d}.check.vermelho,.check.vermelho svg{color:#ba181b}.check.cinza,.check.cinza svg{color:#999}.check.preto,.check.preto svg{color:#666}.star{cursor:pointer;position:absolute;right:30px;bottom:2px;font-size:.4rem;width:11.2px}.default-stick-size{width:180px;height:auto}.horario-envio{margin-right:15px;font-size:.7rem;position:absolute;left:10px;bottom:2px}.autor-mensagem{position:absolute;font-size:.6rem;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:90%;font-weight:700;top:2px}.mensagem__principal{width:100%;display:flex;justify-content:flex-end}.mensagem__principal>.mensagem::after{content:\"\";width:0;height:0;position:absolute;border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid var(--message-color);bottom:5px;right:-10px;transform:rotate(-90deg)}.mensagem__principal>.mensagem{background-color:var(--message-color);color:var(--text-color)}.mensagem__principal>.mensagem .horario-envio{color:var(--text-color)}.mensagem__principal>.mensagem .autor-mensagem{right:5px;color:var(--text-color)}.mensagem__outros{width:100%;display:flex}.mensagem__outros>.mensagem{background-color:#fff;color:#333}.mensagem__outros>.mensagem::after{content:\"\";width:0;height:0;position:absolute;border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid #fff;bottom:5px;left:-10px;transform:rotate(90deg)}.mensagem__outros>.autor-mensagem{left:5px;color:#333}.mensagem-div-mapa{width:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;margin-bottom:5px}.msg-mapa{width:100%;min-height:225px;height:100%;box-sizing:initial}.msg-mapa img{max-width:none!important}.info-mapa{list-style-type:none}.info-mapa li.title{font-size:.85em}.info-mapa li.address,.info-mapa li.url{font-size:.85em}.info-mapa li.url{font-size:.85em}.tooltip-list{margin:0;padding:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}",
|
|
13619
13666
|
map: undefined,
|
|
13620
13667
|
media: undefined
|
|
13621
13668
|
});
|