@smartbit4all/ng-client 4.2.157 → 4.2.159

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.
@@ -6491,7 +6491,7 @@ class SmartfileuploaderComponent {
6491
6491
  hasError = true;
6492
6492
  }
6493
6493
  }
6494
- if (file.size > this.maxSizeMb * 1000000) {
6494
+ if (file.size > this.maxSizeMb * 1024 * 1024) {
6495
6495
  this.errors.push(`"${file.name}" - túl nagy fájl (max ${this.maxSizeMb} MB)`);
6496
6496
  hasError = true;
6497
6497
  }
@@ -7697,7 +7697,7 @@ class SmartformwidgetComponent {
7697
7697
  this.addOnBlur = true;
7698
7698
  this.separatorKeysCodes = [ENTER, COMMA];
7699
7699
  this.emptySeparatorKeysCodes = [];
7700
- this.dorpdownOpening = false;
7700
+ this.dorpdownOpening = true;
7701
7701
  this.calendarOpening = false;
7702
7702
  }
7703
7703
  ngOnInit() {
@@ -21974,7 +21974,7 @@ class SmartComponentApiClient {
21974
21974
  await this.viewContext.performUploadAction(this.uuid, uiActionRequest, param, files[0]);
21975
21975
  }
21976
21976
  else if (uploadDescriptor != null && uploadDescriptor != undefined) {
21977
- let maxBatchFilesSize = uploadDescriptor.maxSize * 1000000;
21977
+ let maxBatchFilesSize = uploadDescriptor.maxSize * 1024 * 1024;
21978
21978
  let maxBatchSize = uploadDescriptor.maxBatchSize;
21979
21979
  let currentBatchSize = 0;
21980
21980
  let currentBatch = [];