ngx-formly-zorro-antd 13.0.0 → 14.0.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/{ngx-formly-zorro-antd-autocomplete.d.ts → 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/{ngx-formly-zorro-antd-button.d.ts → 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/{ngx-formly-zorro-antd-card.d.ts → 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/{ngx-formly-zorro-antd-cascader.d.ts → 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/{ngx-formly-zorro-antd-checkbox.d.ts → 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 +144 -146
- package/datepicker/datepicker.type.d.ts +31 -31
- package/datepicker/{ngx-formly-zorro-antd-datepicker.d.ts → 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 -63
- 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 -45
- 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 -53
- 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 -61
- 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 -53
- package/esm2020/datepicker/datepicker.props.mjs +2 -2
- package/esm2020/datepicker/datepicker.type.mjs +191 -189
- 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 -47
- 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 -43
- 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 -91
- package/esm2020/input/input.props.mjs +2 -2
- package/esm2020/input/input.type.mjs +309 -263
- 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 -49
- 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 -61
- 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 -99
- 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 -61
- 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 -53
- 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 -59
- package/esm2020/select/select.props.mjs +2 -2
- package/esm2020/select/select.type.mjs +163 -163
- 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 -53
- 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 -53
- 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 -43
- package/esm2020/tabs/tabs.props.mjs +2 -2
- package/esm2020/tabs/tabs.wrapper.mjs +111 -111
- 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 +51 -53
- package/esm2020/textarea/textarea.type.mjs +88 -88
- 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 -53
- package/esm2020/timepicker/timepicker.type.mjs +92 -92
- 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 -54
- 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 -53
- package/esm2020/tree-select/tree-select.type.mjs +98 -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 +174 -174
- package/esm2020/upload/upload.module.mjs +60 -62
- package/esm2020/upload/upload.type.mjs +119 -119
- package/fesm2015/ngx-formly-zorro-antd-autocomplete.mjs +2 -2
- package/fesm2015/ngx-formly-zorro-antd-button.mjs +156 -158
- package/fesm2015/ngx-formly-zorro-antd-button.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-card.mjs +77 -79
- package/fesm2015/ngx-formly-zorro-antd-card.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-cascader.mjs +148 -150
- package/fesm2015/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs +113 -115
- package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs +227 -227
- package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-form-field.mjs +159 -161
- package/fesm2015/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-grid.mjs +99 -101
- package/fesm2015/ngx-formly-zorro-antd-grid.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-input-group.mjs +105 -107
- package/fesm2015/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-input-number.mjs +172 -174
- package/fesm2015/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-input.mjs +382 -338
- package/fesm2015/ngx-formly-zorro-antd-input.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-radio.mjs +137 -139
- package/fesm2015/ngx-formly-zorro-antd-radio.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-rate.mjs +99 -101
- package/fesm2015/ngx-formly-zorro-antd-rate.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-select.mjs +202 -204
- package/fesm2015/ngx-formly-zorro-antd-select.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-slider.mjs +103 -105
- package/fesm2015/ngx-formly-zorro-antd-slider.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-switch.mjs +89 -91
- package/fesm2015/ngx-formly-zorro-antd-switch.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-tabs.mjs +140 -142
- package/fesm2015/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-textarea.mjs +124 -126
- package/fesm2015/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs +128 -130
- package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-transfer.mjs +243 -245
- package/fesm2015/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs +134 -136
- package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-upload.mjs +328 -330
- package/fesm2015/ngx-formly-zorro-antd-upload.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd.mjs +74 -76
- 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 +156 -158
- package/fesm2020/ngx-formly-zorro-antd-button.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-card.mjs +77 -79
- package/fesm2020/ngx-formly-zorro-antd-card.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-cascader.mjs +148 -150
- package/fesm2020/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs +113 -115
- package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs +227 -227
- package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-form-field.mjs +159 -161
- package/fesm2020/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-grid.mjs +99 -101
- package/fesm2020/ngx-formly-zorro-antd-grid.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-input-group.mjs +105 -107
- package/fesm2020/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-input-number.mjs +172 -174
- package/fesm2020/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-input.mjs +382 -338
- package/fesm2020/ngx-formly-zorro-antd-input.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-radio.mjs +137 -139
- package/fesm2020/ngx-formly-zorro-antd-radio.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-rate.mjs +99 -101
- package/fesm2020/ngx-formly-zorro-antd-rate.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-select.mjs +202 -204
- package/fesm2020/ngx-formly-zorro-antd-select.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-slider.mjs +103 -105
- package/fesm2020/ngx-formly-zorro-antd-slider.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-switch.mjs +89 -91
- package/fesm2020/ngx-formly-zorro-antd-switch.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-tabs.mjs +140 -142
- package/fesm2020/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-textarea.mjs +124 -126
- package/fesm2020/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs +128 -130
- package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-transfer.mjs +243 -245
- package/fesm2020/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs +134 -136
- package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-upload.mjs +327 -329
- package/fesm2020/ngx-formly-zorro-antd-upload.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd.mjs +74 -76
- 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/{ngx-formly-zorro-antd-form-field.d.ts → 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/{ngx-formly-zorro-antd-grid.d.ts → index.d.ts} +5 -5
- package/grid/public_api.d.ts +3 -3
- package/index.d.ts +1 -1
- package/input/{ngx-formly-zorro-antd-input.d.ts → index.d.ts} +5 -5
- package/input/input.module.d.ts +14 -14
- package/input/input.props.d.ts +36 -33
- package/input/input.type.d.ts +26 -26
- package/input/public_api.d.ts +2 -2
- package/input-group/{ngx-formly-zorro-antd-input-group.d.ts → 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/{ngx-formly-zorro-antd-input-number.d.ts → index.d.ts} +5 -5
- package/input-number/input-number.module.d.ts +12 -12
- package/input-number/input-number.props.d.ts +81 -78
- 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 +34 -30
- package/radio/{ngx-formly-zorro-antd-radio.d.ts → 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/{ngx-formly-zorro-antd-rate.d.ts → 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/{ngx-formly-zorro-antd-select.d.ts → 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 +162 -162
- package/select/select.type.d.ts +35 -35
- package/slider/{ngx-formly-zorro-antd-slider.d.ts → 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/{ngx-formly-zorro-antd-switch.d.ts → 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/{ngx-formly-zorro-antd-tabs.d.ts → 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/{ngx-formly-zorro-antd-textarea.d.ts → index.d.ts} +5 -5
- package/textarea/public_api.d.ts +2 -2
- package/textarea/textarea.module.d.ts +12 -12
- package/textarea/textarea.type.d.ts +38 -38
- package/timepicker/{ngx-formly-zorro-antd-timepicker.d.ts → 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 +131 -131
- package/transfer/{ngx-formly-zorro-antd-transfer.d.ts → 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/{ngx-formly-zorro-antd-tree-select.d.ts → 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 +158 -158
- package/upload/{ngx-formly-zorro-antd-upload.d.ts → index.d.ts} +5 -5
- package/upload/public_api.d.ts +2 -2
- package/upload/upload.component.d.ts +27 -27
- package/upload/upload.module.d.ts +15 -15
- package/upload/upload.type.d.ts +173 -173
- package/autocomplete/package.json +0 -10
- package/button/package.json +0 -10
- package/card/package.json +0 -10
- package/cascader/package.json +0 -10
- package/checkbox/package.json +0 -10
- package/datepicker/package.json +0 -10
- package/form-field/package.json +0 -10
- package/grid/package.json +0 -10
- package/input/package.json +0 -10
- package/input-group/package.json +0 -10
- package/input-number/package.json +0 -10
- package/ngx-formly-zorro-antd.d.ts +0 -5
- package/radio/package.json +0 -10
- package/rate/package.json +0 -10
- package/select/package.json +0 -10
- package/slider/package.json +0 -10
- package/switch/package.json +0 -10
- package/tabs/package.json +0 -10
- package/textarea/package.json +0 -10
- package/timepicker/package.json +0 -10
- package/transfer/package.json +0 -10
- package/tree-select/package.json +0 -10
- package/upload/package.json +0 -10
@@ -1,78 +1,81 @@
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
2
|
-
import type {
|
3
|
-
import type {
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
*
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
*
|
18
|
-
*
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
*
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
*
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
*
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
*
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
*
|
76
|
-
|
77
|
-
|
78
|
-
|
1
|
+
import { TemplateRef } from '@angular/core';
|
2
|
+
import type { FormlyFieldConfig } from '@ngx-formly/core';
|
3
|
+
import type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';
|
4
|
+
import type { NzSizeLDSType, NzStatus } from 'ng-zorro-antd/core/types';
|
5
|
+
export interface InputNumberProps extends FormlyFieldProps {
|
6
|
+
type?: 'number' | 'group';
|
7
|
+
/**
|
8
|
+
* 自动获取焦点
|
9
|
+
* @default false
|
10
|
+
*/
|
11
|
+
autoFocus?: boolean;
|
12
|
+
/**
|
13
|
+
* 指定输入框展示值的格式
|
14
|
+
*/
|
15
|
+
formatter?: (value: number | string) => string | number;
|
16
|
+
/**
|
17
|
+
* 指定从 formatter 里转换回数字的方式,和 formatter 搭配使用
|
18
|
+
* @default
|
19
|
+
* (value: string) => value.trim().replace(/。/g, '.').replace(/[^\w\.-]+/g, '')
|
20
|
+
*/
|
21
|
+
parser?: (value: string) => string;
|
22
|
+
/**
|
23
|
+
* 数值精度
|
24
|
+
*/
|
25
|
+
precision?: number;
|
26
|
+
/**
|
27
|
+
* 数值精度的取值方式
|
28
|
+
* @default toFixed
|
29
|
+
*/
|
30
|
+
precisionMode?: 'cut' | 'toFixed' | ((value: number | string, precision?: number) => number);
|
31
|
+
/**
|
32
|
+
* 输入框大小
|
33
|
+
* @default default
|
34
|
+
*/
|
35
|
+
size?: NzSizeLDSType;
|
36
|
+
/**
|
37
|
+
* 设置校验状态
|
38
|
+
*/
|
39
|
+
status?: NzStatus;
|
40
|
+
/**
|
41
|
+
* 无边框
|
42
|
+
* @default false
|
43
|
+
*/
|
44
|
+
borderless?: boolean;
|
45
|
+
/**
|
46
|
+
* 提供了用户在编辑元素或其内容时可能输入的数据类型的提示,详见MDN
|
47
|
+
* @default decimal
|
48
|
+
*/
|
49
|
+
inputMode?: string;
|
50
|
+
/**
|
51
|
+
* 带标签的 input-number,设置后置标签,可以与 nzAddOnBefore 配合使用
|
52
|
+
*/
|
53
|
+
addOnAfter?: string | TemplateRef<void>;
|
54
|
+
/**
|
55
|
+
* 带标签的 input-number,设置前置标签,可以与 nzAddOnAfter 配合使用
|
56
|
+
*/
|
57
|
+
addOnBefore?: string | TemplateRef<void>;
|
58
|
+
/**
|
59
|
+
* 带有前缀图标的 input-number,可以与 nzSuffix 配合使用
|
60
|
+
*/
|
61
|
+
prefix?: string | TemplateRef<void>;
|
62
|
+
/**
|
63
|
+
* 带有后缀图标的 input-number,可以与 nzPrefix 配合使用
|
64
|
+
*/
|
65
|
+
suffix?: string | TemplateRef<void>;
|
66
|
+
/**
|
67
|
+
* 带有前缀图标的 input-number
|
68
|
+
*/
|
69
|
+
prefixIcon?: string;
|
70
|
+
/**
|
71
|
+
* 带有后缀图标的 input-number
|
72
|
+
*/
|
73
|
+
suffixIcon?: string;
|
74
|
+
/**
|
75
|
+
* 是否用紧凑模式
|
76
|
+
* @default false
|
77
|
+
*/
|
78
|
+
compact?: boolean;
|
79
|
+
/** 数值改变时回调 */
|
80
|
+
modelChange?: (field: FormlyFieldConfig, event?: number | null) => void;
|
81
|
+
}
|
@@ -1,24 +1,24 @@
|
|
1
|
-
import { Type } from '@angular/core';
|
2
|
-
import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
|
3
|
-
import type { InputNumberProps } from './input-number.props';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
export interface FormlyInputNumberFieldConfig extends FormlyFieldConfig<InputNumberProps> {
|
6
|
-
type: 'number' | 'integer' | Type<FormlyFieldInputNumber>;
|
7
|
-
}
|
8
|
-
export declare class FormlyFieldInputNumber extends FieldType<FieldTypeConfig> {
|
9
|
-
defaultOptions: {
|
10
|
-
props: {
|
11
|
-
max: number;
|
12
|
-
min: number;
|
13
|
-
parser: (value: string) => string;
|
14
|
-
precisionMode: "toFixed";
|
15
|
-
size: "default";
|
16
|
-
status: "";
|
17
|
-
step: number;
|
18
|
-
inputMode: string;
|
19
|
-
formatter: (value: number | string) => string | number;
|
20
|
-
};
|
21
|
-
};
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldInputNumber, never>;
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldInputNumber, "formly-field-inputnumber", never, {}, {}, never, never>;
|
24
|
-
}
|
1
|
+
import { Type } from '@angular/core';
|
2
|
+
import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
|
3
|
+
import type { InputNumberProps } from './input-number.props';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export interface FormlyInputNumberFieldConfig extends FormlyFieldConfig<InputNumberProps> {
|
6
|
+
type: 'number' | 'integer' | Type<FormlyFieldInputNumber>;
|
7
|
+
}
|
8
|
+
export declare class FormlyFieldInputNumber extends FieldType<FieldTypeConfig> {
|
9
|
+
defaultOptions: {
|
10
|
+
props: {
|
11
|
+
max: number;
|
12
|
+
min: number;
|
13
|
+
parser: (value: string) => string;
|
14
|
+
precisionMode: "toFixed";
|
15
|
+
size: "default";
|
16
|
+
status: "";
|
17
|
+
step: number;
|
18
|
+
inputMode: string;
|
19
|
+
formatter: (value: number | string) => string | number;
|
20
|
+
};
|
21
|
+
};
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldInputNumber, never>;
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldInputNumber, "formly-field-inputnumber", never, {}, {}, never, never, false>;
|
24
|
+
}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export { FormlyNzInputNumberModule } from './input-number.module';
|
2
|
-
export { FormlyFieldInputNumber, FormlyInputNumberFieldConfig } from './input-number.type';
|
1
|
+
export { FormlyNzInputNumberModule } from './input-number.module';
|
2
|
+
export { FormlyFieldInputNumber, FormlyInputNumberFieldConfig } from './input-number.type';
|
@@ -1 +1 @@
|
|
1
|
-
export { FormlyNgAntdModule } from './ui-ng-zorro-antd.module';
|
1
|
+
export { FormlyNgAntdModule } from './ui-ng-zorro-antd.module';
|
@@ -1,27 +1,27 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
import * as i1 from "ngx-formly-zorro-antd/form-field";
|
3
|
-
import * as i2 from "ngx-formly-zorro-antd/input";
|
4
|
-
import * as i3 from "ngx-formly-zorro-antd/input-number";
|
5
|
-
import * as i4 from "ngx-formly-zorro-antd/input-group";
|
6
|
-
import * as i5 from "ngx-formly-zorro-antd/textarea";
|
7
|
-
import * as i6 from "ngx-formly-zorro-antd/radio";
|
8
|
-
import * as i7 from "ngx-formly-zorro-antd/checkbox";
|
9
|
-
import * as i8 from "ngx-formly-zorro-antd/select";
|
10
|
-
import * as i9 from "ngx-formly-zorro-antd/switch";
|
11
|
-
import * as i10 from "ngx-formly-zorro-antd/cascader";
|
12
|
-
import * as i11 from "ngx-formly-zorro-antd/datepicker";
|
13
|
-
import * as i12 from "ngx-formly-zorro-antd/rate";
|
14
|
-
import * as i13 from "ngx-formly-zorro-antd/slider";
|
15
|
-
import * as i14 from "ngx-formly-zorro-antd/timepicker";
|
16
|
-
import * as i15 from "ngx-formly-zorro-antd/transfer";
|
17
|
-
import * as i16 from "ngx-formly-zorro-antd/tree-select";
|
18
|
-
import * as i17 from "ngx-formly-zorro-antd/upload";
|
19
|
-
import * as i18 from "ngx-formly-zorro-antd/tabs";
|
20
|
-
import * as i19 from "ngx-formly-zorro-antd/card";
|
21
|
-
import * as i20 from "ngx-formly-zorro-antd/button";
|
22
|
-
import * as i21 from "ngx-formly-zorro-antd/grid";
|
23
|
-
export declare class FormlyNgAntdModule {
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNgAntdModule, never>;
|
25
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNgAntdModule, never, [typeof i1.FormlyNzFormFieldModule, typeof i2.FormlyNzInputModule, typeof i3.FormlyNzInputNumberModule, typeof i4.FormlyNzInputGroupModule, typeof i5.FormlyNzTextareaModule, typeof i6.FormlyNzRadioModule, typeof i7.FormlyNzCheckboxModule, typeof i8.FormlyNzSelectModule, typeof i9.FormlyNzSwitchModule, typeof i10.FormlyNzCascaderModule, typeof i11.FormlyNzDatepickerModule, typeof i12.FormlyNzRateModule, typeof i13.FormlyNzSliderModule, typeof i14.FormlyNzTimepickerModule, typeof i15.FormlyNzTransferModule, typeof i16.FormlyNzTreeSelectModule, typeof i17.FormlyNzUploadModule, typeof i18.FormlyNzTabsModule, typeof i19.FormlyNzCardModule, typeof i20.FormlyNzButtonModule, typeof i21.FormlyNzGridModule], never>;
|
26
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNgAntdModule>;
|
27
|
-
}
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "ngx-formly-zorro-antd/form-field";
|
3
|
+
import * as i2 from "ngx-formly-zorro-antd/input";
|
4
|
+
import * as i3 from "ngx-formly-zorro-antd/input-number";
|
5
|
+
import * as i4 from "ngx-formly-zorro-antd/input-group";
|
6
|
+
import * as i5 from "ngx-formly-zorro-antd/textarea";
|
7
|
+
import * as i6 from "ngx-formly-zorro-antd/radio";
|
8
|
+
import * as i7 from "ngx-formly-zorro-antd/checkbox";
|
9
|
+
import * as i8 from "ngx-formly-zorro-antd/select";
|
10
|
+
import * as i9 from "ngx-formly-zorro-antd/switch";
|
11
|
+
import * as i10 from "ngx-formly-zorro-antd/cascader";
|
12
|
+
import * as i11 from "ngx-formly-zorro-antd/datepicker";
|
13
|
+
import * as i12 from "ngx-formly-zorro-antd/rate";
|
14
|
+
import * as i13 from "ngx-formly-zorro-antd/slider";
|
15
|
+
import * as i14 from "ngx-formly-zorro-antd/timepicker";
|
16
|
+
import * as i15 from "ngx-formly-zorro-antd/transfer";
|
17
|
+
import * as i16 from "ngx-formly-zorro-antd/tree-select";
|
18
|
+
import * as i17 from "ngx-formly-zorro-antd/upload";
|
19
|
+
import * as i18 from "ngx-formly-zorro-antd/tabs";
|
20
|
+
import * as i19 from "ngx-formly-zorro-antd/card";
|
21
|
+
import * as i20 from "ngx-formly-zorro-antd/button";
|
22
|
+
import * as i21 from "ngx-formly-zorro-antd/grid";
|
23
|
+
export declare class FormlyNgAntdModule {
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNgAntdModule, never>;
|
25
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNgAntdModule, never, [typeof i1.FormlyNzFormFieldModule, typeof i2.FormlyNzInputModule, typeof i3.FormlyNzInputNumberModule, typeof i4.FormlyNzInputGroupModule, typeof i5.FormlyNzTextareaModule, typeof i6.FormlyNzRadioModule, typeof i7.FormlyNzCheckboxModule, typeof i8.FormlyNzSelectModule, typeof i9.FormlyNzSwitchModule, typeof i10.FormlyNzCascaderModule, typeof i11.FormlyNzDatepickerModule, typeof i12.FormlyNzRateModule, typeof i13.FormlyNzSliderModule, typeof i14.FormlyNzTimepickerModule, typeof i15.FormlyNzTransferModule, typeof i16.FormlyNzTreeSelectModule, typeof i17.FormlyNzUploadModule, typeof i18.FormlyNzTabsModule, typeof i19.FormlyNzCardModule, typeof i20.FormlyNzButtonModule, typeof i21.FormlyNzGridModule], never>;
|
26
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNgAntdModule>;
|
27
|
+
}
|
package/package.json
CHANGED
@@ -1,13 +1,17 @@
|
|
1
1
|
{
|
2
2
|
"name": "ngx-formly-zorro-antd",
|
3
|
-
"version": "
|
3
|
+
"version": "14.0.1",
|
4
|
+
"publishConfig": {
|
5
|
+
"registry": "https://registry.npmjs.org",
|
6
|
+
"access": "public"
|
7
|
+
},
|
4
8
|
"license": "MIT",
|
5
9
|
"peerDependencies": {
|
6
|
-
"@angular/core": "^
|
7
|
-
"@angular/common": "^
|
8
|
-
"@angular/forms": "^
|
9
|
-
"@angular/platform-browser": "^
|
10
|
-
"ng-zorro-antd": "^
|
10
|
+
"@angular/core": "^14.1.0",
|
11
|
+
"@angular/common": "^14.1.0",
|
12
|
+
"@angular/forms": "^14.1.0",
|
13
|
+
"@angular/platform-browser": "^14.1.0",
|
14
|
+
"ng-zorro-antd": "^14.0.0",
|
11
15
|
"@ngx-formly/core": ">=6.0.0",
|
12
16
|
"rxjs": ">=7.0.1"
|
13
17
|
},
|
@@ -19,13 +23,13 @@
|
|
19
23
|
"esm2020": "esm2020/ngx-formly-zorro-antd.mjs",
|
20
24
|
"fesm2020": "fesm2020/ngx-formly-zorro-antd.mjs",
|
21
25
|
"fesm2015": "fesm2015/ngx-formly-zorro-antd.mjs",
|
22
|
-
"typings": "
|
26
|
+
"typings": "index.d.ts",
|
23
27
|
"exports": {
|
24
28
|
"./package.json": {
|
25
29
|
"default": "./package.json"
|
26
30
|
},
|
27
31
|
".": {
|
28
|
-
"types": "./
|
32
|
+
"types": "./index.d.ts",
|
29
33
|
"esm2020": "./esm2020/ngx-formly-zorro-antd.mjs",
|
30
34
|
"es2020": "./fesm2020/ngx-formly-zorro-antd.mjs",
|
31
35
|
"es2015": "./fesm2015/ngx-formly-zorro-antd.mjs",
|
@@ -33,7 +37,7 @@
|
|
33
37
|
"default": "./fesm2020/ngx-formly-zorro-antd.mjs"
|
34
38
|
},
|
35
39
|
"./autocomplete": {
|
36
|
-
"types": "./autocomplete/
|
40
|
+
"types": "./autocomplete/index.d.ts",
|
37
41
|
"esm2020": "./esm2020/autocomplete/ngx-formly-zorro-antd-autocomplete.mjs",
|
38
42
|
"es2020": "./fesm2020/ngx-formly-zorro-antd-autocomplete.mjs",
|
39
43
|
"es2015": "./fesm2015/ngx-formly-zorro-antd-autocomplete.mjs",
|
@@ -41,7 +45,7 @@
|
|
41
45
|
"default": "./fesm2020/ngx-formly-zorro-antd-autocomplete.mjs"
|
42
46
|
},
|
43
47
|
"./button": {
|
44
|
-
"types": "./button/
|
48
|
+
"types": "./button/index.d.ts",
|
45
49
|
"esm2020": "./esm2020/button/ngx-formly-zorro-antd-button.mjs",
|
46
50
|
"es2020": "./fesm2020/ngx-formly-zorro-antd-button.mjs",
|
47
51
|
"es2015": "./fesm2015/ngx-formly-zorro-antd-button.mjs",
|
@@ -49,7 +53,7 @@
|
|
49
53
|
"default": "./fesm2020/ngx-formly-zorro-antd-button.mjs"
|
50
54
|
},
|
51
55
|
"./card": {
|
52
|
-
"types": "./card/
|
56
|
+
"types": "./card/index.d.ts",
|
53
57
|
"esm2020": "./esm2020/card/ngx-formly-zorro-antd-card.mjs",
|
54
58
|
"es2020": "./fesm2020/ngx-formly-zorro-antd-card.mjs",
|
55
59
|
"es2015": "./fesm2015/ngx-formly-zorro-antd-card.mjs",
|
@@ -57,7 +61,7 @@
|
|
57
61
|
"default": "./fesm2020/ngx-formly-zorro-antd-card.mjs"
|
58
62
|
},
|
59
63
|
"./cascader": {
|
60
|
-
"types": "./cascader/
|
64
|
+
"types": "./cascader/index.d.ts",
|
61
65
|
"esm2020": "./esm2020/cascader/ngx-formly-zorro-antd-cascader.mjs",
|
62
66
|
"es2020": "./fesm2020/ngx-formly-zorro-antd-cascader.mjs",
|
63
67
|
"es2015": "./fesm2015/ngx-formly-zorro-antd-cascader.mjs",
|
@@ -65,7 +69,7 @@
|
|
65
69
|
"default": "./fesm2020/ngx-formly-zorro-antd-cascader.mjs"
|
66
70
|
},
|
67
71
|
"./checkbox": {
|
68
|
-
"types": "./checkbox/
|
72
|
+
"types": "./checkbox/index.d.ts",
|
69
73
|
"esm2020": "./esm2020/checkbox/ngx-formly-zorro-antd-checkbox.mjs",
|
70
74
|
"es2020": "./fesm2020/ngx-formly-zorro-antd-checkbox.mjs",
|
71
75
|
"es2015": "./fesm2015/ngx-formly-zorro-antd-checkbox.mjs",
|
@@ -73,7 +77,7 @@
|
|
73
77
|
"default": "./fesm2020/ngx-formly-zorro-antd-checkbox.mjs"
|
74
78
|
},
|
75
79
|
"./datepicker": {
|
76
|
-
"types": "./datepicker/
|
80
|
+
"types": "./datepicker/index.d.ts",
|
77
81
|
"esm2020": "./esm2020/datepicker/ngx-formly-zorro-antd-datepicker.mjs",
|
78
82
|
"es2020": "./fesm2020/ngx-formly-zorro-antd-datepicker.mjs",
|
79
83
|
"es2015": "./fesm2015/ngx-formly-zorro-antd-datepicker.mjs",
|
@@ -81,7 +85,7 @@
|
|
81
85
|
"default": "./fesm2020/ngx-formly-zorro-antd-datepicker.mjs"
|
82
86
|
},
|
83
87
|
"./form-field": {
|
84
|
-
"types": "./form-field/
|
88
|
+
"types": "./form-field/index.d.ts",
|
85
89
|
"esm2020": "./esm2020/form-field/ngx-formly-zorro-antd-form-field.mjs",
|
86
90
|
"es2020": "./fesm2020/ngx-formly-zorro-antd-form-field.mjs",
|
87
91
|
"es2015": "./fesm2015/ngx-formly-zorro-antd-form-field.mjs",
|
@@ -89,7 +93,7 @@
|
|
89
93
|
"default": "./fesm2020/ngx-formly-zorro-antd-form-field.mjs"
|
90
94
|
},
|
91
95
|
"./grid": {
|
92
|
-
"types": "./grid/
|
96
|
+
"types": "./grid/index.d.ts",
|
93
97
|
"esm2020": "./esm2020/grid/ngx-formly-zorro-antd-grid.mjs",
|
94
98
|
"es2020": "./fesm2020/ngx-formly-zorro-antd-grid.mjs",
|
95
99
|
"es2015": "./fesm2015/ngx-formly-zorro-antd-grid.mjs",
|
@@ -97,7 +101,7 @@
|
|
97
101
|
"default": "./fesm2020/ngx-formly-zorro-antd-grid.mjs"
|
98
102
|
},
|
99
103
|
"./input-group": {
|
100
|
-
"types": "./input-group/
|
104
|
+
"types": "./input-group/index.d.ts",
|
101
105
|
"esm2020": "./esm2020/input-group/ngx-formly-zorro-antd-input-group.mjs",
|
102
106
|
"es2020": "./fesm2020/ngx-formly-zorro-antd-input-group.mjs",
|
103
107
|
"es2015": "./fesm2015/ngx-formly-zorro-antd-input-group.mjs",
|
@@ -105,7 +109,7 @@
|
|
105
109
|
"default": "./fesm2020/ngx-formly-zorro-antd-input-group.mjs"
|
106
110
|
},
|
107
111
|
"./input-number": {
|
108
|
-
"types": "./input-number/
|
112
|
+
"types": "./input-number/index.d.ts",
|
109
113
|
"esm2020": "./esm2020/input-number/ngx-formly-zorro-antd-input-number.mjs",
|
110
114
|
"es2020": "./fesm2020/ngx-formly-zorro-antd-input-number.mjs",
|
111
115
|
"es2015": "./fesm2015/ngx-formly-zorro-antd-input-number.mjs",
|
@@ -113,7 +117,7 @@
|
|
113
117
|
"default": "./fesm2020/ngx-formly-zorro-antd-input-number.mjs"
|
114
118
|
},
|
115
119
|
"./input": {
|
116
|
-
"types": "./input/
|
120
|
+
"types": "./input/index.d.ts",
|
117
121
|
"esm2020": "./esm2020/input/ngx-formly-zorro-antd-input.mjs",
|
118
122
|
"es2020": "./fesm2020/ngx-formly-zorro-antd-input.mjs",
|
119
123
|
"es2015": "./fesm2015/ngx-formly-zorro-antd-input.mjs",
|
@@ -121,7 +125,7 @@
|
|
121
125
|
"default": "./fesm2020/ngx-formly-zorro-antd-input.mjs"
|
122
126
|
},
|
123
127
|
"./radio": {
|
124
|
-
"types": "./radio/
|
128
|
+
"types": "./radio/index.d.ts",
|
125
129
|
"esm2020": "./esm2020/radio/ngx-formly-zorro-antd-radio.mjs",
|
126
130
|
"es2020": "./fesm2020/ngx-formly-zorro-antd-radio.mjs",
|
127
131
|
"es2015": "./fesm2015/ngx-formly-zorro-antd-radio.mjs",
|
@@ -129,7 +133,7 @@
|
|
129
133
|
"default": "./fesm2020/ngx-formly-zorro-antd-radio.mjs"
|
130
134
|
},
|
131
135
|
"./rate": {
|
132
|
-
"types": "./rate/
|
136
|
+
"types": "./rate/index.d.ts",
|
133
137
|
"esm2020": "./esm2020/rate/ngx-formly-zorro-antd-rate.mjs",
|
134
138
|
"es2020": "./fesm2020/ngx-formly-zorro-antd-rate.mjs",
|
135
139
|
"es2015": "./fesm2015/ngx-formly-zorro-antd-rate.mjs",
|
@@ -137,7 +141,7 @@
|
|
137
141
|
"default": "./fesm2020/ngx-formly-zorro-antd-rate.mjs"
|
138
142
|
},
|
139
143
|
"./select": {
|
140
|
-
"types": "./select/
|
144
|
+
"types": "./select/index.d.ts",
|
141
145
|
"esm2020": "./esm2020/select/ngx-formly-zorro-antd-select.mjs",
|
142
146
|
"es2020": "./fesm2020/ngx-formly-zorro-antd-select.mjs",
|
143
147
|
"es2015": "./fesm2015/ngx-formly-zorro-antd-select.mjs",
|
@@ -145,7 +149,7 @@
|
|
145
149
|
"default": "./fesm2020/ngx-formly-zorro-antd-select.mjs"
|
146
150
|
},
|
147
151
|
"./slider": {
|
148
|
-
"types": "./slider/
|
152
|
+
"types": "./slider/index.d.ts",
|
149
153
|
"esm2020": "./esm2020/slider/ngx-formly-zorro-antd-slider.mjs",
|
150
154
|
"es2020": "./fesm2020/ngx-formly-zorro-antd-slider.mjs",
|
151
155
|
"es2015": "./fesm2015/ngx-formly-zorro-antd-slider.mjs",
|
@@ -153,7 +157,7 @@
|
|
153
157
|
"default": "./fesm2020/ngx-formly-zorro-antd-slider.mjs"
|
154
158
|
},
|
155
159
|
"./switch": {
|
156
|
-
"types": "./switch/
|
160
|
+
"types": "./switch/index.d.ts",
|
157
161
|
"esm2020": "./esm2020/switch/ngx-formly-zorro-antd-switch.mjs",
|
158
162
|
"es2020": "./fesm2020/ngx-formly-zorro-antd-switch.mjs",
|
159
163
|
"es2015": "./fesm2015/ngx-formly-zorro-antd-switch.mjs",
|
@@ -161,7 +165,7 @@
|
|
161
165
|
"default": "./fesm2020/ngx-formly-zorro-antd-switch.mjs"
|
162
166
|
},
|
163
167
|
"./tabs": {
|
164
|
-
"types": "./tabs/
|
168
|
+
"types": "./tabs/index.d.ts",
|
165
169
|
"esm2020": "./esm2020/tabs/ngx-formly-zorro-antd-tabs.mjs",
|
166
170
|
"es2020": "./fesm2020/ngx-formly-zorro-antd-tabs.mjs",
|
167
171
|
"es2015": "./fesm2015/ngx-formly-zorro-antd-tabs.mjs",
|
@@ -169,7 +173,7 @@
|
|
169
173
|
"default": "./fesm2020/ngx-formly-zorro-antd-tabs.mjs"
|
170
174
|
},
|
171
175
|
"./textarea": {
|
172
|
-
"types": "./textarea/
|
176
|
+
"types": "./textarea/index.d.ts",
|
173
177
|
"esm2020": "./esm2020/textarea/ngx-formly-zorro-antd-textarea.mjs",
|
174
178
|
"es2020": "./fesm2020/ngx-formly-zorro-antd-textarea.mjs",
|
175
179
|
"es2015": "./fesm2015/ngx-formly-zorro-antd-textarea.mjs",
|
@@ -177,7 +181,7 @@
|
|
177
181
|
"default": "./fesm2020/ngx-formly-zorro-antd-textarea.mjs"
|
178
182
|
},
|
179
183
|
"./timepicker": {
|
180
|
-
"types": "./timepicker/
|
184
|
+
"types": "./timepicker/index.d.ts",
|
181
185
|
"esm2020": "./esm2020/timepicker/ngx-formly-zorro-antd-timepicker.mjs",
|
182
186
|
"es2020": "./fesm2020/ngx-formly-zorro-antd-timepicker.mjs",
|
183
187
|
"es2015": "./fesm2015/ngx-formly-zorro-antd-timepicker.mjs",
|
@@ -185,7 +189,7 @@
|
|
185
189
|
"default": "./fesm2020/ngx-formly-zorro-antd-timepicker.mjs"
|
186
190
|
},
|
187
191
|
"./transfer": {
|
188
|
-
"types": "./transfer/
|
192
|
+
"types": "./transfer/index.d.ts",
|
189
193
|
"esm2020": "./esm2020/transfer/ngx-formly-zorro-antd-transfer.mjs",
|
190
194
|
"es2020": "./fesm2020/ngx-formly-zorro-antd-transfer.mjs",
|
191
195
|
"es2015": "./fesm2015/ngx-formly-zorro-antd-transfer.mjs",
|
@@ -193,7 +197,7 @@
|
|
193
197
|
"default": "./fesm2020/ngx-formly-zorro-antd-transfer.mjs"
|
194
198
|
},
|
195
199
|
"./tree-select": {
|
196
|
-
"types": "./tree-select/
|
200
|
+
"types": "./tree-select/index.d.ts",
|
197
201
|
"esm2020": "./esm2020/tree-select/ngx-formly-zorro-antd-tree-select.mjs",
|
198
202
|
"es2020": "./fesm2020/ngx-formly-zorro-antd-tree-select.mjs",
|
199
203
|
"es2015": "./fesm2015/ngx-formly-zorro-antd-tree-select.mjs",
|
@@ -201,7 +205,7 @@
|
|
201
205
|
"default": "./fesm2020/ngx-formly-zorro-antd-tree-select.mjs"
|
202
206
|
},
|
203
207
|
"./upload": {
|
204
|
-
"types": "./upload/
|
208
|
+
"types": "./upload/index.d.ts",
|
205
209
|
"esm2020": "./esm2020/upload/ngx-formly-zorro-antd-upload.mjs",
|
206
210
|
"es2020": "./fesm2020/ngx-formly-zorro-antd-upload.mjs",
|
207
211
|
"es2015": "./fesm2015/ngx-formly-zorro-antd-upload.mjs",
|
@@ -1,5 +1,5 @@
|
|
1
|
-
/**
|
2
|
-
* Generated bundle index. Do not edit.
|
3
|
-
*/
|
4
|
-
/// <amd-module name="ngx-formly-zorro-antd/radio" />
|
5
|
-
export * from './public_api';
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
/// <amd-module name="ngx-formly-zorro-antd/radio" />
|
5
|
+
export * from './public_api';
|
package/radio/public_api.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
export { FormlyNzRadioModule } from './radio.module';
|
2
|
-
export { FormlyFieldRadio, FormlyRadioFieldConfig } from './radio.type';
|
1
|
+
export { FormlyNzRadioModule } from './radio.module';
|
2
|
+
export { FormlyFieldRadio, FormlyRadioFieldConfig } from './radio.type';
|
package/radio/radio.module.d.ts
CHANGED
@@ -1,14 +1,14 @@
|
|
1
|
-
import * as i0 from "@angular/core";
|
2
|
-
import * as i1 from "./radio.type";
|
3
|
-
import * as i2 from "@angular/common";
|
4
|
-
import * as i3 from "@angular/forms";
|
5
|
-
import * as i4 from "ngx-formly-zorro-antd/form-field";
|
6
|
-
import * as i5 from "@ngx-formly/core/select";
|
7
|
-
import * as i6 from "ng-zorro-antd/form";
|
8
|
-
import * as i7 from "ng-zorro-antd/radio";
|
9
|
-
import * as i8 from "@ngx-formly/core";
|
10
|
-
export declare class FormlyNzRadioModule {
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNzRadioModule, never>;
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNzRadioModule, [typeof i1.FormlyFieldRadio], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyNzFormFieldModule, typeof i5.FormlySelectModule, typeof i6.NzFormModule, typeof i7.NzRadioModule, typeof i8.FormlyModule], never>;
|
13
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNzRadioModule>;
|
14
|
-
}
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./radio.type";
|
3
|
+
import * as i2 from "@angular/common";
|
4
|
+
import * as i3 from "@angular/forms";
|
5
|
+
import * as i4 from "ngx-formly-zorro-antd/form-field";
|
6
|
+
import * as i5 from "@ngx-formly/core/select";
|
7
|
+
import * as i6 from "ng-zorro-antd/form";
|
8
|
+
import * as i7 from "ng-zorro-antd/radio";
|
9
|
+
import * as i8 from "@ngx-formly/core";
|
10
|
+
export declare class FormlyNzRadioModule {
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNzRadioModule, never>;
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNzRadioModule, [typeof i1.FormlyFieldRadio], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyNzFormFieldModule, typeof i5.FormlySelectModule, typeof i6.NzFormModule, typeof i7.NzRadioModule, typeof i8.FormlyModule], never>;
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNzRadioModule>;
|
14
|
+
}
|
package/radio/radio.type.d.ts
CHANGED
@@ -1,38 +1,38 @@
|
|
1
|
-
import { Type } from '@angular/core';
|
2
|
-
import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
|
3
|
-
import type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';
|
4
|
-
import type { FormlyFieldSelectProps } from '@ngx-formly/core/select';
|
5
|
-
import type { NzSizeLDSType } from 'ng-zorro-antd/core/types';
|
6
|
-
import type { NzRadioButtonStyle } from 'ng-zorro-antd/radio';
|
7
|
-
import * as i0 from "@angular/core";
|
8
|
-
interface RadioProps extends FormlyFieldProps, FormlyFieldSelectProps {
|
9
|
-
type?: 'button';
|
10
|
-
/**
|
11
|
-
* nz-radio-group 下所有 input[type="radio"] 的 name 属性
|
12
|
-
*/
|
13
|
-
name?: string | null;
|
14
|
-
/**
|
15
|
-
* 大小,只对按钮样式生效
|
16
|
-
* @default default
|
17
|
-
*/
|
18
|
-
size?: NzSizeLDSType;
|
19
|
-
/**
|
20
|
-
* RadioButton 的风格样式,目前有描边和填色两种风格
|
21
|
-
* @default outline
|
22
|
-
*/
|
23
|
-
buttonStyle?: NzRadioButtonStyle;
|
24
|
-
}
|
25
|
-
export interface FormlyRadioFieldConfig extends FormlyFieldConfig<RadioProps> {
|
26
|
-
type: 'radio' | Type<FormlyFieldRadio>;
|
27
|
-
}
|
28
|
-
export declare class FormlyFieldRadio extends FieldType<FieldTypeConfig<RadioProps>> {
|
29
|
-
defaultOptions: {
|
30
|
-
props: {
|
31
|
-
size: "default";
|
32
|
-
buttonStyle: "outline";
|
33
|
-
};
|
34
|
-
};
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldRadio, never>;
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldRadio, "formly-field-radio", never, {}, {}, never, never>;
|
37
|
-
}
|
38
|
-
export {};
|
1
|
+
import { Type } from '@angular/core';
|
2
|
+
import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
|
3
|
+
import type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';
|
4
|
+
import type { FormlyFieldSelectProps } from '@ngx-formly/core/select';
|
5
|
+
import type { NzSizeLDSType } from 'ng-zorro-antd/core/types';
|
6
|
+
import type { NzRadioButtonStyle } from 'ng-zorro-antd/radio';
|
7
|
+
import * as i0 from "@angular/core";
|
8
|
+
interface RadioProps extends FormlyFieldProps, FormlyFieldSelectProps {
|
9
|
+
type?: 'button';
|
10
|
+
/**
|
11
|
+
* nz-radio-group 下所有 input[type="radio"] 的 name 属性
|
12
|
+
*/
|
13
|
+
name?: string | null;
|
14
|
+
/**
|
15
|
+
* 大小,只对按钮样式生效
|
16
|
+
* @default default
|
17
|
+
*/
|
18
|
+
size?: NzSizeLDSType;
|
19
|
+
/**
|
20
|
+
* RadioButton 的风格样式,目前有描边和填色两种风格
|
21
|
+
* @default outline
|
22
|
+
*/
|
23
|
+
buttonStyle?: NzRadioButtonStyle;
|
24
|
+
}
|
25
|
+
export interface FormlyRadioFieldConfig extends FormlyFieldConfig<RadioProps> {
|
26
|
+
type: 'radio' | Type<FormlyFieldRadio>;
|
27
|
+
}
|
28
|
+
export declare class FormlyFieldRadio extends FieldType<FieldTypeConfig<RadioProps>> {
|
29
|
+
defaultOptions: {
|
30
|
+
props: {
|
31
|
+
size: "default";
|
32
|
+
buttonStyle: "outline";
|
33
|
+
};
|
34
|
+
};
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldRadio, never>;
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldRadio, "formly-field-radio", never, {}, {}, never, never, false>;
|
37
|
+
}
|
38
|
+
export {};
|