@coolon/angular-ui-powerups 14.43.0 → 14.44.0
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/interaction/components/input-activities/input-activity.mjs +8 -2
- package/esm2020/lib/interaction/components/input-activities/select-input-activity.mjs +1 -1
- package/fesm2015/coolon-angular-ui-powerups.mjs +8 -1
- package/fesm2015/coolon-angular-ui-powerups.mjs.map +1 -1
- package/fesm2020/coolon-angular-ui-powerups.mjs +7 -1
- package/fesm2020/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/interaction/components/input-activities/input-activity.d.ts +2 -0
- package/package.json +2 -2
|
@@ -9379,6 +9379,9 @@ class InputActivity extends Activity {
|
|
|
9379
9379
|
get additionalCssClassName() {
|
|
9380
9380
|
return this.activityData.cssClassName ?? '';
|
|
9381
9381
|
}
|
|
9382
|
+
get dataCyAttribute() {
|
|
9383
|
+
return this.activityData.dataCy ?? '';
|
|
9384
|
+
}
|
|
9382
9385
|
onEscape() {
|
|
9383
9386
|
if (this.shouldCancelOnEscape() && this.cancelCommand.enabled$.value) {
|
|
9384
9387
|
this.cancelCommand.execute();
|
|
@@ -9390,7 +9393,7 @@ class InputActivity extends Activity {
|
|
|
9390
9393
|
}
|
|
9391
9394
|
}
|
|
9392
9395
|
InputActivity.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: InputActivity, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9393
|
-
InputActivity.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: InputActivity, selector: "ng-component", inputs: { layout: "layout" }, host: { listeners: { "keydown.escape": "onEscape()" }, properties: { "class": "this.additionalCssClassName", "attr.layout": "this.layout" } }, usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
9396
|
+
InputActivity.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: InputActivity, selector: "ng-component", inputs: { layout: "layout" }, host: { listeners: { "keydown.escape": "onEscape()" }, properties: { "class": "this.additionalCssClassName", "attr.layout": "this.layout", "attr.data-cy": "this.dataCyAttribute" } }, usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
9394
9397
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: InputActivity, decorators: [{
|
|
9395
9398
|
type: Component,
|
|
9396
9399
|
args: [{ template: `` }]
|
|
@@ -9405,6 +9408,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
9405
9408
|
}], additionalCssClassName: [{
|
|
9406
9409
|
type: HostBinding,
|
|
9407
9410
|
args: ["class"]
|
|
9411
|
+
}], dataCyAttribute: [{
|
|
9412
|
+
type: HostBinding,
|
|
9413
|
+
args: ["attr.data-cy"]
|
|
9408
9414
|
}], onEscape: [{
|
|
9409
9415
|
type: HostListener,
|
|
9410
9416
|
args: ['keydown.escape']
|