vue-intergrall-plugins 1.1.58 → 1.1.59

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.
@@ -11039,7 +11039,7 @@ var __vue_render__$1 = function __vue_render__() {
11039
11039
  attrs: {
11040
11040
  "icon": ['fas', _vm.origem === 'outros' ? 'user' : 'headset']
11041
11041
  }
11042
- })], 1)], 2) : _vm._e(), _vm._ssrNode(" "), _vm.customButtons && _vm.customButtons.length ? _vm._ssrNode("<div class=\"email-custom-buttons\">", "</div>", _vm._l(_vm.customButtons, function (button, index) {
11042
+ })], 1)], 2) : _vm._e(), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-custom-buttons\">", "</div>", [_vm.customButtons && _vm.customButtons.length ? _vm._l(_vm.customButtons, function (button, index) {
11043
11043
  return _c('span', {
11044
11044
  directives: [{
11045
11045
  name: "show",
@@ -11070,7 +11070,11 @@ var __vue_render__$1 = function __vue_render__() {
11070
11070
  "innerHTML": _vm._s(button.svgIcon)
11071
11071
  }
11072
11072
  })], 1);
11073
- }), 0) : _vm._e(), _vm._ssrNode(" "), _vm.customActionButtons && _vm.customActionButtons.length && _vm.customActionButtons[0].type === 'ja-spam' ? _vm._ssrNode("<div class=\"ja-marcado-spam\">", "</div>", [_vm._ssrNode("<span class=\"icon-tittle-ja-spam\">", "</span>", [_c('fa-icon', {
11073
+ }) : _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', {
11074
+ attrs: {
11075
+ "icon": ['fas', 'paperclip']
11076
+ }
11077
+ })], 1) : _vm._e()], 2), _vm._ssrNode(" "), _vm.customActionButtons && _vm.customActionButtons.length && _vm.customActionButtons[0].type === 'ja-spam' ? _vm._ssrNode("<div class=\"ja-marcado-spam\">", "</div>", [_vm._ssrNode("<span class=\"icon-tittle-ja-spam\">", "</span>", [_c('fa-icon', {
11074
11078
  staticStyle: {
11075
11079
  "color": "#FF0000",
11076
11080
  "margin-right": "8px",
@@ -11341,7 +11345,7 @@ var __vue_inject_styles__$1 = undefined;
11341
11345
  /* scoped */
11342
11346
  var __vue_scope_id__$1 = undefined;
11343
11347
  /* module identifier */
11344
- var __vue_module_identifier__$1 = "data-v-3d44a3d6";
11348
+ var __vue_module_identifier__$1 = "data-v-e42c4b54";
11345
11349
  /* functional template */
11346
11350
  var __vue_is_functional_template__$1 = false;
11347
11351
  /* style inject */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-intergrall-plugins",
3
- "version": "1.1.58",
3
+ "version": "1.1.59",
4
4
  "description": "",
5
5
  "main": "dist/vue-intergrall-plugins.ssr.js",
6
6
  "browser": "dist/vue-intergrall-plugins.esm.js",
@@ -11,12 +11,22 @@
11
11
  <fa-icon :icon="['fas', origem === 'outros' ? 'user' : 'headset']" class="email-to-svg" />
12
12
  </span>
13
13
  </div>
14
- <div class="email-custom-buttons" v-if="customButtons && customButtons.length" @click.stop>
15
- <span v-for="(button, index) in customButtons" :key="button.id || index" v-show="button.use"
16
- @click="button.callback ? button.callback(returnParams(button.params)) : $emit(button.emitName, returnParams(button.params))" :class="`${button.customClass || 'menu-mensagem'}`"
17
- v-tippy :content="button.tippyContent">
18
- <fa-icon :icon="['fas', button.icon || 'question-circle']" v-if="!button.svgIcon" />
19
- <span v-else v-html="button.svgIcon" :class="button.svgClass ? button.svgClass : ''"></span>
14
+ <div class="email-custom-buttons" @click.stop>
15
+ <template v-if="customButtons && customButtons.length">
16
+ <span v-for="(button, index) in customButtons" :key="button.id || index" v-show="button.use"
17
+ @click="button.callback ? button.callback(returnParams(button.params)) : $emit(button.emitName, returnParams(button.params))" :class="`${button.customClass || 'menu-mensagem'}`"
18
+ v-tippy :content="button.tippyContent">
19
+ <fa-icon :icon="['fas', button.icon || 'question-circle']" v-if="!button.svgIcon" />
20
+ <span v-else v-html="button.svgIcon" :class="button.svgClass ? button.svgClass : ''"></span>
21
+ </span>
22
+ </template>
23
+ <span
24
+ v-if="isOpen && filteredFiles && filteredFiles.length"
25
+ class="email-clip-anchor cursor-pointer"
26
+ @click.stop="scrollToAttachments"
27
+ :title="`${filteredFiles.length} anexos`"
28
+ >
29
+ <fa-icon :icon="['fas', 'paperclip']" />
20
30
  </span>
21
31
  </div>
22
32
  <div
@@ -97,7 +107,7 @@
97
107
  ><strong>Reenviar</strong>
98
108
  </button>
99
109
  </div>
100
- <div class="header-container">
110
+ <div class="header-container">
101
111
  <div :class="`email-header-content${isOpen ? ' open' : ''}`">
102
112
  <div class="email-header-infos">
103
113
  <template>