@six-group/ui-library-angular 0.0.0-insider.8112beb → 0.0.0-insider.82e5ea2

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.
@@ -446,11 +446,11 @@ let SixFileUpload = class SixFileUpload {
446
446
  proxyOutputs(this, this.el, ['six-file-upload-success', 'six-file-upload-failure']);
447
447
  }
448
448
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixFileUpload, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
449
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixFileUpload, selector: "six-file-upload", inputs: { accept: "accept", compact: "compact", disabled: "disabled", label: "label", maxFileSize: "maxFileSize", multiple: "multiple" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
449
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SixFileUpload, selector: "six-file-upload", inputs: { accept: "accept", compact: "compact", disabled: "disabled", label: "label", maxFileSize: "maxFileSize", multiple: "multiple", uploading: "uploading" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
450
450
  };
451
451
  SixFileUpload = __decorate([
452
452
  ProxyCmp({
453
- inputs: ['accept', 'compact', 'disabled', 'label', 'maxFileSize', 'multiple']
453
+ inputs: ['accept', 'compact', 'disabled', 'label', 'maxFileSize', 'multiple', 'uploading']
454
454
  })
455
455
  ], SixFileUpload);
456
456
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SixFileUpload, decorators: [{
@@ -460,7 +460,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
460
460
  changeDetection: ChangeDetectionStrategy.OnPush,
461
461
  template: '<ng-content></ng-content>',
462
462
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
463
- inputs: ['accept', 'compact', 'disabled', 'label', 'maxFileSize', 'multiple'],
463
+ inputs: ['accept', 'compact', 'disabled', 'label', 'maxFileSize', 'multiple', 'uploading'],
464
464
  }]
465
465
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
466
466
  let SixFooter = class SixFooter {
@@ -1471,7 +1471,7 @@ class ValueAccessor {
1471
1471
  return;
1472
1472
  const element = this.el.nativeElement;
1473
1473
  const control = this.ngControl?.control;
1474
- const invalid = !control.valid && control.dirty && control.touched;
1474
+ const invalid = control.status === 'INVALID' && control.dirty && control.touched;
1475
1475
  let errorTexts;
1476
1476
  if (invalid) {
1477
1477
  errorTexts = this.initialErrorText || this.getErrorTexts(control);