vue-intergrall-plugins 0.0.217 → 0.0.220
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.
|
@@ -3901,7 +3901,8 @@ var script$n = {
|
|
|
3901
3901
|
isDoc: false,
|
|
3902
3902
|
fileFormatError: false,
|
|
3903
3903
|
validFileFormats: "",
|
|
3904
|
-
hasAnyFile: false
|
|
3904
|
+
hasAnyFile: false,
|
|
3905
|
+
externalFilesAux: []
|
|
3905
3906
|
};
|
|
3906
3907
|
},
|
|
3907
3908
|
|
|
@@ -3916,6 +3917,10 @@ var script$n = {
|
|
|
3916
3917
|
},
|
|
3917
3918
|
watch: {
|
|
3918
3919
|
externalFiles() {
|
|
3920
|
+
if (!this.externalFiles.length) {
|
|
3921
|
+
return;
|
|
3922
|
+
}
|
|
3923
|
+
|
|
3919
3924
|
if (this.externalFiles.length + this.file.length > this.fileSettings.max) {
|
|
3920
3925
|
this.$emit("reset-file-system");
|
|
3921
3926
|
return this.$toasted.global.defaultInfo({
|
|
@@ -3923,12 +3928,11 @@ var script$n = {
|
|
|
3923
3928
|
});
|
|
3924
3929
|
}
|
|
3925
3930
|
|
|
3926
|
-
this.
|
|
3927
|
-
this.
|
|
3931
|
+
this.externalFilesAux = Array.from(this.externalFiles);
|
|
3932
|
+
this.externalFilesAux.forEach(files => {
|
|
3928
3933
|
this.file.push(files);
|
|
3929
|
-
});
|
|
3930
|
-
|
|
3931
|
-
this.fileSize = this.externalFiles.length;
|
|
3934
|
+
});
|
|
3935
|
+
this.fileSize = this.file.length;
|
|
3932
3936
|
this.multipleFileUpload();
|
|
3933
3937
|
}
|
|
3934
3938
|
|
|
@@ -4375,7 +4379,7 @@ var __vue_staticRenderFns__$n = [];
|
|
|
4375
4379
|
|
|
4376
4380
|
const __vue_inject_styles__$n = function (inject) {
|
|
4377
4381
|
if (!inject) return;
|
|
4378
|
-
inject("data-v-
|
|
4382
|
+
inject("data-v-4b955990_0", {
|
|
4379
4383
|
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}",
|
|
4380
4384
|
map: undefined,
|
|
4381
4385
|
media: undefined
|