@volosoft/abp.ng.theme.lepton-x 1.0.0-rc.6 → 1.0.0
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/account/account-layout.module.d.ts +1 -1
- package/esm2020/account/account/account-layout.component.mjs +1 -1
- package/esm2020/account/account/account-layout.module.mjs +2 -2
- package/esm2020/layouts/side-menu/layout/side-menu-application-layout.component.mjs +5 -3
- package/esm2020/layouts/side-menu/layout/side-menu-layout.module.mjs +20 -5
- package/esm2020/lib/components/index.mjs +1 -2
- package/esm2020/lib/enums/components.mjs +1 -1
- package/fesm2015/volosoft-abp.ng.theme.lepton-x-account.mjs +2 -2
- package/fesm2015/volosoft-abp.ng.theme.lepton-x-account.mjs.map +1 -1
- package/fesm2015/volosoft-abp.ng.theme.lepton-x-layouts.mjs +23 -6
- package/fesm2015/volosoft-abp.ng.theme.lepton-x-layouts.mjs.map +1 -1
- package/fesm2015/volosoft-abp.ng.theme.lepton-x.mjs +18 -44
- package/fesm2015/volosoft-abp.ng.theme.lepton-x.mjs.map +1 -1
- package/fesm2020/volosoft-abp.ng.theme.lepton-x-account.mjs +2 -2
- package/fesm2020/volosoft-abp.ng.theme.lepton-x-account.mjs.map +1 -1
- package/fesm2020/volosoft-abp.ng.theme.lepton-x-layouts.mjs +23 -6
- package/fesm2020/volosoft-abp.ng.theme.lepton-x-layouts.mjs.map +1 -1
- package/fesm2020/volosoft-abp.ng.theme.lepton-x.mjs +18 -44
- package/fesm2020/volosoft-abp.ng.theme.lepton-x.mjs.map +1 -1
- package/layouts/side-menu/layout/side-menu-application-layout.component.d.ts +1 -0
- package/layouts/side-menu/layout/side-menu-layout.module.d.ts +3 -1
- package/lib/components/index.d.ts +0 -1
- package/lib/enums/components.d.ts +3 -1
- package/package.json +7 -7
- package/esm2020/lib/components/page-alert-container/index.mjs +0 -3
- package/esm2020/lib/components/page-alert-container/page-alert-container.component.mjs +0 -18
- package/esm2020/lib/components/page-alert-container/page-alert-container.module.mjs +0 -19
- package/lib/components/page-alert-container/index.d.ts +0 -2
- package/lib/components/page-alert-container/page-alert-container.component.d.ts +0 -8
- package/lib/components/page-alert-container/page-alert-container.module.d.ts +0 -9
|
@@ -6,7 +6,7 @@ import * as i2 from "./components/tenant-box/tenant-box.component";
|
|
|
6
6
|
import * as i3 from "./account-layout.component";
|
|
7
7
|
import * as i4 from "@volosoft/ngx-lepton-x/layouts";
|
|
8
8
|
import * as i5 from "@volosoft/ngx-lepton-x";
|
|
9
|
-
import * as i6 from "@
|
|
9
|
+
import * as i6 from "@volo/abp.ng.lepton-x.core";
|
|
10
10
|
import * as i7 from "@abp/ng.core";
|
|
11
11
|
import * as i8 from "@abp/ng.theme.shared";
|
|
12
12
|
import * as i9 from "@ng-bootstrap/ng-bootstrap";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Component } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import * as i1 from "@volosoft/ngx-lepton-x/layouts";
|
|
4
|
-
import * as i2 from "@
|
|
4
|
+
import * as i2 from "@volo/abp.ng.lepton-x.core";
|
|
5
5
|
import * as i3 from "@angular/router";
|
|
6
6
|
import * as i4 from "@abp/ng.core";
|
|
7
7
|
import * as i5 from "./components/auth-wrapper/auth-wrapper.component";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { APP_INITIALIZER, Injector, NgModule, } from '@angular/core';
|
|
2
2
|
import { LpxAuthLayoutModule, } from '@volosoft/ngx-lepton-x/layouts';
|
|
3
|
-
import { PageAlertContainerModule, } from '@volosoft/abp.ng.theme.lepton-x';
|
|
4
3
|
import { CoreModule, ReplaceableComponentsService } from '@abp/ng.core';
|
|
5
4
|
import { ThemeSharedModule } from '@abp/ng.theme.shared';
|
|
6
5
|
import { LpxContextMenuModule } from '@volosoft/ngx-lepton-x';
|
|
@@ -8,6 +7,7 @@ import { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';
|
|
|
8
7
|
import { AuthWrapperComponent } from './components/auth-wrapper/auth-wrapper.component';
|
|
9
8
|
import { TenantBoxComponent } from './components/tenant-box/tenant-box.component';
|
|
10
9
|
import { AccountLayoutComponent } from './account-layout.component';
|
|
10
|
+
import { PageAlertContainerModule } from '@volo/abp.ng.lepton-x.core';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
export class AccountLayoutModule {
|
|
13
13
|
static forRoot(options) {
|
|
@@ -68,4 +68,4 @@ export function initAccountLayout(injector) {
|
|
|
68
68
|
}
|
|
69
69
|
return init;
|
|
70
70
|
}
|
|
71
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
71
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3VudC1sYXlvdXQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy92b2xvLWxlcHRvbi14L2FjY291bnQvc3JjL2FjY291bnQvYWNjb3VudC1sYXlvdXQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxlQUFlLEVBQ2YsUUFBUSxFQUVSLFFBQVEsR0FFVCxNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQ0wsbUJBQW1CLEdBRXBCLE1BQU0sZ0NBQWdDLENBQUM7QUFJeEMsT0FBTyxFQUFFLFVBQVUsRUFBRSw0QkFBNEIsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUN4RSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUN6RCxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUM5RCxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUMvRCxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSxr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wb25lbnQ6IEFjY291bnRMYXlvdXRDb21wb25lbnQsXHJcbiAgICB9KTtcclxuICB9XHJcbiAgcmV0dXJuIGluaXQ7XHJcbn1cclxuIl19
|
|
@@ -4,18 +4,20 @@ import * as i1 from "@angular/router";
|
|
|
4
4
|
import * as i2 from "@abp/ng.core";
|
|
5
5
|
import * as i3 from "@volosoft/ngx-lepton-x/layouts";
|
|
6
6
|
import * as i4 from "@volo/ngx-lepton-x.core";
|
|
7
|
+
import * as i5 from "@volo/abp.ng.lepton-x.core";
|
|
7
8
|
export class SideMenuApplicationLayoutComponent {
|
|
8
9
|
constructor() {
|
|
9
10
|
this.toolbarKey = "Theme.NavbarComponent" /* eThemeLeptonXComponents.Navbar */;
|
|
10
11
|
this.navbarKey = "Theme.Sidebar" /* eThemeLeptonXComponents.Sidebar */;
|
|
11
12
|
this.routesKey = "Theme.RoutesComponent" /* eThemeLeptonXComponents.Routes */;
|
|
12
13
|
this.toolbarItemsKey = "Theme.NavItemsComponent" /* eThemeLeptonXComponents.NavItems */;
|
|
14
|
+
this.breadcrumbKey = "Theme.Breadcrumb" /* eThemeLeptonXComponents.Breadcrumb */;
|
|
13
15
|
}
|
|
14
16
|
}
|
|
15
17
|
SideMenuApplicationLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SideMenuApplicationLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
-
SideMenuApplicationLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: SideMenuApplicationLayoutComponent, selector: "abp-application-layout", ngImport: i0, template: "<lpx-layout>\r\n <ng-template lpx-navbar-panel>\r\n <lpx-navbar\r\n *abpReplaceableTemplate=\"{\r\n componentKey: navbarKey\r\n }\"\r\n >\r\n <ng-template lpx-navbar-routes let-items>\r\n <lpx-navbar-routes\r\n *abpReplaceableTemplate=\"{\r\n componentKey: routesKey,\r\n inputs: {\r\n navbarItems: items\r\n }\r\n }\"\r\n [navbarItems]=\"items\"\r\n >\r\n </lpx-navbar-routes>\r\n </ng-template>\r\n </lpx-navbar>\r\n </ng-template>\r\n <router-outlet></router-outlet>\r\n <ng-template lpx-toolbar-panel>\r\n <lpx-toolbar-container\r\n *abpReplaceableTemplate=\"{\r\n componentKey: toolbarKey\r\n }\"\r\n >\r\n </lpx-toolbar-container>\r\n </ng-template>\r\n</lpx-layout>\r\n", dependencies: [{ kind: "directive", type: i1.RouterOutlet, selector: "router-outlet", outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "directive", type: i2.ReplaceableTemplateDirective, selector: "[abpReplaceableTemplate]", inputs: ["abpReplaceableTemplate"] }, { kind: "component", type: i3.SideMenuLayoutComponent, selector: "lpx-layout" }, { kind: "directive", type: i3.NavbarPanelDirective, selector: "ng-template[lpx-navbar-panel]" }, { kind: "directive", type: i3.ToolbarPanelDirective, selector: "ng-template[lpx-toolbar-panel]" }, { kind: "component", type: i4.NavbarComponent, selector: "lpx-navbar" }, { kind: "component", type: i4.NavbarRoutesComponent, selector: "lpx-navbar-routes", inputs: ["navbarItems", "routerItem"], outputs: ["routeClick"] }, { kind: "directive", type: i4.NavbarRoutesDirective, selector: "[lpx-navbar-routes],[lpxNavbarRoutes]", exportAs: ["lpxNavbarRoutes"] }, { kind: "component", type: i3.ToolbarContainerComponent, selector: "lpx-toolbar-container" }], encapsulation: i0.ViewEncapsulation.None });
|
|
18
|
+
SideMenuApplicationLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: SideMenuApplicationLayoutComponent, selector: "abp-application-layout", ngImport: i0, template: "<lpx-layout>\r\n <abp-page-alert-container ></abp-page-alert-container>\r\n\r\n <ng-template lpx-navbar-panel>\r\n <lpx-navbar\r\n *abpReplaceableTemplate=\"{\r\n componentKey: navbarKey\r\n }\"\r\n >\r\n <ng-template lpx-navbar-routes let-items>\r\n <lpx-navbar-routes\r\n *abpReplaceableTemplate=\"{\r\n componentKey: routesKey,\r\n inputs: {\r\n navbarItems: items\r\n }\r\n }\"\r\n [navbarItems]=\"items\"\r\n >\r\n </lpx-navbar-routes>\r\n </ng-template>\r\n </lpx-navbar>\r\n </ng-template>\r\n <router-outlet></router-outlet>\r\n <ng-template lpx-breadcrumb-panel>\r\n <lpx-breadcrumb\r\n *abpReplaceableTemplate=\"{\r\n componentKey: breadcrumbKey\r\n }\"\r\n >\r\n </lpx-breadcrumb>\r\n </ng-template>\r\n <ng-template lpx-toolbar-panel>\r\n <lpx-toolbar-container\r\n *abpReplaceableTemplate=\"{\r\n componentKey: toolbarKey\r\n }\"\r\n >\r\n </lpx-toolbar-container>\r\n </ng-template>\r\n</lpx-layout>\r\n", dependencies: [{ kind: "directive", type: i1.RouterOutlet, selector: "router-outlet", outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "directive", type: i2.ReplaceableTemplateDirective, selector: "[abpReplaceableTemplate]", inputs: ["abpReplaceableTemplate"] }, { kind: "component", type: i3.SideMenuLayoutComponent, selector: "lpx-layout" }, { kind: "directive", type: i3.BreadcrumbPanelDirective, selector: "ng-template[lpx-breadcrumb-panel]" }, { kind: "directive", type: i3.NavbarPanelDirective, selector: "ng-template[lpx-navbar-panel]" }, { kind: "directive", type: i3.ToolbarPanelDirective, selector: "ng-template[lpx-toolbar-panel]" }, { kind: "component", type: i4.BreadcrumbComponent, selector: "lpx-breadcrumb" }, { kind: "component", type: i4.NavbarComponent, selector: "lpx-navbar" }, { kind: "component", type: i4.NavbarRoutesComponent, selector: "lpx-navbar-routes", inputs: ["navbarItems", "routerItem"], outputs: ["routeClick"] }, { kind: "directive", type: i4.NavbarRoutesDirective, selector: "[lpx-navbar-routes],[lpxNavbarRoutes]", exportAs: ["lpxNavbarRoutes"] }, { kind: "component", type: i3.ToolbarContainerComponent, selector: "lpx-toolbar-container" }, { kind: "component", type: i5.PageAlertContainerComponent, selector: "abp-page-alert-container" }], encapsulation: i0.ViewEncapsulation.None });
|
|
17
19
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SideMenuApplicationLayoutComponent, decorators: [{
|
|
18
20
|
type: Component,
|
|
19
|
-
args: [{ selector: 'abp-application-layout', encapsulation: ViewEncapsulation.None, template: "<lpx-layout>\r\n <ng-template lpx-navbar-panel>\r\n <lpx-navbar\r\n *abpReplaceableTemplate=\"{\r\n componentKey: navbarKey\r\n }\"\r\n >\r\n <ng-template lpx-navbar-routes let-items>\r\n <lpx-navbar-routes\r\n *abpReplaceableTemplate=\"{\r\n componentKey: routesKey,\r\n inputs: {\r\n navbarItems: items\r\n }\r\n }\"\r\n [navbarItems]=\"items\"\r\n >\r\n </lpx-navbar-routes>\r\n </ng-template>\r\n </lpx-navbar>\r\n </ng-template>\r\n <router-outlet></router-outlet>\r\n <ng-template lpx-toolbar-panel>\r\n <lpx-toolbar-container\r\n *abpReplaceableTemplate=\"{\r\n componentKey: toolbarKey\r\n }\"\r\n >\r\n </lpx-toolbar-container>\r\n </ng-template>\r\n</lpx-layout>\r\n" }]
|
|
21
|
+
args: [{ selector: 'abp-application-layout', encapsulation: ViewEncapsulation.None, template: "<lpx-layout>\r\n <abp-page-alert-container ></abp-page-alert-container>\r\n\r\n <ng-template lpx-navbar-panel>\r\n <lpx-navbar\r\n *abpReplaceableTemplate=\"{\r\n componentKey: navbarKey\r\n }\"\r\n >\r\n <ng-template lpx-navbar-routes let-items>\r\n <lpx-navbar-routes\r\n *abpReplaceableTemplate=\"{\r\n componentKey: routesKey,\r\n inputs: {\r\n navbarItems: items\r\n }\r\n }\"\r\n [navbarItems]=\"items\"\r\n >\r\n </lpx-navbar-routes>\r\n </ng-template>\r\n </lpx-navbar>\r\n </ng-template>\r\n <router-outlet></router-outlet>\r\n <ng-template lpx-breadcrumb-panel>\r\n <lpx-breadcrumb\r\n *abpReplaceableTemplate=\"{\r\n componentKey: breadcrumbKey\r\n }\"\r\n >\r\n </lpx-breadcrumb>\r\n </ng-template>\r\n <ng-template lpx-toolbar-panel>\r\n <lpx-toolbar-container\r\n *abpReplaceableTemplate=\"{\r\n componentKey: toolbarKey\r\n }\"\r\n >\r\n </lpx-toolbar-container>\r\n </ng-template>\r\n</lpx-layout>\r\n" }]
|
|
20
22
|
}] });
|
|
21
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZS1tZW51LWFwcGxpY2F0aW9uLWxheW91dC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3ZvbG8tbGVwdG9uLXgvbGF5b3V0cy9zcmMvc2lkZS1tZW51L2xheW91dC9zaWRlLW1lbnUtYXBwbGljYXRpb24tbGF5b3V0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvdm9sby1sZXB0b24teC9sYXlvdXRzL3NyYy9zaWRlLW1lbnUvbGF5b3V0L3NpZGUtbWVudS1hcHBsaWNhdGlvbi1sYXlvdXQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7Ozs7OztBQVE3RCxNQUFNLE9BQU8sa0NBQWtDO0lBTC9DO1FBTUUsZUFBVSxnRUFBa0M7UUFDNUMsY0FBUyx5REFBbUM7UUFDNUMsY0FBUyxnRUFBa0M7UUFDM0Msb0JBQWUsb0VBQW9DO1FBQ25ELGtCQUFhLCtEQUFzQztLQUNwRDs7K0hBTlksa0NBQWtDO21IQUFsQyxrQ0FBa0MsOERDUi9DLHFsQ0F5Q0E7MkZEakNhLGtDQUFrQztrQkFMOUMsU0FBUzsrQkFDRSx3QkFBd0IsaUJ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4gICAgICAqYWJwUmVwbGFjZWFibGVUZW1wbGF0ZT1cIntcclxuICAgICAgICBjb21wb25lbnRLZXk6IG5hdmJhcktleVxyXG4gICAgICB9XCJcclxuICAgID5cclxuICAgICAgPG5nLXRlbXBsYXRlIGxweC1uYXZiYXItcm91dGVzIGxldC1pdGVtcz5cclxuICAgICAgICA8bHB4LW5hdmJhci1yb3V0ZXNcclxuICAgICAgICAgICphYnBSZXBsYWNlYWJsZVRlbXBsYXRlPVwie1xyXG4gICAgICAgICAgICBjb21wb25lbnRLZXk6IHJvdXRlc0tleSxcclxuICAgICAgICAgICAgaW5wdXRzOiB7XHJcbiAgICAgICAgICAgICAgbmF2YmFySXRlbXM6IGl0ZW1zXHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgIH1cIlxyXG4gICAgICAgICAgW25hdmJhckl0ZW1zXT1cIml0ZW1zXCJcclxuICAgICAgICA+XHJcbiAgICAgICAgPC9scHgtbmF2YmFyLXJvdXRlcz5cclxuICAgICAgPC9uZy10ZW1wbGF0ZT5cclxuICAgIDwvbHB4LW5hdmJhcj5cclxuICA8L25nLXRlbXBsYXRlPlxyXG4gIDxyb3V0ZXItb3V0bGV0Pjwvcm91dGVyLW91dGxldD5cclxuICA8bmctdGVtcGxhdGUgbHB4LWJyZWFkY3J1bWItcGFuZWw+XHJcbiAgICA8bHB4LWJyZWFkY3J1bWJcclxuICAgICAgKmFicFJlcGxhY2VhYmxlVGVtcGxhdGU9XCJ7XHJcbiAgICAgICAgY29tcG9uZW50S2V5OiBicmVhZGNydW1iS2V5XHJcbiAgICAgIH1cIlxyXG4gICAgPlxyXG4gICAgPC9scHgtYnJlYWRjcnVtYj5cclxuICA8L25nLXRlbXBsYXRlPlxyXG4gIDxuZy10ZW1wbGF0ZSBscHgtdG9vbGJhci1wYW5lbD5cclxuICAgIDxscHgtdG9vbGJhci1jb250YWluZXJcclxuICAgICAgKmFicFJlcGxhY2VhYmxlVGVtcGxhdGU9XCJ7XHJcbiAgICAgICAgY29tcG9uZW50S2V5OiB0b29sYmFyS2V5XHJcbiAgICAgIH1cIlxyXG4gICAgPlxyXG4gICAgPC9scHgtdG9vbGJhci1jb250YWluZXI+XHJcbiAgPC9uZy10ZW1wbGF0ZT5cclxuPC9scHgtbGF5b3V0PlxyXG4iXX0=
|
|
@@ -4,8 +4,9 @@ import { CoreModule, ReplaceableComponentsService } from '@abp/ng.core';
|
|
|
4
4
|
import { LpxSideMenuLayoutModule } from '@volosoft/ngx-lepton-x/layouts';
|
|
5
5
|
import { AbpAuthService, } from '@volosoft/abp.ng.theme.lepton-x';
|
|
6
6
|
import { SideMenuApplicationLayoutComponent } from './side-menu-application-layout.component';
|
|
7
|
-
import { LPX_AUTH_SERVICE_TOKEN } from '@volo/ngx-lepton-x.core';
|
|
7
|
+
import { LpxBreadcrumbModule, LPX_AUTH_SERVICE_TOKEN, } from '@volo/ngx-lepton-x.core';
|
|
8
8
|
import { LPX_TRANSLATE_KEYS_PROVIDER } from './providers/translate.provider';
|
|
9
|
+
import { PageAlertContainerModule } from '@volo/abp.ng.lepton-x.core';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
export class SideMenuLayoutModule {
|
|
11
12
|
static forRoot() {
|
|
@@ -29,13 +30,27 @@ export class SideMenuLayoutModule {
|
|
|
29
30
|
}
|
|
30
31
|
}
|
|
31
32
|
SideMenuLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SideMenuLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
32
|
-
SideMenuLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: SideMenuLayoutModule, declarations: [SideMenuApplicationLayoutComponent], imports: [CommonModule,
|
|
33
|
-
|
|
33
|
+
SideMenuLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: SideMenuLayoutModule, declarations: [SideMenuApplicationLayoutComponent], imports: [CommonModule,
|
|
34
|
+
CoreModule,
|
|
35
|
+
LpxSideMenuLayoutModule,
|
|
36
|
+
LpxBreadcrumbModule,
|
|
37
|
+
PageAlertContainerModule], exports: [SideMenuApplicationLayoutComponent] });
|
|
38
|
+
SideMenuLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SideMenuLayoutModule, imports: [CommonModule,
|
|
39
|
+
CoreModule,
|
|
40
|
+
LpxSideMenuLayoutModule,
|
|
41
|
+
LpxBreadcrumbModule,
|
|
42
|
+
PageAlertContainerModule] });
|
|
34
43
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SideMenuLayoutModule, decorators: [{
|
|
35
44
|
type: NgModule,
|
|
36
45
|
args: [{
|
|
37
46
|
declarations: [SideMenuApplicationLayoutComponent],
|
|
38
|
-
imports: [
|
|
47
|
+
imports: [
|
|
48
|
+
CommonModule,
|
|
49
|
+
CoreModule,
|
|
50
|
+
LpxSideMenuLayoutModule,
|
|
51
|
+
LpxBreadcrumbModule,
|
|
52
|
+
PageAlertContainerModule,
|
|
53
|
+
],
|
|
39
54
|
exports: [SideMenuApplicationLayoutComponent],
|
|
40
55
|
}]
|
|
41
56
|
}] });
|
|
@@ -49,4 +64,4 @@ export function initLayouts(injector) {
|
|
|
49
64
|
}
|
|
50
65
|
return init;
|
|
51
66
|
}
|
|
52
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
67
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZS1tZW51LWxheW91dC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3ZvbG8tbGVwdG9uLXgvbGF5b3V0cy9zcmMvc2lkZS1tZW51L2xheW91dC9zaWRlLW1lbnUtb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N0aW9uIGluaXQoKSB7XHJcbiAgICBjb25zdCByZXBsYWNlYWJsZUNvbXBvbmVudHMgPSBpbmplY3Rvci5nZXQoUmVwbGFjZWFibGVDb21wb25lbnRzU2VydmljZSk7XHJcbiAgICByZXBsYWNlYWJsZUNvbXBvbmVudHMuYWRkKHtcclxuICAgICAga2V5OiBlVGhlbWVMZXB0b25YQ29tcG9uZW50cy5BcHBsaWNhdGlvbkxheW91dCxcclxuICAgICAgY29tcG9uZW50OiBTaWRlTWVudUFwcGxpY2F0aW9uTGF5b3V0Q29tcG9uZW50LFxyXG4gICAgfSk7XHJcbiAgfVxyXG4gIHJldHVybiBpbml0O1xyXG59XHJcbiJdfQ==
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
export * from './abp-validation-error/index';
|
|
2
2
|
export * from './http-error/index';
|
|
3
|
-
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL3ZvbG8tbGVwdG9uLXgvc3JjL2xpYi9jb21wb25lbnRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsOEJBQThCLENBQUM7QUFDN0MsY0FBYyxvQkFBb0IsQ0FBQztBQUNuQyxjQUFjLDhCQUE4QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9hYnAtdmFsaWRhdGlvbi1lcnJvci9pbmRleCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vaHR0cC1lcnJvci9pbmRleCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vcGFnZS1hbGVydC1jb250YWluZXIvaW5kZXgnO1xyXG4iXX0=
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL3ZvbG8tbGVwdG9uLXgvc3JjL2xpYi9jb21wb25lbnRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsOEJBQThCLENBQUM7QUFDN0MsY0FBYyxvQkFBb0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vYWJwLXZhbGlkYXRpb24tZXJyb3IvaW5kZXgnO1xyXG5leHBvcnQgKiBmcm9tICcuL2h0dHAtZXJyb3IvaW5kZXgnO1xyXG4iXX0=
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcG9uZW50cy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvdm9sby1sZXB0b24teC9zcmMvbGliL2VudW1zL2NvbXBvbmVudHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbIi8vIFRPRE86IGNvbmZpZ3VyZSBmb3IgbGVwdG9uIG5leHRcclxuZXhwb3J0IGNvbnN0IGVudW0gZVRoZW1lTGVwdG9uWENvbXBvbmVudHMge1xyXG4gIEFjY291bnRMYXlvdXQgPSAnVGhlbWUuQWNjb3VudExheW91dENvbXBvbmVudCcsXHJcbiAgQXBwbGljYXRpb25MYXlvdXQgPSAnVGhlbWUuQXBwbGljYXRpb25MYXlvdXRDb21wb25lbnQnLFxyXG4gIEFwcGxpY2F0aW9uTGF5b3V0SGVhZGVyID0gJ1RoZW1lLkFwcGxpY2F0aW9uTGF5b3V0SGVhZGVyQ29tcG9uZW50JyxcclxuICBBcHBsaWNhdGlvbkxheW91dEZvb3RlciA9ICdUaGVtZS5BcHBsaWNhdGlvbkxheW91dEZvb3RlckNvbXBvbmVudCcsXHJcbiAgQ3VycmVudFVzZXIgPSAnVGhlbWUuQ3VycmVudFVzZXJDb21wb25lbnQnLFxyXG4gIEN1cnJlbnRVc2VySW1hZ2UgPSAnVGhlbWUuQ3VycmVudFVzZXJJbWFnZUNvbXBvbmVudCcsXHJcbiAgRW1wdHlMYXlvdXQgPSAnVGhlbWUuRW1wdHlMYXlvdXRDb21wb25lbnQnLFxyXG4gIEZ1bGxTY3JlZW4gPSAnVGhlbWUuRnVsbFNjcmVlbkNvbXBvbmVudCcsXHJcbiAgTGFuZ3VhZ2VzID0gJ1RoZW1lLkxhbmd1YWdlc0NvbXBvbmVudCcsXHJcbiAgTG9nbyA9ICdUaGVtZS5Mb2dvQ29tcG9uZW50JyxcclxuICBSb3V0ZXMgPSAnVGhlbWUuUm91dGVzQ29tcG9uZW50JyxcclxuICBOYXZiYXIgPSAnVGhlbWUuTmF2YmFyQ29tcG9uZW50JyxcclxuICBOYXZiYXJNb2JpbGUgPSAnVGhlbWUuTmF2YmFyTW9iaWxlQ29tcG9uZW50JyxcclxuICBOYXZJdGVtcyA9ICdUaGVtZS5OYXZJdGVtc0NvbXBvbmVudCcsXHJcbiAgU2lkZWJhciA9ICdUaGVtZS5TaWRlYmFyJyxcclxuICBCcmVhZGNydW1iID0gXCJUaGVtZS5CcmVhZGNydW1iXCIsXHJcbiAgUGFnZUFsZXJ0Q29udGFpbmVyID0gJ1RoZW1lLlBhZ2VBbGVydENvbnRhaW5lckNvbXBvbmVudCcsXHJcbn1cclxuIl19
|
|
@@ -2,8 +2,6 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { Component, APP_INITIALIZER, Injector, NgModule } from '@angular/core';
|
|
3
3
|
import * as i1$1 from '@volosoft/ngx-lepton-x/layouts';
|
|
4
4
|
import { LpxAuthLayoutModule } from '@volosoft/ngx-lepton-x/layouts';
|
|
5
|
-
import * as i2$1 from '@volosoft/abp.ng.theme.lepton-x';
|
|
6
|
-
import { PageAlertContainerModule } from '@volosoft/abp.ng.theme.lepton-x';
|
|
7
5
|
import * as i4 from '@abp/ng.core';
|
|
8
6
|
import { CoreModule, ReplaceableComponentsService } from '@abp/ng.core';
|
|
9
7
|
import * as i5 from '@abp/ng.theme.shared';
|
|
@@ -15,6 +13,8 @@ import * as i1 from '@volo/abp.ng.account.core';
|
|
|
15
13
|
import { TenantBoxService, AuthWrapperService } from '@volo/abp.ng.account.core';
|
|
16
14
|
import * as i2 from '@angular/common';
|
|
17
15
|
import * as i3 from '@angular/forms';
|
|
16
|
+
import * as i2$1 from '@volo/abp.ng.lepton-x.core';
|
|
17
|
+
import { PageAlertContainerModule } from '@volo/abp.ng.lepton-x.core';
|
|
18
18
|
import * as i3$1 from '@angular/router';
|
|
19
19
|
|
|
20
20
|
class TenantBoxComponent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"volosoft-abp.ng.theme.lepton-x-account.mjs","sources":["../../../../libs/volo-lepton-x/account/src/account/components/tenant-box/tenant-box.component.ts","../../../../libs/volo-lepton-x/account/src/account/components/tenant-box/tenant-box.component.html","../../../../libs/volo-lepton-x/account/src/account/components/auth-wrapper/auth-wrapper.component.ts","../../../../libs/volo-lepton-x/account/src/account/components/auth-wrapper/auth-wrapper.component.html","../../../../libs/volo-lepton-x/account/src/account/account-layout.component.ts","../../../../libs/volo-lepton-x/account/src/account/account-layout.component.html","../../../../libs/volo-lepton-x/account/src/account/account-layout.module.ts","../../../../libs/volo-lepton-x/account/src/volosoft-abp.ng.theme.lepton-x-account.ts"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { TenantBoxService } from '@volo/abp.ng.account.core';\r\n\r\n@Component({\r\n selector: 'abp-tenant-box',\r\n templateUrl: './tenant-box.component.html',\r\n providers: [TenantBoxService]\r\n})\r\nexport class TenantBoxComponent {\r\n constructor(public service: TenantBoxService) {}\r\n}\r\n","<ng-container *ngIf=\"(service.currentTenant$ | async) || {} as currentTenant\">\r\n <div class=\"card-header bg-light mb-3\">\r\n <div class=\"tenant-switch-box\">\r\n <div class=\"row\">\r\n <div class=\"col pr-1 pb-2\">\r\n <h6 class=\"m0\">\r\n {{ 'AbpUiMultiTenancy::Tenant' | abpLocalization }}\r\n </h6>\r\n <i>{{\r\n currentTenant.name ||\r\n ('AbpUiMultiTenancy::NotSelected' | abpLocalization)\r\n }}</i>\r\n </div>\r\n\r\n <div class=\"col-auto pl-1\">\r\n <a\r\n id=\"abp-tenant-switch-link\"\r\n class=\"btn btn-sm btn-outline-primary float-end pointer\"\r\n (click)=\"service.onSwitch()\"\r\n href=\"javascript:void(0)\"\r\n >{{ 'AbpUiMultiTenancy::Switch' | abpLocalization }}</a\r\n >\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <abp-modal\r\n [(visible)]=\"service.isModalVisible\"\r\n [busy]=\"service.modalBusy\"\r\n size=\"md\"\r\n >\r\n <ng-template #abpHeader>\r\n <h5>Switch Tenant</h5>\r\n </ng-template>\r\n <ng-template #abpBody>\r\n <form (ngSubmit)=\"service.save()\">\r\n <div class=\"mt-2\">\r\n <div class=\"form-group\">\r\n <label for=\"name\">{{\r\n 'AbpUiMultiTenancy::Name' | abpLocalization\r\n }}</label>\r\n <input\r\n [(ngModel)]=\"service.name\"\r\n type=\"text\"\r\n id=\"name\"\r\n name=\"tenant\"\r\n class=\"form-control\"\r\n autofocus\r\n />\r\n </div>\r\n <p>{{ 'AbpUiMultiTenancy::SwitchTenantHint' | abpLocalization }}</p>\r\n </div>\r\n </form>\r\n </ng-template>\r\n <ng-template #abpFooter>\r\n <button abpClose type=\"button\" class=\"btn btn-secondary\">\r\n {{ 'AbpAccount::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button\r\n type=\"abp-button\"\r\n iconClass=\"fa fa-check\"\r\n (click)=\"service.save()\"\r\n [disabled]=\"currentTenant?.name === service.name\"\r\n >\r\n {{ 'AbpAccount::Save' | abpLocalization }}\r\n </abp-button>\r\n </ng-template>\r\n </abp-modal>\r\n</ng-container>\r\n","import { Component } from '@angular/core';\r\nimport { AuthWrapperService } from '@volo/abp.ng.account.core';\r\n\r\n@Component({\r\n selector: 'abp-auth-wrapper',\r\n templateUrl: './auth-wrapper.component.html',\r\n providers: [AuthWrapperService],\r\n})\r\nexport class AuthWrapperComponent {\r\n constructor(public service: AuthWrapperService) {}\r\n}\r\n","<div class=\"card\">\r\n <div class=\"d-flex justify-content-between\">\r\n <h2>\r\n <strong>{{ service.pageLabel | abpLocalization }}</strong>\r\n </h2>\r\n <div class=\"dropdown\" ngbDropdown>\r\n <a\r\n *ngIf=\"service.defaultLanguage$ | async as defaultLang\"\r\n class=\"pointer\"\r\n role=\"button\"\r\n id=\"dropdownMenuLink\"\r\n ngbDropdownToggle\r\n [class.dropdown-toggle]=\"false\"\r\n >\r\n <i class=\"bi bi-globe me-1\"></i>\r\n <span class=\"ml-2\">{{ defaultLang.displayName }}</span>\r\n </a>\r\n <div\r\n ngbDropdownMenu\r\n class=\"dropdown-menu dropdown-menu-right\"\r\n *ngIf=\"(service.dropdownLanguages$ | async).length > 0\"\r\n >\r\n <a\r\n *ngFor=\"let lang of service.dropdownLanguages$ | async\"\r\n class=\"dropdown-item pointer\"\r\n (click)=\"service.onChangeLang(lang.cultureName)\"\r\n >\r\n {{ lang?.displayName }}</a\r\n >\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <ng-container\r\n *ngIf=\"\r\n (service.isMultiTenancyEnabled$ | async) && service.isTenantBoxVisible\r\n \"\r\n >\r\n <abp-tenant-box\r\n *abpReplaceableTemplate=\"{ componentKey: service.tenantBoxKey }\"\r\n ></abp-tenant-box>\r\n </ng-container>\r\n <div\r\n *ngIf=\"service.enableLocalLogin$ | async; else disableLocalLoginTemplate\"\r\n >\r\n <ng-content></ng-content>\r\n </div>\r\n <ng-template #disableLocalLoginTemplate>\r\n <div class=\"alert alert-warning\">\r\n <strong>{{ 'AbpAccount::InvalidLoginRequest' | abpLocalization }}</strong>\r\n {{\r\n 'AbpAccount::ThereAreNoLoginSchemesConfiguredForThisClient'\r\n | abpLocalization\r\n }}\r\n </div>\r\n </ng-template>\r\n</div>\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'abp-account-layout',\r\n templateUrl: './account-layout.component.html',\r\n})\r\nexport class AccountLayoutComponent {\r\n authWrapperKey = 'Account.AuthWrapper';\r\n}\r\n","<lpx-auth-layout>\r\n <abp-page-alert-container></abp-page-alert-container>\r\n <abp-auth-wrapper\r\n *abpReplaceableTemplate=\"{\r\n componentKey: authWrapperKey\r\n }\">\r\n <router-outlet></router-outlet>\r\n </abp-auth-wrapper>\r\n</lpx-auth-layout>\r\n","import {\r\n APP_INITIALIZER,\r\n Injector,\r\n ModuleWithProviders,\r\n NgModule,\r\n Provider,\r\n} from '@angular/core';\r\nimport {\r\n LpxAuthLayoutModule,\r\n LpxAuthLayoutOptions,\r\n} from '@volosoft/ngx-lepton-x/layouts';\r\nimport {\r\n eThemeLeptonXComponents,\r\n PageAlertContainerModule,\r\n} from '@volosoft/abp.ng.theme.lepton-x';\r\nimport { CoreModule, ReplaceableComponentsService } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { LpxContextMenuModule } from '@volosoft/ngx-lepton-x';\r\nimport { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { AuthWrapperComponent } from './components/auth-wrapper/auth-wrapper.component';\r\nimport { TenantBoxComponent } from './components/tenant-box/tenant-box.component';\r\nimport { AccountLayoutComponent } from './account-layout.component';\r\n\r\nexport interface AccountLayoutOptions {\r\n layout?: LpxAuthLayoutOptions;\r\n}\r\n\r\n@NgModule({\r\n imports: [\r\n LpxAuthLayoutModule,\r\n LpxContextMenuModule,\r\n PageAlertContainerModule,\r\n CoreModule,\r\n ThemeSharedModule,\r\n NgbDropdownModule,\r\n ],\r\n declarations: [\r\n AuthWrapperComponent,\r\n TenantBoxComponent,\r\n AccountLayoutComponent,\r\n ],\r\n})\r\nexport class AccountLayoutModule {\r\n static forRoot(\r\n options?: AccountLayoutOptions\r\n ): ModuleWithProviders<AccountLayoutModule> {\r\n return {\r\n ngModule: AccountLayoutModule,\r\n providers: [\r\n {\r\n provide: APP_INITIALIZER,\r\n useFactory: initAccountLayout,\r\n deps: [Injector],\r\n multi: true,\r\n },\r\n LpxAuthLayoutModule.forRoot(options?.layout).providers as Provider,\r\n ],\r\n };\r\n }\r\n}\r\n\r\nexport function initAccountLayout(injector: Injector) {\r\n function init() {\r\n const replaceableComponents = injector.get(ReplaceableComponentsService);\r\n replaceableComponents.add({\r\n key: eThemeLeptonXComponents.AccountLayout,\r\n component: AccountLayoutComponent,\r\n });\r\n }\r\n return init;\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i3","i4","i5.TenantBoxComponent","i1","i2","i5.AuthWrapperComponent"],"mappings":";;;;;;;;;;;;;;;;;;;MAQa,kBAAkB,CAAA;AAC7B,IAAA,WAAA,CAAmB,OAAyB,EAAA;AAAzB,QAAA,IAAO,CAAA,OAAA,GAAP,OAAO,CAAkB;KAAI;;+GADrC,kBAAkB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAlB,kBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,kBAAkB,EAFlB,QAAA,EAAA,gBAAA,EAAA,SAAA,EAAA,CAAC,gBAAgB,CAAC,0BCN/B,2yEAsEA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,IAAA,EAAA,QAAA,EAAA,QAAA,EAAA,MAAA,EAAA,CAAA,MAAA,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iB;QACjB,iBAAiB,CAAA,EAAA,CAAA,CAAA;2FAQR,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAf/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,mBAAmB;wBACnB,oBAAoB;wBACpB,wBAAwB;wBACxB,UAAU;wBACV,iBAAiB;wBACjB,iBAAiB;AAClB,qBAAA;AACD,oBAAA,YAAY,EAAE;wBACZ,oBAAoB;wBACpB,kBAAkB;wBAClB,sBAAsB;AACvB,qBAAA;iBACF,CAAA;;AAoBK,SAAU,iBAAiB,CAAC,QAAkB,EAAA;AAClD,IAAA,SAAS,IAAI,GAAA;QACX,MAAM,qBAAqB,GAAG,QAAQ,CAAC,GAAG,CAAC,4BAA4B,CAAC,CAAC;QACzE,qBAAqB,CAAC,GAAG,CAAC;YACxB,GAAG,EAAuC,8BAAA;AAC1C,YAAA,SAAS,EAAE,sBAAsB;AAClC,SAAA,CAAC,CAAC;KACJ;AACD,IAAA,OAAO,IAAI,CAAC;AACd;;ACtEA;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"volosoft-abp.ng.theme.lepton-x-account.mjs","sources":["../../../../libs/volo-lepton-x/account/src/account/components/tenant-box/tenant-box.component.ts","../../../../libs/volo-lepton-x/account/src/account/components/tenant-box/tenant-box.component.html","../../../../libs/volo-lepton-x/account/src/account/components/auth-wrapper/auth-wrapper.component.ts","../../../../libs/volo-lepton-x/account/src/account/components/auth-wrapper/auth-wrapper.component.html","../../../../libs/volo-lepton-x/account/src/account/account-layout.component.ts","../../../../libs/volo-lepton-x/account/src/account/account-layout.component.html","../../../../libs/volo-lepton-x/account/src/account/account-layout.module.ts","../../../../libs/volo-lepton-x/account/src/volosoft-abp.ng.theme.lepton-x-account.ts"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { TenantBoxService } from '@volo/abp.ng.account.core';\r\n\r\n@Component({\r\n selector: 'abp-tenant-box',\r\n templateUrl: './tenant-box.component.html',\r\n providers: [TenantBoxService]\r\n})\r\nexport class TenantBoxComponent {\r\n constructor(public service: TenantBoxService) {}\r\n}\r\n","<ng-container *ngIf=\"(service.currentTenant$ | async) || {} as currentTenant\">\r\n <div class=\"card-header bg-light mb-3\">\r\n <div class=\"tenant-switch-box\">\r\n <div class=\"row\">\r\n <div class=\"col pr-1 pb-2\">\r\n <h6 class=\"m0\">\r\n {{ 'AbpUiMultiTenancy::Tenant' | abpLocalization }}\r\n </h6>\r\n <i>{{\r\n currentTenant.name ||\r\n ('AbpUiMultiTenancy::NotSelected' | abpLocalization)\r\n }}</i>\r\n </div>\r\n\r\n <div class=\"col-auto pl-1\">\r\n <a\r\n id=\"abp-tenant-switch-link\"\r\n class=\"btn btn-sm btn-outline-primary float-end pointer\"\r\n (click)=\"service.onSwitch()\"\r\n href=\"javascript:void(0)\"\r\n >{{ 'AbpUiMultiTenancy::Switch' | abpLocalization }}</a\r\n >\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <abp-modal\r\n [(visible)]=\"service.isModalVisible\"\r\n [busy]=\"service.modalBusy\"\r\n size=\"md\"\r\n >\r\n <ng-template #abpHeader>\r\n <h5>Switch Tenant</h5>\r\n </ng-template>\r\n <ng-template #abpBody>\r\n <form (ngSubmit)=\"service.save()\">\r\n <div class=\"mt-2\">\r\n <div class=\"form-group\">\r\n <label for=\"name\">{{\r\n 'AbpUiMultiTenancy::Name' | abpLocalization\r\n }}</label>\r\n <input\r\n [(ngModel)]=\"service.name\"\r\n type=\"text\"\r\n id=\"name\"\r\n name=\"tenant\"\r\n class=\"form-control\"\r\n autofocus\r\n />\r\n </div>\r\n <p>{{ 'AbpUiMultiTenancy::SwitchTenantHint' | abpLocalization }}</p>\r\n </div>\r\n </form>\r\n </ng-template>\r\n <ng-template #abpFooter>\r\n <button abpClose type=\"button\" class=\"btn btn-secondary\">\r\n {{ 'AbpAccount::Cancel' | abpLocalization }}\r\n </button>\r\n <abp-button\r\n type=\"abp-button\"\r\n iconClass=\"fa fa-check\"\r\n (click)=\"service.save()\"\r\n [disabled]=\"currentTenant?.name === service.name\"\r\n >\r\n {{ 'AbpAccount::Save' | abpLocalization }}\r\n </abp-button>\r\n </ng-template>\r\n </abp-modal>\r\n</ng-container>\r\n","import { Component } from '@angular/core';\r\nimport { AuthWrapperService } from '@volo/abp.ng.account.core';\r\n\r\n@Component({\r\n selector: 'abp-auth-wrapper',\r\n templateUrl: './auth-wrapper.component.html',\r\n providers: [AuthWrapperService],\r\n})\r\nexport class AuthWrapperComponent {\r\n constructor(public service: AuthWrapperService) {}\r\n}\r\n","<div class=\"card\">\r\n <div class=\"d-flex justify-content-between\">\r\n <h2>\r\n <strong>{{ service.pageLabel | abpLocalization }}</strong>\r\n </h2>\r\n <div class=\"dropdown\" ngbDropdown>\r\n <a\r\n *ngIf=\"service.defaultLanguage$ | async as defaultLang\"\r\n class=\"pointer\"\r\n role=\"button\"\r\n id=\"dropdownMenuLink\"\r\n ngbDropdownToggle\r\n [class.dropdown-toggle]=\"false\"\r\n >\r\n <i class=\"bi bi-globe me-1\"></i>\r\n <span class=\"ml-2\">{{ defaultLang.displayName }}</span>\r\n </a>\r\n <div\r\n ngbDropdownMenu\r\n class=\"dropdown-menu dropdown-menu-right\"\r\n *ngIf=\"(service.dropdownLanguages$ | async).length > 0\"\r\n >\r\n <a\r\n *ngFor=\"let lang of service.dropdownLanguages$ | async\"\r\n class=\"dropdown-item pointer\"\r\n (click)=\"service.onChangeLang(lang.cultureName)\"\r\n >\r\n {{ lang?.displayName }}</a\r\n >\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <ng-container\r\n *ngIf=\"\r\n (service.isMultiTenancyEnabled$ | async) && service.isTenantBoxVisible\r\n \"\r\n >\r\n <abp-tenant-box\r\n *abpReplaceableTemplate=\"{ componentKey: service.tenantBoxKey }\"\r\n ></abp-tenant-box>\r\n </ng-container>\r\n <div\r\n *ngIf=\"service.enableLocalLogin$ | async; else disableLocalLoginTemplate\"\r\n >\r\n <ng-content></ng-content>\r\n </div>\r\n <ng-template #disableLocalLoginTemplate>\r\n <div class=\"alert alert-warning\">\r\n <strong>{{ 'AbpAccount::InvalidLoginRequest' | abpLocalization }}</strong>\r\n {{\r\n 'AbpAccount::ThereAreNoLoginSchemesConfiguredForThisClient'\r\n | abpLocalization\r\n }}\r\n </div>\r\n </ng-template>\r\n</div>\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'abp-account-layout',\r\n templateUrl: './account-layout.component.html',\r\n})\r\nexport class AccountLayoutComponent {\r\n authWrapperKey = 'Account.AuthWrapper';\r\n}\r\n","<lpx-auth-layout>\r\n <abp-page-alert-container></abp-page-alert-container>\r\n <abp-auth-wrapper\r\n *abpReplaceableTemplate=\"{\r\n componentKey: authWrapperKey\r\n }\">\r\n <router-outlet></router-outlet>\r\n </abp-auth-wrapper>\r\n</lpx-auth-layout>\r\n","import {\r\n APP_INITIALIZER,\r\n Injector,\r\n ModuleWithProviders,\r\n NgModule,\r\n Provider,\r\n} from '@angular/core';\r\nimport {\r\n LpxAuthLayoutModule,\r\n LpxAuthLayoutOptions,\r\n} from '@volosoft/ngx-lepton-x/layouts';\r\nimport {\r\n eThemeLeptonXComponents,\r\n} from '@volosoft/abp.ng.theme.lepton-x';\r\nimport { CoreModule, ReplaceableComponentsService } from '@abp/ng.core';\r\nimport { ThemeSharedModule } from '@abp/ng.theme.shared';\r\nimport { LpxContextMenuModule } from '@volosoft/ngx-lepton-x';\r\nimport { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport { AuthWrapperComponent } from './components/auth-wrapper/auth-wrapper.component';\r\nimport { TenantBoxComponent } from './components/tenant-box/tenant-box.component';\r\nimport { AccountLayoutComponent } from './account-layout.component';\r\nimport { PageAlertContainerModule } from '@volo/abp.ng.lepton-x.core';\r\n\r\nexport interface AccountLayoutOptions {\r\n layout?: LpxAuthLayoutOptions;\r\n}\r\n\r\n@NgModule({\r\n imports: [\r\n LpxAuthLayoutModule,\r\n LpxContextMenuModule,\r\n PageAlertContainerModule,\r\n CoreModule,\r\n ThemeSharedModule,\r\n NgbDropdownModule,\r\n ],\r\n declarations: [\r\n AuthWrapperComponent,\r\n TenantBoxComponent,\r\n AccountLayoutComponent,\r\n ],\r\n})\r\nexport class AccountLayoutModule {\r\n static forRoot(\r\n options?: AccountLayoutOptions\r\n ): ModuleWithProviders<AccountLayoutModule> {\r\n return {\r\n ngModule: AccountLayoutModule,\r\n providers: [\r\n {\r\n provide: APP_INITIALIZER,\r\n useFactory: initAccountLayout,\r\n deps: [Injector],\r\n multi: true,\r\n },\r\n LpxAuthLayoutModule.forRoot(options?.layout).providers as Provider,\r\n ],\r\n };\r\n }\r\n}\r\n\r\nexport function initAccountLayout(injector: Injector) {\r\n function init() {\r\n const replaceableComponents = injector.get(ReplaceableComponentsService);\r\n replaceableComponents.add({\r\n key: eThemeLeptonXComponents.AccountLayout,\r\n component: AccountLayoutComponent,\r\n });\r\n }\r\n return init;\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i3","i4","i5.TenantBoxComponent","i1","i2","i5.AuthWrapperComponent"],"mappings":";;;;;;;;;;;;;;;;;;;MAQa,kBAAkB,CAAA;AAC7B,IAAA,WAAA,CAAmB,OAAyB,EAAA;AAAzB,QAAA,IAAO,CAAA,OAAA,GAAP,OAAO,CAAkB;KAAI;;+GADrC,kBAAkB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAlB,kBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,kBAAkB,EAFlB,QAAA,EAAA,gBAAA,EAAA,SAAA,EAAA,CAAC,gBAAgB,CAAC,0BCN/B,2yEAsEA,EAA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OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,YAb5B,mBAAmB;QACnB,oBAAoB;QACpB,wBAAwB;QACxB,UAAU;QACV,iBAAiB;QACjB,iBAAiB,CAAA,EAAA,CAAA,CAAA;2FAQR,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAf/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,mBAAmB;wBACnB,oBAAoB;wBACpB,wBAAwB;wBACxB,UAAU;wBACV,iBAAiB;wBACjB,iBAAiB;AAClB,qBAAA;AACD,oBAAA,YAAY,EAAE;wBACZ,oBAAoB;wBACpB,kBAAkB;wBAClB,sBAAsB;AACvB,qBAAA;iBACF,CAAA;;AAoBK,SAAU,iBAAiB,CAAC,QAAkB,EAAA;AAClD,IAAA,SAAS,IAAI,GAAA;QACX,MAAM,qBAAqB,GAAG,QAAQ,CAAC,GAAG,CAAC,4BAA4B,CAAC,CAAC;QACzE,qBAAqB,CAAC,GAAG,CAAC;YACxB,GAAG,EAAuC,8BAAA;AAC1C,YAAA,SAAS,EAAE,sBAAsB;AAClC,SAAA,CAAC,CAAC;KACJ;AACD,IAAA,OAAO,IAAI,CAAC;AACd;;ACtEA;;AAEG;;;;"}
|
|
@@ -6,7 +6,9 @@ import { CoreModule, ReplaceableComponentsService } from '@abp/ng.core';
|
|
|
6
6
|
import * as i3 from '@volosoft/ngx-lepton-x/layouts';
|
|
7
7
|
import { SideMenuLayoutTranslate, MobileMenuTranslate, ToolbarTranslateKeys, LpxSideMenuLayoutModule } from '@volosoft/ngx-lepton-x/layouts';
|
|
8
8
|
import * as i4 from '@volo/ngx-lepton-x.core';
|
|
9
|
-
import { LPX_AUTH_SERVICE_TOKEN } from '@volo/ngx-lepton-x.core';
|
|
9
|
+
import { LPX_AUTH_SERVICE_TOKEN, LpxBreadcrumbModule } from '@volo/ngx-lepton-x.core';
|
|
10
|
+
import * as i5 from '@volo/abp.ng.lepton-x.core';
|
|
11
|
+
import { PageAlertContainerModule } from '@volo/abp.ng.lepton-x.core';
|
|
10
12
|
import { CommonModule } from '@angular/common';
|
|
11
13
|
import { LPX_TRANSLATE_KEY_MAP_TOKEN, AbpAuthService } from '@volosoft/abp.ng.theme.lepton-x';
|
|
12
14
|
|
|
@@ -16,13 +18,14 @@ class SideMenuApplicationLayoutComponent {
|
|
|
16
18
|
this.navbarKey = "Theme.Sidebar" /* eThemeLeptonXComponents.Sidebar */;
|
|
17
19
|
this.routesKey = "Theme.RoutesComponent" /* eThemeLeptonXComponents.Routes */;
|
|
18
20
|
this.toolbarItemsKey = "Theme.NavItemsComponent" /* eThemeLeptonXComponents.NavItems */;
|
|
21
|
+
this.breadcrumbKey = "Theme.Breadcrumb" /* eThemeLeptonXComponents.Breadcrumb */;
|
|
19
22
|
}
|
|
20
23
|
}
|
|
21
24
|
SideMenuApplicationLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SideMenuApplicationLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
22
|
-
SideMenuApplicationLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: SideMenuApplicationLayoutComponent, selector: "abp-application-layout", ngImport: i0, template: "<lpx-layout>\r\n <ng-template lpx-navbar-panel>\r\n <lpx-navbar\r\n *abpReplaceableTemplate=\"{\r\n componentKey: navbarKey\r\n }\"\r\n >\r\n <ng-template lpx-navbar-routes let-items>\r\n <lpx-navbar-routes\r\n *abpReplaceableTemplate=\"{\r\n componentKey: routesKey,\r\n inputs: {\r\n navbarItems: items\r\n }\r\n }\"\r\n [navbarItems]=\"items\"\r\n >\r\n </lpx-navbar-routes>\r\n </ng-template>\r\n </lpx-navbar>\r\n </ng-template>\r\n <router-outlet></router-outlet>\r\n <ng-template lpx-toolbar-panel>\r\n <lpx-toolbar-container\r\n *abpReplaceableTemplate=\"{\r\n componentKey: toolbarKey\r\n }\"\r\n >\r\n </lpx-toolbar-container>\r\n </ng-template>\r\n</lpx-layout>\r\n", dependencies: [{ kind: "directive", type: i1.RouterOutlet, selector: "router-outlet", outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "directive", type: i2.ReplaceableTemplateDirective, selector: "[abpReplaceableTemplate]", inputs: ["abpReplaceableTemplate"] }, { kind: "component", type: i3.SideMenuLayoutComponent, selector: "lpx-layout" }, { kind: "directive", type: i3.NavbarPanelDirective, selector: "ng-template[lpx-navbar-panel]" }, { kind: "directive", type: i3.ToolbarPanelDirective, selector: "ng-template[lpx-toolbar-panel]" }, { kind: "component", type: i4.NavbarComponent, selector: "lpx-navbar" }, { kind: "component", type: i4.NavbarRoutesComponent, selector: "lpx-navbar-routes", inputs: ["navbarItems", "routerItem"], outputs: ["routeClick"] }, { kind: "directive", type: i4.NavbarRoutesDirective, selector: "[lpx-navbar-routes],[lpxNavbarRoutes]", exportAs: ["lpxNavbarRoutes"] }, { kind: "component", type: i3.ToolbarContainerComponent, selector: "lpx-toolbar-container" }], encapsulation: i0.ViewEncapsulation.None });
|
|
25
|
+
SideMenuApplicationLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: SideMenuApplicationLayoutComponent, selector: "abp-application-layout", ngImport: i0, template: "<lpx-layout>\r\n <abp-page-alert-container ></abp-page-alert-container>\r\n\r\n <ng-template lpx-navbar-panel>\r\n <lpx-navbar\r\n *abpReplaceableTemplate=\"{\r\n componentKey: navbarKey\r\n }\"\r\n >\r\n <ng-template lpx-navbar-routes let-items>\r\n <lpx-navbar-routes\r\n *abpReplaceableTemplate=\"{\r\n componentKey: routesKey,\r\n inputs: {\r\n navbarItems: items\r\n }\r\n }\"\r\n [navbarItems]=\"items\"\r\n >\r\n </lpx-navbar-routes>\r\n </ng-template>\r\n </lpx-navbar>\r\n </ng-template>\r\n <router-outlet></router-outlet>\r\n <ng-template lpx-breadcrumb-panel>\r\n <lpx-breadcrumb\r\n *abpReplaceableTemplate=\"{\r\n componentKey: breadcrumbKey\r\n }\"\r\n >\r\n </lpx-breadcrumb>\r\n </ng-template>\r\n <ng-template lpx-toolbar-panel>\r\n <lpx-toolbar-container\r\n *abpReplaceableTemplate=\"{\r\n componentKey: toolbarKey\r\n }\"\r\n >\r\n </lpx-toolbar-container>\r\n </ng-template>\r\n</lpx-layout>\r\n", dependencies: [{ kind: "directive", type: i1.RouterOutlet, selector: "router-outlet", outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "directive", type: i2.ReplaceableTemplateDirective, selector: "[abpReplaceableTemplate]", inputs: ["abpReplaceableTemplate"] }, { kind: "component", type: i3.SideMenuLayoutComponent, selector: "lpx-layout" }, { kind: "directive", type: i3.BreadcrumbPanelDirective, selector: "ng-template[lpx-breadcrumb-panel]" }, { kind: "directive", type: i3.NavbarPanelDirective, selector: "ng-template[lpx-navbar-panel]" }, { kind: "directive", type: i3.ToolbarPanelDirective, selector: "ng-template[lpx-toolbar-panel]" }, { kind: "component", type: i4.BreadcrumbComponent, selector: "lpx-breadcrumb" }, { kind: "component", type: i4.NavbarComponent, selector: "lpx-navbar" }, { kind: "component", type: i4.NavbarRoutesComponent, selector: "lpx-navbar-routes", inputs: ["navbarItems", "routerItem"], outputs: ["routeClick"] }, { kind: "directive", type: i4.NavbarRoutesDirective, selector: "[lpx-navbar-routes],[lpxNavbarRoutes]", exportAs: ["lpxNavbarRoutes"] }, { kind: "component", type: i3.ToolbarContainerComponent, selector: "lpx-toolbar-container" }, { kind: "component", type: i5.PageAlertContainerComponent, selector: "abp-page-alert-container" }], encapsulation: i0.ViewEncapsulation.None });
|
|
23
26
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SideMenuApplicationLayoutComponent, decorators: [{
|
|
24
27
|
type: Component,
|
|
25
|
-
args: [{ selector: 'abp-application-layout', encapsulation: ViewEncapsulation.None, template: "<lpx-layout>\r\n <ng-template lpx-navbar-panel>\r\n <lpx-navbar\r\n *abpReplaceableTemplate=\"{\r\n componentKey: navbarKey\r\n }\"\r\n >\r\n <ng-template lpx-navbar-routes let-items>\r\n <lpx-navbar-routes\r\n *abpReplaceableTemplate=\"{\r\n componentKey: routesKey,\r\n inputs: {\r\n navbarItems: items\r\n }\r\n }\"\r\n [navbarItems]=\"items\"\r\n >\r\n </lpx-navbar-routes>\r\n </ng-template>\r\n </lpx-navbar>\r\n </ng-template>\r\n <router-outlet></router-outlet>\r\n <ng-template lpx-toolbar-panel>\r\n <lpx-toolbar-container\r\n *abpReplaceableTemplate=\"{\r\n componentKey: toolbarKey\r\n }\"\r\n >\r\n </lpx-toolbar-container>\r\n </ng-template>\r\n</lpx-layout>\r\n" }]
|
|
28
|
+
args: [{ selector: 'abp-application-layout', encapsulation: ViewEncapsulation.None, template: "<lpx-layout>\r\n <abp-page-alert-container ></abp-page-alert-container>\r\n\r\n <ng-template lpx-navbar-panel>\r\n <lpx-navbar\r\n *abpReplaceableTemplate=\"{\r\n componentKey: navbarKey\r\n }\"\r\n >\r\n <ng-template lpx-navbar-routes let-items>\r\n <lpx-navbar-routes\r\n *abpReplaceableTemplate=\"{\r\n componentKey: routesKey,\r\n inputs: {\r\n navbarItems: items\r\n }\r\n }\"\r\n [navbarItems]=\"items\"\r\n >\r\n </lpx-navbar-routes>\r\n </ng-template>\r\n </lpx-navbar>\r\n </ng-template>\r\n <router-outlet></router-outlet>\r\n <ng-template lpx-breadcrumb-panel>\r\n <lpx-breadcrumb\r\n *abpReplaceableTemplate=\"{\r\n componentKey: breadcrumbKey\r\n }\"\r\n >\r\n </lpx-breadcrumb>\r\n </ng-template>\r\n <ng-template lpx-toolbar-panel>\r\n <lpx-toolbar-container\r\n *abpReplaceableTemplate=\"{\r\n componentKey: toolbarKey\r\n }\"\r\n >\r\n </lpx-toolbar-container>\r\n </ng-template>\r\n</lpx-layout>\r\n" }]
|
|
26
29
|
}] });
|
|
27
30
|
|
|
28
31
|
const keyMap = {
|
|
@@ -62,13 +65,27 @@ class SideMenuLayoutModule {
|
|
|
62
65
|
}
|
|
63
66
|
}
|
|
64
67
|
SideMenuLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SideMenuLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
65
|
-
SideMenuLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: SideMenuLayoutModule, declarations: [SideMenuApplicationLayoutComponent], imports: [CommonModule,
|
|
66
|
-
|
|
68
|
+
SideMenuLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: SideMenuLayoutModule, declarations: [SideMenuApplicationLayoutComponent], imports: [CommonModule,
|
|
69
|
+
CoreModule,
|
|
70
|
+
LpxSideMenuLayoutModule,
|
|
71
|
+
LpxBreadcrumbModule,
|
|
72
|
+
PageAlertContainerModule], exports: [SideMenuApplicationLayoutComponent] });
|
|
73
|
+
SideMenuLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SideMenuLayoutModule, imports: [CommonModule,
|
|
74
|
+
CoreModule,
|
|
75
|
+
LpxSideMenuLayoutModule,
|
|
76
|
+
LpxBreadcrumbModule,
|
|
77
|
+
PageAlertContainerModule] });
|
|
67
78
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SideMenuLayoutModule, decorators: [{
|
|
68
79
|
type: NgModule,
|
|
69
80
|
args: [{
|
|
70
81
|
declarations: [SideMenuApplicationLayoutComponent],
|
|
71
|
-
imports: [
|
|
82
|
+
imports: [
|
|
83
|
+
CommonModule,
|
|
84
|
+
CoreModule,
|
|
85
|
+
LpxSideMenuLayoutModule,
|
|
86
|
+
LpxBreadcrumbModule,
|
|
87
|
+
PageAlertContainerModule,
|
|
88
|
+
],
|
|
72
89
|
exports: [SideMenuApplicationLayoutComponent],
|
|
73
90
|
}]
|
|
74
91
|
}] });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"volosoft-abp.ng.theme.lepton-x-layouts.mjs","sources":["../../../../libs/volo-lepton-x/layouts/src/side-menu/layout/side-menu-application-layout.component.ts","../../../../libs/volo-lepton-x/layouts/src/side-menu/layout/side-menu-application-layout.component.html","../../../../libs/volo-lepton-x/layouts/src/side-menu/layout/providers/translate.provider.ts","../../../../libs/volo-lepton-x/layouts/src/side-menu/layout/side-menu-layout.module.ts","../../../../libs/volo-lepton-x/layouts/src/volosoft-abp.ng.theme.lepton-x-layouts.ts"],"sourcesContent":["import { Component, ViewEncapsulation } from '@angular/core';\r\nimport { eThemeLeptonXComponents } from '@volosoft/abp.ng.theme.lepton-x';\r\n\r\n@Component({\r\n selector: 'abp-application-layout',\r\n templateUrl: './side-menu-application-layout.component.html',\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class SideMenuApplicationLayoutComponent {\r\n toolbarKey = eThemeLeptonXComponents.Navbar;\r\n navbarKey = eThemeLeptonXComponents.Sidebar;\r\n routesKey = eThemeLeptonXComponents.Routes;\r\n toolbarItemsKey = eThemeLeptonXComponents.NavItems;\r\n}\r\n","<lpx-layout>\r\n <ng-template lpx-navbar-panel>\r\n <lpx-navbar\r\n *abpReplaceableTemplate=\"{\r\n componentKey: navbarKey\r\n }\"\r\n >\r\n <ng-template lpx-navbar-routes let-items>\r\n <lpx-navbar-routes\r\n *abpReplaceableTemplate=\"{\r\n componentKey: routesKey,\r\n inputs: {\r\n navbarItems: items\r\n }\r\n }\"\r\n [navbarItems]=\"items\"\r\n >\r\n </lpx-navbar-routes>\r\n </ng-template>\r\n </lpx-navbar>\r\n </ng-template>\r\n <router-outlet></router-outlet>\r\n <ng-template lpx-toolbar-panel>\r\n <lpx-toolbar-container\r\n *abpReplaceableTemplate=\"{\r\n componentKey: toolbarKey\r\n }\"\r\n >\r\n </lpx-toolbar-container>\r\n </ng-template>\r\n</lpx-layout>\r\n","import {\r\n MobileMenuTranslate,\r\n MobileMenuTranslateValues,\r\n SideMenuLayoutTranslate,\r\n SideMenuLayoutTranslateValues,\r\n ToolbarTranslateKeys,\r\n ToolbarTranslateValues,\r\n} from '@volosoft/ngx-lepton-x/layouts';\r\nimport { Provider } from '@angular/core';\r\nimport { LPX_TRANSLATE_KEY_MAP_TOKEN } from '@volosoft/abp.ng.theme.lepton-x';\r\n\r\nconst keyMap: SideMenuLayoutTranslateValues &\r\n MobileMenuTranslateValues &\r\n ToolbarTranslateValues = {\r\n [SideMenuLayoutTranslate.GeneralSettings]: 'LeptonX::GeneralSettings',\r\n [SideMenuLayoutTranslate.MenuFilter]: 'LeptonX::FilterMenu',\r\n [SideMenuLayoutTranslate.SettingsTitle]: 'LeptonX::ContainerWidth',\r\n [SideMenuLayoutTranslate.BoxedContainer]: 'LeptonX::ContainerWidth:Boxed',\r\n [SideMenuLayoutTranslate.FullWidthContainer]:\r\n 'LeptonX::ContainerWidth:FullWidth',\r\n [MobileMenuTranslate.SettingsTitle]: 'LeptonX::Settings',\r\n [ToolbarTranslateKeys.ContextMenuWelcome]: 'LeptonX::Welcome',\r\n};\r\n\r\nexport const LPX_TRANSLATE_KEYS_PROVIDER: Provider = {\r\n provide: LPX_TRANSLATE_KEY_MAP_TOKEN,\r\n multi: true,\r\n useValue: keyMap,\r\n};\r\n","import {\r\n APP_INITIALIZER,\r\n Injector,\r\n ModuleWithProviders,\r\n NgModule,\r\n Provider,\r\n} from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { CoreModule, ReplaceableComponentsService } from '@abp/ng.core';\r\nimport { LpxSideMenuLayoutModule } from '@volosoft/ngx-lepton-x/layouts';\r\nimport {\r\n AbpAuthService,\r\n eThemeLeptonXComponents,\r\n} from '@volosoft/abp.ng.theme.lepton-x';\r\
|
|
1
|
+
{"version":3,"file":"volosoft-abp.ng.theme.lepton-x-layouts.mjs","sources":["../../../../libs/volo-lepton-x/layouts/src/side-menu/layout/side-menu-application-layout.component.ts","../../../../libs/volo-lepton-x/layouts/src/side-menu/layout/side-menu-application-layout.component.html","../../../../libs/volo-lepton-x/layouts/src/side-menu/layout/providers/translate.provider.ts","../../../../libs/volo-lepton-x/layouts/src/side-menu/layout/side-menu-layout.module.ts","../../../../libs/volo-lepton-x/layouts/src/volosoft-abp.ng.theme.lepton-x-layouts.ts"],"sourcesContent":["import { Component, ViewEncapsulation } from '@angular/core';\r\nimport { eThemeLeptonXComponents } from '@volosoft/abp.ng.theme.lepton-x';\r\n\r\n@Component({\r\n selector: 'abp-application-layout',\r\n templateUrl: './side-menu-application-layout.component.html',\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class SideMenuApplicationLayoutComponent {\r\n toolbarKey = eThemeLeptonXComponents.Navbar;\r\n navbarKey = eThemeLeptonXComponents.Sidebar;\r\n routesKey = eThemeLeptonXComponents.Routes;\r\n toolbarItemsKey = eThemeLeptonXComponents.NavItems;\r\n breadcrumbKey = eThemeLeptonXComponents.Breadcrumb;\r\n}\r\n","<lpx-layout>\r\n <abp-page-alert-container ></abp-page-alert-container>\r\n\r\n <ng-template lpx-navbar-panel>\r\n <lpx-navbar\r\n *abpReplaceableTemplate=\"{\r\n componentKey: navbarKey\r\n }\"\r\n >\r\n <ng-template lpx-navbar-routes let-items>\r\n <lpx-navbar-routes\r\n *abpReplaceableTemplate=\"{\r\n componentKey: routesKey,\r\n inputs: {\r\n navbarItems: items\r\n }\r\n }\"\r\n [navbarItems]=\"items\"\r\n >\r\n </lpx-navbar-routes>\r\n </ng-template>\r\n </lpx-navbar>\r\n </ng-template>\r\n <router-outlet></router-outlet>\r\n <ng-template lpx-breadcrumb-panel>\r\n <lpx-breadcrumb\r\n *abpReplaceableTemplate=\"{\r\n componentKey: breadcrumbKey\r\n }\"\r\n >\r\n </lpx-breadcrumb>\r\n </ng-template>\r\n <ng-template lpx-toolbar-panel>\r\n <lpx-toolbar-container\r\n *abpReplaceableTemplate=\"{\r\n componentKey: toolbarKey\r\n }\"\r\n >\r\n </lpx-toolbar-container>\r\n </ng-template>\r\n</lpx-layout>\r\n","import {\r\n MobileMenuTranslate,\r\n MobileMenuTranslateValues,\r\n SideMenuLayoutTranslate,\r\n SideMenuLayoutTranslateValues,\r\n ToolbarTranslateKeys,\r\n ToolbarTranslateValues,\r\n} from '@volosoft/ngx-lepton-x/layouts';\r\nimport { Provider } from '@angular/core';\r\nimport { LPX_TRANSLATE_KEY_MAP_TOKEN } from '@volosoft/abp.ng.theme.lepton-x';\r\n\r\nconst keyMap: SideMenuLayoutTranslateValues &\r\n MobileMenuTranslateValues &\r\n ToolbarTranslateValues = {\r\n [SideMenuLayoutTranslate.GeneralSettings]: 'LeptonX::GeneralSettings',\r\n [SideMenuLayoutTranslate.MenuFilter]: 'LeptonX::FilterMenu',\r\n [SideMenuLayoutTranslate.SettingsTitle]: 'LeptonX::ContainerWidth',\r\n [SideMenuLayoutTranslate.BoxedContainer]: 'LeptonX::ContainerWidth:Boxed',\r\n [SideMenuLayoutTranslate.FullWidthContainer]:\r\n 'LeptonX::ContainerWidth:FullWidth',\r\n [MobileMenuTranslate.SettingsTitle]: 'LeptonX::Settings',\r\n [ToolbarTranslateKeys.ContextMenuWelcome]: 'LeptonX::Welcome',\r\n};\r\n\r\nexport const LPX_TRANSLATE_KEYS_PROVIDER: Provider = {\r\n provide: LPX_TRANSLATE_KEY_MAP_TOKEN,\r\n multi: true,\r\n useValue: keyMap,\r\n};\r\n","import {\r\n APP_INITIALIZER,\r\n Injector,\r\n ModuleWithProviders,\r\n NgModule,\r\n Provider,\r\n} from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { CoreModule, ReplaceableComponentsService } from '@abp/ng.core';\r\nimport { LpxSideMenuLayoutModule } from '@volosoft/ngx-lepton-x/layouts';\r\nimport {\r\n AbpAuthService,\r\n eThemeLeptonXComponents,\r\n} from '@volosoft/abp.ng.theme.lepton-x';\r\nimport { SideMenuApplicationLayoutComponent } from './side-menu-application-layout.component';\r\nimport {\r\n LpxBreadcrumbModule,\r\n LPX_AUTH_SERVICE_TOKEN,\r\n} from '@volo/ngx-lepton-x.core';\r\nimport { LPX_TRANSLATE_KEYS_PROVIDER } from './providers/translate.provider';\r\nimport { PageAlertContainerModule } from '@volo/abp.ng.lepton-x.core';\r\n\r\n@NgModule({\r\n declarations: [SideMenuApplicationLayoutComponent],\r\n imports: [\r\n CommonModule,\r\n CoreModule,\r\n LpxSideMenuLayoutModule,\r\n LpxBreadcrumbModule,\r\n PageAlertContainerModule,\r\n ],\r\n exports: [SideMenuApplicationLayoutComponent],\r\n})\r\nexport class SideMenuLayoutModule {\r\n static forRoot(): ModuleWithProviders<SideMenuLayoutModule> {\r\n return {\r\n ngModule: SideMenuLayoutModule,\r\n providers: [\r\n LpxSideMenuLayoutModule.forRoot().providers as Provider,\r\n {\r\n provide: APP_INITIALIZER,\r\n useFactory: initLayouts,\r\n deps: [Injector],\r\n multi: true,\r\n },\r\n {\r\n provide: LPX_AUTH_SERVICE_TOKEN,\r\n useClass: AbpAuthService,\r\n },\r\n LPX_TRANSLATE_KEYS_PROVIDER,\r\n ],\r\n };\r\n }\r\n}\r\n\r\nexport function initLayouts(injector: Injector) {\r\n function init() {\r\n const replaceableComponents = injector.get(ReplaceableComponentsService);\r\n replaceableComponents.add({\r\n key: eThemeLeptonXComponents.ApplicationLayout,\r\n component: SideMenuApplicationLayoutComponent,\r\n });\r\n }\r\n return init;\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;MAQa,kCAAkC,CAAA;AAL/C,IAAA,WAAA,GAAA;AAME,QAAA,IAAA,CAAA,UAAU,GAAkC,uBAAA,sCAAA;AAC5C,QAAA,IAAA,CAAA,SAAS,GAAmC,eAAA,uCAAA;AAC5C,QAAA,IAA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