vue-intergrall-plugins 0.0.250 → 0.0.251
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.
|
@@ -10144,7 +10144,12 @@ var __vue_component__$n = __vue_component__$m;var textoLongo = {
|
|
|
10144
10144
|
case "aac":
|
|
10145
10145
|
case "audio/mpeg":
|
|
10146
10146
|
case "mpeg":
|
|
10147
|
-
|
|
10147
|
+
if (type == "oga" || type == "audio/oga") {
|
|
10148
|
+
tipoDoc = "audio/ogg";
|
|
10149
|
+
} else {
|
|
10150
|
+
tipoDoc = "audio/mpeg";
|
|
10151
|
+
}
|
|
10152
|
+
|
|
10148
10153
|
docAnexo = "".concat(dominio, "/callcenter/docs.php?mku=").concat(mku);
|
|
10149
10154
|
nomeArquivo = name;
|
|
10150
10155
|
audio = true;
|
|
@@ -10154,7 +10159,13 @@ var __vue_component__$n = __vue_component__$m;var textoLongo = {
|
|
|
10154
10159
|
case "video":
|
|
10155
10160
|
case "mp4":
|
|
10156
10161
|
case "m4v":
|
|
10157
|
-
|
|
10162
|
+
case "webm":
|
|
10163
|
+
if (type == "mp4" || type == "video/mp4" || type == "video" || type == "m4v") {
|
|
10164
|
+
tipoDoc = "video/mp4";
|
|
10165
|
+
} else {
|
|
10166
|
+
tipoDoc = "video/webm";
|
|
10167
|
+
}
|
|
10168
|
+
|
|
10158
10169
|
docAnexo = "".concat(dominio, "/callcenter/docs.php?mku=").concat(mku);
|
|
10159
10170
|
nomeArquivo = name;
|
|
10160
10171
|
video = true;
|
|
@@ -11509,17 +11520,17 @@ var __vue_render__$8 = function __vue_render__() {
|
|
|
11509
11520
|
|
|
11510
11521
|
return _c('div', {
|
|
11511
11522
|
staticClass: "mensagem-div-anexo"
|
|
11512
|
-
}, [_vm._ssrNode("<div class=\"anexo-mensagem\" data-v-
|
|
11523
|
+
}, [_vm._ssrNode("<div class=\"anexo-mensagem\" data-v-f7455c68>", "</div>", [_vm.imageURL ? _vm._ssrNode("<img" + _vm._ssrAttr("src", _vm.imageURL) + _vm._ssrAttr("alt", _vm.dictionary.alt_msg_img) + " data-v-f7455c68>", "</img>") : _vm.audio ? _vm._ssrNode("<audio controls=\"controls\" data-v-f7455c68><source" + _vm._ssrAttr("src", _vm.docURL) + _vm._ssrAttr("type", _vm.fileType) + " data-v-f7455c68>\n Sem suporte para o elemento audio\n </audio>") : _vm.video ? _vm._ssrNode("<video controls=\"controls\" data-v-f7455c68><source" + _vm._ssrAttr("src", _vm.docURL) + _vm._ssrAttr("type", _vm.fileType) + " data-v-f7455c68>\n Sem suporte para o elemento video\n </video>") : _vm.docURL ? _vm._ssrNode("<span class=\"default-doc\" data-v-f7455c68>", "</span>", [_c('fa-icon', {
|
|
11513
11524
|
class: [_vm.iconClass],
|
|
11514
11525
|
attrs: {
|
|
11515
11526
|
"icon": _vm.icon
|
|
11516
11527
|
}
|
|
11517
|
-
}), _vm._ssrNode(" <p" + _vm._ssrAttr("title", _vm.filename) + " data-v-
|
|
11528
|
+
}), _vm._ssrNode(" <p" + _vm._ssrAttr("title", _vm.filename) + " data-v-f7455c68>" + _vm._ssrEscape(_vm._s(_vm.filename)) + "</p>")], 2) : _vm._ssrNode("<span class=\"default-doc\" data-v-f7455c68>", "</span>", [_c('fa-icon', {
|
|
11518
11529
|
class: [_vm.iconClass ? _vm.iconClass : ''],
|
|
11519
11530
|
attrs: {
|
|
11520
11531
|
"icon": ['fas', 'file-alt']
|
|
11521
11532
|
}
|
|
11522
|
-
}), _vm._ssrNode(" <p" + _vm._ssrAttr("title", _vm.filename) + " data-v-
|
|
11533
|
+
}), _vm._ssrNode(" <p" + _vm._ssrAttr("title", _vm.filename) + " data-v-f7455c68>" + _vm._ssrEscape(_vm._s(_vm.filename)) + "</p>")], 2), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"file-actions\" data-v-f7455c68>", "</div>", [_vm.imageURL ? _vm._ssrNode("<span class=\"file-action-button\" data-v-f7455c68>", "</span>", [_c('fa-icon', {
|
|
11523
11534
|
directives: [{
|
|
11524
11535
|
name: "tippy",
|
|
11525
11536
|
rawName: "v-tippy"
|
|
@@ -11611,12 +11622,12 @@ var __vue_staticRenderFns__$8 = [];
|
|
|
11611
11622
|
|
|
11612
11623
|
var __vue_inject_styles__$8 = function __vue_inject_styles__(inject) {
|
|
11613
11624
|
if (!inject) return;
|
|
11614
|
-
inject("data-v-
|
|
11625
|
+
inject("data-v-f7455c68_0", {
|
|
11615
11626
|
source: ".tippy-tooltip.light-theme .tippy-backdrop{background-color:#fff}.tippy-tooltip.light-theme{background-color:#fff;border:1px solid #ccc;color:#333;-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)}.tippy-confirmation p{margin-bottom:3px}.tippy-confirmation button{border:unset;background-color:#f1f1f1;border-radius:3px;padding:5px 8px;cursor:pointer;font-size:.75rem}.tippy-confirmation button.cancel{border-bottom:2px solid red;margin-right:15px}.tippy-confirmation button.confirm{border-bottom:2px solid green}",
|
|
11616
11627
|
map: undefined,
|
|
11617
11628
|
media: undefined
|
|
11618
|
-
}), inject("data-v-
|
|
11619
|
-
source: ".mensagem__principal .default-doc[data-v-
|
|
11629
|
+
}), inject("data-v-f7455c68_1", {
|
|
11630
|
+
source: ".mensagem__principal .default-doc[data-v-f7455c68]{background-color:var(--files-bg)}.mensagem__principal .default-doc[data-v-f7455c68]:hover{background-color:var(--files-bg-hover)}.mensagem__outros .default-doc[data-v-f7455c68]{background-color:rgba(100,100,100,.1)}.mensagem__outros .default-doc[data-v-f7455c68]:hover{background-color:rgba(100,100,100,.3)}.default-doc:hover p[data-v-f7455c68]{text-decoration:underline}.default-doc[data-v-f7455c68]{display:flex;align-items:center;padding:10px;border-radius:5px;width:100%;max-width:100%;cursor:pointer;transition:background-color 150ms ease-in-out}.default-doc svg[data-v-f7455c68]{font-size:1.2rem;margin-right:5px}.default-doc p[data-v-f7455c68]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-actions[data-v-f7455c68]{display:flex;justify-content:flex-end;width:100%;padding:5px}.file-actions a[data-v-f7455c68]{margin-right:0}.mensagem__principal .file-action-button[data-v-f7455c68]{background-color:var(--files-bg)}.mensagem__outros .file-action-button[data-v-f7455c68]{background-color:rgba(100,100,100,.1)}.mensagem__principal .file-action-button[data-v-f7455c68]:hover{background-color:var(--files-bg-hover)}.mensagem__outros .file-action-button[data-v-f7455c68]:hover{background-color:rgba(100,100,100,.3)}.file-action-button[data-v-f7455c68]{display:flex;justify-content:center;align-items:center;margin-left:12px;cursor:pointer;padding:5px;border-radius:5px;transition:background-color 150ms ease-in-out}.file-action-button a[data-v-f7455c68]{margin:0}.fade-enter-active[data-v-f7455c68],.fade-leave-active[data-v-f7455c68]{transition:opacity .5s}.fade-enter[data-v-f7455c68],.fade-leave-to[data-v-f7455c68]{opacity:0}.mensagem-div-anexo[data-v-f7455c68]{width:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;overflow:hidden}.anexo-container[data-v-f7455c68]{width:100%;margin-top:5px;overflow:hidden;display:flex;max-height:300px}.anexo-container .arquivo-erro[data-v-f7455c68],.anexo-container a[data-v-f7455c68]{padding:10px 15px 15px 15px;display:flex;justify-content:center;align-items:center}.anexo-container p[data-v-f7455c68]{text-overflow:ellipsis;overflow:hidden}.anexo-container .arquivo-erro[data-v-f7455c68],.anexo-container p[data-v-f7455c68]{margin:0;margin-left:15px;font-size:.9rem}.anexo-container svg[data-v-f7455c68]{font-size:2rem}.anexo-mensagem audio[data-v-f7455c68]{outline:0;width:100%;margin-bottom:5px}.anexo-mensagem video[data-v-f7455c68]{flex:1;width:100%;max-width:350px;cursor:pointer;margin-bottom:5px}.anexos-links-container[data-v-f7455c68]{width:100%;display:flex;justify-content:center;align-items:center}.anexos-links-container a[data-v-f7455c68]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-right:5px;font-weight:550;color:inherit;text-decoration:none}.anexos-links-container svg[data-v-f7455c68]{cursor:pointer}.mensagem-div-anexo img[data-v-f7455c68]{cursor:pointer;margin:10px 0;min-width:35px;width:100%;max-width:250px}.anexo-transition[data-v-f7455c68]{width:100%;height:100%}.anexo-mensagem[data-v-f7455c68]{display:flex;justify-content:center;align-items:center;flex-direction:column;width:100%}.alert-danger[data-v-f7455c68]{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.alert[data-v-f7455c68]{position:relative;padding:.65rem 1.2rem;margin:5px 0;border:1px solid transparent;border-radius:.25rem;text-align:center}.alert svg[data-v-f7455c68]{font-size:1.025em;margin-right:2px}.pdf[data-v-f7455c68]{color:#e74c3c}.doc[data-v-f7455c68]{color:#006bc9}",
|
|
11620
11631
|
map: undefined,
|
|
11621
11632
|
media: undefined
|
|
11622
11633
|
});
|
|
@@ -11624,10 +11635,10 @@ var __vue_inject_styles__$8 = function __vue_inject_styles__(inject) {
|
|
|
11624
11635
|
/* scoped */
|
|
11625
11636
|
|
|
11626
11637
|
|
|
11627
|
-
var __vue_scope_id__$8 = "data-v-
|
|
11638
|
+
var __vue_scope_id__$8 = "data-v-f7455c68";
|
|
11628
11639
|
/* module identifier */
|
|
11629
11640
|
|
|
11630
|
-
var __vue_module_identifier__$8 = "data-v-
|
|
11641
|
+
var __vue_module_identifier__$8 = "data-v-f7455c68";
|
|
11631
11642
|
/* functional template */
|
|
11632
11643
|
|
|
11633
11644
|
var __vue_is_functional_template__$8 = false;
|
package/package.json
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
<div class="mensagem-div-anexo">
|
|
3
3
|
<div class="anexo-mensagem">
|
|
4
4
|
<img v-if="imageURL" @click="showImage(imageURL)" :src="imageURL" :alt="dictionary.alt_msg_img">
|
|
5
|
-
<audio v-else-if="audio" controls>
|
|
5
|
+
<audio v-else-if="audio" controls="controls">
|
|
6
6
|
<source :src="docURL" :type="fileType" />
|
|
7
7
|
Sem suporte para o elemento audio
|
|
8
8
|
</audio>
|
|
9
|
-
<video v-else-if="video" controls>
|
|
9
|
+
<video v-else-if="video" controls="controls">
|
|
10
10
|
<source :src="docURL" :type="fileType" />
|
|
11
11
|
Sem suporte para o elemento video
|
|
12
12
|
</video>
|