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
package/README.md
CHANGED
@@ -1,7 +1,6 @@
|
|
1
|
-
import type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';
|
2
1
|
import type { CompareWith } from 'ng-zorro-antd/core/types';
|
3
2
|
import type { AutocompleteDataSource } from 'ng-zorro-antd/auto-complete';
|
4
|
-
export interface AutocompleteProps
|
3
|
+
export interface AutocompleteProps {
|
5
4
|
/**
|
6
5
|
* 使用键盘选择选项的时候,会把当前高亮项的值即时回填到输入框中
|
7
6
|
* @default false
|
package/button/button.type.d.ts
CHANGED
@@ -4,6 +4,7 @@ import type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';
|
|
4
4
|
import type { NzButtonShape, NzButtonSize, NzButtonType } from 'ng-zorro-antd/button';
|
5
5
|
import * as i0 from "@angular/core";
|
6
6
|
interface ButtonProps extends FormlyFieldProps {
|
7
|
+
type?: 'a' | 'button';
|
7
8
|
/**
|
8
9
|
* 幽灵属性,使按钮背景透明
|
9
10
|
* @default false
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0b2NvbXBsZXRlLnByb3BzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC9hdXRvY29tcGxldGUvc3JjL2F1dG9jb21wbGV0ZS5wcm9wcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHR5cGUgeyBDb21wYXJlV2l0aCB9IGZyb20gJ25nLXpvcnJvLWFudGQvY29yZS90eXBlcyc7XHJcbmltcG9ydCB0eXBlIHsgQXV0b2NvbXBsZXRlRGF0YVNvdXJjZSB9IGZyb20gJ25nLXpvcnJvLWFudGQvYXV0by1jb21wbGV0ZSc7XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIEF1dG9jb21wbGV0ZVByb3BzIHtcclxuICAvKipcclxuICAgKiDkvb/nlKjplK7nm5jpgInmi6npgInpobnnmoTml7blgJnvvIzkvJrmiorlvZPliY3pq5jkuq7pobnnmoTlgLzljbPml7blm57loavliLDovpPlhaXmoYbkuK1cclxuICAgKiBAZGVmYXVsdCBmYWxzZVxyXG4gICAqL1xyXG4gIGJhY2tmaWxsPzogYm9vbGVhbjtcclxuXHJcbiAgLyoqXHJcbiAgICog6Ieq5Yqo5a6M5oiQ55qE5pWw5o2u5rqQXHJcbiAgICovXHJcbiAgZGF0YVNvdXJjZT86IEF1dG9jb21wbGV0ZURhdGFTb3VyY2U7XHJcblxyXG4gIC8qKlxyXG4gICAqIOaYr+WQpum7mOiupOmrmOS6ruesrOS4gOS4qumAiemhuVxyXG4gICAqIEBkZWZhdWx0IHRydWVcclxuICAgKi9cclxuICBkZWZhdWx0QWN0aXZlRmlyc3RPcHRpb24/OiBib29sZWFuO1xyXG5cclxuICAvKipcclxuICAgKiDoh6rlrprkuYnlrr3luqbljZXkvY0gcHhcclxuICAgKi9cclxuICB3aWR0aD86IG51bWJlcjtcclxuXHJcbiAgLyoqXHJcbiAgICog5LiL5ouJ5qC55YWD57Sg55qE57G75ZCN56ewXHJcbiAgICovXHJcbiAgb3ZlcmxheUNsYXNzTmFtZT86IHN0cmluZztcclxuXHJcbiAgLyoqXHJcbiAgICog5LiL5ouJ5qC55YWD57Sg55qE5qC35byPXHJcbiAgICovXHJcbiAgb3ZlcmxheVN0eWxlPzoge1xyXG4gICAgW2tleTogc3RyaW5nXTogc3RyaW5nO1xyXG4gIH07XHJcblxyXG4gIC8qKlxyXG4gICAqIOS4jiBTZWxlY3RDb250cm9sVmFsdWVBY2Nlc3NvciDnm7jlkIxcclxuICAgKiBAZGVmYXVsdFxyXG4gICAqIChvMTogYW55LCBvMjogYW55KSA9PiBvMT09PW8yXHJcbiAgICovXHJcbiAgY29tcGFyZVdpdGg/OiBDb21wYXJlV2l0aDtcclxufVxyXG4iXX0=
|
@@ -2,11 +2,11 @@ import { Component, ChangeDetectionStrategy } from '@angular/core';
|
|
2
2
|
import { FieldType } from '@ngx-formly/core';
|
3
3
|
import * as i0 from "@angular/core";
|
4
4
|
import * as i1 from "ng-zorro-antd/button";
|
5
|
-
import * as i2 from "
|
5
|
+
import * as i2 from "@angular/common";
|
6
6
|
import * as i3 from "ng-zorro-antd/core/transition-patch";
|
7
7
|
import * as i4 from "@ngx-formly/core";
|
8
|
-
import * as i5 from "
|
9
|
-
import * as i6 from "ng-zorro-antd/
|
8
|
+
import * as i5 from "ng-zorro-antd/icon";
|
9
|
+
import * as i6 from "ng-zorro-antd/core/wave";
|
10
10
|
export class FormlyFieldButton extends FieldType {
|
11
11
|
constructor() {
|
12
12
|
super(...arguments);
|
@@ -23,48 +23,88 @@ export class FormlyFieldButton extends FieldType {
|
|
23
23
|
}
|
24
24
|
FormlyFieldButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldButton, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
25
25
|
FormlyFieldButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormlyFieldButton, selector: "formly-field-button", usesInheritance: true, ngImport: i0, template: `
|
26
|
-
<
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
26
|
+
<ng-container *ngIf="props.type === 'a'; else elsebutton">
|
27
|
+
<a
|
28
|
+
nz-button
|
29
|
+
[formlyAttributes]="field"
|
30
|
+
[nzGhost]="props['ghost']!!"
|
31
|
+
[nzLoading]="props['loading']!!"
|
32
|
+
[nzShape]="props['shape'] ?? null"
|
33
|
+
[nzSize]="props['size']!"
|
34
|
+
[nzBlock]="props['block']!!"
|
35
|
+
[nzDanger]="props['danger']!!"
|
36
|
+
[nzType]="props['buttonType'] ?? 'link'"
|
37
|
+
[ngClass]="props['className']!"
|
38
|
+
>
|
39
|
+
<span *ngIf="props['iconOnBefore']" nz-icon [nzType]="props['iconOnBefore']"></span>
|
40
|
+
{{ props.label }}
|
41
|
+
<span *ngIf="props['iconOnAfter']" nz-icon [nzType]="props['iconOnAfter']"></span>
|
42
|
+
</a>
|
43
|
+
</ng-container>
|
44
|
+
<ng-template #elsebutton>
|
45
|
+
<button
|
46
|
+
nz-button
|
47
|
+
[attr.type]="field.type"
|
48
|
+
[formlyAttributes]="field"
|
49
|
+
[nzGhost]="props['ghost']!!"
|
50
|
+
[nzLoading]="props['loading']!!"
|
51
|
+
[nzShape]="props['shape'] ?? null"
|
52
|
+
[nzSize]="props['size']!"
|
53
|
+
[nzBlock]="props['block']!!"
|
54
|
+
[nzDanger]="props['danger']!!"
|
55
|
+
[nzType]="props['buttonType'] ?? null"
|
56
|
+
[ngClass]="props['className']!"
|
57
|
+
>
|
58
|
+
<span *ngIf="props['iconOnBefore']" nz-icon [nzType]="props['iconOnBefore']"></span>
|
59
|
+
{{ props.label }}
|
60
|
+
<span *ngIf="props['iconOnAfter']" nz-icon [nzType]="props['iconOnAfter']"></span>
|
61
|
+
</button>
|
62
|
+
</ng-template>
|
63
|
+
`, isInline: true, components: [{ type: i1.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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"] }, { type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i5.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { type: i6.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
44
64
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldButton, decorators: [{
|
45
65
|
type: Component,
|
46
66
|
args: [{
|
47
67
|
selector: 'formly-field-button',
|
48
68
|
template: `
|
49
|
-
<
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
69
|
+
<ng-container *ngIf="props.type === 'a'; else elsebutton">
|
70
|
+
<a
|
71
|
+
nz-button
|
72
|
+
[formlyAttributes]="field"
|
73
|
+
[nzGhost]="props['ghost']!!"
|
74
|
+
[nzLoading]="props['loading']!!"
|
75
|
+
[nzShape]="props['shape'] ?? null"
|
76
|
+
[nzSize]="props['size']!"
|
77
|
+
[nzBlock]="props['block']!!"
|
78
|
+
[nzDanger]="props['danger']!!"
|
79
|
+
[nzType]="props['buttonType'] ?? 'link'"
|
80
|
+
[ngClass]="props['className']!"
|
81
|
+
>
|
82
|
+
<span *ngIf="props['iconOnBefore']" nz-icon [nzType]="props['iconOnBefore']"></span>
|
83
|
+
{{ props.label }}
|
84
|
+
<span *ngIf="props['iconOnAfter']" nz-icon [nzType]="props['iconOnAfter']"></span>
|
85
|
+
</a>
|
86
|
+
</ng-container>
|
87
|
+
<ng-template #elsebutton>
|
88
|
+
<button
|
89
|
+
nz-button
|
90
|
+
[attr.type]="field.type"
|
91
|
+
[formlyAttributes]="field"
|
92
|
+
[nzGhost]="props['ghost']!!"
|
93
|
+
[nzLoading]="props['loading']!!"
|
94
|
+
[nzShape]="props['shape'] ?? null"
|
95
|
+
[nzSize]="props['size']!"
|
96
|
+
[nzBlock]="props['block']!!"
|
97
|
+
[nzDanger]="props['danger']!!"
|
98
|
+
[nzType]="props['buttonType'] ?? null"
|
99
|
+
[ngClass]="props['className']!"
|
100
|
+
>
|
101
|
+
<span *ngIf="props['iconOnBefore']" nz-icon [nzType]="props['iconOnBefore']"></span>
|
102
|
+
{{ props.label }}
|
103
|
+
<span *ngIf="props['iconOnAfter']" nz-icon [nzType]="props['iconOnAfter']"></span>
|
104
|
+
</button>
|
105
|
+
</ng-template>
|
66
106
|
`,
|
67
107
|
changeDetection: ChangeDetectionStrategy.OnPush
|
68
108
|
}]
|
69
109
|
}] });
|
70
|
-
//# sourceMappingURL=data:application/json;base64,
|
110
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL2J1dHRvbi9zcmMvYnV0dG9uLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBUSx1QkFBdUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6RSxPQUFPLEVBQUUsU0FBUyxFQUFzQyxNQUFNLGtCQUFrQixDQUFDOzs7Ozs7OztBQXlHakYsTUFBTSxPQUFPLGlCQUFrQixTQUFRLFNBQXVDO0lBM0M5RTs7UUE0Q1csbUJBQWMsR0FBRztZQUN4QixLQUFLLEVBQUU7Z0JBQ0wsS0FBSyxFQUFFLEtBQUs7Z0JBQ1osT0FBTyxFQUFFLEtBQUs7Z0JBQ2QsS0FBSyxFQUFFLEtBQUs7Z0JBQ1osSUFBSSxFQUFFLFNBQWtCO2dCQUN4QixNQUFNLEVBQUUsS0FBSzthQUNkO1NBQ0YsQ0FBQztLQUNIOzsrR0FWWSxpQkFBaUI7bUdBQWpCLGlCQUFpQixrRkF6Q2xCOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQXNDVDs0RkFHVSxpQkFBaUI7a0JBM0M3QixTQUFTO21CQUFDO29CQUNULFFBQVEsRUFBRSxxQkFBcUI7b0JBQy9CLFFBQVEsRUFBRTs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7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gICAgbnotYnV0dG9uXHJcbiAgICAgICAgW2Zvcm1seUF0dHJpYnV0ZXNdPVwiZmllbGRcIlxyXG4gICAgICAgIFtuekdob3N0XT1cInByb3BzWydnaG9zdCddISFcIlxyXG4gICAgICAgIFtuekxvYWRpbmddPVwicHJvcHNbJ2xvYWRpbmcnXSEhXCJcclxuICAgICAgICBbbnpTaGFwZV09XCJwcm9wc1snc2hhcGUnXSA/PyBudWxsXCJcclxuICAgICAgICBbbnpTaXplXT1cInByb3BzWydzaXplJ10hXCJcclxuICAgICAgICBbbnpCbG9ja109XCJwcm9wc1snYmxvY2snXSEhXCJcclxuICAgICAgICBbbnpEYW5nZXJdPVwicHJvcHNbJ2RhbmdlciddISFcIlxyXG4gICAgICAgIFtuelR5cGVdPVwicHJvcHNbJ2J1dHRvblR5cGUnXSA/PyAnbGluaydcIlxyXG4gICAgICAgIFtuZ0NsYXNzXT1cInByb3BzWydjbGFzc05hbWUnXSFcIlxyXG4gICAgICA+XHJcbiAgICAgICAgPHNwYW4gKm5nSWY9XCJwcm9wc1snaWNvbk9uQmVmb3JlJ11cIiBuei1pY29uIFtuelR5cGVdPVwicHJvcHNbJ2ljb25PbkJlZm9yZSddXCI+PC9zcGFuPlxyXG4gICAgICAgIHt7IHByb3BzLmxhYmVsIH19XHJcbiAgICAgICAgPHNwYW4gKm5nSWY9XCJwcm9wc1snaWNvbk9uQWZ0ZXInXVwiIG56LWljb24gW256VHlwZV09XCJwcm9wc1snaWNvbk9uQWZ0ZXInXVwiPjwvc3Bhbj5cclxuICAgICAgPC9hPlxyXG4gICAgPC9uZy1jb250YWluZXI+XHJcbiAgICA8bmctdGVtcGxhdGUgI2Vsc2VidXR0b24+XHJcbiAgICAgIDxidXR0b25cclxuICAgICAgICBuei1idXR0b25cclxuICAgICAgICBbYXR0ci50eXBlXT1cImZpZWxkLnR5cGVcIlxyXG4gICAgICAgIFtmb3JtbHlBdHRyaWJ1dGVzXT1cImZpZWxkXCJcclxuICAgICAgICBbbnp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NlLFxyXG4gICAgICBsb2FkaW5nOiBmYWxzZSxcclxuICAgICAgYmxvY2s6IGZhbHNlLFxyXG4gICAgICBzaXplOiAnZGVmYXVsdCcgYXMgY29uc3QsXHJcbiAgICAgIGRhbmdlcjogZmFsc2VcclxuICAgIH1cclxuICB9O1xyXG59XHJcbiJdfQ==
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC5wcm9wcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvZm9ybS1maWVsZC9zcmMvZm9ybS1maWVsZC5wcm9wcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgVGVtcGxhdGVSZWYgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuaW1wb3J0IHsgRm9ybWx5RmllbGRQcm9wcyBhcyBDb3JlRm9ybWx5RmllbGRQcm9wcyB9IGZyb20gJ0BuZ3gtZm9ybWx5L2NvcmUnO1xyXG5pbXBvcnQgdHlwZSB7IEVtYmVkZGVkUHJvcGVydHkgfSBmcm9tICduZy16b3Jyby1hbnRkL2dyaWQnO1xyXG5pbXBvcnQgdHlwZSB7IE56Rm9ybVRvb2x0aXBJY29uIH0gZnJvbSAnbmctem9ycm8tYW50ZC9mb3JtJztcclxuaW1wb3J0IHR5cGUgeyBOelRTVHlwZSB9IGZyb20gJ25nLXpvcnJvLWFudGQvY29yZS90eXBlcyc7XHJcblxyXG4vKiogbnrooajljZXphY3nva7pobkgKi9cclxuZXhwb3J0IGludGVyZmFjZSBOekZvcm1XcmFwcGVyUHJvcHMgZXh0ZW5kcyBDb3JlRm9ybWx5RmllbGRQcm9wcyB7XHJc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9sU20/OiBzdHJpbmcgfCBudW1iZXIgfCBFbWJlZGRlZFByb3BlcnR5IHwgbnVsbDtcclxuICAgIC8qKiDiiaU3NjhweCDlk43lupTlvI/moIXmoLzvvIzlj6/kuLrmoIXmoLzmlbDmiJbkuIDkuKrljIXlkKvlhbbku5blsZ7mgKfnmoTlr7nosaEgKi9cclxuICAgIGNvbnRyb2xNZD86IHN0cmluZyB8IG51bWJlciB8IEVtYmVkZGVkUHJvcGVydHkgfCBudWxsO1xyXG4gICAgLyoqIOKJpTk5MnB4IOWTjeW6lOW8j+agheagvO+8jOWPr+S4uuagheagvOaVsOaIluS4gOS4quWMheWQq+WFtuS7luWxnuaAp+eahOWvueixoSAqL1xyXG4gICAgY29udHJvbExnPzogc3RyaW5nIHwgbnVtYmVyIHwgRW1iZWRkZWRQcm9wZXJ0eSB8IG51bGw7XHJcbiAgICAvKiog4omlMTIwMHB4IOWTjeW6lOW8j+agheagvO+8jOWPr+S4uuagheagvOaVsOaIluS4gOS4quWMheWQq+WFtuS7luWxnuaAp+eahOWvueixoSAqL1xyXG4gICAgY29udHJvbFhsPzogc3RyaW5nIHwgbnVtYmVyIHwgRW1iZWRkZWRQcm9wZXJ0eSB8IG51bGw7XHJcbiAgICAvKiog4omlMTYwMHB4IOWTjeW6lOW8j+agheagvO+8jOWPr+S4uuagheagvOaVsOaIluS4gOS4quWMheWQq+WFtuS7luWxnuaAp+eahOWvueixoSAqL1xyXG4gICAgY29udHJvbFhYbD86IHN0cmluZyB8IG51bWJlciB8IEVtYmVkZGVkUHJvcGVydHkgfCBudWxsO1xyXG4gIH07XHJcbn1cclxuIl19
|
@@ -12,7 +12,7 @@ export class FormlyWrapperFormField extends FieldWrapper {
|
|
12
12
|
}
|
13
13
|
FormlyWrapperFormField.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyWrapperFormField, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
14
14
|
FormlyWrapperFormField.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormlyWrapperFormField, selector: "formly-wrapper-nz-form-field", usesInheritance: true, ngImport: i0, template: `
|
15
|
-
<nz-form-item>
|
15
|
+
<nz-form-item [ngClass]="props.itemClass!">
|
16
16
|
<ng-container *ngIf="props.label && props['hideLabel'] !== true">
|
17
17
|
<nz-form-label
|
18
18
|
[nzFlex]="props['grid']?.labelFlex ?? null"
|
@@ -30,6 +30,9 @@ FormlyWrapperFormField.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
30
30
|
[ngClass]="props.labelClass!"
|
31
31
|
[nzRequired]="props.required && props['hideRequiredMarker'] !== true"
|
32
32
|
[nzFor]="id"
|
33
|
+
[nzNoColon]="props['noColon']!!"
|
34
|
+
[nzTooltipTitle]="props['tooltipTitle']"
|
35
|
+
[nzTooltipIcon]="props['tooltipIcon']!"
|
33
36
|
>
|
34
37
|
<span class="formly-label-text">
|
35
38
|
{{ props.label }}
|
@@ -38,6 +41,8 @@ FormlyWrapperFormField.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
38
41
|
</ng-container>
|
39
42
|
<nz-form-control
|
40
43
|
[nzValidateStatus]="errorState"
|
44
|
+
[nzHasFeedback]="props['hasFeedback']!!"
|
45
|
+
[nzExtra]="props['controlExtra']"
|
41
46
|
[nzErrorTip]="errorTpl"
|
42
47
|
[ngClass]="props.controlClass!"
|
43
48
|
[nzFlex]="props['grid']?.controlFlex ?? null"
|
@@ -60,11 +65,11 @@ FormlyWrapperFormField.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
60
65
|
</ng-template>
|
61
66
|
</nz-form-control>
|
62
67
|
</nz-form-item>
|
63
|
-
`, isInline: true, styles: [":host .formly-label-text{overflow:hidden;text-overflow:ellipsis}\n"], components: [{ type: i1.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { type: i1.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon"], exportAs: ["nzFormLabel"] }, { type: i1.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { type: i2.ɵFormlyValidationMessage, selector: "formly-validation-message", inputs: ["field"] }], directives: [{ type: i3.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.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"] }
|
68
|
+
`, isInline: true, styles: [":host .formly-label-text{overflow:hidden;text-overflow:ellipsis}\n"], components: [{ type: i1.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { type: i1.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon"], exportAs: ["nzFormLabel"] }, { type: i1.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { type: i2.ɵFormlyValidationMessage, selector: "formly-validation-message", inputs: ["field"] }], directives: [{ type: i3.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.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"] }] });
|
64
69
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyWrapperFormField, decorators: [{
|
65
70
|
type: Component,
|
66
71
|
args: [{ selector: 'formly-wrapper-nz-form-field', template: `
|
67
|
-
<nz-form-item>
|
72
|
+
<nz-form-item [ngClass]="props.itemClass!">
|
68
73
|
<ng-container *ngIf="props.label && props['hideLabel'] !== true">
|
69
74
|
<nz-form-label
|
70
75
|
[nzFlex]="props['grid']?.labelFlex ?? null"
|
@@ -82,6 +87,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
82
87
|
[ngClass]="props.labelClass!"
|
83
88
|
[nzRequired]="props.required && props['hideRequiredMarker'] !== true"
|
84
89
|
[nzFor]="id"
|
90
|
+
[nzNoColon]="props['noColon']!!"
|
91
|
+
[nzTooltipTitle]="props['tooltipTitle']"
|
92
|
+
[nzTooltipIcon]="props['tooltipIcon']!"
|
85
93
|
>
|
86
94
|
<span class="formly-label-text">
|
87
95
|
{{ props.label }}
|
@@ -90,6 +98,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
90
98
|
</ng-container>
|
91
99
|
<nz-form-control
|
92
100
|
[nzValidateStatus]="errorState"
|
101
|
+
[nzHasFeedback]="props['hasFeedback']!!"
|
102
|
+
[nzExtra]="props['controlExtra']"
|
93
103
|
[nzErrorTip]="errorTpl"
|
94
104
|
[ngClass]="props.controlClass!"
|
95
105
|
[nzFlex]="props['grid']?.controlFlex ?? null"
|
@@ -114,4 +124,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
114
124
|
</nz-form-item>
|
115
125
|
`, styles: [":host .formly-label-text{overflow:hidden;text-overflow:ellipsis}\n"] }]
|
116
126
|
}] });
|
117
|
-
//# sourceMappingURL=data:application/json;base64,
|
127
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC53cmFwcGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC9mb3JtLWZpZWxkL3NyYy9mb3JtLWZpZWxkLndyYXBwZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMxQyxPQUFPLEVBQUUsWUFBWSxFQUFxQixNQUFNLGtCQUFrQixDQUFDOzs7Ozs7QUFnRW5FLE1BQU0sT0FBTyxzQkFBdUIsU0FBUSxZQUFpRDtJQUMzRixJQUFJLFVBQVU7UUFDWixPQUFPLElBQUksQ0FBQyxTQUFTLENBQUMsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxDQUFDLENBQUMsU0FBUyxDQUFDO0lBQzlDLENBQUM7O29IQUhVLHNCQUFzQjt3R0FBdEIsc0JBQXNCLDJGQXhEdkI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQXNEVDs0RkFFVSxzQkFBc0I7a0JBM0RsQyxTQUFTOytCQUNFLDhCQUE4QixZQUU5Qjs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0dBc0RUIiwic291cmNlc0NvbnRlbnQiOl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CJcclxuICAgICAgICAgIFtuelNwYW5dPVwicHJvcHNbJ2dyaWQnXT8ubGFiZWxTcGFuID8/IG51bGxcIlxyXG4gICAgICAgICAgW256WHNdPVwicHJvcHNbJ2dyaWQnXT8ubGFiZWxYcyA/PyBudWxsXCJcclxuICAgICAgICAgIFtuelNtXT1cInByb3BzWydncmlkJ10/LmxhYmVsU20gPz8gbnVsbFwiXHJcbiAgICAgICAgICBbbnpNZF09XCJwcm9wc1snZ3JpZCddPy5sYWJlbE1kID8/IG51bGxcIlxyXG4gICAgICAgICAgW256TGddPVwicHJvcHNbJ2dyaWQnXT8ubGFiZWxMZyA/PyBudWxsXCJcclxuICAgICAgICAgIFtuelhsXT1cInByb3BzWydncmlkJ10/LmxhYmVsWGwgPz8gbnVsbFwiXHJcbiAgICAgICAgICBbbnpYWGxdPVwicHJvcHNbJ2dyaWQnXT8ubGFiZWxYWGwgPz8gbnVsbFwiXHJcbiAgICAgICAgICBbbmdDbGFzc109XCJwcm9wcy5sYWJlbENsYXNzIVwiXHJcbiAgICAgICAgICBbbnpSZXF1aXJlZF09XCJwcm9wcy5yZXF1aXJlZCAmJiBwcm9wc1snaGlkZVJlcXVpcmVkTWFya2VyJ10gIT09IHRydWVcIlxyXG4gICAgICAgICAgW256Rm9yXT1cImlkXCJcclxuICAgICAgICAgIFtuek5vQ29sb25dPVwicHJvcHNbJ25vQ29sb24nXSEhXCJcclxuICAgICAgICAgIFtuelRvb2x0aXBUaXRsZV09XCJwcm9wc1sndG9vbHRpcFRpdGxlJ11cIlxyXG4gICAgICAgICAgW256VG9vbHRpcEljb25dPVwicHJvcHNbJ3Rvb2x0aXBJY29uJ10hXCJcclxuICAgICAgICA+XHJcbiAgICAgICAgICA8c3BhbiBjbGFzcz1cImZvcm1seS1sYWJlbC10ZXh0XCI+XHJcbiAgICAgICAgICAgIHt7IHByb3BzLmxhYmVsIH19XHJcbiAgICAgICAgICA8L3NwYW4+XHJcbiAgICAgICAgPC9uei1mb3JtLWxhYmVsPlxyXG4gICAgICA8L25nLWNvbnRhaW5lcj5cclxuICAgICAgPG56LWZvcm0tY29udHJvbFxyXG4gICAgICAgIFtuelZhbGlkYXRlU3RhdHVzXT1cImVycm9yU3RhdGVcIlxyXG4gICAgICAgIFtuekhhc0ZlZWRiYWNrXT1cInByb3BzWydoYXNGZWVkYmFjayddISFcIlxyXG4gICAgICAgIFtuekV4dHJhXT1cInByb3BzWydjb250cm9sRXh0cmEnXVwiXHJcbiAgICAgICAgW256RXJyb3JUaXBdPVwiZXJyb3JUcGxcIlxyXG4gICAgICAgIFtuZ0NsYXNzXT1cInByb3BzLmNvbnRyb2xDbGFzcyFcIlxyXG4gICAgICAgIFtuekZsZXhdPVwicHJvcHNbJ2dyaWQnXT8uY29udHJvbEZsZXggPz8gbnVsbFwiXHJcbiAgICAgICAgW256T2Zmc2V0XT1cInByb3BzWydncmlkJ10/LmNvbnRyb2xPZmZzZXQgPz8gbnVsbFwiXHJcbiAgICAgICAgW256T3JkZXJdPVwicHJvcHNbJ2dyaWQnXT8uY29udHJvbE9yZGVyID8/IG51bGxcIlxyXG4gICAgICAgIFtuelB1bGxdPVwicHJvcHNbJ2dyaWQnXT8uY29udHJvbFB1bGwgPz8gbnVsbFwiXHJcbiAgICAgICAgW256UHVzaF09XCJwcm9wc1snZ3JpZCddPy5jb250cm9sUHVzaCA/PyBudWxsXCJcclxuICAgICAgICBbbnpTcGFuXT1cInByb3BzWydncmlkJ10/LmNvbnRyb2xTcGFuID8/IG51bGxcIlxyXG4gICAgICAgIFtuelhzXT1cInByb3BzWydncmlkJ10/LmNvbnRyb2xYcyA/PyBudWxsXCJcclxuICAgICAgICBbbnpTbV09XCJwcm9wc1snZ3JpZCddPy5jb250cm9sU20gPz8gbnVsbFwiXHJcbiAgICAgICAgW256TWRdPVwicHJvcHNbJ2dyaWQnXT8uY29udHJvbE1kID8/IG51bGxcIlxyXG4gICAgICAgIFtuekxnXT1cInByb3BzWydncmlkJ10/LmNvbnRyb2xMZyA/PyBudWxsXCJcclxuICAgICAgICBbbnpYbF09XCJwcm9wc1snZ3JpZCddPy5jb250cm9sWGwgPz8gbnVsbFwiXHJcbiAgICAgICAgW256WFhsXT1cInByb3BzWydncmlkJ10/LmNvbnRyb2xYWGwgPz8gbnVsbFwiXHJcbiAgICAgID5cclxuICAgICAgICA8bmctY29udGFpbmVyICNmaWVsZENvbXBvbmVudD48L25nLWNvbnRhaW5lcj5cclxuXHJcbiAgICAgICAgPG5nLXRlbXBsYXRlICNlcnJvclRwbCBsZXQtY29udHJvbD5cclxuICAgICAgICAgIDxmb3JtbHktdmFsaWRhdGlvbi1tZXNzYWdlIFtmaWVsZF09XCJmaWVsZFwiPjwvZm9ybWx5LXZhbGlkYXRpb24tbWVzc2FnZT5cclxuICAgICAgICA8L25nLXRlbXBsYXRlPlxyXG4gICAgICA8L256LWZvcm0tY29udHJvbD5cclxuICAgIDwvbnotZm9ybS1pdGVtPlxyXG4gIGBcclxufSlcclxuZXhwb3J0IGNsYXNzIEZvcm1seVdyYXBwZXJGb3JtRmllbGQgZXh0ZW5kcyBGaWVsZFdyYXBwZXI8Rm9ybWx5RmllbGRDb25maWc8Rm9ybWx5RmllbGRQcm9wcz4+IHtcclxuICBnZXQgZXJyb3JTdGF0ZSgpIHtcclxuICAgIHJldHVybiB0aGlzLnNob3dFcnJvciA/ICdlcnJvcicgOiAnc3VjY2Vzcyc7XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
@@ -0,0 +1,43 @@
|
|
1
|
+
import { NgModule } from '@angular/core';
|
2
|
+
import { CommonModule } from '@angular/common';
|
3
|
+
import { FormlyModule } from '@ngx-formly/core';
|
4
|
+
import { FormlyFieldGrid } from './grid.type';
|
5
|
+
import { NzGridModule } from 'ng-zorro-antd/grid';
|
6
|
+
import * as i0 from "@angular/core";
|
7
|
+
import * as i1 from "@ngx-formly/core";
|
8
|
+
export class FormlyNzGridModule {
|
9
|
+
}
|
10
|
+
FormlyNzGridModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzGridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
11
|
+
FormlyNzGridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzGridModule, declarations: [FormlyFieldGrid], imports: [CommonModule,
|
12
|
+
NzGridModule, i1.FormlyModule] });
|
13
|
+
FormlyNzGridModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzGridModule, imports: [[
|
14
|
+
CommonModule,
|
15
|
+
NzGridModule,
|
16
|
+
FormlyModule.forChild({
|
17
|
+
types: [
|
18
|
+
{
|
19
|
+
name: 'grid',
|
20
|
+
component: FormlyFieldGrid
|
21
|
+
}
|
22
|
+
]
|
23
|
+
})
|
24
|
+
]] });
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzGridModule, decorators: [{
|
26
|
+
type: NgModule,
|
27
|
+
args: [{
|
28
|
+
declarations: [FormlyFieldGrid],
|
29
|
+
imports: [
|
30
|
+
CommonModule,
|
31
|
+
NzGridModule,
|
32
|
+
FormlyModule.forChild({
|
33
|
+
types: [
|
34
|
+
{
|
35
|
+
name: 'grid',
|
36
|
+
component: FormlyFieldGrid
|
37
|
+
}
|
38
|
+
]
|
39
|
+
})
|
40
|
+
]
|
41
|
+
}]
|
42
|
+
}] });
|
43
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JpZC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL2dyaWQvc3JjL2dyaWQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFR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TnpBbGlnbiB8IG51bGw7XHJcbiAgLyoqXHJcbiAgICog5qCF5qC86Ze06ZqU77yM5Y+v5Lul5YaZ5oiQ5YOP57Sg5YC85oiW5pSv5oyB5ZON5bqU5byP55qE5a+56LGh5YaZ5rOV5p2l6K6+572u5rC05bmz6Ze06ZqUIHsgeHM6IDgsIHNtOiAxNiwgbWQ6IDI0feOAglxyXG4gICAqIOaIluiAheS9v+eUqOaVsOe7hOW9ouW8j+WQjOaXtuiuvue9riBb5rC05bmz6Ze06LedLCDlnoLnm7Tpl7Tot51d44CCXHJcbiAgICovXHJcbiAgZ3V0dGVyPzpcclxuICAgIHwgc3RyaW5nXHJcbiAgICB8IG51bWJlclxyXG4gICAgfCBJbmRleGFibGVPYmplY3RcclxuICAgIHwgW251bWJlciwgbnVtYmVyXVxyXG4gICAgfCBbSW5kZXhhYmxlT2JqZWN0LCBJbmRleGFibGVPYmplY3RdXHJcbiAgICB8IG51bGw7XHJcbiAgLyoqXHJcbiAgICog5rC05bmz5o6S5YiX5pa55byPXHJcbiAgICovXHJcbiAganVzdGlmeT86IE56SnVzdGlmeSB8IG51bGw7XHJcbn1cclxuIl19
|
@@ -0,0 +1,71 @@
|
|
1
|
+
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
2
|
+
import { FieldType } from '@ngx-formly/core';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
import * as i1 from "@ngx-formly/core";
|
5
|
+
import * as i2 from "ng-zorro-antd/grid";
|
6
|
+
import * as i3 from "@angular/common";
|
7
|
+
export class FormlyFieldGrid extends FieldType {
|
8
|
+
}
|
9
|
+
FormlyFieldGrid.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldGrid, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
10
|
+
FormlyFieldGrid.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormlyFieldGrid, selector: "formly-field-grid", usesInheritance: true, ngImport: i0, template: `
|
11
|
+
<div
|
12
|
+
nz-row
|
13
|
+
[nzAlign]="props.align ?? null"
|
14
|
+
[nzGutter]="props.gutter ?? null"
|
15
|
+
[nzJustify]="props.justify ?? null"
|
16
|
+
[formlyAttributes]="field"
|
17
|
+
>
|
18
|
+
<formly-field
|
19
|
+
*ngFor="let item of field.fieldGroup"
|
20
|
+
[field]="item"
|
21
|
+
nz-col
|
22
|
+
[nzFlex]="item.props?.['grid']?.['flex'] || props.flex"
|
23
|
+
[nzOffset]="item.props?.['grid']?.['offset'] || props.offset"
|
24
|
+
[nzOrder]="item.props?.['grid']?.['order'] || props.order"
|
25
|
+
[nzPull]="item.props?.['grid']?.['pull'] || props.pull"
|
26
|
+
[nzPush]="item.props?.['grid']?.['push'] || props.push"
|
27
|
+
[nzSpan]="item.props?.['grid']?.['span'] || props.span"
|
28
|
+
[nzXs]="item.props?.['grid']?.['xs'] || props.xs"
|
29
|
+
[nzSm]="item.props?.['grid']?.['sm'] || props.sm"
|
30
|
+
[nzMd]="item.props?.['grid']?.['md'] || props.md"
|
31
|
+
[nzLg]="item.props?.['grid']?.['lg'] || props.lg"
|
32
|
+
[nzXl]="item.props?.['grid']?.['xl'] || props.xl"
|
33
|
+
[nzXXl]="item.props?.['grid']?.['xxl'] || props.xxl"
|
34
|
+
></formly-field>
|
35
|
+
</div>
|
36
|
+
`, 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 });
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldGrid, decorators: [{
|
38
|
+
type: Component,
|
39
|
+
args: [{
|
40
|
+
selector: 'formly-field-grid',
|
41
|
+
template: `
|
42
|
+
<div
|
43
|
+
nz-row
|
44
|
+
[nzAlign]="props.align ?? null"
|
45
|
+
[nzGutter]="props.gutter ?? null"
|
46
|
+
[nzJustify]="props.justify ?? null"
|
47
|
+
[formlyAttributes]="field"
|
48
|
+
>
|
49
|
+
<formly-field
|
50
|
+
*ngFor="let item of field.fieldGroup"
|
51
|
+
[field]="item"
|
52
|
+
nz-col
|
53
|
+
[nzFlex]="item.props?.['grid']?.['flex'] || props.flex"
|
54
|
+
[nzOffset]="item.props?.['grid']?.['offset'] || props.offset"
|
55
|
+
[nzOrder]="item.props?.['grid']?.['order'] || props.order"
|
56
|
+
[nzPull]="item.props?.['grid']?.['pull'] || props.pull"
|
57
|
+
[nzPush]="item.props?.['grid']?.['push'] || props.push"
|
58
|
+
[nzSpan]="item.props?.['grid']?.['span'] || props.span"
|
59
|
+
[nzXs]="item.props?.['grid']?.['xs'] || props.xs"
|
60
|
+
[nzSm]="item.props?.['grid']?.['sm'] || props.sm"
|
61
|
+
[nzMd]="item.props?.['grid']?.['md'] || props.md"
|
62
|
+
[nzLg]="item.props?.['grid']?.['lg'] || props.lg"
|
63
|
+
[nzXl]="item.props?.['grid']?.['xl'] || props.xl"
|
64
|
+
[nzXXl]="item.props?.['grid']?.['xxl'] || props.xxl"
|
65
|
+
></formly-field>
|
66
|
+
</div>
|
67
|
+
`,
|
68
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
69
|
+
}]
|
70
|
+
}] });
|
71
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJza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Bhbl09XCJpdGVtLnByb3BzPy5bJ2dyaWQnXT8uWydzcGFuJ10gfHwgcHJvcHMuc3BhblwiXHJcbiAgICAgICAgW256WHNdPVwiaXRlbS5wcm9wcz8uWydncmlkJ10/LlsneHMnXSB8fCBwcm9wcy54c1wiXHJcbiAgICAgICAgW256U21dPVwiaXRlbS5wcm9wcz8uWydncmlkJ10/Llsnc20nXSB8fCBwcm9wcy5zbVwiXHJcbiAgICAgICAgW256TWRdPVwiaXRlbS5wcm9wcz8uWydncmlkJ10/LlsnbWQnXSB8fCBwcm9wcy5tZFwiXHJcbiAgICAgICAgW256TGddPVwiaXRlbS5wcm9wcz8uWydncmlkJ10/LlsnbGcnXSB8fCBwcm9wcy5sZ1wiXHJcbiAgICAgICAgW256WGxdPVwiaXRlbS5wcm9wcz8uWydncmlkJ10/LlsneGwnXSB8fCBwcm9wcy54bFwiXHJcbiAgICAgICAgW256WFhsXT1cIml0ZW0ucHJvcHM/LlsnZ3JpZCddPy5bJ3h4bCddIHx8IHByb3BzLnh4bFwiXHJcbiAgICAgID48L2Zvcm1seS1maWVsZD5cclxuICAgIDwvZGl2PlxyXG4gIGAsXHJcbiAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2hcclxufSlcclxuZXhwb3J0IGNsYXNzIEZvcm1seUZpZWxkR3JpZCBleHRlbmRzIEZpZWxkVHlwZTxGaWVsZFR5cGVDb25maWc8R3JpZFByb3BzPj4ge31cclxuIl19
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
export * from './public_api';
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWZvcm1seS16b3Jyby1hbnRkLWdyaWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL2dyaWQvc3JjL25neC1mb3JtbHktem9ycm8tYW50ZC1ncmlkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0=
|
@@ -0,0 +1,3 @@
|
|
1
|
+
export { FormlyNzGridModule } from './grid.module';
|
2
|
+
export { FormlyFieldGrid } from './grid.type';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvZ3JpZC9zcmMvcHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkQsT0FBTyxFQUFFLGVBQWUsRUFBeUIsTUFBTSxhQUFhLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBGb3JtbHlOekdyaWRNb2R1bGUgfSBmcm9tICcuL2dyaWQubW9kdWxlJztcclxuZXhwb3J0IHsgRm9ybWx5RmllbGRHcmlkLCBGb3JtbHlHcmlkRmllbGRDb25maWcgfSBmcm9tICcuL2dyaWQudHlwZSc7XHJcbmV4cG9ydCB7IEdyaWRDb2xQcm9wcyB9IGZyb20gJy4vZ3JpZC5wcm9wcyc7XHJcbiJdfQ==
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJz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