@volosoft/abp.ng.theme.lepton-x 2.2.0 → 2.3.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/account/account/account-layout.component.d.ts +6 -6
- package/account/account/account-layout.module.d.ts +20 -22
- package/account/account/components/auth-wrapper/auth-wrapper.component.d.ts +7 -8
- package/account/account/components/index.d.ts +2 -2
- package/account/account/components/tenant-box/tenant-box.component.d.ts +7 -8
- package/account/account/index.d.ts +3 -3
- package/account/index.d.ts +1 -1
- package/esm2022/account/account/account-layout.component.mjs +20 -0
- package/esm2022/account/account/account-layout.module.mjs +52 -0
- package/esm2022/account/account/components/auth-wrapper/auth-wrapper.component.mjs +29 -0
- package/{esm2020 → esm2022}/account/account/components/index.mjs +2 -2
- package/esm2022/account/account/components/tenant-box/tenant-box.component.mjs +22 -0
- package/{esm2020 → esm2022}/account/account/index.mjs +3 -3
- package/{esm2020 → esm2022}/account/index.mjs +1 -1
- package/{esm2020 → esm2022}/account/volosoft-abp.ng.theme.lepton-x-account.mjs +4 -4
- package/{esm2020 → esm2022}/index.mjs +1 -1
- package/{esm2020 → esm2022}/layouts/index.mjs +2 -2
- package/{esm2020 → esm2022}/layouts/side-menu/index.mjs +1 -1
- package/{esm2020 → esm2022}/layouts/side-menu/layout/index.mjs +3 -3
- package/{esm2020 → esm2022}/layouts/side-menu/layout/providers/index.mjs +1 -1
- package/{esm2020 → esm2022}/layouts/side-menu/layout/providers/translate.provider.mjs +16 -16
- package/esm2022/layouts/side-menu/layout/side-menu-application-layout.component.mjs +30 -0
- package/esm2022/layouts/side-menu/layout/side-menu-layout.module.mjs +74 -0
- package/{esm2020 → esm2022}/layouts/top-menu/index.mjs +1 -1
- package/{esm2020 → esm2022}/layouts/top-menu/layout/index.mjs +1 -1
- package/{esm2020 → esm2022}/layouts/top-menu/layout/providers/index.mjs +1 -1
- package/{esm2020 → esm2022}/layouts/top-menu/layout/providers/translate.provider.mjs +12 -12
- package/esm2022/layouts/top-menu/layout/top-menu-application-layout.component.mjs +28 -0
- package/esm2022/layouts/top-menu/layout/top-menu-layout.module.mjs +79 -0
- package/{esm2020 → esm2022}/layouts/volosoft-abp.ng.theme.lepton-x-layouts.mjs +4 -4
- package/esm2022/lib/components/abp-validation-error/abp-validation-error.component.mjs +52 -0
- package/esm2022/lib/components/abp-validation-error/abp-validation-error.module.mjs +40 -0
- package/{esm2020 → esm2022}/lib/components/abp-validation-error/index.mjs +2 -2
- package/esm2022/lib/components/http-error/http-error.component.mjs +45 -0
- package/esm2022/lib/components/http-error/http-error.module.mjs +26 -0
- package/{esm2020 → esm2022}/lib/components/http-error/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/components/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/enums/components.mjs +1 -1
- package/{esm2020 → esm2022}/lib/enums/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/enums/user-menu-items.mjs +9 -9
- package/{esm2020 → esm2022}/lib/index.mjs +5 -5
- package/esm2022/lib/lepton-x.module.mjs +60 -0
- package/esm2022/lib/providers/account-layout.provider.mjs +20 -0
- package/{esm2020 → esm2022}/lib/providers/init-service.provider.mjs +18 -18
- package/{esm2020 → esm2022}/lib/providers/style.provider.mjs +17 -17
- package/{esm2020 → esm2022}/lib/providers/translate.provider.mjs +21 -21
- package/{esm2020 → esm2022}/lib/providers/user-menu-service.provider.mjs +88 -88
- package/esm2022/lib/services/abp-auth.service.mjs +24 -0
- package/esm2022/lib/services/abp-settings.service.mjs +125 -0
- package/esm2022/lib/services/abp-toolbar.service.mjs +33 -0
- package/esm2022/lib/services/abp-translate.service.mjs +47 -0
- package/{esm2020 → esm2022}/lib/services/index.mjs +4 -4
- package/{esm2020 → esm2022}/lib/tokens/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/tokens/translate-key-map.mjs +2 -2
- package/{esm2020 → esm2022}/volosoft-abp.ng.theme.lepton-x.mjs +4 -4
- package/fesm2022/volosoft-abp.ng.theme.lepton-x-account.mjs +108 -0
- package/fesm2022/volosoft-abp.ng.theme.lepton-x-account.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/volosoft-abp.ng.theme.lepton-x-layouts.mjs +188 -188
- package/fesm2022/volosoft-abp.ng.theme.lepton-x-layouts.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/volosoft-abp.ng.theme.lepton-x.mjs +502 -483
- package/fesm2022/volosoft-abp.ng.theme.lepton-x.mjs.map +1 -0
- package/index.d.ts +1 -1
- package/layouts/index.d.ts +2 -2
- package/layouts/side-menu/index.d.ts +1 -1
- package/layouts/side-menu/layout/index.d.ts +3 -3
- package/layouts/side-menu/layout/providers/index.d.ts +1 -1
- package/layouts/side-menu/layout/providers/translate.provider.d.ts +2 -2
- package/layouts/side-menu/layout/side-menu-application-layout.component.d.ts +17 -17
- package/layouts/side-menu/layout/side-menu-layout.module.d.ts +15 -15
- package/layouts/top-menu/index.d.ts +1 -1
- package/layouts/top-menu/layout/index.d.ts +1 -1
- package/layouts/top-menu/layout/providers/index.d.ts +1 -1
- package/layouts/top-menu/layout/providers/translate.provider.d.ts +2 -2
- package/layouts/top-menu/layout/top-menu-application-layout.component.d.ts +15 -15
- package/layouts/top-menu/layout/top-menu-layout.module.d.ts +16 -16
- package/lib/components/abp-validation-error/abp-validation-error.component.d.ts +9 -9
- package/lib/components/abp-validation-error/abp-validation-error.module.d.ts +12 -12
- package/lib/components/abp-validation-error/index.d.ts +2 -2
- package/lib/components/http-error/http-error.component.d.ts +10 -10
- package/lib/components/http-error/http-error.module.d.ts +13 -13
- package/lib/components/http-error/index.d.ts +2 -2
- package/lib/components/index.d.ts +2 -2
- package/lib/enums/components.d.ts +20 -20
- package/lib/enums/index.d.ts +2 -2
- package/lib/enums/user-menu-items.d.ts +8 -8
- package/lib/index.d.ts +5 -5
- package/lib/lepton-x.module.d.ts +11 -11
- package/lib/providers/account-layout.provider.d.ts +8 -0
- package/lib/providers/init-service.provider.d.ts +6 -6
- package/lib/providers/style.provider.d.ts +3 -3
- package/lib/providers/translate.provider.d.ts +6 -6
- package/lib/providers/user-menu-service.provider.d.ts +8 -8
- package/lib/services/abp-auth.service.d.ts +12 -12
- package/lib/services/abp-settings.service.d.ts +26 -26
- package/lib/services/abp-toolbar.service.d.ts +13 -13
- package/lib/services/abp-translate.service.d.ts +14 -14
- package/lib/services/index.d.ts +4 -4
- package/lib/tokens/index.d.ts +1 -1
- package/lib/tokens/translate-key-map.d.ts +4 -4
- package/package.json +18 -28
- package/esm2020/account/account/account-layout.component.mjs +0 -19
- package/esm2020/account/account/account-layout.module.mjs +0 -71
- package/esm2020/account/account/components/auth-wrapper/auth-wrapper.component.mjs +0 -20
- package/esm2020/account/account/components/tenant-box/tenant-box.component.mjs +0 -20
- package/esm2020/layouts/side-menu/layout/side-menu-application-layout.component.mjs +0 -29
- package/esm2020/layouts/side-menu/layout/side-menu-layout.module.mjs +0 -73
- package/esm2020/layouts/top-menu/layout/top-menu-application-layout.component.mjs +0 -27
- package/esm2020/layouts/top-menu/layout/top-menu-layout.module.mjs +0 -78
- package/esm2020/lib/components/abp-validation-error/abp-validation-error.component.mjs +0 -51
- package/esm2020/lib/components/abp-validation-error/abp-validation-error.module.mjs +0 -39
- package/esm2020/lib/components/http-error/http-error.component.mjs +0 -44
- package/esm2020/lib/components/http-error/http-error.module.mjs +0 -25
- package/esm2020/lib/lepton-x.module.mjs +0 -57
- package/esm2020/lib/services/abp-auth.service.mjs +0 -23
- package/esm2020/lib/services/abp-settings.service.mjs +0 -124
- package/esm2020/lib/services/abp-toolbar.service.mjs +0 -32
- package/esm2020/lib/services/abp-translate.service.mjs +0 -46
- package/fesm2015/volosoft-abp.ng.theme.lepton-x-account.mjs +0 -121
- package/fesm2015/volosoft-abp.ng.theme.lepton-x-account.mjs.map +0 -1
- package/fesm2015/volosoft-abp.ng.theme.lepton-x-layouts.mjs.map +0 -1
- package/fesm2015/volosoft-abp.ng.theme.lepton-x.mjs +0 -542
- package/fesm2015/volosoft-abp.ng.theme.lepton-x.mjs.map +0 -1
- package/fesm2020/volosoft-abp.ng.theme.lepton-x-account.mjs +0 -121
- package/fesm2020/volosoft-abp.ng.theme.lepton-x-account.mjs.map +0 -1
- package/fesm2020/volosoft-abp.ng.theme.lepton-x-layouts.mjs +0 -219
- package/fesm2020/volosoft-abp.ng.theme.lepton-x-layouts.mjs.map +0 -1
- package/fesm2020/volosoft-abp.ng.theme.lepton-x.mjs.map +0 -1
|
@@ -13,206 +13,206 @@ import { LPX_AUTH_SERVICE_TOKEN, LpxBreadcrumbModule, PanelsModule, LpxFooterMod
|
|
|
13
13
|
import { CommonModule } from '@angular/common';
|
|
14
14
|
import { LPX_TRANSLATE_KEY_MAP_TOKEN, AbpAuthService } from '@volosoft/abp.ng.theme.lepton-x';
|
|
15
15
|
|
|
16
|
-
class SideMenuApplicationLayoutComponent {
|
|
17
|
-
constructor() {
|
|
18
|
-
this.toolbarKey = "Theme.ToolbarComponent" /* eThemeLeptonXComponents.Toolbar */;
|
|
19
|
-
this.navbarKey = "Theme.NavbarComponent" /* eThemeLeptonXComponents.Navbar */;
|
|
20
|
-
this.routesKey = "Theme.RoutesComponent" /* eThemeLeptonXComponents.Routes */;
|
|
21
|
-
this.navItemsKey = "Theme.NavItemsComponent" /* eThemeLeptonXComponents.NavItems */;
|
|
22
|
-
this.breadcrumbKey = "Theme.Breadcrumb" /* eThemeLeptonXComponents.Breadcrumb */;
|
|
23
|
-
this.footerKey = "Theme.FooterComponent" /* eThemeLeptonXComponents.Footer */;
|
|
24
|
-
this.settingsPanelKey = "Theme.SettingsComponent" /* eThemeLeptonXComponents.Settings */;
|
|
25
|
-
this.mobileNavbarKey = "Theme.NavbarMobileComponent" /* eThemeLeptonXComponents.NavbarMobile */;
|
|
26
|
-
this.pageAlertContainerKey = "Theme.PageAlertContainerComponent" /* eThemeLeptonXComponents.PageAlertContainer */;
|
|
27
|
-
this.logoKey = "Theme.LogoComponent" /* eThemeLeptonXComponents.Logo */;
|
|
28
|
-
this.currentUserImageKey = "Theme.CurrentUserImageComponent" /* eThemeLeptonXComponents.CurrentUserImage */;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
34
|
-
type: Component,
|
|
35
|
-
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-container *abpIfReplaceableTemplateExists=\"logoKey\">\r\n <ng-template lpx-logo-panel>\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: logoKey }\">\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n \r\n <ng-template lpx-navbar-routes let-items let-groupItems=\"groupItems\">\r\n <lpx-navbar-routes\r\n *abpReplaceableTemplate=\"{\r\n componentKey: routesKey,\r\n inputs: {\r\n navbarItems: items,\r\n groupItems\r\n }\r\n }\"\r\n [navbarItems]=\"items\"\r\n [groupedItems]=\"groupItems\"\r\n >\r\n </lpx-navbar-routes>\r\n </ng-template>\r\n </lpx-navbar>\r\n </ng-template>\r\n <ng-template lpx-content>\r\n <abp-page-alert-container\r\n *abpReplaceableTemplate=\"{ componentKey: pageAlertContainerKey }\"\r\n ></abp-page-alert-container>\r\n\r\n <router-outlet></router-outlet>\r\n </ng-template>\r\n\r\n <ng-container *abpIfReplaceableTemplateExists=\"breadcrumbKey\">\r\n <ng-template lpx-breadcrumb-panel>\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: breadcrumbKey }\">\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *abpIfReplaceableTemplateExists=\"toolbarKey\">\r\n <ng-template lpx-toolbar-panel>\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: toolbarKey }\">\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *abpIfReplaceableTemplateExists=\"navItemsKey\">\r\n <ng-template lpx-navitem-panel>\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: navItemsKey }\">\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *abpIfReplaceableTemplateExists=\"footerKey\">\r\n <ng-template lpx-footer-panel>\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: footerKey }\">\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *abpIfReplaceableTemplateExists=\"currentUserImageKey\">\r\n <ng-template lpx-current-user-image-panel>\r\n <ng-container\r\n *abpReplaceableTemplate=\"{ componentKey: currentUserImageKey }\"\r\n >\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *abpIfReplaceableTemplateExists=\"mobileNavbarKey\">\r\n <ng-template lpx-mobile-navbar-panel>\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: mobileNavbarKey }\">\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *abpIfReplaceableTemplateExists=\"settingsPanelKey\">\r\n <ng-template lpx-settings-panel>\r\n <ng-container\r\n *abpReplaceableTemplate=\"{\r\n componentKey: settingsPanelKey\r\n }\"\r\n ></ng-container>\r\n </ng-template>\r\n </ng-container>\r\n</lpx-layout>\r\n" }]
|
|
16
|
+
class SideMenuApplicationLayoutComponent {
|
|
17
|
+
constructor() {
|
|
18
|
+
this.toolbarKey = "Theme.ToolbarComponent" /* eThemeLeptonXComponents.Toolbar */;
|
|
19
|
+
this.navbarKey = "Theme.NavbarComponent" /* eThemeLeptonXComponents.Navbar */;
|
|
20
|
+
this.routesKey = "Theme.RoutesComponent" /* eThemeLeptonXComponents.Routes */;
|
|
21
|
+
this.navItemsKey = "Theme.NavItemsComponent" /* eThemeLeptonXComponents.NavItems */;
|
|
22
|
+
this.breadcrumbKey = "Theme.Breadcrumb" /* eThemeLeptonXComponents.Breadcrumb */;
|
|
23
|
+
this.footerKey = "Theme.FooterComponent" /* eThemeLeptonXComponents.Footer */;
|
|
24
|
+
this.settingsPanelKey = "Theme.SettingsComponent" /* eThemeLeptonXComponents.Settings */;
|
|
25
|
+
this.mobileNavbarKey = "Theme.NavbarMobileComponent" /* eThemeLeptonXComponents.NavbarMobile */;
|
|
26
|
+
this.pageAlertContainerKey = "Theme.PageAlertContainerComponent" /* eThemeLeptonXComponents.PageAlertContainer */;
|
|
27
|
+
this.logoKey = "Theme.LogoComponent" /* eThemeLeptonXComponents.Logo */;
|
|
28
|
+
this.currentUserImageKey = "Theme.CurrentUserImageComponent" /* eThemeLeptonXComponents.CurrentUserImage */;
|
|
29
|
+
}
|
|
30
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: SideMenuApplicationLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
31
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.4", 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-container *abpIfReplaceableTemplateExists=\"logoKey\">\r\n <ng-template lpx-logo-panel>\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: logoKey }\">\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n \r\n <ng-template lpx-navbar-routes let-items let-groupItems=\"groupItems\">\r\n <lpx-navbar-routes\r\n *abpReplaceableTemplate=\"{\r\n componentKey: routesKey,\r\n inputs: {\r\n navbarItems: items,\r\n groupItems\r\n }\r\n }\"\r\n [navbarItems]=\"items\"\r\n [groupedItems]=\"groupItems\"\r\n >\r\n </lpx-navbar-routes>\r\n </ng-template>\r\n </lpx-navbar>\r\n </ng-template>\r\n <ng-template lpx-content>\r\n <abp-page-alert-container\r\n *abpReplaceableTemplate=\"{ componentKey: pageAlertContainerKey }\"\r\n ></abp-page-alert-container>\r\n\r\n <router-outlet></router-outlet>\r\n </ng-template>\r\n\r\n <ng-container *abpIfReplaceableTemplateExists=\"breadcrumbKey\">\r\n <ng-template lpx-breadcrumb-panel>\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: breadcrumbKey }\">\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *abpIfReplaceableTemplateExists=\"toolbarKey\">\r\n <ng-template lpx-toolbar-panel>\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: toolbarKey }\">\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *abpIfReplaceableTemplateExists=\"navItemsKey\">\r\n <ng-template lpx-navitem-panel>\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: navItemsKey }\">\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *abpIfReplaceableTemplateExists=\"footerKey\">\r\n <ng-template lpx-footer-panel>\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: footerKey }\">\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *abpIfReplaceableTemplateExists=\"currentUserImageKey\">\r\n <ng-template lpx-current-user-image-panel>\r\n <ng-container\r\n *abpReplaceableTemplate=\"{ componentKey: currentUserImageKey }\"\r\n >\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *abpIfReplaceableTemplateExists=\"mobileNavbarKey\">\r\n <ng-template lpx-mobile-navbar-panel>\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: mobileNavbarKey }\">\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *abpIfReplaceableTemplateExists=\"settingsPanelKey\">\r\n <ng-template lpx-settings-panel>\r\n <ng-container\r\n *abpReplaceableTemplate=\"{\r\n componentKey: settingsPanelKey\r\n }\"\r\n ></ng-container>\r\n </ng-template>\r\n </ng-container>\r\n</lpx-layout>\r\n", dependencies: [{ kind: "directive", type: i1.IfReplaceableTemplateExistsDirective, selector: "[abpIfReplaceableTemplateExists]", inputs: ["abpIfReplaceableTemplateExists"] }, { kind: "component", type: i1.PageAlertContainerComponent, selector: "abp-page-alert-container" }, { kind: "directive", type: i2.RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "directive", type: i3.ReplaceableTemplateDirective, selector: "[abpReplaceableTemplate]", inputs: ["abpReplaceableTemplate"] }, { kind: "component", type: i4.SideMenuLayoutComponent, selector: "lpx-layout" }, { kind: "component", type: i5.NavbarComponent, selector: "lpx-navbar" }, { kind: "component", type: i5.NavbarRoutesComponent, selector: "lpx-navbar-routes", inputs: ["groupedItems", "navbarItems", "routerItem"], outputs: ["routeClick"] }, { kind: "directive", type: i5.NavbarRoutesDirective, selector: "[lpx-navbar-routes],[lpxNavbarRoutes]", exportAs: ["lpxNavbarRoutes"] }, { kind: "directive", type: i5.BreadcrumbPanelDirective, selector: "ng-template[lpx-breadcrumb-panel]" }, { kind: "directive", type: i5.ContentPanelDirective, selector: "ng-template[lpx-content]" }, { kind: "directive", type: i5.CurrentUserImagePanelDirective, selector: "ng-template[lpx-current-user-image-panel]" }, { kind: "directive", type: i5.FooterPanelDirective, selector: "ng-template[lpx-footer-panel]" }, { kind: "directive", type: i5.LogoPanelDirective, selector: "ng-template[lpx-logo-panel]" }, { kind: "directive", type: i5.MobileNavbarPanelDirective, selector: "ng-template[lpx-mobile-navbar-panel]" }, { kind: "directive", type: i5.NavbarPanelDirective, selector: "ng-template[lpx-navbar-panel]" }, { kind: "directive", type: i5.NavitemPanelDirective, selector: "ng-template[lpx-navitem-panel]" }, { kind: "directive", type: i5.SettingsPanelDirective, selector: "ng-template[lpx-settings-panel]" }, { kind: "directive", type: i5.ToolbarPanelDirective, selector: "ng-template[lpx-toolbar-panel]" }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
32
|
+
}
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: SideMenuApplicationLayoutComponent, decorators: [{
|
|
34
|
+
type: Component,
|
|
35
|
+
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-container *abpIfReplaceableTemplateExists=\"logoKey\">\r\n <ng-template lpx-logo-panel>\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: logoKey }\">\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n \r\n <ng-template lpx-navbar-routes let-items let-groupItems=\"groupItems\">\r\n <lpx-navbar-routes\r\n *abpReplaceableTemplate=\"{\r\n componentKey: routesKey,\r\n inputs: {\r\n navbarItems: items,\r\n groupItems\r\n }\r\n }\"\r\n [navbarItems]=\"items\"\r\n [groupedItems]=\"groupItems\"\r\n >\r\n </lpx-navbar-routes>\r\n </ng-template>\r\n </lpx-navbar>\r\n </ng-template>\r\n <ng-template lpx-content>\r\n <abp-page-alert-container\r\n *abpReplaceableTemplate=\"{ componentKey: pageAlertContainerKey }\"\r\n ></abp-page-alert-container>\r\n\r\n <router-outlet></router-outlet>\r\n </ng-template>\r\n\r\n <ng-container *abpIfReplaceableTemplateExists=\"breadcrumbKey\">\r\n <ng-template lpx-breadcrumb-panel>\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: breadcrumbKey }\">\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *abpIfReplaceableTemplateExists=\"toolbarKey\">\r\n <ng-template lpx-toolbar-panel>\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: toolbarKey }\">\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *abpIfReplaceableTemplateExists=\"navItemsKey\">\r\n <ng-template lpx-navitem-panel>\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: navItemsKey }\">\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *abpIfReplaceableTemplateExists=\"footerKey\">\r\n <ng-template lpx-footer-panel>\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: footerKey }\">\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *abpIfReplaceableTemplateExists=\"currentUserImageKey\">\r\n <ng-template lpx-current-user-image-panel>\r\n <ng-container\r\n *abpReplaceableTemplate=\"{ componentKey: currentUserImageKey }\"\r\n >\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *abpIfReplaceableTemplateExists=\"mobileNavbarKey\">\r\n <ng-template lpx-mobile-navbar-panel>\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: mobileNavbarKey }\">\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *abpIfReplaceableTemplateExists=\"settingsPanelKey\">\r\n <ng-template lpx-settings-panel>\r\n <ng-container\r\n *abpReplaceableTemplate=\"{\r\n componentKey: settingsPanelKey\r\n }\"\r\n ></ng-container>\r\n </ng-template>\r\n </ng-container>\r\n</lpx-layout>\r\n" }]
|
|
36
36
|
}] });
|
|
37
37
|
|
|
38
|
-
const keyMap$1 = {
|
|
39
|
-
[SideMenuLayoutTranslate.GeneralSettings]: 'LeptonX::GeneralSettings',
|
|
40
|
-
[SideMenuLayoutTranslate.MenuFilter]: 'LeptonX::FilterMenu',
|
|
41
|
-
[SideMenuLayoutTranslate.SettingsTitle]: 'LeptonX::ContainerWidth',
|
|
42
|
-
[SideMenuLayoutTranslate.BoxedContainer]: 'LeptonX::ContainerWidth:Boxed',
|
|
43
|
-
[SideMenuLayoutTranslate.FullWidthContainer]: 'LeptonX::ContainerWidth:FullWidth',
|
|
44
|
-
[MobileMenuTranslate.SettingsTitle]: 'LeptonX::Settings',
|
|
45
|
-
[ToolbarTranslateKeys.ContextMenuWelcome]: 'LeptonX::Welcome',
|
|
46
|
-
};
|
|
47
|
-
const LPX_TRANSLATE_KEYS_PROVIDER$1 = {
|
|
48
|
-
provide: LPX_TRANSLATE_KEY_MAP_TOKEN,
|
|
49
|
-
multi: true,
|
|
50
|
-
useValue: keyMap$1,
|
|
38
|
+
const keyMap$1 = {
|
|
39
|
+
[SideMenuLayoutTranslate.GeneralSettings]: 'LeptonX::GeneralSettings',
|
|
40
|
+
[SideMenuLayoutTranslate.MenuFilter]: 'LeptonX::FilterMenu',
|
|
41
|
+
[SideMenuLayoutTranslate.SettingsTitle]: 'LeptonX::ContainerWidth',
|
|
42
|
+
[SideMenuLayoutTranslate.BoxedContainer]: 'LeptonX::ContainerWidth:Boxed',
|
|
43
|
+
[SideMenuLayoutTranslate.FullWidthContainer]: 'LeptonX::ContainerWidth:FullWidth',
|
|
44
|
+
[MobileMenuTranslate.SettingsTitle]: 'LeptonX::Settings',
|
|
45
|
+
[ToolbarTranslateKeys.ContextMenuWelcome]: 'LeptonX::Welcome',
|
|
46
|
+
};
|
|
47
|
+
const LPX_TRANSLATE_KEYS_PROVIDER$1 = {
|
|
48
|
+
provide: LPX_TRANSLATE_KEY_MAP_TOKEN,
|
|
49
|
+
multi: true,
|
|
50
|
+
useValue: keyMap$1,
|
|
51
51
|
};
|
|
52
52
|
|
|
53
|
-
class SideMenuLayoutModule {
|
|
54
|
-
static forRoot() {
|
|
55
|
-
return {
|
|
56
|
-
ngModule: SideMenuLayoutModule,
|
|
57
|
-
providers: [
|
|
58
|
-
LpxSideMenuLayoutModule.forRoot().providers,
|
|
59
|
-
{
|
|
60
|
-
provide: APP_INITIALIZER,
|
|
61
|
-
useFactory: initLayouts,
|
|
62
|
-
deps: [Injector],
|
|
63
|
-
multi: true,
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
provide: LPX_AUTH_SERVICE_TOKEN,
|
|
67
|
-
useClass: AbpAuthService,
|
|
68
|
-
},
|
|
69
|
-
LPX_TRANSLATE_KEYS_PROVIDER$1,
|
|
70
|
-
],
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
90
|
-
type: NgModule,
|
|
91
|
-
args: [{
|
|
92
|
-
declarations: [SideMenuApplicationLayoutComponent],
|
|
93
|
-
imports: [
|
|
94
|
-
LeptonXAbpCoreModule,
|
|
95
|
-
CommonModule,
|
|
96
|
-
CoreModule,
|
|
97
|
-
LpxSideMenuLayoutModule,
|
|
98
|
-
LpxBreadcrumbModule,
|
|
99
|
-
PanelsModule,
|
|
100
|
-
LpxFooterModule,
|
|
101
|
-
],
|
|
102
|
-
exports: [SideMenuApplicationLayoutComponent],
|
|
103
|
-
}]
|
|
104
|
-
}] });
|
|
105
|
-
function initLayouts(injector) {
|
|
106
|
-
function init() {
|
|
107
|
-
const replaceableComponents = injector.get(ReplaceableComponentsService);
|
|
108
|
-
replaceableComponents.add({
|
|
109
|
-
key: "Theme.ApplicationLayoutComponent" /* eThemeLeptonXComponents.ApplicationLayout */,
|
|
110
|
-
component: SideMenuApplicationLayoutComponent,
|
|
111
|
-
});
|
|
112
|
-
}
|
|
113
|
-
return init;
|
|
53
|
+
class SideMenuLayoutModule {
|
|
54
|
+
static forRoot() {
|
|
55
|
+
return {
|
|
56
|
+
ngModule: SideMenuLayoutModule,
|
|
57
|
+
providers: [
|
|
58
|
+
LpxSideMenuLayoutModule.forRoot().providers,
|
|
59
|
+
{
|
|
60
|
+
provide: APP_INITIALIZER,
|
|
61
|
+
useFactory: initLayouts,
|
|
62
|
+
deps: [Injector],
|
|
63
|
+
multi: true,
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
provide: LPX_AUTH_SERVICE_TOKEN,
|
|
67
|
+
useClass: AbpAuthService,
|
|
68
|
+
},
|
|
69
|
+
LPX_TRANSLATE_KEYS_PROVIDER$1,
|
|
70
|
+
],
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: SideMenuLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
74
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.4", ngImport: i0, type: SideMenuLayoutModule, declarations: [SideMenuApplicationLayoutComponent], imports: [LeptonXAbpCoreModule,
|
|
75
|
+
CommonModule,
|
|
76
|
+
CoreModule,
|
|
77
|
+
LpxSideMenuLayoutModule,
|
|
78
|
+
LpxBreadcrumbModule,
|
|
79
|
+
PanelsModule,
|
|
80
|
+
LpxFooterModule], exports: [SideMenuApplicationLayoutComponent] }); }
|
|
81
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: SideMenuLayoutModule, imports: [LeptonXAbpCoreModule,
|
|
82
|
+
CommonModule,
|
|
83
|
+
CoreModule,
|
|
84
|
+
LpxSideMenuLayoutModule,
|
|
85
|
+
LpxBreadcrumbModule,
|
|
86
|
+
PanelsModule,
|
|
87
|
+
LpxFooterModule] }); }
|
|
88
|
+
}
|
|
89
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: SideMenuLayoutModule, decorators: [{
|
|
90
|
+
type: NgModule,
|
|
91
|
+
args: [{
|
|
92
|
+
declarations: [SideMenuApplicationLayoutComponent],
|
|
93
|
+
imports: [
|
|
94
|
+
LeptonXAbpCoreModule,
|
|
95
|
+
CommonModule,
|
|
96
|
+
CoreModule,
|
|
97
|
+
LpxSideMenuLayoutModule,
|
|
98
|
+
LpxBreadcrumbModule,
|
|
99
|
+
PanelsModule,
|
|
100
|
+
LpxFooterModule,
|
|
101
|
+
],
|
|
102
|
+
exports: [SideMenuApplicationLayoutComponent],
|
|
103
|
+
}]
|
|
104
|
+
}] });
|
|
105
|
+
function initLayouts(injector) {
|
|
106
|
+
function init() {
|
|
107
|
+
const replaceableComponents = injector.get(ReplaceableComponentsService);
|
|
108
|
+
replaceableComponents.add({
|
|
109
|
+
key: "Theme.ApplicationLayoutComponent" /* eThemeLeptonXComponents.ApplicationLayout */,
|
|
110
|
+
component: SideMenuApplicationLayoutComponent,
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
return init;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
class TopMenuApplicationLayoutComponent {
|
|
117
|
-
constructor() {
|
|
118
|
-
this.navbarKey = "Theme.NavbarComponent" /* eThemeLeptonXComponents.Navbar */;
|
|
119
|
-
this.routesKey = "Theme.RoutesComponent" /* eThemeLeptonXComponents.Routes */;
|
|
120
|
-
this.toolbarKey = "Theme.ToolbarComponent" /* eThemeLeptonXComponents.Toolbar */;
|
|
121
|
-
this.topNavbarKey = "Theme.TopNavbarComponent" /* eThemeLeptonXComponents.TopNavbar */;
|
|
122
|
-
this.breadcrumbKey = "Theme.Breadcrumb" /* eThemeLeptonXComponents.Breadcrumb */;
|
|
123
|
-
this.footerKey = "Theme.FooterComponent" /* eThemeLeptonXComponents.Footer */;
|
|
124
|
-
this.mobileNavbarKey = "Theme.NavbarMobileComponent" /* eThemeLeptonXComponents.NavbarMobile */;
|
|
125
|
-
this.pageAlertContainerKey = "Theme.PageAlertContainerComponent" /* eThemeLeptonXComponents.PageAlertContainer */;
|
|
126
|
-
this.settingsKey = "Theme.SettingsComponent" /* eThemeLeptonXComponents.Settings */;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
132
|
-
type: Component,
|
|
133
|
-
args: [{ selector: 'abp-top-menu-application-layout', template: "<lpx-layout>\r\n <ng-template lpx-content>\r\n <abp-page-alert-container\r\n *abpReplaceableTemplate=\"{ componentKey: pageAlertContainerKey }\"\r\n ></abp-page-alert-container>\r\n\r\n <router-outlet></router-outlet>\r\n </ng-template>\r\n\r\n <ng-template\r\n lpx-breadcrumb-panel\r\n *abpIfReplaceableTemplateExists=\"breadcrumbKey\"\r\n >\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: breadcrumbKey }\">\r\n </ng-container>\r\n </ng-template>\r\n\r\n <ng-template lpx-navbar-panel *abpIfReplaceableTemplateExists=\"navbarKey\">\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: navbarKey }\">\r\n </ng-container>\r\n </ng-template>\r\n\r\n <ng-template\r\n lpx-mobile-navbar-panel\r\n *abpIfReplaceableTemplateExists=\"mobileNavbarKey\"\r\n >\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: mobileNavbarKey }\">\r\n </ng-container>\r\n </ng-template>\r\n\r\n <ng-template lpx-footer-panel *abpIfReplaceableTemplateExists=\"footerKey\">\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: footerKey }\">\r\n </ng-container>\r\n </ng-template>\r\n\r\n <ng-template lpx-toolbar-panel *abpIfReplaceableTemplateExists=\"toolbarKey\">\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: toolbarKey }\">\r\n </ng-container>\r\n </ng-template>\r\n\r\n <ng-template\r\n lpx-top-navbar-panel\r\n *abpIfReplaceableTemplateExists=\"topNavbarKey\"\r\n >\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: topNavbarKey }\">\r\n </ng-container>\r\n </ng-template>\r\n\r\n <ng-template lpx-settings-panel *abpIfReplaceableTemplateExists=\"settingsKey\">\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: settingsKey }\">\r\n </ng-container>\r\n </ng-template>\r\n</lpx-layout>\r\n" }]
|
|
116
|
+
class TopMenuApplicationLayoutComponent {
|
|
117
|
+
constructor() {
|
|
118
|
+
this.navbarKey = "Theme.NavbarComponent" /* eThemeLeptonXComponents.Navbar */;
|
|
119
|
+
this.routesKey = "Theme.RoutesComponent" /* eThemeLeptonXComponents.Routes */;
|
|
120
|
+
this.toolbarKey = "Theme.ToolbarComponent" /* eThemeLeptonXComponents.Toolbar */;
|
|
121
|
+
this.topNavbarKey = "Theme.TopNavbarComponent" /* eThemeLeptonXComponents.TopNavbar */;
|
|
122
|
+
this.breadcrumbKey = "Theme.Breadcrumb" /* eThemeLeptonXComponents.Breadcrumb */;
|
|
123
|
+
this.footerKey = "Theme.FooterComponent" /* eThemeLeptonXComponents.Footer */;
|
|
124
|
+
this.mobileNavbarKey = "Theme.NavbarMobileComponent" /* eThemeLeptonXComponents.NavbarMobile */;
|
|
125
|
+
this.pageAlertContainerKey = "Theme.PageAlertContainerComponent" /* eThemeLeptonXComponents.PageAlertContainer */;
|
|
126
|
+
this.settingsKey = "Theme.SettingsComponent" /* eThemeLeptonXComponents.Settings */;
|
|
127
|
+
}
|
|
128
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: TopMenuApplicationLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
129
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.4", type: TopMenuApplicationLayoutComponent, selector: "abp-top-menu-application-layout", ngImport: i0, template: "<lpx-layout>\r\n <ng-template lpx-content>\r\n <abp-page-alert-container\r\n *abpReplaceableTemplate=\"{ componentKey: pageAlertContainerKey }\"\r\n ></abp-page-alert-container>\r\n\r\n <router-outlet></router-outlet>\r\n </ng-template>\r\n\r\n <ng-template\r\n lpx-breadcrumb-panel\r\n *abpIfReplaceableTemplateExists=\"breadcrumbKey\"\r\n >\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: breadcrumbKey }\">\r\n </ng-container>\r\n </ng-template>\r\n\r\n <ng-template lpx-navbar-panel *abpIfReplaceableTemplateExists=\"navbarKey\">\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: navbarKey }\">\r\n </ng-container>\r\n </ng-template>\r\n\r\n <ng-template\r\n lpx-mobile-navbar-panel\r\n *abpIfReplaceableTemplateExists=\"mobileNavbarKey\"\r\n >\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: mobileNavbarKey }\">\r\n </ng-container>\r\n </ng-template>\r\n\r\n <ng-template lpx-footer-panel *abpIfReplaceableTemplateExists=\"footerKey\">\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: footerKey }\">\r\n </ng-container>\r\n </ng-template>\r\n\r\n <ng-template lpx-toolbar-panel *abpIfReplaceableTemplateExists=\"toolbarKey\">\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: toolbarKey }\">\r\n </ng-container>\r\n </ng-template>\r\n\r\n <ng-template\r\n lpx-top-navbar-panel\r\n *abpIfReplaceableTemplateExists=\"topNavbarKey\"\r\n >\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: topNavbarKey }\">\r\n </ng-container>\r\n </ng-template>\r\n\r\n <ng-template lpx-settings-panel *abpIfReplaceableTemplateExists=\"settingsKey\">\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: settingsKey }\">\r\n </ng-container>\r\n </ng-template>\r\n</lpx-layout>\r\n", dependencies: [{ kind: "component", type: i4.TopMenuLayoutComponent, selector: "lpx-layout" }, { kind: "directive", type: i5.BreadcrumbPanelDirective, selector: "ng-template[lpx-breadcrumb-panel]" }, { kind: "directive", type: i5.ContentPanelDirective, selector: "ng-template[lpx-content]" }, { kind: "directive", type: i5.FooterPanelDirective, selector: "ng-template[lpx-footer-panel]" }, { kind: "directive", type: i5.MobileNavbarPanelDirective, selector: "ng-template[lpx-mobile-navbar-panel]" }, { kind: "directive", type: i5.NavbarPanelDirective, selector: "ng-template[lpx-navbar-panel]" }, { kind: "directive", type: i5.SettingsPanelDirective, selector: "ng-template[lpx-settings-panel]" }, { kind: "directive", type: i5.TopNavbarPanelDirective, selector: "ng-template[lpx-top-navbar-panel]" }, { kind: "directive", type: i5.ToolbarPanelDirective, selector: "ng-template[lpx-toolbar-panel]" }, { kind: "directive", type: i1.IfReplaceableTemplateExistsDirective, selector: "[abpIfReplaceableTemplateExists]", inputs: ["abpIfReplaceableTemplateExists"] }, { kind: "component", type: i1.PageAlertContainerComponent, selector: "abp-page-alert-container" }, { kind: "directive", type: i2.RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "directive", type: i3.ReplaceableTemplateDirective, selector: "[abpReplaceableTemplate]", inputs: ["abpReplaceableTemplate"] }] }); }
|
|
130
|
+
}
|
|
131
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: TopMenuApplicationLayoutComponent, decorators: [{
|
|
132
|
+
type: Component,
|
|
133
|
+
args: [{ selector: 'abp-top-menu-application-layout', template: "<lpx-layout>\r\n <ng-template lpx-content>\r\n <abp-page-alert-container\r\n *abpReplaceableTemplate=\"{ componentKey: pageAlertContainerKey }\"\r\n ></abp-page-alert-container>\r\n\r\n <router-outlet></router-outlet>\r\n </ng-template>\r\n\r\n <ng-template\r\n lpx-breadcrumb-panel\r\n *abpIfReplaceableTemplateExists=\"breadcrumbKey\"\r\n >\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: breadcrumbKey }\">\r\n </ng-container>\r\n </ng-template>\r\n\r\n <ng-template lpx-navbar-panel *abpIfReplaceableTemplateExists=\"navbarKey\">\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: navbarKey }\">\r\n </ng-container>\r\n </ng-template>\r\n\r\n <ng-template\r\n lpx-mobile-navbar-panel\r\n *abpIfReplaceableTemplateExists=\"mobileNavbarKey\"\r\n >\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: mobileNavbarKey }\">\r\n </ng-container>\r\n </ng-template>\r\n\r\n <ng-template lpx-footer-panel *abpIfReplaceableTemplateExists=\"footerKey\">\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: footerKey }\">\r\n </ng-container>\r\n </ng-template>\r\n\r\n <ng-template lpx-toolbar-panel *abpIfReplaceableTemplateExists=\"toolbarKey\">\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: toolbarKey }\">\r\n </ng-container>\r\n </ng-template>\r\n\r\n <ng-template\r\n lpx-top-navbar-panel\r\n *abpIfReplaceableTemplateExists=\"topNavbarKey\"\r\n >\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: topNavbarKey }\">\r\n </ng-container>\r\n </ng-template>\r\n\r\n <ng-template lpx-settings-panel *abpIfReplaceableTemplateExists=\"settingsKey\">\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: settingsKey }\">\r\n </ng-container>\r\n </ng-template>\r\n</lpx-layout>\r\n" }]
|
|
134
134
|
}] });
|
|
135
135
|
|
|
136
|
-
const keyMap = {
|
|
137
|
-
[TopMenuLayoutTranslate.GeneralSettings]: 'LeptonX::GeneralSettings',
|
|
138
|
-
[MobileMenuTranslate.SettingsTitle]: 'LeptonX::Settings',
|
|
139
|
-
[ToolbarTranslateKeys.ContextMenuWelcome]: 'LeptonX::Welcome',
|
|
140
|
-
};
|
|
141
|
-
const LPX_TRANSLATE_KEYS_PROVIDER = {
|
|
142
|
-
provide: LPX_TRANSLATE_KEY_MAP_TOKEN,
|
|
143
|
-
multi: true,
|
|
144
|
-
useValue: keyMap,
|
|
136
|
+
const keyMap = {
|
|
137
|
+
[TopMenuLayoutTranslate.GeneralSettings]: 'LeptonX::GeneralSettings',
|
|
138
|
+
[MobileMenuTranslate.SettingsTitle]: 'LeptonX::Settings',
|
|
139
|
+
[ToolbarTranslateKeys.ContextMenuWelcome]: 'LeptonX::Welcome',
|
|
140
|
+
};
|
|
141
|
+
const LPX_TRANSLATE_KEYS_PROVIDER = {
|
|
142
|
+
provide: LPX_TRANSLATE_KEY_MAP_TOKEN,
|
|
143
|
+
multi: true,
|
|
144
|
+
useValue: keyMap,
|
|
145
145
|
};
|
|
146
146
|
|
|
147
|
-
class TopMenuLayoutModule {
|
|
148
|
-
static forRoot() {
|
|
149
|
-
return {
|
|
150
|
-
ngModule: TopMenuLayoutModule,
|
|
151
|
-
providers: [
|
|
152
|
-
LpxTopMenuLayoutModule.forRoot().providers,
|
|
153
|
-
{
|
|
154
|
-
provide: APP_INITIALIZER,
|
|
155
|
-
useFactory: initLayoutsFactory,
|
|
156
|
-
deps: [Injector],
|
|
157
|
-
multi: true,
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
provide: LPX_AUTH_SERVICE_TOKEN,
|
|
161
|
-
useClass: AbpAuthService,
|
|
162
|
-
},
|
|
163
|
-
LPX_TRANSLATE_KEYS_PROVIDER,
|
|
164
|
-
],
|
|
165
|
-
};
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
187
|
-
type: NgModule,
|
|
188
|
-
args: [{
|
|
189
|
-
declarations: [TopMenuApplicationLayoutComponent],
|
|
190
|
-
imports: [
|
|
191
|
-
CommonModule,
|
|
192
|
-
LpxTopMenuLayoutModule,
|
|
193
|
-
LeptonXAbpCoreModule,
|
|
194
|
-
LpxBreadcrumbModule,
|
|
195
|
-
LpxFooterModule,
|
|
196
|
-
LpxNavbarModule,
|
|
197
|
-
CoreModule,
|
|
198
|
-
PageAlertContainerModule,
|
|
199
|
-
RouterOutlet,
|
|
200
|
-
],
|
|
201
|
-
}]
|
|
202
|
-
}] });
|
|
203
|
-
function initLayoutsFactory(injector) {
|
|
204
|
-
function init() {
|
|
205
|
-
const replaceableComponents = injector.get(ReplaceableComponentsService);
|
|
206
|
-
replaceableComponents.add({
|
|
207
|
-
key: "Theme.ApplicationLayoutComponent" /* eThemeLeptonXComponents.ApplicationLayout */,
|
|
208
|
-
component: TopMenuApplicationLayoutComponent,
|
|
209
|
-
});
|
|
210
|
-
}
|
|
211
|
-
return init;
|
|
147
|
+
class TopMenuLayoutModule {
|
|
148
|
+
static forRoot() {
|
|
149
|
+
return {
|
|
150
|
+
ngModule: TopMenuLayoutModule,
|
|
151
|
+
providers: [
|
|
152
|
+
LpxTopMenuLayoutModule.forRoot().providers,
|
|
153
|
+
{
|
|
154
|
+
provide: APP_INITIALIZER,
|
|
155
|
+
useFactory: initLayoutsFactory,
|
|
156
|
+
deps: [Injector],
|
|
157
|
+
multi: true,
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
provide: LPX_AUTH_SERVICE_TOKEN,
|
|
161
|
+
useClass: AbpAuthService,
|
|
162
|
+
},
|
|
163
|
+
LPX_TRANSLATE_KEYS_PROVIDER,
|
|
164
|
+
],
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: TopMenuLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
168
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.4", ngImport: i0, type: TopMenuLayoutModule, declarations: [TopMenuApplicationLayoutComponent], imports: [CommonModule,
|
|
169
|
+
LpxTopMenuLayoutModule,
|
|
170
|
+
LeptonXAbpCoreModule,
|
|
171
|
+
LpxBreadcrumbModule,
|
|
172
|
+
LpxFooterModule,
|
|
173
|
+
LpxNavbarModule,
|
|
174
|
+
CoreModule,
|
|
175
|
+
PageAlertContainerModule,
|
|
176
|
+
RouterOutlet] }); }
|
|
177
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: TopMenuLayoutModule, imports: [CommonModule,
|
|
178
|
+
LpxTopMenuLayoutModule,
|
|
179
|
+
LeptonXAbpCoreModule,
|
|
180
|
+
LpxBreadcrumbModule,
|
|
181
|
+
LpxFooterModule,
|
|
182
|
+
LpxNavbarModule,
|
|
183
|
+
CoreModule,
|
|
184
|
+
PageAlertContainerModule] }); }
|
|
185
|
+
}
|
|
186
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: TopMenuLayoutModule, decorators: [{
|
|
187
|
+
type: NgModule,
|
|
188
|
+
args: [{
|
|
189
|
+
declarations: [TopMenuApplicationLayoutComponent],
|
|
190
|
+
imports: [
|
|
191
|
+
CommonModule,
|
|
192
|
+
LpxTopMenuLayoutModule,
|
|
193
|
+
LeptonXAbpCoreModule,
|
|
194
|
+
LpxBreadcrumbModule,
|
|
195
|
+
LpxFooterModule,
|
|
196
|
+
LpxNavbarModule,
|
|
197
|
+
CoreModule,
|
|
198
|
+
PageAlertContainerModule,
|
|
199
|
+
RouterOutlet,
|
|
200
|
+
],
|
|
201
|
+
}]
|
|
202
|
+
}] });
|
|
203
|
+
function initLayoutsFactory(injector) {
|
|
204
|
+
function init() {
|
|
205
|
+
const replaceableComponents = injector.get(ReplaceableComponentsService);
|
|
206
|
+
replaceableComponents.add({
|
|
207
|
+
key: "Theme.ApplicationLayoutComponent" /* eThemeLeptonXComponents.ApplicationLayout */,
|
|
208
|
+
component: TopMenuApplicationLayoutComponent,
|
|
209
|
+
});
|
|
210
|
+
}
|
|
211
|
+
return init;
|
|
212
212
|
}
|
|
213
213
|
|
|
214
|
-
/**
|
|
215
|
-
* Generated bundle index. Do not edit.
|
|
214
|
+
/**
|
|
215
|
+
* Generated bundle index. Do not edit.
|
|
216
216
|
*/
|
|
217
217
|
|
|
218
218
|
export { LPX_TRANSLATE_KEYS_PROVIDER$1 as LPX_TRANSLATE_KEYS_PROVIDER, SideMenuApplicationLayoutComponent, SideMenuLayoutModule, TopMenuLayoutModule, initLayouts, initLayoutsFactory };
|
|
@@ -0,0 +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/top-menu/layout/top-menu-application-layout.component.ts","../../../../libs/volo-lepton-x/layouts/src/top-menu/layout/top-menu-application-layout.component.html","../../../../libs/volo-lepton-x/layouts/src/top-menu/layout/providers/translate.provider.ts","../../../../libs/volo-lepton-x/layouts/src/top-menu/layout/top-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.Toolbar;\r\n navbarKey = eThemeLeptonXComponents.Navbar;\r\n routesKey = eThemeLeptonXComponents.Routes;\r\n navItemsKey = eThemeLeptonXComponents.NavItems;\r\n breadcrumbKey = eThemeLeptonXComponents.Breadcrumb;\r\n footerKey = eThemeLeptonXComponents.Footer;\r\n settingsPanelKey = eThemeLeptonXComponents.Settings;\r\n mobileNavbarKey = eThemeLeptonXComponents.NavbarMobile;\r\n pageAlertContainerKey = eThemeLeptonXComponents.PageAlertContainer;\r\n logoKey = eThemeLeptonXComponents.Logo;\r\n currentUserImageKey = eThemeLeptonXComponents.CurrentUserImage;\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-container *abpIfReplaceableTemplateExists=\"logoKey\">\r\n <ng-template lpx-logo-panel>\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: logoKey }\">\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n \r\n <ng-template lpx-navbar-routes let-items let-groupItems=\"groupItems\">\r\n <lpx-navbar-routes\r\n *abpReplaceableTemplate=\"{\r\n componentKey: routesKey,\r\n inputs: {\r\n navbarItems: items,\r\n groupItems\r\n }\r\n }\"\r\n [navbarItems]=\"items\"\r\n [groupedItems]=\"groupItems\"\r\n >\r\n </lpx-navbar-routes>\r\n </ng-template>\r\n </lpx-navbar>\r\n </ng-template>\r\n <ng-template lpx-content>\r\n <abp-page-alert-container\r\n *abpReplaceableTemplate=\"{ componentKey: pageAlertContainerKey }\"\r\n ></abp-page-alert-container>\r\n\r\n <router-outlet></router-outlet>\r\n </ng-template>\r\n\r\n <ng-container *abpIfReplaceableTemplateExists=\"breadcrumbKey\">\r\n <ng-template lpx-breadcrumb-panel>\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: breadcrumbKey }\">\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *abpIfReplaceableTemplateExists=\"toolbarKey\">\r\n <ng-template lpx-toolbar-panel>\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: toolbarKey }\">\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *abpIfReplaceableTemplateExists=\"navItemsKey\">\r\n <ng-template lpx-navitem-panel>\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: navItemsKey }\">\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *abpIfReplaceableTemplateExists=\"footerKey\">\r\n <ng-template lpx-footer-panel>\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: footerKey }\">\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *abpIfReplaceableTemplateExists=\"currentUserImageKey\">\r\n <ng-template lpx-current-user-image-panel>\r\n <ng-container\r\n *abpReplaceableTemplate=\"{ componentKey: currentUserImageKey }\"\r\n >\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *abpIfReplaceableTemplateExists=\"mobileNavbarKey\">\r\n <ng-template lpx-mobile-navbar-panel>\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: mobileNavbarKey }\">\r\n </ng-container>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *abpIfReplaceableTemplateExists=\"settingsPanelKey\">\r\n <ng-template lpx-settings-panel>\r\n <ng-container\r\n *abpReplaceableTemplate=\"{\r\n componentKey: settingsPanelKey\r\n }\"\r\n ></ng-container>\r\n </ng-template>\r\n </ng-container>\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 LPX_AUTH_SERVICE_TOKEN,\r\n LpxBreadcrumbModule,\r\n LpxFooterModule,\r\n PanelsModule,\r\n} from '@volo/ngx-lepton-x.core';\r\nimport { LPX_TRANSLATE_KEYS_PROVIDER } from './providers/translate.provider';\r\nimport { LeptonXAbpCoreModule } from '@volo/abp.ng.lepton-x.core';\r\n\r\n@NgModule({\r\n declarations: [SideMenuApplicationLayoutComponent],\r\n imports: [\r\n LeptonXAbpCoreModule,\r\n CommonModule,\r\n CoreModule,\r\n LpxSideMenuLayoutModule,\r\n LpxBreadcrumbModule,\r\n PanelsModule,\r\n LpxFooterModule,\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","import { Component } from '@angular/core';\r\nimport { eThemeLeptonXComponents } from '@volosoft/abp.ng.theme.lepton-x';\r\n\r\n@Component({\r\n selector: 'abp-top-menu-application-layout',\r\n templateUrl: './top-menu-application-layout.component.html',\r\n})\r\nexport class TopMenuApplicationLayoutComponent {\r\n navbarKey = eThemeLeptonXComponents.Navbar;\r\n routesKey = eThemeLeptonXComponents.Routes;\r\n toolbarKey = eThemeLeptonXComponents.Toolbar;\r\n topNavbarKey = eThemeLeptonXComponents.TopNavbar;\r\n breadcrumbKey = eThemeLeptonXComponents.Breadcrumb;\r\n footerKey = eThemeLeptonXComponents.Footer;\r\n mobileNavbarKey = eThemeLeptonXComponents.NavbarMobile;\r\n pageAlertContainerKey = eThemeLeptonXComponents.PageAlertContainer;\r\n settingsKey = eThemeLeptonXComponents.Settings;\r\n}\r\n","<lpx-layout>\r\n <ng-template lpx-content>\r\n <abp-page-alert-container\r\n *abpReplaceableTemplate=\"{ componentKey: pageAlertContainerKey }\"\r\n ></abp-page-alert-container>\r\n\r\n <router-outlet></router-outlet>\r\n </ng-template>\r\n\r\n <ng-template\r\n lpx-breadcrumb-panel\r\n *abpIfReplaceableTemplateExists=\"breadcrumbKey\"\r\n >\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: breadcrumbKey }\">\r\n </ng-container>\r\n </ng-template>\r\n\r\n <ng-template lpx-navbar-panel *abpIfReplaceableTemplateExists=\"navbarKey\">\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: navbarKey }\">\r\n </ng-container>\r\n </ng-template>\r\n\r\n <ng-template\r\n lpx-mobile-navbar-panel\r\n *abpIfReplaceableTemplateExists=\"mobileNavbarKey\"\r\n >\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: mobileNavbarKey }\">\r\n </ng-container>\r\n </ng-template>\r\n\r\n <ng-template lpx-footer-panel *abpIfReplaceableTemplateExists=\"footerKey\">\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: footerKey }\">\r\n </ng-container>\r\n </ng-template>\r\n\r\n <ng-template lpx-toolbar-panel *abpIfReplaceableTemplateExists=\"toolbarKey\">\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: toolbarKey }\">\r\n </ng-container>\r\n </ng-template>\r\n\r\n <ng-template\r\n lpx-top-navbar-panel\r\n *abpIfReplaceableTemplateExists=\"topNavbarKey\"\r\n >\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: topNavbarKey }\">\r\n </ng-container>\r\n </ng-template>\r\n\r\n <ng-template lpx-settings-panel *abpIfReplaceableTemplateExists=\"settingsKey\">\r\n <ng-container *abpReplaceableTemplate=\"{ componentKey: settingsKey }\">\r\n </ng-container>\r\n </ng-template>\r\n</lpx-layout>\r\n","import {\r\n MobileMenuTranslate,\r\n MobileMenuTranslateValues,\r\n TopMenuLayoutTranslate,\r\n TopMenuLayoutTranslateValues,\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: TopMenuLayoutTranslateValues &\r\n MobileMenuTranslateValues &\r\n ToolbarTranslateValues = {\r\n [TopMenuLayoutTranslate.GeneralSettings]: 'LeptonX::GeneralSettings',\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} from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { TopMenuApplicationLayoutComponent } from './top-menu-application-layout.component';\r\nimport {\r\n LPX_AUTH_SERVICE_TOKEN,\r\n LpxBreadcrumbModule,\r\n LpxFooterModule,\r\n LpxNavbarModule,\r\n} from '@volo/ngx-lepton-x.core';\r\nimport {\r\n AbpAuthService,\r\n eThemeLeptonXComponents,\r\n} from '@volosoft/abp.ng.theme.lepton-x';\r\nimport { LPX_TRANSLATE_KEYS_PROVIDER } from './providers';\r\nimport { ReplaceableComponentsService, CoreModule } from '@abp/ng.core';\r\nimport { LpxTopMenuLayoutModule } from '@volosoft/ngx-lepton-x/layouts';\r\nimport { LeptonXAbpCoreModule, PageAlertContainerModule } from '@volo/abp.ng.lepton-x.core';\r\nimport { RouterOutlet } from '@angular/router';\r\n\r\n@NgModule({\r\n declarations: [TopMenuApplicationLayoutComponent],\r\n imports: [\r\n CommonModule,\r\n LpxTopMenuLayoutModule,\r\n LeptonXAbpCoreModule,\r\n LpxBreadcrumbModule,\r\n LpxFooterModule,\r\n LpxNavbarModule,\r\n CoreModule,\r\n PageAlertContainerModule,\r\n RouterOutlet,\r\n ],\r\n})\r\nexport class TopMenuLayoutModule {\r\n static forRoot(): ModuleWithProviders<TopMenuLayoutModule> {\r\n return {\r\n ngModule: TopMenuLayoutModule,\r\n providers: [\r\n LpxTopMenuLayoutModule.forRoot().providers,\r\n {\r\n provide: APP_INITIALIZER,\r\n useFactory: initLayoutsFactory,\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 initLayoutsFactory(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: TopMenuApplicationLayoutComponent,\r\n });\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":["keyMap","LPX_TRANSLATE_KEYS_PROVIDER","i1","i2","i3","i4","i5"],"mappings":";;;;;;;;;;;;;;;AAGA,MAKa,kCAAkC,CAAA;AAL/C,IAAA,WAAA,GAAA;AAME,QAAA,IAAA,CAAA,UAAU,GAAmC,wBAAA,uCAAA;AAC7C,QAAA,IAAA,CAAA,SAAS,GAAkC,uBAAA,sCAAA;AAC3C,QAAA,IAAA,CAAA,SAAS,GAAkC,uBAAA,sCAAA;AAC3C,QAAA,IAAA,CAAA,WAAW,GAAoC,yBAAA,wCAAA;AAC/C,QAAA,IAAA,CAAA,aAAa,GAAsC,kBAAA,0CAAA;AACnD,QAAA,IAAA,CAAA,SAAS,GAAkC,uBAAA,sCAAA;AAC3C,QAAA,IAAA,CAAA,gBAAgB,GAAoC,yBAAA,wCAAA;AACpD,QAAA,IAAA,CAAA,eAAe,GAAwC,6BAAA,4CAAA;AACvD,QAAA,IAAA,CAAA,qBAAqB,GAA8C,mCAAA,kDAAA;AACnE,QAAA,IAAA,CAAA,OAAO,GAAgC,qBAAA,oCAAA;AACvC,QAAA,IAAA,CAAA,mBAAmB,GAA4C,iCAAA,gDAAA;AAChE,KAAA;8GAZY,kCAAkC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAlC,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,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