ngx-formly-zorro-antd 16.0.0 → 16.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/button/button.module.mjs +6 -7
- package/esm2022/button/button.type.mjs +5 -6
- package/esm2022/card/card.module.mjs +6 -7
- package/esm2022/card/card.wrapper.mjs +5 -6
- package/esm2022/cascader/cascader.module.mjs +6 -7
- package/esm2022/cascader/cascader.type.mjs +5 -6
- package/esm2022/checkbox/checkbox.module.mjs +6 -7
- package/esm2022/checkbox/checkbox.type.mjs +5 -6
- package/esm2022/datepicker/datepicker.module.mjs +6 -7
- package/esm2022/datepicker/datepicker.type.mjs +5 -6
- package/esm2022/form-field/form-field.module.mjs +6 -7
- package/esm2022/form-field/form-field.props.mjs +1 -1
- package/esm2022/form-field/form-field.wrapper.mjs +10 -7
- package/esm2022/grid/grid.module.mjs +6 -7
- package/esm2022/grid/grid.type.mjs +5 -6
- package/esm2022/input/input.module.mjs +6 -7
- package/esm2022/input/input.type.mjs +5 -6
- package/esm2022/input-group/input-group.module.mjs +6 -7
- package/esm2022/input-group/input-group.type.mjs +5 -6
- package/esm2022/input-number/input-number.module.mjs +6 -7
- package/esm2022/input-number/input-number.type.mjs +5 -6
- package/esm2022/lib/ui-ng-zorro-antd.module.mjs +6 -7
- package/esm2022/radio/radio.module.mjs +6 -7
- package/esm2022/radio/radio.type.mjs +5 -6
- package/esm2022/rate/rate.module.mjs +6 -7
- package/esm2022/rate/rate.type.mjs +5 -6
- package/esm2022/select/select.module.mjs +6 -7
- package/esm2022/select/select.type.mjs +5 -6
- package/esm2022/slider/slider.module.mjs +6 -7
- package/esm2022/slider/slider.type.mjs +5 -6
- package/esm2022/switch/switch.module.mjs +6 -7
- package/esm2022/switch/switch.type.mjs +5 -6
- package/esm2022/tabs/tabs.module.mjs +6 -7
- package/esm2022/tabs/tabs.wrapper.mjs +5 -6
- package/esm2022/textarea/textarea.module.mjs +6 -7
- package/esm2022/textarea/textarea.type.mjs +5 -6
- package/esm2022/timepicker/timepicker.module.mjs +6 -7
- package/esm2022/timepicker/timepicker.type.mjs +5 -6
- package/esm2022/transfer/transfer.component.mjs +5 -6
- package/esm2022/transfer/transfer.module.mjs +6 -7
- package/esm2022/transfer/transfer.type.mjs +5 -6
- package/esm2022/tree-select/tree-select.module.mjs +6 -7
- package/esm2022/tree-select/tree-select.type.mjs +5 -6
- package/esm2022/upload/upload.component.mjs +5 -6
- package/esm2022/upload/upload.module.mjs +6 -7
- package/esm2022/upload/upload.type.mjs +5 -6
- package/fesm2022/ngx-formly-zorro-antd-button.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-button.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-card.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-card.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-cascader.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-checkbox.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-form-field.mjs +12 -8
- package/fesm2022/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-grid.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-grid.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-input-group.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-input-number.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-input.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-input.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-radio.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-radio.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-rate.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-rate.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-select.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-select.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-slider.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-slider.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-switch.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-switch.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-tabs.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-textarea.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-timepicker.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-transfer.mjs +10 -10
- package/fesm2022/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-upload.mjs +10 -10
- package/fesm2022/ngx-formly-zorro-antd-upload.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd.mjs +4 -4
- package/fesm2022/ngx-formly-zorro-antd.mjs.map +1 -1
- package/form-field/form-field.props.d.ts +9 -1
- package/package.json +8 -8
@@ -5,7 +5,7 @@ import * as i1 from "@angular/common";
|
|
5
5
|
import * as i2 from "@angular/forms";
|
6
6
|
import * as i3 from "ng-zorro-antd/tree-select";
|
7
7
|
import * as i4 from "@ngx-formly/core";
|
8
|
-
class FormlyFieldTreeSelect extends FieldType {
|
8
|
+
export class FormlyFieldTreeSelect extends FieldType {
|
9
9
|
constructor() {
|
10
10
|
super(...arguments);
|
11
11
|
this.defaultOptions = {
|
@@ -21,8 +21,8 @@ class FormlyFieldTreeSelect extends FieldType {
|
|
21
21
|
}
|
22
22
|
};
|
23
23
|
}
|
24
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
25
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
24
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyFieldTreeSelect, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
25
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: FormlyFieldTreeSelect, selector: "formly-field-treeselect", usesInheritance: true, ngImport: i0, template: ` <nz-tree-select
|
26
26
|
[formControl]="formControl"
|
27
27
|
[formlyAttributes]="field"
|
28
28
|
[nzPlaceHolder]="props.placeholder ?? ''"
|
@@ -57,8 +57,7 @@ class FormlyFieldTreeSelect extends FieldType {
|
|
57
57
|
(nzExpandChange)="props['expandChange'] && props['expandChange'](field, $event)"
|
58
58
|
></nz-tree-select>`, 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.NzTreeSelectComponent, selector: "nz-tree-select", inputs: ["nzId", "nzAllowClear", "nzShowExpand", "nzShowLine", "nzDropdownMatchSelectWidth", "nzCheckable", "nzHideUnMatched", "nzShowIcon", "nzShowSearch", "nzDisabled", "nzAsyncData", "nzMultiple", "nzDefaultExpandAll", "nzCheckStrictly", "nzVirtualItemSize", "nzVirtualMaxBufferPx", "nzVirtualMinBufferPx", "nzVirtualHeight", "nzExpandedIcon", "nzNotFoundContent", "nzNodes", "nzOpen", "nzSize", "nzPlaceHolder", "nzDropdownStyle", "nzDropdownClassName", "nzBackdrop", "nzStatus", "nzPlacement", "nzExpandedKeys", "nzDisplayWith", "nzMaxTagCount", "nzMaxTagPlaceholder", "nzTreeTemplate"], outputs: ["nzOpenChange", "nzCleared", "nzRemoved", "nzExpandChange", "nzTreeClick", "nzTreeCheckBoxChange"], exportAs: ["nzTreeSelect"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
59
59
|
}
|
60
|
-
|
61
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyFieldTreeSelect, decorators: [{
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyFieldTreeSelect, decorators: [{
|
62
61
|
type: Component,
|
63
62
|
args: [{
|
64
63
|
selector: 'formly-field-treeselect',
|
@@ -99,4 +98,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImpor
|
|
99
98
|
changeDetection: ChangeDetectionStrategy.OnPush
|
100
99
|
}]
|
101
100
|
}] });
|
102
|
-
//# sourceMappingURL=data:application/json;base64,
|
101
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJlZS1zZWxlY3QudHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvdHJlZS1zZWxlY3Qvc3JjL3RyZWUtc2VsZWN0LnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBcUIs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vKipcbiAgICog6IqC54K55YmN5re75Yqg5bGV5byA5Zu+5qCHXG4gICAqIEBkZWZhdWx0IHRydWVcbiAgICovXG4gIHNob3dFeHBhbmQ/OiBib29sZWFuO1xuXG4gIC8qKlxuICAgKiDmmK/lkKblsZXnpLrov57mjqXnur9cbiAgICogQGRlZmF1bHQgZmFsc2VcbiAgICovXG4gIHNob3dMaW5lPzogYm9vbGVhbjtcblxuICAvKipcbiAgICog5piv5ZCm5byC5q2l5Yqg6L29KOaYvuekuuWKoOi9veeKtuaAgSlcbiAgICogQGRlZmF1bHQgZmFsc2VcbiAgICovXG4gIGFzeW5jRGF0YT86IGJvb2xlYW47XG5cbiAgLyoqXG4gICAqIHRyZWVOb2RlcyDmlbDmja5cbiAgICogQGRlZmF1bHQgW11cbiAgICovXG4gIG5vZGVzPzogTnpUcmVlTm9kZU9wdGlvbnNbXTtcblxuICAvKipcbiAgICog6buY6K6k5bGV5byA5omA5pyJ5qCR6IqC54K5XG4gICAqIEBkZWZhdWx0IGZhbHNlXG4gICAqL1xuICBkZWZhdWx0RXhwYW5kQWxsPzogYm9vbGVhbjtcblxuICAvKipcbiAgICog6buY6K6k5bGV5byA5oyH5a6a55qE5qCR6IqC54K5XG4gICAqL1xuICBleHBhbmRlZEtleXM/OiBzdHJpbmdbXTtcblxuICAvKipcbiAgICogXHTlpoLkvZXlnKjovpPlhaXmoYbmmL7npLrmiYDpgInnmoToioLngrnlgLznmoTmlrnms5VcbiAgICogQGRlZmF1bHQgKG5vZGU6IE56VHJlZU5vZGUpID0+IG5vZGUudGl0bGVcbiAgICovXG4gIGRpc3BsYXlXaXRoPzogKG5vZGU6IE56VHJlZU5vZGUpID0+IHN0cmluZztcblxuICAvKipcbiAgICog5pyA5aSa5pi+56S65aSa5bCR5LiqIHRhZ1xuICAgKlxuICAgKi9cbiAgbWF4VGFnQ291bnQ/OiBudW1iZXI7XG5cbiAgLyoqXG4gICAqIOmakOiXjyB0YWcg5pe25pi+56S655qE5YaF5a65XG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antd/core/transition-patch";
|
10
10
|
import * as i5 from "ng-zorro-antd/core/wave";
|
11
11
|
import * as i6 from "ng-zorro-antd/icon";
|
12
|
-
class UploadNzComponent extends NzUploadComponent {
|
12
|
+
export class UploadNzComponent extends NzUploadComponent {
|
13
13
|
constructor() {
|
14
14
|
super(...arguments);
|
15
15
|
/** 上传按钮的图标 */
|
@@ -45,8 +45,8 @@ class UploadNzComponent extends NzUploadComponent {
|
|
45
45
|
}
|
46
46
|
}
|
47
47
|
}
|
48
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
49
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
48
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: UploadNzComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
49
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: UploadNzComponent, selector: "formly-nz-upload", inputs: { nzeText: "nzeText", nzeHint: "nzeHint", nzeShowUploadButton: "nzeShowUploadButton", nzeUploadButton: "nzeUploadButton", nzeUploadButtonIcon: "nzeUploadButtonIcon", className: "className", resultMap: "resultMap" }, providers: [
|
50
50
|
{
|
51
51
|
provide: NG_VALUE_ACCESSOR,
|
52
52
|
useExisting: forwardRef(() => UploadNzComponent),
|
@@ -137,8 +137,7 @@ class UploadNzComponent extends NzUploadComponent {
|
|
137
137
|
</nz-upload>
|
138
138
|
`, 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: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "component", type: i2.NzUploadComponent, selector: "nz-upload", inputs: ["nzType", "nzLimit", "nzSize", "nzFileType", "nzAccept", "nzAction", "nzDirectory", "nzOpenFileDialogOnClick", "nzBeforeUpload", "nzCustomRequest", "nzData", "nzFilter", "nzFileList", "nzDisabled", "nzHeaders", "nzListType", "nzMultiple", "nzName", "nzShowUploadList", "nzShowButton", "nzWithCredentials", "nzRemove", "nzPreview", "nzPreviewFile", "nzPreviewIsImage", "nzTransformFile", "nzDownload", "nzIconRender", "nzFileListRender"], outputs: ["nzChange", "nzFileListChange"], exportAs: ["nzUpload"] }, { kind: "component", type: i3.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i4.ɵ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: i5.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { kind: "directive", type: i6.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
139
139
|
}
|
140
|
-
|
141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: UploadNzComponent, decorators: [{
|
140
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: UploadNzComponent, decorators: [{
|
142
141
|
type: Component,
|
143
142
|
args: [{
|
144
143
|
selector: 'formly-nz-upload',
|
@@ -251,4 +250,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImpor
|
|
251
250
|
}], resultMap: [{
|
252
251
|
type: Input
|
253
252
|
}] } });
|
254
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBsb2FkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvdXBsb2FkL3NyYy91cGxvYWQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLHlEQUF5RDtBQUN6RCxPQUFPLEVBQ0wsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFFVCxVQUFVLEVBQ1YsS0FBSyxFQUNMLGlCQUFpQixFQUVsQixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQXdCLGlCQUFpQixFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFFekUsT0FBTyxFQUF1QixpQkFBaUIsRUFBZ0IsTUFBTSxzQkFBc0IsQ0FBQzs7Ozs7Ozs7QUFHNUYsTUFnR2EsaUJBQWtCLFNBQVEsaUJBQWlCO0lBaEd4RDs7UUE2R0UsY0FBYztRQUNMLHdCQUFtQixHQUFxQjtZQUMvQyxJQUFJLEVBQUUsY0FBYztTQUNyQixDQUFDO1FBRUYsVUFBVTtRQUNELGNBQVMsR0FBRyxFQUFFLENBQUM7UUFHeEIsYUFBUSxHQUFpQixHQUFHLEVBQUUsR0FBRSxDQUFDLENBQUM7UUFDbEMsY0FBUyxHQUFrQixHQUFHLEVBQUUsR0FBRSxDQUFDLENBQUM7S0EwQnJDO0lBekJDLFVBQVUsS0FBVSxDQUFDO0lBQ3JCLGdCQUFnQixDQUFDLEVBQWE7UUFDNUIsSUFBSSxDQUFDLFF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RvbVJlcXVlc3RdPVwibnpDdXN0b21SZXF1ZXN0XCJcbiAgICAgIFtuekRhdGFdPVwibnpEYXRhXCJcbiAgICAgIFtuekRpc2FibGVkXT1cIm56RGlzYWJsZWRcIlxuICAgICAgWyhuekZpbGVMaXN0KV09XCJuekZpbGVMaXN0XCJcbiAgICAgIFtuekxpbWl0XT1cIm56TGltaXRcIlxuICAgICAgW256U2l6ZV09XCJuelNpemVcIlxuICAgICAgW256RmlsZVR5cGVdPVwibnpGaWxlVHlwZVwiXG4gICAgICBbbnpGaWx0ZXJdPVwibnpGaWx0ZXJcIlxuICAgICAgW256SGVhZGVyc109XCJuekhlYWRlcnNcIlxuICAgICAgW256TGlzdFR5cGVdPVwibnpMaXN0VHlwZVwiXG4gICAgICBbbnpNdWx0aXBsZV09XCJuek11bHRpcGxlXCJcbiAgICAgIFtuek5hbWVdPVwibnpOYW1lXCJcbiAgICAgIFtuelNob3dVcGxvYWRMaXN0XT1cIm56U2hvd1VwbG9hZExpc3RcIlxuICAgICAgW256U2hvd0J1dHRvbl09XCJuelNob3dCdXR0b25cIlxuICAgICAgW256V2l0aENyZWRlbnRpYWxzXT1cIm56V2l0aENyZWRlbnRpYWxzXCJcbiAgICAgIFtuek9wZW5GaWxlRGlhbG9nT25DbGlja109XCJuek9wZW5GaWxlRGlhbG9nT25DbGlja1wiXG4gICAgICBbbnpQcmV2aWV3XT1cIm56UHJldmlld1wiXG4gICAgICBbbnpQcmV2aWV3RmlsZV09XCJuelByZXZpZXdGaWxlXCJcbiAgICAgIFtuelByZXZpZXdJc0ltYWdlXT1cIm56UHJldmlld0lzSW1hZ2VcIlxuICAgICAgW256UmVtb3ZlXT1cIm56UmVtb3ZlXCJcbiAgICAgIFtuekRvd25sb2FkXT1cIm56RG93bmxvYWRcIlxuICAgICAgW256VHJhbnNmb3JtRmlsZV09XCJuelRyYW5zZm9ybUZpbGVcIlxuICAgICAgW256SWNvblJlbmRlcl09XCJuekljb25SZW5kZXJcIlxuICAgICAgW256RmlsZUxpc3RSZW5kZXJdPVwibnpGaWxlTGlzdFJlbmRlclwiXG4gICAgICBbbmdDbGFzc109XCJjbGFzc05hbWVcIlxuICAgICAgKG56Q2hhbmdlKT1cImNoYW5nZSgkZXZlbnQpXCJcbiAgICAgIChuekZpbGVMaXN0Q2hhbmdlKT1cImZpbGVMaXN0Q2hhbmdlKCRldmVudClcIlxuICAgID5cbiAgICAgIDxuZy1jb250YWluZXIgW25nU3dpdGNoXT1cIm56VHlwZVwiPlxuICAgICAgICA8bmctY29udGFpbmVyICpuZ1N3aXRjaENhc2U9XCInZHJhZydcIj5cbiAgICAgICAgICA8cCBjbGFzcz1cImFudC11cGxvYWQtZHJhZy1pY29uXCI+XG4gICAgICAgICAgICA8c3BhblxuICAgICAgICAgICAgICAqbmdJZj1cIm56ZVVwbG9hZEJ1dHRvbkljb25cIlxuICAgICAgICAgICAgICBuei1pY29uXG4gICAgICAgICAgICAgIFtuelR5cGVdPVwibnplVXBsb2FkQnV0dG9uSWNvbi50eXBlXCJcbiAgICAgICAgICAgICAgW256VGhlbWVdPVwibnplVXBsb2FkQnV0dG9uSWNvbi50aGVtZSB8fCAnb3V0bGluZSdcIlxuICAgICAgICAgICAgICBbbnpTcGluXT1cIm56ZVVwbG9hZEJ1dHRvbkljb24uc3BpbiEhXCJcbiAgICAgICAgICAgICAgW256VHdvdG9uZUNvbG9yXT1cIm56ZVVwbG9hZEJ1dHRvbkljb24udHdvVG9uZUNvbG9yIHx8ICcnXCJcbiAgICAgICAgICAgID48L3NwYW4+XG4gICAgICAgICAgPC9wPlxuICAgICAgICAgIDxwIGNsYXNzPVwiYW50LXVwbG9hZC10ZXh0XCI+e3sgbnplVGV4dCB9fTwvcD5cbiAgICAgICAgICA8cCBjbGFzcz1cImFudC11cGxvYWQtaGludFwiPnt7IG56ZUhpbnQgfX08L3A+XG4gICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgICAgICA8bmctY29udGFpbmVyICpuZ1N3aXRjaERlZmF1bHQ+XG4gICAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgdHlwZT1cImJ1dHRvblwiXG4gICAgICAgICAgICBuei1idXR0b25cbiAgICAgICAgICAgIFtkaXNhYmxlZF09XCJuekRpc2FibGVkISFcIlxuICAgICAgICAgICAgKm5nSWY9XCJuemVTaG93VXBsb2FkQnV0dG9uICE9PSBmYWxzZVwiXG4gICAgICAgICAgPlxuICAgICAgICAgICAgPHNwYW5cbiAgICAgICAgICAgICAgKm5nSWY9XCJuemVVcGxvYWRCdXR0b25JY29uXCJcbiAgICAgICAgICAgICAgbnotaWNvblxuICAgICAgICAgICAgICBbbnpUeXBlXT1cIm56ZVVwbG9hZEJ1dHRvbkljb24udHlwZVwiXG4gICAgICAgICAgICAgIFtuelRoZW1lXT1cIm56ZVVwbG9hZEJ1dHRvbkljb24udGhlbWUgfHwgJ291dGxpbmUnXCJcbiAgICAgICAgICAgICAgW256U3Bpbl09XCJuemVVcGxvYWRCdXR0b25JY29uLnNwaW4hIVwiXG4gICAgICAgICAgICAgIFtuelR3b3RvbmVDb2xvcl09XCJuemVVcGxvYWRCdXR0b25JY29uLnR3b1RvbmVDb2xvciB8fCAnJ1wiXG4gICAgICAgICAgICA+PC9zcGFuPlxuICAgICAgICAgICAge3sgbnplVGV4dCB9fVxuICAgICAgICAgIDwvYnV0dG9uPlxuXG4gICAgICAgICAgPGRpdiAqbmdJZj1cIm56ZVNob3dVcGxvYWRCdXR0b24gPT09IGZhbHNlXCI+XG4gICAgICAgICAgICA8c3BhblxuICAgICAgICAgICAgICAqbmdJZj1cIm56ZVVwbG9hZEJ1dHRvbkljb25cIlxuICAgICAgICAgICAgICBuei1pY29uXG4gICAgICAgICAgICAgIFtuelR5cGVdPVwibnplVXBsb2FkQnV0dG9uSWNvbi50eXBlXCJcbiAgICAgICAgICAgICAgW256VGhlbWVdPVwibnplVXBsb2FkQnV0dG9uSWNvbi50aGVtZSB8fCAnb3V0bGluZSdcIlxuICAgICAgICAgICAgICBbbnp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AgIFtuelNob3dCdXR0b25dPVwibnpTaG93QnV0dG9uXCJcbiAgICAgIFtueldpdGhDcmVkZW50aWFsc109XCJueldpdGhDcmVkZW50aWFsc1wiXG4gICAgICBbbnpPcGVuRmlsZURpYWxvZ09uQ2xpY2tdPVwibnpPcGVuRmlsZURpYWxvZ09uQ2xpY2tcIlxuICAgICAgW256UHJldmlld109XCJuelByZXZpZXdcIlxuICAgICAgW256UHJldmlld0ZpbGVdPVwibnpQcmV2aWV3RmlsZVwiXG4gICAgICBbbnpQcmV2aWV3SXNJbWFnZV09XCJuelByZXZpZXdJc0ltYWdlXCJcbiAgICAgIFtuelJlbW92ZV09XCJuelJlbW92ZVwiXG4gICAgICBbbnpEb3dubG9hZF09XCJuekRvd25sb2FkXCJcbiAgICAgIFtuelRyYW5zZm9ybUZpbGVdPVwibnpUcmFuc2Zvcm1GaWxlXCJcbiAgICAgIFtuekljb25SZW5kZXJdPVwibnpJY29uUmVuZGVyXCJcbiAgICAgIFtuekZpbGVMaXN0UmVuZGVyXT1cIm56RmlsZUxpc3RSZW5kZXJcIlxuICAgICAgW25nQ2xhc3NdPVwiY2xhc3NOYW1lXCJcbiAgICAgIChuekNoYW5nZSk9XCJjaGFuZ2UoJGV2ZW50KVwiXG4gICAgICAobnpGaWxlTGlzdENoYW5nZSk9XCJmaWxlTGlzdENoYW5nZSgkZXZlbnQpXCJcbiAgICA+XG4gICAgICA8bmctY29udGFpbmVyIFtuZ1N3aXRjaF09XCJuelR5cGVcIj5cbiAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdTd2l0Y2hDYXNlPVwiJ2RyYWcnXCI+XG4gICAgICAgICAgPHAgY2xhc3M9XCJhbnQtdXBsb2FkLWRyYWctaWNvblwiPlxuICAgICAgICAgICAgPHNwYW5cbiAgICAgICAgICAgICAgKm5nSWY9XCJuemVVcGxvYWRCdXR0b25JY29uXCJcbiAgICAgICAgICAgICAgbnotaWNvblxuICAgICAgICAgICAgICBbbnpUeXBlXT1cIm56ZVVwbG9hZEJ1dHRvbkljb24udHlwZVwiXG4gICAgICAgICAgICAgIFtuelRoZW1lXT1cIm56ZVVwbG9hZEJ1dHRvbkljb24udGhlbWUgfHwgJ291dGxpbmUnXCJcbiAgICAgICAgICAgICAgW256U3Bpbl09XCJuemVVcGxvYWRCdXR0b25JY29uLnNwaW4hIVwiXG4gICAgICAgICAgICAgIFtuelR3b3RvbmVDb2xvcl09XCJuemVVcGxvYWRCdXR0b25JY29uLnR3b1RvbmVDb2xvciB8fCAnJ1wiXG4gICAgICAgICAgICA+PC9zcGFuPlxuICAgICAgICAgIDwvcD5cbiAgICAgICAgICA8cCBjbGFzcz1cImFudC11cGxvYWQtdGV4dFwiPnt7IG56ZVRleHQgfX08L3A+XG4gICAgICAgICAgPHAgY2xhc3M9XCJhbnQtdXBsb2FkLWhpbnRcIj57eyBuemVIaW50IH19PC9wPlxuICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdTd2l0Y2hEZWZhdWx0PlxuICAgICAgICAgIDxidXR0b25cbiAgICAgICAgICAgIHR5cGU9XCJidXR0b25cIlxuICAgICAgICAgICAgbnotYnV0dG9uXG4gICAgICAgICAgICBbZGlzYWJsZWRdPVwibnpEaXNhYmxlZCEhXCJcbiAgICAgICAgICAgICpuZ0lmPVwibnplU2hvd1VwbG9hZEJ1dHRvbiAhPT0gZmFsc2VcIlxuICAgICAgICAgID5cbiAgICAgICAgICAgIDxzcGFuXG4gICAgICAgICAgICAgICpuZ0lmPVwibnplVXBsb2FkQnV0dG9uSWNvblwiXG4gICAgICAgICAgICAgIG56LWljb25cbiAgICAgICAgICAgICAgW256VHlwZV09XCJuemVVcGxvYWRCdXR0b25JY29uLnR5cGVcIlxuICAgICAgICAgICAgICBbbnpUaGVtZV09XCJuemVVcGxvYWRCdXR0b25JY29uLnRoZW1lIHx8ICdvdXRsaW5lJ1wiXG4gICAgICAgICAgICAgIFtuelNwaW5dPVwibnplVXBsb2FkQnV0dG9uSWNvbi5zcGluISFcIlxuICAgICAgICAgICAgICBbbnpUd290b25lQ29sb3JdPVwibnplVXBsb2FkQnV0dG9uSWNvbi50d29Ub25lQ29sb3IgfHwgJydcIlxuICAgICAgICAgICAgPjwvc3Bhbj5cbiAgICAgICAgICAgIHt7IG56ZVRleHQgfX1cbiAgICAgICAgICA8L2J1dHRvbj5cblxuICAgICAgICAgIDxkaXYgKm5nSWY9XCJuemVTaG93VXBsb2FkQnV0dG9uID09PSBmYWxzZVwiPlxuICAgICAgICAgICAgPHNwYW5cbiAgICAgICAgICAgICAgKm5nSWY9XCJuemVVcGxvYWRCdXR0b25JY29uXCJcbiAgICAgICAgICAgICAgbnotaWNvblxuICAgICAgICAgICAgICBbbnpUeXBlXT1cIm56ZVVwbG9hZEJ1dHRvbkljb24udHlwZVwiXG4gICAgICAgICAgICAgIFtuelRoZW1lXT1cIm56ZVVwbG9hZEJ1dHRvbkljb24udGhlbWUgfHwgJ291dGxpbmUnXCJcbiAgICAgICAgICAgICAgW256U3Bpbl09XCJuemVVcGxvYWRCdXR0b25JY29uLnNwaW4hIVwiXG4gICAgICAgICAgICAgIFtuelR3b3RvbmVDb2xvcl09XCJuemVVcGxvYWRCdXR0b25JY29uLnR3b1RvbmVDb2xvciB8fCAnJ1wiXG4gICAgICAgICAgICA+PC9zcGFuPlxuICAgICAgICAgICAge3sgbnplVGV4dCB9fVxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImFudC11cGxvYWQtaGludFwiIHN0eWxlPVwibWFyZ2luLXRvcDogOHB4XCI+e3sgbnplSGludCB9fTwvZGl2PlxuICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgIDwvbmctY29udGFpbmVyPlxuICAgIDwvbnotdXBsb2FkPlxuICBgLFxuICBlbmNhcHN1bGF0aW9uOiBWaWV3RW5jYXBzdWxhdGlvbi5Ob25lLFxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURld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0dXMgPT09ICdkb25lJykpKTtcbiAgICAgIH0gZWxzZSB7XG4gICAgICAgIHRoaXMub25DaGFuZ2UodmFsdWUuZmlsZUxpc3QuZmlsdGVyKHggPT4geC5zdGF0dXMgPT09ICdkb25lJykpO1xuICAgICAgfVxuICAgIH1cbiAgfVxufVxuIl19
|
@@ -10,15 +10,15 @@ import { FormlyFieldUpload } from './upload.type';
|
|
10
10
|
import { UploadNzComponent } from './upload.component';
|
11
11
|
import * as i0 from "@angular/core";
|
12
12
|
import * as i1 from "@ngx-formly/core";
|
13
|
-
class FormlyNzUploadModule {
|
14
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
15
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.
|
13
|
+
export class FormlyNzUploadModule {
|
14
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzUploadModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
15
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzUploadModule, declarations: [FormlyFieldUpload, UploadNzComponent], imports: [CommonModule,
|
16
16
|
ReactiveFormsModule,
|
17
17
|
FormlyNzFormFieldModule,
|
18
18
|
NzUploadModule,
|
19
19
|
NzButtonModule,
|
20
20
|
NzIconModule, i1.FormlyModule] }); }
|
21
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.
|
21
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzUploadModule, imports: [CommonModule,
|
22
22
|
ReactiveFormsModule,
|
23
23
|
FormlyNzFormFieldModule,
|
24
24
|
NzUploadModule,
|
@@ -34,8 +34,7 @@ class FormlyNzUploadModule {
|
|
34
34
|
]
|
35
35
|
})] }); }
|
36
36
|
}
|
37
|
-
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyNzUploadModule, decorators: [{
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzUploadModule, decorators: [{
|
39
38
|
type: NgModule,
|
40
39
|
args: [{
|
41
40
|
declarations: [FormlyFieldUpload, UploadNzComponent],
|
@@ -58,4 +57,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImpor
|
|
58
57
|
]
|
59
58
|
}]
|
60
59
|
}] });
|
61
|
-
//# sourceMappingURL=data:application/json;base64,
|
60
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBsb2FkLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvdXBsb2FkL3NyYy91cGxvYWQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUNoRCxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNyRCxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQztBQUUzRSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFDdEQsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ3RELE9BQU8sRUFBRS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npJY29uTW9kdWxlLFxuXG4gICAgRm9ybWx5TW9kdWxlLmZvckNoaWxkKHtcbiAgICAgIHR5cGVzOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBuYW1lOiAndXBsb2FkJyxcbiAgICAgICAgICBjb21wb25lbnQ6IEZvcm1seUZpZWxkVXBsb2FkLFxuICAgICAgICAgIHdyYXBwZXJzOiBbJ2Zvcm0tZmllbGQnXVxuICAgICAgICB9XG4gICAgICBdXG4gICAgfSlcbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBGb3JtbHlOelVwbG9hZE1vZHVsZSB7fVxuIl19
|
@@ -5,7 +5,7 @@ import * as i0 from "@angular/core";
|
|
5
5
|
import * as i1 from "@angular/forms";
|
6
6
|
import * as i2 from "@ngx-formly/core";
|
7
7
|
import * as i3 from "./upload.component";
|
8
|
-
class FormlyFieldUpload extends FieldType {
|
8
|
+
export class FormlyFieldUpload extends FieldType {
|
9
9
|
constructor() {
|
10
10
|
super(...arguments);
|
11
11
|
this.defaultOptions = {
|
@@ -30,8 +30,8 @@ class FormlyFieldUpload extends FieldType {
|
|
30
30
|
this.upload.nzType = type;
|
31
31
|
}
|
32
32
|
}
|
33
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
34
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
33
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyFieldUpload, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
34
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: FormlyFieldUpload, selector: "formly-field-upload", viewQueries: [{ propertyName: "upload", first: true, predicate: ["upload"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `<formly-nz-upload
|
35
35
|
#upload
|
36
36
|
[formControl]="formControl"
|
37
37
|
[formlyAttributes]="field"
|
@@ -74,8 +74,7 @@ class FormlyFieldUpload extends FieldType {
|
|
74
74
|
>
|
75
75
|
</formly-nz-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.UploadNzComponent, selector: "formly-nz-upload", inputs: ["nzeText", "nzeHint", "nzeShowUploadButton", "nzeUploadButton", "nzeUploadButtonIcon", "className", "resultMap"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
76
76
|
}
|
77
|
-
|
78
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyFieldUpload, decorators: [{
|
77
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyFieldUpload, decorators: [{
|
79
78
|
type: Component,
|
80
79
|
args: [{
|
81
80
|
selector: 'formly-field-upload',
|
@@ -127,4 +126,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImpor
|
|
127
126
|
type: ViewChild,
|
128
127
|
args: ['upload', { static: true }]
|
129
128
|
}] } });
|
130
|
-
//# sourceMappingURL=data:application/json;base64,
|
129
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBsb2FkLnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL3VwbG9hZC9zcmMvdXBsb2FkLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsR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GFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaFxufSlcbmV4cG9ydCBjbGFzcyBGb3JtbHlGaWVsZFVwbG9hZCBleHRlbmRzIEZpZWxkVHlwZTxGaWVsZFR5cGVDb25maWc8VXBsb2FkUHJvcHM+PiBpbXBsZW1lbnRzIE9uSW5pdCB7XG4gIG92ZXJyaWRlIGRlZmF1bHRPcHRpb25zID0ge1xuICAgIHByb3BzOiB7XG4gICAgICBsaXN0VHlwZTogJ3RleHQnIGFzIGNvbnN0LFxuICAgICAgbmFtZTogJ2ZpbGUnLFxuICAgICAgc2hvd1VwbG9hZExpc3Q6IHRydWUsXG4gICAgICBzaG93QnV0dG9uOiB0cnVlLFxuICAgICAgb3BlbkZpbGVEaWFsb2dPbkNsaWNrOiB0cnVlLFxuICAgICAgc2hvd1VwbG9hZEJ1dHRvbjogdHJ1ZSxcbiAgICAgIGxpbWl0OiAwLFxuICAgICAgc2l6ZTogMCxcbiAgICAgIGZpbGVMaXN0OiBbXSxcbiAgICAgIGZpbHRlcjogW10sXG4gICAgICB0ZXh0OiAnJ1xuICAgIH1cbiAgfTtcblxuICBAVmlld0NoaWxkKCd1cGxvYWQnLCB7IHN0YXRpYzogdHJ1ZSB9KSB1cGxvYWQhOiBVcGxvYWROekNvbXBvbmVudDtcblxuICBuZ09uSW5pdCgpOiB2b2lkIHtcbiAgICBjb25zdCB0eXBlID0gdGhpcy5wcm9wcy50eXBlO1xuICAgIGlmICh0eXBlKSB7XG4gICAgICB0aGlzLnVwbG9hZC5uelR5cGUgPSB0eXBlO1xuICAgIH1cbiAgfVxufVxuIl19
|
@@ -24,8 +24,8 @@ class FormlyFieldButton extends FieldType {
|
|
24
24
|
}
|
25
25
|
};
|
26
26
|
}
|
27
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
28
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
27
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyFieldButton, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
28
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: FormlyFieldButton, selector: "formly-field-button", usesInheritance: true, ngImport: i0, template: `
|
29
29
|
<ng-container *ngIf="props.type === 'a'; else elsebutton">
|
30
30
|
<a
|
31
31
|
nz-button
|
@@ -65,7 +65,7 @@ class FormlyFieldButton extends FieldType {
|
|
65
65
|
</ng-template>
|
66
66
|
`, 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 }); }
|
67
67
|
}
|
68
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
68
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyFieldButton, decorators: [{
|
69
69
|
type: Component,
|
70
70
|
args: [{
|
71
71
|
selector: 'formly-field-button',
|
@@ -113,11 +113,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImpor
|
|
113
113
|
}] });
|
114
114
|
|
115
115
|
class FormlyNzButtonModule {
|
116
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
117
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.
|
116
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
117
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzButtonModule, declarations: [FormlyFieldButton], imports: [CommonModule,
|
118
118
|
NzButtonModule,
|
119
119
|
NzIconModule, i6.FormlyModule] }); }
|
120
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.
|
120
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzButtonModule, imports: [CommonModule,
|
121
121
|
NzButtonModule,
|
122
122
|
NzIconModule,
|
123
123
|
FormlyModule.forChild({
|
@@ -137,7 +137,7 @@ class FormlyNzButtonModule {
|
|
137
137
|
]
|
138
138
|
})] }); }
|
139
139
|
}
|
140
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
140
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzButtonModule, decorators: [{
|
141
141
|
type: NgModule,
|
142
142
|
args: [{
|
143
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';\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\n\nimport type { NzButtonShape, NzButtonSize, NzButtonType } from 'ng-zorro-antd/button';\n\ninterface ButtonProps extends FormlyFieldProps {\n type?: 'a' | 'button';\n /**\n * 幽灵属性,使按钮背景透明\n * @default false\n */\n ghost?: boolean;\n\n /**\n * 设置按钮载入状态\n * @default false\n */\n loading?: boolean;\n\n /**\n * 设置按钮形状\n */\n shape?: NzButtonShape;\n\n /**\n * 设置按钮大小\n * @default default\n */\n size?: NzButtonSize;\n\n /**\n * 设置按钮类型\n */\n buttonType?: NzButtonType;\n\n /**\n * 将按钮宽度调整为其父宽度的选项\n * @default false\n */\n block?: boolean;\n\n /**\n * 设置危险按钮\n * @default false\n */\n danger?: boolean;\n\n /**\n * 图标在前面\n */\n iconOnBefore?: string;\n\n /**\n * 图标在后面\n */\n iconOnAfter?: string;\n}\n\nexport interface FormlyButtonFieldConfig extends FormlyFieldConfig<ButtonProps> {\n type: 'button' | 'submit' | 'reset' | Type<FormlyFieldButton>;\n}\n\n@Component({\n selector: 'formly-field-button',\n template: `\n <ng-container *ngIf=\"props.type === 'a'; else elsebutton\">\n <a\n nz-button\n [formlyAttributes]=\"field\"\n [nzGhost]=\"props['ghost']!!\"\n [nzLoading]=\"props['loading']!!\"\n [nzShape]=\"props['shape'] ?? null\"\n [nzSize]=\"props['size']!\"\n [nzBlock]=\"props['block']!!\"\n [nzDanger]=\"props['danger']!!\"\n [nzType]=\"props['buttonType'] ?? 'link'\"\n [ngClass]=\"props['className']!\"\n >\n <span *ngIf=\"props['iconOnBefore']\" nz-icon [nzType]=\"props['iconOnBefore']\"></span>\n {{ props.label }}\n <span *ngIf=\"props['iconOnAfter']\" nz-icon [nzType]=\"props['iconOnAfter']\"></span>\n </a>\n </ng-container>\n <ng-template #elsebutton>\n <button\n nz-button\n [attr.type]=\"field.type\"\n [formlyAttributes]=\"field\"\n [nzGhost]=\"props['ghost']!!\"\n [nzLoading]=\"props['loading']!!\"\n [nzShape]=\"props['shape'] ?? null\"\n [nzSize]=\"props['size']!\"\n [nzBlock]=\"props['block']!!\"\n [nzDanger]=\"props['danger']!!\"\n [nzType]=\"props['buttonType'] ?? null\"\n [ngClass]=\"props['className']!\"\n >\n <span *ngIf=\"props['iconOnBefore']\" nz-icon [nzType]=\"props['iconOnBefore']\"></span>\n {{ props.label }}\n <span *ngIf=\"props['iconOnAfter']\" nz-icon [nzType]=\"props['iconOnAfter']\"></span>\n </button>\n </ng-template>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldButton extends FieldType<FieldTypeConfig<ButtonProps>> {\n override defaultOptions = {\n props: {\n ghost: false,\n loading: false,\n block: false,\n size: 'default' as const,\n danger: false\n }\n };\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\n\nimport { FormlyFieldButton } from './button.type';\nimport { NzButtonModule } from 'ng-zorro-antd/button';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\n\n@NgModule({\n declarations: [FormlyFieldButton],\n imports: [\n CommonModule,\n NzButtonModule,\n NzIconModule,\n\n FormlyModule.forChild({\n types: [\n {\n name: 'button',\n component: FormlyFieldButton\n },\n {\n name: 'submit',\n extends: 'button'\n },\n {\n name: 'reset',\n extends: 'button'\n }\n ]\n })\n ]\n})\nexport class FormlyNzButtonModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;
|
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';\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\n\nimport type { NzButtonShape, NzButtonSize, NzButtonType } from 'ng-zorro-antd/button';\n\ninterface ButtonProps extends FormlyFieldProps {\n type?: 'a' | 'button';\n /**\n * 幽灵属性,使按钮背景透明\n * @default false\n */\n ghost?: boolean;\n\n /**\n * 设置按钮载入状态\n * @default false\n */\n loading?: boolean;\n\n /**\n * 设置按钮形状\n */\n shape?: NzButtonShape;\n\n /**\n * 设置按钮大小\n * @default default\n */\n size?: NzButtonSize;\n\n /**\n * 设置按钮类型\n */\n buttonType?: NzButtonType;\n\n /**\n * 将按钮宽度调整为其父宽度的选项\n * @default false\n */\n block?: boolean;\n\n /**\n * 设置危险按钮\n * @default false\n */\n danger?: boolean;\n\n /**\n * 图标在前面\n */\n iconOnBefore?: string;\n\n /**\n * 图标在后面\n */\n iconOnAfter?: string;\n}\n\nexport interface FormlyButtonFieldConfig extends FormlyFieldConfig<ButtonProps> {\n type: 'button' | 'submit' | 'reset' | Type<FormlyFieldButton>;\n}\n\n@Component({\n selector: 'formly-field-button',\n template: `\n <ng-container *ngIf=\"props.type === 'a'; else elsebutton\">\n <a\n nz-button\n [formlyAttributes]=\"field\"\n [nzGhost]=\"props['ghost']!!\"\n [nzLoading]=\"props['loading']!!\"\n [nzShape]=\"props['shape'] ?? null\"\n [nzSize]=\"props['size']!\"\n [nzBlock]=\"props['block']!!\"\n [nzDanger]=\"props['danger']!!\"\n [nzType]=\"props['buttonType'] ?? 'link'\"\n [ngClass]=\"props['className']!\"\n >\n <span *ngIf=\"props['iconOnBefore']\" nz-icon [nzType]=\"props['iconOnBefore']\"></span>\n {{ props.label }}\n <span *ngIf=\"props['iconOnAfter']\" nz-icon [nzType]=\"props['iconOnAfter']\"></span>\n </a>\n </ng-container>\n <ng-template #elsebutton>\n <button\n nz-button\n [attr.type]=\"field.type\"\n [formlyAttributes]=\"field\"\n [nzGhost]=\"props['ghost']!!\"\n [nzLoading]=\"props['loading']!!\"\n [nzShape]=\"props['shape'] ?? null\"\n [nzSize]=\"props['size']!\"\n [nzBlock]=\"props['block']!!\"\n [nzDanger]=\"props['danger']!!\"\n [nzType]=\"props['buttonType'] ?? null\"\n [ngClass]=\"props['className']!\"\n >\n <span *ngIf=\"props['iconOnBefore']\" nz-icon [nzType]=\"props['iconOnBefore']\"></span>\n {{ props.label }}\n <span *ngIf=\"props['iconOnAfter']\" nz-icon [nzType]=\"props['iconOnAfter']\"></span>\n </button>\n </ng-template>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldButton extends FieldType<FieldTypeConfig<ButtonProps>> {\n override defaultOptions = {\n props: {\n ghost: false,\n loading: false,\n block: false,\n size: 'default' as const,\n danger: false\n }\n };\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\n\nimport { FormlyFieldButton } from './button.type';\nimport { NzButtonModule } from 'ng-zorro-antd/button';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\n\n@NgModule({\n declarations: [FormlyFieldButton],\n imports: [\n CommonModule,\n NzButtonModule,\n NzIconModule,\n\n FormlyModule.forChild({\n types: [\n {\n name: 'button',\n component: FormlyFieldButton\n },\n {\n name: 'submit',\n extends: 'button'\n },\n {\n name: 'reset',\n extends: 'button'\n }\n ]\n })\n ]\n})\nexport class FormlyNzButtonModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;AA0GM,MAAO,i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CAAA;AACE,oCAAA,IAAI,EAAE,OAAO;AACb,oCAAA,OAAO,EAAE,QAAQ;AAClB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;AChCD;;AAEG;;;;"}
|
@@ -7,8 +7,8 @@ import * as i1 from 'ng-zorro-antd/card';
|
|
7
7
|
import { NzCardModule } from 'ng-zorro-antd/card';
|
8
8
|
|
9
9
|
class FormlyWrapperCard extends FieldWrapper {
|
10
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
11
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyWrapperCard, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
11
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: FormlyWrapperCard, selector: "formly-wrapper-card", usesInheritance: true, ngImport: i0, template: `
|
12
12
|
<nz-card
|
13
13
|
[nzActions]="props['actions'] || []"
|
14
14
|
[nzBodyStyle]="props['bodyStyle'] ?? null"
|
@@ -25,7 +25,7 @@ class FormlyWrapperCard extends FieldWrapper {
|
|
25
25
|
</nz-card>
|
26
26
|
`, 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 }); }
|
27
27
|
}
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyWrapperCard, decorators: [{
|
29
29
|
type: Component,
|
30
30
|
args: [{
|
31
31
|
selector: 'formly-wrapper-card',
|
@@ -50,10 +50,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImpor
|
|
50
50
|
}] });
|
51
51
|
|
52
52
|
class FormlyNzCardModule {
|
53
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
54
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.
|
53
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzCardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
54
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzCardModule, declarations: [FormlyWrapperCard], imports: [CommonModule,
|
55
55
|
NzCardModule, i1$1.FormlyModule] }); }
|
56
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.
|
56
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzCardModule, imports: [CommonModule,
|
57
57
|
NzCardModule,
|
58
58
|
FormlyModule.forChild({
|
59
59
|
wrappers: [
|
@@ -65,7 +65,7 @@ class FormlyNzCardModule {
|
|
65
65
|
]
|
66
66
|
})] }); }
|
67
67
|
}
|
68
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
68
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzCardModule, decorators: [{
|
69
69
|
type: NgModule,
|
70
70
|
args: [{
|
71
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';\nimport { FieldWrapper, FormlyFieldConfig } from '@ngx-formly/core';\n\nimport type { NzSizeDSType, NgStyleInterface } from 'ng-zorro-antd/core/types';\n\ninterface CardProps {\n /**\n * 卡片操作组,位置在卡片底部\n */\n actions?: Array<TemplateRef<void>>;\n\n /**\n * 内容区域自定义样式\n */\n bodyStyle?: NgStyleInterface | null;\n\n /**\n * \t是否移除边框\n * @default false\n */\n borderless?: boolean;\n\n /**\n * 卡片封面\n */\n cover?: TemplateRef<void>;\n\n /**\n * 卡片右上角的操作区域\n */\n extra?: string | TemplateRef<void>;\n\n /**\n * 鼠标移过时可浮起\n * @default false\n */\n hoverable?: boolean;\n\n /**\n * 当卡片内容还在加载中时,可以用 loading 展示一个占位\n * @default false\n */\n loading?: boolean;\n\n /**\n * 卡片的尺寸\n * @default default\n */\n size?: NzSizeDSType;\n\n /**\n * \t卡片标题\n */\n title?: string | TemplateRef<void>;\n\n /**\n * 卡片类型,可设置为 inner 或 不设置\n */\n type?: string | 'inner';\n}\n\nexport interface FormlyCardWrapperConfig extends FormlyFieldConfig<CardProps> {\n wrappers: ('card' | Type<FormlyWrapperCard>)[];\n}\n\n@Component({\n selector: 'formly-wrapper-card',\n template: `\n <nz-card\n [nzActions]=\"props['actions'] || []\"\n [nzBodyStyle]=\"props['bodyStyle'] ?? null\"\n [nzSize]=\"props['size']!\"\n [nzBorderless]=\"props['borderless']!!\"\n [nzCover]=\"props['cover']\"\n [nzExtra]=\"props['extra']\"\n [nzHoverable]=\"props['hoverable']!!\"\n [nzLoading]=\"props['loading']!!\"\n [nzTitle]=\"props['title']\"\n [nzType]=\"props['type'] ?? null\"\n >\n <ng-container #fieldComponent></ng-container>\n </nz-card>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyWrapperCard extends FieldWrapper<FormlyFieldConfig<CardProps>> {}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\n\nimport { FormlyWrapperCard } from './card.wrapper';\nimport { NzCardModule } from 'ng-zorro-antd/card';\n\n@NgModule({\n declarations: [FormlyWrapperCard],\n imports: [\n CommonModule,\n NzCardModule,\n\n FormlyModule.forChild({\n wrappers: [\n {\n name: 'card',\n component: FormlyWrapperCard,\n types: ['card']\n }\n ]\n })\n ]\n})\nexport class FormlyNzCardModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;
|
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';\nimport { FieldWrapper, FormlyFieldConfig } from '@ngx-formly/core';\n\nimport type { NzSizeDSType, NgStyleInterface } from 'ng-zorro-antd/core/types';\n\ninterface CardProps {\n /**\n * 卡片操作组,位置在卡片底部\n */\n actions?: Array<TemplateRef<void>>;\n\n /**\n * 内容区域自定义样式\n */\n bodyStyle?: NgStyleInterface | null;\n\n /**\n * \t是否移除边框\n * @default false\n */\n borderless?: boolean;\n\n /**\n * 卡片封面\n */\n cover?: TemplateRef<void>;\n\n /**\n * 卡片右上角的操作区域\n */\n extra?: string | TemplateRef<void>;\n\n /**\n * 鼠标移过时可浮起\n * @default false\n */\n hoverable?: boolean;\n\n /**\n * 当卡片内容还在加载中时,可以用 loading 展示一个占位\n * @default false\n */\n loading?: boolean;\n\n /**\n * 卡片的尺寸\n * @default default\n */\n size?: NzSizeDSType;\n\n /**\n * \t卡片标题\n */\n title?: string | TemplateRef<void>;\n\n /**\n * 卡片类型,可设置为 inner 或 不设置\n */\n type?: string | 'inner';\n}\n\nexport interface FormlyCardWrapperConfig extends FormlyFieldConfig<CardProps> {\n wrappers: ('card' | Type<FormlyWrapperCard>)[];\n}\n\n@Component({\n selector: 'formly-wrapper-card',\n template: `\n <nz-card\n [nzActions]=\"props['actions'] || []\"\n [nzBodyStyle]=\"props['bodyStyle'] ?? null\"\n [nzSize]=\"props['size']!\"\n [nzBorderless]=\"props['borderless']!!\"\n [nzCover]=\"props['cover']\"\n [nzExtra]=\"props['extra']\"\n [nzHoverable]=\"props['hoverable']!!\"\n [nzLoading]=\"props['loading']!!\"\n [nzTitle]=\"props['title']\"\n [nzType]=\"props['type'] ?? null\"\n >\n <ng-container #fieldComponent></ng-container>\n </nz-card>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyWrapperCard extends FieldWrapper<FormlyFieldConfig<CardProps>> {}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\n\nimport { FormlyWrapperCard } from './card.wrapper';\nimport { NzCardModule } from 'ng-zorro-antd/card';\n\n@NgModule({\n declarations: [FormlyWrapperCard],\n imports: [\n CommonModule,\n NzCardModule,\n\n FormlyModule.forChild({\n wrappers: [\n {\n name: 'card',\n component: FormlyWrapperCard,\n types: ['card']\n }\n ]\n })\n ]\n})\nexport class FormlyNzCardModule {}\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,EAAA;AAAjB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,iBAAiB,EAlBlB,QAAA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kB,YAd3B,YAAY;YACZ,YAAY;YAEZ,YAAY,CAAC,QAAQ,CAAC;AACpB,gBAAA,QAAQ,EAAE;AACR,oBAAA;AACE,wBAAA,IAAI,EAAE,MAAM;AACZ,wBAAA,SAAS,EAAE,iBAAiB;wBAC5B,KAAK,EAAE,CAAC,MAAM,CAAC;AAChB,qBAAA;AACF,iBAAA;aACF,CAAC,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGO,kBAAkB,EAAA,UAAA,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;AACF,iBAAA,CAAA;;;ACvBD;;AAEG;;;;"}
|
@@ -37,8 +37,8 @@ class FormlyFieldCascader extends FieldType {
|
|
37
37
|
this.props['cascaderOptions'] = this.props.options;
|
38
38
|
}
|
39
39
|
}
|
40
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
41
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
40
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyFieldCascader, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
41
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: FormlyFieldCascader, selector: "formly-field-cascader", usesInheritance: true, ngImport: i0, template: `<nz-cascader
|
42
42
|
#cascader
|
43
43
|
[nzPlaceHolder]="props.placeholder ?? ''"
|
44
44
|
[formControl]="formControl"
|
@@ -73,7 +73,7 @@ class FormlyFieldCascader extends FieldType {
|
|
73
73
|
(ngModelChange)="props.change && props.change(field, $event)"
|
74
74
|
></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 }); }
|
75
75
|
}
|
76
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
76
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyFieldCascader, decorators: [{
|
77
77
|
type: Component,
|
78
78
|
args: [{
|
79
79
|
selector: 'formly-field-cascader',
|
@@ -116,12 +116,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImpor
|
|
116
116
|
}] });
|
117
117
|
|
118
118
|
class FormlyNzCascaderModule {
|
119
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
120
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.
|
119
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzCascaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
120
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzCascaderModule, declarations: [FormlyFieldCascader], imports: [CommonModule,
|
121
121
|
ReactiveFormsModule,
|
122
122
|
FormlyNzFormFieldModule,
|
123
123
|
NzCascaderModule, i4.FormlyModule] }); }
|
124
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.
|
124
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzCascaderModule, imports: [CommonModule,
|
125
125
|
ReactiveFormsModule,
|
126
126
|
FormlyNzFormFieldModule,
|
127
127
|
NzCascaderModule,
|
@@ -135,7 +135,7 @@ class FormlyNzCascaderModule {
|
|
135
135
|
]
|
136
136
|
})] }); }
|
137
137
|
}
|
138
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.
|
138
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzCascaderModule, decorators: [{
|
139
139
|
type: NgModule,
|
140
140
|
args: [{
|
141
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';\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\nimport { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\n\nimport type {\n NzCascaderOption,\n NzShowSearchOptions,\n NzCascaderExpandTrigger,\n NzCascaderSize\n} from 'ng-zorro-antd/cascader';\nimport type { NzSafeAny, NzStatus, NgStyleInterface } from 'ng-zorro-antd/core/types';\n\ninterface CascaderProps extends FormlyFieldProps {\n /**\n * 是否支持清除\n * @default true\n */\n allowClear?: boolean;\n\n /**\n * 是否自动聚焦,当存在输入框时\n * @default false\n */\n autoFocus?: boolean;\n\n /**\n * 浮层是否应带有背景板\n * @default false\n */\n backdrop?: boolean;\n\n /**\n * 点击父级菜单选项时,可通过该函数判断是否允许值的变化\n */\n changeOn?: (option: NzSafeAny, index: number) => boolean;\n\n /**\n * 当此项为 true 时,点选每级菜单选项值都会发生变化,具体见上面的演示\n * @default false\n */\n changeOnSelect?: boolean;\n\n /**\n * 自定义浮层列类名\n */\n columnClassName?: string;\n\n /**\n * 自定义次级菜单展开图标\n */\n expandIcon?: string | TemplateRef<void>;\n\n /**\n * 次级菜单的展开方式\n * @default 'click'\n */\n expandTrigger?: NzCascaderExpandTrigger;\n\n /**\n * 选项的显示值的属性名\n * @default 'label'\n */\n labelProperty: string;\n\n /**\n * 选择后展示的渲染模板\n */\n labelRender?: TemplateRef<NzSafeAny> | null;\n\n /**\n * 用于动态加载选项。如果提供了ngModel初始值,且未提供nzOptions值,则会立即触发动态加载。\n */\n loadData?: (option: NzSafeAny, index?: number) => PromiseLike<NzSafeAny>;\n\n /**\n * 自定义浮层类名\n */\n menuClassName?: string;\n\n /**\n * 自定义浮层样式\n */\n menuStyle?: NgStyleInterface | null;\n\n /**\n * 当下拉列表为空时显示的内容\n */\n notFoundContent?: string | TemplateRef<void>;\n\n /**\n * 选项的渲染模板\n */\n optionRender?: TemplateRef<{ $implicit: NzCascaderOption; index: number }> | null;\n\n /**\n * 是否显示箭头\n * @default true\n */\n showArrow?: boolean;\n\n /**\n * 显示输入框\n * @default true\n */\n showInput?: boolean;\n\n /**\n * 是否支持搜索,默认情况下对 label 进行全匹配搜索,不能和 [nzLoadData] 同时使用\n * @default false\n */\n showSearch?: boolean | NzShowSearchOptions;\n\n /**\n * 输入框大小\n * @default default\n */\n size?: NzCascaderSize;\n\n /**\n * 设置校验状态\n */\n status?: NzStatus;\n\n /**\n * 自定义的选择框后缀图标\n */\n suffixIcon?: string | TemplateRef<void>;\n\n /**\n * 选项的实际值的属性名\n * @default 'value'\n */\n valueProperty?: string;\n\n /**\n * 可选项数据源\n */\n cascaderOptions?: NzCascaderOption[] | null;\n\n /**\n * 清除值时触发\n */\n onClear?: (field: FormlyFieldConfig) => void;\n /**\n * 菜单浮层的显示/隐藏\n */\n visibleChange?: (field: FormlyFieldConfig, visible: boolean) => void;\n\n /**\n * 值发生变化时触发\n */\n selectionChange?: (field: FormlyFieldConfig, value: NzCascaderOption[]) => void;\n}\n\nexport interface FormlyCascaderFieldConfig extends FormlyFieldConfig<CascaderProps> {\n type: 'cascader' | Type<FormlyFieldCascader>;\n}\n\n@Component({\n selector: 'formly-field-cascader',\n template: `<nz-cascader\n #cascader\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [ngClass]=\"props['className']!\"\n [nzAllowClear]=\"props['allowClear']!!\"\n [nzAutoFocus]=\"props['autoFocus']!!\"\n [nzBackdrop]=\"props['backdrop']!!\"\n [nzChangeOn]=\"props['changeOn']\"\n [nzChangeOnSelect]=\"props['changeOnSelect']!!\"\n [nzColumnClassName]=\"props['columnClassName']\"\n [nzExpandIcon]=\"props['expandIcon']!\"\n [nzExpandTrigger]=\"props['expandTrigger']!\"\n [nzLabelProperty]=\"props['labelProperty']\"\n [nzLabelRender]=\"props['labelRender'] ?? null\"\n [nzLoadData]=\"props['loadData']\"\n [nzMenuClassName]=\"props['menuClassName']\"\n [nzMenuStyle]=\"props['menuStyle'] ?? null\"\n [nzNotFoundContent]=\"props['notFoundContent']\"\n [nzOptionRender]=\"props['optionRender'] ?? null\"\n [nzOptions]=\"props['cascaderOptions'] ?? null\"\n [nzShowArrow]=\"props['showArrow']!!\"\n [nzShowInput]=\"props['showInput']!!\"\n [nzShowSearch]=\"props['showSearch']!!\"\n [nzSize]=\"props['size']!\"\n [nzStatus]=\"props['status'] ?? ''\"\n [nzSuffixIcon]=\"props['suffixIcon']!\"\n [nzValueProperty]=\"props['valueProperty']!\"\n (nzClear)=\"props['onClear'] && props['onClear'](field)\"\n (nzVisibleChange)=\"props['visibleChange'] && props['visibleChange'](field, $event)\"\n (nzSelectionChange)=\"props['selectionChange'] && props['selectionChange'](field, $event)\"\n (ngModelChange)=\"props.change && props.change(field, $event)\"\n ></nz-cascader>`,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldCascader\n extends FieldType<FieldTypeConfig<CascaderProps>>\n implements OnInit\n{\n override defaultOptions = {\n props: {\n placeholder: '请选择',\n allowClear: true,\n backdrop: false,\n changeOnSelect: false,\n expandTrigger: 'click' as const,\n labelProperty: 'label',\n showArrow: true,\n showInput: true,\n showSearch: false,\n size: 'default' as const,\n status: '' as const,\n valueProperty: 'value',\n cascaderOptions: []\n }\n };\n ngOnInit(): void {\n const options = this.props['cascaderOptions'];\n if (!options || options.length === 0) {\n this.props['cascaderOptions'] = this.props.options as any;\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\n\nimport { NzCascaderModule } from 'ng-zorro-antd/cascader';\nimport { FormlyFieldCascader } from './cascader.type';\n\n@NgModule({\n declarations: [FormlyFieldCascader],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormlyNzFormFieldModule,\n\n NzCascaderModule,\n\n FormlyModule.forChild({\n types: [\n {\n name: 'cascader',\n component: FormlyFieldCascader,\n wrappers: ['form-field']\n }\n ]\n })\n ]\n})\nexport class FormlyNzCascaderModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;AA8JA,MAsCa,mBACX,SAAQ,SAAyC,CAAA;AAvCnD,IAAA,WAAA,GAAA;;AA0CW,QAAA,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;AAOH,KAAA;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;8GA1BU,mBAAmB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAnB,IAA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AAQ,CAAC;AACpB,gBAAA,KAAK,EAAE;AACL,oBAAA;AACE,wBAAA,IAAI,EAAE,UAAU;AAChB,wBAAA,SAAS,EAAE,mBAAmB;wBAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,qBAAA;AACF,iBAAA;aACF,CAAC,CAAA,EAAA,CAAA,CAAA,EAAA;;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;AACF,iBAAA,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';\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\nimport { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\n\nimport type {\n NzCascaderOption,\n NzShowSearchOptions,\n NzCascaderExpandTrigger,\n NzCascaderSize\n} from 'ng-zorro-antd/cascader';\nimport type { NzSafeAny, NzStatus, NgStyleInterface } from 'ng-zorro-antd/core/types';\n\ninterface CascaderProps extends FormlyFieldProps {\n /**\n * 是否支持清除\n * @default true\n */\n allowClear?: boolean;\n\n /**\n * 是否自动聚焦,当存在输入框时\n * @default false\n */\n autoFocus?: boolean;\n\n /**\n * 浮层是否应带有背景板\n * @default false\n */\n backdrop?: boolean;\n\n /**\n * 点击父级菜单选项时,可通过该函数判断是否允许值的变化\n */\n changeOn?: (option: NzSafeAny, index: number) => boolean;\n\n /**\n * 当此项为 true 时,点选每级菜单选项值都会发生变化,具体见上面的演示\n * @default false\n */\n changeOnSelect?: boolean;\n\n /**\n * 自定义浮层列类名\n */\n columnClassName?: string;\n\n /**\n * 自定义次级菜单展开图标\n */\n expandIcon?: string | TemplateRef<void>;\n\n /**\n * 次级菜单的展开方式\n * @default 'click'\n */\n expandTrigger?: NzCascaderExpandTrigger;\n\n /**\n * 选项的显示值的属性名\n * @default 'label'\n */\n labelProperty: string;\n\n /**\n * 选择后展示的渲染模板\n */\n labelRender?: TemplateRef<NzSafeAny> | null;\n\n /**\n * 用于动态加载选项。如果提供了ngModel初始值,且未提供nzOptions值,则会立即触发动态加载。\n */\n loadData?: (option: NzSafeAny, index?: number) => PromiseLike<NzSafeAny>;\n\n /**\n * 自定义浮层类名\n */\n menuClassName?: string;\n\n /**\n * 自定义浮层样式\n */\n menuStyle?: NgStyleInterface | null;\n\n /**\n * 当下拉列表为空时显示的内容\n */\n notFoundContent?: string | TemplateRef<void>;\n\n /**\n * 选项的渲染模板\n */\n optionRender?: TemplateRef<{ $implicit: NzCascaderOption; index: number }> | null;\n\n /**\n * 是否显示箭头\n * @default true\n */\n showArrow?: boolean;\n\n /**\n * 显示输入框\n * @default true\n */\n showInput?: boolean;\n\n /**\n * 是否支持搜索,默认情况下对 label 进行全匹配搜索,不能和 [nzLoadData] 同时使用\n * @default false\n */\n showSearch?: boolean | NzShowSearchOptions;\n\n /**\n * 输入框大小\n * @default default\n */\n size?: NzCascaderSize;\n\n /**\n * 设置校验状态\n */\n status?: NzStatus;\n\n /**\n * 自定义的选择框后缀图标\n */\n suffixIcon?: string | TemplateRef<void>;\n\n /**\n * 选项的实际值的属性名\n * @default 'value'\n */\n valueProperty?: string;\n\n /**\n * 可选项数据源\n */\n cascaderOptions?: NzCascaderOption[] | null;\n\n /**\n * 清除值时触发\n */\n onClear?: (field: FormlyFieldConfig) => void;\n /**\n * 菜单浮层的显示/隐藏\n */\n visibleChange?: (field: FormlyFieldConfig, visible: boolean) => void;\n\n /**\n * 值发生变化时触发\n */\n selectionChange?: (field: FormlyFieldConfig, value: NzCascaderOption[]) => void;\n}\n\nexport interface FormlyCascaderFieldConfig extends FormlyFieldConfig<CascaderProps> {\n type: 'cascader' | Type<FormlyFieldCascader>;\n}\n\n@Component({\n selector: 'formly-field-cascader',\n template: `<nz-cascader\n #cascader\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [ngClass]=\"props['className']!\"\n [nzAllowClear]=\"props['allowClear']!!\"\n [nzAutoFocus]=\"props['autoFocus']!!\"\n [nzBackdrop]=\"props['backdrop']!!\"\n [nzChangeOn]=\"props['changeOn']\"\n [nzChangeOnSelect]=\"props['changeOnSelect']!!\"\n [nzColumnClassName]=\"props['columnClassName']\"\n [nzExpandIcon]=\"props['expandIcon']!\"\n [nzExpandTrigger]=\"props['expandTrigger']!\"\n [nzLabelProperty]=\"props['labelProperty']\"\n [nzLabelRender]=\"props['labelRender'] ?? null\"\n [nzLoadData]=\"props['loadData']\"\n [nzMenuClassName]=\"props['menuClassName']\"\n [nzMenuStyle]=\"props['menuStyle'] ?? null\"\n [nzNotFoundContent]=\"props['notFoundContent']\"\n [nzOptionRender]=\"props['optionRender'] ?? null\"\n [nzOptions]=\"props['cascaderOptions'] ?? null\"\n [nzShowArrow]=\"props['showArrow']!!\"\n [nzShowInput]=\"props['showInput']!!\"\n [nzShowSearch]=\"props['showSearch']!!\"\n [nzSize]=\"props['size']!\"\n [nzStatus]=\"props['status'] ?? ''\"\n [nzSuffixIcon]=\"props['suffixIcon']!\"\n [nzValueProperty]=\"props['valueProperty']!\"\n (nzClear)=\"props['onClear'] && props['onClear'](field)\"\n (nzVisibleChange)=\"props['visibleChange'] && props['visibleChange'](field, $event)\"\n (nzSelectionChange)=\"props['selectionChange'] && props['selectionChange'](field, $event)\"\n (ngModelChange)=\"props.change && props.change(field, $event)\"\n ></nz-cascader>`,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldCascader\n extends FieldType<FieldTypeConfig<CascaderProps>>\n implements OnInit\n{\n override defaultOptions = {\n props: {\n placeholder: '请选择',\n allowClear: true,\n backdrop: false,\n changeOnSelect: false,\n expandTrigger: 'click' as const,\n labelProperty: 'label',\n showArrow: true,\n showInput: true,\n showSearch: false,\n size: 'default' as const,\n status: '' as const,\n valueProperty: 'value',\n cascaderOptions: []\n }\n };\n ngOnInit(): void {\n const options = this.props['cascaderOptions'];\n if (!options || options.length === 0) {\n this.props['cascaderOptions'] = this.props.options as any;\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\n\nimport { NzCascaderModule } from 'ng-zorro-antd/cascader';\nimport { FormlyFieldCascader } from './cascader.type';\n\n@NgModule({\n declarations: [FormlyFieldCascader],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormlyNzFormFieldModule,\n\n NzCascaderModule,\n\n FormlyModule.forChild({\n types: [\n {\n name: 'cascader',\n component: FormlyFieldCascader,\n wrappers: ['form-field']\n }\n ]\n })\n ]\n})\nexport class FormlyNzCascaderModule {}\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;;AA0CW,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,WAA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