ngx-formly-zorro-antd 13.0.0 → 14.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/autocomplete/{ngx-formly-zorro-antd-autocomplete.d.ts → index.d.ts} +0 -0
- package/button/button.type.d.ts +1 -1
- package/button/{ngx-formly-zorro-antd-button.d.ts → index.d.ts} +0 -0
- package/card/card.wrapper.d.ts +1 -1
- package/card/{ngx-formly-zorro-antd-card.d.ts → index.d.ts} +0 -0
- package/cascader/cascader.type.d.ts +1 -1
- package/cascader/{ngx-formly-zorro-antd-cascader.d.ts → index.d.ts} +0 -0
- package/checkbox/checkbox.type.d.ts +1 -1
- package/checkbox/{ngx-formly-zorro-antd-checkbox.d.ts → index.d.ts} +0 -0
- package/datepicker/datepicker.type.d.ts +1 -1
- package/datepicker/{ngx-formly-zorro-antd-datepicker.d.ts → index.d.ts} +0 -0
- package/esm2020/button/button.module.mjs +23 -25
- package/esm2020/button/button.type.mjs +9 -9
- package/esm2020/card/card.module.mjs +15 -17
- package/esm2020/card/card.wrapper.mjs +5 -5
- package/esm2020/cascader/cascader.module.mjs +17 -19
- package/esm2020/cascader/cascader.type.mjs +8 -8
- package/esm2020/checkbox/checkbox.module.mjs +21 -23
- package/esm2020/checkbox/checkbox.type.mjs +8 -8
- package/esm2020/datepicker/datepicker.module.mjs +17 -19
- package/esm2020/datepicker/datepicker.type.mjs +8 -8
- package/esm2020/form-field/form-field.module.mjs +15 -17
- package/esm2020/form-field/form-field.wrapper.mjs +9 -9
- package/esm2020/grid/grid.module.mjs +14 -16
- package/esm2020/grid/grid.type.mjs +7 -7
- package/esm2020/input/input.module.mjs +31 -33
- package/esm2020/input/input.type.mjs +81 -35
- package/esm2020/input-group/input-group.module.mjs +16 -18
- package/esm2020/input-group/input-group.type.mjs +8 -8
- package/esm2020/input-number/input-number.module.mjs +21 -23
- package/esm2020/input-number/input-number.type.mjs +8 -8
- package/esm2020/lib/ui-ng-zorro-antd.module.mjs +25 -27
- package/esm2020/radio/radio.module.mjs +19 -21
- package/esm2020/radio/radio.type.mjs +8 -8
- package/esm2020/rate/rate.module.mjs +17 -19
- package/esm2020/rate/rate.type.mjs +7 -7
- package/esm2020/select/select.module.mjs +19 -21
- package/esm2020/select/select.type.mjs +8 -8
- package/esm2020/slider/slider.module.mjs +17 -19
- package/esm2020/slider/slider.type.mjs +7 -7
- package/esm2020/switch/switch.module.mjs +17 -19
- package/esm2020/switch/switch.type.mjs +7 -7
- package/esm2020/tabs/tabs.module.mjs +14 -16
- package/esm2020/tabs/tabs.wrapper.mjs +8 -8
- package/esm2020/textarea/textarea.module.mjs +17 -19
- package/esm2020/textarea/textarea.type.mjs +8 -8
- package/esm2020/timepicker/timepicker.module.mjs +17 -19
- package/esm2020/timepicker/timepicker.type.mjs +8 -8
- package/esm2020/transfer/transfer.component.mjs +5 -5
- package/esm2020/transfer/transfer.module.mjs +17 -19
- package/esm2020/transfer/transfer.type.mjs +8 -8
- package/esm2020/tree-select/tree-select.module.mjs +17 -19
- package/esm2020/tree-select/tree-select.type.mjs +8 -8
- package/esm2020/upload/upload.component.mjs +10 -10
- package/esm2020/upload/upload.module.mjs +19 -21
- package/esm2020/upload/upload.type.mjs +8 -8
- package/fesm2015/ngx-formly-zorro-antd-button.mjs +31 -33
- package/fesm2015/ngx-formly-zorro-antd-button.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-card.mjs +18 -20
- package/fesm2015/ngx-formly-zorro-antd-card.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-cascader.mjs +24 -26
- package/fesm2015/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs +27 -29
- package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs +23 -25
- package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-form-field.mjs +23 -25
- package/fesm2015/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-grid.mjs +20 -22
- package/fesm2015/ngx-formly-zorro-antd-grid.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-input-group.mjs +23 -25
- package/fesm2015/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-input-number.mjs +27 -29
- package/fesm2015/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-input.mjs +111 -67
- package/fesm2015/ngx-formly-zorro-antd-input.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-radio.mjs +26 -28
- package/fesm2015/ngx-formly-zorro-antd-radio.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-rate.mjs +22 -24
- package/fesm2015/ngx-formly-zorro-antd-rate.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-select.mjs +26 -28
- package/fesm2015/ngx-formly-zorro-antd-select.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-slider.mjs +22 -24
- package/fesm2015/ngx-formly-zorro-antd-slider.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-switch.mjs +22 -24
- package/fesm2015/ngx-formly-zorro-antd-switch.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-tabs.mjs +21 -23
- package/fesm2015/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-textarea.mjs +23 -25
- package/fesm2015/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs +24 -26
- package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-transfer.mjs +27 -29
- package/fesm2015/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs +24 -26
- package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-upload.mjs +34 -36
- package/fesm2015/ngx-formly-zorro-antd-upload.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd.mjs +24 -26
- package/fesm2015/ngx-formly-zorro-antd.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-button.mjs +31 -33
- package/fesm2020/ngx-formly-zorro-antd-button.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-card.mjs +18 -20
- package/fesm2020/ngx-formly-zorro-antd-card.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-cascader.mjs +24 -26
- package/fesm2020/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs +27 -29
- package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs +23 -25
- package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-form-field.mjs +23 -25
- package/fesm2020/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-grid.mjs +20 -22
- package/fesm2020/ngx-formly-zorro-antd-grid.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-input-group.mjs +23 -25
- package/fesm2020/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-input-number.mjs +27 -29
- package/fesm2020/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-input.mjs +111 -67
- package/fesm2020/ngx-formly-zorro-antd-input.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-radio.mjs +26 -28
- package/fesm2020/ngx-formly-zorro-antd-radio.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-rate.mjs +22 -24
- package/fesm2020/ngx-formly-zorro-antd-rate.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-select.mjs +26 -28
- package/fesm2020/ngx-formly-zorro-antd-select.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-slider.mjs +22 -24
- package/fesm2020/ngx-formly-zorro-antd-slider.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-switch.mjs +22 -24
- package/fesm2020/ngx-formly-zorro-antd-switch.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-tabs.mjs +21 -23
- package/fesm2020/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-textarea.mjs +23 -25
- package/fesm2020/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs +24 -26
- package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-transfer.mjs +27 -29
- package/fesm2020/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs +24 -26
- package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-upload.mjs +34 -36
- package/fesm2020/ngx-formly-zorro-antd-upload.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd.mjs +24 -26
- package/fesm2020/ngx-formly-zorro-antd.mjs.map +1 -1
- package/form-field/form-field.wrapper.d.ts +1 -1
- package/form-field/{ngx-formly-zorro-antd-form-field.d.ts → index.d.ts} +0 -0
- package/grid/grid.type.d.ts +1 -1
- package/grid/{ngx-formly-zorro-antd-grid.d.ts → index.d.ts} +0 -0
- package/input/{ngx-formly-zorro-antd-input.d.ts → index.d.ts} +0 -0
- package/input/input.type.d.ts +1 -1
- package/input-group/{ngx-formly-zorro-antd-input-group.d.ts → index.d.ts} +0 -0
- package/input-group/input-group.type.d.ts +1 -1
- package/input-number/{ngx-formly-zorro-antd-input-number.d.ts → index.d.ts} +0 -0
- package/input-number/input-number.type.d.ts +1 -1
- package/package.json +30 -30
- package/radio/{ngx-formly-zorro-antd-radio.d.ts → index.d.ts} +0 -0
- package/radio/radio.type.d.ts +1 -1
- package/rate/{ngx-formly-zorro-antd-rate.d.ts → index.d.ts} +0 -0
- package/rate/rate.type.d.ts +1 -1
- package/select/{ngx-formly-zorro-antd-select.d.ts → index.d.ts} +0 -0
- package/select/select.type.d.ts +1 -1
- package/slider/{ngx-formly-zorro-antd-slider.d.ts → index.d.ts} +0 -0
- package/slider/slider.type.d.ts +1 -1
- package/switch/{ngx-formly-zorro-antd-switch.d.ts → index.d.ts} +0 -0
- package/switch/switch.type.d.ts +1 -1
- package/tabs/{ngx-formly-zorro-antd-tabs.d.ts → index.d.ts} +0 -0
- package/tabs/tabs.wrapper.d.ts +1 -1
- package/textarea/{ngx-formly-zorro-antd-textarea.d.ts → index.d.ts} +0 -0
- package/textarea/textarea.type.d.ts +1 -1
- package/timepicker/{ngx-formly-zorro-antd-timepicker.d.ts → index.d.ts} +0 -0
- package/timepicker/timepicker.type.d.ts +1 -1
- package/transfer/{ngx-formly-zorro-antd-transfer.d.ts → index.d.ts} +0 -0
- package/transfer/transfer.component.d.ts +1 -1
- package/transfer/transfer.type.d.ts +1 -1
- package/tree-select/{ngx-formly-zorro-antd-tree-select.d.ts → index.d.ts} +0 -0
- package/tree-select/tree-select.type.d.ts +1 -1
- package/upload/{ngx-formly-zorro-antd-upload.d.ts → index.d.ts} +0 -0
- package/upload/upload.component.d.ts +1 -1
- package/upload/upload.type.d.ts +1 -1
- package/autocomplete/package.json +0 -10
- package/button/package.json +0 -10
- package/card/package.json +0 -10
- package/cascader/package.json +0 -10
- package/checkbox/package.json +0 -10
- package/datepicker/package.json +0 -10
- package/form-field/package.json +0 -10
- package/grid/package.json +0 -10
- package/input/package.json +0 -10
- package/input-group/package.json +0 -10
- package/input-number/package.json +0 -10
- package/ngx-formly-zorro-antd.d.ts +0 -5
- package/radio/package.json +0 -10
- package/rate/package.json +0 -10
- package/select/package.json +0 -10
- package/slider/package.json +0 -10
- package/switch/package.json +0 -10
- package/tabs/package.json +0 -10
- package/textarea/package.json +0 -10
- package/timepicker/package.json +0 -10
- package/transfer/package.json +0 -10
- package/tree-select/package.json +0 -10
- package/upload/package.json +0 -10
@@ -1,12 +1,12 @@
|
|
1
1
|
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
2
2
|
import { FieldType } from '@ngx-formly/core';
|
3
3
|
import * as i0 from "@angular/core";
|
4
|
-
import * as i1 from "
|
5
|
-
import * as i2 from "
|
6
|
-
import * as i3 from "
|
7
|
-
import * as i4 from "
|
8
|
-
import * as i5 from "
|
9
|
-
import * as i6 from "
|
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
10
|
export class FormlyFieldInput extends FieldType {
|
11
11
|
constructor() {
|
12
12
|
super(...arguments);
|
@@ -26,8 +26,8 @@ export class FormlyFieldInput extends FieldType {
|
|
26
26
|
this.passwordVisible = false;
|
27
27
|
}
|
28
28
|
}
|
29
|
-
FormlyFieldInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
30
|
-
FormlyFieldInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
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
31
|
<ng-container [ngSwitch]="props.type">
|
32
32
|
<ng-container *ngSwitchCase="'password'">
|
33
33
|
<nz-input-group
|
@@ -42,7 +42,7 @@ FormlyFieldInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
42
42
|
[nzSearch]="props['search']!!"
|
43
43
|
[nzSize]="props['size']!"
|
44
44
|
[nzStatus]="props['status']!"
|
45
|
-
[nzSuffix]="
|
45
|
+
[nzSuffix]="passwordEyeTpl"
|
46
46
|
>
|
47
47
|
<input
|
48
48
|
[type]="passwordVisible ? 'text' : 'password'"
|
@@ -53,15 +53,6 @@ FormlyFieldInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
53
53
|
(ngModelChange)="props.change && props.change(field, $event)"
|
54
54
|
/>
|
55
55
|
</nz-input-group>
|
56
|
-
|
57
|
-
<ng-template #suffixpassword>
|
58
|
-
<span
|
59
|
-
nz-icon
|
60
|
-
class="cursor-pointer"
|
61
|
-
[nzType]="passwordVisible ? 'eye-invisible' : 'eye'"
|
62
|
-
(click)="passwordVisible = !passwordVisible"
|
63
|
-
></span>
|
64
|
-
</ng-template>
|
65
56
|
</ng-container>
|
66
57
|
|
67
58
|
<nz-input-group
|
@@ -74,7 +65,7 @@ FormlyFieldInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
74
65
|
[nzAddOnBefore]="props['addOnBefore']"
|
75
66
|
[nzAddOnAfter]="props['addOnAfter']"
|
76
67
|
[nzPrefix]="props['prefix']"
|
77
|
-
[nzSuffix]="props['suffix']"
|
68
|
+
[nzSuffix]="props['allowClear']!! ? inputClearTpl : props['suffix']"
|
78
69
|
>
|
79
70
|
<input
|
80
71
|
nz-input
|
@@ -111,7 +102,7 @@ FormlyFieldInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
111
102
|
[nzAddOnBefore]="props['addOnBefore']"
|
112
103
|
[nzAddOnAfter]="props['addOnAfter']"
|
113
104
|
[nzPrefix]="props['prefix']"
|
114
|
-
[nzSuffix]="props['suffix']"
|
105
|
+
[nzSuffix]="props['allowClear']!! ? inputClearTpl : props['suffix']"
|
115
106
|
[nzCompact]="props['compact']!!"
|
116
107
|
[nzSearch]="props['search']!!"
|
117
108
|
[nzSize]="props['size']!"
|
@@ -120,6 +111,7 @@ FormlyFieldInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
120
111
|
<input
|
121
112
|
nz-input
|
122
113
|
type="text"
|
114
|
+
[ngClass]="props['className']!"
|
123
115
|
[formControl]="formControl"
|
124
116
|
[formlyAttributes]="field"
|
125
117
|
[nzBorderless]="!!props['borderless']!!"
|
@@ -131,6 +123,7 @@ FormlyFieldInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
131
123
|
*ngSwitchDefault
|
132
124
|
nz-input
|
133
125
|
type="text"
|
126
|
+
[ngClass]="props['className']!"
|
134
127
|
[formControl]="formControl"
|
135
128
|
[formlyAttributes]="field"
|
136
129
|
[nzSize]="props['size']"
|
@@ -139,8 +132,38 @@ FormlyFieldInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
139
132
|
(ngModelChange)="props.change && props.change(field, $event)"
|
140
133
|
/>
|
141
134
|
</ng-container>
|
142
|
-
|
143
|
-
|
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: [{
|
144
167
|
type: Component,
|
145
168
|
args: [{
|
146
169
|
selector: 'formly-field-input',
|
@@ -159,7 +182,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
159
182
|
[nzSearch]="props['search']!!"
|
160
183
|
[nzSize]="props['size']!"
|
161
184
|
[nzStatus]="props['status']!"
|
162
|
-
[nzSuffix]="
|
185
|
+
[nzSuffix]="passwordEyeTpl"
|
163
186
|
>
|
164
187
|
<input
|
165
188
|
[type]="passwordVisible ? 'text' : 'password'"
|
@@ -170,15 +193,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
170
193
|
(ngModelChange)="props.change && props.change(field, $event)"
|
171
194
|
/>
|
172
195
|
</nz-input-group>
|
173
|
-
|
174
|
-
<ng-template #suffixpassword>
|
175
|
-
<span
|
176
|
-
nz-icon
|
177
|
-
class="cursor-pointer"
|
178
|
-
[nzType]="passwordVisible ? 'eye-invisible' : 'eye'"
|
179
|
-
(click)="passwordVisible = !passwordVisible"
|
180
|
-
></span>
|
181
|
-
</ng-template>
|
182
196
|
</ng-container>
|
183
197
|
|
184
198
|
<nz-input-group
|
@@ -191,7 +205,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
191
205
|
[nzAddOnBefore]="props['addOnBefore']"
|
192
206
|
[nzAddOnAfter]="props['addOnAfter']"
|
193
207
|
[nzPrefix]="props['prefix']"
|
194
|
-
[nzSuffix]="props['suffix']"
|
208
|
+
[nzSuffix]="props['allowClear']!! ? inputClearTpl : props['suffix']"
|
195
209
|
>
|
196
210
|
<input
|
197
211
|
nz-input
|
@@ -228,7 +242,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
228
242
|
[nzAddOnBefore]="props['addOnBefore']"
|
229
243
|
[nzAddOnAfter]="props['addOnAfter']"
|
230
244
|
[nzPrefix]="props['prefix']"
|
231
|
-
[nzSuffix]="props['suffix']"
|
245
|
+
[nzSuffix]="props['allowClear']!! ? inputClearTpl : props['suffix']"
|
232
246
|
[nzCompact]="props['compact']!!"
|
233
247
|
[nzSearch]="props['search']!!"
|
234
248
|
[nzSize]="props['size']!"
|
@@ -237,6 +251,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
237
251
|
<input
|
238
252
|
nz-input
|
239
253
|
type="text"
|
254
|
+
[ngClass]="props['className']!"
|
240
255
|
[formControl]="formControl"
|
241
256
|
[formlyAttributes]="field"
|
242
257
|
[nzBorderless]="!!props['borderless']!!"
|
@@ -248,6 +263,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
248
263
|
*ngSwitchDefault
|
249
264
|
nz-input
|
250
265
|
type="text"
|
266
|
+
[ngClass]="props['className']!"
|
251
267
|
[formControl]="formControl"
|
252
268
|
[formlyAttributes]="field"
|
253
269
|
[nzSize]="props['size']"
|
@@ -256,8 +272,38 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
256
272
|
(ngModelChange)="props.change && props.change(field, $event)"
|
257
273
|
/>
|
258
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>
|
259
305
|
`,
|
260
306
|
changeDetection: ChangeDetectionStrategy.OnPush
|
261
307
|
}]
|
262
308
|
}] });
|
263
|
-
//# sourceMappingURL=data:application/json;base64,
|
309
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIj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h0JyA6ICdwYXNzd29yZCdcIlxyXG4gICAgICAgICAgICBuei1pbnB1dFxyXG4gICAgICAgICAgICBbZm9ybUNvbnRyb2xdPVwiZm9ybUNvbnRyb2xcIlxyXG4gICAgICAgICAgICBbZm9ybWx5QXR0cmlidXRlc109XCJmaWVsZFwiXHJcbiAgICAgICAgICAgIFtuekJvcmRlcmxlc3NdPVwicHJvcHNbJ2JvcmRlcmxlc3MnXSEhXCJcclxuICAgICAgICAgICAgKG5nTW9kZWxDaGFuZ2UpPVwicHJvcHMuY2hhbmdlICYmIHByb3BzLmNoYW5nZShmaWVsZCwgJGV2ZW50KVwiXHJcbiAgICAgICAgICAvPlxyXG4gICAgICAgIDwvbnotaW5wdXQtZ3JvdXA+XHJcbiAgICAgIDwvbmctY29udGFpbmVyPlxyXG5cclxuICAgICAgPG56LWlucHV0LWdyb3VwXHJcbiAgICAgICAgKm5nU3dpdGNoQ2FzZT1cIidhdXRvQ29tcGxldGUnXCJcclxuICAgICAgICBbbnpTaXplXT1cInByb3BzWydzaXplJ11cIlxyXG4gICAgICAgIFtuelByZWZpeEljb25dPVwicHJvcHNbJ3ByZWZpeEljb24nXVwiXHJcbiAgICAgICAgW256U3VmZml4SWNvbl09XCJwcm9wc1snc3VmZml4SWNvbiddXCJcclxuICAgICAgICBbbnpBZGRPbkFmdGVySWNvbl09XCJwcm9wc1snYWRkT25BZnRlckljb24nXVwiXHJcbiAgICAgICAgW256QWRkT25CZWZvcmVJY29uXT1cInByb3BzWydhZGRPbkJlZm9yZUljb24nXVwiXHJcbiAgICAgICAgW256QWRkT25CZWZvcmVdPVwicHJvcHNbJ2FkZE9uQmVmb3JlJ11cIlxyXG4gICAgICAgIFtuekFkZE9uQWZ0ZXJdPVwicHJvcHNbJ2FkZE9uQWZ0ZXInXVwiXHJcbiAgICAgICAgW256UHJlZml4XT1cInByb3BzWydwcmVmaXgnXVwiXHJcbiAgICAgICAgW256U3VmZml4XT1cInByb3BzWydhbGxvd0NsZWFyJ10hISA/IGlucHV0Q2xlYXJUcGwgOiBwcm9wc1snc3VmZml4J11cIlxyXG4gICAgICA+XHJcbiAgICAgICAgPGlucHV0XHJcbiAgICAgICAgICBuei1pbnB1dFxyXG4gICAgICAgICAgW256Qm9yZGVybGVzc109XCJwcm9wc1snYm9yZGVybGVzcyddXCJcclxuICAgICAgICAgIFtuekF1dG9jb21wbGV0ZV09XCJhdXRvXCJcclxuICAgICAgICAgIFtmb3JtQ29udHJvbF09XCJmb3JtQ29udHJvbFwiXHJcbiAgICAgICAgICBbZm9ybWx5QXR0cmlidXRlc109XCJmaWVsZFwiXHJcbiAgICAgICAgLz5cclxuICAgICAgICA8bnotYXV0b2NvbXBsZXRlXHJcbiAgICAgICAgICBbbnpCYWNrZmlsbF09XCJwcm9wc1snYXV0b2NvbXBsZXRlT3B0aW9ucyddPy5iYWNrZmlsbFwiXHJcbiAgICAgICAgICBbbnpEZWZhdWx0QWN0aXZlRmlyc3RPcHRpb25dPVwicHJvcHNbJ2F1dG9jb21wbGV0ZU9wdGlvbnMnXT8uZGVmYXVsdEFjdGl2ZUZpcnN0T3B0aW9uXCJcclxuICAgICAgICAgIFtueldpZHRoXT1cInByb3BzWydhdXRvY29tcGxldGVPcHRpb25zJ10/LndpZHRoXCJcclxuICAgICAgICAgIFtuek92ZXJsYXlDbGFzc05hbWVdPVwicHJvcHNbJ2F1dG9jb21wbGV0ZU9wdGlvbnMnXT8ub3ZlcmxheUNsYXNzTmFtZVwiXHJcbiAgICAgICAgICBbbnpPdmVybGF5U3R5bGVdPVwicHJvcHNbJ2F1dG9jb21wbGV0ZU9wdGlvbnMnXT8ub3ZlcmxheVN0eWxlXCJcclxuICAgICAgICAgIFtjb21wYXJlV2l0aF09XCJwcm9wc1snYXV0b2NvbXBsZXRlT3B0aW9ucyddPy5jb21wYXJlV2l0aFwiXHJcbiAgICAgICAgICAjYXV0b1xyXG4gICAgICAgID5cclxuICAgICAgICAgIDxuei1hdXRvLW9wdGlvblxyXG4gICAgICAgICAgICAqbmdGb3I9XCJsZXQgb3B0aW9uIG9mIHByb3BzWydhdXRvY29tcGxldGVPcHRpb25zJ10uZGF0YVNvdXJjZVwiXHJcbiAgICAgICAgICAgIFtuekxhYmVsXT1cIm9wdGlvbi5sYWJlbFwiXHJcbiAgICAgICAgICAgIFtuelZhbHVlXT1cIm9wdGlvbi52YWx1ZVwiXHJcbiAgICAgICAgICA+XHJcbiAgICAgICAgICAgIHt7IG9wdGlvbi5sYWJlbCB9fVxyXG4gICAgICAgICAgPC9uei1hdXRvLW9wdGlvbj5cclxuICAgICAgICA8L256LWF1dG9jb21wbGV0ZT5cclxuICAgICAgPC9uei1pbnB1dC1ncm91cD5cclxuXHJcbiAgICAgIDxuei1pbnB1dC1ncm91cFxyXG4gICAgICAgICpuZ1N3aXRjaENhc2U9XCInZ3JvdXAnXCJcclxuICAgICAgICBbbnpQcmVmaXhJY29uXT1cInByb3BzWydwcmVmaXhJY29uJ11cIlxyXG4gICAgICAgIFtuelN1ZmZpeEljb25dPVwicHJvcHNbJ3N1ZmZpeEljb24nXVwiXHJcbiAgICAgICAgW256QWRkT25BZnRlckljb25dPVwicHJvcHNbJ2FkZE9uQWZ0ZXJJY29uJ11cIlxyXG4gICAgICAgIFtuekFkZE9uQmVmb3JlSWNvbl09XCJwcm9wc1snYWRkT25CZWZvcmVJY29uJ11cIlxyXG4gICAgICAgIFtuekFkZE9uQmVmb3JlXT1cInByb3BzWydhZGRPbkJlZm9yZSddXCJcclxuICAgICAgICBbbnpBZGRPbkFmdGVyXT1cInByb3BzWydhZGRPbkFmdGVyJ11cIlxyXG4gICAgICAgIFtuelByZWZpeF09XCJwcm9wc1sncHJlZml4J11cIlxyXG4gICAgICAgIFtuelN1ZmZpeF09XCJwcm9wc1snYWxsb3dDbGVhciddISEgPyBpbnB1dENsZWFyVHBsIDogcHJvcHNbJ3N1ZmZpeCddXCJcclxuICAgICAgICBbbnpDb21wYWN0XT1cInByb3BzWydjb21wYWN0J10hIVwiXHJcbiAgICAgICAgW256U2VhcmNoXT1cInByb3BzWydzZWFyY2gnXSEhXCJcclxuICAgICAgICBbbnpTaXplXT1cInByb3BzWydzaXplJ10hXCJcclxuICAgICAgICBbbnpTdGF0dXNdPVwicHJvcHNbJ3N0YXR1cyddIVwiXHJcbiAgICAgID5cclxuICAgICAgICA8aW5wdXRcclxuICAgICAgICAgIG56LWlucHV0XHJcbiAgICAgICAgICB0eXBlPVwidGV4dFwiXHJcbiAgICAgICAgICBbbmdDbGFzc109XCJwcm9wc1snY2xhc3NOYW1lJ10hXCJcclxuICAgICAgICAgIFtmb3JtQ29udHJvbF09XCJmb3JtQ29udHJvbFwiXHJcbiAgICAgICAgICBbZm9ybWx5QXR0cmlidXRlc109XCJmaWVsZFwiXHJcbiAgICAgICAgICBbbnpCb3JkZXJsZXNzXT1cIiEhcHJvcHNbJ2JvcmRlcmxlc3MnXSEhXCJcclxuICAgICAgICAgIChuZ01vZGVsQ2hhbmdlKT1cInByb3BzLmNoYW5nZSAmJiBwcm9wcy5jaGFuZ2UoZmllbGQsICRldmVudClcIlxyXG4gICAgICAgIC8+XHJcbiAgICAgIDwvbnotaW5wdXQtZ3JvdXA+XHJcblxyXG4gICAgICA8aW5wdXRcclxuICAgICAgICAqbmdTd2l0Y2hEZWZhdWx0XHJcbiAgICAgICAgbnotaW5wdXRcclxuICAgICAgICB0eXBlPVwidGV4dFwiXHJcbiAgICAgICAgW25nQ2xhc3NdPVwicHJvcHNbJ2NsYXNzTmFtZSddIVwiXHJcbiAgICAgICAgW2Zvcm1Db250cm9sXT1cImZvcm1Db250cm9sXCJcclxuICAgICAgICBbZm9ybWx5QXR0cmlidXRlc109XCJmaWVsZFwiXHJcbiAgICAgICAgW256U2l6ZV09XCJwcm9wc1snc2l6ZSddXCJcclxuICAgICAgICBbbnpTdGF0dXNdPVwicHJvcHNbJ3N0YXR1cyddXCJcclxuICAgICAgICBbbnpCb3JkZXJsZXNzXT1cInByb3BzWydib3JkZXJsZXNzJ10hIVwiXHJ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56VGhlbWU9XCJmaWxsXCJcclxuICAgICAgICBuelR5cGU9XCJjbG9zZS1jaXJjbGVcIlxyXG4gICAgICAgICpuZ0lmPVwiZm9ybUNvbnRyb2wudmFsdWVcIlxyXG4gICAgICAgIChjbGljayk9XCJmb3JtQ29udHJvbC5yZXNldCgpXCJcclxuICAgICAgPjwvc3Bhbj5cclxuICAgIDwvbmctdGVtcGxhdGU+XHJcbiAgYCxcclxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaFxyXG59KVxyXG5leHBvcnQgY2xhc3MgRm9ybWx5RmllbGRJbnB1dCBleHRlbmRzIEZpZWxkVHlwZTxGaWVsZFR5cGVDb25maWc+IHtcclxuICBvdmVycmlkZSBkZWZhdWx0T3B0aW9ucyA9IHtcclxuICAgIHByb3BzOiB7XHJcbiAgICAgIGJvcmRlcmxlc3M6IGZhbHNlLFxyXG4gICAgICBjb21wYWN0OiBmYWxzZSxcclxuICAgICAgc2VhcmNoOiBmYWxzZSxcclxuICAgICAgYWxsb3dDbGVhcjogZmFsc2UsXHJcbiAgICAgIGF1dG9jb21wbGV0ZU9wdGlvbnM6IHtcclxuICAgICAgICBiYWNrZmlsbDogZmFsc2UsXHJcbiAgICAgICAgZGVmYXVsdEFjdGl2ZUZpcnN0T3B0aW9uOiB0cnVlLFxyXG4gICAgICAgIGNvbXBhcmVXaXRoOiAobzE6IE56U2FmZUFueSwgbzI6IE56U2FmZUFueSkgPT4gbzEgPT09IG8yXHJcbiAgICAgIH1cclxuICAgIH1cclxuICB9O1xyXG4gIHBhc3N3b3JkVmlzaWJsZSA9IGZhbHNlO1xyXG59XHJcbiJdfQ==
|
@@ -8,25 +8,23 @@ import * as i0 from "@angular/core";
|
|
8
8
|
import * as i1 from "@ngx-formly/core";
|
9
9
|
export class FormlyNzInputGroupModule {
|
10
10
|
}
|
11
|
-
FormlyNzInputGroupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
12
|
-
FormlyNzInputGroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
11
|
+
FormlyNzInputGroupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzInputGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
12
|
+
FormlyNzInputGroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzInputGroupModule, declarations: [FormlyFieldInputGroup], imports: [CommonModule,
|
13
13
|
NzInputModule,
|
14
14
|
FormlyNzFormFieldModule, i1.FormlyModule] });
|
15
|
-
FormlyNzInputGroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
]] });
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzInputGroupModule, decorators: [{
|
15
|
+
FormlyNzInputGroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzInputGroupModule, imports: [CommonModule,
|
16
|
+
NzInputModule,
|
17
|
+
FormlyNzFormFieldModule,
|
18
|
+
FormlyModule.forChild({
|
19
|
+
types: [
|
20
|
+
{
|
21
|
+
name: 'input-group',
|
22
|
+
component: FormlyFieldInputGroup,
|
23
|
+
wrappers: ['form-field']
|
24
|
+
}
|
25
|
+
]
|
26
|
+
})] });
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzInputGroupModule, decorators: [{
|
30
28
|
type: NgModule,
|
31
29
|
args: [{
|
32
30
|
declarations: [FormlyFieldInputGroup],
|
@@ -46,4 +44,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
46
44
|
]
|
47
45
|
}]
|
48
46
|
}] });
|
49
|
-
//# sourceMappingURL=data:application/json;base64,
|
47
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtZ3JvdXAubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC9pbnB1dC1ncm91cC9zcmMvaW5wdXQtZ3JvdXAubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUNoRCxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQztBQUUzRSxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUMzRCxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0scUJBQXFCLENBQUM7OztBQW9CcEQsTUFBTSxPQUFPLHdCQUF3Qjs7cUhBQXhCLHdCQUF3QjtzSEFBeEIsd0JBQXdCLGlCQWpCcEIscUJBQXFCLGFBRWxDLFlBQVk7UUFDWixhQUFhO1FBRWIsdUJBQXVCO3NIQVlkLHdCQUF3QixZQWZqQyxZQUFZO1FBQ1osYUFBYTtRQUViLHVCQUF1QjtRQUN2QixZQUFZLENBQUMsUUFBUSxDQUFDO1lBQ3BCLEtBQUssRUFBRTtnQkFDTDtvQkFDRSxJQUFJLEVBQUUsYUFBYTtvQkFDbkIsU0FBUyxFQUFFLHFCQU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W9kdWxlLFxyXG4gICAgTnpJbnB1dE1vZHVsZSxcclxuXHJcbiAgICBGb3JtbHlOekZvcm1GaWVsZE1vZHVsZSxcclxuICAgIEZvcm1seU1vZHVsZS5mb3JDaGlsZCh7XHJcbiAgICAgIHR5cGVzOiBbXHJcbiAgICAgICAge1xyXG4gICAgICAgICAgbmFtZTogJ2lucHV0LWdyb3VwJyxcclxuICAgICAgICAgIGNvbXBvbmVudDogRm9ybWx5RmllbGRJbnB1dEdyb3VwLFxyXG4gICAgICAgICAgd3JhcHBlcnM6IFsnZm9ybS1maWVsZCddXHJcbiAgICAgICAgfVxyXG4gICAgICBdXHJcbiAgICB9KVxyXG4gIF1cclxufSlcclxuZXhwb3J0IGNsYXNzIEZvcm1seU56SW5wdXRHcm91cE1vZHVsZSB7fVxyXG4iXX0=
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
2
2
|
import { FieldType } from '@ngx-formly/core';
|
3
3
|
import * as i0 from "@angular/core";
|
4
|
-
import * as i1 from "
|
5
|
-
import * as i2 from "
|
6
|
-
import * as i3 from "@
|
4
|
+
import * as i1 from "@angular/common";
|
5
|
+
import * as i2 from "ng-zorro-antd/input";
|
6
|
+
import * as i3 from "@ngx-formly/core";
|
7
7
|
export class FormlyFieldInputGroup extends FieldType {
|
8
8
|
constructor() {
|
9
9
|
super(...arguments);
|
@@ -24,8 +24,8 @@ export class FormlyFieldInputGroup extends FieldType {
|
|
24
24
|
return envent.id;
|
25
25
|
}
|
26
26
|
}
|
27
|
-
FormlyFieldInputGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
28
|
-
FormlyFieldInputGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
27
|
+
FormlyFieldInputGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldInputGroup, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
28
|
+
FormlyFieldInputGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldInputGroup, selector: "formly-field-input-group", usesInheritance: true, ngImport: i0, template: `
|
29
29
|
<nz-input-group
|
30
30
|
[nzPrefixIcon]="props['prefixIcon']"
|
31
31
|
[nzSuffixIcon]="props['suffixIcon']"
|
@@ -42,8 +42,8 @@ FormlyFieldInputGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
42
42
|
>
|
43
43
|
<formly-field *ngFor="let f of group; trackBy: trackById" [field]="f"></formly-field>
|
44
44
|
</nz-input-group>
|
45
|
-
`, isInline: true,
|
46
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
45
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i2.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch", "nzCompact"], exportAs: ["nzInputGroup"] }, { kind: "directive", type: i2.NzInputGroupWhitSuffixOrPrefixDirective, selector: "nz-input-group[nzSuffix], nz-input-group[nzPrefix]" }, { kind: "component", type: i3.FormlyField, selector: "formly-field", inputs: ["field"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldInputGroup, decorators: [{
|
47
47
|
type: Component,
|
48
48
|
args: [{
|
49
49
|
selector: 'formly-field-input-group',
|
@@ -68,4 +68,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
68
68
|
changeDetection: ChangeD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7XHJcbiAgICByZXR1cm4gdGhpcy5maWVsZC5maWVsZEdyb3VwO1xyXG4gIH1cclxuICB0cmFja0J5SWQoaW5kZXg6IG51bWJlciwgZW52ZW50OiBOelNhZmVBbnkpIHtcclxuICAgIGlmICghZW52ZW50LmlkKSB7XHJcbiAgICAgIHJldHVybiBpbmRleDtcclxuICAgIH1cclxuICAgIHJldHVybiBlbnZlbnQuaWQ7XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
@@ -9,31 +9,29 @@ import * as i0 from "@angular/core";
|
|
9
9
|
import * as i1 from "@ngx-formly/core";
|
10
10
|
export class FormlyNzInputNumberModule {
|
11
11
|
}
|
12
|
-
FormlyNzInputNumberModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
13
|
-
FormlyNzInputNumberModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
12
|
+
FormlyNzInputNumberModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzInputNumberModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
13
|
+
FormlyNzInputNumberModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzInputNumberModule, declarations: [FormlyFieldInputNumber], imports: [CommonModule,
|
14
14
|
ReactiveFormsModule,
|
15
15
|
FormlyNzFormFieldModule,
|
16
16
|
NzInputNumberModule, i1.FormlyModule] });
|
17
|
-
FormlyNzInputNumberModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
]] });
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzInputNumberModule, decorators: [{
|
17
|
+
FormlyNzInputNumberModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzInputNumberModule, imports: [CommonModule,
|
18
|
+
ReactiveFormsModule,
|
19
|
+
FormlyNzFormFieldModule,
|
20
|
+
NzInputNumberModule,
|
21
|
+
FormlyModule.forChild({
|
22
|
+
types: [
|
23
|
+
{
|
24
|
+
name: 'number',
|
25
|
+
component: FormlyFieldInputNumber,
|
26
|
+
wrappers: ['form-field']
|
27
|
+
},
|
28
|
+
{
|
29
|
+
name: 'integer',
|
30
|
+
extends: 'number'
|
31
|
+
}
|
32
|
+
]
|
33
|
+
})] });
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzInputNumberModule, decorators: [{
|
37
35
|
type: NgModule,
|
38
36
|
args: [{
|
39
37
|
declarations: [FormlyFieldInputNumber],
|
@@ -58,4 +56,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
58
56
|
]
|
59
57
|
}]
|
60
58
|
}] });
|
61
|
-
//# sourceMappingURL=data:application/json;base64,
|
59
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtbnVtYmVyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvaW5wdXQtbnVtYmVyL3NyYy9pbnB1dC1udW1iZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU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xuXHJcbiAgICBGb3JtbHlNb2R1bGUuZm9yQ2hpbGQoe1xyXG4gICAgICB0eXBlczogW1xyXG4gICAgICAgIHtcclxuICAgICAgICAgIG5hbWU6ICdudW1iZXInLFxyXG4gICAgICAgICAgY29tcG9uZW50OiBGb3JtbHlGaWVsZElucHV0TnVtYmVyLFxyXG4gICAgICAgICAgd3JhcHBlcnM6IFsnZm9ybS1maWVsZCddXHJcbiAgICAgICAgfSxcclxuICAgICAgICB7XHJcbiAgICAgICAgICBuYW1lOiAnaW50ZWdlcicsXHJcbiAgICAgICAgICBleHRlbmRzOiAnbnVtYmVyJ1xyXG4gICAgICAgIH1cclxuICAgICAgXVxyXG4gICAgfSlcclxuICBdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBGb3JtbHlOeklucHV0TnVtYmVyTW9kdWxlIHt9XHJcbiJdfQ==
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
2
2
|
import { FieldType } from '@ngx-formly/core';
|
3
3
|
import * as i0 from "@angular/core";
|
4
|
-
import * as i1 from "
|
5
|
-
import * as i2 from "@angular/
|
6
|
-
import * as i3 from "
|
4
|
+
import * as i1 from "@angular/common";
|
5
|
+
import * as i2 from "@angular/forms";
|
6
|
+
import * as i3 from "ng-zorro-antd/input-number";
|
7
7
|
import * as i4 from "@ngx-formly/core";
|
8
8
|
export class FormlyFieldInputNumber extends FieldType {
|
9
9
|
constructor() {
|
@@ -27,8 +27,8 @@ export class FormlyFieldInputNumber extends FieldType {
|
|
27
27
|
};
|
28
28
|
}
|
29
29
|
}
|
30
|
-
FormlyFieldInputNumber.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
31
|
-
FormlyFieldInputNumber.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
30
|
+
FormlyFieldInputNumber.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldInputNumber, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
31
|
+
FormlyFieldInputNumber.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldInputNumber, selector: "formly-field-inputnumber", usesInheritance: true, ngImport: i0, template: `
|
32
32
|
<ng-container [ngSwitch]="props.type">
|
33
33
|
<nz-input-number-group
|
34
34
|
*ngSwitchCase="'group'"
|
@@ -72,8 +72,8 @@ FormlyFieldInputNumber.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
72
72
|
(nzBlur)="props.blur && props.blur(field, $event)"
|
73
73
|
></nz-input-number>
|
74
74
|
</ng-template>
|
75
|
-
`, isInline: true,
|
76
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
75
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzSize", "nzMin", "nzMax", "nzParser", "nzPrecision", "nzPrecisionMode", "nzPlaceHolder", "nzStatus", "nzStep", "nzInputMode", "nzId", "nzDisabled", "nzReadOnly", "nzAutoFocus", "nzBorderless", "nzFormatter"], outputs: ["nzBlur", "nzFocus"], exportAs: ["nzInputNumber"] }, { kind: "component", type: i3.NzInputNumberGroupComponent, selector: "nz-input-number-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzCompact"], exportAs: ["nzInputNumberGroup"] }, { kind: "directive", type: i3.NzInputNumberGroupWhitSuffixOrPrefixDirective, selector: "nz-input-number-group[nzSuffix], nz-input-number-group[nzPrefix]" }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
76
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldInputNumber, decorators: [{
|
77
77
|
type: Component,
|
78
78
|
args: [{
|
79
79
|
selector: 'formly-field-inputnumber',
|
@@ -125,4 +125,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
125
125
|
changeDetection: ChangeDetectionStrategy.OnPush
|
126
126
|
}]
|
127
127
|
}] });
|
128
|
-
//# sourceMappingURL=data:application/json;base64,
|
128
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtbnVtYmVyLnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL2lucHV0LW51bWJlci9zcmMvaW5wdXQtbnVtYmVyLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBUSx1QkFBdUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6RSxPQUFPLEVBQUUsU0FBUyxFQUFzQyxNQUFNLGtCQUFrQixDQUFDOzs7Ozs7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vbiddXCJcclxuICAgICAgICBbbnpTdWZmaXhJY29uXT1cInByb3BzWydzdWZmaXhJY29uJ11cIlxyXG4gICAgICAgIFtuekNvbXBhY3RdPVwicHJvcHNbJ2NvbXBhY3QnXVwiXHJcbiAgICAgID5cclxuICAgICAgICA8bmctY29udGFpbmVyICpuZ1RlbXBsYXRlT3V0bGV0PVwibnppbnB1dG51bWJlclwiPjwvbmctY29udGFpbmVyPlxyXG4gICAgICA8L256LWlucHV0LW51bWJlci1ncm91cD5cclxuXHJcbiAgICAgIDxuZy1jb250YWluZXIgKm5nU3dpdGNoRGVmYXVsdD5cclxuICAgICAgICA8bmctdGVtcGxhdGUgW25nVGVtcGxhdGVPdXRsZXRdPVwibnppbnB1dG51bWJlclwiPjwvbmctdGVtcGxhdGU+XHJcbiAgICAgIDwvbmctY29udGFpbmVyPlxyXG4gICAgPC9uZy1jb250YWluZXI+XHJcblxyXG4gICAgPG5nLXRlbXBsYXRlICNuemlucHV0bnVtYmVyPlxyXG4gICAgICA8bnotaW5wdXQtbnVtYmVyXHJcbiAgICAgICAgW2Zvcm1Db250cm9sXT1cImZvcm1Db250cm9sXCJcclxuICAgICAgICBbZm9ybWx5QXR0cmlidXRlc109XCJmaWVsZFwiXHJcbiAgICAgICAgW256TWF4XT1cInByb3BzLm1heCFcIlxyXG4gICAgICAgIFtuek1pbl09XCJwcm9wcy5taW4hXCJcclxuICAgICAgICBbbnpSZWFkT25seV09XCJwcm9wcy5yZWFkb25seSEhXCJcclxuICAgICAgICBbbnpQbGFjZUhvbGRlcl09XCJwcm9wcy5wbGFjZWhvbGRlciA/PyAnJ1wiXHJcbiAgICAgICAgW256U2l6ZV09XCJwcm9wc1snc2l6ZSddIVwiXHJcbiAgICAgICAgW256U3RhdHVzXT1cInByb3BzWydzdGF0dXMnXSFcIlxyXG4gICAgICAgIFtuekJvcmRlcmxlc3NdPVwiISFwcm9wc1snYm9yZGVybGVzcyddXCJcclxuICAgICAgICBbbnpQcmVjaXNpb25dPVw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