vue-intergrall-plugins 1.1.75 → 1.1.77

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.
@@ -21841,7 +21841,11 @@ var __vue_render__$1 = function __vue_render__() {
21841
21841
  "innerHTML": _vm._s(button.svgIcon)
21842
21842
  }
21843
21843
  })], 1);
21844
- }) : _vm._e(), _vm._ssrNode(" "), _vm.isOpen && _vm.filteredFiles && _vm.filteredFiles.length ? _vm._ssrNode("<span" + _vm._ssrAttr("title", _vm.filteredFiles.length + " anexos") + " class=\"email-clip-anchor cursor-pointer\">", "</span>", [_c('fa-icon', {
21844
+ }) : _vm._e(), _vm._ssrNode(" "), _vm.status !== 'C' ? _vm._ssrNode("<span title=\"Baixar e-mail em PDF\" class=\"email-pdf-download cursor-pointer\">", "</span>", [_c('fa-icon', {
21845
+ attrs: {
21846
+ "icon": ['fas', 'file-pdf']
21847
+ }
21848
+ })], 1) : _vm._e(), _vm._ssrNode(" "), _vm.isOpen && _vm.filteredFiles && _vm.filteredFiles.length ? _vm._ssrNode("<span" + _vm._ssrAttr("title", _vm.filteredFiles.length + " anexos") + " class=\"email-clip-anchor cursor-pointer\">", "</span>", [_c('fa-icon', {
21845
21849
  attrs: {
21846
21850
  "icon": ['fas', 'paperclip']
21847
21851
  }
@@ -21907,32 +21911,7 @@ var __vue_render__$1 = function __vue_render__() {
21907
21911
  "innerHTML": _vm._s(button.svgIcon)
21908
21912
  }
21909
21913
  }), _vm._ssrNode(" " + (button.label ? "<span class=\"email-custom-action-label\">" + _vm._ssrEscape(_vm._s(button.label)) + "</span>" : "<!---->"))], 2) : _vm._e()];
21910
- }), _vm._ssrNode(" "), _c('button', {
21911
- directives: [{
21912
- name: "tippy",
21913
- rawName: "v-tippy"
21914
- }],
21915
- staticClass: "email-pdf-download-btn",
21916
- class: {
21917
- 'generating': _vm.isGeneratingPdf
21918
- },
21919
- attrs: {
21920
- "disabled": _vm.isGeneratingPdf,
21921
- "content": "Baixar e-mail em PDF"
21922
- },
21923
- on: {
21924
- "click": function click($event) {
21925
- $event.stopPropagation();
21926
- return _vm.generatePdf.apply(null, arguments);
21927
- }
21928
- }
21929
- }, [_c('fa-icon', {
21930
- staticClass: "pdf-icon",
21931
- attrs: {
21932
- "icon": ['fas', _vm.isGeneratingPdf ? 'spinner' : 'file-pdf'],
21933
- "spin": _vm.isGeneratingPdf
21934
- }
21935
- }), _vm._ssrNode(" <span class=\"pdf-label\">" + _vm._ssrEscape(_vm._s(_vm.isGeneratingPdf ? 'Gerando...' : 'PDF')) + "</span>")], 2)], 2) : _vm._e(), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-header\">", "</div>", [_vm._ssrNode("<p" + _vm._ssrAttr("title", _vm.returnMainValue()) + " class=\"email-subject\">" + _vm._ssrEscape("\n " + _vm._s(_vm.returnMainValue()) + "\n ") + "</p> " + (_vm.status === 'C' ? "<div" + _vm._ssrClass("divBtnReplyEmail", [_vm.isOpen ? 'reply-email-open' : '']) + "><strong class=\"strongMsg\">" + _vm._ssrEscape(_vm._s(_vm.status_msg) + " ") + "</strong> " + (_vm.hasReplyEmail ? "<button class=\"btnReplyEmail\"><strong>Reenviar</strong></button>" : "<!---->") + "</div>" : "<!---->") + " "), _vm._ssrNode("<div class=\"header-container\">", "</div>", [_vm._ssrNode("<div" + _vm._ssrClass(null, "email-header-content" + (_vm.isOpen ? ' open' : '')) + ">", "</div>", [_vm._ssrNode("<div class=\"email-header-infos\">", "</div>", [[_vm.para && _vm.para.length ? _vm._ssrNode("<div class=\"email-to-from-container\">", "</div>", _vm._l(_vm.para, function (recipient, index) {
21914
+ })], 2) : _vm._e(), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-header\">", "</div>", [_vm._ssrNode("<p" + _vm._ssrAttr("title", _vm.returnMainValue()) + " class=\"email-subject\">" + _vm._ssrEscape("\n " + _vm._s(_vm.returnMainValue()) + "\n ") + "</p> " + (_vm.status === 'C' ? "<div" + _vm._ssrClass("divBtnReplyEmail", [_vm.isOpen ? 'reply-email-open' : '']) + "><strong class=\"strongMsg\">" + _vm._ssrEscape(_vm._s(_vm.status_msg) + " ") + "</strong> " + (_vm.hasReplyEmail ? "<button class=\"btnReplyEmail\"><strong>Reenviar</strong></button>" : "<!---->") + "</div>" : "<!---->") + " "), _vm._ssrNode("<div class=\"header-container\">", "</div>", [_vm._ssrNode("<div" + _vm._ssrClass(null, "email-header-content" + (_vm.isOpen ? ' open' : '')) + ">", "</div>", [_vm._ssrNode("<div class=\"email-header-infos\">", "</div>", [[_vm.para && _vm.para.length ? _vm._ssrNode("<div class=\"email-to-from-container\">", "</div>", _vm._l(_vm.para, function (recipient, index) {
21936
21915
  return _c('EmailTo', {
21937
21916
  key: "to-" + recipient.email,
21938
21917
  attrs: {
@@ -22179,7 +22158,7 @@ var __vue_inject_styles__$1 = undefined;
22179
22158
  /* scoped */
22180
22159
  var __vue_scope_id__$1 = undefined;
22181
22160
  /* module identifier */
22182
- var __vue_module_identifier__$1 = "data-v-1170c7ac";
22161
+ var __vue_module_identifier__$1 = "data-v-68b28dfa";
22183
22162
  /* functional template */
22184
22163
  var __vue_is_functional_template__$1 = false;
22185
22164
  /* style inject */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-intergrall-plugins",
3
- "version": "1.1.75",
3
+ "version": "1.1.77",
4
4
  "description": "",
5
5
  "main": "dist/vue-intergrall-plugins.ssr.js",
6
6
  "browser": "dist/vue-intergrall-plugins.esm.js",
@@ -20,6 +20,14 @@
20
20
  <span v-else v-html="button.svgIcon" :class="button.svgClass ? button.svgClass : ''"></span>
21
21
  </span>
22
22
  </template>
23
+ <span
24
+ v-if="status !== 'C'"
25
+ class="email-pdf-download cursor-pointer"
26
+ @click.stop="generatePdf"
27
+ title="Baixar e-mail em PDF"
28
+ >
29
+ <fa-icon :icon="['fas', 'file-pdf']" />
30
+ </span>
23
31
  <span
24
32
  v-if="isOpen && filteredFiles && filteredFiles.length"
25
33
  class="email-clip-anchor cursor-pointer"
@@ -92,21 +100,6 @@
92
100
  <span v-if="button.label" class="email-custom-action-label" v-text="button.label"></span>
93
101
  </button>
94
102
  </template>
95
- <button
96
- class="email-pdf-download-btn"
97
- :class="{ 'generating': isGeneratingPdf }"
98
- @click.stop="generatePdf"
99
- :disabled="isGeneratingPdf"
100
- v-tippy
101
- content="Baixar e-mail em PDF"
102
- >
103
- <fa-icon
104
- :icon="['fas', isGeneratingPdf ? 'spinner' : 'file-pdf']"
105
- :spin="isGeneratingPdf"
106
- class="pdf-icon"
107
- />
108
- <span class="pdf-label">{{ isGeneratingPdf ? 'Gerando...' : 'PDF' }}</span>
109
- </button>
110
103
  </div>
111
104
  <div class="email-header" @click.stop="toggleIsOpen">
112
105
  <p class="email-subject" :title="returnMainValue()">