vue-intergrall-plugins 0.0.131 → 0.0.135
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vue-intergrall-plugins.esm.js +37 -16
- package/dist/vue-intergrall-plugins.min.js +1 -1
- package/dist/vue-intergrall-plugins.ssr.js +41 -20
- package/package.json +1 -1
- package/src/lib-components/Buttons/SimpleButton.vue +7 -1
- package/src/lib-components/Chat/ExpandTextarea.vue +0 -2
- package/src/lib-components/Chat/Picker.vue +0 -1
- package/src/lib-components/Chat/TextFooter.vue +0 -2
- package/src/lib-components/Messages/ChatMessages.vue +24 -1
|
@@ -2549,8 +2549,6 @@ var script$k = {
|
|
|
2549
2549
|
} else {
|
|
2550
2550
|
this.filteredList = [];
|
|
2551
2551
|
}
|
|
2552
|
-
|
|
2553
|
-
console.log("this.filteredList: ", this.filteredList);
|
|
2554
2552
|
}
|
|
2555
2553
|
}
|
|
2556
2554
|
};/* script */
|
|
@@ -2584,7 +2582,7 @@ var __vue_staticRenderFns__$k = [];
|
|
|
2584
2582
|
|
|
2585
2583
|
var __vue_inject_styles__$k = function __vue_inject_styles__(inject) {
|
|
2586
2584
|
if (!inject) return;
|
|
2587
|
-
inject("data-v-
|
|
2585
|
+
inject("data-v-678ca55c_0", {
|
|
2588
2586
|
source: ".box-shadow{-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);-moz-box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.sm-emoji-picker{width:310px;z-index:2;border:1px solid #ccc;border-radius:5px;background-color:#fff;display:flex;flex-direction:column}.sm-emoji-header{width:100%;display:flex;align-items:center;justify-content:space-between;margin:10px 0;border-bottom:1px solid #ccc}.sm-emoji-link{padding:0 5px 5px 5px;display:flex;justify-content:center;align-items:center;cursor:pointer;opacity:.9;transition:all .2s;border-bottom:2px solid transparent}.sm-emoji-link a{margin:0;padding:0;fill:#999}.sm-emoji-link.active a>svg,.sm-emoji-link:hover a>svg{opacity:1;fill:#666}.sm-emoji-link.active a>svg[stroke-linecap],.sm-emoji-link:hover a>svg[stroke-linecap]{opacity:1;fill:transparent;stroke:#666}.sm-emoji-link.active{border-bottom:2px solid #666}.sm-emoji-scroll{width:100%;height:calc(100% - 52px);max-height:calc(100% - 52px);scroll-behavior:smooth;overflow-y:auto;overflow-x:hidden;scrollbar-color:#888 rgba(0,0,0,.2);scrollbar-width:8px;position:relative}.sm-emoji-scroll::-webkit-scrollbar{width:8px}.sm-emoji-scroll::-webkit-scrollbar-track{background-color:rgba(0,0,0,.2)}.sm-emoji-scroll::-webkit-scrollbar-thumb{transition-duration:.5s;background-color:#666}.sm-emoji-scroll::-webkit-scrollbar-thumb:hover{background-color:#555}.sm-emoji-search{width:100%;display:flex;align-items:center;justify-content:center;position:sticky;top:0;z-index:1;background:#fff;padding-bottom:10px}.sm-emoji-search>input{width:90%;outline:0;border:1px solid #ccc;border-radius:2.5px;padding:5px 10px;transition:border .2s}.sm-emoji-search>input:active,.sm-emoji-search>input:focus,.sm-emoji-search>input:hover{outline:0;border:1px solid #999}.sm-emoji-search.sticky{position:fixed;width:310px;background-color:#fff}.sm-emoji-selection{width:100%;margin-bottom:10px}.sm-emoji-title{width:100%;display:flex;justify-content:flex-start;align-items:center;background-color:#f7f7f7;padding:5px 0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.sm-emoji-title svg{margin:0 5px}.sm-emoji-group{width:100%;display:flex;flex-wrap:wrap;font-size:1.375rem}.sm-emoji-item{cursor:pointer;opacity:.8;transition:opacity .2s;margin:3.5px}.sm-emoji-item:hover{opacity:1}",
|
|
2589
2587
|
map: undefined,
|
|
2590
2588
|
media: undefined
|
|
@@ -2596,7 +2594,7 @@ var __vue_inject_styles__$k = function __vue_inject_styles__(inject) {
|
|
|
2596
2594
|
var __vue_scope_id__$k = undefined;
|
|
2597
2595
|
/* module identifier */
|
|
2598
2596
|
|
|
2599
|
-
var __vue_module_identifier__$k = "data-v-
|
|
2597
|
+
var __vue_module_identifier__$k = "data-v-678ca55c";
|
|
2600
2598
|
/* functional template */
|
|
2601
2599
|
|
|
2602
2600
|
var __vue_is_functional_template__$k = false;
|
|
@@ -3924,8 +3922,6 @@ var script$b = {
|
|
|
3924
3922
|
insertEmoji: function insertEmoji(emoji) {
|
|
3925
3923
|
try {
|
|
3926
3924
|
var textarea = document.querySelector("#text-footer-".concat(this.textId));
|
|
3927
|
-
console.log("emoji: ", emoji);
|
|
3928
|
-
console.log(textarea);
|
|
3929
3925
|
|
|
3930
3926
|
if (document.activeElement === textarea) {
|
|
3931
3927
|
var cursorStart = textarea.selectionStart;
|
|
@@ -4292,7 +4288,7 @@ var __vue_staticRenderFns__$b = [];
|
|
|
4292
4288
|
|
|
4293
4289
|
var __vue_inject_styles__$b = function __vue_inject_styles__(inject) {
|
|
4294
4290
|
if (!inject) return;
|
|
4295
|
-
inject("data-v-
|
|
4291
|
+
inject("data-v-1233d3a5_0", {
|
|
4296
4292
|
source: ".toasted svg{margin-right:10px}.d-none{display:none}ul{list-style-type:none}.text-footer-container{display:flex;justify-content:center;align-items:center;flex-direction:column;width:100%;position:relative}.text-footer-container .text-footer{min-height:48px;box-shadow:0 3px 7px -2px rgba(0,0,0,.45);position:relative;display:flex;justify-content:center;align-items:center;border:1px solid #ccc;padding:5px 2px 5px 5px;border-radius:5px}.text-footer-container .text-footer.full{width:100%}.text-footer-container .text-footer.almostFull{width:95%}.text-footer-container .text-footer.medium{width:75%}.text-footer-container.bigger .text-footer{height:80px}.text-footer-container.bigger .text-footer>textarea{font-size:.875rem;height:75px;max-height:75px;min-height:75px}.text-footer-container textarea{margin:0 5px;border:unset;flex:1;resize:none;min-height:30px;max-height:60px;font-size:.875rem;font-family:inherit;background:inherit}.text-footer-container textarea:focus{outline:unset}.text-footer-container textarea::placeholder{font-size:.75rem}.text-footer-container .text-footer-audio{flex:1;display:flex;justify-content:center;align-items:center}.text-footer-container audio{flex:1;outline:unset;width:auto;height:38px}.text-footer-container .delete-audio{display:flex;justify-content:center;align-items:center;color:#e74c3c;transition:background .3s;border-radius:50%;font-size:1rem;padding:10px;cursor:pointer;margin:0 5px;width:31px;height:31px}.text-footer-container .delete-audio:hover{background-color:rgba(208,0,0,.2)}.text-footer-container .max-characters{font-size:.575rem;z-index:1;color:#444;position:relative;top:30px;left:-30px}.text-footer-container .max-characters.no-width{width:0}.text-footer-container .text-footer-actions{display:flex}.text-footer-container .text-footer-actions.outside-buttons{display:flex;align-items:center;justify-content:flex-end;position:absolute;top:-42px;right:2px;background-color:#ddd;box-shadow:inset 0 -10px 5px -11px rgba(0,0,0,.5)}.text-footer-container .text-footer-actions .text-footer-actions--btn{display:flex;justify-content:center;align-items:center;color:#777;border-radius:50%;transition:background .3s;padding:10px;font-size:1rem;width:36px;height:36px;cursor:pointer;margin-right:2.5px}.text-footer-container .text-footer-actions .text-footer-actions--btn:last-child{margin-right:unset}.text-footer-container .text-footer-actions .text-footer-actions--btn:hover{background-color:rgba(0,0,0,.1)}.text-footer-container .text-footer-actions .text-footer-actions--btn.files-activated{background-color:rgba(0,0,0,.1)}.text-footer-container .text-footer-actions .text-footer-actions--btn.audio-activated{background-color:rgba(208,0,0,.7);color:#fff}.text-footer-container .text-footer-actions .text-footer-actions--btn.left-button{position:absolute;left:0}.text-footer-container .text-footer-hsm-container{margin:12px 0 7px 0}.text-footer-container .text-footer-hsm-container.full{width:100%}.text-footer-container .text-footer-hsm-container.almostFull{width:95%}.text-footer-container .text-footer-hsm-container.medium{width:75%}.text-footer-container .text-footer-hsm-container .text-footer-v-select{border-radius:5px;margin-bottom:5px}.text-footer-container .text-footer-hsm-container .text-footer-select-03{display:flex;align-items:center;flex:1;width:100%}.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer-v-select{flex:1}.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer--btn-select-03{transition-duration:.3s;user-select:none;cursor:pointer;box-shadow:inset 0 -3px rgba(0,0,0,.2);opacity:.9;border-radius:2.5px;display:flex;justify-content:center;align-items:center;margin-left:5px;margin-bottom:5px;background-color:#f7fe72;width:32px;height:32px}.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer--btn-select-03:hover{opacity:1}.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer--btn-select-03:active{opacity:1;box-shadow:inset 0 -1px rgba(0,0,0,.2);-webkit-transform:translateY(1px);-moz-transform:translateY(1px);-o-transform:translateY(1px);-ms-transform:translateY(1px);transform:translateY(1px)}.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer--btn-select-03 svg{font-size:1rem}.text-footer-container .text-footer-files-container{position:absolute;right:0;top:-55px;padding:5px;background-color:rgba(0,0,0,.4);border-radius:5px;display:flex;align-items:center;justify-content:space-between;z-index:1}.text-footer-container .text-footer-files-container.horizontal{right:-55px;flex-direction:column}.text-footer-container .text-footer-files-container .files-btn{transition-duration:.3s;transition-property:opacity;opacity:.8;cursor:pointer;display:flex;justify-content:center;align-items:center;border-radius:10px;padding:3px;width:40px;height:40px;font-size:1rem;color:#fff}.text-footer-container .text-footer-files-container .files-btn:hover{opacity:1}.text-footer-container .text-footer-files-container .files-btn svg{color:#fff}.text-footer-container .text-footer-files-container .files-btn.images{background-color:#9575cd;margin-right:5px}.text-footer-container .text-footer-files-container .files-btn.images.margin-bottom{margin-right:unset;margin-bottom:5px}.text-footer-container .text-footer-files-container .files-btn.docs{background-color:#7986cb}.text-footer-container .text-footer-preview-container{cursor:default;position:absolute;left:0;background-color:#f1f1f1;border:2px solid #ccc;border-bottom:unset;border-top-left-radius:2.5px;border-top-right-radius:2.5px}.text-footer-container .text-footer-preview-container.isDoc{top:-50px;width:100%;height:45px}.text-footer-container .text-footer-preview-container.isImg,.text-footer-container .text-footer-preview-container.isMultiple{top:-205px;width:100%;height:200px}.text-footer-container .text-footer-preview-container.isImg .text-footer-image-preview{height:170px}.text-footer-container .text-footer-preview-container.isError{top:-80px;width:100%;height:75px}.text-footer-container .text-footer-alt{margin-top:-12px;width:100%;padding:0 10px}.text-footer-container .text-footer-alt .text-footer-out-session{margin-top:12px}.text-footer-container .text-footer-alt .text-footer-sem-24h{font-size:.8rem;text-align:right;font-weight:600;letter-spacing:-.5px;color:#dd7f0c;margin-top:5px;position:absolute;right:0}.text-footer-container .text-footer-alt .sem-templates{margin-top:10px;font-size:.8rem;text-align:right;font-weight:600;letter-spacing:-.5px;color:#921e12}.text-footer-container .text-footer-alt .text-footer-templates{position:relative;width:100%}.text-footer-container .text-footer-alt .text-footer-templates .text-footer-group-selection{width:100%;display:flex;align-items:center}.text-footer-container .text-footer-alt .text-footer-templates .text-footer-group-selection h4{margin-right:5px}.text-footer-container .text-footer-alt .text-footer-templates .text-footer-group-selection .sm__select{flex:1}.vs__dropdown-menu{font-size:.85rem!important}.emoji-mart-anchor,.emoji-mart-emoji span{cursor:pointer!important}.emoji-mart{z-index:2!important}.emoji-mart-scroll{overflow-x:hidden}",
|
|
4297
4293
|
map: undefined,
|
|
4298
4294
|
media: undefined
|
|
@@ -4304,7 +4300,7 @@ var __vue_inject_styles__$b = function __vue_inject_styles__(inject) {
|
|
|
4304
4300
|
var __vue_scope_id__$b = undefined;
|
|
4305
4301
|
/* module identifier */
|
|
4306
4302
|
|
|
4307
|
-
var __vue_module_identifier__$b = "data-v-
|
|
4303
|
+
var __vue_module_identifier__$b = "data-v-1233d3a5";
|
|
4308
4304
|
/* functional template */
|
|
4309
4305
|
|
|
4310
4306
|
var __vue_is_functional_template__$b = false;
|
|
@@ -4947,8 +4943,6 @@ var script$8 = {
|
|
|
4947
4943
|
insertEmoji: function insertEmoji(emoji) {
|
|
4948
4944
|
try {
|
|
4949
4945
|
var textarea = this.$refs["".concat(this.identifier)];
|
|
4950
|
-
console.log("emoji: ", emoji);
|
|
4951
|
-
console.log(textarea);
|
|
4952
4946
|
|
|
4953
4947
|
if (document.activeElement === textarea) {
|
|
4954
4948
|
var cursorStart = textarea.selectionStart;
|
|
@@ -5049,7 +5043,7 @@ var __vue_staticRenderFns__$8 = [];
|
|
|
5049
5043
|
|
|
5050
5044
|
var __vue_inject_styles__$8 = function __vue_inject_styles__(inject) {
|
|
5051
5045
|
if (!inject) return;
|
|
5052
|
-
inject("data-v-
|
|
5046
|
+
inject("data-v-35df0b7d_0", {
|
|
5053
5047
|
source: ".sc-icone-fechar{cursor:pointer;position:absolute;top:0;right:0;background-color:#fff;border-radius:50%;z-index:1;color:#e74c3c;font-size:1.3rem}.sc-icone-fechar.sc-icone-fechar--externo{top:-10px;right:-10px}.sc-icone-fechar.sc-icone-fechar--interno{top:10px;right:10px}.expand-textarea{position:relative;width:90%;height:90%;z-index:1}.expand-textarea-content{overflow-x:hidden;overflow-y:auto;background-color:#fff;width:100%;height:100%;display:flex;flex-direction:column}.expand-textarea-title{padding:2.5px 8px;min-height:38px;display:flex;align-items:center;width:100%;font-size:1.3rem;background-color:#222;color:#fff}.expand-textarea-content textarea{padding:10px;flex:1;width:100%;border:unset;resize:none;outline:0;overflow-x:hidden}.expand-textarea-content textarea:active,.expand-textarea-content textarea:hover{outline:0}.expand-textarea-footer{display:flex;justify-content:flex-end;align-items:center;padding:10px;background-color:#f7f7f7;position:relative}.expand-textarea-footer .text-footer-preview-container{position:absolute;top:-200px;right:145px;height:200px;background:#f7f7f7}.expand-textarea-footer .text-footer-actions--btn{width:36px;height:36px;border-radius:50%;background-color:rgba(255,255,255,0);color:#333;padding:2.5px;margin:0 15px 0 10px;display:flex;justify-content:center;align-items:center;font-size:1.3rem;cursor:pointer;opacity:.9;transition:all .3s}.expand-textarea-footer .text-footer-actions--btn:hover{opacity:1;background-color:rgba(30,30,30,.1)}.expand-textarea-button{width:125px;height:30px;display:flex;justify-content:center;align-items:center;transition-duration:.3s;user-select:none;cursor:pointer;box-shadow:inset 0 -2px rgba(0,0,0,.2);opacity:.9;border-radius:5px;padding:5px 10px;border-radius:2.5px;position:relative}.expand-textarea-button.green{background-color:#2a963a;color:#fff;margin-right:10px}.expand-textarea-button.red{background-color:#e74c3c;color:#fff}.expand-textarea-button:hover{opacity:1}.expand-textarea-button:active{opacity:1;box-shadow:inset 0 -1px rgba(0,0,0,.2);-webkit-transform:translateY(1px);-moz-transform:translateY(1px);-o-transform:translateY(1px);-ms-transform:translateY(1px);transform:translateY(1px)}.expand-textarea-button.carregando{background-color:#777}",
|
|
5054
5048
|
map: undefined,
|
|
5055
5049
|
media: undefined
|
|
@@ -5061,7 +5055,7 @@ var __vue_inject_styles__$8 = function __vue_inject_styles__(inject) {
|
|
|
5061
5055
|
var __vue_scope_id__$8 = undefined;
|
|
5062
5056
|
/* module identifier */
|
|
5063
5057
|
|
|
5064
|
-
var __vue_module_identifier__$8 = "data-v-
|
|
5058
|
+
var __vue_module_identifier__$8 = "data-v-35df0b7d";
|
|
5065
5059
|
/* functional template */
|
|
5066
5060
|
|
|
5067
5061
|
var __vue_is_functional_template__$8 = false;
|
|
@@ -5833,7 +5827,7 @@ var script$3 = {
|
|
|
5833
5827
|
AnexoMensagem: AnexoMensagem,
|
|
5834
5828
|
InteratividadeBotoes: InteratividadeBotoes
|
|
5835
5829
|
},
|
|
5836
|
-
props: ["smartchannel", "messageIndex", "dictionary", "autor", "origem", "msg", "link", "anexo", "imgAnexo", "tipoDoc", "docAnexo", "nomeArquivo", "audio", "video", "horario", "status", "logo", "msgTooltip", "seq", "mapa", "histMsg", "erro", "msgErro", "origemExterna", "anexos", "dominio", "corMsg", "interatividade"],
|
|
5830
|
+
props: ["smartchannel", "messageIndex", "dictionary", "autor", "origem", "msg", "link", "anexo", "imgAnexo", "tipoDoc", "docAnexo", "nomeArquivo", "audio", "video", "horario", "status", "logo", "msgTooltip", "seq", "mapa", "histMsg", "erro", "msgErro", "origemExterna", "anexos", "dominio", "corMsg", "interatividade", "msgReply", "hasReply"],
|
|
5837
5831
|
data: function data() {
|
|
5838
5832
|
return {
|
|
5839
5833
|
strTooltipAux: "",
|
|
@@ -5987,6 +5981,29 @@ var __vue_render__$3 = function __vue_render__() {
|
|
|
5987
5981
|
"name": "fade",
|
|
5988
5982
|
"mode": "out-in"
|
|
5989
5983
|
}
|
|
5984
|
+
}, [_vm.hasReply && (_vm.status == 'C' || _vm.status == 'T') ? _c('span', {
|
|
5985
|
+
directives: [{
|
|
5986
|
+
name: "tippy",
|
|
5987
|
+
rawName: "v-tippy"
|
|
5988
|
+
}],
|
|
5989
|
+
staticClass: "reply",
|
|
5990
|
+
attrs: {
|
|
5991
|
+
"content": _vm.msgReply ? _vm.msgReply : 'Fazer reenvio da mensagem'
|
|
5992
|
+
},
|
|
5993
|
+
on: {
|
|
5994
|
+
"click": function click($event) {
|
|
5995
|
+
return _vm.$emit('replyMsg');
|
|
5996
|
+
}
|
|
5997
|
+
}
|
|
5998
|
+
}, [_c('fa-icon', {
|
|
5999
|
+
attrs: {
|
|
6000
|
+
"icon": ['fas', 'reply']
|
|
6001
|
+
}
|
|
6002
|
+
})], 1) : _vm._e()]), _vm._ssrNode(" "), _c('transition', {
|
|
6003
|
+
attrs: {
|
|
6004
|
+
"name": "fade",
|
|
6005
|
+
"mode": "out-in"
|
|
6006
|
+
}
|
|
5990
6007
|
}, [_vm.status == 'D' ? _c('span', {
|
|
5991
6008
|
directives: [{
|
|
5992
6009
|
name: "tippy",
|
|
@@ -6093,8 +6110,8 @@ var __vue_staticRenderFns__$3 = [];
|
|
|
6093
6110
|
|
|
6094
6111
|
var __vue_inject_styles__$3 = function __vue_inject_styles__(inject) {
|
|
6095
6112
|
if (!inject) return;
|
|
6096
|
-
inject("data-v-
|
|
6097
|
-
source: ":root{--message-color:#373737}.fade-enter-active,.fade-leave-active{transition:opacity .5s}.fade-enter,.fade-leave-to{opacity:0}.mensagem{padding:14px 7px;border-radius:2.5px;min-width:150px;min-height:60px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;position:relative;max-width:80%;margin-bottom:10px;font-size:.85rem;word-break:break-word}.mensagem.mapa{width:100%}.mensagem.hist-msg{animation:show 1s}.mensagem a{margin-right:5px;font-weight:550;color:inherit;text-decoration:none}.mensagem a:hover{text-decoration:underline}.message p{white-space:pre-wrap}.mensagem-anexo a,.mensagem-div-mapa a{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.check{cursor:pointer;position:absolute;right:10px;bottom:2px;font-size:.7rem}.check.visualizado,.check.visualizado svg{color:#006daa}.check.verde,.check.verde svg{color:#4f772d}.check.vermelho,.check.vermelho svg{color:#ba181b}.check.cinza,.check.cinza svg{color:#999}.check.preto,.check.preto svg{color:#666}.horario-envio{margin-right:15px;font-size:.7rem;position:absolute;left:10px;bottom:2px}.autor-mensagem{position:absolute;font-size:.6rem;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:90%;font-weight:700;top:2px}.mensagem__principal{width:100%;display:flex;justify-content:flex-end}.mensagem__principal>.mensagem::after{content:\"\";width:0;height:0;position:absolute;border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid var(--message-color);bottom:5px;right:-10px;transform:rotate(-90deg)}.mensagem__principal>.mensagem{background-color:var(--message-color);color:#fff}.mensagem__principal>.mensagem .horario-envio{color:#fff}.mensagem__principal>.mensagem .autor-mensagem{right:5px;color:#fff}.mensagem__outros{width:100%;display:flex}.mensagem__outros>.mensagem{background-color:#fff;color:#333}.mensagem__outros>.mensagem::after{content:\"\";width:0;height:0;position:absolute;border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid #fff;bottom:5px;left:-10px;transform:rotate(90deg)}.mensagem__outros .check{display:none}.mensagem__outros>.autor-mensagem{left:5px;color:#333}.mensagem-div-mapa{width:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;margin-bottom:5px}.msg-mapa{width:100%;min-height:225px;height:100%;box-sizing:initial}.msg-mapa img{max-width:none!important}.info-mapa{list-style-type:none}.info-mapa li.title{font-size:.85em}.info-mapa li.address,.info-mapa li.url{font-size:.7em}.info-mapa li.url{font-size:.7em}.tooltip-list{margin:0;padding:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}",
|
|
6113
|
+
inject("data-v-8155b550_0", {
|
|
6114
|
+
source: ":root{--message-color:#373737}.fade-enter-active,.fade-leave-active{transition:opacity .5s}.fade-enter,.fade-leave-to{opacity:0}.mensagem{padding:14px 7px;border-radius:2.5px;min-width:150px;min-height:60px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;position:relative;max-width:80%;margin-bottom:10px;font-size:.85rem;word-break:break-word}.mensagem.mapa{width:100%}.mensagem.hist-msg{animation:show 1s}.mensagem a{margin-right:5px;font-weight:550;color:inherit;text-decoration:none}.mensagem a:hover{text-decoration:underline}.message p{white-space:pre-wrap}.mensagem-anexo a,.mensagem-div-mapa a{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.reply{cursor:pointer;position:absolute;right:30px;bottom:5px;font-size:.6rem;color:#67a332;width:.9rem;height:.9rem;display:flex;justify-content:center;align-items:center;border-radius:50%;background-color:#fff}.reply svg{margin-top:-1px;margin-right:-1px}.check{cursor:pointer;position:absolute;right:10px;bottom:2px;font-size:.7rem}.check.visualizado,.check.visualizado svg{color:#006daa}.check.verde,.check.verde svg{color:#4f772d}.check.vermelho,.check.vermelho svg{color:#ba181b}.check.cinza,.check.cinza svg{color:#999}.check.preto,.check.preto svg{color:#666}.horario-envio{margin-right:15px;font-size:.7rem;position:absolute;left:10px;bottom:2px}.autor-mensagem{position:absolute;font-size:.6rem;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:90%;font-weight:700;top:2px}.mensagem__principal{width:100%;display:flex;justify-content:flex-end}.mensagem__principal>.mensagem::after{content:\"\";width:0;height:0;position:absolute;border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid var(--message-color);bottom:5px;right:-10px;transform:rotate(-90deg)}.mensagem__principal>.mensagem{background-color:var(--message-color);color:#fff}.mensagem__principal>.mensagem .horario-envio{color:#fff}.mensagem__principal>.mensagem .autor-mensagem{right:5px;color:#fff}.mensagem__outros{width:100%;display:flex}.mensagem__outros>.mensagem{background-color:#fff;color:#333}.mensagem__outros>.mensagem::after{content:\"\";width:0;height:0;position:absolute;border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid #fff;bottom:5px;left:-10px;transform:rotate(90deg)}.mensagem__outros .check{display:none}.mensagem__outros>.autor-mensagem{left:5px;color:#333}.mensagem-div-mapa{width:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;margin-bottom:5px}.msg-mapa{width:100%;min-height:225px;height:100%;box-sizing:initial}.msg-mapa img{max-width:none!important}.info-mapa{list-style-type:none}.info-mapa li.title{font-size:.85em}.info-mapa li.address,.info-mapa li.url{font-size:.7em}.info-mapa li.url{font-size:.7em}.tooltip-list{margin:0;padding:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}",
|
|
6098
6115
|
map: undefined,
|
|
6099
6116
|
media: undefined
|
|
6100
6117
|
});
|
|
@@ -6105,7 +6122,7 @@ var __vue_inject_styles__$3 = function __vue_inject_styles__(inject) {
|
|
|
6105
6122
|
var __vue_scope_id__$3 = undefined;
|
|
6106
6123
|
/* module identifier */
|
|
6107
6124
|
|
|
6108
|
-
var __vue_module_identifier__$3 = "data-v-
|
|
6125
|
+
var __vue_module_identifier__$3 = "data-v-8155b550";
|
|
6109
6126
|
/* functional template */
|
|
6110
6127
|
|
|
6111
6128
|
var __vue_is_functional_template__$3 = false;
|
|
@@ -6236,6 +6253,10 @@ var script$1 = {
|
|
|
6236
6253
|
btnCustom: {
|
|
6237
6254
|
type: Boolean,
|
|
6238
6255
|
default: false
|
|
6256
|
+
},
|
|
6257
|
+
activeLoader: {
|
|
6258
|
+
type: Boolean,
|
|
6259
|
+
default: false
|
|
6239
6260
|
}
|
|
6240
6261
|
}
|
|
6241
6262
|
};/* script */
|
|
@@ -6266,7 +6287,7 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
6266
6287
|
attrs: {
|
|
6267
6288
|
"icon": _vm.faIcon.length ? _vm.faIcon : _vm.svgIcon
|
|
6268
6289
|
}
|
|
6269
|
-
})], 1)] : _vm._e(), _vm._ssrNode(" <span class=\"simple-btn--text\">" + _vm._ssrEscape(_vm._s(_vm.btnText)) + "</span>")], 2);
|
|
6290
|
+
})], 1)] : _vm._e(), _vm._ssrNode(" " + (!_vm.activeLoader ? "<span class=\"simple-btn--text\">" + _vm._ssrEscape(_vm._s(_vm.btnText)) + "</span>" : "<Loader></Loader>"))], 2);
|
|
6270
6291
|
};
|
|
6271
6292
|
|
|
6272
6293
|
var __vue_staticRenderFns__$1 = [];
|
|
@@ -6274,8 +6295,8 @@ var __vue_staticRenderFns__$1 = [];
|
|
|
6274
6295
|
|
|
6275
6296
|
var __vue_inject_styles__$1 = function __vue_inject_styles__(inject) {
|
|
6276
6297
|
if (!inject) return;
|
|
6277
|
-
inject("data-v-
|
|
6278
|
-
source: ".default-btn-style{transition-duration:.3s;user-select:none;cursor:pointer;box-shadow:inset 0 -2px rgba(0,0,0,.2);opacity:.9;border-radius:5px;display:flex;justify-content:center;align-items:center;padding:5px;cursor:pointer}.default-btn-style:hover{opacity:1}.default-btn-style:active{opacity:1;box-shadow:inset 0 -1px rgba(0,0,0,.2);-webkit-transform:translateY(1px);-moz-transform:translateY(1px);-o-transform:translateY(1px);-ms-transform:translateY(1px);transform:translateY(1px)}.simple-btn{position:relative}.simple-btn--icon{display:flex;justify-content:center;align-items:center;margin-right:5px}.simple-btn--icon.custom{min-width:25px}.simple-btn--text{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.icon-container{position:absolute;left:-15px;padding:5px;width:40px;height:40px;display:flex;justify-content:center;align-items:center;border-radius:50%}.icon-container svg{color:rgba(255,255,255,.5);width:23px;height:23px}",
|
|
6298
|
+
inject("data-v-1067dba2_0", {
|
|
6299
|
+
source: ".default-btn-style{transition-duration:.3s;user-select:none;cursor:pointer;box-shadow:inset 0 -2px rgba(0,0,0,.2);opacity:.9;border-radius:5px;display:flex;justify-content:center;align-items:center;padding:5px;cursor:pointer;min-height:28px}.default-btn-style:hover{opacity:1}.default-btn-style:active{opacity:1;box-shadow:inset 0 -1px rgba(0,0,0,.2);-webkit-transform:translateY(1px);-moz-transform:translateY(1px);-o-transform:translateY(1px);-ms-transform:translateY(1px);transform:translateY(1px)}.simple-btn{position:relative}.simple-btn--icon{display:flex;justify-content:center;align-items:center;margin-right:5px}.simple-btn--icon.custom{min-width:25px}.simple-btn--text{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.icon-container{position:absolute;left:-15px;padding:5px;width:40px;height:40px;display:flex;justify-content:center;align-items:center;border-radius:50%}.icon-container svg{color:rgba(255,255,255,.5);width:23px;height:23px}",
|
|
6279
6300
|
map: undefined,
|
|
6280
6301
|
media: undefined
|
|
6281
6302
|
});
|
|
@@ -6286,7 +6307,7 @@ var __vue_inject_styles__$1 = function __vue_inject_styles__(inject) {
|
|
|
6286
6307
|
var __vue_scope_id__$1 = undefined;
|
|
6287
6308
|
/* module identifier */
|
|
6288
6309
|
|
|
6289
|
-
var __vue_module_identifier__$1 = "data-v-
|
|
6310
|
+
var __vue_module_identifier__$1 = "data-v-1067dba2";
|
|
6290
6311
|
/* functional template */
|
|
6291
6312
|
|
|
6292
6313
|
var __vue_is_functional_template__$1 = false;
|
package/package.json
CHANGED
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
<IconButton :icon="faIcon.length ? faIcon : svgIcon" />
|
|
13
13
|
</span>
|
|
14
14
|
</template>
|
|
15
|
-
<span class="simple-btn--text" v-text="btnText"></span>
|
|
15
|
+
<span class="simple-btn--text" v-text="btnText" v-if="!activeLoader"></span>
|
|
16
|
+
<Loader v-else />
|
|
16
17
|
</div>
|
|
17
18
|
</template>
|
|
18
19
|
|
|
@@ -62,6 +63,10 @@ export default {
|
|
|
62
63
|
btnCustom: {
|
|
63
64
|
type: Boolean,
|
|
64
65
|
default: false
|
|
66
|
+
},
|
|
67
|
+
activeLoader: {
|
|
68
|
+
type: Boolean,
|
|
69
|
+
default: false
|
|
65
70
|
}
|
|
66
71
|
}
|
|
67
72
|
}
|
|
@@ -80,6 +85,7 @@ export default {
|
|
|
80
85
|
align-items: center;
|
|
81
86
|
padding: 5px;
|
|
82
87
|
cursor: pointer;
|
|
88
|
+
min-height: 28px;
|
|
83
89
|
}
|
|
84
90
|
.default-btn-style:hover{
|
|
85
91
|
opacity: 1;
|
|
@@ -245,8 +245,6 @@ export default {
|
|
|
245
245
|
insertEmoji(emoji) {
|
|
246
246
|
try {
|
|
247
247
|
const textarea = this.$refs[`${this.identifier}`]
|
|
248
|
-
console.log("emoji: ", emoji)
|
|
249
|
-
console.log(textarea)
|
|
250
248
|
if (document.activeElement === textarea) {
|
|
251
249
|
const cursorStart = textarea.selectionStart
|
|
252
250
|
const cursorEnd = textarea.selectionEnd
|
|
@@ -180,8 +180,6 @@ export default {
|
|
|
180
180
|
insertEmoji(emoji) {
|
|
181
181
|
try {
|
|
182
182
|
const textarea = document.querySelector(`#text-footer-${this.textId}`)
|
|
183
|
-
console.log("emoji: ", emoji)
|
|
184
|
-
console.log(textarea)
|
|
185
183
|
if (document.activeElement === textarea) {
|
|
186
184
|
const cursorStart = textarea.selectionStart
|
|
187
185
|
const cursorEnd = textarea.selectionEnd
|
|
@@ -29,6 +29,9 @@
|
|
|
29
29
|
:interatividade="interatividade"
|
|
30
30
|
/>
|
|
31
31
|
<span class="horario-envio" v-text="horario"></span>
|
|
32
|
+
<transition name="fade" mode="out-in">
|
|
33
|
+
<span class="reply" v-if="hasReply && (status == 'C' || status == 'T')" v-tippy :content="msgReply ? msgReply : 'Fazer reenvio da mensagem'" @click="$emit('replyMsg')"> <fa-icon :icon="['fas', 'reply']" /> </span>
|
|
34
|
+
</transition>
|
|
32
35
|
<transition name="fade" mode="out-in">
|
|
33
36
|
<span class="check" v-if="status == 'D'" :content="contentTooltip" v-tippy key="check-padrao"> <fa-icon :icon="['fas', 'check']" /> </span>
|
|
34
37
|
<span class="check cinza" v-else-if="status == 'Q'" :content="contentTooltip" v-tippy key="check-cinza"> <fa-icon :icon="['fas', 'check']" /> </span>
|
|
@@ -50,7 +53,7 @@ import InteratividadeBotoes from "./InteratividadeBotoes"
|
|
|
50
53
|
|
|
51
54
|
export default {
|
|
52
55
|
components: { AnexoMensagem, InteratividadeBotoes },
|
|
53
|
-
props: ["smartchannel", "messageIndex", "dictionary", "autor", "origem", "msg", "link", "anexo", "imgAnexo", "tipoDoc", "docAnexo", "nomeArquivo", "audio", "video", "horario", "status", "logo", "msgTooltip", "seq", "mapa", "histMsg", "erro", "msgErro", "origemExterna", "anexos", "dominio", "corMsg", "interatividade"],
|
|
56
|
+
props: ["smartchannel", "messageIndex", "dictionary", "autor", "origem", "msg", "link", "anexo", "imgAnexo", "tipoDoc", "docAnexo", "nomeArquivo", "audio", "video", "horario", "status", "logo", "msgTooltip", "seq", "mapa", "histMsg", "erro", "msgErro", "origemExterna", "anexos", "dominio", "corMsg", "interatividade", "msgReply", "hasReply"],
|
|
54
57
|
data(){
|
|
55
58
|
return{
|
|
56
59
|
strTooltipAux: "",
|
|
@@ -195,6 +198,26 @@ export default {
|
|
|
195
198
|
overflow: hidden;
|
|
196
199
|
}
|
|
197
200
|
|
|
201
|
+
.reply {
|
|
202
|
+
cursor: pointer;
|
|
203
|
+
position: absolute;
|
|
204
|
+
right: 30px;
|
|
205
|
+
bottom: 5px;
|
|
206
|
+
font-size: .6rem;
|
|
207
|
+
color: #67a332;
|
|
208
|
+
width: .9rem;
|
|
209
|
+
height: .9rem;
|
|
210
|
+
display: flex;
|
|
211
|
+
justify-content: center;
|
|
212
|
+
align-items: center;
|
|
213
|
+
border-radius: 50%;
|
|
214
|
+
background-color: #FFF;
|
|
215
|
+
}
|
|
216
|
+
.reply svg {
|
|
217
|
+
margin-top: -1px;
|
|
218
|
+
margin-right: -1px;
|
|
219
|
+
}
|
|
220
|
+
|
|
198
221
|
.check{
|
|
199
222
|
cursor: pointer;
|
|
200
223
|
position: absolute;
|