vue-intergrall-plugins 0.0.245 → 0.0.248
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 +162 -97
- package/dist/vue-intergrall-plugins.min.js +1 -1
- package/dist/vue-intergrall-plugins.ssr.js +139 -137
- package/package.json +1 -1
- package/src/lib-components/Messages/AnexoMensagem.vue +110 -40
- package/src/lib-components/Messages/ChatMessages.vue +5 -2
- package/src/lib-components/Templates/TemplateGenerator.vue +4 -3
- package/src/lib-components/Templates/TemplateSingle.vue +18 -2
|
@@ -1981,6 +1981,7 @@ var script$y = {
|
|
|
1981
1981
|
|
|
1982
1982
|
setEvent(input) {
|
|
1983
1983
|
const varList = input.nextSibling;
|
|
1984
|
+
const currentInstance = this;
|
|
1984
1985
|
input.setAttribute("placeholder", `{{var_${this.lastVar}}}`);
|
|
1985
1986
|
input.setAttribute("id", `{{var_${this.lastVar}}}`);
|
|
1986
1987
|
input.addEventListener("input", event => {
|
|
@@ -1992,11 +1993,28 @@ var script$y = {
|
|
|
1992
1993
|
input.classList.add("active");
|
|
1993
1994
|
|
|
1994
1995
|
if (varList) {
|
|
1996
|
+
const handleNextFocus = () => {
|
|
1997
|
+
const allInputs = document.querySelectorAll(`.input-var-${currentInstance.identifier}`);
|
|
1998
|
+
let stop = false;
|
|
1999
|
+
|
|
2000
|
+
if (allInputs.length) {
|
|
2001
|
+
allInputs.forEach(elem => {
|
|
2002
|
+
if (!elem.value && !stop) {
|
|
2003
|
+
stop = true;
|
|
2004
|
+
elem.focus();
|
|
2005
|
+
}
|
|
2006
|
+
});
|
|
2007
|
+
}
|
|
2008
|
+
|
|
2009
|
+
if (!stop && this.$refs["template-single-button"]) this.$refs["template-single-button"].focus();
|
|
2010
|
+
};
|
|
2011
|
+
|
|
1995
2012
|
for (let i = 0; i < varList.children.length; i++) {
|
|
1996
2013
|
varList.children[i].addEventListener("click", function () {
|
|
1997
2014
|
input.value = `[${this.innerText}]`;
|
|
1998
2015
|
input.classList.add("active");
|
|
1999
2016
|
input.dispatchEvent(new Event('input'));
|
|
2017
|
+
handleNextFocus();
|
|
2000
2018
|
});
|
|
2001
2019
|
}
|
|
2002
2020
|
|
|
@@ -10145,6 +10163,10 @@ var script$h = {
|
|
|
10145
10163
|
this.adjustOnSelect();
|
|
10146
10164
|
},
|
|
10147
10165
|
|
|
10166
|
+
focusSelect() {
|
|
10167
|
+
if (this.$refs["template-v-select"] && this.$refs["template-v-select"].$el) this.$refs["template-v-select"].$el.querySelector("input").focus();
|
|
10168
|
+
},
|
|
10169
|
+
|
|
10148
10170
|
selectIfIsUnique() {
|
|
10149
10171
|
if (Object.keys(this.templates).length === 1) {
|
|
10150
10172
|
for (let key in this.templates) {
|
|
@@ -10155,9 +10177,7 @@ var script$h = {
|
|
|
10155
10177
|
}
|
|
10156
10178
|
}
|
|
10157
10179
|
|
|
10158
|
-
if (!this.codTemplate
|
|
10159
|
-
this.$refs["template-v-select"].$el.querySelector("input").focus();
|
|
10160
|
-
}
|
|
10180
|
+
if (!this.codTemplate) this.focusSelect();
|
|
10161
10181
|
},
|
|
10162
10182
|
|
|
10163
10183
|
selectIfHasContact24h() {
|
|
@@ -10316,7 +10336,7 @@ var __vue_staticRenderFns__$h = [];
|
|
|
10316
10336
|
|
|
10317
10337
|
const __vue_inject_styles__$h = function (inject) {
|
|
10318
10338
|
if (!inject) return;
|
|
10319
|
-
inject("data-v-
|
|
10339
|
+
inject("data-v-e3f5b41e_0", {
|
|
10320
10340
|
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{border:unset;display:block;min-width:180px;height:35px;padding:0 10px;font-weight:500;background-color:#007bff;color:#fff;transition:transform .3s ease-in-out;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:2px solid #000}.tg-btn.small-btn{width:auto;margin:0 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}",
|
|
10321
10341
|
map: undefined,
|
|
10322
10342
|
media: undefined
|
|
@@ -10855,7 +10875,9 @@ function gerarVariaveisAnexo(anexos, storeObj) {
|
|
|
10855
10875
|
case "mp3":
|
|
10856
10876
|
case "audio/mp3":
|
|
10857
10877
|
case "aac":
|
|
10858
|
-
|
|
10878
|
+
case "audio/mpeg":
|
|
10879
|
+
case "mpeg":
|
|
10880
|
+
tipoDoc = type.startsWith("audio/") ? type : `audio/${type}`;
|
|
10859
10881
|
docAnexo = `${dominio}/callcenter/docs.php?mku=${mku}`;
|
|
10860
10882
|
nomeArquivo = name;
|
|
10861
10883
|
audio = true;
|
|
@@ -10865,7 +10887,7 @@ function gerarVariaveisAnexo(anexos, storeObj) {
|
|
|
10865
10887
|
case "video":
|
|
10866
10888
|
case "mp4":
|
|
10867
10889
|
case "m4v":
|
|
10868
|
-
tipoDoc = type
|
|
10890
|
+
tipoDoc = type.startsWith("video/") ? type : `video/${type}`;
|
|
10869
10891
|
docAnexo = `${dominio}/callcenter/docs.php?mku=${mku}`;
|
|
10870
10892
|
nomeArquivo = name;
|
|
10871
10893
|
video = true;
|
|
@@ -10981,6 +11003,41 @@ const fileHandler = {
|
|
|
10981
11003
|
|
|
10982
11004
|
setIcon() {
|
|
10983
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
|
+
}
|
|
10984
11041
|
}
|
|
10985
11042
|
|
|
10986
11043
|
}
|
|
@@ -12536,38 +12593,7 @@ var __vue_render__$8 = function () {
|
|
|
12536
12593
|
|
|
12537
12594
|
return _c('div', {
|
|
12538
12595
|
staticClass: "mensagem-div-anexo"
|
|
12539
|
-
}, [_c('transition-group', {
|
|
12540
|
-
staticClass: "anexo-transition",
|
|
12541
|
-
attrs: {
|
|
12542
|
-
"name": "fade",
|
|
12543
|
-
"mode": "out-in"
|
|
12544
|
-
}
|
|
12545
|
-
}, [_vm.imgErro ? _c('div', {
|
|
12546
|
-
directives: [{
|
|
12547
|
-
name: "tippy",
|
|
12548
|
-
rawName: "v-tippy"
|
|
12549
|
-
}],
|
|
12550
|
-
key: "error-msg",
|
|
12551
|
-
attrs: {
|
|
12552
|
-
"content": _vm.imgMsgErro
|
|
12553
|
-
}
|
|
12554
12596
|
}, [_c('div', {
|
|
12555
|
-
staticClass: "alert alert-danger",
|
|
12556
|
-
attrs: {
|
|
12557
|
-
"role": "alert"
|
|
12558
|
-
}
|
|
12559
|
-
}, [_c('fa-icon', {
|
|
12560
|
-
attrs: {
|
|
12561
|
-
"icon": ['fas', 'file-image']
|
|
12562
|
-
}
|
|
12563
|
-
}), _vm._v("\n " + _vm._s(_vm.dictionary.img_com_erro) + "\n ")], 1)]) : _vm._e(), _vm._v(" "), _vm.isLoading ? _c('Loader', {
|
|
12564
|
-
key: "anexo-loader",
|
|
12565
|
-
attrs: {
|
|
12566
|
-
"small": true,
|
|
12567
|
-
"slow": true
|
|
12568
|
-
}
|
|
12569
|
-
}) : _c('div', {
|
|
12570
|
-
key: "anexo-mensagem",
|
|
12571
12597
|
staticClass: "anexo-mensagem"
|
|
12572
12598
|
}, [_vm.imageURL ? _c('img', {
|
|
12573
12599
|
attrs: {
|
|
@@ -12579,101 +12605,133 @@ var __vue_render__$8 = function () {
|
|
|
12579
12605
|
return _vm.showImage(_vm.imageURL);
|
|
12580
12606
|
}
|
|
12581
12607
|
}
|
|
12582
|
-
}) : _vm.
|
|
12583
|
-
staticClass: "anexos-links-container"
|
|
12584
|
-
}, [_c('a', {
|
|
12585
|
-
attrs: {
|
|
12586
|
-
"href": "#"
|
|
12587
|
-
},
|
|
12588
|
-
on: {
|
|
12589
|
-
"click": function ($event) {
|
|
12590
|
-
$event.preventDefault();
|
|
12591
|
-
return _vm.showImage(_vm.imageURL);
|
|
12592
|
-
}
|
|
12593
|
-
}
|
|
12594
|
-
}, [_vm._v(" " + _vm._s(_vm.dictionary.titulo_visualizar_img) + " ")]), _vm._v(" "), _c('fa-icon', {
|
|
12608
|
+
}) : _vm.audio ? _c('audio', {
|
|
12595
12609
|
attrs: {
|
|
12596
|
-
"
|
|
12597
|
-
},
|
|
12598
|
-
on: {
|
|
12599
|
-
"click": function ($event) {
|
|
12600
|
-
return _vm.showImage(_vm.imageURL);
|
|
12601
|
-
}
|
|
12610
|
+
"controls": ""
|
|
12602
12611
|
}
|
|
12603
|
-
}
|
|
12604
|
-
staticClass: "anexo-container"
|
|
12605
|
-
}, [_vm.audio || _vm.video ? [_vm.audio ? _c('audio', {
|
|
12612
|
+
}, [_c('source', {
|
|
12606
12613
|
attrs: {
|
|
12607
12614
|
"src": _vm.docURL,
|
|
12608
|
-
"
|
|
12609
|
-
"title": _vm.fileType + " - " + _vm.filename
|
|
12615
|
+
"type": _vm.fileType
|
|
12610
12616
|
}
|
|
12611
|
-
},
|
|
12617
|
+
}), _vm._v("\n Sem suporte para o elemento audio\n ")]) : _vm.video ? _c('video', {
|
|
12612
12618
|
attrs: {
|
|
12613
|
-
"
|
|
12614
|
-
"target": "_blank",
|
|
12615
|
-
"rel": "noreferrer noopener"
|
|
12619
|
+
"controls": ""
|
|
12616
12620
|
}
|
|
12617
|
-
}, [
|
|
12621
|
+
}, [_c('source', {
|
|
12618
12622
|
attrs: {
|
|
12619
12623
|
"src": _vm.docURL,
|
|
12620
|
-
"
|
|
12621
|
-
"title": _vm.fileType + " - " + _vm.filename
|
|
12624
|
+
"type": _vm.fileType
|
|
12622
12625
|
}
|
|
12623
|
-
},
|
|
12626
|
+
}), _vm._v("\n Sem suporte para o elemento video\n ")]) : _vm.docURL ? _c('a', {
|
|
12627
|
+
staticClass: "default-doc",
|
|
12624
12628
|
attrs: {
|
|
12625
12629
|
"href": _vm.docURL,
|
|
12626
12630
|
"target": "_blank",
|
|
12627
12631
|
"rel": "noreferrer noopener"
|
|
12628
12632
|
}
|
|
12629
|
-
}, [_vm._v(" " + _vm._s(_vm.dictionary.msg_abrir_video) + " ")]) : _vm._e()])]) : _vm._e()] : [_vm.fileType != 'erro' ? _c('a', {
|
|
12630
|
-
attrs: {
|
|
12631
|
-
"href": _vm.docURL,
|
|
12632
|
-
"target": "_blank",
|
|
12633
|
-
"rel": "noreferrer noopener",
|
|
12634
|
-
"title": _vm.fileType + " - " + _vm.filename
|
|
12635
|
-
}
|
|
12636
12633
|
}, [_c('fa-icon', {
|
|
12637
12634
|
class: [_vm.iconClass],
|
|
12638
12635
|
attrs: {
|
|
12639
12636
|
"icon": _vm.icon
|
|
12640
12637
|
}
|
|
12641
12638
|
}), _vm._v(" "), _c('p', {
|
|
12639
|
+
attrs: {
|
|
12640
|
+
"title": _vm.filename
|
|
12641
|
+
},
|
|
12642
|
+
domProps: {
|
|
12643
|
+
"textContent": _vm._s(_vm.filename)
|
|
12644
|
+
}
|
|
12645
|
+
})], 1) : _c('span', {
|
|
12646
|
+
staticClass: "default-doc"
|
|
12647
|
+
}, [_c('fa-icon', {
|
|
12648
|
+
class: [_vm.iconClass ? _vm.iconClass : ''],
|
|
12649
|
+
attrs: {
|
|
12650
|
+
"icon": ['fas', 'file-alt']
|
|
12651
|
+
}
|
|
12652
|
+
}), _vm._v(" "), _c('p', {
|
|
12653
|
+
attrs: {
|
|
12654
|
+
"title": _vm.filename
|
|
12655
|
+
},
|
|
12642
12656
|
domProps: {
|
|
12643
12657
|
"textContent": _vm._s(_vm.filename)
|
|
12644
12658
|
}
|
|
12645
|
-
})], 1)
|
|
12646
|
-
staticClass: "
|
|
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
|
+
}
|
|
12667
|
+
}
|
|
12668
|
+
}, [_c('fa-icon', {
|
|
12669
|
+
directives: [{
|
|
12670
|
+
name: "tippy",
|
|
12671
|
+
rawName: "v-tippy"
|
|
12672
|
+
}],
|
|
12647
12673
|
attrs: {
|
|
12648
|
-
"
|
|
12674
|
+
"icon": ['fas', 'search-plus'],
|
|
12675
|
+
"content": "" + _vm.dictionary.titulo_visualizar_img
|
|
12676
|
+
}
|
|
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",
|
|
12683
|
+
attrs: {
|
|
12684
|
+
"href": _vm.docURL,
|
|
12685
|
+
"target": "_blank",
|
|
12686
|
+
"rel": "noreferrer noopener",
|
|
12687
|
+
"content": "Visualizar anexo"
|
|
12649
12688
|
}
|
|
12650
12689
|
}, [_c('fa-icon', {
|
|
12651
12690
|
attrs: {
|
|
12652
|
-
"icon": ['fas', '
|
|
12691
|
+
"icon": ['fas', 'search-plus']
|
|
12653
12692
|
}
|
|
12654
|
-
})
|
|
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",
|
|
12655
12699
|
attrs: {
|
|
12656
|
-
"href": _vm.imageURL,
|
|
12700
|
+
"href": _vm.imageURL ? _vm.imageURL : _vm.docURL,
|
|
12657
12701
|
"download": "" + _vm.filename,
|
|
12658
12702
|
"target": "_blank",
|
|
12659
|
-
"rel": "noreferrer noopener"
|
|
12703
|
+
"rel": "noreferrer noopener",
|
|
12704
|
+
"content": "Fazer o download do anexo"
|
|
12660
12705
|
}
|
|
12661
|
-
}, [
|
|
12706
|
+
}, [_c('fa-icon', {
|
|
12662
12707
|
attrs: {
|
|
12663
12708
|
"icon": ['fas', 'download']
|
|
12664
12709
|
}
|
|
12665
|
-
})], 1) : _vm._e(), _vm._v(" "),
|
|
12710
|
+
})], 1) : _vm._e(), _vm._v(" "), _c('span', {
|
|
12711
|
+
directives: [{
|
|
12712
|
+
name: "tippy",
|
|
12713
|
+
rawName: "v-tippy"
|
|
12714
|
+
}],
|
|
12715
|
+
staticClass: "file-action-button",
|
|
12666
12716
|
attrs: {
|
|
12667
|
-
"
|
|
12668
|
-
|
|
12669
|
-
|
|
12670
|
-
"
|
|
12717
|
+
"content": "Fazer download de todos anexos da tela"
|
|
12718
|
+
},
|
|
12719
|
+
on: {
|
|
12720
|
+
"click": _vm.downloadAllFilesHandler
|
|
12671
12721
|
}
|
|
12672
|
-
}, [
|
|
12722
|
+
}, [_c('fa-icon', {
|
|
12723
|
+
attrs: {
|
|
12724
|
+
"icon": ['fas', 'download']
|
|
12725
|
+
}
|
|
12726
|
+
}), _vm._v(" "), _c('fa-icon', {
|
|
12673
12727
|
attrs: {
|
|
12674
12728
|
"icon": ['fas', 'download']
|
|
12675
12729
|
}
|
|
12676
|
-
})
|
|
12730
|
+
}), _vm._v(" "), _c('fa-icon', {
|
|
12731
|
+
attrs: {
|
|
12732
|
+
"icon": ['fas', 'download']
|
|
12733
|
+
}
|
|
12734
|
+
})], 1)])])]);
|
|
12677
12735
|
};
|
|
12678
12736
|
|
|
12679
12737
|
var __vue_staticRenderFns__$8 = [];
|
|
@@ -12681,8 +12739,8 @@ var __vue_staticRenderFns__$8 = [];
|
|
|
12681
12739
|
|
|
12682
12740
|
const __vue_inject_styles__$8 = function (inject) {
|
|
12683
12741
|
if (!inject) return;
|
|
12684
|
-
inject("data-v-
|
|
12685
|
-
source: ".fade-enter-active[data-v-
|
|
12742
|
+
inject("data-v-14bae430_0", {
|
|
12743
|
+
source: ".mensagem__principal .default-doc[data-v-14bae430]{background-color:rgba(255,255,255,.1)}.mensagem__outros .default-doc[data-v-14bae430]{background-color:rgba(100,100,100,.1)}.default-doc[data-v-14bae430]{display:flex;align-items:center;padding:10px;border-radius:5px;width:100%;max-width:100%}.default-doc svg[data-v-14bae430]{font-size:1.2rem;margin-right:5px}.default-doc p[data-v-14bae430]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-actions[data-v-14bae430]{display:flex;justify-content:flex-end;width:100%;padding:5px}.file-actions a[data-v-14bae430]{margin-right:0}.mensagem__principal .file-action-button[data-v-14bae430]{background-color:rgba(255,255,255,.1)}.mensagem__outros .file-action-button[data-v-14bae430]{background-color:rgba(100,100,100,.1)}.mensagem__principal .file-action-button[data-v-14bae430]:hover{background-color:rgba(255,255,255,.3)}.mensagem__outros .file-action-button[data-v-14bae430]:hover{background-color:rgba(100,100,100,.3)}.file-action-button[data-v-14bae430]{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-14bae430]{margin:0}.fade-enter-active[data-v-14bae430],.fade-leave-active[data-v-14bae430]{transition:opacity .5s}.fade-enter[data-v-14bae430],.fade-leave-to[data-v-14bae430]{opacity:0}.mensagem-div-anexo[data-v-14bae430]{width:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;overflow:hidden}.anexo-container[data-v-14bae430]{width:100%;margin-top:5px;overflow:hidden;display:flex;max-height:300px}.anexo-container .arquivo-erro[data-v-14bae430],.anexo-container a[data-v-14bae430]{padding:10px 15px 15px 15px;display:flex;justify-content:center;align-items:center}.anexo-container p[data-v-14bae430]{text-overflow:ellipsis;overflow:hidden}.anexo-container .arquivo-erro[data-v-14bae430],.anexo-container p[data-v-14bae430]{margin:0;margin-left:15px;font-size:.9rem}.anexo-container svg[data-v-14bae430]{font-size:2rem}.anexo-mensagem audio[data-v-14bae430]{outline:0;width:100%;margin-bottom:5px}.anexo-mensagem video[data-v-14bae430]{flex:1;width:100%;max-width:350px;cursor:pointer;margin-bottom:5px}.anexos-links-container[data-v-14bae430]{width:100%;display:flex;justify-content:center;align-items:center}.anexos-links-container a[data-v-14bae430]{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-14bae430]{cursor:pointer}.mensagem-div-anexo img[data-v-14bae430]{cursor:pointer;margin:10px 0;min-width:35px;width:100%;max-width:250px}.anexo-transition[data-v-14bae430]{width:100%;height:100%}.anexo-mensagem[data-v-14bae430]{display:flex;justify-content:center;align-items:center;flex-direction:column;width:100%}.alert-danger[data-v-14bae430]{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.alert[data-v-14bae430]{position:relative;padding:.65rem 1.2rem;margin:5px 0;border:1px solid transparent;border-radius:.25rem;text-align:center}.alert svg[data-v-14bae430]{font-size:1.025em;margin-right:2px}.pdf[data-v-14bae430]{color:#e74c3c}.doc[data-v-14bae430]{color:#006bc9}",
|
|
12686
12744
|
map: undefined,
|
|
12687
12745
|
media: undefined
|
|
12688
12746
|
});
|
|
@@ -12690,7 +12748,7 @@ const __vue_inject_styles__$8 = function (inject) {
|
|
|
12690
12748
|
/* scoped */
|
|
12691
12749
|
|
|
12692
12750
|
|
|
12693
|
-
const __vue_scope_id__$8 = "data-v-
|
|
12751
|
+
const __vue_scope_id__$8 = "data-v-14bae430";
|
|
12694
12752
|
/* module identifier */
|
|
12695
12753
|
|
|
12696
12754
|
const __vue_module_identifier__$8 = undefined;
|
|
@@ -13061,7 +13119,11 @@ var script$5 = {
|
|
|
13061
13119
|
InteratividadeFormulario,
|
|
13062
13120
|
LinkPreview
|
|
13063
13121
|
},
|
|
13064
|
-
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
|
+
},
|
|
13065
13127
|
|
|
13066
13128
|
data() {
|
|
13067
13129
|
return {
|
|
@@ -13349,7 +13411,10 @@ var __vue_render__$5 = function () {
|
|
|
13349
13411
|
"dominio": _vm.dominio
|
|
13350
13412
|
},
|
|
13351
13413
|
on: {
|
|
13352
|
-
"abrir-imagem": _vm.abrirImagem
|
|
13414
|
+
"abrir-imagem": _vm.abrirImagem,
|
|
13415
|
+
"download-all": function ($event) {
|
|
13416
|
+
return _vm.$emit('download-all');
|
|
13417
|
+
}
|
|
13353
13418
|
}
|
|
13354
13419
|
})], 1);
|
|
13355
13420
|
}) : _vm._e(), _vm._v(" "), _vm.urlSticker ? _c('img', {
|
|
@@ -13594,7 +13659,7 @@ var __vue_staticRenderFns__$5 = [];
|
|
|
13594
13659
|
|
|
13595
13660
|
const __vue_inject_styles__$5 = function (inject) {
|
|
13596
13661
|
if (!inject) return;
|
|
13597
|
-
inject("data-v-
|
|
13662
|
+
inject("data-v-4d7ba00c_0", {
|
|
13598
13663
|
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}",
|
|
13599
13664
|
map: undefined,
|
|
13600
13665
|
media: undefined
|