@seniorsistemas/angular-components 17.31.13 → 17.31.14
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/seniorsistemas-angular-components.umd.js +2 -1
- package/bundles/seniorsistemas-angular-components.umd.js.map +1 -1
- package/bundles/seniorsistemas-angular-components.umd.min.js +1 -1
- package/bundles/seniorsistemas-angular-components.umd.min.js.map +1 -1
- package/esm2015/components/tiered-menu/components/tiered-menu/tiered-menu.component.js +3 -2
- package/esm5/components/tiered-menu/components/tiered-menu/tiered-menu.component.js +3 -2
- package/fesm2015/seniorsistemas-angular-components.js +2 -1
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +2 -1
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
|
@@ -2827,7 +2827,7 @@
|
|
|
2827
2827
|
break;
|
|
2828
2828
|
case " ":
|
|
2829
2829
|
case "Enter":
|
|
2830
|
-
if (!this.tieredMenuService.currentItem.disabled) {
|
|
2830
|
+
if (!this.tieredMenuService.currentItem.disabled && this.items.includes(this.tieredMenuService.currentItem)) {
|
|
2831
2831
|
this._tieredMenuEventService.selectItemEvent.emit(this.tieredMenuService.currentItem);
|
|
2832
2832
|
}
|
|
2833
2833
|
break;
|
|
@@ -2859,6 +2859,7 @@
|
|
|
2859
2859
|
};
|
|
2860
2860
|
TieredMenuComponent.prototype.ngOnInit = function () {
|
|
2861
2861
|
this.tieredMenuService.currentItems = this.items;
|
|
2862
|
+
this.tieredMenuService.currentItem = this.items[0];
|
|
2862
2863
|
this._subscribeEvents();
|
|
2863
2864
|
disabledScroll();
|
|
2864
2865
|
};
|