vue-intergrall-plugins 0.0.294 → 0.0.295
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.
|
@@ -12504,8 +12504,7 @@ var __vue_component__$a = /*#__PURE__*/normalizeComponent({
|
|
|
12504
12504
|
staticRenderFns: __vue_staticRenderFns__$6
|
|
12505
12505
|
}, __vue_inject_styles__$6, __vue_script__$6, __vue_scope_id__$6, __vue_is_functional_template__$6, __vue_module_identifier__$6, false, undefined, createInjectorSSR, undefined);
|
|
12506
12506
|
|
|
12507
|
-
var LinkPreview = __vue_component__$a
|
|
12508
|
-
var script$5 = {
|
|
12507
|
+
var LinkPreview = __vue_component__$a;var script$5 = {
|
|
12509
12508
|
components: {
|
|
12510
12509
|
AnexoMensagem: AnexoMensagem,
|
|
12511
12510
|
InteratividadeBotoes: InteratividadeBotoes,
|
|
@@ -12596,6 +12595,15 @@ var script$5 = {
|
|
|
12596
12595
|
validadeSeq: function validadeSeq() {
|
|
12597
12596
|
if (this.seq && this.seq.substring(0, 2) == "HW") return true;
|
|
12598
12597
|
this.reply = "reply reply-with-2-icons";
|
|
12598
|
+
return false;
|
|
12599
|
+
},
|
|
12600
|
+
hasAnyMenu: function hasAnyMenu() {
|
|
12601
|
+
if (!this.showMenu || _typeof(this.showMenu) !== "object") return false;
|
|
12602
|
+
|
|
12603
|
+
for (var key in this.showMenu) {
|
|
12604
|
+
if (this.showMenu.hasOwnProperty(key) && this.showMenu[key] === true) return true;
|
|
12605
|
+
}
|
|
12606
|
+
|
|
12599
12607
|
return false;
|
|
12600
12608
|
}
|
|
12601
12609
|
},
|
|
@@ -12645,8 +12653,8 @@ var script$5 = {
|
|
|
12645
12653
|
this.isEmojisOpen = false;
|
|
12646
12654
|
this.$emit("reagir-mensagem", {
|
|
12647
12655
|
emoji: emoji,
|
|
12648
|
-
seq: seq,
|
|
12649
|
-
id_ext_msg: id_ext_msg,
|
|
12656
|
+
seq: this.seq,
|
|
12657
|
+
id_ext_msg: this.id_ext_msg,
|
|
12650
12658
|
hasEmojiReaction: this.messageReaction ? true : false
|
|
12651
12659
|
});
|
|
12652
12660
|
},
|
|
@@ -13104,10 +13112,10 @@ var __vue_render__$5 = function __vue_render__() {
|
|
|
13104
13112
|
domProps: {
|
|
13105
13113
|
"innerHTML": _vm._s(_vm.autor)
|
|
13106
13114
|
}
|
|
13107
|
-
}), _vm._v(" "), _vm.
|
|
13115
|
+
}), _vm._v(" "), _vm.hasAnyMenu ? _c('div', {
|
|
13108
13116
|
staticClass: "menu-primario",
|
|
13109
13117
|
class: _vm.origem
|
|
13110
|
-
}, [_c('span', {
|
|
13118
|
+
}, [_vm.showMenu.reply ? _c('span', {
|
|
13111
13119
|
directives: [{
|
|
13112
13120
|
name: "tippy",
|
|
13113
13121
|
rawName: "v-tippy"
|
|
@@ -13123,7 +13131,7 @@ var __vue_render__$5 = function __vue_render__() {
|
|
|
13123
13131
|
attrs: {
|
|
13124
13132
|
"icon": ['fas', 'reply']
|
|
13125
13133
|
}
|
|
13126
|
-
})], 1), _vm._v(" "), _c('span', {
|
|
13134
|
+
})], 1) : _vm._e(), _vm._v(" "), _vm.showMenu.reaction ? _c('span', {
|
|
13127
13135
|
directives: [{
|
|
13128
13136
|
name: "tippy",
|
|
13129
13137
|
rawName: "v-tippy"
|
|
@@ -13139,7 +13147,7 @@ var __vue_render__$5 = function __vue_render__() {
|
|
|
13139
13147
|
attrs: {
|
|
13140
13148
|
"icon": ['fas', 'smile']
|
|
13141
13149
|
}
|
|
13142
|
-
})], 1)]) : _vm._e(), _vm._v(" "), _vm.isEmojisOpen ? _c('div', {
|
|
13150
|
+
})], 1) : _vm._e()]) : _vm._e(), _vm._v(" "), _vm.isEmojisOpen ? _c('div', {
|
|
13143
13151
|
directives: [{
|
|
13144
13152
|
name: "on-clickaway",
|
|
13145
13153
|
rawName: "v-on-clickaway",
|
|
@@ -13165,15 +13173,15 @@ var __vue_render__$5 = function __vue_render__() {
|
|
|
13165
13173
|
}],
|
|
13166
13174
|
staticClass: "menu-flutuante",
|
|
13167
13175
|
class: _vm.origem
|
|
13168
|
-
}, [_c('li', {
|
|
13176
|
+
}, [_vm.showMenu.reply ? _c('li', {
|
|
13169
13177
|
on: {
|
|
13170
13178
|
"click": _vm.responderMensagemHandler
|
|
13171
13179
|
}
|
|
13172
|
-
}, [_c('span', [_vm._v(" " + _vm._s(_vm.dictionary.tit_responder_msg) + " ")])]), _vm._v(" "), _c('li', {
|
|
13180
|
+
}, [_c('span', [_vm._v(" " + _vm._s(_vm.dictionary.tit_responder_msg) + " ")])]) : _vm._e(), _vm._v(" "), _vm.showMenu.reaction ? _c('li', {
|
|
13173
13181
|
on: {
|
|
13174
13182
|
"click": _vm.reagirMensagemHandler
|
|
13175
13183
|
}
|
|
13176
|
-
}, [_c('span', [_vm._v(" " + _vm._s(_vm.dictionary.tit_reagir_msg) + " ")])])])]) : _vm._e(), _vm._v(" "), _vm.messageReaction ? _c('transition', {
|
|
13184
|
+
}, [_c('span', [_vm._v(" " + _vm._s(_vm.dictionary.tit_reagir_msg) + " ")])]) : _vm._e()])]) : _vm._e(), _vm._v(" "), _vm.messageReaction ? _c('transition', {
|
|
13177
13185
|
attrs: {
|
|
13178
13186
|
"name": "fade",
|
|
13179
13187
|
"mode": "out-in"
|
|
@@ -13199,7 +13207,7 @@ var __vue_staticRenderFns__$5 = [];
|
|
|
13199
13207
|
|
|
13200
13208
|
var __vue_inject_styles__$5 = function __vue_inject_styles__(inject) {
|
|
13201
13209
|
if (!inject) return;
|
|
13202
|
-
inject("data-v-
|
|
13210
|
+
inject("data-v-1c16a2ec_0", {
|
|
13203
13211
|
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:20px 7px 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:hover .menu-primario{visibility:visible;opacity:1}.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}.menu-primario{visibility:hidden;opacity:0;transition:opacity 150ms ease-in-out;position:absolute;font-size:.7rem;top:3px;display:flex;gap:5px;padding:2px 4px}.menu-primario.principal{left:4px;color:var(--text-color);background-color:var(--message-color)}.menu-primario.outros{right:4px;color:var(--text-color);background-color:#fff}.menu-primario.outros>span:nth-child(1){order:10}.menu-mensagem{cursor:pointer;padding:1px}.menu-flutuante{background-color:#fff;-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);border-radius:10px;position:absolute;top:20px;width:120px;min-height:50px;height:50px;max-height:50px;overflow-x:hidden;overflow-y:auto;margin:0;padding:0;display:flex;flex-direction:column;z-index:1}.menu-flutuante.principal{left:3px}.menu-flutuante.outros{right:3px}.menu-flutuante li{transition:background-color .3s ease-in-out;width:100%;cursor:pointer;padding:5px 10px;display:flex;align-items:center}.menu-flutuante li:hover{background-color:#e9e9e9}.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}.emoji-message-container{position:absolute;top:0;left:0;right:0}.emoji-message-container .sm-emoji-picker{height:200px;width:90%!important}.emoji-message-container .sm-emoji-picker .sm-emoji-header{overflow-x:auto;overflow-y:hidden}.reaction{position:absolute;bottom:0;border-radius:50%;display:flex;justify-content:center;align-items:center;background-color:rgba(100,100,100,.4);padding:5px;font-size:1.3em}.reaction>span{display:block;transform:translateY(-1px)}.mensagem__outros .reaction{right:-30px}.mensagem__principal .reaction{left:-30px}",
|
|
13204
13212
|
map: undefined,
|
|
13205
13213
|
media: undefined
|
|
@@ -13211,7 +13219,7 @@ var __vue_inject_styles__$5 = function __vue_inject_styles__(inject) {
|
|
|
13211
13219
|
var __vue_scope_id__$5 = undefined;
|
|
13212
13220
|
/* module identifier */
|
|
13213
13221
|
|
|
13214
|
-
var __vue_module_identifier__$5 = "data-v-
|
|
13222
|
+
var __vue_module_identifier__$5 = "data-v-1c16a2ec";
|
|
13215
13223
|
/* functional template */
|
|
13216
13224
|
|
|
13217
13225
|
var __vue_is_functional_template__$5 = false;
|
package/package.json
CHANGED
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
<!-- Autor da mensagem -->
|
|
207
207
|
<span class="autor-mensagem" v-html="autor"></span>
|
|
208
208
|
<!-- Menu de opcoes da mensagem -->
|
|
209
|
-
<div class="menu-primario" :class="origem" v-if="
|
|
209
|
+
<div class="menu-primario" :class="origem" v-if="hasAnyMenu">
|
|
210
210
|
<!-- <span class="menu-mensagem" @click="toggleIsMenuOpen" v-tippy :content="dictionary.tit_mais_msg">
|
|
211
211
|
<fa-icon :icon="['fas', 'chevron-down']" />
|
|
212
212
|
</span> -->
|
|
@@ -215,6 +215,7 @@
|
|
|
215
215
|
@click="responderMensagemHandler"
|
|
216
216
|
v-tippy
|
|
217
217
|
:content="dictionary.tit_responder_msg"
|
|
218
|
+
v-if="showMenu.reply"
|
|
218
219
|
>
|
|
219
220
|
<fa-icon :icon="['fas', 'reply']" />
|
|
220
221
|
</span>
|
|
@@ -223,6 +224,7 @@
|
|
|
223
224
|
@click="reagirMensagemHandler"
|
|
224
225
|
v-tippy
|
|
225
226
|
:content="dictionary.tit_reagir_msg"
|
|
227
|
+
v-if="showMenu.reaction"
|
|
226
228
|
>
|
|
227
229
|
<fa-icon :icon="['fas', 'smile']" />
|
|
228
230
|
</span>
|
|
@@ -236,10 +238,10 @@
|
|
|
236
238
|
</div>
|
|
237
239
|
<transition name="fade" mode="out-in" v-if="isMenuOpen">
|
|
238
240
|
<ul class="menu-flutuante" :class="origem" v-on-clickaway="closeMenu">
|
|
239
|
-
<li @click="responderMensagemHandler">
|
|
241
|
+
<li @click="responderMensagemHandler" v-if="showMenu.reply">
|
|
240
242
|
<span> {{ dictionary.tit_responder_msg }} </span>
|
|
241
243
|
</li>
|
|
242
|
-
<li @click="reagirMensagemHandler">
|
|
244
|
+
<li @click="reagirMensagemHandler" v-if="showMenu.reaction">
|
|
243
245
|
<span> {{ dictionary.tit_reagir_msg }} </span>
|
|
244
246
|
</li>
|
|
245
247
|
</ul>
|
|
@@ -405,6 +407,13 @@ export default {
|
|
|
405
407
|
this.reply = "reply reply-with-2-icons";
|
|
406
408
|
return false;
|
|
407
409
|
},
|
|
410
|
+
hasAnyMenu() {
|
|
411
|
+
if (!this.showMenu || typeof this.showMenu !== "object") return false;
|
|
412
|
+
for (let key in this.showMenu) {
|
|
413
|
+
if (this.showMenu.hasOwnProperty(key) && this.showMenu[key] === true) return true;
|
|
414
|
+
}
|
|
415
|
+
return false;
|
|
416
|
+
},
|
|
408
417
|
},
|
|
409
418
|
mounted() {
|
|
410
419
|
if (this.mapa) this.setMap();
|
|
@@ -452,8 +461,8 @@ export default {
|
|
|
452
461
|
this.isEmojisOpen = false;
|
|
453
462
|
this.$emit("reagir-mensagem", {
|
|
454
463
|
emoji,
|
|
455
|
-
seq,
|
|
456
|
-
id_ext_msg,
|
|
464
|
+
seq: this.seq,
|
|
465
|
+
id_ext_msg: this.id_ext_msg,
|
|
457
466
|
hasEmojiReaction: this.messageReaction ? true : false,
|
|
458
467
|
});
|
|
459
468
|
},
|