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,155 +1,153 @@
|
|
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 { FieldWrapper, FormlyModule } from '@ngx-formly/core';
|
7
|
-
import * as
|
7
|
+
import * as i2 from 'ng-zorro-antd/tabs';
|
8
8
|
import { NzTabsModule } from 'ng-zorro-antd/tabs';
|
9
9
|
|
10
|
-
class FormlyWrapperTabs extends FieldWrapper {
|
11
|
-
constructor() {
|
12
|
-
super(...arguments);
|
13
|
-
this.defaultOptions = {
|
14
|
-
props: {
|
15
|
-
animated: true,
|
16
|
-
size: 'default',
|
17
|
-
type: 'line',
|
18
|
-
tabPosition: 'top',
|
19
|
-
hideAll: false,
|
20
|
-
linkRouter: false,
|
21
|
-
linkExact: true,
|
22
|
-
centered: false,
|
23
|
-
hideAdd: false,
|
24
|
-
tab: {
|
25
|
-
forceRender: false,
|
26
|
-
disabled: false
|
27
|
-
}
|
28
|
-
}
|
29
|
-
};
|
30
|
-
}
|
31
|
-
}
|
32
|
-
FormlyWrapperTabs.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
33
|
-
FormlyWrapperTabs.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
34
|
-
[(nzSelectedIndex)]="props['selectedIndex']"
|
35
|
-
[nzAnimated]="props['animated']!"
|
36
|
-
[nzSize]="props['size']!"
|
37
|
-
[nzTabBarExtraContent]="props['tabBarExtraContent']"
|
38
|
-
[nzTabBarStyle]="props['tabBarStyle'] ?? null"
|
39
|
-
[nzTabPosition]="props['tabPosition']!"
|
40
|
-
[nzType]="props['type']!"
|
41
|
-
[nzTabBarGutter]="props['tabBarGutter']"
|
42
|
-
[nzHideAll]="props['hideAll']!!"
|
43
|
-
[nzLinkRouter]="props['linkRouter']!!"
|
44
|
-
[nzLinkExact]="props['linkExact']!!"
|
45
|
-
[nzCanDeactivate]="props['canDeactivate'] ?? null"
|
46
|
-
[nzHideAdd]="props['hideAdd']!!"
|
47
|
-
[nzAddIcon]="props['addIcon']!"
|
48
|
-
(nzSelectedIndexChange)="
|
49
|
-
props['selectedIndexChange'] && props['selectedIndexChange'](field, $event)
|
50
|
-
"
|
51
|
-
(nzSelectChange)="
|
52
|
-
props['selectChange'] && props['selectChange'](field, $event.index, $event.tab)
|
53
|
-
"
|
54
|
-
(nzAdd)="props['onAdd'] && props['onAdd'](field)"
|
55
|
-
(nzClose)="props['onClose'] && props['onClose'](field, $event.index)"
|
56
|
-
>
|
57
|
-
<nz-tab
|
58
|
-
*ngFor="let tab of field.fieldGroup; let i = index; let last = last"
|
59
|
-
[nzTitle]="tab.props?.label || ''"
|
60
|
-
[nzForceRender]="tab.props!['tab']?.forceRender"
|
61
|
-
[nzDisabled]="tab.props!['tab']?.disabled"
|
62
|
-
(nzClick)="tab.props!['tab']?.click && tab.props!['tab']?.click()"
|
63
|
-
(nzContextmenu)="tab.props!['tab']?.contextmenu && tab.props!['tab']?.contextmenu($event)"
|
64
|
-
(nzSelect)="tab.props!['tab']?.select && tab.props!['tab']?.select()"
|
65
|
-
(nzDeselect)="tab.props!['tab']?.deselect && tab.props!['tab']?.deselect()"
|
66
|
-
>
|
67
|
-
<formly-field [field]="tab"></formly-field>
|
68
|
-
</nz-tab>
|
69
|
-
</nz-tabset>`, isInline: true,
|
70
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
71
|
-
type: Component,
|
72
|
-
args: [{
|
73
|
-
selector: 'formly-wrapper-tabs',
|
74
|
-
template: `<nz-tabset
|
75
|
-
[(nzSelectedIndex)]="props['selectedIndex']"
|
76
|
-
[nzAnimated]="props['animated']!"
|
77
|
-
[nzSize]="props['size']!"
|
78
|
-
[nzTabBarExtraContent]="props['tabBarExtraContent']"
|
79
|
-
[nzTabBarStyle]="props['tabBarStyle'] ?? null"
|
80
|
-
[nzTabPosition]="props['tabPosition']!"
|
81
|
-
[nzType]="props['type']!"
|
82
|
-
[nzTabBarGutter]="props['tabBarGutter']"
|
83
|
-
[nzHideAll]="props['hideAll']!!"
|
84
|
-
[nzLinkRouter]="props['linkRouter']!!"
|
85
|
-
[nzLinkExact]="props['linkExact']!!"
|
86
|
-
[nzCanDeactivate]="props['canDeactivate'] ?? null"
|
87
|
-
[nzHideAdd]="props['hideAdd']!!"
|
88
|
-
[nzAddIcon]="props['addIcon']!"
|
89
|
-
(nzSelectedIndexChange)="
|
90
|
-
props['selectedIndexChange'] && props['selectedIndexChange'](field, $event)
|
91
|
-
"
|
92
|
-
(nzSelectChange)="
|
93
|
-
props['selectChange'] && props['selectChange'](field, $event.index, $event.tab)
|
94
|
-
"
|
95
|
-
(nzAdd)="props['onAdd'] && props['onAdd'](field)"
|
96
|
-
(nzClose)="props['onClose'] && props['onClose'](field, $event.index)"
|
97
|
-
>
|
98
|
-
<nz-tab
|
99
|
-
*ngFor="let tab of field.fieldGroup; let i = index; let last = last"
|
100
|
-
[nzTitle]="tab.props?.label || ''"
|
101
|
-
[nzForceRender]="tab.props!['tab']?.forceRender"
|
102
|
-
[nzDisabled]="tab.props!['tab']?.disabled"
|
103
|
-
(nzClick)="tab.props!['tab']?.click && tab.props!['tab']?.click()"
|
104
|
-
(nzContextmenu)="tab.props!['tab']?.contextmenu && tab.props!['tab']?.contextmenu($event)"
|
105
|
-
(nzSelect)="tab.props!['tab']?.select && tab.props!['tab']?.select()"
|
106
|
-
(nzDeselect)="tab.props!['tab']?.deselect && tab.props!['tab']?.deselect()"
|
107
|
-
>
|
108
|
-
<formly-field [field]="tab"></formly-field>
|
109
|
-
</nz-tab>
|
110
|
-
</nz-tabset>`,
|
111
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
112
|
-
}]
|
10
|
+
class FormlyWrapperTabs extends FieldWrapper {
|
11
|
+
constructor() {
|
12
|
+
super(...arguments);
|
13
|
+
this.defaultOptions = {
|
14
|
+
props: {
|
15
|
+
animated: true,
|
16
|
+
size: 'default',
|
17
|
+
type: 'line',
|
18
|
+
tabPosition: 'top',
|
19
|
+
hideAll: false,
|
20
|
+
linkRouter: false,
|
21
|
+
linkExact: true,
|
22
|
+
centered: false,
|
23
|
+
hideAdd: false,
|
24
|
+
tab: {
|
25
|
+
forceRender: false,
|
26
|
+
disabled: false
|
27
|
+
}
|
28
|
+
}
|
29
|
+
};
|
30
|
+
}
|
31
|
+
}
|
32
|
+
FormlyWrapperTabs.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyWrapperTabs, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
33
|
+
FormlyWrapperTabs.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyWrapperTabs, selector: "formly-wrapper-tabs", usesInheritance: true, ngImport: i0, template: `<nz-tabset
|
34
|
+
[(nzSelectedIndex)]="props['selectedIndex']"
|
35
|
+
[nzAnimated]="props['animated']!"
|
36
|
+
[nzSize]="props['size']!"
|
37
|
+
[nzTabBarExtraContent]="props['tabBarExtraContent']"
|
38
|
+
[nzTabBarStyle]="props['tabBarStyle'] ?? null"
|
39
|
+
[nzTabPosition]="props['tabPosition']!"
|
40
|
+
[nzType]="props['type']!"
|
41
|
+
[nzTabBarGutter]="props['tabBarGutter']"
|
42
|
+
[nzHideAll]="props['hideAll']!!"
|
43
|
+
[nzLinkRouter]="props['linkRouter']!!"
|
44
|
+
[nzLinkExact]="props['linkExact']!!"
|
45
|
+
[nzCanDeactivate]="props['canDeactivate'] ?? null"
|
46
|
+
[nzHideAdd]="props['hideAdd']!!"
|
47
|
+
[nzAddIcon]="props['addIcon']!"
|
48
|
+
(nzSelectedIndexChange)="
|
49
|
+
props['selectedIndexChange'] && props['selectedIndexChange'](field, $event)
|
50
|
+
"
|
51
|
+
(nzSelectChange)="
|
52
|
+
props['selectChange'] && props['selectChange'](field, $event.index, $event.tab)
|
53
|
+
"
|
54
|
+
(nzAdd)="props['onAdd'] && props['onAdd'](field)"
|
55
|
+
(nzClose)="props['onClose'] && props['onClose'](field, $event.index)"
|
56
|
+
>
|
57
|
+
<nz-tab
|
58
|
+
*ngFor="let tab of field.fieldGroup; let i = index; let last = last"
|
59
|
+
[nzTitle]="tab.props?.label || ''"
|
60
|
+
[nzForceRender]="tab.props!['tab']?.forceRender"
|
61
|
+
[nzDisabled]="tab.props!['tab']?.disabled"
|
62
|
+
(nzClick)="tab.props!['tab']?.click && tab.props!['tab']?.click()"
|
63
|
+
(nzContextmenu)="tab.props!['tab']?.contextmenu && tab.props!['tab']?.contextmenu($event)"
|
64
|
+
(nzSelect)="tab.props!['tab']?.select && tab.props!['tab']?.select()"
|
65
|
+
(nzDeselect)="tab.props!['tab']?.deselect && tab.props!['tab']?.deselect()"
|
66
|
+
>
|
67
|
+
<formly-field [field]="tab"></formly-field>
|
68
|
+
</nz-tab>
|
69
|
+
</nz-tabset>`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i2.NzTabSetComponent, selector: "nz-tabset", inputs: ["nzSelectedIndex", "nzTabPosition", "nzTabBarExtraContent", "nzCanDeactivate", "nzAddIcon", "nzTabBarStyle", "nzType", "nzSize", "nzAnimated", "nzTabBarGutter", "nzHideAdd", "nzCentered", "nzHideAll", "nzLinkRouter", "nzLinkExact"], outputs: ["nzSelectChange", "nzSelectedIndexChange", "nzTabListScroll", "nzClose", "nzAdd"], exportAs: ["nzTabset"] }, { kind: "component", type: i2.NzTabComponent, selector: "nz-tab", inputs: ["nzTitle", "nzClosable", "nzCloseIcon", "nzDisabled", "nzForceRender"], outputs: ["nzSelect", "nzDeselect", "nzClick", "nzContextmenu"], exportAs: ["nzTab"] }, { kind: "component", type: i3.FormlyField, selector: "formly-field", inputs: ["field"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
70
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyWrapperTabs, decorators: [{
|
71
|
+
type: Component,
|
72
|
+
args: [{
|
73
|
+
selector: 'formly-wrapper-tabs',
|
74
|
+
template: `<nz-tabset
|
75
|
+
[(nzSelectedIndex)]="props['selectedIndex']"
|
76
|
+
[nzAnimated]="props['animated']!"
|
77
|
+
[nzSize]="props['size']!"
|
78
|
+
[nzTabBarExtraContent]="props['tabBarExtraContent']"
|
79
|
+
[nzTabBarStyle]="props['tabBarStyle'] ?? null"
|
80
|
+
[nzTabPosition]="props['tabPosition']!"
|
81
|
+
[nzType]="props['type']!"
|
82
|
+
[nzTabBarGutter]="props['tabBarGutter']"
|
83
|
+
[nzHideAll]="props['hideAll']!!"
|
84
|
+
[nzLinkRouter]="props['linkRouter']!!"
|
85
|
+
[nzLinkExact]="props['linkExact']!!"
|
86
|
+
[nzCanDeactivate]="props['canDeactivate'] ?? null"
|
87
|
+
[nzHideAdd]="props['hideAdd']!!"
|
88
|
+
[nzAddIcon]="props['addIcon']!"
|
89
|
+
(nzSelectedIndexChange)="
|
90
|
+
props['selectedIndexChange'] && props['selectedIndexChange'](field, $event)
|
91
|
+
"
|
92
|
+
(nzSelectChange)="
|
93
|
+
props['selectChange'] && props['selectChange'](field, $event.index, $event.tab)
|
94
|
+
"
|
95
|
+
(nzAdd)="props['onAdd'] && props['onAdd'](field)"
|
96
|
+
(nzClose)="props['onClose'] && props['onClose'](field, $event.index)"
|
97
|
+
>
|
98
|
+
<nz-tab
|
99
|
+
*ngFor="let tab of field.fieldGroup; let i = index; let last = last"
|
100
|
+
[nzTitle]="tab.props?.label || ''"
|
101
|
+
[nzForceRender]="tab.props!['tab']?.forceRender"
|
102
|
+
[nzDisabled]="tab.props!['tab']?.disabled"
|
103
|
+
(nzClick)="tab.props!['tab']?.click && tab.props!['tab']?.click()"
|
104
|
+
(nzContextmenu)="tab.props!['tab']?.contextmenu && tab.props!['tab']?.contextmenu($event)"
|
105
|
+
(nzSelect)="tab.props!['tab']?.select && tab.props!['tab']?.select()"
|
106
|
+
(nzDeselect)="tab.props!['tab']?.deselect && tab.props!['tab']?.deselect()"
|
107
|
+
>
|
108
|
+
<formly-field [field]="tab"></formly-field>
|
109
|
+
</nz-tab>
|
110
|
+
</nz-tabset>`,
|
111
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
112
|
+
}]
|
113
113
|
}] });
|
114
114
|
|
115
|
-
class FormlyNzTabsModule {
|
116
|
-
}
|
117
|
-
FormlyNzTabsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
118
|
-
FormlyNzTabsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
119
|
-
NzTabsModule,
|
120
|
-
FormlyNzTabsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
]
|
148
|
-
}]
|
115
|
+
class FormlyNzTabsModule {
|
116
|
+
}
|
117
|
+
FormlyNzTabsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzTabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
118
|
+
FormlyNzTabsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzTabsModule, declarations: [FormlyWrapperTabs], imports: [CommonModule,
|
119
|
+
NzTabsModule, i3.FormlyModule] });
|
120
|
+
FormlyNzTabsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzTabsModule, imports: [CommonModule,
|
121
|
+
NzTabsModule,
|
122
|
+
FormlyModule.forChild({
|
123
|
+
wrappers: [
|
124
|
+
{
|
125
|
+
name: 'tabs',
|
126
|
+
component: FormlyWrapperTabs
|
127
|
+
}
|
128
|
+
]
|
129
|
+
})] });
|
130
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzTabsModule, decorators: [{
|
131
|
+
type: NgModule,
|
132
|
+
args: [{
|
133
|
+
declarations: [FormlyWrapperTabs],
|
134
|
+
imports: [
|
135
|
+
CommonModule,
|
136
|
+
NzTabsModule,
|
137
|
+
FormlyModule.forChild({
|
138
|
+
wrappers: [
|
139
|
+
{
|
140
|
+
name: 'tabs',
|
141
|
+
component: FormlyWrapperTabs
|
142
|
+
}
|
143
|
+
]
|
144
|
+
})
|
145
|
+
]
|
146
|
+
}]
|
149
147
|
}] });
|
150
148
|
|
151
|
-
/**
|
152
|
-
* Generated bundle index. Do not edit.
|
149
|
+
/**
|
150
|
+
* Generated bundle index. Do not edit.
|
153
151
|
*/
|
154
152
|
|
155
153
|
export { FormlyNzTabsModule, FormlyWrapperTabs };
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ngx-formly-zorro-antd-tabs.mjs","sources":["../../../../packages/formlyantd/tabs/src/tabs.wrapper.ts","../../../../packages/formlyantd/tabs/src/tabs.module.ts","../../../../packages/formlyantd/tabs/src/ngx-formly-zorro-antd-tabs.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\
|
1
|
+
{"version":3,"file":"ngx-formly-zorro-antd-tabs.mjs","sources":["../../../../packages/formlyantd/tabs/src/tabs.wrapper.ts","../../../../packages/formlyantd/tabs/src/tabs.module.ts","../../../../packages/formlyantd/tabs/src/ngx-formly-zorro-antd-tabs.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldWrapper, FormlyFieldConfig } from '@ngx-formly/core';\n\nimport type { TabsProps } from './tabs.props';\n\nexport interface FormlyTabsWrapperConfig extends FormlyFieldConfig<TabsProps> {\n wrappers: ('tabs' | Type<FormlyWrapperTabs>)[];\n}\n\n@Component({\n selector: 'formly-wrapper-tabs',\n template: `<nz-tabset\n [(nzSelectedIndex)]=\"props['selectedIndex']\"\n [nzAnimated]=\"props['animated']!\"\n [nzSize]=\"props['size']!\"\n [nzTabBarExtraContent]=\"props['tabBarExtraContent']\"\n [nzTabBarStyle]=\"props['tabBarStyle'] ?? null\"\n [nzTabPosition]=\"props['tabPosition']!\"\n [nzType]=\"props['type']!\"\n [nzTabBarGutter]=\"props['tabBarGutter']\"\n [nzHideAll]=\"props['hideAll']!!\"\n [nzLinkRouter]=\"props['linkRouter']!!\"\n [nzLinkExact]=\"props['linkExact']!!\"\n [nzCanDeactivate]=\"props['canDeactivate'] ?? null\"\n [nzHideAdd]=\"props['hideAdd']!!\"\n [nzAddIcon]=\"props['addIcon']!\"\n (nzSelectedIndexChange)=\"\n props['selectedIndexChange'] && props['selectedIndexChange'](field, $event)\n \"\n (nzSelectChange)=\"\n props['selectChange'] && props['selectChange'](field, $event.index, $event.tab)\n \"\n (nzAdd)=\"props['onAdd'] && props['onAdd'](field)\"\n (nzClose)=\"props['onClose'] && props['onClose'](field, $event.index)\"\n >\n <nz-tab\n *ngFor=\"let tab of field.fieldGroup; let i = index; let last = last\"\n [nzTitle]=\"tab.props?.label || ''\"\n [nzForceRender]=\"tab.props!['tab']?.forceRender\"\n [nzDisabled]=\"tab.props!['tab']?.disabled\"\n (nzClick)=\"tab.props!['tab']?.click && tab.props!['tab']?.click()\"\n (nzContextmenu)=\"tab.props!['tab']?.contextmenu && tab.props!['tab']?.contextmenu($event)\"\n (nzSelect)=\"tab.props!['tab']?.select && tab.props!['tab']?.select()\"\n (nzDeselect)=\"tab.props!['tab']?.deselect && tab.props!['tab']?.deselect()\"\n >\n <formly-field [field]=\"tab\"></formly-field>\n </nz-tab>\n </nz-tabset>`,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyWrapperTabs extends FieldWrapper<FormlyFieldConfig<TabsProps>> {\n override defaultOptions = {\n props: {\n animated: true,\n size: 'default' as const,\n type: 'line' as const,\n tabPosition: 'top' as const,\n hideAll: false,\n linkRouter: false,\n linkExact: true,\n centered: false,\n hideAdd: false,\n tab: {\n forceRender: false,\n disabled: false\n }\n }\n };\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\n\nimport { FormlyWrapperTabs } from './tabs.wrapper';\nimport { NzTabsModule } from 'ng-zorro-antd/tabs';\n\n@NgModule({\n declarations: [FormlyWrapperTabs],\n imports: [\n CommonModule,\n\n NzTabsModule,\n\n FormlyModule.forChild({\n wrappers: [\n {\n name: 'tabs',\n component: FormlyWrapperTabs\n }\n ]\n })\n ]\n})\nexport class FormlyNzTabsModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":"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"}
|
@@ -1,142 +1,140 @@
|
|
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 i2 from '@angular/forms';
|
6
6
|
import { ReactiveFormsModule } from '@angular/forms';
|
7
7
|
import * as i4 from '@ngx-formly/core';
|
8
8
|
import { FieldType, FormlyModule } from '@ngx-formly/core';
|
9
9
|
import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
|
10
|
-
import * as
|
10
|
+
import * as i3 from 'ng-zorro-antd/input';
|
11
11
|
import { NzInputModule } from 'ng-zorro-antd/input';
|
12
12
|
|
13
|
-
class FormlyFieldTextarea extends FieldType {
|
14
|
-
constructor() {
|
15
|
-
super(...arguments);
|
16
|
-
this.defaultOptions = {
|
17
|
-
props: {
|
18
|
-
rows: 4,
|
19
|
-
autosize: false,
|
20
|
-
borderless: false
|
21
|
-
}
|
22
|
-
};
|
23
|
-
}
|
24
|
-
}
|
25
|
-
FormlyFieldTextarea.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
26
|
-
FormlyFieldTextarea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
27
|
-
<nz-textarea-count
|
28
|
-
*ngIf="props['maxCharacterCount']; else textarea"
|
29
|
-
[nzMaxCharacterCount]="props['maxCharacterCount']"
|
30
|
-
>
|
31
|
-
<textarea
|
32
|
-
[formControl]="formControl"
|
33
|
-
[formlyAttributes]="field"
|
34
|
-
[ngClass]="props['className']"
|
35
|
-
[rows]="props.rows"
|
36
|
-
[cols]="props.cols"
|
37
|
-
nz-input
|
38
|
-
[nzBorderless]="props['borderless']"
|
39
|
-
[nzAutosize]="props['autosize']!"
|
40
|
-
></textarea>
|
41
|
-
</nz-textarea-count>
|
42
|
-
|
43
|
-
<ng-template #textarea>
|
44
|
-
<textarea
|
45
|
-
[formControl]="formControl"
|
46
|
-
[formlyAttributes]="field"
|
47
|
-
[ngClass]="props['className']"
|
48
|
-
[rows]="props.rows"
|
49
|
-
[cols]="props.cols"
|
50
|
-
nz-input
|
51
|
-
[nzBorderless]="props['borderless']"
|
52
|
-
[nzAutosize]="props['autosize']!"
|
53
|
-
></textarea>
|
54
|
-
</ng-template>
|
55
|
-
`, isInline: true,
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
57
|
-
type: Component,
|
58
|
-
args: [{
|
59
|
-
selector: 'formly-field-textarea',
|
60
|
-
template: `
|
61
|
-
<nz-textarea-count
|
62
|
-
*ngIf="props['maxCharacterCount']; else textarea"
|
63
|
-
[nzMaxCharacterCount]="props['maxCharacterCount']"
|
64
|
-
>
|
65
|
-
<textarea
|
66
|
-
[formControl]="formControl"
|
67
|
-
[formlyAttributes]="field"
|
68
|
-
[ngClass]="props['className']"
|
69
|
-
[rows]="props.rows"
|
70
|
-
[cols]="props.cols"
|
71
|
-
nz-input
|
72
|
-
[nzBorderless]="props['borderless']"
|
73
|
-
[nzAutosize]="props['autosize']!"
|
74
|
-
></textarea>
|
75
|
-
</nz-textarea-count>
|
76
|
-
|
77
|
-
<ng-template #textarea>
|
78
|
-
<textarea
|
79
|
-
[formControl]="formControl"
|
80
|
-
[formlyAttributes]="field"
|
81
|
-
[ngClass]="props['className']"
|
82
|
-
[rows]="props.rows"
|
83
|
-
[cols]="props.cols"
|
84
|
-
nz-input
|
85
|
-
[nzBorderless]="props['borderless']"
|
86
|
-
[nzAutosize]="props['autosize']!"
|
87
|
-
></textarea>
|
88
|
-
</ng-template>
|
89
|
-
`,
|
90
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
91
|
-
}]
|
13
|
+
class FormlyFieldTextarea extends FieldType {
|
14
|
+
constructor() {
|
15
|
+
super(...arguments);
|
16
|
+
this.defaultOptions = {
|
17
|
+
props: {
|
18
|
+
rows: 4,
|
19
|
+
autosize: false,
|
20
|
+
borderless: false
|
21
|
+
}
|
22
|
+
};
|
23
|
+
}
|
24
|
+
}
|
25
|
+
FormlyFieldTextarea.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldTextarea, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
26
|
+
FormlyFieldTextarea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldTextarea, selector: "formly-field-textarea", usesInheritance: true, ngImport: i0, template: `
|
27
|
+
<nz-textarea-count
|
28
|
+
*ngIf="props['maxCharacterCount']; else textarea"
|
29
|
+
[nzMaxCharacterCount]="props['maxCharacterCount']"
|
30
|
+
>
|
31
|
+
<textarea
|
32
|
+
[formControl]="formControl"
|
33
|
+
[formlyAttributes]="field"
|
34
|
+
[ngClass]="props['className']"
|
35
|
+
[rows]="props.rows"
|
36
|
+
[cols]="props.cols"
|
37
|
+
nz-input
|
38
|
+
[nzBorderless]="props['borderless']"
|
39
|
+
[nzAutosize]="props['autosize']!"
|
40
|
+
></textarea>
|
41
|
+
</nz-textarea-count>
|
42
|
+
|
43
|
+
<ng-template #textarea>
|
44
|
+
<textarea
|
45
|
+
[formControl]="formControl"
|
46
|
+
[formlyAttributes]="field"
|
47
|
+
[ngClass]="props['className']"
|
48
|
+
[rows]="props.rows"
|
49
|
+
[cols]="props.cols"
|
50
|
+
nz-input
|
51
|
+
[nzBorderless]="props['borderless']"
|
52
|
+
[nzAutosize]="props['autosize']!"
|
53
|
+
></textarea>
|
54
|
+
</ng-template>
|
55
|
+
`, isInline: true, 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.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.NzTextareaCountComponent, selector: "nz-textarea-count", inputs: ["nzMaxCharacterCount", "nzComputeCharacterCount", "nzFormatter"] }, { kind: "directive", type: i3.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "directive", type: i3.NzAutosizeDirective, selector: "textarea[nzAutosize]", inputs: ["nzAutosize"], exportAs: ["nzAutosize"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldTextarea, decorators: [{
|
57
|
+
type: Component,
|
58
|
+
args: [{
|
59
|
+
selector: 'formly-field-textarea',
|
60
|
+
template: `
|
61
|
+
<nz-textarea-count
|
62
|
+
*ngIf="props['maxCharacterCount']; else textarea"
|
63
|
+
[nzMaxCharacterCount]="props['maxCharacterCount']"
|
64
|
+
>
|
65
|
+
<textarea
|
66
|
+
[formControl]="formControl"
|
67
|
+
[formlyAttributes]="field"
|
68
|
+
[ngClass]="props['className']"
|
69
|
+
[rows]="props.rows"
|
70
|
+
[cols]="props.cols"
|
71
|
+
nz-input
|
72
|
+
[nzBorderless]="props['borderless']"
|
73
|
+
[nzAutosize]="props['autosize']!"
|
74
|
+
></textarea>
|
75
|
+
</nz-textarea-count>
|
76
|
+
|
77
|
+
<ng-template #textarea>
|
78
|
+
<textarea
|
79
|
+
[formControl]="formControl"
|
80
|
+
[formlyAttributes]="field"
|
81
|
+
[ngClass]="props['className']"
|
82
|
+
[rows]="props.rows"
|
83
|
+
[cols]="props.cols"
|
84
|
+
nz-input
|
85
|
+
[nzBorderless]="props['borderless']"
|
86
|
+
[nzAutosize]="props['autosize']!"
|
87
|
+
></textarea>
|
88
|
+
</ng-template>
|
89
|
+
`,
|
90
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
91
|
+
}]
|
92
92
|
}] });
|
93
93
|
|
94
|
-
class FormlyNzTextareaModule {
|
95
|
-
}
|
96
|
-
FormlyNzTextareaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
97
|
-
FormlyNzTextareaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
98
|
-
ReactiveFormsModule,
|
99
|
-
FormlyNzFormFieldModule,
|
100
|
-
NzInputModule, i4.FormlyModule] });
|
101
|
-
FormlyNzTextareaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
]
|
135
|
-
}]
|
94
|
+
class FormlyNzTextareaModule {
|
95
|
+
}
|
96
|
+
FormlyNzTextareaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzTextareaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
97
|
+
FormlyNzTextareaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzTextareaModule, declarations: [FormlyFieldTextarea], imports: [CommonModule,
|
98
|
+
ReactiveFormsModule,
|
99
|
+
FormlyNzFormFieldModule,
|
100
|
+
NzInputModule, i4.FormlyModule] });
|
101
|
+
FormlyNzTextareaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzTextareaModule, imports: [CommonModule,
|
102
|
+
ReactiveFormsModule,
|
103
|
+
FormlyNzFormFieldModule,
|
104
|
+
NzInputModule,
|
105
|
+
FormlyModule.forChild({
|
106
|
+
types: [
|
107
|
+
{
|
108
|
+
name: 'textarea',
|
109
|
+
component: FormlyFieldTextarea,
|
110
|
+
wrappers: ['form-field']
|
111
|
+
}
|
112
|
+
]
|
113
|
+
})] });
|
114
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzTextareaModule, decorators: [{
|
115
|
+
type: NgModule,
|
116
|
+
args: [{
|
117
|
+
declarations: [FormlyFieldTextarea],
|
118
|
+
imports: [
|
119
|
+
CommonModule,
|
120
|
+
ReactiveFormsModule,
|
121
|
+
FormlyNzFormFieldModule,
|
122
|
+
NzInputModule,
|
123
|
+
FormlyModule.forChild({
|
124
|
+
types: [
|
125
|
+
{
|
126
|
+
name: 'textarea',
|
127
|
+
component: FormlyFieldTextarea,
|
128
|
+
wrappers: ['form-field']
|
129
|
+
}
|
130
|
+
]
|
131
|
+
})
|
132
|
+
]
|
133
|
+
}]
|
136
134
|
}] });
|
137
135
|
|
138
|
-
/**
|
139
|
-
* Generated bundle index. Do not edit.
|
136
|
+
/**
|
137
|
+
* Generated bundle index. Do not edit.
|
140
138
|
*/
|
141
139
|
|
142
140
|
export { FormlyFieldTextarea, FormlyNzTextareaModule };
|