vue-intergrall-plugins 1.1.3 → 1.1.4
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.
|
@@ -10689,19 +10689,19 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10689
10689
|
return _vm.openByItem($event);
|
|
10690
10690
|
}
|
|
10691
10691
|
}
|
|
10692
|
-
}, [_vm._ssrNode((_vm.showInfos ? "<div class=\"email-overlay\" data-v-
|
|
10692
|
+
}, [_vm._ssrNode((_vm.showInfos ? "<div class=\"email-overlay\" data-v-4b5fd59f></div>" : "<!---->") + " "), _vm.autor ? _vm._ssrNode("<div" + _vm._ssrClass("email-author", [_vm.origem, _vm.isMainEmail ? 'main' : '']) + " data-v-4b5fd59f>", "</div>", [_c('fa-icon', {
|
|
10693
10693
|
class: [_vm.origem],
|
|
10694
10694
|
attrs: {
|
|
10695
10695
|
"icon": ['fas', 'reply'],
|
|
10696
10696
|
"title": "Enviado por: " + _vm.autor
|
|
10697
10697
|
}
|
|
10698
|
-
}), _vm._ssrNode(" <p" + _vm._ssrAttr("title", _vm.returnAuthorName) + " class=\"email-author-name\" data-v-
|
|
10698
|
+
}), _vm._ssrNode(" <p" + _vm._ssrAttr("title", _vm.returnAuthorName) + " class=\"email-author-name\" data-v-4b5fd59f>" + _vm._ssrEscape(_vm._s(_vm.returnAuthorName)) + "</p> "), _c('fa-icon', {
|
|
10699
10699
|
staticClass: "email-to-svg",
|
|
10700
10700
|
attrs: {
|
|
10701
10701
|
"icon": ['fas', _vm.origem === 'outros' ? 'user' : 'headset'],
|
|
10702
10702
|
"title": "E-mail " + (_vm.origem === 'outros' ? 'recebido' : 'enviado')
|
|
10703
10703
|
}
|
|
10704
|
-
})], 2) : _vm._e(), _vm._ssrNode(" "), _vm.customButtons && _vm.customButtons.length ? _vm._ssrNode("<div class=\"email-custom-buttons\" data-v-
|
|
10704
|
+
})], 2) : _vm._e(), _vm._ssrNode(" "), _vm.customButtons && _vm.customButtons.length ? _vm._ssrNode("<div class=\"email-custom-buttons\" data-v-4b5fd59f>", "</div>", _vm._l(_vm.customButtons, function (button, index) {
|
|
10705
10705
|
return _c('span', {
|
|
10706
10706
|
directives: [{
|
|
10707
10707
|
name: "show",
|
|
@@ -10732,7 +10732,7 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10732
10732
|
"innerHTML": _vm._s(button.svgIcon)
|
|
10733
10733
|
}
|
|
10734
10734
|
})], 1);
|
|
10735
|
-
}), 0) : _vm._e(), _vm._ssrNode(" "), _vm.customActionButtons && _vm.customActionButtons.length ? _vm._ssrNode("<div class=\"email-custom-action-buttons\" data-v-
|
|
10735
|
+
}), 0) : _vm._e(), _vm._ssrNode(" "), _vm.customActionButtons && _vm.customActionButtons.length ? _vm._ssrNode("<div class=\"email-custom-action-buttons\" data-v-4b5fd59f>", "</div>", _vm._l(_vm.customActionButtons, function (button, index) {
|
|
10736
10736
|
return _c('button', {
|
|
10737
10737
|
directives: [{
|
|
10738
10738
|
name: "show",
|
|
@@ -10762,8 +10762,8 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10762
10762
|
domProps: {
|
|
10763
10763
|
"innerHTML": _vm._s(button.svgIcon)
|
|
10764
10764
|
}
|
|
10765
|
-
}), _vm._ssrNode(" " + (button.label ? "<span class=\"email-custom-action-label\" data-v-
|
|
10766
|
-
}), 0) : _vm._e(), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-header\" data-v-
|
|
10765
|
+
}), _vm._ssrNode(" " + (button.label ? "<span class=\"email-custom-action-label\" data-v-4b5fd59f>" + _vm._ssrEscape(_vm._s(button.label)) + "</span>" : "<!---->"))], 2);
|
|
10766
|
+
}), 0) : _vm._e(), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-header\" data-v-4b5fd59f>", "</div>", [_vm._ssrNode("<p" + _vm._ssrAttr("title", _vm.returnMainValue()) + " class=\"email-subject\" data-v-4b5fd59f>" + _vm._ssrEscape("\n " + _vm._s(_vm.returnMainValue()) + "\n ") + "</p> "), _vm._ssrNode("<div class=\"header-container\" data-v-4b5fd59f>", "</div>", [_vm._ssrNode("<div" + _vm._ssrClass(null, "email-header-content" + (_vm.isOpen ? ' open' : '')) + " data-v-4b5fd59f>", "</div>", [_vm._ssrNode("<div class=\"email-header-infos\" data-v-4b5fd59f>", "</div>", [_vm.para && _vm.para.length ? [_vm._ssrNode("<div class=\"email-to-from-container\" data-v-4b5fd59f>", "</div>", [_vm._l(_vm.paraCopia, function (recipient, index) {
|
|
10767
10767
|
return _c('EmailTo', {
|
|
10768
10768
|
key: "to-" + index,
|
|
10769
10769
|
attrs: {
|
|
@@ -10774,13 +10774,13 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10774
10774
|
});
|
|
10775
10775
|
}), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-to-btn\"" + _vm._ssrStyle(null, null, {
|
|
10776
10776
|
display: _vm.isOpen ? '' : 'none'
|
|
10777
|
-
}) + " data-v-
|
|
10777
|
+
}) + " data-v-4b5fd59f>", "</div>", [_c('fa-icon', {
|
|
10778
10778
|
attrs: {
|
|
10779
10779
|
"icon": ['fas', 'caret-down']
|
|
10780
10780
|
}
|
|
10781
|
-
})], 1)], 2)] : _vm._e(), _vm._ssrNode(" " + (!_vm.isMainEmail && _vm.isOpen ? "<div class=\"email-subject-secondary\" data-v-
|
|
10781
|
+
})], 1)], 2)] : _vm._e(), _vm._ssrNode(" " + (!_vm.isMainEmail && _vm.isOpen ? "<div class=\"email-subject-secondary\" data-v-4b5fd59f><span class=\"email-subject-span\" data-v-4b5fd59f>" + _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, {
|
|
10782
10782
|
display: _vm.formattedDate ? '' : 'none'
|
|
10783
|
-
}) + " data-v-
|
|
10783
|
+
}) + " data-v-4b5fd59f>", "</span>", [_c('fa-icon', {
|
|
10784
10784
|
attrs: {
|
|
10785
10785
|
"icon": ['fas', 'calendar']
|
|
10786
10786
|
}
|
|
@@ -10801,12 +10801,12 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10801
10801
|
}
|
|
10802
10802
|
}
|
|
10803
10803
|
}, [_vm._ssrNode(_vm._ssrList(_vm.mailInfos, function (info, index) {
|
|
10804
|
-
return "<li class=\"email-info\" data-v-
|
|
10804
|
+
return "<li class=\"email-info\" data-v-4b5fd59f><span data-v-4b5fd59f>" + _vm._ssrEscape(_vm._s(info.label)) + "</span>" + _vm._ssrEscape("\n " + _vm._s(info.value) + "\n ") + "</li>";
|
|
10805
10805
|
}))]) : _vm._e(), _vm._ssrNode(" " + (_vm.isOpen ? "<span" + _vm._ssrClass(null, ['email-actions box-shadow', {
|
|
10806
10806
|
active: _vm.actionsOpen
|
|
10807
10807
|
}, {
|
|
10808
10808
|
main: _vm.isMainEmail
|
|
10809
|
-
}]) + " data-v-
|
|
10809
|
+
}]) + " data-v-4b5fd59f><span data-v-4b5fd59f></span> <span data-v-4b5fd59f></span> <span data-v-4b5fd59f></span></span>" : "<!---->") + " "), _vm.actionsOpen && _vm.isOpen ? _c('ul', {
|
|
10810
10810
|
directives: [{
|
|
10811
10811
|
name: "clickaway",
|
|
10812
10812
|
rawName: "v-clickaway",
|
|
@@ -10819,42 +10819,13 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10819
10819
|
$event.stopPropagation();
|
|
10820
10820
|
}
|
|
10821
10821
|
}
|
|
10822
|
-
}, [_vm._ssrNode("<li class=\"email-action\" data-v-
|
|
10823
|
-
|
|
10824
|
-
|
|
10825
|
-
|
|
10826
|
-
},
|
|
10827
|
-
directives: [{
|
|
10828
|
-
name: "show",
|
|
10829
|
-
rawName: "v-show",
|
|
10830
|
-
value: _vm.isOpen,
|
|
10831
|
-
expression: "isOpen"
|
|
10832
|
-
}],
|
|
10833
|
-
ref: "emailIframeParent",
|
|
10834
|
-
staticClass: "email-content"
|
|
10835
|
-
}, [_vm.isIframeLoading ? _c('VueLoader') : _vm._e(), _vm._v(" "), _vm.hasError ? _c('div', {
|
|
10836
|
-
staticClass: "email-error-content"
|
|
10837
|
-
}, [_c('p', [_vm._v("Erro ao carregar o e-mail")]), _vm._v(" "), _c('button', {
|
|
10838
|
-
staticClass: "box-shadow",
|
|
10839
|
-
on: {
|
|
10840
|
-
"click": function click($event) {
|
|
10841
|
-
return _vm.handleTryAgain();
|
|
10842
|
-
}
|
|
10843
|
-
}
|
|
10844
|
-
}, [_vm._v("Tentar novamente")])]) : _vm._e(), _vm._v(" "), _c('iframe', {
|
|
10845
|
-
directives: [{
|
|
10846
|
-
name: "show",
|
|
10847
|
-
rawName: "v-show",
|
|
10848
|
-
value: !_vm.hasError,
|
|
10849
|
-
expression: "!hasError"
|
|
10850
|
-
}],
|
|
10851
|
-
ref: "emailIframe",
|
|
10852
|
-
class: "email-html " + (_vm.isIframeLoading ? 'visibility-hidden' : '')
|
|
10853
|
-
}), _vm._v(" "), _vm.openMessage ? _c('span', {
|
|
10854
|
-
staticClass: "email-raw"
|
|
10855
|
-
}, [_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, {
|
|
10822
|
+
}, [_vm._ssrNode("<li class=\"email-action\" data-v-4b5fd59f>" + _vm._ssrEscape("\n " + _vm._s(!_vm.openMessage ? 'Visualizar' : 'Esconder') + " texto do e-mail\n ") + "</li>")]) : _vm._e()], 2), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-content\"" + _vm._ssrStyle(null, null, {
|
|
10823
|
+
display: _vm.isOpen ? '' : 'none'
|
|
10824
|
+
}) + " data-v-4b5fd59f>", "</div>", [_vm.isIframeLoading ? _c('VueLoader') : _vm._e(), _vm._ssrNode(" " + (_vm.hasError ? "<div class=\"email-error-content\" data-v-4b5fd59f><p data-v-4b5fd59f>Erro ao carregar o e-mail</p> <button class=\"box-shadow\" data-v-4b5fd59f>Tentar novamente</button></div>" : "<!---->") + " <iframe" + _vm._ssrClass(null, "email-html " + (_vm.isIframeLoading ? 'visibility-hidden' : '')) + _vm._ssrStyle(null, null, {
|
|
10825
|
+
display: !_vm.hasError ? '' : 'none'
|
|
10826
|
+
}) + " data-v-4b5fd59f></iframe> " + (_vm.openMessage ? "<span class=\"email-raw\" data-v-4b5fd59f>" + _vm._ssrEscape(_vm._s(_vm.mensagem)) + "</span>" : "<!---->"))], 2), _vm._ssrNode(" "), _vm.filteredFiles && _vm.filteredFiles.length ? _vm._ssrNode("<div class=\"email-files\"" + _vm._ssrStyle(null, null, {
|
|
10856
10827
|
display: _vm.isOpen || _vm.isMainEmail ? '' : 'none'
|
|
10857
|
-
}) + " data-v-
|
|
10828
|
+
}) + " data-v-4b5fd59f>", "</div>", _vm._l(_vm.filteredFiles, function (anexo, index) {
|
|
10858
10829
|
return _c('EmailFile', {
|
|
10859
10830
|
key: index,
|
|
10860
10831
|
attrs: {
|
|
@@ -10869,20 +10840,20 @@ var __vue_staticRenderFns__$1 = [];
|
|
|
10869
10840
|
/* style */
|
|
10870
10841
|
var __vue_inject_styles__$1 = function __vue_inject_styles__(inject) {
|
|
10871
10842
|
if (!inject) return;
|
|
10872
|
-
inject("data-v-
|
|
10873
|
-
source: ".show-y-top-enter-active[data-v-
|
|
10843
|
+
inject("data-v-4b5fd59f_0", {
|
|
10844
|
+
source: ".show-y-top-enter-active[data-v-4b5fd59f],.show-y-top-leave-enter[data-v-4b5fd59f]{opacity:1;transform:translateY(0);transition:all .2s linear}.show-y-top-enter[data-v-4b5fd59f],.show-y-top-leave-to[data-v-4b5fd59f]{opacity:0;transform:translateY(-2%)}",
|
|
10874
10845
|
map: undefined,
|
|
10875
10846
|
media: undefined
|
|
10876
|
-
}), inject("data-v-
|
|
10847
|
+
}), inject("data-v-4b5fd59f_1", {
|
|
10877
10848
|
source: ".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{--konecta-gray-3:#515050;--konecta-light:#f8f9fa;--blue-silver-4:#dae0e5;--email-principal:#faa732;--email-outros:#86b7fe;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-custom-action-buttons{display:flex;gap:7px;align-items:center;flex-wrap:wrap;max-width:100%;cursor:default}.email-custom-action-button{margin-top:10px;background-color:var(--konecta-light)!important;color:var(--konecta-dark)!important;border:1px solid var(--blue-silver-4)!important;flex:1;min-width:100px;display:flex;align-items:center;justify-content:center;gap:5px;padding:5px;overflow:hidden;border-radius:5px;text-overflow:ellipsis;white-space:nowrap;transition:all .1s ease-in-out;max-width:100%;cursor:pointer}.email-custom-action-button:hover{background-color:#e9ecef!important}.email-custom-action-button:disabled{background-color:var(--konecta-gray-3)!important;border:1px solid #25282b!important;cursor:not-allowed!important}.email-item.outros{border-left:3px solid var(--email-outros)}.email-author-name{margin:0 5px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.email-author.outros{color:var(--email-outros)}.email-author.outros>svg:nth-child(1){transform:rotate(180deg)}.email-author.principal{color:var(--email-principal)}.email-author.main{font-size:16.4px}.email-item.principal{border-left:3px solid var(--email-principal)}.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:16.4px;cursor:pointer}.email-date{--width:245px;font-size:12.8px;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:14.4px;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:14.4px;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:14.4px;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:12.8px}.email-info>span{font-size:12px;color:gray;margin-right:3px}.email-author{display:flex;align-items:center;height:5px;font-size:12px;font-weight:700;transform:translateY(-2px);width:100%;cursor:pointer}.email-subject-secondary{margin-top:-5px}.email-subject-span{font-size:11.2px;color:gray}.email-to-svg{font-size:13.6px}.email-custom-buttons{display:flex;gap:7px;position:absolute;top:5px;right:5px;z-index:1;font-size:12.8px}.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}",
|
|
10878
10849
|
map: undefined,
|
|
10879
10850
|
media: undefined
|
|
10880
10851
|
});
|
|
10881
10852
|
};
|
|
10882
10853
|
/* scoped */
|
|
10883
|
-
var __vue_scope_id__$1 = "data-v-
|
|
10854
|
+
var __vue_scope_id__$1 = "data-v-4b5fd59f";
|
|
10884
10855
|
/* module identifier */
|
|
10885
|
-
var __vue_module_identifier__$1 = "data-v-
|
|
10856
|
+
var __vue_module_identifier__$1 = "data-v-4b5fd59f";
|
|
10886
10857
|
/* functional template */
|
|
10887
10858
|
var __vue_is_functional_template__$1 = false;
|
|
10888
10859
|
/* style inject shadow dom */
|
package/package.json
CHANGED
|
@@ -75,18 +75,16 @@
|
|
|
75
75
|
</li>
|
|
76
76
|
</ul>
|
|
77
77
|
</div>
|
|
78
|
-
<
|
|
79
|
-
<
|
|
80
|
-
|
|
81
|
-
<
|
|
82
|
-
|
|
83
|
-
<button class="box-shadow" @click="handleTryAgain()">Tentar novamente</button>
|
|
84
|
-
</div>
|
|
85
|
-
<iframe v-show="!hasError" ref="emailIframe"
|
|
86
|
-
:class="`email-html ${isIframeLoading ? 'visibility-hidden' : ''}`"></iframe>
|
|
87
|
-
<span class="email-raw" v-if="openMessage">{{ mensagem }}</span>
|
|
78
|
+
<div class="email-content" v-show="isOpen" ref="emailIframeParent">
|
|
79
|
+
<VueLoader v-if="isIframeLoading" />
|
|
80
|
+
<div v-if="hasError" class="email-error-content">
|
|
81
|
+
<p>Erro ao carregar o e-mail</p>
|
|
82
|
+
<button class="box-shadow" @click="handleTryAgain()">Tentar novamente</button>
|
|
88
83
|
</div>
|
|
89
|
-
|
|
84
|
+
<iframe v-show="!hasError" ref="emailIframe"
|
|
85
|
+
:class="`email-html ${isIframeLoading ? 'visibility-hidden' : ''}`"></iframe>
|
|
86
|
+
<span class="email-raw" v-if="openMessage">{{ mensagem }}</span>
|
|
87
|
+
</div>
|
|
90
88
|
<div v-if="filteredFiles && filteredFiles.length" class="email-files" v-show="isOpen || isMainEmail">
|
|
91
89
|
<EmailFile v-for="(anexo, index) in filteredFiles" :key="index" :anexo="anexo" :dominio="dominio" />
|
|
92
90
|
</div>
|