ngx-formly-zorro-antd 13.0.0-rc.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +7 -0
- package/autocomplete/autocomplete.props.d.ts +39 -0
- package/autocomplete/ngx-formly-zorro-antd-autocomplete.d.ts +5 -0
- package/autocomplete/package.json +10 -0
- package/autocomplete/public_api.d.ts +1 -0
- package/button/button.module.d.ts +11 -0
- package/button/button.type.d.ts +65 -0
- package/button/ngx-formly-zorro-antd-button.d.ts +5 -0
- package/button/package.json +10 -0
- package/button/public_api.d.ts +2 -0
- package/card/card.module.d.ts +10 -0
- package/card/card.wrapper.d.ts +58 -0
- package/card/ngx-formly-zorro-antd-card.d.ts +5 -0
- package/card/package.json +10 -0
- package/card/public_api.d.ts +2 -0
- package/cascader/cascader.module.d.ts +12 -0
- package/cascader/cascader.type.d.ts +152 -0
- package/cascader/ngx-formly-zorro-antd-cascader.d.ts +5 -0
- package/cascader/package.json +10 -0
- package/cascader/public_api.d.ts +2 -0
- package/checkbox/checkbox.module.d.ts +12 -0
- package/checkbox/checkbox.type.d.ts +35 -0
- package/checkbox/ngx-formly-zorro-antd-checkbox.d.ts +5 -0
- package/checkbox/package.json +10 -0
- package/checkbox/public_api.d.ts +2 -0
- package/datepicker/datepicker.module.d.ts +12 -0
- package/datepicker/datepicker.props.d.ts +146 -0
- package/datepicker/datepicker.type.d.ts +31 -0
- package/datepicker/ngx-formly-zorro-antd-datepicker.d.ts +5 -0
- package/datepicker/package.json +10 -0
- package/datepicker/public_api.d.ts +2 -0
- package/esm2020/autocomplete/autocomplete.props.mjs +2 -0
- package/esm2020/autocomplete/ngx-formly-zorro-antd-autocomplete.mjs +5 -0
- package/esm2020/autocomplete/public_api.mjs +2 -0
- package/esm2020/button/button.module.mjs +63 -0
- package/esm2020/button/button.type.mjs +70 -0
- package/esm2020/button/ngx-formly-zorro-antd-button.mjs +5 -0
- package/esm2020/button/public_api.mjs +3 -0
- package/esm2020/card/card.module.mjs +45 -0
- package/esm2020/card/card.wrapper.mjs +47 -0
- package/esm2020/card/ngx-formly-zorro-antd-card.mjs +5 -0
- package/esm2020/card/public_api.mjs +3 -0
- package/esm2020/cascader/cascader.module.mjs +53 -0
- package/esm2020/cascader/cascader.type.mjs +112 -0
- package/esm2020/cascader/ngx-formly-zorro-antd-cascader.mjs +5 -0
- package/esm2020/cascader/public_api.mjs +3 -0
- package/esm2020/checkbox/checkbox.module.mjs +61 -0
- package/esm2020/checkbox/checkbox.type.mjs +69 -0
- package/esm2020/checkbox/ngx-formly-zorro-antd-checkbox.mjs +5 -0
- package/esm2020/checkbox/public_api.mjs +3 -0
- package/esm2020/datepicker/datepicker.module.mjs +53 -0
- package/esm2020/datepicker/datepicker.props.mjs +2 -0
- package/esm2020/datepicker/datepicker.type.mjs +189 -0
- package/esm2020/datepicker/ngx-formly-zorro-antd-datepicker.mjs +5 -0
- package/esm2020/datepicker/public_api.mjs +3 -0
- package/esm2020/form-field/form-field.module.mjs +47 -0
- package/esm2020/form-field/form-field.props.mjs +2 -0
- package/esm2020/form-field/form-field.wrapper.mjs +117 -0
- package/esm2020/form-field/ngx-formly-zorro-antd-form-field.mjs +5 -0
- package/esm2020/form-field/public_api.mjs +2 -0
- package/esm2020/index.mjs +2 -0
- package/esm2020/input/input.module.mjs +91 -0
- package/esm2020/input/input.props.mjs +2 -0
- package/esm2020/input/input.type.mjs +259 -0
- package/esm2020/input/ngx-formly-zorro-antd-input.mjs +5 -0
- package/esm2020/input/public_api.mjs +3 -0
- package/esm2020/input-group/input-group.module.mjs +43 -0
- package/esm2020/input-group/input-group.props.mjs +2 -0
- package/esm2020/input-group/input-group.type.mjs +71 -0
- package/esm2020/input-group/ngx-formly-zorro-antd-input-group.mjs +5 -0
- package/esm2020/input-group/public_api.mjs +3 -0
- package/esm2020/input-number/input-number.module.mjs +61 -0
- package/esm2020/input-number/input-number.props.mjs +2 -0
- package/esm2020/input-number/input-number.type.mjs +128 -0
- package/esm2020/input-number/ngx-formly-zorro-antd-input-number.mjs +5 -0
- package/esm2020/input-number/public_api.mjs +3 -0
- package/esm2020/lib/ui-ng-zorro-antd.mjs +2 -0
- package/esm2020/lib/ui-ng-zorro-antd.module.mjs +95 -0
- package/esm2020/ngx-formly-zorro-antd.mjs +5 -0
- package/esm2020/radio/ngx-formly-zorro-antd-radio.mjs +5 -0
- package/esm2020/radio/public_api.mjs +3 -0
- package/esm2020/radio/radio.module.mjs +61 -0
- package/esm2020/radio/radio.type.mjs +96 -0
- package/esm2020/rate/ngx-formly-zorro-antd-rate.mjs +5 -0
- package/esm2020/rate/public_api.mjs +3 -0
- package/esm2020/rate/rate.module.mjs +53 -0
- package/esm2020/rate/rate.type.mjs +63 -0
- package/esm2020/select/ngx-formly-zorro-antd-select.mjs +5 -0
- package/esm2020/select/public_api.mjs +3 -0
- package/esm2020/select/select.module.mjs +59 -0
- package/esm2020/select/select.props.mjs +2 -0
- package/esm2020/select/select.type.mjs +163 -0
- package/esm2020/slider/ngx-formly-zorro-antd-slider.mjs +5 -0
- package/esm2020/slider/public_api.mjs +3 -0
- package/esm2020/slider/slider.module.mjs +53 -0
- package/esm2020/slider/slider.type.mjs +67 -0
- package/esm2020/switch/ngx-formly-zorro-antd-switch.mjs +5 -0
- package/esm2020/switch/public_api.mjs +3 -0
- package/esm2020/switch/switch.module.mjs +53 -0
- package/esm2020/switch/switch.type.mjs +53 -0
- package/esm2020/tabs/ngx-formly-zorro-antd-tabs.mjs +5 -0
- package/esm2020/tabs/public_api.mjs +3 -0
- package/esm2020/tabs/tabs.module.mjs +43 -0
- package/esm2020/tabs/tabs.props.mjs +2 -0
- package/esm2020/tabs/tabs.wrapper.mjs +111 -0
- package/esm2020/textarea/ngx-formly-zorro-antd-textarea.mjs +5 -0
- package/esm2020/textarea/public_api.mjs +3 -0
- package/esm2020/textarea/textarea.module.mjs +53 -0
- package/esm2020/textarea/textarea.type.mjs +88 -0
- package/esm2020/timepicker/ngx-formly-zorro-antd-timepicker.mjs +5 -0
- package/esm2020/timepicker/public_api.mjs +3 -0
- package/esm2020/timepicker/timepicker.module.mjs +53 -0
- package/esm2020/timepicker/timepicker.type.mjs +92 -0
- package/esm2020/transfer/ngx-formly-zorro-antd-transfer.mjs +5 -0
- package/esm2020/transfer/public_api.mjs +3 -0
- package/esm2020/transfer/transfer.component.mjs +128 -0
- package/esm2020/transfer/transfer.module.mjs +54 -0
- package/esm2020/transfer/transfer.type.mjs +87 -0
- package/esm2020/tree-select/ngx-formly-zorro-antd-tree-select.mjs +5 -0
- package/esm2020/tree-select/public_api.mjs +3 -0
- package/esm2020/tree-select/tree-select.module.mjs +53 -0
- package/esm2020/tree-select/tree-select.type.mjs +98 -0
- package/esm2020/upload/ngx-formly-zorro-antd-upload.mjs +5 -0
- package/esm2020/upload/public_api.mjs +3 -0
- package/esm2020/upload/upload.component.mjs +174 -0
- package/esm2020/upload/upload.module.mjs +62 -0
- package/esm2020/upload/upload.type.mjs +119 -0
- package/fesm2015/ngx-formly-zorro-antd-autocomplete.mjs +4 -0
- package/fesm2015/ngx-formly-zorro-antd-autocomplete.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-button.mjs +135 -0
- package/fesm2015/ngx-formly-zorro-antd-button.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-card.mjs +95 -0
- package/fesm2015/ngx-formly-zorro-antd-card.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-cascader.mjs +167 -0
- package/fesm2015/ngx-formly-zorro-antd-cascader.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs +132 -0
- package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs +244 -0
- package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-form-field.mjs +166 -0
- package/fesm2015/ngx-formly-zorro-antd-form-field.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-input-group.mjs +116 -0
- package/fesm2015/ngx-formly-zorro-antd-input-group.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-input-number.mjs +191 -0
- package/fesm2015/ngx-formly-zorro-antd-input-number.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-input.mjs +352 -0
- package/fesm2015/ngx-formly-zorro-antd-input.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-radio.mjs +159 -0
- package/fesm2015/ngx-formly-zorro-antd-radio.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-rate.mjs +118 -0
- package/fesm2015/ngx-formly-zorro-antd-rate.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-select.mjs +223 -0
- package/fesm2015/ngx-formly-zorro-antd-select.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-slider.mjs +122 -0
- package/fesm2015/ngx-formly-zorro-antd-slider.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-switch.mjs +108 -0
- package/fesm2015/ngx-formly-zorro-antd-switch.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-tabs.mjs +156 -0
- package/fesm2015/ngx-formly-zorro-antd-tabs.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-textarea.mjs +143 -0
- package/fesm2015/ngx-formly-zorro-antd-textarea.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs +147 -0
- package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-transfer.mjs +264 -0
- package/fesm2015/ngx-formly-zorro-antd-transfer.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs +153 -0
- package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-upload.mjs +351 -0
- package/fesm2015/ngx-formly-zorro-antd-upload.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd.mjs +102 -0
- package/fesm2015/ngx-formly-zorro-antd.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-autocomplete.mjs +4 -0
- package/fesm2020/ngx-formly-zorro-antd-autocomplete.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-button.mjs +135 -0
- package/fesm2020/ngx-formly-zorro-antd-button.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-card.mjs +95 -0
- package/fesm2020/ngx-formly-zorro-antd-card.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-cascader.mjs +167 -0
- package/fesm2020/ngx-formly-zorro-antd-cascader.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs +132 -0
- package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs +244 -0
- package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-form-field.mjs +166 -0
- package/fesm2020/ngx-formly-zorro-antd-form-field.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-input-group.mjs +116 -0
- package/fesm2020/ngx-formly-zorro-antd-input-group.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-input-number.mjs +191 -0
- package/fesm2020/ngx-formly-zorro-antd-input-number.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-input.mjs +352 -0
- package/fesm2020/ngx-formly-zorro-antd-input.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-radio.mjs +159 -0
- package/fesm2020/ngx-formly-zorro-antd-radio.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-rate.mjs +118 -0
- package/fesm2020/ngx-formly-zorro-antd-rate.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-select.mjs +223 -0
- package/fesm2020/ngx-formly-zorro-antd-select.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-slider.mjs +122 -0
- package/fesm2020/ngx-formly-zorro-antd-slider.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-switch.mjs +108 -0
- package/fesm2020/ngx-formly-zorro-antd-switch.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-tabs.mjs +156 -0
- package/fesm2020/ngx-formly-zorro-antd-tabs.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-textarea.mjs +143 -0
- package/fesm2020/ngx-formly-zorro-antd-textarea.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs +147 -0
- package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-transfer.mjs +264 -0
- package/fesm2020/ngx-formly-zorro-antd-transfer.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs +153 -0
- package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-upload.mjs +350 -0
- package/fesm2020/ngx-formly-zorro-antd-upload.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd.mjs +102 -0
- package/fesm2020/ngx-formly-zorro-antd.mjs.map +1 -0
- package/form-field/form-field.module.d.ts +11 -0
- package/form-field/form-field.props.d.ts +77 -0
- package/form-field/form-field.wrapper.d.ts +9 -0
- package/form-field/ngx-formly-zorro-antd-form-field.d.ts +5 -0
- package/form-field/package.json +10 -0
- package/form-field/public_api.d.ts +3 -0
- package/index.d.ts +1 -0
- package/input/input.module.d.ts +14 -0
- package/input/input.props.d.ts +66 -0
- package/input/input.type.d.ts +26 -0
- package/input/ngx-formly-zorro-antd-input.d.ts +5 -0
- package/input/package.json +10 -0
- package/input/public_api.d.ts +2 -0
- package/input-group/input-group.module.d.ts +10 -0
- package/input-group/input-group.props.d.ts +56 -0
- package/input-group/input-group.type.d.ts +22 -0
- package/input-group/ngx-formly-zorro-antd-input-group.d.ts +5 -0
- package/input-group/package.json +10 -0
- package/input-group/public_api.d.ts +3 -0
- package/input-number/input-number.module.d.ts +12 -0
- package/input-number/input-number.props.d.ts +78 -0
- package/input-number/input-number.type.d.ts +24 -0
- package/input-number/ngx-formly-zorro-antd-input-number.d.ts +5 -0
- package/input-number/package.json +10 -0
- package/input-number/public_api.d.ts +2 -0
- package/lib/ui-ng-zorro-antd.d.ts +1 -0
- package/lib/ui-ng-zorro-antd.module.d.ts +26 -0
- package/ngx-formly-zorro-antd.d.ts +5 -0
- package/package.json +204 -0
- package/radio/ngx-formly-zorro-antd-radio.d.ts +5 -0
- package/radio/package.json +10 -0
- package/radio/public_api.d.ts +2 -0
- package/radio/radio.module.d.ts +14 -0
- package/radio/radio.type.d.ts +38 -0
- package/rate/ngx-formly-zorro-antd-rate.d.ts +5 -0
- package/rate/package.json +10 -0
- package/rate/public_api.d.ts +2 -0
- package/rate/rate.module.d.ts +12 -0
- package/rate/rate.type.d.ts +57 -0
- package/select/ngx-formly-zorro-antd-select.d.ts +5 -0
- package/select/package.json +10 -0
- package/select/public_api.d.ts +2 -0
- package/select/select.module.d.ts +13 -0
- package/select/select.props.d.ts +162 -0
- package/select/select.type.d.ts +35 -0
- package/slider/ngx-formly-zorro-antd-slider.d.ts +5 -0
- package/slider/package.json +10 -0
- package/slider/public_api.d.ts +2 -0
- package/slider/slider.module.d.ts +12 -0
- package/slider/slider.type.d.ts +76 -0
- package/switch/ngx-formly-zorro-antd-switch.d.ts +5 -0
- package/switch/package.json +10 -0
- package/switch/public_api.d.ts +2 -0
- package/switch/switch.module.d.ts +12 -0
- package/switch/switch.type.d.ts +44 -0
- package/tabs/ngx-formly-zorro-antd-tabs.d.ts +5 -0
- package/tabs/package.json +10 -0
- package/tabs/public_api.d.ts +2 -0
- package/tabs/tabs.module.d.ts +10 -0
- package/tabs/tabs.props.d.ts +127 -0
- package/tabs/tabs.wrapper.d.ts +28 -0
- package/textarea/ngx-formly-zorro-antd-textarea.d.ts +5 -0
- package/textarea/package.json +10 -0
- package/textarea/public_api.d.ts +2 -0
- package/textarea/textarea.module.d.ts +12 -0
- package/textarea/textarea.type.d.ts +38 -0
- package/timepicker/ngx-formly-zorro-antd-timepicker.d.ts +5 -0
- package/timepicker/package.json +10 -0
- package/timepicker/public_api.d.ts +2 -0
- package/timepicker/timepicker.module.d.ts +12 -0
- package/timepicker/timepicker.type.d.ts +131 -0
- package/transfer/ngx-formly-zorro-antd-transfer.d.ts +5 -0
- package/transfer/package.json +10 -0
- package/transfer/public_api.d.ts +2 -0
- package/transfer/transfer.component.d.ts +26 -0
- package/transfer/transfer.module.d.ts +13 -0
- package/transfer/transfer.type.d.ts +118 -0
- package/tree-select/ngx-formly-zorro-antd-tree-select.d.ts +5 -0
- package/tree-select/package.json +10 -0
- package/tree-select/public_api.d.ts +2 -0
- package/tree-select/tree-select.module.d.ts +12 -0
- package/tree-select/tree-select.type.d.ts +158 -0
- package/upload/ngx-formly-zorro-antd-upload.d.ts +5 -0
- package/upload/package.json +10 -0
- package/upload/public_api.d.ts +2 -0
- package/upload/upload.component.d.ts +27 -0
- package/upload/upload.module.d.ts +15 -0
- package/upload/upload.type.d.ts +173 -0
@@ -0,0 +1,10 @@
|
|
1
|
+
{
|
2
|
+
"module": "../fesm2015/ngx-formly-zorro-antd-form-field.mjs",
|
3
|
+
"es2020": "../fesm2020/ngx-formly-zorro-antd-form-field.mjs",
|
4
|
+
"esm2020": "../esm2020/form-field/ngx-formly-zorro-antd-form-field.mjs",
|
5
|
+
"fesm2020": "../fesm2020/ngx-formly-zorro-antd-form-field.mjs",
|
6
|
+
"fesm2015": "../fesm2015/ngx-formly-zorro-antd-form-field.mjs",
|
7
|
+
"typings": "ngx-formly-zorro-antd-form-field.d.ts",
|
8
|
+
"sideEffects": false,
|
9
|
+
"name": "ngx-formly-zorro-antd/form-field"
|
10
|
+
}
|
package/index.d.ts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
export * from './lib/ui-ng-zorro-antd';
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./input.type";
|
3
|
+
import * as i2 from "@angular/common";
|
4
|
+
import * as i3 from "@angular/forms";
|
5
|
+
import * as i4 from "ng-zorro-antd/input";
|
6
|
+
import * as i5 from "ng-zorro-antd/auto-complete";
|
7
|
+
import * as i6 from "ng-zorro-antd/icon";
|
8
|
+
import * as i7 from "ngx-formly-zorro-antd/form-field";
|
9
|
+
import * as i8 from "@ngx-formly/core";
|
10
|
+
export declare class FormlyNzInputModule {
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNzInputModule, never>;
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNzInputModule, [typeof i1.FormlyFieldInput], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.NzInputModule, typeof i5.NzAutocompleteModule, typeof i6.NzIconModule, typeof i7.FormlyNzFormFieldModule, typeof i8.FormlyModule], never>;
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNzInputModule>;
|
14
|
+
}
|
@@ -0,0 +1,66 @@
|
|
1
|
+
import { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';
|
2
|
+
import { InputGroupProps } from 'ngx-formly-zorro-antd/input-group';
|
3
|
+
import type { NzSafeAny, NzSizeLDSType, NzStatus } from 'ng-zorro-antd/core/types';
|
4
|
+
import { AutocompleteDataSource } from 'ng-zorro-antd/auto-complete';
|
5
|
+
export interface InputProps extends FormlyFieldProps, InputGroupProps {
|
6
|
+
/**
|
7
|
+
* autoComplete=>输入框自动完成
|
8
|
+
*
|
9
|
+
* group=>组
|
10
|
+
*/
|
11
|
+
type?: 'input' | 'password' | 'group' | 'autoComplete';
|
12
|
+
/**
|
13
|
+
* 控件大小。注:标准表单内的输入框大小限制为 large
|
14
|
+
* @default default
|
15
|
+
*/
|
16
|
+
size?: NzSizeLDSType;
|
17
|
+
/**
|
18
|
+
* 无边框
|
19
|
+
* @default false
|
20
|
+
*/
|
21
|
+
borderless?: boolean;
|
22
|
+
/**
|
23
|
+
* 设置校验状态
|
24
|
+
*/
|
25
|
+
status?: NzStatus;
|
26
|
+
/**
|
27
|
+
* 支持清除
|
28
|
+
* @default false
|
29
|
+
*/
|
30
|
+
allowClear?: boolean;
|
31
|
+
/** 输入框自动完成配置选项 */
|
32
|
+
autocompleteOptions?: {
|
33
|
+
/**
|
34
|
+
* 使用键盘选择选项的时候,会把当前高亮项的值即时回填到输入框中
|
35
|
+
* @default false
|
36
|
+
*/
|
37
|
+
backfill?: boolean;
|
38
|
+
/**
|
39
|
+
* 自动完成的数据源
|
40
|
+
*/
|
41
|
+
dataSource?: AutocompleteDataSource;
|
42
|
+
/**
|
43
|
+
* 是否默认高亮第一个选项
|
44
|
+
* @default true
|
45
|
+
*/
|
46
|
+
defaultActiveFirstOption?: boolean;
|
47
|
+
/**
|
48
|
+
* 自定义宽度单位 px
|
49
|
+
*/
|
50
|
+
width?: number;
|
51
|
+
/**
|
52
|
+
* 下拉根元素的类名称
|
53
|
+
*/
|
54
|
+
overlayClassName?: string;
|
55
|
+
/**
|
56
|
+
* 下拉根元素的样式
|
57
|
+
*/
|
58
|
+
overlayStyle?: object;
|
59
|
+
/**
|
60
|
+
* 与 SelectControlValueAccessor 相同
|
61
|
+
* @default
|
62
|
+
* (o1: any, o2: any) => o1===o2
|
63
|
+
*/
|
64
|
+
compareWith?: (o1: NzSafeAny, o2: NzSafeAny) => boolean;
|
65
|
+
};
|
66
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { Type } from '@angular/core';
|
2
|
+
import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
|
3
|
+
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
4
|
+
import { InputProps } from './input.props';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
export interface FormlyInputFieldConfig extends FormlyFieldConfig<InputProps> {
|
7
|
+
type: 'input' | 'string' | 'password' | Type<FormlyFieldInput>;
|
8
|
+
}
|
9
|
+
export declare class FormlyFieldInput extends FieldType<FieldTypeConfig> {
|
10
|
+
defaultOptions: {
|
11
|
+
props: {
|
12
|
+
borderless: boolean;
|
13
|
+
compact: boolean;
|
14
|
+
search: boolean;
|
15
|
+
allowClear: boolean;
|
16
|
+
autocompleteOptions: {
|
17
|
+
backfill: boolean;
|
18
|
+
defaultActiveFirstOption: boolean;
|
19
|
+
compareWith: (o1: NzSafeAny, o2: NzSafeAny) => boolean;
|
20
|
+
};
|
21
|
+
};
|
22
|
+
};
|
23
|
+
passwordVisible: boolean;
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldInput, never>;
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldInput, "formly-field-input", never, {}, {}, never, never>;
|
26
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
{
|
2
|
+
"module": "../fesm2015/ngx-formly-zorro-antd-input.mjs",
|
3
|
+
"es2020": "../fesm2020/ngx-formly-zorro-antd-input.mjs",
|
4
|
+
"esm2020": "../esm2020/input/ngx-formly-zorro-antd-input.mjs",
|
5
|
+
"fesm2020": "../fesm2020/ngx-formly-zorro-antd-input.mjs",
|
6
|
+
"fesm2015": "../fesm2015/ngx-formly-zorro-antd-input.mjs",
|
7
|
+
"typings": "ngx-formly-zorro-antd-input.d.ts",
|
8
|
+
"sideEffects": false,
|
9
|
+
"name": "ngx-formly-zorro-antd/input"
|
10
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./input-group.type";
|
3
|
+
import * as i2 from "@angular/common";
|
4
|
+
import * as i3 from "ng-zorro-antd/input";
|
5
|
+
import * as i4 from "@ngx-formly/core";
|
6
|
+
export declare class FormlyNzInputGroupModule {
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNzInputGroupModule, never>;
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNzInputGroupModule, [typeof i1.FormlyFieldInputGroup], [typeof i2.CommonModule, typeof i3.NzInputModule, typeof i4.FormlyModule], never>;
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNzInputGroupModule>;
|
10
|
+
}
|
@@ -0,0 +1,56 @@
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
2
|
+
import type { FormlyFieldProps } from '@ngx-formly/core';
|
3
|
+
import type { NzSizeLDSType, NzStatus } from 'ng-zorro-antd/core/types';
|
4
|
+
export interface InputGroupProps extends FormlyFieldProps {
|
5
|
+
/**
|
6
|
+
* 带有后缀图标的 input,可以与 suffixIcon 配合使用
|
7
|
+
*/
|
8
|
+
prefixIcon?: string | null;
|
9
|
+
/**
|
10
|
+
* 带有后缀图标的 input,可以与 prefixIcon 配合使用
|
11
|
+
*/
|
12
|
+
suffixIcon?: string | null;
|
13
|
+
/**
|
14
|
+
* 带标签的 input,设置后置标签,可以与 nzAddOnBefore 配合使用
|
15
|
+
*/
|
16
|
+
addOnAfter?: string | TemplateRef<void>;
|
17
|
+
/**
|
18
|
+
* 带标签的 input,设置前置标签,可以与 nzAddOnAfter 配合使用
|
19
|
+
*/
|
20
|
+
addOnBefore?: string | TemplateRef<void>;
|
21
|
+
/**
|
22
|
+
* 带标签的 input,设置后置标签,可以与 addOnBeforeIcon 配合使用
|
23
|
+
*/
|
24
|
+
addOnAfterIcon?: string | null;
|
25
|
+
/**
|
26
|
+
* 带标签的 input,设置后置标签,可以与 addOnAfterIcon 配合使用
|
27
|
+
*/
|
28
|
+
addOnBeforeIcon?: string | null;
|
29
|
+
/**
|
30
|
+
* 带有前缀图标的 input,可以与 nzSuffix 配合使用
|
31
|
+
*/
|
32
|
+
prefix?: string | TemplateRef<void>;
|
33
|
+
/**
|
34
|
+
* 带有后缀图标的 input,可以与 nzPrefix 配合使用
|
35
|
+
*/
|
36
|
+
suffix?: string | TemplateRef<void>;
|
37
|
+
/**
|
38
|
+
* 是否用紧凑模式
|
39
|
+
* @default false
|
40
|
+
*/
|
41
|
+
compact?: boolean;
|
42
|
+
/**
|
43
|
+
* 是否用搜索框
|
44
|
+
* @default false
|
45
|
+
*/
|
46
|
+
search?: boolean;
|
47
|
+
/**
|
48
|
+
* 控件大小。注:标准表单内的输入框大小限制为 large
|
49
|
+
* @default default
|
50
|
+
*/
|
51
|
+
size?: NzSizeLDSType;
|
52
|
+
/**
|
53
|
+
* 设置校验状态
|
54
|
+
*/
|
55
|
+
status?: NzStatus;
|
56
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { Type } from '@angular/core';
|
2
|
+
import { FieldType, FormlyFieldConfig, FieldTypeConfig } from '@ngx-formly/core';
|
3
|
+
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
4
|
+
import type { InputGroupProps } from './input-group.props';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
export interface FormlyInputGroupFieldConfig extends FormlyFieldConfig<InputGroupProps> {
|
7
|
+
type: 'input-group' | Type<FormlyFieldInputGroup>;
|
8
|
+
}
|
9
|
+
export declare class FormlyFieldInputGroup extends FieldType<FieldTypeConfig<InputGroupProps>> {
|
10
|
+
defaultOptions: {
|
11
|
+
props: {
|
12
|
+
status: "";
|
13
|
+
size: "default";
|
14
|
+
};
|
15
|
+
};
|
16
|
+
get group(): FormlyFieldConfig<import("@ngx-formly/core").FormlyFieldProps & {
|
17
|
+
[additionalProperties: string]: any;
|
18
|
+
}>[] | undefined;
|
19
|
+
trackById(index: number, envent: NzSafeAny): any;
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldInputGroup, never>;
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldInputGroup, "formly-field-input-group", never, {}, {}, never, never>;
|
22
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
{
|
2
|
+
"module": "../fesm2015/ngx-formly-zorro-antd-input-group.mjs",
|
3
|
+
"es2020": "../fesm2020/ngx-formly-zorro-antd-input-group.mjs",
|
4
|
+
"esm2020": "../esm2020/input-group/ngx-formly-zorro-antd-input-group.mjs",
|
5
|
+
"fesm2020": "../fesm2020/ngx-formly-zorro-antd-input-group.mjs",
|
6
|
+
"fesm2015": "../fesm2015/ngx-formly-zorro-antd-input-group.mjs",
|
7
|
+
"typings": "ngx-formly-zorro-antd-input-group.d.ts",
|
8
|
+
"sideEffects": false,
|
9
|
+
"name": "ngx-formly-zorro-antd/input-group"
|
10
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./input-number.type";
|
3
|
+
import * as i2 from "@angular/common";
|
4
|
+
import * as i3 from "@angular/forms";
|
5
|
+
import * as i4 from "ngx-formly-zorro-antd/form-field";
|
6
|
+
import * as i5 from "ng-zorro-antd/input-number";
|
7
|
+
import * as i6 from "@ngx-formly/core";
|
8
|
+
export declare class FormlyNzInputNumberModule {
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNzInputNumberModule, never>;
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNzInputNumberModule, [typeof i1.FormlyFieldInputNumber], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyNzFormFieldModule, typeof i5.NzInputNumberModule, typeof i6.FormlyModule], never>;
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNzInputNumberModule>;
|
12
|
+
}
|
@@ -0,0 +1,78 @@
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
2
|
+
import type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';
|
3
|
+
import type { NzSizeLDSType, NzStatus } from 'ng-zorro-antd/core/types';
|
4
|
+
export interface InputNumberProps extends FormlyFieldProps {
|
5
|
+
type?: 'number' | 'group';
|
6
|
+
/**
|
7
|
+
* 自动获取焦点
|
8
|
+
* @default false
|
9
|
+
*/
|
10
|
+
autoFocus?: boolean;
|
11
|
+
/**
|
12
|
+
* 指定输入框展示值的格式
|
13
|
+
*/
|
14
|
+
formatter?: (value: number | string) => string | number;
|
15
|
+
/**
|
16
|
+
* 指定从 formatter 里转换回数字的方式,和 formatter 搭配使用
|
17
|
+
* @default
|
18
|
+
* (value: string) => value.trim().replace(/。/g, '.').replace(/[^\w\.-]+/g, '')
|
19
|
+
*/
|
20
|
+
parser?: (value: string) => string;
|
21
|
+
/**
|
22
|
+
* 数值精度
|
23
|
+
*/
|
24
|
+
precision?: number;
|
25
|
+
/**
|
26
|
+
* 数值精度的取值方式
|
27
|
+
* @default toFixed
|
28
|
+
*/
|
29
|
+
precisionMode?: 'cut' | 'toFixed' | ((value: number | string, precision?: number) => number);
|
30
|
+
/**
|
31
|
+
* 输入框大小
|
32
|
+
* @default default
|
33
|
+
*/
|
34
|
+
size?: NzSizeLDSType;
|
35
|
+
/**
|
36
|
+
* 设置校验状态
|
37
|
+
*/
|
38
|
+
status?: NzStatus;
|
39
|
+
/**
|
40
|
+
* 无边框
|
41
|
+
* @default false
|
42
|
+
*/
|
43
|
+
borderless?: boolean;
|
44
|
+
/**
|
45
|
+
* 提供了用户在编辑元素或其内容时可能输入的数据类型的提示,详见MDN
|
46
|
+
* @default decimal
|
47
|
+
*/
|
48
|
+
inputMode?: string;
|
49
|
+
/**
|
50
|
+
* 带标签的 input-number,设置后置标签,可以与 nzAddOnBefore 配合使用
|
51
|
+
*/
|
52
|
+
addOnAfter?: string | TemplateRef<void>;
|
53
|
+
/**
|
54
|
+
* 带标签的 input-number,设置前置标签,可以与 nzAddOnAfter 配合使用
|
55
|
+
*/
|
56
|
+
addOnBefore?: string | TemplateRef<void>;
|
57
|
+
/**
|
58
|
+
* 带有前缀图标的 input-number,可以与 nzSuffix 配合使用
|
59
|
+
*/
|
60
|
+
prefix?: string | TemplateRef<void>;
|
61
|
+
/**
|
62
|
+
* 带有后缀图标的 input-number,可以与 nzPrefix 配合使用
|
63
|
+
*/
|
64
|
+
suffix?: string | TemplateRef<void>;
|
65
|
+
/**
|
66
|
+
* 带有前缀图标的 input-number
|
67
|
+
*/
|
68
|
+
prefixIcon?: string;
|
69
|
+
/**
|
70
|
+
* 带有后缀图标的 input-number
|
71
|
+
*/
|
72
|
+
suffixIcon?: string;
|
73
|
+
/**
|
74
|
+
* 是否用紧凑模式
|
75
|
+
* @default false
|
76
|
+
*/
|
77
|
+
compact?: boolean;
|
78
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { Type } from '@angular/core';
|
2
|
+
import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
|
3
|
+
import type { InputNumberProps } from './input-number.props';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export interface FormlyInputNumberFieldConfig extends FormlyFieldConfig<InputNumberProps> {
|
6
|
+
type: 'number' | 'integer' | Type<FormlyFieldInputNumber>;
|
7
|
+
}
|
8
|
+
export declare class FormlyFieldInputNumber extends FieldType<FieldTypeConfig> {
|
9
|
+
defaultOptions: {
|
10
|
+
props: {
|
11
|
+
max: number;
|
12
|
+
min: number;
|
13
|
+
parser: (value: string) => string;
|
14
|
+
precisionMode: "toFixed";
|
15
|
+
size: "default";
|
16
|
+
status: "";
|
17
|
+
step: number;
|
18
|
+
inputMode: string;
|
19
|
+
formatter: (value: number | string) => string | number;
|
20
|
+
};
|
21
|
+
};
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldInputNumber, never>;
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldInputNumber, "formly-field-inputnumber", never, {}, {}, never, never>;
|
24
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
{
|
2
|
+
"module": "../fesm2015/ngx-formly-zorro-antd-input-number.mjs",
|
3
|
+
"es2020": "../fesm2020/ngx-formly-zorro-antd-input-number.mjs",
|
4
|
+
"esm2020": "../esm2020/input-number/ngx-formly-zorro-antd-input-number.mjs",
|
5
|
+
"fesm2020": "../fesm2020/ngx-formly-zorro-antd-input-number.mjs",
|
6
|
+
"fesm2015": "../fesm2015/ngx-formly-zorro-antd-input-number.mjs",
|
7
|
+
"typings": "ngx-formly-zorro-antd-input-number.d.ts",
|
8
|
+
"sideEffects": false,
|
9
|
+
"name": "ngx-formly-zorro-antd/input-number"
|
10
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export { FormlyNgAntdModule } from './ui-ng-zorro-antd.module';
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "ngx-formly-zorro-antd/form-field";
|
3
|
+
import * as i2 from "ngx-formly-zorro-antd/input";
|
4
|
+
import * as i3 from "ngx-formly-zorro-antd/input-number";
|
5
|
+
import * as i4 from "ngx-formly-zorro-antd/input-group";
|
6
|
+
import * as i5 from "ngx-formly-zorro-antd/textarea";
|
7
|
+
import * as i6 from "ngx-formly-zorro-antd/radio";
|
8
|
+
import * as i7 from "ngx-formly-zorro-antd/checkbox";
|
9
|
+
import * as i8 from "ngx-formly-zorro-antd/select";
|
10
|
+
import * as i9 from "ngx-formly-zorro-antd/switch";
|
11
|
+
import * as i10 from "ngx-formly-zorro-antd/cascader";
|
12
|
+
import * as i11 from "ngx-formly-zorro-antd/datepicker";
|
13
|
+
import * as i12 from "ngx-formly-zorro-antd/rate";
|
14
|
+
import * as i13 from "ngx-formly-zorro-antd/slider";
|
15
|
+
import * as i14 from "ngx-formly-zorro-antd/timepicker";
|
16
|
+
import * as i15 from "ngx-formly-zorro-antd/transfer";
|
17
|
+
import * as i16 from "ngx-formly-zorro-antd/tree-select";
|
18
|
+
import * as i17 from "ngx-formly-zorro-antd/upload";
|
19
|
+
import * as i18 from "ngx-formly-zorro-antd/tabs";
|
20
|
+
import * as i19 from "ngx-formly-zorro-antd/card";
|
21
|
+
import * as i20 from "ngx-formly-zorro-antd/button";
|
22
|
+
export declare class FormlyNgAntdModule {
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNgAntdModule, never>;
|
24
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNgAntdModule, never, [typeof i1.FormlyNzFormFieldModule, typeof i2.FormlyNzInputModule, typeof i3.FormlyNzInputNumberModule, typeof i4.FormlyNzInputGroupModule, typeof i5.FormlyNzTextareaModule, typeof i6.FormlyNzRadioModule, typeof i7.FormlyNzCheckboxModule, typeof i8.FormlyNzSelectModule, typeof i9.FormlyNzSwitchModule, typeof i10.FormlyNzCascaderModule, typeof i11.FormlyNzDatepickerModule, typeof i12.FormlyNzRateModule, typeof i13.FormlyNzSliderModule, typeof i14.FormlyNzTimepickerModule, typeof i15.FormlyNzTransferModule, typeof i16.FormlyNzTreeSelectModule, typeof i17.FormlyNzUploadModule, typeof i18.FormlyNzTabsModule, typeof i19.FormlyNzCardModule, typeof i20.FormlyNzButtonModule], never>;
|
25
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNgAntdModule>;
|
26
|
+
}
|