vue-intergrall-plugins 0.0.173 → 0.0.174

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.
@@ -39564,13 +39564,13 @@ var script$3 = {
39564
39564
  if (this.validadeIfExistsUrl()) {
39565
39565
  const linkRegex = /(?:(?:https?|ftp|file):\/\/|www\.|ftp\.)(?:\([-A-Z0-9+&@#\/%=~_|$?!:,.]*\)|[-A-Z0-9+&@#\/%=~_|$?!:,.])*(?:\([-A-Z0-9+&@#\/%=~_|$?!:,.]*\)|[A-Z0-9+&@#\/%=~_|$])/igm;
39566
39566
  let link = [];
39567
- link = this.removeTags(this.message).match(linkRegex);
39567
+ link = this.message.match(linkRegex);
39568
39568
 
39569
39569
  if (!link || link.length == 0) {
39570
39570
  return;
39571
39571
  }
39572
39572
 
39573
- build.getLinkPreview(this.removeTags(link[0])).then(data => {
39573
+ build.getLinkPreview(link[0]).then(data => {
39574
39574
  if (data.images && data.images.length > 0) {
39575
39575
  this.urlSticker = data.images[0];
39576
39576
  }
@@ -39659,24 +39659,7 @@ var script$3 = {
39659
39659
  if (regex.test(msg)) msg = msg.replace(regex, "<br>"); // if(/(http(s)?:\/\/.)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/gi.test(msg) && this.link) this.setLinkPreview(msg)
39660
39660
 
39661
39661
  return msg;
39662
- },
39663
-
39664
- removeTags(str) {
39665
- if (str === null || str === '') {
39666
- return false;
39667
- } else {
39668
- str = str.toString();
39669
- return str.replace(/(<([^>]+)>)/ig, '');
39670
- }
39671
- } // setLinkPreview(link) {
39672
- // try {
39673
- // this.linkPreview = link
39674
- // }catch(e) {
39675
- // console.error("Erro ao receber a previa do link")
39676
- // console.error(e)
39677
- // }
39678
- // }
39679
-
39662
+ }
39680
39663
 
39681
39664
  }
39682
39665
  };
@@ -39956,7 +39939,7 @@ var __vue_staticRenderFns__$3 = [];
39956
39939
 
39957
39940
  const __vue_inject_styles__$3 = function (inject) {
39958
39941
  if (!inject) return;
39959
- inject("data-v-a8912910_0", {
39942
+ inject("data-v-b1323dbe_0", {
39960
39943
  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}",
39961
39944
  map: undefined,
39962
39945
  media: undefined