ngx-formly-zorro-antd 16.0.0 → 16.1.1
Sign up to get free protection for your applications and to get access to all the features.
- package/card/card.module.d.ts +4 -3
- package/card/card.type.d.ts +36 -0
- package/card/public_api.d.ts +1 -1
- package/card-wrapper/card-wrapper.module.d.ts +11 -0
- package/{card/card.wrapper.d.ts → card-wrapper/card-wrapper.props.d.ts} +10 -12
- package/card-wrapper/card.wrapper.d.ts +23 -0
- package/card-wrapper/index.d.ts +5 -0
- package/card-wrapper/public_api.d.ts +3 -0
- package/common/common.module.d.ts +9 -0
- package/common/formly-box-templates.directive.d.ts +46 -0
- package/common/formly-utils.d.ts +24 -0
- package/common/index.d.ts +5 -0
- package/common/public_api.d.ts +3 -0
- package/esm2022/button/button.module.mjs +6 -7
- package/esm2022/button/button.type.mjs +5 -6
- package/esm2022/card/card.module.mjs +20 -17
- package/esm2022/card/card.type.mjs +93 -0
- package/esm2022/card/public_api.mjs +2 -2
- package/esm2022/card-wrapper/card-wrapper.module.mjs +45 -0
- package/esm2022/card-wrapper/card-wrapper.props.mjs +2 -0
- package/esm2022/card-wrapper/card.wrapper.mjs +77 -0
- package/esm2022/card-wrapper/ngx-formly-zorro-antd-card-wrapper.mjs +5 -0
- package/esm2022/card-wrapper/public_api.mjs +3 -0
- package/esm2022/cascader/cascader.module.mjs +6 -7
- package/esm2022/cascader/cascader.type.mjs +5 -8
- package/esm2022/checkbox/checkbox.module.mjs +6 -7
- package/esm2022/checkbox/checkbox.type.mjs +5 -6
- package/esm2022/common/common.module.mjs +19 -0
- package/esm2022/common/formly-box-templates.directive.mjs +106 -0
- package/esm2022/common/formly-utils.mjs +46 -0
- package/esm2022/common/ngx-formly-zorro-antd-common.mjs +5 -0
- package/esm2022/common/public_api.mjs +4 -0
- package/esm2022/datepicker/datepicker.module.mjs +6 -7
- package/esm2022/datepicker/datepicker.type.mjs +5 -6
- package/esm2022/extension/ngx-formly-zorro-antd-extension.mjs +5 -0
- package/esm2022/extension/public_api.mjs +2 -0
- package/esm2022/extension/value-changes-extension.mjs +31 -0
- package/esm2022/form-field/form-field.module.mjs +6 -7
- package/esm2022/form-field/form-field.props.mjs +1 -1
- package/esm2022/form-field/form-field.wrapper.mjs +10 -7
- package/esm2022/grid/grid.module.mjs +6 -7
- package/esm2022/grid/grid.props.mjs +1 -1
- package/esm2022/grid/grid.type.mjs +5 -6
- package/esm2022/input/input.module.mjs +6 -7
- package/esm2022/input/input.type.mjs +7 -8
- package/esm2022/input-group/input-group.module.mjs +6 -7
- package/esm2022/input-group/input-group.type.mjs +5 -6
- package/esm2022/input-number/input-number.module.mjs +6 -7
- package/esm2022/input-number/input-number.type.mjs +5 -6
- package/esm2022/lib/ui-ng-zorro-antd.module.mjs +21 -10
- package/esm2022/radio/radio.module.mjs +6 -7
- package/esm2022/radio/radio.type.mjs +5 -6
- package/esm2022/rate/rate.module.mjs +6 -7
- package/esm2022/rate/rate.type.mjs +5 -6
- package/esm2022/select/select.module.mjs +6 -7
- package/esm2022/select/select.type.mjs +11 -12
- package/esm2022/slider/slider.module.mjs +6 -7
- package/esm2022/slider/slider.type.mjs +5 -6
- package/esm2022/space/ngx-formly-zorro-antd-space.mjs +5 -0
- package/esm2022/space/public_api.mjs +3 -0
- package/esm2022/space/space.module.mjs +45 -0
- package/esm2022/space/space.type.mjs +63 -0
- package/esm2022/switch/switch.module.mjs +6 -7
- package/esm2022/switch/switch.type.mjs +5 -6
- package/esm2022/tabs/tabs.module.mjs +6 -7
- package/esm2022/tabs/tabs.wrapper.mjs +5 -6
- package/esm2022/textarea/textarea.module.mjs +6 -7
- package/esm2022/textarea/textarea.type.mjs +5 -6
- package/esm2022/timepicker/timepicker.module.mjs +6 -7
- package/esm2022/timepicker/timepicker.type.mjs +5 -6
- package/esm2022/transfer/transfer.component.mjs +5 -6
- package/esm2022/transfer/transfer.module.mjs +6 -7
- package/esm2022/transfer/transfer.type.mjs +5 -6
- package/esm2022/tree-select/tree-select.module.mjs +6 -7
- package/esm2022/tree-select/tree-select.type.mjs +5 -6
- package/esm2022/upload/upload.component.mjs +5 -6
- package/esm2022/upload/upload.module.mjs +10 -7
- package/esm2022/upload/upload.props.mjs +1 -1
- package/esm2022/upload/upload.type.mjs +28 -18
- package/extension/index.d.ts +5 -0
- package/extension/public_api.d.ts +1 -0
- package/extension/value-changes-extension.d.ts +23 -0
- package/fesm2022/ngx-formly-zorro-antd-button.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-button.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs +123 -0
- package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs.map +1 -0
- package/fesm2022/ngx-formly-zorro-antd-card.mjs +84 -35
- package/fesm2022/ngx-formly-zorro-antd-card.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-cascader.mjs +7 -9
- package/fesm2022/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-checkbox.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-common.mjs +174 -0
- package/fesm2022/ngx-formly-zorro-antd-common.mjs.map +1 -0
- package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-extension.mjs +37 -0
- package/fesm2022/ngx-formly-zorro-antd-extension.mjs.map +1 -0
- package/fesm2022/ngx-formly-zorro-antd-form-field.mjs +12 -8
- package/fesm2022/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-grid.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-grid.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-input-group.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-input-number.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-input.mjs +9 -9
- package/fesm2022/ngx-formly-zorro-antd-input.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-radio.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-radio.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-rate.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-rate.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-select.mjs +13 -13
- package/fesm2022/ngx-formly-zorro-antd-select.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-slider.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-slider.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-space.mjs +109 -0
- package/fesm2022/ngx-formly-zorro-antd-space.mjs.map +1 -0
- package/fesm2022/ngx-formly-zorro-antd-switch.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-switch.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-tabs.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-textarea.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-timepicker.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-transfer.mjs +10 -10
- package/fesm2022/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs +7 -7
- package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-upload.mjs +36 -22
- package/fesm2022/ngx-formly-zorro-antd-upload.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd.mjs +19 -7
- package/fesm2022/ngx-formly-zorro-antd.mjs.map +1 -1
- package/form-field/form-field.props.d.ts +12 -3
- package/grid/grid.props.d.ts +15 -13
- package/lib/ui-ng-zorro-antd.module.d.ts +24 -21
- package/package.json +59 -34
- package/space/index.d.ts +5 -0
- package/space/public_api.d.ts +2 -0
- package/space/space.module.d.ts +11 -0
- package/space/space.type.d.ts +50 -0
- package/upload/upload.module.d.ts +6 -5
- package/upload/upload.props.d.ts +2 -0
- package/upload/upload.type.d.ts +6 -1
- package/esm2022/card/card.wrapper.mjs +0 -48
@@ -0,0 +1,77 @@
|
|
1
|
+
import { Component, Optional, ChangeDetectionStrategy } from '@angular/core';
|
2
|
+
import { FieldWrapper } from '@ngx-formly/core';
|
3
|
+
import { FormlyBoxTemplates, resolveTplName, resolveTplNameArray } from 'ngx-formly-zorro-antd/common';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
import * as i1 from "ngx-formly-zorro-antd/common";
|
6
|
+
import * as i2 from "ng-zorro-antd/card";
|
7
|
+
import * as i3 from "@ngx-formly/core";
|
8
|
+
export class FormlyWrapperCard extends FieldWrapper {
|
9
|
+
constructor(fieldTemplates) {
|
10
|
+
super();
|
11
|
+
this.fieldTemplates = fieldTemplates;
|
12
|
+
this.defaultOptions = {
|
13
|
+
props: {
|
14
|
+
bordered: true
|
15
|
+
}
|
16
|
+
};
|
17
|
+
}
|
18
|
+
get nzTitle() {
|
19
|
+
return resolveTplName(this.props, this.fieldTemplates, 'title');
|
20
|
+
}
|
21
|
+
get nzCover() {
|
22
|
+
return resolveTplName(this.props, this.fieldTemplates, 'cover');
|
23
|
+
}
|
24
|
+
get nzExtra() {
|
25
|
+
return resolveTplName(this.props, this.fieldTemplates, 'extra');
|
26
|
+
}
|
27
|
+
get nzActions() {
|
28
|
+
return resolveTplNameArray(this.props, this.fieldTemplates, 'actions') || [];
|
29
|
+
}
|
30
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyWrapperCard, deps: [{ token: i1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
31
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: FormlyWrapperCard, selector: "formly-wrapper-card", usesInheritance: true, ngImport: i0, template: `
|
32
|
+
<nz-card
|
33
|
+
[nzActions]="nzActions"
|
34
|
+
[formlyAttributes]="field"
|
35
|
+
[nzBodyStyle]="props['bodyStyle'] ?? null"
|
36
|
+
[nzSize]="props['size']!"
|
37
|
+
[nzBorderless]="props['borderless']!!"
|
38
|
+
[nzCover]="nzCover"
|
39
|
+
[nzExtra]="nzExtra"
|
40
|
+
[nzHoverable]="props['hoverable']!!"
|
41
|
+
[nzLoading]="props['loading']!!"
|
42
|
+
[nzTitle]="nzTitle"
|
43
|
+
[nzBordered]="props['bordered']!!"
|
44
|
+
[nzType]="props['type'] ?? null"
|
45
|
+
>
|
46
|
+
<ng-container #fieldComponent></ng-container>
|
47
|
+
</nz-card>
|
48
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i2.NzCardComponent, selector: "nz-card", inputs: ["nzBordered", "nzBorderless", "nzLoading", "nzHoverable", "nzBodyStyle", "nzCover", "nzActions", "nzType", "nzSize", "nzTitle", "nzExtra"], exportAs: ["nzCard"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
49
|
+
}
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyWrapperCard, decorators: [{
|
51
|
+
type: Component,
|
52
|
+
args: [{
|
53
|
+
selector: 'formly-wrapper-card',
|
54
|
+
template: `
|
55
|
+
<nz-card
|
56
|
+
[nzActions]="nzActions"
|
57
|
+
[formlyAttributes]="field"
|
58
|
+
[nzBodyStyle]="props['bodyStyle'] ?? null"
|
59
|
+
[nzSize]="props['size']!"
|
60
|
+
[nzBorderless]="props['borderless']!!"
|
61
|
+
[nzCover]="nzCover"
|
62
|
+
[nzExtra]="nzExtra"
|
63
|
+
[nzHoverable]="props['hoverable']!!"
|
64
|
+
[nzLoading]="props['loading']!!"
|
65
|
+
[nzTitle]="nzTitle"
|
66
|
+
[nzBordered]="props['bordered']!!"
|
67
|
+
[nzType]="props['type'] ?? null"
|
68
|
+
>
|
69
|
+
<ng-container #fieldComponent></ng-container>
|
70
|
+
</nz-card>
|
71
|
+
`,
|
72
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
73
|
+
}]
|
74
|
+
}], ctorParameters: function () { return [{ type: i1.FormlyBoxTemplates, decorators: [{
|
75
|
+
type: Optional
|
76
|
+
}] }]; } });
|
77
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC53cmFwcGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC9jYXJkLXdyYXBwZXIvc3JjL2NhcmQud3JhcHBlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFRLFFBQVEsRUFBRSx1QkFBdUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNuRixPQUFPLEVBQUUsWUFBWSxFQUFxQixNQUFNLGtCQUFrQixDQUFDO0FBQ25FLE9BQU8sRUFDTCxrQkFBa0IsRUFDbEIsY0FBYyxFQUNkLG1CQUFtQixFQUNwQixNQUFNLDhCQUE4QixDQUFDOzs7OztBQThCdEMsTUFBTSxPQUFPLGlCQUFrQixTQUFRLFlBQWlEO0lBT3RGLFlBQStCLGNBQWtDO1FBQy9ELEtBQUssRUFBRSxDQUFDO1FBRHFCLG1CQUFjLEdBQWQsY0FBYyxDQUFvQjtRQU54RCxtQkFBYyxHQUFHO1lBQ3hCLEtBQUssRUFBRTtnQkFDTCxRQUFRLEVBQ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dXJuIHJlc29sdmVUcGxOYW1lQXJyYXkodGhpcy5wcm9wcywgdGhpcy5maWVsZFRlbXBsYXRlcywgJ2FjdGlvbnMnKSB8fCBbXTtcbiAgfVxufVxuIl19
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
export * from './public_api';
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWZvcm1seS16b3Jyby1hbnRkLWNhcmQtd3JhcHBlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvY2FyZC13cmFwcGVyL3NyYy9uZ3gtZm9ybWx5LXpvcnJvLWFudGQtY2FyZC13cmFwcGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0=
|
@@ -0,0 +1,3 @@
|
|
1
|
+
export { FormlyNzCardWrapperModule } from './card-wrapper.module';
|
2
|
+
export { FormlyWrapperCard } from './card.wrapper';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvY2FyZC13cmFwcGVyL3NyYy9wdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx5QkFBeUIsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQ2xFLE9BQU8sRUFBRSxpQkFBaUIsRUFBMkIsTUFBTSxnQkFBZ0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IEZvcm1seU56Q2FyZFdyYXBwZXJNb2R1bGUgfSBmcm9tICcuL2NhcmQtd3JhcHBlci5tb2R1bGUnO1xuZXhwb3J0IHsgRm9ybWx5V3JhcHBlckNhcmQsIEZvcm1seUNhcmRXcmFwcGVyQ29uZmlnIH0gZnJvbSAnLi9jYXJkLndyYXBwZXInO1xuZXhwb3J0IHsgQ2FyZFdyYXBwZXJQcm9wcyB9IGZyb20gJy4vY2FyZC13cmFwcGVyLnByb3BzJztcbiJdfQ==
|
@@ -7,13 +7,13 @@ import { NzCascaderModule } from 'ng-zorro-antd/cascader';
|
|
7
7
|
import { FormlyFieldCascader } from './cascader.type';
|
8
8
|
import * as i0 from "@angular/core";
|
9
9
|
import * as i1 from "@ngx-formly/core";
|
10
|
-
class FormlyNzCascaderModule {
|
11
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
12
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.
|
10
|
+
export class FormlyNzCascaderModule {
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzCascaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
12
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", 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.
|
16
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzCascaderModule, imports: [CommonModule,
|
17
17
|
ReactiveFormsModule,
|
18
18
|
FormlyNzFormFieldModule,
|
19
19
|
NzCascaderModule,
|
@@ -27,8 +27,7 @@ class FormlyNzCascaderModule {
|
|
27
27
|
]
|
28
28
|
})] }); }
|
29
29
|
}
|
30
|
-
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyNzCascaderModule, decorators: [{
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzCascaderModule, decorators: [{
|
32
31
|
type: NgModule,
|
33
32
|
args: [{
|
34
33
|
declarations: [FormlyFieldCascader],
|
@@ -49,4 +48,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImpor
|
|
49
48
|
]
|
50
49
|
}]
|
51
50
|
}] });
|
52
|
-
//# sourceMappingURL=data:application/json;base64,
|
51
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzY2FkZXIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC9jYXNjYWRlci9zcmMvY2FzY2FkZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUNoRCxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNyRCxPQUFPLEVBQ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5,7 +5,7 @@ import * as i1 from "@angular/common";
|
|
5
5
|
import * as i2 from "@angular/forms";
|
6
6
|
import * as i3 from "ng-zorro-antd/cascader";
|
7
7
|
import * as i4 from "@ngx-formly/core";
|
8
|
-
class FormlyFieldCascader extends FieldType {
|
8
|
+
export class FormlyFieldCascader extends FieldType {
|
9
9
|
constructor() {
|
10
10
|
super(...arguments);
|
11
11
|
this.defaultOptions = {
|
@@ -32,8 +32,8 @@ class FormlyFieldCascader extends FieldType {
|
|
32
32
|
this.props['cascaderOptions'] = this.props.options;
|
33
33
|
}
|
34
34
|
}
|
35
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
36
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
35
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyFieldCascader, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
36
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: FormlyFieldCascader, selector: "formly-field-cascader", usesInheritance: true, ngImport: i0, template: `<nz-cascader
|
37
37
|
#cascader
|
38
38
|
[nzPlaceHolder]="props.placeholder ?? ''"
|
39
39
|
[formControl]="formControl"
|
@@ -65,11 +65,9 @@ class FormlyFieldCascader extends FieldType {
|
|
65
65
|
(nzClear)="props['onClear'] && props['onClear'](field)"
|
66
66
|
(nzVisibleChange)="props['visibleChange'] && props['visibleChange'](field, $event)"
|
67
67
|
(nzSelectionChange)="props['selectionChange'] && props['selectionChange'](field, $event)"
|
68
|
-
(ngModelChange)="props.change && props.change(field, $event)"
|
69
68
|
></nz-cascader>`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.NzCascaderComponent, selector: "nz-cascader, [nz-cascader]", inputs: ["nzOptionRender", "nzShowInput", "nzShowArrow", "nzAllowClear", "nzAutoFocus", "nzChangeOnSelect", "nzDisabled", "nzColumnClassName", "nzExpandTrigger", "nzValueProperty", "nzLabelRender", "nzLabelProperty", "nzNotFoundContent", "nzSize", "nzBackdrop", "nzShowSearch", "nzPlaceHolder", "nzMenuClassName", "nzMenuStyle", "nzMouseEnterDelay", "nzMouseLeaveDelay", "nzStatus", "nzTriggerAction", "nzChangeOn", "nzLoadData", "nzSuffixIcon", "nzExpandIcon", "nzOptions"], outputs: ["nzVisibleChange", "nzSelectionChange", "nzSelect", "nzClear"], exportAs: ["nzCascader"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
70
69
|
}
|
71
|
-
|
72
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyFieldCascader, decorators: [{
|
70
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyFieldCascader, decorators: [{
|
73
71
|
type: Component,
|
74
72
|
args: [{
|
75
73
|
selector: 'formly-field-cascader',
|
@@ -105,9 +103,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImpor
|
|
105
103
|
(nzClear)="props['onClear'] && props['onClear'](field)"
|
106
104
|
(nzVisibleChange)="props['visibleChange'] && props['visibleChange'](field, $event)"
|
107
105
|
(nzSelectionChange)="props['selectionChange'] && props['selectionChange'](field, $event)"
|
108
|
-
(ngModelChange)="props.change && props.change(field, $event)"
|
109
106
|
></nz-cascader>`,
|
110
107
|
changeDetection: ChangeDetectionStrateg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HtcbiAgICBwcm9wczoge1xuICAgICAgcGxhY2Vob2xkZXI6ICfor7fpgInmi6knLFxuICAgICAgYWxsb3dDbGVhcjogdHJ1ZSxcbiAgICAgIGJhY2tkcm9wOiBmYWxzZSxcbiAgICAgIGNoYW5nZU9uU2VsZWN0OiBmYWxzZSxcbiAgICAgIGV4cGFuZFRyaWdnZXI6ICdjbGljaycgYXMgY29uc3QsXG4gICAgICBsYWJlbFByb3BlcnR5OiAnbGFiZWwnLFxuICAgICAgc2hvd0Fycm93OiB0cnVlLFxuICAgICAgc2hvd0lucHV0OiB0cnVlLFxuICAgICAgc2hvd1NlYXJjaDogZmFsc2UsXG4gICAgICBzaXplOiAnZGVmYXVsdCcgYXMgY29uc3QsXG4gICAgICBzdGF0dXM6ICcnIGFzIGNvbnN0LFxuICAgICAgdmFsdWVQcm9wZXJ0eTogJ3ZhbHVlJyxcbiAgICAgIGNhc2NhZGVyT3B0aW9uczogW11cbiAgICB9XG4gIH07XG4gIG5nT25Jbml0KCk6IHZvaWQge1xuICAgIGNvbnN0IG9wdGlvbnMgPSB0aGlzLnByb3BzWydjYXNjYWRlck9wdGlvbnMnXTtcbiAgICBpZiAoIW9wdGlvbnMgfHwgb3B0aW9ucy5sZW5ndGggPT09IDApIHtcbiAgICAgIHRoaXMucHJvcHNbJ2Nhc2NhZGVyT3B0aW9ucyddID0gdGhpcy5wcm9wcy5vcHRpb25zIGFzIE56U2FmZUFueTtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
|
@@ -7,13 +7,13 @@ import { NzCheckboxModule } from 'ng-zorro-antd/checkbox';
|
|
7
7
|
import { FormlyFieldCheckbox } from './checkbox.type';
|
8
8
|
import * as i0 from "@angular/core";
|
9
9
|
import * as i1 from "@ngx-formly/core";
|
10
|
-
class FormlyNzCheckboxModule {
|
11
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
12
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.
|
10
|
+
export class FormlyNzCheckboxModule {
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
12
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzCheckboxModule, declarations: [FormlyFieldCheckbox], imports: [CommonModule,
|
13
13
|
ReactiveFormsModule,
|
14
14
|
FormlyNzFormFieldModule,
|
15
15
|
NzCheckboxModule, i1.FormlyModule] }); }
|
16
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.
|
16
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzCheckboxModule, imports: [CommonModule,
|
17
17
|
ReactiveFormsModule,
|
18
18
|
FormlyNzFormFieldModule,
|
19
19
|
NzCheckboxModule,
|
@@ -31,8 +31,7 @@ class FormlyNzCheckboxModule {
|
|
31
31
|
]
|
32
32
|
})] }); }
|
33
33
|
}
|
34
|
-
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyNzCheckboxModule, decorators: [{
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzCheckboxModule, decorators: [{
|
36
35
|
type: NgModule,
|
37
36
|
args: [{
|
38
37
|
declarations: [FormlyFieldCheckbox],
|
@@ -57,4 +56,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImpor
|
|
57
56
|
]
|
58
57
|
}]
|
59
58
|
}] });
|
60
|
-
//# sourceMappingURL=data:application/json;base64,
|
59
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIj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vcm1seUZpZWxkQ2hlY2tib3ggfSBmcm9tICcuL2NoZWNrYm94LnR5cGUnO1xuXG5ATmdNb2R1bGUoe1xuICBkZWNsYXJhdGlvbnM6IFtGb3JtbHlGaWVsZENoZWNrYm94XSxcbiAgaW1wb3J0czogW1xuICAgIENvbW1vbk1vZHVsZSxcbiAgICBSZWFjdGl2ZUZvcm1zTW9kdWxlLFxuICAgIEZvcm1seU56Rm9ybUZpZWxkTW9kdWxlLFxuXG4gICAgTnpDaGVja2JveE1vZHVsZSxcblxuICAgIEZvcm1seU1vZHVsZS5mb3JDaGlsZCh7XG4gICAgICB0eXBlczogW1xuICAgICAgICB7XG4gICAgICAgICAgbmFtZTogJ2NoZWNrYm94JyxcbiAgICAgICAgICBjb21wb25lbnQ6IEZvcm1seUZpZWxkQ2hlY2tib3gsXG4gICAgICAgICAgd3JhcHBlcnM6IFsnZm9ybS1maWVsZCddXG4gICAgICAgIH0sXG4gICAgICAgIHtcbiAgICAgICAgICBuYW1lOiAnYm9vbGVhbicsXG4gICAgICAgICAgZXh0ZW5kczogJ2NoZWNrYm94J1xuICAgICAgICB9XG4gICAgICBdXG4gICAgfSlcbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBGb3JtbHlOekNoZWNrYm94TW9kdWxlIHt9XG4iXX0=
|
@@ -5,7 +5,7 @@ import * as i1 from "@angular/common";
|
|
5
5
|
import * as i2 from "@angular/forms";
|
6
6
|
import * as i3 from "ng-zorro-antd/checkbox";
|
7
7
|
import * as i4 from "@ngx-formly/core";
|
8
|
-
class FormlyFieldCheckbox extends FieldType {
|
8
|
+
export class FormlyFieldCheckbox extends FieldType {
|
9
9
|
constructor() {
|
10
10
|
super(...arguments);
|
11
11
|
this.defaultOptions = {
|
@@ -15,8 +15,8 @@ class FormlyFieldCheckbox extends FieldType {
|
|
15
15
|
}
|
16
16
|
};
|
17
17
|
}
|
18
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
19
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
18
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyFieldCheckbox, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
19
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: FormlyFieldCheckbox, selector: "formly-field-checkbox", usesInheritance: true, ngImport: i0, template: `
|
20
20
|
<label
|
21
21
|
*ngIf="props.type !== 'group'; else checkboxgroup"
|
22
22
|
[formControl]="formControl"
|
@@ -38,8 +38,7 @@ class FormlyFieldCheckbox extends FieldType {
|
|
38
38
|
</ng-template>
|
39
39
|
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.NzCheckboxComponent, selector: "[nz-checkbox]", inputs: ["nzValue", "nzAutoFocus", "nzDisabled", "nzIndeterminate", "nzChecked", "nzId"], outputs: ["nzCheckedChange"], exportAs: ["nzCheckbox"] }, { kind: "component", type: i3.NzCheckboxGroupComponent, selector: "nz-checkbox-group", inputs: ["nzDisabled"], exportAs: ["nzCheckboxGroup"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
40
40
|
}
|
41
|
-
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyFieldCheckbox, decorators: [{
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyFieldCheckbox, decorators: [{
|
43
42
|
type: Component,
|
44
43
|
args: [{
|
45
44
|
selector: 'formly-field-checkbox',
|
@@ -67,4 +66,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImpor
|
|
67
66
|
changeDetection: ChangeDetectionStrategy.OnPush
|
68
67
|
}]
|
69
68
|
}] });
|
70
|
-
//# sourceMappingURL=data:application/json;base64,
|
69
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3gudHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvY2hlY2tib3gvc3JjL2NoZWNrYm94LnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBUSx1QkFBdUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6RSxPQUFPLEVBQUUsU0FBUyxFQUFzQyxNQUFNLGtCQUFrQixDQUFDOzs7Ozs7QUFzRGpGLE1BQU0sT0FBTyxtQkFBb0IsU0FBUSxTQUF5QztJQXpCbEY7O1FBMEJXLG1CQUFjLEdBQUc7WUFDeEIsS0FBSyxFQUFFO2dCQUNMLGFBQWEsRUFBRSxLQUFLO2dCQUNwQixTQUFTLEVBQUUsSUFBSTthQUNoQjtTQUNGLENBQUM7S0FDSDs4R0FQWSxtQkFBbUI7a0dBQW5CLG1CQUFtQixvRkF2QnBCOzs7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQW9CVDs7MkZBR1UsbUJBQW1CO2tCQXpCL0IsU0FBUzttQkFBQztvQkFDVCxRQUFRLEVBQUUsdUJBQXVCO29CQUNqQyxRQUFRLEVBQUU7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0dBb0JUO29CQUNELGVBQWUsRUFBRSx1Qk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XRlZ3kuT25QdXNoXG59KVxuZXhwb3J0IGNsYXNzIEZvcm1seUZpZWxkQ2hlY2tib3ggZXh0ZW5kcyBGaWVsZFR5cGU8RmllbGRUeXBlQ29uZmlnPENoZWNrYm94UHJvcHM+PiB7XG4gIG92ZXJyaWRlIGRlZmF1bHRPcHRpb25zID0ge1xuICAgIHByb3BzOiB7XG4gICAgICBpbmRldGVybWluYXRlOiBmYWxzZSxcbiAgICAgIGhpZGVMYWJlbDogdHJ1ZVxuICAgIH1cbiAgfTtcbn1cbiJdfQ==
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { NgModule } from '@angular/core';
|
2
|
+
import { CommonModule } from '@angular/common';
|
3
|
+
import { FormlyBoxTemplates } from './formly-box-templates.directive';
|
4
|
+
import { NamedTemplate } from '@pkt/ng.core';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
const COMPONENT = [FormlyBoxTemplates, NamedTemplate];
|
7
|
+
export class FormlyCommonModule {
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
9
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: FormlyCommonModule, imports: [CommonModule, FormlyBoxTemplates, NamedTemplate], exports: [FormlyBoxTemplates, NamedTemplate] }); }
|
10
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyCommonModule, imports: [CommonModule] }); }
|
11
|
+
}
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyCommonModule, decorators: [{
|
13
|
+
type: NgModule,
|
14
|
+
args: [{
|
15
|
+
imports: [CommonModule, ...COMPONENT],
|
16
|
+
exports: COMPONENT
|
17
|
+
}]
|
18
|
+
}] });
|
19
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ib3gtdGVtcGxhdGVzLmRpcmVjdGl2ZSc7XG5pbXBvcnQgeyBOYW1lZFRlbXBsYXRlIH0gZnJvbSAnQHBrdC9uZy5jb3JlJztcblxuY29uc3QgQ09NUE9ORU5UID0gW0Zvcm1seUJveFRlbXBsYXRlcywgTmFtZWRUZW1wbGF0ZV07XG5cbkBOZ01vZHVsZSh7XG4gIGltcG9ydHM6IFtDb21tb25Nb2R1bGUsIC4uLkNPTVBPTkVOVF0sXG4gIGV4cG9ydHM6IENPTVBPTkVOVFxufSlcbmV4cG9ydCBjbGFzcyBGb3JtbHlDb21tb25Nb2R1bGUge31cbiJdfQ==
|
@@ -0,0 +1,106 @@
|
|
1
|
+
import { ContentChildren, Directive, EventEmitter, Input, Output, QueryList, TemplateRef } from '@angular/core';
|
2
|
+
import { NamedTemplate } from '@pkt/ng.core';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export class FormlyBoxTemplates {
|
5
|
+
constructor() {
|
6
|
+
this.tplMap = new Map();
|
7
|
+
this.templateChange = new EventEmitter();
|
8
|
+
}
|
9
|
+
get templates() {
|
10
|
+
return this.tplMap;
|
11
|
+
}
|
12
|
+
/**
|
13
|
+
* 根据模板名称获取TemplateRef
|
14
|
+
* @param templateName 模板名称
|
15
|
+
*/
|
16
|
+
get(templateName) {
|
17
|
+
return this.tplMap.get(templateName);
|
18
|
+
}
|
19
|
+
ngAfterContentInit() {
|
20
|
+
this.update();
|
21
|
+
this.namedTemplate.changes.subscribe(() => {
|
22
|
+
this.update();
|
23
|
+
});
|
24
|
+
}
|
25
|
+
update(emitChange = true) {
|
26
|
+
this.tplMap.clear();
|
27
|
+
this.mergeTemplate(this.tplMap, emitChange);
|
28
|
+
}
|
29
|
+
ngOnChanges(changes) {
|
30
|
+
if (changes.templateList && !changes.templateList.isFirstChange()) {
|
31
|
+
this.update();
|
32
|
+
}
|
33
|
+
}
|
34
|
+
/**
|
35
|
+
* 合并参数模板
|
36
|
+
* @param tplMap
|
37
|
+
* @param emitChange
|
38
|
+
*/
|
39
|
+
mergeTemplate(tplMap, emitChange = true) {
|
40
|
+
this.mergeTemplates(tplMap, this.templateList);
|
41
|
+
this.mergeQueryTemplate(tplMap, this.namedTemplate);
|
42
|
+
if (emitChange) {
|
43
|
+
this.templateChange.emit(tplMap);
|
44
|
+
}
|
45
|
+
}
|
46
|
+
/**
|
47
|
+
* 合并content 模板
|
48
|
+
* @param tplMap
|
49
|
+
* @param templateList
|
50
|
+
* @private
|
51
|
+
*/
|
52
|
+
mergeQueryTemplate(tplMap, templateList) {
|
53
|
+
if (templateList) {
|
54
|
+
templateList.forEach(v => {
|
55
|
+
tplMap.set(v.named, v.template);
|
56
|
+
});
|
57
|
+
}
|
58
|
+
}
|
59
|
+
/**
|
60
|
+
* 合并模板列表
|
61
|
+
* @param tplMap 模板Map
|
62
|
+
* @param templateList
|
63
|
+
*/
|
64
|
+
mergeTemplates(tplMap, templateList) {
|
65
|
+
if (!templateList) {
|
66
|
+
return;
|
67
|
+
}
|
68
|
+
if (templateList instanceof TemplateRef) {
|
69
|
+
const namedTpl = new NamedTemplate(templateList);
|
70
|
+
namedTpl.resolveName();
|
71
|
+
tplMap.set(namedTpl.named, namedTpl.template);
|
72
|
+
return;
|
73
|
+
}
|
74
|
+
templateList.forEach(v => {
|
75
|
+
if (v instanceof NamedTemplate) {
|
76
|
+
tplMap.set(v.named, v.template);
|
77
|
+
}
|
78
|
+
else {
|
79
|
+
const namedTpl = new NamedTemplate(v);
|
80
|
+
namedTpl.resolveName();
|
81
|
+
tplMap.set(namedTpl.named, namedTpl.template);
|
82
|
+
}
|
83
|
+
});
|
84
|
+
return;
|
85
|
+
}
|
86
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyBoxTemplates, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
87
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.5", type: FormlyBoxTemplates, isStandalone: true, selector: "[formly-box]", inputs: { templateList: ["formly-box", "templateList"] }, outputs: { templateChange: "templateChange" }, queries: [{ propertyName: "namedTemplate", predicate: NamedTemplate }], exportAs: ["FormlyBox"], usesOnChanges: true, ngImport: i0 }); }
|
88
|
+
}
|
89
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyBoxTemplates, decorators: [{
|
90
|
+
type: Directive,
|
91
|
+
args: [{
|
92
|
+
// eslint-disable-next-line @angular-eslint/directive-selector
|
93
|
+
selector: '[formly-box]',
|
94
|
+
standalone: true,
|
95
|
+
exportAs: 'FormlyBox'
|
96
|
+
}]
|
97
|
+
}], propDecorators: { templateList: [{
|
98
|
+
type: Input,
|
99
|
+
args: ['formly-box']
|
100
|
+
}], templateChange: [{
|
101
|
+
type: Output
|
102
|
+
}], namedTemplate: [{
|
103
|
+
type: ContentChildren,
|
104
|
+
args: [NamedTemplate]
|
105
|
+
}] } });
|
106
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWx5LWJveC10ZW1wbGF0ZXMuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC9jb21tb24vZm9ybWx5LWJveC10ZW1wbGF0ZXMuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFFTCxlQUFlLEVBQ2YsU0FBUyxFQUNULFlBQVksRUFDWixLQUFLLEVBRUwsTUFBTSxFQUNOLFNBQVMsRUFHVCxXQUFXLEVBQ1osTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLGNBQWMsQ0FBQzs7QUFTN0MsTUFBTSxPQUFPLGtCQUFrQjtJQU4vQjtRQU9VLFdBQU0sR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TGlzdCk7XG4gICAgICBuYW1lZFRwbC5yZXNvbHZlTmFtZSgpO1xuICAgICAgdHBsTWFwLnNldChuYW1lZFRwbC5uYW1lZCwgbmFtZWRUcGwudGVtcGxhdGUpO1xuICAgICAgcmV0dXJuO1xuICAgIH1cblxuICAgIHRlbXBsYXRlTGlzdC5mb3JFYWNoKHYgPT4ge1xuICAgICAgaWYgKHYgaW5zdGFuY2VvZiBOYW1lZFRlbXBsYXRlKSB7XG4gICAgICAgIHRwbE1hcC5zZXQodi5uYW1lZCwgdi50ZW1wbGF0ZSk7XG4gICAgICB9IGVsc2Uge1xuICAgICAgICBjb25zdCBuYW1lZFRwbCA9IG5ldyBOYW1lZFRlbXBsYXRlKHYpO1xuICAgICAgICBuYW1lZFRwbC5yZXNvbHZlTmFtZSgpO1xuICAgICAgICB0cGxNYXAuc2V0KG5hbWVkVHBsLm5hbWVkLCBuYW1lZFRwbC50ZW1wbGF0ZSk7XG4gICAgICB9XG4gICAgfSk7XG5cbiAgICByZXR1cm47XG4gIH1cbn1cblxuLyoqXG4gKiDmqKHmnb/liJfooahcbiAqL1xuZXhwb3J0IHR5cGUgVGVtcGxhdGVMaXN0ID1cbiAgfCBRdWVyeUxpc3Q8VGVtcGxhdGVSZWY8TnpTYWZlQW55Pj5cbiAgfCBRdWVyeUxpc3Q8TmFtZWRUZW1wbGF0ZTxOelNhZmVBbnk+PlxuICB8IE5hbWVkVGVtcGxhdGU8TnpTYWZlQW55PltdXG4gIHwgVGVtcGxhdGVSZWY8TnpTYWZlQW55PjtcbiJdfQ==
|
@@ -0,0 +1,46 @@
|
|
1
|
+
/**
|
2
|
+
* 根据属性名获取模板名称
|
3
|
+
* @param propName 属性名
|
4
|
+
*/
|
5
|
+
export function getTplName(propName) {
|
6
|
+
return `${propName}Name`;
|
7
|
+
}
|
8
|
+
/**
|
9
|
+
* 处理属性为模板类型, 根据模板名称处理成模板对象
|
10
|
+
* @param value 数据对象
|
11
|
+
* @param fieldTemplates 模板容器
|
12
|
+
* @param propName 属性名
|
13
|
+
* @param propTemplateName 模板属性名称
|
14
|
+
*/
|
15
|
+
export function resolveTplName(value, fieldTemplates, propName, propTemplateName) {
|
16
|
+
if (value[propName]) {
|
17
|
+
return value[propName];
|
18
|
+
}
|
19
|
+
if (!fieldTemplates) {
|
20
|
+
return undefined;
|
21
|
+
}
|
22
|
+
const tplName = propTemplateName || getTplName(propName);
|
23
|
+
return fieldTemplates.get(value[tplName]);
|
24
|
+
}
|
25
|
+
/**
|
26
|
+
* 处理属性为模板类型, 根据模板名称处理成模板对象列表
|
27
|
+
* @param value 数据对象
|
28
|
+
* @param fieldTemplates 模板容器
|
29
|
+
* @param propName 属性名
|
30
|
+
* @param propTemplateName 模板属性名称
|
31
|
+
*/
|
32
|
+
export function resolveTplNameArray(value, fieldTemplates, propName, propTemplateName) {
|
33
|
+
if (value[propName] != null) {
|
34
|
+
return value[propName];
|
35
|
+
}
|
36
|
+
if (!fieldTemplates) {
|
37
|
+
return [];
|
38
|
+
}
|
39
|
+
const tplName = propTemplateName || getTplName(propName);
|
40
|
+
const tplValue = value[tplName];
|
41
|
+
if (Array.isArray(tplValue)) {
|
42
|
+
return tplValue.map(key => fieldTemplates.get(key)).filter(tpl => tpl);
|
43
|
+
}
|
44
|
+
return [];
|
45
|
+
}
|
46
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWx5LXV0aWxzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC9jb21tb24vZm9ybWx5LXV0aWxzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUlBOzs7R0FHRztBQUNILE1BQU0sVUFBVSxVQUFVLENBQUMsUUFBZ0I7SUFDekMsT0FBTyxHQUFHLFFBQVEsTUFBTSxDQUFDO0FBQzNCLENBQUM7QUFFRDs7Ozs7O0dBTUc7QUFDSC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VzKSB7XG4gICAgcmV0dXJuIFtdO1xuICB9XG4gIGNvbnN0IHRwbE5hbWUgPSBwcm9wVGVtcGxhdGVOYW1lIHx8IGdldFRwbE5hbWUocHJvcE5hbWUpO1xuICBjb25zdCB0cGxWYWx1ZSA9IHZhbHVlW3RwbE5hbWVdO1xuICBpZiAoQXJyYXkuaXNBcnJheSh0cGxWYWx1ZSkpIHtcbiAgICByZXR1cm4gdHBsVmFsdWUubWFwKGtleSA9PiBmaWVsZFRlbXBsYXRlcy5nZXQoa2V5KSkuZmlsdGVyKHRwbCA9PiB0cGwpIGFzIFRlbXBsYXRlUmVmPFQ+W107XG4gIH1cbiAgcmV0dXJuIFtdO1xufVxuIl19
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
export * from './public_api';
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWZvcm1seS16b3Jyby1hbnRkLWNvbW1vbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvY29tbW9uL25neC1mb3JtbHktem9ycm8tYW50ZC1jb21tb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWNfYXBpJztcbiJdfQ==
|
@@ -0,0 +1,4 @@
|
|
1
|
+
export * from './formly-box-templates.directive';
|
2
|
+
export * from './common.module';
|
3
|
+
export * from './formly-utils';
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvY29tbW9uL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxrQ0FBa0MsQ0FBQztBQUNqRCxjQUFjLGlCQUFpQixDQUFDO0FBQ2hDLGNBQWMsZ0JBQWdCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2Zvcm1seS1ib3gtdGVtcGxhdGVzLmRpcmVjdGl2ZSc7XG5leHBvcnQgKiBmcm9tICcuL2NvbW1vbi5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9mb3JtbHktdXRpbHMnO1xuIl19
|
@@ -7,13 +7,13 @@ import { NzDatePickerModule } from 'ng-zorro-antd/date-picker';
|
|
7
7
|
import { FormlyFieldDatepicker } from './datepicker.type';
|
8
8
|
import * as i0 from "@angular/core";
|
9
9
|
import * as i1 from "@ngx-formly/core";
|
10
|
-
class FormlyNzDatepickerModule {
|
11
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
12
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.
|
10
|
+
export class FormlyNzDatepickerModule {
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzDatepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
12
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzDatepickerModule, declarations: [FormlyFieldDatepicker], imports: [CommonModule,
|
13
13
|
ReactiveFormsModule,
|
14
14
|
FormlyNzFormFieldModule,
|
15
15
|
NzDatePickerModule, i1.FormlyModule] }); }
|
16
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.
|
16
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzDatepickerModule, imports: [CommonModule,
|
17
17
|
ReactiveFormsModule,
|
18
18
|
FormlyNzFormFieldModule,
|
19
19
|
NzDatePickerModule,
|
@@ -27,8 +27,7 @@ class FormlyNzDatepickerModule {
|
|
27
27
|
]
|
28
28
|
})] }); }
|
29
29
|
}
|
30
|
-
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyNzDatepickerModule, decorators: [{
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzDatepickerModule, decorators: [{
|
32
31
|
type: NgModule,
|
33
32
|
args: [{
|
34
33
|
declarations: [FormlyFieldDatepicker],
|
@@ -49,4 +48,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImpor
|
|
49
48
|
]
|
50
49
|
}]
|
51
50
|
}] });
|
52
|
-
//# sourceMappingURL=data:application/json;base64,
|
51
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZXBpY2tlci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL2RhdGVwaWNrZXIvc3JjL2RhdGVwaWNrZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQkFBa0IsQ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