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,76 @@
|
|
1
|
+
import { Type } from '@angular/core';
|
2
|
+
import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
|
3
|
+
import type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';
|
4
|
+
import type { NzSliderShowTooltip } from 'ng-zorro-antd/slider';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
interface SlideProps extends FormlyFieldProps {
|
7
|
+
/**
|
8
|
+
* 是否只能拖拽到刻度上
|
9
|
+
* @default false
|
10
|
+
*/
|
11
|
+
dots?: boolean;
|
12
|
+
/**
|
13
|
+
* marks 不为空对象时有效,值为 true 时表示值为包含关系,false 表示并列
|
14
|
+
* @default true
|
15
|
+
*/
|
16
|
+
included?: boolean;
|
17
|
+
/**
|
18
|
+
* 刻度标记,key 的类型必须为 number 且取值在闭区间 [min, max] 内,每个标签可以单独设置样式
|
19
|
+
* @default
|
20
|
+
* { number: string/HTML } or { number: { style: object, label: string/HTML } }
|
21
|
+
*/
|
22
|
+
marks?: object;
|
23
|
+
/**
|
24
|
+
* 双滑块模式
|
25
|
+
* @default false
|
26
|
+
*/
|
27
|
+
range?: boolean;
|
28
|
+
/**
|
29
|
+
* Slider 会把当前值传给 nzTipFormatter,并在 Tooltip 中显示 nzTipFormatter 的返回值,若为 null,则隐藏 Tooltip。
|
30
|
+
*/
|
31
|
+
tipFormatter?: (value: number) => string;
|
32
|
+
/**
|
33
|
+
* 值为 true 时,Slider 为垂直方向
|
34
|
+
* @default false
|
35
|
+
*/
|
36
|
+
vertical?: boolean;
|
37
|
+
/**
|
38
|
+
* 反向坐标轴
|
39
|
+
* @default false
|
40
|
+
*/
|
41
|
+
reverse?: boolean;
|
42
|
+
/**
|
43
|
+
* 值为 always 时总是显示,值为 never 时在任何情况下都不显示
|
44
|
+
* @default default
|
45
|
+
*/
|
46
|
+
tooltipVisible?: NzSliderShowTooltip;
|
47
|
+
/**
|
48
|
+
* 设置 Tooltip 的默认位置。
|
49
|
+
*/
|
50
|
+
tooltipPlacement?: string;
|
51
|
+
/**
|
52
|
+
* 与 onmouseup 触发时机一致,把当前值作为参数传入。
|
53
|
+
*/
|
54
|
+
afterChange?: (field: FormlyFieldConfig, value: number[] | number) => void;
|
55
|
+
}
|
56
|
+
export interface FormlySlideFieldConfig extends FormlyFieldConfig<SlideProps> {
|
57
|
+
type: 'slider' | Type<FormlyFieldSlider>;
|
58
|
+
}
|
59
|
+
export declare class FormlyFieldSlider extends FieldType<FieldTypeConfig<SlideProps>> {
|
60
|
+
defaultOptions: {
|
61
|
+
props: {
|
62
|
+
max: number;
|
63
|
+
min: number;
|
64
|
+
step: number;
|
65
|
+
dots: boolean;
|
66
|
+
included: boolean;
|
67
|
+
range: boolean;
|
68
|
+
vertical: boolean;
|
69
|
+
reverse: boolean;
|
70
|
+
tooltipVisible: "default";
|
71
|
+
};
|
72
|
+
};
|
73
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldSlider, never>;
|
74
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldSlider, "formly-field-slider", never, {}, {}, never, never>;
|
75
|
+
}
|
76
|
+
export {};
|
@@ -0,0 +1,10 @@
|
|
1
|
+
{
|
2
|
+
"module": "../fesm2015/ngx-formly-zorro-antd-switch.mjs",
|
3
|
+
"es2020": "../fesm2020/ngx-formly-zorro-antd-switch.mjs",
|
4
|
+
"esm2020": "../esm2020/switch/ngx-formly-zorro-antd-switch.mjs",
|
5
|
+
"fesm2020": "../fesm2020/ngx-formly-zorro-antd-switch.mjs",
|
6
|
+
"fesm2015": "../fesm2015/ngx-formly-zorro-antd-switch.mjs",
|
7
|
+
"typings": "ngx-formly-zorro-antd-switch.d.ts",
|
8
|
+
"sideEffects": false,
|
9
|
+
"name": "ngx-formly-zorro-antd/switch"
|
10
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./switch.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/switch";
|
7
|
+
import * as i6 from "@ngx-formly/core";
|
8
|
+
export declare class FormlyNzSwitchModule {
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNzSwitchModule, never>;
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNzSwitchModule, [typeof i1.FormlyFieldSwitch], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyNzFormFieldModule, typeof i5.NzSwitchModule, typeof i6.FormlyModule], never>;
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNzSwitchModule>;
|
12
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
import { Type, TemplateRef } from '@angular/core';
|
2
|
+
import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
|
3
|
+
import type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';
|
4
|
+
import type { NzSizeDSType } from 'ng-zorro-antd/core/types';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
interface SwitchProps extends FormlyFieldProps {
|
7
|
+
/**
|
8
|
+
* 选中时的内容
|
9
|
+
*/
|
10
|
+
checkedChildren?: string | TemplateRef<void> | null;
|
11
|
+
/**
|
12
|
+
* 非选中时的内容
|
13
|
+
*/
|
14
|
+
unCheckedChildren?: string | TemplateRef<void> | null;
|
15
|
+
/**
|
16
|
+
* 开关大小
|
17
|
+
*/
|
18
|
+
size?: NzSizeDSType;
|
19
|
+
/**
|
20
|
+
* 加载中的开关
|
21
|
+
* @default false
|
22
|
+
*/
|
23
|
+
loading?: boolean;
|
24
|
+
/**
|
25
|
+
* 是否完全由用户控制状态
|
26
|
+
* @default false
|
27
|
+
*/
|
28
|
+
control?: boolean;
|
29
|
+
}
|
30
|
+
export interface FormlySwitchFieldConfig extends FormlyFieldConfig<SwitchProps> {
|
31
|
+
type: 'switch' | Type<FormlyFieldSwitch>;
|
32
|
+
}
|
33
|
+
export declare class FormlyFieldSwitch extends FieldType<FieldTypeConfig<SwitchProps>> {
|
34
|
+
defaultOptions: {
|
35
|
+
props: {
|
36
|
+
size: "default";
|
37
|
+
loading: boolean;
|
38
|
+
control: boolean;
|
39
|
+
};
|
40
|
+
};
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldSwitch, never>;
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldSwitch, "formly-field-switch", never, {}, {}, never, never>;
|
43
|
+
}
|
44
|
+
export {};
|
@@ -0,0 +1,10 @@
|
|
1
|
+
{
|
2
|
+
"module": "../fesm2015/ngx-formly-zorro-antd-tabs.mjs",
|
3
|
+
"es2020": "../fesm2020/ngx-formly-zorro-antd-tabs.mjs",
|
4
|
+
"esm2020": "../esm2020/tabs/ngx-formly-zorro-antd-tabs.mjs",
|
5
|
+
"fesm2020": "../fesm2020/ngx-formly-zorro-antd-tabs.mjs",
|
6
|
+
"fesm2015": "../fesm2015/ngx-formly-zorro-antd-tabs.mjs",
|
7
|
+
"typings": "ngx-formly-zorro-antd-tabs.d.ts",
|
8
|
+
"sideEffects": false,
|
9
|
+
"name": "ngx-formly-zorro-antd/tabs"
|
10
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./tabs.wrapper";
|
3
|
+
import * as i2 from "@angular/common";
|
4
|
+
import * as i3 from "ng-zorro-antd/tabs";
|
5
|
+
import * as i4 from "@ngx-formly/core";
|
6
|
+
export declare class FormlyNzTabsModule {
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNzTabsModule, never>;
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNzTabsModule, [typeof i1.FormlyWrapperTabs], [typeof i2.CommonModule, typeof i3.NzTabsModule, typeof i4.FormlyModule], never>;
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNzTabsModule>;
|
10
|
+
}
|
@@ -0,0 +1,127 @@
|
|
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 { NzTabComponent } from 'ng-zorro-antd/tabs';
|
5
|
+
import type { NzSizeLDSType, NzSafeAny } from 'ng-zorro-antd/core/types';
|
6
|
+
import type { NzTabsCanDeactivateFn, TabTemplateContext, NzTabType, NzTabPosition, NzAnimatedInterface } from 'ng-zorro-antd/tabs';
|
7
|
+
export interface TabsProps extends FormlyFieldProps {
|
8
|
+
/**
|
9
|
+
* 当前激活 tab 面板的 序列号,可双向绑定
|
10
|
+
*/
|
11
|
+
selectedIndex?: number | null;
|
12
|
+
/**
|
13
|
+
* 是否使用动画切换 Tabs,在 nzTabPosition=top\bottom 时有效
|
14
|
+
* @default true
|
15
|
+
*/
|
16
|
+
animated?: NzAnimatedInterface | boolean;
|
17
|
+
/**
|
18
|
+
* 大小,提供 largedefault 和 small 三种大小
|
19
|
+
* @default default
|
20
|
+
*/
|
21
|
+
size?: NzSizeLDSType;
|
22
|
+
/**
|
23
|
+
* tab bar 上额外的元素
|
24
|
+
*/
|
25
|
+
tabBarExtraContent?: TemplateRef<void>;
|
26
|
+
/**
|
27
|
+
* tab bar 的样式对象
|
28
|
+
*/
|
29
|
+
tabBarStyle?: {
|
30
|
+
[key: string]: string;
|
31
|
+
} | null;
|
32
|
+
/**
|
33
|
+
* 页签位置
|
34
|
+
* @default top
|
35
|
+
*/
|
36
|
+
tabPosition?: NzTabPosition;
|
37
|
+
/**
|
38
|
+
* 页签的基本样式
|
39
|
+
* @default line
|
40
|
+
*/
|
41
|
+
type?: NzTabType;
|
42
|
+
/**
|
43
|
+
* tabs 之间的间隙
|
44
|
+
*/
|
45
|
+
tabBarGutter?: number;
|
46
|
+
/**
|
47
|
+
* 是否隐藏所有tab内容
|
48
|
+
* @default false
|
49
|
+
*/
|
50
|
+
hideAll?: boolean;
|
51
|
+
/**
|
52
|
+
* 与 Angular 路由联动
|
53
|
+
* @default false
|
54
|
+
*/
|
55
|
+
linkRouter?: boolean;
|
56
|
+
/**
|
57
|
+
* 以严格匹配模式确定联动的路由
|
58
|
+
* @default true
|
59
|
+
*/
|
60
|
+
linkExact?: boolean;
|
61
|
+
/**
|
62
|
+
* 决定一个 tab 是否可以被切换
|
63
|
+
*/
|
64
|
+
canDeactivate?: NzTabsCanDeactivateFn | null;
|
65
|
+
/**
|
66
|
+
* 标签居中展示
|
67
|
+
* @default false
|
68
|
+
*/
|
69
|
+
centered?: boolean;
|
70
|
+
/**
|
71
|
+
* 当前激活 tab 面板的 序列号变更回调函数
|
72
|
+
*/
|
73
|
+
selectedIndexChange?: (field: FormlyFieldConfig, index: number) => void;
|
74
|
+
/**
|
75
|
+
* 当前激活 tab 面板变更回调函数
|
76
|
+
*/
|
77
|
+
selectChange?: (field: FormlyFieldConfig, index?: number, tab?: NzTabComponent) => void;
|
78
|
+
/**
|
79
|
+
* 隐藏添加按钮
|
80
|
+
* @default false
|
81
|
+
*/
|
82
|
+
hideAdd?: boolean;
|
83
|
+
/**
|
84
|
+
* 添加按钮图标
|
85
|
+
*/
|
86
|
+
addIcon?: string | TemplateRef<NzSafeAny>;
|
87
|
+
/**
|
88
|
+
* 点击添加按钮时的事件
|
89
|
+
*/
|
90
|
+
onAdd?: (field: FormlyFieldConfig) => void;
|
91
|
+
/**
|
92
|
+
* 点击删除按钮时的事件
|
93
|
+
*/
|
94
|
+
onClose?: (field: FormlyFieldConfig, index: number) => void;
|
95
|
+
tab?: {
|
96
|
+
/**
|
97
|
+
* 选项卡头显示文字
|
98
|
+
*/
|
99
|
+
title?: string | TemplateRef<TabTemplateContext>;
|
100
|
+
/**
|
101
|
+
* 被隐藏时是否渲染 DOM 结构
|
102
|
+
* @default false
|
103
|
+
*/
|
104
|
+
forceRender?: boolean;
|
105
|
+
/**
|
106
|
+
* 是否禁用
|
107
|
+
* @default false
|
108
|
+
*/
|
109
|
+
disabled?: boolean;
|
110
|
+
/**
|
111
|
+
* 单击 title 的回调函数
|
112
|
+
*/
|
113
|
+
click?: () => void;
|
114
|
+
/**
|
115
|
+
* 右键 title 的回调函数
|
116
|
+
*/
|
117
|
+
contextmenu?: (event: MouseEvent) => void;
|
118
|
+
/**
|
119
|
+
* tab 被选中的回调函数
|
120
|
+
*/
|
121
|
+
select?: () => void;
|
122
|
+
/**
|
123
|
+
* tab 被取消选中的回调函数
|
124
|
+
*/
|
125
|
+
deselect?: () => void;
|
126
|
+
};
|
127
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import { Type } from '@angular/core';
|
2
|
+
import { FieldWrapper, FormlyFieldConfig } from '@ngx-formly/core';
|
3
|
+
import type { TabsProps } from './tabs.props';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export interface FormlyTabsWrapperConfig extends FormlyFieldConfig<TabsProps> {
|
6
|
+
wrappers: ('tabs' | Type<FormlyWrapperTabs>)[];
|
7
|
+
}
|
8
|
+
export declare class FormlyWrapperTabs extends FieldWrapper<FormlyFieldConfig<TabsProps>> {
|
9
|
+
defaultOptions: {
|
10
|
+
props: {
|
11
|
+
animated: boolean;
|
12
|
+
size: "default";
|
13
|
+
type: "line";
|
14
|
+
tabPosition: "top";
|
15
|
+
hideAll: boolean;
|
16
|
+
linkRouter: boolean;
|
17
|
+
linkExact: boolean;
|
18
|
+
centered: boolean;
|
19
|
+
hideAdd: boolean;
|
20
|
+
tab: {
|
21
|
+
forceRender: boolean;
|
22
|
+
disabled: boolean;
|
23
|
+
};
|
24
|
+
};
|
25
|
+
};
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyWrapperTabs, never>;
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyWrapperTabs, "formly-wrapper-tabs", never, {}, {}, never, never>;
|
28
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
{
|
2
|
+
"module": "../fesm2015/ngx-formly-zorro-antd-textarea.mjs",
|
3
|
+
"es2020": "../fesm2020/ngx-formly-zorro-antd-textarea.mjs",
|
4
|
+
"esm2020": "../esm2020/textarea/ngx-formly-zorro-antd-textarea.mjs",
|
5
|
+
"fesm2020": "../fesm2020/ngx-formly-zorro-antd-textarea.mjs",
|
6
|
+
"fesm2015": "../fesm2015/ngx-formly-zorro-antd-textarea.mjs",
|
7
|
+
"typings": "ngx-formly-zorro-antd-textarea.d.ts",
|
8
|
+
"sideEffects": false,
|
9
|
+
"name": "ngx-formly-zorro-antd/textarea"
|
10
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./textarea.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";
|
7
|
+
import * as i6 from "@ngx-formly/core";
|
8
|
+
export declare class FormlyNzTextareaModule {
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNzTextareaModule, never>;
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNzTextareaModule, [typeof i1.FormlyFieldTextarea], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyNzFormFieldModule, typeof i5.NzInputModule, typeof i6.FormlyModule], never>;
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNzTextareaModule>;
|
12
|
+
}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
import { Type } from '@angular/core';
|
2
|
+
import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
|
3
|
+
import type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
interface TextareaProps extends FormlyFieldProps {
|
6
|
+
/**
|
7
|
+
* 自适应内容高度,可设置为 boolean 或对象:{ minRows: 2, maxRows: 6 }
|
8
|
+
* @default false
|
9
|
+
*/
|
10
|
+
autosize?: boolean | {
|
11
|
+
minRows: number;
|
12
|
+
maxRows: number;
|
13
|
+
};
|
14
|
+
/**
|
15
|
+
* 是否隐藏边框
|
16
|
+
* @default false
|
17
|
+
*/
|
18
|
+
borderless?: boolean;
|
19
|
+
/**
|
20
|
+
* textarea 数字提示显示的最大值
|
21
|
+
*/
|
22
|
+
maxCharacterCount?: number;
|
23
|
+
}
|
24
|
+
export interface FormlyTextareaFieldConfig extends FormlyFieldConfig<TextareaProps> {
|
25
|
+
type: 'textarea' | Type<FormlyFieldTextarea>;
|
26
|
+
}
|
27
|
+
export declare class FormlyFieldTextarea extends FieldType<FieldTypeConfig> {
|
28
|
+
defaultOptions: {
|
29
|
+
props: {
|
30
|
+
rows: number;
|
31
|
+
autosize: boolean;
|
32
|
+
borderless: boolean;
|
33
|
+
};
|
34
|
+
};
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldTextarea, never>;
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldTextarea, "formly-field-textarea", never, {}, {}, never, never>;
|
37
|
+
}
|
38
|
+
export {};
|
@@ -0,0 +1,10 @@
|
|
1
|
+
{
|
2
|
+
"module": "../fesm2015/ngx-formly-zorro-antd-timepicker.mjs",
|
3
|
+
"es2020": "../fesm2020/ngx-formly-zorro-antd-timepicker.mjs",
|
4
|
+
"esm2020": "../esm2020/timepicker/ngx-formly-zorro-antd-timepicker.mjs",
|
5
|
+
"fesm2020": "../fesm2020/ngx-formly-zorro-antd-timepicker.mjs",
|
6
|
+
"fesm2015": "../fesm2015/ngx-formly-zorro-antd-timepicker.mjs",
|
7
|
+
"typings": "ngx-formly-zorro-antd-timepicker.d.ts",
|
8
|
+
"sideEffects": false,
|
9
|
+
"name": "ngx-formly-zorro-antd/timepicker"
|
10
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./timepicker.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/time-picker";
|
7
|
+
import * as i6 from "@ngx-formly/core";
|
8
|
+
export declare class FormlyNzTimepickerModule {
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNzTimepickerModule, never>;
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNzTimepickerModule, [typeof i1.FormlyFieldTimepicker], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyNzFormFieldModule, typeof i5.NzTimePickerModule, typeof i6.FormlyModule], never>;
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNzTimepickerModule>;
|
12
|
+
}
|
@@ -0,0 +1,131 @@
|
|
1
|
+
import { TemplateRef, Type } from '@angular/core';
|
2
|
+
import { DatePipe } from '@angular/common';
|
3
|
+
import { FieldType, FormlyFieldConfig, FieldTypeConfig } from '@ngx-formly/core';
|
4
|
+
import type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
interface TimepickerProps extends FormlyFieldProps {
|
7
|
+
/**
|
8
|
+
* 选择框底部显示自定义的内容
|
9
|
+
*/
|
10
|
+
addOn?: TemplateRef<void>;
|
11
|
+
/**
|
12
|
+
* 是否展示清除按钮
|
13
|
+
* @default true
|
14
|
+
*/
|
15
|
+
allowEmpty?: boolean;
|
16
|
+
/**
|
17
|
+
* 自动获取焦点
|
18
|
+
* @default false
|
19
|
+
*/
|
20
|
+
autoFocus?: boolean;
|
21
|
+
/**
|
22
|
+
* 浮层是否应带有背景板
|
23
|
+
* @default false
|
24
|
+
*/
|
25
|
+
backdrop?: boolean;
|
26
|
+
/**
|
27
|
+
* 清除按钮的提示文案
|
28
|
+
* @default clear
|
29
|
+
*/
|
30
|
+
clearText?: string;
|
31
|
+
/**
|
32
|
+
* 此刻按钮文本
|
33
|
+
* @default 此刻
|
34
|
+
*/
|
35
|
+
nowText?: string;
|
36
|
+
/**
|
37
|
+
* 确认按钮文本
|
38
|
+
* @default 确定
|
39
|
+
*/
|
40
|
+
okText?: string;
|
41
|
+
/**
|
42
|
+
* 当 [ngModel] 不存在时,可以设置面板打开时默认选中的值
|
43
|
+
* @default new Date()
|
44
|
+
*/
|
45
|
+
defaultOpenValue?: Date;
|
46
|
+
/**
|
47
|
+
* 禁止选择部分小时选项
|
48
|
+
*/
|
49
|
+
disabledHours?: () => number[];
|
50
|
+
/**
|
51
|
+
* 禁止选择部分分钟选项
|
52
|
+
*/
|
53
|
+
disabledMinutes?: (hour: number) => number[];
|
54
|
+
/**
|
55
|
+
* 禁止选择部分秒选项
|
56
|
+
*/
|
57
|
+
disabledSeconds?: (hour: number, minute: number) => number[];
|
58
|
+
/**
|
59
|
+
* 展示的时间格式
|
60
|
+
* @default "HH:mm:ss"
|
61
|
+
*/
|
62
|
+
format?: DatePipe;
|
63
|
+
/**
|
64
|
+
* 隐藏禁止选择的选项
|
65
|
+
* @default false
|
66
|
+
*/
|
67
|
+
hideDisabledOptions?: boolean;
|
68
|
+
/**
|
69
|
+
* 小时选项间隔
|
70
|
+
* @default 1
|
71
|
+
*/
|
72
|
+
hourStep?: number;
|
73
|
+
/**
|
74
|
+
* 分钟选项间隔
|
75
|
+
* @default 1
|
76
|
+
*/
|
77
|
+
minuteStep?: number;
|
78
|
+
/**
|
79
|
+
* 秒选项间隔
|
80
|
+
* @default 1
|
81
|
+
*/
|
82
|
+
secondStep?: number;
|
83
|
+
/**
|
84
|
+
* 面板是否打开,可双向绑定
|
85
|
+
* @default false
|
86
|
+
*/
|
87
|
+
open?: boolean;
|
88
|
+
/**
|
89
|
+
* 弹出层类名
|
90
|
+
* @default '''
|
91
|
+
*/
|
92
|
+
popupClassName?: string;
|
93
|
+
/**
|
94
|
+
* 使用12小时制,为true时format默认为h:mm:ss a
|
95
|
+
* @default false
|
96
|
+
*/
|
97
|
+
use12Hours?: boolean;
|
98
|
+
/**
|
99
|
+
* 无边框
|
100
|
+
* @default false
|
101
|
+
*/
|
102
|
+
borderless?: boolean;
|
103
|
+
/**
|
104
|
+
* 自定义的后缀图标
|
105
|
+
*
|
106
|
+
*/
|
107
|
+
suffixIcon?: string | TemplateRef<void>;
|
108
|
+
/**
|
109
|
+
* 面板打开/关闭时的回调
|
110
|
+
*/
|
111
|
+
openChange?: (field: FormlyFieldConfig, value: boolean) => void;
|
112
|
+
}
|
113
|
+
export interface FormlyTimepickerFieldConfig extends FormlyFieldConfig<TimepickerProps> {
|
114
|
+
type: 'timepicker' | Type<FormlyFieldTimepicker>;
|
115
|
+
}
|
116
|
+
export declare class FormlyFieldTimepicker extends FieldType<FieldTypeConfig> {
|
117
|
+
defaultOptions: {
|
118
|
+
props: {
|
119
|
+
allowEmpty: boolean;
|
120
|
+
autoFocus: boolean;
|
121
|
+
backdrop: boolean;
|
122
|
+
open: boolean;
|
123
|
+
clearText: string;
|
124
|
+
defaultOpenValue: Date;
|
125
|
+
format: any;
|
126
|
+
};
|
127
|
+
};
|
128
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldTimepicker, never>;
|
129
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldTimepicker, "formly-field-timepicker", never, {}, {}, never, never>;
|
130
|
+
}
|
131
|
+
export {};
|
@@ -0,0 +1,10 @@
|
|
1
|
+
{
|
2
|
+
"module": "../fesm2015/ngx-formly-zorro-antd-transfer.mjs",
|
3
|
+
"es2020": "../fesm2020/ngx-formly-zorro-antd-transfer.mjs",
|
4
|
+
"esm2020": "../esm2020/transfer/ngx-formly-zorro-antd-transfer.mjs",
|
5
|
+
"fesm2020": "../fesm2020/ngx-formly-zorro-antd-transfer.mjs",
|
6
|
+
"fesm2015": "../fesm2015/ngx-formly-zorro-antd-transfer.mjs",
|
7
|
+
"typings": "ngx-formly-zorro-antd-transfer.d.ts",
|
8
|
+
"sideEffects": false,
|
9
|
+
"name": "ngx-formly-zorro-antd/transfer"
|
10
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { ControlValueAccessor } from '@angular/forms';
|
2
|
+
import { NzTransferComponent } from 'ng-zorro-antd/transfer';
|
3
|
+
import type { OnChangeType, OnTouchedType, NzSafeAny } from 'ng-zorro-antd/core/types';
|
4
|
+
import type { TransferChange, TransferItem, TransferSearchChange, TransferSelectChange } from 'ng-zorro-antd/transfer';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
export declare class TransferComponent extends NzTransferComponent implements ControlValueAccessor {
|
7
|
+
transfer: NzTransferComponent;
|
8
|
+
resultMap?: (items: TransferItem[]) => NzSafeAny[];
|
9
|
+
onChange: OnChangeType;
|
10
|
+
onTouched: OnTouchedType;
|
11
|
+
writeValue(obj: NzSafeAny): void;
|
12
|
+
registerOnChange(fn: NzSafeAny): void;
|
13
|
+
registerOnTouched(fn: NzSafeAny): void;
|
14
|
+
setDisabledState?(isDisabled: boolean): void;
|
15
|
+
change(value: TransferChange): void;
|
16
|
+
/**
|
17
|
+
* 选中项发生改变时的回调函数
|
18
|
+
*/
|
19
|
+
selectChange(value: TransferSelectChange): void;
|
20
|
+
/**
|
21
|
+
* 搜索框内容时改变时的回调函数
|
22
|
+
*/
|
23
|
+
searchChange(value: TransferSearchChange): void;
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TransferComponent, never>;
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TransferComponent, "formly-transfer", never, { "resultMap": "resultMap"; }, {}, never, never>;
|
26
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./transfer.type";
|
3
|
+
import * as i2 from "./transfer.component";
|
4
|
+
import * as i3 from "@angular/common";
|
5
|
+
import * as i4 from "@angular/forms";
|
6
|
+
import * as i5 from "ngx-formly-zorro-antd/form-field";
|
7
|
+
import * as i6 from "ng-zorro-antd/transfer";
|
8
|
+
import * as i7 from "@ngx-formly/core";
|
9
|
+
export declare class FormlyNzTransferModule {
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNzTransferModule, never>;
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNzTransferModule, [typeof i1.FormlyFieldTransfer, typeof i2.TransferComponent], [typeof i3.CommonModule, typeof i4.ReactiveFormsModule, typeof i5.FormlyNzFormFieldModule, typeof i6.NzTransferModule, typeof i7.FormlyModule], never>;
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNzTransferModule>;
|
13
|
+
}
|