@ebuilding/runtime 2.7.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/LICENSE +0 -0
- package/README.md +3 -0
- package/comm/default/index.d.ts +1 -0
- package/comm/default/src/default/index.d.ts +54 -0
- package/comm/default/src/default-list/index.d.ts +17 -0
- package/comm/default/src/default-report/index.d.ts +17 -0
- package/comm/default/src/default-single/index.d.ts +17 -0
- package/comm/default/src/default-tab/index.d.ts +17 -0
- package/comm/default/src/index.module.d.ts +13 -0
- package/comm/default/src/layout/index.d.ts +25 -0
- package/comm/default/src/layout-comm/index.d.ts +19 -0
- package/comm/default/src/public_api.d.ts +8 -0
- package/comm/form/index.d.ts +1 -0
- package/comm/form/src/components/children/index.component.d.ts +30 -0
- package/comm/form/src/components/multiple/index.component.d.ts +28 -0
- package/comm/form/src/components/single/index.component.d.ts +37 -0
- package/comm/form/src/default/index.component.d.ts +47 -0
- package/comm/form/src/empinfo/index.component.d.ts +51 -0
- package/comm/form/src/index.module.d.ts +13 -0
- package/comm/form/src/onlyone/index.component.d.ts +32 -0
- package/comm/form/src/public_api.d.ts +8 -0
- package/comm/form/src/service/defaultService.d.ts +96 -0
- package/comm/form/src/service/empCommService.d.ts +14 -0
- package/comm/form/src/service/empGroupService.d.ts +68 -0
- package/comm/form/src/service/onlyOneService.d.ts +52 -0
- package/comm/form/src/step/index.component.d.ts +46 -0
- package/comm/index.d.ts +5 -0
- package/comm/list/index.d.ts +1 -0
- package/comm/list/src/default/index.component.d.ts +69 -0
- package/comm/list/src/index.module.d.ts +7 -0
- package/comm/list/src/public_api.d.ts +2 -0
- package/comm/list/src/service/listService.d.ts +39 -0
- package/comm/page/index.d.ts +1 -0
- package/comm/page/src/default/index.component.d.ts +50 -0
- package/comm/page/src/index.module.d.ts +9 -0
- package/comm/page/src/page-layout/index.component.d.ts +55 -0
- package/comm/page/src/page-layout-detail/index.component.d.ts +55 -0
- package/comm/page/src/public_api.d.ts +4 -0
- package/comm/tree/index.d.ts +1 -0
- package/comm/tree/src/components/form-left/index.component.d.ts +21 -0
- package/comm/tree/src/components/form-right/index.component.d.ts +43 -0
- package/comm/tree/src/components/list-left/index.component.d.ts +21 -0
- package/comm/tree/src/components/list-right/index.component.d.ts +36 -0
- package/comm/tree/src/index.module.d.ts +12 -0
- package/comm/tree/src/public_api.d.ts +7 -0
- package/comm/tree/src/service/treeFormService.d.ts +57 -0
- package/comm/tree/src/service/treeListService.d.ts +56 -0
- package/comm/tree/src/treeForm/index.component.d.ts +25 -0
- package/comm/tree/src/treeList/index.component.d.ts +38 -0
- package/dynamic/dynamic.module.d.ts +7 -0
- package/dynamic/dynamic.view.module.d.ts +7 -0
- package/dynamic/index.d.ts +2 -0
- package/e-web/deep.module.d.ts +7 -0
- package/e-web/extend/index-routing.module.d.ts +7 -0
- package/e-web/extend/index.module.d.ts +9 -0
- package/e-web/extend/report/index.component.d.ts +16 -0
- package/e-web/extend/single/index.component.d.ts +22 -0
- package/e-web/form/deep/index.module.d.ts +7 -0
- package/e-web/form/deep/main/index.d.ts +34 -0
- package/e-web/form/default/index.module.d.ts +7 -0
- package/e-web/form/default/main/index.d.ts +32 -0
- package/e-web/form/index.module.d.ts +7 -0
- package/e-web/index.d.ts +1 -0
- package/e-web/index.module.d.ts +7 -0
- package/e-web/list/deep/index.module.d.ts +7 -0
- package/e-web/list/deep/main/index.d.ts +18 -0
- package/e-web/list/default/index.module.d.ts +7 -0
- package/e-web/list/default/main/index.d.ts +31 -0
- package/e-web/list/index.module.d.ts +7 -0
- package/e-web/list/new/index.module.d.ts +7 -0
- package/e-web/list/new/main/index.d.ts +16 -0
- package/e-web/report/deep/index.module.d.ts +7 -0
- package/e-web/report/deep/main/index.d.ts +18 -0
- package/e-web/report/default/index.module.d.ts +7 -0
- package/e-web/report/default/main/index.d.ts +17 -0
- package/e-web/report/index.module.d.ts +7 -0
- package/e-web/report/new/index.module.d.ts +7 -0
- package/e-web/report/new/main/index.d.ts +16 -0
- package/e-web/single/deep/index.module.d.ts +7 -0
- package/e-web/single/deep/main/index.d.ts +18 -0
- package/e-web/single/default/index.module.d.ts +7 -0
- package/e-web/single/default/main/index.d.ts +16 -0
- package/e-web/single/index.module.d.ts +7 -0
- package/e-web/single/new/index.module.d.ts +7 -0
- package/e-web/single/new/main/index.d.ts +16 -0
- package/e-web/tab/detail/index.component.d.ts +32 -0
- package/e-web/tab/index-routing.module.d.ts +7 -0
- package/e-web/tab/index.module.d.ts +9 -0
- package/e-web/tab/main/index.component.d.ts +34 -0
- package/e-web/tree/index-routing.module.d.ts +7 -0
- package/e-web/tree/index.module.d.ts +9 -0
- package/e-web/tree/tree-form/index.component.d.ts +31 -0
- package/e-web/tree/tree-list/index.component.d.ts +31 -0
- package/external/external-routing.module.d.ts +7 -0
- package/external/external.module.d.ts +8 -0
- package/external/index.d.ts +4 -0
- package/external/main/index.d.ts +12 -0
- package/external/safeUrl.d.ts +10 -0
- package/fesm2022/comm.default.mjs +487 -0
- package/fesm2022/comm.default.mjs.map +1 -0
- package/fesm2022/comm.form.mjs +1685 -0
- package/fesm2022/comm.form.mjs.map +1 -0
- package/fesm2022/comm.list.mjs +605 -0
- package/fesm2022/comm.list.mjs.map +1 -0
- package/fesm2022/comm.mjs +10 -0
- package/fesm2022/comm.mjs.map +1 -0
- package/fesm2022/comm.page.mjs +354 -0
- package/fesm2022/comm.page.mjs.map +1 -0
- package/fesm2022/comm.tree.mjs +841 -0
- package/fesm2022/comm.tree.mjs.map +1 -0
- package/fesm2022/dynamic.mjs +49 -0
- package/fesm2022/dynamic.mjs.map +1 -0
- package/fesm2022/e-web-deep.module-CbGhHXVH.mjs +34 -0
- package/fesm2022/e-web-deep.module-CbGhHXVH.mjs.map +1 -0
- package/fesm2022/e-web-index.module-B_Jd2-0M.mjs +30 -0
- package/fesm2022/e-web-index.module-B_Jd2-0M.mjs.map +1 -0
- package/fesm2022/e-web-index.module-Bfxv6KPY.mjs +263 -0
- package/fesm2022/e-web-index.module-Bfxv6KPY.mjs.map +1 -0
- package/fesm2022/e-web-index.module-C0vAaHfh.mjs +84 -0
- package/fesm2022/e-web-index.module-C0vAaHfh.mjs.map +1 -0
- package/fesm2022/e-web-index.module-C7-Zm8xS.mjs +94 -0
- package/fesm2022/e-web-index.module-C7-Zm8xS.mjs.map +1 -0
- package/fesm2022/e-web-index.module-CYZiqC3a.mjs +110 -0
- package/fesm2022/e-web-index.module-CYZiqC3a.mjs.map +1 -0
- package/fesm2022/e-web-index.module-CfC5tqAw.mjs +85 -0
- package/fesm2022/e-web-index.module-CfC5tqAw.mjs.map +1 -0
- package/fesm2022/e-web-index.module-CjF6piLu.mjs +81 -0
- package/fesm2022/e-web-index.module-CjF6piLu.mjs.map +1 -0
- package/fesm2022/e-web-index.module-CuEiH_fT.mjs +180 -0
- package/fesm2022/e-web-index.module-CuEiH_fT.mjs.map +1 -0
- package/fesm2022/e-web-index.module-D43xvefy.mjs +101 -0
- package/fesm2022/e-web-index.module-D43xvefy.mjs.map +1 -0
- package/fesm2022/e-web-index.module-DQmv68kB.mjs +84 -0
- package/fesm2022/e-web-index.module-DQmv68kB.mjs.map +1 -0
- package/fesm2022/e-web-index.module-DVJ8MkSd.mjs +86 -0
- package/fesm2022/e-web-index.module-DVJ8MkSd.mjs.map +1 -0
- package/fesm2022/e-web-index.module-DqW1Wt0J.mjs +157 -0
- package/fesm2022/e-web-index.module-DqW1Wt0J.mjs.map +1 -0
- package/fesm2022/e-web-index.module-Ds5GBsXm.mjs +106 -0
- package/fesm2022/e-web-index.module-Ds5GBsXm.mjs.map +1 -0
- package/fesm2022/e-web-index.module-H56VTQVA.mjs +46 -0
- package/fesm2022/e-web-index.module-H56VTQVA.mjs.map +1 -0
- package/fesm2022/e-web-index.module-cGZ2yMVA.mjs +93 -0
- package/fesm2022/e-web-index.module-cGZ2yMVA.mjs.map +1 -0
- package/fesm2022/e-web-index.module-cKHBIc7d.mjs +30 -0
- package/fesm2022/e-web-index.module-cKHBIc7d.mjs.map +1 -0
- package/fesm2022/e-web-index.module-mKAgb87G.mjs +104 -0
- package/fesm2022/e-web-index.module-mKAgb87G.mjs.map +1 -0
- package/fesm2022/e-web-index.module-qHmobPhQ.mjs +30 -0
- package/fesm2022/e-web-index.module-qHmobPhQ.mjs.map +1 -0
- package/fesm2022/e-web.mjs +54 -0
- package/fesm2022/e-web.mjs.map +1 -0
- package/fesm2022/ebuilding-runtime.mjs +8 -0
- package/fesm2022/ebuilding-runtime.mjs.map +1 -0
- package/fesm2022/external.mjs +86 -0
- package/fesm2022/external.mjs.map +1 -0
- package/fesm2022/shared-imports.mjs +358 -0
- package/fesm2022/shared-imports.mjs.map +1 -0
- package/index.d.ts +1 -0
- package/package.json +64 -0
- package/shared-imports/form-submit-touch.directive.d.ts +9 -0
- package/shared-imports/index.d.ts +63 -0
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, NgModule } from '@angular/core';
|
|
3
|
+
import * as i2 from '@angular/router';
|
|
4
|
+
import { RouterModule } from '@angular/router';
|
|
5
|
+
import * as i3 from '@ebuilding/base/shared.srv/commApi.service';
|
|
6
|
+
import { CommAPIService } from '@ebuilding/base/shared.srv/commApi.service';
|
|
7
|
+
import * as i8 from '@ebuilding/runtime/comm/tree';
|
|
8
|
+
import { CommTreeModule } from '@ebuilding/runtime/comm/tree';
|
|
9
|
+
import { RuntimeSharedImportsModule } from '@ebuilding/runtime/shared-imports';
|
|
10
|
+
import * as i1 from '@delon/theme';
|
|
11
|
+
import * as i3$1 from '@angular/common';
|
|
12
|
+
import * as i5 from '@delon/abc/page-header';
|
|
13
|
+
import * as i6 from 'ng-zorro-antd/breadcrumb';
|
|
14
|
+
import * as i7 from 'ng-zorro-antd/spin';
|
|
15
|
+
|
|
16
|
+
class EWebTreeFormComponent {
|
|
17
|
+
http;
|
|
18
|
+
router;
|
|
19
|
+
activatedRoute;
|
|
20
|
+
commAPISrv;
|
|
21
|
+
loading = true;
|
|
22
|
+
config = null;
|
|
23
|
+
/**
|
|
24
|
+
* 模块编码
|
|
25
|
+
*/
|
|
26
|
+
moduleCode = null;
|
|
27
|
+
/**
|
|
28
|
+
* 布局ID
|
|
29
|
+
*/
|
|
30
|
+
layoutId = null;
|
|
31
|
+
/**
|
|
32
|
+
* 布局数据
|
|
33
|
+
*/
|
|
34
|
+
layoutData;
|
|
35
|
+
constructor(http, router, activatedRoute, commAPISrv) {
|
|
36
|
+
this.http = http;
|
|
37
|
+
this.router = router;
|
|
38
|
+
this.activatedRoute = activatedRoute;
|
|
39
|
+
this.commAPISrv = commAPISrv;
|
|
40
|
+
this.activatedRoute.params.subscribe((item) => {
|
|
41
|
+
this.moduleCode = item.type;
|
|
42
|
+
this.layoutId = item.id;
|
|
43
|
+
this.getPageData();
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
ngOnInit() { }
|
|
47
|
+
ngOnDestroy() { }
|
|
48
|
+
getPageData() {
|
|
49
|
+
this.layoutData = null;
|
|
50
|
+
this.loading = true;
|
|
51
|
+
let address = this.commAPISrv.getLayoutAddress(this.moduleCode, this.layoutId);
|
|
52
|
+
if (address) {
|
|
53
|
+
this.http.post(address).subscribe((res) => {
|
|
54
|
+
if (res.success) {
|
|
55
|
+
this.layoutData = res.result;
|
|
56
|
+
}
|
|
57
|
+
this.config = {
|
|
58
|
+
moduleCode: this.moduleCode,
|
|
59
|
+
layoutData: this.layoutData,
|
|
60
|
+
};
|
|
61
|
+
this.loading = false;
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
this.loading = false;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebTreeFormComponent, deps: [{ token: i1._HttpClient }, { token: i2.Router }, { token: i2.ActivatedRoute }, { token: i3.CommAPIService }], target: i0.ɵɵFactoryTarget.Component });
|
|
69
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: EWebTreeFormComponent, isStandalone: true, selector: "eweb-tree-form", providers: [CommAPIService], ngImport: i0, template: "<ng-container *ngIf=\"layoutData!!\">\n <page-header [title]=\"layoutData?.menuName\" class=\"header_hide\" [syncTitle]=\"true\" [breadcrumb]=\"breadcrumb\">\n <ng-template #breadcrumb>\n <nz-breadcrumb>\n <nz-breadcrumb-item>{{ layoutData?.moduleName }}</nz-breadcrumb-item>\n <nz-breadcrumb-item>{{ layoutData?.menuName }}</nz-breadcrumb-item>\n </nz-breadcrumb>\n </ng-template>\n </page-header>\n</ng-container>\n<div class=\"work-content\">\n <nz-spin [nzSpinning]=\"loading\" nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\">\n <ng-container *ngIf=\"config!!\">\n <comm-tree-form [data]=\"config\"></comm-tree-form>\n </ng-container>\n </nz-spin>\n</div>\n", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%}:host ::ng-deep .work-content{padding:0}:host ::ng-deep .tree-content{display:flex;flex-direction:row;width:100%;height:100%;padding:6px 0 0}:host ::ng-deep .tree-content .tree-left{display:flex;flex-direction:column;width:460px;height:100%;border-right:1px solid #eaeaea}:host ::ng-deep .tree-content .tree-right{display:flex;flex:1;height:100%;overflow:auto}\n"], dependencies: [{ kind: "ngmodule", type: RuntimeSharedImportsModule }, { kind: "directive", type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.PageHeaderComponent, selector: "page-header", inputs: ["title", "titleSub", "loading", "wide", "home", "homeLink", "homeI18n", "autoBreadcrumb", "autoTitle", "syncTitle", "fixed", "fixedOffsetTop", "breadcrumb", "recursiveBreadcrumb", "logo", "action", "content", "extra", "tab"], exportAs: ["pageHeader"] }, { kind: "component", type: i6.NzBreadCrumbComponent, selector: "nz-breadcrumb", inputs: ["nzAutoGenerate", "nzSeparator", "nzRouteLabel", "nzRouteLabelFn", "nzRouteFn"], exportAs: ["nzBreadcrumb"] }, { kind: "component", type: i6.NzBreadCrumbItemComponent, selector: "nz-breadcrumb-item", inputs: ["nzOverlay"], exportAs: ["nzBreadcrumbItem"] }, { kind: "component", type: i7.NzSpinComponent, selector: "nz-spin", inputs: ["nzIndicator", "nzSize", "nzTip", "nzDelay", "nzSimple", "nzSpinning"], exportAs: ["nzSpin"] }, { kind: "ngmodule", type: CommTreeModule }, { kind: "component", type: i8.CommTreeFormComponent, selector: "comm-tree-form", inputs: ["data"] }] });
|
|
70
|
+
}
|
|
71
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebTreeFormComponent, decorators: [{
|
|
72
|
+
type: Component,
|
|
73
|
+
args: [{ selector: 'eweb-tree-form', providers: [CommAPIService], imports: [
|
|
74
|
+
RuntimeSharedImportsModule,
|
|
75
|
+
CommTreeModule
|
|
76
|
+
], template: "<ng-container *ngIf=\"layoutData!!\">\n <page-header [title]=\"layoutData?.menuName\" class=\"header_hide\" [syncTitle]=\"true\" [breadcrumb]=\"breadcrumb\">\n <ng-template #breadcrumb>\n <nz-breadcrumb>\n <nz-breadcrumb-item>{{ layoutData?.moduleName }}</nz-breadcrumb-item>\n <nz-breadcrumb-item>{{ layoutData?.menuName }}</nz-breadcrumb-item>\n </nz-breadcrumb>\n </ng-template>\n </page-header>\n</ng-container>\n<div class=\"work-content\">\n <nz-spin [nzSpinning]=\"loading\" nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\">\n <ng-container *ngIf=\"config!!\">\n <comm-tree-form [data]=\"config\"></comm-tree-form>\n </ng-container>\n </nz-spin>\n</div>\n", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%}:host ::ng-deep .work-content{padding:0}:host ::ng-deep .tree-content{display:flex;flex-direction:row;width:100%;height:100%;padding:6px 0 0}:host ::ng-deep .tree-content .tree-left{display:flex;flex-direction:column;width:460px;height:100%;border-right:1px solid #eaeaea}:host ::ng-deep .tree-content .tree-right{display:flex;flex:1;height:100%;overflow:auto}\n"] }]
|
|
77
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.Router }, { type: i2.ActivatedRoute }, { type: i3.CommAPIService }] });
|
|
78
|
+
|
|
79
|
+
class EWebTreeListComponent {
|
|
80
|
+
http;
|
|
81
|
+
router;
|
|
82
|
+
activatedRoute;
|
|
83
|
+
commAPISrv;
|
|
84
|
+
loading = true;
|
|
85
|
+
config = null;
|
|
86
|
+
/**
|
|
87
|
+
* 模块编码
|
|
88
|
+
*/
|
|
89
|
+
moduleCode = null;
|
|
90
|
+
/**
|
|
91
|
+
* 布局ID
|
|
92
|
+
*/
|
|
93
|
+
layoutId = null;
|
|
94
|
+
/**
|
|
95
|
+
* 布局数据
|
|
96
|
+
*/
|
|
97
|
+
layoutData = null;
|
|
98
|
+
constructor(http, router, activatedRoute, commAPISrv) {
|
|
99
|
+
this.http = http;
|
|
100
|
+
this.router = router;
|
|
101
|
+
this.activatedRoute = activatedRoute;
|
|
102
|
+
this.commAPISrv = commAPISrv;
|
|
103
|
+
this.activatedRoute.params.subscribe((item) => {
|
|
104
|
+
this.moduleCode = item.type;
|
|
105
|
+
this.layoutId = item.id;
|
|
106
|
+
this.getPageData();
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
ngOnInit() { }
|
|
110
|
+
ngOnDestroy() { }
|
|
111
|
+
getPageData() {
|
|
112
|
+
this.layoutData = null;
|
|
113
|
+
this.loading = true;
|
|
114
|
+
let address = this.commAPISrv.getLayoutAddress(this.moduleCode, this.layoutId);
|
|
115
|
+
if (address) {
|
|
116
|
+
this.http.post(address).subscribe((res) => {
|
|
117
|
+
if (res.success) {
|
|
118
|
+
this.layoutData = res.result;
|
|
119
|
+
}
|
|
120
|
+
this.config = {
|
|
121
|
+
moduleCode: this.moduleCode,
|
|
122
|
+
layoutData: this.layoutData,
|
|
123
|
+
};
|
|
124
|
+
this.loading = false;
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
else {
|
|
128
|
+
this.loading = false;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebTreeListComponent, deps: [{ token: i1._HttpClient }, { token: i2.Router }, { token: i2.ActivatedRoute }, { token: i3.CommAPIService }], target: i0.ɵɵFactoryTarget.Component });
|
|
132
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: EWebTreeListComponent, isStandalone: true, selector: "eweb-tree-list", providers: [CommAPIService], ngImport: i0, template: "<ng-container *ngIf=\"layoutData!!\">\n <page-header [title]=\"layoutData?.menuName\" class=\"header_hide\" [syncTitle]=\"true\" [breadcrumb]=\"breadcrumb\">\n <ng-template #breadcrumb>\n <nz-breadcrumb>\n <nz-breadcrumb-item>{{ layoutData?.moduleName }}</nz-breadcrumb-item>\n <nz-breadcrumb-item>{{ layoutData?.menuName }}</nz-breadcrumb-item>\n </nz-breadcrumb>\n </ng-template>\n </page-header>\n</ng-container>\n<div class=\"work-content\">\n <nz-spin [nzSpinning]=\"loading\" nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\">\n <ng-container *ngIf=\"config!!\">\n <comm-tree-list [data]=\"config\"></comm-tree-list>\n </ng-container>\n </nz-spin>\n</div>\n", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px;overflow:auto}:host ::ng-deep .work-content{padding:0;overflow:auto}:host ::ng-deep .tree-content{display:flex;flex-direction:row;width:100%;height:100%;padding:6px 0 0}:host ::ng-deep .tree-content .tree-left{display:flex;flex-direction:column;width:460px;height:100%;border-right:0;background:#fff}:host ::ng-deep .tree-content .tree-right{flex:1;padding:0 0 0 12px}:host ::ng-deep .tree-content .tree-right tree-list-right{background:#fff}\n"], dependencies: [{ kind: "ngmodule", type: RuntimeSharedImportsModule }, { kind: "directive", type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.PageHeaderComponent, selector: "page-header", inputs: ["title", "titleSub", "loading", "wide", "home", "homeLink", "homeI18n", "autoBreadcrumb", "autoTitle", "syncTitle", "fixed", "fixedOffsetTop", "breadcrumb", "recursiveBreadcrumb", "logo", "action", "content", "extra", "tab"], exportAs: ["pageHeader"] }, { kind: "component", type: i6.NzBreadCrumbComponent, selector: "nz-breadcrumb", inputs: ["nzAutoGenerate", "nzSeparator", "nzRouteLabel", "nzRouteLabelFn", "nzRouteFn"], exportAs: ["nzBreadcrumb"] }, { kind: "component", type: i6.NzBreadCrumbItemComponent, selector: "nz-breadcrumb-item", inputs: ["nzOverlay"], exportAs: ["nzBreadcrumbItem"] }, { kind: "component", type: i7.NzSpinComponent, selector: "nz-spin", inputs: ["nzIndicator", "nzSize", "nzTip", "nzDelay", "nzSimple", "nzSpinning"], exportAs: ["nzSpin"] }, { kind: "ngmodule", type: CommTreeModule }, { kind: "component", type: i8.CommTreeListComponent, selector: "comm-tree-list", inputs: ["data"], outputs: ["buttonEvent", "operationEvent", "componentEvent"] }] });
|
|
133
|
+
}
|
|
134
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebTreeListComponent, decorators: [{
|
|
135
|
+
type: Component,
|
|
136
|
+
args: [{ selector: 'eweb-tree-list', providers: [CommAPIService], imports: [
|
|
137
|
+
RuntimeSharedImportsModule,
|
|
138
|
+
CommTreeModule,
|
|
139
|
+
], template: "<ng-container *ngIf=\"layoutData!!\">\n <page-header [title]=\"layoutData?.menuName\" class=\"header_hide\" [syncTitle]=\"true\" [breadcrumb]=\"breadcrumb\">\n <ng-template #breadcrumb>\n <nz-breadcrumb>\n <nz-breadcrumb-item>{{ layoutData?.moduleName }}</nz-breadcrumb-item>\n <nz-breadcrumb-item>{{ layoutData?.menuName }}</nz-breadcrumb-item>\n </nz-breadcrumb>\n </ng-template>\n </page-header>\n</ng-container>\n<div class=\"work-content\">\n <nz-spin [nzSpinning]=\"loading\" nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\">\n <ng-container *ngIf=\"config!!\">\n <comm-tree-list [data]=\"config\"></comm-tree-list>\n </ng-container>\n </nz-spin>\n</div>\n", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px;overflow:auto}:host ::ng-deep .work-content{padding:0;overflow:auto}:host ::ng-deep .tree-content{display:flex;flex-direction:row;width:100%;height:100%;padding:6px 0 0}:host ::ng-deep .tree-content .tree-left{display:flex;flex-direction:column;width:460px;height:100%;border-right:0;background:#fff}:host ::ng-deep .tree-content .tree-right{flex:1;padding:0 0 0 12px}:host ::ng-deep .tree-content .tree-right tree-list-right{background:#fff}\n"] }]
|
|
140
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.Router }, { type: i2.ActivatedRoute }, { type: i3.CommAPIService }] });
|
|
141
|
+
|
|
142
|
+
const routes = [
|
|
143
|
+
{
|
|
144
|
+
path: 'form/:id',
|
|
145
|
+
component: EWebTreeFormComponent,
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
path: 'list/:id',
|
|
149
|
+
component: EWebTreeListComponent,
|
|
150
|
+
},
|
|
151
|
+
];
|
|
152
|
+
class EWebTreeRoutingModule {
|
|
153
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebTreeRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
154
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWebTreeRoutingModule, imports: [i2.RouterModule], exports: [RouterModule] });
|
|
155
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebTreeRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] });
|
|
156
|
+
}
|
|
157
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebTreeRoutingModule, decorators: [{
|
|
158
|
+
type: NgModule,
|
|
159
|
+
args: [{
|
|
160
|
+
imports: [RouterModule.forChild(routes)],
|
|
161
|
+
exports: [RouterModule],
|
|
162
|
+
}]
|
|
163
|
+
}] });
|
|
164
|
+
|
|
165
|
+
const COMPONENTS = [EWebTreeFormComponent, EWebTreeListComponent];
|
|
166
|
+
const COMPONENTS_NOROUNT = [];
|
|
167
|
+
class EWebTreeModule {
|
|
168
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebTreeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
169
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWebTreeModule, imports: [EWebTreeRoutingModule, EWebTreeFormComponent, EWebTreeListComponent] });
|
|
170
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebTreeModule, imports: [EWebTreeRoutingModule, COMPONENTS] });
|
|
171
|
+
}
|
|
172
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebTreeModule, decorators: [{
|
|
173
|
+
type: NgModule,
|
|
174
|
+
args: [{
|
|
175
|
+
imports: [EWebTreeRoutingModule, ...COMPONENTS]
|
|
176
|
+
}]
|
|
177
|
+
}] });
|
|
178
|
+
|
|
179
|
+
export { EWebTreeModule };
|
|
180
|
+
//# sourceMappingURL=e-web-index.module-CuEiH_fT.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"e-web-index.module-CuEiH_fT.mjs","sources":["../../../../packages/runtime/e-web/tree/tree-form/index.component.ts","../../../../packages/runtime/e-web/tree/tree-form/index.component.html","../../../../packages/runtime/e-web/tree/tree-list/index.component.ts","../../../../packages/runtime/e-web/tree/tree-list/index.component.html","../../../../packages/runtime/e-web/tree/index-routing.module.ts","../../../../packages/runtime/e-web/tree/index.module.ts"],"sourcesContent":["import { Component, OnInit } from '@angular/core';\nimport { _HttpClient } from '@delon/theme';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { CommAPIService } from '@ebuilding/base/shared.srv/commApi.service';\n\nimport { CommTreeModule } from '@ebuilding/runtime/comm/tree';\nimport { RuntimeSharedImportsModule } from '@ebuilding/runtime/shared-imports';\n\n@Component({\n selector: 'eweb-tree-form',\n templateUrl: `./index.component.html`,\n styleUrls: ['./index.component.less'],\n providers: [CommAPIService],\n imports: [\n RuntimeSharedImportsModule,\n CommTreeModule\n ]\n})\nexport class EWebTreeFormComponent implements OnInit {\n loading: boolean = true;\n\n config: any = null;\n\n /**\n * 模块编码\n */\n moduleCode: any = null;\n\n /**\n * 布局ID\n */\n layoutId: any = null;\n\n /**\n * 布局数据\n */\n layoutData: any;\n\n constructor(public http: _HttpClient, public router: Router, public activatedRoute: ActivatedRoute, private commAPISrv: CommAPIService) {\n this.activatedRoute.params.subscribe((item: any) => {\n this.moduleCode = item.type;\n this.layoutId = item.id;\n this.getPageData();\n });\n }\n\n ngOnInit(): void { }\n\n ngOnDestroy() { }\n\n getPageData() {\n this.layoutData = null;\n this.loading = true;\n let address: any = this.commAPISrv.getLayoutAddress(this.moduleCode, this.layoutId);\n if (address!!) {\n this.http.post(address).subscribe((res: any) => {\n if (res.success) {\n this.layoutData = res.result;\n }\n\n this.config = {\n moduleCode: this.moduleCode,\n layoutData: this.layoutData,\n };\n this.loading = false;\n });\n } else {\n this.loading = false;\n }\n }\n}\n","<ng-container *ngIf=\"layoutData!!\">\n <page-header [title]=\"layoutData?.menuName\" class=\"header_hide\" [syncTitle]=\"true\" [breadcrumb]=\"breadcrumb\">\n <ng-template #breadcrumb>\n <nz-breadcrumb>\n <nz-breadcrumb-item>{{ layoutData?.moduleName }}</nz-breadcrumb-item>\n <nz-breadcrumb-item>{{ layoutData?.menuName }}</nz-breadcrumb-item>\n </nz-breadcrumb>\n </ng-template>\n </page-header>\n</ng-container>\n<div class=\"work-content\">\n <nz-spin [nzSpinning]=\"loading\" nzTip=\"拼命加载中...\" class=\"deon-list-spin\">\n <ng-container *ngIf=\"config!!\">\n <comm-tree-form [data]=\"config\"></comm-tree-form>\n </ng-container>\n </nz-spin>\n</div>\n","import { Component, OnInit } from '@angular/core';\nimport { _HttpClient } from '@delon/theme';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { CommAPIService } from '@ebuilding/base/shared.srv/commApi.service';\n\nimport { CommTreeModule } from '@ebuilding/runtime/comm/tree';\nimport { RuntimeSharedImportsModule } from '@ebuilding/runtime/shared-imports';\n\n@Component({\n selector: 'eweb-tree-list',\n templateUrl: `./index.component.html`,\n styleUrls: ['./index.component.less'],\n providers: [CommAPIService],\n imports: [\n RuntimeSharedImportsModule,\n CommTreeModule,\n ]\n})\nexport class EWebTreeListComponent implements OnInit {\n loading: boolean = true;\n\n config: any = null;\n\n /**\n * 模块编码\n */\n moduleCode: any = null;\n\n /**\n * 布局ID\n */\n layoutId: any = null;\n\n /**\n * 布局数据\n */\n layoutData: any = null;\n\n constructor(public http: _HttpClient, public router: Router, public activatedRoute: ActivatedRoute, private commAPISrv: CommAPIService) {\n this.activatedRoute.params.subscribe((item: any) => {\n this.moduleCode = item.type;\n this.layoutId = item.id;\n this.getPageData();\n });\n }\n\n ngOnInit(): void { }\n\n ngOnDestroy() { }\n\n getPageData() {\n this.layoutData = null;\n this.loading = true;\n let address: any = this.commAPISrv.getLayoutAddress(this.moduleCode, this.layoutId);\n if (address!!) {\n this.http.post(address).subscribe((res: any) => {\n if (res.success) {\n this.layoutData = res.result;\n }\n this.config = {\n moduleCode: this.moduleCode,\n layoutData: this.layoutData,\n };\n this.loading = false;\n });\n } else {\n this.loading = false;\n }\n }\n}\n","<ng-container *ngIf=\"layoutData!!\">\n <page-header [title]=\"layoutData?.menuName\" class=\"header_hide\" [syncTitle]=\"true\" [breadcrumb]=\"breadcrumb\">\n <ng-template #breadcrumb>\n <nz-breadcrumb>\n <nz-breadcrumb-item>{{ layoutData?.moduleName }}</nz-breadcrumb-item>\n <nz-breadcrumb-item>{{ layoutData?.menuName }}</nz-breadcrumb-item>\n </nz-breadcrumb>\n </ng-template>\n </page-header>\n</ng-container>\n<div class=\"work-content\">\n <nz-spin [nzSpinning]=\"loading\" nzTip=\"拼命加载中...\" class=\"deon-list-spin\">\n <ng-container *ngIf=\"config!!\">\n <comm-tree-list [data]=\"config\"></comm-tree-list>\n </ng-container>\n </nz-spin>\n</div>\n","import { NgModule } from '@angular/core';\nimport { Routes, RouterModule } from '@angular/router';\nimport { EWebTreeFormComponent } from './tree-form/index.component';\nimport { EWebTreeListComponent } from './tree-list/index.component';\nconst routes: Routes = [\n {\n path: 'form/:id',\n component: EWebTreeFormComponent,\n },\n {\n path: 'list/:id',\n component: EWebTreeListComponent,\n },\n];\n@NgModule({\n imports: [RouterModule.forChild(routes)],\n exports: [RouterModule],\n})\nexport class EWebTreeRoutingModule { }\n","import { NgModule } from '@angular/core';\nimport { EWebTreeRoutingModule } from './index-routing.module';\nimport { EWebTreeFormComponent } from './tree-form/index.component';\nimport { EWebTreeListComponent } from './tree-list/index.component';\n\nconst COMPONENTS: any[] = [EWebTreeFormComponent, EWebTreeListComponent];\n\nconst COMPONENTS_NOROUNT: any[] = [];\n\n@NgModule({\n imports: [EWebTreeRoutingModule, ...COMPONENTS]\n})\nexport class EWebTreeModule { }\n"],"names":["i4"],"mappings":";;;;;;;;;;;;;;;MAkBa,qBAAqB,CAAA;AAoBb,IAAA,IAAA;AAA0B,IAAA,MAAA;AAAuB,IAAA,cAAA;AAAwC,IAAA,UAAA;IAnB5G,OAAO,GAAY,IAAI;IAEvB,MAAM,GAAQ,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UAAU;AAC/C,iBAAA;;;;;"}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, NgModule } from '@angular/core';
|
|
3
|
+
import * as i2 from '@angular/router';
|
|
4
|
+
import { RouterModule } from '@angular/router';
|
|
5
|
+
import * as i3 from '@angular/common';
|
|
6
|
+
import { CommonModule } from '@angular/common';
|
|
7
|
+
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
8
|
+
import * as i4 from 'ng-zorro-antd/button';
|
|
9
|
+
import { NzButtonModule } from 'ng-zorro-antd/button';
|
|
10
|
+
import * as i7 from 'ng-zorro-antd/icon';
|
|
11
|
+
import { NzIconModule } from 'ng-zorro-antd/icon';
|
|
12
|
+
import * as i8 from '@ebuilding/biz-list/pre-control/pre-page';
|
|
13
|
+
import { PrePageModule } from '@ebuilding/biz-list/pre-control/pre-page';
|
|
14
|
+
import { CommAPIService } from '@ebuilding/base/shared.srv/commApi.service';
|
|
15
|
+
import { Decrypt } from '@ebuilding/base/shared.util/encryption';
|
|
16
|
+
import * as i1 from '@delon/theme';
|
|
17
|
+
import * as i6 from 'ng-zorro-antd/core/transition-patch';
|
|
18
|
+
import * as i6$1 from 'ng-zorro-antd/core/wave';
|
|
19
|
+
|
|
20
|
+
class EWebListDeepComponent {
|
|
21
|
+
http;
|
|
22
|
+
router;
|
|
23
|
+
activatedRoute;
|
|
24
|
+
config = null;
|
|
25
|
+
source = null;
|
|
26
|
+
argInfo = null;
|
|
27
|
+
constructor(http, router, activatedRoute) {
|
|
28
|
+
this.http = http;
|
|
29
|
+
this.router = router;
|
|
30
|
+
this.activatedRoute = activatedRoute;
|
|
31
|
+
this.getPageData();
|
|
32
|
+
}
|
|
33
|
+
ngOnInit() {
|
|
34
|
+
}
|
|
35
|
+
getPageData() {
|
|
36
|
+
this.config = null;
|
|
37
|
+
this.source = null;
|
|
38
|
+
this.argInfo = null;
|
|
39
|
+
this.activatedRoute.params.subscribe((a) => {
|
|
40
|
+
this.activatedRoute.queryParams.subscribe((b) => {
|
|
41
|
+
if (b) {
|
|
42
|
+
if (b?.source) {
|
|
43
|
+
this.source = b.source;
|
|
44
|
+
}
|
|
45
|
+
if (b?.argInfo) {
|
|
46
|
+
this.argInfo = Decrypt(b.argInfo);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
this.config = {
|
|
50
|
+
id: a.id
|
|
51
|
+
};
|
|
52
|
+
});
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
btnBack() {
|
|
56
|
+
if (this.source) {
|
|
57
|
+
this.router.navigateByUrl(Decrypt(this.source));
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
window.history.go(-1);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebListDeepComponent, deps: [{ token: i1._HttpClient }, { token: i2.Router }, { token: i2.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
|
|
64
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: EWebListDeepComponent, isStandalone: true, selector: "eweb-list-deep", providers: [CommAPIService], ngImport: i0, template: "<div class=\"default-work\">\n <ng-container *ngIf=\"config && config?.id\">\n <pre-page [parameterArg]=\"argInfo\" [pageId]=\"config.id\">\n <div name=\"button-after\" class=\"button-after\">\n <button type=\"button\" nz-button nzType=\"default\" (click)=\"btnBack()\">\n <i nz-icon nzType=\"rollback\"></i>\u8FD4\u56DE\n </button>\n </div>\n </pre-page>\n </ng-container>\n</div>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 0 5px 15px}:host ::ng-deep .button-after{padding:0 0 0 8px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: NzButtonModule }, { kind: "component", type: i4.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i6.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], nz-icon, [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "directive", type: i6$1.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i7.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "ngmodule", type: PrePageModule }, { kind: "component", type: i8.PrePageComponent, selector: "pre-page", inputs: ["pageId", "pageCode", "pageConfig", "layoutData", "rd", "parameterArg"], outputs: ["advancedEvent", "buttonEvent", "buttonAfterEvent", "selectEvent", "operationEvent", "componentEvent", "pageLoadAfterEvent", "pageLoadConfigEvent"] }] });
|
|
65
|
+
}
|
|
66
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebListDeepComponent, decorators: [{
|
|
67
|
+
type: Component,
|
|
68
|
+
args: [{ selector: 'eweb-list-deep', providers: [CommAPIService], imports: [
|
|
69
|
+
CommonModule,
|
|
70
|
+
FormsModule, ReactiveFormsModule,
|
|
71
|
+
NzButtonModule,
|
|
72
|
+
NzIconModule,
|
|
73
|
+
PrePageModule
|
|
74
|
+
], template: "<div class=\"default-work\">\n <ng-container *ngIf=\"config && config?.id\">\n <pre-page [parameterArg]=\"argInfo\" [pageId]=\"config.id\">\n <div name=\"button-after\" class=\"button-after\">\n <button type=\"button\" nz-button nzType=\"default\" (click)=\"btnBack()\">\n <i nz-icon nzType=\"rollback\"></i>\u8FD4\u56DE\n </button>\n </div>\n </pre-page>\n </ng-container>\n</div>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 0 5px 15px}:host ::ng-deep .button-after{padding:0 0 0 8px}\n"] }]
|
|
75
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.Router }, { type: i2.ActivatedRoute }] });
|
|
76
|
+
|
|
77
|
+
const routes = [
|
|
78
|
+
{
|
|
79
|
+
path: ':id',
|
|
80
|
+
component: EWebListDeepComponent,
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
path: ':id/deep',
|
|
84
|
+
loadChildren: () => import('./e-web-deep.module-CbGhHXVH.mjs').then((m) => m.EWebDeepModule),
|
|
85
|
+
}
|
|
86
|
+
];
|
|
87
|
+
class EWebListDeepModule {
|
|
88
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebListDeepModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
89
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWebListDeepModule, imports: [i2.RouterModule], exports: [RouterModule] });
|
|
90
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebListDeepModule, imports: [RouterModule.forChild(routes), RouterModule] });
|
|
91
|
+
}
|
|
92
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebListDeepModule, decorators: [{
|
|
93
|
+
type: NgModule,
|
|
94
|
+
args: [{
|
|
95
|
+
imports: [RouterModule.forChild(routes)],
|
|
96
|
+
exports: [RouterModule],
|
|
97
|
+
}]
|
|
98
|
+
}] });
|
|
99
|
+
|
|
100
|
+
export { EWebListDeepModule };
|
|
101
|
+
//# sourceMappingURL=e-web-index.module-D43xvefy.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"e-web-index.module-D43xvefy.mjs","sources":["../../../../packages/runtime/e-web/list/deep/main/index.ts","../../../../packages/runtime/e-web/list/deep/main/index.html","../../../../packages/runtime/e-web/list/deep/index.module.ts"],"sourcesContent":["import { Component, OnInit, OnDestroy } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { NzButtonModule } from 'ng-zorro-antd/button';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport { _HttpClient } from '@delon/theme';\nimport { PrePageModule } from '@ebuilding/biz-list/pre-control/pre-page';\nimport { CommAPIService } from '@ebuilding/base/shared.srv/commApi.service';\nimport { Decrypt } from '@ebuilding/base/shared.util/encryption';\n\n@Component({\n selector: 'eweb-list-deep',\n templateUrl: './index.html',\n styleUrls: ['./index.less'],\n providers: [CommAPIService],\n imports: [\n CommonModule,\n FormsModule, ReactiveFormsModule,\n NzButtonModule,\n NzIconModule,\n PrePageModule\n ]\n})\nexport class EWebListDeepComponent implements OnInit {\n config: any = null;\n source: any = null;\n argInfo: any = null;\n\n constructor(public http: _HttpClient, public router: Router, private activatedRoute: ActivatedRoute) {\n this.getPageData();\n }\n ngOnInit(): void {\n\n }\n getPageData() {\n this.config = null;\n this.source = null;\n this.argInfo = null;\n this.activatedRoute.params.subscribe((a: any) => {\n this.activatedRoute.queryParams.subscribe((b: any) => {\n if (b) {\n if (b?.source) {\n this.source = b.source;\n }\n if (b?.argInfo) {\n this.argInfo = Decrypt(b.argInfo);\n }\n }\n this.config = {\n id: a.id\n }\n });\n });\n }\n btnBack() {\n if (this.source) {\n this.router.navigateByUrl(Decrypt(this.source));\n } else {\n window.history.go(-1);\n }\n }\n}\n","<div class=\"default-work\">\n <ng-container *ngIf=\"config && config?.id\">\n <pre-page [parameterArg]=\"argInfo\" [pageId]=\"config.id\">\n <div name=\"button-after\" class=\"button-after\">\n <button type=\"button\" nz-button nzType=\"default\" (click)=\"btnBack()\">\n <i nz-icon nzType=\"rollback\"></i>返回\n </button>\n </div>\n </pre-page>\n </ng-container>\n</div>","import { NgModule } from '@angular/core';\nimport { Routes, RouterModule } from '@angular/router';\nimport { EWebListDeepComponent } from './main';\nimport { aclCanActivate } from '@delon/acl';\n\nconst routes: Routes = [\n {\n path: ':id',\n component: EWebListDeepComponent,\n },\n {\n path: ':id/deep',\n loadChildren: () => import('../../deep.module').then((m) => m.EWebDeepModule),\n }\n];\n\n@NgModule({\n imports: [RouterModule.forChild(routes)],\n exports: [RouterModule],\n})\nexport class EWebListDeepModule { }\n"],"names":["i5","i6"],"mappings":";;;;;;;;;;;;;;;;;;;MAwBa,qBAAqB,CAAA;AAKb,IAAA,IAAA;AAA0B,IAAA,MAAA;AAAwB,IAAA,cAAA;IAJrE,MAAM,GAAQ,IAAI;IAClB,MAAM,GAAQ,IAAI;IAClB,OAAO,GAAQ,IAAI;AAEnB,IAAA,WAAA,CAAmB,IAAiB,EAAS,MAAc,EAAU,cAA8B,EAAA;QAAhF,IAAI,CAAA,IAAA,GAAJ,IAAI;QAAsB,IAAM,CAAA,MAAA,GAAN,MAAM;QAAkB,IAAc,CAAA,cAAA,GAAd,cAAc;QACjF,IAAI,CAAC,WAAW,EAAE;;IAEpB,QAAQ,GAAA;;IAGR,WAAW,GAAA;AACT,QAAA,IAAI,CAAC,MAAM,GAAG,IAAI;AAClB,QAAA,IAAI,CAAC,MAAM,GAAG,IAAI;AAClB,QAAA,IAAI,CAAC,OAAO,GAAG,IAAI;QACnB,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAM,KAAI;YAC9C,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAAM,KAAI;gBAC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';
|
|
2
|
+
import { Component, NgModule } from '@angular/core';
|
|
3
|
+
import * as i2 from '@angular/router';
|
|
4
|
+
import { RouterModule } from '@angular/router';
|
|
5
|
+
import * as i3 from '@angular/common';
|
|
6
|
+
import { CommonModule } from '@angular/common';
|
|
7
|
+
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
8
|
+
import { NzButtonModule } from 'ng-zorro-antd/button';
|
|
9
|
+
import { NzIconModule } from 'ng-zorro-antd/icon';
|
|
10
|
+
import * as i8 from '@ebuilding/biz-list/pre-control/pre-page';
|
|
11
|
+
import { PrePageModule } from '@ebuilding/biz-list/pre-control/pre-page';
|
|
12
|
+
import { CommAPIService } from '@ebuilding/base/shared.srv/commApi.service';
|
|
13
|
+
import { Decrypt } from '@ebuilding/base/shared.util/encryption';
|
|
14
|
+
import * as i1 from '@delon/theme';
|
|
15
|
+
|
|
16
|
+
class EWebListNewComponent {
|
|
17
|
+
http;
|
|
18
|
+
router;
|
|
19
|
+
activatedRoute;
|
|
20
|
+
config = null;
|
|
21
|
+
argInfo = null;
|
|
22
|
+
constructor(http, router, activatedRoute) {
|
|
23
|
+
this.http = http;
|
|
24
|
+
this.router = router;
|
|
25
|
+
this.activatedRoute = activatedRoute;
|
|
26
|
+
this.getPageData();
|
|
27
|
+
}
|
|
28
|
+
ngOnInit() {
|
|
29
|
+
}
|
|
30
|
+
getPageData() {
|
|
31
|
+
this.config = null;
|
|
32
|
+
this.argInfo = null;
|
|
33
|
+
this.activatedRoute.params.subscribe((a) => {
|
|
34
|
+
this.activatedRoute.queryParams.subscribe((b) => {
|
|
35
|
+
if (b) {
|
|
36
|
+
if (b?.argInfo) {
|
|
37
|
+
this.argInfo = Decrypt(b.argInfo);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
this.config = {
|
|
41
|
+
id: a.id
|
|
42
|
+
};
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebListNewComponent, deps: [{ token: i1._HttpClient }, { token: i2.Router }, { token: i2.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
|
|
47
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: EWebListNewComponent, isStandalone: true, selector: "eweb-list-new", providers: [CommAPIService], ngImport: i0, template: "<div class=\"default-work\">\n <ng-container *ngIf=\"config && config?.id\">\n <pre-page [parameterArg]=\"argInfo\" [pageId]=\"config.id\">\n </pre-page>\n </ng-container>\n</div>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 0 5px 15px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: NzButtonModule }, { kind: "ngmodule", type: NzIconModule }, { kind: "ngmodule", type: PrePageModule }, { kind: "component", type: i8.PrePageComponent, selector: "pre-page", inputs: ["pageId", "pageCode", "pageConfig", "layoutData", "rd", "parameterArg"], outputs: ["advancedEvent", "buttonEvent", "buttonAfterEvent", "selectEvent", "operationEvent", "componentEvent", "pageLoadAfterEvent", "pageLoadConfigEvent"] }] });
|
|
48
|
+
}
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebListNewComponent, decorators: [{
|
|
50
|
+
type: Component,
|
|
51
|
+
args: [{ selector: 'eweb-list-new', providers: [CommAPIService], imports: [
|
|
52
|
+
CommonModule,
|
|
53
|
+
FormsModule, ReactiveFormsModule,
|
|
54
|
+
NzButtonModule,
|
|
55
|
+
NzIconModule,
|
|
56
|
+
PrePageModule
|
|
57
|
+
], template: "<div class=\"default-work\">\n <ng-container *ngIf=\"config && config?.id\">\n <pre-page [parameterArg]=\"argInfo\" [pageId]=\"config.id\">\n </pre-page>\n </ng-container>\n</div>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 0 5px 15px}\n"] }]
|
|
58
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.Router }, { type: i2.ActivatedRoute }] });
|
|
59
|
+
|
|
60
|
+
const routes = [
|
|
61
|
+
{
|
|
62
|
+
path: ':id',
|
|
63
|
+
component: EWebListNewComponent,
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
path: ':id/deep',
|
|
67
|
+
loadChildren: () => import('./e-web-deep.module-CbGhHXVH.mjs').then((m) => m.EWebDeepModule),
|
|
68
|
+
}
|
|
69
|
+
];
|
|
70
|
+
class EWebListNewModule {
|
|
71
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebListNewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
72
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWebListNewModule, imports: [i2.RouterModule], exports: [RouterModule] });
|
|
73
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebListNewModule, imports: [RouterModule.forChild(routes), RouterModule] });
|
|
74
|
+
}
|
|
75
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebListNewModule, decorators: [{
|
|
76
|
+
type: NgModule,
|
|
77
|
+
args: [{
|
|
78
|
+
imports: [RouterModule.forChild(routes)],
|
|
79
|
+
exports: [RouterModule],
|
|
80
|
+
}]
|
|
81
|
+
}] });
|
|
82
|
+
|
|
83
|
+
export { EWebListNewModule };
|
|
84
|
+
//# sourceMappingURL=e-web-index.module-DQmv68kB.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"e-web-index.module-DQmv68kB.mjs","sources":["../../../../packages/runtime/e-web/list/new/main/index.ts","../../../../packages/runtime/e-web/list/new/main/index.html","../../../../packages/runtime/e-web/list/new/index.module.ts"],"sourcesContent":["import { Component, OnInit, OnDestroy } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { NzButtonModule } from 'ng-zorro-antd/button';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport { _HttpClient } from '@delon/theme';\nimport { PrePageModule } from '@ebuilding/biz-list/pre-control/pre-page';\nimport { CommAPIService } from '@ebuilding/base/shared.srv/commApi.service';\nimport { Decrypt } from '@ebuilding/base/shared.util/encryption';\n\n@Component({\n selector: 'eweb-list-new',\n templateUrl: './index.html',\n styleUrls: ['./index.less'],\n providers: [CommAPIService],\n imports: [\n CommonModule,\n FormsModule, ReactiveFormsModule,\n NzButtonModule,\n NzIconModule,\n PrePageModule\n ]\n})\nexport class EWebListNewComponent implements OnInit {\n config: any = null;\n argInfo: any = null;\n\n constructor(public http: _HttpClient, public router: Router, private activatedRoute: ActivatedRoute) {\n this.getPageData();\n }\n ngOnInit(): void {\n\n }\n getPageData() {\n this.config = null;\n this.argInfo = null;\n this.activatedRoute.params.subscribe((a: any) => {\n this.activatedRoute.queryParams.subscribe((b: any) => {\n if (b) {\n if (b?.argInfo) {\n this.argInfo = Decrypt(b.argInfo);\n }\n }\n this.config = {\n id: a.id\n }\n });\n });\n }\n}\n","<div class=\"default-work\">\n <ng-container *ngIf=\"config && config?.id\">\n <pre-page [parameterArg]=\"argInfo\" [pageId]=\"config.id\">\n </pre-page>\n </ng-container>\n</div>","import { NgModule } from '@angular/core';\nimport { Routes, RouterModule } from '@angular/router';\nimport { EWebListNewComponent } from './main';\nimport { aclCanActivate } from '@delon/acl';\n\nconst routes: Routes = [\n {\n path: ':id',\n component: EWebListNewComponent,\n },\n {\n path: ':id/deep',\n loadChildren: () => import('../../deep.module').then((m) => m.EWebDeepModule),\n }\n];\n\n@NgModule({\n imports: [RouterModule.forChild(routes)],\n exports: [RouterModule],\n})\nexport class EWebListNewModule { }\n"],"names":["i4"],"mappings":";;;;;;;;;;;;;;;MAwBa,oBAAoB,CAAA;AAIZ,IAAA,IAAA;AAA0B,IAAA,MAAA;AAAwB,IAAA,cAAA;IAHrE,MAAM,GAAQ,IAAI;IAClB,OAAO,GAAQ,IAAI;AAEnB,IAAA,WAAA,CAAmB,IAAiB,EAAS,MAAc,EAAU,cAA8B,EAAA;QAAhF,IAAI,CAAA,IAAA,GAAJ,IAAI;QAAsB,IAAM,CAAA,MAAA,GAAN,MAAM;QAAkB,IAAc,CAAA,cAAA,GAAd,cAAc;QACjF,IAAI,CAAC,WAAW,EAAE;;IAEpB,QAAQ,GAAA;;IAGR,WAAW,GAAA;AACT,QAAA,IAAI,CAAC,MAAM,GAAG,IAAI;AAClB,QAAA,IAAI,CAAC,OAAO,GAAG,IAAI;QACnB,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAM,KAAI;YAC9C,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAAM,KAAI;gBACnD,IAAI,CAAC,EAAE;AACL,oBAAA,IAAI,CAAC,EAAE,OAAO,EAAE;wBACd,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;;;gBAGrC,IAAI,CAAC,MAAM,GAAG;oBACZ,EAAE,EAAE,CAAC,CAAC;iBACP;AACH,aAAC,CAAC;AACJ,SAAC,CAAC;;wGAxBO,oBAAoB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,WAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,MAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,cAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,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WAAW,EAAE,mBAAmB;wBAChC,cAAc;wBACd,YAAY;wBACZ;AACD,qBAAA,EAAA,QAAA,EAAA,6LAAA,EAAA,MAAA,EAAA,CAAA,6GAAA,CAAA,EAAA;;;AEjBH,MAAM,MAAM,GAAW;AACrB,IAAA;AACE,QAAA,IAAI,EAAE,KAAK;AACX,QAAA,SAAS,EAAE,oBAAoB;AAChC,KAAA;AACD,IAAA;AACE,QAAA,IAAI,EAAE,UAAU;AAChB,QAAA,YAAY,EAAE,MAAM,OAAO,kCAAmB,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,cAAc,CAAC;AAC9E;CACF;MAMY,iBAAiB,CAAA;wGAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;AAAjB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,wCAFlB,YAAY,CAAA,EAAA,CAAA;yGAEX,iBAAiB,EAAA,OAAA,EAAA,CAHlB,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,EAC7B,YAAY,CAAA,EAAA,CAAA;;4FAEX,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAJ7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;oBACxC,OAAO,EAAE,CAAC,YAAY,CAAC;AACxB,iBAAA;;;;;"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, NgModule } from '@angular/core';
|
|
3
|
+
import * as i2 from '@angular/router';
|
|
4
|
+
import { RouterModule } from '@angular/router';
|
|
5
|
+
import * as i3 from '@angular/common';
|
|
6
|
+
import { CommonModule } from '@angular/common';
|
|
7
|
+
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
8
|
+
import { NzButtonModule } from 'ng-zorro-antd/button';
|
|
9
|
+
import { NzIconModule } from 'ng-zorro-antd/icon';
|
|
10
|
+
import * as i4 from '@ebuilding/biz-list/pre-control/pre-report';
|
|
11
|
+
import { PreReportModule } from '@ebuilding/biz-list/pre-control/pre-report';
|
|
12
|
+
import { Decrypt } from '@ebuilding/base/shared.util/encryption';
|
|
13
|
+
import * as i1 from '@delon/theme';
|
|
14
|
+
|
|
15
|
+
class EWebReportDefaultComponent {
|
|
16
|
+
http;
|
|
17
|
+
router;
|
|
18
|
+
activatedRoute;
|
|
19
|
+
config = null;
|
|
20
|
+
source = null;
|
|
21
|
+
argInfo = null;
|
|
22
|
+
constructor(http, router, activatedRoute) {
|
|
23
|
+
this.http = http;
|
|
24
|
+
this.router = router;
|
|
25
|
+
this.activatedRoute = activatedRoute;
|
|
26
|
+
this.getPageData();
|
|
27
|
+
}
|
|
28
|
+
ngOnInit() {
|
|
29
|
+
}
|
|
30
|
+
getPageData() {
|
|
31
|
+
this.activatedRoute.params.subscribe((a) => {
|
|
32
|
+
this.activatedRoute.queryParams.subscribe((b) => {
|
|
33
|
+
if (b) {
|
|
34
|
+
if (b?.source) {
|
|
35
|
+
this.source = b.source;
|
|
36
|
+
}
|
|
37
|
+
if (b?.argInfo) {
|
|
38
|
+
this.argInfo = Decrypt(b.argInfo);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
this.config = {
|
|
42
|
+
id: a.id,
|
|
43
|
+
parameterData: this.argInfo
|
|
44
|
+
};
|
|
45
|
+
});
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebReportDefaultComponent, deps: [{ token: i1._HttpClient }, { token: i2.Router }, { token: i2.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
|
|
49
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: EWebReportDefaultComponent, isStandalone: true, selector: "eweb-report-default", ngImport: i0, template: "<ng-container *ngIf=\"config\">\n <pre-report-page [config]=\"config\"></pre-report-page>\n</ng-container>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 5px 5px;overflow:auto}:host ::ng-deep .eweb-header{padding-left:15px}:host ::ng-deep .body-content{flex:1}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: NzButtonModule }, { kind: "ngmodule", type: NzIconModule }, { kind: "ngmodule", type: PreReportModule }, { kind: "component", type: i4.PreReportPageComponent, selector: "pre-report-page", inputs: ["config"], outputs: ["btnBackEvent", "loadAfter"] }] });
|
|
50
|
+
}
|
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebReportDefaultComponent, decorators: [{
|
|
52
|
+
type: Component,
|
|
53
|
+
args: [{ selector: 'eweb-report-default', imports: [
|
|
54
|
+
CommonModule,
|
|
55
|
+
FormsModule, ReactiveFormsModule,
|
|
56
|
+
NzButtonModule,
|
|
57
|
+
NzIconModule,
|
|
58
|
+
PreReportModule
|
|
59
|
+
], template: "<ng-container *ngIf=\"config\">\n <pre-report-page [config]=\"config\"></pre-report-page>\n</ng-container>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 5px 5px;overflow:auto}:host ::ng-deep .eweb-header{padding-left:15px}:host ::ng-deep .body-content{flex:1}\n"] }]
|
|
60
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.Router }, { type: i2.ActivatedRoute }] });
|
|
61
|
+
|
|
62
|
+
const routes = [
|
|
63
|
+
{
|
|
64
|
+
path: ':id',
|
|
65
|
+
component: EWebReportDefaultComponent,
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
path: ':id/deep',
|
|
69
|
+
loadChildren: () => import('./e-web-deep.module-CbGhHXVH.mjs').then((m) => m.EWebDeepModule),
|
|
70
|
+
}
|
|
71
|
+
];
|
|
72
|
+
class EWebReportDefaultModule {
|
|
73
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebReportDefaultModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
74
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWebReportDefaultModule, imports: [i2.RouterModule], exports: [RouterModule] });
|
|
75
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebReportDefaultModule, imports: [RouterModule.forChild(routes), RouterModule] });
|
|
76
|
+
}
|
|
77
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebReportDefaultModule, decorators: [{
|
|
78
|
+
type: NgModule,
|
|
79
|
+
args: [{
|
|
80
|
+
imports: [RouterModule.forChild(routes)],
|
|
81
|
+
exports: [RouterModule],
|
|
82
|
+
}]
|
|
83
|
+
}] });
|
|
84
|
+
|
|
85
|
+
export { EWebReportDefaultModule };
|
|
86
|
+
//# sourceMappingURL=e-web-index.module-DVJ8MkSd.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"e-web-index.module-DVJ8MkSd.mjs","sources":["../../../../packages/runtime/e-web/report/default/main/index.ts","../../../../packages/runtime/e-web/report/default/main/index.html","../../../../packages/runtime/e-web/report/default/index.module.ts"],"sourcesContent":["import { Component, OnInit, OnDestroy } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { NzButtonModule } from 'ng-zorro-antd/button';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport { _HttpClient } from '@delon/theme';\nimport { PreReportModule } from '@ebuilding/biz-list/pre-control/pre-report';\nimport { Decrypt } from '@ebuilding/base/shared.util/encryption';\n\n@Component({\n selector: 'eweb-report-default',\n templateUrl: './index.html',\n styleUrls: ['./index.less'],\n imports: [\n CommonModule,\n FormsModule, ReactiveFormsModule,\n NzButtonModule,\n NzIconModule,\n PreReportModule\n ]\n})\nexport class EWebReportDefaultComponent implements OnInit {\n config: any = null;\n source: any = null;\n argInfo: any = null;\n\n constructor(public http: _HttpClient, public router: Router, private activatedRoute: ActivatedRoute) {\n this.getPageData();\n }\n ngOnInit(): void {\n\n }\n getPageData() {\n this.activatedRoute.params.subscribe((a: any) => {\n this.activatedRoute.queryParams.subscribe((b: any) => {\n if (b) {\n if (b?.source) {\n this.source = b.source;\n }\n if (b?.argInfo) {\n this.argInfo = Decrypt(b.argInfo);\n }\n }\n this.config = {\n id: a.id,\n parameterData: this.argInfo\n }\n });\n });\n }\n}\n","<ng-container *ngIf=\"config\">\n <pre-report-page [config]=\"config\"></pre-report-page>\n</ng-container>","import { NgModule } from '@angular/core';\nimport { Routes, RouterModule } from '@angular/router';\nimport { EWebReportDefaultComponent } from './main';\nimport { aclCanActivate } from '@delon/acl';\n\nconst routes: Routes = [\n {\n path: ':id',\n component: EWebReportDefaultComponent,\n },\n {\n path: ':id/deep',\n loadChildren: () => import('../../deep.module').then((m) => m.EWebDeepModule),\n }\n];\n\n@NgModule({\n imports: [RouterModule.forChild(routes)],\n exports: [RouterModule],\n})\nexport class EWebReportDefaultModule { }\n"],"names":[],"mappings":";;;;;;;;;;;;;;MAsBa,0BAA0B,CAAA;AAKlB,IAAA,IAAA;AAA0B,IAAA,MAAA;AAAwB,IAAA,cAAA;IAJrE,MAAM,GAAQ,IAAI;IA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