ngx-formly-zorro-antd 17.4.2 → 18.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/button/button.type.d.ts +3 -0
- package/button-group/button-group.type.d.ts +3 -0
- package/card/card.type.d.ts +3 -0
- package/card-wrapper/card-wrapper.props.d.ts +3 -1
- package/card-wrapper/card.wrapper.d.ts +3 -0
- package/cascader/cascader.type.d.ts +4 -0
- package/datepicker/datepicker.type.d.ts +3 -0
- package/esm2022/button/button.module.mjs +4 -4
- package/esm2022/button/button.type.mjs +9 -6
- package/esm2022/button-group/button-group.module.mjs +4 -4
- package/esm2022/button-group/button-group.type.mjs +7 -4
- package/esm2022/card/card.module.mjs +4 -4
- package/esm2022/card/card.type.mjs +10 -5
- package/esm2022/card-wrapper/card-wrapper.module.mjs +4 -4
- package/esm2022/card-wrapper/card-wrapper.props.mjs +1 -1
- package/esm2022/card-wrapper/card.wrapper.mjs +10 -5
- package/esm2022/cascader/cascader.module.mjs +4 -4
- package/esm2022/cascader/cascader.type.mjs +8 -4
- package/esm2022/checkbox/checkbox.module.mjs +4 -4
- package/esm2022/checkbox/checkbox.type.mjs +6 -4
- package/esm2022/common/common.module.mjs +4 -4
- package/esm2022/common/formly-box-templates.directive.mjs +4 -4
- package/esm2022/common/formly-utils.mjs +1 -1
- package/esm2022/datepicker/datepicker.module.mjs +4 -4
- package/esm2022/datepicker/datepicker.type.mjs +20 -22
- package/esm2022/extension/value-changes-extension.mjs +1 -1
- package/esm2022/flex/flex.module.mjs +4 -4
- package/esm2022/flex/flex.type.mjs +9 -6
- 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 +10 -10
- package/esm2022/grid/grid.module.mjs +4 -4
- package/esm2022/grid/grid.props.mjs +1 -1
- package/esm2022/grid/grid.type.mjs +7 -4
- package/esm2022/input/input.module.mjs +4 -4
- package/esm2022/input/input.type.mjs +34 -31
- package/esm2022/input-group/input-group.module.mjs +4 -4
- package/esm2022/input-group/input-group.type.mjs +11 -8
- package/esm2022/input-number/input-number.module.mjs +4 -4
- package/esm2022/input-number/input-number.type.mjs +12 -10
- package/esm2022/lib/ui-ng-zorro-antd.module.mjs +4 -4
- package/esm2022/radio/radio.module.mjs +4 -4
- package/esm2022/radio/radio.type.mjs +10 -10
- package/esm2022/rate/rate.module.mjs +4 -4
- package/esm2022/rate/rate.type.mjs +14 -14
- package/esm2022/ref-template/ref-template.module.mjs +4 -4
- package/esm2022/ref-template/ref-template.type.mjs +10 -8
- package/esm2022/select/select.module.mjs +4 -4
- package/esm2022/select/select.props.mjs +1 -1
- package/esm2022/select/select.type.mjs +24 -27
- package/esm2022/slider/slider.module.mjs +4 -4
- package/esm2022/slider/slider.type.mjs +18 -18
- package/esm2022/space/space.module.mjs +4 -4
- package/esm2022/space/space.type.mjs +8 -9
- package/esm2022/switch/switch.module.mjs +4 -4
- package/esm2022/switch/switch.type.mjs +10 -12
- package/esm2022/tabs/tabs.module.mjs +4 -4
- package/esm2022/tabs/tabs.wrapper.mjs +8 -6
- package/esm2022/text-value/text-value.module.mjs +4 -4
- package/esm2022/text-value/text-value.type.mjs +5 -4
- package/esm2022/textarea/textarea.module.mjs +4 -4
- package/esm2022/textarea/textarea.type.mjs +13 -12
- package/esm2022/timepicker/timepicker.module.mjs +4 -4
- package/esm2022/timepicker/timepicker.type.mjs +24 -24
- package/esm2022/transfer/transfer.component.mjs +5 -4
- package/esm2022/transfer/transfer.module.mjs +4 -4
- package/esm2022/transfer/transfer.type.mjs +8 -9
- package/esm2022/tree-select/tree-select.module.mjs +4 -4
- package/esm2022/tree-select/tree-select.type.mjs +36 -34
- package/esm2022/upload/upload.component.mjs +4 -4
- package/esm2022/upload/upload.module.mjs +4 -4
- package/esm2022/upload/upload.type.mjs +9 -8
- package/fesm2022/ngx-formly-zorro-antd-button-group.mjs +10 -7
- package/fesm2022/ngx-formly-zorro-antd-button-group.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-button.mjs +12 -9
- package/fesm2022/ngx-formly-zorro-antd-button.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs +13 -8
- package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-card.mjs +13 -8
- package/fesm2022/ngx-formly-zorro-antd-card.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-cascader.mjs +11 -7
- package/fesm2022/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-checkbox.mjs +9 -7
- 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-common.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs +25 -26
- package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-extension.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-flex.mjs +12 -9
- package/fesm2022/ngx-formly-zorro-antd-flex.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-form-field.mjs +13 -13
- package/fesm2022/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-grid.mjs +10 -7
- package/fesm2022/ngx-formly-zorro-antd-grid.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-input-group.mjs +14 -11
- package/fesm2022/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-input-number.mjs +17 -14
- package/fesm2022/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-input.mjs +37 -34
- package/fesm2022/ngx-formly-zorro-antd-input.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-radio.mjs +15 -14
- package/fesm2022/ngx-formly-zorro-antd-radio.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-rate.mjs +19 -18
- package/fesm2022/ngx-formly-zorro-antd-rate.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-ref-template.mjs +14 -13
- package/fesm2022/ngx-formly-zorro-antd-ref-template.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-select.mjs +29 -31
- package/fesm2022/ngx-formly-zorro-antd-select.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-slider.mjs +23 -22
- package/fesm2022/ngx-formly-zorro-antd-slider.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-space.mjs +11 -12
- package/fesm2022/ngx-formly-zorro-antd-space.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-switch.mjs +15 -16
- package/fesm2022/ngx-formly-zorro-antd-switch.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-tabs.mjs +11 -9
- package/fesm2022/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-text-value.mjs +8 -7
- package/fesm2022/ngx-formly-zorro-antd-text-value.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-textarea.mjs +16 -15
- package/fesm2022/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-timepicker.mjs +29 -28
- package/fesm2022/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-transfer.mjs +16 -15
- package/fesm2022/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs +41 -38
- package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-upload.mjs +15 -14
- package/fesm2022/ngx-formly-zorro-antd-upload.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd.mjs +4 -4
- package/flex/flex.type.d.ts +3 -0
- package/form-field/form-field.props.d.ts +5 -0
- package/grid/grid.props.d.ts +3 -0
- package/grid/grid.type.d.ts +3 -0
- package/input/input.type.d.ts +4 -1
- package/input-group/input-group.type.d.ts +3 -0
- package/input-number/input-number.type.d.ts +3 -0
- package/package.json +25 -25
- package/radio/radio.type.d.ts +3 -0
- package/rate/rate.type.d.ts +3 -0
- package/ref-template/ref-template.type.d.ts +1 -0
- package/select/select.props.d.ts +2 -4
- package/slider/slider.type.d.ts +3 -0
- package/space/space.type.d.ts +1 -0
- package/switch/switch.type.d.ts +1 -0
- package/tabs/tabs.wrapper.d.ts +2 -0
- package/text-value/text-value.type.d.ts +1 -0
- package/textarea/textarea.type.d.ts +1 -0
- package/timepicker/timepicker.type.d.ts +1 -0
- package/transfer/transfer.component.d.ts +1 -0
- package/transfer/transfer.type.d.ts +2 -0
- package/tree-select/tree-select.type.d.ts +1 -0
- package/upload/upload.type.d.ts +1 -0
package/button/button.type.d.ts
CHANGED
@@ -71,6 +71,9 @@ export interface ButtonProps extends FormlyFieldProps {
|
|
71
71
|
export interface FormlyButtonFieldConfig extends NzFormlyFieldConfig<ButtonProps> {
|
72
72
|
type: 'button' | 'submit' | 'reset' | Type<FormlyFieldButton>;
|
73
73
|
}
|
74
|
+
/**
|
75
|
+
* @private
|
76
|
+
*/
|
74
77
|
export declare class FormlyFieldButton extends FieldType<FieldTypeConfig<ButtonProps>> {
|
75
78
|
fieldTemplates: FormlyBoxTemplates;
|
76
79
|
defaultOptions: {
|
@@ -19,6 +19,9 @@ export interface ButtonGroupProps extends FormlyFieldProps {
|
|
19
19
|
export interface FormlyButtonGroupFieldConfig extends NzFormlyFieldConfig<ButtonGroupProps> {
|
20
20
|
type: 'button-group' | Type<FormlyFieldButtonGroup>;
|
21
21
|
}
|
22
|
+
/**
|
23
|
+
* @private
|
24
|
+
*/
|
22
25
|
export declare class FormlyFieldButtonGroup extends FieldType<FieldTypeConfig<ButtonGroupProps>> implements OnDestroy {
|
23
26
|
destroy$: Subject<void>;
|
24
27
|
defaultOptions: {
|
package/card/card.type.d.ts
CHANGED
@@ -20,6 +20,9 @@ export interface CardProps extends CardWrapperProps {
|
|
20
20
|
export interface FormlyCardFieldConfig extends NzFormlyFieldConfig<CardProps> {
|
21
21
|
type: 'card' | Type<FormlyFieldCard>;
|
22
22
|
}
|
23
|
+
/**
|
24
|
+
* @private
|
25
|
+
*/
|
23
26
|
export declare class FormlyFieldCard extends FieldType<FieldTypeConfig<CardProps>> {
|
24
27
|
fieldTemplates: FormlyBoxTemplates;
|
25
28
|
defaultOptions: {
|
@@ -1,11 +1,12 @@
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
2
|
-
import type { NgClassType } from 'ngx-formly-zorro-antd/common';
|
2
|
+
import type { NgClassType, NgStyleType } from 'ngx-formly-zorro-antd/common';
|
3
3
|
import type { NzSizeDSType, NgStyleInterface } from 'ng-zorro-antd/core/types';
|
4
4
|
/**
|
5
5
|
* @publicApi
|
6
6
|
*/
|
7
7
|
export interface CardWrapperProps {
|
8
8
|
ngClass?: NgClassType;
|
9
|
+
ngStyle?: NgStyleType;
|
9
10
|
/**
|
10
11
|
* 卡片操作组,位置在卡片底部
|
11
12
|
*/
|
@@ -56,6 +57,7 @@ export interface CardWrapperProps {
|
|
56
57
|
type?: string | 'inner';
|
57
58
|
/**
|
58
59
|
* 是否显示边框
|
60
|
+
* @default true
|
59
61
|
*/
|
60
62
|
bordered?: boolean;
|
61
63
|
}
|
@@ -7,6 +7,9 @@ import * as i0 from "@angular/core";
|
|
7
7
|
export interface FormlyCardWrapperConfig extends NzFormlyFieldConfig<CardWrapperProps> {
|
8
8
|
wrappers: ('card-wrapper' | Type<FormlyWrapperCard>)[];
|
9
9
|
}
|
10
|
+
/**
|
11
|
+
* @private
|
12
|
+
*/
|
10
13
|
export declare class FormlyWrapperCard extends FieldWrapper<NzFormlyFieldConfig<CardWrapperProps>> {
|
11
14
|
fieldTemplates: FormlyBoxTemplates;
|
12
15
|
defaultOptions: {
|
@@ -137,6 +137,9 @@ export interface CascaderProps extends FormlyFieldProps {
|
|
137
137
|
export interface FormlyCascaderFieldConfig extends NzFormlyFieldConfig<CascaderProps> {
|
138
138
|
type: 'cascader' | Type<FormlyFieldCascader>;
|
139
139
|
}
|
140
|
+
/**
|
141
|
+
* @private
|
142
|
+
*/
|
140
143
|
export declare class FormlyFieldCascader extends FieldType<FieldTypeConfig<CascaderProps>> implements OnInit {
|
141
144
|
fieldTemplates: FormlyBoxTemplates;
|
142
145
|
defaultOptions: {
|
@@ -153,6 +156,7 @@ export declare class FormlyFieldCascader extends FieldType<FieldTypeConfig<Casca
|
|
153
156
|
size: "default";
|
154
157
|
status: "";
|
155
158
|
valueProperty: string;
|
159
|
+
noFor: boolean;
|
156
160
|
cascaderOptions: never[];
|
157
161
|
};
|
158
162
|
};
|
@@ -6,6 +6,9 @@ import * as i0 from "@angular/core";
|
|
6
6
|
export interface FormlyDatepickerFieldConfig extends NzFormlyFieldConfig<DatepickerProps> {
|
7
7
|
type: 'datepicker' | Type<FormlyFieldDatepicker>;
|
8
8
|
}
|
9
|
+
/**
|
10
|
+
* @private
|
11
|
+
*/
|
9
12
|
export declare class FormlyFieldDatepicker extends FieldType<FieldTypeConfig> {
|
10
13
|
defaultOptions: {
|
11
14
|
props: {
|
@@ -8,12 +8,12 @@ import { NzIconModule } from 'ng-zorro-antd/icon';
|
|
8
8
|
import * as i0 from "@angular/core";
|
9
9
|
import * as i1 from "@ngx-formly/core";
|
10
10
|
export class FormlyNzButtonModule {
|
11
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
12
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
12
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzButtonModule, declarations: [FormlyFieldButton], imports: [CommonModule,
|
13
13
|
NzOutletModule,
|
14
14
|
NzButtonModule,
|
15
15
|
NzIconModule, i1.FormlyModule] }); }
|
16
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
16
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzButtonModule, imports: [CommonModule,
|
17
17
|
NzOutletModule,
|
18
18
|
NzButtonModule,
|
19
19
|
NzIconModule,
|
@@ -34,7 +34,7 @@ export class FormlyNzButtonModule {
|
|
34
34
|
]
|
35
35
|
})] }); }
|
36
36
|
}
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzButtonModule, decorators: [{
|
38
38
|
type: NgModule,
|
39
39
|
args: [{
|
40
40
|
declarations: [FormlyFieldButton],
|
@@ -10,6 +10,9 @@ import * as i5 from "ng-zorro-antd/core/transition-patch";
|
|
10
10
|
import * as i6 from "ng-zorro-antd/core/wave";
|
11
11
|
import * as i7 from "ng-zorro-antd/icon";
|
12
12
|
import * as i8 from "@ngx-formly/core";
|
13
|
+
/**
|
14
|
+
* @private
|
15
|
+
*/
|
13
16
|
export class FormlyFieldButton extends FieldType {
|
14
17
|
constructor(fieldTemplates) {
|
15
18
|
super();
|
@@ -30,8 +33,8 @@ export class FormlyFieldButton extends FieldType {
|
|
30
33
|
get text() {
|
31
34
|
return resolveTplName(this.props, this.fieldTemplates, 'text');
|
32
35
|
}
|
33
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
34
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
36
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyFieldButton, deps: [{ token: i1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
37
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.7", type: FormlyFieldButton, selector: "formly-field-button", usesInheritance: true, ngImport: i0, template: `
|
35
38
|
@if (props.type === 'a') {
|
36
39
|
<a
|
37
40
|
nz-button
|
@@ -65,7 +68,7 @@ export class FormlyFieldButton extends FieldType {
|
|
65
68
|
[attr.type]="field.type"
|
66
69
|
[attr.form]="props['formName']"
|
67
70
|
[attr.title]="props['title']"
|
68
|
-
[disabled]="props['disabled'] || formControl.disabled
|
71
|
+
[disabled]="props['disabled'] || !!formControl.disabled"
|
69
72
|
[nzGhost]="!!props['ghost']"
|
70
73
|
[nzLoading]="!!props['loading']"
|
71
74
|
[nzShape]="props['shape'] ?? null"
|
@@ -92,7 +95,7 @@ export class FormlyFieldButton extends FieldType {
|
|
92
95
|
}
|
93
96
|
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i3.NzStringTemplateOutletDirective, selector: "[nzStringTemplateOutlet]", inputs: ["nzStringTemplateOutletContext", "nzStringTemplateOutlet"], exportAs: ["nzStringTemplateOutlet"] }, { kind: "component", type: i4.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i5.ɵ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: i6.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { kind: "directive", type: i7.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "directive", type: i8.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
94
97
|
}
|
95
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
98
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyFieldButton, decorators: [{
|
96
99
|
type: Component,
|
97
100
|
args: [{
|
98
101
|
selector: 'formly-field-button',
|
@@ -130,7 +133,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
130
133
|
[attr.type]="field.type"
|
131
134
|
[attr.form]="props['formName']"
|
132
135
|
[attr.title]="props['title']"
|
133
|
-
[disabled]="props['disabled'] || formControl.disabled
|
136
|
+
[disabled]="props['disabled'] || !!formControl.disabled"
|
134
137
|
[nzGhost]="!!props['ghost']"
|
135
138
|
[nzLoading]="!!props['loading']"
|
136
139
|
[nzShape]="props['shape'] ?? null"
|
@@ -161,4 +164,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
161
164
|
}], ctorParameters: () => [{ type: i1.FormlyBoxTemplates, decorators: [{
|
162
165
|
type: Optional
|
163
166
|
}] }] });
|
164
|
-
//# sourceMappingURL=data:application/json;base64,
|
167
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9m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AgICAgIFtuekRhbmdlcl09XCIhIXByb3BzWydkYW5nZXInXVwiXG4gICAgICAgIFtuelR5cGVdPVwicHJvcHNbJ256VHlwZSddID8/ICdsaW5rJ1wiXG4gICAgICAgIFtuZ0NsYXNzXT1cInByb3BzWyduZ0NsYXNzJ11cIlxuICAgICAgICBbbmdTdHlsZV09XCJwcm9wc1snbmdTdHlsZSddXCJcbiAgICAgID5cbiAgICAgICAgQGlmIChwcm9wc1snYmVmb3JlSWNvbiddKSB7XG4gICAgICAgICAgPHNwYW4gbnotaWNvbiBbbnpUeXBlXT1cInByb3BzWydiZWZvcmVJY29uJ11cIj48L3NwYW4+XG4gICAgICAgIH1cbiAgICAgICAgQGlmIChoYXNUZXh0KSB7XG4gICAgICAgICAgPG5nLWNvbnRhaW5lciAqbnpTdHJpbmdUZW1wbGF0ZU91dGxldD1cInRleHQ7IGNvbnRleHQ6IHsgJGltcGxpY2l0OiBmaWVsZCwgb3B0aW9uczogcHJvcHMgfVwiPlxuICAgICAgICAgICAge3sgdGV4dCB9fVxuICAgICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgICAgICB9XG4gICAgICAgIEBpZiAocHJvcHNbJ2FmdGVySWNvbiddKSB7XG4gICAgICAgICAgPHNwYW4gbnotaWNvbiBbbnpUeXBlXT1cInByb3BzWydhZnRlckljb24nXVwiPjwvc3Bhbj5cbiAgICAgICAgfVxuICAgICAgPC9hPlxuICAgIH0gQGVsc2Uge1xuICAgICAgPGJ1dHRvblxuICAgICAgICBbZm9ybWx5QXR0cmlidXRlc109XCJmaWVsZFwiXG4gICAgICAgIFthdHRyLnR5cGVdPVwiZmllbGQudHlwZVwiXG4gICAgICAgIFthdHRyLmZvcm1dPVwicHJvcHNbJ2Zvcm1OYW1lJ11cIlxuICAgICAgICBbYXR0ci50aXRsZV09XCJwcm9wc1sndGl0bGUnXVwiXG4gICAgICAgIFtkaXNhYmxlZF09XCJwcm9wc1snZGlzYWJsZWQnXSB8fCAhIWZvcm1Db250cm9sLmRpc2FibGVkXCJcbiAgICAgICAgW256R2hvc3RdPVwiISFwcm9wc1snZ2hvc3QnXVwiXG4gICAgICAgIFtuekxvYWRpbmddPVwiISFwcm9wc1snbG9hZGluZyddXCJcbiAgICAgICAgW256U2hhcGVdPVwicHJvcHNbJ3NoYXBlJ10gPz8gbnVsbFwiXG4gICAgICAgIFtuelNpemVdPVwicHJvcHNbJ3NpemUnXSFcIlxuICAgICAgICBbbnpCbG9ja109XCIhIXByb3BzWydibG9jayddXCJcbiAgICAgICAgW256RGFuZ2VyXT1cIiEhcHJvcHNbJ2RhbmdlciddXCJcbiAgICAgICAgW256VHlwZV09XCJwcm9wc1snbnpUeXBlJ10gPz8gbnVsbFwiXG4gICAgICAgIFtuZ0NsYXNzXT1cInByb3BzWyduZ0NsYXNzJ11cIlxuICAgICAgICBbbmdTdHlsZV09XCJwcm9wc1snbmdTdHlsZSddXCJcbiAgICAgICAgbnotYnV0dG9uXG4gICAgICA+XG4gICAgICAgIEBpZiAocHJvcHNbJ2JlZm9yZUljb24nXSkge1xuICAgICAgICAgIDxzcGFuIG56LWljb24gW256VHlwZV09XCJwcm9wc1snYmVmb3JlSWNvbiddXCI+PC9zcGFuPlxuICAgICAgICB9XG4gICAgICAgIEBpZiAoaGFzVGV4dCkge1xuICAgICAgICAgIDxuZy1jb250YWluZXIgKm56U3RyaW5nVGVtcGxhdGVPdXRsZXQ9XCJ0ZXh0OyBjb250ZXh0OiB7ICRpbXBsaWNpdDogZmllbGQsIG9wdGlvbnM6IHByb3BzIH1cIj5cbiAgICAgICAgICAgIHt7IHRleHQgfX1cbiAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgICAgfVxuICAgICAgICBAaWYgKHByb3BzWydhZnRlckljb24nXSkge1xuICAgICAgICAgIDxzcGFuIG56LWljb24gW256VHlwZV09XCJwcm9wc1snYWZ0ZXJJY29uJ11cIj48L3NwYW4+XG4gICAgICAgIH1cbiAgICAgIDwvYnV0dG9uPlxuICAgIH1cbiAgYCxcbiAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2hcbn0pXG5leHBvcnQgY2xhc3MgRm9ybWx5RmllbGRCdXR0b24gZXh0ZW5kcyBGaWVsZFR5cGU8RmllbGRUeXBlQ29uZmlnPEJ1dHRvblByb3BzPj4ge1xuICBvdmVycmlkZSBkZWZhdWx0T3B0aW9ucyA9IHtcbiAgICBwcm9wczoge1xuICAgICAgZ2hvc3Q6IGZhbHNlLFxuICAgICAgbG9hZGluZzogZmFsc2UsXG4gICAgICBibG9jazogZmFsc2UsXG4gICAgICBzaXplOiAnZGVmYXVsdCcgYXMgY29uc3QsXG4gICAgICBkYW5nZXI6IGZhbHNlXG4gICAgfVxuICB9O1xuXG4gIGNvbnN0cnVjdG9yKEBPcHRpb25hbCgpIHB1YmxpYyBmaWVsZFRlbXBsYXRlczogRm9ybWx5Qm94VGVtcGxhdGVzKSB7XG4gICAgc3VwZXIoKTtcbiAgfVxuXG4gIGdldCBoYXNUZXh0KCkge1xuICAgIHJldHVybiBoYXNUcGxOYW1lVmFsdWUodGhpcy5wcm9wcywgJ3RleHQnKTtcbiAgfVxuXG4gIGdldCB0ZXh0KCkge1xuICAgIHJldHVybiByZXNvbHZlVHBsTmFtZSh0aGlzLnByb3BzLCB0aGlzLmZpZWxkVGVtcGxhdGVzLCAndGV4dCcpO1xuICB9XG59XG4iXX0=
|
@@ -7,11 +7,11 @@ import { NzIconModule } from 'ng-zorro-antd/icon';
|
|
7
7
|
import * as i0 from "@angular/core";
|
8
8
|
import * as i1 from "@ngx-formly/core";
|
9
9
|
export class FormlyNzButtonGroupModule {
|
10
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
11
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzButtonGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
11
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzButtonGroupModule, declarations: [FormlyFieldButtonGroup], imports: [CommonModule,
|
12
12
|
NzButtonModule,
|
13
13
|
NzIconModule, i1.FormlyModule] }); }
|
14
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
14
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzButtonGroupModule, imports: [CommonModule,
|
15
15
|
NzButtonModule,
|
16
16
|
NzIconModule,
|
17
17
|
FormlyModule.forChild({
|
@@ -23,7 +23,7 @@ export class FormlyNzButtonGroupModule {
|
|
23
23
|
]
|
24
24
|
})] }); }
|
25
25
|
}
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzButtonGroupModule, decorators: [{
|
27
27
|
type: NgModule,
|
28
28
|
args: [{
|
29
29
|
declarations: [FormlyFieldButtonGroup],
|
@@ -8,6 +8,9 @@ import * as i3 from "ng-zorro-antd/core/transition-patch";
|
|
8
8
|
import * as i4 from "ng-zorro-antd/core/wave";
|
9
9
|
import * as i5 from "ng-zorro-antd/icon";
|
10
10
|
import * as i6 from "@ngx-formly/core";
|
11
|
+
/**
|
12
|
+
* @private
|
13
|
+
*/
|
11
14
|
export class FormlyFieldButtonGroup extends FieldType {
|
12
15
|
constructor() {
|
13
16
|
super();
|
@@ -26,8 +29,8 @@ export class FormlyFieldButtonGroup extends FieldType {
|
|
26
29
|
ngOnDestroy() {
|
27
30
|
this.subjectDestroy();
|
28
31
|
}
|
29
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
30
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
32
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyFieldButtonGroup, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
33
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.7", type: FormlyFieldButtonGroup, selector: "formly-field-button-group", usesInheritance: true, ngImport: i0, template: `
|
31
34
|
<nz-button-group
|
32
35
|
[formlyAttributes]="field"
|
33
36
|
[nzSize]="props['size'] || 'default'"
|
@@ -69,7 +72,7 @@ export class FormlyFieldButtonGroup extends FieldType {
|
|
69
72
|
</ng-template>
|
70
73
|
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "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: "component", type: i2.NzButtonGroupComponent, selector: "nz-button-group", inputs: ["nzSize"], exportAs: ["nzButtonGroup"] }, { 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 }); }
|
71
74
|
}
|
72
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
75
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyFieldButtonGroup, decorators: [{
|
73
76
|
type: Component,
|
74
77
|
args: [{
|
75
78
|
selector: 'formly-field-button-group',
|
@@ -117,4 +120,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
117
120
|
changeDetection: ChangeDetectionStrategy.OnPush
|
118
121
|
}]
|
119
122
|
}], ctorParameters: () => [] });
|
120
|
-
//# sourceMappingURL=data:application/json;base64,
|
123
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLWdyb3VwLnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL2J1dHRvbi1ncm91cC9zcmMvYnV0dG9uLWdyb3VwLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBbUIsdUJBQXVCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDcEYsT0FBTyxFQUFFLFNBQVMsRUFBbUIsTUFBTSxrQkFBa0IsQ0FBQztBQUU5RCxPQUFPLEVBQUUsT0FBTyxFQUFFLE1BQU0sTUFBTSxDQUFDOzs7Ozs7OztBQXFCL0I7O0dBRUc7QUE4Q0gsTUFBTSxPQUFPLHNCQUF1QixTQUFRLFNBQTRDO0l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FtdXG4gICAgfVxuICB9O1xuXG4gIGNvbnN0cnVjdG9yKCkge1xuICAgIHN1cGVyKCk7XG4gIH1cblxuICBzdWJqZWN0RGVzdHJveSgpOiB2b2lkIHtcbiAgICB0aGlzLmRlc3Ryb3kkLm5leHQoKTtcbiAgICB0aGlzLmRlc3Ryb3kkLmNvbXBsZXRlKCk7XG4gIH1cblxuICBuZ09uRGVzdHJveSgpOiB2b2lkIHtcbiAgICB0aGlzLnN1YmplY3REZXN0cm95KCk7XG4gIH1cbn1cbiJdfQ==
|
@@ -8,11 +8,11 @@ import * as i0 from "@angular/core";
|
|
8
8
|
import * as i1 from "@ngx-formly/core";
|
9
9
|
const COMPONENT = FormlyFieldCard;
|
10
10
|
export class FormlyNzCardModule {
|
11
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
12
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzCardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
12
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzCardModule, declarations: [FormlyFieldCard], imports: [CommonModule,
|
13
13
|
NzCardModule,
|
14
14
|
NzOutletModule, i1.FormlyModule] }); }
|
15
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
15
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzCardModule, imports: [CommonModule,
|
16
16
|
NzCardModule,
|
17
17
|
NzOutletModule,
|
18
18
|
FormlyModule.forChild({
|
@@ -24,7 +24,7 @@ export class FormlyNzCardModule {
|
|
24
24
|
]
|
25
25
|
})] }); }
|
26
26
|
}
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzCardModule, decorators: [{
|
28
28
|
type: NgModule,
|
29
29
|
args: [{
|
30
30
|
declarations: [COMPONENT],
|
@@ -7,6 +7,9 @@ import * as i2 from "@angular/common";
|
|
7
7
|
import * as i3 from "ng-zorro-antd/card";
|
8
8
|
import * as i4 from "ng-zorro-antd/core/outlet";
|
9
9
|
import * as i5 from "@ngx-formly/core";
|
10
|
+
/**
|
11
|
+
* @private
|
12
|
+
*/
|
10
13
|
export class FormlyFieldCard extends FieldType {
|
11
14
|
constructor(fieldTemplates) {
|
12
15
|
super();
|
@@ -33,12 +36,13 @@ export class FormlyFieldCard extends FieldType {
|
|
33
36
|
get nzContent() {
|
34
37
|
return resolveTplName(this.props, this.fieldTemplates, 'content');
|
35
38
|
}
|
36
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
37
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
39
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyFieldCard, deps: [{ token: i1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
40
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.7", type: FormlyFieldCard, selector: "formly-field-card", usesInheritance: true, ngImport: i0, template: `
|
38
41
|
<nz-card
|
39
42
|
[nzActions]="nzActions"
|
40
43
|
[formlyAttributes]="field"
|
41
44
|
[ngClass]="props['ngClass']"
|
45
|
+
[ngStyle]="props['ngStyle']"
|
42
46
|
[nzBodyStyle]="props['bodyStyle'] ?? null"
|
43
47
|
[nzSize]="props['size']!"
|
44
48
|
[nzBorderless]="!!props['borderless']"
|
@@ -57,9 +61,9 @@ export class FormlyFieldCard extends FieldType {
|
|
57
61
|
{{ nzContent }}
|
58
62
|
</ng-container>
|
59
63
|
</nz-card>
|
60
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i3.NzCardComponent, selector: "nz-card", inputs: ["nzBordered", "nzBorderless", "nzLoading", "nzHoverable", "nzBodyStyle", "nzCover", "nzActions", "nzType", "nzSize", "nzTitle", "nzExtra"], exportAs: ["nzCard"] }, { kind: "directive", type: i4.NzStringTemplateOutletDirective, selector: "[nzStringTemplateOutlet]", inputs: ["nzStringTemplateOutletContext", "nzStringTemplateOutlet"], exportAs: ["nzStringTemplateOutlet"] }, { kind: "component", type: i5.FormlyField, selector: "formly-field", inputs: ["field"] }, { kind: "directive", type: i5.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
64
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i3.NzCardComponent, selector: "nz-card", inputs: ["nzBordered", "nzBorderless", "nzLoading", "nzHoverable", "nzBodyStyle", "nzCover", "nzActions", "nzType", "nzSize", "nzTitle", "nzExtra"], exportAs: ["nzCard"] }, { kind: "directive", type: i4.NzStringTemplateOutletDirective, selector: "[nzStringTemplateOutlet]", inputs: ["nzStringTemplateOutletContext", "nzStringTemplateOutlet"], exportAs: ["nzStringTemplateOutlet"] }, { kind: "component", type: i5.FormlyField, selector: "formly-field", inputs: ["field"] }, { kind: "directive", type: i5.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
61
65
|
}
|
62
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
66
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyFieldCard, decorators: [{
|
63
67
|
type: Component,
|
64
68
|
args: [{
|
65
69
|
selector: 'formly-field-card',
|
@@ -68,6 +72,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
68
72
|
[nzActions]="nzActions"
|
69
73
|
[formlyAttributes]="field"
|
70
74
|
[ngClass]="props['ngClass']"
|
75
|
+
[ngStyle]="props['ngStyle']"
|
71
76
|
[nzBodyStyle]="props['bodyStyle'] ?? null"
|
72
77
|
[nzSize]="props['size']!"
|
73
78
|
[nzBorderless]="!!props['borderless']"
|
@@ -92,4 +97,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
92
97
|
}], ctorParameters: () => [{ type: i1.FormlyBoxTemplates, decorators: [{
|
93
98
|
type: Optional
|
94
99
|
}] }] });
|
95
|
-
//# sourceMappingURL=data:application/json;base64,
|
100
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC50eXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC9jYXJkL3NyYy9jYXJkLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBcUIsUUFBUSxFQUFFLHVCQUF1QixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2hHLE9BQU8sRUFBRSxTQUFTLEVBQW1CLE1BQU0sa0JBQWtCLENBQUM7QUFDOUQsT0FBTyxFQUFFLGtCQUFrQixFQUFFLGNBQWMsRUFBRSxtQkFBbUIsRUFBRSxNQUFNLDhCQUE4QixDQUFDOzs7Ozs7O0FBa0J2Rzs7R0FFRztBQThCSCxNQU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4dHJhJyk7XG4gIH1cbiAgZ2V0IG56QWN0aW9ucygpIHtcbiAgICByZXR1cm4gcmVzb2x2ZVRwbE5hbWVBcnJheSh0aGlzLnByb3BzLCB0aGlzLmZpZWxkVGVtcGxhdGVzLCAnYWN0aW9ucycpIHx8IFtdO1xuICB9XG4gIGdldCBuekNvbnRlbnQoKSB7XG4gICAgcmV0dXJuIHJlc29sdmVUcGxOYW1lKHRoaXMucHJvcHMsIHRoaXMuZmllbGRUZW1wbGF0ZXMsICdjb250ZW50Jyk7XG4gIH1cbn1cbiJdfQ==
|
@@ -6,10 +6,10 @@ import { NzCardModule } from 'ng-zorro-antd/card';
|
|
6
6
|
import * as i0 from "@angular/core";
|
7
7
|
import * as i1 from "@ngx-formly/core";
|
8
8
|
export class FormlyNzCardWrapperModule {
|
9
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
10
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzCardWrapperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
10
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzCardWrapperModule, declarations: [FormlyWrapperCard], imports: [CommonModule,
|
11
11
|
NzCardModule, i1.FormlyModule] }); }
|
12
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
12
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzCardWrapperModule, imports: [CommonModule,
|
13
13
|
NzCardModule,
|
14
14
|
FormlyModule.forChild({
|
15
15
|
wrappers: [
|
@@ -20,7 +20,7 @@ export class FormlyNzCardWrapperModule {
|
|
20
20
|
]
|
21
21
|
})] }); }
|
22
22
|
}
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzCardWrapperModule, decorators: [{
|
24
24
|
type: NgModule,
|
25
25
|
args: [{
|
26
26
|
declarations: [FormlyWrapperCard],
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC13cmFwcGVyLnByb3BzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC9jYXJkLXdyYXBwZXIvc3JjL2NhcmQtd3JhcHBlci5wcm9wcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgVGVtcGxhdGVSZWYgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB0eXBlIHsgTmdDbGFzc1R5cGUsIE5nU3R5bGVUeXBlIH0gZnJvbSAnbmd4LWZvcm1seS16b3Jyby1hbnRkL2NvbW1vbic7XG5pbXBvcnQgdHlwZSB7IE56U2l6ZURTVHlwZSwgTmdTdHlsZUludGVyZmFjZSB9IGZyb20gJ25nLXpvcnJvLWFudGQvY29yZS90eXBlcyc7XG5cbi8qKlxuICogQHB1YmxpY0FwaVxuICovXG5leHBvcnQgaW50ZXJmYWNlIENhcmRXcmFwcGVyUHJvcHMge1xuICBuZ0NsYXNzPzogTmdDbGFzc1R5cGU7XG4gIG5nU3R5bGU/OiBOZ1N0eWxlVHlwZTtcblxuICAvKipcbiAgICog5Y2h54mH5pON5L2c57uE77yM5L2N572u5Zyo5Y2h54mH5bqV6YOoXG4gICAqL1xuICBhY3Rpb25zPzog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tZT86IHN0cmluZztcblxuICAvKipcbiAgICog5Y2h54mH57G75Z6L77yM5Y+v6K6+572u5Li6IGlubmVyIOaIliDkuI3orr7nva5cbiAgICovXG4gIHR5cGU/OiBzdHJpbmcgfCAnaW5uZXInO1xuXG4gIC8qKlxuICAgKiDmmK/lkKbmmL7npLrovrnmoYZcbiAgICogQGRlZmF1bHQgdHJ1ZVxuICAgKi9cbiAgYm9yZGVyZWQ/OiBib29sZWFuO1xufVxuIl19
|
@@ -6,6 +6,9 @@ import * as i1 from "ngx-formly-zorro-antd/common";
|
|
6
6
|
import * as i2 from "@angular/common";
|
7
7
|
import * as i3 from "ng-zorro-antd/card";
|
8
8
|
import * as i4 from "@ngx-formly/core";
|
9
|
+
/**
|
10
|
+
* @private
|
11
|
+
*/
|
9
12
|
export class FormlyWrapperCard extends FieldWrapper {
|
10
13
|
constructor(fieldTemplates) {
|
11
14
|
super();
|
@@ -28,12 +31,13 @@ export class FormlyWrapperCard extends FieldWrapper {
|
|
28
31
|
get nzActions() {
|
29
32
|
return resolveTplNameArray(this.props, this.fieldTemplates, 'actions') || [];
|
30
33
|
}
|
31
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
32
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
34
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyWrapperCard, deps: [{ token: i1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
35
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.7", type: FormlyWrapperCard, selector: "formly-wrapper-card", usesInheritance: true, ngImport: i0, template: `
|
33
36
|
<nz-card
|
34
37
|
[nzActions]="nzActions"
|
35
38
|
[formlyAttributes]="field"
|
36
39
|
[ngClass]="props['ngClass']"
|
40
|
+
[ngStyle]="props['ngStyle']"
|
37
41
|
[nzBodyStyle]="props['bodyStyle'] ?? null"
|
38
42
|
[nzSize]="props['size']!"
|
39
43
|
[nzBorderless]="!!props['borderless']"
|
@@ -47,9 +51,9 @@ export class FormlyWrapperCard extends FieldWrapper {
|
|
47
51
|
>
|
48
52
|
<ng-container #fieldComponent></ng-container>
|
49
53
|
</nz-card>
|
50
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i3.NzCardComponent, selector: "nz-card", inputs: ["nzBordered", "nzBorderless", "nzLoading", "nzHoverable", "nzBodyStyle", "nzCover", "nzActions", "nzType", "nzSize", "nzTitle", "nzExtra"], exportAs: ["nzCard"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
54
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i3.NzCardComponent, selector: "nz-card", inputs: ["nzBordered", "nzBorderless", "nzLoading", "nzHoverable", "nzBodyStyle", "nzCover", "nzActions", "nzType", "nzSize", "nzTitle", "nzExtra"], exportAs: ["nzCard"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
51
55
|
}
|
52
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyWrapperCard, decorators: [{
|
53
57
|
type: Component,
|
54
58
|
args: [{
|
55
59
|
selector: 'formly-wrapper-card',
|
@@ -58,6 +62,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
58
62
|
[nzActions]="nzActions"
|
59
63
|
[formlyAttributes]="field"
|
60
64
|
[ngClass]="props['ngClass']"
|
65
|
+
[ngStyle]="props['ngStyle']"
|
61
66
|
[nzBodyStyle]="props['bodyStyle'] ?? null"
|
62
67
|
[nzSize]="props['size']!"
|
63
68
|
[nzBorderless]="!!props['borderless']"
|
@@ -77,4 +82,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.9", ngImpor
|
|
77
82
|
}], ctorParameters: () => [{ type: i1.FormlyBoxTemplates, decorators: [{
|
78
83
|
type: Optional
|
79
84
|
}] }] });
|
80
|
-
//# sourceMappingURL=data:application/json;base64,
|
85
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC53cmFwcGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC9jYXJkLXdyYXBwZXIvc3JjL2NhcmQud3JhcHBlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFRLFFBQVEsRUFBRSx1QkFBdUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNuRixPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sa0JBQWtCLENBQUM7QUFDaEQsT0FBTyxFQUFFLGtCQUFrQixFQUFFLGNBQWMsRUFBRSxtQkFBbUIsRUFBRSxNQUFNLDhCQUE4QixDQUFDOzs7Ozs7QUFPdkc7O0dBRUc7QUF5QkgsTUFBTSxPQUFPLGlCQUFrQixTQUFRLFlBQW1EO0lBT3hGLFlBQStCLGNBQWtDO1FBQy9ELEtBQUssRUFBRSxDQUFDO1FBRHFCLG1CQUFjLEdBQWQsY0FBYyxDQUFvQjtRQU54RCxtQkFBYyxHQUFHO1lBQ3hCLEtBQUssRUFB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KHRoaXMucHJvcHMsIHRoaXMuZmllbGRUZW1wbGF0ZXMsICdjb3ZlcicpO1xuICB9XG4gIGdldCBuekV4dHJhKCkge1xuICAgIHJldHVybiByZXNvbHZlVHBsTmFtZSh0aGlzLnByb3BzLCB0aGlzLmZpZWxkVGVtcGxhdGVzLCAnZXh0cmEnKTtcbiAgfVxuICBnZXQgbnpBY3Rpb25zKCkge1xuICAgIHJldHVybiByZXNvbHZlVHBsTmFtZUFycmF5KHRoaXMucHJvcHMsIHRoaXMuZmllbGRUZW1wbGF0ZXMsICdhY3Rpb25zJykgfHwgW107XG4gIH1cbn1cbiJdfQ==
|
@@ -8,12 +8,12 @@ import { FormlyFieldCascader } from './cascader.type';
|
|
8
8
|
import * as i0 from "@angular/core";
|
9
9
|
import * as i1 from "@ngx-formly/core";
|
10
10
|
export class FormlyNzCascaderModule {
|
11
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
12
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzCascaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
12
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzCascaderModule, declarations: [FormlyFieldCascader], imports: [CommonModule,
|
13
13
|
ReactiveFormsModule,
|
14
14
|
FormlyNzFormFieldModule,
|
15
15
|
NzCascaderModule, i1.FormlyModule] }); }
|
16
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
16
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzCascaderModule, imports: [CommonModule,
|
17
17
|
ReactiveFormsModule,
|
18
18
|
FormlyNzFormFieldModule,
|
19
19
|
NzCascaderModule,
|
@@ -27,7 +27,7 @@ export class FormlyNzCascaderModule {
|
|
27
27
|
]
|
28
28
|
})] }); }
|
29
29
|
}
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: FormlyNzCascaderModule, decorators: [{
|
31
31
|
type: NgModule,
|
32
32
|
args: [{
|
33
33
|
declarations: [FormlyFieldCascader],
|