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,146 @@
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
2
|
+
import type { FormlyFieldConfig } from '@ngx-formly/core';
|
3
|
+
import type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';
|
4
|
+
import type { FunctionProp, NzSafeAny, NzStatus } from 'ng-zorro-antd/core/types';
|
5
|
+
import type { NzDateMode, NzDatePickerSizeType, PresetRanges, DisabledTimeFn, CompatibleDate } from 'ng-zorro-antd/date-picker';
|
6
|
+
export interface DatepickerProps extends FormlyFieldProps {
|
7
|
+
type?: 'date' | 'range';
|
8
|
+
/**
|
9
|
+
* 是否显示清除按钮
|
10
|
+
* @default true
|
11
|
+
*/
|
12
|
+
allowClear?: boolean;
|
13
|
+
/**
|
14
|
+
* 自动获取焦点
|
15
|
+
* @default true
|
16
|
+
*/
|
17
|
+
autoFocus?: boolean;
|
18
|
+
/**
|
19
|
+
* 浮层是否应带有背景板
|
20
|
+
* @default false
|
21
|
+
*/
|
22
|
+
backdrop?: boolean;
|
23
|
+
/**
|
24
|
+
* 默认面板日期
|
25
|
+
* @default Date[]
|
26
|
+
*/
|
27
|
+
defaultPickerValue?: CompatibleDate | null;
|
28
|
+
/**
|
29
|
+
* 不可选择的日期
|
30
|
+
*/
|
31
|
+
disabledDate?: (current: Date) => boolean;
|
32
|
+
/**
|
33
|
+
* 额外的弹出日历 className
|
34
|
+
*/
|
35
|
+
dropdownClassName?: string;
|
36
|
+
/**
|
37
|
+
* 展示的日期格式,见nzFormat特别说明
|
38
|
+
*/
|
39
|
+
format?: string;
|
40
|
+
/**
|
41
|
+
* 为 input 标签设置只读属性(避免在移动设备上触发小键盘)
|
42
|
+
* @default false
|
43
|
+
*/
|
44
|
+
inputReadOnly?: boolean;
|
45
|
+
/**
|
46
|
+
* 选择模式
|
47
|
+
* @default date
|
48
|
+
*/
|
49
|
+
mode?: NzDateMode;
|
50
|
+
/**
|
51
|
+
* 额外的弹出日历样式
|
52
|
+
* @default {}
|
53
|
+
*/
|
54
|
+
popupStyle?: object;
|
55
|
+
/**
|
56
|
+
* 在面板中添加额外的页脚
|
57
|
+
*/
|
58
|
+
renderExtraFooter?: TemplateRef<NzSafeAny> | string | FunctionProp<TemplateRef<NzSafeAny> | string>;
|
59
|
+
/**
|
60
|
+
* 输入框大小
|
61
|
+
*/
|
62
|
+
size?: NzDatePickerSizeType;
|
63
|
+
/**
|
64
|
+
* 设置校验状态
|
65
|
+
*/
|
66
|
+
status?: NzStatus;
|
67
|
+
/**
|
68
|
+
* 选择框弹出的位置
|
69
|
+
* @default bottomLeft
|
70
|
+
*/
|
71
|
+
placement?: 'bottomLeft' | 'bottomRight' | 'topLeft' | 'topRight';
|
72
|
+
/**
|
73
|
+
* 自定义的后缀图标
|
74
|
+
*/
|
75
|
+
suffixIcon?: string | TemplateRef<NzSafeAny>;
|
76
|
+
/**
|
77
|
+
* 移除边框
|
78
|
+
* @default false
|
79
|
+
*/
|
80
|
+
borderless?: boolean;
|
81
|
+
/**
|
82
|
+
* 内联模式
|
83
|
+
* @default false
|
84
|
+
*/
|
85
|
+
inline?: boolean;
|
86
|
+
/**
|
87
|
+
* 自定义日期单元格的内容(month-picker/year-picker不支持)
|
88
|
+
*/
|
89
|
+
dateRender?: TemplateRef<Date> | string | ((d: Date) => TemplateRef<Date> | string);
|
90
|
+
/**
|
91
|
+
* 不可选择的时间
|
92
|
+
*/
|
93
|
+
disabledTime?: (current: Date) => {
|
94
|
+
nzDisabledHours: NzSafeAny;
|
95
|
+
nzDisabledMinutes: NzSafeAny;
|
96
|
+
nzDisabledSeconds: NzSafeAny;
|
97
|
+
};
|
98
|
+
/**
|
99
|
+
* 增加时间选择功能
|
100
|
+
*/
|
101
|
+
showTime?: boolean | object;
|
102
|
+
/**
|
103
|
+
* 是否展示“今天”按钮
|
104
|
+
* @default true
|
105
|
+
*/
|
106
|
+
showToday?: boolean;
|
107
|
+
/**
|
108
|
+
* 当设定了nzShowTime的时候,面板是否显示“此刻”按钮
|
109
|
+
* @default true
|
110
|
+
*/
|
111
|
+
showNow?: boolean;
|
112
|
+
/**
|
113
|
+
* 弹出日历和关闭日历的回调
|
114
|
+
*/
|
115
|
+
openChange?: (field: FormlyFieldConfig, event: boolean) => void;
|
116
|
+
/**
|
117
|
+
* 点击确定按钮的回调
|
118
|
+
*/
|
119
|
+
onOk?: (field: FormlyFieldConfig, date: CompatibleDate | null) => void;
|
120
|
+
/**
|
121
|
+
* 值改变后回调
|
122
|
+
*/
|
123
|
+
modelChange?: (field: FormlyFieldConfig, date: Date | Date[]) => void;
|
124
|
+
/**
|
125
|
+
* 日期范围选择器配置
|
126
|
+
*/
|
127
|
+
rangeOptions?: {
|
128
|
+
/**
|
129
|
+
* 预设时间范围快捷选择
|
130
|
+
*/
|
131
|
+
ranges?: PresetRanges;
|
132
|
+
/**
|
133
|
+
* 分隔符
|
134
|
+
* @default ~
|
135
|
+
*/
|
136
|
+
separator?: string;
|
137
|
+
/**
|
138
|
+
* 待选日期发生变化的回调
|
139
|
+
*/
|
140
|
+
calendarChange?: (field: FormlyFieldConfig, range: NzSafeAny) => void;
|
141
|
+
/**
|
142
|
+
* 不可选择的时间
|
143
|
+
*/
|
144
|
+
disabledTime?: DisabledTimeFn;
|
145
|
+
};
|
146
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import { Type } from '@angular/core';
|
2
|
+
import { FieldType, FormlyFieldConfig, FieldTypeConfig } from '@ngx-formly/core';
|
3
|
+
import type { DatepickerProps } from './datepicker.props';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export interface FormlyDatepickerFieldConfig extends FormlyFieldConfig<DatepickerProps> {
|
6
|
+
type: 'datepicker' | Type<FormlyFieldDatepicker>;
|
7
|
+
}
|
8
|
+
export declare class FormlyFieldDatepicker extends FieldType<FieldTypeConfig> {
|
9
|
+
defaultOptions: {
|
10
|
+
props: {
|
11
|
+
allowClear: boolean;
|
12
|
+
backdrop: boolean;
|
13
|
+
defaultPickerValue: null;
|
14
|
+
inputReadOnly: boolean;
|
15
|
+
mode: "date";
|
16
|
+
size: "default";
|
17
|
+
status: "";
|
18
|
+
placement: "bottomLeft";
|
19
|
+
popupStyle: {};
|
20
|
+
borderless: boolean;
|
21
|
+
inline: boolean;
|
22
|
+
showToday: boolean;
|
23
|
+
showNow: boolean;
|
24
|
+
rangeOptions: {
|
25
|
+
separator: string;
|
26
|
+
};
|
27
|
+
};
|
28
|
+
};
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldDatepicker, never>;
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldDatepicker, "formly-field-datepicker", never, {}, {}, never, never>;
|
31
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
{
|
2
|
+
"module": "../fesm2015/ngx-formly-zorro-antd-datepicker.mjs",
|
3
|
+
"es2020": "../fesm2020/ngx-formly-zorro-antd-datepicker.mjs",
|
4
|
+
"esm2020": "../esm2020/datepicker/ngx-formly-zorro-antd-datepicker.mjs",
|
5
|
+
"fesm2020": "../fesm2020/ngx-formly-zorro-antd-datepicker.mjs",
|
6
|
+
"fesm2015": "../fesm2015/ngx-formly-zorro-antd-datepicker.mjs",
|
7
|
+
"typings": "ngx-formly-zorro-antd-datepicker.d.ts",
|
8
|
+
"sideEffects": false,
|
9
|
+
"name": "ngx-formly-zorro-antd/datepicker"
|
10
|
+
}
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0b2NvbXBsZXRlLnByb3BzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC9hdXRvY29tcGxldGUvc3JjL2F1dG9jb21wbGV0ZS5wcm9wcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHR5cGUgeyBGb3JtbHlGaWVsZFByb3BzIH0gZnJvbSAnbmd4LWZvcm1seS16b3Jyby1hbnRkL2Zvcm0tZmllbGQnO1xyXG5pbXBvcnQgdHlwZSB7IENvbXBhcmVXaXRoIH0gZnJvbSAnbmctem9ycm8tYW50ZC9jb3JlL3R5cGVzJztcclxuaW1wb3J0IHR5cGUgeyBBdXRvY29tcGxldGVEYXRhU291cmNlIH0gZnJvbSAnbmctem9ycm8tYW50ZC9hdXRvLWNvbXBsZXRlJztcclxuXHJcbmV4cG9ydCBpbnRlcmZhY2UgQXV0b2NvbXBsZXRlUHJvcHMgZXh0ZW5kcyBGb3JtbHlGaWVsZFByb3BzIHtcclxuICAvKipcclxuICAgKiDkvb/nlKjplK7nm5jpgInmi6npgInpobnnmoTml7blgJnvvIzkvJrmiorlvZPliY3pq5jkuq7pobnnmoTlgLzljbPml7blm57loavliLDovpPlhaXmoYbkuK1cclxuICAgKiBAZGVmYXVsdCBmYWxzZVxyXG4gICAqL1xyXG4gIGJhY2tmaWxsPzogYm9vbGVhbjtcclxuXHJcbiAgLyoqXHJcbiAgICog6Ieq5Yqo5a6M5oiQ55qE5pWw5o2u5rqQXHJcbiAgICovXHJcbiAgZGF0YVNvdXJjZT86IEF1dG9jb21wbGV0ZURhdGFTb3VyY2U7XHJcblxyXG4gIC8qKlxyXG4gICAqIOaYr+WQpum7mOiupOmrmOS6ruesrOS4gOS4qumAiemhuVxyXG4gICAqIEBkZWZhdWx0IHRydWVcclxuICAgKi9cclxuICBkZWZhdWx0QWN0aXZlRmlyc3RPcHRpb24/OiBib29sZWFuO1xyXG5cclxuICAvKipcclxuICAgKiDoh6rlrprkuYnlrr3luqbljZXkvY0gcHhcclxuICAgKi9cclxuICB3aWR0aD86IG51bWJlcjtcclxuXHJcbiAgLyoqXHJcbiAgICog5LiL5ouJ5qC55YWD57Sg55qE57G75ZCN56ewXHJcbiAgICovXHJcbiAgb3ZlcmxheUNsYXNzTmFtZT86IHN0cmluZztcclxuXHJcbiAgLyoqXHJcbiAgICog5LiL5ouJ5qC55YWD57Sg55qE5qC35byPXHJcbiAgICovXHJcbiAgb3ZlcmxheVN0eWxlPzoge1xyXG4gICAgW2tleTogc3RyaW5nXTogc3RyaW5nO1xyXG4gIH07XHJcblxyXG4gIC8qKlxyXG4gICAqIOS4jiBTZWxlY3RDb250cm9sVmFsdWVBY2Nlc3NvciDnm7jlkIxcclxuICAgKiBAZGVmYXVsdFxyXG4gICAqIChvMTogYW55LCBvMjogYW55KSA9PiBvMT09PW8yXHJcbiAgICovXHJcbiAgY29tcGFyZVdpdGg/OiBDb21wYXJlV2l0aDtcclxufVxyXG4iXX0=
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
export * from './public_api';
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWZvcm1seS16b3Jyby1hbnRkLWF1dG9jb21wbGV0ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvYXV0b2NvbXBsZXRlL3NyYy9uZ3gtZm9ybWx5LXpvcnJvLWFudGQtYXV0b2NvbXBsZXRlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0=
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvYXV0b2NvbXBsZXRlL3NyYy9wdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBBdXRvY29tcGxldGVQcm9wcyB9IGZyb20gJy4vYXV0b2NvbXBsZXRlLnByb3BzJztcclxuIl19
|
@@ -0,0 +1,63 @@
|
|
1
|
+
import { NgModule } from '@angular/core';
|
2
|
+
import { CommonModule } from '@angular/common';
|
3
|
+
import { FormlyModule } from '@ngx-formly/core';
|
4
|
+
import { FormlyFieldButton } from './button.type';
|
5
|
+
import { NzButtonModule } from 'ng-zorro-antd/button';
|
6
|
+
import { NzIconModule } from 'ng-zorro-antd/icon';
|
7
|
+
import * as i0 from "@angular/core";
|
8
|
+
import * as i1 from "@ngx-formly/core";
|
9
|
+
export class FormlyNzButtonModule {
|
10
|
+
}
|
11
|
+
FormlyNzButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
12
|
+
FormlyNzButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzButtonModule, declarations: [FormlyFieldButton], imports: [CommonModule,
|
13
|
+
NzButtonModule,
|
14
|
+
NzIconModule, i1.FormlyModule] });
|
15
|
+
FormlyNzButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzButtonModule, imports: [[
|
16
|
+
CommonModule,
|
17
|
+
NzButtonModule,
|
18
|
+
NzIconModule,
|
19
|
+
FormlyModule.forChild({
|
20
|
+
types: [
|
21
|
+
{
|
22
|
+
name: 'button',
|
23
|
+
component: FormlyFieldButton
|
24
|
+
},
|
25
|
+
{
|
26
|
+
name: 'submit',
|
27
|
+
extends: 'button'
|
28
|
+
},
|
29
|
+
{
|
30
|
+
name: 'reset',
|
31
|
+
extends: 'button'
|
32
|
+
}
|
33
|
+
]
|
34
|
+
})
|
35
|
+
]] });
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzButtonModule, decorators: [{
|
37
|
+
type: NgModule,
|
38
|
+
args: [{
|
39
|
+
declarations: [FormlyFieldButton],
|
40
|
+
imports: [
|
41
|
+
CommonModule,
|
42
|
+
NzButtonModule,
|
43
|
+
NzIconModule,
|
44
|
+
FormlyModule.forChild({
|
45
|
+
types: [
|
46
|
+
{
|
47
|
+
name: 'button',
|
48
|
+
component: FormlyFieldButton
|
49
|
+
},
|
50
|
+
{
|
51
|
+
name: 'submit',
|
52
|
+
extends: 'button'
|
53
|
+
},
|
54
|
+
{
|
55
|
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b24nO1xyXG5cclxuQE5nTW9kdWxlKHtcclxuICBkZWNsYXJhdGlvbnM6IFtGb3JtbHlGaWVsZEJ1dHRvbl0sXHJcbiAgaW1wb3J0czogW1xyXG4gICAgQ29tbW9uTW9kdWxlLFxyXG4gICAgTnpCdXR0b25Nb2R1bGUsXHJcbiAgICBOekljb25Nb2R1bGUsXHJcblxyXG4gICAgRm9ybWx5TW9kdWxlLmZvckNoaWxkKHtcclxuICAgICAgdHlwZXM6IFtcclxuICAgICAgICB7XHJcbiAgICAgICAgICBuYW1lOiAnYnV0dG9uJyxcclxuICAgICAgICAgIGNvbXBvbmVudDogRm9ybWx5RmllbGRCdXR0b25cclxuICAgICAgICB9LFxyXG4gICAgICAgIHtcclxuICAgICAgICAgIG5hbWU6ICdzdWJtaXQnLFxyXG4gICAgICAgICAgZXh0ZW5kczogJ2J1dHRvbidcclxuICAgICAgICB9LFxyXG4gICAgICAgIHtcclxuICAgICAgICAgIG5hbWU6ICdyZXNldCcsXHJcbiAgICAgICAgICBleHRlbmRzOiAnYnV0dG9uJ1xyXG4gICAgICAgIH1cclxuICAgICAgXVxyXG4gICAgfSlcclxuICBdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBGb3JtbHlOekJ1dHRvbk1vZHVsZSB7fVxyXG4iXX0=
|
@@ -0,0 +1,70 @@
|
|
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 "ng-zorro-antd/button";
|
5
|
+
import * as i2 from "ng-zorro-antd/core/wave";
|
6
|
+
import * as i3 from "ng-zorro-antd/core/transition-patch";
|
7
|
+
import * as i4 from "@ngx-formly/core";
|
8
|
+
import * as i5 from "@angular/common";
|
9
|
+
import * as i6 from "ng-zorro-antd/icon";
|
10
|
+
export class FormlyFieldButton extends FieldType {
|
11
|
+
constructor() {
|
12
|
+
super(...arguments);
|
13
|
+
this.defaultOptions = {
|
14
|
+
props: {
|
15
|
+
ghost: false,
|
16
|
+
loading: false,
|
17
|
+
block: false,
|
18
|
+
size: 'default',
|
19
|
+
danger: false
|
20
|
+
}
|
21
|
+
};
|
22
|
+
}
|
23
|
+
}
|
24
|
+
FormlyFieldButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldButton, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
25
|
+
FormlyFieldButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormlyFieldButton, selector: "formly-field-button", usesInheritance: true, ngImport: i0, template: `
|
26
|
+
<button
|
27
|
+
nz-button
|
28
|
+
[attr.type]="field.type"
|
29
|
+
[formlyAttributes]="field"
|
30
|
+
[nzGhost]="props['ghost']!!"
|
31
|
+
[nzLoading]="props['loading']!!"
|
32
|
+
[nzShape]="props['shape'] ?? null"
|
33
|
+
[nzSize]="props['size']!"
|
34
|
+
[nzBlock]="props['block']!!"
|
35
|
+
[nzDanger]="props['danger']!!"
|
36
|
+
[nzType]="props['buttonType'] ?? null"
|
37
|
+
[ngClass]="props['className']!"
|
38
|
+
>
|
39
|
+
<span *ngIf="props['iconOnBefore']" nz-icon [nzType]="props['iconOnBefore']"></span>
|
40
|
+
{{ props.label }}
|
41
|
+
<span *ngIf="props['iconOnAfter']" nz-icon [nzType]="props['iconOnAfter']"></span>
|
42
|
+
</button>
|
43
|
+
`, isInline: true, components: [{ type: i1.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }], directives: [{ type: i2.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { type: i3.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldButton, decorators: [{
|
45
|
+
type: Component,
|
46
|
+
args: [{
|
47
|
+
selector: 'formly-field-button',
|
48
|
+
template: `
|
49
|
+
<button
|
50
|
+
nz-button
|
51
|
+
[attr.type]="field.type"
|
52
|
+
[formlyAttributes]="field"
|
53
|
+
[nzGhost]="props['ghost']!!"
|
54
|
+
[nzLoading]="props['loading']!!"
|
55
|
+
[nzShape]="props['shape'] ?? null"
|
56
|
+
[nzSize]="props['size']!"
|
57
|
+
[nzBlock]="props['block']!!"
|
58
|
+
[nzDanger]="props['danger']!!"
|
59
|
+
[nzType]="props['buttonType'] ?? null"
|
60
|
+
[ngClass]="props['className']!"
|
61
|
+
>
|
62
|
+
<span *ngIf="props['iconOnBefore']" nz-icon [nzType]="props['iconOnBefore']"></span>
|
63
|
+
{{ props.label }}
|
64
|
+
<span *ngIf="props['iconOnAfter']" nz-icon [nzType]="props['iconOnAfter']"></span>
|
65
|
+
</button>
|
66
|
+
`,
|
67
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
68
|
+
}]
|
69
|
+
}] });
|
70
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLnR5cGUuanMiLCJzb3Vy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W5nZXInXSEhXCJcclxuICAgICAgW256VHlwZV09XCJwcm9wc1snYnV0dG9uVHlwZSddID8/IG51bGxcIlxyXG4gICAgICBbbmdDbGFzc109XCJwcm9wc1snY2xhc3NOYW1lJ10hXCJcclxuICAgID5cclxuICAgICAgPHNwYW4gKm5nSWY9XCJwcm9wc1snaWNvbk9uQmVmb3JlJ11cIiBuei1pY29uIFtuelR5cGVdPVwicHJvcHNbJ2ljb25PbkJlZm9yZSddXCI+PC9zcGFuPlxyXG4gICAgICB7eyBwcm9wcy5sYWJlbCB9fVxyXG4gICAgICA8c3BhbiAqbmdJZj1cInByb3BzWydpY29uT25BZnRlciddXCIgbnotaWNvbiBbbnpUeXBlXT1cInByb3BzWydpY29uT25BZnRlciddXCI+PC9zcGFuPlxyXG4gICAgPC9idXR0b24+XHJcbiAgYCxcclxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaFxyXG59KVxyXG5leHBvcnQgY2xhc3MgRm9ybWx5RmllbGRCdXR0b24gZXh0ZW5kcyBGaWVsZFR5cGU8RmllbGRUeXBlQ29uZmlnPEJ1dHRvblByb3BzPj4ge1xyXG4gIG92ZXJyaWRlIGRlZmF1bHRPcHRpb25zID0ge1xyXG4gICAgcHJvcHM6IHtcclxuICAgICAgZ2hvc3Q6IGZhbHNlLFxyXG4gICAgICBsb2FkaW5nOiBmYWxzZSxcclxuICAgICAgYmxvY2s6IGZhbHNlLFxyXG4gICAgICBzaXplOiAnZGVmYXVsdCcgYXMgY29uc3QsXHJcbiAgICAgIGRhbmdlcjogZmFsc2VcclxuICAgIH1cclxuICB9O1xyXG59XHJcbiJdfQ==
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
export * from './public_api';
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWZvcm1seS16b3Jyby1hbnRkLWJ1dHRvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvYnV0dG9uL3NyYy9uZ3gtZm9ybWx5LXpvcnJvLWFudGQtYnV0dG9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0=
|
@@ -0,0 +1,3 @@
|
|
1
|
+
export { FormlyNzButtonModule } from './button.module';
|
2
|
+
export { FormlyFieldButton } from './button.type';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvYnV0dG9uL3NyYy9wdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQ3ZELE9BQU8sRUFBRSxpQkFBaUIsRUFBMkIsTUFBTSxlQUFlLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBGb3JtbHlOekJ1dHRvbk1vZHVsZSB9IGZyb20gJy4vYnV0dG9uLm1vZHVsZSc7XHJcbmV4cG9ydCB7IEZvcm1seUZpZWxkQnV0dG9uLCBGb3JtbHlCdXR0b25GaWVsZENvbmZpZyB9IGZyb20gJy4vYnV0dG9uLnR5cGUnO1xyXG4iXX0=
|
@@ -0,0 +1,45 @@
|
|
1
|
+
import { NgModule } from '@angular/core';
|
2
|
+
import { CommonModule } from '@angular/common';
|
3
|
+
import { FormlyModule } from '@ngx-formly/core';
|
4
|
+
import { FormlyWrapperCard } from './card.wrapper';
|
5
|
+
import { NzCardModule } from 'ng-zorro-antd/card';
|
6
|
+
import * as i0 from "@angular/core";
|
7
|
+
import * as i1 from "@ngx-formly/core";
|
8
|
+
export class FormlyNzCardModule {
|
9
|
+
}
|
10
|
+
FormlyNzCardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzCardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
11
|
+
FormlyNzCardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzCardModule, declarations: [FormlyWrapperCard], imports: [CommonModule,
|
12
|
+
NzCardModule, i1.FormlyModule] });
|
13
|
+
FormlyNzCardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzCardModule, imports: [[
|
14
|
+
CommonModule,
|
15
|
+
NzCardModule,
|
16
|
+
FormlyModule.forChild({
|
17
|
+
wrappers: [
|
18
|
+
{
|
19
|
+
name: 'card',
|
20
|
+
component: FormlyWrapperCard,
|
21
|
+
types: ['card']
|
22
|
+
}
|
23
|
+
]
|
24
|
+
})
|
25
|
+
]] });
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzCardModule, decorators: [{
|
27
|
+
type: NgModule,
|
28
|
+
args: [{
|
29
|
+
declarations: [FormlyWrapperCard],
|
30
|
+
imports: [
|
31
|
+
CommonModule,
|
32
|
+
NzCardModule,
|
33
|
+
FormlyModule.forChild({
|
34
|
+
wrappers: [
|
35
|
+
{
|
36
|
+
name: 'card',
|
37
|
+
component: FormlyWrapperCard,
|
38
|
+
types: ['card']
|
39
|
+
}
|
40
|
+
]
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BGb3JtbHlOekNhcmRNb2R1bGUge31cclxuIl19
|
@@ -0,0 +1,47 @@
|
|
1
|
+
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
2
|
+
import { FieldWrapper } from '@ngx-formly/core';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
import * as i1 from "ng-zorro-antd/card";
|
5
|
+
export class FormlyWrapperCard extends FieldWrapper {
|
6
|
+
}
|
7
|
+
FormlyWrapperCard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyWrapperCard, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
8
|
+
FormlyWrapperCard.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormlyWrapperCard, selector: "formly-wrapper-card", usesInheritance: true, ngImport: i0, template: `
|
9
|
+
<nz-card
|
10
|
+
[nzActions]="props['actions'] || []"
|
11
|
+
[nzBodyStyle]="props['bodyStyle'] ?? null"
|
12
|
+
[nzSize]="props['size']!"
|
13
|
+
[nzBorderless]="props['borderless']!!"
|
14
|
+
[nzCover]="props['cover']"
|
15
|
+
[nzExtra]="props['extra']"
|
16
|
+
[nzHoverable]="props['hoverable']!!"
|
17
|
+
[nzLoading]="props['loading']!!"
|
18
|
+
[nzTitle]="props['title']"
|
19
|
+
[nzType]="props['type'] ?? null"
|
20
|
+
>
|
21
|
+
<ng-container #fieldComponent></ng-container>
|
22
|
+
</nz-card>
|
23
|
+
`, isInline: true, components: [{ type: i1.NzCardComponent, selector: "nz-card", inputs: ["nzBordered", "nzBorderless", "nzLoading", "nzHoverable", "nzBodyStyle", "nzCover", "nzActions", "nzType", "nzSize", "nzTitle", "nzExtra"], exportAs: ["nzCard"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyWrapperCard, decorators: [{
|
25
|
+
type: Component,
|
26
|
+
args: [{
|
27
|
+
selector: 'formly-wrapper-card',
|
28
|
+
template: `
|
29
|
+
<nz-card
|
30
|
+
[nzActions]="props['actions'] || []"
|
31
|
+
[nzBodyStyle]="props['bodyStyle'] ?? null"
|
32
|
+
[nzSize]="props['size']!"
|
33
|
+
[nzBorderless]="props['borderless']!!"
|
34
|
+
[nzCover]="props['cover']"
|
35
|
+
[nzExtra]="props['extra']"
|
36
|
+
[nzHoverable]="props['hoverable']!!"
|
37
|
+
[nzLoading]="props['loading']!!"
|
38
|
+
[nzTitle]="props['title']"
|
39
|
+
[nzType]="props['type'] ?? null"
|
40
|
+
>
|
41
|
+
<ng-container #fieldComponent></ng-container>
|
42
|
+
</nz-card>
|
43
|
+
`,
|
44
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
45
|
+
}]
|
46
|
+
}] });
|
47
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC53cmFwcGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC9jYXJkL3NyYy9jYXJkLndyYXBwZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBcUIsdUJBQXVCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDdEYsT0FBTyxFQUFFLFlBQVksRUFBcUIsTUFBTSxrQkFBa0IsQ0FBQzs7O0FBb0ZuRSxNQUFNLE9BQU8saUJBQWtCLFNBQVEsWUFBMEM7OytHQUFwRSxpQkFBaUI7bUdBQWpCLGlCQUFpQixrRkFsQmxCOzs7Ozs7Ozs7Ozs7Ozs7R0FlVDs0RkFHVSxpQkFBaUI7a0JBcEI3QixTQUFTO21CQUFDO29CQUNULFFBQVEsRUFBRSxxQkFBcUI7b0JBQy9CLFFBQVEsRUFBRTs7Ozs7Ozs7Ozs7Ozs7O0dBZV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XCJcclxuICAgICAgW256Qm9keVN0eWxlXT1cInByb3BzWydib2R5U3R5bGUnXSA/PyBudWxsXCJcclxuICAgICAgW256U2l6ZV09XCJwcm9wc1snc2l6ZSddIVwiXHJcbiAgICAgIFtuekJvcmRlcmxlc3NdPVwicHJvcHNbJ2JvcmRlcmxlc3MnXSEhXCJcclxuICAgICAgW256Q292ZXJdPVwicHJvcHNbJ2NvdmVyJ11cIlxyXG4gICAgICBbbnpFeHRyYV09XCJwcm9wc1snZXh0cmEnXVwiXHJcbiAgICAgIFtuekhvdmVyYWJsZV09XCJwcm9wc1snaG92ZXJhYmxlJ10hIVwiXHJcbiAgICAgIFtuekxvYWRpbmddPVwicHJvcHNbJ2xvYWRpbmcnXSEhXCJcclxuICAgICAgW256VGl0bGVdPVwicHJvcHNbJ3RpdGxlJ11cIlxyXG4gICAgICBbbnpUeXBlXT1cInByb3BzWyd0eXBlJ10gPz8gbnVsbFwiXHJcbiAgICA+XHJcbiAgICAgIDxuZy1jb250YWluZXIgI2ZpZWxkQ29tcG9uZW50PjwvbmctY29udGFpbmVyPlxyXG4gICAgPC9uei1jYXJkPlxyXG4gIGAsXHJcbiAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2hcclxufSlcclxuZXhwb3J0IGNsYXNzIEZvcm1seVdyYXBwZXJDYXJkIGV4dGVuZHMgRmllbGRXcmFwcGVyPEZvcm1seUZpZWxkQ29uZmlnPENhcmRQcm9wcz4+IHt9XHJcbiJdfQ==
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
export * from './public_api';
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWZvcm1seS16b3Jyby1hbnRkLWNhcmQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL2NhcmQvc3JjL25neC1mb3JtbHktem9ycm8tYW50ZC1jYXJkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0=
|
@@ -0,0 +1,3 @@
|
|
1
|
+
export { FormlyNzCardModule } from './card.module';
|
2
|
+
export { FormlyWrapperCard } from './card.wrapper';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvY2FyZC9zcmMvcHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkQsT0FBTyxFQUFFLGlCQUFpQixFQUEyQixNQUFNLGdCQUFnQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgRm9ybWx5TnpDYXJkTW9kdWxlIH0gZnJvbSAnLi9jYXJkLm1vZHVsZSc7XHJcbmV4cG9ydCB7IEZvcm1seVdyYXBwZXJDYXJkLCBGb3JtbHlDYXJkV3JhcHBlckNvbmZpZyB9IGZyb20gJy4vY2FyZC53cmFwcGVyJztcclxuIl19
|
@@ -0,0 +1,53 @@
|
|
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 { NzCascaderModule } from 'ng-zorro-antd/cascader';
|
7
|
+
import { FormlyFieldCascader } from './cascader.type';
|
8
|
+
import * as i0 from "@angular/core";
|
9
|
+
import * as i1 from "@ngx-formly/core";
|
10
|
+
export class FormlyNzCascaderModule {
|
11
|
+
}
|
12
|
+
FormlyNzCascaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzCascaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
13
|
+
FormlyNzCascaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzCascaderModule, declarations: [FormlyFieldCascader], imports: [CommonModule,
|
14
|
+
ReactiveFormsModule,
|
15
|
+
FormlyNzFormFieldModule,
|
16
|
+
NzCascaderModule, i1.FormlyModule] });
|
17
|
+
FormlyNzCascaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzCascaderModule, imports: [[
|
18
|
+
CommonModule,
|
19
|
+
ReactiveFormsModule,
|
20
|
+
FormlyNzFormFieldModule,
|
21
|
+
NzCascaderModule,
|
22
|
+
FormlyModule.forChild({
|
23
|
+
types: [
|
24
|
+
{
|
25
|
+
name: 'cascader',
|
26
|
+
component: FormlyFieldCascader,
|
27
|
+
wrappers: ['form-field']
|
28
|
+
}
|
29
|
+
]
|
30
|
+
})
|
31
|
+
]] });
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzCascaderModule, decorators: [{
|
33
|
+
type: NgModule,
|
34
|
+
args: [{
|
35
|
+
declarations: [FormlyFieldCascader],
|
36
|
+
imports: [
|
37
|
+
CommonModule,
|
38
|
+
ReactiveFormsModule,
|
39
|
+
FormlyNzFormFieldModule,
|
40
|
+
NzCascaderModule,
|
41
|
+
FormlyModule.forChild({
|
42
|
+
types: [
|
43
|
+
{
|
44
|
+
name: 'cascader',
|
45
|
+
component: FormlyFieldCascader,
|
46
|
+
wrappers: ['form-field']
|
47
|
+
}
|
48
|
+
]
|
49
|
+
})
|
50
|
+
]
|
51
|
+
}]
|
52
|
+
}] });
|
53
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzY2FkZXIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC9jYXNjYWRlci9zcmMvY2FzY2FkZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUNoRCxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNyRCxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQztBQUUzRSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUMxRCxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQzs7O0FBc0J0RCxNQUFNLE9BQU8sc0JBQXNCOztvSEFBdEIsc0JBQXNCO3FIQUF0QixzQkFBc0IsaUJBbkJsQixtQkFBbUIsYUFFaEMsWUFBWTtRQUNaLG1CQUFtQjtRQUNuQix1QkFBdUI7UUFFdkIsZ0JBQWdCO3FIQWFQLHNCQUFzQixZQWxCeEI7WUFDUCxZQUFZO1lBQ1osbUJB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