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,146 +1,144 @@
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
2
|
-
import type { FormlyFieldConfig } from '@ngx-formly/core';
|
3
|
-
import type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';
|
4
|
-
import type { FunctionProp, NzSafeAny, NzStatus } from 'ng-zorro-antd/core/types';
|
5
|
-
import type { NzDateMode, NzDatePickerSizeType, PresetRanges, DisabledTimeFn, CompatibleDate } from 'ng-zorro-antd/date-picker';
|
6
|
-
export interface DatepickerProps extends FormlyFieldProps {
|
7
|
-
type?: 'date' | 'range';
|
8
|
-
/**
|
9
|
-
* 是否显示清除按钮
|
10
|
-
* @default true
|
11
|
-
*/
|
12
|
-
allowClear?: boolean;
|
13
|
-
/**
|
14
|
-
* 自动获取焦点
|
15
|
-
* @default true
|
16
|
-
*/
|
17
|
-
autoFocus?: boolean;
|
18
|
-
/**
|
19
|
-
* 浮层是否应带有背景板
|
20
|
-
* @default false
|
21
|
-
*/
|
22
|
-
backdrop?: boolean;
|
23
|
-
/**
|
24
|
-
* 默认面板日期
|
25
|
-
* @default Date[]
|
26
|
-
*/
|
27
|
-
defaultPickerValue?: CompatibleDate | null;
|
28
|
-
/**
|
29
|
-
* 不可选择的日期
|
30
|
-
*/
|
31
|
-
disabledDate?: (current: Date) => boolean;
|
32
|
-
/**
|
33
|
-
* 额外的弹出日历 className
|
34
|
-
*/
|
35
|
-
dropdownClassName?: string;
|
36
|
-
/**
|
37
|
-
* 展示的日期格式,见nzFormat特别说明
|
38
|
-
*/
|
39
|
-
format?: string;
|
40
|
-
/**
|
41
|
-
* 为 input 标签设置只读属性(避免在移动设备上触发小键盘)
|
42
|
-
* @default false
|
43
|
-
*/
|
44
|
-
inputReadOnly?: boolean;
|
45
|
-
/**
|
46
|
-
* 选择模式
|
47
|
-
* @default date
|
48
|
-
*/
|
49
|
-
mode?: NzDateMode;
|
50
|
-
/**
|
51
|
-
* 额外的弹出日历样式
|
52
|
-
* @default {}
|
53
|
-
*/
|
54
|
-
popupStyle?: object;
|
55
|
-
/**
|
56
|
-
* 在面板中添加额外的页脚
|
57
|
-
*/
|
58
|
-
renderExtraFooter?: TemplateRef<NzSafeAny> | string | FunctionProp<TemplateRef<NzSafeAny> | string>;
|
59
|
-
/**
|
60
|
-
* 输入框大小
|
61
|
-
*/
|
62
|
-
size?: NzDatePickerSizeType;
|
63
|
-
/**
|
64
|
-
* 设置校验状态
|
65
|
-
*/
|
66
|
-
status?: NzStatus;
|
67
|
-
/**
|
68
|
-
* 选择框弹出的位置
|
69
|
-
* @default bottomLeft
|
70
|
-
*/
|
71
|
-
placement?: 'bottomLeft' | 'bottomRight' | 'topLeft' | 'topRight';
|
72
|
-
/**
|
73
|
-
* 自定义的后缀图标
|
74
|
-
*/
|
75
|
-
suffixIcon?: string | TemplateRef<NzSafeAny>;
|
76
|
-
/**
|
77
|
-
* 移除边框
|
78
|
-
* @default false
|
79
|
-
*/
|
80
|
-
borderless?: boolean;
|
81
|
-
/**
|
82
|
-
* 内联模式
|
83
|
-
* @default false
|
84
|
-
*/
|
85
|
-
inline?: boolean;
|
86
|
-
/**
|
87
|
-
* 自定义日期单元格的内容(month-picker/year-picker不支持)
|
88
|
-
*/
|
89
|
-
dateRender?: TemplateRef<Date> | string | ((d: Date) => TemplateRef<Date> | string);
|
90
|
-
/**
|
91
|
-
* 不可选择的时间
|
92
|
-
*/
|
93
|
-
disabledTime?: (current: Date) => {
|
94
|
-
nzDisabledHours: NzSafeAny;
|
95
|
-
nzDisabledMinutes: NzSafeAny;
|
96
|
-
nzDisabledSeconds: NzSafeAny;
|
97
|
-
};
|
98
|
-
/**
|
99
|
-
* 增加时间选择功能
|
100
|
-
*/
|
101
|
-
showTime?: boolean | object;
|
102
|
-
/**
|
103
|
-
* 是否展示“今天”按钮
|
104
|
-
* @default true
|
105
|
-
*/
|
106
|
-
showToday?: boolean;
|
107
|
-
/**
|
108
|
-
* 当设定了nzShowTime的时候,面板是否显示“此刻”按钮
|
109
|
-
* @default true
|
110
|
-
*/
|
111
|
-
showNow?: boolean;
|
112
|
-
/**
|
113
|
-
* 弹出日历和关闭日历的回调
|
114
|
-
*/
|
115
|
-
openChange?: (field: FormlyFieldConfig, event: boolean) => void;
|
116
|
-
/**
|
117
|
-
* 点击确定按钮的回调
|
118
|
-
*/
|
119
|
-
onOk?: (field: FormlyFieldConfig, date: CompatibleDate | null) => void;
|
120
|
-
/**
|
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
|
-
}
|
1
|
+
import { TemplateRef } from '@angular/core';
|
2
|
+
import type { FormlyFieldConfig } from '@ngx-formly/core';
|
3
|
+
import type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';
|
4
|
+
import type { FunctionProp, NzSafeAny, NzStatus } from 'ng-zorro-antd/core/types';
|
5
|
+
import type { NzDateMode, NzDatePickerSizeType, PresetRanges, DisabledTimeFn, CompatibleDate } from 'ng-zorro-antd/date-picker';
|
6
|
+
export interface DatepickerProps extends FormlyFieldProps {
|
7
|
+
type?: 'date' | 'range';
|
8
|
+
/**
|
9
|
+
* 是否显示清除按钮
|
10
|
+
* @default true
|
11
|
+
*/
|
12
|
+
allowClear?: boolean;
|
13
|
+
/**
|
14
|
+
* 自动获取焦点
|
15
|
+
* @default true
|
16
|
+
*/
|
17
|
+
autoFocus?: boolean;
|
18
|
+
/**
|
19
|
+
* 浮层是否应带有背景板
|
20
|
+
* @default false
|
21
|
+
*/
|
22
|
+
backdrop?: boolean;
|
23
|
+
/**
|
24
|
+
* 默认面板日期
|
25
|
+
* @default Date[]
|
26
|
+
*/
|
27
|
+
defaultPickerValue?: CompatibleDate | null;
|
28
|
+
/**
|
29
|
+
* 不可选择的日期
|
30
|
+
*/
|
31
|
+
disabledDate?: (current: Date) => boolean;
|
32
|
+
/**
|
33
|
+
* 额外的弹出日历 className
|
34
|
+
*/
|
35
|
+
dropdownClassName?: string;
|
36
|
+
/**
|
37
|
+
* 展示的日期格式,见nzFormat特别说明
|
38
|
+
*/
|
39
|
+
format?: string;
|
40
|
+
/**
|
41
|
+
* 为 input 标签设置只读属性(避免在移动设备上触发小键盘)
|
42
|
+
* @default false
|
43
|
+
*/
|
44
|
+
inputReadOnly?: boolean;
|
45
|
+
/**
|
46
|
+
* 选择模式
|
47
|
+
* @default date
|
48
|
+
*/
|
49
|
+
mode?: NzDateMode;
|
50
|
+
/**
|
51
|
+
* 额外的弹出日历样式
|
52
|
+
* @default {}
|
53
|
+
*/
|
54
|
+
popupStyle?: object;
|
55
|
+
/**
|
56
|
+
* 在面板中添加额外的页脚
|
57
|
+
*/
|
58
|
+
renderExtraFooter?: TemplateRef<NzSafeAny> | string | FunctionProp<TemplateRef<NzSafeAny> | string>;
|
59
|
+
/**
|
60
|
+
* 输入框大小
|
61
|
+
*/
|
62
|
+
size?: NzDatePickerSizeType;
|
63
|
+
/**
|
64
|
+
* 设置校验状态
|
65
|
+
*/
|
66
|
+
status?: NzStatus;
|
67
|
+
/**
|
68
|
+
* 选择框弹出的位置
|
69
|
+
* @default bottomLeft
|
70
|
+
*/
|
71
|
+
placement?: 'bottomLeft' | 'bottomRight' | 'topLeft' | 'topRight';
|
72
|
+
/**
|
73
|
+
* 自定义的后缀图标
|
74
|
+
*/
|
75
|
+
suffixIcon?: string | TemplateRef<NzSafeAny>;
|
76
|
+
/**
|
77
|
+
* 移除边框
|
78
|
+
* @default false
|
79
|
+
*/
|
80
|
+
borderless?: boolean;
|
81
|
+
/**
|
82
|
+
* 内联模式
|
83
|
+
* @default false
|
84
|
+
*/
|
85
|
+
inline?: boolean;
|
86
|
+
/**
|
87
|
+
* 自定义日期单元格的内容(month-picker/year-picker不支持)
|
88
|
+
*/
|
89
|
+
dateRender?: TemplateRef<Date> | string | ((d: Date) => TemplateRef<Date> | string);
|
90
|
+
/**
|
91
|
+
* 不可选择的时间
|
92
|
+
*/
|
93
|
+
disabledTime?: (current: Date) => {
|
94
|
+
nzDisabledHours: NzSafeAny;
|
95
|
+
nzDisabledMinutes: NzSafeAny;
|
96
|
+
nzDisabledSeconds: NzSafeAny;
|
97
|
+
};
|
98
|
+
/**
|
99
|
+
* 增加时间选择功能
|
100
|
+
*/
|
101
|
+
showTime?: boolean | object;
|
102
|
+
/**
|
103
|
+
* 是否展示“今天”按钮
|
104
|
+
* @default true
|
105
|
+
*/
|
106
|
+
showToday?: boolean;
|
107
|
+
/**
|
108
|
+
* 当设定了nzShowTime的时候,面板是否显示“此刻”按钮
|
109
|
+
* @default true
|
110
|
+
*/
|
111
|
+
showNow?: boolean;
|
112
|
+
/**
|
113
|
+
* 弹出日历和关闭日历的回调
|
114
|
+
*/
|
115
|
+
openChange?: (field: FormlyFieldConfig, event: boolean) => void;
|
116
|
+
/**
|
117
|
+
* 点击确定按钮的回调
|
118
|
+
*/
|
119
|
+
onOk?: (field: FormlyFieldConfig, date: CompatibleDate | null) => void;
|
120
|
+
/** 数值改变时回调 */
|
121
|
+
modelChange?: (field: FormlyFieldConfig, date?: Date | Date[] | null) => void;
|
122
|
+
/**
|
123
|
+
* 日期范围选择器配置
|
124
|
+
*/
|
125
|
+
rangeOptions?: {
|
126
|
+
/**
|
127
|
+
* 预设时间范围快捷选择
|
128
|
+
*/
|
129
|
+
ranges?: PresetRanges;
|
130
|
+
/**
|
131
|
+
* 分隔符
|
132
|
+
* @default ~
|
133
|
+
*/
|
134
|
+
separator?: string;
|
135
|
+
/**
|
136
|
+
* 待选日期发生变化的回调
|
137
|
+
*/
|
138
|
+
calendarChange?: (field: FormlyFieldConfig, range: NzSafeAny) => void;
|
139
|
+
/**
|
140
|
+
* 不可选择的时间
|
141
|
+
*/
|
142
|
+
disabledTime?: DisabledTimeFn;
|
143
|
+
};
|
144
|
+
}
|
@@ -1,31 +1,31 @@
|
|
1
|
-
import { Type } from '@angular/core';
|
2
|
-
import { FieldType, FormlyFieldConfig, FieldTypeConfig } from '@ngx-formly/core';
|
3
|
-
import type { DatepickerProps } from './datepicker.props';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
export interface FormlyDatepickerFieldConfig extends FormlyFieldConfig<DatepickerProps> {
|
6
|
-
type: 'datepicker' | Type<FormlyFieldDatepicker>;
|
7
|
-
}
|
8
|
-
export declare class FormlyFieldDatepicker extends FieldType<FieldTypeConfig> {
|
9
|
-
defaultOptions: {
|
10
|
-
props: {
|
11
|
-
allowClear: boolean;
|
12
|
-
backdrop: boolean;
|
13
|
-
defaultPickerValue: null;
|
14
|
-
inputReadOnly: boolean;
|
15
|
-
mode: "date";
|
16
|
-
size: "default";
|
17
|
-
status: "";
|
18
|
-
placement: "bottomLeft";
|
19
|
-
popupStyle: {};
|
20
|
-
borderless: boolean;
|
21
|
-
inline: boolean;
|
22
|
-
showToday: boolean;
|
23
|
-
showNow: boolean;
|
24
|
-
rangeOptions: {
|
25
|
-
separator: string;
|
26
|
-
};
|
27
|
-
};
|
28
|
-
};
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldDatepicker, never>;
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldDatepicker, "formly-field-datepicker", never, {}, {}, never, never>;
|
31
|
-
}
|
1
|
+
import { Type } from '@angular/core';
|
2
|
+
import { FieldType, FormlyFieldConfig, FieldTypeConfig } from '@ngx-formly/core';
|
3
|
+
import type { DatepickerProps } from './datepicker.props';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export interface FormlyDatepickerFieldConfig extends FormlyFieldConfig<DatepickerProps> {
|
6
|
+
type: 'datepicker' | Type<FormlyFieldDatepicker>;
|
7
|
+
}
|
8
|
+
export declare class FormlyFieldDatepicker extends FieldType<FieldTypeConfig> {
|
9
|
+
defaultOptions: {
|
10
|
+
props: {
|
11
|
+
allowClear: boolean;
|
12
|
+
backdrop: boolean;
|
13
|
+
defaultPickerValue: null;
|
14
|
+
inputReadOnly: boolean;
|
15
|
+
mode: "date";
|
16
|
+
size: "default";
|
17
|
+
status: "";
|
18
|
+
placement: "bottomLeft";
|
19
|
+
popupStyle: {};
|
20
|
+
borderless: boolean;
|
21
|
+
inline: boolean;
|
22
|
+
showToday: boolean;
|
23
|
+
showNow: boolean;
|
24
|
+
rangeOptions: {
|
25
|
+
separator: string;
|
26
|
+
};
|
27
|
+
};
|
28
|
+
};
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldDatepicker, never>;
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldDatepicker, "formly-field-datepicker", never, {}, {}, never, never, false>;
|
31
|
+
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
/**
|
2
|
-
* Generated bundle index. Do not edit.
|
3
|
-
*/
|
4
|
-
/// <amd-module name="ngx-formly-zorro-antd/datepicker" />
|
5
|
-
export * from './public_api';
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
/// <amd-module name="ngx-formly-zorro-antd/datepicker" />
|
5
|
+
export * from './public_api';
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export { FormlyNzDatepickerModule } from './datepicker.module';
|
2
|
-
export { FormlyFieldDatepicker, FormlyDatepickerFieldConfig } from './datepicker.type';
|
1
|
+
export { FormlyNzDatepickerModule } from './datepicker.module';
|
2
|
+
export { FormlyFieldDatepicker, FormlyDatepickerFieldConfig } from './datepicker.type';
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0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Q2xhc3NOYW1lPzogc3RyaW5nO1xuXG4gIC8qKlxuICAgKiDkuIvmi4nmoLnlhYPntKDnmoTmoLflvI9cbiAgICovXG4gIG92ZXJsYXlTdHlsZT86IHtcbiAgICBba2V5OiBzdHJpbmddOiBzdHJpbmc7XG4gIH07XG5cbiAgLyoqXG4gICAqIOS4jiBTZWxlY3RDb250cm9sVmFsdWVBY2Nlc3NvciDnm7jlkIxcbiAgICogQGRlZmF1bHRcbiAgICogKG8xOiBhbnksIG8yOiBhbnkpID0+IG8xPT09bzJcbiAgICovXG4gIGNvbXBhcmVXaXRoPzogQ29tcGFyZVdpdGg7XG59XG4iXX0=
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWZvcm1seS16b3Jyby1hbnRkLWF1dG9jb21wbGV0ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvYXV0b2NvbXBsZXRlL3NyYy9uZ3gtZm9ybWx5LXpvcnJvLWFudGQtYXV0b2NvbXBsZXRlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0=
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvYXV0b2NvbXBsZXRlL3NyYy9wdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBBdXRvY29tcGxldGVQcm9wcyB9IGZyb20gJy4vYXV0b2NvbXBsZXRlLnByb3BzJztcbiJdfQ==
|
@@ -1,63 +1,61 @@
|
|
1
|
-
import { NgModule } from '@angular/core';
|
2
|
-
import { CommonModule } from '@angular/common';
|
3
|
-
import { FormlyModule } from '@ngx-formly/core';
|
4
|
-
import { FormlyFieldButton } from './button.type';
|
5
|
-
import { NzButtonModule } from 'ng-zorro-antd/button';
|
6
|
-
import { NzIconModule } from 'ng-zorro-antd/icon';
|
7
|
-
import * as i0 from "@angular/core";
|
8
|
-
import * as i1 from "@ngx-formly/core";
|
9
|
-
export class FormlyNzButtonModule {
|
10
|
-
}
|
11
|
-
FormlyNzButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
12
|
-
FormlyNzButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
13
|
-
NzButtonModule,
|
14
|
-
NzIconModule, i1.FormlyModule] });
|
15
|
-
FormlyNzButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
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ZnJvbSAnbmctem9ycm8tYW50ZC9idXR0b24nO1xyXG5pbXBvcnQgeyBOekljb25Nb2R1bGUgfSBmcm9tICduZy16b3Jyby1hbnRkL2ljb24nO1xyXG5cclxuQE5nTW9kdWxlKHtcclxuICBkZWNsYXJhdGlvbnM6IFtGb3JtbHlGaWVsZEJ1dHRvbl0sXHJcbiAgaW1wb3J0czogW1xyXG4gICAgQ29tbW9uTW9kdWxlLFxyXG4gICAgTnpCdXR0b25Nb2R1bGUsXHJcbiAgICBOekljb25Nb2R1bGUsXHJcblxyXG4gICAgRm9ybWx5TW9kdWxlLmZvckNoaWxkKHtcclxuICAgICAgdHlwZXM6IFtcclxuICAgICAgICB7XHJcbiAgICAgICAgICBuYW1lOiAnYnV0dG9uJyxcclxuICAgICAgICAgIGNvbXBvbmVudDogRm9ybWx5RmllbGRCdXR0b25cclxuICAgICAgICB9LFxyXG4gICAgICAgIHtcclxuICAgICAgICAgIG5hbWU6ICdzdWJtaXQnLFxyXG4gICAgICAgICAgZXh0ZW5kczogJ2J1dHRvbidcclxuICAgICAgICB9LFxyXG4gICAgICAgIHtcclxuICAgICAgICAgIG5hbWU6ICdyZXNldCcsXHJcbiAgICAgICAgICBleHRlbmRzOiAnYnV0dG9uJ1xyXG4gICAgICAgIH1cclxuICAgICAgXVxyXG4gICAgfSlcclxuICBdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBGb3JtbHlOekJ1dHRvbk1vZHVsZSB7fVxyXG4iXX0=
|
1
|
+
import { NgModule } from '@angular/core';
|
2
|
+
import { CommonModule } from '@angular/common';
|
3
|
+
import { FormlyModule } from '@ngx-formly/core';
|
4
|
+
import { FormlyFieldButton } from './button.type';
|
5
|
+
import { NzButtonModule } from 'ng-zorro-antd/button';
|
6
|
+
import { NzIconModule } from 'ng-zorro-antd/icon';
|
7
|
+
import * as i0 from "@angular/core";
|
8
|
+
import * as i1 from "@ngx-formly/core";
|
9
|
+
export class FormlyNzButtonModule {
|
10
|
+
}
|
11
|
+
FormlyNzButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
12
|
+
FormlyNzButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzButtonModule, declarations: [FormlyFieldButton], imports: [CommonModule,
|
13
|
+
NzButtonModule,
|
14
|
+
NzIconModule, i1.FormlyModule] });
|
15
|
+
FormlyNzButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzButtonModule, imports: [CommonModule,
|
16
|
+
NzButtonModule,
|
17
|
+
NzIconModule,
|
18
|
+
FormlyModule.forChild({
|
19
|
+
types: [
|
20
|
+
{
|
21
|
+
name: 'button',
|
22
|
+
component: FormlyFieldButton
|
23
|
+
},
|
24
|
+
{
|
25
|
+
name: 'submit',
|
26
|
+
extends: 'button'
|
27
|
+
},
|
28
|
+
{
|
29
|
+
name: 'reset',
|
30
|
+
extends: 'button'
|
31
|
+
}
|
32
|
+
]
|
33
|
+
})] });
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzButtonModule, decorators: [{
|
35
|
+
type: NgModule,
|
36
|
+
args: [{
|
37
|
+
declarations: [FormlyFieldButton],
|
38
|
+
imports: [
|
39
|
+
CommonModule,
|
40
|
+
NzButtonModule,
|
41
|
+
NzIconModule,
|
42
|
+
FormlyModule.forChild({
|
43
|
+
types: [
|
44
|
+
{
|
45
|
+
name: 'button',
|
46
|
+
component: FormlyFieldButton
|
47
|
+
},
|
48
|
+
{
|
49
|
+
name: 'submit',
|
50
|
+
extends: 'button'
|
51
|
+
},
|
52
|
+
{
|
53
|
+
name: 'reset',
|
54
|
+
extends: 'button'
|
55
|
+
}
|
56
|
+
]
|
57
|
+
})
|
58
|
+
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