vue-intergrall-plugins 1.1.57 → 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.
@@ -3342,8 +3342,8 @@ var __vue_staticRenderFns__$z = [];
3342
3342
  /* style */
3343
3343
  var __vue_inject_styles__$z = function __vue_inject_styles__(inject) {
3344
3344
  if (!inject) return;
3345
- inject("data-v-fc691414_0", {
3346
- source: ".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)}.sm-emoji-picker{width:306px;height:250px;z-index:2;border:1px solid #ccc;border-radius:5px;background-color:#fff;display:flex;flex-direction:column}.sm-emoji-picker.small{height:40px!important}.sm-emoji-picker.small .sm-emoji-scroll{height:100%;max-height:100%}.sm-emoji-picker.small .sm-emoji-scroll .sm-emoji-group.small{justify-content:center;align-items:center;flex-wrap:nowrap}.add-more{--size:26px;background:#f0f0f0;border:1px solid #ccc;border-radius:50%;width:var(--size);min-width:var(--size);height:var(--size);min-height:var(--size);display:flex;justify-content:center;align-items:center;font-size:16px;font-weight:700}.sm-emoji-header{width:100%;display:flex;align-items:center;justify-content:space-between;margin:10px 0;border-bottom:1px solid #ccc}.sm-emoji-link{padding:0 5px 5px 5px;display:flex;justify-content:center;align-items:center;cursor:pointer;opacity:.9;transition:all .2s;border-bottom:2px solid transparent}.sm-emoji-link>span svg{margin:0;padding:0;fill:#999}.sm-emoji-header .sm-emoji-link:nth-last-child(-n+2)>span svg,.sm-emoji-link>span svg[stroke]{fill:none!important}.sm-emoji-link.active>span svg:not([stroke]),.sm-emoji-link:hover>span svg:not([stroke]){opacity:1;fill:#666}.sm-emoji-link.active>span svg[stroke],.sm-emoji-link:hover>span svg[stroke]{opacity:1;fill:none!important;stroke:#666}.sm-emoji-scroll{width:100%;height:calc(100% - 52px);max-height:calc(100% - 52px);scroll-behavior:smooth;overflow-y:auto;overflow-x:hidden;scrollbar-color:#888 rgba(0,0,0,.2);scrollbar-width:8px;position:relative}.sm-emoji-scroll::-webkit-scrollbar{width:8px}.sm-emoji-scroll::-webkit-scrollbar-track{background-color:rgba(0,0,0,.2)}.sm-emoji-scroll::-webkit-scrollbar-thumb{transition-duration:.5s;background-color:#666}.sm-emoji-scroll::-webkit-scrollbar-thumb:hover{background-color:#555}.sm-emoji-search{width:100%;display:flex;align-items:center;justify-content:center;position:sticky;top:0;z-index:1;background:#fff;padding-bottom:10px}.sm-emoji-search>input{width:90%;outline:0;border:1px solid #ccc;border-radius:2.5px;padding:5px 10px;transition:border .2s}.sm-emoji-search>input:active,.sm-emoji-search>input:focus,.sm-emoji-search>input:hover{outline:0;border:1px solid #999}.sm-emoji-search.sticky{position:fixed;width:310px;background-color:#fff}.sm-emoji-selection{width:100%;margin-bottom:10px}.sm-emoji-title{width:100%;display:flex;justify-content:flex-start;align-items:center;background-color:#f7f7f7;padding:5px 0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.sm-emoji-title svg{margin:0 5px}.sm-emoji-group{width:100%;display:flex;flex-wrap:wrap;font-size:22px}.sm-emoji-item{cursor:pointer;opacity:.8;transition:opacity .2s;margin:3.5px}.sm-emoji-item:hover{opacity:1}",
3345
+ inject("data-v-233fe0bc_0", {
3346
+ source: ".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)}.sm-emoji-picker{width:306px;height:250px;z-index:2;border:1px solid #ccc;border-radius:5px;background-color:#fff;display:flex;flex-direction:column}.sm-emoji-picker.small{height:40px!important}.sm-emoji-picker.small .sm-emoji-scroll{height:100%;max-height:100%;overflow:hidden}.sm-emoji-picker.small .sm-emoji-scroll .sm-emoji-group.small{justify-content:center;align-items:center;flex-wrap:nowrap}.add-more{--size:26px;background:#f0f0f0;border:1px solid #ccc;border-radius:50%;width:var(--size);min-width:var(--size);height:var(--size);min-height:var(--size);display:flex;justify-content:center;align-items:center;font-size:16px;font-weight:700}.sm-emoji-header{width:100%;display:flex;align-items:center;justify-content:space-between;margin:10px 0;border-bottom:1px solid #ccc}.sm-emoji-link{padding:0 5px 5px 5px;display:flex;justify-content:center;align-items:center;cursor:pointer;opacity:.9;transition:all .2s;border-bottom:2px solid transparent}.sm-emoji-link>span svg{margin:0;padding:0;fill:#999}.sm-emoji-header .sm-emoji-link:nth-last-child(-n+2)>span svg,.sm-emoji-link>span svg[stroke]{fill:none!important}.sm-emoji-link.active>span svg:not([stroke]),.sm-emoji-link:hover>span svg:not([stroke]){opacity:1;fill:#666}.sm-emoji-link.active>span svg[stroke],.sm-emoji-link:hover>span svg[stroke]{opacity:1;fill:none!important;stroke:#666}.sm-emoji-scroll{width:100%;height:calc(100% - 52px);max-height:calc(100% - 52px);scroll-behavior:smooth;overflow-y:auto;overflow-x:hidden;scrollbar-color:#888 rgba(0,0,0,.2);scrollbar-width:8px;position:relative}.sm-emoji-scroll::-webkit-scrollbar{width:8px}.sm-emoji-scroll::-webkit-scrollbar-track{background-color:rgba(0,0,0,.2)}.sm-emoji-scroll::-webkit-scrollbar-thumb{transition-duration:.5s;background-color:#666}.sm-emoji-scroll::-webkit-scrollbar-thumb:hover{background-color:#555}.sm-emoji-search{width:100%;display:flex;align-items:center;justify-content:center;position:sticky;top:0;z-index:1;background:#fff;padding-bottom:10px}.sm-emoji-search>input{width:90%;outline:0;border:1px solid #ccc;border-radius:2.5px;padding:5px 10px;transition:border .2s}.sm-emoji-search>input:active,.sm-emoji-search>input:focus,.sm-emoji-search>input:hover{outline:0;border:1px solid #999}.sm-emoji-search.sticky{position:fixed;width:310px;background-color:#fff}.sm-emoji-selection{width:100%;margin-bottom:10px}.sm-emoji-title{width:100%;display:flex;justify-content:flex-start;align-items:center;background-color:#f7f7f7;padding:5px 0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.sm-emoji-title svg{margin:0 5px}.sm-emoji-group{width:100%;display:flex;flex-wrap:wrap;font-size:22px}.sm-emoji-item{cursor:pointer;opacity:.8;transition:opacity .2s;margin:3.5px}.sm-emoji-item:hover{opacity:1}",
3347
3347
  map: undefined,
3348
3348
  media: undefined
3349
3349
  });
@@ -3351,7 +3351,7 @@ var __vue_inject_styles__$z = function __vue_inject_styles__(inject) {
3351
3351
  /* scoped */
3352
3352
  var __vue_scope_id__$z = undefined;
3353
3353
  /* module identifier */
3354
- var __vue_module_identifier__$z = "data-v-fc691414";
3354
+ var __vue_module_identifier__$z = "data-v-233fe0bc";
3355
3355
  /* functional template */
3356
3356
  var __vue_is_functional_template__$z = false;
3357
3357
  /* style inject shadow dom */
@@ -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.57",
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",
@@ -360,6 +360,7 @@ export default {
360
360
  .sm-emoji-picker.small .sm-emoji-scroll {
361
361
  height: 100%;
362
362
  max-height: 100%;
363
+ overflow: hidden;
363
364
  }
364
365
  .sm-emoji-picker.small .sm-emoji-scroll .sm-emoji-group.small {
365
366
  justify-content: center;
@@ -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>