ngx-formly-zorro-antd 19.0.2 → 19.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common/formly-box-templates.directive.d.ts +2 -2
- 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 +7 -7
- package/fesm2022/ngx-formly-zorro-antd-common.mjs +9 -11
- package/fesm2022/ngx-formly-zorro-antd-common.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-flex.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-form-field.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-grid.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-helpers.mjs +28 -18
- package/fesm2022/ngx-formly-zorro-antd-helpers.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-input-group.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-input-number.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-input-otp.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-compact.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-space-compact.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-space.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-switch.mjs +12 -10
- 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-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 +4 -4
- package/grid/public_api.d.ts +1 -1
- package/helpers/common.d.ts +6 -8
- package/helpers/formly.d.ts +9 -9
- package/helpers/public_api.d.ts +2 -1
- package/package.json +2 -2
- package/space-compact/space-compact.type.d.ts +3 -3
@@ -47,8 +47,8 @@ class FormlyFieldTreeSelect extends FieldType {
|
|
47
47
|
get nzTreeTemplate() {
|
48
48
|
return resolveTplName(this.props, this.fieldTemplates, 'treeTemplate');
|
49
49
|
}
|
50
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
51
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.
|
50
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyFieldTreeSelect, deps: [{ token: i1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
51
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.1.8", type: FormlyFieldTreeSelect, isStandalone: false, selector: "formly-field-treeselect", viewQueries: [{ propertyName: "treeSelect", first: true, predicate: ["treeSelectTpl"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: ` <nz-tree-select
|
52
52
|
#treeSelectTpl
|
53
53
|
[formControl]="formControl"
|
54
54
|
[nzId]="id"
|
@@ -85,7 +85,7 @@ class FormlyFieldTreeSelect extends FieldType {
|
|
85
85
|
(nzExpandChange)="props['expandChange']?.(field, $event)"
|
86
86
|
></nz-tree-select>`, isInline: true, dependencies: [{ 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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
87
87
|
}
|
88
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
88
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyFieldTreeSelect, decorators: [{
|
89
89
|
type: Component,
|
90
90
|
args: [{
|
91
91
|
selector: 'formly-field-treeselect',
|
@@ -133,12 +133,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImpor
|
|
133
133
|
}] }] });
|
134
134
|
|
135
135
|
class FormlyNzTreeSelectModule {
|
136
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
137
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.
|
136
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzTreeSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
137
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzTreeSelectModule, declarations: [FormlyFieldTreeSelect], imports: [CommonModule,
|
138
138
|
ReactiveFormsModule,
|
139
139
|
FormlyNzFormFieldModule,
|
140
140
|
NzTreeSelectModule, i1$1.FormlyModule] }); }
|
141
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.
|
141
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzTreeSelectModule, imports: [CommonModule,
|
142
142
|
ReactiveFormsModule,
|
143
143
|
FormlyNzFormFieldModule,
|
144
144
|
NzTreeSelectModule,
|
@@ -152,7 +152,7 @@ class FormlyNzTreeSelectModule {
|
|
152
152
|
]
|
153
153
|
})] }); }
|
154
154
|
}
|
155
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
155
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzTreeSelectModule, decorators: [{
|
156
156
|
type: NgModule,
|
157
157
|
args: [{
|
158
158
|
declarations: [FormlyFieldTreeSelect],
|
@@ -70,8 +70,8 @@ class UploadNzComponent extends NzUploadComponent {
|
|
70
70
|
}
|
71
71
|
}
|
72
72
|
}
|
73
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
74
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.
|
73
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: UploadNzComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
74
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.8", type: UploadNzComponent, isStandalone: false, selector: "formly-nz-upload", inputs: { nzeText: { classPropertyName: "nzeText", publicName: "nzeText", isSignal: true, isRequired: false, transformFunction: null }, nzeHint: { classPropertyName: "nzeHint", publicName: "nzeHint", isSignal: true, isRequired: false, transformFunction: null }, nzeShowUploadButton: { classPropertyName: "nzeShowUploadButton", publicName: "nzeShowUploadButton", isSignal: true, isRequired: false, transformFunction: null }, nzeUploadButton: { classPropertyName: "nzeUploadButton", publicName: "nzeUploadButton", isSignal: true, isRequired: false, transformFunction: null }, nzeUploadButtonIcon: { classPropertyName: "nzeUploadButtonIcon", publicName: "nzeUploadButtonIcon", isSignal: true, isRequired: false, transformFunction: null }, className: { classPropertyName: "className", publicName: "className", isSignal: true, isRequired: false, transformFunction: null }, resultMap: { classPropertyName: "resultMap", publicName: "resultMap", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
75
75
|
{
|
76
76
|
provide: NG_VALUE_ACCESSOR,
|
77
77
|
useExisting: forwardRef(() => UploadNzComponent),
|
@@ -150,7 +150,7 @@ class UploadNzComponent extends NzUploadComponent {
|
|
150
150
|
</nz-upload>
|
151
151
|
`, isInline: true, dependencies: [{ 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-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,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
152
152
|
}
|
153
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
153
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: UploadNzComponent, decorators: [{
|
154
154
|
type: Component,
|
155
155
|
args: [{
|
156
156
|
selector: 'formly-nz-upload',
|
@@ -273,8 +273,8 @@ class FormlyFieldUpload extends FieldType {
|
|
273
273
|
get nzFileListRender() {
|
274
274
|
return resolveTplName(this.props, this.fieldTemplates, 'fileListRender');
|
275
275
|
}
|
276
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
277
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.
|
276
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyFieldUpload, deps: [{ token: i1$1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
277
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.1.8", type: FormlyFieldUpload, isStandalone: false, selector: "formly-field-upload", viewQueries: [{ propertyName: "upload", first: true, predicate: ["uploadTpl"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: `<formly-nz-upload
|
278
278
|
#uploadTpl
|
279
279
|
[formControl]="formControl"
|
280
280
|
[formlyAttributes]="field"
|
@@ -317,7 +317,7 @@ class FormlyFieldUpload extends FieldType {
|
|
317
317
|
>
|
318
318
|
</formly-nz-upload>`, isInline: true, dependencies: [{ kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i3$1.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { kind: "component", type: UploadNzComponent, selector: "formly-nz-upload", inputs: ["nzeText", "nzeHint", "nzeShowUploadButton", "nzeUploadButton", "nzeUploadButtonIcon", "className", "resultMap"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
319
319
|
}
|
320
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
320
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyFieldUpload, decorators: [{
|
321
321
|
type: Component,
|
322
322
|
args: [{
|
323
323
|
selector: 'formly-field-upload',
|
@@ -371,14 +371,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.6", ngImpor
|
|
371
371
|
}] }] });
|
372
372
|
|
373
373
|
class FormlyNzUploadModule {
|
374
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
375
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.
|
374
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzUploadModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
375
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzUploadModule, declarations: [FormlyFieldUpload, UploadNzComponent], imports: [CommonModule,
|
376
376
|
ReactiveFormsModule,
|
377
377
|
FormlyNzFormFieldModule,
|
378
378
|
NzUploadModule,
|
379
379
|
NzButtonModule,
|
380
380
|
NzIconModule, i3$1.FormlyModule] }); }
|
381
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.
|
381
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzUploadModule, imports: [CommonModule,
|
382
382
|
ReactiveFormsModule,
|
383
383
|
FormlyNzFormFieldModule,
|
384
384
|
NzUploadModule,
|
@@ -394,7 +394,7 @@ class FormlyNzUploadModule {
|
|
394
394
|
]
|
395
395
|
})] }); }
|
396
396
|
}
|
397
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
397
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNzUploadModule, decorators: [{
|
398
398
|
type: NgModule,
|
399
399
|
args: [{
|
400
400
|
declarations: [FormlyFieldUpload, UploadNzComponent],
|
@@ -29,8 +29,8 @@ import { FormlyNzSpaceModule } from 'ngx-formly-zorro-antd/space';
|
|
29
29
|
import { FormlyNzFlexModule } from 'ngx-formly-zorro-antd/flex';
|
30
30
|
|
31
31
|
class FormlyNgAntdModule {
|
32
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
33
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.
|
32
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNgAntdModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
33
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.8", ngImport: i0, type: FormlyNgAntdModule, imports: [FormlyCommonModule,
|
34
34
|
FormlyRefTemplateModule,
|
35
35
|
FormlyNzFormFieldModule,
|
36
36
|
FormlyNzInputModule,
|
@@ -57,7 +57,7 @@ class FormlyNgAntdModule {
|
|
57
57
|
FormlyNzGridModule,
|
58
58
|
FormlyNzSpaceModule,
|
59
59
|
FormlyNzFlexModule], exports: [FormlyCommonModule] }); }
|
60
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.
|
60
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNgAntdModule, imports: [FormlyCommonModule,
|
61
61
|
FormlyRefTemplateModule,
|
62
62
|
FormlyNzFormFieldModule,
|
63
63
|
FormlyNzInputModule,
|
@@ -85,7 +85,7 @@ class FormlyNgAntdModule {
|
|
85
85
|
FormlyNzSpaceModule,
|
86
86
|
FormlyNzFlexModule, FormlyCommonModule] }); }
|
87
87
|
}
|
88
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
88
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: FormlyNgAntdModule, decorators: [{
|
89
89
|
type: NgModule,
|
90
90
|
args: [{
|
91
91
|
imports: [
|
package/grid/public_api.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
1
|
export { FormlyNzGridModule } from './grid.module';
|
2
2
|
export { FormlyFieldGrid } from './grid.type';
|
3
3
|
export type { FormlyGridFieldConfig } from './grid.type';
|
4
|
-
export type { GridColProps } from './grid.props';
|
4
|
+
export type { GridColProps, GridProps } from './grid.props';
|
package/helpers/common.d.ts
CHANGED
@@ -1,9 +1,7 @@
|
|
1
1
|
import type { NzFormlyFieldConfig, ControlOptions } from 'ngx-formly-zorro-antd/common';
|
2
|
-
|
3
|
-
export declare function
|
4
|
-
|
5
|
-
|
6
|
-
export declare function
|
7
|
-
|
8
|
-
}, otherOptions?: NzFormlyFieldConfig): T;
|
9
|
-
export declare function hidden(key: string): NzFormlyFieldConfig;
|
2
|
+
export declare function field<T = NzFormlyFieldConfig>(key: string, type?: string, label?: string, props?: ControlOptions, otherOptions?: NzFormlyFieldConfig): T;
|
3
|
+
export declare function fieldSingle<T = NzFormlyFieldConfig>(key: string, type?: string, label?: string, options?: NzFormlyFieldConfig<ControlOptions>): T;
|
4
|
+
export declare function requiredField<T = NzFormlyFieldConfig>(key: string, type?: string, label?: string, props?: ControlOptions, otherOptions?: NzFormlyFieldConfig): T;
|
5
|
+
export declare function requiredFieldSingle<T = NzFormlyFieldConfig>(key: string, type?: string, label?: string, options?: NzFormlyFieldConfig<ControlOptions>): T;
|
6
|
+
export declare function hide(key: string, type?: string, options?: NzFormlyFieldConfig): NzFormlyFieldConfig;
|
7
|
+
export declare function hidden(key: string, type?: string, options?: NzFormlyFieldConfig): NzFormlyFieldConfig;
|
package/helpers/formly.d.ts
CHANGED
@@ -6,7 +6,7 @@ import type { FormlyCascaderFieldConfig, CascaderProps } from 'ngx-formly-zorro-
|
|
6
6
|
import type { FormlyCheckboxFieldConfig, CheckboxProps } from 'ngx-formly-zorro-antd/checkbox';
|
7
7
|
import type { FormlyDatepickerFieldConfig, DatepickerProps } from 'ngx-formly-zorro-antd/datepicker';
|
8
8
|
import type { FormlyFlexFieldConfig, FlexProps } from 'ngx-formly-zorro-antd/flex';
|
9
|
-
import type { FormlyGridFieldConfig,
|
9
|
+
import type { FormlyGridFieldConfig, GridProps } from 'ngx-formly-zorro-antd/grid';
|
10
10
|
import type { FormlyInputFieldConfig, FormlyInputProps } from 'ngx-formly-zorro-antd/input';
|
11
11
|
import type { FormlyInputGroupFieldConfig, FormlyInputGroupProps } from 'ngx-formly-zorro-antd/input-group';
|
12
12
|
import type { FormlyInputNumberFieldConfig, InputNumberProps } from 'ngx-formly-zorro-antd/input-number';
|
@@ -65,23 +65,23 @@ export declare function slider(key: string, label?: string, props?: SlideProps,
|
|
65
65
|
/** 滑动输入条 */
|
66
66
|
export declare function requiredSlide(key: string, label?: string, props?: SlideProps, otherOptions?: FormlyFieldConfig): FormlySlideFieldConfig;
|
67
67
|
/** 文本显示 */
|
68
|
-
export declare function text(
|
68
|
+
export declare function text(options?: FormlyFieldConfig<TextValueProps>): FormlyTextValueFieldConfig;
|
69
69
|
/** 输入组 */
|
70
|
-
export declare function inputGroup(
|
70
|
+
export declare function inputGroup(options?: FormlyFieldConfig<FormlyInputGroupProps>): FormlyInputGroupFieldConfig;
|
71
71
|
/** 间距 */
|
72
|
-
export declare function space(
|
72
|
+
export declare function space(options?: FormlyFieldConfig<SpaceProps>): FormlySpaceFieldConfig;
|
73
73
|
/** 紧凑布局组合 */
|
74
|
-
export declare function spaceCompact(
|
74
|
+
export declare function spaceCompact(options?: FormlyFieldConfig<SpaceCompactProps>): FormlySpaceCompactFieldConfig;
|
75
75
|
/** 模板 */
|
76
76
|
export declare function ref(props?: RefTemplateProps, otherOptions?: FormlyFieldConfig): FormlyRefTemplateFieldConfig;
|
77
77
|
/** 栅格 */
|
78
|
-
export declare function grid(
|
78
|
+
export declare function grid(options?: FormlyFieldConfig<GridProps>): FormlyGridFieldConfig;
|
79
79
|
/** 弹性布局 */
|
80
|
-
export declare function flex(
|
80
|
+
export declare function flex(options?: FormlyFieldConfig<FlexProps>): FormlyFlexFieldConfig;
|
81
81
|
/** 卡片 */
|
82
|
-
export declare function card(
|
82
|
+
export declare function card(options?: FormlyFieldConfig<CardProps>): FormlyCardFieldConfig;
|
83
83
|
/** 按钮组 */
|
84
|
-
export declare function buttonGroup(
|
84
|
+
export declare function buttonGroup(options?: FormlyFieldConfig<ButtonGroupProps>): FormlyButtonGroupFieldConfig;
|
85
85
|
export declare function button(text?: string, props?: ButtonProps, otherOptions?: FormlyFieldConfig): FormlyButtonFieldConfig;
|
86
86
|
export declare function submit(text?: string, props?: ButtonProps, otherOptions?: FormlyFieldConfig): FormlyButtonFieldConfig;
|
87
87
|
export declare function reset(text?: string, props?: ButtonProps, otherOptions?: FormlyFieldConfig): FormlyButtonFieldConfig;
|
package/helpers/public_api.d.ts
CHANGED
@@ -1,10 +1,11 @@
|
|
1
|
-
import { field, requiredField, hidden } from './common';
|
1
|
+
import { field, requiredField, hide, hidden } from './common';
|
2
2
|
import { FormlyFieldConfig } from '@ngx-formly/core';
|
3
3
|
import { input, requiredInput, textArea, requiredTextArea, checkbox, requiredCheckbox, cascader, requiredCascader, number, requiredNumber, radio, requiredRadio, rate, requiredRate, datepicker, requiredDatepicker, requiredSwitch, upload, requiredUpload, slider, requiredSlide, select, requiredSelect, treeSelect, requiredTreeSelect, transfer, requiredTransfer, timepicker, requiredTimepicker, text, button, buttonGroup, submit, reset, space, ref, grid, flex, card, inputGroup } from './formly';
|
4
4
|
import type { FormlySwitchFieldConfig, SwitchProps } from 'ngx-formly-zorro-antd/switch';
|
5
5
|
export declare const formly: {
|
6
6
|
field: typeof field;
|
7
7
|
requiredField: typeof requiredField;
|
8
|
+
hide: typeof hide;
|
8
9
|
hidden: typeof hidden;
|
9
10
|
input: typeof input;
|
10
11
|
requiredInput: typeof requiredInput;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "ngx-formly-zorro-antd",
|
3
|
-
"version": "19.0
|
3
|
+
"version": "19.2.0",
|
4
4
|
"publishConfig": {
|
5
5
|
"registry": "https://registry.npmjs.org",
|
6
6
|
"access": "public"
|
@@ -8,7 +8,7 @@
|
|
8
8
|
"license": "MIT",
|
9
9
|
"peerDependencies": {
|
10
10
|
"@angular/core": "^19.0.0",
|
11
|
-
"ng-zorro-antd": "^19.
|
11
|
+
"ng-zorro-antd": "^19.1.0",
|
12
12
|
"@ngx-formly/core": "^6.3.0",
|
13
13
|
"@pkt/ng.core": ">=5.1.0",
|
14
14
|
"rxjs": "^7.4.0"
|
@@ -10,17 +10,17 @@ import * as i0 from "@angular/core";
|
|
10
10
|
*/
|
11
11
|
export interface SpaceCompactProps extends FormlyFieldProps {
|
12
12
|
/**
|
13
|
-
*
|
13
|
+
* 子组件大小
|
14
14
|
* @default default
|
15
15
|
*/
|
16
16
|
size?: NzSizeLDSType;
|
17
17
|
/**
|
18
|
-
*
|
18
|
+
* 指定排列方向
|
19
19
|
* @default horizontal
|
20
20
|
*/
|
21
21
|
direction?: NzSpaceDirection;
|
22
22
|
/**
|
23
|
-
*
|
23
|
+
* 将宽度调整为父元素宽度的选项
|
24
24
|
*/
|
25
25
|
block?: boolean;
|
26
26
|
}
|