@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.
Files changed (162) hide show
  1. package/LICENSE +0 -0
  2. package/README.md +3 -0
  3. package/comm/default/index.d.ts +1 -0
  4. package/comm/default/src/default/index.d.ts +54 -0
  5. package/comm/default/src/default-list/index.d.ts +17 -0
  6. package/comm/default/src/default-report/index.d.ts +17 -0
  7. package/comm/default/src/default-single/index.d.ts +17 -0
  8. package/comm/default/src/default-tab/index.d.ts +17 -0
  9. package/comm/default/src/index.module.d.ts +13 -0
  10. package/comm/default/src/layout/index.d.ts +25 -0
  11. package/comm/default/src/layout-comm/index.d.ts +19 -0
  12. package/comm/default/src/public_api.d.ts +8 -0
  13. package/comm/form/index.d.ts +1 -0
  14. package/comm/form/src/components/children/index.component.d.ts +30 -0
  15. package/comm/form/src/components/multiple/index.component.d.ts +28 -0
  16. package/comm/form/src/components/single/index.component.d.ts +37 -0
  17. package/comm/form/src/default/index.component.d.ts +47 -0
  18. package/comm/form/src/empinfo/index.component.d.ts +51 -0
  19. package/comm/form/src/index.module.d.ts +13 -0
  20. package/comm/form/src/onlyone/index.component.d.ts +32 -0
  21. package/comm/form/src/public_api.d.ts +8 -0
  22. package/comm/form/src/service/defaultService.d.ts +96 -0
  23. package/comm/form/src/service/empCommService.d.ts +14 -0
  24. package/comm/form/src/service/empGroupService.d.ts +68 -0
  25. package/comm/form/src/service/onlyOneService.d.ts +52 -0
  26. package/comm/form/src/step/index.component.d.ts +46 -0
  27. package/comm/index.d.ts +5 -0
  28. package/comm/list/index.d.ts +1 -0
  29. package/comm/list/src/default/index.component.d.ts +69 -0
  30. package/comm/list/src/index.module.d.ts +7 -0
  31. package/comm/list/src/public_api.d.ts +2 -0
  32. package/comm/list/src/service/listService.d.ts +39 -0
  33. package/comm/page/index.d.ts +1 -0
  34. package/comm/page/src/default/index.component.d.ts +50 -0
  35. package/comm/page/src/index.module.d.ts +9 -0
  36. package/comm/page/src/page-layout/index.component.d.ts +55 -0
  37. package/comm/page/src/page-layout-detail/index.component.d.ts +55 -0
  38. package/comm/page/src/public_api.d.ts +4 -0
  39. package/comm/tree/index.d.ts +1 -0
  40. package/comm/tree/src/components/form-left/index.component.d.ts +21 -0
  41. package/comm/tree/src/components/form-right/index.component.d.ts +43 -0
  42. package/comm/tree/src/components/list-left/index.component.d.ts +21 -0
  43. package/comm/tree/src/components/list-right/index.component.d.ts +36 -0
  44. package/comm/tree/src/index.module.d.ts +12 -0
  45. package/comm/tree/src/public_api.d.ts +7 -0
  46. package/comm/tree/src/service/treeFormService.d.ts +57 -0
  47. package/comm/tree/src/service/treeListService.d.ts +56 -0
  48. package/comm/tree/src/treeForm/index.component.d.ts +25 -0
  49. package/comm/tree/src/treeList/index.component.d.ts +38 -0
  50. package/dynamic/dynamic.module.d.ts +7 -0
  51. package/dynamic/dynamic.view.module.d.ts +7 -0
  52. package/dynamic/index.d.ts +2 -0
  53. package/e-web/deep.module.d.ts +7 -0
  54. package/e-web/extend/index-routing.module.d.ts +7 -0
  55. package/e-web/extend/index.module.d.ts +9 -0
  56. package/e-web/extend/report/index.component.d.ts +16 -0
  57. package/e-web/extend/single/index.component.d.ts +22 -0
  58. package/e-web/form/deep/index.module.d.ts +7 -0
  59. package/e-web/form/deep/main/index.d.ts +34 -0
  60. package/e-web/form/default/index.module.d.ts +7 -0
  61. package/e-web/form/default/main/index.d.ts +32 -0
  62. package/e-web/form/index.module.d.ts +7 -0
  63. package/e-web/index.d.ts +1 -0
  64. package/e-web/index.module.d.ts +7 -0
  65. package/e-web/list/deep/index.module.d.ts +7 -0
  66. package/e-web/list/deep/main/index.d.ts +18 -0
  67. package/e-web/list/default/index.module.d.ts +7 -0
  68. package/e-web/list/default/main/index.d.ts +31 -0
  69. package/e-web/list/index.module.d.ts +7 -0
  70. package/e-web/list/new/index.module.d.ts +7 -0
  71. package/e-web/list/new/main/index.d.ts +16 -0
  72. package/e-web/report/deep/index.module.d.ts +7 -0
  73. package/e-web/report/deep/main/index.d.ts +18 -0
  74. package/e-web/report/default/index.module.d.ts +7 -0
  75. package/e-web/report/default/main/index.d.ts +17 -0
  76. package/e-web/report/index.module.d.ts +7 -0
  77. package/e-web/report/new/index.module.d.ts +7 -0
  78. package/e-web/report/new/main/index.d.ts +16 -0
  79. package/e-web/single/deep/index.module.d.ts +7 -0
  80. package/e-web/single/deep/main/index.d.ts +18 -0
  81. package/e-web/single/default/index.module.d.ts +7 -0
  82. package/e-web/single/default/main/index.d.ts +16 -0
  83. package/e-web/single/index.module.d.ts +7 -0
  84. package/e-web/single/new/index.module.d.ts +7 -0
  85. package/e-web/single/new/main/index.d.ts +16 -0
  86. package/e-web/tab/detail/index.component.d.ts +32 -0
  87. package/e-web/tab/index-routing.module.d.ts +7 -0
  88. package/e-web/tab/index.module.d.ts +9 -0
  89. package/e-web/tab/main/index.component.d.ts +34 -0
  90. package/e-web/tree/index-routing.module.d.ts +7 -0
  91. package/e-web/tree/index.module.d.ts +9 -0
  92. package/e-web/tree/tree-form/index.component.d.ts +31 -0
  93. package/e-web/tree/tree-list/index.component.d.ts +31 -0
  94. package/external/external-routing.module.d.ts +7 -0
  95. package/external/external.module.d.ts +8 -0
  96. package/external/index.d.ts +4 -0
  97. package/external/main/index.d.ts +12 -0
  98. package/external/safeUrl.d.ts +10 -0
  99. package/fesm2022/comm.default.mjs +487 -0
  100. package/fesm2022/comm.default.mjs.map +1 -0
  101. package/fesm2022/comm.form.mjs +1685 -0
  102. package/fesm2022/comm.form.mjs.map +1 -0
  103. package/fesm2022/comm.list.mjs +605 -0
  104. package/fesm2022/comm.list.mjs.map +1 -0
  105. package/fesm2022/comm.mjs +10 -0
  106. package/fesm2022/comm.mjs.map +1 -0
  107. package/fesm2022/comm.page.mjs +354 -0
  108. package/fesm2022/comm.page.mjs.map +1 -0
  109. package/fesm2022/comm.tree.mjs +841 -0
  110. package/fesm2022/comm.tree.mjs.map +1 -0
  111. package/fesm2022/dynamic.mjs +49 -0
  112. package/fesm2022/dynamic.mjs.map +1 -0
  113. package/fesm2022/e-web-deep.module-CbGhHXVH.mjs +34 -0
  114. package/fesm2022/e-web-deep.module-CbGhHXVH.mjs.map +1 -0
  115. package/fesm2022/e-web-index.module-B_Jd2-0M.mjs +30 -0
  116. package/fesm2022/e-web-index.module-B_Jd2-0M.mjs.map +1 -0
  117. package/fesm2022/e-web-index.module-Bfxv6KPY.mjs +263 -0
  118. package/fesm2022/e-web-index.module-Bfxv6KPY.mjs.map +1 -0
  119. package/fesm2022/e-web-index.module-C0vAaHfh.mjs +84 -0
  120. package/fesm2022/e-web-index.module-C0vAaHfh.mjs.map +1 -0
  121. package/fesm2022/e-web-index.module-C7-Zm8xS.mjs +94 -0
  122. package/fesm2022/e-web-index.module-C7-Zm8xS.mjs.map +1 -0
  123. package/fesm2022/e-web-index.module-CYZiqC3a.mjs +110 -0
  124. package/fesm2022/e-web-index.module-CYZiqC3a.mjs.map +1 -0
  125. package/fesm2022/e-web-index.module-CfC5tqAw.mjs +85 -0
  126. package/fesm2022/e-web-index.module-CfC5tqAw.mjs.map +1 -0
  127. package/fesm2022/e-web-index.module-CjF6piLu.mjs +81 -0
  128. package/fesm2022/e-web-index.module-CjF6piLu.mjs.map +1 -0
  129. package/fesm2022/e-web-index.module-CuEiH_fT.mjs +180 -0
  130. package/fesm2022/e-web-index.module-CuEiH_fT.mjs.map +1 -0
  131. package/fesm2022/e-web-index.module-D43xvefy.mjs +101 -0
  132. package/fesm2022/e-web-index.module-D43xvefy.mjs.map +1 -0
  133. package/fesm2022/e-web-index.module-DQmv68kB.mjs +84 -0
  134. package/fesm2022/e-web-index.module-DQmv68kB.mjs.map +1 -0
  135. package/fesm2022/e-web-index.module-DVJ8MkSd.mjs +86 -0
  136. package/fesm2022/e-web-index.module-DVJ8MkSd.mjs.map +1 -0
  137. package/fesm2022/e-web-index.module-DqW1Wt0J.mjs +157 -0
  138. package/fesm2022/e-web-index.module-DqW1Wt0J.mjs.map +1 -0
  139. package/fesm2022/e-web-index.module-Ds5GBsXm.mjs +106 -0
  140. package/fesm2022/e-web-index.module-Ds5GBsXm.mjs.map +1 -0
  141. package/fesm2022/e-web-index.module-H56VTQVA.mjs +46 -0
  142. package/fesm2022/e-web-index.module-H56VTQVA.mjs.map +1 -0
  143. package/fesm2022/e-web-index.module-cGZ2yMVA.mjs +93 -0
  144. package/fesm2022/e-web-index.module-cGZ2yMVA.mjs.map +1 -0
  145. package/fesm2022/e-web-index.module-cKHBIc7d.mjs +30 -0
  146. package/fesm2022/e-web-index.module-cKHBIc7d.mjs.map +1 -0
  147. package/fesm2022/e-web-index.module-mKAgb87G.mjs +104 -0
  148. package/fesm2022/e-web-index.module-mKAgb87G.mjs.map +1 -0
  149. package/fesm2022/e-web-index.module-qHmobPhQ.mjs +30 -0
  150. package/fesm2022/e-web-index.module-qHmobPhQ.mjs.map +1 -0
  151. package/fesm2022/e-web.mjs +54 -0
  152. package/fesm2022/e-web.mjs.map +1 -0
  153. package/fesm2022/ebuilding-runtime.mjs +8 -0
  154. package/fesm2022/ebuilding-runtime.mjs.map +1 -0
  155. package/fesm2022/external.mjs +86 -0
  156. package/fesm2022/external.mjs.map +1 -0
  157. package/fesm2022/shared-imports.mjs +358 -0
  158. package/fesm2022/shared-imports.mjs.map +1 -0
  159. package/index.d.ts +1 -0
  160. package/package.json +64 -0
  161. package/shared-imports/form-submit-touch.directive.d.ts +9 -0
  162. package/shared-imports/index.d.ts +63 -0
@@ -0,0 +1,157 @@
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
@@ -0,0 +1 @@
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;I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,EAAA,UAAA,EAAA,CAAA;kBAJlC,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;;;ACbD,MAAM,UAAU,GAAU,CAAC,yBAAyB,EAAE,yBAAyB,CAAC;MAQnE,gBAAgB,CAAA;wGAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;AAAhB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,EAJzB,OAAA,EAAA,CAAA,sBAAsB,EAJC,yBAAyB,EAAE,yBAAyB,CAAA,EAAA,CAAA;yGAQlE,gBAAgB,EAAA,OAAA,EAAA,CAJzB,sBAAsB,EACnB,UAAU,CAAA,EAAA,CAAA;;4FAGJ,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAN5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,sBAAsB;AACtB,wBAAA,GAAG;AACJ;AACF,iBAAA;;;;;"}
@@ -0,0 +1,106 @@
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 { RuntimeSharedImportsModule } from '@ebuilding/runtime/shared-imports';
8
+ import * as i8 from '@ebuilding/runtime/comm/form';
9
+ import { CommFormModule } from '@ebuilding/runtime/comm/form';
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 EWebFormComponent {
17
+ http;
18
+ router;
19
+ activatedRoute;
20
+ commAPISrv;
21
+ loading = true;
22
+ /**
23
+ * 模块编码
24
+ */
25
+ moduleCode = null;
26
+ /**
27
+ * 布局ID
28
+ */
29
+ layoutId = null;
30
+ /**
31
+ * 布局数据
32
+ */
33
+ layoutData = null;
34
+ config = null;
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?.moduleCode;
42
+ this.layoutId = item.layoutId;
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.getFormDesign();
58
+ });
59
+ }
60
+ else {
61
+ this.loading = false;
62
+ }
63
+ }
64
+ /*
65
+ 获取设计
66
+ */
67
+ getFormDesign() {
68
+ this.config = {
69
+ formId: this.layoutData.formId,
70
+ formType: 'ADD',
71
+ moduleCode: this.moduleCode,
72
+ };
73
+ this.loading = false;
74
+ }
75
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebFormComponent, deps: [{ token: i1._HttpClient }, { token: i2.Router }, { token: i2.ActivatedRoute }, { token: i3.CommAPIService }], target: i0.ɵɵFactoryTarget.Component });
76
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: EWebFormComponent, isStandalone: true, selector: "eweb-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-form-onlyone [config]=\"config\"></comm-form-onlyone>\n </ng-container>\n </nz-spin>\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 .work-content{background-color:#fff;display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:0;border-radius:8px}\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: CommFormModule }, { kind: "component", type: i8.CommFormOnlyOneComponent, selector: "comm-form-onlyone", inputs: ["config", "setpInfo"], outputs: ["modelThrowEvent"] }] });
77
+ }
78
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebFormComponent, decorators: [{
79
+ type: Component,
80
+ args: [{ selector: 'eweb-form', providers: [CommAPIService], imports: [
81
+ RuntimeSharedImportsModule,
82
+ CommFormModule
83
+ ], 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-form-onlyone [config]=\"config\"></comm-form-onlyone>\n </ng-container>\n </nz-spin>\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 .work-content{background-color:#fff;display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:0;border-radius:8px}\n"] }]
84
+ }], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.Router }, { type: i2.ActivatedRoute }, { type: i3.CommAPIService }] });
85
+
86
+ const routes = [
87
+ {
88
+ path: ':layoutId',
89
+ component: EWebFormComponent,
90
+ }
91
+ ];
92
+ class EWebFormDefaultModule {
93
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebFormDefaultModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
94
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWebFormDefaultModule, imports: [i2.RouterModule], exports: [RouterModule] });
95
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebFormDefaultModule, imports: [RouterModule.forChild(routes), RouterModule] });
96
+ }
97
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebFormDefaultModule, decorators: [{
98
+ type: NgModule,
99
+ args: [{
100
+ imports: [RouterModule.forChild(routes)],
101
+ exports: [RouterModule],
102
+ }]
103
+ }] });
104
+
105
+ export { EWebFormDefaultModule };
106
+ //# sourceMappingURL=e-web-index.module-Ds5GBsXm.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"e-web-index.module-Ds5GBsXm.mjs","sources":["../../../../packages/runtime/e-web/form/default/main/index.ts","../../../../packages/runtime/e-web/form/default/main/index.html","../../../../packages/runtime/e-web/form/default/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 { RuntimeSharedImportsModule } from '@ebuilding/runtime/shared-imports';\nimport { CommFormModule } from '@ebuilding/runtime/comm/form';\n\n@Component({\n selector: 'eweb-form',\n templateUrl: `./index.html`,\n styleUrls: ['./index.less'],\n providers: [CommAPIService],\n imports: [\n RuntimeSharedImportsModule,\n CommFormModule\n ]\n})\nexport class EWebFormComponent implements OnInit {\n loading: boolean = true;\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 config: any = null;\n\n constructor(public http: _HttpClient, public router: Router, public activatedRoute: ActivatedRoute, public commAPISrv: CommAPIService) {\n this.activatedRoute.params.subscribe((item: any) => {\n this.moduleCode = item?.moduleCode;\n this.layoutId = item.layoutId;\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.getFormDesign();\n });\n } else {\n this.loading = false;\n }\n }\n\n /*\n 获取设计\n */\n getFormDesign() {\n this.config = {\n formId: this.layoutData.formId,\n formType: 'ADD',\n moduleCode: this.moduleCode,\n };\n this.loading = false;\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-form-onlyone [config]=\"config\"></comm-form-onlyone>\n </ng-container>\n </nz-spin>\n</div>","import { NgModule } from '@angular/core';\nimport { Routes, RouterModule } from '@angular/router';\nimport { EWebFormComponent } from './main';\nimport { aclCanActivate } from '@delon/acl';\n\nconst routes: Routes = [\n {\n path: ':layoutId',\n component: EWebFormComponent,\n }\n];\n\n@NgModule({\n imports: [RouterModule.forChild(routes)],\n exports: [RouterModule],\n})\nexport class EWebFormDefaultModule { }\n"],"names":["i4"],"mappings":";;;;;;;;;;;;;;;M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,EAAA,QAAA,EAAA,+tBAAA,EAAA,MAAA,EAAA,CAAA,8PAAA,CAAA,EAAA;;;AEXH,MAAM,MAAM,GAAW;AACrB,IAAA;AACE,QAAA,IAAI,EAAE,WAAW;AACjB,QAAA,SAAS,EAAE,iBAAiB;AAC7B;CACF;MAMY,qBAAqB,CAAA;wGAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;AAArB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,qBAAqB,wCAFtB,YAAY,CAAA,EAAA,CAAA;yGAEX,qBAAqB,EAAA,OAAA,EAAA,CAHtB,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,EAC7B,YAAY,CAAA,EAAA,CAAA;;4FAEX,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAJjC,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,46 @@
1
+ import * as i0 from '@angular/core';
2
+ import { NgModule } from '@angular/core';
3
+ import * as i2 from '@angular/router';
4
+ import { RouterModule } from '@angular/router';
5
+
6
+ const routes = [
7
+ {
8
+ path: '',
9
+ loadChildren: () => import('./e-web-index.module-mKAgb87G.mjs').then((m) => m.EWebListDefaultModule),
10
+ },
11
+ {
12
+ path: 'new',
13
+ loadChildren: () => import('./e-web-index.module-DQmv68kB.mjs').then((m) => m.EWebListNewModule),
14
+ },
15
+ // {
16
+ // path: ':x/deeplist',
17
+ // loadChildren: () => import('./deep/index.module').then((m) => m.EWebListDeepModule),
18
+ // },
19
+ // {
20
+ // path: ':x/deepform',
21
+ // loadChildren: () => import('../form/deep/index.module').then((m) => m.EWebFormDeepModule),
22
+ // },
23
+ // {
24
+ // path: ':x/deepreport',
25
+ // loadChildren: () => import('../report/deep/index.module').then((m) => m.EWebReportDeepModule),
26
+ // },
27
+ // {
28
+ // path: ':x/deepsingle',
29
+ // loadChildren: () => import('../single/deep/index.module').then((m) => m.EWebSingleDeepModule),
30
+ // }
31
+ ];
32
+ class EWebListModule {
33
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
34
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWebListModule, imports: [i2.RouterModule], exports: [RouterModule] });
35
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebListModule, imports: [RouterModule.forChild(routes), RouterModule] });
36
+ }
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebListModule, decorators: [{
38
+ type: NgModule,
39
+ args: [{
40
+ imports: [RouterModule.forChild(routes)],
41
+ exports: [RouterModule],
42
+ }]
43
+ }] });
44
+
45
+ export { EWebListModule };
46
+ //# sourceMappingURL=e-web-index.module-H56VTQVA.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"e-web-index.module-H56VTQVA.mjs","sources":["../../../../packages/runtime/e-web/list/index.module.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\nimport { Routes, RouterModule } from '@angular/router';\nimport { aclCanActivate } from '@delon/acl';\n\nconst routes: Routes = [\n {\n path: '',\n loadChildren: () => import('./default/index.module').then((m) => m.EWebListDefaultModule),\n },\n {\n path: 'new',\n loadChildren: () => import('./new/index.module').then((m) => m.EWebListNewModule),\n },\n // {\n // path: ':x/deeplist',\n // loadChildren: () => import('./deep/index.module').then((m) => m.EWebListDeepModule),\n // },\n // {\n // path: ':x/deepform',\n // loadChildren: () => import('../form/deep/index.module').then((m) => m.EWebFormDeepModule),\n // },\n // {\n // path: ':x/deepreport',\n // loadChildren: () => import('../report/deep/index.module').then((m) => m.EWebReportDeepModule),\n // },\n // {\n // path: ':x/deepsingle',\n // loadChildren: () => import('../single/deep/index.module').then((m) => m.EWebSingleDeepModule),\n // }\n];\n\n@NgModule({\n imports: [RouterModule.forChild(routes)],\n exports: [RouterModule],\n})\nexport class EWebListModule { }\n"],"names":[],"mappings":";;;;;AAIA,MAAM,MAAM,GAAW;AACrB,IAAA;AACE,QAAA,IAAI,EAAE,EAAE;AACR,QAAA,YAAY,EAAE,MAAM,OAAO,mCAAwB,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,qBAAqB,CAAC;AAC1F,KAAA;AACD,IAAA;AACE,QAAA,IAAI,EAAE,KAAK;AACX,QAAA,YAAY,EAAE,MAAM,OAAO,mCAAoB,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,iBAAiB,CAAC;AAClF,KAAA;;;;;;;;;;;;;;;;;CAiBF;MAMY,cAAc,CAAA;wGAAd,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;AAAd,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,wCAFf,YAAY,CAAA,EAAA,CAAA;yGAEX,cAAc,EAAA,OAAA,EAAA,CAHf,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,EAC7B,YAAY,CAAA,EAAA,CAAA;;4FAEX,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,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,93 @@
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 * as i5 from '@ebuilding/abc/header';
13
+ import { GramDeonHeaderModule } from '@ebuilding/abc/header';
14
+ import { Decrypt } from '@ebuilding/base/shared.util/encryption';
15
+ import * as i1 from '@delon/theme';
16
+
17
+ class EWebReportDeepComponent {
18
+ http;
19
+ router;
20
+ activatedRoute;
21
+ config = null;
22
+ source = null;
23
+ argInfo = null;
24
+ constructor(http, router, activatedRoute) {
25
+ this.http = http;
26
+ this.router = router;
27
+ this.activatedRoute = activatedRoute;
28
+ this.getPageData();
29
+ }
30
+ ngOnInit() {
31
+ }
32
+ getPageData() {
33
+ this.activatedRoute.params.subscribe((a) => {
34
+ this.activatedRoute.queryParams.subscribe((b) => {
35
+ if (b) {
36
+ if (b?.source) {
37
+ this.source = b.source;
38
+ }
39
+ if (b?.argInfo) {
40
+ this.argInfo = Decrypt(b.argInfo);
41
+ }
42
+ }
43
+ this.config = {
44
+ id: a.id,
45
+ parameterData: this.argInfo
46
+ };
47
+ });
48
+ });
49
+ }
50
+ btnBack() {
51
+ if (this.source) {
52
+ this.router.navigateByUrl(Decrypt(this.source));
53
+ }
54
+ else {
55
+ window.history.go(-1);
56
+ }
57
+ }
58
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebReportDeepComponent, deps: [{ token: i1._HttpClient }, { token: i2.Router }, { token: i2.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
59
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: EWebReportDeepComponent, isStandalone: true, selector: "eweb-report-deep", ngImport: i0, template: "<gram-header (btnBackClick)=\"btnBack()\"> </gram-header>\n<ng-container *ngIf=\"config\">\n <pre-report-page [config]=\"config\">\n </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 15px}:host ::ng-deep gram-header{margin-bottom:12px;border-bottom:0}:host ::ng-deep pre-report-page .default-work{background:unset}\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"] }, { kind: "ngmodule", type: GramDeonHeaderModule }, { kind: "component", type: i5.GramDeonHeaderComponent, selector: "gram-header", inputs: ["isTitle", "isTitleClick", "isBack", "title"], outputs: ["titleClick", "btnBackClick"] }] });
60
+ }
61
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebReportDeepComponent, decorators: [{
62
+ type: Component,
63
+ args: [{ selector: 'eweb-report-deep', imports: [
64
+ CommonModule,
65
+ FormsModule, ReactiveFormsModule,
66
+ NzButtonModule,
67
+ NzIconModule,
68
+ PreReportModule,
69
+ GramDeonHeaderModule
70
+ ], template: "<gram-header (btnBackClick)=\"btnBack()\"> </gram-header>\n<ng-container *ngIf=\"config\">\n <pre-report-page [config]=\"config\">\n </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 15px}:host ::ng-deep gram-header{margin-bottom:12px;border-bottom:0}:host ::ng-deep pre-report-page .default-work{background:unset}\n"] }]
71
+ }], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.Router }, { type: i2.ActivatedRoute }] });
72
+
73
+ const routes = [
74
+ {
75
+ path: ':id',
76
+ component: EWebReportDeepComponent,
77
+ }
78
+ ];
79
+ class EWebReportDeepModule {
80
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebReportDeepModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
81
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWebReportDeepModule, imports: [i2.RouterModule], exports: [RouterModule] });
82
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebReportDeepModule, imports: [RouterModule.forChild(routes), RouterModule] });
83
+ }
84
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebReportDeepModule, decorators: [{
85
+ type: NgModule,
86
+ args: [{
87
+ imports: [RouterModule.forChild(routes)],
88
+ exports: [RouterModule],
89
+ }]
90
+ }] });
91
+
92
+ export { EWebReportDeepModule };
93
+ //# sourceMappingURL=e-web-index.module-cGZ2yMVA.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"e-web-index.module-cGZ2yMVA.mjs","sources":["../../../../packages/runtime/e-web/report/deep/main/index.ts","../../../../packages/runtime/e-web/report/deep/main/index.html","../../../../packages/runtime/e-web/report/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 { PreReportModule } from '@ebuilding/biz-list/pre-control/pre-report';\nimport { GramDeonHeaderModule } from '@ebuilding/abc/header';\nimport { Decrypt } from '@ebuilding/base/shared.util/encryption';\n\n@Component({\n selector: 'eweb-report-deep',\n templateUrl: './index.html',\n styleUrls: ['./index.less'],\n imports: [\n CommonModule,\n FormsModule, ReactiveFormsModule,\n NzButtonModule,\n NzIconModule,\n PreReportModule,\n GramDeonHeaderModule\n ]\n})\nexport class EWebReportDeepComponent 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 btnBack() {\n if (this.source) {\n this.router.navigateByUrl(Decrypt(this.source));\n } else {\n window.history.go(-1);\n }\n }\n}\n","<gram-header (btnBackClick)=\"btnBack()\"> </gram-header>\n<ng-container *ngIf=\"config\">\n <pre-report-page [config]=\"config\">\n </pre-report-page>\n</ng-container>","import { NgModule } from '@angular/core';\nimport { Routes, RouterModule } from '@angular/router';\nimport { EWebReportDeepComponent } from './main';\nimport { aclCanActivate } from '@delon/acl';\n\nconst routes: Routes = [\n {\n path: ':id',\n component: EWebReportDeepComponent,\n }\n];\n\n@NgModule({\n imports: [RouterModule.forChild(routes)],\n exports: [RouterModule],\n})\nexport class EWebReportDeepModule { }\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;MAwBa,uBAAuB,C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,QAAA,EAAA,gLAAA,EAAA,MAAA,EAAA,CAAA,6OAAA,CAAA,EAAA;;;AEjBH,MAAM,MAAM,GAAW;AACrB,IAAA;AACE,QAAA,IAAI,EAAE,KAAK;AACX,QAAA,SAAS,EAAE,uBAAuB;AACnC;CACF;MAMY,oBAAoB,CAAA;wGAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;AAApB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,wCAFrB,YAAY,CAAA,EAAA,CAAA;yGAEX,oBAAoB,EAAA,OAAA,EAAA,CAHrB,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,EAC7B,YAAY,CAAA,EAAA,CAAA;;4FAEX,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAJhC,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,30 @@
1
+ import * as i0 from '@angular/core';
2
+ import { NgModule } from '@angular/core';
3
+ import * as i2 from '@angular/router';
4
+ import { RouterModule } from '@angular/router';
5
+
6
+ const routes = [
7
+ {
8
+ path: '',
9
+ loadChildren: () => import('./e-web-index.module-DVJ8MkSd.mjs').then((m) => m.EWebReportDefaultModule),
10
+ },
11
+ {
12
+ path: 'new',
13
+ loadChildren: () => import('./e-web-index.module-C0vAaHfh.mjs').then((m) => m.EWebReportNewModule),
14
+ }
15
+ ];
16
+ class EWebReportModule {
17
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebReportModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
18
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWebReportModule, imports: [i2.RouterModule], exports: [RouterModule] });
19
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebReportModule, imports: [RouterModule.forChild(routes), RouterModule] });
20
+ }
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebReportModule, decorators: [{
22
+ type: NgModule,
23
+ args: [{
24
+ imports: [RouterModule.forChild(routes)],
25
+ exports: [RouterModule],
26
+ }]
27
+ }] });
28
+
29
+ export { EWebReportModule };
30
+ //# sourceMappingURL=e-web-index.module-cKHBIc7d.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"e-web-index.module-cKHBIc7d.mjs","sources":["../../../../packages/runtime/e-web/report/index.module.ts"],"sourcesContent":["\nimport { NgModule } from '@angular/core';\nimport { Routes, RouterModule } from '@angular/router';\nimport { aclCanActivate } from '@delon/acl';\n\nconst routes: Routes = [\n {\n path: '',\n loadChildren: () => import('./default/index.module').then((m) => m.EWebReportDefaultModule),\n },\n {\n path: 'new',\n loadChildren: () => import('./new/index.module').then((m) => m.EWebReportNewModule),\n }\n];\n\n@NgModule({\n imports: [RouterModule.forChild(routes)],\n exports: [RouterModule],\n})\nexport class EWebReportModule { }\n"],"names":[],"mappings":";;;;;AAKA,MAAM,MAAM,GAAW;AACrB,IAAA;AACE,QAAA,IAAI,EAAE,EAAE;AACR,QAAA,YAAY,EAAE,MAAM,OAAO,mCAAwB,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,uBAAuB,CAAC;AAC5F,KAAA;AACD,IAAA;AACE,QAAA,IAAI,EAAE,KAAK;AACX,QAAA,YAAY,EAAE,MAAM,OAAO,mCAAoB,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,mBAAmB,CAAC;AACpF;CACF;MAMY,gBAAgB,CAAA;wGAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;AAAhB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,wCAFjB,YAAY,CAAA,EAAA,CAAA;yGAEX,gBAAgB,EAAA,OAAA,EAAA,CAHjB,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,EAC7B,YAAY,CAAA,EAAA,CAAA;;4FAEX,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAJ5B,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;;;;;"}