ngx-formly-zorro-antd 13.0.0 → 14.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/autocomplete/{ngx-formly-zorro-antd-autocomplete.d.ts → index.d.ts} +0 -0
- package/button/button.type.d.ts +1 -1
- package/button/{ngx-formly-zorro-antd-button.d.ts → index.d.ts} +0 -0
- package/card/card.wrapper.d.ts +1 -1
- package/card/{ngx-formly-zorro-antd-card.d.ts → index.d.ts} +0 -0
- package/cascader/cascader.type.d.ts +1 -1
- package/cascader/{ngx-formly-zorro-antd-cascader.d.ts → index.d.ts} +0 -0
- package/checkbox/checkbox.type.d.ts +1 -1
- package/checkbox/{ngx-formly-zorro-antd-checkbox.d.ts → index.d.ts} +0 -0
- package/datepicker/datepicker.type.d.ts +1 -1
- package/datepicker/{ngx-formly-zorro-antd-datepicker.d.ts → index.d.ts} +0 -0
- package/esm2020/button/button.module.mjs +23 -25
- package/esm2020/button/button.type.mjs +9 -9
- package/esm2020/card/card.module.mjs +15 -17
- package/esm2020/card/card.wrapper.mjs +5 -5
- package/esm2020/cascader/cascader.module.mjs +17 -19
- package/esm2020/cascader/cascader.type.mjs +8 -8
- package/esm2020/checkbox/checkbox.module.mjs +21 -23
- package/esm2020/checkbox/checkbox.type.mjs +8 -8
- package/esm2020/datepicker/datepicker.module.mjs +17 -19
- package/esm2020/datepicker/datepicker.type.mjs +8 -8
- package/esm2020/form-field/form-field.module.mjs +15 -17
- package/esm2020/form-field/form-field.wrapper.mjs +9 -9
- package/esm2020/grid/grid.module.mjs +14 -16
- package/esm2020/grid/grid.type.mjs +7 -7
- package/esm2020/input/input.module.mjs +31 -33
- package/esm2020/input/input.type.mjs +81 -35
- package/esm2020/input-group/input-group.module.mjs +16 -18
- package/esm2020/input-group/input-group.type.mjs +8 -8
- package/esm2020/input-number/input-number.module.mjs +21 -23
- package/esm2020/input-number/input-number.type.mjs +8 -8
- package/esm2020/lib/ui-ng-zorro-antd.module.mjs +25 -27
- package/esm2020/radio/radio.module.mjs +19 -21
- package/esm2020/radio/radio.type.mjs +8 -8
- package/esm2020/rate/rate.module.mjs +17 -19
- package/esm2020/rate/rate.type.mjs +7 -7
- package/esm2020/select/select.module.mjs +19 -21
- package/esm2020/select/select.type.mjs +8 -8
- package/esm2020/slider/slider.module.mjs +17 -19
- package/esm2020/slider/slider.type.mjs +7 -7
- package/esm2020/switch/switch.module.mjs +17 -19
- package/esm2020/switch/switch.type.mjs +7 -7
- package/esm2020/tabs/tabs.module.mjs +14 -16
- package/esm2020/tabs/tabs.wrapper.mjs +8 -8
- package/esm2020/textarea/textarea.module.mjs +17 -19
- package/esm2020/textarea/textarea.type.mjs +8 -8
- package/esm2020/timepicker/timepicker.module.mjs +17 -19
- package/esm2020/timepicker/timepicker.type.mjs +8 -8
- package/esm2020/transfer/transfer.component.mjs +5 -5
- package/esm2020/transfer/transfer.module.mjs +17 -19
- package/esm2020/transfer/transfer.type.mjs +8 -8
- package/esm2020/tree-select/tree-select.module.mjs +17 -19
- package/esm2020/tree-select/tree-select.type.mjs +8 -8
- package/esm2020/upload/upload.component.mjs +10 -10
- package/esm2020/upload/upload.module.mjs +19 -21
- package/esm2020/upload/upload.type.mjs +8 -8
- package/fesm2015/ngx-formly-zorro-antd-button.mjs +31 -33
- package/fesm2015/ngx-formly-zorro-antd-button.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-card.mjs +18 -20
- package/fesm2015/ngx-formly-zorro-antd-card.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-cascader.mjs +24 -26
- package/fesm2015/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs +27 -29
- package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs +23 -25
- package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-form-field.mjs +23 -25
- package/fesm2015/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-grid.mjs +20 -22
- package/fesm2015/ngx-formly-zorro-antd-grid.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-input-group.mjs +23 -25
- package/fesm2015/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-input-number.mjs +27 -29
- package/fesm2015/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-input.mjs +111 -67
- package/fesm2015/ngx-formly-zorro-antd-input.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-radio.mjs +26 -28
- package/fesm2015/ngx-formly-zorro-antd-radio.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-rate.mjs +22 -24
- package/fesm2015/ngx-formly-zorro-antd-rate.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-select.mjs +26 -28
- package/fesm2015/ngx-formly-zorro-antd-select.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-slider.mjs +22 -24
- package/fesm2015/ngx-formly-zorro-antd-slider.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-switch.mjs +22 -24
- package/fesm2015/ngx-formly-zorro-antd-switch.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-tabs.mjs +21 -23
- package/fesm2015/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-textarea.mjs +23 -25
- package/fesm2015/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs +24 -26
- package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-transfer.mjs +27 -29
- package/fesm2015/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs +24 -26
- package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-upload.mjs +34 -36
- package/fesm2015/ngx-formly-zorro-antd-upload.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd.mjs +24 -26
- package/fesm2015/ngx-formly-zorro-antd.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-button.mjs +31 -33
- package/fesm2020/ngx-formly-zorro-antd-button.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-card.mjs +18 -20
- package/fesm2020/ngx-formly-zorro-antd-card.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-cascader.mjs +24 -26
- package/fesm2020/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs +27 -29
- package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs +23 -25
- package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-form-field.mjs +23 -25
- package/fesm2020/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-grid.mjs +20 -22
- package/fesm2020/ngx-formly-zorro-antd-grid.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-input-group.mjs +23 -25
- package/fesm2020/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-input-number.mjs +27 -29
- package/fesm2020/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-input.mjs +111 -67
- package/fesm2020/ngx-formly-zorro-antd-input.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-radio.mjs +26 -28
- package/fesm2020/ngx-formly-zorro-antd-radio.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-rate.mjs +22 -24
- package/fesm2020/ngx-formly-zorro-antd-rate.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-select.mjs +26 -28
- package/fesm2020/ngx-formly-zorro-antd-select.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-slider.mjs +22 -24
- package/fesm2020/ngx-formly-zorro-antd-slider.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-switch.mjs +22 -24
- package/fesm2020/ngx-formly-zorro-antd-switch.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-tabs.mjs +21 -23
- package/fesm2020/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-textarea.mjs +23 -25
- package/fesm2020/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs +24 -26
- package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-transfer.mjs +27 -29
- package/fesm2020/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs +24 -26
- package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-upload.mjs +34 -36
- package/fesm2020/ngx-formly-zorro-antd-upload.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd.mjs +24 -26
- package/fesm2020/ngx-formly-zorro-antd.mjs.map +1 -1
- package/form-field/form-field.wrapper.d.ts +1 -1
- package/form-field/{ngx-formly-zorro-antd-form-field.d.ts → index.d.ts} +0 -0
- package/grid/grid.type.d.ts +1 -1
- package/grid/{ngx-formly-zorro-antd-grid.d.ts → index.d.ts} +0 -0
- package/input/{ngx-formly-zorro-antd-input.d.ts → index.d.ts} +0 -0
- package/input/input.type.d.ts +1 -1
- package/input-group/{ngx-formly-zorro-antd-input-group.d.ts → index.d.ts} +0 -0
- package/input-group/input-group.type.d.ts +1 -1
- package/input-number/{ngx-formly-zorro-antd-input-number.d.ts → index.d.ts} +0 -0
- package/input-number/input-number.type.d.ts +1 -1
- package/package.json +30 -30
- package/radio/{ngx-formly-zorro-antd-radio.d.ts → index.d.ts} +0 -0
- package/radio/radio.type.d.ts +1 -1
- package/rate/{ngx-formly-zorro-antd-rate.d.ts → index.d.ts} +0 -0
- package/rate/rate.type.d.ts +1 -1
- package/select/{ngx-formly-zorro-antd-select.d.ts → index.d.ts} +0 -0
- package/select/select.type.d.ts +1 -1
- package/slider/{ngx-formly-zorro-antd-slider.d.ts → index.d.ts} +0 -0
- package/slider/slider.type.d.ts +1 -1
- package/switch/{ngx-formly-zorro-antd-switch.d.ts → index.d.ts} +0 -0
- package/switch/switch.type.d.ts +1 -1
- package/tabs/{ngx-formly-zorro-antd-tabs.d.ts → index.d.ts} +0 -0
- package/tabs/tabs.wrapper.d.ts +1 -1
- package/textarea/{ngx-formly-zorro-antd-textarea.d.ts → index.d.ts} +0 -0
- package/textarea/textarea.type.d.ts +1 -1
- package/timepicker/{ngx-formly-zorro-antd-timepicker.d.ts → index.d.ts} +0 -0
- package/timepicker/timepicker.type.d.ts +1 -1
- package/transfer/{ngx-formly-zorro-antd-transfer.d.ts → index.d.ts} +0 -0
- package/transfer/transfer.component.d.ts +1 -1
- package/transfer/transfer.type.d.ts +1 -1
- package/tree-select/{ngx-formly-zorro-antd-tree-select.d.ts → index.d.ts} +0 -0
- package/tree-select/tree-select.type.d.ts +1 -1
- package/upload/{ngx-formly-zorro-antd-upload.d.ts → index.d.ts} +0 -0
- package/upload/upload.component.d.ts +1 -1
- package/upload/upload.type.d.ts +1 -1
- package/autocomplete/package.json +0 -10
- package/button/package.json +0 -10
- package/card/package.json +0 -10
- package/cascader/package.json +0 -10
- package/checkbox/package.json +0 -10
- package/datepicker/package.json +0 -10
- package/form-field/package.json +0 -10
- package/grid/package.json +0 -10
- package/input/package.json +0 -10
- package/input-group/package.json +0 -10
- package/input-number/package.json +0 -10
- package/ngx-formly-zorro-antd.d.ts +0 -5
- package/radio/package.json +0 -10
- package/rate/package.json +0 -10
- package/select/package.json +0 -10
- package/slider/package.json +0 -10
- package/switch/package.json +0 -10
- package/tabs/package.json +0 -10
- package/textarea/package.json +0 -10
- package/timepicker/package.json +0 -10
- package/transfer/package.json +0 -10
- package/tree-select/package.json +0 -10
- package/upload/package.json +0 -10
@@ -2,9 +2,9 @@ import { Component, ChangeDetectionStrategy, ViewChild } from '@angular/core';
|
|
2
2
|
import { FieldType } from '@ngx-formly/core';
|
3
3
|
import { NzUploadComponent } from 'ng-zorro-antd/upload';
|
4
4
|
import * as i0 from "@angular/core";
|
5
|
-
import * as i1 from "
|
6
|
-
import * as i2 from "@
|
7
|
-
import * as i3 from "
|
5
|
+
import * as i1 from "@angular/forms";
|
6
|
+
import * as i2 from "@ngx-formly/core";
|
7
|
+
import * as i3 from "./upload.component";
|
8
8
|
export class FormlyFieldUpload extends FieldType {
|
9
9
|
constructor() {
|
10
10
|
super(...arguments);
|
@@ -29,8 +29,8 @@ export class FormlyFieldUpload extends FieldType {
|
|
29
29
|
}
|
30
30
|
}
|
31
31
|
}
|
32
|
-
FormlyFieldUpload.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
33
|
-
FormlyFieldUpload.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
32
|
+
FormlyFieldUpload.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldUpload, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
33
|
+
FormlyFieldUpload.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldUpload, selector: "formly-field-upload", viewQueries: [{ propertyName: "upload", first: true, predicate: ["upload"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `<formly-upload
|
34
34
|
#upload
|
35
35
|
[formControl]="formControl"
|
36
36
|
[formlyAttributes]="field"
|
@@ -67,8 +67,8 @@ FormlyFieldUpload.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
67
67
|
(nzFileListChange)="props['fileListChange'] && props['fileListChange']($event)"
|
68
68
|
[resultMap]="props['resultMap']"
|
69
69
|
>
|
70
|
-
</formly-upload>`, isInline: true,
|
71
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
70
|
+
</formly-upload>`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { kind: "component", type: i3.UploadComponent, selector: "formly-upload", inputs: ["text", "className", "resultMap"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
71
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldUpload, decorators: [{
|
72
72
|
type: Component,
|
73
73
|
args: [{
|
74
74
|
selector: 'formly-field-upload',
|
@@ -116,4 +116,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
116
116
|
type: ViewChild,
|
117
117
|
args: ['upload', { static: true }]
|
118
118
|
}] } });
|
119
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBsb2FkLnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL3VwbG9hZC9zcmMvdXBsb2FkLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLFNBQVMsRUFDVCx1QkFBdUIsRUFHdkIsU0FBUyxFQUVWLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU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ZUljb24g5ZKMIHNob3dEb3dubG9hZEljb25cclxuICAgKiBAZGVmYXVsdCB0cnVlXHJcbiAgICovXHJcbiAgc2hvd1VwbG9hZExpc3Q/OlxyXG4gICAgfCBib29sZWFuXHJcbiAgICB8IHsgc2hvd1ByZXZpZXdJY29uPzogYm9vbGVhbjsgc2hvd1JlbW92ZUljb24/OiBib29sZWFuOyBzaG93RG93bmxvYWRJY29uPzogYm9vbGVhbiB9O1xyXG5cclxuICAvKipcclxuICAgKiDmmK/lkKblsZXnpLrkuIrkvKDmjInpkq5cclxuICAgKiBAZGVmYXVsdCB0cnVlXHJcbiAgICovXHJcbiAgc2hvd0J1dHRvbj86IGJvb2xlYW47XHJcblxyXG4gIC8qKlxyXG4gICAqIOS4iuS8oOivt+axguaXtuaYr+WQpuaQuuW4piBjb29raWVcclxuICAgKiBAZGVmYXVsdCBmYWxzZVxyXG4gICAqL1xyXG4gIHdpdGhDcmVkZW50aWFscz86IGJvb2xlYW47XHJcblxyXG4gIC8qKlxyXG4gICAqIOeCueWHu+aJk+W8gOaWh+S7tuWvueivneahhlxyXG4gICAqIEBkZWZhdWx0IHRydWVcclxuICAgKi9cclxuICBvcGVuRmlsZURpYWxvZ09uQ2xpY2s/OiBib29sZWFuO1xyXG5cclxuICAvKipcclxuICAgKiDngrnlh7vmlofku7bpk77mjqXmiJbpooTop4jlm77moIfml7bnmoTlm57osIPvvJvms6jmhI/vvJrliqHlv4Xkvb/nlKggPT4g5a6a5LmJ5aSE55CG5pa55rOV44CCXHJcbiAgICovXHJcbiAgcHJldmlldz86IChmaWxlOiBOelVwbG9hZEZpbGUpID0+IHZvaWQ7XHJcblxyXG4gIC8qKlxyXG4gICAqIOiHquWumuS5ieaWh+S7tumihOiniOmAu+i+ke+8m+azqOaEj++8muWKoeW/heS9v+eUqCA9PiDlrprkuYnlpITnkIbmlrnms5XjgIJcclxuICAgKi9cclxuICBwcmV2aWV3RmlsZT86IChmaWxlOiBOelVwbG9hZEZpbGUpID0+IE9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bnQ7XHJcblxyXG4gIG5nT25Jbml0KCk6IHZvaWQge1xyXG4gICAgY29uc3QgdHlwZSA9IHRoaXMucHJvcHMudHlwZTtcclxuICAgIGlmICh0eXBlKSB7XHJcbiAgICAgIHRoaXMudXBsb2FkLm56VHlwZSA9IHR5cGUgYXMgTnpVcGxvYWRUeXBlO1xyXG4gICAgfVxyXG4gIH1cclxufVxyXG4iXX0=
|
@@ -1,15 +1,15 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
2
|
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
3
|
-
import * as
|
3
|
+
import * as i1 from '@angular/common';
|
4
4
|
import { CommonModule } from '@angular/common';
|
5
|
-
import * as
|
5
|
+
import * as i6 from '@ngx-formly/core';
|
6
6
|
import { FieldType, FormlyModule } from '@ngx-formly/core';
|
7
|
-
import * as
|
7
|
+
import * as i2 from 'ng-zorro-antd/button';
|
8
8
|
import { NzButtonModule } from 'ng-zorro-antd/button';
|
9
9
|
import * as i3 from 'ng-zorro-antd/core/transition-patch';
|
10
|
+
import * as i4 from 'ng-zorro-antd/core/wave';
|
10
11
|
import * as i5 from 'ng-zorro-antd/icon';
|
11
12
|
import { NzIconModule } from 'ng-zorro-antd/icon';
|
12
|
-
import * as i6 from 'ng-zorro-antd/core/wave';
|
13
13
|
|
14
14
|
class FormlyFieldButton extends FieldType {
|
15
15
|
constructor() {
|
@@ -25,8 +25,8 @@ class FormlyFieldButton extends FieldType {
|
|
25
25
|
};
|
26
26
|
}
|
27
27
|
}
|
28
|
-
FormlyFieldButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
29
|
-
FormlyFieldButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
28
|
+
FormlyFieldButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldButton, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
29
|
+
FormlyFieldButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldButton, selector: "formly-field-button", usesInheritance: true, ngImport: i0, template: `
|
30
30
|
<ng-container *ngIf="props.type === 'a'; else elsebutton">
|
31
31
|
<a
|
32
32
|
nz-button
|
@@ -64,8 +64,8 @@ FormlyFieldButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
64
64
|
<span *ngIf="props['iconOnAfter']" nz-icon [nzType]="props['iconOnAfter']"></span>
|
65
65
|
</button>
|
66
66
|
</ng-template>
|
67
|
-
`, isInline: true,
|
68
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
67
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i3.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "directive", type: i4.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { 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 });
|
68
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldButton, decorators: [{
|
69
69
|
type: Component,
|
70
70
|
args: [{
|
71
71
|
selector: 'formly-field-button',
|
@@ -114,32 +114,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
114
114
|
|
115
115
|
class FormlyNzButtonModule {
|
116
116
|
}
|
117
|
-
FormlyNzButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
118
|
-
FormlyNzButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
117
|
+
FormlyNzButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
118
|
+
FormlyNzButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzButtonModule, declarations: [FormlyFieldButton], imports: [CommonModule,
|
119
119
|
NzButtonModule,
|
120
|
-
NzIconModule,
|
121
|
-
FormlyNzButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
]] });
|
142
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzButtonModule, decorators: [{
|
120
|
+
NzIconModule, i6.FormlyModule] });
|
121
|
+
FormlyNzButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzButtonModule, imports: [CommonModule,
|
122
|
+
NzButtonModule,
|
123
|
+
NzIconModule,
|
124
|
+
FormlyModule.forChild({
|
125
|
+
types: [
|
126
|
+
{
|
127
|
+
name: 'button',
|
128
|
+
component: FormlyFieldButton
|
129
|
+
},
|
130
|
+
{
|
131
|
+
name: 'submit',
|
132
|
+
extends: 'button'
|
133
|
+
},
|
134
|
+
{
|
135
|
+
name: 'reset',
|
136
|
+
extends: 'button'
|
137
|
+
}
|
138
|
+
]
|
139
|
+
})] });
|
140
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzButtonModule, decorators: [{
|
143
141
|
type: NgModule,
|
144
142
|
args: [{
|
145
143
|
declarations: [FormlyFieldButton],
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ngx-formly-zorro-antd-button.mjs","sources":["../../../../packages/formlyantd/button/src/button.type.ts","../../../../packages/formlyantd/button/src/button.module.ts","../../../../packages/formlyantd/button/src/ngx-formly-zorro-antd-button.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\r\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport type { NzButtonShape, NzButtonSize, NzButtonType } from 'ng-zorro-antd/button';\r\n\r\ninterface ButtonProps extends FormlyFieldProps {\r\n type?: 'a' | 'button';\r\n /**\r\n * 幽灵属性,使按钮背景透明\r\n * @default false\r\n */\r\n ghost?: boolean;\r\n\r\n /**\r\n * 设置按钮载入状态\r\n * @default false\r\n */\r\n loading?: boolean;\r\n\r\n /**\r\n * 设置按钮形状\r\n */\r\n shape?: NzButtonShape;\r\n\r\n /**\r\n * 设置按钮大小\r\n * @default default\r\n */\r\n size?: NzButtonSize;\r\n\r\n /**\r\n * 设置按钮类型\r\n */\r\n buttonType?: NzButtonType;\r\n\r\n /**\r\n * 将按钮宽度调整为其父宽度的选项\r\n * @default false\r\n */\r\n block?: boolean;\r\n\r\n /**\r\n * 设置危险按钮\r\n * @default false\r\n */\r\n danger?: boolean;\r\n\r\n /**\r\n * 图标在前面\r\n */\r\n iconOnBefore?: string;\r\n\r\n /**\r\n * 图标在后面\r\n */\r\n iconOnAfter?: string;\r\n}\r\n\r\nexport interface FormlyButtonFieldConfig extends FormlyFieldConfig<ButtonProps> {\r\n type: 'button' | 'submit' | 'reset' | Type<FormlyFieldButton>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-button',\r\n template: `\r\n <ng-container *ngIf=\"props.type === 'a'; else elsebutton\">\r\n <a\r\n nz-button\r\n [formlyAttributes]=\"field\"\r\n [nzGhost]=\"props['ghost']!!\"\r\n [nzLoading]=\"props['loading']!!\"\r\n [nzShape]=\"props['shape'] ?? null\"\r\n [nzSize]=\"props['size']!\"\r\n [nzBlock]=\"props['block']!!\"\r\n [nzDanger]=\"props['danger']!!\"\r\n [nzType]=\"props['buttonType'] ?? 'link'\"\r\n [ngClass]=\"props['className']!\"\r\n >\r\n <span *ngIf=\"props['iconOnBefore']\" nz-icon [nzType]=\"props['iconOnBefore']\"></span>\r\n {{ props.label }}\r\n <span *ngIf=\"props['iconOnAfter']\" nz-icon [nzType]=\"props['iconOnAfter']\"></span>\r\n </a>\r\n </ng-container>\r\n <ng-template #elsebutton>\r\n <button\r\n nz-button\r\n [attr.type]=\"field.type\"\r\n [formlyAttributes]=\"field\"\r\n [nzGhost]=\"props['ghost']!!\"\r\n [nzLoading]=\"props['loading']!!\"\r\n [nzShape]=\"props['shape'] ?? null\"\r\n [nzSize]=\"props['size']!\"\r\n [nzBlock]=\"props['block']!!\"\r\n [nzDanger]=\"props['danger']!!\"\r\n [nzType]=\"props['buttonType'] ?? null\"\r\n [ngClass]=\"props['className']!\"\r\n >\r\n <span *ngIf=\"props['iconOnBefore']\" nz-icon [nzType]=\"props['iconOnBefore']\"></span>\r\n {{ props.label }}\r\n <span *ngIf=\"props['iconOnAfter']\" nz-icon [nzType]=\"props['iconOnAfter']\"></span>\r\n </button>\r\n </ng-template>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldButton extends FieldType<FieldTypeConfig<ButtonProps>> {\r\n override defaultOptions = {\r\n props: {\r\n ghost: false,\r\n loading: false,\r\n block: false,\r\n size: 'default' as const,\r\n danger: false\r\n }\r\n };\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\n\r\nimport { FormlyFieldButton } from './button.type';\r\nimport { NzButtonModule } from 'ng-zorro-antd/button';\r\nimport { NzIconModule } from 'ng-zorro-antd/icon';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldButton],\r\n imports: [\r\n CommonModule,\r\n NzButtonModule,\r\n NzIconModule,\r\n\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'button',\r\n component: FormlyFieldButton\r\n },\r\n {\r\n name: 'submit',\r\n extends: 'button'\r\n },\r\n {\r\n name: 'reset',\r\n extends: 'button'\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzButtonModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;AA0GM,MAAO,iBAAkB,SAAQ,SAAuC,CAAA;AA3C9E,IAAA,WAAA,GAAA;;QA4CW,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,KAAK,EAAE,KAAK;AACZ,gBAAA,OAAO,EAAE,KAAK;AACd,gBAAA,KAAK,EAAE,KAAK;AACZ,gBAAA,IAAI,EAAE,SAAkB;AACxB,gBAAA,MAAM,EAAE,KAAK;AACd,aAAA;SACF,CAAC;KACH
|
1
|
+
{"version":3,"file":"ngx-formly-zorro-antd-button.mjs","sources":["../../../../packages/formlyantd/button/src/button.type.ts","../../../../packages/formlyantd/button/src/button.module.ts","../../../../packages/formlyantd/button/src/ngx-formly-zorro-antd-button.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\r\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport type { NzButtonShape, NzButtonSize, NzButtonType } from 'ng-zorro-antd/button';\r\n\r\ninterface ButtonProps extends FormlyFieldProps {\r\n type?: 'a' | 'button';\r\n /**\r\n * 幽灵属性,使按钮背景透明\r\n * @default false\r\n */\r\n ghost?: boolean;\r\n\r\n /**\r\n * 设置按钮载入状态\r\n * @default false\r\n */\r\n loading?: boolean;\r\n\r\n /**\r\n * 设置按钮形状\r\n */\r\n shape?: NzButtonShape;\r\n\r\n /**\r\n * 设置按钮大小\r\n * @default default\r\n */\r\n size?: NzButtonSize;\r\n\r\n /**\r\n * 设置按钮类型\r\n */\r\n buttonType?: NzButtonType;\r\n\r\n /**\r\n * 将按钮宽度调整为其父宽度的选项\r\n * @default false\r\n */\r\n block?: boolean;\r\n\r\n /**\r\n * 设置危险按钮\r\n * @default false\r\n */\r\n danger?: boolean;\r\n\r\n /**\r\n * 图标在前面\r\n */\r\n iconOnBefore?: string;\r\n\r\n /**\r\n * 图标在后面\r\n */\r\n iconOnAfter?: string;\r\n}\r\n\r\nexport interface FormlyButtonFieldConfig extends FormlyFieldConfig<ButtonProps> {\r\n type: 'button' | 'submit' | 'reset' | Type<FormlyFieldButton>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-button',\r\n template: `\r\n <ng-container *ngIf=\"props.type === 'a'; else elsebutton\">\r\n <a\r\n nz-button\r\n [formlyAttributes]=\"field\"\r\n [nzGhost]=\"props['ghost']!!\"\r\n [nzLoading]=\"props['loading']!!\"\r\n [nzShape]=\"props['shape'] ?? null\"\r\n [nzSize]=\"props['size']!\"\r\n [nzBlock]=\"props['block']!!\"\r\n [nzDanger]=\"props['danger']!!\"\r\n [nzType]=\"props['buttonType'] ?? 'link'\"\r\n [ngClass]=\"props['className']!\"\r\n >\r\n <span *ngIf=\"props['iconOnBefore']\" nz-icon [nzType]=\"props['iconOnBefore']\"></span>\r\n {{ props.label }}\r\n <span *ngIf=\"props['iconOnAfter']\" nz-icon [nzType]=\"props['iconOnAfter']\"></span>\r\n </a>\r\n </ng-container>\r\n <ng-template #elsebutton>\r\n <button\r\n nz-button\r\n [attr.type]=\"field.type\"\r\n [formlyAttributes]=\"field\"\r\n [nzGhost]=\"props['ghost']!!\"\r\n [nzLoading]=\"props['loading']!!\"\r\n [nzShape]=\"props['shape'] ?? null\"\r\n [nzSize]=\"props['size']!\"\r\n [nzBlock]=\"props['block']!!\"\r\n [nzDanger]=\"props['danger']!!\"\r\n [nzType]=\"props['buttonType'] ?? null\"\r\n [ngClass]=\"props['className']!\"\r\n >\r\n <span *ngIf=\"props['iconOnBefore']\" nz-icon [nzType]=\"props['iconOnBefore']\"></span>\r\n {{ props.label }}\r\n <span *ngIf=\"props['iconOnAfter']\" nz-icon [nzType]=\"props['iconOnAfter']\"></span>\r\n </button>\r\n </ng-template>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldButton extends FieldType<FieldTypeConfig<ButtonProps>> {\r\n override defaultOptions = {\r\n props: {\r\n ghost: false,\r\n loading: false,\r\n block: false,\r\n size: 'default' as const,\r\n danger: false\r\n }\r\n };\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\n\r\nimport { FormlyFieldButton } from './button.type';\r\nimport { NzButtonModule } from 'ng-zorro-antd/button';\r\nimport { NzIconModule } from 'ng-zorro-antd/icon';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldButton],\r\n imports: [\r\n CommonModule,\r\n NzButtonModule,\r\n NzIconModule,\r\n\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'button',\r\n component: FormlyFieldButton\r\n },\r\n {\r\n name: 'submit',\r\n extends: 'button'\r\n },\r\n {\r\n name: 'reset',\r\n extends: 'button'\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzButtonModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;AA0GM,MAAO,iBAAkB,SAAQ,SAAuC,CAAA;AA3C9E,IAAA,WAAA,GAAA;;QA4CW,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,KAAK,EAAE,KAAK;AACZ,gBAAA,OAAO,EAAE,KAAK;AACd,gBAAA,KAAK,EAAE,KAAK;AACZ,gBAAA,IAAI,EAAE,SAAkB;AACxB,gBAAA,MAAM,EAAE,KAAK;AACd,aAAA;SACF,CAAC;KACH;;8GAVY,iBAAiB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAjB,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,iBAAiB,EAzClB,QAAA,EAAA,qBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCT,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,SAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,IAAA,EAAA,QAAA,EAAA,QAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAA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A,SAAS,EAAE,iBAAiB;AAC7B,iCAAA;AACD,gCAAA;AACE,oCAAA,IAAI,EAAE,QAAQ;AACd,oCAAA,OAAO,EAAE,QAAQ;AAClB,iCAAA;AACD,gCAAA;AACE,oCAAA,IAAI,EAAE,OAAO;AACb,oCAAA,OAAO,EAAE,QAAQ;AAClB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;iBACF,CAAA;;;AChCD;;AAEG;;;;"}
|
@@ -8,8 +8,8 @@ import { NzCardModule } from 'ng-zorro-antd/card';
|
|
8
8
|
|
9
9
|
class FormlyWrapperCard extends FieldWrapper {
|
10
10
|
}
|
11
|
-
FormlyWrapperCard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
12
|
-
FormlyWrapperCard.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
11
|
+
FormlyWrapperCard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyWrapperCard, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
12
|
+
FormlyWrapperCard.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyWrapperCard, selector: "formly-wrapper-card", usesInheritance: true, ngImport: i0, template: `
|
13
13
|
<nz-card
|
14
14
|
[nzActions]="props['actions'] || []"
|
15
15
|
[nzBodyStyle]="props['bodyStyle'] ?? null"
|
@@ -24,8 +24,8 @@ FormlyWrapperCard.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
|
|
24
24
|
>
|
25
25
|
<ng-container #fieldComponent></ng-container>
|
26
26
|
</nz-card>
|
27
|
-
`, isInline: true,
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
27
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i1.NzCardComponent, selector: "nz-card", inputs: ["nzBordered", "nzBorderless", "nzLoading", "nzHoverable", "nzBodyStyle", "nzCover", "nzActions", "nzType", "nzSize", "nzTitle", "nzExtra"], exportAs: ["nzCard"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyWrapperCard, decorators: [{
|
29
29
|
type: Component,
|
30
30
|
args: [{
|
31
31
|
selector: 'formly-wrapper-card',
|
@@ -51,23 +51,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
51
51
|
|
52
52
|
class FormlyNzCardModule {
|
53
53
|
}
|
54
|
-
FormlyNzCardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
55
|
-
FormlyNzCardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
54
|
+
FormlyNzCardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzCardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
55
|
+
FormlyNzCardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzCardModule, declarations: [FormlyWrapperCard], imports: [CommonModule,
|
56
56
|
NzCardModule, i1$1.FormlyModule] });
|
57
|
-
FormlyNzCardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
]] });
|
70
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzCardModule, decorators: [{
|
57
|
+
FormlyNzCardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzCardModule, imports: [CommonModule,
|
58
|
+
NzCardModule,
|
59
|
+
FormlyModule.forChild({
|
60
|
+
wrappers: [
|
61
|
+
{
|
62
|
+
name: 'card',
|
63
|
+
component: FormlyWrapperCard,
|
64
|
+
types: ['card']
|
65
|
+
}
|
66
|
+
]
|
67
|
+
})] });
|
68
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzCardModule, decorators: [{
|
71
69
|
type: NgModule,
|
72
70
|
args: [{
|
73
71
|
declarations: [FormlyWrapperCard],
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ngx-formly-zorro-antd-card.mjs","sources":["../../../../packages/formlyantd/card/src/card.wrapper.ts","../../../../packages/formlyantd/card/src/card.module.ts","../../../../packages/formlyantd/card/src/ngx-formly-zorro-antd-card.ts"],"sourcesContent":["import { Component, TemplateRef, Type, ChangeDetectionStrategy } from '@angular/core';\r\nimport { FieldWrapper, FormlyFieldConfig } from '@ngx-formly/core';\r\n\r\nimport type { NzSizeDSType, NgStyleInterface } from 'ng-zorro-antd/core/types';\r\n\r\ninterface CardProps {\r\n /**\r\n * 卡片操作组,位置在卡片底部\r\n */\r\n actions?: Array<TemplateRef<void>>;\r\n\r\n /**\r\n * 内容区域自定义样式\r\n */\r\n bodyStyle?: NgStyleInterface | null;\r\n\r\n /**\r\n * \t是否移除边框\r\n * @default false\r\n */\r\n borderless?: boolean;\r\n\r\n /**\r\n * 卡片封面\r\n */\r\n cover?: TemplateRef<void>;\r\n\r\n /**\r\n * 卡片右上角的操作区域\r\n */\r\n extra?: string | TemplateRef<void>;\r\n\r\n /**\r\n * 鼠标移过时可浮起\r\n * @default false\r\n */\r\n hoverable?: boolean;\r\n\r\n /**\r\n * 当卡片内容还在加载中时,可以用 loading 展示一个占位\r\n * @default false\r\n */\r\n loading?: boolean;\r\n\r\n /**\r\n * 卡片的尺寸\r\n * @default default\r\n */\r\n size?: NzSizeDSType;\r\n\r\n /**\r\n * \t卡片标题\r\n */\r\n title?: string | TemplateRef<void>;\r\n\r\n /**\r\n * 卡片类型,可设置为 inner 或 不设置\r\n */\r\n type?: string | 'inner';\r\n}\r\n\r\nexport interface FormlyCardWrapperConfig extends FormlyFieldConfig<CardProps> {\r\n wrappers: ('card' | Type<FormlyWrapperCard>)[];\r\n}\r\n\r\n@Component({\r\n selector: 'formly-wrapper-card',\r\n template: `\r\n <nz-card\r\n [nzActions]=\"props['actions'] || []\"\r\n [nzBodyStyle]=\"props['bodyStyle'] ?? null\"\r\n [nzSize]=\"props['size']!\"\r\n [nzBorderless]=\"props['borderless']!!\"\r\n [nzCover]=\"props['cover']\"\r\n [nzExtra]=\"props['extra']\"\r\n [nzHoverable]=\"props['hoverable']!!\"\r\n [nzLoading]=\"props['loading']!!\"\r\n [nzTitle]=\"props['title']\"\r\n [nzType]=\"props['type'] ?? null\"\r\n >\r\n <ng-container #fieldComponent></ng-container>\r\n </nz-card>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyWrapperCard extends FieldWrapper<FormlyFieldConfig<CardProps>> {}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\n\r\nimport { FormlyWrapperCard } from './card.wrapper';\r\nimport { NzCardModule } from 'ng-zorro-antd/card';\r\n\r\n@NgModule({\r\n declarations: [FormlyWrapperCard],\r\n imports: [\r\n CommonModule,\r\n NzCardModule,\r\n\r\n FormlyModule.forChild({\r\n wrappers: [\r\n {\r\n name: 'card',\r\n component: FormlyWrapperCard,\r\n types: ['card']\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzCardModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;AAqFM,MAAO,iBAAkB,SAAQ,YAA0C,CAAA
|
1
|
+
{"version":3,"file":"ngx-formly-zorro-antd-card.mjs","sources":["../../../../packages/formlyantd/card/src/card.wrapper.ts","../../../../packages/formlyantd/card/src/card.module.ts","../../../../packages/formlyantd/card/src/ngx-formly-zorro-antd-card.ts"],"sourcesContent":["import { Component, TemplateRef, Type, ChangeDetectionStrategy } from '@angular/core';\r\nimport { FieldWrapper, FormlyFieldConfig } from '@ngx-formly/core';\r\n\r\nimport type { NzSizeDSType, NgStyleInterface } from 'ng-zorro-antd/core/types';\r\n\r\ninterface CardProps {\r\n /**\r\n * 卡片操作组,位置在卡片底部\r\n */\r\n actions?: Array<TemplateRef<void>>;\r\n\r\n /**\r\n * 内容区域自定义样式\r\n */\r\n bodyStyle?: NgStyleInterface | null;\r\n\r\n /**\r\n * \t是否移除边框\r\n * @default false\r\n */\r\n borderless?: boolean;\r\n\r\n /**\r\n * 卡片封面\r\n */\r\n cover?: TemplateRef<void>;\r\n\r\n /**\r\n * 卡片右上角的操作区域\r\n */\r\n extra?: string | TemplateRef<void>;\r\n\r\n /**\r\n * 鼠标移过时可浮起\r\n * @default false\r\n */\r\n hoverable?: boolean;\r\n\r\n /**\r\n * 当卡片内容还在加载中时,可以用 loading 展示一个占位\r\n * @default false\r\n */\r\n loading?: boolean;\r\n\r\n /**\r\n * 卡片的尺寸\r\n * @default default\r\n */\r\n size?: NzSizeDSType;\r\n\r\n /**\r\n * \t卡片标题\r\n */\r\n title?: string | TemplateRef<void>;\r\n\r\n /**\r\n * 卡片类型,可设置为 inner 或 不设置\r\n */\r\n type?: string | 'inner';\r\n}\r\n\r\nexport interface FormlyCardWrapperConfig extends FormlyFieldConfig<CardProps> {\r\n wrappers: ('card' | Type<FormlyWrapperCard>)[];\r\n}\r\n\r\n@Component({\r\n selector: 'formly-wrapper-card',\r\n template: `\r\n <nz-card\r\n [nzActions]=\"props['actions'] || []\"\r\n [nzBodyStyle]=\"props['bodyStyle'] ?? null\"\r\n [nzSize]=\"props['size']!\"\r\n [nzBorderless]=\"props['borderless']!!\"\r\n [nzCover]=\"props['cover']\"\r\n [nzExtra]=\"props['extra']\"\r\n [nzHoverable]=\"props['hoverable']!!\"\r\n [nzLoading]=\"props['loading']!!\"\r\n [nzTitle]=\"props['title']\"\r\n [nzType]=\"props['type'] ?? null\"\r\n >\r\n <ng-container #fieldComponent></ng-container>\r\n </nz-card>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyWrapperCard extends FieldWrapper<FormlyFieldConfig<CardProps>> {}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\n\r\nimport { FormlyWrapperCard } from './card.wrapper';\r\nimport { NzCardModule } from 'ng-zorro-antd/card';\r\n\r\n@NgModule({\r\n declarations: [FormlyWrapperCard],\r\n imports: [\r\n CommonModule,\r\n NzCardModule,\r\n\r\n FormlyModule.forChild({\r\n wrappers: [\r\n {\r\n name: 'card',\r\n component: FormlyWrapperCard,\r\n types: ['card']\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzCardModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;AAqFM,MAAO,iBAAkB,SAAQ,YAA0C,CAAA;;8GAApE,iBAAiB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAjB,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,iBAAiB,EAlBlB,QAAA,EAAA,qBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;AAeT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,SAAA,EAA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,EAAA,CAAA;kBAjB9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;AACjC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,YAAY;wBAEZ,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,QAAQ,EAAE;AACR,gCAAA;AACE,oCAAA,IAAI,EAAE,MAAM;AACZ,oCAAA,SAAS,EAAE,iBAAiB;oCAC5B,KAAK,EAAE,CAAC,MAAM,CAAC;AAChB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;iBACF,CAAA;;;ACvBD;;AAEG;;;;"}
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
2
|
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
3
|
-
import * as
|
3
|
+
import * as i1 from '@angular/common';
|
4
4
|
import { CommonModule } from '@angular/common';
|
5
|
-
import * as
|
5
|
+
import * as i4 from '@ngx-formly/core';
|
6
6
|
import { FieldType, FormlyModule } from '@ngx-formly/core';
|
7
7
|
import * as i2 from '@angular/forms';
|
8
8
|
import { ReactiveFormsModule } from '@angular/forms';
|
9
9
|
import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
|
10
|
-
import * as
|
10
|
+
import * as i3 from 'ng-zorro-antd/cascader';
|
11
11
|
import { NzCascaderModule } from 'ng-zorro-antd/cascader';
|
12
12
|
|
13
13
|
class FormlyFieldCascader extends FieldType {
|
@@ -38,8 +38,8 @@ class FormlyFieldCascader extends FieldType {
|
|
38
38
|
}
|
39
39
|
}
|
40
40
|
}
|
41
|
-
FormlyFieldCascader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
42
|
-
FormlyFieldCascader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
41
|
+
FormlyFieldCascader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldCascader, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
42
|
+
FormlyFieldCascader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldCascader, selector: "formly-field-cascader", usesInheritance: true, ngImport: i0, template: `<nz-cascader
|
43
43
|
#cascader
|
44
44
|
[nzPlaceHolder]="props.placeholder ?? ''"
|
45
45
|
[formControl]="formControl"
|
@@ -72,8 +72,8 @@ FormlyFieldCascader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
72
72
|
(nzVisibleChange)="props['visibleChange'] && props['visibleChange'](field, $event)"
|
73
73
|
(nzSelectionChange)="props['selectionChange'] && props['selectionChange'](field, $event)"
|
74
74
|
(ngModelChange)="props.change && props.change(field, $event)"
|
75
|
-
></nz-cascader>`, isInline: true,
|
76
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
75
|
+
></nz-cascader>`, 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.NzCascaderComponent, selector: "nz-cascader, [nz-cascader]", inputs: ["nzOptionRender", "nzShowInput", "nzShowArrow", "nzAllowClear", "nzAutoFocus", "nzChangeOnSelect", "nzDisabled", "nzColumnClassName", "nzExpandTrigger", "nzValueProperty", "nzLabelRender", "nzLabelProperty", "nzNotFoundContent", "nzSize", "nzBackdrop", "nzShowSearch", "nzPlaceHolder", "nzMenuClassName", "nzMenuStyle", "nzMouseEnterDelay", "nzMouseLeaveDelay", "nzStatus", "nzTriggerAction", "nzChangeOn", "nzLoadData", "nzSuffixIcon", "nzExpandIcon", "nzOptions"], outputs: ["nzVisibleChange", "nzSelectionChange", "nzSelect", "nzClear"], exportAs: ["nzCascader"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
76
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldCascader, decorators: [{
|
77
77
|
type: Component,
|
78
78
|
args: [{
|
79
79
|
selector: 'formly-field-cascader',
|
@@ -117,27 +117,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
117
117
|
|
118
118
|
class FormlyNzCascaderModule {
|
119
119
|
}
|
120
|
-
FormlyNzCascaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
121
|
-
FormlyNzCascaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
120
|
+
FormlyNzCascaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzCascaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
121
|
+
FormlyNzCascaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzCascaderModule, declarations: [FormlyFieldCascader], imports: [CommonModule,
|
122
122
|
ReactiveFormsModule,
|
123
123
|
FormlyNzFormFieldModule,
|
124
|
-
NzCascaderModule,
|
125
|
-
FormlyNzCascaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
]] });
|
140
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzCascaderModule, decorators: [{
|
124
|
+
NzCascaderModule, i4.FormlyModule] });
|
125
|
+
FormlyNzCascaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzCascaderModule, imports: [CommonModule,
|
126
|
+
ReactiveFormsModule,
|
127
|
+
FormlyNzFormFieldModule,
|
128
|
+
NzCascaderModule,
|
129
|
+
FormlyModule.forChild({
|
130
|
+
types: [
|
131
|
+
{
|
132
|
+
name: 'cascader',
|
133
|
+
component: FormlyFieldCascader,
|
134
|
+
wrappers: ['form-field']
|
135
|
+
}
|
136
|
+
]
|
137
|
+
})] });
|
138
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzCascaderModule, decorators: [{
|
141
139
|
type: NgModule,
|
142
140
|
args: [{
|
143
141
|
declarations: [FormlyFieldCascader],
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ngx-formly-zorro-antd-cascader.mjs","sources":["../../../../packages/formlyantd/cascader/src/cascader.type.ts","../../../../packages/formlyantd/cascader/src/cascader.module.ts","../../../../packages/formlyantd/cascader/src/ngx-formly-zorro-antd-cascader.ts"],"sourcesContent":["import { Component, TemplateRef, Type, ChangeDetectionStrategy, OnInit } from '@angular/core';\r\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\nimport { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport type {\r\n NzCascaderOption,\r\n NzShowSearchOptions,\r\n NzCascaderExpandTrigger,\r\n NzCascaderSize\r\n} from 'ng-zorro-antd/cascader';\r\nimport type { NzSafeAny, NzStatus, NgStyleInterface } from 'ng-zorro-antd/core/types';\r\n\r\ninterface CascaderProps extends FormlyFieldProps {\r\n /**\r\n * 是否支持清除\r\n * @default true\r\n */\r\n allowClear?: boolean;\r\n\r\n /**\r\n * 是否自动聚焦,当存在输入框时\r\n * @default false\r\n */\r\n autoFocus?: boolean;\r\n\r\n /**\r\n * 浮层是否应带有背景板\r\n * @default false\r\n */\r\n backdrop?: boolean;\r\n\r\n /**\r\n * 点击父级菜单选项时,可通过该函数判断是否允许值的变化\r\n */\r\n changeOn?: (option: NzSafeAny, index: number) => boolean;\r\n\r\n /**\r\n * 当此项为 true 时,点选每级菜单选项值都会发生变化,具体见上面的演示\r\n * @default false\r\n */\r\n changeOnSelect?: boolean;\r\n\r\n /**\r\n * 自定义浮层列类名\r\n */\r\n columnClassName?: string;\r\n\r\n /**\r\n * 自定义次级菜单展开图标\r\n */\r\n expandIcon?: string | TemplateRef<void>;\r\n\r\n /**\r\n * 次级菜单的展开方式\r\n * @default 'click'\r\n */\r\n expandTrigger?: NzCascaderExpandTrigger;\r\n\r\n /**\r\n * 选项的显示值的属性名\r\n * @default 'label'\r\n */\r\n labelProperty: string;\r\n\r\n /**\r\n * 选择后展示的渲染模板\r\n */\r\n labelRender?: TemplateRef<NzSafeAny> | null;\r\n\r\n /**\r\n * 用于动态加载选项。如果提供了ngModel初始值,且未提供nzOptions值,则会立即触发动态加载。\r\n */\r\n loadData?: (option: NzSafeAny, index?: number) => PromiseLike<NzSafeAny>;\r\n\r\n /**\r\n * 自定义浮层类名\r\n */\r\n menuClassName?: string;\r\n\r\n /**\r\n * 自定义浮层样式\r\n */\r\n menuStyle?: NgStyleInterface | null;\r\n\r\n /**\r\n * 当下拉列表为空时显示的内容\r\n */\r\n notFoundContent?: string | TemplateRef<void>;\r\n\r\n /**\r\n * 选项的渲染模板\r\n */\r\n optionRender?: TemplateRef<{ $implicit: NzCascaderOption; index: number }> | null;\r\n\r\n /**\r\n * 是否显示箭头\r\n * @default true\r\n */\r\n showArrow?: boolean;\r\n\r\n /**\r\n * 显示输入框\r\n * @default true\r\n */\r\n showInput?: boolean;\r\n\r\n /**\r\n * 是否支持搜索,默认情况下对 label 进行全匹配搜索,不能和 [nzLoadData] 同时使用\r\n * @default false\r\n */\r\n showSearch?: boolean | NzShowSearchOptions;\r\n\r\n /**\r\n * 输入框大小\r\n * @default default\r\n */\r\n size?: NzCascaderSize;\r\n\r\n /**\r\n * 设置校验状态\r\n */\r\n status?: NzStatus;\r\n\r\n /**\r\n * 自定义的选择框后缀图标\r\n */\r\n suffixIcon?: string | TemplateRef<void>;\r\n\r\n /**\r\n * 选项的实际值的属性名\r\n * @default 'value'\r\n */\r\n valueProperty?: string;\r\n\r\n /**\r\n * 可选项数据源\r\n */\r\n cascaderOptions?: NzCascaderOption[] | null;\r\n\r\n /**\r\n * 清除值时触发\r\n */\r\n onClear?: (field: FormlyFieldConfig) => void;\r\n /**\r\n * 菜单浮层的显示/隐藏\r\n */\r\n visibleChange?: (field: FormlyFieldConfig, visible: boolean) => void;\r\n\r\n /**\r\n * 值发生变化时触发\r\n */\r\n selectionChange?: (field: FormlyFieldConfig, value: NzCascaderOption[]) => void;\r\n}\r\n\r\nexport interface FormlyCascaderFieldConfig extends FormlyFieldConfig<CascaderProps> {\r\n type: 'cascader' | Type<FormlyFieldCascader>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-cascader',\r\n template: `<nz-cascader\r\n #cascader\r\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [ngClass]=\"props['className']!\"\r\n [nzAllowClear]=\"props['allowClear']!!\"\r\n [nzAutoFocus]=\"props['autoFocus']!!\"\r\n [nzBackdrop]=\"props['backdrop']!!\"\r\n [nzChangeOn]=\"props['changeOn']\"\r\n [nzChangeOnSelect]=\"props['changeOnSelect']!!\"\r\n [nzColumnClassName]=\"props['columnClassName']\"\r\n [nzExpandIcon]=\"props['expandIcon']!\"\r\n [nzExpandTrigger]=\"props['expandTrigger']!\"\r\n [nzLabelProperty]=\"props['labelProperty']\"\r\n [nzLabelRender]=\"props['labelRender'] ?? null\"\r\n [nzLoadData]=\"props['loadData']\"\r\n [nzMenuClassName]=\"props['menuClassName']\"\r\n [nzMenuStyle]=\"props['menuStyle'] ?? null\"\r\n [nzNotFoundContent]=\"props['notFoundContent']\"\r\n [nzOptionRender]=\"props['optionRender'] ?? null\"\r\n [nzOptions]=\"props['cascaderOptions'] ?? null\"\r\n [nzShowArrow]=\"props['showArrow']!!\"\r\n [nzShowInput]=\"props['showInput']!!\"\r\n [nzShowSearch]=\"props['showSearch']!!\"\r\n [nzSize]=\"props['size']!\"\r\n [nzStatus]=\"props['status'] ?? ''\"\r\n [nzSuffixIcon]=\"props['suffixIcon']!\"\r\n [nzValueProperty]=\"props['valueProperty']!\"\r\n (nzClear)=\"props['onClear'] && props['onClear'](field)\"\r\n (nzVisibleChange)=\"props['visibleChange'] && props['visibleChange'](field, $event)\"\r\n (nzSelectionChange)=\"props['selectionChange'] && props['selectionChange'](field, $event)\"\r\n (ngModelChange)=\"props.change && props.change(field, $event)\"\r\n ></nz-cascader>`,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldCascader\r\n extends FieldType<FieldTypeConfig<CascaderProps>>\r\n implements OnInit\r\n{\r\n override defaultOptions = {\r\n props: {\r\n placeholder: '请选择',\r\n allowClear: true,\r\n backdrop: false,\r\n changeOnSelect: false,\r\n expandTrigger: 'click' as const,\r\n labelProperty: 'label',\r\n showArrow: true,\r\n showInput: true,\r\n showSearch: false,\r\n size: 'default' as const,\r\n status: '' as const,\r\n valueProperty: 'value',\r\n cascaderOptions: []\r\n }\r\n };\r\n ngOnInit(): void {\r\n const options = this.props['cascaderOptions'];\r\n if (!options || options.length === 0) {\r\n this.props['cascaderOptions'] = this.props.options as any;\r\n }\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport { NzCascaderModule } from 'ng-zorro-antd/cascader';\r\nimport { FormlyFieldCascader } from './cascader.type';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldCascader],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n FormlyNzFormFieldModule,\r\n\r\n NzCascaderModule,\r\n\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'cascader',\r\n component: FormlyFieldCascader,\r\n wrappers: ['form-field']\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzCascaderModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;AAoMM,MAAO,mBACX,SAAQ,SAAyC,CAAA;AAvCnD,IAAA,WAAA,GAAA;;QA0CW,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,WAAW,EAAE,KAAK;AAClB,gBAAA,UAAU,EAAE,IAAI;AAChB,gBAAA,QAAQ,EAAE,KAAK;AACf,gBAAA,cAAc,EAAE,KAAK;AACrB,gBAAA,aAAa,EAAE,OAAgB;AAC/B,gBAAA,aAAa,EAAE,OAAO;AACtB,gBAAA,SAAS,EAAE,IAAI;AACf,gBAAA,SAAS,EAAE,IAAI;AACf,gBAAA,UAAU,EAAE,KAAK;AACjB,gBAAA,IAAI,EAAE,SAAkB;AACxB,gBAAA,MAAM,EAAE,EAAW;AACnB,gBAAA,aAAa,EAAE,OAAO;AACtB,gBAAA,eAAe,EAAE,EAAE;AACpB,aAAA;SACF,CAAC;KAOH;IANC,QAAQ,GAAA;QACN,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;QAC9C,IAAI,CAAC,OAAO,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE;YACpC,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,OAAc,CAAC;AAC3D,SAAA;KACF;;iHA1BU,mBAAmB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,C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AChB,wBAAA,SAAS,EAAE,mBAAmB;wBAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,qBAAA;AACF,iBAAA;aACF,CAAC;SACH,CAAA,EAAA,CAAA,CAAA;4FAEU,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBApBlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;AACnC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBAEvB,gBAAgB;wBAEhB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,UAAU;AAChB,oCAAA,SAAS,EAAE,mBAAmB;oCAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;iBACF,CAAA;;;AC5BD;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"ngx-formly-zorro-antd-cascader.mjs","sources":["../../../../packages/formlyantd/cascader/src/cascader.type.ts","../../../../packages/formlyantd/cascader/src/cascader.module.ts","../../../../packages/formlyantd/cascader/src/ngx-formly-zorro-antd-cascader.ts"],"sourcesContent":["import { Component, TemplateRef, Type, ChangeDetectionStrategy, OnInit } from '@angular/core';\r\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\nimport { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport type {\r\n NzCascaderOption,\r\n NzShowSearchOptions,\r\n NzCascaderExpandTrigger,\r\n NzCascaderSize\r\n} from 'ng-zorro-antd/cascader';\r\nimport type { NzSafeAny, NzStatus, NgStyleInterface } from 'ng-zorro-antd/core/types';\r\n\r\ninterface CascaderProps extends FormlyFieldProps {\r\n /**\r\n * 是否支持清除\r\n * @default true\r\n */\r\n allowClear?: boolean;\r\n\r\n /**\r\n * 是否自动聚焦,当存在输入框时\r\n * @default false\r\n */\r\n autoFocus?: boolean;\r\n\r\n /**\r\n * 浮层是否应带有背景板\r\n * @default false\r\n */\r\n backdrop?: boolean;\r\n\r\n /**\r\n * 点击父级菜单选项时,可通过该函数判断是否允许值的变化\r\n */\r\n changeOn?: (option: NzSafeAny, index: number) => boolean;\r\n\r\n /**\r\n * 当此项为 true 时,点选每级菜单选项值都会发生变化,具体见上面的演示\r\n * @default false\r\n */\r\n changeOnSelect?: boolean;\r\n\r\n /**\r\n * 自定义浮层列类名\r\n */\r\n columnClassName?: string;\r\n\r\n /**\r\n * 自定义次级菜单展开图标\r\n */\r\n expandIcon?: string | TemplateRef<void>;\r\n\r\n /**\r\n * 次级菜单的展开方式\r\n * @default 'click'\r\n */\r\n expandTrigger?: NzCascaderExpandTrigger;\r\n\r\n /**\r\n * 选项的显示值的属性名\r\n * @default 'label'\r\n */\r\n labelProperty: string;\r\n\r\n /**\r\n * 选择后展示的渲染模板\r\n */\r\n labelRender?: TemplateRef<NzSafeAny> | null;\r\n\r\n /**\r\n * 用于动态加载选项。如果提供了ngModel初始值,且未提供nzOptions值,则会立即触发动态加载。\r\n */\r\n loadData?: (option: NzSafeAny, index?: number) => PromiseLike<NzSafeAny>;\r\n\r\n /**\r\n * 自定义浮层类名\r\n */\r\n menuClassName?: string;\r\n\r\n /**\r\n * 自定义浮层样式\r\n */\r\n menuStyle?: NgStyleInterface | null;\r\n\r\n /**\r\n * 当下拉列表为空时显示的内容\r\n */\r\n notFoundContent?: string | TemplateRef<void>;\r\n\r\n /**\r\n * 选项的渲染模板\r\n */\r\n optionRender?: TemplateRef<{ $implicit: NzCascaderOption; index: number }> | null;\r\n\r\n /**\r\n * 是否显示箭头\r\n * @default true\r\n */\r\n showArrow?: boolean;\r\n\r\n /**\r\n * 显示输入框\r\n * @default true\r\n */\r\n showInput?: boolean;\r\n\r\n /**\r\n * 是否支持搜索,默认情况下对 label 进行全匹配搜索,不能和 [nzLoadData] 同时使用\r\n * @default false\r\n */\r\n showSearch?: boolean | NzShowSearchOptions;\r\n\r\n /**\r\n * 输入框大小\r\n * @default default\r\n */\r\n size?: NzCascaderSize;\r\n\r\n /**\r\n * 设置校验状态\r\n */\r\n status?: NzStatus;\r\n\r\n /**\r\n * 自定义的选择框后缀图标\r\n */\r\n suffixIcon?: string | TemplateRef<void>;\r\n\r\n /**\r\n * 选项的实际值的属性名\r\n * @default 'value'\r\n */\r\n valueProperty?: string;\r\n\r\n /**\r\n * 可选项数据源\r\n */\r\n cascaderOptions?: NzCascaderOption[] | null;\r\n\r\n /**\r\n * 清除值时触发\r\n */\r\n onClear?: (field: FormlyFieldConfig) => void;\r\n /**\r\n * 菜单浮层的显示/隐藏\r\n */\r\n visibleChange?: (field: FormlyFieldConfig, visible: boolean) => void;\r\n\r\n /**\r\n * 值发生变化时触发\r\n */\r\n selectionChange?: (field: FormlyFieldConfig, value: NzCascaderOption[]) => void;\r\n}\r\n\r\nexport interface FormlyCascaderFieldConfig extends FormlyFieldConfig<CascaderProps> {\r\n type: 'cascader' | Type<FormlyFieldCascader>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-cascader',\r\n template: `<nz-cascader\r\n #cascader\r\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [ngClass]=\"props['className']!\"\r\n [nzAllowClear]=\"props['allowClear']!!\"\r\n [nzAutoFocus]=\"props['autoFocus']!!\"\r\n [nzBackdrop]=\"props['backdrop']!!\"\r\n [nzChangeOn]=\"props['changeOn']\"\r\n [nzChangeOnSelect]=\"props['changeOnSelect']!!\"\r\n [nzColumnClassName]=\"props['columnClassName']\"\r\n [nzExpandIcon]=\"props['expandIcon']!\"\r\n [nzExpandTrigger]=\"props['expandTrigger']!\"\r\n [nzLabelProperty]=\"props['labelProperty']\"\r\n [nzLabelRender]=\"props['labelRender'] ?? null\"\r\n [nzLoadData]=\"props['loadData']\"\r\n [nzMenuClassName]=\"props['menuClassName']\"\r\n [nzMenuStyle]=\"props['menuStyle'] ?? null\"\r\n [nzNotFoundContent]=\"props['notFoundContent']\"\r\n [nzOptionRender]=\"props['optionRender'] ?? null\"\r\n [nzOptions]=\"props['cascaderOptions'] ?? null\"\r\n [nzShowArrow]=\"props['showArrow']!!\"\r\n [nzShowInput]=\"props['showInput']!!\"\r\n [nzShowSearch]=\"props['showSearch']!!\"\r\n [nzSize]=\"props['size']!\"\r\n [nzStatus]=\"props['status'] ?? ''\"\r\n [nzSuffixIcon]=\"props['suffixIcon']!\"\r\n [nzValueProperty]=\"props['valueProperty']!\"\r\n (nzClear)=\"props['onClear'] && props['onClear'](field)\"\r\n (nzVisibleChange)=\"props['visibleChange'] && props['visibleChange'](field, $event)\"\r\n (nzSelectionChange)=\"props['selectionChange'] && props['selectionChange'](field, $event)\"\r\n (ngModelChange)=\"props.change && props.change(field, $event)\"\r\n ></nz-cascader>`,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldCascader\r\n extends FieldType<FieldTypeConfig<CascaderProps>>\r\n implements OnInit\r\n{\r\n override defaultOptions = {\r\n props: {\r\n placeholder: '请选择',\r\n allowClear: true,\r\n backdrop: false,\r\n changeOnSelect: false,\r\n expandTrigger: 'click' as const,\r\n labelProperty: 'label',\r\n showArrow: true,\r\n showInput: true,\r\n showSearch: false,\r\n size: 'default' as const,\r\n status: '' as const,\r\n valueProperty: 'value',\r\n cascaderOptions: []\r\n }\r\n };\r\n ngOnInit(): void {\r\n const options = this.props['cascaderOptions'];\r\n if (!options || options.length === 0) {\r\n this.props['cascaderOptions'] = this.props.options as any;\r\n }\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport { NzCascaderModule } from 'ng-zorro-antd/cascader';\r\nimport { FormlyFieldCascader } from './cascader.type';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldCascader],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n FormlyNzFormFieldModule,\r\n\r\n NzCascaderModule,\r\n\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'cascader',\r\n component: FormlyFieldCascader,\r\n wrappers: ['form-field']\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzCascaderModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;AAoMM,MAAO,mBACX,SAAQ,SAAyC,CAAA;AAvCnD,IAAA,WAAA,GAAA;;QA0CW,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,WAAW,EAAE,KAAK;AAClB,gBAAA,UAAU,EAAE,IAAI;AAChB,gBAAA,QAAQ,EAAE,KAAK;AACf,gBAAA,cAAc,EAAE,KAAK;AACrB,gBAAA,aAAa,EAAE,OAAgB;AAC/B,gBAAA,aAAa,EAAE,OAAO;AACtB,gBAAA,SAAS,EAAE,IAAI;AACf,gBAAA,SAAS,EAAE,IAAI;AACf,gBAAA,UAAU,EAAE,KAAK;AACjB,gBAAA,IAAI,EAAE,SAAkB;AACxB,gBAAA,MAAM,EAAE,EAAW;AACnB,gBAAA,aAAa,EAAE,OAAO;AACtB,gBAAA,eAAe,EAAE,EAAE;AACpB,aAAA;SACF,CAAC;KAOH;IANC,QAAQ,GAAA;QACN,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;QAC9C,IAAI,CAAC,OAAO,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE;YACpC,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,OAAc,CAAC;AAC3D,SAAA;KACF;;gHA1BU,mBAAmB,EAAA,IAAA,EAAA,IA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;QAEhB,YAAY,CAAC,QAAQ,CAAC;AACpB,YAAA,KAAK,EAAE;AACL,gBAAA;AACE,oBAAA,IAAI,EAAE,UAAU;AAChB,oBAAA,SAAS,EAAE,mBAAmB;oBAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iBAAA;AACF,aAAA;SACF,CAAC,CAAA,EAAA,CAAA,CAAA;2FAGO,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBApBlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;AACnC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBAEvB,gBAAgB;wBAEhB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,UAAU;AAChB,oCAAA,SAAS,EAAE,mBAAmB;oCAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;iBACF,CAAA;;;AC5BD;;AAEG;;;;"}
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import * as i0 from '@angular/core';
|
2
2
|
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
3
|
-
import * as
|
3
|
+
import * as i1 from '@angular/common';
|
4
4
|
import { CommonModule } from '@angular/common';
|
5
5
|
import * as i4 from '@ngx-formly/core';
|
6
6
|
import { FieldType, FormlyModule } from '@ngx-formly/core';
|
7
|
-
import * as
|
7
|
+
import * as i2 from '@angular/forms';
|
8
8
|
import { ReactiveFormsModule } from '@angular/forms';
|
9
9
|
import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
|
10
|
-
import * as
|
10
|
+
import * as i3 from 'ng-zorro-antd/checkbox';
|
11
11
|
import { NzCheckboxModule } from 'ng-zorro-antd/checkbox';
|
12
12
|
|
13
13
|
class FormlyFieldCheckbox extends FieldType {
|
@@ -21,8 +21,8 @@ class FormlyFieldCheckbox extends FieldType {
|
|
21
21
|
};
|
22
22
|
}
|
23
23
|
}
|
24
|
-
FormlyFieldCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
25
|
-
FormlyFieldCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
24
|
+
FormlyFieldCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldCheckbox, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
25
|
+
FormlyFieldCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldCheckbox, selector: "formly-field-checkbox", usesInheritance: true, ngImport: i0, template: `
|
26
26
|
<label
|
27
27
|
*ngIf="props.type !== 'group'; else checkboxgroup"
|
28
28
|
[formControl]="formControl"
|
@@ -42,8 +42,8 @@ FormlyFieldCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
42
42
|
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
43
43
|
></nz-checkbox-group>
|
44
44
|
</ng-template>
|
45
|
-
`, isInline: true,
|
46
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
45
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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.NzCheckboxComponent, selector: "[nz-checkbox]", inputs: ["nzValue", "nzAutoFocus", "nzDisabled", "nzIndeterminate", "nzChecked", "nzId"], outputs: ["nzCheckedChange"], exportAs: ["nzCheckbox"] }, { kind: "component", type: i3.NzCheckboxGroupComponent, selector: "nz-checkbox-group", inputs: ["nzDisabled"], exportAs: ["nzCheckboxGroup"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldCheckbox, decorators: [{
|
47
47
|
type: Component,
|
48
48
|
args: [{
|
49
49
|
selector: 'formly-field-checkbox',
|
@@ -74,31 +74,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
74
74
|
|
75
75
|
class FormlyNzCheckboxModule {
|
76
76
|
}
|
77
|
-
FormlyNzCheckboxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
78
|
-
FormlyNzCheckboxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
77
|
+
FormlyNzCheckboxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
78
|
+
FormlyNzCheckboxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzCheckboxModule, declarations: [FormlyFieldCheckbox], imports: [CommonModule,
|
79
79
|
ReactiveFormsModule,
|
80
80
|
FormlyNzFormFieldModule,
|
81
81
|
NzCheckboxModule, i4.FormlyModule] });
|
82
|
-
FormlyNzCheckboxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
]] });
|
101
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzCheckboxModule, decorators: [{
|
82
|
+
FormlyNzCheckboxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzCheckboxModule, imports: [CommonModule,
|
83
|
+
ReactiveFormsModule,
|
84
|
+
FormlyNzFormFieldModule,
|
85
|
+
NzCheckboxModule,
|
86
|
+
FormlyModule.forChild({
|
87
|
+
types: [
|
88
|
+
{
|
89
|
+
name: 'checkbox',
|
90
|
+
component: FormlyFieldCheckbox,
|
91
|
+
wrappers: ['form-field']
|
92
|
+
},
|
93
|
+
{
|
94
|
+
name: 'boolean',
|
95
|
+
extends: 'checkbox'
|
96
|
+
}
|
97
|
+
]
|
98
|
+
})] });
|
99
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzCheckboxModule, decorators: [{
|
102
100
|
type: NgModule,
|
103
101
|
args: [{
|
104
102
|
declarations: [FormlyFieldCheckbox],
|