ngx-formly-zorro-antd 17.3.4 → 17.3.6
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/select/select.props.mjs +1 -1
- package/esm2022/select/select.type.mjs +13 -31
- package/esm2022/tree-select/tree-select.type.mjs +3 -4
- package/fesm2022/ngx-formly-zorro-antd-select.mjs +12 -30
- package/fesm2022/ngx-formly-zorro-antd-select.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs +2 -3
- package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
- package/package.json +19 -19
- package/select/select.props.d.ts +4 -0
- package/tree-select/tree-select.type.d.ts +0 -1
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0LnByb3BzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC9zZWxlY3Qvc3JjL3NlbGVjdC5wcm9wcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgVGVtcGxhdGVSZWYgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB0eXBlIHsgRm9ybWx5RmllbGRTZWxlY3RQcm9wcyB9IGZyb20gJ0BuZ3gtZm9ybWx5L2NvcmUvc2VsZWN0JztcbmltcG9ydCB0eXBlIHsgRm9ybWx5QXR0cmlidXRlRXZlbnQgfSBmcm9tICduZ3gtZm9ybWx5LXpvcnJvLWFudGQvY29tbW9uJztcbmltcG9ydCB7IE56T3B0aW9uQ29tcG9uZW50IH0gZnJvbSAnbmctem9ycm8tYW50ZC9zZWxlY3QnO1xuaW1wb3J0IHR5cGUge1xuICBOelNlbGVjdFNpemVUeXBlLFxuICBOelNlbGVjdE1vZGVUeXBlLFxuICBOelNlbGVjdEl0ZW1JbnRlcmZ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mgIHlj5jljJblm57osINcbiAgICovXG4gIG1vZGVsQ2hhbmdlPzogRm9ybWx5QXR0cmlidXRlRXZlbnQ7XG5cbiAgLyoqXG4gICAqIOS4i+aLieWIl+ihqOa7muWKqOWIsOW6lemDqOeahOWbnuiwg1xuICAgKi9cbiAgc2Nyb2xsVG9Cb3R0b20/OiBGb3JtbHlBdHRyaWJ1dGVFdmVudDtcblxuICAvKipcbiAgICog5paH5pys5qGG5YC85Y+Y5YyW5pe25Zue6LCDXG4gICAqL1xuICBvblNlYXJjaD86IEZvcm1seUF0dHJpYnV0ZUV2ZW50PHN0cmluZz47XG59XG4iXX0=
|
@@ -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
|
-
//# sourceMappingURL=data:application/json;base64,
|
159
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0LnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL3NlbGVjdC9zcmMvc2VsZWN0LnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBUSx1QkFBdUIsRUFBRSxTQUFTLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFDNUYsT0FBTyxFQUFFLFNBQVMsRUFBbUIsTUFBTSxrQkFBa0IsQ0FBQztBQUU5RCxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQzs7Ozs7OztBQWlFekQsTUFBTSxPQUFPLGlCQUFrQixTQUFRLFNBQTBCO0lBekRqRTs7UUEwRFcsbUJBQWMsR0FBRztZQUN4QixLQUFLLEVBQUU7Z0JBQ0wsV0FBVyxFQUFFLENBQUMsRUFBYSxFQUFFLEVBQWEsRUFBRSxFQUFFLENBQUMsRUFBRSxLQUFLLEVBQUU7Z0JBQ3hELG9CQUFvQixFQUFFLElBQUk7Z0JBQzFCLFVBQVUsRUFBRSxLQUFLO2dCQUNqQixRQUFRLEVBQUUsS0FBSztnQkFDZixJQUFJLEVBQUUsS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iAobzE6IE56U2FmZUFueSwgbzI6IE56U2FmZUFueSkgPT4gbzEgPT09IG8yLFxuICAgICAgYXV0b0NsZWFyU2VhcmNoVmFsdWU6IHRydWUsXG4gICAgICBhbGxvd0NsZWFyOiBmYWxzZSxcbiAgICAgIGJhY2tkcm9wOiBmYWxzZSxcbiAgICAgIG9wZW46IGZhbHNlLFxuICAgICAgZHJvcGRvd25NYXRjaFNlbGVjdFdpZHRoOiB0cnVlLFxuICAgICAgc2VydmVyU2VhcmNoOiBmYWxzZSxcbiAgICAgIHNlbGVjdE9uVGFiOiBmYWxzZSxcbiAgICAgIG1heE11bHRpcGxlQ291bnQ6IEluZmluaXR5LFxuICAgICAgbW9kZTogJ2RlZmF1bHQnIGFzIGNvbnN0LFxuICAgICAgc2hvd1NlYXJjaDogZmFsc2UsXG4gICAgICBzaXplOiAnZGVmYXVsdCcgYXMgY29uc3QsXG4gICAgICBzdGF0dXM6ICcnIGFzIGNvbnN0LFxuICAgICAgdG9rZW5TZXBhcmF0b3JzOiBbXSxcbiAgICAgIG9wdGlvbnM6IFtdLFxuICAgICAgbG9hZGluZzogZmFsc2UsXG4gICAgICBvcHRpb25IZWlnaHRQeDogMzIsXG4gICAgICBvcHRpb25PdmVyZmxvd1NpemU6IDhcbiAgICB9XG4gIH07XG4gIEBWaWV3Q2hpbGQoJ3NlbGVjdCcsIHsgc3RhdGljOiB0cnVlIH0pIHNlbGVjdCE6IE56U2VsZWN0Q29tcG9uZW50O1xuICBuZ09uSW5pdCgpOiB2b2lkIHtcbiAgICBpZiAodGhpcy5wcm9wc1snZmlsdGVyT3B0aW9uJ10gaW5zdGFuY2VvZiBGdW5jdGlvbikge1xuICAgICAgdGhpcy5zZWxlY3QubnpGaWx0ZXJPcHRpb24gPSB0aGlzLnByb3BzWydmaWx0ZXJPcHRpb24nXSBhcyBOelNhZmVBbnk7XG4gICAgfVxuICB9XG59XG4iXX0=
|
@@ -17,7 +17,6 @@ export class FormlyFieldTreeSelect extends FieldType {
|
|
17
17
|
showExpand: true,
|
18
18
|
nodes: [],
|
19
19
|
displayWith: (node) => node.title,
|
20
|
-
placement: 'bottomLeft',
|
21
20
|
virtualItemSize: 28,
|
22
21
|
virtualMaxBufferPx: 500,
|
23
22
|
virtualMinBufferPx: 28
|
@@ -59,7 +58,7 @@ export class FormlyFieldTreeSelect extends FieldType {
|
|
59
58
|
[nzExpandedKeys]="props['expandedKeys']"
|
60
59
|
[nzDisplayWith]="props['displayWith']"
|
61
60
|
[nzMaxTagCount]="props['maxTagCount']"
|
62
|
-
[nzPlacement]="props['placement']"
|
61
|
+
[nzPlacement]="props['placement'] ?? ''"
|
63
62
|
[nzMaxTagPlaceholder]="nzMaxTagPlaceholder ?? null"
|
64
63
|
[nzTreeTemplate]="nzTreeTemplate!"
|
65
64
|
[nzVirtualHeight]="props['virtualHeight'] ?? null"
|
@@ -99,7 +98,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
99
98
|
[nzExpandedKeys]="props['expandedKeys']"
|
100
99
|
[nzDisplayWith]="props['displayWith']"
|
101
100
|
[nzMaxTagCount]="props['maxTagCount']"
|
102
|
-
[nzPlacement]="props['placement']"
|
101
|
+
[nzPlacement]="props['placement'] ?? ''"
|
103
102
|
[nzMaxTagPlaceholder]="nzMaxTagPlaceholder ?? null"
|
104
103
|
[nzTreeTemplate]="nzTreeTemplate!"
|
105
104
|
[nzVirtualHeight]="props['virtualHeight'] ?? null"
|
@@ -114,4 +113,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
114
113
|
}], ctorParameters: () => [{ type: i1.FormlyBoxTemplates, decorators: [{
|
115
114
|
type: Optional
|
116
115
|
}] }] });
|
117
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJlZS1zZWxlY3QudHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi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rov57mjqXnur9cbiAgICogQGRlZmF1bHQgZmFsc2VcbiAgICovXG4gIHNob3dMaW5lPzogYm9vbGVhbjtcblxuICAvKipcbiAgICog5piv5ZCm5byC5q2l5Yqg6L29KOaYvuekuuWKoOi9veeKtuaAgSlcbiAgICogQGRlZmF1bHQgZmFsc2VcbiAgICovXG4gIGFzeW5jRGF0YT86IGJvb2xlYW47XG5cbiAgLyoqXG4gICAqIHRyZWVOb2RlcyDmlbDmja5cbiAgICogQGRlZmF1bHQgW11cbiAgICovXG4gIG5vZGVzPzogTnpUcmVlTm9kZU9wdGlvbnNbXTtcblxuICAvKipcbiAgICog6buY6K6k5bGV5byA5omA5pyJ5qCR6IqC54K5XG4gICAqIEBkZWZhdWx0IGZhbHNlXG4gICAqL1xuICBkZWZhdWx0RXhwYW5kQWxsPzogYm9vbGVhbjtcblxuICAvKipcbiAgICog6buY6K6k5bGV5byA5oyH5a6a55qE5qCR6IqC54K5XG4gICAqL1xuICBleHBhbmRlZEtleXM/OiBzdHJpbmdbXTtcblxuICAvKipcbiAgICogXHTlpoLkvZXlnKjovpPlhaXmoYbmmL7npLrmiYDpgInnmoToioLngrnlgLznmoTmlrnms5VcbiAgICogQGRlZmF1bHQgKG5vZGU6IE56VHJlZU5vZGUpID0+IG5vZGUudGl0bGVcbiAgICovXG4gIGRpc3BsYXlXaXRoPzogKG5vZGU6IE56VHJlZU5vZGUpID0+IHN0cmluZztcblxuICAvKipcbiAgICog5pyA5aSa5pi+56S65aSa5bCR5LiqIHRhZ1xuICAgKlxuICAgKi9cbiAgbWF4VGFnQ291bnQ/OiBudW1iZXI7XG5cbiAgLyoqXG4gICAqIOmakOiXjyB0YWcg5pe25pi+56S655qE5YaF5a65XG4gICAqL1xuICBtYXhUYWdQbGFjZWhvbGRlcj86IFRlbXBsYXRlUmVmPHsgJGltcGxpY2l0OiBOelRyZWVOb2RlW10gfT47XG4gIG1heFRhZ1BsYWNlaG9sZGVyTmFtZT86IHN0cmluZztcblxuICAvKipc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ldCBuek1heFRhZ1BsYWNlaG9sZGVyKCkge1xuICAgIHJldHVybiByZXNvbHZlVHBsTmFtZSh0aGlzLnByb3BzLCB0aGlzLmZpZWxkVGVtcGxhdGVzLCAnbWF4VGFnUGxhY2Vob2xkZXInKTtcbiAgfVxuICBnZXQgbnpUcmVlVGVtcGxhdGUoKSB7XG4gICAgcmV0dXJuIHJlc29sdmVUcGxOYW1lKHRoaXMucHJvcHMsIHRoaXMuZmllbGRUZW1wbGF0ZXMsICd0cmVlVGVtcGxhdGUnKTtcbiAgfVxufVxuIl19
|
@@ -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":["i1"],"mappings":";;;;;;;;;;;;;;AA6EM,MAAO,iBAAkB,SAAQ,SAA0B,CAAA;AAlEjE,IAAA,WAAA,GAAA;;AAmEW,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;gBACL,WAAW,EAAE,CAAC,EAAa,EAAE,EAAa,KAAK,EAAE,KAAK,EAAE;AACxD,gBAAA,oBAAoB,EAAE,IAAI;AAC1B,gBAAA,UAAU,EAAE,KAAK;AACjB,gBAAA,QAAQ,EAAE,KAAK;AACf,gBAAA,IAAI,EAAE,KAAK;AACX,gBAAA,wBAAwB,EAAE,IAAI;AAC9B,gBAAA,YAAY,EAAE,KAAK;AACnB,gBAAA,WAAW,EAAE,KAAK;AAClB,gBAAA,gBAAgB,EAAE,QAAQ;AAC1B,gBAA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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.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;AAoEM,MAAO,iBAAkB,SAAQ,SAA0B,CAAA;AAzDjE,IAAA,WAAA,GAAA;;AA0DW,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;gBACL,WAAW,EAAE,CAAC,EAAa,EAAE,EAAa,KAAK,EAAE,KAAK,EAAE;AACxD,gBAAA,oBAAoB,EAAE,IAAI;AAC1B,gBAAA,UAAU,EAAE,KAAK;AACjB,gBAAA,QAAQ,EAAE,KAAK;AACf,gBAAA,IAAI,EAAE,KAAK;AACX,gBAAA,wBAAwB,EAAE,IAAI;AAC9B,gBAAA,YAAY,EAAE,KAAK;AACnB,gBAAA,WAAW,EAAE,KAAK;AAClB,gBAAA,gBAAgB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;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;;;;"}
|
@@ -22,7 +22,6 @@ class FormlyFieldTreeSelect extends FieldType {
|
|
22
22
|
showExpand: true,
|
23
23
|
nodes: [],
|
24
24
|
displayWith: (node) => node.title,
|
25
|
-
placement: 'bottomLeft',
|
26
25
|
virtualItemSize: 28,
|
27
26
|
virtualMaxBufferPx: 500,
|
28
27
|
virtualMinBufferPx: 28
|
@@ -64,7 +63,7 @@ class FormlyFieldTreeSelect extends FieldType {
|
|
64
63
|
[nzExpandedKeys]="props['expandedKeys']"
|
65
64
|
[nzDisplayWith]="props['displayWith']"
|
66
65
|
[nzMaxTagCount]="props['maxTagCount']"
|
67
|
-
[nzPlacement]="props['placement']"
|
66
|
+
[nzPlacement]="props['placement'] ?? ''"
|
68
67
|
[nzMaxTagPlaceholder]="nzMaxTagPlaceholder ?? null"
|
69
68
|
[nzTreeTemplate]="nzTreeTemplate!"
|
70
69
|
[nzVirtualHeight]="props['virtualHeight'] ?? null"
|
@@ -104,7 +103,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
104
103
|
[nzExpandedKeys]="props['expandedKeys']"
|
105
104
|
[nzDisplayWith]="props['displayWith']"
|
106
105
|
[nzMaxTagCount]="props['maxTagCount']"
|
107
|
-
[nzPlacement]="props['placement']"
|
106
|
+
[nzPlacement]="props['placement'] ?? ''"
|
108
107
|
[nzMaxTagPlaceholder]="nzMaxTagPlaceholder ?? null"
|
109
108
|
[nzTreeTemplate]="nzTreeTemplate!"
|
110
109
|
[nzVirtualHeight]="props['virtualHeight'] ?? null"
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ngx-formly-zorro-antd-tree-select.mjs","sources":["../../../../packages/formlyantd/tree-select/src/tree-select.type.ts","../../../../packages/formlyantd/tree-select/src/tree-select.module.ts","../../../../packages/formlyantd/tree-select/src/ngx-formly-zorro-antd-tree-select.ts"],"sourcesContent":["import { Component, Type, Optional, TemplateRef, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\nimport type { NzFormlyFieldConfig, FormlyAttributeEvent, NgStyleType } from 'ngx-formly-zorro-antd/common';\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\nimport { FormlyBoxTemplates, resolveTplName } from 'ngx-formly-zorro-antd/common';\nimport type { NzFormatEmitEvent, NzTreeNode, NzTreeNodeOptions } from 'ng-zorro-antd/tree';\nimport type { NzPlacementType } from 'ng-zorro-antd/tree-select';\n\nexport interface TreeSelectProps extends FormlyFieldProps {\n /**\n * 显示清除按钮\n * @default false\n */\n allowClear?: boolean;\n\n /**\n * 是否展示 TreeNode title 前的图标,没有默认样式\n * @default false\n */\n showIcon?: boolean;\n\n /**\n * 显示搜索框\n * @default false\n */\n showSearch?: boolean;\n\n /**\n * 当下拉列表为空时显示的内容\n */\n notFoundContent?: string;\n\n /**\n * 下拉菜单和选择器同宽\n * @default true\n */\n dropdownMatchSelectWidth?: boolean;\n\n /**\n * 下拉菜单的样式\n */\n dropdownStyle?: NgStyleType;\n\n /**\n * 下拉菜单的 className 属性\n */\n dropdownClassName?: string;\n\n /**\n * 选择框弹出的位置\n */\n placement?: NzPlacementType;\n\n /**\n * 支持多选(当设置 nzCheckable 时自动变为true)\n * @default false\n */\n multiple?: boolean;\n\n /**\n * 搜索隐藏未匹配的节点\n * @default false\n */\n hideUnMatched?: boolean;\n\n /**\n * 节点前添加 Checkbox 复选框\n * @default false\n */\n checkable?: boolean;\n\n /**\n * checkable 状态下节点选择完全受控(父子节点选中状态不再关联)\n * @default false\n */\n checkStrictly?: boolean;\n\n /**\n * 节点前添加展开图标\n * @default true\n */\n showExpand?: boolean;\n\n /**\n * 是否展示连接线\n * @default false\n */\n showLine?: boolean;\n\n /**\n * 是否异步加载(显示加载状态)\n * @default false\n */\n asyncData?: boolean;\n\n /**\n * treeNodes 数据\n * @default []\n */\n nodes?: NzTreeNodeOptions[];\n\n /**\n * 默认展开所有树节点\n * @default false\n */\n defaultExpandAll?: boolean;\n\n /**\n * 默认展开指定的树节点\n */\n expandedKeys?: string[];\n\n /**\n * \t如何在输入框显示所选的节点值的方法\n * @default (node: NzTreeNode) => node.title\n */\n displayWith?: (node: NzTreeNode) => string;\n\n /**\n * 最多显示多少个 tag\n *\n */\n maxTagCount?: number;\n\n /**\n * 隐藏 tag 时显示的内容\n */\n maxTagPlaceholder?: TemplateRef<{ $implicit: NzTreeNode[] }>;\n maxTagPlaceholderName?: string;\n\n /**\n * 自定义节点\n */\n treeTemplate?: TemplateRef<{ $implicit: NzTreeNode }>;\n treeTemplateName?: string;\n\n /**\n * 自定义展开图标\n */\n expandedIcon?: TemplateRef<{\n $implicit: NzTreeNode;\n origin: NzTreeNodeOptions;\n }>;\n expandedIconName?: string;\n\n /**\n * 虚拟滚动的总高度\n */\n virtualHeight?: string | null;\n\n /**\n * 虚拟滚动时每一列的高度,与 cdk itemSize 相同\n * @default 28\n */\n virtualItemSize?: number;\n\n /**\n * 缓冲区最大像素高度,与 cdk maxBufferPx 相同\n * @default 500\n */\n virtualMaxBufferPx?: number;\n\n /**\n * 缓冲区最小像素高度,低于该值时将加载新结构,与 cdk minBufferPx 相同\n * @default 28\n */\n virtualMinBufferPx?: number;\n\n /**\n * 浮层是否应带有背景板\n * @default false\n */\n backdrop?: boolean;\n\n /**\n * 点击展开树节点图标调用\n */\n expandChange?: FormlyAttributeEvent<NzFormatEmitEvent>;\n}\n\nexport interface FormlyTreeSelectFieldConfig extends NzFormlyFieldConfig<TreeSelectProps> {\n type: 'tree-select' | Type<FormlyFieldTreeSelect>;\n}\n\n@Component({\n selector: 'formly-field-treeselect',\n template: ` <nz-tree-select\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\n [ngClass]=\"props['ngClass']\"\n [nzAllowClear]=\"props['allowClear']!!\"\n [nzExpandedIcon]=\"nzExpandedIcon\"\n [nzShowIcon]=\"props['showIcon']!!\"\n [nzShowSearch]=\"props['showSearch']!!\"\n [nzNotFoundContent]=\"props['notFoundContent']\"\n [nzDropdownMatchSelectWidth]=\"props['dropdownMatchSelectWidth']!!\"\n [nzDropdownStyle]=\"props['dropdownStyle'] ?? null\"\n [nzDropdownClassName]=\"props['dropdownClassName']\"\n [nzMultiple]=\"props['multiple']!!\"\n [nzHideUnMatched]=\"props['hideUnMatched']!!\"\n [nzCheckable]=\"props['checkable']!!\"\n [nzCheckStrictly]=\"props['checkStrictly']!!\"\n [nzShowExpand]=\"props['showExpand']!!\"\n [nzShowLine]=\"props['showLine']!!\"\n [nzAsyncData]=\"props['asyncData']\"\n [nzNodes]=\"props['nodes']!\"\n [nzDefaultExpandAll]=\"props['defaultExpandAll']!!\"\n [nzExpandedKeys]=\"props['expandedKeys']\"\n [nzDisplayWith]=\"props['displayWith']\"\n [nzMaxTagCount]=\"props['maxTagCount']\"\n [nzPlacement]=\"props['placement']\"\n [nzMaxTagPlaceholder]=\"nzMaxTagPlaceholder ?? null\"\n [nzTreeTemplate]=\"nzTreeTemplate!\"\n [nzVirtualHeight]=\"props['virtualHeight'] ?? null\"\n [nzVirtualItemSize]=\"props['virtualItemSize']!\"\n [nzVirtualMaxBufferPx]=\"props['virtualMaxBufferPx']!\"\n [nzVirtualMinBufferPx]=\"props['virtualMinBufferPx']!\"\n [nzBackdrop]=\"props['backdrop']!!\"\n (nzExpandChange)=\"props['expandChange'] && props['expandChange'](field, $event)\"\n ></nz-tree-select>`,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldTreeSelect extends FieldType<FieldTypeConfig> {\n override defaultOptions = {\n props: {\n dropdownMatchSelectWidth: true,\n showExpand: true,\n nodes: [],\n displayWith: (node: NzTreeNode) => node.title,\n placement: 'bottomLeft',\n virtualItemSize: 28,\n virtualMaxBufferPx: 500,\n virtualMinBufferPx: 28\n }\n };\n\n constructor(@Optional() public fieldTemplates: FormlyBoxTemplates) {\n super();\n }\n\n get nzExpandedIcon() {\n return resolveTplName(this.props, this.fieldTemplates, 'expandedIcon');\n }\n\n get nzMaxTagPlaceholder() {\n return resolveTplName(this.props, this.fieldTemplates, 'maxTagPlaceholder');\n }\n get nzTreeTemplate() {\n return resolveTplName(this.props, this.fieldTemplates, 'treeTemplate');\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\nimport { NzTreeSelectModule } from 'ng-zorro-antd/tree-select';\nimport { FormlyFieldTreeSelect } from './tree-select.type';\n\n@NgModule({\n declarations: [FormlyFieldTreeSelect],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormlyNzFormFieldModule,\n NzTreeSelectModule,\n\n FormlyModule.forChild({\n types: [\n {\n name: 'tree-select',\n component: FormlyFieldTreeSelect,\n wrappers: ['form-field']\n }\n ]\n })\n ]\n})\nexport class FormlyNzTreeSelectModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;AA+NM,MAAO,qBAAsB,SAAQ,SAA0B,CAAA;AAcnE,IAAA,WAAA,CAA+B,cAAkC,EAAA;AAC/D,QAAA,KAAK,EAAE,CAAC;QADqB,IAAc,CAAA,cAAA,GAAd,cAAc,CAAoB;AAbxD,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,wBAAwB,EAAE,IAAI;AAC9B,gBAAA,UAAU,EAAE,IAAI;AAChB,gBAAA,KAAK,EAAE,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YAAY,EAAE,CAAC,qBAAqB,CAAC;AACrC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBACvB,kBAAkB;wBAElB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,aAAa;AACnB,oCAAA,SAAS,EAAE,qBAAqB;oCAChC,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;AC1BD;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"ngx-formly-zorro-antd-tree-select.mjs","sources":["../../../../packages/formlyantd/tree-select/src/tree-select.type.ts","../../../../packages/formlyantd/tree-select/src/tree-select.module.ts","../../../../packages/formlyantd/tree-select/src/ngx-formly-zorro-antd-tree-select.ts"],"sourcesContent":["import { Component, Type, Optional, TemplateRef, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\nimport type { NzFormlyFieldConfig, FormlyAttributeEvent, NgStyleType } from 'ngx-formly-zorro-antd/common';\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\nimport { FormlyBoxTemplates, resolveTplName } from 'ngx-formly-zorro-antd/common';\nimport type { NzFormatEmitEvent, NzTreeNode, NzTreeNodeOptions } from 'ng-zorro-antd/tree';\nimport type { NzPlacementType } from 'ng-zorro-antd/tree-select';\n\nexport interface TreeSelectProps extends FormlyFieldProps {\n /**\n * 显示清除按钮\n * @default false\n */\n allowClear?: boolean;\n\n /**\n * 是否展示 TreeNode title 前的图标,没有默认样式\n * @default false\n */\n showIcon?: boolean;\n\n /**\n * 显示搜索框\n * @default false\n */\n showSearch?: boolean;\n\n /**\n * 当下拉列表为空时显示的内容\n */\n notFoundContent?: string;\n\n /**\n * 下拉菜单和选择器同宽\n * @default true\n */\n dropdownMatchSelectWidth?: boolean;\n\n /**\n * 下拉菜单的样式\n */\n dropdownStyle?: NgStyleType;\n\n /**\n * 下拉菜单的 className 属性\n */\n dropdownClassName?: string;\n\n /**\n * 选择框弹出的位置\n */\n placement?: NzPlacementType;\n\n /**\n * 支持多选(当设置 nzCheckable 时自动变为true)\n * @default false\n */\n multiple?: boolean;\n\n /**\n * 搜索隐藏未匹配的节点\n * @default false\n */\n hideUnMatched?: boolean;\n\n /**\n * 节点前添加 Checkbox 复选框\n * @default false\n */\n checkable?: boolean;\n\n /**\n * checkable 状态下节点选择完全受控(父子节点选中状态不再关联)\n * @default false\n */\n checkStrictly?: boolean;\n\n /**\n * 节点前添加展开图标\n * @default true\n */\n showExpand?: boolean;\n\n /**\n * 是否展示连接线\n * @default false\n */\n showLine?: boolean;\n\n /**\n * 是否异步加载(显示加载状态)\n * @default false\n */\n asyncData?: boolean;\n\n /**\n * treeNodes 数据\n * @default []\n */\n nodes?: NzTreeNodeOptions[];\n\n /**\n * 默认展开所有树节点\n * @default false\n */\n defaultExpandAll?: boolean;\n\n /**\n * 默认展开指定的树节点\n */\n expandedKeys?: string[];\n\n /**\n * \t如何在输入框显示所选的节点值的方法\n * @default (node: NzTreeNode) => node.title\n */\n displayWith?: (node: NzTreeNode) => string;\n\n /**\n * 最多显示多少个 tag\n *\n */\n maxTagCount?: number;\n\n /**\n * 隐藏 tag 时显示的内容\n */\n maxTagPlaceholder?: TemplateRef<{ $implicit: NzTreeNode[] }>;\n maxTagPlaceholderName?: string;\n\n /**\n * 自定义节点\n */\n treeTemplate?: TemplateRef<{ $implicit: NzTreeNode }>;\n treeTemplateName?: string;\n\n /**\n * 自定义展开图标\n */\n expandedIcon?: TemplateRef<{\n $implicit: NzTreeNode;\n origin: NzTreeNodeOptions;\n }>;\n expandedIconName?: string;\n\n /**\n * 虚拟滚动的总高度\n */\n virtualHeight?: string | null;\n\n /**\n * 虚拟滚动时每一列的高度,与 cdk itemSize 相同\n * @default 28\n */\n virtualItemSize?: number;\n\n /**\n * 缓冲区最大像素高度,与 cdk maxBufferPx 相同\n * @default 500\n */\n virtualMaxBufferPx?: number;\n\n /**\n * 缓冲区最小像素高度,低于该值时将加载新结构,与 cdk minBufferPx 相同\n * @default 28\n */\n virtualMinBufferPx?: number;\n\n /**\n * 浮层是否应带有背景板\n * @default false\n */\n backdrop?: boolean;\n\n /**\n * 点击展开树节点图标调用\n */\n expandChange?: FormlyAttributeEvent<NzFormatEmitEvent>;\n}\n\nexport interface FormlyTreeSelectFieldConfig extends NzFormlyFieldConfig<TreeSelectProps> {\n type: 'tree-select' | Type<FormlyFieldTreeSelect>;\n}\n\n@Component({\n selector: 'formly-field-treeselect',\n template: ` <nz-tree-select\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\n [ngClass]=\"props['ngClass']\"\n [nzAllowClear]=\"props['allowClear']!!\"\n [nzExpandedIcon]=\"nzExpandedIcon\"\n [nzShowIcon]=\"props['showIcon']!!\"\n [nzShowSearch]=\"props['showSearch']!!\"\n [nzNotFoundContent]=\"props['notFoundContent']\"\n [nzDropdownMatchSelectWidth]=\"props['dropdownMatchSelectWidth']!!\"\n [nzDropdownStyle]=\"props['dropdownStyle'] ?? null\"\n [nzDropdownClassName]=\"props['dropdownClassName']\"\n [nzMultiple]=\"props['multiple']!!\"\n [nzHideUnMatched]=\"props['hideUnMatched']!!\"\n [nzCheckable]=\"props['checkable']!!\"\n [nzCheckStrictly]=\"props['checkStrictly']!!\"\n [nzShowExpand]=\"props['showExpand']!!\"\n [nzShowLine]=\"props['showLine']!!\"\n [nzAsyncData]=\"props['asyncData']\"\n [nzNodes]=\"props['nodes']!\"\n [nzDefaultExpandAll]=\"props['defaultExpandAll']!!\"\n [nzExpandedKeys]=\"props['expandedKeys']\"\n [nzDisplayWith]=\"props['displayWith']\"\n [nzMaxTagCount]=\"props['maxTagCount']\"\n [nzPlacement]=\"props['placement'] ?? ''\"\n [nzMaxTagPlaceholder]=\"nzMaxTagPlaceholder ?? null\"\n [nzTreeTemplate]=\"nzTreeTemplate!\"\n [nzVirtualHeight]=\"props['virtualHeight'] ?? null\"\n [nzVirtualItemSize]=\"props['virtualItemSize']!\"\n [nzVirtualMaxBufferPx]=\"props['virtualMaxBufferPx']!\"\n [nzVirtualMinBufferPx]=\"props['virtualMinBufferPx']!\"\n [nzBackdrop]=\"props['backdrop']!!\"\n (nzExpandChange)=\"props['expandChange'] && props['expandChange'](field, $event)\"\n ></nz-tree-select>`,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldTreeSelect extends FieldType<FieldTypeConfig> {\n override defaultOptions = {\n props: {\n dropdownMatchSelectWidth: true,\n showExpand: true,\n nodes: [],\n displayWith: (node: NzTreeNode) => node.title,\n virtualItemSize: 28,\n virtualMaxBufferPx: 500,\n virtualMinBufferPx: 28\n }\n };\n\n constructor(@Optional() public fieldTemplates: FormlyBoxTemplates) {\n super();\n }\n\n get nzExpandedIcon() {\n return resolveTplName(this.props, this.fieldTemplates, 'expandedIcon');\n }\n\n get nzMaxTagPlaceholder() {\n return resolveTplName(this.props, this.fieldTemplates, 'maxTagPlaceholder');\n }\n get nzTreeTemplate() {\n return resolveTplName(this.props, this.fieldTemplates, 'treeTemplate');\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\nimport { NzTreeSelectModule } from 'ng-zorro-antd/tree-select';\nimport { FormlyFieldTreeSelect } from './tree-select.type';\n\n@NgModule({\n declarations: [FormlyFieldTreeSelect],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormlyNzFormFieldModule,\n NzTreeSelectModule,\n\n FormlyModule.forChild({\n types: [\n {\n name: 'tree-select',\n component: FormlyFieldTreeSelect,\n wrappers: ['form-field']\n }\n ]\n })\n ]\n})\nexport class FormlyNzTreeSelectModule {}\n","/**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,uBAAuB;YACvB,kBAAkB;YAElB,YAAY,CAAC,QAAQ,CAAC;AACpB,gBAAA,KAAK,EAAE;AACL,oBAAA;AACE,wBAAA,IAAI,EAAE,aAAa;AACnB,wBAAA,SAAS,EAAE,qBAAqB;wBAChC,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,qBAAA;AACF,iBAAA;aACF,CAAC,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGO,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAnBpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,qBAAqB,CAAC;AACrC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBACvB,kBAAkB;wBAElB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,aAAa;AACnB,oCAAA,SAAS,EAAE,qBAAqB;oCAChC,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;AC1BD;;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.6",
|
4
4
|
"publishConfig": {
|
5
5
|
"registry": "https://registry.npmjs.org",
|
6
6
|
"access": "public"
|
@@ -37,42 +37,42 @@
|
|
37
37
|
"esm": "./esm2022/autocomplete/ngx-formly-zorro-antd-autocomplete.mjs",
|
38
38
|
"default": "./fesm2022/ngx-formly-zorro-antd-autocomplete.mjs"
|
39
39
|
},
|
40
|
-
"./button": {
|
41
|
-
"types": "./button/index.d.ts",
|
42
|
-
"esm2022": "./esm2022/button/ngx-formly-zorro-antd-button.mjs",
|
43
|
-
"esm": "./esm2022/button/ngx-formly-zorro-antd-button.mjs",
|
44
|
-
"default": "./fesm2022/ngx-formly-zorro-antd-button.mjs"
|
45
|
-
},
|
46
|
-
"./button-group": {
|
47
|
-
"types": "./button-group/index.d.ts",
|
48
|
-
"esm2022": "./esm2022/button-group/ngx-formly-zorro-antd-button-group.mjs",
|
49
|
-
"esm": "./esm2022/button-group/ngx-formly-zorro-antd-button-group.mjs",
|
50
|
-
"default": "./fesm2022/ngx-formly-zorro-antd-button-group.mjs"
|
51
|
-
},
|
52
40
|
"./card": {
|
53
41
|
"types": "./card/index.d.ts",
|
54
42
|
"esm2022": "./esm2022/card/ngx-formly-zorro-antd-card.mjs",
|
55
43
|
"esm": "./esm2022/card/ngx-formly-zorro-antd-card.mjs",
|
56
44
|
"default": "./fesm2022/ngx-formly-zorro-antd-card.mjs"
|
57
45
|
},
|
58
|
-
"./cascader": {
|
59
|
-
"types": "./cascader/index.d.ts",
|
60
|
-
"esm2022": "./esm2022/cascader/ngx-formly-zorro-antd-cascader.mjs",
|
61
|
-
"esm": "./esm2022/cascader/ngx-formly-zorro-antd-cascader.mjs",
|
62
|
-
"default": "./fesm2022/ngx-formly-zorro-antd-cascader.mjs"
|
63
|
-
},
|
64
46
|
"./card-wrapper": {
|
65
47
|
"types": "./card-wrapper/index.d.ts",
|
66
48
|
"esm2022": "./esm2022/card-wrapper/ngx-formly-zorro-antd-card-wrapper.mjs",
|
67
49
|
"esm": "./esm2022/card-wrapper/ngx-formly-zorro-antd-card-wrapper.mjs",
|
68
50
|
"default": "./fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs"
|
69
51
|
},
|
52
|
+
"./button": {
|
53
|
+
"types": "./button/index.d.ts",
|
54
|
+
"esm2022": "./esm2022/button/ngx-formly-zorro-antd-button.mjs",
|
55
|
+
"esm": "./esm2022/button/ngx-formly-zorro-antd-button.mjs",
|
56
|
+
"default": "./fesm2022/ngx-formly-zorro-antd-button.mjs"
|
57
|
+
},
|
58
|
+
"./cascader": {
|
59
|
+
"types": "./cascader/index.d.ts",
|
60
|
+
"esm2022": "./esm2022/cascader/ngx-formly-zorro-antd-cascader.mjs",
|
61
|
+
"esm": "./esm2022/cascader/ngx-formly-zorro-antd-cascader.mjs",
|
62
|
+
"default": "./fesm2022/ngx-formly-zorro-antd-cascader.mjs"
|
63
|
+
},
|
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
|
+
"./button-group": {
|
71
|
+
"types": "./button-group/index.d.ts",
|
72
|
+
"esm2022": "./esm2022/button-group/ngx-formly-zorro-antd-button-group.mjs",
|
73
|
+
"esm": "./esm2022/button-group/ngx-formly-zorro-antd-button-group.mjs",
|
74
|
+
"default": "./fesm2022/ngx-formly-zorro-antd-button-group.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
@@ -164,7 +164,6 @@ export declare class FormlyFieldTreeSelect extends FieldType<FieldTypeConfig> {
|
|
164
164
|
showExpand: boolean;
|
165
165
|
nodes: never[];
|
166
166
|
displayWith: (node: NzTreeNode) => string;
|
167
|
-
placement: string;
|
168
167
|
virtualItemSize: number;
|
169
168
|
virtualMaxBufferPx: number;
|
170
169
|
virtualMinBufferPx: number;
|