vue-intergrall-plugins 1.0.76 → 1.0.78
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 */
|
|
@@ -6828,7 +6828,7 @@ var __vue_component__$r = __vue_component__$q;var textoLongo = {
|
|
|
6828
6828
|
var tipoAnexo = regexAnexos.exec(type);
|
|
6829
6829
|
tipoAnexo = !tipoAnexo ? type : tipoAnexo[1];
|
|
6830
6830
|
if (type === "application/octet-stream") audio = true;
|
|
6831
|
-
switch (tipoAnexo
|
|
6831
|
+
switch (tipoAnexo) {
|
|
6832
6832
|
case "image":
|
|
6833
6833
|
case "image/jpg":
|
|
6834
6834
|
case "jpg":
|
|
@@ -6844,6 +6844,8 @@ var __vue_component__$r = __vue_component__$q;var textoLongo = {
|
|
|
6844
6844
|
nomeArquivo = name;
|
|
6845
6845
|
}
|
|
6846
6846
|
break;
|
|
6847
|
+
case "audio/mpeg":
|
|
6848
|
+
case "mpeg":
|
|
6847
6849
|
case "audio/ogg":
|
|
6848
6850
|
case "audio/oga":
|
|
6849
6851
|
case "audio":
|
|
@@ -6852,10 +6854,10 @@ var __vue_component__$r = __vue_component__$q;var textoLongo = {
|
|
|
6852
6854
|
case "mpga":
|
|
6853
6855
|
case "audio/mpga":
|
|
6854
6856
|
case "mp3":
|
|
6857
|
+
case "wav":
|
|
6858
|
+
case "audio/wav":
|
|
6855
6859
|
case "audio/mp3":
|
|
6856
6860
|
case "aac":
|
|
6857
|
-
case "audio/mpeg":
|
|
6858
|
-
case "mpeg":
|
|
6859
6861
|
if (type == "oga" || type == "audio/oga") {
|
|
6860
6862
|
tipoDoc = "audio/ogg";
|
|
6861
6863
|
} else {
|
|
@@ -10471,7 +10473,7 @@ var EmailTo = __vue_component__$4;var script$1 = {
|
|
|
10471
10473
|
setTimeout(function () {
|
|
10472
10474
|
var doc = iframe.contentDocument || iframe.contentWindow.document;
|
|
10473
10475
|
var margin = 20;
|
|
10474
|
-
var value = doc.documentElement.offsetHeight
|
|
10476
|
+
var value = doc.documentElement.offsetHeight + margin;
|
|
10475
10477
|
if (value === 0 || doc.documentElement.querySelector('body').innerHTML === '') {
|
|
10476
10478
|
_this4.errorCount++;
|
|
10477
10479
|
if (_this4.errorCount > 3) {
|
|
@@ -10605,19 +10607,19 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10605
10607
|
return _vm.openByItem($event);
|
|
10606
10608
|
}
|
|
10607
10609
|
}
|
|
10608
|
-
}, [_vm._ssrNode((_vm.showInfos ? "<div class=\"email-overlay\" data-v-
|
|
10610
|
+
}, [_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
10611
|
class: [_vm.origem],
|
|
10610
10612
|
attrs: {
|
|
10611
10613
|
"icon": ['fas', 'reply'],
|
|
10612
10614
|
"title": "Enviado por: " + _vm.autor
|
|
10613
10615
|
}
|
|
10614
|
-
}), _vm._ssrNode(" <p" + _vm._ssrAttr("title", _vm.returnAuthorName()) + " class=\"email-author-name\" data-v-
|
|
10616
|
+
}), _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
10617
|
staticClass: "email-to-svg",
|
|
10616
10618
|
attrs: {
|
|
10617
10619
|
"icon": ['fas', _vm.origem === 'outros' ? 'user' : 'headset'],
|
|
10618
10620
|
"title": "E-mail " + (_vm.origem === 'outros' ? 'recebido' : 'enviado')
|
|
10619
10621
|
}
|
|
10620
|
-
})], 2) : _vm._e(), _vm._ssrNode(" "), _vm.customButtons && _vm.customButtons.length ? _vm._ssrNode("<div class=\"email-custom-buttons\" data-v-
|
|
10622
|
+
})], 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
10623
|
return _c('span', {
|
|
10622
10624
|
directives: [{
|
|
10623
10625
|
name: "show",
|
|
@@ -10648,7 +10650,7 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10648
10650
|
"innerHTML": _vm._s(button.svgIcon)
|
|
10649
10651
|
}
|
|
10650
10652
|
})], 1);
|
|
10651
|
-
}), 0) : _vm._e(), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-header\" data-v-
|
|
10653
|
+
}), 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
10654
|
return _c('EmailTo', {
|
|
10653
10655
|
key: "to-" + index,
|
|
10654
10656
|
attrs: {
|
|
@@ -10659,13 +10661,13 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10659
10661
|
});
|
|
10660
10662
|
}), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-to-btn\"" + _vm._ssrStyle(null, null, {
|
|
10661
10663
|
display: _vm.isOpen ? '' : 'none'
|
|
10662
|
-
}) + " data-v-
|
|
10664
|
+
}) + " data-v-4778c0ea>", "</div>", [_c('fa-icon', {
|
|
10663
10665
|
attrs: {
|
|
10664
10666
|
"icon": ['fas', 'caret-down']
|
|
10665
10667
|
}
|
|
10666
|
-
})], 1)], 2)] : _vm._e(), _vm._ssrNode(" " + (!_vm.isMainEmail && _vm.isOpen ? "<div class=\"email-subject-secondary\" data-v-
|
|
10668
|
+
})], 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
10669
|
display: _vm.formattedDate ? '' : 'none'
|
|
10668
|
-
}) + " data-v-
|
|
10670
|
+
}) + " data-v-4778c0ea>", "</span>", [_c('fa-icon', {
|
|
10669
10671
|
attrs: {
|
|
10670
10672
|
"icon": ['fas', 'calendar']
|
|
10671
10673
|
}
|
|
@@ -10686,12 +10688,12 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10686
10688
|
}
|
|
10687
10689
|
}
|
|
10688
10690
|
}, [_vm._ssrNode(_vm._ssrList(_vm.mailInfos, function (info, index) {
|
|
10689
|
-
return "<li class=\"email-info\" data-v-
|
|
10691
|
+
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
10692
|
}))]) : _vm._e(), _vm._ssrNode(" " + (_vm.isOpen ? "<span" + _vm._ssrClass(null, ['email-actions box-shadow', {
|
|
10691
10693
|
active: _vm.actionsOpen
|
|
10692
10694
|
}, {
|
|
10693
10695
|
main: _vm.isMainEmail
|
|
10694
|
-
}]) + " data-v-
|
|
10696
|
+
}]) + " 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
10697
|
directives: [{
|
|
10696
10698
|
name: "clickaway",
|
|
10697
10699
|
rawName: "v-clickaway",
|
|
@@ -10704,7 +10706,7 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10704
10706
|
$event.stopPropagation();
|
|
10705
10707
|
}
|
|
10706
10708
|
}
|
|
10707
|
-
}, [_vm._ssrNode("<li class=\"email-action\" data-v-
|
|
10709
|
+
}, [_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
10710
|
attrs: {
|
|
10709
10711
|
"name": "show-y-top"
|
|
10710
10712
|
}
|
|
@@ -10739,7 +10741,7 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10739
10741
|
staticClass: "email-raw"
|
|
10740
10742
|
}, [_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
10743
|
display: _vm.isOpen || _vm.isMainEmail ? '' : 'none'
|
|
10742
|
-
}) + " data-v-
|
|
10744
|
+
}) + " data-v-4778c0ea>", "</div>", _vm._l(_vm.filteredFiles, function (anexo, index) {
|
|
10743
10745
|
return _c('EmailFile', {
|
|
10744
10746
|
key: index,
|
|
10745
10747
|
attrs: {
|
|
@@ -10754,20 +10756,20 @@ var __vue_staticRenderFns__$1 = [];
|
|
|
10754
10756
|
/* style */
|
|
10755
10757
|
var __vue_inject_styles__$1 = function __vue_inject_styles__(inject) {
|
|
10756
10758
|
if (!inject) return;
|
|
10757
|
-
inject("data-v-
|
|
10758
|
-
source: ".show-y-top-enter-active[data-v-
|
|
10759
|
+
inject("data-v-4778c0ea_0", {
|
|
10760
|
+
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
10761
|
map: undefined,
|
|
10760
10762
|
media: undefined
|
|
10761
|
-
}), inject("data-v-
|
|
10763
|
+
}), inject("data-v-4778c0ea_1", {
|
|
10762
10764
|
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
10765
|
map: undefined,
|
|
10764
10766
|
media: undefined
|
|
10765
10767
|
});
|
|
10766
10768
|
};
|
|
10767
10769
|
/* scoped */
|
|
10768
|
-
var __vue_scope_id__$1 = "data-v-
|
|
10770
|
+
var __vue_scope_id__$1 = "data-v-4778c0ea";
|
|
10769
10771
|
/* module identifier */
|
|
10770
|
-
var __vue_module_identifier__$1 = "data-v-
|
|
10772
|
+
var __vue_module_identifier__$1 = "data-v-4778c0ea";
|
|
10771
10773
|
/* functional template */
|
|
10772
10774
|
var __vue_is_functional_template__$1 = false;
|
|
10773
10775
|
/* 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) {
|