vue-intergrall-plugins 0.0.226 → 0.0.229
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.
|
@@ -3977,6 +3977,7 @@ var script$n = {
|
|
|
3977
3977
|
},
|
|
3978
3978
|
|
|
3979
3979
|
openSelectFileHandler(type) {
|
|
3980
|
+
if (this.fileSettings.handleFileClick) return this.$emit("handle-file-click");
|
|
3980
3981
|
if (type == "system") return this.$emit("open-file-system");
|
|
3981
3982
|
|
|
3982
3983
|
if (this.fileSettings.multiple) {
|
|
@@ -4024,7 +4025,8 @@ var script$n = {
|
|
|
4024
4025
|
if (this.fileFormatError) this.file = [];
|
|
4025
4026
|
this.openFiles = false;
|
|
4026
4027
|
const filesAux = !externalCall ? event.target.files ? event.target.files : event.dataTransfer.files : event;
|
|
4027
|
-
|
|
4028
|
+
const isStackable = this.fileSettings.stackFiles && this.fileSettings.multiple;
|
|
4029
|
+
this.file = filesAux.length ? isStackable ? this.file.concat(...filesAux) : filesAux : this.file;
|
|
4028
4030
|
if (!this.file.length) return;
|
|
4029
4031
|
|
|
4030
4032
|
if (this.file.length > this.fileSettings.max) {
|
|
@@ -4138,6 +4140,11 @@ var script$n = {
|
|
|
4138
4140
|
},
|
|
4139
4141
|
|
|
4140
4142
|
toggleFilePreview() {
|
|
4143
|
+
if (this.fileSettings.handleFilePreview) {
|
|
4144
|
+
this.emitFileVars();
|
|
4145
|
+
return this.$emit("handle-file-preview");
|
|
4146
|
+
}
|
|
4147
|
+
|
|
4141
4148
|
this.showFilePreview = !this.showFilePreview;
|
|
4142
4149
|
if (this.showFilePreview && this.openFiles) this.toggleFiles();
|
|
4143
4150
|
},
|
|
@@ -4204,14 +4211,19 @@ var __vue_render__$n = function () {
|
|
|
4204
4211
|
return _c('span', {
|
|
4205
4212
|
staticClass: "text-footer-actions--btn",
|
|
4206
4213
|
class: {
|
|
4207
|
-
'files-activated': _vm.openFiles || _vm.file.
|
|
4214
|
+
'files-activated': _vm.openFiles || _vm.file.name
|
|
4208
4215
|
},
|
|
4209
4216
|
on: {
|
|
4210
4217
|
"click": function ($event) {
|
|
4211
4218
|
return _vm.openFilesByClip();
|
|
4212
4219
|
}
|
|
4213
4220
|
}
|
|
4214
|
-
}, [_c('
|
|
4221
|
+
}, [_c('fa-icon', {
|
|
4222
|
+
attrs: {
|
|
4223
|
+
"icon": ['fas', 'paperclip'],
|
|
4224
|
+
"title": _vm.dictionary.title_selecionar_anexo
|
|
4225
|
+
}
|
|
4226
|
+
}), _vm._v(" "), _c('transition', {
|
|
4215
4227
|
attrs: {
|
|
4216
4228
|
"name": "fade"
|
|
4217
4229
|
}
|
|
@@ -4220,9 +4232,9 @@ var __vue_render__$n = function () {
|
|
|
4220
4232
|
name: "tippy",
|
|
4221
4233
|
rawName: "v-tippy"
|
|
4222
4234
|
}],
|
|
4223
|
-
|
|
4235
|
+
class: "" + (_vm.fileSettings.filePreviewStyle == 2 ? 'files-counter-2' : 'files-counter'),
|
|
4224
4236
|
attrs: {
|
|
4225
|
-
"content":
|
|
4237
|
+
"content": _vm.dictionary.msg_abrir_anexos
|
|
4226
4238
|
},
|
|
4227
4239
|
on: {
|
|
4228
4240
|
"click": function ($event) {
|
|
@@ -4230,16 +4242,11 @@ var __vue_render__$n = function () {
|
|
|
4230
4242
|
return _vm.toggleFilePreview.apply(null, arguments);
|
|
4231
4243
|
}
|
|
4232
4244
|
}
|
|
4233
|
-
}, [_c('fa-icon', {
|
|
4245
|
+
}, [_vm.fileSettings.filePreviewStyle == 1 ? [_vm._v("\n " + _vm._s(_vm.fileSize) + "\n ")] : [_vm._v("\n Anexos "), _c('fa-icon', {
|
|
4234
4246
|
attrs: {
|
|
4235
4247
|
"icon": ['fas', 'eye']
|
|
4236
4248
|
}
|
|
4237
|
-
})],
|
|
4238
|
-
attrs: {
|
|
4239
|
-
"icon": ['fas', 'paperclip'],
|
|
4240
|
-
"title": _vm.dictionary.title_selecionar_anexo
|
|
4241
|
-
}
|
|
4242
|
-
}), _vm._v(" "), _c('transition', {
|
|
4249
|
+
})]], 2) : _vm._e()]), _vm._v(" "), _c('transition', {
|
|
4243
4250
|
attrs: {
|
|
4244
4251
|
"name": "show"
|
|
4245
4252
|
}
|
|
@@ -4406,8 +4413,8 @@ var __vue_staticRenderFns__$n = [];
|
|
|
4406
4413
|
|
|
4407
4414
|
const __vue_inject_styles__$n = function (inject) {
|
|
4408
4415
|
if (!inject) return;
|
|
4409
|
-
inject("data-v-
|
|
4410
|
-
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}",
|
|
4416
|
+
inject("data-v-4b099e3f_0", {
|
|
4417
|
+
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}.files-counter-2{transform:translate(-15px,28px);opacity:.9;position:absolute;display:flex;justify-content:center;align-items:center;color:#888;font-size:.8rem}.files-counter-2 svg{margin-left:5px}.files-counter-2:hover{opacity:1;text-decoration:underline}",
|
|
4411
4418
|
map: undefined,
|
|
4412
4419
|
media: undefined
|
|
4413
4420
|
});
|
|
@@ -8907,7 +8914,11 @@ var script$j = {
|
|
|
8907
8914
|
imagesExtensions: "",
|
|
8908
8915
|
multiple: false,
|
|
8909
8916
|
systemButton: false,
|
|
8910
|
-
max: 3
|
|
8917
|
+
max: 3,
|
|
8918
|
+
handleFilePreview: false,
|
|
8919
|
+
filePreviewStyle: 1,
|
|
8920
|
+
stackFiles: false,
|
|
8921
|
+
handleFileClick: false
|
|
8911
8922
|
};
|
|
8912
8923
|
},
|
|
8913
8924
|
required: false
|
|
@@ -9519,7 +9530,10 @@ var __vue_render__$j = function () {
|
|
|
9519
9530
|
"set-file-vars": _vm.setFileVars,
|
|
9520
9531
|
"open-image": _vm.openImage,
|
|
9521
9532
|
"open-file-system": _vm.openFileSystem,
|
|
9522
|
-
"reset-file-system": _vm.resetFileSystem
|
|
9533
|
+
"reset-file-system": _vm.resetFileSystem,
|
|
9534
|
+
"handle-file-preview": function ($event) {
|
|
9535
|
+
return _vm.$emit('handle-file-preview');
|
|
9536
|
+
}
|
|
9523
9537
|
}
|
|
9524
9538
|
}), _vm._v(" "), _c('BtnExpand', {
|
|
9525
9539
|
directives: [{
|
|
@@ -9570,7 +9584,7 @@ var __vue_staticRenderFns__$j = [];
|
|
|
9570
9584
|
|
|
9571
9585
|
const __vue_inject_styles__$j = function (inject) {
|
|
9572
9586
|
if (!inject) return;
|
|
9573
|
-
inject("data-v-
|
|
9587
|
+
inject("data-v-012bde1e_0", {
|
|
9574
9588
|
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-files-container .files-btn.system{background-color:#49a349;margin-left:5px}.text-footer-container .text-footer-files-container .files-btn.both{font-size:.95rem;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 .text-footer-preview-container{width:100%;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}",
|
|
9575
9589
|
map: undefined,
|
|
9576
9590
|
media: undefined
|