@ebuilding/runtime 2.7.3 → 2.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/auth/auth-routing.module.d.ts +7 -0
- package/auth/auth.tokens.d.ts +7 -0
- package/auth/authmodule.d.ts +10 -0
- package/auth/index.d.ts +2 -0
- package/auth/login/login.component.d.ts +48 -0
- package/auth/login-cust/login.component.d.ts +47 -0
- package/core/app-feature-config.service.d.ts +26 -0
- package/core/app-feature.guard.d.ts +3 -0
- package/core/i18n/i18n.service.d.ts +25 -0
- package/core/index.d.ts +7 -0
- package/core/net/default.interceptor.d.ts +2 -0
- package/core/net/helper.d.ts +11 -0
- package/core/net/index.d.ts +2 -0
- package/core/net/refresh-token.d.ts +11 -0
- package/core/runtime-core.tokens.d.ts +18 -0
- package/core/start-default.guard.d.ts +2 -0
- package/core/startup/startup.service.d.ts +24 -0
- package/exception/index.d.ts +2 -0
- package/exception/index.module.d.ts +8 -0
- package/exception/main/index.d.ts +11 -0
- package/fesm2022/auth.mjs +500 -0
- package/fesm2022/auth.mjs.map +1 -0
- package/fesm2022/core.mjs +615 -0
- package/fesm2022/core.mjs.map +1 -0
- package/fesm2022/exception.mjs +52 -0
- package/fesm2022/exception.mjs.map +1 -0
- package/fesm2022/home.mjs +683 -0
- package/fesm2022/home.mjs.map +1 -0
- package/fesm2022/layout.mjs +2393 -0
- package/fesm2022/layout.mjs.map +1 -0
- package/home/box-bench/index.d.ts +23 -0
- package/home/box-custom/index.d.ts +18 -0
- package/home/box-item/index.d.ts +12 -0
- package/home/components/item.app/index.component.d.ts +14 -0
- package/home/components/item.calendar/index.component.d.ts +24 -0
- package/home/components/item.carousel/index.component.d.ts +21 -0
- package/home/components/item.chart/index.component.d.ts +20 -0
- package/home/components/item.notice/index.component.d.ts +17 -0
- package/home/components/item.report/index.component.d.ts +9 -0
- package/home/components/item.single/index.component.d.ts +9 -0
- package/home/components/item.workflow/index.component.d.ts +11 -0
- package/home/home-routing.module.d.ts +7 -0
- package/home/home.module.d.ts +8 -0
- package/home/home.service.d.ts +14 -0
- package/home/home.tokens.d.ts +11 -0
- package/home/index.d.ts +3 -0
- package/home/main/index.component.d.ts +25 -0
- package/layout/admin/index.component.d.ts +18 -0
- package/layout/auth/index.component.d.ts +19 -0
- package/layout/base.service.d.ts +48 -0
- package/layout/basic/basic.component.d.ts +13 -0
- package/layout/basic/widgets/clear-storage.component.d.ts +8 -0
- package/layout/basic/widgets/fullscreen.component.d.ts +8 -0
- package/layout/basic/widgets/i18n.component.d.ts +18 -0
- package/layout/basic/widgets/icon.component.d.ts +8 -0
- package/layout/basic/widgets/notify.component.d.ts +16 -0
- package/layout/basic/widgets/rtl.component.d.ts +8 -0
- package/layout/basic/widgets/search.component.d.ts +23 -0
- package/layout/basic/widgets/task.component.d.ts +8 -0
- package/layout/basic/widgets/user.component.d.ts +11 -0
- package/layout/blank/blank.component.d.ts +5 -0
- package/layout/components/nav-menu/index.d.ts +16 -0
- package/layout/components/nav-user/index.d.ts +54 -0
- package/layout/components/user/user.component.d.ts +57 -0
- package/layout/home/index.component.d.ts +20 -0
- package/layout/index.d.ts +7 -0
- package/layout/manage/index.component.d.ts +27 -0
- package/layout/manage/view.component.d.ts +21 -0
- package/package.json +50 -27
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/router";
|
|
3
|
+
export declare class HomeRoutingModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HomeRoutingModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HomeRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<HomeRoutingModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./home-routing.module";
|
|
3
|
+
import * as i2 from "./main/index.component";
|
|
4
|
+
export declare class HomeModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HomeModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HomeModule, never, [typeof i1.HomeRoutingModule, typeof i2.HomeMainComponent], never>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<HomeModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class HomeCommService {
|
|
3
|
+
benchId: any;
|
|
4
|
+
/**
|
|
5
|
+
* 工作台列表
|
|
6
|
+
*/
|
|
7
|
+
benchList: any[];
|
|
8
|
+
/**
|
|
9
|
+
* 初始化工作台
|
|
10
|
+
*/
|
|
11
|
+
initBenchData(caller?: any, callback?: any): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HomeCommService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<HomeCommService>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { InjectionToken, Type } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
export interface RuntimeHomeFeatureConfig {
|
|
4
|
+
enableWorkflow: boolean;
|
|
5
|
+
}
|
|
6
|
+
export interface RuntimeHomeFeatureConfigLoader {
|
|
7
|
+
load(): Observable<RuntimeHomeFeatureConfig>;
|
|
8
|
+
}
|
|
9
|
+
export type RuntimeHomeCustomComponentMap = Record<string, Type<unknown>>;
|
|
10
|
+
export declare const RUNTIME_HOME_FEATURE_CONFIG: InjectionToken<RuntimeHomeFeatureConfigLoader>;
|
|
11
|
+
export declare const RUNTIME_HOME_CUSTOM_COMPONENTS: InjectionToken<RuntimeHomeCustomComponentMap>;
|
package/home/index.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { OnInit, AfterViewInit } from '@angular/core';
|
|
2
|
+
import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
|
|
3
|
+
import { _HttpClient } from '@delon/theme';
|
|
4
|
+
import { HomeCommService } from '../home.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class HomeMainComponent implements OnInit, AfterViewInit {
|
|
7
|
+
http: _HttpClient;
|
|
8
|
+
private sanitizer;
|
|
9
|
+
homeSrv: HomeCommService;
|
|
10
|
+
loading: boolean;
|
|
11
|
+
data: any[];
|
|
12
|
+
benchConfig: any;
|
|
13
|
+
selectedIndex: number;
|
|
14
|
+
pageType: any;
|
|
15
|
+
pageUrl: SafeResourceUrl;
|
|
16
|
+
pageControl: any;
|
|
17
|
+
constructor(http: _HttpClient, sanitizer: DomSanitizer, homeSrv: HomeCommService);
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
ngAfterViewInit(): void;
|
|
20
|
+
benchChange(e: any): void;
|
|
21
|
+
getPageData(): void;
|
|
22
|
+
getBenchData(): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HomeMainComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HomeMainComponent, "home-main", never, {}, {}, never, never, true, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Router, ActivatedRoute } from '@angular/router';
|
|
2
|
+
import { LayoutDefaultOptions } from '@delon/theme/layout-default';
|
|
3
|
+
import { MenuService, SettingsService, _HttpClient } from '@delon/theme';
|
|
4
|
+
import { ACLService } from '@delon/acl';
|
|
5
|
+
import { LayoutBaseService } from '../base.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class LayoutAdminComponent extends LayoutBaseService {
|
|
8
|
+
router: Router;
|
|
9
|
+
activatedRoute: ActivatedRoute;
|
|
10
|
+
menuService: MenuService;
|
|
11
|
+
settingService: SettingsService;
|
|
12
|
+
http: _HttpClient;
|
|
13
|
+
aclService: ACLService;
|
|
14
|
+
options: LayoutDefaultOptions;
|
|
15
|
+
constructor(router: Router, activatedRoute: ActivatedRoute, menuService: MenuService, settingService: SettingsService, http: _HttpClient, aclService: ACLService);
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutAdminComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutAdminComponent, "layout-admin", never, {}, {}, never, never, true, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ITokenService } from '@delon/auth';
|
|
3
|
+
import { _HttpClient } from '@delon/theme';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class LayoutAuthComponent implements OnInit {
|
|
6
|
+
private http;
|
|
7
|
+
private tokenService;
|
|
8
|
+
copyrightShow: boolean;
|
|
9
|
+
copyrightName: any;
|
|
10
|
+
copyrightICP: any;
|
|
11
|
+
copyrightGAN: any;
|
|
12
|
+
constructor(http: _HttpClient, tokenService: ITokenService);
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
loadPageData(): void;
|
|
15
|
+
open1(): void;
|
|
16
|
+
open2(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutAuthComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutAuthComponent, "layout-auth", never, {}, {}, never, never, true, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { Router } from '@angular/router';
|
|
2
|
+
import { MenuService, SettingsService, User, _HttpClient } from '@delon/theme';
|
|
3
|
+
import { ACLService } from '@delon/acl';
|
|
4
|
+
import { LayoutDefaultOptions } from '@delon/theme/layout-default';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare abstract class LayoutBaseService {
|
|
7
|
+
http: _HttpClient;
|
|
8
|
+
router: Router;
|
|
9
|
+
menuService: MenuService;
|
|
10
|
+
settingService: SettingsService;
|
|
11
|
+
aclService: ACLService;
|
|
12
|
+
loading: boolean;
|
|
13
|
+
visibleMenuData: any[];
|
|
14
|
+
hasMoreItems: boolean;
|
|
15
|
+
moreItems: any[];
|
|
16
|
+
/**
|
|
17
|
+
* layout属性
|
|
18
|
+
*/
|
|
19
|
+
options: LayoutDefaultOptions;
|
|
20
|
+
/**
|
|
21
|
+
* 菜单集合
|
|
22
|
+
*/
|
|
23
|
+
menuData: any[];
|
|
24
|
+
/**
|
|
25
|
+
* 当前用户
|
|
26
|
+
*/
|
|
27
|
+
get user(): User;
|
|
28
|
+
constructor(http: _HttpClient, router: Router, menuService: MenuService, settingService: SettingsService, aclService: ACLService);
|
|
29
|
+
/**
|
|
30
|
+
* 初始化菜单数据
|
|
31
|
+
*/
|
|
32
|
+
initMenuData(): void;
|
|
33
|
+
/**
|
|
34
|
+
* 初始化菜单数据
|
|
35
|
+
*/
|
|
36
|
+
initMenuData2(url: any): void;
|
|
37
|
+
addMenuData(e: any): void;
|
|
38
|
+
menuClick(e: any): void;
|
|
39
|
+
filterMenu(e: any): any;
|
|
40
|
+
/**
|
|
41
|
+
* 判断是否隐藏
|
|
42
|
+
* @param item
|
|
43
|
+
* @returns
|
|
44
|
+
*/
|
|
45
|
+
checkMenuItemHide(item: any): boolean;
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutBaseService, never>;
|
|
47
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LayoutBaseService, never, never, {}, {}, never, never, true, never>;
|
|
48
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { User } from '@delon/theme';
|
|
2
|
+
import { LayoutDefaultOptions } from '@delon/theme/layout-default';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class LayoutBasicComponent {
|
|
5
|
+
private readonly settings;
|
|
6
|
+
private readonly environment;
|
|
7
|
+
options: LayoutDefaultOptions;
|
|
8
|
+
searchToggleStatus: boolean;
|
|
9
|
+
showSettingDrawer: boolean;
|
|
10
|
+
get user(): User;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutBasicComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutBasicComponent, "layout-basic", never, {}, {}, never, never, true, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class HeaderClearStorageComponent {
|
|
3
|
+
private readonly modalSrv;
|
|
4
|
+
private readonly messageSrv;
|
|
5
|
+
_click(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderClearStorageComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderClearStorageComponent, "header-clear-storage", never, {}, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class HeaderFullScreenComponent {
|
|
3
|
+
status: boolean;
|
|
4
|
+
_resize(): void;
|
|
5
|
+
_click(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderFullScreenComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderFullScreenComponent, "header-fullscreen", never, {}, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class HeaderI18nComponent {
|
|
3
|
+
private readonly settings;
|
|
4
|
+
private readonly i18n;
|
|
5
|
+
private readonly doc;
|
|
6
|
+
/** Whether to display language text */
|
|
7
|
+
showLangText: boolean;
|
|
8
|
+
get langs(): Array<{
|
|
9
|
+
code: string;
|
|
10
|
+
text: string;
|
|
11
|
+
abbr: string;
|
|
12
|
+
}>;
|
|
13
|
+
get curLangCode(): string;
|
|
14
|
+
change(lang: string): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderI18nComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderI18nComponent, "header-i18n", never, { "showLangText": { "alias": "showLangText"; "required": false; }; }, {}, never, never, true, never>;
|
|
17
|
+
static ngAcceptInputType_showLangText: unknown;
|
|
18
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class HeaderIconComponent {
|
|
3
|
+
private readonly cdr;
|
|
4
|
+
loading: boolean;
|
|
5
|
+
change(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderIconComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderIconComponent, "header-icon", never, {}, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { NoticeIconSelect, NoticeItem } from '@delon/abc/notice-icon';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class HeaderNotifyComponent {
|
|
4
|
+
private readonly msg;
|
|
5
|
+
private readonly nzI18n;
|
|
6
|
+
private readonly cdr;
|
|
7
|
+
data: NoticeItem[];
|
|
8
|
+
count: number;
|
|
9
|
+
loading: boolean;
|
|
10
|
+
private updateNoticeData;
|
|
11
|
+
loadData(): void;
|
|
12
|
+
clear(type: string): void;
|
|
13
|
+
select(res: NoticeIconSelect): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderNotifyComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderNotifyComponent, "header-notify", never, {}, {}, never, never, true, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { RTLService } from '@delon/theme';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class HeaderRTLComponent {
|
|
4
|
+
readonly rtl: RTLService;
|
|
5
|
+
toggleDirection(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderRTLComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderRTLComponent, "header-rtl", never, {}, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { AfterViewInit, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class HeaderSearchComponent implements AfterViewInit, OnDestroy {
|
|
5
|
+
private readonly el;
|
|
6
|
+
private readonly cdr;
|
|
7
|
+
q: string;
|
|
8
|
+
qIpt: HTMLInputElement | null;
|
|
9
|
+
options: string[];
|
|
10
|
+
search$: BehaviorSubject<string>;
|
|
11
|
+
loading: boolean;
|
|
12
|
+
focus: boolean;
|
|
13
|
+
searchToggled: boolean;
|
|
14
|
+
set toggleChange(value: boolean);
|
|
15
|
+
readonly toggleChangeChange: EventEmitter<boolean>;
|
|
16
|
+
ngAfterViewInit(): void;
|
|
17
|
+
qFocus(): void;
|
|
18
|
+
qBlur(): void;
|
|
19
|
+
search(ev: Event): void;
|
|
20
|
+
ngOnDestroy(): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderSearchComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderSearchComponent, "header-search", never, { "toggleChange": { "alias": "toggleChange"; "required": false; }; }, { "toggleChangeChange": "toggleChangeChange"; }, never, never, true, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class HeaderTaskComponent {
|
|
3
|
+
private readonly cdr;
|
|
4
|
+
loading: boolean;
|
|
5
|
+
change(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderTaskComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderTaskComponent, "header-task", never, {}, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { User } from '@delon/theme';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class HeaderUserComponent {
|
|
4
|
+
private readonly settings;
|
|
5
|
+
private readonly router;
|
|
6
|
+
private readonly tokenService;
|
|
7
|
+
get user(): User;
|
|
8
|
+
logout(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderUserComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderUserComponent, "header-user", never, {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class LayoutBlankComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutBlankComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutBlankComponent, "layout-blank", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { OnInit, OnDestroy, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { MenuService } from '@delon/theme';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class NavMenuComponent implements OnInit, OnDestroy, OnChanges {
|
|
6
|
+
private router;
|
|
7
|
+
menuSrv: MenuService;
|
|
8
|
+
data: any;
|
|
9
|
+
constructor(router: Router, menuSrv: MenuService);
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
12
|
+
ngOnDestroy(): void;
|
|
13
|
+
isSubmenuOpen(item: any): boolean;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavMenuComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavMenuComponent, "nav-menu", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
4
|
+
import { NzModalService } from 'ng-zorro-antd/modal';
|
|
5
|
+
import { NzMessageService } from 'ng-zorro-antd/message';
|
|
6
|
+
import { ITokenService } from '@delon/auth';
|
|
7
|
+
import { SettingsService, User, _HttpClient } from '@delon/theme';
|
|
8
|
+
import { GramGlobalService } from '@ebuilding/base/shared.srv/global.event';
|
|
9
|
+
import { AppFeatureConfigService } from '@ebuilding/runtime/core';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class NavUserComponent implements OnInit, OnDestroy {
|
|
12
|
+
private settings;
|
|
13
|
+
private router;
|
|
14
|
+
http: _HttpClient;
|
|
15
|
+
cdr: ChangeDetectorRef;
|
|
16
|
+
private fb;
|
|
17
|
+
modal: NzModalService;
|
|
18
|
+
msg: NzMessageService;
|
|
19
|
+
private tokenService;
|
|
20
|
+
globalSrv: GramGlobalService;
|
|
21
|
+
private featureConfig;
|
|
22
|
+
/**
|
|
23
|
+
* 头像
|
|
24
|
+
*/
|
|
25
|
+
avatar: any;
|
|
26
|
+
get user(): User;
|
|
27
|
+
subscription: any;
|
|
28
|
+
itemKey: any;
|
|
29
|
+
listEId: any[];
|
|
30
|
+
defaultEName: any;
|
|
31
|
+
setIdIsVisible: boolean;
|
|
32
|
+
setIdIsOkLoading: boolean;
|
|
33
|
+
validateEIdForm: FormGroup;
|
|
34
|
+
nzFooter: any;
|
|
35
|
+
wkCnt: number;
|
|
36
|
+
enableWorkflow: boolean;
|
|
37
|
+
enableMessageCenter: boolean;
|
|
38
|
+
constructor(settings: SettingsService, router: Router, http: _HttpClient, cdr: ChangeDetectorRef, fb: FormBuilder, modal: NzModalService, msg: NzMessageService, tokenService: ITokenService, globalSrv: GramGlobalService, featureConfig: AppFeatureConfigService);
|
|
39
|
+
ngOnInit(): void;
|
|
40
|
+
ngOnDestroy(): void;
|
|
41
|
+
getPageItemKey(): void;
|
|
42
|
+
goToHome(): void;
|
|
43
|
+
goToFlowApply(): void;
|
|
44
|
+
goToFlowWaiting(): void;
|
|
45
|
+
goToAdmin(): void;
|
|
46
|
+
goToMessage(): void;
|
|
47
|
+
goToChangeSetId(): void;
|
|
48
|
+
setIdCancel(): void;
|
|
49
|
+
submitSetIdForm(): void;
|
|
50
|
+
logout(): void;
|
|
51
|
+
getWorkflowCnt(): void;
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavUserComponent, never>;
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavUserComponent, "nav-user", never, {}, {}, never, never, true, never>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { OnInit, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { FormBuilder, FormControl, FormGroup } from '@angular/forms';
|
|
4
|
+
import { NzModalService } from 'ng-zorro-antd/modal';
|
|
5
|
+
import { NzMessageService } from 'ng-zorro-antd/message';
|
|
6
|
+
import { NzFormTooltipIcon } from 'ng-zorro-antd/form';
|
|
7
|
+
import { ITokenService } from '@delon/auth';
|
|
8
|
+
import { SettingsService, User, _HttpClient } from '@delon/theme';
|
|
9
|
+
import { GramGlobalService } from '@ebuilding/base/shared.srv/global.event';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class HeaderUserComponent implements OnInit {
|
|
12
|
+
modalService: NzModalService;
|
|
13
|
+
private settings;
|
|
14
|
+
private router;
|
|
15
|
+
http: _HttpClient;
|
|
16
|
+
modal: NzModalService;
|
|
17
|
+
msg: NzMessageService;
|
|
18
|
+
private fb;
|
|
19
|
+
private tokenService;
|
|
20
|
+
globalSrv: GramGlobalService;
|
|
21
|
+
private cdr;
|
|
22
|
+
get user(): User;
|
|
23
|
+
get customerId(): any;
|
|
24
|
+
avatar: any;
|
|
25
|
+
listEId: any[];
|
|
26
|
+
defaultEName: any;
|
|
27
|
+
setIdIsVisible: boolean;
|
|
28
|
+
setIdIsOkLoading: boolean;
|
|
29
|
+
validateEIdForm: FormGroup;
|
|
30
|
+
myIsVisible: boolean;
|
|
31
|
+
constructor(modalService: NzModalService, settings: SettingsService, router: Router, http: _HttpClient, modal: NzModalService, msg: NzMessageService, fb: FormBuilder, tokenService: ITokenService, globalSrv: GramGlobalService, cdr: ChangeDetectorRef);
|
|
32
|
+
validateForm: FormGroup;
|
|
33
|
+
captchaTooltipIcon: NzFormTooltipIcon;
|
|
34
|
+
submitForm(): void;
|
|
35
|
+
updateConfirmValidator(): void;
|
|
36
|
+
confirmationValidator: (control: FormControl) => {
|
|
37
|
+
[s: string]: boolean;
|
|
38
|
+
};
|
|
39
|
+
getCaptcha(e: MouseEvent): void;
|
|
40
|
+
ngOnInit(): void;
|
|
41
|
+
logout(): void;
|
|
42
|
+
nzFooter: any;
|
|
43
|
+
isVisible: boolean;
|
|
44
|
+
isOkLoading: boolean;
|
|
45
|
+
showModal(): void;
|
|
46
|
+
showAdmin(): void;
|
|
47
|
+
showSettings(): void;
|
|
48
|
+
myCancel(): void;
|
|
49
|
+
setScreenfull(): void;
|
|
50
|
+
handleOk(): void;
|
|
51
|
+
handleCancel(): void;
|
|
52
|
+
goToChangeSetId(): void;
|
|
53
|
+
setIdCancel(): void;
|
|
54
|
+
submitSetIdForm(): void;
|
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderUserComponent, never>;
|
|
56
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderUserComponent, "header-user", never, {}, {}, never, never, true, never>;
|
|
57
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ElementRef, AfterViewInit } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { MenuService, SettingsService, _HttpClient } from '@delon/theme';
|
|
4
|
+
import { ACLService } from '@delon/acl';
|
|
5
|
+
import { LayoutBaseService } from '../base.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class LayoutHomeComponent extends LayoutBaseService implements AfterViewInit {
|
|
8
|
+
http: _HttpClient;
|
|
9
|
+
router: Router;
|
|
10
|
+
menuService: MenuService;
|
|
11
|
+
settingService: SettingsService;
|
|
12
|
+
aclService: ACLService;
|
|
13
|
+
menuContainer: ElementRef;
|
|
14
|
+
constructor(http: _HttpClient, router: Router, menuService: MenuService, settingService: SettingsService, aclService: ACLService);
|
|
15
|
+
ngAfterViewInit(): void;
|
|
16
|
+
updateVisibleMenuData(): void;
|
|
17
|
+
toggleShowAll(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutHomeComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutHomeComponent, "layout-home", never, {}, {}, never, never, true, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './auth/index.component';
|
|
2
|
+
export * from './home/index.component';
|
|
3
|
+
export * from './manage/index.component';
|
|
4
|
+
export * from './manage/view.component';
|
|
5
|
+
export * from './admin/index.component';
|
|
6
|
+
export * from './basic/basic.component';
|
|
7
|
+
export * from './blank/blank.component';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { Router, ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { LayoutDefaultOptions } from '@delon/theme/layout-default';
|
|
4
|
+
import { MenuService, SettingsService, _HttpClient } from '@delon/theme';
|
|
5
|
+
import { ACLService } from '@delon/acl';
|
|
6
|
+
import { LayoutBaseService } from '../base.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class LayoutManageComponent extends LayoutBaseService {
|
|
9
|
+
router: Router;
|
|
10
|
+
activatedRoute: ActivatedRoute;
|
|
11
|
+
menuService: MenuService;
|
|
12
|
+
settingService: SettingsService;
|
|
13
|
+
http: _HttpClient;
|
|
14
|
+
aclService: ACLService;
|
|
15
|
+
menuContainer: ElementRef;
|
|
16
|
+
options: LayoutDefaultOptions;
|
|
17
|
+
navMenuData: any;
|
|
18
|
+
constructor(router: Router, activatedRoute: ActivatedRoute, menuService: MenuService, settingService: SettingsService, http: _HttpClient, aclService: ACLService);
|
|
19
|
+
toggleShowAll(): void;
|
|
20
|
+
ngAfterViewInit(): void;
|
|
21
|
+
updateVisibleMenuData(): void;
|
|
22
|
+
goToHome(): void;
|
|
23
|
+
addMenuData(e: any): void;
|
|
24
|
+
initModuleMenuData(a: any[]): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutManageComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutManageComponent, "layout-manage", never, {}, {}, never, never, true, never>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Router, ActivatedRoute } from '@angular/router';
|
|
2
|
+
import { LayoutDefaultOptions } from '@delon/theme/layout-default';
|
|
3
|
+
import { MenuService, SettingsService, _HttpClient } from '@delon/theme';
|
|
4
|
+
import { ACLService } from '@delon/acl';
|
|
5
|
+
import { LayoutBaseService } from '../base.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class LayoutManageViewComponent extends LayoutBaseService {
|
|
8
|
+
router: Router;
|
|
9
|
+
activatedRoute: ActivatedRoute;
|
|
10
|
+
menuService: MenuService;
|
|
11
|
+
settingService: SettingsService;
|
|
12
|
+
http: _HttpClient;
|
|
13
|
+
aclService: ACLService;
|
|
14
|
+
options: LayoutDefaultOptions;
|
|
15
|
+
constructor(router: Router, activatedRoute: ActivatedRoute, menuService: MenuService, settingService: SettingsService, http: _HttpClient, aclService: ACLService);
|
|
16
|
+
goToHome(): void;
|
|
17
|
+
addMenuData(e: any): void;
|
|
18
|
+
initModuleMenuData(parentInfo: any, e: any[]): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutManageViewComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutManageViewComponent, "layout-manage-view", never, {}, {}, never, never, true, never>;
|
|
21
|
+
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ebuilding/runtime",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.8.0",
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"@ebuilding/base": "2.
|
|
6
|
-
"@ebuilding/abc": "2.
|
|
7
|
-
"@ebuilding/biz-comm": "2.
|
|
8
|
-
"@ebuilding/biz-
|
|
5
|
+
"@ebuilding/base": "2.8.0",
|
|
6
|
+
"@ebuilding/abc": "2.8.0",
|
|
7
|
+
"@ebuilding/biz-comm": "2.8.0",
|
|
8
|
+
"@ebuilding/biz-form": "2.8.0",
|
|
9
|
+
"@ebuilding/biz-list": "2.8.0",
|
|
10
|
+
"@ebuilding/chart": "2.8.0",
|
|
9
11
|
"@ebuilding-form/core": "20.0.0",
|
|
12
|
+
"screenfull": "^6.0.2",
|
|
10
13
|
"tslib": "^2.3.0"
|
|
11
14
|
},
|
|
12
15
|
"module": "fesm2022/ebuilding-runtime.mjs",
|
|
@@ -19,22 +22,42 @@
|
|
|
19
22
|
"types": "./index.d.ts",
|
|
20
23
|
"default": "./fesm2022/ebuilding-runtime.mjs"
|
|
21
24
|
},
|
|
22
|
-
"./
|
|
23
|
-
"types": "./
|
|
24
|
-
"default": "./fesm2022/
|
|
25
|
+
"./auth": {
|
|
26
|
+
"types": "./auth/index.d.ts",
|
|
27
|
+
"default": "./fesm2022/auth.mjs"
|
|
25
28
|
},
|
|
26
29
|
"./dynamic": {
|
|
27
30
|
"types": "./dynamic/index.d.ts",
|
|
28
31
|
"default": "./fesm2022/dynamic.mjs"
|
|
29
32
|
},
|
|
30
|
-
"./
|
|
31
|
-
"types": "./
|
|
32
|
-
"default": "./fesm2022/
|
|
33
|
+
"./core": {
|
|
34
|
+
"types": "./core/index.d.ts",
|
|
35
|
+
"default": "./fesm2022/core.mjs"
|
|
36
|
+
},
|
|
37
|
+
"./comm": {
|
|
38
|
+
"types": "./comm/index.d.ts",
|
|
39
|
+
"default": "./fesm2022/comm.mjs"
|
|
33
40
|
},
|
|
34
41
|
"./e-web": {
|
|
35
42
|
"types": "./e-web/index.d.ts",
|
|
36
43
|
"default": "./fesm2022/e-web.mjs"
|
|
37
44
|
},
|
|
45
|
+
"./home": {
|
|
46
|
+
"types": "./home/index.d.ts",
|
|
47
|
+
"default": "./fesm2022/home.mjs"
|
|
48
|
+
},
|
|
49
|
+
"./exception": {
|
|
50
|
+
"types": "./exception/index.d.ts",
|
|
51
|
+
"default": "./fesm2022/exception.mjs"
|
|
52
|
+
},
|
|
53
|
+
"./external": {
|
|
54
|
+
"types": "./external/index.d.ts",
|
|
55
|
+
"default": "./fesm2022/external.mjs"
|
|
56
|
+
},
|
|
57
|
+
"./layout": {
|
|
58
|
+
"types": "./layout/index.d.ts",
|
|
59
|
+
"default": "./fesm2022/layout.mjs"
|
|
60
|
+
},
|
|
38
61
|
"./shared-imports": {
|
|
39
62
|
"types": "./shared-imports/index.d.ts",
|
|
40
63
|
"default": "./fesm2022/shared-imports.mjs"
|
|
@@ -47,6 +70,14 @@
|
|
|
47
70
|
"types": "./comm/form/index.d.ts",
|
|
48
71
|
"default": "./fesm2022/comm.form.mjs"
|
|
49
72
|
},
|
|
73
|
+
"./e-web/extend": {
|
|
74
|
+
"types": "./e-web/extend/index.d.ts",
|
|
75
|
+
"default": "./fesm2022/e-web-extend.mjs"
|
|
76
|
+
},
|
|
77
|
+
"./comm/tree": {
|
|
78
|
+
"types": "./comm/tree/index.d.ts",
|
|
79
|
+
"default": "./fesm2022/comm.tree.mjs"
|
|
80
|
+
},
|
|
50
81
|
"./comm/list": {
|
|
51
82
|
"types": "./comm/list/index.d.ts",
|
|
52
83
|
"default": "./fesm2022/comm.list.mjs"
|
|
@@ -55,22 +86,22 @@
|
|
|
55
86
|
"types": "./comm/page/index.d.ts",
|
|
56
87
|
"default": "./fesm2022/comm.page.mjs"
|
|
57
88
|
},
|
|
58
|
-
"./comm/tree": {
|
|
59
|
-
"types": "./comm/tree/index.d.ts",
|
|
60
|
-
"default": "./fesm2022/comm.tree.mjs"
|
|
61
|
-
},
|
|
62
|
-
"./e-web/extend": {
|
|
63
|
-
"types": "./e-web/extend/index.d.ts",
|
|
64
|
-
"default": "./fesm2022/e-web-extend.mjs"
|
|
65
|
-
},
|
|
66
89
|
"./e-web/form": {
|
|
67
90
|
"types": "./e-web/form/index.d.ts",
|
|
68
91
|
"default": "./fesm2022/e-web-form.mjs"
|
|
69
92
|
},
|
|
93
|
+
"./e-web/list": {
|
|
94
|
+
"types": "./e-web/list/index.d.ts",
|
|
95
|
+
"default": "./fesm2022/e-web-list.mjs"
|
|
96
|
+
},
|
|
70
97
|
"./e-web/report": {
|
|
71
98
|
"types": "./e-web/report/index.d.ts",
|
|
72
99
|
"default": "./fesm2022/e-web-report.mjs"
|
|
73
100
|
},
|
|
101
|
+
"./e-web/tab": {
|
|
102
|
+
"types": "./e-web/tab/index.d.ts",
|
|
103
|
+
"default": "./fesm2022/e-web-tab.mjs"
|
|
104
|
+
},
|
|
74
105
|
"./e-web/single": {
|
|
75
106
|
"types": "./e-web/single/index.d.ts",
|
|
76
107
|
"default": "./fesm2022/e-web-single.mjs"
|
|
@@ -78,14 +109,6 @@
|
|
|
78
109
|
"./e-web/tree": {
|
|
79
110
|
"types": "./e-web/tree/index.d.ts",
|
|
80
111
|
"default": "./fesm2022/e-web-tree.mjs"
|
|
81
|
-
},
|
|
82
|
-
"./e-web/list": {
|
|
83
|
-
"types": "./e-web/list/index.d.ts",
|
|
84
|
-
"default": "./fesm2022/e-web-list.mjs"
|
|
85
|
-
},
|
|
86
|
-
"./e-web/tab": {
|
|
87
|
-
"types": "./e-web/tab/index.d.ts",
|
|
88
|
-
"default": "./fesm2022/e-web-tab.mjs"
|
|
89
112
|
}
|
|
90
113
|
},
|
|
91
114
|
"sideEffects": false
|