vue-intergrall-plugins 0.0.147 → 0.0.150
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.
|
@@ -5603,8 +5603,18 @@ var script$9 = {
|
|
|
5603
5603
|
},
|
|
5604
5604
|
tooltipContent: {
|
|
5605
5605
|
type: String
|
|
5606
|
+
},
|
|
5607
|
+
resizeCard: {
|
|
5608
|
+
type: Boolean,
|
|
5609
|
+
required: false,
|
|
5610
|
+
default: false
|
|
5606
5611
|
}
|
|
5607
5612
|
},
|
|
5613
|
+
data: function data() {
|
|
5614
|
+
return {
|
|
5615
|
+
styleCard: ''
|
|
5616
|
+
};
|
|
5617
|
+
},
|
|
5608
5618
|
mixins: [textoLongo],
|
|
5609
5619
|
computed: {
|
|
5610
5620
|
randomizeValue: function randomizeValue() {
|
|
@@ -5644,9 +5654,25 @@ var script$9 = {
|
|
|
5644
5654
|
default:
|
|
5645
5655
|
return "";
|
|
5646
5656
|
}
|
|
5657
|
+
},
|
|
5658
|
+
resizeHeaderCard: function resizeHeaderCard() {
|
|
5659
|
+
if (this.resizeCard) {
|
|
5660
|
+
this.styleCard = "flex-direction: column;";
|
|
5661
|
+
} else {
|
|
5662
|
+
this.styleCard = "flex-direction: row;";
|
|
5663
|
+
}
|
|
5664
|
+
|
|
5665
|
+
return this.styleCard;
|
|
5647
5666
|
}
|
|
5648
5667
|
},
|
|
5649
5668
|
methods: {
|
|
5669
|
+
resizeHeaderCard: function resizeHeaderCard() {
|
|
5670
|
+
if (this.resizeCard) {
|
|
5671
|
+
this.styleCard = "flex-direction: column;";
|
|
5672
|
+
}
|
|
5673
|
+
|
|
5674
|
+
return this.styleCard;
|
|
5675
|
+
},
|
|
5650
5676
|
formataTimezoneData: function formataTimezoneData$1(timezoneData) {
|
|
5651
5677
|
return formataTimezoneData(timezoneData);
|
|
5652
5678
|
},
|
|
@@ -5682,7 +5708,7 @@ var __vue_render__$9 = function __vue_render__() {
|
|
|
5682
5708
|
domProps: {
|
|
5683
5709
|
"textContent": _vm._s("Nova mensagem")
|
|
5684
5710
|
}
|
|
5685
|
-
}) : _vm._e()]), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"card box-shadow\">", "</div>", [_vm._ssrNode("<div class=\"card-header\">", "</div>", [_vm._ssrNode("<div class=\"card-author\">", "</div>", [_c('fa-icon', {
|
|
5711
|
+
}) : _vm._e()]), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"card box-shadow\">", "</div>", [_vm._ssrNode("<div class=\"card-header\"" + _vm._ssrStyle(null, _vm.resizeHeaderCard, null) + ">", "</div>", [_vm._ssrNode("<div class=\"card-author\">", "</div>", [_c('fa-icon', {
|
|
5686
5712
|
attrs: {
|
|
5687
5713
|
"icon": _vm.currentIcon
|
|
5688
5714
|
}
|
|
@@ -5718,7 +5744,7 @@ var __vue_staticRenderFns__$9 = [];
|
|
|
5718
5744
|
|
|
5719
5745
|
var __vue_inject_styles__$9 = function __vue_inject_styles__(inject) {
|
|
5720
5746
|
if (!inject) return;
|
|
5721
|
-
inject("data-v-
|
|
5747
|
+
inject("data-v-42a1c17c_0", {
|
|
5722
5748
|
source: ".fade-enter-active,.fade-leave-active{transition:opacity .2s}.fade-enter,.fade-leave-to{opacity:0}.card-cli,.card-ope{display:flex;width:95%;margin:5px 0;position:relative}.card-cli.newMessage,.card-ope.newMessage{margin-top:30px}.new-messages{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{border-left:3px solid #90b823}.card-ope{align-self:flex-end;background-color:lighten(#007535,72)}.card-ope .card{border-right:3px solid #007535}.card{background-color:rgba(255,255,255,.9);overflow:hidden;width:100%;padding:2.5px 5px}.card p{word-break:break-all}.card-header{width:100%;border-bottom:1px solid #ddd;margin-bottom:5px;display:flex;justify-content:space-between}.card-header svg{font-size:1rem}.card-author{display:flex;align-items:center}.card-author svg{margin-right:5px}.card-canal{flex:1;margin-right:10px}.card-dates{display:flex;flex-direction:column;margin-right:10px;font-size:.9rem}.card-date{overflow:hidden;display:flex;align-content:center}.card-date span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.card-date svg{margin-right:5px;color:#232323}.card-expand{display:flex;justify-content:center;align-items:center;margin:2.5px;cursor:pointer;opacity:.8;transition:opacity 150ms}.card-expand:hover{opacity:1}.card-footer{margin-top:5px;border-top:1px solid #ddd;display:flex;flex-wrap:wrap;min-height:25px}.card-chip{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:hover{background-color:#cfd8f4}.card-chip.orange{color:#e14924;background-color:rgba(228,92,58,.15)}.card-chip.orange:hover{background-color:rgba(228,92,58,.2)}.card-chip.yellow{color:#f4a304;background-color:rgba(252,191,73,.15)}.card-chip.yellow:hover{background-color:rgba(252,191,73,.2)}.card-chip.red{color:#e74c3c;background-color:rgba(231,76,60,.2)}.card-chip.red:hover{background-color:rgba(231,76,60,.25)}.card-file{width:60px;height:50px;margin-right:5px;display:flex;justify-content:center;align-items:center}.card-reply{cursor:pointer;position:absolute;right:30px;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}.card-reply svg{margin-top:-1px;margin-right:-1px}.card-check{position:absolute;bottom:5px;right:5px;cursor:pointer;font-size:.7rem}.card-check svg{font-size:.8rem}.card-check.seen,.card-check.seen svg{color:#006daa}.card-check.green,.card-check.green svg{color:#4f772d}.card-check.red,.card-check.red svg{color:#ba181b}.card-check.gray,.card-check.gray svg{color:#999}.card-check.black,.card-check.black svg{color:#666}",
|
|
5723
5749
|
map: undefined,
|
|
5724
5750
|
media: undefined
|
|
@@ -5730,7 +5756,7 @@ var __vue_inject_styles__$9 = function __vue_inject_styles__(inject) {
|
|
|
5730
5756
|
var __vue_scope_id__$9 = undefined;
|
|
5731
5757
|
/* module identifier */
|
|
5732
5758
|
|
|
5733
|
-
var __vue_module_identifier__$9 = "data-v-
|
|
5759
|
+
var __vue_module_identifier__$9 = "data-v-42a1c17c";
|
|
5734
5760
|
/* functional template */
|
|
5735
5761
|
|
|
5736
5762
|
var __vue_is_functional_template__$9 = false;
|
|
@@ -6572,19 +6598,27 @@ var script$3 = {
|
|
|
6572
6598
|
|
|
6573
6599
|
if (this.iniDialogo == 1) {
|
|
6574
6600
|
tooltipStar += this.dictionary['ini_sessao'] + "<br/>";
|
|
6575
|
-
|
|
6576
|
-
tooltipStar += this.dictionary['
|
|
6577
|
-
tooltipStar += this.dictionary['expiracao_sessao'] + " - " + formataTimezoneData(this.expSessao) + "<br/>";
|
|
6578
|
-
return tooltipStar;
|
|
6601
|
+
} else {
|
|
6602
|
+
tooltipStar += this.dictionary['ini_sessao_padrao'] + "<br/>";
|
|
6579
6603
|
}
|
|
6580
6604
|
|
|
6605
|
+
tooltipStar += this.dialogoId ? this.dictionary['id_conversa'] + " - " + this.dialogoId + "<br/>" : "";
|
|
6606
|
+
tooltipStar += this.dialogoOrigem ? this.dictionary['origem_conversa'] + " - " + this.dialogoOrigem + "<br/>" : "";
|
|
6607
|
+
tooltipStar += this.expSessao ? this.dictionary['expiracao_sessao'] + " - " + formataTimezoneData(this.expSessao) + "<br/>" : "";
|
|
6581
6608
|
return tooltipStar;
|
|
6609
|
+
},
|
|
6610
|
+
validadeSeq: function validadeSeq() {
|
|
6611
|
+
if (this.seq.substring(0, 2) == "HW") {
|
|
6612
|
+
return true;
|
|
6613
|
+
}
|
|
6614
|
+
|
|
6615
|
+
this.reply = "reply reply-with-2-icons";
|
|
6616
|
+
return false;
|
|
6582
6617
|
}
|
|
6583
6618
|
},
|
|
6584
6619
|
mounted: function mounted() {
|
|
6585
6620
|
if (this.mapa) this.setMap();
|
|
6586
6621
|
if (this.corMsg) this.setCorMsg();
|
|
6587
|
-
this.setClasses();
|
|
6588
6622
|
this.validadeUrlToMsg();
|
|
6589
6623
|
},
|
|
6590
6624
|
methods: {
|
|
@@ -6618,11 +6652,6 @@ var script$3 = {
|
|
|
6618
6652
|
|
|
6619
6653
|
return false;
|
|
6620
6654
|
},
|
|
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
6655
|
setCorMsg: function setCorMsg() {
|
|
6627
6656
|
try {
|
|
6628
6657
|
var root = document.documentElement;
|
|
@@ -6744,26 +6773,52 @@ var __vue_render__$3 = function __vue_render__() {
|
|
|
6744
6773
|
attrs: {
|
|
6745
6774
|
"icon": ['fas', 'reply']
|
|
6746
6775
|
}
|
|
6747
|
-
})], 1) : _vm._e()]), _vm._ssrNode(" "), _c('transition', {
|
|
6776
|
+
})], 1) : _vm._e()]), _vm._ssrNode(" "), _vm.validadeSeq ? _c('transition', {
|
|
6748
6777
|
attrs: {
|
|
6749
6778
|
"name": "fade",
|
|
6750
6779
|
"mode": "out-in"
|
|
6751
6780
|
}
|
|
6752
|
-
}, [_vm.iniDialogo
|
|
6781
|
+
}, [_vm.iniDialogo > 0 ? _c('span', {
|
|
6753
6782
|
directives: [{
|
|
6754
6783
|
name: "tippy",
|
|
6755
6784
|
rawName: "v-tippy"
|
|
6756
6785
|
}],
|
|
6757
|
-
key: "star-padrao",
|
|
6786
|
+
key: "star-padrao-dourado",
|
|
6758
6787
|
staticClass: "star dourado",
|
|
6759
6788
|
attrs: {
|
|
6760
6789
|
"content": _vm.contentTooltipStar
|
|
6761
6790
|
}
|
|
6762
|
-
}, [_c('
|
|
6791
|
+
}, [_c('svg', {
|
|
6763
6792
|
attrs: {
|
|
6764
|
-
"
|
|
6793
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
6794
|
+
"viewBox": "0 0 448 512"
|
|
6765
6795
|
}
|
|
6766
|
-
}
|
|
6796
|
+
}, [_c('path', {
|
|
6797
|
+
attrs: {
|
|
6798
|
+
"fill": "#FFD700",
|
|
6799
|
+
"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"
|
|
6800
|
+
}
|
|
6801
|
+
})])]) : _vm._e(), _vm._v(" "), _vm.iniDialogo == 0 ? _c('span', {
|
|
6802
|
+
directives: [{
|
|
6803
|
+
name: "tippy",
|
|
6804
|
+
rawName: "v-tippy"
|
|
6805
|
+
}],
|
|
6806
|
+
key: "star-padrao-cinza",
|
|
6807
|
+
staticClass: "star cinza",
|
|
6808
|
+
attrs: {
|
|
6809
|
+
"content": _vm.contentTooltipStar
|
|
6810
|
+
}
|
|
6811
|
+
}, [_c('svg', {
|
|
6812
|
+
attrs: {
|
|
6813
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
6814
|
+
"viewBox": "0 0 448 512"
|
|
6815
|
+
}
|
|
6816
|
+
}, [_c('path', {
|
|
6817
|
+
attrs: {
|
|
6818
|
+
"fill": "#808080",
|
|
6819
|
+
"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"
|
|
6820
|
+
}
|
|
6821
|
+
})])]) : _vm._e()]) : _vm._e(), _vm._ssrNode(" "), _c('transition', {
|
|
6767
6822
|
attrs: {
|
|
6768
6823
|
"name": "fade",
|
|
6769
6824
|
"mode": "out-in"
|
|
@@ -6874,8 +6929,8 @@ var __vue_staticRenderFns__$3 = [];
|
|
|
6874
6929
|
|
|
6875
6930
|
var __vue_inject_styles__$3 = function __vue_inject_styles__(inject) {
|
|
6876
6931
|
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:
|
|
6932
|
+
inject("data-v-f11961c8_0", {
|
|
6933
|
+
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
6934
|
map: undefined,
|
|
6880
6935
|
media: undefined
|
|
6881
6936
|
});
|
|
@@ -6886,7 +6941,7 @@ var __vue_inject_styles__$3 = function __vue_inject_styles__(inject) {
|
|
|
6886
6941
|
var __vue_scope_id__$3 = undefined;
|
|
6887
6942
|
/* module identifier */
|
|
6888
6943
|
|
|
6889
|
-
var __vue_module_identifier__$3 = "data-v-
|
|
6944
|
+
var __vue_module_identifier__$3 = "data-v-f11961c8";
|
|
6890
6945
|
/* functional template */
|
|
6891
6946
|
|
|
6892
6947
|
var __vue_is_functional_template__$3 = false;
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<span v-if="newMessage" class="new-messages" v-text="`Nova mensagem`"></span>
|
|
9
9
|
</transition>
|
|
10
10
|
<div class="card box-shadow">
|
|
11
|
-
<div class="card-header">
|
|
11
|
+
<div class="card-header" :style="resizeHeaderCard">
|
|
12
12
|
<div class="card-author">
|
|
13
13
|
<fa-icon :icon="currentIcon" />
|
|
14
14
|
<p
|
|
@@ -126,6 +126,16 @@ export default {
|
|
|
126
126
|
},
|
|
127
127
|
tooltipContent: {
|
|
128
128
|
type: String
|
|
129
|
+
},
|
|
130
|
+
resizeCard: {
|
|
131
|
+
type: Boolean,
|
|
132
|
+
required: false,
|
|
133
|
+
default: false
|
|
134
|
+
},
|
|
135
|
+
},
|
|
136
|
+
data(){
|
|
137
|
+
return {
|
|
138
|
+
styleCard: ''
|
|
129
139
|
}
|
|
130
140
|
},
|
|
131
141
|
mixins: [textoLongo],
|
|
@@ -163,7 +173,16 @@ export default {
|
|
|
163
173
|
default:
|
|
164
174
|
return ""
|
|
165
175
|
}
|
|
166
|
-
}
|
|
176
|
+
},
|
|
177
|
+
resizeHeaderCard(){
|
|
178
|
+
if(this.resizeCard){
|
|
179
|
+
this.styleCard = "flex-direction: column;"
|
|
180
|
+
}
|
|
181
|
+
else {
|
|
182
|
+
this.styleCard = "flex-direction: row;"
|
|
183
|
+
}
|
|
184
|
+
return this.styleCard
|
|
185
|
+
},
|
|
167
186
|
},
|
|
168
187
|
methods: {
|
|
169
188
|
formataTimezoneData(timezoneData) {
|
|
@@ -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: {
|
|
@@ -154,11 +171,6 @@ export default {
|
|
|
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,11 +314,9 @@ 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
322
|
width: 180px;
|