ngx-formly-zorro-antd 14.0.0 → 14.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -1
- package/autocomplete/autocomplete.props.d.ts +38 -38
- package/autocomplete/index.d.ts +5 -5
- package/autocomplete/public_api.d.ts +1 -1
- package/button/button.module.d.ts +11 -11
- package/button/button.type.d.ts +66 -66
- package/button/index.d.ts +5 -5
- package/button/public_api.d.ts +2 -2
- package/card/card.module.d.ts +10 -10
- package/card/card.wrapper.d.ts +58 -58
- package/card/index.d.ts +5 -5
- package/card/public_api.d.ts +2 -2
- package/cascader/cascader.module.d.ts +12 -12
- package/cascader/cascader.type.d.ts +152 -152
- package/cascader/index.d.ts +5 -5
- package/cascader/public_api.d.ts +2 -2
- package/checkbox/checkbox.module.d.ts +12 -12
- package/checkbox/checkbox.type.d.ts +35 -35
- package/checkbox/index.d.ts +5 -5
- package/checkbox/public_api.d.ts +2 -2
- package/datepicker/datepicker.module.d.ts +12 -12
- package/datepicker/datepicker.props.d.ts +144 -146
- package/datepicker/datepicker.type.d.ts +31 -31
- package/datepicker/index.d.ts +5 -5
- package/datepicker/public_api.d.ts +2 -2
- package/esm2020/autocomplete/autocomplete.props.mjs +2 -2
- package/esm2020/autocomplete/ngx-formly-zorro-antd-autocomplete.mjs +4 -4
- package/esm2020/autocomplete/public_api.mjs +2 -2
- package/esm2020/button/button.module.mjs +61 -61
- package/esm2020/button/button.type.mjs +110 -110
- package/esm2020/button/ngx-formly-zorro-antd-button.mjs +4 -4
- package/esm2020/button/public_api.mjs +3 -3
- package/esm2020/card/card.module.mjs +43 -43
- package/esm2020/card/card.wrapper.mjs +47 -47
- package/esm2020/card/ngx-formly-zorro-antd-card.mjs +4 -4
- package/esm2020/card/public_api.mjs +3 -3
- package/esm2020/cascader/cascader.module.mjs +51 -51
- package/esm2020/cascader/cascader.type.mjs +112 -112
- package/esm2020/cascader/ngx-formly-zorro-antd-cascader.mjs +4 -4
- package/esm2020/cascader/public_api.mjs +3 -3
- package/esm2020/checkbox/checkbox.module.mjs +59 -59
- package/esm2020/checkbox/checkbox.type.mjs +69 -69
- package/esm2020/checkbox/ngx-formly-zorro-antd-checkbox.mjs +4 -4
- package/esm2020/checkbox/public_api.mjs +3 -3
- package/esm2020/datepicker/datepicker.module.mjs +51 -51
- package/esm2020/datepicker/datepicker.props.mjs +2 -2
- package/esm2020/datepicker/datepicker.type.mjs +191 -189
- package/esm2020/datepicker/ngx-formly-zorro-antd-datepicker.mjs +4 -4
- package/esm2020/datepicker/public_api.mjs +3 -3
- package/esm2020/form-field/form-field.module.mjs +45 -45
- package/esm2020/form-field/form-field.props.mjs +2 -2
- package/esm2020/form-field/form-field.wrapper.mjs +127 -127
- package/esm2020/form-field/ngx-formly-zorro-antd-form-field.mjs +4 -4
- package/esm2020/form-field/public_api.mjs +2 -2
- package/esm2020/grid/grid.module.mjs +41 -41
- package/esm2020/grid/grid.props.mjs +2 -2
- package/esm2020/grid/grid.type.mjs +71 -71
- package/esm2020/grid/ngx-formly-zorro-antd-grid.mjs +4 -4
- package/esm2020/grid/public_api.mjs +3 -3
- package/esm2020/index.mjs +2 -2
- package/esm2020/input/input.module.mjs +89 -89
- package/esm2020/input/input.props.mjs +2 -2
- package/esm2020/input/input.type.mjs +309 -309
- package/esm2020/input/ngx-formly-zorro-antd-input.mjs +4 -4
- package/esm2020/input/public_api.mjs +3 -3
- package/esm2020/input-group/input-group.module.mjs +47 -47
- package/esm2020/input-group/input-group.props.mjs +2 -2
- package/esm2020/input-group/input-group.type.mjs +71 -71
- package/esm2020/input-group/ngx-formly-zorro-antd-input-group.mjs +4 -4
- package/esm2020/input-group/public_api.mjs +3 -3
- package/esm2020/input-number/input-number.module.mjs +59 -59
- package/esm2020/input-number/input-number.props.mjs +2 -2
- package/esm2020/input-number/input-number.type.mjs +128 -128
- package/esm2020/input-number/ngx-formly-zorro-antd-input-number.mjs +4 -4
- package/esm2020/input-number/public_api.mjs +3 -3
- package/esm2020/lib/ui-ng-zorro-antd.mjs +2 -2
- package/esm2020/lib/ui-ng-zorro-antd.module.mjs +97 -97
- package/esm2020/ngx-formly-zorro-antd.mjs +4 -4
- package/esm2020/radio/ngx-formly-zorro-antd-radio.mjs +4 -4
- package/esm2020/radio/public_api.mjs +3 -3
- package/esm2020/radio/radio.module.mjs +59 -59
- package/esm2020/radio/radio.type.mjs +96 -96
- package/esm2020/rate/ngx-formly-zorro-antd-rate.mjs +4 -4
- package/esm2020/rate/public_api.mjs +3 -3
- package/esm2020/rate/rate.module.mjs +51 -51
- package/esm2020/rate/rate.type.mjs +63 -63
- package/esm2020/select/ngx-formly-zorro-antd-select.mjs +4 -4
- package/esm2020/select/public_api.mjs +3 -3
- package/esm2020/select/select.module.mjs +57 -57
- package/esm2020/select/select.props.mjs +2 -2
- package/esm2020/select/select.type.mjs +163 -163
- package/esm2020/slider/ngx-formly-zorro-antd-slider.mjs +4 -4
- package/esm2020/slider/public_api.mjs +3 -3
- package/esm2020/slider/slider.module.mjs +51 -51
- package/esm2020/slider/slider.type.mjs +67 -67
- package/esm2020/switch/ngx-formly-zorro-antd-switch.mjs +4 -4
- package/esm2020/switch/public_api.mjs +3 -3
- package/esm2020/switch/switch.module.mjs +51 -51
- package/esm2020/switch/switch.type.mjs +53 -53
- package/esm2020/tabs/ngx-formly-zorro-antd-tabs.mjs +4 -4
- package/esm2020/tabs/public_api.mjs +3 -3
- package/esm2020/tabs/tabs.module.mjs +41 -41
- package/esm2020/tabs/tabs.props.mjs +2 -2
- package/esm2020/tabs/tabs.wrapper.mjs +111 -111
- package/esm2020/textarea/ngx-formly-zorro-antd-textarea.mjs +4 -4
- package/esm2020/textarea/public_api.mjs +3 -3
- package/esm2020/textarea/textarea.module.mjs +51 -51
- package/esm2020/textarea/textarea.type.mjs +88 -88
- package/esm2020/timepicker/ngx-formly-zorro-antd-timepicker.mjs +4 -4
- package/esm2020/timepicker/public_api.mjs +3 -3
- package/esm2020/timepicker/timepicker.module.mjs +51 -51
- package/esm2020/timepicker/timepicker.type.mjs +92 -92
- package/esm2020/transfer/ngx-formly-zorro-antd-transfer.mjs +4 -4
- package/esm2020/transfer/public_api.mjs +3 -3
- package/esm2020/transfer/transfer.component.mjs +128 -128
- package/esm2020/transfer/transfer.module.mjs +52 -52
- package/esm2020/transfer/transfer.type.mjs +87 -87
- package/esm2020/tree-select/ngx-formly-zorro-antd-tree-select.mjs +4 -4
- package/esm2020/tree-select/public_api.mjs +3 -3
- package/esm2020/tree-select/tree-select.module.mjs +51 -51
- package/esm2020/tree-select/tree-select.type.mjs +98 -98
- package/esm2020/upload/ngx-formly-zorro-antd-upload.mjs +4 -4
- package/esm2020/upload/public_api.mjs +3 -3
- package/esm2020/upload/upload.component.mjs +174 -174
- package/esm2020/upload/upload.module.mjs +60 -60
- package/esm2020/upload/upload.type.mjs +119 -119
- package/fesm2015/ngx-formly-zorro-antd-autocomplete.mjs +2 -2
- package/fesm2015/ngx-formly-zorro-antd-button.mjs +152 -152
- package/fesm2015/ngx-formly-zorro-antd-button.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-card.mjs +77 -77
- package/fesm2015/ngx-formly-zorro-antd-card.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-cascader.mjs +145 -145
- package/fesm2015/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs +110 -110
- package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs +224 -222
- package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-form-field.mjs +155 -155
- package/fesm2015/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-grid.mjs +97 -97
- package/fesm2015/ngx-formly-zorro-antd-grid.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-input-group.mjs +102 -102
- package/fesm2015/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-input-number.mjs +169 -169
- package/fesm2015/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-input.mjs +376 -376
- package/fesm2015/ngx-formly-zorro-antd-input.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-radio.mjs +134 -134
- package/fesm2015/ngx-formly-zorro-antd-radio.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-rate.mjs +97 -97
- package/fesm2015/ngx-formly-zorro-antd-rate.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-select.mjs +199 -199
- package/fesm2015/ngx-formly-zorro-antd-select.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-slider.mjs +101 -101
- package/fesm2015/ngx-formly-zorro-antd-slider.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-switch.mjs +87 -87
- package/fesm2015/ngx-formly-zorro-antd-switch.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-tabs.mjs +137 -137
- package/fesm2015/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-textarea.mjs +121 -121
- package/fesm2015/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs +125 -125
- package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-transfer.mjs +241 -241
- package/fesm2015/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs +131 -131
- package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-upload.mjs +321 -321
- package/fesm2015/ngx-formly-zorro-antd-upload.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd.mjs +74 -74
- package/fesm2015/ngx-formly-zorro-antd.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-autocomplete.mjs +2 -2
- package/fesm2020/ngx-formly-zorro-antd-button.mjs +152 -152
- package/fesm2020/ngx-formly-zorro-antd-button.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-card.mjs +77 -77
- package/fesm2020/ngx-formly-zorro-antd-card.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-cascader.mjs +145 -145
- package/fesm2020/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs +110 -110
- package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs +224 -222
- package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-form-field.mjs +155 -155
- package/fesm2020/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-grid.mjs +97 -97
- package/fesm2020/ngx-formly-zorro-antd-grid.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-input-group.mjs +102 -102
- package/fesm2020/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-input-number.mjs +169 -169
- package/fesm2020/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-input.mjs +376 -376
- package/fesm2020/ngx-formly-zorro-antd-input.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-radio.mjs +134 -134
- package/fesm2020/ngx-formly-zorro-antd-radio.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-rate.mjs +97 -97
- package/fesm2020/ngx-formly-zorro-antd-rate.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-select.mjs +199 -199
- package/fesm2020/ngx-formly-zorro-antd-select.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-slider.mjs +101 -101
- package/fesm2020/ngx-formly-zorro-antd-slider.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-switch.mjs +87 -87
- package/fesm2020/ngx-formly-zorro-antd-switch.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-tabs.mjs +137 -137
- package/fesm2020/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-textarea.mjs +121 -121
- package/fesm2020/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs +125 -125
- package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-transfer.mjs +241 -241
- package/fesm2020/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs +131 -131
- package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-upload.mjs +320 -320
- package/fesm2020/ngx-formly-zorro-antd-upload.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd.mjs +74 -74
- package/fesm2020/ngx-formly-zorro-antd.mjs.map +1 -1
- package/form-field/form-field.module.d.ts +11 -11
- package/form-field/form-field.props.d.ts +105 -105
- package/form-field/form-field.wrapper.d.ts +9 -9
- package/form-field/index.d.ts +5 -5
- package/form-field/public_api.d.ts +3 -3
- package/grid/grid.module.d.ts +10 -10
- package/grid/grid.props.d.ts +44 -44
- package/grid/grid.type.d.ts +11 -11
- package/grid/index.d.ts +5 -5
- package/grid/public_api.d.ts +3 -3
- package/index.d.ts +1 -1
- package/input/index.d.ts +5 -5
- package/input/input.module.d.ts +14 -14
- package/input/input.props.d.ts +36 -33
- package/input/input.type.d.ts +26 -26
- package/input/public_api.d.ts +2 -2
- package/input-group/index.d.ts +5 -5
- package/input-group/input-group.module.d.ts +11 -11
- package/input-group/input-group.props.d.ts +56 -56
- package/input-group/input-group.type.d.ts +22 -22
- package/input-group/public_api.d.ts +3 -3
- package/input-number/index.d.ts +5 -5
- package/input-number/input-number.module.d.ts +12 -12
- package/input-number/input-number.props.d.ts +81 -78
- package/input-number/input-number.type.d.ts +24 -24
- package/input-number/public_api.d.ts +2 -2
- package/lib/ui-ng-zorro-antd.d.ts +1 -1
- package/lib/ui-ng-zorro-antd.module.d.ts +27 -27
- package/package.json +5 -1
- package/radio/index.d.ts +5 -5
- package/radio/public_api.d.ts +2 -2
- package/radio/radio.module.d.ts +14 -14
- package/radio/radio.type.d.ts +38 -38
- package/rate/index.d.ts +5 -5
- package/rate/public_api.d.ts +2 -2
- package/rate/rate.module.d.ts +12 -12
- package/rate/rate.type.d.ts +57 -57
- package/select/index.d.ts +5 -5
- package/select/public_api.d.ts +2 -2
- package/select/select.module.d.ts +13 -13
- package/select/select.props.d.ts +162 -162
- package/select/select.type.d.ts +35 -35
- package/slider/index.d.ts +5 -5
- package/slider/public_api.d.ts +2 -2
- package/slider/slider.module.d.ts +12 -12
- package/slider/slider.type.d.ts +76 -76
- package/switch/index.d.ts +5 -5
- package/switch/public_api.d.ts +2 -2
- package/switch/switch.module.d.ts +12 -12
- package/switch/switch.type.d.ts +44 -44
- package/tabs/index.d.ts +5 -5
- package/tabs/public_api.d.ts +2 -2
- package/tabs/tabs.module.d.ts +10 -10
- package/tabs/tabs.props.d.ts +126 -126
- package/tabs/tabs.wrapper.d.ts +28 -28
- package/textarea/index.d.ts +5 -5
- package/textarea/public_api.d.ts +2 -2
- package/textarea/textarea.module.d.ts +12 -12
- package/textarea/textarea.type.d.ts +38 -38
- package/timepicker/index.d.ts +5 -5
- package/timepicker/public_api.d.ts +2 -2
- package/timepicker/timepicker.module.d.ts +12 -12
- package/timepicker/timepicker.type.d.ts +131 -131
- package/transfer/index.d.ts +5 -5
- package/transfer/public_api.d.ts +2 -2
- package/transfer/transfer.component.d.ts +26 -26
- package/transfer/transfer.module.d.ts +13 -13
- package/transfer/transfer.type.d.ts +118 -118
- package/tree-select/index.d.ts +5 -5
- package/tree-select/public_api.d.ts +2 -2
- package/tree-select/tree-select.module.d.ts +12 -12
- package/tree-select/tree-select.type.d.ts +158 -158
- package/upload/index.d.ts +5 -5
- package/upload/public_api.d.ts +2 -2
- package/upload/upload.component.d.ts +27 -27
- package/upload/upload.module.d.ts +15 -15
- package/upload/upload.type.d.ts +173 -173
@@ -10,232 +10,234 @@ import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
|
|
10
10
|
import * as i3 from 'ng-zorro-antd/date-picker';
|
11
11
|
import { NzDatePickerModule } from 'ng-zorro-antd/date-picker';
|
12
12
|
|
13
|
-
class FormlyFieldDatepicker extends FieldType {
|
14
|
-
constructor() {
|
15
|
-
super(...arguments);
|
16
|
-
this.defaultOptions = {
|
17
|
-
props: {
|
18
|
-
allowClear: true,
|
19
|
-
backdrop: false,
|
20
|
-
defaultPickerValue: null,
|
21
|
-
inputReadOnly: false,
|
22
|
-
mode: 'date',
|
23
|
-
size: 'default',
|
24
|
-
status: '',
|
25
|
-
placement: 'bottomLeft',
|
26
|
-
popupStyle: {},
|
27
|
-
borderless: false,
|
28
|
-
inline: false,
|
29
|
-
showToday: true,
|
30
|
-
showNow: true,
|
31
|
-
rangeOptions: {
|
32
|
-
separator: '~'
|
33
|
-
}
|
34
|
-
}
|
35
|
-
};
|
36
|
-
}
|
37
|
-
}
|
38
|
-
FormlyFieldDatepicker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldDatepicker, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
39
|
-
FormlyFieldDatepicker.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldDatepicker, selector: "formly-field-datepicker", usesInheritance: true, ngImport: i0, template: `<ng-container [ngSwitch]="props.type">
|
40
|
-
<nz-range-picker
|
41
|
-
*ngSwitchCase="'range'"
|
42
|
-
[nzId]="id"
|
43
|
-
[formControl]="formControl"
|
44
|
-
[formlyAttributes]="field"
|
45
|
-
[ngClass]="props['className']"
|
46
|
-
[nzPlaceHolder]="props.placeholder ?? ''"
|
47
|
-
[nzAllowClear]="props['allowClear']!!"
|
48
|
-
[nzAutoFocus]="props['autoFocus']!!"
|
49
|
-
[nzBackdrop]="props['backdrop']!!"
|
50
|
-
[nzDefaultPickerValue]="props['defaultPickerValue']"
|
51
|
-
[nzDisabledDate]="props['disabledDate']"
|
52
|
-
[nzDropdownClassName]="props['dropdownClassName']"
|
53
|
-
[nzFormat]="props['format']"
|
54
|
-
[nzInputReadOnly]="props['inputReadOnly']!!"
|
55
|
-
[nzMode]="props['mode']"
|
56
|
-
[nzPopupStyle]="props['popupStyle']"
|
57
|
-
[nzSize]="props['size']"
|
58
|
-
[nzStatus]="props['status'] ?? ''"
|
59
|
-
[nzPlacement]="props['placement']"
|
60
|
-
[nzRenderExtraFooter]="props['renderExtraFooter']"
|
61
|
-
[nzSuffixIcon]="props['suffixIcon']"
|
62
|
-
[nzBorderless]="props['borderless']"
|
63
|
-
[nzInline]="props['inline']"
|
64
|
-
[nzDateRender]="props['dateRender']"
|
65
|
-
[nzDisabledTime]="props['rangeOptions']?.disabledTime"
|
66
|
-
[nzShowTime]="props['showTime']"
|
67
|
-
[nzShowToday]="props['showToday']!!"
|
68
|
-
[nzShowNow]="props['showNow']!!"
|
69
|
-
[nzRanges]="props['rangeOptions']?.ranges"
|
70
|
-
[nzSeparator]="props['rangeOptions']?.separator"
|
71
|
-
(nzOnOpenChange)="props['openChange'] && props['openChange'](field, $event)"
|
72
|
-
(nzOnOk)="props['onOk'] && props['onOk'](field, $event)"
|
73
|
-
(nzOnCalendarChange)="
|
74
|
-
props['rangeOptions']?.calendarChange &&
|
75
|
-
props['rangeOptions']?.calendarChange(field, $event)
|
76
|
-
"
|
77
|
-
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
78
|
-
></nz-range-picker>
|
79
|
-
|
80
|
-
<nz-date-picker
|
81
|
-
*ngSwitchDefault
|
82
|
-
[nzId]="id"
|
83
|
-
[formControl]="formControl"
|
84
|
-
[formlyAttributes]="field"
|
85
|
-
[ngClass]="props['className']"
|
86
|
-
[nzPlaceHolder]="props.placeholder ?? ''"
|
87
|
-
[nzAllowClear]="props['allowClear']!!"
|
88
|
-
[nzAutoFocus]="props['autoFocus']!!"
|
89
|
-
[nzBackdrop]="props['backdrop']!!"
|
90
|
-
[nzDefaultPickerValue]="props['defaultPickerValue']"
|
91
|
-
[nzDisabledDate]="props['disabledDate']"
|
92
|
-
[nzDropdownClassName]="props['dropdownClassName']"
|
93
|
-
[nzFormat]="props['format']"
|
94
|
-
[nzInputReadOnly]="props['inputReadOnly']!!"
|
95
|
-
[nzMode]="props['mode']"
|
96
|
-
[nzPopupStyle]="props['popupStyle']!"
|
97
|
-
[nzSize]="props['size']!"
|
98
|
-
[nzStatus]="props['status']!"
|
99
|
-
[nzPlacement]="props['placement']!"
|
100
|
-
[nzRenderExtraFooter]="props['renderExtraFooter']"
|
101
|
-
[nzSuffixIcon]="props['suffixIcon']"
|
102
|
-
[nzBorderless]="props['borderless']"
|
103
|
-
[nzInline]="props['inline']"
|
104
|
-
[nzDateRender]="props['dateRender']"
|
105
|
-
[nzDisabledTime]="props['disabledTime']"
|
106
|
-
[nzShowTime]="props['showTime']"
|
107
|
-
[nzShowToday]="props['showToday']!!"
|
108
|
-
[nzShowNow]="props['showNow']!!"
|
109
|
-
(nzOnOpenChange)="props['openChange'] && props['openChange'](field, $event)"
|
110
|
-
(nzOnOk)="props['onOk'] && props['onOk'](field, $event)"
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
[
|
122
|
-
[
|
123
|
-
[
|
124
|
-
[
|
125
|
-
[
|
126
|
-
[
|
127
|
-
[
|
128
|
-
[
|
129
|
-
[
|
130
|
-
[
|
131
|
-
[
|
132
|
-
[
|
133
|
-
[
|
134
|
-
[
|
135
|
-
[
|
136
|
-
[
|
137
|
-
[
|
138
|
-
[
|
139
|
-
[
|
140
|
-
[
|
141
|
-
[
|
142
|
-
[
|
143
|
-
[
|
144
|
-
[
|
145
|
-
[
|
146
|
-
[
|
147
|
-
[
|
148
|
-
[
|
149
|
-
|
150
|
-
(
|
151
|
-
(
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
[
|
162
|
-
[
|
163
|
-
[
|
164
|
-
[
|
165
|
-
[
|
166
|
-
[
|
167
|
-
[
|
168
|
-
[
|
169
|
-
[
|
170
|
-
[
|
171
|
-
[
|
172
|
-
[
|
173
|
-
[
|
174
|
-
[
|
175
|
-
[
|
176
|
-
[
|
177
|
-
[
|
178
|
-
[
|
179
|
-
[
|
180
|
-
[
|
181
|
-
[
|
182
|
-
[
|
183
|
-
[
|
184
|
-
[
|
185
|
-
[
|
186
|
-
[
|
187
|
-
|
188
|
-
(
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
13
|
+
class FormlyFieldDatepicker extends FieldType {
|
14
|
+
constructor() {
|
15
|
+
super(...arguments);
|
16
|
+
this.defaultOptions = {
|
17
|
+
props: {
|
18
|
+
allowClear: true,
|
19
|
+
backdrop: false,
|
20
|
+
defaultPickerValue: null,
|
21
|
+
inputReadOnly: false,
|
22
|
+
mode: 'date',
|
23
|
+
size: 'default',
|
24
|
+
status: '',
|
25
|
+
placement: 'bottomLeft',
|
26
|
+
popupStyle: {},
|
27
|
+
borderless: false,
|
28
|
+
inline: false,
|
29
|
+
showToday: true,
|
30
|
+
showNow: true,
|
31
|
+
rangeOptions: {
|
32
|
+
separator: '~'
|
33
|
+
}
|
34
|
+
}
|
35
|
+
};
|
36
|
+
}
|
37
|
+
}
|
38
|
+
FormlyFieldDatepicker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldDatepicker, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
39
|
+
FormlyFieldDatepicker.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldDatepicker, selector: "formly-field-datepicker", usesInheritance: true, ngImport: i0, template: `<ng-container [ngSwitch]="props.type">
|
40
|
+
<nz-range-picker
|
41
|
+
*ngSwitchCase="'range'"
|
42
|
+
[nzId]="id"
|
43
|
+
[formControl]="formControl"
|
44
|
+
[formlyAttributes]="field"
|
45
|
+
[ngClass]="props['className']"
|
46
|
+
[nzPlaceHolder]="props.placeholder ?? ''"
|
47
|
+
[nzAllowClear]="props['allowClear']!!"
|
48
|
+
[nzAutoFocus]="props['autoFocus']!!"
|
49
|
+
[nzBackdrop]="props['backdrop']!!"
|
50
|
+
[nzDefaultPickerValue]="props['defaultPickerValue']"
|
51
|
+
[nzDisabledDate]="props['disabledDate']"
|
52
|
+
[nzDropdownClassName]="props['dropdownClassName']"
|
53
|
+
[nzFormat]="props['format']"
|
54
|
+
[nzInputReadOnly]="props['inputReadOnly']!!"
|
55
|
+
[nzMode]="props['mode']"
|
56
|
+
[nzPopupStyle]="props['popupStyle']"
|
57
|
+
[nzSize]="props['size']"
|
58
|
+
[nzStatus]="props['status'] ?? ''"
|
59
|
+
[nzPlacement]="props['placement']"
|
60
|
+
[nzRenderExtraFooter]="props['renderExtraFooter']"
|
61
|
+
[nzSuffixIcon]="props['suffixIcon']"
|
62
|
+
[nzBorderless]="props['borderless']"
|
63
|
+
[nzInline]="props['inline']"
|
64
|
+
[nzDateRender]="props['dateRender']"
|
65
|
+
[nzDisabledTime]="props['rangeOptions']?.disabledTime"
|
66
|
+
[nzShowTime]="props['showTime']"
|
67
|
+
[nzShowToday]="props['showToday']!!"
|
68
|
+
[nzShowNow]="props['showNow']!!"
|
69
|
+
[nzRanges]="props['rangeOptions']?.ranges"
|
70
|
+
[nzSeparator]="props['rangeOptions']?.separator"
|
71
|
+
(nzOnOpenChange)="props['openChange'] && props['openChange'](field, $event)"
|
72
|
+
(nzOnOk)="props['onOk'] && props['onOk'](field, $event)"
|
73
|
+
(nzOnCalendarChange)="
|
74
|
+
props['rangeOptions']?.calendarChange &&
|
75
|
+
props['rangeOptions']?.calendarChange(field, $event)
|
76
|
+
"
|
77
|
+
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
78
|
+
></nz-range-picker>
|
79
|
+
|
80
|
+
<nz-date-picker
|
81
|
+
*ngSwitchDefault
|
82
|
+
[nzId]="id"
|
83
|
+
[formControl]="formControl"
|
84
|
+
[formlyAttributes]="field"
|
85
|
+
[ngClass]="props['className']"
|
86
|
+
[nzPlaceHolder]="props.placeholder ?? ''"
|
87
|
+
[nzAllowClear]="props['allowClear']!!"
|
88
|
+
[nzAutoFocus]="props['autoFocus']!!"
|
89
|
+
[nzBackdrop]="props['backdrop']!!"
|
90
|
+
[nzDefaultPickerValue]="props['defaultPickerValue']"
|
91
|
+
[nzDisabledDate]="props['disabledDate']"
|
92
|
+
[nzDropdownClassName]="props['dropdownClassName']"
|
93
|
+
[nzFormat]="props['format']"
|
94
|
+
[nzInputReadOnly]="props['inputReadOnly']!!"
|
95
|
+
[nzMode]="props['mode']"
|
96
|
+
[nzPopupStyle]="props['popupStyle']!"
|
97
|
+
[nzSize]="props['size']!"
|
98
|
+
[nzStatus]="props['status']!"
|
99
|
+
[nzPlacement]="props['placement']!"
|
100
|
+
[nzRenderExtraFooter]="props['renderExtraFooter']"
|
101
|
+
[nzSuffixIcon]="props['suffixIcon']"
|
102
|
+
[nzBorderless]="props['borderless']"
|
103
|
+
[nzInline]="props['inline']"
|
104
|
+
[nzDateRender]="props['dateRender']"
|
105
|
+
[nzDisabledTime]="props['disabledTime']"
|
106
|
+
[nzShowTime]="props['showTime']"
|
107
|
+
[nzShowToday]="props['showToday']!!"
|
108
|
+
[nzShowNow]="props['showNow']!!"
|
109
|
+
(nzOnOpenChange)="props['openChange'] && props['openChange'](field, $event)"
|
110
|
+
(nzOnOk)="props['onOk'] && props['onOk'](field, $event)"
|
111
|
+
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
112
|
+
></nz-date-picker>
|
113
|
+
</ng-container>`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.NzDatePickerComponent, selector: "nz-date-picker,nz-week-picker,nz-month-picker,nz-year-picker,nz-range-picker", inputs: ["nzAllowClear", "nzAutoFocus", "nzDisabled", "nzBorderless", "nzInputReadOnly", "nzInline", "nzOpen", "nzDisabledDate", "nzLocale", "nzPlaceHolder", "nzPopupStyle", "nzDropdownClassName", "nzSize", "nzStatus", "nzFormat", "nzDateRender", "nzDisabledTime", "nzRenderExtraFooter", "nzShowToday", "nzMode", "nzShowNow", "nzRanges", "nzDefaultPickerValue", "nzSeparator", "nzSuffixIcon", "nzBackdrop", "nzId", "nzPlacement", "nzShowTime"], outputs: ["nzOnPanelChange", "nzOnCalendarChange", "nzOnOk", "nzOnOpenChange"], exportAs: ["nzDatePicker"] }, { kind: "directive", type: i3.NzRangePickerComponent, selector: "nz-range-picker", exportAs: ["nzRangePicker"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
114
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldDatepicker, decorators: [{
|
115
|
+
type: Component,
|
116
|
+
args: [{
|
117
|
+
selector: 'formly-field-datepicker',
|
118
|
+
template: `<ng-container [ngSwitch]="props.type">
|
119
|
+
<nz-range-picker
|
120
|
+
*ngSwitchCase="'range'"
|
121
|
+
[nzId]="id"
|
122
|
+
[formControl]="formControl"
|
123
|
+
[formlyAttributes]="field"
|
124
|
+
[ngClass]="props['className']"
|
125
|
+
[nzPlaceHolder]="props.placeholder ?? ''"
|
126
|
+
[nzAllowClear]="props['allowClear']!!"
|
127
|
+
[nzAutoFocus]="props['autoFocus']!!"
|
128
|
+
[nzBackdrop]="props['backdrop']!!"
|
129
|
+
[nzDefaultPickerValue]="props['defaultPickerValue']"
|
130
|
+
[nzDisabledDate]="props['disabledDate']"
|
131
|
+
[nzDropdownClassName]="props['dropdownClassName']"
|
132
|
+
[nzFormat]="props['format']"
|
133
|
+
[nzInputReadOnly]="props['inputReadOnly']!!"
|
134
|
+
[nzMode]="props['mode']"
|
135
|
+
[nzPopupStyle]="props['popupStyle']"
|
136
|
+
[nzSize]="props['size']"
|
137
|
+
[nzStatus]="props['status'] ?? ''"
|
138
|
+
[nzPlacement]="props['placement']"
|
139
|
+
[nzRenderExtraFooter]="props['renderExtraFooter']"
|
140
|
+
[nzSuffixIcon]="props['suffixIcon']"
|
141
|
+
[nzBorderless]="props['borderless']"
|
142
|
+
[nzInline]="props['inline']"
|
143
|
+
[nzDateRender]="props['dateRender']"
|
144
|
+
[nzDisabledTime]="props['rangeOptions']?.disabledTime"
|
145
|
+
[nzShowTime]="props['showTime']"
|
146
|
+
[nzShowToday]="props['showToday']!!"
|
147
|
+
[nzShowNow]="props['showNow']!!"
|
148
|
+
[nzRanges]="props['rangeOptions']?.ranges"
|
149
|
+
[nzSeparator]="props['rangeOptions']?.separator"
|
150
|
+
(nzOnOpenChange)="props['openChange'] && props['openChange'](field, $event)"
|
151
|
+
(nzOnOk)="props['onOk'] && props['onOk'](field, $event)"
|
152
|
+
(nzOnCalendarChange)="
|
153
|
+
props['rangeOptions']?.calendarChange &&
|
154
|
+
props['rangeOptions']?.calendarChange(field, $event)
|
155
|
+
"
|
156
|
+
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
157
|
+
></nz-range-picker>
|
158
|
+
|
159
|
+
<nz-date-picker
|
160
|
+
*ngSwitchDefault
|
161
|
+
[nzId]="id"
|
162
|
+
[formControl]="formControl"
|
163
|
+
[formlyAttributes]="field"
|
164
|
+
[ngClass]="props['className']"
|
165
|
+
[nzPlaceHolder]="props.placeholder ?? ''"
|
166
|
+
[nzAllowClear]="props['allowClear']!!"
|
167
|
+
[nzAutoFocus]="props['autoFocus']!!"
|
168
|
+
[nzBackdrop]="props['backdrop']!!"
|
169
|
+
[nzDefaultPickerValue]="props['defaultPickerValue']"
|
170
|
+
[nzDisabledDate]="props['disabledDate']"
|
171
|
+
[nzDropdownClassName]="props['dropdownClassName']"
|
172
|
+
[nzFormat]="props['format']"
|
173
|
+
[nzInputReadOnly]="props['inputReadOnly']!!"
|
174
|
+
[nzMode]="props['mode']"
|
175
|
+
[nzPopupStyle]="props['popupStyle']!"
|
176
|
+
[nzSize]="props['size']!"
|
177
|
+
[nzStatus]="props['status']!"
|
178
|
+
[nzPlacement]="props['placement']!"
|
179
|
+
[nzRenderExtraFooter]="props['renderExtraFooter']"
|
180
|
+
[nzSuffixIcon]="props['suffixIcon']"
|
181
|
+
[nzBorderless]="props['borderless']"
|
182
|
+
[nzInline]="props['inline']"
|
183
|
+
[nzDateRender]="props['dateRender']"
|
184
|
+
[nzDisabledTime]="props['disabledTime']"
|
185
|
+
[nzShowTime]="props['showTime']"
|
186
|
+
[nzShowToday]="props['showToday']!!"
|
187
|
+
[nzShowNow]="props['showNow']!!"
|
188
|
+
(nzOnOpenChange)="props['openChange'] && props['openChange'](field, $event)"
|
189
|
+
(nzOnOk)="props['onOk'] && props['onOk'](field, $event)"
|
190
|
+
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
191
|
+
></nz-date-picker>
|
192
|
+
</ng-container>`,
|
193
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
194
|
+
}]
|
193
195
|
}] });
|
194
196
|
|
195
|
-
class FormlyNzDatepickerModule {
|
196
|
-
}
|
197
|
-
FormlyNzDatepickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzDatepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
198
|
-
FormlyNzDatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzDatepickerModule, declarations: [FormlyFieldDatepicker], imports: [CommonModule,
|
199
|
-
ReactiveFormsModule,
|
200
|
-
FormlyNzFormFieldModule,
|
201
|
-
NzDatePickerModule, i4.FormlyModule] });
|
202
|
-
FormlyNzDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzDatepickerModule, imports: [CommonModule,
|
203
|
-
ReactiveFormsModule,
|
204
|
-
FormlyNzFormFieldModule,
|
205
|
-
NzDatePickerModule,
|
206
|
-
FormlyModule.forChild({
|
207
|
-
types: [
|
208
|
-
{
|
209
|
-
name: 'datepicker',
|
210
|
-
component: FormlyFieldDatepicker,
|
211
|
-
wrappers: ['form-field']
|
212
|
-
}
|
213
|
-
]
|
214
|
-
})] });
|
215
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzDatepickerModule, decorators: [{
|
216
|
-
type: NgModule,
|
217
|
-
args: [{
|
218
|
-
declarations: [FormlyFieldDatepicker],
|
219
|
-
imports: [
|
220
|
-
CommonModule,
|
221
|
-
ReactiveFormsModule,
|
222
|
-
FormlyNzFormFieldModule,
|
223
|
-
NzDatePickerModule,
|
224
|
-
FormlyModule.forChild({
|
225
|
-
types: [
|
226
|
-
{
|
227
|
-
name: 'datepicker',
|
228
|
-
component: FormlyFieldDatepicker,
|
229
|
-
wrappers: ['form-field']
|
230
|
-
}
|
231
|
-
]
|
232
|
-
})
|
233
|
-
]
|
234
|
-
}]
|
197
|
+
class FormlyNzDatepickerModule {
|
198
|
+
}
|
199
|
+
FormlyNzDatepickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzDatepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
200
|
+
FormlyNzDatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzDatepickerModule, declarations: [FormlyFieldDatepicker], imports: [CommonModule,
|
201
|
+
ReactiveFormsModule,
|
202
|
+
FormlyNzFormFieldModule,
|
203
|
+
NzDatePickerModule, i4.FormlyModule] });
|
204
|
+
FormlyNzDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzDatepickerModule, imports: [CommonModule,
|
205
|
+
ReactiveFormsModule,
|
206
|
+
FormlyNzFormFieldModule,
|
207
|
+
NzDatePickerModule,
|
208
|
+
FormlyModule.forChild({
|
209
|
+
types: [
|
210
|
+
{
|
211
|
+
name: 'datepicker',
|
212
|
+
component: FormlyFieldDatepicker,
|
213
|
+
wrappers: ['form-field']
|
214
|
+
}
|
215
|
+
]
|
216
|
+
})] });
|
217
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzDatepickerModule, decorators: [{
|
218
|
+
type: NgModule,
|
219
|
+
args: [{
|
220
|
+
declarations: [FormlyFieldDatepicker],
|
221
|
+
imports: [
|
222
|
+
CommonModule,
|
223
|
+
ReactiveFormsModule,
|
224
|
+
FormlyNzFormFieldModule,
|
225
|
+
NzDatePickerModule,
|
226
|
+
FormlyModule.forChild({
|
227
|
+
types: [
|
228
|
+
{
|
229
|
+
name: 'datepicker',
|
230
|
+
component: FormlyFieldDatepicker,
|
231
|
+
wrappers: ['form-field']
|
232
|
+
}
|
233
|
+
]
|
234
|
+
})
|
235
|
+
]
|
236
|
+
}]
|
235
237
|
}] });
|
236
238
|
|
237
|
-
/**
|
238
|
-
* Generated bundle index. Do not edit.
|
239
|
+
/**
|
240
|
+
* Generated bundle index. Do not edit.
|
239
241
|
*/
|
240
242
|
|
241
243
|
export { FormlyFieldDatepicker, FormlyNzDatepickerModule };
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ngx-formly-zorro-antd-datepicker.mjs","sources":["../../../../packages/formlyantd/datepicker/src/datepicker.type.ts","../../../../packages/formlyantd/datepicker/src/datepicker.module.ts","../../../../packages/formlyantd/datepicker/src/ngx-formly-zorro-antd-datepicker.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\
|
1
|
+
{"version":3,"file":"ngx-formly-zorro-antd-datepicker.mjs","sources":["../../../../packages/formlyantd/datepicker/src/datepicker.type.ts","../../../../packages/formlyantd/datepicker/src/datepicker.module.ts","../../../../packages/formlyantd/datepicker/src/ngx-formly-zorro-antd-datepicker.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldType, FormlyFieldConfig, FieldTypeConfig } from '@ngx-formly/core';\n\nimport type { DatepickerProps } from './datepicker.props';\n\nexport interface FormlyDatepickerFieldConfig extends FormlyFieldConfig<DatepickerProps> {\n type: 'datepicker' | Type<FormlyFieldDatepicker>;\n}\n\n@Component({\n selector: 'formly-field-datepicker',\n template: `<ng-container [ngSwitch]=\"props.type\">\n <nz-range-picker\n *ngSwitchCase=\"'range'\"\n [nzId]=\"id\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [ngClass]=\"props['className']\"\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\n [nzAllowClear]=\"props['allowClear']!!\"\n [nzAutoFocus]=\"props['autoFocus']!!\"\n [nzBackdrop]=\"props['backdrop']!!\"\n [nzDefaultPickerValue]=\"props['defaultPickerValue']\"\n [nzDisabledDate]=\"props['disabledDate']\"\n [nzDropdownClassName]=\"props['dropdownClassName']\"\n [nzFormat]=\"props['format']\"\n [nzInputReadOnly]=\"props['inputReadOnly']!!\"\n [nzMode]=\"props['mode']\"\n [nzPopupStyle]=\"props['popupStyle']\"\n [nzSize]=\"props['size']\"\n [nzStatus]=\"props['status'] ?? ''\"\n [nzPlacement]=\"props['placement']\"\n [nzRenderExtraFooter]=\"props['renderExtraFooter']\"\n [nzSuffixIcon]=\"props['suffixIcon']\"\n [nzBorderless]=\"props['borderless']\"\n [nzInline]=\"props['inline']\"\n [nzDateRender]=\"props['dateRender']\"\n [nzDisabledTime]=\"props['rangeOptions']?.disabledTime\"\n [nzShowTime]=\"props['showTime']\"\n [nzShowToday]=\"props['showToday']!!\"\n [nzShowNow]=\"props['showNow']!!\"\n [nzRanges]=\"props['rangeOptions']?.ranges\"\n [nzSeparator]=\"props['rangeOptions']?.separator\"\n (nzOnOpenChange)=\"props['openChange'] && props['openChange'](field, $event)\"\n (nzOnOk)=\"props['onOk'] && props['onOk'](field, $event)\"\n (nzOnCalendarChange)=\"\n props['rangeOptions']?.calendarChange &&\n props['rangeOptions']?.calendarChange(field, $event)\n \"\n (ngModelChange)=\"props['modelChange'] && props['modelChange'](field, $event)\"\n ></nz-range-picker>\n\n <nz-date-picker\n *ngSwitchDefault\n [nzId]=\"id\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [ngClass]=\"props['className']\"\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\n [nzAllowClear]=\"props['allowClear']!!\"\n [nzAutoFocus]=\"props['autoFocus']!!\"\n [nzBackdrop]=\"props['backdrop']!!\"\n [nzDefaultPickerValue]=\"props['defaultPickerValue']\"\n [nzDisabledDate]=\"props['disabledDate']\"\n [nzDropdownClassName]=\"props['dropdownClassName']\"\n [nzFormat]=\"props['format']\"\n [nzInputReadOnly]=\"props['inputReadOnly']!!\"\n [nzMode]=\"props['mode']\"\n [nzPopupStyle]=\"props['popupStyle']!\"\n [nzSize]=\"props['size']!\"\n [nzStatus]=\"props['status']!\"\n [nzPlacement]=\"props['placement']!\"\n [nzRenderExtraFooter]=\"props['renderExtraFooter']\"\n [nzSuffixIcon]=\"props['suffixIcon']\"\n [nzBorderless]=\"props['borderless']\"\n [nzInline]=\"props['inline']\"\n [nzDateRender]=\"props['dateRender']\"\n [nzDisabledTime]=\"props['disabledTime']\"\n [nzShowTime]=\"props['showTime']\"\n [nzShowToday]=\"props['showToday']!!\"\n [nzShowNow]=\"props['showNow']!!\"\n (nzOnOpenChange)=\"props['openChange'] && props['openChange'](field, $event)\"\n (nzOnOk)=\"props['onOk'] && props['onOk'](field, $event)\"\n (ngModelChange)=\"props['modelChange'] && props['modelChange'](field, $event)\"\n ></nz-date-picker>\n </ng-container>`,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldDatepicker extends FieldType<FieldTypeConfig> {\n override defaultOptions = {\n props: {\n allowClear: true,\n backdrop: false,\n defaultPickerValue: null,\n inputReadOnly: false,\n mode: 'date' as const,\n size: 'default' as const,\n status: '' as const,\n placement: 'bottomLeft' as const,\n popupStyle: {},\n borderless: false,\n inline: false,\n showToday: true,\n showNow: true,\n rangeOptions: {\n separator: '~'\n }\n }\n };\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\n\nimport { NzDatePickerModule } from 'ng-zorro-antd/date-picker';\nimport { FormlyFieldDatepicker } from './datepicker.type';\n\n@NgModule({\n declarations: [FormlyFieldDatepicker],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormlyNzFormFieldModule,\n\n NzDatePickerModule,\n\n FormlyModule.forChild({\n types: [\n {\n name: 'datepicker',\n component: FormlyFieldDatepicker,\n wrappers: ['form-field']\n }\n ]\n })\n ]\n})\nexport class FormlyNzDatepickerModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;AAwFM,MAAO,qBAAsB,SAAQ,SAA0B,CAAA;AA/ErE,IAAA,WAAA,GAAA;;AAgFW,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,UAAU,EAAE,IAAI;AAChB,gBAAA,QAAQ,EAAE,KAAK;AACf,gBAAA,kBAAkB,EAAE,IAAI;AACxB,gBAAA,aAAa,EAAE,KAAK;AACpB,gBAAA,IAAI,EAAE,MAAe;AACrB,gBAAA,IAAI,EAAE,SAAkB;AACxB,gBAAA,MAAM,EAAE,EAAW;AACnB,gBAAA,SAAS,EAAE,YAAqB;AAChC,gBAAA,UAAU,EAAE,EAAE;AACd,gBAAA,UAAU,EAAE,KAAK;AACjB,gBAAA,MAAM,EAAE,KAAK;AACb,gBAAA,SAAS,EAAE,IAAI;AACf,gBAAA,OAAO,EAAE,IAAI;AACb,gBAAA,YAAY,EAAE;AACZ,oBAAA,SAAS,EAAE,GAAG;AACf,iBAAA;AACF,aAAA;SACF,CAAC;AACH,KAAA;;kHArBY,qBAAqB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAArB,qBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,qBAAqB,EA7EtB,QAAA,EAAA,yBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0EM,iBAAA,C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