@volo/ngx-lepton-x.core 4.2.0 → 4.3.0-rc.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/fesm2022/volo-ngx-lepton-x.core.mjs +87 -57
- package/fesm2022/volo-ngx-lepton-x.core.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/lib/components/brand-logo/brand-logo.component.d.ts +6 -1
- package/lib/components/navbar/navbar-routes/navbar-routes.component.d.ts +4 -5
- package/lib/enums/index.d.ts +1 -0
- package/lib/enums/layouts.d.ts +4 -0
- package/lib/providers/index.d.ts +1 -0
- package/lib/providers/logo.provider.d.ts +11 -0
- package/lib/tokens/index.d.ts +1 -0
- package/lib/tokens/logo.token.d.ts +3 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from './lib/lepton-x-core.module';
|
|
|
2
2
|
export * from './lib/consts/index';
|
|
3
3
|
export * from './lib/components/index';
|
|
4
4
|
export * from './lib/directives/index';
|
|
5
|
+
export * from './lib/enums/index';
|
|
5
6
|
export * from './lib/models/index';
|
|
6
7
|
export * from './lib/pipes/index';
|
|
7
8
|
export * from './lib/providers/index';
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
+
import { layouts } from '../../enums';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class BrandLogoComponent {
|
|
4
|
+
layout: import("@angular/core").InputSignal<layouts>;
|
|
5
|
+
layoutOptions: typeof layouts;
|
|
6
|
+
protected readonly logoUrl: string | null;
|
|
7
|
+
protected readonly appName: string;
|
|
3
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<BrandLogoComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BrandLogoComponent, "lpx-brand-logo", never, {}, {}, never, never, false, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BrandLogoComponent, "lpx-brand-logo", never, { "layout": { "alias": "layout"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
5
10
|
}
|
|
@@ -7,21 +7,20 @@ export type NavbarGroupItemsType = GroupedNavbarItems[] | null | undefined;
|
|
|
7
7
|
export declare class NavbarRoutesComponent {
|
|
8
8
|
protected readonly injector: Injector;
|
|
9
9
|
protected readonly routesService: RoutesService;
|
|
10
|
-
readonly
|
|
10
|
+
private readonly _sourceItems;
|
|
11
11
|
set navbarItems(value: NavbarItemsType);
|
|
12
|
+
get navbarItems(): NavbarItemsType;
|
|
13
|
+
private readonly _processedItems;
|
|
12
14
|
groupedItems: NavbarGroupItemsType;
|
|
13
15
|
routerItem: import("@angular/core").InputSignal<boolean | undefined>;
|
|
14
16
|
routeClick: EventEmitter<LpxNavbarItem>;
|
|
15
17
|
private get itemsFromGroup();
|
|
16
|
-
constructor();
|
|
17
18
|
private isExpandedOrSelected;
|
|
18
19
|
onSubnavbarExpand(menuItem: LpxNavbarItem, menuItems: NavbarItemsType): void;
|
|
19
20
|
onRouteClick(menuItem: LpxNavbarItem, menuItems: NavbarItemsType): void;
|
|
20
21
|
checkChildrenIncludesItem(item: LpxNavbarItem, menuItem: LpxNavbarItem): boolean;
|
|
21
22
|
flatChildren(menuItems: NavbarItemsType): LpxNavbarItem[];
|
|
22
|
-
|
|
23
|
-
fixNavbarItems(currentUrl: string, items: LpxNavbarItem[]): void;
|
|
24
|
-
hasUrlInChildren(item: LpxNavbarItem, url: string): boolean;
|
|
23
|
+
private fixNavbarItems;
|
|
25
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavbarRoutesComponent, never>;
|
|
26
25
|
static ɵcmp: i0.ɵɵComponentDeclaration<NavbarRoutesComponent, "lpx-navbar-routes", never, { "navbarItems": { "alias": "navbarItems"; "required": false; }; "groupedItems": { "alias": "groupedItems"; "required": false; }; "routerItem": { "alias": "routerItem"; "required": false; "isSignal": true; }; }, { "routeClick": "routeClick"; }, never, never, false, never>;
|
|
27
26
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './layouts';
|
package/lib/providers/index.d.ts
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Environment } from '@abp/ng.core';
|
|
2
|
+
import { EnvironmentProviders, Provider } from '@angular/core';
|
|
3
|
+
export declare enum LpxLogoFeatureKind {
|
|
4
|
+
Options = 0
|
|
5
|
+
}
|
|
6
|
+
export interface LpxLogoFeature<KindT extends LpxLogoFeatureKind> {
|
|
7
|
+
ɵkind: KindT;
|
|
8
|
+
ɵproviders: (Provider | EnvironmentProviders)[];
|
|
9
|
+
}
|
|
10
|
+
export declare function withEnvironmentOptions(options?: Environment): LpxLogoFeature<LpxLogoFeatureKind.Options>;
|
|
11
|
+
export declare function provideLogo(...features: LpxLogoFeature<LpxLogoFeatureKind>[]): EnvironmentProviders;
|
package/lib/tokens/index.d.ts
CHANGED