chrv-components 1.12.237 → 1.12.239
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.
|
Binary file
|
|
@@ -4812,7 +4812,11 @@ class ChrFileInputComponent extends ChrInputComponent {
|
|
|
4812
4812
|
toObservable(this.files)
|
|
4813
4813
|
.pipe(startWith([]), distinctUntilChanged())
|
|
4814
4814
|
.subscribe((f) => {
|
|
4815
|
-
this.onChange(f.length > 0
|
|
4815
|
+
this.onChange(f.length > 0
|
|
4816
|
+
? this.multiple()
|
|
4817
|
+
? f.map((f) => f.file)
|
|
4818
|
+
: f[0].file
|
|
4819
|
+
: null);
|
|
4816
4820
|
});
|
|
4817
4821
|
}
|
|
4818
4822
|
ngOnInit() {
|
|
@@ -8838,11 +8842,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
|
|
|
8838
8842
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: true }] }], layout: [{ type: i0.Input, args: [{ isSignal: true, alias: "layout", required: false }] }], page: [{ type: i0.Input, args: [{ isSignal: true, alias: "page", required: false }] }, { type: i0.Output, args: ["pageChange"] }], pageSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "pageSize", required: false }] }, { type: i0.Output, args: ["pageSizeChange"] }], captionTemplate: [{ type: i0.ContentChild, args: ['caption', { isSignal: true }] }], headerTemplate: [{ type: i0.ContentChild, args: ['header', { isSignal: true }] }], rowTemplate: [{ type: i0.ContentChild, args: ['row', { isSignal: true }] }], actionsTemplate: [{ type: i0.ContentChild, args: ['actions', { isSignal: true }] }] } });
|
|
8839
8843
|
class ChrSimpleTableActions {
|
|
8840
8844
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ChrSimpleTableActions, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8841
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: ChrSimpleTableActions, isStandalone: true, selector: "chr-table-actions", ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, styles: [":host{display:flex;flex-direction:row;justify-content:end;gap:.25rem;align-items:center}\n"]
|
|
8845
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: ChrSimpleTableActions, isStandalone: true, selector: "chr-table-actions", ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, styles: [":host{display:flex;flex-direction:row;justify-content:end;gap:.25rem;align-items:center}\n"] }); }
|
|
8842
8846
|
}
|
|
8843
8847
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: ChrSimpleTableActions, decorators: [{
|
|
8844
8848
|
type: Component,
|
|
8845
|
-
args: [{ selector: 'chr-table-actions', imports: [], template: `<ng-content></ng-content>`,
|
|
8849
|
+
args: [{ selector: 'chr-table-actions', imports: [], template: `<ng-content></ng-content>`, styles: [":host{display:flex;flex-direction:row;justify-content:end;gap:.25rem;align-items:center}\n"] }]
|
|
8846
8850
|
}] });
|
|
8847
8851
|
|
|
8848
8852
|
class TabToEnterHandlerDirective {
|