@db-ux/ngx-core-components 2.4.1 → 2.4.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.
|
@@ -30,7 +30,7 @@ export declare class DBNavigationItem implements AfterViewInit {
|
|
|
30
30
|
autoClose: import("@angular/core").WritableSignal<boolean | undefined>;
|
|
31
31
|
subNavigationId: import("@angular/core").WritableSignal<string>;
|
|
32
32
|
navigationItemSafeTriangle: import("@angular/core").WritableSignal<NavigationItemSafeTriangle | undefined>;
|
|
33
|
-
handleNavigationItemClick(event:
|
|
33
|
+
handleNavigationItemClick(event: any): void;
|
|
34
34
|
handleClick(event: ClickEvent<HTMLButtonElement> | any): void;
|
|
35
35
|
handleBackClick(event: ClickEvent<HTMLButtonElement> | any): void;
|
|
36
36
|
constructor();
|
|
@@ -5095,11 +5095,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
5095
5095
|
const defaultProps$d = {};
|
|
5096
5096
|
class DBNavigationItem {
|
|
5097
5097
|
handleNavigationItemClick(event) {
|
|
5098
|
-
if (
|
|
5098
|
+
if (event?.target?.nodeName === "A") {
|
|
5099
5099
|
this.autoClose.set(true);
|
|
5100
|
-
delay(() => {
|
|
5100
|
+
void delay(() => {
|
|
5101
5101
|
this.autoClose.set(false);
|
|
5102
|
-
},
|
|
5102
|
+
}, 1000);
|
|
5103
5103
|
}
|
|
5104
5104
|
}
|
|
5105
5105
|
handleClick(event) {
|
|
@@ -5246,7 +5246,7 @@ class DBNavigationItem {
|
|
|
5246
5246
|
</button>
|
|
5247
5247
|
<menu
|
|
5248
5248
|
class="db-sub-navigation"
|
|
5249
|
-
[attr.data-
|
|
5249
|
+
[attr.data-force-close]="autoClose()"
|
|
5250
5250
|
[attr.id]="subNavigationId()"
|
|
5251
5251
|
(click)="handleNavigationItemClick($event)"
|
|
5252
5252
|
>
|
|
@@ -5301,7 +5301,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
5301
5301
|
</button>
|
|
5302
5302
|
<menu
|
|
5303
5303
|
class="db-sub-navigation"
|
|
5304
|
-
[attr.data-
|
|
5304
|
+
[attr.data-force-close]="autoClose()"
|
|
5305
5305
|
[attr.id]="subNavigationId()"
|
|
5306
5306
|
(click)="handleNavigationItemClick($event)"
|
|
5307
5307
|
>
|