ngx-formly-zorro-antd 14.1.0 → 14.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,13 +7,13 @@ import { NzUploadModule } from 'ng-zorro-antd/upload';
7
7
  import { NzButtonModule } from 'ng-zorro-antd/button';
8
8
  import { NzIconModule } from 'ng-zorro-antd/icon';
9
9
  import { FormlyFieldUpload } from './upload.type';
10
- import { UploadComponent } from './upload.component';
10
+ import { UploadNzComponent } from './upload.component';
11
11
  import * as i0 from "@angular/core";
12
12
  import * as i1 from "@ngx-formly/core";
13
13
  export class FormlyNzUploadModule {
14
14
  }
15
15
  FormlyNzUploadModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzUploadModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
16
- FormlyNzUploadModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzUploadModule, declarations: [FormlyFieldUpload, UploadComponent], imports: [CommonModule,
16
+ FormlyNzUploadModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzUploadModule, declarations: [FormlyFieldUpload, UploadNzComponent], imports: [CommonModule,
17
17
  ReactiveFormsModule,
18
18
  FormlyNzFormFieldModule,
19
19
  NzUploadModule,
@@ -37,7 +37,7 @@ FormlyNzUploadModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ve
37
37
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzUploadModule, decorators: [{
38
38
  type: NgModule,
39
39
  args: [{
40
- declarations: [FormlyFieldUpload, UploadComponent],
40
+ declarations: [FormlyFieldUpload, UploadNzComponent],
41
41
  imports: [
42
42
  CommonModule,
43
43
  ReactiveFormsModule,
@@ -57,4 +57,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImpor
57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3Jyby1hbnRkL2Zvcm0tZmllbGQnO1xuXG5pbXBvcnQgeyBOelVwbG9hZE1vZHVsZSB9IGZyb20gJ25nLXpvcnJvLWFudGQvdXBsb2FkJztcbmltcG9ydCB7IE56QnV0dG9uTW9kdWxlIH0gZnJvbSAnbmctem9ycm8tYW50ZC9idXR0b24nO1xuaW1wb3J0IHsgTnpJY29uTW9kdWxlIH0gZnJvbSAnbmctem9ycm8tYW50ZC9pY29uJztcbmltcG9ydCB7IEZvcm1seUZpZWxkVXBsb2FkIH0gZnJvbSAnLi91cGxvYWQudHlwZSc7XG5pbXBvcnQgeyBVcGxvYWROekNvbXBvbmVudCB9IGZyb20gJy4vdXBsb2FkLmNvbXBvbmVudCc7XG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW0Zvcm1seUZpZWxkVXBsb2FkLCBVcGxvYWROekNvbXBvbmVudF0sXG4gIGltcG9ydHM6IFtcbiAgICBDb21tb25Nb2R1bGUsXG4gICAgUmVhY3RpdmVGb3Jtc01vZHVsZSxcbiAgICBGb3JtbHlOekZvcm1GaWVsZE1vZHVsZSxcblxuICAgIE56VXBsb2FkTW9kdWxlLFxuICAgIE56QnV0dG9uTW9kdWxlLFxuICAgIE56SWNvbk1vZHVsZSxcblxuICAgIEZvcm1seU1vZHVsZS5mb3JDaGlsZCh7XG4gICAgICB0eXBlczogW1xuICAgICAgICB7XG4gICAgICAgICAgbmFtZTogJ3VwbG9hZCcsXG4gICAgICAgICAgY29tcG9uZW50OiBGb3JtbHlGaWVsZFVwbG9hZCxcbiAgICAgICAgICB3cmFwcGVyczogWydmb3JtLWZpZWxkJ11cbiAgICAgICAgfVxuICAgICAgXVxuICAgIH0pXG4gIF1cbn0pXG5leHBvcnQgY2xhc3MgRm9ybWx5TnpVcGxvYWRNb2R1bGUge31cbiJdfQ==
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidX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b3ZlSWNvbj86IGJvb2xlYW47IHNob3dEb3dubG9hZEljb24/OiBib29sZWFuIH07XG5cbiAgLyoqXG4gICAqIOaYr+WQpuWxleekuuS4iuS8oOaMiemSrlxuICAgKiBAZGVmYXVsdCB0cnVlXG4gICAqL1xuICBzaG93QnV0dG9uPzogYm9vbGVhbjtcblxuICAvKipcbiAgICog5LiK5Lyg6K+35rGC5pe25piv5ZCm5pC65bimIGNvb2tpZVxuICAgKiBAZGVmYXVsdCBmYWxzZVxuICAgKi9cbiAgd2l0aENyZWRlbnRpYWxzPzogYm9vbGVhbjtcblxuICAvKipcbiAgICog54K55Ye75omT5byA5paH5Lu25a+56K+d5qGGXG4gICAqIEBkZWZhdWx0IHRydWVcbiAgICovXG4gIG9wZW5GaWxlRGlhbG9nT25DbGljaz86IGJvb2xlYW47XG5cbiAgLyoqXG4gICAqIOeCueWHu+aWh+S7tumTvuaOpeaIlumihOiniOWbvuagh+aXtueahOWbnuiwg++8m+azqOaEj++8muWKoeW/heS9v+eUqCA9PiDlrprkuYnlpITnkIbmlrnms5XjgIJcbiAgICovXG4gIHByZXZpZXc/OiAoZmlsZTogTnpVcGxvYWRGaWxlKSA9PiB2b2lkO1xuXG4gIC8qKlxuICAgKiDoh6rlrprkuYnmlofku7bpooTop4jpgLvovpHvvJvms6jmhI/vvJrliqHlv4Xkvb/nlKggPT4g5a6a5LmJ5aSE55CG5pa55rOV44CCXG4gICAqL1xuICBwcmV2aWV3RmlsZT86IChmaWxlOiBOelVwbG9hZEZpbGUpID0+IE9ic2VydmFibGU8c3RyaW5nPjtcblxuICAvKipcbiAgICog6Ieq5a6a5LmJ6aKE6KeI5paH5Lu25piv5ZCm5pyJ5pWI5Zu+5YOP77yM5LiA6Iis55So5LqO5Zu+5YOPVVJM5Li66Z2e5qCH5YeG5qC85byP77yb5rOo5oSP77ya5Yqh5b+F5L2/55SoID0+IOWumuS5ieWkhOeQhuaWueazleOAglxuICAgKi9cbiAgcHJldmlld0lzSW1hZ2U/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nInml4vovazliqjnlLvvvIzpu5jorqTvvJpgZmFsc2VgICovXG4gIHNwaW4/OiBib29sZWFuO1xuICAvKiog5LuF6YCC55So5Y+M6Imy5Zu+5qCH77yM6K6+572u5Y+M6Imy5Zu+5qCH55qE5Li76KaB6aKc6Imy77yM5LuF5a+55b2T5YmNIGljb24g55Sf5pWIICovXG4gIHR3b1RvbmVDb2xvcj86IHN0cmluZztcbiAgLyoqIOaMh+WumuadpeiHqiBJY29uRm9udCDnmoTlm77moIfnsbvlnosgKi9cbiAgaWNvbmZvbnQ/OiBzdHJpbmc7XG59XG4iXX0=
@@ -1,6 +1,6 @@
1
1
  import { Component, ChangeDetectionStrategy, ViewChild } from '@angular/core';
2
2
  import { FieldType } from '@ngx-formly/core';
3
- import { NzUploadComponent } from 'ng-zorro-antd/upload';
3
+ import { UploadNzComponent } from './upload.component';
4
4
  import * as i0 from "@angular/core";
5
5
  import * as i1 from "@angular/forms";
6
6
  import * as i2 from "@ngx-formly/core";
@@ -15,8 +15,10 @@ export class FormlyFieldUpload extends FieldType {
15
15
  showUploadList: true,
16
16
  showButton: true,
17
17
  openFileDialogOnClick: true,
18
+ showUploadButton: true,
18
19
  limit: 0,
19
20
  size: 0,
21
+ fileList: [],
20
22
  filter: [],
21
23
  text: ''
22
24
  }
@@ -30,7 +32,7 @@ export class FormlyFieldUpload extends FieldType {
30
32
  }
31
33
  }
32
34
  FormlyFieldUpload.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldUpload, deps: null, target: i0.ɵɵFactoryTarget.Component });
33
- FormlyFieldUpload.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldUpload, selector: "formly-field-upload", viewQueries: [{ propertyName: "upload", first: true, predicate: ["upload"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `<formly-upload
35
+ FormlyFieldUpload.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", 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
34
36
  #upload
35
37
  [formControl]="formControl"
36
38
  [formlyAttributes]="field"
@@ -40,6 +42,7 @@ FormlyFieldUpload.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
40
42
  [nzBeforeUpload]="props['beforeUpload']"
41
43
  [nzCustomRequest]="props['customRequest']"
42
44
  [nzData]="props['data']"
45
+ [nzDisabled]="props['disabled']!!"
43
46
  [(nzFileList)]="props['fileList']"
44
47
  [nzLimit]="props['limit']"
45
48
  [nzSize]="props['size']"
@@ -48,7 +51,7 @@ FormlyFieldUpload.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
48
51
  [nzHeaders]="props['headers']"
49
52
  [nzListType]="props['listType']!"
50
53
  [nzMultiple]="props['multiple']!!"
51
- [nzName]="props['name']!"
54
+ [nzName]="props['name'] || ''"
52
55
  [nzShowUploadList]="props['showUploadList']"
53
56
  [nzShowButton]="props['showButton']!!"
54
57
  [nzWithCredentials]="props['withCredentials']!!"
@@ -57,22 +60,25 @@ FormlyFieldUpload.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
57
60
  [nzPreviewFile]="props['previewFile']"
58
61
  [nzPreviewIsImage]="props['previewIsImage']"
59
62
  [nzRemove]="props['remove']"
60
- (nzChange)="props['change'] && props['change']($event)"
63
+ (nzChange)="props.change && props.change(field, $event)"
61
64
  [nzDownload]="props['download']"
62
65
  [nzTransformFile]="props['transformFile']"
63
66
  [nzIconRender]="props['iconRender'] ?? null"
64
67
  [nzFileListRender]="props['fileListRender'] ?? null"
65
- [text]="props['text']"
66
- [className]="props['className']"
67
- (nzFileListChange)="props['fileListChange'] && props['fileListChange']($event)"
68
68
  [resultMap]="props['resultMap']"
69
+ [nzeHint]="props['hint']"
70
+ [nzeText]="props['text']"
71
+ [nzeUploadButtonIcon]="props['uploadButtonIcon']"
72
+ [nzeShowUploadButton]="props['showUploadButton']"
73
+ [className]="props['className'] || ''"
74
+ (nzFileListChange)="props['fileListChange'] && props['fileListChange'](field, $event)"
69
75
  >
70
- </formly-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.UploadComponent, selector: "formly-upload", inputs: ["text", "className", "resultMap"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
76
+ </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 });
71
77
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldUpload, decorators: [{
72
78
  type: Component,
73
79
  args: [{
74
80
  selector: 'formly-field-upload',
75
- template: `<formly-upload
81
+ template: `<formly-nz-upload
76
82
  #upload
77
83
  [formControl]="formControl"
78
84
  [formlyAttributes]="field"
@@ -82,6 +88,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImpor
82
88
  [nzBeforeUpload]="props['beforeUpload']"
83
89
  [nzCustomRequest]="props['customRequest']"
84
90
  [nzData]="props['data']"
91
+ [nzDisabled]="props['disabled']!!"
85
92
  [(nzFileList)]="props['fileList']"
86
93
  [nzLimit]="props['limit']"
87
94
  [nzSize]="props['size']"
@@ -90,7 +97,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImpor
90
97
  [nzHeaders]="props['headers']"
91
98
  [nzListType]="props['listType']!"
92
99
  [nzMultiple]="props['multiple']!!"
93
- [nzName]="props['name']!"
100
+ [nzName]="props['name'] || ''"
94
101
  [nzShowUploadList]="props['showUploadList']"
95
102
  [nzShowButton]="props['showButton']!!"
96
103
  [nzWithCredentials]="props['withCredentials']!!"
@@ -99,21 +106,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImpor
99
106
  [nzPreviewFile]="props['previewFile']"
100
107
  [nzPreviewIsImage]="props['previewIsImage']"
101
108
  [nzRemove]="props['remove']"
102
- (nzChange)="props['change'] && props['change']($event)"
109
+ (nzChange)="props.change && props.change(field, $event)"
103
110
  [nzDownload]="props['download']"
104
111
  [nzTransformFile]="props['transformFile']"
105
112
  [nzIconRender]="props['iconRender'] ?? null"
106
113
  [nzFileListRender]="props['fileListRender'] ?? null"
107
- [text]="props['text']"
108
- [className]="props['className']"
109
- (nzFileListChange)="props['fileListChange'] && props['fileListChange']($event)"
110
114
  [resultMap]="props['resultMap']"
115
+ [nzeHint]="props['hint']"
116
+ [nzeText]="props['text']"
117
+ [nzeUploadButtonIcon]="props['uploadButtonIcon']"
118
+ [nzeShowUploadButton]="props['showUploadButton']"
119
+ [className]="props['className'] || ''"
120
+ (nzFileListChange)="props['fileListChange'] && props['fileListChange'](field, $event)"
111
121
  >
112
- </formly-upload>`,
122
+ </formly-nz-upload>`,
113
123
  changeDetection: ChangeDetectionStrategy.OnPush
114
124
  }]
115
125
  }], propDecorators: { upload: [{
116
126
  type: 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aWxlKSA9PiBPYnNlcnZhYmxlPHN0cmluZz47XG5cbiAgLyoqXG4gICAqIOiHquWumuS5iemihOiniOaWh+S7tuaYr+WQpuacieaViOWbvuWDj++8jOS4gOiIrOeUqOS6juWbvuWDj1VSTOS4uumdnuagh+WHhuagvOW8j++8m+azqOaEj++8muWKoeW/heS9v+eUqCA9PiDlrprkuYnlpITnkIbmlrnms5XjgIJcbiAgICovXG4gIHByZXZpZXdJc0ltYWdlPzogKGZpbGU6IE56VXBsb2FkRmlsZSkgPT4gYm9vbGVhbjtcblxuICAvKipcbiAgICog54K55Ye756e76Zmk5paH5Lu25pe255qE5Zue6LCD77yM6L+U5Zue5YC85Li6IGZhbHNlIOaXtuS4jeenu+mZpOOAguaUr+aMgei/lOWbniBPYnNlcnZhYmxlIOWvueixoe+8m+azqOaEj++8muWKoeW/heS9v+eUqCA9PiDlrprkuYnlpITnkIbmlrnms5XjgIJcbiAgICovXG4gIHJlbW92ZT86IChmaWxlOiBOelVwbG9hZEZpbGUpID0+IGJvb2xlYW4gfCBPYnNlcnZhYmxlPGJvb2xlYW4+O1xuXG4gIC8qKlxuICAgKiDkuIrkvKDmlofku7bmlLnlj5jml7bnmoTnirbmgIFcbiAgICovXG4gIG9uQ2hhbmdlPzogKHZhbHVlOiBOelVwbG9hZENoYW5nZVBhcmFtKSA9PiB2b2lkO1xuXG4gIC8qKlxuICAgKiDngrnlh7vkuIvovb3mlofku7bml7bnmoTlm57osIPvvIzlpoLmnpzmsqHmnInmjIflrprvvIzliJnpu5jorqTot7PovazliLDmlofku7YgdXJsIOWvueW6lOeahOagh+etvumhtVxuICAgKiBAZGVmYXVsdCDot7PovazmlrDmoIfnrb7pobVcbiAgICovXG4gIGRvd25sb2FkPzogKGZpbGU6IE56VXBsb2FkRmlsZSkgPT4gdm9pZDtcblxuICAvKipcbiAgICog5Zyo5LiK5Lyg5LmL5YmN6L2s5o2i5paH5Lu244CC5pSv5oyB6L+U5Zue5LiA5LiqIE9ic2VydmFibGU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GaWVsZFR5cGVDb25maWc8VXBsb2FkUHJvcHM+PiBpbXBsZW1lbnRzIE9uSW5pdCB7XG4gIG92ZXJyaWRlIGRlZmF1bHRPcHRpb25zID0ge1xuICAgIHByb3BzOiB7XG4gICAgICBsaXN0VHlwZTogJ3RleHQnIGFzIGNvbnN0LFxuICAgICAgbmFtZTogJ2ZpbGUnLFxuICAgICAgc2hvd1VwbG9hZExpc3Q6IHRydWUsXG4gICAgICBzaG93QnV0dG9uOiB0cnVlLFxuICAgICAgb3BlbkZpbGVEaWFsb2dPbkNsaWNrOiB0cnVlLFxuICAgICAgc2hvd1VwbG9hZEJ1dHRvbjogdHJ1ZSxcbiAgICAgIGxpbWl0OiAwLFxuICAgICAgc2l6ZTogMCxcbiAgICAgIGZpbGVMaXN0OiBbXSxcbiAgICAgIGZpbHRlcjogW10sXG4gICAgICB0ZXh0OiAnJ1xuICAgIH1cbiAgfTtcblxuICBAVmlld0NoaWxkKCd1cGxvYWQnLCB7IHN0YXRpYzogdHJ1ZSB9KSB1cGxvYWQhOiBVcGxvYWROekNvbXBvbmVudDtcblxuICBuZ09uSW5pdCgpOiB2b2lkIHtcbiAgICBjb25zdCB0eXBlID0gdGhpcy5wcm9wcy50eXBlO1xuICAgIGlmICh0eXBlKSB7XG4gICAgICB0aGlzLnVwbG9hZC5uelR5cGUgPSB0eXBlO1xuICAgIH1cbiAgfVxufVxuIl19
@@ -59,10 +59,12 @@ FormlyWrapperTabs.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
59
59
  [nzTitle]="tab.props?.label || ''"
60
60
  [nzForceRender]="tab.props!['tab']?.forceRender"
61
61
  [nzDisabled]="tab.props!['tab']?.disabled"
62
- (nzClick)="tab.props!['tab']?.click && tab.props!['tab']?.click()"
63
- (nzContextmenu)="tab.props!['tab']?.contextmenu && tab.props!['tab']?.contextmenu($event)"
64
- (nzSelect)="tab.props!['tab']?.select && tab.props!['tab']?.select()"
65
- (nzDeselect)="tab.props!['tab']?.deselect && tab.props!['tab']?.deselect()"
62
+ (nzClick)="tab.props!['tab']?.click && tab.props!['tab']?.click(field)"
63
+ (nzContextmenu)="
64
+ tab.props!['tab']?.contextmenu && tab.props!['tab']?.contextmenu(field, $event)
65
+ "
66
+ (nzSelect)="tab.props!['tab']?.select && tab.props!['tab']?.select(field)"
67
+ (nzDeselect)="tab.props!['tab']?.deselect && tab.props!['tab']?.deselect(field)"
66
68
  >
67
69
  <formly-field [field]="tab"></formly-field>
68
70
  </nz-tab>
@@ -100,10 +102,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImpor
100
102
  [nzTitle]="tab.props?.label || ''"
101
103
  [nzForceRender]="tab.props!['tab']?.forceRender"
102
104
  [nzDisabled]="tab.props!['tab']?.disabled"
103
- (nzClick)="tab.props!['tab']?.click && tab.props!['tab']?.click()"
104
- (nzContextmenu)="tab.props!['tab']?.contextmenu && tab.props!['tab']?.contextmenu($event)"
105
- (nzSelect)="tab.props!['tab']?.select && tab.props!['tab']?.select()"
106
- (nzDeselect)="tab.props!['tab']?.deselect && tab.props!['tab']?.deselect()"
105
+ (nzClick)="tab.props!['tab']?.click && tab.props!['tab']?.click(field)"
106
+ (nzContextmenu)="
107
+ tab.props!['tab']?.contextmenu && tab.props!['tab']?.contextmenu(field, $event)
108
+ "
109
+ (nzSelect)="tab.props!['tab']?.select && tab.props!['tab']?.select(field)"
110
+ (nzDeselect)="tab.props!['tab']?.deselect && tab.props!['tab']?.deselect(field)"
107
111
  >
108
112
  <formly-field [field]="tab"></formly-field>
109
113
  </nz-tab>
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd-tabs.mjs","sources":["../../../../packages/formlyantd/tabs/src/tabs.wrapper.ts","../../../../packages/formlyantd/tabs/src/tabs.module.ts","../../../../packages/formlyantd/tabs/src/ngx-formly-zorro-antd-tabs.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldWrapper, FormlyFieldConfig } from '@ngx-formly/core';\n\nimport type { TabsProps } from './tabs.props';\n\nexport interface FormlyTabsWrapperConfig extends FormlyFieldConfig<TabsProps> {\n wrappers: ('tabs' | Type<FormlyWrapperTabs>)[];\n}\n\n@Component({\n selector: 'formly-wrapper-tabs',\n template: `<nz-tabset\n [(nzSelectedIndex)]=\"props['selectedIndex']\"\n [nzAnimated]=\"props['animated']!\"\n [nzSize]=\"props['size']!\"\n [nzTabBarExtraContent]=\"props['tabBarExtraContent']\"\n [nzTabBarStyle]=\"props['tabBarStyle'] ?? null\"\n [nzTabPosition]=\"props['tabPosition']!\"\n [nzType]=\"props['type']!\"\n [nzTabBarGutter]=\"props['tabBarGutter']\"\n [nzHideAll]=\"props['hideAll']!!\"\n [nzLinkRouter]=\"props['linkRouter']!!\"\n [nzLinkExact]=\"props['linkExact']!!\"\n [nzCanDeactivate]=\"props['canDeactivate'] ?? null\"\n [nzHideAdd]=\"props['hideAdd']!!\"\n [nzAddIcon]=\"props['addIcon']!\"\n (nzSelectedIndexChange)=\"\n props['selectedIndexChange'] && props['selectedIndexChange'](field, $event)\n \"\n (nzSelectChange)=\"\n props['selectChange'] && props['selectChange'](field, $event.index, $event.tab)\n \"\n (nzAdd)=\"props['onAdd'] && props['onAdd'](field)\"\n (nzClose)=\"props['onClose'] && props['onClose'](field, $event.index)\"\n >\n <nz-tab\n *ngFor=\"let tab of field.fieldGroup; let i = index; let last = last\"\n [nzTitle]=\"tab.props?.label || ''\"\n [nzForceRender]=\"tab.props!['tab']?.forceRender\"\n [nzDisabled]=\"tab.props!['tab']?.disabled\"\n (nzClick)=\"tab.props!['tab']?.click && tab.props!['tab']?.click()\"\n (nzContextmenu)=\"tab.props!['tab']?.contextmenu && tab.props!['tab']?.contextmenu($event)\"\n (nzSelect)=\"tab.props!['tab']?.select && tab.props!['tab']?.select()\"\n (nzDeselect)=\"tab.props!['tab']?.deselect && tab.props!['tab']?.deselect()\"\n >\n <formly-field [field]=\"tab\"></formly-field>\n </nz-tab>\n </nz-tabset>`,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyWrapperTabs extends FieldWrapper<FormlyFieldConfig<TabsProps>> {\n override defaultOptions = {\n props: {\n animated: true,\n size: 'default' as const,\n type: 'line' as const,\n tabPosition: 'top' as const,\n hideAll: false,\n linkRouter: false,\n linkExact: true,\n centered: false,\n hideAdd: false,\n tab: {\n forceRender: false,\n disabled: false\n }\n }\n };\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\n\nimport { FormlyWrapperTabs } from './tabs.wrapper';\nimport { NzTabsModule } from 'ng-zorro-antd/tabs';\n\n@NgModule({\n declarations: [FormlyWrapperTabs],\n imports: [\n CommonModule,\n\n NzTabsModule,\n\n FormlyModule.forChild({\n wrappers: [\n {\n name: 'tabs',\n component: FormlyWrapperTabs\n }\n ]\n })\n ]\n})\nexport class FormlyNzTabsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;AAkDM,MAAO,iBAAkB,SAAQ,YAA0C,CAAA;AAzCjF,IAAA,WAAA,GAAA;;QA0CW,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,QAAQ,EAAE,IAAI;AACd,gBAAA,IAAI,EAAE,SAAkB;AACxB,gBAAA,IAAI,EAAE,MAAe;AACrB,gBAAA,WAAW,EAAE,KAAc;AAC3B,gBAAA,OAAO,EAAE,KAAK;AACd,gBAAA,UAAU,EAAE,KAAK;AACjB,gBAAA,SAAS,EAAE,IAAI;AACf,gBAAA,QAAQ,EAAE,KAAK;AACf,gBAAA,OAAO,EAAE,KAAK;AACd,gBAAA,GAAG,EAAE;AACH,oBAAA,WAAW,EAAE,KAAK;AAClB,oBAAA,QAAQ,EAAE,KAAK;AAChB,iBAAA;AACF,aAAA;SACF,CAAC;KACH;;8GAlBY,iBAAiB,EAAA,IA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AAA;kBAjB9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;AACjC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBAEZ,YAAY;wBAEZ,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,QAAQ,EAAE;AACR,gCAAA;AACE,oCAAA,IAAI,EAAE,MAAM;AACZ,oCAAA,SAAS,EAAE,iBAAiB;AAC7B,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;iBACF,CAAA;;;ACvBD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-zorro-antd-tabs.mjs","sources":["../../../../packages/formlyantd/tabs/src/tabs.wrapper.ts","../../../../packages/formlyantd/tabs/src/tabs.module.ts","../../../../packages/formlyantd/tabs/src/ngx-formly-zorro-antd-tabs.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldWrapper, FormlyFieldConfig } from '@ngx-formly/core';\n\nimport type { TabsProps } from './tabs.props';\n\nexport interface FormlyTabsWrapperConfig extends FormlyFieldConfig<TabsProps> {\n wrappers: ('tabs' | Type<FormlyWrapperTabs>)[];\n}\n\n@Component({\n selector: 'formly-wrapper-tabs',\n template: `<nz-tabset\n [(nzSelectedIndex)]=\"props['selectedIndex']\"\n [nzAnimated]=\"props['animated']!\"\n [nzSize]=\"props['size']!\"\n [nzTabBarExtraContent]=\"props['tabBarExtraContent']\"\n [nzTabBarStyle]=\"props['tabBarStyle'] ?? null\"\n [nzTabPosition]=\"props['tabPosition']!\"\n [nzType]=\"props['type']!\"\n [nzTabBarGutter]=\"props['tabBarGutter']\"\n [nzHideAll]=\"props['hideAll']!!\"\n [nzLinkRouter]=\"props['linkRouter']!!\"\n [nzLinkExact]=\"props['linkExact']!!\"\n [nzCanDeactivate]=\"props['canDeactivate'] ?? null\"\n [nzHideAdd]=\"props['hideAdd']!!\"\n [nzAddIcon]=\"props['addIcon']!\"\n (nzSelectedIndexChange)=\"\n props['selectedIndexChange'] && props['selectedIndexChange'](field, $event)\n \"\n (nzSelectChange)=\"\n props['selectChange'] && props['selectChange'](field, $event.index, $event.tab)\n \"\n (nzAdd)=\"props['onAdd'] && props['onAdd'](field)\"\n (nzClose)=\"props['onClose'] && props['onClose'](field, $event.index)\"\n >\n <nz-tab\n *ngFor=\"let tab of field.fieldGroup; let i = index; let last = last\"\n [nzTitle]=\"tab.props?.label || ''\"\n [nzForceRender]=\"tab.props!['tab']?.forceRender\"\n [nzDisabled]=\"tab.props!['tab']?.disabled\"\n (nzClick)=\"tab.props!['tab']?.click && tab.props!['tab']?.click(field)\"\n (nzContextmenu)=\"\n tab.props!['tab']?.contextmenu && tab.props!['tab']?.contextmenu(field, $event)\n \"\n (nzSelect)=\"tab.props!['tab']?.select && tab.props!['tab']?.select(field)\"\n (nzDeselect)=\"tab.props!['tab']?.deselect && tab.props!['tab']?.deselect(field)\"\n >\n <formly-field [field]=\"tab\"></formly-field>\n </nz-tab>\n </nz-tabset>`,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyWrapperTabs extends FieldWrapper<FormlyFieldConfig<TabsProps>> {\n override defaultOptions = {\n props: {\n animated: true,\n size: 'default' as const,\n type: 'line' as const,\n tabPosition: 'top' as const,\n hideAll: false,\n linkRouter: false,\n linkExact: true,\n centered: false,\n hideAdd: false,\n tab: {\n forceRender: false,\n disabled: false\n }\n }\n };\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\n\nimport { FormlyWrapperTabs } from './tabs.wrapper';\nimport { NzTabsModule } from 'ng-zorro-antd/tabs';\n\n@NgModule({\n declarations: [FormlyWrapperTabs],\n imports: [\n CommonModule,\n\n NzTabsModule,\n\n FormlyModule.forChild({\n wrappers: [\n {\n name: 'tabs',\n component: FormlyWrapperTabs\n }\n ]\n })\n ]\n})\nexport class FormlyNzTabsModule {}\n","/**\n * Generated bundle index. Do not edit.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AAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;gHAAlB,kBAAkB,EAAA,YAAA,EAAA,CAhBd,iBAAiB,CAAA,EAAA,OAAA,EAAA,CAE9B,YAAY;AAEZ,QAAA,YAAY,EAAAA,EAAA,CAAA,YAAA,CAAA,EAAA,CAAA,CAAA;AAYH,kBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,YAd3B,YAAY;QAEZ,YAAY;QAEZ,YAAY,CAAC,QAAQ,CAAC;AACpB,YAAA,QAAQ,EAAE;AACR,gBAAA;AACE,oBAAA,IAAI,EAAE,MAAM;AACZ,oBAAA,SAAS,EAAE,iBAAiB;AAC7B,iBAAA;AACF,aAAA;SACF,CAAC,CAAA,EAAA,CAAA,CAAA;2FAGO,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAjB9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;AACjC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBAEZ,YAAY;wBAEZ,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,QAAQ,EAAE;AACR,gCAAA;AACE,oCAAA,IAAI,EAAE,MAAM;AACZ,oCAAA,SAAS,EAAE,iBAAiB;AAC7B,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;iBACF,CAAA;;;ACvBD;;AAEG;;;;"}
@@ -4,11 +4,13 @@ import * as i1 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
5
  import * as i2 from '@angular/forms';
6
6
  import { ReactiveFormsModule } from '@angular/forms';
7
- import * as i4 from '@ngx-formly/core';
7
+ import * as i5 from '@ngx-formly/core';
8
8
  import { FieldType, FormlyModule } from '@ngx-formly/core';
9
9
  import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
10
10
  import * as i3 from 'ng-zorro-antd/input';
11
11
  import { NzInputModule } from 'ng-zorro-antd/input';
12
+ import * as i4 from 'ng-zorro-antd/icon';
13
+ import { NzIconModule } from 'ng-zorro-antd/icon';
12
14
 
13
15
  class FormlyFieldTextarea extends FieldType {
14
16
  constructor() {
@@ -24,23 +26,37 @@ class FormlyFieldTextarea extends FieldType {
24
26
  }
25
27
  FormlyFieldTextarea.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldTextarea, deps: null, target: i0.ɵɵFactoryTarget.Component });
26
28
  FormlyFieldTextarea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldTextarea, selector: "formly-field-textarea", usesInheritance: true, ngImport: i0, template: `
27
- <nz-textarea-count
28
- *ngIf="props['maxCharacterCount']; else textarea"
29
- [nzMaxCharacterCount]="props['maxCharacterCount']"
30
- >
31
- <textarea
32
- [formControl]="formControl"
33
- [formlyAttributes]="field"
34
- [ngClass]="props['className']"
35
- [rows]="props.rows"
36
- [cols]="props.cols"
37
- nz-input
38
- [nzBorderless]="props['borderless']"
39
- [nzAutosize]="props['autosize']!"
40
- ></textarea>
41
- </nz-textarea-count>
29
+ <ng-container [ngSwitch]="props.type">
30
+ <ng-container *ngSwitchCase="'count'">
31
+ <nz-textarea-count [nzMaxCharacterCount]="props['maxCharacterCount'] || 0">
32
+ <textarea
33
+ [formControl]="formControl"
34
+ [formlyAttributes]="field"
35
+ [ngClass]="props['className']"
36
+ [rows]="props.rows"
37
+ [cols]="props.cols"
38
+ nz-input
39
+ [nzBorderless]="props['borderless']!!"
40
+ [nzAutosize]="props['autosize']!!"
41
+ ></textarea>
42
+ </nz-textarea-count>
43
+ </ng-container>
44
+
45
+ <ng-container *ngSwitchCase="'clear'">
46
+ <nz-input-group
47
+ class="ant-input-affix-wrapper-textarea-with-clear-btn"
48
+ [nzSuffix]="textAreaClearTpl"
49
+ >
50
+ <ng-container *ngTemplateOutlet="textareaTpl"> </ng-container>
51
+ </nz-input-group>
52
+ </ng-container>
53
+
54
+ <ng-container *ngSwitchDefault>
55
+ <ng-container *ngTemplateOutlet="textareaTpl"> </ng-container>
56
+ </ng-container>
57
+ </ng-container>
42
58
 
43
- <ng-template #textarea>
59
+ <ng-template #textareaTpl>
44
60
  <textarea
45
61
  [formControl]="formControl"
46
62
  [formlyAttributes]="field"
@@ -48,33 +64,59 @@ FormlyFieldTextarea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
48
64
  [rows]="props.rows"
49
65
  [cols]="props.cols"
50
66
  nz-input
51
- [nzBorderless]="props['borderless']"
52
- [nzAutosize]="props['autosize']!"
67
+ [nzBorderless]="props['borderless']!!"
68
+ [nzAutosize]="props['autosize']!!"
53
69
  ></textarea>
54
70
  </ng-template>
55
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { 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: "component", type: i3.NzTextareaCountComponent, selector: "nz-textarea-count", inputs: ["nzMaxCharacterCount", "nzComputeCharacterCount", "nzFormatter"] }, { kind: "directive", type: i3.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "directive", type: i3.NzAutosizeDirective, selector: "textarea[nzAutosize]", inputs: ["nzAutosize"], exportAs: ["nzAutosize"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
71
+
72
+ <!-- 清除数据 -->
73
+ <ng-template #textAreaClearTpl>
74
+ <span
75
+ nz-icon
76
+ class="ant-input-clear-icon"
77
+ nzTheme="fill"
78
+ nzType="close-circle"
79
+ *ngIf="formControl.value"
80
+ (click)="formControl.reset()"
81
+ ></span>
82
+ </ng-template>
83
+ `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { 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: "component", type: i3.NzTextareaCountComponent, selector: "nz-textarea-count", inputs: ["nzMaxCharacterCount", "nzComputeCharacterCount", "nzFormatter"] }, { kind: "directive", type: i3.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "component", type: i3.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch", "nzCompact"], exportAs: ["nzInputGroup"] }, { kind: "directive", type: i3.NzAutosizeDirective, selector: "textarea[nzAutosize]", inputs: ["nzAutosize"], exportAs: ["nzAutosize"] }, { kind: "directive", type: i3.NzInputGroupWhitSuffixOrPrefixDirective, selector: "nz-input-group[nzSuffix], nz-input-group[nzPrefix]" }, { kind: "directive", type: i4.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "directive", type: i5.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
56
84
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldTextarea, decorators: [{
57
85
  type: Component,
58
86
  args: [{
59
87
  selector: 'formly-field-textarea',
60
88
  template: `
61
- <nz-textarea-count
62
- *ngIf="props['maxCharacterCount']; else textarea"
63
- [nzMaxCharacterCount]="props['maxCharacterCount']"
64
- >
65
- <textarea
66
- [formControl]="formControl"
67
- [formlyAttributes]="field"
68
- [ngClass]="props['className']"
69
- [rows]="props.rows"
70
- [cols]="props.cols"
71
- nz-input
72
- [nzBorderless]="props['borderless']"
73
- [nzAutosize]="props['autosize']!"
74
- ></textarea>
75
- </nz-textarea-count>
89
+ <ng-container [ngSwitch]="props.type">
90
+ <ng-container *ngSwitchCase="'count'">
91
+ <nz-textarea-count [nzMaxCharacterCount]="props['maxCharacterCount'] || 0">
92
+ <textarea
93
+ [formControl]="formControl"
94
+ [formlyAttributes]="field"
95
+ [ngClass]="props['className']"
96
+ [rows]="props.rows"
97
+ [cols]="props.cols"
98
+ nz-input
99
+ [nzBorderless]="props['borderless']!!"
100
+ [nzAutosize]="props['autosize']!!"
101
+ ></textarea>
102
+ </nz-textarea-count>
103
+ </ng-container>
104
+
105
+ <ng-container *ngSwitchCase="'clear'">
106
+ <nz-input-group
107
+ class="ant-input-affix-wrapper-textarea-with-clear-btn"
108
+ [nzSuffix]="textAreaClearTpl"
109
+ >
110
+ <ng-container *ngTemplateOutlet="textareaTpl"> </ng-container>
111
+ </nz-input-group>
112
+ </ng-container>
113
+
114
+ <ng-container *ngSwitchDefault>
115
+ <ng-container *ngTemplateOutlet="textareaTpl"> </ng-container>
116
+ </ng-container>
117
+ </ng-container>
76
118
 
77
- <ng-template #textarea>
119
+ <ng-template #textareaTpl>
78
120
  <textarea
79
121
  [formControl]="formControl"
80
122
  [formlyAttributes]="field"
@@ -82,10 +124,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImpor
82
124
  [rows]="props.rows"
83
125
  [cols]="props.cols"
84
126
  nz-input
85
- [nzBorderless]="props['borderless']"
86
- [nzAutosize]="props['autosize']!"
127
+ [nzBorderless]="props['borderless']!!"
128
+ [nzAutosize]="props['autosize']!!"
87
129
  ></textarea>
88
130
  </ng-template>
131
+
132
+ <!-- 清除数据 -->
133
+ <ng-template #textAreaClearTpl>
134
+ <span
135
+ nz-icon
136
+ class="ant-input-clear-icon"
137
+ nzTheme="fill"
138
+ nzType="close-circle"
139
+ *ngIf="formControl.value"
140
+ (click)="formControl.reset()"
141
+ ></span>
142
+ </ng-template>
89
143
  `,
90
144
  changeDetection: ChangeDetectionStrategy.OnPush
91
145
  }]
@@ -97,11 +151,13 @@ FormlyNzTextareaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", v
97
151
  FormlyNzTextareaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzTextareaModule, declarations: [FormlyFieldTextarea], imports: [CommonModule,
98
152
  ReactiveFormsModule,
99
153
  FormlyNzFormFieldModule,
100
- NzInputModule, i4.FormlyModule] });
154
+ NzInputModule,
155
+ NzIconModule, i5.FormlyModule] });
101
156
  FormlyNzTextareaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzTextareaModule, imports: [CommonModule,
102
157
  ReactiveFormsModule,
103
158
  FormlyNzFormFieldModule,
104
159
  NzInputModule,
160
+ NzIconModule,
105
161
  FormlyModule.forChild({
106
162
  types: [
107
163
  {
@@ -120,6 +176,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImpor
120
176
  ReactiveFormsModule,
121
177
  FormlyNzFormFieldModule,
122
178
  NzInputModule,
179
+ NzIconModule,
123
180
  FormlyModule.forChild({
124
181
  types: [
125
182
  {
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-formly-zorro-antd-textarea.mjs","sources":["../../../../packages/formlyantd/textarea/src/textarea.type.ts","../../../../packages/formlyantd/textarea/src/textarea.module.ts","../../../../packages/formlyantd/textarea/src/ngx-formly-zorro-antd-textarea.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\n\ninterface TextareaProps extends FormlyFieldProps {\n /**\n * 自适应内容高度,可设置为 boolean 或对象:{ minRows: 2, maxRows: 6 }\n * @default false\n */\n autosize?: boolean | { minRows: number; maxRows: number };\n\n /**\n * 是否隐藏边框\n * @default false\n */\n borderless?: boolean;\n\n /**\n * textarea 数字提示显示的最大值\n */\n maxCharacterCount?: number;\n}\n\nexport interface FormlyTextareaFieldConfig extends FormlyFieldConfig<TextareaProps> {\n type: 'textarea' | Type<FormlyFieldTextarea>;\n}\n\n@Component({\n selector: 'formly-field-textarea',\n template: `\n <nz-textarea-count\n *ngIf=\"props['maxCharacterCount']; else textarea\"\n [nzMaxCharacterCount]=\"props['maxCharacterCount']\"\n >\n <textarea\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [ngClass]=\"props['className']\"\n [rows]=\"props.rows\"\n [cols]=\"props.cols\"\n nz-input\n [nzBorderless]=\"props['borderless']\"\n [nzAutosize]=\"props['autosize']!\"\n ></textarea>\n </nz-textarea-count>\n\n <ng-template #textarea>\n <textarea\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [ngClass]=\"props['className']\"\n [rows]=\"props.rows\"\n [cols]=\"props.cols\"\n nz-input\n [nzBorderless]=\"props['borderless']\"\n [nzAutosize]=\"props['autosize']!\"\n ></textarea>\n </ng-template>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldTextarea extends FieldType<FieldTypeConfig> {\n override defaultOptions = {\n props: {\n rows: 4,\n autosize: false,\n borderless: false\n }\n };\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\n\nimport { FormlyFieldTextarea } from './textarea.type';\nimport { NzInputModule } from 'ng-zorro-antd/input';\n\n@NgModule({\n declarations: [FormlyFieldTextarea],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormlyNzFormFieldModule,\n NzInputModule,\n\n FormlyModule.forChild({\n types: [\n {\n name: 'textarea',\n component: FormlyFieldTextarea,\n wrappers: ['form-field']\n }\n ]\n })\n ]\n})\nexport class FormlyNzTextareaModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;AA6DM,MAAO,mBAAoB,SAAQ,SAA0B,CAAA;AAlCnE,IAAA,WAAA,GAAA;;QAmCW,IAAA,CAA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AAsB,EAAA,YAAA,EAAA,CAlBlB,mBAAmB,CAAA,EAAA,OAAA,EAAA,CAEhC,YAAY;QACZ,mBAAmB;QACnB,uBAAuB;AACvB,QAAA,aAAa,EAAAA,EAAA,CAAA,YAAA,CAAA,EAAA,CAAA,CAAA;AAaJ,sBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,sBAAsB,YAhB/B,YAAY;QACZ,mBAAmB;QACnB,uBAAuB;QACvB,aAAa;QAEb,YAAY,CAAC,QAAQ,CAAC;AACpB,YAAA,KAAK,EAAE;AACL,gBAAA;AACE,oBAAA,IAAI,EAAE,UAAU;AAChB,oBAAA,SAAS,EAAE,mBAAmB;oBAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iBAAA;AACF,aAAA;SACF,CAAC,CAAA,EAAA,CAAA,CAAA;2FAGO,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAnBlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;AACnC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBACvB,aAAa;wBAEb,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,UAAU;AAChB,oCAAA,SAAS,EAAE,mBAAmB;oCAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;iBACF,CAAA;;;AC3BD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-formly-zorro-antd-textarea.mjs","sources":["../../../../packages/formlyantd/textarea/src/textarea.type.ts","../../../../packages/formlyantd/textarea/src/textarea.module.ts","../../../../packages/formlyantd/textarea/src/ngx-formly-zorro-antd-textarea.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\n\ninterface TextareaProps extends FormlyFieldProps {\n type?: 'count' | 'clear';\n\n /**\n * 自适应内容高度,可设置为 boolean 或对象:{ minRows: 2, maxRows: 6 }\n * @default false\n */\n autosize?: boolean | { minRows: number; maxRows: number };\n\n /**\n * 是否隐藏边框\n * @default false\n */\n borderless?: boolean;\n\n /**\n * textarea 数字提示显示的最大值\n */\n maxCharacterCount?: number;\n}\n\nexport interface FormlyTextareaFieldConfig extends FormlyFieldConfig<TextareaProps> {\n type: 'textarea' | Type<FormlyFieldTextarea>;\n}\n\n@Component({\n selector: 'formly-field-textarea',\n template: `\n <ng-container [ngSwitch]=\"props.type\">\n <ng-container *ngSwitchCase=\"'count'\">\n <nz-textarea-count [nzMaxCharacterCount]=\"props['maxCharacterCount'] || 0\">\n <textarea\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [ngClass]=\"props['className']\"\n [rows]=\"props.rows\"\n [cols]=\"props.cols\"\n nz-input\n [nzBorderless]=\"props['borderless']!!\"\n [nzAutosize]=\"props['autosize']!!\"\n ></textarea>\n </nz-textarea-count>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'clear'\">\n <nz-input-group\n class=\"ant-input-affix-wrapper-textarea-with-clear-btn\"\n [nzSuffix]=\"textAreaClearTpl\"\n >\n <ng-container *ngTemplateOutlet=\"textareaTpl\"> </ng-container>\n </nz-input-group>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <ng-container *ngTemplateOutlet=\"textareaTpl\"> </ng-container>\n </ng-container>\n </ng-container>\n\n <ng-template #textareaTpl>\n <textarea\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [ngClass]=\"props['className']\"\n [rows]=\"props.rows\"\n [cols]=\"props.cols\"\n nz-input\n [nzBorderless]=\"props['borderless']!!\"\n [nzAutosize]=\"props['autosize']!!\"\n ></textarea>\n </ng-template>\n\n <!-- 清除数据 -->\n <ng-template #textAreaClearTpl>\n <span\n nz-icon\n class=\"ant-input-clear-icon\"\n nzTheme=\"fill\"\n nzType=\"close-circle\"\n *ngIf=\"formControl.value\"\n (click)=\"formControl.reset()\"\n ></span>\n </ng-template>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldTextarea extends FieldType<FieldTypeConfig<TextareaProps>> {\n override defaultOptions = {\n props: {\n rows: 4,\n autosize: false,\n borderless: false\n }\n };\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\n\nimport { FormlyFieldTextarea } from './textarea.type';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\n\n@NgModule({\n declarations: [FormlyFieldTextarea],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormlyNzFormFieldModule,\n NzInputModule,\n NzIconModule,\n\n FormlyModule.forChild({\n types: [\n {\n name: 'textarea',\n component: FormlyFieldTextarea,\n wrappers: ['form-field']\n }\n ]\n })\n ]\n})\nexport class FormlyNzTextareaModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;AAyFM,MAAO,mBAAoB,SAAQ,SAAyC,CAAA;AA5DlF,IAAA,WAAA,GAAA;;QA6DW,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,IAAI,EAAE,CAAC;AACP,gBAAA,QAAQ,EAAE,KAAK;AACf,gBAAA,UAAU,EAAE,KAAK;AAClB,aAAA;SACF,CAAC;KACH;;gHARY,mBAAmB,EAAA,IAAA,EAAA,IAAA,EAA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