vue-intergrall-plugins 0.0.141 → 0.0.142

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.
@@ -7481,12 +7481,13 @@ var script$3 = {
7481
7481
  AnexoMensagem,
7482
7482
  InteratividadeBotoes
7483
7483
  },
7484
- 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"],
7484
+ 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"],
7485
7485
 
7486
7486
  data() {
7487
7487
  return {
7488
7488
  strTooltipAux: "",
7489
7489
  linkAux: "",
7490
+ reply: "reply",
7490
7491
  center: {},
7491
7492
  marker: {},
7492
7493
  infos: [],
@@ -7531,15 +7532,37 @@ var script$3 = {
7531
7532
  return this.contentTooltip = msg;
7532
7533
  }
7533
7534
 
7535
+ },
7536
+
7537
+ contentTooltipStar() {
7538
+ let tooltipStar = "";
7539
+
7540
+ if (this.iniDialogo == 1) {
7541
+ tooltipStar += this.dictionary['ini_sessao'] + "<br/>";
7542
+ tooltipStar += this.dictionary['id_conversa'] + " - " + this.dialogoId + "<br/>";
7543
+ tooltipStar += this.dictionary['origem_conversa'] + " - " + this.dialogoOrigem + "<br/>";
7544
+ tooltipStar += this.dictionary['expiracao_sessao'] + " - " + formataTimezoneData(this.expSessao) + "<br/>";
7545
+ return tooltipStar;
7546
+ }
7547
+
7548
+ return tooltipStar;
7534
7549
  }
7550
+
7535
7551
  },
7536
7552
 
7537
7553
  mounted() {
7538
7554
  if (this.mapa) this.setMap();
7539
7555
  if (this.corMsg) this.setCorMsg();
7556
+ this.setClasses();
7540
7557
  },
7541
7558
 
7542
7559
  methods: {
7560
+ setClasses() {
7561
+ if (this.hasReply && (this.status == "C" || this.status == "T") && this.iniDialogo == 0) {
7562
+ this.reply = "reply reply-with-2-icons";
7563
+ }
7564
+ },
7565
+
7543
7566
  setCorMsg() {
7544
7567
  try {
7545
7568
  const root = document.documentElement;
@@ -7687,7 +7710,7 @@ var __vue_render__$3 = function () {
7687
7710
  name: "tippy",
7688
7711
  rawName: "v-tippy"
7689
7712
  }],
7690
- staticClass: "reply",
7713
+ class: _vm.reply,
7691
7714
  attrs: {
7692
7715
  "content": _vm.msgReply ? _vm.msgReply : 'Fazer reenvio da mensagem'
7693
7716
  },
@@ -7705,6 +7728,25 @@ var __vue_render__$3 = function () {
7705
7728
  "name": "fade",
7706
7729
  "mode": "out-in"
7707
7730
  }
7731
+ }, [_vm.iniDialogo == 1 ? _c('span', {
7732
+ directives: [{
7733
+ name: "tippy",
7734
+ rawName: "v-tippy"
7735
+ }],
7736
+ key: "star-padrao",
7737
+ staticClass: "star dourado",
7738
+ attrs: {
7739
+ "content": _vm.contentTooltipStar
7740
+ }
7741
+ }, [_c('fa-icon', {
7742
+ attrs: {
7743
+ "icon": ['fas', 'star']
7744
+ }
7745
+ })], 1) : _vm._e()]), _vm._v(" "), _c('transition', {
7746
+ attrs: {
7747
+ "name": "fade",
7748
+ "mode": "out-in"
7749
+ }
7708
7750
  }, [_vm.status == 'D' ? _c('span', {
7709
7751
  directives: [{
7710
7752
  name: "tippy",
@@ -7816,8 +7858,8 @@ var __vue_staticRenderFns__$3 = [];
7816
7858
 
7817
7859
  const __vue_inject_styles__$3 = function (inject) {
7818
7860
  if (!inject) return;
7819
- inject("data-v-8155b550_0", {
7820
- 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: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}.reply svg{margin-top:-1px;margin-right:-1px}.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}.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}",
7861
+ inject("data-v-c1e72e34_0", {
7862
+ 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}.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}",
7821
7863
  map: undefined,
7822
7864
  media: undefined
7823
7865
  });