@coolon/angular-ui-powerups 14.14.1 → 14.14.2
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/esm2020/lib/components/tables/renderer/selection-cell/selection-cell.component.mjs +6 -4
- package/fesm2015/coolon-angular-ui-powerups.mjs +5 -3
- package/fesm2015/coolon-angular-ui-powerups.mjs.map +1 -1
- package/fesm2020/coolon-angular-ui-powerups.mjs +5 -3
- package/fesm2020/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/components/tables/renderer/selection-cell/selection-cell.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -3028,7 +3028,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImpor
|
|
|
3028
3028
|
}] } });
|
|
3029
3029
|
|
|
3030
3030
|
class SelectionCellComponent extends DisposableComponent {
|
|
3031
|
-
select() {
|
|
3031
|
+
select($event) {
|
|
3032
|
+
$event.preventDefault();
|
|
3033
|
+
$event.stopPropagation();
|
|
3032
3034
|
if (this.selectionModel) {
|
|
3033
3035
|
this.selectionModel.selectCommand.execute(this.row);
|
|
3034
3036
|
}
|
|
@@ -3041,10 +3043,10 @@ class SelectionCellComponent extends DisposableComponent {
|
|
|
3041
3043
|
}
|
|
3042
3044
|
}
|
|
3043
3045
|
SelectionCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: SelectionCellComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3044
|
-
SelectionCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.2", type: SelectionCellComponent, selector: "aup-selection-cell", inputs: { row: "row" }, usesInheritance: true, ngImport: i0, template: "<mat-checkbox (click)=\"select()\" [checked]=\"isSelected()\" [color]=\"color\"></mat-checkbox>\n", styles: [""], dependencies: [{ kind: "component", type: i4$2.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }] });
|
|
3046
|
+
SelectionCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.2", type: SelectionCellComponent, selector: "aup-selection-cell", inputs: { row: "row" }, usesInheritance: true, ngImport: i0, template: "<mat-checkbox (click)=\"select($event)\" [checked]=\"isSelected()\" [color]=\"color\"></mat-checkbox>\n", styles: [""], dependencies: [{ kind: "component", type: i4$2.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }] });
|
|
3045
3047
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: SelectionCellComponent, decorators: [{
|
|
3046
3048
|
type: Component,
|
|
3047
|
-
args: [{ selector: 'aup-selection-cell', template: "<mat-checkbox (click)=\"select()\" [checked]=\"isSelected()\" [color]=\"color\"></mat-checkbox>\n" }]
|
|
3049
|
+
args: [{ selector: 'aup-selection-cell', template: "<mat-checkbox (click)=\"select($event)\" [checked]=\"isSelected()\" [color]=\"color\"></mat-checkbox>\n" }]
|
|
3048
3050
|
}], propDecorators: { row: [{
|
|
3049
3051
|
type: Input
|
|
3050
3052
|
}] } });
|