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,111 +1,111 @@
|
|
1
|
-
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
2
|
-
import { FieldWrapper } from '@ngx-formly/core';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
import * as i1 from "
|
5
|
-
import * as i2 from "
|
6
|
-
import * as i3 from "@
|
7
|
-
export class FormlyWrapperTabs extends FieldWrapper {
|
8
|
-
constructor() {
|
9
|
-
super(...arguments);
|
10
|
-
this.defaultOptions = {
|
11
|
-
props: {
|
12
|
-
animated: true,
|
13
|
-
size: 'default',
|
14
|
-
type: 'line',
|
15
|
-
tabPosition: 'top',
|
16
|
-
hideAll: false,
|
17
|
-
linkRouter: false,
|
18
|
-
linkExact: true,
|
19
|
-
centered: false,
|
20
|
-
hideAdd: false,
|
21
|
-
tab: {
|
22
|
-
forceRender: false,
|
23
|
-
disabled: false
|
24
|
-
}
|
25
|
-
}
|
26
|
-
};
|
27
|
-
}
|
28
|
-
}
|
29
|
-
FormlyWrapperTabs.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
30
|
-
FormlyWrapperTabs.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
31
|
-
[(nzSelectedIndex)]="props['selectedIndex']"
|
32
|
-
[nzAnimated]="props['animated']!"
|
33
|
-
[nzSize]="props['size']!"
|
34
|
-
[nzTabBarExtraContent]="props['tabBarExtraContent']"
|
35
|
-
[nzTabBarStyle]="props['tabBarStyle'] ?? null"
|
36
|
-
[nzTabPosition]="props['tabPosition']!"
|
37
|
-
[nzType]="props['type']!"
|
38
|
-
[nzTabBarGutter]="props['tabBarGutter']"
|
39
|
-
[nzHideAll]="props['hideAll']!!"
|
40
|
-
[nzLinkRouter]="props['linkRouter']!!"
|
41
|
-
[nzLinkExact]="props['linkExact']!!"
|
42
|
-
[nzCanDeactivate]="props['canDeactivate'] ?? null"
|
43
|
-
[nzHideAdd]="props['hideAdd']!!"
|
44
|
-
[nzAddIcon]="props['addIcon']!"
|
45
|
-
(nzSelectedIndexChange)="
|
46
|
-
props['selectedIndexChange'] && props['selectedIndexChange'](field, $event)
|
47
|
-
"
|
48
|
-
(nzSelectChange)="
|
49
|
-
props['selectChange'] && props['selectChange'](field, $event.index, $event.tab)
|
50
|
-
"
|
51
|
-
(nzAdd)="props['onAdd'] && props['onAdd'](field)"
|
52
|
-
(nzClose)="props['onClose'] && props['onClose'](field, $event.index)"
|
53
|
-
>
|
54
|
-
<nz-tab
|
55
|
-
*ngFor="let tab of field.fieldGroup; let i = index; let last = last"
|
56
|
-
[nzTitle]="tab.props?.label || ''"
|
57
|
-
[nzForceRender]="tab.props!['tab']?.forceRender"
|
58
|
-
[nzDisabled]="tab.props!['tab']?.disabled"
|
59
|
-
(nzClick)="tab.props!['tab']?.click && tab.props!['tab']?.click()"
|
60
|
-
(nzContextmenu)="tab.props!['tab']?.contextmenu && tab.props!['tab']?.contextmenu($event)"
|
61
|
-
(nzSelect)="tab.props!['tab']?.select && tab.props!['tab']?.select()"
|
62
|
-
(nzDeselect)="tab.props!['tab']?.deselect && tab.props!['tab']?.deselect()"
|
63
|
-
>
|
64
|
-
<formly-field [field]="tab"></formly-field>
|
65
|
-
</nz-tab>
|
66
|
-
</nz-tabset>`, isInline: true,
|
67
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
68
|
-
type: Component,
|
69
|
-
args: [{
|
70
|
-
selector: 'formly-wrapper-tabs',
|
71
|
-
template: `<nz-tabset
|
72
|
-
[(nzSelectedIndex)]="props['selectedIndex']"
|
73
|
-
[nzAnimated]="props['animated']!"
|
74
|
-
[nzSize]="props['size']!"
|
75
|
-
[nzTabBarExtraContent]="props['tabBarExtraContent']"
|
76
|
-
[nzTabBarStyle]="props['tabBarStyle'] ?? null"
|
77
|
-
[nzTabPosition]="props['tabPosition']!"
|
78
|
-
[nzType]="props['type']!"
|
79
|
-
[nzTabBarGutter]="props['tabBarGutter']"
|
80
|
-
[nzHideAll]="props['hideAll']!!"
|
81
|
-
[nzLinkRouter]="props['linkRouter']!!"
|
82
|
-
[nzLinkExact]="props['linkExact']!!"
|
83
|
-
[nzCanDeactivate]="props['canDeactivate'] ?? null"
|
84
|
-
[nzHideAdd]="props['hideAdd']!!"
|
85
|
-
[nzAddIcon]="props['addIcon']!"
|
86
|
-
(nzSelectedIndexChange)="
|
87
|
-
props['selectedIndexChange'] && props['selectedIndexChange'](field, $event)
|
88
|
-
"
|
89
|
-
(nzSelectChange)="
|
90
|
-
props['selectChange'] && props['selectChange'](field, $event.index, $event.tab)
|
91
|
-
"
|
92
|
-
(nzAdd)="props['onAdd'] && props['onAdd'](field)"
|
93
|
-
(nzClose)="props['onClose'] && props['onClose'](field, $event.index)"
|
94
|
-
>
|
95
|
-
<nz-tab
|
96
|
-
*ngFor="let tab of field.fieldGroup; let i = index; let last = last"
|
97
|
-
[nzTitle]="tab.props?.label || ''"
|
98
|
-
[nzForceRender]="tab.props!['tab']?.forceRender"
|
99
|
-
[nzDisabled]="tab.props!['tab']?.disabled"
|
100
|
-
(nzClick)="tab.props!['tab']?.click && tab.props!['tab']?.click()"
|
101
|
-
(nzContextmenu)="tab.props!['tab']?.contextmenu && tab.props!['tab']?.contextmenu($event)"
|
102
|
-
(nzSelect)="tab.props!['tab']?.select && tab.props!['tab']?.select()"
|
103
|
-
(nzDeselect)="tab.props!['tab']?.deselect && tab.props!['tab']?.deselect()"
|
104
|
-
>
|
105
|
-
<formly-field [field]="tab"></formly-field>
|
106
|
-
</nz-tab>
|
107
|
-
</nz-tabset>`,
|
108
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
109
|
-
}]
|
110
|
-
}] });
|
111
|
-
//# sourceMappingURL=data:application/json;base64,
|
1
|
+
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
2
|
+
import { FieldWrapper } from '@ngx-formly/core';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
import * as i1 from "@angular/common";
|
5
|
+
import * as i2 from "ng-zorro-antd/tabs";
|
6
|
+
import * as i3 from "@ngx-formly/core";
|
7
|
+
export class FormlyWrapperTabs extends FieldWrapper {
|
8
|
+
constructor() {
|
9
|
+
super(...arguments);
|
10
|
+
this.defaultOptions = {
|
11
|
+
props: {
|
12
|
+
animated: true,
|
13
|
+
size: 'default',
|
14
|
+
type: 'line',
|
15
|
+
tabPosition: 'top',
|
16
|
+
hideAll: false,
|
17
|
+
linkRouter: false,
|
18
|
+
linkExact: true,
|
19
|
+
centered: false,
|
20
|
+
hideAdd: false,
|
21
|
+
tab: {
|
22
|
+
forceRender: false,
|
23
|
+
disabled: false
|
24
|
+
}
|
25
|
+
}
|
26
|
+
};
|
27
|
+
}
|
28
|
+
}
|
29
|
+
FormlyWrapperTabs.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyWrapperTabs, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
30
|
+
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
|
31
|
+
[(nzSelectedIndex)]="props['selectedIndex']"
|
32
|
+
[nzAnimated]="props['animated']!"
|
33
|
+
[nzSize]="props['size']!"
|
34
|
+
[nzTabBarExtraContent]="props['tabBarExtraContent']"
|
35
|
+
[nzTabBarStyle]="props['tabBarStyle'] ?? null"
|
36
|
+
[nzTabPosition]="props['tabPosition']!"
|
37
|
+
[nzType]="props['type']!"
|
38
|
+
[nzTabBarGutter]="props['tabBarGutter']"
|
39
|
+
[nzHideAll]="props['hideAll']!!"
|
40
|
+
[nzLinkRouter]="props['linkRouter']!!"
|
41
|
+
[nzLinkExact]="props['linkExact']!!"
|
42
|
+
[nzCanDeactivate]="props['canDeactivate'] ?? null"
|
43
|
+
[nzHideAdd]="props['hideAdd']!!"
|
44
|
+
[nzAddIcon]="props['addIcon']!"
|
45
|
+
(nzSelectedIndexChange)="
|
46
|
+
props['selectedIndexChange'] && props['selectedIndexChange'](field, $event)
|
47
|
+
"
|
48
|
+
(nzSelectChange)="
|
49
|
+
props['selectChange'] && props['selectChange'](field, $event.index, $event.tab)
|
50
|
+
"
|
51
|
+
(nzAdd)="props['onAdd'] && props['onAdd'](field)"
|
52
|
+
(nzClose)="props['onClose'] && props['onClose'](field, $event.index)"
|
53
|
+
>
|
54
|
+
<nz-tab
|
55
|
+
*ngFor="let tab of field.fieldGroup; let i = index; let last = last"
|
56
|
+
[nzTitle]="tab.props?.label || ''"
|
57
|
+
[nzForceRender]="tab.props!['tab']?.forceRender"
|
58
|
+
[nzDisabled]="tab.props!['tab']?.disabled"
|
59
|
+
(nzClick)="tab.props!['tab']?.click && tab.props!['tab']?.click()"
|
60
|
+
(nzContextmenu)="tab.props!['tab']?.contextmenu && tab.props!['tab']?.contextmenu($event)"
|
61
|
+
(nzSelect)="tab.props!['tab']?.select && tab.props!['tab']?.select()"
|
62
|
+
(nzDeselect)="tab.props!['tab']?.deselect && tab.props!['tab']?.deselect()"
|
63
|
+
>
|
64
|
+
<formly-field [field]="tab"></formly-field>
|
65
|
+
</nz-tab>
|
66
|
+
</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 });
|
67
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyWrapperTabs, decorators: [{
|
68
|
+
type: Component,
|
69
|
+
args: [{
|
70
|
+
selector: 'formly-wrapper-tabs',
|
71
|
+
template: `<nz-tabset
|
72
|
+
[(nzSelectedIndex)]="props['selectedIndex']"
|
73
|
+
[nzAnimated]="props['animated']!"
|
74
|
+
[nzSize]="props['size']!"
|
75
|
+
[nzTabBarExtraContent]="props['tabBarExtraContent']"
|
76
|
+
[nzTabBarStyle]="props['tabBarStyle'] ?? null"
|
77
|
+
[nzTabPosition]="props['tabPosition']!"
|
78
|
+
[nzType]="props['type']!"
|
79
|
+
[nzTabBarGutter]="props['tabBarGutter']"
|
80
|
+
[nzHideAll]="props['hideAll']!!"
|
81
|
+
[nzLinkRouter]="props['linkRouter']!!"
|
82
|
+
[nzLinkExact]="props['linkExact']!!"
|
83
|
+
[nzCanDeactivate]="props['canDeactivate'] ?? null"
|
84
|
+
[nzHideAdd]="props['hideAdd']!!"
|
85
|
+
[nzAddIcon]="props['addIcon']!"
|
86
|
+
(nzSelectedIndexChange)="
|
87
|
+
props['selectedIndexChange'] && props['selectedIndexChange'](field, $event)
|
88
|
+
"
|
89
|
+
(nzSelectChange)="
|
90
|
+
props['selectChange'] && props['selectChange'](field, $event.index, $event.tab)
|
91
|
+
"
|
92
|
+
(nzAdd)="props['onAdd'] && props['onAdd'](field)"
|
93
|
+
(nzClose)="props['onClose'] && props['onClose'](field, $event.index)"
|
94
|
+
>
|
95
|
+
<nz-tab
|
96
|
+
*ngFor="let tab of field.fieldGroup; let i = index; let last = last"
|
97
|
+
[nzTitle]="tab.props?.label || ''"
|
98
|
+
[nzForceRender]="tab.props!['tab']?.forceRender"
|
99
|
+
[nzDisabled]="tab.props!['tab']?.disabled"
|
100
|
+
(nzClick)="tab.props!['tab']?.click && tab.props!['tab']?.click()"
|
101
|
+
(nzContextmenu)="tab.props!['tab']?.contextmenu && tab.props!['tab']?.contextmenu($event)"
|
102
|
+
(nzSelect)="tab.props!['tab']?.select && tab.props!['tab']?.select()"
|
103
|
+
(nzDeselect)="tab.props!['tab']?.deselect && tab.props!['tab']?.deselect()"
|
104
|
+
>
|
105
|
+
<formly-field [field]="tab"></formly-field>
|
106
|
+
</nz-tab>
|
107
|
+
</nz-tabset>`,
|
108
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
109
|
+
}]
|
110
|
+
}] });
|
111
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy53cmFwcGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC90YWJzL3NyYy90YWJzLndyYXBwZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBUSx1QkFBdUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6RSxPQUFPLEVBQUUsWUFBWSxFQUFxQixNQUFNLGtCQUFrQixDQUFDOzs7OztBQWlEbkUsTUFBTSxPQUFPLGlCQUFrQixTQUFRLFlBQTBDO0lBekNqRjs7UUEwQ1csbUJBQWMsR0FBRztZQUN4QixLQUFLLEVBQUU7Z0JBQ0wsUUFBUSxFQUFFLElBQUk7Z0JBQ2QsSUFBSSxFQUFFLFNBQWtCO2dCQUN4QixJQUFJLEVBQUUsTUFBZTtnQkFDckIsV0FBVyxFQUFFLEtBQWM7Z0JBQzNCLE9BQU8sRUFBRSxLQUFLO2dCQUNkLFVBQVUsRUFBRSxLQ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gICAgIDxmb3JtbHktZmllbGQgW2ZpZWxkXT1cInRhYlwiPjwvZm9ybWx5LWZpZWxkPlxuICAgIDwvbnotdGFiPlxuICA8L256LXRhYnNldD5gLFxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaFxufSlcbmV4cG9ydCBjbGFzcyBGb3JtbHlXcmFwcGVyVGFicyBleHRlbmRzIEZpZWxkV3JhcHBlcjxGb3JtbHlGaWVsZENvbmZpZzxUYWJzUHJvcHM+PiB7XG4gIG92ZXJyaWRlIGRlZmF1bHRPcHRpb25zID0ge1xuICAgIHByb3BzOiB7XG4gICAgICBhbmltYXRlZDogdHJ1ZSxcbiAgICAgIHNpemU6ICdkZWZhdWx0JyBhcyBjb25zdCxcbiAgICAgIHR5cGU6ICdsaW5lJyBhcyBjb25zdCxcbiAgICAgIHRhYlBvc2l0aW9uOiAndG9wJyBhcyBjb25zdCxcbiAgICAgIGhpZGVBbGw6IGZhbHNlLFxuICAgICAgbGlua1JvdXRlcjogZmFsc2UsXG4gICAgICBsaW5rRXhhY3Q6IHRydWUsXG4gICAgICBjZW50ZXJlZDogZmFsc2UsXG4gICAgICBoaWRlQWRkOiBmYWxzZSxcbiAgICAgIHRhYjoge1xuICAgICAgICBmb3JjZVJlbmRlcjogZmFsc2UsXG4gICAgICAgIGRpc2FibGVkOiBmYWxzZVxuICAgICAgfVxuICAgIH1cbiAgfTtcbn1cbiJdfQ==
|
@@ -1,5 +1,5 @@
|
|
1
|
-
/**
|
2
|
-
* Generated bundle index. Do not edit.
|
3
|
-
*/
|
4
|
-
export * from './public_api';
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
export * from './public_api';
|
5
5
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWZvcm1seS16b3Jyby1hbnRkLXRleHRhcmVhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC90ZXh0YXJlYS9zcmMvbmd4LWZvcm1seS16b3Jyby1hbnRkLXRleHRhcmVhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0=
|
@@ -1,3 +1,3 @@
|
|
1
|
-
export { FormlyNzTextareaModule } from './textarea.module';
|
2
|
-
export { FormlyFieldTextarea } from './textarea.type';
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
1
|
+
export { FormlyNzTextareaModule } from './textarea.module';
|
2
|
+
export { FormlyFieldTextarea } from './textarea.type';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvdGV4dGFyZWEvc3JjL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFDM0QsT0FBTyxFQUFFLG1CQUFtQixFQUE2QixNQUFNLGlCQUFpQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgRm9ybWx5TnpUZXh0YXJlYU1vZHVsZSB9IGZyb20gJy4vdGV4dGFyZWEubW9kdWxlJztcbmV4cG9ydCB7IEZvcm1seUZpZWxkVGV4dGFyZWEsIEZvcm1seVRleHRhcmVhRmllbGRDb25maWcgfSBmcm9tICcuL3RleHRhcmVhLnR5cGUnO1xuIl19
|
@@ -1,53 +1,51 @@
|
|
1
|
-
import { NgModule } from '@angular/core';
|
2
|
-
import { CommonModule } from '@angular/common';
|
3
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
4
|
-
import { FormlyModule } from '@ngx-formly/core';
|
5
|
-
import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
|
6
|
-
import { FormlyFieldTextarea } from './textarea.type';
|
7
|
-
import { NzInputModule } from 'ng-zorro-antd/input';
|
8
|
-
import * as i0 from "@angular/core";
|
9
|
-
import * as i1 from "@ngx-formly/core";
|
10
|
-
export class FormlyNzTextareaModule {
|
11
|
-
}
|
12
|
-
FormlyNzTextareaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
13
|
-
FormlyNzTextareaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
14
|
-
ReactiveFormsModule,
|
15
|
-
FormlyNzFormFieldModule,
|
16
|
-
NzInputModule, i1.FormlyModule] });
|
17
|
-
FormlyNzTextareaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
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
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dGFyZWEubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9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GRNb2R1bGUsXHJcbiAgICBOeklucHV0TW9kdWxlLFxyXG5cclxuICAgIEZvcm1seU1vZHVsZS5mb3JDaGlsZCh7XHJcbiAgICAgIHR5cGVzOiBbXHJcbiAgICAgICAge1xyXG4gICAgICAgICAgbmFtZTogJ3RleHRhcmVhJyxcclxuICAgICAgICAgIGNvbXBvbmVudDogRm9ybWx5RmllbGRUZXh0YXJlYSxcclxuICAgICAgICAgIHdyYXBwZXJzOiBbJ2Zvcm0tZmllbGQnXVxyXG4gICAgICAgIH1cclxuICAgICAgXVxyXG4gICAgfSlcclxuICBdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBGb3JtbHlOelRleHRhcmVhTW9kdWxlIHt9XHJcbiJdfQ==
|
1
|
+
import { NgModule } from '@angular/core';
|
2
|
+
import { CommonModule } from '@angular/common';
|
3
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
4
|
+
import { FormlyModule } from '@ngx-formly/core';
|
5
|
+
import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
|
6
|
+
import { FormlyFieldTextarea } from './textarea.type';
|
7
|
+
import { NzInputModule } from 'ng-zorro-antd/input';
|
8
|
+
import * as i0 from "@angular/core";
|
9
|
+
import * as i1 from "@ngx-formly/core";
|
10
|
+
export class FormlyNzTextareaModule {
|
11
|
+
}
|
12
|
+
FormlyNzTextareaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzTextareaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
13
|
+
FormlyNzTextareaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzTextareaModule, declarations: [FormlyFieldTextarea], imports: [CommonModule,
|
14
|
+
ReactiveFormsModule,
|
15
|
+
FormlyNzFormFieldModule,
|
16
|
+
NzInputModule, i1.FormlyModule] });
|
17
|
+
FormlyNzTextareaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzTextareaModule, imports: [CommonModule,
|
18
|
+
ReactiveFormsModule,
|
19
|
+
FormlyNzFormFieldModule,
|
20
|
+
NzInputModule,
|
21
|
+
FormlyModule.forChild({
|
22
|
+
types: [
|
23
|
+
{
|
24
|
+
name: 'textarea',
|
25
|
+
component: FormlyFieldTextarea,
|
26
|
+
wrappers: ['form-field']
|
27
|
+
}
|
28
|
+
]
|
29
|
+
})] });
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzTextareaModule, decorators: [{
|
31
|
+
type: NgModule,
|
32
|
+
args: [{
|
33
|
+
declarations: [FormlyFieldTextarea],
|
34
|
+
imports: [
|
35
|
+
CommonModule,
|
36
|
+
ReactiveFormsModule,
|
37
|
+
FormlyNzFormFieldModule,
|
38
|
+
NzInputModule,
|
39
|
+
FormlyModule.forChild({
|
40
|
+
types: [
|
41
|
+
{
|
42
|
+
name: 'textarea',
|
43
|
+
component: FormlyFieldTextarea,
|
44
|
+
wrappers: ['form-field']
|
45
|
+
}
|
46
|
+
]
|
47
|
+
})
|
48
|
+
]
|
49
|
+
}]
|
50
|
+
}] });
|
51
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dGFyZWEubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC90ZXh0YXJlYS9zcmMvdGV4dGFyZWEubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxN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gY2xhc3MgRm9ybWx5TnpUZXh0YXJlYU1vZHVsZSB7fVxuIl19
|
@@ -1,88 +1,88 @@
|
|
1
|
-
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
2
|
-
import { FieldType } from '@ngx-formly/core';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
import * as i1 from "
|
5
|
-
import * as i2 from "@angular/
|
6
|
-
import * as i3 from "
|
7
|
-
import * as i4 from "@ngx-formly/core";
|
8
|
-
export class FormlyFieldTextarea extends FieldType {
|
9
|
-
constructor() {
|
10
|
-
super(...arguments);
|
11
|
-
this.defaultOptions = {
|
12
|
-
props: {
|
13
|
-
rows: 4,
|
14
|
-
autosize: false,
|
15
|
-
borderless: false
|
16
|
-
}
|
17
|
-
};
|
18
|
-
}
|
19
|
-
}
|
20
|
-
FormlyFieldTextarea.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
21
|
-
FormlyFieldTextarea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
22
|
-
<nz-textarea-count
|
23
|
-
*ngIf="props['maxCharacterCount']; else textarea"
|
24
|
-
[nzMaxCharacterCount]="props['maxCharacterCount']"
|
25
|
-
>
|
26
|
-
<textarea
|
27
|
-
[formControl]="formControl"
|
28
|
-
[formlyAttributes]="field"
|
29
|
-
[ngClass]="props['className']"
|
30
|
-
[rows]="props.rows"
|
31
|
-
[cols]="props.cols"
|
32
|
-
nz-input
|
33
|
-
[nzBorderless]="props['borderless']"
|
34
|
-
[nzAutosize]="props['autosize']!"
|
35
|
-
></textarea>
|
36
|
-
</nz-textarea-count>
|
37
|
-
|
38
|
-
<ng-template #textarea>
|
39
|
-
<textarea
|
40
|
-
[formControl]="formControl"
|
41
|
-
[formlyAttributes]="field"
|
42
|
-
[ngClass]="props['className']"
|
43
|
-
[rows]="props.rows"
|
44
|
-
[cols]="props.cols"
|
45
|
-
nz-input
|
46
|
-
[nzBorderless]="props['borderless']"
|
47
|
-
[nzAutosize]="props['autosize']!"
|
48
|
-
></textarea>
|
49
|
-
</ng-template>
|
50
|
-
`, isInline: true,
|
51
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
52
|
-
type: Component,
|
53
|
-
args: [{
|
54
|
-
selector: 'formly-field-textarea',
|
55
|
-
template: `
|
56
|
-
<nz-textarea-count
|
57
|
-
*ngIf="props['maxCharacterCount']; else textarea"
|
58
|
-
[nzMaxCharacterCount]="props['maxCharacterCount']"
|
59
|
-
>
|
60
|
-
<textarea
|
61
|
-
[formControl]="formControl"
|
62
|
-
[formlyAttributes]="field"
|
63
|
-
[ngClass]="props['className']"
|
64
|
-
[rows]="props.rows"
|
65
|
-
[cols]="props.cols"
|
66
|
-
nz-input
|
67
|
-
[nzBorderless]="props['borderless']"
|
68
|
-
[nzAutosize]="props['autosize']!"
|
69
|
-
></textarea>
|
70
|
-
</nz-textarea-count>
|
71
|
-
|
72
|
-
<ng-template #textarea>
|
73
|
-
<textarea
|
74
|
-
[formControl]="formControl"
|
75
|
-
[formlyAttributes]="field"
|
76
|
-
[ngClass]="props['className']"
|
77
|
-
[rows]="props.rows"
|
78
|
-
[cols]="props.cols"
|
79
|
-
nz-input
|
80
|
-
[nzBorderless]="props['borderless']"
|
81
|
-
[nzAutosize]="props['autosize']!"
|
82
|
-
></textarea>
|
83
|
-
</ng-template>
|
84
|
-
`,
|
85
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
86
|
-
}]
|
87
|
-
}] });
|
88
|
-
//# sourceMappingURL=data:application/json;base64,
|
1
|
+
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
2
|
+
import { FieldType } from '@ngx-formly/core';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
import * as i1 from "@angular/common";
|
5
|
+
import * as i2 from "@angular/forms";
|
6
|
+
import * as i3 from "ng-zorro-antd/input";
|
7
|
+
import * as i4 from "@ngx-formly/core";
|
8
|
+
export class FormlyFieldTextarea extends FieldType {
|
9
|
+
constructor() {
|
10
|
+
super(...arguments);
|
11
|
+
this.defaultOptions = {
|
12
|
+
props: {
|
13
|
+
rows: 4,
|
14
|
+
autosize: false,
|
15
|
+
borderless: false
|
16
|
+
}
|
17
|
+
};
|
18
|
+
}
|
19
|
+
}
|
20
|
+
FormlyFieldTextarea.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldTextarea, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
21
|
+
FormlyFieldTextarea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldTextarea, selector: "formly-field-textarea", usesInheritance: true, ngImport: i0, template: `
|
22
|
+
<nz-textarea-count
|
23
|
+
*ngIf="props['maxCharacterCount']; else textarea"
|
24
|
+
[nzMaxCharacterCount]="props['maxCharacterCount']"
|
25
|
+
>
|
26
|
+
<textarea
|
27
|
+
[formControl]="formControl"
|
28
|
+
[formlyAttributes]="field"
|
29
|
+
[ngClass]="props['className']"
|
30
|
+
[rows]="props.rows"
|
31
|
+
[cols]="props.cols"
|
32
|
+
nz-input
|
33
|
+
[nzBorderless]="props['borderless']"
|
34
|
+
[nzAutosize]="props['autosize']!"
|
35
|
+
></textarea>
|
36
|
+
</nz-textarea-count>
|
37
|
+
|
38
|
+
<ng-template #textarea>
|
39
|
+
<textarea
|
40
|
+
[formControl]="formControl"
|
41
|
+
[formlyAttributes]="field"
|
42
|
+
[ngClass]="props['className']"
|
43
|
+
[rows]="props.rows"
|
44
|
+
[cols]="props.cols"
|
45
|
+
nz-input
|
46
|
+
[nzBorderless]="props['borderless']"
|
47
|
+
[nzAutosize]="props['autosize']!"
|
48
|
+
></textarea>
|
49
|
+
</ng-template>
|
50
|
+
`, 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 });
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldTextarea, decorators: [{
|
52
|
+
type: Component,
|
53
|
+
args: [{
|
54
|
+
selector: 'formly-field-textarea',
|
55
|
+
template: `
|
56
|
+
<nz-textarea-count
|
57
|
+
*ngIf="props['maxCharacterCount']; else textarea"
|
58
|
+
[nzMaxCharacterCount]="props['maxCharacterCount']"
|
59
|
+
>
|
60
|
+
<textarea
|
61
|
+
[formControl]="formControl"
|
62
|
+
[formlyAttributes]="field"
|
63
|
+
[ngClass]="props['className']"
|
64
|
+
[rows]="props.rows"
|
65
|
+
[cols]="props.cols"
|
66
|
+
nz-input
|
67
|
+
[nzBorderless]="props['borderless']"
|
68
|
+
[nzAutosize]="props['autosize']!"
|
69
|
+
></textarea>
|
70
|
+
</nz-textarea-count>
|
71
|
+
|
72
|
+
<ng-template #textarea>
|
73
|
+
<textarea
|
74
|
+
[formControl]="formControl"
|
75
|
+
[formlyAttributes]="field"
|
76
|
+
[ngClass]="props['className']"
|
77
|
+
[rows]="props.rows"
|
78
|
+
[cols]="props.cols"
|
79
|
+
nz-input
|
80
|
+
[nzBorderless]="props['borderless']"
|
81
|
+
[nzAutosize]="props['autosize']!"
|
82
|
+
></textarea>
|
83
|
+
</ng-template>
|
84
|
+
`,
|
85
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
86
|
+
}]
|
87
|
+
}] });
|
88
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dGFyZWEudHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvdGV4dGFyZWEvc3JjL3RleHRhcmVhLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBUSx1QkFBdUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6RSxPQUFPLEVBQUUsU0FBUyxFQUFzQyxNQUFNLGtCQUFrQixDQUFDOzs7Ozs7QUE0RGpGLE1BQU0sT0FBTyxtQkFBb0IsU0FBUSxTQUEwQjtJQWxDbkU7O1FBbUNXLG1CQUFjLEdBQUc7WUFDeEIsS0FBSyxFQUFFO2dCQUNMLElBQUksRUFBRSxDQUFDO2dCQUNQLFFBQVEsRUFBRSxLQUFLO2dCQUNmLFVBQVUsRUFBRSxLQUFLO2FBQ2xCO1NBQ0YsQ0FBQztLQUNIOztnSEFSWSxtQkFBbUI7b0dBQW5CLG1CQUFtQixvRkFoQ3BCOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQTZCVDsyRkFHVSxtQkFBbUI7a0JBbEMvQixTQUFTO21CQUFDO29CQUNULFFBQVEsRUFBRSx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bGFzc109XCJwcm9wc1snY2xhc3NOYW1lJ11cIlxuICAgICAgICBbcm93c109XCJwcm9wcy5yb3dzXCJcbiAgICAgICAgW2NvbHNdPVwicHJvcHMuY29sc1wiXG4gICAgICAgIG56LWlucHV0XG4gICAgICAgIFtuekJvcmRlcmxlc3NdPVwicHJvcHNbJ2JvcmRlcmxlc3MnXVwiXG4gICAgICAgIFtuekF1dG9zaXplXT1cInByb3BzWydhdXRvc2l6ZSddIVwiXG4gICAgICA+PC90ZXh0YXJlYT5cbiAgICA8L25nLXRlbXBsYXRlPlxuICBgLFxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaFxufSlcbmV4cG9ydCBjbGFzcyBGb3JtbHlGaWVsZFRleHRhcmVhIGV4dGVuZHMgRmllbGRUeXBlPEZpZWxkVHlwZUNvbmZpZz4ge1xuICBvdmVycmlkZSBkZWZhdWx0T3B0aW9ucyA9IHtcbiAgICBwcm9wczoge1xuICAgICAgcm93czogNCxcbiAgICAgIGF1dG9zaXplOiBmYWxzZSxcbiAgICAgIGJvcmRlcmxlc3M6IGZhbHNlXG4gICAgfVxuICB9O1xufVxuIl19
|
@@ -1,5 +1,5 @@
|
|
1
|
-
/**
|
2
|
-
* Generated bundle index. Do not edit.
|
3
|
-
*/
|
4
|
-
export * from './public_api';
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
export * from './public_api';
|
5
5
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWZvcm1seS16b3Jyby1hbnRkLXRpbWVwaWNrZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL3RpbWVwaWNrZXIvc3JjL25neC1mb3JtbHktem9ycm8tYW50ZC10aW1lcGlja2VyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0=
|
@@ -1,3 +1,3 @@
|
|
1
|
-
export { FormlyNzTimepickerModule } from './timepicker.module';
|
2
|
-
export { FormlyFieldTimepicker } from './timepicker.type';
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
1
|
+
export { FormlyNzTimepickerModule } from './timepicker.module';
|
2
|
+
export { FormlyFieldTimepicker } from './timepicker.type';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvdGltZXBpY2tlci9zcmMvcHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUMvRCxPQUFPLEVBQUUscUJBQXFCLEVBQStCLE1BQU0sbUJBQW1CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBGb3JtbHlOelRpbWVwaWNrZXJNb2R1bGUgfSBmcm9tICcuL3RpbWVwaWNrZXIubW9kdWxlJztcbmV4cG9ydCB7IEZvcm1seUZpZWxkVGltZXBpY2tlciwgRm9ybWx5VGltZXBpY2tlckZpZWxkQ29uZmlnIH0gZnJvbSAnLi90aW1lcGlja2VyLnR5cGUnO1xuIl19
|