@solcre-org/core-ui 2.18.0 → 2.18.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.
package/index.d.ts
CHANGED
|
@@ -2037,6 +2037,7 @@ interface TableActionConfig<T = any> {
|
|
|
2037
2037
|
shouldShow?: (row: T) => boolean;
|
|
2038
2038
|
shouldDisable?: (row: T) => boolean;
|
|
2039
2039
|
mobileConfig?: MobileActionConfig;
|
|
2040
|
+
callback?: (row: T) => void;
|
|
2040
2041
|
}
|
|
2041
2042
|
|
|
2042
2043
|
declare class DropdownComponent<T> implements OnDestroy {
|
|
@@ -4088,6 +4089,8 @@ interface NavItem {
|
|
|
4088
4089
|
title?: string;
|
|
4089
4090
|
disabled?: boolean;
|
|
4090
4091
|
hidden?: boolean;
|
|
4092
|
+
customAction?: () => void;
|
|
4093
|
+
cssClass?: string;
|
|
4091
4094
|
}
|
|
4092
4095
|
|
|
4093
4096
|
declare class MainNavService {
|
|
@@ -4155,6 +4158,7 @@ declare class MainNavComponent implements OnChanges, OnInit, OnDestroy {
|
|
|
4155
4158
|
collapsedLogo: _angular_core.InputSignal<string>;
|
|
4156
4159
|
expandedLogo: _angular_core.InputSignal<string>;
|
|
4157
4160
|
onLogout: _angular_core.OutputEmitterRef<void>;
|
|
4161
|
+
onNavItemAction: _angular_core.OutputEmitterRef<NavItem>;
|
|
4158
4162
|
constructor();
|
|
4159
4163
|
get userConfig(): NavUserConfig | undefined;
|
|
4160
4164
|
getCollapsedLogoSrc(): string;
|
|
@@ -4196,6 +4200,8 @@ declare class MainNavComponent implements OnChanges, OnInit, OnDestroy {
|
|
|
4196
4200
|
isParentActive(item: NavItem): boolean;
|
|
4197
4201
|
hasVisibleChildren(item: NavItem): boolean;
|
|
4198
4202
|
private isItemVisible;
|
|
4203
|
+
onNavItemClick(item: NavItem, event?: Event): void;
|
|
4204
|
+
hasCustomAction(item: NavItem): boolean;
|
|
4199
4205
|
logout(): void;
|
|
4200
4206
|
toggleBottomNav(): void;
|
|
4201
4207
|
toggleMobileNav(): void;
|
|
@@ -4207,7 +4213,7 @@ declare class MainNavComponent implements OnChanges, OnInit, OnDestroy {
|
|
|
4207
4213
|
private onResize;
|
|
4208
4214
|
private updateBottomNavActiveState;
|
|
4209
4215
|
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: {}; }]>;
|
|
4216
|
+
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
4217
|
}
|
|
4212
4218
|
|
|
4213
4219
|
declare class LayoutStateService {
|