vue-intergrall-plugins 1.0.63 → 1.0.64
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.
|
@@ -10392,6 +10392,7 @@ var EmailTo = __vue_component__$4;var script$1 = {
|
|
|
10392
10392
|
if (!this.isOpen) {
|
|
10393
10393
|
this.actionsOpen = false;
|
|
10394
10394
|
this.openMessage = false;
|
|
10395
|
+
this.showInfos = false;
|
|
10395
10396
|
}
|
|
10396
10397
|
},
|
|
10397
10398
|
adjustMaxWidth: function adjustMaxWidth() {
|
|
@@ -10461,19 +10462,19 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10461
10462
|
return _vm.openByItem($event);
|
|
10462
10463
|
}
|
|
10463
10464
|
}
|
|
10464
|
-
}, [_vm._ssrNode((_vm.showInfos ? "<div class=\"email-overlay\" data-v-
|
|
10465
|
+
}, [_vm._ssrNode((_vm.showInfos ? "<div class=\"email-overlay\" data-v-446cf57e></div>" : "<!---->") + " "), _vm.autor ? _vm._ssrNode("<div" + _vm._ssrClass("email-author", [_vm.origem]) + " data-v-446cf57e>", "</div>", [_c('fa-icon', {
|
|
10465
10466
|
class: [_vm.origem],
|
|
10466
10467
|
attrs: {
|
|
10467
10468
|
"icon": ['fas', 'reply'],
|
|
10468
10469
|
"title": "Enviado por: " + _vm.autor
|
|
10469
10470
|
}
|
|
10470
|
-
}), _vm._ssrNode(" <p" + _vm._ssrAttr("title", _vm.returnAuthorName()) + " class=\"email-author-name\" data-v-
|
|
10471
|
+
}), _vm._ssrNode(" <p" + _vm._ssrAttr("title", _vm.returnAuthorName()) + " class=\"email-author-name\" data-v-446cf57e>" + _vm._ssrEscape(_vm._s(_vm.returnAuthorName())) + "</p> "), _c('fa-icon', {
|
|
10471
10472
|
staticClass: "email-to-svg",
|
|
10472
10473
|
attrs: {
|
|
10473
10474
|
"icon": ['fas', _vm.origem === 'outros' ? 'user' : 'headset'],
|
|
10474
10475
|
"title": "E-mail " + (_vm.origem === 'outros' ? 'recebido' : 'enviado')
|
|
10475
10476
|
}
|
|
10476
|
-
})], 2) : _vm._e(), _vm._ssrNode(" "), _vm.customButtons && _vm.customButtons.length ? _vm._ssrNode("<div class=\"email-custom-buttons\" data-v-
|
|
10477
|
+
})], 2) : _vm._e(), _vm._ssrNode(" "), _vm.customButtons && _vm.customButtons.length ? _vm._ssrNode("<div class=\"email-custom-buttons\" data-v-446cf57e>", "</div>", _vm._l(_vm.customButtons, function (button, index) {
|
|
10477
10478
|
return _c('span', {
|
|
10478
10479
|
directives: [{
|
|
10479
10480
|
name: "show",
|
|
@@ -10504,7 +10505,7 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10504
10505
|
"innerHTML": _vm._s(button.svgIcon)
|
|
10505
10506
|
}
|
|
10506
10507
|
})], 1);
|
|
10507
|
-
}), 0) : _vm._e(), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-header\" data-v-
|
|
10508
|
+
}), 0) : _vm._e(), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-header\" data-v-446cf57e>", "</div>", [_vm._ssrNode("<p" + _vm._ssrAttr("title", _vm.returnMainValue()) + " class=\"email-subject\" data-v-446cf57e>" + _vm._ssrEscape("\n " + _vm._s(_vm.returnMainValue()) + "\n ") + "</p> "), _vm._ssrNode("<div class=\"header-container\" data-v-446cf57e>", "</div>", [_vm._ssrNode("<div" + _vm._ssrClass(null, "email-header-content" + (_vm.isOpen ? ' open' : '')) + " data-v-446cf57e>", "</div>", [_vm._ssrNode("<div class=\"email-header-infos\" data-v-446cf57e>", "</div>", [_vm.para && _vm.para.length ? [_vm._ssrNode("<div class=\"email-to-from-container\" data-v-446cf57e>", "</div>", [_vm._l(_vm.para, function (recipient, index) {
|
|
10508
10509
|
return _c('EmailTo', {
|
|
10509
10510
|
key: "to-" + index,
|
|
10510
10511
|
attrs: {
|
|
@@ -10513,11 +10514,13 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10513
10514
|
"showMail": _vm.para.length === 1
|
|
10514
10515
|
}
|
|
10515
10516
|
});
|
|
10516
|
-
}), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-to-btn\"
|
|
10517
|
+
}), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-to-btn\"" + _vm._ssrStyle(null, null, {
|
|
10518
|
+
display: _vm.isOpen ? '' : 'none'
|
|
10519
|
+
}) + " data-v-446cf57e>", "</div>", [_c('fa-icon', {
|
|
10517
10520
|
attrs: {
|
|
10518
10521
|
"icon": ['fas', 'caret-down']
|
|
10519
10522
|
}
|
|
10520
|
-
})], 1)], 2)] : _vm._e(), _vm._ssrNode(" " + (!_vm.isMainEmail && _vm.isOpen ? "<div class=\"email-subject-secondary\" data-v-
|
|
10523
|
+
})], 1)], 2)] : _vm._e(), _vm._ssrNode(" " + (!_vm.isMainEmail && _vm.isOpen ? "<div class=\"email-subject-secondary\" data-v-446cf57e><span class=\"email-subject-span\" data-v-446cf57e>" + _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-446cf57e>", "</span>", [_c('fa-icon', {
|
|
10521
10524
|
attrs: {
|
|
10522
10525
|
"icon": ['fas', 'calendar']
|
|
10523
10526
|
}
|
|
@@ -10538,10 +10541,12 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10538
10541
|
}
|
|
10539
10542
|
}
|
|
10540
10543
|
}, [_vm._ssrNode(_vm._ssrList(_vm.mailInfos, function (info, index) {
|
|
10541
|
-
return "<li class=\"email-info\" data-v-
|
|
10544
|
+
return "<li class=\"email-info\" data-v-446cf57e><span data-v-446cf57e>" + _vm._ssrEscape(_vm._s(info.label)) + "</span>" + _vm._ssrEscape("\n " + _vm._s(info.value) + "\n ") + "</li>";
|
|
10542
10545
|
}))]) : _vm._e(), _vm._ssrNode(" " + (_vm.isOpen ? "<span" + _vm._ssrClass(null, ['email-actions box-shadow', {
|
|
10543
10546
|
active: _vm.actionsOpen
|
|
10544
|
-
}
|
|
10547
|
+
}, {
|
|
10548
|
+
main: _vm.isMainEmail
|
|
10549
|
+
}]) + " data-v-446cf57e><span data-v-446cf57e></span> <span data-v-446cf57e></span> <span data-v-446cf57e></span></span>" : "<!---->") + " "), _vm.actionsOpen && _vm.isOpen ? _c('ul', {
|
|
10545
10550
|
directives: [{
|
|
10546
10551
|
name: "clickaway",
|
|
10547
10552
|
rawName: "v-clickaway",
|
|
@@ -10554,7 +10559,7 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10554
10559
|
$event.stopPropagation();
|
|
10555
10560
|
}
|
|
10556
10561
|
}
|
|
10557
|
-
}, [_vm._ssrNode("<li class=\"email-action\" data-v-
|
|
10562
|
+
}, [_vm._ssrNode("<li class=\"email-action\" data-v-446cf57e>" + _vm._ssrEscape("\n " + _vm._s(!_vm.openMessage ? 'Visualizar' : 'Esconder') + " texto do e-mail\n ") + "</li>")]) : _vm._e()], 2), _vm._ssrNode(" "), _c('transition', {
|
|
10558
10563
|
attrs: {
|
|
10559
10564
|
"name": "show-y-top"
|
|
10560
10565
|
}
|
|
@@ -10572,7 +10577,7 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10572
10577
|
class: "email-html " + (_vm.isIframeLoading ? 'visibility-hidden' : '')
|
|
10573
10578
|
}), _vm._v(" "), _vm.openMessage ? _c('span', {
|
|
10574
10579
|
staticClass: "email-raw"
|
|
10575
|
-
}, [_vm._v(_vm._s(_vm.mensagem))]) : _vm._e()], 1)]), _vm._ssrNode(" "), _vm.anexos && _vm.anexos.length ? _vm._ssrNode("<div class=\"email-files\" data-v-
|
|
10580
|
+
}, [_vm._v(_vm._s(_vm.mensagem))]) : _vm._e()], 1)]), _vm._ssrNode(" "), _vm.anexos && _vm.anexos.length ? _vm._ssrNode("<div class=\"email-files\" data-v-446cf57e>", "</div>", _vm._l(_vm.anexos, function (anexo, index) {
|
|
10576
10581
|
return _c('EmailFile', {
|
|
10577
10582
|
key: index,
|
|
10578
10583
|
attrs: {
|
|
@@ -10587,20 +10592,20 @@ var __vue_staticRenderFns__$1 = [];
|
|
|
10587
10592
|
/* style */
|
|
10588
10593
|
var __vue_inject_styles__$1 = function __vue_inject_styles__(inject) {
|
|
10589
10594
|
if (!inject) return;
|
|
10590
|
-
inject("data-v-
|
|
10591
|
-
source: ".show-y-top-enter-active[data-v-
|
|
10595
|
+
inject("data-v-446cf57e_0", {
|
|
10596
|
+
source: ".show-y-top-enter-active[data-v-446cf57e],.show-y-top-leave-enter[data-v-446cf57e]{opacity:1;transform:translateY(0);transition:all .2s linear}.show-y-top-enter[data-v-446cf57e],.show-y-top-leave-to[data-v-446cf57e]{opacity:0;transform:translateY(-2%)}",
|
|
10592
10597
|
map: undefined,
|
|
10593
10598
|
media: undefined
|
|
10594
|
-
}), inject("data-v-
|
|
10595
|
-
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)!important}.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-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:
|
|
10599
|
+
}), inject("data-v-446cf57e_1", {
|
|
10600
|
+
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)!important}.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-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:7px}.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%;cursor:default;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}",
|
|
10596
10601
|
map: undefined,
|
|
10597
10602
|
media: undefined
|
|
10598
10603
|
});
|
|
10599
10604
|
};
|
|
10600
10605
|
/* scoped */
|
|
10601
|
-
var __vue_scope_id__$1 = "data-v-
|
|
10606
|
+
var __vue_scope_id__$1 = "data-v-446cf57e";
|
|
10602
10607
|
/* module identifier */
|
|
10603
|
-
var __vue_module_identifier__$1 = "data-v-
|
|
10608
|
+
var __vue_module_identifier__$1 = "data-v-446cf57e";
|
|
10604
10609
|
/* functional template */
|
|
10605
10610
|
var __vue_is_functional_template__$1 = false;
|
|
10606
10611
|
/* style inject shadow dom */
|
package/package.json
CHANGED
|
@@ -22,14 +22,14 @@
|
|
|
22
22
|
{{ returnMainValue() }}
|
|
23
23
|
</p>
|
|
24
24
|
<div class="header-container">
|
|
25
|
-
<div class="email-header-content">
|
|
25
|
+
<div :class="`email-header-content${isOpen ? ' open' : ''}`">
|
|
26
26
|
<div class="email-header-infos">
|
|
27
27
|
<template v-if="para && para.length">
|
|
28
28
|
<div class="email-to-from-container" ref="emailToContainer">
|
|
29
29
|
<EmailTo v-for="(recipient, index) in para" :key="`to-${index}`"
|
|
30
30
|
:currentName="formattedToName(recipient.name, index, para.length)" :mail="recipient.mail"
|
|
31
31
|
:showMail="para.length === 1" />
|
|
32
|
-
<div class="email-to-btn" @click.stop="toggleShowInfos()">
|
|
32
|
+
<div class="email-to-btn" v-show="isOpen" @click.stop="toggleShowInfos()">
|
|
33
33
|
<fa-icon :icon="['fas', 'caret-down']" />
|
|
34
34
|
</div>
|
|
35
35
|
</div>
|
|
@@ -52,7 +52,8 @@
|
|
|
52
52
|
{{ info.value }}
|
|
53
53
|
</li>
|
|
54
54
|
</ul>
|
|
55
|
-
<span v-if="isOpen" :class="['email-actions box-shadow', { active: actionsOpen }]"
|
|
55
|
+
<span v-if="isOpen" :class="['email-actions box-shadow', { active: actionsOpen }, { main: isMainEmail }]"
|
|
56
|
+
@click.stop="toggleActions">
|
|
56
57
|
<span></span>
|
|
57
58
|
<span></span>
|
|
58
59
|
<span></span>
|
|
@@ -290,7 +291,8 @@ export default {
|
|
|
290
291
|
this.isOpen = !this.isOpen;
|
|
291
292
|
if (!this.isOpen) {
|
|
292
293
|
this.actionsOpen = false;
|
|
293
|
-
this.openMessage = false
|
|
294
|
+
this.openMessage = false;
|
|
295
|
+
this.showInfos = false
|
|
294
296
|
}
|
|
295
297
|
},
|
|
296
298
|
adjustMaxWidth() {
|
|
@@ -523,11 +525,15 @@ export default {
|
|
|
523
525
|
padding: 5px 7px;
|
|
524
526
|
background-color: #dddddd;
|
|
525
527
|
position: absolute;
|
|
526
|
-
right:
|
|
527
|
-
top:
|
|
528
|
+
right: 0;
|
|
529
|
+
top: 30px;
|
|
528
530
|
z-index: 1;
|
|
529
531
|
}
|
|
530
532
|
|
|
533
|
+
.email-actions.main {
|
|
534
|
+
top: 7px
|
|
535
|
+
}
|
|
536
|
+
|
|
531
537
|
.email-actions.active {
|
|
532
538
|
background-color: #dfdfdf;
|
|
533
539
|
}
|
|
@@ -635,7 +641,6 @@ export default {
|
|
|
635
641
|
z-index: 2;
|
|
636
642
|
padding: 10px;
|
|
637
643
|
background-color: #FFF;
|
|
638
|
-
height: 300px;
|
|
639
644
|
max-height: 300px;
|
|
640
645
|
overflow-y: auto;
|
|
641
646
|
overflow-x: hidden;
|