@volosoft/abp.ng.theme.lepton-x 1.0.0-alpha.2 → 1.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/account/account/account-layout.component.d.ts +3 -1
- package/account/account/account-layout.module.d.ts +15 -3
- package/account/account/components/auth-wrapper/auth-wrapper.component.d.ts +4 -4
- package/account/account/components/index.d.ts +0 -1
- package/account/account/components/tenant-box/tenant-box.component.d.ts +3 -1
- package/account/account/index.d.ts +0 -1
- package/account/index.d.ts +1 -0
- package/account/package.json +5 -6
- package/account/volosoft-abp.ng.theme.lepton-x-account.d.ts +2 -2
- package/assets/css/abp-bundle.css +159 -0
- package/esm2020/account/account/account-layout.component.mjs +19 -0
- package/esm2020/account/account/account-layout.module.mjs +73 -0
- package/esm2020/account/account/components/auth-wrapper/auth-wrapper.component.mjs +20 -0
- package/esm2020/account/account/components/index.mjs +3 -0
- package/esm2020/account/account/components/tenant-box/tenant-box.component.mjs +20 -0
- package/esm2020/account/account/index.mjs +4 -0
- package/esm2020/account/index.mjs +2 -0
- package/esm2020/account/volosoft-abp.ng.theme.lepton-x-account.mjs +5 -0
- package/esm2020/index.mjs +2 -0
- package/esm2020/layouts/index.mjs +2 -0
- package/esm2020/layouts/side-menu/index.mjs +2 -0
- package/esm2020/layouts/side-menu/layout/index.mjs +3 -0
- package/esm2020/layouts/side-menu/layout/side-menu-application-layout.component.mjs +21 -0
- package/esm2020/layouts/side-menu/layout/side-menu-layout.module.mjs +50 -0
- package/esm2020/layouts/volosoft-abp.ng.theme.lepton-x-layouts.mjs +5 -0
- package/esm2020/lib/components/abp-validation-error/abp-validation-error.component.mjs +51 -0
- package/esm2020/lib/components/abp-validation-error/abp-validation-error.module.mjs +39 -0
- package/esm2020/lib/components/abp-validation-error/index.mjs +3 -0
- package/esm2020/lib/components/http-error/http-error.component.mjs +44 -0
- package/esm2020/lib/components/http-error/http-error.module.mjs +25 -0
- package/esm2020/lib/components/http-error/index.mjs +3 -0
- package/esm2020/lib/components/index.mjs +4 -0
- package/esm2020/lib/components/page-alert-container/index.mjs +3 -0
- package/esm2020/lib/components/page-alert-container/page-alert-container.component.mjs +18 -0
- package/esm2020/lib/components/page-alert-container/page-alert-container.module.mjs +19 -0
- package/esm2020/lib/enums/components.mjs +2 -0
- package/esm2020/lib/enums/index.mjs +2 -0
- package/esm2020/lib/index.mjs +5 -0
- package/esm2020/lib/lepton-x.module.mjs +56 -0
- package/esm2020/lib/providers/init-service.provider.mjs +19 -0
- package/esm2020/lib/providers/page-render.provider.mjs +7 -0
- package/esm2020/lib/providers/style.provider.mjs +18 -0
- package/esm2020/lib/providers/translate.provider.mjs +7 -0
- package/esm2020/lib/services/abp-auth.service.mjs +23 -0
- package/esm2020/lib/services/abp-settings.service.mjs +136 -0
- package/esm2020/lib/services/abp-toolbar.service.mjs +32 -0
- package/esm2020/lib/services/abp-translate.service.mjs +24 -0
- package/esm2020/lib/services/index.mjs +6 -0
- package/esm2020/lib/services/page-render-strategy.service.mjs +14 -0
- package/esm2020/styles/index.mjs +2 -0
- package/esm2020/styles/lib/handler/index.mjs +2 -0
- package/esm2020/styles/lib/handler/style-load.handler.mjs +17 -0
- package/esm2020/styles/lib/index.mjs +2 -0
- package/esm2020/styles/volosoft-abp.ng.theme.lepton-x-styles.mjs +5 -0
- package/esm2020/volosoft-abp.ng.theme.lepton-x.mjs +5 -0
- package/fesm2015/volosoft-abp.ng.theme.lepton-x-account.mjs +123 -0
- package/fesm2015/volosoft-abp.ng.theme.lepton-x-account.mjs.map +1 -0
- package/fesm2015/volosoft-abp.ng.theme.lepton-x-layouts.mjs +75 -0
- package/fesm2015/volosoft-abp.ng.theme.lepton-x-layouts.mjs.map +1 -0
- package/fesm2015/volosoft-abp.ng.theme.lepton-x-styles.mjs +23 -0
- package/fesm2015/volosoft-abp.ng.theme.lepton-x-styles.mjs.map +1 -0
- package/fesm2015/volosoft-abp.ng.theme.lepton-x.mjs +469 -0
- package/fesm2015/volosoft-abp.ng.theme.lepton-x.mjs.map +1 -0
- package/fesm2020/volosoft-abp.ng.theme.lepton-x-account.mjs +123 -0
- package/fesm2020/volosoft-abp.ng.theme.lepton-x-account.mjs.map +1 -0
- package/fesm2020/volosoft-abp.ng.theme.lepton-x-layouts.mjs +75 -0
- package/fesm2020/volosoft-abp.ng.theme.lepton-x-layouts.mjs.map +1 -0
- package/fesm2020/volosoft-abp.ng.theme.lepton-x-styles.mjs +23 -0
- package/fesm2020/volosoft-abp.ng.theme.lepton-x-styles.mjs.map +1 -0
- package/fesm2020/volosoft-abp.ng.theme.lepton-x.mjs +476 -0
- package/fesm2020/volosoft-abp.ng.theme.lepton-x.mjs.map +1 -0
- package/index.d.ts +1 -0
- package/layouts/index.d.ts +1 -0
- package/layouts/package.json +5 -6
- package/layouts/side-menu/index.d.ts +0 -1
- package/layouts/side-menu/layout/index.d.ts +0 -1
- package/layouts/side-menu/layout/side-menu-application-layout.component.d.ts +9 -10
- package/layouts/side-menu/layout/side-menu-layout.module.d.ts +10 -3
- package/layouts/volosoft-abp.ng.theme.lepton-x-layouts.d.ts +2 -2
- package/lib/components/abp-validation-error/abp-validation-error.component.d.ts +3 -1
- package/lib/components/abp-validation-error/abp-validation-error.module.d.ts +8 -1
- package/lib/components/abp-validation-error/index.d.ts +0 -1
- package/lib/components/http-error/http-error.component.d.ts +10 -0
- package/lib/components/http-error/http-error.module.d.ts +13 -0
- package/lib/components/http-error/index.d.ts +2 -0
- package/lib/components/index.d.ts +1 -1
- package/lib/components/page-alert-container/index.d.ts +0 -1
- package/lib/components/page-alert-container/page-alert-container.component.d.ts +3 -1
- package/lib/components/page-alert-container/page-alert-container.module.d.ts +7 -1
- package/lib/enums/components.d.ts +1 -2
- package/lib/enums/index.d.ts +0 -1
- package/lib/index.d.ts +0 -1
- package/lib/lepton-x.module.d.ts +9 -10
- package/lib/providers/init-service.provider.d.ts +6 -0
- package/lib/providers/page-render.provider.d.ts +2 -0
- package/lib/providers/style.provider.d.ts +3 -0
- package/lib/providers/translate.provider.d.ts +2 -0
- package/lib/services/abp-auth.service.d.ts +12 -0
- package/lib/services/abp-settings.service.d.ts +9 -3
- package/lib/services/abp-toolbar.service.d.ts +3 -1
- package/lib/services/abp-translate.service.d.ts +12 -0
- package/lib/services/index.d.ts +2 -2
- package/lib/services/page-render-strategy.service.d.ts +3 -2
- package/package.json +68 -16
- package/styles/index.d.ts +1 -0
- package/styles/lib/handler/index.d.ts +1 -0
- package/styles/lib/handler/style-load.handler.d.ts +3 -0
- package/styles/lib/index.d.ts +1 -0
- package/styles/package.json +10 -0
- package/styles/volosoft-abp.ng.theme.lepton-x-styles.d.ts +5 -0
- package/volosoft-abp.ng.theme.lepton-x.d.ts +2 -2
- package/account/account/account-layout.component.d.ts.map +0 -1
- package/account/account/account-layout.module.d.ts.map +0 -1
- package/account/account/components/auth-wrapper/auth-wrapper.component.d.ts.map +0 -1
- package/account/account/components/index.d.ts.map +0 -1
- package/account/account/components/tenant-box/tenant-box.component.d.ts.map +0 -1
- package/account/account/index.d.ts.map +0 -1
- package/account/public-api.d.ts +0 -2
- package/account/public-api.d.ts.map +0 -1
- package/account/volosoft-abp.ng.theme.lepton-x-account.d.ts.map +0 -1
- package/account/volosoft-abp.ng.theme.lepton-x-account.metadata.json +0 -1
- package/bundles/volosoft-abp.ng.theme.lepton-x-account.umd.js +0 -115
- package/bundles/volosoft-abp.ng.theme.lepton-x-account.umd.js.map +0 -1
- package/bundles/volosoft-abp.ng.theme.lepton-x-layouts.umd.js +0 -74
- package/bundles/volosoft-abp.ng.theme.lepton-x-layouts.umd.js.map +0 -1
- package/bundles/volosoft-abp.ng.theme.lepton-x.umd.js +0 -746
- package/bundles/volosoft-abp.ng.theme.lepton-x.umd.js.map +0 -1
- package/esm2015/account/account/account-layout.component.js +0 -13
- package/esm2015/account/account/account-layout.module.js +0 -50
- package/esm2015/account/account/components/auth-wrapper/auth-wrapper.component.js +0 -23
- package/esm2015/account/account/components/index.js +0 -3
- package/esm2015/account/account/components/tenant-box/tenant-box.component.js +0 -18
- package/esm2015/account/account/index.js +0 -4
- package/esm2015/account/public-api.js +0 -2
- package/esm2015/account/volosoft-abp.ng.theme.lepton-x-account.js +0 -5
- package/esm2015/layouts/public-api.js +0 -2
- package/esm2015/layouts/side-menu/index.js +0 -2
- package/esm2015/layouts/side-menu/layout/index.js +0 -3
- package/esm2015/layouts/side-menu/layout/side-menu-application-layout.component.js +0 -19
- package/esm2015/layouts/side-menu/layout/side-menu-layout.module.js +0 -39
- package/esm2015/layouts/volosoft-abp.ng.theme.lepton-x-layouts.js +0 -5
- package/esm2015/lib/components/abp-validation-error/abp-validation-error.component.js +0 -35
- package/esm2015/lib/components/abp-validation-error/abp-validation-error.module.js +0 -34
- package/esm2015/lib/components/abp-validation-error/index.js +0 -3
- package/esm2015/lib/components/index.js +0 -3
- package/esm2015/lib/components/page-alert-container/index.js +0 -3
- package/esm2015/lib/components/page-alert-container/page-alert-container.component.js +0 -17
- package/esm2015/lib/components/page-alert-container/page-alert-container.module.js +0 -14
- package/esm2015/lib/enums/components.js +0 -2
- package/esm2015/lib/enums/index.js +0 -2
- package/esm2015/lib/index.js +0 -5
- package/esm2015/lib/lepton-x.module.js +0 -104
- package/esm2015/lib/services/abp-navbar.service.js +0 -43
- package/esm2015/lib/services/abp-settings.service.js +0 -101
- package/esm2015/lib/services/abp-toolbar.service.js +0 -35
- package/esm2015/lib/services/index.js +0 -5
- package/esm2015/lib/services/page-render-strategy.service.js +0 -13
- package/esm2015/public-api.js +0 -2
- package/esm2015/volosoft-abp.ng.theme.lepton-x.js +0 -5
- package/fesm2015/volosoft-abp.ng.theme.lepton-x-account.js +0 -104
- package/fesm2015/volosoft-abp.ng.theme.lepton-x-account.js.map +0 -1
- package/fesm2015/volosoft-abp.ng.theme.lepton-x-layouts.js +0 -63
- package/fesm2015/volosoft-abp.ng.theme.lepton-x-layouts.js.map +0 -1
- package/fesm2015/volosoft-abp.ng.theme.lepton-x.js +0 -371
- package/fesm2015/volosoft-abp.ng.theme.lepton-x.js.map +0 -1
- package/layouts/public-api.d.ts +0 -2
- package/layouts/public-api.d.ts.map +0 -1
- package/layouts/side-menu/index.d.ts.map +0 -1
- package/layouts/side-menu/layout/index.d.ts.map +0 -1
- package/layouts/side-menu/layout/side-menu-application-layout.component.d.ts.map +0 -1
- package/layouts/side-menu/layout/side-menu-layout.module.d.ts.map +0 -1
- package/layouts/volosoft-abp.ng.theme.lepton-x-layouts.d.ts.map +0 -1
- package/layouts/volosoft-abp.ng.theme.lepton-x-layouts.metadata.json +0 -1
- package/lib/components/abp-validation-error/abp-validation-error.component.d.ts.map +0 -1
- package/lib/components/abp-validation-error/abp-validation-error.module.d.ts.map +0 -1
- package/lib/components/abp-validation-error/index.d.ts.map +0 -1
- package/lib/components/index.d.ts.map +0 -1
- package/lib/components/page-alert-container/index.d.ts.map +0 -1
- package/lib/components/page-alert-container/page-alert-container.component.d.ts.map +0 -1
- package/lib/components/page-alert-container/page-alert-container.module.d.ts.map +0 -1
- package/lib/enums/components.d.ts.map +0 -1
- package/lib/enums/index.d.ts.map +0 -1
- package/lib/index.d.ts.map +0 -1
- package/lib/lepton-x.module.d.ts.map +0 -1
- package/lib/services/abp-navbar.service.d.ts +0 -12
- package/lib/services/abp-navbar.service.d.ts.map +0 -1
- package/lib/services/abp-settings.service.d.ts.map +0 -1
- package/lib/services/abp-toolbar.service.d.ts.map +0 -1
- package/lib/services/index.d.ts.map +0 -1
- package/lib/services/page-render-strategy.service.d.ts.map +0 -1
- package/public-api.d.ts +0 -2
- package/public-api.d.ts.map +0 -1
- package/styles/ant-tree/_index.scss +0 -16
- package/styles/index.scss +0 -5
- package/styles/legacy-compatible/_index.scss +0 -15
- package/styles/ngx-datatable/_index.scss +0 -41
- package/styles/uppy/_index.scss +0 -23
- package/volosoft-abp.ng.theme.lepton-x.d.ts.map +0 -1
- package/volosoft-abp.ng.theme.lepton-x.metadata.json +0 -1
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { ToolbarService } from '@volosoft/ngx-lepton-x/layouts';
|
|
3
|
+
import { NavItemsService } from '@abp/ng.theme.shared';
|
|
4
|
+
import { switchMap } from 'rxjs/operators';
|
|
5
|
+
import { PermissionService } from '@abp/ng.core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "@volosoft/ngx-lepton-x/layouts";
|
|
8
|
+
import * as i2 from "@abp/ng.theme.shared";
|
|
9
|
+
import * as i3 from "@abp/ng.core";
|
|
10
|
+
export class AbpToolbarService {
|
|
11
|
+
constructor(toolbar, navItems, permissionService) {
|
|
12
|
+
this.toolbar = toolbar;
|
|
13
|
+
this.navItems = navItems;
|
|
14
|
+
this.permissionService = permissionService;
|
|
15
|
+
}
|
|
16
|
+
listenNavItems() {
|
|
17
|
+
this.navItems.items$
|
|
18
|
+
.pipe(switchMap((items) => this.permissionService.filterItemsByPolicy$(items)))
|
|
19
|
+
.subscribe((items) => {
|
|
20
|
+
this.toolbar.setItems(items);
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
AbpToolbarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AbpToolbarService, deps: [{ token: i1.ToolbarService }, { token: i2.NavItemsService }, { token: i3.PermissionService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
25
|
+
AbpToolbarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AbpToolbarService, providedIn: 'root' });
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AbpToolbarService, decorators: [{
|
|
27
|
+
type: Injectable,
|
|
28
|
+
args: [{
|
|
29
|
+
providedIn: 'root',
|
|
30
|
+
}]
|
|
31
|
+
}], ctorParameters: function () { return [{ type: i1.ToolbarService }, { type: i2.NavItemsService }, { type: i3.PermissionService }]; } });
|
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJwLXRvb2xiYXIuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvdm9sby1sZXB0b24teC9zcmMvbGliL3NlcnZpY2VzL2FicC10b29sYmFyLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEVBQWUsY0FBYyxFQUFFLE1BQU0sZ0NBQWdDLENBQUM7QUFDN0UsT0FBTyxFQUFXLGVBQWUsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ2hFLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUMzQyxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxjQUFjLENBQUM7Ozs7O0FBS2pELE1BQU0sT0FBTyxpQkFBaUI7SUFDNUIsWUFDVSxPQUF1QixFQUN2QixRQUF5QixFQUN6QixpQkFBb0M7UUFGcEMsWUFBTyxHQUFQLE9BQU8sQ0FBZ0I7UUFDdkIsYUFBUSxHQUFSLFFBQVEsQ0FBaUI7UUFDekIsc0JBQWlCLEdBQWpCLGlCQUFpQixDQUFtQjtJQUMzQyxDQUFDO0lBRUosY0FBYztRQUNaLElBQUksQ0FBQyxRQUFRLENBQUMsTUFBTTthQUNqQixJQUFJLENBQ0gsU0FBUyxDQUFDLENBQUMsS0FBZ0IsRUFBRSxFQUFFLENBQzdCLElBQUksQ0FBQyxpQkFBaUIsQ0FBQyxvQkFBb0IsQ0FBQyxLQUFLLENBQUMsQ0FDbkQsQ0FDRjthQUNBLFNBQVMsQ0FBQyxDQUFDLEtBQUssRUFBRSxFQUFFO1lBQ25CLElBQUksQ0FBQyxPQUFPLENBQUMsUUFBUSxDQUFDLEtBQXNCLENBQUMsQ0FBQztRQUNoRCxDQUFDLENBQUMsQ0FBQztJQUNQLENBQUM7OzhHQWpCVSxpQkFBaUI7a0hBQWpCLGlCQUFpQixjQUZoQixNQUFNOzJGQUVQLGlCQUFpQjtrQkFIN0IsVUFBVTttQkFBQztvQkFDVixVQUFVLEVBQUUsTUFBTTtpQkFDbkIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3RhYmxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcbmltcG9ydCB7IFRvb2xiYXJJdGVtLCBUb29sYmFyU2VydmljZSB9IGZyb20gJ0B2b2xvc29mdC9uZ3gtbGVwdG9uLXgvbGF5b3V0cyc7XHJcbmltcG9ydCB7IE5hdkl0ZW0sIE5hdkl0ZW1zU2VydmljZSB9IGZyb20gJ0BhYnAvbmcudGhlbWUuc2hhcmVkJztcclxuaW1wb3J0IHsgc3dpdGNoTWFwIH0gZnJvbSAncnhqcy9vcGVyYXRvcnMnO1xyXG5pbXBvcnQgeyBQZXJtaXNzaW9uU2VydmljZSB9IGZyb20gJ0BhYnAvbmcuY29yZSc7XHJcblxyXG5ASW5qZWN0YWJsZSh7XHJcbiAgcHJvdmlkZWRJbjogJ3Jvb3QnLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgQWJwVG9vbGJhclNlcnZpY2Uge1xyXG4gIGNvbnN0cnVjdG9yKFxyXG4gICAgcHJpdmF0ZSB0b29sYmFyOiBUb29sYmFyU2VydmljZSxcclxuICAgIHByaXZhdGUgbmF2SXRlbXM6IE5hdkl0ZW1zU2VydmljZSxcclxuICAgIHByaXZhdGUgcGVybWlzc2lvblNlcnZpY2U6IFBlcm1pc3Npb25TZXJ2aWNlXHJcbiAgKSB7fVxyXG5cclxuICBsaXN0ZW5OYXZJdGVtcygpIHtcclxuICAgIHRoaXMubmF2SXRlbXMuaXRlbXMkXHJcbiAgICAgIC5waXBlKFxyXG4gICAgICAgIHN3aXRjaE1hcCgoaXRlbXM6IE5hdkl0ZW1bXSkgPT5cclxuICAgICAgICAgIHRoaXMucGVybWlzc2lvblNlcnZpY2UuZmlsdGVySXRlbXNCeVBvbGljeSQoaXRlbXMpXHJcbiAgICAgICAgKVxyXG4gICAgICApXHJcbiAgICAgIC5zdWJzY3JpYmUoKGl0ZW1zKSA9PiB7XHJcbiAgICAgICAgdGhpcy50b29sYmFyLnNldEl0ZW1zKGl0ZW1zIGFzIFRvb2xiYXJJdGVtW10pO1xyXG4gICAgICB9KTtcclxuICB9XHJcbn1cclxuIl19
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { LocalizationService } from '@abp/ng.core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@abp/ng.core";
|
|
5
|
+
export class AbpTranslateService {
|
|
6
|
+
constructor(localization) {
|
|
7
|
+
this.localization = localization;
|
|
8
|
+
}
|
|
9
|
+
get(key, defaultValue) {
|
|
10
|
+
return this.localization.instant({
|
|
11
|
+
key: `ThemeLeptonX::${key}`,
|
|
12
|
+
defaultValue,
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
get$(key, defaultValue) {
|
|
16
|
+
return this.localization.get({ key: `ThemeLeptonX::${key}`, defaultValue });
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
AbpTranslateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AbpTranslateService, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
20
|
+
AbpTranslateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AbpTranslateService });
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AbpTranslateService, decorators: [{
|
|
22
|
+
type: Injectable
|
|
23
|
+
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJwLXRyYW5zbGF0ZS5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy92b2xvLWxlcHRvbi14L3NyYy9saWIvc2VydmljZXMvYWJwLXRyYW5zbGF0ZS5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sY0FBYyxDQUFDOzs7QUFLbkQsTUFBTSxPQUFPLG1CQUFtQjtJQUM5QixZQUFvQixZQUFpQztRQUFqQyxpQkFBWSxHQUFaLFlBQVksQ0FBcUI7SUFBRyxDQUFDO0lBRXpELEdBQUcsQ0FBQyxHQUFXLEVBQUUsWUFBZ0M7UUFDL0MsT0FBTyxJQUFJLENBQUMsWUFBWSxDQUFDLE9BQU8sQ0FBQztZQUMvQixHQUFHLEVBQUUsaUJBQWlCLEdBQUcsRUFBRTtZQUMzQixZQUFZO1NBQ2IsQ0FBQyxDQUFDO0lBQ0wsQ0FBQztJQUVELElBQUksQ0FBQyxHQUFXLEVBQUUsWUFBZ0M7UUFDaEQsT0FBTyxJQUFJLENBQUMsWUFBWSxDQUFDLEdBQUcsQ0FBQyxFQUFFLEdBQUcsRUFBRSxpQkFBaUIsR0FBRyxFQUFFLEVBQUUsWUFBWSxFQUFFLENBQUMsQ0FBQztJQUM5RSxDQUFDOztnSEFaVSxtQkFBbUI7b0hBQW5CLG1CQUFtQjsyRkFBbkIsbUJBQW1CO2tCQUQvQixVQUFVIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0YWJsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBMb2NhbGl6YXRpb25TZXJ2aWNlIH0gZnJvbSAnQGFicC9uZy5jb3JlJztcclxuaW1wb3J0IHsgVHJhbnNsYXRlU2VydmljZSB9IGZyb20gJ0B2b2xvL25neC1sZXB0b24teC5jb3JlJztcclxuaW1wb3J0IHsgT2JzZXJ2YWJsZSB9IGZyb20gJ3J4anMnO1xyXG5cclxuQEluamVjdGFibGUoKVxyXG5leHBvcnQgY2xhc3MgQWJwVHJhbnNsYXRlU2VydmljZSBpbXBsZW1lbnRzIFRyYW5zbGF0ZVNlcnZpY2Uge1xyXG4gIGNvbnN0cnVjdG9yKHByaXZhdGUgbG9jYWxpemF0aW9uOiBMb2NhbGl6YXRpb25TZXJ2aWNlKSB7fVxyXG5cclxuICBnZXQoa2V5OiBzdHJpbmcsIGRlZmF1bHRWYWx1ZTogc3RyaW5nIHwgdW5kZWZpbmVkKTogc3RyaW5nIHtcclxuICAgIHJldHVybiB0aGlzLmxvY2FsaXphdGlvbi5pbnN0YW50KHtcclxuICAgICAga2V5OiBgVGhlbWVMZXB0b25YOjoke2tleX1gLFxyXG4gICAgICBkZWZhdWx0VmFsdWUsXHJcbiAgICB9KTtcclxuICB9XHJcblxyXG4gIGdldCQoa2V5OiBzdHJpbmcsIGRlZmF1bHRWYWx1ZTogc3RyaW5nIHwgdW5kZWZpbmVkKTogT2JzZXJ2YWJsZTxzdHJpbmc+IHtcclxuICAgIHJldHVybiB0aGlzLmxvY2FsaXphdGlvbi5nZXQoeyBrZXk6IGBUaGVtZUxlcHRvblg6OiR7a2V5fWAsIGRlZmF1bHRWYWx1ZSB9KTtcclxuICB9XHJcbn1cclxuIl19
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './abp-settings.service';
|
|
2
|
+
export * from './abp-toolbar.service';
|
|
3
|
+
export * from './abp-translate.service';
|
|
4
|
+
export * from './page-render-strategy.service';
|
|
5
|
+
export * from './abp-auth.service';
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL3ZvbG8tbGVwdG9uLXgvc3JjL2xpYi9zZXJ2aWNlcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHdCQUF3QixDQUFDO0FBQ3ZDLGNBQWMsdUJBQXVCLENBQUM7QUFDdEMsY0FBYyx5QkFBeUIsQ0FBQztBQUN4QyxjQUFjLGdDQUFnQyxDQUFDO0FBQy9DLGNBQWMsb0JBQW9CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2FicC1zZXR0aW5ncy5zZXJ2aWNlJztcclxuZXhwb3J0ICogZnJvbSAnLi9hYnAtdG9vbGJhci5zZXJ2aWNlJztcclxuZXhwb3J0ICogZnJvbSAnLi9hYnAtdHJhbnNsYXRlLnNlcnZpY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuL3BhZ2UtcmVuZGVyLXN0cmF0ZWd5LnNlcnZpY2UnO1xyXG5leHBvcnQgKiBmcm9tICcuL2FicC1hdXRoLnNlcnZpY2UnO1xyXG4iXX0=
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { PageParts } from '@abp/ng.components/page';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class LeptonXPageRenderService {
|
|
5
|
+
shouldRender(type) {
|
|
6
|
+
return type !== PageParts.breadcrumb;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
LeptonXPageRenderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: LeptonXPageRenderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
10
|
+
LeptonXPageRenderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: LeptonXPageRenderService });
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: LeptonXPageRenderService, decorators: [{
|
|
12
|
+
type: Injectable
|
|
13
|
+
}] });
|
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnZS1yZW5kZXItc3RyYXRlZ3kuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvdm9sby1sZXB0b24teC9zcmMvbGliL3NlcnZpY2VzL3BhZ2UtcmVuZGVyLXN0cmF0ZWd5LnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEVBQUUsU0FBUyxFQUFzQixNQUFNLHlCQUF5QixDQUFDOztBQUd4RSxNQUFNLE9BQU8sd0JBQXdCO0lBQ25DLFlBQVksQ0FBQyxJQUFZO1FBQ3ZCLE9BQU8sSUFBSSxLQUFLLFNBQVMsQ0FBQyxVQUFVLENBQUM7SUFDdkMsQ0FBQzs7cUhBSFUsd0JBQXdCO3lIQUF4Qix3QkFBd0I7MkZBQXhCLHdCQUF3QjtrQkFEcEMsVUFBVSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEluamVjdGFibGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuaW1wb3J0IHsgUGFnZVBhcnRzLCBQYWdlUmVuZGVyU3RyYXRlZ3kgfSBmcm9tICdAYWJwL25nLmNvbXBvbmVudHMvcGFnZSc7XHJcblxyXG5ASW5qZWN0YWJsZSgpXHJcbmV4cG9ydCBjbGFzcyBMZXB0b25YUGFnZVJlbmRlclNlcnZpY2UgaW1wbGVtZW50cyBQYWdlUmVuZGVyU3RyYXRlZ3kge1xyXG4gIHNob3VsZFJlbmRlcih0eXBlOiBzdHJpbmcpIHtcclxuICAgIHJldHVybiB0eXBlICE9PSBQYWdlUGFydHMuYnJlYWRjcnVtYjtcclxuICB9XHJcbn1cclxuIl19
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './lib';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL3ZvbG8tbGVwdG9uLXgvc3R5bGVzL3NyYy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLE9BQU8sQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbGliJztcclxuIl19
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './style-load.handler';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3ZvbG8tbGVwdG9uLXgvc3R5bGVzL3NyYy9saWIvaGFuZGxlci9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHNCQUFzQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9zdHlsZS1sb2FkLmhhbmRsZXInO1xyXG4iXX0=
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export function themeLeptonXStyleLoader(style) {
|
|
2
|
+
return new Promise((resolve, reject) => {
|
|
3
|
+
import(
|
|
4
|
+
/*
|
|
5
|
+
webpackMode: "lazy",
|
|
6
|
+
webpackChunkName: "[request]"
|
|
7
|
+
*/
|
|
8
|
+
`@volosoft/abp.ng.theme.lepton-x/assets/css/${style}.css`)
|
|
9
|
+
.then((val) => {
|
|
10
|
+
resolve(val);
|
|
11
|
+
})
|
|
12
|
+
.catch((err) => {
|
|
13
|
+
reject(err);
|
|
14
|
+
});
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3R5bGUtbG9hZC5oYW5kbGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy92b2xvLWxlcHRvbi14L3N0eWxlcy9zcmMvbGliL2hhbmRsZXIvc3R5bGUtbG9hZC5oYW5kbGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sVUFBVSx1QkFBdUIsQ0FBQyxLQUFhO0lBQ25ELE9BQU8sSUFBSSxPQUFPLENBQXNCLENBQUMsT0FBTyxFQUFFLE1BQU0sRUFBRSxFQUFFO1FBQzFELE1BQU07UUFDSjs7O1VBR0U7UUFDRiw4Q0FBOEMsS0FBSyxNQUFNLENBQzFEO2FBQ0UsSUFBSSxDQUFDLENBQUMsR0FBRyxFQUFFLEVBQUU7WUFDWixPQUFPLENBQUMsR0FBRyxDQUFDLENBQUM7UUFDZixDQUFDLENBQUM7YUFDRCxLQUFLLENBQUMsQ0FBQyxHQUFHLEVBQUUsRUFBRTtZQUNiLE1BQU0sQ0FBQyxHQUFHLENBQUMsQ0FBQztRQUNkLENBQUMsQ0FBQyxDQUFDO0lBQ1AsQ0FBQyxDQUFDLENBQUM7QUFDTCxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGZ1bmN0aW9uIHRoZW1lTGVwdG9uWFN0eWxlTG9hZGVyKHN0eWxlOiBzdHJpbmcpIHtcclxuICByZXR1cm4gbmV3IFByb21pc2U8eyBkZWZhdWx0OiBzdHJpbmcgfT4oKHJlc29sdmUsIHJlamVjdCkgPT4ge1xyXG4gICAgaW1wb3J0KFxyXG4gICAgICAvKlxyXG4gICAgICB3ZWJwYWNrTW9kZTogXCJsYXp5XCIsXHJcbiAgICAgIHdlYnBhY2tDaHVua05hbWU6IFwiW3JlcXVlc3RdXCJcclxuICAgICAgKi9cclxuICAgICAgYEB2b2xvc29mdC9hYnAubmcudGhlbWUubGVwdG9uLXgvYXNzZXRzL2Nzcy8ke3N0eWxlfS5jc3NgXHJcbiAgICApXHJcbiAgICAgIC50aGVuKCh2YWwpID0+IHtcclxuICAgICAgICByZXNvbHZlKHZhbCk7XHJcbiAgICAgIH0pXHJcbiAgICAgIC5jYXRjaCgoZXJyKSA9PiB7XHJcbiAgICAgICAgcmVqZWN0KGVycik7XHJcbiAgICAgIH0pO1xyXG4gIH0pO1xyXG59XHJcbiJdfQ==
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './handler';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL3ZvbG8tbGVwdG9uLXgvc3R5bGVzL3NyYy9saWIvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxXQUFXLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2hhbmRsZXInO1xyXG4iXX0=
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './index';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidm9sb3NvZnQtYWJwLm5nLnRoZW1lLmxlcHRvbi14LXN0eWxlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvdm9sby1sZXB0b24teC9zdHlsZXMvc3JjL3ZvbG9zb2Z0LWFicC5uZy50aGVtZS5sZXB0b24teC1zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG4iXX0=
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './index';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidm9sb3NvZnQtYWJwLm5nLnRoZW1lLmxlcHRvbi14LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vbGlicy92b2xvLWxlcHRvbi14L3NyYy92b2xvc29mdC1hYnAubmcudGhlbWUubGVwdG9uLXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG4iXX0=
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, APP_INITIALIZER, Injector, NgModule } from '@angular/core';
|
|
3
|
+
import * as i1$1 from '@volosoft/ngx-lepton-x/layouts';
|
|
4
|
+
import { LpxAuthLayoutModule } from '@volosoft/ngx-lepton-x/layouts';
|
|
5
|
+
import * as i2$1 from '@volosoft/abp.ng.theme.lepton-x';
|
|
6
|
+
import { PageAlertContainerModule } from '@volosoft/abp.ng.theme.lepton-x';
|
|
7
|
+
import * as i5 from '@abp/ng.core';
|
|
8
|
+
import { CoreModule, ReplaceableComponentsService } from '@abp/ng.core';
|
|
9
|
+
import * as i2 from '@abp/ng.theme.shared';
|
|
10
|
+
import { ThemeSharedModule } from '@abp/ng.theme.shared';
|
|
11
|
+
import { LpxContextMenuModule } from '@volosoft/ngx-lepton-x';
|
|
12
|
+
import * as i3 from '@ng-bootstrap/ng-bootstrap';
|
|
13
|
+
import { NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';
|
|
14
|
+
import * as i1 from '@volo/abp.ng.account.core';
|
|
15
|
+
import { TenantBoxService, AuthWrapperService } from '@volo/abp.ng.account.core';
|
|
16
|
+
import * as i4 from '@angular/common';
|
|
17
|
+
import * as i4$1 from '@angular/forms';
|
|
18
|
+
import * as i5$1 from '@angular/router';
|
|
19
|
+
|
|
20
|
+
class TenantBoxComponent {
|
|
21
|
+
constructor(service) {
|
|
22
|
+
this.service = service;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
TenantBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: TenantBoxComponent, deps: [{ token: i1.TenantBoxService }], target: i0.ɵɵFactoryTarget.Component });
|
|
26
|
+
TenantBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.2", type: TenantBoxComponent, selector: "abp-tenant-box", providers: [TenantBoxService], ngImport: i0, template: "<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-right 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", components: [{ type: i2.ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { type: i2.ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i4$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i4$1.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i4$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i5.AutofocusDirective, selector: "[autofocus]", inputs: ["autofocus"] }, { type: i4$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2.ModalCloseDirective, selector: "[abpClose]" }], pipes: { "async": i4.AsyncPipe, "abpLocalization": i5.LocalizationPipe } });
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: TenantBoxComponent, decorators: [{
|
|
28
|
+
type: Component,
|
|
29
|
+
args: [{ selector: 'abp-tenant-box', providers: [TenantBoxService], template: "<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-right 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" }]
|
|
30
|
+
}], ctorParameters: function () { return [{ type: i1.TenantBoxService }]; } });
|
|
31
|
+
|
|
32
|
+
class AuthWrapperComponent {
|
|
33
|
+
constructor(service) {
|
|
34
|
+
this.service = service;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
AuthWrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AuthWrapperComponent, deps: [{ token: i1.AuthWrapperService }], target: i0.ɵɵFactoryTarget.Component });
|
|
38
|
+
AuthWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.2", type: AuthWrapperComponent, selector: "abp-auth-wrapper", providers: [AuthWrapperService], ngImport: i0, template: "<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", components: [{ type: TenantBoxComponent, selector: "abp-tenant-box" }], directives: [{ type: i3.NgbDropdown, selector: "[ngbDropdown]", inputs: ["autoClose", "dropdownClass", "open", "placement", "container", "display"], outputs: ["openChange"], exportAs: ["ngbDropdown"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.NgbDropdownToggle, selector: "[ngbDropdownToggle]" }, { type: i3.NgbDropdownMenu, selector: "[ngbDropdownMenu]" }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i5.ReplaceableTemplateDirective, selector: "[abpReplaceableTemplate]", inputs: ["abpReplaceableTemplate"] }], pipes: { "abpLocalization": i5.LocalizationPipe, "async": i4.AsyncPipe } });
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AuthWrapperComponent, decorators: [{
|
|
40
|
+
type: Component,
|
|
41
|
+
args: [{ selector: 'abp-auth-wrapper', providers: [AuthWrapperService], template: "<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" }]
|
|
42
|
+
}], ctorParameters: function () { return [{ type: i1.AuthWrapperService }]; } });
|
|
43
|
+
|
|
44
|
+
class AccountLayoutComponent {
|
|
45
|
+
constructor() {
|
|
46
|
+
this.authWrapperKey = 'Account.AuthWrapper';
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
AccountLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AccountLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
50
|
+
AccountLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.2", type: AccountLayoutComponent, selector: "abp-account-layout", ngImport: i0, template: "<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", components: [{ type: i1$1.AuthLayoutComponent, selector: "lpx-auth-layout" }, { type: i2$1.PageAlertContainerComponent, selector: "abp-page-alert-container" }, { type: AuthWrapperComponent, selector: "abp-auth-wrapper" }], directives: [{ type: i5.ReplaceableTemplateDirective, selector: "[abpReplaceableTemplate]", inputs: ["abpReplaceableTemplate"] }, { type: i5$1.RouterOutlet, selector: "router-outlet", outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }] });
|
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AccountLayoutComponent, decorators: [{
|
|
52
|
+
type: Component,
|
|
53
|
+
args: [{ selector: 'abp-account-layout', template: "<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" }]
|
|
54
|
+
}] });
|
|
55
|
+
|
|
56
|
+
class AccountLayoutModule {
|
|
57
|
+
static forRoot(options) {
|
|
58
|
+
return {
|
|
59
|
+
ngModule: AccountLayoutModule,
|
|
60
|
+
providers: [
|
|
61
|
+
{
|
|
62
|
+
provide: APP_INITIALIZER,
|
|
63
|
+
useFactory: initAccountLayout,
|
|
64
|
+
deps: [Injector],
|
|
65
|
+
multi: true,
|
|
66
|
+
},
|
|
67
|
+
LpxAuthLayoutModule.forRoot(options === null || options === void 0 ? void 0 : options.layout).providers,
|
|
68
|
+
],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
AccountLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AccountLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
73
|
+
AccountLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AccountLayoutModule, declarations: [AuthWrapperComponent,
|
|
74
|
+
TenantBoxComponent,
|
|
75
|
+
AccountLayoutComponent], imports: [LpxAuthLayoutModule,
|
|
76
|
+
LpxContextMenuModule,
|
|
77
|
+
PageAlertContainerModule,
|
|
78
|
+
CoreModule,
|
|
79
|
+
ThemeSharedModule,
|
|
80
|
+
NgbDropdownModule] });
|
|
81
|
+
AccountLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AccountLayoutModule, imports: [[
|
|
82
|
+
LpxAuthLayoutModule,
|
|
83
|
+
LpxContextMenuModule,
|
|
84
|
+
PageAlertContainerModule,
|
|
85
|
+
CoreModule,
|
|
86
|
+
ThemeSharedModule,
|
|
87
|
+
NgbDropdownModule,
|
|
88
|
+
]] });
|
|
89
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: AccountLayoutModule, decorators: [{
|
|
90
|
+
type: NgModule,
|
|
91
|
+
args: [{
|
|
92
|
+
imports: [
|
|
93
|
+
LpxAuthLayoutModule,
|
|
94
|
+
LpxContextMenuModule,
|
|
95
|
+
PageAlertContainerModule,
|
|
96
|
+
CoreModule,
|
|
97
|
+
ThemeSharedModule,
|
|
98
|
+
NgbDropdownModule,
|
|
99
|
+
],
|
|
100
|
+
declarations: [
|
|
101
|
+
AuthWrapperComponent,
|
|
102
|
+
TenantBoxComponent,
|
|
103
|
+
AccountLayoutComponent,
|
|
104
|
+
],
|
|
105
|
+
}]
|
|
106
|
+
}] });
|
|
107
|
+
function initAccountLayout(injector) {
|
|
108
|
+
function init() {
|
|
109
|
+
const replaceableComponents = injector.get(ReplaceableComponentsService);
|
|
110
|
+
replaceableComponents.add({
|
|
111
|
+
key: "Theme.AccountLayoutComponent" /* AccountLayout */,
|
|
112
|
+
component: AccountLayoutComponent,
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
return init;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Generated bundle index. Do not edit.
|
|
120
|
+
*/
|
|
121
|
+
|
|
122
|
+
export { AccountLayoutComponent, AccountLayoutModule, AuthWrapperComponent, TenantBoxComponent, initAccountLayout };
|
|
123
|
+
//# sourceMappingURL=volosoft-abp.ng.theme.lepton-x-account.mjs.map
|
|
@@ -0,0 +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-right 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":[],"mappings":";;;;;;;;;;;;;;;;;;;MAQa,kBAAkB;IAC7B,YAAmB,OAAyB;QAAzB,YAAO,GAAP,OAAO,CAAkB;KAAI;;+GADrC,kBAAkB;mGAAlB,kBAAkB,yCAFlB,CAAC,gBAAgB,CAAC,0BCN/B,6yEAsEA;2FD9Da,kBAAkB;kBAL9B,SAAS;+BACE,gBAAgB,aAEf,CAAC,gBAAgB,CAAC;;;MEElB,oBAAoB;IAC/B,YAAmB,OAA2B;QAA3B,YAAO,GAAP,OAAO,CAAoB;KAAI;;iHADvC,oBAAoB;qGAApB,oBAAoB,2CAFpB,CAAC,kBAAkB,CAAC,0BCNjC,yzDAyDA;2FDjDa,oBAAoB;kBALhC,SAAS;+BACE,kBAAkB,aAEjB,CAAC,kBAAkB,CAAC;;;MEApB,sBAAsB;IAJnC;QAKE,mBAAc,GAAG,qBAAqB,CAAC;KACxC;;mHAFY,sBAAsB;uGAAtB,sBAAsB,0DCNnC,wRASA;2FDHa,sBAAsB;kBAJlC,SAAS;+BACE,oBAAoB;;;MEuCnB,mBAAmB;IAC9B,OAAO,OAAO,CACZ,OAA8B;QAE9B,OAAO;YACL,QAAQ,EAAE,mBAAmB;YAC7B,SAAS,EAAE;gBACT;oBACE,OAAO,EAAE,eAAe;oBACxB,UAAU,EAAE,iBAAiB;oBAC7B,IAAI,EAAE,CAAC,QAAQ,CAAC;oBAChB,KAAK,EAAE,IAAI;iBACZ;gBACD,mBAAmB,CAAC,OAAO,CAAC,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,CAAC,CAAC,SAAqB;aACnE;SACF,CAAC;KACH;;gHAhBU,mBAAmB;iHAAnB,mBAAmB,iBAL5B,oBAAoB;QACpB,kBAAkB;QAClB,sBAAsB,aAVtB,mBAAmB;QACnB,oBAAoB;QACpB,wBAAwB;QACxB,UAAU;QACV,iBAAiB;QACjB,iBAAiB;iHAQR,mBAAmB,YAdrB;YACP,mBAAmB;YACnB,oBAAoB;YACpB,wBAAwB;YACxB,UAAU;YACV,iBAAiB;YACjB,iBAAiB;SAClB;2FAOU,mBAAmB;kBAf/B,QAAQ;mBAAC;oBACR,OAAO,EAAE;wBACP,mBAAmB;wBACnB,oBAAoB;wBACpB,wBAAwB;wBACxB,UAAU;wBACV,iBAAiB;wBACjB,iBAAiB;qBAClB;oBACD,YAAY,EAAE;wBACZ,oBAAoB;wBACpB,kBAAkB;wBAClB,sBAAsB;qBACvB;iBACF;;SAoBe,iBAAiB,CAAC,QAAkB;IAClD,SAAS,IAAI;QACX,MAAM,qBAAqB,GAAG,QAAQ,CAAC,GAAG,CAAC,4BAA4B,CAAC,CAAC;QACzE,qBAAqB,CAAC,GAAG,CAAC;YACxB,GAAG;YACH,SAAS,EAAE,sBAAsB;SAClC,CAAC,CAAC;KACJ;IACD,OAAO,IAAI,CAAC;AACd;;ACtEA;;;;;;"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, ViewEncapsulation, APP_INITIALIZER, Injector, NgModule } from '@angular/core';
|
|
3
|
+
import * as i1 from '@volosoft/ngx-lepton-x/layouts';
|
|
4
|
+
import { LpxSideMenuLayoutModule } from '@volosoft/ngx-lepton-x/layouts';
|
|
5
|
+
import * as i2 from '@volo/ngx-lepton-x.core';
|
|
6
|
+
import { LPX_AUTH_SERVICE_TOKEN } from '@volo/ngx-lepton-x.core';
|
|
7
|
+
import * as i3 from '@abp/ng.core';
|
|
8
|
+
import { CoreModule, ReplaceableComponentsService } from '@abp/ng.core';
|
|
9
|
+
import * as i4 from '@angular/router';
|
|
10
|
+
import { CommonModule } from '@angular/common';
|
|
11
|
+
import { AbpAuthService } from '@volosoft/abp.ng.theme.lepton-x';
|
|
12
|
+
|
|
13
|
+
class SideMenuApplicationLayoutComponent {
|
|
14
|
+
constructor() {
|
|
15
|
+
this.toolbarKey = "Theme.NavbarComponent" /* Navbar */;
|
|
16
|
+
this.navbarKey = "Theme.Sidebar" /* Sidebar */;
|
|
17
|
+
this.routesKey = "Theme.RoutesComponent" /* Routes */;
|
|
18
|
+
this.toolbarItemsKey = "Theme.NavItemsComponent" /* NavItems */;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
SideMenuApplicationLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: SideMenuApplicationLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
22
|
+
SideMenuApplicationLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.2", 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", components: [{ type: i1.SideMenuLayoutComponent, selector: "lpx-layout" }, { type: i2.NavbarComponent, selector: "lpx-navbar" }, { type: i2.NavbarRoutesComponent, selector: "lpx-navbar-routes", inputs: ["navbarItems", "routerItem"], outputs: ["routeClick"] }, { type: i1.ToolbarContainerComponent, selector: "lpx-toolbar-container" }], directives: [{ type: i1.NavbarPanelDirective, selector: "ng-template[lpx-navbar-panel]" }, { type: i3.ReplaceableTemplateDirective, selector: "[abpReplaceableTemplate]", inputs: ["abpReplaceableTemplate"] }, { type: i2.NavbarRoutesDirective, selector: "[lpx-navbar-routes],[lpxNavbarRoutes]", exportAs: ["lpxNavbarRoutes"] }, { type: i4.RouterOutlet, selector: "router-outlet", outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { type: i1.ToolbarPanelDirective, selector: "ng-template[lpx-toolbar-panel]" }], encapsulation: i0.ViewEncapsulation.None });
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: SideMenuApplicationLayoutComponent, decorators: [{
|
|
24
|
+
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" }]
|
|
26
|
+
}] });
|
|
27
|
+
|
|
28
|
+
class SideMenuLayoutModule {
|
|
29
|
+
static forRoot() {
|
|
30
|
+
return {
|
|
31
|
+
ngModule: SideMenuLayoutModule,
|
|
32
|
+
providers: [
|
|
33
|
+
LpxSideMenuLayoutModule.forRoot().providers,
|
|
34
|
+
{
|
|
35
|
+
provide: APP_INITIALIZER,
|
|
36
|
+
useFactory: initLayouts,
|
|
37
|
+
deps: [Injector],
|
|
38
|
+
multi: true,
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
provide: LPX_AUTH_SERVICE_TOKEN,
|
|
42
|
+
useClass: AbpAuthService,
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
SideMenuLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: SideMenuLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
49
|
+
SideMenuLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: SideMenuLayoutModule, declarations: [SideMenuApplicationLayoutComponent], imports: [CommonModule, CoreModule, LpxSideMenuLayoutModule], exports: [SideMenuApplicationLayoutComponent] });
|
|
50
|
+
SideMenuLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: SideMenuLayoutModule, imports: [[CommonModule, CoreModule, LpxSideMenuLayoutModule]] });
|
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: SideMenuLayoutModule, decorators: [{
|
|
52
|
+
type: NgModule,
|
|
53
|
+
args: [{
|
|
54
|
+
declarations: [SideMenuApplicationLayoutComponent],
|
|
55
|
+
imports: [CommonModule, CoreModule, LpxSideMenuLayoutModule],
|
|
56
|
+
exports: [SideMenuApplicationLayoutComponent],
|
|
57
|
+
}]
|
|
58
|
+
}] });
|
|
59
|
+
function initLayouts(injector) {
|
|
60
|
+
function init() {
|
|
61
|
+
const replaceableComponents = injector.get(ReplaceableComponentsService);
|
|
62
|
+
replaceableComponents.add({
|
|
63
|
+
key: "Theme.ApplicationLayoutComponent" /* ApplicationLayout */,
|
|
64
|
+
component: SideMenuApplicationLayoutComponent,
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
return init;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Generated bundle index. Do not edit.
|
|
72
|
+
*/
|
|
73
|
+
|
|
74
|
+
export { SideMenuApplicationLayoutComponent, SideMenuLayoutModule, initLayouts };
|
|
75
|
+
//# sourceMappingURL=volosoft-abp.ng.theme.lepton-x-layouts.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"volosoft-abp.ng.theme.lepton-x-layouts.mjs","sources":["../../../../libs/volo-lepton-x/layouts/src/side-menu/layout/side-menu-application-layout.component.ts","../../../../libs/volo-lepton-x/layouts/src/side-menu/layout/side-menu-application-layout.component.html","../../../../libs/volo-lepton-x/layouts/src/side-menu/layout/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 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 { eThemeLeptonXComponents } 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 { AbpAuthService } from '@volosoft/abp.ng.theme.lepton-x';\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 ],\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;IAL/C;QAME,eAAU,wCAAkC;QAC5C,cAAS,iCAAmC;QAC5C,cAAS,wCAAkC;QAC3C,oBAAe,4CAAoC;KACpD;;+HALY,kCAAkC;mHAAlC,kCAAkC,8DCR/C,u0BA+BA;2FDvBa,kCAAkC;kBAL9C,SAAS;+BACE,wBAAwB,iBAEnB,iBAAiB,CAAC,IAAI;;;MEe1B,oBAAoB;IAC/B,OAAO,OAAO;QACZ,OAAO;YACL,QAAQ,EAAE,oBAAoB;YAC9B,SAAS,EAAE;gBACT,uBAAuB,CAAC,OAAO,EAAE,CAAC,SAAqB;gBACvD;oBACE,OAAO,EAAE,eAAe;oBACxB,UAAU,EAAE,WAAW;oBACvB,IAAI,EAAE,CAAC,QAAQ,CAAC;oBAChB,KAAK,EAAE,IAAI;iBACZ;gBACD;oBACE,OAAO,EAAE,sBAAsB;oBAC/B,QAAQ,EAAE,cAAc;iBACzB;aACF;SACF,CAAC;KACH;;iHAlBU,oBAAoB;kHAApB,oBAAoB,iBAJhB,kCAAkC,aACvC,YAAY,EAAE,UAAU,EAAE,uBAAuB,aACjD,kCAAkC;kHAEjC,oBAAoB,YAHtB,CAAC,YAAY,EAAE,UAAU,EAAE,uBAAuB,CAAC;2FAGjD,oBAAoB;kBALhC,QAAQ;mBAAC;oBACR,YAAY,EAAE,CAAC,kCAAkC,CAAC;oBAClD,OAAO,EAAE,CAAC,YAAY,EAAE,UAAU,EAAE,uBAAuB,CAAC;oBAC5D,OAAO,EAAE,CAAC,kCAAkC,CAAC;iBAC9C;;SAsBe,WAAW,CAAC,QAAkB;IAC5C,SAAS,IAAI;QACX,MAAM,qBAAqB,GAAG,QAAQ,CAAC,GAAG,CAAC,4BAA4B,CAAC,CAAC;QACzE,qBAAqB,CAAC,GAAG,CAAC;YACxB,GAAG;YACH,SAAS,EAAE,kCAAkC;SAC9C,CAAC,CAAC;KACJ;IACD,OAAO,IAAI,CAAC;AACd;;ACnDA;;;;;;"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
function themeLeptonXStyleLoader(style) {
|
|
2
|
+
return new Promise((resolve, reject) => {
|
|
3
|
+
import(
|
|
4
|
+
/*
|
|
5
|
+
webpackMode: "lazy",
|
|
6
|
+
webpackChunkName: "[request]"
|
|
7
|
+
*/
|
|
8
|
+
`@volosoft/abp.ng.theme.lepton-x/assets/css/${style}.css`)
|
|
9
|
+
.then((val) => {
|
|
10
|
+
resolve(val);
|
|
11
|
+
})
|
|
12
|
+
.catch((err) => {
|
|
13
|
+
reject(err);
|
|
14
|
+
});
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Generated bundle index. Do not edit.
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
export { themeLeptonXStyleLoader };
|
|
23
|
+
//# sourceMappingURL=volosoft-abp.ng.theme.lepton-x-styles.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"volosoft-abp.ng.theme.lepton-x-styles.mjs","sources":["../../../../libs/volo-lepton-x/styles/src/lib/handler/style-load.handler.ts","../../../../libs/volo-lepton-x/styles/src/volosoft-abp.ng.theme.lepton-x-styles.ts"],"sourcesContent":["export function themeLeptonXStyleLoader(style: string) {\r\n return new Promise<{ default: string }>((resolve, reject) => {\r\n import(\r\n /*\r\n webpackMode: \"lazy\",\r\n webpackChunkName: \"[request]\"\r\n */\r\n `@volosoft/abp.ng.theme.lepton-x/assets/css/${style}.css`\r\n )\r\n .then((val) => {\r\n resolve(val);\r\n })\r\n .catch((err) => {\r\n reject(err);\r\n });\r\n });\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"SAAgB,uBAAuB,CAAC,KAAa;IACnD,OAAO,IAAI,OAAO,CAAsB,CAAC,OAAO,EAAE,MAAM;QACtD;;;;;QAKE,8CAA8C,KAAK,MAAM,CAC1D;aACE,IAAI,CAAC,CAAC,GAAG;YACR,OAAO,CAAC,GAAG,CAAC,CAAC;SACd,CAAC;aACD,KAAK,CAAC,CAAC,GAAG;YACT,MAAM,CAAC,GAAG,CAAC,CAAC;SACb,CAAC,CAAC;KACN,CAAC,CAAC;AACL;;AChBA;;;;;;"}
|