vue-intergrall-plugins 1.0.66 → 1.0.68
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.
|
@@ -10187,6 +10187,10 @@ var EmailTo = __vue_component__$4;var script$1 = {
|
|
|
10187
10187
|
type: Object,
|
|
10188
10188
|
required: true
|
|
10189
10189
|
},
|
|
10190
|
+
customClass: {
|
|
10191
|
+
type: String,
|
|
10192
|
+
default: ''
|
|
10193
|
+
},
|
|
10190
10194
|
from: {
|
|
10191
10195
|
type: Array,
|
|
10192
10196
|
default: function _default() {
|
|
@@ -10498,25 +10502,25 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10498
10502
|
var _h = _vm.$createElement;
|
|
10499
10503
|
var _c = _vm._self._c || _h;
|
|
10500
10504
|
return _c('div', {
|
|
10501
|
-
class: ['email-item box-shadow-active', _vm.isOpen ? _vm.isOpenClass : _vm.isClosedClass + " cursor-pointer", _vm.showInfos ? 'info-open' : '', _vm.origem],
|
|
10505
|
+
class: ['email-item box-shadow-active', _vm.isOpen ? _vm.isOpenClass : _vm.isClosedClass + " cursor-pointer", _vm.showInfos ? 'info-open' : '', _vm.origem, _vm.customClass],
|
|
10502
10506
|
on: {
|
|
10503
10507
|
"click": function click($event) {
|
|
10504
10508
|
return _vm.openByItem($event);
|
|
10505
10509
|
}
|
|
10506
10510
|
}
|
|
10507
|
-
}, [_vm._ssrNode((_vm.showInfos ? "<div class=\"email-overlay\" data-v-
|
|
10511
|
+
}, [_vm._ssrNode((_vm.showInfos ? "<div class=\"email-overlay\" data-v-5456d3ac></div>" : "<!---->") + " "), _vm.autor ? _vm._ssrNode("<div" + _vm._ssrClass("email-author", [_vm.origem]) + " data-v-5456d3ac>", "</div>", [_c('fa-icon', {
|
|
10508
10512
|
class: [_vm.origem],
|
|
10509
10513
|
attrs: {
|
|
10510
10514
|
"icon": ['fas', 'reply'],
|
|
10511
10515
|
"title": "Enviado por: " + _vm.autor
|
|
10512
10516
|
}
|
|
10513
|
-
}), _vm._ssrNode(" <p" + _vm._ssrAttr("title", _vm.returnAuthorName()) + " class=\"email-author-name\" data-v-
|
|
10517
|
+
}), _vm._ssrNode(" <p" + _vm._ssrAttr("title", _vm.returnAuthorName()) + " class=\"email-author-name\" data-v-5456d3ac>" + _vm._ssrEscape(_vm._s(_vm.returnAuthorName())) + "</p> "), _c('fa-icon', {
|
|
10514
10518
|
staticClass: "email-to-svg",
|
|
10515
10519
|
attrs: {
|
|
10516
10520
|
"icon": ['fas', _vm.origem === 'outros' ? 'user' : 'headset'],
|
|
10517
10521
|
"title": "E-mail " + (_vm.origem === 'outros' ? 'recebido' : 'enviado')
|
|
10518
10522
|
}
|
|
10519
|
-
})], 2) : _vm._e(), _vm._ssrNode(" "), _vm.customButtons && _vm.customButtons.length ? _vm._ssrNode("<div class=\"email-custom-buttons\" data-v-
|
|
10523
|
+
})], 2) : _vm._e(), _vm._ssrNode(" "), _vm.customButtons && _vm.customButtons.length ? _vm._ssrNode("<div class=\"email-custom-buttons\" data-v-5456d3ac>", "</div>", _vm._l(_vm.customButtons, function (button, index) {
|
|
10520
10524
|
return _c('span', {
|
|
10521
10525
|
directives: [{
|
|
10522
10526
|
name: "show",
|
|
@@ -10547,7 +10551,7 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10547
10551
|
"innerHTML": _vm._s(button.svgIcon)
|
|
10548
10552
|
}
|
|
10549
10553
|
})], 1);
|
|
10550
|
-
}), 0) : _vm._e(), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-header\" data-v-
|
|
10554
|
+
}), 0) : _vm._e(), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-header\" data-v-5456d3ac>", "</div>", [_vm._ssrNode("<p" + _vm._ssrAttr("title", _vm.returnMainValue()) + " class=\"email-subject\" data-v-5456d3ac>" + _vm._ssrEscape("\n " + _vm._s(_vm.returnMainValue()) + "\n ") + "</p> "), _vm._ssrNode("<div class=\"header-container\" data-v-5456d3ac>", "</div>", [_vm._ssrNode("<div" + _vm._ssrClass(null, "email-header-content" + (_vm.isOpen ? ' open' : '')) + " data-v-5456d3ac>", "</div>", [_vm._ssrNode("<div class=\"email-header-infos\" data-v-5456d3ac>", "</div>", [_vm.para && _vm.para.length ? [_vm._ssrNode("<div class=\"email-to-from-container\" data-v-5456d3ac>", "</div>", [_vm._l(_vm.paraCopia, function (recipient, index) {
|
|
10551
10555
|
return _c('EmailTo', {
|
|
10552
10556
|
key: "to-" + index,
|
|
10553
10557
|
attrs: {
|
|
@@ -10558,11 +10562,11 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10558
10562
|
});
|
|
10559
10563
|
}), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-to-btn\"" + _vm._ssrStyle(null, null, {
|
|
10560
10564
|
display: _vm.isOpen ? '' : 'none'
|
|
10561
|
-
}) + " data-v-
|
|
10565
|
+
}) + " data-v-5456d3ac>", "</div>", [_c('fa-icon', {
|
|
10562
10566
|
attrs: {
|
|
10563
10567
|
"icon": ['fas', 'caret-down']
|
|
10564
10568
|
}
|
|
10565
|
-
})], 1)], 2)] : _vm._e(), _vm._ssrNode(" " + (!_vm.isMainEmail && _vm.isOpen ? "<div class=\"email-subject-secondary\" data-v-
|
|
10569
|
+
})], 1)], 2)] : _vm._e(), _vm._ssrNode(" " + (!_vm.isMainEmail && _vm.isOpen ? "<div class=\"email-subject-secondary\" data-v-5456d3ac><span class=\"email-subject-span\" data-v-5456d3ac>" + _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-5456d3ac>", "</span>", [_c('fa-icon', {
|
|
10566
10570
|
attrs: {
|
|
10567
10571
|
"icon": ['fas', 'calendar']
|
|
10568
10572
|
}
|
|
@@ -10583,12 +10587,12 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10583
10587
|
}
|
|
10584
10588
|
}
|
|
10585
10589
|
}, [_vm._ssrNode(_vm._ssrList(_vm.mailInfos, function (info, index) {
|
|
10586
|
-
return "<li class=\"email-info\" data-v-
|
|
10590
|
+
return "<li class=\"email-info\" data-v-5456d3ac><span data-v-5456d3ac>" + _vm._ssrEscape(_vm._s(info.label)) + "</span>" + _vm._ssrEscape("\n " + _vm._s(info.value) + "\n ") + "</li>";
|
|
10587
10591
|
}))]) : _vm._e(), _vm._ssrNode(" " + (_vm.isOpen ? "<span" + _vm._ssrClass(null, ['email-actions box-shadow', {
|
|
10588
10592
|
active: _vm.actionsOpen
|
|
10589
10593
|
}, {
|
|
10590
10594
|
main: _vm.isMainEmail
|
|
10591
|
-
}]) + " data-v-
|
|
10595
|
+
}]) + " data-v-5456d3ac><span data-v-5456d3ac></span> <span data-v-5456d3ac></span> <span data-v-5456d3ac></span></span>" : "<!---->") + " "), _vm.actionsOpen && _vm.isOpen ? _c('ul', {
|
|
10592
10596
|
directives: [{
|
|
10593
10597
|
name: "clickaway",
|
|
10594
10598
|
rawName: "v-clickaway",
|
|
@@ -10601,7 +10605,7 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10601
10605
|
$event.stopPropagation();
|
|
10602
10606
|
}
|
|
10603
10607
|
}
|
|
10604
|
-
}, [_vm._ssrNode("<li class=\"email-action\" data-v-
|
|
10608
|
+
}, [_vm._ssrNode("<li class=\"email-action\" data-v-5456d3ac>" + _vm._ssrEscape("\n " + _vm._s(!_vm.openMessage ? 'Visualizar' : 'Esconder') + " texto do e-mail\n ") + "</li>")]) : _vm._e()], 2), _vm._ssrNode(" "), _c('transition', {
|
|
10605
10609
|
attrs: {
|
|
10606
10610
|
"name": "show-y-top"
|
|
10607
10611
|
}
|
|
@@ -10619,7 +10623,7 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10619
10623
|
class: "email-html " + (_vm.isIframeLoading ? 'visibility-hidden' : '')
|
|
10620
10624
|
}), _vm._v(" "), _vm.openMessage ? _c('span', {
|
|
10621
10625
|
staticClass: "email-raw"
|
|
10622
|
-
}, [_vm._v(_vm._s(_vm.mensagem))]) : _vm._e()], 1)]), _vm._ssrNode(" "), _vm.anexos && _vm.anexos.length ? _vm._ssrNode("<div class=\"email-files\" data-v-
|
|
10626
|
+
}, [_vm._v(_vm._s(_vm.mensagem))]) : _vm._e()], 1)]), _vm._ssrNode(" "), _vm.anexos && _vm.anexos.length ? _vm._ssrNode("<div class=\"email-files\" data-v-5456d3ac>", "</div>", _vm._l(_vm.anexos, function (anexo, index) {
|
|
10623
10627
|
return _c('EmailFile', {
|
|
10624
10628
|
key: index,
|
|
10625
10629
|
attrs: {
|
|
@@ -10634,20 +10638,20 @@ var __vue_staticRenderFns__$1 = [];
|
|
|
10634
10638
|
/* style */
|
|
10635
10639
|
var __vue_inject_styles__$1 = function __vue_inject_styles__(inject) {
|
|
10636
10640
|
if (!inject) return;
|
|
10637
|
-
inject("data-v-
|
|
10638
|
-
source: ".show-y-top-enter-active[data-v-
|
|
10641
|
+
inject("data-v-5456d3ac_0", {
|
|
10642
|
+
source: ".show-y-top-enter-active[data-v-5456d3ac],.show-y-top-leave-enter[data-v-5456d3ac]{opacity:1;transform:translateY(0);transition:all .2s linear}.show-y-top-enter[data-v-5456d3ac],.show-y-top-leave-to[data-v-5456d3ac]{opacity:0;transform:translateY(-2%)}",
|
|
10639
10643
|
map: undefined,
|
|
10640
10644
|
media: undefined
|
|
10641
|
-
}), inject("data-v-
|
|
10642
|
-
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)
|
|
10645
|
+
}), inject("data-v-5456d3ac_1", {
|
|
10646
|
+
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-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%;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}",
|
|
10643
10647
|
map: undefined,
|
|
10644
10648
|
media: undefined
|
|
10645
10649
|
});
|
|
10646
10650
|
};
|
|
10647
10651
|
/* scoped */
|
|
10648
|
-
var __vue_scope_id__$1 = "data-v-
|
|
10652
|
+
var __vue_scope_id__$1 = "data-v-5456d3ac";
|
|
10649
10653
|
/* module identifier */
|
|
10650
|
-
var __vue_module_identifier__$1 = "data-v-
|
|
10654
|
+
var __vue_module_identifier__$1 = "data-v-5456d3ac";
|
|
10651
10655
|
/* functional template */
|
|
10652
10656
|
var __vue_is_functional_template__$1 = false;
|
|
10653
10657
|
/* style inject shadow dom */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
|
-
:class="['email-item box-shadow-active', isOpen ? isOpenClass : `${isClosedClass} cursor-pointer`, showInfos ? 'info-open' : '', origem]"
|
|
3
|
+
:class="['email-item box-shadow-active', isOpen ? isOpenClass : `${isClosedClass} cursor-pointer`, showInfos ? 'info-open' : '', origem, customClass]"
|
|
4
4
|
@click="openByItem($event)">
|
|
5
5
|
<div v-if="showInfos" class="email-overlay"></div>
|
|
6
6
|
<div class="email-author" v-if="autor" :class="[origem]" @click.stop="toggleIsOpen">
|
|
@@ -98,6 +98,10 @@ export default {
|
|
|
98
98
|
type: Object,
|
|
99
99
|
required: true
|
|
100
100
|
},
|
|
101
|
+
customClass: {
|
|
102
|
+
type: String,
|
|
103
|
+
default: ''
|
|
104
|
+
},
|
|
101
105
|
from: {
|
|
102
106
|
type: Array,
|
|
103
107
|
default: () => []
|
|
@@ -423,7 +427,7 @@ export default {
|
|
|
423
427
|
}
|
|
424
428
|
|
|
425
429
|
.box-shadow-active {
|
|
426
|
-
box-shadow: 0px 0px 4px 2px rgba(0, 0, 0, 0.25)
|
|
430
|
+
box-shadow: 0px 0px 4px 2px rgba(0, 0, 0, 0.25);
|
|
427
431
|
}
|
|
428
432
|
|
|
429
433
|
.bg-dark-white-2 {
|