ngx-formly-zorro-antd 14.0.0 → 14.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -1
- package/autocomplete/autocomplete.props.d.ts +38 -38
- package/autocomplete/index.d.ts +5 -5
- package/autocomplete/public_api.d.ts +1 -1
- package/button/button.module.d.ts +11 -11
- package/button/button.type.d.ts +66 -66
- package/button/index.d.ts +5 -5
- package/button/public_api.d.ts +2 -2
- package/card/card.module.d.ts +10 -10
- package/card/card.wrapper.d.ts +58 -58
- package/card/index.d.ts +5 -5
- package/card/public_api.d.ts +2 -2
- package/cascader/cascader.module.d.ts +12 -12
- package/cascader/cascader.type.d.ts +152 -152
- package/cascader/index.d.ts +5 -5
- package/cascader/public_api.d.ts +2 -2
- package/checkbox/checkbox.module.d.ts +12 -12
- package/checkbox/checkbox.type.d.ts +35 -35
- package/checkbox/index.d.ts +5 -5
- package/checkbox/public_api.d.ts +2 -2
- package/datepicker/datepicker.module.d.ts +12 -12
- package/datepicker/datepicker.props.d.ts +144 -146
- package/datepicker/datepicker.type.d.ts +31 -31
- package/datepicker/index.d.ts +5 -5
- package/datepicker/public_api.d.ts +2 -2
- package/esm2020/autocomplete/autocomplete.props.mjs +2 -2
- package/esm2020/autocomplete/ngx-formly-zorro-antd-autocomplete.mjs +4 -4
- package/esm2020/autocomplete/public_api.mjs +2 -2
- package/esm2020/button/button.module.mjs +61 -61
- package/esm2020/button/button.type.mjs +110 -110
- package/esm2020/button/ngx-formly-zorro-antd-button.mjs +4 -4
- package/esm2020/button/public_api.mjs +3 -3
- package/esm2020/card/card.module.mjs +43 -43
- package/esm2020/card/card.wrapper.mjs +47 -47
- package/esm2020/card/ngx-formly-zorro-antd-card.mjs +4 -4
- package/esm2020/card/public_api.mjs +3 -3
- package/esm2020/cascader/cascader.module.mjs +51 -51
- package/esm2020/cascader/cascader.type.mjs +112 -112
- package/esm2020/cascader/ngx-formly-zorro-antd-cascader.mjs +4 -4
- package/esm2020/cascader/public_api.mjs +3 -3
- package/esm2020/checkbox/checkbox.module.mjs +59 -59
- package/esm2020/checkbox/checkbox.type.mjs +69 -69
- package/esm2020/checkbox/ngx-formly-zorro-antd-checkbox.mjs +4 -4
- package/esm2020/checkbox/public_api.mjs +3 -3
- package/esm2020/datepicker/datepicker.module.mjs +51 -51
- package/esm2020/datepicker/datepicker.props.mjs +2 -2
- package/esm2020/datepicker/datepicker.type.mjs +191 -189
- package/esm2020/datepicker/ngx-formly-zorro-antd-datepicker.mjs +4 -4
- package/esm2020/datepicker/public_api.mjs +3 -3
- package/esm2020/form-field/form-field.module.mjs +45 -45
- package/esm2020/form-field/form-field.props.mjs +2 -2
- package/esm2020/form-field/form-field.wrapper.mjs +127 -127
- package/esm2020/form-field/ngx-formly-zorro-antd-form-field.mjs +4 -4
- package/esm2020/form-field/public_api.mjs +2 -2
- package/esm2020/grid/grid.module.mjs +41 -41
- package/esm2020/grid/grid.props.mjs +2 -2
- package/esm2020/grid/grid.type.mjs +71 -71
- package/esm2020/grid/ngx-formly-zorro-antd-grid.mjs +4 -4
- package/esm2020/grid/public_api.mjs +3 -3
- package/esm2020/index.mjs +2 -2
- package/esm2020/input/input.module.mjs +89 -89
- package/esm2020/input/input.props.mjs +2 -2
- package/esm2020/input/input.type.mjs +309 -309
- package/esm2020/input/ngx-formly-zorro-antd-input.mjs +4 -4
- package/esm2020/input/public_api.mjs +3 -3
- package/esm2020/input-group/input-group.module.mjs +47 -47
- package/esm2020/input-group/input-group.props.mjs +2 -2
- package/esm2020/input-group/input-group.type.mjs +71 -71
- package/esm2020/input-group/ngx-formly-zorro-antd-input-group.mjs +4 -4
- package/esm2020/input-group/public_api.mjs +3 -3
- package/esm2020/input-number/input-number.module.mjs +59 -59
- package/esm2020/input-number/input-number.props.mjs +2 -2
- package/esm2020/input-number/input-number.type.mjs +128 -128
- package/esm2020/input-number/ngx-formly-zorro-antd-input-number.mjs +4 -4
- package/esm2020/input-number/public_api.mjs +3 -3
- package/esm2020/lib/ui-ng-zorro-antd.mjs +2 -2
- package/esm2020/lib/ui-ng-zorro-antd.module.mjs +97 -97
- package/esm2020/ngx-formly-zorro-antd.mjs +4 -4
- package/esm2020/radio/ngx-formly-zorro-antd-radio.mjs +4 -4
- package/esm2020/radio/public_api.mjs +3 -3
- package/esm2020/radio/radio.module.mjs +59 -59
- package/esm2020/radio/radio.type.mjs +96 -96
- package/esm2020/rate/ngx-formly-zorro-antd-rate.mjs +4 -4
- package/esm2020/rate/public_api.mjs +3 -3
- package/esm2020/rate/rate.module.mjs +51 -51
- package/esm2020/rate/rate.type.mjs +63 -63
- package/esm2020/select/ngx-formly-zorro-antd-select.mjs +4 -4
- package/esm2020/select/public_api.mjs +3 -3
- package/esm2020/select/select.module.mjs +57 -57
- package/esm2020/select/select.props.mjs +2 -2
- package/esm2020/select/select.type.mjs +163 -163
- package/esm2020/slider/ngx-formly-zorro-antd-slider.mjs +4 -4
- package/esm2020/slider/public_api.mjs +3 -3
- package/esm2020/slider/slider.module.mjs +51 -51
- package/esm2020/slider/slider.type.mjs +67 -67
- package/esm2020/switch/ngx-formly-zorro-antd-switch.mjs +4 -4
- package/esm2020/switch/public_api.mjs +3 -3
- package/esm2020/switch/switch.module.mjs +51 -51
- package/esm2020/switch/switch.type.mjs +53 -53
- package/esm2020/tabs/ngx-formly-zorro-antd-tabs.mjs +4 -4
- package/esm2020/tabs/public_api.mjs +3 -3
- package/esm2020/tabs/tabs.module.mjs +41 -41
- package/esm2020/tabs/tabs.props.mjs +2 -2
- package/esm2020/tabs/tabs.wrapper.mjs +111 -111
- package/esm2020/textarea/ngx-formly-zorro-antd-textarea.mjs +4 -4
- package/esm2020/textarea/public_api.mjs +3 -3
- package/esm2020/textarea/textarea.module.mjs +51 -51
- package/esm2020/textarea/textarea.type.mjs +88 -88
- package/esm2020/timepicker/ngx-formly-zorro-antd-timepicker.mjs +4 -4
- package/esm2020/timepicker/public_api.mjs +3 -3
- package/esm2020/timepicker/timepicker.module.mjs +51 -51
- package/esm2020/timepicker/timepicker.type.mjs +92 -92
- package/esm2020/transfer/ngx-formly-zorro-antd-transfer.mjs +4 -4
- package/esm2020/transfer/public_api.mjs +3 -3
- package/esm2020/transfer/transfer.component.mjs +128 -128
- package/esm2020/transfer/transfer.module.mjs +52 -52
- package/esm2020/transfer/transfer.type.mjs +87 -87
- package/esm2020/tree-select/ngx-formly-zorro-antd-tree-select.mjs +4 -4
- package/esm2020/tree-select/public_api.mjs +3 -3
- package/esm2020/tree-select/tree-select.module.mjs +51 -51
- package/esm2020/tree-select/tree-select.type.mjs +98 -98
- package/esm2020/upload/ngx-formly-zorro-antd-upload.mjs +4 -4
- package/esm2020/upload/public_api.mjs +3 -3
- package/esm2020/upload/upload.component.mjs +174 -174
- package/esm2020/upload/upload.module.mjs +60 -60
- package/esm2020/upload/upload.type.mjs +119 -119
- package/fesm2015/ngx-formly-zorro-antd-autocomplete.mjs +2 -2
- package/fesm2015/ngx-formly-zorro-antd-button.mjs +152 -152
- package/fesm2015/ngx-formly-zorro-antd-button.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-card.mjs +77 -77
- package/fesm2015/ngx-formly-zorro-antd-card.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-cascader.mjs +145 -145
- package/fesm2015/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs +110 -110
- package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs +224 -222
- package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-form-field.mjs +155 -155
- package/fesm2015/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-grid.mjs +97 -97
- package/fesm2015/ngx-formly-zorro-antd-grid.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-input-group.mjs +102 -102
- package/fesm2015/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-input-number.mjs +169 -169
- package/fesm2015/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-input.mjs +376 -376
- package/fesm2015/ngx-formly-zorro-antd-input.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-radio.mjs +134 -134
- package/fesm2015/ngx-formly-zorro-antd-radio.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-rate.mjs +97 -97
- package/fesm2015/ngx-formly-zorro-antd-rate.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-select.mjs +199 -199
- package/fesm2015/ngx-formly-zorro-antd-select.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-slider.mjs +101 -101
- package/fesm2015/ngx-formly-zorro-antd-slider.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-switch.mjs +87 -87
- package/fesm2015/ngx-formly-zorro-antd-switch.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-tabs.mjs +137 -137
- package/fesm2015/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-textarea.mjs +121 -121
- package/fesm2015/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs +125 -125
- package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-transfer.mjs +241 -241
- package/fesm2015/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs +131 -131
- package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-upload.mjs +321 -321
- package/fesm2015/ngx-formly-zorro-antd-upload.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd.mjs +74 -74
- package/fesm2015/ngx-formly-zorro-antd.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-autocomplete.mjs +2 -2
- package/fesm2020/ngx-formly-zorro-antd-button.mjs +152 -152
- package/fesm2020/ngx-formly-zorro-antd-button.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-card.mjs +77 -77
- package/fesm2020/ngx-formly-zorro-antd-card.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-cascader.mjs +145 -145
- package/fesm2020/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs +110 -110
- package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs +224 -222
- package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-form-field.mjs +155 -155
- package/fesm2020/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-grid.mjs +97 -97
- package/fesm2020/ngx-formly-zorro-antd-grid.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-input-group.mjs +102 -102
- package/fesm2020/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-input-number.mjs +169 -169
- package/fesm2020/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-input.mjs +376 -376
- package/fesm2020/ngx-formly-zorro-antd-input.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-radio.mjs +134 -134
- package/fesm2020/ngx-formly-zorro-antd-radio.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-rate.mjs +97 -97
- package/fesm2020/ngx-formly-zorro-antd-rate.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-select.mjs +199 -199
- package/fesm2020/ngx-formly-zorro-antd-select.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-slider.mjs +101 -101
- package/fesm2020/ngx-formly-zorro-antd-slider.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-switch.mjs +87 -87
- package/fesm2020/ngx-formly-zorro-antd-switch.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-tabs.mjs +137 -137
- package/fesm2020/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-textarea.mjs +121 -121
- package/fesm2020/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs +125 -125
- package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-transfer.mjs +241 -241
- package/fesm2020/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs +131 -131
- package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-upload.mjs +320 -320
- package/fesm2020/ngx-formly-zorro-antd-upload.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd.mjs +74 -74
- package/fesm2020/ngx-formly-zorro-antd.mjs.map +1 -1
- package/form-field/form-field.module.d.ts +11 -11
- package/form-field/form-field.props.d.ts +105 -105
- package/form-field/form-field.wrapper.d.ts +9 -9
- package/form-field/index.d.ts +5 -5
- package/form-field/public_api.d.ts +3 -3
- package/grid/grid.module.d.ts +10 -10
- package/grid/grid.props.d.ts +44 -44
- package/grid/grid.type.d.ts +11 -11
- package/grid/index.d.ts +5 -5
- package/grid/public_api.d.ts +3 -3
- package/index.d.ts +1 -1
- package/input/index.d.ts +5 -5
- package/input/input.module.d.ts +14 -14
- package/input/input.props.d.ts +36 -33
- package/input/input.type.d.ts +26 -26
- package/input/public_api.d.ts +2 -2
- package/input-group/index.d.ts +5 -5
- package/input-group/input-group.module.d.ts +11 -11
- package/input-group/input-group.props.d.ts +56 -56
- package/input-group/input-group.type.d.ts +22 -22
- package/input-group/public_api.d.ts +3 -3
- package/input-number/index.d.ts +5 -5
- package/input-number/input-number.module.d.ts +12 -12
- package/input-number/input-number.props.d.ts +81 -78
- package/input-number/input-number.type.d.ts +24 -24
- package/input-number/public_api.d.ts +2 -2
- package/lib/ui-ng-zorro-antd.d.ts +1 -1
- package/lib/ui-ng-zorro-antd.module.d.ts +27 -27
- package/package.json +5 -1
- package/radio/index.d.ts +5 -5
- package/radio/public_api.d.ts +2 -2
- package/radio/radio.module.d.ts +14 -14
- package/radio/radio.type.d.ts +38 -38
- package/rate/index.d.ts +5 -5
- package/rate/public_api.d.ts +2 -2
- package/rate/rate.module.d.ts +12 -12
- package/rate/rate.type.d.ts +57 -57
- package/select/index.d.ts +5 -5
- package/select/public_api.d.ts +2 -2
- package/select/select.module.d.ts +13 -13
- package/select/select.props.d.ts +162 -162
- package/select/select.type.d.ts +35 -35
- package/slider/index.d.ts +5 -5
- package/slider/public_api.d.ts +2 -2
- package/slider/slider.module.d.ts +12 -12
- package/slider/slider.type.d.ts +76 -76
- package/switch/index.d.ts +5 -5
- package/switch/public_api.d.ts +2 -2
- package/switch/switch.module.d.ts +12 -12
- package/switch/switch.type.d.ts +44 -44
- package/tabs/index.d.ts +5 -5
- package/tabs/public_api.d.ts +2 -2
- package/tabs/tabs.module.d.ts +10 -10
- package/tabs/tabs.props.d.ts +126 -126
- package/tabs/tabs.wrapper.d.ts +28 -28
- package/textarea/index.d.ts +5 -5
- package/textarea/public_api.d.ts +2 -2
- package/textarea/textarea.module.d.ts +12 -12
- package/textarea/textarea.type.d.ts +38 -38
- package/timepicker/index.d.ts +5 -5
- package/timepicker/public_api.d.ts +2 -2
- package/timepicker/timepicker.module.d.ts +12 -12
- package/timepicker/timepicker.type.d.ts +131 -131
- package/transfer/index.d.ts +5 -5
- package/transfer/public_api.d.ts +2 -2
- package/transfer/transfer.component.d.ts +26 -26
- package/transfer/transfer.module.d.ts +13 -13
- package/transfer/transfer.type.d.ts +118 -118
- package/tree-select/index.d.ts +5 -5
- package/tree-select/public_api.d.ts +2 -2
- package/tree-select/tree-select.module.d.ts +12 -12
- package/tree-select/tree-select.type.d.ts +158 -158
- package/upload/index.d.ts +5 -5
- package/upload/public_api.d.ts +2 -2
- package/upload/upload.component.d.ts +27 -27
- package/upload/upload.module.d.ts +15 -15
- package/upload/upload.type.d.ts +173 -173
@@ -1,309 +1,309 @@
|
|
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/input";
|
7
|
-
import * as i4 from "ng-zorro-antd/auto-complete";
|
8
|
-
import * as i5 from "ng-zorro-antd/icon";
|
9
|
-
import * as i6 from "@ngx-formly/core";
|
10
|
-
export class FormlyFieldInput extends FieldType {
|
11
|
-
constructor() {
|
12
|
-
super(...arguments);
|
13
|
-
this.defaultOptions = {
|
14
|
-
props: {
|
15
|
-
borderless: false,
|
16
|
-
compact: false,
|
17
|
-
search: false,
|
18
|
-
allowClear: false,
|
19
|
-
autocompleteOptions: {
|
20
|
-
backfill: false,
|
21
|
-
defaultActiveFirstOption: true,
|
22
|
-
compareWith: (o1, o2) => o1 === o2
|
23
|
-
}
|
24
|
-
}
|
25
|
-
};
|
26
|
-
this.passwordVisible = false;
|
27
|
-
}
|
28
|
-
}
|
29
|
-
FormlyFieldInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldInput, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
30
|
-
FormlyFieldInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldInput, selector: "formly-field-input", usesInheritance: true, ngImport: i0, template: `
|
31
|
-
<ng-container [ngSwitch]="props.type">
|
32
|
-
<ng-container *ngSwitchCase="'password'">
|
33
|
-
<nz-input-group
|
34
|
-
[nzPrefixIcon]="props['prefixIcon']"
|
35
|
-
[nzSuffixIcon]="props['suffixIcon']"
|
36
|
-
[nzAddOnAfterIcon]="props['addOnAfterIcon']"
|
37
|
-
[nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
|
38
|
-
[nzAddOnBefore]="props['addOnBefore']"
|
39
|
-
[nzAddOnAfter]="props['addOnAfter']"
|
40
|
-
[nzPrefix]="props['prefix']"
|
41
|
-
[nzCompact]="props['compact']!!"
|
42
|
-
[nzSearch]="props['search']!!"
|
43
|
-
[nzSize]="props['size']!"
|
44
|
-
[nzStatus]="props['status']!"
|
45
|
-
[nzSuffix]="passwordEyeTpl"
|
46
|
-
>
|
47
|
-
<input
|
48
|
-
[type]="passwordVisible ? 'text' : 'password'"
|
49
|
-
nz-input
|
50
|
-
[formControl]="formControl"
|
51
|
-
[formlyAttributes]="field"
|
52
|
-
[nzBorderless]="props['borderless']!!"
|
53
|
-
(ngModelChange)="props
|
54
|
-
/>
|
55
|
-
</nz-input-group>
|
56
|
-
</ng-container>
|
57
|
-
|
58
|
-
<nz-input-group
|
59
|
-
*ngSwitchCase="'autoComplete'"
|
60
|
-
[nzSize]="props['size']"
|
61
|
-
[nzPrefixIcon]="props['prefixIcon']"
|
62
|
-
[nzSuffixIcon]="props['suffixIcon']"
|
63
|
-
[nzAddOnAfterIcon]="props['addOnAfterIcon']"
|
64
|
-
[nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
|
65
|
-
[nzAddOnBefore]="props['addOnBefore']"
|
66
|
-
[nzAddOnAfter]="props['addOnAfter']"
|
67
|
-
[nzPrefix]="props['prefix']"
|
68
|
-
[nzSuffix]="props['allowClear']!! ? inputClearTpl : props['suffix']"
|
69
|
-
>
|
70
|
-
<input
|
71
|
-
nz-input
|
72
|
-
[nzBorderless]="props['borderless']"
|
73
|
-
[nzAutocomplete]="auto"
|
74
|
-
[formControl]="formControl"
|
75
|
-
[formlyAttributes]="field"
|
76
|
-
/>
|
77
|
-
<nz-autocomplete
|
78
|
-
[nzBackfill]="props['autocompleteOptions']?.backfill"
|
79
|
-
[nzDefaultActiveFirstOption]="props['autocompleteOptions']?.defaultActiveFirstOption"
|
80
|
-
[nzWidth]="props['autocompleteOptions']?.width"
|
81
|
-
[nzOverlayClassName]="props['autocompleteOptions']?.overlayClassName"
|
82
|
-
[nzOverlayStyle]="props['autocompleteOptions']?.overlayStyle"
|
83
|
-
[compareWith]="props['autocompleteOptions']?.compareWith"
|
84
|
-
#auto
|
85
|
-
>
|
86
|
-
<nz-auto-option
|
87
|
-
*ngFor="let option of props['autocompleteOptions'].dataSource"
|
88
|
-
[nzLabel]="option.label"
|
89
|
-
[nzValue]="option.value"
|
90
|
-
>
|
91
|
-
{{ option.label }}
|
92
|
-
</nz-auto-option>
|
93
|
-
</nz-autocomplete>
|
94
|
-
</nz-input-group>
|
95
|
-
|
96
|
-
<nz-input-group
|
97
|
-
*ngSwitchCase="'group'"
|
98
|
-
[nzPrefixIcon]="props['prefixIcon']"
|
99
|
-
[nzSuffixIcon]="props['suffixIcon']"
|
100
|
-
[nzAddOnAfterIcon]="props['addOnAfterIcon']"
|
101
|
-
[nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
|
102
|
-
[nzAddOnBefore]="props['addOnBefore']"
|
103
|
-
[nzAddOnAfter]="props['addOnAfter']"
|
104
|
-
[nzPrefix]="props['prefix']"
|
105
|
-
[nzSuffix]="props['allowClear']!! ? inputClearTpl : props['suffix']"
|
106
|
-
[nzCompact]="props['compact']!!"
|
107
|
-
[nzSearch]="props['search']!!"
|
108
|
-
[nzSize]="props['size']!"
|
109
|
-
[nzStatus]="props['status']!"
|
110
|
-
>
|
111
|
-
<input
|
112
|
-
nz-input
|
113
|
-
type="text"
|
114
|
-
[ngClass]="props['className']!"
|
115
|
-
[formControl]="formControl"
|
116
|
-
[formlyAttributes]="field"
|
117
|
-
[nzBorderless]="!!props['borderless']!!"
|
118
|
-
(ngModelChange)="props
|
119
|
-
/>
|
120
|
-
</nz-input-group>
|
121
|
-
|
122
|
-
<input
|
123
|
-
*ngSwitchDefault
|
124
|
-
nz-input
|
125
|
-
type="text"
|
126
|
-
[ngClass]="props['className']!"
|
127
|
-
[formControl]="formControl"
|
128
|
-
[formlyAttributes]="field"
|
129
|
-
[nzSize]="props['size']"
|
130
|
-
[nzStatus]="props['status']"
|
131
|
-
[nzBorderless]="props['borderless']!!"
|
132
|
-
(ngModelChange)="props
|
133
|
-
/>
|
134
|
-
</ng-container>
|
135
|
-
|
136
|
-
<!-- 查看密码 -->
|
137
|
-
<ng-template #passwordEyeTpl>
|
138
|
-
<span
|
139
|
-
nz-icon
|
140
|
-
class="cursor-pointer"
|
141
|
-
[nzType]="passwordVisible ? 'eye-invisible' : 'eye'"
|
142
|
-
(click)="passwordVisible = !passwordVisible"
|
143
|
-
></span>
|
144
|
-
|
145
|
-
<span
|
146
|
-
nz-icon
|
147
|
-
class="ant-input-clear-icon"
|
148
|
-
nzTheme="fill"
|
149
|
-
nzType="close-circle"
|
150
|
-
*ngIf="formControl.value && props['allowClear']!!"
|
151
|
-
(click)="formControl.reset()"
|
152
|
-
></span>
|
153
|
-
</ng-template>
|
154
|
-
<!-- 清除数据 -->
|
155
|
-
<ng-template #inputClearTpl>
|
156
|
-
<span
|
157
|
-
nz-icon
|
158
|
-
class="ant-input-clear-icon"
|
159
|
-
nzTheme="fill"
|
160
|
-
nzType="close-circle"
|
161
|
-
*ngIf="formControl.value"
|
162
|
-
(click)="formControl.reset()"
|
163
|
-
></span>
|
164
|
-
</ng-template>
|
165
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { 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: "directive", type: i3.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "component", type: i3.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch", "nzCompact"], exportAs: ["nzInputGroup"] }, { kind: "directive", type: i3.NzInputGroupWhitSuffixOrPrefixDirective, selector: "nz-input-group[nzSuffix], nz-input-group[nzPrefix]" }, { kind: "component", type: i4.NzAutocompleteComponent, selector: "nz-autocomplete", inputs: ["nzWidth", "nzOverlayClassName", "nzOverlayStyle", "nzDefaultActiveFirstOption", "nzBackfill", "compareWith", "nzDataSource"], outputs: ["selectionChange"], exportAs: ["nzAutocomplete"] }, { kind: "component", type: i4.NzAutocompleteOptionComponent, selector: "nz-auto-option", inputs: ["nzValue", "nzLabel", "nzDisabled"], outputs: ["selectionChange", "mouseEntered"], exportAs: ["nzAutoOption"] }, { kind: "directive", type: i4.NzAutocompleteTriggerDirective, selector: "input[nzAutocomplete], textarea[nzAutocomplete]", inputs: ["nzAutocomplete"], exportAs: ["nzAutocompleteTrigger"] }, { kind: "directive", type: i5.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "directive", type: i6.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
166
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldInput, decorators: [{
|
167
|
-
type: Component,
|
168
|
-
args: [{
|
169
|
-
selector: 'formly-field-input',
|
170
|
-
template: `
|
171
|
-
<ng-container [ngSwitch]="props.type">
|
172
|
-
<ng-container *ngSwitchCase="'password'">
|
173
|
-
<nz-input-group
|
174
|
-
[nzPrefixIcon]="props['prefixIcon']"
|
175
|
-
[nzSuffixIcon]="props['suffixIcon']"
|
176
|
-
[nzAddOnAfterIcon]="props['addOnAfterIcon']"
|
177
|
-
[nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
|
178
|
-
[nzAddOnBefore]="props['addOnBefore']"
|
179
|
-
[nzAddOnAfter]="props['addOnAfter']"
|
180
|
-
[nzPrefix]="props['prefix']"
|
181
|
-
[nzCompact]="props['compact']!!"
|
182
|
-
[nzSearch]="props['search']!!"
|
183
|
-
[nzSize]="props['size']!"
|
184
|
-
[nzStatus]="props['status']!"
|
185
|
-
[nzSuffix]="passwordEyeTpl"
|
186
|
-
>
|
187
|
-
<input
|
188
|
-
[type]="passwordVisible ? 'text' : 'password'"
|
189
|
-
nz-input
|
190
|
-
[formControl]="formControl"
|
191
|
-
[formlyAttributes]="field"
|
192
|
-
[nzBorderless]="props['borderless']!!"
|
193
|
-
(ngModelChange)="props
|
194
|
-
/>
|
195
|
-
</nz-input-group>
|
196
|
-
</ng-container>
|
197
|
-
|
198
|
-
<nz-input-group
|
199
|
-
*ngSwitchCase="'autoComplete'"
|
200
|
-
[nzSize]="props['size']"
|
201
|
-
[nzPrefixIcon]="props['prefixIcon']"
|
202
|
-
[nzSuffixIcon]="props['suffixIcon']"
|
203
|
-
[nzAddOnAfterIcon]="props['addOnAfterIcon']"
|
204
|
-
[nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
|
205
|
-
[nzAddOnBefore]="props['addOnBefore']"
|
206
|
-
[nzAddOnAfter]="props['addOnAfter']"
|
207
|
-
[nzPrefix]="props['prefix']"
|
208
|
-
[nzSuffix]="props['allowClear']!! ? inputClearTpl : props['suffix']"
|
209
|
-
>
|
210
|
-
<input
|
211
|
-
nz-input
|
212
|
-
[nzBorderless]="props['borderless']"
|
213
|
-
[nzAutocomplete]="auto"
|
214
|
-
[formControl]="formControl"
|
215
|
-
[formlyAttributes]="field"
|
216
|
-
/>
|
217
|
-
<nz-autocomplete
|
218
|
-
[nzBackfill]="props['autocompleteOptions']?.backfill"
|
219
|
-
[nzDefaultActiveFirstOption]="props['autocompleteOptions']?.defaultActiveFirstOption"
|
220
|
-
[nzWidth]="props['autocompleteOptions']?.width"
|
221
|
-
[nzOverlayClassName]="props['autocompleteOptions']?.overlayClassName"
|
222
|
-
[nzOverlayStyle]="props['autocompleteOptions']?.overlayStyle"
|
223
|
-
[compareWith]="props['autocompleteOptions']?.compareWith"
|
224
|
-
#auto
|
225
|
-
>
|
226
|
-
<nz-auto-option
|
227
|
-
*ngFor="let option of props['autocompleteOptions'].dataSource"
|
228
|
-
[nzLabel]="option.label"
|
229
|
-
[nzValue]="option.value"
|
230
|
-
>
|
231
|
-
{{ option.label }}
|
232
|
-
</nz-auto-option>
|
233
|
-
</nz-autocomplete>
|
234
|
-
</nz-input-group>
|
235
|
-
|
236
|
-
<nz-input-group
|
237
|
-
*ngSwitchCase="'group'"
|
238
|
-
[nzPrefixIcon]="props['prefixIcon']"
|
239
|
-
[nzSuffixIcon]="props['suffixIcon']"
|
240
|
-
[nzAddOnAfterIcon]="props['addOnAfterIcon']"
|
241
|
-
[nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
|
242
|
-
[nzAddOnBefore]="props['addOnBefore']"
|
243
|
-
[nzAddOnAfter]="props['addOnAfter']"
|
244
|
-
[nzPrefix]="props['prefix']"
|
245
|
-
[nzSuffix]="props['allowClear']!! ? inputClearTpl : props['suffix']"
|
246
|
-
[nzCompact]="props['compact']!!"
|
247
|
-
[nzSearch]="props['search']!!"
|
248
|
-
[nzSize]="props['size']!"
|
249
|
-
[nzStatus]="props['status']!"
|
250
|
-
>
|
251
|
-
<input
|
252
|
-
nz-input
|
253
|
-
type="text"
|
254
|
-
[ngClass]="props['className']!"
|
255
|
-
[formControl]="formControl"
|
256
|
-
[formlyAttributes]="field"
|
257
|
-
[nzBorderless]="!!props['borderless']!!"
|
258
|
-
(ngModelChange)="props
|
259
|
-
/>
|
260
|
-
</nz-input-group>
|
261
|
-
|
262
|
-
<input
|
263
|
-
*ngSwitchDefault
|
264
|
-
nz-input
|
265
|
-
type="text"
|
266
|
-
[ngClass]="props['className']!"
|
267
|
-
[formControl]="formControl"
|
268
|
-
[formlyAttributes]="field"
|
269
|
-
[nzSize]="props['size']"
|
270
|
-
[nzStatus]="props['status']"
|
271
|
-
[nzBorderless]="props['borderless']!!"
|
272
|
-
(ngModelChange)="props
|
273
|
-
/>
|
274
|
-
</ng-container>
|
275
|
-
|
276
|
-
<!-- 查看密码 -->
|
277
|
-
<ng-template #passwordEyeTpl>
|
278
|
-
<span
|
279
|
-
nz-icon
|
280
|
-
class="cursor-pointer"
|
281
|
-
[nzType]="passwordVisible ? 'eye-invisible' : 'eye'"
|
282
|
-
(click)="passwordVisible = !passwordVisible"
|
283
|
-
></span>
|
284
|
-
|
285
|
-
<span
|
286
|
-
nz-icon
|
287
|
-
class="ant-input-clear-icon"
|
288
|
-
nzTheme="fill"
|
289
|
-
nzType="close-circle"
|
290
|
-
*ngIf="formControl.value && props['allowClear']!!"
|
291
|
-
(click)="formControl.reset()"
|
292
|
-
></span>
|
293
|
-
</ng-template>
|
294
|
-
<!-- 清除数据 -->
|
295
|
-
<ng-template #inputClearTpl>
|
296
|
-
<span
|
297
|
-
nz-icon
|
298
|
-
class="ant-input-clear-icon"
|
299
|
-
nzTheme="fill"
|
300
|
-
nzType="close-circle"
|
301
|
-
*ngIf="formControl.value"
|
302
|
-
(click)="formControl.reset()"
|
303
|
-
></span>
|
304
|
-
</ng-template>
|
305
|
-
`,
|
306
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
307
|
-
}]
|
308
|
-
}] });
|
309
|
-
//# 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/common";
|
5
|
+
import * as i2 from "@angular/forms";
|
6
|
+
import * as i3 from "ng-zorro-antd/input";
|
7
|
+
import * as i4 from "ng-zorro-antd/auto-complete";
|
8
|
+
import * as i5 from "ng-zorro-antd/icon";
|
9
|
+
import * as i6 from "@ngx-formly/core";
|
10
|
+
export class FormlyFieldInput extends FieldType {
|
11
|
+
constructor() {
|
12
|
+
super(...arguments);
|
13
|
+
this.defaultOptions = {
|
14
|
+
props: {
|
15
|
+
borderless: false,
|
16
|
+
compact: false,
|
17
|
+
search: false,
|
18
|
+
allowClear: false,
|
19
|
+
autocompleteOptions: {
|
20
|
+
backfill: false,
|
21
|
+
defaultActiveFirstOption: true,
|
22
|
+
compareWith: (o1, o2) => o1 === o2
|
23
|
+
}
|
24
|
+
}
|
25
|
+
};
|
26
|
+
this.passwordVisible = false;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
FormlyFieldInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldInput, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
30
|
+
FormlyFieldInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldInput, selector: "formly-field-input", usesInheritance: true, ngImport: i0, template: `
|
31
|
+
<ng-container [ngSwitch]="props.type">
|
32
|
+
<ng-container *ngSwitchCase="'password'">
|
33
|
+
<nz-input-group
|
34
|
+
[nzPrefixIcon]="props['prefixIcon']"
|
35
|
+
[nzSuffixIcon]="props['suffixIcon']"
|
36
|
+
[nzAddOnAfterIcon]="props['addOnAfterIcon']"
|
37
|
+
[nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
|
38
|
+
[nzAddOnBefore]="props['addOnBefore']"
|
39
|
+
[nzAddOnAfter]="props['addOnAfter']"
|
40
|
+
[nzPrefix]="props['prefix']"
|
41
|
+
[nzCompact]="props['compact']!!"
|
42
|
+
[nzSearch]="props['search']!!"
|
43
|
+
[nzSize]="props['size']!"
|
44
|
+
[nzStatus]="props['status']!"
|
45
|
+
[nzSuffix]="passwordEyeTpl"
|
46
|
+
>
|
47
|
+
<input
|
48
|
+
[type]="passwordVisible ? 'text' : 'password'"
|
49
|
+
nz-input
|
50
|
+
[formControl]="formControl"
|
51
|
+
[formlyAttributes]="field"
|
52
|
+
[nzBorderless]="props['borderless']!!"
|
53
|
+
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
54
|
+
/>
|
55
|
+
</nz-input-group>
|
56
|
+
</ng-container>
|
57
|
+
|
58
|
+
<nz-input-group
|
59
|
+
*ngSwitchCase="'autoComplete'"
|
60
|
+
[nzSize]="props['size']"
|
61
|
+
[nzPrefixIcon]="props['prefixIcon']"
|
62
|
+
[nzSuffixIcon]="props['suffixIcon']"
|
63
|
+
[nzAddOnAfterIcon]="props['addOnAfterIcon']"
|
64
|
+
[nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
|
65
|
+
[nzAddOnBefore]="props['addOnBefore']"
|
66
|
+
[nzAddOnAfter]="props['addOnAfter']"
|
67
|
+
[nzPrefix]="props['prefix']"
|
68
|
+
[nzSuffix]="props['allowClear']!! ? inputClearTpl : props['suffix']"
|
69
|
+
>
|
70
|
+
<input
|
71
|
+
nz-input
|
72
|
+
[nzBorderless]="props['borderless']"
|
73
|
+
[nzAutocomplete]="auto"
|
74
|
+
[formControl]="formControl"
|
75
|
+
[formlyAttributes]="field"
|
76
|
+
/>
|
77
|
+
<nz-autocomplete
|
78
|
+
[nzBackfill]="props['autocompleteOptions']?.backfill"
|
79
|
+
[nzDefaultActiveFirstOption]="props['autocompleteOptions']?.defaultActiveFirstOption"
|
80
|
+
[nzWidth]="props['autocompleteOptions']?.width"
|
81
|
+
[nzOverlayClassName]="props['autocompleteOptions']?.overlayClassName"
|
82
|
+
[nzOverlayStyle]="props['autocompleteOptions']?.overlayStyle"
|
83
|
+
[compareWith]="props['autocompleteOptions']?.compareWith"
|
84
|
+
#auto
|
85
|
+
>
|
86
|
+
<nz-auto-option
|
87
|
+
*ngFor="let option of props['autocompleteOptions'].dataSource"
|
88
|
+
[nzLabel]="option.label"
|
89
|
+
[nzValue]="option.value"
|
90
|
+
>
|
91
|
+
{{ option.label }}
|
92
|
+
</nz-auto-option>
|
93
|
+
</nz-autocomplete>
|
94
|
+
</nz-input-group>
|
95
|
+
|
96
|
+
<nz-input-group
|
97
|
+
*ngSwitchCase="'group'"
|
98
|
+
[nzPrefixIcon]="props['prefixIcon']"
|
99
|
+
[nzSuffixIcon]="props['suffixIcon']"
|
100
|
+
[nzAddOnAfterIcon]="props['addOnAfterIcon']"
|
101
|
+
[nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
|
102
|
+
[nzAddOnBefore]="props['addOnBefore']"
|
103
|
+
[nzAddOnAfter]="props['addOnAfter']"
|
104
|
+
[nzPrefix]="props['prefix']"
|
105
|
+
[nzSuffix]="props['allowClear']!! ? inputClearTpl : props['suffix']"
|
106
|
+
[nzCompact]="props['compact']!!"
|
107
|
+
[nzSearch]="props['search']!!"
|
108
|
+
[nzSize]="props['size']!"
|
109
|
+
[nzStatus]="props['status']!"
|
110
|
+
>
|
111
|
+
<input
|
112
|
+
nz-input
|
113
|
+
type="text"
|
114
|
+
[ngClass]="props['className']!"
|
115
|
+
[formControl]="formControl"
|
116
|
+
[formlyAttributes]="field"
|
117
|
+
[nzBorderless]="!!props['borderless']!!"
|
118
|
+
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
119
|
+
/>
|
120
|
+
</nz-input-group>
|
121
|
+
|
122
|
+
<input
|
123
|
+
*ngSwitchDefault
|
124
|
+
nz-input
|
125
|
+
type="text"
|
126
|
+
[ngClass]="props['className']!"
|
127
|
+
[formControl]="formControl"
|
128
|
+
[formlyAttributes]="field"
|
129
|
+
[nzSize]="props['size']"
|
130
|
+
[nzStatus]="props['status']"
|
131
|
+
[nzBorderless]="props['borderless']!!"
|
132
|
+
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
133
|
+
/>
|
134
|
+
</ng-container>
|
135
|
+
|
136
|
+
<!-- 查看密码 -->
|
137
|
+
<ng-template #passwordEyeTpl>
|
138
|
+
<span
|
139
|
+
nz-icon
|
140
|
+
class="cursor-pointer"
|
141
|
+
[nzType]="passwordVisible ? 'eye-invisible' : 'eye'"
|
142
|
+
(click)="passwordVisible = !passwordVisible"
|
143
|
+
></span>
|
144
|
+
|
145
|
+
<span
|
146
|
+
nz-icon
|
147
|
+
class="ant-input-clear-icon"
|
148
|
+
nzTheme="fill"
|
149
|
+
nzType="close-circle"
|
150
|
+
*ngIf="formControl.value && props['allowClear']!!"
|
151
|
+
(click)="formControl.reset()"
|
152
|
+
></span>
|
153
|
+
</ng-template>
|
154
|
+
<!-- 清除数据 -->
|
155
|
+
<ng-template #inputClearTpl>
|
156
|
+
<span
|
157
|
+
nz-icon
|
158
|
+
class="ant-input-clear-icon"
|
159
|
+
nzTheme="fill"
|
160
|
+
nzType="close-circle"
|
161
|
+
*ngIf="formControl.value"
|
162
|
+
(click)="formControl.reset()"
|
163
|
+
></span>
|
164
|
+
</ng-template>
|
165
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { 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: "directive", type: i3.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "component", type: i3.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch", "nzCompact"], exportAs: ["nzInputGroup"] }, { kind: "directive", type: i3.NzInputGroupWhitSuffixOrPrefixDirective, selector: "nz-input-group[nzSuffix], nz-input-group[nzPrefix]" }, { kind: "component", type: i4.NzAutocompleteComponent, selector: "nz-autocomplete", inputs: ["nzWidth", "nzOverlayClassName", "nzOverlayStyle", "nzDefaultActiveFirstOption", "nzBackfill", "compareWith", "nzDataSource"], outputs: ["selectionChange"], exportAs: ["nzAutocomplete"] }, { kind: "component", type: i4.NzAutocompleteOptionComponent, selector: "nz-auto-option", inputs: ["nzValue", "nzLabel", "nzDisabled"], outputs: ["selectionChange", "mouseEntered"], exportAs: ["nzAutoOption"] }, { kind: "directive", type: i4.NzAutocompleteTriggerDirective, selector: "input[nzAutocomplete], textarea[nzAutocomplete]", inputs: ["nzAutocomplete"], exportAs: ["nzAutocompleteTrigger"] }, { kind: "directive", type: i5.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "directive", type: i6.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
166
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldInput, decorators: [{
|
167
|
+
type: Component,
|
168
|
+
args: [{
|
169
|
+
selector: 'formly-field-input',
|
170
|
+
template: `
|
171
|
+
<ng-container [ngSwitch]="props.type">
|
172
|
+
<ng-container *ngSwitchCase="'password'">
|
173
|
+
<nz-input-group
|
174
|
+
[nzPrefixIcon]="props['prefixIcon']"
|
175
|
+
[nzSuffixIcon]="props['suffixIcon']"
|
176
|
+
[nzAddOnAfterIcon]="props['addOnAfterIcon']"
|
177
|
+
[nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
|
178
|
+
[nzAddOnBefore]="props['addOnBefore']"
|
179
|
+
[nzAddOnAfter]="props['addOnAfter']"
|
180
|
+
[nzPrefix]="props['prefix']"
|
181
|
+
[nzCompact]="props['compact']!!"
|
182
|
+
[nzSearch]="props['search']!!"
|
183
|
+
[nzSize]="props['size']!"
|
184
|
+
[nzStatus]="props['status']!"
|
185
|
+
[nzSuffix]="passwordEyeTpl"
|
186
|
+
>
|
187
|
+
<input
|
188
|
+
[type]="passwordVisible ? 'text' : 'password'"
|
189
|
+
nz-input
|
190
|
+
[formControl]="formControl"
|
191
|
+
[formlyAttributes]="field"
|
192
|
+
[nzBorderless]="props['borderless']!!"
|
193
|
+
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
194
|
+
/>
|
195
|
+
</nz-input-group>
|
196
|
+
</ng-container>
|
197
|
+
|
198
|
+
<nz-input-group
|
199
|
+
*ngSwitchCase="'autoComplete'"
|
200
|
+
[nzSize]="props['size']"
|
201
|
+
[nzPrefixIcon]="props['prefixIcon']"
|
202
|
+
[nzSuffixIcon]="props['suffixIcon']"
|
203
|
+
[nzAddOnAfterIcon]="props['addOnAfterIcon']"
|
204
|
+
[nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
|
205
|
+
[nzAddOnBefore]="props['addOnBefore']"
|
206
|
+
[nzAddOnAfter]="props['addOnAfter']"
|
207
|
+
[nzPrefix]="props['prefix']"
|
208
|
+
[nzSuffix]="props['allowClear']!! ? inputClearTpl : props['suffix']"
|
209
|
+
>
|
210
|
+
<input
|
211
|
+
nz-input
|
212
|
+
[nzBorderless]="props['borderless']"
|
213
|
+
[nzAutocomplete]="auto"
|
214
|
+
[formControl]="formControl"
|
215
|
+
[formlyAttributes]="field"
|
216
|
+
/>
|
217
|
+
<nz-autocomplete
|
218
|
+
[nzBackfill]="props['autocompleteOptions']?.backfill"
|
219
|
+
[nzDefaultActiveFirstOption]="props['autocompleteOptions']?.defaultActiveFirstOption"
|
220
|
+
[nzWidth]="props['autocompleteOptions']?.width"
|
221
|
+
[nzOverlayClassName]="props['autocompleteOptions']?.overlayClassName"
|
222
|
+
[nzOverlayStyle]="props['autocompleteOptions']?.overlayStyle"
|
223
|
+
[compareWith]="props['autocompleteOptions']?.compareWith"
|
224
|
+
#auto
|
225
|
+
>
|
226
|
+
<nz-auto-option
|
227
|
+
*ngFor="let option of props['autocompleteOptions'].dataSource"
|
228
|
+
[nzLabel]="option.label"
|
229
|
+
[nzValue]="option.value"
|
230
|
+
>
|
231
|
+
{{ option.label }}
|
232
|
+
</nz-auto-option>
|
233
|
+
</nz-autocomplete>
|
234
|
+
</nz-input-group>
|
235
|
+
|
236
|
+
<nz-input-group
|
237
|
+
*ngSwitchCase="'group'"
|
238
|
+
[nzPrefixIcon]="props['prefixIcon']"
|
239
|
+
[nzSuffixIcon]="props['suffixIcon']"
|
240
|
+
[nzAddOnAfterIcon]="props['addOnAfterIcon']"
|
241
|
+
[nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
|
242
|
+
[nzAddOnBefore]="props['addOnBefore']"
|
243
|
+
[nzAddOnAfter]="props['addOnAfter']"
|
244
|
+
[nzPrefix]="props['prefix']"
|
245
|
+
[nzSuffix]="props['allowClear']!! ? inputClearTpl : props['suffix']"
|
246
|
+
[nzCompact]="props['compact']!!"
|
247
|
+
[nzSearch]="props['search']!!"
|
248
|
+
[nzSize]="props['size']!"
|
249
|
+
[nzStatus]="props['status']!"
|
250
|
+
>
|
251
|
+
<input
|
252
|
+
nz-input
|
253
|
+
type="text"
|
254
|
+
[ngClass]="props['className']!"
|
255
|
+
[formControl]="formControl"
|
256
|
+
[formlyAttributes]="field"
|
257
|
+
[nzBorderless]="!!props['borderless']!!"
|
258
|
+
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
259
|
+
/>
|
260
|
+
</nz-input-group>
|
261
|
+
|
262
|
+
<input
|
263
|
+
*ngSwitchDefault
|
264
|
+
nz-input
|
265
|
+
type="text"
|
266
|
+
[ngClass]="props['className']!"
|
267
|
+
[formControl]="formControl"
|
268
|
+
[formlyAttributes]="field"
|
269
|
+
[nzSize]="props['size']"
|
270
|
+
[nzStatus]="props['status']"
|
271
|
+
[nzBorderless]="props['borderless']!!"
|
272
|
+
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
273
|
+
/>
|
274
|
+
</ng-container>
|
275
|
+
|
276
|
+
<!-- 查看密码 -->
|
277
|
+
<ng-template #passwordEyeTpl>
|
278
|
+
<span
|
279
|
+
nz-icon
|
280
|
+
class="cursor-pointer"
|
281
|
+
[nzType]="passwordVisible ? 'eye-invisible' : 'eye'"
|
282
|
+
(click)="passwordVisible = !passwordVisible"
|
283
|
+
></span>
|
284
|
+
|
285
|
+
<span
|
286
|
+
nz-icon
|
287
|
+
class="ant-input-clear-icon"
|
288
|
+
nzTheme="fill"
|
289
|
+
nzType="close-circle"
|
290
|
+
*ngIf="formControl.value && props['allowClear']!!"
|
291
|
+
(click)="formControl.reset()"
|
292
|
+
></span>
|
293
|
+
</ng-template>
|
294
|
+
<!-- 清除数据 -->
|
295
|
+
<ng-template #inputClearTpl>
|
296
|
+
<span
|
297
|
+
nz-icon
|
298
|
+
class="ant-input-clear-icon"
|
299
|
+
nzTheme="fill"
|
300
|
+
nzType="close-circle"
|
301
|
+
*ngIf="formControl.value"
|
302
|
+
(click)="formControl.reset()"
|
303
|
+
></span>
|
304
|
+
</ng-template>
|
305
|
+
`,
|
306
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
307
|
+
}]
|
308
|
+
}] });
|
309
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQudHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvaW5wdXQvc3JjL2lucHV0LnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSx1QkFBdUIsRUFBUSxNQUFNLGVBQWUsQ0FBQztBQUN6RSxPQUFPLEVBQUUsU0FBUyxFQUFzQyxNQUFNLGtCQUFrQixDQUFDOzs7Ozs7OztBQXFKakYsTUFBTSxPQUFPLGdCQUFpQixTQUFRLFNBQTBCO0lBNUloRTs7UUE2SVcsbUJBQWMsR0FBRztZQUN4QixLQUFLLEVBQUU7Z0JBQ0wsVUFBVSxFQUFFLEtBQUs7Z0JBQ2pCLE9BQU8sRUFBRSxLQUFLO2dCQUNkLE1BQU0sRUFBRSxLQUFLO2dCQUN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uQWZ0ZXJdPVwicHJvcHNbJ2FkZE9uQWZ0ZXInXVwiXG4gICAgICAgICAgW256UHJlZml4XT1cInByb3BzWydwcmVmaXgnXVwiXG4gICAgICAgICAgW256Q29tcGFjdF09XCJwcm9wc1snY29tcGFjdCddISFcIlxuICAgICAgICAgIFtuelNlYXJjaF09XCJwcm9wc1snc2VhcmNoJ10hIVwiXG4gICAgICAgICAgW256U2l6ZV09XCJwcm9wc1snc2l6ZSddIVwiXG4gICAgICAgICAgW256U3RhdHVzXT1cInByb3BzWydzdGF0dXMnXSFcIlxuICAgICAgICAgIFtuelN1ZmZpeF09XCJwYXNzd29yZEV5ZVRwbFwiXG4gICAgICAgID5cbiAgICAgICAgICA8aW5wdXRcbiAgICAgICAgICAgIFt0eXBlXT1cInBhc3N3b3JkVmlzaWJsZSA/ICd0ZXh0JyA6ICdwYXNzd29yZCdcIlxuICAgICAgICAgICAgbnotaW5wdXRcbiAgICAgICAgICAgIFtmb3JtQ29udHJvbF09XCJmb3JtQ29udHJvbFwiXG4gICAgICAgICAgICBbZm9ybWx5QXR0cmlidXRlc109XCJmaWVsZFwiXG4gICAgICAgICAgICBbbnpCb3JkZXJsZXNzXT1cInByb3BzWydib3JkZXJsZXNzJ10hIVwiXG4gICAgICAgICAgICAobmdNb2RlbENoYW5nZSk9XCJwcm9wc1snbW9kZWxDaGFuZ2UnXSAmJiBwcm9wc1snbW9kZWxDaGFuZ2UnXShmaWVsZCwgJGV2ZW50KVwiXG4gICAgICAgICAgLz5cbiAgICAgICAgPC9uei1pbnB1dC1ncm91cD5cbiAgICAgIDwvbmctY29udGFpbmVyPlxuXG4gICAgICA8bnotaW5wdXQtZ3JvdXBcbiAgICAgICAgKm5nU3dpdGNoQ2FzZT1cIidhdXRvQ29tcGxldGUnXCJcbiAgICAgICAgW256U2l6ZV09XCJwcm9wc1snc2l6ZSddXCJcbiAgICAgICAgW256UHJlZml4SWNvbl09XCJwcm9wc1sncHJlZml4SWNvbiddXCJcbiAgICAgICAgW256U3VmZml4SWNvbl09XCJwcm9wc1snc3VmZml4SWNvbiddXCJcbiAgICAgICAgW256QWRkT25BZnRlckljb25dPVwicHJvcHNbJ2FkZE9uQWZ0ZXJJY29uJ11cIlxuICAgICAgICBbbnpBZGRPbkJlZm9yZUljb25dPVwicHJvcHNbJ2FkZE9uQmVmb3JlSWNvbiddXCJcbiAgICAgICAgW256QWRkT25CZWZvcmVdPVwicHJvcHNbJ2FkZE9uQmVmb3JlJ11cIlxuICAgICAgICBbbnpBZGRPbkFmdGVyXT1cInByb3BzWydhZGRPbkFmdGVyJ11cIlxuICAgICAgICBbbnpQcmVmaXhdPVwicHJvcHNbJ3ByZWZpeCddXCJcbiAgICAgICAgW256U3VmZml4XT1cInByb3BzWydhbGxvd0NsZWFyJ10hISA/IGlucHV0Q2xlYXJUcGwgOiBwcm9wc1snc3VmZml4J11cIlxuICAgICAgPlxuICAgICAgICA8aW5wdXRcbiAgICAgICAgICBuei1pbnB1dFxuICAgICAgICAgIFtuekJvcmRlcmxlc3NdPVwicHJvcHNbJ2JvcmRlcmxlc3MnXVwiXG4gICAgICAgICAgW256QXV0b2NvbXBsZXRlXT1cImF1dG9cIlxuICAgICAgICAgIFtmb3JtQ29udHJvbF09XCJmb3JtQ29udHJvbFwiXG4gICAgICAgICAgW2Zvcm1seUF0dHJpYnV0ZXNdPVwiZmllbGRcIlxuICAgICAgICAvPlxuICAgICAgICA8bnotYXV0b2NvbXBsZXRlXG4gICAgICAgICAgW256QmFja2ZpbGxdPVwicHJvcHNbJ2F1dG9jb21wbGV0ZU9wdGlvbnMnXT8uYmFja2ZpbGxcIlxuICAgICAgICAgIFtuekRlZmF1bHRBY3RpdmVGaXJzdE9wdGlvbl09XCJwcm9wc1snYXV0b2NvbXBsZXRlT3B0aW9ucyddPy5kZWZhdWx0QWN0aXZlRmlyc3RPcHRpb25cIlxuICAgICAgICAgIFtueldpZHRoXT1cInByb3BzWydhdXRvY29tcGxldGVPcHRpb25zJ10/LndpZHRoXCJcbiAgICAgICAgICBbbnpPdmVybGF5Q2xhc3NOYW1lXT1cInByb3BzWydhdXRvY29tcGxldGVPcHRpb25zJ10/Lm92ZXJsYXlDbGFzc05hbWVcIlxuICAgICAgICAgIFtuek92ZXJsYXlTdHlsZV09XCJwcm9wc1snYXV0b2NvbXBsZXRlT3B0aW9ucyddPy5vdmVybGF5U3R5bGVcIlxuICAgICAgICAgIFtjb21wYXJlV2l0aF09XCJwcm9wc1snYXV0b2NvbXBsZXRlT3B0aW9ucyddPy5jb21wYXJlV2l0aFwiXG4gICAgICAgICAgI2F1dG9cbiAgICAgICAgPlxuICAgICAgICAgIDxuei1hdXRvLW9wdGlvblxuICAgICAgICAgICAgKm5nRm9yPVwibGV0IG9wdGlvbiBvZiBwcm9wc1snYXV0b2NvbXBsZXRlT3B0aW9ucyddLmRhdGFTb3VyY2VcIlxuICAgICAgICAgICAgW256TGFiZWxdPVwib3B0aW9uLmxhYmVsXCJcbiAgICAgICAgICAgIFtuelZhbHVlXT1cIm9wdGlvbi52YWx1ZVwiXG4gICAgICAgICAgPlxuICAgICAgICAgICAge3sgb3B0aW9uLmxhYmVsIH19XG4gICAgICAgICAgPC9uei1hdXRvLW9wdGlvbj5cbiAgICAgICAgPC9uei1hdXRvY29tcGxldGU+XG4gICAgICA8L256LWlucHV0LWdyb3VwPlxuXG4gICAgICA8bnotaW5wdXQtZ3JvdXBcbiAgICAgICAgKm5nU3dpdGNoQ2FzZT1cIidncm91cCdcIlxuICAgICAgICBbbnpQcmVmaXhJY29uXT1cInByb3BzWydwcmVmaXhJY29uJ11cIlxuICAgICAgICBbbnpTdWZmaXhJY29uXT1cInByb3BzWydzdWZmaXhJY29uJ11cIlxuICAgICAgICBbbnpBZGRPbkFmdGVySWNvbl09XCJwcm9wc1snYWRkT25BZnRlckljb24nXVwiXG4gICAgICAgIFtuekFkZE9uQmVmb3JlSWNvbl09XCJwcm9wc1snYWRkT25CZWZvcmVJY29uJ11cIlxuICAgICAgICBbbnpBZGRPbkJlZm9yZV09XCJwcm9wc1snYWRkT25CZWZvcmUnXVwiXG4gICAgICAgIFtuekFkZE9uQWZ0ZXJdPVwicHJvcHNbJ2FkZE9uQWZ0ZXInXVwiXG4gICAgICAgIFtuelByZWZpeF09XCJwcm9wc1sncHJlZml4J11cIlxuICAgICAgICBbbnpTdWZmaXhdPVwicHJvcHNbJ2FsbG93Q2xlYXInXSEhID8gaW5wdXRDbGVhclRwbCA6IHByb3BzWydzdWZmaXgnXVwiXG4gICAgICAgIFtuekNvbXBhY3RdPVwicHJvcHNbJ2NvbXBhY3QnXSEhXCJcbiAgICAgICAgW256U2VhcmNoXT1cInByb3BzWydzZWFyY2gnXSEhXCJcbiAgICAgICAgW256U2l6ZV09XCJwcm9wc1snc2l6ZSddIVwiXG4gICAgICAgIFtuelN0YXR1c109XCJwcm9wc1snc3RhdHVzJ10hXCJcbiAgICAgID5cbiAgICAgICAgPGlucHV0XG4gICAgICAgICAgbnotaW5wdXRcbiAgICAgICAgICB0eXBlPVwidGV4dFwiXG4gICAgICAgICAgW25nQ2xhc3NdPVwicHJvcHNbJ2NsYXNzTmFtZSddIVwiXG4gICAgICAgICAgW2Zvcm1Db250cm9sXT1cImZvcm1Db250cm9sXCJcbiAgICAgICAgICBbZm9ybWx5QXR0cmlidXRlc109XCJmaWVsZFwiXG4gICAgICAgICAgW256Qm9yZGVybGVzc109XCIhIXByb3BzWydib3JkZXJsZXNzJ10hIVwiXG4gICAgICAgICAgKG5nTW9kZWxDaGFuZ2UpPVwicHJvcHNbJ21vZGVsQ2hhbmdlJ10gJiYgcHJvcHNbJ21vZGVsQ2hhbmdlJ10oZmllbGQsICRldmVudClcIlxuICAgICAgICAvPlxuICAgICAgPC9uei1pbnB1dC1ncm91cD5cblxuICAgICAgPGlucHV0XG4gICAgICAgICpuZ1N3aXRjaERlZmF1bHRcbiAgICAgICAgbnotaW5wdXRcbiAgICAgICAgdHlwZT1cInRleHRcIlxuICAgICAgICBbbmdDbGFzc109XCJwcm9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