vue-intergrall-plugins 0.0.218 → 0.0.221

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.
@@ -3540,7 +3540,8 @@ var script$n = {
3540
3540
  isDoc: false,
3541
3541
  fileFormatError: false,
3542
3542
  validFileFormats: "",
3543
- hasAnyFile: false
3543
+ hasAnyFile: false,
3544
+ externalFilesAux: []
3544
3545
  };
3545
3546
  },
3546
3547
  computed: {
@@ -3555,9 +3556,7 @@ var script$n = {
3555
3556
  externalFiles: function externalFiles() {
3556
3557
  var _this = this;
3557
3558
 
3558
- if (!this.externalFiles.length) {
3559
- return;
3560
- }
3559
+ if (!this.externalFiles.length) return;
3561
3560
 
3562
3561
  if (this.externalFiles.length + this.file.length > this.fileSettings.max) {
3563
3562
  this.$emit("reset-file-system");
@@ -3566,13 +3565,11 @@ var script$n = {
3566
3565
  });
3567
3566
  }
3568
3567
 
3569
- this.externalFiles = Array.from(this.externalFiles);
3570
- this.externalFiles.forEach(function (files) {
3568
+ this.externalFilesAux = Array.from(this.externalFiles);
3569
+ this.externalFilesAux.forEach(function (files) {
3571
3570
  _this.file.push(files);
3572
- }); // this.file = this.externalFiles
3573
-
3574
- console.log(this.file);
3575
- this.fileSize = this.externalFiles.length;
3571
+ });
3572
+ this.fileSize = this.file.length;
3576
3573
  this.multipleFileUpload();
3577
3574
  }
3578
3575
  },
@@ -3976,7 +3973,7 @@ var __vue_staticRenderFns__$n = [];
3976
3973
 
3977
3974
  var __vue_inject_styles__$n = function __vue_inject_styles__(inject) {
3978
3975
  if (!inject) return;
3979
- inject("data-v-7aef3103_0", {
3976
+ inject("data-v-71c7f64d_0", {
3980
3977
  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}",
3981
3978
  map: undefined,
3982
3979
  media: undefined
@@ -3988,7 +3985,7 @@ var __vue_inject_styles__$n = function __vue_inject_styles__(inject) {
3988
3985
  var __vue_scope_id__$n = undefined;
3989
3986
  /* module identifier */
3990
3987
 
3991
- var __vue_module_identifier__$n = "data-v-7aef3103";
3988
+ var __vue_module_identifier__$n = "data-v-71c7f64d";
3992
3989
  /* functional template */
3993
3990
 
3994
3991
  var __vue_is_functional_template__$n = false;
@@ -8224,7 +8221,7 @@ var __vue_render__$k = function __vue_render__() {
8224
8221
  "name": "fade",
8225
8222
  "mode": "out-in"
8226
8223
  }
8227
- }, [_vm.formatted_messages_3.length && _vm.key_2 ? _c('div', {
8224
+ }, [_vm.formatted_messages_3.length && _vm.key_2 && _vm.formatted_messages_2.length && _vm.key_1 ? _c('div', {
8228
8225
  staticClass: "text-footer-select-03"
8229
8226
  }, [_c('v-select', {
8230
8227
  staticClass: "text-footer-v-select",
@@ -8266,7 +8263,7 @@ var __vue_staticRenderFns__$k = [];
8266
8263
 
8267
8264
  var __vue_inject_styles__$k = function __vue_inject_styles__(inject) {
8268
8265
  if (!inject) return;
8269
- inject("data-v-324084df_0", {
8266
+ inject("data-v-2cce8220_0", {
8270
8267
  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}",
8271
8268
  map: undefined,
8272
8269
  media: undefined
@@ -8278,7 +8275,7 @@ var __vue_inject_styles__$k = function __vue_inject_styles__(inject) {
8278
8275
  var __vue_scope_id__$k = undefined;
8279
8276
  /* module identifier */
8280
8277
 
8281
- var __vue_module_identifier__$k = "data-v-324084df";
8278
+ var __vue_module_identifier__$k = "data-v-2cce8220";
8282
8279
  /* functional template */
8283
8280
 
8284
8281
  var __vue_is_functional_template__$k = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-intergrall-plugins",
3
- "version": "0.0.218",
3
+ "version": "0.0.221",
4
4
  "description": "",
5
5
  "main": "dist/vue-intergrall-plugins.ssr.js",
6
6
  "browser": "dist/vue-intergrall-plugins.esm.js",
@@ -137,7 +137,8 @@ export default {
137
137
  isDoc: false,
138
138
  fileFormatError: false,
139
139
  validFileFormats: "",
140
- hasAnyFile: false
140
+ hasAnyFile: false,
141
+ externalFilesAux: [],
141
142
  }
142
143
  },
143
144
  computed: {
@@ -150,20 +151,16 @@ export default {
150
151
  },
151
152
  watch: {
152
153
  externalFiles() {
153
- if(!this.externalFiles.length){
154
- return;
155
- }
154
+ if(!this.externalFiles.length) return
156
155
  if(this.externalFiles.length + this.file.length > this.fileSettings.max) {
157
156
  this.$emit("reset-file-system")
158
157
  return this.$toasted.global.defaultInfo({ msg: `Limite de ${this.fileSettings.max} arquivos` })
159
158
  }
160
- this.externalFiles = Array.from(this.externalFiles)
161
- this.externalFiles.forEach(files => {
159
+ this.externalFilesAux = Array.from(this.externalFiles)
160
+ this.externalFilesAux.forEach(files => {
162
161
  this.file.push(files)
163
162
  });
164
- // this.file = this.externalFiles
165
- console.log(this.file);
166
- this.fileSize = this.externalFiles.length
163
+ this.fileSize = this.file.length
167
164
  this.multipleFileUpload()
168
165
  }
169
166
  },
@@ -22,7 +22,7 @@
22
22
  </div>
23
23
  </transition>
24
24
  <transition name="fade" mode="out-in">
25
- <div class="text-footer-select-03" v-if="formatted_messages_3.length && key_2">
25
+ <div class="text-footer-select-03" v-if="formatted_messages_3.length && key_2 && formatted_messages_2.length && key_1">
26
26
  <v-select
27
27
  :style="`background-color: ${backgroundColor}`"
28
28
  appendToBody