ngx-formly-zorro-antd 17.1.0 → 17.1.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/package.json +3 -0
- package/button/package.json +3 -0
- package/button-group/package.json +3 -0
- package/card/card.module.d.ts +1 -1
- package/card/package.json +3 -0
- package/card-wrapper/package.json +3 -0
- package/cascader/package.json +3 -0
- package/checkbox/package.json +3 -0
- package/common/package.json +3 -0
- package/datepicker/package.json +3 -0
- package/esm2022/autocomplete/autocomplete.props.mjs +1 -1
- package/esm2022/autocomplete/public_api.mjs +1 -1
- package/esm2022/button/button.module.mjs +1 -1
- package/esm2022/button/button.type.mjs +123 -123
- package/esm2022/button/public_api.mjs +1 -1
- package/esm2022/button-group/button-group.module.mjs +1 -1
- package/esm2022/button-group/button-group.type.mjs +67 -67
- package/esm2022/button-group/public_api.mjs +1 -1
- package/esm2022/card/card.module.mjs +3 -4
- package/esm2022/card/card.type.mjs +51 -51
- package/esm2022/card/public_api.mjs +1 -1
- package/esm2022/card-wrapper/card-wrapper.module.mjs +1 -1
- package/esm2022/card-wrapper/card-wrapper.props.mjs +1 -1
- package/esm2022/card-wrapper/card.wrapper.mjs +37 -37
- package/esm2022/card-wrapper/public_api.mjs +1 -1
- package/esm2022/cascader/cascader.module.mjs +1 -1
- package/esm2022/cascader/cascader.type.mjs +65 -65
- package/esm2022/cascader/public_api.mjs +1 -1
- package/esm2022/checkbox/checkbox.module.mjs +1 -1
- package/esm2022/checkbox/checkbox.type.mjs +39 -39
- package/esm2022/checkbox/public_api.mjs +1 -1
- package/esm2022/common/common.module.mjs +1 -1
- package/esm2022/common/formly-box-templates.directive.mjs +1 -1
- package/esm2022/common/formly-utils.mjs +1 -1
- package/esm2022/common/interface.mjs +1 -1
- package/esm2022/common/public_api.mjs +1 -1
- package/esm2022/datepicker/datepicker.module.mjs +1 -1
- package/esm2022/datepicker/datepicker.props.mjs +1 -1
- package/esm2022/datepicker/datepicker.type.mjs +149 -149
- package/esm2022/datepicker/public_api.mjs +1 -1
- package/esm2022/extension/public_api.mjs +1 -1
- package/esm2022/extension/value-changes-extension.mjs +1 -1
- package/esm2022/form-field/form-field.module.mjs +1 -1
- package/esm2022/form-field/form-field.props.mjs +1 -1
- package/esm2022/form-field/form-field.wrapper.mjs +159 -125
- package/esm2022/form-field/public_api.mjs +1 -1
- package/esm2022/grid/grid.module.mjs +1 -1
- package/esm2022/grid/grid.props.mjs +1 -1
- package/esm2022/grid/grid.type.mjs +59 -59
- package/esm2022/grid/public_api.mjs +1 -1
- package/esm2022/index.mjs +1 -1
- package/esm2022/input/input.module.mjs +1 -1
- package/esm2022/input/input.props.mjs +1 -1
- package/esm2022/input/input.type.mjs +275 -275
- package/esm2022/input/public_api.mjs +1 -1
- package/esm2022/input-group/input-group.module.mjs +1 -1
- package/esm2022/input-group/input-group.props.mjs +1 -1
- package/esm2022/input-group/input-group.type.mjs +39 -39
- package/esm2022/input-group/public_api.mjs +1 -1
- package/esm2022/input-number/input-number.module.mjs +1 -1
- package/esm2022/input-number/input-number.props.mjs +1 -1
- package/esm2022/input-number/input-number.type.mjs +89 -89
- package/esm2022/input-number/public_api.mjs +1 -1
- package/esm2022/lib/ui-ng-zorro-antd.mjs +1 -1
- package/esm2022/lib/ui-ng-zorro-antd.module.mjs +1 -1
- package/esm2022/radio/public_api.mjs +1 -1
- package/esm2022/radio/radio.module.mjs +1 -1
- package/esm2022/radio/radio.type.mjs +81 -81
- package/esm2022/rate/public_api.mjs +1 -1
- package/esm2022/rate/rate.module.mjs +1 -1
- package/esm2022/rate/rate.type.mjs +33 -33
- package/esm2022/ref-template/public_api.mjs +1 -1
- package/esm2022/ref-template/ref-template.module.mjs +1 -1
- package/esm2022/ref-template/ref-template.type.mjs +9 -9
- package/esm2022/select/public_api.mjs +1 -1
- package/esm2022/select/select.module.mjs +1 -1
- package/esm2022/select/select.props.mjs +1 -1
- package/esm2022/select/select.type.mjs +123 -123
- package/esm2022/slider/public_api.mjs +1 -1
- package/esm2022/slider/slider.module.mjs +1 -1
- package/esm2022/slider/slider.type.mjs +33 -33
- package/esm2022/space/public_api.mjs +1 -1
- package/esm2022/space/space.module.mjs +1 -1
- package/esm2022/space/space.type.mjs +27 -27
- package/esm2022/switch/public_api.mjs +1 -1
- package/esm2022/switch/switch.module.mjs +1 -1
- package/esm2022/switch/switch.type.mjs +25 -25
- package/esm2022/tabs/public_api.mjs +1 -1
- package/esm2022/tabs/tabs.module.mjs +1 -1
- package/esm2022/tabs/tabs.props.mjs +1 -1
- package/esm2022/tabs/tabs.wrapper.mjs +79 -79
- package/esm2022/text-value/public_api.mjs +1 -1
- package/esm2022/text-value/text-value.module.mjs +1 -1
- package/esm2022/text-value/text-value.type.mjs +19 -19
- package/esm2022/textarea/public_api.mjs +1 -1
- package/esm2022/textarea/textarea.module.mjs +1 -1
- package/esm2022/textarea/textarea.type.mjs +113 -113
- package/esm2022/timepicker/public_api.mjs +1 -1
- package/esm2022/timepicker/timepicker.module.mjs +1 -1
- package/esm2022/timepicker/timepicker.type.mjs +61 -61
- package/esm2022/transfer/public_api.mjs +1 -1
- package/esm2022/transfer/transfer.component.mjs +49 -49
- package/esm2022/transfer/transfer.module.mjs +1 -1
- package/esm2022/transfer/transfer.type.mjs +47 -47
- package/esm2022/tree-select/public_api.mjs +1 -1
- package/esm2022/tree-select/tree-select.module.mjs +1 -1
- package/esm2022/tree-select/tree-select.type.mjs +69 -69
- package/esm2022/upload/public_api.mjs +1 -1
- package/esm2022/upload/upload.component.mjs +143 -143
- package/esm2022/upload/upload.module.mjs +1 -1
- package/esm2022/upload/upload.props.mjs +1 -1
- package/esm2022/upload/upload.type.mjs +83 -83
- package/extension/package.json +3 -0
- package/fesm2022/ngx-formly-zorro-antd-button-group.mjs +66 -66
- package/fesm2022/ngx-formly-zorro-antd-button-group.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-button.mjs +122 -122
- package/fesm2022/ngx-formly-zorro-antd-button.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs +36 -36
- package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-card.mjs +52 -53
- package/fesm2022/ngx-formly-zorro-antd-card.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-cascader.mjs +64 -64
- package/fesm2022/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-checkbox.mjs +38 -38
- package/fesm2022/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-common.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs +148 -148
- package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-extension.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-form-field.mjs +158 -124
- package/fesm2022/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-grid.mjs +58 -58
- package/fesm2022/ngx-formly-zorro-antd-grid.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-input-group.mjs +38 -38
- package/fesm2022/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-input-number.mjs +88 -88
- package/fesm2022/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-input.mjs +274 -274
- package/fesm2022/ngx-formly-zorro-antd-input.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-radio.mjs +80 -80
- package/fesm2022/ngx-formly-zorro-antd-radio.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-rate.mjs +32 -32
- package/fesm2022/ngx-formly-zorro-antd-rate.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-ref-template.mjs +8 -8
- package/fesm2022/ngx-formly-zorro-antd-ref-template.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-select.mjs +122 -122
- package/fesm2022/ngx-formly-zorro-antd-select.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-slider.mjs +32 -32
- package/fesm2022/ngx-formly-zorro-antd-slider.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-space.mjs +26 -26
- package/fesm2022/ngx-formly-zorro-antd-space.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-switch.mjs +24 -24
- package/fesm2022/ngx-formly-zorro-antd-switch.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-tabs.mjs +78 -78
- package/fesm2022/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-text-value.mjs +18 -18
- package/fesm2022/ngx-formly-zorro-antd-text-value.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-textarea.mjs +112 -112
- package/fesm2022/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-timepicker.mjs +60 -60
- package/fesm2022/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-transfer.mjs +94 -94
- package/fesm2022/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs +68 -68
- package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-upload.mjs +224 -224
- package/fesm2022/ngx-formly-zorro-antd-upload.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd.mjs.map +1 -1
- package/form-field/form-field.props.d.ts +16 -0
- package/form-field/form-field.wrapper.d.ts +4 -0
- package/form-field/package.json +3 -0
- package/grid/package.json +3 -0
- package/input/package.json +3 -0
- package/input-group/package.json +3 -0
- package/input-number/package.json +3 -0
- package/package.json +12 -12
- package/radio/package.json +3 -0
- package/rate/package.json +3 -0
- package/ref-template/package.json +3 -0
- package/select/package.json +3 -0
- package/slider/package.json +3 -0
- package/space/package.json +3 -0
- package/switch/package.json +3 -0
- package/tabs/package.json +3 -0
- package/text-value/package.json +3 -0
- package/textarea/package.json +3 -0
- package/timepicker/package.json +3 -0
- package/transfer/package.json +3 -0
- package/tree-select/package.json +3 -0
- package/upload/package.json +3 -0
@@ -18,126 +18,126 @@ export class FormlyFieldTextarea extends FieldType {
|
|
18
18
|
};
|
19
19
|
}
|
20
20
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: FormlyFieldTextarea, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
21
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.6", type: FormlyFieldTextarea, selector: "formly-field-textarea", usesInheritance: true, ngImport: i0, template: `
|
22
|
-
@switch (props.type) {
|
23
|
-
@case ('count') {
|
24
|
-
<nz-textarea-count [nzMaxCharacterCount]="props['maxCharacterCount'] || 0">
|
25
|
-
<textarea
|
26
|
-
[formControl]="formControl"
|
27
|
-
[formlyAttributes]="field"
|
28
|
-
[ngClass]="props['ngClass']"
|
29
|
-
[ngStyle]="props['ngStyle']"
|
30
|
-
[attr.rows]="props.rows"
|
31
|
-
[attr.cols]="props.cols"
|
32
|
-
[nzBorderless]="props['borderless']!!"
|
33
|
-
[nzAutosize]="props['autosize']!!"
|
34
|
-
nz-input
|
35
|
-
></textarea>
|
36
|
-
</nz-textarea-count>
|
37
|
-
}
|
38
|
-
@case ('clear') {
|
39
|
-
<nz-input-group
|
40
|
-
class="ant-input-affix-wrapper-textarea-with-clear-btn"
|
41
|
-
[nzSuffix]="textAreaClearTpl"
|
42
|
-
>
|
43
|
-
<ng-container *ngTemplateOutlet="textareaTpl"> </ng-container>
|
44
|
-
</nz-input-group>
|
45
|
-
}
|
46
|
-
@default {
|
47
|
-
<ng-container *ngTemplateOutlet="textareaTpl"> </ng-container>
|
48
|
-
}
|
49
|
-
}
|
50
|
-
|
51
|
-
<ng-template #textareaTpl>
|
52
|
-
<textarea
|
53
|
-
[formControl]="formControl"
|
54
|
-
[formlyAttributes]="field"
|
55
|
-
[ngClass]="props['ngClass']"
|
56
|
-
[ngStyle]="props['ngStyle']"
|
57
|
-
[attr.rows]="props.rows"
|
58
|
-
[attr.cols]="props.cols"
|
59
|
-
nz-input
|
60
|
-
[nzBorderless]="props['borderless']!!"
|
61
|
-
[nzAutosize]="props['autosize']!!"
|
62
|
-
></textarea>
|
63
|
-
</ng-template>
|
64
|
-
|
65
|
-
<!-- 清除数据 -->
|
66
|
-
<ng-template #textAreaClearTpl>
|
67
|
-
@if (formControl.value && !props['disabled'] && !props['readonly']) {
|
68
|
-
<span
|
69
|
-
nz-icon
|
70
|
-
class="ant-input-clear-icon"
|
71
|
-
nzTheme="fill"
|
72
|
-
nzType="close-circle"
|
73
|
-
(click)="formControl.reset()"
|
74
|
-
></span>
|
75
|
-
}
|
76
|
-
</ng-template>
|
21
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.6", type: FormlyFieldTextarea, selector: "formly-field-textarea", usesInheritance: true, ngImport: i0, template: `
|
22
|
+
@switch (props.type) {
|
23
|
+
@case ('count') {
|
24
|
+
<nz-textarea-count [nzMaxCharacterCount]="props['maxCharacterCount'] || 0">
|
25
|
+
<textarea
|
26
|
+
[formControl]="formControl"
|
27
|
+
[formlyAttributes]="field"
|
28
|
+
[ngClass]="props['ngClass']"
|
29
|
+
[ngStyle]="props['ngStyle']"
|
30
|
+
[attr.rows]="props.rows"
|
31
|
+
[attr.cols]="props.cols"
|
32
|
+
[nzBorderless]="props['borderless']!!"
|
33
|
+
[nzAutosize]="props['autosize']!!"
|
34
|
+
nz-input
|
35
|
+
></textarea>
|
36
|
+
</nz-textarea-count>
|
37
|
+
}
|
38
|
+
@case ('clear') {
|
39
|
+
<nz-input-group
|
40
|
+
class="ant-input-affix-wrapper-textarea-with-clear-btn"
|
41
|
+
[nzSuffix]="textAreaClearTpl"
|
42
|
+
>
|
43
|
+
<ng-container *ngTemplateOutlet="textareaTpl"> </ng-container>
|
44
|
+
</nz-input-group>
|
45
|
+
}
|
46
|
+
@default {
|
47
|
+
<ng-container *ngTemplateOutlet="textareaTpl"> </ng-container>
|
48
|
+
}
|
49
|
+
}
|
50
|
+
|
51
|
+
<ng-template #textareaTpl>
|
52
|
+
<textarea
|
53
|
+
[formControl]="formControl"
|
54
|
+
[formlyAttributes]="field"
|
55
|
+
[ngClass]="props['ngClass']"
|
56
|
+
[ngStyle]="props['ngStyle']"
|
57
|
+
[attr.rows]="props.rows"
|
58
|
+
[attr.cols]="props.cols"
|
59
|
+
nz-input
|
60
|
+
[nzBorderless]="props['borderless']!!"
|
61
|
+
[nzAutosize]="props['autosize']!!"
|
62
|
+
></textarea>
|
63
|
+
</ng-template>
|
64
|
+
|
65
|
+
<!-- 清除数据 -->
|
66
|
+
<ng-template #textAreaClearTpl>
|
67
|
+
@if (formControl.value && !props['disabled'] && !props['readonly']) {
|
68
|
+
<span
|
69
|
+
nz-icon
|
70
|
+
class="ant-input-clear-icon"
|
71
|
+
nzTheme="fill"
|
72
|
+
nzType="close-circle"
|
73
|
+
(click)="formControl.reset()"
|
74
|
+
></span>
|
75
|
+
}
|
76
|
+
</ng-template>
|
77
77
|
`, 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.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { 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: "component", type: i3.NzTextareaCountComponent, selector: "nz-textarea-count", inputs: ["nzMaxCharacterCount", "nzComputeCharacterCount", "nzFormatter"] }, { 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.NzAutosizeDirective, selector: "textarea[nzAutosize]", inputs: ["nzAutosize"], exportAs: ["nzAutosize"] }, { kind: "directive", type: i3.NzInputGroupWhitSuffixOrPrefixDirective, selector: "nz-input-group[nzSuffix], nz-input-group[nzPrefix]" }, { kind: "directive", type: i4.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "directive", type: i5.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
78
78
|
}
|
79
79
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: FormlyFieldTextarea, decorators: [{
|
80
80
|
type: Component,
|
81
81
|
args: [{
|
82
82
|
selector: 'formly-field-textarea',
|
83
|
-
template: `
|
84
|
-
@switch (props.type) {
|
85
|
-
@case ('count') {
|
86
|
-
<nz-textarea-count [nzMaxCharacterCount]="props['maxCharacterCount'] || 0">
|
87
|
-
<textarea
|
88
|
-
[formControl]="formControl"
|
89
|
-
[formlyAttributes]="field"
|
90
|
-
[ngClass]="props['ngClass']"
|
91
|
-
[ngStyle]="props['ngStyle']"
|
92
|
-
[attr.rows]="props.rows"
|
93
|
-
[attr.cols]="props.cols"
|
94
|
-
[nzBorderless]="props['borderless']!!"
|
95
|
-
[nzAutosize]="props['autosize']!!"
|
96
|
-
nz-input
|
97
|
-
></textarea>
|
98
|
-
</nz-textarea-count>
|
99
|
-
}
|
100
|
-
@case ('clear') {
|
101
|
-
<nz-input-group
|
102
|
-
class="ant-input-affix-wrapper-textarea-with-clear-btn"
|
103
|
-
[nzSuffix]="textAreaClearTpl"
|
104
|
-
>
|
105
|
-
<ng-container *ngTemplateOutlet="textareaTpl"> </ng-container>
|
106
|
-
</nz-input-group>
|
107
|
-
}
|
108
|
-
@default {
|
109
|
-
<ng-container *ngTemplateOutlet="textareaTpl"> </ng-container>
|
110
|
-
}
|
111
|
-
}
|
112
|
-
|
113
|
-
<ng-template #textareaTpl>
|
114
|
-
<textarea
|
115
|
-
[formControl]="formControl"
|
116
|
-
[formlyAttributes]="field"
|
117
|
-
[ngClass]="props['ngClass']"
|
118
|
-
[ngStyle]="props['ngStyle']"
|
119
|
-
[attr.rows]="props.rows"
|
120
|
-
[attr.cols]="props.cols"
|
121
|
-
nz-input
|
122
|
-
[nzBorderless]="props['borderless']!!"
|
123
|
-
[nzAutosize]="props['autosize']!!"
|
124
|
-
></textarea>
|
125
|
-
</ng-template>
|
126
|
-
|
127
|
-
<!-- 清除数据 -->
|
128
|
-
<ng-template #textAreaClearTpl>
|
129
|
-
@if (formControl.value && !props['disabled'] && !props['readonly']) {
|
130
|
-
<span
|
131
|
-
nz-icon
|
132
|
-
class="ant-input-clear-icon"
|
133
|
-
nzTheme="fill"
|
134
|
-
nzType="close-circle"
|
135
|
-
(click)="formControl.reset()"
|
136
|
-
></span>
|
137
|
-
}
|
138
|
-
</ng-template>
|
83
|
+
template: `
|
84
|
+
@switch (props.type) {
|
85
|
+
@case ('count') {
|
86
|
+
<nz-textarea-count [nzMaxCharacterCount]="props['maxCharacterCount'] || 0">
|
87
|
+
<textarea
|
88
|
+
[formControl]="formControl"
|
89
|
+
[formlyAttributes]="field"
|
90
|
+
[ngClass]="props['ngClass']"
|
91
|
+
[ngStyle]="props['ngStyle']"
|
92
|
+
[attr.rows]="props.rows"
|
93
|
+
[attr.cols]="props.cols"
|
94
|
+
[nzBorderless]="props['borderless']!!"
|
95
|
+
[nzAutosize]="props['autosize']!!"
|
96
|
+
nz-input
|
97
|
+
></textarea>
|
98
|
+
</nz-textarea-count>
|
99
|
+
}
|
100
|
+
@case ('clear') {
|
101
|
+
<nz-input-group
|
102
|
+
class="ant-input-affix-wrapper-textarea-with-clear-btn"
|
103
|
+
[nzSuffix]="textAreaClearTpl"
|
104
|
+
>
|
105
|
+
<ng-container *ngTemplateOutlet="textareaTpl"> </ng-container>
|
106
|
+
</nz-input-group>
|
107
|
+
}
|
108
|
+
@default {
|
109
|
+
<ng-container *ngTemplateOutlet="textareaTpl"> </ng-container>
|
110
|
+
}
|
111
|
+
}
|
112
|
+
|
113
|
+
<ng-template #textareaTpl>
|
114
|
+
<textarea
|
115
|
+
[formControl]="formControl"
|
116
|
+
[formlyAttributes]="field"
|
117
|
+
[ngClass]="props['ngClass']"
|
118
|
+
[ngStyle]="props['ngStyle']"
|
119
|
+
[attr.rows]="props.rows"
|
120
|
+
[attr.cols]="props.cols"
|
121
|
+
nz-input
|
122
|
+
[nzBorderless]="props['borderless']!!"
|
123
|
+
[nzAutosize]="props['autosize']!!"
|
124
|
+
></textarea>
|
125
|
+
</ng-template>
|
126
|
+
|
127
|
+
<!-- 清除数据 -->
|
128
|
+
<ng-template #textAreaClearTpl>
|
129
|
+
@if (formControl.value && !props['disabled'] && !props['readonly']) {
|
130
|
+
<span
|
131
|
+
nz-icon
|
132
|
+
class="ant-input-clear-icon"
|
133
|
+
nzTheme="fill"
|
134
|
+
nzType="close-circle"
|
135
|
+
(click)="formControl.reset()"
|
136
|
+
></span>
|
137
|
+
}
|
138
|
+
</ng-template>
|
139
139
|
`,
|
140
140
|
changeDetection: ChangeDetectionStrategy.OnPush
|
141
141
|
}]
|
142
142
|
}] });
|
143
|
-
//# sourceMappingURL=data:application/json;base64,
|
143
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dGFyZWEudHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvdGV4dGFyZWEvc3JjL3RleHRhcmVhLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBUSx1QkFBdUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6RSxPQUFPLEVBQUUsU0FBUyxFQUFtQixNQUFNLGtCQUFrQixDQUFDOzs7Ozs7O0FBMEY5RCxNQUFNLE9BQU8sbUJBQW9CLFNBQVEsU0FBeUM7SUE3RGxGOztRQThEVyxtQkFBYyxHQUFHO1lBQ3hCLEtBQUssRUFBRTtnQkFDTCxJQUFJLEVBQUUsQ0FBQztnQkFDUCxRQUFRLEVBQUUsS0FBSztnQkFDZixVQUFVLEVBQUUsS0FBSzthQUNsQjtTQUNGLENBQUM7S0FDSDs4R0FSWSxtQkFBbUI7a0dBQW5CLG1CQUFtQixvRkEzRHBCOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQXdEVDs7MkZBR1UsbUJBQW1CO2tCQTdEL0IsU0FBUzttQkFBQztvQkFDVCxRQUFRLEVBQUUsdUJBQXVCO29CQUNqQyxRQUFRLEVBQUU7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7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QgaW50ZXJmYWNlIEZvcm1seVRleHRhcmVhRmllbGRDb25maWcgZXh0ZW5kcyBOekZvcm1seUZpZWxkQ29uZmlnPFRleHRhcmVhUHJvcHM+IHtcbiAgdHlwZTogJ3RleHRhcmVhJyB8IFR5cGU8Rm9ybWx5RmllbGRUZXh0YXJlYT47XG59XG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ2Zvcm1seS1maWVsZC10ZXh0YXJlYScsXG4gIHRlbXBsYXRlOiBgXG4gICAgQHN3aXRjaCAocHJvcHMudHlwZSkge1xuICAgICAgQGNhc2UgKCdjb3VudCcpIHtcbiAgICAgICAgPG56LXRleHRhcmVhLWNvdW50IFtuek1heENoYXJhY3RlckNvdW50XT1cInByb3BzWydtYXhDaGFyYWN0ZXJDb3VudCddIHx8IDBcIj5cbiAgICAgICAgICA8dGV4dGFyZWFcbiAgICAgICAgICAgIFtmb3JtQ29udHJvbF09XCJmb3JtQ29udHJvbFwiXG4gICAgICAgICAgICBbZm9ybWx5QXR0cmlidXRlc109XCJmaWVsZFwiXG4gICAgICAgICAgICBbbmdDbGFzc109XCJwcm9wc1snbmdDbGFzcyddXCJcbiAgICAgICAgICAgIFtuZ1N0eWxlXT1cInByb3BzWyduZ1N0eWxlJ11cIlxuICAgICAgICAgICAgW2F0dHIucm93c109XCJwcm9wcy5yb3dzXCJcbiAgICAgICAgICAgIFthdHRyLmNvbHNdPVwicHJvcHMuY29sc1wiXG4gICAgICAgICAgICBbbnpCb3JkZXJsZXNzXT1cInByb3BzWydib3JkZXJsZXNzJ10hIVwiXG4gICAgICAgICAgICBbbnpBdXRvc2l6ZV09XCJwcm9wc1snYXV0b3NpemUnXSEhXCJcbiAgICAgICAgICAgIG56LWlucHV0XG4gICAgICAgICAgPjwvdGV4dGFyZWE+XG4gICAgICAgIDwvbnotdGV4dGFyZWEtY291bnQ+XG4gICAgICB9XG4gICAgICBAY2FzZSAoJ2NsZWFyJykge1xuICAgICAgICA8bnotaW5wdXQtZ3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FyZWFDbGVhclRwbD5cbiAgICAgIEBpZiAoZm9ybUNvbnRyb2wudmFsdWUgJiYgIXByb3BzWydkaXNhYmxlZCddICYmICFwcm9wc1sncmVhZG9ubHknXSkge1xuICAgICAgICA8c3BhblxuICAgICAgICAgIG56LWljb25cbiAgICAgICAgICBjbGFzcz1cImFudC1pbnB1dC1jbGVhci1pY29uXCJcbiAgICAgICAgICBuelRoZW1lPVwiZmlsbFwiXG4gICAgICAgICAgbnpUeXBlPVwiY2xvc2UtY2lyY2xlXCJcbiAgICAgICAgICAoY2xpY2spPVwiZm9ybUNvbnRyb2wucmVzZXQoKVwiXG4gICAgICAgID48L3NwYW4+XG4gICAgICB9XG4gICAgPC9uZy10ZW1wbGF0ZT5cbiAgYCxcbiAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2hcbn0pXG5leHBvcnQgY2xhc3MgRm9ybWx5RmllbGRUZXh0YXJlYSBleHRlbmRzIEZpZWxkVHlwZTxGaWVsZFR5cGVDb25maWc8VGV4dGFyZWFQcm9wcz4+IHtcbiAgb3ZlcnJpZGUgZGVmYXVsdE9wdGlvbnMgPSB7XG4gICAgcHJvcHM6IHtcbiAgICAgIHJvd3M6IDQsXG4gICAgICBhdXRvc2l6ZTogZmFsc2UsXG4gICAgICBib3JkZXJsZXNzOiBmYWxzZVxuICAgIH1cbiAgfTtcbn1cbiJdfQ==
|
@@ -1,3 +1,3 @@
|
|
1
1
|
export { FormlyNzTimepickerModule } from './timepicker.module';
|
2
2
|
export { FormlyFieldTimepicker } from './timepicker.type';
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvdGltZXBpY2tlci9zcmMvcHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUMvRCxPQUFPLEVBQUUscUJBQXFCLEVBQStCLE1BQU0sbUJBQW1CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBGb3JtbHlOelRpbWVwaWNrZXJNb2R1bGUgfSBmcm9tICcuL3RpbWVwaWNrZXIubW9kdWxlJztcbmV4cG9ydCB7IEZvcm1seUZpZWxkVGltZXBpY2tlciwgRm9ybWx5VGltZXBpY2tlckZpZWxkQ29uZmlnIH0gZnJvbSAnLi90aW1lcGlja2VyLnR5cGUnO1xuIl19
|
@@ -48,4 +48,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImpor
|
|
48
48
|
]
|
49
49
|
}]
|
50
50
|
}] });
|
51
|
-
//# sourceMappingURL=data:application/json;base64,
|
51
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGltZXBpY2tlci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL3RpbWVwaWNrZXIvc3JjL3RpbWVwaWNrZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUNoRCxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNyRCxPQUFPLEVBQUUsdUJBQXVCLEVBQ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@ export class FormlyFieldTimepicker extends FieldType {
|
|
23
23
|
};
|
24
24
|
}
|
25
25
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: FormlyFieldTimepicker, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
26
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.6", type: FormlyFieldTimepicker, selector: "formly-field-timepicker", usesInheritance: true, ngImport: i0, template: `<nz-time-picker
|
27
|
-
#time
|
28
|
-
[formControl]="formControl"
|
29
|
-
[formlyAttributes]="field"
|
30
|
-
[nzPlaceHolder]="props.placeholder ?? ''"
|
31
|
-
[ngClass]="props['ngClass']"
|
32
|
-
[nzAddOn]="props['addOn']"
|
33
|
-
[nzAllowEmpty]="props['allowEmpty']!!"
|
34
|
-
[nzAutoFocus]="props['autoFocus']!!"
|
35
|
-
[nzBackdrop]="props['backdrop']!!"
|
36
|
-
[nzClearText]="props['clearText']"
|
37
|
-
[nzNowText]="props['nowText']"
|
38
|
-
[nzOkText]="props['okText']"
|
39
|
-
[nzDefaultOpenValue]="props['defaultOpenValue']"
|
40
|
-
[nzDisabledHours]="props['disabledHours']"
|
41
|
-
[nzDisabledMinutes]="props['disabledMinutes']"
|
42
|
-
[nzDisabledSeconds]="props['disabledSeconds']"
|
43
|
-
[nzFormat]="props['format']"
|
44
|
-
[nzHideDisabledOptions]="props['hideDisabledOptions']!!"
|
45
|
-
[nzHourStep]="props['hourStep']"
|
46
|
-
[nzBorderless]="props['borderless']!!"
|
47
|
-
[nzInputReadOnly]="props['inputReadOnly']!!"
|
48
|
-
[nzMinuteStep]="props['minuteStep']"
|
49
|
-
[nzSecondStep]="props['secondStep']"
|
50
|
-
[nzOpen]="props['open']!!"
|
51
|
-
[nzPopupClassName]="props['popupClassName']"
|
52
|
-
[nzUse12Hours]="props['use12Hours']!!"
|
53
|
-
[nzSuffixIcon]="props['suffixIcon']"
|
54
|
-
(ngModelChange)="props.change && props.change(field, $event)"
|
55
|
-
(nzOpenChange)="props['openChange'] && props['openChange'](field, $event)"
|
26
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.6", type: FormlyFieldTimepicker, selector: "formly-field-timepicker", usesInheritance: true, ngImport: i0, template: `<nz-time-picker
|
27
|
+
#time
|
28
|
+
[formControl]="formControl"
|
29
|
+
[formlyAttributes]="field"
|
30
|
+
[nzPlaceHolder]="props.placeholder ?? ''"
|
31
|
+
[ngClass]="props['ngClass']"
|
32
|
+
[nzAddOn]="props['addOn']"
|
33
|
+
[nzAllowEmpty]="props['allowEmpty']!!"
|
34
|
+
[nzAutoFocus]="props['autoFocus']!!"
|
35
|
+
[nzBackdrop]="props['backdrop']!!"
|
36
|
+
[nzClearText]="props['clearText']"
|
37
|
+
[nzNowText]="props['nowText']"
|
38
|
+
[nzOkText]="props['okText']"
|
39
|
+
[nzDefaultOpenValue]="props['defaultOpenValue']"
|
40
|
+
[nzDisabledHours]="props['disabledHours']"
|
41
|
+
[nzDisabledMinutes]="props['disabledMinutes']"
|
42
|
+
[nzDisabledSeconds]="props['disabledSeconds']"
|
43
|
+
[nzFormat]="props['format']"
|
44
|
+
[nzHideDisabledOptions]="props['hideDisabledOptions']!!"
|
45
|
+
[nzHourStep]="props['hourStep']"
|
46
|
+
[nzBorderless]="props['borderless']!!"
|
47
|
+
[nzInputReadOnly]="props['inputReadOnly']!!"
|
48
|
+
[nzMinuteStep]="props['minuteStep']"
|
49
|
+
[nzSecondStep]="props['secondStep']"
|
50
|
+
[nzOpen]="props['open']!!"
|
51
|
+
[nzPopupClassName]="props['popupClassName']"
|
52
|
+
[nzUse12Hours]="props['use12Hours']!!"
|
53
|
+
[nzSuffixIcon]="props['suffixIcon']"
|
54
|
+
(ngModelChange)="props.change && props.change(field, $event)"
|
55
|
+
(nzOpenChange)="props['openChange'] && props['openChange'](field, $event)"
|
56
56
|
></nz-time-picker>`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.NzTimePickerComponent, selector: "nz-time-picker", inputs: ["nzId", "nzSize", "nzStatus", "nzHourStep", "nzMinuteStep", "nzSecondStep", "nzClearText", "nzNowText", "nzOkText", "nzPopupClassName", "nzPlaceHolder", "nzAddOn", "nzDefaultOpenValue", "nzDisabledHours", "nzDisabledMinutes", "nzDisabledSeconds", "nzFormat", "nzOpen", "nzUse12Hours", "nzSuffixIcon", "nzHideDisabledOptions", "nzAllowEmpty", "nzDisabled", "nzAutoFocus", "nzBackdrop", "nzBorderless", "nzInputReadOnly"], outputs: ["nzOpenChange"], exportAs: ["nzTimePicker"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
57
57
|
}
|
58
58
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: FormlyFieldTimepicker, decorators: [{
|
59
59
|
type: Component,
|
60
60
|
args: [{
|
61
61
|
selector: 'formly-field-timepicker',
|
62
|
-
template: `<nz-time-picker
|
63
|
-
#time
|
64
|
-
[formControl]="formControl"
|
65
|
-
[formlyAttributes]="field"
|
66
|
-
[nzPlaceHolder]="props.placeholder ?? ''"
|
67
|
-
[ngClass]="props['ngClass']"
|
68
|
-
[nzAddOn]="props['addOn']"
|
69
|
-
[nzAllowEmpty]="props['allowEmpty']!!"
|
70
|
-
[nzAutoFocus]="props['autoFocus']!!"
|
71
|
-
[nzBackdrop]="props['backdrop']!!"
|
72
|
-
[nzClearText]="props['clearText']"
|
73
|
-
[nzNowText]="props['nowText']"
|
74
|
-
[nzOkText]="props['okText']"
|
75
|
-
[nzDefaultOpenValue]="props['defaultOpenValue']"
|
76
|
-
[nzDisabledHours]="props['disabledHours']"
|
77
|
-
[nzDisabledMinutes]="props['disabledMinutes']"
|
78
|
-
[nzDisabledSeconds]="props['disabledSeconds']"
|
79
|
-
[nzFormat]="props['format']"
|
80
|
-
[nzHideDisabledOptions]="props['hideDisabledOptions']!!"
|
81
|
-
[nzHourStep]="props['hourStep']"
|
82
|
-
[nzBorderless]="props['borderless']!!"
|
83
|
-
[nzInputReadOnly]="props['inputReadOnly']!!"
|
84
|
-
[nzMinuteStep]="props['minuteStep']"
|
85
|
-
[nzSecondStep]="props['secondStep']"
|
86
|
-
[nzOpen]="props['open']!!"
|
87
|
-
[nzPopupClassName]="props['popupClassName']"
|
88
|
-
[nzUse12Hours]="props['use12Hours']!!"
|
89
|
-
[nzSuffixIcon]="props['suffixIcon']"
|
90
|
-
(ngModelChange)="props.change && props.change(field, $event)"
|
91
|
-
(nzOpenChange)="props['openChange'] && props['openChange'](field, $event)"
|
62
|
+
template: `<nz-time-picker
|
63
|
+
#time
|
64
|
+
[formControl]="formControl"
|
65
|
+
[formlyAttributes]="field"
|
66
|
+
[nzPlaceHolder]="props.placeholder ?? ''"
|
67
|
+
[ngClass]="props['ngClass']"
|
68
|
+
[nzAddOn]="props['addOn']"
|
69
|
+
[nzAllowEmpty]="props['allowEmpty']!!"
|
70
|
+
[nzAutoFocus]="props['autoFocus']!!"
|
71
|
+
[nzBackdrop]="props['backdrop']!!"
|
72
|
+
[nzClearText]="props['clearText']"
|
73
|
+
[nzNowText]="props['nowText']"
|
74
|
+
[nzOkText]="props['okText']"
|
75
|
+
[nzDefaultOpenValue]="props['defaultOpenValue']"
|
76
|
+
[nzDisabledHours]="props['disabledHours']"
|
77
|
+
[nzDisabledMinutes]="props['disabledMinutes']"
|
78
|
+
[nzDisabledSeconds]="props['disabledSeconds']"
|
79
|
+
[nzFormat]="props['format']"
|
80
|
+
[nzHideDisabledOptions]="props['hideDisabledOptions']!!"
|
81
|
+
[nzHourStep]="props['hourStep']"
|
82
|
+
[nzBorderless]="props['borderless']!!"
|
83
|
+
[nzInputReadOnly]="props['inputReadOnly']!!"
|
84
|
+
[nzMinuteStep]="props['minuteStep']"
|
85
|
+
[nzSecondStep]="props['secondStep']"
|
86
|
+
[nzOpen]="props['open']!!"
|
87
|
+
[nzPopupClassName]="props['popupClassName']"
|
88
|
+
[nzUse12Hours]="props['use12Hours']!!"
|
89
|
+
[nzSuffixIcon]="props['suffixIcon']"
|
90
|
+
(ngModelChange)="props.change && props.change(field, $event)"
|
91
|
+
(nzOpenChange)="props['openChange'] && props['openChange'](field, $event)"
|
92
92
|
></nz-time-picker>`,
|
93
93
|
changeDetection: ChangeDetectionStrategy.OnPush
|
94
94
|
}]
|
95
95
|
}] });
|
96
|
-
//# sourceMappingURL=data:application/json;base64,
|
96
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGltZXBpY2tlci50eXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC90aW1lcGlja2VyL3NyYy90aW1lcGlja2VyLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBcUIsdUJBQXVCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFdEYsT0FBTyxFQUFFLFNBQVMsRUFBbUIsTUFBTSxrQkFBa0IsQ0FBQzs7Ozs7O0FBbUw5RCxNQUFNLE9BQU8scUJBQXNCLFNBQVEsU0FBMEI7SUFuQ3JFOztRQW9DVyxtQkFBYyxHQUFHO1lBQ3hCLEtBQUssRUFBRTtnQkFDTCxVQUFVLEVBQUUsSUFBSTtnQkFDaEIsU0FBUyxFQUFFLEtBQUs7Z0JBQ2hCLFFBQVEsRUFBRSxLQUFLO2dCQUNmLF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cDogZmFsc2UsXG4gICAgICBib3JkZXJsZXNzOiBmYWxzZSxcbiAgICAgIGlucHV0UmVhZE9ubHk6IGZhbHNlLFxuICAgICAgb3BlbjogZmFsc2UsXG4gICAgICBjbGVhclRleHQ6ICdjbGVhcicsXG4gICAgICBkZWZhdWx0T3BlblZhbHVlOiBuZXcgRGF0ZSgpLFxuICAgICAgZm9ybWF0OiAnSEg6bW06c3MnIGFzIE56U2FmZUFueVxuICAgIH1cbiAgfTtcbn1cbiJdfQ==
|
@@ -1,3 +1,3 @@
|
|
1
1
|
export { FormlyNzTransferModule } from './transfer.module';
|
2
2
|
export { FormlyFieldTransfer } from './transfer.type';
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvdHJhbnNmZXIvc3JjL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFDM0QsT0FBTyxFQUFFLG1CQUFtQixFQUE2QixNQUFNLGlCQUFpQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgRm9ybWx5TnpUcmFuc2Zlck1vZHVsZSB9IGZyb20gJy4vdHJhbnNmZXIubW9kdWxlJztcbmV4cG9ydCB7IEZvcm1seUZpZWxkVHJhbnNmZXIsIEZvcm1seVRyYW5zZmVyRmllbGRDb25maWcgfSBmcm9tICcuL3RyYW5zZmVyLnR5cGUnO1xuIl19
|
@@ -54,60 +54,60 @@ export class TransferComponent extends NzTransferComponent {
|
|
54
54
|
useExisting: TransferComponent,
|
55
55
|
multi: true
|
56
56
|
}
|
57
|
-
], viewQueries: [{ propertyName: "transfer", first: true, predicate: ["transfer"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
58
|
-
<nz-transfer
|
59
|
-
#transfer
|
60
|
-
[nzDataSource]="nzDataSource"
|
61
|
-
[nzDisabled]="nzDisabled"
|
62
|
-
[nzTitles]="nzTitles"
|
63
|
-
[nzOperations]="nzOperations"
|
64
|
-
[nzListStyle]="nzListStyle"
|
65
|
-
[nzItemUnit]="nzItemUnit"
|
66
|
-
[nzItemsUnit]="nzItemsUnit"
|
67
|
-
[nzRenderList]="nzRenderList"
|
68
|
-
[nzRender]="nzRender"
|
69
|
-
[nzFooter]="nzFooter"
|
70
|
-
[nzShowSearch]="nzShowSearch"
|
71
|
-
[nzFilterOption]="nzFilterOption"
|
72
|
-
[nzSearchPlaceholder]="nzSearchPlaceholder"
|
73
|
-
[nzNotFoundContent]="nzNotFoundContent"
|
74
|
-
[nzSelectedKeys]="nzSelectedKeys"
|
75
|
-
[nzTargetKeys]="nzTargetKeys"
|
76
|
-
(nzChange)="change($event)"
|
77
|
-
(nzSearchChange)="searchChange($event)"
|
78
|
-
(nzSelectChange)="selectChange($event)"
|
79
|
-
style="flex: auto;"
|
80
|
-
></nz-transfer>
|
57
|
+
], viewQueries: [{ propertyName: "transfer", first: true, predicate: ["transfer"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
58
|
+
<nz-transfer
|
59
|
+
#transfer
|
60
|
+
[nzDataSource]="nzDataSource"
|
61
|
+
[nzDisabled]="nzDisabled"
|
62
|
+
[nzTitles]="nzTitles"
|
63
|
+
[nzOperations]="nzOperations"
|
64
|
+
[nzListStyle]="nzListStyle"
|
65
|
+
[nzItemUnit]="nzItemUnit"
|
66
|
+
[nzItemsUnit]="nzItemsUnit"
|
67
|
+
[nzRenderList]="nzRenderList"
|
68
|
+
[nzRender]="nzRender"
|
69
|
+
[nzFooter]="nzFooter"
|
70
|
+
[nzShowSearch]="nzShowSearch"
|
71
|
+
[nzFilterOption]="nzFilterOption"
|
72
|
+
[nzSearchPlaceholder]="nzSearchPlaceholder"
|
73
|
+
[nzNotFoundContent]="nzNotFoundContent"
|
74
|
+
[nzSelectedKeys]="nzSelectedKeys"
|
75
|
+
[nzTargetKeys]="nzTargetKeys"
|
76
|
+
(nzChange)="change($event)"
|
77
|
+
(nzSearchChange)="searchChange($event)"
|
78
|
+
(nzSelectChange)="selectChange($event)"
|
79
|
+
style="flex: auto;"
|
80
|
+
></nz-transfer>
|
81
81
|
`, isInline: true, dependencies: [{ kind: "component", type: i1.NzTransferComponent, selector: "nz-transfer", inputs: ["nzDisabled", "nzDataSource", "nzTitles", "nzOperations", "nzListStyle", "nzShowSelectAll", "nzItemUnit", "nzItemsUnit", "nzCanMove", "nzRenderList", "nzRender", "nzFooter", "nzShowSearch", "nzFilterOption", "nzSearchPlaceholder", "nzNotFoundContent", "nzTargetKeys", "nzSelectedKeys", "nzStatus"], outputs: ["nzChange", "nzSearchChange", "nzSelectChange"], exportAs: ["nzTransfer"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
82
82
|
}
|
83
83
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: TransferComponent, decorators: [{
|
84
84
|
type: Component,
|
85
85
|
args: [{
|
86
86
|
selector: 'formly-transfer',
|
87
|
-
template: `
|
88
|
-
<nz-transfer
|
89
|
-
#transfer
|
90
|
-
[nzDataSource]="nzDataSource"
|
91
|
-
[nzDisabled]="nzDisabled"
|
92
|
-
[nzTitles]="nzTitles"
|
93
|
-
[nzOperations]="nzOperations"
|
94
|
-
[nzListStyle]="nzListStyle"
|
95
|
-
[nzItemUnit]="nzItemUnit"
|
96
|
-
[nzItemsUnit]="nzItemsUnit"
|
97
|
-
[nzRenderList]="nzRenderList"
|
98
|
-
[nzRender]="nzRender"
|
99
|
-
[nzFooter]="nzFooter"
|
100
|
-
[nzShowSearch]="nzShowSearch"
|
101
|
-
[nzFilterOption]="nzFilterOption"
|
102
|
-
[nzSearchPlaceholder]="nzSearchPlaceholder"
|
103
|
-
[nzNotFoundContent]="nzNotFoundContent"
|
104
|
-
[nzSelectedKeys]="nzSelectedKeys"
|
105
|
-
[nzTargetKeys]="nzTargetKeys"
|
106
|
-
(nzChange)="change($event)"
|
107
|
-
(nzSearchChange)="searchChange($event)"
|
108
|
-
(nzSelectChange)="selectChange($event)"
|
109
|
-
style="flex: auto;"
|
110
|
-
></nz-transfer>
|
87
|
+
template: `
|
88
|
+
<nz-transfer
|
89
|
+
#transfer
|
90
|
+
[nzDataSource]="nzDataSource"
|
91
|
+
[nzDisabled]="nzDisabled"
|
92
|
+
[nzTitles]="nzTitles"
|
93
|
+
[nzOperations]="nzOperations"
|
94
|
+
[nzListStyle]="nzListStyle"
|
95
|
+
[nzItemUnit]="nzItemUnit"
|
96
|
+
[nzItemsUnit]="nzItemsUnit"
|
97
|
+
[nzRenderList]="nzRenderList"
|
98
|
+
[nzRender]="nzRender"
|
99
|
+
[nzFooter]="nzFooter"
|
100
|
+
[nzShowSearch]="nzShowSearch"
|
101
|
+
[nzFilterOption]="nzFilterOption"
|
102
|
+
[nzSearchPlaceholder]="nzSearchPlaceholder"
|
103
|
+
[nzNotFoundContent]="nzNotFoundContent"
|
104
|
+
[nzSelectedKeys]="nzSelectedKeys"
|
105
|
+
[nzTargetKeys]="nzTargetKeys"
|
106
|
+
(nzChange)="change($event)"
|
107
|
+
(nzSearchChange)="searchChange($event)"
|
108
|
+
(nzSelectChange)="selectChange($event)"
|
109
|
+
style="flex: auto;"
|
110
|
+
></nz-transfer>
|
111
111
|
`,
|
112
112
|
encapsulation: ViewEncapsulation.None,
|
113
113
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
@@ -125,4 +125,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImpor
|
|
125
125
|
}], resultMap: [{
|
126
126
|
type: Input
|
127
127
|
}] } });
|
128
|
-
//# sourceMappingURL=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