vue-intergrall-plugins 0.0.115 → 0.0.119
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 +31 -28
- package/dist/vue-intergrall-plugins.min.js +1 -1
- package/dist/vue-intergrall-plugins.ssr.js +36 -32
- package/package.json +1 -1
- package/src/lib-components/Messages/CardAttachment.vue +6 -14
- package/src/lib-components/Messages/CardMessages.vue +17 -3
- package/src/lib-components/Messages/ChatMessages.vue +2 -2
|
@@ -5858,10 +5858,6 @@ var script$4 = {
|
|
|
5858
5858
|
dominio: {
|
|
5859
5859
|
type: String,
|
|
5860
5860
|
required: true
|
|
5861
|
-
},
|
|
5862
|
-
emitirClick: {
|
|
5863
|
-
type: Boolean,
|
|
5864
|
-
required: false
|
|
5865
5861
|
}
|
|
5866
5862
|
},
|
|
5867
5863
|
computed: {
|
|
@@ -5922,19 +5918,11 @@ var script$4 = {
|
|
|
5922
5918
|
this.icone = this.tipoDoc === "pdf" ? ['fas', 'file-pdf'] : ['fas', 'file-alt'];
|
|
5923
5919
|
},
|
|
5924
5920
|
|
|
5925
|
-
abrirAnexo(link) {
|
|
5921
|
+
abrirAnexo(link, isImg) {
|
|
5926
5922
|
const width = window.innerWidth;
|
|
5927
5923
|
const height = window.innerHeight;
|
|
5928
|
-
|
|
5929
|
-
|
|
5930
|
-
|
|
5931
|
-
abrirImagem(img) {
|
|
5932
|
-
if (this.emitirClick) return this.$emit("abrir-imagem", img);
|
|
5933
|
-
this.$store.dispatch("toggleBlocker", {
|
|
5934
|
-
state: true,
|
|
5935
|
-
origin: "visualizar-imagem"
|
|
5936
|
-
});
|
|
5937
|
-
this.$store.dispatch("setLinkImagem", img);
|
|
5924
|
+
const options = !isImg ? `width=${width},height=${height}` : "width=auto,height=auto";
|
|
5925
|
+
window.open(link, "anexo-ra", options);
|
|
5938
5926
|
}
|
|
5939
5927
|
|
|
5940
5928
|
}
|
|
@@ -5973,7 +5961,7 @@ var __vue_render__$4 = function () {
|
|
|
5973
5961
|
},
|
|
5974
5962
|
on: {
|
|
5975
5963
|
"click": function ($event) {
|
|
5976
|
-
return _vm.
|
|
5964
|
+
return _vm.abrirAnexo(_vm.imgAnexo, true);
|
|
5977
5965
|
}
|
|
5978
5966
|
}
|
|
5979
5967
|
}, [_c('img', {
|
|
@@ -5991,7 +5979,7 @@ var __vue_render__$4 = function () {
|
|
|
5991
5979
|
},
|
|
5992
5980
|
on: {
|
|
5993
5981
|
"click": function ($event) {
|
|
5994
|
-
return _vm.abrirAnexo(_vm.docAnexo);
|
|
5982
|
+
return _vm.abrirAnexo(_vm.docAnexo, false);
|
|
5995
5983
|
}
|
|
5996
5984
|
}
|
|
5997
5985
|
}, [_c('fa-icon', {
|
|
@@ -6006,8 +5994,8 @@ var __vue_staticRenderFns__$4 = [];
|
|
|
6006
5994
|
|
|
6007
5995
|
const __vue_inject_styles__$4 = function (inject) {
|
|
6008
5996
|
if (!inject) return;
|
|
6009
|
-
inject("data-v-
|
|
6010
|
-
source: ".fade-enter-active[data-v-
|
|
5997
|
+
inject("data-v-fa13bc34_0", {
|
|
5998
|
+
source: ".fade-enter-active[data-v-fa13bc34],.fade-leave-active[data-v-fa13bc34]{transition:opacity .5s}.fade-enter[data-v-fa13bc34],.fade-leave-to[data-v-fa13bc34]{opacity:0}",
|
|
6011
5999
|
map: undefined,
|
|
6012
6000
|
media: undefined
|
|
6013
6001
|
});
|
|
@@ -6015,7 +6003,7 @@ const __vue_inject_styles__$4 = function (inject) {
|
|
|
6015
6003
|
/* scoped */
|
|
6016
6004
|
|
|
6017
6005
|
|
|
6018
|
-
const __vue_scope_id__$4 = "data-v-
|
|
6006
|
+
const __vue_scope_id__$4 = "data-v-fa13bc34";
|
|
6019
6007
|
/* module identifier */
|
|
6020
6008
|
|
|
6021
6009
|
const __vue_module_identifier__$4 = undefined;
|
|
@@ -6043,10 +6031,19 @@ var script$3 = {
|
|
|
6043
6031
|
type: Object,
|
|
6044
6032
|
required: true
|
|
6045
6033
|
},
|
|
6034
|
+
messageIndex: {
|
|
6035
|
+
type: [Number, String],
|
|
6036
|
+
required: true
|
|
6037
|
+
},
|
|
6046
6038
|
dominio: {
|
|
6047
6039
|
type: String,
|
|
6048
6040
|
required: true
|
|
6049
6041
|
},
|
|
6042
|
+
hasExpand: {
|
|
6043
|
+
type: Boolean,
|
|
6044
|
+
required: false,
|
|
6045
|
+
default: true
|
|
6046
|
+
},
|
|
6050
6047
|
origem: {
|
|
6051
6048
|
type: String,
|
|
6052
6049
|
required: true
|
|
@@ -6154,6 +6151,9 @@ var __vue_render__$3 = function () {
|
|
|
6154
6151
|
'card-cli': _vm.origem === 'outros',
|
|
6155
6152
|
'card-ope': _vm.origem === 'principal',
|
|
6156
6153
|
'msgNova': _vm.msgNova
|
|
6154
|
+
},
|
|
6155
|
+
attrs: {
|
|
6156
|
+
"id": "a" + _vm.messageIndex
|
|
6157
6157
|
}
|
|
6158
6158
|
}, [_c('transition', {
|
|
6159
6159
|
attrs: {
|
|
@@ -6208,7 +6208,7 @@ var __vue_render__$3 = function () {
|
|
|
6208
6208
|
domProps: {
|
|
6209
6209
|
"textContent": _vm._s(_vm.origem === 'outros' ? _vm.formataTimezoneData(_vm.data_mod) : _vm.formataDataHora(_vm.data_mod))
|
|
6210
6210
|
}
|
|
6211
|
-
})]) : _vm._e()]), _vm._v(" "), _c('div', {
|
|
6211
|
+
})]) : _vm._e()]), _vm._v(" "), _vm.hasExpand ? _c('div', {
|
|
6212
6212
|
staticClass: "card-expand",
|
|
6213
6213
|
on: {
|
|
6214
6214
|
"click": function ($event) {
|
|
@@ -6219,7 +6219,7 @@ var __vue_render__$3 = function () {
|
|
|
6219
6219
|
attrs: {
|
|
6220
6220
|
"icon": ['fas', 'expand-alt']
|
|
6221
6221
|
}
|
|
6222
|
-
})], 1)])]), _vm._v(" "), _vm.ticket_id.cod && _vm.ticket_id.desc ? _c('p', {
|
|
6222
|
+
})], 1) : _vm._e()])]), _vm._v(" "), _vm.ticket_id.cod && _vm.ticket_id.desc ? _c('p', {
|
|
6223
6223
|
staticClass: "card-chip",
|
|
6224
6224
|
class: [_vm.ticketClassCod],
|
|
6225
6225
|
attrs: {
|
|
@@ -6254,8 +6254,8 @@ var __vue_staticRenderFns__$3 = [];
|
|
|
6254
6254
|
|
|
6255
6255
|
const __vue_inject_styles__$3 = function (inject) {
|
|
6256
6256
|
if (!inject) return;
|
|
6257
|
-
inject("data-v-
|
|
6258
|
-
source: ".fade-enter-active[data-v-
|
|
6257
|
+
inject("data-v-33bf4293_0", {
|
|
6258
|
+
source: ".fade-enter-active[data-v-33bf4293],.fade-leave-active[data-v-33bf4293]{transition:opacity .2s}.fade-enter[data-v-33bf4293],.fade-leave-to[data-v-33bf4293]{opacity:0}.card-cli[data-v-33bf4293],.card-ope[data-v-33bf4293]{display:flex;width:95%;margin:5px 0;position:relative}.card-cli.msgNova[data-v-33bf4293],.card-ope.msgNova[data-v-33bf4293]{margin-top:30px}.novas-mensagens[data-v-33bf4293]{position:absolute;top:-30px;width:100%;display:flex;justify-content:center;align-items:center;margin:2.5px 0;background-color:lighten(#fff249,15)}.card-cli .card[data-v-33bf4293]{border-left:3px solid #90b823}.card-ope[data-v-33bf4293]{align-self:flex-end;background-color:lighten(#007535,72)}.card-ope .card[data-v-33bf4293]{border-right:3px solid #007535}.card[data-v-33bf4293]{background-color:rgba(255,255,255,.9);overflow:hidden;width:100%;padding:2.5px 5px}.card p[data-v-33bf4293]{word-break:break-all}.card-header[data-v-33bf4293]{width:100%;border-bottom:1px solid #ddd;margin-bottom:5px;display:flex;justify-content:space-between}.card-header svg[data-v-33bf4293]{font-size:1rem}.card-canal[data-v-33bf4293]{flex:1;margin-right:10px}.card-datas[data-v-33bf4293]{display:flex;flex-direction:column;margin-right:10px}.card-data[data-v-33bf4293]{overflow:hidden;display:flex;align-content:center}.card-data span[data-v-33bf4293]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.card-data svg[data-v-33bf4293]{margin-right:5px;color:#232323}.card-expand[data-v-33bf4293]{display:flex;justify-content:center;align-items:center;margin:2.5px;cursor:pointer;opacity:.8;transition:opacity 150ms}.card-expand[data-v-33bf4293]:hover{opacity:1}.card-footer[data-v-33bf4293]{margin-top:5px;border-top:1px solid #ddd;display:flex;flex-wrap:wrap}.card-chip[data-v-33bf4293]{font-size:.8rem;width:fit-content;border-radius:15px;transition:all 150ms ease-in-out;padding:2.5px 7px;color:#1f69c1;background-color:rgba(207,216,244,.6);margin-bottom:5px}.card-chip[data-v-33bf4293]:hover{background-color:#cfd8f4}.card-chip.orange[data-v-33bf4293]{color:#e14924;background-color:rgba(228,92,58,.15)}.card-chip.orange[data-v-33bf4293]:hover{background-color:rgba(228,92,58,.2)}.card-chip.yellow[data-v-33bf4293]{color:#f4a304;background-color:rgba(252,191,73,.15)}.card-chip.yellow[data-v-33bf4293]:hover{background-color:rgba(252,191,73,.2)}.card-chip.red[data-v-33bf4293]{color:#e74c3c;background-color:rgba(231,76,60,.2)}.card-chip.red[data-v-33bf4293]:hover{background-color:rgba(231,76,60,.25)}.card-anexo[data-v-33bf4293]{width:50px;height:50px;margin-right:5px;display:flex;justify-content:center;align-items:center}.anexo-item[data-v-33bf4293]{width:100%;height:100%;display:flex;justify-content:center;align-items:center;position:relative}.anexo-item .transition-anexo-item[data-v-33bf4293]{max-width:100%;max-height:100%}.anexo-item .req-loader[data-v-33bf4293]{position:absolute;top:calc(50% - 12.5px);right:calc(50% - 12.5px)}.anexo-item .transition-anexo-item img[data-v-33bf4293]{max-width:45px;max-height:45px}.anexo-icone[data-v-33bf4293]{opacity:.9;transition:opacity .2s;color:#222;cursor:pointer;display:flex;justify-content:center;align-items:center}.anexo-icone[data-v-33bf4293]:hover{opacity:1}.anexo-icone[data-v-33bf4293]:visited{color:inherit}svg[data-v-33bf4293]{font-size:30px;z-index:1}.anexo-icone.pdf[data-v-33bf4293]{position:relative}.anexo-icone.pdf svg[data-v-33bf4293]{color:#e74c3c}.anexo-icone.pdf[data-v-33bf4293]::after{content:\"\";position:absolute;bottom:2px;transform:translateY(2px);width:20px;height:20px;background-color:#fff}.anexo-icone.doc[data-v-33bf4293]{color:#15517f}.anexo-icone.doc[data-v-33bf4293]::after{content:\"\";position:absolute;width:20px;height:20px;background-color:#fff}.anexo-img[data-v-33bf4293]{display:flex;justify-content:center;align-items:center;width:100%;height:100%;overflow:hidden;background-color:rgba(0,0,0,.2);border-radius:2.5px;cursor:pointer;opacity:.9;transition:opacity 150ms}.anexo-img[data-v-33bf4293]:hover{opacity:1}.anexo-img img[data-v-33bf4293]{width:95%}",
|
|
6259
6259
|
map: undefined,
|
|
6260
6260
|
media: undefined
|
|
6261
6261
|
});
|
|
@@ -6263,7 +6263,7 @@ const __vue_inject_styles__$3 = function (inject) {
|
|
|
6263
6263
|
/* scoped */
|
|
6264
6264
|
|
|
6265
6265
|
|
|
6266
|
-
const __vue_scope_id__$3 = "data-v-
|
|
6266
|
+
const __vue_scope_id__$3 = "data-v-33bf4293";
|
|
6267
6267
|
/* module identifier */
|
|
6268
6268
|
|
|
6269
6269
|
const __vue_module_identifier__$3 = undefined;
|
|
@@ -6528,7 +6528,7 @@ var script$1 = {
|
|
|
6528
6528
|
components: {
|
|
6529
6529
|
AnexoMensagem
|
|
6530
6530
|
},
|
|
6531
|
-
props: ["dictionary", "autor", "origem", "msg", "link", "anexo", "imgAnexo", "tipoDoc", "docAnexo", "nomeArquivo", "audio", "video", "horario", "status", "logo", "msgTooltip", "seq", "mapa", "histMsg", "erro", "msgErro", "origemExterna", "anexos", "dominio"],
|
|
6531
|
+
props: ["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"],
|
|
6532
6532
|
|
|
6533
6533
|
data() {
|
|
6534
6534
|
return {
|
|
@@ -6635,7 +6635,10 @@ var __vue_render__$1 = function () {
|
|
|
6635
6635
|
var _c = _vm._self._c || _h;
|
|
6636
6636
|
|
|
6637
6637
|
return _vm.origem && !_vm.erro ? _c('div', {
|
|
6638
|
-
class: 'mensagem__' + _vm.origem
|
|
6638
|
+
class: 'mensagem__' + _vm.origem,
|
|
6639
|
+
attrs: {
|
|
6640
|
+
"id": "a" + _vm.messageIndex
|
|
6641
|
+
}
|
|
6639
6642
|
}, [_c('div', {
|
|
6640
6643
|
staticClass: "mensagem",
|
|
6641
6644
|
class: {
|
|
@@ -6813,7 +6816,7 @@ var __vue_staticRenderFns__$1 = [];
|
|
|
6813
6816
|
|
|
6814
6817
|
const __vue_inject_styles__$1 = function (inject) {
|
|
6815
6818
|
if (!inject) return;
|
|
6816
|
-
inject("data-v-
|
|
6819
|
+
inject("data-v-2d17d68a_0", {
|
|
6817
6820
|
source: ".fade-enter-active,.fade-leave-active{transition:opacity .5s}.fade-enter,.fade-leave-to{opacity:0}.mensagem{padding:12.5px 7px 5px 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{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-right:5px;font-weight:550;color:inherit;text-decoration:none}.mensagem a:hover{text-decoration:underline}.mensagem p{margin:0 0 10px 0;white-space:pre-wrap}.check{cursor:pointer;position:absolute;right:10px;bottom:0;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}.horario-envio{margin-right:15px;font-size:.7rem;position:absolute;left:10px;bottom:0}.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 #999;bottom:5px;right:-10px;transform:rotate(-90deg)}.mensagem__principal>.mensagem{background-color:#999;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 .check{display:none}.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{min-width:225px;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}",
|
|
6818
6821
|
map: undefined,
|
|
6819
6822
|
media: undefined
|