ngx-formly-zorro-antd 15.0.2 → 16.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/button/button.module.mjs +62 -0
- package/{esm2020 → esm2022}/button/button.type.mjs +8 -7
- package/esm2022/card/card.module.mjs +44 -0
- package/esm2022/card/card.wrapper.mjs +48 -0
- package/esm2022/cascader/cascader.module.mjs +52 -0
- package/esm2022/cascader/cascader.type.mjs +113 -0
- package/esm2022/checkbox/checkbox.module.mjs +60 -0
- package/esm2022/checkbox/checkbox.type.mjs +70 -0
- package/esm2022/datepicker/datepicker.module.mjs +52 -0
- package/{esm2020 → esm2022}/datepicker/datepicker.type.mjs +8 -7
- package/esm2022/form-field/form-field.module.mjs +46 -0
- package/{esm2020 → esm2022}/form-field/form-field.wrapper.mjs +8 -7
- package/esm2022/grid/grid.module.mjs +42 -0
- package/{esm2020 → esm2022}/grid/grid.type.mjs +8 -7
- package/esm2022/input/input.module.mjs +90 -0
- package/{esm2020 → esm2022}/input/input.type.mjs +8 -7
- package/esm2022/input-group/input-group.module.mjs +48 -0
- package/esm2022/input-group/input-group.type.mjs +72 -0
- package/esm2022/input-number/input-number.module.mjs +60 -0
- package/{esm2020 → esm2022}/input-number/input-number.type.mjs +8 -7
- package/esm2022/lib/ui-ng-zorro-antd.module.mjs +98 -0
- package/esm2022/radio/radio.module.mjs +60 -0
- package/{esm2020 → esm2022}/radio/radio.type.mjs +8 -7
- package/esm2022/rate/rate.module.mjs +52 -0
- package/esm2022/rate/rate.type.mjs +64 -0
- package/esm2022/select/select.module.mjs +58 -0
- package/{esm2020 → esm2022}/select/select.type.mjs +8 -7
- package/esm2022/slider/slider.module.mjs +52 -0
- package/esm2022/slider/slider.type.mjs +68 -0
- package/esm2022/switch/switch.module.mjs +52 -0
- package/esm2022/switch/switch.type.mjs +54 -0
- package/esm2022/tabs/tabs.module.mjs +42 -0
- package/{esm2020 → esm2022}/tabs/tabs.wrapper.mjs +8 -7
- package/esm2022/textarea/textarea.module.mjs +56 -0
- package/{esm2020 → esm2022}/textarea/textarea.type.mjs +8 -7
- package/esm2022/timepicker/timepicker.module.mjs +52 -0
- package/esm2022/timepicker/timepicker.type.mjs +97 -0
- package/esm2022/transfer/transfer.component.mjs +129 -0
- package/esm2022/transfer/transfer.module.mjs +53 -0
- package/esm2022/transfer/transfer.type.mjs +88 -0
- package/esm2022/tree-select/tree-select.module.mjs +52 -0
- package/esm2022/tree-select/tree-select.type.mjs +102 -0
- package/{esm2020 → esm2022}/upload/upload.component.mjs +14 -13
- package/esm2022/upload/upload.module.mjs +61 -0
- package/{esm2020 → esm2022}/upload/upload.props.mjs +1 -1
- package/{esm2020 → esm2022}/upload/upload.type.mjs +8 -7
- package/fesm2022/ngx-formly-zorro-antd-autocomplete.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd-button.mjs +29 -29
- package/fesm2022/ngx-formly-zorro-antd-button.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-card.mjs +20 -20
- package/fesm2022/ngx-formly-zorro-antd-card.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-cascader.mjs +24 -24
- package/fesm2022/ngx-formly-zorro-antd-cascader.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-checkbox.mjs +28 -28
- package/fesm2022/ngx-formly-zorro-antd-checkbox.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd-datepicker.mjs +24 -24
- package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd-form-field.mjs +21 -21
- package/fesm2022/ngx-formly-zorro-antd-form-field.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-grid.mjs +19 -19
- package/fesm2022/ngx-formly-zorro-antd-grid.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-input-group.mjs +22 -22
- package/fesm2022/ngx-formly-zorro-antd-input-group.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-input-number.mjs +28 -28
- package/fesm2022/ngx-formly-zorro-antd-input-number.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-input.mjs +41 -41
- package/fesm2022/ngx-formly-zorro-antd-input.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-radio.mjs +28 -28
- package/fesm2022/ngx-formly-zorro-antd-radio.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd-rate.mjs +24 -24
- package/fesm2022/ngx-formly-zorro-antd-rate.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-select.mjs +27 -27
- package/fesm2022/ngx-formly-zorro-antd-select.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-slider.mjs +24 -24
- package/fesm2022/ngx-formly-zorro-antd-slider.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd-switch.mjs +24 -24
- package/fesm2022/ngx-formly-zorro-antd-switch.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd-tabs.mjs +19 -19
- package/fesm2022/ngx-formly-zorro-antd-tabs.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-textarea.mjs +26 -26
- package/fesm2022/ngx-formly-zorro-antd-textarea.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-timepicker.mjs +24 -24
- package/fesm2022/ngx-formly-zorro-antd-timepicker.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd-transfer.mjs +35 -35
- package/fesm2022/ngx-formly-zorro-antd-transfer.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd-tree-select.mjs +24 -24
- package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-upload.mjs +39 -39
- package/fesm2022/ngx-formly-zorro-antd-upload.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd.mjs +44 -44
- package/fesm2022/ngx-formly-zorro-antd.mjs.map +1 -0
- package/form-field/form-field.wrapper.d.ts +1 -1
- package/package.json +85 -135
- package/rate/rate.type.d.ts +3 -1
- package/transfer/transfer.component.d.ts +1 -1
- package/upload/upload.component.d.ts +1 -1
- package/upload/upload.props.d.ts +3 -1
- package/esm2020/button/button.module.mjs +0 -61
- package/esm2020/card/card.module.mjs +0 -43
- package/esm2020/card/card.wrapper.mjs +0 -47
- package/esm2020/cascader/cascader.module.mjs +0 -51
- package/esm2020/cascader/cascader.type.mjs +0 -112
- package/esm2020/checkbox/checkbox.module.mjs +0 -59
- package/esm2020/checkbox/checkbox.type.mjs +0 -69
- package/esm2020/datepicker/datepicker.module.mjs +0 -51
- package/esm2020/form-field/form-field.module.mjs +0 -45
- package/esm2020/grid/grid.module.mjs +0 -41
- package/esm2020/input/input.module.mjs +0 -89
- package/esm2020/input-group/input-group.module.mjs +0 -47
- package/esm2020/input-group/input-group.type.mjs +0 -71
- package/esm2020/input-number/input-number.module.mjs +0 -59
- package/esm2020/lib/ui-ng-zorro-antd.module.mjs +0 -97
- package/esm2020/radio/radio.module.mjs +0 -59
- package/esm2020/rate/rate.module.mjs +0 -51
- package/esm2020/rate/rate.type.mjs +0 -63
- package/esm2020/select/select.module.mjs +0 -57
- package/esm2020/slider/slider.module.mjs +0 -51
- package/esm2020/slider/slider.type.mjs +0 -67
- package/esm2020/switch/switch.module.mjs +0 -51
- package/esm2020/switch/switch.type.mjs +0 -53
- package/esm2020/tabs/tabs.module.mjs +0 -41
- package/esm2020/textarea/textarea.module.mjs +0 -55
- package/esm2020/timepicker/timepicker.module.mjs +0 -51
- package/esm2020/timepicker/timepicker.type.mjs +0 -96
- package/esm2020/transfer/transfer.component.mjs +0 -128
- package/esm2020/transfer/transfer.module.mjs +0 -52
- package/esm2020/transfer/transfer.type.mjs +0 -87
- package/esm2020/tree-select/tree-select.module.mjs +0 -51
- package/esm2020/tree-select/tree-select.type.mjs +0 -101
- package/esm2020/upload/upload.module.mjs +0 -60
- package/fesm2015/ngx-formly-zorro-antd-autocomplete.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-button.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-card.mjs +0 -93
- package/fesm2015/ngx-formly-zorro-antd-card.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-cascader.mjs +0 -165
- package/fesm2015/ngx-formly-zorro-antd-cascader.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs +0 -130
- package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-form-field.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-grid.mjs +0 -114
- package/fesm2015/ngx-formly-zorro-antd-grid.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-input-group.mjs +0 -120
- package/fesm2015/ngx-formly-zorro-antd-input-group.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-input-number.mjs +0 -189
- package/fesm2015/ngx-formly-zorro-antd-input-number.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-input.mjs +0 -400
- package/fesm2015/ngx-formly-zorro-antd-input.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-radio.mjs +0 -157
- package/fesm2015/ngx-formly-zorro-antd-radio.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-rate.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-select.mjs +0 -228
- package/fesm2015/ngx-formly-zorro-antd-select.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-slider.mjs +0 -120
- package/fesm2015/ngx-formly-zorro-antd-slider.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-switch.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-tabs.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-textarea.mjs +0 -198
- package/fesm2015/ngx-formly-zorro-antd-textarea.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs +0 -149
- package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-transfer.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-upload.mjs +0 -438
- package/fesm2015/ngx-formly-zorro-antd-upload.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-autocomplete.mjs +0 -4
- package/fesm2020/ngx-formly-zorro-antd-autocomplete.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-button.mjs +0 -173
- package/fesm2020/ngx-formly-zorro-antd-button.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-card.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-cascader.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs +0 -249
- package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-form-field.mjs +0 -174
- package/fesm2020/ngx-formly-zorro-antd-form-field.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-grid.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-input-group.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-input-number.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-input.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-radio.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-rate.mjs +0 -116
- package/fesm2020/ngx-formly-zorro-antd-rate.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-select.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-slider.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-switch.mjs +0 -106
- package/fesm2020/ngx-formly-zorro-antd-switch.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-tabs.mjs +0 -158
- package/fesm2020/ngx-formly-zorro-antd-tabs.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-textarea.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-transfer.mjs +0 -262
- package/fesm2020/ngx-formly-zorro-antd-transfer.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs +0 -154
- package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-upload.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd.mjs +0 -104
- package/fesm2020/ngx-formly-zorro-antd.mjs.map +0 -1
- /package/{esm2020 → esm2022}/autocomplete/autocomplete.props.mjs +0 -0
- /package/{esm2020 → esm2022}/autocomplete/ngx-formly-zorro-antd-autocomplete.mjs +0 -0
- /package/{esm2020 → esm2022}/autocomplete/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/button/ngx-formly-zorro-antd-button.mjs +0 -0
- /package/{esm2020 → esm2022}/button/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/card/ngx-formly-zorro-antd-card.mjs +0 -0
- /package/{esm2020 → esm2022}/card/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/cascader/ngx-formly-zorro-antd-cascader.mjs +0 -0
- /package/{esm2020 → esm2022}/cascader/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/checkbox/ngx-formly-zorro-antd-checkbox.mjs +0 -0
- /package/{esm2020 → esm2022}/checkbox/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/datepicker/datepicker.props.mjs +0 -0
- /package/{esm2020 → esm2022}/datepicker/ngx-formly-zorro-antd-datepicker.mjs +0 -0
- /package/{esm2020 → esm2022}/datepicker/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/form-field/form-field.props.mjs +0 -0
- /package/{esm2020 → esm2022}/form-field/ngx-formly-zorro-antd-form-field.mjs +0 -0
- /package/{esm2020 → esm2022}/form-field/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/grid/grid.props.mjs +0 -0
- /package/{esm2020 → esm2022}/grid/ngx-formly-zorro-antd-grid.mjs +0 -0
- /package/{esm2020 → esm2022}/grid/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/input/input.props.mjs +0 -0
- /package/{esm2020 → esm2022}/input/ngx-formly-zorro-antd-input.mjs +0 -0
- /package/{esm2020 → esm2022}/input/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/input-group/input-group.props.mjs +0 -0
- /package/{esm2020 → esm2022}/input-group/ngx-formly-zorro-antd-input-group.mjs +0 -0
- /package/{esm2020 → esm2022}/input-group/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/input-number/input-number.props.mjs +0 -0
- /package/{esm2020 → esm2022}/input-number/ngx-formly-zorro-antd-input-number.mjs +0 -0
- /package/{esm2020 → esm2022}/input-number/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/ui-ng-zorro-antd.mjs +0 -0
- /package/{esm2020 → esm2022}/ngx-formly-zorro-antd.mjs +0 -0
- /package/{esm2020 → esm2022}/radio/ngx-formly-zorro-antd-radio.mjs +0 -0
- /package/{esm2020 → esm2022}/radio/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/rate/ngx-formly-zorro-antd-rate.mjs +0 -0
- /package/{esm2020 → esm2022}/rate/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/select/ngx-formly-zorro-antd-select.mjs +0 -0
- /package/{esm2020 → esm2022}/select/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/select/select.props.mjs +0 -0
- /package/{esm2020 → esm2022}/slider/ngx-formly-zorro-antd-slider.mjs +0 -0
- /package/{esm2020 → esm2022}/slider/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/switch/ngx-formly-zorro-antd-switch.mjs +0 -0
- /package/{esm2020 → esm2022}/switch/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/tabs/ngx-formly-zorro-antd-tabs.mjs +0 -0
- /package/{esm2020 → esm2022}/tabs/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/tabs/tabs.props.mjs +0 -0
- /package/{esm2020 → esm2022}/textarea/ngx-formly-zorro-antd-textarea.mjs +0 -0
- /package/{esm2020 → esm2022}/textarea/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/timepicker/ngx-formly-zorro-antd-timepicker.mjs +0 -0
- /package/{esm2020 → esm2022}/timepicker/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/transfer/ngx-formly-zorro-antd-transfer.mjs +0 -0
- /package/{esm2020 → esm2022}/transfer/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/tree-select/ngx-formly-zorro-antd-tree-select.mjs +0 -0
- /package/{esm2020 → esm2022}/tree-select/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/upload/ngx-formly-zorro-antd-upload.mjs +0 -0
- /package/{esm2020 → esm2022}/upload/public_api.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd-autocomplete.mjs +0 -0
@@ -1,67 +0,0 @@
|
|
1
|
-
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
2
|
-
import { FieldType } from '@ngx-formly/core';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
import * as i1 from "@angular/forms";
|
5
|
-
import * as i2 from "ng-zorro-antd/slider";
|
6
|
-
import * as i3 from "@ngx-formly/core";
|
7
|
-
export class FormlyFieldSlider extends FieldType {
|
8
|
-
constructor() {
|
9
|
-
super(...arguments);
|
10
|
-
this.defaultOptions = {
|
11
|
-
props: {
|
12
|
-
max: 100,
|
13
|
-
min: 0,
|
14
|
-
step: 1,
|
15
|
-
dots: false,
|
16
|
-
included: true,
|
17
|
-
range: false,
|
18
|
-
vertical: false,
|
19
|
-
reverse: false,
|
20
|
-
tooltipVisible: 'default'
|
21
|
-
}
|
22
|
-
};
|
23
|
-
}
|
24
|
-
}
|
25
|
-
FormlyFieldSlider.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyFieldSlider, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
26
|
-
FormlyFieldSlider.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: FormlyFieldSlider, selector: "formly-field-slider", usesInheritance: true, ngImport: i0, template: `<nz-slider
|
27
|
-
#slider
|
28
|
-
[formControl]="formControl"
|
29
|
-
[formlyAttributes]="field"
|
30
|
-
[nzDots]="props['dots']!!"
|
31
|
-
[nzIncluded]="props['included']!!"
|
32
|
-
[nzMax]="props.max"
|
33
|
-
[nzMin]="props.min"
|
34
|
-
[nzRange]="props['range']!!"
|
35
|
-
[nzStep]="props.step"
|
36
|
-
[nzTipFormatter]="props['tipFormatter']"
|
37
|
-
[nzVertical]="props['vertical']!!"
|
38
|
-
[nzReverse]="props['reverse']!!"
|
39
|
-
[nzTooltipVisible]="props['tooltipVisible']!"
|
40
|
-
(ngModelChange)="props.change && props.change(field, $event)"
|
41
|
-
(nzOnAfterChange)="props['afterChange'] && props['afterChange'](field, $event)"
|
42
|
-
></nz-slider>`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.NzSliderComponent, selector: "nz-slider", inputs: ["nzDisabled", "nzDots", "nzIncluded", "nzRange", "nzVertical", "nzReverse", "nzDefaultValue", "nzMarks", "nzMax", "nzMin", "nzStep", "nzTooltipVisible", "nzTooltipPlacement", "nzTipFormatter"], outputs: ["nzOnAfterChange"], exportAs: ["nzSlider"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyFieldSlider, decorators: [{
|
44
|
-
type: Component,
|
45
|
-
args: [{
|
46
|
-
selector: 'formly-field-slider',
|
47
|
-
template: `<nz-slider
|
48
|
-
#slider
|
49
|
-
[formControl]="formControl"
|
50
|
-
[formlyAttributes]="field"
|
51
|
-
[nzDots]="props['dots']!!"
|
52
|
-
[nzIncluded]="props['included']!!"
|
53
|
-
[nzMax]="props.max"
|
54
|
-
[nzMin]="props.min"
|
55
|
-
[nzRange]="props['range']!!"
|
56
|
-
[nzStep]="props.step"
|
57
|
-
[nzTipFormatter]="props['tipFormatter']"
|
58
|
-
[nzVertical]="props['vertical']!!"
|
59
|
-
[nzReverse]="props['reverse']!!"
|
60
|
-
[nzTooltipVisible]="props['tooltipVisible']!"
|
61
|
-
(ngModelChange)="props.change && props.change(field, $event)"
|
62
|
-
(nzOnAfterChange)="props['afterChange'] && props['afterChange'](field, $event)"
|
63
|
-
></nz-slider>`,
|
64
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
65
|
-
}]
|
66
|
-
}] });
|
67
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2xpZGVyLnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL3NsaWRlci9zcmMvc2xpZGVyLnR5cGUudHMi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VjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoXG59KVxuZXhwb3J0IGNsYXNzIEZvcm1seUZpZWxkU2xpZGVyIGV4dGVuZHMgRmllbGRUeXBlPEZpZWxkVHlwZUNvbmZpZzxTbGlkZVByb3BzPj4ge1xuICBvdmVycmlkZSBkZWZhdWx0T3B0aW9ucyA9IHtcbiAgICBwcm9wczoge1xuICAgICAgbWF4OiAxMDAsXG4gICAgICBtaW46IDAsXG4gICAgICBzdGVwOiAxLFxuICAgICAgZG90czogZmFsc2UsXG4gICAgICBpbmNsdWRlZDogdHJ1ZSxcbiAgICAgIHJhbmdlOiBmYWxzZSxcbiAgICAgIHZlcnRpY2FsOiBmYWxzZSxcbiAgICAgIHJldmVyc2U6IGZhbHNlLFxuICAgICAgdG9vbHRpcFZpc2libGU6ICdkZWZhdWx0JyBhcyBjb25zdFxuICAgIH1cbiAgfTtcbn1cbiJdfQ==
|
@@ -1,51 +0,0 @@
|
|
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 { FormlyFieldSwitch } from './switch.type';
|
7
|
-
import { NzSwitchModule } from 'ng-zorro-antd/switch';
|
8
|
-
import * as i0 from "@angular/core";
|
9
|
-
import * as i1 from "@ngx-formly/core";
|
10
|
-
export class FormlyNzSwitchModule {
|
11
|
-
}
|
12
|
-
FormlyNzSwitchModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyNzSwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
13
|
-
FormlyNzSwitchModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: FormlyNzSwitchModule, declarations: [FormlyFieldSwitch], imports: [CommonModule,
|
14
|
-
ReactiveFormsModule,
|
15
|
-
FormlyNzFormFieldModule,
|
16
|
-
NzSwitchModule, i1.FormlyModule] });
|
17
|
-
FormlyNzSwitchModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyNzSwitchModule, imports: [CommonModule,
|
18
|
-
ReactiveFormsModule,
|
19
|
-
FormlyNzFormFieldModule,
|
20
|
-
NzSwitchModule,
|
21
|
-
FormlyModule.forChild({
|
22
|
-
types: [
|
23
|
-
{
|
24
|
-
name: 'switch',
|
25
|
-
component: FormlyFieldSwitch,
|
26
|
-
wrappers: ['form-field']
|
27
|
-
}
|
28
|
-
]
|
29
|
-
})] });
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyNzSwitchModule, decorators: [{
|
31
|
-
type: NgModule,
|
32
|
-
args: [{
|
33
|
-
declarations: [FormlyFieldSwitch],
|
34
|
-
imports: [
|
35
|
-
CommonModule,
|
36
|
-
ReactiveFormsModule,
|
37
|
-
FormlyNzFormFieldModule,
|
38
|
-
NzSwitchModule,
|
39
|
-
FormlyModule.forChild({
|
40
|
-
types: [
|
41
|
-
{
|
42
|
-
name: 'switch',
|
43
|
-
component: FormlyFieldSwitch,
|
44
|
-
wrappers: ['form-field']
|
45
|
-
}
|
46
|
-
]
|
47
|
-
})
|
48
|
-
]
|
49
|
-
}]
|
50
|
-
}] });
|
51
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3dpdGNoLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvc3dpdGNoL3NyYy9zd2l0Y2gubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9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tbHlGaWVsZFN3aXRjaCxcbiAgICAgICAgICB3cmFwcGVyczogWydmb3JtLWZpZWxkJ11cbiAgICAgICAgfVxuICAgICAgXVxuICAgIH0pXG4gIF1cbn0pXG5leHBvcnQgY2xhc3MgRm9ybWx5TnpTd2l0Y2hNb2R1bGUge31cbiJdfQ==
|
@@ -1,53 +0,0 @@
|
|
1
|
-
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
2
|
-
import { FieldType } from '@ngx-formly/core';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
import * as i1 from "@angular/forms";
|
5
|
-
import * as i2 from "ng-zorro-antd/switch";
|
6
|
-
import * as i3 from "@ngx-formly/core";
|
7
|
-
export class FormlyFieldSwitch extends FieldType {
|
8
|
-
constructor() {
|
9
|
-
super(...arguments);
|
10
|
-
this.defaultOptions = {
|
11
|
-
props: {
|
12
|
-
size: 'default',
|
13
|
-
loading: false,
|
14
|
-
control: false
|
15
|
-
}
|
16
|
-
};
|
17
|
-
}
|
18
|
-
}
|
19
|
-
FormlyFieldSwitch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyFieldSwitch, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
20
|
-
FormlyFieldSwitch.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: FormlyFieldSwitch, selector: "formly-field-switch", usesInheritance: true, ngImport: i0, template: `
|
21
|
-
<nz-switch
|
22
|
-
[formControl]="formControl"
|
23
|
-
[formlyAttributes]="field"
|
24
|
-
[nzId]="id"
|
25
|
-
[nzCheckedChildren]="props['checkedChildren'] ?? null"
|
26
|
-
[nzUnCheckedChildren]="props['unCheckedChildren'] ?? null"
|
27
|
-
[nzSize]="props['size']!"
|
28
|
-
[nzLoading]="props['loading']!!"
|
29
|
-
[nzControl]="props['control']!!"
|
30
|
-
(ngModelChange)="props.change && props.change(field, $event)"
|
31
|
-
></nz-switch>
|
32
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2.NzSwitchComponent, selector: "nz-switch", inputs: ["nzLoading", "nzDisabled", "nzControl", "nzCheckedChildren", "nzUnCheckedChildren", "nzSize", "nzId"], exportAs: ["nzSwitch"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyFieldSwitch, decorators: [{
|
34
|
-
type: Component,
|
35
|
-
args: [{
|
36
|
-
selector: 'formly-field-switch',
|
37
|
-
template: `
|
38
|
-
<nz-switch
|
39
|
-
[formControl]="formControl"
|
40
|
-
[formlyAttributes]="field"
|
41
|
-
[nzId]="id"
|
42
|
-
[nzCheckedChildren]="props['checkedChildren'] ?? null"
|
43
|
-
[nzUnCheckedChildren]="props['unCheckedChildren'] ?? null"
|
44
|
-
[nzSize]="props['size']!"
|
45
|
-
[nzLoading]="props['loading']!!"
|
46
|
-
[nzControl]="props['control']!!"
|
47
|
-
(ngModelChange)="props.change && props.change(field, $event)"
|
48
|
-
></nz-switch>
|
49
|
-
`,
|
50
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
51
|
-
}]
|
52
|
-
}] });
|
53
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3dpdGNoLnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL3N3aXRjaC9zcmMvc3dpdGNoLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwa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bGRyZW5dPVwicHJvcHNbJ2NoZWNrZWRDaGlsZHJlbiddID8/IG51bGxcIlxuICAgICAgW256VW5DaGVja2VkQ2hpbGRyZW5dPVwicHJvcHNbJ3VuQ2hlY2tlZENoaWxkcmVuJ10gPz8gbnVsbFwiXG4gICAgICBbbnpTaXplXT1cInByb3BzWydzaXplJ10hXCJcbiAgICAgIFtuekxvYWRpbmddPVwicHJvcHNbJ2xvYWRpbmcnXSEhXCJcbiAgICAgIFtuekNvbnRyb2xdPVwicHJvcHNbJ2NvbnRyb2wnXSEhXCJcbiAgICAgIChuZ01vZGVsQ2hhbmdlKT1cInByb3BzLmNoYW5nZSAmJiBwcm9wcy5jaGFuZ2UoZmllbGQsICRldmVudClcIlxuICAgID48L256LXN3aXRjaD5cbiAgYCxcbiAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2hcbn0pXG5leHBvcnQgY2xhc3MgRm9ybWx5RmllbGRTd2l0Y2ggZXh0ZW5kcyBGaWVsZFR5cGU8RmllbGRUeXBlQ29uZmlnPFN3aXRjaFByb3BzPj4ge1xuICBvdmVycmlkZSBkZWZhdWx0T3B0aW9ucyA9IHtcbiAgICBwcm9wczoge1xuICAgICAgc2l6ZTogJ2RlZmF1bHQnIGFzIGNvbnN0LFxuICAgICAgbG9hZGluZzogZmFsc2UsXG4gICAgICBjb250cm9sOiBmYWxzZVxuICAgIH1cbiAgfTtcbn1cbiJdfQ==
|
@@ -1,41 +0,0 @@
|
|
1
|
-
import { NgModule } from '@angular/core';
|
2
|
-
import { CommonModule } from '@angular/common';
|
3
|
-
import { FormlyModule } from '@ngx-formly/core';
|
4
|
-
import { FormlyWrapperTabs } from './tabs.wrapper';
|
5
|
-
import { NzTabsModule } from 'ng-zorro-antd/tabs';
|
6
|
-
import * as i0 from "@angular/core";
|
7
|
-
import * as i1 from "@ngx-formly/core";
|
8
|
-
export class FormlyNzTabsModule {
|
9
|
-
}
|
10
|
-
FormlyNzTabsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyNzTabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
11
|
-
FormlyNzTabsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: FormlyNzTabsModule, declarations: [FormlyWrapperTabs], imports: [CommonModule,
|
12
|
-
NzTabsModule, i1.FormlyModule] });
|
13
|
-
FormlyNzTabsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyNzTabsModule, imports: [CommonModule,
|
14
|
-
NzTabsModule,
|
15
|
-
FormlyModule.forChild({
|
16
|
-
wrappers: [
|
17
|
-
{
|
18
|
-
name: 'tabs',
|
19
|
-
component: FormlyWrapperTabs
|
20
|
-
}
|
21
|
-
]
|
22
|
-
})] });
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyNzTabsModule, decorators: [{
|
24
|
-
type: NgModule,
|
25
|
-
args: [{
|
26
|
-
declarations: [FormlyWrapperTabs],
|
27
|
-
imports: [
|
28
|
-
CommonModule,
|
29
|
-
NzTabsModule,
|
30
|
-
FormlyModule.forChild({
|
31
|
-
wrappers: [
|
32
|
-
{
|
33
|
-
name: 'tabs',
|
34
|
-
component: FormlyWrapperTabs
|
35
|
-
}
|
36
|
-
]
|
37
|
-
})
|
38
|
-
]
|
39
|
-
}]
|
40
|
-
}] });
|
41
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL3RhYnMvc3JjL3RhYnMubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3M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dAYW5ndWxhci9jb21tb24nO1xuaW1wb3J0IHsgRm9ybWx5TW9kdWxlIH0gZnJvbSAnQG5neC1mb3JtbHkvY29yZSc7XG5cbmltcG9ydCB7IEZvcm1seVdyYXBwZXJUYWJzIH0gZnJvbSAnLi90YWJzLndyYXBwZXInO1xuaW1wb3J0IHsgTnpUYWJzTW9kdWxlIH0gZnJvbSAnbmctem9ycm8tYW50ZC90YWJzJztcblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbRm9ybWx5V3JhcHBlclRhYnNdLFxuICBpbXBvcnRzOiBbXG4gICAgQ29tbW9uTW9kdWxlLFxuXG4gICAgTnpUYWJzTW9kdWxlLFxuXG4gICAgRm9ybWx5TW9kdWxlLmZvckNoaWxkKHtcbiAgICAgIHdyYXBwZXJzOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBuYW1lOiAndGFicycsXG4gICAgICAgICAgY29tcG9uZW50OiBGb3JtbHlXcmFwcGVyVGFic1xuICAgICAgICB9XG4gICAgICBdXG4gICAgfSlcbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBGb3JtbHlOelRhYnNNb2R1bGUge31cbiJdfQ==
|
@@ -1,55 +0,0 @@
|
|
1
|
-
import { NgModule } from '@angular/core';
|
2
|
-
import { CommonModule } from '@angular/common';
|
3
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
4
|
-
import { FormlyModule } from '@ngx-formly/core';
|
5
|
-
import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
|
6
|
-
import { FormlyFieldTextarea } from './textarea.type';
|
7
|
-
import { NzInputModule } from 'ng-zorro-antd/input';
|
8
|
-
import { NzIconModule } from 'ng-zorro-antd/icon';
|
9
|
-
import * as i0 from "@angular/core";
|
10
|
-
import * as i1 from "@ngx-formly/core";
|
11
|
-
export class FormlyNzTextareaModule {
|
12
|
-
}
|
13
|
-
FormlyNzTextareaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyNzTextareaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
14
|
-
FormlyNzTextareaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: FormlyNzTextareaModule, declarations: [FormlyFieldTextarea], imports: [CommonModule,
|
15
|
-
ReactiveFormsModule,
|
16
|
-
FormlyNzFormFieldModule,
|
17
|
-
NzInputModule,
|
18
|
-
NzIconModule, i1.FormlyModule] });
|
19
|
-
FormlyNzTextareaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyNzTextareaModule, imports: [CommonModule,
|
20
|
-
ReactiveFormsModule,
|
21
|
-
FormlyNzFormFieldModule,
|
22
|
-
NzInputModule,
|
23
|
-
NzIconModule,
|
24
|
-
FormlyModule.forChild({
|
25
|
-
types: [
|
26
|
-
{
|
27
|
-
name: 'textarea',
|
28
|
-
component: FormlyFieldTextarea,
|
29
|
-
wrappers: ['form-field']
|
30
|
-
}
|
31
|
-
]
|
32
|
-
})] });
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyNzTextareaModule, decorators: [{
|
34
|
-
type: NgModule,
|
35
|
-
args: [{
|
36
|
-
declarations: [FormlyFieldTextarea],
|
37
|
-
imports: [
|
38
|
-
CommonModule,
|
39
|
-
ReactiveFormsModule,
|
40
|
-
FormlyNzFormFieldModule,
|
41
|
-
NzInputModule,
|
42
|
-
NzIconModule,
|
43
|
-
FormlyModule.forChild({
|
44
|
-
types: [
|
45
|
-
{
|
46
|
-
name: 'textarea',
|
47
|
-
component: FormlyFieldTextarea,
|
48
|
-
wrappers: ['form-field']
|
49
|
-
}
|
50
|
-
]
|
51
|
-
})
|
52
|
-
]
|
53
|
-
}]
|
54
|
-
}] });
|
55
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWx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H0gZnJvbSAnbmctem9ycm8tYW50ZC9pY29uJztcblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbRm9ybWx5RmllbGRUZXh0YXJlYV0sXG4gIGltcG9ydHM6IFtcbiAgICBDb21tb25Nb2R1bGUsXG4gICAgUmVhY3RpdmVGb3Jtc01vZHVsZSxcbiAgICBGb3JtbHlOekZvcm1GaWVsZE1vZHVsZSxcbiAgICBOeklucHV0TW9kdWxlLFxuICAgIE56SWNvbk1vZHVsZSxcblxuICAgIEZvcm1seU1vZHVsZS5mb3JDaGlsZCh7XG4gICAgICB0eXBlczogW1xuICAgICAgICB7XG4gICAgICAgICAgbmFtZTogJ3RleHRhcmVhJyxcbiAgICAgICAgICBjb21wb25lbnQ6IEZvcm1seUZpZWxkVGV4dGFyZWEsXG4gICAgICAgICAgd3JhcHBlcnM6IFsnZm9ybS1maWVsZCddXG4gICAgICAgIH1cbiAgICAgIF1cbiAgICB9KVxuICBdXG59KVxuZXhwb3J0IGNsYXNzIEZvcm1seU56VGV4dGFyZWFNb2R1bGUge31cbiJdfQ==
|
@@ -1,51 +0,0 @@
|
|
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 { NzTimePickerModule } from 'ng-zorro-antd/time-picker';
|
7
|
-
import { FormlyFieldTimepicker } from './timepicker.type';
|
8
|
-
import * as i0 from "@angular/core";
|
9
|
-
import * as i1 from "@ngx-formly/core";
|
10
|
-
export class FormlyNzTimepickerModule {
|
11
|
-
}
|
12
|
-
FormlyNzTimepickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyNzTimepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
13
|
-
FormlyNzTimepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: FormlyNzTimepickerModule, declarations: [FormlyFieldTimepicker], imports: [CommonModule,
|
14
|
-
ReactiveFormsModule,
|
15
|
-
FormlyNzFormFieldModule,
|
16
|
-
NzTimePickerModule, i1.FormlyModule] });
|
17
|
-
FormlyNzTimepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyNzTimepickerModule, imports: [CommonModule,
|
18
|
-
ReactiveFormsModule,
|
19
|
-
FormlyNzFormFieldModule,
|
20
|
-
NzTimePickerModule,
|
21
|
-
FormlyModule.forChild({
|
22
|
-
types: [
|
23
|
-
{
|
24
|
-
name: 'timepicker',
|
25
|
-
component: FormlyFieldTimepicker,
|
26
|
-
wrappers: ['form-field']
|
27
|
-
}
|
28
|
-
]
|
29
|
-
})] });
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyNzTimepickerModule, decorators: [{
|
31
|
-
type: NgModule,
|
32
|
-
args: [{
|
33
|
-
declarations: [FormlyFieldTimepicker],
|
34
|
-
imports: [
|
35
|
-
CommonModule,
|
36
|
-
ReactiveFormsModule,
|
37
|
-
FormlyNzFormFieldModule,
|
38
|
-
NzTimePickerModule,
|
39
|
-
FormlyModule.forChild({
|
40
|
-
types: [
|
41
|
-
{
|
42
|
-
name: 'timepicker',
|
43
|
-
component: FormlyFieldTimepicker,
|
44
|
-
wrappers: ['form-field']
|
45
|
-
}
|
46
|
-
]
|
47
|
-
})
|
48
|
-
]
|
49
|
-
}]
|
50
|
-
}] });
|
51
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGltZXBpY2tlci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWd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AgIE56VGltZVBpY2tlck1vZHVsZSxcblxuICAgIEZvcm1seU1vZHVsZS5mb3JDaGlsZCh7XG4gICAgICB0eXBlczogW1xuICAgICAgICB7XG4gICAgICAgICAgbmFtZTogJ3RpbWVwaWNrZXInLFxuICAgICAgICAgIGNvbXBvbmVudDogRm9ybWx5RmllbGRUaW1lcGlja2VyLFxuICAgICAgICAgIHdyYXBwZXJzOiBbJ2Zvcm0tZmllbGQnXVxuICAgICAgICB9XG4gICAgICBdXG4gICAgfSlcbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBGb3JtbHlOelRpbWVwaWNrZXJNb2R1bGUge31cbiJdfQ==
|
@@ -1,96 +0,0 @@
|
|
1
|
-
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
2
|
-
import { FieldType } from '@ngx-formly/core';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
import * as i1 from "@angular/common";
|
5
|
-
import * as i2 from "@angular/forms";
|
6
|
-
import * as i3 from "ng-zorro-antd/time-picker";
|
7
|
-
import * as i4 from "@ngx-formly/core";
|
8
|
-
export class FormlyFieldTimepicker extends FieldType {
|
9
|
-
constructor() {
|
10
|
-
super(...arguments);
|
11
|
-
this.defaultOptions = {
|
12
|
-
props: {
|
13
|
-
allowEmpty: true,
|
14
|
-
autoFocus: false,
|
15
|
-
backdrop: false,
|
16
|
-
borderless: false,
|
17
|
-
inputReadOnly: false,
|
18
|
-
open: false,
|
19
|
-
clearText: 'clear',
|
20
|
-
defaultOpenValue: new Date(),
|
21
|
-
format: 'HH:mm:ss'
|
22
|
-
}
|
23
|
-
};
|
24
|
-
}
|
25
|
-
}
|
26
|
-
FormlyFieldTimepicker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyFieldTimepicker, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
27
|
-
FormlyFieldTimepicker.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: FormlyFieldTimepicker, selector: "formly-field-timepicker", usesInheritance: true, ngImport: i0, template: `<nz-time-picker
|
28
|
-
#time
|
29
|
-
[formControl]="formControl"
|
30
|
-
[formlyAttributes]="field"
|
31
|
-
[nzPlaceHolder]="props.placeholder ?? ''"
|
32
|
-
[ngClass]="props['className']"
|
33
|
-
[nzAddOn]="props['addOn']"
|
34
|
-
[nzAllowEmpty]="props['allowEmpty']!!"
|
35
|
-
[nzAutoFocus]="props['autoFocus']!!"
|
36
|
-
[nzBackdrop]="props['backdrop']!!"
|
37
|
-
[nzClearText]="props['clearText']"
|
38
|
-
[nzNowText]="props['nowText']"
|
39
|
-
[nzOkText]="props['okText']"
|
40
|
-
[nzDefaultOpenValue]="props['defaultOpenValue']"
|
41
|
-
[nzDisabledHours]="props['disabledHours']"
|
42
|
-
[nzDisabledMinutes]="props['disabledMinutes']"
|
43
|
-
[nzDisabledSeconds]="props['disabledSeconds']"
|
44
|
-
[nzFormat]="props['format']"
|
45
|
-
[nzHideDisabledOptions]="props['hideDisabledOptions']!!"
|
46
|
-
[nzHourStep]="props['hourStep']"
|
47
|
-
[nzBorderless]="props['borderless']!!"
|
48
|
-
[nzInputReadOnly]="props['inputReadOnly']!!"
|
49
|
-
[nzMinuteStep]="props['minuteStep']"
|
50
|
-
[nzSecondStep]="props['secondStep']"
|
51
|
-
[nzOpen]="props['open']!!"
|
52
|
-
[nzPopupClassName]="props['popupClassName']"
|
53
|
-
[nzUse12Hours]="props['use12Hours']!!"
|
54
|
-
[nzSuffixIcon]="props['suffixIcon']"
|
55
|
-
(ngModelChange)="props.change && props.change(field, $event)"
|
56
|
-
(nzOpenChange)="props['openChange'] && props['openChange'](field, $event)"
|
57
|
-
></nz-time-picker>`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { 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.NzTimePickerComponent, selector: "nz-time-picker", inputs: ["nzId", "nzSize", "nzStatus", "nzHourStep", "nzMinuteStep", "nzSecondStep", "nzClearText", "nzNowText", "nzOkText", "nzPopupClassName", "nzPlaceHolder", "nzAddOn", "nzDefaultOpenValue", "nzDisabledHours", "nzDisabledMinutes", "nzDisabledSeconds", "nzFormat", "nzOpen", "nzUse12Hours", "nzSuffixIcon", "nzHideDisabledOptions", "nzAllowEmpty", "nzDisabled", "nzAutoFocus", "nzBackdrop", "nzBorderless", "nzInputReadOnly"], outputs: ["nzOpenChange"], exportAs: ["nzTimePicker"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
58
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormlyFieldTimepicker, decorators: [{
|
59
|
-
type: Component,
|
60
|
-
args: [{
|
61
|
-
selector: 'formly-field-timepicker',
|
62
|
-
template: `<nz-time-picker
|
63
|
-
#time
|
64
|
-
[formControl]="formControl"
|
65
|
-
[formlyAttributes]="field"
|
66
|
-
[nzPlaceHolder]="props.placeholder ?? ''"
|
67
|
-
[ngClass]="props['className']"
|
68
|
-
[nzAddOn]="props['addOn']"
|
69
|
-
[nzAllowEmpty]="props['allowEmpty']!!"
|
70
|
-
[nzAutoFocus]="props['autoFocus']!!"
|
71
|
-
[nzBackdrop]="props['backdrop']!!"
|
72
|
-
[nzClearText]="props['clearText']"
|
73
|
-
[nzNowText]="props['nowText']"
|
74
|
-
[nzOkText]="props['okText']"
|
75
|
-
[nzDefaultOpenValue]="props['defaultOpenValue']"
|
76
|
-
[nzDisabledHours]="props['disabledHours']"
|
77
|
-
[nzDisabledMinutes]="props['disabledMinutes']"
|
78
|
-
[nzDisabledSeconds]="props['disabledSeconds']"
|
79
|
-
[nzFormat]="props['format']"
|
80
|
-
[nzHideDisabledOptions]="props['hideDisabledOptions']!!"
|
81
|
-
[nzHourStep]="props['hourStep']"
|
82
|
-
[nzBorderless]="props['borderless']!!"
|
83
|
-
[nzInputReadOnly]="props['inputReadOnly']!!"
|
84
|
-
[nzMinuteStep]="props['minuteStep']"
|
85
|
-
[nzSecondStep]="props['secondStep']"
|
86
|
-
[nzOpen]="props['open']!!"
|
87
|
-
[nzPopupClassName]="props['popupClassName']"
|
88
|
-
[nzUse12Hours]="props['use12Hours']!!"
|
89
|
-
[nzSuffixIcon]="props['suffixIcon']"
|
90
|
-
(ngModelChange)="props.change && props.change(field, $event)"
|
91
|
-
(nzOpenChange)="props['openChange'] && props['openChange'](field, $event)"
|
92
|
-
></nz-time-picker>`,
|
93
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
94
|
-
}]
|
95
|
-
}] });
|
96
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGltZXBpY2tlci50eXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC90aW1lcGlja2VyL3NyYy90aW1lcGlja2VyLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBcUIsdUJBQXVCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFdEYsT0FBTyxFQUFFLFNBQVMsRUFBc0MsTUFBTSxrQkFBa0IsQ0FBQzs7Ozs7O0FBa0xqRixNQUFNLE9BQU8scUJBQXNCLFNBQVEsU0FBMEI7SUFuQ3JFOztRQW9DVyxtQkFBYyxHQUFHO1lBQ3hCLEtBQUssRUFBRTtnQkFDTCxVQUFVLEVBQUUsSUFBSTtnQkFDaEIsU0FBUyxFQUFFLEtBQUs7Z0JBQ2hCLFFBQVEsRUFBRSx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BmYWxzZSxcbiAgICAgIG9wZW46IGZhbHNlLFxuICAgICAgY2xlYXJUZXh0OiAnY2xlYXInLFxuICAgICAgZGVmYXVsdE9wZW5WYWx1ZTogbmV3IERhdGUoKSxcbiAgICAgIGZvcm1hdDogJ0hIOm1tOnNzJyBhcyBOelNhZmVBbnlcbiAgICB9XG4gIH07XG59XG4iXX0=
|
@@ -1,128 +0,0 @@
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-empty-function */
|
2
|
-
import { ChangeDetectionStrategy, Component, Input, ViewChild, ViewEncapsulation } from '@angular/core';
|
3
|
-
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
4
|
-
import { NzTransferComponent } from 'ng-zorro-antd/transfer';
|
5
|
-
import * as i0 from "@angular/core";
|
6
|
-
import * as i1 from "ng-zorro-antd/transfer";
|
7
|
-
export class TransferComponent extends NzTransferComponent {
|
8
|
-
constructor() {
|
9
|
-
super(...arguments);
|
10
|
-
this.onChange = () => { };
|
11
|
-
this.onTouched = () => { };
|
12
|
-
}
|
13
|
-
writeValue(obj) {
|
14
|
-
setTimeout(() => {
|
15
|
-
this.nzTargetKeys = obj;
|
16
|
-
this['cdr'].markForCheck();
|
17
|
-
this.onChange(this.transfer.rightDataSource);
|
18
|
-
}, 0);
|
19
|
-
}
|
20
|
-
registerOnChange(fn) {
|
21
|
-
this.onChange = fn;
|
22
|
-
}
|
23
|
-
registerOnTouched(fn) {
|
24
|
-
this.onTouched = fn;
|
25
|
-
}
|
26
|
-
setDisabledState(isDisabled) {
|
27
|
-
this.nzDisabled = isDisabled;
|
28
|
-
}
|
29
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
30
|
-
change(value) {
|
31
|
-
if (this.resultMap instanceof Function) {
|
32
|
-
this.onChange(this.resultMap(this.transfer.rightDataSource));
|
33
|
-
}
|
34
|
-
else {
|
35
|
-
this.onChange(this.transfer.rightDataSource);
|
36
|
-
}
|
37
|
-
}
|
38
|
-
/**
|
39
|
-
* 选中项发生改变时的回调函数
|
40
|
-
*/
|
41
|
-
selectChange(value) {
|
42
|
-
this.nzSelectChange.emit(value);
|
43
|
-
}
|
44
|
-
/**
|
45
|
-
* 搜索框内容时改变时的回调函数
|
46
|
-
*/
|
47
|
-
searchChange(value) {
|
48
|
-
this.nzSearchChange.emit(value);
|
49
|
-
}
|
50
|
-
}
|
51
|
-
TransferComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TransferComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
52
|
-
TransferComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: TransferComponent, selector: "formly-transfer", inputs: { resultMap: "resultMap" }, providers: [
|
53
|
-
{
|
54
|
-
provide: NG_VALUE_ACCESSOR,
|
55
|
-
useExisting: TransferComponent,
|
56
|
-
multi: true
|
57
|
-
}
|
58
|
-
], viewQueries: [{ propertyName: "transfer", first: true, predicate: ["transfer"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
59
|
-
<nz-transfer
|
60
|
-
#transfer
|
61
|
-
[nzDataSource]="nzDataSource"
|
62
|
-
[nzDisabled]="nzDisabled"
|
63
|
-
[nzTitles]="nzTitles"
|
64
|
-
[nzOperations]="nzOperations"
|
65
|
-
[nzListStyle]="nzListStyle"
|
66
|
-
[nzItemUnit]="nzItemUnit"
|
67
|
-
[nzItemsUnit]="nzItemsUnit"
|
68
|
-
[nzRenderList]="nzRenderList"
|
69
|
-
[nzRender]="nzRender"
|
70
|
-
[nzFooter]="nzFooter"
|
71
|
-
[nzShowSearch]="nzShowSearch"
|
72
|
-
[nzFilterOption]="nzFilterOption"
|
73
|
-
[nzSearchPlaceholder]="nzSearchPlaceholder"
|
74
|
-
[nzNotFoundContent]="nzNotFoundContent"
|
75
|
-
[nzSelectedKeys]="nzSelectedKeys"
|
76
|
-
[nzTargetKeys]="nzTargetKeys"
|
77
|
-
(nzChange)="change($event)"
|
78
|
-
(nzSearchChange)="searchChange($event)"
|
79
|
-
(nzSelectChange)="selectChange($event)"
|
80
|
-
style="flex: auto;"
|
81
|
-
></nz-transfer>
|
82
|
-
`, isInline: true, dependencies: [{ kind: "component", type: i1.NzTransferComponent, selector: "nz-transfer", inputs: ["nzDisabled", "nzDataSource", "nzTitles", "nzOperations", "nzListStyle", "nzShowSelectAll", "nzItemUnit", "nzItemsUnit", "nzCanMove", "nzRenderList", "nzRender", "nzFooter", "nzShowSearch", "nzFilterOption", "nzSearchPlaceholder", "nzNotFoundContent", "nzTargetKeys", "nzSelectedKeys", "nzStatus"], outputs: ["nzChange", "nzSearchChange", "nzSelectChange"], exportAs: ["nzTransfer"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
83
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TransferComponent, decorators: [{
|
84
|
-
type: Component,
|
85
|
-
args: [{
|
86
|
-
selector: 'formly-transfer',
|
87
|
-
template: `
|
88
|
-
<nz-transfer
|
89
|
-
#transfer
|
90
|
-
[nzDataSource]="nzDataSource"
|
91
|
-
[nzDisabled]="nzDisabled"
|
92
|
-
[nzTitles]="nzTitles"
|
93
|
-
[nzOperations]="nzOperations"
|
94
|
-
[nzListStyle]="nzListStyle"
|
95
|
-
[nzItemUnit]="nzItemUnit"
|
96
|
-
[nzItemsUnit]="nzItemsUnit"
|
97
|
-
[nzRenderList]="nzRenderList"
|
98
|
-
[nzRender]="nzRender"
|
99
|
-
[nzFooter]="nzFooter"
|
100
|
-
[nzShowSearch]="nzShowSearch"
|
101
|
-
[nzFilterOption]="nzFilterOption"
|
102
|
-
[nzSearchPlaceholder]="nzSearchPlaceholder"
|
103
|
-
[nzNotFoundContent]="nzNotFoundContent"
|
104
|
-
[nzSelectedKeys]="nzSelectedKeys"
|
105
|
-
[nzTargetKeys]="nzTargetKeys"
|
106
|
-
(nzChange)="change($event)"
|
107
|
-
(nzSearchChange)="searchChange($event)"
|
108
|
-
(nzSelectChange)="selectChange($event)"
|
109
|
-
style="flex: auto;"
|
110
|
-
></nz-transfer>
|
111
|
-
`,
|
112
|
-
encapsulation: ViewEncapsulation.None,
|
113
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
114
|
-
providers: [
|
115
|
-
{
|
116
|
-
provide: NG_VALUE_ACCESSOR,
|
117
|
-
useExisting: TransferComponent,
|
118
|
-
multi: true
|
119
|
-
}
|
120
|
-
]
|
121
|
-
}]
|
122
|
-
}], propDecorators: { transfer: [{
|
123
|
-
type: ViewChild,
|
124
|
-
args: ['transfer', { static: true }]
|
125
|
-
}], resultMap: [{
|
126
|
-
type: Input
|
127
|
-
}] } });
|
128
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNmZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC90cmFuc2Zlci9zcmMvdHJhbnNmZXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLHlEQUF5RDtBQUN6RCxPQUFPLEVBQ0wsdUJBQXVCLEVBRXZCLFNBQVMsRUFDVCxLQUFLLEVBQ0wsU0FBUyxFQUNULGlCQUFpQixFQUNsQixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQXdCLGlCQUFpQixFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDekUsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sd0JBQXdCLENBQUM7OztBQStDN0QsTUFBTSxPQUFPLGlCQUFrQixTQUFRLG1CQUFtQjtJQXJDMUQ7O1FBeUNFLGFBQVEsR0FBaUIsR0FBRyxFQUFFLEdBQUUsQ0FBQyxDQUFDO1FBQ2xDLGNBQVMsR0FBa0IsR0FBRyxFQUFFLEdBQ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