vue-intergrall-plugins 1.1.12 → 1.1.13
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.
|
@@ -10664,6 +10664,10 @@ var EmailTo = __vue_component__$4;var script$1 = {
|
|
|
10664
10664
|
status: {
|
|
10665
10665
|
type: String,
|
|
10666
10666
|
default: ''
|
|
10667
|
+
},
|
|
10668
|
+
status_msg: {
|
|
10669
|
+
type: String,
|
|
10670
|
+
default: ''
|
|
10667
10671
|
}
|
|
10668
10672
|
},
|
|
10669
10673
|
data: function data() {
|
|
@@ -10984,17 +10988,17 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10984
10988
|
return _vm.openByItem($event);
|
|
10985
10989
|
}
|
|
10986
10990
|
}
|
|
10987
|
-
}, [_vm._ssrNode((_vm.showInfos ? "<div class=\"email-overlay\" data-v-
|
|
10991
|
+
}, [_vm._ssrNode((_vm.showInfos ? "<div class=\"email-overlay\" data-v-5f90a75e></div>" : "<!---->") + " "), _vm.autor ? _vm._ssrNode("<div" + _vm._ssrClass("email-author", [_vm.origem, _vm.isMainEmail ? 'main' : '']) + " data-v-5f90a75e>", "</div>", [_vm._ssrNode("<span" + _vm._ssrAttr("title", "Enviado " + (_vm.status !== 'C' ? '' : _vm.status_msg ? _vm.status_msg : 'com erro') + " por: " + _vm.autor) + " data-v-5f90a75e>", "</span>", [_c('fa-icon', {
|
|
10988
10992
|
class: [_vm.origem],
|
|
10989
10993
|
attrs: {
|
|
10990
10994
|
"icon": ['fas', _vm.status !== 'C' ? 'reply' : 'times']
|
|
10991
10995
|
}
|
|
10992
|
-
})], 1), _vm._ssrNode(" <p" + _vm._ssrAttr("title", _vm.returnAuthorName) + " class=\"email-author-name\" data-v-
|
|
10996
|
+
})], 1), _vm._ssrNode(" <p" + _vm._ssrAttr("title", _vm.returnAuthorName) + " class=\"email-author-name\" data-v-5f90a75e>" + _vm._ssrEscape(_vm._s(_vm.returnAuthorName)) + "</p> "), _vm._ssrNode("<span" + _vm._ssrAttr("title", "E-mail " + (_vm.origem === 'outros' ? 'recebido' : 'enviado')) + " data-v-5f90a75e>", "</span>", [_c('fa-icon', {
|
|
10993
10997
|
staticClass: "email-to-svg",
|
|
10994
10998
|
attrs: {
|
|
10995
10999
|
"icon": ['fas', _vm.origem === 'outros' ? 'user' : 'headset']
|
|
10996
11000
|
}
|
|
10997
|
-
})], 1)], 2) : _vm._e(), _vm._ssrNode(" "), _vm.customButtons && _vm.customButtons.length ? _vm._ssrNode("<div class=\"email-custom-buttons\" data-v-
|
|
11001
|
+
})], 1)], 2) : _vm._e(), _vm._ssrNode(" "), _vm.customButtons && _vm.customButtons.length ? _vm._ssrNode("<div class=\"email-custom-buttons\" data-v-5f90a75e>", "</div>", _vm._l(_vm.customButtons, function (button, index) {
|
|
10998
11002
|
return _c('span', {
|
|
10999
11003
|
directives: [{
|
|
11000
11004
|
name: "show",
|
|
@@ -11025,7 +11029,7 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
11025
11029
|
"innerHTML": _vm._s(button.svgIcon)
|
|
11026
11030
|
}
|
|
11027
11031
|
})], 1);
|
|
11028
|
-
}), 0) : _vm._e(), _vm._ssrNode(" "), _vm.customActionButtons && _vm.customActionButtons.length ? _vm._ssrNode("<div class=\"email-custom-action-buttons\" data-v-
|
|
11032
|
+
}), 0) : _vm._e(), _vm._ssrNode(" "), _vm.customActionButtons && _vm.customActionButtons.length ? _vm._ssrNode("<div class=\"email-custom-action-buttons\" data-v-5f90a75e>", "</div>", _vm._l(_vm.customActionButtons, function (button, index) {
|
|
11029
11033
|
return _c('button', {
|
|
11030
11034
|
directives: [{
|
|
11031
11035
|
name: "show",
|
|
@@ -11055,8 +11059,8 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
11055
11059
|
domProps: {
|
|
11056
11060
|
"innerHTML": _vm._s(button.svgIcon)
|
|
11057
11061
|
}
|
|
11058
|
-
}), _vm._ssrNode(" " + (button.label ? "<span class=\"email-custom-action-label\" data-v-
|
|
11059
|
-
}), 0) : _vm._e(), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-header\" data-v-
|
|
11062
|
+
}), _vm._ssrNode(" " + (button.label ? "<span class=\"email-custom-action-label\" data-v-5f90a75e>" + _vm._ssrEscape(_vm._s(button.label)) + "</span>" : "<!---->"))], 2);
|
|
11063
|
+
}), 0) : _vm._e(), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-header\" data-v-5f90a75e>", "</div>", [_vm._ssrNode("<p" + _vm._ssrAttr("title", _vm.returnMainValue()) + " class=\"email-subject\" data-v-5f90a75e>" + _vm._ssrEscape("\n " + _vm._s(_vm.returnMainValue()) + "\n ") + "</p> "), _vm._ssrNode("<div class=\"header-container\" data-v-5f90a75e>", "</div>", [_vm._ssrNode("<div" + _vm._ssrClass(null, "email-header-content" + (_vm.isOpen ? ' open' : '')) + " data-v-5f90a75e>", "</div>", [_vm._ssrNode("<div class=\"email-header-infos\" data-v-5f90a75e>", "</div>", [_vm.para && _vm.para.length ? [_vm._ssrNode("<div class=\"email-to-from-container\" data-v-5f90a75e>", "</div>", [_vm._l(_vm.paraCopia, function (recipient, index) {
|
|
11060
11064
|
return _c('EmailTo', {
|
|
11061
11065
|
key: "to-" + recipient.email,
|
|
11062
11066
|
attrs: {
|
|
@@ -11067,13 +11071,13 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
11067
11071
|
});
|
|
11068
11072
|
}), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-to-btn\"" + _vm._ssrStyle(null, null, {
|
|
11069
11073
|
display: _vm.isOpen ? '' : 'none'
|
|
11070
|
-
}) + " data-v-
|
|
11074
|
+
}) + " data-v-5f90a75e>", "</div>", [_c('fa-icon', {
|
|
11071
11075
|
attrs: {
|
|
11072
11076
|
"icon": ['fas', 'caret-down']
|
|
11073
11077
|
}
|
|
11074
|
-
})], 1)], 2)] : _vm._e(), _vm._ssrNode(" " + (!_vm.isMainEmail && _vm.isOpen ? "<div class=\"email-subject-secondary\" data-v-
|
|
11078
|
+
})], 1)], 2)] : _vm._e(), _vm._ssrNode(" " + (!_vm.isMainEmail && _vm.isOpen ? "<div class=\"email-subject-secondary\" data-v-5f90a75e><span class=\"email-subject-span\" data-v-5f90a75e>" + _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, {
|
|
11075
11079
|
display: _vm.formattedDate ? '' : 'none'
|
|
11076
|
-
}) + " data-v-
|
|
11080
|
+
}) + " data-v-5f90a75e>", "</span>", [_c('fa-icon', {
|
|
11077
11081
|
attrs: {
|
|
11078
11082
|
"icon": ['fas', 'calendar']
|
|
11079
11083
|
}
|
|
@@ -11094,12 +11098,12 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
11094
11098
|
}
|
|
11095
11099
|
}
|
|
11096
11100
|
}, [_vm._ssrNode(_vm._ssrList(_vm.mailInfos, function (info, index) {
|
|
11097
|
-
return "<li class=\"email-info\" data-v-
|
|
11101
|
+
return "<li class=\"email-info\" data-v-5f90a75e><span data-v-5f90a75e>" + _vm._ssrEscape(_vm._s(info.label)) + "</span>" + _vm._ssrEscape("\n " + _vm._s(info.value) + "\n ") + "</li>";
|
|
11098
11102
|
}))]) : _vm._e(), _vm._ssrNode(" " + (_vm.isOpen ? "<span" + _vm._ssrClass(null, ['email-actions box-shadow', {
|
|
11099
11103
|
active: _vm.actionsOpen
|
|
11100
11104
|
}, {
|
|
11101
11105
|
main: _vm.isMainEmail
|
|
11102
|
-
}]) + " data-v-
|
|
11106
|
+
}]) + " data-v-5f90a75e><span data-v-5f90a75e></span> <span data-v-5f90a75e></span> <span data-v-5f90a75e></span></span>" : "<!---->") + " "), _vm.actionsOpen && _vm.isOpen ? _c('ul', {
|
|
11103
11107
|
directives: [{
|
|
11104
11108
|
name: "clickaway",
|
|
11105
11109
|
rawName: "v-clickaway",
|
|
@@ -11112,13 +11116,13 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
11112
11116
|
$event.stopPropagation();
|
|
11113
11117
|
}
|
|
11114
11118
|
}
|
|
11115
|
-
}, [_vm._ssrNode("<li class=\"email-action\" data-v-
|
|
11119
|
+
}, [_vm._ssrNode("<li class=\"email-action\" data-v-5f90a75e>" + _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, {
|
|
11116
11120
|
display: _vm.isOpen ? '' : 'none'
|
|
11117
|
-
}) + " data-v-
|
|
11121
|
+
}) + " data-v-5f90a75e>", "</div>", [_vm.isIframeLoading ? _c('VueLoader') : _vm._e(), _vm._ssrNode(" " + (_vm.hasError ? "<div class=\"email-error-content\" data-v-5f90a75e><p data-v-5f90a75e>Erro ao carregar o e-mail</p> <button class=\"box-shadow\" data-v-5f90a75e>Tentar novamente</button></div>" : "<!---->") + " <iframe" + _vm._ssrClass(null, "email-html " + (_vm.isIframeLoading ? 'visibility-hidden' : '')) + _vm._ssrStyle(null, null, {
|
|
11118
11122
|
display: !_vm.hasError ? '' : 'none'
|
|
11119
|
-
}) + " data-v-
|
|
11123
|
+
}) + " data-v-5f90a75e></iframe> " + (_vm.openMessage ? "<span class=\"email-raw\" data-v-5f90a75e>" + _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, {
|
|
11120
11124
|
display: _vm.isOpen || _vm.isMainEmail ? '' : 'none'
|
|
11121
|
-
}) + " data-v-
|
|
11125
|
+
}) + " data-v-5f90a75e>", "</div>", _vm._l(_vm.filteredFiles, function (anexo, index) {
|
|
11122
11126
|
return _c('EmailFile', {
|
|
11123
11127
|
key: index,
|
|
11124
11128
|
attrs: {
|
|
@@ -11133,20 +11137,20 @@ var __vue_staticRenderFns__$1 = [];
|
|
|
11133
11137
|
/* style */
|
|
11134
11138
|
var __vue_inject_styles__$1 = function __vue_inject_styles__(inject) {
|
|
11135
11139
|
if (!inject) return;
|
|
11136
|
-
inject("data-v-
|
|
11137
|
-
source: ".show-y-top-enter-active[data-v-
|
|
11140
|
+
inject("data-v-5f90a75e_0", {
|
|
11141
|
+
source: ".show-y-top-enter-active[data-v-5f90a75e],.show-y-top-leave-enter[data-v-5f90a75e]{opacity:1;transform:translateY(0);transition:all .2s linear}.show-y-top-enter[data-v-5f90a75e],.show-y-top-leave-to[data-v-5f90a75e]{opacity:0;transform:translateY(-2%)}",
|
|
11138
11142
|
map: undefined,
|
|
11139
11143
|
media: undefined
|
|
11140
|
-
}), inject("data-v-
|
|
11144
|
+
}), inject("data-v-5f90a75e_1", {
|
|
11141
11145
|
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}",
|
|
11142
11146
|
map: undefined,
|
|
11143
11147
|
media: undefined
|
|
11144
11148
|
});
|
|
11145
11149
|
};
|
|
11146
11150
|
/* scoped */
|
|
11147
|
-
var __vue_scope_id__$1 = "data-v-
|
|
11151
|
+
var __vue_scope_id__$1 = "data-v-5f90a75e";
|
|
11148
11152
|
/* module identifier */
|
|
11149
|
-
var __vue_module_identifier__$1 = "data-v-
|
|
11153
|
+
var __vue_module_identifier__$1 = "data-v-5f90a75e";
|
|
11150
11154
|
/* functional template */
|
|
11151
11155
|
var __vue_is_functional_template__$1 = false;
|
|
11152
11156
|
/* style inject shadow dom */
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<div v-if="showInfos" class="email-overlay"></div>
|
|
6
6
|
<div class="email-author" v-if="autor" :class="[origem, isMainEmail ? 'main' : '']" @click.stop="toggleIsOpen"
|
|
7
7
|
:key="autor">
|
|
8
|
-
<span :title="`Enviado ${status !== 'C' ? '' : 'com erro'} por: ${autor}`"><fa-icon :icon="['fas', status !== 'C' ? 'reply' : 'times']" :class="[origem]" /></span>
|
|
8
|
+
<span :title="`Enviado ${status !== 'C' ? '' : status_msg ? status_msg : 'com erro'} por: ${autor}`"><fa-icon :icon="['fas', status !== 'C' ? 'reply' : 'times']" :class="[origem]" /></span>
|
|
9
9
|
<p class="email-author-name" v-text="returnAuthorName" :title="returnAuthorName"></p>
|
|
10
10
|
<span :title="`E-mail ${origem === 'outros' ? 'recebido' : 'enviado'}`">
|
|
11
11
|
<fa-icon :icon="['fas', origem === 'outros' ? 'user' : 'headset']" class="email-to-svg" />
|
|
@@ -192,6 +192,10 @@ export default {
|
|
|
192
192
|
status: {
|
|
193
193
|
type: String,
|
|
194
194
|
default: ''
|
|
195
|
+
},
|
|
196
|
+
status_msg: {
|
|
197
|
+
type: String,
|
|
198
|
+
default: ''
|
|
195
199
|
}
|
|
196
200
|
},
|
|
197
201
|
data() {
|