@kris701/ez-ui 1.3.9 → 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.
@@ -476,6 +476,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImpor
476
476
  class EzUIFileInput {
477
477
  files = signal([], /* @ts-ignore */
478
478
  ...(ngDevMode ? [{ debugName: "files" }] : /* istanbul ignore next */ []));
479
+ disabled = false;
480
+ accept = "*/*";
479
481
  clear() {
480
482
  this.files.set([]);
481
483
  }
@@ -494,14 +496,15 @@ class EzUIFileInput {
494
496
  }
495
497
  }
496
498
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.0", ngImport: i0, type: EzUIFileInput, deps: [], target: i0.ɵɵFactoryTarget.Component });
497
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.0", type: EzUIFileInput, isStandalone: true, selector: "ezui-fileinput", 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: `
498
500
  <label tuiInputFiles>
499
501
  <input
500
502
  #validator="tuiInputFilesValidator"
501
- accept="*/*"
503
+ [accept]="accept"
502
504
  tuiInputFiles
503
505
  [ngModel]="files()"
504
506
  (ngModelChange)="onChange($event)"
507
+ [disabled]="disabled"
505
508
  />
506
509
  </label>
507
510
 
@@ -525,10 +528,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImpor
525
528
  <label tuiInputFiles>
526
529
  <input
527
530
  #validator="tuiInputFilesValidator"
528
- accept="*/*"
531
+ [accept]="accept"
529
532
  tuiInputFiles
530
533
  [ngModel]="files()"
531
534
  (ngModelChange)="onChange($event)"
535
+ [disabled]="disabled"
532
536
  />
533
537
  </label>
534
538
 
@@ -543,7 +547,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImpor
543
547
  </tui-files>
544
548
  `
545
549
  }]
546
- }] });
550
+ }], propDecorators: { disabled: [{
551
+ type: Input
552
+ }], accept: [{
553
+ type: Input
554
+ }] } });
547
555
 
548
556
  const lucideicons = [
549
557
  'a-arrow-down',