vue-intergrall-plugins 0.0.209 → 0.0.210

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.
@@ -143,7 +143,7 @@ export default {
143
143
  },
144
144
  fileSettings: {
145
145
  type: Object,
146
- default: () => { return { docsExtensions: "", imagesExtensions: "", multiple: false, systemButton: false } },
146
+ default: () => { return { docsExtensions: "", imagesExtensions: "", multiple: false, systemButton: false, max: 3 } },
147
147
  required: false
148
148
  },
149
149
  textId: {
@@ -211,7 +211,7 @@ export default {
211
211
  if(event.data == '' && this.showStandardMessages){
212
212
  this.closeBlockerStandardMessage()
213
213
  this.toggleStandardMessages()
214
- this.$toasted.global.emConstrucao({msg: this.dictionary.msg_erro_sem_msg_formatada})
214
+ this.$toasted.global.defaultInfo({msg: this.dictionary.msg_erro_sem_msg_formatada})
215
215
  }else if(typeof event.data === "string" && this.showStandardMessages){
216
216
  this.message = event.data
217
217
  this.focusTextarea()
@@ -383,13 +383,14 @@ export default {
383
383
  this.audioSource = ""
384
384
  },
385
385
  returnFileType(file, stopAlert) {
386
+ if(!this.fileSettings.imagesExtensions && !this.fileSettings.docsExtensions) return false
386
387
  const imgRegex = new RegExp("\.("+this.fileSettings.imagesExtensions+")", "i")
387
388
  if(imgRegex.test(file.name)) return "img"
388
389
 
389
390
  const docRegex = new RegExp("\.("+this.fileSettings.docsExtensions+")", "i")
390
391
  if(docRegex.test(file.name)) return "doc"
391
392
 
392
- if(!stopAlert) return
393
+ if(!stopAlert) return false
393
394
  if (!document.querySelector(".toasted.toasted-primary.error")) this.$toasted.global.defaultError({ msg: this.dictionary.msg_formato_invalido })
394
395
  const str = {
395
396
  img: this.fileSettings.imagesExtensions.split("|").join(", "),
@@ -717,6 +718,7 @@ ul {
717
718
  }
718
719
 
719
720
  .text-footer-container .text-footer-preview-container {
721
+ width: 100%;
720
722
  cursor: default;
721
723
  position: absolute;
722
724
  left: 0;