vue-intergrall-plugins 1.0.75 → 1.0.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.
|
@@ -4483,8 +4483,8 @@ var __vue_staticRenderFns__$s = [];
|
|
|
4483
4483
|
/* style */
|
|
4484
4484
|
var __vue_inject_styles__$s = function __vue_inject_styles__(inject) {
|
|
4485
4485
|
if (!inject) return;
|
|
4486
|
-
inject("data-v-
|
|
4487
|
-
source: ".fade-enter-active,.fade-leave-active{transition:opacity .3s}.fade-enter,.fade-leave-to{opacity:0}.files-counter{position:absolute;top:unset;transform:translate(17.5px,-15px);background-color:#888;z-index:1;font-size:8px;width:15px;height:15px;border-radius:50%;display:flex;justify-content:center;align-items:center;cursor:pointer;opacity:.9;transition:all .3s;color:#fff;font-weight:900}.files-counter:hover{opacity:1}.files-counter-2{transform:translate(-15px,28px);opacity:.9;position:absolute;display:flex;justify-content:center;align-items:center;color:#888;font-size:12.8px}.files-counter-2 svg{margin-left:5px}.files-counter-2:hover{opacity:1;text-decoration:underline}",
|
|
4486
|
+
inject("data-v-2cecdfca_0", {
|
|
4487
|
+
source: ".fade-enter-active,.fade-leave-active{transition:opacity .3s}.fade-enter,.fade-leave-to{opacity:0}.d-none{display:none}.files-counter{position:absolute;top:unset;transform:translate(17.5px,-15px);background-color:#888;z-index:1;font-size:8px;width:15px;height:15px;border-radius:50%;display:flex;justify-content:center;align-items:center;cursor:pointer;opacity:.9;transition:all .3s;color:#fff;font-weight:900}.files-counter:hover{opacity:1}.files-counter-2{transform:translate(-15px,28px);opacity:.9;position:absolute;display:flex;justify-content:center;align-items:center;color:#888;font-size:12.8px}.files-counter-2 svg{margin-left:5px}.files-counter-2:hover{opacity:1;text-decoration:underline}",
|
|
4488
4488
|
map: undefined,
|
|
4489
4489
|
media: undefined
|
|
4490
4490
|
});
|
|
@@ -4492,7 +4492,7 @@ var __vue_inject_styles__$s = function __vue_inject_styles__(inject) {
|
|
|
4492
4492
|
/* scoped */
|
|
4493
4493
|
var __vue_scope_id__$s = undefined;
|
|
4494
4494
|
/* module identifier */
|
|
4495
|
-
var __vue_module_identifier__$s = "data-v-
|
|
4495
|
+
var __vue_module_identifier__$s = "data-v-2cecdfca";
|
|
4496
4496
|
/* functional template */
|
|
4497
4497
|
var __vue_is_functional_template__$s = false;
|
|
4498
4498
|
/* style inject shadow dom */
|
|
@@ -10471,7 +10471,7 @@ var EmailTo = __vue_component__$4;var script$1 = {
|
|
|
10471
10471
|
setTimeout(function () {
|
|
10472
10472
|
var doc = iframe.contentDocument || iframe.contentWindow.document;
|
|
10473
10473
|
var margin = 20;
|
|
10474
|
-
var value = doc.documentElement.offsetHeight
|
|
10474
|
+
var value = doc.documentElement.offsetHeight + margin;
|
|
10475
10475
|
if (value === 0 || doc.documentElement.querySelector('body').innerHTML === '') {
|
|
10476
10476
|
_this4.errorCount++;
|
|
10477
10477
|
if (_this4.errorCount > 3) {
|
|
@@ -10489,7 +10489,7 @@ var EmailTo = __vue_component__$4;var script$1 = {
|
|
|
10489
10489
|
}
|
|
10490
10490
|
iframe.style.height = "".concat(value, "px");
|
|
10491
10491
|
emailParent.style.minHeight = "".concat(value, "px");
|
|
10492
|
-
},
|
|
10492
|
+
}, 100);
|
|
10493
10493
|
}
|
|
10494
10494
|
if (_this4.isIframeLoading) _this4.isIframeLoading = false;
|
|
10495
10495
|
});
|
|
@@ -10605,19 +10605,19 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10605
10605
|
return _vm.openByItem($event);
|
|
10606
10606
|
}
|
|
10607
10607
|
}
|
|
10608
|
-
}, [_vm._ssrNode((_vm.showInfos ? "<div class=\"email-overlay\" data-v-
|
|
10608
|
+
}, [_vm._ssrNode((_vm.showInfos ? "<div class=\"email-overlay\" data-v-4778c0ea></div>" : "<!---->") + " "), _vm.autor ? _vm._ssrNode("<div" + _vm._ssrClass("email-author", [_vm.origem, _vm.isMainEmail ? 'main' : '']) + " data-v-4778c0ea>", "</div>", [_c('fa-icon', {
|
|
10609
10609
|
class: [_vm.origem],
|
|
10610
10610
|
attrs: {
|
|
10611
10611
|
"icon": ['fas', 'reply'],
|
|
10612
10612
|
"title": "Enviado por: " + _vm.autor
|
|
10613
10613
|
}
|
|
10614
|
-
}), _vm._ssrNode(" <p" + _vm._ssrAttr("title", _vm.returnAuthorName()) + " class=\"email-author-name\" data-v-
|
|
10614
|
+
}), _vm._ssrNode(" <p" + _vm._ssrAttr("title", _vm.returnAuthorName()) + " class=\"email-author-name\" data-v-4778c0ea>" + _vm._ssrEscape(_vm._s(_vm.returnAuthorName())) + "</p> "), _c('fa-icon', {
|
|
10615
10615
|
staticClass: "email-to-svg",
|
|
10616
10616
|
attrs: {
|
|
10617
10617
|
"icon": ['fas', _vm.origem === 'outros' ? 'user' : 'headset'],
|
|
10618
10618
|
"title": "E-mail " + (_vm.origem === 'outros' ? 'recebido' : 'enviado')
|
|
10619
10619
|
}
|
|
10620
|
-
})], 2) : _vm._e(), _vm._ssrNode(" "), _vm.customButtons && _vm.customButtons.length ? _vm._ssrNode("<div class=\"email-custom-buttons\" data-v-
|
|
10620
|
+
})], 2) : _vm._e(), _vm._ssrNode(" "), _vm.customButtons && _vm.customButtons.length ? _vm._ssrNode("<div class=\"email-custom-buttons\" data-v-4778c0ea>", "</div>", _vm._l(_vm.customButtons, function (button, index) {
|
|
10621
10621
|
return _c('span', {
|
|
10622
10622
|
directives: [{
|
|
10623
10623
|
name: "show",
|
|
@@ -10648,7 +10648,7 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10648
10648
|
"innerHTML": _vm._s(button.svgIcon)
|
|
10649
10649
|
}
|
|
10650
10650
|
})], 1);
|
|
10651
|
-
}), 0) : _vm._e(), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-header\" data-v-
|
|
10651
|
+
}), 0) : _vm._e(), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-header\" data-v-4778c0ea>", "</div>", [_vm._ssrNode("<p" + _vm._ssrAttr("title", _vm.returnMainValue()) + " class=\"email-subject\" data-v-4778c0ea>" + _vm._ssrEscape("\n " + _vm._s(_vm.returnMainValue()) + "\n ") + "</p> "), _vm._ssrNode("<div class=\"header-container\" data-v-4778c0ea>", "</div>", [_vm._ssrNode("<div" + _vm._ssrClass(null, "email-header-content" + (_vm.isOpen ? ' open' : '')) + " data-v-4778c0ea>", "</div>", [_vm._ssrNode("<div class=\"email-header-infos\" data-v-4778c0ea>", "</div>", [_vm.para && _vm.para.length ? [_vm._ssrNode("<div class=\"email-to-from-container\" data-v-4778c0ea>", "</div>", [_vm._l(_vm.paraCopia, function (recipient, index) {
|
|
10652
10652
|
return _c('EmailTo', {
|
|
10653
10653
|
key: "to-" + index,
|
|
10654
10654
|
attrs: {
|
|
@@ -10659,13 +10659,13 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10659
10659
|
});
|
|
10660
10660
|
}), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-to-btn\"" + _vm._ssrStyle(null, null, {
|
|
10661
10661
|
display: _vm.isOpen ? '' : 'none'
|
|
10662
|
-
}) + " data-v-
|
|
10662
|
+
}) + " data-v-4778c0ea>", "</div>", [_c('fa-icon', {
|
|
10663
10663
|
attrs: {
|
|
10664
10664
|
"icon": ['fas', 'caret-down']
|
|
10665
10665
|
}
|
|
10666
|
-
})], 1)], 2)] : _vm._e(), _vm._ssrNode(" " + (!_vm.isMainEmail && _vm.isOpen ? "<div class=\"email-subject-secondary\" data-v-
|
|
10666
|
+
})], 1)], 2)] : _vm._e(), _vm._ssrNode(" " + (!_vm.isMainEmail && _vm.isOpen ? "<div class=\"email-subject-secondary\" data-v-4778c0ea><span class=\"email-subject-span\" data-v-4778c0ea>" + _vm._ssrEscape(_vm._s("Assunto: " + (_vm.htmlEntityToEmoji(_vm.replaceUnicodeWithEmoji(_vm.assunto)) || '(Sem assunto)'))) + "</span></div>" : "<!---->"))], 2)]), _vm._ssrNode(" "), _vm._ssrNode("<span" + _vm._ssrAttr("title", _vm.formattedDate) + _vm._ssrClass(null, "email-date " + (_vm.isOpen ? _vm.isOpenClass : _vm.isClosedClass)) + _vm._ssrStyle(null, null, {
|
|
10667
10667
|
display: _vm.formattedDate ? '' : 'none'
|
|
10668
|
-
}) + " data-v-
|
|
10668
|
+
}) + " data-v-4778c0ea>", "</span>", [_c('fa-icon', {
|
|
10669
10669
|
attrs: {
|
|
10670
10670
|
"icon": ['fas', 'calendar']
|
|
10671
10671
|
}
|
|
@@ -10686,12 +10686,12 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10686
10686
|
}
|
|
10687
10687
|
}
|
|
10688
10688
|
}, [_vm._ssrNode(_vm._ssrList(_vm.mailInfos, function (info, index) {
|
|
10689
|
-
return "<li class=\"email-info\" data-v-
|
|
10689
|
+
return "<li class=\"email-info\" data-v-4778c0ea><span data-v-4778c0ea>" + _vm._ssrEscape(_vm._s(info.label)) + "</span>" + _vm._ssrEscape("\n " + _vm._s(info.value) + "\n ") + "</li>";
|
|
10690
10690
|
}))]) : _vm._e(), _vm._ssrNode(" " + (_vm.isOpen ? "<span" + _vm._ssrClass(null, ['email-actions box-shadow', {
|
|
10691
10691
|
active: _vm.actionsOpen
|
|
10692
10692
|
}, {
|
|
10693
10693
|
main: _vm.isMainEmail
|
|
10694
|
-
}]) + " data-v-
|
|
10694
|
+
}]) + " data-v-4778c0ea><span data-v-4778c0ea></span> <span data-v-4778c0ea></span> <span data-v-4778c0ea></span></span>" : "<!---->") + " "), _vm.actionsOpen && _vm.isOpen ? _c('ul', {
|
|
10695
10695
|
directives: [{
|
|
10696
10696
|
name: "clickaway",
|
|
10697
10697
|
rawName: "v-clickaway",
|
|
@@ -10704,7 +10704,7 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10704
10704
|
$event.stopPropagation();
|
|
10705
10705
|
}
|
|
10706
10706
|
}
|
|
10707
|
-
}, [_vm._ssrNode("<li class=\"email-action\" data-v-
|
|
10707
|
+
}, [_vm._ssrNode("<li class=\"email-action\" data-v-4778c0ea>" + _vm._ssrEscape("\n " + _vm._s(!_vm.openMessage ? 'Visualizar' : 'Esconder') + " texto do e-mail\n ") + "</li>")]) : _vm._e()], 2), _vm._ssrNode(" "), _c('transition', {
|
|
10708
10708
|
attrs: {
|
|
10709
10709
|
"name": "show-y-top"
|
|
10710
10710
|
}
|
|
@@ -10739,7 +10739,7 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10739
10739
|
staticClass: "email-raw"
|
|
10740
10740
|
}, [_vm._v(_vm._s(_vm.mensagem))]) : _vm._e()], 1)]), _vm._ssrNode(" "), _vm.filteredFiles && _vm.filteredFiles.length ? _vm._ssrNode("<div class=\"email-files\"" + _vm._ssrStyle(null, null, {
|
|
10741
10741
|
display: _vm.isOpen || _vm.isMainEmail ? '' : 'none'
|
|
10742
|
-
}) + " data-v-
|
|
10742
|
+
}) + " data-v-4778c0ea>", "</div>", _vm._l(_vm.filteredFiles, function (anexo, index) {
|
|
10743
10743
|
return _c('EmailFile', {
|
|
10744
10744
|
key: index,
|
|
10745
10745
|
attrs: {
|
|
@@ -10754,20 +10754,20 @@ var __vue_staticRenderFns__$1 = [];
|
|
|
10754
10754
|
/* style */
|
|
10755
10755
|
var __vue_inject_styles__$1 = function __vue_inject_styles__(inject) {
|
|
10756
10756
|
if (!inject) return;
|
|
10757
|
-
inject("data-v-
|
|
10758
|
-
source: ".show-y-top-enter-active[data-v-
|
|
10757
|
+
inject("data-v-4778c0ea_0", {
|
|
10758
|
+
source: ".show-y-top-enter-active[data-v-4778c0ea],.show-y-top-leave-enter[data-v-4778c0ea]{opacity:1;transform:translateY(0);transition:all .2s linear}.show-y-top-enter[data-v-4778c0ea],.show-y-top-leave-to[data-v-4778c0ea]{opacity:0;transform:translateY(-2%)}",
|
|
10759
10759
|
map: undefined,
|
|
10760
10760
|
media: undefined
|
|
10761
|
-
}), inject("data-v-
|
|
10761
|
+
}), inject("data-v-4778c0ea_1", {
|
|
10762
10762
|
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;opacity:.7;transition:opacity .1s ease-in-out}.menu-mensagem:active,.menu-mensagem:focus,.menu-mensagem:hover{opacity:1}.email-error-content{display:flex;justify-content:center;align-items:center;flex-direction:column;gap:5px;padding:10px}.email-error-content p{margin:0;color:#e74c3c}.email-error-content button{border:1px solid #ccc;border-radius:3px;padding:5px 10px;background-color:#fff;cursor:pointer;transition:background-color 150ms ease-in-out}.email-error-content button:hover{background-color:#eee}",
|
|
10763
10763
|
map: undefined,
|
|
10764
10764
|
media: undefined
|
|
10765
10765
|
});
|
|
10766
10766
|
};
|
|
10767
10767
|
/* scoped */
|
|
10768
|
-
var __vue_scope_id__$1 = "data-v-
|
|
10768
|
+
var __vue_scope_id__$1 = "data-v-4778c0ea";
|
|
10769
10769
|
/* module identifier */
|
|
10770
|
-
var __vue_module_identifier__$1 = "data-v-
|
|
10770
|
+
var __vue_module_identifier__$1 = "data-v-4778c0ea";
|
|
10771
10771
|
/* functional template */
|
|
10772
10772
|
var __vue_is_functional_template__$1 = false;
|
|
10773
10773
|
/* style inject shadow dom */
|
package/package.json
CHANGED
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
<fa-icon :icon="['fas', 'paperclip']" :title="dictionary.title_selecionar_anexo" />
|
|
11
11
|
<transition name="fade">
|
|
12
12
|
<span v-if="fileSize > 0" @click.stop="toggleFilePreview" v-tippy :content="!fileSettings.handleFilePreview
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
? dictionary.msg_abrir_anexos
|
|
14
|
+
: `${file.length} anexo(s) selecionado(s)`
|
|
15
15
|
" :class="`${fileSettings.filePreviewStyle == 2 ? 'files-counter-2' : 'files-counter'
|
|
16
16
|
}`">
|
|
17
17
|
<template v-if="fileSettings.filePreviewStyle == 1">
|
|
@@ -78,6 +78,10 @@
|
|
|
78
78
|
opacity: 0;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
+
.d-none {
|
|
82
|
+
display: none
|
|
83
|
+
}
|
|
84
|
+
|
|
81
85
|
.files-counter {
|
|
82
86
|
position: absolute;
|
|
83
87
|
top: unset;
|
|
@@ -362,7 +362,7 @@ export default {
|
|
|
362
362
|
setTimeout(() => {
|
|
363
363
|
const doc = iframe.contentDocument || iframe.contentWindow.document;
|
|
364
364
|
const margin = 20
|
|
365
|
-
const value = doc.documentElement.offsetHeight
|
|
365
|
+
const value = doc.documentElement.offsetHeight + margin
|
|
366
366
|
if (value === 0 || doc.documentElement.querySelector('body').innerHTML === '') {
|
|
367
367
|
this.errorCount++
|
|
368
368
|
if (this.errorCount > 3) {
|
|
@@ -380,7 +380,7 @@ export default {
|
|
|
380
380
|
}
|
|
381
381
|
iframe.style.height = `${value}px`;
|
|
382
382
|
emailParent.style.minHeight = `${value}px`
|
|
383
|
-
},
|
|
383
|
+
}, 100)
|
|
384
384
|
}
|
|
385
385
|
|
|
386
386
|
if (this.isIframeLoading) this.isIframeLoading = false
|