ngx-formly-zorro-antd 14.0.0 → 14.1.0
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 +149 -146
- package/datepicker/datepicker.type.d.ts +32 -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 +196 -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 +167 -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 +96 -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 +229 -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 +203 -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 +129 -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 +229 -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 +203 -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 +129 -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 +6 -2
- 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 +166 -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 +138 -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
@@ -1,51 +1,51 @@
|
|
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 { FormlyFieldSlider } from './slider.type';
|
7
|
-
import { NzSliderModule } from 'ng-zorro-antd/slider';
|
8
|
-
import * as i0 from "@angular/core";
|
9
|
-
import * as i1 from "@ngx-formly/core";
|
10
|
-
export class FormlyNzSliderModule {
|
11
|
-
}
|
12
|
-
FormlyNzSliderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
13
|
-
FormlyNzSliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSliderModule, declarations: [FormlyFieldSlider], imports: [CommonModule,
|
14
|
-
ReactiveFormsModule,
|
15
|
-
FormlyNzFormFieldModule,
|
16
|
-
NzSliderModule, i1.FormlyModule] });
|
17
|
-
FormlyNzSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSliderModule, imports: [CommonModule,
|
18
|
-
ReactiveFormsModule,
|
19
|
-
FormlyNzFormFieldModule,
|
20
|
-
NzSliderModule,
|
21
|
-
FormlyModule.forChild({
|
22
|
-
types: [
|
23
|
-
{
|
24
|
-
name: 'slider',
|
25
|
-
component: FormlyFieldSlider,
|
26
|
-
wrappers: ['form-field']
|
27
|
-
}
|
28
|
-
]
|
29
|
-
})] });
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSliderModule, decorators: [{
|
31
|
-
type: NgModule,
|
32
|
-
args: [{
|
33
|
-
declarations: [FormlyFieldSlider],
|
34
|
-
imports: [
|
35
|
-
CommonModule,
|
36
|
-
ReactiveFormsModule,
|
37
|
-
FormlyNzFormFieldModule,
|
38
|
-
NzSliderModule,
|
39
|
-
FormlyModule.forChild({
|
40
|
-
types: [
|
41
|
-
{
|
42
|
-
name: 'slider',
|
43
|
-
component: FormlyFieldSlider,
|
44
|
-
wrappers: ['form-field']
|
45
|
-
}
|
46
|
-
]
|
47
|
-
})
|
48
|
-
]
|
49
|
-
}]
|
50
|
-
}] });
|
51
|
-
//# sourceMappingURL=data:application/json;base64,
|
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 { FormlyFieldSlider } from './slider.type';
|
7
|
+
import { NzSliderModule } from 'ng-zorro-antd/slider';
|
8
|
+
import * as i0 from "@angular/core";
|
9
|
+
import * as i1 from "@ngx-formly/core";
|
10
|
+
export class FormlyNzSliderModule {
|
11
|
+
}
|
12
|
+
FormlyNzSliderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
13
|
+
FormlyNzSliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSliderModule, declarations: [FormlyFieldSlider], imports: [CommonModule,
|
14
|
+
ReactiveFormsModule,
|
15
|
+
FormlyNzFormFieldModule,
|
16
|
+
NzSliderModule, i1.FormlyModule] });
|
17
|
+
FormlyNzSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSliderModule, imports: [CommonModule,
|
18
|
+
ReactiveFormsModule,
|
19
|
+
FormlyNzFormFieldModule,
|
20
|
+
NzSliderModule,
|
21
|
+
FormlyModule.forChild({
|
22
|
+
types: [
|
23
|
+
{
|
24
|
+
name: 'slider',
|
25
|
+
component: FormlyFieldSlider,
|
26
|
+
wrappers: ['form-field']
|
27
|
+
}
|
28
|
+
]
|
29
|
+
})] });
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzSliderModule, decorators: [{
|
31
|
+
type: NgModule,
|
32
|
+
args: [{
|
33
|
+
declarations: [FormlyFieldSlider],
|
34
|
+
imports: [
|
35
|
+
CommonModule,
|
36
|
+
ReactiveFormsModule,
|
37
|
+
FormlyNzFormFieldModule,
|
38
|
+
NzSliderModule,
|
39
|
+
FormlyModule.forChild({
|
40
|
+
types: [
|
41
|
+
{
|
42
|
+
name: 'slider',
|
43
|
+
component: FormlyFieldSlider,
|
44
|
+
wrappers: ['form-field']
|
45
|
+
}
|
46
|
+
]
|
47
|
+
})
|
48
|
+
]
|
49
|
+
}]
|
50
|
+
}] });
|
51
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2xpZGVyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvc2xpZGVyL3NyYy9zbGlkZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT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maWVsZCddXG4gICAgICAgIH1cbiAgICAgIF1cbiAgICB9KVxuICBdXG59KVxuZXhwb3J0IGNsYXNzIEZvcm1seU56U2xpZGVyTW9kdWxlIHt9XG4iXX0=
|
@@ -1,67 +1,67 @@
|
|
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: "14.2.1", ngImport: i0, type: FormlyFieldSlider, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
26
|
-
FormlyFieldSlider.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", 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: "14.2.1", 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,
|
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: "14.2.1", ngImport: i0, type: FormlyFieldSlider, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
26
|
+
FormlyFieldSlider.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", 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: "14.2.1", 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2xpZGVyLnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL3NsaWRlci9zcmMvc2xpZGVyLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBUSx1QkFBdUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6RSxPQUFPLEVBQUUsU0FBUyxFQUFzQyxNQUFNLGtCQUFrQixDQUFDOzs7OztBQXlGakYsTUFBTSxPQUFPLGlCQUFrQixTQUFRLFNBQXNDO0lBckI3RTs7UUFzQlcsbUJBQWMsR0FBRztZQUN4QixLQUFLLEVBQUU7Z0JBQ0wsR0FBRyxFQUFFLEdBQUc7Z0JBQ1IsR0FBRyxFQUFFLENBQUM7Z0JBQ04sSUFBSSxFQUFFLENBQUM7Z0JBQ1AsSUFBSSxFQUFFLEtBQUs7Z0JBQ1gsUUFBUSxFQUFFLElBQUk7Z0JBQ2QsS0FBSyxFQUFFLEtBQUs7Z0JBQ1osUUFBUSxFQUFFLEtBQUs7Z0JBQ2YsT0FBTyxFQUFFLEtBQUs7Z0JBQ2QsY0FBYyxFQUFFLFNBQWtCO2FBQ25DO1NBQ0YsQ0FBQztLQUNIOzs4R0FkWSxpQkFBaUI7a0dBQWpCLGlCQUFpQixrRkFuQmxCOzs7Ozs7Ozs7Ozs7Ozs7O2dCQWdCSTsyRkFHSCxpQkFBaUI7a0JBckI3QixTQUFTO21CQUFDO29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iAgICBbbnpSZXZlcnNlXT1cInByb3BzWydyZXZlcnNlJ10hIVwiXG4gICAgW256VG9vbHRpcFZpc2libGVdPVwicHJvcHNbJ3Rvb2x0aXBWaXNpYmxlJ10hXCJcbiAgICAobmdNb2RlbENoYW5nZSk9XCJwcm9wcy5jaGFuZ2UgJiYgcHJvcHMuY2hhbmdlKGZpZWxkLCAkZXZlbnQpXCJcbiAgICAobnpPbkFmdGVyQ2hhbmdlKT1cInByb3BzWydhZnRlckNoYW5nZSddICYmIHByb3BzWydhZnRlckNoYW5nZSddKGZpZWxkLCAkZXZlbnQpXCJcbiAgPjwvbnotc2xpZGVyPmAsXG4gIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoXG59KVxuZXhwb3J0IGNsYXNzIEZvcm1seUZpZWxkU2xpZGVyIGV4dGVuZHMgRmllbGRUeXBlPEZpZWxkVHlwZUNvbmZpZzxTbGlkZVByb3BzPj4ge1xuICBvdmVycmlkZSBkZWZhdWx0T3B0aW9ucyA9IHtcbiAgICBwcm9wczoge1xuICAgICAgbWF4OiAxMDAsXG4gICAgICBtaW46IDAsXG4gICAgICBzdGVwOiAxLFxuICAgICAgZG90czogZmFsc2UsXG4gICAgICBpbmNsdWRlZDogdHJ1ZSxcbiAgICAgIHJhbmdlOiBmYWxzZSxcbiAgICAgIHZlcnRpY2FsOiBmYWxzZSxcbiAgICAgIHJldmVyc2U6IGZhbHNlLFxuICAgICAgdG9vbHRpcFZpc2libGU6ICdkZWZhdWx0JyBhcyBjb25zdFxuICAgIH1cbiAgfTtcbn1cbiJdfQ==
|
@@ -1,5 +1,5 @@
|
|
1
|
-
/**
|
2
|
-
* Generated bundle index. Do not edit.
|
3
|
-
*/
|
4
|
-
export * from './public_api';
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
export * from './public_api';
|
5
5
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWZvcm1seS16b3Jyby1hbnRkLXN3aXRjaC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvc3dpdGNoL3NyYy9uZ3gtZm9ybWx5LXpvcnJvLWFudGQtc3dpdGNoLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0=
|
@@ -1,3 +1,3 @@
|
|
1
|
-
export { FormlyNzSwitchModule } from './switch.module';
|
2
|
-
export { FormlyFieldSwitch } from './switch.type';
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
1
|
+
export { FormlyNzSwitchModule } from './switch.module';
|
2
|
+
export { FormlyFieldSwitch } from './switch.type';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvc3dpdGNoL3NyYy9wdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQ3ZELE9BQU8sRUFBRSxpQkFBaUIsRUFBMkIsTUFBTSxlQUFlLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBGb3JtbHlOelN3aXRjaE1vZHVsZSB9IGZyb20gJy4vc3dpdGNoLm1vZHVsZSc7XG5leHBvcnQgeyBGb3JtbHlGaWVsZFN3aXRjaCwgRm9ybWx5U3dpdGNoRmllbGRDb25maWcgfSBmcm9tICcuL3N3aXRjaC50eXBlJztcbiJdfQ==
|
@@ -1,51 +1,51 @@
|
|
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: "14.2.1", ngImport: i0, type: FormlyNzSwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
13
|
-
FormlyNzSwitchModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", 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: "14.2.1", 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: "14.2.1", 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,
|
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: "14.2.1", ngImport: i0, type: FormlyNzSwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
13
|
+
FormlyNzSwitchModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", 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: "14.2.1", 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: "14.2.1", 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3dpdGNoLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvc3dpdGNoL3NyYy9zd2l0Y2gubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0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F1cbn0pXG5leHBvcnQgY2xhc3MgRm9ybWx5TnpTd2l0Y2hNb2R1bGUge31cbiJdfQ==
|
@@ -1,53 +1,53 @@
|
|
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: "14.2.1", ngImport: i0, type: FormlyFieldSwitch, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
20
|
-
FormlyFieldSwitch.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", 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: "14.2.1", 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,
|
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: "14.2.1", ngImport: i0, type: FormlyFieldSwitch, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
20
|
+
FormlyFieldSwitch.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", 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: "14.2.1", 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3dpdGNoLnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL3N3aXRjaC9zcmMvc3dpdGNoLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBcUIsdUJBQXVCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDdEYsT0FBTyxFQUFFLFNBQVMsRUFBc0MsTUFBTSxrQkFBa0IsQ0FBQzs7Ozs7QUF1RGpGLE1BQU0sT0FBTyxpQkFBa0IsU0FBUSxTQUF1QztJQWpCOUU7O1FBa0JXLG1CQUFjLEdBQUc7WUFDeEIsS0FBSyxFQUFFO2dCQUNMLElBQUksRUFBRSxTQUFrQjtnQkFDeEIsT0FBTyxFQUFFLEtBQUs7Z0JBQ2QsT0FBTyxFQUFFLEtBQUs7YUFDZjtTQUNGLENBQUM7S0FDSDs7OEdBUlksaUJBQWlCO2tHQUFqQixpQkFBaUIsa0ZBZmxCOzs7Ozs7Ozs7Ozs7R0FZVDsyRkFHVSxpQkFBaUI7a0JBakI3QixTQUFTO21CQUFDO29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B1c2hcbn0pXG5leHBvcnQgY2xhc3MgRm9ybWx5RmllbGRTd2l0Y2ggZXh0ZW5kcyBGaWVsZFR5cGU8RmllbGRUeXBlQ29uZmlnPFN3aXRjaFByb3BzPj4ge1xuICBvdmVycmlkZSBkZWZhdWx0T3B0aW9ucyA9IHtcbiAgICBwcm9wczoge1xuICAgICAgc2l6ZTogJ2RlZmF1bHQnIGFzIGNvbnN0LFxuICAgICAgbG9hZGluZzogZmFsc2UsXG4gICAgICBjb250cm9sOiBmYWxzZVxuICAgIH1cbiAgfTtcbn1cbiJdfQ==
|
@@ -1,5 +1,5 @@
|
|
1
|
-
/**
|
2
|
-
* Generated bundle index. Do not edit.
|
3
|
-
*/
|
4
|
-
export * from './public_api';
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
export * from './public_api';
|
5
5
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWZvcm1seS16b3Jyby1hbnRkLXRhYnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL3RhYnMvc3JjL25neC1mb3JtbHktem9ycm8tYW50ZC10YWJzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0=
|
@@ -1,3 +1,3 @@
|
|
1
|
-
export { FormlyNzTabsModule } from './tabs.module';
|
2
|
-
export { FormlyWrapperTabs } from './tabs.wrapper';
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
1
|
+
export { FormlyNzTabsModule } from './tabs.module';
|
2
|
+
export { FormlyWrapperTabs } from './tabs.wrapper';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvdGFicy9zcmMvcHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkQsT0FBTyxFQUFFLGlCQUFpQixFQUEyQixNQUFNLGdCQUFnQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgRm9ybWx5TnpUYWJzTW9kdWxlIH0gZnJvbSAnLi90YWJzLm1vZHVsZSc7XG5leHBvcnQgeyBGb3JtbHlXcmFwcGVyVGFicywgRm9ybWx5VGFic1dyYXBwZXJDb25maWcgfSBmcm9tICcuL3RhYnMud3JhcHBlcic7XG4iXX0=
|