vue-intergrall-plugins 1.0.40 → 1.0.41
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.
|
@@ -10360,7 +10360,7 @@ var __vue_render__ = function __vue_render__() {
|
|
|
10360
10360
|
var _c = _vm._self._c || _h;
|
|
10361
10361
|
return _c('div', {
|
|
10362
10362
|
class: ['email-item box-shadow', _vm.isOpen ? _vm.isOpenClass : _vm.isClosedClass]
|
|
10363
|
-
}, [_vm._ssrNode("<
|
|
10363
|
+
}, [_vm._ssrNode("<p" + _vm._ssrAttr("title", _vm.htmlEntityToEmoji(_vm.replaceUnicodeWithEmoji(_vm.assunto)) || '(Sem assunto)') + " class=\"email-subject\" data-v-4c7ad756>" + _vm._ssrEscape("\n " + _vm._s(_vm.htmlEntityToEmoji(_vm.replaceUnicodeWithEmoji(_vm.tratarTextoLongo(_vm.assunto, 30))) || '(Sem assunto)') + "\n ") + "</p> "), _vm._ssrNode("<div class=\"email-header\" data-v-4c7ad756>", "</div>", [_vm._ssrNode("<div class=\"email-header-content\" data-v-4c7ad756>", "</div>", [_vm._ssrNode("<div class=\"email-header-infos\" data-v-4c7ad756>", "</div>", [_vm.from && _vm.from.length ? [_vm._ssrNode("<div class=\"email-to-from-container\" data-v-4c7ad756>", "</div>", _vm._l(_vm.from, function (sender, index) {
|
|
10364
10364
|
return _c('EmailFrom', {
|
|
10365
10365
|
key: "from-" + index,
|
|
10366
10366
|
attrs: {
|
|
@@ -10369,7 +10369,7 @@ var __vue_render__ = function __vue_render__() {
|
|
|
10369
10369
|
"showMail": _vm.isOpen
|
|
10370
10370
|
}
|
|
10371
10371
|
});
|
|
10372
|
-
}), 1)] : _vm._e(), _vm._ssrNode(" "), _vm.para && _vm.para.length && _vm.isOpen ? [_vm._ssrNode("<div class=\"email-to-from-container\" data-v-
|
|
10372
|
+
}), 1)] : _vm._e(), _vm._ssrNode(" "), _vm.para && _vm.para.length && _vm.isOpen ? [_vm._ssrNode("<div class=\"email-to-from-container\" data-v-4c7ad756>", "</div>", [_vm._l(_vm.para, function (recipient, index) {
|
|
10373
10373
|
return _c('EmailTo', {
|
|
10374
10374
|
key: "to-" + index,
|
|
10375
10375
|
attrs: {
|
|
@@ -10378,7 +10378,7 @@ var __vue_render__ = function __vue_render__() {
|
|
|
10378
10378
|
"showMail": _vm.para.length === 1
|
|
10379
10379
|
}
|
|
10380
10380
|
});
|
|
10381
|
-
}), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-to-btn\" data-v-
|
|
10381
|
+
}), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-to-btn\" data-v-4c7ad756>", "</div>", [_c('fa-icon', {
|
|
10382
10382
|
attrs: {
|
|
10383
10383
|
"icon": ['fas', 'caret-down']
|
|
10384
10384
|
}
|
|
@@ -10398,14 +10398,14 @@ var __vue_render__ = function __vue_render__() {
|
|
|
10398
10398
|
}
|
|
10399
10399
|
}
|
|
10400
10400
|
}, [_vm._ssrNode(_vm._ssrList(_vm.mailInfos, function (info, index) {
|
|
10401
|
-
return "<li class=\"email-info\" data-v-
|
|
10402
|
-
}))]) : _vm._e()], 2)] : _vm._e()], 2)]), _vm._ssrNode(" "), _vm._ssrNode("<span" + _vm._ssrAttr("title", _vm.formattedDate) + " class=\"email-date\" data-v-
|
|
10401
|
+
return "<li class=\"email-info\" data-v-4c7ad756><span data-v-4c7ad756>" + _vm._ssrEscape(_vm._s(info.label)) + "</span>" + _vm._ssrEscape("\n " + _vm._s(info.value) + "\n ") + "</li>";
|
|
10402
|
+
}))]) : _vm._e()], 2)] : _vm._e()], 2)]), _vm._ssrNode(" "), _vm._ssrNode("<span" + _vm._ssrAttr("title", _vm.formattedDate) + " class=\"email-date\" data-v-4c7ad756>", "</span>", [_c('fa-icon', {
|
|
10403
10403
|
attrs: {
|
|
10404
10404
|
"icon": ['fas', 'calendar']
|
|
10405
10405
|
}
|
|
10406
10406
|
}), _vm._ssrNode(_vm._ssrEscape("\n " + _vm._s(_vm.formattedDate) + "\n "))], 2), _vm._ssrNode(" " + (_vm.isOpen ? "<span" + _vm._ssrClass(null, ['email-actions box-shadow', {
|
|
10407
10407
|
active: _vm.actionsOpen
|
|
10408
|
-
}]) + " data-v-
|
|
10408
|
+
}]) + " data-v-4c7ad756><span data-v-4c7ad756></span> <span data-v-4c7ad756></span> <span data-v-4c7ad756></span></span>" : "<!---->") + " "), _vm.actionsOpen && _vm.isOpen ? _c('ul', {
|
|
10409
10409
|
directives: [{
|
|
10410
10410
|
name: "clickaway",
|
|
10411
10411
|
rawName: "v-clickaway",
|
|
@@ -10418,7 +10418,7 @@ var __vue_render__ = function __vue_render__() {
|
|
|
10418
10418
|
$event.stopPropagation();
|
|
10419
10419
|
}
|
|
10420
10420
|
}
|
|
10421
|
-
}, [_vm._ssrNode("<li class=\"email-action\" data-v-
|
|
10421
|
+
}, [_vm._ssrNode("<li class=\"email-action\" data-v-4c7ad756>" + _vm._ssrEscape("\n " + _vm._s(!_vm.openMessage ? 'Visualizar' : 'Esconder') + " texto do e-mail\n ") + "</li>")]) : _vm._e()], 2), _vm._ssrNode(" "), _c('transition', {
|
|
10422
10422
|
attrs: {
|
|
10423
10423
|
"name": "show-y-top"
|
|
10424
10424
|
}
|
|
@@ -10430,7 +10430,7 @@ var __vue_render__ = function __vue_render__() {
|
|
|
10430
10430
|
staticClass: "email-html"
|
|
10431
10431
|
}), _vm._v(" "), _vm.openMessage ? _c('span', {
|
|
10432
10432
|
staticClass: "email-raw"
|
|
10433
|
-
}, [_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-
|
|
10433
|
+
}, [_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-4c7ad756>", "</div>", _vm._l(_vm.anexos, function (anexo, index) {
|
|
10434
10434
|
return _c('EmailFile', {
|
|
10435
10435
|
key: index,
|
|
10436
10436
|
attrs: {
|
|
@@ -10445,20 +10445,20 @@ var __vue_staticRenderFns__ = [];
|
|
|
10445
10445
|
/* style */
|
|
10446
10446
|
var __vue_inject_styles__ = function __vue_inject_styles__(inject) {
|
|
10447
10447
|
if (!inject) return;
|
|
10448
|
-
inject("data-v-
|
|
10449
|
-
source: ".show-y-top-enter-active[data-v-
|
|
10448
|
+
inject("data-v-4c7ad756_0", {
|
|
10449
|
+
source: ".show-y-top-enter-active[data-v-4c7ad756],.show-y-top-leave-enter[data-v-4c7ad756]{opacity:1;transform:translateY(0);transition:all .2s linear}.show-y-top-enter[data-v-4c7ad756],.show-y-top-leave-to[data-v-4c7ad756]{opacity:0;transform:translateY(-2%)}",
|
|
10450
10450
|
map: undefined,
|
|
10451
10451
|
media: undefined
|
|
10452
|
-
}), inject("data-v-
|
|
10453
|
-
source: ".bg-dark-white-2{background-color:#f7f7f7}.bg-light-gray-2{background-color:#d8d8d8}.email-item{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%}.email-header{width:100%;display:flex;align-items:center;justify-content:space-between;cursor:pointer;border-top-right-radius:5px;border-top-left-radius:5px;position:relative;overflow:hidden}.email-header-content{display:flex;align-items:center;margin:10px;flex:1;min-width:250px}.email-header-infos{display:flex;flex-direction:column;flex:1}.email-subject{margin:0 0 5px 0;font-weight:700;font-size:.95rem}.email-date{--width:245px;font-size:.8rem;margin-right:10px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;min-width:var(--width);width:var(--width);max-width:var(--width)}.email-content{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;width:100%;padding:15px;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%;max-width:100%;padding:10px;border:none;max-height:1000px;overflow:auto}.email-raw{width:100%;max-width:100%;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:10px;max-width:100%;display:flex;flex-wrap:wrap;flex:1;gap:5px}.email-to-from-container:last-child{margin-bottom:0}.email-to-btn{padding:0 5px;font-size:.9rem;cursor:pointer;color:#666}.email-to-infos{position:absolute;bottom:-300px;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-left:5px}",
|
|
10452
|
+
}), inject("data-v-4c7ad756_1", {
|
|
10453
|
+
source: ".bg-dark-white-2{background-color:#f7f7f7}.bg-light-gray-2{background-color:#d8d8d8}.email-item{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%}.email-header{width:100%;display:flex;align-items:center;justify-content:space-between;cursor:pointer;border-top-right-radius:5px;border-top-left-radius:5px;position:relative;overflow:hidden}.email-header-content{display:flex;align-items:center;margin:10px;flex:1;min-width:250px}.email-header-infos{display:flex;flex-direction:column;flex:1}.email-subject{margin:0 0 5px 0;font-weight:700;font-size:.95rem;cursor:pointer}.email-date{--width:245px;font-size:.8rem;margin-right:10px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;min-width:var(--width);width:var(--width);max-width:var(--width)}.email-content{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;width:100%;padding:15px;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%;max-width:100%;padding:10px;border:none;max-height:1000px;overflow:auto}.email-raw{width:100%;max-width:100%;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:10px;max-width:100%;display:flex;flex-wrap:wrap;flex:1;gap:5px}.email-to-from-container:last-child{margin-bottom:0}.email-to-btn{padding:0 5px;font-size:.9rem;cursor:pointer;color:#666}.email-to-infos{position:absolute;bottom:-300px;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-left:5px}",
|
|
10454
10454
|
map: undefined,
|
|
10455
10455
|
media: undefined
|
|
10456
10456
|
});
|
|
10457
10457
|
};
|
|
10458
10458
|
/* scoped */
|
|
10459
|
-
var __vue_scope_id__ = "data-v-
|
|
10459
|
+
var __vue_scope_id__ = "data-v-4c7ad756";
|
|
10460
10460
|
/* module identifier */
|
|
10461
|
-
var __vue_module_identifier__ = "data-v-
|
|
10461
|
+
var __vue_module_identifier__ = "data-v-4c7ad756";
|
|
10462
10462
|
/* functional template */
|
|
10463
10463
|
var __vue_is_functional_template__ = false;
|
|
10464
10464
|
/* style inject shadow dom */
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div :class="['email-item box-shadow', isOpen ? isOpenClass : isClosedClass]">
|
|
3
|
+
<p class="email-subject" :title="htmlEntityToEmoji(replaceUnicodeWithEmoji(assunto)) || '(Sem assunto)'"
|
|
4
|
+
@click="toggleIsOpen">
|
|
5
|
+
{{ htmlEntityToEmoji(replaceUnicodeWithEmoji(tratarTextoLongo(assunto, 30))) || '(Sem assunto)' }}
|
|
6
|
+
</p>
|
|
3
7
|
<div class="email-header" @click="toggleIsOpen">
|
|
4
8
|
<div class="email-header-content">
|
|
5
9
|
<div class="email-header-infos">
|
|
6
|
-
<p class="email-subject" :title="htmlEntityToEmoji(replaceUnicodeWithEmoji(assunto)) || '(Sem assunto)'">
|
|
7
|
-
{{ htmlEntityToEmoji(replaceUnicodeWithEmoji(tratarTextoLongo(assunto, 30))) || '(Sem assunto)' }}
|
|
8
|
-
</p>
|
|
9
10
|
<template v-if="from && from.length">
|
|
10
11
|
<div class="email-to-from-container">
|
|
11
12
|
<EmailFrom v-for="(sender, index) in from" :key="`from-${index}`"
|
|
@@ -297,6 +298,7 @@ export default {
|
|
|
297
298
|
margin: 0 0 5px 0;
|
|
298
299
|
font-weight: bold;
|
|
299
300
|
font-size: .95rem;
|
|
301
|
+
cursor: pointer;
|
|
300
302
|
}
|
|
301
303
|
|
|
302
304
|
.email-date {
|