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
@@ -26,44 +26,80 @@ import * as i3 from 'ng-zorro-antd/menu';
26
26
  import * as i8 from 'ng-zorro-antd/core/transition-patch';
27
27
 
28
28
  class TreeSelectorOptions extends ValueAccessOptions {
29
- labelField = signal("title", ...(ngDevMode ? [{ debugName: "labelField" }] : /* istanbul ignore next */ []));
30
- valueField = signal("key", ...(ngDevMode ? [{ debugName: "valueField" }] : /* istanbul ignore next */ []));
31
- selectableField = signal("selectable", ...(ngDevMode ? [{ debugName: "selectableField" }] : /* istanbul ignore next */ []));
32
- iconField = signal("icon", ...(ngDevMode ? [{ debugName: "iconField" }] : /* istanbul ignore next */ []));
33
- fullValue = signal(false, ...(ngDevMode ? [{ debugName: "fullValue" }] : /* istanbul ignore next */ []));
34
- levelStart = signal(0, ...(ngDevMode ? [{ debugName: "levelStart" }] : /* istanbul ignore next */ []));
35
- levelEnd = signal(null, ...(ngDevMode ? [{ debugName: "levelEnd" }] : /* istanbul ignore next */ []));
36
- data = signal(undefined, ...(ngDevMode ? [{ debugName: "data" }] : /* istanbul ignore next */ []));
37
- nodeFn = signal(undefined, ...(ngDevMode ? [{ debugName: "nodeFn" }] : /* istanbul ignore next */ []));
38
- selectAbleLevel = signal("", ...(ngDevMode ? [{ debugName: "selectAbleLevel" }] : /* istanbul ignore next */ []));
39
- multiple = signal(false, ...(ngDevMode ? [{ debugName: "multiple" }] : /* istanbul ignore next */ []));
40
- maxSelectCount = signal(null, ...(ngDevMode ? [{ debugName: "maxSelectCount" }] : /* istanbul ignore next */ []));
41
- defaultFirst = signal(false, ...(ngDevMode ? [{ debugName: "defaultFirst" }] : /* istanbul ignore next */ []));
42
- allowClear = signal(true, ...(ngDevMode ? [{ debugName: "allowClear" }] : /* istanbul ignore next */ []));
43
- outputLeafValue = signal(false, ...(ngDevMode ? [{ debugName: "outputLeafValue" }] : /* istanbul ignore next */ []));
44
- type = signal("tree", ...(ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []));
45
- showSearch = signal(true, ...(ngDevMode ? [{ debugName: "showSearch" }] : /* istanbul ignore next */ []));
46
- hideUnMatched = signal(true, ...(ngDevMode ? [{ debugName: "hideUnMatched" }] : /* istanbul ignore next */ []));
47
- showLine = signal(false, ...(ngDevMode ? [{ debugName: "showLine" }] : /* istanbul ignore next */ []));
48
- title = signal("", ...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
49
- expandedLevel = signal(null, ...(ngDevMode ? [{ debugName: "expandedLevel" }] : /* istanbul ignore next */ []));
50
- placeHolder = signal("", ...(ngDevMode ? [{ debugName: "placeHolder" }] : /* istanbul ignore next */ []));
51
- dropdownMatchSelectWidth = signal(true, ...(ngDevMode ? [{ debugName: "dropdownMatchSelectWidth" }] : /* istanbul ignore next */ []));
52
- dropdownStyle = signal(null, ...(ngDevMode ? [{ debugName: "dropdownStyle" }] : /* istanbul ignore next */ []));
53
- size = signal("default", ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
54
- variant = signal("outlined", ...(ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []));
55
- expandTrigger = signal("click", ...(ngDevMode ? [{ debugName: "expandTrigger" }] : /* istanbul ignore next */ []));
56
- menus = signal([], ...(ngDevMode ? [{ debugName: "menus" }] : /* istanbul ignore next */ []));
29
+ labelField = signal("title", /* @ts-ignore */
30
+ ...(ngDevMode ? [{ debugName: "labelField" }] : /* istanbul ignore next */ []));
31
+ valueField = signal("key", /* @ts-ignore */
32
+ ...(ngDevMode ? [{ debugName: "valueField" }] : /* istanbul ignore next */ []));
33
+ selectableField = signal("selectable", /* @ts-ignore */
34
+ ...(ngDevMode ? [{ debugName: "selectableField" }] : /* istanbul ignore next */ []));
35
+ iconField = signal("icon", /* @ts-ignore */
36
+ ...(ngDevMode ? [{ debugName: "iconField" }] : /* istanbul ignore next */ []));
37
+ fullValue = signal(false, /* @ts-ignore */
38
+ ...(ngDevMode ? [{ debugName: "fullValue" }] : /* istanbul ignore next */ []));
39
+ levelStart = signal(0, /* @ts-ignore */
40
+ ...(ngDevMode ? [{ debugName: "levelStart" }] : /* istanbul ignore next */ []));
41
+ levelEnd = signal(null, /* @ts-ignore */
42
+ ...(ngDevMode ? [{ debugName: "levelEnd" }] : /* istanbul ignore next */ []));
43
+ data = signal(undefined, /* @ts-ignore */
44
+ ...(ngDevMode ? [{ debugName: "data" }] : /* istanbul ignore next */ []));
45
+ nodeFn = signal(undefined, /* @ts-ignore */
46
+ ...(ngDevMode ? [{ debugName: "nodeFn" }] : /* istanbul ignore next */ []));
47
+ selectAbleLevel = signal("", /* @ts-ignore */
48
+ ...(ngDevMode ? [{ debugName: "selectAbleLevel" }] : /* istanbul ignore next */ []));
49
+ multiple = signal(false, /* @ts-ignore */
50
+ ...(ngDevMode ? [{ debugName: "multiple" }] : /* istanbul ignore next */ []));
51
+ maxSelectCount = signal(null, /* @ts-ignore */
52
+ ...(ngDevMode ? [{ debugName: "maxSelectCount" }] : /* istanbul ignore next */ []));
53
+ defaultFirst = signal(false, /* @ts-ignore */
54
+ ...(ngDevMode ? [{ debugName: "defaultFirst" }] : /* istanbul ignore next */ []));
55
+ allowClear = signal(true, /* @ts-ignore */
56
+ ...(ngDevMode ? [{ debugName: "allowClear" }] : /* istanbul ignore next */ []));
57
+ outputLeafValue = signal(false, /* @ts-ignore */
58
+ ...(ngDevMode ? [{ debugName: "outputLeafValue" }] : /* istanbul ignore next */ []));
59
+ type = signal("tree", /* @ts-ignore */
60
+ ...(ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []));
61
+ showSearch = signal(true, /* @ts-ignore */
62
+ ...(ngDevMode ? [{ debugName: "showSearch" }] : /* istanbul ignore next */ []));
63
+ hideUnMatched = signal(true, /* @ts-ignore */
64
+ ...(ngDevMode ? [{ debugName: "hideUnMatched" }] : /* istanbul ignore next */ []));
65
+ showLine = signal(false, /* @ts-ignore */
66
+ ...(ngDevMode ? [{ debugName: "showLine" }] : /* istanbul ignore next */ []));
67
+ title = signal("", /* @ts-ignore */
68
+ ...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
69
+ expandedLevel = signal(null, /* @ts-ignore */
70
+ ...(ngDevMode ? [{ debugName: "expandedLevel" }] : /* istanbul ignore next */ []));
71
+ placeHolder = signal("", /* @ts-ignore */
72
+ ...(ngDevMode ? [{ debugName: "placeHolder" }] : /* istanbul ignore next */ []));
73
+ dropdownMatchSelectWidth = signal(true, /* @ts-ignore */
74
+ ...(ngDevMode ? [{ debugName: "dropdownMatchSelectWidth" }] : /* istanbul ignore next */ []));
75
+ dropdownStyle = signal(null, /* @ts-ignore */
76
+ ...(ngDevMode ? [{ debugName: "dropdownStyle" }] : /* istanbul ignore next */ []));
77
+ size = signal("default", /* @ts-ignore */
78
+ ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
79
+ variant = signal("outlined", /* @ts-ignore */
80
+ ...(ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []));
81
+ expandTrigger = signal("click", /* @ts-ignore */
82
+ ...(ngDevMode ? [{ debugName: "expandTrigger" }] : /* istanbul ignore next */ []));
83
+ menus = signal([], /* @ts-ignore */
84
+ ...(ngDevMode ? [{ debugName: "menus" }] : /* istanbul ignore next */ []));
57
85
  }
58
86
  class TreeNodeMenuOptions {
59
- inuse = signal(true, ...(ngDevMode ? [{ debugName: "inuse" }] : /* istanbul ignore next */ []));
60
- title = signal("未命名", ...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
61
- icon = signal(undefined, ...(ngDevMode ? [{ debugName: "icon" }] : /* istanbul ignore next */ []));
62
- danger = signal(false, ...(ngDevMode ? [{ debugName: "danger" }] : /* istanbul ignore next */ []));
63
- confirm = signal(false, ...(ngDevMode ? [{ debugName: "confirm" }] : /* istanbul ignore next */ []));
64
- confirmText = signal("是否确认?", ...(ngDevMode ? [{ debugName: "confirmText" }] : /* istanbul ignore next */ []));
65
- disabled = signal(false, ...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
66
- triggeEvents = signal(undefined, ...(ngDevMode ? [{ debugName: "triggeEvents" }] : /* istanbul ignore next */ []));
87
+ inuse = signal(true, /* @ts-ignore */
88
+ ...(ngDevMode ? [{ debugName: "inuse" }] : /* istanbul ignore next */ []));
89
+ title = signal("未命名", /* @ts-ignore */
90
+ ...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
91
+ icon = signal(undefined, /* @ts-ignore */
92
+ ...(ngDevMode ? [{ debugName: "icon" }] : /* istanbul ignore next */ []));
93
+ danger = signal(false, /* @ts-ignore */
94
+ ...(ngDevMode ? [{ debugName: "danger" }] : /* istanbul ignore next */ []));
95
+ confirm = signal(false, /* @ts-ignore */
96
+ ...(ngDevMode ? [{ debugName: "confirm" }] : /* istanbul ignore next */ []));
97
+ confirmText = signal("是否确认?", /* @ts-ignore */
98
+ ...(ngDevMode ? [{ debugName: "confirmText" }] : /* istanbul ignore next */ []));
99
+ disabled = signal(false, /* @ts-ignore */
100
+ ...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
101
+ triggeEvents = signal(undefined, /* @ts-ignore */
102
+ ...(ngDevMode ? [{ debugName: "triggeEvents" }] : /* istanbul ignore next */ []));
67
103
  }
68
104
 
69
105
  class TreeSelector extends ValueAccess {
@@ -102,11 +138,16 @@ class TreeSelector extends ValueAccess {
102
138
  modal = inject(NzModalService);
103
139
  menuNodeDs;
104
140
  options = new TreeSelectorOptions();
105
- menus = computed(() => this.options.menus().map(_ => new TreeNodeMenuOptions()), ...(ngDevMode ? [{ debugName: "menus" }] : /* istanbul ignore next */ []));
106
- searchValue = model(...(ngDevMode ? [undefined, { debugName: "searchValue" }] : /* istanbul ignore next */ []));
107
- treeData = computed(() => this.buildTreeData(), ...(ngDevMode ? [{ debugName: "treeData" }] : /* istanbul ignore next */ []));
108
- selectedKeys = signal([], ...(ngDevMode ? [{ debugName: "selectedKeys" }] : /* istanbul ignore next */ []));
109
- selectValue = model(...(ngDevMode ? [undefined, { debugName: "selectValue" }] : /* istanbul ignore next */ []));
141
+ menus = computed(() => this.options.menus().map(_ => new TreeNodeMenuOptions()), /* @ts-ignore */
142
+ ...(ngDevMode ? [{ debugName: "menus" }] : /* istanbul ignore next */ []));
143
+ searchValue = model(/* @ts-ignore */
144
+ ...(ngDevMode ? [undefined, { debugName: "searchValue" }] : /* istanbul ignore next */ []));
145
+ treeData = computed(() => this.buildTreeData(), /* @ts-ignore */
146
+ ...(ngDevMode ? [{ debugName: "treeData" }] : /* istanbul ignore next */ []));
147
+ selectedKeys = signal([], /* @ts-ignore */
148
+ ...(ngDevMode ? [{ debugName: "selectedKeys" }] : /* istanbul ignore next */ []));
149
+ selectValue = model(/* @ts-ignore */
150
+ ...(ngDevMode ? [undefined, { debugName: "selectValue" }] : /* istanbul ignore next */ []));
110
151
  treeNodeMap = computed(() => {
111
152
  const map = new Map();
112
153
  recursionArray(this.treeData(), {
@@ -115,7 +156,8 @@ class TreeSelector extends ValueAccess {
115
156
  }
116
157
  });
117
158
  return map;
118
- }, ...(ngDevMode ? [{ debugName: "treeNodeMap" }] : /* istanbul ignore next */ []));
159
+ }, /* @ts-ignore */
160
+ ...(ngDevMode ? [{ debugName: "treeNodeMap" }] : /* istanbul ignore next */ []));
119
161
  inputTree;
120
162
  changeOn = (option, level) => {
121
163
  return option['selectable'];
@@ -348,10 +390,10 @@ class TreeSelector extends ValueAccess {
348
390
  this.value.set(value);
349
391
  this.onChange?.(this.value());
350
392
  }
351
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: TreeSelector, deps: [], target: i0.ɵɵFactoryTarget.Component });
352
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.12", type: TreeSelector, isStandalone: true, selector: "axis-tree-selector", inputs: { searchValue: { classPropertyName: "searchValue", publicName: "searchValue", isSignal: true, isRequired: false, transformFunction: null }, selectValue: { classPropertyName: "selectValue", publicName: "selectValue", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { searchValue: "searchValueChange", selectValue: "selectValueChange" }, viewQueries: [{ propertyName: "treeSelect", first: true, predicate: NzTreeSelectComponent, descendants: true }, { propertyName: "menu", first: true, predicate: NzDropdownMenuComponent, descendants: true }, { propertyName: "inputTree", first: true, predicate: ["inputTree"], descendants: true }], usesInheritance: true, ngImport: i0, template: "@switch (options.type() ) {\n@case (\"tree\") {\n<div class=\"tree-box\">\n @if (options.title()) {\n <div class=\"title-container\">{{options.title()}}</div>\n }\n @if (options.showSearch()) {\n <div class=\"search-inp\">\n <input type=\"text\" nz-input placeholder=\"\u641C\u7D22\" [(ngModel)]=\"searchValue\" nzVariant=\"borderless\" nzSize=\"small\" />\n </div>\n }\n <div class=\"tree-body\">\n <nz-tree [nzSearchValue]=\"searchValue()??''\" [nzTreeTemplate]=\"optionItem\"\n [nzHideUnMatched]=\"options.hideUnMatched()\" [nzData]=\"treeData()\" nzBlockNode\n [nzSelectedKeys]=\"selectedKeys()\" [nzMultiple]=\"options.multiple()\" [nzShowLine]=\"options.showLine()\"\n (nzClick)=\"nodeClick($event)\" (nzContextMenu)=\"onContextMenu($event)\">\n </nz-tree>\n </div>\n</div>\n<nz-dropdown-menu>\n <ul nz-menu>\n @for (m of menus(); track $index) {\n @if (m.inuse()) {\n <li nz-menu-item [nzDisabled]=\"m.disabled()\" [nzDanger]=\"m.danger()\" (click)=\"menuClick(m)\">\n @if (m.icon()) {\n <ng-container [axisDynamic]=\"m.icon()\"></ng-container>\n }\n {{m.title()}}\n </li>\n }\n }\n </ul>\n</nz-dropdown-menu>\n}\n@case (\"input-tree\") {\n<nz-tree-select #inputTree style=\"width: 100%;\" [nzNodes]=\"treeData()\" [nzAllowClear]=\"options.allowClear()\"\n [nzDropdownMatchSelectWidth]=\"options.dropdownMatchSelectWidth()\" [nzSize]=\"options.size()\"\n [nzVariant]=\"options.variant()\" [nzShowSearch]=\"options.showSearch()\" [nzShowLine]=\"options.showLine()\"\n [nzPlaceHolder]=\"options.placeHolder()\" [nzTreeTemplate]=\"optionItem\" [nzCheckable]=\"options.multiple()\"\n [nzMultiple]=\"options.multiple()\" [nzMaxTagCount]=\"options.maxSelectCount()??9999999\"\n [nzHideUnMatched]=\"options.hideUnMatched()\" [nzDisabled]=\"options.disabled() || options.readonly()\"\n [nzDropdownStyle]=\"options.dropdownStyle()\" [(ngModel)]=\"selectValue\"\n (ngModelChange)=\"onInputTreeChange()\"></nz-tree-select>\n}\n@case (\"cascader\"){\n<nz-cascader style=\"width: 100%;\" [nzOptions]=\"treeData()\" [(ngModel)]=\"selectValue\"\n (ngModelChange)=\"onCascaderChange($event)\" [nzMultiple]=\"options.multiple()\"\n [nzMaxTagCount]=\"options.maxSelectCount()??9999999\" [nzAllowClear]=\"options.allowClear()\" [nzChangeOn]=\"changeOn\"\n [nzDisabled]=\"options.disabled() || options.readonly()\" nzLabelProperty=\"title\"\n [nzPlaceHolder]=\"options.placeHolder()\" [nzShowSearch]=\"options.showSearch()\" [nzSize]=\"options.size()\"\n nzValueProperty=\"key\" [nzVariant]=\"options.variant()\" [nzExpandTrigger]=\"options.expandTrigger()\"\n [nzOptionRender]=\"optionItem\"></nz-cascader>\n}\n}\n<ng-template #optionItem let-option>\n <div class=\"node-item\" nz-flex nzGap=\"4px\" (click)=\"internalTreeNode(option, $event)\">\n @if (option.icon) {\n <ng-container [axisDynamic]=\"option.icon\"></ng-container>\n }\n <span [innerHTML]=\"option.title | nzHighlight: searchValue()??'' : 'i' : 'highlight'\"></span>\n @if (options.type() != 'cascader' && option.children.length) {\n <button class=\"expand-button\" nz-button nzType=\"text\" nzSize=\"small\" nzShape=\"circle\"\n (click)=\"$event.stopPropagation(); expand(option,!hasExpanded(option))\">\n <nz-icon [nzType]=\"hasExpanded(option)?'shrink':'arrows-alt'\"></nz-icon>\n </button>\n }\n </div>\n</ng-template>", styles: [":host{display:block;width:100%}.title-container{padding:20px;border-bottom:.5px solid rgba(128,128,128,.3);font-weight:500;font-size:16px}::ng-deep .highlight{color:#f50}.tree-box{height:100%;display:flex;flex-direction:column}.tree-body{flex:1;overflow:auto}.expand-button{opacity:0}.node-item{width:100%}.node-item:hover .expand-button{opacity:1}.node-item span{flex:1;white-space:nowrap}\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: "directive", type: DynamicDirective, selector: "[axisDynamic]", inputs: ["axisDynamic", "standalone", "isDesign", "forceRenderOnChange"], outputs: ["onRegisteValueAccess"], exportAs: ["axisDynamic"] }, { kind: "ngmodule", type: NzTreeModule }, { kind: "component", type: i2.NzTreeComponent, selector: "nz-tree", inputs: ["nzShowIcon", "nzHideUnMatched", "nzBlockNode", "nzExpandAll", "nzSelectMode", "nzCheckStrictly", "nzShowExpand", "nzShowLine", "nzCheckable", "nzAsyncData", "nzDraggable", "nzMultiple", "nzExpandedIcon", "nzVirtualItemSize", "nzVirtualMaxBufferPx", "nzVirtualMinBufferPx", "nzVirtualHeight", "nzTreeTemplate", "nzBeforeDrop", "nzData", "nzExpandedKeys", "nzSelectedKeys", "nzCheckedKeys", "nzSearchValue", "nzSearchFunc"], outputs: ["nzExpandedKeysChange", "nzSelectedKeysChange", "nzCheckedKeysChange", "nzSearchValueChange", "nzClick", "nzDblClick", "nzContextMenu", "nzCheckboxChange", "nzExpandChange", "nzOnDragStart", "nzOnDragEnter", "nzOnDragOver", "nzOnDragLeave", "nzOnDrop", "nzOnDragEnd"], exportAs: ["nzTree"] }, { kind: "ngmodule", type: NzDropdownModule }, { kind: "directive", type: i3.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { kind: "component", type: i3.NzMenuItemComponent, selector: "[nz-menu-item]", inputs: ["nzPaddingLeft", "nzDisabled", "nzSelected", "nzDanger", "nzMatchRouterExact", "nzMatchRouter"], exportAs: ["nzMenuItem"] }, { kind: "component", type: i4.NzDropdownMenuComponent, selector: "nz-dropdown-menu", exportAs: ["nzDropdownMenu"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i5.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: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i6.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "ngmodule", type: NzButtonModule }, { kind: "component", type: i7.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i8.ɵNzTransitionPatchDirective, selector: "[nz-button], [nz-icon], nz-icon, [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "ngmodule", type: NzFlexModule }, { kind: "directive", type: i9.NzFlexDirective, selector: "[nz-flex],nz-flex", inputs: ["nzVertical", "nzJustify", "nzAlign", "nzGap", "nzWrap", "nzFlex"], exportAs: ["nzFlex"] }, { kind: "ngmodule", type: NzTreeSelectModule }, { kind: "component", type: i10.NzTreeSelectComponent, selector: "nz-tree-select", inputs: ["nzId", "nzAllowClear", "nzShowExpand", "nzShowLine", "nzDropdownMatchSelectWidth", "nzCheckable", "nzHideUnMatched", "nzShowIcon", "nzShowSearch", "nzDisabled", "nzAsyncData", "nzMultiple", "nzDefaultExpandAll", "nzCheckStrictly", "nzVirtualItemSize", "nzVirtualMaxBufferPx", "nzVirtualMinBufferPx", "nzVirtualHeight", "nzExpandedIcon", "nzNotFoundContent", "nzNodes", "nzOpen", "nzSize", "nzVariant", "nzPlaceHolder", "nzDropdownStyle", "nzDropdownClassName", "nzBackdrop", "nzStatus", "nzPlacement", "nzExpandedKeys", "nzPrefix", "nzSuffixIcon", "nzDisplayWith", "nzMaxTagCount", "nzMaxTagPlaceholder", "nzTreeTemplate"], outputs: ["nzOpenChange", "nzCleared", "nzRemoved", "nzExpandChange", "nzTreeClick", "nzTreeCheckboxChange"], exportAs: ["nzTreeSelect"] }, { kind: "ngmodule", type: NzCascaderModule }, { kind: "component", type: i11.NzCascaderComponent, selector: "nz-cascader, [nz-cascader]", inputs: ["nzOpen", "nzOptions", "nzOptionRender", "nzShowInput", "nzShowArrow", "nzAllowClear", "nzAutoFocus", "nzChangeOnSelect", "nzDisabled", "nzColumnClassName", "nzExpandTrigger", "nzValueProperty", "nzLabelProperty", "nzLabelRender", "nzVariant", "nzNotFoundContent", "nzSize", "nzBackdrop", "nzShowSearch", "nzPlaceHolder", "nzMenuClassName", "nzMenuStyle", "nzMouseLeaveDelay", "nzMouseEnterDelay", "nzStatus", "nzMultiple", "nzMaxTagCount", "nzPlacement", "nzTriggerAction", "nzChangeOn", "nzLoadData", "nzDisplayWith", "nzPrefix", "nzSuffixIcon", "nzExpandIcon"], outputs: ["nzVisibleChange", "nzSelectionChange", "nzRemoved", "nzClear"], exportAs: ["nzCascader"] }, { kind: "ngmodule", type: NzModalModule }, { kind: "pipe", type: NzHighlightPipe, name: "nzHighlight" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
393
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: TreeSelector, deps: [], target: i0.ɵɵFactoryTarget.Component });
394
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: TreeSelector, isStandalone: true, selector: "axis-tree-selector", inputs: { searchValue: { classPropertyName: "searchValue", publicName: "searchValue", isSignal: true, isRequired: false, transformFunction: null }, selectValue: { classPropertyName: "selectValue", publicName: "selectValue", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { searchValue: "searchValueChange", selectValue: "selectValueChange" }, viewQueries: [{ propertyName: "treeSelect", first: true, predicate: NzTreeSelectComponent, descendants: true }, { propertyName: "menu", first: true, predicate: NzDropdownMenuComponent, descendants: true }, { propertyName: "inputTree", first: true, predicate: ["inputTree"], descendants: true }], usesInheritance: true, ngImport: i0, template: "@switch (options.type() ) {\n@case (\"tree\") {\n<div class=\"tree-box\">\n @if (options.title()) {\n <div class=\"title-container\">{{options.title()}}</div>\n }\n @if (options.showSearch()) {\n <div class=\"search-inp\">\n <input type=\"text\" nz-input placeholder=\"\u641C\u7D22\" [(ngModel)]=\"searchValue\" nzVariant=\"borderless\" nzSize=\"small\" />\n </div>\n }\n <div class=\"tree-body\">\n <nz-tree [nzSearchValue]=\"searchValue()??''\" [nzTreeTemplate]=\"optionItem\"\n [nzHideUnMatched]=\"options.hideUnMatched()\" [nzData]=\"treeData()\" nzBlockNode\n [nzSelectedKeys]=\"selectedKeys()\" [nzMultiple]=\"options.multiple()\" [nzShowLine]=\"options.showLine()\"\n (nzClick)=\"nodeClick($event)\" (nzContextMenu)=\"onContextMenu($event)\">\n </nz-tree>\n </div>\n</div>\n<nz-dropdown-menu>\n <ul nz-menu>\n @for (m of menus(); track $index) {\n @if (m.inuse()) {\n <li nz-menu-item [nzDisabled]=\"m.disabled()\" [nzDanger]=\"m.danger()\" (click)=\"menuClick(m)\">\n @if (m.icon()) {\n <ng-container [axisDynamic]=\"m.icon()\"></ng-container>\n }\n {{m.title()}}\n </li>\n }\n }\n </ul>\n</nz-dropdown-menu>\n}\n@case (\"input-tree\") {\n<nz-tree-select #inputTree style=\"width: 100%;\" [nzNodes]=\"treeData()\" [nzAllowClear]=\"options.allowClear()\"\n [nzDropdownMatchSelectWidth]=\"options.dropdownMatchSelectWidth()\" [nzSize]=\"options.size()\"\n [nzVariant]=\"options.variant()\" [nzShowSearch]=\"options.showSearch()\" [nzShowLine]=\"options.showLine()\"\n [nzPlaceHolder]=\"options.placeHolder()\" [nzTreeTemplate]=\"optionItem\" [nzCheckable]=\"options.multiple()\"\n [nzMultiple]=\"options.multiple()\" [nzMaxTagCount]=\"options.maxSelectCount()??9999999\"\n [nzHideUnMatched]=\"options.hideUnMatched()\" [nzDisabled]=\"options.disabled() || options.readonly()\"\n [nzDropdownStyle]=\"options.dropdownStyle()\" [(ngModel)]=\"selectValue\"\n (ngModelChange)=\"onInputTreeChange()\"></nz-tree-select>\n}\n@case (\"cascader\"){\n<nz-cascader style=\"width: 100%;\" [nzOptions]=\"treeData()\" [(ngModel)]=\"selectValue\"\n (ngModelChange)=\"onCascaderChange($event)\" [nzMultiple]=\"options.multiple()\"\n [nzMaxTagCount]=\"options.maxSelectCount()??9999999\" [nzAllowClear]=\"options.allowClear()\" [nzChangeOn]=\"changeOn\"\n [nzDisabled]=\"options.disabled() || options.readonly()\" nzLabelProperty=\"title\"\n [nzPlaceHolder]=\"options.placeHolder()\" [nzShowSearch]=\"options.showSearch()\" [nzSize]=\"options.size()\"\n nzValueProperty=\"key\" [nzVariant]=\"options.variant()\" [nzExpandTrigger]=\"options.expandTrigger()\"\n [nzOptionRender]=\"optionItem\"></nz-cascader>\n}\n}\n<ng-template #optionItem let-option>\n <div class=\"node-item\" nz-flex nzGap=\"4px\" (click)=\"internalTreeNode(option, $event)\">\n @if (option.icon) {\n <ng-container [axisDynamic]=\"option.icon\"></ng-container>\n }\n <span [innerHTML]=\"option.title | nzHighlight: searchValue()??'' : 'i' : 'highlight'\"></span>\n @if (options.type() != 'cascader' && option.children.length) {\n <button class=\"expand-button\" nz-button nzType=\"text\" nzSize=\"small\" nzShape=\"circle\"\n (click)=\"$event.stopPropagation(); expand(option,!hasExpanded(option))\">\n <nz-icon [nzType]=\"hasExpanded(option)?'shrink':'arrows-alt'\"></nz-icon>\n </button>\n }\n </div>\n</ng-template>", styles: [":host{display:block;width:100%}.title-container{padding:20px;border-bottom:.5px solid rgba(128,128,128,.3);font-weight:500;font-size:16px}::ng-deep .highlight{color:#f50}.tree-box{height:100%;display:flex;flex-direction:column}.tree-body{flex:1;overflow:auto}.expand-button{opacity:0}.node-item{width:100%}.node-item:hover .expand-button{opacity:1}.node-item span{flex:1;white-space:nowrap}\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: "directive", type: DynamicDirective, selector: "[axisDynamic]", inputs: ["axisDynamic", "standalone", "isDesign", "forceRenderOnChange"], outputs: ["onRegisteValueAccess"], exportAs: ["axisDynamic"] }, { kind: "ngmodule", type: NzTreeModule }, { kind: "component", type: i2.NzTreeComponent, selector: "nz-tree", inputs: ["nzShowIcon", "nzHideUnMatched", "nzBlockNode", "nzExpandAll", "nzSelectMode", "nzCheckStrictly", "nzShowExpand", "nzShowLine", "nzCheckable", "nzAsyncData", "nzDraggable", "nzMultiple", "nzExpandedIcon", "nzVirtualItemSize", "nzVirtualMaxBufferPx", "nzVirtualMinBufferPx", "nzVirtualHeight", "nzTreeTemplate", "nzBeforeDrop", "nzData", "nzExpandedKeys", "nzSelectedKeys", "nzCheckedKeys", "nzSearchValue", "nzSearchFunc"], outputs: ["nzExpandedKeysChange", "nzSelectedKeysChange", "nzCheckedKeysChange", "nzSearchValueChange", "nzClick", "nzDblClick", "nzContextMenu", "nzCheckboxChange", "nzExpandChange", "nzOnDragStart", "nzOnDragEnter", "nzOnDragOver", "nzOnDragLeave", "nzOnDrop", "nzOnDragEnd"], exportAs: ["nzTree"] }, { kind: "ngmodule", type: NzDropdownModule }, { kind: "directive", type: i3.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { kind: "component", type: i3.NzMenuItemComponent, selector: "[nz-menu-item]", inputs: ["nzPaddingLeft", "nzDisabled", "nzSelected", "nzDanger", "nzMatchRouterExact", "nzMatchRouter"], exportAs: ["nzMenuItem"] }, { kind: "component", type: i4.NzDropdownMenuComponent, selector: "nz-dropdown-menu", exportAs: ["nzDropdownMenu"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i5.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: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i6.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzType", "nzTheme", "nzTwotoneColor", "nzSpin", "nzRotate", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "ngmodule", type: NzButtonModule }, { kind: "component", type: i7.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i8.ɵNzTransitionPatchDirective, selector: "[nz-button], [nz-icon], nz-icon, [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "ngmodule", type: NzFlexModule }, { kind: "directive", type: i9.NzFlexDirective, selector: "[nz-flex],nz-flex", inputs: ["nzVertical", "nzJustify", "nzAlign", "nzGap", "nzWrap", "nzFlex"], exportAs: ["nzFlex"] }, { kind: "ngmodule", type: NzTreeSelectModule }, { kind: "component", type: i10.NzTreeSelectComponent, selector: "nz-tree-select", inputs: ["nzId", "nzAllowClear", "nzShowExpand", "nzShowLine", "nzDropdownMatchSelectWidth", "nzCheckable", "nzHideUnMatched", "nzShowIcon", "nzShowSearch", "nzDisabled", "nzAsyncData", "nzMultiple", "nzDefaultExpandAll", "nzCheckStrictly", "nzVirtualItemSize", "nzVirtualMaxBufferPx", "nzVirtualMinBufferPx", "nzVirtualHeight", "nzExpandedIcon", "nzNotFoundContent", "nzNodes", "nzOpen", "nzSize", "nzVariant", "nzPlaceHolder", "nzDropdownStyle", "nzDropdownClassName", "nzBackdrop", "nzStatus", "nzPlacement", "nzExpandedKeys", "nzPrefix", "nzSuffixIcon", "nzDisplayWith", "nzMaxTagCount", "nzMaxTagPlaceholder", "nzTreeTemplate"], outputs: ["nzOpenChange", "nzCleared", "nzRemoved", "nzExpandChange", "nzTreeClick", "nzTreeCheckboxChange"], exportAs: ["nzTreeSelect"] }, { kind: "ngmodule", type: NzCascaderModule }, { kind: "component", type: i11.NzCascaderComponent, selector: "nz-cascader, [nz-cascader]", inputs: ["nzOpen", "nzOptions", "nzOptionRender", "nzShowInput", "nzShowArrow", "nzAllowClear", "nzAutoFocus", "nzChangeOnSelect", "nzDisabled", "nzColumnClassName", "nzExpandTrigger", "nzValueProperty", "nzLabelProperty", "nzLabelRender", "nzVariant", "nzNotFoundContent", "nzSize", "nzBackdrop", "nzShowSearch", "nzPlaceHolder", "nzMenuClassName", "nzMenuStyle", "nzMouseLeaveDelay", "nzMouseEnterDelay", "nzStatus", "nzMultiple", "nzMaxTagCount", "nzPlacement", "nzTriggerAction", "nzChangeOn", "nzLoadData", "nzPrefix", "nzSuffixIcon", "nzExpandIcon", "nzPopupRender"], outputs: ["nzVisibleChange", "nzOpenChange", "nzSelectionChange", "nzRemoved", "nzClear"], exportAs: ["nzCascader"] }, { kind: "ngmodule", type: NzModalModule }, { kind: "pipe", type: NzHighlightPipe, name: "nzHighlight" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
353
395
  }
354
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: TreeSelector, decorators: [{
396
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImport: i0, type: TreeSelector, decorators: [{
355
397
  type: Component,
356
398
  args: [{ selector: 'axis-tree-selector', imports: [NzInputModule, DynamicDirective, NzTreeModule, NzDropdownModule, FormsModule, NzHighlightPipe, NzIconModule, NzButtonModule, NzFlexModule, NzTreeSelectModule, NzCascaderModule, NzModalModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "@switch (options.type() ) {\n@case (\"tree\") {\n<div class=\"tree-box\">\n @if (options.title()) {\n <div class=\"title-container\">{{options.title()}}</div>\n }\n @if (options.showSearch()) {\n <div class=\"search-inp\">\n <input type=\"text\" nz-input placeholder=\"\u641C\u7D22\" [(ngModel)]=\"searchValue\" nzVariant=\"borderless\" nzSize=\"small\" />\n </div>\n }\n <div class=\"tree-body\">\n <nz-tree [nzSearchValue]=\"searchValue()??''\" [nzTreeTemplate]=\"optionItem\"\n [nzHideUnMatched]=\"options.hideUnMatched()\" [nzData]=\"treeData()\" nzBlockNode\n [nzSelectedKeys]=\"selectedKeys()\" [nzMultiple]=\"options.multiple()\" [nzShowLine]=\"options.showLine()\"\n (nzClick)=\"nodeClick($event)\" (nzContextMenu)=\"onContextMenu($event)\">\n </nz-tree>\n </div>\n</div>\n<nz-dropdown-menu>\n <ul nz-menu>\n @for (m of menus(); track $index) {\n @if (m.inuse()) {\n <li nz-menu-item [nzDisabled]=\"m.disabled()\" [nzDanger]=\"m.danger()\" (click)=\"menuClick(m)\">\n @if (m.icon()) {\n <ng-container [axisDynamic]=\"m.icon()\"></ng-container>\n }\n {{m.title()}}\n </li>\n }\n }\n </ul>\n</nz-dropdown-menu>\n}\n@case (\"input-tree\") {\n<nz-tree-select #inputTree style=\"width: 100%;\" [nzNodes]=\"treeData()\" [nzAllowClear]=\"options.allowClear()\"\n [nzDropdownMatchSelectWidth]=\"options.dropdownMatchSelectWidth()\" [nzSize]=\"options.size()\"\n [nzVariant]=\"options.variant()\" [nzShowSearch]=\"options.showSearch()\" [nzShowLine]=\"options.showLine()\"\n [nzPlaceHolder]=\"options.placeHolder()\" [nzTreeTemplate]=\"optionItem\" [nzCheckable]=\"options.multiple()\"\n [nzMultiple]=\"options.multiple()\" [nzMaxTagCount]=\"options.maxSelectCount()??9999999\"\n [nzHideUnMatched]=\"options.hideUnMatched()\" [nzDisabled]=\"options.disabled() || options.readonly()\"\n [nzDropdownStyle]=\"options.dropdownStyle()\" [(ngModel)]=\"selectValue\"\n (ngModelChange)=\"onInputTreeChange()\"></nz-tree-select>\n}\n@case (\"cascader\"){\n<nz-cascader style=\"width: 100%;\" [nzOptions]=\"treeData()\" [(ngModel)]=\"selectValue\"\n (ngModelChange)=\"onCascaderChange($event)\" [nzMultiple]=\"options.multiple()\"\n [nzMaxTagCount]=\"options.maxSelectCount()??9999999\" [nzAllowClear]=\"options.allowClear()\" [nzChangeOn]=\"changeOn\"\n [nzDisabled]=\"options.disabled() || options.readonly()\" nzLabelProperty=\"title\"\n [nzPlaceHolder]=\"options.placeHolder()\" [nzShowSearch]=\"options.showSearch()\" [nzSize]=\"options.size()\"\n nzValueProperty=\"key\" [nzVariant]=\"options.variant()\" [nzExpandTrigger]=\"options.expandTrigger()\"\n [nzOptionRender]=\"optionItem\"></nz-cascader>\n}\n}\n<ng-template #optionItem let-option>\n <div class=\"node-item\" nz-flex nzGap=\"4px\" (click)=\"internalTreeNode(option, $event)\">\n @if (option.icon) {\n <ng-container [axisDynamic]=\"option.icon\"></ng-container>\n }\n <span [innerHTML]=\"option.title | nzHighlight: searchValue()??'' : 'i' : 'highlight'\"></span>\n @if (options.type() != 'cascader' && option.children.length) {\n <button class=\"expand-button\" nz-button nzType=\"text\" nzSize=\"small\" nzShape=\"circle\"\n (click)=\"$event.stopPropagation(); expand(option,!hasExpanded(option))\">\n <nz-icon [nzType]=\"hasExpanded(option)?'shrink':'arrows-alt'\"></nz-icon>\n </button>\n }\n </div>\n</ng-template>", styles: [":host{display:block;width:100%}.title-container{padding:20px;border-bottom:.5px solid rgba(128,128,128,.3);font-weight:500;font-size:16px}::ng-deep .highlight{color:#f50}.tree-box{height:100%;display:flex;flex-direction:column}.tree-body{flex:1;overflow:auto}.expand-button{opacity:0}.node-item{width:100%}.node-item:hover .expand-button{opacity:1}.node-item span{flex:1;white-space:nowrap}\n"] }]
357
399
  }], ctorParameters: () => [], propDecorators: { treeSelect: [{
@@ -1 +1 @@
1
- {"version":3,"file":"ngx-axis-appforge-axis-components-tree-selector.mjs","sources":["../../../axis-components/tree-selector/tree-selector.options.ts","../../../axis-components/tree-selector/tree-selector.ts","../../../axis-components/tree-selector/tree-selector.html","../../../axis-components/tree-selector/ngx-axis-appforge-axis-components-tree-selector.ts"],"sourcesContent":["import { signal } from \"@angular/core\";\nimport { ValueAccessOptions, TriggeEventsOptions } from \"ngx-axis-appforge/core\";\n\nexport class TreeSelectorOptions extends ValueAccessOptions {\n\n\n readonly labelField = signal(\"title\");\n readonly valueField = signal(\"key\");\n readonly selectableField = signal(\"selectable\");\n readonly iconField = signal(\"icon\");\n readonly fullValue = signal(false);\n readonly levelStart = signal(0);\n readonly levelEnd = signal<number | null>(null);\n readonly data = signal<any>(undefined);\n readonly nodeFn = signal<string | undefined>(undefined);\n\n readonly selectAbleLevel = signal<string>(\"\");\n readonly multiple = signal(false);\n readonly maxSelectCount = signal<number | null>(null);\n readonly defaultFirst = signal(false);\n readonly allowClear = signal(true);\n readonly outputLeafValue = signal(false);\n\n readonly type = signal<\"tree\" | \"input-tree\" | \"cascader\">(\"tree\");\n readonly showSearch = signal(true);\n readonly hideUnMatched = signal(true);\n readonly showLine = signal(false);\n\n readonly title = signal(\"\");\n readonly expandedLevel = signal<number | null>(null);\n\n readonly placeHolder = signal(\"\");\n readonly dropdownMatchSelectWidth = signal(true);\n readonly dropdownStyle = signal(null);\n readonly size = signal<'large' | 'small' | 'default'>(\"default\");\n readonly variant = signal<'outlined' | 'borderless' | 'filled' | 'underlined'>(\"outlined\");\n\n readonly expandTrigger = signal<'click' | 'hover'>(\"click\");\n\n readonly menus = signal<TreeNodeMenuOptions[]>([]);\n\n}\n\nexport class TreeNodeMenuOptions {\n readonly inuse = signal(true);\n readonly title = signal(\"未命名\");\n readonly icon = signal<any>(undefined);\n readonly danger = signal(false);\n readonly confirm = signal(false);\n readonly confirmText = signal(\"是否确认?\");\n readonly disabled = signal(false);\n readonly triggeEvents = signal<TriggeEventsOptions | undefined>(undefined);\n}","import { ChangeDetectionStrategy, Component, computed, effect, inject, model, signal, untracked, ViewChild } from '@angular/core';\nimport { TreeNodeMenuOptions, TreeSelectorOptions } from './tree-selector.options';\nimport { copy, DynamicDirective, recursionArray, ValueAccess } from 'ngx-axis-appforge/core';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport { NzTreeModule, NzTreeNodeOptions } from 'ng-zorro-antd/tree';\nimport { NzContextMenuService, NzDropdownMenuComponent, NzDropdownModule } from 'ng-zorro-antd/dropdown';\nimport { FormsModule } from '@angular/forms';\nimport { NzFormatEmitEvent, NzTreeNode, NzTreeNodeKey } from 'ng-zorro-antd/core/tree';\nimport { NzHighlightPipe } from 'ng-zorro-antd/core/highlight';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport { NzButtonModule } from 'ng-zorro-antd/button';\nimport { NzFlexModule } from 'ng-zorro-antd/flex';\nimport { NzTreeSelectComponent, NzTreeSelectModule } from 'ng-zorro-antd/tree-select';\nimport { NzCascaderModule, NzCascaderOption } from 'ng-zorro-antd/cascader';\nimport { NzModalModule, NzModalService } from 'ng-zorro-antd/modal';\n\n@Component({\n selector: 'axis-tree-selector',\n imports: [NzInputModule, DynamicDirective, NzTreeModule, NzDropdownModule, FormsModule, NzHighlightPipe, NzIconModule, NzButtonModule, NzFlexModule, NzTreeSelectModule, NzCascaderModule, NzModalModule],\n templateUrl: './tree-selector.html',\n styleUrl: './tree-selector.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TreeSelector extends ValueAccess<TreeSelectorOptions> {\n\n constructor() {\n super();\n effect(() => {\n let treeData = this.treeData();\n untracked(() => {\n if (this.options.defaultFirst() && (this.options.multiple() && !this.value()?.length || !this.options.multiple() && !this.value())) {\n let fullArray: any[] = [];\n recursionArray(treeData, {\n before: n => {\n if (n.selectable) {\n fullArray.push(n.data);\n return false;\n }\n return undefined;\n }\n });\n const value = this.fullArrayToValue(fullArray);\n if (value !== undefined) {\n this.setInitValue(value);\n }\n }\n });\n });\n effect(() => {\n if (this.treeNodeMap()) {\n untracked(() => this.valueToComponentValue());\n }\n });\n }\n\n @ViewChild(NzTreeSelectComponent)\n private treeSelect?: NzTreeSelectComponent;\n\n @ViewChild(NzDropdownMenuComponent)\n private menu?: NzDropdownMenuComponent;\n private readonly menuService = inject(NzContextMenuService);\n private readonly modal = inject(NzModalService);\n private menuNodeDs?: any;\n\n override options: TreeSelectorOptions = new TreeSelectorOptions();\n readonly menus = computed(() => this.options.menus().map(_ => new TreeNodeMenuOptions()));\n readonly searchValue = model<string>();\n readonly treeData = computed(() => this.buildTreeData());\n readonly selectedKeys = signal<NzTreeNodeKey[]>([]);\n readonly selectValue = model<any>();\n readonly treeNodeMap = computed(() => {\n const map = new Map<NzTreeNodeKey, NzTreeNodeOptions>();\n recursionArray(this.treeData(), {\n before: n => {\n map.set(n.key, n);\n }\n });\n return map;\n });\n @ViewChild(\"inputTree\")\n readonly inputTree?: NzTreeSelectComponent;\n\n readonly changeOn = (option: NzCascaderOption, level: number): boolean => {\n return option['selectable'];\n }\n\n override ngAfterViewInit(): void {\n super.ngAfterViewInit();\n if (this.options.type() == \"input-tree\") {\n this.treeSelect?.cdkConnectedOverlay.positionChange.subscribe(pos => {\n const ele = this.treeSelect?.cdkConnectedOverlay.overlayRef.overlayElement;\n if (ele) {\n if (pos.connectionPair.originY == \"bottom\") {\n ele.style.maxHeight = `${ele.parentElement!.offsetHeight - ele.offsetTop}px`\n } else {\n ele.style.maxHeight = `${ele.offsetHeight + ele.offsetTop}px`\n }\n }\n });\n }\n }\n\n override setInitValue(value: any): void {\n super.setInitValue(value);\n this.valueToComponentValue();\n }\n\n override writeValue(value: any): void {\n super.writeValue(value);\n this.valueToComponentValue();\n }\n\n private buildTreeData(): NzTreeNodeOptions[] {\n if (!this.options.data()) {\n return [];\n }\n let data = copy(this.options.data(), true);\n if (this.options.levelStart() < 0) {\n data = [{\n [this.options.labelField()]: \"全部\",\n [this.options.valueField()]: \"\",\n children: data,\n }];\n }\n const selectableLevels = this.options.selectAbleLevel()?.split(\",\").filter(l => l).map(l => +l.trim());\n const treeData: NzTreeNodeOptions[] = [];\n recursionArray(data, {\n before: (n, l, parent) => {\n const nodeData: any = {};\n if (this.options.nodeFn()) {\n this.runFn(this.options.nodeFn()!, { node: n, level: l });\n }\n for (const key in n) {\n if (key !== \"children\") {\n nodeData[key] = n[key];\n delete n[key];\n }\n }\n if (l >= this.options.levelStart() || l <= (this.options.levelEnd() ?? Infinity)) {\n if (l == this.options.levelStart()) {\n treeData.push(n);\n }\n if (l == (this.options.levelEnd() ?? Infinity) || (this.options.type() == 'cascader' && selectableLevels?.length && selectableLevels[selectableLevels.length - 1] == l)) {\n n.isLeaf = true;\n n.expanded = false;\n delete n.children;\n } else {\n n.isLeaf = !n.children?.length;\n n.expanded = l < (this.options.expandedLevel() ?? Infinity);\n }\n n.selectable = nodeData[this.options.selectableField()] ?? true;\n if (n.selectable && this.options.selectAbleLevel()) {\n if (!selectableLevels.includes(l)) {\n n.selectable = false;\n }\n }\n n.key = nodeData[this.options.valueField()];\n n.title = nodeData[this.options.labelField()];\n n.icon = nodeData[this.options.iconField()];\n n.keys = (parent?.keys ?? []).concat([n.key]);\n n.data = nodeData;\n n.disableCheckbox = !n.selectable;\n }\n }\n }, this.options.levelStart() < 0 ? -1 : 0);\n return treeData;\n }\n\n private valueToComponentValue() {\n let value = this.value();\n if (value != null) {\n if (!this.options.multiple()) {\n value = [value];\n }\n if (this.options.fullValue()) {\n value = value.map((e: any) => e[this.options.valueField()]);\n }\n switch (this.options.type()) {\n case \"tree\":\n this.selectedKeys.set([...value]);\n break;\n case \"input-tree\":\n if (!this.options.multiple()) {\n value = value[0];\n }\n this.selectValue.set(value);\n break;\n case \"cascader\":\n value = value.map((e: any) => this.treeNodeMap().get(e)?.['keys']);\n if (!untracked(this.options.multiple)) {\n value = value[0];\n }\n this.selectValue.set(value);\n break;\n }\n } else {\n switch (this.options.type()) {\n case \"tree\":\n this.selectedKeys.set([]);\n break;\n case \"input-tree\":\n this.selectValue.set(null);\n break;\n case \"cascader\":\n this.selectValue.set(null);\n break;\n }\n }\n }\n\n nodeClick(e: NzFormatEmitEvent) {\n if (!e.node!.isSelectable) {\n if (e.node && !e.node.isLeaf) {\n e.node!.isExpanded = !e.node!.isExpanded;\n }\n return;\n }\n if (this.options.readonly() || this.options.disabled()) {\n e.node!.isSelected = false;\n return;\n }\n const selectNodes = e.selectedKeys?.filter(r => {\n if (!this.options.multiple()) {\n r.isSelected = r.key == e.node?.key;\n }\n return r.isSelected;\n }) ?? [];\n this.selectedKeys.set(selectNodes.map(r => r.key));\n const value = this.treeNodeToValue(selectNodes);\n this.value.set(value);\n this.onChange?.(this.value());\n }\n\n internalTreeNode(node: NzTreeNode, e: Event) {\n if (!this.options.multiple() && node.isSelected && !this.options.allowClear()) {\n e.stopPropagation();\n if (this.options.type() == 'input-tree') {\n this.inputTree?.closeDropdown();\n }\n }\n }\n\n private treeNodeToValue(nodes: (NzTreeNode | NzTreeNodeOptions)[]): any {\n if (this.options.outputLeafValue() && nodes.length) {\n const newNodes = new Map<string, any>();\n while (nodes.length) {\n let next: any[] = [];\n for (const n of nodes) {\n if (!n.children?.length) {\n newNodes.set(n.key, n);\n } else {\n next = next.concat(n.children || []);\n }\n }\n nodes = next;\n }\n nodes = Array.from(newNodes.values());\n }\n return this.fullArrayToValue(nodes.map(n => n instanceof NzTreeNode ? n.origin['data'] : n['data']));\n }\n\n private fullArrayToValue(fullArray: any[]): any {\n let value: any = fullArray.map(n => {\n const res: any = {};\n for (const key in n) {\n if (key !== \"children\") {\n res[key] = n[key];\n }\n }\n return res;\n });\n if (!untracked(this.options.fullValue)) {\n value = fullArray.map(r => r[untracked(this.options.valueField)]);\n }\n if (!this.options.multiple()) {\n value = value?.[0];\n }\n return value ?? null;\n }\n\n hasExpanded(node: NzTreeNode): boolean {\n return node.isExpanded || node.children.some(c => this.hasExpanded(c));\n }\n\n expand(node: NzTreeNode, expanded: boolean) {\n node.isExpanded = expanded;\n node.children.forEach(c => this.expand(c, expanded));\n }\n\n onContextMenu(e: NzFormatEmitEvent) {\n if (this.menu) {\n this.menuNodeDs = { node: e.node?.origin[\"data\"], level: e.node?.level };\n this.menus().forEach((m, i) => {\n this.bindWithConfig(this.options.menus()[i], { options: m, snapshot: true, tempDataSource: this.menuNodeDs });\n });\n this.menuService.create(e.event as MouseEvent, this.menu);\n }\n }\n\n menuClick(options: TreeNodeMenuOptions) {\n if (options.confirm()) {\n this.modal.confirm({\n nzContent: options.confirmText(),\n nzOnOk: () => {\n this.triggeEvents(\"treeNodeMenuClick\", this.menuNodeDs, options.triggeEvents()).subscribe();\n }\n })\n } else {\n this.triggeEvents(\"treeNodeMenuClick\", this.menuNodeDs, options.triggeEvents()).subscribe();\n }\n }\n\n onInputTreeChange() {\n const value = this.treeNodeToValue((this.options.multiple() ? this.treeSelect?.getCheckedNodeList() : this.treeSelect?.getSelectedNodeList()) ?? []);\n this.value.set(value);\n this.onChange?.(this.value());\n }\n\n onCascaderChange(v: any[]) {\n const value = this.treeNodeToValue(this.options.multiple() ? v.map((e: any[]) => this.treeNodeMap().get(e[e.length - 1])!) : v.length ? [this.treeNodeMap().get(v[v.length - 1])!] : []);\n this.value.set(value);\n this.onChange?.(this.value());\n }\n\n}\n","@switch (options.type() ) {\n@case (\"tree\") {\n<div class=\"tree-box\">\n @if (options.title()) {\n <div class=\"title-container\">{{options.title()}}</div>\n }\n @if (options.showSearch()) {\n <div class=\"search-inp\">\n <input type=\"text\" nz-input placeholder=\"搜索\" [(ngModel)]=\"searchValue\" nzVariant=\"borderless\" nzSize=\"small\" />\n </div>\n }\n <div class=\"tree-body\">\n <nz-tree [nzSearchValue]=\"searchValue()??''\" [nzTreeTemplate]=\"optionItem\"\n [nzHideUnMatched]=\"options.hideUnMatched()\" [nzData]=\"treeData()\" nzBlockNode\n [nzSelectedKeys]=\"selectedKeys()\" [nzMultiple]=\"options.multiple()\" [nzShowLine]=\"options.showLine()\"\n (nzClick)=\"nodeClick($event)\" (nzContextMenu)=\"onContextMenu($event)\">\n </nz-tree>\n </div>\n</div>\n<nz-dropdown-menu>\n <ul nz-menu>\n @for (m of menus(); track $index) {\n @if (m.inuse()) {\n <li nz-menu-item [nzDisabled]=\"m.disabled()\" [nzDanger]=\"m.danger()\" (click)=\"menuClick(m)\">\n @if (m.icon()) {\n <ng-container [axisDynamic]=\"m.icon()\"></ng-container>\n }\n {{m.title()}}\n </li>\n }\n }\n </ul>\n</nz-dropdown-menu>\n}\n@case (\"input-tree\") {\n<nz-tree-select #inputTree style=\"width: 100%;\" [nzNodes]=\"treeData()\" [nzAllowClear]=\"options.allowClear()\"\n [nzDropdownMatchSelectWidth]=\"options.dropdownMatchSelectWidth()\" [nzSize]=\"options.size()\"\n [nzVariant]=\"options.variant()\" [nzShowSearch]=\"options.showSearch()\" [nzShowLine]=\"options.showLine()\"\n [nzPlaceHolder]=\"options.placeHolder()\" [nzTreeTemplate]=\"optionItem\" [nzCheckable]=\"options.multiple()\"\n [nzMultiple]=\"options.multiple()\" [nzMaxTagCount]=\"options.maxSelectCount()??9999999\"\n [nzHideUnMatched]=\"options.hideUnMatched()\" [nzDisabled]=\"options.disabled() || options.readonly()\"\n [nzDropdownStyle]=\"options.dropdownStyle()\" [(ngModel)]=\"selectValue\"\n (ngModelChange)=\"onInputTreeChange()\"></nz-tree-select>\n}\n@case (\"cascader\"){\n<nz-cascader style=\"width: 100%;\" [nzOptions]=\"treeData()\" [(ngModel)]=\"selectValue\"\n (ngModelChange)=\"onCascaderChange($event)\" [nzMultiple]=\"options.multiple()\"\n [nzMaxTagCount]=\"options.maxSelectCount()??9999999\" [nzAllowClear]=\"options.allowClear()\" [nzChangeOn]=\"changeOn\"\n [nzDisabled]=\"options.disabled() || options.readonly()\" nzLabelProperty=\"title\"\n [nzPlaceHolder]=\"options.placeHolder()\" [nzShowSearch]=\"options.showSearch()\" [nzSize]=\"options.size()\"\n nzValueProperty=\"key\" [nzVariant]=\"options.variant()\" [nzExpandTrigger]=\"options.expandTrigger()\"\n [nzOptionRender]=\"optionItem\"></nz-cascader>\n}\n}\n<ng-template #optionItem let-option>\n <div class=\"node-item\" nz-flex nzGap=\"4px\" (click)=\"internalTreeNode(option, $event)\">\n @if (option.icon) {\n <ng-container [axisDynamic]=\"option.icon\"></ng-container>\n }\n <span [innerHTML]=\"option.title | nzHighlight: searchValue()??'' : 'i' : 'highlight'\"></span>\n @if (options.type() != 'cascader' && option.children.length) {\n <button class=\"expand-button\" nz-button nzType=\"text\" nzSize=\"small\" nzShape=\"circle\"\n (click)=\"$event.stopPropagation(); expand(option,!hasExpanded(option))\">\n <nz-icon [nzType]=\"hasExpanded(option)?'shrink':'arrows-alt'\"></nz-icon>\n </button>\n }\n </div>\n</ng-template>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './tree-selector';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAGM,MAAO,mBAAoB,SAAQ,kBAAkB,CAAA;AAG9C,IAAA,UAAU,GAAG,MAAM,CAAC,OAAO,iFAAC;AAC5B,IAAA,UAAU,GAAG,MAAM,CAAC,KAAK,iFAAC;AAC1B,IAAA,eAAe,GAAG,MAAM,CAAC,YAAY,sFAAC;AACtC,IAAA,SAAS,GAAG,MAAM,CAAC,MAAM,gFAAC;AAC1B,IAAA,SAAS,GAAG,MAAM,CAAC,KAAK,gFAAC;AACzB,IAAA,UAAU,GAAG,MAAM,CAAC,CAAC,iFAAC;AACtB,IAAA,QAAQ,GAAG,MAAM,CAAgB,IAAI,+EAAC;AACtC,IAAA,IAAI,GAAG,MAAM,CAAM,SAAS,2EAAC;AAC7B,IAAA,MAAM,GAAG,MAAM,CAAqB,SAAS,6EAAC;AAE9C,IAAA,eAAe,GAAG,MAAM,CAAS,EAAE,sFAAC;AACpC,IAAA,QAAQ,GAAG,MAAM,CAAC,KAAK,+EAAC;AACxB,IAAA,cAAc,GAAG,MAAM,CAAgB,IAAI,qFAAC;AAC5C,IAAA,YAAY,GAAG,MAAM,CAAC,KAAK,mFAAC;AAC5B,IAAA,UAAU,GAAG,MAAM,CAAC,IAAI,iFAAC;AACzB,IAAA,eAAe,GAAG,MAAM,CAAC,KAAK,sFAAC;AAE/B,IAAA,IAAI,GAAG,MAAM,CAAqC,MAAM,2EAAC;AACzD,IAAA,UAAU,GAAG,MAAM,CAAC,IAAI,iFAAC;AACzB,IAAA,aAAa,GAAG,MAAM,CAAC,IA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A,EAAA;;sBAkC9C,SAAS;uBAAC,qBAAqB;;sBAG/B,SAAS;uBAAC,uBAAuB;;sBAqBjC,SAAS;uBAAC,WAAW;;;AE/ExB;;AAEG;;;;"}
1
+ {"version":3,"file":"ngx-axis-appforge-axis-components-tree-selector.mjs","sources":["../../../axis-components/tree-selector/tree-selector.options.ts","../../../axis-components/tree-selector/tree-selector.ts","../../../axis-components/tree-selector/tree-selector.html","../../../axis-components/tree-selector/ngx-axis-appforge-axis-components-tree-selector.ts"],"sourcesContent":["import { signal } from \"@angular/core\";\nimport { ValueAccessOptions, TriggeEventsOptions } from \"ngx-axis-appforge/core\";\n\nexport class TreeSelectorOptions extends ValueAccessOptions {\n\n\n readonly labelField = signal(\"title\");\n readonly valueField = signal(\"key\");\n readonly selectableField = signal(\"selectable\");\n readonly iconField = signal(\"icon\");\n readonly fullValue = signal(false);\n readonly levelStart = signal(0);\n readonly levelEnd = signal<number | null>(null);\n readonly data = signal<any>(undefined);\n readonly nodeFn = signal<string | undefined>(undefined);\n\n readonly selectAbleLevel = signal<string>(\"\");\n readonly multiple = signal(false);\n readonly maxSelectCount = signal<number | null>(null);\n readonly defaultFirst = signal(false);\n readonly allowClear = signal(true);\n readonly outputLeafValue = signal(false);\n\n readonly type = signal<\"tree\" | \"input-tree\" | \"cascader\">(\"tree\");\n readonly showSearch = signal(true);\n readonly hideUnMatched = signal(true);\n readonly showLine = signal(false);\n\n readonly title = signal(\"\");\n readonly expandedLevel = signal<number | null>(null);\n\n readonly placeHolder = signal(\"\");\n readonly dropdownMatchSelectWidth = signal(true);\n readonly dropdownStyle = signal(null);\n readonly size = signal<'large' | 'small' | 'default'>(\"default\");\n readonly variant = signal<'outlined' | 'borderless' | 'filled' | 'underlined'>(\"outlined\");\n\n readonly expandTrigger = signal<'click' | 'hover'>(\"click\");\n\n readonly menus = signal<TreeNodeMenuOptions[]>([]);\n\n}\n\nexport class TreeNodeMenuOptions {\n readonly inuse = signal(true);\n readonly title = signal(\"未命名\");\n readonly icon = signal<any>(undefined);\n readonly danger = signal(false);\n readonly confirm = signal(false);\n readonly confirmText = signal(\"是否确认?\");\n readonly disabled = signal(false);\n readonly triggeEvents = signal<TriggeEventsOptions | undefined>(undefined);\n}","import { ChangeDetectionStrategy, Component, computed, effect, inject, model, signal, untracked, ViewChild } from '@angular/core';\nimport { TreeNodeMenuOptions, TreeSelectorOptions } from './tree-selector.options';\nimport { copy, DynamicDirective, recursionArray, ValueAccess } from 'ngx-axis-appforge/core';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport { NzTreeModule, NzTreeNodeOptions } from 'ng-zorro-antd/tree';\nimport { NzContextMenuService, NzDropdownMenuComponent, NzDropdownModule } from 'ng-zorro-antd/dropdown';\nimport { FormsModule } from '@angular/forms';\nimport { NzFormatEmitEvent, NzTreeNode, NzTreeNodeKey } from 'ng-zorro-antd/core/tree';\nimport { NzHighlightPipe } from 'ng-zorro-antd/core/highlight';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport { NzButtonModule } from 'ng-zorro-antd/button';\nimport { NzFlexModule } from 'ng-zorro-antd/flex';\nimport { NzTreeSelectComponent, NzTreeSelectModule } from 'ng-zorro-antd/tree-select';\nimport { NzCascaderModule, NzCascaderOption } from 'ng-zorro-antd/cascader';\nimport { NzModalModule, NzModalService } from 'ng-zorro-antd/modal';\n\n@Component({\n selector: 'axis-tree-selector',\n imports: [NzInputModule, DynamicDirective, NzTreeModule, NzDropdownModule, FormsModule, NzHighlightPipe, NzIconModule, NzButtonModule, NzFlexModule, NzTreeSelectModule, NzCascaderModule, NzModalModule],\n templateUrl: './tree-selector.html',\n styleUrl: './tree-selector.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TreeSelector extends ValueAccess<TreeSelectorOptions> {\n\n constructor() {\n super();\n effect(() => {\n let treeData = this.treeData();\n untracked(() => {\n if (this.options.defaultFirst() && (this.options.multiple() && !this.value()?.length || !this.options.multiple() && !this.value())) {\n let fullArray: any[] = [];\n recursionArray(treeData, {\n before: n => {\n if (n.selectable) {\n fullArray.push(n.data);\n return false;\n }\n return undefined;\n }\n });\n const value = this.fullArrayToValue(fullArray);\n if (value !== undefined) {\n this.setInitValue(value);\n }\n }\n });\n });\n effect(() => {\n if (this.treeNodeMap()) {\n untracked(() => this.valueToComponentValue());\n }\n });\n }\n\n @ViewChild(NzTreeSelectComponent)\n private treeSelect?: NzTreeSelectComponent;\n\n @ViewChild(NzDropdownMenuComponent)\n private menu?: NzDropdownMenuComponent;\n private readonly menuService = inject(NzContextMenuService);\n private readonly modal = inject(NzModalService);\n private menuNodeDs?: any;\n\n override options: TreeSelectorOptions = new TreeSelectorOptions();\n readonly menus = computed(() => this.options.menus().map(_ => new TreeNodeMenuOptions()));\n readonly searchValue = model<string>();\n readonly treeData = computed(() => this.buildTreeData());\n readonly selectedKeys = signal<NzTreeNodeKey[]>([]);\n readonly selectValue = model<any>();\n readonly treeNodeMap = computed(() => {\n const map = new Map<NzTreeNodeKey, NzTreeNodeOptions>();\n recursionArray(this.treeData(), {\n before: n => {\n map.set(n.key, n);\n }\n });\n return map;\n });\n @ViewChild(\"inputTree\")\n readonly inputTree?: NzTreeSelectComponent;\n\n readonly changeOn = (option: NzCascaderOption, level: number): boolean => {\n return option['selectable'];\n }\n\n override ngAfterViewInit(): void {\n super.ngAfterViewInit();\n if (this.options.type() == \"input-tree\") {\n this.treeSelect?.cdkConnectedOverlay.positionChange.subscribe(pos => {\n const ele = this.treeSelect?.cdkConnectedOverlay.overlayRef.overlayElement;\n if (ele) {\n if (pos.connectionPair.originY == \"bottom\") {\n ele.style.maxHeight = `${ele.parentElement!.offsetHeight - ele.offsetTop}px`\n } else {\n ele.style.maxHeight = `${ele.offsetHeight + ele.offsetTop}px`\n }\n }\n });\n }\n }\n\n override setInitValue(value: any): void {\n super.setInitValue(value);\n this.valueToComponentValue();\n }\n\n override writeValue(value: any): void {\n super.writeValue(value);\n this.valueToComponentValue();\n }\n\n private buildTreeData(): NzTreeNodeOptions[] {\n if (!this.options.data()) {\n return [];\n }\n let data = copy(this.options.data(), true);\n if (this.options.levelStart() < 0) {\n data = [{\n [this.options.labelField()]: \"全部\",\n [this.options.valueField()]: \"\",\n children: data,\n }];\n }\n const selectableLevels = this.options.selectAbleLevel()?.split(\",\").filter(l => l).map(l => +l.trim());\n const treeData: NzTreeNodeOptions[] = [];\n recursionArray(data, {\n before: (n, l, parent) => {\n const nodeData: any = {};\n if (this.options.nodeFn()) {\n this.runFn(this.options.nodeFn()!, { node: n, level: l });\n }\n for (const key in n) {\n if (key !== \"children\") {\n nodeData[key] = n[key];\n delete n[key];\n }\n }\n if (l >= this.options.levelStart() || l <= (this.options.levelEnd() ?? Infinity)) {\n if (l == this.options.levelStart()) {\n treeData.push(n);\n }\n if (l == (this.options.levelEnd() ?? Infinity) || (this.options.type() == 'cascader' && selectableLevels?.length && selectableLevels[selectableLevels.length - 1] == l)) {\n n.isLeaf = true;\n n.expanded = false;\n delete n.children;\n } else {\n n.isLeaf = !n.children?.length;\n n.expanded = l < (this.options.expandedLevel() ?? Infinity);\n }\n n.selectable = nodeData[this.options.selectableField()] ?? true;\n if (n.selectable && this.options.selectAbleLevel()) {\n if (!selectableLevels.includes(l)) {\n n.selectable = false;\n }\n }\n n.key = nodeData[this.options.valueField()];\n n.title = nodeData[this.options.labelField()];\n n.icon = nodeData[this.options.iconField()];\n n.keys = (parent?.keys ?? []).concat([n.key]);\n n.data = nodeData;\n n.disableCheckbox = !n.selectable;\n }\n }\n }, this.options.levelStart() < 0 ? -1 : 0);\n return treeData;\n }\n\n private valueToComponentValue() {\n let value = this.value();\n if (value != null) {\n if (!this.options.multiple()) {\n value = [value];\n }\n if (this.options.fullValue()) {\n value = value.map((e: any) => e[this.options.valueField()]);\n }\n switch (this.options.type()) {\n case \"tree\":\n this.selectedKeys.set([...value]);\n break;\n case \"input-tree\":\n if (!this.options.multiple()) {\n value = value[0];\n }\n this.selectValue.set(value);\n break;\n case \"cascader\":\n value = value.map((e: any) => this.treeNodeMap().get(e)?.['keys']);\n if (!untracked(this.options.multiple)) {\n value = value[0];\n }\n this.selectValue.set(value);\n break;\n }\n } else {\n switch (this.options.type()) {\n case \"tree\":\n this.selectedKeys.set([]);\n break;\n case \"input-tree\":\n this.selectValue.set(null);\n break;\n case \"cascader\":\n this.selectValue.set(null);\n break;\n }\n }\n }\n\n nodeClick(e: NzFormatEmitEvent) {\n if (!e.node!.isSelectable) {\n if (e.node && !e.node.isLeaf) {\n e.node!.isExpanded = !e.node!.isExpanded;\n }\n return;\n }\n if (this.options.readonly() || this.options.disabled()) {\n e.node!.isSelected = false;\n return;\n }\n const selectNodes = e.selectedKeys?.filter(r => {\n if (!this.options.multiple()) {\n r.isSelected = r.key == e.node?.key;\n }\n return r.isSelected;\n }) ?? [];\n this.selectedKeys.set(selectNodes.map(r => r.key));\n const value = this.treeNodeToValue(selectNodes);\n this.value.set(value);\n this.onChange?.(this.value());\n }\n\n internalTreeNode(node: NzTreeNode, e: Event) {\n if (!this.options.multiple() && node.isSelected && !this.options.allowClear()) {\n e.stopPropagation();\n if (this.options.type() == 'input-tree') {\n this.inputTree?.closeDropdown();\n }\n }\n }\n\n private treeNodeToValue(nodes: (NzTreeNode | NzTreeNodeOptions)[]): any {\n if (this.options.outputLeafValue() && nodes.length) {\n const newNodes = new Map<string, any>();\n while (nodes.length) {\n let next: any[] = [];\n for (const n of nodes) {\n if (!n.children?.length) {\n newNodes.set(n.key, n);\n } else {\n next = next.concat(n.children || []);\n }\n }\n nodes = next;\n }\n nodes = Array.from(newNodes.values());\n }\n return this.fullArrayToValue(nodes.map(n => n instanceof NzTreeNode ? n.origin['data'] : n['data']));\n }\n\n private fullArrayToValue(fullArray: any[]): any {\n let value: any = fullArray.map(n => {\n const res: any = {};\n for (const key in n) {\n if (key !== \"children\") {\n res[key] = n[key];\n }\n }\n return res;\n });\n if (!untracked(this.options.fullValue)) {\n value = fullArray.map(r => r[untracked(this.options.valueField)]);\n }\n if (!this.options.multiple()) {\n value = value?.[0];\n }\n return value ?? null;\n }\n\n hasExpanded(node: NzTreeNode): boolean {\n return node.isExpanded || node.children.some(c => this.hasExpanded(c));\n }\n\n expand(node: NzTreeNode, expanded: boolean) {\n node.isExpanded = expanded;\n node.children.forEach(c => this.expand(c, expanded));\n }\n\n onContextMenu(e: NzFormatEmitEvent) {\n if (this.menu) {\n this.menuNodeDs = { node: e.node?.origin[\"data\"], level: e.node?.level };\n this.menus().forEach((m, i) => {\n this.bindWithConfig(this.options.menus()[i], { options: m, snapshot: true, tempDataSource: this.menuNodeDs });\n });\n this.menuService.create(e.event as MouseEvent, this.menu);\n }\n }\n\n menuClick(options: TreeNodeMenuOptions) {\n if (options.confirm()) {\n this.modal.confirm({\n nzContent: options.confirmText(),\n nzOnOk: () => {\n this.triggeEvents(\"treeNodeMenuClick\", this.menuNodeDs, options.triggeEvents()).subscribe();\n }\n })\n } else {\n this.triggeEvents(\"treeNodeMenuClick\", this.menuNodeDs, options.triggeEvents()).subscribe();\n }\n }\n\n onInputTreeChange() {\n const value = this.treeNodeToValue((this.options.multiple() ? this.treeSelect?.getCheckedNodeList() : this.treeSelect?.getSelectedNodeList()) ?? []);\n this.value.set(value);\n this.onChange?.(this.value());\n }\n\n onCascaderChange(v: any[]) {\n const value = this.treeNodeToValue(this.options.multiple() ? v.map((e: any[]) => this.treeNodeMap().get(e[e.length - 1])!) : v.length ? [this.treeNodeMap().get(v[v.length - 1])!] : []);\n this.value.set(value);\n this.onChange?.(this.value());\n }\n\n}\n","@switch (options.type() ) {\n@case (\"tree\") {\n<div class=\"tree-box\">\n @if (options.title()) {\n <div class=\"title-container\">{{options.title()}}</div>\n }\n @if (options.showSearch()) {\n <div class=\"search-inp\">\n <input type=\"text\" nz-input placeholder=\"搜索\" [(ngModel)]=\"searchValue\" nzVariant=\"borderless\" nzSize=\"small\" />\n </div>\n }\n <div class=\"tree-body\">\n <nz-tree [nzSearchValue]=\"searchValue()??''\" [nzTreeTemplate]=\"optionItem\"\n [nzHideUnMatched]=\"options.hideUnMatched()\" [nzData]=\"treeData()\" nzBlockNode\n [nzSelectedKeys]=\"selectedKeys()\" [nzMultiple]=\"options.multiple()\" [nzShowLine]=\"options.showLine()\"\n (nzClick)=\"nodeClick($event)\" (nzContextMenu)=\"onContextMenu($event)\">\n </nz-tree>\n </div>\n</div>\n<nz-dropdown-menu>\n <ul nz-menu>\n @for (m of menus(); track $index) {\n @if (m.inuse()) {\n <li nz-menu-item [nzDisabled]=\"m.disabled()\" [nzDanger]=\"m.danger()\" (click)=\"menuClick(m)\">\n @if (m.icon()) {\n <ng-container [axisDynamic]=\"m.icon()\"></ng-container>\n }\n {{m.title()}}\n </li>\n }\n }\n </ul>\n</nz-dropdown-menu>\n}\n@case (\"input-tree\") {\n<nz-tree-select #inputTree style=\"width: 100%;\" [nzNodes]=\"treeData()\" [nzAllowClear]=\"options.allowClear()\"\n [nzDropdownMatchSelectWidth]=\"options.dropdownMatchSelectWidth()\" [nzSize]=\"options.size()\"\n [nzVariant]=\"options.variant()\" [nzShowSearch]=\"options.showSearch()\" [nzShowLine]=\"options.showLine()\"\n [nzPlaceHolder]=\"options.placeHolder()\" [nzTreeTemplate]=\"optionItem\" [nzCheckable]=\"options.multiple()\"\n [nzMultiple]=\"options.multiple()\" [nzMaxTagCount]=\"options.maxSelectCount()??9999999\"\n [nzHideUnMatched]=\"options.hideUnMatched()\" [nzDisabled]=\"options.disabled() || options.readonly()\"\n [nzDropdownStyle]=\"options.dropdownStyle()\" [(ngModel)]=\"selectValue\"\n (ngModelChange)=\"onInputTreeChange()\"></nz-tree-select>\n}\n@case (\"cascader\"){\n<nz-cascader style=\"width: 100%;\" [nzOptions]=\"treeData()\" [(ngModel)]=\"selectValue\"\n (ngModelChange)=\"onCascaderChange($event)\" [nzMultiple]=\"options.multiple()\"\n [nzMaxTagCount]=\"options.maxSelectCount()??9999999\" [nzAllowClear]=\"options.allowClear()\" [nzChangeOn]=\"changeOn\"\n [nzDisabled]=\"options.disabled() || options.readonly()\" nzLabelProperty=\"title\"\n [nzPlaceHolder]=\"options.placeHolder()\" [nzShowSearch]=\"options.showSearch()\" [nzSize]=\"options.size()\"\n nzValueProperty=\"key\" [nzVariant]=\"options.variant()\" [nzExpandTrigger]=\"options.expandTrigger()\"\n [nzOptionRender]=\"optionItem\"></nz-cascader>\n}\n}\n<ng-template #optionItem let-option>\n <div class=\"node-item\" nz-flex nzGap=\"4px\" (click)=\"internalTreeNode(option, $event)\">\n @if (option.icon) {\n <ng-container [axisDynamic]=\"option.icon\"></ng-container>\n }\n <span [innerHTML]=\"option.title | nzHighlight: searchValue()??'' : 'i' : 'highlight'\"></span>\n @if (options.type() != 'cascader' && option.children.length) {\n <button class=\"expand-button\" nz-button nzType=\"text\" nzSize=\"small\" nzShape=\"circle\"\n (click)=\"$event.stopPropagation(); expand(option,!hasExpanded(option))\">\n <nz-icon [nzType]=\"hasExpanded(option)?'shrink':'arrows-alt'\"></nz-icon>\n </button>\n }\n </div>\n</ng-template>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './tree-selector';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAGM,MAAO,mBAAoB,SAAQ,kBAAkB,CAAA;IAG9C,UAAU,GAAG,MAAM,CAAC,OAAO;mFAAC;IAC5B,UAAU,GAAG,MAAM,CAAC,KAAK;mFAAC;IAC1B,eAAe,GAAG,MAAM,CAAC,YAAY;wFAAC;IACtC,SAAS,GAAG,MAAM,CAAC,MAAM;kFAAC;IAC1B,SAAS,GAAG,MAAM,CAAC,KAAK;kFAAC;IACzB,UAAU,GAAG,MAAM,CAAC,CAAC;mFAAC;IACtB,QAAQ,GAAG,MAAM,CAAgB,IAAI;iFAAC;IACtC,IAAI,GAAG,MAAM,CAAM,SAAS;6EAAC;IAC7B,MAAM,GAAG,MAAM,CAAqB,SAAS;+EAAC;IAE9C,eAAe,GAAG,MAAM,CAAS,EAAE;wFAAC;IACpC,QAAQ,GAAG,MAAM,CAAC,KAAK;iFAAC;I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