@solcre-org/core-ui 2.18.0 → 2.18.1
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/index.d.ts
CHANGED
|
@@ -4088,6 +4088,8 @@ interface NavItem {
|
|
|
4088
4088
|
title?: string;
|
|
4089
4089
|
disabled?: boolean;
|
|
4090
4090
|
hidden?: boolean;
|
|
4091
|
+
customAction?: () => void;
|
|
4092
|
+
cssClass?: string;
|
|
4091
4093
|
}
|
|
4092
4094
|
|
|
4093
4095
|
declare class MainNavService {
|
|
@@ -4155,6 +4157,7 @@ declare class MainNavComponent implements OnChanges, OnInit, OnDestroy {
|
|
|
4155
4157
|
collapsedLogo: _angular_core.InputSignal<string>;
|
|
4156
4158
|
expandedLogo: _angular_core.InputSignal<string>;
|
|
4157
4159
|
onLogout: _angular_core.OutputEmitterRef<void>;
|
|
4160
|
+
onNavItemAction: _angular_core.OutputEmitterRef<NavItem>;
|
|
4158
4161
|
constructor();
|
|
4159
4162
|
get userConfig(): NavUserConfig | undefined;
|
|
4160
4163
|
getCollapsedLogoSrc(): string;
|
|
@@ -4196,6 +4199,8 @@ declare class MainNavComponent implements OnChanges, OnInit, OnDestroy {
|
|
|
4196
4199
|
isParentActive(item: NavItem): boolean;
|
|
4197
4200
|
hasVisibleChildren(item: NavItem): boolean;
|
|
4198
4201
|
private isItemVisible;
|
|
4202
|
+
onNavItemClick(item: NavItem, event?: Event): void;
|
|
4203
|
+
hasCustomAction(item: NavItem): boolean;
|
|
4199
4204
|
logout(): void;
|
|
4200
4205
|
toggleBottomNav(): void;
|
|
4201
4206
|
toggleMobileNav(): void;
|
|
@@ -4207,7 +4212,7 @@ declare class MainNavComponent implements OnChanges, OnInit, OnDestroy {
|
|
|
4207
4212
|
private onResize;
|
|
4208
4213
|
private updateBottomNavActiveState;
|
|
4209
4214
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MainNavComponent, never>;
|
|
4210
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MainNavComponent, "core-main-nav", never, { "navConfig": { "alias": "navConfig"; "required": false; "isSignal": true; }; "appVersion": { "alias": "appVersion"; "required": false; "isSignal": true; }; "navItems": { "alias": "navItems"; "required": false; "isSignal": true; }; "bottomNavItems": { "alias": "bottomNavItems"; "required": false; "isSignal": true; }; "isProduction": { "alias": "isProduction"; "required": false; "isSignal": true; }; "logoImagesConfig": { "alias": "logoImagesConfig"; "required": false; "isSignal": true; }; "collapsedLogo": { "alias": "collapsedLogo"; "required": false; "isSignal": true; }; "expandedLogo": { "alias": "expandedLogo"; "required": false; "isSignal": true; }; }, { "onLogout": "onLogout"; }, never, never, true, [{ directive: typeof CoreHostDirective; inputs: {}; outputs: {}; }]>;
|
|
4215
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MainNavComponent, "core-main-nav", never, { "navConfig": { "alias": "navConfig"; "required": false; "isSignal": true; }; "appVersion": { "alias": "appVersion"; "required": false; "isSignal": true; }; "navItems": { "alias": "navItems"; "required": false; "isSignal": true; }; "bottomNavItems": { "alias": "bottomNavItems"; "required": false; "isSignal": true; }; "isProduction": { "alias": "isProduction"; "required": false; "isSignal": true; }; "logoImagesConfig": { "alias": "logoImagesConfig"; "required": false; "isSignal": true; }; "collapsedLogo": { "alias": "collapsedLogo"; "required": false; "isSignal": true; }; "expandedLogo": { "alias": "expandedLogo"; "required": false; "isSignal": true; }; }, { "onLogout": "onLogout"; "onNavItemAction": "onNavItemAction"; }, never, never, true, [{ directive: typeof CoreHostDirective; inputs: {}; outputs: {}; }]>;
|
|
4211
4216
|
}
|
|
4212
4217
|
|
|
4213
4218
|
declare class LayoutStateService {
|