vue-intergrall-plugins 0.0.263 → 0.0.264
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.
|
@@ -11999,7 +11999,7 @@ var script$5 = {
|
|
|
11999
11999
|
InteratividadeFormulario: InteratividadeFormulario,
|
|
12000
12000
|
LinkPreview: LinkPreview
|
|
12001
12001
|
},
|
|
12002
|
-
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"],
|
|
12002
|
+
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", "replyMessage", "isReply", "defaultReplyMessage", "showReplyIcon"],
|
|
12003
12003
|
created: function created() {
|
|
12004
12004
|
if (!this.$root.$refs.chatMessages) this.$root.$refs.chatMessages = this;
|
|
12005
12005
|
},
|
|
@@ -12255,7 +12255,20 @@ var __vue_render__$5 = function __vue_render__() {
|
|
|
12255
12255
|
'hist-msg': _vm.histMsg,
|
|
12256
12256
|
'max-w-60': _vm.link && !_vm.mapa
|
|
12257
12257
|
}
|
|
12258
|
-
}, [_vm.
|
|
12258
|
+
}, [_vm.isReply ? _c('div', {
|
|
12259
|
+
staticClass: "mensagem-reply",
|
|
12260
|
+
class: "message-reply-" + _vm.origem
|
|
12261
|
+
}, [_vm.replyMessage ? _c('p', {
|
|
12262
|
+
domProps: {
|
|
12263
|
+
"innerHTML": _vm._s(_vm.replyMessage)
|
|
12264
|
+
}
|
|
12265
|
+
}) : _c('span', {
|
|
12266
|
+
staticClass: "mensagem-reply-vazia"
|
|
12267
|
+
}, [_vm.showReplyIcon ? _c('fa-icon', {
|
|
12268
|
+
attrs: {
|
|
12269
|
+
"icon": ['fas', 'times']
|
|
12270
|
+
}
|
|
12271
|
+
}) : _vm._e(), _vm._v("\n " + _vm._s(_vm.defaultReplyMessage ? _vm.defaultReplyMessage : _vm.dictionary.mensagem_reply_padrao) + "\n ")], 1)]) : _vm._e(), _vm._v(" "), _vm.anexos && _vm.anexos.length ? _vm._l(_vm.anexos, function (anexo, index) {
|
|
12259
12272
|
return _c('div', {
|
|
12260
12273
|
key: index,
|
|
12261
12274
|
staticClass: "mensagem-anexo"
|
|
@@ -12515,8 +12528,8 @@ var __vue_staticRenderFns__$5 = [];
|
|
|
12515
12528
|
|
|
12516
12529
|
var __vue_inject_styles__$5 = function __vue_inject_styles__(inject) {
|
|
12517
12530
|
if (!inject) return;
|
|
12518
|
-
inject("data-v-
|
|
12519
|
-
source: ":root{--message-color:#373737;--text-color:#FFF;--files-bg:rgba(255, 255, 255, 0.1);--files-bg-hover:rgba(255, 255, 255, 0.1);--light:80;--threshold:60}.fade-enter-active,.fade-leave-active{transition:opacity .5s}.fade-enter,.fade-leave-to{opacity:0}.mensagem{padding:14px 7px;border-radius:5px;min-width:150px;min-height:60px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;position:relative;max-width:80%;margin-bottom:10px;font-size:.75rem;word-break:break-word;-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);-moz-box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mensagem.max-w-60{max-width:60%}.mensagem.mapa{width:100%}.mensagem.hist-msg{animation:show 1s}.mensagem a{margin-right:5px;font-weight:550;color:inherit;text-decoration:none}.mensagem a:hover{text-decoration:underline}.message p{white-space:pre-wrap}.mensagem-anexo a,.mensagem-div-mapa a{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.reply{cursor:pointer;position:absolute;right:53px;bottom:5px;font-size:.6rem;color:#67a332;width:.9rem;height:.9rem;display:flex;justify-content:center;align-items:center;border-radius:50%;background-color:#fff}.reply svg{margin-top:-1px;margin-right:-1px}.reply-with-2-icons{right:30px}.check{cursor:pointer;position:absolute;right:10px;bottom:2px;font-size:.7rem}.check.visualizado,.check.visualizado svg{color:#006daa}.check.verde,.check.verde svg{color:#4f772d}.check.vermelho,.check.vermelho svg{color:#ba181b}.check.cinza,.check.cinza svg{color:#999}.check.preto,.check.preto svg{color:#666}.star{cursor:pointer;position:absolute;right:30px;bottom:2px;font-size:.4rem;width:11.2px}.default-stick-size{width:180px;height:auto}.horario-envio{margin-right:15px;font-size:.7rem;position:absolute;left:10px;bottom:2px}.autor-mensagem{position:absolute;font-size:.6rem;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:90%;font-weight:700;top:2px}.mensagem__principal{width:100%;display:flex;justify-content:flex-end}.mensagem__principal>.mensagem::after{content:\"\";width:0;height:0;position:absolute;border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid var(--message-color);bottom:5px;right:-10px;transform:rotate(-90deg)}.mensagem__principal>.mensagem{background-color:var(--message-color);color:var(--text-color)}.mensagem__principal>.mensagem .horario-envio{color:var(--text-color)}.mensagem__principal>.mensagem .autor-mensagem{right:5px;color:var(--text-color)}.mensagem__outros{width:100%;display:flex}.mensagem__outros>.mensagem{background-color:#fff;color:#333}.mensagem__outros>.mensagem::after{content:\"\";width:0;height:0;position:absolute;border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid #fff;bottom:5px;left:-10px;transform:rotate(90deg)}.mensagem__outros>.autor-mensagem{left:5px;color:#333}.mensagem-div-mapa{width:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;margin-bottom:5px}.msg-mapa{width:100%;min-height:225px;height:100%;box-sizing:initial}.msg-mapa img{max-width:none!important}.info-mapa{list-style-type:none}.info-mapa li.title{font-size:.85em}.info-mapa li.address,.info-mapa li.url{font-size:.85em}.info-mapa li.url{font-size:.85em}.tooltip-list{margin:0;padding:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}",
|
|
12531
|
+
inject("data-v-79ea3333_0", {
|
|
12532
|
+
source: ":root{--message-color:#373737;--text-color:#FFF;--files-bg:rgba(255, 255, 255, 0.1);--files-bg-hover:rgba(255, 255, 255, 0.1);--light:80;--threshold:60}.fade-enter-active,.fade-leave-active{transition:opacity .5s}.fade-enter,.fade-leave-to{opacity:0}.mensagem-reply{padding:5px 10px;font-size:.75rem;color:#666;transition:background-color 150ms ease-in-out;border-radius:5px;margin:5px 0;overflow:hidden;max-width:100%}.mensagem-reply p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-reply-principal{border-left:3px solid transparent;background-color:rgba(100,100,100,.1)}.message-reply-principal:hover{background-color:rgba(100,100,100,.2)}.message-reply-outros{background-color:#f5f5f5;border-left:3px solid var(--message-color)}.message-reply-outros:hover{background-color:#ebebeb}.mensagem-reply-vazia{display:flex;align-items:center}.mensagem-reply-vazia svg{margin-right:5px;color:#ba181b}.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}",
|
|
12520
12533
|
map: undefined,
|
|
12521
12534
|
media: undefined
|
|
12522
12535
|
});
|
|
@@ -12527,7 +12540,7 @@ var __vue_inject_styles__$5 = function __vue_inject_styles__(inject) {
|
|
|
12527
12540
|
var __vue_scope_id__$5 = undefined;
|
|
12528
12541
|
/* module identifier */
|
|
12529
12542
|
|
|
12530
|
-
var __vue_module_identifier__$5 = "data-v-
|
|
12543
|
+
var __vue_module_identifier__$5 = "data-v-79ea3333";
|
|
12531
12544
|
/* functional template */
|
|
12532
12545
|
|
|
12533
12546
|
var __vue_is_functional_template__$5 = false;
|
package/package.json
CHANGED
|
@@ -9,6 +9,13 @@
|
|
|
9
9
|
:dictionary="dictionary"
|
|
10
10
|
/>
|
|
11
11
|
<div v-else class="mensagem" :class="{mapa, 'hist-msg' : histMsg, 'max-w-60' : link && !mapa}">
|
|
12
|
+
<div v-if="isReply" class="mensagem-reply" :class="`message-reply-${origem}`">
|
|
13
|
+
<p v-if="replyMessage" v-html="replyMessage"></p>
|
|
14
|
+
<span v-else class="mensagem-reply-vazia">
|
|
15
|
+
<fa-icon :icon="['fas', 'times']" v-if="showReplyIcon" />
|
|
16
|
+
{{ defaultReplyMessage ? defaultReplyMessage : dictionary.mensagem_reply_padrao }}
|
|
17
|
+
</span>
|
|
18
|
+
</div>
|
|
12
19
|
<template v-if="anexos && anexos.length">
|
|
13
20
|
<div class="mensagem-anexo" v-for="(anexo, index) in anexos" :key="index">
|
|
14
21
|
<AnexoMensagem :dictionary="dictionary" :anexo="anexo" :origemExterna="origemExterna" :dominio="dominio" @abrir-imagem="abrirImagem" @download-all="$emit('download-all')"/>
|
|
@@ -78,7 +85,7 @@ import LinkPreview from './LinkPreview'
|
|
|
78
85
|
|
|
79
86
|
export default {
|
|
80
87
|
components: { AnexoMensagem, InteratividadeBotoes, InteratividadeFormulario, LinkPreview },
|
|
81
|
-
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"],
|
|
88
|
+
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", "replyMessage", "isReply", "defaultReplyMessage", "showReplyIcon"],
|
|
82
89
|
created() {
|
|
83
90
|
if(!this.$root.$refs.chatMessages) this.$root.$refs.chatMessages = this
|
|
84
91
|
},
|
|
@@ -299,6 +306,47 @@ export default {
|
|
|
299
306
|
opacity: 0;
|
|
300
307
|
}
|
|
301
308
|
|
|
309
|
+
.mensagem-reply {
|
|
310
|
+
padding: 5px 10px;
|
|
311
|
+
font-size: .75rem;
|
|
312
|
+
color: #666;
|
|
313
|
+
transition: background-color 150ms ease-in-out;
|
|
314
|
+
border-radius: 5px;
|
|
315
|
+
margin: 5px 0;
|
|
316
|
+
overflow: hidden;
|
|
317
|
+
max-width: 100%;
|
|
318
|
+
}
|
|
319
|
+
.mensagem-reply p {
|
|
320
|
+
overflow: hidden;
|
|
321
|
+
text-overflow: ellipsis;
|
|
322
|
+
white-space: nowrap;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.message-reply-principal {
|
|
326
|
+
border-left: 3px solid transparent;
|
|
327
|
+
background-color: rgba(100, 100, 100, 0.1)
|
|
328
|
+
}
|
|
329
|
+
.message-reply-principal:hover {
|
|
330
|
+
background-color: rgba(100, 100, 100, 0.2);
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.message-reply-outros {
|
|
334
|
+
background-color: rgb(245, 245, 245);
|
|
335
|
+
border-left: 3px solid var(--message-color);
|
|
336
|
+
}
|
|
337
|
+
.message-reply-outros:hover {
|
|
338
|
+
background-color: rgb(235, 235, 235)
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.mensagem-reply-vazia {
|
|
342
|
+
display: flex;
|
|
343
|
+
align-items: center;
|
|
344
|
+
}
|
|
345
|
+
.mensagem-reply-vazia svg {
|
|
346
|
+
margin-right: 5px;
|
|
347
|
+
color: #ba181b;
|
|
348
|
+
}
|
|
349
|
+
|
|
302
350
|
.mensagem {
|
|
303
351
|
padding: 14px 7px;
|
|
304
352
|
border-radius: 5px;
|