ngx-formly-zorro-antd 17.0.10 → 17.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -1
- package/autocomplete/autocomplete.props.d.ts +2 -4
- package/card-wrapper/card-wrapper.props.d.ts +3 -2
- package/common/interface.d.ts +3 -1
- 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 +1 -1
- 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 +125 -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 +297 -286
- 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/ngx-formly-zorro-antd-text-value.mjs +5 -0
- package/esm2022/text-value/public_api.mjs +3 -0
- package/esm2022/text-value/text-value.module.mjs +46 -0
- package/esm2022/text-value/text-value.type.mjs +68 -0
- 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 +145 -145
- package/esm2022/upload/upload.module.mjs +1 -1
- package/esm2022/upload/upload.props.mjs +1 -1
- package/esm2022/upload/upload.type.mjs +88 -87
- 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 +50 -50
- 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 +124 -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 +297 -286
- 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 +115 -0
- package/fesm2022/ngx-formly-zorro-antd-text-value.mjs.map +1 -0
- 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 +230 -230
- 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 +8 -16
- package/grid/grid.props.d.ts +6 -9
- package/input/input.type.d.ts +6 -1
- package/input-group/input-group.props.d.ts +4 -0
- package/package.json +24 -18
- package/text-value/index.d.ts +5 -0
- package/text-value/public_api.d.ts +2 -0
- package/text-value/text-value.module.d.ts +11 -0
- package/text-value/text-value.type.d.ts +37 -0
- package/tree-select/tree-select.type.d.ts +2 -3
- package/upload/upload.component.d.ts +3 -4
- package/autocomplete/package.json +0 -3
- package/button/package.json +0 -3
- package/button-group/package.json +0 -3
- package/card/package.json +0 -3
- package/card-wrapper/package.json +0 -3
- package/cascader/package.json +0 -3
- package/checkbox/package.json +0 -3
- package/common/package.json +0 -3
- package/datepicker/package.json +0 -3
- package/extension/package.json +0 -3
- package/form-field/package.json +0 -3
- package/grid/package.json +0 -3
- package/input/package.json +0 -3
- package/input-group/package.json +0 -3
- package/input-number/package.json +0 -3
- package/radio/package.json +0 -3
- package/rate/package.json +0 -3
- package/ref-template/package.json +0 -3
- package/select/package.json +0 -3
- package/slider/package.json +0 -3
- package/space/package.json +0 -3
- package/switch/package.json +0 -3
- package/tabs/package.json +0 -3
- package/textarea/package.json +0 -3
- package/timepicker/package.json +0 -3
- package/transfer/package.json +0 -3
- package/tree-select/package.json +0 -3
- package/upload/package.json +0 -3
@@ -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['
|
29
|
-
[ngStyle]="props['
|
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['
|
56
|
-
[ngStyle]="props['
|
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['
|
91
|
-
[ngStyle]="props['
|
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['
|
118
|
-
[ngStyle]="props['
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dGFyZWEudHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvdGV4dGFyZWEvc3JjL3RleHRhcmVhLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBUSx1QkFBdUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6RSxPQUFPLEVBQUUsU0FBUyxFQUFtQixNQUFNLGtCQUFrQixDQUFDOzs7Ozs7O0FBMEY5RCxNQUFNLE9BQU8sbUJBQW9CLFNBQVEsU0FBeUM7SUE3RGxGOztRQThEVyxtQkFBYyxHQUFHO1lBQ3hCLEtBQUssRUFBRTtnQkFDTCxJQUFJLEVBQUUsQ0FBQztnQkFDUCxRQUFRLEVBQUUsS0FBSztnQkFDZixVQUFVLEVBQUUsS0FBSzthQUNsQjtTQUNGLENBQUM7S0FDSDs4R0FSWSxtQkFBbUI7a0dBQW5CLG1CQUFtQixvRkEzRHBCOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7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dPVwicHJvcHMuY29sc1wiXHJcbiAgICAgICAgICAgIFtuekJvcmRlcmxlc3NdPVwicHJvcHNbJ2JvcmRlcmxlc3MnXSEhXCJcclxuICAgICAgICAgICAgW256QXV0b3NpemVdPVwicHJvcHNbJ2F1dG9zaXplJ10hIVwiXHJcbiAgICAgICAgICAgIG56LWlucHV0XHJcbiAgICAgICAgICA+PC90ZXh0YXJlYT5cclxuICAgICAgICA8L256LXRleHRhcmVhLWNvdW50PlxyXG4gICAgICB9XHJcbiAgICAgIEBjYXNlICgnY2xlYXInKSB7XHJcbiAgICAgICAgPG56LWlucHV0LWdyb3VwXHJcbiAgICAgICAgICBjbGFzcz1cImFudC1pbnB1dC1hZmZpeC13cmFwcGVyLXRleHRhcmVhLXdpdGgtY2xlYXItYnRuXCJcclxuICAgICAgICAgIFtuelN1ZmZpeF09XCJ0ZXh0QXJlYUNsZWFyVHBsXCJcclxuICAgICAgICA+XHJcbiAgICAgICAgICA8bmctY29udGFpbmVyICpuZ1RlbXBsYXRlT3V0bGV0PVwidGV4dGFyZWFUcGxcIj4gPC9uZy1jb250YWluZXI+XHJcbiAgICAgICAgPC9uei1pbnB1dC1ncm91cD5cclxuICAgICAgfVxyXG4gICAgICBAZGVmYXVsdCB7XHJcbiAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdUZW1wbGF0ZU91dGxldD1cInRleHRhcmVhVHBsXCI+IDwvbmctY29udGFpbmVyPlxyXG4gICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgPG5nLXRlbXBsYXRlICN0ZXh0YXJlYVRwbD5cclxuICAgICAgPHRleHRhcmVhXHJcbiAgICAgICAgW2Zvcm1Db250cm9sXT1cImZvcm1Db250cm9sXCJcclxuICAgICAgICBbZm9ybWx5QXR0cmlidXRlc109XCJmaWVsZFwiXHJcbiAgICAgICAgW25nQ2xhc3NdPVwicHJvcHNbJ25nQ2xhc3MnXVwiXHJcbiAgICAgICAgW25nU3R5bGVdPVwicHJvcHNbJ25nU3R5bG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vcHM6IHtcclxuICAgICAgcm93czogNCxcclxuICAgICAgYXV0b3NpemU6IGZhbHNlLFxyXG4gICAgICBib3JkZXJsZXNzOiBmYWxzZVxyXG4gICAgfVxyXG4gIH07XHJcbn1cclxuIl19
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvdGltZXBpY2tlci9zcmMvcHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUMvRCxPQUFPLEVBQUUscUJBQXFCLEVBQStCLE1BQU0sbUJBQW1CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBGb3JtbHlOelRpbWVwaWNrZXJNb2R1bGUgfSBmcm9tICcuL3RpbWVwaWNrZXIubW9kdWxlJztcclxuZXhwb3J0IHsgRm9ybWx5RmllbGRUaW1lcGlja2VyLCBGb3JtbHlUaW1lcGlja2VyRmllbGRDb25maWcgfSBmcm9tICcuL3RpbWVwaWNrZXIudHlwZSc7XHJcbiJdfQ==
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGltZXBpY2tlci5tb2R1bGUuanMiLCJz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1vbk1vZHVsZSxcclxuICAgIFJlYWN0aXZlRm9ybXNNb2R1bGUsXHJcbiAgICBGb3JtbHlOekZvcm1GaWVsZE1vZHVsZSxcclxuXHJcbiAgICBOelRpbWVQaWNrZXJNb2R1bGUsXHJcblxyXG4gICAgRm9ybWx5TW9kdWxlLmZvckNoaWxkKHtcclxuICAgICAgdHlwZXM6IFtcclxuICAgICAgICB7XHJcbiAgICAgICAgICBuYW1lOiAndGltZXBpY2tlcicsXHJcbiAgICAgICAgICBjb21wb25lbnQ6IEZvcm1seUZpZWxkVGltZXBpY2tlcixcclxuICAgICAgICAgIHdyYXBwZXJzOiBbJ2Zvcm0tZmllbGQnXVxyXG4gICAgICAgIH1cclxuICAgICAgXVxyXG4gICAgfSlcclxuICBdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBGb3JtbHlOelRpbWVwaWNrZXJNb2R1bGUge31cclxuIl19
|
@@ -23,74 +23,74 @@ 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['
|
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['
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGltZXBpY2tlci50eXBlLmpzIiwic291cmNlUm9vdCI6Ii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lOW4puacieiDjOaZr+adv1xyXG4gICAqIEBkZWZhdWx0IGZhbHNlXHJcbiAgICovXHJcbiAgYmFja2Ryb3A/OiBib29sZWFuO1xyXG5cclxuICAvKipcclxuICAgKiDmuIXpmaTmjInpkq7nmoTmj5DnpLrmlofmoYhcclxuICAgKiBAZGVmYXVsdCBjbGVhclxyXG4gICAqL1xyXG4gIGNsZWFyVGV4dD86IHN0cmluZztcclxuXHJcbiAgLyoqXHJcbiAgICog5q2k5Yi75oyJ6ZKu5paH5pysXHJcbiAgICogQGRlZmF1bHQg5q2k5Yi7XHJcbiAgICovXHJcbiAgbm93VGV4dD86IHN0cmluZztcclxuXHJcbiAgLyoqXHJcbiAgICog56Gu6K6k5oyJ6ZKu5paH5pysXHJcbiAgICogQGRlZmF1bHQg56Gu5a6aXHJcbiAgICovXHJcbiAgb2tUZXh0Pzogc3RyaW5nO1xyXG5cclxuICAvKipcclxuICAgKiDlvZMgW25nTW9kZWxdIOS4jeWtmOWcqOaXtu+8jOWPr+S7peiuvue9rumdouadv+aJk+W8gOaXtum7mOiupOmAieS4reeahOWAvFxyXG4gICAqIEBkZWZhdWx0IG5ldyBEYXRlKClcclxuICAgKi9cclxuICBkZWZhdWx0T3BlblZhbHVlPzogRGF0ZTtcclxuXHJcbiAgLyoqXHJcbiAgICogXHTnpoHmraLpgInmi6npg6jliIblsI/ml7bpgInpoblcclxuICAgKi9cclxuICBkaXNhYmxlZEhvdXJzPzogKCkgPT4gbnVtYmVyW107XHJcblxyXG4gIC8qKlxyXG4gICAqIOemgeatoumAieaLqemDqOWIhuWIhumSn+mAiemhuVxyXG4gICAqL1xyXG4gIGRpc2FibGVkTWludXRlcz86IChob3VyOiBudW1iZXIpID0+IG51bWJlcltdO1xyXG5cclxuICAvKipcclxuICAgKiDnpoHmraLpgInmi6npg6jliIbnp5LpgInpoblcclxuICAgKi9cclxuICBkaXNhYmxlZFNlY29uZHM/OiAoaG91cjogbnVtYmVyLCBtaW51dGU6IG51bWJlcikgP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sZWFyVGV4dDogJ2NsZWFyJyxcclxuICAgICAgZGVmYXVsdE9wZW5WYWx1ZTogbmV3IERhdGUoKSxcclxuICAgICAgZm9ybWF0OiAnSEg6bW06c3MnIGFzIE56U2FmZUFueVxyXG4gICAgfVxyXG4gIH07XHJcbn1cclxuIl19
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvdHJhbnNmZXIvc3JjL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFDM0QsT0FBTyxFQUFFLG1CQUFtQixFQUE2QixNQUFNLGlCQUFpQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgRm9ybWx5TnpUcmFuc2Zlck1vZHVsZSB9IGZyb20gJy4vdHJhbnNmZXIubW9kdWxlJztcclxuZXhwb3J0IHsgRm9ybWx5RmllbGRUcmFuc2ZlciwgRm9ybWx5VHJhbnNmZXJGaWVsZENvbmZpZyB9IGZyb20gJy4vdHJhbnNmZXIudHlwZSc7XHJcbiJdfQ==
|
@@ -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=data:application/json;base64,
|
128
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNmZXIuY29tcG9uZW50LmpzIi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