@volosoft/abp.ng.theme.lepton-x 2.2.1 → 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
|
@@ -1,542 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, ChangeDetectionStrategy, ViewEncapsulation, NgModule, Injectable, Inject, Optional, InjectionToken, APP_INITIALIZER, Injector } from '@angular/core';
|
|
3
|
-
import { ValidationErrorComponent, VALIDATION_ERROR_TEMPLATE, VALIDATION_INVALID_CLASSES, VALIDATION_TARGET_SELECTOR, NgxValidateCoreModule } from '@ngx-validate/core';
|
|
4
|
-
import * as i1 from '@angular/common';
|
|
5
|
-
import { CommonModule } from '@angular/common';
|
|
6
|
-
import * as i1$1 from '@abp/ng.core';
|
|
7
|
-
import { CoreModule, getLocaleDirection, NAVIGATE_TO_MANAGE_PROFILE, AuthService, ConfigStateService } from '@abp/ng.core';
|
|
8
|
-
import * as i1$2 from '@angular/router';
|
|
9
|
-
import { __rest } from 'tslib';
|
|
10
|
-
import { filter, switchMap, map } from 'rxjs/operators';
|
|
11
|
-
import * as i4 from 'rxjs';
|
|
12
|
-
import { combineLatest, of } from 'rxjs';
|
|
13
|
-
import { PROFILE_PICTURE, NAVIGATE_TO_MY_SECURITY_LOGS, OPEN_MY_LINK_USERS_MODAL, ImpersonationService, OPEN_AUTHORITY_DELEGATION_MODAL, PROFILE_PICTURE_PROVIDERS } from '@volo/abp.commercial.ng.ui/config';
|
|
14
|
-
import * as i2 from '@volo/ngx-lepton-x.core';
|
|
15
|
-
import { flatArrayDeepToObject, LPX_TRANSLATE_SERVICE_TOKEN, LanguageTranslateKeys } from '@volo/ngx-lepton-x.core';
|
|
16
|
-
import * as i3 from '@abp/ng.theme.shared';
|
|
17
|
-
import { UserMenuService } from '@abp/ng.theme.shared';
|
|
18
|
-
import * as i1$3 from '@volosoft/ngx-lepton-x/layouts';
|
|
19
|
-
import { ThemeTranslateKeys, LpxModule } from '@volosoft/ngx-lepton-x';
|
|
20
|
-
import { AbpNavbarService, LeptonXAbpCoreModule } from '@volo/abp.ng.lepton-x.core';
|
|
21
|
-
|
|
22
|
-
class AbpValidationErrorComponent extends ValidationErrorComponent {
|
|
23
|
-
get abpErrors() {
|
|
24
|
-
if (!this.errors || !this.errors.length) {
|
|
25
|
-
return [];
|
|
26
|
-
}
|
|
27
|
-
return this.errors.map(error => {
|
|
28
|
-
if (!error.message) {
|
|
29
|
-
return error;
|
|
30
|
-
}
|
|
31
|
-
const index = error.message.indexOf('[');
|
|
32
|
-
if (index > -1) {
|
|
33
|
-
return Object.assign(Object.assign({}, error), { message: error.message.slice(0, index), interpoliteParams: error.message.slice(index + 1, error.message.length - 1).split(',') });
|
|
34
|
-
}
|
|
35
|
-
return error;
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
AbpValidationErrorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AbpValidationErrorComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
40
|
-
AbpValidationErrorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AbpValidationErrorComponent, selector: "abp-validation-error", usesInheritance: true, ngImport: i0, template: `
|
|
41
|
-
<span class="text-danger" data-valmsg-for="Role.Name" data-valmsg-replace="true"
|
|
42
|
-
><span *ngFor="let error of abpErrors; trackBy: trackByFn">
|
|
43
|
-
{{ error.message | abpLocalization: error.interpoliteParams }}</span
|
|
44
|
-
></span
|
|
45
|
-
>
|
|
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
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AbpValidationErrorComponent, decorators: [{
|
|
48
|
-
type: Component,
|
|
49
|
-
args: [{
|
|
50
|
-
selector: 'abp-validation-error',
|
|
51
|
-
// TODO: add validation error class to span
|
|
52
|
-
template: `
|
|
53
|
-
<span class="text-danger" data-valmsg-for="Role.Name" data-valmsg-replace="true"
|
|
54
|
-
><span *ngFor="let error of abpErrors; trackBy: trackByFn">
|
|
55
|
-
{{ error.message | abpLocalization: error.interpoliteParams }}</span
|
|
56
|
-
></span
|
|
57
|
-
>
|
|
58
|
-
`,
|
|
59
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
60
|
-
encapsulation: ViewEncapsulation.None,
|
|
61
|
-
}]
|
|
62
|
-
}] });
|
|
63
|
-
|
|
64
|
-
class AbpValidationErrorModule {
|
|
65
|
-
static forRoot() {
|
|
66
|
-
return {
|
|
67
|
-
ngModule: AbpValidationErrorModule,
|
|
68
|
-
providers: [
|
|
69
|
-
{
|
|
70
|
-
provide: VALIDATION_ERROR_TEMPLATE,
|
|
71
|
-
useValue: AbpValidationErrorComponent,
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
provide: VALIDATION_INVALID_CLASSES,
|
|
75
|
-
useValue: 'is-invalid',
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
provide: VALIDATION_TARGET_SELECTOR,
|
|
79
|
-
useValue: '.form-group',
|
|
80
|
-
},
|
|
81
|
-
],
|
|
82
|
-
};
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
AbpValidationErrorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AbpValidationErrorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
86
|
-
AbpValidationErrorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: AbpValidationErrorModule, declarations: [AbpValidationErrorComponent], imports: [CommonModule, CoreModule, NgxValidateCoreModule], exports: [AbpValidationErrorComponent, NgxValidateCoreModule] });
|
|
87
|
-
AbpValidationErrorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AbpValidationErrorModule, imports: [CommonModule, CoreModule, NgxValidateCoreModule, NgxValidateCoreModule] });
|
|
88
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AbpValidationErrorModule, decorators: [{
|
|
89
|
-
type: NgModule,
|
|
90
|
-
args: [{
|
|
91
|
-
declarations: [AbpValidationErrorComponent],
|
|
92
|
-
imports: [CommonModule, CoreModule, NgxValidateCoreModule],
|
|
93
|
-
exports: [AbpValidationErrorComponent, NgxValidateCoreModule],
|
|
94
|
-
}]
|
|
95
|
-
}] });
|
|
96
|
-
|
|
97
|
-
class HttpErrorComponent {
|
|
98
|
-
constructor() {
|
|
99
|
-
this.errorStatus = '401';
|
|
100
|
-
}
|
|
101
|
-
get errorStatusText() {
|
|
102
|
-
switch (this.errorStatus) {
|
|
103
|
-
case '401':
|
|
104
|
-
return 'AbpUi::401Message';
|
|
105
|
-
case '403':
|
|
106
|
-
return 'AbpUi::403Message';
|
|
107
|
-
case '404':
|
|
108
|
-
return 'AbpUi::404Message';
|
|
109
|
-
case '500':
|
|
110
|
-
return 'AbpUi::500Message';
|
|
111
|
-
default:
|
|
112
|
-
return '';
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
get errorDetail() {
|
|
116
|
-
switch (this.errorStatus) {
|
|
117
|
-
case '401':
|
|
118
|
-
return 'AbpUi::DefaultErrorMessage401Detail';
|
|
119
|
-
case '403':
|
|
120
|
-
return 'AbpUi::DefaultErrorMessage403Detail';
|
|
121
|
-
case '404':
|
|
122
|
-
return 'AbpUi::DefaultErrorMessage404Detail';
|
|
123
|
-
case '500':
|
|
124
|
-
return 'AbpUi::DefaultErrorMessage';
|
|
125
|
-
default:
|
|
126
|
-
return '';
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
HttpErrorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: HttpErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
131
|
-
HttpErrorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", 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.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "pipe", type: i1$1.LocalizationPipe, name: "abpLocalization" }] });
|
|
132
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: HttpErrorComponent, decorators: [{
|
|
133
|
-
type: Component,
|
|
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" }]
|
|
135
|
-
}] });
|
|
136
|
-
|
|
137
|
-
class HttpErrorModule {
|
|
138
|
-
static forRoot() {
|
|
139
|
-
return {
|
|
140
|
-
ngModule: HttpErrorModule,
|
|
141
|
-
providers: [],
|
|
142
|
-
};
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
HttpErrorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: HttpErrorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
146
|
-
HttpErrorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: HttpErrorModule, declarations: [HttpErrorComponent], imports: [CoreModule, CommonModule], exports: [HttpErrorComponent] });
|
|
147
|
-
HttpErrorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: HttpErrorModule, imports: [CoreModule, CommonModule] });
|
|
148
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: HttpErrorModule, decorators: [{
|
|
149
|
-
type: NgModule,
|
|
150
|
-
args: [{
|
|
151
|
-
declarations: [HttpErrorComponent],
|
|
152
|
-
imports: [CoreModule, CommonModule],
|
|
153
|
-
exports: [HttpErrorComponent],
|
|
154
|
-
}]
|
|
155
|
-
}] });
|
|
156
|
-
|
|
157
|
-
var eUserMenuItems;
|
|
158
|
-
(function (eUserMenuItems) {
|
|
159
|
-
eUserMenuItems["LinkedAccounts"] = "LinkedAccounts";
|
|
160
|
-
eUserMenuItems["MyAccount"] = "MyAccount";
|
|
161
|
-
eUserMenuItems["Logout"] = "Logout";
|
|
162
|
-
eUserMenuItems["SecurityLogs"] = "SecurityLogs";
|
|
163
|
-
eUserMenuItems["BackToImpersonator"] = "BackToImpersonator";
|
|
164
|
-
eUserMenuItems["AuthorityDelegation"] = "AuthorityDelegation";
|
|
165
|
-
})(eUserMenuItems || (eUserMenuItems = {}));
|
|
166
|
-
|
|
167
|
-
class AbpSettingsService {
|
|
168
|
-
constructor(sessionService, configStateService, languageService, userProfileService, profilePicture$, navigateToManageProfile, navigateToMySecurityLogs, openMyLinkUsersModal, userMenuService) {
|
|
169
|
-
this.sessionService = sessionService;
|
|
170
|
-
this.configStateService = configStateService;
|
|
171
|
-
this.languageService = languageService;
|
|
172
|
-
this.userProfileService = userProfileService;
|
|
173
|
-
this.profilePicture$ = profilePicture$;
|
|
174
|
-
this.navigateToManageProfile = navigateToManageProfile;
|
|
175
|
-
this.navigateToMySecurityLogs = navigateToMySecurityLogs;
|
|
176
|
-
this.openMyLinkUsersModal = openMyLinkUsersModal;
|
|
177
|
-
this.userMenuService = userMenuService;
|
|
178
|
-
}
|
|
179
|
-
setUpListeners() {
|
|
180
|
-
this.listenToLangChange();
|
|
181
|
-
this.setLanguageOptions();
|
|
182
|
-
this.setUserProfile();
|
|
183
|
-
this.setProfilePicture();
|
|
184
|
-
this.setUserMenuGroups();
|
|
185
|
-
}
|
|
186
|
-
setUserProfile() {
|
|
187
|
-
const emptyStringOnNull = (value) => value || '';
|
|
188
|
-
const currentUser$ = this.configStateService
|
|
189
|
-
.getOne$('currentUser')
|
|
190
|
-
.pipe(filter(Boolean));
|
|
191
|
-
const currentTenant$ = this.configStateService
|
|
192
|
-
.getOne$('currentTenant')
|
|
193
|
-
.pipe(filter(Boolean));
|
|
194
|
-
combineLatest([currentUser$, currentTenant$]).subscribe(([currentUser, currentTenant]) => {
|
|
195
|
-
this.userProfileService.patchUser({
|
|
196
|
-
userName: currentUser.userName,
|
|
197
|
-
fullName: emptyStringOnNull(currentUser.name) +
|
|
198
|
-
' ' +
|
|
199
|
-
emptyStringOnNull(currentUser.surName),
|
|
200
|
-
email: currentUser.email,
|
|
201
|
-
tenant: currentTenant,
|
|
202
|
-
});
|
|
203
|
-
});
|
|
204
|
-
}
|
|
205
|
-
setUserMenuGroups() {
|
|
206
|
-
this.userMenuService.items$.subscribe((userMenu) => {
|
|
207
|
-
const userActionGroups = userMenu.reduce((acc, curr, index) => {
|
|
208
|
-
var _a, _b;
|
|
209
|
-
const menuItem = {
|
|
210
|
-
icon: (_a = curr.textTemplate) === null || _a === void 0 ? void 0 : _a.icon,
|
|
211
|
-
text: (_b = curr.textTemplate) === null || _b === void 0 ? void 0 : _b.text,
|
|
212
|
-
component: curr === null || curr === void 0 ? void 0 : curr.component,
|
|
213
|
-
action: () => {
|
|
214
|
-
curr.action();
|
|
215
|
-
return of(true);
|
|
216
|
-
},
|
|
217
|
-
visible: curr.visible,
|
|
218
|
-
};
|
|
219
|
-
const setIndex = index === userMenu.length - 1 ? 1 : 0;
|
|
220
|
-
acc[setIndex].push(menuItem);
|
|
221
|
-
return acc;
|
|
222
|
-
}, [[], []]);
|
|
223
|
-
this.userProfileService.patchUser({
|
|
224
|
-
userActionGroups,
|
|
225
|
-
});
|
|
226
|
-
});
|
|
227
|
-
}
|
|
228
|
-
setProfilePicture() {
|
|
229
|
-
this.profilePicture$
|
|
230
|
-
.pipe(filter(Boolean))
|
|
231
|
-
.subscribe((avatar) => this.userProfileService.patchUser({
|
|
232
|
-
avatar: {
|
|
233
|
-
type: avatar.type,
|
|
234
|
-
source: avatar.source || '',
|
|
235
|
-
},
|
|
236
|
-
}));
|
|
237
|
-
}
|
|
238
|
-
setLanguageOptions() {
|
|
239
|
-
this.sessionService
|
|
240
|
-
.getLanguage$()
|
|
241
|
-
.pipe(switchMap((currentLang) => this.configStateService.getDeep$('localization.languages').pipe(filter(Boolean), map((languages) => languages.map((_a) => {
|
|
242
|
-
var { cultureName } = _a, rest = __rest(_a, ["cultureName"]);
|
|
243
|
-
return (Object.assign(Object.assign({}, rest), { cultureName, selected: cultureName === currentLang, isRTL: getLocaleDirection(cultureName) === 'rtl' }));
|
|
244
|
-
})))))
|
|
245
|
-
.subscribe((settings) => {
|
|
246
|
-
this.languageService.setLanguages(settings);
|
|
247
|
-
});
|
|
248
|
-
}
|
|
249
|
-
listenToLangChange() {
|
|
250
|
-
this.languageService.selectedLanguage$
|
|
251
|
-
.pipe(filter(Boolean))
|
|
252
|
-
.subscribe((lang) => {
|
|
253
|
-
this.sessionService.setLanguage((lang === null || lang === void 0 ? void 0 : lang.cultureName) || '');
|
|
254
|
-
});
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
AbpSettingsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AbpSettingsService, deps: [{ token: i1$1.SessionStateService }, { token: i1$1.ConfigStateService }, { token: i2.LanguageService }, { 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: i3.UserMenuService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
258
|
-
AbpSettingsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AbpSettingsService, providedIn: 'root' });
|
|
259
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AbpSettingsService, decorators: [{
|
|
260
|
-
type: Injectable,
|
|
261
|
-
args: [{ providedIn: 'root' }]
|
|
262
|
-
}], ctorParameters: function () {
|
|
263
|
-
return [{ type: i1$1.SessionStateService }, { type: i1$1.ConfigStateService }, { type: i2.LanguageService }, { type: i2.UserProfileService }, { type: i4.BehaviorSubject, decorators: [{
|
|
264
|
-
type: Inject,
|
|
265
|
-
args: [PROFILE_PICTURE]
|
|
266
|
-
}] }, { type: undefined, decorators: [{
|
|
267
|
-
type: Inject,
|
|
268
|
-
args: [NAVIGATE_TO_MANAGE_PROFILE]
|
|
269
|
-
}] }, { type: undefined, decorators: [{
|
|
270
|
-
type: Inject,
|
|
271
|
-
args: [NAVIGATE_TO_MY_SECURITY_LOGS]
|
|
272
|
-
}] }, { type: undefined, decorators: [{
|
|
273
|
-
type: Optional
|
|
274
|
-
}, {
|
|
275
|
-
type: Inject,
|
|
276
|
-
args: [OPEN_MY_LINK_USERS_MODAL]
|
|
277
|
-
}] }, { type: i3.UserMenuService }];
|
|
278
|
-
} });
|
|
279
|
-
|
|
280
|
-
class AbpToolbarService {
|
|
281
|
-
constructor(toolbar, navItems, permissionService) {
|
|
282
|
-
this.toolbar = toolbar;
|
|
283
|
-
this.navItems = navItems;
|
|
284
|
-
this.permissionService = permissionService;
|
|
285
|
-
}
|
|
286
|
-
listenNavItems() {
|
|
287
|
-
this.navItems.items$
|
|
288
|
-
.pipe(switchMap((items) => this.permissionService.filterItemsByPolicy$(items)))
|
|
289
|
-
.subscribe((items) => {
|
|
290
|
-
this.toolbar.setItems(items);
|
|
291
|
-
});
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
AbpToolbarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AbpToolbarService, deps: [{ token: i1$3.ToolbarService }, { token: i3.NavItemsService }, { token: i1$1.PermissionService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
295
|
-
AbpToolbarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AbpToolbarService, providedIn: 'root' });
|
|
296
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AbpToolbarService, decorators: [{
|
|
297
|
-
type: Injectable,
|
|
298
|
-
args: [{
|
|
299
|
-
providedIn: 'root',
|
|
300
|
-
}]
|
|
301
|
-
}], ctorParameters: function () { return [{ type: i1$3.ToolbarService }, { type: i3.NavItemsService }, { type: i1$1.PermissionService }]; } });
|
|
302
|
-
|
|
303
|
-
const LPX_TRANSLATE_KEY_MAP_TOKEN = new InjectionToken('LPX_TRANSLATE_KEY_MAP_TOKEN');
|
|
304
|
-
|
|
305
|
-
class AbpTranslateService {
|
|
306
|
-
constructor(localization, translateKeys) {
|
|
307
|
-
this.localization = localization;
|
|
308
|
-
this.translateKeys = translateKeys;
|
|
309
|
-
}
|
|
310
|
-
get(key, defaultValue) {
|
|
311
|
-
const keyToTranslate = this.getKey(key);
|
|
312
|
-
if (keyToTranslate) {
|
|
313
|
-
return this.localization.instant({
|
|
314
|
-
key: keyToTranslate,
|
|
315
|
-
defaultValue,
|
|
316
|
-
});
|
|
317
|
-
}
|
|
318
|
-
return defaultValue || key;
|
|
319
|
-
}
|
|
320
|
-
get$(key, defaultValue) {
|
|
321
|
-
const keyToTranslate = this.getKey(key);
|
|
322
|
-
if (keyToTranslate) {
|
|
323
|
-
return this.localization.get({
|
|
324
|
-
key: keyToTranslate,
|
|
325
|
-
defaultValue,
|
|
326
|
-
});
|
|
327
|
-
}
|
|
328
|
-
return of(defaultValue || key);
|
|
329
|
-
}
|
|
330
|
-
getKey(key) {
|
|
331
|
-
const keys = flatArrayDeepToObject(this.translateKeys);
|
|
332
|
-
return keys[key] ? keys[key] : key.includes('::') ? key : undefined;
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
AbpTranslateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AbpTranslateService, deps: [{ token: i1$1.LocalizationService }, { token: LPX_TRANSLATE_KEY_MAP_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
336
|
-
AbpTranslateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AbpTranslateService });
|
|
337
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AbpTranslateService, decorators: [{
|
|
338
|
-
type: Injectable
|
|
339
|
-
}], ctorParameters: function () {
|
|
340
|
-
return [{ type: i1$1.LocalizationService }, { type: Array, decorators: [{
|
|
341
|
-
type: Inject,
|
|
342
|
-
args: [LPX_TRANSLATE_KEY_MAP_TOKEN]
|
|
343
|
-
}] }];
|
|
344
|
-
} });
|
|
345
|
-
|
|
346
|
-
class AbpAuthService {
|
|
347
|
-
constructor(userProfileService, authService) {
|
|
348
|
-
this.userProfileService = userProfileService;
|
|
349
|
-
this.authService = authService;
|
|
350
|
-
this.isUserExists$ = this.userProfileService.user$.pipe(map((user) => user && !!user.userName));
|
|
351
|
-
}
|
|
352
|
-
navigateToLogin() {
|
|
353
|
-
this.authService.navigateToLogin();
|
|
354
|
-
}
|
|
355
|
-
}
|
|
356
|
-
AbpAuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AbpAuthService, deps: [{ token: i2.UserProfileService }, { token: i1$1.AuthService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
357
|
-
AbpAuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AbpAuthService });
|
|
358
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AbpAuthService, decorators: [{
|
|
359
|
-
type: Injectable
|
|
360
|
-
}], ctorParameters: function () { return [{ type: i2.UserProfileService }, { type: i1$1.AuthService }]; } });
|
|
361
|
-
|
|
362
|
-
const LPX_STYLE_PROVIDER = {
|
|
363
|
-
provide: APP_INITIALIZER,
|
|
364
|
-
useFactory: initStyles,
|
|
365
|
-
multi: true,
|
|
366
|
-
};
|
|
367
|
-
function initStyles() {
|
|
368
|
-
function init() {
|
|
369
|
-
const loader = document.querySelector('#lp-page-loader');
|
|
370
|
-
if (loader) {
|
|
371
|
-
loader.style.background = 'var(--background)';
|
|
372
|
-
setTimeout(() => { var _a; return (_a = loader.parentNode) === null || _a === void 0 ? void 0 : _a.removeChild(loader); }, 500);
|
|
373
|
-
}
|
|
374
|
-
return Promise.resolve();
|
|
375
|
-
}
|
|
376
|
-
return init;
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
const INIT_SERVICE_PROVIDER = {
|
|
380
|
-
provide: APP_INITIALIZER,
|
|
381
|
-
useFactory: initServices,
|
|
382
|
-
deps: [AbpNavbarService, AbpToolbarService, AbpSettingsService],
|
|
383
|
-
multi: true,
|
|
384
|
-
};
|
|
385
|
-
function initServices(navbar, abpToolbar, setting) {
|
|
386
|
-
function init() {
|
|
387
|
-
abpToolbar.listenNavItems();
|
|
388
|
-
setting.setUpListeners();
|
|
389
|
-
navbar.initRoutes();
|
|
390
|
-
}
|
|
391
|
-
return init;
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
const LPX_TRANSLATE_PROVIDER = {
|
|
395
|
-
provide: LPX_TRANSLATE_SERVICE_TOKEN,
|
|
396
|
-
useClass: AbpTranslateService,
|
|
397
|
-
};
|
|
398
|
-
const translateKeys = {
|
|
399
|
-
[LanguageTranslateKeys.SettingsTitle]: 'LeptonX::Language',
|
|
400
|
-
[ThemeTranslateKeys.AppearanceTitle]: 'LeptonX::Appearance',
|
|
401
|
-
[ThemeTranslateKeys.DarkMode]: 'LeptonX::Theme:dark',
|
|
402
|
-
[ThemeTranslateKeys.LightMode]: 'LeptonX::Theme:light',
|
|
403
|
-
[ThemeTranslateKeys.SemiDarkMode]: 'LeptonX::Theme:dim',
|
|
404
|
-
[ThemeTranslateKeys.System]: 'LeptonX::Theme:system',
|
|
405
|
-
};
|
|
406
|
-
const LPX_TRANSLATE_KEYS_PROVIDER = {
|
|
407
|
-
provide: LPX_TRANSLATE_KEY_MAP_TOKEN,
|
|
408
|
-
multi: true,
|
|
409
|
-
useValue: translateKeys,
|
|
410
|
-
};
|
|
411
|
-
|
|
412
|
-
const LEPTON_X_USER_MENU_PROVIDERS = [
|
|
413
|
-
{
|
|
414
|
-
provide: APP_INITIALIZER,
|
|
415
|
-
useFactory: configureUserMenu,
|
|
416
|
-
deps: [Injector],
|
|
417
|
-
multi: true,
|
|
418
|
-
},
|
|
419
|
-
];
|
|
420
|
-
function configureUserMenu(injector) {
|
|
421
|
-
const userMenu = injector.get(UserMenuService);
|
|
422
|
-
const authService = injector.get(AuthService);
|
|
423
|
-
const navigateToManageProfile = injector.get(NAVIGATE_TO_MANAGE_PROFILE);
|
|
424
|
-
const navigateToMySecurityLogs = injector.get(NAVIGATE_TO_MY_SECURITY_LOGS);
|
|
425
|
-
const configStateService = injector.get(ConfigStateService);
|
|
426
|
-
const impersonateService = injector.get(ImpersonationService);
|
|
427
|
-
const openMyLinkUsersModal = injector.get(OPEN_MY_LINK_USERS_MODAL, null);
|
|
428
|
-
const openAuthorityDelegationModal = injector.get(OPEN_AUTHORITY_DELEGATION_MODAL, null);
|
|
429
|
-
return () => {
|
|
430
|
-
userMenu.addItems([
|
|
431
|
-
{
|
|
432
|
-
id: eUserMenuItems.LinkedAccounts,
|
|
433
|
-
order: 100,
|
|
434
|
-
textTemplate: {
|
|
435
|
-
icon: 'bi bi-link',
|
|
436
|
-
text: 'AbpAccount::LinkedAccounts',
|
|
437
|
-
},
|
|
438
|
-
action: () => openMyLinkUsersModal(),
|
|
439
|
-
visible: () => !!openMyLinkUsersModal,
|
|
440
|
-
},
|
|
441
|
-
{
|
|
442
|
-
id: eUserMenuItems.AuthorityDelegation,
|
|
443
|
-
order: 100,
|
|
444
|
-
textTemplate: {
|
|
445
|
-
text: 'AbpAccount::AuthorityDelegation',
|
|
446
|
-
icon: 'fa fa-users',
|
|
447
|
-
},
|
|
448
|
-
action: () => openAuthorityDelegationModal(),
|
|
449
|
-
},
|
|
450
|
-
{
|
|
451
|
-
id: eUserMenuItems.MyAccount,
|
|
452
|
-
order: 100,
|
|
453
|
-
textTemplate: {
|
|
454
|
-
icon: 'bi bi-sliders',
|
|
455
|
-
text: 'AbpAccount::MyAccount',
|
|
456
|
-
},
|
|
457
|
-
action: () => navigateToManageProfile(),
|
|
458
|
-
},
|
|
459
|
-
{
|
|
460
|
-
id: eUserMenuItems.SecurityLogs,
|
|
461
|
-
order: 100,
|
|
462
|
-
textTemplate: {
|
|
463
|
-
icon: 'bi bi-list-ul',
|
|
464
|
-
text: 'AbpAccount::MySecurityLogs',
|
|
465
|
-
},
|
|
466
|
-
action: () => navigateToMySecurityLogs(),
|
|
467
|
-
},
|
|
468
|
-
{
|
|
469
|
-
id: eUserMenuItems.Logout,
|
|
470
|
-
order: 102,
|
|
471
|
-
textTemplate: {
|
|
472
|
-
icon: 'bi bi-box-arrow-right',
|
|
473
|
-
text: 'AbpUi::Logout',
|
|
474
|
-
},
|
|
475
|
-
action: () => {
|
|
476
|
-
authService.logout().subscribe();
|
|
477
|
-
},
|
|
478
|
-
},
|
|
479
|
-
{
|
|
480
|
-
id: eUserMenuItems.BackToImpersonator,
|
|
481
|
-
order: 101,
|
|
482
|
-
textTemplate: {
|
|
483
|
-
text: 'AbpAccount::BackToImpersonator',
|
|
484
|
-
icon: 'fa fa-arrow-left',
|
|
485
|
-
},
|
|
486
|
-
visible: () => {
|
|
487
|
-
const { currentUser: { impersonatorUserId: userId }, } = configStateService.getAll();
|
|
488
|
-
return !!userId;
|
|
489
|
-
},
|
|
490
|
-
action: () => impersonateService.impersonate({}).subscribe(),
|
|
491
|
-
},
|
|
492
|
-
]);
|
|
493
|
-
};
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
class ThemeLeptonXModule {
|
|
497
|
-
static forRoot(options) {
|
|
498
|
-
return {
|
|
499
|
-
ngModule: ThemeLeptonXModule,
|
|
500
|
-
providers: [
|
|
501
|
-
LPX_STYLE_PROVIDER,
|
|
502
|
-
PROFILE_PICTURE_PROVIDERS,
|
|
503
|
-
LEPTON_X_USER_MENU_PROVIDERS,
|
|
504
|
-
INIT_SERVICE_PROVIDER,
|
|
505
|
-
AbpValidationErrorModule.forRoot().providers,
|
|
506
|
-
// TODO: muhammed: Create an injection token for theme settings
|
|
507
|
-
LpxModule.forRoot(Object.assign({}, createLpxModuleOptions(options))).providers,
|
|
508
|
-
LPX_TRANSLATE_KEYS_PROVIDER,
|
|
509
|
-
LPX_TRANSLATE_PROVIDER,
|
|
510
|
-
LeptonXAbpCoreModule.forRoot().providers,
|
|
511
|
-
],
|
|
512
|
-
};
|
|
513
|
-
}
|
|
514
|
-
}
|
|
515
|
-
ThemeLeptonXModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ThemeLeptonXModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
516
|
-
ThemeLeptonXModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: ThemeLeptonXModule, imports: [HttpErrorModule], exports: [HttpErrorModule] });
|
|
517
|
-
ThemeLeptonXModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ThemeLeptonXModule, imports: [HttpErrorModule, HttpErrorModule] });
|
|
518
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ThemeLeptonXModule, decorators: [{
|
|
519
|
-
type: NgModule,
|
|
520
|
-
args: [{
|
|
521
|
-
imports: [HttpErrorModule],
|
|
522
|
-
exports: [HttpErrorModule],
|
|
523
|
-
}]
|
|
524
|
-
}] });
|
|
525
|
-
function createLpxModuleOptions(options) {
|
|
526
|
-
return Object.assign(Object.assign({}, options), { styleFactory: (styles) => {
|
|
527
|
-
styles.push({
|
|
528
|
-
bundleName: 'abp-bundle',
|
|
529
|
-
});
|
|
530
|
-
if (options === null || options === void 0 ? void 0 : options.styleFactory) {
|
|
531
|
-
return options.styleFactory(styles);
|
|
532
|
-
}
|
|
533
|
-
return styles;
|
|
534
|
-
} });
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
/**
|
|
538
|
-
* Generated bundle index. Do not edit.
|
|
539
|
-
*/
|
|
540
|
-
|
|
541
|
-
export { AbpAuthService, AbpSettingsService, AbpToolbarService, AbpTranslateService, AbpValidationErrorComponent, AbpValidationErrorModule, HttpErrorComponent, HttpErrorModule, LPX_TRANSLATE_KEY_MAP_TOKEN, ThemeLeptonXModule, eUserMenuItems };
|
|
542
|
-
//# sourceMappingURL=volosoft-abp.ng.theme.lepton-x.mjs.map
|