vue-intergrall-plugins 0.0.130 → 0.0.134
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.
|
@@ -5833,7 +5833,7 @@ var script$3 = {
|
|
|
5833
5833
|
AnexoMensagem: AnexoMensagem,
|
|
5834
5834
|
InteratividadeBotoes: InteratividadeBotoes
|
|
5835
5835
|
},
|
|
5836
|
-
props: ["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"],
|
|
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", "msgReply", "hasReply"],
|
|
5837
5837
|
data: function data() {
|
|
5838
5838
|
return {
|
|
5839
5839
|
strTooltipAux: "",
|
|
@@ -5987,6 +5987,29 @@ var __vue_render__$3 = function __vue_render__() {
|
|
|
5987
5987
|
"name": "fade",
|
|
5988
5988
|
"mode": "out-in"
|
|
5989
5989
|
}
|
|
5990
|
+
}, [_vm.hasReply && (_vm.status == 'C' || _vm.status == 'T') ? _c('span', {
|
|
5991
|
+
directives: [{
|
|
5992
|
+
name: "tippy",
|
|
5993
|
+
rawName: "v-tippy"
|
|
5994
|
+
}],
|
|
5995
|
+
staticClass: "reply",
|
|
5996
|
+
attrs: {
|
|
5997
|
+
"content": _vm.msgReply ? _vm.msgReply : 'Fazer reenvio da mensagem'
|
|
5998
|
+
},
|
|
5999
|
+
on: {
|
|
6000
|
+
"click": function click($event) {
|
|
6001
|
+
return _vm.$emit('replyMsg');
|
|
6002
|
+
}
|
|
6003
|
+
}
|
|
6004
|
+
}, [_c('fa-icon', {
|
|
6005
|
+
attrs: {
|
|
6006
|
+
"icon": ['fas', 'reply']
|
|
6007
|
+
}
|
|
6008
|
+
})], 1) : _vm._e()]), _vm._ssrNode(" "), _c('transition', {
|
|
6009
|
+
attrs: {
|
|
6010
|
+
"name": "fade",
|
|
6011
|
+
"mode": "out-in"
|
|
6012
|
+
}
|
|
5990
6013
|
}, [_vm.status == 'D' ? _c('span', {
|
|
5991
6014
|
directives: [{
|
|
5992
6015
|
name: "tippy",
|
|
@@ -6093,8 +6116,8 @@ var __vue_staticRenderFns__$3 = [];
|
|
|
6093
6116
|
|
|
6094
6117
|
var __vue_inject_styles__$3 = function __vue_inject_styles__(inject) {
|
|
6095
6118
|
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}",
|
|
6119
|
+
inject("data-v-8155b550_0", {
|
|
6120
|
+
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
6121
|
map: undefined,
|
|
6099
6122
|
media: undefined
|
|
6100
6123
|
});
|
|
@@ -6105,7 +6128,7 @@ var __vue_inject_styles__$3 = function __vue_inject_styles__(inject) {
|
|
|
6105
6128
|
var __vue_scope_id__$3 = undefined;
|
|
6106
6129
|
/* module identifier */
|
|
6107
6130
|
|
|
6108
|
-
var __vue_module_identifier__$3 = "data-v-
|
|
6131
|
+
var __vue_module_identifier__$3 = "data-v-8155b550";
|
|
6109
6132
|
/* functional template */
|
|
6110
6133
|
|
|
6111
6134
|
var __vue_is_functional_template__$3 = false;
|
|
@@ -6236,6 +6259,10 @@ var script$1 = {
|
|
|
6236
6259
|
btnCustom: {
|
|
6237
6260
|
type: Boolean,
|
|
6238
6261
|
default: false
|
|
6262
|
+
},
|
|
6263
|
+
activeLoader: {
|
|
6264
|
+
type: Boolean,
|
|
6265
|
+
default: false
|
|
6239
6266
|
}
|
|
6240
6267
|
}
|
|
6241
6268
|
};/* script */
|
|
@@ -6258,7 +6285,7 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
6258
6285
|
return _vm.$emit(_vm.emitter, _vm.params);
|
|
6259
6286
|
}
|
|
6260
6287
|
}
|
|
6261
|
-
}, [!_vm.btnCustom ? [_c('IconButton', {
|
|
6288
|
+
}, [_vm.faIcon.length || _vm.svgIcon ? [!_vm.btnCustom ? [_c('IconButton', {
|
|
6262
6289
|
attrs: {
|
|
6263
6290
|
"icon": _vm.faIcon.length ? _vm.faIcon : _vm.svgIcon
|
|
6264
6291
|
}
|
|
@@ -6266,7 +6293,7 @@ var __vue_render__$1 = function __vue_render__() {
|
|
|
6266
6293
|
attrs: {
|
|
6267
6294
|
"icon": _vm.faIcon.length ? _vm.faIcon : _vm.svgIcon
|
|
6268
6295
|
}
|
|
6269
|
-
})], 1), _vm._ssrNode(" <span class=\"simple-btn--text\">" + _vm._ssrEscape(_vm._s(_vm.btnText)) + "</span>")], 2);
|
|
6296
|
+
})], 1)] : _vm._e(), _vm._ssrNode(" " + (!_vm.activeLoader ? "<span class=\"simple-btn--text\">" + _vm._ssrEscape(_vm._s(_vm.btnText)) + "</span>" : "<Loader></Loader>"))], 2);
|
|
6270
6297
|
};
|
|
6271
6298
|
|
|
6272
6299
|
var __vue_staticRenderFns__$1 = [];
|
|
@@ -6274,8 +6301,8 @@ var __vue_staticRenderFns__$1 = [];
|
|
|
6274
6301
|
|
|
6275
6302
|
var __vue_inject_styles__$1 = function __vue_inject_styles__(inject) {
|
|
6276
6303
|
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}.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}",
|
|
6304
|
+
inject("data-v-1067dba2_0", {
|
|
6305
|
+
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
6306
|
map: undefined,
|
|
6280
6307
|
media: undefined
|
|
6281
6308
|
});
|
|
@@ -6286,7 +6313,7 @@ var __vue_inject_styles__$1 = function __vue_inject_styles__(inject) {
|
|
|
6286
6313
|
var __vue_scope_id__$1 = undefined;
|
|
6287
6314
|
/* module identifier */
|
|
6288
6315
|
|
|
6289
|
-
var __vue_module_identifier__$1 = "data-v-
|
|
6316
|
+
var __vue_module_identifier__$1 = "data-v-1067dba2";
|
|
6290
6317
|
/* functional template */
|
|
6291
6318
|
|
|
6292
6319
|
var __vue_is_functional_template__$1 = false;
|
package/package.json
CHANGED
|
@@ -4,13 +4,16 @@
|
|
|
4
4
|
:class="[customClass]"
|
|
5
5
|
@click="$emit(emitter, params)"
|
|
6
6
|
>
|
|
7
|
-
<template v-if="
|
|
8
|
-
<
|
|
7
|
+
<template v-if="faIcon.length || svgIcon">
|
|
8
|
+
<template v-if="!btnCustom">
|
|
9
|
+
<IconButton :icon="faIcon.length ? faIcon : svgIcon" />
|
|
10
|
+
</template>
|
|
11
|
+
<span class="icon-container default-btn-style" :style="`background-color: ${bg};`" v-else>
|
|
12
|
+
<IconButton :icon="faIcon.length ? faIcon : svgIcon" />
|
|
13
|
+
</span>
|
|
9
14
|
</template>
|
|
10
|
-
<span class="
|
|
11
|
-
|
|
12
|
-
</span>
|
|
13
|
-
<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 />
|
|
14
17
|
</div>
|
|
15
18
|
</template>
|
|
16
19
|
|
|
@@ -60,6 +63,10 @@ export default {
|
|
|
60
63
|
btnCustom: {
|
|
61
64
|
type: Boolean,
|
|
62
65
|
default: false
|
|
66
|
+
},
|
|
67
|
+
activeLoader: {
|
|
68
|
+
type: Boolean,
|
|
69
|
+
default: false
|
|
63
70
|
}
|
|
64
71
|
}
|
|
65
72
|
}
|
|
@@ -78,6 +85,7 @@ export default {
|
|
|
78
85
|
align-items: center;
|
|
79
86
|
padding: 5px;
|
|
80
87
|
cursor: pointer;
|
|
88
|
+
min-height: 28px;
|
|
81
89
|
}
|
|
82
90
|
.default-btn-style:hover{
|
|
83
91
|
opacity: 1;
|
|
@@ -106,6 +114,12 @@ export default {
|
|
|
106
114
|
min-width: 25px;
|
|
107
115
|
}
|
|
108
116
|
|
|
117
|
+
.simple-btn--text {
|
|
118
|
+
white-space: nowrap;
|
|
119
|
+
text-overflow: ellipsis;
|
|
120
|
+
overflow: hidden;
|
|
121
|
+
}
|
|
122
|
+
|
|
109
123
|
.icon-container {
|
|
110
124
|
position: absolute;
|
|
111
125
|
left: -15px;
|
|
@@ -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: ["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;
|