@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,84 @@
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 { GramDeonHeaderModule } from '@ebuilding/abc/header';
13
+ import { Decrypt } from '@ebuilding/base/shared.util/encryption';
14
+ import * as i1 from '@delon/theme';
15
+
16
+ class EWebReportNewComponent {
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.activatedRoute.params.subscribe((a) => {
32
+ this.activatedRoute.queryParams.subscribe((b) => {
33
+ if (b) {
34
+ if (b?.argInfo) {
35
+ this.argInfo = Decrypt(b.argInfo);
36
+ }
37
+ }
38
+ this.config = {
39
+ id: a.id,
40
+ parameterData: this.argInfo
41
+ };
42
+ });
43
+ });
44
+ }
45
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebReportNewComponent, deps: [{ token: i1._HttpClient }, { token: i2.Router }, { token: i2.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
46
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: EWebReportNewComponent, isStandalone: true, selector: "eweb-report-new", ngImport: i0, template: "<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 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 }] });
47
+ }
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebReportNewComponent, decorators: [{
49
+ type: Component,
50
+ args: [{ selector: 'eweb-report-new', imports: [
51
+ CommonModule,
52
+ FormsModule, ReactiveFormsModule,
53
+ NzButtonModule,
54
+ NzIconModule,
55
+ PreReportModule,
56
+ GramDeonHeaderModule
57
+ ], template: "<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 pre-report-page .default-work{background:unset}\n"] }]
58
+ }], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.Router }, { type: i2.ActivatedRoute }] });
59
+
60
+ const routes = [
61
+ {
62
+ path: ':id',
63
+ component: EWebReportNewComponent,
64
+ },
65
+ {
66
+ path: ':id/deep',
67
+ loadChildren: () => import('./e-web-deep.module-CbGhHXVH.mjs').then((m) => m.EWebDeepModule),
68
+ }
69
+ ];
70
+ class EWebReportNewModule {
71
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebReportNewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
72
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWebReportNewModule, imports: [i2.RouterModule], exports: [RouterModule] });
73
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebReportNewModule, imports: [RouterModule.forChild(routes), RouterModule] });
74
+ }
75
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebReportNewModule, decorators: [{
76
+ type: NgModule,
77
+ args: [{
78
+ imports: [RouterModule.forChild(routes)],
79
+ exports: [RouterModule],
80
+ }]
81
+ }] });
82
+
83
+ export { EWebReportNewModule };
84
+ //# sourceMappingURL=e-web-index.module-C0vAaHfh.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"e-web-index.module-C0vAaHfh.mjs","sources":["../../../../packages/runtime/e-web/report/new/main/index.ts","../../../../packages/runtime/e-web/report/new/main/index.html","../../../../packages/runtime/e-web/report/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 { 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-new',\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 EWebReportNewComponent 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.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 parameterData: this.argInfo\n }\n });\n });\n }\n\n}\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 { EWebReportNewComponent } from './main';\nimport { aclCanActivate } from '@delon/acl';\n\nconst routes: Routes = [\n {\n path: ':id',\n component: EWebReportNewComponent,\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 EWebReportNewModule { }\n"],"names":[],"mappings":";;;;;;;;;;;;;;;MAwBa,sBAAsB,CAAA;AAId,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;QACT,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,EAAE;oBACR,aAAa,EAAE,IAAI,CAAC;iBACrB;AACH,aAAC,CAAC;AACJ,SAAC,CAAC;;wGAvBO,sBAAsB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,WAAA,EAAA,EAAA,EAAA,KA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U;AAChB,QAAA,YAAY,EAAE,MAAM,OAAO,kCAAmB,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,cAAc,CAAC;AAC9E;CACF;MAMY,mBAAmB,CAAA;wGAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;AAAnB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,wCAFpB,YAAY,CAAA,EAAA,CAAA;yGAEX,mBAAmB,EAAA,OAAA,EAAA,CAHpB,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,EAC7B,YAAY,CAAA,EAAA,CAAA;;4FAEX,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAJ/B,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,94 @@
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 i5 from '@ebuilding/abc/header';
11
+ import { GramDeonHeaderModule } from '@ebuilding/abc/header';
12
+ import { Decrypt } from '@ebuilding/base/shared.util/encryption';
13
+ import * as i1 from '@delon/theme';
14
+
15
+ class EWebSingleDeepComponent {
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
+ btnBack() {
49
+ if (this.source) {
50
+ this.router.navigateByUrl(Decrypt(this.source));
51
+ }
52
+ else {
53
+ window.history.go(-1);
54
+ }
55
+ }
56
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleDeepComponent, deps: [{ token: i1._HttpClient }, { token: i2.Router }, { token: i2.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
57
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: EWebSingleDeepComponent, isStandalone: true, selector: "eweb-single-deep", ngImport: i0, template: "<gram-header (btnBackClick)=\"btnBack()\"> </gram-header>\n<ng-container *ngIf=\"config\">\n <single-main [config]=\"config\"></single-main>\n</ng-container>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 5px 5px 15px;overflow:hidden}:host ::ng-deep gram-header{margin-bottom:12px;border-bottom:0}\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: PreSingleModule }, { kind: "component", type: i4.PreSingleComponent, selector: "single-main", 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"] }] });
58
+ }
59
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleDeepComponent, decorators: [{
60
+ type: Component,
61
+ args: [{ selector: 'eweb-single-deep', imports: [
62
+ CommonModule,
63
+ FormsModule,
64
+ ReactiveFormsModule,
65
+ PreSingleModule,
66
+ GramDeonHeaderModule
67
+ ], template: "<gram-header (btnBackClick)=\"btnBack()\"> </gram-header>\n<ng-container *ngIf=\"config\">\n <single-main [config]=\"config\"></single-main>\n</ng-container>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 5px 5px 15px;overflow:hidden}:host ::ng-deep gram-header{margin-bottom:12px;border-bottom:0}\n"] }]
68
+ }], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.Router }, { type: i2.ActivatedRoute }] });
69
+
70
+ const routes = [
71
+ {
72
+ path: ':id',
73
+ component: EWebSingleDeepComponent,
74
+ },
75
+ {
76
+ path: ':id/deep',
77
+ loadChildren: () => import('./e-web-deep.module-CbGhHXVH.mjs').then((m) => m.EWebDeepModule),
78
+ }
79
+ ];
80
+ class EWebSingleDeepModule {
81
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleDeepModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
82
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleDeepModule, imports: [i2.RouterModule], exports: [RouterModule] });
83
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleDeepModule, imports: [RouterModule.forChild(routes), RouterModule] });
84
+ }
85
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleDeepModule, decorators: [{
86
+ type: NgModule,
87
+ args: [{
88
+ imports: [RouterModule.forChild(routes)],
89
+ exports: [RouterModule],
90
+ }]
91
+ }] });
92
+
93
+ export { EWebSingleDeepModule };
94
+ //# sourceMappingURL=e-web-index.module-C7-Zm8xS.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"e-web-index.module-C7-Zm8xS.mjs","sources":["../../../../packages/runtime/e-web/single/deep/main/index.ts","../../../../packages/runtime/e-web/single/deep/main/index.html","../../../../packages/runtime/e-web/single/deep/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';\nimport { GramDeonHeaderModule } from '@ebuilding/abc/header';\nimport { Decrypt } from '@ebuilding/base/shared.util/encryption';\n\n@Component({\n selector: 'eweb-single-deep',\n templateUrl: './index.html',\n styleUrls: ['./index.less'],\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n PreSingleModule,\n GramDeonHeaderModule\n ]\n})\nexport class EWebSingleDeepComponent implements OnInit {\n\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 btnBack() {\n if (this.source) {\n this.router.navigateByUrl(Decrypt(this.source));\n } else {\n window.history.go(-1);\n }\n }\n}\n\n","<gram-header (btnBackClick)=\"btnBack()\"> </gram-header>\n<ng-container *ngIf=\"config\">\n <single-main [config]=\"config\"></single-main>\n</ng-container>","import { NgModule } from '@angular/core';\nimport { Routes, RouterModule } from '@angular/router';\nimport { EWebSingleDeepComponent } from './main';\nimport { aclCanActivate } from '@delon/acl';\n\nconst routes: Routes = [\n {\n path: ':id',\n component: EWebSingleDeepComponent,\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 EWebSingleDeepModule { }\n"],"names":[],"mappings":";;;;;;;;;;;;;;MAsBa,uBAAuB,CAAA;AAMf,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;QACT,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,MAAM,EAAE;AACb,wBAAA,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,MAAM;;AAExB,oBAAA,IAAI,CAAC,EAAE,OAAO,EAAE;wBACd,IAAI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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,110 @@
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 EWebFormDeepComponent {
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
+ formType = null;
35
+ dataId = null;
36
+ config = null;
37
+ constructor(http, router, activatedRoute, commAPISrv) {
38
+ this.http = http;
39
+ this.router = router;
40
+ this.activatedRoute = activatedRoute;
41
+ this.commAPISrv = commAPISrv;
42
+ this.activatedRoute.params.subscribe((item) => {
43
+ this.moduleCode = item?.moduleCode;
44
+ this.layoutId = item?.layoutId;
45
+ this.formType = item?.type;
46
+ this.dataId = item?.id;
47
+ //this.getPageData();
48
+ });
49
+ }
50
+ ngOnInit() { }
51
+ ngOnDestroy() { }
52
+ getPageData() {
53
+ this.layoutData = null;
54
+ this.loading = true;
55
+ let address = this.commAPISrv.getLayoutAddress(this.moduleCode, this.layoutId);
56
+ if (address) {
57
+ this.http.post(address).subscribe((res) => {
58
+ if (res.success) {
59
+ this.layoutData = res.result;
60
+ }
61
+ this.getFormDesign();
62
+ });
63
+ }
64
+ else {
65
+ this.loading = false;
66
+ }
67
+ }
68
+ /*
69
+ 获取设计
70
+ */
71
+ getFormDesign() {
72
+ this.config = {
73
+ formId: this.layoutData.formId,
74
+ formType: this.formType,
75
+ moduleCode: this.moduleCode,
76
+ };
77
+ this.loading = false;
78
+ }
79
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebFormDeepComponent, deps: [{ token: i1._HttpClient }, { token: i2.Router }, { token: i2.ActivatedRoute }, { token: i3.CommAPIService }], target: i0.ɵɵFactoryTarget.Component });
80
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: EWebFormDeepComponent, isStandalone: true, selector: "eweb-form-deep", 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%}:host ::ng-deep .work-content{padding:0}\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"] }] });
81
+ }
82
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebFormDeepComponent, decorators: [{
83
+ type: Component,
84
+ args: [{ selector: 'eweb-form-deep', providers: [CommAPIService], imports: [
85
+ RuntimeSharedImportsModule,
86
+ CommFormModule
87
+ ], 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%}:host ::ng-deep .work-content{padding:0}\n"] }]
88
+ }], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.Router }, { type: i2.ActivatedRoute }, { type: i3.CommAPIService }] });
89
+
90
+ const routes = [
91
+ {
92
+ path: ':layoutId/:type/:id',
93
+ component: EWebFormDeepComponent,
94
+ }
95
+ ];
96
+ class EWebFormDeepModule {
97
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebFormDeepModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
98
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWebFormDeepModule, imports: [i2.RouterModule], exports: [RouterModule] });
99
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebFormDeepModule, imports: [RouterModule.forChild(routes), RouterModule] });
100
+ }
101
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebFormDeepModule, decorators: [{
102
+ type: NgModule,
103
+ args: [{
104
+ imports: [RouterModule.forChild(routes)],
105
+ exports: [RouterModule],
106
+ }]
107
+ }] });
108
+
109
+ export { EWebFormDeepModule };
110
+ //# sourceMappingURL=e-web-index.module-CYZiqC3a.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"e-web-index.module-CYZiqC3a.mjs","sources":["../../../../packages/runtime/e-web/form/deep/main/index.ts","../../../../packages/runtime/e-web/form/deep/main/index.html","../../../../packages/runtime/e-web/form/deep/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-deep',\n templateUrl: `./index.html`,\n styleUrls: ['./index.less'],\n providers: [CommAPIService],\n imports: [\n RuntimeSharedImportsModule,\n CommFormModule\n ]\n})\nexport class EWebFormDeepComponent 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 formType: any = null;\n dataId: 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.formType = item?.type;\n this.dataId = item?.id;\n //this.getPageData();\n });\n }\n\n ngOnInit(): void { }\n\n ngOnDestroy() { }\n\n getPageData() {\n this.layoutData = null;\n this.loading = true;\n let address: any = this.commAPISrv.getLayoutAddress(this.moduleCode, this.layoutId);\n if (address) {\n this.http.post(address).subscribe((res: any) => {\n if (res.success) {\n this.layoutData = res.result;\n }\n this.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: this.formType,\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 { EWebFormDeepComponent } from './main';\nimport { aclCanActivate } from '@delon/acl';\n\nconst routes: Routes = [\n {\n path: ':layoutId/:type/:id',\n component: EWebFormDeepComponent,\n }\n];\n\n@NgModule({\n imports: [RouterModule.forChild(routes)],\n exports: [RouterModule],\n})\nexport class EWebFormDeepModule { }\n"],"names":["i4"],"mappings":";;;;;;;;;;;;;;;MAkBa,qBAAqB,CAAA;AAuBb,IAAA,IAAA;AAA0B,IAAA,MAAA;AAAuB,IAAA,cAAA;AAAuC,IAAA,UAAA;IAtB3G,OAAO,GAAY,IAAI;AAEvB;;AAEG;IACH,UAAU,GAAQ,IAAI;AAEtB;;AAEG;IACH,QAAQ,GAAQ,IAAI;AAEpB;;AAEG;IACH,UAAU,GAAQ,IAAI;IAEtB,QAAQ,GAAQ,IAAI;IACpB,MAAM,GAAQ,IAAI;IAElB,MAAM,GAAQ,IAAI;AAElB,IAAA,WAAA,CAAmB,IAAiB,EAAS,MAAc,EAAS,cAA8B,EAAS,UAA0B,EAAA;QAAlH,IAAI,CAA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A,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;AAAlB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,wCAFnB,YAAY,CAAA,EAAA,CAAA;yGAEX,kBAAkB,EAAA,OAAA,EAAA,CAHnB,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,EAC7B,YAAY,CAAA,EAAA,CAAA;;4FAEX,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAJ9B,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,85 @@
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 { GramDeonHeaderModule } from '@ebuilding/abc/header';
11
+ import { Decrypt } from '@ebuilding/base/shared.util/encryption';
12
+ import * as i1 from '@delon/theme';
13
+
14
+ class EWebSingleComponent {
15
+ http;
16
+ router;
17
+ activatedRoute;
18
+ config = null;
19
+ source = null;
20
+ constructor(http, router, activatedRoute) {
21
+ this.http = http;
22
+ this.router = router;
23
+ this.activatedRoute = activatedRoute;
24
+ }
25
+ ngOnInit() {
26
+ this.activatedRoute.params.subscribe((a) => {
27
+ this.activatedRoute.queryParams.subscribe((b) => {
28
+ if (b) {
29
+ if (b?.source) {
30
+ this.source = b.source;
31
+ }
32
+ }
33
+ this.config = {
34
+ id: a.id
35
+ };
36
+ });
37
+ });
38
+ }
39
+ btnBack() {
40
+ if (this.source) {
41
+ this.router.navigateByUrl(Decrypt(this.source));
42
+ }
43
+ else {
44
+ window.history.go(-1);
45
+ }
46
+ }
47
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleComponent, deps: [{ token: i1._HttpClient }, { token: i2.Router }, { token: i2.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
48
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: EWebSingleComponent, isStandalone: true, selector: "eweb-single", ngImport: i0, template: "<ng-container *ngIf=\"config\">\n <single-main [config]=\"config\"></single-main>\n</ng-container>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 5px 5px 15px;overflow:hidden}:host ::ng-deep gram-header{margin-bottom:12px;border-bottom:0}\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: PreSingleModule }, { kind: "component", type: i4.PreSingleComponent, selector: "single-main", inputs: ["config"], outputs: ["btnBackEvent", "loadAfter"] }, { kind: "ngmodule", type: GramDeonHeaderModule }] });
49
+ }
50
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleComponent, decorators: [{
51
+ type: Component,
52
+ args: [{ selector: 'eweb-single', imports: [
53
+ CommonModule,
54
+ FormsModule,
55
+ ReactiveFormsModule,
56
+ PreSingleModule,
57
+ GramDeonHeaderModule
58
+ ], template: "<ng-container *ngIf=\"config\">\n <single-main [config]=\"config\"></single-main>\n</ng-container>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 5px 5px 15px;overflow:hidden}:host ::ng-deep gram-header{margin-bottom:12px;border-bottom:0}\n"] }]
59
+ }], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.Router }, { type: i2.ActivatedRoute }] });
60
+
61
+ const routes = [
62
+ {
63
+ path: ':id',
64
+ component: EWebSingleComponent,
65
+ },
66
+ {
67
+ path: ':id/deep',
68
+ loadChildren: () => import('./e-web-deep.module-CbGhHXVH.mjs').then((m) => m.EWebDeepModule),
69
+ }
70
+ ];
71
+ class EWebSingleDefaultModule {
72
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleDefaultModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
73
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleDefaultModule, imports: [i2.RouterModule], exports: [RouterModule] });
74
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleDefaultModule, imports: [RouterModule.forChild(routes), RouterModule] });
75
+ }
76
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleDefaultModule, decorators: [{
77
+ type: NgModule,
78
+ args: [{
79
+ imports: [RouterModule.forChild(routes)],
80
+ exports: [RouterModule],
81
+ }]
82
+ }] });
83
+
84
+ export { EWebSingleDefaultModule };
85
+ //# sourceMappingURL=e-web-index.module-CfC5tqAw.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"e-web-index.module-CfC5tqAw.mjs","sources":["../../../../packages/runtime/e-web/single/default/main/index.ts","../../../../packages/runtime/e-web/single/default/main/index.html","../../../../packages/runtime/e-web/single/default/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';\nimport { GramDeonHeaderModule } from '@ebuilding/abc/header';\nimport { Decrypt } from '@ebuilding/base/shared.util/encryption';\n\n@Component({\n selector: 'eweb-single',\n templateUrl: './index.html',\n styleUrls: ['./index.less'],\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n PreSingleModule,\n GramDeonHeaderModule\n ]\n})\nexport class EWebSingleComponent implements OnInit {\n\n config: any = null;\n source: any = null;\n\n constructor(public http: _HttpClient, public router: Router, private activatedRoute: ActivatedRoute) { }\n ngOnInit(): void {\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 }\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\n","<ng-container *ngIf=\"config\">\n <single-main [config]=\"config\"></single-main>\n</ng-container>","import { NgModule } from '@angular/core';\nimport { Routes, RouterModule } from '@angular/router';\nimport { EWebSingleComponent } from './main';\nimport { aclCanActivate } from '@delon/acl';\n\nconst routes: Routes = [\n {\n path: ':id',\n component: EWebSingleComponent,\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 EWebSingleDefaultModule { }\n"],"names":[],"mappings":";;;;;;;;;;;;;MAsBa,mBAAmB,CAAA;AAKX,IAAA,IAAA;AAA0B,IAAA,MAAA;AAAwB,IAAA,cAAA;IAHrE,MAAM,GAAQ,IAAI;IAClB,MAAM,GAAQ,IAAI;AAElB,IAAA,WAAA,CAAmB,IAAiB,EAAS,MAAc,EAAU,cAA8B,EAAA;QAAhF,IAAI,CAAA,IAAA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AA,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;;;;;"}
@@ -0,0 +1,81 @@
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 { GramDeonHeaderModule } from '@ebuilding/abc/header';
11
+ import { Decrypt } from '@ebuilding/base/shared.util/encryption';
12
+ import * as i1 from '@delon/theme';
13
+
14
+ class EWebSingleNewComponent {
15
+ http;
16
+ router;
17
+ activatedRoute;
18
+ config = null;
19
+ argInfo = null;
20
+ constructor(http, router, activatedRoute) {
21
+ this.http = http;
22
+ this.router = router;
23
+ this.activatedRoute = activatedRoute;
24
+ this.getPageData();
25
+ }
26
+ ngOnInit() {
27
+ }
28
+ getPageData() {
29
+ this.activatedRoute.params.subscribe((a) => {
30
+ this.activatedRoute.queryParams.subscribe((b) => {
31
+ if (b) {
32
+ if (b?.argInfo) {
33
+ this.argInfo = Decrypt(b.argInfo);
34
+ }
35
+ }
36
+ this.config = {
37
+ id: a.id,
38
+ parameterData: this.argInfo
39
+ };
40
+ });
41
+ });
42
+ }
43
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleNewComponent, deps: [{ token: i1._HttpClient }, { token: i2.Router }, { token: i2.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
44
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: EWebSingleNewComponent, isStandalone: true, selector: "eweb-single-new", ngImport: i0, template: "<ng-container *ngIf=\"config\">\n <single-main [config]=\"config\"></single-main>\n</ng-container>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 5px 5px 15px;overflow:hidden}\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: PreSingleModule }, { kind: "component", type: i4.PreSingleComponent, selector: "single-main", inputs: ["config"], outputs: ["btnBackEvent", "loadAfter"] }, { kind: "ngmodule", type: GramDeonHeaderModule }] });
45
+ }
46
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleNewComponent, decorators: [{
47
+ type: Component,
48
+ args: [{ selector: 'eweb-single-new', imports: [
49
+ CommonModule,
50
+ FormsModule,
51
+ ReactiveFormsModule,
52
+ PreSingleModule,
53
+ GramDeonHeaderModule
54
+ ], template: "<ng-container *ngIf=\"config\">\n <single-main [config]=\"config\"></single-main>\n</ng-container>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:15px 5px 5px 15px;overflow:hidden}\n"] }]
55
+ }], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.Router }, { type: i2.ActivatedRoute }] });
56
+
57
+ const routes = [
58
+ {
59
+ path: ':id',
60
+ component: EWebSingleNewComponent,
61
+ },
62
+ {
63
+ path: ':id/deep',
64
+ loadChildren: () => import('./e-web-deep.module-CbGhHXVH.mjs').then((m) => m.EWebDeepModule),
65
+ }
66
+ ];
67
+ class EWebSingleNewModule {
68
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleNewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
69
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleNewModule, imports: [i2.RouterModule], exports: [RouterModule] });
70
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleNewModule, imports: [RouterModule.forChild(routes), RouterModule] });
71
+ }
72
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EWebSingleNewModule, decorators: [{
73
+ type: NgModule,
74
+ args: [{
75
+ imports: [RouterModule.forChild(routes)],
76
+ exports: [RouterModule],
77
+ }]
78
+ }] });
79
+
80
+ export { EWebSingleNewModule };
81
+ //# sourceMappingURL=e-web-index.module-CjF6piLu.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"e-web-index.module-CjF6piLu.mjs","sources":["../../../../packages/runtime/e-web/single/new/main/index.ts","../../../../packages/runtime/e-web/single/new/main/index.html","../../../../packages/runtime/e-web/single/new/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';\nimport { GramDeonHeaderModule } from '@ebuilding/abc/header';\nimport { Decrypt } from '@ebuilding/base/shared.util/encryption';\n\n@Component({\n selector: 'eweb-single-new',\n templateUrl: './index.html',\n styleUrls: ['./index.less'],\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n PreSingleModule,\n GramDeonHeaderModule\n ]\n})\nexport class EWebSingleNewComponent implements OnInit {\n\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.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 parameterData: this.argInfo\n }\n });\n });\n }\n}\n\n","<ng-container *ngIf=\"config\">\n <single-main [config]=\"config\"></single-main>\n</ng-container>","import { NgModule } from '@angular/core';\nimport { Routes, RouterModule } from '@angular/router';\nimport { EWebSingleNewComponent } from './main';\nimport { aclCanActivate } from '@delon/acl';\n\nconst routes: Routes = [\n {\n path: ':id',\n component: EWebSingleNewComponent,\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 EWebSingleNewModule { }\n"],"names":[],"mappings":";;;;;;;;;;;;;MAsBa,sBAAsB,CAAA;AAKd,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;QACT,IAA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