vue-intergrall-plugins 1.1.34 → 1.1.36
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/README.md +0 -0
- package/dist/vue-intergrall-plugins.esm.js +22 -9
- package/dist/vue-intergrall-plugins.min.js +1 -1
- package/dist/vue-intergrall-plugins.ssr.js +44 -31
- package/package.json +1 -1
- package/src/lib-components/Buttons/IconButton.vue +0 -0
- package/src/lib-components/Buttons/SimpleButton.vue +0 -0
- package/src/lib-components/Cards/Card.vue +0 -0
- package/src/lib-components/Cards/CardCheck.vue +0 -0
- package/src/lib-components/Cards/CardFile.vue +0 -0
- package/src/lib-components/Chat/AudioSpeedControl.vue +0 -0
- package/src/lib-components/Chat/BtnDownloadAllFiles.vue +0 -0
- package/src/lib-components/Chat/BtnEmojis.vue +0 -0
- package/src/lib-components/Chat/BtnExpand.vue +0 -0
- package/src/lib-components/Chat/BtnFiles.vue +0 -0
- package/src/lib-components/Chat/BtnMic.vue +0 -0
- package/src/lib-components/Chat/BtnScreenShare.vue +0 -0
- package/src/lib-components/Chat/BtnStandardMessages.vue +0 -0
- package/src/lib-components/Chat/ExpandTextarea.vue +0 -0
- package/src/lib-components/Chat/MultipleFilePreview.vue +0 -0
- package/src/lib-components/Chat/Picker.vue +0 -0
- package/src/lib-components/Chat/RemainingCharacters.vue +0 -0
- package/src/lib-components/Chat/SingleFilePreview.vue +0 -0
- package/src/lib-components/Chat/SkeletonPicker.vue +0 -0
- package/src/lib-components/Chat/StandardMessages.vue +0 -0
- package/src/lib-components/Chat/TextFooter.vue +0 -0
- package/src/lib-components/Email/EmailExpanded.vue +0 -0
- package/src/lib-components/Email/EmailFile.vue +0 -0
- package/src/lib-components/Email/EmailFrom.vue +0 -0
- package/src/lib-components/Email/EmailItem.vue +18 -5
- package/src/lib-components/Email/EmailTo.vue +0 -0
- package/src/lib-components/Loader/Loader.vue +0 -0
- package/src/lib-components/Messages/AnexoMensagem.vue +0 -0
- package/src/lib-components/Messages/CardAttachment.vue +0 -0
- package/src/lib-components/Messages/CardMessages.vue +0 -0
- package/src/lib-components/Messages/ChatMessages.vue +0 -0
- package/src/lib-components/Messages/InteratividadeBotoes.vue +0 -0
- package/src/lib-components/Messages/InteratividadeContato.vue +0 -0
- package/src/lib-components/Messages/InteratividadeContatoItem.vue +0 -0
- package/src/lib-components/Messages/InteratividadeFormulario.vue +0 -0
- package/src/lib-components/Messages/InteratividadePopup.vue +0 -0
- package/src/lib-components/Messages/LinkPreview.vue +0 -0
- package/src/lib-components/Scroll/ScrollContent.vue +0 -0
- package/src/lib-components/Templates/TemplateGenerator.vue +0 -0
- package/src/lib-components/Templates/TemplateMessage.vue +0 -0
- package/src/lib-components/Templates/TemplateSingle.vue +0 -0
|
@@ -10750,8 +10750,8 @@ var EmailTo = __vue_component__$4;var script$1 = {
|
|
|
10750
10750
|
value: this.formataDataHora(this.dataHora) || '--'
|
|
10751
10751
|
}];
|
|
10752
10752
|
if (this.copia && this.copia.length) {
|
|
10753
|
-
infos.
|
|
10754
|
-
label: this.dicionario.tit_copia,
|
|
10753
|
+
infos.splice(2, 0, {
|
|
10754
|
+
label: "".concat(this.dicionario.tit_copia, ":") || 'Copia:',
|
|
10755
10755
|
value: formatAsString(this.copia)
|
|
10756
10756
|
});
|
|
10757
10757
|
}
|
|
@@ -10897,10 +10897,23 @@ var EmailTo = __vue_component__$4;var script$1 = {
|
|
|
10897
10897
|
this.$nextTick(function () {
|
|
10898
10898
|
if (_this4.isOpen && _this4.isIframeLoading) {
|
|
10899
10899
|
var iframe = _this4.$refs.emailIframe;
|
|
10900
|
-
if (!iframe)
|
|
10900
|
+
if (!iframe) {
|
|
10901
|
+
console.warn('Iframe not found');
|
|
10902
|
+
_this4.isIframeLoading = false;
|
|
10903
|
+
return;
|
|
10904
|
+
}
|
|
10901
10905
|
var doc = iframe.contentDocument || iframe.contentWindow.document;
|
|
10902
|
-
if (!doc)
|
|
10903
|
-
|
|
10906
|
+
if (!doc) {
|
|
10907
|
+
console.warn('Document not found in iframe');
|
|
10908
|
+
_this4.isIframeLoading = false;
|
|
10909
|
+
return;
|
|
10910
|
+
}
|
|
10911
|
+
var content = _this4.html || '';
|
|
10912
|
+
if (!content || !content.length) {
|
|
10913
|
+
console.warn('No content to display in iframe');
|
|
10914
|
+
_this4.isIframeLoading = false;
|
|
10915
|
+
return;
|
|
10916
|
+
}
|
|
10904
10917
|
if (!/<[a-z][\s\S]*>/i.test(content)) {
|
|
10905
10918
|
content = content.replace(/\n/g, '<br>');
|
|
10906
10919
|
content = _this4.gerarMensagemEstilizada(content);
|
|
@@ -11075,17 +11088,17 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
11075
11088
|
return _vm.openByItem($event);
|
|
11076
11089
|
}
|
|
11077
11090
|
}
|
|
11078
|
-
}, [_vm._ssrNode((_vm.showInfos ? "<div class=\"email-overlay\" data-v-
|
|
11091
|
+
}, [_vm._ssrNode((_vm.showInfos ? "<div class=\"email-overlay\" data-v-19db92ac></div>" : "<!---->") + " "), _vm.autor ? _vm._ssrNode("<div" + _vm._ssrClass("email-author", [_vm.origem, _vm.isMainEmail ? 'main' : '']) + " data-v-19db92ac>", "</div>", [_vm._ssrNode("<span" + _vm._ssrAttr("title", _vm.statusTitle) + " data-v-19db92ac>", "</span>", [_c('fa-icon', {
|
|
11079
11092
|
class: [_vm.origem],
|
|
11080
11093
|
attrs: {
|
|
11081
11094
|
"icon": ['fas', _vm.status !== 'C' ? 'reply' : 'times']
|
|
11082
11095
|
}
|
|
11083
|
-
})], 1), _vm._ssrNode(" <p" + _vm._ssrAttr("title", _vm.returnAuthorName) + " class=\"email-author-name\" data-v-
|
|
11096
|
+
})], 1), _vm._ssrNode(" <p" + _vm._ssrAttr("title", _vm.returnAuthorName) + " class=\"email-author-name\" data-v-19db92ac>" + _vm._ssrEscape(_vm._s(_vm.returnAuthorName)) + "</p> "), _vm._ssrNode("<span" + _vm._ssrAttr("title", "E-mail " + (_vm.origem === 'outros' ? 'recebido' : 'enviado')) + " data-v-19db92ac>", "</span>", [_c('fa-icon', {
|
|
11084
11097
|
staticClass: "email-to-svg",
|
|
11085
11098
|
attrs: {
|
|
11086
11099
|
"icon": ['fas', _vm.origem === 'outros' ? 'user' : 'headset']
|
|
11087
11100
|
}
|
|
11088
|
-
})], 1)], 2) : _vm._e(), _vm._ssrNode(" "), _vm.customButtons && _vm.customButtons.length ? _vm._ssrNode("<div class=\"email-custom-buttons\" data-v-
|
|
11101
|
+
})], 1)], 2) : _vm._e(), _vm._ssrNode(" "), _vm.customButtons && _vm.customButtons.length ? _vm._ssrNode("<div class=\"email-custom-buttons\" data-v-19db92ac>", "</div>", _vm._l(_vm.customButtons, function (button, index) {
|
|
11089
11102
|
return _c('span', {
|
|
11090
11103
|
directives: [{
|
|
11091
11104
|
name: "show",
|
|
@@ -11116,7 +11129,7 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
11116
11129
|
"innerHTML": _vm._s(button.svgIcon)
|
|
11117
11130
|
}
|
|
11118
11131
|
})], 1);
|
|
11119
|
-
}), 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-
|
|
11132
|
+
}), 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-19db92ac>", "</div>", [_vm._ssrNode("<span class=\"icon-tittle-ja-spam\" data-v-19db92ac>", "</span>", [_c('fa-icon', {
|
|
11120
11133
|
staticStyle: {
|
|
11121
11134
|
"color": "#FF0000",
|
|
11122
11135
|
"margin-right": "8px",
|
|
@@ -11125,21 +11138,21 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
11125
11138
|
attrs: {
|
|
11126
11139
|
"icon": ['fas', 'exclamation-triangle']
|
|
11127
11140
|
}
|
|
11128
|
-
}), _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-
|
|
11141
|
+
}), _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-19db92ac>", "</div>", [_vm._ssrNode("<button" + _vm._ssrAttr("disabled", _vm.customActionButtons[0].btn1.disabled) + " class=\"btn-nao-spam\" style=\"position: relative;\" data-v-19db92ac>", "</button>", [_vm.customActionButtons[0].btn1.loading ? _c('VueLoader', {
|
|
11129
11142
|
staticClass: "btn-loader",
|
|
11130
11143
|
attrs: {
|
|
11131
11144
|
"hasBg": false
|
|
11132
11145
|
}
|
|
11133
11146
|
}) : _vm._e(), _vm._ssrNode(" <span" + _vm._ssrStyle(null, {
|
|
11134
11147
|
opacity: _vm.customActionButtons[0].btn1.loading ? 0 : 1
|
|
11135
|
-
}, null) + " data-v-
|
|
11148
|
+
}, null) + " data-v-19db92ac>" + _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-19db92ac>", "</button>", [_vm.customActionButtons[0].btn2.loading ? _c('VueLoader', {
|
|
11136
11149
|
staticClass: "btn-loader",
|
|
11137
11150
|
attrs: {
|
|
11138
11151
|
"hasBg": false
|
|
11139
11152
|
}
|
|
11140
11153
|
}) : _vm._e(), _vm._ssrNode(" "), _vm._ssrNode("<span" + _vm._ssrStyle(null, {
|
|
11141
11154
|
opacity: _vm.customActionButtons[0].btn2.loading ? 0 : 1
|
|
11142
|
-
}, null) + " data-v-
|
|
11155
|
+
}, null) + " data-v-19db92ac>", "</span>", [_vm.customActionButtons[0].btn2.icon ? _c('fa-icon', {
|
|
11143
11156
|
staticClass: "icon-btn-encerrar-spam",
|
|
11144
11157
|
staticStyle: {
|
|
11145
11158
|
"margin-right": "6px"
|
|
@@ -11147,7 +11160,7 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
11147
11160
|
attrs: {
|
|
11148
11161
|
"icon": ['fas', _vm.customActionButtons[0].btn2.icon === 'exit' ? 'sign-out-alt' : _vm.customActionButtons[0].btn2.icon]
|
|
11149
11162
|
}
|
|
11150
|
-
}) : _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-
|
|
11163
|
+
}) : _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-19db92ac>", "</div>", [_vm._l(_vm.customActionButtons, function (button, index) {
|
|
11151
11164
|
return [button.type !== 'ja-spam' ? _c('button', {
|
|
11152
11165
|
directives: [{
|
|
11153
11166
|
name: "show",
|
|
@@ -11177,8 +11190,8 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
11177
11190
|
domProps: {
|
|
11178
11191
|
"innerHTML": _vm._s(button.svgIcon)
|
|
11179
11192
|
}
|
|
11180
|
-
}), _vm._ssrNode(" " + (button.label ? "<span class=\"email-custom-action-label\" data-v-
|
|
11181
|
-
})], 2) : _vm._e(), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-header\" data-v-
|
|
11193
|
+
}), _vm._ssrNode(" " + (button.label ? "<span class=\"email-custom-action-label\" data-v-19db92ac>" + _vm._ssrEscape(_vm._s(button.label)) + "</span>" : "<!---->"))], 2) : _vm._e()];
|
|
11194
|
+
})], 2) : _vm._e(), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-header\" data-v-19db92ac>", "</div>", [_vm._ssrNode("<p" + _vm._ssrAttr("title", _vm.returnMainValue()) + " class=\"email-subject\" data-v-19db92ac>" + _vm._ssrEscape("\n " + _vm._s(_vm.returnMainValue()) + "\n ") + "</p> " + (_vm.status === 'C' ? "<div" + _vm._ssrClass("divBtnReplyEmail", [_vm.isOpen ? 'reply-email-open' : '']) + " data-v-19db92ac><strong class=\"strongMsg\" data-v-19db92ac>" + _vm._ssrEscape(_vm._s(_vm.status_msg) + " ") + "</strong> " + (_vm.hasReplyEmail ? "<button class=\"btnReplyEmail\" data-v-19db92ac><strong data-v-19db92ac>Reenviar</strong></button>" : "<!---->") + "</div>" : "<!---->") + " "), _vm._ssrNode("<div class=\"header-container\" data-v-19db92ac>", "</div>", [_vm._ssrNode("<div" + _vm._ssrClass(null, "email-header-content" + (_vm.isOpen ? ' open' : '')) + " data-v-19db92ac>", "</div>", [_vm._ssrNode("<div class=\"email-header-infos\" data-v-19db92ac>", "</div>", [_vm.para && _vm.para.length ? [_vm._ssrNode("<div class=\"email-to-from-container\" data-v-19db92ac>", "</div>", [_vm._l(_vm.paraCopia, function (recipient, index) {
|
|
11182
11195
|
return _c('EmailTo', {
|
|
11183
11196
|
key: "to-" + recipient.email,
|
|
11184
11197
|
attrs: {
|
|
@@ -11189,13 +11202,13 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
11189
11202
|
});
|
|
11190
11203
|
}), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-to-btn\"" + _vm._ssrStyle(null, null, {
|
|
11191
11204
|
display: _vm.isOpen ? '' : 'none'
|
|
11192
|
-
}) + " data-v-
|
|
11205
|
+
}) + " data-v-19db92ac>", "</div>", [_c('fa-icon', {
|
|
11193
11206
|
attrs: {
|
|
11194
11207
|
"icon": ['fas', 'caret-down']
|
|
11195
11208
|
}
|
|
11196
|
-
})], 1)], 2)] : _vm._e(), _vm._ssrNode(" " + (!_vm.isMainEmail && _vm.isOpen ? "<div class=\"email-subject-secondary\" data-v-
|
|
11209
|
+
})], 1)], 2)] : _vm._e(), _vm._ssrNode(" " + (!_vm.isMainEmail && _vm.isOpen ? "<div class=\"email-subject-secondary\" data-v-19db92ac><span class=\"email-subject-span\" data-v-19db92ac>" + _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, {
|
|
11197
11210
|
display: _vm.formattedDate ? '' : 'none'
|
|
11198
|
-
}) + " data-v-
|
|
11211
|
+
}) + " data-v-19db92ac>", "</span>", [_c('fa-icon', {
|
|
11199
11212
|
attrs: {
|
|
11200
11213
|
"icon": ['fas', 'calendar']
|
|
11201
11214
|
}
|
|
@@ -11216,12 +11229,12 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
11216
11229
|
}
|
|
11217
11230
|
}
|
|
11218
11231
|
}, [_vm._ssrNode(_vm._ssrList(_vm.mailInfos, function (info, index) {
|
|
11219
|
-
return "<li class=\"email-info\" data-v-
|
|
11232
|
+
return "<li class=\"email-info\" data-v-19db92ac><span data-v-19db92ac>" + _vm._ssrEscape(_vm._s(info.label)) + "</span>" + _vm._ssrEscape("\n " + _vm._s(info.value) + "\n ") + "</li>";
|
|
11220
11233
|
}))]) : _vm._e(), _vm._ssrNode(" " + (_vm.isOpen ? "<span" + _vm._ssrClass(null, ['email-actions box-shadow', {
|
|
11221
11234
|
active: _vm.actionsOpen
|
|
11222
11235
|
}, {
|
|
11223
11236
|
main: _vm.isMainEmail
|
|
11224
|
-
}]) + " data-v-
|
|
11237
|
+
}]) + " data-v-19db92ac><span data-v-19db92ac></span> <span data-v-19db92ac></span> <span data-v-19db92ac></span></span>" : "<!---->") + " "), _vm.actionsOpen && _vm.isOpen ? _c('ul', {
|
|
11225
11238
|
directives: [{
|
|
11226
11239
|
name: "clickaway",
|
|
11227
11240
|
rawName: "v-clickaway",
|
|
@@ -11234,13 +11247,13 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
11234
11247
|
$event.stopPropagation();
|
|
11235
11248
|
}
|
|
11236
11249
|
}
|
|
11237
|
-
}, [_vm._ssrNode("<li class=\"email-action\" data-v-
|
|
11250
|
+
}, [_vm._ssrNode("<li class=\"email-action\" data-v-19db92ac>" + _vm._ssrEscape("\n " + _vm._s(!_vm.openMessage ? 'Visualizar' : 'Esconder') + " texto do e-mail\n ") + "</li>")]) : _vm._e()], 2), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-content\"" + _vm._ssrStyle(null, null, {
|
|
11238
11251
|
display: _vm.isOpen ? '' : 'none'
|
|
11239
|
-
}) + " data-v-
|
|
11252
|
+
}) + " data-v-19db92ac>", "</div>", [_vm.isIframeLoading ? _c('VueLoader') : _vm._e(), _vm._ssrNode(" " + (_vm.hasError ? "<div class=\"email-error-content\" data-v-19db92ac><p data-v-19db92ac>Erro ao carregar o e-mail</p> <button class=\"box-shadow\" data-v-19db92ac>Tentar novamente</button></div>" : "<!---->") + " <iframe" + _vm._ssrClass(null, "email-html " + (_vm.isIframeLoading ? 'visibility-hidden' : '')) + _vm._ssrStyle(null, null, {
|
|
11240
11253
|
display: !_vm.hasError ? '' : 'none'
|
|
11241
|
-
}) + " data-v-
|
|
11254
|
+
}) + " data-v-19db92ac></iframe> " + (_vm.openMessage ? "<span class=\"email-raw\" data-v-19db92ac>" + _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, {
|
|
11242
11255
|
display: _vm.isOpen ? '' : 'none'
|
|
11243
|
-
}) + " data-v-
|
|
11256
|
+
}) + " data-v-19db92ac>", "</div>", _vm._l(_vm.filteredFiles, function (anexo, index) {
|
|
11244
11257
|
return _c('EmailFile', {
|
|
11245
11258
|
key: index,
|
|
11246
11259
|
attrs: {
|
|
@@ -11248,31 +11261,31 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
11248
11261
|
"dominio": _vm.dominio
|
|
11249
11262
|
}
|
|
11250
11263
|
});
|
|
11251
|
-
}), 1) : _vm._e(), _vm._ssrNode(" "), _vm.filteredFiles && _vm.filteredFiles.length && !_vm.isOpen ? _vm._ssrNode("<div class=\"email-attachments-clip cursor-pointer\" data-v-
|
|
11264
|
+
}), 1) : _vm._e(), _vm._ssrNode(" "), _vm.filteredFiles && _vm.filteredFiles.length && !_vm.isOpen ? _vm._ssrNode("<div class=\"email-attachments-clip cursor-pointer\" data-v-19db92ac>", "</div>", [_vm._ssrNode("<span class=\"clip-icon\" data-v-19db92ac>", "</span>", [_c('fa-icon', {
|
|
11252
11265
|
attrs: {
|
|
11253
11266
|
"icon": ['fas', 'paperclip']
|
|
11254
11267
|
}
|
|
11255
|
-
}), _vm._ssrNode(" <span class=\"clip-badge\" data-v-
|
|
11268
|
+
}), _vm._ssrNode(" <span class=\"clip-badge\" data-v-19db92ac>" + _vm._ssrEscape(_vm._s(_vm.filteredFiles.length)) + "</span>")], 2)]) : _vm._e()], 2);
|
|
11256
11269
|
};
|
|
11257
11270
|
var __vue_staticRenderFns__$1 = [];
|
|
11258
11271
|
|
|
11259
11272
|
/* style */
|
|
11260
11273
|
var __vue_inject_styles__$1 = function __vue_inject_styles__(inject) {
|
|
11261
11274
|
if (!inject) return;
|
|
11262
|
-
inject("data-v-
|
|
11263
|
-
source: ".show-y-top-enter-active[data-v-
|
|
11275
|
+
inject("data-v-19db92ac_0", {
|
|
11276
|
+
source: ".show-y-top-enter-active[data-v-19db92ac],.show-y-top-leave-enter[data-v-19db92ac]{opacity:1;transform:translateY(0);transition:all .2s linear}.show-y-top-enter[data-v-19db92ac],.show-y-top-leave-to[data-v-19db92ac]{opacity:0;transform:translateY(-2%)}",
|
|
11264
11277
|
map: undefined,
|
|
11265
11278
|
media: undefined
|
|
11266
|
-
}), inject("data-v-
|
|
11279
|
+
}), inject("data-v-19db92ac_1", {
|
|
11267
11280
|
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))}",
|
|
11268
11281
|
map: undefined,
|
|
11269
11282
|
media: undefined
|
|
11270
11283
|
});
|
|
11271
11284
|
};
|
|
11272
11285
|
/* scoped */
|
|
11273
|
-
var __vue_scope_id__$1 = "data-v-
|
|
11286
|
+
var __vue_scope_id__$1 = "data-v-19db92ac";
|
|
11274
11287
|
/* module identifier */
|
|
11275
|
-
var __vue_module_identifier__$1 = "data-v-
|
|
11288
|
+
var __vue_module_identifier__$1 = "data-v-19db92ac";
|
|
11276
11289
|
/* functional template */
|
|
11277
11290
|
var __vue_is_functional_template__$1 = false;
|
|
11278
11291
|
/* style inject shadow dom */
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -352,8 +352,8 @@ export default {
|
|
|
352
352
|
]
|
|
353
353
|
|
|
354
354
|
if (this.copia && this.copia.length) {
|
|
355
|
-
infos.
|
|
356
|
-
label: this.dicionario.tit_copia,
|
|
355
|
+
infos.splice(2, 0, {
|
|
356
|
+
label: `${this.dicionario.tit_copia}:` || 'Copia:',
|
|
357
357
|
value: formatAsString(this.copia)
|
|
358
358
|
})
|
|
359
359
|
}
|
|
@@ -495,10 +495,23 @@ export default {
|
|
|
495
495
|
this.$nextTick(() => {
|
|
496
496
|
if (this.isOpen && this.isIframeLoading) {
|
|
497
497
|
const iframe = this.$refs.emailIframe;
|
|
498
|
-
if (!iframe)
|
|
498
|
+
if (!iframe) {
|
|
499
|
+
console.warn('Iframe not found');
|
|
500
|
+
this.isIframeLoading = false
|
|
501
|
+
return
|
|
502
|
+
}
|
|
499
503
|
const doc = iframe.contentDocument || iframe.contentWindow.document;
|
|
500
|
-
if (!doc)
|
|
501
|
-
|
|
504
|
+
if (!doc) {
|
|
505
|
+
console.warn('Document not found in iframe');
|
|
506
|
+
this.isIframeLoading = false
|
|
507
|
+
return
|
|
508
|
+
}
|
|
509
|
+
let content = this.html || ''
|
|
510
|
+
if(!content || !content.length) {
|
|
511
|
+
console.warn('No content to display in iframe');
|
|
512
|
+
this.isIframeLoading = false
|
|
513
|
+
return
|
|
514
|
+
}
|
|
502
515
|
if (!/<[a-z][\s\S]*>/i.test(content)) {
|
|
503
516
|
content = content.replace(/\n/g, '<br>');
|
|
504
517
|
content = this.gerarMensagemEstilizada(content)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|