ngx-wapp-components 3.0.35-alpha.4 → 3.0.36-alpha.1

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.
@@ -9865,6 +9865,7 @@ class WFileUploaderComponent {
9865
9865
  this.base64FileData = { name: "", type: "", fileBase64: "", base64: "" };
9866
9866
  this.onFileData = new EventEmitter();
9867
9867
  this.onErrorHandler = new EventEmitter();
9868
+ this.band = false;
9868
9869
  }
9869
9870
  ngOnInit() {
9870
9871
  this.fileSizeService.init(this.fileUploadConfig.maxSize);
@@ -9878,6 +9879,15 @@ class WFileUploaderComponent {
9878
9879
  }
9879
9880
  }
9880
9881
  onCustomUpload(event) {
9882
+ console.log(event);
9883
+ console.log(this.fileUpload.msgs);
9884
+ if (this.fileUpload.msgs && this.fileUpload.msgs.length > 0) {
9885
+ this.band = true;
9886
+ setTimeout(() => {
9887
+ this.band = false;
9888
+ this.fileUpload.msgs = [];
9889
+ }, 5000);
9890
+ }
9881
9891
  if (event.currentFiles[0]) {
9882
9892
  this.fileSelected = event.currentFiles[0];
9883
9893
  if (this.fileSelected.name.endsWith('.xlsx') || this.fileSelected.name.endsWith('.xls')) {