vue-intergrall-plugins 1.0.100 → 1.1.1
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.
- package/dist/vue-intergrall-plugins.esm.js +50 -45
- package/dist/vue-intergrall-plugins.min.js +1 -1
- package/dist/vue-intergrall-plugins.ssr.js +70 -65
- package/package.json +1 -1
- package/src/lib-components/Email/EmailExpanded.vue +7 -4
- package/src/lib-components/Email/EmailFrom.vue +2 -2
- package/src/lib-components/Email/EmailItem.vue +12 -9
- package/src/lib-components/Email/EmailTo.vue +2 -2
|
@@ -6781,7 +6781,7 @@ var __vue_component__$r = __vue_component__$q;var textoLongo = {
|
|
|
6781
6781
|
return "".concat(textoLongo);
|
|
6782
6782
|
},
|
|
6783
6783
|
replaceUnicodeWithEmoji: function replaceUnicodeWithEmoji(text) {
|
|
6784
|
-
if (!text || typeof text !==
|
|
6784
|
+
if (!text || typeof text !== "string") return "";
|
|
6785
6785
|
return text.replace(/&?#(\d+);/g, function (_, dec) {
|
|
6786
6786
|
return String.fromCodePoint(parseInt(dec, 10));
|
|
6787
6787
|
});
|
|
@@ -6796,7 +6796,7 @@ var __vue_component__$r = __vue_component__$q;var textoLongo = {
|
|
|
6796
6796
|
formataDataHora: function formataDataHora(dataHora, origem, cortarSegundos) {
|
|
6797
6797
|
try {
|
|
6798
6798
|
if (!dataHora) return "";
|
|
6799
|
-
if (dataHora ==
|
|
6799
|
+
if (dataHora == "1111-11-11 00:00:00") return "";
|
|
6800
6800
|
var arrDataHora = dataHora.split(" ");
|
|
6801
6801
|
if (arrDataHora.length) {
|
|
6802
6802
|
var data = arrDataHora[0];
|
|
@@ -6819,22 +6819,22 @@ var __vue_component__$r = __vue_component__$q;var textoLongo = {
|
|
|
6819
6819
|
},
|
|
6820
6820
|
formataDateHoraDateFns: function formataDateHoraDateFns(dataHora, dataServer, dicionario) {
|
|
6821
6821
|
if (!dataHora) return "";
|
|
6822
|
-
var invalids = [
|
|
6823
|
-
if (invalids.includes(dataHora)) return
|
|
6824
|
-
var daysOfWeek = [
|
|
6825
|
-
var monthsOfYear = [
|
|
6822
|
+
var invalids = ["1111-11-11 00:00:00", "0000-00-00 00:00:00", "0000-00-00", "1111-11-11", "00:00:00"];
|
|
6823
|
+
if (invalids.includes(dataHora)) return "";
|
|
6824
|
+
var daysOfWeek = ["dom.", "seg.", "ter.", "qua.", "qui.", "sex.", dicionario.sabado_abrev];
|
|
6825
|
+
var monthsOfYear = ["jan.", "fev.", "mar.", "abr.", "mai.", "jun.", "jul.", "ago.", "set.", "out.", "nov.", "dez."];
|
|
6826
6826
|
var parseDate = function parseDate(dateStr) {
|
|
6827
|
-
if (dateStr.includes(
|
|
6828
|
-
var _dateStr$split = dateStr.split(
|
|
6827
|
+
if (dateStr.includes("/")) {
|
|
6828
|
+
var _dateStr$split = dateStr.split("/"),
|
|
6829
6829
|
_dateStr$split2 = _slicedToArray(_dateStr$split, 3),
|
|
6830
6830
|
_day = _dateStr$split2[0],
|
|
6831
6831
|
_month = _dateStr$split2[1],
|
|
6832
6832
|
yearTime = _dateStr$split2[2];
|
|
6833
|
-
var _yearTime$split = yearTime.split(
|
|
6833
|
+
var _yearTime$split = yearTime.split(" "),
|
|
6834
6834
|
_yearTime$split2 = _slicedToArray(_yearTime$split, 2),
|
|
6835
6835
|
year = _yearTime$split2[0],
|
|
6836
6836
|
time = _yearTime$split2[1];
|
|
6837
|
-
var _ref = time ? time.split(
|
|
6837
|
+
var _ref = time ? time.split(":") : ["00", "00"],
|
|
6838
6838
|
_ref2 = _slicedToArray(_ref, 2),
|
|
6839
6839
|
_hours = _ref2[0],
|
|
6840
6840
|
_minutes = _ref2[1];
|
|
@@ -6846,8 +6846,8 @@ var __vue_component__$r = __vue_component__$q;var textoLongo = {
|
|
|
6846
6846
|
var dayOfWeek = daysOfWeek[date.getDay()];
|
|
6847
6847
|
var day = date.getDate();
|
|
6848
6848
|
var month = monthsOfYear[date.getMonth()];
|
|
6849
|
-
var hours = date.getHours().toString().padStart(2,
|
|
6850
|
-
var minutes = date.getMinutes().toString().padStart(2,
|
|
6849
|
+
var hours = date.getHours().toString().padStart(2, "0");
|
|
6850
|
+
var minutes = date.getMinutes().toString().padStart(2, "0");
|
|
6851
6851
|
var formattedDate = "".concat(dayOfWeek, ", ").concat(day, " de ").concat(month, ", ").concat(hours, ":").concat(minutes);
|
|
6852
6852
|
var getRawData = function getRawData() {
|
|
6853
6853
|
var _dataServer$split = dataServer.split(" "),
|
|
@@ -6882,17 +6882,17 @@ var __vue_component__$r = __vue_component__$q;var textoLongo = {
|
|
|
6882
6882
|
if (seconds < 60) {
|
|
6883
6883
|
distance = "agora";
|
|
6884
6884
|
} else if (minutesDiff < 60) {
|
|
6885
|
-
distance = "".concat(dicionario.ha_message, " ").concat(minutesDiff, " ").concat(minutesDiff > 1 ?
|
|
6885
|
+
distance = "".concat(dicionario.ha_message, " ").concat(minutesDiff, " ").concat(minutesDiff > 1 ? "minutos" : "minuto");
|
|
6886
6886
|
} else if (hoursDifference < 24) {
|
|
6887
|
-
distance = "".concat(dicionario.ha_message, " ").concat(hoursDifference, " ").concat(hoursDifference > 1 ?
|
|
6887
|
+
distance = "".concat(dicionario.ha_message, " ").concat(hoursDifference, " ").concat(hoursDifference > 1 ? "horas" : "hora");
|
|
6888
6888
|
} else if (daysDifference < 30) {
|
|
6889
|
-
distance = "".concat(dicionario.ha_message, " ").concat(daysDifference, " ").concat(daysDifference > 1 ?
|
|
6889
|
+
distance = "".concat(dicionario.ha_message, " ").concat(daysDifference, " ").concat(daysDifference > 1 ? "dias" : "dia");
|
|
6890
6890
|
} else if (monthsDifference < 12) {
|
|
6891
|
-
distance = "".concat(dicionario.ha_message, " ").concat(monthsDifference, " ").concat(monthsDifference > 1 ?
|
|
6891
|
+
distance = "".concat(dicionario.ha_message, " ").concat(monthsDifference, " ").concat(monthsDifference > 1 ? "meses" : dicionario.lower_text_month);
|
|
6892
6892
|
} else {
|
|
6893
|
-
distance = "".concat(date.getFullYear(), " ").concat(dicionario.ha_message, " ").concat(yearsDifference, " ").concat(yearsDifference === 1 ?
|
|
6893
|
+
distance = "".concat(date.getFullYear(), " ").concat(dicionario.ha_message, " ").concat(yearsDifference, " ").concat(yearsDifference === 1 ? "ano" : "anos");
|
|
6894
6894
|
}
|
|
6895
|
-
var finalText = !"".concat(formattedDate, " (").concat(distance, ")").includes(
|
|
6895
|
+
var finalText = !"".concat(formattedDate, " (").concat(distance, ")").includes("undefined") ? "".concat(formattedDate, " (").concat(distance, ")") : "";
|
|
6896
6896
|
return finalText;
|
|
6897
6897
|
}
|
|
6898
6898
|
}
|
|
@@ -10217,7 +10217,7 @@ var script$2 = {
|
|
|
10217
10217
|
required: false,
|
|
10218
10218
|
default: ""
|
|
10219
10219
|
},
|
|
10220
|
-
|
|
10220
|
+
email: {
|
|
10221
10221
|
type: String,
|
|
10222
10222
|
required: false,
|
|
10223
10223
|
default: ""
|
|
@@ -10243,23 +10243,23 @@ var __vue_render__$2 = function __vue_render__() {
|
|
|
10243
10243
|
var _c = _vm._self._c || _h;
|
|
10244
10244
|
return _c('div', {
|
|
10245
10245
|
class: _vm.emailToClass
|
|
10246
|
-
}, [_vm._ssrNode((_vm.currentName ? "<p" + _vm._ssrAttr("title", _vm.currentName) + " class=\"to\" data-v-
|
|
10246
|
+
}, [_vm._ssrNode((_vm.currentName ? "<p" + _vm._ssrAttr("title", _vm.currentName) + " class=\"to\" data-v-57bc1daf>" + _vm._ssrEscape(_vm._s(_vm.currentName)) + "</p>" : "<!---->") + " " + (_vm.showMail && _vm.email ? "<span" + _vm._ssrAttr("title", _vm.email) + " class=\"additional\" data-v-57bc1daf>" + _vm._ssrEscape(_vm._s("<" + _vm.email + ">")) + "</span>" : "<!---->"))]);
|
|
10247
10247
|
};
|
|
10248
10248
|
var __vue_staticRenderFns__$2 = [];
|
|
10249
10249
|
|
|
10250
10250
|
/* style */
|
|
10251
10251
|
var __vue_inject_styles__$2 = function __vue_inject_styles__(inject) {
|
|
10252
10252
|
if (!inject) return;
|
|
10253
|
-
inject("data-v-
|
|
10254
|
-
source: ".email-to[data-v-
|
|
10253
|
+
inject("data-v-57bc1daf_0", {
|
|
10254
|
+
source: ".email-to[data-v-57bc1daf]{display:flex;align-items:center}.email-to .to[data-v-57bc1daf]{margin:0}.email-to .additional[data-v-57bc1daf],.email-to .to[data-v-57bc1daf]{font-size:.7rem;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:gray}.email-to .additional[data-v-57bc1daf]{margin-left:5px}",
|
|
10255
10255
|
map: undefined,
|
|
10256
10256
|
media: undefined
|
|
10257
10257
|
});
|
|
10258
10258
|
};
|
|
10259
10259
|
/* scoped */
|
|
10260
|
-
var __vue_scope_id__$2 = "data-v-
|
|
10260
|
+
var __vue_scope_id__$2 = "data-v-57bc1daf";
|
|
10261
10261
|
/* module identifier */
|
|
10262
|
-
var __vue_module_identifier__$2 = "data-v-
|
|
10262
|
+
var __vue_module_identifier__$2 = "data-v-57bc1daf";
|
|
10263
10263
|
/* functional template */
|
|
10264
10264
|
var __vue_is_functional_template__$2 = false;
|
|
10265
10265
|
/* style inject shadow dom */
|
|
@@ -10395,8 +10395,8 @@ var EmailTo = __vue_component__$4;var script$1 = {
|
|
|
10395
10395
|
var str = '';
|
|
10396
10396
|
arr.forEach(function (_ref, index) {
|
|
10397
10397
|
var name = _ref.name,
|
|
10398
|
-
|
|
10399
|
-
str += "".concat(name || '', " ").concat(
|
|
10398
|
+
email = _ref.email;
|
|
10399
|
+
if (!name && !email) str += '';else str += "".concat(name || '', " ").concat(email ? "<".concat(email, ">") : '').concat((name || email) && index !== arr.length - 1 ? ', ' : '');
|
|
10400
10400
|
});
|
|
10401
10401
|
return str;
|
|
10402
10402
|
};
|
|
@@ -10451,11 +10451,11 @@ var EmailTo = __vue_component__$4;var script$1 = {
|
|
|
10451
10451
|
returnAuthorName: function returnAuthorName() {
|
|
10452
10452
|
if (!this.from || !this.from.length) return this.autor || '';
|
|
10453
10453
|
var _this$from$ = this.from[0],
|
|
10454
|
-
|
|
10454
|
+
email = _this$from$.email,
|
|
10455
10455
|
name = _this$from$.name;
|
|
10456
|
-
if (!name) return
|
|
10457
|
-
if (!
|
|
10458
|
-
if (this.isOpen) return "".concat(name, " (").concat(
|
|
10456
|
+
if (!name) return email;
|
|
10457
|
+
if (!email) return name;
|
|
10458
|
+
if (this.isOpen) return "".concat(name, " (").concat(email, ")");
|
|
10459
10459
|
return name;
|
|
10460
10460
|
},
|
|
10461
10461
|
gerarMensagemEstilizada: function gerarMensagemEstilizada(msg) {
|
|
@@ -10640,10 +10640,12 @@ var EmailTo = __vue_component__$4;var script$1 = {
|
|
|
10640
10640
|
this.actionsOpen = false;
|
|
10641
10641
|
},
|
|
10642
10642
|
formattedName: function formattedName(name, index, length, isOpen) {
|
|
10643
|
+
if (!name) return '--';
|
|
10643
10644
|
return "".concat(name || '--').concat(index !== length - 1 && !isOpen ? ', ' : '');
|
|
10644
10645
|
},
|
|
10645
|
-
formattedMail: function formattedMail(
|
|
10646
|
-
|
|
10646
|
+
formattedMail: function formattedMail(email, index, length, isOpen) {
|
|
10647
|
+
if (!email) return '';
|
|
10648
|
+
return "<".concat(email || '--').concat(index !== length - 1 && isOpen ? '>, ' : '>');
|
|
10647
10649
|
},
|
|
10648
10650
|
formattedToName: function formattedToName(name, index, length) {
|
|
10649
10651
|
var addVirgulaDps = index < length - 1;
|
|
@@ -10693,19 +10695,19 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10693
10695
|
return _vm.openByItem($event);
|
|
10694
10696
|
}
|
|
10695
10697
|
}
|
|
10696
|
-
}, [_vm._ssrNode((_vm.showInfos ? "<div class=\"email-overlay\" data-v-
|
|
10698
|
+
}, [_vm._ssrNode((_vm.showInfos ? "<div class=\"email-overlay\" data-v-7353e04f></div>" : "<!---->") + " "), _vm.autor ? _vm._ssrNode("<div" + _vm._ssrClass("email-author", [_vm.origem, _vm.isMainEmail ? 'main' : '']) + " data-v-7353e04f>", "</div>", [_c('fa-icon', {
|
|
10697
10699
|
class: [_vm.origem],
|
|
10698
10700
|
attrs: {
|
|
10699
10701
|
"icon": ['fas', 'reply'],
|
|
10700
10702
|
"title": "Enviado por: " + _vm.autor
|
|
10701
10703
|
}
|
|
10702
|
-
}), _vm._ssrNode(" <p" + _vm._ssrAttr("title", _vm.returnAuthorName()) + " class=\"email-author-name\" data-v-
|
|
10704
|
+
}), _vm._ssrNode(" <p" + _vm._ssrAttr("title", _vm.returnAuthorName()) + " class=\"email-author-name\" data-v-7353e04f>" + _vm._ssrEscape(_vm._s(_vm.returnAuthorName())) + "</p> "), _c('fa-icon', {
|
|
10703
10705
|
staticClass: "email-to-svg",
|
|
10704
10706
|
attrs: {
|
|
10705
10707
|
"icon": ['fas', _vm.origem === 'outros' ? 'user' : 'headset'],
|
|
10706
10708
|
"title": "E-mail " + (_vm.origem === 'outros' ? 'recebido' : 'enviado')
|
|
10707
10709
|
}
|
|
10708
|
-
})], 2) : _vm._e(), _vm._ssrNode(" "), _vm.customButtons && _vm.customButtons.length ? _vm._ssrNode("<div class=\"email-custom-buttons\" data-v-
|
|
10710
|
+
})], 2) : _vm._e(), _vm._ssrNode(" "), _vm.customButtons && _vm.customButtons.length ? _vm._ssrNode("<div class=\"email-custom-buttons\" data-v-7353e04f>", "</div>", _vm._l(_vm.customButtons, function (button, index) {
|
|
10709
10711
|
return _c('span', {
|
|
10710
10712
|
directives: [{
|
|
10711
10713
|
name: "show",
|
|
@@ -10736,7 +10738,7 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10736
10738
|
"innerHTML": _vm._s(button.svgIcon)
|
|
10737
10739
|
}
|
|
10738
10740
|
})], 1);
|
|
10739
|
-
}), 0) : _vm._e(), _vm._ssrNode(" "), _vm.customActionButtons && _vm.customActionButtons.length ? _vm._ssrNode("<div class=\"email-custom-action-buttons\" data-v-
|
|
10741
|
+
}), 0) : _vm._e(), _vm._ssrNode(" "), _vm.customActionButtons && _vm.customActionButtons.length ? _vm._ssrNode("<div class=\"email-custom-action-buttons\" data-v-7353e04f>", "</div>", _vm._l(_vm.customActionButtons, function (button, index) {
|
|
10740
10742
|
return _c('button', {
|
|
10741
10743
|
directives: [{
|
|
10742
10744
|
name: "show",
|
|
@@ -10766,25 +10768,25 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10766
10768
|
domProps: {
|
|
10767
10769
|
"innerHTML": _vm._s(button.svgIcon)
|
|
10768
10770
|
}
|
|
10769
|
-
}), _vm._ssrNode(" " + (button.label ? "<span class=\"email-custom-action-label\" data-v-
|
|
10770
|
-
}), 0) : _vm._e(), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-header\" data-v-
|
|
10771
|
+
}), _vm._ssrNode(" " + (button.label ? "<span class=\"email-custom-action-label\" data-v-7353e04f>" + _vm._ssrEscape(_vm._s(button.label)) + "</span>" : "<!---->"))], 2);
|
|
10772
|
+
}), 0) : _vm._e(), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-header\" data-v-7353e04f>", "</div>", [_vm._ssrNode("<p" + _vm._ssrAttr("title", _vm.returnMainValue()) + " class=\"email-subject\" data-v-7353e04f>" + _vm._ssrEscape("\n " + _vm._s(_vm.returnMainValue()) + "\n ") + "</p> "), _vm._ssrNode("<div class=\"header-container\" data-v-7353e04f>", "</div>", [_vm._ssrNode("<div" + _vm._ssrClass(null, "email-header-content" + (_vm.isOpen ? ' open' : '')) + " data-v-7353e04f>", "</div>", [_vm._ssrNode("<div class=\"email-header-infos\" data-v-7353e04f>", "</div>", [_vm.para && _vm.para.length ? [_vm._ssrNode("<div class=\"email-to-from-container\" data-v-7353e04f>", "</div>", [_vm._l(_vm.paraCopia, function (recipient, index) {
|
|
10771
10773
|
return _c('EmailTo', {
|
|
10772
10774
|
key: "to-" + index,
|
|
10773
10775
|
attrs: {
|
|
10774
10776
|
"currentName": _vm.formattedToName(recipient.name, index, _vm.paraCopia.length),
|
|
10775
|
-
"
|
|
10777
|
+
"email": recipient.email,
|
|
10776
10778
|
"showMail": _vm.isOpen
|
|
10777
10779
|
}
|
|
10778
10780
|
});
|
|
10779
10781
|
}), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-to-btn\"" + _vm._ssrStyle(null, null, {
|
|
10780
10782
|
display: _vm.isOpen ? '' : 'none'
|
|
10781
|
-
}) + " data-v-
|
|
10783
|
+
}) + " data-v-7353e04f>", "</div>", [_c('fa-icon', {
|
|
10782
10784
|
attrs: {
|
|
10783
10785
|
"icon": ['fas', 'caret-down']
|
|
10784
10786
|
}
|
|
10785
|
-
})], 1)], 2)] : _vm._e(), _vm._ssrNode(" " + (!_vm.isMainEmail && _vm.isOpen ? "<div class=\"email-subject-secondary\" data-v-
|
|
10787
|
+
})], 1)], 2)] : _vm._e(), _vm._ssrNode(" " + (!_vm.isMainEmail && _vm.isOpen ? "<div class=\"email-subject-secondary\" data-v-7353e04f><span class=\"email-subject-span\" data-v-7353e04f>" + _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)) + _vm._ssrStyle(null, null, {
|
|
10786
10788
|
display: _vm.formattedDate ? '' : 'none'
|
|
10787
|
-
}) + " data-v-
|
|
10789
|
+
}) + " data-v-7353e04f>", "</span>", [_c('fa-icon', {
|
|
10788
10790
|
attrs: {
|
|
10789
10791
|
"icon": ['fas', 'calendar']
|
|
10790
10792
|
}
|
|
@@ -10805,12 +10807,12 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10805
10807
|
}
|
|
10806
10808
|
}
|
|
10807
10809
|
}, [_vm._ssrNode(_vm._ssrList(_vm.mailInfos, function (info, index) {
|
|
10808
|
-
return "<li class=\"email-info\" data-v-
|
|
10810
|
+
return "<li class=\"email-info\" data-v-7353e04f><span data-v-7353e04f>" + _vm._ssrEscape(_vm._s(info.label)) + "</span>" + _vm._ssrEscape("\n " + _vm._s(info.value) + "\n ") + "</li>";
|
|
10809
10811
|
}))]) : _vm._e(), _vm._ssrNode(" " + (_vm.isOpen ? "<span" + _vm._ssrClass(null, ['email-actions box-shadow', {
|
|
10810
10812
|
active: _vm.actionsOpen
|
|
10811
10813
|
}, {
|
|
10812
10814
|
main: _vm.isMainEmail
|
|
10813
|
-
}]) + " data-v-
|
|
10815
|
+
}]) + " data-v-7353e04f><span data-v-7353e04f></span> <span data-v-7353e04f></span> <span data-v-7353e04f></span></span>" : "<!---->") + " "), _vm.actionsOpen && _vm.isOpen ? _c('ul', {
|
|
10814
10816
|
directives: [{
|
|
10815
10817
|
name: "clickaway",
|
|
10816
10818
|
rawName: "v-clickaway",
|
|
@@ -10823,7 +10825,7 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10823
10825
|
$event.stopPropagation();
|
|
10824
10826
|
}
|
|
10825
10827
|
}
|
|
10826
|
-
}, [_vm._ssrNode("<li class=\"email-action\" data-v-
|
|
10828
|
+
}, [_vm._ssrNode("<li class=\"email-action\" data-v-7353e04f>" + _vm._ssrEscape("\n " + _vm._s(!_vm.openMessage ? 'Visualizar' : 'Esconder') + " texto do e-mail\n ") + "</li>")]) : _vm._e()], 2), _vm._ssrNode(" "), _c('transition', {
|
|
10827
10829
|
attrs: {
|
|
10828
10830
|
"name": "show-y-top"
|
|
10829
10831
|
}
|
|
@@ -10858,7 +10860,7 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10858
10860
|
staticClass: "email-raw"
|
|
10859
10861
|
}, [_vm._v(_vm._s(_vm.mensagem))]) : _vm._e()], 1)]), _vm._ssrNode(" "), _vm.filteredFiles && _vm.filteredFiles.length ? _vm._ssrNode("<div class=\"email-files\"" + _vm._ssrStyle(null, null, {
|
|
10860
10862
|
display: _vm.isOpen || _vm.isMainEmail ? '' : 'none'
|
|
10861
|
-
}) + " data-v-
|
|
10863
|
+
}) + " data-v-7353e04f>", "</div>", _vm._l(_vm.filteredFiles, function (anexo, index) {
|
|
10862
10864
|
return _c('EmailFile', {
|
|
10863
10865
|
key: index,
|
|
10864
10866
|
attrs: {
|
|
@@ -10873,20 +10875,20 @@ var __vue_staticRenderFns__$1 = [];
|
|
|
10873
10875
|
/* style */
|
|
10874
10876
|
var __vue_inject_styles__$1 = function __vue_inject_styles__(inject) {
|
|
10875
10877
|
if (!inject) return;
|
|
10876
|
-
inject("data-v-
|
|
10877
|
-
source: ".show-y-top-enter-active[data-v-
|
|
10878
|
+
inject("data-v-7353e04f_0", {
|
|
10879
|
+
source: ".show-y-top-enter-active[data-v-7353e04f],.show-y-top-leave-enter[data-v-7353e04f]{opacity:1;transform:translateY(0);transition:all .2s linear}.show-y-top-enter[data-v-7353e04f],.show-y-top-leave-to[data-v-7353e04f]{opacity:0;transform:translateY(-2%)}",
|
|
10878
10880
|
map: undefined,
|
|
10879
10881
|
media: undefined
|
|
10880
|
-
}), inject("data-v-
|
|
10882
|
+
}), inject("data-v-7353e04f_1", {
|
|
10881
10883
|
source: ".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{--konecta-gray-3:#515050;--konecta-light:#f8f9fa;--blue-silver-4:#dae0e5;--email-principal:#faa732;--email-outros:#86b7fe;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-custom-action-buttons{display:flex;gap:7px;align-items:center;flex-wrap:wrap;max-width:100%;cursor:default}.email-custom-action-button{margin-top:10px;background-color:var(--konecta-light)!important;color:var(--konecta-dark)!important;border:1px solid var(--blue-silver-4)!important;flex:1;min-width:100px;display:flex;align-items:center;justify-content:center;gap:5px;padding:5px;overflow:hidden;border-radius:5px;text-overflow:ellipsis;white-space:nowrap;transition:all .1s ease-in-out;max-width:100%;cursor:pointer}.email-custom-action-button:hover{background-color:#e9ecef!important}.email-custom-action-button:disabled{background-color:var(--konecta-gray-3)!important;border:1px solid #25282b!important;cursor:not-allowed!important}.email-item.outros{border-left:3px solid var(--email-outros)}.email-author-name{margin:0 5px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.email-author.outros{color:var(--email-outros)}.email-author.outros>svg:nth-child(1){transform:rotate(180deg)}.email-author.principal{color:var(--email-principal)}.email-author.main{font-size:1.025rem}.email-item.principal{border-left:3px solid var(--email-principal)}.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%;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;opacity:.7;transition:opacity .1s ease-in-out}.menu-mensagem:active,.menu-mensagem:focus,.menu-mensagem:hover{opacity:1}.email-error-content{display:flex;justify-content:center;align-items:center;flex-direction:column;gap:5px;padding:10px}.email-error-content p{margin:0;color:#e74c3c}.email-error-content button{border:1px solid #ccc;border-radius:3px;padding:5px 10px;background-color:#fff;cursor:pointer;transition:background-color 150ms ease-in-out}.email-error-content button:hover{background-color:#eee}",
|
|
10882
10884
|
map: undefined,
|
|
10883
10885
|
media: undefined
|
|
10884
10886
|
});
|
|
10885
10887
|
};
|
|
10886
10888
|
/* scoped */
|
|
10887
|
-
var __vue_scope_id__$1 = "data-v-
|
|
10889
|
+
var __vue_scope_id__$1 = "data-v-7353e04f";
|
|
10888
10890
|
/* module identifier */
|
|
10889
|
-
var __vue_module_identifier__$1 = "data-v-
|
|
10891
|
+
var __vue_module_identifier__$1 = "data-v-7353e04f";
|
|
10890
10892
|
/* functional template */
|
|
10891
10893
|
var __vue_is_functional_template__$1 = false;
|
|
10892
10894
|
/* style inject shadow dom */
|
|
@@ -10956,12 +10958,15 @@ var script = {
|
|
|
10956
10958
|
this.$emit('close');
|
|
10957
10959
|
},
|
|
10958
10960
|
formattedName: function formattedName(name, index, length, isOpen) {
|
|
10961
|
+
if (!name) return '';
|
|
10959
10962
|
return "".concat(name).concat(index !== length - 1 && !isOpen ? ', ' : '');
|
|
10960
10963
|
},
|
|
10961
|
-
formattedMail: function formattedMail(
|
|
10962
|
-
|
|
10964
|
+
formattedMail: function formattedMail(email, index, length, isOpen) {
|
|
10965
|
+
if (!email) return '';
|
|
10966
|
+
return "<".concat(email).concat(index !== length - 1 && isOpen ? '>, ' : '>');
|
|
10963
10967
|
},
|
|
10964
10968
|
formattedToName: function formattedToName(name, index, length) {
|
|
10969
|
+
if (!name) return '';
|
|
10965
10970
|
return index === 0 ? "".concat(name || '') : name ? "".concat(name).concat(index !== length - 1 ? ', ' : '') : '';
|
|
10966
10971
|
}
|
|
10967
10972
|
}
|
|
@@ -10978,13 +10983,13 @@ var __vue_render__ = function __vue_render__() {
|
|
|
10978
10983
|
on: {
|
|
10979
10984
|
"click": _vm.close
|
|
10980
10985
|
}
|
|
10981
|
-
}, [_vm._ssrNode("<div class=\"email-blocker-content konecta-box-shadow\" data-v-
|
|
10982
|
-
return "<span data-v-
|
|
10983
|
-
}) : "<span data-v-
|
|
10984
|
-
return "<span data-v-
|
|
10985
|
-
}) : "<span data-v-
|
|
10986
|
-
return "<tr data-v-
|
|
10987
|
-
}) : "<!---->") + " "), _vm.anexos && _vm.anexos.length ? _vm._ssrNode("<tr data-v-
|
|
10986
|
+
}, [_vm._ssrNode("<div class=\"email-blocker-content konecta-box-shadow\" data-v-659227f5>", "</div>", [_vm._ssrNode("<svg fill=\"var(--exit-button-color)\" width=\"18px\" height=\"18px\" viewBox=\"0 0 32 32\" xmlns=\"http://www.w3.org/2000/svg\" stroke=\"var(--exit-button-color)\" class=\"btn-exit\" data-v-659227f5><g id=\"SVGRepo_bgCarrier\" stroke-width=\"0\" data-v-659227f5></g> <g id=\"SVGRepo_tracerCarrier\" stroke-linecap=\"round\" stroke-linejoin=\"round\" data-v-659227f5></g> <g id=\"SVGRepo_iconCarrier\" data-v-659227f5><path d=\"M 7.21875 5.78125 L 5.78125 7.21875 L 14.5625 16 L 5.78125 24.78125 L 7.21875 26.21875 L 16 17.4375 L 24.78125 26.21875 L 26.21875 24.78125 L 17.4375 16 L 26.21875 7.21875 L 24.78125 5.78125 L 16 14.5625 Z\" data-v-659227f5></path></g></svg> <h1 class=\"email-title\" data-v-659227f5>" + _vm._ssrEscape(_vm._s(_vm.assunto ? _vm.replaceUnicodeWithEmoji(_vm.htmlEntityToEmoji(_vm.assunto)) : '(Sem assunto)')) + "</h1> "), _vm._ssrNode("<table class=\"email-content-table\" data-v-659227f5>", "</table>", [_vm._ssrNode("<tbody data-v-659227f5>", "</tbody>", [_vm._ssrNode("<tr data-v-659227f5><th data-v-659227f5>\n De:\n </th> <td data-v-659227f5>" + (_vm.from && _vm.from.length ? _vm._ssrList(_vm.from, function (sender, index) {
|
|
10987
|
+
return "<span data-v-659227f5>" + _vm._ssrEscape("\n " + _vm._s(_vm.formattedName(sender.name, index, _vm.from.length, true)) + "\n " + _vm._s(_vm.formattedMail(sender.email, index, _vm.from.length, true)) + "\n ") + "</span>";
|
|
10988
|
+
}) : "<span data-v-659227f5> -- </span>") + "</td></tr> <tr data-v-659227f5><th data-v-659227f5>\n Para:\n </th> <td data-v-659227f5>" + (_vm.para && _vm.para.length ? _vm._ssrList(_vm.para, function (recipient, index) {
|
|
10989
|
+
return "<span data-v-659227f5>" + _vm._ssrEscape("\n " + _vm._s(_vm.formattedToName(recipient.name, index, _vm.para.length)) + "\n " + _vm._s("<" + recipient.email + ">") + "\n ") + "</span>";
|
|
10990
|
+
}) : "<span data-v-659227f5> -- </span>") + "</td></tr> " + (_vm.dataHora ? "<tr data-v-659227f5><th data-v-659227f5>Data:</th> <td data-v-659227f5>" + _vm._ssrEscape(_vm._s(_vm.formataDataHora(_vm.dataHora, true, false)) + " - " + _vm._s(_vm.formattedDate)) + "</td></tr>" : "<!---->") + " " + (_vm.additionalTableData && _vm.additionalTableData.length ? _vm._ssrList(_vm.additionalTableData, function (data, index) {
|
|
10991
|
+
return "<tr data-v-659227f5><th data-v-659227f5>" + _vm._ssrEscape(_vm._s(data.label)) + "</th> <td data-v-659227f5>" + _vm._ssrEscape(_vm._s(data.value)) + "</td></tr>";
|
|
10992
|
+
}) : "<!---->") + " "), _vm.anexos && _vm.anexos.length ? _vm._ssrNode("<tr data-v-659227f5>", "</tr>", [_vm._ssrNode("<th data-v-659227f5>Anexos:</th> "), _vm._ssrNode("<td data-v-659227f5>", "</td>", [_vm._ssrNode("<div class=\"email-file-content\" data-v-659227f5>", "</div>", _vm._l(_vm.anexos, function (anexo, index) {
|
|
10988
10993
|
return _c('EmailFile', {
|
|
10989
10994
|
key: index,
|
|
10990
10995
|
attrs: {
|
|
@@ -10992,23 +10997,23 @@ var __vue_render__ = function __vue_render__() {
|
|
|
10992
10997
|
"dominio": _vm.dominio
|
|
10993
10998
|
}
|
|
10994
10999
|
});
|
|
10995
|
-
}), 1)])], 2) : _vm._e()], 2)]), _vm._ssrNode(" <hr class=\"email-divisor\" data-v-
|
|
11000
|
+
}), 1)])], 2) : _vm._e()], 2)]), _vm._ssrNode(" <hr class=\"email-divisor\" data-v-659227f5> <div class=\"email-raw-content\" data-v-659227f5><h2 data-v-659227f5>Mensagem original</h2> <div data-v-659227f5>" + _vm._ssrEscape(_vm._s(_vm.html || _vm.mensagem)) + "</div></div>")], 2)]);
|
|
10996
11001
|
};
|
|
10997
11002
|
var __vue_staticRenderFns__ = [];
|
|
10998
11003
|
|
|
10999
11004
|
/* style */
|
|
11000
11005
|
var __vue_inject_styles__ = function __vue_inject_styles__(inject) {
|
|
11001
11006
|
if (!inject) return;
|
|
11002
|
-
inject("data-v-
|
|
11003
|
-
source: ".btn-exit[data-v-
|
|
11007
|
+
inject("data-v-659227f5_0", {
|
|
11008
|
+
source: ".btn-exit[data-v-659227f5]{cursor:pointer;position:absolute;top:15px;right:15px;z-index:1}.konecta-box-shadow[data-v-659227f5]{box-shadow:var(--konecta-box-shadow)}.email-blocker[data-v-659227f5]{--konecta-pink:#d54286;--konecta-light:#f8f9fa;--konecta-dark:#212529;--white:#fff;--white-shadow:rgba(255, 255, 255, 0.5);--konecta-box-shadow:0 5px 15px rgba(0, 0, 0, 0.5);--gray-3:#e2e6ea;--exit-button-color:#999;font-family:Roboto,sans-serif;position:absolute;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;z-index:99;background-color:var(--white-shadow);overflow:visible}.email-blocker-content[data-v-659227f5]{width:90%;height:90%;min-width:300px;min-height:300px;max-width:90%;max-height:90%;overflow:hidden auto;position:relative;background-color:var(--white);color:var(--konecta-dark);border-radius:6px}.email-title[data-v-659227f5]{font-size:1.1rem;width:100%;background-color:var(--konecta-light);color:var(--konecta-pink);border-bottom:1px solid var(--gray-3);padding:15px;display:flex;align-items:center;justify-content:space-between;border-top-left-radius:6px;border-top-right-radius:6px;margin:0 0 10px 0;position:relative}.email-content-table[data-v-659227f5]{padding:0;margin:0 10px 10px;font-size:.95rem;border-collapse:collapse;width:calc(100% - 20px)}.email-content-table td[data-v-659227f5],.email-content-table th[data-v-659227f5]{border:solid thin var(--gray-3)}.email-content-table th[data-v-659227f5]{min-width:100px;text-align:left;vertical-align:text-top;padding:12px 20px;font-weight:400;border-right:unset}.email-divisor[data-v-659227f5]{margin-top:15px;margin-bottom:10px;height:1px;width:100%;background:var(--gray-3);border:unset}.email-content-table td[data-v-659227f5]{padding:8px;border-left:unset}.email-raw-content[data-v-659227f5]{display:flex;flex-direction:column;gap:10px;padding:0 15px 15px;max-width:100%}.email-raw-content h2[data-v-659227f5]{margin:0;padding:0;font-size:1rem}.email-file-content[data-v-659227f5]{display:flex;gap:10px;flex-wrap:wrap;align-items:center}",
|
|
11004
11009
|
map: undefined,
|
|
11005
11010
|
media: undefined
|
|
11006
11011
|
});
|
|
11007
11012
|
};
|
|
11008
11013
|
/* scoped */
|
|
11009
|
-
var __vue_scope_id__ = "data-v-
|
|
11014
|
+
var __vue_scope_id__ = "data-v-659227f5";
|
|
11010
11015
|
/* module identifier */
|
|
11011
|
-
var __vue_module_identifier__ = "data-v-
|
|
11016
|
+
var __vue_module_identifier__ = "data-v-659227f5";
|
|
11012
11017
|
/* functional template */
|
|
11013
11018
|
var __vue_is_functional_template__ = false;
|
|
11014
11019
|
/* style inject shadow dom */
|
package/package.json
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<template v-if="from && from.length">
|
|
24
24
|
<span v-for="(sender, index) in from" :key="`from-${index}`">
|
|
25
25
|
{{ formattedName(sender.name, index, from.length, true) }}
|
|
26
|
-
{{ formattedMail(sender.
|
|
26
|
+
{{ formattedMail(sender.email, index, from.length, true) }}
|
|
27
27
|
</span>
|
|
28
28
|
</template>
|
|
29
29
|
<span v-else> -- </span>
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
<template v-if="para && para.length">
|
|
38
38
|
<span v-for="(recipient, index) in para" :key="`to-${index}`">
|
|
39
39
|
{{ formattedToName(recipient.name, index, para.length) }}
|
|
40
|
-
{{ `<${recipient.
|
|
40
|
+
{{ `<${recipient.email}>` }}
|
|
41
41
|
</span>
|
|
42
42
|
</template>
|
|
43
43
|
<span v-else> -- </span>
|
|
@@ -130,12 +130,15 @@ export default {
|
|
|
130
130
|
this.$emit('close')
|
|
131
131
|
},
|
|
132
132
|
formattedName(name, index, length, isOpen) {
|
|
133
|
+
if (!name) return '';
|
|
133
134
|
return `${name}${index !== length - 1 && !isOpen ? ', ' : ''}`;
|
|
134
135
|
},
|
|
135
|
-
formattedMail(
|
|
136
|
-
|
|
136
|
+
formattedMail(email, index, length, isOpen) {
|
|
137
|
+
if (!email) return '';
|
|
138
|
+
return `<${email}${index !== length - 1 && isOpen ? '>, ' : '>'}`;
|
|
137
139
|
},
|
|
138
140
|
formattedToName(name, index, length) {
|
|
141
|
+
if (!name) return '';
|
|
139
142
|
return index === 0 ? `${name || ''}` : name ? `${name}${index !== length - 1 ? ', ' : ''}` : '';
|
|
140
143
|
}
|
|
141
144
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<div :class="emailFromClass">
|
|
3
3
|
<p class="from" v-if="currentName" v-text="currentName" :title="currentName"></p>
|
|
4
4
|
<div v-if="showMail" class="additional-container">
|
|
5
|
-
<span class="additional" v-text="`${
|
|
5
|
+
<span class="additional" v-text="`${email}`" :title="email"></span>
|
|
6
6
|
</div>
|
|
7
7
|
</div>
|
|
8
8
|
</template>
|
|
@@ -46,7 +46,7 @@ export default {
|
|
|
46
46
|
required: false,
|
|
47
47
|
default: ""
|
|
48
48
|
},
|
|
49
|
-
|
|
49
|
+
email: {
|
|
50
50
|
type: String,
|
|
51
51
|
required: false,
|
|
52
52
|
default: ""
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
<template v-if="para && para.length">
|
|
37
37
|
<div class="email-to-from-container" ref="emailToContainer">
|
|
38
38
|
<EmailTo v-for="(recipient, index) in paraCopia" :key="`to-${index}`"
|
|
39
|
-
:currentName="formattedToName(recipient.name, index, paraCopia.length)" :
|
|
39
|
+
:currentName="formattedToName(recipient.name, index, paraCopia.length)" :email="recipient.email"
|
|
40
40
|
:showMail="isOpen" />
|
|
41
41
|
<div class="email-to-btn" v-show="isOpen" @click.stop="toggleShowInfos()">
|
|
42
42
|
<fa-icon :icon="['fas', 'caret-down']" />
|
|
@@ -212,8 +212,9 @@ export default {
|
|
|
212
212
|
mailInfos() {
|
|
213
213
|
const formatAsString = (arr) => {
|
|
214
214
|
let str = ''
|
|
215
|
-
arr.forEach(({ name,
|
|
216
|
-
|
|
215
|
+
arr.forEach(({ name, email }, index) => {
|
|
216
|
+
if (!name && !email) str += ''
|
|
217
|
+
else str += `${name || ''} ${email ? `<${email}>` : ''}${((name || email) && index !== arr.length - 1) ? ', ' : ''}`
|
|
217
218
|
})
|
|
218
219
|
return str
|
|
219
220
|
}
|
|
@@ -277,10 +278,10 @@ export default {
|
|
|
277
278
|
},
|
|
278
279
|
returnAuthorName() {
|
|
279
280
|
if (!this.from || !this.from.length) return this.autor || ''
|
|
280
|
-
const {
|
|
281
|
-
if (!name) return
|
|
282
|
-
if (!
|
|
283
|
-
if (this.isOpen) return `${name} (${
|
|
281
|
+
const { email, name } = this.from[0]
|
|
282
|
+
if (!name) return email
|
|
283
|
+
if (!email) return name
|
|
284
|
+
if (this.isOpen) return `${name} (${email})`
|
|
284
285
|
return name
|
|
285
286
|
},
|
|
286
287
|
gerarMensagemEstilizada(msg) {
|
|
@@ -455,10 +456,12 @@ export default {
|
|
|
455
456
|
this.actionsOpen = false;
|
|
456
457
|
},
|
|
457
458
|
formattedName(name, index, length, isOpen) {
|
|
459
|
+
if (!name) return '--';
|
|
458
460
|
return `${name || '--'}${index !== length - 1 && !isOpen ? ', ' : ''}`;
|
|
459
461
|
},
|
|
460
|
-
formattedMail(
|
|
461
|
-
|
|
462
|
+
formattedMail(email, index, length, isOpen) {
|
|
463
|
+
if (!email) return ''
|
|
464
|
+
return `<${email || '--'}${index !== length - 1 && isOpen ? '>, ' : '>'}`;
|
|
462
465
|
},
|
|
463
466
|
formattedToName(name, index, length) {
|
|
464
467
|
let addVirgulaDps = index < length - 1
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div :class="emailToClass">
|
|
3
3
|
<p class="to" v-if="currentName" v-text="currentName" :title="currentName"></p>
|
|
4
|
-
<span class="additional" v-text="`<${
|
|
4
|
+
<span class="additional" v-text="`<${email}>`" :title="email" v-if="showMail && email"></span>
|
|
5
5
|
</div>
|
|
6
6
|
</template>
|
|
7
7
|
|
|
@@ -37,7 +37,7 @@ export default {
|
|
|
37
37
|
required: false,
|
|
38
38
|
default: ""
|
|
39
39
|
},
|
|
40
|
-
|
|
40
|
+
email: {
|
|
41
41
|
type: String,
|
|
42
42
|
required: false,
|
|
43
43
|
default: ""
|