ngx-formly-zorro-antd 15.0.1 → 16.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/button/button.module.mjs +62 -0
- package/{esm2020 → esm2022}/button/button.type.mjs +8 -7
- package/esm2022/card/card.module.mjs +44 -0
- package/esm2022/card/card.wrapper.mjs +48 -0
- package/esm2022/cascader/cascader.module.mjs +52 -0
- package/esm2022/cascader/cascader.type.mjs +113 -0
- package/esm2022/checkbox/checkbox.module.mjs +60 -0
- package/esm2022/checkbox/checkbox.type.mjs +70 -0
- package/esm2022/datepicker/datepicker.module.mjs +52 -0
- package/{esm2020 → esm2022}/datepicker/datepicker.type.mjs +8 -7
- package/esm2022/form-field/form-field.module.mjs +46 -0
- package/{esm2020 → esm2022}/form-field/form-field.wrapper.mjs +8 -7
- package/esm2022/grid/grid.module.mjs +42 -0
- package/{esm2020 → esm2022}/grid/grid.type.mjs +8 -7
- package/esm2022/input/input.module.mjs +90 -0
- package/{esm2020 → esm2022}/input/input.type.mjs +10 -9
- package/esm2022/input-group/input-group.module.mjs +48 -0
- package/esm2022/input-group/input-group.type.mjs +72 -0
- package/esm2022/input-number/input-number.module.mjs +60 -0
- package/{esm2020 → esm2022}/input-number/input-number.type.mjs +8 -7
- package/esm2022/lib/ui-ng-zorro-antd.module.mjs +98 -0
- package/esm2022/radio/radio.module.mjs +60 -0
- package/{esm2020 → esm2022}/radio/radio.type.mjs +8 -7
- package/esm2022/rate/rate.module.mjs +52 -0
- package/esm2022/rate/rate.type.mjs +64 -0
- package/esm2022/select/select.module.mjs +58 -0
- package/{esm2020 → esm2022}/select/select.type.mjs +8 -7
- package/esm2022/slider/slider.module.mjs +52 -0
- package/esm2022/slider/slider.type.mjs +68 -0
- package/esm2022/switch/switch.module.mjs +52 -0
- package/esm2022/switch/switch.type.mjs +54 -0
- package/esm2022/tabs/tabs.module.mjs +42 -0
- package/{esm2020 → esm2022}/tabs/tabs.wrapper.mjs +8 -7
- package/esm2022/textarea/textarea.module.mjs +56 -0
- package/{esm2020 → esm2022}/textarea/textarea.type.mjs +10 -9
- package/esm2022/timepicker/timepicker.module.mjs +52 -0
- package/esm2022/timepicker/timepicker.type.mjs +97 -0
- package/esm2022/transfer/transfer.component.mjs +129 -0
- package/esm2022/transfer/transfer.module.mjs +53 -0
- package/esm2022/transfer/transfer.type.mjs +88 -0
- package/esm2022/tree-select/tree-select.module.mjs +52 -0
- package/esm2022/tree-select/tree-select.type.mjs +102 -0
- package/{esm2020 → esm2022}/upload/upload.component.mjs +14 -13
- package/esm2022/upload/upload.module.mjs +61 -0
- package/{esm2020 → esm2022}/upload/upload.props.mjs +1 -1
- package/{esm2020 → esm2022}/upload/upload.type.mjs +8 -7
- package/fesm2022/ngx-formly-zorro-antd-autocomplete.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd-button.mjs +29 -29
- package/fesm2022/ngx-formly-zorro-antd-button.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-card.mjs +20 -20
- package/fesm2022/ngx-formly-zorro-antd-card.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-cascader.mjs +24 -24
- package/fesm2022/ngx-formly-zorro-antd-cascader.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-checkbox.mjs +28 -28
- package/fesm2022/ngx-formly-zorro-antd-checkbox.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd-datepicker.mjs +24 -24
- package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd-form-field.mjs +21 -21
- package/fesm2022/ngx-formly-zorro-antd-form-field.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-grid.mjs +19 -19
- package/fesm2022/ngx-formly-zorro-antd-grid.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-input-group.mjs +22 -22
- package/fesm2022/ngx-formly-zorro-antd-input-group.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-input-number.mjs +28 -28
- package/fesm2022/ngx-formly-zorro-antd-input-number.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-input.mjs +43 -43
- package/fesm2022/ngx-formly-zorro-antd-input.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-radio.mjs +28 -28
- package/fesm2022/ngx-formly-zorro-antd-radio.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd-rate.mjs +24 -24
- package/fesm2022/ngx-formly-zorro-antd-rate.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-select.mjs +27 -27
- package/fesm2022/ngx-formly-zorro-antd-select.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-slider.mjs +24 -24
- package/fesm2022/ngx-formly-zorro-antd-slider.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd-switch.mjs +24 -24
- package/fesm2022/ngx-formly-zorro-antd-switch.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd-tabs.mjs +19 -19
- package/fesm2022/ngx-formly-zorro-antd-tabs.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-textarea.mjs +28 -28
- package/fesm2022/ngx-formly-zorro-antd-textarea.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-timepicker.mjs +24 -24
- package/fesm2022/ngx-formly-zorro-antd-timepicker.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd-transfer.mjs +35 -35
- package/fesm2022/ngx-formly-zorro-antd-transfer.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd-tree-select.mjs +24 -24
- package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-upload.mjs +39 -39
- package/fesm2022/ngx-formly-zorro-antd-upload.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd.mjs +44 -44
- package/fesm2022/ngx-formly-zorro-antd.mjs.map +1 -0
- package/form-field/form-field.wrapper.d.ts +1 -1
- package/package.json +85 -135
- package/rate/rate.type.d.ts +3 -1
- package/transfer/transfer.component.d.ts +1 -1
- package/upload/upload.component.d.ts +1 -1
- package/upload/upload.props.d.ts +3 -1
- package/esm2020/button/button.module.mjs +0 -61
- package/esm2020/card/card.module.mjs +0 -43
- package/esm2020/card/card.wrapper.mjs +0 -47
- package/esm2020/cascader/cascader.module.mjs +0 -51
- package/esm2020/cascader/cascader.type.mjs +0 -112
- package/esm2020/checkbox/checkbox.module.mjs +0 -59
- package/esm2020/checkbox/checkbox.type.mjs +0 -69
- package/esm2020/datepicker/datepicker.module.mjs +0 -51
- package/esm2020/form-field/form-field.module.mjs +0 -45
- package/esm2020/grid/grid.module.mjs +0 -41
- package/esm2020/input/input.module.mjs +0 -89
- package/esm2020/input-group/input-group.module.mjs +0 -47
- package/esm2020/input-group/input-group.type.mjs +0 -71
- package/esm2020/input-number/input-number.module.mjs +0 -59
- package/esm2020/lib/ui-ng-zorro-antd.module.mjs +0 -97
- package/esm2020/radio/radio.module.mjs +0 -59
- package/esm2020/rate/rate.module.mjs +0 -51
- package/esm2020/rate/rate.type.mjs +0 -63
- package/esm2020/select/select.module.mjs +0 -57
- package/esm2020/slider/slider.module.mjs +0 -51
- package/esm2020/slider/slider.type.mjs +0 -67
- package/esm2020/switch/switch.module.mjs +0 -51
- package/esm2020/switch/switch.type.mjs +0 -53
- package/esm2020/tabs/tabs.module.mjs +0 -41
- package/esm2020/textarea/textarea.module.mjs +0 -55
- package/esm2020/timepicker/timepicker.module.mjs +0 -51
- package/esm2020/timepicker/timepicker.type.mjs +0 -96
- package/esm2020/transfer/transfer.component.mjs +0 -128
- package/esm2020/transfer/transfer.module.mjs +0 -52
- package/esm2020/transfer/transfer.type.mjs +0 -87
- package/esm2020/tree-select/tree-select.module.mjs +0 -51
- package/esm2020/tree-select/tree-select.type.mjs +0 -101
- package/esm2020/upload/upload.module.mjs +0 -60
- package/fesm2015/ngx-formly-zorro-antd-autocomplete.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-button.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-card.mjs +0 -93
- package/fesm2015/ngx-formly-zorro-antd-card.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-cascader.mjs +0 -165
- package/fesm2015/ngx-formly-zorro-antd-cascader.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs +0 -130
- package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-form-field.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-grid.mjs +0 -114
- package/fesm2015/ngx-formly-zorro-antd-grid.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-input-group.mjs +0 -120
- package/fesm2015/ngx-formly-zorro-antd-input-group.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-input-number.mjs +0 -189
- package/fesm2015/ngx-formly-zorro-antd-input-number.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-input.mjs +0 -400
- package/fesm2015/ngx-formly-zorro-antd-input.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-radio.mjs +0 -157
- package/fesm2015/ngx-formly-zorro-antd-radio.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-rate.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-select.mjs +0 -228
- package/fesm2015/ngx-formly-zorro-antd-select.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-slider.mjs +0 -120
- package/fesm2015/ngx-formly-zorro-antd-slider.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-switch.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-tabs.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-textarea.mjs +0 -198
- package/fesm2015/ngx-formly-zorro-antd-textarea.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs +0 -149
- package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-transfer.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-upload.mjs +0 -438
- package/fesm2015/ngx-formly-zorro-antd-upload.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-autocomplete.mjs +0 -4
- package/fesm2020/ngx-formly-zorro-antd-autocomplete.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-button.mjs +0 -173
- package/fesm2020/ngx-formly-zorro-antd-button.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-card.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-cascader.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs +0 -249
- package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-form-field.mjs +0 -174
- package/fesm2020/ngx-formly-zorro-antd-form-field.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-grid.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-input-group.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-input-number.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-input.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-radio.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-rate.mjs +0 -116
- package/fesm2020/ngx-formly-zorro-antd-rate.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-select.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-slider.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-switch.mjs +0 -106
- package/fesm2020/ngx-formly-zorro-antd-switch.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-tabs.mjs +0 -158
- package/fesm2020/ngx-formly-zorro-antd-tabs.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-textarea.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-transfer.mjs +0 -262
- package/fesm2020/ngx-formly-zorro-antd-transfer.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs +0 -154
- package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-upload.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd.mjs +0 -104
- package/fesm2020/ngx-formly-zorro-antd.mjs.map +0 -1
- /package/{esm2020 → esm2022}/autocomplete/autocomplete.props.mjs +0 -0
- /package/{esm2020 → esm2022}/autocomplete/ngx-formly-zorro-antd-autocomplete.mjs +0 -0
- /package/{esm2020 → esm2022}/autocomplete/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/button/ngx-formly-zorro-antd-button.mjs +0 -0
- /package/{esm2020 → esm2022}/button/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/card/ngx-formly-zorro-antd-card.mjs +0 -0
- /package/{esm2020 → esm2022}/card/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/cascader/ngx-formly-zorro-antd-cascader.mjs +0 -0
- /package/{esm2020 → esm2022}/cascader/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/checkbox/ngx-formly-zorro-antd-checkbox.mjs +0 -0
- /package/{esm2020 → esm2022}/checkbox/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/datepicker/datepicker.props.mjs +0 -0
- /package/{esm2020 → esm2022}/datepicker/ngx-formly-zorro-antd-datepicker.mjs +0 -0
- /package/{esm2020 → esm2022}/datepicker/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/form-field/form-field.props.mjs +0 -0
- /package/{esm2020 → esm2022}/form-field/ngx-formly-zorro-antd-form-field.mjs +0 -0
- /package/{esm2020 → esm2022}/form-field/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/grid/grid.props.mjs +0 -0
- /package/{esm2020 → esm2022}/grid/ngx-formly-zorro-antd-grid.mjs +0 -0
- /package/{esm2020 → esm2022}/grid/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/input/input.props.mjs +0 -0
- /package/{esm2020 → esm2022}/input/ngx-formly-zorro-antd-input.mjs +0 -0
- /package/{esm2020 → esm2022}/input/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/input-group/input-group.props.mjs +0 -0
- /package/{esm2020 → esm2022}/input-group/ngx-formly-zorro-antd-input-group.mjs +0 -0
- /package/{esm2020 → esm2022}/input-group/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/input-number/input-number.props.mjs +0 -0
- /package/{esm2020 → esm2022}/input-number/ngx-formly-zorro-antd-input-number.mjs +0 -0
- /package/{esm2020 → esm2022}/input-number/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/ui-ng-zorro-antd.mjs +0 -0
- /package/{esm2020 → esm2022}/ngx-formly-zorro-antd.mjs +0 -0
- /package/{esm2020 → esm2022}/radio/ngx-formly-zorro-antd-radio.mjs +0 -0
- /package/{esm2020 → esm2022}/radio/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/rate/ngx-formly-zorro-antd-rate.mjs +0 -0
- /package/{esm2020 → esm2022}/rate/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/select/ngx-formly-zorro-antd-select.mjs +0 -0
- /package/{esm2020 → esm2022}/select/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/select/select.props.mjs +0 -0
- /package/{esm2020 → esm2022}/slider/ngx-formly-zorro-antd-slider.mjs +0 -0
- /package/{esm2020 → esm2022}/slider/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/switch/ngx-formly-zorro-antd-switch.mjs +0 -0
- /package/{esm2020 → esm2022}/switch/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/tabs/ngx-formly-zorro-antd-tabs.mjs +0 -0
- /package/{esm2020 → esm2022}/tabs/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/tabs/tabs.props.mjs +0 -0
- /package/{esm2020 → esm2022}/textarea/ngx-formly-zorro-antd-textarea.mjs +0 -0
- /package/{esm2020 → esm2022}/textarea/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/timepicker/ngx-formly-zorro-antd-timepicker.mjs +0 -0
- /package/{esm2020 → esm2022}/timepicker/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/transfer/ngx-formly-zorro-antd-transfer.mjs +0 -0
- /package/{esm2020 → esm2022}/transfer/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/tree-select/ngx-formly-zorro-antd-tree-select.mjs +0 -0
- /package/{esm2020 → esm2022}/tree-select/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/upload/ngx-formly-zorro-antd-upload.mjs +0 -0
- /package/{esm2020 → esm2022}/upload/public_api.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd-autocomplete.mjs +0 -0
@@ -1,400 +0,0 @@
|
|
1
|
-
import * as i0 from '@angular/core';
|
2
|
-
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
3
|
-
import * as i1 from '@angular/common';
|
4
|
-
import { CommonModule } from '@angular/common';
|
5
|
-
import * as i6 from '@ngx-formly/core';
|
6
|
-
import { FieldType, FormlyModule } from '@ngx-formly/core';
|
7
|
-
import * as i2 from '@angular/forms';
|
8
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
9
|
-
import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
|
10
|
-
import * as i3 from 'ng-zorro-antd/input';
|
11
|
-
import { NzInputModule } from 'ng-zorro-antd/input';
|
12
|
-
import * as i4 from 'ng-zorro-antd/auto-complete';
|
13
|
-
import { NzAutocompleteModule } from 'ng-zorro-antd/auto-complete';
|
14
|
-
import * as i5 from 'ng-zorro-antd/icon';
|
15
|
-
import { NzIconModule } from 'ng-zorro-antd/icon';
|
16
|
-
|
17
|
-
class FormlyFieldInput extends FieldType {
|
18
|
-
constructor() {
|
19
|
-
super(...arguments);
|
20
|
-
this.defaultOptions = {
|
21
|
-
props: {
|
22
|
-
borderless: false,
|
23
|
-
compact: false,
|
24
|
-
search: false,
|
25
|
-
allowClear: false,
|
26
|
-
autocompleteOptions: {
|
27
|
-
backfill: false,
|
28
|
-
defaultActiveFirstOption: true,
|
29
|
-
compareWith: (o1, o2) => o1 === o2
|
30
|
-
}
|
31
|
-
}
|
32
|
-
};
|
33
|
-
this.passwordVisible = false;
|
34
|
-
}
|
35
|
-
}
|
36
|
-
FormlyFieldInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyFieldInput, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
37
|
-
FormlyFieldInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: FormlyFieldInput, selector: "formly-field-input", usesInheritance: true, ngImport: i0, template: `
|
38
|
-
<ng-container [ngSwitch]="props.type">
|
39
|
-
<ng-container *ngSwitchCase="'password'">
|
40
|
-
<nz-input-group
|
41
|
-
[nzPrefixIcon]="props['prefixIcon']"
|
42
|
-
[nzSuffixIcon]="props['suffixIcon']"
|
43
|
-
[nzAddOnAfterIcon]="props['addOnAfterIcon']"
|
44
|
-
[nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
|
45
|
-
[nzAddOnBefore]="props['addOnBefore']"
|
46
|
-
[nzAddOnAfter]="props['addOnAfter']"
|
47
|
-
[nzPrefix]="props['prefix']"
|
48
|
-
[nzCompact]="props['compact']!!"
|
49
|
-
[nzSearch]="props['search']!!"
|
50
|
-
[nzSize]="props['size']!"
|
51
|
-
[nzStatus]="props['status']!"
|
52
|
-
[nzSuffix]="passwordEyeTpl"
|
53
|
-
>
|
54
|
-
<input
|
55
|
-
[type]="passwordVisible ? 'text' : 'password'"
|
56
|
-
nz-input
|
57
|
-
[formControl]="formControl"
|
58
|
-
[formlyAttributes]="field"
|
59
|
-
[nzBorderless]="props['borderless']!!"
|
60
|
-
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
61
|
-
/>
|
62
|
-
</nz-input-group>
|
63
|
-
</ng-container>
|
64
|
-
|
65
|
-
<nz-input-group
|
66
|
-
*ngSwitchCase="'autoComplete'"
|
67
|
-
[nzSize]="props['size']"
|
68
|
-
[nzPrefixIcon]="props['prefixIcon']"
|
69
|
-
[nzSuffixIcon]="props['suffixIcon']"
|
70
|
-
[nzAddOnAfterIcon]="props['addOnAfterIcon']"
|
71
|
-
[nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
|
72
|
-
[nzAddOnBefore]="props['addOnBefore']"
|
73
|
-
[nzAddOnAfter]="props['addOnAfter']"
|
74
|
-
[nzPrefix]="props['prefix']"
|
75
|
-
[nzSuffix]="props['allowClear']!! ? inputClearTpl : props['suffix']"
|
76
|
-
>
|
77
|
-
<input
|
78
|
-
nz-input
|
79
|
-
[nzBorderless]="props['borderless']"
|
80
|
-
[nzAutocomplete]="auto"
|
81
|
-
[formControl]="formControl"
|
82
|
-
[formlyAttributes]="field"
|
83
|
-
/>
|
84
|
-
<nz-autocomplete
|
85
|
-
[nzBackfill]="props['autocompleteOptions']?.backfill"
|
86
|
-
[nzDefaultActiveFirstOption]="props['autocompleteOptions']?.defaultActiveFirstOption"
|
87
|
-
[nzWidth]="props['autocompleteOptions']?.width"
|
88
|
-
[nzOverlayClassName]="props['autocompleteOptions']?.overlayClassName"
|
89
|
-
[nzOverlayStyle]="props['autocompleteOptions']?.overlayStyle"
|
90
|
-
[compareWith]="props['autocompleteOptions']?.compareWith"
|
91
|
-
#auto
|
92
|
-
>
|
93
|
-
<nz-auto-option
|
94
|
-
*ngFor="let option of props['autocompleteOptions'].dataSource"
|
95
|
-
[nzLabel]="option.label"
|
96
|
-
[nzValue]="option.value"
|
97
|
-
>
|
98
|
-
{{ option.label }}
|
99
|
-
</nz-auto-option>
|
100
|
-
</nz-autocomplete>
|
101
|
-
</nz-input-group>
|
102
|
-
|
103
|
-
<nz-input-group
|
104
|
-
*ngSwitchCase="'group'"
|
105
|
-
[nzPrefixIcon]="props['prefixIcon']"
|
106
|
-
[nzSuffixIcon]="props['suffixIcon']"
|
107
|
-
[nzAddOnAfterIcon]="props['addOnAfterIcon']"
|
108
|
-
[nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
|
109
|
-
[nzAddOnBefore]="props['addOnBefore']"
|
110
|
-
[nzAddOnAfter]="props['addOnAfter']"
|
111
|
-
[nzPrefix]="props['prefix']"
|
112
|
-
[nzSuffix]="props['allowClear']!! ? inputClearTpl : props['suffix']"
|
113
|
-
[nzCompact]="props['compact']!!"
|
114
|
-
[nzSearch]="props['search']!!"
|
115
|
-
[nzSize]="props['size']!"
|
116
|
-
[nzStatus]="props['status']!"
|
117
|
-
>
|
118
|
-
<input
|
119
|
-
nz-input
|
120
|
-
type="text"
|
121
|
-
[ngClass]="props['className']!"
|
122
|
-
[formControl]="formControl"
|
123
|
-
[formlyAttributes]="field"
|
124
|
-
[nzBorderless]="!!props['borderless']!!"
|
125
|
-
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
126
|
-
/>
|
127
|
-
</nz-input-group>
|
128
|
-
|
129
|
-
<input
|
130
|
-
*ngSwitchDefault
|
131
|
-
nz-input
|
132
|
-
type="text"
|
133
|
-
[ngClass]="props['className']!"
|
134
|
-
[formControl]="formControl"
|
135
|
-
[formlyAttributes]="field"
|
136
|
-
[nzSize]="props['size']"
|
137
|
-
[nzStatus]="props['status']"
|
138
|
-
[nzBorderless]="props['borderless']!!"
|
139
|
-
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
140
|
-
/>
|
141
|
-
</ng-container>
|
142
|
-
|
143
|
-
<!-- 查看密码 -->
|
144
|
-
<ng-template #passwordEyeTpl>
|
145
|
-
<span
|
146
|
-
nz-icon
|
147
|
-
class="cursor-pointer"
|
148
|
-
[nzType]="passwordVisible ? 'eye-invisible' : 'eye'"
|
149
|
-
(click)="passwordVisible = !passwordVisible"
|
150
|
-
></span>
|
151
|
-
|
152
|
-
<span
|
153
|
-
nz-icon
|
154
|
-
class="ant-input-clear-icon"
|
155
|
-
nzTheme="fill"
|
156
|
-
nzType="close-circle"
|
157
|
-
*ngIf="formControl.value && props['allowClear']!!"
|
158
|
-
(click)="formControl.reset()"
|
159
|
-
></span>
|
160
|
-
</ng-template>
|
161
|
-
<!-- 清除数据 -->
|
162
|
-
<ng-template #inputClearTpl>
|
163
|
-
<span
|
164
|
-
nz-icon
|
165
|
-
class="ant-input-clear-icon"
|
166
|
-
nzTheme="fill"
|
167
|
-
nzType="close-circle"
|
168
|
-
*ngIf="formControl.value"
|
169
|
-
(click)="formControl.reset()"
|
170
|
-
></span>
|
171
|
-
</ng-template>
|
172
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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: "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.NzInputGroupWhitSuffixOrPrefixDirective, selector: "nz-input-group[nzSuffix], nz-input-group[nzPrefix]" }, { kind: "component", type: i4.NzAutocompleteComponent, selector: "nz-autocomplete", inputs: ["nzWidth", "nzOverlayClassName", "nzOverlayStyle", "nzDefaultActiveFirstOption", "nzBackfill", "compareWith", "nzDataSource"], outputs: ["selectionChange"], exportAs: ["nzAutocomplete"] }, { kind: "component", type: i4.NzAutocompleteOptionComponent, selector: "nz-auto-option", inputs: ["nzValue", "nzLabel", "nzDisabled"], outputs: ["selectionChange", "mouseEntered"], exportAs: ["nzAutoOption"] }, { kind: "directive", type: i4.NzAutocompleteTriggerDirective, selector: "input[nzAutocomplete], textarea[nzAutocomplete]", inputs: ["nzAutocomplete"], exportAs: ["nzAutocompleteTrigger"] }, { kind: "directive", type: i5.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "directive", type: i6.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
173
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyFieldInput, decorators: [{
|
174
|
-
type: Component,
|
175
|
-
args: [{
|
176
|
-
selector: 'formly-field-input',
|
177
|
-
template: `
|
178
|
-
<ng-container [ngSwitch]="props.type">
|
179
|
-
<ng-container *ngSwitchCase="'password'">
|
180
|
-
<nz-input-group
|
181
|
-
[nzPrefixIcon]="props['prefixIcon']"
|
182
|
-
[nzSuffixIcon]="props['suffixIcon']"
|
183
|
-
[nzAddOnAfterIcon]="props['addOnAfterIcon']"
|
184
|
-
[nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
|
185
|
-
[nzAddOnBefore]="props['addOnBefore']"
|
186
|
-
[nzAddOnAfter]="props['addOnAfter']"
|
187
|
-
[nzPrefix]="props['prefix']"
|
188
|
-
[nzCompact]="props['compact']!!"
|
189
|
-
[nzSearch]="props['search']!!"
|
190
|
-
[nzSize]="props['size']!"
|
191
|
-
[nzStatus]="props['status']!"
|
192
|
-
[nzSuffix]="passwordEyeTpl"
|
193
|
-
>
|
194
|
-
<input
|
195
|
-
[type]="passwordVisible ? 'text' : 'password'"
|
196
|
-
nz-input
|
197
|
-
[formControl]="formControl"
|
198
|
-
[formlyAttributes]="field"
|
199
|
-
[nzBorderless]="props['borderless']!!"
|
200
|
-
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
201
|
-
/>
|
202
|
-
</nz-input-group>
|
203
|
-
</ng-container>
|
204
|
-
|
205
|
-
<nz-input-group
|
206
|
-
*ngSwitchCase="'autoComplete'"
|
207
|
-
[nzSize]="props['size']"
|
208
|
-
[nzPrefixIcon]="props['prefixIcon']"
|
209
|
-
[nzSuffixIcon]="props['suffixIcon']"
|
210
|
-
[nzAddOnAfterIcon]="props['addOnAfterIcon']"
|
211
|
-
[nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
|
212
|
-
[nzAddOnBefore]="props['addOnBefore']"
|
213
|
-
[nzAddOnAfter]="props['addOnAfter']"
|
214
|
-
[nzPrefix]="props['prefix']"
|
215
|
-
[nzSuffix]="props['allowClear']!! ? inputClearTpl : props['suffix']"
|
216
|
-
>
|
217
|
-
<input
|
218
|
-
nz-input
|
219
|
-
[nzBorderless]="props['borderless']"
|
220
|
-
[nzAutocomplete]="auto"
|
221
|
-
[formControl]="formControl"
|
222
|
-
[formlyAttributes]="field"
|
223
|
-
/>
|
224
|
-
<nz-autocomplete
|
225
|
-
[nzBackfill]="props['autocompleteOptions']?.backfill"
|
226
|
-
[nzDefaultActiveFirstOption]="props['autocompleteOptions']?.defaultActiveFirstOption"
|
227
|
-
[nzWidth]="props['autocompleteOptions']?.width"
|
228
|
-
[nzOverlayClassName]="props['autocompleteOptions']?.overlayClassName"
|
229
|
-
[nzOverlayStyle]="props['autocompleteOptions']?.overlayStyle"
|
230
|
-
[compareWith]="props['autocompleteOptions']?.compareWith"
|
231
|
-
#auto
|
232
|
-
>
|
233
|
-
<nz-auto-option
|
234
|
-
*ngFor="let option of props['autocompleteOptions'].dataSource"
|
235
|
-
[nzLabel]="option.label"
|
236
|
-
[nzValue]="option.value"
|
237
|
-
>
|
238
|
-
{{ option.label }}
|
239
|
-
</nz-auto-option>
|
240
|
-
</nz-autocomplete>
|
241
|
-
</nz-input-group>
|
242
|
-
|
243
|
-
<nz-input-group
|
244
|
-
*ngSwitchCase="'group'"
|
245
|
-
[nzPrefixIcon]="props['prefixIcon']"
|
246
|
-
[nzSuffixIcon]="props['suffixIcon']"
|
247
|
-
[nzAddOnAfterIcon]="props['addOnAfterIcon']"
|
248
|
-
[nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
|
249
|
-
[nzAddOnBefore]="props['addOnBefore']"
|
250
|
-
[nzAddOnAfter]="props['addOnAfter']"
|
251
|
-
[nzPrefix]="props['prefix']"
|
252
|
-
[nzSuffix]="props['allowClear']!! ? inputClearTpl : props['suffix']"
|
253
|
-
[nzCompact]="props['compact']!!"
|
254
|
-
[nzSearch]="props['search']!!"
|
255
|
-
[nzSize]="props['size']!"
|
256
|
-
[nzStatus]="props['status']!"
|
257
|
-
>
|
258
|
-
<input
|
259
|
-
nz-input
|
260
|
-
type="text"
|
261
|
-
[ngClass]="props['className']!"
|
262
|
-
[formControl]="formControl"
|
263
|
-
[formlyAttributes]="field"
|
264
|
-
[nzBorderless]="!!props['borderless']!!"
|
265
|
-
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
266
|
-
/>
|
267
|
-
</nz-input-group>
|
268
|
-
|
269
|
-
<input
|
270
|
-
*ngSwitchDefault
|
271
|
-
nz-input
|
272
|
-
type="text"
|
273
|
-
[ngClass]="props['className']!"
|
274
|
-
[formControl]="formControl"
|
275
|
-
[formlyAttributes]="field"
|
276
|
-
[nzSize]="props['size']"
|
277
|
-
[nzStatus]="props['status']"
|
278
|
-
[nzBorderless]="props['borderless']!!"
|
279
|
-
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
280
|
-
/>
|
281
|
-
</ng-container>
|
282
|
-
|
283
|
-
<!-- 查看密码 -->
|
284
|
-
<ng-template #passwordEyeTpl>
|
285
|
-
<span
|
286
|
-
nz-icon
|
287
|
-
class="cursor-pointer"
|
288
|
-
[nzType]="passwordVisible ? 'eye-invisible' : 'eye'"
|
289
|
-
(click)="passwordVisible = !passwordVisible"
|
290
|
-
></span>
|
291
|
-
|
292
|
-
<span
|
293
|
-
nz-icon
|
294
|
-
class="ant-input-clear-icon"
|
295
|
-
nzTheme="fill"
|
296
|
-
nzType="close-circle"
|
297
|
-
*ngIf="formControl.value && props['allowClear']!!"
|
298
|
-
(click)="formControl.reset()"
|
299
|
-
></span>
|
300
|
-
</ng-template>
|
301
|
-
<!-- 清除数据 -->
|
302
|
-
<ng-template #inputClearTpl>
|
303
|
-
<span
|
304
|
-
nz-icon
|
305
|
-
class="ant-input-clear-icon"
|
306
|
-
nzTheme="fill"
|
307
|
-
nzType="close-circle"
|
308
|
-
*ngIf="formControl.value"
|
309
|
-
(click)="formControl.reset()"
|
310
|
-
></span>
|
311
|
-
</ng-template>
|
312
|
-
`,
|
313
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
314
|
-
}]
|
315
|
-
}] });
|
316
|
-
|
317
|
-
class FormlyNzInputModule {
|
318
|
-
}
|
319
|
-
FormlyNzInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyNzInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
320
|
-
FormlyNzInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: FormlyNzInputModule, declarations: [FormlyFieldInput], imports: [CommonModule,
|
321
|
-
ReactiveFormsModule,
|
322
|
-
NzInputModule,
|
323
|
-
NzAutocompleteModule,
|
324
|
-
NzIconModule,
|
325
|
-
FormlyNzFormFieldModule, i6.FormlyModule] });
|
326
|
-
FormlyNzInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyNzInputModule, imports: [CommonModule,
|
327
|
-
ReactiveFormsModule,
|
328
|
-
NzInputModule,
|
329
|
-
NzAutocompleteModule,
|
330
|
-
NzIconModule,
|
331
|
-
FormlyNzFormFieldModule,
|
332
|
-
FormlyModule.forChild({
|
333
|
-
types: [
|
334
|
-
{
|
335
|
-
name: 'input',
|
336
|
-
component: FormlyFieldInput,
|
337
|
-
wrappers: ['form-field'],
|
338
|
-
defaultOptions: {
|
339
|
-
props: {
|
340
|
-
type: 'input'
|
341
|
-
}
|
342
|
-
}
|
343
|
-
},
|
344
|
-
{ name: 'string', extends: 'input' },
|
345
|
-
{
|
346
|
-
name: 'password',
|
347
|
-
extends: 'input',
|
348
|
-
defaultOptions: {
|
349
|
-
props: {
|
350
|
-
type: 'password'
|
351
|
-
}
|
352
|
-
}
|
353
|
-
}
|
354
|
-
]
|
355
|
-
})] });
|
356
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyNzInputModule, decorators: [{
|
357
|
-
type: NgModule,
|
358
|
-
args: [{
|
359
|
-
declarations: [FormlyFieldInput],
|
360
|
-
imports: [
|
361
|
-
CommonModule,
|
362
|
-
ReactiveFormsModule,
|
363
|
-
NzInputModule,
|
364
|
-
NzAutocompleteModule,
|
365
|
-
NzIconModule,
|
366
|
-
FormlyNzFormFieldModule,
|
367
|
-
FormlyModule.forChild({
|
368
|
-
types: [
|
369
|
-
{
|
370
|
-
name: 'input',
|
371
|
-
component: FormlyFieldInput,
|
372
|
-
wrappers: ['form-field'],
|
373
|
-
defaultOptions: {
|
374
|
-
props: {
|
375
|
-
type: 'input'
|
376
|
-
}
|
377
|
-
}
|
378
|
-
},
|
379
|
-
{ name: 'string', extends: 'input' },
|
380
|
-
{
|
381
|
-
name: 'password',
|
382
|
-
extends: 'input',
|
383
|
-
defaultOptions: {
|
384
|
-
props: {
|
385
|
-
type: 'password'
|
386
|
-
}
|
387
|
-
}
|
388
|
-
}
|
389
|
-
]
|
390
|
-
})
|
391
|
-
]
|
392
|
-
}]
|
393
|
-
}] });
|
394
|
-
|
395
|
-
/**
|
396
|
-
* Generated bundle index. Do not edit.
|
397
|
-
*/
|
398
|
-
|
399
|
-
export { FormlyFieldInput, FormlyNzInputModule };
|
400
|
-
//# sourceMappingURL=ngx-formly-zorro-antd-input.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ngx-formly-zorro-antd-input.mjs","sources":["../esm2020/input/input.type.mjs","../esm2020/input/input.module.mjs","../esm2020/input/ngx-formly-zorro-antd-input.mjs"],"sourcesContent":["import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType } from '@ngx-formly/core';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/common\";\nimport * as i2 from \"@angular/forms\";\nimport * as i3 from \"ng-zorro-antd/input\";\nimport * as i4 from \"ng-zorro-antd/auto-complete\";\nimport * as i5 from \"ng-zorro-antd/icon\";\nimport * as i6 from \"@ngx-formly/core\";\nexport class FormlyFieldInput extends FieldType {\n constructor() {\n super(...arguments);\n this.defaultOptions = {\n props: {\n borderless: false,\n compact: false,\n search: false,\n allowClear: false,\n autocompleteOptions: {\n backfill: false,\n defaultActiveFirstOption: true,\n compareWith: (o1, o2) => o1 === o2\n }\n }\n };\n this.passwordVisible = false;\n }\n}\nFormlyFieldInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.4\", ngImport: i0, type: FormlyFieldInput, deps: null, target: i0.ɵɵFactoryTarget.Component });\nFormlyFieldInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"15.0.4\", type: FormlyFieldInput, selector: \"formly-field-input\", usesInheritance: true, ngImport: i0, template: `\n <ng-container [ngSwitch]=\"props.type\">\n <ng-container *ngSwitchCase=\"'password'\">\n <nz-input-group\n [nzPrefixIcon]=\"props['prefixIcon']\"\n [nzSuffixIcon]=\"props['suffixIcon']\"\n [nzAddOnAfterIcon]=\"props['addOnAfterIcon']\"\n [nzAddOnBeforeIcon]=\"props['addOnBeforeIcon']\"\n [nzAddOnBefore]=\"props['addOnBefore']\"\n [nzAddOnAfter]=\"props['addOnAfter']\"\n [nzPrefix]=\"props['prefix']\"\n [nzCompact]=\"props['compact']!!\"\n [nzSearch]=\"props['search']!!\"\n [nzSize]=\"props['size']!\"\n [nzStatus]=\"props['status']!\"\n [nzSuffix]=\"passwordEyeTpl\"\n >\n <input\n [type]=\"passwordVisible ? 'text' : 'password'\"\n nz-input\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [nzBorderless]=\"props['borderless']!!\"\n (ngModelChange)=\"props['modelChange'] && props['modelChange'](field, $event)\"\n />\n </nz-input-group>\n </ng-container>\n\n <nz-input-group\n *ngSwitchCase=\"'autoComplete'\"\n [nzSize]=\"props['size']\"\n [nzPrefixIcon]=\"props['prefixIcon']\"\n [nzSuffixIcon]=\"props['suffixIcon']\"\n [nzAddOnAfterIcon]=\"props['addOnAfterIcon']\"\n [nzAddOnBeforeIcon]=\"props['addOnBeforeIcon']\"\n [nzAddOnBefore]=\"props['addOnBefore']\"\n [nzAddOnAfter]=\"props['addOnAfter']\"\n [nzPrefix]=\"props['prefix']\"\n [nzSuffix]=\"props['allowClear']!! ? inputClearTpl : props['suffix']\"\n >\n <input\n nz-input\n [nzBorderless]=\"props['borderless']\"\n [nzAutocomplete]=\"auto\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n />\n <nz-autocomplete\n [nzBackfill]=\"props['autocompleteOptions']?.backfill\"\n [nzDefaultActiveFirstOption]=\"props['autocompleteOptions']?.defaultActiveFirstOption\"\n [nzWidth]=\"props['autocompleteOptions']?.width\"\n [nzOverlayClassName]=\"props['autocompleteOptions']?.overlayClassName\"\n [nzOverlayStyle]=\"props['autocompleteOptions']?.overlayStyle\"\n [compareWith]=\"props['autocompleteOptions']?.compareWith\"\n #auto\n >\n <nz-auto-option\n *ngFor=\"let option of props['autocompleteOptions'].dataSource\"\n [nzLabel]=\"option.label\"\n [nzValue]=\"option.value\"\n >\n {{ option.label }}\n </nz-auto-option>\n </nz-autocomplete>\n </nz-input-group>\n\n <nz-input-group\n *ngSwitchCase=\"'group'\"\n [nzPrefixIcon]=\"props['prefixIcon']\"\n [nzSuffixIcon]=\"props['suffixIcon']\"\n [nzAddOnAfterIcon]=\"props['addOnAfterIcon']\"\n [nzAddOnBeforeIcon]=\"props['addOnBeforeIcon']\"\n [nzAddOnBefore]=\"props['addOnBefore']\"\n [nzAddOnAfter]=\"props['addOnAfter']\"\n [nzPrefix]=\"props['prefix']\"\n [nzSuffix]=\"props['allowClear']!! ? inputClearTpl : props['suffix']\"\n [nzCompact]=\"props['compact']!!\"\n [nzSearch]=\"props['search']!!\"\n [nzSize]=\"props['size']!\"\n [nzStatus]=\"props['status']!\"\n >\n <input\n nz-input\n type=\"text\"\n [ngClass]=\"props['className']!\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [nzBorderless]=\"!!props['borderless']!!\"\n (ngModelChange)=\"props['modelChange'] && props['modelChange'](field, $event)\"\n />\n </nz-input-group>\n\n <input\n *ngSwitchDefault\n nz-input\n type=\"text\"\n [ngClass]=\"props['className']!\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [nzSize]=\"props['size']\"\n [nzStatus]=\"props['status']\"\n [nzBorderless]=\"props['borderless']!!\"\n (ngModelChange)=\"props['modelChange'] && props['modelChange'](field, $event)\"\n />\n </ng-container>\n\n <!-- 查看密码 -->\n <ng-template #passwordEyeTpl>\n <span\n nz-icon\n class=\"cursor-pointer\"\n [nzType]=\"passwordVisible ? 'eye-invisible' : 'eye'\"\n (click)=\"passwordVisible = !passwordVisible\"\n ></span>\n\n <span\n nz-icon\n class=\"ant-input-clear-icon\"\n nzTheme=\"fill\"\n nzType=\"close-circle\"\n *ngIf=\"formControl.value && props['allowClear']!!\"\n (click)=\"formControl.reset()\"\n ></span>\n </ng-template>\n <!-- 清除数据 -->\n <ng-template #inputClearTpl>\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 `, isInline: true, dependencies: [{ kind: \"directive\", type: i1.NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: i1.NgForOf, selector: \"[ngFor][ngForOf]\", inputs: [\"ngForOf\", \"ngForTrackBy\", \"ngForTemplate\"] }, { kind: \"directive\", type: i1.NgIf, selector: \"[ngIf]\", inputs: [\"ngIf\", \"ngIfThen\", \"ngIfElse\"] }, { 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: \"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.NzInputGroupWhitSuffixOrPrefixDirective, selector: \"nz-input-group[nzSuffix], nz-input-group[nzPrefix]\" }, { kind: \"component\", type: i4.NzAutocompleteComponent, selector: \"nz-autocomplete\", inputs: [\"nzWidth\", \"nzOverlayClassName\", \"nzOverlayStyle\", \"nzDefaultActiveFirstOption\", \"nzBackfill\", \"compareWith\", \"nzDataSource\"], outputs: [\"selectionChange\"], exportAs: [\"nzAutocomplete\"] }, { kind: \"component\", type: i4.NzAutocompleteOptionComponent, selector: \"nz-auto-option\", inputs: [\"nzValue\", \"nzLabel\", \"nzDisabled\"], outputs: [\"selectionChange\", \"mouseEntered\"], exportAs: [\"nzAutoOption\"] }, { kind: \"directive\", type: i4.NzAutocompleteTriggerDirective, selector: \"input[nzAutocomplete], textarea[nzAutocomplete]\", inputs: [\"nzAutocomplete\"], exportAs: [\"nzAutocompleteTrigger\"] }, { kind: \"directive\", type: i5.NzIconDirective, selector: \"[nz-icon]\", inputs: [\"nzSpin\", \"nzRotate\", \"nzType\", \"nzTheme\", \"nzTwotoneColor\", \"nzIconfont\"], exportAs: [\"nzIcon\"] }, { kind: \"directive\", type: i6.ɵFormlyAttributes, selector: \"[formlyAttributes]\", inputs: [\"formlyAttributes\", \"id\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.4\", ngImport: i0, type: FormlyFieldInput, decorators: [{\n type: Component,\n args: [{\n selector: 'formly-field-input',\n template: `\n <ng-container [ngSwitch]=\"props.type\">\n <ng-container *ngSwitchCase=\"'password'\">\n <nz-input-group\n [nzPrefixIcon]=\"props['prefixIcon']\"\n [nzSuffixIcon]=\"props['suffixIcon']\"\n [nzAddOnAfterIcon]=\"props['addOnAfterIcon']\"\n [nzAddOnBeforeIcon]=\"props['addOnBeforeIcon']\"\n [nzAddOnBefore]=\"props['addOnBefore']\"\n [nzAddOnAfter]=\"props['addOnAfter']\"\n [nzPrefix]=\"props['prefix']\"\n [nzCompact]=\"props['compact']!!\"\n [nzSearch]=\"props['search']!!\"\n [nzSize]=\"props['size']!\"\n [nzStatus]=\"props['status']!\"\n [nzSuffix]=\"passwordEyeTpl\"\n >\n <input\n [type]=\"passwordVisible ? 'text' : 'password'\"\n nz-input\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [nzBorderless]=\"props['borderless']!!\"\n (ngModelChange)=\"props['modelChange'] && props['modelChange'](field, $event)\"\n />\n </nz-input-group>\n </ng-container>\n\n <nz-input-group\n *ngSwitchCase=\"'autoComplete'\"\n [nzSize]=\"props['size']\"\n [nzPrefixIcon]=\"props['prefixIcon']\"\n [nzSuffixIcon]=\"props['suffixIcon']\"\n [nzAddOnAfterIcon]=\"props['addOnAfterIcon']\"\n [nzAddOnBeforeIcon]=\"props['addOnBeforeIcon']\"\n [nzAddOnBefore]=\"props['addOnBefore']\"\n [nzAddOnAfter]=\"props['addOnAfter']\"\n [nzPrefix]=\"props['prefix']\"\n [nzSuffix]=\"props['allowClear']!! ? inputClearTpl : props['suffix']\"\n >\n <input\n nz-input\n [nzBorderless]=\"props['borderless']\"\n [nzAutocomplete]=\"auto\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n />\n <nz-autocomplete\n [nzBackfill]=\"props['autocompleteOptions']?.backfill\"\n [nzDefaultActiveFirstOption]=\"props['autocompleteOptions']?.defaultActiveFirstOption\"\n [nzWidth]=\"props['autocompleteOptions']?.width\"\n [nzOverlayClassName]=\"props['autocompleteOptions']?.overlayClassName\"\n [nzOverlayStyle]=\"props['autocompleteOptions']?.overlayStyle\"\n [compareWith]=\"props['autocompleteOptions']?.compareWith\"\n #auto\n >\n <nz-auto-option\n *ngFor=\"let option of props['autocompleteOptions'].dataSource\"\n [nzLabel]=\"option.label\"\n [nzValue]=\"option.value\"\n >\n {{ option.label }}\n </nz-auto-option>\n </nz-autocomplete>\n </nz-input-group>\n\n <nz-input-group\n *ngSwitchCase=\"'group'\"\n [nzPrefixIcon]=\"props['prefixIcon']\"\n [nzSuffixIcon]=\"props['suffixIcon']\"\n [nzAddOnAfterIcon]=\"props['addOnAfterIcon']\"\n [nzAddOnBeforeIcon]=\"props['addOnBeforeIcon']\"\n [nzAddOnBefore]=\"props['addOnBefore']\"\n [nzAddOnAfter]=\"props['addOnAfter']\"\n [nzPrefix]=\"props['prefix']\"\n [nzSuffix]=\"props['allowClear']!! ? inputClearTpl : props['suffix']\"\n [nzCompact]=\"props['compact']!!\"\n [nzSearch]=\"props['search']!!\"\n [nzSize]=\"props['size']!\"\n [nzStatus]=\"props['status']!\"\n >\n <input\n nz-input\n type=\"text\"\n [ngClass]=\"props['className']!\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [nzBorderless]=\"!!props['borderless']!!\"\n (ngModelChange)=\"props['modelChange'] && props['modelChange'](field, $event)\"\n />\n </nz-input-group>\n\n <input\n *ngSwitchDefault\n nz-input\n type=\"text\"\n [ngClass]=\"props['className']!\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [nzSize]=\"props['size']\"\n [nzStatus]=\"props['status']\"\n [nzBorderless]=\"props['borderless']!!\"\n (ngModelChange)=\"props['modelChange'] && props['modelChange'](field, $event)\"\n />\n </ng-container>\n\n <!-- 查看密码 -->\n <ng-template #passwordEyeTpl>\n <span\n nz-icon\n class=\"cursor-pointer\"\n [nzType]=\"passwordVisible ? 'eye-invisible' : 'eye'\"\n (click)=\"passwordVisible = !passwordVisible\"\n ></span>\n\n <span\n nz-icon\n class=\"ant-input-clear-icon\"\n nzTheme=\"fill\"\n nzType=\"close-circle\"\n *ngIf=\"formControl.value && props['allowClear']!!\"\n (click)=\"formControl.reset()\"\n ></span>\n </ng-template>\n <!-- 清除数据 -->\n <ng-template #inputClearTpl>\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 }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQudHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvaW5wdXQvc3JjL2lucHV0LnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSx1Q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ByZWZpeEljb24nXVwiXG4gICAgICAgICAgW256U3VmZml4SWNvbl09XCJwcm9wc1snc3VmZml4SWNvbiddXCJcbiAgICAgICAgICBbbnpBZGRPbkFmdGVySWNvbl09XCJwcm9wc1snYWRkT25BZnRlckljb24nXVwiXG4gICAgICAgICAgW256QWRkT25CZWZvcmVJY29uXT1cInByb3BzWydhZGRPbkJlZm9yZUljb24nXVwiXG4gICAgICAgICAgW256QWRkT25CZWZvcmVdPVwicHJvcHNbJ2FkZE9uQmVmb3JlJ11cIlxuICAgICAgICAgIFtuekFkZE9uQWZ0ZXJdPVwicHJvcHNbJ2FkZE9uQWZ0ZXInXVwiXG4gICAgICAgICAgW256UHJlZml4XT1cInByb3BzWydwcmVmaXgnXVwiXG4gICAgICAgICAgW256Q29tcGFjdF09XCJwcm9wc1snY29tcGFjdCddISFcIlxuICAgICAgICAgIFtuelNlYXJjaF09XCJwcm9wc1snc2VhcmNoJ10hIVwiXG4gICAgICAgICAgW256U2l6ZV09XCJwcm9wc1snc2l6ZSddIVwiXG4gICAgICAgICAgW256U3RhdHVzXT1cInByb3BzWydzdGF0dXMnXSFcIlxuICAgICAgICAgIFtuelN1ZmZpeF09XCJwYXNzd29yZEV5ZVRwbFwiXG4gICAgICAgID5cbiAgICAgICAgICA8aW5wdXRcbiAgICAgICAgICAgIFt0eXBlXT1cInBhc3N3b3JkVmlzaWJsZSA/ICd0ZXh0JyA6ICdwYXNzd29yZCdcIlxuICAgICAgICAgICAgbnotaW5wdXRcbiAgICAgICAgICAgIFtmb3JtQ29udHJvbF09XCJmb3JtQ29udHJvbFwiXG4gICAgICAgICAgICBbZm9ybWx5QXR0cmlidXRlc109XCJmaWVsZFwiXG4gICAgICAgICAgICBbbnpCb3JkZXJsZXNzXT1cInByb3BzWydib3JkZXJsZXNzJ10hIVwiXG4gICAgICAgICAgICAobmdNb2RlbENoYW5nZSk9XCJwcm9wc1snbW9kZWxDaGFuZ2UnXSAmJiBwcm9wc1snbW9kZWxDaGFuZ2UnXShmaWVsZCwgJGV2ZW50KVwiXG4gICAgICAgICAgLz5cbiAgICAgICAgPC9uei1pbnB1dC1ncm91cD5cbiAgICAgIDwvbmctY29udGFpbmVyPlxuXG4gICAgICA8bnotaW5wdXQtZ3JvdXBcbiAgICAgICAgKm5nU3dpdGNoQ2FzZT1cIidhdXRvQ29tcGxldGUnXCJcbiAgICAgICAgW256U2l6ZV09XCJwcm9wc1snc2l6ZSddXCJcbiAgICAgICAgW256UHJlZml4SWNvbl09XCJwcm9wc1sncHJlZml4SWNvbiddXCJcbiAgICAgICAgW256U3VmZml4SWNvbl09XCJwcm9wc1snc3VmZml4SWNvbiddXCJcbiAgICAgICAgW256QWRkT25BZnRlckljb25dPVwicHJvcHNbJ2FkZE9uQWZ0ZXJJY29uJ11cIlxuICAgICAgICBbbnpBZGRPbkJlZm9yZUljb25dPVwicHJvcHNbJ2FkZE9uQmVmb3JlSWNvbiddXCJcbiAgICAgICAgW256QWRkT25CZWZvcmVdPVwicHJvcHNbJ2FkZE9uQmVmb3JlJ11cIlxuICAgICAgICBbbnpBZGRPbkFmdGVyXT1cInByb3BzWydhZGRPbkFmdGVyJ11cIlxuICAgICAgICBbbnpQcmVmaXhdPVwicHJvcHNbJ3ByZWZpeCddXCJcbiAgICAgICAgW256U3VmZml4XT1cInByb3BzWydhbGxvd0NsZWFyJ10hISA/IGlucHV0Q2xlYXJUcGwgOiBwcm9wc1snc3VmZml4J11cIlxuICAgICAgPlxuICAgICAgICA8aW5wdXRcbiAgICAgICAgICBuei1pbnB1dFxuICAgICAgICAgIFtuekJvcmRlcmxlc3NdPVwicHJvcHNbJ2JvcmRlcmxlc3MnXVwiXG4gICAgICAgICAgW256QXV0b2NvbXBsZXRlXT1cImF1dG9cIlxuICAgICAgICAgIFtmb3JtQ29udHJvbF09XCJmb3JtQ29udHJvbFwiXG4gICAgICAgICAgW2Zvcm1seUF0dHJpYnV0ZXNdPVwiZmllbGRcIlxuICAgICAgICAvPlxuICAgICAgICA8bnotYXV0b2NvbXBsZXRlXG4gICAgICAgICAgW256QmFja2ZpbGxdPVwicHJvcHNbJ2F1dG9jb21wbGV0ZU9wdGlvbnMnXT8uYmFja2ZpbGxcIlxuICAgICAgICAgIFtuekRlZmF1bHRBY3RpdmVGaXJzdE9wdGlvbl09XCJwcm9wc1snYXV0b2NvbXBsZXRlT3B0aW9ucyddPy5kZWZhdWx0QWN0aXZlRmlyc3RPcHRpb25cIlxuICAgICAgICAgIFtueldpZHRoXT1cInByb3BzWydhdXRvY29tcGxldGVPcHRpb25zJ10/LndpZHRoXCJcbiAgICAgICAgICBbbnpPdmVybGF5Q2xhc3NOYW1lXT1cInByb3BzWydhdXRvY29tcGxldGVPcHRpb25zJ10/Lm92ZXJsYXlDbGFzc05hbWVcIlxuICAgICAgICAgIFtuek92ZXJsYXlTdHlsZV09XCJwcm9wc1snYXV0b2NvbXBsZXRlT3B0aW9ucyddPy5vdmVybGF5U3R5bGVcIlxuICAgICAgICAgIFtjb21wYXJlV2l0aF09XCJwcm9wc1snYXV0b2NvbXBsZXRlT3B0aW9ucyddPy5jb21wYXJlV2l0aFwiXG4gICAgICAgICAgI2F1dG9cbiAgICAgICAgPlxuICAgICAgICAgIDxuei1hdXRvLW9wdGlvblxuICAgICAgICAgICAgKm5nRm9yPVwibGV0IG9wdGlvbiBvZiBwcm9wc1snYXV0b2NvbXBsZXRlT3B0aW9ucyddLmRhdGFTb3VyY2VcIlxuICAgICAgICAgICAgW256TGFiZWxdPVwib3B0aW9uLmxhYmVsXCJcbiAgICAgICAgICAgIFtuelZhbHVlXT1cIm9wdGlvbi52YWx1ZVwiXG4gICAgICAgICAgPlxuICAgICAgICAgICAge3sgb3B0aW9uLmxhYmVsIH19XG4gICAgICAgICAgPC9uei1hdXRvLW9wdGlvbj5cbiAgICAgICAgPC9uei1hdXRvY29tcGxldGU+XG4gICAgICA8L256LWlucHV0LWdyb3VwPlxuXG4gICAgICA8bnotaW5wdXQtZ3JvdXBcbiAgICAgICAgKm5nU3dpdGNoQ2FzZT1cIidncm91cCdcIlxuICAgICAgICBbbnpQcmVmaXhJY29uXT1cInByb3BzWydwcmVmaXhJY29uJ11cIlxuICAgICAgICBbbnpTdWZmaXhJY29uXT1cInByb3BzWydzdWZmaXhJY29uJ11cIlxuICAgICAgICBbbnpBZGRPbkFmdGVySWNvbl09XCJwcm9wc1snYWRkT25BZnRlckljb24nXVwiXG4gICAgICAgIFtuekFkZE9uQmVmb3JlSWNvbl09XCJwcm9wc1snYWRkT25CZWZvcmVJY29uJ11cIlxuICAgICAgICBbbnpBZGRPbkJlZm9yZV09XCJwcm9wc1snYWRkT25CZWZvcmUnXVwiXG4gICAgICAgIFtuekFkZE9uQWZ0ZXJdPVwicHJvcHNbJ2FkZE9uQWZ0ZXInXVwiXG4gICAgICAgIFtuelByZWZpeF09XCJwcm9wc1sncHJlZml4J11cIlxuICAgICAgICBbbnpTdWZmaXhdPVwicHJvcHNbJ2FsbG93Q2xlYXInXSEhID8gaW5wdXRDbGVhclRwbCA6IHByb3BzWydzdWZmaXgnXVwiXG4gICAgICAgIFtuekNvbXBhY3RdPVwicHJvcHNbJ2NvbXBhY3QnXSEhXCJcbiAgICAgICAgW256U2VhcmNoXT1cInByb3BzWydzZWFyY2gnXSEhXCJcbiAgICAgICAgW256U2l6ZV09XCJwcm9wc1snc2l6ZSddIVwiXG4gICAgICAgIFtuelN0YXR1c109XCJwcm9wc1snc3RhdHVzJ10hXCJcbiAgICAgID5cbiAgICAgICAgPGlucHV0XG4gICAgICAgICAgbnotaW5wdXRcbiAgICAgICAgICB0eXBlPVwidGV4dFwiXG4gICAgICAgICAgW25nQ2xhc3NdPVwicHJvcHNbJ2NsYXNzTmFtZSddIVwiXG4gICAgICAgICAgW2Zvcm1Db250cm9sXT1cImZvcm1Db250cm9sXCJcbiAgICAgICAgICBbZm9ybWx5QXR0cmlidXRlc109XCJmaWVsZFwiXG4gICAgICAgICAgW256Qm9yZGVybGVzc109XCIhIXByb3BzWydib3JkZXJsZXN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xuICAgICAgYWxsb3dDbGVhcjogZmFsc2UsXG4gICAgICBhdXRvY29tcGxldGVPcHRpb25zOiB7XG4gICAgICAgIGJhY2tmaWxsOiBmYWxzZSxcbiAgICAgICAgZGVmYXVsdEFjdGl2ZUZpcnN0T3B0aW9uOiB0cnVlLFxuICAgICAgICBjb21wYXJlV2l0aDogKG8xOiBOelNhZmVBbnksIG8yOiBOelNhZmVBbnkpID0+IG8xID09PSBvMlxuICAgICAgfVxuICAgIH1cbiAgfTtcbiAgcGFzc3dvcmRWaXNpYmxlID0gZmFsc2U7XG59XG4iXX0=","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 { NzInputModule } from 'ng-zorro-antd/input';\nimport { NzAutocompleteModule } from 'ng-zorro-antd/auto-complete';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport { FormlyFieldInput } from './input.type';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@ngx-formly/core\";\nexport class FormlyNzInputModule {\n}\nFormlyNzInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.4\", ngImport: i0, type: FormlyNzInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nFormlyNzInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"15.0.4\", ngImport: i0, type: FormlyNzInputModule, declarations: [FormlyFieldInput], imports: [CommonModule,\n ReactiveFormsModule,\n NzInputModule,\n NzAutocompleteModule,\n NzIconModule,\n FormlyNzFormFieldModule, i1.FormlyModule] });\nFormlyNzInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"15.0.4\", ngImport: i0, type: FormlyNzInputModule, imports: [CommonModule,\n ReactiveFormsModule,\n NzInputModule,\n NzAutocompleteModule,\n NzIconModule,\n FormlyNzFormFieldModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'input',\n component: FormlyFieldInput,\n wrappers: ['form-field'],\n defaultOptions: {\n props: {\n type: 'input'\n }\n }\n },\n { name: 'string', extends: 'input' },\n {\n name: 'password',\n extends: 'input',\n defaultOptions: {\n props: {\n type: 'password'\n }\n }\n }\n ]\n })] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.4\", ngImport: i0, type: FormlyNzInputModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [FormlyFieldInput],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n NzInputModule,\n NzAutocompleteModule,\n NzIconModule,\n FormlyNzFormFieldModule,\n FormlyModule.forChild({\n types: [\n {\n name: 'input',\n component: FormlyFieldInput,\n wrappers: ['form-field'],\n defaultOptions: {\n props: {\n type: 'input'\n }\n }\n },\n { name: 'string', extends: 'input' },\n {\n name: 'password',\n extends: 'input',\n defaultOptions: {\n props: {\n type: 'password'\n }\n }\n }\n ]\n })\n ]\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC9pbnB1dC9zcmMvaW5wdXQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUNoRCxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNyRCxPQUFPLEVBQUUsdUJBQXVCLEVBQUU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HsgbmFtZTogJ3N0cmluZycsIGV4dGVuZHM6ICdpbnB1dCcgfSxcbiAgICAgICAge1xuICAgICAgICAgIG5hbWU6ICdwYXNzd29yZCcsXG4gICAgICAgICAgZXh0ZW5kczogJ2lucHV0JyxcbiAgICAgICAgICBkZWZhdWx0T3B0aW9uczoge1xuICAgICAgICAgICAgcHJvcHM6IHtcbiAgICAgICAgICAgICAgdHlwZTogJ3Bhc3N3b3JkJ1xuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgXVxuICAgIH0pXG4gIF1cbn0pXG5leHBvcnQgY2xhc3MgRm9ybWx5TnpJbnB1dE1vZHVsZSB7fVxuIl19","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './public_api';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWZvcm1seS16b3Jyby1hbnRkLWlucHV0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC9pbnB1dC9zcmMvbmd4LWZvcm1seS16b3Jyby1hbnRkLWlucHV0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0="],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;AASM,MAAO,gBAAiB,SAAQ,SAAS,CAAA;AAC3C,IAAA,WAAA,GAAA;AACI,QAAA,KAAK,CAAC,GAAG,SAAS,CAAC,CAAC;QACpB,IAAI,CAAC,cAAc,GAAG;AAClB,YAAA,KAAK,EAAE;AACH,gBAAA,UAAU,EAAE,KAAK;AACjB,gBAAA,OAAO,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,CAAC,CAAC;AACf,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,mBAAmB,EAAE,UAAU,EAAE,CAAC;AACjH,YAAA,IAAI,EAAE,QAAQ;AACd,YAAA,IAAI,EAAE,CAAC;oBACC,YAAY,EAAE,CAAC,gBAAgB,CAAC;AAChC,oBAAA,OAAO,EAAE;wBACL,YAAY;wBACZ,mBAAmB;wBACnB,aAAa;wBACb,oBAAoB;wBACpB,YAAY;wBACZ,uBAAuB;wBACvB,YAAY,CAAC,QAAQ,CAAC;AAClB,4BAAA,KAAK,EAAE;AACH,gCAAA;AACI,oCAAA,IAAI,EAAE,OAAO;AACb,oCAAA,SAAS,EAAE,gBAAgB;oCAC3B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACxB,oCAAA,cAAc,EAAE;AACZ,wCAAA,KAAK,EAAE;AACH,4CAAA,IAAI,EAAE,OAAO;AAChB,yCAAA;AACJ,qCAAA;AACJ,iCAAA;AACD,gCAAA,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE;AACpC,gCAAA;AACI,oCAAA,IAAI,EAAE,UAAU;AAChB,oCAAA,OAAO,EAAE,OAAO;AAChB,oCAAA,cAAc,EAAE;AACZ,wCAAA,KAAK,EAAE;AACH,4CAAA,IAAI,EAAE,UAAU;AACnB,yCAAA;AACJ,qCAAA;AACJ,iCAAA;AACJ,6BAAA;yBACJ,CAAC;AACL,qBAAA;iBACJ,CAAC;SACT,CAAC,EAAE,CAAC;;ACvFb;;AAEG;;;;"}
|
@@ -1,157 +0,0 @@
|
|
1
|
-
import * as i0 from '@angular/core';
|
2
|
-
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
3
|
-
import * as i1 from '@angular/common';
|
4
|
-
import { CommonModule } from '@angular/common';
|
5
|
-
import * as i2 from '@angular/forms';
|
6
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
7
|
-
import * as i4 from '@ngx-formly/core';
|
8
|
-
import { FieldType, FormlyModule } from '@ngx-formly/core';
|
9
|
-
import * as i5 from '@ngx-formly/core/select';
|
10
|
-
import { FormlySelectModule } from '@ngx-formly/core/select';
|
11
|
-
import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
|
12
|
-
import * as i3 from 'ng-zorro-antd/radio';
|
13
|
-
import { NzRadioModule } from 'ng-zorro-antd/radio';
|
14
|
-
import { NzFormModule } from 'ng-zorro-antd/form';
|
15
|
-
|
16
|
-
class FormlyFieldRadio extends FieldType {
|
17
|
-
constructor() {
|
18
|
-
super(...arguments);
|
19
|
-
this.defaultOptions = {
|
20
|
-
props: {
|
21
|
-
size: 'default',
|
22
|
-
buttonStyle: 'outline'
|
23
|
-
}
|
24
|
-
};
|
25
|
-
}
|
26
|
-
}
|
27
|
-
FormlyFieldRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyFieldRadio, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
28
|
-
FormlyFieldRadio.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: FormlyFieldRadio, selector: "formly-field-radio", usesInheritance: true, ngImport: i0, template: `
|
29
|
-
<nz-radio-group
|
30
|
-
[formControl]="formControl"
|
31
|
-
[formlyAttributes]="field"
|
32
|
-
[nzName]="field.name ?? null"
|
33
|
-
[nzSize]="props['size']!"
|
34
|
-
[nzButtonStyle]="props['buttonStyle']!"
|
35
|
-
(ngModelChange)="props.change && props.change(field, $event)"
|
36
|
-
>
|
37
|
-
<ng-container *ngIf="props.type !== 'button'; else button">
|
38
|
-
<label
|
39
|
-
*ngFor="let option of props.options | formlySelectOptions: field | async; let i = index"
|
40
|
-
[id]="id + '_' + i"
|
41
|
-
[nzDisabled]="option.disabled === true"
|
42
|
-
[nzValue]="option.value"
|
43
|
-
nz-radio
|
44
|
-
>
|
45
|
-
{{ option.label }}
|
46
|
-
</label>
|
47
|
-
</ng-container>
|
48
|
-
|
49
|
-
<ng-template #button>
|
50
|
-
<label
|
51
|
-
*ngFor="let option of props.options | formlySelectOptions: field | async; let i = index"
|
52
|
-
[id]="id + '_' + i"
|
53
|
-
[nzDisabled]="option.disabled === true"
|
54
|
-
[nzValue]="option.value"
|
55
|
-
nz-radio-button
|
56
|
-
>
|
57
|
-
{{ option.label }}
|
58
|
-
</label>
|
59
|
-
</ng-template>
|
60
|
-
</nz-radio-group>
|
61
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus"], exportAs: ["nzRadio"] }, { kind: "directive", type: i3.NzRadioButtonDirective, selector: "[nz-radio-button]" }, { kind: "component", type: i3.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i5.FormlySelectOptionsPipe, name: "formlySelectOptions" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
62
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyFieldRadio, decorators: [{
|
63
|
-
type: Component,
|
64
|
-
args: [{
|
65
|
-
selector: 'formly-field-radio',
|
66
|
-
template: `
|
67
|
-
<nz-radio-group
|
68
|
-
[formControl]="formControl"
|
69
|
-
[formlyAttributes]="field"
|
70
|
-
[nzName]="field.name ?? null"
|
71
|
-
[nzSize]="props['size']!"
|
72
|
-
[nzButtonStyle]="props['buttonStyle']!"
|
73
|
-
(ngModelChange)="props.change && props.change(field, $event)"
|
74
|
-
>
|
75
|
-
<ng-container *ngIf="props.type !== 'button'; else button">
|
76
|
-
<label
|
77
|
-
*ngFor="let option of props.options | formlySelectOptions: field | async; let i = index"
|
78
|
-
[id]="id + '_' + i"
|
79
|
-
[nzDisabled]="option.disabled === true"
|
80
|
-
[nzValue]="option.value"
|
81
|
-
nz-radio
|
82
|
-
>
|
83
|
-
{{ option.label }}
|
84
|
-
</label>
|
85
|
-
</ng-container>
|
86
|
-
|
87
|
-
<ng-template #button>
|
88
|
-
<label
|
89
|
-
*ngFor="let option of props.options | formlySelectOptions: field | async; let i = index"
|
90
|
-
[id]="id + '_' + i"
|
91
|
-
[nzDisabled]="option.disabled === true"
|
92
|
-
[nzValue]="option.value"
|
93
|
-
nz-radio-button
|
94
|
-
>
|
95
|
-
{{ option.label }}
|
96
|
-
</label>
|
97
|
-
</ng-template>
|
98
|
-
</nz-radio-group>
|
99
|
-
`,
|
100
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
101
|
-
}]
|
102
|
-
}] });
|
103
|
-
|
104
|
-
class FormlyNzRadioModule {
|
105
|
-
}
|
106
|
-
FormlyNzRadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyNzRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
107
|
-
FormlyNzRadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: FormlyNzRadioModule, declarations: [FormlyFieldRadio], imports: [CommonModule,
|
108
|
-
ReactiveFormsModule,
|
109
|
-
FormlyNzFormFieldModule,
|
110
|
-
FormlySelectModule,
|
111
|
-
NzFormModule,
|
112
|
-
NzRadioModule, i4.FormlyModule] });
|
113
|
-
FormlyNzRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyNzRadioModule, imports: [CommonModule,
|
114
|
-
ReactiveFormsModule,
|
115
|
-
FormlyNzFormFieldModule,
|
116
|
-
FormlySelectModule,
|
117
|
-
NzFormModule,
|
118
|
-
NzRadioModule,
|
119
|
-
FormlyModule.forChild({
|
120
|
-
types: [
|
121
|
-
{
|
122
|
-
name: 'radio',
|
123
|
-
component: FormlyFieldRadio,
|
124
|
-
wrappers: ['form-field']
|
125
|
-
}
|
126
|
-
]
|
127
|
-
})] });
|
128
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyNzRadioModule, decorators: [{
|
129
|
-
type: NgModule,
|
130
|
-
args: [{
|
131
|
-
declarations: [FormlyFieldRadio],
|
132
|
-
imports: [
|
133
|
-
CommonModule,
|
134
|
-
ReactiveFormsModule,
|
135
|
-
FormlyNzFormFieldModule,
|
136
|
-
FormlySelectModule,
|
137
|
-
NzFormModule,
|
138
|
-
NzRadioModule,
|
139
|
-
FormlyModule.forChild({
|
140
|
-
types: [
|
141
|
-
{
|
142
|
-
name: 'radio',
|
143
|
-
component: FormlyFieldRadio,
|
144
|
-
wrappers: ['form-field']
|
145
|
-
}
|
146
|
-
]
|
147
|
-
})
|
148
|
-
]
|
149
|
-
}]
|
150
|
-
}] });
|
151
|
-
|
152
|
-
/**
|
153
|
-
* Generated bundle index. Do not edit.
|
154
|
-
*/
|
155
|
-
|
156
|
-
export { FormlyFieldRadio, FormlyNzRadioModule };
|
157
|
-
//# sourceMappingURL=ngx-formly-zorro-antd-radio.mjs.map
|