ngx-axis-appforge 0.0.0-watch

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 (366) hide show
  1. package/README.md +111 -0
  2. package/axis-components/badge/design/index.d.ts +5 -0
  3. package/axis-components/badge/design/index.d.ts.map +1 -0
  4. package/axis-components/badge/index.d.ts +27 -0
  5. package/axis-components/badge/index.d.ts.map +1 -0
  6. package/axis-components/button/design/index.d.ts +5 -0
  7. package/axis-components/button/index.d.ts +33 -0
  8. package/axis-components/checkbox/design/index.d.ts +5 -0
  9. package/axis-components/checkbox/design/index.d.ts.map +1 -0
  10. package/axis-components/checkbox/index.d.ts +32 -0
  11. package/axis-components/checkbox/index.d.ts.map +1 -0
  12. package/axis-components/color-picker/design/index.d.ts +5 -0
  13. package/axis-components/color-picker/design/index.d.ts.map +1 -0
  14. package/axis-components/color-picker/index.d.ts +20 -0
  15. package/axis-components/color-picker/index.d.ts.map +1 -0
  16. package/axis-components/cytoscape/design/index.d.ts +5 -0
  17. package/axis-components/cytoscape/design/index.d.ts.map +1 -0
  18. package/axis-components/cytoscape/index.d.ts +20 -0
  19. package/axis-components/cytoscape/index.d.ts.map +1 -0
  20. package/axis-components/date-picker/design/index.d.ts +5 -0
  21. package/axis-components/date-picker/design/index.d.ts.map +1 -0
  22. package/axis-components/date-picker/index.d.ts +36 -0
  23. package/axis-components/date-picker/index.d.ts.map +1 -0
  24. package/axis-components/desc/design/index.d.ts +5 -0
  25. package/axis-components/desc/design/index.d.ts.map +1 -0
  26. package/axis-components/desc/index.d.ts +30 -0
  27. package/axis-components/desc/index.d.ts.map +1 -0
  28. package/axis-components/design/design/index.d.ts +5 -0
  29. package/axis-components/design/index.d.ts +282 -0
  30. package/axis-components/dropdown/design/index.d.ts +5 -0
  31. package/axis-components/dropdown/design/index.d.ts.map +1 -0
  32. package/axis-components/dropdown/index.d.ts +25 -0
  33. package/axis-components/dropdown/index.d.ts.map +1 -0
  34. package/axis-components/dynamic-container/design/index.d.ts +5 -0
  35. package/axis-components/dynamic-container/design/index.d.ts.map +1 -0
  36. package/axis-components/dynamic-container/index.d.ts +44 -0
  37. package/axis-components/dynamic-container/index.d.ts.map +1 -0
  38. package/axis-components/dynamic-value/design/index.d.ts +5 -0
  39. package/axis-components/dynamic-value/design/index.d.ts.map +1 -0
  40. package/axis-components/dynamic-value/index.d.ts +16 -0
  41. package/axis-components/dynamic-value/index.d.ts.map +1 -0
  42. package/axis-components/edit-table/design/index.d.ts +5 -0
  43. package/axis-components/edit-table/design/index.d.ts.map +1 -0
  44. package/axis-components/edit-table/index.d.ts +106 -0
  45. package/axis-components/edit-table/index.d.ts.map +1 -0
  46. package/axis-components/editor/design/index.d.ts +5 -0
  47. package/axis-components/editor/index.d.ts +33 -0
  48. package/axis-components/flex/design/index.d.ts +5 -0
  49. package/axis-components/flex/index.d.ts +20 -0
  50. package/axis-components/form/design/index.d.ts +5 -0
  51. package/axis-components/form/index.d.ts +31 -0
  52. package/axis-components/form-item/design/index.d.ts +5 -0
  53. package/axis-components/form-item/index.d.ts +34 -0
  54. package/axis-components/icon/design/index.d.ts +5 -0
  55. package/axis-components/icon/index.d.ts +16 -0
  56. package/axis-components/image/design/index.d.ts +5 -0
  57. package/axis-components/image/design/index.d.ts.map +1 -0
  58. package/axis-components/image/index.d.ts +18 -0
  59. package/axis-components/image/index.d.ts.map +1 -0
  60. package/axis-components/index.d.ts +5 -0
  61. package/axis-components/index.d.ts.map +1 -0
  62. package/axis-components/input/design/index.d.ts +5 -0
  63. package/axis-components/input/index.d.ts +27 -0
  64. package/axis-components/input-component/design/index.d.ts +5 -0
  65. package/axis-components/input-component/design/index.d.ts.map +1 -0
  66. package/axis-components/input-component/index.d.ts +43 -0
  67. package/axis-components/input-component/index.d.ts.map +1 -0
  68. package/axis-components/input-icon/design/index.d.ts +5 -0
  69. package/axis-components/input-icon/index.d.ts +25 -0
  70. package/axis-components/input-json/design/index.d.ts +5 -0
  71. package/axis-components/input-json/index.d.ts +25 -0
  72. package/axis-components/input-number/design/index.d.ts +5 -0
  73. package/axis-components/input-number/design/index.d.ts.map +1 -0
  74. package/axis-components/input-number/index.d.ts +25 -0
  75. package/axis-components/input-number/index.d.ts.map +1 -0
  76. package/axis-components/menu/design/index.d.ts +5 -0
  77. package/axis-components/menu/design/index.d.ts.map +1 -0
  78. package/axis-components/menu/index.d.ts +43 -0
  79. package/axis-components/menu/index.d.ts.map +1 -0
  80. package/axis-components/modal/design/index.d.ts +5 -0
  81. package/axis-components/modal/design/index.d.ts.map +1 -0
  82. package/axis-components/modal/index.d.ts +33 -0
  83. package/axis-components/modal/index.d.ts.map +1 -0
  84. package/axis-components/radio/design/index.d.ts +5 -0
  85. package/axis-components/radio/design/index.d.ts.map +1 -0
  86. package/axis-components/radio/index.d.ts +31 -0
  87. package/axis-components/radio/index.d.ts.map +1 -0
  88. package/axis-components/rate/design/index.d.ts +5 -0
  89. package/axis-components/rate/design/index.d.ts.map +1 -0
  90. package/axis-components/rate/index.d.ts +16 -0
  91. package/axis-components/rate/index.d.ts.map +1 -0
  92. package/axis-components/rich-text-editor/design/index.d.ts +5 -0
  93. package/axis-components/rich-text-editor/design/index.d.ts.map +1 -0
  94. package/axis-components/rich-text-editor/index.d.ts +28 -0
  95. package/axis-components/rich-text-editor/index.d.ts.map +1 -0
  96. package/axis-components/scope/design/index.d.ts +5 -0
  97. package/axis-components/scope/index.d.ts +26 -0
  98. package/axis-components/select/design/index.d.ts +5 -0
  99. package/axis-components/select/index.d.ts +48 -0
  100. package/axis-components/single-selector/design/index.d.ts +5 -0
  101. package/axis-components/single-selector/index.d.ts +37 -0
  102. package/axis-components/splitter/design/index.d.ts +5 -0
  103. package/axis-components/splitter/design/index.d.ts.map +1 -0
  104. package/axis-components/splitter/index.d.ts +29 -0
  105. package/axis-components/splitter/index.d.ts.map +1 -0
  106. package/axis-components/steps/design/index.d.ts +5 -0
  107. package/axis-components/steps/design/index.d.ts.map +1 -0
  108. package/axis-components/steps/index.d.ts +38 -0
  109. package/axis-components/steps/index.d.ts.map +1 -0
  110. package/axis-components/switch/design/index.d.ts +5 -0
  111. package/axis-components/switch/design/index.d.ts.map +1 -0
  112. package/axis-components/switch/index.d.ts +23 -0
  113. package/axis-components/switch/index.d.ts.map +1 -0
  114. package/axis-components/table/design/index.d.ts +5 -0
  115. package/axis-components/table/index.d.ts +144 -0
  116. package/axis-components/table-helper/index.d.ts +220 -0
  117. package/axis-components/tabs/design/index.d.ts +5 -0
  118. package/axis-components/tabs/design/index.d.ts.map +1 -0
  119. package/axis-components/tabs/index.d.ts +38 -0
  120. package/axis-components/tabs/index.d.ts.map +1 -0
  121. package/axis-components/text/design/index.d.ts +5 -0
  122. package/axis-components/text/index.d.ts +24 -0
  123. package/axis-components/textarea/design/index.d.ts +5 -0
  124. package/axis-components/textarea/design/index.d.ts.map +1 -0
  125. package/axis-components/textarea/index.d.ts +25 -0
  126. package/axis-components/textarea/index.d.ts.map +1 -0
  127. package/axis-components/timer/design/index.d.ts +5 -0
  128. package/axis-components/timer/design/index.d.ts.map +1 -0
  129. package/axis-components/timer/index.d.ts +22 -0
  130. package/axis-components/timer/index.d.ts.map +1 -0
  131. package/axis-components/transfer/design/index.d.ts +5 -0
  132. package/axis-components/transfer/design/index.d.ts.map +1 -0
  133. package/axis-components/transfer/index.d.ts +113 -0
  134. package/axis-components/transfer/index.d.ts.map +1 -0
  135. package/axis-components/tree-selector/design/index.d.ts +5 -0
  136. package/axis-components/tree-selector/design/index.d.ts.map +1 -0
  137. package/axis-components/tree-selector/index.d.ts +80 -0
  138. package/axis-components/tree-selector/index.d.ts.map +1 -0
  139. package/axis-components/upload/design/index.d.ts +5 -0
  140. package/axis-components/upload/design/index.d.ts.map +1 -0
  141. package/axis-components/upload/index.d.ts +52 -0
  142. package/axis-components/upload/index.d.ts.map +1 -0
  143. package/axis-components-covers/badge.svg +1 -0
  144. package/axis-components-covers/button.svg +14 -0
  145. package/axis-components-covers/checkbox.svg +24 -0
  146. package/axis-components-covers/color-picker.svg +98 -0
  147. package/axis-components-covers/cytoscape.svg +17 -0
  148. package/axis-components-covers/date-picker.svg +28 -0
  149. package/axis-components-covers/desc.svg +39 -0
  150. package/axis-components-covers/design.jpg +0 -0
  151. package/axis-components-covers/dropdown.svg +39 -0
  152. package/axis-components-covers/dynamic-container.svg +9 -0
  153. package/axis-components-covers/dynamic-value.svg +32 -0
  154. package/axis-components-covers/edit-table.png +0 -0
  155. package/axis-components-covers/editor.png +0 -0
  156. package/axis-components-covers/flex.svg +33 -0
  157. package/axis-components-covers/form-item.svg +22 -0
  158. package/axis-components-covers/form.svg +38 -0
  159. package/axis-components-covers/icon.svg +22 -0
  160. package/axis-components-covers/image.svg +13 -0
  161. package/axis-components-covers/input-component.svg +27 -0
  162. package/axis-components-covers/input-icon.svg +29 -0
  163. package/axis-components-covers/input-json.svg +29 -0
  164. package/axis-components-covers/input-number.svg +35 -0
  165. package/axis-components-covers/input.svg +21 -0
  166. package/axis-components-covers/menu.svg +17 -0
  167. package/axis-components-covers/modal.svg +23 -0
  168. package/axis-components-covers/radio.svg +19 -0
  169. package/axis-components-covers/rate.svg +31 -0
  170. package/axis-components-covers/rich-text-editor.png +0 -0
  171. package/axis-components-covers/scope.svg +9 -0
  172. package/axis-components-covers/select.svg +20 -0
  173. package/axis-components-covers/splitter.svg +8 -0
  174. package/axis-components-covers/steps.svg +1 -0
  175. package/axis-components-covers/switch.svg +14 -0
  176. package/axis-components-covers/table.svg +27 -0
  177. package/axis-components-covers/tabs.svg +1 -0
  178. package/axis-components-covers/text.svg +22 -0
  179. package/axis-components-covers/textarea.svg +9 -0
  180. package/axis-components-covers/timer.svg +1 -0
  181. package/axis-components-covers/transfer.svg +86 -0
  182. package/axis-components-covers/tree-selector.svg +77 -0
  183. package/axis-components-covers/upload.svg +26 -0
  184. package/core/index.d.ts +853 -0
  185. package/fesm2022/ngx-axis-appforge-axis-components-badge-design.mjs +191 -0
  186. package/fesm2022/ngx-axis-appforge-axis-components-badge-design.mjs.map +1 -0
  187. package/fesm2022/ngx-axis-appforge-axis-components-badge.mjs +39 -0
  188. package/fesm2022/ngx-axis-appforge-axis-components-badge.mjs.map +1 -0
  189. package/fesm2022/ngx-axis-appforge-axis-components-button-design.mjs +120 -0
  190. package/fesm2022/ngx-axis-appforge-axis-components-button-design.mjs.map +1 -0
  191. package/fesm2022/ngx-axis-appforge-axis-components-button.mjs +80 -0
  192. package/fesm2022/ngx-axis-appforge-axis-components-button.mjs.map +1 -0
  193. package/fesm2022/ngx-axis-appforge-axis-components-checkbox-design.mjs +92 -0
  194. package/fesm2022/ngx-axis-appforge-axis-components-checkbox-design.mjs.map +1 -0
  195. package/fesm2022/ngx-axis-appforge-axis-components-checkbox.mjs +119 -0
  196. package/fesm2022/ngx-axis-appforge-axis-components-checkbox.mjs.map +1 -0
  197. package/fesm2022/ngx-axis-appforge-axis-components-color-picker-design.mjs +97 -0
  198. package/fesm2022/ngx-axis-appforge-axis-components-color-picker-design.mjs.map +1 -0
  199. package/fesm2022/ngx-axis-appforge-axis-components-color-picker.mjs +34 -0
  200. package/fesm2022/ngx-axis-appforge-axis-components-color-picker.mjs.map +1 -0
  201. package/fesm2022/ngx-axis-appforge-axis-components-cytoscape-design.mjs +63 -0
  202. package/fesm2022/ngx-axis-appforge-axis-components-cytoscape-design.mjs.map +1 -0
  203. package/fesm2022/ngx-axis-appforge-axis-components-cytoscape.mjs +54 -0
  204. package/fesm2022/ngx-axis-appforge-axis-components-cytoscape.mjs.map +1 -0
  205. package/fesm2022/ngx-axis-appforge-axis-components-date-picker-design.mjs +115 -0
  206. package/fesm2022/ngx-axis-appforge-axis-components-date-picker-design.mjs.map +1 -0
  207. package/fesm2022/ngx-axis-appforge-axis-components-date-picker.mjs +104 -0
  208. package/fesm2022/ngx-axis-appforge-axis-components-date-picker.mjs.map +1 -0
  209. package/fesm2022/ngx-axis-appforge-axis-components-desc-design.mjs +224 -0
  210. package/fesm2022/ngx-axis-appforge-axis-components-desc-design.mjs.map +1 -0
  211. package/fesm2022/ngx-axis-appforge-axis-components-desc.mjs +51 -0
  212. package/fesm2022/ngx-axis-appforge-axis-components-desc.mjs.map +1 -0
  213. package/fesm2022/ngx-axis-appforge-axis-components-design-design.mjs +83 -0
  214. package/fesm2022/ngx-axis-appforge-axis-components-design-design.mjs.map +1 -0
  215. package/fesm2022/ngx-axis-appforge-axis-components-design.mjs +1922 -0
  216. package/fesm2022/ngx-axis-appforge-axis-components-design.mjs.map +1 -0
  217. package/fesm2022/ngx-axis-appforge-axis-components-dropdown-design.mjs +178 -0
  218. package/fesm2022/ngx-axis-appforge-axis-components-dropdown-design.mjs.map +1 -0
  219. package/fesm2022/ngx-axis-appforge-axis-components-dropdown.mjs +55 -0
  220. package/fesm2022/ngx-axis-appforge-axis-components-dropdown.mjs.map +1 -0
  221. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container-design.mjs +83 -0
  222. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container-design.mjs.map +1 -0
  223. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container.mjs +149 -0
  224. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container.mjs.map +1 -0
  225. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-value-design.mjs +77 -0
  226. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-value-design.mjs.map +1 -0
  227. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-value.mjs +29 -0
  228. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-value.mjs.map +1 -0
  229. package/fesm2022/ngx-axis-appforge-axis-components-edit-table-design.mjs +344 -0
  230. package/fesm2022/ngx-axis-appforge-axis-components-edit-table-design.mjs.map +1 -0
  231. package/fesm2022/ngx-axis-appforge-axis-components-edit-table.mjs +332 -0
  232. package/fesm2022/ngx-axis-appforge-axis-components-edit-table.mjs.map +1 -0
  233. package/fesm2022/ngx-axis-appforge-axis-components-editor-design.mjs +75 -0
  234. package/fesm2022/ngx-axis-appforge-axis-components-editor-design.mjs.map +1 -0
  235. package/fesm2022/ngx-axis-appforge-axis-components-editor.mjs +99 -0
  236. package/fesm2022/ngx-axis-appforge-axis-components-editor.mjs.map +1 -0
  237. package/fesm2022/ngx-axis-appforge-axis-components-flex-design.mjs +98 -0
  238. package/fesm2022/ngx-axis-appforge-axis-components-flex-design.mjs.map +1 -0
  239. package/fesm2022/ngx-axis-appforge-axis-components-flex.mjs +31 -0
  240. package/fesm2022/ngx-axis-appforge-axis-components-flex.mjs.map +1 -0
  241. package/fesm2022/ngx-axis-appforge-axis-components-form-design.mjs +108 -0
  242. package/fesm2022/ngx-axis-appforge-axis-components-form-design.mjs.map +1 -0
  243. package/fesm2022/ngx-axis-appforge-axis-components-form-item-design.mjs +88 -0
  244. package/fesm2022/ngx-axis-appforge-axis-components-form-item-design.mjs.map +1 -0
  245. package/fesm2022/ngx-axis-appforge-axis-components-form-item.mjs +97 -0
  246. package/fesm2022/ngx-axis-appforge-axis-components-form-item.mjs.map +1 -0
  247. package/fesm2022/ngx-axis-appforge-axis-components-form.mjs +151 -0
  248. package/fesm2022/ngx-axis-appforge-axis-components-form.mjs.map +1 -0
  249. package/fesm2022/ngx-axis-appforge-axis-components-icon-design.mjs +88 -0
  250. package/fesm2022/ngx-axis-appforge-axis-components-icon-design.mjs.map +1 -0
  251. package/fesm2022/ngx-axis-appforge-axis-components-icon.mjs +28 -0
  252. package/fesm2022/ngx-axis-appforge-axis-components-icon.mjs.map +1 -0
  253. package/fesm2022/ngx-axis-appforge-axis-components-image-design.mjs +75 -0
  254. package/fesm2022/ngx-axis-appforge-axis-components-image-design.mjs.map +1 -0
  255. package/fesm2022/ngx-axis-appforge-axis-components-image.mjs +56 -0
  256. package/fesm2022/ngx-axis-appforge-axis-components-image.mjs.map +1 -0
  257. package/fesm2022/ngx-axis-appforge-axis-components-input-component-design.mjs +83 -0
  258. package/fesm2022/ngx-axis-appforge-axis-components-input-component-design.mjs.map +1 -0
  259. package/fesm2022/ngx-axis-appforge-axis-components-input-component.mjs +64 -0
  260. package/fesm2022/ngx-axis-appforge-axis-components-input-component.mjs.map +1 -0
  261. package/fesm2022/ngx-axis-appforge-axis-components-input-design.mjs +142 -0
  262. package/fesm2022/ngx-axis-appforge-axis-components-input-design.mjs.map +1 -0
  263. package/fesm2022/ngx-axis-appforge-axis-components-input-icon-design.mjs +71 -0
  264. package/fesm2022/ngx-axis-appforge-axis-components-input-icon-design.mjs.map +1 -0
  265. package/fesm2022/ngx-axis-appforge-axis-components-input-icon.mjs +75 -0
  266. package/fesm2022/ngx-axis-appforge-axis-components-input-icon.mjs.map +1 -0
  267. package/fesm2022/ngx-axis-appforge-axis-components-input-json-design.mjs +60 -0
  268. package/fesm2022/ngx-axis-appforge-axis-components-input-json-design.mjs.map +1 -0
  269. package/fesm2022/ngx-axis-appforge-axis-components-input-json.mjs +74 -0
  270. package/fesm2022/ngx-axis-appforge-axis-components-input-json.mjs.map +1 -0
  271. package/fesm2022/ngx-axis-appforge-axis-components-input-number-design.mjs +107 -0
  272. package/fesm2022/ngx-axis-appforge-axis-components-input-number-design.mjs.map +1 -0
  273. package/fesm2022/ngx-axis-appforge-axis-components-input-number.mjs +48 -0
  274. package/fesm2022/ngx-axis-appforge-axis-components-input-number.mjs.map +1 -0
  275. package/fesm2022/ngx-axis-appforge-axis-components-input.mjs +68 -0
  276. package/fesm2022/ngx-axis-appforge-axis-components-input.mjs.map +1 -0
  277. package/fesm2022/ngx-axis-appforge-axis-components-menu-design.mjs +356 -0
  278. package/fesm2022/ngx-axis-appforge-axis-components-menu-design.mjs.map +1 -0
  279. package/fesm2022/ngx-axis-appforge-axis-components-menu.mjs +98 -0
  280. package/fesm2022/ngx-axis-appforge-axis-components-menu.mjs.map +1 -0
  281. package/fesm2022/ngx-axis-appforge-axis-components-modal-design.mjs +181 -0
  282. package/fesm2022/ngx-axis-appforge-axis-components-modal-design.mjs.map +1 -0
  283. package/fesm2022/ngx-axis-appforge-axis-components-modal.mjs +74 -0
  284. package/fesm2022/ngx-axis-appforge-axis-components-modal.mjs.map +1 -0
  285. package/fesm2022/ngx-axis-appforge-axis-components-radio-design.mjs +104 -0
  286. package/fesm2022/ngx-axis-appforge-axis-components-radio-design.mjs.map +1 -0
  287. package/fesm2022/ngx-axis-appforge-axis-components-radio.mjs +100 -0
  288. package/fesm2022/ngx-axis-appforge-axis-components-radio.mjs.map +1 -0
  289. package/fesm2022/ngx-axis-appforge-axis-components-rate-design.mjs +80 -0
  290. package/fesm2022/ngx-axis-appforge-axis-components-rate-design.mjs.map +1 -0
  291. package/fesm2022/ngx-axis-appforge-axis-components-rate.mjs +30 -0
  292. package/fesm2022/ngx-axis-appforge-axis-components-rate.mjs.map +1 -0
  293. package/fesm2022/ngx-axis-appforge-axis-components-rich-text-editor-design.mjs +76 -0
  294. package/fesm2022/ngx-axis-appforge-axis-components-rich-text-editor-design.mjs.map +1 -0
  295. package/fesm2022/ngx-axis-appforge-axis-components-rich-text-editor.mjs +141 -0
  296. package/fesm2022/ngx-axis-appforge-axis-components-rich-text-editor.mjs.map +1 -0
  297. package/fesm2022/ngx-axis-appforge-axis-components-scope-design.mjs +388 -0
  298. package/fesm2022/ngx-axis-appforge-axis-components-scope-design.mjs.map +1 -0
  299. package/fesm2022/ngx-axis-appforge-axis-components-scope.mjs +75 -0
  300. package/fesm2022/ngx-axis-appforge-axis-components-scope.mjs.map +1 -0
  301. package/fesm2022/ngx-axis-appforge-axis-components-select-design.mjs +146 -0
  302. package/fesm2022/ngx-axis-appforge-axis-components-select-design.mjs.map +1 -0
  303. package/fesm2022/ngx-axis-appforge-axis-components-select.mjs +202 -0
  304. package/fesm2022/ngx-axis-appforge-axis-components-select.mjs.map +1 -0
  305. package/fesm2022/ngx-axis-appforge-axis-components-single-selector-design.mjs +121 -0
  306. package/fesm2022/ngx-axis-appforge-axis-components-single-selector-design.mjs.map +1 -0
  307. package/fesm2022/ngx-axis-appforge-axis-components-single-selector.mjs +106 -0
  308. package/fesm2022/ngx-axis-appforge-axis-components-single-selector.mjs.map +1 -0
  309. package/fesm2022/ngx-axis-appforge-axis-components-splitter-design.mjs +178 -0
  310. package/fesm2022/ngx-axis-appforge-axis-components-splitter-design.mjs.map +1 -0
  311. package/fesm2022/ngx-axis-appforge-axis-components-splitter.mjs +60 -0
  312. package/fesm2022/ngx-axis-appforge-axis-components-splitter.mjs.map +1 -0
  313. package/fesm2022/ngx-axis-appforge-axis-components-steps-design.mjs +197 -0
  314. package/fesm2022/ngx-axis-appforge-axis-components-steps-design.mjs.map +1 -0
  315. package/fesm2022/ngx-axis-appforge-axis-components-steps.mjs +61 -0
  316. package/fesm2022/ngx-axis-appforge-axis-components-steps.mjs.map +1 -0
  317. package/fesm2022/ngx-axis-appforge-axis-components-switch-design.mjs +79 -0
  318. package/fesm2022/ngx-axis-appforge-axis-components-switch-design.mjs.map +1 -0
  319. package/fesm2022/ngx-axis-appforge-axis-components-switch.mjs +48 -0
  320. package/fesm2022/ngx-axis-appforge-axis-components-switch.mjs.map +1 -0
  321. package/fesm2022/ngx-axis-appforge-axis-components-table-design.mjs +497 -0
  322. package/fesm2022/ngx-axis-appforge-axis-components-table-design.mjs.map +1 -0
  323. package/fesm2022/ngx-axis-appforge-axis-components-table-helper.mjs +650 -0
  324. package/fesm2022/ngx-axis-appforge-axis-components-table-helper.mjs.map +1 -0
  325. package/fesm2022/ngx-axis-appforge-axis-components-table.mjs +374 -0
  326. package/fesm2022/ngx-axis-appforge-axis-components-table.mjs.map +1 -0
  327. package/fesm2022/ngx-axis-appforge-axis-components-tabs-design.mjs +260 -0
  328. package/fesm2022/ngx-axis-appforge-axis-components-tabs-design.mjs.map +1 -0
  329. package/fesm2022/ngx-axis-appforge-axis-components-tabs.mjs +69 -0
  330. package/fesm2022/ngx-axis-appforge-axis-components-tabs.mjs.map +1 -0
  331. package/fesm2022/ngx-axis-appforge-axis-components-text-design.mjs +95 -0
  332. package/fesm2022/ngx-axis-appforge-axis-components-text-design.mjs.map +1 -0
  333. package/fesm2022/ngx-axis-appforge-axis-components-text.mjs +64 -0
  334. package/fesm2022/ngx-axis-appforge-axis-components-text.mjs.map +1 -0
  335. package/fesm2022/ngx-axis-appforge-axis-components-textarea-design.mjs +94 -0
  336. package/fesm2022/ngx-axis-appforge-axis-components-textarea-design.mjs.map +1 -0
  337. package/fesm2022/ngx-axis-appforge-axis-components-textarea.mjs +64 -0
  338. package/fesm2022/ngx-axis-appforge-axis-components-textarea.mjs.map +1 -0
  339. package/fesm2022/ngx-axis-appforge-axis-components-timer-design.mjs +69 -0
  340. package/fesm2022/ngx-axis-appforge-axis-components-timer-design.mjs.map +1 -0
  341. package/fesm2022/ngx-axis-appforge-axis-components-timer.mjs +59 -0
  342. package/fesm2022/ngx-axis-appforge-axis-components-timer.mjs.map +1 -0
  343. package/fesm2022/ngx-axis-appforge-axis-components-transfer-design.mjs +359 -0
  344. package/fesm2022/ngx-axis-appforge-axis-components-transfer-design.mjs.map +1 -0
  345. package/fesm2022/ngx-axis-appforge-axis-components-transfer.mjs +278 -0
  346. package/fesm2022/ngx-axis-appforge-axis-components-transfer.mjs.map +1 -0
  347. package/fesm2022/ngx-axis-appforge-axis-components-tree-selector-design.mjs +223 -0
  348. package/fesm2022/ngx-axis-appforge-axis-components-tree-selector-design.mjs.map +1 -0
  349. package/fesm2022/ngx-axis-appforge-axis-components-tree-selector.mjs +337 -0
  350. package/fesm2022/ngx-axis-appforge-axis-components-tree-selector.mjs.map +1 -0
  351. package/fesm2022/ngx-axis-appforge-axis-components-upload-design.mjs +146 -0
  352. package/fesm2022/ngx-axis-appforge-axis-components-upload-design.mjs.map +1 -0
  353. package/fesm2022/ngx-axis-appforge-axis-components-upload.mjs +175 -0
  354. package/fesm2022/ngx-axis-appforge-axis-components-upload.mjs.map +1 -0
  355. package/fesm2022/ngx-axis-appforge-axis-components.mjs +1643 -0
  356. package/fesm2022/ngx-axis-appforge-axis-components.mjs.map +1 -0
  357. package/fesm2022/ngx-axis-appforge-core.mjs +3611 -0
  358. package/fesm2022/ngx-axis-appforge-core.mjs.map +1 -0
  359. package/fesm2022/ngx-axis-appforge-providers.mjs +52 -0
  360. package/fesm2022/ngx-axis-appforge-providers.mjs.map +1 -0
  361. package/fesm2022/ngx-axis-appforge.mjs +6 -0
  362. package/fesm2022/ngx-axis-appforge.mjs.map +1 -0
  363. package/index.d.ts +2 -0
  364. package/package.json +389 -0
  365. package/providers/index.d.ts +13 -0
  366. package/providers/index.d.ts.map +1 -0
@@ -0,0 +1,64 @@
1
+ import * as i0 from '@angular/core';
2
+ import { signal, model, computed, ViewChild, ChangeDetectionStrategy, Component } from '@angular/core';
3
+ import { NzFormModule } from 'ng-zorro-antd/form';
4
+ import * as i1 from 'ng-zorro-antd/input';
5
+ import { NzInputModule } from 'ng-zorro-antd/input';
6
+ import { ValueAccessOptions, ValueAccess, DynamicDirective } from 'ngx-axis-appforge/core';
7
+ import * as i3 from '@angular/forms';
8
+ import { ReactiveFormsModule, FormsModule } from '@angular/forms';
9
+ import * as i2 from 'ng-zorro-antd/modal';
10
+ import { NzModalModule } from 'ng-zorro-antd/modal';
11
+ import * as i4 from 'ng-zorro-antd/icon';
12
+ import { NzIconModule } from 'ng-zorro-antd/icon';
13
+
14
+ class InputComponentOptions extends ValueAccessOptions {
15
+ injectData = signal({}, ...(ngDevMode ? [{ debugName: "injectData" }] : []));
16
+ injectFunc = signal(undefined, ...(ngDevMode ? [{ debugName: "injectFunc" }] : []));
17
+ allPermissions = signal({}, ...(ngDevMode ? [{ debugName: "allPermissions" }] : []));
18
+ httpContextData = signal(undefined, ...(ngDevMode ? [{ debugName: "httpContextData" }] : []));
19
+ fileBaseUrl = signal("", ...(ngDevMode ? [{ debugName: "fileBaseUrl" }] : []));
20
+ }
21
+
22
+ class InputComponent extends ValueAccess {
23
+ options = new InputComponentOptions();
24
+ isVisible = model(false, ...(ngDevMode ? [{ debugName: "isVisible" }] : []));
25
+ designValue = model(...(ngDevMode ? [undefined, { debugName: "designValue" }] : []));
26
+ designOptions = computed(() => ({ component: 'axis-components/design', inuse: true, injectData: this.options.injectData(), allPermissions: this.options.allPermissions(), httpContextData: this.options.httpContextData(), fileBaseUrl: this.options.fileBaseUrl() }), ...(ngDevMode ? [{ debugName: "designOptions" }] : []));
27
+ content;
28
+ writeValue(value) {
29
+ super.writeValue(value);
30
+ this.designValue.set(this.value());
31
+ }
32
+ setInitValue(value) {
33
+ super.setInitValue(value);
34
+ if (this.value() !== undefined) {
35
+ this.designValue.set(this.value());
36
+ }
37
+ }
38
+ afterOpen() {
39
+ setTimeout(() => {
40
+ this.content?.nativeElement.focus();
41
+ }, 100);
42
+ }
43
+ onOk() {
44
+ this.value.set({ ...this.designValue() });
45
+ this.onChange?.(this.value());
46
+ this.isVisible.set(false);
47
+ }
48
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: InputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
49
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.4", type: InputComponent, isStandalone: true, selector: "axis-input-component", inputs: { isVisible: { classPropertyName: "isVisible", publicName: "isVisible", isSignal: true, isRequired: false, transformFunction: null }, designValue: { classPropertyName: "designValue", publicName: "designValue", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { isVisible: "isVisibleChange", designValue: "designValueChange" }, viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<nz-input-group (click)=\"isVisible.set(!options.disabled())\" [nzPrefix]=\"prefix\" [nzSuffix]=\"suffix\">\n <input nz-input [disabled]=\"options.disabled()\" [placeholder]=\"options.readonly()?'\u67E5\u770B\u7EC4\u4EF6':'\u914D\u7F6E\u7EC4\u4EF6'\" readonly />\n</nz-input-group>\n<ng-template #prefix>\n <i nz-icon nzType=\"build\"></i>\n</ng-template>\n<ng-template #suffix>\n <i nz-icon [nzType]=\"options.readonly()?'eye':'edit'\"></i>\n</ng-template>\n<nz-modal nzDraggable [(nzVisible)]=\"isVisible\" (nzOnOk)=\"onOk()\" (nzOnCancel)=\"isVisible.set(false)\" nzWidth=\"800\"\n [nzCancelText]=\"options.readonly()?null:'\u53D6\u6D88'\"\n [nzBodyStyle]=\"{padding:'0',height:'70vh',overflow:'hidden',position:'relative'}\" (nzAfterOpen)=\"afterOpen()\">\n <ng-container *nzModalTitle>\n <div tabindex=\"-1\" autofocus=\"true\" (keydown.escape)=\"isVisible.set(false)\">\n <i nz-icon nzType=\"build\"></i> {{options.readonly()?'\u67E5\u770B\u7EC4\u4EF6':'\u914D\u7F6E\u7EC4\u4EF6'}}\n </div>\n </ng-container>\n <div *nzModalContent #content style=\"height: 100%;\" tabindex=\"-1\" autofocus=\"true\"\n (keydown.escape)=\"isVisible.set(false)\">\n @if (!options.readonly()) {\n <ng-container [axisDynamic]=\"designOptions()\" [standalone]=\"true\" [(ngModel)]=\"designValue\"></ng-container>\n }@else {\n <ng-container [axisDynamic]=\"value()\" [standalone]=\"true\"></ng-container>\n }\n </div>\n</nz-modal>", styles: [":host{display:block;width:100%}\n"], dependencies: [{ kind: "ngmodule", type: NzFormModule }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i1.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzVariant", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "component", type: i1.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch"], exportAs: ["nzInputGroup"] }, { kind: "directive", type: i1.NzInputGroupWhitSuffixOrPrefixDirective, selector: "nz-input-group[nzSuffix], nz-input-group[nzPrefix]" }, { kind: "directive", type: DynamicDirective, selector: "[axisDynamic]", inputs: ["axisDynamic", "standalone", "isDesign"], outputs: ["onRegisteValueAccess"], exportAs: ["axisDynamic"] }, { kind: "ngmodule", type: NzModalModule }, { kind: "component", type: i2.NzModalComponent, selector: "nz-modal", inputs: ["nzMask", "nzMaskClosable", "nzCloseOnNavigation", "nzVisible", "nzClosable", "nzOkLoading", "nzOkDisabled", "nzCancelDisabled", "nzCancelLoading", "nzKeyboard", "nzNoAnimation", "nzCentered", "nzDraggable", "nzContent", "nzFooter", "nzZIndex", "nzWidth", "nzWrapClassName", "nzClassName", "nzStyle", "nzTitle", "nzCloseIcon", "nzMaskStyle", "nzBodyStyle", "nzOkText", "nzCancelText", "nzOkType", "nzOkDanger", "nzIconType", "nzModalType", "nzAutofocus", "nzOnOk", "nzOnCancel"], outputs: ["nzOnOk", "nzOnCancel", "nzAfterOpen", "nzAfterClose", "nzVisibleChange"], exportAs: ["nzModal"] }, { kind: "directive", type: i2.NzModalContentDirective, selector: "[nzModalContent]", exportAs: ["nzModalContent"] }, { kind: "directive", type: i2.NzModalTitleDirective, selector: "[nzModalTitle]", exportAs: ["nzModalTitle"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i4.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
50
+ }
51
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: InputComponent, decorators: [{
52
+ type: Component,
53
+ args: [{ selector: 'axis-input-component', imports: [NzFormModule, NzInputModule, NzFormModule, DynamicDirective, NzModalModule, ReactiveFormsModule, NzIconModule, FormsModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<nz-input-group (click)=\"isVisible.set(!options.disabled())\" [nzPrefix]=\"prefix\" [nzSuffix]=\"suffix\">\n <input nz-input [disabled]=\"options.disabled()\" [placeholder]=\"options.readonly()?'\u67E5\u770B\u7EC4\u4EF6':'\u914D\u7F6E\u7EC4\u4EF6'\" readonly />\n</nz-input-group>\n<ng-template #prefix>\n <i nz-icon nzType=\"build\"></i>\n</ng-template>\n<ng-template #suffix>\n <i nz-icon [nzType]=\"options.readonly()?'eye':'edit'\"></i>\n</ng-template>\n<nz-modal nzDraggable [(nzVisible)]=\"isVisible\" (nzOnOk)=\"onOk()\" (nzOnCancel)=\"isVisible.set(false)\" nzWidth=\"800\"\n [nzCancelText]=\"options.readonly()?null:'\u53D6\u6D88'\"\n [nzBodyStyle]=\"{padding:'0',height:'70vh',overflow:'hidden',position:'relative'}\" (nzAfterOpen)=\"afterOpen()\">\n <ng-container *nzModalTitle>\n <div tabindex=\"-1\" autofocus=\"true\" (keydown.escape)=\"isVisible.set(false)\">\n <i nz-icon nzType=\"build\"></i> {{options.readonly()?'\u67E5\u770B\u7EC4\u4EF6':'\u914D\u7F6E\u7EC4\u4EF6'}}\n </div>\n </ng-container>\n <div *nzModalContent #content style=\"height: 100%;\" tabindex=\"-1\" autofocus=\"true\"\n (keydown.escape)=\"isVisible.set(false)\">\n @if (!options.readonly()) {\n <ng-container [axisDynamic]=\"designOptions()\" [standalone]=\"true\" [(ngModel)]=\"designValue\"></ng-container>\n }@else {\n <ng-container [axisDynamic]=\"value()\" [standalone]=\"true\"></ng-container>\n }\n </div>\n</nz-modal>", styles: [":host{display:block;width:100%}\n"] }]
54
+ }], propDecorators: { content: [{
55
+ type: ViewChild,
56
+ args: ["content"]
57
+ }] } });
58
+
59
+ /**
60
+ * Generated bundle index. Do not edit.
61
+ */
62
+
63
+ export { InputComponent };
64
+ //# sourceMappingURL=ngx-axis-appforge-axis-components-input-component.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-axis-appforge-axis-components-input-component.mjs","sources":["../../../axis-components/input-component/input-component.options.ts","../../../axis-components/input-component/input-component.ts","../../../axis-components/input-component/input-component.html","../../../axis-components/input-component/ngx-axis-appforge-axis-components-input-component.ts"],"sourcesContent":["import { signal } from \"@angular/core\";\nimport { ValueAccessOptions } from \"ngx-axis-appforge/core\";\n\nexport class InputComponentOptions extends ValueAccessOptions {\n readonly injectData = signal<any>({});\n readonly injectFunc = signal<{ [name: string]: (Function | { func: Function, type: string }) } | undefined>(undefined);\n readonly allPermissions = signal<{ [permission: string]: string }>({});\n readonly httpContextData = signal<any>(undefined);\n readonly fileBaseUrl = signal<string>(\"\");\n}","import { ChangeDetectionStrategy, Component, computed, ElementRef, model, ViewChild } from '@angular/core';\nimport { NzFormModule } from 'ng-zorro-antd/form';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport { InputComponentOptions } from './input-component.options';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { DynamicDirective, ValueAccess } from 'ngx-axis-appforge/core';\nimport { NzModalModule } from 'ng-zorro-antd/modal';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\n\n@Component({\n selector: 'axis-input-component',\n imports: [NzFormModule, NzInputModule, NzFormModule, DynamicDirective, NzModalModule, ReactiveFormsModule, NzIconModule, FormsModule],\n templateUrl: './input-component.html',\n styleUrl: './input-component.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputComponent extends ValueAccess<InputComponentOptions> {\n override options: InputComponentOptions = new InputComponentOptions();\n\n readonly isVisible = model(false);\n readonly designValue = model<any>();\n readonly designOptions = computed(() => ({ component: 'axis-components/design', inuse: true, injectData: this.options.injectData(), allPermissions: this.options.allPermissions(), httpContextData: this.options.httpContextData(), fileBaseUrl: this.options.fileBaseUrl() }));\n\n @ViewChild(\"content\")\n content?: ElementRef<HTMLElement>;\n\n override writeValue(value: any): void {\n super.writeValue(value);\n this.designValue.set(this.value());\n }\n\n override setInitValue(value: any): void {\n super.setInitValue(value);\n if (this.value() !== undefined) {\n this.designValue.set(this.value());\n }\n }\n\n afterOpen() {\n setTimeout(() => {\n this.content?.nativeElement.focus();\n }, 100);\n }\n\n onOk() {\n this.value.set({ ...this.designValue() });\n this.onChange?.(this.value())\n this.isVisible.set(false);\n }\n}\n","<nz-input-group (click)=\"isVisible.set(!options.disabled())\" [nzPrefix]=\"prefix\" [nzSuffix]=\"suffix\">\n <input nz-input [disabled]=\"options.disabled()\" [placeholder]=\"options.readonly()?'查看组件':'配置组件'\" readonly />\n</nz-input-group>\n<ng-template #prefix>\n <i nz-icon nzType=\"build\"></i>\n</ng-template>\n<ng-template #suffix>\n <i nz-icon [nzType]=\"options.readonly()?'eye':'edit'\"></i>\n</ng-template>\n<nz-modal nzDraggable [(nzVisible)]=\"isVisible\" (nzOnOk)=\"onOk()\" (nzOnCancel)=\"isVisible.set(false)\" nzWidth=\"800\"\n [nzCancelText]=\"options.readonly()?null:'取消'\"\n [nzBodyStyle]=\"{padding:'0',height:'70vh',overflow:'hidden',position:'relative'}\" (nzAfterOpen)=\"afterOpen()\">\n <ng-container *nzModalTitle>\n <div tabindex=\"-1\" autofocus=\"true\" (keydown.escape)=\"isVisible.set(false)\">\n <i nz-icon nzType=\"build\"></i> {{options.readonly()?'查看组件':'配置组件'}}\n </div>\n </ng-container>\n <div *nzModalContent #content style=\"height: 100%;\" tabindex=\"-1\" autofocus=\"true\"\n (keydown.escape)=\"isVisible.set(false)\">\n @if (!options.readonly()) {\n <ng-container [axisDynamic]=\"designOptions()\" [standalone]=\"true\" [(ngModel)]=\"designValue\"></ng-container>\n }@else {\n <ng-container [axisDynamic]=\"value()\" [standalone]=\"true\"></ng-container>\n }\n </div>\n</nz-modal>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './input-component';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGM,MAAO,qBAAsB,SAAQ,kBAAkB,CAAA;AAChD,IAAA,UAAU,GAAG,MAAM,CAAM,E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OAAA,EAAA,CAAA,eAAA,CAAA,EAAA,QAAA,EAAA,CAAA,SAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FAKzH,cAAc,EAAA,UAAA,EAAA,CAAA;kBAP1B,SAAS;+BACE,sBAAsB,EAAA,OAAA,EACvB,CAAC,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,gBAAgB,EAAE,aAAa,EAAE,mBAAmB,EAAE,YAAY,EAAE,WAAW,CAAC,EAAA,eAAA,EAGpH,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,q+CAAA,EAAA,MAAA,EAAA,CAAA,mCAAA,CAAA,EAAA;8BAU/C,OAAO,EAAA,CAAA;sBADN,SAAS;uBAAC,SAAS;;;AEvBtB;;AAEG;;;;"}
@@ -0,0 +1,142 @@
1
+ import { FunFieldValueBase, FormValidators, valueFbConfig, baseFbConfig, valueFunField, baseFunField, FunField, BaseDesignSetting, InputTrigger, ValueDesignSetting, OptionsNode, SimpleMenu } from 'ngx-axis-appforge/core';
2
+ import * as i0 from '@angular/core';
3
+ import { ChangeDetectionStrategy, Component } from '@angular/core';
4
+ import * as i1 from '@angular/forms';
5
+ import { FormsModule, ReactiveFormsModule } from '@angular/forms';
6
+ import * as i2 from 'ng-zorro-antd/collapse';
7
+ import { NzCollapseModule } from 'ng-zorro-antd/collapse';
8
+ import * as i6 from 'ng-zorro-antd/form';
9
+ import { NzFormModule } from 'ng-zorro-antd/form';
10
+ import * as i4 from 'ng-zorro-antd/input';
11
+ import { NzInputModule } from 'ng-zorro-antd/input';
12
+ import * as i3 from 'ng-zorro-antd/input-number';
13
+ import { NzInputNumberModule } from 'ng-zorro-antd/input-number';
14
+ import * as i8 from 'ng-zorro-antd/radio';
15
+ import { NzRadioModule } from 'ng-zorro-antd/radio';
16
+ import * as i9 from 'ng-zorro-antd/select';
17
+ import { NzSelectModule } from 'ng-zorro-antd/select';
18
+ import * as i7 from 'ng-zorro-antd/switch';
19
+ import { NzSwitchModule } from 'ng-zorro-antd/switch';
20
+ import * as i5 from 'ng-zorro-antd/grid';
21
+
22
+ class Setting extends FunFieldValueBase {
23
+ fg = this.fb.group({
24
+ ...baseFbConfig,
25
+ ...valueFbConfig,
26
+ type: [undefined, FormValidators.requiredFun],
27
+ placeholder: [],
28
+ variant: ["outlined", FormValidators.required],
29
+ maxlength: [null],
30
+ debounceTime: [],
31
+ autofocus: [undefined, FormValidators.requiredFun],
32
+ });
33
+ funFields = {
34
+ ...baseFunField,
35
+ ...valueFunField,
36
+ type: {
37
+ defaultValue: "text"
38
+ },
39
+ placeholder: {
40
+ defaultValue: ""
41
+ },
42
+ maxlength: {
43
+ defaultValue: null
44
+ },
45
+ debounceTime: {
46
+ defaultValue: ""
47
+ },
48
+ autofocus: {
49
+ defaultValue: false
50
+ }
51
+ };
52
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: Setting, deps: null, target: i0.ɵɵFactoryTarget.Component });
53
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.4", type: Setting, isStandalone: true, selector: "axis-design-input-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\" nzRequired>\n \u8F93\u5165\u7C7B\u578B\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"type\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\">\n <label nz-radio-button nzValue=\"text\">\u6587\u672C</label>\n <label nz-radio-button nzValue=\"password\">\u5BC6\u7801</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\">\n \u6700\u5927\u957F\u5EA6\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"maxlength\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"1\">\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 \u9632\u6296\u65F6\u95F4\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"debounceTime\">\n <nz-input-number style=\"width: 100%;\" nzPlaceHolder=\"\u6BEB\u79D2\" ngModel\n [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"1\">\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 \u81EA\u52A8\u7126\u70B9\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"autofocus\">\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\" nzRequired>\n \u5F62\u6001\u53D8\u4F53\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <nz-select formControlName=\"variant\">\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 </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-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']\"\n [eventDesc]=\"[{name:'enterKeydown',title:'\u6309\u4E0B\u56DE\u8F66'}]\"></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],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", "nzBordered", "nzKeyboard", "nzControls"], outputs: ["nzBlur", "nzFocus", "nzOnStep"], exportAs: ["nzInputNumber"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i4.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzVariant", "nzSize", "nzStepperless", "nzStatus", "disabled"], 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"], 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", "nzBorderless", "nzShowSearch", "nzLoading", "nzAutoFocus", "nzAutoClearSearchValue", "nzServerSearch", "nzDisabled", "nzOpen", "nzSelectOnTab", "nzBackdrop", "nzOptions", "nzShowArrow"], outputs: ["nzOnSearch", "nzScrollToBottom", "nzOpenChange", "nzBlur", "nzFocus", "nzOnClear"], exportAs: ["nzSelect"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
54
+ }
55
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: Setting, decorators: [{
56
+ type: Component,
57
+ args: [{ selector: 'axis-design-input-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\" nzRequired>\n \u8F93\u5165\u7C7B\u578B\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"type\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\">\n <label nz-radio-button nzValue=\"text\">\u6587\u672C</label>\n <label nz-radio-button nzValue=\"password\">\u5BC6\u7801</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\">\n \u6700\u5927\u957F\u5EA6\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"maxlength\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"1\">\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 \u9632\u6296\u65F6\u95F4\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"debounceTime\">\n <nz-input-number style=\"width: 100%;\" nzPlaceHolder=\"\u6BEB\u79D2\" ngModel\n [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"1\">\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 \u81EA\u52A8\u7126\u70B9\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"autofocus\">\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\" nzRequired>\n \u5F62\u6001\u53D8\u4F53\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <nz-select formControlName=\"variant\">\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 </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-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']\"\n [eventDesc]=\"[{name:'enterKeydown',title:'\u6309\u4E0B\u56DE\u8F66'}]\"></axis-input-trigger>\n </nz-collapse>\n</form>" }]
58
+ }] });
59
+
60
+ const Config = {
61
+ componentName: "文本输入框",
62
+ buildOptionsNodes(nextInfo) {
63
+ const children = [];
64
+ const next = [];
65
+ if (!nextInfo.currentObject.variant || nextInfo.currentObject.variant == "outlined") {
66
+ children.push(new OptionsNode({
67
+ id: nextInfo.currentObject.id + ".prefix",
68
+ parentId: nextInfo.currentObject.id,
69
+ scopeId: nextInfo.scopeId,
70
+ name: "前缀",
71
+ contextMenu: SimpleMenu,
72
+ canDrop: true,
73
+ dropType: "component",
74
+ dropObj: nextInfo.currentObject,
75
+ defaultDropIndex: "prefix",
76
+ indexOfParentObj: "prefix",
77
+ rootOptions: nextInfo.currentObject,
78
+ children: [],
79
+ }));
80
+ next.push({
81
+ parentId: nextInfo.currentObject.id + ".prefix",
82
+ parentObject: nextInfo.currentObject,
83
+ indexOfParent: "prefix",
84
+ scopeId: nextInfo.scopeId,
85
+ });
86
+ children.push(new OptionsNode({
87
+ id: nextInfo.currentObject.id + ".suffix",
88
+ parentId: nextInfo.currentObject.id,
89
+ scopeId: nextInfo.scopeId,
90
+ name: "后缀",
91
+ contextMenu: SimpleMenu,
92
+ canDrop: true,
93
+ dropType: "component",
94
+ dropObj: nextInfo.currentObject,
95
+ defaultDropIndex: "suffix",
96
+ indexOfParentObj: "suffix",
97
+ rootOptions: nextInfo.currentObject,
98
+ children: [],
99
+ }));
100
+ next.push({
101
+ parentId: nextInfo.currentObject.id + ".suffix",
102
+ parentObject: nextInfo.currentObject,
103
+ indexOfParent: "suffix",
104
+ scopeId: nextInfo.scopeId,
105
+ });
106
+ }
107
+ return {
108
+ treeNode: new OptionsNode({
109
+ parentId: nextInfo.parentId,
110
+ scopeId: nextInfo.scopeId,
111
+ name: "文本输入框",
112
+ canSetting: true,
113
+ canDrag: true,
114
+ dragType: "component",
115
+ parentObj: nextInfo.parentObject,
116
+ indexOfParentObj: nextInfo.indexOfParent,
117
+ rootOptions: nextInfo.currentObject,
118
+ settingType: Setting,
119
+ contextMenu: SimpleMenu,
120
+ icon: "field-string",
121
+ children: children
122
+ }),
123
+ next: next,
124
+ };
125
+ },
126
+ bindElementsOptionsNode(element, options) {
127
+ const prefix = element.querySelector(".prefix-container");
128
+ const suffix = element.querySelector(".suffix-container");
129
+ return {
130
+ [options.id]: { element },
131
+ [`${options.id}.prefix`]: { element: prefix, dropElement: prefix },
132
+ [`${options.id}.suffix`]: { element: suffix, dropElement: suffix }
133
+ };
134
+ },
135
+ };
136
+
137
+ /**
138
+ * Generated bundle index. Do not edit.
139
+ */
140
+
141
+ export { Config };
142
+ //# sourceMappingURL=ngx-axis-appforge-axis-components-input-design.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-axis-appforge-axis-components-input-design.mjs","sources":["../../../axis-components/input/design/setting/setting.ts","../../../axis-components/input/design/setting/setting.html","../../../axis-components/input/design/config.ts","../../../axis-components/input/design/ngx-axis-appforge-axis-components-input-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-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 type: [undefined, FormValidators.requiredFun],\n placeholder: [],\n variant: [\"outlined\", FormValidators.required],\n maxlength: [null],\n debounceTime: [],\n autofocus: [undefined, FormValidators.requiredFun],\n });\n\n protected override funFields: FunFieldOptions = {\n ...baseFunField,\n ...valueFunField,\n type: {\n defaultValue: \"text\"\n },\n placeholder: {\n defaultValue: \"\"\n },\n maxlength: {\n defaultValue: null\n },\n debounceTime: {\n defaultValue: \"\"\n },\n autofocus: {\n defaultValue: false\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\" nzRequired>\n 输入类型\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"type\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\">\n <label nz-radio-button nzValue=\"text\">文本</label>\n <label nz-radio-button nzValue=\"password\">密码</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\">\n 最大长度\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"maxlength\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"1\">\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=\"debounceTime\">\n <nz-input-number style=\"width: 100%;\" nzPlaceHolder=\"毫秒\" ngModel\n [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"1\">\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=\"autofocus\">\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\" nzRequired>\n 形态变体\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <nz-select formControlName=\"variant\">\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 </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-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']\"\n [eventDesc]=\"[{name:'enterKeydown',title:'按下回车'}]\"></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 const children: OptionsNode[] = [];\n const next: NextInfo[] = [];\n if (!nextInfo.currentObject.variant || nextInfo.currentObject.variant == \"outlined\") {\n children.push(new OptionsNode({\n id: nextInfo.currentObject.id + \".prefix\",\n parentId: nextInfo.currentObject.id,\n scopeId: nextInfo.scopeId,\n name: \"前缀\",\n contextMenu: SimpleMenu,\n canDrop: true,\n dropType: \"component\",\n dropObj: nextInfo.currentObject,\n defaultDropIndex: \"prefix\",\n indexOfParentObj: \"prefix\",\n rootOptions: nextInfo.currentObject,\n children: [],\n }));\n next.push({\n parentId: nextInfo.currentObject.id + \".prefix\",\n parentObject: nextInfo.currentObject,\n indexOfParent: \"prefix\",\n scopeId: nextInfo.scopeId,\n });\n children.push(new OptionsNode({\n id: nextInfo.currentObject.id + \".suffix\",\n parentId: nextInfo.currentObject.id,\n scopeId: nextInfo.scopeId,\n name: \"后缀\",\n contextMenu: SimpleMenu,\n canDrop: true,\n dropType: \"component\",\n dropObj: nextInfo.currentObject,\n defaultDropIndex: \"suffix\",\n indexOfParentObj: \"suffix\",\n rootOptions: nextInfo.currentObject,\n children: [],\n }));\n next.push({\n parentId: nextInfo.currentObject.id + \".suffix\",\n parentObject: nextInfo.currentObject,\n indexOfParent: \"suffix\",\n scopeId: nextInfo.scopeId,\n });\n }\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-string\",\n children: children\n }),\n next: next,\n };\n },\n bindElementsOptionsNode(element: HTMLElement, options: any): DesignBindElementsResult {\n const prefix: HTMLElement = element.querySelector(\".prefix-container\") as HTMLElement;\n const suffix: HTMLElement = element.querySelector(\".suffix-container\") as HTMLElement;\n return {\n [options.id]: { element },\n [`${options.id}.prefix`]: { element: prefix, dropElement: prefix },\n [`${options.id}.suffix`]: { element: suffix, dropElement: suffix }\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,IAAI,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AAC7C,QAAA,WAAW,EAAE,EAAE;AACf,QAAA,OAAO,EAAE,CAAC,UAAU,EAAE,cAAc,CAAC,QAAQ,CAAC;QAC9C,SAAS,EAAE,CAAC,IAAI,CAAC;AACjB,QAAA,YAAY,EAAE,EAAE;AAChB,QAAA,SAAS,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AACnD,KAAA,CAAC;AAEiB,IAAA,SAAS,GAAoB;AAC9C,QAAA,GAAG,YAAY;AACf,QAAA,GAAG,aAAa;AAChB,QAAA,IAAI,EAAE;AACJ,YAAA,YAAY,EAAE;AACf,SAAA;AACD,QAAA,WAAW,EAAE;AACX,YAAA,YAAY,EAAE;AACf,SAAA;AACD,QAAA,SAAS,EAAE;AACT,YAAA,YAAY,EAAE;AACf,SAAA;AACD,QAAA,YAAY,EAAE;AACZ,YAAA,YAAY,EAAE;AACf,SAAA;AACD,QAAA,SAAS,EAAE;AACT,YAAA,YAAY,EAAE;AACf;KACF;uGA/B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ACrF,MAAM,MAAM,GAAgB,OAAO,CAAC,aAAa,CAAC,mBAAmB,CAAgB;QACrF,OAAO;AACH,YAAA,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,OAAO,EAAE;AACzB,YAAA,CAAC,CAAA,EAAG,OAAO,CAAC,EAAE,SAAS,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE;AAClE,YAAA,CAAC,CAAA,EAAG,OAAO,CAAC,EAAE,SAAS,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;SACnE;IACL,CAAC;;;AC9EL;;AAEG;;;;"}
@@ -0,0 +1,71 @@
1
+ import { FunFieldValueBase, valueFbConfig, baseFbConfig, valueFunField, baseFunField, BaseDesignSetting, FunField, InputTrigger, ValueDesignSetting, OptionsNode, SimpleMenu } from 'ngx-axis-appforge/core';
2
+ import * as i0 from '@angular/core';
3
+ import { ChangeDetectionStrategy, Component } from '@angular/core';
4
+ import * as i1 from '@angular/forms';
5
+ import { FormsModule, ReactiveFormsModule } from '@angular/forms';
6
+ import * as i3 from 'ng-zorro-antd/form';
7
+ import { NzFormModule } from 'ng-zorro-antd/form';
8
+ import * as i5 from 'ng-zorro-antd/input';
9
+ import { NzInputModule } from 'ng-zorro-antd/input';
10
+ import * as i4 from 'ng-zorro-antd/collapse';
11
+ import { NzCollapseModule } from 'ng-zorro-antd/collapse';
12
+ import * as i2 from 'ng-zorro-antd/grid';
13
+
14
+ class Setting extends FunFieldValueBase {
15
+ fg = this.fb.group(({
16
+ ...baseFbConfig,
17
+ ...valueFbConfig,
18
+ placeholder: [],
19
+ modalTitle: [],
20
+ }));
21
+ funFields = {
22
+ ...baseFunField,
23
+ ...valueFunField,
24
+ placeholder: {
25
+ defaultValue: "设置图标"
26
+ },
27
+ modalTitle: {
28
+ defaultValue: "设置图标"
29
+ },
30
+ };
31
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: Setting, deps: null, target: i0.ɵɵFactoryTarget.Component });
32
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.4", type: Setting, isStandalone: true, selector: "axis-design-input-icon-setting", usesInheritance: true, ngImport: i0, template: "<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"\u57FA\u672C\u8BBE\u7F6E\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u63D0\u793A\u6587\u672C\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 \u5F39\u7A97\u6807\u9898\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"modalTitle\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\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],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: NzFormModule }, { kind: "directive", type: i2.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: i2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "directive", type: i3.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzForm"] }, { kind: "component", type: i3.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i3.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i3.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { 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: NzCollapseModule }, { kind: "component", type: i4.NzCollapsePanelComponent, selector: "nz-collapse-panel", inputs: ["nzActive", "nzDisabled", "nzShowArrow", "nzExtra", "nzHeader", "nzExpandedIcon", "nzCollapsible"], outputs: ["nzActiveChange"], exportAs: ["nzCollapsePanel"] }, { kind: "component", type: i4.NzCollapseComponent, selector: "nz-collapse", inputs: ["nzAccordion", "nzBordered", "nzGhost", "nzExpandIconPosition", "nzSize"], exportAs: ["nzCollapse"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i5.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzVariant", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "component", type: BaseDesignSetting, selector: "axis-base-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { 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: "component", type: InputTrigger, selector: "axis-input-trigger", inputs: ["internalTriggers", "optionsNodeId", "value", "eventDesc", "isVisibleHandlerModal", "editEventHandler"], outputs: ["valueChange", "isVisibleHandlerModalChange", "editEventHandlerChange"] }, { kind: "component", type: ValueDesignSetting, selector: "axis-value-design-setting", inputs: ["scopeId", "exclude", "fg"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
33
+ }
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: Setting, decorators: [{
35
+ type: Component,
36
+ args: [{ selector: 'axis-design-input-icon-setting', imports: [FormsModule, NzFormModule, ReactiveFormsModule, NzCollapseModule, NzInputModule, BaseDesignSetting, FunField, InputTrigger, ValueDesignSetting], changeDetection: ChangeDetectionStrategy.OnPush, template: "<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"\u57FA\u672C\u8BBE\u7F6E\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u63D0\u793A\u6587\u672C\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 \u5F39\u7A97\u6807\u9898\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"modalTitle\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\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>" }]
37
+ }] });
38
+
39
+ const Config = {
40
+ componentName: "图标输入框",
41
+ buildOptionsNodes(nextInfo) {
42
+ return {
43
+ treeNode: new OptionsNode({
44
+ parentId: nextInfo.parentId,
45
+ scopeId: nextInfo.scopeId,
46
+ name: "图标输入框",
47
+ canSetting: true,
48
+ canDrag: true,
49
+ dragType: "component",
50
+ parentObj: nextInfo.parentObject,
51
+ indexOfParentObj: nextInfo.indexOfParent,
52
+ rootOptions: nextInfo.currentObject,
53
+ settingType: Setting,
54
+ contextMenu: SimpleMenu,
55
+ icon: "highlight"
56
+ })
57
+ };
58
+ },
59
+ bindElementsOptionsNode(element, options) {
60
+ return {
61
+ [options.id]: { element }
62
+ };
63
+ },
64
+ };
65
+
66
+ /**
67
+ * Generated bundle index. Do not edit.
68
+ */
69
+
70
+ export { Config };
71
+ //# sourceMappingURL=ngx-axis-appforge-axis-components-input-icon-design.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-axis-appforge-axis-components-input-icon-design.mjs","sources":["../../../axis-components/input-icon/design/setting/setting.ts","../../../axis-components/input-icon/design/setting/setting.html","../../../axis-components/input-icon/design/config.ts","../../../axis-components/input-icon/design/ngx-axis-appforge-axis-components-input-icon-design.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule, UntypedFormGroup } from '@angular/forms';\nimport { NzFormModule } from 'ng-zorro-antd/form';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport { BaseDesignSetting, baseFbConfig, baseFunField, FunField, FunFieldOptions, FunFieldValueBase, InputTrigger, ValueDesignSetting, valueFbConfig, valueFunField } from 'ngx-axis-appforge/core';\nimport { NzCollapseModule } from 'ng-zorro-antd/collapse';\n\n@Component({\n selector: 'axis-design-input-icon-setting',\n imports: [FormsModule, NzFormModule, ReactiveFormsModule, NzCollapseModule, NzInputModule, BaseDesignSetting, FunField, InputTrigger, ValueDesignSetting],\n templateUrl: './setting.html',\n styleUrl: './setting.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Setting extends FunFieldValueBase {\n override fg: UntypedFormGroup = this.fb.group(({\n ...baseFbConfig,\n ...valueFbConfig,\n placeholder: [],\n modalTitle: [],\n }));\n\n protected override funFields: FunFieldOptions = {\n ...baseFunField,\n ...valueFunField,\n placeholder: {\n defaultValue: \"设置图标\"\n },\n modalTitle: {\n defaultValue: \"设置图标\"\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\" nzRequired>\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=\"modalTitle\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\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: \"highlight\"\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":";;;;;;;;;;;;;AAcM,MAAO,OAAQ,SAAQ,iBAAiB,CAAA;AACnC,IAAA,EAAE,GAAqB,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE;AAC7C,QAAA,GAAG,YAAY;AACf,QAAA,GAAG,aAAa;AAChB,QAAA,WAAW,EAAE,EAAE;AACf,QAAA,UAAU,EAAE,EAAE;AACf,KAAA,EAAE;AAEgB,IAAA,SAAS,GAAoB;AAC9C,QAAA,GAAG,YAAY;AACf,QAAA,GAAG,aAAa;AAChB,QAAA,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ACT;SACJ;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;;;;"}
@@ -0,0 +1,75 @@
1
+ import * as i0 from '@angular/core';
2
+ import { signal, inject, computed, model, ChangeDetectionStrategy, Component } from '@angular/core';
3
+ import * as i2 from 'ng-zorro-antd/form';
4
+ import { NzFormModule } from 'ng-zorro-antd/form';
5
+ import * as i3 from 'ng-zorro-antd/input';
6
+ import { NzInputModule } from 'ng-zorro-antd/input';
7
+ import { ValueAccessOptions, ValueAccess, FormValidators, updateAndValidAll, DynamicDirective } from 'ngx-axis-appforge/core';
8
+ import * as i5 from '@angular/forms';
9
+ import { UntypedFormBuilder, ReactiveFormsModule, FormsModule } from '@angular/forms';
10
+ import * as i4 from 'ng-zorro-antd/modal';
11
+ import { NzModalModule } from 'ng-zorro-antd/modal';
12
+ import * as i6 from 'ng-zorro-antd/icon';
13
+ import { NzIconModule } from 'ng-zorro-antd/icon';
14
+ import * as i7 from 'ng-zorro-antd/radio';
15
+ import { NzRadioModule } from 'ng-zorro-antd/radio';
16
+ import { toSignal } from '@angular/core/rxjs-interop';
17
+ import * as i1 from 'ng-zorro-antd/grid';
18
+
19
+ class InputIconOptions extends ValueAccessOptions {
20
+ placeholder = signal("设置图标", ...(ngDevMode ? [{ debugName: "placeholder" }] : []));
21
+ modalTitle = signal("设置图标", ...(ngDevMode ? [{ debugName: "modalTitle" }] : []));
22
+ }
23
+
24
+ class InputIcon extends ValueAccess {
25
+ options = new InputIconOptions();
26
+ fb = inject(UntypedFormBuilder);
27
+ fg = this.fb.group({
28
+ lib: ["antdesign", FormValidators.required],
29
+ theme: ["outline", FormValidators.required],
30
+ icon: [undefined, FormValidators.required]
31
+ });
32
+ formValue = toSignal(this.fg.valueChanges);
33
+ preview = computed(() => ({ component: "axis-components/icon", inuse: true, ...this.formValue() }), ...(ngDevMode ? [{ debugName: "preview" }] : []));
34
+ isVisible = model(false, ...(ngDevMode ? [{ debugName: "isVisible" }] : []));
35
+ writeValue(value) {
36
+ super.writeValue(value);
37
+ this.fg.reset(value ?? {
38
+ lib: "antdesign",
39
+ theme: "outline",
40
+ icon: undefined,
41
+ });
42
+ }
43
+ resetForm() {
44
+ this.fg.reset({
45
+ lib: "antdesign",
46
+ theme: "outline",
47
+ icon: undefined,
48
+ });
49
+ }
50
+ remove() {
51
+ this.value.set(null);
52
+ this.onChange?.(this.value());
53
+ this.resetForm();
54
+ }
55
+ onOk() {
56
+ if (updateAndValidAll(this.fg)) {
57
+ this.value.set(this.preview());
58
+ this.onChange?.(this.value());
59
+ this.isVisible.set(false);
60
+ }
61
+ }
62
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: InputIcon, deps: null, target: i0.ɵɵFactoryTarget.Component });
63
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.4", type: InputIcon, isStandalone: true, selector: "axis-input-icon", inputs: { isVisible: { classPropertyName: "isVisible", publicName: "isVisible", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { isVisible: "isVisibleChange" }, usesInheritance: true, ngImport: i0, template: "@if (!options.readonly()) {\n<nz-input-group (click)=\"isVisible.set(!options.disabled())\" [nzPrefix]=\"value()?.component? iconInp:undefined\"\n [nzSuffix]=\"iconSuffix\">\n <input nz-input [disabled]=\"options.disabled()\" [placeholder]=\"options.placeholder()\" readonly />\n</nz-input-group>\n<ng-template #iconInp>\n <ng-container [axisDynamic]=\"value()\" [standalone]=\"true\"></ng-container>\n</ng-template>\n<ng-template #iconSuffix>\n @if (value()) {\n <nz-icon class=\"ant-input-clear-icon\" nzTheme=\"fill\" nzType=\"close-circle\"\n (click)=\"$event.stopPropagation();remove()\" />\n }@else {\n <i nz-icon nzType=\"right\" style=\"color:rgba(0, 0, 0, 0.25)\" nzTheme=\"outline\"></i>\n }\n</ng-template>\n<nz-modal [(nzVisible)]=\"isVisible\" [nzTitle]=\"options.modalTitle()\" (nzOnOk)=\"onOk()\"\n (nzOnCancel)=\"isVisible.set(false)\">\n <ng-container *nzModalContent>\n <form [formGroup]=\"fg\">\n <nz-form-item>\n <nz-form-label nzSpan=\"6\" nzRequired>\u56FE\u6807\u5E93</nz-form-label>\n <nz-form-control nzSpan=\"18\">\n <nz-radio-group formControlName=\"lib\">\n <label nz-radio-button nzValue=\"antdesign\">antdesign</label>\n <label nz-radio-button nzValue=\"iconfont\">iconfont</label>\n </nz-radio-group>\n </nz-form-control>\n </nz-form-item>\n @if (formValue() == undefined || formValue()?.lib == 'antdesign') {\n <nz-form-item>\n <nz-form-label nzSpan=\"6\" nzRequired>\u56FE\u6807\u4E3B\u9898</nz-form-label>\n <nz-form-control nzSpan=\"18\">\n <nz-radio-group formControlName=\"theme\">\n <label nz-radio-button nzValue=\"outline\">outline</label>\n <label nz-radio-button nzValue=\"fill\">fill</label>\n <label nz-radio-button nzValue=\"twotone\">twotone</label>\n </nz-radio-group>\n </nz-form-control>\n </nz-form-item>\n }\n <nz-form-item>\n <nz-form-label nzSpan=\"6\" nzRequired>\u56FE\u6807</nz-form-label>\n <nz-form-control nzSpan=\"18\">\n <nz-input-group style=\"max-width: 200px;\" [nzSuffix]=\"iconPreview\">\n <input autofocus placeholder=\"\u8F93\u5165\u56FE\u6807\u7C7B\u578B\uFF0C\u5982 edit\" nz-input formControlName=\"icon\" />\n </nz-input-group>\n <ng-template #iconPreview>\n <ng-container [axisDynamic]=\"preview()\" [standalone]=\"true\"></ng-container>\n </ng-template>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"6\">\n antdesign \u56FE\u6807\u5E93\n </nz-form-label>\n <nz-form-control nzSpan=\"18\">\n <a target=\"_blank\"\n href=\"https://ng.ant.design/components/icon/zh\">https://ng.ant.design/components/icon/zh</a>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"6\">\n iconfont \u56FE\u6807\u5E93\n </nz-form-label>\n <nz-form-control nzSpan=\"18\">\n <a target=\"_blank\" href=\"https://www.iconfont.cn/\">https://www.iconfont.cn/</a>\n </nz-form-control>\n </nz-form-item>\n </form>\n </ng-container>\n</nz-modal>\n}@else if(value()?.comonent){\n<ng-container [axisDynamic]=\"value()\" [standalone]=\"true\"></ng-container>\n}", styles: [":host{display:block;width:100%}\n"], dependencies: [{ kind: "ngmodule", type: NzFormModule }, { kind: "directive", type: i1.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: i1.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "component", type: i2.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i2.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i2.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i3.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzVariant", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "component", type: i3.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch"], exportAs: ["nzInputGroup"] }, { kind: "directive", type: i3.NzInputGroupWhitSuffixOrPrefixDirective, selector: "nz-input-group[nzSuffix], nz-input-group[nzPrefix]" }, { kind: "directive", type: DynamicDirective, selector: "[axisDynamic]", inputs: ["axisDynamic", "standalone", "isDesign"], outputs: ["onRegisteValueAccess"], exportAs: ["axisDynamic"] }, { kind: "ngmodule", type: NzModalModule }, { kind: "component", type: i4.NzModalComponent, selector: "nz-modal", inputs: ["nzMask", "nzMaskClosable", "nzCloseOnNavigation", "nzVisible", "nzClosable", "nzOkLoading", "nzOkDisabled", "nzCancelDisabled", "nzCancelLoading", "nzKeyboard", "nzNoAnimation", "nzCentered", "nzDraggable", "nzContent", "nzFooter", "nzZIndex", "nzWidth", "nzWrapClassName", "nzClassName", "nzStyle", "nzTitle", "nzCloseIcon", "nzMaskStyle", "nzBodyStyle", "nzOkText", "nzCancelText", "nzOkType", "nzOkDanger", "nzIconType", "nzModalType", "nzAutofocus", "nzOnOk", "nzOnCancel"], outputs: ["nzOnOk", "nzOnCancel", "nzAfterOpen", "nzAfterClose", "nzVisibleChange"], exportAs: ["nzModal"] }, { kind: "directive", type: i4.NzModalContentDirective, selector: "[nzModalContent]", exportAs: ["nzModalContent"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i5.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { 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.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i5.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i5.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { 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: NzRadioModule }, { kind: "component", type: i7.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus", "nz-radio-button"], exportAs: ["nzRadio"] }, { kind: "component", type: i7.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }, { kind: "ngmodule", type: FormsModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
64
+ }
65
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: InputIcon, decorators: [{
66
+ type: Component,
67
+ args: [{ selector: 'axis-input-icon', imports: [NzFormModule, NzInputModule, NzFormModule, DynamicDirective, NzModalModule, ReactiveFormsModule, NzIconModule, NzRadioModule, FormsModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (!options.readonly()) {\n<nz-input-group (click)=\"isVisible.set(!options.disabled())\" [nzPrefix]=\"value()?.component? iconInp:undefined\"\n [nzSuffix]=\"iconSuffix\">\n <input nz-input [disabled]=\"options.disabled()\" [placeholder]=\"options.placeholder()\" readonly />\n</nz-input-group>\n<ng-template #iconInp>\n <ng-container [axisDynamic]=\"value()\" [standalone]=\"true\"></ng-container>\n</ng-template>\n<ng-template #iconSuffix>\n @if (value()) {\n <nz-icon class=\"ant-input-clear-icon\" nzTheme=\"fill\" nzType=\"close-circle\"\n (click)=\"$event.stopPropagation();remove()\" />\n }@else {\n <i nz-icon nzType=\"right\" style=\"color:rgba(0, 0, 0, 0.25)\" nzTheme=\"outline\"></i>\n }\n</ng-template>\n<nz-modal [(nzVisible)]=\"isVisible\" [nzTitle]=\"options.modalTitle()\" (nzOnOk)=\"onOk()\"\n (nzOnCancel)=\"isVisible.set(false)\">\n <ng-container *nzModalContent>\n <form [formGroup]=\"fg\">\n <nz-form-item>\n <nz-form-label nzSpan=\"6\" nzRequired>\u56FE\u6807\u5E93</nz-form-label>\n <nz-form-control nzSpan=\"18\">\n <nz-radio-group formControlName=\"lib\">\n <label nz-radio-button nzValue=\"antdesign\">antdesign</label>\n <label nz-radio-button nzValue=\"iconfont\">iconfont</label>\n </nz-radio-group>\n </nz-form-control>\n </nz-form-item>\n @if (formValue() == undefined || formValue()?.lib == 'antdesign') {\n <nz-form-item>\n <nz-form-label nzSpan=\"6\" nzRequired>\u56FE\u6807\u4E3B\u9898</nz-form-label>\n <nz-form-control nzSpan=\"18\">\n <nz-radio-group formControlName=\"theme\">\n <label nz-radio-button nzValue=\"outline\">outline</label>\n <label nz-radio-button nzValue=\"fill\">fill</label>\n <label nz-radio-button nzValue=\"twotone\">twotone</label>\n </nz-radio-group>\n </nz-form-control>\n </nz-form-item>\n }\n <nz-form-item>\n <nz-form-label nzSpan=\"6\" nzRequired>\u56FE\u6807</nz-form-label>\n <nz-form-control nzSpan=\"18\">\n <nz-input-group style=\"max-width: 200px;\" [nzSuffix]=\"iconPreview\">\n <input autofocus placeholder=\"\u8F93\u5165\u56FE\u6807\u7C7B\u578B\uFF0C\u5982 edit\" nz-input formControlName=\"icon\" />\n </nz-input-group>\n <ng-template #iconPreview>\n <ng-container [axisDynamic]=\"preview()\" [standalone]=\"true\"></ng-container>\n </ng-template>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"6\">\n antdesign \u56FE\u6807\u5E93\n </nz-form-label>\n <nz-form-control nzSpan=\"18\">\n <a target=\"_blank\"\n href=\"https://ng.ant.design/components/icon/zh\">https://ng.ant.design/components/icon/zh</a>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"6\">\n iconfont \u56FE\u6807\u5E93\n </nz-form-label>\n <nz-form-control nzSpan=\"18\">\n <a target=\"_blank\" href=\"https://www.iconfont.cn/\">https://www.iconfont.cn/</a>\n </nz-form-control>\n </nz-form-item>\n </form>\n </ng-container>\n</nz-modal>\n}@else if(value()?.comonent){\n<ng-container [axisDynamic]=\"value()\" [standalone]=\"true\"></ng-container>\n}", styles: [":host{display:block;width:100%}\n"] }]
68
+ }] });
69
+
70
+ /**
71
+ * Generated bundle index. Do not edit.
72
+ */
73
+
74
+ export { InputIcon };
75
+ //# sourceMappingURL=ngx-axis-appforge-axis-components-input-icon.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-axis-appforge-axis-components-input-icon.mjs","sources":["../../../axis-components/input-icon/input-icon.options.ts","../../../axis-components/input-icon/input-icon.ts","../../../axis-components/input-icon/input-icon.html","../../../axis-components/input-icon/ngx-axis-appforge-axis-components-input-icon.ts"],"sourcesContent":["import { signal } from \"@angular/core\";\nimport { ValueAccessOptions } from \"ngx-axis-appforge/core\";\n\nexport class InputIconOptions extends ValueAccessOptions {\n readonly placeholder = signal(\"设置图标\");\n readonly modalTitle = signal(\"设置图标\");\n}","import { ChangeDetectionStrategy, Component, computed, inject, model } from '@angular/core';\nimport { NzFormModule } from 'ng-zorro-antd/form';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport { InputIconOptions } from './input-icon.options';\nimport { FormsModule, ReactiveFormsModule, UntypedFormBuilder } from '@angular/forms';\nimport { DynamicDirective, FormValidators, updateAndValidAll, ValueAccess } from 'ngx-axis-appforge/core';\nimport { NzModalModule } from 'ng-zorro-antd/modal';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport { NzRadioModule } from 'ng-zorro-antd/radio';\nimport { toSignal } from '@angular/core/rxjs-interop';\n\n@Component({\n selector: 'axis-input-icon',\n imports: [NzFormModule, NzInputModule, NzFormModule, DynamicDirective, NzModalModule, ReactiveFormsModule, NzIconModule, NzRadioModule, FormsModule],\n templateUrl: './input-icon.html',\n styleUrl: './input-icon.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputIcon extends ValueAccess<InputIconOptions> {\n override options: InputIconOptions = new InputIconOptions();\n\n private readonly fb = inject(UntypedFormBuilder);\n readonly fg = this.fb.group({\n lib: [\"antdesign\", FormValidators.required],\n theme: [\"outline\", FormValidators.required],\n icon: [undefined, FormValidators.required]\n });\n readonly formValue = toSignal(this.fg.valueChanges);\n readonly preview = computed(() => ({ component: \"axis-components/icon\", inuse: true, ...this.formValue() }))\n\n isVisible = model(false);\n\n override writeValue(value: any): void {\n super.writeValue(value);\n this.fg.reset(value ?? {\n lib: \"antdesign\",\n theme: \"outline\",\n icon: undefined,\n });\n }\n\n resetForm() {\n this.fg.reset({\n lib: \"antdesign\",\n theme: \"outline\",\n icon: undefined,\n });\n }\n\n remove() {\n this.value.set(null);\n this.onChange?.(this.value());\n this.resetForm();\n }\n\n onOk() {\n if (updateAndValidAll(this.fg)) {\n this.value.set(this.preview());\n this.onChange?.(this.value());\n this.isVisible.set(false);\n }\n }\n}\n","@if (!options.readonly()) {\n<nz-input-group (click)=\"isVisible.set(!options.disabled())\" [nzPrefix]=\"value()?.component? iconInp:undefined\"\n [nzSuffix]=\"iconSuffix\">\n <input nz-input [disabled]=\"options.disabled()\" [placeholder]=\"options.placeholder()\" readonly />\n</nz-input-group>\n<ng-template #iconInp>\n <ng-container [axisDynamic]=\"value()\" [standalone]=\"true\"></ng-container>\n</ng-template>\n<ng-template #iconSuffix>\n @if (value()) {\n <nz-icon class=\"ant-input-clear-icon\" nzTheme=\"fill\" nzType=\"close-circle\"\n (click)=\"$event.stopPropagation();remove()\" />\n }@else {\n <i nz-icon nzType=\"right\" style=\"color:rgba(0, 0, 0, 0.25)\" nzTheme=\"outline\"></i>\n }\n</ng-template>\n<nz-modal [(nzVisible)]=\"isVisible\" [nzTitle]=\"options.modalTitle()\" (nzOnOk)=\"onOk()\"\n (nzOnCancel)=\"isVisible.set(false)\">\n <ng-container *nzModalContent>\n <form [formGroup]=\"fg\">\n <nz-form-item>\n <nz-form-label nzSpan=\"6\" nzRequired>图标库</nz-form-label>\n <nz-form-control nzSpan=\"18\">\n <nz-radio-group formControlName=\"lib\">\n <label nz-radio-button nzValue=\"antdesign\">antdesign</label>\n <label nz-radio-button nzValue=\"iconfont\">iconfont</label>\n </nz-radio-group>\n </nz-form-control>\n </nz-form-item>\n @if (formValue() == undefined || formValue()?.lib == 'antdesign') {\n <nz-form-item>\n <nz-form-label nzSpan=\"6\" nzRequired>图标主题</nz-form-label>\n <nz-form-control nzSpan=\"18\">\n <nz-radio-group formControlName=\"theme\">\n <label nz-radio-button nzValue=\"outline\">outline</label>\n <label nz-radio-button nzValue=\"fill\">fill</label>\n <label nz-radio-button nzValue=\"twotone\">twotone</label>\n </nz-radio-group>\n </nz-form-control>\n </nz-form-item>\n }\n <nz-form-item>\n <nz-form-label nzSpan=\"6\" nzRequired>图标</nz-form-label>\n <nz-form-control nzSpan=\"18\">\n <nz-input-group style=\"max-width: 200px;\" [nzSuffix]=\"iconPreview\">\n <input autofocus placeholder=\"输入图标类型,如 edit\" nz-input formControlName=\"icon\" />\n </nz-input-group>\n <ng-template #iconPreview>\n <ng-container [axisDynamic]=\"preview()\" [standalone]=\"true\"></ng-container>\n </ng-template>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"6\">\n antdesign 图标库\n </nz-form-label>\n <nz-form-control nzSpan=\"18\">\n <a target=\"_blank\"\n href=\"https://ng.ant.design/components/icon/zh\">https://ng.ant.design/components/icon/zh</a>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"6\">\n iconfont 图标库\n </nz-form-label>\n <nz-form-control nzSpan=\"18\">\n <a target=\"_blank\" href=\"https://www.iconfont.cn/\">https://www.iconfont.cn/</a>\n </nz-form-control>\n </nz-form-item>\n </form>\n </ng-container>\n</nz-modal>\n}@else if(value()?.comonent){\n<ng-container [axisDynamic]=\"value()\" [standalone]=\"true\"></ng-container>\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './input-icon';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAGM,MAAO,gBAAiB,SAAQ,kBAAkB,CAAA;AAC3C,IAAA,WAAW,GAAG,MAAM,CAAC,MAAM,uDAAC;AAC5B,IAAA,UAAU,GAAG,MAAM,CAAC,MAAM,sDAAC;AACvC;;ACYK,MAAO,SAAU,SAAQ,WAA6B,CAAA;AACjD,IAAA,OAAO,GAAqB,IAAI,gBAAgB,EAAE;AAE1C,IAAA,EAAE,GAAG,MAAM,CAAC,kBAAkB,CAAC;AACvC,IAAA,EAAE,GAAG,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC;AAC1B,QAAA,GAAG,EAAE,CAAC,WAAW,EAAE,cAAc,CAAC,QAAQ,CAAC;AAC3C,QAAA,KAAK,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,QAAQ,CAAC;AAC3C,QAAA,IAAI,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,QAAQ;AAC1C,KAAA,CAAC;IACO,SAAS,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,YAAY,CAAC;IAC1C,OAAO,GAAG,QAAQ,CAAC,OAAO,EAAE,SAAS,EAAE,sBAAsB,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC,SAAS,EAAE,EAAE,CAAC,EAAA,IAAA,SAAA,GAAA,CAAA,EAAA,SAAA,EAAA,SAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAC;AAE5G,IAAA,SAAS,GAAG,KAAK,CAAC,KAAK,qDAAC;AAEf,IAAA,UAAU,CAAC,KAAU,EAAA;AAC5B,QAAA,KAAK,CAAC,UAAU,CAAC,KAAK,CAAC;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