vue-intergrall-plugins 1.0.68 → 1.0.70

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.
@@ -2656,18 +2656,6 @@ const resetTargets = ($el, inputClass, parentClass, defaultHeight) => {
2656
2656
  });
2657
2657
  };
2658
2658
 
2659
- function returnMessageWithHexa(originalMessage) {
2660
- let output = "";
2661
- for (let i = 0; i < originalMessage.length; i++) {
2662
- const codePoint = originalMessage.codePointAt(i);
2663
- if (codePoint > 9727) {
2664
- if (codePoint > 99999) output += `&#${codePoint};`;
2665
- } else {
2666
- output += originalMessage[i];
2667
- }
2668
- }
2669
- return output;
2670
- }
2671
2659
  function formataData(data) {
2672
2660
  if (!data || data == '1111-11-11') return '';
2673
2661
  data = data.split("-");
@@ -5444,7 +5432,7 @@ var script$m = {
5444
5432
  if (!message) return "";
5445
5433
  message = message.trim();
5446
5434
  message = message.replace(/\n$/, "", message);
5447
- message = returnMessageWithHexa(message);
5435
+ // message = returnMessageWithHexa(message);
5448
5436
  message = this.removeHTMLElementsFromMessage(message);
5449
5437
  return message;
5450
5438
  },
@@ -5976,7 +5964,7 @@ var __vue_staticRenderFns__$m = [];
5976
5964
  /* style */
5977
5965
  const __vue_inject_styles__$m = function (inject) {
5978
5966
  if (!inject) return;
5979
- inject("data-v-bf33e062_0", {
5967
+ inject("data-v-0ecdac21_0", {
5980
5968
  source: ".text-footer-container{display:flex;justify-content:center;align-items:center;flex-direction:column;width:100%;position:relative}.text-footer-container .text-footer{min-height:48px;box-shadow:0 3px 7px -2px rgba(0,0,0,.45);position:relative;display:flex;justify-content:center;align-items:center;border:1px solid #ccc;padding:5px 2px 5px 5px;border-radius:5px}.text-footer-container .text-footer.full{width:100%}.text-footer-container .text-footer.almostFull{width:95%}.text-footer-container .text-footer.medium{width:75%}.text-footer-container.bigger .text-footer{height:80px}.text-footer-container.bigger .text-footer>textarea{font-size:14px;height:75px;max-height:75px;min-height:75px}.text-footer-container textarea{margin:0 5px;border:unset;flex:1;resize:none;min-height:30px;max-height:60px;font-size:14px;font-family:inherit;background:inherit}.text-footer-container textarea:focus{outline:unset}.text-footer-container textarea::placeholder{font-size:12px}.text-footer-container .text-footer-audio{flex:1;display:flex;justify-content:center;align-items:center}.text-footer-container audio{flex:1;outline:unset;width:auto;height:38px}.text-footer-container .delete-audio{display:flex;justify-content:center;align-items:center;color:#e74c3c;transition:background .3s;border-radius:50%;font-size:16px;padding:10px;cursor:pointer;margin:0 5px;width:31px;height:31px}.text-footer-container .delete-audio:hover{background-color:rgba(208,0,0,.2)}.text-footer-container .max-characters{font-size:9.2px;z-index:1;color:#444;position:relative;top:30px;left:-30px}.text-footer-container .max-characters.no-width{width:0}.text-footer-container .text-footer-actions{display:flex}.text-footer-container .text-footer-actions.outside-buttons{display:flex;align-items:center;justify-content:flex-end;position:absolute;top:-30px;right:35px;background-color:#fafafa}.text-footer-container .text-footer-actions .text-footer-actions--btn{display:flex;justify-content:center;align-items:center;color:#777;border-radius:50%;transition:background .3s;padding:10px;font-size:16px;width:36px;height:36px;cursor:pointer;margin-right:2.5px}.text-footer-container .text-footer-actions .text-footer-actions--btn:last-child{margin-right:unset}.text-footer-container .text-footer-actions .text-footer-actions--btn:hover{background-color:rgba(0,0,0,.1)}.text-footer-container .text-footer-actions .text-footer-actions--btn.files-activated{background-color:rgba(0,0,0,.1)}.text-footer-container .text-footer-actions .text-footer-actions--btn.audio-activated{background-color:rgba(208,0,0,.7);color:#fff}.text-footer-container .text-footer-actions .text-footer-actions--btn.left-button{position:absolute;left:0}.text-footer-container .text-footer-hsm-container{margin:12px 0 7px 0}.text-footer-container .text-footer-hsm-container.full{width:100%}.text-footer-container .text-footer-hsm-container.almostFull{width:95%}.text-footer-container .text-footer-hsm-container.medium{width:75%}.text-footer-container .text-footer-hsm-container .text-footer-v-select{border-radius:5px;margin-bottom:5px}.text-footer-container .text-footer-hsm-container .text-footer-select-03{display:flex;align-items:center;flex:1;width:100%}.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer-v-select{flex:1}.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer--btn-select-03{transition-duration:.3s;user-select:none;cursor:pointer;box-shadow:inset 0 -3px rgba(0,0,0,.2);opacity:.9;border-radius:2.5px;display:flex;justify-content:center;align-items:center;margin-left:5px;margin-bottom:5px;background-color:#f7fe72;width:32px;height:32px}.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer--btn-select-03:hover{opacity:1}.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer--btn-select-03:active{opacity:1;box-shadow:inset 0 -1px rgba(0,0,0,.2);-webkit-transform:translateY(1px);-moz-transform:translateY(1px);-o-transform:translateY(1px);-ms-transform:translateY(1px);transform:translateY(1px)}.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer--btn-select-03 svg{font-size:16px}.text-footer-container .text-footer-files-container{position:absolute;right:0;top:-55px;padding:5px;background-color:rgba(0,0,0,.4);border-radius:5px;display:flex;align-items:center;justify-content:space-between;z-index:1}.text-footer-container .text-footer-files-container.horizontal{right:-55px;flex-direction:column}.text-footer-container .text-footer-files-container .files-btn{transition-duration:.3s;transition-property:opacity;opacity:.8;cursor:pointer;display:flex;justify-content:center;align-items:center;border-radius:10px;padding:3px;width:40px;height:40px;font-size:16px;color:#fff}.text-footer-container .text-footer-files-container .files-btn:hover{opacity:1}.text-footer-container .text-footer-files-container .files-btn svg{color:#fff}.text-footer-container .text-footer-files-container .files-btn.images{background-color:#9575cd;margin-right:5px}.text-footer-container .text-footer-files-container .files-btn.images.margin-bottom{margin-right:unset;margin-bottom:5px}.text-footer-container .text-footer-files-container .files-btn.docs{background-color:#7986cb}.text-footer-container .text-footer-files-container .files-btn.system{background-color:#49a349;margin-left:5px}.text-footer-container .text-footer-files-container .files-btn.both{font-size:15.2px;background-color:#5555ec;flex-direction:column}.text-footer-container .text-footer-files-container .files-btn.both svg:nth-child(1){transform:translateX(5px)}.text-footer-container .text-footer-files-container .files-btn.both svg:nth-child(2){transform:translateX(-5px)}.text-footer-container .text-footer-preview-container{width:100%;cursor:default;position:absolute;left:0;background-color:#f1f1f1;border:2px solid #ccc;border-bottom:unset;border-top-left-radius:2.5px;border-top-right-radius:2.5px}.text-footer-container .text-footer-preview-container.isDoc{top:-50px;width:100%;height:45px}.text-footer-container .text-footer-preview-container.isImg,.text-footer-container .text-footer-preview-container.isMultiple{top:-205px;width:100%;height:200px;min-width:200px}.text-footer-container .text-footer-preview-container.isImg .text-footer-image-preview{height:170px}.text-footer-container .text-footer-preview-container.isError{top:-80px;width:100%;height:75px}.text-footer-container .text-footer-alt{margin-top:-12px;width:100%;padding:0 10px}.text-footer-container .text-footer-alt .text-footer-out-session{margin-top:12px}.text-footer-container .text-footer-alt .text-footer-sem-24h{font-size:12.8px;text-align:right;font-weight:600;letter-spacing:-.5px;color:#dd7f0c;margin-top:5px;position:absolute;right:0}.text-footer-container .text-footer-alt .sem-templates{margin-top:10px;font-size:12.8px;text-align:right;font-weight:600;letter-spacing:-.5px;color:#921e12}.text-footer-container .text-footer-alt .text-footer-templates{position:relative;width:100%}.text-footer-container .text-footer-alt .text-footer-templates .text-footer-group-selection{width:100%;display:flex;align-items:center}.text-footer-container .text-footer-alt .text-footer-templates .text-footer-group-selection h4{margin-right:5px}.text-footer-container .text-footer-alt .text-footer-templates .text-footer-group-selection .sm__select{flex:1}.vs__dropdown-menu{font-size:13.6px!important}.emoji-mart-anchor,.emoji-mart-emoji span{cursor:pointer!important}.emoji-mart{z-index:2!important}.emoji-mart-scroll{overflow-x:hidden}",
5981
5969
  map: undefined,
5982
5970
  media: undefined
@@ -6523,7 +6511,7 @@ var script$j = {
6523
6511
  if (!message) return "";
6524
6512
  message = message.trim();
6525
6513
  message = message.replace(/\n$/, "", message);
6526
- message = returnMessageWithHexa(message);
6514
+ // message = returnMessageWithHexa(message);
6527
6515
  message = this.removeHTMLElementsFromMessage(message);
6528
6516
  return message;
6529
6517
  },
@@ -6810,7 +6798,7 @@ var __vue_staticRenderFns__$j = [];
6810
6798
  /* style */
6811
6799
  const __vue_inject_styles__$j = function (inject) {
6812
6800
  if (!inject) return;
6813
- inject("data-v-53d5f793_0", {
6801
+ inject("data-v-4d4b6f82_0", {
6814
6802
  source: ".sc-icone-fechar.sc-icone-fechar--externo{top:-10px;right:-10px}.sc-icone-fechar.sc-icone-fechar--interno{top:10px;right:10px}.expand-textarea{position:relative;width:90%;height:90%;z-index:1}.expand-textarea-content{overflow-x:hidden;overflow-y:auto;background-color:#fff;width:100%;height:100%;display:flex;flex-direction:column}.expand-textarea-title{padding:2.5px 8px;min-height:38px;display:flex;align-items:center;width:100%;font-size:20.8px;background-color:#222;color:#fff}.expand-textarea-content textarea{padding:10px;flex:1;width:100%;border:unset;resize:none;outline:0;overflow-x:hidden}.expand-textarea-content textarea:active,.expand-textarea-content textarea:hover{outline:0}.expand-textarea-footer{display:flex;justify-content:flex-end;align-items:center;padding:10px;background-color:#f7f7f7;position:relative}.expand-textarea-footer .text-footer-preview-container{position:absolute;top:-200px;right:145px;height:200px;background:#f7f7f7}.expand-textarea-footer .text-footer-actions--btn{width:36px;height:36px;border-radius:50%;background-color:rgba(255,255,255,0);color:#333;padding:2.5px;margin:0 15px 0 10px;display:flex;justify-content:center;align-items:center;font-size:20.8px;cursor:pointer;opacity:.9;transition:all .3s}.expand-textarea-footer .text-footer-actions--btn:hover{opacity:1;background-color:rgba(30,30,30,.1)}.expand-textarea-button{width:125px;height:30px;display:flex;justify-content:center;align-items:center;transition-duration:.3s;user-select:none;cursor:pointer;box-shadow:inset 0 -2px rgba(0,0,0,.2);opacity:.9;border-radius:5px;padding:5px 10px;border-radius:2.5px;position:relative}.expand-textarea-button.green{background-color:#2a963a;color:#fff;margin-right:10px}.expand-textarea-button.red{background-color:#e74c3c;color:#fff}.expand-textarea-button:hover{opacity:1}.expand-textarea-button:active{opacity:1;box-shadow:inset 0 -1px rgba(0,0,0,.2);-webkit-transform:translateY(1px);-moz-transform:translateY(1px);-o-transform:translateY(1px);-ms-transform:translateY(1px);transform:translateY(1px)}.expand-textarea-button.carregando{background-color:#777}",
6815
6803
  map: undefined,
6816
6804
  media: undefined
@@ -7086,7 +7074,14 @@ const fileHandler = {
7086
7074
  },
7087
7075
  computed: {
7088
7076
  iconClass() {
7089
- return typeof this.fileType === 'string' && this.fileType.indexOf('pdf') > -1 ? "pdf" : "doc";
7077
+ if (typeof this.fileType !== 'string') return "doc";
7078
+ if (this.fileType.includes('pdf')) return "pdf";
7079
+ if (this.fileType.includes('xls') || this.fileType.includes('xlsx')) return "xls";
7080
+ if (this.fileType.includes('ppt') || this.fileType.includes('pptx')) return "ppt";
7081
+ if (this.fileType.includes('zip') || this.fileType.includes('rar')) return "zip";
7082
+ if (this.fileType.includes('iml') || this.fileType.includes('xml')) return "xml";
7083
+ if (this.fileType.includes('mp3') || this.fileType.includes('aac') || this.fileType.includes('ogg') || this.fileType.includes('wma')) return "audio";
7084
+ return "doc";
7090
7085
  }
7091
7086
  },
7092
7087
  methods: {
@@ -7142,7 +7137,14 @@ const fileHandler = {
7142
7137
  }
7143
7138
  },
7144
7139
  setIcon() {
7145
- this.icon = typeof this.fileType === 'string' && this.fileType.indexOf('pdf') > -1 ? ['fas', 'file-pdf'] : ['fas', 'file-alt'];
7140
+ if (typeof this.fileType !== 'string') return this.icon = ['fas', 'file-alt'];
7141
+ if (this.fileType.includes('pdf')) return this.icon = ['fas', 'file-pdf'];
7142
+ if (this.fileType.includes('xls') || this.fileType.includes('xlsx')) return this.icon = ['fas', 'file-excel'];
7143
+ if (this.fileType.includes('ppt') || this.fileType.includes('pptx')) return this.icon = ['fas', 'file-powerpoint'];
7144
+ if (this.fileType.includes('zip') || this.fileType.includes('rar')) return this.icon = ['fas', 'file-archive'];
7145
+ if (this.fileType.includes('iml') || this.fileType.includes('xml')) return this.icon = ['fas', 'file-code'];
7146
+ if (this.fileType.includes('mp3') || this.fileType.includes('aac') || this.fileType.includes('ogg') || this.fileType.includes('wma') || this.fileType.includes('mpeg')) return this.icon = ['fas', 'file-audio'];
7147
+ return this.icon = ['fas', 'file-alt'];
7146
7148
  },
7147
7149
  downloadAllFilesHandler(referenceSelector) {
7148
7150
  try {
@@ -10652,6 +10654,7 @@ var __vue_render__$3 = function () {
10652
10654
  },
10653
10655
  on: {
10654
10656
  "click": function ($event) {
10657
+ $event.stopPropagation();
10655
10658
  return _vm.openWindowFromURL(_vm.imageURL, true);
10656
10659
  }
10657
10660
  }
@@ -10677,6 +10680,7 @@ var __vue_render__$3 = function () {
10677
10680
  },
10678
10681
  on: {
10679
10682
  "click": function ($event) {
10683
+ $event.stopPropagation();
10680
10684
  return _vm.openWindowFromURL(_vm.docURL, false);
10681
10685
  }
10682
10686
  }
@@ -10691,6 +10695,11 @@ var __vue_render__$3 = function () {
10691
10695
  "download": "" + _vm.filename,
10692
10696
  "target": "_blank",
10693
10697
  "title": "Download " + _vm.filename
10698
+ },
10699
+ on: {
10700
+ "click": function ($event) {
10701
+ $event.stopPropagation();
10702
+ }
10694
10703
  }
10695
10704
  }, [_c('fa-icon', {
10696
10705
  attrs: {
@@ -10703,6 +10712,11 @@ var __vue_render__$3 = function () {
10703
10712
  },
10704
10713
  domProps: {
10705
10714
  "textContent": _vm._s(_vm.filename)
10715
+ },
10716
+ on: {
10717
+ "click": function ($event) {
10718
+ $event.stopPropagation();
10719
+ }
10706
10720
  }
10707
10721
  })])], 1);
10708
10722
  };
@@ -10711,8 +10725,8 @@ var __vue_staticRenderFns__$3 = [];
10711
10725
  /* style */
10712
10726
  const __vue_inject_styles__$3 = function (inject) {
10713
10727
  if (!inject) return;
10714
- inject("data-v-5fc0ce34_0", {
10715
- source: ".email-file{display:flex;align-items:center;justify-content:flex-end;flex-direction:column;min-width:50px;width:auto;max-width:100px;height:70px;position:relative}.anexo-img{display:flex;justify-content:center;align-items:center;width:100%;height:100%;overflow:hidden;background-color:rgba(0,0,0,.2);border-radius:2.5px;cursor:pointer;opacity:.9;transition:opacity 150ms}.anexo-img:hover{opacity:1}.anexo-img img{max-width:100%;font-size:.8rem}.anexo-video{width:100%;height:100%;max-width:100%;overflow:hidden}.anexo-video video{max-width:100%}.box-shadow{-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);-moz-box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.anexo-icone{display:flex;justify-content:center;align-items:center;font-size:30px;cursor:pointer}.anexo-icone:hover{opacity:1}.anexo-icone:visited{color:inherit}.anexo-icone.pdf{position:relative}.anexo-icone.pdf svg{color:#e74c3c}.anexo-icone.pdf::after{content:\"\";position:absolute;bottom:2px;transform:translateY(2px);width:20px;height:20px}.anexo-icone.doc{color:#15517f}.anexo-icone.doc::after{content:\"\";position:absolute;width:20px;height:20px}.anexo-download{position:absolute;top:0;right:0;border-radius:5px;padding:5px;display:flex;justify-content:center;align-items:center;color:#222;background-color:#fff;z-index:1;font-size:.8rem;cursor:pointer}.anexo-name{max-width:100%;font-size:.8rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:2px 0 5px 0;height:20px}.anexo-icone,.anexo-img,.anexo-video{max-height:calc(100% - 20px)}",
10728
+ inject("data-v-5c283162_0", {
10729
+ source: ".email-file{display:flex;align-items:center;justify-content:flex-end;flex-direction:column;min-width:50px;width:auto;max-width:100px;height:70px;position:relative}.anexo-img{display:flex;justify-content:center;align-items:center;width:100%;height:100%;overflow:hidden;background-color:rgba(0,0,0,.2);border-radius:2.5px;cursor:pointer;opacity:.9;transition:opacity 150ms}.anexo-img:hover{opacity:1}.anexo-img img{max-width:100%;font-size:.8rem}.anexo-video{width:100%;height:100%;max-width:100%;overflow:hidden}.anexo-video video{max-width:100%}.box-shadow{-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);-moz-box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.anexo-icone{display:flex;justify-content:center;align-items:center;font-size:30px;cursor:pointer}.anexo-icone:hover{opacity:1}.anexo-icone:visited{color:inherit}.anexo-icone.pdf{position:relative}.anexo-icone.pdf svg{color:#e74c3c}.anexo-icone.xls svg{color:#00a65a}.anexo-icone.ppt svg{color:#e67e22}.anexo-icone.zip svg{color:#7434db}.anexo-icone.xml svg{color:#3498db}.anexo-icone.audio svg{color:#506879}.anexo-icone.pdf::after{content:\"\";position:absolute;bottom:2px;transform:translateY(2px);width:20px;height:20px}.anexo-icone.doc{color:#15517f}.anexo-icone.doc::after{content:\"\";position:absolute;width:20px;height:20px}.anexo-download{position:absolute;top:0;right:0;border-radius:5px;padding:5px;display:flex;justify-content:center;align-items:center;color:#222;background-color:#fff;z-index:1;font-size:.8rem;cursor:pointer}.anexo-name{max-width:100%;font-size:.8rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:2px 0 5px 0;height:20px}.anexo-icone,.anexo-img,.anexo-video{max-height:calc(100% - 20px)}",
10716
10730
  map: undefined,
10717
10731
  media: undefined
10718
10732
  });
@@ -10986,6 +11000,12 @@ var script$1 = {
10986
11000
  });
10987
11001
  }
10988
11002
  return infos;
11003
+ },
11004
+ filteredFiles() {
11005
+ if (!this.anexos || !this.anexos.length) return;
11006
+ return this.anexos.filter(anexo => {
11007
+ return !this.html.includes(anexo.name);
11008
+ });
10989
11009
  }
10990
11010
  },
10991
11011
  watch: {
@@ -11018,8 +11038,12 @@ var script$1 = {
11018
11038
  if (!iframe) return;
11019
11039
  const doc = iframe.contentDocument || iframe.contentWindow.document;
11020
11040
  if (!doc) return;
11041
+ let content = this.html;
11042
+ if (!/<[a-z][\s\S]*>/i.test(content)) {
11043
+ content = `<p>${content}</p>`;
11044
+ }
11021
11045
  doc.open();
11022
- doc.write(this.html);
11046
+ doc.write(content);
11023
11047
  doc.close();
11024
11048
  const images = doc.getElementsByTagName('img');
11025
11049
  let imagesLoaded = 0;
@@ -11103,7 +11127,7 @@ var script$1 = {
11103
11127
  assunto: this.assunto,
11104
11128
  dataHora: this.dataHora,
11105
11129
  mensagem: this.mensagem,
11106
- anexos: this.anexos,
11130
+ anexos: this.filteredFiles,
11107
11131
  dataServer: this.dataServer,
11108
11132
  dominio: this.dominio
11109
11133
  });
@@ -11173,7 +11197,7 @@ var __vue_render__$1 = function () {
11173
11197
  staticClass: "email-overlay"
11174
11198
  }) : _vm._e(), _vm._v(" "), _vm.autor ? _c('div', {
11175
11199
  staticClass: "email-author",
11176
- class: [_vm.origem],
11200
+ class: [_vm.origem, _vm.isMainEmail ? 'main' : ''],
11177
11201
  on: {
11178
11202
  "click": function ($event) {
11179
11203
  $event.stopPropagation();
@@ -11295,6 +11319,12 @@ var __vue_render__$1 = function () {
11295
11319
  "textContent": _vm._s("Assunto: " + (_vm.htmlEntityToEmoji(_vm.replaceUnicodeWithEmoji(_vm.assunto)) || '(Sem assunto)'))
11296
11320
  }
11297
11321
  })]) : _vm._e()], 2)]), _vm._v(" "), _c('span', {
11322
+ directives: [{
11323
+ name: "show",
11324
+ rawName: "v-show",
11325
+ value: _vm.formattedDate,
11326
+ expression: "formattedDate"
11327
+ }],
11298
11328
  ref: "emailDate",
11299
11329
  class: "email-date " + (_vm.isOpen ? _vm.isOpenClass : _vm.isClosedClass),
11300
11330
  attrs: {
@@ -11380,14 +11410,15 @@ var __vue_render__$1 = function () {
11380
11410
  class: "email-html " + (_vm.isIframeLoading ? 'visibility-hidden' : '')
11381
11411
  }), _vm._v(" "), _vm.openMessage ? _c('span', {
11382
11412
  staticClass: "email-raw"
11383
- }, [_vm._v(_vm._s(_vm.mensagem))]) : _vm._e()], 1)]), _vm._v(" "), _vm.anexos && _vm.anexos.length ? _c('div', {
11384
- staticClass: "email-files",
11385
- on: {
11386
- "click": function ($event) {
11387
- $event.stopPropagation();
11388
- }
11389
- }
11390
- }, _vm._l(_vm.anexos, function (anexo, index) {
11413
+ }, [_vm._v(_vm._s(_vm.mensagem))]) : _vm._e()], 1)]), _vm._v(" "), _vm.filteredFiles && _vm.filteredFiles.length ? _c('div', {
11414
+ directives: [{
11415
+ name: "show",
11416
+ rawName: "v-show",
11417
+ value: _vm.isOpen || _vm.isMainEmail,
11418
+ expression: "isOpen || isMainEmail"
11419
+ }],
11420
+ staticClass: "email-files"
11421
+ }, _vm._l(_vm.filteredFiles, function (anexo, index) {
11391
11422
  return _c('EmailFile', {
11392
11423
  key: index,
11393
11424
  attrs: {
@@ -11402,18 +11433,18 @@ var __vue_staticRenderFns__$1 = [];
11402
11433
  /* style */
11403
11434
  const __vue_inject_styles__$1 = function (inject) {
11404
11435
  if (!inject) return;
11405
- inject("data-v-5456d3ac_0", {
11406
- source: ".show-y-top-enter-active[data-v-5456d3ac],.show-y-top-leave-enter[data-v-5456d3ac]{opacity:1;transform:translateY(0);transition:all .2s linear}.show-y-top-enter[data-v-5456d3ac],.show-y-top-leave-to[data-v-5456d3ac]{opacity:0;transform:translateY(-2%)}",
11436
+ inject("data-v-4fe1fe7e_0", {
11437
+ source: ".show-y-top-enter-active[data-v-4fe1fe7e],.show-y-top-leave-enter[data-v-4fe1fe7e]{opacity:1;transform:translateY(0);transition:all .2s linear}.show-y-top-enter[data-v-4fe1fe7e],.show-y-top-leave-to[data-v-4fe1fe7e]{opacity:0;transform:translateY(-2%)}",
11407
11438
  map: undefined,
11408
11439
  media: undefined
11409
- }), inject("data-v-5456d3ac_1", {
11410
- source: "@import url(https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap);.visibility-hidden{visibility:hidden}.box-shadow-active{box-shadow:0 0 4px 2px rgba(0,0,0,.25)}.bg-dark-white-2{background-color:#f7f7f7}.bg-white{background-color:#fff}.cursor-pointer{cursor:pointer}.email-overlay{width:100%;height:100%;background-color:transparent;z-index:1;position:absolute;top:0;left:0}.email-item{font-family:Roboto,sans-serif;flex:1;margin:0 0 10px 0;color:#222;min-height:60px;display:flex;flex-wrap:wrap;padding:10px;border-radius:5px;transition:all 150ms ease-in-out;max-width:100%;width:100%;overflow:hidden;position:relative}.email-item.outros{border-left:3px solid #33b8df}.email-author-name{margin:0 5px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.email-author.outros{color:#33b8df}.email-author.outros>svg:nth-child(1){transform:rotate(180deg)}.email-author.principal{color:#ebb552}.email-item.principal{border-left:3px solid #ebb552}.email-item.info-open{overflow:visible}.email-header{width:100%;display:flex;flex-direction:column;cursor:pointer;border-top-right-radius:5px;border-top-left-radius:5px;position:relative;overflow:visible}.header-container{display:flex;overflow:hidden;position:relative}.email-header-content{display:flex;align-items:center;flex:1;min-width:250px}.email-header-infos{display:flex;flex-direction:column;flex:1}.email-subject{margin:5px 0 0 0;font-size:1.025rem;cursor:pointer}.email-date{--width:245px;font-size:.8rem;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;position:absolute;right:0;top:0;min-width:var(--width);width:var(--width);max-width:var(--width);display:flex;justify-content:flex-end;gap:3px;align-items:center}.email-content{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;width:100%;background-color:#fff;position:relative;max-width:100%}.email-actions{align-self:flex-end;display:flex;border-radius:10px;cursor:pointer;align-items:center;justify-content:center;gap:3px;padding:5px 7px;background-color:#ddd;position:absolute;right:0;top:30px;z-index:1}.email-actions.main{top:10px}.email-actions.active{background-color:#dfdfdf}.email-actions>span{width:4px;height:4px;min-width:4px;min-height:4px;max-width:4px;max-height:4px;background-color:#222;border-radius:50%}.email-actions-list{position:absolute;right:45px;width:250px;top:5px;margin:0;list-style-type:none;padding:0;border-radius:5px;z-index:1}.email-action{background-color:#dfdfdf;padding:5px 10px;cursor:pointer;transition:background-color 150ms ease-in-out;font-size:.9rem;user-select:none}.email-action:nth-child(1){border-top-left-radius:5px;border-top-right-radius:5px}.email-action:last-child{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.email-action:hover{background-color:#ccc}.email-html{width:100%;min-width:300px;max-width:100%;border:none;overflow:auto}.email-raw{width:100%;max-width:100%;padding:15px;font-size:.9rem;color:#222}.email-files{display:flex;gap:10px;flex-wrap:wrap;width:100%;cursor:default;margin-top:5px}.email-header-content,.email-header-infos{max-width:100%;overflow:hidden}.email-to-from-container{margin-bottom:5px;max-width:100%;min-width:250px;overflow:hidden;display:flex;align-items:center;flex-wrap:wrap;flex:1;gap:5px}.email-to-btn{padding:0 5px;font-size:.9rem;cursor:pointer;color:#666}.email-to-infos{position:absolute;bottom:-325px;border:1px solid #ccc;z-index:2;padding:10px;background-color:#fff;max-height:300px;overflow-y:auto;overflow-x:hidden;width:300px;display:flex;flex-direction:column;gap:5px;margin:0;cursor:default}.email-info{width:100%;font-size:.8rem}.email-info>span{font-size:.75rem;color:gray;margin-right:3px}.email-author{display:flex;align-items:center;height:5px;font-size:.75rem;font-weight:700;transform:translateY(-2px);width:100%;cursor:pointer}.email-subject-secondary{margin-top:-5px}.email-subject-span{font-size:.7rem;color:gray}.email-to-svg{font-size:.85rem}.email-custom-buttons{display:flex;gap:7px;position:absolute;top:5px;right:5px;z-index:1;font-size:.8rem}.menu-mensagem{cursor:pointer;padding:1px}",
11440
+ }), inject("data-v-4fe1fe7e_1", {
11441
+ source: "@import url(https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap);.visibility-hidden{visibility:hidden}.box-shadow-active{box-shadow:0 0 4px 2px rgba(0,0,0,.25)}.bg-dark-white-2{background-color:#f7f7f7}.bg-white{background-color:#fff}.cursor-pointer{cursor:pointer}.email-overlay{width:100%;height:100%;background-color:transparent;z-index:1;position:absolute;top:0;left:0}.email-item{font-family:Roboto,sans-serif;flex:1;margin:0 0 10px 0;color:#222;min-height:60px;display:flex;flex-wrap:wrap;padding:10px;border-radius:5px;transition:all 150ms ease-in-out;max-width:100%;width:100%;overflow:hidden;position:relative}.email-item.outros{border-left:3px solid #33b8df}.email-author-name{margin:0 5px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.email-author.outros{color:#33b8df}.email-author.outros>svg:nth-child(1){transform:rotate(180deg)}.email-author.principal{color:#ebb552}.email-author.main{font-size:1.025rem}.email-item.principal{border-left:3px solid #ebb552}.email-item.info-open{overflow:visible}.email-header{width:100%;display:flex;flex-direction:column;cursor:pointer;border-top-right-radius:5px;border-top-left-radius:5px;position:relative;overflow:visible}.header-container{display:flex;overflow:hidden;position:relative}.email-header-content{display:flex;align-items:center;flex:1;min-width:250px}.email-header-infos{display:flex;flex-direction:column;flex:1}.email-subject{margin:5px 0 0 0;font-size:1.025rem;cursor:pointer}.email-date{--width:245px;font-size:.8rem;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;position:absolute;right:0;top:0;min-width:var(--width);width:var(--width);max-width:var(--width);display:flex;justify-content:flex-end;gap:3px;align-items:center}.email-content{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;width:100%;background-color:#fff;position:relative;max-width:100%}.email-actions{align-self:flex-end;display:flex;border-radius:10px;cursor:pointer;align-items:center;justify-content:center;gap:3px;padding:5px 7px;background-color:#ddd;position:absolute;right:0;top:30px;z-index:1}.email-actions.main{top:10px}.email-actions.active{background-color:#dfdfdf}.email-actions>span{width:4px;height:4px;min-width:4px;min-height:4px;max-width:4px;max-height:4px;background-color:#222;border-radius:50%}.email-actions-list{position:absolute;right:45px;width:250px;top:5px;margin:0;list-style-type:none;padding:0;border-radius:5px;z-index:1}.email-action{background-color:#dfdfdf;padding:5px 10px;cursor:pointer;transition:background-color 150ms ease-in-out;font-size:.9rem;user-select:none}.email-action:nth-child(1){border-top-left-radius:5px;border-top-right-radius:5px}.email-action:last-child{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.email-action:hover{background-color:#ccc}.email-html{width:100%;min-width:300px;max-width:100%;border:none;overflow:auto}.email-raw{width:100%;max-width:100%;padding:15px;font-size:.9rem;color:#222}.email-files{display:flex;gap:10px;flex-wrap:wrap;width:100%;margin-top:5px}.email-header-content,.email-header-infos{max-width:100%;overflow:hidden}.email-to-from-container{margin-bottom:5px;max-width:100%;min-width:250px;overflow:hidden;display:flex;align-items:center;flex-wrap:wrap;flex:1;gap:5px}.email-to-btn{padding:0 5px;font-size:.9rem;cursor:pointer;color:#666}.email-to-infos{position:absolute;bottom:-325px;border:1px solid #ccc;z-index:2;padding:10px;background-color:#fff;max-height:300px;overflow-y:auto;overflow-x:hidden;width:300px;display:flex;flex-direction:column;gap:5px;margin:0;cursor:default}.email-info{width:100%;font-size:.8rem}.email-info>span{font-size:.75rem;color:gray;margin-right:3px}.email-author{display:flex;align-items:center;height:5px;font-size:.75rem;font-weight:700;transform:translateY(-2px);width:100%;cursor:pointer}.email-subject-secondary{margin-top:-5px}.email-subject-span{font-size:.7rem;color:gray}.email-to-svg{font-size:.85rem}.email-custom-buttons{display:flex;gap:7px;position:absolute;top:5px;right:5px;z-index:1;font-size:.8rem}.menu-mensagem{cursor:pointer;padding:1px}",
11411
11442
  map: undefined,
11412
11443
  media: undefined
11413
11444
  });
11414
11445
  };
11415
11446
  /* scoped */
11416
- const __vue_scope_id__$1 = "data-v-5456d3ac";
11447
+ const __vue_scope_id__$1 = "data-v-4fe1fe7e";
11417
11448
  /* module identifier */
11418
11449
  const __vue_module_identifier__$1 = undefined;
11419
11450
  /* functional template */