@kris701/ez-ui 1.3.9 → 1.3.10
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,7 @@ 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;
|
|
479
480
|
clear() {
|
|
480
481
|
this.files.set([]);
|
|
481
482
|
}
|
|
@@ -494,7 +495,7 @@ class EzUIFileInput {
|
|
|
494
495
|
}
|
|
495
496
|
}
|
|
496
497
|
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: `
|
|
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: `
|
|
498
499
|
<label tuiInputFiles>
|
|
499
500
|
<input
|
|
500
501
|
#validator="tuiInputFilesValidator"
|
|
@@ -502,6 +503,7 @@ class EzUIFileInput {
|
|
|
502
503
|
tuiInputFiles
|
|
503
504
|
[ngModel]="files()"
|
|
504
505
|
(ngModelChange)="onChange($event)"
|
|
506
|
+
[disabled]="disabled"
|
|
505
507
|
/>
|
|
506
508
|
</label>
|
|
507
509
|
|
|
@@ -529,6 +531,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImpor
|
|
|
529
531
|
tuiInputFiles
|
|
530
532
|
[ngModel]="files()"
|
|
531
533
|
(ngModelChange)="onChange($event)"
|
|
534
|
+
[disabled]="disabled"
|
|
532
535
|
/>
|
|
533
536
|
</label>
|
|
534
537
|
|
|
@@ -543,7 +546,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImpor
|
|
|
543
546
|
</tui-files>
|
|
544
547
|
`
|
|
545
548
|
}]
|
|
546
|
-
}]
|
|
549
|
+
}], propDecorators: { disabled: [{
|
|
550
|
+
type: Input
|
|
551
|
+
}] } });
|
|
547
552
|
|
|
548
553
|
const lucideicons = [
|
|
549
554
|
'a-arrow-down',
|