vue-intergrall-plugins 0.0.201 → 0.0.204
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 +69 -51
- package/dist/vue-intergrall-plugins.min.js +1 -1
- package/dist/vue-intergrall-plugins.ssr.js +75 -57
- package/package.json +1 -1
- package/src/lib-components/Chat/BtnFiles.vue +5 -1
- package/src/lib-components/Chat/MultipleFilePreview.vue +12 -5
- package/src/lib-components/Chat/SingleFilePreview.vue +23 -2
- package/src/lib-components/Chat/StandardMessages.vue +4 -15
- package/src/lib-components/Chat/TextFooter.vue +2 -2
|
@@ -3451,8 +3451,13 @@ var BtnMic = __vue_component__$v;
|
|
|
3451
3451
|
//
|
|
3452
3452
|
//
|
|
3453
3453
|
//
|
|
3454
|
+
//
|
|
3454
3455
|
var script$n = {
|
|
3455
3456
|
props: {
|
|
3457
|
+
textId: {
|
|
3458
|
+
type: String,
|
|
3459
|
+
required: true
|
|
3460
|
+
},
|
|
3456
3461
|
dictionary: {
|
|
3457
3462
|
type: Object,
|
|
3458
3463
|
required: true
|
|
@@ -3479,6 +3484,11 @@ var script$n = {
|
|
|
3479
3484
|
required: false
|
|
3480
3485
|
}
|
|
3481
3486
|
},
|
|
3487
|
+
|
|
3488
|
+
mounted() {
|
|
3489
|
+
this.setPosition();
|
|
3490
|
+
},
|
|
3491
|
+
|
|
3482
3492
|
methods: {
|
|
3483
3493
|
deleteFile() {
|
|
3484
3494
|
this.$emit("delete-file");
|
|
@@ -3486,6 +3496,14 @@ var script$n = {
|
|
|
3486
3496
|
|
|
3487
3497
|
openImage() {
|
|
3488
3498
|
this.$emit("open-image");
|
|
3499
|
+
},
|
|
3500
|
+
|
|
3501
|
+
setPosition() {
|
|
3502
|
+
try {
|
|
3503
|
+
this.$refs[`sfp-${this.textId}`].parentElement.style.bottom = `${this.$root.$refs[`tf-${this.textId}`].$el.offsetHeight}px`;
|
|
3504
|
+
} catch (e) {
|
|
3505
|
+
console.error("Erro ao setar a posicao do single file preview: ", e);
|
|
3506
|
+
}
|
|
3489
3507
|
}
|
|
3490
3508
|
|
|
3491
3509
|
}
|
|
@@ -3502,9 +3520,20 @@ var __vue_render__$n = function () {
|
|
|
3502
3520
|
|
|
3503
3521
|
var _c = _vm._self._c || _h;
|
|
3504
3522
|
|
|
3505
|
-
return _c('div', {
|
|
3523
|
+
return _vm.textId ? _c('div', {
|
|
3524
|
+
ref: "sfp-" + _vm.textId,
|
|
3506
3525
|
staticClass: "single-file-preview"
|
|
3507
|
-
}, [_c('
|
|
3526
|
+
}, [_c('fa-icon', {
|
|
3527
|
+
staticClass: "close-icon",
|
|
3528
|
+
attrs: {
|
|
3529
|
+
"icon": ['fas', 'times-circle']
|
|
3530
|
+
},
|
|
3531
|
+
on: {
|
|
3532
|
+
"click": function ($event) {
|
|
3533
|
+
return _vm.$emit('close');
|
|
3534
|
+
}
|
|
3535
|
+
}
|
|
3536
|
+
}), _vm._v(" "), _c('span', {
|
|
3508
3537
|
staticClass: "text-footer-exclude-file",
|
|
3509
3538
|
attrs: {
|
|
3510
3539
|
"title": _vm.dictionary.msg_cancelar_anexo
|
|
@@ -3514,7 +3543,7 @@ var __vue_render__$n = function () {
|
|
|
3514
3543
|
}
|
|
3515
3544
|
}, [_c('fa-icon', {
|
|
3516
3545
|
attrs: {
|
|
3517
|
-
"icon": ['fas', '
|
|
3546
|
+
"icon": ['fas', 'trash-alt']
|
|
3518
3547
|
}
|
|
3519
3548
|
})], 1), _vm._v(" "), _vm.fileFormatError ? _c('div', {
|
|
3520
3549
|
staticClass: "text-footer-invalid-format"
|
|
@@ -3546,7 +3575,7 @@ var __vue_render__$n = function () {
|
|
|
3546
3575
|
on: {
|
|
3547
3576
|
"click": _vm.openImage
|
|
3548
3577
|
}
|
|
3549
|
-
})]) : _vm._e()]], 2);
|
|
3578
|
+
})]) : _vm._e()]], 2) : _vm._e();
|
|
3550
3579
|
};
|
|
3551
3580
|
|
|
3552
3581
|
var __vue_staticRenderFns__$n = [];
|
|
@@ -3554,8 +3583,8 @@ var __vue_staticRenderFns__$n = [];
|
|
|
3554
3583
|
|
|
3555
3584
|
const __vue_inject_styles__$n = function (inject) {
|
|
3556
3585
|
if (!inject) return;
|
|
3557
|
-
inject("data-v-
|
|
3558
|
-
source: ".text-footer-invalid-format{color:#222;padding:10px}.text-footer-invalid-format h3{font-weight:500}.text-footer-invalid-format h4{font-size:.9rem}.text-footer-preview-title{font-size:1rem;padding:10px 0 0 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.text-footer-image-preview{display:flex;justify-content:center;align-items:center;width:100%}.text-footer-image-preview img{cursor:pointer;max-width:98%;max-height:98%;padding:2%}",
|
|
3586
|
+
inject("data-v-bd51f352_0", {
|
|
3587
|
+
source: ".single-file-preview .close-icon{color:#e74c3c;cursor:pointer;opacity:.9;transition:opacity .3s}.single-file-preview .close-icon:hover{opacity:1}.text-footer-invalid-format{color:#222;padding:10px}.text-footer-invalid-format h3{font-weight:500}.text-footer-invalid-format h4{font-size:.9rem}.text-footer-preview-title{font-size:1rem;padding:10px 0 0 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.text-footer-image-preview{display:flex;justify-content:center;align-items:center;width:100%}.text-footer-image-preview img{cursor:pointer;max-width:98%;max-height:98%;padding:2%}",
|
|
3559
3588
|
map: undefined,
|
|
3560
3589
|
media: undefined
|
|
3561
3590
|
});
|
|
@@ -3677,7 +3706,17 @@ var __vue_render__$m = function () {
|
|
|
3677
3706
|
|
|
3678
3707
|
return _c('div', {
|
|
3679
3708
|
staticClass: "multiple-file-preview"
|
|
3680
|
-
}, [_c('
|
|
3709
|
+
}, [_c('fa-icon', {
|
|
3710
|
+
staticClass: "close-icon",
|
|
3711
|
+
attrs: {
|
|
3712
|
+
"icon": ['fas', 'times-circle']
|
|
3713
|
+
},
|
|
3714
|
+
on: {
|
|
3715
|
+
"click": function ($event) {
|
|
3716
|
+
return _vm.$emit('close');
|
|
3717
|
+
}
|
|
3718
|
+
}
|
|
3719
|
+
}), _vm._v(" "), _c('transition-group', {
|
|
3681
3720
|
attrs: {
|
|
3682
3721
|
"name": "fade"
|
|
3683
3722
|
}
|
|
@@ -3752,7 +3791,7 @@ var __vue_render__$m = function () {
|
|
|
3752
3791
|
}
|
|
3753
3792
|
}, [_c('fa-icon', {
|
|
3754
3793
|
attrs: {
|
|
3755
|
-
"icon": ['fas', '
|
|
3794
|
+
"icon": ['fas', 'trash-alt']
|
|
3756
3795
|
}
|
|
3757
3796
|
})], 1)]);
|
|
3758
3797
|
})], 2)], 1);
|
|
@@ -3763,8 +3802,8 @@ var __vue_staticRenderFns__$m = [];
|
|
|
3763
3802
|
|
|
3764
3803
|
const __vue_inject_styles__$m = function (inject) {
|
|
3765
3804
|
if (!inject) return;
|
|
3766
|
-
inject("data-v-
|
|
3767
|
-
source: ".multiple-file-preview{position:relative;display:flex;flex-direction:column;width:100%;height:100%;max-height:100%;overflow-y:auto;overflow-x:hidden;border-top-left-radius:2.5px;border-top-right-radius:2.5px;transition:background-color 150ms;scrollbar-color:#888 rgba(0,0,0,.2);scrollbar-width:4px}.multiple-file-preview::-webkit-scrollbar{width:4px}.multiple-file-preview::-webkit-scrollbar-track{background-color:rgba(0,0,0,.2)}.multiple-file-preview::-webkit-scrollbar-thumb{transition-duration:.5s;background-color:#222}.multiple-file-preview::-webkit-scrollbar-thumb:hover{background-color:#555}.text-footer-invalid-format{color:#222;padding:10px}.text-footer-invalid-format h3{font-weight:500}.text-footer-invalid-format h4{font-size:.9rem}.text-footer-exclude-file{position:absolute;top:5px;right:5px;cursor:pointer;display:flex;justify-content:center;align-items:center;min-width:1rem;min-height:1rem;background-color:#fff;border-radius:50%}.text-footer-exclude-file svg{transition:color .2s;color:#e9594a}.text-footer-exclude-file svg:hover{color:#e74c3c}.file-preview{display:flex;width:100%;align-items:center;padding:5px 10px;transition:background-color 150ms}.file-preview:hover{background-color:rgba(0,0,0,.1)}.file-title{color:#222;display:flex;align-items:center;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding:4px 10px;background-color:#fff;border-radius:30px;display:inline-block}.file-title.red{color:#e74c3c;margin-left:5px}.file-title>svg{margin-right:5px}.small-img{flex:1;margin:0 15px;display:flex;justify-content:center;align-items:center;position:relative}.small-img img{height:40px;cursor:pointer}.small-img .pdf{display:flex;justify-content:center;align-items:center;font-size:30px;color:#e74c3c}.small-img .pdf svg{z-index:1}.small-img .pdf::after{content:\"\";position:absolute;bottom:2px;transform:translateY(2px);width:20px;height:20px;background-color:#fff}.img-container{padding:5px;border-radius:2.5px;background-color:rgba(0,0,0,.15);display:flex;justify-content:center;align-items:center}.delete-file{display:flex;justify-content:center;align-items:center;
|
|
3805
|
+
inject("data-v-28d9ba6f_0", {
|
|
3806
|
+
source: ".multiple-file-preview{position:relative;display:flex;flex-direction:column;width:100%;height:100%;max-height:100%;overflow-y:auto;overflow-x:hidden;border-top-left-radius:2.5px;border-top-right-radius:2.5px;transition:background-color 150ms;scrollbar-color:#888 rgba(0,0,0,.2);scrollbar-width:4px}.multiple-file-preview::-webkit-scrollbar{width:4px}.multiple-file-preview .close-icon{color:#e74c3c;cursor:pointer;opacity:.9;transition:opacity .3s}.multiple-file-preview .close-icon:hover{opacity:1}.multiple-file-preview::-webkit-scrollbar-track{background-color:rgba(0,0,0,.2)}.multiple-file-preview::-webkit-scrollbar-thumb{transition-duration:.5s;background-color:#222}.multiple-file-preview::-webkit-scrollbar-thumb:hover{background-color:#555}.text-footer-invalid-format{color:#222;padding:10px}.text-footer-invalid-format h3{font-weight:500}.text-footer-invalid-format h4{font-size:.9rem}.text-footer-exclude-file{position:absolute;top:5px;right:5px;cursor:pointer;display:flex;justify-content:center;align-items:center;min-width:1rem;min-height:1rem;background-color:#fff;border-radius:50%}.text-footer-exclude-file svg{transition:color .2s;color:#e9594a}.text-footer-exclude-file svg:hover{color:#e74c3c}.file-preview{display:flex;width:100%;align-items:center;padding:5px 10px;transition:background-color 150ms}.file-preview:hover{background-color:rgba(0,0,0,.1)}.file-title{color:#222;display:flex;align-items:center;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding:4px 10px;background-color:#fff;border-radius:30px;display:inline-block}.file-title.red{color:#e74c3c;margin-left:5px}.file-title>svg{margin-right:5px}.small-img{flex:1;margin:0 15px;display:flex;justify-content:center;align-items:center;position:relative}.small-img img{height:40px;cursor:pointer}.small-img .pdf{display:flex;justify-content:center;align-items:center;font-size:30px;color:#e74c3c}.small-img .pdf svg{z-index:1}.small-img .pdf::after{content:\"\";position:absolute;bottom:2px;transform:translateY(2px);width:20px;height:20px;background-color:#fff}.img-container{padding:5px;border-radius:2.5px;background-color:rgba(0,0,0,.15);display:flex;justify-content:center;align-items:center}.delete-file{display:flex;justify-content:center;align-items:center;cursor:pointer}.delete-file>svg{font-size:1rem;color:#e74c3c}",
|
|
3768
3807
|
map: undefined,
|
|
3769
3808
|
media: undefined
|
|
3770
3809
|
});
|
|
@@ -3991,6 +4030,7 @@ var script$l = {
|
|
|
3991
4030
|
|
|
3992
4031
|
toggleFilePreview() {
|
|
3993
4032
|
this.showFilePreview = !this.showFilePreview;
|
|
4033
|
+
if (this.showFilePreview && this.openFiles) this.toggleFiles();
|
|
3994
4034
|
},
|
|
3995
4035
|
|
|
3996
4036
|
emitFileVars() {
|
|
@@ -4055,7 +4095,7 @@ var __vue_render__$l = function () {
|
|
|
4055
4095
|
return _c('span', {
|
|
4056
4096
|
staticClass: "text-footer-actions--btn",
|
|
4057
4097
|
class: {
|
|
4058
|
-
'files-activated': _vm.openFiles || _vm.file.length
|
|
4098
|
+
'files-activated': _vm.openFiles || _vm.file.length || _vm.file.name
|
|
4059
4099
|
},
|
|
4060
4100
|
on: {
|
|
4061
4101
|
"click": function ($event) {
|
|
@@ -4205,11 +4245,13 @@ var __vue_render__$l = function () {
|
|
|
4205
4245
|
"isDoc": _vm.isDoc,
|
|
4206
4246
|
"fileFormatError": _vm.fileFormatError,
|
|
4207
4247
|
"validFileFormats": _vm.validFileFormats,
|
|
4208
|
-
"imagePreview": _vm.imagePreview
|
|
4248
|
+
"imagePreview": _vm.imagePreview,
|
|
4249
|
+
"textId": _vm.textId
|
|
4209
4250
|
},
|
|
4210
4251
|
on: {
|
|
4211
4252
|
"delete-file": _vm.deleteFile,
|
|
4212
|
-
"open-image": _vm.openImage
|
|
4253
|
+
"open-image": _vm.openImage,
|
|
4254
|
+
"close": _vm.away
|
|
4213
4255
|
}
|
|
4214
4256
|
}) : _vm.fileSettings.multiple && _vm.showFilePreview ? _c('MultipleFilePreview', {
|
|
4215
4257
|
attrs: {
|
|
@@ -4221,7 +4263,8 @@ var __vue_render__$l = function () {
|
|
|
4221
4263
|
on: {
|
|
4222
4264
|
"delete-file": _vm.deleteFile,
|
|
4223
4265
|
"delete-specific-file": _vm.deleteSpecificFile,
|
|
4224
|
-
"open-image": _vm.openImage
|
|
4266
|
+
"open-image": _vm.openImage,
|
|
4267
|
+
"close": _vm.away
|
|
4225
4268
|
}
|
|
4226
4269
|
}) : _vm._e()], 1)])], 1);
|
|
4227
4270
|
};
|
|
@@ -4231,7 +4274,7 @@ var __vue_staticRenderFns__$l = [];
|
|
|
4231
4274
|
|
|
4232
4275
|
const __vue_inject_styles__$l = function (inject) {
|
|
4233
4276
|
if (!inject) return;
|
|
4234
|
-
inject("data-v-
|
|
4277
|
+
inject("data-v-05acb102_0", {
|
|
4235
4278
|
source: ".fade-enter-active,.fade-leave-active{transition:opacity .3s}.fade-enter,.fade-leave-to{opacity:0}.files-counter{position:absolute;top:unset;transform:translate(17.5px,-15px);background-color:#888;z-index:1;font-size:.5rem;width:15px;height:15px;border-radius:50%;display:flex;justify-content:center;align-items:center;cursor:pointer;opacity:.9;transition:all .3s;color:#fff;font-weight:900}.files-counter:hover{opacity:1}",
|
|
4236
4279
|
map: undefined,
|
|
4237
4280
|
media: undefined
|
|
@@ -8270,7 +8313,7 @@ var axios = axios_1;
|
|
|
8270
8313
|
|
|
8271
8314
|
vue.prototype.$httpRequest = axios;
|
|
8272
8315
|
const domain = window.location.hostname == 'localhost' ? `https://linux07` : `https://${window.location.hostname}` + "/im";
|
|
8273
|
-
const route = `/
|
|
8316
|
+
const route = `/smartChannel/v1/api.php`; // const route = `atdHumano/middleware/smartchannel_api.php`
|
|
8274
8317
|
|
|
8275
8318
|
const baseURL = `${domain}${route}`;
|
|
8276
8319
|
const dev = window.location.hostname == 'localhost' ? '&teste=levchat2' : '';
|
|
@@ -8282,7 +8325,7 @@ const standardMessages = {
|
|
|
8282
8325
|
return this.$httpRequest({
|
|
8283
8326
|
method: 'get',
|
|
8284
8327
|
url: `${baseURL}/messages/${type}?token_cliente=${token}${dev}` // headers: {
|
|
8285
|
-
// Authorization: "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.
|
|
8328
|
+
// Authorization: "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdGQiOiJNS1VUUnd3aW00bDV3d0piTHczb2xPYWtTbWxab283Q1F2MDY3V3pWR2E3VkhDQ2FMUEdsS2VQIiwibWFuYWdlciI6Ik1LVXFCcGtGUjNCTkhrbTZ5Znd3aW00bDV3d0l2Tlk0MDZrMzQ3SVdkRnNnRUY4Y3RIaDlQdngiLCJoYXNfaW5mb3MiOnRydWUsIm5yb3MiOltdLCJhdXRoIjoiTUtVdXdGZjdjMXd3eGI0NGF3d1F4eGlia3N2NW5YR2FxOWZVNkxMYnAzQ0tkS1NHa0RvbWV4ZiIsImlhdCI6MTY0ODgxMjYzOSwiZXhwIjoxNjQ4ODk5MDM5fQ.IMpYYLoxiX566-Y2fqNlJu0qBkEyOOTWZ25UqeOyPUs"
|
|
8286
8329
|
// }
|
|
8287
8330
|
|
|
8288
8331
|
}).then(response => {
|
|
@@ -8353,7 +8396,7 @@ var script$i = {
|
|
|
8353
8396
|
key_2: "",
|
|
8354
8397
|
formatted_messages_3: [],
|
|
8355
8398
|
key_3: "",
|
|
8356
|
-
loadingReq:
|
|
8399
|
+
loadingReq: true
|
|
8357
8400
|
};
|
|
8358
8401
|
},
|
|
8359
8402
|
|
|
@@ -8405,6 +8448,8 @@ var script$i = {
|
|
|
8405
8448
|
this.$toasted.global.defaultError();
|
|
8406
8449
|
}).catch(e => {
|
|
8407
8450
|
this.loadingReq = false;
|
|
8451
|
+
this.$toasted.global.defaultError();
|
|
8452
|
+
this.closeStandardMessages();
|
|
8408
8453
|
console.error("Error in getStandardMessages: ", e);
|
|
8409
8454
|
});
|
|
8410
8455
|
} catch (e) {
|
|
@@ -8528,34 +8573,7 @@ var __vue_render__$i = function () {
|
|
|
8528
8573
|
|
|
8529
8574
|
return _c('div', {
|
|
8530
8575
|
staticClass: "text-footer-hsm-container"
|
|
8531
|
-
}, [_c('v-select', {
|
|
8532
|
-
staticClass: "text-footer-v-select",
|
|
8533
|
-
style: "background-color: " + _vm.backgroundColor,
|
|
8534
|
-
attrs: {
|
|
8535
|
-
"appendToBody": "",
|
|
8536
|
-
"calculatePosition": _vm.calculateSelectPosition,
|
|
8537
|
-
"options": _vm.formatted_messages_1,
|
|
8538
|
-
"label": "value",
|
|
8539
|
-
"reduce": function (formatted_messages_1) {
|
|
8540
|
-
return formatted_messages_1.cod;
|
|
8541
|
-
}
|
|
8542
|
-
},
|
|
8543
|
-
on: {
|
|
8544
|
-
"input": _vm.inputSelectKey1
|
|
8545
|
-
},
|
|
8546
|
-
model: {
|
|
8547
|
-
value: _vm.key_1,
|
|
8548
|
-
callback: function ($$v) {
|
|
8549
|
-
_vm.key_1 = $$v;
|
|
8550
|
-
},
|
|
8551
|
-
expression: "key_1"
|
|
8552
|
-
}
|
|
8553
8576
|
}, [_c('div', {
|
|
8554
|
-
attrs: {
|
|
8555
|
-
"slot": "no-options"
|
|
8556
|
-
},
|
|
8557
|
-
slot: "no-options"
|
|
8558
|
-
}, [_vm._v(" " + _vm._s(_vm.dictionary.msg_sem_resultados) + " ")])]), _vm._v(" "), _c('div', {
|
|
8559
8577
|
staticClass: "transition-selects"
|
|
8560
8578
|
}, [_c('transition', {
|
|
8561
8579
|
attrs: {
|
|
@@ -8630,7 +8648,7 @@ var __vue_render__$i = function () {
|
|
|
8630
8648
|
slot: "no-options"
|
|
8631
8649
|
}, [_vm._v(" " + _vm._s(_vm.dictionary.msg_sem_resultados) + " ")])])], 1) : _vm.key_2 && _vm.loadingReq ? _c('div', {
|
|
8632
8650
|
staticClass: "loader-select"
|
|
8633
|
-
}, [_c('VueLoader')], 1) : _vm._e()])], 1)]
|
|
8651
|
+
}, [_c('VueLoader')], 1) : _vm._e()])], 1)]);
|
|
8634
8652
|
};
|
|
8635
8653
|
|
|
8636
8654
|
var __vue_staticRenderFns__$i = [];
|
|
@@ -8638,7 +8656,7 @@ var __vue_staticRenderFns__$i = [];
|
|
|
8638
8656
|
|
|
8639
8657
|
const __vue_inject_styles__$i = function (inject) {
|
|
8640
8658
|
if (!inject) return;
|
|
8641
|
-
inject("data-v-
|
|
8659
|
+
inject("data-v-4e81952e_0", {
|
|
8642
8660
|
source: ".transition-selects{min-height:80px;display:flex;flex-direction:column;width:100%}.loader-select{position:relative;min-height:35px;background:#fff;width:100%;border:1px solid #ccc;border-radius:5px;z-index:1}.loading-message{background-color:#555!important}",
|
|
8643
8661
|
map: undefined,
|
|
8644
8662
|
media: undefined
|
|
@@ -9297,7 +9315,7 @@ var __vue_render__$h = function () {
|
|
|
9297
9315
|
attrs: {
|
|
9298
9316
|
"icon": ['fas', 'paper-plane']
|
|
9299
9317
|
}
|
|
9300
|
-
})], 1)]) : _vm._e(), _vm._v(" "), _vm.buttons.hasFiles || _vm.buttons.hasAudio || _vm.buttons.hasExpand ? _c('div', {
|
|
9318
|
+
})], 1)]) : _vm._e(), _vm._v(" "), _vm.buttons.hasFiles || _vm.buttons.hasAudio || _vm.buttons.hasExpand || _vm.formattedMessageSettings.hasStandardMessages ? _c('div', {
|
|
9301
9319
|
staticClass: "text-footer-actions",
|
|
9302
9320
|
class: {
|
|
9303
9321
|
'outside-buttons': _vm.cssStyle.outsideButtons && !_vm.audioFile
|
|
@@ -9320,8 +9338,8 @@ var __vue_render__$h = function () {
|
|
|
9320
9338
|
directives: [{
|
|
9321
9339
|
name: "show",
|
|
9322
9340
|
rawName: "v-show",
|
|
9323
|
-
value: _vm.formattedMessageSettings.hasStandardMessages,
|
|
9324
|
-
expression: "formattedMessageSettings.hasStandardMessages"
|
|
9341
|
+
value: _vm.formattedMessageSettings.hasStandardMessages && !_vm.audioFile,
|
|
9342
|
+
expression: "formattedMessageSettings.hasStandardMessages && !audioFile"
|
|
9325
9343
|
}],
|
|
9326
9344
|
ref: _vm.textId + "-standard-messages",
|
|
9327
9345
|
attrs: {
|
|
@@ -9396,7 +9414,7 @@ var __vue_staticRenderFns__$h = [];
|
|
|
9396
9414
|
|
|
9397
9415
|
const __vue_inject_styles__$h = function (inject) {
|
|
9398
9416
|
if (!inject) return;
|
|
9399
|
-
inject("data-v-
|
|
9417
|
+
inject("data-v-fb83a0b4_0", {
|
|
9400
9418
|
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;margin-right:5px}.text-footer-container .text-footer-files-container .files-btn.system{background-color:#49a349}.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}",
|
|
9401
9419
|
map: undefined,
|
|
9402
9420
|
media: undefined
|