@abp/ng.theme.lepton-x 4.3.0-rc.1 → 4.3.0-rc.3
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/account/index.d.ts +68 -5
- package/fesm2022/abp-ng.theme.lepton-x-account.mjs +56 -48
- package/fesm2022/abp-ng.theme.lepton-x-account.mjs.map +1 -1
- package/fesm2022/abp-ng.theme.lepton-x-layouts.mjs +98 -67
- package/fesm2022/abp-ng.theme.lepton-x-layouts.mjs.map +1 -1
- package/fesm2022/abp-ng.theme.lepton-x.mjs +177 -139
- package/fesm2022/abp-ng.theme.lepton-x.mjs.map +1 -1
- package/index.d.ts +128 -5
- package/layouts/index.d.ts +85 -5
- package/package.json +6 -6
- package/account/account-layout/account-layout.component.d.ts +0 -5
- package/account/account-layout/account-layout.module.d.ts +0 -18
- package/account/account-layout/components/auth-layout/auth-wrapper.component.d.ts +0 -7
- package/account/account-layout/components/tenant-box/tenant-box.component.d.ts +0 -7
- package/account/account-layout/index.d.ts +0 -2
- package/account/account-layout/services/account-layout.service.d.ts +0 -27
- package/account/public-api.d.ts +0 -1
- package/layouts/empty-layout/empty-layout.component.d.ts +0 -7
- package/layouts/empty-layout/index.d.ts +0 -1
- package/layouts/public-api.d.ts +0 -2
- package/layouts/side-menu-layout/components/index.d.ts +0 -4
- package/layouts/side-menu-layout/components/language-selection/index.d.ts +0 -1
- package/layouts/side-menu-layout/components/language-selection/language-selection.component.d.ts +0 -7
- package/layouts/side-menu-layout/components/nav-items/index.d.ts +0 -1
- package/layouts/side-menu-layout/components/nav-items/nav-items.component.d.ts +0 -10
- package/layouts/side-menu-layout/components/navigate-to-login/navigate-to-login.component.d.ts +0 -9
- package/layouts/side-menu-layout/components/user-profile/index.d.ts +0 -1
- package/layouts/side-menu-layout/components/user-profile/user-profile.component.d.ts +0 -7
- package/layouts/side-menu-layout/index.d.ts +0 -4
- package/layouts/side-menu-layout/providers/index.d.ts +0 -2
- package/layouts/side-menu-layout/providers/layout.provider.d.ts +0 -2
- package/layouts/side-menu-layout/providers/nav-item.provider.d.ts +0 -2
- package/layouts/side-menu-layout/side-menu-application-layout/index.d.ts +0 -1
- package/layouts/side-menu-layout/side-menu-application-layout/side-menu-application-layout.component.d.ts +0 -20
- package/layouts/side-menu-layout/side-menu-layout.module.d.ts +0 -20
- package/lib/components/index.d.ts +0 -1
- package/lib/components/validation-error/index.d.ts +0 -2
- package/lib/components/validation-error/validation-error.component.d.ts +0 -9
- package/lib/components/validation-error/validation-error.module.d.ts +0 -12
- package/lib/enums/components.d.ts +0 -22
- package/lib/enums/index.d.ts +0 -2
- package/lib/enums/user-menu-items.d.ts +0 -4
- package/lib/providers/index.d.ts +0 -5
- package/lib/providers/init-service.provider.d.ts +0 -1
- package/lib/providers/language.provider.d.ts +0 -1
- package/lib/providers/translate.provider.d.ts +0 -2
- package/lib/providers/user-menu-service.provider.d.ts +0 -2
- package/lib/providers/user.provider.d.ts +0 -1
- package/lib/services/index.d.ts +0 -3
- package/lib/services/language.service.d.ts +0 -15
- package/lib/services/translate.service.d.ts +0 -13
- package/lib/services/user-profile.service.d.ts +0 -16
- package/lib/theme-lepton-x.module.d.ts +0 -12
package/index.d.ts
CHANGED
|
@@ -1,5 +1,128 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Provider, EnvironmentProviders, ModuleWithProviders } from '@angular/core';
|
|
3
|
+
import * as i1$1 from '@volo/ngx-lepton-x.lite';
|
|
4
|
+
import { LpxOptions } from '@volo/ngx-lepton-x.lite';
|
|
5
|
+
import * as i1 from '@angular/common';
|
|
6
|
+
import * as i2 from '@abp/ng.core';
|
|
7
|
+
import { CurrentUserDto, ConfigStateService, LanguageInfo, SessionStateService, LocalizationService } from '@abp/ng.core';
|
|
8
|
+
import * as i3 from '@ngx-validate/core';
|
|
9
|
+
import { ValidationErrorComponent as ValidationErrorComponent$1, Validation } from '@ngx-validate/core';
|
|
10
|
+
import { Observable } from 'rxjs';
|
|
11
|
+
import { UserMenuService } from '@abp/ng.theme.shared';
|
|
12
|
+
import { UserProfileService, LanguageService, TranslateService } from '@volo/ngx-lepton-x.core';
|
|
13
|
+
|
|
14
|
+
declare const LPX_LANGUAGE_PROVIDER: i0.EnvironmentProviders;
|
|
15
|
+
|
|
16
|
+
declare const LPX_TRANSLATE_PROVIDER: Provider;
|
|
17
|
+
|
|
18
|
+
declare const LPX_USER_PROVIDER: i0.EnvironmentProviders;
|
|
19
|
+
|
|
20
|
+
declare const LEPTON_X_USER_MENU_PROVIDERS: i0.EnvironmentProviders[];
|
|
21
|
+
declare function configureUserMenu(): void;
|
|
22
|
+
|
|
23
|
+
declare const INIT_SERVICE_PROVIDER: i0.EnvironmentProviders;
|
|
24
|
+
|
|
25
|
+
type ThemeLeptonXModuleOptions = LpxOptions;
|
|
26
|
+
declare enum ThemeLeptonXFeatureKind {
|
|
27
|
+
Options = 0
|
|
28
|
+
}
|
|
29
|
+
interface ThemeLeptonXFeature<KindT extends ThemeLeptonXFeatureKind> {
|
|
30
|
+
ɵkind: KindT;
|
|
31
|
+
ɵproviders: (Provider | EnvironmentProviders)[];
|
|
32
|
+
}
|
|
33
|
+
declare function withThemeLeptonXOptions(options?: ThemeLeptonXModuleOptions): ThemeLeptonXFeature<ThemeLeptonXFeatureKind.Options>;
|
|
34
|
+
declare function provideValidationError(): EnvironmentProviders;
|
|
35
|
+
declare function provideThemeLeptonX(...features: ThemeLeptonXFeature<ThemeLeptonXFeatureKind>[]): EnvironmentProviders;
|
|
36
|
+
|
|
37
|
+
declare class ValidationErrorComponent extends ValidationErrorComponent$1 {
|
|
38
|
+
get abpErrors(): Array<Validation.Error & {
|
|
39
|
+
interpoliteParams: string[];
|
|
40
|
+
}>;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ValidationErrorComponent, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ValidationErrorComponent, "abp-validation-error", never, {}, {}, never, never, true, never>;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
declare class ValidationErrorModule {
|
|
46
|
+
/**
|
|
47
|
+
* @deprecated `ValidationErrorModule.forRoot()` is deprecated. You can use `provideValidationError` **function** instead.
|
|
48
|
+
*/
|
|
49
|
+
static forRoot(): ModuleWithProviders<ValidationErrorModule>;
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ValidationErrorModule, never>;
|
|
51
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ValidationErrorModule, never, [typeof i1.CommonModule, typeof i2.CoreModule, typeof i3.NgxValidateCoreModule, typeof ValidationErrorComponent], [typeof ValidationErrorComponent, typeof i3.NgxValidateCoreModule]>;
|
|
52
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ValidationErrorModule>;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
declare class ThemeLeptonXModule {
|
|
56
|
+
/**
|
|
57
|
+
* @deprecated `ThemeLeptonXModule.forRoot()` is deprecated. You can use `provideThemeLeptonX` **function** instead.
|
|
58
|
+
*/
|
|
59
|
+
static forRoot(options?: ThemeLeptonXModuleOptions): ModuleWithProviders<ThemeLeptonXModule>;
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeLeptonXModule, never>;
|
|
61
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ThemeLeptonXModule, never, [typeof i1$1.LpxModule, typeof ValidationErrorModule], never>;
|
|
62
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ThemeLeptonXModule>;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
declare class AbpUserProfileService {
|
|
66
|
+
private configState;
|
|
67
|
+
private userProfileService;
|
|
68
|
+
navigateToManageProfile: any;
|
|
69
|
+
private userMenuService;
|
|
70
|
+
currentUser$: Observable<CurrentUserDto>;
|
|
71
|
+
constructor(configState: ConfigStateService, userProfileService: UserProfileService, navigateToManageProfile: any, userMenuService: UserMenuService);
|
|
72
|
+
subscribeUser(): void;
|
|
73
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbpUserProfileService, never>;
|
|
74
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AbpUserProfileService>;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
declare class AbpLanguageService {
|
|
78
|
+
private configState;
|
|
79
|
+
private languageService;
|
|
80
|
+
private sessionState;
|
|
81
|
+
languages$: Observable<LanguageInfo[]>;
|
|
82
|
+
constructor(configState: ConfigStateService, languageService: LanguageService, sessionState: SessionStateService);
|
|
83
|
+
subscribeLanguage(): void;
|
|
84
|
+
private mapLang;
|
|
85
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbpLanguageService, never>;
|
|
86
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AbpLanguageService>;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
declare class AbpTranslateService implements TranslateService {
|
|
90
|
+
private localization;
|
|
91
|
+
constructor(localization: LocalizationService);
|
|
92
|
+
get(key: string, defaultValue: string | undefined): string;
|
|
93
|
+
get$(key: string, defaultValue: string | undefined): Observable<string>;
|
|
94
|
+
private getKey;
|
|
95
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbpTranslateService, never>;
|
|
96
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AbpTranslateService>;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
declare const enum eThemeLeptonXComponents {
|
|
100
|
+
ApplicationLayout = "Theme.ApplicationLayoutComponent",
|
|
101
|
+
AccountLayout = "Theme.AccountLayoutComponent",
|
|
102
|
+
Footer = "Theme.FooterComponent",
|
|
103
|
+
EmptyLayout = "Theme.EmptyLayoutComponent",
|
|
104
|
+
Logo = "Theme.LogoComponent",
|
|
105
|
+
Routes = "Theme.RoutesComponent",
|
|
106
|
+
NavItems = "Theme.NavItemsComponent",
|
|
107
|
+
CurrentUser = "Theme.CurrentUserComponent",
|
|
108
|
+
CurrentUserImage = "Theme.CurrentUserImageComponent",
|
|
109
|
+
Languages = "Theme.LanguagesComponent",
|
|
110
|
+
Navbar = "Theme.NavbarComponent",
|
|
111
|
+
Sidebar = "Theme.Sidebar",
|
|
112
|
+
Login = "Theme.LoginComponent",
|
|
113
|
+
Breadcrumb = "Theme.BreadcrumbComponent",
|
|
114
|
+
MobileNavbar = "Theme.MobileNavbarComponent",
|
|
115
|
+
MobileUserProfile = "Theme.MobileUserProfileComponent",
|
|
116
|
+
MobileLanguageSelection = "Theme.MobileLanguageSelectionComponent",
|
|
117
|
+
PageAlertContainer = "Theme.PageAlertContainerComponent",
|
|
118
|
+
Toolbar = "Theme.ToolbarComponent",
|
|
119
|
+
Settings = "Theme.SettingsComponent"
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
declare enum eUserMenuItems {
|
|
123
|
+
MyAccount = "MyAccount",
|
|
124
|
+
Logout = "Logout"
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export { AbpLanguageService, AbpTranslateService, AbpUserProfileService, INIT_SERVICE_PROVIDER, LEPTON_X_USER_MENU_PROVIDERS, LPX_LANGUAGE_PROVIDER, LPX_TRANSLATE_PROVIDER, LPX_USER_PROVIDER, ThemeLeptonXFeatureKind, ThemeLeptonXModule, ValidationErrorComponent, ValidationErrorModule, configureUserMenu, eThemeLeptonXComponents, eUserMenuItems, provideThemeLeptonX, provideValidationError, withThemeLeptonXOptions };
|
|
128
|
+
export type { ThemeLeptonXFeature, ThemeLeptonXModuleOptions };
|
package/layouts/index.d.ts
CHANGED
|
@@ -1,5 +1,85 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as i5 from '@abp/ng.core';
|
|
2
|
+
import { eLayoutType, AuthService } from '@abp/ng.core';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { TrackByFunction, EnvironmentProviders, ModuleWithProviders } from '@angular/core';
|
|
5
|
+
import { eThemeLeptonXComponents } from '@abp/ng.theme.lepton-x';
|
|
6
|
+
import { NavItemsService, NavItem } from '@abp/ng.theme.shared';
|
|
7
|
+
import * as i1 from '@angular/common';
|
|
8
|
+
import * as i2 from '@volo/ngx-lepton-x.lite/layouts';
|
|
9
|
+
import * as i3 from '@angular/router';
|
|
10
|
+
import * as i4 from '@volo/ngx-lepton-x.core';
|
|
11
|
+
import * as i6 from '@volo/abp.ng.lepton-x.core';
|
|
12
|
+
import * as i7 from '@volo/ngx-lepton-x.lite';
|
|
13
|
+
|
|
14
|
+
declare class EmptyLayoutComponent {
|
|
15
|
+
static type: eLayoutType;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EmptyLayoutComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EmptyLayoutComponent, "abp-layout-empty", never, {}, {}, never, never, true, never>;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
declare class LanguageSelectionComponent {
|
|
21
|
+
languageSelectionKey: eThemeLeptonXComponents;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LanguageSelectionComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LanguageSelectionComponent, "abp-language-selection", never, {}, {}, never, never, true, never>;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
declare class NavItemsComponent {
|
|
27
|
+
readonly navItems: NavItemsService;
|
|
28
|
+
trackByFn: TrackByFunction<NavItem>;
|
|
29
|
+
constructor(navItems: NavItemsService);
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavItemsComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavItemsComponent, "abp-nav-items", never, {}, {}, never, never, true, never>;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
declare class UserProfileComponent {
|
|
35
|
+
key: eThemeLeptonXComponents;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserProfileComponent, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserProfileComponent, "abp-user-profile", never, {}, {}, never, never, true, never>;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
declare class NavigateToLoginComponent {
|
|
41
|
+
readonly authService: AuthService;
|
|
42
|
+
constructor(authService: AuthService);
|
|
43
|
+
navigateToLogin(event: MouseEvent): void;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavigateToLoginComponent, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavigateToLoginComponent, "abp-navigate-to-login", never, {}, {}, never, never, true, never>;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
declare const LPX_LAYOUT_PROVIDER: i0.EnvironmentProviders;
|
|
49
|
+
declare function initLayouts(): void;
|
|
50
|
+
|
|
51
|
+
declare const NAV_ITEM_PROVIDER: i0.EnvironmentProviders;
|
|
52
|
+
declare function addNavItems(): void;
|
|
53
|
+
|
|
54
|
+
declare function provideSideMenuLayout(): EnvironmentProviders;
|
|
55
|
+
|
|
56
|
+
declare class SideMenuApplicationLayoutComponent {
|
|
57
|
+
toolbarKey: eThemeLeptonXComponents;
|
|
58
|
+
navbarKey: eThemeLeptonXComponents;
|
|
59
|
+
routesKey: eThemeLeptonXComponents;
|
|
60
|
+
navItemsKey: eThemeLeptonXComponents;
|
|
61
|
+
breadcrumbKey: eThemeLeptonXComponents;
|
|
62
|
+
footerKey: eThemeLeptonXComponents;
|
|
63
|
+
mobileNavbarKey: eThemeLeptonXComponents;
|
|
64
|
+
pageAlertContainerKey: eThemeLeptonXComponents;
|
|
65
|
+
logoKey: eThemeLeptonXComponents;
|
|
66
|
+
currentUserKey: eThemeLeptonXComponents;
|
|
67
|
+
currentUserImageKey: eThemeLeptonXComponents;
|
|
68
|
+
languageKey: eThemeLeptonXComponents;
|
|
69
|
+
mobileUserProfile: eThemeLeptonXComponents;
|
|
70
|
+
mobileLanguageSelection: eThemeLeptonXComponents;
|
|
71
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SideMenuApplicationLayoutComponent, never>;
|
|
72
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SideMenuApplicationLayoutComponent, "abp-application-layout", never, {}, {}, never, never, true, never>;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
declare class SideMenuLayoutModule {
|
|
76
|
+
/**
|
|
77
|
+
* @deprecated `SideMenuLayoutModule.forRoot()` is deprecated. You can use `provideSideMenuLayout` **function** instead.
|
|
78
|
+
*/
|
|
79
|
+
static forRoot(): ModuleWithProviders<SideMenuLayoutModule>;
|
|
80
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SideMenuLayoutModule, never>;
|
|
81
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SideMenuLayoutModule, never, [typeof i1.CommonModule, typeof i2.LpxSideMenuLayoutModule, typeof i3.RouterModule, typeof i4.LpxNavbarModule, typeof i5.CoreModule, typeof i6.LeptonXAbpCoreModule, typeof i4.PanelsModule, typeof i7.UserProfileModule, typeof i7.LanguageSelectionModule, typeof i4.LpxTranslateModule, typeof i4.LpxFooterModule, typeof SideMenuApplicationLayoutComponent, typeof NavItemsComponent, typeof LanguageSelectionComponent, typeof UserProfileComponent, typeof NavigateToLoginComponent], never>;
|
|
82
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SideMenuLayoutModule>;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export { EmptyLayoutComponent, LPX_LAYOUT_PROVIDER, LanguageSelectionComponent, NAV_ITEM_PROVIDER, NavItemsComponent, NavigateToLoginComponent, SideMenuApplicationLayoutComponent, SideMenuLayoutModule, UserProfileComponent, addNavItems, initLayouts, provideSideMenuLayout };
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abp/ng.theme.lepton-x",
|
|
3
|
-
"version": "4.3.0-rc.
|
|
3
|
+
"version": "4.3.0-rc.3",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"tslib": "^2.3.0",
|
|
6
|
-
"@volo/ngx-lepton-x.lite": "4.3.0-rc.
|
|
7
|
-
"@volo/abp.ng.lepton-x.core": "4.3.0-rc.
|
|
6
|
+
"@volo/ngx-lepton-x.lite": "4.3.0-rc.3",
|
|
7
|
+
"@volo/abp.ng.lepton-x.core": "4.3.0-rc.3"
|
|
8
8
|
},
|
|
9
9
|
"peerDependencies": {
|
|
10
|
-
"@abp/ng.core": "~9.3.0-rc.
|
|
11
|
-
"@abp/ng.theme.shared": "~9.3.0-rc.
|
|
12
|
-
"@abp/ng.account.core": "~9.3.0-rc.
|
|
10
|
+
"@abp/ng.core": "~9.3.0-rc.3",
|
|
11
|
+
"@abp/ng.theme.shared": "~9.3.0-rc.3",
|
|
12
|
+
"@abp/ng.account.core": "~9.3.0-rc.3"
|
|
13
13
|
},
|
|
14
14
|
"publishConfig": {
|
|
15
15
|
"access": "public"
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class AccountLayoutComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AccountLayoutComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AccountLayoutComponent, "abp-account-layout", never, {}, {}, never, never, false, never>;
|
|
5
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "./account-layout.component";
|
|
4
|
-
import * as i2 from "@angular/router";
|
|
5
|
-
import * as i3 from "@abp/ng.core";
|
|
6
|
-
import * as i4 from "@volo/ngx-lepton-x.lite/layouts";
|
|
7
|
-
import * as i5 from "@abp/ng.theme.shared";
|
|
8
|
-
import * as i6 from "@volo/abp.ng.lepton-x.core";
|
|
9
|
-
import * as i7 from "@volo/ngx-lepton-x.lite";
|
|
10
|
-
import * as i8 from "./components/tenant-box/tenant-box.component";
|
|
11
|
-
import * as i9 from "./components/auth-layout/auth-wrapper.component";
|
|
12
|
-
export declare class AccountLayoutModule {
|
|
13
|
-
static forRoot(): ModuleWithProviders<AccountLayoutModule>;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AccountLayoutModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AccountLayoutModule, [typeof i1.AccountLayoutComponent], [typeof i2.RouterModule, typeof i3.CoreModule, typeof i4.LpxSideMenuLayoutModule, typeof i5.ThemeSharedModule, typeof i6.PageAlertContainerModule, typeof i7.LanguageSelectionModule, typeof i8.TenantBoxComponent, typeof i9.AuthWrapperComponent], never>;
|
|
16
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AccountLayoutModule>;
|
|
17
|
-
}
|
|
18
|
-
export declare function initAccountLayout(): void;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { AccountLayoutService } from '../../services/account-layout.service';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class AuthWrapperComponent {
|
|
4
|
-
service: AccountLayoutService;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AuthWrapperComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AuthWrapperComponent, "lpx-auth-wrapper", never, {}, {}, never, ["*"], true, never>;
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { AccountLayoutService } from '../../services/account-layout.service';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TenantBoxComponent {
|
|
4
|
-
service: AccountLayoutService;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TenantBoxComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TenantBoxComponent, "lpx-tenant-box", never, {}, {}, never, never, true, never>;
|
|
7
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ActivatedRoute } from "@angular/router";
|
|
2
|
-
import { CurrentTenantDto } from "@abp/ng.core";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class AccountLayoutService {
|
|
5
|
-
private configState;
|
|
6
|
-
private multiTenancy;
|
|
7
|
-
private toasterService;
|
|
8
|
-
private tenantService;
|
|
9
|
-
private sessionState;
|
|
10
|
-
isMultiTenancyEnabled$: import("rxjs").Observable<any>;
|
|
11
|
-
enableLocalLogin$: import("rxjs").Observable<boolean>;
|
|
12
|
-
tenantBoxKey: string;
|
|
13
|
-
route: ActivatedRoute;
|
|
14
|
-
get isTenantBoxVisibleForCurrentRoute(): any;
|
|
15
|
-
get isTenantBoxVisible(): boolean;
|
|
16
|
-
private getMostInnerChild;
|
|
17
|
-
currentTenant$: import("rxjs").Observable<CurrentTenantDto>;
|
|
18
|
-
name: import("@angular/core").WritableSignal<string>;
|
|
19
|
-
isModalVisible: boolean;
|
|
20
|
-
modalBusy: boolean;
|
|
21
|
-
onSwitch(): void;
|
|
22
|
-
save(): void;
|
|
23
|
-
private setTenant;
|
|
24
|
-
private showError;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AccountLayoutService, never>;
|
|
26
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AccountLayoutService>;
|
|
27
|
-
}
|
package/account/public-api.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './account-layout/index';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { eLayoutType } from '@abp/ng.core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class EmptyLayoutComponent {
|
|
4
|
-
static type: eLayoutType;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EmptyLayoutComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EmptyLayoutComponent, "abp-layout-empty", never, {}, {}, never, never, true, never>;
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './empty-layout.component';
|
package/layouts/public-api.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './language-selection.component';
|
package/layouts/side-menu-layout/components/language-selection/language-selection.component.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { eThemeLeptonXComponents } from '@abp/ng.theme.lepton-x';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class LanguageSelectionComponent {
|
|
4
|
-
languageSelectionKey: eThemeLeptonXComponents;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LanguageSelectionComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LanguageSelectionComponent, "abp-language-selection", never, {}, {}, never, never, false, never>;
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './nav-items.component';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { NavItem, NavItemsService } from '@abp/ng.theme.shared';
|
|
2
|
-
import { TrackByFunction } from '@angular/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class NavItemsComponent {
|
|
5
|
-
readonly navItems: NavItemsService;
|
|
6
|
-
trackByFn: TrackByFunction<NavItem>;
|
|
7
|
-
constructor(navItems: NavItemsService);
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavItemsComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NavItemsComponent, "abp-nav-items", never, {}, {}, never, never, false, never>;
|
|
10
|
-
}
|
package/layouts/side-menu-layout/components/navigate-to-login/navigate-to-login.component.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { AuthService } from '@abp/ng.core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class NavigateToLoginComponent {
|
|
4
|
-
readonly authService: AuthService;
|
|
5
|
-
constructor(authService: AuthService);
|
|
6
|
-
navigateToLogin(event: MouseEvent): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavigateToLoginComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NavigateToLoginComponent, "abp-navigate-to-login", never, {}, {}, never, never, false, never>;
|
|
9
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './user-profile.component';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { eThemeLeptonXComponents } from '@abp/ng.theme.lepton-x';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class UserProfileComponent {
|
|
4
|
-
key: eThemeLeptonXComponents;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserProfileComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UserProfileComponent, "abp-user-profile", never, {}, {}, never, never, false, never>;
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './side-menu-application-layout.component';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { eThemeLeptonXComponents } from '@abp/ng.theme.lepton-x';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class SideMenuApplicationLayoutComponent {
|
|
4
|
-
toolbarKey: eThemeLeptonXComponents;
|
|
5
|
-
navbarKey: eThemeLeptonXComponents;
|
|
6
|
-
routesKey: eThemeLeptonXComponents;
|
|
7
|
-
navItemsKey: eThemeLeptonXComponents;
|
|
8
|
-
breadcrumbKey: eThemeLeptonXComponents;
|
|
9
|
-
footerKey: eThemeLeptonXComponents;
|
|
10
|
-
mobileNavbarKey: eThemeLeptonXComponents;
|
|
11
|
-
pageAlertContainerKey: eThemeLeptonXComponents;
|
|
12
|
-
logoKey: eThemeLeptonXComponents;
|
|
13
|
-
currentUserKey: eThemeLeptonXComponents;
|
|
14
|
-
currentUserImageKey: eThemeLeptonXComponents;
|
|
15
|
-
languageKey: eThemeLeptonXComponents;
|
|
16
|
-
mobileUserProfile: eThemeLeptonXComponents;
|
|
17
|
-
mobileLanguageSelection: eThemeLeptonXComponents;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SideMenuApplicationLayoutComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SideMenuApplicationLayoutComponent, "abp-application-layout", never, {}, {}, never, never, false, never>;
|
|
20
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "./side-menu-application-layout/side-menu-application-layout.component";
|
|
4
|
-
import * as i2 from "./components/nav-items/nav-items.component";
|
|
5
|
-
import * as i3 from "./components/language-selection/language-selection.component";
|
|
6
|
-
import * as i4 from "./components/user-profile/user-profile.component";
|
|
7
|
-
import * as i5 from "./components/navigate-to-login/navigate-to-login.component";
|
|
8
|
-
import * as i6 from "@angular/common";
|
|
9
|
-
import * as i7 from "@volo/ngx-lepton-x.lite/layouts";
|
|
10
|
-
import * as i8 from "@angular/router";
|
|
11
|
-
import * as i9 from "@volo/ngx-lepton-x.core";
|
|
12
|
-
import * as i10 from "@abp/ng.core";
|
|
13
|
-
import * as i11 from "@volo/abp.ng.lepton-x.core";
|
|
14
|
-
import * as i12 from "@volo/ngx-lepton-x.lite";
|
|
15
|
-
export declare class SideMenuLayoutModule {
|
|
16
|
-
static forRoot(): ModuleWithProviders<SideMenuLayoutModule>;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SideMenuLayoutModule, never>;
|
|
18
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SideMenuLayoutModule, [typeof i1.SideMenuApplicationLayoutComponent, typeof i2.NavItemsComponent, typeof i3.LanguageSelectionComponent, typeof i4.UserProfileComponent, typeof i5.NavigateToLoginComponent], [typeof i6.CommonModule, typeof i7.LpxSideMenuLayoutModule, typeof i8.RouterModule, typeof i9.LpxNavbarModule, typeof i10.CoreModule, typeof i11.LeptonXAbpCoreModule, typeof i9.PanelsModule, typeof i12.UserProfileModule, typeof i12.LanguageSelectionModule, typeof i9.LpxTranslateModule, typeof i9.LpxFooterModule], never>;
|
|
19
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SideMenuLayoutModule>;
|
|
20
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './validation-error';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Validation, ValidationErrorComponent as ErrorComponent } from '@ngx-validate/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ValidationErrorComponent extends ErrorComponent {
|
|
4
|
-
get abpErrors(): Array<Validation.Error & {
|
|
5
|
-
interpoliteParams: string[];
|
|
6
|
-
}>;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ValidationErrorComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ValidationErrorComponent, "abp-validation-error", never, {}, {}, never, never, false, never>;
|
|
9
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "./validation-error.component";
|
|
4
|
-
import * as i2 from "@angular/common";
|
|
5
|
-
import * as i3 from "@abp/ng.core";
|
|
6
|
-
import * as i4 from "@ngx-validate/core";
|
|
7
|
-
export declare class ValidationErrorModule {
|
|
8
|
-
static forRoot(): ModuleWithProviders<ValidationErrorModule>;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ValidationErrorModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ValidationErrorModule, [typeof i1.ValidationErrorComponent], [typeof i2.CommonModule, typeof i3.CoreModule, typeof i4.NgxValidateCoreModule], [typeof i1.ValidationErrorComponent, typeof i4.NgxValidateCoreModule]>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ValidationErrorModule>;
|
|
12
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export declare const enum eThemeLeptonXComponents {
|
|
2
|
-
ApplicationLayout = "Theme.ApplicationLayoutComponent",
|
|
3
|
-
AccountLayout = "Theme.AccountLayoutComponent",
|
|
4
|
-
Footer = "Theme.FooterComponent",
|
|
5
|
-
EmptyLayout = "Theme.EmptyLayoutComponent",
|
|
6
|
-
Logo = "Theme.LogoComponent",
|
|
7
|
-
Routes = "Theme.RoutesComponent",
|
|
8
|
-
NavItems = "Theme.NavItemsComponent",
|
|
9
|
-
CurrentUser = "Theme.CurrentUserComponent",
|
|
10
|
-
CurrentUserImage = "Theme.CurrentUserImageComponent",
|
|
11
|
-
Languages = "Theme.LanguagesComponent",
|
|
12
|
-
Navbar = "Theme.NavbarComponent",
|
|
13
|
-
Sidebar = "Theme.Sidebar",
|
|
14
|
-
Login = "Theme.LoginComponent",
|
|
15
|
-
Breadcrumb = "Theme.BreadcrumbComponent",
|
|
16
|
-
MobileNavbar = "Theme.MobileNavbarComponent",
|
|
17
|
-
MobileUserProfile = "Theme.MobileUserProfileComponent",
|
|
18
|
-
MobileLanguageSelection = "Theme.MobileLanguageSelectionComponent",
|
|
19
|
-
PageAlertContainer = "Theme.PageAlertContainerComponent",
|
|
20
|
-
Toolbar = "Theme.ToolbarComponent",
|
|
21
|
-
Settings = "Theme.SettingsComponent"
|
|
22
|
-
}
|
package/lib/enums/index.d.ts
DELETED
package/lib/providers/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const INIT_SERVICE_PROVIDER: import("@angular/core").EnvironmentProviders;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const LPX_LANGUAGE_PROVIDER: import("@angular/core").EnvironmentProviders;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const LPX_USER_PROVIDER: import("@angular/core").EnvironmentProviders;
|
package/lib/services/index.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { ConfigStateService, LanguageInfo, SessionStateService } from '@abp/ng.core';
|
|
3
|
-
import { LanguageService } from '@volo/ngx-lepton-x.core';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class AbpLanguageService {
|
|
6
|
-
private configState;
|
|
7
|
-
private languageService;
|
|
8
|
-
private sessionState;
|
|
9
|
-
languages$: Observable<LanguageInfo[]>;
|
|
10
|
-
constructor(configState: ConfigStateService, languageService: LanguageService, sessionState: SessionStateService);
|
|
11
|
-
subscribeLanguage(): void;
|
|
12
|
-
private mapLang;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AbpLanguageService, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AbpLanguageService>;
|
|
15
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { LocalizationService } from '@abp/ng.core';
|
|
2
|
-
import { TranslateService } from '@volo/ngx-lepton-x.core';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class AbpTranslateService implements TranslateService {
|
|
6
|
-
private localization;
|
|
7
|
-
constructor(localization: LocalizationService);
|
|
8
|
-
get(key: string, defaultValue: string | undefined): string;
|
|
9
|
-
get$(key: string, defaultValue: string | undefined): Observable<string>;
|
|
10
|
-
private getKey;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AbpTranslateService, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AbpTranslateService>;
|
|
13
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { ConfigStateService, CurrentUserDto } from '@abp/ng.core';
|
|
3
|
-
import { UserMenuService } from '@abp/ng.theme.shared';
|
|
4
|
-
import { UserProfileService } from '@volo/ngx-lepton-x.core';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class AbpUserProfileService {
|
|
7
|
-
private configState;
|
|
8
|
-
private userProfileService;
|
|
9
|
-
navigateToManageProfile: any;
|
|
10
|
-
private userMenuService;
|
|
11
|
-
currentUser$: Observable<CurrentUserDto>;
|
|
12
|
-
constructor(configState: ConfigStateService, userProfileService: UserProfileService, navigateToManageProfile: any, userMenuService: UserMenuService);
|
|
13
|
-
subscribeUser(): void;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AbpUserProfileService, never>;
|
|
15
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AbpUserProfileService>;
|
|
16
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import { LpxOptions } from '@volo/ngx-lepton-x.lite';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@volo/ngx-lepton-x.lite";
|
|
5
|
-
import * as i2 from "./components/validation-error/validation-error.module";
|
|
6
|
-
export type ThemeLeptonXModuleOptions = LpxOptions;
|
|
7
|
-
export declare class ThemeLeptonXModule {
|
|
8
|
-
static forRoot(options?: ThemeLeptonXModuleOptions): ModuleWithProviders<ThemeLeptonXModule>;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeLeptonXModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ThemeLeptonXModule, never, [typeof i1.LpxModule, typeof i2.ValidationErrorModule], never>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ThemeLeptonXModule>;
|
|
12
|
-
}
|