ngx-formly-zorro-antd 15.0.2 → 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 +8 -7
- 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 +8 -7
- 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 +41 -41
- 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 +26 -26
- 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
@@ -0,0 +1,72 @@
|
|
1
|
+
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
2
|
+
import { FieldType } from '@ngx-formly/core';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
import * as i1 from "@angular/common";
|
5
|
+
import * as i2 from "ng-zorro-antd/input";
|
6
|
+
import * as i3 from "@ngx-formly/core";
|
7
|
+
class FormlyFieldInputGroup extends FieldType {
|
8
|
+
constructor() {
|
9
|
+
super(...arguments);
|
10
|
+
this.defaultOptions = {
|
11
|
+
props: {
|
12
|
+
status: '',
|
13
|
+
size: 'default'
|
14
|
+
}
|
15
|
+
};
|
16
|
+
}
|
17
|
+
get group() {
|
18
|
+
return this.field.fieldGroup;
|
19
|
+
}
|
20
|
+
trackById(index, envent) {
|
21
|
+
if (!envent.id) {
|
22
|
+
return index;
|
23
|
+
}
|
24
|
+
return envent.id;
|
25
|
+
}
|
26
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyFieldInputGroup, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
27
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.3", type: FormlyFieldInputGroup, selector: "formly-field-input-group", usesInheritance: true, ngImport: i0, template: `
|
28
|
+
<nz-input-group
|
29
|
+
[nzPrefixIcon]="props['prefixIcon']"
|
30
|
+
[nzSuffixIcon]="props['suffixIcon']"
|
31
|
+
[nzAddOnAfterIcon]="props['addOnAfterIcon']"
|
32
|
+
[nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
|
33
|
+
[nzAddOnBefore]="props['addOnBefore']"
|
34
|
+
[nzAddOnAfter]="props['addOnAfter']"
|
35
|
+
[nzPrefix]="props['prefix']"
|
36
|
+
[nzSuffix]="props['suffix']"
|
37
|
+
[nzCompact]="props['compact']!!"
|
38
|
+
[nzSearch]="props['search']!!"
|
39
|
+
[nzSize]="props['size']!"
|
40
|
+
[nzStatus]="props['status']!"
|
41
|
+
>
|
42
|
+
<formly-field *ngFor="let f of group; trackBy: trackById" [field]="f"></formly-field>
|
43
|
+
</nz-input-group>
|
44
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i2.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch", "nzCompact"], exportAs: ["nzInputGroup"] }, { kind: "directive", type: i2.NzInputGroupWhitSuffixOrPrefixDirective, selector: "nz-input-group[nzSuffix], nz-input-group[nzPrefix]" }, { kind: "component", type: i3.FormlyField, selector: "formly-field", inputs: ["field"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
45
|
+
}
|
46
|
+
export { FormlyFieldInputGroup };
|
47
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyFieldInputGroup, decorators: [{
|
48
|
+
type: Component,
|
49
|
+
args: [{
|
50
|
+
selector: 'formly-field-input-group',
|
51
|
+
template: `
|
52
|
+
<nz-input-group
|
53
|
+
[nzPrefixIcon]="props['prefixIcon']"
|
54
|
+
[nzSuffixIcon]="props['suffixIcon']"
|
55
|
+
[nzAddOnAfterIcon]="props['addOnAfterIcon']"
|
56
|
+
[nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
|
57
|
+
[nzAddOnBefore]="props['addOnBefore']"
|
58
|
+
[nzAddOnAfter]="props['addOnAfter']"
|
59
|
+
[nzPrefix]="props['prefix']"
|
60
|
+
[nzSuffix]="props['suffix']"
|
61
|
+
[nzCompact]="props['compact']!!"
|
62
|
+
[nzSearch]="props['search']!!"
|
63
|
+
[nzSize]="props['size']!"
|
64
|
+
[nzStatus]="props['status']!"
|
65
|
+
>
|
66
|
+
<formly-field *ngFor="let f of group; trackBy: trackById" [field]="f"></formly-field>
|
67
|
+
</nz-input-group>
|
68
|
+
`,
|
69
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
70
|
+
}]
|
71
|
+
}] });
|
72
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtZ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xufVxuIl19
|
@@ -0,0 +1,60 @@
|
|
1
|
+
import { NgModule } from '@angular/core';
|
2
|
+
import { CommonModule } from '@angular/common';
|
3
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
4
|
+
import { FormlyModule } from '@ngx-formly/core';
|
5
|
+
import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
|
6
|
+
import { FormlyFieldInputNumber } from './input-number.type';
|
7
|
+
import { NzInputNumberModule } from 'ng-zorro-antd/input-number';
|
8
|
+
import * as i0 from "@angular/core";
|
9
|
+
import * as i1 from "@ngx-formly/core";
|
10
|
+
class FormlyNzInputNumberModule {
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyNzInputNumberModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
12
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.3", ngImport: i0, type: FormlyNzInputNumberModule, declarations: [FormlyFieldInputNumber], imports: [CommonModule,
|
13
|
+
ReactiveFormsModule,
|
14
|
+
FormlyNzFormFieldModule,
|
15
|
+
NzInputNumberModule, i1.FormlyModule] }); }
|
16
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyNzInputNumberModule, imports: [CommonModule,
|
17
|
+
ReactiveFormsModule,
|
18
|
+
FormlyNzFormFieldModule,
|
19
|
+
NzInputNumberModule,
|
20
|
+
FormlyModule.forChild({
|
21
|
+
types: [
|
22
|
+
{
|
23
|
+
name: 'number',
|
24
|
+
component: FormlyFieldInputNumber,
|
25
|
+
wrappers: ['form-field']
|
26
|
+
},
|
27
|
+
{
|
28
|
+
name: 'integer',
|
29
|
+
extends: 'number'
|
30
|
+
}
|
31
|
+
]
|
32
|
+
})] }); }
|
33
|
+
}
|
34
|
+
export { FormlyNzInputNumberModule };
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyNzInputNumberModule, decorators: [{
|
36
|
+
type: NgModule,
|
37
|
+
args: [{
|
38
|
+
declarations: [FormlyFieldInputNumber],
|
39
|
+
imports: [
|
40
|
+
CommonModule,
|
41
|
+
ReactiveFormsModule,
|
42
|
+
FormlyNzFormFieldModule,
|
43
|
+
NzInputNumberModule,
|
44
|
+
FormlyModule.forChild({
|
45
|
+
types: [
|
46
|
+
{
|
47
|
+
name: 'number',
|
48
|
+
component: FormlyFieldInputNumber,
|
49
|
+
wrappers: ['form-field']
|
50
|
+
},
|
51
|
+
{
|
52
|
+
name: 'integer',
|
53
|
+
extends: 'number'
|
54
|
+
}
|
55
|
+
]
|
56
|
+
})
|
57
|
+
]
|
58
|
+
}]
|
59
|
+
}] });
|
60
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtbnVtYmVyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvaW5wdXQtbnVtYmVyL3NyYy9pbnB1dC1udW1iZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3JELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUNoRCxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQztBQUUzRSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQU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6ICdpbnRlZ2VyJyxcbiAgICAgICAgICBleHRlbmRzOiAnbnVtYmVyJ1xuICAgICAgICB9XG4gICAgICBdXG4gICAgfSlcbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBGb3JtbHlOeklucHV0TnVtYmVyTW9kdWxlIHt9XG4iXX0=
|
@@ -5,7 +5,7 @@ import * as i1 from "@angular/common";
|
|
5
5
|
import * as i2 from "@angular/forms";
|
6
6
|
import * as i3 from "ng-zorro-antd/input-number";
|
7
7
|
import * as i4 from "@ngx-formly/core";
|
8
|
-
|
8
|
+
class FormlyFieldInputNumber extends FieldType {
|
9
9
|
constructor() {
|
10
10
|
super(...arguments);
|
11
11
|
this.defaultOptions = {
|
@@ -26,9 +26,8 @@ export class FormlyFieldInputNumber extends FieldType {
|
|
26
26
|
}
|
27
27
|
};
|
28
28
|
}
|
29
|
-
}
|
30
|
-
|
31
|
-
FormlyFieldInputNumber.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: FormlyFieldInputNumber, selector: "formly-field-inputnumber", usesInheritance: true, ngImport: i0, template: `
|
29
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyFieldInputNumber, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
30
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.3", type: FormlyFieldInputNumber, selector: "formly-field-inputnumber", usesInheritance: true, ngImport: i0, template: `
|
32
31
|
<ng-container [ngSwitch]="props.type">
|
33
32
|
<nz-input-number-group
|
34
33
|
*ngSwitchCase="'group'"
|
@@ -72,8 +71,10 @@ FormlyFieldInputNumber.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
72
71
|
(nzBlur)="props.blur && props.blur(field, $event)"
|
73
72
|
></nz-input-number>
|
74
73
|
</ng-template>
|
75
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzSize", "nzMin", "nzMax", "nzParser", "nzPrecision", "nzPrecisionMode", "nzPlaceHolder", "nzStatus", "nzStep", "nzInputMode", "nzId", "nzDisabled", "nzReadOnly", "nzAutoFocus", "nzBorderless", "nzFormatter"], outputs: ["nzBlur", "nzFocus"], exportAs: ["nzInputNumber"] }, { kind: "component", type: i3.NzInputNumberGroupComponent, selector: "nz-input-number-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzCompact"], exportAs: ["nzInputNumberGroup"] }, { kind: "directive", type: i3.NzInputNumberGroupWhitSuffixOrPrefixDirective, selector: "nz-input-number-group[nzSuffix], nz-input-number-group[nzPrefix]" }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
76
|
-
|
74
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzSize", "nzMin", "nzMax", "nzParser", "nzPrecision", "nzPrecisionMode", "nzPlaceHolder", "nzStatus", "nzStep", "nzInputMode", "nzId", "nzDisabled", "nzReadOnly", "nzAutoFocus", "nzBorderless", "nzFormatter"], outputs: ["nzBlur", "nzFocus"], exportAs: ["nzInputNumber"] }, { kind: "component", type: i3.NzInputNumberGroupComponent, selector: "nz-input-number-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzCompact"], exportAs: ["nzInputNumberGroup"] }, { kind: "directive", type: i3.NzInputNumberGroupWhitSuffixOrPrefixDirective, selector: "nz-input-number-group[nzSuffix], nz-input-number-group[nzPrefix]" }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
75
|
+
}
|
76
|
+
export { FormlyFieldInputNumber };
|
77
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyFieldInputNumber, decorators: [{
|
77
78
|
type: Component,
|
78
79
|
args: [{
|
79
80
|
selector: 'formly-field-inputnumber',
|
@@ -125,4 +126,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
125
126
|
changeDetection: ChangeDetectionStrategy.OnPush
|
126
127
|
}]
|
127
128
|
}] });
|
128
|
-
//# sourceMappingURL=data:application/json;base64,
|
129
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtbnVtYmVyLnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL2lucHV0LW51bWJlci9zcmMvaW5wdXQtbnVtYmVyLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBUSx1QkFBdUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6RSxPQUFPLEVBQUUsU0FBUyxFQUFzQyxNQUFNLGtCQUFrQixDQUFDOzs7Ozs7QUFRakYsTUFpRGEsc0JBQXVCLFNBQVEsU0FBMEI7SUFqRHRFOztRQWtEVyxtQkFBYyxHQUFHO1lBQ3hCLEtBQUssRUFBRTtnQkFDTCxHQUFHLEVBQUUsUUFBUTtnQkFDYixHQUFHLEVBQUUsQ0FBQyxRQUFRO2dCQUNkLE1BQU0sRUFBRSxDQUFDLEtBQWEsRUFBRSxFQUFFLENBQ3hCLEtBQUs7cUJBQ0YsSUFBSSxFQUFFO3FCQUNOLE9BQU8sQ0FBQyxJQUFJLEVBQUUsR0FBRyxDQUFDO29CQUNuQiw2Q0FBNkM7cUJBQzVDLE9BQU8sQ0FBQyxZQUFZLEVBQUUsRUFBRSxDQUFDO2dCQUM5QixhQUFhLEVBQUUsU0FBa0I7Z0JBQ2pDLElBQUksRUFBRSxTQUFrQjtnQkFDeEIsTUFBTSxFQUFFLEVBQVc7Z0JBQ25C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b2N1cyhmaWVsZCwgJGV2ZW50KVwiXG4gICAgICAgIChuekJsdXIpPVwicHJvcHMuYmx1ciAmJiBwcm9wcy5ibHVyKGZpZWxkLCAkZXZlbnQpXCJcbiAgICAgID48L256LWlucHV0LW51bWJlcj5cbiAgICA8L25nLXRlbXBsYXRlPlxuICBgLFxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaFxufSlcbmV4cG9ydCBjbGFzcyBGb3JtbHlGaWVsZElucHV0TnVtYmVyIGV4dGVuZHMgRmllbGRUeXBlPEZpZWxkVHlwZUNvbmZpZz4ge1xuICBvdmVycmlkZSBkZWZhdWx0T3B0aW9ucyA9IHtcbiAgICBwcm9wczoge1xuICAgICAgbWF4OiBJbmZpbml0eSxcbiAgICAgIG1pbjogLUluZmluaXR5LFxuICAgICAgcGFyc2VyOiAodmFsdWU6IHN0cmluZykgPT5cbiAgICAgICAgdmFsdWVcbiAgICAgICAgICAudHJpbSgpXG4gICAgICAgICAgLnJlcGxhY2UoL+OAgi9nLCAnLicpXG4gICAgICAgICAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIG5vLXVzZWxlc3MtZXNjYXBlXG4gICAgICAgICAgLnJlcGxhY2UoL1teXFx3XFwuLV0rL2csICcnKSxcbiAgICAgIHByZWNpc2lvbk1vZGU6ICd0b0ZpeGVkJyBhcyBjb25zdCxcbiAgICAgIHNpemU6ICdkZWZhdWx0JyBhcyBjb25zdCxcbiAgICAgIHN0YXR1czogJycgYXMgY29uc3QsXG4gICAgICBzdGVwOiAxLFxuICAgICAgaW5wdXRNb2RlOiAnZGVjaW1hbCcsXG4gICAgICBmb3JtYXR0ZXI6ICh2YWx1ZTogbnVtYmVyIHwgc3RyaW5nKSA9PiB2YWx1ZVxuICAgIH1cbiAgfTtcbn1cbiJdfQ==
|
@@ -0,0 +1,98 @@
|
|
1
|
+
import { NgModule } from '@angular/core';
|
2
|
+
import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
|
3
|
+
import { FormlyNzInputModule } from 'ngx-formly-zorro-antd/input';
|
4
|
+
import { FormlyNzInputNumberModule } from 'ngx-formly-zorro-antd/input-number';
|
5
|
+
import { FormlyNzInputGroupModule } from 'ngx-formly-zorro-antd/input-group';
|
6
|
+
import { FormlyNzTextareaModule } from 'ngx-formly-zorro-antd/textarea';
|
7
|
+
import { FormlyNzRadioModule } from 'ngx-formly-zorro-antd/radio';
|
8
|
+
import { FormlyNzCheckboxModule } from 'ngx-formly-zorro-antd/checkbox';
|
9
|
+
import { FormlyNzSelectModule } from 'ngx-formly-zorro-antd/select';
|
10
|
+
import { FormlyNzSwitchModule } from 'ngx-formly-zorro-antd/switch';
|
11
|
+
import { FormlyNzCascaderModule } from 'ngx-formly-zorro-antd/cascader';
|
12
|
+
import { FormlyNzDatepickerModule } from 'ngx-formly-zorro-antd/datepicker';
|
13
|
+
import { FormlyNzRateModule } from 'ngx-formly-zorro-antd/rate';
|
14
|
+
import { FormlyNzSliderModule } from 'ngx-formly-zorro-antd/slider';
|
15
|
+
import { FormlyNzTimepickerModule } from 'ngx-formly-zorro-antd/timepicker';
|
16
|
+
import { FormlyNzTransferModule } from 'ngx-formly-zorro-antd/transfer';
|
17
|
+
import { FormlyNzTreeSelectModule } from 'ngx-formly-zorro-antd/tree-select';
|
18
|
+
import { FormlyNzUploadModule } from 'ngx-formly-zorro-antd/upload';
|
19
|
+
import { FormlyNzTabsModule } from 'ngx-formly-zorro-antd/tabs';
|
20
|
+
import { FormlyNzCardModule } from 'ngx-formly-zorro-antd/card';
|
21
|
+
import { FormlyNzButtonModule } from 'ngx-formly-zorro-antd/button';
|
22
|
+
import { FormlyNzGridModule } from 'ngx-formly-zorro-antd/grid';
|
23
|
+
import * as i0 from "@angular/core";
|
24
|
+
class FormlyNgAntdModule {
|
25
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyNgAntdModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
26
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.3", ngImport: i0, type: FormlyNgAntdModule, imports: [FormlyNzFormFieldModule,
|
27
|
+
FormlyNzInputModule,
|
28
|
+
FormlyNzInputNumberModule,
|
29
|
+
FormlyNzInputGroupModule,
|
30
|
+
FormlyNzTextareaModule,
|
31
|
+
FormlyNzRadioModule,
|
32
|
+
FormlyNzCheckboxModule,
|
33
|
+
FormlyNzSelectModule,
|
34
|
+
FormlyNzSwitchModule,
|
35
|
+
FormlyNzCascaderModule,
|
36
|
+
FormlyNzDatepickerModule,
|
37
|
+
FormlyNzRateModule,
|
38
|
+
FormlyNzSliderModule,
|
39
|
+
FormlyNzTimepickerModule,
|
40
|
+
FormlyNzTransferModule,
|
41
|
+
FormlyNzTreeSelectModule,
|
42
|
+
FormlyNzUploadModule,
|
43
|
+
FormlyNzTabsModule,
|
44
|
+
FormlyNzCardModule,
|
45
|
+
FormlyNzButtonModule,
|
46
|
+
FormlyNzGridModule] }); }
|
47
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyNgAntdModule, imports: [FormlyNzFormFieldModule,
|
48
|
+
FormlyNzInputModule,
|
49
|
+
FormlyNzInputNumberModule,
|
50
|
+
FormlyNzInputGroupModule,
|
51
|
+
FormlyNzTextareaModule,
|
52
|
+
FormlyNzRadioModule,
|
53
|
+
FormlyNzCheckboxModule,
|
54
|
+
FormlyNzSelectModule,
|
55
|
+
FormlyNzSwitchModule,
|
56
|
+
FormlyNzCascaderModule,
|
57
|
+
FormlyNzDatepickerModule,
|
58
|
+
FormlyNzRateModule,
|
59
|
+
FormlyNzSliderModule,
|
60
|
+
FormlyNzTimepickerModule,
|
61
|
+
FormlyNzTransferModule,
|
62
|
+
FormlyNzTreeSelectModule,
|
63
|
+
FormlyNzUploadModule,
|
64
|
+
FormlyNzTabsModule,
|
65
|
+
FormlyNzCardModule,
|
66
|
+
FormlyNzButtonModule,
|
67
|
+
FormlyNzGridModule] }); }
|
68
|
+
}
|
69
|
+
export { FormlyNgAntdModule };
|
70
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyNgAntdModule, decorators: [{
|
71
|
+
type: NgModule,
|
72
|
+
args: [{
|
73
|
+
imports: [
|
74
|
+
FormlyNzFormFieldModule,
|
75
|
+
FormlyNzInputModule,
|
76
|
+
FormlyNzInputNumberModule,
|
77
|
+
FormlyNzInputGroupModule,
|
78
|
+
FormlyNzTextareaModule,
|
79
|
+
FormlyNzRadioModule,
|
80
|
+
FormlyNzCheckboxModule,
|
81
|
+
FormlyNzSelectModule,
|
82
|
+
FormlyNzSwitchModule,
|
83
|
+
FormlyNzCascaderModule,
|
84
|
+
FormlyNzDatepickerModule,
|
85
|
+
FormlyNzRateModule,
|
86
|
+
FormlyNzSliderModule,
|
87
|
+
FormlyNzTimepickerModule,
|
88
|
+
FormlyNzTransferModule,
|
89
|
+
FormlyNzTreeSelectModule,
|
90
|
+
FormlyNzUploadModule,
|
91
|
+
FormlyNzTabsModule,
|
92
|
+
FormlyNzCardModule,
|
93
|
+
FormlyNzButtonModule,
|
94
|
+
FormlyNzGridModule
|
95
|
+
]
|
96
|
+
}]
|
97
|
+
}] });
|
98
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidWktbmctem9ycm8tYW50ZC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL3NyYy9saWIvdWktbmctem9ycm8tYW50ZC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUV6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seU56VHJhbnNmZXJNb2R1bGUsXG4gICAgRm9ybWx5TnpUcmVlU2VsZWN0TW9kdWxlLFxuICAgIEZvcm1seU56VXBsb2FkTW9kdWxlLFxuICAgIEZvcm1seU56VGFic01vZHVsZSxcbiAgICBGb3JtbHlOekNhcmRNb2R1bGUsXG4gICAgRm9ybWx5TnpCdXR0b25Nb2R1bGUsXG4gICAgRm9ybWx5TnpHcmlkTW9kdWxlXG4gIF1cbn0pXG5leHBvcnQgY2xhc3MgRm9ybWx5TmdBbnRkTW9kdWxlIHt9XG4iXX0=
|
@@ -0,0 +1,60 @@
|
|
1
|
+
import { NgModule } from '@angular/core';
|
2
|
+
import { CommonModule } from '@angular/common';
|
3
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
4
|
+
import { FormlyModule } from '@ngx-formly/core';
|
5
|
+
import { FormlySelectModule } from '@ngx-formly/core/select';
|
6
|
+
import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
|
7
|
+
import { FormlyFieldRadio } from './radio.type';
|
8
|
+
import { NzFormModule } from 'ng-zorro-antd/form';
|
9
|
+
import { NzRadioModule } from 'ng-zorro-antd/radio';
|
10
|
+
import * as i0 from "@angular/core";
|
11
|
+
import * as i1 from "@ngx-formly/core";
|
12
|
+
class FormlyNzRadioModule {
|
13
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyNzRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
14
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.3", ngImport: i0, type: FormlyNzRadioModule, declarations: [FormlyFieldRadio], imports: [CommonModule,
|
15
|
+
ReactiveFormsModule,
|
16
|
+
FormlyNzFormFieldModule,
|
17
|
+
FormlySelectModule,
|
18
|
+
NzFormModule,
|
19
|
+
NzRadioModule, i1.FormlyModule] }); }
|
20
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyNzRadioModule, imports: [CommonModule,
|
21
|
+
ReactiveFormsModule,
|
22
|
+
FormlyNzFormFieldModule,
|
23
|
+
FormlySelectModule,
|
24
|
+
NzFormModule,
|
25
|
+
NzRadioModule,
|
26
|
+
FormlyModule.forChild({
|
27
|
+
types: [
|
28
|
+
{
|
29
|
+
name: 'radio',
|
30
|
+
component: FormlyFieldRadio,
|
31
|
+
wrappers: ['form-field']
|
32
|
+
}
|
33
|
+
]
|
34
|
+
})] }); }
|
35
|
+
}
|
36
|
+
export { FormlyNzRadioModule };
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyNzRadioModule, decorators: [{
|
38
|
+
type: NgModule,
|
39
|
+
args: [{
|
40
|
+
declarations: [FormlyFieldRadio],
|
41
|
+
imports: [
|
42
|
+
CommonModule,
|
43
|
+
ReactiveFormsModule,
|
44
|
+
FormlyNzFormFieldModule,
|
45
|
+
FormlySelectModule,
|
46
|
+
NzFormModule,
|
47
|
+
NzRadioModule,
|
48
|
+
FormlyModule.forChild({
|
49
|
+
types: [
|
50
|
+
{
|
51
|
+
name: 'radio',
|
52
|
+
component: FormlyFieldRadio,
|
53
|
+
wrappers: ['form-field']
|
54
|
+
}
|
55
|
+
]
|
56
|
+
})
|
57
|
+
]
|
58
|
+
}]
|
59
|
+
}] });
|
60
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW8ubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC9yYWRpby9zcmMvcmFkaW8ubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0F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YXJhdGlvbnM6IFtGb3JtbHlGaWVsZFJhZGlvXSxcbiAgaW1wb3J0czogW1xuICAgIENvbW1vbk1vZHVsZSxcbiAgICBSZWFjdGl2ZUZvcm1zTW9kdWxlLFxuICAgIEZvcm1seU56Rm9ybUZpZWxkTW9kdWxlLFxuICAgIEZvcm1seVNlbGVjdE1vZHVsZSxcbiAgICBOekZvcm1Nb2R1bGUsXG5cbiAgICBOelJhZGlvTW9kdWxlLFxuICAgIEZvcm1seU1vZHVsZS5mb3JDaGlsZCh7XG4gICAgICB0eXBlczogW1xuICAgICAgICB7XG4gICAgICAgICAgbmFtZTogJ3JhZGlvJyxcbiAgICAgICAgICBjb21wb25lbnQ6IEZvcm1seUZpZWxkUmFkaW8sXG4gICAgICAgICAgd3JhcHBlcnM6IFsnZm9ybS1maWVsZCddXG4gICAgICAgIH1cbiAgICAgIF1cbiAgICB9KVxuICBdXG59KVxuZXhwb3J0IGNsYXNzIEZvcm1seU56UmFkaW9Nb2R1bGUge31cbiJdfQ==
|
@@ -6,7 +6,7 @@ import * as i2 from "@angular/forms";
|
|
6
6
|
import * as i3 from "ng-zorro-antd/radio";
|
7
7
|
import * as i4 from "@ngx-formly/core";
|
8
8
|
import * as i5 from "@ngx-formly/core/select";
|
9
|
-
|
9
|
+
class FormlyFieldRadio extends FieldType {
|
10
10
|
constructor() {
|
11
11
|
super(...arguments);
|
12
12
|
this.defaultOptions = {
|
@@ -16,9 +16,8 @@ export class FormlyFieldRadio extends FieldType {
|
|
16
16
|
}
|
17
17
|
};
|
18
18
|
}
|
19
|
-
}
|
20
|
-
|
21
|
-
FormlyFieldRadio.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: FormlyFieldRadio, selector: "formly-field-radio", usesInheritance: true, ngImport: i0, template: `
|
19
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyFieldRadio, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
20
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.3", type: FormlyFieldRadio, selector: "formly-field-radio", usesInheritance: true, ngImport: i0, template: `
|
22
21
|
<nz-radio-group
|
23
22
|
[formControl]="formControl"
|
24
23
|
[formlyAttributes]="field"
|
@@ -51,8 +50,10 @@ FormlyFieldRadio.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versi
|
|
51
50
|
</label>
|
52
51
|
</ng-template>
|
53
52
|
</nz-radio-group>
|
54
|
-
`, 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 });
|
55
|
-
|
53
|
+
`, 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 }); }
|
54
|
+
}
|
55
|
+
export { FormlyFieldRadio };
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyFieldRadio, decorators: [{
|
56
57
|
type: Component,
|
57
58
|
args: [{
|
58
59
|
selector: 'formly-field-radio',
|
@@ -93,4 +94,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
93
94
|
changeDetection: ChangeDetectionStrategy.OnPush
|
94
95
|
}]
|
95
96
|
}] });
|
96
|
-
//# sourceMappingURL=data:application/json;base64,
|
97
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW8udHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL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0Zvcj1cImxldCBvcHRpb24gb2YgcHJvcHMub3B0aW9ucyB8IGZvcm1seVNlbGVjdE9wdGlvbnM6IGZpZWxkIHwgYXN5bmM7IGxldCBpID0gaW5kZXhcIlxuICAgICAgICAgIFtpZF09XCJpZCArICdfJyArIGlcIlxuICAgICAgICAgIFtuekRpc2FibGVkXT1cIm9wdGlvbi5kaXNhYmxlZCA9PT0gdHJ1ZVwiXG4gICAgICAgICAgW256VmFsdWVdPVwib3B0aW9uLnZhbHVlXCJcbiAgICAgICAgICBuei1yYWRpby1idXR0b25cbiAgICAgICAgPlxuICAgICAgICAgIHt7IG9wdGlvbi5sYWJlbCB9fVxuICAgICAgICA8L2xhYmVsPlxuICAgICAgPC9uZy10ZW1wbGF0ZT5cbiAgICA8L256LXJhZGlvLWdyb3VwPlxuICBgLFxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaFxufSlcbmV4cG9ydCBjbGFzcyBGb3JtbHlGaWVsZFJhZGlvIGV4dGVuZHMgRmllbGRUeXBlPEZpZWxkVHlwZUNvbmZpZzxSYWRpb1Byb3BzPj4ge1xuICBvdmVycmlkZSBkZWZhdWx0T3B0aW9ucyA9IHtcbiAgICBwcm9wczoge1xuICAgICAgc2l6ZTogJ2RlZmF1bHQnIGFzIGNvbnN0LFxuICAgICAgYnV0dG9uU3R5bGU6ICdvdXRsaW5lJyBhcyBjb25zdFxuICAgIH1cbiAgfTtcbn1cbiJdfQ==
|
@@ -0,0 +1,52 @@
|
|
1
|
+
import { NgModule } from '@angular/core';
|
2
|
+
import { CommonModule } from '@angular/common';
|
3
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
4
|
+
import { FormlyModule } from '@ngx-formly/core';
|
5
|
+
import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
|
6
|
+
import { NzRateModule } from 'ng-zorro-antd/rate';
|
7
|
+
import { FormlyFieldRate } from './rate.type';
|
8
|
+
import * as i0 from "@angular/core";
|
9
|
+
import * as i1 from "@ngx-formly/core";
|
10
|
+
class FormlyNzRateModule {
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyNzRateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
12
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.3", ngImport: i0, type: FormlyNzRateModule, declarations: [FormlyFieldRate], imports: [CommonModule,
|
13
|
+
ReactiveFormsModule,
|
14
|
+
FormlyNzFormFieldModule,
|
15
|
+
NzRateModule, i1.FormlyModule] }); }
|
16
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyNzRateModule, imports: [CommonModule,
|
17
|
+
ReactiveFormsModule,
|
18
|
+
FormlyNzFormFieldModule,
|
19
|
+
NzRateModule,
|
20
|
+
FormlyModule.forChild({
|
21
|
+
types: [
|
22
|
+
{
|
23
|
+
name: 'rate',
|
24
|
+
component: FormlyFieldRate,
|
25
|
+
wrappers: ['form-field']
|
26
|
+
}
|
27
|
+
]
|
28
|
+
})] }); }
|
29
|
+
}
|
30
|
+
export { FormlyNzRateModule };
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyNzRateModule, decorators: [{
|
32
|
+
type: NgModule,
|
33
|
+
args: [{
|
34
|
+
declarations: [FormlyFieldRate],
|
35
|
+
imports: [
|
36
|
+
CommonModule,
|
37
|
+
ReactiveFormsModule,
|
38
|
+
FormlyNzFormFieldModule,
|
39
|
+
NzRateModule,
|
40
|
+
FormlyModule.forChild({
|
41
|
+
types: [
|
42
|
+
{
|
43
|
+
name: 'rate',
|
44
|
+
component: FormlyFieldRate,
|
45
|
+
wrappers: ['form-field']
|
46
|
+
}
|
47
|
+
]
|
48
|
+
})
|
49
|
+
]
|
50
|
+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bW9uTW9kdWxlLFxuICAgIFJlYWN0aXZlRm9ybXNNb2R1bGUsXG4gICAgRm9ybWx5TnpGb3JtRmllbGRNb2R1bGUsXG4gICAgTnpSYXRlTW9kdWxlLFxuXG4gICAgRm9ybWx5TW9kdWxlLmZvckNoaWxkKHtcbiAgICAgIHR5cGVzOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBuYW1lOiAncmF0ZScsXG4gICAgICAgICAgY29tcG9uZW50OiBGb3JtbHlGaWVsZFJhdGUsXG4gICAgICAgICAgd3JhcHBlcnM6IFsnZm9ybS1maWVsZCddXG4gICAgICAgIH1cbiAgICAgIF1cbiAgICB9KVxuICBdXG59KVxuZXhwb3J0IGNsYXNzIEZvcm1seU56UmF0ZU1vZHVsZSB7fVxuIl19
|
@@ -0,0 +1,64 @@
|
|
1
|
+
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
2
|
+
import { FieldType } from '@ngx-formly/core';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
import * as i1 from "@angular/forms";
|
5
|
+
import * as i2 from "ng-zorro-antd/rate";
|
6
|
+
import * as i3 from "@ngx-formly/core";
|
7
|
+
class FormlyFieldRate extends FieldType {
|
8
|
+
constructor() {
|
9
|
+
super(...arguments);
|
10
|
+
this.defaultOptions = {
|
11
|
+
props: {
|
12
|
+
allowClear: true,
|
13
|
+
allowHalf: false,
|
14
|
+
autoFocus: false,
|
15
|
+
count: 5,
|
16
|
+
tooltips: []
|
17
|
+
}
|
18
|
+
};
|
19
|
+
}
|
20
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyFieldRate, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
21
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.3", type: FormlyFieldRate, selector: "formly-field-rate", usesInheritance: true, ngImport: i0, template: `
|
22
|
+
<nz-rate
|
23
|
+
[formControl]="formControl"
|
24
|
+
[formlyAttributes]="field"
|
25
|
+
[nzAllowClear]="props['allowClear']!!"
|
26
|
+
[nzAllowHalf]="props['allowHalf']!!"
|
27
|
+
[nzAutoFocus]="props['autoFocus']!!"
|
28
|
+
[nzCharacter]="props['character']!"
|
29
|
+
[nzCount]="props['count']"
|
30
|
+
[nzTooltips]="props['tooltips']!"
|
31
|
+
(ngModelChange)="props.change && props.change(field, $event)"
|
32
|
+
(nzOnBlur)="props.blur && props.blur(field, $event)"
|
33
|
+
(nzOnFocus)="props.focus && props.focus(field, $event)"
|
34
|
+
(nzOnHoverChange)="props['hoverChange'] && props['hoverChange'](field, $event)"
|
35
|
+
(nzOnKeyDown)="props.keydown && props.keydown(field, $event)"
|
36
|
+
></nz-rate>
|
37
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.NzRateComponent, selector: "nz-rate", inputs: ["nzAllowClear", "nzAllowHalf", "nzDisabled", "nzAutoFocus", "nzCharacter", "nzCount", "nzTooltips"], outputs: ["nzOnBlur", "nzOnFocus", "nzOnHoverChange", "nzOnKeyDown"], exportAs: ["nzRate"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
38
|
+
}
|
39
|
+
export { FormlyFieldRate };
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyFieldRate, decorators: [{
|
41
|
+
type: Component,
|
42
|
+
args: [{
|
43
|
+
selector: 'formly-field-rate',
|
44
|
+
template: `
|
45
|
+
<nz-rate
|
46
|
+
[formControl]="formControl"
|
47
|
+
[formlyAttributes]="field"
|
48
|
+
[nzAllowClear]="props['allowClear']!!"
|
49
|
+
[nzAllowHalf]="props['allowHalf']!!"
|
50
|
+
[nzAutoFocus]="props['autoFocus']!!"
|
51
|
+
[nzCharacter]="props['character']!"
|
52
|
+
[nzCount]="props['count']"
|
53
|
+
[nzTooltips]="props['tooltips']!"
|
54
|
+
(ngModelChange)="props.change && props.change(field, $event)"
|
55
|
+
(nzOnBlur)="props.blur && props.blur(field, $event)"
|
56
|
+
(nzOnFocus)="props.focus && props.focus(field, $event)"
|
57
|
+
(nzOnHoverChange)="props['hoverChange'] && props['hoverChange'](field, $event)"
|
58
|
+
(nzOnKeyDown)="props.keydown && props.keydown(field, $event)"
|
59
|
+
></nz-rate>
|
60
|
+
`,
|
61
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
62
|
+
}]
|
63
|
+
}] });
|
64
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmF0ZS50eXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC9yYXRlL3NyYy9yYXRlLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBcUIsdUJBQXVCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDdEYsT0FBTyxFQUFFLFNBQVMsRUFBc0MsTUFBTSxrQkFBa0IsQ0FBQzs7Ozs7QUFvRGpGLE1BcUJhLGVBQWdCLFNBQVEsU0FBcUM7SUFyQjFFOztRQXNCVyxtQkFBYyxHQUFHO1lBQ3hCLEtBQUssRUFBRTtnQkFDTCxVQUFVLEVBQUUsSUFBSTtnQkFDaEIsU0FBUyxFQUFFLEtBQUs7Z0JBQ2hCLFNBQVMsRUFBRSxLQUFLO2dCQUNoQixLQUFLLEVBQUUsQ0FBQztnQkFDUixRQUFRLEVBQUUsRUFBRTthQUNiO1NBQ0YsQ0FBQztLQU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