vue-intergrall-plugins 1.0.87 → 1.0.89
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 +12 -16
- package/dist/vue-intergrall-plugins.min.js +1 -1
- package/dist/vue-intergrall-plugins.ssr.js +17 -21
- package/package.json +1 -1
- package/src/lib-components/Chat/BtnFiles.vue +1 -1
- package/src/lib-components/Chat/BtnScreenShare.vue +5 -10
- package/src/lib-components/Chat/ExpandTextarea.vue +1 -1
- package/src/lib-components/Chat/MultipleFilePreview.vue +194 -169
- package/src/lib-components/Chat/TextFooter.vue +9 -9
|
@@ -3763,6 +3763,7 @@ var __vue_render__$u = function __vue_render__() {
|
|
|
3763
3763
|
class: {
|
|
3764
3764
|
'red': singleFile.invalid
|
|
3765
3765
|
},
|
|
3766
|
+
style: "max-width: " + (_vm.isPdf(singleFile.type) ? '175px' : '75px'),
|
|
3766
3767
|
attrs: {
|
|
3767
3768
|
"title": !singleFile.invalid ? singleFile.name : (_vm.dictionary.titulo_msg_formato_invalido ? _vm.dictionary.titulo_msg_formato_invalido : 'Arquivo invalido') + " - " + singleFile.name
|
|
3768
3769
|
}
|
|
@@ -3804,7 +3805,7 @@ var __vue_render__$u = function __vue_render__() {
|
|
|
3804
3805
|
value: {
|
|
3805
3806
|
placement: 'left'
|
|
3806
3807
|
},
|
|
3807
|
-
expression: "{placement: 'left'}"
|
|
3808
|
+
expression: "{ placement: 'left' }"
|
|
3808
3809
|
}],
|
|
3809
3810
|
staticClass: "delete-file",
|
|
3810
3811
|
attrs: {
|
|
@@ -3828,8 +3829,8 @@ var __vue_staticRenderFns__$u = [];
|
|
|
3828
3829
|
/* style */
|
|
3829
3830
|
var __vue_inject_styles__$u = function __vue_inject_styles__(inject) {
|
|
3830
3831
|
if (!inject) return;
|
|
3831
|
-
inject("data-v-
|
|
3832
|
-
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{text-overflow:ellipsis;overflow:hidden;font-weight:500}.text-footer-invalid-format h4{text-overflow:ellipsis;overflow:hidden;font-size:14.4px}.text-footer-exclude-file{position:absolute;top:5px;right:5px;cursor:pointer;display:flex;justify-content:center;align-items:center;min-width:16px;min-height:16px;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
|
|
3832
|
+
inject("data-v-05d167f8_0", {
|
|
3833
|
+
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{text-overflow:ellipsis;overflow:hidden;font-weight:500}.text-footer-invalid-format h4{text-overflow:ellipsis;overflow:hidden;font-size:14.4px}.text-footer-exclude-file{position:absolute;top:5px;right:5px;cursor:pointer;display:flex;justify-content:center;align-items:center;min-width:16px;min-height:16px;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:calc(100% - 20px);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;max-width:75px}.file-title.red{color:#e74c3c;margin-right:5px}.file-title>svg{margin-right:5px;color:#333}.small-img{flex:1;margin:0 15px;display:flex;justify-content:center;align-items:center;position:relative}.small-img img{width:100%;height:100%;max-height:40px;max-width:100px;cursor:pointer}.small-img .doc,.small-img .pdf{display:flex;justify-content:center;align-items:center;font-size:30px}.small-img .pdf{color:#e74c3c}.small-img .doc{color:#006bc9}.small-img .doc svg,.small-img .pdf svg{z-index:1}.small-img .doc::after,.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:16px;color:#e74c3c}",
|
|
3833
3834
|
map: undefined,
|
|
3834
3835
|
media: undefined
|
|
3835
3836
|
});
|
|
@@ -3837,7 +3838,7 @@ var __vue_inject_styles__$u = function __vue_inject_styles__(inject) {
|
|
|
3837
3838
|
/* scoped */
|
|
3838
3839
|
var __vue_scope_id__$u = undefined;
|
|
3839
3840
|
/* module identifier */
|
|
3840
|
-
var __vue_module_identifier__$u = "data-v-
|
|
3841
|
+
var __vue_module_identifier__$u = "data-v-05d167f8";
|
|
3841
3842
|
/* functional template */
|
|
3842
3843
|
var __vue_is_functional_template__$u = false;
|
|
3843
3844
|
/* style inject shadow dom */
|
|
@@ -4434,7 +4435,7 @@ var __vue_render__$s = function __vue_render__() {
|
|
|
4434
4435
|
value: _vm.away,
|
|
4435
4436
|
expression: "away"
|
|
4436
4437
|
}],
|
|
4437
|
-
staticClass: "
|
|
4438
|
+
staticClass: "old-footer-preview-container",
|
|
4438
4439
|
class: [_vm.previewContainerClass],
|
|
4439
4440
|
on: {
|
|
4440
4441
|
"click": function click($event) {
|
|
@@ -4476,7 +4477,7 @@ var __vue_staticRenderFns__$s = [];
|
|
|
4476
4477
|
/* style */
|
|
4477
4478
|
var __vue_inject_styles__$s = function __vue_inject_styles__(inject) {
|
|
4478
4479
|
if (!inject) return;
|
|
4479
|
-
inject("data-v-
|
|
4480
|
+
inject("data-v-5a0178dd_0", {
|
|
4480
4481
|
source: ".fade-enter-active,.fade-leave-active{transition:opacity .3s}.fade-enter,.fade-leave-to{opacity:0}.d-none{display:none}.files-counter{position:absolute;top:unset;transform:translate(17.5px,-15px);background-color:#888;z-index:1;font-size:8px;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}.files-counter-2{transform:translate(-15px,28px);opacity:.9;position:absolute;display:flex;justify-content:center;align-items:center;color:#888;font-size:12.8px}.files-counter-2 svg{margin-left:5px}.files-counter-2:hover{opacity:1;text-decoration:underline}",
|
|
4481
4482
|
map: undefined,
|
|
4482
4483
|
media: undefined
|
|
@@ -4485,7 +4486,7 @@ var __vue_inject_styles__$s = function __vue_inject_styles__(inject) {
|
|
|
4485
4486
|
/* scoped */
|
|
4486
4487
|
var __vue_scope_id__$s = undefined;
|
|
4487
4488
|
/* module identifier */
|
|
4488
|
-
var __vue_module_identifier__$s = "data-v-
|
|
4489
|
+
var __vue_module_identifier__$s = "data-v-5a0178dd";
|
|
4489
4490
|
/* functional template */
|
|
4490
4491
|
var __vue_is_functional_template__$s = false;
|
|
4491
4492
|
/* style inject shadow dom */
|
|
@@ -4625,11 +4626,6 @@ var BtnMic = __vue_component__$A;//
|
|
|
4625
4626
|
//
|
|
4626
4627
|
//
|
|
4627
4628
|
//
|
|
4628
|
-
//
|
|
4629
|
-
//
|
|
4630
|
-
//
|
|
4631
|
-
//
|
|
4632
|
-
//
|
|
4633
4629
|
|
|
4634
4630
|
var script$q = {
|
|
4635
4631
|
props: {
|
|
@@ -4672,8 +4668,8 @@ var __vue_staticRenderFns__$q = [];
|
|
|
4672
4668
|
/* style */
|
|
4673
4669
|
var __vue_inject_styles__$q = function __vue_inject_styles__(inject) {
|
|
4674
4670
|
if (!inject) return;
|
|
4675
|
-
inject("data-v-
|
|
4676
|
-
source: ".text-footer-actions--btn{position:relative}.text-footer-actions--btn>svg:nth-child(
|
|
4671
|
+
inject("data-v-bb6c4398_0", {
|
|
4672
|
+
source: ".text-footer-actions--btn{position:relative}.text-footer-actions--btn>svg:nth-child(2){font-size:9.6px;position:absolute;transform:translateY(-1px)}",
|
|
4677
4673
|
map: undefined,
|
|
4678
4674
|
media: undefined
|
|
4679
4675
|
});
|
|
@@ -4681,7 +4677,7 @@ var __vue_inject_styles__$q = function __vue_inject_styles__(inject) {
|
|
|
4681
4677
|
/* scoped */
|
|
4682
4678
|
var __vue_scope_id__$q = undefined;
|
|
4683
4679
|
/* module identifier */
|
|
4684
|
-
var __vue_module_identifier__$q = "data-v-
|
|
4680
|
+
var __vue_module_identifier__$q = "data-v-bb6c4398";
|
|
4685
4681
|
/* functional template */
|
|
4686
4682
|
var __vue_is_functional_template__$q = false;
|
|
4687
4683
|
/* style inject shadow dom */
|
|
@@ -5870,8 +5866,8 @@ var __vue_staticRenderFns__$m = [];
|
|
|
5870
5866
|
/* style */
|
|
5871
5867
|
var __vue_inject_styles__$m = function __vue_inject_styles__(inject) {
|
|
5872
5868
|
if (!inject) return;
|
|
5873
|
-
inject("data-v-
|
|
5874
|
-
source: ".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:14px;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:14px;font-family:inherit;background:inherit}.text-footer-container textarea:focus{outline:unset}.text-footer-container textarea::placeholder{font-size:12px}.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:16px;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:9.2px;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:-30px;right:35px;background-color:#fafafa}.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;
|
|
5869
|
+
inject("data-v-3e071867_0", {
|
|
5870
|
+
source: ".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:14px;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:14px;font-family:inherit;background:inherit}.text-footer-container textarea:focus{outline:unset}.text-footer-container textarea::placeholder{font-size:12px}.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:16px;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:9.2px;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:-30px;right:35px;background-color:#fafafa;height:38px}.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;font-size:16px;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:16px}.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:16px;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-files-container .files-btn.system{background-color:#49a349;margin-left:5px}.text-footer-container .text-footer-files-container .files-btn.both{font-size:15.2px;background-color:#5555ec;flex-direction:column}.text-footer-container .text-footer-files-container .files-btn.both svg:nth-child(1){transform:translateX(5px)}.text-footer-container .text-footer-files-container .files-btn.both svg:nth-child(2){transform:translateX(-5px)}.text-footer-container .old-footer-preview-container{width:100%;cursor:default;position:absolute;right: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 .old-footer-preview-container.isDoc{top:-50px;width:100%;height:45px}.text-footer-container .old-footer-preview-container.isImg,.text-footer-container .old-footer-preview-container.isMultiple{top:-205px;width:100%;height:200px;min-width:300px}.text-footer-container .old-footer-preview-container.isImg .text-footer-image-preview{height:170px}.text-footer-container .old-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:12.8px;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:12.8px;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:13.6px!important}.emoji-mart-anchor,.emoji-mart-emoji span{cursor:pointer!important}.emoji-mart{z-index:2!important}.emoji-mart-scroll{overflow-x:hidden}",
|
|
5875
5871
|
map: undefined,
|
|
5876
5872
|
media: undefined
|
|
5877
5873
|
});
|
|
@@ -5879,7 +5875,7 @@ var __vue_inject_styles__$m = function __vue_inject_styles__(inject) {
|
|
|
5879
5875
|
/* scoped */
|
|
5880
5876
|
var __vue_scope_id__$m = undefined;
|
|
5881
5877
|
/* module identifier */
|
|
5882
|
-
var __vue_module_identifier__$m = "data-v-
|
|
5878
|
+
var __vue_module_identifier__$m = "data-v-3e071867";
|
|
5883
5879
|
/* functional template */
|
|
5884
5880
|
var __vue_is_functional_template__$m = false;
|
|
5885
5881
|
/* style inject shadow dom */
|
|
@@ -6631,8 +6627,8 @@ var __vue_staticRenderFns__$j = [];
|
|
|
6631
6627
|
/* style */
|
|
6632
6628
|
var __vue_inject_styles__$j = function __vue_inject_styles__(inject) {
|
|
6633
6629
|
if (!inject) return;
|
|
6634
|
-
inject("data-v-
|
|
6635
|
-
source: ".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:20.8px;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 .
|
|
6630
|
+
inject("data-v-10a72dda_0", {
|
|
6631
|
+
source: ".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:20.8px;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 .old-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:20.8px;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}",
|
|
6636
6632
|
map: undefined,
|
|
6637
6633
|
media: undefined
|
|
6638
6634
|
});
|
|
@@ -6640,7 +6636,7 @@ var __vue_inject_styles__$j = function __vue_inject_styles__(inject) {
|
|
|
6640
6636
|
/* scoped */
|
|
6641
6637
|
var __vue_scope_id__$j = undefined;
|
|
6642
6638
|
/* module identifier */
|
|
6643
|
-
var __vue_module_identifier__$j = "data-v-
|
|
6639
|
+
var __vue_module_identifier__$j = "data-v-10a72dda";
|
|
6644
6640
|
/* functional template */
|
|
6645
6641
|
var __vue_is_functional_template__$j = false;
|
|
6646
6642
|
/* style inject shadow dom */
|
package/package.json
CHANGED
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
@change="fileUpload($event, 'doc')" />
|
|
54
54
|
</div>
|
|
55
55
|
<transition name="fade">
|
|
56
|
-
<div class="
|
|
56
|
+
<div class="old-footer-preview-container" @click.stop v-show="showFilePreview" :class="[previewContainerClass]"
|
|
57
57
|
v-clickaway="away">
|
|
58
58
|
<SingleFilePreview v-if="!fileSettings.multiple && showFilePreview" :dictionary="dictionary" :file="file"
|
|
59
59
|
:isDoc="isDoc" :fileFormatError="fileFormatError" :validFileFormats="validFileFormats"
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
3
|
-
|
|
4
|
-
@click="$emit('toggle-standard-messages')"
|
|
5
|
-
:title="dictionary.title_screen_share"
|
|
6
|
-
>
|
|
2
|
+
<div class="text-footer-actions--btn" @click="$emit('toggle-standard-messages')"
|
|
3
|
+
:title="dictionary.title_screen_share">
|
|
7
4
|
<fa-icon :icon="['fas', 'desktop']" />
|
|
8
5
|
<fa-icon :icon="['fas', 'share']" />
|
|
9
6
|
</div>
|
|
@@ -13,13 +10,11 @@
|
|
|
13
10
|
.text-footer-actions--btn {
|
|
14
11
|
position: relative;
|
|
15
12
|
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
.text-footer-actions--btn > svg:nth-child(2) {
|
|
13
|
+
|
|
14
|
+
.text-footer-actions--btn>svg:nth-child(2) {
|
|
20
15
|
font-size: 9.6px;
|
|
21
16
|
position: absolute;
|
|
22
|
-
transform: translateY(-
|
|
17
|
+
transform: translateY(-1px);
|
|
23
18
|
}
|
|
24
19
|
</style>
|
|
25
20
|
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
<transition-group name="fade">
|
|
5
5
|
<Loader v-if="loading" key="mfp-loader" />
|
|
6
6
|
<template v-else-if="fileFormatError">
|
|
7
|
-
<span @click="deleteFile" :title="dictionary.msg_cancelar_anexo" class="text-footer-exclude-file"
|
|
7
|
+
<span @click="deleteFile" :title="dictionary.msg_cancelar_anexo" class="text-footer-exclude-file"
|
|
8
|
+
key="mfp-exlude-file">
|
|
8
9
|
<fa-icon :icon="['fas', 'times-circle']" />
|
|
9
10
|
</span>
|
|
10
11
|
<div class="text-footer-invalid-format" v-if="fileFormatError" key="mfp-invalid-format">
|
|
@@ -14,18 +15,17 @@
|
|
|
14
15
|
</template>
|
|
15
16
|
<template v-else>
|
|
16
17
|
<div class="file-preview" v-for="(singleFile, index) in file" :key="index">
|
|
17
|
-
<p class="file-title" :
|
|
18
|
+
<p class="file-title" :style="`max-width: ${isPdf(singleFile.type) ? '175px' : '75px'}`"
|
|
19
|
+
:title="!singleFile.invalid ? singleFile.name : `${dictionary.titulo_msg_formato_invalido ? dictionary.titulo_msg_formato_invalido : 'Arquivo invalido'} - ${singleFile.name}`"
|
|
20
|
+
:class="{ 'red': singleFile.invalid }">
|
|
18
21
|
<fa-icon :icon="icon(singleFile.imgOrDoc)" />
|
|
19
|
-
{{ !singleFile.invalid ? singleFile.name : `${dictionary.titulo_msg_formato_invalido ?
|
|
22
|
+
{{ !singleFile.invalid ? singleFile.name : `${dictionary.titulo_msg_formato_invalido ?
|
|
23
|
+
dictionary.titulo_msg_formato_invalido : "Arquivo invalido"} - ${singleFile.name}` }}
|
|
20
24
|
</p>
|
|
21
25
|
<div class="small-img">
|
|
22
26
|
<span class="img-container" v-if="singleFile.imgOrDoc === 'img' && !isPdf(singleFile.type)">
|
|
23
|
-
<img
|
|
24
|
-
|
|
25
|
-
:src="singleFile.src"
|
|
26
|
-
:alt="dictionary.alt_previa_img"
|
|
27
|
-
@click="openImage(singleFile.src)"
|
|
28
|
-
/>
|
|
27
|
+
<img :title="dictionary.titulo_visualizar_img" :src="singleFile.src" :alt="dictionary.alt_previa_img"
|
|
28
|
+
@click="openImage(singleFile.src)" />
|
|
29
29
|
</span>
|
|
30
30
|
<span class="pdf" v-else-if="isPdf(singleFile.type)">
|
|
31
31
|
<fa-icon :icon="['fas', 'file-pdf']" />
|
|
@@ -34,7 +34,8 @@
|
|
|
34
34
|
<fa-icon :icon="['fas', 'file-alt']" />
|
|
35
35
|
</span>
|
|
36
36
|
</div>
|
|
37
|
-
<span @click="deleteSpecificFile(singleFile.name, index)" v-tippy="{placement: 'left'}"
|
|
37
|
+
<span @click="deleteSpecificFile(singleFile.name, index)" v-tippy="{ placement: 'left' }"
|
|
38
|
+
:content="dictionary.msg_excluir_anexo" :title="dictionary.msg_excluir_anexo" class="delete-file">
|
|
38
39
|
<fa-icon :icon="['fas', 'trash-alt']" />
|
|
39
40
|
</span>
|
|
40
41
|
</div>
|
|
@@ -56,12 +57,12 @@ export default {
|
|
|
56
57
|
}
|
|
57
58
|
},
|
|
58
59
|
mounted() {
|
|
59
|
-
setTimeout(() => { this.loading = false;}, 500);
|
|
60
|
+
setTimeout(() => { this.loading = false; }, 500);
|
|
60
61
|
},
|
|
61
62
|
watch: {
|
|
62
63
|
file() {
|
|
63
|
-
if(!this.ignoreNextUpdate) {
|
|
64
|
-
if(this.loadingTimeout) clearTimeout(this.loadingTimeout);
|
|
64
|
+
if (!this.ignoreNextUpdate) {
|
|
65
|
+
if (this.loadingTimeout) clearTimeout(this.loadingTimeout);
|
|
65
66
|
this.loading = true;
|
|
66
67
|
this.loadingTimeout = setTimeout(() => { this.loading = false; }, 500);
|
|
67
68
|
this.ignoreNextUpdate = true
|
|
@@ -87,7 +88,7 @@ export default {
|
|
|
87
88
|
this.$emit("open-image", image);
|
|
88
89
|
},
|
|
89
90
|
icon(imgOrDoc) {
|
|
90
|
-
if(!imgOrDoc) return ['fas', 'times-circle'];
|
|
91
|
+
if (!imgOrDoc) return ['fas', 'times-circle'];
|
|
91
92
|
return imgOrDoc == 'doc' ? ['fas', 'file-alt'] : ['fas', 'image'];
|
|
92
93
|
},
|
|
93
94
|
isPdf(type) {
|
|
@@ -98,169 +99,193 @@ export default {
|
|
|
98
99
|
</script>
|
|
99
100
|
|
|
100
101
|
<style>
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
.multiple-file-preview::-webkit-scrollbar{
|
|
117
|
-
width: 4px;
|
|
118
|
-
}
|
|
102
|
+
.multiple-file-preview {
|
|
103
|
+
position: relative;
|
|
104
|
+
display: flex;
|
|
105
|
+
flex-direction: column;
|
|
106
|
+
width: 100%;
|
|
107
|
+
height: 100%;
|
|
108
|
+
max-height: 100%;
|
|
109
|
+
overflow-y: auto;
|
|
110
|
+
overflow-x: hidden;
|
|
111
|
+
border-top-left-radius: 2.5px;
|
|
112
|
+
border-top-right-radius: 2.5px;
|
|
113
|
+
transition: background-color 150ms;
|
|
114
|
+
scrollbar-color: #888 rgba(0, 0, 0, 0.2);
|
|
115
|
+
scrollbar-width: 4px;
|
|
116
|
+
}
|
|
119
117
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
opacity: .9;
|
|
124
|
-
transition: opacity 300ms;
|
|
125
|
-
}
|
|
126
|
-
.multiple-file-preview .close-icon:hover {
|
|
127
|
-
opacity: 1;
|
|
128
|
-
}
|
|
118
|
+
.multiple-file-preview::-webkit-scrollbar {
|
|
119
|
+
width: 4px;
|
|
120
|
+
}
|
|
129
121
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
122
|
+
.multiple-file-preview .close-icon {
|
|
123
|
+
color: #E74C3C;
|
|
124
|
+
cursor: pointer;
|
|
125
|
+
opacity: .9;
|
|
126
|
+
transition: opacity 300ms;
|
|
127
|
+
}
|
|
133
128
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
}
|
|
129
|
+
.multiple-file-preview .close-icon:hover {
|
|
130
|
+
opacity: 1;
|
|
131
|
+
}
|
|
138
132
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
133
|
+
.multiple-file-preview::-webkit-scrollbar-track {
|
|
134
|
+
background-color: rgba(0, 0, 0, 0.2);
|
|
135
|
+
}
|
|
142
136
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
.text-footer-invalid-format h3 {
|
|
148
|
-
text-overflow: ellipsis;
|
|
149
|
-
overflow: hidden;
|
|
150
|
-
font-weight: 500;
|
|
151
|
-
}
|
|
152
|
-
.text-footer-invalid-format h4 {
|
|
153
|
-
text-overflow: ellipsis;
|
|
154
|
-
overflow: hidden;
|
|
155
|
-
font-size: 14.4px;
|
|
156
|
-
}
|
|
137
|
+
.multiple-file-preview::-webkit-scrollbar-thumb {
|
|
138
|
+
transition-duration: .5s;
|
|
139
|
+
background-color: #222
|
|
140
|
+
}
|
|
157
141
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
right: 5px;
|
|
162
|
-
cursor: pointer;
|
|
163
|
-
display: flex;
|
|
164
|
-
justify-content: center;
|
|
165
|
-
align-items: center;
|
|
166
|
-
min-width: 16px;
|
|
167
|
-
min-height: 16px;
|
|
168
|
-
background-color: #FFF;
|
|
169
|
-
border-radius: 50%;
|
|
170
|
-
}
|
|
171
|
-
.text-footer-exclude-file svg {
|
|
172
|
-
transition: color 200ms;
|
|
173
|
-
color: #e9594a;
|
|
174
|
-
}
|
|
175
|
-
.text-footer-exclude-file svg:hover {
|
|
176
|
-
color: #E74C3C;
|
|
177
|
-
}
|
|
142
|
+
.multiple-file-preview::-webkit-scrollbar-thumb:hover {
|
|
143
|
+
background-color: #555
|
|
144
|
+
}
|
|
178
145
|
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
padding: 5px 10px;
|
|
184
|
-
transition: background-color 150ms;
|
|
185
|
-
}
|
|
186
|
-
.file-preview:hover {
|
|
187
|
-
background-color: rgba(0, 0, 0, .1)
|
|
188
|
-
}
|
|
146
|
+
.text-footer-invalid-format {
|
|
147
|
+
color: #222;
|
|
148
|
+
padding: 10px;
|
|
149
|
+
}
|
|
189
150
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
text-overflow: ellipsis;
|
|
196
|
-
overflow: hidden;
|
|
197
|
-
padding: 4px 10px;
|
|
198
|
-
background-color: #FFF;
|
|
199
|
-
border-radius: 30px;
|
|
200
|
-
display: inline-block;
|
|
201
|
-
}
|
|
202
|
-
.file-title.red {
|
|
203
|
-
color: #E74C3C;
|
|
204
|
-
margin-right: 5px;
|
|
205
|
-
}
|
|
206
|
-
.file-title > svg {
|
|
207
|
-
margin-right: 5px;
|
|
208
|
-
color: #333;
|
|
209
|
-
}
|
|
151
|
+
.text-footer-invalid-format h3 {
|
|
152
|
+
text-overflow: ellipsis;
|
|
153
|
+
overflow: hidden;
|
|
154
|
+
font-weight: 500;
|
|
155
|
+
}
|
|
210
156
|
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
align-items: center;
|
|
217
|
-
position: relative;
|
|
218
|
-
}
|
|
219
|
-
.small-img img {
|
|
220
|
-
height: 40px;
|
|
221
|
-
cursor: pointer;
|
|
222
|
-
}
|
|
223
|
-
.small-img .pdf, .small-img .doc {
|
|
224
|
-
display: flex;
|
|
225
|
-
justify-content: center;
|
|
226
|
-
align-items: center;
|
|
227
|
-
font-size: 30px;
|
|
228
|
-
}
|
|
229
|
-
.small-img .pdf {
|
|
230
|
-
color: #E74C3C;
|
|
231
|
-
}
|
|
232
|
-
.small-img .doc {
|
|
233
|
-
color: #006bc9;
|
|
234
|
-
}
|
|
235
|
-
.small-img .pdf svg, .small-img .doc svg{
|
|
236
|
-
z-index: 1;
|
|
237
|
-
}
|
|
238
|
-
.small-img .pdf::after, .small-img .doc::after {
|
|
239
|
-
content: "";
|
|
240
|
-
position: absolute;
|
|
241
|
-
bottom: 2px;
|
|
242
|
-
transform: translateY(2px);
|
|
243
|
-
width: 20px;
|
|
244
|
-
height: 20px;
|
|
245
|
-
background-color: #FFF;
|
|
246
|
-
}
|
|
247
|
-
.img-container {
|
|
248
|
-
padding: 5px;
|
|
249
|
-
border-radius: 2.5px;
|
|
250
|
-
background-color: rgba(0, 0, 0, .15);
|
|
251
|
-
display: flex;
|
|
252
|
-
justify-content: center;
|
|
253
|
-
align-items: center;
|
|
254
|
-
}
|
|
157
|
+
.text-footer-invalid-format h4 {
|
|
158
|
+
text-overflow: ellipsis;
|
|
159
|
+
overflow: hidden;
|
|
160
|
+
font-size: 14.4px;
|
|
161
|
+
}
|
|
255
162
|
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
163
|
+
.text-footer-exclude-file {
|
|
164
|
+
position: absolute;
|
|
165
|
+
top: 5px;
|
|
166
|
+
right: 5px;
|
|
167
|
+
cursor: pointer;
|
|
168
|
+
display: flex;
|
|
169
|
+
justify-content: center;
|
|
170
|
+
align-items: center;
|
|
171
|
+
min-width: 16px;
|
|
172
|
+
min-height: 16px;
|
|
173
|
+
background-color: #FFF;
|
|
174
|
+
border-radius: 50%;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.text-footer-exclude-file svg {
|
|
178
|
+
transition: color 200ms;
|
|
179
|
+
color: #e9594a;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.text-footer-exclude-file svg:hover {
|
|
183
|
+
color: #E74C3C;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.file-preview {
|
|
187
|
+
display: flex;
|
|
188
|
+
width: calc(100% - 20px);
|
|
189
|
+
align-items: center;
|
|
190
|
+
padding: 5px 10px;
|
|
191
|
+
transition: background-color 150ms;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.file-preview:hover {
|
|
195
|
+
background-color: rgba(0, 0, 0, .1)
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.file-title {
|
|
199
|
+
color: #222;
|
|
200
|
+
display: flex;
|
|
201
|
+
align-items: center;
|
|
202
|
+
white-space: nowrap;
|
|
203
|
+
text-overflow: ellipsis;
|
|
204
|
+
overflow: hidden;
|
|
205
|
+
padding: 4px 10px;
|
|
206
|
+
background-color: #FFF;
|
|
207
|
+
border-radius: 30px;
|
|
208
|
+
display: inline-block;
|
|
209
|
+
max-width: 75px;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.file-title.red {
|
|
213
|
+
color: #E74C3C;
|
|
214
|
+
margin-right: 5px;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.file-title>svg {
|
|
218
|
+
margin-right: 5px;
|
|
219
|
+
color: #333;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.small-img {
|
|
223
|
+
flex: 1;
|
|
224
|
+
margin: 0 15px;
|
|
225
|
+
display: flex;
|
|
226
|
+
justify-content: center;
|
|
227
|
+
align-items: center;
|
|
228
|
+
position: relative;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.small-img img {
|
|
232
|
+
width: 100%;
|
|
233
|
+
height: 100%;
|
|
234
|
+
max-height: 40px;
|
|
235
|
+
max-width: 100px;
|
|
236
|
+
cursor: pointer;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.small-img .pdf,
|
|
240
|
+
.small-img .doc {
|
|
241
|
+
display: flex;
|
|
242
|
+
justify-content: center;
|
|
243
|
+
align-items: center;
|
|
244
|
+
font-size: 30px;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.small-img .pdf {
|
|
248
|
+
color: #E74C3C;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.small-img .doc {
|
|
252
|
+
color: #006bc9;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.small-img .pdf svg,
|
|
256
|
+
.small-img .doc svg {
|
|
257
|
+
z-index: 1;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.small-img .pdf::after,
|
|
261
|
+
.small-img .doc::after {
|
|
262
|
+
content: "";
|
|
263
|
+
position: absolute;
|
|
264
|
+
bottom: 2px;
|
|
265
|
+
transform: translateY(2px);
|
|
266
|
+
width: 20px;
|
|
267
|
+
height: 20px;
|
|
268
|
+
background-color: #FFF;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.img-container {
|
|
272
|
+
padding: 5px;
|
|
273
|
+
border-radius: 2.5px;
|
|
274
|
+
background-color: rgba(0, 0, 0, .15);
|
|
275
|
+
display: flex;
|
|
276
|
+
justify-content: center;
|
|
277
|
+
align-items: center;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.delete-file {
|
|
281
|
+
display: flex;
|
|
282
|
+
justify-content: center;
|
|
283
|
+
align-items: center;
|
|
284
|
+
cursor: pointer;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.delete-file>svg {
|
|
288
|
+
font-size: 16px;
|
|
289
|
+
color: #E74C3C;
|
|
290
|
+
}
|
|
266
291
|
</style>
|