ng-zorro-antd-extension 17.2.0 → 18.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/.npmignore +2 -0
  2. package/README.md +8 -7
  3. package/acl/package.json +3 -0
  4. package/blank-field/package.json +3 -0
  5. package/checkbox/package.json +3 -0
  6. package/configurable-query/configurable-query.component.d.ts +4 -5
  7. package/configurable-query/package.json +3 -0
  8. package/core/config/package.json +3 -0
  9. package/editable/package.json +3 -0
  10. package/esm2022/acl/nzx-acl.directive.mjs +4 -4
  11. package/esm2022/acl/nzx-acl.module.mjs +4 -4
  12. package/esm2022/acl/nzx-acl.service.mjs +4 -4
  13. package/esm2022/blank-field/blank-field.component.mjs +3 -3
  14. package/esm2022/blank-field/blank-field.module.mjs +4 -4
  15. package/esm2022/checkbox/checkbox-group.component.mjs +4 -4
  16. package/esm2022/checkbox/checkbox.module.mjs +4 -4
  17. package/esm2022/configurable-query/configurable-query-item/configurable-query-item.component.mjs +4 -4
  18. package/esm2022/configurable-query/configurable-query.component.mjs +29 -33
  19. package/esm2022/configurable-query/configurable-query.module.mjs +10 -10
  20. package/esm2022/configurable-query/control.directive.mjs +3 -3
  21. package/esm2022/configurable-query/controls/abstract.control.mjs +3 -3
  22. package/esm2022/configurable-query/controls/date-picker.control.mjs +4 -4
  23. package/esm2022/configurable-query/controls/input.control.mjs +3 -3
  24. package/esm2022/configurable-query/controls/range-picker.control.mjs +4 -4
  25. package/esm2022/configurable-query/controls/select.control.mjs +3 -3
  26. package/esm2022/configurable-query/controls/template.control.mjs +3 -3
  27. package/esm2022/configurable-query/query-config.service.mjs +4 -4
  28. package/esm2022/core/config/config.service.mjs +4 -4
  29. package/esm2022/editable/editable.component.mjs +4 -4
  30. package/esm2022/editable/editable.module.mjs +4 -4
  31. package/esm2022/jigsaw/jigsaw.component.mjs +4 -4
  32. package/esm2022/jigsaw/jigsaw.module.mjs +4 -4
  33. package/esm2022/pipes/map.pipe.mjs +4 -4
  34. package/esm2022/pipes/pipes.module.mjs +4 -4
  35. package/esm2022/pipes/safe-html.pipe.mjs +3 -3
  36. package/esm2022/pipes/safe-null.pipe.mjs +4 -4
  37. package/esm2022/pipes/safe-resource-url.pipe.mjs +3 -3
  38. package/esm2022/pipes/safe-script.pipe.mjs +3 -3
  39. package/esm2022/pipes/safe-style.pipe.mjs +3 -3
  40. package/esm2022/pipes/safe-url.pipe.mjs +4 -4
  41. package/esm2022/print/nzx-print-content.directive.mjs +3 -3
  42. package/esm2022/print/nzx-print-v.component.mjs +36 -35
  43. package/esm2022/print/nzx-print.component.mjs +12 -11
  44. package/esm2022/print/nzx-print.directive.mjs +6 -5
  45. package/esm2022/print/nzx-print.module.mjs +4 -4
  46. package/esm2022/simple-table/directive/expand.directive.mjs +3 -3
  47. package/esm2022/simple-table/directive/td.directive.mjs +3 -3
  48. package/esm2022/simple-table/directive/th.directive.mjs +3 -3
  49. package/esm2022/simple-table/simple-table.component.mjs +5 -5
  50. package/esm2022/simple-table/simple-table.module.mjs +4 -4
  51. package/esm2022/table-adaptor/page-table-basic.mjs +3 -3
  52. package/esm2022/table-adaptor/table-adaptor.directive.mjs +4 -4
  53. package/esm2022/table-adaptor/table-adaptor.module.mjs +4 -4
  54. package/esm2022/table-form/directive/table-expand.directive.mjs +3 -3
  55. package/esm2022/table-form/directive/table-td.directive.mjs +3 -3
  56. package/esm2022/table-form/directive/table-th.directive.mjs +3 -3
  57. package/esm2022/table-form/table-form.component.mjs +5 -5
  58. package/esm2022/table-form/table-form.module.mjs +4 -4
  59. package/esm2022/table-select/abstract-table-select.mjs +4 -4
  60. package/esm2022/table-select/key.directive.mjs +3 -3
  61. package/esm2022/table-select/nzx-table-select.module.mjs +4 -4
  62. package/esm2022/table-select/page-table-select/page-table-select.component.mjs +5 -5
  63. package/esm2022/table-select/table-select/table-select.component.mjs +5 -5
  64. package/esm2022/timer-button/timer-button.directive.mjs +4 -4
  65. package/esm2022/timer-button/timer-button.module.mjs +4 -4
  66. package/esm2022/trim/trim.directive.mjs +4 -4
  67. package/esm2022/trim/trim.module.mjs +4 -4
  68. package/esm2022/util/lib/cloneDeep.mjs +1 -1
  69. package/esm2022/util/lib/fileUtil.mjs +1 -1
  70. package/esm2022/util/lib/getElementByTag.mjs +1 -1
  71. package/esm2022/util/lib/isArray.mjs +1 -1
  72. package/esm2022/util/lib/isEmpty.mjs +1 -1
  73. package/esm2022/util/lib/isNumber.mjs +1 -1
  74. package/esm2022/util/lib/isObject.mjs +1 -1
  75. package/esm2022/util/lib/isString.mjs +1 -1
  76. package/esm2022/util/lib/toNumber.mjs +1 -1
  77. package/esm2022/util/lib/toString.mjs +1 -1
  78. package/esm2022/util/lib/trimObject.mjs +1 -1
  79. package/esm2022/util/lib/updateControlStatus.mjs +1 -1
  80. package/esm2022/wang-editor/wang-editor.component.mjs +4 -4
  81. package/esm2022/wang-editor/wang-editor.module.mjs +4 -4
  82. package/esm2022/wang-editor/wang-toolbar.component.mjs +4 -4
  83. package/fesm2022/ng-zorro-antd-extension-acl.mjs +10 -10
  84. package/fesm2022/ng-zorro-antd-extension-acl.mjs.map +1 -1
  85. package/fesm2022/ng-zorro-antd-extension-blank-field.mjs +7 -7
  86. package/fesm2022/ng-zorro-antd-extension-checkbox.mjs +7 -7
  87. package/fesm2022/ng-zorro-antd-extension-checkbox.mjs.map +1 -1
  88. package/fesm2022/ng-zorro-antd-extension-configurable-query.mjs +61 -65
  89. package/fesm2022/ng-zorro-antd-extension-configurable-query.mjs.map +1 -1
  90. package/fesm2022/ng-zorro-antd-extension-core-config.mjs +3 -3
  91. package/fesm2022/ng-zorro-antd-extension-core-config.mjs.map +1 -1
  92. package/fesm2022/ng-zorro-antd-extension-editable.mjs +7 -7
  93. package/fesm2022/ng-zorro-antd-extension-editable.mjs.map +1 -1
  94. package/fesm2022/ng-zorro-antd-extension-jigsaw.mjs +7 -7
  95. package/fesm2022/ng-zorro-antd-extension-jigsaw.mjs.map +1 -1
  96. package/fesm2022/ng-zorro-antd-extension-pipes.mjs +25 -25
  97. package/fesm2022/ng-zorro-antd-extension-pipes.mjs.map +1 -1
  98. package/fesm2022/ng-zorro-antd-extension-print.mjs +59 -56
  99. package/fesm2022/ng-zorro-antd-extension-print.mjs.map +1 -1
  100. package/fesm2022/ng-zorro-antd-extension-simple-table.mjs +17 -17
  101. package/fesm2022/ng-zorro-antd-extension-simple-table.mjs.map +1 -1
  102. package/fesm2022/ng-zorro-antd-extension-table-adaptor.mjs +10 -10
  103. package/fesm2022/ng-zorro-antd-extension-table-adaptor.mjs.map +1 -1
  104. package/fesm2022/ng-zorro-antd-extension-table-form.mjs +17 -17
  105. package/fesm2022/ng-zorro-antd-extension-table-form.mjs.map +1 -1
  106. package/fesm2022/ng-zorro-antd-extension-table-select.mjs +19 -19
  107. package/fesm2022/ng-zorro-antd-extension-table-select.mjs.map +1 -1
  108. package/fesm2022/ng-zorro-antd-extension-timer-button.mjs +8 -8
  109. package/fesm2022/ng-zorro-antd-extension-timer-button.mjs.map +1 -1
  110. package/fesm2022/ng-zorro-antd-extension-trim.mjs +9 -9
  111. package/fesm2022/ng-zorro-antd-extension-trim.mjs.map +1 -1
  112. package/fesm2022/ng-zorro-antd-extension-util.mjs +1 -1
  113. package/fesm2022/ng-zorro-antd-extension-util.mjs.map +1 -1
  114. package/fesm2022/ng-zorro-antd-extension-wang-editor.mjs +10 -10
  115. package/fesm2022/ng-zorro-antd-extension-wang-editor.mjs.map +1 -1
  116. package/i18n/package.json +3 -0
  117. package/jigsaw/package.json +3 -0
  118. package/package.json +10 -10
  119. package/pipes/package.json +3 -0
  120. package/print/package.json +3 -0
  121. package/simple-table/package.json +3 -0
  122. package/table-adaptor/package.json +3 -0
  123. package/table-form/package.json +3 -0
  124. package/table-select/package.json +3 -0
  125. package/timer-button/package.json +3 -0
  126. package/trim/package.json +3 -0
  127. package/types/package.json +3 -0
  128. package/util/package.json +3 -0
  129. package/wang-editor/package.json +3 -0
@@ -29,10 +29,10 @@ class NzxControlDirective {
29
29
  constructor(templateRef) {
30
30
  this.templateRef = templateRef;
31
31
  }
32
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: NzxControlDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
33
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.3", type: NzxControlDirective, selector: "[nzxControl]", inputs: { nzxControl: "nzxControl" }, ngImport: i0 }); }
32
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: NzxControlDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
33
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.3", type: NzxControlDirective, selector: "[nzxControl]", inputs: { nzxControl: "nzxControl" }, ngImport: i0 }); }
34
34
  }
35
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: NzxControlDirective, decorators: [{
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: NzxControlDirective, decorators: [{
36
36
  type: Directive,
37
37
  args: [{
38
38
  selector: '[nzxControl]',
@@ -45,10 +45,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImpor
45
45
  * 用来动态添加control type类型控件,类型控件需要继承此控件
46
46
  */
47
47
  class NzxAbstractControl {
48
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: NzxAbstractControl, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
49
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.3", type: NzxAbstractControl, inputs: { form: "form", control: "control" }, ngImport: i0 }); }
48
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: NzxAbstractControl, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
49
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.3", type: NzxAbstractControl, inputs: { form: "form", control: "control" }, ngImport: i0 }); }
50
50
  }
51
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: NzxAbstractControl, decorators: [{
51
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: NzxAbstractControl, decorators: [{
52
52
  type: Directive
53
53
  }], propDecorators: { form: [{
54
54
  type: Input
@@ -57,8 +57,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImpor
57
57
  }] } });
58
58
 
59
59
  class NzxDatePickerControlComponent extends NzxAbstractControl {
60
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: NzxDatePickerControlComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
61
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.3", type: NzxDatePickerControlComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
60
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: NzxDatePickerControlComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
61
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.3", type: NzxDatePickerControlComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
62
62
  <ng-container [formGroup]="form">
63
63
  <nz-date-picker
64
64
  [ngStyle]="{ width: '100%' }"
@@ -67,9 +67,9 @@ class NzxDatePickerControlComponent extends NzxAbstractControl {
67
67
  >
68
68
  </nz-date-picker>
69
69
  </ng-container>
70
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i3.NzDatePickerComponent, selector: "nz-date-picker,nz-week-picker,nz-month-picker,nz-year-picker,nz-range-picker", inputs: ["nzAllowClear", "nzAutoFocus", "nzDisabled", "nzBorderless", "nzInputReadOnly", "nzInline", "nzOpen", "nzDisabledDate", "nzLocale", "nzPlaceHolder", "nzPopupStyle", "nzDropdownClassName", "nzSize", "nzStatus", "nzFormat", "nzDateRender", "nzDisabledTime", "nzRenderExtraFooter", "nzShowToday", "nzMode", "nzShowNow", "nzRanges", "nzDefaultPickerValue", "nzSeparator", "nzSuffixIcon", "nzBackdrop", "nzId", "nzPlacement", "nzShowWeekNumber", "nzShowTime"], outputs: ["nzOnPanelChange", "nzOnCalendarChange", "nzOnOk", "nzOnOpenChange"], exportAs: ["nzDatePicker"] }] }); }
70
+ `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i3.NzDatePickerComponent, selector: "nz-date-picker,nz-week-picker,nz-month-picker,nz-quarter-picker,nz-year-picker,nz-range-picker", inputs: ["nzAllowClear", "nzAutoFocus", "nzDisabled", "nzBorderless", "nzInputReadOnly", "nzInline", "nzOpen", "nzDisabledDate", "nzLocale", "nzPlaceHolder", "nzPopupStyle", "nzDropdownClassName", "nzSize", "nzStatus", "nzFormat", "nzDateRender", "nzDisabledTime", "nzRenderExtraFooter", "nzShowToday", "nzMode", "nzShowNow", "nzRanges", "nzDefaultPickerValue", "nzSeparator", "nzSuffixIcon", "nzBackdrop", "nzId", "nzPlacement", "nzShowWeekNumber", "nzShowTime"], outputs: ["nzOnPanelChange", "nzOnCalendarChange", "nzOnOk", "nzOnOpenChange"], exportAs: ["nzDatePicker"] }] }); }
71
71
  }
72
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: NzxDatePickerControlComponent, decorators: [{
72
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: NzxDatePickerControlComponent, decorators: [{
73
73
  type: Component,
74
74
  args: [{
75
75
  template: `
@@ -86,8 +86,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImpor
86
86
  }] });
87
87
 
88
88
  class NzxInputControlComponent extends NzxAbstractControl {
89
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: NzxInputControlComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
90
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.3", type: NzxInputControlComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
89
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: NzxInputControlComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
90
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.3", type: NzxInputControlComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
91
91
  <ng-container [formGroup]="form">
92
92
  <input
93
93
  nz-input
@@ -98,7 +98,7 @@ class NzxInputControlComponent extends NzxAbstractControl {
98
98
  </ng-container>
99
99
  `, isInline: true, dependencies: [{ kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i2$1.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }] }); }
100
100
  }
101
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: NzxInputControlComponent, decorators: [{
101
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: NzxInputControlComponent, decorators: [{
102
102
  type: Component,
103
103
  args: [{
104
104
  template: `
@@ -115,8 +115,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImpor
115
115
  }] });
116
116
 
117
117
  class NzxRangePickerControlComponent extends NzxAbstractControl {
118
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: NzxRangePickerControlComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
119
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.3", type: NzxRangePickerControlComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
118
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: NzxRangePickerControlComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
119
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.3", type: NzxRangePickerControlComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
120
120
  <ng-container [formGroup]="form">
121
121
  <nz-range-picker
122
122
  [ngStyle]="{ width: '100%' }"
@@ -124,9 +124,9 @@ class NzxRangePickerControlComponent extends NzxAbstractControl {
124
124
  >
125
125
  </nz-range-picker>
126
126
  </ng-container>
127
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i3.NzDatePickerComponent, selector: "nz-date-picker,nz-week-picker,nz-month-picker,nz-year-picker,nz-range-picker", inputs: ["nzAllowClear", "nzAutoFocus", "nzDisabled", "nzBorderless", "nzInputReadOnly", "nzInline", "nzOpen", "nzDisabledDate", "nzLocale", "nzPlaceHolder", "nzPopupStyle", "nzDropdownClassName", "nzSize", "nzStatus", "nzFormat", "nzDateRender", "nzDisabledTime", "nzRenderExtraFooter", "nzShowToday", "nzMode", "nzShowNow", "nzRanges", "nzDefaultPickerValue", "nzSeparator", "nzSuffixIcon", "nzBackdrop", "nzId", "nzPlacement", "nzShowWeekNumber", "nzShowTime"], outputs: ["nzOnPanelChange", "nzOnCalendarChange", "nzOnOk", "nzOnOpenChange"], exportAs: ["nzDatePicker"] }, { kind: "directive", type: i3.NzRangePickerComponent, selector: "nz-range-picker", exportAs: ["nzRangePicker"] }] }); }
127
+ `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i3.NzDatePickerComponent, selector: "nz-date-picker,nz-week-picker,nz-month-picker,nz-quarter-picker,nz-year-picker,nz-range-picker", inputs: ["nzAllowClear", "nzAutoFocus", "nzDisabled", "nzBorderless", "nzInputReadOnly", "nzInline", "nzOpen", "nzDisabledDate", "nzLocale", "nzPlaceHolder", "nzPopupStyle", "nzDropdownClassName", "nzSize", "nzStatus", "nzFormat", "nzDateRender", "nzDisabledTime", "nzRenderExtraFooter", "nzShowToday", "nzMode", "nzShowNow", "nzRanges", "nzDefaultPickerValue", "nzSeparator", "nzSuffixIcon", "nzBackdrop", "nzId", "nzPlacement", "nzShowWeekNumber", "nzShowTime"], outputs: ["nzOnPanelChange", "nzOnCalendarChange", "nzOnOk", "nzOnOpenChange"], exportAs: ["nzDatePicker"] }, { kind: "directive", type: i3.NzRangePickerComponent, selector: "nz-range-picker", exportAs: ["nzRangePicker"] }] }); }
128
128
  }
129
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: NzxRangePickerControlComponent, decorators: [{
129
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: NzxRangePickerControlComponent, decorators: [{
130
130
  type: Component,
131
131
  args: [{
132
132
  template: `
@@ -142,8 +142,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImpor
142
142
  }] });
143
143
 
144
144
  class NzxSelectControlComponent extends NzxAbstractControl {
145
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: NzxSelectControlComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
146
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.3", type: NzxSelectControlComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
145
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: NzxSelectControlComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
146
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.3", type: NzxSelectControlComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
147
147
  <ng-container [formGroup]="form">
148
148
  <nz-select
149
149
  [formControlName]="control.controlName!"
@@ -161,7 +161,7 @@ class NzxSelectControlComponent extends NzxAbstractControl {
161
161
  </ng-container>
162
162
  `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i3$1.NzOptionComponent, selector: "nz-option", inputs: ["nzTitle", "nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i3$1.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"] }] }); }
163
163
  }
164
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: NzxSelectControlComponent, decorators: [{
164
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: NzxSelectControlComponent, decorators: [{
165
165
  type: Component,
166
166
  args: [{
167
167
  template: `
@@ -185,8 +185,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImpor
185
185
  }] });
186
186
 
187
187
  class NzxTemplateControlComponent extends NzxAbstractControl {
188
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: NzxTemplateControlComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
189
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.3", type: NzxTemplateControlComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
188
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: NzxTemplateControlComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
189
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.3", type: NzxTemplateControlComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
190
190
  <ng-container
191
191
  *ngTemplateOutlet="
192
192
  control.templateRef!;
@@ -196,7 +196,7 @@ class NzxTemplateControlComponent extends NzxAbstractControl {
196
196
  </ng-container>
197
197
  `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
198
198
  }
199
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: NzxTemplateControlComponent, decorators: [{
199
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: NzxTemplateControlComponent, decorators: [{
200
200
  type: Component,
201
201
  args: [{
202
202
  template: `
@@ -254,10 +254,10 @@ class NzxQueryConfigService {
254
254
  refreshControlType() {
255
255
  this.controlTypes$.next(this.controlTypePoll);
256
256
  }
257
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: NzxQueryConfigService, deps: [{ token: QUERY_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
258
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: NzxQueryConfigService, providedIn: 'root' }); }
257
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: NzxQueryConfigService, deps: [{ token: QUERY_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
258
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: NzxQueryConfigService, providedIn: 'root' }); }
259
259
  }
260
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: NzxQueryConfigService, decorators: [{
260
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: NzxQueryConfigService, decorators: [{
261
261
  type: Injectable,
262
262
  args: [{ providedIn: 'root' }]
263
263
  }], ctorParameters: () => [{ type: undefined, decorators: [{
@@ -297,8 +297,8 @@ class NzxConfigurableQueryItemComponent {
297
297
  throw `ControlType:: '${this.control.controlType}' is invalidate`;
298
298
  }
299
299
  }
300
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: NzxConfigurableQueryItemComponent, deps: [{ token: NzxQueryConfigService }], target: i0.ɵɵFactoryTarget.Component }); }
301
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.3", type: NzxConfigurableQueryItemComponent, selector: "nzx-configurable-query-item", inputs: { form: "form", control: "control" }, viewQueries: [{ propertyName: "controlTemplateView", first: true, predicate: ["controlTemp"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: `
300
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: NzxConfigurableQueryItemComponent, deps: [{ token: NzxQueryConfigService }], target: i0.ɵɵFactoryTarget.Component }); }
301
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.3", type: NzxConfigurableQueryItemComponent, selector: "nzx-configurable-query-item", inputs: { form: "form", control: "control" }, viewQueries: [{ propertyName: "controlTemplateView", first: true, predicate: ["controlTemp"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: `
302
302
  <nz-form-item>
303
303
  <nz-form-label *ngIf="control.label" [nzSpan]="control.nzxLSpan || 6">
304
304
  {{ control.label }}
@@ -315,7 +315,7 @@ class NzxConfigurableQueryItemComponent {
315
315
  </nz-form-item>
316
316
  `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i3$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "component", type: i4.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i4.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i4.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }] }); }
317
317
  }
318
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: NzxConfigurableQueryItemComponent, decorators: [{
318
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: NzxConfigurableQueryItemComponent, decorators: [{
319
319
  type: Component,
320
320
  args: [{
321
321
  selector: 'nzx-configurable-query-item',
@@ -388,29 +388,8 @@ class NzxConfigurableQueryComponent {
388
388
  this.defaultValue = {};
389
389
  this.cacheParams = {};
390
390
  this.destroy$ = new Subject();
391
- this._nzxBtnSpan = null;
392
391
  this.queryForm = this.fb.group({});
393
392
  }
394
- ngAfterViewInit() {
395
- if (this.queyFormEl) {
396
- fromEvent(this.queyFormEl.nativeElement, 'keydown')
397
- .pipe(takeUntil(this.destroy$))
398
- .subscribe((event) => {
399
- if (event.key === 'Enter') {
400
- event.stopPropagation();
401
- event.preventDefault();
402
- this.search();
403
- }
404
- // 检查是否同时按下了Ctrl键(在Windows/Linux上)和S键
405
- if ((event.ctrlKey || event.metaKey) && event.key === 'r') {
406
- // 注意:event.metaKey用于兼容Mac的Command键
407
- event.preventDefault(); // 阻止浏览器默认的保存行为
408
- event.stopPropagation();
409
- this.reset();
410
- }
411
- });
412
- }
413
- }
414
393
  ngOnChanges(changes) {
415
394
  if (changes['controls'] && !changes['controls'].isFirstChange()) {
416
395
  const controls = changes['controls'].currentValue;
@@ -432,7 +411,26 @@ class NzxConfigurableQueryComponent {
432
411
  ...this.fixedParams,
433
412
  };
434
413
  });
435
- this._nzxBtnSpan = this.nzxBtnSpan;
414
+ }
415
+ ngAfterViewInit() {
416
+ if (this.queyFormEl) {
417
+ fromEvent(this.queyFormEl.nativeElement, 'keydown')
418
+ .pipe(takeUntil(this.destroy$))
419
+ .subscribe((event) => {
420
+ if (event.key === 'Enter') {
421
+ event.stopPropagation();
422
+ event.preventDefault();
423
+ this.search();
424
+ }
425
+ // 检查是否同时按下了Ctrl键(在Windows/Linux上)和S键
426
+ if ((event.ctrlKey || event.metaKey) && event.key === 'r') {
427
+ // 注意:event.metaKey用于兼容Mac的Command键
428
+ event.preventDefault(); // 阻止浏览器默认的保存行为
429
+ event.stopPropagation();
430
+ this.reset();
431
+ }
432
+ });
433
+ }
436
434
  }
437
435
  ngAfterContentInit() {
438
436
  this.generateForm(this.controls);
@@ -449,14 +447,15 @@ class NzxConfigurableQueryComponent {
449
447
  * 根据controlName设置config值
450
448
  */
451
449
  setControl(controlName, config) {
452
- Promise.resolve().then(() => {
450
+ setTimeout(() => {
453
451
  const control = this.getControl(controlName);
454
452
  if (control) {
455
453
  Object.keys(config).forEach((key) => {
456
454
  control[key] = config[key];
457
455
  });
456
+ this.cd.markForCheck();
458
457
  }
459
- });
458
+ }, 0);
460
459
  }
461
460
  /**
462
461
  * 动态添加控件
@@ -509,10 +508,7 @@ class NzxConfigurableQueryComponent {
509
508
  return this.queryForm.get(path);
510
509
  }
511
510
  /** 查询 */
512
- search(event) {
513
- if (event) {
514
- event.stopPropagation();
515
- }
511
+ search() {
516
512
  if (this.queryForm.invalid) {
517
513
  updateControlStatus(this.queryForm);
518
514
  return;
@@ -584,12 +580,12 @@ class NzxConfigurableQueryComponent {
584
580
  }
585
581
  this.calculateText();
586
582
  }
587
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: NzxConfigurableQueryComponent, deps: [{ token: i1$1.NzI18nService }, { token: i2.FormBuilder }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
588
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.3", type: NzxConfigurableQueryComponent, selector: "nzx-configurable-query", inputs: { controls: "controls", nzxJustify: "nzxJustify", nzxGutter: "nzxGutter", lineNumber: "lineNumber", nzxBtnSpan: "nzxBtnSpan", initQuery: "initQuery", fixedParams: "fixedParams" }, outputs: { queryChange: "queryChange", resetChange: "resetChange" }, queries: [{ propertyName: "controlTemplateList", predicate: NzxControlDirective, descendants: true }], viewQueries: [{ propertyName: "queyFormEl", first: true, predicate: ["queyForm"], descendants: true }], exportAs: ["NzxConfigurableQuery"], usesOnChanges: true, ngImport: i0, template: "<form #queyForm class=\"nzx-query-container\" nz-form [formGroup]=\"queryForm\">\n\t<div nz-row [nzGutter]=\"nzxGutter\" [nzJustify]=\"nzxJustify\">\n\t\t<ng-container *ngFor=\"let config of controls; let i = index\">\n\t\t\t<div\n\t\t\t\t*ngIf=\"!config.hidden\"\n\t\t\t\tnz-col\n\t\t\t\t[nzSpan]=\"config.nzxSpan || 24 / lineNumber\"\n\t\t\t\t[hidden]=\"config.collapse\"\n\t\t\t\t[nzOrder]=\"i\"\n\t\t\t>\n\t\t\t\t<nzx-configurable-query-item\n\t\t\t\t\t*ngIf=\"config.controlName\"\n\t\t\t\t\t[form]=\"queryForm\"\n\t\t\t\t\t[control]=\"config\"\n\t\t\t\t></nzx-configurable-query-item>\n\t\t\t</div>\n\t\t</ng-container>\n\n\t\t<div\n\t\t\t[nzOrder]=\"controls.length\"\n\t\t\tclass=\"nzx-query-btn\"\n\t\t\tnz-col\n\t\t\t[nzSpan]=\"nzxBtnSpan || 24 / lineNumber\"\n\t\t>\n\t\t\t<div nz-row nzJustify=\"end\" nzAlign=\"middle\">\n\t\t\t\t<button\n\t\t\t\t\tnz-button\n\t\t\t\t\tnzType=\"primary\"\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t\ttitle=\"Enter\"\n\t\t\t\t\t(click)=\"search($event)\"\n\t\t\t\t>\n\t\t\t\t\t{{ locale['query'] }}\n\t\t\t\t</button>\n\t\t\t\t<button nz-button type=\"button\" title=\"ctrl+r\" (click)=\"reset()\">\n\t\t\t\t\t{{ locale['reset'] }}\n\t\t\t\t</button>\n\t\t\t\t<ng-content></ng-content>\n\t\t\t\t<a\n\t\t\t\t\t*ngIf=\"nzxCollapse\"\n\t\t\t\t\tnz-button\n\t\t\t\t\tnzType=\"link\"\n\t\t\t\t\t(click)=\"toggleCollapse()\"\n\t\t\t\t>\n\t\t\t\t\t{{ collapseText }}\n\t\t\t\t\t<i nz-icon [nzType]=\"collapseIcon\"></i>\n\t\t\t\t</a>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</form>\n", styles: [".nzx-query-container{padding:12px;background-color:#fff;border-radius:8px}.nzx-query-container [nz-form-label]{overflow:visible}.nzx-query-container .nzx-query-btn{flex-grow:2;max-width:none}.nzx-query-container .nzx-query-btn button{margin:0 4px}\n"], 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.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i3$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "directive", type: i4.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzForm"] }, { kind: "component", type: i6.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i7.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "directive", type: i8.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { kind: "directive", type: i9.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "component", type: NzxConfigurableQueryItemComponent, selector: "nzx-configurable-query-item", inputs: ["form", "control"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
583
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: NzxConfigurableQueryComponent, deps: [{ token: i1$1.NzI18nService }, { token: i2.FormBuilder }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
584
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.3", type: NzxConfigurableQueryComponent, selector: "nzx-configurable-query", inputs: { controls: "controls", nzxJustify: "nzxJustify", nzxGutter: "nzxGutter", lineNumber: "lineNumber", nzxBtnSpan: "nzxBtnSpan", initQuery: "initQuery", fixedParams: "fixedParams" }, outputs: { queryChange: "queryChange", resetChange: "resetChange" }, queries: [{ propertyName: "controlTemplateList", predicate: NzxControlDirective, descendants: true }], viewQueries: [{ propertyName: "queyFormEl", first: true, predicate: ["queyForm"], descendants: true }], exportAs: ["NzxConfigurableQuery"], usesOnChanges: true, ngImport: i0, template: "<form #queyForm class=\"nzx-query-container\" nz-form [formGroup]=\"queryForm\">\n <div nz-row [nzGutter]=\"nzxGutter\" [nzJustify]=\"nzxJustify\">\n <ng-container *ngFor=\"let config of controls; let i = index\">\n <div\n *ngIf=\"!config.hidden\"\n nz-col\n [nzSpan]=\"config.nzxSpan || 24 / lineNumber\"\n [hidden]=\"config.collapse\"\n [nzOrder]=\"i\"\n >\n <nzx-configurable-query-item\n *ngIf=\"config.controlName\"\n [form]=\"queryForm\"\n [control]=\"config\"\n ></nzx-configurable-query-item>\n </div>\n </ng-container>\n\n <div\n class=\"nzx-query-btn\"\n nz-col\n [nzOrder]=\"controls.length\"\n [nzSpan]=\"nzxBtnSpan || 24 / lineNumber\"\n >\n <div nz-row nzJustify=\"end\" nzAlign=\"middle\">\n <button\n nz-button\n nzType=\"primary\"\n type=\"button\"\n title=\"Enter\"\n (click)=\"search()\"\n >\n {{ locale['query'] }}\n </button>\n <button nz-button type=\"button\" title=\"ctrl+r\" (click)=\"reset()\">\n {{ locale['reset'] }}\n </button>\n <ng-content></ng-content>\n <a\n *ngIf=\"nzxCollapse\"\n nz-button\n nzType=\"link\"\n (click)=\"toggleCollapse()\"\n >\n {{ collapseText }}\n <i nz-icon [nzType]=\"collapseIcon\"></i>\n </a>\n </div>\n </div>\n </div>\n</form>\n", styles: [".nzx-query-container{padding:12px;background-color:#fff;border-radius:8px}.nzx-query-container [nz-form-label]{overflow:visible}.nzx-query-container .nzx-query-btn{flex-grow:2;max-width:none}.nzx-query-container .nzx-query-btn button{margin:0 4px}\n"], 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.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i3$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "directive", type: i4.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzForm"] }, { kind: "component", type: i6.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i7.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "directive", type: i8.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { kind: "directive", type: i9.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "component", type: NzxConfigurableQueryItemComponent, selector: "nzx-configurable-query-item", inputs: ["form", "control"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
589
585
  }
590
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: NzxConfigurableQueryComponent, decorators: [{
586
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: NzxConfigurableQueryComponent, decorators: [{
591
587
  type: Component,
592
- args: [{ selector: 'nzx-configurable-query', changeDetection: ChangeDetectionStrategy.OnPush, exportAs: 'NzxConfigurableQuery', template: "<form #queyForm class=\"nzx-query-container\" nz-form [formGroup]=\"queryForm\">\n\t<div nz-row [nzGutter]=\"nzxGutter\" [nzJustify]=\"nzxJustify\">\n\t\t<ng-container *ngFor=\"let config of controls; let i = index\">\n\t\t\t<div\n\t\t\t\t*ngIf=\"!config.hidden\"\n\t\t\t\tnz-col\n\t\t\t\t[nzSpan]=\"config.nzxSpan || 24 / lineNumber\"\n\t\t\t\t[hidden]=\"config.collapse\"\n\t\t\t\t[nzOrder]=\"i\"\n\t\t\t>\n\t\t\t\t<nzx-configurable-query-item\n\t\t\t\t\t*ngIf=\"config.controlName\"\n\t\t\t\t\t[form]=\"queryForm\"\n\t\t\t\t\t[control]=\"config\"\n\t\t\t\t></nzx-configurable-query-item>\n\t\t\t</div>\n\t\t</ng-container>\n\n\t\t<div\n\t\t\t[nzOrder]=\"controls.length\"\n\t\t\tclass=\"nzx-query-btn\"\n\t\t\tnz-col\n\t\t\t[nzSpan]=\"nzxBtnSpan || 24 / lineNumber\"\n\t\t>\n\t\t\t<div nz-row nzJustify=\"end\" nzAlign=\"middle\">\n\t\t\t\t<button\n\t\t\t\t\tnz-button\n\t\t\t\t\tnzType=\"primary\"\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t\ttitle=\"Enter\"\n\t\t\t\t\t(click)=\"search($event)\"\n\t\t\t\t>\n\t\t\t\t\t{{ locale['query'] }}\n\t\t\t\t</button>\n\t\t\t\t<button nz-button type=\"button\" title=\"ctrl+r\" (click)=\"reset()\">\n\t\t\t\t\t{{ locale['reset'] }}\n\t\t\t\t</button>\n\t\t\t\t<ng-content></ng-content>\n\t\t\t\t<a\n\t\t\t\t\t*ngIf=\"nzxCollapse\"\n\t\t\t\t\tnz-button\n\t\t\t\t\tnzType=\"link\"\n\t\t\t\t\t(click)=\"toggleCollapse()\"\n\t\t\t\t>\n\t\t\t\t\t{{ collapseText }}\n\t\t\t\t\t<i nz-icon [nzType]=\"collapseIcon\"></i>\n\t\t\t\t</a>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</form>\n", styles: [".nzx-query-container{padding:12px;background-color:#fff;border-radius:8px}.nzx-query-container [nz-form-label]{overflow:visible}.nzx-query-container .nzx-query-btn{flex-grow:2;max-width:none}.nzx-query-container .nzx-query-btn button{margin:0 4px}\n"] }]
588
+ args: [{ selector: 'nzx-configurable-query', changeDetection: ChangeDetectionStrategy.OnPush, exportAs: 'NzxConfigurableQuery', template: "<form #queyForm class=\"nzx-query-container\" nz-form [formGroup]=\"queryForm\">\n <div nz-row [nzGutter]=\"nzxGutter\" [nzJustify]=\"nzxJustify\">\n <ng-container *ngFor=\"let config of controls; let i = index\">\n <div\n *ngIf=\"!config.hidden\"\n nz-col\n [nzSpan]=\"config.nzxSpan || 24 / lineNumber\"\n [hidden]=\"config.collapse\"\n [nzOrder]=\"i\"\n >\n <nzx-configurable-query-item\n *ngIf=\"config.controlName\"\n [form]=\"queryForm\"\n [control]=\"config\"\n ></nzx-configurable-query-item>\n </div>\n </ng-container>\n\n <div\n class=\"nzx-query-btn\"\n nz-col\n [nzOrder]=\"controls.length\"\n [nzSpan]=\"nzxBtnSpan || 24 / lineNumber\"\n >\n <div nz-row nzJustify=\"end\" nzAlign=\"middle\">\n <button\n nz-button\n nzType=\"primary\"\n type=\"button\"\n title=\"Enter\"\n (click)=\"search()\"\n >\n {{ locale['query'] }}\n </button>\n <button nz-button type=\"button\" title=\"ctrl+r\" (click)=\"reset()\">\n {{ locale['reset'] }}\n </button>\n <ng-content></ng-content>\n <a\n *ngIf=\"nzxCollapse\"\n nz-button\n nzType=\"link\"\n (click)=\"toggleCollapse()\"\n >\n {{ collapseText }}\n <i nz-icon [nzType]=\"collapseIcon\"></i>\n </a>\n </div>\n </div>\n </div>\n</form>\n", styles: [".nzx-query-container{padding:12px;background-color:#fff;border-radius:8px}.nzx-query-container [nz-form-label]{overflow:visible}.nzx-query-container .nzx-query-btn{flex-grow:2;max-width:none}.nzx-query-container .nzx-query-btn button{margin:0 4px}\n"] }]
593
589
  }], ctorParameters: () => [{ type: i1$1.NzI18nService }, { type: i2.FormBuilder }, { type: i0.ChangeDetectorRef }], propDecorators: { controls: [{
594
590
  type: Input
595
591
  }], nzxJustify: [{
@@ -640,8 +636,8 @@ class NzxConfigurableQueryModule {
640
636
  ],
641
637
  };
642
638
  }
643
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: NzxConfigurableQueryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
644
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.3", ngImport: i0, type: NzxConfigurableQueryModule, declarations: [NzxConfigurableQueryComponent,
639
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: NzxConfigurableQueryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
640
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.3", ngImport: i0, type: NzxConfigurableQueryModule, declarations: [NzxConfigurableQueryComponent,
645
641
  NzxControlDirective,
646
642
  NzxConfigurableQueryItemComponent,
647
643
  NzxInputControlComponent,
@@ -658,7 +654,7 @@ class NzxConfigurableQueryModule {
658
654
  NzDatePickerModule,
659
655
  NzIconModule,
660
656
  NzI18nModule], exports: [NzxControlDirective, NzxConfigurableQueryComponent] }); }
661
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: NzxConfigurableQueryModule, imports: [CommonModule,
657
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: NzxConfigurableQueryModule, imports: [CommonModule,
662
658
  ReactiveFormsModule,
663
659
  NzInputModule,
664
660
  NzFormModule,
@@ -669,7 +665,7 @@ class NzxConfigurableQueryModule {
669
665
  NzIconModule,
670
666
  NzI18nModule] }); }
671
667
  }
672
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.3", ngImport: i0, type: NzxConfigurableQueryModule, decorators: [{
668
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.3", ngImport: i0, type: NzxConfigurableQueryModule, decorators: [{
673
669
  type: NgModule,
674
670
  args: [{
675
671
  declarations: [