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,175 +1,173 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
2
|
import { Component, NgModule } from '@angular/core';
|
3
|
-
import * as
|
3
|
+
import * as i1 from '@angular/common';
|
4
4
|
import { CommonModule } from '@angular/common';
|
5
|
-
import * as
|
5
|
+
import * as i4 from '@ngx-formly/core';
|
6
6
|
import { FieldWrapper, FormlyModule } from '@ngx-formly/core';
|
7
7
|
import { ReactiveFormsModule } from '@angular/forms';
|
8
|
-
import * as
|
8
|
+
import * as i3 from 'ng-zorro-antd/form';
|
9
9
|
import { NzFormModule } from 'ng-zorro-antd/form';
|
10
|
-
import * as
|
10
|
+
import * as i2 from 'ng-zorro-antd/grid';
|
11
11
|
|
12
|
-
class FormlyWrapperFormField extends FieldWrapper {
|
13
|
-
get errorState() {
|
14
|
-
return this.showError ? 'error' : 'success';
|
15
|
-
}
|
16
|
-
}
|
17
|
-
FormlyWrapperFormField.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
18
|
-
FormlyWrapperFormField.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
19
|
-
<nz-form-item [ngClass]="props.itemClass!">
|
20
|
-
<ng-container *ngIf="props.label && props['hideLabel'] !== true">
|
21
|
-
<nz-form-label
|
22
|
-
[nzFlex]="props['grid']?.labelFlex ?? null"
|
23
|
-
[nzOffset]="props['grid']?.labelOffset ?? null"
|
24
|
-
[nzOrder]="props['grid']?.labelOrder ?? null"
|
25
|
-
[nzPull]="props['grid']?.labelPull ?? null"
|
26
|
-
[nzPush]="props['grid']?.labelPush ?? null"
|
27
|
-
[nzSpan]="props['grid']?.labelSpan ?? null"
|
28
|
-
[nzXs]="props['grid']?.labelXs ?? null"
|
29
|
-
[nzSm]="props['grid']?.labelSm ?? null"
|
30
|
-
[nzMd]="props['grid']?.labelMd ?? null"
|
31
|
-
[nzLg]="props['grid']?.labelLg ?? null"
|
32
|
-
[nzXl]="props['grid']?.labelXl ?? null"
|
33
|
-
[nzXXl]="props['grid']?.labelXXl ?? null"
|
34
|
-
[ngClass]="props.labelClass!"
|
35
|
-
[nzRequired]="props.required && props['hideRequiredMarker'] !== true"
|
36
|
-
[nzFor]="id"
|
37
|
-
[nzNoColon]="props['noColon']!!"
|
38
|
-
[nzTooltipTitle]="props['tooltipTitle']"
|
39
|
-
[nzTooltipIcon]="props['tooltipIcon']!"
|
40
|
-
>
|
41
|
-
<span class="formly-label-text">
|
42
|
-
{{ props.label }}
|
43
|
-
</span>
|
44
|
-
</nz-form-label>
|
45
|
-
</ng-container>
|
46
|
-
<nz-form-control
|
47
|
-
[nzValidateStatus]="errorState"
|
48
|
-
[nzHasFeedback]="props['hasFeedback']!!"
|
49
|
-
[nzExtra]="props['controlExtra']"
|
50
|
-
[nzErrorTip]="errorTpl"
|
51
|
-
[ngClass]="props.controlClass!"
|
52
|
-
[nzFlex]="props['grid']?.controlFlex ?? null"
|
53
|
-
[nzOffset]="props['grid']?.controlOffset ?? null"
|
54
|
-
[nzOrder]="props['grid']?.controlOrder ?? null"
|
55
|
-
[nzPull]="props['grid']?.controlPull ?? null"
|
56
|
-
[nzPush]="props['grid']?.controlPush ?? null"
|
57
|
-
[nzSpan]="props['grid']?.controlSpan ?? null"
|
58
|
-
[nzXs]="props['grid']?.controlXs ?? null"
|
59
|
-
[nzSm]="props['grid']?.controlSm ?? null"
|
60
|
-
[nzMd]="props['grid']?.controlMd ?? null"
|
61
|
-
[nzLg]="props['grid']?.controlLg ?? null"
|
62
|
-
[nzXl]="props['grid']?.controlXl ?? null"
|
63
|
-
[nzXXl]="props['grid']?.controlXXl ?? null"
|
64
|
-
>
|
65
|
-
<ng-container #fieldComponent></ng-container>
|
66
|
-
|
67
|
-
<ng-template #errorTpl let-control>
|
68
|
-
<formly-validation-message [field]="field"></formly-validation-message>
|
69
|
-
</ng-template>
|
70
|
-
</nz-form-control>
|
71
|
-
</nz-form-item>
|
72
|
-
`, isInline: true, styles: [":host .formly-label-text{overflow:hidden;text-overflow:ellipsis}\n"],
|
73
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
74
|
-
type: Component,
|
75
|
-
args: [{ selector: 'formly-wrapper-nz-form-field', template: `
|
76
|
-
<nz-form-item [ngClass]="props.itemClass!">
|
77
|
-
<ng-container *ngIf="props.label && props['hideLabel'] !== true">
|
78
|
-
<nz-form-label
|
79
|
-
[nzFlex]="props['grid']?.labelFlex ?? null"
|
80
|
-
[nzOffset]="props['grid']?.labelOffset ?? null"
|
81
|
-
[nzOrder]="props['grid']?.labelOrder ?? null"
|
82
|
-
[nzPull]="props['grid']?.labelPull ?? null"
|
83
|
-
[nzPush]="props['grid']?.labelPush ?? null"
|
84
|
-
[nzSpan]="props['grid']?.labelSpan ?? null"
|
85
|
-
[nzXs]="props['grid']?.labelXs ?? null"
|
86
|
-
[nzSm]="props['grid']?.labelSm ?? null"
|
87
|
-
[nzMd]="props['grid']?.labelMd ?? null"
|
88
|
-
[nzLg]="props['grid']?.labelLg ?? null"
|
89
|
-
[nzXl]="props['grid']?.labelXl ?? null"
|
90
|
-
[nzXXl]="props['grid']?.labelXXl ?? null"
|
91
|
-
[ngClass]="props.labelClass!"
|
92
|
-
[nzRequired]="props.required && props['hideRequiredMarker'] !== true"
|
93
|
-
[nzFor]="id"
|
94
|
-
[nzNoColon]="props['noColon']!!"
|
95
|
-
[nzTooltipTitle]="props['tooltipTitle']"
|
96
|
-
[nzTooltipIcon]="props['tooltipIcon']!"
|
97
|
-
>
|
98
|
-
<span class="formly-label-text">
|
99
|
-
{{ props.label }}
|
100
|
-
</span>
|
101
|
-
</nz-form-label>
|
102
|
-
</ng-container>
|
103
|
-
<nz-form-control
|
104
|
-
[nzValidateStatus]="errorState"
|
105
|
-
[nzHasFeedback]="props['hasFeedback']!!"
|
106
|
-
[nzExtra]="props['controlExtra']"
|
107
|
-
[nzErrorTip]="errorTpl"
|
108
|
-
[ngClass]="props.controlClass!"
|
109
|
-
[nzFlex]="props['grid']?.controlFlex ?? null"
|
110
|
-
[nzOffset]="props['grid']?.controlOffset ?? null"
|
111
|
-
[nzOrder]="props['grid']?.controlOrder ?? null"
|
112
|
-
[nzPull]="props['grid']?.controlPull ?? null"
|
113
|
-
[nzPush]="props['grid']?.controlPush ?? null"
|
114
|
-
[nzSpan]="props['grid']?.controlSpan ?? null"
|
115
|
-
[nzXs]="props['grid']?.controlXs ?? null"
|
116
|
-
[nzSm]="props['grid']?.controlSm ?? null"
|
117
|
-
[nzMd]="props['grid']?.controlMd ?? null"
|
118
|
-
[nzLg]="props['grid']?.controlLg ?? null"
|
119
|
-
[nzXl]="props['grid']?.controlXl ?? null"
|
120
|
-
[nzXXl]="props['grid']?.controlXXl ?? null"
|
121
|
-
>
|
122
|
-
<ng-container #fieldComponent></ng-container>
|
123
|
-
|
124
|
-
<ng-template #errorTpl let-control>
|
125
|
-
<formly-validation-message [field]="field"></formly-validation-message>
|
126
|
-
</ng-template>
|
127
|
-
</nz-form-control>
|
128
|
-
</nz-form-item>
|
129
|
-
`, styles: [":host .formly-label-text{overflow:hidden;text-overflow:ellipsis}\n"] }]
|
12
|
+
class FormlyWrapperFormField extends FieldWrapper {
|
13
|
+
get errorState() {
|
14
|
+
return this.showError ? 'error' : 'success';
|
15
|
+
}
|
16
|
+
}
|
17
|
+
FormlyWrapperFormField.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyWrapperFormField, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
18
|
+
FormlyWrapperFormField.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyWrapperFormField, selector: "formly-wrapper-nz-form-field", usesInheritance: true, ngImport: i0, template: `
|
19
|
+
<nz-form-item [ngClass]="props.itemClass!">
|
20
|
+
<ng-container *ngIf="props.label && props['hideLabel'] !== true">
|
21
|
+
<nz-form-label
|
22
|
+
[nzFlex]="props['grid']?.labelFlex ?? null"
|
23
|
+
[nzOffset]="props['grid']?.labelOffset ?? null"
|
24
|
+
[nzOrder]="props['grid']?.labelOrder ?? null"
|
25
|
+
[nzPull]="props['grid']?.labelPull ?? null"
|
26
|
+
[nzPush]="props['grid']?.labelPush ?? null"
|
27
|
+
[nzSpan]="props['grid']?.labelSpan ?? null"
|
28
|
+
[nzXs]="props['grid']?.labelXs ?? null"
|
29
|
+
[nzSm]="props['grid']?.labelSm ?? null"
|
30
|
+
[nzMd]="props['grid']?.labelMd ?? null"
|
31
|
+
[nzLg]="props['grid']?.labelLg ?? null"
|
32
|
+
[nzXl]="props['grid']?.labelXl ?? null"
|
33
|
+
[nzXXl]="props['grid']?.labelXXl ?? null"
|
34
|
+
[ngClass]="props.labelClass!"
|
35
|
+
[nzRequired]="props.required && props['hideRequiredMarker'] !== true"
|
36
|
+
[nzFor]="id"
|
37
|
+
[nzNoColon]="props['noColon']!!"
|
38
|
+
[nzTooltipTitle]="props['tooltipTitle']"
|
39
|
+
[nzTooltipIcon]="props['tooltipIcon']!"
|
40
|
+
>
|
41
|
+
<span class="formly-label-text">
|
42
|
+
{{ props.label }}
|
43
|
+
</span>
|
44
|
+
</nz-form-label>
|
45
|
+
</ng-container>
|
46
|
+
<nz-form-control
|
47
|
+
[nzValidateStatus]="errorState"
|
48
|
+
[nzHasFeedback]="props['hasFeedback']!!"
|
49
|
+
[nzExtra]="props['controlExtra']"
|
50
|
+
[nzErrorTip]="errorTpl"
|
51
|
+
[ngClass]="props.controlClass!"
|
52
|
+
[nzFlex]="props['grid']?.controlFlex ?? null"
|
53
|
+
[nzOffset]="props['grid']?.controlOffset ?? null"
|
54
|
+
[nzOrder]="props['grid']?.controlOrder ?? null"
|
55
|
+
[nzPull]="props['grid']?.controlPull ?? null"
|
56
|
+
[nzPush]="props['grid']?.controlPush ?? null"
|
57
|
+
[nzSpan]="props['grid']?.controlSpan ?? null"
|
58
|
+
[nzXs]="props['grid']?.controlXs ?? null"
|
59
|
+
[nzSm]="props['grid']?.controlSm ?? null"
|
60
|
+
[nzMd]="props['grid']?.controlMd ?? null"
|
61
|
+
[nzLg]="props['grid']?.controlLg ?? null"
|
62
|
+
[nzXl]="props['grid']?.controlXl ?? null"
|
63
|
+
[nzXXl]="props['grid']?.controlXXl ?? null"
|
64
|
+
>
|
65
|
+
<ng-container #fieldComponent></ng-container>
|
66
|
+
|
67
|
+
<ng-template #errorTpl let-control>
|
68
|
+
<formly-validation-message [field]="field"></formly-validation-message>
|
69
|
+
</ng-template>
|
70
|
+
</nz-form-control>
|
71
|
+
</nz-form-item>
|
72
|
+
`, isInline: true, styles: [":host .formly-label-text{overflow:hidden;text-overflow:ellipsis}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "component", type: i3.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i3.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i3.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "component", type: i4.ɵFormlyValidationMessage, selector: "formly-validation-message", inputs: ["field"] }] });
|
73
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyWrapperFormField, decorators: [{
|
74
|
+
type: Component,
|
75
|
+
args: [{ selector: 'formly-wrapper-nz-form-field', template: `
|
76
|
+
<nz-form-item [ngClass]="props.itemClass!">
|
77
|
+
<ng-container *ngIf="props.label && props['hideLabel'] !== true">
|
78
|
+
<nz-form-label
|
79
|
+
[nzFlex]="props['grid']?.labelFlex ?? null"
|
80
|
+
[nzOffset]="props['grid']?.labelOffset ?? null"
|
81
|
+
[nzOrder]="props['grid']?.labelOrder ?? null"
|
82
|
+
[nzPull]="props['grid']?.labelPull ?? null"
|
83
|
+
[nzPush]="props['grid']?.labelPush ?? null"
|
84
|
+
[nzSpan]="props['grid']?.labelSpan ?? null"
|
85
|
+
[nzXs]="props['grid']?.labelXs ?? null"
|
86
|
+
[nzSm]="props['grid']?.labelSm ?? null"
|
87
|
+
[nzMd]="props['grid']?.labelMd ?? null"
|
88
|
+
[nzLg]="props['grid']?.labelLg ?? null"
|
89
|
+
[nzXl]="props['grid']?.labelXl ?? null"
|
90
|
+
[nzXXl]="props['grid']?.labelXXl ?? null"
|
91
|
+
[ngClass]="props.labelClass!"
|
92
|
+
[nzRequired]="props.required && props['hideRequiredMarker'] !== true"
|
93
|
+
[nzFor]="id"
|
94
|
+
[nzNoColon]="props['noColon']!!"
|
95
|
+
[nzTooltipTitle]="props['tooltipTitle']"
|
96
|
+
[nzTooltipIcon]="props['tooltipIcon']!"
|
97
|
+
>
|
98
|
+
<span class="formly-label-text">
|
99
|
+
{{ props.label }}
|
100
|
+
</span>
|
101
|
+
</nz-form-label>
|
102
|
+
</ng-container>
|
103
|
+
<nz-form-control
|
104
|
+
[nzValidateStatus]="errorState"
|
105
|
+
[nzHasFeedback]="props['hasFeedback']!!"
|
106
|
+
[nzExtra]="props['controlExtra']"
|
107
|
+
[nzErrorTip]="errorTpl"
|
108
|
+
[ngClass]="props.controlClass!"
|
109
|
+
[nzFlex]="props['grid']?.controlFlex ?? null"
|
110
|
+
[nzOffset]="props['grid']?.controlOffset ?? null"
|
111
|
+
[nzOrder]="props['grid']?.controlOrder ?? null"
|
112
|
+
[nzPull]="props['grid']?.controlPull ?? null"
|
113
|
+
[nzPush]="props['grid']?.controlPush ?? null"
|
114
|
+
[nzSpan]="props['grid']?.controlSpan ?? null"
|
115
|
+
[nzXs]="props['grid']?.controlXs ?? null"
|
116
|
+
[nzSm]="props['grid']?.controlSm ?? null"
|
117
|
+
[nzMd]="props['grid']?.controlMd ?? null"
|
118
|
+
[nzLg]="props['grid']?.controlLg ?? null"
|
119
|
+
[nzXl]="props['grid']?.controlXl ?? null"
|
120
|
+
[nzXXl]="props['grid']?.controlXXl ?? null"
|
121
|
+
>
|
122
|
+
<ng-container #fieldComponent></ng-container>
|
123
|
+
|
124
|
+
<ng-template #errorTpl let-control>
|
125
|
+
<formly-validation-message [field]="field"></formly-validation-message>
|
126
|
+
</ng-template>
|
127
|
+
</nz-form-control>
|
128
|
+
</nz-form-item>
|
129
|
+
`, styles: [":host .formly-label-text{overflow:hidden;text-overflow:ellipsis}\n"] }]
|
130
130
|
}] });
|
131
131
|
|
132
|
-
class FormlyNzFormFieldModule {
|
133
|
-
}
|
134
|
-
FormlyNzFormFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
135
|
-
FormlyNzFormFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
136
|
-
ReactiveFormsModule,
|
137
|
-
NzFormModule,
|
138
|
-
FormlyNzFormFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
]
|
168
|
-
}]
|
132
|
+
class FormlyNzFormFieldModule {
|
133
|
+
}
|
134
|
+
FormlyNzFormFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzFormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
135
|
+
FormlyNzFormFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzFormFieldModule, declarations: [FormlyWrapperFormField], imports: [CommonModule,
|
136
|
+
ReactiveFormsModule,
|
137
|
+
NzFormModule, i4.FormlyModule] });
|
138
|
+
FormlyNzFormFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzFormFieldModule, imports: [CommonModule,
|
139
|
+
ReactiveFormsModule,
|
140
|
+
NzFormModule,
|
141
|
+
FormlyModule.forChild({
|
142
|
+
wrappers: [
|
143
|
+
{
|
144
|
+
name: 'form-field',
|
145
|
+
component: FormlyWrapperFormField
|
146
|
+
}
|
147
|
+
]
|
148
|
+
})] });
|
149
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzFormFieldModule, decorators: [{
|
150
|
+
type: NgModule,
|
151
|
+
args: [{
|
152
|
+
declarations: [FormlyWrapperFormField],
|
153
|
+
imports: [
|
154
|
+
CommonModule,
|
155
|
+
ReactiveFormsModule,
|
156
|
+
NzFormModule,
|
157
|
+
FormlyModule.forChild({
|
158
|
+
wrappers: [
|
159
|
+
{
|
160
|
+
name: 'form-field',
|
161
|
+
component: FormlyWrapperFormField
|
162
|
+
}
|
163
|
+
]
|
164
|
+
})
|
165
|
+
]
|
166
|
+
}]
|
169
167
|
}] });
|
170
168
|
|
171
|
-
/**
|
172
|
-
* Generated bundle index. Do not edit.
|
169
|
+
/**
|
170
|
+
* Generated bundle index. Do not edit.
|
173
171
|
*/
|
174
172
|
|
175
173
|
export { FormlyNzFormFieldModule };
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ngx-formly-zorro-antd-form-field.mjs","sources":["../../../../packages/formlyantd/form-field/src/form-field.wrapper.ts","../../../../packages/formlyantd/form-field/src/form-field.module.ts","../../../../packages/formlyantd/form-field/src/ngx-formly-zorro-antd-form-field.ts"],"sourcesContent":["import { Component } from '@angular/core';\
|
1
|
+
{"version":3,"file":"ngx-formly-zorro-antd-form-field.mjs","sources":["../../../../packages/formlyantd/form-field/src/form-field.wrapper.ts","../../../../packages/formlyantd/form-field/src/form-field.module.ts","../../../../packages/formlyantd/form-field/src/ngx-formly-zorro-antd-form-field.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport { FieldWrapper, FormlyFieldConfig } from '@ngx-formly/core';\nimport type { NzFormWrapperProps } from './form-field.props';\n\nexport type FormlyFieldProps = NzFormWrapperProps;\n\n@Component({\n selector: 'formly-wrapper-nz-form-field',\n styleUrls: ['./form-field.wrapper.scss'],\n template: `\n <nz-form-item [ngClass]=\"props.itemClass!\">\n <ng-container *ngIf=\"props.label && props['hideLabel'] !== true\">\n <nz-form-label\n [nzFlex]=\"props['grid']?.labelFlex ?? null\"\n [nzOffset]=\"props['grid']?.labelOffset ?? null\"\n [nzOrder]=\"props['grid']?.labelOrder ?? null\"\n [nzPull]=\"props['grid']?.labelPull ?? null\"\n [nzPush]=\"props['grid']?.labelPush ?? null\"\n [nzSpan]=\"props['grid']?.labelSpan ?? null\"\n [nzXs]=\"props['grid']?.labelXs ?? null\"\n [nzSm]=\"props['grid']?.labelSm ?? null\"\n [nzMd]=\"props['grid']?.labelMd ?? null\"\n [nzLg]=\"props['grid']?.labelLg ?? null\"\n [nzXl]=\"props['grid']?.labelXl ?? null\"\n [nzXXl]=\"props['grid']?.labelXXl ?? null\"\n [ngClass]=\"props.labelClass!\"\n [nzRequired]=\"props.required && props['hideRequiredMarker'] !== true\"\n [nzFor]=\"id\"\n [nzNoColon]=\"props['noColon']!!\"\n [nzTooltipTitle]=\"props['tooltipTitle']\"\n [nzTooltipIcon]=\"props['tooltipIcon']!\"\n >\n <span class=\"formly-label-text\">\n {{ props.label }}\n </span>\n </nz-form-label>\n </ng-container>\n <nz-form-control\n [nzValidateStatus]=\"errorState\"\n [nzHasFeedback]=\"props['hasFeedback']!!\"\n [nzExtra]=\"props['controlExtra']\"\n [nzErrorTip]=\"errorTpl\"\n [ngClass]=\"props.controlClass!\"\n [nzFlex]=\"props['grid']?.controlFlex ?? null\"\n [nzOffset]=\"props['grid']?.controlOffset ?? null\"\n [nzOrder]=\"props['grid']?.controlOrder ?? null\"\n [nzPull]=\"props['grid']?.controlPull ?? null\"\n [nzPush]=\"props['grid']?.controlPush ?? null\"\n [nzSpan]=\"props['grid']?.controlSpan ?? null\"\n [nzXs]=\"props['grid']?.controlXs ?? null\"\n [nzSm]=\"props['grid']?.controlSm ?? null\"\n [nzMd]=\"props['grid']?.controlMd ?? null\"\n [nzLg]=\"props['grid']?.controlLg ?? null\"\n [nzXl]=\"props['grid']?.controlXl ?? null\"\n [nzXXl]=\"props['grid']?.controlXXl ?? null\"\n >\n <ng-container #fieldComponent></ng-container>\n\n <ng-template #errorTpl let-control>\n <formly-validation-message [field]=\"field\"></formly-validation-message>\n </ng-template>\n </nz-form-control>\n </nz-form-item>\n `\n})\nexport class FormlyWrapperFormField extends FieldWrapper<FormlyFieldConfig<FormlyFieldProps>> {\n get errorState() {\n return this.showError ? 'error' : 'success';\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { NzFormModule } from 'ng-zorro-antd/form';\nimport { FormlyWrapperFormField } from './form-field.wrapper';\n\n@NgModule({\n declarations: [FormlyWrapperFormField],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n NzFormModule,\n FormlyModule.forChild({\n wrappers: [\n {\n name: 'form-field',\n component: FormlyWrapperFormField\n }\n ]\n })\n ]\n})\nexport class FormlyNzFormFieldModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":"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"}
|
@@ -1,115 +1,113 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
2
|
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
3
|
-
import * as
|
3
|
+
import * as i1 from '@angular/common';
|
4
4
|
import { CommonModule } from '@angular/common';
|
5
|
-
import * as
|
5
|
+
import * as i3 from '@ngx-formly/core';
|
6
6
|
import { FieldType, FormlyModule } from '@ngx-formly/core';
|
7
7
|
import * as i2 from 'ng-zorro-antd/grid';
|
8
8
|
import { NzGridModule } from 'ng-zorro-antd/grid';
|
9
9
|
|
10
|
-
class FormlyFieldGrid extends FieldType {
|
11
|
-
}
|
12
|
-
FormlyFieldGrid.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
13
|
-
FormlyFieldGrid.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
14
|
-
<div
|
15
|
-
nz-row
|
16
|
-
[nzAlign]="props.align ?? null"
|
17
|
-
[nzGutter]="props.gutter ?? null"
|
18
|
-
[nzJustify]="props.justify ?? null"
|
19
|
-
[formlyAttributes]="field"
|
20
|
-
>
|
21
|
-
<formly-field
|
22
|
-
*ngFor="let item of field.fieldGroup"
|
23
|
-
[field]="item"
|
24
|
-
nz-col
|
25
|
-
[nzFlex]="item.props?.['grid']?.['flex'] || props.flex"
|
26
|
-
[nzOffset]="item.props?.['grid']?.['offset'] || props.offset"
|
27
|
-
[nzOrder]="item.props?.['grid']?.['order'] || props.order"
|
28
|
-
[nzPull]="item.props?.['grid']?.['pull'] || props.pull"
|
29
|
-
[nzPush]="item.props?.['grid']?.['push'] || props.push"
|
30
|
-
[nzSpan]="item.props?.['grid']?.['span'] || props.span"
|
31
|
-
[nzXs]="item.props?.['grid']?.['xs'] || props.xs"
|
32
|
-
[nzSm]="item.props?.['grid']?.['sm'] || props.sm"
|
33
|
-
[nzMd]="item.props?.['grid']?.['md'] || props.md"
|
34
|
-
[nzLg]="item.props?.['grid']?.['lg'] || props.lg"
|
35
|
-
[nzXl]="item.props?.['grid']?.['xl'] || props.xl"
|
36
|
-
[nzXXl]="item.props?.['grid']?.['xxl'] || props.xxl"
|
37
|
-
></formly-field>
|
38
|
-
</div>
|
39
|
-
`, isInline: true,
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
41
|
-
type: Component,
|
42
|
-
args: [{
|
43
|
-
selector: 'formly-field-grid',
|
44
|
-
template: `
|
45
|
-
<div
|
46
|
-
nz-row
|
47
|
-
[nzAlign]="props.align ?? null"
|
48
|
-
[nzGutter]="props.gutter ?? null"
|
49
|
-
[nzJustify]="props.justify ?? null"
|
50
|
-
[formlyAttributes]="field"
|
51
|
-
>
|
52
|
-
<formly-field
|
53
|
-
*ngFor="let item of field.fieldGroup"
|
54
|
-
[field]="item"
|
55
|
-
nz-col
|
56
|
-
[nzFlex]="item.props?.['grid']?.['flex'] || props.flex"
|
57
|
-
[nzOffset]="item.props?.['grid']?.['offset'] || props.offset"
|
58
|
-
[nzOrder]="item.props?.['grid']?.['order'] || props.order"
|
59
|
-
[nzPull]="item.props?.['grid']?.['pull'] || props.pull"
|
60
|
-
[nzPush]="item.props?.['grid']?.['push'] || props.push"
|
61
|
-
[nzSpan]="item.props?.['grid']?.['span'] || props.span"
|
62
|
-
[nzXs]="item.props?.['grid']?.['xs'] || props.xs"
|
63
|
-
[nzSm]="item.props?.['grid']?.['sm'] || props.sm"
|
64
|
-
[nzMd]="item.props?.['grid']?.['md'] || props.md"
|
65
|
-
[nzLg]="item.props?.['grid']?.['lg'] || props.lg"
|
66
|
-
[nzXl]="item.props?.['grid']?.['xl'] || props.xl"
|
67
|
-
[nzXXl]="item.props?.['grid']?.['xxl'] || props.xxl"
|
68
|
-
></formly-field>
|
69
|
-
</div>
|
70
|
-
`,
|
71
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
72
|
-
}]
|
10
|
+
class FormlyFieldGrid extends FieldType {
|
11
|
+
}
|
12
|
+
FormlyFieldGrid.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldGrid, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
13
|
+
FormlyFieldGrid.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldGrid, selector: "formly-field-grid", usesInheritance: true, ngImport: i0, template: `
|
14
|
+
<div
|
15
|
+
nz-row
|
16
|
+
[nzAlign]="props.align ?? null"
|
17
|
+
[nzGutter]="props.gutter ?? null"
|
18
|
+
[nzJustify]="props.justify ?? null"
|
19
|
+
[formlyAttributes]="field"
|
20
|
+
>
|
21
|
+
<formly-field
|
22
|
+
*ngFor="let item of field.fieldGroup"
|
23
|
+
[field]="item"
|
24
|
+
nz-col
|
25
|
+
[nzFlex]="item.props?.['grid']?.['flex'] || props.flex"
|
26
|
+
[nzOffset]="item.props?.['grid']?.['offset'] || props.offset"
|
27
|
+
[nzOrder]="item.props?.['grid']?.['order'] || props.order"
|
28
|
+
[nzPull]="item.props?.['grid']?.['pull'] || props.pull"
|
29
|
+
[nzPush]="item.props?.['grid']?.['push'] || props.push"
|
30
|
+
[nzSpan]="item.props?.['grid']?.['span'] || props.span"
|
31
|
+
[nzXs]="item.props?.['grid']?.['xs'] || props.xs"
|
32
|
+
[nzSm]="item.props?.['grid']?.['sm'] || props.sm"
|
33
|
+
[nzMd]="item.props?.['grid']?.['md'] || props.md"
|
34
|
+
[nzLg]="item.props?.['grid']?.['lg'] || props.lg"
|
35
|
+
[nzXl]="item.props?.['grid']?.['xl'] || props.xl"
|
36
|
+
[nzXXl]="item.props?.['grid']?.['xxl'] || props.xxl"
|
37
|
+
></formly-field>
|
38
|
+
</div>
|
39
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "component", type: i3.FormlyField, selector: "formly-field", inputs: ["field"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldGrid, decorators: [{
|
41
|
+
type: Component,
|
42
|
+
args: [{
|
43
|
+
selector: 'formly-field-grid',
|
44
|
+
template: `
|
45
|
+
<div
|
46
|
+
nz-row
|
47
|
+
[nzAlign]="props.align ?? null"
|
48
|
+
[nzGutter]="props.gutter ?? null"
|
49
|
+
[nzJustify]="props.justify ?? null"
|
50
|
+
[formlyAttributes]="field"
|
51
|
+
>
|
52
|
+
<formly-field
|
53
|
+
*ngFor="let item of field.fieldGroup"
|
54
|
+
[field]="item"
|
55
|
+
nz-col
|
56
|
+
[nzFlex]="item.props?.['grid']?.['flex'] || props.flex"
|
57
|
+
[nzOffset]="item.props?.['grid']?.['offset'] || props.offset"
|
58
|
+
[nzOrder]="item.props?.['grid']?.['order'] || props.order"
|
59
|
+
[nzPull]="item.props?.['grid']?.['pull'] || props.pull"
|
60
|
+
[nzPush]="item.props?.['grid']?.['push'] || props.push"
|
61
|
+
[nzSpan]="item.props?.['grid']?.['span'] || props.span"
|
62
|
+
[nzXs]="item.props?.['grid']?.['xs'] || props.xs"
|
63
|
+
[nzSm]="item.props?.['grid']?.['sm'] || props.sm"
|
64
|
+
[nzMd]="item.props?.['grid']?.['md'] || props.md"
|
65
|
+
[nzLg]="item.props?.['grid']?.['lg'] || props.lg"
|
66
|
+
[nzXl]="item.props?.['grid']?.['xl'] || props.xl"
|
67
|
+
[nzXXl]="item.props?.['grid']?.['xxl'] || props.xxl"
|
68
|
+
></formly-field>
|
69
|
+
</div>
|
70
|
+
`,
|
71
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
72
|
+
}]
|
73
73
|
}] });
|
74
74
|
|
75
|
-
class FormlyNzGridModule {
|
76
|
-
}
|
77
|
-
FormlyNzGridModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
78
|
-
FormlyNzGridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
79
|
-
NzGridModule,
|
80
|
-
FormlyNzGridModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
]
|
108
|
-
}]
|
75
|
+
class FormlyNzGridModule {
|
76
|
+
}
|
77
|
+
FormlyNzGridModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzGridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
78
|
+
FormlyNzGridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzGridModule, declarations: [FormlyFieldGrid], imports: [CommonModule,
|
79
|
+
NzGridModule, i3.FormlyModule] });
|
80
|
+
FormlyNzGridModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzGridModule, imports: [CommonModule,
|
81
|
+
NzGridModule,
|
82
|
+
FormlyModule.forChild({
|
83
|
+
types: [
|
84
|
+
{
|
85
|
+
name: 'grid',
|
86
|
+
component: FormlyFieldGrid
|
87
|
+
}
|
88
|
+
]
|
89
|
+
})] });
|
90
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzGridModule, decorators: [{
|
91
|
+
type: NgModule,
|
92
|
+
args: [{
|
93
|
+
declarations: [FormlyFieldGrid],
|
94
|
+
imports: [
|
95
|
+
CommonModule,
|
96
|
+
NzGridModule,
|
97
|
+
FormlyModule.forChild({
|
98
|
+
types: [
|
99
|
+
{
|
100
|
+
name: 'grid',
|
101
|
+
component: FormlyFieldGrid
|
102
|
+
}
|
103
|
+
]
|
104
|
+
})
|
105
|
+
]
|
106
|
+
}]
|
109
107
|
}] });
|
110
108
|
|
111
|
-
/**
|
112
|
-
* Generated bundle index. Do not edit.
|
109
|
+
/**
|
110
|
+
* Generated bundle index. Do not edit.
|
113
111
|
*/
|
114
112
|
|
115
113
|
export { FormlyFieldGrid, FormlyNzGridModule };
|