vue-intergrall-plugins 0.0.147 → 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.
@@ -7542,13 +7542,23 @@ var script$3 = {
7542
7542
 
7543
7543
  if (this.iniDialogo == 1) {
7544
7544
  tooltipStar += this.dictionary['ini_sessao'] + "<br/>";
7545
- tooltipStar += this.dictionary['id_conversa'] + " - " + this.dialogoId + "<br/>";
7546
- tooltipStar += this.dictionary['origem_conversa'] + " - " + this.dialogoOrigem + "<br/>";
7547
- tooltipStar += this.dictionary['expiracao_sessao'] + " - " + formataTimezoneData(this.expSessao) + "<br/>";
7548
- return tooltipStar;
7545
+ } else {
7546
+ tooltipStar += this.dictionary['ini_sessao_padrao'] + "<br/>";
7549
7547
  }
7550
7548
 
7549
+ tooltipStar += this.dialogoId ? this.dictionary['id_conversa'] + " - " + this.dialogoId + "<br/>" : "";
7550
+ tooltipStar += this.dialogoOrigem ? this.dictionary['origem_conversa'] + " - " + this.dialogoOrigem + "<br/>" : "";
7551
+ tooltipStar += this.expSessao ? this.dictionary['expiracao_sessao'] + " - " + formataTimezoneData(this.expSessao) + "<br/>" : "";
7551
7552
  return tooltipStar;
7553
+ },
7554
+
7555
+ validadeSeq() {
7556
+ if (this.seq.substring(0, 2) == "HW") {
7557
+ return true;
7558
+ }
7559
+
7560
+ this.reply = "reply reply-with-2-icons";
7561
+ return false;
7552
7562
  }
7553
7563
 
7554
7564
  },
@@ -7556,7 +7566,6 @@ var script$3 = {
7556
7566
  mounted() {
7557
7567
  if (this.mapa) this.setMap();
7558
7568
  if (this.corMsg) this.setCorMsg();
7559
- this.setClasses();
7560
7569
  this.validadeUrlToMsg();
7561
7570
  },
7562
7571
 
@@ -7596,12 +7605,6 @@ var script$3 = {
7596
7605
  return false;
7597
7606
  },
7598
7607
 
7599
- setClasses() {
7600
- if (this.hasReply && (this.status == "C" || this.status == "T") && this.iniDialogo == 0) {
7601
- this.reply = "reply reply-with-2-icons";
7602
- }
7603
- },
7604
-
7605
7608
  setCorMsg() {
7606
7609
  try {
7607
7610
  const root = document.documentElement;
@@ -7768,26 +7771,52 @@ var __vue_render__$3 = function () {
7768
7771
  attrs: {
7769
7772
  "icon": ['fas', 'reply']
7770
7773
  }
7771
- })], 1) : _vm._e()]), _vm._v(" "), _c('transition', {
7774
+ })], 1) : _vm._e()]), _vm._v(" "), _vm.validadeSeq ? _c('transition', {
7772
7775
  attrs: {
7773
7776
  "name": "fade",
7774
7777
  "mode": "out-in"
7775
7778
  }
7776
- }, [_vm.iniDialogo == 1 ? _c('span', {
7779
+ }, [_vm.iniDialogo > 0 ? _c('span', {
7777
7780
  directives: [{
7778
7781
  name: "tippy",
7779
7782
  rawName: "v-tippy"
7780
7783
  }],
7781
- key: "star-padrao",
7784
+ key: "star-padrao-dourado",
7782
7785
  staticClass: "star dourado",
7783
7786
  attrs: {
7784
7787
  "content": _vm.contentTooltipStar
7785
7788
  }
7786
- }, [_c('fa-icon', {
7789
+ }, [_c('svg', {
7787
7790
  attrs: {
7788
- "icon": ['fas', 'star']
7791
+ "xmlns": "http://www.w3.org/2000/svg",
7792
+ "viewBox": "0 0 448 512"
7789
7793
  }
7790
- })], 1) : _vm._e()]), _vm._v(" "), _c('transition', {
7794
+ }, [_c('path', {
7795
+ attrs: {
7796
+ "fill": "#FFD700",
7797
+ "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"
7798
+ }
7799
+ })])]) : _vm._e(), _vm._v(" "), _vm.iniDialogo == 0 ? _c('span', {
7800
+ directives: [{
7801
+ name: "tippy",
7802
+ rawName: "v-tippy"
7803
+ }],
7804
+ key: "star-padrao-cinza",
7805
+ staticClass: "star cinza",
7806
+ attrs: {
7807
+ "content": _vm.contentTooltipStar
7808
+ }
7809
+ }, [_c('svg', {
7810
+ attrs: {
7811
+ "xmlns": "http://www.w3.org/2000/svg",
7812
+ "viewBox": "0 0 448 512"
7813
+ }
7814
+ }, [_c('path', {
7815
+ attrs: {
7816
+ "fill": "#808080",
7817
+ "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"
7818
+ }
7819
+ })])]) : _vm._e()]) : _vm._e(), _vm._v(" "), _c('transition', {
7791
7820
  attrs: {
7792
7821
  "name": "fade",
7793
7822
  "mode": "out-in"
@@ -7903,8 +7932,8 @@ var __vue_staticRenderFns__$3 = [];
7903
7932
 
7904
7933
  const __vue_inject_styles__$3 = function (inject) {
7905
7934
  if (!inject) return;
7906
- inject("data-v-ba911a2a_0", {
7907
- 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:3px;font-size:.7rem}.star.dourado svg{color:gold}.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}",
7935
+ inject("data-v-f11961c8_0", {
7936
+ 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}",
7908
7937
  map: undefined,
7909
7938
  media: undefined
7910
7939
  });