vue-intergrall-plugins 0.0.197 → 0.0.200
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 +28 -22
- package/dist/vue-intergrall-plugins.min.js +1 -1
- package/dist/vue-intergrall-plugins.ssr.js +30 -25
- package/package.json +1 -1
- package/src/lib-components/Messages/AnexoMensagem.vue +8 -4
- package/src/lib-components/Messages/ChatMessages.vue +1 -1
- package/src/lib-components/Messages/LinkPreview.vue +15 -9
|
@@ -11884,7 +11884,11 @@ var script$6 = {
|
|
|
11884
11884
|
},
|
|
11885
11885
|
|
|
11886
11886
|
validarAnexo() {
|
|
11887
|
-
let status = true;
|
|
11887
|
+
let status = true; //caso for audio ou documento ignorar
|
|
11888
|
+
|
|
11889
|
+
if (this.anexo.docAnexo || this.anexo.audio) {
|
|
11890
|
+
return true;
|
|
11891
|
+
}
|
|
11888
11892
|
|
|
11889
11893
|
if (!this.anexo.name) {
|
|
11890
11894
|
this.imgMsgErro = this.dictionary.img_com_erro_nome;
|
|
@@ -11894,12 +11898,11 @@ var script$6 = {
|
|
|
11894
11898
|
if (!this.anexo.nomeGravacao) {
|
|
11895
11899
|
this.imgMsgErro = this.dictionary.img_com_erro_nome_gravacao;
|
|
11896
11900
|
status = false;
|
|
11897
|
-
}
|
|
11901
|
+
} // if(!this.anexo.size || this.anexo.size == 0){
|
|
11902
|
+
// this.imgMsgErro = this.dictionary.img_com_erro_tamanho
|
|
11903
|
+
// status = false;
|
|
11904
|
+
// }
|
|
11898
11905
|
|
|
11899
|
-
if (!this.anexo.size || this.anexo.size == 0) {
|
|
11900
|
-
this.imgMsgErro = this.dictionary.img_com_erro_tamanho;
|
|
11901
|
-
status = false;
|
|
11902
|
-
}
|
|
11903
11906
|
|
|
11904
11907
|
if (!this.anexo.type) {
|
|
11905
11908
|
this.imgMsgErro = this.dictionary.img_com_erro_tipo;
|
|
@@ -12077,8 +12080,8 @@ var __vue_staticRenderFns__$6 = [];
|
|
|
12077
12080
|
|
|
12078
12081
|
const __vue_inject_styles__$6 = function (inject) {
|
|
12079
12082
|
if (!inject) return;
|
|
12080
|
-
inject("data-v-
|
|
12081
|
-
source: ".fade-enter-active[data-v-
|
|
12083
|
+
inject("data-v-19808158_0", {
|
|
12084
|
+
source: ".fade-enter-active[data-v-19808158],.fade-leave-active[data-v-19808158]{transition:opacity .5s}.fade-enter[data-v-19808158],.fade-leave-to[data-v-19808158]{opacity:0}.mensagem-div-anexo[data-v-19808158]{width:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;overflow:hidden}.anexo-container[data-v-19808158]{width:100%;margin-top:5px}.anexo-container .arquivo-erro[data-v-19808158],.anexo-container a[data-v-19808158]{padding:10px 15px 15px 15px;display:flex;justify-content:center;align-items:center}.anexo-container .arquivo-erro[data-v-19808158],.anexo-container p[data-v-19808158]{margin:0;margin-left:15px;font-size:.9rem}.anexo-container svg[data-v-19808158]{font-size:2rem}.anexo-container audio[data-v-19808158]{outline:0;width:100%}.anexo-container video[data-v-19808158]{width:100%;max-width:350px;cursor:pointer}.anexos-links-container[data-v-19808158]{width:100%;display:flex;justify-content:center;align-items:center}.anexos-links-container a[data-v-19808158]{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-19808158]{cursor:pointer}.mensagem-div-anexo img[data-v-19808158]{cursor:pointer;margin:10px 0;min-width:35px;width:100%;max-width:250px}.anexo-transition[data-v-19808158]{width:100%;height:100%}.anexo-mensagem[data-v-19808158]{display:flex;justify-content:center;align-items:center;flex-direction:column}.alert-danger[data-v-19808158]{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.alert[data-v-19808158]{position:relative;padding:.65rem 1.2rem;margin:5px 0;border:1px solid transparent;border-radius:.25rem;text-align:center}.alert svg[data-v-19808158]{font-size:1.025em;margin-right:2px}",
|
|
12082
12085
|
map: undefined,
|
|
12083
12086
|
media: undefined
|
|
12084
12087
|
});
|
|
@@ -12086,7 +12089,7 @@ const __vue_inject_styles__$6 = function (inject) {
|
|
|
12086
12089
|
/* scoped */
|
|
12087
12090
|
|
|
12088
12091
|
|
|
12089
|
-
const __vue_scope_id__$6 = "data-v-
|
|
12092
|
+
const __vue_scope_id__$6 = "data-v-19808158";
|
|
12090
12093
|
/* module identifier */
|
|
12091
12094
|
|
|
12092
12095
|
const __vue_module_identifier__$6 = undefined;
|
|
@@ -12319,7 +12322,7 @@ var script$4 = {
|
|
|
12319
12322
|
const response = await this.$httpRequest({
|
|
12320
12323
|
method: 'get',
|
|
12321
12324
|
url: `${baseURL}/preview?url=${encodedURL}${dev}` // headers: {
|
|
12322
|
-
// Authorization: "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.
|
|
12325
|
+
// Authorization: "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdGQiOiJNS1VGWnBQeEV1UHc5UXdvN21HU2tWNEl4VHN0blM3MHNyZUJTTWt3d3hiNDRhd3dDcWwxd09jIiwibWFuYWdlciI6Ik1LVXRhd3dpbTRsNXd3WW1LMWFJYXd3aW00bDV3d3d3eGI0NGF3d0s0a2pveHBPMnl6TFZ3dXBud3d4YjQ0YXd3cmxNNHRqZ3FKTExsTjMiLCJoYXNfaW5mb3MiOnRydWUsIm5yb3MiOlsiMjczIl0sImF1dGgiOiJNS1VncmxDdkdRbElGbXZVTERCSGplV0wyOXFVUHdyOVlSMVMyeXdJanlLOUNteCIsImlhdCI6MTY0ODQ3MzYxNSwiZXhwIjoxNjQ4NTYwMDE1fQ.KSG_6_9NfQhk5br7hnXzeLyVZuT69XLaEYF9XkdgmmQ"
|
|
12323
12326
|
// }
|
|
12324
12327
|
|
|
12325
12328
|
});
|
|
@@ -12350,7 +12353,7 @@ var script$4 = {
|
|
|
12350
12353
|
author
|
|
12351
12354
|
} = og;
|
|
12352
12355
|
if (image) this.linkPreview.imageSource = image.url ? image.url : image.url == "" ? "" : image;
|
|
12353
|
-
if (author || site_name || title) this.linkPreview.author = author ? author : site_name ? site_name :
|
|
12356
|
+
if (author || site_name || title) this.linkPreview.author = title ? title : author ? author : site_name ? site_name : "";
|
|
12354
12357
|
if (og.description) this.linkPreview.description = og.description;
|
|
12355
12358
|
}
|
|
12356
12359
|
|
|
@@ -12400,7 +12403,10 @@ var __vue_render__$4 = function () {
|
|
|
12400
12403
|
"alt": "Imagem referente ao link"
|
|
12401
12404
|
}
|
|
12402
12405
|
})]) : _vm._e(), _vm._v(" "), _vm.linkPreview.author ? _c('div', {
|
|
12403
|
-
staticClass: "link-preview-author"
|
|
12406
|
+
staticClass: "link-preview-author",
|
|
12407
|
+
class: {
|
|
12408
|
+
'mb-0': _vm.linkPreview.description
|
|
12409
|
+
}
|
|
12404
12410
|
}, [_c('h1', {
|
|
12405
12411
|
domProps: {
|
|
12406
12412
|
"textContent": _vm._s(_vm.linkPreview.author)
|
|
@@ -12419,8 +12425,8 @@ var __vue_staticRenderFns__$4 = [];
|
|
|
12419
12425
|
|
|
12420
12426
|
const __vue_inject_styles__$4 = function (inject) {
|
|
12421
12427
|
if (!inject) return;
|
|
12422
|
-
inject("data-v-
|
|
12423
|
-
source: ".link-preview[data-v-
|
|
12428
|
+
inject("data-v-0ab9360e_0", {
|
|
12429
|
+
source: ".link-preview[data-v-0ab9360e]{display:flex;flex-direction:column;background-color:#eee;color:#333;cursor:pointer;margin:5px 0;border-radius:5px;opacity:.95;transition:opacity .3s ease-in-out;font-size:.85rem}.link-preview-image[data-v-0ab9360e]{display:flex;justify-content:center;align-items:center;padding:1px;border-top-left-radius:5px;border-top-right-radius:5px}.link-preview-author[data-v-0ab9360e]{margin:5px;font-size:.615em;font-weight:700}.link-preview-author.mb-0[data-v-0ab9360e]{margin-bottom:0}.link-preview-author h1[data-v-0ab9360e]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.link-preview-image img[data-v-0ab9360e]{min-width:100px;max-width:100%;border-top-left-radius:5px;border-top-right-radius:5px}.link-preview-infos[data-v-0ab9360e]{background-color:#2626261a;padding:5px;margin:5px;font-size:.83em;border-radius:5px}.link-preview[data-v-0ab9360e]:hover{opacity:1}.link-preview:hover .link-preview-infos p[data-v-0ab9360e]{text-decoration:underline}",
|
|
12424
12430
|
map: undefined,
|
|
12425
12431
|
media: undefined
|
|
12426
12432
|
});
|
|
@@ -12428,7 +12434,7 @@ const __vue_inject_styles__$4 = function (inject) {
|
|
|
12428
12434
|
/* scoped */
|
|
12429
12435
|
|
|
12430
12436
|
|
|
12431
|
-
const __vue_scope_id__$4 = "data-v-
|
|
12437
|
+
const __vue_scope_id__$4 = "data-v-0ab9360e";
|
|
12432
12438
|
/* module identifier */
|
|
12433
12439
|
|
|
12434
12440
|
const __vue_module_identifier__$4 = undefined;
|
|
@@ -12670,11 +12676,7 @@ var __vue_render__$3 = function () {
|
|
|
12670
12676
|
mapa: _vm.mapa,
|
|
12671
12677
|
'hist-msg': _vm.histMsg
|
|
12672
12678
|
}
|
|
12673
|
-
}, [_vm.
|
|
12674
|
-
attrs: {
|
|
12675
|
-
"message": _vm.message
|
|
12676
|
-
}
|
|
12677
|
-
}) : _vm._e(), _vm._v(" "), _vm.anexos && _vm.anexos.length ? _vm._l(_vm.anexos, function (anexo, index) {
|
|
12679
|
+
}, [_vm.anexos && _vm.anexos.length ? _vm._l(_vm.anexos, function (anexo, index) {
|
|
12678
12680
|
return _c('div', {
|
|
12679
12681
|
key: index,
|
|
12680
12682
|
staticClass: "mensagem-anexo"
|
|
@@ -12730,7 +12732,11 @@ var __vue_render__$3 = function () {
|
|
|
12730
12732
|
"icon": ['fas', 'map-marker-alt']
|
|
12731
12733
|
}
|
|
12732
12734
|
})], 1)], 2);
|
|
12733
|
-
}), 0) : _vm._e()], 1) : _vm._e(), _vm._v(" "), _c('
|
|
12735
|
+
}), 0) : _vm._e()], 1) : _vm._e(), _vm._v(" "), _vm.link && !_vm.mapa ? _c('LinkPreview', {
|
|
12736
|
+
attrs: {
|
|
12737
|
+
"message": _vm.message
|
|
12738
|
+
}
|
|
12739
|
+
}) : _vm._e(), _vm._v(" "), _c('p', {
|
|
12734
12740
|
domProps: {
|
|
12735
12741
|
"innerHTML": _vm._s(_vm.validateInterativity() ? '' : _vm.formatMsg(_vm.message))
|
|
12736
12742
|
}
|
|
@@ -12927,7 +12933,7 @@ var __vue_staticRenderFns__$3 = [];
|
|
|
12927
12933
|
|
|
12928
12934
|
const __vue_inject_styles__$3 = function (inject) {
|
|
12929
12935
|
if (!inject) return;
|
|
12930
|
-
inject("data-v-
|
|
12936
|
+
inject("data-v-257d4492_0", {
|
|
12931
12937
|
source: ":root{--message-color:#373737}.fade-enter-active,.fade-leave-active{transition:opacity .5s}.fade-enter,.fade-leave-to{opacity:0}.mensagem{padding:14px 7px;border-radius:2.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:.85rem;word-break:break-word}.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:#fff}.mensagem__principal>.mensagem .horario-envio{color:#fff}.mensagem__principal>.mensagem .autor-mensagem{right:5px;color:#fff}.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:.7em}.info-mapa li.url{font-size:.7em}.tooltip-list{margin:0;padding:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}",
|
|
12932
12938
|
map: undefined,
|
|
12933
12939
|
media: undefined
|