vue-intergrall-plugins 1.1.19 → 1.1.21
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.
|
@@ -10679,6 +10679,18 @@ var EmailTo = __vue_component__$4;var script$1 = {
|
|
|
10679
10679
|
hasReplyEmail: {
|
|
10680
10680
|
type: Boolean,
|
|
10681
10681
|
default: false
|
|
10682
|
+
},
|
|
10683
|
+
id_lig: {
|
|
10684
|
+
type: String
|
|
10685
|
+
},
|
|
10686
|
+
token_cliente: {
|
|
10687
|
+
type: String
|
|
10688
|
+
},
|
|
10689
|
+
infos: {
|
|
10690
|
+
type: Object,
|
|
10691
|
+
default: function _default() {
|
|
10692
|
+
return {};
|
|
10693
|
+
}
|
|
10682
10694
|
}
|
|
10683
10695
|
},
|
|
10684
10696
|
data: function data() {
|
|
@@ -10799,7 +10811,10 @@ var EmailTo = __vue_component__$4;var script$1 = {
|
|
|
10799
10811
|
status_msg: this.status_msg,
|
|
10800
10812
|
copia: this.copia,
|
|
10801
10813
|
origem: this.origem,
|
|
10802
|
-
autor: this.autor
|
|
10814
|
+
autor: this.autor,
|
|
10815
|
+
id_lig: this.id_lig,
|
|
10816
|
+
token_cliente: this.token_cliente,
|
|
10817
|
+
infos: this.infos
|
|
10803
10818
|
});
|
|
10804
10819
|
},
|
|
10805
10820
|
gerarMensagemEstilizada: function gerarMensagemEstilizada(msg) {
|
|
@@ -11025,17 +11040,17 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
11025
11040
|
return _vm.openByItem($event);
|
|
11026
11041
|
}
|
|
11027
11042
|
}
|
|
11028
|
-
}, [_vm._ssrNode((_vm.showInfos ? "<div class=\"email-overlay\" data-v-
|
|
11043
|
+
}, [_vm._ssrNode((_vm.showInfos ? "<div class=\"email-overlay\" data-v-6344f034></div>" : "<!---->") + " "), _vm.autor ? _vm._ssrNode("<div" + _vm._ssrClass("email-author", [_vm.origem, _vm.isMainEmail ? 'main' : '']) + " data-v-6344f034>", "</div>", [_vm._ssrNode("<span" + _vm._ssrAttr("title", _vm.statusTitle) + " data-v-6344f034>", "</span>", [_c('fa-icon', {
|
|
11029
11044
|
class: [_vm.origem],
|
|
11030
11045
|
attrs: {
|
|
11031
11046
|
"icon": ['fas', _vm.status !== 'C' ? 'reply' : 'times']
|
|
11032
11047
|
}
|
|
11033
|
-
})], 1), _vm._ssrNode(" <p" + _vm._ssrAttr("title", _vm.returnAuthorName) + " class=\"email-author-name\" data-v-
|
|
11048
|
+
})], 1), _vm._ssrNode(" <p" + _vm._ssrAttr("title", _vm.returnAuthorName) + " class=\"email-author-name\" data-v-6344f034>" + _vm._ssrEscape(_vm._s(_vm.returnAuthorName)) + "</p> "), _vm._ssrNode("<span" + _vm._ssrAttr("title", "E-mail " + (_vm.origem === 'outros' ? 'recebido' : 'enviado')) + " data-v-6344f034>", "</span>", [_c('fa-icon', {
|
|
11034
11049
|
staticClass: "email-to-svg",
|
|
11035
11050
|
attrs: {
|
|
11036
11051
|
"icon": ['fas', _vm.origem === 'outros' ? 'user' : 'headset']
|
|
11037
11052
|
}
|
|
11038
|
-
})], 1)], 2) : _vm._e(), _vm._ssrNode(" "), _vm.customButtons && _vm.customButtons.length ? _vm._ssrNode("<div class=\"email-custom-buttons\" data-v-
|
|
11053
|
+
})], 1)], 2) : _vm._e(), _vm._ssrNode(" "), _vm.customButtons && _vm.customButtons.length ? _vm._ssrNode("<div class=\"email-custom-buttons\" data-v-6344f034>", "</div>", _vm._l(_vm.customButtons, function (button, index) {
|
|
11039
11054
|
return _c('span', {
|
|
11040
11055
|
directives: [{
|
|
11041
11056
|
name: "show",
|
|
@@ -11066,7 +11081,7 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
11066
11081
|
"innerHTML": _vm._s(button.svgIcon)
|
|
11067
11082
|
}
|
|
11068
11083
|
})], 1);
|
|
11069
|
-
}), 0) : _vm._e(), _vm._ssrNode(" "), _vm.customActionButtons && _vm.customActionButtons.length ? _vm._ssrNode("<div class=\"email-custom-action-buttons\" data-v-
|
|
11084
|
+
}), 0) : _vm._e(), _vm._ssrNode(" "), _vm.customActionButtons && _vm.customActionButtons.length ? _vm._ssrNode("<div class=\"email-custom-action-buttons\" data-v-6344f034>", "</div>", _vm._l(_vm.customActionButtons, function (button, index) {
|
|
11070
11085
|
return _c('button', {
|
|
11071
11086
|
directives: [{
|
|
11072
11087
|
name: "show",
|
|
@@ -11096,8 +11111,8 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
11096
11111
|
domProps: {
|
|
11097
11112
|
"innerHTML": _vm._s(button.svgIcon)
|
|
11098
11113
|
}
|
|
11099
|
-
}), _vm._ssrNode(" " + (button.label ? "<span class=\"email-custom-action-label\" data-v-
|
|
11100
|
-
}), 0) : _vm._e(), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-header\" data-v-
|
|
11114
|
+
}), _vm._ssrNode(" " + (button.label ? "<span class=\"email-custom-action-label\" data-v-6344f034>" + _vm._ssrEscape(_vm._s(button.label)) + "</span>" : "<!---->"))], 2);
|
|
11115
|
+
}), 0) : _vm._e(), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-header\" data-v-6344f034>", "</div>", [_vm._ssrNode("<p" + _vm._ssrAttr("title", _vm.returnMainValue()) + " class=\"email-subject\" data-v-6344f034>" + _vm._ssrEscape("\n " + _vm._s(_vm.returnMainValue()) + "\n ") + "</p> " + (_vm.status === 'C' ? "<div class=\"divBtnReplyEmail\" data-v-6344f034><strong class=\"strongMsg\" data-v-6344f034>" + _vm._ssrEscape(_vm._s(_vm.status_msg) + " ") + "</strong> " + (_vm.hasReplyEmail ? "<button class=\"btnReplyEmail\" data-v-6344f034><strong data-v-6344f034>Reenviar</strong></button>" : "<!---->") + "</div>" : "<!---->") + " "), _vm._ssrNode("<div class=\"header-container\" data-v-6344f034>", "</div>", [_vm._ssrNode("<div" + _vm._ssrClass(null, "email-header-content" + (_vm.isOpen ? ' open' : '')) + " data-v-6344f034>", "</div>", [_vm._ssrNode("<div class=\"email-header-infos\" data-v-6344f034>", "</div>", [_vm.para && _vm.para.length ? [_vm._ssrNode("<div class=\"email-to-from-container\" data-v-6344f034>", "</div>", [_vm._l(_vm.paraCopia, function (recipient, index) {
|
|
11101
11116
|
return _c('EmailTo', {
|
|
11102
11117
|
key: "to-" + recipient.email,
|
|
11103
11118
|
attrs: {
|
|
@@ -11108,17 +11123,17 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
11108
11123
|
});
|
|
11109
11124
|
}), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-to-btn\"" + _vm._ssrStyle(null, null, {
|
|
11110
11125
|
display: _vm.isOpen ? '' : 'none'
|
|
11111
|
-
}) + " data-v-
|
|
11126
|
+
}) + " data-v-6344f034>", "</div>", [_c('fa-icon', {
|
|
11112
11127
|
attrs: {
|
|
11113
11128
|
"icon": ['fas', 'caret-down']
|
|
11114
11129
|
}
|
|
11115
|
-
})], 1)], 2)] : _vm._e(), _vm._ssrNode(" " + (!_vm.isMainEmail && _vm.isOpen ? "<div class=\"email-subject-secondary\" data-v-
|
|
11130
|
+
})], 1)], 2)] : _vm._e(), _vm._ssrNode(" " + (!_vm.isMainEmail && _vm.isOpen ? "<div class=\"email-subject-secondary\" data-v-6344f034><span class=\"email-subject-span\" data-v-6344f034>" + _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, {
|
|
11116
11131
|
display: _vm.formattedDate ? '' : 'none'
|
|
11117
|
-
}) + " data-v-
|
|
11132
|
+
}) + " data-v-6344f034>", "</span>", [_c('fa-icon', {
|
|
11118
11133
|
attrs: {
|
|
11119
11134
|
"icon": ['fas', 'calendar']
|
|
11120
11135
|
}
|
|
11121
|
-
}), _vm._ssrNode(_vm._ssrEscape("\n
|
|
11136
|
+
}), _vm._ssrNode(_vm._ssrEscape("\n " + _vm._s(_vm.formattedDate) + "\n "))], 2)], 2), _vm._ssrNode(" "), _vm.showInfos ? _c('ul', {
|
|
11122
11137
|
directives: [{
|
|
11123
11138
|
name: "clickaway",
|
|
11124
11139
|
rawName: "v-clickaway",
|
|
@@ -11135,12 +11150,12 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
11135
11150
|
}
|
|
11136
11151
|
}
|
|
11137
11152
|
}, [_vm._ssrNode(_vm._ssrList(_vm.mailInfos, function (info, index) {
|
|
11138
|
-
return "<li class=\"email-info\" data-v-
|
|
11153
|
+
return "<li class=\"email-info\" data-v-6344f034><span data-v-6344f034>" + _vm._ssrEscape(_vm._s(info.label)) + "</span>" + _vm._ssrEscape("\n " + _vm._s(info.value) + "\n ") + "</li>";
|
|
11139
11154
|
}))]) : _vm._e(), _vm._ssrNode(" " + (_vm.isOpen ? "<span" + _vm._ssrClass(null, ['email-actions box-shadow', {
|
|
11140
11155
|
active: _vm.actionsOpen
|
|
11141
11156
|
}, {
|
|
11142
11157
|
main: _vm.isMainEmail
|
|
11143
|
-
}]) + " data-v-
|
|
11158
|
+
}]) + " data-v-6344f034><span data-v-6344f034></span> <span data-v-6344f034></span> <span data-v-6344f034></span></span>" : "<!---->") + " "), _vm.actionsOpen && _vm.isOpen ? _c('ul', {
|
|
11144
11159
|
directives: [{
|
|
11145
11160
|
name: "clickaway",
|
|
11146
11161
|
rawName: "v-clickaway",
|
|
@@ -11153,11 +11168,11 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
11153
11168
|
$event.stopPropagation();
|
|
11154
11169
|
}
|
|
11155
11170
|
}
|
|
11156
|
-
}, [_vm._ssrNode("<li class=\"email-action\" data-v-
|
|
11171
|
+
}, [_vm._ssrNode("<li class=\"email-action\" data-v-6344f034>" + _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, {
|
|
11157
11172
|
display: _vm.isOpen ? '' : 'none'
|
|
11158
|
-
}) + " data-v-
|
|
11173
|
+
}) + " data-v-6344f034>", "</div>", [_vm.isIframeLoading ? _c('VueLoader') : _vm._e(), _vm._ssrNode(" " + (_vm.hasError ? "<div class=\"email-error-content\" data-v-6344f034><p data-v-6344f034>Erro ao carregar o e-mail</p> <button class=\"box-shadow\" data-v-6344f034>Tentar novamente</button></div>" : "<!---->") + " <iframe" + _vm._ssrClass(null, "email-html " + (_vm.isIframeLoading ? 'visibility-hidden' : '')) + _vm._ssrStyle(null, null, {
|
|
11159
11174
|
display: !_vm.hasError ? '' : 'none'
|
|
11160
|
-
}) + " data-v-
|
|
11175
|
+
}) + " data-v-6344f034></iframe> " + (_vm.openMessage ? "<span class=\"email-raw\" data-v-6344f034>" + _vm._ssrEscape(_vm._s(_vm.mensagem)) + "</span>" : "<!---->"))], 2), _vm._ssrNode(" "), _vm.filteredFiles && _vm.filteredFiles.length ? _vm._ssrNode("<div class=\"email-files\" data-v-6344f034>", "</div>", _vm._l(_vm.filteredFiles, function (anexo, index) {
|
|
11161
11176
|
return _c('EmailFile', {
|
|
11162
11177
|
key: index,
|
|
11163
11178
|
attrs: {
|
|
@@ -11172,20 +11187,20 @@ var __vue_staticRenderFns__$1 = [];
|
|
|
11172
11187
|
/* style */
|
|
11173
11188
|
var __vue_inject_styles__$1 = function __vue_inject_styles__(inject) {
|
|
11174
11189
|
if (!inject) return;
|
|
11175
|
-
inject("data-v-
|
|
11176
|
-
source: ".show-y-top-enter-active[data-v-
|
|
11190
|
+
inject("data-v-6344f034_0", {
|
|
11191
|
+
source: ".show-y-top-enter-active[data-v-6344f034],.show-y-top-leave-enter[data-v-6344f034]{opacity:1;transform:translateY(0);transition:all .2s linear}.show-y-top-enter[data-v-6344f034],.show-y-top-leave-to[data-v-6344f034]{opacity:0;transform:translateY(-2%)}",
|
|
11177
11192
|
map: undefined,
|
|
11178
11193
|
media: undefined
|
|
11179
|
-
}), inject("data-v-
|
|
11194
|
+
}), inject("data-v-6344f034_1", {
|
|
11180
11195
|
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:7px 0;width:calc(100% - 10px - 50px);gap:8px}.btnReplyEmail{display:block;background-color:#faa732;border:1px solid #da8205;margin:8px 0 8px 5px;padding:5px;font-size:13px;font-weight:700;border-radius:3px;color:#000;cursor:pointer}.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}",
|
|
11181
11196
|
map: undefined,
|
|
11182
11197
|
media: undefined
|
|
11183
11198
|
});
|
|
11184
11199
|
};
|
|
11185
11200
|
/* scoped */
|
|
11186
|
-
var __vue_scope_id__$1 = "data-v-
|
|
11201
|
+
var __vue_scope_id__$1 = "data-v-6344f034";
|
|
11187
11202
|
/* module identifier */
|
|
11188
|
-
var __vue_module_identifier__$1 = "data-v-
|
|
11203
|
+
var __vue_module_identifier__$1 = "data-v-6344f034";
|
|
11189
11204
|
/* functional template */
|
|
11190
11205
|
var __vue_is_functional_template__$1 = false;
|
|
11191
11206
|
/* style inject shadow dom */
|
package/package.json
CHANGED
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
</template>
|
|
57
57
|
<div v-if="!isMainEmail && isOpen" class="email-subject-secondary">
|
|
58
58
|
<span class="email-subject-span"
|
|
59
|
-
|
|
59
|
+
v-text="`Assunto: ${htmlEntityToEmoji(replaceUnicodeWithEmoji(assunto)) || '(Sem assunto)'}`"></span>
|
|
60
60
|
</div>
|
|
61
61
|
</div>
|
|
62
62
|
</div>
|
|
@@ -209,7 +209,17 @@ export default {
|
|
|
209
209
|
hasReplyEmail: {
|
|
210
210
|
type: Boolean,
|
|
211
211
|
default: false
|
|
212
|
-
}
|
|
212
|
+
},
|
|
213
|
+
id_lig: {
|
|
214
|
+
type: String,
|
|
215
|
+
},
|
|
216
|
+
token_cliente: {
|
|
217
|
+
type: String,
|
|
218
|
+
},
|
|
219
|
+
infos: {
|
|
220
|
+
type: Object,
|
|
221
|
+
default: () => ({}),
|
|
222
|
+
},
|
|
213
223
|
},
|
|
214
224
|
data() {
|
|
215
225
|
return {
|
|
@@ -341,6 +351,9 @@ export default {
|
|
|
341
351
|
copia: this.copia,
|
|
342
352
|
origem: this.origem,
|
|
343
353
|
autor: this.autor,
|
|
354
|
+
id_lig: this.id_lig,
|
|
355
|
+
token_cliente: this.token_cliente,
|
|
356
|
+
infos: this.infos,
|
|
344
357
|
});
|
|
345
358
|
},
|
|
346
359
|
|