@quadrel-enterprise-ui/framework 19.4.0 → 19.4.1
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.
- package/CHANGELOG.md +5 -0
- package/fesm2022/quadrel-enterprise-ui-framework.mjs +8 -6
- package/fesm2022/quadrel-enterprise-ui-framework.mjs.map +1 -1
- package/lib/file-collector/file-collector.component.d.ts.map +1 -1
- package/lib/table/row/selection/table-row-selection.component.d.ts +1 -0
- package/lib/table/row/selection/table-row-selection.component.d.ts.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
## [19.4.1](https://github.com/BAZG-Quadrel/quadrel-framework/compare/v19.4.0...v19.4.1) (2025-12-17)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* table should not propagate click event for selection ([3d65d95](https://github.com/BAZG-Quadrel/quadrel-framework/commit/3d65d95fe8b25085bd55374d6401bb47c42ca31d))
|
|
1
6
|
## [19.4.0](https://github.com/BAZG-Quadrel/quadrel-framework/compare/v19.3.9...v19.4.0) (2025-12-16)
|
|
2
7
|
|
|
3
8
|
### Features
|
|
@@ -19514,8 +19514,6 @@ class QdFileCollectorComponent {
|
|
|
19514
19514
|
}
|
|
19515
19515
|
ngOnInit() {
|
|
19516
19516
|
this.initializeConfig(this.config);
|
|
19517
|
-
this.fileCollectorService.initialize(this.config);
|
|
19518
|
-
this.fileCollectorValidationService.initialize(this.config);
|
|
19519
19517
|
this.initViewMode();
|
|
19520
19518
|
if (this.sectionActionService) {
|
|
19521
19519
|
this._subscriptions.add(this.sectionActionService.action$.pipe(filter(type => type === 'addNew')).subscribe(() => this.clickFileInput()));
|
|
@@ -19523,8 +19521,7 @@ class QdFileCollectorComponent {
|
|
|
19523
19521
|
}
|
|
19524
19522
|
ngOnChanges(changes) {
|
|
19525
19523
|
if (changes['config'] && !changes['config'].firstChange) {
|
|
19526
|
-
this.
|
|
19527
|
-
this.fileCollectorValidationService.initialize(this.config);
|
|
19524
|
+
this.initializeConfig(this.config);
|
|
19528
19525
|
}
|
|
19529
19526
|
}
|
|
19530
19527
|
ngOnDestroy() {
|
|
@@ -19561,6 +19558,8 @@ class QdFileCollectorComponent {
|
|
|
19561
19558
|
config.allowedMimeTypes = this.fileTypeService.getMimeTypes(config.allowedFileTypes);
|
|
19562
19559
|
config.allowedFileNamePattern = this.fileTypeService.getFileNamePattern(config.allowedFileTypes);
|
|
19563
19560
|
}
|
|
19561
|
+
this.fileCollectorService.initialize(this.config);
|
|
19562
|
+
this.fileCollectorValidationService.initialize(this.config);
|
|
19564
19563
|
}
|
|
19565
19564
|
validateConfig(config) {
|
|
19566
19565
|
if (!config)
|
|
@@ -24103,6 +24102,9 @@ class QdTableRowSelectionComponent {
|
|
|
24103
24102
|
isRowSelected$() {
|
|
24104
24103
|
return this.rowSelectionService.isRowSelected$(this.rowIndex);
|
|
24105
24104
|
}
|
|
24105
|
+
stopPropagation(event) {
|
|
24106
|
+
event.stopPropagation();
|
|
24107
|
+
}
|
|
24106
24108
|
handleChange(event) {
|
|
24107
24109
|
if (event.target.checked) {
|
|
24108
24110
|
this.rowSelectionService.setRowSelected(this.rowIndex);
|
|
@@ -24112,11 +24114,11 @@ class QdTableRowSelectionComponent {
|
|
|
24112
24114
|
}
|
|
24113
24115
|
}
|
|
24114
24116
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: QdTableRowSelectionComponent, deps: [{ token: QdTableRowSelectionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
24115
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: QdTableRowSelectionComponent, isStandalone: false, selector: "[qd-table-row-selection]", inputs: { rowIndex: "rowIndex", testId: ["data-test-id", "testId"] }, host: { properties: { "attr.data-test-id": "this.dataTestId" } }, ngImport: i0, template: "<ng-container [ngSwitch]=\"selectionType\">\n <ng-container *ngSwitchCase=\"'singleSelect'\">\n <input\n type=\"radio\"\n [name]=\"'qd-table-selection__' + tableId\"\n [checked]=\"isRowSelected$() | async\"\n (change)=\"handleChange($event)\"\n [attr.data-test-id]=\"testId + '-radio'\"\n />\n </ng-container>\n <ng-container *ngSwitchCase=\"'multiSelect'\">\n <input\n type=\"checkbox\"\n [name]=\"'qd-table-selection__' + tableId\"\n [checked]=\"isRowSelected$() | async\"\n (change)=\"handleChange($event)\"\n [attr.data-test-id]=\"testId + '-checkbox'\"\n />\n </ng-container>\n</ng-container>\n", styles: ["input{cursor:pointer}\n"], dependencies: [{ kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
24117
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: QdTableRowSelectionComponent, isStandalone: false, selector: "[qd-table-row-selection]", inputs: { rowIndex: "rowIndex", testId: ["data-test-id", "testId"] }, host: { properties: { "attr.data-test-id": "this.dataTestId" } }, ngImport: i0, template: "<ng-container [ngSwitch]=\"selectionType\">\n <ng-container *ngSwitchCase=\"'singleSelect'\">\n <input\n type=\"radio\"\n [name]=\"'qd-table-selection__' + tableId\"\n [checked]=\"isRowSelected$() | async\"\n (click)=\"stopPropagation($event)\"\n (change)=\"handleChange($event)\"\n [attr.data-test-id]=\"testId + '-radio'\"\n />\n </ng-container>\n <ng-container *ngSwitchCase=\"'multiSelect'\">\n <input\n type=\"checkbox\"\n [name]=\"'qd-table-selection__' + tableId\"\n [checked]=\"isRowSelected$() | async\"\n (click)=\"stopPropagation($event)\"\n (change)=\"handleChange($event)\"\n [attr.data-test-id]=\"testId + '-checkbox'\"\n />\n </ng-container>\n</ng-container>\n", styles: ["input{cursor:pointer}\n"], dependencies: [{ kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
24116
24118
|
}
|
|
24117
24119
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: QdTableRowSelectionComponent, decorators: [{
|
|
24118
24120
|
type: Component,
|
|
24119
|
-
args: [{ selector: '[qd-table-row-selection]', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<ng-container [ngSwitch]=\"selectionType\">\n <ng-container *ngSwitchCase=\"'singleSelect'\">\n <input\n type=\"radio\"\n [name]=\"'qd-table-selection__' + tableId\"\n [checked]=\"isRowSelected$() | async\"\n (change)=\"handleChange($event)\"\n [attr.data-test-id]=\"testId + '-radio'\"\n />\n </ng-container>\n <ng-container *ngSwitchCase=\"'multiSelect'\">\n <input\n type=\"checkbox\"\n [name]=\"'qd-table-selection__' + tableId\"\n [checked]=\"isRowSelected$() | async\"\n (change)=\"handleChange($event)\"\n [attr.data-test-id]=\"testId + '-checkbox'\"\n />\n </ng-container>\n</ng-container>\n", styles: ["input{cursor:pointer}\n"] }]
|
|
24121
|
+
args: [{ selector: '[qd-table-row-selection]', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<ng-container [ngSwitch]=\"selectionType\">\n <ng-container *ngSwitchCase=\"'singleSelect'\">\n <input\n type=\"radio\"\n [name]=\"'qd-table-selection__' + tableId\"\n [checked]=\"isRowSelected$() | async\"\n (click)=\"stopPropagation($event)\"\n (change)=\"handleChange($event)\"\n [attr.data-test-id]=\"testId + '-radio'\"\n />\n </ng-container>\n <ng-container *ngSwitchCase=\"'multiSelect'\">\n <input\n type=\"checkbox\"\n [name]=\"'qd-table-selection__' + tableId\"\n [checked]=\"isRowSelected$() | async\"\n (click)=\"stopPropagation($event)\"\n (change)=\"handleChange($event)\"\n [attr.data-test-id]=\"testId + '-checkbox'\"\n />\n </ng-container>\n</ng-container>\n", styles: ["input{cursor:pointer}\n"] }]
|
|
24120
24122
|
}], ctorParameters: () => [{ type: QdTableRowSelectionService }], propDecorators: { rowIndex: [{
|
|
24121
24123
|
type: Input
|
|
24122
24124
|
}], testId: [{
|