ngx-axis-appforge 1.0.13 → 1.0.14

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 (203) hide show
  1. package/fesm2022/ngx-axis-appforge-axis-components-badge-design.mjs +9 -6
  2. package/fesm2022/ngx-axis-appforge-axis-components-badge-design.mjs.map +1 -1
  3. package/fesm2022/ngx-axis-appforge-axis-components-badge.mjs +35 -19
  4. package/fesm2022/ngx-axis-appforge-axis-components-badge.mjs.map +1 -1
  5. package/fesm2022/ngx-axis-appforge-axis-components-button-design.mjs +3 -3
  6. package/fesm2022/ngx-axis-appforge-axis-components-button-design.mjs.map +1 -1
  7. package/fesm2022/ngx-axis-appforge-axis-components-button.mjs +31 -17
  8. package/fesm2022/ngx-axis-appforge-axis-components-button.mjs.map +1 -1
  9. package/fesm2022/ngx-axis-appforge-axis-components-checkbox-design.mjs +5 -4
  10. package/fesm2022/ngx-axis-appforge-axis-components-checkbox-design.mjs.map +1 -1
  11. package/fesm2022/ngx-axis-appforge-axis-components-checkbox.mjs +23 -13
  12. package/fesm2022/ngx-axis-appforge-axis-components-checkbox.mjs.map +1 -1
  13. package/fesm2022/ngx-axis-appforge-axis-components-color-picker-design.mjs +3 -3
  14. package/fesm2022/ngx-axis-appforge-axis-components-color-picker-design.mjs.map +1 -1
  15. package/fesm2022/ngx-axis-appforge-axis-components-color-picker.mjs +17 -10
  16. package/fesm2022/ngx-axis-appforge-axis-components-color-picker.mjs.map +1 -1
  17. package/fesm2022/ngx-axis-appforge-axis-components-cytoscape-design.mjs +7 -7
  18. package/fesm2022/ngx-axis-appforge-axis-components-cytoscape-design.mjs.map +1 -1
  19. package/fesm2022/ngx-axis-appforge-axis-components-cytoscape.mjs +3 -3
  20. package/fesm2022/ngx-axis-appforge-axis-components-cytoscape.mjs.map +1 -1
  21. package/fesm2022/ngx-axis-appforge-axis-components-date-picker-design.mjs +3 -3
  22. package/fesm2022/ngx-axis-appforge-axis-components-date-picker-design.mjs.map +1 -1
  23. package/fesm2022/ngx-axis-appforge-axis-components-date-picker.mjs +35 -19
  24. package/fesm2022/ngx-axis-appforge-axis-components-date-picker.mjs.map +1 -1
  25. package/fesm2022/ngx-axis-appforge-axis-components-desc-design.mjs +10 -10
  26. package/fesm2022/ngx-axis-appforge-axis-components-desc-design.mjs.map +1 -1
  27. package/fesm2022/ngx-axis-appforge-axis-components-desc.mjs +29 -16
  28. package/fesm2022/ngx-axis-appforge-axis-components-desc.mjs.map +1 -1
  29. package/fesm2022/ngx-axis-appforge-axis-components-design-design.mjs +3 -3
  30. package/fesm2022/ngx-axis-appforge-axis-components-design-design.mjs.map +1 -1
  31. package/fesm2022/ngx-axis-appforge-axis-components-design.mjs +76 -48
  32. package/fesm2022/ngx-axis-appforge-axis-components-design.mjs.map +1 -1
  33. package/fesm2022/ngx-axis-appforge-axis-components-drawer-design.mjs +7 -7
  34. package/fesm2022/ngx-axis-appforge-axis-components-drawer-design.mjs.map +1 -1
  35. package/fesm2022/ngx-axis-appforge-axis-components-drawer.mjs +33 -18
  36. package/fesm2022/ngx-axis-appforge-axis-components-drawer.mjs.map +1 -1
  37. package/fesm2022/ngx-axis-appforge-axis-components-dropdown-design.mjs +9 -6
  38. package/fesm2022/ngx-axis-appforge-axis-components-dropdown-design.mjs.map +1 -1
  39. package/fesm2022/ngx-axis-appforge-axis-components-dropdown.mjs +15 -9
  40. package/fesm2022/ngx-axis-appforge-axis-components-dropdown.mjs.map +1 -1
  41. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container-design.mjs +3 -3
  42. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container-design.mjs.map +1 -1
  43. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container.mjs +15 -9
  44. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container.mjs.map +1 -1
  45. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-value-design.mjs +3 -3
  46. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-value-design.mjs.map +1 -1
  47. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-value.mjs +9 -6
  48. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-value.mjs.map +1 -1
  49. package/fesm2022/ngx-axis-appforge-axis-components-echarts-design.mjs +3 -3
  50. package/fesm2022/ngx-axis-appforge-axis-components-echarts-design.mjs.map +1 -1
  51. package/fesm2022/ngx-axis-appforge-axis-components-echarts.mjs +17 -10
  52. package/fesm2022/ngx-axis-appforge-axis-components-echarts.mjs.map +1 -1
  53. package/fesm2022/ngx-axis-appforge-axis-components-edit-table-design.mjs +18 -16
  54. package/fesm2022/ngx-axis-appforge-axis-components-edit-table-design.mjs.map +1 -1
  55. package/fesm2022/ngx-axis-appforge-axis-components-edit-table.mjs +115 -60
  56. package/fesm2022/ngx-axis-appforge-axis-components-edit-table.mjs.map +1 -1
  57. package/fesm2022/ngx-axis-appforge-axis-components-editor-design.mjs +3 -3
  58. package/fesm2022/ngx-axis-appforge-axis-components-editor-design.mjs.map +1 -1
  59. package/fesm2022/ngx-axis-appforge-axis-components-editor.mjs +13 -8
  60. package/fesm2022/ngx-axis-appforge-axis-components-editor.mjs.map +1 -1
  61. package/fesm2022/ngx-axis-appforge-axis-components-flex-design.mjs +3 -3
  62. package/fesm2022/ngx-axis-appforge-axis-components-flex-design.mjs.map +1 -1
  63. package/fesm2022/ngx-axis-appforge-axis-components-flex.mjs +17 -10
  64. package/fesm2022/ngx-axis-appforge-axis-components-flex.mjs.map +1 -1
  65. package/fesm2022/ngx-axis-appforge-axis-components-form-design.mjs +3 -3
  66. package/fesm2022/ngx-axis-appforge-axis-components-form-design.mjs.map +1 -1
  67. package/fesm2022/ngx-axis-appforge-axis-components-form-item-design.mjs +3 -3
  68. package/fesm2022/ngx-axis-appforge-axis-components-form-item-design.mjs.map +1 -1
  69. package/fesm2022/ngx-axis-appforge-axis-components-form-item.mjs +19 -11
  70. package/fesm2022/ngx-axis-appforge-axis-components-form-item.mjs.map +1 -1
  71. package/fesm2022/ngx-axis-appforge-axis-components-form.mjs +7 -5
  72. package/fesm2022/ngx-axis-appforge-axis-components-form.mjs.map +1 -1
  73. package/fesm2022/ngx-axis-appforge-axis-components-icon-design.mjs +6 -5
  74. package/fesm2022/ngx-axis-appforge-axis-components-icon-design.mjs.map +1 -1
  75. package/fesm2022/ngx-axis-appforge-axis-components-icon.mjs +9 -6
  76. package/fesm2022/ngx-axis-appforge-axis-components-icon.mjs.map +1 -1
  77. package/fesm2022/ngx-axis-appforge-axis-components-image-design.mjs +3 -3
  78. package/fesm2022/ngx-axis-appforge-axis-components-image-design.mjs.map +1 -1
  79. package/fesm2022/ngx-axis-appforge-axis-components-image.mjs +10 -7
  80. package/fesm2022/ngx-axis-appforge-axis-components-image.mjs.map +1 -1
  81. package/fesm2022/ngx-axis-appforge-axis-components-input-component-design.mjs +3 -3
  82. package/fesm2022/ngx-axis-appforge-axis-components-input-component-design.mjs.map +1 -1
  83. package/fesm2022/ngx-axis-appforge-axis-components-input-component.mjs +21 -12
  84. package/fesm2022/ngx-axis-appforge-axis-components-input-component.mjs.map +1 -1
  85. package/fesm2022/ngx-axis-appforge-axis-components-input-design.mjs +60 -4
  86. package/fesm2022/ngx-axis-appforge-axis-components-input-design.mjs.map +1 -1
  87. package/fesm2022/ngx-axis-appforge-axis-components-input-icon-design.mjs +3 -3
  88. package/fesm2022/ngx-axis-appforge-axis-components-input-icon-design.mjs.map +1 -1
  89. package/fesm2022/ngx-axis-appforge-axis-components-input-icon.mjs +21 -8
  90. package/fesm2022/ngx-axis-appforge-axis-components-input-icon.mjs.map +1 -1
  91. package/fesm2022/ngx-axis-appforge-axis-components-input-json-design.mjs +3 -3
  92. package/fesm2022/ngx-axis-appforge-axis-components-input-json-design.mjs.map +1 -1
  93. package/fesm2022/ngx-axis-appforge-axis-components-input-json.mjs +12 -8
  94. package/fesm2022/ngx-axis-appforge-axis-components-input-json.mjs.map +1 -1
  95. package/fesm2022/ngx-axis-appforge-axis-components-input-list-design.mjs +3 -3
  96. package/fesm2022/ngx-axis-appforge-axis-components-input-list-design.mjs.map +1 -1
  97. package/fesm2022/ngx-axis-appforge-axis-components-input-list.mjs +9 -6
  98. package/fesm2022/ngx-axis-appforge-axis-components-input-list.mjs.map +1 -1
  99. package/fesm2022/ngx-axis-appforge-axis-components-input-number-design.mjs +3 -3
  100. package/fesm2022/ngx-axis-appforge-axis-components-input-number-design.mjs.map +1 -1
  101. package/fesm2022/ngx-axis-appforge-axis-components-input-number.mjs +27 -15
  102. package/fesm2022/ngx-axis-appforge-axis-components-input-number.mjs.map +1 -1
  103. package/fesm2022/ngx-axis-appforge-axis-components-input.mjs +24 -13
  104. package/fesm2022/ngx-axis-appforge-axis-components-input.mjs.map +1 -1
  105. package/fesm2022/ngx-axis-appforge-axis-components-loop-task-design.mjs +7 -7
  106. package/fesm2022/ngx-axis-appforge-axis-components-loop-task-design.mjs.map +1 -1
  107. package/fesm2022/ngx-axis-appforge-axis-components-loop-task.mjs +17 -10
  108. package/fesm2022/ngx-axis-appforge-axis-components-loop-task.mjs.map +1 -1
  109. package/fesm2022/ngx-axis-appforge-axis-components-menu-design.mjs +20 -17
  110. package/fesm2022/ngx-axis-appforge-axis-components-menu-design.mjs.map +1 -1
  111. package/fesm2022/ngx-axis-appforge-axis-components-menu.mjs +43 -23
  112. package/fesm2022/ngx-axis-appforge-axis-components-menu.mjs.map +1 -1
  113. package/fesm2022/ngx-axis-appforge-axis-components-modal-design.mjs +9 -8
  114. package/fesm2022/ngx-axis-appforge-axis-components-modal-design.mjs.map +1 -1
  115. package/fesm2022/ngx-axis-appforge-axis-components-modal.mjs +33 -18
  116. package/fesm2022/ngx-axis-appforge-axis-components-modal.mjs.map +1 -1
  117. package/fesm2022/ngx-axis-appforge-axis-components-radio-design.mjs +5 -4
  118. package/fesm2022/ngx-axis-appforge-axis-components-radio-design.mjs.map +1 -1
  119. package/fesm2022/ngx-axis-appforge-axis-components-radio.mjs +27 -15
  120. package/fesm2022/ngx-axis-appforge-axis-components-radio.mjs.map +1 -1
  121. package/fesm2022/ngx-axis-appforge-axis-components-rate-design.mjs +3 -3
  122. package/fesm2022/ngx-axis-appforge-axis-components-rate-design.mjs.map +1 -1
  123. package/fesm2022/ngx-axis-appforge-axis-components-rate.mjs +9 -6
  124. package/fesm2022/ngx-axis-appforge-axis-components-rate.mjs.map +1 -1
  125. package/fesm2022/ngx-axis-appforge-axis-components-read-file-design.mjs +3 -3
  126. package/fesm2022/ngx-axis-appforge-axis-components-read-file-design.mjs.map +1 -1
  127. package/fesm2022/ngx-axis-appforge-axis-components-read-file.mjs +31 -17
  128. package/fesm2022/ngx-axis-appforge-axis-components-read-file.mjs.map +1 -1
  129. package/fesm2022/ngx-axis-appforge-axis-components-rich-text-editor-design.mjs +3 -3
  130. package/fesm2022/ngx-axis-appforge-axis-components-rich-text-editor-design.mjs.map +1 -1
  131. package/fesm2022/ngx-axis-appforge-axis-components-rich-text-editor.mjs +13 -8
  132. package/fesm2022/ngx-axis-appforge-axis-components-rich-text-editor.mjs.map +1 -1
  133. package/fesm2022/ngx-axis-appforge-axis-components-scope-design.mjs +32 -22
  134. package/fesm2022/ngx-axis-appforge-axis-components-scope-design.mjs.map +1 -1
  135. package/fesm2022/ngx-axis-appforge-axis-components-scope.mjs +11 -7
  136. package/fesm2022/ngx-axis-appforge-axis-components-scope.mjs.map +1 -1
  137. package/fesm2022/ngx-axis-appforge-axis-components-select-design.mjs +5 -4
  138. package/fesm2022/ngx-axis-appforge-axis-components-select-design.mjs.map +1 -1
  139. package/fesm2022/ngx-axis-appforge-axis-components-select.mjs +55 -29
  140. package/fesm2022/ngx-axis-appforge-axis-components-select.mjs.map +1 -1
  141. package/fesm2022/ngx-axis-appforge-axis-components-single-selector-design.mjs +5 -4
  142. package/fesm2022/ngx-axis-appforge-axis-components-single-selector-design.mjs.map +1 -1
  143. package/fesm2022/ngx-axis-appforge-axis-components-single-selector.mjs +42 -22
  144. package/fesm2022/ngx-axis-appforge-axis-components-single-selector.mjs.map +1 -1
  145. package/fesm2022/ngx-axis-appforge-axis-components-splitter-design.mjs +10 -10
  146. package/fesm2022/ngx-axis-appforge-axis-components-splitter-design.mjs.map +1 -1
  147. package/fesm2022/ngx-axis-appforge-axis-components-splitter.mjs +25 -14
  148. package/fesm2022/ngx-axis-appforge-axis-components-splitter.mjs.map +1 -1
  149. package/fesm2022/ngx-axis-appforge-axis-components-steps-design.mjs +10 -10
  150. package/fesm2022/ngx-axis-appforge-axis-components-steps-design.mjs.map +1 -1
  151. package/fesm2022/ngx-axis-appforge-axis-components-steps.mjs +45 -24
  152. package/fesm2022/ngx-axis-appforge-axis-components-steps.mjs.map +1 -1
  153. package/fesm2022/ngx-axis-appforge-axis-components-switch-design.mjs +3 -3
  154. package/fesm2022/ngx-axis-appforge-axis-components-switch-design.mjs.map +1 -1
  155. package/fesm2022/ngx-axis-appforge-axis-components-switch.mjs +15 -9
  156. package/fesm2022/ngx-axis-appforge-axis-components-switch.mjs.map +1 -1
  157. package/fesm2022/ngx-axis-appforge-axis-components-table-design.mjs +35 -23
  158. package/fesm2022/ngx-axis-appforge-axis-components-table-design.mjs.map +1 -1
  159. package/fesm2022/ngx-axis-appforge-axis-components-table-helper.mjs +73 -44
  160. package/fesm2022/ngx-axis-appforge-axis-components-table-helper.mjs.map +1 -1
  161. package/fesm2022/ngx-axis-appforge-axis-components-table.mjs +162 -84
  162. package/fesm2022/ngx-axis-appforge-axis-components-table.mjs.map +1 -1
  163. package/fesm2022/ngx-axis-appforge-axis-components-tabs-design.mjs +10 -10
  164. package/fesm2022/ngx-axis-appforge-axis-components-tabs-design.mjs.map +1 -1
  165. package/fesm2022/ngx-axis-appforge-axis-components-tabs.mjs +45 -24
  166. package/fesm2022/ngx-axis-appforge-axis-components-tabs.mjs.map +1 -1
  167. package/fesm2022/ngx-axis-appforge-axis-components-text-design.mjs +3 -3
  168. package/fesm2022/ngx-axis-appforge-axis-components-text-design.mjs.map +1 -1
  169. package/fesm2022/ngx-axis-appforge-axis-components-text.mjs +19 -11
  170. package/fesm2022/ngx-axis-appforge-axis-components-text.mjs.map +1 -1
  171. package/fesm2022/ngx-axis-appforge-axis-components-textarea-design.mjs +3 -3
  172. package/fesm2022/ngx-axis-appforge-axis-components-textarea-design.mjs.map +1 -1
  173. package/fesm2022/ngx-axis-appforge-axis-components-textarea.mjs +22 -12
  174. package/fesm2022/ngx-axis-appforge-axis-components-textarea.mjs.map +1 -1
  175. package/fesm2022/ngx-axis-appforge-axis-components-time-line-design.mjs +16 -13
  176. package/fesm2022/ngx-axis-appforge-axis-components-time-line-design.mjs.map +1 -1
  177. package/fesm2022/ngx-axis-appforge-axis-components-time-line.mjs +31 -17
  178. package/fesm2022/ngx-axis-appforge-axis-components-time-line.mjs.map +1 -1
  179. package/fesm2022/ngx-axis-appforge-axis-components-timer-design.mjs +3 -3
  180. package/fesm2022/ngx-axis-appforge-axis-components-timer-design.mjs.map +1 -1
  181. package/fesm2022/ngx-axis-appforge-axis-components-timer.mjs +7 -5
  182. package/fesm2022/ngx-axis-appforge-axis-components-timer.mjs.map +1 -1
  183. package/fesm2022/ngx-axis-appforge-axis-components-transfer-design.mjs +16 -13
  184. package/fesm2022/ngx-axis-appforge-axis-components-transfer-design.mjs.map +1 -1
  185. package/fesm2022/ngx-axis-appforge-axis-components-transfer.mjs +131 -67
  186. package/fesm2022/ngx-axis-appforge-axis-components-transfer.mjs.map +1 -1
  187. package/fesm2022/ngx-axis-appforge-axis-components-tree-selector-design.mjs +14 -12
  188. package/fesm2022/ngx-axis-appforge-axis-components-tree-selector-design.mjs.map +1 -1
  189. package/fesm2022/ngx-axis-appforge-axis-components-tree-selector.mjs +87 -45
  190. package/fesm2022/ngx-axis-appforge-axis-components-tree-selector.mjs.map +1 -1
  191. package/fesm2022/ngx-axis-appforge-axis-components-upload-design.mjs +3 -3
  192. package/fesm2022/ngx-axis-appforge-axis-components-upload-design.mjs.map +1 -1
  193. package/fesm2022/ngx-axis-appforge-axis-components-upload.mjs +51 -27
  194. package/fesm2022/ngx-axis-appforge-axis-components-upload.mjs.map +1 -1
  195. package/fesm2022/ngx-axis-appforge-axis-components-video-design.mjs +3 -3
  196. package/fesm2022/ngx-axis-appforge-axis-components-video-design.mjs.map +1 -1
  197. package/fesm2022/ngx-axis-appforge-axis-components-video.mjs +3 -3
  198. package/fesm2022/ngx-axis-appforge-axis-components-video.mjs.map +1 -1
  199. package/fesm2022/ngx-axis-appforge-core.mjs +274 -192
  200. package/fesm2022/ngx-axis-appforge-core.mjs.map +1 -1
  201. package/package.json +9 -9
  202. package/types/ngx-axis-appforge-axis-components-input-icon.d.ts +1 -0
  203. package/types/ngx-axis-appforge-axis-components-input.d.ts +1 -0
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-axis-appforge-axis-components-input-list.mjs","sources":["../../../axis-components/input-list/input-list.options.ts","../../../axis-components/input-list/input-list.ts","../../../axis-components/input-list/input-list.html","../../../axis-components/input-list/ngx-axis-appforge-axis-components-input-list.ts"],"sourcesContent":["import { signal } from \"@angular/core\";\nimport { ValueAccessOptions } from \"ngx-axis-appforge/core\";\n\nexport class InputListOptions extends ValueAccessOptions {\n readonly maxLength = signal<number | undefined>(undefined);\n readonly addButtonText = signal(\"添加\");\n readonly child = signal<any>(undefined);\n}","import { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, inject, OnInit } from '@angular/core';\nimport { InputListOptions } from './input-list.options';\nimport { AbstractControl, FormArray, FormBuilder, FormsModule, UntypedFormGroup, ReactiveFormsModule } from '@angular/forms';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport { DynamicDirective, RegisteValueAccessOptions, updateAndValidAll, ValueAccess } from 'ngx-axis-appforge/core';\nimport { NzFlexModule } from \"ng-zorro-antd/flex\";\nimport { NzButtonModule } from 'ng-zorro-antd/button';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\n\n@Component({\n selector: 'axis-input-list',\n imports: [NzInputModule, FormsModule, DynamicDirective, NzFlexModule, NzButtonModule, NzIconModule, ReactiveFormsModule],\n templateUrl: './input-list.html',\n styleUrl: './input-list.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputList extends ValueAccess<InputListOptions> implements OnInit {\n\n constructor() {\n super();\n this.addSubscribe(this.fa.valueChanges.subscribe(v => {\n this.value.set(v);\n this.onChange?.(this.value());\n }));\n }\n\n override options: InputListOptions = new InputListOptions();\n private readonly cdr = inject(ChangeDetectorRef);\n private readonly fb = inject(FormBuilder);\n readonly fg: UntypedFormGroup = this.fb.group({\n values: this.fb.array([])\n });\n get fa(): FormArray<AbstractControl> {\n return this.fg.get(\"values\") as FormArray<AbstractControl>;\n }\n\n override setInitValue(value: any) {\n super.setInitValue(value);\n this.valueToFormValue();\n }\n\n override writeValue(value: any): void {\n super.writeValue(value);\n this.valueToFormValue();\n }\n\n ngOnInit(): void {\n this.registeValueAccess?.({\n validFn: (control: AbstractControl) => {\n return updateAndValidAll(this.fg, { markAsDirty: control.dirty })\n }\n })\n }\n\n onRegisteValueAccess(opt: RegisteValueAccessOptions, index: number) {\n if (opt.initValue !== undefined) {\n this.fa.at(index).setValue(opt.initValue, { emitEvent: false });\n }\n if (opt.validFn) {\n this.fa.at(index).setValidators((c) => opt.validFn!(c) ? null : { error: true });\n }\n }\n\n private valueToFormValue() {\n if (this.value() !== undefined) {\n if (Array.isArray(this.value())) {\n this.fa.clear({ emitEvent: false });\n this.value().forEach((item: any) => {\n this.fa.push(this.fb.control(item), { emitEvent: false });\n });\n } else {\n this.fa.clear({ emitEvent: false });\n }\n }\n this.cdr.markForCheck();\n }\n\n add() {\n this.fa.push(this.fb.control(''));\n }\n\n remove(index: number) {\n this.fa.removeAt(index);\n }\n\n}\n","<form [formGroup]=\"fg\" nz-flex nzVertical=\"true\" nzGap=\"8px\" nzAlign=\"start\">\n <ng-container formArrayName=\"values\">\n @for (c of fa.controls; track c;let i=$index) {\n <div nz-flex nzGap=\"4px\" nzAlign=\"center\" style=\"width: 100%;\">\n <div style=\"flex:1;position: relative;\">\n <ng-container [axisDynamic]=\"options.child()\" [formControlName]=\"i\"\n (onRegisteValueAccess)=\"onRegisteValueAccess($event,i)\"></ng-container>\n </div>\n @if (!options.readonly()) {\n <button nz-button (click)=\"remove(i)\" nzDanger nzType=\"link\" [disabled]=\"options.disabled()\">\n <nz-icon nzType=\"delete\"></nz-icon>\n </button>\n }\n </div>\n }\n </ng-container>\n @if (!options.readonly() && (options.maxLength() == undefined || fa.controls.length < options.maxLength()!)) {\n <button nz-button nzType=\"link\" (click)=\"add()\" [disabled]=\"options.disabled()\">\n <nz-icon nzType=\"plus\"></nz-icon>\n {{options.addButtonText()}}\n </button>\n }\n</form>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './input-list';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAGM,MAAO,gBAAiB,SAAQ,kBAAkB,CAAA;AAC3C,IAAA,SAAS,GAAG,MAAM,CAAqB,SAAS,gFAAC;AACjD,IAAA,aAAa,GAAG,MAAM,CAAC,IAAI,oFAAC;AAC5B,IAAA,KAAK,GAAG,MAAM,CAAM,SAAS,4EAAC;AAC1C;;ACSK,MAAO,SAAU,SAAQ,WAA6B,CAAA;AAE1D,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE;AACP,QAAA,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC,IAAG;AACnD,YAAA,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;YACjB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC;QAC/B,CAAC,CAAC,CAAC;IACL;AAES,IAAA,OAAO,GAAqB,IAAI,gBAAgB,EAAE;AAC1C,IAAA,GAAG,GAAG,MAAM,CAAC,iBAAiB,CAAC;AAC/B,IAAA,EAAE,GAAG,MAAM,CAAC,WAAW,CAAC;AAChC,IAAA,EAAE,GAAqB,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC;QAC5C,MAAM,EAAE,I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AA,EAAA,CAAA,QAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAE,YAAY,yNAAE,mBAAmB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,kBAAA,EAAA,QAAA,EAAA,aAAA,EAAA,MAAA,EAAA,CAAA,WAAA,CAAA,EAAA,OAAA,EAAA,CAAA,UAAA,CAAA,EAAA,QAAA,EAAA,CAAA,QAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,MAAA,EAAA,CAAA,iBAAA,EAAA,UAAA,EAAA,SAAA,CAAA,EAAA,OAAA,EAAA,CAAA,eAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,aAAA,EAAA,QAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,CAAA,eAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;4FAK5G,SAAS,EAAA,UAAA,EAAA,CAAA;kBAPrB,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,iBAAiB,WAClB,CAAC,aAAa,EAAE,WAAW,EAAE,gBAAgB,EAAE,YAAY,EAAE,cAAc,EAAE,YAAY,EAAE,mBAAmB,CAAC,EAAA,eAAA,EAGvG,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,ooCAAA,EAAA,MAAA,EAAA,CAAA,mCAAA,CAAA,EAAA;;;AEdjD;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-axis-appforge-axis-components-input-list.mjs","sources":["../../../axis-components/input-list/input-list.options.ts","../../../axis-components/input-list/input-list.ts","../../../axis-components/input-list/input-list.html","../../../axis-components/input-list/ngx-axis-appforge-axis-components-input-list.ts"],"sourcesContent":["import { signal } from \"@angular/core\";\nimport { ValueAccessOptions } from \"ngx-axis-appforge/core\";\n\nexport class InputListOptions extends ValueAccessOptions {\n readonly maxLength = signal<number | undefined>(undefined);\n readonly addButtonText = signal(\"添加\");\n readonly child = signal<any>(undefined);\n}","import { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, inject, OnInit } from '@angular/core';\nimport { InputListOptions } from './input-list.options';\nimport { AbstractControl, FormArray, FormBuilder, FormsModule, UntypedFormGroup, ReactiveFormsModule } from '@angular/forms';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport { DynamicDirective, RegisteValueAccessOptions, updateAndValidAll, ValueAccess } from 'ngx-axis-appforge/core';\nimport { NzFlexModule } from \"ng-zorro-antd/flex\";\nimport { NzButtonModule } from 'ng-zorro-antd/button';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\n\n@Component({\n selector: 'axis-input-list',\n imports: [NzInputModule, FormsModule, DynamicDirective, NzFlexModule, NzButtonModule, NzIconModule, ReactiveFormsModule],\n templateUrl: './input-list.html',\n styleUrl: './input-list.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputList extends ValueAccess<InputListOptions> implements OnInit {\n\n constructor() {\n super();\n this.addSubscribe(this.fa.valueChanges.subscribe(v => {\n this.value.set(v);\n this.onChange?.(this.value());\n }));\n }\n\n override options: InputListOptions = new InputListOptions();\n private readonly cdr = inject(ChangeDetectorRef);\n private readonly fb = inject(FormBuilder);\n readonly fg: UntypedFormGroup = this.fb.group({\n values: this.fb.array([])\n });\n get fa(): FormArray<AbstractControl> {\n return this.fg.get(\"values\") as FormArray<AbstractControl>;\n }\n\n override setInitValue(value: any) {\n super.setInitValue(value);\n this.valueToFormValue();\n }\n\n override writeValue(value: any): void {\n super.writeValue(value);\n this.valueToFormValue();\n }\n\n ngOnInit(): void {\n this.registeValueAccess?.({\n validFn: (control: AbstractControl) => {\n return updateAndValidAll(this.fg, { markAsDirty: control.dirty })\n }\n })\n }\n\n onRegisteValueAccess(opt: RegisteValueAccessOptions, index: number) {\n if (opt.initValue !== undefined) {\n this.fa.at(index).setValue(opt.initValue, { emitEvent: false });\n }\n if (opt.validFn) {\n this.fa.at(index).setValidators((c) => opt.validFn!(c) ? null : { error: true });\n }\n }\n\n private valueToFormValue() {\n if (this.value() !== undefined) {\n if (Array.isArray(this.value())) {\n this.fa.clear({ emitEvent: false });\n this.value().forEach((item: any) => {\n this.fa.push(this.fb.control(item), { emitEvent: false });\n });\n } else {\n this.fa.clear({ emitEvent: false });\n }\n }\n this.cdr.markForCheck();\n }\n\n add() {\n this.fa.push(this.fb.control(''));\n }\n\n remove(index: number) {\n this.fa.removeAt(index);\n }\n\n}\n","<form [formGroup]=\"fg\" nz-flex nzVertical=\"true\" nzGap=\"8px\" nzAlign=\"start\">\n <ng-container formArrayName=\"values\">\n @for (c of fa.controls; track c;let i=$index) {\n <div nz-flex nzGap=\"4px\" nzAlign=\"center\" style=\"width: 100%;\">\n <div style=\"flex:1;position: relative;\">\n <ng-container [axisDynamic]=\"options.child()\" [formControlName]=\"i\"\n (onRegisteValueAccess)=\"onRegisteValueAccess($event,i)\"></ng-container>\n </div>\n @if (!options.readonly()) {\n <button nz-button (click)=\"remove(i)\" nzDanger nzType=\"link\" [disabled]=\"options.disabled()\">\n <nz-icon nzType=\"delete\"></nz-icon>\n </button>\n }\n </div>\n }\n </ng-container>\n @if (!options.readonly() && (options.maxLength() == undefined || fa.controls.length < options.maxLength()!)) {\n <button nz-button nzType=\"link\" (click)=\"add()\" [disabled]=\"options.disabled()\">\n <nz-icon nzType=\"plus\"></nz-icon>\n {{options.addButtonText()}}\n </button>\n }\n</form>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './input-list';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAGM,MAAO,gBAAiB,SAAQ,kBAAkB,CAAA;IAC3C,SAAS,GAAG,MAAM,CAAqB,SAAS;kFAAC;IACjD,aAAa,GAAG,MAAM,CAAC,IAAI;sFAAC;IAC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AA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FAK5G,SAAS,EAAA,UAAA,EAAA,CAAA;kBAPrB,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,iBAAiB,WAClB,CAAC,aAAa,EAAE,WAAW,EAAE,gBAAgB,EAAE,YAAY,EAAE,cAAc,EAAE,YAAY,EAAE,mBAAmB,CAAC,EAAA,eAAA,EAGvG,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,ooCAAA,EAAA,MAAA,EAAA,CAAA,mCAAA,CAAA,EAAA;;;AEdjD;;AAEG;;;;"}
@@ -64,10 +64,10 @@ class Setting extends FunFieldValueBase {
64
64
  defaultValue: "left"
65
65
  },
66
66
  };
67
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: Setting, deps: null, target: i0.ɵɵFactoryTarget.Component });
68
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.12", type: Setting, isStandalone: true, selector: "axis-design-input-number-setting", usesInheritance: true, ngImport: i0, template: "<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"\u8F93\u5165\u8BBE\u7F6E\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6700\u5927\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"max\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\">\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6700\u5C0F\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"min\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\">\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u8C03\u6574\u6B65\u957F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"step\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"0\">\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u5C0F\u6570\u7CBE\u5EA6\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"precision\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"0\">\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <nz-collapse-panel nzHeader=\"\u5916\u89C2\u8BBE\u7F6E\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u589E\u51CF\u6309\u94AE\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"controls\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u5360\u4F4D\u7B26\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"placeholder\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5F62\u6001\u53D8\u4F53\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"variant\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\">\n <nz-option nzValue=\"outlined\" nzLabel=\"\u5916\u8FB9\u6846\"></nz-option>\n <nz-option nzValue=\"borderless\" nzLabel=\"\u65E0\u8FB9\u6846\"></nz-option>\n <nz-option nzValue=\"filled\" nzLabel=\"\u586B\u5145\"></nz-option>\n <nz-option nzValue=\"underlined\" nzLabel=\"\u4E0B\u8FB9\u7EBF\"></nz-option>\n </nz-select>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5927\u5C0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"size\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\" nzSize=\"small\">\n <label nz-radio-button nzValue=\"small\">\u5C0F</label>\n <label nz-radio-button nzValue=\"default\">\u4E2D</label>\n <label nz-radio-button nzValue=\"large\">\u5927</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5BF9\u9F50\u65B9\u5F0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"align\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\" nzSize=\"small\">\n <label nz-radio-button nzValue=\"left\">\u5DE6</label>\n <label nz-radio-button nzValue=\"center\">\u4E2D</label>\n <label nz-radio-button nzValue=\"right\">\u53F3</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <axis-value-design-setting [fg]=\"fg\"></axis-value-design-setting>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n <axis-input-trigger formControlName=\"triggeEvents\" [internalTriggers]=\"['valueChange']\"></axis-input-trigger>\n </nz-collapse>\n</form>", styles: [""], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.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: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NzCollapseModule }, { kind: "component", type: i2.NzCollapsePanelComponent, selector: "nz-collapse-panel", inputs: ["nzActive", "nzDisabled", "nzShowArrow", "nzExtra", "nzHeader", "nzExpandedIcon", "nzCollapsible"], outputs: ["nzActiveChange"], exportAs: ["nzCollapsePanel"] }, { kind: "component", type: i2.NzCollapseComponent, selector: "nz-collapse", inputs: ["nzAccordion", "nzBordered", "nzGhost", "nzExpandIconPosition", "nzSize"], exportAs: ["nzCollapse"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: NzInputNumberModule }, { kind: "component", type: i3.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzId", "nzSize", "nzPlaceHolder", "nzStatus", "nzVariant", "nzStep", "nzMin", "nzMax", "nzPrecision", "nzParser", "nzFormatter", "nzDisabled", "nzReadOnly", "nzAutoFocus", "nzKeyboard", "nzControls", "nzChangeOnWheel", "nzPrefix", "nzSuffix", "nzAddonBefore", "nzAddonAfter"], outputs: ["nzBlur", "nzFocus", "nzOnStep"], exportAs: ["nzInputNumber"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i4.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzVariant", "nzSize", "nzStepperless", "nzStatus", "disabled", "readonly"], exportAs: ["nzInput"] }, { kind: "ngmodule", type: NzFormModule }, { kind: "directive", type: i5.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: i5.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "directive", type: i6.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap", "nzSize", "nzVariant", "nzRequiredMark"], exportAs: ["nzForm"] }, { kind: "component", type: i6.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i6.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i6.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "component", type: FunField, selector: "axis-fun-field", inputs: ["scopes", "exclude", "scopeId", "onlyFun", "noListen", "disabled", "editTip", "value", "open", "showCreateListenModal", "createListenDataSourceName"], outputs: ["valueChange", "openChange", "showCreateListenModalChange", "createListenDataSourceNameChange"] }, { kind: "ngmodule", type: NzSwitchModule }, { kind: "component", type: i7.NzSwitchComponent, selector: "nz-switch", inputs: ["nzLoading", "nzDisabled", "nzControl", "nzCheckedChildren", "nzUnCheckedChildren", "nzSize", "nzId"], exportAs: ["nzSwitch"] }, { kind: "component", type: BaseDesignSetting, selector: "axis-base-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { kind: "component", type: InputTrigger, selector: "axis-input-trigger", inputs: ["internalTriggers", "optionsNodeId", "value", "eventDesc", "isVisibleHandlerModal", "editEventHandler"], outputs: ["valueChange", "isVisibleHandlerModalChange", "editEventHandlerChange"] }, { kind: "ngmodule", type: NzRadioModule }, { kind: "component", type: i8.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus", "nz-radio-button"], exportAs: ["nzRadio"] }, { kind: "component", type: i8.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }, { kind: "component", type: ValueDesignSetting, selector: "axis-value-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { kind: "ngmodule", type: NzSelectModule }, { kind: "component", type: i9.NzOptionComponent, selector: "nz-option", inputs: ["nzTitle", "nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i9.NzSelectComponent, selector: "nz-select", inputs: ["nzId", "nzSize", "nzStatus", "nzVariant", "nzOptionHeightPx", "nzOptionOverflowSize", "nzDropdownClassName", "nzDropdownMatchSelectWidth", "nzDropdownStyle", "nzNotFoundContent", "nzPlaceHolder", "nzPlacement", "nzMaxTagCount", "nzDropdownRender", "nzCustomTemplate", "nzPrefix", "nzSuffixIcon", "nzClearIcon", "nzRemoveIcon", "nzMenuItemSelectedIcon", "nzTokenSeparators", "nzMaxTagPlaceholder", "nzMaxMultipleCount", "nzMode", "nzFilterOption", "compareWith", "nzAllowClear", "nzShowSearch", "nzLoading", "nzAutoFocus", "nzAutoClearSearchValue", "nzServerSearch", "nzDisabled", "nzOpen", "nzSelectOnTab", "nzBackdrop", "nzOptions", "nzShowArrow"], outputs: ["nzOnSearch", "nzScrollToBottom", "nzOpenChange", "nzBlur", "nzFocus", "nzOnClear"], exportAs: ["nzSelect"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
67
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: Setting, deps: null, target: i0.ɵɵFactoryTarget.Component });
68
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.8", type: Setting, isStandalone: true, selector: "axis-design-input-number-setting", usesInheritance: true, ngImport: i0, template: "<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"\u8F93\u5165\u8BBE\u7F6E\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6700\u5927\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"max\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\">\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6700\u5C0F\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"min\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\">\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u8C03\u6574\u6B65\u957F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"step\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"0\">\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u5C0F\u6570\u7CBE\u5EA6\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"precision\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"0\">\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <nz-collapse-panel nzHeader=\"\u5916\u89C2\u8BBE\u7F6E\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u589E\u51CF\u6309\u94AE\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"controls\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u5360\u4F4D\u7B26\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"placeholder\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5F62\u6001\u53D8\u4F53\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"variant\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\">\n <nz-option nzValue=\"outlined\" nzLabel=\"\u5916\u8FB9\u6846\"></nz-option>\n <nz-option nzValue=\"borderless\" nzLabel=\"\u65E0\u8FB9\u6846\"></nz-option>\n <nz-option nzValue=\"filled\" nzLabel=\"\u586B\u5145\"></nz-option>\n <nz-option nzValue=\"underlined\" nzLabel=\"\u4E0B\u8FB9\u7EBF\"></nz-option>\n </nz-select>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5927\u5C0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"size\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\" nzSize=\"small\">\n <label nz-radio-button nzValue=\"small\">\u5C0F</label>\n <label nz-radio-button nzValue=\"default\">\u4E2D</label>\n <label nz-radio-button nzValue=\"large\">\u5927</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5BF9\u9F50\u65B9\u5F0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"align\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\" nzSize=\"small\">\n <label nz-radio-button nzValue=\"left\">\u5DE6</label>\n <label nz-radio-button nzValue=\"center\">\u4E2D</label>\n <label nz-radio-button nzValue=\"right\">\u53F3</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <axis-value-design-setting [fg]=\"fg\"></axis-value-design-setting>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n <axis-input-trigger formControlName=\"triggeEvents\" [internalTriggers]=\"['valueChange']\"></axis-input-trigger>\n </nz-collapse>\n</form>", styles: [""], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NzCollapseModule }, { kind: "component", type: i2.NzCollapsePanelComponent, selector: "nz-collapse-panel", inputs: ["nzActive", "nzShowArrow", "nzExtra", "nzHeader", "nzExpandedIcon", "nzCollapsible"], outputs: ["nzActiveChange"], exportAs: ["nzCollapsePanel"] }, { kind: "component", type: i2.NzCollapseComponent, selector: "nz-collapse", inputs: ["nzAccordion", "nzBordered", "nzGhost", "nzExpandIconPosition", "nzSize"], exportAs: ["nzCollapse"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: NzInputNumberModule }, { kind: "component", type: i3.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzId", "nzSize", "nzPlaceHolder", "nzStatus", "nzVariant", "nzStep", "nzMin", "nzMax", "nzPrecision", "nzParser", "nzFormatter", "nzDisabled", "nzReadOnly", "nzAutoFocus", "nzKeyboard", "nzControls", "nzChangeOnWheel", "nzPrefix", "nzSuffix", "nzAddonBefore", "nzAddonAfter"], outputs: ["nzBlur", "nzFocus", "nzOnStep"], exportAs: ["nzInputNumber"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i4.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzVariant", "nzSize", "nzStatus", "disabled", "readonly"], exportAs: ["nzInput"] }, { kind: "ngmodule", type: NzFormModule }, { kind: "directive", type: i5.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", "nzXXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i5.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter", "nzWrap"], exportAs: ["nzRow"] }, { kind: "directive", type: i6.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap", "nzSize", "nzVariant", "nzRequiredMark"], exportAs: ["nzForm"] }, { kind: "component", type: i6.NzFormItemComponent, selector: "nz-form-item", inputs: ["nzLayout"], exportAs: ["nzFormItem"] }, { kind: "component", type: i6.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i6.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "component", type: FunField, selector: "axis-fun-field", inputs: ["scopes", "exclude", "scopeId", "onlyFun", "noListen", "disabled", "editTip", "value", "open", "showCreateListenModal", "createListenDataSourceName"], outputs: ["valueChange", "openChange", "showCreateListenModalChange", "createListenDataSourceNameChange"] }, { kind: "ngmodule", type: NzSwitchModule }, { kind: "component", type: i7.NzSwitchComponent, selector: "nz-switch", inputs: ["nzLoading", "nzDisabled", "nzControl", "nzCheckedChildren", "nzUnCheckedChildren", "nzSize", "nzId"], exportAs: ["nzSwitch"] }, { kind: "component", type: BaseDesignSetting, selector: "axis-base-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { kind: "component", type: InputTrigger, selector: "axis-input-trigger", inputs: ["internalTriggers", "optionsNodeId", "value", "eventDesc", "isVisibleHandlerModal", "editEventHandler"], outputs: ["valueChange", "isVisibleHandlerModalChange", "editEventHandlerChange"] }, { kind: "ngmodule", type: NzRadioModule }, { kind: "component", type: i8.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus", "nz-radio-button"], exportAs: ["nzRadio"] }, { kind: "component", type: i8.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }, { kind: "component", type: ValueDesignSetting, selector: "axis-value-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { kind: "ngmodule", type: NzSelectModule }, { kind: "component", type: i9.NzOptionComponent, selector: "nz-option", inputs: ["nzTitle", "nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i9.NzSelectComponent, selector: "nz-select", inputs: ["nzId", "nzSize", "nzStatus", "nzVariant", "nzOptionHeightPx", "nzOptionOverflowSize", "nzDropdownClassName", "nzDropdownMatchSelectWidth", "nzDropdownStyle", "nzNotFoundContent", "nzPlaceHolder", "nzPlacement", "nzMaxTagCount", "nzDropdownRender", "nzCustomTemplate", "nzPrefix", "nzSuffixIcon", "nzClearIcon", "nzRemoveIcon", "nzMenuItemSelectedIcon", "nzTokenSeparators", "nzMaxTagPlaceholder", "nzMaxMultipleCount", "nzMode", "nzFilterOption", "compareWith", "nzAllowClear", "nzShowSearch", "nzLoading", "nzAutoFocus", "nzAutoClearSearchValue", "nzServerSearch", "nzDisabled", "nzOpen", "nzSelectOnTab", "nzBackdrop", "nzOptions", "nzShowArrow"], outputs: ["nzOnSearch", "nzScrollToBottom", "nzOpenChange", "nzBlur", "nzFocus", "nzOnClear"], exportAs: ["nzSelect"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
69
69
  }
70
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: Setting, decorators: [{
70
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: Setting, decorators: [{
71
71
  type: Component,
72
72
  args: [{ selector: 'axis-design-input-number-setting', imports: [FormsModule, NzCollapseModule, ReactiveFormsModule, NzInputNumberModule, NzInputModule, NzFormModule, FunField, NzSwitchModule, BaseDesignSetting, InputTrigger, NzRadioModule, ValueDesignSetting, NzSelectModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"\u8F93\u5165\u8BBE\u7F6E\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6700\u5927\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"max\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\">\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6700\u5C0F\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"min\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\">\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u8C03\u6574\u6B65\u957F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"step\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"0\">\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u5C0F\u6570\u7CBE\u5EA6\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"precision\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"0\">\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <nz-collapse-panel nzHeader=\"\u5916\u89C2\u8BBE\u7F6E\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u589E\u51CF\u6309\u94AE\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"controls\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u5360\u4F4D\u7B26\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"placeholder\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5F62\u6001\u53D8\u4F53\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"variant\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\">\n <nz-option nzValue=\"outlined\" nzLabel=\"\u5916\u8FB9\u6846\"></nz-option>\n <nz-option nzValue=\"borderless\" nzLabel=\"\u65E0\u8FB9\u6846\"></nz-option>\n <nz-option nzValue=\"filled\" nzLabel=\"\u586B\u5145\"></nz-option>\n <nz-option nzValue=\"underlined\" nzLabel=\"\u4E0B\u8FB9\u7EBF\"></nz-option>\n </nz-select>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5927\u5C0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"size\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\" nzSize=\"small\">\n <label nz-radio-button nzValue=\"small\">\u5C0F</label>\n <label nz-radio-button nzValue=\"default\">\u4E2D</label>\n <label nz-radio-button nzValue=\"large\">\u5927</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5BF9\u9F50\u65B9\u5F0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"align\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\" nzSize=\"small\">\n <label nz-radio-button nzValue=\"left\">\u5DE6</label>\n <label nz-radio-button nzValue=\"center\">\u4E2D</label>\n <label nz-radio-button nzValue=\"right\">\u53F3</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <axis-value-design-setting [fg]=\"fg\"></axis-value-design-setting>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n <axis-input-trigger formControlName=\"triggeEvents\" [internalTriggers]=\"['valueChange']\"></axis-input-trigger>\n </nz-collapse>\n</form>" }]
73
73
  }] });
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-axis-appforge-axis-components-input-number-design.mjs","sources":["../../../axis-components/input-number/design/setting/setting.ts","../../../axis-components/input-number/design/setting/setting.html","../../../axis-components/input-number/design/config.ts","../../../axis-components/input-number/design/ngx-axis-appforge-axis-components-input-number-design.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule, UntypedFormGroup } from '@angular/forms';\nimport { NzCollapseModule } from 'ng-zorro-antd/collapse';\nimport { NzFormModule } from 'ng-zorro-antd/form';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport { NzInputNumberModule } from 'ng-zorro-antd/input-number';\nimport { NzRadioModule } from 'ng-zorro-antd/radio';\nimport { NzSelectModule } from 'ng-zorro-antd/select';\nimport { NzSwitchModule } from 'ng-zorro-antd/switch';\nimport { BaseDesignSetting, baseFbConfig, baseFunField, FormValidators, FunField, FunFieldOptions, FunFieldValueBase, InputTrigger, ValueDesignSetting, valueFbConfig, valueFunField } from 'ngx-axis-appforge/core';\n\n@Component({\n selector: 'axis-design-input-number-setting',\n imports: [FormsModule, NzCollapseModule, ReactiveFormsModule, NzInputNumberModule, NzInputModule, NzFormModule, FunField, NzSwitchModule, BaseDesignSetting, InputTrigger, NzRadioModule, ValueDesignSetting, NzSelectModule],\n templateUrl: './setting.html',\n styleUrl: './setting.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Setting extends FunFieldValueBase {\n\n override fg: UntypedFormGroup = this.fb.group({\n ...baseFbConfig,\n ...valueFbConfig,\n max: [],\n min: [],\n step: [undefined, FormValidators.requiredFun],\n precision: [],\n controls: [undefined, FormValidators.requiredFun],\n placeholder: [],\n variant: [undefined, FormValidators.requiredFun],\n size: [undefined, FormValidators.requiredFun],\n align: [undefined, FormValidators.requiredFun],\n });\n\n protected override funFields: FunFieldOptions = {\n ...baseFunField,\n ...valueFunField,\n max: {\n defaultValue: undefined\n },\n min: {\n defaultValue: undefined\n },\n step: {\n defaultValue: 1\n },\n precision: {\n defaultValue: undefined\n },\n controls: {\n defaultValue: true\n },\n placeholder: {\n defaultValue: \"\"\n },\n variant: {\n defaultValue: \"outlined\"\n },\n size: {\n defaultValue: \"default\"\n },\n align: {\n defaultValue: \"left\"\n },\n };\n}\n","<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"输入设置\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n 最大值\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"max\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\">\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n 最小值\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"min\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\">\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 调整步长\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"step\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"0\">\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n 小数精度\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"precision\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"0\">\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <nz-collapse-panel nzHeader=\"外观设置\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 增减按钮\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"controls\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n 占位符\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"placeholder\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 形态变体\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"variant\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\">\n <nz-option nzValue=\"outlined\" nzLabel=\"外边框\"></nz-option>\n <nz-option nzValue=\"borderless\" nzLabel=\"无边框\"></nz-option>\n <nz-option nzValue=\"filled\" nzLabel=\"填充\"></nz-option>\n <nz-option nzValue=\"underlined\" nzLabel=\"下边线\"></nz-option>\n </nz-select>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 大小\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"size\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\" nzSize=\"small\">\n <label nz-radio-button nzValue=\"small\">小</label>\n <label nz-radio-button nzValue=\"default\">中</label>\n <label nz-radio-button nzValue=\"large\">大</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 对齐方式\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"align\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\" nzSize=\"small\">\n <label nz-radio-button nzValue=\"left\">左</label>\n <label nz-radio-button nzValue=\"center\">中</label>\n <label nz-radio-button nzValue=\"right\">右</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <axis-value-design-setting [fg]=\"fg\"></axis-value-design-setting>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n <axis-input-trigger formControlName=\"triggeEvents\" [internalTriggers]=\"['valueChange']\"></axis-input-trigger>\n </nz-collapse>\n</form>","import { NextInfo, DesignBuildResult, DesignBindElementsResult, DesignConfig, OptionsNode, SimpleMenu } from \"ngx-axis-appforge/core\";\nimport { Setting } from \"./setting/setting\";\n\nexport const Config: DesignConfig = {\n\n componentName: \"数值输入框\",\n buildOptionsNodes(nextInfo: NextInfo): DesignBuildResult {\n return {\n treeNode: new OptionsNode({\n parentId: nextInfo.parentId,\n scopeId: nextInfo.scopeId,\n name: \"数值输入框\",\n canSetting: true,\n canDrag: true,\n dragType: \"component\",\n parentObj: nextInfo.parentObject,\n indexOfParentObj: nextInfo.indexOfParent,\n rootOptions: nextInfo.currentObject,\n settingType: Setting,\n contextMenu: SimpleMenu,\n icon: \"field-number\",\n }),\n };\n },\n bindElementsOptionsNode(element: HTMLElement, options: any): DesignBindElementsResult {\n return {\n [options.id]: { element }\n }\n },\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './config';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAkBM,MAAO,OAAQ,SAAQ,iBAAiB,CAAA;AAEnC,IAAA,EAAE,GAAqB,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC;AAC5C,QAAA,GAAG,YAAY;AACf,QAAA,GAAG,aAAa;AAChB,QAAA,GAAG,EAAE,EAAE;AACP,QAAA,GAAG,EAAE,EAAE;AACP,QAAA,IAAI,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AAC7C,QAAA,SAAS,EAAE,EAAE;AACb,QAAA,QAAQ,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AACjD,QAAA,WAAW,EAAE,EAAE;AACf,QAAA,OAAO,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AAChD,QAAA,IAAI,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AAC7C,QAAA,KAAK,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AAC/C,KAAA,CAAC;AAEiB,IAAA,SAAS,GAAoB;AAC9C,QAAA,GAAG,YAAY;AACf,QAAA,GAAG,aAAa;AAChB,QAAA,GAAG,EAAE;AACH,YAAA,YAAY,EAAE;AACf,SAAA;AACD,QAAA,GAAG,EAAE;AACH,YAAA,YAAY,EAAE;AACf,SAAA;AACD,QAAA,IAAI,EAAE;AACJ,YAAA,YAAY,EAAE;AACf,SAAA;AACD,QAAA,SAAS,EAAE;AACT,YAAA,YAAY,EAAE;AACf,SAAA;AACD,QAAA,QAAQ,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AS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,kCAAkC,EAAA,OAAA,EACnC,CAAC,WAAW,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,aAAa,EAAE,YAAY,EAAE,QAAQ,EAAE,cAAc,EAAE,iBAAiB,EAAE,YAAY,EAAE,aAAa,EAAE,kBAAkB,EAAE,cAAc,CAAC,EAAA,eAAA,EAG5M,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,ogMAAA,EAAA;;;AEb1C,MAAM,MAAM,GAAiB;AAEhC,IAAA,aAAa,EAAE,OAAO;AACtB,IAAA,iBAAiB,CAAC,QAAkB,EAAA;QAChC,OAAO;YACH,QAAQ,EAAE,IAAI,WAAW,CAAC;gBACtB,QAAQ,EAAE,QAAQ,CAAC,QAAQ;gBAC3B,OAAO,EAAE,QAAQ,CAAC,OAAO;AACzB,gBAAA,IAAI,EAAE,OAAO;AACb,gBAAA,UAAU,EAAE,IAAI;AAChB,gBAAA,OAAO,EAAE,IAAI;AACb,gBAAA,QAAQ,EAAE,WAAW;gBACrB,SAAS,EAAE,QAAQ,CAAC,YAAY;gBAChC,gBAAgB,EAAE,QAAQ,CAAC,aAAa;gBACxC,WAAW,EAAE,QAAQ,CAAC,aAAa;AACnC,gBAAA,WAAW,EAAE,OAAO;AACpB,gBAAA,WAAW,EAAE,UAAU;AACvB,gBAAA,IAAI,EAAE,cAAc;aACvB,CAAC;SACL;IACL,CAAC;IACD,uBAAuB,CAAC,OAAoB,EAAE,OAAY,EAAA;QACtD,OAAO;AACH,YAAA,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,OAAO;SAC1B;IACL,CAAC;;;AC5BL;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-axis-appforge-axis-components-input-number-design.mjs","sources":["../../../axis-components/input-number/design/setting/setting.ts","../../../axis-components/input-number/design/setting/setting.html","../../../axis-components/input-number/design/config.ts","../../../axis-components/input-number/design/ngx-axis-appforge-axis-components-input-number-design.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule, UntypedFormGroup } from '@angular/forms';\nimport { NzCollapseModule } from 'ng-zorro-antd/collapse';\nimport { NzFormModule } from 'ng-zorro-antd/form';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport { NzInputNumberModule } from 'ng-zorro-antd/input-number';\nimport { NzRadioModule } from 'ng-zorro-antd/radio';\nimport { NzSelectModule } from 'ng-zorro-antd/select';\nimport { NzSwitchModule } from 'ng-zorro-antd/switch';\nimport { BaseDesignSetting, baseFbConfig, baseFunField, FormValidators, FunField, FunFieldOptions, FunFieldValueBase, InputTrigger, ValueDesignSetting, valueFbConfig, valueFunField } from 'ngx-axis-appforge/core';\n\n@Component({\n selector: 'axis-design-input-number-setting',\n imports: [FormsModule, NzCollapseModule, ReactiveFormsModule, NzInputNumberModule, NzInputModule, NzFormModule, FunField, NzSwitchModule, BaseDesignSetting, InputTrigger, NzRadioModule, ValueDesignSetting, NzSelectModule],\n templateUrl: './setting.html',\n styleUrl: './setting.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Setting extends FunFieldValueBase {\n\n override fg: UntypedFormGroup = this.fb.group({\n ...baseFbConfig,\n ...valueFbConfig,\n max: [],\n min: [],\n step: [undefined, FormValidators.requiredFun],\n precision: [],\n controls: [undefined, FormValidators.requiredFun],\n placeholder: [],\n variant: [undefined, FormValidators.requiredFun],\n size: [undefined, FormValidators.requiredFun],\n align: [undefined, FormValidators.requiredFun],\n });\n\n protected override funFields: FunFieldOptions = {\n ...baseFunField,\n ...valueFunField,\n max: {\n defaultValue: undefined\n },\n min: {\n defaultValue: undefined\n },\n step: {\n defaultValue: 1\n },\n precision: {\n defaultValue: undefined\n },\n controls: {\n defaultValue: true\n },\n placeholder: {\n defaultValue: \"\"\n },\n variant: {\n defaultValue: \"outlined\"\n },\n size: {\n defaultValue: \"default\"\n },\n align: {\n defaultValue: \"left\"\n },\n };\n}\n","<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"输入设置\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n 最大值\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"max\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\">\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n 最小值\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"min\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\">\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 调整步长\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"step\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"0\">\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n 小数精度\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"precision\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"0\">\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <nz-collapse-panel nzHeader=\"外观设置\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 增减按钮\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"controls\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n 占位符\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"placeholder\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 形态变体\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"variant\">\n <nz-select ngModel [ngModelOptions]=\"{standalone:true}\">\n <nz-option nzValue=\"outlined\" nzLabel=\"外边框\"></nz-option>\n <nz-option nzValue=\"borderless\" nzLabel=\"无边框\"></nz-option>\n <nz-option nzValue=\"filled\" nzLabel=\"填充\"></nz-option>\n <nz-option nzValue=\"underlined\" nzLabel=\"下边线\"></nz-option>\n </nz-select>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 大小\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"size\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\" nzSize=\"small\">\n <label nz-radio-button nzValue=\"small\">小</label>\n <label nz-radio-button nzValue=\"default\">中</label>\n <label nz-radio-button nzValue=\"large\">大</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 对齐方式\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"align\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\" nzSize=\"small\">\n <label nz-radio-button nzValue=\"left\">左</label>\n <label nz-radio-button nzValue=\"center\">中</label>\n <label nz-radio-button nzValue=\"right\">右</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <axis-value-design-setting [fg]=\"fg\"></axis-value-design-setting>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n <axis-input-trigger formControlName=\"triggeEvents\" [internalTriggers]=\"['valueChange']\"></axis-input-trigger>\n </nz-collapse>\n</form>","import { NextInfo, DesignBuildResult, DesignBindElementsResult, DesignConfig, OptionsNode, SimpleMenu } from \"ngx-axis-appforge/core\";\nimport { Setting } from \"./setting/setting\";\n\nexport const Config: DesignConfig = {\n\n componentName: \"数值输入框\",\n buildOptionsNodes(nextInfo: NextInfo): DesignBuildResult {\n return {\n treeNode: new OptionsNode({\n parentId: nextInfo.parentId,\n scopeId: nextInfo.scopeId,\n name: \"数值输入框\",\n canSetting: true,\n canDrag: true,\n dragType: \"component\",\n parentObj: nextInfo.parentObject,\n indexOfParentObj: nextInfo.indexOfParent,\n rootOptions: nextInfo.currentObject,\n settingType: Setting,\n contextMenu: SimpleMenu,\n icon: \"field-number\",\n }),\n };\n },\n bindElementsOptionsNode(element: HTMLElement, options: any): DesignBindElementsResult {\n return {\n [options.id]: { element }\n }\n },\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './config';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAkBM,MAAO,OAAQ,SAAQ,iBAAiB,CAAA;AAEnC,IAAA,EAAE,GAAqB,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC;AAC5C,QAAA,GAAG,YAAY;AACf,QAAA,GAAG,aAAa;AAChB,QAAA,GAAG,EAAE,EAAE;AACP,QAAA,GAAG,EAAE,EAAE;AACP,QAAA,IAAI,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AAC7C,QAAA,SAAS,EAAE,EAAE;AACb,QAAA,QAAQ,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AACjD,QAAA,WAAW,EAAE,EAAE;AACf,QAAA,OAAO,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AAChD,QAAA,IAAI,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAA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Q,CAAC,aAAa;AACnC,gBAAA,WAAW,EAAE,OAAO;AACpB,gBAAA,WAAW,EAAE,UAAU;AACvB,gBAAA,IAAI,EAAE,cAAc;aACvB,CAAC;SACL;IACL,CAAC;IACD,uBAAuB,CAAC,OAAoB,EAAE,OAAY,EAAA;QACtD,OAAO;AACH,YAAA,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,OAAO;SAC1B;IACL,CAAC;;;AC5BL;;AAEG;;;;"}
@@ -10,21 +10,32 @@ import { CommonModule } from '@angular/common';
10
10
  import { of } from 'rxjs';
11
11
 
12
12
  class InputNumberOptions extends ValueAccessOptions {
13
- max = signal(null, ...(ngDevMode ? [{ debugName: "max" }] : /* istanbul ignore next */ []));
14
- min = signal(null, ...(ngDevMode ? [{ debugName: "min" }] : /* istanbul ignore next */ []));
15
- step = signal(1, ...(ngDevMode ? [{ debugName: "step" }] : /* istanbul ignore next */ []));
16
- precision = signal(null, ...(ngDevMode ? [{ debugName: "precision" }] : /* istanbul ignore next */ []));
17
- controls = signal(true, ...(ngDevMode ? [{ debugName: "controls" }] : /* istanbul ignore next */ []));
18
- placeholder = signal("", ...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
19
- variant = signal("outlined", ...(ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []));
20
- size = signal('default', ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
21
- align = signal('left', ...(ngDevMode ? [{ debugName: "align" }] : /* istanbul ignore next */ []));
13
+ max = signal(null, /* @ts-ignore */
14
+ ...(ngDevMode ? [{ debugName: "max" }] : /* istanbul ignore next */ []));
15
+ min = signal(null, /* @ts-ignore */
16
+ ...(ngDevMode ? [{ debugName: "min" }] : /* istanbul ignore next */ []));
17
+ step = signal(1, /* @ts-ignore */
18
+ ...(ngDevMode ? [{ debugName: "step" }] : /* istanbul ignore next */ []));
19
+ precision = signal(null, /* @ts-ignore */
20
+ ...(ngDevMode ? [{ debugName: "precision" }] : /* istanbul ignore next */ []));
21
+ controls = signal(true, /* @ts-ignore */
22
+ ...(ngDevMode ? [{ debugName: "controls" }] : /* istanbul ignore next */ []));
23
+ placeholder = signal("", /* @ts-ignore */
24
+ ...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
25
+ variant = signal("outlined", /* @ts-ignore */
26
+ ...(ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []));
27
+ size = signal('default', /* @ts-ignore */
28
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
29
+ align = signal('left', /* @ts-ignore */
30
+ ...(ngDevMode ? [{ debugName: "align" }] : /* istanbul ignore next */ []));
22
31
  }
23
32
 
24
33
  class InputNumber extends ValueAccess {
25
34
  options = new InputNumberOptions();
26
- max = computed(() => this.options.max() == null ? Number.MAX_SAFE_INTEGER : this.options.max(), ...(ngDevMode ? [{ debugName: "max" }] : /* istanbul ignore next */ []));
27
- min = computed(() => this.options.min() == null ? Number.MIN_SAFE_INTEGER : this.options.min(), ...(ngDevMode ? [{ debugName: "min" }] : /* istanbul ignore next */ []));
35
+ max = computed(() => this.options.max() == null ? Number.MAX_SAFE_INTEGER : this.options.max(), /* @ts-ignore */
36
+ ...(ngDevMode ? [{ debugName: "max" }] : /* istanbul ignore next */ []));
37
+ min = computed(() => this.options.min() == null ? Number.MIN_SAFE_INTEGER : this.options.min(), /* @ts-ignore */
38
+ ...(ngDevMode ? [{ debugName: "min" }] : /* istanbul ignore next */ []));
28
39
  digitsInfo = computed(() => {
29
40
  if (this.options.precision() == null) {
30
41
  return "1.0";
@@ -32,7 +43,8 @@ class InputNumber extends ValueAccess {
32
43
  else {
33
44
  return `1.0-${this.options.precision()}`;
34
45
  }
35
- }, ...(ngDevMode ? [{ debugName: "digitsInfo" }] : /* istanbul ignore next */ []));
46
+ }, /* @ts-ignore */
47
+ ...(ngDevMode ? [{ debugName: "digitsInfo" }] : /* istanbul ignore next */ []));
36
48
  input;
37
49
  onEvents(e) {
38
50
  const obs = super.onEvents?.(e);
@@ -46,10 +58,10 @@ class InputNumber extends ValueAccess {
46
58
  }
47
59
  return undefined;
48
60
  }
49
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: InputNumber, deps: null, target: i0.ɵɵFactoryTarget.Component });
50
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.12", type: InputNumber, isStandalone: true, selector: "axis-input-number", viewQueries: [{ propertyName: "input", first: true, predicate: NzInputNumberComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "@if (options.readonly()) {\n<span>\n {{value() | number:digitsInfo()}}\n</span>\n}@else {\n<nz-input-number style=\"width: 100%;\" [(ngModel)]=\"value\" (ngModelChange)=\"onChange?.($event)\" [nzMax]=\"max()\"\n [nzMin]=\"min()\" [nzStep]=\"options.step()\" [nzPrecision]=\"options.precision()\" [nzControls]=\"options.controls()\"\n [nzPlaceHolder]=\"options.placeholder()\" [nzVariant]=\"options.variant()\" [nzSize]=\"options.size()\"\n [class]=\"`align-${options.align()}`\" [nzDisabled]=\"options.disabled()\"\n [class.controls]=\"options.controls()\"></nz-input-number>\n}", styles: [":host{display:block;width:100%}.align-left ::ng-deep input{text-align:left}.align-center ::ng-deep input{text-align:center}.align-right ::ng-deep input{text-align:right}.controls ::ng-deep input:focus,.controls:hover ::ng-deep input,.controls ::ng-deep .ant-input-number-focused input{padding-right:25px}\n"], dependencies: [{ kind: "ngmodule", type: NzInputNumberModule }, { kind: "component", type: i1.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzId", "nzSize", "nzPlaceHolder", "nzStatus", "nzVariant", "nzStep", "nzMin", "nzMax", "nzPrecision", "nzParser", "nzFormatter", "nzDisabled", "nzReadOnly", "nzAutoFocus", "nzKeyboard", "nzControls", "nzChangeOnWheel", "nzPrefix", "nzSuffix", "nzAddonBefore", "nzAddonAfter"], outputs: ["nzBlur", "nzFocus", "nzOnStep"], exportAs: ["nzInputNumber"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i3.DecimalPipe, name: "number" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
61
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: InputNumber, deps: null, target: i0.ɵɵFactoryTarget.Component });
62
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: InputNumber, isStandalone: true, selector: "axis-input-number", viewQueries: [{ propertyName: "input", first: true, predicate: NzInputNumberComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "@if (options.readonly()) {\n<span>\n {{value() | number:digitsInfo()}}\n</span>\n}@else {\n<nz-input-number style=\"width: 100%;\" [(ngModel)]=\"value\" (ngModelChange)=\"onChange?.($event)\" [nzMax]=\"max()\"\n [nzMin]=\"min()\" [nzStep]=\"options.step()\" [nzPrecision]=\"options.precision()\" [nzControls]=\"options.controls()\"\n [nzPlaceHolder]=\"options.placeholder()\" [nzVariant]=\"options.variant()\" [nzSize]=\"options.size()\"\n [class]=\"`align-${options.align()}`\" [nzDisabled]=\"options.disabled()\"\n [class.controls]=\"options.controls()\"></nz-input-number>\n}", styles: [":host{display:block;width:100%}.align-left ::ng-deep input{text-align:left}.align-center ::ng-deep input{text-align:center}.align-right ::ng-deep input{text-align:right}.controls ::ng-deep input:focus,.controls:hover ::ng-deep input,.controls ::ng-deep .ant-input-number-focused input{padding-right:25px}\n"], dependencies: [{ kind: "ngmodule", type: NzInputNumberModule }, { kind: "component", type: i1.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzId", "nzSize", "nzPlaceHolder", "nzStatus", "nzVariant", "nzStep", "nzMin", "nzMax", "nzPrecision", "nzParser", "nzFormatter", "nzDisabled", "nzReadOnly", "nzAutoFocus", "nzKeyboard", "nzControls", "nzChangeOnWheel", "nzPrefix", "nzSuffix", "nzAddonBefore", "nzAddonAfter"], outputs: ["nzBlur", "nzFocus", "nzOnStep"], exportAs: ["nzInputNumber"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i3.DecimalPipe, name: "number" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
51
63
  }
52
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: InputNumber, decorators: [{
64
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: InputNumber, decorators: [{
53
65
  type: Component,
54
66
  args: [{ selector: 'axis-input-number', imports: [NzInputNumberModule, FormsModule, CommonModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (options.readonly()) {\n<span>\n {{value() | number:digitsInfo()}}\n</span>\n}@else {\n<nz-input-number style=\"width: 100%;\" [(ngModel)]=\"value\" (ngModelChange)=\"onChange?.($event)\" [nzMax]=\"max()\"\n [nzMin]=\"min()\" [nzStep]=\"options.step()\" [nzPrecision]=\"options.precision()\" [nzControls]=\"options.controls()\"\n [nzPlaceHolder]=\"options.placeholder()\" [nzVariant]=\"options.variant()\" [nzSize]=\"options.size()\"\n [class]=\"`align-${options.align()}`\" [nzDisabled]=\"options.disabled()\"\n [class.controls]=\"options.controls()\"></nz-input-number>\n}", styles: [":host{display:block;width:100%}.align-left ::ng-deep input{text-align:left}.align-center ::ng-deep input{text-align:center}.align-right ::ng-deep input{text-align:right}.controls ::ng-deep input:focus,.controls:hover ::ng-deep input,.controls ::ng-deep .ant-input-number-focused input{padding-right:25px}\n"] }]
55
67
  }], propDecorators: { input: [{
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-axis-appforge-axis-components-input-number.mjs","sources":["../../../axis-components/input-number/input-number.options.ts","../../../axis-components/input-number/input-number.ts","../../../axis-components/input-number/input-number.html","../../../axis-components/input-number/ngx-axis-appforge-axis-components-input-number.ts"],"sourcesContent":["import { signal } from \"@angular/core\";\nimport { ValueAccessOptions } from \"ngx-axis-appforge/core\";\n\nexport class InputNumberOptions extends ValueAccessOptions {\n\n readonly max = signal<number | null>(null);\n readonly min = signal<number | null>(null);\n readonly step = signal(1);\n readonly precision = signal<number | null>(null);\n\n readonly controls = signal(true);\n readonly placeholder = signal(\"\");\n readonly variant = signal<'outlined' | 'borderless' | 'filled' | 'underlined'>(\"outlined\");\n readonly size = signal<'large' | 'default' | 'small'>('default');\n readonly align = signal<\"left\" | \"center\" | \"right\">('left');\n\n}","import { ChangeDetectionStrategy, Component, computed, ViewChild } from '@angular/core';\nimport { InputNumberOptions } from './input-number.options';\nimport { EventHandlerOptions, ValueAccess } from 'ngx-axis-appforge/core';\nimport { NzInputNumberComponent, NzInputNumberModule } from 'ng-zorro-antd/input-number';\nimport { FormsModule } from '@angular/forms';\nimport { CommonModule } from '@angular/common';\nimport { Observable, of } from 'rxjs';\n\n@Component({\n selector: 'axis-input-number',\n imports: [NzInputNumberModule, FormsModule, CommonModule],\n templateUrl: './input-number.html',\n styleUrl: './input-number.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputNumber extends ValueAccess<InputNumberOptions> {\n\n override options: InputNumberOptions = new InputNumberOptions();\n\n readonly max = computed(() => this.options.max() == null ? Number.MAX_SAFE_INTEGER : this.options.max());\n readonly min = computed(() => this.options.min() == null ? Number.MIN_SAFE_INTEGER : this.options.min());\n\n readonly digitsInfo = computed(() => {\n if (this.options.precision() == null) {\n return \"1.0\"\n } else {\n return `1.0-${this.options.precision()}`;\n }\n })\n\n @ViewChild(NzInputNumberComponent)\n input?: NzInputNumberComponent;\n\n override onEvents(e: EventHandlerOptions<any>): Observable<boolean> | undefined {\n const obs = super.onEvents?.(e);\n if (obs) {\n return obs;\n }\n switch (e.name) {\n case \"setFocus\":\n this.input?.focus();\n return of(true);\n }\n return undefined;\n }\n\n}\n","@if (options.readonly()) {\n<span>\n {{value() | number:digitsInfo()}}\n</span>\n}@else {\n<nz-input-number style=\"width: 100%;\" [(ngModel)]=\"value\" (ngModelChange)=\"onChange?.($event)\" [nzMax]=\"max()\"\n [nzMin]=\"min()\" [nzStep]=\"options.step()\" [nzPrecision]=\"options.precision()\" [nzControls]=\"options.controls()\"\n [nzPlaceHolder]=\"options.placeholder()\" [nzVariant]=\"options.variant()\" [nzSize]=\"options.size()\"\n [class]=\"`align-${options.align()}`\" [nzDisabled]=\"options.disabled()\"\n [class.controls]=\"options.controls()\"></nz-input-number>\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './input-number';\n"],"names":[],"mappings":";;;;;;;;;;;AAGM,MAAO,kBAAmB,SAAQ,kBAAkB,CAAA;AAE7C,IAAA,GAAG,GAAG,MAAM,CAAgB,IAAI,0EAAC;AACjC,IAAA,GAAG,GAAG,MAAM,CAAgB,IAAI,0EAAC;AACjC,IAAA,IAAI,GAAG,MAAM,CAAC,CAAC,2EAAC;AAChB,IAAA,SAAS,GAAG,MAAM,CAAgB,IAAI,gFAAC;AAEvC,IAAA,QAAQ,GAAG,MAAM,CAAC,IAAI,+EAAC;AACvB,IAAA,WAAW,GAAG,MAAM,CAAC,EAAE,kFAAC;AACxB,IAAA,OAAO,GAAG,MAAM,CAAsD,UAAU,8EAAC;AACjF,IAAA,IAAI,GAAG,MAAM,CAAgC,SAAS,2EAAC;AACvD,IAAA,KAAK,GAAG,MAAM,CAA8B,MAAM,4EAAC;AAE/D;;ACDK,MAAO,WAAY,SAAQ,WAA+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CAAA,MAAA,EAAA,CAAA;;4FAK7C,WAAW,EAAA,UAAA,EAAA,CAAA;kBAPvB,SAAS;+BACE,mBAAmB,EAAA,OAAA,EACpB,CAAC,mBAAmB,EAAE,WAAW,EAAE,YAAY,CAAC,EAAA,eAAA,EAGxC,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,mlBAAA,EAAA,MAAA,EAAA,CAAA,oTAAA,CAAA,EAAA;;sBAiB9C,SAAS;uBAAC,sBAAsB;;;AE9BnC;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-axis-appforge-axis-components-input-number.mjs","sources":["../../../axis-components/input-number/input-number.options.ts","../../../axis-components/input-number/input-number.ts","../../../axis-components/input-number/input-number.html","../../../axis-components/input-number/ngx-axis-appforge-axis-components-input-number.ts"],"sourcesContent":["import { signal } from \"@angular/core\";\nimport { ValueAccessOptions } from \"ngx-axis-appforge/core\";\n\nexport class InputNumberOptions extends ValueAccessOptions {\n\n readonly max = signal<number | null>(null);\n readonly min = signal<number | null>(null);\n readonly step = signal(1);\n readonly precision = signal<number | null>(null);\n\n readonly controls = signal(true);\n readonly placeholder = signal(\"\");\n readonly variant = signal<'outlined' | 'borderless' | 'filled' | 'underlined'>(\"outlined\");\n readonly size = signal<'large' | 'default' | 'small'>('default');\n readonly align = signal<\"left\" | \"center\" | \"right\">('left');\n\n}","import { ChangeDetectionStrategy, Component, computed, ViewChild } from '@angular/core';\nimport { InputNumberOptions } from './input-number.options';\nimport { EventHandlerOptions, ValueAccess } from 'ngx-axis-appforge/core';\nimport { NzInputNumberComponent, NzInputNumberModule } from 'ng-zorro-antd/input-number';\nimport { FormsModule } from '@angular/forms';\nimport { CommonModule } from '@angular/common';\nimport { Observable, of } from 'rxjs';\n\n@Component({\n selector: 'axis-input-number',\n imports: [NzInputNumberModule, FormsModule, CommonModule],\n templateUrl: './input-number.html',\n styleUrl: './input-number.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputNumber extends ValueAccess<InputNumberOptions> {\n\n override options: InputNumberOptions = new InputNumberOptions();\n\n readonly max = computed(() => this.options.max() == null ? Number.MAX_SAFE_INTEGER : this.options.max());\n readonly min = computed(() => this.options.min() == null ? Number.MIN_SAFE_INTEGER : this.options.min());\n\n readonly digitsInfo = computed(() => {\n if (this.options.precision() == null) {\n return \"1.0\"\n } else {\n return `1.0-${this.options.precision()}`;\n }\n })\n\n @ViewChild(NzInputNumberComponent)\n input?: NzInputNumberComponent;\n\n override onEvents(e: EventHandlerOptions<any>): Observable<boolean> | undefined {\n const obs = super.onEvents?.(e);\n if (obs) {\n return obs;\n }\n switch (e.name) {\n case \"setFocus\":\n this.input?.focus();\n return of(true);\n }\n return undefined;\n }\n\n}\n","@if (options.readonly()) {\n<span>\n {{value() | number:digitsInfo()}}\n</span>\n}@else {\n<nz-input-number style=\"width: 100%;\" [(ngModel)]=\"value\" (ngModelChange)=\"onChange?.($event)\" [nzMax]=\"max()\"\n [nzMin]=\"min()\" [nzStep]=\"options.step()\" [nzPrecision]=\"options.precision()\" [nzControls]=\"options.controls()\"\n [nzPlaceHolder]=\"options.placeholder()\" [nzVariant]=\"options.variant()\" [nzSize]=\"options.size()\"\n [class]=\"`align-${options.align()}`\" [nzDisabled]=\"options.disabled()\"\n [class.controls]=\"options.controls()\"></nz-input-number>\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './input-number';\n"],"names":[],"mappings":";;;;;;;;;;;AAGM,MAAO,kBAAmB,SAAQ,kBAAkB,CAAA;IAE7C,GAAG,GAAG,MAAM,CAAgB,IAAI;4EAAC;IACjC,GAAG,GAAG,MAAM,CAAgB,IAAI;4EAAC;IACjC,IAAI,GAAG,MAAM,CAAC,CAAC;6EAAC;IAChB,SAAS,GAAG,MAAM,CAAgB,IAAI;kFAAC;IAEvC,QAAQ,GAAG,MAAM,CAAC,IAAI;iFAAC;IACvB,WAAW,GAAG,MAAM,CAAC,EAAE;oFAAC;IACxB,OAAO,GAAG,MAAM,CAAsD,UAAU;gFAAC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,EAAA,MAAA,EAAA,IAAA,EAAA,EAAA,CAAA,WAAA,EAAA,IAAA,EAAA,QAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FAK7C,WAAW,EAAA,UAAA,EAAA,CAAA;kBAPvB,SAAS;+BACE,mBAAmB,EAAA,OAAA,EACpB,CAAC,mBAAmB,EAAE,WAAW,EAAE,YAAY,CAAC,EAAA,eAAA,EAGxC,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,mlBAAA,EAAA,MAAA,EAAA,CAAA,oTAAA,CAAA,EAAA;;sBAiB9C,SAAS;uBAAC,sBAAsB;;;AE9BnC;;AAEG;;;;"}
@@ -8,14 +8,24 @@ import { NzInputModule } from 'ng-zorro-antd/input';
8
8
  import { debounceTime, of, Subject } from 'rxjs';
9
9
 
10
10
  class InputOptions extends ValueAccessOptions {
11
- placeholder = signal("", ...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
12
- maxlength = signal(null, ...(ngDevMode ? [{ debugName: "maxlength" }] : /* istanbul ignore next */ []));
13
- debounceTime = signal(null, ...(ngDevMode ? [{ debugName: "debounceTime" }] : /* istanbul ignore next */ []));
14
- autofocus = signal(false, ...(ngDevMode ? [{ debugName: "autofocus" }] : /* istanbul ignore next */ []));
15
- type = signal("text", ...(ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []));
16
- prefix = signal(undefined, ...(ngDevMode ? [{ debugName: "prefix" }] : /* istanbul ignore next */ []));
17
- suffix = signal(undefined, ...(ngDevMode ? [{ debugName: "suffix" }] : /* istanbul ignore next */ []));
18
- variant = signal("outlined", ...(ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []));
11
+ autocomplete = signal("", /* @ts-ignore */
12
+ ...(ngDevMode ? [{ debugName: "autocomplete" }] : /* istanbul ignore next */ []));
13
+ placeholder = signal("", /* @ts-ignore */
14
+ ...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
15
+ maxlength = signal(null, /* @ts-ignore */
16
+ ...(ngDevMode ? [{ debugName: "maxlength" }] : /* istanbul ignore next */ []));
17
+ debounceTime = signal(null, /* @ts-ignore */
18
+ ...(ngDevMode ? [{ debugName: "debounceTime" }] : /* istanbul ignore next */ []));
19
+ autofocus = signal(false, /* @ts-ignore */
20
+ ...(ngDevMode ? [{ debugName: "autofocus" }] : /* istanbul ignore next */ []));
21
+ type = signal("text", /* @ts-ignore */
22
+ ...(ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []));
23
+ prefix = signal(undefined, /* @ts-ignore */
24
+ ...(ngDevMode ? [{ debugName: "prefix" }] : /* istanbul ignore next */ []));
25
+ suffix = signal(undefined, /* @ts-ignore */
26
+ ...(ngDevMode ? [{ debugName: "suffix" }] : /* istanbul ignore next */ []));
27
+ variant = signal("outlined", /* @ts-ignore */
28
+ ...(ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []));
19
29
  }
20
30
 
21
31
  class Input extends ValueAccess {
@@ -56,7 +66,8 @@ class Input extends ValueAccess {
56
66
  }
57
67
  return undefined;
58
68
  }
59
- inputValue = model(...(ngDevMode ? [undefined, { debugName: "inputValue" }] : /* istanbul ignore next */ []));
69
+ inputValue = model(/* @ts-ignore */
70
+ ...(ngDevMode ? [undefined, { debugName: "inputValue" }] : /* istanbul ignore next */ []));
60
71
  inputSubject = new Subject();
61
72
  writeValue(value) {
62
73
  super.writeValue(value);
@@ -65,12 +76,12 @@ class Input extends ValueAccess {
65
76
  onEnter() {
66
77
  this.triggeEvents("enterKeydown", { value: this.inputValue() }).subscribe();
67
78
  }
68
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: Input, deps: [], target: i0.ɵɵFactoryTarget.Component });
69
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.12", type: Input, isStandalone: true, selector: "axis-input", inputs: { inputValue: { classPropertyName: "inputValue", publicName: "inputValue", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { inputValue: "inputValueChange" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], usesInheritance: true, ngImport: i0, template: "@if (options.readonly()) {\n<span>\n {{value()}}\n</span>\n}@else {\n@if (options.variant()==\"outlined\") {\n<nz-input-wrapper>\n @if (options.prefix()) {\n <div nzInputAddonBefore class=\"prefix-container\">\n <ng-container [axisDynamic]=\"options.prefix()\"></ng-container>\n </div>\n }\n <input #input (keydown.enter)=\"onEnter()\" [type]=\"options.type()\" nz-input [disabled]=\"options.disabled()\"\n [(ngModel)]=\"inputValue\" (ngModelChange)=\"inputSubject.next($event)\" [placeholder]=\"options.placeholder()\"\n [maxLength]=\"options.maxlength()||9999999\" [autofocus]=\"options.autofocus()\">\n @if (options.suffix()) {\n <div nzInputAddonAfter class=\"suffix-container\">\n <ng-container [axisDynamic]=\"options.suffix()\"></ng-container>\n </div>\n }\n</nz-input-wrapper>\n<!-- <nz-input-group [nzSuffix]=\"suffixTemplate\" [nzPrefix]=\"prefixTemplate\">\n <input (keydown.enter)=\"onEnter()\" [type]=\"options.type()\" nz-input [disabled]=\"options.disabled()\"\n [(ngModel)]=\"inputValue\" (ngModelChange)=\"inputSubject.next($event)\" [placeholder]=\"options.placeholder()\"\n [maxLength]=\"options.maxlength()||9999999\" [autofocus]=\"options.autofocus()\">\n</nz-input-group>\n<ng-template #prefixTemplate>\n <div class=\"prefix-container\">\n @if (options.prefix()) {\n <ng-container [axisDynamic]=\"options.prefix()\"></ng-container>\n }\n </div>\n</ng-template>\n<ng-template #suffixTemplate>\n <div class=\"suffix-container\">\n @if (options.suffix()) {\n <ng-container [axisDynamic]=\"options.suffix()\"></ng-container>\n }\n </div>\n</ng-template> -->\n}@else {\n<input (keydown.enter)=\"onEnter()\" [type]=\"options.type()\" nz-input [nzVariant]=\"options.variant()\"\n [disabled]=\"options.disabled()\" [(ngModel)]=\"inputValue\" (ngModelChange)=\"inputSubject.next($event)\"\n [placeholder]=\"options.placeholder()\" [maxLength]=\"options.maxlength()||9999999\"\n [autofocus]=\"options.autofocus()\" />\n}\n}", styles: [":host{display:block;width:100%}\n"], dependencies: [{ kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i1.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzVariant", "nzSize", "nzStepperless", "nzStatus", "disabled", "readonly"], exportAs: ["nzInput"] }, { kind: "component", type: i1.NzInputWrapperComponent, selector: "nz-input-wrapper,nz-input-password,nz-input-search", inputs: ["nzAllowClear", "nzPrefix", "nzSuffix", "nzAddonBefore", "nzAddonAfter", "nzShowCount", "nzCount"], outputs: ["nzClear"], exportAs: ["nzInputWrapper"] }, { kind: "directive", type: i1.NzInputAddonBeforeDirective, selector: "[nzInputAddonBefore]" }, { kind: "directive", type: i1.NzInputAddonAfterDirective, selector: "[nzInputAddonAfter]" }, { kind: "ngmodule", type: FormsModule }, { 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.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: DynamicDirective, selector: "[axisDynamic]", inputs: ["axisDynamic", "standalone", "isDesign", "forceRenderOnChange"], outputs: ["onRegisteValueAccess"], exportAs: ["axisDynamic"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
79
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: Input, deps: [], target: i0.ɵɵFactoryTarget.Component });
80
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: Input, isStandalone: true, selector: "axis-input", inputs: { inputValue: { classPropertyName: "inputValue", publicName: "inputValue", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { inputValue: "inputValueChange" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], usesInheritance: true, ngImport: i0, template: "@if (options.readonly()) {\n<span>\n {{value()}}\n</span>\n}@else {\n@if (options.variant()==\"outlined\") {\n<nz-input-wrapper>\n @if (options.prefix()) {\n <div nzInputAddonBefore class=\"prefix-container\">\n <ng-container [axisDynamic]=\"options.prefix()\"></ng-container>\n </div>\n }\n <input #input (keydown.enter)=\"onEnter()\" [type]=\"options.type()\" [autocomplete]=\"options.autocomplete()\" nz-input\n [disabled]=\"options.disabled()\" [(ngModel)]=\"inputValue\" (ngModelChange)=\"inputSubject.next($event)\"\n [placeholder]=\"options.placeholder()\" [maxLength]=\"options.maxlength()||9999999\"\n [autofocus]=\"options.autofocus()\">\n @if (options.suffix()) {\n <div nzInputAddonAfter class=\"suffix-container\">\n <ng-container [axisDynamic]=\"options.suffix()\"></ng-container>\n </div>\n }\n</nz-input-wrapper>\n}@else {\n<input (keydown.enter)=\"onEnter()\" [type]=\"options.type()\" nz-input [nzVariant]=\"options.variant()\"\n [disabled]=\"options.disabled()\" [(ngModel)]=\"inputValue\" (ngModelChange)=\"inputSubject.next($event)\"\n [placeholder]=\"options.placeholder()\" [maxLength]=\"options.maxlength()||9999999\"\n [autofocus]=\"options.autofocus()\" />\n}\n}", styles: [":host{display:block;width:100%}\n"], dependencies: [{ kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i1.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzVariant", "nzSize", "nzStatus", "disabled", "readonly"], exportAs: ["nzInput"] }, { kind: "component", type: i1.NzInputWrapperComponent, selector: "nz-input-wrapper,nz-input-password,nz-input-search", inputs: ["nzAllowClear", "nzPrefix", "nzSuffix", "nzAddonBefore", "nzAddonAfter", "nzShowCount", "nzCount"], outputs: ["nzClear"], exportAs: ["nzInputWrapper"] }, { kind: "directive", type: i1.NzInputAddonBeforeDirective, selector: "[nzInputAddonBefore]" }, { kind: "directive", type: i1.NzInputAddonAfterDirective, selector: "[nzInputAddonAfter]" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: DynamicDirective, selector: "[axisDynamic]", inputs: ["axisDynamic", "standalone", "isDesign", "forceRenderOnChange"], outputs: ["onRegisteValueAccess"], exportAs: ["axisDynamic"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
70
81
  }
71
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: Input, decorators: [{
82
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: Input, decorators: [{
72
83
  type: Component,
73
- args: [{ selector: 'axis-input', imports: [NzInputModule, FormsModule, DynamicDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (options.readonly()) {\n<span>\n {{value()}}\n</span>\n}@else {\n@if (options.variant()==\"outlined\") {\n<nz-input-wrapper>\n @if (options.prefix()) {\n <div nzInputAddonBefore class=\"prefix-container\">\n <ng-container [axisDynamic]=\"options.prefix()\"></ng-container>\n </div>\n }\n <input #input (keydown.enter)=\"onEnter()\" [type]=\"options.type()\" nz-input [disabled]=\"options.disabled()\"\n [(ngModel)]=\"inputValue\" (ngModelChange)=\"inputSubject.next($event)\" [placeholder]=\"options.placeholder()\"\n [maxLength]=\"options.maxlength()||9999999\" [autofocus]=\"options.autofocus()\">\n @if (options.suffix()) {\n <div nzInputAddonAfter class=\"suffix-container\">\n <ng-container [axisDynamic]=\"options.suffix()\"></ng-container>\n </div>\n }\n</nz-input-wrapper>\n<!-- <nz-input-group [nzSuffix]=\"suffixTemplate\" [nzPrefix]=\"prefixTemplate\">\n <input (keydown.enter)=\"onEnter()\" [type]=\"options.type()\" nz-input [disabled]=\"options.disabled()\"\n [(ngModel)]=\"inputValue\" (ngModelChange)=\"inputSubject.next($event)\" [placeholder]=\"options.placeholder()\"\n [maxLength]=\"options.maxlength()||9999999\" [autofocus]=\"options.autofocus()\">\n</nz-input-group>\n<ng-template #prefixTemplate>\n <div class=\"prefix-container\">\n @if (options.prefix()) {\n <ng-container [axisDynamic]=\"options.prefix()\"></ng-container>\n }\n </div>\n</ng-template>\n<ng-template #suffixTemplate>\n <div class=\"suffix-container\">\n @if (options.suffix()) {\n <ng-container [axisDynamic]=\"options.suffix()\"></ng-container>\n }\n </div>\n</ng-template> -->\n}@else {\n<input (keydown.enter)=\"onEnter()\" [type]=\"options.type()\" nz-input [nzVariant]=\"options.variant()\"\n [disabled]=\"options.disabled()\" [(ngModel)]=\"inputValue\" (ngModelChange)=\"inputSubject.next($event)\"\n [placeholder]=\"options.placeholder()\" [maxLength]=\"options.maxlength()||9999999\"\n [autofocus]=\"options.autofocus()\" />\n}\n}", styles: [":host{display:block;width:100%}\n"] }]
84
+ args: [{ selector: 'axis-input', imports: [NzInputModule, FormsModule, DynamicDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (options.readonly()) {\n<span>\n {{value()}}\n</span>\n}@else {\n@if (options.variant()==\"outlined\") {\n<nz-input-wrapper>\n @if (options.prefix()) {\n <div nzInputAddonBefore class=\"prefix-container\">\n <ng-container [axisDynamic]=\"options.prefix()\"></ng-container>\n </div>\n }\n <input #input (keydown.enter)=\"onEnter()\" [type]=\"options.type()\" [autocomplete]=\"options.autocomplete()\" nz-input\n [disabled]=\"options.disabled()\" [(ngModel)]=\"inputValue\" (ngModelChange)=\"inputSubject.next($event)\"\n [placeholder]=\"options.placeholder()\" [maxLength]=\"options.maxlength()||9999999\"\n [autofocus]=\"options.autofocus()\">\n @if (options.suffix()) {\n <div nzInputAddonAfter class=\"suffix-container\">\n <ng-container [axisDynamic]=\"options.suffix()\"></ng-container>\n </div>\n }\n</nz-input-wrapper>\n}@else {\n<input (keydown.enter)=\"onEnter()\" [type]=\"options.type()\" nz-input [nzVariant]=\"options.variant()\"\n [disabled]=\"options.disabled()\" [(ngModel)]=\"inputValue\" (ngModelChange)=\"inputSubject.next($event)\"\n [placeholder]=\"options.placeholder()\" [maxLength]=\"options.maxlength()||9999999\"\n [autofocus]=\"options.autofocus()\" />\n}\n}", styles: [":host{display:block;width:100%}\n"] }]
74
85
  }], ctorParameters: () => [], propDecorators: { input: [{
75
86
  type: ViewChild,
76
87
  args: ["input"]
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-axis-appforge-axis-components-input.mjs","sources":["../../../axis-components/input/input.options.ts","../../../axis-components/input/input.ts","../../../axis-components/input/input.html","../../../axis-components/input/ngx-axis-appforge-axis-components-input.ts"],"sourcesContent":["import { signal } from \"@angular/core\";\nimport { ValueAccessOptions } from \"ngx-axis-appforge/core\";\n\nexport class InputOptions extends ValueAccessOptions {\n\n readonly placeholder = signal(\"\");\n readonly maxlength = signal<number | null>(null);\n readonly debounceTime = signal<number | null>(null);\n readonly autofocus = signal<boolean>(false);\n readonly type = signal<\"text\" | \"password\">(\"text\");\n readonly prefix = signal<any>(undefined);\n readonly suffix = signal<any>(undefined);\n readonly variant = signal<'outlined' | 'borderless' | 'filled' | 'underlined'>(\"outlined\");\n}","import { ChangeDetectionStrategy, Component, effect, ElementRef, model, ViewChild } from '@angular/core';\nimport { InputOptions } from './input.options';\nimport { FormsModule } from '@angular/forms';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport { DynamicDirective, EventHandlerOptions, ValueAccess } from 'ngx-axis-appforge/core';\nimport { debounceTime, Observable, of, Subject } from 'rxjs';\n\n@Component({\n selector: 'axis-input',\n imports: [NzInputModule, FormsModule, DynamicDirective],\n templateUrl: './input.html',\n styleUrl: './input.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Input extends ValueAccess<InputOptions> {\n constructor() {\n super();\n effect(() => {\n this.unsubscribe([\"change\"]);\n if (this.options.debounceTime() ?? 0 > 0) {\n this.addSubscribe(this.inputSubject.pipe(debounceTime(this.options.debounceTime()!)).subscribe(value => {\n this.value.set(value);\n this.onChange?.(value);\n }), \"change\");\n } else {\n this.addSubscribe(this.inputSubject.subscribe(value => {\n this.value.set(value);\n this.onChange?.(value);\n }), \"change\");\n }\n });\n effect(() => {\n if (this.options.initValue() !== undefined) {\n this.inputValue.set(this.options.initValue());\n }\n })\n }\n\n override options: InputOptions = new InputOptions();\n\n @ViewChild(\"input\")\n input?: ElementRef<HTMLInputElement>;\n\n override onEvents(e: EventHandlerOptions<any>): Observable<boolean> | undefined {\n const obs = super.onEvents?.(e);\n if (obs) {\n return obs;\n }\n switch (e.name) {\n case \"setFocus\":\n this.input?.nativeElement.focus();\n return of(true);\n }\n return undefined;\n }\n\n readonly inputValue = model<string>();\n readonly inputSubject = new Subject();\n\n override writeValue(value: any): void {\n super.writeValue(value);\n this.inputValue.set(value);\n }\n\n onEnter() {\n this.triggeEvents(\"enterKeydown\", { value: this.inputValue() }).subscribe();\n }\n\n}\n","@if (options.readonly()) {\n<span>\n {{value()}}\n</span>\n}@else {\n@if (options.variant()==\"outlined\") {\n<nz-input-wrapper>\n @if (options.prefix()) {\n <div nzInputAddonBefore class=\"prefix-container\">\n <ng-container [axisDynamic]=\"options.prefix()\"></ng-container>\n </div>\n }\n <input #input (keydown.enter)=\"onEnter()\" [type]=\"options.type()\" nz-input [disabled]=\"options.disabled()\"\n [(ngModel)]=\"inputValue\" (ngModelChange)=\"inputSubject.next($event)\" [placeholder]=\"options.placeholder()\"\n [maxLength]=\"options.maxlength()||9999999\" [autofocus]=\"options.autofocus()\">\n @if (options.suffix()) {\n <div nzInputAddonAfter class=\"suffix-container\">\n <ng-container [axisDynamic]=\"options.suffix()\"></ng-container>\n </div>\n }\n</nz-input-wrapper>\n<!-- <nz-input-group [nzSuffix]=\"suffixTemplate\" [nzPrefix]=\"prefixTemplate\">\n <input (keydown.enter)=\"onEnter()\" [type]=\"options.type()\" nz-input [disabled]=\"options.disabled()\"\n [(ngModel)]=\"inputValue\" (ngModelChange)=\"inputSubject.next($event)\" [placeholder]=\"options.placeholder()\"\n [maxLength]=\"options.maxlength()||9999999\" [autofocus]=\"options.autofocus()\">\n</nz-input-group>\n<ng-template #prefixTemplate>\n <div class=\"prefix-container\">\n @if (options.prefix()) {\n <ng-container [axisDynamic]=\"options.prefix()\"></ng-container>\n }\n </div>\n</ng-template>\n<ng-template #suffixTemplate>\n <div class=\"suffix-container\">\n @if (options.suffix()) {\n <ng-container [axisDynamic]=\"options.suffix()\"></ng-container>\n }\n </div>\n</ng-template> -->\n}@else {\n<input (keydown.enter)=\"onEnter()\" [type]=\"options.type()\" nz-input [nzVariant]=\"options.variant()\"\n [disabled]=\"options.disabled()\" [(ngModel)]=\"inputValue\" (ngModelChange)=\"inputSubject.next($event)\"\n [placeholder]=\"options.placeholder()\" [maxLength]=\"options.maxlength()||9999999\"\n [autofocus]=\"options.autofocus()\" />\n}\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './input';\n"],"names":[],"mappings":";;;;;;;;;AAGM,MAAO,YAAa,SAAQ,kBAAkB,CAAA;AAEvC,IAAA,WAAW,GAAG,MAAM,CAAC,EAAE,kFAAC;AACxB,IAAA,SAAS,GAAG,MAAM,CAAgB,IAAI,gFAAC;AACvC,IAAA,YAAY,GAAG,MAAM,CAAgB,IAAI,mFAAC;AAC1C,IAAA,SAAS,GAAG,MAAM,CA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AuB,CAAC,MAAM,EAAA,QAAA,EAAA,2hEAAA,EAAA,MAAA,EAAA,CAAA,mCAAA,CAAA,EAAA;;sBA4B9C,SAAS;uBAAC,OAAO;;;AExCpB;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-axis-appforge-axis-components-input.mjs","sources":["../../../axis-components/input/input.options.ts","../../../axis-components/input/input.ts","../../../axis-components/input/input.html","../../../axis-components/input/ngx-axis-appforge-axis-components-input.ts"],"sourcesContent":["import { signal } from \"@angular/core\";\nimport { ValueAccessOptions } from \"ngx-axis-appforge/core\";\n\nexport class InputOptions extends ValueAccessOptions {\n\n readonly autocomplete = signal(\"\");\n readonly placeholder = signal(\"\");\n readonly maxlength = signal<number | null>(null);\n readonly debounceTime = signal<number | null>(null);\n readonly autofocus = signal<boolean>(false);\n readonly type = signal<\"text\" | \"password\">(\"text\");\n readonly prefix = signal<any>(undefined);\n readonly suffix = signal<any>(undefined);\n readonly variant = signal<'outlined' | 'borderless' | 'filled' | 'underlined'>(\"outlined\");\n}","import { ChangeDetectionStrategy, Component, effect, ElementRef, model, ViewChild } from '@angular/core';\nimport { InputOptions } from './input.options';\nimport { FormsModule } from '@angular/forms';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport { DynamicDirective, EventHandlerOptions, ValueAccess } from 'ngx-axis-appforge/core';\nimport { debounceTime, Observable, of, Subject } from 'rxjs';\n\n@Component({\n selector: 'axis-input',\n imports: [NzInputModule, FormsModule, DynamicDirective],\n templateUrl: './input.html',\n styleUrl: './input.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Input extends ValueAccess<InputOptions> {\n constructor() {\n super();\n effect(() => {\n this.unsubscribe([\"change\"]);\n if (this.options.debounceTime() ?? 0 > 0) {\n this.addSubscribe(this.inputSubject.pipe(debounceTime(this.options.debounceTime()!)).subscribe(value => {\n this.value.set(value);\n this.onChange?.(value);\n }), \"change\");\n } else {\n this.addSubscribe(this.inputSubject.subscribe(value => {\n this.value.set(value);\n this.onChange?.(value);\n }), \"change\");\n }\n });\n effect(() => {\n if (this.options.initValue() !== undefined) {\n this.inputValue.set(this.options.initValue());\n }\n })\n }\n\n override options: InputOptions = new InputOptions();\n\n @ViewChild(\"input\")\n input?: ElementRef<HTMLInputElement>;\n\n override onEvents(e: EventHandlerOptions<any>): Observable<boolean> | undefined {\n const obs = super.onEvents?.(e);\n if (obs) {\n return obs;\n }\n switch (e.name) {\n case \"setFocus\":\n this.input?.nativeElement.focus();\n return of(true);\n }\n return undefined;\n }\n\n readonly inputValue = model<string>();\n readonly inputSubject = new Subject();\n\n override writeValue(value: any): void {\n super.writeValue(value);\n this.inputValue.set(value);\n }\n\n onEnter() {\n this.triggeEvents(\"enterKeydown\", { value: this.inputValue() }).subscribe();\n }\n\n}\n","@if (options.readonly()) {\n<span>\n {{value()}}\n</span>\n}@else {\n@if (options.variant()==\"outlined\") {\n<nz-input-wrapper>\n @if (options.prefix()) {\n <div nzInputAddonBefore class=\"prefix-container\">\n <ng-container [axisDynamic]=\"options.prefix()\"></ng-container>\n </div>\n }\n <input #input (keydown.enter)=\"onEnter()\" [type]=\"options.type()\" [autocomplete]=\"options.autocomplete()\" nz-input\n [disabled]=\"options.disabled()\" [(ngModel)]=\"inputValue\" (ngModelChange)=\"inputSubject.next($event)\"\n [placeholder]=\"options.placeholder()\" [maxLength]=\"options.maxlength()||9999999\"\n [autofocus]=\"options.autofocus()\">\n @if (options.suffix()) {\n <div nzInputAddonAfter class=\"suffix-container\">\n <ng-container [axisDynamic]=\"options.suffix()\"></ng-container>\n </div>\n }\n</nz-input-wrapper>\n}@else {\n<input (keydown.enter)=\"onEnter()\" [type]=\"options.type()\" nz-input [nzVariant]=\"options.variant()\"\n [disabled]=\"options.disabled()\" [(ngModel)]=\"inputValue\" (ngModelChange)=\"inputSubject.next($event)\"\n [placeholder]=\"options.placeholder()\" [maxLength]=\"options.maxlength()||9999999\"\n [autofocus]=\"options.autofocus()\" />\n}\n}","/**\n * Generated bundle index. Do not edit.\n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