ngx-formly-zorro-antd 17.1.1 → 17.1.3
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/button/button.module.mjs +4 -4
- package/esm2022/button/button.type.mjs +3 -3
- package/esm2022/button-group/button-group.module.mjs +4 -4
- package/esm2022/button-group/button-group.type.mjs +3 -3
- package/esm2022/card/card.module.mjs +4 -4
- package/esm2022/card/card.type.mjs +3 -3
- package/esm2022/card-wrapper/card-wrapper.module.mjs +4 -4
- package/esm2022/card-wrapper/card.wrapper.mjs +3 -3
- package/esm2022/cascader/cascader.module.mjs +4 -4
- package/esm2022/cascader/cascader.type.mjs +3 -3
- package/esm2022/checkbox/checkbox.module.mjs +4 -4
- package/esm2022/checkbox/checkbox.type.mjs +13 -8
- package/esm2022/common/common.module.mjs +4 -4
- package/esm2022/common/formly-box-templates.directive.mjs +3 -3
- package/esm2022/datepicker/datepicker.module.mjs +4 -4
- package/esm2022/datepicker/datepicker.type.mjs +3 -3
- package/esm2022/flex/flex.module.mjs +41 -0
- package/esm2022/flex/flex.type.mjs +66 -0
- package/esm2022/flex/ngx-formly-zorro-antd-flex.mjs +5 -0
- package/esm2022/flex/public_api.mjs +3 -0
- package/esm2022/form-field/form-field.module.mjs +4 -4
- package/esm2022/form-field/form-field.props.mjs +1 -1
- package/esm2022/form-field/form-field.wrapper.mjs +6 -6
- package/esm2022/grid/grid.module.mjs +4 -4
- package/esm2022/grid/grid.type.mjs +3 -3
- package/esm2022/input/input.module.mjs +4 -4
- package/esm2022/input/input.props.mjs +1 -1
- package/esm2022/input/input.type.mjs +3 -3
- package/esm2022/input/public_api.mjs +1 -1
- package/esm2022/input-group/input-group.module.mjs +4 -4
- package/esm2022/input-group/input-group.props.mjs +1 -1
- package/esm2022/input-group/input-group.type.mjs +12 -7
- package/esm2022/input-group/public_api.mjs +1 -1
- package/esm2022/input-number/input-number.module.mjs +4 -4
- package/esm2022/input-number/input-number.type.mjs +3 -3
- package/esm2022/lib/ui-ng-zorro-antd.module.mjs +12 -8
- package/esm2022/radio/radio.module.mjs +4 -4
- package/esm2022/radio/radio.type.mjs +3 -3
- package/esm2022/rate/rate.module.mjs +4 -4
- package/esm2022/rate/rate.type.mjs +3 -3
- package/esm2022/ref-template/ref-template.module.mjs +4 -4
- package/esm2022/ref-template/ref-template.type.mjs +3 -3
- package/esm2022/select/select.module.mjs +4 -4
- package/esm2022/select/select.type.mjs +3 -3
- package/esm2022/slider/slider.module.mjs +4 -4
- package/esm2022/slider/slider.type.mjs +3 -3
- package/esm2022/space/space.module.mjs +4 -4
- package/esm2022/space/space.type.mjs +3 -3
- package/esm2022/switch/switch.module.mjs +4 -4
- package/esm2022/switch/switch.type.mjs +3 -3
- package/esm2022/tabs/tabs.module.mjs +4 -4
- package/esm2022/tabs/tabs.wrapper.mjs +3 -3
- package/esm2022/text-value/text-value.module.mjs +4 -4
- package/esm2022/text-value/text-value.type.mjs +3 -3
- package/esm2022/textarea/textarea.module.mjs +4 -4
- package/esm2022/textarea/textarea.type.mjs +3 -3
- package/esm2022/timepicker/timepicker.module.mjs +4 -4
- package/esm2022/timepicker/timepicker.type.mjs +3 -3
- package/esm2022/transfer/transfer.component.mjs +3 -3
- package/esm2022/transfer/transfer.module.mjs +4 -4
- package/esm2022/transfer/transfer.type.mjs +3 -3
- package/esm2022/tree-select/tree-select.module.mjs +4 -4
- package/esm2022/tree-select/tree-select.type.mjs +3 -3
- package/esm2022/upload/upload.component.mjs +3 -3
- package/esm2022/upload/upload.module.mjs +4 -4
- package/esm2022/upload/upload.type.mjs +3 -3
- package/fesm2022/ngx-formly-zorro-antd-button-group.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-button.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-card.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-cascader.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-checkbox.mjs +17 -12
- package/fesm2022/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-common.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-flex.mjs +109 -0
- package/fesm2022/ngx-formly-zorro-antd-flex.mjs.map +1 -0
- package/fesm2022/ngx-formly-zorro-antd-form-field.mjs +9 -9
- 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-input-group.mjs +16 -11
- 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.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-radio.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-rate.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-ref-template.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-select.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-slider.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-space.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-switch.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-tabs.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-text-value.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-textarea.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-timepicker.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-transfer.mjs +10 -10
- package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-upload.mjs +10 -10
- package/fesm2022/ngx-formly-zorro-antd.mjs +11 -7
- package/fesm2022/ngx-formly-zorro-antd.mjs.map +1 -1
- package/flex/flex.module.d.ts +10 -0
- package/flex/flex.type.d.ts +48 -0
- package/flex/index.d.ts +5 -0
- package/flex/package.json +3 -0
- package/flex/public_api.d.ts +2 -0
- package/form-field/form-field.props.d.ts +5 -1
- package/input/input.props.d.ts +4 -2
- package/input/public_api.d.ts +1 -0
- package/input-group/input-group.props.d.ts +2 -0
- package/input-group/public_api.d.ts +1 -1
- package/lib/ui-ng-zorro-antd.module.d.ts +2 -1
- package/package.json +24 -18
@@ -53,8 +53,8 @@ class UploadNzComponent extends NzUploadComponent {
|
|
53
53
|
}
|
54
54
|
}
|
55
55
|
}
|
56
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
57
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.
|
56
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: UploadNzComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
57
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.9", type: UploadNzComponent, selector: "formly-nz-upload", inputs: { nzeText: "nzeText", nzeHint: "nzeHint", nzeShowUploadButton: ["nzeShowUploadButton", "nzeShowUploadButton", booleanAttribute], nzeUploadButton: "nzeUploadButton", nzeUploadButtonIcon: "nzeUploadButtonIcon", ngClass: "ngClass", resultMap: "resultMap" }, providers: [
|
58
58
|
{
|
59
59
|
provide: NG_VALUE_ACCESSOR,
|
60
60
|
useExisting: forwardRef(() => UploadNzComponent),
|
@@ -133,7 +133,7 @@ class UploadNzComponent extends NzUploadComponent {
|
|
133
133
|
</nz-upload>
|
134
134
|
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "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 }); }
|
135
135
|
}
|
136
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
136
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: UploadNzComponent, decorators: [{
|
137
137
|
type: Component,
|
138
138
|
args: [{
|
139
139
|
selector: 'formly-nz-upload',
|
@@ -268,8 +268,8 @@ class FormlyFieldUpload extends FieldType {
|
|
268
268
|
get nzFileListRender() {
|
269
269
|
return resolveTplName(this.props, this.fieldTemplates, 'fileListRender');
|
270
270
|
}
|
271
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
272
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.
|
271
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldUpload, deps: [{ token: i1$1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
272
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.9", 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
|
273
273
|
#upload
|
274
274
|
[formControl]="formControl"
|
275
275
|
[formlyAttributes]="field"
|
@@ -312,7 +312,7 @@ class FormlyFieldUpload extends FieldType {
|
|
312
312
|
>
|
313
313
|
</formly-nz-upload>`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i4$1.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { kind: "component", type: UploadNzComponent, selector: "formly-nz-upload", inputs: ["nzeText", "nzeHint", "nzeShowUploadButton", "nzeUploadButton", "nzeUploadButtonIcon", "ngClass", "resultMap"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
314
314
|
}
|
315
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
315
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyFieldUpload, decorators: [{
|
316
316
|
type: Component,
|
317
317
|
args: [{
|
318
318
|
selector: 'formly-field-upload',
|
@@ -368,14 +368,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImpor
|
|
368
368
|
}] } });
|
369
369
|
|
370
370
|
class FormlyNzUploadModule {
|
371
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
372
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.
|
371
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzUploadModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
372
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzUploadModule, declarations: [FormlyFieldUpload, UploadNzComponent], imports: [CommonModule,
|
373
373
|
ReactiveFormsModule,
|
374
374
|
FormlyNzFormFieldModule,
|
375
375
|
NzUploadModule,
|
376
376
|
NzButtonModule,
|
377
377
|
NzIconModule, i4$1.FormlyModule] }); }
|
378
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.
|
378
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzUploadModule, imports: [CommonModule,
|
379
379
|
ReactiveFormsModule,
|
380
380
|
FormlyNzFormFieldModule,
|
381
381
|
NzUploadModule,
|
@@ -391,7 +391,7 @@ class FormlyNzUploadModule {
|
|
391
391
|
]
|
392
392
|
})] }); }
|
393
393
|
}
|
394
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
394
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNzUploadModule, decorators: [{
|
395
395
|
type: NgModule,
|
396
396
|
args: [{
|
397
397
|
declarations: [FormlyFieldUpload, UploadNzComponent],
|
@@ -26,10 +26,11 @@ import { FormlyNzButtonModule } from 'ngx-formly-zorro-antd/button';
|
|
26
26
|
import { FormlyNzButtonGroupModule } from 'ngx-formly-zorro-antd/button-group';
|
27
27
|
import { FormlyNzGridModule } from 'ngx-formly-zorro-antd/grid';
|
28
28
|
import { FormlyNzSpaceModule } from 'ngx-formly-zorro-antd/space';
|
29
|
+
import { FormlyNzFlexModule } from 'ngx-formly-zorro-antd/flex';
|
29
30
|
|
30
31
|
class FormlyNgAntdModule {
|
31
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
32
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.
|
32
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNgAntdModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
33
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.9", ngImport: i0, type: FormlyNgAntdModule, imports: [FormlyCommonModule,
|
33
34
|
FormlyRefTemplateModule,
|
34
35
|
FormlyNzFormFieldModule,
|
35
36
|
FormlyNzInputModule,
|
@@ -54,8 +55,9 @@ class FormlyNgAntdModule {
|
|
54
55
|
FormlyNzButtonModule,
|
55
56
|
FormlyNzButtonGroupModule,
|
56
57
|
FormlyNzGridModule,
|
57
|
-
FormlyNzSpaceModule
|
58
|
-
|
58
|
+
FormlyNzSpaceModule,
|
59
|
+
FormlyNzFlexModule], exports: [FormlyCommonModule] }); }
|
60
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNgAntdModule, imports: [FormlyCommonModule,
|
59
61
|
FormlyRefTemplateModule,
|
60
62
|
FormlyNzFormFieldModule,
|
61
63
|
FormlyNzInputModule,
|
@@ -80,9 +82,10 @@ class FormlyNgAntdModule {
|
|
80
82
|
FormlyNzButtonModule,
|
81
83
|
FormlyNzButtonGroupModule,
|
82
84
|
FormlyNzGridModule,
|
83
|
-
FormlyNzSpaceModule,
|
85
|
+
FormlyNzSpaceModule,
|
86
|
+
FormlyNzFlexModule, FormlyCommonModule] }); }
|
84
87
|
}
|
85
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
88
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImport: i0, type: FormlyNgAntdModule, decorators: [{
|
86
89
|
type: NgModule,
|
87
90
|
args: [{
|
88
91
|
imports: [
|
@@ -111,7 +114,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImpor
|
|
111
114
|
FormlyNzButtonModule,
|
112
115
|
FormlyNzButtonGroupModule,
|
113
116
|
FormlyNzGridModule,
|
114
|
-
FormlyNzSpaceModule
|
117
|
+
FormlyNzSpaceModule,
|
118
|
+
FormlyNzFlexModule
|
115
119
|
],
|
116
120
|
exports: [FormlyCommonModule]
|
117
121
|
}]
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ngx-formly-zorro-antd.mjs","sources":["../../../../packages/formlyantd/src/lib/ui-ng-zorro-antd.module.ts","../../../../packages/formlyantd/src/ngx-formly-zorro-antd.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\n\nimport { FormlyCommonModule } from 'ngx-formly-zorro-antd/common';\nimport { FormlyRefTemplateModule } from 'ngx-formly-zorro-antd/ref-template';\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\nimport { FormlyNzInputModule } from 'ngx-formly-zorro-antd/input';\nimport { FormlyNzInputNumberModule } from 'ngx-formly-zorro-antd/input-number';\nimport { FormlyNzInputGroupModule } from 'ngx-formly-zorro-antd/input-group';\nimport { FormlyNzTextareaModule } from 'ngx-formly-zorro-antd/textarea';\nimport { FormlyNzRadioModule } from 'ngx-formly-zorro-antd/radio';\nimport { FormlyNzCheckboxModule } from 'ngx-formly-zorro-antd/checkbox';\nimport { FormlyNzSelectModule } from 'ngx-formly-zorro-antd/select';\nimport { FormlyNzSwitchModule } from 'ngx-formly-zorro-antd/switch';\nimport { FormlyNzCascaderModule } from 'ngx-formly-zorro-antd/cascader';\nimport { FormlyNzDatepickerModule } from 'ngx-formly-zorro-antd/datepicker';\nimport { FormlyNzRateModule } from 'ngx-formly-zorro-antd/rate';\nimport { FormlyNzSliderModule } from 'ngx-formly-zorro-antd/slider';\nimport { FormlyNzTimepickerModule } from 'ngx-formly-zorro-antd/timepicker';\nimport { FormlyNzTransferModule } from 'ngx-formly-zorro-antd/transfer';\nimport { FormlyNzTreeSelectModule } from 'ngx-formly-zorro-antd/tree-select';\nimport { FormlyNzUploadModule } from 'ngx-formly-zorro-antd/upload';\nimport { FormlyNzTabsModule } from 'ngx-formly-zorro-antd/tabs';\nimport { FormlyNzCardModule } from 'ngx-formly-zorro-antd/card';\nimport { FormlyNzCardWrapperModule } from 'ngx-formly-zorro-antd/card-wrapper';\nimport { FormlyNzButtonModule } from 'ngx-formly-zorro-antd/button';\nimport { FormlyNzButtonGroupModule } from 'ngx-formly-zorro-antd/button-group';\nimport { FormlyNzGridModule } from 'ngx-formly-zorro-antd/grid';\nimport { FormlyNzSpaceModule } from 'ngx-formly-zorro-antd/space';\n\n@NgModule({\n imports: [\n FormlyCommonModule,\n FormlyRefTemplateModule,\n FormlyNzFormFieldModule,\n FormlyNzInputModule,\n FormlyNzInputNumberModule,\n FormlyNzInputGroupModule,\n FormlyNzTextareaModule,\n FormlyNzRadioModule,\n FormlyNzCheckboxModule,\n FormlyNzSelectModule,\n FormlyNzSwitchModule,\n FormlyNzCascaderModule,\n FormlyNzDatepickerModule,\n FormlyNzRateModule,\n FormlyNzSliderModule,\n FormlyNzTimepickerModule,\n FormlyNzTransferModule,\n FormlyNzTreeSelectModule,\n FormlyNzUploadModule,\n FormlyNzTabsModule,\n FormlyNzCardModule,\n FormlyNzCardWrapperModule,\n FormlyNzButtonModule,\n FormlyNzButtonGroupModule,\n FormlyNzGridModule,\n FormlyNzSpaceModule\n ],\n exports: [FormlyCommonModule]\n})\nexport class FormlyNgAntdModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"ngx-formly-zorro-antd.mjs","sources":["../../../../packages/formlyantd/src/lib/ui-ng-zorro-antd.module.ts","../../../../packages/formlyantd/src/ngx-formly-zorro-antd.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\n\nimport { FormlyCommonModule } from 'ngx-formly-zorro-antd/common';\nimport { FormlyRefTemplateModule } from 'ngx-formly-zorro-antd/ref-template';\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\nimport { FormlyNzInputModule } from 'ngx-formly-zorro-antd/input';\nimport { FormlyNzInputNumberModule } from 'ngx-formly-zorro-antd/input-number';\nimport { FormlyNzInputGroupModule } from 'ngx-formly-zorro-antd/input-group';\nimport { FormlyNzTextareaModule } from 'ngx-formly-zorro-antd/textarea';\nimport { FormlyNzRadioModule } from 'ngx-formly-zorro-antd/radio';\nimport { FormlyNzCheckboxModule } from 'ngx-formly-zorro-antd/checkbox';\nimport { FormlyNzSelectModule } from 'ngx-formly-zorro-antd/select';\nimport { FormlyNzSwitchModule } from 'ngx-formly-zorro-antd/switch';\nimport { FormlyNzCascaderModule } from 'ngx-formly-zorro-antd/cascader';\nimport { FormlyNzDatepickerModule } from 'ngx-formly-zorro-antd/datepicker';\nimport { FormlyNzRateModule } from 'ngx-formly-zorro-antd/rate';\nimport { FormlyNzSliderModule } from 'ngx-formly-zorro-antd/slider';\nimport { FormlyNzTimepickerModule } from 'ngx-formly-zorro-antd/timepicker';\nimport { FormlyNzTransferModule } from 'ngx-formly-zorro-antd/transfer';\nimport { FormlyNzTreeSelectModule } from 'ngx-formly-zorro-antd/tree-select';\nimport { FormlyNzUploadModule } from 'ngx-formly-zorro-antd/upload';\nimport { FormlyNzTabsModule } from 'ngx-formly-zorro-antd/tabs';\nimport { FormlyNzCardModule } from 'ngx-formly-zorro-antd/card';\nimport { FormlyNzCardWrapperModule } from 'ngx-formly-zorro-antd/card-wrapper';\nimport { FormlyNzButtonModule } from 'ngx-formly-zorro-antd/button';\nimport { FormlyNzButtonGroupModule } from 'ngx-formly-zorro-antd/button-group';\nimport { FormlyNzGridModule } from 'ngx-formly-zorro-antd/grid';\nimport { FormlyNzSpaceModule } from 'ngx-formly-zorro-antd/space';\nimport { FormlyNzFlexModule } from 'ngx-formly-zorro-antd/flex';\n\n@NgModule({\n imports: [\n FormlyCommonModule,\n FormlyRefTemplateModule,\n FormlyNzFormFieldModule,\n FormlyNzInputModule,\n FormlyNzInputNumberModule,\n FormlyNzInputGroupModule,\n FormlyNzTextareaModule,\n FormlyNzRadioModule,\n FormlyNzCheckboxModule,\n FormlyNzSelectModule,\n FormlyNzSwitchModule,\n FormlyNzCascaderModule,\n FormlyNzDatepickerModule,\n FormlyNzRateModule,\n FormlyNzSliderModule,\n FormlyNzTimepickerModule,\n FormlyNzTransferModule,\n FormlyNzTreeSelectModule,\n FormlyNzUploadModule,\n FormlyNzTabsModule,\n FormlyNzCardModule,\n FormlyNzCardWrapperModule,\n FormlyNzButtonModule,\n FormlyNzButtonGroupModule,\n FormlyNzGridModule,\n FormlyNzSpaceModule,\n FormlyNzFlexModule\n ],\n exports: [FormlyCommonModule]\n})\nexport class FormlyNgAntdModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA8Da,kBAAkB,CAAA;8GAAlB,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAAlB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,YA9B3B,kBAAkB;YAClB,uBAAuB;YACvB,uBAAuB;YACvB,mBAAmB;YACnB,yBAAyB;YACzB,wBAAwB;YACxB,sBAAsB;YACtB,mBAAmB;YACnB,sBAAsB;YACtB,oBAAoB;YACpB,oBAAoB;YACpB,sBAAsB;YACtB,wBAAwB;YACxB,kBAAkB;YAClB,oBAAoB;YACpB,wBAAwB;YACxB,sBAAsB;YACtB,wBAAwB;YACxB,oBAAoB;YACpB,kBAAkB;YAClB,kBAAkB;YAClB,yBAAyB;YACzB,oBAAoB;YACpB,yBAAyB;YACzB,kBAAkB;YAClB,mBAAmB;AACnB,YAAA,kBAAkB,aAEV,kBAAkB,CAAA,EAAA,CAAA,CAAA,EAAA;AAEjB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,YA9B3B,kBAAkB;YAClB,uBAAuB;YACvB,uBAAuB;YACvB,mBAAmB;YACnB,yBAAyB;YACzB,wBAAwB;YACxB,sBAAsB;YACtB,mBAAmB;YACnB,sBAAsB;YACtB,oBAAoB;YACpB,oBAAoB;YACpB,sBAAsB;YACtB,wBAAwB;YACxB,kBAAkB;YAClB,oBAAoB;YACpB,wBAAwB;YACxB,sBAAsB;YACtB,wBAAwB;YACxB,oBAAoB;YACpB,kBAAkB;YAClB,kBAAkB;YAClB,yBAAyB;YACzB,oBAAoB;YACpB,yBAAyB;YACzB,kBAAkB;YAClB,mBAAmB;AACnB,YAAA,kBAAkB,EAEV,kBAAkB,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAEjB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAhC9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,kBAAkB;wBAClB,uBAAuB;wBACvB,uBAAuB;wBACvB,mBAAmB;wBACnB,yBAAyB;wBACzB,wBAAwB;wBACxB,sBAAsB;wBACtB,mBAAmB;wBACnB,sBAAsB;wBACtB,oBAAoB;wBACpB,oBAAoB;wBACpB,sBAAsB;wBACtB,wBAAwB;wBACxB,kBAAkB;wBAClB,oBAAoB;wBACpB,wBAAwB;wBACxB,sBAAsB;wBACtB,wBAAwB;wBACxB,oBAAoB;wBACpB,kBAAkB;wBAClB,kBAAkB;wBAClB,yBAAyB;wBACzB,oBAAoB;wBACpB,yBAAyB;wBACzB,kBAAkB;wBAClB,mBAAmB;wBACnB,kBAAkB;AACnB,qBAAA;oBACD,OAAO,EAAE,CAAC,kBAAkB,CAAC;AAC9B,iBAAA,CAAA;;;AC7DD;;AAEG;;;;"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./flex.type";
|
3
|
+
import * as i2 from "@angular/common";
|
4
|
+
import * as i3 from "ng-zorro-antd/flex";
|
5
|
+
import * as i4 from "@ngx-formly/core";
|
6
|
+
export declare class FormlyNzFlexModule {
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNzFlexModule, never>;
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNzFlexModule, [typeof i1.FormlyFieldFlex], [typeof i2.CommonModule, typeof i3.NzFlexModule, typeof i4.FormlyModule], never>;
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNzFlexModule>;
|
10
|
+
}
|
@@ -0,0 +1,48 @@
|
|
1
|
+
import { Type } from '@angular/core';
|
2
|
+
import { FieldType, FieldTypeConfig, FormlyFieldProps } from '@ngx-formly/core';
|
3
|
+
import type { NzFormlyFieldConfig, NgClassType, NgStyleType } from 'ngx-formly-zorro-antd/common';
|
4
|
+
import type { NzWrap, NzJustify, NzAlign, NzFlex, NzGap } from 'ng-zorro-antd/flex';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
interface FlexProps extends FormlyFieldProps {
|
7
|
+
/**
|
8
|
+
* 自定义css类
|
9
|
+
*/
|
10
|
+
ngClass?: NgClassType;
|
11
|
+
/**
|
12
|
+
* 自定义样式
|
13
|
+
*/
|
14
|
+
ngStyle?: NgStyleType;
|
15
|
+
/**
|
16
|
+
* flex 主轴的方向是否垂直,使用 flex-direction: column
|
17
|
+
* @default false
|
18
|
+
*/
|
19
|
+
vertical?: boolean;
|
20
|
+
/** 设置元素在主轴方向上的对齐方式 */
|
21
|
+
justify?: NzJustify;
|
22
|
+
/** 设置元素在交叉轴方向上的对齐方式 */
|
23
|
+
align?: NzAlign;
|
24
|
+
/** 设置网格之间的间隙 */
|
25
|
+
gap?: NzGap;
|
26
|
+
/** 设置元素单行显示还是多行显示 */
|
27
|
+
wrap?: NzWrap;
|
28
|
+
/** flex CSS 简写属性 */
|
29
|
+
flex?: NzFlex;
|
30
|
+
}
|
31
|
+
export interface FormlyFlexFieldConfig extends NzFormlyFieldConfig<FlexProps> {
|
32
|
+
type: 'flex' | Type<FormlyFieldFlex>;
|
33
|
+
}
|
34
|
+
export declare class FormlyFieldFlex extends FieldType<FieldTypeConfig<FlexProps>> {
|
35
|
+
defaultOptions: {
|
36
|
+
props: {
|
37
|
+
vertical: boolean;
|
38
|
+
justify: "normal";
|
39
|
+
align: "normal";
|
40
|
+
gap: number;
|
41
|
+
wrap: "nowrap";
|
42
|
+
flex: "unset";
|
43
|
+
};
|
44
|
+
};
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldFlex, never>;
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldFlex, "formly-field-flex", never, {}, {}, never, never, false, never>;
|
47
|
+
}
|
48
|
+
export {};
|
package/flex/index.d.ts
ADDED
@@ -24,9 +24,13 @@ export interface NzFormWrapperProps extends ControlOptions {
|
|
24
24
|
*/
|
25
25
|
ngStyle?: NgStyleType;
|
26
26
|
/**
|
27
|
-
* itemClass
|
27
|
+
* itemClass自定义css类
|
28
28
|
*/
|
29
29
|
itemClass?: string;
|
30
|
+
/**
|
31
|
+
* itemStyle自定义样式
|
32
|
+
*/
|
33
|
+
itemStyle?: NgStyleType;
|
30
34
|
/**
|
31
35
|
* labelClass
|
32
36
|
*/
|
package/input/input.props.d.ts
CHANGED
@@ -1,9 +1,11 @@
|
|
1
1
|
import { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';
|
2
|
-
import {
|
2
|
+
import { FormlyInputGroupProps } from 'ngx-formly-zorro-antd/input-group';
|
3
3
|
import type { FormlyAttributeEvent } from 'ngx-formly-zorro-antd/common';
|
4
4
|
import type { NzSizeLDSType, NzStatus } from 'ng-zorro-antd/core/types';
|
5
5
|
import type { AutocompleteProps } from 'ngx-formly-zorro-antd/autocomplete';
|
6
|
-
export interface
|
6
|
+
export interface FormlyInputProps extends InputProps {
|
7
|
+
}
|
8
|
+
export interface InputProps extends FormlyFieldProps, FormlyInputGroupProps {
|
7
9
|
/**
|
8
10
|
* autoComplete=>输入框自动完成
|
9
11
|
*
|
package/input/public_api.d.ts
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
2
2
|
import type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';
|
3
3
|
import type { NzSizeLDSType, NzStatus } from 'ng-zorro-antd/core/types';
|
4
|
+
export interface FormlyInputGroupProps extends InputGroupProps {
|
5
|
+
}
|
4
6
|
export interface InputGroupProps extends FormlyFieldProps {
|
5
7
|
/**
|
6
8
|
* 带有后缀图标的 input,可以与 suffixIcon 配合使用
|
@@ -1,3 +1,3 @@
|
|
1
1
|
export { FormlyNzInputGroupModule } from './input-group.module';
|
2
2
|
export { FormlyFieldInputGroup, FormlyInputGroupFieldConfig } from './input-group.type';
|
3
|
-
export {
|
3
|
+
export { FormlyInputGroupProps } from './input-group.props';
|
@@ -25,8 +25,9 @@ import * as i23 from "ngx-formly-zorro-antd/button";
|
|
25
25
|
import * as i24 from "ngx-formly-zorro-antd/button-group";
|
26
26
|
import * as i25 from "ngx-formly-zorro-antd/grid";
|
27
27
|
import * as i26 from "ngx-formly-zorro-antd/space";
|
28
|
+
import * as i27 from "ngx-formly-zorro-antd/flex";
|
28
29
|
export declare class FormlyNgAntdModule {
|
29
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNgAntdModule, never>;
|
30
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNgAntdModule, never, [typeof i1.FormlyCommonModule, typeof i2.FormlyRefTemplateModule, typeof i3.FormlyNzFormFieldModule, typeof i4.FormlyNzInputModule, typeof i5.FormlyNzInputNumberModule, typeof i6.FormlyNzInputGroupModule, typeof i7.FormlyNzTextareaModule, typeof i8.FormlyNzRadioModule, typeof i9.FormlyNzCheckboxModule, typeof i10.FormlyNzSelectModule, typeof i11.FormlyNzSwitchModule, typeof i12.FormlyNzCascaderModule, typeof i13.FormlyNzDatepickerModule, typeof i14.FormlyNzRateModule, typeof i15.FormlyNzSliderModule, typeof i16.FormlyNzTimepickerModule, typeof i17.FormlyNzTransferModule, typeof i18.FormlyNzTreeSelectModule, typeof i19.FormlyNzUploadModule, typeof i20.FormlyNzTabsModule, typeof i21.FormlyNzCardModule, typeof i22.FormlyNzCardWrapperModule, typeof i23.FormlyNzButtonModule, typeof i24.FormlyNzButtonGroupModule, typeof i25.FormlyNzGridModule, typeof i26.FormlyNzSpaceModule], [typeof i1.FormlyCommonModule]>;
|
31
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNgAntdModule, never, [typeof i1.FormlyCommonModule, typeof i2.FormlyRefTemplateModule, typeof i3.FormlyNzFormFieldModule, typeof i4.FormlyNzInputModule, typeof i5.FormlyNzInputNumberModule, typeof i6.FormlyNzInputGroupModule, typeof i7.FormlyNzTextareaModule, typeof i8.FormlyNzRadioModule, typeof i9.FormlyNzCheckboxModule, typeof i10.FormlyNzSelectModule, typeof i11.FormlyNzSwitchModule, typeof i12.FormlyNzCascaderModule, typeof i13.FormlyNzDatepickerModule, typeof i14.FormlyNzRateModule, typeof i15.FormlyNzSliderModule, typeof i16.FormlyNzTimepickerModule, typeof i17.FormlyNzTransferModule, typeof i18.FormlyNzTreeSelectModule, typeof i19.FormlyNzUploadModule, typeof i20.FormlyNzTabsModule, typeof i21.FormlyNzCardModule, typeof i22.FormlyNzCardWrapperModule, typeof i23.FormlyNzButtonModule, typeof i24.FormlyNzButtonGroupModule, typeof i25.FormlyNzGridModule, typeof i26.FormlyNzSpaceModule, typeof i27.FormlyNzFlexModule], [typeof i1.FormlyCommonModule]>;
|
31
32
|
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNgAntdModule>;
|
32
33
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "ngx-formly-zorro-antd",
|
3
|
-
"version": "17.1.
|
3
|
+
"version": "17.1.3",
|
4
4
|
"publishConfig": {
|
5
5
|
"registry": "https://registry.npmjs.org",
|
6
6
|
"access": "public"
|
@@ -11,7 +11,7 @@
|
|
11
11
|
"@angular/common": "^17.0.0",
|
12
12
|
"@angular/forms": "^17.0.0",
|
13
13
|
"@angular/platform-browser": "^17.0.0",
|
14
|
-
"ng-zorro-antd": "^17.
|
14
|
+
"ng-zorro-antd": "^17.1.0",
|
15
15
|
"@ngx-formly/core": "^6.0.0",
|
16
16
|
"@pkt/ng.core": "^5.1.0",
|
17
17
|
"rxjs": "^6.5.3 || ^7.4.0"
|
@@ -37,11 +37,11 @@
|
|
37
37
|
"esm": "./esm2022/autocomplete/ngx-formly-zorro-antd-autocomplete.mjs",
|
38
38
|
"default": "./fesm2022/ngx-formly-zorro-antd-autocomplete.mjs"
|
39
39
|
},
|
40
|
-
"./
|
41
|
-
"types": "./
|
42
|
-
"esm2022": "./esm2022/
|
43
|
-
"esm": "./esm2022/
|
44
|
-
"default": "./fesm2022/ngx-formly-zorro-antd-
|
40
|
+
"./button": {
|
41
|
+
"types": "./button/index.d.ts",
|
42
|
+
"esm2022": "./esm2022/button/ngx-formly-zorro-antd-button.mjs",
|
43
|
+
"esm": "./esm2022/button/ngx-formly-zorro-antd-button.mjs",
|
44
|
+
"default": "./fesm2022/ngx-formly-zorro-antd-button.mjs"
|
45
45
|
},
|
46
46
|
"./button-group": {
|
47
47
|
"types": "./button-group/index.d.ts",
|
@@ -49,29 +49,29 @@
|
|
49
49
|
"esm": "./esm2022/button-group/ngx-formly-zorro-antd-button-group.mjs",
|
50
50
|
"default": "./fesm2022/ngx-formly-zorro-antd-button-group.mjs"
|
51
51
|
},
|
52
|
+
"./card": {
|
53
|
+
"types": "./card/index.d.ts",
|
54
|
+
"esm2022": "./esm2022/card/ngx-formly-zorro-antd-card.mjs",
|
55
|
+
"esm": "./esm2022/card/ngx-formly-zorro-antd-card.mjs",
|
56
|
+
"default": "./fesm2022/ngx-formly-zorro-antd-card.mjs"
|
57
|
+
},
|
52
58
|
"./card-wrapper": {
|
53
59
|
"types": "./card-wrapper/index.d.ts",
|
54
60
|
"esm2022": "./esm2022/card-wrapper/ngx-formly-zorro-antd-card-wrapper.mjs",
|
55
61
|
"esm": "./esm2022/card-wrapper/ngx-formly-zorro-antd-card-wrapper.mjs",
|
56
62
|
"default": "./fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs"
|
57
63
|
},
|
58
|
-
"./checkbox": {
|
59
|
-
"types": "./checkbox/index.d.ts",
|
60
|
-
"esm2022": "./esm2022/checkbox/ngx-formly-zorro-antd-checkbox.mjs",
|
61
|
-
"esm": "./esm2022/checkbox/ngx-formly-zorro-antd-checkbox.mjs",
|
62
|
-
"default": "./fesm2022/ngx-formly-zorro-antd-checkbox.mjs"
|
63
|
-
},
|
64
64
|
"./cascader": {
|
65
65
|
"types": "./cascader/index.d.ts",
|
66
66
|
"esm2022": "./esm2022/cascader/ngx-formly-zorro-antd-cascader.mjs",
|
67
67
|
"esm": "./esm2022/cascader/ngx-formly-zorro-antd-cascader.mjs",
|
68
68
|
"default": "./fesm2022/ngx-formly-zorro-antd-cascader.mjs"
|
69
69
|
},
|
70
|
-
"./
|
71
|
-
"types": "./
|
72
|
-
"esm2022": "./esm2022/
|
73
|
-
"esm": "./esm2022/
|
74
|
-
"default": "./fesm2022/ngx-formly-zorro-antd-
|
70
|
+
"./checkbox": {
|
71
|
+
"types": "./checkbox/index.d.ts",
|
72
|
+
"esm2022": "./esm2022/checkbox/ngx-formly-zorro-antd-checkbox.mjs",
|
73
|
+
"esm": "./esm2022/checkbox/ngx-formly-zorro-antd-checkbox.mjs",
|
74
|
+
"default": "./fesm2022/ngx-formly-zorro-antd-checkbox.mjs"
|
75
75
|
},
|
76
76
|
"./common": {
|
77
77
|
"types": "./common/index.d.ts",
|
@@ -91,6 +91,12 @@
|
|
91
91
|
"esm": "./esm2022/extension/ngx-formly-zorro-antd-extension.mjs",
|
92
92
|
"default": "./fesm2022/ngx-formly-zorro-antd-extension.mjs"
|
93
93
|
},
|
94
|
+
"./flex": {
|
95
|
+
"types": "./flex/index.d.ts",
|
96
|
+
"esm2022": "./esm2022/flex/ngx-formly-zorro-antd-flex.mjs",
|
97
|
+
"esm": "./esm2022/flex/ngx-formly-zorro-antd-flex.mjs",
|
98
|
+
"default": "./fesm2022/ngx-formly-zorro-antd-flex.mjs"
|
99
|
+
},
|
94
100
|
"./form-field": {
|
95
101
|
"types": "./form-field/index.d.ts",
|
96
102
|
"esm2022": "./esm2022/form-field/ngx-formly-zorro-antd-form-field.mjs",
|