vue-intergrall-plugins 1.0.48 → 1.0.49
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.
|
@@ -10262,11 +10262,11 @@ var script$1 = {
|
|
|
10262
10262
|
},
|
|
10263
10263
|
isOpenClass: {
|
|
10264
10264
|
type: String,
|
|
10265
|
-
default: 'bg-dark-white-2
|
|
10265
|
+
default: 'bg-dark-white-2'
|
|
10266
10266
|
},
|
|
10267
10267
|
isClosedClass: {
|
|
10268
10268
|
type: String,
|
|
10269
|
-
default: 'bg-
|
|
10269
|
+
default: 'bg-white'
|
|
10270
10270
|
},
|
|
10271
10271
|
refKey: {
|
|
10272
10272
|
type: String
|
|
@@ -10413,12 +10413,7 @@ var script$1 = {
|
|
|
10413
10413
|
},
|
|
10414
10414
|
returnMainValue: function returnMainValue() {
|
|
10415
10415
|
if (this.isMainEmail) return this.htmlEntityToEmoji(this.replaceUnicodeWithEmoji(this.assunto)) || '(Sem assunto)';
|
|
10416
|
-
|
|
10417
|
-
if (!this.from || !this.from.length) return defaultStr;
|
|
10418
|
-
var _this$from$ = this.from[0],
|
|
10419
|
-
name = _this$from$.name,
|
|
10420
|
-
mail = _this$from$.mail;
|
|
10421
|
-
return "".concat(name || mail || defaultStr);
|
|
10416
|
+
return '';
|
|
10422
10417
|
}
|
|
10423
10418
|
}
|
|
10424
10419
|
};/* script */
|
|
@@ -10430,8 +10425,14 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10430
10425
|
var _h = _vm.$createElement;
|
|
10431
10426
|
var _c = _vm._self._c || _h;
|
|
10432
10427
|
return _c('div', {
|
|
10433
|
-
class: ['email-item box-shadow', _vm.isOpen ? _vm.isOpenClass : _vm.isClosedClass, _vm.showInfos ? 'info-open' : '', _vm.origem]
|
|
10434
|
-
}, [_vm._ssrNode((_vm.showInfos ? "<div class=\"email-overlay\" data-v-
|
|
10428
|
+
class: ['email-item box-shadow-active', _vm.isOpen ? _vm.isOpenClass : _vm.isClosedClass, _vm.showInfos ? 'info-open' : '', _vm.origem]
|
|
10429
|
+
}, [_vm._ssrNode((_vm.showInfos ? "<div class=\"email-overlay\" data-v-4cace530></div>" : "<!---->") + " "), _vm.autor ? _vm._ssrNode("<div" + _vm._ssrClass("email-author", [_vm.origem]) + " data-v-4cace530>", "</div>", [_c('fa-icon', {
|
|
10430
|
+
class: [_vm.origem],
|
|
10431
|
+
attrs: {
|
|
10432
|
+
"icon": ['fas', 'reply'],
|
|
10433
|
+
"title": "Enviado por: " + _vm.autor
|
|
10434
|
+
}
|
|
10435
|
+
})], 1) : _vm._e(), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-header\" data-v-4cace530>", "</div>", [_vm._ssrNode("<p" + _vm._ssrAttr("title", _vm.returnMainValue()) + " class=\"email-subject\" data-v-4cace530>" + _vm._ssrEscape("\n " + _vm._s(_vm.returnMainValue()) + "\n ") + "</p> "), _vm._ssrNode("<div class=\"header-container\" data-v-4cace530>", "</div>", [_vm._ssrNode("<div class=\"email-header-content\" data-v-4cace530>", "</div>", [_vm._ssrNode("<div class=\"email-header-infos\" data-v-4cace530>", "</div>", [_vm.from && _vm.from.length ? [_vm._ssrNode("<div class=\"email-to-from-container\" data-v-4cace530>", "</div>", _vm._l(_vm.from, function (sender, index) {
|
|
10435
10436
|
return _c('EmailFrom', {
|
|
10436
10437
|
key: "from-" + index,
|
|
10437
10438
|
attrs: {
|
|
@@ -10440,7 +10441,7 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10440
10441
|
"showMail": _vm.isOpen
|
|
10441
10442
|
}
|
|
10442
10443
|
});
|
|
10443
|
-
}), 1)] : _vm._e(), _vm._ssrNode(" "), _vm.para && _vm.para.length && _vm.isOpen ? [_vm._ssrNode("<div class=\"email-to-from-container\" data-v-
|
|
10444
|
+
}), 1)] : _vm._e(), _vm._ssrNode(" "), _vm.para && _vm.para.length && _vm.isOpen ? [_vm._ssrNode("<div class=\"email-to-from-container\" data-v-4cace530>", "</div>", [_vm._l(_vm.para, function (recipient, index) {
|
|
10444
10445
|
return _c('EmailTo', {
|
|
10445
10446
|
key: "to-" + index,
|
|
10446
10447
|
attrs: {
|
|
@@ -10449,11 +10450,11 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10449
10450
|
"showMail": _vm.para.length === 1
|
|
10450
10451
|
}
|
|
10451
10452
|
});
|
|
10452
|
-
}), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-to-btn\" data-v-
|
|
10453
|
+
}), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-to-btn\" data-v-4cace530>", "</div>", [_c('fa-icon', {
|
|
10453
10454
|
attrs: {
|
|
10454
10455
|
"icon": ['fas', 'caret-down']
|
|
10455
10456
|
}
|
|
10456
|
-
})], 1)], 2)] : _vm._e(), _vm._ssrNode(" " + (!_vm.isMainEmail && _vm.isOpen ? "<div class=\"email-subject-secondary\" data-v-
|
|
10457
|
+
})], 1)], 2)] : _vm._e(), _vm._ssrNode(" " + (!_vm.isMainEmail && _vm.isOpen ? "<div class=\"email-subject-secondary\" data-v-4cace530><span class=\"email-subject-span\" data-v-4cace530>" + _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)) + " data-v-4cace530>", "</span>", [_c('fa-icon', {
|
|
10457
10458
|
attrs: {
|
|
10458
10459
|
"icon": ['fas', 'calendar']
|
|
10459
10460
|
}
|
|
@@ -10473,10 +10474,10 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10473
10474
|
}
|
|
10474
10475
|
}
|
|
10475
10476
|
}, [_vm._ssrNode(_vm._ssrList(_vm.mailInfos, function (info, index) {
|
|
10476
|
-
return "<li class=\"email-info\" data-v-
|
|
10477
|
+
return "<li class=\"email-info\" data-v-4cace530><span data-v-4cace530>" + _vm._ssrEscape(_vm._s(info.label)) + "</span>" + _vm._ssrEscape("\n " + _vm._s(info.value) + "\n ") + "</li>";
|
|
10477
10478
|
}))]) : _vm._e(), _vm._ssrNode(" " + (_vm.isOpen ? "<span" + _vm._ssrClass(null, ['email-actions box-shadow', {
|
|
10478
10479
|
active: _vm.actionsOpen
|
|
10479
|
-
}]) + " data-v-
|
|
10480
|
+
}]) + " data-v-4cace530><span data-v-4cace530></span> <span data-v-4cace530></span> <span data-v-4cace530></span></span>" : "<!---->") + " "), _vm.actionsOpen && _vm.isOpen ? _c('ul', {
|
|
10480
10481
|
directives: [{
|
|
10481
10482
|
name: "clickaway",
|
|
10482
10483
|
rawName: "v-clickaway",
|
|
@@ -10489,7 +10490,7 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10489
10490
|
$event.stopPropagation();
|
|
10490
10491
|
}
|
|
10491
10492
|
}
|
|
10492
|
-
}, [_vm._ssrNode("<li class=\"email-action\" data-v-
|
|
10493
|
+
}, [_vm._ssrNode("<li class=\"email-action\" data-v-4cace530>" + _vm._ssrEscape("\n " + _vm._s(!_vm.openMessage ? 'Visualizar' : 'Esconder') + " texto do e-mail\n ") + "</li>")]) : _vm._e()], 2), _vm._ssrNode(" "), _c('transition', {
|
|
10493
10494
|
attrs: {
|
|
10494
10495
|
"name": "show-y-top"
|
|
10495
10496
|
}
|
|
@@ -10501,7 +10502,7 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10501
10502
|
staticClass: "email-html"
|
|
10502
10503
|
}), _vm._v(" "), _vm.openMessage ? _c('span', {
|
|
10503
10504
|
staticClass: "email-raw"
|
|
10504
|
-
}, [_vm._v(_vm._s(_vm.mensagem))]) : _vm._e()]) : _vm._e()]), _vm._ssrNode(" "), _vm.anexos && _vm.anexos.length ? _vm._ssrNode("<div class=\"email-files\" data-v-
|
|
10505
|
+
}, [_vm._v(_vm._s(_vm.mensagem))]) : _vm._e()]) : _vm._e()]), _vm._ssrNode(" "), _vm.anexos && _vm.anexos.length ? _vm._ssrNode("<div class=\"email-files\" data-v-4cace530>", "</div>", _vm._l(_vm.anexos, function (anexo, index) {
|
|
10505
10506
|
return _c('EmailFile', {
|
|
10506
10507
|
key: index,
|
|
10507
10508
|
attrs: {
|
|
@@ -10516,20 +10517,20 @@ var __vue_staticRenderFns__$1 = [];
|
|
|
10516
10517
|
/* style */
|
|
10517
10518
|
var __vue_inject_styles__$1 = function __vue_inject_styles__(inject) {
|
|
10518
10519
|
if (!inject) return;
|
|
10519
|
-
inject("data-v-
|
|
10520
|
-
source: ".show-y-top-enter-active[data-v-
|
|
10520
|
+
inject("data-v-4cace530_0", {
|
|
10521
|
+
source: ".show-y-top-enter-active[data-v-4cace530],.show-y-top-leave-enter[data-v-4cace530]{opacity:1;transform:translateY(0);transition:all .2s linear}.show-y-top-enter[data-v-4cace530],.show-y-top-leave-to[data-v-4cace530]{opacity:0;transform:translateY(-2%)}",
|
|
10521
10522
|
map: undefined,
|
|
10522
10523
|
media: undefined
|
|
10523
|
-
}), inject("data-v-
|
|
10524
|
-
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);.box-shadow-active{box-shadow:0 0 4px 2px rgba(0,0,0,.25)!important}.bg-dark-white-2{background-color:#f7f7f7}.bg-
|
|
10524
|
+
}), inject("data-v-4cace530_1", {
|
|
10525
|
+
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);.box-shadow-active{box-shadow:0 0 4px 2px rgba(0,0,0,.25)!important}.bg-dark-white-2{background-color:#f7f7f7}.bg-white{background-color:#fff}.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.outros{color:#33b8df}.email-author.principal{color:#5e6364;transform:rotateY(180deg)}.email-item.principal{border-right:3px solid #5e6364}.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:0 0 5px 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:5px;top:5px;z-index:1}.email-actions.active{background-color:#dfdfdf}.email-actions>span{width:4px;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%}.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;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;height:300px;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:.65rem;font-weight:700;transform:translateY(-2px);width:100%}.email-subject-secondary{margin-top:-5px}.email-subject-span{font-size:.7rem;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:gray}",
|
|
10525
10526
|
map: undefined,
|
|
10526
10527
|
media: undefined
|
|
10527
10528
|
});
|
|
10528
10529
|
};
|
|
10529
10530
|
/* scoped */
|
|
10530
|
-
var __vue_scope_id__$1 = "data-v-
|
|
10531
|
+
var __vue_scope_id__$1 = "data-v-4cace530";
|
|
10531
10532
|
/* module identifier */
|
|
10532
|
-
var __vue_module_identifier__$1 = "data-v-
|
|
10533
|
+
var __vue_module_identifier__$1 = "data-v-4cace530";
|
|
10533
10534
|
/* functional template */
|
|
10534
10535
|
var __vue_is_functional_template__$1 = false;
|
|
10535
10536
|
/* style inject shadow dom */
|
|
@@ -10621,7 +10622,7 @@ var __vue_render__ = function __vue_render__() {
|
|
|
10621
10622
|
on: {
|
|
10622
10623
|
"click": _vm.close
|
|
10623
10624
|
}
|
|
10624
|
-
}, [_vm._ssrNode("<div class=\"email-blocker-content box-shadow\" data-v-
|
|
10625
|
+
}, [_vm._ssrNode("<div class=\"email-blocker-content box-shadow\" data-v-50a9c914>", "</div>", [_c('fa-icon', {
|
|
10625
10626
|
staticClass: "sc-icone-fechar sc-icone-fechar--interno",
|
|
10626
10627
|
attrs: {
|
|
10627
10628
|
"icon": ['fas', 'times-circle']
|
|
@@ -10629,13 +10630,13 @@ var __vue_render__ = function __vue_render__() {
|
|
|
10629
10630
|
on: {
|
|
10630
10631
|
"click": _vm.close
|
|
10631
10632
|
}
|
|
10632
|
-
}), _vm._ssrNode(" <h1 class=\"email-title\" data-v-
|
|
10633
|
-
return "<span data-v-
|
|
10634
|
-
}) : "<span data-v-
|
|
10635
|
-
return "<span data-v-
|
|
10636
|
-
}) : "<span data-v-
|
|
10637
|
-
return "<tr data-v-
|
|
10638
|
-
}) : "<!---->") + " "), _vm.anexos && _vm.anexos.length ? _vm._ssrNode("<tr data-v-
|
|
10633
|
+
}), _vm._ssrNode(" <h1 class=\"email-title\" data-v-50a9c914>" + _vm._ssrEscape(_vm._s(_vm.assunto ? _vm.replaceUnicodeWithEmoji(_vm.htmlEntityToEmoji(_vm.assunto)) : '(Sem assunto)')) + "</h1> "), _vm._ssrNode("<table class=\"email-content-table\" data-v-50a9c914>", "</table>", [_vm._ssrNode("<tbody data-v-50a9c914>", "</tbody>", [_vm._ssrNode("<tr data-v-50a9c914><th data-v-50a9c914>\n De:\n </th> <td data-v-50a9c914>" + (_vm.from && _vm.from.length ? _vm._ssrList(_vm.from, function (sender, index) {
|
|
10634
|
+
return "<span data-v-50a9c914>" + _vm._ssrEscape("\n " + _vm._s(_vm.formattedName(sender.name, index, _vm.from.length, true)) + "\n " + _vm._s(_vm.formattedMail(sender.mail, index, _vm.from.length, true)) + "\n ") + "</span>";
|
|
10635
|
+
}) : "<span data-v-50a9c914> -- </span>") + "</td></tr> <tr data-v-50a9c914><th data-v-50a9c914>\n Para:\n </th> <td data-v-50a9c914>" + (_vm.para && _vm.para.length ? _vm._ssrList(_vm.para, function (recipient, index) {
|
|
10636
|
+
return "<span data-v-50a9c914>" + _vm._ssrEscape("\n " + _vm._s(_vm.formattedToName(recipient.name, index, _vm.para.length)) + "\n " + _vm._s("<" + recipient.mail + ">") + "\n ") + "</span>";
|
|
10637
|
+
}) : "<span data-v-50a9c914> -- </span>") + "</td></tr> " + (_vm.dataHora ? "<tr data-v-50a9c914><th data-v-50a9c914>Data:</th> <td data-v-50a9c914>" + _vm._ssrEscape(_vm._s(_vm.dataHora) + " - " + _vm._s(_vm.formattedDate)) + "</td></tr>" : "<!---->") + " " + (_vm.additionalTableData && _vm.additionalTableData.length ? _vm._ssrList(_vm.additionalTableData, function (data, index) {
|
|
10638
|
+
return "<tr data-v-50a9c914><th data-v-50a9c914>" + _vm._ssrEscape(_vm._s(data.label)) + "</th> <td data-v-50a9c914>" + _vm._ssrEscape(_vm._s(data.value)) + "</td></tr>";
|
|
10639
|
+
}) : "<!---->") + " "), _vm.anexos && _vm.anexos.length ? _vm._ssrNode("<tr data-v-50a9c914>", "</tr>", [_vm._ssrNode("<th data-v-50a9c914>Anexos:</th> "), _vm._ssrNode("<td data-v-50a9c914>", "</td>", [_vm._ssrNode("<div class=\"email-file-content\" data-v-50a9c914>", "</div>", _vm._l(_vm.anexos, function (anexo, index) {
|
|
10639
10640
|
return _c('EmailFile', {
|
|
10640
10641
|
key: index,
|
|
10641
10642
|
attrs: {
|
|
@@ -10643,23 +10644,23 @@ var __vue_render__ = function __vue_render__() {
|
|
|
10643
10644
|
"dominio": _vm.dominio
|
|
10644
10645
|
}
|
|
10645
10646
|
});
|
|
10646
|
-
}), 1)])], 2) : _vm._e()], 2)]), _vm._ssrNode(" <hr class=\"email-divisor\" data-v-
|
|
10647
|
+
}), 1)])], 2) : _vm._e()], 2)]), _vm._ssrNode(" <hr class=\"email-divisor\" data-v-50a9c914> <div class=\"email-raw-content\" data-v-50a9c914><h2 data-v-50a9c914>Mensagem original</h2> <div data-v-50a9c914>" + _vm._ssrEscape(_vm._s(_vm.html || _vm.mensagem)) + "</div></div>")], 2)]);
|
|
10647
10648
|
};
|
|
10648
10649
|
var __vue_staticRenderFns__ = [];
|
|
10649
10650
|
|
|
10650
10651
|
/* style */
|
|
10651
10652
|
var __vue_inject_styles__ = function __vue_inject_styles__(inject) {
|
|
10652
10653
|
if (!inject) return;
|
|
10653
|
-
inject("data-v-
|
|
10654
|
-
source: ".sc-icone-fechar[data-v-
|
|
10654
|
+
inject("data-v-50a9c914_0", {
|
|
10655
|
+
source: ".sc-icone-fechar[data-v-50a9c914]{cursor:pointer;position:absolute;top:0;right:0;background-color:#fff;border-radius:50%;z-index:1;color:#e74c3c;font-size:20.8px}.sc-icone-fechar.sc-icone-fechar--interno[data-v-50a9c914]{top:5px;right:5px}.email-blocker[data-v-50a9c914]{font-family:Roboto,sans-serif;position:absolute;top:0;left:0;width:100vw;height:100vh;display:flex;justify-content:center;align-items:center;z-index:99;background-color:rgba(0,0,0,.2);overflow:visible}.email-blocker-content[data-v-50a9c914]{width:90%;height:90%;max-width:90%;max-height:90%;overflow:hidden auto;position:relative;background-color:#fff;color:#222}.email-title[data-v-50a9c914]{background:#222;color:#fff;margin:0 0 10px 0;padding:5px 10px;border-top-left-radius:5px;border-top-right-radius:5px;font-size:1.1rem}.email-content-table[data-v-50a9c914]{padding:0;margin:0 10px 10px;font-size:.95rem;border-collapse:collapse;width:calc(100% - 20px)}.email-content-table td[data-v-50a9c914],.email-content-table th[data-v-50a9c914]{border:solid thin #e0e0e0}.email-content-table th[data-v-50a9c914]{min-width:100px;text-align:left;vertical-align:text-top;padding:12px 20px;font-weight:400;border-right:unset}.email-divisor[data-v-50a9c914]{margin-top:15px;margin-bottom:10px;height:1px;width:100%;background:#e0e0e0;border:unset}.email-content-table td[data-v-50a9c914]{padding:8px;border-left:unset}.email-raw-content[data-v-50a9c914]{display:flex;flex-direction:column;gap:10px;padding:0 15px 15px}.email-raw-content h2[data-v-50a9c914]{margin:0;padding:0;font-size:1rem}.email-file-content[data-v-50a9c914]{display:flex;gap:10px;flex-wrap:wrap;align-items:center}",
|
|
10655
10656
|
map: undefined,
|
|
10656
10657
|
media: undefined
|
|
10657
10658
|
});
|
|
10658
10659
|
};
|
|
10659
10660
|
/* scoped */
|
|
10660
|
-
var __vue_scope_id__ = "data-v-
|
|
10661
|
+
var __vue_scope_id__ = "data-v-50a9c914";
|
|
10661
10662
|
/* module identifier */
|
|
10662
|
-
var __vue_module_identifier__ = "data-v-
|
|
10663
|
+
var __vue_module_identifier__ = "data-v-50a9c914";
|
|
10663
10664
|
/* functional template */
|
|
10664
10665
|
var __vue_is_functional_template__ = false;
|
|
10665
10666
|
/* style inject shadow dom */
|
package/package.json
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
2
|
+
<div
|
|
3
|
+
:class="['email-item box-shadow-active', isOpen ? isOpenClass : isClosedClass, showInfos ? 'info-open' : '', origem]">
|
|
3
4
|
<div v-if="showInfos" class="email-overlay"></div>
|
|
4
|
-
<div class="email-author" v-if="autor" :class="[origem]"
|
|
5
|
+
<div class="email-author" v-if="autor" :class="[origem]">
|
|
6
|
+
<fa-icon :icon="['fas', 'reply']" :class="[origem]" :title="`Enviado por: ${autor}`" />
|
|
7
|
+
</div>
|
|
5
8
|
<div class="email-header" @click="toggleIsOpen">
|
|
6
9
|
<p class="email-subject" :title="returnMainValue()">
|
|
7
10
|
{{ returnMainValue() }}
|
|
@@ -32,8 +35,7 @@
|
|
|
32
35
|
</div>
|
|
33
36
|
</div>
|
|
34
37
|
</div>
|
|
35
|
-
<span :class="`email-date ${isOpen ? isOpenClass
|
|
36
|
-
:title="formattedDate" ref="emailDate">
|
|
38
|
+
<span :class="`email-date ${isOpen ? isOpenClass : isClosedClass}`" :title="formattedDate" ref="emailDate">
|
|
37
39
|
<fa-icon :icon="['fas', 'calendar']" />
|
|
38
40
|
{{ formattedDate }}
|
|
39
41
|
</span>
|
|
@@ -127,11 +129,11 @@ export default {
|
|
|
127
129
|
},
|
|
128
130
|
isOpenClass: {
|
|
129
131
|
type: String,
|
|
130
|
-
default: 'bg-dark-white-2
|
|
132
|
+
default: 'bg-dark-white-2'
|
|
131
133
|
},
|
|
132
134
|
isClosedClass: {
|
|
133
135
|
type: String,
|
|
134
|
-
default: 'bg-
|
|
136
|
+
default: 'bg-white'
|
|
135
137
|
},
|
|
136
138
|
refKey: {
|
|
137
139
|
type: String,
|
|
@@ -281,11 +283,7 @@ export default {
|
|
|
281
283
|
},
|
|
282
284
|
returnMainValue() {
|
|
283
285
|
if (this.isMainEmail) return this.htmlEntityToEmoji(this.replaceUnicodeWithEmoji(this.assunto)) || '(Sem assunto)'
|
|
284
|
-
|
|
285
|
-
const defaultStr = `(Sem remetente)`
|
|
286
|
-
if (!this.from || !this.from.length) return defaultStr
|
|
287
|
-
const { name, mail } = this.from[0]
|
|
288
|
-
return `${name || mail || defaultStr}`
|
|
286
|
+
return ''
|
|
289
287
|
}
|
|
290
288
|
}
|
|
291
289
|
};
|
|
@@ -317,8 +315,8 @@ export default {
|
|
|
317
315
|
background-color: #f7f7f7;
|
|
318
316
|
}
|
|
319
317
|
|
|
320
|
-
.bg-
|
|
321
|
-
background-color: #
|
|
318
|
+
.bg-white {
|
|
319
|
+
background-color: #FFF;
|
|
322
320
|
}
|
|
323
321
|
|
|
324
322
|
.email-overlay {
|
|
@@ -349,11 +347,20 @@ export default {
|
|
|
349
347
|
}
|
|
350
348
|
|
|
351
349
|
.email-item.outros {
|
|
352
|
-
border-
|
|
350
|
+
border-left: 3px solid #33B8DF;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.email-author.outros {
|
|
354
|
+
color: #33B8DF
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.email-author.principal {
|
|
358
|
+
color: #5e6364;
|
|
359
|
+
transform: rotateY(180deg);
|
|
353
360
|
}
|
|
354
361
|
|
|
355
362
|
.email-item.principal {
|
|
356
|
-
border-
|
|
363
|
+
border-right: 3px solid #5e6364;
|
|
357
364
|
}
|
|
358
365
|
|
|
359
366
|
.email-item.info-open {
|
|
@@ -408,6 +415,10 @@ export default {
|
|
|
408
415
|
min-width: var(--width);
|
|
409
416
|
width: var(--width);
|
|
410
417
|
max-width: var(--width);
|
|
418
|
+
display: flex;
|
|
419
|
+
justify-content: flex-end;
|
|
420
|
+
gap: 3px;
|
|
421
|
+
align-items: center;
|
|
411
422
|
}
|
|
412
423
|
|
|
413
424
|
.email-content {
|
|
@@ -570,10 +581,6 @@ export default {
|
|
|
570
581
|
width: 100%;
|
|
571
582
|
}
|
|
572
583
|
|
|
573
|
-
.email-author.principal {
|
|
574
|
-
justify-content: flex-end;
|
|
575
|
-
}
|
|
576
|
-
|
|
577
584
|
.email-subject-secondary {
|
|
578
585
|
margin-top: -5px;
|
|
579
586
|
}
|