@ebuilding/runtime 2.7.0 → 2.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/e-web/dynamic.module.d.ts +7 -0
- package/e-web/extend/index.d.ts +1 -0
- package/e-web/form/index-routing.module.d.ts +7 -0
- package/e-web/form/index.d.ts +1 -0
- package/e-web/form/main/index.component.d.ts +32 -0
- package/e-web/index.d.ts +24 -0
- package/e-web/list/index.d.ts +1 -0
- package/e-web/report/index.d.ts +1 -0
- package/e-web/single/index.d.ts +1 -0
- package/e-web/tab/index.d.ts +1 -0
- package/e-web/tree/index.d.ts +1 -0
- package/fesm2022/e-web-extend.mjs +6 -0
- package/fesm2022/e-web-extend.mjs.map +1 -0
- package/fesm2022/e-web-form.mjs +6 -0
- package/fesm2022/e-web-form.mjs.map +1 -0
- package/fesm2022/e-web-list.mjs +6 -0
- package/fesm2022/e-web-list.mjs.map +1 -0
- package/fesm2022/e-web-report.mjs +6 -0
- package/fesm2022/e-web-report.mjs.map +1 -0
- package/fesm2022/e-web-single.mjs +6 -0
- package/fesm2022/e-web-single.mjs.map +1 -0
- package/fesm2022/e-web-tab.mjs +6 -0
- package/fesm2022/e-web-tab.mjs.map +1 -0
- package/fesm2022/e-web-tree.mjs +6 -0
- package/fesm2022/e-web-tree.mjs.map +1 -0
- package/fesm2022/e-web.mjs +1772 -12
- package/fesm2022/e-web.mjs.map +1 -1
- package/package.json +42 -14
- package/fesm2022/e-web-deep.module-CbGhHXVH.mjs +0 -34
- package/fesm2022/e-web-deep.module-CbGhHXVH.mjs.map +0 -1
- package/fesm2022/e-web-index.module-B_Jd2-0M.mjs +0 -30
- package/fesm2022/e-web-index.module-B_Jd2-0M.mjs.map +0 -1
- package/fesm2022/e-web-index.module-Bfxv6KPY.mjs +0 -263
- package/fesm2022/e-web-index.module-Bfxv6KPY.mjs.map +0 -1
- package/fesm2022/e-web-index.module-C0vAaHfh.mjs +0 -84
- package/fesm2022/e-web-index.module-C0vAaHfh.mjs.map +0 -1
- package/fesm2022/e-web-index.module-C7-Zm8xS.mjs +0 -94
- package/fesm2022/e-web-index.module-C7-Zm8xS.mjs.map +0 -1
- package/fesm2022/e-web-index.module-CYZiqC3a.mjs +0 -110
- package/fesm2022/e-web-index.module-CYZiqC3a.mjs.map +0 -1
- package/fesm2022/e-web-index.module-CfC5tqAw.mjs +0 -85
- package/fesm2022/e-web-index.module-CfC5tqAw.mjs.map +0 -1
- package/fesm2022/e-web-index.module-CjF6piLu.mjs +0 -81
- package/fesm2022/e-web-index.module-CjF6piLu.mjs.map +0 -1
- package/fesm2022/e-web-index.module-CuEiH_fT.mjs +0 -180
- package/fesm2022/e-web-index.module-CuEiH_fT.mjs.map +0 -1
- package/fesm2022/e-web-index.module-D43xvefy.mjs +0 -101
- package/fesm2022/e-web-index.module-D43xvefy.mjs.map +0 -1
- package/fesm2022/e-web-index.module-DQmv68kB.mjs +0 -84
- package/fesm2022/e-web-index.module-DQmv68kB.mjs.map +0 -1
- package/fesm2022/e-web-index.module-DVJ8MkSd.mjs +0 -86
- package/fesm2022/e-web-index.module-DVJ8MkSd.mjs.map +0 -1
- package/fesm2022/e-web-index.module-DqW1Wt0J.mjs +0 -157
- package/fesm2022/e-web-index.module-DqW1Wt0J.mjs.map +0 -1
- package/fesm2022/e-web-index.module-Ds5GBsXm.mjs +0 -106
- package/fesm2022/e-web-index.module-Ds5GBsXm.mjs.map +0 -1
- package/fesm2022/e-web-index.module-H56VTQVA.mjs +0 -46
- package/fesm2022/e-web-index.module-H56VTQVA.mjs.map +0 -1
- package/fesm2022/e-web-index.module-cGZ2yMVA.mjs +0 -93
- package/fesm2022/e-web-index.module-cGZ2yMVA.mjs.map +0 -1
- package/fesm2022/e-web-index.module-cKHBIc7d.mjs +0 -30
- package/fesm2022/e-web-index.module-cKHBIc7d.mjs.map +0 -1
- package/fesm2022/e-web-index.module-mKAgb87G.mjs +0 -104
- package/fesm2022/e-web-index.module-mKAgb87G.mjs.map +0 -1
- package/fesm2022/e-web-index.module-qHmobPhQ.mjs +0 -30
- package/fesm2022/e-web-index.module-qHmobPhQ.mjs.map +0 -1
|
@@ -1,101 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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,CA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;;;"}
|
|
@@ -1,84 +0,0 @@
|
|
|
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 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
|
|
@@ -1 +0,0 @@
|
|
|
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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
-
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
|
|
@@ -1 +0,0 @@
|
|
|
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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,0BAA0B;AACtC,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,uBAAuB,CAAA;wGAAvB,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;AAAvB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,uBAAuB,wCAFxB,YAAY,CAAA,EAAA,CAAA;yGAEX,uBAAuB,EAAA,OAAA,EAAA,CAHxB,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,EAC7B,YAAY,CAAA,EAAA,CAAA;;4FAEX,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAJnC,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;;;;;"}
|
|
@@ -1,157 +0,0 @@
|
|
|
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 '@ebuilding/biz-list/pre-control/single';
|
|
9
|
-
import { PreSingleModule } from '@ebuilding/biz-list/pre-control/single';
|
|
10
|
-
import * as i1 from '@delon/theme';
|
|
11
|
-
import * as i3$1 from '@ebuilding/base/shared.srv/commApi.service';
|
|
12
|
-
import { CommAPIService } from '@ebuilding/base/shared.srv/commApi.service';
|
|
13
|
-
import { RuntimeSharedImportsModule } from '@ebuilding/runtime/shared-imports';
|
|
14
|
-
import * as i5 from '@delon/abc/page-header';
|
|
15
|
-
import * as i6 from 'ng-zorro-antd/breadcrumb';
|
|
16
|
-
import * as i7 from 'ng-zorro-antd/spin';
|
|
17
|
-
|
|
18
|
-
class EWebExtendReportComponent {
|
|
19
|
-
http;
|
|
20
|
-
activatedRoute;
|
|
21
|
-
config = null;
|
|
22
|
-
response = null;
|
|
23
|
-
constructor(http, activatedRoute) {
|
|
24
|
-
this.http = http;
|
|
25
|
-
this.activatedRoute = activatedRoute;
|
|
26
|
-
}
|
|
27
|
-
ngOnInit() {
|
|
28
|
-
this.activatedRoute.params.subscribe((a) => {
|
|
29
|
-
this.activatedRoute.queryParams.subscribe((b) => {
|
|
30
|
-
if (b && Object.keys(b).length > 0) {
|
|
31
|
-
this.config = {
|
|
32
|
-
id: a.id,
|
|
33
|
-
parameterData: b,
|
|
34
|
-
izHeader: b.response && b.response == "deep"
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
else {
|
|
38
|
-
this.config = {
|
|
39
|
-
id: a.id,
|
|
40
|
-
parameterData: null,
|
|
41
|
-
izHeader: false
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
ngOnDestroy() { }
|
|
48
|
-
btnBack() {
|
|
49
|
-
window.history.go(-1);
|
|
50
|
-
}
|
|
51
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebExtendReportComponent, deps: [{ token: i1._HttpClient }, { token: i2.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
|
|
52
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: EWebExtendReportComponent, isStandalone: true, selector: "eweb-extend-report", ngImport: i0, template: "<ng-container *ngIf=\"config\">\n <single-main [config]=\"config\" [ngClass]=\"{'eweb-header':config?.izHeader}\"\n (btnBackEvent)=\"btnBack()\"></single-main>\n</ng-container>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 5px 5px;overflow:hidden}:host ::ng-deep .eweb-header{padding-left:15px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: PreSingleModule }, { kind: "component", type: i4.PreSingleComponent, selector: "single-main", inputs: ["config"], outputs: ["btnBackEvent", "loadAfter"] }] });
|
|
53
|
-
}
|
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebExtendReportComponent, decorators: [{
|
|
55
|
-
type: Component,
|
|
56
|
-
args: [{ selector: 'eweb-extend-report', imports: [
|
|
57
|
-
CommonModule,
|
|
58
|
-
FormsModule,
|
|
59
|
-
ReactiveFormsModule,
|
|
60
|
-
PreSingleModule
|
|
61
|
-
], template: "<ng-container *ngIf=\"config\">\n <single-main [config]=\"config\" [ngClass]=\"{'eweb-header':config?.izHeader}\"\n (btnBackEvent)=\"btnBack()\"></single-main>\n</ng-container>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 5px 5px;overflow:hidden}:host ::ng-deep .eweb-header{padding-left:15px}\n"] }]
|
|
62
|
-
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.ActivatedRoute }] });
|
|
63
|
-
|
|
64
|
-
class EWebExtendSingleComponent {
|
|
65
|
-
http;
|
|
66
|
-
router;
|
|
67
|
-
activatedRoute;
|
|
68
|
-
commAPISrv;
|
|
69
|
-
loading = false;
|
|
70
|
-
moduleCode = null;
|
|
71
|
-
layoutId = null;
|
|
72
|
-
layoutData = null;
|
|
73
|
-
pageConfig = null;
|
|
74
|
-
constructor(http, router, activatedRoute, commAPISrv) {
|
|
75
|
-
this.http = http;
|
|
76
|
-
this.router = router;
|
|
77
|
-
this.activatedRoute = activatedRoute;
|
|
78
|
-
this.commAPISrv = commAPISrv;
|
|
79
|
-
}
|
|
80
|
-
ngOnInit() {
|
|
81
|
-
this.activatedRoute.params.subscribe((a) => {
|
|
82
|
-
this.layoutId = a?.id;
|
|
83
|
-
this.moduleCode = a?.moduleCode;
|
|
84
|
-
this.getPageData();
|
|
85
|
-
});
|
|
86
|
-
}
|
|
87
|
-
ngOnDestroy() { }
|
|
88
|
-
getPageData() {
|
|
89
|
-
if (this.layoutId) {
|
|
90
|
-
this.loading = true;
|
|
91
|
-
let address = this.commAPISrv.getLayoutAddress(this.moduleCode, this.layoutId);
|
|
92
|
-
this.http.post(address).subscribe((res) => {
|
|
93
|
-
if (res.success) {
|
|
94
|
-
this.layoutData = res.result;
|
|
95
|
-
if (this.layoutData && this.layoutData.singlePageId)
|
|
96
|
-
this.pageConfig = {
|
|
97
|
-
id: this.layoutData.singlePageId,
|
|
98
|
-
parameterData: null,
|
|
99
|
-
moduleCode: this.moduleCode
|
|
100
|
-
};
|
|
101
|
-
}
|
|
102
|
-
this.loading = false;
|
|
103
|
-
});
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebExtendSingleComponent, deps: [{ token: i1._HttpClient }, { token: i2.Router }, { token: i2.ActivatedRoute }, { token: i3$1.CommAPIService }], target: i0.ɵɵFactoryTarget.Component });
|
|
107
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: EWebExtendSingleComponent, isStandalone: true, selector: "eweb-extend-single", providers: [CommAPIService], ngImport: i0, template: "<ng-container *ngIf=\"pageConfig!! && 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=\"default-work overflow-hidden\">\n <nz-spin [nzSpinning]=\"loading\" class=\"deon-list-spin\">\n <single-main [config]=\"pageConfig\"></single-main>\n\n </nz-spin>\n</div>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 0 0 15px;overflow:hidden}:host ::ng-deep .default-work{background:#f8f8fd}:host ::ng-deep single-main single-tabs nz-tabset single-item{background:#f8f8fd;padding:12px 0}:host ::ng-deep single-main single-tabs nz-tabset single-item pre-page{background:#fff}\n"], dependencies: [{ kind: "ngmodule", type: RuntimeSharedImportsModule }, { kind: "directive", type: i3.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: PreSingleModule }, { kind: "component", type: i4.PreSingleComponent, selector: "single-main", inputs: ["config"], outputs: ["btnBackEvent", "loadAfter"] }] });
|
|
108
|
-
}
|
|
109
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebExtendSingleComponent, decorators: [{
|
|
110
|
-
type: Component,
|
|
111
|
-
args: [{ selector: 'eweb-extend-single', providers: [CommAPIService], imports: [
|
|
112
|
-
RuntimeSharedImportsModule,
|
|
113
|
-
PreSingleModule
|
|
114
|
-
], template: "<ng-container *ngIf=\"pageConfig!! && 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=\"default-work overflow-hidden\">\n <nz-spin [nzSpinning]=\"loading\" class=\"deon-list-spin\">\n <single-main [config]=\"pageConfig\"></single-main>\n\n </nz-spin>\n</div>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 0 0 15px;overflow:hidden}:host ::ng-deep .default-work{background:#f8f8fd}:host ::ng-deep single-main single-tabs nz-tabset single-item{background:#f8f8fd;padding:12px 0}:host ::ng-deep single-main single-tabs nz-tabset single-item pre-page{background:#fff}\n"] }]
|
|
115
|
-
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.Router }, { type: i2.ActivatedRoute }, { type: i3$1.CommAPIService }] });
|
|
116
|
-
|
|
117
|
-
const routes = [
|
|
118
|
-
{
|
|
119
|
-
path: 'report/:id',
|
|
120
|
-
component: EWebExtendReportComponent,
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
path: 'single/:id',
|
|
124
|
-
component: EWebExtendSingleComponent,
|
|
125
|
-
},
|
|
126
|
-
];
|
|
127
|
-
class EWeExtendRoutingModule {
|
|
128
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWeExtendRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
129
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWeExtendRoutingModule, imports: [i2.RouterModule], exports: [RouterModule] });
|
|
130
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWeExtendRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] });
|
|
131
|
-
}
|
|
132
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWeExtendRoutingModule, decorators: [{
|
|
133
|
-
type: NgModule,
|
|
134
|
-
args: [{
|
|
135
|
-
imports: [RouterModule.forChild(routes)],
|
|
136
|
-
exports: [RouterModule],
|
|
137
|
-
}]
|
|
138
|
-
}] });
|
|
139
|
-
|
|
140
|
-
const COMPONENTS = [EWebExtendSingleComponent, EWebExtendReportComponent];
|
|
141
|
-
class EWebExtendModule {
|
|
142
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebExtendModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
143
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWebExtendModule, imports: [EWeExtendRoutingModule, EWebExtendSingleComponent, EWebExtendReportComponent] });
|
|
144
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebExtendModule, imports: [EWeExtendRoutingModule, COMPONENTS] });
|
|
145
|
-
}
|
|
146
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebExtendModule, decorators: [{
|
|
147
|
-
type: NgModule,
|
|
148
|
-
args: [{
|
|
149
|
-
imports: [
|
|
150
|
-
EWeExtendRoutingModule,
|
|
151
|
-
...COMPONENTS
|
|
152
|
-
]
|
|
153
|
-
}]
|
|
154
|
-
}] });
|
|
155
|
-
|
|
156
|
-
export { EWebExtendModule };
|
|
157
|
-
//# sourceMappingURL=e-web-index.module-DqW1Wt0J.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"e-web-index.module-DqW1Wt0J.mjs","sources":["../../../../packages/runtime/e-web/extend/report/index.component.ts","../../../../packages/runtime/e-web/extend/report/index.component.html","../../../../packages/runtime/e-web/extend/single/index.component.ts","../../../../packages/runtime/e-web/extend/single/index.component.html","../../../../packages/runtime/e-web/extend/index-routing.module.ts","../../../../packages/runtime/e-web/extend/index.module.ts"],"sourcesContent":["import { Component, OnInit, OnDestroy } from '@angular/core';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { _HttpClient } from '@delon/theme';\n\nimport { CommonModule } from '@angular/common';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { PreSingleModule } from '@ebuilding/biz-list/pre-control/single';\n\n@Component({\n selector: 'eweb-extend-report',\n templateUrl: './index.component.html',\n styleUrls: ['./index.component.less'],\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n PreSingleModule\n ]\n})\nexport class EWebExtendReportComponent implements OnInit, OnDestroy {\n\n config: any = null;\n response: any = null;\n\n constructor(public http: _HttpClient, private activatedRoute: ActivatedRoute) { }\n\n ngOnInit(): void {\n this.activatedRoute.params.subscribe((a: any) => {\n this.activatedRoute.queryParams.subscribe((b: any) => {\n if (b!! && Object.keys(b).length > 0) {\n this.config = {\n id: a.id,\n parameterData: b,\n izHeader: b.response!! && b.response == \"deep\"\n }\n } else {\n this.config = {\n id: a.id,\n parameterData: null,\n izHeader: false\n }\n }\n });\n });\n }\n\n ngOnDestroy() { }\n\n btnBack() {\n window.history.go(-1);\n }\n\n\n}\n","<ng-container *ngIf=\"config\">\n <single-main [config]=\"config\" [ngClass]=\"{'eweb-header':config?.izHeader}\"\n (btnBackEvent)=\"btnBack()\"></single-main>\n</ng-container>","import { Component, OnInit, OnDestroy } from '@angular/core';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { _HttpClient } from '@delon/theme';\nimport { CommAPIService } from '@ebuilding/base/shared.srv/commApi.service';\n\nimport { RuntimeSharedImportsModule } from '@ebuilding/runtime/shared-imports';\nimport { PreSingleModule } from '@ebuilding/biz-list/pre-control/single';\n\n@Component({\n selector: 'eweb-extend-single',\n templateUrl: './index.component.html',\n styleUrls: ['./index.component.less'],\n providers: [CommAPIService],\n imports: [\n RuntimeSharedImportsModule,\n PreSingleModule\n ]\n})\nexport class EWebExtendSingleComponent implements OnInit, OnDestroy {\n loading: boolean = false;\n moduleCode: any = null;\n layoutId: any = null;\n layoutData: any = null;\n pageConfig: any = null;\n\n constructor(public http: _HttpClient, public router: Router, public activatedRoute: ActivatedRoute, public commAPISrv: CommAPIService) { }\n\n ngOnInit(): void {\n this.activatedRoute.params.subscribe((a: any) => {\n this.layoutId = a?.id;\n this.moduleCode = a?.moduleCode;\n this.getPageData();\n });\n }\n\n ngOnDestroy() { }\n\n getPageData() {\n if (this.layoutId!!) {\n this.loading = true;\n let address: any = this.commAPISrv.getLayoutAddress(this.moduleCode, this.layoutId);\n this.http.post(address).subscribe((res: any) => {\n if (res.success) {\n this.layoutData = res.result;\n if (this.layoutData!! && this.layoutData.singlePageId!!)\n this.pageConfig = {\n id: this.layoutData.singlePageId,\n parameterData: null,\n moduleCode: this.moduleCode\n };\n }\n this.loading = false;\n });\n }\n }\n\n}\n","<ng-container *ngIf=\"pageConfig!! && 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=\"default-work overflow-hidden\">\n <nz-spin [nzSpinning]=\"loading\" class=\"deon-list-spin\">\n <single-main [config]=\"pageConfig\"></single-main>\n\n </nz-spin>\n</div>","import { NgModule } from '@angular/core';\nimport { Routes, RouterModule } from '@angular/router';\nimport { EWebExtendReportComponent } from './report/index.component';\nimport { EWebExtendSingleComponent } from './single/index.component';\nconst routes: Routes = [\n {\n path: 'report/:id',\n component: EWebExtendReportComponent,\n },\n {\n path: 'single/:id',\n component: EWebExtendSingleComponent,\n },\n];\n@NgModule({\n imports: [RouterModule.forChild(routes)],\n exports: [RouterModule],\n})\nexport class EWeExtendRoutingModule { }\n","import { NgModule } from '@angular/core';\nimport { EWeExtendRoutingModule } from './index-routing.module';\nimport { EWebExtendSingleComponent } from './single/index.component';\nimport { EWebExtendReportComponent } from './report/index.component';\nconst COMPONENTS: any[] = [EWebExtendSingleComponent, EWebExtendReportComponent];\n\n@NgModule({\n imports: [\n EWeExtendRoutingModule,\n ...COMPONENTS\n ]\n})\nexport class EWebExtendModule { }\n"],"names":["i3","i4","i8"],"mappings":";;;;;;;;;;;;;;;;;MAmBa,yBAAyB,CAAA;AAKjB,IAAA,IAAA;AAA2B,IAAA,cAAA;IAH9C,MAAM,GAAQ,IAAI;IAClB,QAAQ,GAAQ,IAAI;IAEpB,WAAmB,CAAA,IAAiB,EAAU,cAA8B,EAAA;QAAzD,IAAI,CAAA,IAAA,GAAJ,IAAI;QAAuB,IAAc,CAAA,cAAA,GAAd,cAAc;;IAE5D,QAAQ,GAAA;QACN,IAAI,CAAC,cAAc,CAAC,MAAM,C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