@kris701/ez-ui 1.3.10 → 1.3.11

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.
@@ -477,6 +477,7 @@ class EzUIFileInput {
477
477
  files = signal([], /* @ts-ignore */
478
478
  ...(ngDevMode ? [{ debugName: "files" }] : /* istanbul ignore next */ []));
479
479
  disabled = false;
480
+ accept = "*/*";
480
481
  clear() {
481
482
  this.files.set([]);
482
483
  }
@@ -495,11 +496,11 @@ class EzUIFileInput {
495
496
  }
496
497
  }
497
498
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.0", ngImport: i0, type: EzUIFileInput, deps: [], target: i0.ɵɵFactoryTarget.Component });
498
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.0", type: EzUIFileInput, isStandalone: true, selector: "ezui-fileinput", inputs: { disabled: "disabled" }, ngImport: i0, template: `
499
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.0", type: EzUIFileInput, isStandalone: true, selector: "ezui-fileinput", inputs: { disabled: "disabled", accept: "accept" }, ngImport: i0, template: `
499
500
  <label tuiInputFiles>
500
501
  <input
501
502
  #validator="tuiInputFilesValidator"
502
- accept="*/*"
503
+ [accept]="accept"
503
504
  tuiInputFiles
504
505
  [ngModel]="files()"
505
506
  (ngModelChange)="onChange($event)"
@@ -527,7 +528,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImpor
527
528
  <label tuiInputFiles>
528
529
  <input
529
530
  #validator="tuiInputFilesValidator"
530
- accept="*/*"
531
+ [accept]="accept"
531
532
  tuiInputFiles
532
533
  [ngModel]="files()"
533
534
  (ngModelChange)="onChange($event)"
@@ -548,6 +549,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImpor
548
549
  }]
549
550
  }], propDecorators: { disabled: [{
550
551
  type: Input
552
+ }], accept: [{
553
+ type: Input
551
554
  }] } });
552
555
 
553
556
  const lucideicons = [