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
|
@@ -1987,6 +1987,7 @@ var script$y = {
|
|
|
1987
1987
|
var _this3 = this;
|
|
1988
1988
|
|
|
1989
1989
|
var varList = input.nextSibling;
|
|
1990
|
+
var currentInstance = this;
|
|
1990
1991
|
input.setAttribute("placeholder", "{{var_".concat(this.lastVar, "}}"));
|
|
1991
1992
|
input.setAttribute("id", "{{var_".concat(this.lastVar, "}}"));
|
|
1992
1993
|
input.addEventListener("input", function (event) {
|
|
@@ -1999,23 +2000,42 @@ var script$y = {
|
|
|
1999
2000
|
input.classList.add("active");
|
|
2000
2001
|
|
|
2001
2002
|
if (varList) {
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2003
|
+
(function () {
|
|
2004
|
+
var handleNextFocus = function handleNextFocus() {
|
|
2005
|
+
var allInputs = document.querySelectorAll(".input-var-".concat(currentInstance.identifier));
|
|
2006
|
+
var stop = false;
|
|
2007
|
+
|
|
2008
|
+
if (allInputs.length) {
|
|
2009
|
+
allInputs.forEach(function (elem) {
|
|
2010
|
+
if (!elem.value && !stop) {
|
|
2011
|
+
stop = true;
|
|
2012
|
+
elem.focus();
|
|
2013
|
+
}
|
|
2014
|
+
});
|
|
2015
|
+
}
|
|
2009
2016
|
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
var maxBottom = containerGeral.getBoundingClientRect().bottom,
|
|
2013
|
-
currentBottom = varList.getBoundingClientRect().bottom;
|
|
2017
|
+
if (!stop && _this3.$refs["template-single-button"]) _this3.$refs["template-single-button"].focus();
|
|
2018
|
+
};
|
|
2014
2019
|
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2020
|
+
for (var i = 0; i < varList.children.length; i++) {
|
|
2021
|
+
varList.children[i].addEventListener("click", function () {
|
|
2022
|
+
input.value = "[".concat(this.innerText, "]");
|
|
2023
|
+
input.classList.add("active");
|
|
2024
|
+
input.dispatchEvent(new Event('input'));
|
|
2025
|
+
handleNextFocus();
|
|
2026
|
+
});
|
|
2027
|
+
}
|
|
2028
|
+
|
|
2029
|
+
var containerGeral = document.querySelector(".tg-container");
|
|
2030
|
+
varList.classList.add("visible");
|
|
2031
|
+
var maxBottom = containerGeral.getBoundingClientRect().bottom,
|
|
2032
|
+
currentBottom = varList.getBoundingClientRect().bottom;
|
|
2033
|
+
|
|
2034
|
+
if (currentBottom > maxBottom) {
|
|
2035
|
+
varList.style.top = "-".concat(varList.getBoundingClientRect().height, "px");
|
|
2036
|
+
varList.style.borderTop = "1px solid currentColor";
|
|
2037
|
+
}
|
|
2038
|
+
})();
|
|
2019
2039
|
}
|
|
2020
2040
|
});
|
|
2021
2041
|
input.addEventListener("blur", function () {
|
|
@@ -2201,7 +2221,7 @@ var __vue_inject_styles__$y = undefined;
|
|
|
2201
2221
|
var __vue_scope_id__$y = undefined;
|
|
2202
2222
|
/* module identifier */
|
|
2203
2223
|
|
|
2204
|
-
var __vue_module_identifier__$y = "data-v-
|
|
2224
|
+
var __vue_module_identifier__$y = "data-v-affaa3f8";
|
|
2205
2225
|
/* functional template */
|
|
2206
2226
|
|
|
2207
2227
|
var __vue_is_functional_template__$y = false;
|
|
@@ -9492,6 +9512,9 @@ var script$h = {
|
|
|
9492
9512
|
|
|
9493
9513
|
this.adjustOnSelect();
|
|
9494
9514
|
},
|
|
9515
|
+
focusSelect: function focusSelect() {
|
|
9516
|
+
if (this.$refs["template-v-select"] && this.$refs["template-v-select"].$el) this.$refs["template-v-select"].$el.querySelector("input").focus();
|
|
9517
|
+
},
|
|
9495
9518
|
selectIfIsUnique: function selectIfIsUnique() {
|
|
9496
9519
|
if (Object.keys(this.templates).length === 1) {
|
|
9497
9520
|
for (var key in this.templates) {
|
|
@@ -9502,9 +9525,7 @@ var script$h = {
|
|
|
9502
9525
|
}
|
|
9503
9526
|
}
|
|
9504
9527
|
|
|
9505
|
-
if (!this.codTemplate
|
|
9506
|
-
this.$refs["template-v-select"].$el.querySelector("input").focus();
|
|
9507
|
-
}
|
|
9528
|
+
if (!this.codTemplate) this.focusSelect();
|
|
9508
9529
|
},
|
|
9509
9530
|
selectIfHasContact24h: function selectIfHasContact24h() {
|
|
9510
9531
|
if (this.templates['envio_msg']) {
|
|
@@ -9651,7 +9672,7 @@ var __vue_staticRenderFns__$h = [];
|
|
|
9651
9672
|
|
|
9652
9673
|
var __vue_inject_styles__$h = function __vue_inject_styles__(inject) {
|
|
9653
9674
|
if (!inject) return;
|
|
9654
|
-
inject("data-v-
|
|
9675
|
+
inject("data-v-e3f5b41e_0", {
|
|
9655
9676
|
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}",
|
|
9656
9677
|
map: undefined,
|
|
9657
9678
|
media: undefined
|
|
@@ -9663,7 +9684,7 @@ var __vue_inject_styles__$h = function __vue_inject_styles__(inject) {
|
|
|
9663
9684
|
var __vue_scope_id__$h = undefined;
|
|
9664
9685
|
/* module identifier */
|
|
9665
9686
|
|
|
9666
|
-
var __vue_module_identifier__$h = "data-v-
|
|
9687
|
+
var __vue_module_identifier__$h = "data-v-e3f5b41e";
|
|
9667
9688
|
/* functional template */
|
|
9668
9689
|
|
|
9669
9690
|
var __vue_is_functional_template__$h = false;
|
|
@@ -10121,7 +10142,9 @@ var __vue_component__$n = __vue_component__$m;var textoLongo = {
|
|
|
10121
10142
|
case "mp3":
|
|
10122
10143
|
case "audio/mp3":
|
|
10123
10144
|
case "aac":
|
|
10124
|
-
|
|
10145
|
+
case "audio/mpeg":
|
|
10146
|
+
case "mpeg":
|
|
10147
|
+
tipoDoc = type.startsWith("audio/") ? type : "audio/".concat(type);
|
|
10125
10148
|
docAnexo = "".concat(dominio, "/callcenter/docs.php?mku=").concat(mku);
|
|
10126
10149
|
nomeArquivo = name;
|
|
10127
10150
|
audio = true;
|
|
@@ -10131,7 +10154,7 @@ var __vue_component__$n = __vue_component__$m;var textoLongo = {
|
|
|
10131
10154
|
case "video":
|
|
10132
10155
|
case "mp4":
|
|
10133
10156
|
case "m4v":
|
|
10134
|
-
tipoDoc = type;
|
|
10157
|
+
tipoDoc = type.startsWith("video/") ? type : "video/".concat(type);
|
|
10135
10158
|
docAnexo = "".concat(dominio, "/callcenter/docs.php?mku=").concat(mku);
|
|
10136
10159
|
nomeArquivo = name;
|
|
10137
10160
|
video = true;
|
|
@@ -10240,6 +10263,40 @@ var __vue_component__$n = __vue_component__$m;var textoLongo = {
|
|
|
10240
10263
|
},
|
|
10241
10264
|
setIcon: function setIcon() {
|
|
10242
10265
|
this.icon = this.fileType === "pdf" ? ['fas', 'file-pdf'] : ['fas', 'file-alt'];
|
|
10266
|
+
},
|
|
10267
|
+
downloadAllFilesHandler: function downloadAllFilesHandler() {
|
|
10268
|
+
try {
|
|
10269
|
+
if (!this.$root.$refs.chatMessages || !this.$root.$refs.chatMessages.referenceSelector) return this.$emit("download-all");
|
|
10270
|
+
var container = document.querySelector("".concat(this.$root.$refs.chatMessages.referenceSelector));
|
|
10271
|
+
if (!container) return this.$emit("download-all");
|
|
10272
|
+
var currentFilesToDownload = container.querySelectorAll("a[download]");
|
|
10273
|
+
if (!currentFilesToDownload.length) return this.$emit("download-all", {
|
|
10274
|
+
status: 'erro',
|
|
10275
|
+
message: 'Sem anexos para fazer o download'
|
|
10276
|
+
});
|
|
10277
|
+
var index = 0;
|
|
10278
|
+
|
|
10279
|
+
var handleInterval = function handleInterval() {
|
|
10280
|
+
if (index > currentFilesToDownload.length) return false;
|
|
10281
|
+
currentFilesToDownload[index] && currentFilesToDownload[index].click();
|
|
10282
|
+
index += 1;
|
|
10283
|
+
return true;
|
|
10284
|
+
};
|
|
10285
|
+
|
|
10286
|
+
var interval = setInterval(function () {
|
|
10287
|
+
var handler = handleInterval();
|
|
10288
|
+
|
|
10289
|
+
if (!handler) {
|
|
10290
|
+
clearInterval(interval);
|
|
10291
|
+
interval = 0;
|
|
10292
|
+
}
|
|
10293
|
+
}, 300);
|
|
10294
|
+
} catch (error) {
|
|
10295
|
+
console.error("Erro ao fazer o donwload de todos anexos");
|
|
10296
|
+
this.$toasted.global.defaultError({
|
|
10297
|
+
msg: error.message ? error.message : error
|
|
10298
|
+
});
|
|
10299
|
+
}
|
|
10243
10300
|
}
|
|
10244
10301
|
}
|
|
10245
10302
|
};//
|
|
@@ -11446,144 +11503,83 @@ var __vue_render__$8 = function __vue_render__() {
|
|
|
11446
11503
|
|
|
11447
11504
|
return _c('div', {
|
|
11448
11505
|
staticClass: "mensagem-div-anexo"
|
|
11449
|
-
}, [_c('
|
|
11450
|
-
|
|
11506
|
+
}, [_vm._ssrNode("<div class=\"anexo-mensagem\" data-v-14bae430>", "</div>", [_vm.imageURL ? _vm._ssrNode("<img" + _vm._ssrAttr("src", _vm.imageURL) + _vm._ssrAttr("alt", _vm.dictionary.alt_msg_img) + " data-v-14bae430>", "</img>") : _vm.audio ? _vm._ssrNode("<audio controls=\"controls\" data-v-14bae430><source" + _vm._ssrAttr("src", _vm.docURL) + _vm._ssrAttr("type", _vm.fileType) + " data-v-14bae430>\n Sem suporte para o elemento audio\n </audio>") : _vm.video ? _vm._ssrNode("<video controls=\"controls\" data-v-14bae430><source" + _vm._ssrAttr("src", _vm.docURL) + _vm._ssrAttr("type", _vm.fileType) + " data-v-14bae430>\n Sem suporte para o elemento video\n </video>") : _vm.docURL ? _vm._ssrNode("<a" + _vm._ssrAttr("href", _vm.docURL) + " target=\"_blank\" rel=\"noreferrer noopener\" class=\"default-doc\" data-v-14bae430>", "</a>", [_c('fa-icon', {
|
|
11507
|
+
class: [_vm.iconClass],
|
|
11451
11508
|
attrs: {
|
|
11452
|
-
"
|
|
11453
|
-
"mode": "out-in"
|
|
11509
|
+
"icon": _vm.icon
|
|
11454
11510
|
}
|
|
11455
|
-
},
|
|
11511
|
+
}), _vm._ssrNode(" <p" + _vm._ssrAttr("title", _vm.filename) + " data-v-14bae430>" + _vm._ssrEscape(_vm._s(_vm.filename)) + "</p>")], 2) : _vm._ssrNode("<span class=\"default-doc\" data-v-14bae430>", "</span>", [_c('fa-icon', {
|
|
11512
|
+
class: [_vm.iconClass ? _vm.iconClass : ''],
|
|
11513
|
+
attrs: {
|
|
11514
|
+
"icon": ['fas', 'file-alt']
|
|
11515
|
+
}
|
|
11516
|
+
}), _vm._ssrNode(" <p" + _vm._ssrAttr("title", _vm.filename) + " data-v-14bae430>" + _vm._ssrEscape(_vm._s(_vm.filename)) + "</p>")], 2), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"file-actions\" data-v-14bae430>", "</div>", [_vm.imageURL ? _vm._ssrNode("<span class=\"file-action-button\" data-v-14bae430>", "</span>", [_c('fa-icon', {
|
|
11456
11517
|
directives: [{
|
|
11457
11518
|
name: "tippy",
|
|
11458
11519
|
rawName: "v-tippy"
|
|
11459
11520
|
}],
|
|
11460
|
-
key: "error-msg",
|
|
11461
|
-
attrs: {
|
|
11462
|
-
"content": _vm.imgMsgErro
|
|
11463
|
-
}
|
|
11464
|
-
}, [_c('div', {
|
|
11465
|
-
staticClass: "alert alert-danger",
|
|
11466
|
-
attrs: {
|
|
11467
|
-
"role": "alert"
|
|
11468
|
-
}
|
|
11469
|
-
}, [_c('fa-icon', {
|
|
11470
|
-
attrs: {
|
|
11471
|
-
"icon": ['fas', 'file-image']
|
|
11472
|
-
}
|
|
11473
|
-
}), _vm._v("\n " + _vm._s(_vm.dictionary.img_com_erro) + "\n ")], 1)]) : _vm._e(), _vm._v(" "), _vm.isLoading ? _c('Loader', {
|
|
11474
|
-
key: "anexo-loader",
|
|
11475
|
-
attrs: {
|
|
11476
|
-
"small": true,
|
|
11477
|
-
"slow": true
|
|
11478
|
-
}
|
|
11479
|
-
}) : _c('div', {
|
|
11480
|
-
key: "anexo-mensagem",
|
|
11481
|
-
staticClass: "anexo-mensagem"
|
|
11482
|
-
}, [_vm.imageURL ? _c('img', {
|
|
11483
|
-
attrs: {
|
|
11484
|
-
"src": _vm.imageURL,
|
|
11485
|
-
"alt": _vm.dictionary.alt_msg_img
|
|
11486
|
-
},
|
|
11487
|
-
on: {
|
|
11488
|
-
"click": function click($event) {
|
|
11489
|
-
return _vm.showImage(_vm.imageURL);
|
|
11490
|
-
}
|
|
11491
|
-
}
|
|
11492
|
-
}) : _vm._e(), _vm._v(" "), _vm.imageURL ? _c('div', {
|
|
11493
|
-
staticClass: "anexos-links-container"
|
|
11494
|
-
}, [_c('a', {
|
|
11495
|
-
attrs: {
|
|
11496
|
-
"href": "#"
|
|
11497
|
-
},
|
|
11498
|
-
on: {
|
|
11499
|
-
"click": function click($event) {
|
|
11500
|
-
$event.preventDefault();
|
|
11501
|
-
return _vm.showImage(_vm.imageURL);
|
|
11502
|
-
}
|
|
11503
|
-
}
|
|
11504
|
-
}, [_vm._v(" " + _vm._s(_vm.dictionary.titulo_visualizar_img) + " ")]), _vm._v(" "), _c('fa-icon', {
|
|
11505
11521
|
attrs: {
|
|
11506
|
-
"icon": ['fas', 'search-plus']
|
|
11507
|
-
|
|
11508
|
-
on: {
|
|
11509
|
-
"click": function click($event) {
|
|
11510
|
-
return _vm.showImage(_vm.imageURL);
|
|
11511
|
-
}
|
|
11522
|
+
"icon": ['fas', 'search-plus'],
|
|
11523
|
+
"content": "" + _vm.dictionary.titulo_visualizar_img
|
|
11512
11524
|
}
|
|
11513
|
-
})], 1) : _vm.docURL ? _c('
|
|
11514
|
-
|
|
11515
|
-
|
|
11516
|
-
|
|
11517
|
-
|
|
11518
|
-
|
|
11519
|
-
"title": _vm.fileType + " - " + _vm.filename
|
|
11520
|
-
}
|
|
11521
|
-
}, [_c('p', [_vm._v(" " + _vm._s(_vm.dictionary.msg_erro_audio) + " "), _c('a', {
|
|
11525
|
+
})], 1) : _vm._e(), _vm._ssrNode(" "), _vm.docURL ? _c('a', {
|
|
11526
|
+
directives: [{
|
|
11527
|
+
name: "tippy",
|
|
11528
|
+
rawName: "v-tippy"
|
|
11529
|
+
}],
|
|
11530
|
+
staticClass: "file-action-button",
|
|
11522
11531
|
attrs: {
|
|
11523
11532
|
"href": _vm.docURL,
|
|
11524
11533
|
"target": "_blank",
|
|
11525
|
-
"rel": "noreferrer noopener"
|
|
11526
|
-
|
|
11527
|
-
}, [_vm._v(" " + _vm._s(_vm.dictionary.msg_abrir_audio) + " ")])])]) : _vm._e(), _vm._v(" "), _vm.video ? _c('video', {
|
|
11528
|
-
attrs: {
|
|
11529
|
-
"src": _vm.docURL,
|
|
11530
|
-
"controls": "",
|
|
11531
|
-
"title": _vm.fileType + " - " + _vm.filename
|
|
11534
|
+
"rel": "noreferrer noopener",
|
|
11535
|
+
"content": "Visualizar anexo"
|
|
11532
11536
|
}
|
|
11533
|
-
}, [_c('
|
|
11537
|
+
}, [_c('fa-icon', {
|
|
11534
11538
|
attrs: {
|
|
11535
|
-
"
|
|
11536
|
-
"target": "_blank",
|
|
11537
|
-
"rel": "noreferrer noopener"
|
|
11539
|
+
"icon": ['fas', 'search-plus']
|
|
11538
11540
|
}
|
|
11539
|
-
},
|
|
11541
|
+
})], 1) : _vm._e(), _vm._ssrNode(" "), _vm.imageURL || _vm.docURL ? _c('a', {
|
|
11542
|
+
directives: [{
|
|
11543
|
+
name: "tippy",
|
|
11544
|
+
rawName: "v-tippy"
|
|
11545
|
+
}],
|
|
11546
|
+
staticClass: "file-action-button",
|
|
11540
11547
|
attrs: {
|
|
11541
|
-
"href": _vm.docURL,
|
|
11548
|
+
"href": _vm.imageURL ? _vm.imageURL : _vm.docURL,
|
|
11549
|
+
"download": "" + _vm.filename,
|
|
11542
11550
|
"target": "_blank",
|
|
11543
11551
|
"rel": "noreferrer noopener",
|
|
11544
|
-
"
|
|
11552
|
+
"content": "Fazer o download do anexo"
|
|
11545
11553
|
}
|
|
11546
11554
|
}, [_c('fa-icon', {
|
|
11547
|
-
class: [_vm.iconClass],
|
|
11548
11555
|
attrs: {
|
|
11549
|
-
"icon":
|
|
11550
|
-
}
|
|
11551
|
-
}), _vm._v(" "), _c('p', {
|
|
11552
|
-
domProps: {
|
|
11553
|
-
"textContent": _vm._s(_vm.filename)
|
|
11556
|
+
"icon": ['fas', 'download']
|
|
11554
11557
|
}
|
|
11555
|
-
})], 1) : _c('
|
|
11556
|
-
|
|
11558
|
+
})], 1) : _vm._e(), _vm._ssrNode(" "), _c('span', {
|
|
11559
|
+
directives: [{
|
|
11560
|
+
name: "tippy",
|
|
11561
|
+
rawName: "v-tippy"
|
|
11562
|
+
}],
|
|
11563
|
+
staticClass: "file-action-button",
|
|
11557
11564
|
attrs: {
|
|
11558
|
-
"
|
|
11565
|
+
"content": "Fazer download de todos anexos da tela"
|
|
11566
|
+
},
|
|
11567
|
+
on: {
|
|
11568
|
+
"click": _vm.downloadAllFilesHandler
|
|
11559
11569
|
}
|
|
11560
11570
|
}, [_c('fa-icon', {
|
|
11561
|
-
attrs: {
|
|
11562
|
-
"icon": ['fas', 'file-alt']
|
|
11563
|
-
}
|
|
11564
|
-
}), _vm._v("\n " + _vm._s(_vm.filename) + "\n ")], 1)]], 2) : _vm._e(), _vm._v(" "), _vm.imageURL ? _c('a', {
|
|
11565
|
-
attrs: {
|
|
11566
|
-
"href": _vm.imageURL,
|
|
11567
|
-
"download": "" + _vm.filename,
|
|
11568
|
-
"target": "_blank",
|
|
11569
|
-
"rel": "noreferrer noopener"
|
|
11570
|
-
}
|
|
11571
|
-
}, [_vm._v(" " + _vm._s(_vm.dictionary.titulo_baixar_img) + " "), _c('fa-icon', {
|
|
11572
11571
|
attrs: {
|
|
11573
11572
|
"icon": ['fas', 'download']
|
|
11574
11573
|
}
|
|
11575
|
-
})
|
|
11574
|
+
}), _vm._ssrNode(" "), _c('fa-icon', {
|
|
11576
11575
|
attrs: {
|
|
11577
|
-
"
|
|
11578
|
-
"download": "" + _vm.filename,
|
|
11579
|
-
"target": "_blank",
|
|
11580
|
-
"rel": "noreferrer noopener"
|
|
11576
|
+
"icon": ['fas', 'download']
|
|
11581
11577
|
}
|
|
11582
|
-
},
|
|
11578
|
+
}), _vm._ssrNode(" "), _c('fa-icon', {
|
|
11583
11579
|
attrs: {
|
|
11584
11580
|
"icon": ['fas', 'download']
|
|
11585
11581
|
}
|
|
11586
|
-
})],
|
|
11582
|
+
})], 2)], 2)], 2)]);
|
|
11587
11583
|
};
|
|
11588
11584
|
|
|
11589
11585
|
var __vue_staticRenderFns__$8 = [];
|
|
@@ -11591,8 +11587,8 @@ var __vue_staticRenderFns__$8 = [];
|
|
|
11591
11587
|
|
|
11592
11588
|
var __vue_inject_styles__$8 = function __vue_inject_styles__(inject) {
|
|
11593
11589
|
if (!inject) return;
|
|
11594
|
-
inject("data-v-
|
|
11595
|
-
source: ".fade-enter-active[data-v-
|
|
11590
|
+
inject("data-v-14bae430_0", {
|
|
11591
|
+
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}",
|
|
11596
11592
|
map: undefined,
|
|
11597
11593
|
media: undefined
|
|
11598
11594
|
});
|
|
@@ -11600,10 +11596,10 @@ var __vue_inject_styles__$8 = function __vue_inject_styles__(inject) {
|
|
|
11600
11596
|
/* scoped */
|
|
11601
11597
|
|
|
11602
11598
|
|
|
11603
|
-
var __vue_scope_id__$8 = "data-v-
|
|
11599
|
+
var __vue_scope_id__$8 = "data-v-14bae430";
|
|
11604
11600
|
/* module identifier */
|
|
11605
11601
|
|
|
11606
|
-
var __vue_module_identifier__$8 = "data-v-
|
|
11602
|
+
var __vue_module_identifier__$8 = "data-v-14bae430";
|
|
11607
11603
|
/* functional template */
|
|
11608
11604
|
|
|
11609
11605
|
var __vue_is_functional_template__$8 = false;
|
|
@@ -11916,7 +11912,10 @@ var script$5 = {
|
|
|
11916
11912
|
InteratividadeFormulario: InteratividadeFormulario,
|
|
11917
11913
|
LinkPreview: LinkPreview
|
|
11918
11914
|
},
|
|
11919
|
-
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"],
|
|
11915
|
+
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"],
|
|
11916
|
+
created: function created() {
|
|
11917
|
+
if (!this.$root.$refs.chatMessages) this.$root.$refs.chatMessages = this;
|
|
11918
|
+
},
|
|
11920
11919
|
data: function data() {
|
|
11921
11920
|
return {
|
|
11922
11921
|
strTooltipAux: "",
|
|
@@ -12179,7 +12178,10 @@ var __vue_render__$5 = function __vue_render__() {
|
|
|
12179
12178
|
"dominio": _vm.dominio
|
|
12180
12179
|
},
|
|
12181
12180
|
on: {
|
|
12182
|
-
"abrir-imagem": _vm.abrirImagem
|
|
12181
|
+
"abrir-imagem": _vm.abrirImagem,
|
|
12182
|
+
"download-all": function downloadAll($event) {
|
|
12183
|
+
return _vm.$emit('download-all');
|
|
12184
|
+
}
|
|
12183
12185
|
}
|
|
12184
12186
|
})], 1);
|
|
12185
12187
|
}) : _vm._e(), _vm._v(" "), _vm.urlSticker ? _c('img', {
|
|
@@ -12424,7 +12426,7 @@ var __vue_staticRenderFns__$5 = [];
|
|
|
12424
12426
|
|
|
12425
12427
|
var __vue_inject_styles__$5 = function __vue_inject_styles__(inject) {
|
|
12426
12428
|
if (!inject) return;
|
|
12427
|
-
inject("data-v-
|
|
12429
|
+
inject("data-v-4d7ba00c_0", {
|
|
12428
12430
|
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}",
|
|
12429
12431
|
map: undefined,
|
|
12430
12432
|
media: undefined
|
|
@@ -12436,7 +12438,7 @@ var __vue_inject_styles__$5 = function __vue_inject_styles__(inject) {
|
|
|
12436
12438
|
var __vue_scope_id__$5 = undefined;
|
|
12437
12439
|
/* module identifier */
|
|
12438
12440
|
|
|
12439
|
-
var __vue_module_identifier__$5 = "data-v-
|
|
12441
|
+
var __vue_module_identifier__$5 = "data-v-4d7ba00c";
|
|
12440
12442
|
/* functional template */
|
|
12441
12443
|
|
|
12442
12444
|
var __vue_is_functional_template__$5 = false;
|
package/package.json
CHANGED
|
@@ -1,43 +1,41 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="mensagem-div-anexo">
|
|
3
|
-
<
|
|
4
|
-
<
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
<div class="anexo-mensagem">
|
|
4
|
+
<img v-if="imageURL" @click="showImage(imageURL)" :src="imageURL" :alt="dictionary.alt_msg_img">
|
|
5
|
+
<audio v-else-if="audio" controls>
|
|
6
|
+
<source :src="docURL" :type="fileType" />
|
|
7
|
+
Sem suporte para o elemento audio
|
|
8
|
+
</audio>
|
|
9
|
+
<video v-else-if="video" controls>
|
|
10
|
+
<source :src="docURL" :type="fileType" />
|
|
11
|
+
Sem suporte para o elemento video
|
|
12
|
+
</video>
|
|
13
|
+
<a v-else-if="docURL" :href="docURL" target="_blank" rel="noreferrer noopener" class="default-doc">
|
|
14
|
+
<fa-icon :class="[iconClass]" :icon="icon" />
|
|
15
|
+
<p v-text="filename" :title="filename"></p>
|
|
16
|
+
</a>
|
|
17
|
+
<span v-else class="default-doc">
|
|
18
|
+
<fa-icon :class="[iconClass ? iconClass : '']" :icon="['fas', 'file-alt']" />
|
|
19
|
+
<p v-text="filename" :title="filename"></p>
|
|
20
|
+
</span>
|
|
21
|
+
<!-- Acoes -->
|
|
22
|
+
<div class="file-actions">
|
|
23
|
+
<span v-if="imageURL" class="file-action-button" @click="showImage(imageURL)">
|
|
24
|
+
<fa-icon :icon="['fas', 'search-plus']" v-tippy :content="`${dictionary.titulo_visualizar_img}`" />
|
|
25
|
+
</span>
|
|
26
|
+
<a v-if="docURL" :href="docURL" target="_blank" rel="noreferrer noopener" v-tippy :content="`Visualizar anexo`" class="file-action-button">
|
|
27
|
+
<fa-icon :icon="['fas', 'search-plus']" />
|
|
28
|
+
</a>
|
|
29
|
+
<a v-if="imageURL || docURL" :href="imageURL ? imageURL : docURL" :download="`${filename}`" target="_blank" rel="noreferrer noopener" v-tippy :content="`Fazer o download do anexo`" class="file-action-button">
|
|
30
|
+
<fa-icon :icon="['fas', 'download']" />
|
|
31
|
+
</a>
|
|
32
|
+
<span class="file-action-button" v-tippy :content="`Fazer download de todos anexos da tela`" @click="downloadAllFilesHandler">
|
|
33
|
+
<fa-icon :icon="['fas', 'download']" />
|
|
34
|
+
<fa-icon :icon="['fas', 'download']" />
|
|
35
|
+
<fa-icon :icon="['fas', 'download']" />
|
|
36
|
+
</span>
|
|
9
37
|
</div>
|
|
10
|
-
|
|
11
|
-
<div v-else key="anexo-mensagem" class="anexo-mensagem">
|
|
12
|
-
<img v-if="imageURL" @click="showImage(imageURL)" :src="imageURL" :alt="dictionary.alt_msg_img">
|
|
13
|
-
<div class="anexos-links-container" v-if="imageURL">
|
|
14
|
-
<a href="#" @click.prevent="showImage(imageURL)"> {{ dictionary.titulo_visualizar_img }} </a>
|
|
15
|
-
<fa-icon :icon="['fas', 'search-plus']" @click="showImage(imageURL)" />
|
|
16
|
-
</div>
|
|
17
|
-
<div v-else-if="docURL" class="anexo-container">
|
|
18
|
-
<template v-if="audio || video">
|
|
19
|
-
<audio v-if="audio" :src="docURL" controls :title="`${fileType} - ${filename}`">
|
|
20
|
-
<p> {{ dictionary.msg_erro_audio }} <a :href="docURL" target="_blank" rel="noreferrer noopener"> {{ dictionary.msg_abrir_audio }} </a> </p>
|
|
21
|
-
</audio>
|
|
22
|
-
<video v-if="video" :src="docURL" controls :title="`${fileType} - ${filename}`">
|
|
23
|
-
<p> {{ dictionary.msg_erro_video }} <a v-if="fileType != 'erro'" :href="docURL" target="_blank" rel="noreferrer noopener"> {{ dictionary.msg_abrir_video }} </a> </p>
|
|
24
|
-
</video>
|
|
25
|
-
</template>
|
|
26
|
-
<template v-else>
|
|
27
|
-
<a v-if="fileType != 'erro'" :href="docURL" target="_blank" rel="noreferrer noopener" :title="`${fileType} - ${filename}`">
|
|
28
|
-
<fa-icon :class="[iconClass]" :icon="icon" />
|
|
29
|
-
<p v-text="filename"></p>
|
|
30
|
-
</a>
|
|
31
|
-
<p v-else :title="`${fileType} - ${filename}`" class="arquivo-erro">
|
|
32
|
-
<fa-icon :icon="['fas', 'file-alt']" />
|
|
33
|
-
{{ filename }}
|
|
34
|
-
</p>
|
|
35
|
-
</template>
|
|
36
|
-
</div>
|
|
37
|
-
<a v-if="imageURL" :href="imageURL" :download="`${filename}`" target="_blank" rel="noreferrer noopener"> {{ dictionary.titulo_baixar_img }} <fa-icon :icon="['fas', 'download']" /> </a>
|
|
38
|
-
<a v-if="docURL" :href="docURL" :download="`${filename}`" target="_blank" rel="noreferrer noopener"> {{ dictionary.titulo_baixar_doc }} <fa-icon :icon="['fas', 'download']" /> </a>
|
|
39
|
-
</div>
|
|
40
|
-
</transition-group>
|
|
38
|
+
</div>
|
|
41
39
|
</div>
|
|
42
40
|
</template>
|
|
43
41
|
|
|
@@ -105,6 +103,73 @@ export default {
|
|
|
105
103
|
</script>
|
|
106
104
|
|
|
107
105
|
<style scoped>
|
|
106
|
+
.mensagem__principal .default-doc {
|
|
107
|
+
background-color: rgba(255, 255, 255, 0.1);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.mensagem__outros .default-doc {
|
|
111
|
+
background-color: rgba(100, 100, 100, 0.1);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.default-doc {
|
|
115
|
+
display: flex;
|
|
116
|
+
align-items: center;
|
|
117
|
+
padding: 10px;
|
|
118
|
+
border-radius: 5px;
|
|
119
|
+
width: 100%;
|
|
120
|
+
max-width: 100%;
|
|
121
|
+
}
|
|
122
|
+
.default-doc svg {
|
|
123
|
+
font-size: 1.2rem;
|
|
124
|
+
margin-right: 5px;
|
|
125
|
+
}
|
|
126
|
+
.default-doc p {
|
|
127
|
+
overflow: hidden;
|
|
128
|
+
text-overflow: ellipsis;
|
|
129
|
+
white-space: nowrap;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.file-actions {
|
|
133
|
+
display: flex;
|
|
134
|
+
justify-content: flex-end;
|
|
135
|
+
width: 100%;
|
|
136
|
+
padding: 5px;
|
|
137
|
+
}
|
|
138
|
+
.file-actions a {
|
|
139
|
+
margin-right: 0;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.mensagem__principal .file-action-button {
|
|
143
|
+
background-color: rgba(255, 255, 255, 0.1);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.mensagem__outros .file-action-button {
|
|
147
|
+
background-color: rgba(100, 100, 100, 0.1);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.mensagem__principal .file-action-button:hover {
|
|
151
|
+
background-color: rgba(255, 255, 255, 0.3);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.mensagem__outros .file-action-button:hover {
|
|
155
|
+
background-color: rgba(100, 100, 100, 0.3);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.file-action-button {
|
|
159
|
+
display: flex;
|
|
160
|
+
justify-content: center;
|
|
161
|
+
align-items: center;
|
|
162
|
+
margin-left: 12px;
|
|
163
|
+
cursor: pointer;
|
|
164
|
+
padding: 5px;
|
|
165
|
+
border-radius: 5px;
|
|
166
|
+
transition: background-color 150ms ease-in-out;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.file-action-button a {
|
|
170
|
+
margin: 0
|
|
171
|
+
}
|
|
172
|
+
|
|
108
173
|
.fade-enter-active, .fade-leave-active {
|
|
109
174
|
transition: opacity .5s;
|
|
110
175
|
}
|
|
@@ -145,15 +210,19 @@ export default {
|
|
|
145
210
|
.anexo-container svg{
|
|
146
211
|
font-size: 2rem;
|
|
147
212
|
}
|
|
148
|
-
|
|
213
|
+
|
|
214
|
+
.anexo-mensagem audio{
|
|
149
215
|
outline: none;
|
|
150
216
|
width: 100%;
|
|
217
|
+
margin-bottom: 5px;
|
|
151
218
|
}
|
|
152
|
-
|
|
219
|
+
|
|
220
|
+
.anexo-mensagem video{
|
|
153
221
|
flex: 1;
|
|
154
222
|
width: 100%;
|
|
155
223
|
max-width: 350px;
|
|
156
224
|
cursor: pointer;
|
|
225
|
+
margin-bottom: 5px;
|
|
157
226
|
}
|
|
158
227
|
|
|
159
228
|
.anexos-links-container{
|
|
@@ -193,6 +262,7 @@ export default {
|
|
|
193
262
|
justify-content: center;
|
|
194
263
|
align-items: center;
|
|
195
264
|
flex-direction: column;
|
|
265
|
+
width: 100%;
|
|
196
266
|
}
|
|
197
267
|
|
|
198
268
|
.alert-danger {
|
|
@@ -222,4 +292,4 @@ export default {
|
|
|
222
292
|
.doc {
|
|
223
293
|
color: #006bc9
|
|
224
294
|
}
|
|
225
|
-
</style>
|
|
295
|
+
</style>
|