@volosoft/abp.ng.theme.lepton-x 1.0.0-alpha.1 → 1.0.0-beta.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/README.md +1 -1
- package/account/account/account-layout.component.d.ts +3 -1
- package/account/account/account-layout.module.d.ts +15 -3
- package/account/account/components/auth-wrapper/auth-wrapper.component.d.ts +4 -4
- package/account/account/components/index.d.ts +0 -1
- package/account/account/components/tenant-box/tenant-box.component.d.ts +3 -1
- package/account/account/index.d.ts +0 -1
- package/account/index.d.ts +1 -0
- package/account/package.json +5 -6
- package/account/volosoft-abp.ng.theme.lepton-x-account.d.ts +2 -2
- package/assets/css/abp-bundle.css +159 -0
- package/esm2020/account/account/account-layout.component.mjs +19 -0
- package/esm2020/account/account/account-layout.module.mjs +73 -0
- package/esm2020/account/account/components/auth-wrapper/auth-wrapper.component.mjs +20 -0
- package/esm2020/account/account/components/index.mjs +3 -0
- package/esm2020/account/account/components/tenant-box/tenant-box.component.mjs +20 -0
- package/esm2020/account/account/index.mjs +4 -0
- package/esm2020/account/index.mjs +2 -0
- package/esm2020/account/volosoft-abp.ng.theme.lepton-x-account.mjs +5 -0
- package/esm2020/index.mjs +2 -0
- package/esm2020/layouts/index.mjs +2 -0
- package/esm2020/layouts/side-menu/index.mjs +2 -0
- package/esm2020/layouts/side-menu/layout/index.mjs +3 -0
- package/esm2020/layouts/side-menu/layout/side-menu-application-layout.component.mjs +21 -0
- package/esm2020/layouts/side-menu/layout/side-menu-layout.module.mjs +50 -0
- package/esm2020/layouts/volosoft-abp.ng.theme.lepton-x-layouts.mjs +5 -0
- package/esm2020/lib/components/abp-validation-error/abp-validation-error.component.mjs +51 -0
- package/esm2020/lib/components/abp-validation-error/abp-validation-error.module.mjs +39 -0
- package/esm2020/lib/components/abp-validation-error/index.mjs +3 -0
- package/esm2020/lib/components/http-error/http-error.component.mjs +44 -0
- package/esm2020/lib/components/http-error/http-error.module.mjs +25 -0
- package/esm2020/lib/components/http-error/index.mjs +3 -0
- package/esm2020/lib/components/index.mjs +4 -0
- package/esm2020/lib/components/page-alert-container/index.mjs +3 -0
- package/esm2020/lib/components/page-alert-container/page-alert-container.component.mjs +18 -0
- package/esm2020/lib/components/page-alert-container/page-alert-container.module.mjs +19 -0
- package/esm2020/lib/enums/components.mjs +2 -0
- package/esm2020/lib/enums/index.mjs +2 -0
- package/esm2020/lib/index.mjs +5 -0
- package/esm2020/lib/lepton-x.module.mjs +56 -0
- package/esm2020/lib/providers/init-service.provider.mjs +19 -0
- package/esm2020/lib/providers/page-render.provider.mjs +7 -0
- package/esm2020/lib/providers/style.provider.mjs +18 -0
- package/esm2020/lib/providers/translate.provider.mjs +7 -0
- package/esm2020/lib/services/abp-auth.service.mjs +23 -0
- package/esm2020/lib/services/abp-settings.service.mjs +136 -0
- package/esm2020/lib/services/abp-toolbar.service.mjs +32 -0
- package/esm2020/lib/services/abp-translate.service.mjs +24 -0
- package/esm2020/lib/services/index.mjs +6 -0
- package/esm2020/lib/services/page-render-strategy.service.mjs +14 -0
- package/esm2020/styles/index.mjs +2 -0
- package/esm2020/styles/lib/handler/index.mjs +2 -0
- package/esm2020/styles/lib/handler/style-load.handler.mjs +17 -0
- package/esm2020/styles/lib/index.mjs +2 -0
- package/esm2020/styles/volosoft-abp.ng.theme.lepton-x-styles.mjs +5 -0
- package/esm2020/volosoft-abp.ng.theme.lepton-x.mjs +5 -0
- package/fesm2015/volosoft-abp.ng.theme.lepton-x-account.mjs +123 -0
- package/fesm2015/volosoft-abp.ng.theme.lepton-x-account.mjs.map +1 -0
- package/fesm2015/volosoft-abp.ng.theme.lepton-x-layouts.mjs +75 -0
- package/fesm2015/volosoft-abp.ng.theme.lepton-x-layouts.mjs.map +1 -0
- package/fesm2015/volosoft-abp.ng.theme.lepton-x-styles.mjs +23 -0
- package/fesm2015/volosoft-abp.ng.theme.lepton-x-styles.mjs.map +1 -0
- package/fesm2015/volosoft-abp.ng.theme.lepton-x.mjs +469 -0
- package/fesm2015/volosoft-abp.ng.theme.lepton-x.mjs.map +1 -0
- package/fesm2020/volosoft-abp.ng.theme.lepton-x-account.mjs +123 -0
- package/fesm2020/volosoft-abp.ng.theme.lepton-x-account.mjs.map +1 -0
- package/fesm2020/volosoft-abp.ng.theme.lepton-x-layouts.mjs +75 -0
- package/fesm2020/volosoft-abp.ng.theme.lepton-x-layouts.mjs.map +1 -0
- package/fesm2020/volosoft-abp.ng.theme.lepton-x-styles.mjs +23 -0
- package/fesm2020/volosoft-abp.ng.theme.lepton-x-styles.mjs.map +1 -0
- package/fesm2020/volosoft-abp.ng.theme.lepton-x.mjs +476 -0
- package/fesm2020/volosoft-abp.ng.theme.lepton-x.mjs.map +1 -0
- package/index.d.ts +1 -0
- package/layouts/index.d.ts +1 -0
- package/layouts/package.json +5 -6
- package/layouts/side-menu/index.d.ts +0 -1
- package/layouts/side-menu/layout/index.d.ts +0 -1
- package/layouts/side-menu/layout/side-menu-application-layout.component.d.ts +9 -10
- package/layouts/side-menu/layout/side-menu-layout.module.d.ts +10 -3
- package/layouts/volosoft-abp.ng.theme.lepton-x-layouts.d.ts +2 -2
- package/lib/components/abp-validation-error/abp-validation-error.component.d.ts +3 -1
- package/lib/components/abp-validation-error/abp-validation-error.module.d.ts +8 -1
- package/lib/components/abp-validation-error/index.d.ts +0 -1
- package/lib/components/http-error/http-error.component.d.ts +10 -0
- package/lib/components/http-error/http-error.module.d.ts +13 -0
- package/lib/components/http-error/index.d.ts +2 -0
- package/lib/components/index.d.ts +1 -1
- package/lib/components/page-alert-container/index.d.ts +0 -1
- package/lib/components/page-alert-container/page-alert-container.component.d.ts +3 -1
- package/lib/components/page-alert-container/page-alert-container.module.d.ts +7 -1
- package/lib/enums/components.d.ts +1 -2
- package/lib/enums/index.d.ts +0 -1
- package/lib/index.d.ts +0 -1
- package/lib/lepton-x.module.d.ts +9 -10
- package/lib/providers/init-service.provider.d.ts +6 -0
- package/lib/providers/page-render.provider.d.ts +2 -0
- package/lib/providers/style.provider.d.ts +3 -0
- package/lib/providers/translate.provider.d.ts +2 -0
- package/lib/services/abp-auth.service.d.ts +12 -0
- package/lib/services/abp-settings.service.d.ts +9 -3
- package/lib/services/abp-toolbar.service.d.ts +3 -1
- package/lib/services/abp-translate.service.d.ts +12 -0
- package/lib/services/index.d.ts +2 -2
- package/lib/services/page-render-strategy.service.d.ts +3 -2
- package/package.json +68 -16
- package/styles/index.d.ts +1 -0
- package/styles/lib/handler/index.d.ts +1 -0
- package/styles/lib/handler/style-load.handler.d.ts +3 -0
- package/styles/lib/index.d.ts +1 -0
- package/styles/package.json +10 -0
- package/styles/volosoft-abp.ng.theme.lepton-x-styles.d.ts +5 -0
- package/volosoft-abp.ng.theme.lepton-x.d.ts +2 -2
- package/account/account/account-layout.component.d.ts.map +0 -1
- package/account/account/account-layout.module.d.ts.map +0 -1
- package/account/account/components/auth-wrapper/auth-wrapper.component.d.ts.map +0 -1
- package/account/account/components/index.d.ts.map +0 -1
- package/account/account/components/tenant-box/tenant-box.component.d.ts.map +0 -1
- package/account/account/index.d.ts.map +0 -1
- package/account/public-api.d.ts +0 -2
- package/account/public-api.d.ts.map +0 -1
- package/account/volosoft-abp.ng.theme.lepton-x-account.d.ts.map +0 -1
- package/account/volosoft-abp.ng.theme.lepton-x-account.metadata.json +0 -1
- package/bundles/volosoft-abp.ng.theme.lepton-x-account.umd.js +0 -115
- package/bundles/volosoft-abp.ng.theme.lepton-x-account.umd.js.map +0 -1
- package/bundles/volosoft-abp.ng.theme.lepton-x-layouts.umd.js +0 -74
- package/bundles/volosoft-abp.ng.theme.lepton-x-layouts.umd.js.map +0 -1
- package/bundles/volosoft-abp.ng.theme.lepton-x.umd.js +0 -746
- package/bundles/volosoft-abp.ng.theme.lepton-x.umd.js.map +0 -1
- package/esm2015/account/account/account-layout.component.js +0 -13
- package/esm2015/account/account/account-layout.module.js +0 -50
- package/esm2015/account/account/components/auth-wrapper/auth-wrapper.component.js +0 -23
- package/esm2015/account/account/components/index.js +0 -3
- package/esm2015/account/account/components/tenant-box/tenant-box.component.js +0 -18
- package/esm2015/account/account/index.js +0 -4
- package/esm2015/account/public-api.js +0 -2
- package/esm2015/account/volosoft-abp.ng.theme.lepton-x-account.js +0 -5
- package/esm2015/layouts/public-api.js +0 -2
- package/esm2015/layouts/side-menu/index.js +0 -2
- package/esm2015/layouts/side-menu/layout/index.js +0 -3
- package/esm2015/layouts/side-menu/layout/side-menu-application-layout.component.js +0 -19
- package/esm2015/layouts/side-menu/layout/side-menu-layout.module.js +0 -39
- package/esm2015/layouts/volosoft-abp.ng.theme.lepton-x-layouts.js +0 -5
- package/esm2015/lib/components/abp-validation-error/abp-validation-error.component.js +0 -35
- package/esm2015/lib/components/abp-validation-error/abp-validation-error.module.js +0 -34
- package/esm2015/lib/components/abp-validation-error/index.js +0 -3
- package/esm2015/lib/components/index.js +0 -3
- package/esm2015/lib/components/page-alert-container/index.js +0 -3
- package/esm2015/lib/components/page-alert-container/page-alert-container.component.js +0 -17
- package/esm2015/lib/components/page-alert-container/page-alert-container.module.js +0 -14
- package/esm2015/lib/enums/components.js +0 -2
- package/esm2015/lib/enums/index.js +0 -2
- package/esm2015/lib/index.js +0 -5
- package/esm2015/lib/lepton-x.module.js +0 -104
- package/esm2015/lib/services/abp-navbar.service.js +0 -43
- package/esm2015/lib/services/abp-settings.service.js +0 -101
- package/esm2015/lib/services/abp-toolbar.service.js +0 -35
- package/esm2015/lib/services/index.js +0 -5
- package/esm2015/lib/services/page-render-strategy.service.js +0 -13
- package/esm2015/public-api.js +0 -2
- package/esm2015/volosoft-abp.ng.theme.lepton-x.js +0 -5
- package/fesm2015/volosoft-abp.ng.theme.lepton-x-account.js +0 -104
- package/fesm2015/volosoft-abp.ng.theme.lepton-x-account.js.map +0 -1
- package/fesm2015/volosoft-abp.ng.theme.lepton-x-layouts.js +0 -63
- package/fesm2015/volosoft-abp.ng.theme.lepton-x-layouts.js.map +0 -1
- package/fesm2015/volosoft-abp.ng.theme.lepton-x.js +0 -371
- package/fesm2015/volosoft-abp.ng.theme.lepton-x.js.map +0 -1
- package/layouts/public-api.d.ts +0 -2
- package/layouts/public-api.d.ts.map +0 -1
- package/layouts/side-menu/index.d.ts.map +0 -1
- package/layouts/side-menu/layout/index.d.ts.map +0 -1
- package/layouts/side-menu/layout/side-menu-application-layout.component.d.ts.map +0 -1
- package/layouts/side-menu/layout/side-menu-layout.module.d.ts.map +0 -1
- package/layouts/volosoft-abp.ng.theme.lepton-x-layouts.d.ts.map +0 -1
- package/layouts/volosoft-abp.ng.theme.lepton-x-layouts.metadata.json +0 -1
- package/lib/components/abp-validation-error/abp-validation-error.component.d.ts.map +0 -1
- package/lib/components/abp-validation-error/abp-validation-error.module.d.ts.map +0 -1
- package/lib/components/abp-validation-error/index.d.ts.map +0 -1
- package/lib/components/index.d.ts.map +0 -1
- package/lib/components/page-alert-container/index.d.ts.map +0 -1
- package/lib/components/page-alert-container/page-alert-container.component.d.ts.map +0 -1
- package/lib/components/page-alert-container/page-alert-container.module.d.ts.map +0 -1
- package/lib/enums/components.d.ts.map +0 -1
- package/lib/enums/index.d.ts.map +0 -1
- package/lib/index.d.ts.map +0 -1
- package/lib/lepton-x.module.d.ts.map +0 -1
- package/lib/services/abp-navbar.service.d.ts +0 -12
- package/lib/services/abp-navbar.service.d.ts.map +0 -1
- package/lib/services/abp-settings.service.d.ts.map +0 -1
- package/lib/services/abp-toolbar.service.d.ts.map +0 -1
- package/lib/services/index.d.ts.map +0 -1
- package/lib/services/page-render-strategy.service.d.ts.map +0 -1
- package/public-api.d.ts +0 -2
- package/public-api.d.ts.map +0 -1
- package/styles/ant-tree/_index.scss +0 -16
- package/styles/index.scss +0 -5
- package/styles/legacy-compatible/_index.scss +0 -15
- package/styles/ngx-datatable/_index.scss +0 -41
- package/styles/uppy/_index.scss +0 -23
- package/volosoft-abp.ng.theme.lepton-x.d.ts.map +0 -1
- package/volosoft-abp.ng.theme.lepton-x.metadata.json +0 -1
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { Validation, ValidationErrorComponent } from '@ngx-validate/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class AbpValidationErrorComponent extends ValidationErrorComponent {
|
|
3
4
|
get abpErrors(): Validation.Error[] & {
|
|
4
5
|
interpoliteParams?: string[];
|
|
5
6
|
};
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbpValidationErrorComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AbpValidationErrorComponent, "abp-validation-error", never, {}, {}, never, never>;
|
|
6
9
|
}
|
|
7
|
-
//# sourceMappingURL=abp-validation-error.component.d.ts.map
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./abp-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";
|
|
2
7
|
export declare class AbpValidationErrorModule {
|
|
3
8
|
static forRoot(): ModuleWithProviders<AbpValidationErrorModule>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbpValidationErrorModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AbpValidationErrorModule, [typeof i1.AbpValidationErrorComponent], [typeof i2.CommonModule, typeof i3.CoreModule, typeof i4.NgxValidateCoreModule], [typeof i1.AbpValidationErrorComponent, typeof i4.NgxValidateCoreModule]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AbpValidationErrorModule>;
|
|
4
12
|
}
|
|
5
|
-
//# sourceMappingURL=abp-validation-error.module.d.ts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Subject } from 'rxjs';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class HttpErrorComponent {
|
|
4
|
+
errorStatus: string;
|
|
5
|
+
get errorStatusText(): string;
|
|
6
|
+
get errorDetail(): string;
|
|
7
|
+
destroy$: Subject<void>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HttpErrorComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HttpErrorComponent, "abp-http-error", never, {}, {}, never, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./http-error.component";
|
|
3
|
+
import * as i2 from "@abp/ng.core";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
export declare class HttpErrorModule {
|
|
6
|
+
static forRoot(): {
|
|
7
|
+
ngModule: typeof HttpErrorModule;
|
|
8
|
+
providers: any[];
|
|
9
|
+
};
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HttpErrorModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HttpErrorModule, [typeof i1.HttpErrorComponent], [typeof i2.CoreModule, typeof i3.CommonModule], [typeof i1.HttpErrorComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<HttpErrorModule>;
|
|
13
|
+
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { PageAlertService } from '@abp/ng.theme.shared';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class PageAlertContainerComponent {
|
|
3
4
|
service: PageAlertService;
|
|
4
5
|
constructor(service: PageAlertService);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageAlertContainerComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PageAlertContainerComponent, "abp-page-alert-container", never, {}, {}, never, never>;
|
|
5
8
|
}
|
|
6
|
-
//# sourceMappingURL=page-alert-container.component.d.ts.map
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./page-alert-container.component";
|
|
3
|
+
import * as i2 from "@abp/ng.theme.shared";
|
|
4
|
+
import * as i3 from "@abp/ng.core";
|
|
1
5
|
export declare class PageAlertContainerModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageAlertContainerModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PageAlertContainerModule, [typeof i1.PageAlertContainerComponent], [typeof i2.ThemeSharedModule, typeof i3.CoreModule], [typeof i1.PageAlertContainerComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PageAlertContainerModule>;
|
|
2
9
|
}
|
|
3
|
-
//# sourceMappingURL=page-alert-container.module.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const enum
|
|
1
|
+
export declare const enum eThemeLeptonXComponents {
|
|
2
2
|
AccountLayout = "Theme.AccountLayoutComponent",
|
|
3
3
|
ApplicationLayout = "Theme.ApplicationLayoutComponent",
|
|
4
4
|
ApplicationLayoutHeader = "Theme.ApplicationLayoutHeaderComponent",
|
|
@@ -15,4 +15,3 @@ export declare const enum eThemeLeptonComponents {
|
|
|
15
15
|
NavItems = "Theme.NavItemsComponent",
|
|
16
16
|
Sidebar = "Theme.Sidebar"
|
|
17
17
|
}
|
|
18
|
-
//# sourceMappingURL=components.d.ts.map
|
package/lib/enums/index.d.ts
CHANGED
package/lib/index.d.ts
CHANGED
package/lib/lepton-x.module.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import { LpxOptions } from '@volosoft/ngx-lepton-x';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "./components/http-error/http-error.module";
|
|
5
|
+
export declare type ThemeLeptonXModuleOptions = LpxOptions;
|
|
6
6
|
export declare class ThemeLeptonXModule {
|
|
7
|
-
static forRoot(): ModuleWithProviders<ThemeLeptonXModule>;
|
|
7
|
+
static forRoot(options?: ThemeLeptonXModuleOptions): ModuleWithProviders<ThemeLeptonXModule>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeLeptonXModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ThemeLeptonXModule, never, [typeof i1.HttpErrorModule], [typeof i1.HttpErrorModule]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ThemeLeptonXModule>;
|
|
8
11
|
}
|
|
9
|
-
export declare function initServices(navbar: AbpNavbarService, abpToolbar: AbpToolbarService, setting: AbpSettingsService): () => void;
|
|
10
|
-
export declare function initStyles(): () => Promise<void>;
|
|
11
|
-
export declare function loadHandler(injector: Injector): (style: LpxStyle) => void;
|
|
12
|
-
//# sourceMappingURL=lepton-x.module.d.ts.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Provider } from '@angular/core';
|
|
2
|
+
import { AbpNavbarService } from '@volo/abp.ng.lepton-x.core';
|
|
3
|
+
import { AbpToolbarService } from '../services/abp-toolbar.service';
|
|
4
|
+
import { AbpSettingsService } from '../services/abp-settings.service';
|
|
5
|
+
export declare const INIT_SERVICE_PROVIDER: Provider;
|
|
6
|
+
export declare function initServices(navbar: AbpNavbarService, abpToolbar: AbpToolbarService, setting: AbpSettingsService): () => void;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AuthService, UserProfileService } from '@volo/ngx-lepton-x.core';
|
|
2
|
+
import { AuthService as AuthCoreService } from '@abp/ng.core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AbpAuthService implements AuthService {
|
|
5
|
+
private userProfileService;
|
|
6
|
+
private authService;
|
|
7
|
+
constructor(userProfileService: UserProfileService, authService: AuthCoreService);
|
|
8
|
+
isUserExists$: import("rxjs").Observable<boolean>;
|
|
9
|
+
navigateToLogin(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbpAuthService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AbpAuthService>;
|
|
12
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { BehaviorSubject } from 'rxjs';
|
|
2
2
|
import { LanguageService, UserProfileService } from '@volo/ngx-lepton-x.core';
|
|
3
|
-
import { AuthService, ConfigStateService, SessionStateService } from '@abp/ng.core';
|
|
3
|
+
import { AuthService, ConfigStateService, LocalizationService, SessionStateService } from '@abp/ng.core';
|
|
4
4
|
import { ProfilePictureImage } from '@volo/abp.commercial.ng.ui/config';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class AbpSettingsService {
|
|
6
7
|
private sessionService;
|
|
7
8
|
private configStateService;
|
|
@@ -11,10 +12,15 @@ export declare class AbpSettingsService {
|
|
|
11
12
|
private profilePicture$;
|
|
12
13
|
navigateToManageProfile: any;
|
|
13
14
|
navigateToMySecurityLogs: any;
|
|
14
|
-
|
|
15
|
+
openMyLinkUsersModal: any;
|
|
16
|
+
private localizationService;
|
|
17
|
+
constructor(sessionService: SessionStateService, configStateService: ConfigStateService, languageService: LanguageService, authService: AuthService, userProfileService: UserProfileService, profilePicture$: BehaviorSubject<ProfilePictureImage>, navigateToManageProfile: any, navigateToMySecurityLogs: any, openMyLinkUsersModal: any, localizationService: LocalizationService);
|
|
15
18
|
setUpListeners(): void;
|
|
16
19
|
setUserProfile(): void;
|
|
20
|
+
setUserMenuGroups(): void;
|
|
21
|
+
setProfilePicture(): void;
|
|
17
22
|
setLanguageOptions(): void;
|
|
18
23
|
listenToLangChange(): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbpSettingsService, [null, null, null, null, null, null, null, null, { optional: true; }, null]>;
|
|
25
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AbpSettingsService>;
|
|
19
26
|
}
|
|
20
|
-
//# sourceMappingURL=abp-settings.service.d.ts.map
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { ToolbarService } from '@volosoft/ngx-lepton-x/layouts';
|
|
2
2
|
import { NavItemsService } from '@abp/ng.theme.shared';
|
|
3
3
|
import { PermissionService } from '@abp/ng.core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class AbpToolbarService {
|
|
5
6
|
private toolbar;
|
|
6
7
|
private navItems;
|
|
7
8
|
private permissionService;
|
|
8
9
|
constructor(toolbar: ToolbarService, navItems: NavItemsService, permissionService: PermissionService);
|
|
9
10
|
listenNavItems(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbpToolbarService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AbpToolbarService>;
|
|
10
13
|
}
|
|
11
|
-
//# sourceMappingURL=abp-toolbar.service.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbpTranslateService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AbpTranslateService>;
|
|
12
|
+
}
|
package/lib/services/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './abp-navbar.service';
|
|
2
1
|
export * from './abp-settings.service';
|
|
3
2
|
export * from './abp-toolbar.service';
|
|
3
|
+
export * from './abp-translate.service';
|
|
4
4
|
export * from './page-render-strategy.service';
|
|
5
|
-
|
|
5
|
+
export * from './abp-auth.service';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { PageRenderStrategy } from '@abp/ng.components/page';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class LeptonXPageRenderService implements PageRenderStrategy {
|
|
3
|
-
constructor();
|
|
4
4
|
shouldRender(type: string): boolean;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LeptonXPageRenderService, never>;
|
|
6
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LeptonXPageRenderService>;
|
|
5
7
|
}
|
|
6
|
-
//# sourceMappingURL=page-render-strategy.service.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,26 +1,78 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volosoft/abp.ng.theme.lepton-x",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-beta.2",
|
|
4
4
|
"homepage": "https://abp.io",
|
|
5
|
-
"dependencies": {
|
|
6
|
-
"@volosoft/ngx-lepton-x": "1.0.0-alpha.1",
|
|
7
|
-
"tslib": "^2.2.0"
|
|
8
|
-
},
|
|
9
5
|
"peerDependencies": {
|
|
10
|
-
"@abp/ng.components": "~
|
|
11
|
-
"@abp/ng.theme.shared": "~
|
|
12
|
-
"@volo/abp.commercial.ng.ui": "~
|
|
13
|
-
"@volo/abp.ng.account.core": "~
|
|
6
|
+
"@abp/ng.components": "~5.1.1",
|
|
7
|
+
"@abp/ng.theme.shared": "~5.1.1",
|
|
8
|
+
"@volo/abp.commercial.ng.ui": "~5.1.1",
|
|
9
|
+
"@volo/abp.ng.account.core": "~5.1.1",
|
|
10
|
+
"@volo/ngx-lepton-x.core": "1.0.0-beta.2",
|
|
11
|
+
"@angular/core": "13.1.2",
|
|
12
|
+
"@angular/common": "13.1.2",
|
|
13
|
+
"@angular/router": "13.1.2",
|
|
14
|
+
"rxjs": "~6.6.0",
|
|
15
|
+
"@angular/forms": "13.1.2",
|
|
16
|
+
"@angular/platform-browser-dynamic": "13.1.2",
|
|
17
|
+
"@angular/platform-browser": "13.1.2",
|
|
18
|
+
"ng-observe": "^1.1.0",
|
|
19
|
+
"ngx-perfect-scrollbar": "^10.1.0",
|
|
20
|
+
"bootstrap-icons": "^1.7.0",
|
|
21
|
+
"@ng-bootstrap/ng-bootstrap": "^12.0.0-beta.4"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"tslib": "^2.3.0",
|
|
25
|
+
"@volosoft/ngx-lepton-x": "1.0.0-beta.2",
|
|
26
|
+
"@volo/abp.ng.lepton-x.core": "1.0.0-beta.2"
|
|
14
27
|
},
|
|
15
28
|
"publishConfig": {
|
|
16
29
|
"access": "public"
|
|
17
30
|
},
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
31
|
+
"exports": {
|
|
32
|
+
"./assets/*": {
|
|
33
|
+
"default": "./assets/*"
|
|
34
|
+
},
|
|
35
|
+
"./package.json": {
|
|
36
|
+
"default": "./package.json"
|
|
37
|
+
},
|
|
38
|
+
".": {
|
|
39
|
+
"types": "./volosoft-abp.ng.theme.lepton-x.d.ts",
|
|
40
|
+
"esm2020": "./esm2020/volosoft-abp.ng.theme.lepton-x.mjs",
|
|
41
|
+
"es2020": "./fesm2020/volosoft-abp.ng.theme.lepton-x.mjs",
|
|
42
|
+
"es2015": "./fesm2015/volosoft-abp.ng.theme.lepton-x.mjs",
|
|
43
|
+
"node": "./fesm2015/volosoft-abp.ng.theme.lepton-x.mjs",
|
|
44
|
+
"default": "./fesm2020/volosoft-abp.ng.theme.lepton-x.mjs"
|
|
45
|
+
},
|
|
46
|
+
"./account": {
|
|
47
|
+
"types": "./account/volosoft-abp.ng.theme.lepton-x-account.d.ts",
|
|
48
|
+
"esm2020": "./esm2020/account/volosoft-abp.ng.theme.lepton-x-account.mjs",
|
|
49
|
+
"es2020": "./fesm2020/volosoft-abp.ng.theme.lepton-x-account.mjs",
|
|
50
|
+
"es2015": "./fesm2015/volosoft-abp.ng.theme.lepton-x-account.mjs",
|
|
51
|
+
"node": "./fesm2015/volosoft-abp.ng.theme.lepton-x-account.mjs",
|
|
52
|
+
"default": "./fesm2020/volosoft-abp.ng.theme.lepton-x-account.mjs"
|
|
53
|
+
},
|
|
54
|
+
"./layouts": {
|
|
55
|
+
"types": "./layouts/volosoft-abp.ng.theme.lepton-x-layouts.d.ts",
|
|
56
|
+
"esm2020": "./esm2020/layouts/volosoft-abp.ng.theme.lepton-x-layouts.mjs",
|
|
57
|
+
"es2020": "./fesm2020/volosoft-abp.ng.theme.lepton-x-layouts.mjs",
|
|
58
|
+
"es2015": "./fesm2015/volosoft-abp.ng.theme.lepton-x-layouts.mjs",
|
|
59
|
+
"node": "./fesm2015/volosoft-abp.ng.theme.lepton-x-layouts.mjs",
|
|
60
|
+
"default": "./fesm2020/volosoft-abp.ng.theme.lepton-x-layouts.mjs"
|
|
61
|
+
},
|
|
62
|
+
"./styles": {
|
|
63
|
+
"types": "./styles/volosoft-abp.ng.theme.lepton-x-styles.d.ts",
|
|
64
|
+
"esm2020": "./esm2020/styles/volosoft-abp.ng.theme.lepton-x-styles.mjs",
|
|
65
|
+
"es2020": "./fesm2020/volosoft-abp.ng.theme.lepton-x-styles.mjs",
|
|
66
|
+
"es2015": "./fesm2015/volosoft-abp.ng.theme.lepton-x-styles.mjs",
|
|
67
|
+
"node": "./fesm2015/volosoft-abp.ng.theme.lepton-x-styles.mjs",
|
|
68
|
+
"default": "./fesm2020/volosoft-abp.ng.theme.lepton-x-styles.mjs"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"module": "fesm2015/volosoft-abp.ng.theme.lepton-x.mjs",
|
|
72
|
+
"es2020": "fesm2020/volosoft-abp.ng.theme.lepton-x.mjs",
|
|
73
|
+
"esm2020": "esm2020/volosoft-abp.ng.theme.lepton-x.mjs",
|
|
74
|
+
"fesm2020": "fesm2020/volosoft-abp.ng.theme.lepton-x.mjs",
|
|
75
|
+
"fesm2015": "fesm2015/volosoft-abp.ng.theme.lepton-x.mjs",
|
|
23
76
|
"typings": "volosoft-abp.ng.theme.lepton-x.d.ts",
|
|
24
|
-
"metadata": "volosoft-abp.ng.theme.lepton-x.metadata.json",
|
|
25
77
|
"sideEffects": false
|
|
26
|
-
}
|
|
78
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './lib';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './style-load.handler';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './handler';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"module": "../fesm2015/volosoft-abp.ng.theme.lepton-x-styles.mjs",
|
|
3
|
+
"es2020": "../fesm2020/volosoft-abp.ng.theme.lepton-x-styles.mjs",
|
|
4
|
+
"esm2020": "../esm2020/styles/volosoft-abp.ng.theme.lepton-x-styles.mjs",
|
|
5
|
+
"fesm2020": "../fesm2020/volosoft-abp.ng.theme.lepton-x-styles.mjs",
|
|
6
|
+
"fesm2015": "../fesm2015/volosoft-abp.ng.theme.lepton-x-styles.mjs",
|
|
7
|
+
"typings": "volosoft-abp.ng.theme.lepton-x-styles.d.ts",
|
|
8
|
+
"sideEffects": false,
|
|
9
|
+
"name": "@volosoft/abp.ng.theme.lepton-x/styles"
|
|
10
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"account-layout.component.d.ts","sourceRoot":"","sources":["../../../../projects/volo-lepton-x/account/src/account/account-layout.component.ts"],"names":[],"mappings":"AAEA,qBAIa,sBAAsB;IACjC,cAAc,SAAyB;CACxC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"account-layout.module.d.ts","sourceRoot":"","sources":["../../../../projects/volo-lepton-x/account/src/account/account-layout.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,QAAQ,EAAE,mBAAmB,EAAsB,MAAM,eAAe,CAAC;AACnG,OAAO,EAAoB,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAUrF,MAAM,WAAW,oBAAoB;IACnC,MAAM,CAAC,EAAE,iBAAiB,CAAC;CAC5B;AAED,qBAWa,mBAAmB;IAC9B,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,oBAAoB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC;CAczF;AAED,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,QAAQ,cASnD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth-wrapper.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/volo-lepton-x/account/src/account/components/auth-wrapper/auth-wrapper.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,qBAKa,oBAAqB,YAAW,MAAM;IAC9B,OAAO,EAAE,kBAAkB;gBAA3B,OAAO,EAAE,kBAAkB;IAE9C,QAAQ,IAAI,IAAI;CAKjB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/volo-lepton-x/account/src/account/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAC;AAClD,cAAc,uCAAuC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tenant-box.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/volo-lepton-x/account/src/account/components/tenant-box/tenant-box.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAE7D,qBAKa,kBAAkB;IACV,OAAO,EAAE,gBAAgB;gBAAzB,OAAO,EAAE,gBAAgB;CAC7C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../projects/volo-lepton-x/account/src/account/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC"}
|
package/account/public-api.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../../projects/volo-lepton-x/account/src/public-api.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"volosoft-abp.ng.theme.lepton-x-account.d.ts","sourceRoot":"","sources":["../../../projects/volo-lepton-x/account/src/volosoft-abp.ng.theme.lepton-x-account.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,cAAc,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"__symbolic":"module","version":4,"metadata":{"AccountLayoutOptions":{"__symbolic":"interface"},"AccountLayoutModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":15,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@volosoft/ngx-lepton-x/layouts","name":"AuthLayoutModule","line":17,"character":4},{"__symbolic":"reference","module":"@volosoft/ngx-lepton-x","name":"ContextMenuModule","line":18,"character":4},{"__symbolic":"reference","module":"@abp/ng.core","name":"CoreModule","line":19,"character":4},{"__symbolic":"reference","module":"@abp/ng.theme.shared","name":"ThemeSharedModule","line":20,"character":4},{"__symbolic":"reference","module":"@ng-bootstrap/ng-bootstrap","name":"NgbDropdownModule","line":21,"character":4},{"__symbolic":"reference","module":"@volosoft/abp.ng.theme.lepton-x","name":"PageAlertContainerModule","line":22,"character":4}],"declarations":[{"__symbolic":"reference","name":"AuthWrapperComponent"},{"__symbolic":"reference","name":"TenantBoxComponent"},{"__symbolic":"reference","name":"AccountLayoutComponent"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["options"],"value":{"ngModule":{"__symbolic":"reference","name":"AccountLayoutModule"},"providers":[{"provide":{"__symbolic":"reference","module":"@angular/core","name":"APP_INITIALIZER","line":32,"character":19},"useFactory":{"__symbolic":"reference","name":"initAccountLayout"},"deps":[{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":34,"character":17}],"multi":true},{"__symbolic":"select","expression":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@volosoft/ngx-lepton-x/layouts","name":"AuthLayoutModule","line":37,"character":8},"member":"forRoot"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"options"},"member":"layout"}]},"member":"providers"}]}}}},"initAccountLayout":{"__symbolic":"function"},"AccountLayoutComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"abp-account-layout","template":"<lpx-auth-layout>\n <abp-page-alert-container></abp-page-alert-container>\n <abp-auth-wrapper\n *abpReplaceableTemplate=\"{\n componentKey: authWrapperKey\n }\">\n <router-outlet></router-outlet>\n </abp-auth-wrapper>\n</lpx-auth-layout>\n"}]}],"members":{}},"TenantBoxComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"abp-tenant-box","providers":[{"__symbolic":"reference","module":"@volo/abp.ng.account.core","name":"TenantBoxService","line":6,"character":14}],"template":"<ng-container *ngIf=\"(service.currentTenant$ | async) || {} as currentTenant\">\n <div class=\"card-header bg-light\">\n <div class=\"tenant-switch-box\">\n <div class=\"row\">\n <div class=\"col pr-1\">\n <h6 class=\"m0\">\n {{ 'AbpUiMultiTenancy::Tenant' | abpLocalization }}\n </h6>\n <i>{{ currentTenant.name || ('AbpUiMultiTenancy::NotSelected' | abpLocalization) }}</i>\n </div>\n\n <div class=\"col-auto pl-1\">\n <a\n id=\"abp-tenant-switch-link\"\n class=\"btn btn-sm btn-outline-primary float-right pointer\"\n (click)=\"service.onSwitch()\"\n href=\"javascript:void(0)\"\n >{{ 'AbpUiMultiTenancy::Switch' | abpLocalization }}</a\n >\n </div>\n </div>\n </div>\n </div>\n\n <abp-modal [(visible)]=\"service.isModalVisible\" [busy]=\"service.modalBusy\" size=\"md\">\n <ng-template #abpHeader>\n <h5>Switch Tenant</h5>\n </ng-template>\n <ng-template #abpBody>\n <form (ngSubmit)=\"service.save()\">\n <div class=\"mt-2\">\n <div class=\"form-group\">\n <label for=\"name\">{{ 'AbpUiMultiTenancy::Name' | abpLocalization }}</label>\n <input\n [(ngModel)]=\"service.name\"\n type=\"text\"\n id=\"name\"\n name=\"tenant\"\n class=\"form-control\"\n autofocus\n />\n </div>\n <p>{{ 'AbpUiMultiTenancy::SwitchTenantHint' | abpLocalization }}</p>\n </div>\n </form>\n </ng-template>\n <ng-template #abpFooter>\n <button abpClose type=\"button\" class=\"btn btn-secondary\">\n {{ 'AbpAccount::Cancel' | abpLocalization }}\n </button>\n <abp-button\n type=\"abp-button\"\n iconClass=\"fa fa-check\"\n (click)=\"service.save()\"\n [disabled]=\"currentTenant?.name === service.name\"\n >\n {{ 'AbpAccount::Save' | abpLocalization }}\n </abp-button>\n </ng-template>\n </abp-modal>\n</ng-container>\n"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@volo/abp.ng.account.core","name":"TenantBoxService","line":9,"character":30}]}]}},"AuthWrapperComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"abp-auth-wrapper","providers":[{"__symbolic":"reference","module":"@volo/abp.ng.account.core","name":"AuthWrapperService","line":6,"character":14}],"template":"<div class=\"d-flex justify-content-between\">\n <h2>\n <strong>{{ service.pageLabel | abpLocalization }}</strong>\n </h2>\n <div class=\"dropdown\" ngbDropdown>\n <a\n *ngIf=\"service.defaultLanguage$ | async as defaultLang\"\n class=\"pointer\"\n role=\"button\"\n id=\"dropdownMenuLink\"\n ngbDropdownToggle\n [class.dropdown-toggle]=\"false\"\n >\n <i class=\"bi bi-globe\"></i>\n <span class=\"ml-2\">{{ defaultLang.displayName }}</span>\n </a>\n <div\n ngbDropdownMenu\n class=\"dropdown-menu dropdown-menu-right\"\n *ngIf=\"(service.dropdownLanguages$ | async).length > 0\"\n >\n <a\n *ngFor=\"let lang of service.dropdownLanguages$ | async\"\n class=\"dropdown-item pointer\"\n (click)=\"service.onChangeLang(lang.cultureName)\"\n >\n {{ lang?.displayName }}</a\n >\n </div>\n </div>\n</div>\n<ng-container *ngIf=\"(service.isMultiTenancyEnabled$ | async) && service.isTenantBoxVisible\">\n <abp-tenant-box *abpReplaceableTemplate=\"{ componentKey: service.tenantBoxKey }\"></abp-tenant-box>\n</ng-container>\n<div *ngIf=\"service.enableLocalLogin$ | async; else disableLocalLoginTemplate\">\n <ng-content></ng-content>\n</div>\n<ng-template #disableLocalLoginTemplate>\n <div class=\"alert alert-warning\">\n <strong>{{ 'AbpAccount::InvalidLoginRequest' | abpLocalization }}</strong>\n {{ 'AbpAccount::ThereAreNoLoginSchemesConfiguredForThisClient' | abpLocalization }}\n </div>\n</ng-template>\n"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@volo/abp.ng.account.core","name":"AuthWrapperService","line":9,"character":30}]}],"ngOnInit":[{"__symbolic":"method"}]}}},"origins":{"AccountLayoutOptions":"./account/account-layout.module","AccountLayoutModule":"./account/account-layout.module","initAccountLayout":"./account/account-layout.module","AccountLayoutComponent":"./account/account-layout.component","TenantBoxComponent":"./account/components/tenant-box/tenant-box.component","AuthWrapperComponent":"./account/components/auth-wrapper/auth-wrapper.component"},"importAs":"@volosoft/abp.ng.theme.lepton-x/account"}
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@volosoft/ngx-lepton-x/layouts'), require('@volosoft/abp.ng.theme.lepton-x'), require('@abp/ng.core'), require('@abp/ng.theme.shared'), require('@volosoft/ngx-lepton-x'), require('@ng-bootstrap/ng-bootstrap'), require('@volo/abp.ng.account.core')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@volosoft/abp.ng.theme.lepton-x/account', ['exports', '@angular/core', '@volosoft/ngx-lepton-x/layouts', '@volosoft/abp.ng.theme.lepton-x', '@abp/ng.core', '@abp/ng.theme.shared', '@volosoft/ngx-lepton-x', '@ng-bootstrap/ng-bootstrap', '@volo/abp.ng.account.core'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.volosoft = global.volosoft || {}, global.volosoft.abp = global.volosoft.abp || {}, global.volosoft.abp.ng = global.volosoft.abp.ng || {}, global.volosoft.abp.ng.theme = global.volosoft.abp.ng.theme || {}, global.volosoft.abp.ng.theme['lepton-x'] = global.volosoft.abp.ng.theme['lepton-x'] || {}, global.volosoft.abp.ng.theme['lepton-x'].account = {}), global.ng.core, global.layouts, global.volosoft.abp.ng.theme['lepton-x'], global.ng_core, global.ng_theme_shared, global.ngxLeptonX, global.ngBootstrap, global.abp_ng_account_core));
|
|
5
|
-
}(this, (function (exports, core, layouts, abp_ng_theme_leptonX, ng_core, ng_theme_shared, ngxLeptonX, ngBootstrap, abp_ng_account_core) { 'use strict';
|
|
6
|
-
|
|
7
|
-
var AuthWrapperComponent = /** @class */ (function () {
|
|
8
|
-
function AuthWrapperComponent(service) {
|
|
9
|
-
this.service = service;
|
|
10
|
-
}
|
|
11
|
-
AuthWrapperComponent.prototype.ngOnInit = function () {
|
|
12
|
-
// TODO: REMOVE WHEN 4.4.0 release
|
|
13
|
-
this.service.setTenantBoxVisibility();
|
|
14
|
-
this.service.listenToNavigationEnd();
|
|
15
|
-
};
|
|
16
|
-
return AuthWrapperComponent;
|
|
17
|
-
}());
|
|
18
|
-
AuthWrapperComponent.decorators = [
|
|
19
|
-
{ type: core.Component, args: [{
|
|
20
|
-
selector: 'abp-auth-wrapper',
|
|
21
|
-
template: "<div class=\"d-flex justify-content-between\">\n <h2>\n <strong>{{ service.pageLabel | abpLocalization }}</strong>\n </h2>\n <div class=\"dropdown\" ngbDropdown>\n <a\n *ngIf=\"service.defaultLanguage$ | async as defaultLang\"\n class=\"pointer\"\n role=\"button\"\n id=\"dropdownMenuLink\"\n ngbDropdownToggle\n [class.dropdown-toggle]=\"false\"\n >\n <i class=\"bi bi-globe\"></i>\n <span class=\"ml-2\">{{ defaultLang.displayName }}</span>\n </a>\n <div\n ngbDropdownMenu\n class=\"dropdown-menu dropdown-menu-right\"\n *ngIf=\"(service.dropdownLanguages$ | async).length > 0\"\n >\n <a\n *ngFor=\"let lang of service.dropdownLanguages$ | async\"\n class=\"dropdown-item pointer\"\n (click)=\"service.onChangeLang(lang.cultureName)\"\n >\n {{ lang?.displayName }}</a\n >\n </div>\n </div>\n</div>\n<ng-container *ngIf=\"(service.isMultiTenancyEnabled$ | async) && service.isTenantBoxVisible\">\n <abp-tenant-box *abpReplaceableTemplate=\"{ componentKey: service.tenantBoxKey }\"></abp-tenant-box>\n</ng-container>\n<div *ngIf=\"service.enableLocalLogin$ | async; else disableLocalLoginTemplate\">\n <ng-content></ng-content>\n</div>\n<ng-template #disableLocalLoginTemplate>\n <div class=\"alert alert-warning\">\n <strong>{{ 'AbpAccount::InvalidLoginRequest' | abpLocalization }}</strong>\n {{ 'AbpAccount::ThereAreNoLoginSchemesConfiguredForThisClient' | abpLocalization }}\n </div>\n</ng-template>\n",
|
|
22
|
-
providers: [abp_ng_account_core.AuthWrapperService]
|
|
23
|
-
},] }
|
|
24
|
-
];
|
|
25
|
-
AuthWrapperComponent.ctorParameters = function () { return [
|
|
26
|
-
{ type: abp_ng_account_core.AuthWrapperService }
|
|
27
|
-
]; };
|
|
28
|
-
|
|
29
|
-
var TenantBoxComponent = /** @class */ (function () {
|
|
30
|
-
function TenantBoxComponent(service) {
|
|
31
|
-
this.service = service;
|
|
32
|
-
}
|
|
33
|
-
return TenantBoxComponent;
|
|
34
|
-
}());
|
|
35
|
-
TenantBoxComponent.decorators = [
|
|
36
|
-
{ type: core.Component, args: [{
|
|
37
|
-
selector: 'abp-tenant-box',
|
|
38
|
-
template: "<ng-container *ngIf=\"(service.currentTenant$ | async) || {} as currentTenant\">\n <div class=\"card-header bg-light\">\n <div class=\"tenant-switch-box\">\n <div class=\"row\">\n <div class=\"col pr-1\">\n <h6 class=\"m0\">\n {{ 'AbpUiMultiTenancy::Tenant' | abpLocalization }}\n </h6>\n <i>{{ currentTenant.name || ('AbpUiMultiTenancy::NotSelected' | abpLocalization) }}</i>\n </div>\n\n <div class=\"col-auto pl-1\">\n <a\n id=\"abp-tenant-switch-link\"\n class=\"btn btn-sm btn-outline-primary float-right pointer\"\n (click)=\"service.onSwitch()\"\n href=\"javascript:void(0)\"\n >{{ 'AbpUiMultiTenancy::Switch' | abpLocalization }}</a\n >\n </div>\n </div>\n </div>\n </div>\n\n <abp-modal [(visible)]=\"service.isModalVisible\" [busy]=\"service.modalBusy\" size=\"md\">\n <ng-template #abpHeader>\n <h5>Switch Tenant</h5>\n </ng-template>\n <ng-template #abpBody>\n <form (ngSubmit)=\"service.save()\">\n <div class=\"mt-2\">\n <div class=\"form-group\">\n <label for=\"name\">{{ 'AbpUiMultiTenancy::Name' | abpLocalization }}</label>\n <input\n [(ngModel)]=\"service.name\"\n type=\"text\"\n id=\"name\"\n name=\"tenant\"\n class=\"form-control\"\n autofocus\n />\n </div>\n <p>{{ 'AbpUiMultiTenancy::SwitchTenantHint' | abpLocalization }}</p>\n </div>\n </form>\n </ng-template>\n <ng-template #abpFooter>\n <button abpClose type=\"button\" class=\"btn btn-secondary\">\n {{ 'AbpAccount::Cancel' | abpLocalization }}\n </button>\n <abp-button\n type=\"abp-button\"\n iconClass=\"fa fa-check\"\n (click)=\"service.save()\"\n [disabled]=\"currentTenant?.name === service.name\"\n >\n {{ 'AbpAccount::Save' | abpLocalization }}\n </abp-button>\n </ng-template>\n </abp-modal>\n</ng-container>\n",
|
|
39
|
-
providers: [abp_ng_account_core.TenantBoxService]
|
|
40
|
-
},] }
|
|
41
|
-
];
|
|
42
|
-
TenantBoxComponent.ctorParameters = function () { return [
|
|
43
|
-
{ type: abp_ng_account_core.TenantBoxService }
|
|
44
|
-
]; };
|
|
45
|
-
|
|
46
|
-
var AccountLayoutComponent = /** @class */ (function () {
|
|
47
|
-
function AccountLayoutComponent() {
|
|
48
|
-
this.authWrapperKey = 'Account.AuthWrapper';
|
|
49
|
-
}
|
|
50
|
-
return AccountLayoutComponent;
|
|
51
|
-
}());
|
|
52
|
-
AccountLayoutComponent.decorators = [
|
|
53
|
-
{ type: core.Component, args: [{
|
|
54
|
-
selector: 'abp-account-layout',
|
|
55
|
-
template: "<lpx-auth-layout>\n <abp-page-alert-container></abp-page-alert-container>\n <abp-auth-wrapper\n *abpReplaceableTemplate=\"{\n componentKey: authWrapperKey\n }\">\n <router-outlet></router-outlet>\n </abp-auth-wrapper>\n</lpx-auth-layout>\n"
|
|
56
|
-
},] }
|
|
57
|
-
];
|
|
58
|
-
|
|
59
|
-
var AccountLayoutModule = /** @class */ (function () {
|
|
60
|
-
function AccountLayoutModule() {
|
|
61
|
-
}
|
|
62
|
-
AccountLayoutModule.forRoot = function (options) {
|
|
63
|
-
return {
|
|
64
|
-
ngModule: AccountLayoutModule,
|
|
65
|
-
providers: [
|
|
66
|
-
{
|
|
67
|
-
provide: core.APP_INITIALIZER,
|
|
68
|
-
useFactory: initAccountLayout,
|
|
69
|
-
deps: [core.Injector],
|
|
70
|
-
multi: true,
|
|
71
|
-
},
|
|
72
|
-
layouts.AuthLayoutModule.forRoot(options === null || options === void 0 ? void 0 : options.layout).providers,
|
|
73
|
-
],
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
return AccountLayoutModule;
|
|
77
|
-
}());
|
|
78
|
-
AccountLayoutModule.decorators = [
|
|
79
|
-
{ type: core.NgModule, args: [{
|
|
80
|
-
imports: [
|
|
81
|
-
layouts.AuthLayoutModule,
|
|
82
|
-
ngxLeptonX.ContextMenuModule,
|
|
83
|
-
ng_core.CoreModule,
|
|
84
|
-
ng_theme_shared.ThemeSharedModule,
|
|
85
|
-
ngBootstrap.NgbDropdownModule,
|
|
86
|
-
abp_ng_theme_leptonX.PageAlertContainerModule,
|
|
87
|
-
],
|
|
88
|
-
declarations: [AuthWrapperComponent, TenantBoxComponent, AccountLayoutComponent],
|
|
89
|
-
},] }
|
|
90
|
-
];
|
|
91
|
-
function initAccountLayout(injector) {
|
|
92
|
-
function init() {
|
|
93
|
-
var replaceableComponents = injector.get(ng_core.ReplaceableComponentsService);
|
|
94
|
-
replaceableComponents.add({
|
|
95
|
-
key: "Theme.AccountLayoutComponent" /* AccountLayout */,
|
|
96
|
-
component: AccountLayoutComponent,
|
|
97
|
-
});
|
|
98
|
-
}
|
|
99
|
-
return init;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* Generated bundle index. Do not edit.
|
|
104
|
-
*/
|
|
105
|
-
|
|
106
|
-
exports.AccountLayoutComponent = AccountLayoutComponent;
|
|
107
|
-
exports.AccountLayoutModule = AccountLayoutModule;
|
|
108
|
-
exports.AuthWrapperComponent = AuthWrapperComponent;
|
|
109
|
-
exports.TenantBoxComponent = TenantBoxComponent;
|
|
110
|
-
exports.initAccountLayout = initAccountLayout;
|
|
111
|
-
|
|
112
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
113
|
-
|
|
114
|
-
})));
|
|
115
|
-
//# sourceMappingURL=volosoft-abp.ng.theme.lepton-x-account.umd.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"volosoft-abp.ng.theme.lepton-x-account.umd.js","sources":["../../../projects/volo-lepton-x/account/src/account/components/auth-wrapper/auth-wrapper.component.ts","../../../projects/volo-lepton-x/account/src/account/components/tenant-box/tenant-box.component.ts","../../../projects/volo-lepton-x/account/src/account/account-layout.component.ts","../../../projects/volo-lepton-x/account/src/account/account-layout.module.ts","../../../projects/volo-lepton-x/account/src/volosoft-abp.ng.theme.lepton-x-account.ts"],"sourcesContent":["import { Component, OnInit } from '@angular/core';\nimport { AuthWrapperService } from '@volo/abp.ng.account.core';\n\n@Component({\n selector: 'abp-auth-wrapper',\n templateUrl: './auth-wrapper.component.html',\n providers: [AuthWrapperService],\n})\nexport class AuthWrapperComponent implements OnInit {\n constructor(public service: AuthWrapperService) {}\n\n ngOnInit(): void {\n // TODO: REMOVE WHEN 4.4.0 release\n this.service.setTenantBoxVisibility();\n this.service.listenToNavigationEnd();\n }\n}\n","import { Component } from '@angular/core';\nimport { TenantBoxService } from '@volo/abp.ng.account.core';\n\n@Component({\n selector: 'abp-tenant-box',\n templateUrl: './tenant-box.component.html',\n providers: [TenantBoxService]\n})\nexport class TenantBoxComponent {\n constructor(public service: TenantBoxService) {}\n}\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'abp-account-layout',\n templateUrl: './account-layout.component.html',\n})\nexport class AccountLayoutComponent {\n authWrapperKey = 'Account.AuthWrapper';\n}\n","import { APP_INITIALIZER, Injector, ModuleWithProviders, NgModule, Provider } from '@angular/core';\nimport { AuthLayoutModule, AuthLayoutOptions } from '@volosoft/ngx-lepton-x/layouts';\nimport { eThemeLeptonComponents, PageAlertContainerModule } from '@volosoft/abp.ng.theme.lepton-x';\nimport { CoreModule, ReplaceableComponentsService } from '@abp/ng.core';\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\nimport { ContextMenuModule } from '@volosoft/ngx-lepton-x';\nimport { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';\nimport { AuthWrapperComponent } from './components/auth-wrapper/auth-wrapper.component';\nimport { TenantBoxComponent } from './components/tenant-box/tenant-box.component';\nimport { AccountLayoutComponent } from './account-layout.component';\n\nexport interface AccountLayoutOptions {\n layout?: AuthLayoutOptions;\n}\n\n@NgModule({\n imports: [\n AuthLayoutModule,\n ContextMenuModule,\n CoreModule,\n ThemeSharedModule,\n NgbDropdownModule,\n PageAlertContainerModule,\n ],\n declarations: [AuthWrapperComponent, TenantBoxComponent, AccountLayoutComponent],\n})\nexport class AccountLayoutModule {\n static forRoot(options?: AccountLayoutOptions): ModuleWithProviders<AccountLayoutModule> {\n return {\n ngModule: AccountLayoutModule,\n providers: [\n {\n provide: APP_INITIALIZER,\n useFactory: initAccountLayout,\n deps: [Injector],\n multi: true,\n },\n AuthLayoutModule.forRoot(options?.layout).providers as Provider,\n ],\n };\n }\n}\n\nexport function initAccountLayout(injector: Injector) {\n function init() {\n const replaceableComponents = injector.get(ReplaceableComponentsService);\n replaceableComponents.add({\n key: eThemeLeptonComponents.AccountLayout,\n component: AccountLayoutComponent,\n });\n }\n return init;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["Component","AuthWrapperService","TenantBoxService","APP_INITIALIZER","Injector","AuthLayoutModule","NgModule","ContextMenuModule","CoreModule","ThemeSharedModule","NgbDropdownModule","PageAlertContainerModule","ReplaceableComponentsService"],"mappings":";;;;;;;QASE,8BAAmB,OAA2B;YAA3B,YAAO,GAAP,OAAO,CAAoB;SAAI;QAElD,uCAAQ,GAAR;;YAEE,IAAI,CAAC,OAAO,CAAC,sBAAsB,EAAE,CAAC;YACtC,IAAI,CAAC,OAAO,CAAC,qBAAqB,EAAE,CAAC;SACtC;;;;gBAZFA,cAAS,SAAC;oBACT,QAAQ,EAAE,kBAAkB;oBAC5B,8gDAA4C;oBAC5C,SAAS,EAAE,CAACC,sCAAkB,CAAC;iBAChC;;;gBANQA,sCAAkB;;;;QCQzB,4BAAmB,OAAyB;YAAzB,YAAO,GAAP,OAAO,CAAkB;SAAI;;;;gBANjDD,cAAS,SAAC;oBACT,QAAQ,EAAE,gBAAgB;oBAC1B,ykEAA0C;oBAC1C,SAAS,EAAE,CAACE,oCAAgB,CAAC;iBAC9B;;;gBANQA,oCAAgB;;;;QCCzB;YAKE,mBAAc,GAAG,qBAAqB,CAAC;SACxC;;;;gBANAF,cAAS,SAAC;oBACT,QAAQ,EAAE,oBAAoB;oBAC9B,gRAA8C;iBAC/C;;;;QCqBD;;QACS,2BAAO,GAAd,UAAe,OAA8B;YAC3C,OAAO;gBACL,QAAQ,EAAE,mBAAmB;gBAC7B,SAAS,EAAE;oBACT;wBACE,OAAO,EAAEG,oBAAe;wBACxB,UAAU,EAAE,iBAAiB;wBAC7B,IAAI,EAAE,CAACC,aAAQ,CAAC;wBAChB,KAAK,EAAE,IAAI;qBACZ;oBACDC,wBAAgB,CAAC,OAAO,CAAC,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,CAAC,CAAC,SAAqB;iBAChE;aACF,CAAC;SACH;;;;gBAzBFC,aAAQ,SAAC;oBACR,OAAO,EAAE;wBACPD,wBAAgB;wBAChBE,4BAAiB;wBACjBC,kBAAU;wBACVC,iCAAiB;wBACjBC,6BAAiB;wBACjBC,6CAAwB;qBACzB;oBACD,YAAY,EAAE,CAAC,oBAAoB,EAAE,kBAAkB,EAAE,sBAAsB,CAAC;iBACjF;;aAkBe,iBAAiB,CAAC,QAAkB;QAClD,SAAS,IAAI;YACX,IAAM,qBAAqB,GAAG,QAAQ,CAAC,GAAG,CAACC,oCAA4B,CAAC,CAAC;YACzE,qBAAqB,CAAC,GAAG,CAAC;gBACxB,GAAG;gBACH,SAAS,EAAE,sBAAsB;aAClC,CAAC,CAAC;SACJ;QACD,OAAO,IAAI,CAAC;IACd;;ICpDA;;;;;;;;;;;;;;;;"}
|