vue-intergrall-plugins 0.0.144 → 0.0.148
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.
|
@@ -6572,19 +6572,27 @@ var script$3 = {
|
|
|
6572
6572
|
|
|
6573
6573
|
if (this.iniDialogo == 1) {
|
|
6574
6574
|
tooltipStar += this.dictionary['ini_sessao'] + "<br/>";
|
|
6575
|
-
|
|
6576
|
-
tooltipStar += this.dictionary['
|
|
6577
|
-
tooltipStar += this.dictionary['expiracao_sessao'] + " - " + formataTimezoneData(this.expSessao) + "<br/>";
|
|
6578
|
-
return tooltipStar;
|
|
6575
|
+
} else {
|
|
6576
|
+
tooltipStar += this.dictionary['ini_sessao_padrao'] + "<br/>";
|
|
6579
6577
|
}
|
|
6580
6578
|
|
|
6579
|
+
tooltipStar += this.dialogoId ? this.dictionary['id_conversa'] + " - " + this.dialogoId + "<br/>" : "";
|
|
6580
|
+
tooltipStar += this.dialogoOrigem ? this.dictionary['origem_conversa'] + " - " + this.dialogoOrigem + "<br/>" : "";
|
|
6581
|
+
tooltipStar += this.expSessao ? this.dictionary['expiracao_sessao'] + " - " + formataTimezoneData(this.expSessao) + "<br/>" : "";
|
|
6581
6582
|
return tooltipStar;
|
|
6583
|
+
},
|
|
6584
|
+
validadeSeq: function validadeSeq() {
|
|
6585
|
+
if (this.seq.substring(0, 2) == "HW") {
|
|
6586
|
+
return true;
|
|
6587
|
+
}
|
|
6588
|
+
|
|
6589
|
+
this.reply = "reply reply-with-2-icons";
|
|
6590
|
+
return false;
|
|
6582
6591
|
}
|
|
6583
6592
|
},
|
|
6584
6593
|
mounted: function mounted() {
|
|
6585
6594
|
if (this.mapa) this.setMap();
|
|
6586
6595
|
if (this.corMsg) this.setCorMsg();
|
|
6587
|
-
this.setClasses();
|
|
6588
6596
|
this.validadeUrlToMsg();
|
|
6589
6597
|
},
|
|
6590
6598
|
methods: {
|
|
@@ -6603,7 +6611,7 @@ var script$3 = {
|
|
|
6603
6611
|
return urlName;
|
|
6604
6612
|
},
|
|
6605
6613
|
removeUrlStickerByString: function removeUrlStickerByString(url) {
|
|
6606
|
-
var msg = this.message.replace("
|
|
6614
|
+
var msg = this.message.replace("KSTICKERK ".concat(url), '');
|
|
6607
6615
|
return msg;
|
|
6608
6616
|
},
|
|
6609
6617
|
getUrlSticker: function getUrlSticker() {
|
|
@@ -6612,17 +6620,12 @@ var script$3 = {
|
|
|
6612
6620
|
return url;
|
|
6613
6621
|
},
|
|
6614
6622
|
validadeIfExistsSticker: function validadeIfExistsSticker() {
|
|
6615
|
-
if (this.message && this.message.indexOf("
|
|
6623
|
+
if (this.message && this.message.indexOf("KSTICKERK https://smarters") === 0) {
|
|
6616
6624
|
return true;
|
|
6617
6625
|
}
|
|
6618
6626
|
|
|
6619
6627
|
return false;
|
|
6620
6628
|
},
|
|
6621
|
-
setClasses: function setClasses() {
|
|
6622
|
-
if (this.hasReply && (this.status == "C" || this.status == "T") && this.iniDialogo == 0) {
|
|
6623
|
-
this.reply = "reply reply-with-2-icons";
|
|
6624
|
-
}
|
|
6625
|
-
},
|
|
6626
6629
|
setCorMsg: function setCorMsg() {
|
|
6627
6630
|
try {
|
|
6628
6631
|
var root = document.documentElement;
|
|
@@ -6744,26 +6747,52 @@ var __vue_render__$3 = function __vue_render__() {
|
|
|
6744
6747
|
attrs: {
|
|
6745
6748
|
"icon": ['fas', 'reply']
|
|
6746
6749
|
}
|
|
6747
|
-
})], 1) : _vm._e()]), _vm._ssrNode(" "), _c('transition', {
|
|
6750
|
+
})], 1) : _vm._e()]), _vm._ssrNode(" "), _vm.validadeSeq ? _c('transition', {
|
|
6748
6751
|
attrs: {
|
|
6749
6752
|
"name": "fade",
|
|
6750
6753
|
"mode": "out-in"
|
|
6751
6754
|
}
|
|
6752
|
-
}, [_vm.iniDialogo
|
|
6755
|
+
}, [_vm.iniDialogo > 0 ? _c('span', {
|
|
6753
6756
|
directives: [{
|
|
6754
6757
|
name: "tippy",
|
|
6755
6758
|
rawName: "v-tippy"
|
|
6756
6759
|
}],
|
|
6757
|
-
key: "star-padrao",
|
|
6760
|
+
key: "star-padrao-dourado",
|
|
6758
6761
|
staticClass: "star dourado",
|
|
6759
6762
|
attrs: {
|
|
6760
6763
|
"content": _vm.contentTooltipStar
|
|
6761
6764
|
}
|
|
6762
|
-
}, [_c('
|
|
6765
|
+
}, [_c('svg', {
|
|
6763
6766
|
attrs: {
|
|
6764
|
-
"
|
|
6767
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
6768
|
+
"viewBox": "0 0 448 512"
|
|
6765
6769
|
}
|
|
6766
|
-
}
|
|
6770
|
+
}, [_c('path', {
|
|
6771
|
+
attrs: {
|
|
6772
|
+
"fill": "#FFD700",
|
|
6773
|
+
"d": "M224 122.8c-72.7 0-131.8 59.1-131.9 131.8 0 24.9 7 49.2 20.2 70.1l3.1 5-13.3 48.6 49.9-13.1 4.8 2.9c20.2 12 43.4 18.4 67.1 18.4h.1c72.6 0 133.3-59.1 133.3-131.8 0-35.2-15.2-68.3-40.1-93.2-25-25-58-38.7-93.2-38.7zm77.5 188.4c-3.3 9.3-19.1 17.7-26.7 18.8-12.6 1.9-22.4.9-47.5-9.9-39.7-17.2-65.7-57.2-67.7-59.8-2-2.6-16.2-21.5-16.2-41s10.2-29.1 13.9-33.1c3.6-4 7.9-5 10.6-5 2.6 0 5.3 0 7.6.1 2.4.1 5.7-.9 8.9 6.8 3.3 7.9 11.2 27.4 12.2 29.4s1.7 4.3.3 6.9c-7.6 15.2-15.7 14.6-11.6 21.6 15.3 26.3 30.6 35.4 53.9 47.1 4 2 6.3 1.7 8.6-1 2.3-2.6 9.9-11.6 12.5-15.5 2.6-4 5.3-3.3 8.9-2 3.6 1.3 23.1 10.9 27.1 12.9s6.6 3 7.6 4.6c.9 1.9.9 9.9-2.4 19.1zM400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM223.9 413.2c-26.6 0-52.7-6.7-75.8-19.3L64 416l22.5-82.2c-13.9-24-21.2-51.3-21.2-79.3C65.4 167.1 136.5 96 223.9 96c42.4 0 82.2 16.5 112.2 46.5 29.9 30 47.9 69.8 47.9 112.2 0 87.4-72.7 158.5-160.1 158.5z"
|
|
6774
|
+
}
|
|
6775
|
+
})])]) : _vm._e(), _vm._v(" "), _vm.iniDialogo == 0 ? _c('span', {
|
|
6776
|
+
directives: [{
|
|
6777
|
+
name: "tippy",
|
|
6778
|
+
rawName: "v-tippy"
|
|
6779
|
+
}],
|
|
6780
|
+
key: "star-padrao-cinza",
|
|
6781
|
+
staticClass: "star cinza",
|
|
6782
|
+
attrs: {
|
|
6783
|
+
"content": _vm.contentTooltipStar
|
|
6784
|
+
}
|
|
6785
|
+
}, [_c('svg', {
|
|
6786
|
+
attrs: {
|
|
6787
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
6788
|
+
"viewBox": "0 0 448 512"
|
|
6789
|
+
}
|
|
6790
|
+
}, [_c('path', {
|
|
6791
|
+
attrs: {
|
|
6792
|
+
"fill": "#808080",
|
|
6793
|
+
"d": "M224 122.8c-72.7 0-131.8 59.1-131.9 131.8 0 24.9 7 49.2 20.2 70.1l3.1 5-13.3 48.6 49.9-13.1 4.8 2.9c20.2 12 43.4 18.4 67.1 18.4h.1c72.6 0 133.3-59.1 133.3-131.8 0-35.2-15.2-68.3-40.1-93.2-25-25-58-38.7-93.2-38.7zm77.5 188.4c-3.3 9.3-19.1 17.7-26.7 18.8-12.6 1.9-22.4.9-47.5-9.9-39.7-17.2-65.7-57.2-67.7-59.8-2-2.6-16.2-21.5-16.2-41s10.2-29.1 13.9-33.1c3.6-4 7.9-5 10.6-5 2.6 0 5.3 0 7.6.1 2.4.1 5.7-.9 8.9 6.8 3.3 7.9 11.2 27.4 12.2 29.4s1.7 4.3.3 6.9c-7.6 15.2-15.7 14.6-11.6 21.6 15.3 26.3 30.6 35.4 53.9 47.1 4 2 6.3 1.7 8.6-1 2.3-2.6 9.9-11.6 12.5-15.5 2.6-4 5.3-3.3 8.9-2 3.6 1.3 23.1 10.9 27.1 12.9s6.6 3 7.6 4.6c.9 1.9.9 9.9-2.4 19.1zM400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM223.9 413.2c-26.6 0-52.7-6.7-75.8-19.3L64 416l22.5-82.2c-13.9-24-21.2-51.3-21.2-79.3C65.4 167.1 136.5 96 223.9 96c42.4 0 82.2 16.5 112.2 46.5 29.9 30 47.9 69.8 47.9 112.2 0 87.4-72.7 158.5-160.1 158.5z"
|
|
6794
|
+
}
|
|
6795
|
+
})])]) : _vm._e()]) : _vm._e(), _vm._ssrNode(" "), _c('transition', {
|
|
6767
6796
|
attrs: {
|
|
6768
6797
|
"name": "fade",
|
|
6769
6798
|
"mode": "out-in"
|
|
@@ -6874,8 +6903,8 @@ var __vue_staticRenderFns__$3 = [];
|
|
|
6874
6903
|
|
|
6875
6904
|
var __vue_inject_styles__$3 = function __vue_inject_styles__(inject) {
|
|
6876
6905
|
if (!inject) return;
|
|
6877
|
-
inject("data-v-
|
|
6878
|
-
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:
|
|
6906
|
+
inject("data-v-f11961c8_0", {
|
|
6907
|
+
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 .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{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}",
|
|
6879
6908
|
map: undefined,
|
|
6880
6909
|
media: undefined
|
|
6881
6910
|
});
|
|
@@ -6886,7 +6915,7 @@ var __vue_inject_styles__$3 = function __vue_inject_styles__(inject) {
|
|
|
6886
6915
|
var __vue_scope_id__$3 = undefined;
|
|
6887
6916
|
/* module identifier */
|
|
6888
6917
|
|
|
6889
|
-
var __vue_module_identifier__$3 = "data-v-
|
|
6918
|
+
var __vue_module_identifier__$3 = "data-v-f11961c8";
|
|
6890
6919
|
/* functional template */
|
|
6891
6920
|
|
|
6892
6921
|
var __vue_is_functional_template__$3 = false;
|
package/package.json
CHANGED
|
@@ -33,8 +33,17 @@
|
|
|
33
33
|
<transition name="fade" mode="out-in">
|
|
34
34
|
<span :class="reply" v-if="hasReply && (status == 'C' || status == 'T')" v-tippy :content="msgReply ? msgReply : 'Fazer reenvio da mensagem'" @click="$emit('replyMsg')"> <fa-icon :icon="['fas', 'reply']" /> </span>
|
|
35
35
|
</transition>
|
|
36
|
-
<transition name="fade" mode="out-in">
|
|
37
|
-
<span class="star dourado" v-if="iniDialogo
|
|
36
|
+
<transition name="fade" mode="out-in" v-if="validadeSeq">
|
|
37
|
+
<span class="star dourado" v-if="iniDialogo > 0" :content="contentTooltipStar" v-tippy key="star-padrao-dourado">
|
|
38
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
|
|
39
|
+
<path fill="#FFD700" d="M224 122.8c-72.7 0-131.8 59.1-131.9 131.8 0 24.9 7 49.2 20.2 70.1l3.1 5-13.3 48.6 49.9-13.1 4.8 2.9c20.2 12 43.4 18.4 67.1 18.4h.1c72.6 0 133.3-59.1 133.3-131.8 0-35.2-15.2-68.3-40.1-93.2-25-25-58-38.7-93.2-38.7zm77.5 188.4c-3.3 9.3-19.1 17.7-26.7 18.8-12.6 1.9-22.4.9-47.5-9.9-39.7-17.2-65.7-57.2-67.7-59.8-2-2.6-16.2-21.5-16.2-41s10.2-29.1 13.9-33.1c3.6-4 7.9-5 10.6-5 2.6 0 5.3 0 7.6.1 2.4.1 5.7-.9 8.9 6.8 3.3 7.9 11.2 27.4 12.2 29.4s1.7 4.3.3 6.9c-7.6 15.2-15.7 14.6-11.6 21.6 15.3 26.3 30.6 35.4 53.9 47.1 4 2 6.3 1.7 8.6-1 2.3-2.6 9.9-11.6 12.5-15.5 2.6-4 5.3-3.3 8.9-2 3.6 1.3 23.1 10.9 27.1 12.9s6.6 3 7.6 4.6c.9 1.9.9 9.9-2.4 19.1zM400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM223.9 413.2c-26.6 0-52.7-6.7-75.8-19.3L64 416l22.5-82.2c-13.9-24-21.2-51.3-21.2-79.3C65.4 167.1 136.5 96 223.9 96c42.4 0 82.2 16.5 112.2 46.5 29.9 30 47.9 69.8 47.9 112.2 0 87.4-72.7 158.5-160.1 158.5z"/>
|
|
40
|
+
</svg>
|
|
41
|
+
</span>
|
|
42
|
+
<span class="star cinza" v-if="iniDialogo == 0" :content="contentTooltipStar" v-tippy key="star-padrao-cinza">
|
|
43
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
|
|
44
|
+
<path fill="#808080" d="M224 122.8c-72.7 0-131.8 59.1-131.9 131.8 0 24.9 7 49.2 20.2 70.1l3.1 5-13.3 48.6 49.9-13.1 4.8 2.9c20.2 12 43.4 18.4 67.1 18.4h.1c72.6 0 133.3-59.1 133.3-131.8 0-35.2-15.2-68.3-40.1-93.2-25-25-58-38.7-93.2-38.7zm77.5 188.4c-3.3 9.3-19.1 17.7-26.7 18.8-12.6 1.9-22.4.9-47.5-9.9-39.7-17.2-65.7-57.2-67.7-59.8-2-2.6-16.2-21.5-16.2-41s10.2-29.1 13.9-33.1c3.6-4 7.9-5 10.6-5 2.6 0 5.3 0 7.6.1 2.4.1 5.7-.9 8.9 6.8 3.3 7.9 11.2 27.4 12.2 29.4s1.7 4.3.3 6.9c-7.6 15.2-15.7 14.6-11.6 21.6 15.3 26.3 30.6 35.4 53.9 47.1 4 2 6.3 1.7 8.6-1 2.3-2.6 9.9-11.6 12.5-15.5 2.6-4 5.3-3.3 8.9-2 3.6 1.3 23.1 10.9 27.1 12.9s6.6 3 7.6 4.6c.9 1.9.9 9.9-2.4 19.1zM400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM223.9 413.2c-26.6 0-52.7-6.7-75.8-19.3L64 416l22.5-82.2c-13.9-24-21.2-51.3-21.2-79.3C65.4 167.1 136.5 96 223.9 96c42.4 0 82.2 16.5 112.2 46.5 29.9 30 47.9 69.8 47.9 112.2 0 87.4-72.7 158.5-160.1 158.5z"/>
|
|
45
|
+
</svg>
|
|
46
|
+
</span>
|
|
38
47
|
</transition>
|
|
39
48
|
<transition name="fade" mode="out-in">
|
|
40
49
|
<span class="check" v-if="status == 'D'" :content="contentTooltip" v-tippy key="check-padrao"> <fa-icon :icon="['fas', 'check']" /> </span>
|
|
@@ -111,18 +120,26 @@ export default {
|
|
|
111
120
|
let tooltipStar = "";
|
|
112
121
|
if(this.iniDialogo == 1){
|
|
113
122
|
tooltipStar += this.dictionary['ini_sessao']+"<br/>"
|
|
114
|
-
tooltipStar += this.dictionary['id_conversa']+" - "+this.dialogoId+"<br/>"
|
|
115
|
-
tooltipStar += this.dictionary['origem_conversa']+" - "+this.dialogoOrigem+"<br/>"
|
|
116
|
-
tooltipStar += this.dictionary['expiracao_sessao']+" - "+formataTimezoneData(this.expSessao)+"<br/>"
|
|
117
|
-
return tooltipStar
|
|
118
123
|
}
|
|
124
|
+
else {
|
|
125
|
+
tooltipStar += this.dictionary['ini_sessao_padrao']+"<br/>"
|
|
126
|
+
}
|
|
127
|
+
tooltipStar += this.dialogoId ? this.dictionary['id_conversa']+" - "+ this.dialogoId +"<br/>" : ""
|
|
128
|
+
tooltipStar += this.dialogoOrigem ? this.dictionary['origem_conversa']+" - "+ this.dialogoOrigem +"<br/>" : ""
|
|
129
|
+
tooltipStar += this.expSessao ? this.dictionary['expiracao_sessao']+" - "+ formataTimezoneData(this.expSessao) +"<br/>" : ""
|
|
119
130
|
return tooltipStar
|
|
131
|
+
},
|
|
132
|
+
validadeSeq(){
|
|
133
|
+
if(this.seq.substring(0, 2) == "HW"){
|
|
134
|
+
return true;
|
|
135
|
+
}
|
|
136
|
+
this.reply = "reply reply-with-2-icons"
|
|
137
|
+
return false;
|
|
120
138
|
}
|
|
121
139
|
},
|
|
122
140
|
mounted() {
|
|
123
141
|
if(this.mapa) this.setMap()
|
|
124
142
|
if(this.corMsg) this.setCorMsg()
|
|
125
|
-
this.setClasses()
|
|
126
143
|
this.validadeUrlToMsg()
|
|
127
144
|
},
|
|
128
145
|
methods: {
|
|
@@ -140,7 +157,7 @@ export default {
|
|
|
140
157
|
return urlName;
|
|
141
158
|
},
|
|
142
159
|
removeUrlStickerByString(url){
|
|
143
|
-
let msg = this.message.replace(`
|
|
160
|
+
let msg = this.message.replace(`KSTICKERK ${url}`, '')
|
|
144
161
|
return msg;
|
|
145
162
|
},
|
|
146
163
|
getUrlSticker(){
|
|
@@ -149,16 +166,11 @@ export default {
|
|
|
149
166
|
return url;
|
|
150
167
|
},
|
|
151
168
|
validadeIfExistsSticker(){
|
|
152
|
-
if(this.message && this.message.indexOf("
|
|
169
|
+
if(this.message && this.message.indexOf("KSTICKERK https://smarters") === 0){
|
|
153
170
|
return true;
|
|
154
171
|
}
|
|
155
172
|
return false;
|
|
156
173
|
},
|
|
157
|
-
setClasses(){
|
|
158
|
-
if(this.hasReply && (this.status == "C" || this.status == "T") && this.iniDialogo == 0){
|
|
159
|
-
this.reply = "reply reply-with-2-icons"
|
|
160
|
-
}
|
|
161
|
-
},
|
|
162
174
|
setCorMsg() {
|
|
163
175
|
try {
|
|
164
176
|
const root = document.documentElement
|
|
@@ -302,14 +314,12 @@ export default {
|
|
|
302
314
|
cursor: pointer;
|
|
303
315
|
position: absolute;
|
|
304
316
|
right: 30px;
|
|
305
|
-
bottom:
|
|
306
|
-
font-size: 0.
|
|
307
|
-
|
|
308
|
-
.star.dourado svg{
|
|
309
|
-
color: gold
|
|
317
|
+
bottom: 2px;
|
|
318
|
+
font-size: 0.4rem;
|
|
319
|
+
width: 11.2px;
|
|
310
320
|
}
|
|
311
321
|
.default-stick-size{
|
|
312
|
-
width:
|
|
322
|
+
width: 180px;
|
|
313
323
|
height: auto;
|
|
314
324
|
}
|
|
315
325
|
.horario-envio {
|