vue-intergrall-plugins 1.1.5 → 1.1.7
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.
|
@@ -7461,6 +7461,10 @@ var CardCheck = __vue_component__$o;var script$g = {
|
|
|
7461
7461
|
CardCheck: CardCheck
|
|
7462
7462
|
},
|
|
7463
7463
|
props: {
|
|
7464
|
+
customClass: {
|
|
7465
|
+
type: String,
|
|
7466
|
+
required: false
|
|
7467
|
+
},
|
|
7464
7468
|
dictionary: {
|
|
7465
7469
|
type: Object,
|
|
7466
7470
|
required: true
|
|
@@ -7545,7 +7549,7 @@ var CardCheck = __vue_component__$o;var script$g = {
|
|
|
7545
7549
|
return this.origin === "outros" ? ["fas", "user"] : ["fas", "headset"];
|
|
7546
7550
|
},
|
|
7547
7551
|
currentClasses: function currentClasses() {
|
|
7548
|
-
return "".concat(this.origin === "outros" ? "card-cli" : "card-ope", " ").concat(this.newMessage ? "newMessage" : "");
|
|
7552
|
+
return "".concat(this.origin === "outros" ? "card-cli" : "card-ope", " ").concat(this.newMessage ? "newMessage" : "", " ").concat(this.customClass || '');
|
|
7549
7553
|
},
|
|
7550
7554
|
chipInfosClasses: function chipInfosClasses() {
|
|
7551
7555
|
if (!this.chipInfos || !this.chipInfos.cod) return "";
|
|
@@ -7555,11 +7559,13 @@ var CardCheck = __vue_component__$o;var script$g = {
|
|
|
7555
7559
|
case "9":
|
|
7556
7560
|
case 8:
|
|
7557
7561
|
case "8":
|
|
7562
|
+
case "CANCELADA":
|
|
7558
7563
|
return "red";
|
|
7559
7564
|
case 3:
|
|
7560
7565
|
case "3":
|
|
7561
7566
|
case 6:
|
|
7562
7567
|
case "6":
|
|
7568
|
+
case "AGENDADA":
|
|
7563
7569
|
return "yellow";
|
|
7564
7570
|
default:
|
|
7565
7571
|
return "";
|
|
@@ -7684,8 +7690,8 @@ var __vue_staticRenderFns__$g = [];
|
|
|
7684
7690
|
/* style */
|
|
7685
7691
|
var __vue_inject_styles__$g = function __vue_inject_styles__(inject) {
|
|
7686
7692
|
if (!inject) return;
|
|
7687
|
-
inject("data-v-
|
|
7688
|
-
source: ".fade-enter-active,.fade-leave-active{transition:opacity .2s}.fade-enter,.fade-leave-to{opacity:0}.card-cli,.card-ope{display:flex;width:95%;margin:5px 0;position:relative}.card-cli.newMessage,.card-ope.newMessage{margin-top:30px}.new-messages{position:absolute;top:-30px;width:100%;display:flex;justify-content:center;align-items:center;margin:2.5px 0;background-color:lighten(#fff249,15)}.card-cli .card{border-left:3px solid #90b823}.card-ope{align-self:flex-end;background-color:lighten(#007535,72)}.card-ope .card{border-right:3px solid #007535}.card{background-color:rgba(255,255,255,.9);overflow:hidden;width:100%;padding:2.5px 5px}.card p{word-break:break-all}.card-header{width:100%;border-bottom:1px solid #ddd;margin-bottom:5px;display:flex;justify-content:space-between}.card-header svg{font-size:16px}.card-author{display:flex;align-items:center}.card-author svg{margin-right:5px}.card-actions{display:flex;gap:7px}.menu-mensagem{cursor:pointer;padding:1px}.card-canal{flex:1;margin-right:10px}.card-dates{display:flex;flex-direction:column;margin-right:10px;
|
|
7693
|
+
inject("data-v-2e694c1a_0", {
|
|
7694
|
+
source: ".fade-enter-active,.fade-leave-active{transition:opacity .2s}.fade-enter,.fade-leave-to{opacity:0}.card-cli,.card-ope{display:flex;width:95%;margin:5px 0;position:relative}.card-cli.newMessage,.card-ope.newMessage{margin-top:30px}.new-messages{position:absolute;top:-30px;width:100%;display:flex;justify-content:center;align-items:center;margin:2.5px 0;background-color:lighten(#fff249,15)}.card-cli .card{border-left:3px solid #90b823}.card-ope{align-self:flex-end;background-color:lighten(#007535,72)}.card-ope .card{border-right:3px solid #007535}.card{background-color:rgba(255,255,255,.9);overflow:hidden;width:100%;padding:2.5px 5px}.card p{word-break:break-all}.card-header{width:100%;border-bottom:1px solid #ddd;margin-bottom:5px;display:flex;justify-content:space-between}.card-header svg{font-size:16px}.card-right{margin-right:-20px;display:flex;flex-direction:row-reverse;align-items:center}.card-author{display:flex;align-items:center;margin-right:10px;overflow:hidden;min-width:14px;max-width:calc(100% - 215px);gap:5px}.card-author svg{margin-right:5px}.card-actions{display:flex;gap:7px}.menu-mensagem{cursor:pointer;padding:1px}.card-canal{flex:1;margin-right:10px}.card-dates{display:flex;flex-direction:column;margin-right:10px;padding:5px 10px;border-top-left-radius:15px;border-bottom-left-radius:15px;color:#fff}.card-cli .card-dates{background-color:#90b823}.card-ope .card-dates{background-color:#007535}.card-date{overflow:hidden;display:flex;align-content:center}.card-date span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.card-date svg{margin-right:5px;color:#232323}.card-expand{display:flex;justify-content:center;align-items:center;margin:2.5px;cursor:pointer;opacity:.8;transition:opacity 150ms}.card-expand:hover{opacity:1}.card-footer{margin-top:5px;border-top:1px solid #ddd;display:flex;flex-wrap:wrap;min-height:25px}.card-chip{font-size:12.8px;width:fit-content;border-radius:15px;transition:all 150ms ease-in-out;padding:2.5px 7px;color:#1f69c1;background-color:rgba(207,216,244,.6);margin-bottom:5px}.card-chip:hover{background-color:#cfd8f4}.card-chip.orange{color:#e14924;background-color:rgba(228,92,58,.15)}.card-chip.orange:hover{background-color:rgba(228,92,58,.2)}.card-chip.yellow{color:#f4a304;background-color:rgba(252,191,73,.15)}.card-chip.yellow:hover{background-color:rgba(252,191,73,.2)}.card-chip.red{color:#e74c3c;background-color:rgba(231,76,60,.2)}.card-chip.red:hover{background-color:rgba(231,76,60,.25)}.card-file{width:60px;height:50px;margin-right:5px;display:flex;justify-content:center;align-items:center}.card-reply{cursor:pointer;position:absolute;right:30px;bottom:5px;font-size:9.6px;color:#67a332;width:14.4px;height:14.4px;display:flex;justify-content:center;align-items:center;border-radius:50%;background-color:#fff}.card-reply svg{margin-top:-1px;margin-right:-1px}.card-check{position:absolute;bottom:5px;right:5px;cursor:pointer;font-size:11.2px}.card-check svg{font-size:12.8px}.card-check.seen,.card-check.seen svg{color:#006daa}.card-check.green,.card-check.green svg{color:#4f772d}.card-check.red,.card-check.red svg{color:#ba181b}.card-check.gray,.card-check.gray svg{color:#999}.card-check.black,.card-check.black svg{color:#666}",
|
|
7689
7695
|
map: undefined,
|
|
7690
7696
|
media: undefined
|
|
7691
7697
|
});
|
|
@@ -7693,7 +7699,7 @@ var __vue_inject_styles__$g = function __vue_inject_styles__(inject) {
|
|
|
7693
7699
|
/* scoped */
|
|
7694
7700
|
var __vue_scope_id__$g = undefined;
|
|
7695
7701
|
/* module identifier */
|
|
7696
|
-
var __vue_module_identifier__$g = "data-v-
|
|
7702
|
+
var __vue_module_identifier__$g = "data-v-2e694c1a";
|
|
7697
7703
|
/* functional template */
|
|
7698
7704
|
var __vue_is_functional_template__$g = false;
|
|
7699
7705
|
/* style inject shadow dom */
|
|
@@ -10689,19 +10695,17 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10689
10695
|
return _vm.openByItem($event);
|
|
10690
10696
|
}
|
|
10691
10697
|
}
|
|
10692
|
-
}, [_vm._ssrNode((_vm.showInfos ? "<div class=\"email-overlay\" data-v-
|
|
10698
|
+
}, [_vm._ssrNode((_vm.showInfos ? "<div class=\"email-overlay\" data-v-020744a2></div>" : "<!---->") + " "), _vm.autor ? _vm._ssrNode("<div" + _vm._ssrClass("email-author", [_vm.origem, _vm.isMainEmail ? 'main' : '']) + " data-v-020744a2>", "</div>", [_vm._ssrNode("<span" + _vm._ssrAttr("title", "Enviado por: " + _vm.autor) + " data-v-020744a2>", "</span>", [_c('fa-icon', {
|
|
10693
10699
|
class: [_vm.origem],
|
|
10694
10700
|
attrs: {
|
|
10695
|
-
"icon": ['fas', 'reply']
|
|
10696
|
-
"title": "Enviado por: " + _vm.autor
|
|
10701
|
+
"icon": ['fas', 'reply']
|
|
10697
10702
|
}
|
|
10698
|
-
}), _vm._ssrNode(" <p" + _vm._ssrAttr("title", _vm.returnAuthorName) + " class=\"email-author-name\" data-v-
|
|
10703
|
+
})], 1), _vm._ssrNode(" <p" + _vm._ssrAttr("title", _vm.returnAuthorName) + " class=\"email-author-name\" data-v-020744a2>" + _vm._ssrEscape(_vm._s(_vm.returnAuthorName)) + "</p> "), _vm._ssrNode("<span" + _vm._ssrAttr("title", "E-mail " + (_vm.origem === 'outros' ? 'recebido' : 'enviado')) + " data-v-020744a2>", "</span>", [_c('fa-icon', {
|
|
10699
10704
|
staticClass: "email-to-svg",
|
|
10700
10705
|
attrs: {
|
|
10701
|
-
"icon": ['fas', _vm.origem === 'outros' ? 'user' : 'headset']
|
|
10702
|
-
"title": "E-mail " + (_vm.origem === 'outros' ? 'recebido' : 'enviado')
|
|
10706
|
+
"icon": ['fas', _vm.origem === 'outros' ? 'user' : 'headset']
|
|
10703
10707
|
}
|
|
10704
|
-
})], 2) : _vm._e(), _vm._ssrNode(" "), _vm.customButtons && _vm.customButtons.length ? _vm._ssrNode("<div class=\"email-custom-buttons\" data-v-
|
|
10708
|
+
})], 1)], 2) : _vm._e(), _vm._ssrNode(" "), _vm.customButtons && _vm.customButtons.length ? _vm._ssrNode("<div class=\"email-custom-buttons\" data-v-020744a2>", "</div>", _vm._l(_vm.customButtons, function (button, index) {
|
|
10705
10709
|
return _c('span', {
|
|
10706
10710
|
directives: [{
|
|
10707
10711
|
name: "show",
|
|
@@ -10732,7 +10736,7 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10732
10736
|
"innerHTML": _vm._s(button.svgIcon)
|
|
10733
10737
|
}
|
|
10734
10738
|
})], 1);
|
|
10735
|
-
}), 0) : _vm._e(), _vm._ssrNode(" "), _vm.customActionButtons && _vm.customActionButtons.length ? _vm._ssrNode("<div class=\"email-custom-action-buttons\" data-v-
|
|
10739
|
+
}), 0) : _vm._e(), _vm._ssrNode(" "), _vm.customActionButtons && _vm.customActionButtons.length ? _vm._ssrNode("<div class=\"email-custom-action-buttons\" data-v-020744a2>", "</div>", _vm._l(_vm.customActionButtons, function (button, index) {
|
|
10736
10740
|
return _c('button', {
|
|
10737
10741
|
directives: [{
|
|
10738
10742
|
name: "show",
|
|
@@ -10762,8 +10766,8 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10762
10766
|
domProps: {
|
|
10763
10767
|
"innerHTML": _vm._s(button.svgIcon)
|
|
10764
10768
|
}
|
|
10765
|
-
}), _vm._ssrNode(" " + (button.label ? "<span class=\"email-custom-action-label\" data-v-
|
|
10766
|
-
}), 0) : _vm._e(), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-header\" data-v-
|
|
10769
|
+
}), _vm._ssrNode(" " + (button.label ? "<span class=\"email-custom-action-label\" data-v-020744a2>" + _vm._ssrEscape(_vm._s(button.label)) + "</span>" : "<!---->"))], 2);
|
|
10770
|
+
}), 0) : _vm._e(), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-header\" data-v-020744a2>", "</div>", [_vm._ssrNode("<p" + _vm._ssrAttr("title", _vm.returnMainValue()) + " class=\"email-subject\" data-v-020744a2>" + _vm._ssrEscape("\n " + _vm._s(_vm.returnMainValue()) + "\n ") + "</p> "), _vm._ssrNode("<div class=\"header-container\" data-v-020744a2>", "</div>", [_vm._ssrNode("<div" + _vm._ssrClass(null, "email-header-content" + (_vm.isOpen ? ' open' : '')) + " data-v-020744a2>", "</div>", [_vm._ssrNode("<div class=\"email-header-infos\" data-v-020744a2>", "</div>", [_vm.para && _vm.para.length ? [_vm._ssrNode("<div class=\"email-to-from-container\" data-v-020744a2>", "</div>", [_vm._l(_vm.paraCopia, function (recipient, index) {
|
|
10767
10771
|
return _c('EmailTo', {
|
|
10768
10772
|
key: "to-" + recipient.email,
|
|
10769
10773
|
attrs: {
|
|
@@ -10774,13 +10778,13 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10774
10778
|
});
|
|
10775
10779
|
}), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-to-btn\"" + _vm._ssrStyle(null, null, {
|
|
10776
10780
|
display: _vm.isOpen ? '' : 'none'
|
|
10777
|
-
}) + " data-v-
|
|
10781
|
+
}) + " data-v-020744a2>", "</div>", [_c('fa-icon', {
|
|
10778
10782
|
attrs: {
|
|
10779
10783
|
"icon": ['fas', 'caret-down']
|
|
10780
10784
|
}
|
|
10781
|
-
})], 1)], 2)] : _vm._e(), _vm._ssrNode(" " + (!_vm.isMainEmail && _vm.isOpen ? "<div class=\"email-subject-secondary\" data-v-
|
|
10785
|
+
})], 1)], 2)] : _vm._e(), _vm._ssrNode(" " + (!_vm.isMainEmail && _vm.isOpen ? "<div class=\"email-subject-secondary\" data-v-020744a2><span class=\"email-subject-span\" data-v-020744a2>" + _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, {
|
|
10782
10786
|
display: _vm.formattedDate ? '' : 'none'
|
|
10783
|
-
}) + " data-v-
|
|
10787
|
+
}) + " data-v-020744a2>", "</span>", [_c('fa-icon', {
|
|
10784
10788
|
attrs: {
|
|
10785
10789
|
"icon": ['fas', 'calendar']
|
|
10786
10790
|
}
|
|
@@ -10801,12 +10805,12 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10801
10805
|
}
|
|
10802
10806
|
}
|
|
10803
10807
|
}, [_vm._ssrNode(_vm._ssrList(_vm.mailInfos, function (info, index) {
|
|
10804
|
-
return "<li class=\"email-info\" data-v-
|
|
10808
|
+
return "<li class=\"email-info\" data-v-020744a2><span data-v-020744a2>" + _vm._ssrEscape(_vm._s(info.label)) + "</span>" + _vm._ssrEscape("\n " + _vm._s(info.value) + "\n ") + "</li>";
|
|
10805
10809
|
}))]) : _vm._e(), _vm._ssrNode(" " + (_vm.isOpen ? "<span" + _vm._ssrClass(null, ['email-actions box-shadow', {
|
|
10806
10810
|
active: _vm.actionsOpen
|
|
10807
10811
|
}, {
|
|
10808
10812
|
main: _vm.isMainEmail
|
|
10809
|
-
}]) + " data-v-
|
|
10813
|
+
}]) + " data-v-020744a2><span data-v-020744a2></span> <span data-v-020744a2></span> <span data-v-020744a2></span></span>" : "<!---->") + " "), _vm.actionsOpen && _vm.isOpen ? _c('ul', {
|
|
10810
10814
|
directives: [{
|
|
10811
10815
|
name: "clickaway",
|
|
10812
10816
|
rawName: "v-clickaway",
|
|
@@ -10819,13 +10823,13 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
10819
10823
|
$event.stopPropagation();
|
|
10820
10824
|
}
|
|
10821
10825
|
}
|
|
10822
|
-
}, [_vm._ssrNode("<li class=\"email-action\" data-v-
|
|
10826
|
+
}, [_vm._ssrNode("<li class=\"email-action\" data-v-020744a2>" + _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, {
|
|
10823
10827
|
display: _vm.isOpen ? '' : 'none'
|
|
10824
|
-
}) + " data-v-
|
|
10828
|
+
}) + " data-v-020744a2>", "</div>", [_vm.isIframeLoading ? _c('VueLoader') : _vm._e(), _vm._ssrNode(" " + (_vm.hasError ? "<div class=\"email-error-content\" data-v-020744a2><p data-v-020744a2>Erro ao carregar o e-mail</p> <button class=\"box-shadow\" data-v-020744a2>Tentar novamente</button></div>" : "<!---->") + " <iframe" + _vm._ssrClass(null, "email-html " + (_vm.isIframeLoading ? 'visibility-hidden' : '')) + _vm._ssrStyle(null, null, {
|
|
10825
10829
|
display: !_vm.hasError ? '' : 'none'
|
|
10826
|
-
}) + " data-v-
|
|
10830
|
+
}) + " data-v-020744a2></iframe> " + (_vm.openMessage ? "<span class=\"email-raw\" data-v-020744a2>" + _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, {
|
|
10827
10831
|
display: _vm.isOpen || _vm.isMainEmail ? '' : 'none'
|
|
10828
|
-
}) + " data-v-
|
|
10832
|
+
}) + " data-v-020744a2>", "</div>", _vm._l(_vm.filteredFiles, function (anexo, index) {
|
|
10829
10833
|
return _c('EmailFile', {
|
|
10830
10834
|
key: index,
|
|
10831
10835
|
attrs: {
|
|
@@ -10840,20 +10844,20 @@ var __vue_staticRenderFns__$1 = [];
|
|
|
10840
10844
|
/* style */
|
|
10841
10845
|
var __vue_inject_styles__$1 = function __vue_inject_styles__(inject) {
|
|
10842
10846
|
if (!inject) return;
|
|
10843
|
-
inject("data-v-
|
|
10844
|
-
source: ".show-y-top-enter-active[data-v-
|
|
10847
|
+
inject("data-v-020744a2_0", {
|
|
10848
|
+
source: ".show-y-top-enter-active[data-v-020744a2],.show-y-top-leave-enter[data-v-020744a2]{opacity:1;transform:translateY(0);transition:all .2s linear}.show-y-top-enter[data-v-020744a2],.show-y-top-leave-to[data-v-020744a2]{opacity:0;transform:translateY(-2%)}",
|
|
10845
10849
|
map: undefined,
|
|
10846
10850
|
media: undefined
|
|
10847
|
-
}), inject("data-v-
|
|
10851
|
+
}), inject("data-v-020744a2_1", {
|
|
10848
10852
|
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: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}",
|
|
10849
10853
|
map: undefined,
|
|
10850
10854
|
media: undefined
|
|
10851
10855
|
});
|
|
10852
10856
|
};
|
|
10853
10857
|
/* scoped */
|
|
10854
|
-
var __vue_scope_id__$1 = "data-v-
|
|
10858
|
+
var __vue_scope_id__$1 = "data-v-020744a2";
|
|
10855
10859
|
/* module identifier */
|
|
10856
|
-
var __vue_module_identifier__$1 = "data-v-
|
|
10860
|
+
var __vue_module_identifier__$1 = "data-v-020744a2";
|
|
10857
10861
|
/* functional template */
|
|
10858
10862
|
var __vue_is_functional_template__$1 = false;
|
|
10859
10863
|
/* style inject shadow dom */
|
package/package.json
CHANGED
|
@@ -59,6 +59,10 @@ import CardCheck from "./CardCheck";
|
|
|
59
59
|
export default {
|
|
60
60
|
components: { CardFile, CardCheck },
|
|
61
61
|
props: {
|
|
62
|
+
customClass: {
|
|
63
|
+
type: String,
|
|
64
|
+
required: false,
|
|
65
|
+
},
|
|
62
66
|
dictionary: {
|
|
63
67
|
type: Object,
|
|
64
68
|
required: true,
|
|
@@ -144,7 +148,7 @@ export default {
|
|
|
144
148
|
},
|
|
145
149
|
currentClasses() {
|
|
146
150
|
return `${this.origin === "outros" ? "card-cli" : "card-ope"} ${this.newMessage ? "newMessage" : ""
|
|
147
|
-
}`;
|
|
151
|
+
} ${this.customClass || ''}`;
|
|
148
152
|
},
|
|
149
153
|
chipInfosClasses() {
|
|
150
154
|
if (!this.chipInfos || !this.chipInfos.cod) return "";
|
|
@@ -154,11 +158,13 @@ export default {
|
|
|
154
158
|
case "9":
|
|
155
159
|
case 8:
|
|
156
160
|
case "8":
|
|
161
|
+
case "CANCELADA":
|
|
157
162
|
return "red";
|
|
158
163
|
case 3:
|
|
159
164
|
case "3":
|
|
160
165
|
case 6:
|
|
161
166
|
case "6":
|
|
167
|
+
case "AGENDADA":
|
|
162
168
|
return "yellow";
|
|
163
169
|
default:
|
|
164
170
|
return "";
|
|
@@ -280,9 +286,21 @@ export default {
|
|
|
280
286
|
font-size: 16px;
|
|
281
287
|
}
|
|
282
288
|
|
|
289
|
+
.card-right {
|
|
290
|
+
margin-right: -20px;
|
|
291
|
+
display: flex;
|
|
292
|
+
flex-direction: row-reverse;
|
|
293
|
+
align-items: center;
|
|
294
|
+
}
|
|
295
|
+
|
|
283
296
|
.card-author {
|
|
284
297
|
display: flex;
|
|
285
298
|
align-items: center;
|
|
299
|
+
margin-right: 10px;
|
|
300
|
+
overflow: hidden;
|
|
301
|
+
min-width: 14px;
|
|
302
|
+
max-width: calc(100% - 215px);
|
|
303
|
+
gap: 5px;
|
|
286
304
|
}
|
|
287
305
|
|
|
288
306
|
.card-author svg {
|
|
@@ -308,7 +326,18 @@ export default {
|
|
|
308
326
|
display: flex;
|
|
309
327
|
flex-direction: column;
|
|
310
328
|
margin-right: 10px;
|
|
311
|
-
|
|
329
|
+
padding: 5px 10px;
|
|
330
|
+
border-top-left-radius: 15px;
|
|
331
|
+
border-bottom-left-radius: 15px;
|
|
332
|
+
color: #fff;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
.card-cli .card-dates {
|
|
336
|
+
background-color: #90b823;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.card-ope .card-dates {
|
|
340
|
+
background-color: #007535;
|
|
312
341
|
}
|
|
313
342
|
|
|
314
343
|
.card-date {
|
|
@@ -5,10 +5,11 @@
|
|
|
5
5
|
<div v-if="showInfos" class="email-overlay"></div>
|
|
6
6
|
<div class="email-author" v-if="autor" :class="[origem, isMainEmail ? 'main' : '']" @click.stop="toggleIsOpen"
|
|
7
7
|
:key="autor">
|
|
8
|
-
<fa-icon :icon="['fas', 'reply']" :class="[origem]"
|
|
8
|
+
<span :title="`Enviado por: ${autor}`"><fa-icon :icon="['fas', 'reply']" :class="[origem]" /></span>
|
|
9
9
|
<p class="email-author-name" v-text="returnAuthorName" :title="returnAuthorName"></p>
|
|
10
|
-
<
|
|
11
|
-
:
|
|
10
|
+
<span :title="`E-mail ${origem === 'outros' ? 'recebido' : 'enviado'}`">
|
|
11
|
+
<fa-icon :icon="['fas', origem === 'outros' ? 'user' : 'headset']" class="email-to-svg" />
|
|
12
|
+
</span>
|
|
12
13
|
</div>
|
|
13
14
|
<div class="email-custom-buttons" v-if="customButtons && customButtons.length" @click.stop>
|
|
14
15
|
<span v-for="(button, index) in customButtons" :key="button.id || index" v-show="button.use"
|