vue-intergrall-plugins 1.0.50 → 1.0.51
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.
|
@@ -6737,7 +6737,7 @@ var __vue_component__$s = __vue_component__$r;var textoLongo = {
|
|
|
6737
6737
|
var monthsDifference = Math.floor(daysDifference / 30);
|
|
6738
6738
|
var yearsDifference = Math.floor(daysDifference / 365);
|
|
6739
6739
|
if (seconds < 60) {
|
|
6740
|
-
distance = ""
|
|
6740
|
+
distance = "agora";
|
|
6741
6741
|
} else if (minutesDiff < 60) {
|
|
6742
6742
|
distance = "".concat(dicionario.ha_message, " ").concat(minutesDiff, " ").concat(minutesDiff > 1 ? 'minutos' : 'minuto');
|
|
6743
6743
|
} else if (hoursDifference < 24) {
|
|
@@ -10403,10 +10403,10 @@ var script$1 = {
|
|
|
10403
10403
|
this.actionsOpen = false;
|
|
10404
10404
|
},
|
|
10405
10405
|
formattedName: function formattedName(name, index, length, isOpen) {
|
|
10406
|
-
return "".concat(name).concat(index !== length - 1 && !isOpen ? ', ' : '');
|
|
10406
|
+
return "".concat(name || '--').concat(index !== length - 1 && !isOpen ? ', ' : '');
|
|
10407
10407
|
},
|
|
10408
10408
|
formattedMail: function formattedMail(mail, index, length, isOpen) {
|
|
10409
|
-
return "<".concat(mail).concat(index !== length - 1 && isOpen ? '>, ' : '>');
|
|
10409
|
+
return "<".concat(mail || '--').concat(index !== length - 1 && isOpen ? '>, ' : '>');
|
|
10410
10410
|
},
|
|
10411
10411
|
formattedToName: function formattedToName(name, index, length) {
|
|
10412
10412
|
return index === 0 ? "Para: ".concat(name || '') : name ? "".concat(name).concat(index !== length - 1 ? ', ' : '') : '';
|
|
@@ -10426,13 +10426,13 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10426
10426
|
var _c = _vm._self._c || _h;
|
|
10427
10427
|
return _c('div', {
|
|
10428
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-
|
|
10429
|
+
}, [_vm._ssrNode((_vm.showInfos ? "<div class=\"email-overlay\" data-v-388a4503></div>" : "<!---->") + " "), _vm.autor ? _vm._ssrNode("<div" + _vm._ssrClass("email-author", [_vm.origem]) + " data-v-388a4503>", "</div>", [_c('fa-icon', {
|
|
10430
10430
|
class: [_vm.origem],
|
|
10431
10431
|
attrs: {
|
|
10432
10432
|
"icon": ['fas', 'reply'],
|
|
10433
10433
|
"title": "Enviado por: " + _vm.autor
|
|
10434
10434
|
}
|
|
10435
|
-
})], 1) : _vm._e(), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-header\" data-v-
|
|
10435
|
+
})], 1) : _vm._e(), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-header\" data-v-388a4503>", "</div>", [_vm._ssrNode("<p" + _vm._ssrAttr("title", _vm.returnMainValue()) + " class=\"email-subject\" data-v-388a4503>" + _vm._ssrEscape("\n " + _vm._s(_vm.returnMainValue()) + "\n ") + "</p> "), _vm._ssrNode("<div class=\"header-container\" data-v-388a4503>", "</div>", [_vm._ssrNode("<div class=\"email-header-content\" data-v-388a4503>", "</div>", [_vm._ssrNode("<div class=\"email-header-infos\" data-v-388a4503>", "</div>", [_vm.from && _vm.from.length ? [_vm._ssrNode("<div class=\"email-to-from-container\" data-v-388a4503>", "</div>", _vm._l(_vm.from, function (sender, index) {
|
|
10436
10436
|
return _c('EmailFrom', {
|
|
10437
10437
|
key: "from-" + index,
|
|
10438
10438
|
attrs: {
|
|
@@ -10441,7 +10441,7 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10441
10441
|
"showMail": _vm.isOpen
|
|
10442
10442
|
}
|
|
10443
10443
|
});
|
|
10444
|
-
}), 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-388a4503>", "</div>", [_vm._l(_vm.para, function (recipient, index) {
|
|
10445
10445
|
return _c('EmailTo', {
|
|
10446
10446
|
key: "to-" + index,
|
|
10447
10447
|
attrs: {
|
|
@@ -10450,11 +10450,11 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10450
10450
|
"showMail": _vm.para.length === 1
|
|
10451
10451
|
}
|
|
10452
10452
|
});
|
|
10453
|
-
}), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-to-btn\" data-v-
|
|
10453
|
+
}), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-to-btn\" data-v-388a4503>", "</div>", [_c('fa-icon', {
|
|
10454
10454
|
attrs: {
|
|
10455
10455
|
"icon": ['fas', 'caret-down']
|
|
10456
10456
|
}
|
|
10457
|
-
})], 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-388a4503><span class=\"email-subject-span\" data-v-388a4503>" + _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-388a4503>", "</span>", [_c('fa-icon', {
|
|
10458
10458
|
attrs: {
|
|
10459
10459
|
"icon": ['fas', 'calendar']
|
|
10460
10460
|
}
|
|
@@ -10474,10 +10474,10 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10474
10474
|
}
|
|
10475
10475
|
}
|
|
10476
10476
|
}, [_vm._ssrNode(_vm._ssrList(_vm.mailInfos, function (info, index) {
|
|
10477
|
-
return "<li class=\"email-info\" data-v-
|
|
10477
|
+
return "<li class=\"email-info\" data-v-388a4503><span data-v-388a4503>" + _vm._ssrEscape(_vm._s(info.label)) + "</span>" + _vm._ssrEscape("\n " + _vm._s(info.value) + "\n ") + "</li>";
|
|
10478
10478
|
}))]) : _vm._e(), _vm._ssrNode(" " + (_vm.isOpen ? "<span" + _vm._ssrClass(null, ['email-actions box-shadow', {
|
|
10479
10479
|
active: _vm.actionsOpen
|
|
10480
|
-
}]) + " data-v-
|
|
10480
|
+
}]) + " data-v-388a4503><span data-v-388a4503></span> <span data-v-388a4503></span> <span data-v-388a4503></span></span>" : "<!---->") + " "), _vm.actionsOpen && _vm.isOpen ? _c('ul', {
|
|
10481
10481
|
directives: [{
|
|
10482
10482
|
name: "clickaway",
|
|
10483
10483
|
rawName: "v-clickaway",
|
|
@@ -10490,7 +10490,7 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10490
10490
|
$event.stopPropagation();
|
|
10491
10491
|
}
|
|
10492
10492
|
}
|
|
10493
|
-
}, [_vm._ssrNode("<li class=\"email-action\" data-v-
|
|
10493
|
+
}, [_vm._ssrNode("<li class=\"email-action\" data-v-388a4503>" + _vm._ssrEscape("\n " + _vm._s(!_vm.openMessage ? 'Visualizar' : 'Esconder') + " texto do e-mail\n ") + "</li>")]) : _vm._e()], 2), _vm._ssrNode(" "), _c('transition', {
|
|
10494
10494
|
attrs: {
|
|
10495
10495
|
"name": "show-y-top"
|
|
10496
10496
|
}
|
|
@@ -10502,7 +10502,7 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10502
10502
|
staticClass: "email-html"
|
|
10503
10503
|
}), _vm._v(" "), _vm.openMessage ? _c('span', {
|
|
10504
10504
|
staticClass: "email-raw"
|
|
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-
|
|
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-388a4503>", "</div>", _vm._l(_vm.anexos, function (anexo, index) {
|
|
10506
10506
|
return _c('EmailFile', {
|
|
10507
10507
|
key: index,
|
|
10508
10508
|
attrs: {
|
|
@@ -10517,20 +10517,20 @@ var __vue_staticRenderFns__$1 = [];
|
|
|
10517
10517
|
/* style */
|
|
10518
10518
|
var __vue_inject_styles__$1 = function __vue_inject_styles__(inject) {
|
|
10519
10519
|
if (!inject) return;
|
|
10520
|
-
inject("data-v-
|
|
10521
|
-
source: ".show-y-top-enter-active[data-v-
|
|
10520
|
+
inject("data-v-388a4503_0", {
|
|
10521
|
+
source: ".show-y-top-enter-active[data-v-388a4503],.show-y-top-leave-enter[data-v-388a4503]{opacity:1;transform:translateY(0);transition:all .2s linear}.show-y-top-enter[data-v-388a4503],.show-y-top-leave-to[data-v-388a4503]{opacity:0;transform:translateY(-2%)}",
|
|
10522
10522
|
map: undefined,
|
|
10523
10523
|
media: undefined
|
|
10524
|
-
}), inject("data-v-
|
|
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:#
|
|
10524
|
+
}), inject("data-v-388a4503_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;justify-content:flex-end;transform:rotateY(180deg) translateY(-3px)}.email-author.principal{justify-content:flex-end;color:#ebb552}.email-item.principal{border-right: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: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;color:gray}",
|
|
10526
10526
|
map: undefined,
|
|
10527
10527
|
media: undefined
|
|
10528
10528
|
});
|
|
10529
10529
|
};
|
|
10530
10530
|
/* scoped */
|
|
10531
|
-
var __vue_scope_id__$1 = "data-v-
|
|
10531
|
+
var __vue_scope_id__$1 = "data-v-388a4503";
|
|
10532
10532
|
/* module identifier */
|
|
10533
|
-
var __vue_module_identifier__$1 = "data-v-
|
|
10533
|
+
var __vue_module_identifier__$1 = "data-v-388a4503";
|
|
10534
10534
|
/* functional template */
|
|
10535
10535
|
var __vue_is_functional_template__$1 = false;
|
|
10536
10536
|
/* style inject shadow dom */
|
package/package.json
CHANGED
|
@@ -273,10 +273,10 @@ export default {
|
|
|
273
273
|
this.actionsOpen = false;
|
|
274
274
|
},
|
|
275
275
|
formattedName(name, index, length, isOpen) {
|
|
276
|
-
return `${name}${index !== length - 1 && !isOpen ? ', ' : ''}`;
|
|
276
|
+
return `${name || '--'}${index !== length - 1 && !isOpen ? ', ' : ''}`;
|
|
277
277
|
},
|
|
278
278
|
formattedMail(mail, index, length, isOpen) {
|
|
279
|
-
return `<${mail}${index !== length - 1 && isOpen ? '>, ' : '>'}`;
|
|
279
|
+
return `<${mail || '--'}${index !== length - 1 && isOpen ? '>, ' : '>'}`;
|
|
280
280
|
},
|
|
281
281
|
formattedToName(name, index, length) {
|
|
282
282
|
return index === 0 ? `Para: ${name || ''}` : name ? `${name}${index !== length - 1 ? ', ' : ''}` : '';
|
|
@@ -351,16 +351,18 @@ export default {
|
|
|
351
351
|
}
|
|
352
352
|
|
|
353
353
|
.email-author.outros {
|
|
354
|
-
color: #33B8DF
|
|
354
|
+
color: #33B8DF;
|
|
355
|
+
justify-content: flex-end;
|
|
356
|
+
transform: rotateY(180deg) translateY(-3px);
|
|
355
357
|
}
|
|
356
358
|
|
|
357
359
|
.email-author.principal {
|
|
358
|
-
|
|
359
|
-
|
|
360
|
+
justify-content: flex-end;
|
|
361
|
+
color: #ebb552;
|
|
360
362
|
}
|
|
361
363
|
|
|
362
364
|
.email-item.principal {
|
|
363
|
-
border-right: 3px solid #
|
|
365
|
+
border-right: 3px solid #ebb552;
|
|
364
366
|
}
|
|
365
367
|
|
|
366
368
|
.email-item.info-open {
|