@mtna/web-form-angular 1.0.6-SNAPSHOT.14 → 1.0.6-SNAPSHOT.15
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/bundles/mtna-web-form-angular.umd.js +6 -2
- package/bundles/mtna-web-form-angular.umd.js.map +1 -1
- package/esm2015/lib/components/step-card/step-card.component.js +8 -3
- package/fesm2015/mtna-web-form-angular.js +6 -2
- package/fesm2015/mtna-web-form-angular.js.map +1 -1
- package/package.json +1 -1
|
@@ -7588,7 +7588,7 @@
|
|
|
7588
7588
|
Object.defineProperty(MtnaWfStepCardComponent.prototype, "active", {
|
|
7589
7589
|
get: function () {
|
|
7590
7590
|
var _a;
|
|
7591
|
-
return !!((_a = this.step) === null || _a === void 0 ? void 0 : _a.active);
|
|
7591
|
+
return !!((_a = this.step) === null || _a === void 0 ? void 0 : _a.active) || this.mouseFocused;
|
|
7592
7592
|
},
|
|
7593
7593
|
enumerable: false,
|
|
7594
7594
|
configurable: true
|
|
@@ -7598,6 +7598,7 @@
|
|
|
7598
7598
|
this.mouseFocused = true;
|
|
7599
7599
|
};
|
|
7600
7600
|
MtnaWfStepCardComponent.prototype.handleMouseLeave = function (event) {
|
|
7601
|
+
this.handleFocusChange(null);
|
|
7601
7602
|
this.mouseFocused = false;
|
|
7602
7603
|
};
|
|
7603
7604
|
Object.defineProperty(MtnaWfStepCardComponent.prototype, "step", {
|
|
@@ -7612,9 +7613,12 @@
|
|
|
7612
7613
|
configurable: true
|
|
7613
7614
|
});
|
|
7614
7615
|
MtnaWfStepCardComponent.prototype.handleFocusChange = function (event) {
|
|
7615
|
-
if (!!this.step &&
|
|
7616
|
+
if (!!this.step && coreTs.isPresent(event)) {
|
|
7616
7617
|
this.focused.emit(this.step);
|
|
7617
7618
|
}
|
|
7619
|
+
else if (!coreTs.isPresent(event)) {
|
|
7620
|
+
this.focused.emit(undefined);
|
|
7621
|
+
}
|
|
7618
7622
|
};
|
|
7619
7623
|
return MtnaWfStepCardComponent;
|
|
7620
7624
|
}(_StepCardMixinBase));
|