ngx-formly-zorro-antd 13.0.0-rc.0 → 13.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +0 -6
- package/autocomplete/autocomplete.props.d.ts +1 -2
- package/button/button.type.d.ts +1 -0
- package/esm2020/autocomplete/autocomplete.props.mjs +1 -1
- package/esm2020/button/button.type.mjs +79 -39
- package/esm2020/form-field/form-field.props.mjs +1 -1
- package/esm2020/form-field/form-field.wrapper.mjs +14 -4
- package/esm2020/grid/grid.module.mjs +43 -0
- package/esm2020/grid/grid.props.mjs +2 -0
- package/esm2020/grid/grid.type.mjs +71 -0
- package/esm2020/grid/ngx-formly-zorro-antd-grid.mjs +5 -0
- package/esm2020/grid/public_api.mjs +3 -0
- package/esm2020/input/input.props.mjs +1 -1
- package/esm2020/input/input.type.mjs +21 -17
- package/esm2020/input-group/input-group.module.mjs +10 -4
- package/esm2020/input-group/input-group.props.mjs +1 -1
- package/esm2020/lib/ui-ng-zorro-antd.module.mjs +8 -4
- package/esm2020/tabs/tabs.props.mjs +1 -1
- package/fesm2015/ngx-formly-zorro-antd-button.mjs +78 -38
- package/fesm2015/ngx-formly-zorro-antd-button.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-form-field.mjs +13 -3
- package/fesm2015/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-grid.mjs +116 -0
- package/fesm2015/ngx-formly-zorro-antd-grid.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-input-group.mjs +9 -3
- package/fesm2015/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-input.mjs +20 -16
- package/fesm2015/ngx-formly-zorro-antd-input.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd.mjs +7 -3
- package/fesm2015/ngx-formly-zorro-antd.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-button.mjs +78 -38
- package/fesm2020/ngx-formly-zorro-antd-button.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-form-field.mjs +13 -3
- package/fesm2020/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-grid.mjs +116 -0
- package/fesm2020/ngx-formly-zorro-antd-grid.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-input-group.mjs +9 -3
- package/fesm2020/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-input.mjs +20 -16
- package/fesm2020/ngx-formly-zorro-antd-input.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd.mjs +7 -3
- package/fesm2020/ngx-formly-zorro-antd.mjs.map +1 -1
- package/form-field/form-field.props.d.ts +28 -0
- package/grid/grid.module.d.ts +10 -0
- package/grid/grid.props.d.ts +44 -0
- package/grid/grid.type.d.ts +11 -0
- package/grid/ngx-formly-zorro-antd-grid.d.ts +5 -0
- package/grid/package.json +10 -0
- package/grid/public_api.d.ts +3 -0
- package/input/input.props.d.ts +3 -36
- package/input/input.type.d.ts +1 -1
- package/input-group/input-group.module.d.ts +3 -2
- package/input-group/input-group.props.d.ts +1 -1
- package/lib/ui-ng-zorro-antd.module.d.ts +2 -1
- package/package.json +10 -1
- package/tabs/tabs.props.d.ts +1 -2
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ngx-formly-zorro-antd-form-field.mjs","sources":["../../../../packages/formlyantd/form-field/src/form-field.wrapper.ts","../../../../packages/formlyantd/form-field/src/form-field.module.ts","../../../../packages/formlyantd/form-field/src/ngx-formly-zorro-antd-form-field.ts"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { FieldWrapper, FormlyFieldConfig } from '@ngx-formly/core';\r\nimport type { NzFormWrapperProps } from './form-field.props';\r\n\r\nexport type FormlyFieldProps = NzFormWrapperProps;\r\n\r\n@Component({\r\n selector: 'formly-wrapper-nz-form-field',\r\n styleUrls: ['./form-field.wrapper.scss'],\r\n template: `\r\n <nz-form-item>\r\n <ng-container *ngIf=\"props.label && props['hideLabel'] !== true\">\r\n <nz-form-label\r\n [nzFlex]=\"props['grid']?.labelFlex ?? null\"\r\n [nzOffset]=\"props['grid']?.labelOffset ?? null\"\r\n [nzOrder]=\"props['grid']?.labelOrder ?? null\"\r\n [nzPull]=\"props['grid']?.labelPull ?? null\"\r\n [nzPush]=\"props['grid']?.labelPush ?? null\"\r\n [nzSpan]=\"props['grid']?.labelSpan ?? null\"\r\n [nzXs]=\"props['grid']?.labelXs ?? null\"\r\n [nzSm]=\"props['grid']?.labelSm ?? null\"\r\n [nzMd]=\"props['grid']?.labelMd ?? null\"\r\n [nzLg]=\"props['grid']?.labelLg ?? null\"\r\n [nzXl]=\"props['grid']?.labelXl ?? null\"\r\n [nzXXl]=\"props['grid']?.labelXXl ?? null\"\r\n [ngClass]=\"props.labelClass!\"\r\n [nzRequired]=\"props.required && props['hideRequiredMarker'] !== true\"\r\n [nzFor]=\"id\"\r\n >\r\n <span class=\"formly-label-text\">\r\n {{ props.label }}\r\n </span>\r\n </nz-form-label>\r\n </ng-container>\r\n <nz-form-control\r\n [nzValidateStatus]=\"errorState\"\r\n [nzErrorTip]=\"errorTpl\"\r\n [ngClass]=\"props.controlClass!\"\r\n [nzFlex]=\"props['grid']?.controlFlex ?? null\"\r\n [nzOffset]=\"props['grid']?.controlOffset ?? null\"\r\n [nzOrder]=\"props['grid']?.controlOrder ?? null\"\r\n [nzPull]=\"props['grid']?.controlPull ?? null\"\r\n [nzPush]=\"props['grid']?.controlPush ?? null\"\r\n [nzSpan]=\"props['grid']?.controlSpan ?? null\"\r\n [nzXs]=\"props['grid']?.controlXs ?? null\"\r\n [nzSm]=\"props['grid']?.controlSm ?? null\"\r\n [nzMd]=\"props['grid']?.controlMd ?? null\"\r\n [nzLg]=\"props['grid']?.controlLg ?? null\"\r\n [nzXl]=\"props['grid']?.controlXl ?? null\"\r\n [nzXXl]=\"props['grid']?.controlXXl ?? null\"\r\n >\r\n <ng-container #fieldComponent></ng-container>\r\n\r\n <ng-template #errorTpl let-control>\r\n <formly-validation-message [field]=\"field\"></formly-validation-message>\r\n </ng-template>\r\n </nz-form-control>\r\n </nz-form-item>\r\n `\r\n})\r\nexport class FormlyWrapperFormField extends FieldWrapper<FormlyFieldConfig<FormlyFieldProps>> {\r\n get errorState() {\r\n return this.showError ? 'error' : 'success';\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { NzFormModule } from 'ng-zorro-antd/form';\r\nimport { FormlyWrapperFormField } from './form-field.wrapper';\r\n\r\n@NgModule({\r\n declarations: [FormlyWrapperFormField],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n NzFormModule,\r\n FormlyModule.forChild({\r\n wrappers: [\r\n {\r\n name: 'form-field',\r\n component: FormlyWrapperFormField\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzFormFieldModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;
|
1
|
+
{"version":3,"file":"ngx-formly-zorro-antd-form-field.mjs","sources":["../../../../packages/formlyantd/form-field/src/form-field.wrapper.ts","../../../../packages/formlyantd/form-field/src/form-field.module.ts","../../../../packages/formlyantd/form-field/src/ngx-formly-zorro-antd-form-field.ts"],"sourcesContent":["import { Component } from '@angular/core';\r\nimport { FieldWrapper, FormlyFieldConfig } from '@ngx-formly/core';\r\nimport type { NzFormWrapperProps } from './form-field.props';\r\n\r\nexport type FormlyFieldProps = NzFormWrapperProps;\r\n\r\n@Component({\r\n selector: 'formly-wrapper-nz-form-field',\r\n styleUrls: ['./form-field.wrapper.scss'],\r\n template: `\r\n <nz-form-item [ngClass]=\"props.itemClass!\">\r\n <ng-container *ngIf=\"props.label && props['hideLabel'] !== true\">\r\n <nz-form-label\r\n [nzFlex]=\"props['grid']?.labelFlex ?? null\"\r\n [nzOffset]=\"props['grid']?.labelOffset ?? null\"\r\n [nzOrder]=\"props['grid']?.labelOrder ?? null\"\r\n [nzPull]=\"props['grid']?.labelPull ?? null\"\r\n [nzPush]=\"props['grid']?.labelPush ?? null\"\r\n [nzSpan]=\"props['grid']?.labelSpan ?? null\"\r\n [nzXs]=\"props['grid']?.labelXs ?? null\"\r\n [nzSm]=\"props['grid']?.labelSm ?? null\"\r\n [nzMd]=\"props['grid']?.labelMd ?? null\"\r\n [nzLg]=\"props['grid']?.labelLg ?? null\"\r\n [nzXl]=\"props['grid']?.labelXl ?? null\"\r\n [nzXXl]=\"props['grid']?.labelXXl ?? null\"\r\n [ngClass]=\"props.labelClass!\"\r\n [nzRequired]=\"props.required && props['hideRequiredMarker'] !== true\"\r\n [nzFor]=\"id\"\r\n [nzNoColon]=\"props['noColon']!!\"\r\n [nzTooltipTitle]=\"props['tooltipTitle']\"\r\n [nzTooltipIcon]=\"props['tooltipIcon']!\"\r\n >\r\n <span class=\"formly-label-text\">\r\n {{ props.label }}\r\n </span>\r\n </nz-form-label>\r\n </ng-container>\r\n <nz-form-control\r\n [nzValidateStatus]=\"errorState\"\r\n [nzHasFeedback]=\"props['hasFeedback']!!\"\r\n [nzExtra]=\"props['controlExtra']\"\r\n [nzErrorTip]=\"errorTpl\"\r\n [ngClass]=\"props.controlClass!\"\r\n [nzFlex]=\"props['grid']?.controlFlex ?? null\"\r\n [nzOffset]=\"props['grid']?.controlOffset ?? null\"\r\n [nzOrder]=\"props['grid']?.controlOrder ?? null\"\r\n [nzPull]=\"props['grid']?.controlPull ?? null\"\r\n [nzPush]=\"props['grid']?.controlPush ?? null\"\r\n [nzSpan]=\"props['grid']?.controlSpan ?? null\"\r\n [nzXs]=\"props['grid']?.controlXs ?? null\"\r\n [nzSm]=\"props['grid']?.controlSm ?? null\"\r\n [nzMd]=\"props['grid']?.controlMd ?? null\"\r\n [nzLg]=\"props['grid']?.controlLg ?? null\"\r\n [nzXl]=\"props['grid']?.controlXl ?? null\"\r\n [nzXXl]=\"props['grid']?.controlXXl ?? null\"\r\n >\r\n <ng-container #fieldComponent></ng-container>\r\n\r\n <ng-template #errorTpl let-control>\r\n <formly-validation-message [field]=\"field\"></formly-validation-message>\r\n </ng-template>\r\n </nz-form-control>\r\n </nz-form-item>\r\n `\r\n})\r\nexport class FormlyWrapperFormField extends FieldWrapper<FormlyFieldConfig<FormlyFieldProps>> {\r\n get errorState() {\r\n return this.showError ? 'error' : 'success';\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { NzFormModule } from 'ng-zorro-antd/form';\r\nimport { FormlyWrapperFormField } from './form-field.wrapper';\r\n\r\n@NgModule({\r\n declarations: [FormlyWrapperFormField],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n NzFormModule,\r\n FormlyModule.forChild({\r\n wrappers: [\r\n {\r\n name: 'form-field',\r\n component: FormlyWrapperFormField\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzFormFieldModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;AAiEM,MAAO,sBAAuB,SAAQ,YAAiD,CAAA;AAC3F,IAAA,IAAI,UAAU,GAAA;QACZ,OAAO,IAAI,CAAC,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;KAC7C;;oHAHU,sBAAsB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAtB,sBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,sBAAsB,EAxDvB,QAAA,EAAA,8BAAA,EAAA,eAAA,EAAA,I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;AACE,wBAAA,IAAI,EAAE,YAAY;AAClB,wBAAA,SAAS,EAAE,sBAAsB;AAClC,qBAAA;AACF,iBAAA;aACF,CAAC;SACH,CAAA,EAAA,CAAA,CAAA;4FAEU,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAhBnC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,sBAAsB,CAAC;AACtC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,YAAY;wBACZ,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,QAAQ,EAAE;AACR,gCAAA;AACE,oCAAA,IAAI,EAAE,YAAY;AAClB,oCAAA,SAAS,EAAE,sBAAsB;AAClC,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;iBACF,CAAA;;;ACtBD;;AAEG;;;;"}
|
@@ -0,0 +1,116 @@
|
|
1
|
+
import * as i0 from '@angular/core';
|
2
|
+
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
3
|
+
import * as i3 from '@angular/common';
|
4
|
+
import { CommonModule } from '@angular/common';
|
5
|
+
import * as i1 from '@ngx-formly/core';
|
6
|
+
import { FieldType, FormlyModule } from '@ngx-formly/core';
|
7
|
+
import * as i2 from 'ng-zorro-antd/grid';
|
8
|
+
import { NzGridModule } from 'ng-zorro-antd/grid';
|
9
|
+
|
10
|
+
class FormlyFieldGrid extends FieldType {
|
11
|
+
}
|
12
|
+
FormlyFieldGrid.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldGrid, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
13
|
+
FormlyFieldGrid.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormlyFieldGrid, selector: "formly-field-grid", usesInheritance: true, ngImport: i0, template: `
|
14
|
+
<div
|
15
|
+
nz-row
|
16
|
+
[nzAlign]="props.align ?? null"
|
17
|
+
[nzGutter]="props.gutter ?? null"
|
18
|
+
[nzJustify]="props.justify ?? null"
|
19
|
+
[formlyAttributes]="field"
|
20
|
+
>
|
21
|
+
<formly-field
|
22
|
+
*ngFor="let item of field.fieldGroup"
|
23
|
+
[field]="item"
|
24
|
+
nz-col
|
25
|
+
[nzFlex]="item.props?.['grid']?.['flex'] || props.flex"
|
26
|
+
[nzOffset]="item.props?.['grid']?.['offset'] || props.offset"
|
27
|
+
[nzOrder]="item.props?.['grid']?.['order'] || props.order"
|
28
|
+
[nzPull]="item.props?.['grid']?.['pull'] || props.pull"
|
29
|
+
[nzPush]="item.props?.['grid']?.['push'] || props.push"
|
30
|
+
[nzSpan]="item.props?.['grid']?.['span'] || props.span"
|
31
|
+
[nzXs]="item.props?.['grid']?.['xs'] || props.xs"
|
32
|
+
[nzSm]="item.props?.['grid']?.['sm'] || props.sm"
|
33
|
+
[nzMd]="item.props?.['grid']?.['md'] || props.md"
|
34
|
+
[nzLg]="item.props?.['grid']?.['lg'] || props.lg"
|
35
|
+
[nzXl]="item.props?.['grid']?.['xl'] || props.xl"
|
36
|
+
[nzXXl]="item.props?.['grid']?.['xxl'] || props.xxl"
|
37
|
+
></formly-field>
|
38
|
+
</div>
|
39
|
+
`, isInline: true, components: [{ type: i1.FormlyField, selector: "formly-field", inputs: ["field"] }], directives: [{ type: i2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i1.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldGrid, decorators: [{
|
41
|
+
type: Component,
|
42
|
+
args: [{
|
43
|
+
selector: 'formly-field-grid',
|
44
|
+
template: `
|
45
|
+
<div
|
46
|
+
nz-row
|
47
|
+
[nzAlign]="props.align ?? null"
|
48
|
+
[nzGutter]="props.gutter ?? null"
|
49
|
+
[nzJustify]="props.justify ?? null"
|
50
|
+
[formlyAttributes]="field"
|
51
|
+
>
|
52
|
+
<formly-field
|
53
|
+
*ngFor="let item of field.fieldGroup"
|
54
|
+
[field]="item"
|
55
|
+
nz-col
|
56
|
+
[nzFlex]="item.props?.['grid']?.['flex'] || props.flex"
|
57
|
+
[nzOffset]="item.props?.['grid']?.['offset'] || props.offset"
|
58
|
+
[nzOrder]="item.props?.['grid']?.['order'] || props.order"
|
59
|
+
[nzPull]="item.props?.['grid']?.['pull'] || props.pull"
|
60
|
+
[nzPush]="item.props?.['grid']?.['push'] || props.push"
|
61
|
+
[nzSpan]="item.props?.['grid']?.['span'] || props.span"
|
62
|
+
[nzXs]="item.props?.['grid']?.['xs'] || props.xs"
|
63
|
+
[nzSm]="item.props?.['grid']?.['sm'] || props.sm"
|
64
|
+
[nzMd]="item.props?.['grid']?.['md'] || props.md"
|
65
|
+
[nzLg]="item.props?.['grid']?.['lg'] || props.lg"
|
66
|
+
[nzXl]="item.props?.['grid']?.['xl'] || props.xl"
|
67
|
+
[nzXXl]="item.props?.['grid']?.['xxl'] || props.xxl"
|
68
|
+
></formly-field>
|
69
|
+
</div>
|
70
|
+
`,
|
71
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
72
|
+
}]
|
73
|
+
}] });
|
74
|
+
|
75
|
+
class FormlyNzGridModule {
|
76
|
+
}
|
77
|
+
FormlyNzGridModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzGridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
78
|
+
FormlyNzGridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzGridModule, declarations: [FormlyFieldGrid], imports: [CommonModule,
|
79
|
+
NzGridModule, i1.FormlyModule] });
|
80
|
+
FormlyNzGridModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzGridModule, imports: [[
|
81
|
+
CommonModule,
|
82
|
+
NzGridModule,
|
83
|
+
FormlyModule.forChild({
|
84
|
+
types: [
|
85
|
+
{
|
86
|
+
name: 'grid',
|
87
|
+
component: FormlyFieldGrid
|
88
|
+
}
|
89
|
+
]
|
90
|
+
})
|
91
|
+
]] });
|
92
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzGridModule, decorators: [{
|
93
|
+
type: NgModule,
|
94
|
+
args: [{
|
95
|
+
declarations: [FormlyFieldGrid],
|
96
|
+
imports: [
|
97
|
+
CommonModule,
|
98
|
+
NzGridModule,
|
99
|
+
FormlyModule.forChild({
|
100
|
+
types: [
|
101
|
+
{
|
102
|
+
name: 'grid',
|
103
|
+
component: FormlyFieldGrid
|
104
|
+
}
|
105
|
+
]
|
106
|
+
})
|
107
|
+
]
|
108
|
+
}]
|
109
|
+
}] });
|
110
|
+
|
111
|
+
/**
|
112
|
+
* Generated bundle index. Do not edit.
|
113
|
+
*/
|
114
|
+
|
115
|
+
export { FormlyFieldGrid, FormlyNzGridModule };
|
116
|
+
//# sourceMappingURL=ngx-formly-zorro-antd-grid.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ngx-formly-zorro-antd-grid.mjs","sources":["../../../../packages/formlyantd/grid/src/grid.type.ts","../../../../packages/formlyantd/grid/src/grid.module.ts","../../../../packages/formlyantd/grid/src/ngx-formly-zorro-antd-grid.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\r\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\n\r\nimport type { GridProps } from './grid.props';\r\n\r\nexport interface FormlyGridFieldConfig extends FormlyFieldConfig<GridProps> {\r\n type: 'grid' | Type<FormlyFieldGrid>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-grid',\r\n template: `\r\n <div\r\n nz-row\r\n [nzAlign]=\"props.align ?? null\"\r\n [nzGutter]=\"props.gutter ?? null\"\r\n [nzJustify]=\"props.justify ?? null\"\r\n [formlyAttributes]=\"field\"\r\n >\r\n <formly-field\r\n *ngFor=\"let item of field.fieldGroup\"\r\n [field]=\"item\"\r\n nz-col\r\n [nzFlex]=\"item.props?.['grid']?.['flex'] || props.flex\"\r\n [nzOffset]=\"item.props?.['grid']?.['offset'] || props.offset\"\r\n [nzOrder]=\"item.props?.['grid']?.['order'] || props.order\"\r\n [nzPull]=\"item.props?.['grid']?.['pull'] || props.pull\"\r\n [nzPush]=\"item.props?.['grid']?.['push'] || props.push\"\r\n [nzSpan]=\"item.props?.['grid']?.['span'] || props.span\"\r\n [nzXs]=\"item.props?.['grid']?.['xs'] || props.xs\"\r\n [nzSm]=\"item.props?.['grid']?.['sm'] || props.sm\"\r\n [nzMd]=\"item.props?.['grid']?.['md'] || props.md\"\r\n [nzLg]=\"item.props?.['grid']?.['lg'] || props.lg\"\r\n [nzXl]=\"item.props?.['grid']?.['xl'] || props.xl\"\r\n [nzXXl]=\"item.props?.['grid']?.['xxl'] || props.xxl\"\r\n ></formly-field>\r\n </div>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldGrid extends FieldType<FieldTypeConfig<GridProps>> {}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\n\r\nimport { FormlyFieldGrid } from './grid.type';\r\n\r\nimport { NzGridModule } from 'ng-zorro-antd/grid';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldGrid],\r\n imports: [\r\n CommonModule,\r\n NzGridModule,\r\n\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'grid',\r\n component: FormlyFieldGrid\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzGridModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;AAwCM,MAAO,eAAgB,SAAQ,SAAqC,CAAA;;6GAA7D,eAAe,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAf,eAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,eAAe,EA7BhB,QAAA,EAAA,mBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;AA0BT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,WAAA,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,CAAA,OAAA,CAAA,EAAA,CAAA,EAAA,UAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,cAAA,EAAA,QAAA,EAAA,8BAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,WAAA,EAAA,UAAA,CAAA,EAAA,QAAA,EAAA,CAAA,OAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,CAAA,iBAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,MAAA,EAAA,CAAA,kBAAA,EAAA,IAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,E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B,gBAAA,KAAK,EAAE;AACL,oBAAA;AACE,wBAAA,IAAI,EAAE,MAAM;AACZ,wBAAA,SAAS,EAAE,eAAe;AAC3B,qBAAA;AACF,iBAAA;aACF,CAAC;SACH,CAAA,EAAA,CAAA,CAAA;4FAEU,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAhB9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,eAAe,CAAC;AAC/B,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,YAAY;wBAEZ,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,MAAM;AACZ,oCAAA,SAAS,EAAE,eAAe;AAC3B,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;iBACF,CAAA;;;ACvBD;;AAEG;;;;"}
|
@@ -4,6 +4,7 @@ import * as i3 from '@angular/common';
|
|
4
4
|
import { CommonModule } from '@angular/common';
|
5
5
|
import * as i2 from '@ngx-formly/core';
|
6
6
|
import { FieldType, FormlyModule } from '@ngx-formly/core';
|
7
|
+
import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
|
7
8
|
import * as i1 from 'ng-zorro-antd/input';
|
8
9
|
import { NzInputModule } from 'ng-zorro-antd/input';
|
9
10
|
|
@@ -76,15 +77,18 @@ class FormlyNzInputGroupModule {
|
|
76
77
|
}
|
77
78
|
FormlyNzInputGroupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzInputGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
78
79
|
FormlyNzInputGroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzInputGroupModule, declarations: [FormlyFieldInputGroup], imports: [CommonModule,
|
79
|
-
NzInputModule,
|
80
|
+
NzInputModule,
|
81
|
+
FormlyNzFormFieldModule, i2.FormlyModule] });
|
80
82
|
FormlyNzInputGroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzInputGroupModule, imports: [[
|
81
83
|
CommonModule,
|
82
84
|
NzInputModule,
|
85
|
+
FormlyNzFormFieldModule,
|
83
86
|
FormlyModule.forChild({
|
84
87
|
types: [
|
85
88
|
{
|
86
89
|
name: 'input-group',
|
87
|
-
component: FormlyFieldInputGroup
|
90
|
+
component: FormlyFieldInputGroup,
|
91
|
+
wrappers: ['form-field']
|
88
92
|
}
|
89
93
|
]
|
90
94
|
})
|
@@ -96,11 +100,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
96
100
|
imports: [
|
97
101
|
CommonModule,
|
98
102
|
NzInputModule,
|
103
|
+
FormlyNzFormFieldModule,
|
99
104
|
FormlyModule.forChild({
|
100
105
|
types: [
|
101
106
|
{
|
102
107
|
name: 'input-group',
|
103
|
-
component: FormlyFieldInputGroup
|
108
|
+
component: FormlyFieldInputGroup,
|
109
|
+
wrappers: ['form-field']
|
104
110
|
}
|
105
111
|
]
|
106
112
|
})
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ngx-formly-zorro-antd-input-group.mjs","sources":["../../../../packages/formlyantd/input-group/src/input-group.type.ts","../../../../packages/formlyantd/input-group/src/input-group.module.ts","../../../../packages/formlyantd/input-group/src/ngx-formly-zorro-antd-input-group.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\r\nimport { FieldType, FormlyFieldConfig, FieldTypeConfig } from '@ngx-formly/core';\r\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\r\nimport type { InputGroupProps } from './input-group.props';\r\n\r\nexport interface FormlyInputGroupFieldConfig extends FormlyFieldConfig<InputGroupProps> {\r\n type: 'input-group' | Type<FormlyFieldInputGroup>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-input-group',\r\n template: `\r\n <nz-input-group\r\n [nzPrefixIcon]=\"props['prefixIcon']\"\r\n [nzSuffixIcon]=\"props['suffixIcon']\"\r\n [nzAddOnAfterIcon]=\"props['addOnAfterIcon']\"\r\n [nzAddOnBeforeIcon]=\"props['addOnBeforeIcon']\"\r\n [nzAddOnBefore]=\"props['addOnBefore']\"\r\n [nzAddOnAfter]=\"props['addOnAfter']\"\r\n [nzPrefix]=\"props['prefix']\"\r\n [nzSuffix]=\"props['suffix']\"\r\n [nzCompact]=\"props['compact']!!\"\r\n [nzSearch]=\"props['search']!!\"\r\n [nzSize]=\"props['size']!\"\r\n [nzStatus]=\"props['status']!\"\r\n >\r\n <formly-field *ngFor=\"let f of group; trackBy: trackById\" [field]=\"f\"></formly-field>\r\n </nz-input-group>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldInputGroup extends FieldType<FieldTypeConfig<InputGroupProps>> {\r\n override defaultOptions = {\r\n props: {\r\n status: '' as const,\r\n size: 'default' as const\r\n }\r\n };\r\n get group() {\r\n return this.field.fieldGroup;\r\n }\r\n trackById(index: number, envent: NzSafeAny) {\r\n if (!envent.id) {\r\n return index;\r\n }\r\n return envent.id;\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\n\r\nimport { FormlyFieldInputGroup } from './input-group.type';\r\nimport { NzInputModule } from 'ng-zorro-antd/input';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldInputGroup],\r\n imports: [\r\n CommonModule,\r\n NzInputModule,\r\n\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'input-group',\r\n component: FormlyFieldInputGroup\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzInputGroupModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":"
|
1
|
+
{"version":3,"file":"ngx-formly-zorro-antd-input-group.mjs","sources":["../../../../packages/formlyantd/input-group/src/input-group.type.ts","../../../../packages/formlyantd/input-group/src/input-group.module.ts","../../../../packages/formlyantd/input-group/src/ngx-formly-zorro-antd-input-group.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\r\nimport { FieldType, FormlyFieldConfig, FieldTypeConfig } from '@ngx-formly/core';\r\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\r\nimport type { InputGroupProps } from './input-group.props';\r\n\r\nexport interface FormlyInputGroupFieldConfig extends FormlyFieldConfig<InputGroupProps> {\r\n type: 'input-group' | Type<FormlyFieldInputGroup>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-input-group',\r\n template: `\r\n <nz-input-group\r\n [nzPrefixIcon]=\"props['prefixIcon']\"\r\n [nzSuffixIcon]=\"props['suffixIcon']\"\r\n [nzAddOnAfterIcon]=\"props['addOnAfterIcon']\"\r\n [nzAddOnBeforeIcon]=\"props['addOnBeforeIcon']\"\r\n [nzAddOnBefore]=\"props['addOnBefore']\"\r\n [nzAddOnAfter]=\"props['addOnAfter']\"\r\n [nzPrefix]=\"props['prefix']\"\r\n [nzSuffix]=\"props['suffix']\"\r\n [nzCompact]=\"props['compact']!!\"\r\n [nzSearch]=\"props['search']!!\"\r\n [nzSize]=\"props['size']!\"\r\n [nzStatus]=\"props['status']!\"\r\n >\r\n <formly-field *ngFor=\"let f of group; trackBy: trackById\" [field]=\"f\"></formly-field>\r\n </nz-input-group>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldInputGroup extends FieldType<FieldTypeConfig<InputGroupProps>> {\r\n override defaultOptions = {\r\n props: {\r\n status: '' as const,\r\n size: 'default' as const\r\n }\r\n };\r\n get group() {\r\n return this.field.fieldGroup;\r\n }\r\n trackById(index: number, envent: NzSafeAny) {\r\n if (!envent.id) {\r\n return index;\r\n }\r\n return envent.id;\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport { FormlyFieldInputGroup } from './input-group.type';\r\nimport { NzInputModule } from 'ng-zorro-antd/input';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldInputGroup],\r\n imports: [\r\n CommonModule,\r\n NzInputModule,\r\n\r\n FormlyNzFormFieldModule,\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'input-group',\r\n component: FormlyFieldInputGroup,\r\n wrappers: ['form-field']\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzInputGroupModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;AA+BM,MAAO,qBAAsB,SAAQ,SAA2C,CAAA;AAtBtF,IAAA,WAAA,GAAA;;QAuBW,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,MAAM,EAAE,EAAW;AACnB,gBAAA,IAAI,EAAE,SAAkB;AACzB,aAAA;SACF,CAAC;KAUH;AATC,IAAA,IAAI,KAAK,GAAA;AACP,QAAA,OAAO,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC;KAC9B;IACD,SAAS,CAAC,KAAa,EAAE,MAAiB,EAAA;AACxC,QAAA,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE;AACd,YAAA,OAAO,KAAK,CAAC;AACd,SAAA;QACD,OAAO,MAAM,CAAC,EAAE,CAAC;KAClB;;mHAfU,qBAAqB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAArB,qBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA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chCase="'password'">
|
40
40
|
<nz-input-group
|
41
|
-
[nzSize]="props['size']"
|
42
|
-
[nzStatus]="props['status']"
|
43
|
-
[nzSearch]="props['search']"
|
44
41
|
[nzPrefixIcon]="props['prefixIcon']"
|
45
42
|
[nzSuffixIcon]="props['suffixIcon']"
|
46
43
|
[nzAddOnAfterIcon]="props['addOnAfterIcon']"
|
@@ -48,6 +45,10 @@ FormlyFieldInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
48
45
|
[nzAddOnBefore]="props['addOnBefore']"
|
49
46
|
[nzAddOnAfter]="props['addOnAfter']"
|
50
47
|
[nzPrefix]="props['prefix']"
|
48
|
+
[nzCompact]="props['compact']!!"
|
49
|
+
[nzSearch]="props['search']!!"
|
50
|
+
[nzSize]="props['size']!"
|
51
|
+
[nzStatus]="props['status']!"
|
51
52
|
[nzSuffix]="suffixpassword"
|
52
53
|
>
|
53
54
|
<input
|
@@ -61,12 +62,12 @@ FormlyFieldInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
61
62
|
</nz-input-group>
|
62
63
|
|
63
64
|
<ng-template #suffixpassword>
|
64
|
-
<
|
65
|
+
<span
|
65
66
|
nz-icon
|
66
67
|
class="cursor-pointer"
|
67
68
|
[nzType]="passwordVisible ? 'eye-invisible' : 'eye'"
|
68
69
|
(click)="passwordVisible = !passwordVisible"
|
69
|
-
></
|
70
|
+
></span>
|
70
71
|
</ng-template>
|
71
72
|
</ng-container>
|
72
73
|
|
@@ -110,9 +111,6 @@ FormlyFieldInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
110
111
|
|
111
112
|
<nz-input-group
|
112
113
|
*ngSwitchCase="'group'"
|
113
|
-
[nzSize]="props['size']"
|
114
|
-
[nzStatus]="props['status']"
|
115
|
-
[nzSearch]="props['search']"
|
116
114
|
[nzPrefixIcon]="props['prefixIcon']"
|
117
115
|
[nzSuffixIcon]="props['suffixIcon']"
|
118
116
|
[nzAddOnAfterIcon]="props['addOnAfterIcon']"
|
@@ -121,6 +119,10 @@ FormlyFieldInput.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versi
|
|
121
119
|
[nzAddOnAfter]="props['addOnAfter']"
|
122
120
|
[nzPrefix]="props['prefix']"
|
123
121
|
[nzSuffix]="props['suffix']"
|
122
|
+
[nzCompact]="props['compact']!!"
|
123
|
+
[nzSearch]="props['search']!!"
|
124
|
+
[nzSize]="props['size']!"
|
125
|
+
[nzStatus]="props['status']!"
|
124
126
|
>
|
125
127
|
<input
|
126
128
|
nz-input
|
@@ -153,9 +155,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
153
155
|
<ng-container [ngSwitch]="props.type">
|
154
156
|
<ng-container *ngSwitchCase="'password'">
|
155
157
|
<nz-input-group
|
156
|
-
[nzSize]="props['size']"
|
157
|
-
[nzStatus]="props['status']"
|
158
|
-
[nzSearch]="props['search']"
|
159
158
|
[nzPrefixIcon]="props['prefixIcon']"
|
160
159
|
[nzSuffixIcon]="props['suffixIcon']"
|
161
160
|
[nzAddOnAfterIcon]="props['addOnAfterIcon']"
|
@@ -163,6 +162,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
163
162
|
[nzAddOnBefore]="props['addOnBefore']"
|
164
163
|
[nzAddOnAfter]="props['addOnAfter']"
|
165
164
|
[nzPrefix]="props['prefix']"
|
165
|
+
[nzCompact]="props['compact']!!"
|
166
|
+
[nzSearch]="props['search']!!"
|
167
|
+
[nzSize]="props['size']!"
|
168
|
+
[nzStatus]="props['status']!"
|
166
169
|
[nzSuffix]="suffixpassword"
|
167
170
|
>
|
168
171
|
<input
|
@@ -176,12 +179,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
176
179
|
</nz-input-group>
|
177
180
|
|
178
181
|
<ng-template #suffixpassword>
|
179
|
-
<
|
182
|
+
<span
|
180
183
|
nz-icon
|
181
184
|
class="cursor-pointer"
|
182
185
|
[nzType]="passwordVisible ? 'eye-invisible' : 'eye'"
|
183
186
|
(click)="passwordVisible = !passwordVisible"
|
184
|
-
></
|
187
|
+
></span>
|
185
188
|
</ng-template>
|
186
189
|
</ng-container>
|
187
190
|
|
@@ -225,9 +228,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
225
228
|
|
226
229
|
<nz-input-group
|
227
230
|
*ngSwitchCase="'group'"
|
228
|
-
[nzSize]="props['size']"
|
229
|
-
[nzStatus]="props['status']"
|
230
|
-
[nzSearch]="props['search']"
|
231
231
|
[nzPrefixIcon]="props['prefixIcon']"
|
232
232
|
[nzSuffixIcon]="props['suffixIcon']"
|
233
233
|
[nzAddOnAfterIcon]="props['addOnAfterIcon']"
|
@@ -236,6 +236,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
236
236
|
[nzAddOnAfter]="props['addOnAfter']"
|
237
237
|
[nzPrefix]="props['prefix']"
|
238
238
|
[nzSuffix]="props['suffix']"
|
239
|
+
[nzCompact]="props['compact']!!"
|
240
|
+
[nzSearch]="props['search']!!"
|
241
|
+
[nzSize]="props['size']!"
|
242
|
+
[nzStatus]="props['status']!"
|
239
243
|
>
|
240
244
|
<input
|
241
245
|
nz-input
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ngx-formly-zorro-antd-input.mjs","sources":["../../../../packages/formlyantd/input/src/input.type.ts","../../../../packages/formlyantd/input/src/input.module.ts","../../../../packages/formlyantd/input/src/ngx-formly-zorro-antd-input.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Type } from '@angular/core';\r\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\r\n\r\nimport { InputProps } from './input.props';\r\n\r\nexport interface FormlyInputFieldConfig extends FormlyFieldConfig<InputProps> {\r\n type: 'input' | 'string' | 'password' | Type<FormlyFieldInput>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-input',\r\n template: `\r\n <ng-container [ngSwitch]=\"props.type\">\r\n <ng-container *ngSwitchCase=\"'password'\">\r\n <nz-input-group\r\n [nzSize]=\"props['size']\"\r\n [nzStatus]=\"props['status']\"\r\n [nzSearch]=\"props['search']\"\r\n [nzPrefixIcon]=\"props['prefixIcon']\"\r\n [nzSuffixIcon]=\"props['suffixIcon']\"\r\n [nzAddOnAfterIcon]=\"props['addOnAfterIcon']\"\r\n [nzAddOnBeforeIcon]=\"props['addOnBeforeIcon']\"\r\n [nzAddOnBefore]=\"props['addOnBefore']\"\r\n [nzAddOnAfter]=\"props['addOnAfter']\"\r\n [nzPrefix]=\"props['prefix']\"\r\n [nzSuffix]=\"suffixpassword\"\r\n >\r\n <input\r\n [type]=\"passwordVisible ? 'text' : 'password'\"\r\n nz-input\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [nzBorderless]=\"props['borderless']!!\"\r\n (ngModelChange)=\"props.change && props.change(field, $event)\"\r\n />\r\n </nz-input-group>\r\n\r\n <ng-template #suffixpassword>\r\n <i\r\n nz-icon\r\n class=\"cursor-pointer\"\r\n [nzType]=\"passwordVisible ? 'eye-invisible' : 'eye'\"\r\n (click)=\"passwordVisible = !passwordVisible\"\r\n ></i>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <nz-input-group\r\n *ngSwitchCase=\"'autoComplete'\"\r\n [nzSize]=\"props['size']\"\r\n [nzPrefixIcon]=\"props['prefixIcon']\"\r\n [nzSuffixIcon]=\"props['suffixIcon']\"\r\n [nzAddOnAfterIcon]=\"props['addOnAfterIcon']\"\r\n [nzAddOnBeforeIcon]=\"props['addOnBeforeIcon']\"\r\n [nzAddOnBefore]=\"props['addOnBefore']\"\r\n [nzAddOnAfter]=\"props['addOnAfter']\"\r\n [nzPrefix]=\"props['prefix']\"\r\n [nzSuffix]=\"props['suffix']\"\r\n >\r\n <input\r\n nz-input\r\n [nzBorderless]=\"props['borderless']\"\r\n [nzAutocomplete]=\"auto\"\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n />\r\n <nz-autocomplete\r\n [nzBackfill]=\"props['autocompleteOptions']?.backfill\"\r\n [nzDefaultActiveFirstOption]=\"props['autocompleteOptions']?.defaultActiveFirstOption\"\r\n [nzWidth]=\"props['autocompleteOptions']?.width\"\r\n [nzOverlayClassName]=\"props['autocompleteOptions']?.overlayClassName\"\r\n [nzOverlayStyle]=\"props['autocompleteOptions']?.overlayStyle\"\r\n [compareWith]=\"props['autocompleteOptions']?.compareWith\"\r\n #auto\r\n >\r\n <nz-auto-option\r\n *ngFor=\"let option of props['autocompleteOptions'].dataSource\"\r\n [nzLabel]=\"option.label\"\r\n [nzValue]=\"option.value\"\r\n >\r\n {{ option.label }}\r\n </nz-auto-option>\r\n </nz-autocomplete>\r\n </nz-input-group>\r\n\r\n <nz-input-group\r\n *ngSwitchCase=\"'group'\"\r\n [nzSize]=\"props['size']\"\r\n [nzStatus]=\"props['status']\"\r\n [nzSearch]=\"props['search']\"\r\n [nzPrefixIcon]=\"props['prefixIcon']\"\r\n [nzSuffixIcon]=\"props['suffixIcon']\"\r\n [nzAddOnAfterIcon]=\"props['addOnAfterIcon']\"\r\n [nzAddOnBeforeIcon]=\"props['addOnBeforeIcon']\"\r\n [nzAddOnBefore]=\"props['addOnBefore']\"\r\n [nzAddOnAfter]=\"props['addOnAfter']\"\r\n [nzPrefix]=\"props['prefix']\"\r\n [nzSuffix]=\"props['suffix']\"\r\n >\r\n <input\r\n nz-input\r\n type=\"text\"\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [nzBorderless]=\"!!props['borderless']!!\"\r\n (ngModelChange)=\"props.change && props.change(field, $event)\"\r\n />\r\n </nz-input-group>\r\n\r\n <input\r\n *ngSwitchDefault\r\n nz-input\r\n type=\"text\"\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [nzSize]=\"props['size']\"\r\n [nzStatus]=\"props['status']\"\r\n [nzBorderless]=\"props['borderless']!!\"\r\n (ngModelChange)=\"props.change && props.change(field, $event)\"\r\n />\r\n </ng-container>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldInput extends FieldType<FieldTypeConfig> {\r\n override defaultOptions = {\r\n props: {\r\n borderless: false,\r\n compact: false,\r\n search: false,\r\n allowClear: false,\r\n autocompleteOptions: {\r\n backfill: false,\r\n defaultActiveFirstOption: true,\r\n compareWith: (o1: NzSafeAny, o2: NzSafeAny) => o1 === o2\r\n }\r\n }\r\n };\r\n passwordVisible = false;\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport { NzInputModule } from 'ng-zorro-antd/input';\r\nimport { NzAutocompleteModule } from 'ng-zorro-antd/auto-complete';\r\nimport { NzIconModule } from 'ng-zorro-antd/icon';\r\n\r\nimport { FormlyFieldInput } from './input.type';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldInput],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n NzInputModule,\r\n NzAutocompleteModule,\r\n NzIconModule,\r\n\r\n FormlyNzFormFieldModule,\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'input',\r\n component: FormlyFieldInput,\r\n wrappers: ['form-field'],\r\n defaultOptions: {\r\n props: {\r\n type: 'input'\r\n }\r\n }\r\n },\r\n { name: 'string', extends: 'input' },\r\n {\r\n name: 'password',\r\n extends: 'input',\r\n defaultOptions: {\r\n props: {\r\n type: 'password'\r\n }\r\n }\r\n }\r\n ]\r\n })\r\n ]\r\n})\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AK,EAAE;AACL,gCAAA,IAAI,EAAE,UAAU;AACjB,6BAAA;AACF,yBAAA;AACF,qBAAA;AACF,iBAAA;aACF,CAAC;SACH,CAAA,EAAA,CAAA,CAAA;4FAEU,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBApC/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,gBAAgB,CAAC;AAChC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,aAAa;wBACb,oBAAoB;wBACpB,YAAY;wBAEZ,uBAAuB;wBACvB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,OAAO;AACb,oCAAA,SAAS,EAAE,gBAAgB;oCAC3B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACxB,oCAAA,cAAc,EAAE;AACd,wCAAA,KAAK,EAAE;AACL,4CAAA,IAAI,EAAE,OAAO;AACd,yCAAA;AACF,qCAAA;AACF,iCAAA;AACD,gCAAA,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE;AACpC,gCAAA;AACE,oCAAA,IAAI,EAAE,UAAU;AAChB,oCAAA,OAAO,EAAE,OAAO;AAChB,oCAAA,cAAc,EAAE;AACd,wCAAA,KAAK,EAAE;AACL,4CAAA,IAAI,EAAE,UAAU;AACjB,yCAAA;AACF,qCAAA;AACF,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;iBACF,CAAA;;;AC/CD;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"ngx-formly-zorro-antd-input.mjs","sources":["../../../../packages/formlyantd/input/src/input.type.ts","../../../../packages/formlyantd/input/src/input.module.ts","../../../../packages/formlyantd/input/src/ngx-formly-zorro-antd-input.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, Type } from '@angular/core';\r\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\nimport type { NzSafeAny } from 'ng-zorro-antd/core/types';\r\n\r\nimport type { InputProps } from './input.props';\r\n\r\nexport interface FormlyInputFieldConfig extends FormlyFieldConfig<InputProps> {\r\n type: 'input' | 'string' | 'password' | Type<FormlyFieldInput>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-input',\r\n template: `\r\n <ng-container [ngSwitch]=\"props.type\">\r\n <ng-container *ngSwitchCase=\"'password'\">\r\n <nz-input-group\r\n [nzPrefixIcon]=\"props['prefixIcon']\"\r\n [nzSuffixIcon]=\"props['suffixIcon']\"\r\n [nzAddOnAfterIcon]=\"props['addOnAfterIcon']\"\r\n [nzAddOnBeforeIcon]=\"props['addOnBeforeIcon']\"\r\n [nzAddOnBefore]=\"props['addOnBefore']\"\r\n [nzAddOnAfter]=\"props['addOnAfter']\"\r\n [nzPrefix]=\"props['prefix']\"\r\n [nzCompact]=\"props['compact']!!\"\r\n [nzSearch]=\"props['search']!!\"\r\n [nzSize]=\"props['size']!\"\r\n [nzStatus]=\"props['status']!\"\r\n [nzSuffix]=\"suffixpassword\"\r\n >\r\n <input\r\n [type]=\"passwordVisible ? 'text' : 'password'\"\r\n nz-input\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [nzBorderless]=\"props['borderless']!!\"\r\n (ngModelChange)=\"props.change && props.change(field, $event)\"\r\n />\r\n </nz-input-group>\r\n\r\n <ng-template #suffixpassword>\r\n <span\r\n nz-icon\r\n class=\"cursor-pointer\"\r\n [nzType]=\"passwordVisible ? 'eye-invisible' : 'eye'\"\r\n (click)=\"passwordVisible = !passwordVisible\"\r\n ></span>\r\n </ng-template>\r\n </ng-container>\r\n\r\n <nz-input-group\r\n *ngSwitchCase=\"'autoComplete'\"\r\n [nzSize]=\"props['size']\"\r\n [nzPrefixIcon]=\"props['prefixIcon']\"\r\n [nzSuffixIcon]=\"props['suffixIcon']\"\r\n [nzAddOnAfterIcon]=\"props['addOnAfterIcon']\"\r\n [nzAddOnBeforeIcon]=\"props['addOnBeforeIcon']\"\r\n [nzAddOnBefore]=\"props['addOnBefore']\"\r\n [nzAddOnAfter]=\"props['addOnAfter']\"\r\n [nzPrefix]=\"props['prefix']\"\r\n [nzSuffix]=\"props['suffix']\"\r\n >\r\n <input\r\n nz-input\r\n [nzBorderless]=\"props['borderless']\"\r\n [nzAutocomplete]=\"auto\"\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n />\r\n <nz-autocomplete\r\n [nzBackfill]=\"props['autocompleteOptions']?.backfill\"\r\n [nzDefaultActiveFirstOption]=\"props['autocompleteOptions']?.defaultActiveFirstOption\"\r\n [nzWidth]=\"props['autocompleteOptions']?.width\"\r\n [nzOverlayClassName]=\"props['autocompleteOptions']?.overlayClassName\"\r\n [nzOverlayStyle]=\"props['autocompleteOptions']?.overlayStyle\"\r\n [compareWith]=\"props['autocompleteOptions']?.compareWith\"\r\n #auto\r\n >\r\n <nz-auto-option\r\n *ngFor=\"let option of props['autocompleteOptions'].dataSource\"\r\n [nzLabel]=\"option.label\"\r\n [nzValue]=\"option.value\"\r\n >\r\n {{ option.label }}\r\n </nz-auto-option>\r\n </nz-autocomplete>\r\n </nz-input-group>\r\n\r\n <nz-input-group\r\n *ngSwitchCase=\"'group'\"\r\n [nzPrefixIcon]=\"props['prefixIcon']\"\r\n [nzSuffixIcon]=\"props['suffixIcon']\"\r\n [nzAddOnAfterIcon]=\"props['addOnAfterIcon']\"\r\n [nzAddOnBeforeIcon]=\"props['addOnBeforeIcon']\"\r\n [nzAddOnBefore]=\"props['addOnBefore']\"\r\n [nzAddOnAfter]=\"props['addOnAfter']\"\r\n [nzPrefix]=\"props['prefix']\"\r\n [nzSuffix]=\"props['suffix']\"\r\n [nzCompact]=\"props['compact']!!\"\r\n [nzSearch]=\"props['search']!!\"\r\n [nzSize]=\"props['size']!\"\r\n [nzStatus]=\"props['status']!\"\r\n >\r\n <input\r\n nz-input\r\n type=\"text\"\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [nzBorderless]=\"!!props['borderless']!!\"\r\n (ngModelChange)=\"props.change && props.change(field, $event)\"\r\n />\r\n </nz-input-group>\r\n\r\n <input\r\n *ngSwitchDefault\r\n nz-input\r\n type=\"text\"\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [nzSize]=\"props['size']\"\r\n [nzStatus]=\"props['status']\"\r\n [nzBorderless]=\"props['borderless']!!\"\r\n (ngModelChange)=\"props.change && props.change(field, $event)\"\r\n />\r\n </ng-container>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldInput extends FieldType<FieldTypeConfig> {\r\n override defaultOptions = {\r\n props: {\r\n borderless: false,\r\n compact: false,\r\n search: false,\r\n allowClear: false,\r\n autocompleteOptions: {\r\n backfill: false,\r\n defaultActiveFirstOption: true,\r\n compareWith: (o1: NzSafeAny, o2: NzSafeAny) => o1 === o2\r\n }\r\n }\r\n };\r\n passwordVisible = false;\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport { NzInputModule } from 'ng-zorro-antd/input';\r\nimport { NzAutocompleteModule } from 'ng-zorro-antd/auto-complete';\r\nimport { NzIconModule } from 'ng-zorro-antd/icon';\r\n\r\nimport { FormlyFieldInput } from './input.type';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldInput],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n NzInputModule,\r\n NzAutocompleteModule,\r\n NzIconModule,\r\n\r\n FormlyNzFormFieldModule,\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'input',\r\n component: FormlyFieldInput,\r\n wrappers: ['form-field'],\r\n defaultOptions: {\r\n props: {\r\n type: 'input'\r\n }\r\n }\r\n },\r\n { name: 'string', extends: 'input' },\r\n {\r\n name: 'password',\r\n extends: 'input',\r\n defaultOptions: {\r\n props: {\r\n type: 'password'\r\n }\r\n }\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzInputModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;AA+HM,MAAO,gBAAiB,SAAQ,SAA0B,CAAA;AArHhE,IAAA,WAAA,GAAA;;QAsHW,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,UAAU,EAAE,KAAK;AACjB,gBAAA,OAAO,EAAE,KAAK;AACd,gBAAA,MAAM,EAAE,KAAK;AACb,gBAAA,UAAU,EAAE,KAAK;AACjB,gBAAA,mBAAmB,EAAE;AACnB,oBAAA,QAAQ,EAAE,KAAK;AACf,oBAAA,wBAAwB,EAAE,IAAI;oBAC9B,WAAW,EAAE,CAAC,EAAa,EAAE,EAAa,KAAK,EAAE,KAAK,EAAE;AACzD,iBAAA;AACF,aAAA;SACF,CAAC;AACF,QAAA,IAAe,CAAA,eAAA,GAAG,KAAK,CAAC;KACzB;;8GAfY,gBAAgB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAhB,gBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,gBAAgB,EAnHjB,QAAA,EAAA,oBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgHT,EAAA,QAAA,EAAA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,EAAE,OAAO,EAAE;AACpC,oBAAA;AACE,wBAAA,IAAI,EAAE,UAAU;AAChB,wBAAA,OAAO,EAAE,OAAO;AAChB,wBAAA,cAAc,EAAE;AACd,4BAAA,KAAK,EAAE;AACL,gCAAA,IAAI,EAAE,UAAU;AACjB,6BAAA;AACF,yBAAA;AACF,qBAAA;AACF,iBAAA;aACF,CAAC;SACH,CAAA,EAAA,CAAA,CAAA;4FAEU,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBApC/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,gBAAgB,CAAC;AAChC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,aAAa;wBACb,oBAAoB;wBACpB,YAAY;wBAEZ,uBAAuB;wBACvB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,OAAO;AACb,oCAAA,SAAS,EAAE,gBAAgB;oCAC3B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACxB,oCAAA,cAAc,EAAE;AACd,wCAAA,KAAK,EAAE;AACL,4CAAA,IAAI,EAAE,OAAO;AACd,yCAAA;AACF,qCAAA;AACF,iCAAA;AACD,gCAAA,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE;AACpC,gCAAA;AACE,oCAAA,IAAI,EAAE,UAAU;AAChB,oCAAA,OAAO,EAAE,OAAO;AAChB,oCAAA,cAAc,EAAE;AACd,wCAAA,KAAK,EAAE;AACL,4CAAA,IAAI,EAAE,UAAU;AACjB,yCAAA;AACF,qCAAA;AACF,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;iBACF,CAAA;;;AC/CD;;AAEG;;;;"}
|
@@ -20,6 +20,7 @@ import { FormlyNzUploadModule } from 'ngx-formly-zorro-antd/upload';
|
|
20
20
|
import { FormlyNzTabsModule } from 'ngx-formly-zorro-antd/tabs';
|
21
21
|
import { FormlyNzCardModule } from 'ngx-formly-zorro-antd/card';
|
22
22
|
import { FormlyNzButtonModule } from 'ngx-formly-zorro-antd/button';
|
23
|
+
import { FormlyNzGridModule } from 'ngx-formly-zorro-antd/grid';
|
23
24
|
|
24
25
|
class FormlyNgAntdModule {
|
25
26
|
}
|
@@ -43,7 +44,8 @@ FormlyNgAntdModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", vers
|
|
43
44
|
FormlyNzUploadModule,
|
44
45
|
FormlyNzTabsModule,
|
45
46
|
FormlyNzCardModule,
|
46
|
-
FormlyNzButtonModule
|
47
|
+
FormlyNzButtonModule,
|
48
|
+
FormlyNzGridModule] });
|
47
49
|
FormlyNgAntdModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNgAntdModule, imports: [[
|
48
50
|
FormlyNzFormFieldModule,
|
49
51
|
FormlyNzInputModule,
|
@@ -64,7 +66,8 @@ FormlyNgAntdModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", vers
|
|
64
66
|
FormlyNzUploadModule,
|
65
67
|
FormlyNzTabsModule,
|
66
68
|
FormlyNzCardModule,
|
67
|
-
FormlyNzButtonModule
|
69
|
+
FormlyNzButtonModule,
|
70
|
+
FormlyNzGridModule
|
68
71
|
]] });
|
69
72
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNgAntdModule, decorators: [{
|
70
73
|
type: NgModule,
|
@@ -89,7 +92,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
89
92
|
FormlyNzUploadModule,
|
90
93
|
FormlyNzTabsModule,
|
91
94
|
FormlyNzCardModule,
|
92
|
-
FormlyNzButtonModule
|
95
|
+
FormlyNzButtonModule,
|
96
|
+
FormlyNzGridModule
|
93
97
|
]
|
94
98
|
}]
|
95
99
|
}] });
|
@@ -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';\r\n\r\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\r\nimport { FormlyNzInputModule } from 'ngx-formly-zorro-antd/input';\r\nimport { FormlyNzInputNumberModule } from 'ngx-formly-zorro-antd/input-number';\r\nimport { FormlyNzInputGroupModule } from 'ngx-formly-zorro-antd/input-group';\r\nimport { FormlyNzTextareaModule } from 'ngx-formly-zorro-antd/textarea';\r\nimport { FormlyNzRadioModule } from 'ngx-formly-zorro-antd/radio';\r\nimport { FormlyNzCheckboxModule } from 'ngx-formly-zorro-antd/checkbox';\r\nimport { FormlyNzSelectModule } from 'ngx-formly-zorro-antd/select';\r\nimport { FormlyNzSwitchModule } from 'ngx-formly-zorro-antd/switch';\r\nimport { FormlyNzCascaderModule } from 'ngx-formly-zorro-antd/cascader';\r\nimport { FormlyNzDatepickerModule } from 'ngx-formly-zorro-antd/datepicker';\r\nimport { FormlyNzRateModule } from 'ngx-formly-zorro-antd/rate';\r\nimport { FormlyNzSliderModule } from 'ngx-formly-zorro-antd/slider';\r\nimport { FormlyNzTimepickerModule } from 'ngx-formly-zorro-antd/timepicker';\r\nimport { FormlyNzTransferModule } from 'ngx-formly-zorro-antd/transfer';\r\nimport { FormlyNzTreeSelectModule } from 'ngx-formly-zorro-antd/tree-select';\r\nimport { FormlyNzUploadModule } from 'ngx-formly-zorro-antd/upload';\r\nimport { FormlyNzTabsModule } from 'ngx-formly-zorro-antd/tabs';\r\nimport { FormlyNzCardModule } from 'ngx-formly-zorro-antd/card';\r\nimport { FormlyNzButtonModule } from 'ngx-formly-zorro-antd/button';\r\n\r\n@NgModule({\r\n imports: [\r\n FormlyNzFormFieldModule,\r\n FormlyNzInputModule,\r\n FormlyNzInputNumberModule,\r\n FormlyNzInputGroupModule,\r\n FormlyNzTextareaModule,\r\n FormlyNzRadioModule,\r\n FormlyNzCheckboxModule,\r\n FormlyNzSelectModule,\r\n FormlyNzSwitchModule,\r\n FormlyNzCascaderModule,\r\n FormlyNzDatepickerModule,\r\n FormlyNzRateModule,\r\n FormlyNzSliderModule,\r\n FormlyNzTimepickerModule,\r\n FormlyNzTransferModule,\r\n FormlyNzTreeSelectModule,\r\n FormlyNzUploadModule,\r\n FormlyNzTabsModule,\r\n FormlyNzCardModule,\r\n FormlyNzButtonModule\r\n ]\r\n})\r\nexport class FormlyNgAntdModule {}\r\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';\r\n\r\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\r\nimport { FormlyNzInputModule } from 'ngx-formly-zorro-antd/input';\r\nimport { FormlyNzInputNumberModule } from 'ngx-formly-zorro-antd/input-number';\r\nimport { FormlyNzInputGroupModule } from 'ngx-formly-zorro-antd/input-group';\r\nimport { FormlyNzTextareaModule } from 'ngx-formly-zorro-antd/textarea';\r\nimport { FormlyNzRadioModule } from 'ngx-formly-zorro-antd/radio';\r\nimport { FormlyNzCheckboxModule } from 'ngx-formly-zorro-antd/checkbox';\r\nimport { FormlyNzSelectModule } from 'ngx-formly-zorro-antd/select';\r\nimport { FormlyNzSwitchModule } from 'ngx-formly-zorro-antd/switch';\r\nimport { FormlyNzCascaderModule } from 'ngx-formly-zorro-antd/cascader';\r\nimport { FormlyNzDatepickerModule } from 'ngx-formly-zorro-antd/datepicker';\r\nimport { FormlyNzRateModule } from 'ngx-formly-zorro-antd/rate';\r\nimport { FormlyNzSliderModule } from 'ngx-formly-zorro-antd/slider';\r\nimport { FormlyNzTimepickerModule } from 'ngx-formly-zorro-antd/timepicker';\r\nimport { FormlyNzTransferModule } from 'ngx-formly-zorro-antd/transfer';\r\nimport { FormlyNzTreeSelectModule } from 'ngx-formly-zorro-antd/tree-select';\r\nimport { FormlyNzUploadModule } from 'ngx-formly-zorro-antd/upload';\r\nimport { FormlyNzTabsModule } from 'ngx-formly-zorro-antd/tabs';\r\nimport { FormlyNzCardModule } from 'ngx-formly-zorro-antd/card';\r\nimport { FormlyNzButtonModule } from 'ngx-formly-zorro-antd/button';\r\nimport { FormlyNzGridModule } from 'ngx-formly-zorro-antd/grid';\r\n\r\n@NgModule({\r\n imports: [\r\n FormlyNzFormFieldModule,\r\n FormlyNzInputModule,\r\n FormlyNzInputNumberModule,\r\n FormlyNzInputGroupModule,\r\n FormlyNzTextareaModule,\r\n FormlyNzRadioModule,\r\n FormlyNzCheckboxModule,\r\n FormlyNzSelectModule,\r\n FormlyNzSwitchModule,\r\n FormlyNzCascaderModule,\r\n FormlyNzDatepickerModule,\r\n FormlyNzRateModule,\r\n FormlyNzSliderModule,\r\n FormlyNzTimepickerModule,\r\n FormlyNzTransferModule,\r\n FormlyNzTreeSelectModule,\r\n FormlyNzUploadModule,\r\n FormlyNzTabsModule,\r\n FormlyNzCardModule,\r\n FormlyNzButtonModule,\r\n FormlyNzGridModule\r\n ]\r\n})\r\nexport class FormlyNgAntdModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;MAiDa,kBAAkB,CAAA;;gHAAlB,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAlB,kBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA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