ngx-formly-zorro-antd 16.1.0 → 16.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. package/card/card.module.d.ts +4 -3
  2. package/card/card.type.d.ts +36 -0
  3. package/card/public_api.d.ts +1 -1
  4. package/card-wrapper/card-wrapper.module.d.ts +11 -0
  5. package/{card/card.wrapper.d.ts → card-wrapper/card-wrapper.props.d.ts} +10 -12
  6. package/card-wrapper/card.wrapper.d.ts +23 -0
  7. package/card-wrapper/index.d.ts +5 -0
  8. package/card-wrapper/public_api.d.ts +3 -0
  9. package/common/common.module.d.ts +9 -0
  10. package/common/formly-box-templates.directive.d.ts +46 -0
  11. package/common/formly-utils.d.ts +24 -0
  12. package/common/index.d.ts +5 -0
  13. package/common/public_api.d.ts +3 -0
  14. package/esm2022/card/card.module.mjs +16 -12
  15. package/esm2022/card/card.type.mjs +93 -0
  16. package/esm2022/card/public_api.mjs +2 -2
  17. package/esm2022/card-wrapper/card-wrapper.module.mjs +45 -0
  18. package/esm2022/card-wrapper/card-wrapper.props.mjs +2 -0
  19. package/esm2022/card-wrapper/card.wrapper.mjs +77 -0
  20. package/esm2022/card-wrapper/ngx-formly-zorro-antd-card-wrapper.mjs +5 -0
  21. package/esm2022/card-wrapper/public_api.mjs +3 -0
  22. package/esm2022/cascader/cascader.type.mjs +1 -3
  23. package/esm2022/common/common.module.mjs +19 -0
  24. package/esm2022/common/formly-box-templates.directive.mjs +106 -0
  25. package/esm2022/common/formly-utils.mjs +46 -0
  26. package/esm2022/common/ngx-formly-zorro-antd-common.mjs +5 -0
  27. package/esm2022/common/public_api.mjs +4 -0
  28. package/esm2022/extension/ngx-formly-zorro-antd-extension.mjs +5 -0
  29. package/esm2022/extension/public_api.mjs +2 -0
  30. package/esm2022/extension/value-changes-extension.mjs +31 -0
  31. package/esm2022/form-field/form-field.props.mjs +1 -1
  32. package/esm2022/grid/grid.props.mjs +1 -1
  33. package/esm2022/input/input.type.mjs +3 -3
  34. package/esm2022/lib/ui-ng-zorro-antd.module.mjs +16 -4
  35. package/esm2022/select/select.type.mjs +7 -7
  36. package/esm2022/space/ngx-formly-zorro-antd-space.mjs +5 -0
  37. package/esm2022/space/public_api.mjs +3 -0
  38. package/esm2022/space/space.module.mjs +45 -0
  39. package/esm2022/space/space.type.mjs +63 -0
  40. package/esm2022/upload/upload.module.mjs +5 -1
  41. package/esm2022/upload/upload.props.mjs +1 -1
  42. package/esm2022/upload/upload.type.mjs +25 -14
  43. package/extension/index.d.ts +5 -0
  44. package/extension/public_api.d.ts +1 -0
  45. package/extension/value-changes-extension.d.ts +23 -0
  46. package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs +123 -0
  47. package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs.map +1 -0
  48. package/fesm2022/ngx-formly-zorro-antd-card.mjs +81 -32
  49. package/fesm2022/ngx-formly-zorro-antd-card.mjs.map +1 -1
  50. package/fesm2022/ngx-formly-zorro-antd-cascader.mjs +0 -2
  51. package/fesm2022/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
  52. package/fesm2022/ngx-formly-zorro-antd-common.mjs +174 -0
  53. package/fesm2022/ngx-formly-zorro-antd-common.mjs.map +1 -0
  54. package/fesm2022/ngx-formly-zorro-antd-extension.mjs +37 -0
  55. package/fesm2022/ngx-formly-zorro-antd-extension.mjs.map +1 -0
  56. package/fesm2022/ngx-formly-zorro-antd-input.mjs +2 -2
  57. package/fesm2022/ngx-formly-zorro-antd-input.mjs.map +1 -1
  58. package/fesm2022/ngx-formly-zorro-antd-select.mjs +6 -6
  59. package/fesm2022/ngx-formly-zorro-antd-select.mjs.map +1 -1
  60. package/fesm2022/ngx-formly-zorro-antd-space.mjs +109 -0
  61. package/fesm2022/ngx-formly-zorro-antd-space.mjs.map +1 -0
  62. package/fesm2022/ngx-formly-zorro-antd-upload.mjs +27 -13
  63. package/fesm2022/ngx-formly-zorro-antd-upload.mjs.map +1 -1
  64. package/fesm2022/ngx-formly-zorro-antd.mjs +15 -3
  65. package/fesm2022/ngx-formly-zorro-antd.mjs.map +1 -1
  66. package/form-field/form-field.props.d.ts +3 -2
  67. package/grid/grid.props.d.ts +15 -13
  68. package/lib/ui-ng-zorro-antd.module.d.ts +24 -21
  69. package/package.json +63 -38
  70. package/space/index.d.ts +5 -0
  71. package/space/public_api.d.ts +2 -0
  72. package/space/space.module.d.ts +11 -0
  73. package/space/space.type.d.ts +50 -0
  74. package/upload/upload.module.d.ts +6 -5
  75. package/upload/upload.props.d.ts +2 -0
  76. package/upload/upload.type.d.ts +6 -1
  77. package/esm2022/card/card.wrapper.mjs +0 -47
@@ -0,0 +1,3 @@
1
+ export { FormlyNzSpaceModule } from './space.module';
2
+ export { FormlyFieldSpace } from './space.type';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvc3BhY2Uvc3JjL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDckQsT0FBTyxFQUFFLGdCQUFnQixFQUEwQixNQUFNLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IEZvcm1seU56U3BhY2VNb2R1bGUgfSBmcm9tICcuL3NwYWNlLm1vZHVsZSc7XG5leHBvcnQgeyBGb3JtbHlGaWVsZFNwYWNlLCBGb3JtbHlTcGFjZUZpZWxkQ29uZmlnIH0gZnJvbSAnLi9zcGFjZS50eXBlJztcbiJdfQ==
@@ -0,0 +1,45 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { FormlyModule } from '@ngx-formly/core';
4
+ import { FormlyCommonModule } from 'ngx-formly-zorro-antd/common';
5
+ import { FormlyFieldSpace } from './space.type';
6
+ import { NzSpaceModule } from 'ng-zorro-antd/space';
7
+ import * as i0 from "@angular/core";
8
+ import * as i1 from "@ngx-formly/core";
9
+ export class FormlyNzSpaceModule {
10
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzSpaceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
11
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzSpaceModule, declarations: [FormlyFieldSpace], imports: [CommonModule,
12
+ FormlyCommonModule,
13
+ NzSpaceModule, i1.FormlyModule] }); }
14
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzSpaceModule, imports: [CommonModule,
15
+ FormlyCommonModule,
16
+ NzSpaceModule,
17
+ FormlyModule.forChild({
18
+ types: [
19
+ {
20
+ name: 'space',
21
+ component: FormlyFieldSpace
22
+ }
23
+ ]
24
+ })] }); }
25
+ }
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzSpaceModule, decorators: [{
27
+ type: NgModule,
28
+ args: [{
29
+ declarations: [FormlyFieldSpace],
30
+ imports: [
31
+ CommonModule,
32
+ FormlyCommonModule,
33
+ NzSpaceModule,
34
+ FormlyModule.forChild({
35
+ types: [
36
+ {
37
+ name: 'space',
38
+ component: FormlyFieldSpace
39
+ }
40
+ ]
41
+ })
42
+ ]
43
+ }]
44
+ }] });
45
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3BhY2UubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC9zcGFjZS9zcmMvc3BhY2UubW9kdWxlLnRzIl0sIm5hbWV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ztxQkFDSDtpQkFDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xuaW1wb3J0IHsgRm9ybWx5TW9kdWxlIH0gZnJvbSAnQG5neC1mb3JtbHkvY29yZSc7XG5pbXBvcnQgeyBGb3JtbHlDb21tb25Nb2R1bGUgfSBmcm9tICduZ3gtZm9ybWx5LXpvcnJvLWFudGQvY29tbW9uJztcbmltcG9ydCB7IEZvcm1seUZpZWxkU3BhY2UgfSBmcm9tICcuL3NwYWNlLnR5cGUnO1xuXG5pbXBvcnQgeyBOelNwYWNlTW9kdWxlIH0gZnJvbSAnbmctem9ycm8tYW50ZC9zcGFjZSc7XG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW0Zvcm1seUZpZWxkU3BhY2VdLFxuICBpbXBvcnRzOiBbXG4gICAgQ29tbW9uTW9kdWxlLFxuICAgIEZvcm1seUNvbW1vbk1vZHVsZSxcbiAgICBOelNwYWNlTW9kdWxlLFxuICAgIEZvcm1seU1vZHVsZS5mb3JDaGlsZCh7XG4gICAgICB0eXBlczogW1xuICAgICAgICB7XG4gICAgICAgICAgbmFtZTogJ3NwYWNlJyxcbiAgICAgICAgICBjb21wb25lbnQ6IEZvcm1seUZpZWxkU3BhY2VcbiAgICAgICAgfVxuICAgICAgXVxuICAgIH0pXG4gIF1cbn0pXG5leHBvcnQgY2xhc3MgRm9ybWx5TnpTcGFjZU1vZHVsZSB7fVxuIl19
@@ -0,0 +1,63 @@
1
+ import { Component, ChangeDetectionStrategy, Optional } from '@angular/core';
2
+ import { FieldType } from '@ngx-formly/core';
3
+ import { FormlyBoxTemplates, resolveTplName } from 'ngx-formly-zorro-antd/common';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "ngx-formly-zorro-antd/common";
6
+ import * as i2 from "@angular/common";
7
+ import * as i3 from "ng-zorro-antd/space";
8
+ import * as i4 from "@ngx-formly/core";
9
+ export class FormlyFieldSpace extends FieldType {
10
+ constructor(fieldTemplates) {
11
+ super();
12
+ this.fieldTemplates = fieldTemplates;
13
+ this.defaultOptions = {
14
+ props: {
15
+ size: 'small',
16
+ direction: 'horizontal',
17
+ wrap: false
18
+ }
19
+ };
20
+ }
21
+ get nzSplit() {
22
+ return resolveTplName(this.props, this.fieldTemplates, 'split');
23
+ }
24
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyFieldSpace, deps: [{ token: i1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
25
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: FormlyFieldSpace, selector: "formly-field-space", usesInheritance: true, ngImport: i0, template: `
26
+ <nz-space
27
+ [nzSize]="props.size!"
28
+ [nzAlign]="props.align"
29
+ [nzDirection]="props.direction!"
30
+ [nzSplit]="nzSplit ?? null"
31
+ [nzWrap]="props.wrap"
32
+ [formlyAttributes]="field"
33
+ >
34
+ <ng-container *ngFor="let item of field.fieldGroup">
35
+ <formly-field *nzSpaceItem [field]="item"></formly-field>
36
+ </ng-container>
37
+ </nz-space>
38
+ `, isInline: true, dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i3.NzSpaceComponent, selector: "nz-space, [nz-space]", inputs: ["nzDirection", "nzAlign", "nzSplit", "nzWrap", "nzSize"], exportAs: ["NzSpace"] }, { kind: "directive", type: i3.NzSpaceItemDirective, selector: "[nzSpaceItem]" }, { kind: "component", type: i4.FormlyField, selector: "formly-field", inputs: ["field"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
39
+ }
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyFieldSpace, decorators: [{
41
+ type: Component,
42
+ args: [{
43
+ selector: 'formly-field-space',
44
+ template: `
45
+ <nz-space
46
+ [nzSize]="props.size!"
47
+ [nzAlign]="props.align"
48
+ [nzDirection]="props.direction!"
49
+ [nzSplit]="nzSplit ?? null"
50
+ [nzWrap]="props.wrap"
51
+ [formlyAttributes]="field"
52
+ >
53
+ <ng-container *ngFor="let item of field.fieldGroup">
54
+ <formly-field *nzSpaceItem [field]="item"></formly-field>
55
+ </ng-container>
56
+ </nz-space>
57
+ `,
58
+ changeDetection: ChangeDetectionStrategy.OnPush
59
+ }]
60
+ }], ctorParameters: function () { return [{ type: i1.FormlyBoxTemplates, decorators: [{
61
+ type: Optional
62
+ }] }]; } });
63
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3BhY2UudHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvc3BhY2Uvc3JjL3NwYWNlLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSx1QkFBdUIsRUFBcUIsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2hHLE9BQU8sRUFBRSxTQUFTLEVBQXNDLE1BQU0sa0JBQWtCLENBQUM7QUFFakYsT0FBTyxFQUFFLGtCQUFrQixFQUFFLGNBQWMsRUFBRSxNQUFNLDhCQUE4QixDQUFDOzs7Ozs7QUFzRGxGLE1BQU0sT0FBTyxnQkFBaUIsU0FBUSxTQUFzQztJQVExRSxZQUErQixjQUFrQztRQUMvRCxLQUFLLEVBQUUsQ0FBQztRQURxQixtQkFBYyxHQUFkLGNBQWMsQ0F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,7 @@ import { CommonModule } from '@angular/common';
3
3
  import { FormlyModule } from '@ngx-formly/core';
4
4
  import { ReactiveFormsModule } from '@angular/forms';
5
5
  import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
6
+ import { FormlyCommonModule } from 'ngx-formly-zorro-antd/common';
6
7
  import { NzUploadModule } from 'ng-zorro-antd/upload';
7
8
  import { NzButtonModule } from 'ng-zorro-antd/button';
8
9
  import { NzIconModule } from 'ng-zorro-antd/icon';
@@ -15,12 +16,14 @@ export class FormlyNzUploadModule {
15
16
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzUploadModule, declarations: [FormlyFieldUpload, UploadNzComponent], imports: [CommonModule,
16
17
  ReactiveFormsModule,
17
18
  FormlyNzFormFieldModule,
19
+ FormlyCommonModule,
18
20
  NzUploadModule,
19
21
  NzButtonModule,
20
22
  NzIconModule, i1.FormlyModule] }); }
21
23
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzUploadModule, imports: [CommonModule,
22
24
  ReactiveFormsModule,
23
25
  FormlyNzFormFieldModule,
26
+ FormlyCommonModule,
24
27
  NzUploadModule,
25
28
  NzButtonModule,
26
29
  NzIconModule,
@@ -42,6 +45,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
42
45
  CommonModule,
43
46
  ReactiveFormsModule,
44
47
  FormlyNzFormFieldModule,
48
+ FormlyCommonModule,
45
49
  NzUploadModule,
46
50
  NzButtonModule,
47
51
  NzIconModule,
@@ -57,4 +61,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
57
61
  ]
58
62
  }]
59
63
  }] });
60
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBsb2FkLm1vZHVsZS5qcyIsInNvdXJjZVJ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W8j1xuICAgKi9cbiAgcmVzdWx0TWFwPzogKGl0ZW1zOiBOelVwbG9hZEZpbGVbXSkgPT4gTnpTYWZlQW55W107XG5cbiAgLyoqIOS4iuS8oOeahOaPkOekuuS/oeaBryAqL1xuICBoaW50Pzogc3RyaW5nO1xuXG4gIC8qKlxuICAgKiDkuIrkvKDmmL7npLrmlofmnKzkv6Hmga9cbiAgICovXG4gIHRleHQ/OiBzdHJpbmc7XG5cbiAgLyoqXG4gICAqIOS4iuS8oOaMiemSrueahOWbvuagh1xuICAgKi9cbiAgdXBsb2FkQnV0dG9uSWNvbj86IEFudGRJY29uIHwgbnVsbDtcblxuICAvKipcbiAgICog5piv5ZCm5pi+56S65LiK5Lyg5oyJ6ZKuXG4gICAqIEBkZWZhdWx0IHRydWVcbiAgICovXG4gIHNob3dVcGxvYWRCdXR0b24/OiBib29sZWFuO1xufVxuXG5leHBvcnQgaW50ZXJmYWNlIEFudGRJY29uIHtcbiAgLyoqIOWbvuagh+exu+WeiyAqL1xuICB0eXBlOiBzdHJpbmc7XG4gIC8qKiDlm77moIfkuLvpopjpo47moLzvvIzpu5jorqTvvJpgb3V0bGluZWAgKi9cbiAgdGhlbWU/OiBUaGVtZVR5cGU7XG4gIC8qKiDmmK/lkKbmnInml4vovazliqjnlLvvvIzpu5jorqTvvJpgZmFsc2VgICovXG4gIHNwaW4/OiBib29sZWFuO1xuICAvKiog5LuF6YCC55So5Y+M6Imy5Zu+5qCH77yM6K6+572u5Y+M6Imy5Zu+5qCH55qE5Li76KaB6aKc6Imy77yM5LuF5a+55b2T5YmNIGljb24g55Sf5pWIICovXG4gIHR3b1RvbmVDb2xvcj86IHN0cmluZztcbiAgLyoqIOaMh+WumuadpeiHqiBJY29uRm9udCDnmoTlm77moIfnsbvlnosgKi9cbiAgaWNvbmZvbnQ/OiBzdHJpbmc7XG59XG4iXX0=
@@ -1,13 +1,16 @@
1
- import { Component, ChangeDetectionStrategy, ViewChild } from '@angular/core';
1
+ import { Component, ChangeDetectionStrategy, ViewChild, Optional } from '@angular/core';
2
2
  import { FieldType } from '@ngx-formly/core';
3
3
  import { UploadNzComponent } from './upload.component';
4
+ import { FormlyBoxTemplates, resolveTplName } from 'ngx-formly-zorro-antd/common';
4
5
  import * as i0 from "@angular/core";
5
- import * as i1 from "@angular/forms";
6
- import * as i2 from "@ngx-formly/core";
7
- import * as i3 from "./upload.component";
6
+ import * as i1 from "ngx-formly-zorro-antd/common";
7
+ import * as i2 from "@angular/forms";
8
+ import * as i3 from "@ngx-formly/core";
9
+ import * as i4 from "./upload.component";
8
10
  export class FormlyFieldUpload extends FieldType {
9
- constructor() {
10
- super(...arguments);
11
+ constructor(fieldTemplates) {
12
+ super();
13
+ this.fieldTemplates = fieldTemplates;
11
14
  this.defaultOptions = {
12
15
  props: {
13
16
  listType: 'text',
@@ -30,7 +33,13 @@ export class FormlyFieldUpload extends FieldType {
30
33
  this.upload.nzType = type;
31
34
  }
32
35
  }
33
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyFieldUpload, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
36
+ get nzIconRender() {
37
+ return resolveTplName(this.props, this.fieldTemplates, 'iconRender');
38
+ }
39
+ get nzFileListRender() {
40
+ return resolveTplName(this.props, this.fieldTemplates, 'fileListRender');
41
+ }
42
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyFieldUpload, deps: [{ token: i1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
34
43
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: FormlyFieldUpload, selector: "formly-field-upload", viewQueries: [{ propertyName: "upload", first: true, predicate: ["upload"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `<formly-nz-upload
35
44
  #upload
36
45
  [formControl]="formControl"
@@ -62,8 +71,8 @@ export class FormlyFieldUpload extends FieldType {
62
71
  (nzChange)="props.change && props.change(field, $event)"
63
72
  [nzDownload]="props['download']"
64
73
  [nzTransformFile]="props['transformFile']"
65
- [nzIconRender]="props['iconRender'] ?? null"
66
- [nzFileListRender]="props['fileListRender'] ?? null"
74
+ [nzIconRender]="nzIconRender ?? null"
75
+ [nzFileListRender]="nzFileListRender ?? null"
67
76
  [resultMap]="props['resultMap']"
68
77
  [nzeHint]="props['hint']"
69
78
  [nzeText]="props['text']"
@@ -72,7 +81,7 @@ export class FormlyFieldUpload extends FieldType {
72
81
  [className]="props['className'] || ''"
73
82
  (nzFileListChange)="props['fileListChange'] && props['fileListChange'](field, $event)"
74
83
  >
75
- </formly-nz-upload>`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { kind: "component", type: i3.UploadNzComponent, selector: "formly-nz-upload", inputs: ["nzeText", "nzeHint", "nzeShowUploadButton", "nzeUploadButton", "nzeUploadButtonIcon", "className", "resultMap"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
84
+ </formly-nz-upload>`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { kind: "component", type: i4.UploadNzComponent, selector: "formly-nz-upload", inputs: ["nzeText", "nzeHint", "nzeShowUploadButton", "nzeUploadButton", "nzeUploadButtonIcon", "className", "resultMap"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
76
85
  }
77
86
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyFieldUpload, decorators: [{
78
87
  type: Component,
@@ -109,8 +118,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
109
118
  (nzChange)="props.change && props.change(field, $event)"
110
119
  [nzDownload]="props['download']"
111
120
  [nzTransformFile]="props['transformFile']"
112
- [nzIconRender]="props['iconRender'] ?? null"
113
- [nzFileListRender]="props['fileListRender'] ?? null"
121
+ [nzIconRender]="nzIconRender ?? null"
122
+ [nzFileListRender]="nzFileListRender ?? null"
114
123
  [resultMap]="props['resultMap']"
115
124
  [nzeHint]="props['hint']"
116
125
  [nzeText]="props['text']"
@@ -122,8 +131,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
122
131
  </formly-nz-upload>`,
123
132
  changeDetection: ChangeDetectionStrategy.OnPush
124
133
  }]
125
- }], propDecorators: { upload: [{
134
+ }], ctorParameters: function () { return [{ type: i1.FormlyBoxTemplates, decorators: [{
135
+ type: Optional
136
+ }] }]; }, propDecorators: { upload: [{
126
137
  type: ViewChild,
127
138
  args: ['upload', { static: true }]
128
139
  }] } });
129
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBsb2FkLnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL3VwbG9hZC9zcmMvdXBsb2FkLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSx1QkFBdUIsRUFBUSxTQUFTLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFDNUYsT0FBTyxFQUFFLFNBQVMsRUFBc0MsTUFBTSxrQkFBa0IsQ0F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ICBsaW1pdDogMCxcbiAgICAgIHNpemU6IDAsXG4gICAgICBmaWxlTGlzdDogW10sXG4gICAgICBmaWx0ZXI6IFtdLFxuICAgICAgdGV4dDogJydcbiAgICB9XG4gIH07XG5cbiAgQFZpZXdDaGlsZCgndXBsb2FkJywgeyBzdGF0aWM6IHRydWUgfSkgdXBsb2FkITogVXBsb2FkTnpDb21wb25lbnQ7XG5cbiAgY29uc3RydWN0b3IoQE9wdGlvbmFsKCkgcHVibGljIGZpZWxkVGVtcGxhdGVzOiBGb3JtbHlCb3hUZW1wbGF0ZXMpIHtcbiAgICBzdXBlcigpO1xuICB9XG5cbiAgbmdPbkluaXQoKTogdm9pZCB7XG4gICAgY29uc3QgdHlwZSA9IHRoaXMucHJvcHMudHlwZTtcbiAgICBpZiAodHlwZSkge1xuICAgICAgdGhpcy51cGxvYWQubnpUeXBlID0gdHlwZTtcbiAgICB9XG4gIH1cblxuICBnZXQgbnpJY29uUmVuZGVyKCkge1xuICAgIHJldHVybiByZXNvbHZlVHBsTmFtZSh0aGlzLnByb3BzLCB0aGlzLmZpZWxkVGVtcGxhdGVzLCAnaWNvblJlbmRlcicpO1xuICB9XG5cbiAgZ2V0IG56RmlsZUxpc3RSZW5kZXIoKSB7XG4gICAgcmV0dXJuIHJlc29sdmVUcGxOYW1lKHRoaXMucHJvcHMsIHRoaXMuZmllbGRUZW1wbGF0ZXMsICdmaWxlTGlzdFJlbmRlcicpO1xuICB9XG59XG4iXX0=
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="ngx-formly-zorro-antd/extension" />
5
+ export * from './public_api';
@@ -0,0 +1 @@
1
+ export * from './value-changes-extension';
@@ -0,0 +1,23 @@
1
+ import { FormlyExtension } from '@ngx-formly/core';
2
+ /**
3
+ * 自动添加valueChanges函数
4
+ * @example
5
+ * fields = [
6
+ * {
7
+ * type: 'input',
8
+ * props: {
9
+ * valueChanges: (value, field) => {}
10
+ * }
11
+ * }
12
+ * ]
13
+ */
14
+ export declare const valueChangesExtension: FormlyExtension;
15
+ /**
16
+ * valueChanges函数配置
17
+ */
18
+ export declare const valueChangesExtensionOption: {
19
+ name: string;
20
+ extension: FormlyExtension<import("@ngx-formly/core").FormlyFieldConfig<import("@ngx-formly/core").FormlyFieldProps & {
21
+ [additionalProperties: string]: any;
22
+ }>>;
23
+ };
@@ -0,0 +1,123 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, ChangeDetectionStrategy, Optional, NgModule } from '@angular/core';
3
+ import { CommonModule } from '@angular/common';
4
+ import * as i3 from '@ngx-formly/core';
5
+ import { FieldWrapper, FormlyModule } from '@ngx-formly/core';
6
+ import * as i1 from 'ngx-formly-zorro-antd/common';
7
+ import { resolveTplName, resolveTplNameArray, FormlyCommonModule } from 'ngx-formly-zorro-antd/common';
8
+ import * as i2 from 'ng-zorro-antd/card';
9
+ import { NzCardModule } from 'ng-zorro-antd/card';
10
+
11
+ class FormlyWrapperCard extends FieldWrapper {
12
+ constructor(fieldTemplates) {
13
+ super();
14
+ this.fieldTemplates = fieldTemplates;
15
+ this.defaultOptions = {
16
+ props: {
17
+ bordered: true
18
+ }
19
+ };
20
+ }
21
+ get nzTitle() {
22
+ return resolveTplName(this.props, this.fieldTemplates, 'title');
23
+ }
24
+ get nzCover() {
25
+ return resolveTplName(this.props, this.fieldTemplates, 'cover');
26
+ }
27
+ get nzExtra() {
28
+ return resolveTplName(this.props, this.fieldTemplates, 'extra');
29
+ }
30
+ get nzActions() {
31
+ return resolveTplNameArray(this.props, this.fieldTemplates, 'actions') || [];
32
+ }
33
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyWrapperCard, deps: [{ token: i1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
34
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: FormlyWrapperCard, selector: "formly-wrapper-card", usesInheritance: true, ngImport: i0, template: `
35
+ <nz-card
36
+ [nzActions]="nzActions"
37
+ [formlyAttributes]="field"
38
+ [nzBodyStyle]="props['bodyStyle'] ?? null"
39
+ [nzSize]="props['size']!"
40
+ [nzBorderless]="props['borderless']!!"
41
+ [nzCover]="nzCover"
42
+ [nzExtra]="nzExtra"
43
+ [nzHoverable]="props['hoverable']!!"
44
+ [nzLoading]="props['loading']!!"
45
+ [nzTitle]="nzTitle"
46
+ [nzBordered]="props['bordered']!!"
47
+ [nzType]="props['type'] ?? null"
48
+ >
49
+ <ng-container #fieldComponent></ng-container>
50
+ </nz-card>
51
+ `, isInline: true, dependencies: [{ kind: "component", type: i2.NzCardComponent, selector: "nz-card", inputs: ["nzBordered", "nzBorderless", "nzLoading", "nzHoverable", "nzBodyStyle", "nzCover", "nzActions", "nzType", "nzSize", "nzTitle", "nzExtra"], exportAs: ["nzCard"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
52
+ }
53
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyWrapperCard, decorators: [{
54
+ type: Component,
55
+ args: [{
56
+ selector: 'formly-wrapper-card',
57
+ template: `
58
+ <nz-card
59
+ [nzActions]="nzActions"
60
+ [formlyAttributes]="field"
61
+ [nzBodyStyle]="props['bodyStyle'] ?? null"
62
+ [nzSize]="props['size']!"
63
+ [nzBorderless]="props['borderless']!!"
64
+ [nzCover]="nzCover"
65
+ [nzExtra]="nzExtra"
66
+ [nzHoverable]="props['hoverable']!!"
67
+ [nzLoading]="props['loading']!!"
68
+ [nzTitle]="nzTitle"
69
+ [nzBordered]="props['bordered']!!"
70
+ [nzType]="props['type'] ?? null"
71
+ >
72
+ <ng-container #fieldComponent></ng-container>
73
+ </nz-card>
74
+ `,
75
+ changeDetection: ChangeDetectionStrategy.OnPush
76
+ }]
77
+ }], ctorParameters: function () { return [{ type: i1.FormlyBoxTemplates, decorators: [{
78
+ type: Optional
79
+ }] }]; } });
80
+
81
+ class FormlyNzCardWrapperModule {
82
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzCardWrapperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
83
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzCardWrapperModule, declarations: [FormlyWrapperCard], imports: [CommonModule,
84
+ NzCardModule,
85
+ FormlyCommonModule, i3.FormlyModule] }); }
86
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzCardWrapperModule, imports: [CommonModule,
87
+ NzCardModule,
88
+ FormlyCommonModule,
89
+ FormlyModule.forChild({
90
+ wrappers: [
91
+ {
92
+ name: 'card-wrapper',
93
+ component: FormlyWrapperCard
94
+ }
95
+ ]
96
+ })] }); }
97
+ }
98
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzCardWrapperModule, decorators: [{
99
+ type: NgModule,
100
+ args: [{
101
+ declarations: [FormlyWrapperCard],
102
+ imports: [
103
+ CommonModule,
104
+ NzCardModule,
105
+ FormlyCommonModule,
106
+ FormlyModule.forChild({
107
+ wrappers: [
108
+ {
109
+ name: 'card-wrapper',
110
+ component: FormlyWrapperCard
111
+ }
112
+ ]
113
+ })
114
+ ]
115
+ }]
116
+ }] });
117
+
118
+ /**
119
+ * Generated bundle index. Do not edit.
120
+ */
121
+
122
+ export { FormlyNzCardWrapperModule, FormlyWrapperCard };
123
+ //# sourceMappingURL=ngx-formly-zorro-antd-card-wrapper.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-formly-zorro-antd-card-wrapper.mjs","sources":["../../../../packages/formlyantd/card-wrapper/src/card.wrapper.ts","../../../../packages/formlyantd/card-wrapper/src/card-wrapper.module.ts","../../../../packages/formlyantd/card-wrapper/src/ngx-formly-zorro-antd-card-wrapper.ts"],"sourcesContent":["import { Component, Type, Optional, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldWrapper, FormlyFieldConfig } from '@ngx-formly/core';\nimport {\n FormlyBoxTemplates,\n resolveTplName,\n resolveTplNameArray\n} from 'ngx-formly-zorro-antd/common';\n\nimport { CardWrapperProps } from './card-wrapper.props';\n\nexport interface FormlyCardWrapperConfig extends FormlyFieldConfig<CardWrapperProps> {\n wrappers: ('card-wrapper' | Type<FormlyWrapperCard>)[];\n}\n\n@Component({\n selector: 'formly-wrapper-card',\n template: `\n <nz-card\n [nzActions]=\"nzActions\"\n [formlyAttributes]=\"field\"\n [nzBodyStyle]=\"props['bodyStyle'] ?? null\"\n [nzSize]=\"props['size']!\"\n [nzBorderless]=\"props['borderless']!!\"\n [nzCover]=\"nzCover\"\n [nzExtra]=\"nzExtra\"\n [nzHoverable]=\"props['hoverable']!!\"\n [nzLoading]=\"props['loading']!!\"\n [nzTitle]=\"nzTitle\"\n [nzBordered]=\"props['bordered']!!\"\n [nzType]=\"props['type'] ?? null\"\n >\n <ng-container #fieldComponent></ng-container>\n </nz-card>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyWrapperCard extends FieldWrapper<FormlyFieldConfig<CardWrapperProps>> {\n override defaultOptions = {\n props: {\n bordered: true\n }\n };\n\n constructor(@Optional() public fieldTemplates: FormlyBoxTemplates) {\n super();\n }\n\n get nzTitle() {\n return resolveTplName(this.props, this.fieldTemplates, 'title');\n }\n get nzCover() {\n return resolveTplName(this.props, this.fieldTemplates, 'cover');\n }\n get nzExtra() {\n return resolveTplName(this.props, this.fieldTemplates, 'extra');\n }\n get nzActions() {\n return resolveTplNameArray(this.props, this.fieldTemplates, 'actions') || [];\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\n\nimport { FormlyWrapperCard } from './card.wrapper';\nimport { NzCardModule } from 'ng-zorro-antd/card';\nimport { FormlyCommonModule } from 'ngx-formly-zorro-antd/common';\n\n@NgModule({\n declarations: [FormlyWrapperCard],\n imports: [\n CommonModule,\n NzCardModule,\n FormlyCommonModule,\n\n FormlyModule.forChild({\n wrappers: [\n {\n name: 'card-wrapper',\n component: FormlyWrapperCard\n }\n ]\n })\n ]\n})\nexport class FormlyNzCardWrapperModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;AAoCM,MAAO,iBAAkB,SAAQ,YAAiD,CAAA;AAOtF,IAAA,WAAA,CAA+B,cAAkC,EAAA;AAC/D,QAAA,KAAK,EAAE,CAAC;QADqB,IAAc,CAAA,cAAA,GAAd,cAAc,CAAoB;AANxD,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,QAAQ,EAAE,IAAI;AACf,aAAA;SACF,CAAC;KAID;AAED,IAAA,IAAI,OAAO,GAAA;AACT,QAAA,OAAO,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;KACjE;AACD,IAAA,IAAI,OAAO,GAAA;AACT,QAAA,OAAO,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;KACjE;AACD,IAAA,IAAI,OAAO,GAAA;AACT,QAAA,OAAO,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;KACjE;AACD,IAAA,IAAI,SAAS,GAAA;AACX,QAAA,OAAO,mBAAmB,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,SAAS,CAAC,IAAI,EAAE,CAAC;KAC9E;8GAtBU,iBAAiB,E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