@ebuilding/biz-form 2.0.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 (100) hide show
  1. package/LICENSE +0 -0
  2. package/README.md +0 -0
  3. package/advanced/index.d.ts +1 -0
  4. package/advanced/src/index.module.d.ts +8 -0
  5. package/advanced/src/main/index.d.ts +29 -0
  6. package/advanced/src/public_api.d.ts +2 -0
  7. package/basic/index.d.ts +1 -0
  8. package/basic/src/basic.d.ts +53 -0
  9. package/basic/src/basic.drawer.d.ts +30 -0
  10. package/basic/src/default/index.d.ts +27 -0
  11. package/basic/src/index.module.d.ts +9 -0
  12. package/basic/src/main/index.d.ts +32 -0
  13. package/basic/src/public_api.d.ts +3 -0
  14. package/custom/index.d.ts +1 -0
  15. package/custom/src/default/index.d.ts +30 -0
  16. package/custom/src/index.module.d.ts +9 -0
  17. package/custom/src/main/index.d.ts +27 -0
  18. package/custom/src/public_api.d.ts +3 -0
  19. package/design/index.d.ts +1 -0
  20. package/design/src/default/index.d.ts +25 -0
  21. package/design/src/index.module.d.ts +8 -0
  22. package/design/src/public_api.d.ts +2 -0
  23. package/empInfo/index.d.ts +1 -0
  24. package/empInfo/src/children/index.d.ts +28 -0
  25. package/empInfo/src/default/index.d.ts +34 -0
  26. package/empInfo/src/index.module.d.ts +9 -0
  27. package/empInfo/src/public_api.d.ts +2 -0
  28. package/empInfo/src/service.d.ts +14 -0
  29. package/fesm2022/advanced.mjs +114 -0
  30. package/fesm2022/advanced.mjs.map +1 -0
  31. package/fesm2022/basic.mjs +431 -0
  32. package/fesm2022/basic.mjs.map +1 -0
  33. package/fesm2022/custom.mjs +156 -0
  34. package/fesm2022/custom.mjs.map +1 -0
  35. package/fesm2022/design.mjs +109 -0
  36. package/fesm2022/design.mjs.map +1 -0
  37. package/fesm2022/ebuilding-biz-form.mjs +7 -0
  38. package/fesm2022/ebuilding-biz-form.mjs.map +1 -0
  39. package/fesm2022/empInfo.mjs +273 -0
  40. package/fesm2022/empInfo.mjs.map +1 -0
  41. package/fesm2022/history.mjs +119 -0
  42. package/fesm2022/history.mjs.map +1 -0
  43. package/fesm2022/page.mjs +200 -0
  44. package/fesm2022/page.mjs.map +1 -0
  45. package/fesm2022/preview.mjs +317 -0
  46. package/fesm2022/preview.mjs.map +1 -0
  47. package/fesm2022/rule.mjs +204 -0
  48. package/fesm2022/rule.mjs.map +1 -0
  49. package/fesm2022/service.mjs +813 -0
  50. package/fesm2022/service.mjs.map +1 -0
  51. package/fesm2022/srv.basic.default.mjs +48 -0
  52. package/fesm2022/srv.basic.default.mjs.map +1 -0
  53. package/fesm2022/srv.basic.drawer.mjs +70 -0
  54. package/fesm2022/srv.basic.drawer.mjs.map +1 -0
  55. package/fesm2022/srv.basic.flow.mjs +353 -0
  56. package/fesm2022/srv.basic.flow.mjs.map +1 -0
  57. package/fesm2022/srv.basic.mjs +813 -0
  58. package/fesm2022/srv.basic.mjs.map +1 -0
  59. package/fesm2022/srv.default.service.mjs +186 -0
  60. package/fesm2022/srv.default.service.mjs.map +1 -0
  61. package/fesm2022/srv.form.default.service.mjs +224 -0
  62. package/fesm2022/srv.form.default.service.mjs.map +1 -0
  63. package/fesm2022/srv.form.service.mjs +502 -0
  64. package/fesm2022/srv.form.service.mjs.map +1 -0
  65. package/fesm2022/srv.form.workflow.mjs +573 -0
  66. package/fesm2022/srv.form.workflow.mjs.map +1 -0
  67. package/fesm2022/srv.form2.service.mjs +238 -0
  68. package/fesm2022/srv.form2.service.mjs.map +1 -0
  69. package/fesm2022/srv.formGroup.service.mjs +242 -0
  70. package/fesm2022/srv.formGroup.service.mjs.map +1 -0
  71. package/history/index.d.ts +1 -0
  72. package/history/src/default/index.d.ts +34 -0
  73. package/history/src/index.module.d.ts +8 -0
  74. package/history/src/public_api.d.ts +2 -0
  75. package/index.d.ts +2 -0
  76. package/package.json +100 -0
  77. package/page/index.d.ts +1 -0
  78. package/page/src/default/index.d.ts +35 -0
  79. package/page/src/index.module.d.ts +8 -0
  80. package/page/src/public_api.d.ts +2 -0
  81. package/preview/index.d.ts +1 -0
  82. package/preview/src/default/index.d.ts +37 -0
  83. package/preview/src/index.module.d.ts +9 -0
  84. package/preview/src/main/index.d.ts +38 -0
  85. package/preview/src/public_api.d.ts +3 -0
  86. package/rule/index.d.ts +1 -0
  87. package/rule/src/default/index.d.ts +39 -0
  88. package/rule/src/index.module.d.ts +8 -0
  89. package/rule/src/public_api.d.ts +2 -0
  90. package/service/basic/index.d.ts +166 -0
  91. package/service/basic.default/index.d.ts +25 -0
  92. package/service/basic.drawer/index.d.ts +36 -0
  93. package/service/basic.flow/index.d.ts +103 -0
  94. package/service/default.service/index.d.ts +59 -0
  95. package/service/form.default.service/index.d.ts +45 -0
  96. package/service/form.service/index.d.ts +77 -0
  97. package/service/form.workflow/index.d.ts +139 -0
  98. package/service/form2.service/index.d.ts +51 -0
  99. package/service/formGroup.service/index.d.ts +52 -0
  100. package/service/index.d.ts +1 -0
@@ -0,0 +1,156 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, NgModule } from '@angular/core';
3
+ import * as i11 from '@angular/common';
4
+ import { CommonModule } from '@angular/common';
5
+ import * as i12 from '@angular/forms';
6
+ import { FormsModule, ReactiveFormsModule } from '@angular/forms';
7
+ import * as i4 from '@kre-form/core';
8
+ import { FormlyModule } from '@kre-form/core';
9
+ import { NzFormModule } from 'ng-zorro-antd/form';
10
+ import * as i13 from 'ng-zorro-antd/icon';
11
+ import { NzIconModule } from 'ng-zorro-antd/icon';
12
+ import * as i14 from 'ng-zorro-antd/spin';
13
+ import { NzSpinModule } from 'ng-zorro-antd/spin';
14
+ import * as i15 from 'ng-zorro-antd/button';
15
+ import { NzButtonModule } from 'ng-zorro-antd/button';
16
+ import * as i18 from 'ng-zorro-antd/empty';
17
+ import { NzEmptyModule } from 'ng-zorro-antd/empty';
18
+ import * as i10 from '@ebuilding/base/shared.srv/commApi.service';
19
+ import { CommAPIService } from '@ebuilding/base/shared.srv/commApi.service';
20
+ import * as i19 from '@ebuilding/biz-comm/other/card';
21
+ import { CardContentModule } from '@ebuilding/biz-comm/other/card';
22
+ import { GramDeonAntdModule } from '@ebuilding/biz-comm/type';
23
+ import { BasicDrawerService } from '@ebuilding/biz-form/service/basic.drawer';
24
+ import * as i1 from '@delon/theme';
25
+ import * as i2 from '@ebuilding/base/shared.srv/deon.util';
26
+ import * as i3 from '@ebuilding/base/shared.srv/deon2.util';
27
+ import * as i5 from '@ebuilding/base/shared.srv/global.event';
28
+ import * as i6 from '@ebuilding/base/components/drawer';
29
+ import * as i7 from 'ng-zorro-antd/message';
30
+ import * as i8 from 'ng-zorro-antd/modal';
31
+ import * as i9 from '@ebuilding/base/shared.srv/base-dialog.service';
32
+ import * as i16 from 'ng-zorro-antd/core/transition-patch';
33
+ import * as i17 from 'ng-zorro-antd/core/wave';
34
+ import { BasicDefaultService } from '@ebuilding/biz-form/service/basic.default';
35
+
36
+ class FormCustomComponent extends BasicDrawerService {
37
+ http;
38
+ utilService;
39
+ resetService;
40
+ deonFormBuilder;
41
+ globalSrv;
42
+ drawerRef;
43
+ msg;
44
+ modal;
45
+ dialogService;
46
+ commAPISrv;
47
+ constructor(http, utilService, resetService, deonFormBuilder, globalSrv, drawerRef, msg, modal, dialogService, commAPISrv) {
48
+ super(http, utilService, resetService, deonFormBuilder, globalSrv, msg, modal, drawerRef, dialogService, commAPISrv);
49
+ this.http = http;
50
+ this.utilService = utilService;
51
+ this.resetService = resetService;
52
+ this.deonFormBuilder = deonFormBuilder;
53
+ this.globalSrv = globalSrv;
54
+ this.drawerRef = drawerRef;
55
+ this.msg = msg;
56
+ this.modal = modal;
57
+ this.dialogService = dialogService;
58
+ this.commAPISrv = commAPISrv;
59
+ }
60
+ ngOnInit() {
61
+ this.loading = true;
62
+ this.getPageConfig();
63
+ }
64
+ ngAfterContentChecked() {
65
+ // this.changeDetector.detectChanges();
66
+ }
67
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: FormCustomComponent, deps: [{ token: i1._HttpClient }, { token: i2.DeonFormUtilService }, { token: i3.DeonFormResetService }, { token: i4.FormlyFormBuilder }, { token: i5.GramGlobalService }, { token: i6.NzDrawerRef }, { token: i7.NzMessageService }, { token: i8.NzModalService }, { token: i9.GramBaseDialogService }, { token: i10.CommAPIService }], target: i0.ɵɵFactoryTarget.Component });
68
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: FormCustomComponent, isStandalone: true, selector: "form-custom", providers: [CommAPIService], usesInheritance: true, ngImport: i0, template: "<form [formGroup]=\"form\" (ngSubmit)=\"btnSubmit()\" #defaultForm>\r\n <nz-spin [nzSpinning]=\"loading\" nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\">\r\n <div class=\"deon-from\">\r\n <div class=\"deon-header\" *ngIf=\"isHeader == true && headerConfig != null\">\r\n <card-user [config]=\"headerConfig\" (pageLoadAfter)=\"headerLoadAfter($event)\"></card-user>\r\n </div>\r\n <div class=\"deon-content\">\r\n <ng-container *ngIf=\"fields && fields.length>0;else emptyPage\">\r\n <formly-form [model]=\"model\" [fields]=\"fields\" [options]=\"options\" [form]=\"form\"> </formly-form>\r\n </ng-container>\r\n <ng-template #emptyPage>\r\n <nz-empty *ngIf=\"loading!==true\"></nz-empty>\r\n </ng-template>\r\n </div>\r\n </div>\r\n <ng-container *ngIf=\"izEffect==true;else tmpButton\">\r\n <ng-container *ngIf=\"config.type!='VIEW' && config.type!='PREVIEW'\">\r\n <ng-container [ngSwitch]=\" effectStatus\">\r\n <ng-container *ngSwitchCase=\"'WAITING'\">\r\n <div class=\"deon-button\">\r\n <div class=\"left-box\">\r\n <label class=\"tips\">\u672C\u6761\u6570\u636E\u4E3A\u5F85\u751F\u6548\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C</label>\r\n </div>\r\n <div class=\"right-box\">\r\n <button nz-button nzType=\"default\" (click)=\"btnClose()\" type=\"button\">\r\n <i nz-icon nzType=\"close\"></i>{{buttons.cancel.text}}\r\n </button>\r\n <button nz-button nzType=\"primary\" id=\"save\" [disabled]=\"loading\">\r\n <i nz-icon nzType=\"save\"></i>{{buttons.save.text}}\r\n </button>\r\n </div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'RUNNING'\"> </ng-container>\r\n <ng-container *ngSwitchCase=\"'ERROR'\"> </ng-container>\r\n <ng-container *ngSwitchCase=\"'SUCCESS'\"> </ng-container>\r\n\r\n <ng-container *ngSwitchDefault>\r\n <div class=\"deon-button\">\r\n <div class=\"left-box\"></div>\r\n <div class=\"right-box\">\r\n <ng-container *ngIf=\"buttons.cancel.hide==false\">\r\n <button nz-button nzType=\"default\" (click)=\"btnClose()\" type=\"button\">\r\n <i nz-icon nzType=\"close\"></i>{{buttons.cancel.text}}\r\n </button>\r\n </ng-container>\r\n <ng-container *ngIf=\"buttons.save.hide==false\">\r\n <button nz-button nzType=\"primary\" id=\"confirm\" [disabled]=\"loading\">\r\n <i nz-icon nzType=\"save\"></i>{{buttons.save.text}}\r\n </button>\r\n </ng-container>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ng-container>\r\n </ng-container>\r\n </ng-container>\r\n\r\n <ng-template #tmpButton>\r\n <ng-container *ngIf=\"loading==false\">\r\n <div class=\"left-box\"></div>\r\n <div class=\"right-box\">\r\n <div class=\"deon-button\" *ngIf=\"config.type!='VIEW' && config.type!='PREVIEW'\">\r\n <button nz-button nzType=\"default\" (click)=\"btnClose()\" type=\"button\">\r\n <i nz-icon nzType=\"close\"></i>{{buttons.cancel.text}}\r\n </button>\r\n <button nz-button nzType=\"primary\" id=\"save\" [disabled]=\"loading\"><i nz-icon\r\n nzType=\"save\"></i>{{buttons.save.text}}</button>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n </nz-spin>\r\n</form>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:0 5px}:host ::ng-deep form{flex:1;overflow:auto}:host ::ng-deep .left-box .tips{color:red;font-weight:600;font-size:16px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i11.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i11.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i11.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i12.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i12.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i12.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: NzFormModule }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i13.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "ngmodule", type: NzSpinModule }, { kind: "component", type: i14.NzSpinComponent, selector: "nz-spin", inputs: ["nzIndicator", "nzSize", "nzTip", "nzDelay", "nzSimple", "nzSpinning"], exportAs: ["nzSpin"] }, { kind: "ngmodule", type: NzButtonModule }, { kind: "component", type: i15.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i16.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], nz-icon, [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "directive", type: i17.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { kind: "ngmodule", type: NzEmptyModule }, { kind: "component", type: i18.NzEmptyComponent, selector: "nz-empty", inputs: ["nzNotFoundImage", "nzNotFoundContent", "nzNotFoundFooter"], exportAs: ["nzEmpty"] }, { kind: "ngmodule", type: CardContentModule }, { kind: "component", type: i19.CardUserComponent, selector: "card-user", inputs: ["config"], outputs: ["pageLoadAfter"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i4.FormlyForm, selector: "formly-form", inputs: ["form", "model", "fields", "options"], outputs: ["modelChange"] }, { kind: "ngmodule", type: GramDeonAntdModule }] });
69
+ }
70
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: FormCustomComponent, decorators: [{
71
+ type: Component,
72
+ args: [{ selector: 'form-custom', providers: [CommAPIService], imports: [
73
+ CommonModule,
74
+ FormsModule,
75
+ ReactiveFormsModule,
76
+ NzFormModule,
77
+ NzIconModule,
78
+ NzSpinModule,
79
+ NzButtonModule,
80
+ NzEmptyModule,
81
+ CardContentModule,
82
+ FormlyModule,
83
+ GramDeonAntdModule
84
+ ], template: "<form [formGroup]=\"form\" (ngSubmit)=\"btnSubmit()\" #defaultForm>\r\n <nz-spin [nzSpinning]=\"loading\" nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\">\r\n <div class=\"deon-from\">\r\n <div class=\"deon-header\" *ngIf=\"isHeader == true && headerConfig != null\">\r\n <card-user [config]=\"headerConfig\" (pageLoadAfter)=\"headerLoadAfter($event)\"></card-user>\r\n </div>\r\n <div class=\"deon-content\">\r\n <ng-container *ngIf=\"fields && fields.length>0;else emptyPage\">\r\n <formly-form [model]=\"model\" [fields]=\"fields\" [options]=\"options\" [form]=\"form\"> </formly-form>\r\n </ng-container>\r\n <ng-template #emptyPage>\r\n <nz-empty *ngIf=\"loading!==true\"></nz-empty>\r\n </ng-template>\r\n </div>\r\n </div>\r\n <ng-container *ngIf=\"izEffect==true;else tmpButton\">\r\n <ng-container *ngIf=\"config.type!='VIEW' && config.type!='PREVIEW'\">\r\n <ng-container [ngSwitch]=\" effectStatus\">\r\n <ng-container *ngSwitchCase=\"'WAITING'\">\r\n <div class=\"deon-button\">\r\n <div class=\"left-box\">\r\n <label class=\"tips\">\u672C\u6761\u6570\u636E\u4E3A\u5F85\u751F\u6548\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C</label>\r\n </div>\r\n <div class=\"right-box\">\r\n <button nz-button nzType=\"default\" (click)=\"btnClose()\" type=\"button\">\r\n <i nz-icon nzType=\"close\"></i>{{buttons.cancel.text}}\r\n </button>\r\n <button nz-button nzType=\"primary\" id=\"save\" [disabled]=\"loading\">\r\n <i nz-icon nzType=\"save\"></i>{{buttons.save.text}}\r\n </button>\r\n </div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'RUNNING'\"> </ng-container>\r\n <ng-container *ngSwitchCase=\"'ERROR'\"> </ng-container>\r\n <ng-container *ngSwitchCase=\"'SUCCESS'\"> </ng-container>\r\n\r\n <ng-container *ngSwitchDefault>\r\n <div class=\"deon-button\">\r\n <div class=\"left-box\"></div>\r\n <div class=\"right-box\">\r\n <ng-container *ngIf=\"buttons.cancel.hide==false\">\r\n <button nz-button nzType=\"default\" (click)=\"btnClose()\" type=\"button\">\r\n <i nz-icon nzType=\"close\"></i>{{buttons.cancel.text}}\r\n </button>\r\n </ng-container>\r\n <ng-container *ngIf=\"buttons.save.hide==false\">\r\n <button nz-button nzType=\"primary\" id=\"confirm\" [disabled]=\"loading\">\r\n <i nz-icon nzType=\"save\"></i>{{buttons.save.text}}\r\n </button>\r\n </ng-container>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ng-container>\r\n </ng-container>\r\n </ng-container>\r\n\r\n <ng-template #tmpButton>\r\n <ng-container *ngIf=\"loading==false\">\r\n <div class=\"left-box\"></div>\r\n <div class=\"right-box\">\r\n <div class=\"deon-button\" *ngIf=\"config.type!='VIEW' && config.type!='PREVIEW'\">\r\n <button nz-button nzType=\"default\" (click)=\"btnClose()\" type=\"button\">\r\n <i nz-icon nzType=\"close\"></i>{{buttons.cancel.text}}\r\n </button>\r\n <button nz-button nzType=\"primary\" id=\"save\" [disabled]=\"loading\"><i nz-icon\r\n nzType=\"save\"></i>{{buttons.save.text}}</button>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n </nz-spin>\r\n</form>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:0 5px}:host ::ng-deep form{flex:1;overflow:auto}:host ::ng-deep .left-box .tips{color:red;font-weight:600;font-size:16px}\n"] }]
85
+ }], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.DeonFormUtilService }, { type: i3.DeonFormResetService }, { type: i4.FormlyFormBuilder }, { type: i5.GramGlobalService }, { type: i6.NzDrawerRef }, { type: i7.NzMessageService }, { type: i8.NzModalService }, { type: i9.GramBaseDialogService }, { type: i10.CommAPIService }] });
86
+
87
+ class FormCustomMainComponent extends BasicDefaultService {
88
+ http;
89
+ utilService;
90
+ resetService;
91
+ deonFormBuilder;
92
+ globalSrv;
93
+ msg;
94
+ modal;
95
+ dialogService;
96
+ commAPISrv;
97
+ constructor(http, utilService, resetService, deonFormBuilder, globalSrv, msg, modal, dialogService, commAPISrv) {
98
+ super(http, utilService, resetService, deonFormBuilder, globalSrv, msg, modal, dialogService, commAPISrv);
99
+ this.http = http;
100
+ this.utilService = utilService;
101
+ this.resetService = resetService;
102
+ this.deonFormBuilder = deonFormBuilder;
103
+ this.globalSrv = globalSrv;
104
+ this.msg = msg;
105
+ this.modal = modal;
106
+ this.dialogService = dialogService;
107
+ this.commAPISrv = commAPISrv;
108
+ }
109
+ ngOnInit() {
110
+ this.loading = true;
111
+ this.getPageConfig();
112
+ }
113
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: FormCustomMainComponent, deps: [{ token: i1._HttpClient }, { token: i2.DeonFormUtilService }, { token: i3.DeonFormResetService }, { token: i4.FormlyFormBuilder }, { token: i5.GramGlobalService }, { token: i7.NzMessageService }, { token: i8.NzModalService }, { token: i9.GramBaseDialogService }, { token: i10.CommAPIService }], target: i0.ɵɵFactoryTarget.Component });
114
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: FormCustomMainComponent, isStandalone: true, selector: "form-custom-main", providers: [CommAPIService], usesInheritance: true, ngImport: i0, template: "<form [formGroup]=\"form\" (ngSubmit)=\"btnSubmit()\" #defaultForm>\r\n <nz-spin [nzSpinning]=\"loading\" nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\">\r\n <div class=\"deon-from\">\r\n <div class=\"deon-header\" *ngIf=\"isHeader == true && headerConfig != null\">\r\n <card-user [config]=\"headerConfig\" (pageLoadAfter)=\"headerLoadAfter($event)\"></card-user>\r\n </div>\r\n <div class=\"deon-content\">\r\n <ng-container *ngIf=\"fields && fields.length>0;else emptyPage\">\r\n <formly-form [model]=\"model\" [fields]=\"fields\" [options]=\"options\" [form]=\"form\"> </formly-form>\r\n </ng-container>\r\n <ng-template #emptyPage>\r\n <nz-empty *ngIf=\"loading!==true\"></nz-empty>\r\n </ng-template>\r\n </div>\r\n </div>\r\n <ng-container *ngIf=\"loading==false\">\r\n <div class=\"left-box\"></div>\r\n <div class=\"right-box\">\r\n <div class=\"deon-button\" *ngIf=\"config.type!='VIEW' && config.type!='PREVIEW'\">\r\n <button nz-button nzType=\"default\" (click)=\"btnClose()\" type=\"button\">\r\n <i nz-icon nzType=\"close\"></i>{{buttons.cancel.text}}\r\n </button>\r\n <button nz-button nzType=\"primary\" id=\"save\" [disabled]=\"loading\"><i nz-icon\r\n nzType=\"save\"></i>{{buttons.save.text}}</button>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </nz-spin>\r\n</form>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:0 5px}:host ::ng-deep form{flex:1;overflow:auto}:host ::ng-deep .left-box .tips{color:red;font-weight:600;font-size:16px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i12.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i12.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i12.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: NzSpinModule }, { kind: "component", type: i14.NzSpinComponent, selector: "nz-spin", inputs: ["nzIndicator", "nzSize", "nzTip", "nzDelay", "nzSimple", "nzSpinning"], exportAs: ["nzSpin"] }, { kind: "ngmodule", type: NzEmptyModule }, { kind: "component", type: i18.NzEmptyComponent, selector: "nz-empty", inputs: ["nzNotFoundImage", "nzNotFoundContent", "nzNotFoundFooter"], exportAs: ["nzEmpty"] }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i13.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "ngmodule", type: NzButtonModule }, { kind: "component", type: i15.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i16.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], nz-icon, [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "directive", type: i17.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { kind: "ngmodule", type: NzFormModule }, { kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i4.FormlyForm, selector: "formly-form", inputs: ["form", "model", "fields", "options"], outputs: ["modelChange"] }, { kind: "ngmodule", type: CardContentModule }, { kind: "component", type: i19.CardUserComponent, selector: "card-user", inputs: ["config"], outputs: ["pageLoadAfter"] }, { kind: "ngmodule", type: GramDeonAntdModule }] });
115
+ }
116
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: FormCustomMainComponent, decorators: [{
117
+ type: Component,
118
+ args: [{ selector: 'form-custom-main', providers: [CommAPIService], imports: [
119
+ CommonModule,
120
+ FormsModule,
121
+ ReactiveFormsModule,
122
+ NzSpinModule,
123
+ NzEmptyModule,
124
+ NzIconModule,
125
+ FormsModule,
126
+ NzButtonModule,
127
+ NzFormModule,
128
+ FormlyModule,
129
+ CardContentModule,
130
+ GramDeonAntdModule
131
+ ], template: "<form [formGroup]=\"form\" (ngSubmit)=\"btnSubmit()\" #defaultForm>\r\n <nz-spin [nzSpinning]=\"loading\" nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\">\r\n <div class=\"deon-from\">\r\n <div class=\"deon-header\" *ngIf=\"isHeader == true && headerConfig != null\">\r\n <card-user [config]=\"headerConfig\" (pageLoadAfter)=\"headerLoadAfter($event)\"></card-user>\r\n </div>\r\n <div class=\"deon-content\">\r\n <ng-container *ngIf=\"fields && fields.length>0;else emptyPage\">\r\n <formly-form [model]=\"model\" [fields]=\"fields\" [options]=\"options\" [form]=\"form\"> </formly-form>\r\n </ng-container>\r\n <ng-template #emptyPage>\r\n <nz-empty *ngIf=\"loading!==true\"></nz-empty>\r\n </ng-template>\r\n </div>\r\n </div>\r\n <ng-container *ngIf=\"loading==false\">\r\n <div class=\"left-box\"></div>\r\n <div class=\"right-box\">\r\n <div class=\"deon-button\" *ngIf=\"config.type!='VIEW' && config.type!='PREVIEW'\">\r\n <button nz-button nzType=\"default\" (click)=\"btnClose()\" type=\"button\">\r\n <i nz-icon nzType=\"close\"></i>{{buttons.cancel.text}}\r\n </button>\r\n <button nz-button nzType=\"primary\" id=\"save\" [disabled]=\"loading\"><i nz-icon\r\n nzType=\"save\"></i>{{buttons.save.text}}</button>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </nz-spin>\r\n</form>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:0 5px}:host ::ng-deep form{flex:1;overflow:auto}:host ::ng-deep .left-box .tips{color:red;font-weight:600;font-size:16px}\n"] }]
132
+ }], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.DeonFormUtilService }, { type: i3.DeonFormResetService }, { type: i4.FormlyFormBuilder }, { type: i5.GramGlobalService }, { type: i7.NzMessageService }, { type: i8.NzModalService }, { type: i9.GramBaseDialogService }, { type: i10.CommAPIService }] });
133
+
134
+ const components = [FormCustomComponent, FormCustomMainComponent];
135
+ class FormCustomModule {
136
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: FormCustomModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
137
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: FormCustomModule, imports: [CommonModule, FormCustomComponent, FormCustomMainComponent], exports: [FormCustomComponent, FormCustomMainComponent] });
138
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: FormCustomModule, imports: [CommonModule, components] });
139
+ }
140
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: FormCustomModule, decorators: [{
141
+ type: NgModule,
142
+ args: [{
143
+ imports: [
144
+ CommonModule,
145
+ ...components
146
+ ],
147
+ exports: [...components],
148
+ }]
149
+ }] });
150
+
151
+ /**
152
+ * Generated bundle index. Do not edit.
153
+ */
154
+
155
+ export { FormCustomComponent, FormCustomMainComponent, FormCustomModule };
156
+ //# sourceMappingURL=custom.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custom.mjs","sources":["../../../../packages/biz-form/custom/src/default/index.ts","../../../../packages/biz-form/custom/src/default/index.html","../../../../packages/biz-form/custom/src/main/index.ts","../../../../packages/biz-form/custom/src/main/index.html","../../../../packages/biz-form/custom/src/index.module.ts","../../../../packages/biz-form/custom/custom.ts"],"sourcesContent":["import { Component, OnInit, AfterContentChecked } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { _HttpClient } from '@delon/theme';\r\nimport { FormlyModule, FormlyFormBuilder } from '@kre-form/core';\r\nimport { NzMessageService } from 'ng-zorro-antd/message';\r\nimport { NzModalService } from 'ng-zorro-antd/modal';\r\nimport { NzFormModule } from 'ng-zorro-antd/form';\r\nimport { NzIconModule } from 'ng-zorro-antd/icon';\r\nimport { NzSpinModule } from 'ng-zorro-antd/spin';\r\nimport { NzButtonModule } from 'ng-zorro-antd/button';\r\nimport { NzEmptyModule } from 'ng-zorro-antd/empty';\r\n\r\nimport { DeonFormUtilService } from '@ebuilding/base/shared.srv/deon.util';\r\nimport { DeonFormResetService } from '@ebuilding/base/shared.srv/deon2.util';\r\nimport { GramBaseDialogService } from '@ebuilding/base/shared.srv/base-dialog.service';\r\nimport { GramGlobalService } from '@ebuilding/base/shared.srv/global.event';\r\nimport { CommAPIService } from '@ebuilding/base/shared.srv/commApi.service';\r\n\r\nimport { NzDrawerRef } from '@ebuilding/base/components/drawer';\r\nimport { CardContentModule } from '@ebuilding/biz-comm/other/card';\r\nimport { GramDeonAntdModule } from '@ebuilding/biz-comm/type';\r\nimport { BasicDrawerService } from '@ebuilding/biz-form/service/basic.drawer';\r\n\r\n@Component({\r\n selector: 'form-custom',\r\n styleUrls: ['./index.less'],\r\n templateUrl: './index.html',\r\n providers: [CommAPIService],\r\n imports: [\r\n CommonModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n NzFormModule,\r\n NzIconModule,\r\n NzSpinModule,\r\n NzButtonModule,\r\n NzEmptyModule,\r\n CardContentModule,\r\n FormlyModule,\r\n GramDeonAntdModule\r\n ]\r\n})\r\nexport class FormCustomComponent extends BasicDrawerService implements OnInit, AfterContentChecked {\r\n constructor(\r\n public override http: _HttpClient,\r\n public override utilService: DeonFormUtilService,\r\n public override resetService: DeonFormResetService,\r\n public override deonFormBuilder: FormlyFormBuilder,\r\n public override globalSrv: GramGlobalService,\r\n public override drawerRef: NzDrawerRef<any>,\r\n public override msg: NzMessageService,\r\n public override modal: NzModalService,\r\n public override dialogService: GramBaseDialogService,\r\n public override commAPISrv: CommAPIService,\r\n ) {\r\n super(http, utilService, resetService, deonFormBuilder, globalSrv, msg, modal, drawerRef, dialogService, commAPISrv);\r\n }\r\n\r\n\r\n ngOnInit() {\r\n this.loading = true;\r\n this.getPageConfig();\r\n }\r\n\r\n ngAfterContentChecked(): void {\r\n // this.changeDetector.detectChanges();\r\n }\r\n}\r\n","<form [formGroup]=\"form\" (ngSubmit)=\"btnSubmit()\" #defaultForm>\r\n <nz-spin [nzSpinning]=\"loading\" nzTip=\"拼命加载中...\" class=\"deon-list-spin\">\r\n <div class=\"deon-from\">\r\n <div class=\"deon-header\" *ngIf=\"isHeader == true && headerConfig != null\">\r\n <card-user [config]=\"headerConfig\" (pageLoadAfter)=\"headerLoadAfter($event)\"></card-user>\r\n </div>\r\n <div class=\"deon-content\">\r\n <ng-container *ngIf=\"fields && fields.length>0;else emptyPage\">\r\n <formly-form [model]=\"model\" [fields]=\"fields\" [options]=\"options\" [form]=\"form\"> </formly-form>\r\n </ng-container>\r\n <ng-template #emptyPage>\r\n <nz-empty *ngIf=\"loading!==true\"></nz-empty>\r\n </ng-template>\r\n </div>\r\n </div>\r\n <ng-container *ngIf=\"izEffect==true;else tmpButton\">\r\n <ng-container *ngIf=\"config.type!='VIEW' && config.type!='PREVIEW'\">\r\n <ng-container [ngSwitch]=\" effectStatus\">\r\n <ng-container *ngSwitchCase=\"'WAITING'\">\r\n <div class=\"deon-button\">\r\n <div class=\"left-box\">\r\n <label class=\"tips\">本条数据为待生效,请谨慎操作</label>\r\n </div>\r\n <div class=\"right-box\">\r\n <button nz-button nzType=\"default\" (click)=\"btnClose()\" type=\"button\">\r\n <i nz-icon nzType=\"close\"></i>{{buttons.cancel.text}}\r\n </button>\r\n <button nz-button nzType=\"primary\" id=\"save\" [disabled]=\"loading\">\r\n <i nz-icon nzType=\"save\"></i>{{buttons.save.text}}\r\n </button>\r\n </div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngSwitchCase=\"'RUNNING'\"> </ng-container>\r\n <ng-container *ngSwitchCase=\"'ERROR'\"> </ng-container>\r\n <ng-container *ngSwitchCase=\"'SUCCESS'\"> </ng-container>\r\n\r\n <ng-container *ngSwitchDefault>\r\n <div class=\"deon-button\">\r\n <div class=\"left-box\"></div>\r\n <div class=\"right-box\">\r\n <ng-container *ngIf=\"buttons.cancel.hide==false\">\r\n <button nz-button nzType=\"default\" (click)=\"btnClose()\" type=\"button\">\r\n <i nz-icon nzType=\"close\"></i>{{buttons.cancel.text}}\r\n </button>\r\n </ng-container>\r\n <ng-container *ngIf=\"buttons.save.hide==false\">\r\n <button nz-button nzType=\"primary\" id=\"confirm\" [disabled]=\"loading\">\r\n <i nz-icon nzType=\"save\"></i>{{buttons.save.text}}\r\n </button>\r\n </ng-container>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ng-container>\r\n </ng-container>\r\n </ng-container>\r\n\r\n <ng-template #tmpButton>\r\n <ng-container *ngIf=\"loading==false\">\r\n <div class=\"left-box\"></div>\r\n <div class=\"right-box\">\r\n <div class=\"deon-button\" *ngIf=\"config.type!='VIEW' && config.type!='PREVIEW'\">\r\n <button nz-button nzType=\"default\" (click)=\"btnClose()\" type=\"button\">\r\n <i nz-icon nzType=\"close\"></i>{{buttons.cancel.text}}\r\n </button>\r\n <button nz-button nzType=\"primary\" id=\"save\" [disabled]=\"loading\"><i nz-icon\r\n nzType=\"save\"></i>{{buttons.save.text}}</button>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n </nz-spin>\r\n</form>","import { Component, OnInit } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ReactiveFormsModule, FormsModule } from '@angular/forms';\r\nimport { _HttpClient } from '@delon/theme';\r\nimport { FormlyModule, FormlyFormBuilder } from '@kre-form/core';\r\nimport { NzFormModule } from 'ng-zorro-antd/form';\r\nimport { NzSpinModule } from 'ng-zorro-antd/spin';\r\nimport { NzButtonModule } from 'ng-zorro-antd/button';\r\nimport { NzEmptyModule } from 'ng-zorro-antd/empty';\r\nimport { NzIconModule } from 'ng-zorro-antd/icon';\r\nimport { NzMessageService } from 'ng-zorro-antd/message';\r\nimport { NzModalService } from 'ng-zorro-antd/modal';\r\n\r\nimport { DeonFormUtilService } from '@ebuilding/base/shared.srv/deon.util';\r\nimport { DeonFormResetService } from '@ebuilding/base/shared.srv/deon2.util';\r\nimport { GramBaseDialogService } from '@ebuilding/base/shared.srv/base-dialog.service';\r\nimport { GramGlobalService } from '@ebuilding/base/shared.srv/global.event';\r\nimport { CommAPIService } from '@ebuilding/base/shared.srv/commApi.service';\r\n\r\nimport { GramDeonAntdModule } from '@ebuilding/biz-comm/type';\r\nimport { CardContentModule } from '@ebuilding/biz-comm/other/card';\r\nimport { BasicDefaultService } from '@ebuilding/biz-form/service/basic.default';\r\n\r\n@Component({\r\n selector: 'form-custom-main',\r\n styleUrls: ['./index.less'],\r\n templateUrl: './index.html',\r\n providers: [CommAPIService],\r\n imports: [\r\n CommonModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n NzSpinModule,\r\n NzEmptyModule,\r\n NzIconModule,\r\n FormsModule,\r\n NzButtonModule,\r\n NzFormModule,\r\n FormlyModule,\r\n CardContentModule,\r\n GramDeonAntdModule\r\n ]\r\n})\r\nexport class FormCustomMainComponent extends BasicDefaultService implements OnInit {\r\n constructor(\r\n public override http: _HttpClient,\r\n public override utilService: DeonFormUtilService,\r\n public override resetService: DeonFormResetService,\r\n public override deonFormBuilder: FormlyFormBuilder,\r\n public override globalSrv: GramGlobalService,\r\n public override msg: NzMessageService,\r\n public override modal: NzModalService,\r\n public override dialogService: GramBaseDialogService,\r\n public override commAPISrv: CommAPIService,\r\n ) {\r\n super(http, utilService, resetService, deonFormBuilder, globalSrv, msg, modal, dialogService, commAPISrv);\r\n }\r\n\r\n ngOnInit() {\r\n this.loading = true;\r\n this.getPageConfig();\r\n }\r\n}\r\n","<form [formGroup]=\"form\" (ngSubmit)=\"btnSubmit()\" #defaultForm>\r\n <nz-spin [nzSpinning]=\"loading\" nzTip=\"拼命加载中...\" class=\"deon-list-spin\">\r\n <div class=\"deon-from\">\r\n <div class=\"deon-header\" *ngIf=\"isHeader == true && headerConfig != null\">\r\n <card-user [config]=\"headerConfig\" (pageLoadAfter)=\"headerLoadAfter($event)\"></card-user>\r\n </div>\r\n <div class=\"deon-content\">\r\n <ng-container *ngIf=\"fields && fields.length>0;else emptyPage\">\r\n <formly-form [model]=\"model\" [fields]=\"fields\" [options]=\"options\" [form]=\"form\"> </formly-form>\r\n </ng-container>\r\n <ng-template #emptyPage>\r\n <nz-empty *ngIf=\"loading!==true\"></nz-empty>\r\n </ng-template>\r\n </div>\r\n </div>\r\n <ng-container *ngIf=\"loading==false\">\r\n <div class=\"left-box\"></div>\r\n <div class=\"right-box\">\r\n <div class=\"deon-button\" *ngIf=\"config.type!='VIEW' && config.type!='PREVIEW'\">\r\n <button nz-button nzType=\"default\" (click)=\"btnClose()\" type=\"button\">\r\n <i nz-icon nzType=\"close\"></i>{{buttons.cancel.text}}\r\n </button>\r\n <button nz-button nzType=\"primary\" id=\"save\" [disabled]=\"loading\"><i nz-icon\r\n nzType=\"save\"></i>{{buttons.save.text}}</button>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </nz-spin>\r\n</form>","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormCustomComponent } from './default/index';\r\nimport { FormCustomMainComponent } from './main/index';\r\n\r\nconst components: any[] = [FormCustomComponent, FormCustomMainComponent];\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n ...components\r\n ],\r\n exports: [...components],\r\n})\r\nexport class FormCustomModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i6","i7","i8","i9","i10","i11","i12","i13","i14","i18"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2CM,MAAO,mBAAoB,SAAQ,kBAAkB,CAAA;AAEvC,IAAA,IAAA;AACA,IAAA,WAAA;AACA,IAAA,YAAA;AACA,IAAA,eAAA;AACA,IAAA,SAAA;AACA,IAAA,SAAA;AACA,IAAA,GAAA;AACA,IAAA,KAAA;AACA,IAAA,aAAA;AACA,IAAA,UAAA;AAVlB,IAAA,WAAA,CACkB,IAAiB,EACjB,WAAgC,EAChC,YAAkC,EAClC,eAAkC,EAClC,SAA4B,EAC5B,SAA2B,EAC3B,GAAqB,EACrB,KAAqB,EACrB,aAAoC,EACpC,UAA0B,EAAA;QAE1C,KAAK,CAAC,IAAI,EAAE,WAAW,EAAE,YAAY,EAAE,eAAe,EAAE,SAAS,EAAE,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,UAAU,CAAC;QAXpG,IAAI,CAAA,IAAA,GAAJ,IAAI;QACJ,IAAW,CAAA,WAAA,GAAX,WAAW;QACX,IAAY,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hB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;yGAAhB,gBAAgB,EAAA,OAAA,EAAA,CALzB,YAAY,EAHW,mBAAmB,EAAE,uBAAuB,CAAA,EAAA,OAAA,EAAA,CAA5C,mBAAmB,EAAE,uBAAuB,CAAA,EAAA,CAAA;yGAQ1D,gBAAgB,EAAA,OAAA,EAAA,CALzB,YAAY,EACT,UAAU,CAAA,EAAA,CAAA;;4FAIJ,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAP5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,YAAY;AACZ,wBAAA,GAAG;AACJ,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACzB,iBAAA;;;ACZD;;AAEG;;;;"}
@@ -0,0 +1,109 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, NgModule } from '@angular/core';
3
+ import * as i7 from '@angular/common';
4
+ import { CommonModule } from '@angular/common';
5
+ import * as i8 from '@angular/forms';
6
+ import { FormsModule, ReactiveFormsModule } from '@angular/forms';
7
+ import * as i3 from '@kre-form/core';
8
+ import { FormlyModule } from '@kre-form/core';
9
+ import * as i9 from 'ng-zorro-antd/spin';
10
+ import { NzSpinModule } from 'ng-zorro-antd/spin';
11
+ import * as i10 from 'ng-zorro-antd/empty';
12
+ import { NzEmptyModule } from 'ng-zorro-antd/empty';
13
+ import * as i11 from 'ng-zorro-antd/button';
14
+ import { NzButtonModule } from 'ng-zorro-antd/button';
15
+ import { GramDeonAntdModule } from '@ebuilding/biz-comm/type';
16
+ import { FormBasicService } from '@ebuilding/biz-form/service/default.service';
17
+ import { forkJoin } from 'rxjs';
18
+ import * as i1 from '@delon/theme';
19
+ import * as i2 from '@ebuilding/base/shared.srv/deon.util';
20
+ import * as i4 from '@ebuilding/base/shared.srv/global.event';
21
+ import * as i5 from '@ebuilding/base/components/drawer';
22
+ import * as i6 from 'ng-zorro-antd/message';
23
+ import * as i12 from 'ng-zorro-antd/core/transition-patch';
24
+ import * as i13 from 'ng-zorro-antd/core/wave';
25
+
26
+ class FormDesignComponent extends FormBasicService {
27
+ http;
28
+ utilService;
29
+ deonFormBuilder;
30
+ globalSrv;
31
+ drawerRef;
32
+ msg;
33
+ changeDetector;
34
+ constructor(http, utilService, deonFormBuilder, globalSrv, drawerRef, msg, changeDetector) {
35
+ super(http, utilService, deonFormBuilder, globalSrv, msg, drawerRef);
36
+ this.http = http;
37
+ this.utilService = utilService;
38
+ this.deonFormBuilder = deonFormBuilder;
39
+ this.globalSrv = globalSrv;
40
+ this.drawerRef = drawerRef;
41
+ this.msg = msg;
42
+ this.changeDetector = changeDetector;
43
+ }
44
+ ngOnInit() {
45
+ this.loading = true;
46
+ this.getFieldConfig();
47
+ }
48
+ ngAfterContentChecked() {
49
+ // this.changeDetector.detectChanges();
50
+ }
51
+ getFieldConfig() {
52
+ forkJoin([this.getFormDefaultField()]).subscribe((res) => {
53
+ this.model = {};
54
+ //传入的值
55
+ if (this.formModel != null && Object.keys(this.formModel).length > 0) {
56
+ this.model = Object.assign(this.model, this.formModel);
57
+ }
58
+ let fieldConfigs = JSON.parse(res[0].data.json);
59
+ this.fields = fieldConfigs;
60
+ setTimeout(() => {
61
+ if (this.options != undefined && this.options != null && this.options?.resetModel) {
62
+ this.options?.resetModel();
63
+ }
64
+ }, 0);
65
+ this.loading = false;
66
+ });
67
+ }
68
+ getFormDefaultField() {
69
+ let apiName = `apaas/form/getById/${this.id}`;
70
+ return this.http.post(`/${apiName}`);
71
+ }
72
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: FormDesignComponent, deps: [{ token: i1._HttpClient }, { token: i2.DeonFormUtilService }, { token: i3.FormlyFormBuilder }, { token: i4.GramGlobalService }, { token: i5.NzDrawerRef }, { token: i6.NzMessageService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
73
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: FormDesignComponent, isStandalone: true, selector: "form-design", usesInheritance: true, ngImport: i0, template: "<form [formGroup]=\"form\" (ngSubmit)=\"save()\" #defaultForm>\r\n <nz-spin [nzSpinning]=\"loading\" nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\">\r\n <div class=\"deon-from\">\r\n <ng-container *ngIf=\"fields && fields.length>0;else emptyPage\">\r\n <formly-form [model]=\"model\" [fields]=\"fields\" [options]=\"options\" [form]=\"form\"> </formly-form>\r\n </ng-container>\r\n <ng-template #emptyPage>\r\n <nz-empty *ngIf=\"loading!==true\"></nz-empty>\r\n </ng-template>\r\n </div>\r\n <div class=\"deon-button\">\r\n <ng-container *ngIf=\"type!='view'\">\r\n <button nz-button nzType=\"default\" (click)=\"btnClose()\" type=\"button\"><i nz-icon nzType=\"close\"></i>\u53D6\u6D88</button>\r\n <button nz-button nzType=\"primary\" id=\"DRAFT\" *ngIf=\"draft==true\"><i nz-icon nzType=\"hourglass\"></i>\u6682\u5B58</button>\r\n <button nz-button nzType=\"primary\" id=\"SAVE\"><i nz-icon nzType=\"save\"></i>\u4FDD\u5B58</button>\r\n </ng-container>\r\n </div>\r\n </nz-spin>\r\n</form>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:0 5px}:host ::ng-deep form{flex:1;overflow:auto}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i8.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i8.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i8.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: NzSpinModule }, { kind: "component", type: i9.NzSpinComponent, selector: "nz-spin", inputs: ["nzIndicator", "nzSize", "nzTip", "nzDelay", "nzSimple", "nzSpinning"], exportAs: ["nzSpin"] }, { kind: "ngmodule", type: NzEmptyModule }, { kind: "component", type: i10.NzEmptyComponent, selector: "nz-empty", inputs: ["nzNotFoundImage", "nzNotFoundContent", "nzNotFoundFooter"], exportAs: ["nzEmpty"] }, { kind: "ngmodule", type: NzButtonModule }, { kind: "component", type: i11.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i12.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], nz-icon, [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "directive", type: i13.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i3.FormlyForm, selector: "formly-form", inputs: ["form", "model", "fields", "options"], outputs: ["modelChange"] }, { kind: "ngmodule", type: GramDeonAntdModule }] });
74
+ }
75
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: FormDesignComponent, decorators: [{
76
+ type: Component,
77
+ args: [{ selector: 'form-design', imports: [
78
+ CommonModule,
79
+ FormsModule,
80
+ ReactiveFormsModule,
81
+ NzSpinModule,
82
+ NzEmptyModule,
83
+ FormsModule,
84
+ NzButtonModule,
85
+ FormlyModule,
86
+ GramDeonAntdModule
87
+ ], template: "<form [formGroup]=\"form\" (ngSubmit)=\"save()\" #defaultForm>\r\n <nz-spin [nzSpinning]=\"loading\" nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\">\r\n <div class=\"deon-from\">\r\n <ng-container *ngIf=\"fields && fields.length>0;else emptyPage\">\r\n <formly-form [model]=\"model\" [fields]=\"fields\" [options]=\"options\" [form]=\"form\"> </formly-form>\r\n </ng-container>\r\n <ng-template #emptyPage>\r\n <nz-empty *ngIf=\"loading!==true\"></nz-empty>\r\n </ng-template>\r\n </div>\r\n <div class=\"deon-button\">\r\n <ng-container *ngIf=\"type!='view'\">\r\n <button nz-button nzType=\"default\" (click)=\"btnClose()\" type=\"button\"><i nz-icon nzType=\"close\"></i>\u53D6\u6D88</button>\r\n <button nz-button nzType=\"primary\" id=\"DRAFT\" *ngIf=\"draft==true\"><i nz-icon nzType=\"hourglass\"></i>\u6682\u5B58</button>\r\n <button nz-button nzType=\"primary\" id=\"SAVE\"><i nz-icon nzType=\"save\"></i>\u4FDD\u5B58</button>\r\n </ng-container>\r\n </div>\r\n </nz-spin>\r\n</form>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:0 5px}:host ::ng-deep form{flex:1;overflow:auto}\n"] }]
88
+ }], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.DeonFormUtilService }, { type: i3.FormlyFormBuilder }, { type: i4.GramGlobalService }, { type: i5.NzDrawerRef }, { type: i6.NzMessageService }, { type: i0.ChangeDetectorRef }] });
89
+
90
+ const components = [FormDesignComponent];
91
+ class FormDesignModule {
92
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: FormDesignModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
93
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: FormDesignModule, imports: [CommonModule, FormDesignComponent], exports: [FormDesignComponent] });
94
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: FormDesignModule, imports: [CommonModule, components] });
95
+ }
96
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: FormDesignModule, decorators: [{
97
+ type: NgModule,
98
+ args: [{
99
+ imports: [CommonModule, ...components],
100
+ exports: [...components],
101
+ }]
102
+ }] });
103
+
104
+ /**
105
+ * Generated bundle index. Do not edit.
106
+ */
107
+
108
+ export { FormDesignComponent, FormDesignModule };
109
+ //# sourceMappingURL=design.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"design.mjs","sources":["../../../../packages/biz-form/design/src/default/index.ts","../../../../packages/biz-form/design/src/default/index.html","../../../../packages/biz-form/design/src/index.module.ts","../../../../packages/biz-form/design/design.ts"],"sourcesContent":["import { Component, OnInit, ChangeDetectorRef, AfterContentChecked } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ReactiveFormsModule, FormsModule } from '@angular/forms';\r\nimport { _HttpClient } from '@delon/theme';\r\nimport { FormlyModule, FormlyFieldConfig, FormlyFormBuilder } from '@kre-form/core';\r\nimport { NzMessageService } from 'ng-zorro-antd/message';\r\nimport { NzSpinModule } from 'ng-zorro-antd/spin';\r\nimport { NzEmptyModule } from 'ng-zorro-antd/empty';\r\nimport { NzButtonModule } from 'ng-zorro-antd/button';\r\n\r\nimport { NzDrawerRef } from '@ebuilding/base/components/drawer';\r\nimport { DeonFormUtilService } from '@ebuilding/base/shared.srv/deon.util';\r\nimport { GramGlobalService } from '@ebuilding/base/shared.srv/global.event';\r\nimport { GramDeonAntdModule } from '@ebuilding/biz-comm/type';\r\nimport { FormBasicService } from '@ebuilding/biz-form/service/default.service';\r\n\r\nimport { forkJoin, of } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'form-design',\r\n styleUrls: ['./index.less'],\r\n templateUrl: './index.html',\r\n imports: [\r\n CommonModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n NzSpinModule,\r\n NzEmptyModule,\r\n FormsModule,\r\n NzButtonModule,\r\n FormlyModule,\r\n GramDeonAntdModule\r\n ]\r\n})\r\nexport class FormDesignComponent extends FormBasicService implements OnInit, AfterContentChecked {\r\n constructor(\r\n public override http: _HttpClient,\r\n public override utilService: DeonFormUtilService,\r\n public override deonFormBuilder: FormlyFormBuilder,\r\n public override globalSrv: GramGlobalService,\r\n public override drawerRef: NzDrawerRef<any>,\r\n public override msg: NzMessageService,\r\n private changeDetector: ChangeDetectorRef,\r\n ) {\r\n super(http, utilService, deonFormBuilder, globalSrv, msg, drawerRef);\r\n }\r\n\r\n ngOnInit() {\r\n this.loading = true;\r\n this.getFieldConfig();\r\n }\r\n\r\n ngAfterContentChecked(): void {\r\n // this.changeDetector.detectChanges();\r\n }\r\n\r\n getFieldConfig() {\r\n forkJoin([this.getFormDefaultField()]).subscribe((res: any) => {\r\n this.model = {};\r\n //传入的值\r\n if (this.formModel != null && Object.keys(this.formModel).length > 0) {\r\n this.model = Object.assign(this.model, this.formModel);\r\n }\r\n let fieldConfigs: FormlyFieldConfig[] = JSON.parse(res[0].data.json);\r\n\r\n this.fields = fieldConfigs;\r\n setTimeout(() => {\r\n if (this.options != undefined && this.options != null && this.options?.resetModel) {\r\n this.options?.resetModel();\r\n }\r\n }, 0);\r\n this.loading = false;\r\n });\r\n }\r\n\r\n override getFormDefaultField() {\r\n let apiName = `apaas/form/getById/${this.id}`;\r\n return this.http.post(`/${apiName}`);\r\n }\r\n}\r\n","<form [formGroup]=\"form\" (ngSubmit)=\"save()\" #defaultForm>\r\n <nz-spin [nzSpinning]=\"loading\" nzTip=\"拼命加载中...\" class=\"deon-list-spin\">\r\n <div class=\"deon-from\">\r\n <ng-container *ngIf=\"fields && fields.length>0;else emptyPage\">\r\n <formly-form [model]=\"model\" [fields]=\"fields\" [options]=\"options\" [form]=\"form\"> </formly-form>\r\n </ng-container>\r\n <ng-template #emptyPage>\r\n <nz-empty *ngIf=\"loading!==true\"></nz-empty>\r\n </ng-template>\r\n </div>\r\n <div class=\"deon-button\">\r\n <ng-container *ngIf=\"type!='view'\">\r\n <button nz-button nzType=\"default\" (click)=\"btnClose()\" type=\"button\"><i nz-icon nzType=\"close\"></i>取消</button>\r\n <button nz-button nzType=\"primary\" id=\"DRAFT\" *ngIf=\"draft==true\"><i nz-icon nzType=\"hourglass\"></i>暂存</button>\r\n <button nz-button nzType=\"primary\" id=\"SAVE\"><i nz-icon nzType=\"save\"></i>保存</button>\r\n </ng-container>\r\n </div>\r\n </nz-spin>\r\n</form>","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormDesignComponent } from './default/index';\r\n\r\nconst components: any[] = [FormDesignComponent];\r\n@NgModule({\r\n imports: [CommonModule, ...components],\r\n exports: [...components],\r\n})\r\nexport class FormDesignModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAkCM,MAAO,mBAAoB,SAAQ,gBAAgB,CAAA;AAErC,IAAA,IAAA;AACA,IAAA,WAAA;AACA,IAAA,eAAA;AACA,IAAA,SAAA;AACA,IAAA,SAAA;AACA,IAAA,GAAA;AACR,IAAA,cAAA;AAPV,IAAA,WAAA,CACkB,IAAiB,EACjB,WAAgC,EAChC,eAAkC,EAClC,SAA4B,EAC5B,SAA2B,EAC3B,GAAqB,EAC7B,cAAiC,EAAA;AAEzC,QAAA,KAAK,CAAC,IAAI,EAAE,WAAW,EAAE,eAAe,EAAE,SAAS,EAAE,GAAG,EAAE,SAAS,CAAC;QARpD,IAAI,CAAA,IAAA,GAAJ,IAAI;QACJ,IAAW,CAAA,WAAA,GAAX,WAAW;QACX,IAAe,CAAA,eAAA,GAAf,eAAe;QACf,IAAS,CAAA,SAAA,GAAT,SAAS;QACT,IAAS,CAAA,SAAA,GAAT,SAAS;QACT,IAAG,CAAA,GAAA,G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AAA,EAAA,aAAa,EAGd,OAAA,EAAA;wBACP,YAAY;wBACZ,WAAW;wBACX,mBAAmB;wBACnB,YAAY;wBACZ,aAAa;wBACb,WAAW;wBACX,cAAc;wBACd,YAAY;wBACZ;AACD,qBAAA,EAAA,QAAA,EAAA,ukCAAA,EAAA,MAAA,EAAA,CAAA,6IAAA,CAAA,EAAA;;;AE5BH,MAAM,UAAU,GAAU,CAAC,mBAAmB,CAAC;MAKlC,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,EAHjB,OAAA,EAAA,CAAA,YAAY,EAFG,mBAAmB,aAAnB,mBAAmB,CAAA,EAAA,CAAA;yGAKjC,gBAAgB,EAAA,OAAA,EAAA,CAHjB,YAAY,EAAK,UAAU,CAAA,EAAA,CAAA;;4FAG1B,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAJ5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,GAAG,UAAU,CAAC;AACtC,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACzB,iBAAA;;;ACRD;;AAEG;;;;"}
@@ -0,0 +1,7 @@
1
+ export * from '@ebuilding/biz-form/basic';
2
+ export * from '@ebuilding/biz-form/custom';
3
+
4
+ /**
5
+ * Generated bundle index. Do not edit.
6
+ */
7
+ //# sourceMappingURL=ebuilding-biz-form.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ebuilding-biz-form.mjs","sources":["../../../../packages/biz-form/ebuilding-biz-form.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAAA;;AAEG"}