ngx-formly-zorro-antd 17.3.4 → 17.3.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0LnByb3BzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC9zZWxlY3Qvc3JjL3NlbGVjdC5wcm9wcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgVGVtcGxhdGVSZWYgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB0eXBlIHsgRm9ybWx5RmllbGRTZWxlY3RQcm9wcyB9IGZyb20gJ0BuZ3gtZm9ybWx5L2NvcmUvc2VsZWN0JztcbmltcG9ydCB0eXBlIHsgRm9ybWx5QXR0cmlidXRlRXZlbnQgfSBmcm9tICduZ3gtZm9ybWx5LXpvcnJvLWFudGQvY29tbW9uJztcbmltcG9ydCB7IE56T3B0aW9uQ29tcG9uZW50IH0gZnJvbSAnbmctem9ycm8tYW50ZC9zZWxlY3QnO1xuaW1wb3J0IHR5cGUge1xuICBOelNlbGVjdFNpemVUeXBlLFxuICBOelNlbGVjdE1vZGVUeXBlLFxuICBOelNlbGVjdEl0ZW1JbnRlcmZhY2UsXG4gIE56U2VsZWN0UGxhY2VtZW50VHlwZVxufSBmcm9tICduZy16b3Jyby1hbnRkL3NlbGVjdCc7XG5pbXBvcnQgdHlwZSB7IE56U3RhdHVzLCBOelNhZmVBbnkgfSBmcm9tICduZy16b3Jyby1hbnRkL2NvcmUvdHlwZXMnO1xuXG5leHBvcnQgaW50ZXJmYWNlIFNlbGVjdFByb3BzIGV4dGVuZHMgRm9ybWx5RmllbGRTZWxlY3RQcm9wcyB7XG4gIC8qKlxuICAgKiBcdOS4jiBTZWx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86IEZvcm1seUF0dHJpYnV0ZUV2ZW50PHN0cmluZz47XG59XG4iXX0=
|
@@ -72,31 +72,22 @@ export class FormlyFieldSelect extends FieldType {
|
|
72
72
|
[nzOptionOverflowSize]="props['optionOverflowSize']!"
|
73
73
|
[formControl]="formControl"
|
74
74
|
[formlyAttributes]="field"
|
75
|
-
(ngModelChange)="props
|
75
|
+
(ngModelChange)="props['modelChange']?.(field, $event)"
|
76
76
|
(nzBlur)="props.blur?.(field, $event)"
|
77
77
|
(nzFocus)="props.focus?.(field, $event)"
|
78
|
-
(nzOpenChange)="props['openChange']
|
79
|
-
(nzScrollToBottom)="props['scrollToBottom']
|
80
|
-
(nzOnSearch)="props['onSearch']
|
78
|
+
(nzOpenChange)="props['openChange']?.(field, $event)"
|
79
|
+
(nzScrollToBottom)="props['scrollToBottom']?.(field, $event)"
|
80
|
+
(nzOnSearch)="props['onSearch']?.(field, $event)"
|
81
81
|
>
|
82
82
|
@for (item of to.options | formlySelectOptions: field | async; track item) {
|
83
83
|
@if (item.group) {
|
84
84
|
<nz-option-group [nzLabel]="item.label">
|
85
85
|
@for (child of item.group; track child) {
|
86
|
-
<nz-option
|
87
|
-
[nzValue]="child.value"
|
88
|
-
[nzDisabled]="child.disabled"
|
89
|
-
[nzLabel]="child.label"
|
90
|
-
>
|
91
|
-
</nz-option>
|
86
|
+
<nz-option [nzValue]="child.value" [nzDisabled]="child.disabled" [nzLabel]="child.label"> </nz-option>
|
92
87
|
}
|
93
88
|
</nz-option-group>
|
94
89
|
} @else {
|
95
|
-
<nz-option
|
96
|
-
[nzValue]="item.value"
|
97
|
-
[nzDisabled]="item.disabled"
|
98
|
-
[nzLabel]="item.label"
|
99
|
-
></nz-option>
|
90
|
+
<nz-option [nzValue]="item.value" [nzDisabled]="item.disabled" [nzLabel]="item.label"></nz-option>
|
100
91
|
}
|
101
92
|
}
|
102
93
|
</nz-select>
|
@@ -139,31 +130,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
139
130
|
[nzOptionOverflowSize]="props['optionOverflowSize']!"
|
140
131
|
[formControl]="formControl"
|
141
132
|
[formlyAttributes]="field"
|
142
|
-
(ngModelChange)="props
|
133
|
+
(ngModelChange)="props['modelChange']?.(field, $event)"
|
143
134
|
(nzBlur)="props.blur?.(field, $event)"
|
144
135
|
(nzFocus)="props.focus?.(field, $event)"
|
145
|
-
(nzOpenChange)="props['openChange']
|
146
|
-
(nzScrollToBottom)="props['scrollToBottom']
|
147
|
-
(nzOnSearch)="props['onSearch']
|
136
|
+
(nzOpenChange)="props['openChange']?.(field, $event)"
|
137
|
+
(nzScrollToBottom)="props['scrollToBottom']?.(field, $event)"
|
138
|
+
(nzOnSearch)="props['onSearch']?.(field, $event)"
|
148
139
|
>
|
149
140
|
@for (item of to.options | formlySelectOptions: field | async; track item) {
|
150
141
|
@if (item.group) {
|
151
142
|
<nz-option-group [nzLabel]="item.label">
|
152
143
|
@for (child of item.group; track child) {
|
153
|
-
<nz-option
|
154
|
-
[nzValue]="child.value"
|
155
|
-
[nzDisabled]="child.disabled"
|
156
|
-
[nzLabel]="child.label"
|
157
|
-
>
|
158
|
-
</nz-option>
|
144
|
+
<nz-option [nzValue]="child.value" [nzDisabled]="child.disabled" [nzLabel]="child.label"> </nz-option>
|
159
145
|
}
|
160
146
|
</nz-option-group>
|
161
147
|
} @else {
|
162
|
-
<nz-option
|
163
|
-
[nzValue]="item.value"
|
164
|
-
[nzDisabled]="item.disabled"
|
165
|
-
[nzLabel]="item.label"
|
166
|
-
></nz-option>
|
148
|
+
<nz-option [nzValue]="item.value" [nzDisabled]="item.disabled" [nzLabel]="item.label"></nz-option>
|
167
149
|
}
|
168
150
|
}
|
169
151
|
</nz-select>
|
@@ -174,4 +156,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
174
156
|
type: ViewChild,
|
175
157
|
args: ['select', { static: true }]
|
176
158
|
}] } });
|
177
|
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gIHNlbGVjdE9uVGFiOiBmYWxzZSxcbiAgICAgIG1heE11bHRpcGxlQ291bnQ6IEluZmluaXR5LFxuICAgICAgbW9kZTogJ2RlZmF1bHQnIGFzIGNvbnN0LFxuICAgICAgc2hvd1NlYXJjaDogZmFsc2UsXG4gICAgICBzaXplOiAnZGVmYXVsdCcgYXMgY29uc3QsXG4gICAgICBzdGF0dXM6ICcnIGFzIGNvbnN0LFxuICAgICAgdG9rZW5TZXBhcmF0b3JzOiBbXSxcbiAgICAgIG9wdGlvbnM6IFtdLFxuICAgICAgbG9hZGluZzogZmFsc2UsXG4gICAgICBvcHRpb25IZWlnaHRQeDogMzIsXG4gICAgICBvcHRpb25PdmVyZmxvd1NpemU6IDhcbiAgICB9XG4gIH07XG4gIEBWaWV3Q2hpbGQoJ3NlbGVjdCcsIHsgc3RhdGljOiB0cnVlIH0pIHNlbGVjdCE6IE56U2VsZWN0Q29tcG9uZW50O1xuICBuZ09uSW5pdCgpOiB2b2lkIHtcbiAgICBpZiAodGhpcy5wcm9wc1snZmlsdGVyT3B0aW9uJ10gaW5zdGFuY2VvZiBGdW5jdGlvbikge1xuICAgICAgdGhpcy5zZWxlY3QubnpGaWx0ZXJPcHRpb24gPSB0aGlzLnByb3BzWydmaWx0ZXJPcHRpb24nXSBhcyBOelNhZmVBbnk7XG4gICAgfVxuICB9XG59XG4iXX0=
|
@@ -77,31 +77,22 @@ class FormlyFieldSelect extends FieldType {
|
|
77
77
|
[nzOptionOverflowSize]="props['optionOverflowSize']!"
|
78
78
|
[formControl]="formControl"
|
79
79
|
[formlyAttributes]="field"
|
80
|
-
(ngModelChange)="props
|
80
|
+
(ngModelChange)="props['modelChange']?.(field, $event)"
|
81
81
|
(nzBlur)="props.blur?.(field, $event)"
|
82
82
|
(nzFocus)="props.focus?.(field, $event)"
|
83
|
-
(nzOpenChange)="props['openChange']
|
84
|
-
(nzScrollToBottom)="props['scrollToBottom']
|
85
|
-
(nzOnSearch)="props['onSearch']
|
83
|
+
(nzOpenChange)="props['openChange']?.(field, $event)"
|
84
|
+
(nzScrollToBottom)="props['scrollToBottom']?.(field, $event)"
|
85
|
+
(nzOnSearch)="props['onSearch']?.(field, $event)"
|
86
86
|
>
|
87
87
|
@for (item of to.options | formlySelectOptions: field | async; track item) {
|
88
88
|
@if (item.group) {
|
89
89
|
<nz-option-group [nzLabel]="item.label">
|
90
90
|
@for (child of item.group; track child) {
|
91
|
-
<nz-option
|
92
|
-
[nzValue]="child.value"
|
93
|
-
[nzDisabled]="child.disabled"
|
94
|
-
[nzLabel]="child.label"
|
95
|
-
>
|
96
|
-
</nz-option>
|
91
|
+
<nz-option [nzValue]="child.value" [nzDisabled]="child.disabled" [nzLabel]="child.label"> </nz-option>
|
97
92
|
}
|
98
93
|
</nz-option-group>
|
99
94
|
} @else {
|
100
|
-
<nz-option
|
101
|
-
[nzValue]="item.value"
|
102
|
-
[nzDisabled]="item.disabled"
|
103
|
-
[nzLabel]="item.label"
|
104
|
-
></nz-option>
|
95
|
+
<nz-option [nzValue]="item.value" [nzDisabled]="item.disabled" [nzLabel]="item.label"></nz-option>
|
105
96
|
}
|
106
97
|
}
|
107
98
|
</nz-select>
|
@@ -144,31 +135,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
144
135
|
[nzOptionOverflowSize]="props['optionOverflowSize']!"
|
145
136
|
[formControl]="formControl"
|
146
137
|
[formlyAttributes]="field"
|
147
|
-
(ngModelChange)="props
|
138
|
+
(ngModelChange)="props['modelChange']?.(field, $event)"
|
148
139
|
(nzBlur)="props.blur?.(field, $event)"
|
149
140
|
(nzFocus)="props.focus?.(field, $event)"
|
150
|
-
(nzOpenChange)="props['openChange']
|
151
|
-
(nzScrollToBottom)="props['scrollToBottom']
|
152
|
-
(nzOnSearch)="props['onSearch']
|
141
|
+
(nzOpenChange)="props['openChange']?.(field, $event)"
|
142
|
+
(nzScrollToBottom)="props['scrollToBottom']?.(field, $event)"
|
143
|
+
(nzOnSearch)="props['onSearch']?.(field, $event)"
|
153
144
|
>
|
154
145
|
@for (item of to.options | formlySelectOptions: field | async; track item) {
|
155
146
|
@if (item.group) {
|
156
147
|
<nz-option-group [nzLabel]="item.label">
|
157
148
|
@for (child of item.group; track child) {
|
158
|
-
<nz-option
|
159
|
-
[nzValue]="child.value"
|
160
|
-
[nzDisabled]="child.disabled"
|
161
|
-
[nzLabel]="child.label"
|
162
|
-
>
|
163
|
-
</nz-option>
|
149
|
+
<nz-option [nzValue]="child.value" [nzDisabled]="child.disabled" [nzLabel]="child.label"> </nz-option>
|
164
150
|
}
|
165
151
|
</nz-option-group>
|
166
152
|
} @else {
|
167
|
-
<nz-option
|
168
|
-
[nzValue]="item.value"
|
169
|
-
[nzDisabled]="item.disabled"
|
170
|
-
[nzLabel]="item.label"
|
171
|
-
></nz-option>
|
153
|
+
<nz-option [nzValue]="item.value" [nzDisabled]="item.disabled" [nzLabel]="item.label"></nz-option>
|
172
154
|
}
|
173
155
|
}
|
174
156
|
</nz-select>
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ngx-formly-zorro-antd-select.mjs","sources":["../../../../packages/formlyantd/select/src/select.type.ts","../../../../packages/formlyantd/select/src/select.module.ts","../../../../packages/formlyantd/select/src/ngx-formly-zorro-antd-select.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy, ViewChild, OnInit } from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\nimport type { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';\nimport { NzSelectComponent } from 'ng-zorro-antd/select';\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\nimport type { SelectProps } from './select.props';\n\nexport interface FormlySelectFieldConfig extends NzFormlyFieldConfig<SelectProps> {\n type: 'select' | 'enum' | Type<FormlyFieldSelect>;\n}\n\n@Component({\n selector: 'formly-field-select',\n template: `\n <nz-select\n #select\n [class.ng-dirty]=\"showError\"\n [ngStyle]=\"props['ngStyle']\"\n [ngClass]=\"props['ngClass']\"\n [nzPlaceHolder]=\"props.placeholder ?? null\"\n [compareWith]=\"props['compareWith']!\"\n [nzAllowClear]=\"props['allowClear']!!\"\n [nzSelectOnTab]=\"props['selectOnTab']!!\"\n [nzAutoClearSearchValue]=\"props['autoClearSearchValue']\"\n [nzBackdrop]=\"props['backdrop']!!\"\n [nzBorderless]=\"props['borderless']\"\n [nzOpen]=\"props['open']!!\"\n [nzDropdownClassName]=\"props['dropdownClassName']\"\n [nzDropdownMatchSelectWidth]=\"props['dropdownMatchSelectWidth']!!\"\n [nzDropdownStyle]=\"props['dropdownStyle'] ?? null\"\n [nzCustomTemplate]=\"props['customTemplate'] ?? null\"\n [nzServerSearch]=\"props['serverSearch']!!\"\n [nzMaxMultipleCount]=\"props['maxMultipleCount']!\"\n [nzMode]=\"props['mode']!\"\n [nzShowSearch]=\"props['showSearch']!!\"\n [nzSize]=\"props['size']!\"\n [nzStatus]=\"props['status']!\"\n [nzLoading]=\"props['loading']!!\"\n [nzPlacement]=\"props['placement']\"\n [nzShowArrow]=\"props['showArrow']!!\"\n [nzMaxTagCount]=\"props['maxTagCount']\"\n [nzMaxTagPlaceholder]=\"props['maxTagPlaceholder'] ?? null\"\n [nzOptionHeightPx]=\"props['optionHeightPx']!\"\n [nzOptionOverflowSize]=\"props['optionOverflowSize']!\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n (ngModelChange)=\"props.change?.(field, $event)\"\n (nzBlur)=\"props.blur?.(field, $event)\"\n (nzFocus)=\"props.focus?.(field, $event)\"\n (nzOpenChange)=\"props['openChange'] && props['openChange'](field, $event)\"\n (nzScrollToBottom)=\"props['scrollToBottom'] && props['scrollToBottom'](field, $event)\"\n (nzOnSearch)=\"props['onSearch'] && props['onSearch'](field, $event)\"\n >\n @for (item of to.options | formlySelectOptions: field | async; track item) {\n @if (item.group) {\n <nz-option-group [nzLabel]=\"item.label\">\n @for (child of item.group; track child) {\n <nz-option\n [nzValue]=\"child.value\"\n [nzDisabled]=\"child.disabled\"\n [nzLabel]=\"child.label\"\n >\n </nz-option>\n }\n </nz-option-group>\n } @else {\n <nz-option\n [nzValue]=\"item.value\"\n [nzDisabled]=\"item.disabled\"\n [nzLabel]=\"item.label\"\n ></nz-option>\n }\n }\n </nz-select>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldSelect extends FieldType<FieldTypeConfig> implements OnInit {\n override defaultOptions = {\n props: {\n compareWith: (o1: NzSafeAny, o2: NzSafeAny) => o1 === o2,\n autoClearSearchValue: true,\n allowClear: false,\n backdrop: false,\n open: false,\n dropdownMatchSelectWidth: true,\n serverSearch: false,\n selectOnTab: false,\n maxMultipleCount: Infinity,\n mode: 'default' as const,\n showSearch: false,\n size: 'default' as const,\n status: '' as const,\n tokenSeparators: [],\n options: [],\n loading: false,\n optionHeightPx: 32,\n optionOverflowSize: 8\n }\n };\n @ViewChild('select', { static: true }) select!: NzSelectComponent;\n ngOnInit(): void {\n if (this.props['filterOption'] instanceof Function) {\n this.select.nzFilterOption = this.props['filterOption'] as NzSafeAny;\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 { FormlySelectModule } from '@ngx-formly/core/select';\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\n\nimport { NzSelectModule } from 'ng-zorro-antd/select';\n\nimport { FormlyFieldSelect } from './select.type';\n\n@NgModule({\n declarations: [FormlyFieldSelect],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n NzSelectModule,\n\n FormlyNzFormFieldModule,\n FormlySelectModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'select',\n component: FormlyFieldSelect,\n wrappers: ['form-field']\n },\n { name: 'enum', extends: 'select' }\n ]\n })\n ]\n})\nexport class FormlyNzSelectModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names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C5B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,qBAAA;AACD,oBAAA,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE;AACpC,iBAAA;aACF,CAAC,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGO,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBArBhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;AACjC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,cAAc;wBAEd,uBAAuB;wBACvB,kBAAkB;wBAClB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,QAAQ;AACd,oCAAA,SAAS,EAAE,iBAAiB;oCAC5B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACD,gCAAA,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE;AACpC,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;AC/BD;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"ngx-formly-zorro-antd-select.mjs","sources":["../../../../packages/formlyantd/select/src/select.type.ts","../../../../packages/formlyantd/select/src/select.module.ts","../../../../packages/formlyantd/select/src/ngx-formly-zorro-antd-select.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy, ViewChild, OnInit } from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\nimport type { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';\nimport { NzSelectComponent } from 'ng-zorro-antd/select';\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\nimport type { SelectProps } from './select.props';\n\nexport interface FormlySelectFieldConfig extends NzFormlyFieldConfig<SelectProps> {\n type: 'select' | 'enum' | Type<FormlyFieldSelect>;\n}\n\n@Component({\n selector: 'formly-field-select',\n template: `\n <nz-select\n #select\n [class.ng-dirty]=\"showError\"\n [ngStyle]=\"props['ngStyle']\"\n [ngClass]=\"props['ngClass']\"\n [nzPlaceHolder]=\"props.placeholder ?? null\"\n [compareWith]=\"props['compareWith']!\"\n [nzAllowClear]=\"props['allowClear']!!\"\n [nzSelectOnTab]=\"props['selectOnTab']!!\"\n [nzAutoClearSearchValue]=\"props['autoClearSearchValue']\"\n [nzBackdrop]=\"props['backdrop']!!\"\n [nzBorderless]=\"props['borderless']\"\n [nzOpen]=\"props['open']!!\"\n [nzDropdownClassName]=\"props['dropdownClassName']\"\n [nzDropdownMatchSelectWidth]=\"props['dropdownMatchSelectWidth']!!\"\n [nzDropdownStyle]=\"props['dropdownStyle'] ?? null\"\n [nzCustomTemplate]=\"props['customTemplate'] ?? null\"\n [nzServerSearch]=\"props['serverSearch']!!\"\n [nzMaxMultipleCount]=\"props['maxMultipleCount']!\"\n [nzMode]=\"props['mode']!\"\n [nzShowSearch]=\"props['showSearch']!!\"\n [nzSize]=\"props['size']!\"\n [nzStatus]=\"props['status']!\"\n [nzLoading]=\"props['loading']!!\"\n [nzPlacement]=\"props['placement']\"\n [nzShowArrow]=\"props['showArrow']!!\"\n [nzMaxTagCount]=\"props['maxTagCount']\"\n [nzMaxTagPlaceholder]=\"props['maxTagPlaceholder'] ?? null\"\n [nzOptionHeightPx]=\"props['optionHeightPx']!\"\n [nzOptionOverflowSize]=\"props['optionOverflowSize']!\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n (ngModelChange)=\"props['modelChange']?.(field, $event)\"\n (nzBlur)=\"props.blur?.(field, $event)\"\n (nzFocus)=\"props.focus?.(field, $event)\"\n (nzOpenChange)=\"props['openChange']?.(field, $event)\"\n (nzScrollToBottom)=\"props['scrollToBottom']?.(field, $event)\"\n (nzOnSearch)=\"props['onSearch']?.(field, $event)\"\n >\n @for (item of to.options | formlySelectOptions: field | async; track item) {\n @if (item.group) {\n <nz-option-group [nzLabel]=\"item.label\">\n @for (child of item.group; track child) {\n <nz-option [nzValue]=\"child.value\" [nzDisabled]=\"child.disabled\" [nzLabel]=\"child.label\"> </nz-option>\n }\n </nz-option-group>\n } @else {\n <nz-option [nzValue]=\"item.value\" [nzDisabled]=\"item.disabled\" [nzLabel]=\"item.label\"></nz-option>\n }\n }\n </nz-select>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldSelect extends FieldType<FieldTypeConfig> implements OnInit {\n override defaultOptions = {\n props: {\n compareWith: (o1: NzSafeAny, o2: NzSafeAny) => o1 === o2,\n autoClearSearchValue: true,\n allowClear: false,\n backdrop: false,\n open: false,\n dropdownMatchSelectWidth: true,\n serverSearch: false,\n selectOnTab: false,\n maxMultipleCount: Infinity,\n mode: 'default' as const,\n showSearch: false,\n size: 'default' as const,\n status: '' as const,\n tokenSeparators: [],\n options: [],\n loading: false,\n optionHeightPx: 32,\n optionOverflowSize: 8\n }\n };\n @ViewChild('select', { static: true }) select!: NzSelectComponent;\n ngOnInit(): void {\n if (this.props['filterOption'] instanceof Function) {\n this.select.nzFilterOption = this.props['filterOption'] as NzSafeAny;\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 { FormlySelectModule } from '@ngx-formly/core/select';\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\n\nimport { NzSelectModule } from 'ng-zorro-antd/select';\n\nimport { FormlyFieldSelect } from './select.type';\n\n@NgModule({\n declarations: [FormlyFieldSelect],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n NzSelectModule,\n\n FormlyNzFormFieldModule,\n FormlySelectModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'select',\n component: FormlyFieldSelect,\n wrappers: ['form-field']\n },\n { name: 'enum', extends: 'select' }\n ]\n })\n ]\n})\nexport class FormlyNzSelectModule {}\n","/**\n * Generated bundle index. Do not edit.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B;wBAC5B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,qBAAA;AACD,oBAAA,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE;AACpC,iBAAA;aACF,CAAC,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGO,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBArBhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;AACjC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,cAAc;wBAEd,uBAAuB;wBACvB,kBAAkB;wBAClB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,QAAQ;AACd,oCAAA,SAAS,EAAE,iBAAiB;oCAC5B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACD,gCAAA,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE;AACpC,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;AC/BD;;AAEG;;;;"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "ngx-formly-zorro-antd",
|
3
|
-
"version": "17.3.
|
3
|
+
"version": "17.3.5",
|
4
4
|
"publishConfig": {
|
5
5
|
"registry": "https://registry.npmjs.org",
|
6
6
|
"access": "public"
|
@@ -49,11 +49,11 @@
|
|
49
49
|
"esm": "./esm2022/button-group/ngx-formly-zorro-antd-button-group.mjs",
|
50
50
|
"default": "./fesm2022/ngx-formly-zorro-antd-button-group.mjs"
|
51
51
|
},
|
52
|
-
"./card": {
|
53
|
-
"types": "./card/index.d.ts",
|
54
|
-
"esm2022": "./esm2022/card/ngx-formly-zorro-antd-card.mjs",
|
55
|
-
"esm": "./esm2022/card/ngx-formly-zorro-antd-card.mjs",
|
56
|
-
"default": "./fesm2022/ngx-formly-zorro-antd-card.mjs"
|
52
|
+
"./card-wrapper": {
|
53
|
+
"types": "./card-wrapper/index.d.ts",
|
54
|
+
"esm2022": "./esm2022/card-wrapper/ngx-formly-zorro-antd-card-wrapper.mjs",
|
55
|
+
"esm": "./esm2022/card-wrapper/ngx-formly-zorro-antd-card-wrapper.mjs",
|
56
|
+
"default": "./fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs"
|
57
57
|
},
|
58
58
|
"./cascader": {
|
59
59
|
"types": "./cascader/index.d.ts",
|
@@ -61,18 +61,18 @@
|
|
61
61
|
"esm": "./esm2022/cascader/ngx-formly-zorro-antd-cascader.mjs",
|
62
62
|
"default": "./fesm2022/ngx-formly-zorro-antd-cascader.mjs"
|
63
63
|
},
|
64
|
-
"./card-wrapper": {
|
65
|
-
"types": "./card-wrapper/index.d.ts",
|
66
|
-
"esm2022": "./esm2022/card-wrapper/ngx-formly-zorro-antd-card-wrapper.mjs",
|
67
|
-
"esm": "./esm2022/card-wrapper/ngx-formly-zorro-antd-card-wrapper.mjs",
|
68
|
-
"default": "./fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs"
|
69
|
-
},
|
70
64
|
"./checkbox": {
|
71
65
|
"types": "./checkbox/index.d.ts",
|
72
66
|
"esm2022": "./esm2022/checkbox/ngx-formly-zorro-antd-checkbox.mjs",
|
73
67
|
"esm": "./esm2022/checkbox/ngx-formly-zorro-antd-checkbox.mjs",
|
74
68
|
"default": "./fesm2022/ngx-formly-zorro-antd-checkbox.mjs"
|
75
69
|
},
|
70
|
+
"./card": {
|
71
|
+
"types": "./card/index.d.ts",
|
72
|
+
"esm2022": "./esm2022/card/ngx-formly-zorro-antd-card.mjs",
|
73
|
+
"esm": "./esm2022/card/ngx-formly-zorro-antd-card.mjs",
|
74
|
+
"default": "./fesm2022/ngx-formly-zorro-antd-card.mjs"
|
75
|
+
},
|
76
76
|
"./common": {
|
77
77
|
"types": "./common/index.d.ts",
|
78
78
|
"esm2022": "./esm2022/common/ngx-formly-zorro-antd-common.mjs",
|
package/select/select.props.d.ts
CHANGED