ngx-formly-zorro-antd 16.2.0 → 16.2.2
Sign up to get free protection for your applications and to get access to all the features.
- package/card-wrapper/card-wrapper.module.d.ts +2 -3
- package/cascader/cascader.module.d.ts +3 -4
- package/esm2022/card-wrapper/card-wrapper.module.mjs +2 -6
- package/esm2022/cascader/cascader.module.mjs +1 -5
- package/esm2022/form-field/form-field.module.mjs +2 -6
- package/esm2022/lib/ui-ng-zorro-antd.module.mjs +14 -14
- package/esm2022/select/select.type.mjs +1 -1
- package/esm2022/space/space.module.mjs +1 -5
- package/esm2022/tree-select/tree-select.module.mjs +1 -5
- package/esm2022/upload/upload.module.mjs +1 -5
- package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs +2 -5
- package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-cascader.mjs +2 -5
- package/fesm2022/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-form-field.mjs +3 -6
- package/fesm2022/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-select.mjs +1 -1
- package/fesm2022/ngx-formly-zorro-antd-select.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-space.mjs +1 -4
- package/fesm2022/ngx-formly-zorro-antd-space.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs +2 -5
- package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-upload.mjs +2 -5
- package/fesm2022/ngx-formly-zorro-antd-upload.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd.mjs +13 -13
- package/fesm2022/ngx-formly-zorro-antd.mjs.map +1 -1
- package/form-field/form-field.module.d.ts +3 -4
- package/lib/ui-ng-zorro-antd.module.d.ts +26 -26
- package/package.json +10 -11
- package/space/space.module.d.ts +3 -4
- package/tree-select/tree-select.module.d.ts +3 -4
- package/upload/upload.module.d.ts +5 -6
@@ -2,10 +2,9 @@ import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./card.wrapper";
|
3
3
|
import * as i2 from "@angular/common";
|
4
4
|
import * as i3 from "ng-zorro-antd/card";
|
5
|
-
import * as i4 from "ngx-formly
|
6
|
-
import * as i5 from "@ngx-formly/core";
|
5
|
+
import * as i4 from "@ngx-formly/core";
|
7
6
|
export declare class FormlyNzCardWrapperModule {
|
8
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNzCardWrapperModule, never>;
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNzCardWrapperModule, [typeof i1.FormlyWrapperCard], [typeof i2.CommonModule, typeof i3.NzCardModule, typeof i4.
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNzCardWrapperModule, [typeof i1.FormlyWrapperCard], [typeof i2.CommonModule, typeof i3.NzCardModule, typeof i4.FormlyModule], never>;
|
10
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNzCardWrapperModule>;
|
11
10
|
}
|
@@ -3,11 +3,10 @@ import * as i1 from "./cascader.type";
|
|
3
3
|
import * as i2 from "@angular/common";
|
4
4
|
import * as i3 from "@angular/forms";
|
5
5
|
import * as i4 from "ngx-formly-zorro-antd/form-field";
|
6
|
-
import * as i5 from "
|
7
|
-
import * as i6 from "
|
8
|
-
import * as i7 from "@ngx-formly/core";
|
6
|
+
import * as i5 from "ng-zorro-antd/cascader";
|
7
|
+
import * as i6 from "@ngx-formly/core";
|
9
8
|
export declare class FormlyNzCascaderModule {
|
10
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNzCascaderModule, never>;
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNzCascaderModule, [typeof i1.FormlyFieldCascader], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyNzFormFieldModule, typeof i5.
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNzCascaderModule, [typeof i1.FormlyFieldCascader], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyNzFormFieldModule, typeof i5.NzCascaderModule, typeof i6.FormlyModule], never>;
|
12
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNzCascaderModule>;
|
13
12
|
}
|
@@ -3,17 +3,14 @@ import { CommonModule } from '@angular/common';
|
|
3
3
|
import { FormlyModule } from '@ngx-formly/core';
|
4
4
|
import { FormlyWrapperCard } from './card.wrapper';
|
5
5
|
import { NzCardModule } from 'ng-zorro-antd/card';
|
6
|
-
import { FormlyCommonModule } from 'ngx-formly-zorro-antd/common';
|
7
6
|
import * as i0 from "@angular/core";
|
8
7
|
import * as i1 from "@ngx-formly/core";
|
9
8
|
export class FormlyNzCardWrapperModule {
|
10
9
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzCardWrapperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
11
10
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzCardWrapperModule, declarations: [FormlyWrapperCard], imports: [CommonModule,
|
12
|
-
NzCardModule,
|
13
|
-
FormlyCommonModule, i1.FormlyModule] }); }
|
11
|
+
NzCardModule, i1.FormlyModule] }); }
|
14
12
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzCardWrapperModule, imports: [CommonModule,
|
15
13
|
NzCardModule,
|
16
|
-
FormlyCommonModule,
|
17
14
|
FormlyModule.forChild({
|
18
15
|
wrappers: [
|
19
16
|
{
|
@@ -30,7 +27,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
30
27
|
imports: [
|
31
28
|
CommonModule,
|
32
29
|
NzCardModule,
|
33
|
-
FormlyCommonModule,
|
34
30
|
FormlyModule.forChild({
|
35
31
|
wrappers: [
|
36
32
|
{
|
@@ -42,4 +38,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
42
38
|
]
|
43
39
|
}]
|
44
40
|
}] });
|
45
|
-
//# sourceMappingURL=data:application/json;base64,
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC13cmFwcGVyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvY2FyZC13cmFwcGVyL3NyYy9jYXJkLXdyYXBwZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUVoRCxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNuRCxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sb0JBQW9CLENBQUM7OztBQWtCbEQsTUFBTSxPQUFPLHlCQUF5Qjs4R0FBekIseUJBQXlCOytHQUF6Qix5QkFBeUIsaUJBZnJCLGlCQUFpQixhQUU5QixZQUFZO1lBQ1osWUFBWTsrR0FZSCx5QkFBeUIsWUFibEMsWUFBWTtZQUNaLFlBQVk7WUFFWixZQUFZLENBQUMsUUFBUSxDQUFDO2dCQUNwQixRQUFRLEVBQUU7b0JBQ1I7d0JBQ0UsSUFBSSxFQUFFLGNBQWM7d0JBQ3BCLFNBQVMsRUFBRSxpQkFBaUI7cUJBQzdCO2lCQUNGO2FBQ0YsQ0FBQzs7MkZB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XJkV3JhcHBlck1vZHVsZSB7fVxuIl19
|
@@ -3,7 +3,6 @@ import { CommonModule } from '@angular/common';
|
|
3
3
|
import { FormlyModule } from '@ngx-formly/core';
|
4
4
|
import { ReactiveFormsModule } from '@angular/forms';
|
5
5
|
import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
|
6
|
-
import { FormlyCommonModule } from 'ngx-formly-zorro-antd/common';
|
7
6
|
import { NzCascaderModule } from 'ng-zorro-antd/cascader';
|
8
7
|
import { FormlyFieldCascader } from './cascader.type';
|
9
8
|
import * as i0 from "@angular/core";
|
@@ -13,12 +12,10 @@ export class FormlyNzCascaderModule {
|
|
13
12
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzCascaderModule, declarations: [FormlyFieldCascader], imports: [CommonModule,
|
14
13
|
ReactiveFormsModule,
|
15
14
|
FormlyNzFormFieldModule,
|
16
|
-
FormlyCommonModule,
|
17
15
|
NzCascaderModule, i1.FormlyModule] }); }
|
18
16
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzCascaderModule, imports: [CommonModule,
|
19
17
|
ReactiveFormsModule,
|
20
18
|
FormlyNzFormFieldModule,
|
21
|
-
FormlyCommonModule,
|
22
19
|
NzCascaderModule,
|
23
20
|
FormlyModule.forChild({
|
24
21
|
types: [
|
@@ -38,7 +35,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
38
35
|
CommonModule,
|
39
36
|
ReactiveFormsModule,
|
40
37
|
FormlyNzFormFieldModule,
|
41
|
-
FormlyCommonModule,
|
42
38
|
NzCascaderModule,
|
43
39
|
FormlyModule.forChild({
|
44
40
|
types: [
|
@@ -52,4 +48,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
52
48
|
]
|
53
49
|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bkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW0Zvcm1seUZpZWxkQ2FzY2FkZXJdLFxuICBpbXBvcnRzOiBbXG4gICAgQ29tbW9uTW9kdWxlLFxuICAgIFJlYWN0aXZlRm9ybXNNb2R1bGUsXG4gICAgRm9ybWx5TnpGb3JtRmllbGRNb2R1bGUsXG4gICAgTnpDYXNjYWRlck1vZHVsZSxcblxuICAgIEZvcm1seU1vZHVsZS5mb3JDaGlsZCh7XG4gICAgICB0eXBlczogW1xuICAgICAgICB7XG4gICAgICAgICAgbmFtZTogJ2Nhc2NhZGVyJyxcbiAgICAgICAgICBjb21wb25lbnQ6IEZvcm1seUZpZWxkQ2FzY2FkZXIsXG4gICAgICAgICAgd3JhcHBlcnM6IFsnZm9ybS1maWVsZCddXG4gICAgICAgIH1cbiAgICAgIF1cbiAgICB9KVxuICBdXG59KVxuZXhwb3J0IGNsYXNzIEZvcm1seU56Q2FzY2FkZXJNb2R1bGUge31cbiJdfQ==
|
@@ -1,8 +1,7 @@
|
|
1
1
|
import { NgModule } from '@angular/core';
|
2
2
|
import { CommonModule } from '@angular/common';
|
3
|
-
import { FormlyModule } from '@ngx-formly/core';
|
4
3
|
import { ReactiveFormsModule } from '@angular/forms';
|
5
|
-
import {
|
4
|
+
import { FormlyModule } from '@ngx-formly/core';
|
6
5
|
import { NzFormModule } from 'ng-zorro-antd/form';
|
7
6
|
import { FormlyWrapperFormField } from './form-field.wrapper';
|
8
7
|
import { NzOutletModule } from 'ng-zorro-antd/core/outlet';
|
@@ -13,12 +12,10 @@ export class FormlyNzFormFieldModule {
|
|
13
12
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzFormFieldModule, declarations: [FormlyWrapperFormField], imports: [CommonModule,
|
14
13
|
ReactiveFormsModule,
|
15
14
|
NzFormModule,
|
16
|
-
FormlyCommonModule,
|
17
15
|
NzOutletModule, i1.FormlyModule] }); }
|
18
16
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzFormFieldModule, imports: [CommonModule,
|
19
17
|
ReactiveFormsModule,
|
20
18
|
NzFormModule,
|
21
|
-
FormlyCommonModule,
|
22
19
|
NzOutletModule,
|
23
20
|
FormlyModule.forChild({
|
24
21
|
wrappers: [
|
@@ -37,7 +34,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
37
34
|
CommonModule,
|
38
35
|
ReactiveFormsModule,
|
39
36
|
NzFormModule,
|
40
|
-
FormlyCommonModule,
|
41
37
|
NzOutletModule,
|
42
38
|
FormlyModule.forChild({
|
43
39
|
wrappers: [
|
@@ -50,4 +46,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
50
46
|
]
|
51
47
|
}]
|
52
48
|
}] });
|
53
|
-
//# sourceMappingURL=data:application/json;base64,
|
49
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL2Zvcm0tZmllbGQvc3JjL2Zvcm0tZmllbGQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3JELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUNoRCxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0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W9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvZm9ybXMnO1xuaW1wb3J0IHsgRm9ybWx5TW9kdWxlIH0gZnJvbSAnQG5neC1mb3JtbHkvY29yZSc7XG5pbXBvcnQgeyBOekZvcm1Nb2R1bGUgfSBmcm9tICduZy16b3Jyby1hbnRkL2Zvcm0nO1xuaW1wb3J0IHsgRm9ybWx5V3JhcHBlckZvcm1GaWVsZCB9IGZyb20gJy4vZm9ybS1maWVsZC53cmFwcGVyJztcbmltcG9ydCB7IE56T3V0bGV0TW9kdWxlIH0gZnJvbSAnbmctem9ycm8tYW50ZC9jb3JlL291dGxldCc7XG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW0Zvcm1seVdyYXBwZXJGb3JtRmllbGRdLFxuICBpbXBvcnRzOiBbXG4gICAgQ29tbW9uTW9kdWxlLFxuICAgIFJlYWN0aXZlRm9ybXNNb2R1bGUsXG4gICAgTnpGb3JtTW9kdWxlLFxuICAgIE56T3V0bGV0TW9kdWxlLFxuICAgIEZvcm1seU1vZHVsZS5mb3JDaGlsZCh7XG4gICAgICB3cmFwcGVyczogW1xuICAgICAgICB7XG4gICAgICAgICAgbmFtZTogJ2Zvcm0tZmllbGQnLFxuICAgICAgICAgIGNvbXBvbmVudDogRm9ybWx5V3JhcHBlckZvcm1GaWVsZFxuICAgICAgICB9XG4gICAgICBdXG4gICAgfSlcbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBGb3JtbHlOekZvcm1GaWVsZE1vZHVsZSB7fVxuIl19
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { NgModule } from '@angular/core';
|
2
|
-
import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
|
3
2
|
import { FormlyCommonModule } from 'ngx-formly-zorro-antd/common';
|
3
|
+
import { FormlyRefTemplateModule } from 'ngx-formly-zorro-antd/ref-template';
|
4
|
+
import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
|
4
5
|
import { FormlyNzInputModule } from 'ngx-formly-zorro-antd/input';
|
5
6
|
import { FormlyNzInputNumberModule } from 'ngx-formly-zorro-antd/input-number';
|
6
7
|
import { FormlyNzInputGroupModule } from 'ngx-formly-zorro-antd/input-group';
|
@@ -23,12 +24,12 @@ import { FormlyNzCardWrapperModule } from 'ngx-formly-zorro-antd/card-wrapper';
|
|
23
24
|
import { FormlyNzButtonModule } from 'ngx-formly-zorro-antd/button';
|
24
25
|
import { FormlyNzGridModule } from 'ngx-formly-zorro-antd/grid';
|
25
26
|
import { FormlyNzSpaceModule } from 'ngx-formly-zorro-antd/space';
|
26
|
-
import { FormlyRefTemplateModule } from 'ngx-formly-zorro-antd/ref-template';
|
27
27
|
import * as i0 from "@angular/core";
|
28
28
|
export class FormlyNgAntdModule {
|
29
29
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNgAntdModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
30
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.9", ngImport: i0, type: FormlyNgAntdModule, imports: [
|
31
|
-
|
30
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.9", ngImport: i0, type: FormlyNgAntdModule, imports: [FormlyCommonModule,
|
31
|
+
FormlyRefTemplateModule,
|
32
|
+
FormlyNzFormFieldModule,
|
32
33
|
FormlyNzInputModule,
|
33
34
|
FormlyNzInputNumberModule,
|
34
35
|
FormlyNzInputGroupModule,
|
@@ -50,10 +51,10 @@ export class FormlyNgAntdModule {
|
|
50
51
|
FormlyNzCardWrapperModule,
|
51
52
|
FormlyNzButtonModule,
|
52
53
|
FormlyNzGridModule,
|
53
|
-
FormlyNzSpaceModule
|
54
|
-
|
55
|
-
|
56
|
-
|
54
|
+
FormlyNzSpaceModule] }); }
|
55
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNgAntdModule, imports: [FormlyCommonModule,
|
56
|
+
FormlyRefTemplateModule,
|
57
|
+
FormlyNzFormFieldModule,
|
57
58
|
FormlyNzInputModule,
|
58
59
|
FormlyNzInputNumberModule,
|
59
60
|
FormlyNzInputGroupModule,
|
@@ -75,15 +76,15 @@ export class FormlyNgAntdModule {
|
|
75
76
|
FormlyNzCardWrapperModule,
|
76
77
|
FormlyNzButtonModule,
|
77
78
|
FormlyNzGridModule,
|
78
|
-
FormlyNzSpaceModule
|
79
|
-
FormlyRefTemplateModule] }); }
|
79
|
+
FormlyNzSpaceModule] }); }
|
80
80
|
}
|
81
81
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNgAntdModule, decorators: [{
|
82
82
|
type: NgModule,
|
83
83
|
args: [{
|
84
84
|
imports: [
|
85
|
-
FormlyNzFormFieldModule,
|
86
85
|
FormlyCommonModule,
|
86
|
+
FormlyRefTemplateModule,
|
87
|
+
FormlyNzFormFieldModule,
|
87
88
|
FormlyNzInputModule,
|
88
89
|
FormlyNzInputNumberModule,
|
89
90
|
FormlyNzInputGroupModule,
|
@@ -105,9 +106,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
105
106
|
FormlyNzCardWrapperModule,
|
106
107
|
FormlyNzButtonModule,
|
107
108
|
FormlyNzGridModule,
|
108
|
-
FormlyNzSpaceModule
|
109
|
-
FormlyRefTemplateModule
|
109
|
+
FormlyNzSpaceModule
|
110
110
|
]
|
111
111
|
}]
|
112
112
|
}] });
|
113
|
-
//# sourceMappingURL=data:application/json;base64,
|
113
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidWktbmctem9ycm8tYW50ZC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWN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JNb2R1bGUsXG4gICAgRm9ybWx5TnpUcmFuc2Zlck1vZHVsZSxcbiAgICBGb3JtbHlOelRyZWVTZWxlY3RNb2R1bGUsXG4gICAgRm9ybWx5TnpVcGxvYWRNb2R1bGUsXG4gICAgRm9ybWx5TnpUYWJzTW9kdWxlLFxuICAgIEZvcm1seU56Q2FyZE1vZHVsZSxcbiAgICBGb3JtbHlOekNhcmRXcmFwcGVyTW9kdWxlLFxuICAgIEZvcm1seU56QnV0dG9uTW9kdWxlLFxuICAgIEZvcm1seU56R3JpZE1vZHVsZSxcbiAgICBGb3JtbHlOelNwYWNlTW9kdWxlXG4gIF1cbn0pXG5leHBvcnQgY2xhc3MgRm9ybWx5TmdBbnRkTW9kdWxlIHt9XG4iXX0=
|
@@ -96,7 +96,7 @@ export class FormlyFieldSelect extends FieldType {
|
|
96
96
|
</ng-template>
|
97
97
|
</ng-container>
|
98
98
|
</nz-select>
|
99
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { 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.NzOptionComponent, selector: "nz-option", inputs: ["nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i3.NzSelectComponent, selector: "nz-select", inputs: ["nzId", "nzSize", "nzStatus", "nzOptionHeightPx", "nzOptionOverflowSize", "nzDropdownClassName", "nzDropdownMatchSelectWidth", "nzDropdownStyle", "nzNotFoundContent", "nzPlaceHolder", "nzPlacement", "nzMaxTagCount", "nzDropdownRender", "nzCustomTemplate", "nzSuffixIcon", "nzClearIcon", "nzRemoveIcon", "nzMenuItemSelectedIcon", "nzTokenSeparators", "nzMaxTagPlaceholder", "nzMaxMultipleCount", "nzMode", "nzFilterOption", "compareWith", "nzAllowClear", "nzBorderless", "nzShowSearch", "nzLoading", "nzAutoFocus", "nzAutoClearSearchValue", "nzServerSearch", "nzDisabled", "nzOpen", "nzSelectOnTab", "nzBackdrop", "nzOptions", "nzShowArrow"], outputs: ["nzOnSearch", "nzScrollToBottom", "nzOpenChange", "nzBlur", "nzFocus"], exportAs: ["nzSelect"] }, { kind: "component", type: i3.NzOptionGroupComponent, selector: "nz-option-group", inputs: ["nzLabel"], exportAs: ["nzOptionGroup"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i5.FormlySelectOptionsPipe, name: "formlySelectOptions" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
99
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { 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.NzOptionComponent, selector: "nz-option", inputs: ["nzTitle", "nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i3.NzSelectComponent, selector: "nz-select", inputs: ["nzId", "nzSize", "nzStatus", "nzOptionHeightPx", "nzOptionOverflowSize", "nzDropdownClassName", "nzDropdownMatchSelectWidth", "nzDropdownStyle", "nzNotFoundContent", "nzPlaceHolder", "nzPlacement", "nzMaxTagCount", "nzDropdownRender", "nzCustomTemplate", "nzSuffixIcon", "nzClearIcon", "nzRemoveIcon", "nzMenuItemSelectedIcon", "nzTokenSeparators", "nzMaxTagPlaceholder", "nzMaxMultipleCount", "nzMode", "nzFilterOption", "compareWith", "nzAllowClear", "nzBorderless", "nzShowSearch", "nzLoading", "nzAutoFocus", "nzAutoClearSearchValue", "nzServerSearch", "nzDisabled", "nzOpen", "nzSelectOnTab", "nzBackdrop", "nzOptions", "nzShowArrow"], outputs: ["nzOnSearch", "nzScrollToBottom", "nzOpenChange", "nzBlur", "nzFocus"], exportAs: ["nzSelect"] }, { kind: "component", type: i3.NzOptionGroupComponent, selector: "nz-option-group", inputs: ["nzLabel"], exportAs: ["nzOptionGroup"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i5.FormlySelectOptionsPipe, name: "formlySelectOptions" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
100
100
|
}
|
101
101
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyFieldSelect, decorators: [{
|
102
102
|
type: Component,
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { NgModule } from '@angular/core';
|
2
2
|
import { CommonModule } from '@angular/common';
|
3
3
|
import { FormlyModule } from '@ngx-formly/core';
|
4
|
-
import { FormlyCommonModule } from 'ngx-formly-zorro-antd/common';
|
5
4
|
import { FormlyFieldSpace } from './space.type';
|
6
5
|
import { NzSpaceModule } from 'ng-zorro-antd/space';
|
7
6
|
import * as i0 from "@angular/core";
|
@@ -9,10 +8,8 @@ import * as i1 from "@ngx-formly/core";
|
|
9
8
|
export class FormlyNzSpaceModule {
|
10
9
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzSpaceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
11
10
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzSpaceModule, declarations: [FormlyFieldSpace], imports: [CommonModule,
|
12
|
-
FormlyCommonModule,
|
13
11
|
NzSpaceModule, i1.FormlyModule] }); }
|
14
12
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzSpaceModule, imports: [CommonModule,
|
15
|
-
FormlyCommonModule,
|
16
13
|
NzSpaceModule,
|
17
14
|
FormlyModule.forChild({
|
18
15
|
types: [
|
@@ -29,7 +26,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
29
26
|
declarations: [FormlyFieldSpace],
|
30
27
|
imports: [
|
31
28
|
CommonModule,
|
32
|
-
FormlyCommonModule,
|
33
29
|
NzSpaceModule,
|
34
30
|
FormlyModule.forChild({
|
35
31
|
types: [
|
@@ -42,4 +38,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
42
38
|
]
|
43
39
|
}]
|
44
40
|
}] });
|
45
|
-
//# sourceMappingURL=data:application/json;base64,
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3BhY2UubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC9zcGFjZS9zcmMvc3BhY2UubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9B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cGFjZSB9IGZyb20gJy4vc3BhY2UudHlwZSc7XG5cbmltcG9ydCB7IE56U3BhY2VNb2R1bGUgfSBmcm9tICduZy16b3Jyby1hbnRkL3NwYWNlJztcblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbRm9ybWx5RmllbGRTcGFjZV0sXG4gIGltcG9ydHM6IFtcbiAgICBDb21tb25Nb2R1bGUsXG4gICAgTnpTcGFjZU1vZHVsZSxcbiAgICBGb3JtbHlNb2R1bGUuZm9yQ2hpbGQoe1xuICAgICAgdHlwZXM6IFtcbiAgICAgICAge1xuICAgICAgICAgIG5hbWU6ICdzcGFjZScsXG4gICAgICAgICAgY29tcG9uZW50OiBGb3JtbHlGaWVsZFNwYWNlXG4gICAgICAgIH1cbiAgICAgIF1cbiAgICB9KVxuICBdXG59KVxuZXhwb3J0IGNsYXNzIEZvcm1seU56U3BhY2VNb2R1bGUge31cbiJdfQ==
|
@@ -3,7 +3,6 @@ import { CommonModule } from '@angular/common';
|
|
3
3
|
import { FormlyModule } from '@ngx-formly/core';
|
4
4
|
import { ReactiveFormsModule } from '@angular/forms';
|
5
5
|
import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
|
6
|
-
import { FormlyCommonModule } from 'ngx-formly-zorro-antd/common';
|
7
6
|
import { NzTreeSelectModule } from 'ng-zorro-antd/tree-select';
|
8
7
|
import { FormlyFieldTreeSelect } from './tree-select.type';
|
9
8
|
import * as i0 from "@angular/core";
|
@@ -13,12 +12,10 @@ export class FormlyNzTreeSelectModule {
|
|
13
12
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzTreeSelectModule, declarations: [FormlyFieldTreeSelect], imports: [CommonModule,
|
14
13
|
ReactiveFormsModule,
|
15
14
|
FormlyNzFormFieldModule,
|
16
|
-
FormlyCommonModule,
|
17
15
|
NzTreeSelectModule, i1.FormlyModule] }); }
|
18
16
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzTreeSelectModule, imports: [CommonModule,
|
19
17
|
ReactiveFormsModule,
|
20
18
|
FormlyNzFormFieldModule,
|
21
|
-
FormlyCommonModule,
|
22
19
|
NzTreeSelectModule,
|
23
20
|
FormlyModule.forChild({
|
24
21
|
types: [
|
@@ -38,7 +35,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
38
35
|
CommonModule,
|
39
36
|
ReactiveFormsModule,
|
40
37
|
FormlyNzFormFieldModule,
|
41
|
-
FormlyCommonModule,
|
42
38
|
NzTreeSelectModule,
|
43
39
|
FormlyModule.forChild({
|
44
40
|
types: [
|
@@ -52,4 +48,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
52
48
|
]
|
53
49
|
}]
|
54
50
|
}] });
|
55
|
-
//# sourceMappingURL=data:application/json;base64,
|
51
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJlZS1zZWxlY3QubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC90cmVlLXNlbGVjdC9zcmMvdHJlZS1zZWxlY3QubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUNoRCxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNyRCxPQUFPLEVBQUUsdUJBQXVCLEVBQ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iJdfQ==
|
@@ -3,7 +3,6 @@ import { CommonModule } from '@angular/common';
|
|
3
3
|
import { FormlyModule } from '@ngx-formly/core';
|
4
4
|
import { ReactiveFormsModule } from '@angular/forms';
|
5
5
|
import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
|
6
|
-
import { FormlyCommonModule } from 'ngx-formly-zorro-antd/common';
|
7
6
|
import { NzUploadModule } from 'ng-zorro-antd/upload';
|
8
7
|
import { NzButtonModule } from 'ng-zorro-antd/button';
|
9
8
|
import { NzIconModule } from 'ng-zorro-antd/icon';
|
@@ -16,14 +15,12 @@ export class FormlyNzUploadModule {
|
|
16
15
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzUploadModule, declarations: [FormlyFieldUpload, UploadNzComponent], imports: [CommonModule,
|
17
16
|
ReactiveFormsModule,
|
18
17
|
FormlyNzFormFieldModule,
|
19
|
-
FormlyCommonModule,
|
20
18
|
NzUploadModule,
|
21
19
|
NzButtonModule,
|
22
20
|
NzIconModule, i1.FormlyModule] }); }
|
23
21
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzUploadModule, imports: [CommonModule,
|
24
22
|
ReactiveFormsModule,
|
25
23
|
FormlyNzFormFieldModule,
|
26
|
-
FormlyCommonModule,
|
27
24
|
NzUploadModule,
|
28
25
|
NzButtonModule,
|
29
26
|
NzIconModule,
|
@@ -45,7 +42,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
45
42
|
CommonModule,
|
46
43
|
ReactiveFormsModule,
|
47
44
|
FormlyNzFormFieldModule,
|
48
|
-
FormlyCommonModule,
|
49
45
|
NzUploadModule,
|
50
46
|
NzButtonModule,
|
51
47
|
NzIconModule,
|
@@ -61,4 +57,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.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4iXX0=
|
@@ -4,7 +4,7 @@ import { CommonModule } from '@angular/common';
|
|
4
4
|
import * as i3 from '@ngx-formly/core';
|
5
5
|
import { FieldWrapper, FormlyModule } from '@ngx-formly/core';
|
6
6
|
import * as i1 from 'ngx-formly-zorro-antd/common';
|
7
|
-
import { resolveTplName, resolveTplNameArray
|
7
|
+
import { resolveTplName, resolveTplNameArray } from 'ngx-formly-zorro-antd/common';
|
8
8
|
import * as i2 from 'ng-zorro-antd/card';
|
9
9
|
import { NzCardModule } from 'ng-zorro-antd/card';
|
10
10
|
|
@@ -81,11 +81,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
81
81
|
class FormlyNzCardWrapperModule {
|
82
82
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzCardWrapperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
83
83
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzCardWrapperModule, declarations: [FormlyWrapperCard], imports: [CommonModule,
|
84
|
-
NzCardModule,
|
85
|
-
FormlyCommonModule, i3.FormlyModule] }); }
|
84
|
+
NzCardModule, i3.FormlyModule] }); }
|
86
85
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzCardWrapperModule, imports: [CommonModule,
|
87
86
|
NzCardModule,
|
88
|
-
FormlyCommonModule,
|
89
87
|
FormlyModule.forChild({
|
90
88
|
wrappers: [
|
91
89
|
{
|
@@ -102,7 +100,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
102
100
|
imports: [
|
103
101
|
CommonModule,
|
104
102
|
NzCardModule,
|
105
|
-
FormlyCommonModule,
|
106
103
|
FormlyModule.forChild({
|
107
104
|
wrappers: [
|
108
105
|
{
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ngx-formly-zorro-antd-card-wrapper.mjs","sources":["../../../../packages/formlyantd/card-wrapper/src/card.wrapper.ts","../../../../packages/formlyantd/card-wrapper/src/card-wrapper.module.ts","../../../../packages/formlyantd/card-wrapper/src/ngx-formly-zorro-antd-card-wrapper.ts"],"sourcesContent":["import { Component, Type, Optional, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldWrapper } from '@ngx-formly/core';\nimport {\n FormlyBoxTemplates,\n resolveTplName,\n resolveTplNameArray\n} from 'ngx-formly-zorro-antd/common';\nimport type { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';\nimport { CardWrapperProps } from './card-wrapper.props';\n\nexport interface FormlyCardWrapperConfig extends NzFormlyFieldConfig<CardWrapperProps> {\n wrappers: ('card-wrapper' | Type<FormlyWrapperCard>)[];\n}\n\n@Component({\n selector: 'formly-wrapper-card',\n template: `\n <nz-card\n [nzActions]=\"nzActions\"\n [formlyAttributes]=\"field\"\n [nzBodyStyle]=\"props['bodyStyle'] ?? null\"\n [nzSize]=\"props['size']!\"\n [nzBorderless]=\"props['borderless']!!\"\n [nzCover]=\"nzCover\"\n [nzExtra]=\"nzExtra\"\n [nzHoverable]=\"props['hoverable']!!\"\n [nzLoading]=\"props['loading']!!\"\n [nzTitle]=\"nzTitle\"\n [nzBordered]=\"props['bordered']!!\"\n [nzType]=\"props['type'] ?? null\"\n >\n <ng-container #fieldComponent></ng-container>\n </nz-card>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyWrapperCard extends FieldWrapper<NzFormlyFieldConfig<CardWrapperProps>> {\n override defaultOptions = {\n props: {\n bordered: true\n }\n };\n\n constructor(@Optional() public fieldTemplates: FormlyBoxTemplates) {\n super();\n }\n\n get nzTitle() {\n return resolveTplName(this.props, this.fieldTemplates, 'title');\n }\n get nzCover() {\n return resolveTplName(this.props, this.fieldTemplates, 'cover');\n }\n get nzExtra() {\n return resolveTplName(this.props, this.fieldTemplates, 'extra');\n }\n get nzActions() {\n return resolveTplNameArray(this.props, this.fieldTemplates, 'actions') || [];\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\n\nimport { FormlyWrapperCard } from './card.wrapper';\nimport { NzCardModule } from 'ng-zorro-antd/card';\
|
1
|
+
{"version":3,"file":"ngx-formly-zorro-antd-card-wrapper.mjs","sources":["../../../../packages/formlyantd/card-wrapper/src/card.wrapper.ts","../../../../packages/formlyantd/card-wrapper/src/card-wrapper.module.ts","../../../../packages/formlyantd/card-wrapper/src/ngx-formly-zorro-antd-card-wrapper.ts"],"sourcesContent":["import { Component, Type, Optional, ChangeDetectionStrategy } from '@angular/core';\nimport { FieldWrapper } from '@ngx-formly/core';\nimport {\n FormlyBoxTemplates,\n resolveTplName,\n resolveTplNameArray\n} from 'ngx-formly-zorro-antd/common';\nimport type { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';\nimport { CardWrapperProps } from './card-wrapper.props';\n\nexport interface FormlyCardWrapperConfig extends NzFormlyFieldConfig<CardWrapperProps> {\n wrappers: ('card-wrapper' | Type<FormlyWrapperCard>)[];\n}\n\n@Component({\n selector: 'formly-wrapper-card',\n template: `\n <nz-card\n [nzActions]=\"nzActions\"\n [formlyAttributes]=\"field\"\n [nzBodyStyle]=\"props['bodyStyle'] ?? null\"\n [nzSize]=\"props['size']!\"\n [nzBorderless]=\"props['borderless']!!\"\n [nzCover]=\"nzCover\"\n [nzExtra]=\"nzExtra\"\n [nzHoverable]=\"props['hoverable']!!\"\n [nzLoading]=\"props['loading']!!\"\n [nzTitle]=\"nzTitle\"\n [nzBordered]=\"props['bordered']!!\"\n [nzType]=\"props['type'] ?? null\"\n >\n <ng-container #fieldComponent></ng-container>\n </nz-card>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyWrapperCard extends FieldWrapper<NzFormlyFieldConfig<CardWrapperProps>> {\n override defaultOptions = {\n props: {\n bordered: true\n }\n };\n\n constructor(@Optional() public fieldTemplates: FormlyBoxTemplates) {\n super();\n }\n\n get nzTitle() {\n return resolveTplName(this.props, this.fieldTemplates, 'title');\n }\n get nzCover() {\n return resolveTplName(this.props, this.fieldTemplates, 'cover');\n }\n get nzExtra() {\n return resolveTplName(this.props, this.fieldTemplates, 'extra');\n }\n get nzActions() {\n return resolveTplNameArray(this.props, this.fieldTemplates, 'actions') || [];\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\n\nimport { FormlyWrapperCard } from './card.wrapper';\nimport { NzCardModule } from 'ng-zorro-antd/card';\n\n@NgModule({\n declarations: [FormlyWrapperCard],\n imports: [\n CommonModule,\n NzCardModule,\n\n FormlyModule.forChild({\n wrappers: [\n {\n name: 'card-wrapper',\n component: FormlyWrapperCard\n }\n ]\n })\n ]\n})\nexport class FormlyNzCardWrapperModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;AAoCM,MAAO,iBAAkB,SAAQ,YAAmD,CAAA;AAOxF,IAAA,WAAA,CAA+B,cAAkC,EAAA;AAC/D,QAAA,KAAK,EAAE,CAAC;QADqB,IAAc,CAAA,cAAA,GAAd,cAAc,CAAoB;AANxD,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,QAAQ,EAAE,IAAI;AACf,aAAA;SACF,CAAC;KAID;AAED,IAAA,IAAI,OAAO,GAAA;AACT,QAAA,OAAO,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;KACjE;AACD,IAAA,IAAI,OAAO,GAAA;AACT,QAAA,OAAO,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;KACjE;AACD,IAAA,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QAAQ,EAAE;AACR,gCAAA;AACE,oCAAA,IAAI,EAAE,cAAc;AACpB,oCAAA,SAAS,EAAE,iBAAiB;AAC7B,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;ACtBD;;AAEG;;;;"}
|
@@ -7,10 +7,10 @@ import { FieldType, FormlyModule } from '@ngx-formly/core';
|
|
7
7
|
import * as i3 from '@angular/forms';
|
8
8
|
import { ReactiveFormsModule } from '@angular/forms';
|
9
9
|
import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
|
10
|
-
import * as i1 from 'ngx-formly-zorro-antd/common';
|
11
|
-
import { resolveTplName, FormlyCommonModule } from 'ngx-formly-zorro-antd/common';
|
12
10
|
import * as i4 from 'ng-zorro-antd/cascader';
|
13
11
|
import { NzCascaderModule } from 'ng-zorro-antd/cascader';
|
12
|
+
import * as i1 from 'ngx-formly-zorro-antd/common';
|
13
|
+
import { resolveTplName } from 'ngx-formly-zorro-antd/common';
|
14
14
|
|
15
15
|
class FormlyFieldCascader extends FieldType {
|
16
16
|
constructor(fieldTemplates) {
|
@@ -138,12 +138,10 @@ class FormlyNzCascaderModule {
|
|
138
138
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzCascaderModule, declarations: [FormlyFieldCascader], imports: [CommonModule,
|
139
139
|
ReactiveFormsModule,
|
140
140
|
FormlyNzFormFieldModule,
|
141
|
-
FormlyCommonModule,
|
142
141
|
NzCascaderModule, i5.FormlyModule] }); }
|
143
142
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.9", ngImport: i0, type: FormlyNzCascaderModule, imports: [CommonModule,
|
144
143
|
ReactiveFormsModule,
|
145
144
|
FormlyNzFormFieldModule,
|
146
|
-
FormlyCommonModule,
|
147
145
|
NzCascaderModule,
|
148
146
|
FormlyModule.forChild({
|
149
147
|
types: [
|
@@ -163,7 +161,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.9", ngImpor
|
|
163
161
|
CommonModule,
|
164
162
|
ReactiveFormsModule,
|
165
163
|
FormlyNzFormFieldModule,
|
166
|
-
FormlyCommonModule,
|
167
164
|
NzCascaderModule,
|
168
165
|
FormlyModule.forChild({
|
169
166
|
types: [
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ngx-formly-zorro-antd-cascader.mjs","sources":["../../../../packages/formlyantd/cascader/src/cascader.type.ts","../../../../packages/formlyantd/cascader/src/cascader.module.ts","../../../../packages/formlyantd/cascader/src/ngx-formly-zorro-antd-cascader.ts"],"sourcesContent":["import {\n Component,\n TemplateRef,\n Optional,\n Type,\n ChangeDetectionStrategy,\n OnInit\n} from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\nimport { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\n\nimport type {\n NzCascaderOption,\n NzShowSearchOptions,\n NzCascaderExpandTrigger,\n NzCascaderSize\n} from 'ng-zorro-antd/cascader';\nimport type { NzSafeAny, NzStatus, NgStyleInterface } from 'ng-zorro-antd/core/types';\nimport type { NzFormlyFieldConfig, FormlyAttributeEvent } from 'ngx-formly-zorro-antd/common';\nimport { resolveTplName, FormlyBoxTemplates } from 'ngx-formly-zorro-antd/common';\n\ninterface CascaderProps extends FormlyFieldProps {\n /**\n * 是否支持清除\n * @default true\n */\n allowClear?: boolean;\n\n /**\n * 是否自动聚焦,当存在输入框时\n * @default false\n */\n autoFocus?: boolean;\n\n /**\n * 浮层是否应带有背景板\n * @default false\n */\n backdrop?: boolean;\n\n /**\n * 点击父级菜单选项时,可通过该函数判断是否允许值的变化\n */\n changeOn?: (option: NzSafeAny, index: number) => boolean;\n\n /**\n * 当此项为 true 时,点选每级菜单选项值都会发生变化,具体见上面的演示\n * @default false\n */\n changeOnSelect?: boolean;\n\n /**\n * 自定义浮层列类名\n */\n columnClassName?: string;\n\n /**\n * 自定义次级菜单展开图标\n */\n expandIcon?: string | TemplateRef<void>;\n expandIconName?: string;\n\n /**\n * 次级菜单的展开方式\n * @default 'click'\n */\n expandTrigger?: NzCascaderExpandTrigger;\n\n /**\n * 选项的显示值的属性名\n * @default 'label'\n */\n labelProperty: string;\n\n /**\n * 选择后展示的渲染模板\n */\n labelRender?: TemplateRef<NzSafeAny> | null;\n labelRenderName?: string;\n\n /**\n * 用于动态加载选项。如果提供了ngModel初始值,且未提供nzOptions值,则会立即触发动态加载。\n */\n loadData?: (option: NzSafeAny, index?: number) => PromiseLike<NzSafeAny>;\n\n /**\n * 自定义浮层类名\n */\n menuClassName?: string;\n\n /**\n * 自定义浮层样式\n */\n menuStyle?: NgStyleInterface | null;\n\n /**\n * 当下拉列表为空时显示的内容\n */\n notFoundContent?: string | TemplateRef<void>;\n notFoundContentName?: string;\n\n /**\n * 选项的渲染模板\n */\n optionRender?: TemplateRef<{ $implicit: NzCascaderOption; index: number }> | null;\n optionRenderName?: string;\n\n /**\n * 是否显示箭头\n * @default true\n */\n showArrow?: boolean;\n\n /**\n * 显示输入框\n * @default true\n */\n showInput?: boolean;\n\n /**\n * 是否支持搜索,默认情况下对 label 进行全匹配搜索,不能和 [nzLoadData] 同时使用\n * @default false\n */\n showSearch?: boolean | NzShowSearchOptions;\n\n /**\n * 输入框大小\n * @default default\n */\n size?: NzCascaderSize;\n\n /**\n * 设置校验状态\n */\n status?: NzStatus;\n\n /**\n * 自定义的选择框后缀图标\n */\n suffixIcon?: string | TemplateRef<void>;\n suffixIconName?: string;\n\n /**\n * 选项的实际值的属性名\n * @default 'value'\n */\n valueProperty?: string;\n\n /**\n * 可选项数据源\n */\n cascaderOptions?: NzCascaderOption[] | null;\n\n /**\n * 清除值时触发\n */\n onClear?: FormlyAttributeEvent;\n /**\n * 菜单浮层的显示/隐藏\n */\n visibleChange?: FormlyAttributeEvent<boolean>;\n\n /**\n * 值发生变化时触发\n */\n selectionChange?: FormlyAttributeEvent<NzCascaderOption[]>;\n}\n\nexport interface FormlyCascaderFieldConfig extends NzFormlyFieldConfig<CascaderProps> {\n type: 'cascader' | Type<FormlyFieldCascader>;\n}\n\n@Component({\n selector: 'formly-field-cascader',\n template: `<nz-cascader\n #cascader\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [ngClass]=\"props['className']!\"\n [nzAllowClear]=\"props['allowClear']!!\"\n [nzAutoFocus]=\"props['autoFocus']!!\"\n [nzBackdrop]=\"props['backdrop']!!\"\n [nzChangeOn]=\"props['changeOn']\"\n [nzChangeOnSelect]=\"props['changeOnSelect']!!\"\n [nzColumnClassName]=\"props['columnClassName']\"\n [nzExpandIcon]=\"nzExpandIcon!\"\n [nzExpandTrigger]=\"props['expandTrigger']!\"\n [nzLabelProperty]=\"props['labelProperty']\"\n [nzLabelRender]=\"nzLabelRender ?? null\"\n [nzLoadData]=\"props['loadData']\"\n [nzMenuClassName]=\"props['menuClassName']\"\n [nzMenuStyle]=\"props['menuStyle'] ?? null\"\n [nzNotFoundContent]=\"nzNotFoundContent\"\n [nzOptionRender]=\"nzOptionRender ?? null\"\n [nzOptions]=\"props['cascaderOptions'] ?? null\"\n [nzShowArrow]=\"props['showArrow']!!\"\n [nzShowInput]=\"props['showInput']!!\"\n [nzShowSearch]=\"props['showSearch']!!\"\n [nzSize]=\"props['size']!\"\n [nzStatus]=\"props['status'] ?? ''\"\n [nzSuffixIcon]=\"nzSuffixIcon!\"\n [nzValueProperty]=\"props['valueProperty']!\"\n (nzClear)=\"props['onClear'] && props['onClear'](field)\"\n (nzVisibleChange)=\"props['visibleChange'] && props['visibleChange'](field, $event)\"\n (nzSelectionChange)=\"props['selectionChange'] && props['selectionChange'](field, $event)\"\n ></nz-cascader>`,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldCascader\n extends FieldType<FieldTypeConfig<CascaderProps>>\n implements OnInit\n{\n override defaultOptions = {\n props: {\n placeholder: '请选择',\n allowClear: true,\n backdrop: false,\n changeOnSelect: false,\n expandTrigger: 'click' as const,\n labelProperty: 'label',\n showArrow: true,\n showInput: true,\n showSearch: false,\n size: 'default' as const,\n status: '' as const,\n valueProperty: 'value',\n cascaderOptions: []\n }\n };\n constructor(@Optional() public fieldTemplates: FormlyBoxTemplates) {\n super();\n }\n\n get nzNotFoundContent() {\n return resolveTplName(this.props, this.fieldTemplates, 'notFoundContent');\n }\n\n get nzExpandIcon() {\n return resolveTplName(this.props, this.fieldTemplates, 'expandIcon');\n }\n\n get nzLabelRender() {\n return resolveTplName(this.props, this.fieldTemplates, 'labelRender');\n }\n\n get nzOptionRender() {\n return resolveTplName(this.props, this.fieldTemplates, 'optionRender');\n }\n\n get nzSuffixIcon() {\n return resolveTplName(this.props, this.fieldTemplates, 'suffixIcon');\n }\n\n ngOnInit(): void {\n const options = this.props['cascaderOptions'];\n if (!options || options.length === 0) {\n this.props['cascaderOptions'] = this.props.options as NzSafeAny;\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\nimport { FormlyCommonModule } from 'ngx-formly-zorro-antd/common';\nimport { NzCascaderModule } from 'ng-zorro-antd/cascader';\nimport { FormlyFieldCascader } from './cascader.type';\n\n@NgModule({\n declarations: [FormlyFieldCascader],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormlyNzFormFieldModule,\n FormlyCommonModule,\n NzCascaderModule,\n\n FormlyModule.forChild({\n types: [\n {\n name: 'cascader',\n component: FormlyFieldCascader,\n wrappers: ['form-field']\n }\n ]\n })\n ]\n})\nexport class FormlyNzCascaderModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;AAiNM,MAAO,mBACX,SAAQ,SAAyC,CAAA;AAoBjD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
1
|
+
{"version":3,"file":"ngx-formly-zorro-antd-cascader.mjs","sources":["../../../../packages/formlyantd/cascader/src/cascader.type.ts","../../../../packages/formlyantd/cascader/src/cascader.module.ts","../../../../packages/formlyantd/cascader/src/ngx-formly-zorro-antd-cascader.ts"],"sourcesContent":["import {\n Component,\n TemplateRef,\n Optional,\n Type,\n ChangeDetectionStrategy,\n OnInit\n} from '@angular/core';\nimport { FieldType, FieldTypeConfig } from '@ngx-formly/core';\nimport { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\n\nimport type {\n NzCascaderOption,\n NzShowSearchOptions,\n NzCascaderExpandTrigger,\n NzCascaderSize\n} from 'ng-zorro-antd/cascader';\nimport type { NzSafeAny, NzStatus, NgStyleInterface } from 'ng-zorro-antd/core/types';\nimport type { NzFormlyFieldConfig, FormlyAttributeEvent } from 'ngx-formly-zorro-antd/common';\nimport { resolveTplName, FormlyBoxTemplates } from 'ngx-formly-zorro-antd/common';\n\ninterface CascaderProps extends FormlyFieldProps {\n /**\n * 是否支持清除\n * @default true\n */\n allowClear?: boolean;\n\n /**\n * 是否自动聚焦,当存在输入框时\n * @default false\n */\n autoFocus?: boolean;\n\n /**\n * 浮层是否应带有背景板\n * @default false\n */\n backdrop?: boolean;\n\n /**\n * 点击父级菜单选项时,可通过该函数判断是否允许值的变化\n */\n changeOn?: (option: NzSafeAny, index: number) => boolean;\n\n /**\n * 当此项为 true 时,点选每级菜单选项值都会发生变化,具体见上面的演示\n * @default false\n */\n changeOnSelect?: boolean;\n\n /**\n * 自定义浮层列类名\n */\n columnClassName?: string;\n\n /**\n * 自定义次级菜单展开图标\n */\n expandIcon?: string | TemplateRef<void>;\n expandIconName?: string;\n\n /**\n * 次级菜单的展开方式\n * @default 'click'\n */\n expandTrigger?: NzCascaderExpandTrigger;\n\n /**\n * 选项的显示值的属性名\n * @default 'label'\n */\n labelProperty: string;\n\n /**\n * 选择后展示的渲染模板\n */\n labelRender?: TemplateRef<NzSafeAny> | null;\n labelRenderName?: string;\n\n /**\n * 用于动态加载选项。如果提供了ngModel初始值,且未提供nzOptions值,则会立即触发动态加载。\n */\n loadData?: (option: NzSafeAny, index?: number) => PromiseLike<NzSafeAny>;\n\n /**\n * 自定义浮层类名\n */\n menuClassName?: string;\n\n /**\n * 自定义浮层样式\n */\n menuStyle?: NgStyleInterface | null;\n\n /**\n * 当下拉列表为空时显示的内容\n */\n notFoundContent?: string | TemplateRef<void>;\n notFoundContentName?: string;\n\n /**\n * 选项的渲染模板\n */\n optionRender?: TemplateRef<{ $implicit: NzCascaderOption; index: number }> | null;\n optionRenderName?: string;\n\n /**\n * 是否显示箭头\n * @default true\n */\n showArrow?: boolean;\n\n /**\n * 显示输入框\n * @default true\n */\n showInput?: boolean;\n\n /**\n * 是否支持搜索,默认情况下对 label 进行全匹配搜索,不能和 [nzLoadData] 同时使用\n * @default false\n */\n showSearch?: boolean | NzShowSearchOptions;\n\n /**\n * 输入框大小\n * @default default\n */\n size?: NzCascaderSize;\n\n /**\n * 设置校验状态\n */\n status?: NzStatus;\n\n /**\n * 自定义的选择框后缀图标\n */\n suffixIcon?: string | TemplateRef<void>;\n suffixIconName?: string;\n\n /**\n * 选项的实际值的属性名\n * @default 'value'\n */\n valueProperty?: string;\n\n /**\n * 可选项数据源\n */\n cascaderOptions?: NzCascaderOption[] | null;\n\n /**\n * 清除值时触发\n */\n onClear?: FormlyAttributeEvent;\n /**\n * 菜单浮层的显示/隐藏\n */\n visibleChange?: FormlyAttributeEvent<boolean>;\n\n /**\n * 值发生变化时触发\n */\n selectionChange?: FormlyAttributeEvent<NzCascaderOption[]>;\n}\n\nexport interface FormlyCascaderFieldConfig extends NzFormlyFieldConfig<CascaderProps> {\n type: 'cascader' | Type<FormlyFieldCascader>;\n}\n\n@Component({\n selector: 'formly-field-cascader',\n template: `<nz-cascader\n #cascader\n [nzPlaceHolder]=\"props.placeholder ?? ''\"\n [formControl]=\"formControl\"\n [formlyAttributes]=\"field\"\n [ngClass]=\"props['className']!\"\n [nzAllowClear]=\"props['allowClear']!!\"\n [nzAutoFocus]=\"props['autoFocus']!!\"\n [nzBackdrop]=\"props['backdrop']!!\"\n [nzChangeOn]=\"props['changeOn']\"\n [nzChangeOnSelect]=\"props['changeOnSelect']!!\"\n [nzColumnClassName]=\"props['columnClassName']\"\n [nzExpandIcon]=\"nzExpandIcon!\"\n [nzExpandTrigger]=\"props['expandTrigger']!\"\n [nzLabelProperty]=\"props['labelProperty']\"\n [nzLabelRender]=\"nzLabelRender ?? null\"\n [nzLoadData]=\"props['loadData']\"\n [nzMenuClassName]=\"props['menuClassName']\"\n [nzMenuStyle]=\"props['menuStyle'] ?? null\"\n [nzNotFoundContent]=\"nzNotFoundContent\"\n [nzOptionRender]=\"nzOptionRender ?? null\"\n [nzOptions]=\"props['cascaderOptions'] ?? null\"\n [nzShowArrow]=\"props['showArrow']!!\"\n [nzShowInput]=\"props['showInput']!!\"\n [nzShowSearch]=\"props['showSearch']!!\"\n [nzSize]=\"props['size']!\"\n [nzStatus]=\"props['status'] ?? ''\"\n [nzSuffixIcon]=\"nzSuffixIcon!\"\n [nzValueProperty]=\"props['valueProperty']!\"\n (nzClear)=\"props['onClear'] && props['onClear'](field)\"\n (nzVisibleChange)=\"props['visibleChange'] && props['visibleChange'](field, $event)\"\n (nzSelectionChange)=\"props['selectionChange'] && props['selectionChange'](field, $event)\"\n ></nz-cascader>`,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormlyFieldCascader\n extends FieldType<FieldTypeConfig<CascaderProps>>\n implements OnInit\n{\n override defaultOptions = {\n props: {\n placeholder: '请选择',\n allowClear: true,\n backdrop: false,\n changeOnSelect: false,\n expandTrigger: 'click' as const,\n labelProperty: 'label',\n showArrow: true,\n showInput: true,\n showSearch: false,\n size: 'default' as const,\n status: '' as const,\n valueProperty: 'value',\n cascaderOptions: []\n }\n };\n constructor(@Optional() public fieldTemplates: FormlyBoxTemplates) {\n super();\n }\n\n get nzNotFoundContent() {\n return resolveTplName(this.props, this.fieldTemplates, 'notFoundContent');\n }\n\n get nzExpandIcon() {\n return resolveTplName(this.props, this.fieldTemplates, 'expandIcon');\n }\n\n get nzLabelRender() {\n return resolveTplName(this.props, this.fieldTemplates, 'labelRender');\n }\n\n get nzOptionRender() {\n return resolveTplName(this.props, this.fieldTemplates, 'optionRender');\n }\n\n get nzSuffixIcon() {\n return resolveTplName(this.props, this.fieldTemplates, 'suffixIcon');\n }\n\n ngOnInit(): void {\n const options = this.props['cascaderOptions'];\n if (!options || options.length === 0) {\n this.props['cascaderOptions'] = this.props.options as NzSafeAny;\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\nimport { NzCascaderModule } from 'ng-zorro-antd/cascader';\nimport { FormlyFieldCascader } from './cascader.type';\n\n@NgModule({\n declarations: [FormlyFieldCascader],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n FormlyNzFormFieldModule,\n NzCascaderModule,\n\n FormlyModule.forChild({\n types: [\n {\n name: 'cascader',\n component: FormlyFieldCascader,\n wrappers: ['form-field']\n }\n ]\n })\n ]\n})\nexport class FormlyNzCascaderModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;AAiNM,MAAO,mBACX,SAAQ,SAAyC,CAAA;AAoBjD,IAAA,WAAA,CAA+B,cAAkC,EAAA;AAC/D,QAAA,KAAK,EAAE,CAAC;QADqB,IAAc,CAAA,cAAA,GAAd,cAAc,CAAoB;AAjBxD,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,WAAW,EAAE,KAAK;AAClB,gBAAA,UAAU,EAAE,IAAI;AAChB,gBAAA,QAAQ,EAAE,KAAK;AACf,gBAAA,cAAc,EAAE,KAAK;AACrB,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