ngx-formly-zorro-antd 17.0.3 → 17.0.5
Sign up to get free protection for your applications and to get access to all the features.
- package/card-wrapper/card-wrapper.props.d.ts +4 -0
- package/esm2022/card/card.type.mjs +8 -5
- package/esm2022/card-wrapper/card-wrapper.props.mjs +1 -1
- package/esm2022/card-wrapper/card.wrapper.mjs +7 -4
- package/esm2022/datepicker/datepicker.type.mjs +151 -155
- package/esm2022/form-field/form-field.props.mjs +1 -1
- package/esm2022/form-field/form-field.wrapper.mjs +53 -53
- package/esm2022/grid/grid.props.mjs +1 -1
- package/esm2022/input/input.type.mjs +142 -146
- package/esm2022/lib/ui-ng-zorro-antd.module.mjs +33 -59
- package/esm2022/radio/radio.type.mjs +62 -42
- package/esm2022/select/select.type.mjs +26 -24
- package/esm2022/space/space.type.mjs +3 -3
- package/esm2022/textarea/textarea.type.mjs +18 -22
- package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs +7 -4
- package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-card.mjs +8 -5
- package/fesm2022/ngx-formly-zorro-antd-card.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs +150 -154
- package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-form-field.mjs +52 -52
- package/fesm2022/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-input.mjs +141 -145
- package/fesm2022/ngx-formly-zorro-antd-input.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-radio.mjs +62 -42
- package/fesm2022/ngx-formly-zorro-antd-radio.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-select.mjs +26 -24
- package/fesm2022/ngx-formly-zorro-antd-select.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-space.mjs +2 -2
- package/fesm2022/ngx-formly-zorro-antd-space.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-textarea.mjs +17 -21
- package/fesm2022/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd.mjs +32 -58
- package/fesm2022/ngx-formly-zorro-antd.mjs.map +1 -1
- package/form-field/form-field.props.d.ts +50 -52
- package/grid/grid.props.d.ts +14 -14
- package/lib/ui-ng-zorro-antd.module.d.ts +1 -1
- package/package.json +18 -18
- package/space/space.type.d.ts +2 -1
@@ -33,21 +33,21 @@ export class FormlyWrapperFormField extends FieldWrapper {
|
|
33
33
|
}
|
34
34
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyWrapperFormField, deps: [{ token: i1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
35
35
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.3", type: FormlyWrapperFormField, selector: "formly-wrapper-nz-form-field", usesInheritance: true, ngImport: i0, template: `
|
36
|
-
<nz-form-item [ngClass]="props.itemClass
|
36
|
+
<nz-form-item [ngClass]="props.itemClass">
|
37
37
|
@if (hasLabel && props['hideLabel'] !== true) {
|
38
38
|
<nz-form-label
|
39
|
-
[nzFlex]="props
|
40
|
-
[nzOffset]="props
|
41
|
-
[nzOrder]="props
|
42
|
-
[nzPull]="props
|
43
|
-
[nzPush]="props
|
44
|
-
[nzSpan]="props
|
45
|
-
[nzXs]="props
|
46
|
-
[nzSm]="props
|
47
|
-
[nzMd]="props
|
48
|
-
[nzLg]="props
|
49
|
-
[nzXl]="props
|
50
|
-
[nzXXl]="props
|
39
|
+
[nzFlex]="props.labelFlex || formState.labelFlex"
|
40
|
+
[nzOffset]="props.labelOffset || formState.labelOffset"
|
41
|
+
[nzOrder]="props.labelOrder || formState.labelOrder"
|
42
|
+
[nzPull]="props.labelPull || formState.labelPull"
|
43
|
+
[nzPush]="props.labelPush || formState.labelPush"
|
44
|
+
[nzSpan]="props.labelSpan || formState.labelSpan"
|
45
|
+
[nzXs]="props.labelXs || formState.labelXs"
|
46
|
+
[nzSm]="props.labelSm || formState.labelSm"
|
47
|
+
[nzMd]="props.labelMd || formState.labelMd"
|
48
|
+
[nzLg]="props.labelLg || formState.labelLg"
|
49
|
+
[nzXl]="props.labelXl || formState.labelXl"
|
50
|
+
[nzXXl]="props.labelXXl || formState.labelXXl"
|
51
51
|
[ngClass]="props.labelClass || formState.labelClass"
|
52
52
|
[nzRequired]="props.required && props['hideRequiredMarker'] !== true"
|
53
53
|
[nzFor]="id"
|
@@ -69,19 +69,19 @@ export class FormlyWrapperFormField extends FieldWrapper {
|
|
69
69
|
[nzHasFeedback]="props['hasFeedback']!!"
|
70
70
|
[nzExtra]="props.description || nzExtra"
|
71
71
|
[nzErrorTip]="errorTip"
|
72
|
-
[ngClass]="props.controlClass
|
73
|
-
[nzFlex]="props
|
74
|
-
[nzOffset]="props
|
75
|
-
[nzOrder]="props
|
76
|
-
[nzPull]="props
|
77
|
-
[nzPush]="props
|
78
|
-
[nzSpan]="props
|
79
|
-
[nzXs]="props
|
80
|
-
[nzSm]="props
|
81
|
-
[nzMd]="props
|
82
|
-
[nzLg]="props
|
83
|
-
[nzXl]="props
|
84
|
-
[nzXXl]="props
|
72
|
+
[ngClass]="props.controlClass || formState.controlClass"
|
73
|
+
[nzFlex]="props.controlFlex || formState.controlFlex"
|
74
|
+
[nzOffset]="props.controlOffset || formState.controlOffset"
|
75
|
+
[nzOrder]="props.controlOrder || formState.controlOrder"
|
76
|
+
[nzPull]="props.controlPull || formState.controlPull"
|
77
|
+
[nzPush]="props.controlPush || formState.controlPush"
|
78
|
+
[nzSpan]="props.controlSpan || formState.controlSpan"
|
79
|
+
[nzXs]="props.controlXs || formState.controlXs"
|
80
|
+
[nzSm]="props.controlSm || formState.controlSm"
|
81
|
+
[nzMd]="props.controlMd || formState.controlMd"
|
82
|
+
[nzLg]="props.controlLg || formState.controlLg"
|
83
|
+
[nzXl]="props.controlXl || formState.controlXl"
|
84
|
+
[nzXXl]="props.controlXXl || formState.controlXXl"
|
85
85
|
>
|
86
86
|
<ng-container #fieldComponent></ng-container>
|
87
87
|
|
@@ -97,21 +97,21 @@ export class FormlyWrapperFormField extends FieldWrapper {
|
|
97
97
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyWrapperFormField, decorators: [{
|
98
98
|
type: Component,
|
99
99
|
args: [{ selector: 'formly-wrapper-nz-form-field', template: `
|
100
|
-
<nz-form-item [ngClass]="props.itemClass
|
100
|
+
<nz-form-item [ngClass]="props.itemClass">
|
101
101
|
@if (hasLabel && props['hideLabel'] !== true) {
|
102
102
|
<nz-form-label
|
103
|
-
[nzFlex]="props
|
104
|
-
[nzOffset]="props
|
105
|
-
[nzOrder]="props
|
106
|
-
[nzPull]="props
|
107
|
-
[nzPush]="props
|
108
|
-
[nzSpan]="props
|
109
|
-
[nzXs]="props
|
110
|
-
[nzSm]="props
|
111
|
-
[nzMd]="props
|
112
|
-
[nzLg]="props
|
113
|
-
[nzXl]="props
|
114
|
-
[nzXXl]="props
|
103
|
+
[nzFlex]="props.labelFlex || formState.labelFlex"
|
104
|
+
[nzOffset]="props.labelOffset || formState.labelOffset"
|
105
|
+
[nzOrder]="props.labelOrder || formState.labelOrder"
|
106
|
+
[nzPull]="props.labelPull || formState.labelPull"
|
107
|
+
[nzPush]="props.labelPush || formState.labelPush"
|
108
|
+
[nzSpan]="props.labelSpan || formState.labelSpan"
|
109
|
+
[nzXs]="props.labelXs || formState.labelXs"
|
110
|
+
[nzSm]="props.labelSm || formState.labelSm"
|
111
|
+
[nzMd]="props.labelMd || formState.labelMd"
|
112
|
+
[nzLg]="props.labelLg || formState.labelLg"
|
113
|
+
[nzXl]="props.labelXl || formState.labelXl"
|
114
|
+
[nzXXl]="props.labelXXl || formState.labelXXl"
|
115
115
|
[ngClass]="props.labelClass || formState.labelClass"
|
116
116
|
[nzRequired]="props.required && props['hideRequiredMarker'] !== true"
|
117
117
|
[nzFor]="id"
|
@@ -133,19 +133,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImpor
|
|
133
133
|
[nzHasFeedback]="props['hasFeedback']!!"
|
134
134
|
[nzExtra]="props.description || nzExtra"
|
135
135
|
[nzErrorTip]="errorTip"
|
136
|
-
[ngClass]="props.controlClass
|
137
|
-
[nzFlex]="props
|
138
|
-
[nzOffset]="props
|
139
|
-
[nzOrder]="props
|
140
|
-
[nzPull]="props
|
141
|
-
[nzPush]="props
|
142
|
-
[nzSpan]="props
|
143
|
-
[nzXs]="props
|
144
|
-
[nzSm]="props
|
145
|
-
[nzMd]="props
|
146
|
-
[nzLg]="props
|
147
|
-
[nzXl]="props
|
148
|
-
[nzXXl]="props
|
136
|
+
[ngClass]="props.controlClass || formState.controlClass"
|
137
|
+
[nzFlex]="props.controlFlex || formState.controlFlex"
|
138
|
+
[nzOffset]="props.controlOffset || formState.controlOffset"
|
139
|
+
[nzOrder]="props.controlOrder || formState.controlOrder"
|
140
|
+
[nzPull]="props.controlPull || formState.controlPull"
|
141
|
+
[nzPush]="props.controlPush || formState.controlPush"
|
142
|
+
[nzSpan]="props.controlSpan || formState.controlSpan"
|
143
|
+
[nzXs]="props.controlXs || formState.controlXs"
|
144
|
+
[nzSm]="props.controlSm || formState.controlSm"
|
145
|
+
[nzMd]="props.controlMd || formState.controlMd"
|
146
|
+
[nzLg]="props.controlLg || formState.controlLg"
|
147
|
+
[nzXl]="props.controlXl || formState.controlXl"
|
148
|
+
[nzXXl]="props.controlXXl || formState.controlXXl"
|
149
149
|
>
|
150
150
|
<ng-container #fieldComponent></ng-container>
|
151
151
|
|
@@ -160,4 +160,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImpor
|
|
160
160
|
}], ctorParameters: () => [{ type: i1.FormlyBoxTemplates, decorators: [{
|
161
161
|
type: Optional
|
162
162
|
}] }] });
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sU3BhblwiXG4gICAgICAgICAgW256WHNdPVwicHJvcHMubGFiZWxYcyB8fCBmb3JtU3RhdGUubGFiZWxYc1wiXG4gICAgICAgICAgW256U21dPVwicHJvcHMubGFiZWxTbSB8fCBmb3JtU3RhdGUubGFiZWxTbVwiXG4gICAgICAgICAgW256TWRdPVwicHJvcHMubGFiZWxNZCB8fCBmb3JtU3RhdGUubGFiZWxNZFwiXG4gICAgICAgICAgW256TGddPVwicHJvcHMubGFiZWxMZyB8fCBmb3JtU3RhdGUubGFiZWxMZ1wiXG4gICAgICAgICAgW256WGxdPVwicHJvcHMubGFiZWxYbCB8fCBmb3JtU3RhdGUubGFiZWxYbFwiXG4gICAgICAgICAgW256WFhsXT1cInByb3BzLmxhYmVsWFhsIHx8IGZvcm1TdGF0ZS5sYWJlbFhYbFwiXG4gICAgICAgICAgW25nQ2xhc3NdPVwicHJvcHMubGFiZWxDbGFzcyB8fCBmb3JtU3RhdGUubGFiZWxDbGFzc1wiXG4gICAgICAgICAgW256UmVxdWlyZWRdPVwicHJvcHMucmVxdWlyZWQgJiYgcHJvcHNbJ2hpZGVSZXF1aXJlZE1hcmtlciddICE9PSB0cnVlXCJcbiAgICAgICAgICBbbnpGb3JdPVwiaWRcIlxuICAgICAgICAgIFtuek5vQ29sb25dPVwicHJvcHNbJ25vQ29sb24nXSEhXCJcbiAgICAgICAgICBbbnpUb29sdGlwVGl0bGVdPVwibnpUb29sdGlwVGl0bGVcIlxuICAgICAgICAgIFtuelRvb2x0aXBJY29uXT1cInByb3BzWyd0b29sdGlwSWNvbiddIVwiXG4gICAgICAgICAgW256TGFiZWxBbGlnbl09XCJwcm9wc1snbGFiZWxBbGlnbiddID8/ICdyaWdodCdcIlxuICAgICAgICAgIFtuekxhYmVsV3JhcF09XCJwcm9wc1snbGFiZWxXcmFwJ10hIVwiXG4gICAgICAgID5cbiAgICAgICAgICA8bmctY29udGFpbmVyXG4gICAgICAgICAgICAqbnpTdHJpbmdUZW1wbGF0ZU91dGxldD1cImxhYmVsOyBjb250ZXh0OiB7ICRpbXBsaWNpdDogZmllbGQsIG9wdGlvbnM6IHByb3BzIH1cIlxuICAgICAgICAgID5cbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJmb3JtbHktbGFiZWwtdGV4dFwiIFthdHRyLnRpdGxlXT1cImxhYmVsXCIgW2lubmVySFRNTF09XCJsYWJlbFwiPjwvZGl2PlxuICAgICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgICAgICA8L256LWZvcm0tbGFiZWw+XG4gICAgICB9XG4gICAgICA8bnotZm9ybS1jb250cm9sXG4gICAgICAgIFtuelZhbGlkYXRlU3RhdHVzXT1cInZhbGlkYXRlU3RhdHVzXCJcbiAgICAgICAgW256SGFzRmVlZGJhY2tdPVwicHJvcHNbJ2hhc0ZlZWRiYWNrJ10hIVwiXG4gICAgICAgIFtuekV4dHJhXT1cInByb3BzLmRlc2NyaXB0aW9uIHx8IG56RXh0cmFcIlxuICAgICAgICBbbnpFcnJvclRpcF09XCJlcnJvclRpcFwiXG4gICAgICAgIFtuZ0NsYXNzXT1cInByb3BzLmNvbnRyb2xDbGFzcyB8fCBmb3JtU3RhdGUuY29udHJvbENsYXNzXCJcbiAgICAgICAgW256RmxleF09XCJwcm9wcy5jb250cm9sRmxleCB8fCBmb3JtU3RhdGUuY29udHJvbEZsZXhcIlxuICAgICAgICBbbnpPZmZzZXRdPVwicHJvcHMuY29udHJvbE9mZnNldCB8fCBmb3JtU3RhdGUuY29udHJvbE9mZnNldFwiXG4gICAgICAgIFtuek9yZGVyXT1cInByb3BzLmNvbnRyb2xPcmRlciB8fCBmb3JtU3RhdGUuY29udHJvbE9yZGVyXCJcbiAgICAgICAgW256UHVsbF09XCJwcm9wcy5jb250cm9sUHVsbCB8fCBmb3JtU3RhdGUuY29udHJvbFB1bGxcIlxuICAgICAgICBbbnpQdXNoXT1cInByb3BzLmNvbnRyb2xQdXNoIHx8IGZvcm1TdGF0ZS5jb250cm9sUHVzaFwiXG4gICA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IGNvbnN0cnVjdG9yKEBPcHRpb25hbCgpIHB1YmxpYyBmaWVsZFRlbXBsYXRlczogRm9ybWx5Qm94VGVtcGxhdGVzKSB7XG4gICAgc3VwZXIoKTtcbiAgfVxuXG4gIGdldCBuelRvb2x0aXBUaXRsZSgpIHtcbiAgICByZXR1cm4gcmVzb2x2ZVRwbE5hbWUodGhpcy5wcm9wcywgdGhpcy5maWVsZFRlbXBsYXRlcywgJ3Rvb2x0aXBUaXRsZScpO1xuICB9XG4gIGdldCBuekV4dHJhKCkge1xuICAgIHJldHVybiByZXNvbHZlVHBsTmFtZSh0aGlzLnByb3BzLCB0aGlzLmZpZWxkVGVtcGxhdGVzLCAnZXh0cmEnKTtcbiAgfVxuICBnZXQgaGFzTGFiZWwoKSB7XG4gICAgcmV0dXJuIGhhc1RwbE5hbWVWYWx1ZSh0aGlzLnByb3BzLCAnbGFiZWwnKTtcbiAgfVxuXG4gIGdldCBsYWJlbCgpIHtcbiAgICByZXR1cm4gcmVzb2x2ZVRwbE5hbWUodGhpcy5wcm9wcywgdGhpcy5maWVsZFRlbXBsYXRlcywgJ2xhYmVsJyk7XG4gIH1cblxuICBnZXQgaGFzRXJyb3IoKSB7XG4gICAgcmV0dXJuICh0aGlzLmZvcm1Db250cm9sPy5kaXJ0eSB8fCB0aGlzLmZvcm1Db250cm9sPy50b3VjaGVkKSAmJiB0aGlzLmZvcm1Db250cm9sLmVycm9ycztcbiAgfVxuICBnZXQgdmFsaWRhdGVTdGF0dXMoKSB7XG4gICAgcmV0dXJuIHRoaXMuaGFzRXJyb3IgPyAnZXJyb3InIDogJ3N1Y2Nlc3MnO1xuICB9XG59XG4iXX0=
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JpZC5wcm9wcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2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tOWvuem9kOaWueW8j1xuICAgKi9cbiAgYWxpZ24/OiBOekFsaWduIHwgbnVsbDtcbiAgLyoqXG4gICAqIOagheagvOmXtOmalO+8jOWPr+S7peWGmeaIkOWDj+e0oOWAvOaIluaUr+aMgeWTjeW6lOW8j+eahOWvueixoeWGmeazleadpeiuvue9ruawtOW5s+mXtOmalCB7IHhzOiA4LCBzbTogMTYsIG1kOiAyNH3jgIJcbiAgICog5oiW6ICF5L2/55So5pWw57uE5b2i5byP5ZCM5pe26K6+572uIFvmsLTlubPpl7Tot50sIOWeguebtOmXtOi3nV3jgIJcbiAgICovXG4gIGd1dHRlcj86IHN0ck51bU51bGwgfCBJbmRleGFibGVPYmplY3QgfCBbbnVtYmVyLCBudW1iZXJdIHwgW0luZGV4YWJsZU9iamVjdCwgSW5kZXhhYmxlT2JqZWN0XTtcbiAgLyoqXG4gICAqIOawtOW5s+aOkuWIl+aWueW8j1xuICAgKi9cbiAganVzdGlmeT86IE56SnVzdGlmeSB8IG51bGw7XG59XG4iXX0=
|
@@ -27,8 +27,8 @@ export class FormlyFieldInput extends FieldType {
|
|
27
27
|
}
|
28
28
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyFieldInput, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
29
29
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.3", type: FormlyFieldInput, selector: "formly-field-input", usesInheritance: true, ngImport: i0, template: `
|
30
|
-
|
31
|
-
|
30
|
+
@switch (props.type) {
|
31
|
+
@case ('password') {
|
32
32
|
<nz-input-group
|
33
33
|
[nzPrefixIcon]="props['prefixIcon']"
|
34
34
|
[nzSuffixIcon]="props['suffixIcon']"
|
@@ -52,85 +52,83 @@ export class FormlyFieldInput extends FieldType {
|
|
52
52
|
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
53
53
|
/>
|
54
54
|
</nz-input-group>
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
[nzSuffix]="props['allowClear']!! ? inputClearTpl : props['suffix']"
|
68
|
-
>
|
69
|
-
<input
|
70
|
-
nz-input
|
71
|
-
[nzBorderless]="props['borderless']"
|
72
|
-
[nzAutocomplete]="auto"
|
73
|
-
[formControl]="formControl"
|
74
|
-
[formlyAttributes]="field"
|
75
|
-
/>
|
76
|
-
<nz-autocomplete
|
77
|
-
[nzBackfill]="props['autocompleteOptions']?.backfill"
|
78
|
-
[nzDefaultActiveFirstOption]="props['autocompleteOptions']?.defaultActiveFirstOption"
|
79
|
-
[nzWidth]="props['autocompleteOptions']?.width"
|
80
|
-
[nzOverlayClassName]="props['autocompleteOptions']?.overlayClassName"
|
81
|
-
[nzOverlayStyle]="props['autocompleteOptions']?.overlayStyle"
|
82
|
-
[compareWith]="props['autocompleteOptions']?.compareWith"
|
83
|
-
#auto
|
55
|
+
}
|
56
|
+
@case ('autoComplete') {
|
57
|
+
<nz-input-group
|
58
|
+
[nzSize]="props['size']"
|
59
|
+
[nzPrefixIcon]="props['prefixIcon']"
|
60
|
+
[nzSuffixIcon]="props['suffixIcon']"
|
61
|
+
[nzAddOnAfterIcon]="props['addOnAfterIcon']"
|
62
|
+
[nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
|
63
|
+
[nzAddOnBefore]="props['addOnBefore']"
|
64
|
+
[nzAddOnAfter]="props['addOnAfter']"
|
65
|
+
[nzPrefix]="props['prefix']"
|
66
|
+
[nzSuffix]="props['allowClear']!! ? inputClearTpl : props['suffix']"
|
84
67
|
>
|
85
|
-
<
|
86
|
-
|
87
|
-
[
|
88
|
-
[
|
68
|
+
<input
|
69
|
+
nz-input
|
70
|
+
[nzBorderless]="props['borderless']"
|
71
|
+
[nzAutocomplete]="auto"
|
72
|
+
[formControl]="formControl"
|
73
|
+
[formlyAttributes]="field"
|
74
|
+
/>
|
75
|
+
<nz-autocomplete
|
76
|
+
[nzBackfill]="props['autocompleteOptions']?.backfill"
|
77
|
+
[nzDefaultActiveFirstOption]="props['autocompleteOptions']?.defaultActiveFirstOption"
|
78
|
+
[nzWidth]="props['autocompleteOptions']?.width"
|
79
|
+
[nzOverlayClassName]="props['autocompleteOptions']?.overlayClassName"
|
80
|
+
[nzOverlayStyle]="props['autocompleteOptions']?.overlayStyle"
|
81
|
+
[compareWith]="props['autocompleteOptions']?.compareWith"
|
82
|
+
#auto
|
89
83
|
>
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
84
|
+
@for (option of props['autocompleteOptions'].dataSource; track option) {
|
85
|
+
<nz-auto-option [nzLabel]="option.label" [nzValue]="option.value">
|
86
|
+
{{ option.label }}
|
87
|
+
</nz-auto-option>
|
88
|
+
}
|
89
|
+
</nz-autocomplete>
|
90
|
+
</nz-input-group>
|
91
|
+
}
|
92
|
+
@case ('group') {
|
93
|
+
<nz-input-group
|
94
|
+
[nzPrefixIcon]="props['prefixIcon']"
|
95
|
+
[nzSuffixIcon]="props['suffixIcon']"
|
96
|
+
[nzAddOnAfterIcon]="props['addOnAfterIcon']"
|
97
|
+
[nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
|
98
|
+
[nzAddOnBefore]="props['addOnBefore']"
|
99
|
+
[nzAddOnAfter]="props['addOnAfter']"
|
100
|
+
[nzPrefix]="props['prefix']"
|
101
|
+
[nzSuffix]="props['allowClear']!! ? inputClearTpl : props['suffix']"
|
102
|
+
[nzCompact]="props['compact']!!"
|
103
|
+
[nzSearch]="props['search']!!"
|
104
|
+
[nzSize]="props['size']!"
|
105
|
+
[nzStatus]="props['status']!"
|
106
|
+
>
|
107
|
+
<input
|
108
|
+
nz-input
|
109
|
+
type="text"
|
110
|
+
[ngClass]="props['className']!"
|
111
|
+
[formControl]="formControl"
|
112
|
+
[formlyAttributes]="field"
|
113
|
+
[nzBorderless]="!!props['borderless']!!"
|
114
|
+
(ngModelChange)="props['modelChange']?.(field, $event)"
|
115
|
+
/>
|
116
|
+
</nz-input-group>
|
117
|
+
}
|
118
|
+
@default {
|
110
119
|
<input
|
111
120
|
nz-input
|
112
121
|
type="text"
|
113
122
|
[ngClass]="props['className']!"
|
114
123
|
[formControl]="formControl"
|
115
124
|
[formlyAttributes]="field"
|
116
|
-
[
|
117
|
-
|
125
|
+
[nzSize]="props['size']"
|
126
|
+
[nzStatus]="props['status']"
|
127
|
+
[nzBorderless]="props['borderless']!!"
|
128
|
+
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
118
129
|
/>
|
119
|
-
|
120
|
-
|
121
|
-
<input
|
122
|
-
*ngSwitchDefault
|
123
|
-
nz-input
|
124
|
-
type="text"
|
125
|
-
[ngClass]="props['className']!"
|
126
|
-
[formControl]="formControl"
|
127
|
-
[formlyAttributes]="field"
|
128
|
-
[nzSize]="props['size']"
|
129
|
-
[nzStatus]="props['status']"
|
130
|
-
[nzBorderless]="props['borderless']!!"
|
131
|
-
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
132
|
-
/>
|
133
|
-
</ng-container>
|
130
|
+
}
|
131
|
+
}
|
134
132
|
|
135
133
|
<!-- 查看密码 -->
|
136
134
|
<ng-template #passwordEyeTpl>
|
@@ -163,15 +161,15 @@ export class FormlyFieldInput extends FieldType {
|
|
163
161
|
></span>
|
164
162
|
}
|
165
163
|
</ng-template>
|
166
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type:
|
164
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { 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", "nzStepperless", "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 }); }
|
167
165
|
}
|
168
166
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: FormlyFieldInput, decorators: [{
|
169
167
|
type: Component,
|
170
168
|
args: [{
|
171
169
|
selector: 'formly-field-input',
|
172
170
|
template: `
|
173
|
-
|
174
|
-
|
171
|
+
@switch (props.type) {
|
172
|
+
@case ('password') {
|
175
173
|
<nz-input-group
|
176
174
|
[nzPrefixIcon]="props['prefixIcon']"
|
177
175
|
[nzSuffixIcon]="props['suffixIcon']"
|
@@ -195,85 +193,83 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImpor
|
|
195
193
|
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
196
194
|
/>
|
197
195
|
</nz-input-group>
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
[nzSuffix]="props['allowClear']!! ? inputClearTpl : props['suffix']"
|
211
|
-
>
|
212
|
-
<input
|
213
|
-
nz-input
|
214
|
-
[nzBorderless]="props['borderless']"
|
215
|
-
[nzAutocomplete]="auto"
|
216
|
-
[formControl]="formControl"
|
217
|
-
[formlyAttributes]="field"
|
218
|
-
/>
|
219
|
-
<nz-autocomplete
|
220
|
-
[nzBackfill]="props['autocompleteOptions']?.backfill"
|
221
|
-
[nzDefaultActiveFirstOption]="props['autocompleteOptions']?.defaultActiveFirstOption"
|
222
|
-
[nzWidth]="props['autocompleteOptions']?.width"
|
223
|
-
[nzOverlayClassName]="props['autocompleteOptions']?.overlayClassName"
|
224
|
-
[nzOverlayStyle]="props['autocompleteOptions']?.overlayStyle"
|
225
|
-
[compareWith]="props['autocompleteOptions']?.compareWith"
|
226
|
-
#auto
|
196
|
+
}
|
197
|
+
@case ('autoComplete') {
|
198
|
+
<nz-input-group
|
199
|
+
[nzSize]="props['size']"
|
200
|
+
[nzPrefixIcon]="props['prefixIcon']"
|
201
|
+
[nzSuffixIcon]="props['suffixIcon']"
|
202
|
+
[nzAddOnAfterIcon]="props['addOnAfterIcon']"
|
203
|
+
[nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
|
204
|
+
[nzAddOnBefore]="props['addOnBefore']"
|
205
|
+
[nzAddOnAfter]="props['addOnAfter']"
|
206
|
+
[nzPrefix]="props['prefix']"
|
207
|
+
[nzSuffix]="props['allowClear']!! ? inputClearTpl : props['suffix']"
|
227
208
|
>
|
228
|
-
<
|
229
|
-
|
230
|
-
[
|
231
|
-
[
|
209
|
+
<input
|
210
|
+
nz-input
|
211
|
+
[nzBorderless]="props['borderless']"
|
212
|
+
[nzAutocomplete]="auto"
|
213
|
+
[formControl]="formControl"
|
214
|
+
[formlyAttributes]="field"
|
215
|
+
/>
|
216
|
+
<nz-autocomplete
|
217
|
+
[nzBackfill]="props['autocompleteOptions']?.backfill"
|
218
|
+
[nzDefaultActiveFirstOption]="props['autocompleteOptions']?.defaultActiveFirstOption"
|
219
|
+
[nzWidth]="props['autocompleteOptions']?.width"
|
220
|
+
[nzOverlayClassName]="props['autocompleteOptions']?.overlayClassName"
|
221
|
+
[nzOverlayStyle]="props['autocompleteOptions']?.overlayStyle"
|
222
|
+
[compareWith]="props['autocompleteOptions']?.compareWith"
|
223
|
+
#auto
|
232
224
|
>
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
225
|
+
@for (option of props['autocompleteOptions'].dataSource; track option) {
|
226
|
+
<nz-auto-option [nzLabel]="option.label" [nzValue]="option.value">
|
227
|
+
{{ option.label }}
|
228
|
+
</nz-auto-option>
|
229
|
+
}
|
230
|
+
</nz-autocomplete>
|
231
|
+
</nz-input-group>
|
232
|
+
}
|
233
|
+
@case ('group') {
|
234
|
+
<nz-input-group
|
235
|
+
[nzPrefixIcon]="props['prefixIcon']"
|
236
|
+
[nzSuffixIcon]="props['suffixIcon']"
|
237
|
+
[nzAddOnAfterIcon]="props['addOnAfterIcon']"
|
238
|
+
[nzAddOnBeforeIcon]="props['addOnBeforeIcon']"
|
239
|
+
[nzAddOnBefore]="props['addOnBefore']"
|
240
|
+
[nzAddOnAfter]="props['addOnAfter']"
|
241
|
+
[nzPrefix]="props['prefix']"
|
242
|
+
[nzSuffix]="props['allowClear']!! ? inputClearTpl : props['suffix']"
|
243
|
+
[nzCompact]="props['compact']!!"
|
244
|
+
[nzSearch]="props['search']!!"
|
245
|
+
[nzSize]="props['size']!"
|
246
|
+
[nzStatus]="props['status']!"
|
247
|
+
>
|
248
|
+
<input
|
249
|
+
nz-input
|
250
|
+
type="text"
|
251
|
+
[ngClass]="props['className']!"
|
252
|
+
[formControl]="formControl"
|
253
|
+
[formlyAttributes]="field"
|
254
|
+
[nzBorderless]="!!props['borderless']!!"
|
255
|
+
(ngModelChange)="props['modelChange']?.(field, $event)"
|
256
|
+
/>
|
257
|
+
</nz-input-group>
|
258
|
+
}
|
259
|
+
@default {
|
253
260
|
<input
|
254
261
|
nz-input
|
255
262
|
type="text"
|
256
263
|
[ngClass]="props['className']!"
|
257
264
|
[formControl]="formControl"
|
258
265
|
[formlyAttributes]="field"
|
259
|
-
[
|
260
|
-
|
266
|
+
[nzSize]="props['size']"
|
267
|
+
[nzStatus]="props['status']"
|
268
|
+
[nzBorderless]="props['borderless']!!"
|
269
|
+
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
261
270
|
/>
|
262
|
-
|
263
|
-
|
264
|
-
<input
|
265
|
-
*ngSwitchDefault
|
266
|
-
nz-input
|
267
|
-
type="text"
|
268
|
-
[ngClass]="props['className']!"
|
269
|
-
[formControl]="formControl"
|
270
|
-
[formlyAttributes]="field"
|
271
|
-
[nzSize]="props['size']"
|
272
|
-
[nzStatus]="props['status']"
|
273
|
-
[nzBorderless]="props['borderless']!!"
|
274
|
-
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
275
|
-
/>
|
276
|
-
</ng-container>
|
271
|
+
}
|
272
|
+
}
|
277
273
|
|
278
274
|
<!-- 查看密码 -->
|
279
275
|
<ng-template #passwordEyeTpl>
|
@@ -310,4 +306,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImpor
|
|
310
306
|
changeDetection: ChangeDetectionStrategy.OnPush
|
311
307
|
}]
|
312
308
|
}] });
|
313
|
-
//# sourceMappingURL=data:application/json;base64,
|
309
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQudHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvaW5wdXQvc3JjL2lucHV0LnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSx1QkFBdUIsRUFBUSxNQUFNLGVBQWUsQ0FBQztBQUN6RSxPQUFPLEVBQUUsU0FBUyxFQUFtQixNQUFNLGtCQUFrQixDQUFDOzs7Ozs7OztBQXNKOUQsTUFBTSxPQUFPLGdCQUFpQixTQUFRLFNBQTBCO0lBNUloRTs7UUE2SVcsbUJBQWMsR0FBRztZQUN4QixLQUFLLEVBQUU7Z0JBQ0wsVUFBVSxFQUFFLEtBQUs7Z0JBQ2pCLE9BQU8sRUFBRSxLQUFLO2dCQUNkLE1BQU0sRUFBRSxLQUFLO2dCQUNiLFVBQVUsRUFBRSxLQUFLO2dCQUNqQixtQkFBbUIsRUFBRTt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InByb3BzWydhZGRPbkFmdGVyJ11cIlxuICAgICAgICAgIFtuelByZWZpeF09XCJwcm9wc1sncHJlZml4J11cIlxuICAgICAgICAgIFtuekNvbXBhY3RdPVwicHJvcHNbJ2NvbXBhY3QnXSEhXCJcbiAgICAgICAgICBbbnpTZWFyY2hdPVwicHJvcHNbJ3NlYXJjaCddISFcIlxuICAgICAgICAgIFtuelNpemVdPVwicHJvcHNbJ3NpemUnXSFcIlxuICAgICAgICAgIFtuelN0YXR1c109XCJwcm9wc1snc3RhdHVzJ10hXCJcbiAgICAgICAgICBbbnpTdWZmaXhdPVwicGFzc3dvcmRFeWVUcGxcIlxuICAgICAgICA+XG4gICAgICAgICAgPGlucHV0XG4gICAgICAgICAgICBbdHlwZV09XCJwYXNzd29yZFZpc2libGUgPyAndGV4dCcgOiAncGFzc3dvcmQnXCJcbiAgICAgICAgICAgIG56LWlucHV0XG4gICAgICAgICAgICBbZm9ybUNvbnRyb2xdPVwiZm9ybUNvbnRyb2xcIlxuICAgICAgICAgICAgW2Zvcm1seUF0dHJpYnV0ZXNdPVwiZmllbGRcIlxuICAgICAgICAgICAgW256Qm9yZGVybGVzc109XCJwcm9wc1snYm9yZGVybGVzcyddISFcIlxuICAgICAgICAgICAgKG5nTW9kZWxDaGFuZ2UpPVwicHJvcHNbJ21vZGVsQ2hhbmdlJ10gJiYgcHJvcHNbJ21vZGVsQ2hhbmdlJ10oZmllbGQsICRldmVudClcIlxuICAgICAgICAgIC8+XG4gICAgICAgIDwvbnotaW5wdXQtZ3JvdXA+XG4gICAgICB9XG4gICAgICBAY2FzZSAoJ2F1dG9Db21wbGV0ZScpIHtcbiAgICAgICAgPG56LWlucHV0LWdyb3VwXG4gICAgICAgICAgW256U2l6ZV09XCJwcm9wc1snc2l6ZSddXCJcbiAgICAgICAgICBbbnpQcmVmaXhJY29uXT1cInByb3BzWydwcmVmaXhJY29uJ11cIlxuICAgICAgICAgIFtuelN1ZmZpeEljb25dPVwicHJvcHNbJ3N1ZmZpeEljb24nXVwiXG4gICAgICAgICAgW256QWRkT25BZnRlckljb25dPVwicHJvcHNbJ2FkZE9uQWZ0ZXJJY29uJ11cIlxuICAgICAgICAgIFtuekFkZE9uQmVmb3JlSWNvbl09XCJwcm9wc1snYWRkT25CZWZvcmVJY29uJ11cIlxuICAgICAgICAgIFtuekFkZE9uQmVmb3JlXT1cInByb3BzWydhZGRPbkJlZm9yZSddXCJcbiAgICAgICAgICBbbnpBZGRPbkFmdGVyXT1cInByb3BzWydhZGRPbkFmdGVyJ11cIlxuICAgICAgICAgIFtuelByZWZpeF09XCJwcm9wc1sncHJlZml4J11cIlxuICAgICAgICAgIFtuelN1ZmZpeF09XCJwcm9wc1snYWxsb3dDbGVhciddISEgPyBpbnB1dENsZWFyVHBsIDogcHJvcHNbJ3N1ZmZpeCddXCJcbiAgICAgICAgPlxuICAgICAgICAgIDxpbnB1dFxuICAgICAgICAgICAgbnotaW5wdXRcbiAgICAgICAgICAgIFtuekJvcmRlcmxlc3NdPVwicHJvcHNbJ2JvcmRlcmxlc3MnXVwiXG4gICAgICAgICAgICBbbnpBdXRvY29tcGxldGVdPVwiYXV0b1wiXG4gICAgICAgICAgICBbZm9ybUNvbnRyb2xdPVwiZm9ybUNvbnRyb2xcIlxuICAgICAgICAgICAgW2Zvcm1seUF0dHJpYnV0ZXNdPVwiZmllbGRcIlxuICAgICAgICAgIC8+XG4gICAgICAgICAgPG56LWF1dG9jb21wbGV0ZVxuICAgICAgICAgICAgW256QmFja2ZpbGxdPVwicHJvcHNbJ2F1dG9jb21wbGV0ZU9wdGlvbnMnXT8uYmFja2ZpbGxcIlxuICAgICAgICAgICAgW256RGVmYXVsdEFjdGl2ZUZpcnN0T3B0aW9uXT1cInByb3BzWydhdXRvY29tcGxldGVPcHRpb25zJ10/LmRlZmF1bHRBY3RpdmVGaXJzdE9wdGlvblwiXG4gICAgICAgICAgICBbbnpXaWR0aF09XCJwcm9wc1snYXV0b2NvbXBsZXRlT3B0aW9ucyddPy53aWR0aFwiXG4gICAgICAgICAgICBbbnpPdmVybGF5Q2xhc3NOYW1lXT1cInByb3BzWydhdXRvY29tcGxldGVPcHRpb25zJ10/Lm92ZXJsYXlDbGFzc05hbWVcIlxuICAgICAgICAgICAgW256T3ZlcmxheVN0eWxlXT1cInByb3BzWydhdXRvY29tcGxldGVPcHRpb25zJ10/Lm92ZXJsYXlTdHlsZVwiXG4gICAgICAgICAgICBbY29tcGFyZVdpdGhdPVwicHJvcHNbJ2F1dG9jb21wbGV0ZU9wdGlvbnMnXT8uY29tcGFyZVdpdGhcIlxuICAgICAgICAgICAgI2F1dG9cbiAgICAgICAgICA+XG4gICAgICAgICAgICBAZm9yIChvcHRpb24gb2YgcHJvcHNbJ2F1dG9jb21wbGV0ZU9wdGlvbnMnXS5kYXRhU291cmNlOyB0cmFjayBvcHRpb24pIHtcbiAgICAgICAgICAgICAgPG56LWF1dG8tb3B0aW9uIFtuekxhYmVsXT1cIm9wdGlvbi5sYWJlbFwiIFtuelZhbHVlXT1cIm9wdGlvbi52YWx1ZVwiPlxuICAgICAgICAgICAgICAgIHt7IG9wdGlvbi5sYWJlbCB9fVxuICAgICAgICAgICAgICA8L256LWF1dG8tb3B0aW9uPlxuICAgICAgICAgICAgfVxuICAgICAgICAgIDwvbnotYXV0b2NvbXBsZXRlPlxuICAgICAgICA8L256LWlucHV0LWdyb3VwPlxuICAgICAgfVxuICAgICAgQGNhc2UgKCdncm91cCcpIHtcbiAgICAgICAgPG56LWlucHV0LWdyb3VwXG4gICAgICAgICAgW256UHJlZml4SWNvbl09XCJwcm9wc1sncHJlZml4SWNvbiddXCJcbiAgICAgICAgICBbbnpTdWZmaXhJY29uXT1cInByb3BzWydzdWZmaXhJY29uJ11cIlxuICAgICAgICAgIFtuekFkZE9uQWZ0ZXJJY29uXT1cInByb3BzWydhZGRPbkFmdGVySWNvbiddXCJcbiAgICAgICAgICBbbnpBZGRPbkJlZm9yZUljb25dPVwicHJvcHNbJ2FkZE9uQmVmb3JlSWNvbiddXCJcbiAgICAgICAgICBbbnpBZGRPbkJlZm9yZV09XCJwcm9wc1snYWRkT25CZWZvcmUnXVwiXG4gICAgICAgICAgW256QWRkT25BZnRlcl09XCJwcm9wc1snYWRkT25BZnRlciddXCJcbiAgICAgICAgICBbbnpQcmVmaXhdPVwicHJvcHNbJ3ByZWZpeCddXCJcbiAgICAgICAgICBbbnpTdWZmaXhdPVwicHJvcHNbJ2FsbG93Q2xlYXInXSEhID8gaW5wdXRDbGVhclRwbCA6IHByb3BzWydzdWZmaXgnXVwiXG4gICAgICAgICAgW256Q29tcGFjdF09XCJwcm9wc1snY29tcGFjdCddISFcIlxuICAgICAgICAgIFtuelNlYXJjaF09XCJwcm9wc1snc2VhcmNoJ10hIVwiXG4gICAgICAgICAgW256U2l6ZV09XCJwcm9wc1snc2l6ZSddIVwiXG4gICAgICAgICAgW256U3RhdHVzXT1cInByb3BzWydzdGF0dXMnXSFcIlxuICAgICAgICA+XG4gICAgICAgICAgPGlucHV0XG4gICAgICAgICAgICBuei1pbnB1dFxuICAgICAgICAgICAgdHlwZT1cInRleHRcIlxuICAgICAgICAgICAgW25nQ2xhc3NdPVwicHJvcHNbJ2NsYXNzTmFtZSddIVwiXG4gICAgICAgICAgICBbZm9ybUNvbnRyb2xdPVwiZm9ybUNvbnRyb2xcIlxuICAgICAgICAgICAgW2Zvcm1seUF0dHJpYnV0ZXNdPVwiZmllbGRcIlxuICAgICAgICAgICAgW256Qm9yZGVybGVzc109XCIhIXByb3BzWydib3JkZXJsZXNzJ10hIVwiXG4gICAgICAgICAgICAobmdNb2RlbENoYW5nZSk9XCJwcm9wc1snbW9kZWxDaGFuZ2UnXT8uKGZpZWxkLCAkZXZlbnQpXCJcbiAgICAgICAgICAvPlxuICAgICAgICA8L256LWlucHV0LWdyb3VwPlxuICAgICAgfVxuICAgICAgQGRlZmF1bHQge1xuICAgICAgICA8aW5wdXRcbiAgICAgICAgICBuei1pbnB1dFxuICAgICAgICAgIHR5cGU9XCJ0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