@volosoft/abp.ng.theme.lepton-x 1.0.0-rc.7 → 1.0.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.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/index.mjs +2 -1
- package/esm2020/layouts/side-menu/layout/side-menu-application-layout.component.mjs +11 -7
- package/esm2020/layouts/side-menu/layout/side-menu-layout.module.mjs +26 -5
- package/esm2020/layouts/top-menu/index.mjs +2 -0
- package/esm2020/layouts/top-menu/layout/index.mjs +2 -0
- package/esm2020/layouts/top-menu/layout/providers/index.mjs +2 -0
- package/esm2020/layouts/top-menu/layout/providers/translate.provider.mjs +13 -0
- package/esm2020/layouts/top-menu/layout/top-menu-application-layout.component.mjs +27 -0
- package/esm2020/layouts/top-menu/layout/top-menu-layout.module.mjs +78 -0
- package/esm2020/lib/components/abp-validation-error/abp-validation-error.module.mjs +2 -2
- package/esm2020/lib/components/index.mjs +1 -2
- package/esm2020/lib/enums/components.mjs +1 -1
- package/esm2020/lib/services/abp-settings.service.mjs +2 -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 +140 -16
- package/fesm2015/volosoft-abp.ng.theme.lepton-x-layouts.mjs.map +1 -1
- package/fesm2015/volosoft-abp.ng.theme.lepton-x.mjs +20 -45
- 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 +140 -16
- package/fesm2020/volosoft-abp.ng.theme.lepton-x-layouts.mjs.map +1 -1
- package/fesm2020/volosoft-abp.ng.theme.lepton-x.mjs +20 -45
- package/fesm2020/volosoft-abp.ng.theme.lepton-x.mjs.map +1 -1
- package/layouts/index.d.ts +1 -0
- package/layouts/side-menu/layout/side-menu-application-layout.component.d.ts +3 -0
- package/layouts/side-menu/layout/side-menu-layout.module.d.ts +6 -4
- package/layouts/top-menu/index.d.ts +1 -0
- package/layouts/top-menu/layout/index.d.ts +1 -0
- package/layouts/top-menu/layout/providers/index.d.ts +1 -0
- package/layouts/top-menu/layout/providers/translate.provider.d.ts +2 -0
- package/layouts/top-menu/layout/top-menu-application-layout.component.d.ts +15 -0
- package/layouts/top-menu/layout/top-menu-layout.module.d.ts +16 -0
- package/lib/components/index.d.ts +0 -1
- package/lib/enums/components.d.ts +7 -2
- 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
|
@@ -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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,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,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;;;;"}
|
|
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,C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sBAAsB,aAVtB,mBAAmB;QACnB,oBAAoB;QACpB,wBAAwB;QACxB,UAAU;QACV,iBAAiB;QACjB,iBAAiB,CAAA,EAAA,CAAA,CAAA;AAQR,mBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,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;;;;"}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Component, ViewEncapsulation, APP_INITIALIZER, Injector, NgModule } from '@angular/core';
|
|
3
|
-
import * as i1 from '@
|
|
4
|
-
import
|
|
3
|
+
import * as i1 from '@volo/abp.ng.lepton-x.core';
|
|
4
|
+
import { LeptonXAbpCoreModule, PageAlertContainerModule } from '@volo/abp.ng.lepton-x.core';
|
|
5
|
+
import * as i2 from '@angular/router';
|
|
6
|
+
import { RouterOutlet } from '@angular/router';
|
|
7
|
+
import * as i3 from '@abp/ng.core';
|
|
5
8
|
import { CoreModule, ReplaceableComponentsService } from '@abp/ng.core';
|
|
6
|
-
import * as
|
|
7
|
-
import { SideMenuLayoutTranslate, MobileMenuTranslate, ToolbarTranslateKeys, LpxSideMenuLayoutModule } from '@volosoft/ngx-lepton-x/layouts';
|
|
8
|
-
import * as
|
|
9
|
-
import { LPX_AUTH_SERVICE_TOKEN } from '@volo/ngx-lepton-x.core';
|
|
9
|
+
import * as i4 from '@volosoft/ngx-lepton-x/layouts';
|
|
10
|
+
import { SideMenuLayoutTranslate, MobileMenuTranslate, ToolbarTranslateKeys, LpxSideMenuLayoutModule, TopMenuLayoutTranslate, LpxTopMenuLayoutModule } from '@volosoft/ngx-lepton-x/layouts';
|
|
11
|
+
import * as i5 from '@volo/ngx-lepton-x.core';
|
|
12
|
+
import { LPX_AUTH_SERVICE_TOKEN, LpxBreadcrumbModule, PanelsModule, LpxFooterModule, LpxNavbarModule } from '@volo/ngx-lepton-x.core';
|
|
10
13
|
import { CommonModule } from '@angular/common';
|
|
11
14
|
import { LPX_TRANSLATE_KEY_MAP_TOKEN, AbpAuthService } from '@volosoft/abp.ng.theme.lepton-x';
|
|
12
15
|
|
|
@@ -16,16 +19,19 @@ class SideMenuApplicationLayoutComponent {
|
|
|
16
19
|
this.navbarKey = "Theme.Sidebar" /* eThemeLeptonXComponents.Sidebar */;
|
|
17
20
|
this.routesKey = "Theme.RoutesComponent" /* eThemeLeptonXComponents.Routes */;
|
|
18
21
|
this.toolbarItemsKey = "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 */;
|
|
19
25
|
}
|
|
20
26
|
}
|
|
21
27
|
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:
|
|
28
|
+
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\r\n <ng-template lpx-footer-panel>\r\n <lpx-footer\r\n *abpReplaceableTemplate=\"{\r\n componentKey: footerKey\r\n }\"\r\n >\r\n </lpx-footer>\r\n </ng-template>\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", 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.BreadcrumbComponent, selector: "lpx-breadcrumb" }, { kind: "component", type: i5.NavbarComponent, selector: "lpx-navbar" }, { kind: "component", type: i5.NavbarRoutesComponent, selector: "lpx-navbar-routes", inputs: ["navbarItems", "routerItem"], outputs: ["routeClick"] }, { kind: "directive", type: i5.NavbarRoutesDirective, selector: "[lpx-navbar-routes],[lpxNavbarRoutes]", exportAs: ["lpxNavbarRoutes"] }, { kind: "component", type: i4.ToolbarContainerComponent, selector: "lpx-toolbar-container" }, { kind: "directive", type: i5.BreadcrumbPanelDirective, selector: "ng-template[lpx-breadcrumb-panel]" }, { kind: "directive", type: i5.NavbarPanelDirective, selector: "ng-template[lpx-navbar-panel]" }, { kind: "directive", type: i5.FooterPanelDirective, selector: "ng-template[lpx-footer-panel]" }, { kind: "directive", type: i5.ToolbarPanelDirective, selector: "ng-template[lpx-toolbar-panel]" }, { kind: "directive", type: i5.SettingsPanelDirective, selector: "ng-template[lpx-settings-panel]" }, { kind: "component", type: i5.FooterComponent, selector: "lpx-footer" }], encapsulation: i0.ViewEncapsulation.None });
|
|
23
29
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SideMenuApplicationLayoutComponent, decorators: [{
|
|
24
30
|
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" }]
|
|
31
|
+
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\r\n <ng-template lpx-footer-panel>\r\n <lpx-footer\r\n *abpReplaceableTemplate=\"{\r\n componentKey: footerKey\r\n }\"\r\n >\r\n </lpx-footer>\r\n </ng-template>\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" }]
|
|
26
32
|
}] });
|
|
27
33
|
|
|
28
|
-
const keyMap = {
|
|
34
|
+
const keyMap$1 = {
|
|
29
35
|
[SideMenuLayoutTranslate.GeneralSettings]: 'LeptonX::GeneralSettings',
|
|
30
36
|
[SideMenuLayoutTranslate.MenuFilter]: 'LeptonX::FilterMenu',
|
|
31
37
|
[SideMenuLayoutTranslate.SettingsTitle]: 'LeptonX::ContainerWidth',
|
|
@@ -34,10 +40,10 @@ const keyMap = {
|
|
|
34
40
|
[MobileMenuTranslate.SettingsTitle]: 'LeptonX::Settings',
|
|
35
41
|
[ToolbarTranslateKeys.ContextMenuWelcome]: 'LeptonX::Welcome',
|
|
36
42
|
};
|
|
37
|
-
const LPX_TRANSLATE_KEYS_PROVIDER = {
|
|
43
|
+
const LPX_TRANSLATE_KEYS_PROVIDER$1 = {
|
|
38
44
|
provide: LPX_TRANSLATE_KEY_MAP_TOKEN,
|
|
39
45
|
multi: true,
|
|
40
|
-
useValue: keyMap,
|
|
46
|
+
useValue: keyMap$1,
|
|
41
47
|
};
|
|
42
48
|
|
|
43
49
|
class SideMenuLayoutModule {
|
|
@@ -56,19 +62,39 @@ class SideMenuLayoutModule {
|
|
|
56
62
|
provide: LPX_AUTH_SERVICE_TOKEN,
|
|
57
63
|
useClass: AbpAuthService,
|
|
58
64
|
},
|
|
59
|
-
LPX_TRANSLATE_KEYS_PROVIDER,
|
|
65
|
+
LPX_TRANSLATE_KEYS_PROVIDER$1,
|
|
60
66
|
],
|
|
61
67
|
};
|
|
62
68
|
}
|
|
63
69
|
}
|
|
64
70
|
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: [
|
|
66
|
-
|
|
71
|
+
SideMenuLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: SideMenuLayoutModule, declarations: [SideMenuApplicationLayoutComponent], imports: [LeptonXAbpCoreModule,
|
|
72
|
+
CommonModule,
|
|
73
|
+
CoreModule,
|
|
74
|
+
LpxSideMenuLayoutModule,
|
|
75
|
+
LpxBreadcrumbModule,
|
|
76
|
+
PanelsModule,
|
|
77
|
+
LpxFooterModule], exports: [SideMenuApplicationLayoutComponent] });
|
|
78
|
+
SideMenuLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SideMenuLayoutModule, imports: [LeptonXAbpCoreModule,
|
|
79
|
+
CommonModule,
|
|
80
|
+
CoreModule,
|
|
81
|
+
LpxSideMenuLayoutModule,
|
|
82
|
+
LpxBreadcrumbModule,
|
|
83
|
+
PanelsModule,
|
|
84
|
+
LpxFooterModule] });
|
|
67
85
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: SideMenuLayoutModule, decorators: [{
|
|
68
86
|
type: NgModule,
|
|
69
87
|
args: [{
|
|
70
88
|
declarations: [SideMenuApplicationLayoutComponent],
|
|
71
|
-
imports: [
|
|
89
|
+
imports: [
|
|
90
|
+
LeptonXAbpCoreModule,
|
|
91
|
+
CommonModule,
|
|
92
|
+
CoreModule,
|
|
93
|
+
LpxSideMenuLayoutModule,
|
|
94
|
+
LpxBreadcrumbModule,
|
|
95
|
+
PanelsModule,
|
|
96
|
+
LpxFooterModule,
|
|
97
|
+
],
|
|
72
98
|
exports: [SideMenuApplicationLayoutComponent],
|
|
73
99
|
}]
|
|
74
100
|
}] });
|
|
@@ -83,9 +109,107 @@ function initLayouts(injector) {
|
|
|
83
109
|
return init;
|
|
84
110
|
}
|
|
85
111
|
|
|
112
|
+
class TopMenuApplicationLayoutComponent {
|
|
113
|
+
constructor() {
|
|
114
|
+
this.navbarKey = "Theme.NavbarComponent" /* eThemeLeptonXComponents.Navbar */;
|
|
115
|
+
this.routesKey = "Theme.RoutesComponent" /* eThemeLeptonXComponents.Routes */;
|
|
116
|
+
this.toolbarKey = "Theme.ToolbarComponent" /* eThemeLeptonXComponents.Toolbar */;
|
|
117
|
+
this.topNavbarKey = "Theme.TopNavbarComponent" /* eThemeLeptonXComponents.TopNavbar */;
|
|
118
|
+
this.breadcrumbKey = "Theme.Breadcrumb" /* eThemeLeptonXComponents.Breadcrumb */;
|
|
119
|
+
this.footerKey = "Theme.FooterComponent" /* eThemeLeptonXComponents.Footer */;
|
|
120
|
+
this.mobileNavbarKey = "Theme.NavbarMobileComponent" /* eThemeLeptonXComponents.NavbarMobile */;
|
|
121
|
+
this.pageAlertContainerKey = "Theme.PageAlertContainerComponent" /* eThemeLeptonXComponents.PageAlertContainer */;
|
|
122
|
+
this.settingsKey = "Theme.SettingsComponent" /* eThemeLeptonXComponents.Settings */;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
TopMenuApplicationLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: TopMenuApplicationLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
126
|
+
TopMenuApplicationLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: TopMenuApplicationLayoutComponent, selector: "abp-top-menu-application-layout", ngImport: i0, template: "<lpx-layout>\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\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 <lpx-footer\r\n *abpReplaceableTemplate=\"{\r\n componentKey: footerKey\r\n }\"\r\n >\r\n </lpx-footer>\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.NavbarPanelDirective, selector: "ng-template[lpx-navbar-panel]" }, { 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.ToolbarPanelDirective, selector: "ng-template[lpx-toolbar-panel]" }, { kind: "directive", type: i5.TopNavbarPanelDirective, selector: "ng-template[lpx-top-navbar-panel]" }, { kind: "directive", type: i5.SettingsPanelDirective, selector: "ng-template[lpx-settings-panel]" }, { kind: "component", type: i5.FooterComponent, selector: "lpx-footer" }, { 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", outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "directive", type: i3.ReplaceableTemplateDirective, selector: "[abpReplaceableTemplate]", inputs: ["abpReplaceableTemplate"] }] });
|
|
127
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: TopMenuApplicationLayoutComponent, decorators: [{
|
|
128
|
+
type: Component,
|
|
129
|
+
args: [{ selector: 'abp-top-menu-application-layout', template: "<lpx-layout>\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\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 <lpx-footer\r\n *abpReplaceableTemplate=\"{\r\n componentKey: footerKey\r\n }\"\r\n >\r\n </lpx-footer>\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" }]
|
|
130
|
+
}] });
|
|
131
|
+
|
|
132
|
+
const keyMap = {
|
|
133
|
+
[TopMenuLayoutTranslate.GeneralSettings]: 'LeptonX::GeneralSettings',
|
|
134
|
+
[MobileMenuTranslate.SettingsTitle]: 'LeptonX::Settings',
|
|
135
|
+
[ToolbarTranslateKeys.ContextMenuWelcome]: 'LeptonX::Welcome',
|
|
136
|
+
};
|
|
137
|
+
const LPX_TRANSLATE_KEYS_PROVIDER = {
|
|
138
|
+
provide: LPX_TRANSLATE_KEY_MAP_TOKEN,
|
|
139
|
+
multi: true,
|
|
140
|
+
useValue: keyMap,
|
|
141
|
+
};
|
|
142
|
+
|
|
143
|
+
class TopMenuLayoutModule {
|
|
144
|
+
static forRoot() {
|
|
145
|
+
return {
|
|
146
|
+
ngModule: TopMenuLayoutModule,
|
|
147
|
+
providers: [
|
|
148
|
+
LpxTopMenuLayoutModule.forRoot().providers,
|
|
149
|
+
{
|
|
150
|
+
provide: APP_INITIALIZER,
|
|
151
|
+
useFactory: initLayoutsFactory,
|
|
152
|
+
deps: [Injector],
|
|
153
|
+
multi: true,
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
provide: LPX_AUTH_SERVICE_TOKEN,
|
|
157
|
+
useClass: AbpAuthService,
|
|
158
|
+
},
|
|
159
|
+
LPX_TRANSLATE_KEYS_PROVIDER,
|
|
160
|
+
],
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
TopMenuLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: TopMenuLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
165
|
+
TopMenuLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: TopMenuLayoutModule, declarations: [TopMenuApplicationLayoutComponent], imports: [CommonModule,
|
|
166
|
+
LpxTopMenuLayoutModule,
|
|
167
|
+
LeptonXAbpCoreModule,
|
|
168
|
+
LpxBreadcrumbModule,
|
|
169
|
+
LpxFooterModule,
|
|
170
|
+
LpxNavbarModule,
|
|
171
|
+
CoreModule,
|
|
172
|
+
PageAlertContainerModule,
|
|
173
|
+
RouterOutlet] });
|
|
174
|
+
TopMenuLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: TopMenuLayoutModule, imports: [CommonModule,
|
|
175
|
+
LpxTopMenuLayoutModule,
|
|
176
|
+
LeptonXAbpCoreModule,
|
|
177
|
+
LpxBreadcrumbModule,
|
|
178
|
+
LpxFooterModule,
|
|
179
|
+
LpxNavbarModule,
|
|
180
|
+
CoreModule,
|
|
181
|
+
PageAlertContainerModule] });
|
|
182
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: TopMenuLayoutModule, decorators: [{
|
|
183
|
+
type: NgModule,
|
|
184
|
+
args: [{
|
|
185
|
+
declarations: [TopMenuApplicationLayoutComponent],
|
|
186
|
+
imports: [
|
|
187
|
+
CommonModule,
|
|
188
|
+
LpxTopMenuLayoutModule,
|
|
189
|
+
LeptonXAbpCoreModule,
|
|
190
|
+
LpxBreadcrumbModule,
|
|
191
|
+
LpxFooterModule,
|
|
192
|
+
LpxNavbarModule,
|
|
193
|
+
CoreModule,
|
|
194
|
+
PageAlertContainerModule,
|
|
195
|
+
RouterOutlet,
|
|
196
|
+
],
|
|
197
|
+
}]
|
|
198
|
+
}] });
|
|
199
|
+
function initLayoutsFactory(injector) {
|
|
200
|
+
function init() {
|
|
201
|
+
const replaceableComponents = injector.get(ReplaceableComponentsService);
|
|
202
|
+
replaceableComponents.add({
|
|
203
|
+
key: "Theme.ApplicationLayoutComponent" /* eThemeLeptonXComponents.ApplicationLayout */,
|
|
204
|
+
component: TopMenuApplicationLayoutComponent,
|
|
205
|
+
});
|
|
206
|
+
}
|
|
207
|
+
return init;
|
|
208
|
+
}
|
|
209
|
+
|
|
86
210
|
/**
|
|
87
211
|
* Generated bundle index. Do not edit.
|
|
88
212
|
*/
|
|
89
213
|
|
|
90
|
-
export { LPX_TRANSLATE_KEYS_PROVIDER, SideMenuApplicationLayoutComponent, SideMenuLayoutModule, initLayouts };
|
|
214
|
+
export { LPX_TRANSLATE_KEYS_PROVIDER$1 as LPX_TRANSLATE_KEYS_PROVIDER, SideMenuApplicationLayoutComponent, SideMenuLayoutModule, TopMenuLayoutModule, initLayouts, initLayoutsFactory };
|
|
91
215
|
//# sourceMappingURL=volosoft-abp.ng.theme.lepton-x-layouts.mjs.map
|
|
@@ -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\n\r\nimport { SideMenuApplicationLayoutComponent } from './side-menu-application-layout.component';\r\nimport { LPX_AUTH_SERVICE_TOKEN } from '@volo/ngx-lepton-x.core';\r\nimport { LPX_TRANSLATE_KEYS_PROVIDER } from './providers/translate.provider';\r\n\r\n@NgModule({\r\n declarations: [SideMenuApplicationLayoutComponent],\r\n imports: [CommonModule, CoreModule, LpxSideMenuLayoutModule],\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,IAAA,CAAA,SAAS,GAAkC,uBAAA,sCAAA;AAC3C,QAAA,IAAA,CAAA,eAAe,GAAoC,yBAAA,wCAAA;KACpD;;+HALY,kCAAkC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAlC,kCAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,kCAAkC,8DCR/C,u0BA+BA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,QAAA,EAAA,eAAA,EAAA,OAAA,EAAA,CAAA,UAAA,EAAA,YAAA,EAAA,QAAA,EAAA,QAAA,CAAA,EAAA,QAAA,EAAA,CAAA,QAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,4BAAA,EAAA,QAAA,EAAA,0BAAA,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,uBA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uB,CAAA,EAAA,CAAA,CAAA;2FAGhD,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBALhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,kCAAkC,CAAC;AAClD,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,UAAU,EAAE,uBAAuB,CAAC;oBAC5D,OAAO,EAAE,CAAC,kCAAkC,CAAC;iBAC9C,CAAA;;AAuBK,SAAU,WAAW,CAAC,QAAkB,EAAA;AAC5C,IAAA,SAAS,IAAI,GAAA;QACX,MAAM,qBAAqB,GAAG,QAAQ,CAAC,GAAG,CAAC,4BAA4B,CAAC,CAAC;QACzE,qBAAqB,CAAC,GAAG,CAAC;YACxB,GAAG,EAA2C,kCAAA;AAC9C,YAAA,SAAS,EAAE,kCAAkC;AAC9C,SAAA,CAAC,CAAC;KACJ;AACD,IAAA,OAAO,IAAI,CAAC;AACd;;ACvDA;;AAEG;;;;"}
|
|
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.Navbar;\r\n navbarKey = eThemeLeptonXComponents.Sidebar;\r\n routesKey = eThemeLeptonXComponents.Routes;\r\n toolbarItemsKey = eThemeLeptonXComponents.NavItems;\r\n breadcrumbKey = eThemeLeptonXComponents.Breadcrumb;\r\n footerKey = eThemeLeptonXComponents.Footer;\r\n settingsPanelKey = eThemeLeptonXComponents.Settings;\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\r\n <ng-template lpx-footer-panel>\r\n <lpx-footer\r\n *abpReplaceableTemplate=\"{\r\n componentKey: footerKey\r\n }\"\r\n >\r\n </lpx-footer>\r\n </ng-template>\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 <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\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 <lpx-footer\r\n *abpReplaceableTemplate=\"{\r\n componentKey: footerKey\r\n }\"\r\n >\r\n </lpx-footer>\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":";;;;;;;;;;;;;;;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,IAAA,CAAA,SAAS,GAAkC,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f,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAd/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,iCAAiC,CAAC;AACjD,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,sBAAsB;wBACtB,oBAAoB;wBACpB,mBAAmB;wBACnB,eAAe;wBACf,eAAe;wBACf,UAAU;wBACV,wBAAwB;wBACxB,YAAY;AACb,qBAAA;iBACF,CAAA;;AAuBK,SAAU,kBAAkB,CAAC,QAAkB,EAAA;AACnD,IAAA,SAAS,IAAI,GAAA;QACX,MAAM,qBAAqB,GAAG,QAAQ,CAAC,GAAG,CAAC,4BAA4B,CAAC,CAAC;QACzE,qBAAqB,CAAC,GAAG,CAAC;YACxB,GAAG,EAA2C,kCAAA;AAC9C,YAAA,SAAS,EAAE,iCAAiC;AAC7C,SAAA,CAAC,CAAC;KACJ;AAED,IAAA,OAAO,IAAI,CAAC;AACd;;ACtEA;;AAEG;;;;"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Component, ChangeDetectionStrategy, ViewEncapsulation, NgModule, Injectable, Inject, Optional, InjectionToken, APP_INITIALIZER, Injector } from '@angular/core';
|
|
3
3
|
import { ValidationErrorComponent, VALIDATION_ERROR_TEMPLATE, VALIDATION_INVALID_CLASSES, VALIDATION_TARGET_SELECTOR, NgxValidateCoreModule } from '@ngx-validate/core';
|
|
4
|
-
import * as
|
|
4
|
+
import * as i1 from '@angular/common';
|
|
5
5
|
import { CommonModule } from '@angular/common';
|
|
6
|
-
import * as i1 from '@abp/ng.core';
|
|
6
|
+
import * as i1$1 from '@abp/ng.core';
|
|
7
7
|
import { CoreModule, getLocaleDirection, NAVIGATE_TO_MANAGE_PROFILE, AuthService } from '@abp/ng.core';
|
|
8
|
-
import * as i1$
|
|
9
|
-
import * as i1$2 from '@abp/ng.theme.shared';
|
|
10
|
-
import { ThemeSharedModule, UserMenuService } from '@abp/ng.theme.shared';
|
|
8
|
+
import * as i1$2 from '@angular/router';
|
|
11
9
|
import { filter, switchMap, map } from 'rxjs/operators';
|
|
12
10
|
import * as i4 from 'rxjs';
|
|
13
11
|
import { of } from 'rxjs';
|
|
14
12
|
import { PROFILE_PICTURE, NAVIGATE_TO_MY_SECURITY_LOGS, OPEN_MY_LINK_USERS_MODAL, PROFILE_PICTURE_PROVIDERS } from '@volo/abp.commercial.ng.ui/config';
|
|
15
|
-
import * as i2
|
|
13
|
+
import * as i2 from '@volo/ngx-lepton-x.core';
|
|
16
14
|
import { flatArrayDeepToObject, LPX_TRANSLATE_SERVICE_TOKEN, LanguageTranslateKeys } from '@volo/ngx-lepton-x.core';
|
|
15
|
+
import * as i3 from '@abp/ng.theme.shared';
|
|
16
|
+
import { UserMenuService } from '@abp/ng.theme.shared';
|
|
17
17
|
import * as i1$3 from '@volosoft/ngx-lepton-x/layouts';
|
|
18
18
|
import { PageParts, PAGE_RENDER_STRATEGY } from '@abp/ng.components/page';
|
|
19
19
|
import { ThemeTranslateKeys, LpxModule } from '@volosoft/ngx-lepton-x';
|
|
@@ -43,7 +43,7 @@ AbpValidationErrorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.
|
|
|
43
43
|
{{ error.message | abpLocalization: error.interpoliteParams }}</span
|
|
44
44
|
></span
|
|
45
45
|
>
|
|
46
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
46
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "pipe", type: i1$1.LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
47
47
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: AbpValidationErrorComponent, decorators: [{
|
|
48
48
|
type: Component,
|
|
49
49
|
args: [{
|
|
@@ -72,7 +72,7 @@ class AbpValidationErrorModule {
|
|
|
72
72
|
},
|
|
73
73
|
{
|
|
74
74
|
provide: VALIDATION_INVALID_CLASSES,
|
|
75
|
-
useValue: '
|
|
75
|
+
useValue: 'is-invalid',
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
78
|
provide: VALIDATION_TARGET_SELECTOR,
|
|
@@ -128,7 +128,7 @@ class HttpErrorComponent {
|
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
HttpErrorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: HttpErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
131
|
-
HttpErrorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: HttpErrorComponent, selector: "abp-http-error", ngImport: i0, template: "<div class=\"error-page-container\">\r\n <div class=\"row\">\r\n <div class=\"col col-auto\">\r\n <div class=\"status-icon\">\r\n <i class=\"fa fa-frown-o text-danger\" aria-hidden=\"true\"></i>\r\n <span></span>\r\n </div>\r\n </div>\r\n <div class=\"col\">\r\n <div class=\"status-content\">\r\n <h1>{{ errorStatus }}</h1>\r\n <h2 class=\"text-danger mb-0\">\r\n {{ errorStatusText | abpLocalization\r\n }}<small class=\"text-muted\">{{\r\n errorDetail | abpLocalization\r\n }}</small>\r\n </h2>\r\n <p class=\"mt-3 mb-4\"></p>\r\n <a (click)=\"destroy$.next()\" routerLink=\"/\" class=\"btn btn-primary\">{{\r\n 'AbpUi::GoHomePage' | abpLocalization\r\n }}</a>\r\n <a\r\n href=\"javascript:void(0)\"\r\n class=\"mt-4 mb-1 d-block\"\r\n (click)=\"destroy$.next()\"\r\n ><i class=\"fa fa-long-arrow-left me-1\"></i\r\n >{{ 'AbpUi::GoBack' | abpLocalization }}</a\r\n >\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i1$
|
|
131
|
+
HttpErrorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: HttpErrorComponent, selector: "abp-http-error", ngImport: i0, template: "<div class=\"error-page-container\">\r\n <div class=\"row\">\r\n <div class=\"col col-auto\">\r\n <div class=\"status-icon\">\r\n <i class=\"fa fa-frown-o text-danger\" aria-hidden=\"true\"></i>\r\n <span></span>\r\n </div>\r\n </div>\r\n <div class=\"col\">\r\n <div class=\"status-content\">\r\n <h1>{{ errorStatus }}</h1>\r\n <h2 class=\"text-danger mb-0\">\r\n {{ errorStatusText | abpLocalization\r\n }}<small class=\"text-muted\">{{\r\n errorDetail | abpLocalization\r\n }}</small>\r\n </h2>\r\n <p class=\"mt-3 mb-4\"></p>\r\n <a (click)=\"destroy$.next()\" routerLink=\"/\" class=\"btn btn-primary\">{{\r\n 'AbpUi::GoHomePage' | abpLocalization\r\n }}</a>\r\n <a\r\n href=\"javascript:void(0)\"\r\n class=\"mt-4 mb-1 d-block\"\r\n (click)=\"destroy$.next()\"\r\n ><i class=\"fa fa-long-arrow-left me-1\"></i\r\n >{{ 'AbpUi::GoBack' | abpLocalization }}</a\r\n >\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i1$2.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "pipe", type: i1$1.LocalizationPipe, name: "abpLocalization" }] });
|
|
132
132
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: HttpErrorComponent, decorators: [{
|
|
133
133
|
type: Component,
|
|
134
134
|
args: [{ selector: 'abp-http-error', template: "<div class=\"error-page-container\">\r\n <div class=\"row\">\r\n <div class=\"col col-auto\">\r\n <div class=\"status-icon\">\r\n <i class=\"fa fa-frown-o text-danger\" aria-hidden=\"true\"></i>\r\n <span></span>\r\n </div>\r\n </div>\r\n <div class=\"col\">\r\n <div class=\"status-content\">\r\n <h1>{{ errorStatus }}</h1>\r\n <h2 class=\"text-danger mb-0\">\r\n {{ errorStatusText | abpLocalization\r\n }}<small class=\"text-muted\">{{\r\n errorDetail | abpLocalization\r\n }}</small>\r\n </h2>\r\n <p class=\"mt-3 mb-4\"></p>\r\n <a (click)=\"destroy$.next()\" routerLink=\"/\" class=\"btn btn-primary\">{{\r\n 'AbpUi::GoHomePage' | abpLocalization\r\n }}</a>\r\n <a\r\n href=\"javascript:void(0)\"\r\n class=\"mt-4 mb-1 d-block\"\r\n (click)=\"destroy$.next()\"\r\n ><i class=\"fa fa-long-arrow-left me-1\"></i\r\n >{{ 'AbpUi::GoBack' | abpLocalization }}</a\r\n >\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n" }]
|
|
@@ -154,32 +154,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
|
|
|
154
154
|
}]
|
|
155
155
|
}] });
|
|
156
156
|
|
|
157
|
-
class PageAlertContainerComponent {
|
|
158
|
-
constructor(service) {
|
|
159
|
-
this.service = service;
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
PageAlertContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: PageAlertContainerComponent, deps: [{ token: i1$2.PageAlertService }], target: i0.ɵɵFactoryTarget.Component });
|
|
163
|
-
PageAlertContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: PageAlertContainerComponent, selector: "abp-page-alert-container", ngImport: i0, template: "<ng-container *ngFor=\"let alert of service.alerts$ | async; let i = index\">\r\n <div\r\n class=\"alert alert-{{ alert.type }} fade show\"\r\n [ngClass]=\"{ 'alert-dismissible fade show': alert.dismissible }\"\r\n role=\"alert\"\r\n >\r\n <h4 class=\"alert-heading\" *ngIf=\"alert.title\">\r\n {{ alert.title | abpLocalization: alert.titleLocalizationParams }}\r\n </h4>\r\n {{ alert.message | abpLocalization: alert.messageLocalizationParams }}\r\n <button\r\n *ngIf=\"alert.dismissible\"\r\n type=\"button\"\r\n class=\"close\"\r\n data-dismiss=\"alert\"\r\n aria-label=\"Close\"\r\n (click)=\"service.remove(i)\"\r\n >\r\n <span aria-hidden=\"true\">×</span>\r\n </button>\r\n </div>\r\n</ng-container>\r\n", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "pipe", type: i1.LocalizationPipe, name: "abpLocalization" }] });
|
|
164
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: PageAlertContainerComponent, decorators: [{
|
|
165
|
-
type: Component,
|
|
166
|
-
args: [{ selector: 'abp-page-alert-container', template: "<ng-container *ngFor=\"let alert of service.alerts$ | async; let i = index\">\r\n <div\r\n class=\"alert alert-{{ alert.type }} fade show\"\r\n [ngClass]=\"{ 'alert-dismissible fade show': alert.dismissible }\"\r\n role=\"alert\"\r\n >\r\n <h4 class=\"alert-heading\" *ngIf=\"alert.title\">\r\n {{ alert.title | abpLocalization: alert.titleLocalizationParams }}\r\n </h4>\r\n {{ alert.message | abpLocalization: alert.messageLocalizationParams }}\r\n <button\r\n *ngIf=\"alert.dismissible\"\r\n type=\"button\"\r\n class=\"close\"\r\n data-dismiss=\"alert\"\r\n aria-label=\"Close\"\r\n (click)=\"service.remove(i)\"\r\n >\r\n <span aria-hidden=\"true\">×</span>\r\n </button>\r\n </div>\r\n</ng-container>\r\n" }]
|
|
167
|
-
}], ctorParameters: function () { return [{ type: i1$2.PageAlertService }]; } });
|
|
168
|
-
|
|
169
|
-
class PageAlertContainerModule {
|
|
170
|
-
}
|
|
171
|
-
PageAlertContainerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: PageAlertContainerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
172
|
-
PageAlertContainerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: PageAlertContainerModule, declarations: [PageAlertContainerComponent], imports: [ThemeSharedModule, CoreModule], exports: [PageAlertContainerComponent] });
|
|
173
|
-
PageAlertContainerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: PageAlertContainerModule, imports: [ThemeSharedModule, CoreModule] });
|
|
174
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: PageAlertContainerModule, decorators: [{
|
|
175
|
-
type: NgModule,
|
|
176
|
-
args: [{
|
|
177
|
-
declarations: [PageAlertContainerComponent],
|
|
178
|
-
imports: [ThemeSharedModule, CoreModule],
|
|
179
|
-
exports: [PageAlertContainerComponent],
|
|
180
|
-
}]
|
|
181
|
-
}] });
|
|
182
|
-
|
|
183
157
|
var eUserMenuItems;
|
|
184
158
|
(function (eUserMenuItems) {
|
|
185
159
|
eUserMenuItems["LinkedAccounts"] = "LinkedAccounts";
|
|
@@ -234,6 +208,7 @@ class AbpSettingsService {
|
|
|
234
208
|
curr.action();
|
|
235
209
|
return of(true);
|
|
236
210
|
},
|
|
211
|
+
visible: curr.visible,
|
|
237
212
|
};
|
|
238
213
|
const setIndex = index === userMenu.length - 1 ? 1 : 0;
|
|
239
214
|
acc[setIndex].push(menuItem);
|
|
@@ -275,13 +250,13 @@ class AbpSettingsService {
|
|
|
275
250
|
});
|
|
276
251
|
}
|
|
277
252
|
}
|
|
278
|
-
AbpSettingsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: AbpSettingsService, deps: [{ token: i1.SessionStateService }, { token: i1.ConfigStateService }, { token: i2
|
|
253
|
+
AbpSettingsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: AbpSettingsService, deps: [{ token: i1$1.SessionStateService }, { token: i1$1.ConfigStateService }, { token: i2.LanguageService }, { token: i1$1.AuthService }, { token: i2.UserProfileService }, { token: PROFILE_PICTURE }, { token: NAVIGATE_TO_MANAGE_PROFILE }, { token: NAVIGATE_TO_MY_SECURITY_LOGS }, { token: OPEN_MY_LINK_USERS_MODAL, optional: true }, { token: i1$1.LocalizationService }, { token: i3.UserMenuService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
279
254
|
AbpSettingsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: AbpSettingsService, providedIn: 'root' });
|
|
280
255
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: AbpSettingsService, decorators: [{
|
|
281
256
|
type: Injectable,
|
|
282
257
|
args: [{ providedIn: 'root' }]
|
|
283
258
|
}], ctorParameters: function () {
|
|
284
|
-
return [{ type: i1.SessionStateService }, { type: i1.ConfigStateService }, { type: i2
|
|
259
|
+
return [{ type: i1$1.SessionStateService }, { type: i1$1.ConfigStateService }, { type: i2.LanguageService }, { type: i1$1.AuthService }, { type: i2.UserProfileService }, { type: i4.BehaviorSubject, decorators: [{
|
|
285
260
|
type: Inject,
|
|
286
261
|
args: [PROFILE_PICTURE]
|
|
287
262
|
}] }, { type: undefined, decorators: [{
|
|
@@ -295,7 +270,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
|
|
|
295
270
|
}, {
|
|
296
271
|
type: Inject,
|
|
297
272
|
args: [OPEN_MY_LINK_USERS_MODAL]
|
|
298
|
-
}] }, { type: i1.LocalizationService }, { type:
|
|
273
|
+
}] }, { type: i1$1.LocalizationService }, { type: i3.UserMenuService }];
|
|
299
274
|
} });
|
|
300
275
|
|
|
301
276
|
class AbpToolbarService {
|
|
@@ -312,14 +287,14 @@ class AbpToolbarService {
|
|
|
312
287
|
});
|
|
313
288
|
}
|
|
314
289
|
}
|
|
315
|
-
AbpToolbarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: AbpToolbarService, deps: [{ token: i1$3.ToolbarService }, { token:
|
|
290
|
+
AbpToolbarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: AbpToolbarService, deps: [{ token: i1$3.ToolbarService }, { token: i3.NavItemsService }, { token: i1$1.PermissionService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
316
291
|
AbpToolbarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: AbpToolbarService, providedIn: 'root' });
|
|
317
292
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: AbpToolbarService, decorators: [{
|
|
318
293
|
type: Injectable,
|
|
319
294
|
args: [{
|
|
320
295
|
providedIn: 'root',
|
|
321
296
|
}]
|
|
322
|
-
}], ctorParameters: function () { return [{ type: i1$3.ToolbarService }, { type:
|
|
297
|
+
}], ctorParameters: function () { return [{ type: i1$3.ToolbarService }, { type: i3.NavItemsService }, { type: i1$1.PermissionService }]; } });
|
|
323
298
|
|
|
324
299
|
const LPX_TRANSLATE_KEY_MAP_TOKEN = new InjectionToken('LPX_TRANSLATE_KEY_MAP_TOKEN');
|
|
325
300
|
|
|
@@ -353,12 +328,12 @@ class AbpTranslateService {
|
|
|
353
328
|
return keys[key] ? keys[key] : key.includes('::') ? key : undefined;
|
|
354
329
|
}
|
|
355
330
|
}
|
|
356
|
-
AbpTranslateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: AbpTranslateService, deps: [{ token: i1.LocalizationService }, { token: LPX_TRANSLATE_KEY_MAP_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
331
|
+
AbpTranslateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: AbpTranslateService, deps: [{ token: i1$1.LocalizationService }, { token: LPX_TRANSLATE_KEY_MAP_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
357
332
|
AbpTranslateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: AbpTranslateService });
|
|
358
333
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: AbpTranslateService, decorators: [{
|
|
359
334
|
type: Injectable
|
|
360
335
|
}], ctorParameters: function () {
|
|
361
|
-
return [{ type: i1.LocalizationService }, { type: Array, decorators: [{
|
|
336
|
+
return [{ type: i1$1.LocalizationService }, { type: Array, decorators: [{
|
|
362
337
|
type: Inject,
|
|
363
338
|
args: [LPX_TRANSLATE_KEY_MAP_TOKEN]
|
|
364
339
|
}] }];
|
|
@@ -385,11 +360,11 @@ class AbpAuthService {
|
|
|
385
360
|
this.authService.navigateToLogin();
|
|
386
361
|
}
|
|
387
362
|
}
|
|
388
|
-
AbpAuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: AbpAuthService, deps: [{ token: i2
|
|
363
|
+
AbpAuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: AbpAuthService, deps: [{ token: i2.UserProfileService }, { token: i1$1.AuthService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
389
364
|
AbpAuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: AbpAuthService });
|
|
390
365
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: AbpAuthService, decorators: [{
|
|
391
366
|
type: Injectable
|
|
392
|
-
}], ctorParameters: function () { return [{ type: i2
|
|
367
|
+
}], ctorParameters: function () { return [{ type: i2.UserProfileService }, { type: i1$1.AuthService }]; } });
|
|
393
368
|
|
|
394
369
|
const LPX_STYLE_PROVIDER = {
|
|
395
370
|
provide: APP_INITIALIZER,
|
|
@@ -551,5 +526,5 @@ function createLpxModuleOptions(options) {
|
|
|
551
526
|
* Generated bundle index. Do not edit.
|
|
552
527
|
*/
|
|
553
528
|
|
|
554
|
-
export { AbpAuthService, AbpSettingsService, AbpToolbarService, AbpTranslateService, AbpValidationErrorComponent, AbpValidationErrorModule, HttpErrorComponent, HttpErrorModule, LPX_TRANSLATE_KEY_MAP_TOKEN, LeptonXPageRenderService,
|
|
529
|
+
export { AbpAuthService, AbpSettingsService, AbpToolbarService, AbpTranslateService, AbpValidationErrorComponent, AbpValidationErrorModule, HttpErrorComponent, HttpErrorModule, LPX_TRANSLATE_KEY_MAP_TOKEN, LeptonXPageRenderService, ThemeLeptonXModule, eUserMenuItems };
|
|
555
530
|
//# sourceMappingURL=volosoft-abp.ng.theme.lepton-x.mjs.map
|