vue-intergrall-plugins 1.1.43 → 1.1.46
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.
|
@@ -10541,6 +10541,10 @@ var EmailTo = __vue_component__$4;var script$1 = {
|
|
|
10541
10541
|
jaMarcadoSpam: {
|
|
10542
10542
|
type: Boolean,
|
|
10543
10543
|
default: false
|
|
10544
|
+
},
|
|
10545
|
+
msgTooltip: {
|
|
10546
|
+
type: String,
|
|
10547
|
+
default: ''
|
|
10544
10548
|
}
|
|
10545
10549
|
},
|
|
10546
10550
|
data: function data() {
|
|
@@ -10572,6 +10576,20 @@ var EmailTo = __vue_component__$4;var script$1 = {
|
|
|
10572
10576
|
formattedDate: function formattedDate() {
|
|
10573
10577
|
return this.formataDateHoraDateFns(this.dataHora, this.dataServer, this.dicionario);
|
|
10574
10578
|
},
|
|
10579
|
+
contentTooltip: {
|
|
10580
|
+
get: function get() {
|
|
10581
|
+
if (!this.status || !this.msgTooltip) return '';
|
|
10582
|
+
if (this.status && !this.msgTooltip) {
|
|
10583
|
+
var msgStatus = "msg_status_" + this.status;
|
|
10584
|
+
return this.strTooltipAux = this.dicionario[msgStatus];
|
|
10585
|
+
} else if (this.status && this.msgTooltip) {
|
|
10586
|
+
return this.strTooltipAux = this.msgTooltip;
|
|
10587
|
+
}
|
|
10588
|
+
},
|
|
10589
|
+
set: function set(msg) {
|
|
10590
|
+
return this.contentTooltip = msg;
|
|
10591
|
+
}
|
|
10592
|
+
},
|
|
10575
10593
|
mailInfos: function mailInfos() {
|
|
10576
10594
|
var formatAsString = function formatAsString(arr) {
|
|
10577
10595
|
var str = '';
|
|
@@ -10934,17 +10952,17 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10934
10952
|
return _vm.openByItem($event);
|
|
10935
10953
|
}
|
|
10936
10954
|
}
|
|
10937
|
-
}, [_vm._ssrNode((_vm.showInfos ? "<div class=\"email-overlay\" data-v-
|
|
10955
|
+
}, [_vm._ssrNode((_vm.showInfos ? "<div class=\"email-overlay\" data-v-42c900e8></div>" : "<!---->") + " "), _vm.autor ? _vm._ssrNode("<div" + _vm._ssrClass("email-author", [_vm.origem, _vm.isMainEmail ? 'main' : '']) + " data-v-42c900e8>", "</div>", [_vm._ssrNode("<span" + _vm._ssrAttr("title", _vm.statusTitle) + " data-v-42c900e8>", "</span>", [_c('fa-icon', {
|
|
10938
10956
|
class: [_vm.origem],
|
|
10939
10957
|
attrs: {
|
|
10940
10958
|
"icon": ['fas', _vm.status !== 'C' ? 'reply' : 'times']
|
|
10941
10959
|
}
|
|
10942
|
-
})], 1), _vm._ssrNode(" <p" + _vm._ssrAttr("title", _vm.returnAuthorName) + " class=\"email-author-name\" data-v-
|
|
10960
|
+
})], 1), _vm._ssrNode(" <p" + _vm._ssrAttr("title", _vm.returnAuthorName) + " class=\"email-author-name\" data-v-42c900e8>" + _vm._ssrEscape(_vm._s(_vm.returnAuthorName)) + "</p> "), _vm._ssrNode("<span" + _vm._ssrAttr("title", "E-mail " + (_vm.origem === 'outros' ? 'recebido' : 'enviado')) + " data-v-42c900e8>", "</span>", [_c('fa-icon', {
|
|
10943
10961
|
staticClass: "email-to-svg",
|
|
10944
10962
|
attrs: {
|
|
10945
10963
|
"icon": ['fas', _vm.origem === 'outros' ? 'user' : 'headset']
|
|
10946
10964
|
}
|
|
10947
|
-
})], 1)], 2) : _vm._e(), _vm._ssrNode(" "), _vm.customButtons && _vm.customButtons.length ? _vm._ssrNode("<div class=\"email-custom-buttons\" data-v-
|
|
10965
|
+
})], 1)], 2) : _vm._e(), _vm._ssrNode(" "), _vm.customButtons && _vm.customButtons.length ? _vm._ssrNode("<div class=\"email-custom-buttons\" data-v-42c900e8>", "</div>", _vm._l(_vm.customButtons, function (button, index) {
|
|
10948
10966
|
return _c('span', {
|
|
10949
10967
|
directives: [{
|
|
10950
10968
|
name: "show",
|
|
@@ -10975,7 +10993,7 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10975
10993
|
"innerHTML": _vm._s(button.svgIcon)
|
|
10976
10994
|
}
|
|
10977
10995
|
})], 1);
|
|
10978
|
-
}), 0) : _vm._e(), _vm._ssrNode(" "), _vm.customActionButtons && _vm.customActionButtons.length && _vm.customActionButtons[0].type === 'ja-spam' ? _vm._ssrNode("<div class=\"ja-marcado-spam\" data-v-
|
|
10996
|
+
}), 0) : _vm._e(), _vm._ssrNode(" "), _vm.customActionButtons && _vm.customActionButtons.length && _vm.customActionButtons[0].type === 'ja-spam' ? _vm._ssrNode("<div class=\"ja-marcado-spam\" data-v-42c900e8>", "</div>", [_vm._ssrNode("<span class=\"icon-tittle-ja-spam\" data-v-42c900e8>", "</span>", [_c('fa-icon', {
|
|
10979
10997
|
staticStyle: {
|
|
10980
10998
|
"color": "#FF0000",
|
|
10981
10999
|
"margin-right": "8px",
|
|
@@ -10984,21 +11002,21 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10984
11002
|
attrs: {
|
|
10985
11003
|
"icon": ['fas', 'exclamation-triangle']
|
|
10986
11004
|
}
|
|
10987
|
-
}), _vm._ssrNode(_vm._ssrEscape("\n " + _vm._s(_vm.customActionButtons[0].label) + "\n "))], 2), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"ja-marcado-spam-buttons\" data-v-
|
|
11005
|
+
}), _vm._ssrNode(_vm._ssrEscape("\n " + _vm._s(_vm.customActionButtons[0].label) + "\n "))], 2), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"ja-marcado-spam-buttons\" data-v-42c900e8>", "</div>", [_vm._ssrNode("<button" + _vm._ssrAttr("disabled", _vm.customActionButtons[0].btn1.disabled) + " class=\"btn-nao-spam\" style=\"position: relative;\" data-v-42c900e8>", "</button>", [_vm.customActionButtons[0].btn1.loading ? _c('VueLoader', {
|
|
10988
11006
|
staticClass: "btn-loader",
|
|
10989
11007
|
attrs: {
|
|
10990
11008
|
"hasBg": false
|
|
10991
11009
|
}
|
|
10992
11010
|
}) : _vm._e(), _vm._ssrNode(" <span" + _vm._ssrStyle(null, {
|
|
10993
11011
|
opacity: _vm.customActionButtons[0].btn1.loading ? 0 : 1
|
|
10994
|
-
}, null) + " data-v-
|
|
11012
|
+
}, null) + " data-v-42c900e8>" + _vm._ssrEscape("\n " + _vm._s(_vm.customActionButtons[0].btn1.label) + "\n ") + "</span>")], 2), _vm._ssrNode(" "), _vm._ssrNode("<button" + _vm._ssrAttr("disabled", _vm.customActionButtons[0].btn2.disabled) + " class=\"btn-e-spam\" style=\"position: relative;\" data-v-42c900e8>", "</button>", [_vm.customActionButtons[0].btn2.loading ? _c('VueLoader', {
|
|
10995
11013
|
staticClass: "btn-loader",
|
|
10996
11014
|
attrs: {
|
|
10997
11015
|
"hasBg": false
|
|
10998
11016
|
}
|
|
10999
11017
|
}) : _vm._e(), _vm._ssrNode(" "), _vm._ssrNode("<span" + _vm._ssrStyle(null, {
|
|
11000
11018
|
opacity: _vm.customActionButtons[0].btn2.loading ? 0 : 1
|
|
11001
|
-
}, null) + " data-v-
|
|
11019
|
+
}, null) + " data-v-42c900e8>", "</span>", [_vm.customActionButtons[0].btn2.icon ? _c('fa-icon', {
|
|
11002
11020
|
staticClass: "icon-btn-encerrar-spam",
|
|
11003
11021
|
staticStyle: {
|
|
11004
11022
|
"margin-right": "6px"
|
|
@@ -11006,7 +11024,7 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
11006
11024
|
attrs: {
|
|
11007
11025
|
"icon": ['fas', _vm.customActionButtons[0].btn2.icon === 'exit' ? 'sign-out-alt' : _vm.customActionButtons[0].btn2.icon]
|
|
11008
11026
|
}
|
|
11009
|
-
}) : _vm._e(), _vm._ssrNode(_vm._ssrEscape("\n " + _vm._s(_vm.customActionButtons[0].btn2.label) + "\n "))], 2)], 2)], 2)], 2) : _vm._e(), _vm._ssrNode(" "), _vm.customActionButtons && _vm.customActionButtons.length ? _vm._ssrNode("<div class=\"email-custom-action-buttons\" data-v-
|
|
11027
|
+
}) : _vm._e(), _vm._ssrNode(_vm._ssrEscape("\n " + _vm._s(_vm.customActionButtons[0].btn2.label) + "\n "))], 2)], 2)], 2)], 2) : _vm._e(), _vm._ssrNode(" "), _vm.customActionButtons && _vm.customActionButtons.length ? _vm._ssrNode("<div class=\"email-custom-action-buttons\" data-v-42c900e8>", "</div>", [_vm._l(_vm.customActionButtons, function (button, index) {
|
|
11010
11028
|
return [button.type !== 'ja-spam' ? _c('button', {
|
|
11011
11029
|
directives: [{
|
|
11012
11030
|
name: "show",
|
|
@@ -11036,8 +11054,8 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
11036
11054
|
domProps: {
|
|
11037
11055
|
"innerHTML": _vm._s(button.svgIcon)
|
|
11038
11056
|
}
|
|
11039
|
-
}), _vm._ssrNode(" " + (button.label ? "<span class=\"email-custom-action-label\" data-v-
|
|
11040
|
-
})], 2) : _vm._e(), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-header\" data-v-
|
|
11057
|
+
}), _vm._ssrNode(" " + (button.label ? "<span class=\"email-custom-action-label\" data-v-42c900e8>" + _vm._ssrEscape(_vm._s(button.label)) + "</span>" : "<!---->"))], 2) : _vm._e()];
|
|
11058
|
+
})], 2) : _vm._e(), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-header\" data-v-42c900e8>", "</div>", [_vm._ssrNode("<p" + _vm._ssrAttr("title", _vm.returnMainValue()) + " class=\"email-subject\" data-v-42c900e8>" + _vm._ssrEscape("\n " + _vm._s(_vm.returnMainValue()) + "\n ") + "</p> " + (_vm.status === 'C' ? "<div" + _vm._ssrClass("divBtnReplyEmail", [_vm.isOpen ? 'reply-email-open' : '']) + " data-v-42c900e8><strong class=\"strongMsg\" data-v-42c900e8>" + _vm._ssrEscape(_vm._s(_vm.status_msg) + " ") + "</strong> " + (_vm.hasReplyEmail ? "<button class=\"btnReplyEmail\" data-v-42c900e8><strong data-v-42c900e8>Reenviar</strong></button>" : "<!---->") + "</div>" : "<!---->") + " "), _vm._ssrNode("<div class=\"header-container\" data-v-42c900e8>", "</div>", [_vm._ssrNode("<div" + _vm._ssrClass(null, "email-header-content" + (_vm.isOpen ? ' open' : '')) + " data-v-42c900e8>", "</div>", [_vm._ssrNode("<div class=\"email-header-infos\" data-v-42c900e8>", "</div>", [_vm.para && _vm.para.length ? [_vm._ssrNode("<div class=\"email-to-from-container\" data-v-42c900e8>", "</div>", [_vm._l(_vm.paraCopia, function (recipient, index) {
|
|
11041
11059
|
return _c('EmailTo', {
|
|
11042
11060
|
key: "to-" + recipient.email,
|
|
11043
11061
|
attrs: {
|
|
@@ -11048,13 +11066,13 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
11048
11066
|
});
|
|
11049
11067
|
}), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-to-btn\"" + _vm._ssrStyle(null, null, {
|
|
11050
11068
|
display: _vm.isOpen ? '' : 'none'
|
|
11051
|
-
}) + " data-v-
|
|
11069
|
+
}) + " data-v-42c900e8>", "</div>", [_c('fa-icon', {
|
|
11052
11070
|
attrs: {
|
|
11053
11071
|
"icon": ['fas', 'caret-down']
|
|
11054
11072
|
}
|
|
11055
|
-
})], 1)], 2)] : _vm._e(), _vm._ssrNode(" " + (!_vm.isMainEmail && _vm.isOpen ? "<div class=\"email-subject-secondary\" data-v-
|
|
11073
|
+
})], 1)], 2)] : _vm._e(), _vm._ssrNode(" " + (!_vm.isMainEmail && _vm.isOpen ? "<div class=\"email-subject-secondary\" data-v-42c900e8><span class=\"email-subject-span\" data-v-42c900e8>" + _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, {
|
|
11056
11074
|
display: _vm.formattedDate ? '' : 'none'
|
|
11057
|
-
}) + " data-v-
|
|
11075
|
+
}) + " data-v-42c900e8>", "</span>", [_c('fa-icon', {
|
|
11058
11076
|
attrs: {
|
|
11059
11077
|
"icon": ['fas', 'calendar']
|
|
11060
11078
|
}
|
|
@@ -11075,12 +11093,12 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
11075
11093
|
}
|
|
11076
11094
|
}
|
|
11077
11095
|
}, [_vm._ssrNode(_vm._ssrList(_vm.mailInfos, function (info, index) {
|
|
11078
|
-
return "<li class=\"email-info\" data-v-
|
|
11096
|
+
return "<li class=\"email-info\" data-v-42c900e8><span data-v-42c900e8>" + _vm._ssrEscape(_vm._s(info.label)) + "</span>" + _vm._ssrEscape("\n " + _vm._s(info.value) + "\n ") + "</li>";
|
|
11079
11097
|
}))]) : _vm._e(), _vm._ssrNode(" " + (_vm.isOpen ? "<span" + _vm._ssrClass(null, ['email-actions box-shadow', {
|
|
11080
11098
|
active: _vm.actionsOpen
|
|
11081
11099
|
}, {
|
|
11082
11100
|
main: _vm.isMainEmail
|
|
11083
|
-
}]) + " data-v-
|
|
11101
|
+
}]) + " data-v-42c900e8><span data-v-42c900e8></span> <span data-v-42c900e8></span> <span data-v-42c900e8></span></span>" : "<!---->") + " "), _vm.actionsOpen && _vm.isOpen ? _c('ul', {
|
|
11084
11102
|
directives: [{
|
|
11085
11103
|
name: "clickaway",
|
|
11086
11104
|
rawName: "v-clickaway",
|
|
@@ -11093,13 +11111,13 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
11093
11111
|
$event.stopPropagation();
|
|
11094
11112
|
}
|
|
11095
11113
|
}
|
|
11096
|
-
}, [_vm._ssrNode("<li class=\"email-action\" data-v-
|
|
11114
|
+
}, [_vm._ssrNode("<li class=\"email-action\" data-v-42c900e8>" + _vm._ssrEscape("\n " + _vm._s(!_vm.openMessage ? 'Visualizar' : 'Esconder') + " texto do e-mail (html)\n ") + "</li>")]) : _vm._e()], 2), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-content\"" + _vm._ssrStyle(null, null, {
|
|
11097
11115
|
display: _vm.isOpen ? '' : 'none'
|
|
11098
|
-
}) + " data-v-
|
|
11116
|
+
}) + " data-v-42c900e8>", "</div>", [_vm.isIframeLoading ? _c('VueLoader') : _vm._e(), _vm._ssrNode(" " + (_vm.hasError ? "<div class=\"email-error-content\" data-v-42c900e8><p data-v-42c900e8>Erro ao carregar o e-mail</p> <button class=\"box-shadow\" data-v-42c900e8>Tentar novamente</button></div>" : "<!---->") + " <iframe" + _vm._ssrClass(null, "email-html " + (_vm.isIframeLoading ? 'visibility-hidden' : '')) + _vm._ssrStyle(null, null, {
|
|
11099
11117
|
display: !_vm.hasError ? '' : 'none'
|
|
11100
|
-
}) + " data-v-
|
|
11118
|
+
}) + " data-v-42c900e8></iframe> " + (_vm.openMessage ? "<span class=\"email-raw\" data-v-42c900e8>" + _vm._ssrEscape(_vm._s(_vm.mensagem)) + "</span>" : "<!---->"))], 2), _vm._ssrNode(" "), _vm.filteredFiles && _vm.filteredFiles.length ? _vm._ssrNode("<div class=\"email-files\"" + _vm._ssrStyle(null, null, {
|
|
11101
11119
|
display: _vm.isOpen ? '' : 'none'
|
|
11102
|
-
}) + " data-v-
|
|
11120
|
+
}) + " data-v-42c900e8>", "</div>", _vm._l(_vm.filteredFiles, function (anexo, index) {
|
|
11103
11121
|
return _c('EmailFile', {
|
|
11104
11122
|
key: index,
|
|
11105
11123
|
attrs: {
|
|
@@ -11107,31 +11125,148 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
11107
11125
|
"dominio": _vm.dominio
|
|
11108
11126
|
}
|
|
11109
11127
|
});
|
|
11110
|
-
}), 1) : _vm._e(), _vm._ssrNode(" "), _vm.filteredFiles && _vm.filteredFiles.length && !_vm.isOpen ? _vm._ssrNode("<div class=\"email-attachments-clip cursor-pointer\" data-v-
|
|
11128
|
+
}), 1) : _vm._e(), _vm._ssrNode(" "), _vm.filteredFiles && _vm.filteredFiles.length && !_vm.isOpen ? _vm._ssrNode("<div class=\"email-attachments-clip cursor-pointer\" data-v-42c900e8>", "</div>", [_vm._ssrNode("<span class=\"clip-icon\" data-v-42c900e8>", "</span>", [_c('fa-icon', {
|
|
11111
11129
|
attrs: {
|
|
11112
11130
|
"icon": ['fas', 'paperclip']
|
|
11113
11131
|
}
|
|
11114
|
-
}), _vm._ssrNode(" <span class=\"clip-badge\" data-v-
|
|
11132
|
+
}), _vm._ssrNode(" <span class=\"clip-badge\" data-v-42c900e8>" + _vm._ssrEscape(_vm._s(_vm.filteredFiles.length)) + "</span>")], 2)]) : _vm._e(), _vm._ssrNode(" "), _c('transition', {
|
|
11133
|
+
attrs: {
|
|
11134
|
+
"name": "fade",
|
|
11135
|
+
"mode": "out-in"
|
|
11136
|
+
}
|
|
11137
|
+
}, [_vm.status == 'D' ? _c('span', {
|
|
11138
|
+
directives: [{
|
|
11139
|
+
name: "tippy",
|
|
11140
|
+
rawName: "v-tippy"
|
|
11141
|
+
}],
|
|
11142
|
+
key: "check-padrao",
|
|
11143
|
+
staticClass: "check",
|
|
11144
|
+
attrs: {
|
|
11145
|
+
"content": _vm.contentTooltip
|
|
11146
|
+
}
|
|
11147
|
+
}, [_c('fa-icon', {
|
|
11148
|
+
attrs: {
|
|
11149
|
+
"icon": ['fas', 'check']
|
|
11150
|
+
}
|
|
11151
|
+
})], 1) : _vm.status == 'Q' ? _c('span', {
|
|
11152
|
+
directives: [{
|
|
11153
|
+
name: "tippy",
|
|
11154
|
+
rawName: "v-tippy"
|
|
11155
|
+
}],
|
|
11156
|
+
key: "check-cinza",
|
|
11157
|
+
staticClass: "check cinza",
|
|
11158
|
+
attrs: {
|
|
11159
|
+
"content": _vm.contentTooltip
|
|
11160
|
+
}
|
|
11161
|
+
}, [_c('fa-icon', {
|
|
11162
|
+
attrs: {
|
|
11163
|
+
"icon": ['fas', 'check']
|
|
11164
|
+
}
|
|
11165
|
+
})], 1) : _vm.status == 'G' ? _c('span', {
|
|
11166
|
+
directives: [{
|
|
11167
|
+
name: "tippy",
|
|
11168
|
+
rawName: "v-tippy"
|
|
11169
|
+
}],
|
|
11170
|
+
key: "check-preto",
|
|
11171
|
+
staticClass: "check preto",
|
|
11172
|
+
attrs: {
|
|
11173
|
+
"content": _vm.contentTooltip
|
|
11174
|
+
}
|
|
11175
|
+
}, [_c('fa-icon', {
|
|
11176
|
+
attrs: {
|
|
11177
|
+
"icon": ['fas', 'check']
|
|
11178
|
+
}
|
|
11179
|
+
})], 1) : _vm.status == 'E' ? _c('span', {
|
|
11180
|
+
directives: [{
|
|
11181
|
+
name: "tippy",
|
|
11182
|
+
rawName: "v-tippy"
|
|
11183
|
+
}],
|
|
11184
|
+
key: "double-check-preto",
|
|
11185
|
+
staticClass: "check preto",
|
|
11186
|
+
attrs: {
|
|
11187
|
+
"content": _vm.contentTooltip
|
|
11188
|
+
}
|
|
11189
|
+
}, [_c('fa-icon', {
|
|
11190
|
+
attrs: {
|
|
11191
|
+
"icon": ['fas', 'check-double']
|
|
11192
|
+
}
|
|
11193
|
+
})], 1) : _vm.status == 'L' ? _c('span', {
|
|
11194
|
+
directives: [{
|
|
11195
|
+
name: "tippy",
|
|
11196
|
+
rawName: "v-tippy"
|
|
11197
|
+
}],
|
|
11198
|
+
key: "double-check-visualizado",
|
|
11199
|
+
staticClass: "check visualizado",
|
|
11200
|
+
attrs: {
|
|
11201
|
+
"content": _vm.contentTooltip
|
|
11202
|
+
}
|
|
11203
|
+
}, [_c('fa-icon', {
|
|
11204
|
+
attrs: {
|
|
11205
|
+
"icon": ['fas', 'check-double']
|
|
11206
|
+
}
|
|
11207
|
+
})], 1) : _vm.status == 'C' || _vm.status == 'ERRO' ? _c('span', {
|
|
11208
|
+
directives: [{
|
|
11209
|
+
name: "tippy",
|
|
11210
|
+
rawName: "v-tippy"
|
|
11211
|
+
}],
|
|
11212
|
+
key: "times-circle",
|
|
11213
|
+
staticClass: "check vermelho",
|
|
11214
|
+
attrs: {
|
|
11215
|
+
"content": _vm.contentTooltip
|
|
11216
|
+
}
|
|
11217
|
+
}, [_c('fa-icon', {
|
|
11218
|
+
attrs: {
|
|
11219
|
+
"icon": ['fas', 'times-circle']
|
|
11220
|
+
}
|
|
11221
|
+
})], 1) : _vm.status == 'T' ? _c('span', {
|
|
11222
|
+
directives: [{
|
|
11223
|
+
name: "tippy",
|
|
11224
|
+
rawName: "v-tippy"
|
|
11225
|
+
}],
|
|
11226
|
+
key: "hourglass",
|
|
11227
|
+
staticClass: "check vermelho",
|
|
11228
|
+
attrs: {
|
|
11229
|
+
"content": _vm.contentTooltip
|
|
11230
|
+
}
|
|
11231
|
+
}, [_c('fa-icon', {
|
|
11232
|
+
attrs: {
|
|
11233
|
+
"icon": ['fas', 'hourglass']
|
|
11234
|
+
}
|
|
11235
|
+
})], 1) : _vm.status == 'O' ? _c('span', {
|
|
11236
|
+
directives: [{
|
|
11237
|
+
name: "tippy",
|
|
11238
|
+
rawName: "v-tippy"
|
|
11239
|
+
}],
|
|
11240
|
+
key: "deleted",
|
|
11241
|
+
staticClass: "check vermelho",
|
|
11242
|
+
attrs: {
|
|
11243
|
+
"content": _vm.contentTooltip
|
|
11244
|
+
}
|
|
11245
|
+
}, [_c('fa-icon', {
|
|
11246
|
+
attrs: {
|
|
11247
|
+
"icon": ['fas', 'times']
|
|
11248
|
+
}
|
|
11249
|
+
})], 1) : _vm._e()])], 2);
|
|
11115
11250
|
};
|
|
11116
11251
|
var __vue_staticRenderFns__$1 = [];
|
|
11117
11252
|
|
|
11118
11253
|
/* style */
|
|
11119
11254
|
var __vue_inject_styles__$1 = function __vue_inject_styles__(inject) {
|
|
11120
11255
|
if (!inject) return;
|
|
11121
|
-
inject("data-v-
|
|
11122
|
-
source: ".show-y-top-enter-active[data-v-
|
|
11256
|
+
inject("data-v-42c900e8_0", {
|
|
11257
|
+
source: ".show-y-top-enter-active[data-v-42c900e8],.show-y-top-leave-enter[data-v-42c900e8]{opacity:1;transform:translateY(0);transition:all .2s linear}.show-y-top-enter[data-v-42c900e8],.show-y-top-leave-to[data-v-42c900e8]{opacity:0;transform:translateY(-2%)}",
|
|
11123
11258
|
map: undefined,
|
|
11124
11259
|
media: undefined
|
|
11125
|
-
}), inject("data-v-
|
|
11260
|
+
}), inject("data-v-42c900e8_1", {
|
|
11126
11261
|
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}.divBtnReplyEmail{display:flex;align-items:center;background-color:#f0adad;border-radius:6px;padding:7px 9px;margin:5px 0;gap:8px}.reply-email-open{width:calc(100% - 10px - 45px)!important}.btnReplyEmail{display:block;background-color:#faa732;border:1px solid #da8205;margin:8px 0 8px 5px;padding:5px 10px 5px 10px;font-size:14.4px;font-weight:700;border-radius:3px;color:#000;cursor:pointer}.ja-marcado-spam{width:100%;background:#fffbe6;border:1px solid #ffe58f;border-radius:6px;box-shadow:0 2px 8px rgba(0,0,0,.08);padding:5px 30px;margin:9px 0 5px 0;display:flex;justify-content:space-between;align-items:center;gap:16px}.ja-marcado-spam>span{color:#614500;font-weight:500;font-size:14px;margin-bottom:0;align-self:center;align-items:center}.ja-marcado-spam-buttons{display:flex;flex-direction:column;gap:6px;align-items:flex-end}.ja-marcado-spam button{min-width:110px;padding:4px 10px;border:none;border-radius:5px;background:#ffe58f;color:#333;cursor:pointer;font-size:13.4px}.ja-marcado-spam-buttons .btn-nao-spam{background:#36b87b;color:var(--white);border:1px solid var(--konecta-success-hover,#309264);font-weight:700}.ja-marcado-spam-buttons .btn-nao-spam:hover{background:#309264}.ja-marcado-spam-buttons .btn-e-spam{background:#e74c3c;color:var(--white);border:1px solid var(--konecta-danger-hover,#c92e1e);font-weight:700}.ja-marcado-spam-buttons .btn-e-spam:hover{background:#c92e1e}.icon-btn-encerrar-spam{margin-right:2px}.btn-loader{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2;pointer-events:none}.strongMsg{flex:1;font-size:13px}.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:16.4px}.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:16.4px;cursor:pointer}.email-date{--width:245px;font-size:12.8px;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:14.4px;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:14.4px;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:14.4px;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:12.8px}.email-info>span{font-size:12px;color:gray;margin-right:3px}.email-author{display:flex;align-items:center;height:5px;font-size:12px;font-weight:700;transform:translateY(-2px);width:100%;cursor:pointer}.email-subject-secondary{margin-top:-5px}.email-subject-span{font-size:11.2px;color:gray}.email-to-svg{font-size:13.6px}.email-custom-buttons{display:flex;gap:7px;position:absolute;top:5px;right:5px;z-index:1;font-size:12.8px}.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}.btnReplyEmail:active,.btnReplyEmail:hover{background-color:#da8205;color:#000}.email-attachments-clip{display:flex;cursor:pointer;margin-top:5px}.clip-icon{position:relative;font-size:22px;color:#999;transform:rotate(-15deg)}.clip-badge{position:absolute;transform:rotate(15deg);top:0;right:-15px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#999 40%,#515050 100%);color:#fff;border-radius:50%;min-width:22px;height:22px;font-size:12.4px;border:1px solid #fff;filter:drop-shadow(0 2px 4px rgba(0, 0, 0, .18));text-align:center;padding:0 4px;box-sizing:border-box}.clip-icon:hover{color:#777}.clip-icon:hover .clip-badge{background:linear-gradient(135deg,#999 20%,#515050 70%);filter:drop-shadow(0 2px 4px rgba(0, 0, 0, .28))}",
|
|
11127
11262
|
map: undefined,
|
|
11128
11263
|
media: undefined
|
|
11129
11264
|
});
|
|
11130
11265
|
};
|
|
11131
11266
|
/* scoped */
|
|
11132
|
-
var __vue_scope_id__$1 = "data-v-
|
|
11267
|
+
var __vue_scope_id__$1 = "data-v-42c900e8";
|
|
11133
11268
|
/* module identifier */
|
|
11134
|
-
var __vue_module_identifier__$1 = "data-v-
|
|
11269
|
+
var __vue_module_identifier__$1 = "data-v-42c900e8";
|
|
11135
11270
|
/* functional template */
|
|
11136
11271
|
var __vue_is_functional_template__$1 = false;
|
|
11137
11272
|
/* style inject shadow dom */
|
package/package.json
CHANGED
|
@@ -164,6 +164,39 @@
|
|
|
164
164
|
<span class="clip-badge">{{ filteredFiles.length }}</span>
|
|
165
165
|
</span>
|
|
166
166
|
</div>
|
|
167
|
+
<!-- Status da mensagem -->
|
|
168
|
+
<transition name="fade" mode="out-in">
|
|
169
|
+
<span class="check" v-if="status == 'D'" :content="contentTooltip" v-tippy key="check-padrao">
|
|
170
|
+
<fa-icon :icon="['fas', 'check']" />
|
|
171
|
+
</span>
|
|
172
|
+
<span class="check cinza" v-else-if="status == 'Q'" :content="contentTooltip" v-tippy key="check-cinza">
|
|
173
|
+
<fa-icon :icon="['fas', 'check']" />
|
|
174
|
+
</span>
|
|
175
|
+
<span class="check preto" v-else-if="status == 'G'" :content="contentTooltip" v-tippy key="check-preto">
|
|
176
|
+
<fa-icon :icon="['fas', 'check']" />
|
|
177
|
+
</span>
|
|
178
|
+
<span class="check preto" v-else-if="status == 'E'" :content="contentTooltip" v-tippy key="double-check-preto">
|
|
179
|
+
<fa-icon :icon="['fas', 'check-double']" />
|
|
180
|
+
</span>
|
|
181
|
+
<span class="check visualizado" v-else-if="status == 'L'" :content="contentTooltip" v-tippy
|
|
182
|
+
key="double-check-visualizado">
|
|
183
|
+
<fa-icon :icon="['fas', 'check-double']" />
|
|
184
|
+
</span>
|
|
185
|
+
<!-- Status finalizador -->
|
|
186
|
+
<span class="check vermelho" v-else-if="status == 'C' || status == 'ERRO'" :content="contentTooltip" v-tippy
|
|
187
|
+
key="times-circle">
|
|
188
|
+
<fa-icon :icon="['fas', 'times-circle']" />
|
|
189
|
+
</span>
|
|
190
|
+
<!-- Status finalizador -->
|
|
191
|
+
<span class="check vermelho" v-else-if="status == 'T'" :content="contentTooltip" v-tippy key="hourglass">
|
|
192
|
+
<fa-icon :icon="['fas', 'hourglass']" />
|
|
193
|
+
</span>
|
|
194
|
+
<!-- Status finalizador -->
|
|
195
|
+
<span class="check vermelho" v-else-if="status == 'O'" :content="contentTooltip" v-tippy key="deleted">
|
|
196
|
+
<fa-icon :icon="['fas', 'times']" />
|
|
197
|
+
</span>
|
|
198
|
+
<!-- Status de mensagem deletada -->
|
|
199
|
+
</transition>
|
|
167
200
|
</div>
|
|
168
201
|
</template>
|
|
169
202
|
|
|
@@ -290,6 +323,10 @@ export default {
|
|
|
290
323
|
type: Boolean,
|
|
291
324
|
default: false
|
|
292
325
|
},
|
|
326
|
+
msgTooltip: {
|
|
327
|
+
type: String,
|
|
328
|
+
default: ''
|
|
329
|
+
}
|
|
293
330
|
},
|
|
294
331
|
data() {
|
|
295
332
|
return {
|
|
@@ -322,6 +359,20 @@ export default {
|
|
|
322
359
|
formattedDate() {
|
|
323
360
|
return this.formataDateHoraDateFns(this.dataHora, this.dataServer, this.dicionario);
|
|
324
361
|
},
|
|
362
|
+
contentTooltip: {
|
|
363
|
+
get() {
|
|
364
|
+
if(!this.status || !this.msgTooltip) return ''
|
|
365
|
+
if (this.status && !this.msgTooltip) {
|
|
366
|
+
const msgStatus = "msg_status_" + this.status;
|
|
367
|
+
return (this.strTooltipAux = this.dicionario[msgStatus]);
|
|
368
|
+
} else if (this.status && this.msgTooltip) {
|
|
369
|
+
return (this.strTooltipAux = this.msgTooltip);
|
|
370
|
+
}
|
|
371
|
+
},
|
|
372
|
+
set(msg) {
|
|
373
|
+
return (this.contentTooltip = msg);
|
|
374
|
+
},
|
|
375
|
+
},
|
|
325
376
|
mailInfos() {
|
|
326
377
|
const formatAsString = (arr) => {
|
|
327
378
|
let str = ''
|