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,69 +1,69 @@
|
|
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 FormlyFieldCheckbox extends FieldType {
|
9
|
-
constructor() {
|
10
|
-
super(...arguments);
|
11
|
-
this.defaultOptions = {
|
12
|
-
props: {
|
13
|
-
indeterminate: false,
|
14
|
-
hideLabel: true
|
15
|
-
}
|
16
|
-
};
|
17
|
-
}
|
18
|
-
}
|
19
|
-
FormlyFieldCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
20
|
-
FormlyFieldCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
21
|
-
<label
|
22
|
-
*ngIf="props.type !== 'group'; else checkboxgroup"
|
23
|
-
[formControl]="formControl"
|
24
|
-
[formlyAttributes]="field"
|
25
|
-
[nzIndeterminate]="props['indeterminate'] && formControl.value == null"
|
26
|
-
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
27
|
-
nz-checkbox
|
28
|
-
>
|
29
|
-
{{ props.label }}
|
30
|
-
</label>
|
31
|
-
|
32
|
-
<ng-template #checkboxgroup>
|
33
|
-
<nz-checkbox-group
|
34
|
-
[(ngModel)]="props.options"
|
35
|
-
[formControl]="formControl"
|
36
|
-
[formlyAttributes]="field"
|
37
|
-
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
38
|
-
></nz-checkbox-group>
|
39
|
-
</ng-template>
|
40
|
-
`, isInline: true,
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
42
|
-
type: Component,
|
43
|
-
args: [{
|
44
|
-
selector: 'formly-field-checkbox',
|
45
|
-
template: `
|
46
|
-
<label
|
47
|
-
*ngIf="props.type !== 'group'; else checkboxgroup"
|
48
|
-
[formControl]="formControl"
|
49
|
-
[formlyAttributes]="field"
|
50
|
-
[nzIndeterminate]="props['indeterminate'] && formControl.value == null"
|
51
|
-
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
52
|
-
nz-checkbox
|
53
|
-
>
|
54
|
-
{{ props.label }}
|
55
|
-
</label>
|
56
|
-
|
57
|
-
<ng-template #checkboxgroup>
|
58
|
-
<nz-checkbox-group
|
59
|
-
[(ngModel)]="props.options"
|
60
|
-
[formControl]="formControl"
|
61
|
-
[formlyAttributes]="field"
|
62
|
-
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
63
|
-
></nz-checkbox-group>
|
64
|
-
</ng-template>
|
65
|
-
`,
|
66
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
67
|
-
}]
|
68
|
-
}] });
|
69
|
-
//# 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/checkbox";
|
7
|
+
import * as i4 from "@ngx-formly/core";
|
8
|
+
export class FormlyFieldCheckbox extends FieldType {
|
9
|
+
constructor() {
|
10
|
+
super(...arguments);
|
11
|
+
this.defaultOptions = {
|
12
|
+
props: {
|
13
|
+
indeterminate: false,
|
14
|
+
hideLabel: true
|
15
|
+
}
|
16
|
+
};
|
17
|
+
}
|
18
|
+
}
|
19
|
+
FormlyFieldCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldCheckbox, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
20
|
+
FormlyFieldCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldCheckbox, selector: "formly-field-checkbox", usesInheritance: true, ngImport: i0, template: `
|
21
|
+
<label
|
22
|
+
*ngIf="props.type !== 'group'; else checkboxgroup"
|
23
|
+
[formControl]="formControl"
|
24
|
+
[formlyAttributes]="field"
|
25
|
+
[nzIndeterminate]="props['indeterminate'] && formControl.value == null"
|
26
|
+
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
27
|
+
nz-checkbox
|
28
|
+
>
|
29
|
+
{{ props.label }}
|
30
|
+
</label>
|
31
|
+
|
32
|
+
<ng-template #checkboxgroup>
|
33
|
+
<nz-checkbox-group
|
34
|
+
[(ngModel)]="props.options"
|
35
|
+
[formControl]="formControl"
|
36
|
+
[formlyAttributes]="field"
|
37
|
+
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
38
|
+
></nz-checkbox-group>
|
39
|
+
</ng-template>
|
40
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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.NzCheckboxComponent, selector: "[nz-checkbox]", inputs: ["nzValue", "nzAutoFocus", "nzDisabled", "nzIndeterminate", "nzChecked", "nzId"], outputs: ["nzCheckedChange"], exportAs: ["nzCheckbox"] }, { kind: "component", type: i3.NzCheckboxGroupComponent, selector: "nz-checkbox-group", inputs: ["nzDisabled"], exportAs: ["nzCheckboxGroup"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldCheckbox, decorators: [{
|
42
|
+
type: Component,
|
43
|
+
args: [{
|
44
|
+
selector: 'formly-field-checkbox',
|
45
|
+
template: `
|
46
|
+
<label
|
47
|
+
*ngIf="props.type !== 'group'; else checkboxgroup"
|
48
|
+
[formControl]="formControl"
|
49
|
+
[formlyAttributes]="field"
|
50
|
+
[nzIndeterminate]="props['indeterminate'] && formControl.value == null"
|
51
|
+
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
52
|
+
nz-checkbox
|
53
|
+
>
|
54
|
+
{{ props.label }}
|
55
|
+
</label>
|
56
|
+
|
57
|
+
<ng-template #checkboxgroup>
|
58
|
+
<nz-checkbox-group
|
59
|
+
[(ngModel)]="props.options"
|
60
|
+
[formControl]="formControl"
|
61
|
+
[formlyAttributes]="field"
|
62
|
+
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
63
|
+
></nz-checkbox-group>
|
64
|
+
</ng-template>
|
65
|
+
`,
|
66
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
67
|
+
}]
|
68
|
+
}] });
|
69
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3gudHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvY2hlY2tib3gvc3JjL2NoZWNrYm94LnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBUSx1QkFBdUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6RSxPQUFPLEVBQUUsU0FBUyxFQUFzQyxNQUFNLGtCQUFrQixDQUFDOzs7Ozs7QUFzRGpGLE1BQU0sT0FBTyxtQkFBb0IsU0FBUSxTQUF5QztJQXpCbEY7O1FBMEJX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ICAgICAgICBbKG5nTW9kZWwpXT1cInByb3BzLm9wdGlvbnNcIlxuICAgICAgICBbZm9ybUNvbnRyb2xdPVwiZm9ybUNvbnRyb2xcIlxuICAgICAgICBbZm9ybWx5QXR0cmlidXRlc109XCJmaWVsZFwiXG4gICAgICAgIChuZ01vZGVsQ2hhbmdlKT1cInByb3BzWydtb2RlbENoYW5nZSddICYmIHByb3BzWydtb2RlbENoYW5nZSddKGZpZWxkLCAkZXZlbnQpXCJcbiAgICAgID48L256LWNoZWNrYm94LWdyb3VwPlxuICAgIDwvbmctdGVtcGxhdGU+XG4gIGAsXG4gIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoXG59KVxuZXhwb3J0IGNsYXNzIEZvcm1seUZpZWxkQ2hlY2tib3ggZXh0ZW5kcyBGaWVsZFR5cGU8RmllbGRUeXBlQ29uZmlnPENoZWNrYm94UHJvcHM+PiB7XG4gIG92ZXJyaWRlIGRlZmF1bHRPcHRpb25zID0ge1xuICAgIHByb3BzOiB7XG4gICAgICBpbmRldGVybWluYXRlOiBmYWxzZSxcbiAgICAgIGhpZGVMYWJlbDogdHJ1ZVxuICAgIH1cbiAgfTtcbn1cbiJdfQ==
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWZvcm1seS16b3Jyby1hbnRkLWNoZWNrYm94LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC9jaGVja2JveC9zcmMvbmd4LWZvcm1seS16b3Jyby1hbnRkLWNoZWNrYm94LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0=
|
@@ -1,3 +1,3 @@
|
|
1
|
-
export { FormlyNzCheckboxModule } from './checkbox.module';
|
2
|
-
export { FormlyFieldCheckbox } from './checkbox.type';
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
1
|
+
export { FormlyNzCheckboxModule } from './checkbox.module';
|
2
|
+
export { FormlyFieldCheckbox } from './checkbox.type';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvY2hlY2tib3gvc3JjL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFDM0QsT0FBTyxFQUFFLG1CQUFtQixFQUE2QixNQUFNLGlCQUFpQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgRm9ybWx5TnpDaGVja2JveE1vZHVsZSB9IGZyb20gJy4vY2hlY2tib3gubW9kdWxlJztcbmV4cG9ydCB7IEZvcm1seUZpZWxkQ2hlY2tib3gsIEZvcm1seUNoZWNrYm94RmllbGRDb25maWcgfSBmcm9tICcuL2NoZWNrYm94LnR5cGUnO1xuIl19
|
@@ -1,53 +1,51 @@
|
|
1
|
-
import { NgModule } from '@angular/core';
|
2
|
-
import { CommonModule } from '@angular/common';
|
3
|
-
import { FormlyModule } from '@ngx-formly/core';
|
4
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
5
|
-
import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
|
6
|
-
import { NzDatePickerModule } from 'ng-zorro-antd/date-picker';
|
7
|
-
import { FormlyFieldDatepicker } from './datepicker.type';
|
8
|
-
import * as i0 from "@angular/core";
|
9
|
-
import * as i1 from "@ngx-formly/core";
|
10
|
-
export class FormlyNzDatepickerModule {
|
11
|
-
}
|
12
|
-
FormlyNzDatepickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
13
|
-
FormlyNzDatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
14
|
-
ReactiveFormsModule,
|
15
|
-
FormlyNzFormFieldModule,
|
16
|
-
NzDatePickerModule, i1.FormlyModule] });
|
17
|
-
FormlyNzDatepickerModule.ɵ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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZXBpY2tlci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL2RhdGVwaWNrZXIvc3JjL2RhdGVwaWNrZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUF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EZvcm1seU1vZHVsZS5mb3JDaGlsZCh7XHJcbiAgICAgIHR5cGVzOiBbXHJcbiAgICAgICAge1xyXG4gICAgICAgICAgbmFtZTogJ2RhdGVwaWNrZXInLFxyXG4gICAgICAgICAgY29tcG9uZW50OiBGb3JtbHlGaWVsZERhdGVwaWNrZXIsXHJcbiAgICAgICAgICB3cmFwcGVyczogWydmb3JtLWZpZWxkJ11cclxuICAgICAgICB9XHJcbiAgICAgIF1cclxuICAgIH0pXHJcbiAgXVxyXG59KVxyXG5leHBvcnQgY2xhc3MgRm9ybWx5TnpEYXRlcGlja2VyTW9kdWxlIHt9XHJcbiJdfQ==
|
1
|
+
import { NgModule } from '@angular/core';
|
2
|
+
import { CommonModule } from '@angular/common';
|
3
|
+
import { FormlyModule } from '@ngx-formly/core';
|
4
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
5
|
+
import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
|
6
|
+
import { NzDatePickerModule } from 'ng-zorro-antd/date-picker';
|
7
|
+
import { FormlyFieldDatepicker } from './datepicker.type';
|
8
|
+
import * as i0 from "@angular/core";
|
9
|
+
import * as i1 from "@ngx-formly/core";
|
10
|
+
export class FormlyNzDatepickerModule {
|
11
|
+
}
|
12
|
+
FormlyNzDatepickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzDatepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
13
|
+
FormlyNzDatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzDatepickerModule, declarations: [FormlyFieldDatepicker], imports: [CommonModule,
|
14
|
+
ReactiveFormsModule,
|
15
|
+
FormlyNzFormFieldModule,
|
16
|
+
NzDatePickerModule, i1.FormlyModule] });
|
17
|
+
FormlyNzDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzDatepickerModule, imports: [CommonModule,
|
18
|
+
ReactiveFormsModule,
|
19
|
+
FormlyNzFormFieldModule,
|
20
|
+
NzDatePickerModule,
|
21
|
+
FormlyModule.forChild({
|
22
|
+
types: [
|
23
|
+
{
|
24
|
+
name: 'datepicker',
|
25
|
+
component: FormlyFieldDatepicker,
|
26
|
+
wrappers: ['form-field']
|
27
|
+
}
|
28
|
+
]
|
29
|
+
})] });
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzDatepickerModule, decorators: [{
|
31
|
+
type: NgModule,
|
32
|
+
args: [{
|
33
|
+
declarations: [FormlyFieldDatepicker],
|
34
|
+
imports: [
|
35
|
+
CommonModule,
|
36
|
+
ReactiveFormsModule,
|
37
|
+
FormlyNzFormFieldModule,
|
38
|
+
NzDatePickerModule,
|
39
|
+
FormlyModule.forChild({
|
40
|
+
types: [
|
41
|
+
{
|
42
|
+
name: 'datepicker',
|
43
|
+
component: FormlyFieldDatepicker,
|
44
|
+
wrappers: ['form-field']
|
45
|
+
}
|
46
|
+
]
|
47
|
+
})
|
48
|
+
]
|
49
|
+
}]
|
50
|
+
}] });
|
51
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZXBpY2tlci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL2RhdGVwaWNrZXIvc3JjL2RhdGVwaWNrZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQ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ICAgICBdXG4gICAgfSlcbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBGb3JtbHlOekRhdGVwaWNrZXJNb2R1bGUge31cbiJdfQ==
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZXBpY2tlci5wcm9wcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvZGF0ZXBpY2tlci9zcmMvZGF0ZXBpY2tlci5wcm9wcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgVGVtcGxhdGVSZWYgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB0eXBlIHsgRm9ybWx5RmllbGRDb25maWcgfSBmcm9tICdAbmd4LWZvcm1seS9jb3JlJztcbmltcG9ydCB0eXBlIHsgRm9ybWx5RmllbGRQcm9wcyB9IGZyb20gJ25neC1mb3JtbHktem9ycm8tYW50ZC9mb3JtLWZpZWxkJztcblxuaW1wb3J0IHR5cGUgeyBGdW5jdGlvblByb3AsIE56U2FmZUFueSwgTnpTdGF0dXMgfSBmcm9tICduZy16b3Jyby1hbnRkL2NvcmUvdHlwZXMnO1xuaW1wb3J0IHR5cGUge1xuICBOekRhdGVNb2RlLFxuICBOekRhdGVQaWNrZXJTaXplVHlwZSxcbiAgUHJlc2V0UmFuZ2VzLFxuICBEaXNhYmxlZFRpbWVGbixcbiAgQ29tcGF0aWJsZURhdGVcbn0gZnJvbSAnbmctem9ycm8tYW50ZC9kYXRlLXBpY2tlcic7XG5cbmV4cG9ydCBpbnRlcmZhY2UgRGF0ZXBpY2tlclByb3BzIGV4dGVuZHMgRm9ybWx5RmllbGRQcm9wcyB7XG4gIHR5cGU/OiAnZGF0ZScgfCAncmFuZ2UnO1xuXG4gIC8qKlxuICAgKiDmmK/lkKbmmL7npLrmuIXpmaTmjInpkq5cbiAgICogQGRlZmF1bHQgdHJ1ZVxuICAgKi9cbiAgYWxsb3dDbGVhcj86IGJvb2xlYW47XG5cbiAgLyoqXG4gICAqIOiHquWKqOiOt+WPlueEpueCuVxuICAgKiBAZGVmYXVsdCB0cnVlXG4gICAqL1xuICBhdXRvRm9jdXM/OiBib29sZWFuO1xuXG4gIC8qKlxuICAgKiDmta7lsYLmmK/lkKblupTluKbmnInog4zmma/mnb9cbiAgICogQGRlZmF1bHQgZmFsc2VcbiAgICovXG4gIGJhY2tkcm9wPzogYm9vbGVhbjtcblxuICAvKipcbiAgICog6buY6K6k6Z2i5p2/5pel5pyfXG4gICAqIEBkZWZhdWx0IERhdGVbXVxuICAgKi9cbiAgZGVmYXVsdFBpY2tlclZhbHVlPzogQ29tcGF0aWJsZURhdGUgfCBudWxsO1xuXG4gIC8qKlxuICAgKiDkuI3lj6/pgInmi6nnmoTml6XmnJ9cbiAgICovXG4gIGRpc2FibGVkRGF0ZT86IChjdXJyZW50OiBEYXRlKSA9PiBib29sZWFuO1xuXG4gIC8qKlxuICAgKiDpop3lpJbnmoTlvLnlh7rml6XljoYgY2xhc3NOYW1lXG4gICAqL1xuICBkcm9wZG93bkNsYXNzTmFtZT86IHN0cmluZztcblxuICAvKipcbiAgICog5bGV56S655qE5pel5pyf5qC85byP77yM6KeBbnpGb3JtYXTnibnliKvor7TmmI5cbiAgICovXG4gIGZvcm1hdD86IHN0cmluZztcblxuICAvKipcbiAgICog5Li6IGlucHV0IOagh+etvuiuvue9ruWPquivu+WxnuaAp++8iOmBv+WFjeWcqOenu+WKqOiuvuWkh+S4iuinpuWPkeWwj+mUruebmO+8iVxuICAgKiBAZGVmYXVsdCBmYWxzZVxuICAgKi9cbiAgaW5wdXRSZWFkT25seT86IGJvb2xlYW47XG5cbiAgLyoqXG4gICAq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