ngx-formly-zorro-antd 16.1.3 → 16.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,10 +3,11 @@ 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 "ng-zorro-antd/cascader";
7
- import * as i6 from "@ngx-formly/core";
6
+ import * as i5 from "ngx-formly-zorro-antd/common";
7
+ import * as i6 from "ng-zorro-antd/cascader";
8
+ import * as i7 from "@ngx-formly/core";
8
9
  export declare class FormlyNzCascaderModule {
9
10
  static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNzCascaderModule, never>;
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>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNzCascaderModule, [typeof i1.FormlyFieldCascader], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyNzFormFieldModule, typeof i5.FormlyCommonModule, typeof i6.NzCascaderModule, typeof i7.FormlyModule], never>;
11
12
  static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNzCascaderModule>;
12
13
  }
@@ -4,6 +4,7 @@ import { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';
4
4
  import type { NzCascaderOption, NzShowSearchOptions, NzCascaderExpandTrigger, NzCascaderSize } from 'ng-zorro-antd/cascader';
5
5
  import type { NzSafeAny, NzStatus, NgStyleInterface } from 'ng-zorro-antd/core/types';
6
6
  import type { NzFormlyFieldConfig, FormlyAttributeEvent } from 'ngx-formly-zorro-antd/common';
7
+ import { FormlyBoxTemplates } from 'ngx-formly-zorro-antd/common';
7
8
  import * as i0 from "@angular/core";
8
9
  interface CascaderProps extends FormlyFieldProps {
9
10
  /**
@@ -38,6 +39,7 @@ interface CascaderProps extends FormlyFieldProps {
38
39
  * 自定义次级菜单展开图标
39
40
  */
40
41
  expandIcon?: string | TemplateRef<void>;
42
+ expandIconName?: string;
41
43
  /**
42
44
  * 次级菜单的展开方式
43
45
  * @default 'click'
@@ -52,6 +54,7 @@ interface CascaderProps extends FormlyFieldProps {
52
54
  * 选择后展示的渲染模板
53
55
  */
54
56
  labelRender?: TemplateRef<NzSafeAny> | null;
57
+ labelRenderName?: string;
55
58
  /**
56
59
  * 用于动态加载选项。如果提供了ngModel初始值,且未提供nzOptions值,则会立即触发动态加载。
57
60
  */
@@ -68,6 +71,7 @@ interface CascaderProps extends FormlyFieldProps {
68
71
  * 当下拉列表为空时显示的内容
69
72
  */
70
73
  notFoundContent?: string | TemplateRef<void>;
74
+ notFoundContentName?: string;
71
75
  /**
72
76
  * 选项的渲染模板
73
77
  */
@@ -75,6 +79,7 @@ interface CascaderProps extends FormlyFieldProps {
75
79
  $implicit: NzCascaderOption;
76
80
  index: number;
77
81
  }> | null;
82
+ optionRenderName?: string;
78
83
  /**
79
84
  * 是否显示箭头
80
85
  * @default true
@@ -103,6 +108,7 @@ interface CascaderProps extends FormlyFieldProps {
103
108
  * 自定义的选择框后缀图标
104
109
  */
105
110
  suffixIcon?: string | TemplateRef<void>;
111
+ suffixIconName?: string;
106
112
  /**
107
113
  * 选项的实际值的属性名
108
114
  * @default 'value'
@@ -129,6 +135,7 @@ export interface FormlyCascaderFieldConfig extends NzFormlyFieldConfig<CascaderP
129
135
  type: 'cascader' | Type<FormlyFieldCascader>;
130
136
  }
131
137
  export declare class FormlyFieldCascader extends FieldType<FieldTypeConfig<CascaderProps>> implements OnInit {
138
+ fieldTemplates: FormlyBoxTemplates;
132
139
  defaultOptions: {
133
140
  props: {
134
141
  placeholder: string;
@@ -146,8 +153,14 @@ export declare class FormlyFieldCascader extends FieldType<FieldTypeConfig<Casca
146
153
  cascaderOptions: never[];
147
154
  };
148
155
  };
156
+ constructor(fieldTemplates: FormlyBoxTemplates);
157
+ get nzNotFoundContent(): TemplateRef<any> | undefined;
158
+ get nzExpandIcon(): TemplateRef<any> | undefined;
159
+ get nzLabelRender(): TemplateRef<any> | undefined;
160
+ get nzOptionRender(): TemplateRef<any> | undefined;
161
+ get nzSuffixIcon(): TemplateRef<any> | undefined;
149
162
  ngOnInit(): void;
150
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldCascader, never>;
163
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldCascader, [{ optional: true; }]>;
151
164
  static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldCascader, "formly-field-cascader", never, {}, {}, never, never, false, never>;
152
165
  }
153
166
  export {};
@@ -3,6 +3,7 @@ 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';
6
7
  import { NzCascaderModule } from 'ng-zorro-antd/cascader';
7
8
  import { FormlyFieldCascader } from './cascader.type';
8
9
  import * as i0 from "@angular/core";
@@ -12,10 +13,12 @@ export class FormlyNzCascaderModule {
12
13
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzCascaderModule, declarations: [FormlyFieldCascader], imports: [CommonModule,
13
14
  ReactiveFormsModule,
14
15
  FormlyNzFormFieldModule,
16
+ FormlyCommonModule,
15
17
  NzCascaderModule, i1.FormlyModule] }); }
16
18
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzCascaderModule, imports: [CommonModule,
17
19
  ReactiveFormsModule,
18
20
  FormlyNzFormFieldModule,
21
+ FormlyCommonModule,
19
22
  NzCascaderModule,
20
23
  FormlyModule.forChild({
21
24
  types: [
@@ -35,6 +38,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
35
38
  CommonModule,
36
39
  ReactiveFormsModule,
37
40
  FormlyNzFormFieldModule,
41
+ FormlyCommonModule,
38
42
  NzCascaderModule,
39
43
  FormlyModule.forChild({
40
44
  types: [
@@ -48,4 +52,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
48
52
  ]
49
53
  }]
50
54
  }] });
51
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzY2FkZXIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC9jYXNjYWRlci9zcmMvY2FzY2FkZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUNoRCxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNyRCxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQztBQUUzRSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUMxRCxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQzs7O0FBc0J0RCxNQUFNLE9BQU8sc0JBQXNCOzhHQUF0QixzQkFBc0I7K0dBQXRCLHNCQUFzQixpQkFuQmxCLG1CQUFtQixhQUVoQyxZQUFZO1lBQ1osbUJBQW1CO1lBQ25CLHVCQUF1QjtZQUV2QixnQk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sXG4gICAgRm9ybWx5Q29tbW9uTW9kdWxlLFxuICAgIE56Q2FzY2FkZXJNb2R1bGUsXG5cbiAgICBGb3JtbHlNb2R1bGUuZm9yQ2hpbGQoe1xuICAgICAgdHlwZXM6IFtcbiAgICAgICAge1xuICAgICAgICAgIG5hbWU6ICdjYXNjYWRlcicsXG4gICAgICAgICAgY29tcG9uZW50OiBGb3JtbHlGaWVsZENhc2NhZGVyLFxuICAgICAgICAgIHdyYXBwZXJzOiBbJ2Zvcm0tZmllbGQnXVxuICAgICAgICB9XG4gICAgICBdXG4gICAgfSlcbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBGb3JtbHlOekNhc2NhZGVyTW9kdWxlIHt9XG4iXX0=
@@ -1,13 +1,16 @@
1
- import { Component, ChangeDetectionStrategy } from '@angular/core';
1
+ import { Component, Optional, ChangeDetectionStrategy } from '@angular/core';
2
2
  import { FieldType } from '@ngx-formly/core';
3
+ import { resolveTplName, FormlyBoxTemplates } from 'ngx-formly-zorro-antd/common';
3
4
  import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/common";
5
- import * as i2 from "@angular/forms";
6
- import * as i3 from "ng-zorro-antd/cascader";
7
- import * as i4 from "@ngx-formly/core";
5
+ import * as i1 from "ngx-formly-zorro-antd/common";
6
+ import * as i2 from "@angular/common";
7
+ import * as i3 from "@angular/forms";
8
+ import * as i4 from "ng-zorro-antd/cascader";
9
+ import * as i5 from "@ngx-formly/core";
8
10
  export class FormlyFieldCascader extends FieldType {
9
- constructor() {
10
- super(...arguments);
11
+ constructor(fieldTemplates) {
12
+ super();
13
+ this.fieldTemplates = fieldTemplates;
11
14
  this.defaultOptions = {
12
15
  props: {
13
16
  placeholder: '请选择',
@@ -26,13 +29,28 @@ export class FormlyFieldCascader extends FieldType {
26
29
  }
27
30
  };
28
31
  }
32
+ get nzNotFoundContent() {
33
+ return resolveTplName(this.props, this.fieldTemplates, 'notFoundContent');
34
+ }
35
+ get nzExpandIcon() {
36
+ return resolveTplName(this.props, this.fieldTemplates, 'expandIcon');
37
+ }
38
+ get nzLabelRender() {
39
+ return resolveTplName(this.props, this.fieldTemplates, 'labelRender');
40
+ }
41
+ get nzOptionRender() {
42
+ return resolveTplName(this.props, this.fieldTemplates, 'optionRender');
43
+ }
44
+ get nzSuffixIcon() {
45
+ return resolveTplName(this.props, this.fieldTemplates, 'suffixIcon');
46
+ }
29
47
  ngOnInit() {
30
48
  const options = this.props['cascaderOptions'];
31
49
  if (!options || options.length === 0) {
32
50
  this.props['cascaderOptions'] = this.props.options;
33
51
  }
34
52
  }
35
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyFieldCascader, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
53
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyFieldCascader, deps: [{ token: i1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
36
54
  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
55
  #cascader
38
56
  [nzPlaceHolder]="props.placeholder ?? ''"
@@ -45,27 +63,27 @@ export class FormlyFieldCascader extends FieldType {
45
63
  [nzChangeOn]="props['changeOn']"
46
64
  [nzChangeOnSelect]="props['changeOnSelect']!!"
47
65
  [nzColumnClassName]="props['columnClassName']"
48
- [nzExpandIcon]="props['expandIcon']!"
66
+ [nzExpandIcon]="nzExpandIcon!"
49
67
  [nzExpandTrigger]="props['expandTrigger']!"
50
68
  [nzLabelProperty]="props['labelProperty']"
51
- [nzLabelRender]="props['labelRender'] ?? null"
69
+ [nzLabelRender]="nzLabelRender ?? null"
52
70
  [nzLoadData]="props['loadData']"
53
71
  [nzMenuClassName]="props['menuClassName']"
54
72
  [nzMenuStyle]="props['menuStyle'] ?? null"
55
- [nzNotFoundContent]="props['notFoundContent']"
56
- [nzOptionRender]="props['optionRender'] ?? null"
73
+ [nzNotFoundContent]="nzNotFoundContent"
74
+ [nzOptionRender]="nzOptionRender ?? null"
57
75
  [nzOptions]="props['cascaderOptions'] ?? null"
58
76
  [nzShowArrow]="props['showArrow']!!"
59
77
  [nzShowInput]="props['showInput']!!"
60
78
  [nzShowSearch]="props['showSearch']!!"
61
79
  [nzSize]="props['size']!"
62
80
  [nzStatus]="props['status'] ?? ''"
63
- [nzSuffixIcon]="props['suffixIcon']!"
81
+ [nzSuffixIcon]="nzSuffixIcon!"
64
82
  [nzValueProperty]="props['valueProperty']!"
65
83
  (nzClear)="props['onClear'] && props['onClear'](field)"
66
84
  (nzVisibleChange)="props['visibleChange'] && props['visibleChange'](field, $event)"
67
85
  (nzSelectionChange)="props['selectionChange'] && props['selectionChange'](field, $event)"
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 }); }
86
+ ></nz-cascader>`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i4.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: i5.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
69
87
  }
70
88
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyFieldCascader, decorators: [{
71
89
  type: Component,
@@ -83,22 +101,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
83
101
  [nzChangeOn]="props['changeOn']"
84
102
  [nzChangeOnSelect]="props['changeOnSelect']!!"
85
103
  [nzColumnClassName]="props['columnClassName']"
86
- [nzExpandIcon]="props['expandIcon']!"
104
+ [nzExpandIcon]="nzExpandIcon!"
87
105
  [nzExpandTrigger]="props['expandTrigger']!"
88
106
  [nzLabelProperty]="props['labelProperty']"
89
- [nzLabelRender]="props['labelRender'] ?? null"
107
+ [nzLabelRender]="nzLabelRender ?? null"
90
108
  [nzLoadData]="props['loadData']"
91
109
  [nzMenuClassName]="props['menuClassName']"
92
110
  [nzMenuStyle]="props['menuStyle'] ?? null"
93
- [nzNotFoundContent]="props['notFoundContent']"
94
- [nzOptionRender]="props['optionRender'] ?? null"
111
+ [nzNotFoundContent]="nzNotFoundContent"
112
+ [nzOptionRender]="nzOptionRender ?? null"
95
113
  [nzOptions]="props['cascaderOptions'] ?? null"
96
114
  [nzShowArrow]="props['showArrow']!!"
97
115
  [nzShowInput]="props['showInput']!!"
98
116
  [nzShowSearch]="props['showSearch']!!"
99
117
  [nzSize]="props['size']!"
100
118
  [nzStatus]="props['status'] ?? ''"
101
- [nzSuffixIcon]="props['suffixIcon']!"
119
+ [nzSuffixIcon]="nzSuffixIcon!"
102
120
  [nzValueProperty]="props['valueProperty']!"
103
121
  (nzClear)="props['onClear'] && props['onClear'](field)"
104
122
  (nzVisibleChange)="props['visibleChange'] && props['visibleChange'](field, $event)"
@@ -106,5 +124,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
106
124
  ></nz-cascader>`,
107
125
  changeDetection: ChangeDetectionStrategy.OnPush
108
126
  }]
109
- }] });
110
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzY2FkZXIudHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvY2FzY2FkZXIvc3JjL2Nhc2NhZGVyLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBcUIsdUJBQXVCLEVBQVUs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5nZU9uXT1cInByb3BzWydjaGFuZ2VPbiddXCJcbiAgICBbbnpDaGFuZ2VPblNlbGVjdF09XCJwcm9wc1snY2hhbmdlT25TZWxlY3QnXSEhXCJcbiAgICBbbnpDb2x1bW5DbGFzc05hbWVdPVwicHJvcHNbJ2NvbHVtbkNsYXNzTmFtZSddXCJcbiAgICBbbnpFeHBhbmRJY29uXT1cInByb3BzWydleHBhbmRJY29uJ10hXCJcbiAgICBbbnpFeHBhbmRUcmlnZ2VyXT1cInByb3BzWydleHBhbmRUcmlnZ2VyJ10hXCJcbiAgICBbbnpMYWJlbFByb3BlcnR5XT1cInByb3BzWydsYWJlbFByb3BlcnR5J11cIlxuICAgIFtuekxhYmVsUmVuZGVyXT1cInByb3BzWydsYWJlbFJlbmRlciddID8/IG51bGxcIlxuICAgIFtuekxvYWREYXRhXT1cInByb3BzWydsb2FkRGF0YSddXCJcbiAgICBbbnpNZW51Q2xhc3NOYW1lXT1cInByb3BzWydtZW51Q2xhc3NOYW1lJ11cIlxuICAgIFtuek1lbnVTdHlsZV09XCJwcm9wc1snbWVudVN0eWxlJ10gPz8gbnVsbFwiXG4gICAgW256Tm90Rm91bmRDb250ZW50XT1cInByb3BzWydub3RGb3VuZENvbnRlbnQnXVwiXG4gICAgW256T3B0aW9uUmVuZGVyXT1cInByb3BzWydvcHRpb25SZW5kZXInXSA/PyBudWxsXCJcbiAgICBbbnpPcHRpb25zXT1cInByb3BzWydjYXNjYWRlck9wdGlvbnMnXSA/PyBudWxsXCJcbiAgICBbbnpTaG93QXJyb3ddPVwicHJvcHNbJ3Nob3dBcnJvdyddISFcIlxuICAgIFtuelNob3dJbnB1dF09XCJwcm9wc1snc2hvd0lucHV0J10hIVwiXG4gICAgW256U2hvd1NlYXJjaF09XCJwcm9wc1snc2hvd1NlYXJjaCddISFcIlxuICAgIFtuelNpemVdPVwicHJvcHNbJ3NpemUnXSFcIlxuICAgIFtuelN0YXR1c109XCJwcm9wc1snc3RhdHVzJ10gPz8gJydc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ICAgc2hvd1NlYXJjaDogZmFsc2UsXG4gICAgICBzaXplOiAnZGVmYXVsdCcgYXMgY29uc3QsXG4gICAgICBzdGF0dXM6ICcnIGFzIGNvbnN0LFxuICAgICAgdmFsdWVQcm9wZXJ0eTogJ3ZhbHVlJyxcbiAgICAgIGNhc2NhZGVyT3B0aW9uczogW11cbiAgICB9XG4gIH07XG5cbiAgbmdPbkluaXQoKTogdm9pZCB7XG4gICAgY29uc3Qgb3B0aW9ucyA9IHRoaXMucHJvcHNbJ2Nhc2NhZGVyT3B0aW9ucyddO1xuICAgIGlmICghb3B0aW9ucyB8fCBvcHRpb25zLmxlbmd0aCA9PT0gMCkge1xuICAgICAgdGhpcy5wcm9wc1snY2FzY2FkZXJPcHRpb25zJ10gPSB0aGlzLnByb3BzLm9wdGlvbnMgYXMgTnpTYWZlQW55O1xuICAgIH1cbiAgfVxufVxuIl19
127
+ }], ctorParameters: function () { return [{ type: i1.FormlyBoxTemplates, decorators: [{
128
+ type: Optional
129
+ }] }]; } });
130
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzY2FkZXIudHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvY2FzY2FkZXIvc3JjL2Nhc2NhZGVyLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLFNBQVMsRUFFVCxRQUFRLEVBRVIsdUJBQXVCLEVBRXhCLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxTQUFTLEVBQW1CLE1BQU0sa0JBQWtCLENBQUM7QUFXOUQsT0FBTyxFQUFFLGNBQWMsRUFBRSxrQkFBa0IsRUFBRSxNQUFNLDhCQUE4QixDQUFDOzs7Ozs7O0FBOExsRixNQUFNLE9BQU8sbUJBQ1gsU0FBUSxTQUF5QztJQ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aW9ucy5sZW5ndGggPT09IDApIHtcbiAgICAgIHRoaXMucHJvcHNbJ2Nhc2NhZGVyT3B0aW9ucyddID0gdGhpcy5wcm9wcy5vcHRpb25zIGFzIE56U2FmZUFueTtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
@@ -1,18 +1,21 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
- import * as i1 from '@angular/common';
2
+ import { Component, ChangeDetectionStrategy, Optional, NgModule } from '@angular/core';
3
+ import * as i2 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
- import * as i4 from '@ngx-formly/core';
5
+ import * as i5 from '@ngx-formly/core';
6
6
  import { FieldType, FormlyModule } from '@ngx-formly/core';
7
- import * as i2 from '@angular/forms';
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 i3 from 'ng-zorro-antd/cascader';
10
+ import * as i1 from 'ngx-formly-zorro-antd/common';
11
+ import { resolveTplName, FormlyCommonModule } from 'ngx-formly-zorro-antd/common';
12
+ import * as i4 from 'ng-zorro-antd/cascader';
11
13
  import { NzCascaderModule } from 'ng-zorro-antd/cascader';
12
14
 
13
15
  class FormlyFieldCascader extends FieldType {
14
- constructor() {
15
- super(...arguments);
16
+ constructor(fieldTemplates) {
17
+ super();
18
+ this.fieldTemplates = fieldTemplates;
16
19
  this.defaultOptions = {
17
20
  props: {
18
21
  placeholder: '请选择',
@@ -31,13 +34,28 @@ class FormlyFieldCascader extends FieldType {
31
34
  }
32
35
  };
33
36
  }
37
+ get nzNotFoundContent() {
38
+ return resolveTplName(this.props, this.fieldTemplates, 'notFoundContent');
39
+ }
40
+ get nzExpandIcon() {
41
+ return resolveTplName(this.props, this.fieldTemplates, 'expandIcon');
42
+ }
43
+ get nzLabelRender() {
44
+ return resolveTplName(this.props, this.fieldTemplates, 'labelRender');
45
+ }
46
+ get nzOptionRender() {
47
+ return resolveTplName(this.props, this.fieldTemplates, 'optionRender');
48
+ }
49
+ get nzSuffixIcon() {
50
+ return resolveTplName(this.props, this.fieldTemplates, 'suffixIcon');
51
+ }
34
52
  ngOnInit() {
35
53
  const options = this.props['cascaderOptions'];
36
54
  if (!options || options.length === 0) {
37
55
  this.props['cascaderOptions'] = this.props.options;
38
56
  }
39
57
  }
40
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyFieldCascader, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
58
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyFieldCascader, deps: [{ token: i1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
41
59
  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
42
60
  #cascader
43
61
  [nzPlaceHolder]="props.placeholder ?? ''"
@@ -50,27 +68,27 @@ class FormlyFieldCascader extends FieldType {
50
68
  [nzChangeOn]="props['changeOn']"
51
69
  [nzChangeOnSelect]="props['changeOnSelect']!!"
52
70
  [nzColumnClassName]="props['columnClassName']"
53
- [nzExpandIcon]="props['expandIcon']!"
71
+ [nzExpandIcon]="nzExpandIcon!"
54
72
  [nzExpandTrigger]="props['expandTrigger']!"
55
73
  [nzLabelProperty]="props['labelProperty']"
56
- [nzLabelRender]="props['labelRender'] ?? null"
74
+ [nzLabelRender]="nzLabelRender ?? null"
57
75
  [nzLoadData]="props['loadData']"
58
76
  [nzMenuClassName]="props['menuClassName']"
59
77
  [nzMenuStyle]="props['menuStyle'] ?? null"
60
- [nzNotFoundContent]="props['notFoundContent']"
61
- [nzOptionRender]="props['optionRender'] ?? null"
78
+ [nzNotFoundContent]="nzNotFoundContent"
79
+ [nzOptionRender]="nzOptionRender ?? null"
62
80
  [nzOptions]="props['cascaderOptions'] ?? null"
63
81
  [nzShowArrow]="props['showArrow']!!"
64
82
  [nzShowInput]="props['showInput']!!"
65
83
  [nzShowSearch]="props['showSearch']!!"
66
84
  [nzSize]="props['size']!"
67
85
  [nzStatus]="props['status'] ?? ''"
68
- [nzSuffixIcon]="props['suffixIcon']!"
86
+ [nzSuffixIcon]="nzSuffixIcon!"
69
87
  [nzValueProperty]="props['valueProperty']!"
70
88
  (nzClear)="props['onClear'] && props['onClear'](field)"
71
89
  (nzVisibleChange)="props['visibleChange'] && props['visibleChange'](field, $event)"
72
90
  (nzSelectionChange)="props['selectionChange'] && props['selectionChange'](field, $event)"
73
- ></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 }); }
91
+ ></nz-cascader>`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i4.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: i5.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
74
92
  }
75
93
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyFieldCascader, decorators: [{
76
94
  type: Component,
@@ -88,22 +106,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
88
106
  [nzChangeOn]="props['changeOn']"
89
107
  [nzChangeOnSelect]="props['changeOnSelect']!!"
90
108
  [nzColumnClassName]="props['columnClassName']"
91
- [nzExpandIcon]="props['expandIcon']!"
109
+ [nzExpandIcon]="nzExpandIcon!"
92
110
  [nzExpandTrigger]="props['expandTrigger']!"
93
111
  [nzLabelProperty]="props['labelProperty']"
94
- [nzLabelRender]="props['labelRender'] ?? null"
112
+ [nzLabelRender]="nzLabelRender ?? null"
95
113
  [nzLoadData]="props['loadData']"
96
114
  [nzMenuClassName]="props['menuClassName']"
97
115
  [nzMenuStyle]="props['menuStyle'] ?? null"
98
- [nzNotFoundContent]="props['notFoundContent']"
99
- [nzOptionRender]="props['optionRender'] ?? null"
116
+ [nzNotFoundContent]="nzNotFoundContent"
117
+ [nzOptionRender]="nzOptionRender ?? null"
100
118
  [nzOptions]="props['cascaderOptions'] ?? null"
101
119
  [nzShowArrow]="props['showArrow']!!"
102
120
  [nzShowInput]="props['showInput']!!"
103
121
  [nzShowSearch]="props['showSearch']!!"
104
122
  [nzSize]="props['size']!"
105
123
  [nzStatus]="props['status'] ?? ''"
106
- [nzSuffixIcon]="props['suffixIcon']!"
124
+ [nzSuffixIcon]="nzSuffixIcon!"
107
125
  [nzValueProperty]="props['valueProperty']!"
108
126
  (nzClear)="props['onClear'] && props['onClear'](field)"
109
127
  (nzVisibleChange)="props['visibleChange'] && props['visibleChange'](field, $event)"
@@ -111,17 +129,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
111
129
  ></nz-cascader>`,
112
130
  changeDetection: ChangeDetectionStrategy.OnPush
113
131
  }]
114
- }] });
132
+ }], ctorParameters: function () { return [{ type: i1.FormlyBoxTemplates, decorators: [{
133
+ type: Optional
134
+ }] }]; } });
115
135
 
116
136
  class FormlyNzCascaderModule {
117
137
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzCascaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
118
138
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzCascaderModule, declarations: [FormlyFieldCascader], imports: [CommonModule,
119
139
  ReactiveFormsModule,
120
140
  FormlyNzFormFieldModule,
121
- NzCascaderModule, i4.FormlyModule] }); }
141
+ FormlyCommonModule,
142
+ NzCascaderModule, i5.FormlyModule] }); }
122
143
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzCascaderModule, imports: [CommonModule,
123
144
  ReactiveFormsModule,
124
145
  FormlyNzFormFieldModule,
146
+ FormlyCommonModule,
125
147
  NzCascaderModule,
126
148
  FormlyModule.forChild({
127
149
  types: [
@@ -141,6 +163,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImpor
141
163
  CommonModule,
142
164
  ReactiveFormsModule,
143
165
  FormlyNzFormFieldModule,
166
+ FormlyCommonModule,
144
167
  NzCascaderModule,
145
168
  FormlyModule.forChild({
146
169
  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 { Component, TemplateRef, Type, ChangeDetectionStrategy, OnInit } 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';\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\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\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\n /**\n * 选项的渲染模板\n */\n optionRender?: TemplateRef<{ $implicit: NzCascaderOption; index: number }> | null;\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\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]=\"props['expandIcon']!\"\n [nzExpandTrigger]=\"props['expandTrigger']!\"\n [nzLabelProperty]=\"props['labelProperty']\"\n [nzLabelRender]=\"props['labelRender'] ?? null\"\n [nzLoadData]=\"props['loadData']\"\n [nzMenuClassName]=\"props['menuClassName']\"\n [nzMenuStyle]=\"props['menuStyle'] ?? null\"\n [nzNotFoundContent]=\"props['notFoundContent']\"\n [nzOptionRender]=\"props['optionRender'] ?? 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]=\"props['suffixIcon']!\"\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\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';\n\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\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":";;;;;;;;;;;;AAoMM,MAAO,mBACX,SAAQ,SAAyC,CAAA;AAtCnD,IAAA,WAAA,GAAA;;AAyCW,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,gBAAA,aAAa,EAAE,OAAgB;AAC/B,gBAAA,aAAa,EAAE,OAAO;AACtB,gBAAA,SAAS,EAAE,I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,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;AC5BD;;AAEG;;;;"}
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,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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AkB;YAClB,gBAAgB,EAAAA,EAAA,CAAA,YAAA,CAAA,EAAA,CAAA,CAAA,EAAA;AAaP,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,sBAAsB,YAjB/B,YAAY;YACZ,mBAAmB;YACnB,uBAAuB;YACvB,kBAAkB;YAClB,gBAAgB;YAEhB,YAAY,CAAC,QAAQ,CAAC;AACpB,gBAAA,KAAK,EAAE;AACL,oBAAA;AACE,wBAAA,IAAI,EAAE,UAAU;AAChB,wBAAA,SAAS,EAAE,mBAAmB;wBAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,qBAAA;AACF,iBAAA;aACF,CAAC,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGO,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBApBlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;AACnC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBACvB,kBAAkB;wBAClB,gBAAgB;wBAEhB,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,UAAU;AAChB,oCAAA,SAAS,EAAE,mBAAmB;oCAC9B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;AC5BD;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-formly-zorro-antd",
3
- "version": "16.1.3",
3
+ "version": "16.1.4",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org",
6
6
  "access": "public"
@@ -13,8 +13,8 @@
13
13
  "@angular/platform-browser": "^16.0.0",
14
14
  "ng-zorro-antd": "^16.1.0",
15
15
  "@ngx-formly/core": "^6.0.0",
16
+ "@pkt/ng.core": "^4.0.3",
16
17
  "rxjs": "^6.5.3 || ^7.4.0",
17
- "@pkt/ng.core": "4.0.2",
18
18
  "@ant-design/icons-angular": "16.0.0"
19
19
  },
20
20
  "dependencies": {
@@ -38,36 +38,36 @@
38
38
  "esm": "./esm2022/autocomplete/ngx-formly-zorro-antd-autocomplete.mjs",
39
39
  "default": "./fesm2022/ngx-formly-zorro-antd-autocomplete.mjs"
40
40
  },
41
+ "./card-wrapper": {
42
+ "types": "./card-wrapper/index.d.ts",
43
+ "esm2022": "./esm2022/card-wrapper/ngx-formly-zorro-antd-card-wrapper.mjs",
44
+ "esm": "./esm2022/card-wrapper/ngx-formly-zorro-antd-card-wrapper.mjs",
45
+ "default": "./fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs"
46
+ },
41
47
  "./button": {
42
48
  "types": "./button/index.d.ts",
43
49
  "esm2022": "./esm2022/button/ngx-formly-zorro-antd-button.mjs",
44
50
  "esm": "./esm2022/button/ngx-formly-zorro-antd-button.mjs",
45
51
  "default": "./fesm2022/ngx-formly-zorro-antd-button.mjs"
46
52
  },
53
+ "./cascader": {
54
+ "types": "./cascader/index.d.ts",
55
+ "esm2022": "./esm2022/cascader/ngx-formly-zorro-antd-cascader.mjs",
56
+ "esm": "./esm2022/cascader/ngx-formly-zorro-antd-cascader.mjs",
57
+ "default": "./fesm2022/ngx-formly-zorro-antd-cascader.mjs"
58
+ },
47
59
  "./checkbox": {
48
60
  "types": "./checkbox/index.d.ts",
49
61
  "esm2022": "./esm2022/checkbox/ngx-formly-zorro-antd-checkbox.mjs",
50
62
  "esm": "./esm2022/checkbox/ngx-formly-zorro-antd-checkbox.mjs",
51
63
  "default": "./fesm2022/ngx-formly-zorro-antd-checkbox.mjs"
52
64
  },
53
- "./card-wrapper": {
54
- "types": "./card-wrapper/index.d.ts",
55
- "esm2022": "./esm2022/card-wrapper/ngx-formly-zorro-antd-card-wrapper.mjs",
56
- "esm": "./esm2022/card-wrapper/ngx-formly-zorro-antd-card-wrapper.mjs",
57
- "default": "./fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs"
58
- },
59
65
  "./common": {
60
66
  "types": "./common/index.d.ts",
61
67
  "esm2022": "./esm2022/common/ngx-formly-zorro-antd-common.mjs",
62
68
  "esm": "./esm2022/common/ngx-formly-zorro-antd-common.mjs",
63
69
  "default": "./fesm2022/ngx-formly-zorro-antd-common.mjs"
64
70
  },
65
- "./cascader": {
66
- "types": "./cascader/index.d.ts",
67
- "esm2022": "./esm2022/cascader/ngx-formly-zorro-antd-cascader.mjs",
68
- "esm": "./esm2022/cascader/ngx-formly-zorro-antd-cascader.mjs",
69
- "default": "./fesm2022/ngx-formly-zorro-antd-cascader.mjs"
70
- },
71
71
  "./card": {
72
72
  "types": "./card/index.d.ts",
73
73
  "esm2022": "./esm2022/card/ngx-formly-zorro-antd-card.mjs",
@@ -92,18 +92,18 @@
92
92
  "esm": "./esm2022/form-field/ngx-formly-zorro-antd-form-field.mjs",
93
93
  "default": "./fesm2022/ngx-formly-zorro-antd-form-field.mjs"
94
94
  },
95
- "./input": {
96
- "types": "./input/index.d.ts",
97
- "esm2022": "./esm2022/input/ngx-formly-zorro-antd-input.mjs",
98
- "esm": "./esm2022/input/ngx-formly-zorro-antd-input.mjs",
99
- "default": "./fesm2022/ngx-formly-zorro-antd-input.mjs"
100
- },
101
95
  "./grid": {
102
96
  "types": "./grid/index.d.ts",
103
97
  "esm2022": "./esm2022/grid/ngx-formly-zorro-antd-grid.mjs",
104
98
  "esm": "./esm2022/grid/ngx-formly-zorro-antd-grid.mjs",
105
99
  "default": "./fesm2022/ngx-formly-zorro-antd-grid.mjs"
106
100
  },
101
+ "./input": {
102
+ "types": "./input/index.d.ts",
103
+ "esm2022": "./esm2022/input/ngx-formly-zorro-antd-input.mjs",
104
+ "esm": "./esm2022/input/ngx-formly-zorro-antd-input.mjs",
105
+ "default": "./fesm2022/ngx-formly-zorro-antd-input.mjs"
106
+ },
107
107
  "./input-group": {
108
108
  "types": "./input-group/index.d.ts",
109
109
  "esm2022": "./esm2022/input-group/ngx-formly-zorro-antd-input-group.mjs",
@@ -122,18 +122,18 @@
122
122
  "esm": "./esm2022/radio/ngx-formly-zorro-antd-radio.mjs",
123
123
  "default": "./fesm2022/ngx-formly-zorro-antd-radio.mjs"
124
124
  },
125
- "./ref-template": {
126
- "types": "./ref-template/index.d.ts",
127
- "esm2022": "./esm2022/ref-template/ngx-formly-zorro-antd-ref-template.mjs",
128
- "esm": "./esm2022/ref-template/ngx-formly-zorro-antd-ref-template.mjs",
129
- "default": "./fesm2022/ngx-formly-zorro-antd-ref-template.mjs"
130
- },
131
125
  "./rate": {
132
126
  "types": "./rate/index.d.ts",
133
127
  "esm2022": "./esm2022/rate/ngx-formly-zorro-antd-rate.mjs",
134
128
  "esm": "./esm2022/rate/ngx-formly-zorro-antd-rate.mjs",
135
129
  "default": "./fesm2022/ngx-formly-zorro-antd-rate.mjs"
136
130
  },
131
+ "./ref-template": {
132
+ "types": "./ref-template/index.d.ts",
133
+ "esm2022": "./esm2022/ref-template/ngx-formly-zorro-antd-ref-template.mjs",
134
+ "esm": "./esm2022/ref-template/ngx-formly-zorro-antd-ref-template.mjs",
135
+ "default": "./fesm2022/ngx-formly-zorro-antd-ref-template.mjs"
136
+ },
137
137
  "./select": {
138
138
  "types": "./select/index.d.ts",
139
139
  "esm2022": "./esm2022/select/ngx-formly-zorro-antd-select.mjs",