ngx-formly-zorro-antd 14.2.2 → 14.3.1
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -1
- package/autocomplete/autocomplete.props.d.ts +38 -38
- package/autocomplete/index.d.ts +5 -5
- package/autocomplete/public_api.d.ts +1 -1
- package/button/button.module.d.ts +11 -11
- package/button/button.type.d.ts +66 -66
- package/button/index.d.ts +5 -5
- package/button/public_api.d.ts +2 -2
- package/card/card.module.d.ts +10 -10
- package/card/card.wrapper.d.ts +58 -58
- package/card/index.d.ts +5 -5
- package/card/public_api.d.ts +2 -2
- package/cascader/cascader.module.d.ts +12 -12
- package/cascader/cascader.type.d.ts +152 -152
- package/cascader/index.d.ts +5 -5
- package/cascader/public_api.d.ts +2 -2
- package/checkbox/checkbox.module.d.ts +12 -12
- package/checkbox/checkbox.type.d.ts +35 -35
- package/checkbox/index.d.ts +5 -5
- package/checkbox/public_api.d.ts +2 -2
- package/datepicker/datepicker.module.d.ts +12 -12
- package/datepicker/datepicker.props.d.ts +149 -149
- package/datepicker/datepicker.type.d.ts +32 -32
- package/datepicker/index.d.ts +5 -5
- package/datepicker/public_api.d.ts +2 -2
- package/esm2020/autocomplete/autocomplete.props.mjs +2 -2
- package/esm2020/autocomplete/ngx-formly-zorro-antd-autocomplete.mjs +4 -4
- package/esm2020/autocomplete/public_api.mjs +2 -2
- package/esm2020/button/button.module.mjs +61 -61
- package/esm2020/button/button.type.mjs +110 -110
- package/esm2020/button/ngx-formly-zorro-antd-button.mjs +4 -4
- package/esm2020/button/public_api.mjs +3 -3
- package/esm2020/card/card.module.mjs +43 -43
- package/esm2020/card/card.wrapper.mjs +47 -47
- package/esm2020/card/ngx-formly-zorro-antd-card.mjs +4 -4
- package/esm2020/card/public_api.mjs +3 -3
- package/esm2020/cascader/cascader.module.mjs +51 -51
- package/esm2020/cascader/cascader.type.mjs +112 -112
- package/esm2020/cascader/ngx-formly-zorro-antd-cascader.mjs +4 -4
- package/esm2020/cascader/public_api.mjs +3 -3
- package/esm2020/checkbox/checkbox.module.mjs +59 -59
- package/esm2020/checkbox/checkbox.type.mjs +69 -69
- package/esm2020/checkbox/ngx-formly-zorro-antd-checkbox.mjs +4 -4
- package/esm2020/checkbox/public_api.mjs +3 -3
- package/esm2020/datepicker/datepicker.module.mjs +51 -51
- package/esm2020/datepicker/datepicker.props.mjs +2 -2
- package/esm2020/datepicker/datepicker.type.mjs +196 -196
- package/esm2020/datepicker/ngx-formly-zorro-antd-datepicker.mjs +4 -4
- package/esm2020/datepicker/public_api.mjs +3 -3
- package/esm2020/form-field/form-field.module.mjs +45 -45
- package/esm2020/form-field/form-field.props.mjs +2 -2
- package/esm2020/form-field/form-field.wrapper.mjs +127 -127
- package/esm2020/form-field/ngx-formly-zorro-antd-form-field.mjs +4 -4
- package/esm2020/form-field/public_api.mjs +2 -2
- package/esm2020/grid/grid.module.mjs +41 -41
- package/esm2020/grid/grid.props.mjs +2 -2
- package/esm2020/grid/grid.type.mjs +71 -71
- package/esm2020/grid/ngx-formly-zorro-antd-grid.mjs +4 -4
- package/esm2020/grid/public_api.mjs +3 -3
- package/esm2020/index.mjs +2 -2
- package/esm2020/input/input.module.mjs +89 -89
- package/esm2020/input/input.props.mjs +2 -2
- package/esm2020/input/input.type.mjs +309 -309
- package/esm2020/input/ngx-formly-zorro-antd-input.mjs +4 -4
- package/esm2020/input/public_api.mjs +3 -3
- package/esm2020/input-group/input-group.module.mjs +47 -47
- package/esm2020/input-group/input-group.props.mjs +2 -2
- package/esm2020/input-group/input-group.type.mjs +71 -71
- package/esm2020/input-group/ngx-formly-zorro-antd-input-group.mjs +4 -4
- package/esm2020/input-group/public_api.mjs +3 -3
- package/esm2020/input-number/input-number.module.mjs +59 -59
- package/esm2020/input-number/input-number.props.mjs +2 -2
- package/esm2020/input-number/input-number.type.mjs +128 -128
- package/esm2020/input-number/ngx-formly-zorro-antd-input-number.mjs +4 -4
- package/esm2020/input-number/public_api.mjs +3 -3
- package/esm2020/lib/ui-ng-zorro-antd.mjs +2 -2
- package/esm2020/lib/ui-ng-zorro-antd.module.mjs +97 -97
- package/esm2020/ngx-formly-zorro-antd.mjs +4 -4
- package/esm2020/radio/ngx-formly-zorro-antd-radio.mjs +4 -4
- package/esm2020/radio/public_api.mjs +3 -3
- package/esm2020/radio/radio.module.mjs +59 -59
- package/esm2020/radio/radio.type.mjs +96 -96
- package/esm2020/rate/ngx-formly-zorro-antd-rate.mjs +4 -4
- package/esm2020/rate/public_api.mjs +3 -3
- package/esm2020/rate/rate.module.mjs +51 -51
- package/esm2020/rate/rate.type.mjs +63 -63
- package/esm2020/select/ngx-formly-zorro-antd-select.mjs +4 -4
- package/esm2020/select/public_api.mjs +3 -3
- package/esm2020/select/select.module.mjs +57 -57
- package/esm2020/select/select.props.mjs +2 -2
- package/esm2020/select/select.type.mjs +170 -167
- package/esm2020/slider/ngx-formly-zorro-antd-slider.mjs +4 -4
- package/esm2020/slider/public_api.mjs +3 -3
- package/esm2020/slider/slider.module.mjs +51 -51
- package/esm2020/slider/slider.type.mjs +67 -67
- package/esm2020/switch/ngx-formly-zorro-antd-switch.mjs +4 -4
- package/esm2020/switch/public_api.mjs +3 -3
- package/esm2020/switch/switch.module.mjs +51 -51
- package/esm2020/switch/switch.type.mjs +53 -53
- package/esm2020/tabs/ngx-formly-zorro-antd-tabs.mjs +4 -4
- package/esm2020/tabs/public_api.mjs +3 -3
- package/esm2020/tabs/tabs.module.mjs +41 -41
- package/esm2020/tabs/tabs.props.mjs +2 -2
- package/esm2020/tabs/tabs.wrapper.mjs +115 -115
- package/esm2020/textarea/ngx-formly-zorro-antd-textarea.mjs +4 -4
- package/esm2020/textarea/public_api.mjs +3 -3
- package/esm2020/textarea/textarea.module.mjs +55 -55
- package/esm2020/textarea/textarea.type.mjs +141 -141
- package/esm2020/timepicker/ngx-formly-zorro-antd-timepicker.mjs +4 -4
- package/esm2020/timepicker/public_api.mjs +3 -3
- package/esm2020/timepicker/timepicker.module.mjs +51 -51
- package/esm2020/timepicker/timepicker.type.mjs +96 -96
- package/esm2020/transfer/ngx-formly-zorro-antd-transfer.mjs +4 -4
- package/esm2020/transfer/public_api.mjs +3 -3
- package/esm2020/transfer/transfer.component.mjs +128 -128
- package/esm2020/transfer/transfer.module.mjs +52 -52
- package/esm2020/transfer/transfer.type.mjs +87 -87
- package/esm2020/tree-select/ngx-formly-zorro-antd-tree-select.mjs +4 -4
- package/esm2020/tree-select/public_api.mjs +3 -3
- package/esm2020/tree-select/tree-select.module.mjs +51 -51
- package/esm2020/tree-select/tree-select.type.mjs +100 -98
- package/esm2020/upload/ngx-formly-zorro-antd-upload.mjs +4 -4
- package/esm2020/upload/public_api.mjs +3 -3
- package/esm2020/upload/upload.component.mjs +253 -253
- package/esm2020/upload/upload.module.mjs +60 -60
- package/esm2020/upload/upload.props.mjs +2 -2
- package/esm2020/upload/upload.type.mjs +129 -129
- package/fesm2015/ngx-formly-zorro-antd-autocomplete.mjs +2 -2
- package/fesm2015/ngx-formly-zorro-antd-button.mjs +152 -152
- package/fesm2015/ngx-formly-zorro-antd-button.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-card.mjs +77 -77
- package/fesm2015/ngx-formly-zorro-antd-card.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-cascader.mjs +145 -145
- package/fesm2015/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs +110 -110
- package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs +229 -229
- package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-form-field.mjs +155 -155
- package/fesm2015/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-grid.mjs +97 -97
- package/fesm2015/ngx-formly-zorro-antd-grid.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-input-group.mjs +102 -102
- package/fesm2015/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-input-number.mjs +169 -169
- package/fesm2015/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-input.mjs +376 -376
- package/fesm2015/ngx-formly-zorro-antd-input.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-radio.mjs +134 -134
- package/fesm2015/ngx-formly-zorro-antd-radio.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-rate.mjs +97 -97
- package/fesm2015/ngx-formly-zorro-antd-rate.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-select.mjs +206 -203
- package/fesm2015/ngx-formly-zorro-antd-select.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-slider.mjs +101 -101
- package/fesm2015/ngx-formly-zorro-antd-slider.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-switch.mjs +87 -87
- package/fesm2015/ngx-formly-zorro-antd-switch.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-tabs.mjs +141 -141
- package/fesm2015/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-textarea.mjs +176 -176
- package/fesm2015/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs +129 -129
- package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-transfer.mjs +241 -241
- package/fesm2015/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs +133 -131
- package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-upload.mjs +410 -410
- package/fesm2015/ngx-formly-zorro-antd-upload.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd.mjs +74 -74
- package/fesm2015/ngx-formly-zorro-antd.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-autocomplete.mjs +2 -2
- package/fesm2020/ngx-formly-zorro-antd-button.mjs +152 -152
- package/fesm2020/ngx-formly-zorro-antd-button.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-card.mjs +77 -77
- package/fesm2020/ngx-formly-zorro-antd-card.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-cascader.mjs +145 -145
- package/fesm2020/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs +110 -110
- package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs +229 -229
- package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-form-field.mjs +155 -155
- package/fesm2020/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-grid.mjs +97 -97
- package/fesm2020/ngx-formly-zorro-antd-grid.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-input-group.mjs +102 -102
- package/fesm2020/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-input-number.mjs +169 -169
- package/fesm2020/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-input.mjs +376 -376
- package/fesm2020/ngx-formly-zorro-antd-input.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-radio.mjs +134 -134
- package/fesm2020/ngx-formly-zorro-antd-radio.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-rate.mjs +97 -97
- package/fesm2020/ngx-formly-zorro-antd-rate.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-select.mjs +206 -203
- package/fesm2020/ngx-formly-zorro-antd-select.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-slider.mjs +101 -101
- package/fesm2020/ngx-formly-zorro-antd-slider.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-switch.mjs +87 -87
- package/fesm2020/ngx-formly-zorro-antd-switch.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-tabs.mjs +141 -141
- package/fesm2020/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-textarea.mjs +176 -176
- package/fesm2020/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs +129 -129
- package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-transfer.mjs +241 -241
- package/fesm2020/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs +133 -131
- package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-upload.mjs +409 -409
- package/fesm2020/ngx-formly-zorro-antd-upload.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd.mjs +74 -74
- package/fesm2020/ngx-formly-zorro-antd.mjs.map +1 -1
- package/form-field/form-field.module.d.ts +11 -11
- package/form-field/form-field.props.d.ts +105 -105
- package/form-field/form-field.wrapper.d.ts +9 -9
- package/form-field/index.d.ts +5 -5
- package/form-field/public_api.d.ts +3 -3
- package/grid/grid.module.d.ts +10 -10
- package/grid/grid.props.d.ts +44 -44
- package/grid/grid.type.d.ts +11 -11
- package/grid/index.d.ts +5 -5
- package/grid/public_api.d.ts +3 -3
- package/index.d.ts +1 -1
- package/input/index.d.ts +5 -5
- package/input/input.module.d.ts +14 -14
- package/input/input.props.d.ts +36 -36
- package/input/input.type.d.ts +26 -26
- package/input/public_api.d.ts +2 -2
- package/input-group/index.d.ts +5 -5
- package/input-group/input-group.module.d.ts +11 -11
- package/input-group/input-group.props.d.ts +56 -56
- package/input-group/input-group.type.d.ts +22 -22
- package/input-group/public_api.d.ts +3 -3
- package/input-number/index.d.ts +5 -5
- package/input-number/input-number.module.d.ts +12 -12
- package/input-number/input-number.props.d.ts +81 -81
- package/input-number/input-number.type.d.ts +24 -24
- package/input-number/public_api.d.ts +2 -2
- package/lib/ui-ng-zorro-antd.d.ts +1 -1
- package/lib/ui-ng-zorro-antd.module.d.ts +27 -27
- package/package.json +2 -2
- package/radio/index.d.ts +5 -5
- package/radio/public_api.d.ts +2 -2
- package/radio/radio.module.d.ts +14 -14
- package/radio/radio.type.d.ts +38 -38
- package/rate/index.d.ts +5 -5
- package/rate/public_api.d.ts +2 -2
- package/rate/rate.module.d.ts +12 -12
- package/rate/rate.type.d.ts +57 -57
- package/select/index.d.ts +5 -5
- package/select/public_api.d.ts +2 -2
- package/select/select.module.d.ts +13 -13
- package/select/select.props.d.ts +171 -166
- package/select/select.type.d.ts +36 -35
- package/slider/index.d.ts +5 -5
- package/slider/public_api.d.ts +2 -2
- package/slider/slider.module.d.ts +12 -12
- package/slider/slider.type.d.ts +76 -76
- package/switch/index.d.ts +5 -5
- package/switch/public_api.d.ts +2 -2
- package/switch/switch.module.d.ts +12 -12
- package/switch/switch.type.d.ts +44 -44
- package/tabs/index.d.ts +5 -5
- package/tabs/public_api.d.ts +2 -2
- package/tabs/tabs.module.d.ts +10 -10
- package/tabs/tabs.props.d.ts +126 -126
- package/tabs/tabs.wrapper.d.ts +28 -28
- package/textarea/index.d.ts +5 -5
- package/textarea/public_api.d.ts +2 -2
- package/textarea/textarea.module.d.ts +13 -13
- package/textarea/textarea.type.d.ts +39 -39
- package/timepicker/index.d.ts +5 -5
- package/timepicker/public_api.d.ts +2 -2
- package/timepicker/timepicker.module.d.ts +12 -12
- package/timepicker/timepicker.type.d.ts +138 -138
- package/transfer/index.d.ts +5 -5
- package/transfer/public_api.d.ts +2 -2
- package/transfer/transfer.component.d.ts +26 -26
- package/transfer/transfer.module.d.ts +13 -13
- package/transfer/transfer.type.d.ts +118 -118
- package/tree-select/index.d.ts +5 -5
- package/tree-select/public_api.d.ts +2 -2
- package/tree-select/tree-select.module.d.ts +12 -12
- package/tree-select/tree-select.type.d.ts +163 -158
- package/upload/index.d.ts +5 -5
- package/upload/public_api.d.ts +2 -2
- package/upload/upload.component.d.ts +33 -33
- package/upload/upload.module.d.ts +15 -15
- package/upload/upload.props.d.ts +173 -173
- package/upload/upload.type.d.ts +29 -29
@@ -1,59 +1,59 @@
|
|
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
|
-
export class FormlyNzRadioModule {
|
13
|
-
}
|
14
|
-
FormlyNzRadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
15
|
-
FormlyNzRadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRadioModule, declarations: [FormlyFieldRadio], imports: [CommonModule,
|
16
|
-
ReactiveFormsModule,
|
17
|
-
FormlyNzFormFieldModule,
|
18
|
-
FormlySelectModule,
|
19
|
-
NzFormModule,
|
20
|
-
NzRadioModule, i1.FormlyModule] });
|
21
|
-
FormlyNzRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRadioModule, imports: [CommonModule,
|
22
|
-
ReactiveFormsModule,
|
23
|
-
FormlyNzFormFieldModule,
|
24
|
-
FormlySelectModule,
|
25
|
-
NzFormModule,
|
26
|
-
NzRadioModule,
|
27
|
-
FormlyModule.forChild({
|
28
|
-
types: [
|
29
|
-
{
|
30
|
-
name: 'radio',
|
31
|
-
component: FormlyFieldRadio,
|
32
|
-
wrappers: ['form-field']
|
33
|
-
}
|
34
|
-
]
|
35
|
-
})] });
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRadioModule, decorators: [{
|
37
|
-
type: NgModule,
|
38
|
-
args: [{
|
39
|
-
declarations: [FormlyFieldRadio],
|
40
|
-
imports: [
|
41
|
-
CommonModule,
|
42
|
-
ReactiveFormsModule,
|
43
|
-
FormlyNzFormFieldModule,
|
44
|
-
FormlySelectModule,
|
45
|
-
NzFormModule,
|
46
|
-
NzRadioModule,
|
47
|
-
FormlyModule.forChild({
|
48
|
-
types: [
|
49
|
-
{
|
50
|
-
name: 'radio',
|
51
|
-
component: FormlyFieldRadio,
|
52
|
-
wrappers: ['form-field']
|
53
|
-
}
|
54
|
-
]
|
55
|
-
})
|
56
|
-
]
|
57
|
-
}]
|
58
|
-
}] });
|
59
|
-
//# sourceMappingURL=data:application/json;base64,
|
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
|
+
export class FormlyNzRadioModule {
|
13
|
+
}
|
14
|
+
FormlyNzRadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
15
|
+
FormlyNzRadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRadioModule, declarations: [FormlyFieldRadio], imports: [CommonModule,
|
16
|
+
ReactiveFormsModule,
|
17
|
+
FormlyNzFormFieldModule,
|
18
|
+
FormlySelectModule,
|
19
|
+
NzFormModule,
|
20
|
+
NzRadioModule, i1.FormlyModule] });
|
21
|
+
FormlyNzRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRadioModule, imports: [CommonModule,
|
22
|
+
ReactiveFormsModule,
|
23
|
+
FormlyNzFormFieldModule,
|
24
|
+
FormlySelectModule,
|
25
|
+
NzFormModule,
|
26
|
+
NzRadioModule,
|
27
|
+
FormlyModule.forChild({
|
28
|
+
types: [
|
29
|
+
{
|
30
|
+
name: 'radio',
|
31
|
+
component: FormlyFieldRadio,
|
32
|
+
wrappers: ['form-field']
|
33
|
+
}
|
34
|
+
]
|
35
|
+
})] });
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRadioModule, decorators: [{
|
37
|
+
type: NgModule,
|
38
|
+
args: [{
|
39
|
+
declarations: [FormlyFieldRadio],
|
40
|
+
imports: [
|
41
|
+
CommonModule,
|
42
|
+
ReactiveFormsModule,
|
43
|
+
FormlyNzFormFieldModule,
|
44
|
+
FormlySelectModule,
|
45
|
+
NzFormModule,
|
46
|
+
NzRadioModule,
|
47
|
+
FormlyModule.forChild({
|
48
|
+
types: [
|
49
|
+
{
|
50
|
+
name: 'radio',
|
51
|
+
component: Form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ategy } 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 "@angular/forms";
|
6
|
-
import * as i3 from "ng-zorro-antd/radio";
|
7
|
-
import * as i4 from "@ngx-formly/core";
|
8
|
-
import * as i5 from "@ngx-formly/core/select";
|
9
|
-
export class FormlyFieldRadio extends FieldType {
|
10
|
-
constructor() {
|
11
|
-
super(...arguments);
|
12
|
-
this.defaultOptions = {
|
13
|
-
props: {
|
14
|
-
size: 'default',
|
15
|
-
buttonStyle: 'outline'
|
16
|
-
}
|
17
|
-
};
|
18
|
-
}
|
19
|
-
}
|
20
|
-
FormlyFieldRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldRadio, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
21
|
-
FormlyFieldRadio.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldRadio, selector: "formly-field-radio", usesInheritance: true, ngImport: i0, template: `
|
22
|
-
<nz-radio-group
|
23
|
-
[formControl]="formControl"
|
24
|
-
[formlyAttributes]="field"
|
25
|
-
[nzName]="field.name ?? null"
|
26
|
-
[nzSize]="props['size']!"
|
27
|
-
[nzButtonStyle]="props['buttonStyle']!"
|
28
|
-
(ngModelChange)="props.change && props.change(field, $event)"
|
29
|
-
>
|
30
|
-
<ng-container *ngIf="props.type !== 'button'; else button">
|
31
|
-
<label
|
32
|
-
*ngFor="let option of props.options | formlySelectOptions: field | async; let i = index"
|
33
|
-
[id]="id + '_' + i"
|
34
|
-
[nzDisabled]="option.disabled === true"
|
35
|
-
[nzValue]="option.value"
|
36
|
-
nz-radio
|
37
|
-
>
|
38
|
-
{{ option.label }}
|
39
|
-
</label>
|
40
|
-
</ng-container>
|
41
|
-
|
42
|
-
<ng-template #button>
|
43
|
-
<label
|
44
|
-
*ngFor="let option of props.options | formlySelectOptions: field | async; let i = index"
|
45
|
-
[id]="id + '_' + i"
|
46
|
-
[nzDisabled]="option.disabled === true"
|
47
|
-
[nzValue]="option.value"
|
48
|
-
nz-radio-button
|
49
|
-
>
|
50
|
-
{{ option.label }}
|
51
|
-
</label>
|
52
|
-
</ng-template>
|
53
|
-
</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
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldRadio, decorators: [{
|
56
|
-
type: Component,
|
57
|
-
args: [{
|
58
|
-
selector: 'formly-field-radio',
|
59
|
-
template: `
|
60
|
-
<nz-radio-group
|
61
|
-
[formControl]="formControl"
|
62
|
-
[formlyAttributes]="field"
|
63
|
-
[nzName]="field.name ?? null"
|
64
|
-
[nzSize]="props['size']!"
|
65
|
-
[nzButtonStyle]="props['buttonStyle']!"
|
66
|
-
(ngModelChange)="props.change && props.change(field, $event)"
|
67
|
-
>
|
68
|
-
<ng-container *ngIf="props.type !== 'button'; else button">
|
69
|
-
<label
|
70
|
-
*ngFor="let option of props.options | formlySelectOptions: field | async; let i = index"
|
71
|
-
[id]="id + '_' + i"
|
72
|
-
[nzDisabled]="option.disabled === true"
|
73
|
-
[nzValue]="option.value"
|
74
|
-
nz-radio
|
75
|
-
>
|
76
|
-
{{ option.label }}
|
77
|
-
</label>
|
78
|
-
</ng-container>
|
79
|
-
|
80
|
-
<ng-template #button>
|
81
|
-
<label
|
82
|
-
*ngFor="let option of props.options | formlySelectOptions: field | async; let i = index"
|
83
|
-
[id]="id + '_' + i"
|
84
|
-
[nzDisabled]="option.disabled === true"
|
85
|
-
[nzValue]="option.value"
|
86
|
-
nz-radio-button
|
87
|
-
>
|
88
|
-
{{ option.label }}
|
89
|
-
</label>
|
90
|
-
</ng-template>
|
91
|
-
</nz-radio-group>
|
92
|
-
`,
|
93
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
94
|
-
}]
|
95
|
-
}] });
|
96
|
-
//# sourceMappingURL=data:application/json;base64,
|
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 "@angular/forms";
|
6
|
+
import * as i3 from "ng-zorro-antd/radio";
|
7
|
+
import * as i4 from "@ngx-formly/core";
|
8
|
+
import * as i5 from "@ngx-formly/core/select";
|
9
|
+
export class FormlyFieldRadio extends FieldType {
|
10
|
+
constructor() {
|
11
|
+
super(...arguments);
|
12
|
+
this.defaultOptions = {
|
13
|
+
props: {
|
14
|
+
size: 'default',
|
15
|
+
buttonStyle: 'outline'
|
16
|
+
}
|
17
|
+
};
|
18
|
+
}
|
19
|
+
}
|
20
|
+
FormlyFieldRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldRadio, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
21
|
+
FormlyFieldRadio.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldRadio, selector: "formly-field-radio", usesInheritance: true, ngImport: i0, template: `
|
22
|
+
<nz-radio-group
|
23
|
+
[formControl]="formControl"
|
24
|
+
[formlyAttributes]="field"
|
25
|
+
[nzName]="field.name ?? null"
|
26
|
+
[nzSize]="props['size']!"
|
27
|
+
[nzButtonStyle]="props['buttonStyle']!"
|
28
|
+
(ngModelChange)="props.change && props.change(field, $event)"
|
29
|
+
>
|
30
|
+
<ng-container *ngIf="props.type !== 'button'; else button">
|
31
|
+
<label
|
32
|
+
*ngFor="let option of props.options | formlySelectOptions: field | async; let i = index"
|
33
|
+
[id]="id + '_' + i"
|
34
|
+
[nzDisabled]="option.disabled === true"
|
35
|
+
[nzValue]="option.value"
|
36
|
+
nz-radio
|
37
|
+
>
|
38
|
+
{{ option.label }}
|
39
|
+
</label>
|
40
|
+
</ng-container>
|
41
|
+
|
42
|
+
<ng-template #button>
|
43
|
+
<label
|
44
|
+
*ngFor="let option of props.options | formlySelectOptions: field | async; let i = index"
|
45
|
+
[id]="id + '_' + i"
|
46
|
+
[nzDisabled]="option.disabled === true"
|
47
|
+
[nzValue]="option.value"
|
48
|
+
nz-radio-button
|
49
|
+
>
|
50
|
+
{{ option.label }}
|
51
|
+
</label>
|
52
|
+
</ng-template>
|
53
|
+
</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
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldRadio, decorators: [{
|
56
|
+
type: Component,
|
57
|
+
args: [{
|
58
|
+
selector: 'formly-field-radio',
|
59
|
+
template: `
|
60
|
+
<nz-radio-group
|
61
|
+
[formControl]="formControl"
|
62
|
+
[formlyAttributes]="field"
|
63
|
+
[nzName]="field.name ?? null"
|
64
|
+
[nzSize]="props['size']!"
|
65
|
+
[nzButtonStyle]="props['buttonStyle']!"
|
66
|
+
(ngModelChange)="props.change && props.change(field, $event)"
|
67
|
+
>
|
68
|
+
<ng-container *ngIf="props.type !== 'button'; else button">
|
69
|
+
<label
|
70
|
+
*ngFor="let option of props.options | formlySelectOptions: field | async; let i = index"
|
71
|
+
[id]="id + '_' + i"
|
72
|
+
[nzDisabled]="option.disabled === true"
|
73
|
+
[nzValue]="option.value"
|
74
|
+
nz-radio
|
75
|
+
>
|
76
|
+
{{ option.label }}
|
77
|
+
</label>
|
78
|
+
</ng-container>
|
79
|
+
|
80
|
+
<ng-template #button>
|
81
|
+
<label
|
82
|
+
*ngFor="let option of props.options | formlySelectOptions: field | async; let i = index"
|
83
|
+
[id]="id + '_' + i"
|
84
|
+
[nzDisabled]="option.disabled === true"
|
85
|
+
[nzValue]="option.value"
|
86
|
+
nz-radio-button
|
87
|
+
>
|
88
|
+
{{ option.label }}
|
89
|
+
</label>
|
90
|
+
</ng-template>
|
91
|
+
</nz-radio-group>
|
92
|
+
`,
|
93
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
94
|
+
}]
|
95
|
+
}] });
|
96
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW8udHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvcmFkaW8vc3JjL3JhZGlvLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSx1QkFBdUIsRUFBUSxNQUFNLGVBQWUsQ0FBQztBQUN6RSxPQUFPLEVBQUUsU0FBUyxFQUFzQyxNQUFNLGtCQUFrQixDQUFDOzs7Ozs7O0FBb0VqRixNQUFNLE9BQU8sZ0JBQWlCLFNBQVEsU0FBc0M7SUF0QzVFOztRQXVDVyxtQkFBYyxHQUFHO1lBQ3hCLEtBQUssRUFBRTtnQkFDTCxJQUFJLEVBQUUsU0FBa0I7Z0JBQ3hCLFdBQVcsRUFBRSxTQUFrQjthQUNoQztTQUNGLENBQUM7S0FDSDs7NkdBUFksZ0JBQWdCO2lHQUFoQixnQkFBZ0IsaUZBcENqQjs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0dBaUNUOzJGQUdVLGdCQUFnQjtrQkF0QzVCLFNBQVM7bUJBQUM7b0JBQ1Qs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HJvcHMudHlwZSAhPT0gJ2J1dHRvbic7IGVsc2UgYnV0dG9uXCI+XHJcbiAgICAgICAgPGxhYmVsXHJcbiAgICAgICAgICAqbmdGb3I9XCJsZXQgb3B0aW9uIG9mIHByb3BzLm9wdGlvbnMgfCBmb3JtbHlTZWxlY3RPcHRpb25zOiBmaWVsZCB8IGFzeW5jOyBsZXQgaSA9IGluZGV4XCJcclxuICAgICAgICAgIFtpZF09XCJpZCArICdfJyArIGlcIlxyXG4gICAgICAgICAgW256RGlzYWJsZWRdPVwib3B0aW9uLmRpc2FibGVkID09PSB0cnVlXCJcclxuICAgICAgICAgIFtuelZhbHVlXT1cIm9wdGlvbi52YWx1ZVwiXHJcbiAgICAgICAgICBuei1yYWRpb1xyXG4gICAgICAgID5cclxuICAgICAgICAgIHt7IG9wdGlvbi5sYWJlbCB9fVxyXG4gICAgICAgIDwvbGFiZWw+XHJcbiAgICAgIDwvbmctY29udGFpbmVyPlxyXG5cclxuICAgICAgPG5nLXRlbXBsYXRlICNidXR0b24+XHJcbiAgICAgICAgPGxhYmVsXHJcbiAgICAgICAgICAqbmdGb3I9XCJsZXQgb3B0aW9uIG9mIHByb3BzLm9wdGlvbnMgfCBmb3JtbHlTZWxlY3RPcHRpb25zOiBmaWVsZCB8IGFzeW5jOyBsZXQgaSA9IGluZGV4XCJcclxuICAgICAgICAgIFtpZF09XCJpZCArICdfJyArIGlcIlxyXG4gICAgICAgICAgW256RGlzYWJsZWRdPVwib3B0aW9uLmRpc2FibGVkID09PSB0cnVlXCJcclxuICAgICAgICAgIFtuelZhbHVlXT1cIm9wdGlvbi52YWx1ZVwiXHJcbiAgICAgICAgICBuei1yYWRpby1idXR0b25cclxuICAgICAgICA+XHJcbiAgICAgICAgICB7eyBvcHRpb24ubGFiZWwgfX1cclxuICAgICAgICA8L2xhYmVsPlxyXG4gICAgICA8L25nLXRlbXBsYXRlPlxyXG4gICAgPC9uei1yYWRpby1ncm91cD5cclxuICBgLFxyXG4gIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBGb3JtbHlGaWVsZFJhZGlvIGV4dGVuZHMgRmllbGRUeXBlPEZpZWxkVHlwZUNvbmZpZzxSYWRpb1Byb3BzPj4ge1xyXG4gIG92ZXJyaWRlIGRlZmF1bHRPcHRpb25zID0ge1xyXG4gICAgcHJvcHM6IHtcclxuICAgICAgc2l6ZTogJ2RlZmF1bHQnIGFzIGNvbnN0LFxyXG4gICAgICBidXR0b25TdHlsZTogJ291dGxpbmUnIGFzIGNvbnN0XHJcbiAgICB9XHJcbiAgfTtcclxufVxyXG4iXX0=
|
@@ -1,5 +1,5 @@
|
|
1
|
-
/**
|
2
|
-
* Generated bundle index. Do not edit.
|
3
|
-
*/
|
4
|
-
export * from './public_api';
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
export * from './public_api';
|
5
5
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWZvcm1seS16b3Jyby1hbnRkLXJhdGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL3JhdGUvc3JjL25neC1mb3JtbHktem9ycm8tYW50ZC1yYXRlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0=
|
@@ -1,3 +1,3 @@
|
|
1
|
-
export { FormlyNzRateModule } from './rate.module';
|
2
|
-
export { FormlyFieldRate } from './rate.type';
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
1
|
+
export { FormlyNzRateModule } from './rate.module';
|
2
|
+
export { FormlyFieldRate } from './rate.type';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvcmF0ZS9zcmMvcHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkQsT0FBTyxFQUFFLGVBQWUsRUFBeUIsTUFBTSxhQUFhLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBGb3JtbHlOelJhdGVNb2R1bGUgfSBmcm9tICcuL3JhdGUubW9kdWxlJztcclxuZXhwb3J0IHsgRm9ybWx5RmllbGRSYXRlLCBGb3JtbHlSYXRlRmllbGRDb25maWcgfSBmcm9tICcuL3JhdGUudHlwZSc7XHJcbiJdfQ==
|
@@ -1,51 +1,51 @@
|
|
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
|
-
export class FormlyNzRateModule {
|
11
|
-
}
|
12
|
-
FormlyNzRateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
13
|
-
FormlyNzRateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRateModule, declarations: [FormlyFieldRate], imports: [CommonModule,
|
14
|
-
ReactiveFormsModule,
|
15
|
-
FormlyNzFormFieldModule,
|
16
|
-
NzRateModule, i1.FormlyModule] });
|
17
|
-
FormlyNzRateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRateModule, imports: [CommonModule,
|
18
|
-
ReactiveFormsModule,
|
19
|
-
FormlyNzFormFieldModule,
|
20
|
-
NzRateModule,
|
21
|
-
FormlyModule.forChild({
|
22
|
-
types: [
|
23
|
-
{
|
24
|
-
name: 'rate',
|
25
|
-
component: FormlyFieldRate,
|
26
|
-
wrappers: ['form-field']
|
27
|
-
}
|
28
|
-
]
|
29
|
-
})] });
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRateModule, decorators: [{
|
31
|
-
type: NgModule,
|
32
|
-
args: [{
|
33
|
-
declarations: [FormlyFieldRate],
|
34
|
-
imports: [
|
35
|
-
CommonModule,
|
36
|
-
ReactiveFormsModule,
|
37
|
-
FormlyNzFormFieldModule,
|
38
|
-
NzRateModule,
|
39
|
-
FormlyModule.forChild({
|
40
|
-
types: [
|
41
|
-
{
|
42
|
-
name: 'rate',
|
43
|
-
component: FormlyFieldRate,
|
44
|
-
wrappers: ['form-field']
|
45
|
-
}
|
46
|
-
]
|
47
|
-
})
|
48
|
-
]
|
49
|
-
}]
|
50
|
-
}] });
|
51
|
-
//# sourceMappingURL=data:application/json;base64,
|
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
|
+
export class FormlyNzRateModule {
|
11
|
+
}
|
12
|
+
FormlyNzRateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
13
|
+
FormlyNzRateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRateModule, declarations: [FormlyFieldRate], imports: [CommonModule,
|
14
|
+
ReactiveFormsModule,
|
15
|
+
FormlyNzFormFieldModule,
|
16
|
+
NzRateModule, i1.FormlyModule] });
|
17
|
+
FormlyNzRateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRateModule, imports: [CommonModule,
|
18
|
+
ReactiveFormsModule,
|
19
|
+
FormlyNzFormFieldModule,
|
20
|
+
NzRateModule,
|
21
|
+
FormlyModule.forChild({
|
22
|
+
types: [
|
23
|
+
{
|
24
|
+
name: 'rate',
|
25
|
+
component: FormlyFieldRate,
|
26
|
+
wrappers: ['form-field']
|
27
|
+
}
|
28
|
+
]
|
29
|
+
})] });
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzRateModule, decorators: [{
|
31
|
+
type: NgModule,
|
32
|
+
args: [{
|
33
|
+
declarations: [FormlyFieldRate],
|
34
|
+
imports: [
|
35
|
+
CommonModule,
|
36
|
+
ReactiveFormsModule,
|
37
|
+
FormlyNzFormFieldModule,
|
38
|
+
NzRateModule,
|
39
|
+
FormlyModule.forChild({
|
40
|
+
types: [
|
41
|
+
{
|
42
|
+
name: 'rate',
|
43
|
+
component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uQE5nTW9kdWxlKHtcclxuICBkZWNsYXJhdGlvbnM6IFtGb3JtbHlGaWVsZFJhdGVdLFxyXG4gIGltcG9ydHM6IFtcclxuICAgIENvbW1vbk1vZHVsZSxcclxuICAgIFJlYWN0aXZlRm9ybXNNb2R1bGUsXHJcbiAgICBGb3JtbHlOekZvcm1GaWVsZE1vZHVsZSxcclxuICAgIE56UmF0ZU1vZHVsZSxcclxuXHJcbiAgICBGb3JtbHlNb2R1bGUuZm9yQ2hpbGQoe1xyXG4gICAgICB0eXBlczogW1xyXG4gICAgICAgIHtcclxuICAgICAgICAgIG5hbWU6ICdyYXRlJyxcclxuICAgICAgICAgIGNvbXBvbmVudDogRm9ybWx5RmllbGRSYXRlLFxyXG4gICAgICAgICAgd3JhcHBlcnM6IFsnZm9ybS1maWVsZCddXHJcbiAgICAgICAgfVxyXG4gICAgICBdXHJcbiAgICB9KVxyXG4gIF1cclxufSlcclxuZXhwb3J0IGNsYXNzIEZvcm1seU56UmF0ZU1vZHVsZSB7fVxyXG4iXX0=
|
@@ -1,63 +1,63 @@
|
|
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
|
-
export 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
|
-
}
|
21
|
-
FormlyFieldRate.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldRate, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
22
|
-
FormlyFieldRate.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldRate, selector: "formly-field-rate", usesInheritance: true, ngImport: i0, template: `
|
23
|
-
<nz-rate
|
24
|
-
[formControl]="formControl"
|
25
|
-
[formlyAttributes]="field"
|
26
|
-
[nzAllowClear]="props['allowClear']!!"
|
27
|
-
[nzAllowHalf]="props['allowHalf']!!"
|
28
|
-
[nzAutoFocus]="props['autoFocus']!!"
|
29
|
-
[nzCharacter]="props['character']!"
|
30
|
-
[nzCount]="props['count']"
|
31
|
-
[nzTooltips]="props['tooltips']!"
|
32
|
-
(ngModelChange)="props.change && props.change(field, $event)"
|
33
|
-
(nzOnBlur)="props.blur && props.blur(field, $event)"
|
34
|
-
(nzOnFocus)="props.focus && props.focus(field, $event)"
|
35
|
-
(nzOnHoverChange)="props['hoverChange'] && props['hoverChange'](field, $event)"
|
36
|
-
(nzOnKeyDown)="props.keydown && props.keydown(field, $event)"
|
37
|
-
></nz-rate>
|
38
|
-
`, 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 });
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldRate, decorators: [{
|
40
|
-
type: Component,
|
41
|
-
args: [{
|
42
|
-
selector: 'formly-field-rate',
|
43
|
-
template: `
|
44
|
-
<nz-rate
|
45
|
-
[formControl]="formControl"
|
46
|
-
[formlyAttributes]="field"
|
47
|
-
[nzAllowClear]="props['allowClear']!!"
|
48
|
-
[nzAllowHalf]="props['allowHalf']!!"
|
49
|
-
[nzAutoFocus]="props['autoFocus']!!"
|
50
|
-
[nzCharacter]="props['character']!"
|
51
|
-
[nzCount]="props['count']"
|
52
|
-
[nzTooltips]="props['tooltips']!"
|
53
|
-
(ngModelChange)="props.change && props.change(field, $event)"
|
54
|
-
(nzOnBlur)="props.blur && props.blur(field, $event)"
|
55
|
-
(nzOnFocus)="props.focus && props.focus(field, $event)"
|
56
|
-
(nzOnHoverChange)="props['hoverChange'] && props['hoverChange'](field, $event)"
|
57
|
-
(nzOnKeyDown)="props.keydown && props.keydown(field, $event)"
|
58
|
-
></nz-rate>
|
59
|
-
`,
|
60
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
61
|
-
}]
|
62
|
-
}] });
|
63
|
-
//# sourceMappingURL=data:application/json;base64,
|
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
|
+
export 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
|
+
}
|
21
|
+
FormlyFieldRate.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldRate, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
22
|
+
FormlyFieldRate.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldRate, selector: "formly-field-rate", usesInheritance: true, ngImport: i0, template: `
|
23
|
+
<nz-rate
|
24
|
+
[formControl]="formControl"
|
25
|
+
[formlyAttributes]="field"
|
26
|
+
[nzAllowClear]="props['allowClear']!!"
|
27
|
+
[nzAllowHalf]="props['allowHalf']!!"
|
28
|
+
[nzAutoFocus]="props['autoFocus']!!"
|
29
|
+
[nzCharacter]="props['character']!"
|
30
|
+
[nzCount]="props['count']"
|
31
|
+
[nzTooltips]="props['tooltips']!"
|
32
|
+
(ngModelChange)="props.change && props.change(field, $event)"
|
33
|
+
(nzOnBlur)="props.blur && props.blur(field, $event)"
|
34
|
+
(nzOnFocus)="props.focus && props.focus(field, $event)"
|
35
|
+
(nzOnHoverChange)="props['hoverChange'] && props['hoverChange'](field, $event)"
|
36
|
+
(nzOnKeyDown)="props.keydown && props.keydown(field, $event)"
|
37
|
+
></nz-rate>
|
38
|
+
`, 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 });
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldRate, decorators: [{
|
40
|
+
type: Component,
|
41
|
+
args: [{
|
42
|
+
selector: 'formly-field-rate',
|
43
|
+
template: `
|
44
|
+
<nz-rate
|
45
|
+
[formControl]="formControl"
|
46
|
+
[formlyAttributes]="field"
|
47
|
+
[nzAllowClear]="props['allowClear']!!"
|
48
|
+
[nzAllowHalf]="props['allowHalf']!!"
|
49
|
+
[nzAutoFocus]="props['autoFocus']!!"
|
50
|
+
[nzCharacter]="props['character']!"
|
51
|
+
[nzCount]="props['count']"
|
52
|
+
[nzTooltips]="props['tooltips']!"
|
53
|
+
(ngModelChange)="props.change && props.change(field, $event)"
|
54
|
+
(nzOnBlur)="props.blur && props.blur(field, $event)"
|
55
|
+
(nzOnFocus)="props.focus && props.focus(field, $event)"
|
56
|
+
(nzOnHoverChange)="props['hoverChange'] && props['hoverChange'](field, $event)"
|
57
|
+
(nzOnKeyDown)="props.keydown && props.keydown(field, $event)"
|
58
|
+
></nz-rate>
|
59
|
+
`,
|
60
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
61
|
+
}]
|
62
|
+
}] });
|
63
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmF0ZS50eXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC9yYXRlL3NyYy9yYXRlLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBcUIsdUJBQXVCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDdEYsT0FBTyxFQUFFLFNBQVMsRUFBc0MsTUFBTSxrQkFBa0IsQ0FBQzs7Ozs7QUF1RWpGLE1BQU0sT0FBTyxlQUFnQixTQUFRLFNBQXFDO0lBckIxRTs7UUFzQlcsbUJBQWMsR0FBRztZQUN4QixLQUFLLEVBQUU7Z0JBQ0wsVUFBVSxFQUFFLElBQUk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