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,104 @@
1
+ import { FunFieldValueBase, FormValidators, valueFbConfig, baseFbConfig, valueFunField, baseFunField, BaseDesignSetting, ValueDesignSetting, FunField, DynamicDirective, InputTrigger, OptionsNode, SimpleMenu } from 'ngx-axis-appforge/core';
2
+ import * as i0 from '@angular/core';
3
+ import { computed, ViewChild, ChangeDetectionStrategy, Component } from '@angular/core';
4
+ import * as i1 from '@angular/forms';
5
+ import { FormsModule, ReactiveFormsModule } from '@angular/forms';
6
+ import * as i5 from 'ng-zorro-antd/auto-complete';
7
+ import { NzAutocompleteModule } from 'ng-zorro-antd/auto-complete';
8
+ import * as i2 from 'ng-zorro-antd/collapse';
9
+ import { NzCollapseModule } from 'ng-zorro-antd/collapse';
10
+ import * as i4 from 'ng-zorro-antd/form';
11
+ import { NzFormModule } from 'ng-zorro-antd/form';
12
+ import * as i6 from 'ng-zorro-antd/input';
13
+ import { NzInputModule } from 'ng-zorro-antd/input';
14
+ import * as i8 from 'ng-zorro-antd/radio';
15
+ import { NzRadioModule } from 'ng-zorro-antd/radio';
16
+ import * as i7 from 'ng-zorro-antd/switch';
17
+ import { NzSwitchModule } from 'ng-zorro-antd/switch';
18
+ import * as i3 from 'ng-zorro-antd/grid';
19
+
20
+ class Setting extends FunFieldValueBase {
21
+ fg = this.fb.group({
22
+ ...baseFbConfig,
23
+ ...valueFbConfig,
24
+ labelField: ["title", FormValidators.required],
25
+ valueField: ["key", FormValidators.required],
26
+ disabledField: ["disabled", FormValidators.required],
27
+ fullValue: [false, FormValidators.required],
28
+ defaultFirst: [false, FormValidators.required],
29
+ data: [],
30
+ buttonMode: [undefined, FormValidators.requiredFun],
31
+ buttonStyle: [undefined, FormValidators.requiredFun],
32
+ size: [undefined, FormValidators.requiredFun],
33
+ direction: [undefined, FormValidators.requiredFun],
34
+ });
35
+ funFields = {
36
+ ...baseFunField,
37
+ ...valueFunField,
38
+ data: {
39
+ defaultValue: undefined
40
+ },
41
+ buttonMode: {
42
+ defaultValue: false
43
+ },
44
+ buttonStyle: {
45
+ defaultValue: "outline"
46
+ },
47
+ size: {
48
+ defaultValue: "default"
49
+ },
50
+ direction: {
51
+ defaultValue: "horizontal"
52
+ },
53
+ };
54
+ dataFunField;
55
+ fields = computed(() => {
56
+ if (this.dataFunField.computeResult()?.length) {
57
+ return Object.keys(this.dataFunField.computeResult()[0]);
58
+ }
59
+ return [];
60
+ }, ...(ngDevMode ? [{ debugName: "fields" }] : []));
61
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: Setting, deps: null, target: i0.ɵɵFactoryTarget.Component });
62
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.4", type: Setting, isStandalone: true, selector: "axis-design-single-selector-setting", viewQueries: [{ propertyName: "dataFunField", first: true, predicate: ["data"], descendants: true, static: true }], 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 \u503C\u5B57\u6BB5\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <input nz-input formControlName=\"valueField\" [nzAutocomplete]=\"fieldAuto\" />\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u540D\u79F0\u5B57\u6BB5\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <input nz-input formControlName=\"labelField\" [nzAutocomplete]=\"fieldAuto\" />\n </nz-form-control>\n </nz-form-item>\n <nz-autocomplete #fieldAuto nzBackfill>\n @for (f of fields(); track f) {\n <nz-auto-option [nzLabel]=\"f\" [nzValue]=\"f\">\n {{f}}\n </nz-auto-option>\n }\n </nz-autocomplete>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5B8C\u6574\u5BF9\u8C61\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <nz-switch formControlName=\"fullValue\"></nz-switch>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u9ED8\u8BA4\u7B2C\u4E00\u9879\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <nz-switch formControlName=\"defaultFirst\"></nz-switch>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u9009\u9879\u6570\u636E\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field #data formControlName=\"data\">\n <ng-container [axisDynamic]=\"{component:'axis-components/input-json',inuse:true}\"\n [standalone]=\"true\" ngModel [ngModelOptions]=\"{standalone:true}\"></ng-container>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <nz-collapse-panel nzHeader=\"\u5916\u89C2\u8BBE\u7F6E\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u6309\u94AE\u6A21\u5F0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"buttonMode\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue()?.buttonMode.funMode || formValue()?.buttonMode.originValue) {\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u6309\u94AE\u6837\u5F0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"buttonStyle\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\" nzSize=\"small\">\n <label nz-radio-button nzValue=\"outline\">\u8FB9\u6846</label>\n <label nz-radio-button nzValue=\"solid\">\u586B\u5145</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5927\u5C0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"size\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\" nzSize=\"small\">\n <label nz-radio-button nzValue=\"large\">\u5927</label>\n <label nz-radio-button nzValue=\"default\">\u4E2D</label>\n <label nz-radio-button nzValue=\"small\">\u5C0F</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }@else {\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u65B9\u5411\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"direction\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\" nzSize=\"small\">\n <label nz-radio-button nzValue=\"horizontal\">\u6C34\u5E73</label>\n <label nz-radio-button nzValue=\"vertical\">\u5782\u76F4</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\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: 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: NzFormModule }, { kind: "directive", type: i3.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i3.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "directive", type: i4.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzForm"] }, { kind: "component", type: i4.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i4.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i4.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "component", type: BaseDesignSetting, selector: "axis-base-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { kind: "component", type: ValueDesignSetting, selector: "axis-value-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { kind: "ngmodule", type: NzAutocompleteModule }, { kind: "component", type: i5.NzAutocompleteComponent, selector: "nz-autocomplete", inputs: ["nzWidth", "nzOverlayClassName", "nzOverlayStyle", "nzDefaultActiveFirstOption", "nzBackfill", "compareWith", "nzDataSource"], outputs: ["selectionChange"], exportAs: ["nzAutocomplete"] }, { kind: "component", type: i5.NzAutocompleteOptionComponent, selector: "nz-auto-option", inputs: ["nzValue", "nzLabel", "nzDisabled"], outputs: ["selectionChange", "mouseEntered"], exportAs: ["nzAutoOption"] }, { kind: "directive", type: i5.NzAutocompleteTriggerDirective, selector: "input[nzAutocomplete], textarea[nzAutocomplete]", inputs: ["nzAutocomplete"], exportAs: ["nzAutocompleteTrigger"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i6.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzVariant", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { 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: "directive", type: DynamicDirective, selector: "[axisDynamic]", inputs: ["axisDynamic", "standalone", "isDesign"], outputs: ["onRegisteValueAccess"], exportAs: ["axisDynamic"] }, { 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: 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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
63
+ }
64
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: Setting, decorators: [{
65
+ type: Component,
66
+ args: [{ selector: 'axis-design-single-selector-setting', imports: [FormsModule, NzCollapseModule, ReactiveFormsModule, NzFormModule, BaseDesignSetting, ValueDesignSetting, NzAutocompleteModule, NzInputModule, FunField, DynamicDirective, NzSwitchModule, InputTrigger, NzRadioModule], 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 \u503C\u5B57\u6BB5\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <input nz-input formControlName=\"valueField\" [nzAutocomplete]=\"fieldAuto\" />\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u540D\u79F0\u5B57\u6BB5\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <input nz-input formControlName=\"labelField\" [nzAutocomplete]=\"fieldAuto\" />\n </nz-form-control>\n </nz-form-item>\n <nz-autocomplete #fieldAuto nzBackfill>\n @for (f of fields(); track f) {\n <nz-auto-option [nzLabel]=\"f\" [nzValue]=\"f\">\n {{f}}\n </nz-auto-option>\n }\n </nz-autocomplete>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5B8C\u6574\u5BF9\u8C61\u503C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <nz-switch formControlName=\"fullValue\"></nz-switch>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u9ED8\u8BA4\u7B2C\u4E00\u9879\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <nz-switch formControlName=\"defaultFirst\"></nz-switch>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u9009\u9879\u6570\u636E\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field #data formControlName=\"data\">\n <ng-container [axisDynamic]=\"{component:'axis-components/input-json',inuse:true}\"\n [standalone]=\"true\" ngModel [ngModelOptions]=\"{standalone:true}\"></ng-container>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <nz-collapse-panel nzHeader=\"\u5916\u89C2\u8BBE\u7F6E\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u6309\u94AE\u6A21\u5F0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"buttonMode\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue()?.buttonMode.funMode || formValue()?.buttonMode.originValue) {\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u6309\u94AE\u6837\u5F0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"buttonStyle\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\" nzSize=\"small\">\n <label nz-radio-button nzValue=\"outline\">\u8FB9\u6846</label>\n <label nz-radio-button nzValue=\"solid\">\u586B\u5145</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5927\u5C0F\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"size\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\" nzSize=\"small\">\n <label nz-radio-button nzValue=\"large\">\u5927</label>\n <label nz-radio-button nzValue=\"default\">\u4E2D</label>\n <label nz-radio-button nzValue=\"small\">\u5C0F</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }@else {\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u65B9\u5411\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"direction\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\" nzSize=\"small\">\n <label nz-radio-button nzValue=\"horizontal\">\u6C34\u5E73</label>\n <label nz-radio-button nzValue=\"vertical\">\u5782\u76F4</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\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>" }]
67
+ }], propDecorators: { dataFunField: [{
68
+ type: ViewChild,
69
+ args: ["data", { static: true }]
70
+ }] } });
71
+
72
+ const Config = {
73
+ componentName: "单选框",
74
+ buildOptionsNodes(nextInfo) {
75
+ return {
76
+ treeNode: new OptionsNode({
77
+ parentId: nextInfo.parentId,
78
+ scopeId: nextInfo.scopeId,
79
+ name: "单选框",
80
+ canSetting: true,
81
+ canDrag: true,
82
+ dragType: "component",
83
+ parentObj: nextInfo.parentObject,
84
+ indexOfParentObj: nextInfo.indexOfParent,
85
+ rootOptions: nextInfo.currentObject,
86
+ settingType: Setting,
87
+ contextMenu: SimpleMenu,
88
+ icon: "select",
89
+ }),
90
+ };
91
+ },
92
+ bindElementsOptionsNode(element, options) {
93
+ return {
94
+ [options.id]: { element },
95
+ };
96
+ },
97
+ };
98
+
99
+ /**
100
+ * Generated bundle index. Do not edit.
101
+ */
102
+
103
+ export { Config };
104
+ //# sourceMappingURL=ngx-axis-appforge-axis-components-radio-design.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-axis-appforge-axis-components-radio-design.mjs","sources":["../../../axis-components/radio/design/setting/setting.ts","../../../axis-components/radio/design/setting/setting.html","../../../axis-components/radio/design/config.ts","../../../axis-components/radio/design/ngx-axis-appforge-axis-components-radio-design.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, ViewChild } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule, UntypedFormGroup } from '@angular/forms';\nimport { NzAutocompleteModule } from 'ng-zorro-antd/auto-complete';\nimport { NzCollapseModule } from 'ng-zorro-antd/collapse';\nimport { NzFormModule } from 'ng-zorro-antd/form';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport { NzRadioModule } from 'ng-zorro-antd/radio';\nimport { NzSwitchModule } from 'ng-zorro-antd/switch';\nimport { BaseDesignSetting, baseFbConfig, baseFunField, DynamicDirective, FormValidators, FunField, FunFieldOptions, FunFieldValueBase, InputTrigger, ValueDesignSetting, valueFbConfig, valueFunField } from 'ngx-axis-appforge/core';\n\n@Component({\n selector: 'axis-design-single-selector-setting',\n imports: [FormsModule, NzCollapseModule, ReactiveFormsModule, NzFormModule, BaseDesignSetting, ValueDesignSetting, NzAutocompleteModule, NzInputModule, FunField, DynamicDirective, NzSwitchModule, InputTrigger, NzRadioModule],\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 labelField: [\"title\", FormValidators.required],\n valueField: [\"key\", FormValidators.required],\n disabledField: [\"disabled\", FormValidators.required],\n fullValue: [false, FormValidators.required],\n defaultFirst: [false, FormValidators.required],\n data: [],\n buttonMode: [undefined, FormValidators.requiredFun],\n buttonStyle: [undefined, FormValidators.requiredFun],\n size: [undefined, FormValidators.requiredFun],\n direction: [undefined, FormValidators.requiredFun],\n });\n\n protected override funFields: FunFieldOptions = {\n ...baseFunField,\n ...valueFunField,\n data: {\n defaultValue: undefined\n },\n buttonMode: {\n defaultValue: false\n },\n buttonStyle: {\n defaultValue: \"outline\"\n },\n size: {\n defaultValue: \"default\"\n },\n direction: {\n defaultValue: \"horizontal\"\n },\n };\n\n @ViewChild(\"data\", { static: true })\n dataFunField!: FunField;\n\n fields = computed(() => {\n if (this.dataFunField.computeResult()?.length) {\n return Object.keys(this.dataFunField.computeResult()[0]);\n }\n return [];\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 <input nz-input formControlName=\"valueField\" [nzAutocomplete]=\"fieldAuto\" />\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 <input nz-input formControlName=\"labelField\" [nzAutocomplete]=\"fieldAuto\" />\n </nz-form-control>\n </nz-form-item>\n <nz-autocomplete #fieldAuto nzBackfill>\n @for (f of fields(); track f) {\n <nz-auto-option [nzLabel]=\"f\" [nzValue]=\"f\">\n {{f}}\n </nz-auto-option>\n }\n </nz-autocomplete>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 完整对象值\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <nz-switch formControlName=\"fullValue\"></nz-switch>\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-switch formControlName=\"defaultFirst\"></nz-switch>\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 #data formControlName=\"data\">\n <ng-container [axisDynamic]=\"{component:'axis-components/input-json',inuse:true}\"\n [standalone]=\"true\" ngModel [ngModelOptions]=\"{standalone:true}\"></ng-container>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <nz-collapse-panel nzHeader=\"外观设置\">\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 按钮模式\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"buttonMode\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n @if (formValue()?.buttonMode.funMode || formValue()?.buttonMode.originValue) {\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=\"buttonStyle\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\" nzSize=\"small\">\n <label nz-radio-button nzValue=\"outline\">边框</label>\n <label nz-radio-button nzValue=\"solid\">填充</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 大小\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"size\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\" nzSize=\"small\">\n <label nz-radio-button nzValue=\"large\">大</label>\n <label nz-radio-button nzValue=\"default\">中</label>\n <label nz-radio-button nzValue=\"small\">小</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }@else {\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=\"direction\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\" nzSize=\"small\">\n <label nz-radio-button nzValue=\"horizontal\">水平</label>\n <label nz-radio-button nzValue=\"vertical\">垂直</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n }\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: \"select\",\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":";;;;;;;;;;;;;;;;;;;AAiBM,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,UAAU,EAAE,CAAC,OAAO,EAAE,cAAc,CAAC,QAAQ,CAAC;AAC9C,QAAA,UAAU,EAAE,CAAC,KAAK,EAAE,cAAc,CAAC,QAAQ,CAAC;AAC5C,QAAA,aAAa,EAAE,CAAC,UAAU,EAAE,cAAc,CAAC,QAAQ,CAAC;AACpD,QAAA,SAAS,EAAE,CAAC,KAAK,EAAE,cAAc,CAAC,QAAQ,CAAC;AAC3C,QAAA,YAAY,EAAE,CAAC,KAAK,EAAE,cAAc,CAAC,QAAQ,CAAC;AAC9C,QAAA,IAAI,EAAE,EAAE;AACR,QAAA,UAAU,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AACnD,QAAA,WAAW,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AACpD,QAAA,IAAI,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AAC7C,QAAA,SAAS,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AACnD,KAAA,CAAC;AAEiB,IAAA,SAAS,GAAoB;AAC9C,QAAA,GAAG,YAAY;AACf,QAAA,GAAG,a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iB,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,aAAa,EAAE,QAAQ,EAAE,gBAAgB,EAAE,cAAc,EAAE,YAAY,EAAE,aAAa,CAAC,EAAA,eAAA,EAG/M,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,+oLAAA,EAAA;8BAwC/C,YAAY,EAAA,CAAA;sBADX,SAAS;AAAC,gBAAA,IAAA,EAAA,CAAA,MAAM,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE;;;AEnD9B,MAAM,MAAM,GAAiB;AAEhC,IAAA,aAAa,EAAE,KAAK;AACpB,IAAA,iBAAiB,CAAC,QAAkB,EAAA;QAChC,OAAO;YACH,QAAQ,EAAE,IAAI,WAAW,CAAC;gBACtB,QAAQ,EAAE,QAAQ,CAAC,QAAQ;gBAC3B,OAAO,EAAE,QAAQ,CAAC,OAAO;AACzB,gBAAA,IAAI,EAAE,KAAK;AACX,gBAAA,UAAU,EAAE,IAAI;AAChB,gBAAA,OAAO,EAAE,IAAI;AACb,gBAAA,QAAQ,EAAE,WAAW;gBACrB,SAAS,EAAE,QAAQ,CAAC,YAAY;gBAChC,gBAAgB,EAAE,QAAQ,CAAC,aAAa;gBACxC,WAAW,EAAE,QAAQ,CAAC,aAAa;AACnC,gBAAA,WAAW,EAAE,OAAO;AACpB,gBAAA,WAAW,EAAE,UAAU;AACvB,gBAAA,IAAI,EAAE,QAAQ;aACjB,CAAC;SACL;IACL,CAAC;IACD,uBAAuB,CAAC,OAAoB,EAAE,OAAY,EAAA;QACtD,OAAO;AACH,YAAA,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,OAAO,EAAE;SAC5B;IACL,CAAC;;;AC5BL;;AAEG;;;;"}
@@ -0,0 +1,100 @@
1
+ import * as i0 from '@angular/core';
2
+ import { signal, effect, untracked, computed, model, ChangeDetectionStrategy, Component } from '@angular/core';
3
+ import { ValueAccessOptions, ValueAccess } from 'ngx-axis-appforge/core';
4
+ import * as i1 from 'ng-zorro-antd/radio';
5
+ import { NzRadioModule } from 'ng-zorro-antd/radio';
6
+ import * as i2 from '@angular/forms';
7
+ import { FormsModule } from '@angular/forms';
8
+
9
+ class RadioOptions extends ValueAccessOptions {
10
+ labelField = signal("title", ...(ngDevMode ? [{ debugName: "labelField" }] : []));
11
+ valueField = signal("key", ...(ngDevMode ? [{ debugName: "valueField" }] : []));
12
+ disabledField = signal("disabled", ...(ngDevMode ? [{ debugName: "disabledField" }] : []));
13
+ fullValue = signal(false, ...(ngDevMode ? [{ debugName: "fullValue" }] : []));
14
+ defaultFirst = signal(false, ...(ngDevMode ? [{ debugName: "defaultFirst" }] : []));
15
+ data = signal(undefined, ...(ngDevMode ? [{ debugName: "data" }] : []));
16
+ buttonMode = signal(false, ...(ngDevMode ? [{ debugName: "buttonMode" }] : []));
17
+ buttonStyle = signal("outline", ...(ngDevMode ? [{ debugName: "buttonStyle" }] : []));
18
+ size = signal('default', ...(ngDevMode ? [{ debugName: "size" }] : []));
19
+ direction = signal("horizontal", ...(ngDevMode ? [{ debugName: "direction" }] : []));
20
+ }
21
+
22
+ class Radio extends ValueAccess {
23
+ constructor() {
24
+ super();
25
+ effect(() => {
26
+ const data = this.options.data();
27
+ if (Array.isArray(data) && data.length) {
28
+ untracked(() => {
29
+ if (this.radioValue() != null && data.every(r => r[this.options.valueField()] != this.radioValue()) && !this.options.defaultFirst()) {
30
+ this.setInitValue(null);
31
+ }
32
+ else if (this.options.defaultFirst()) {
33
+ if (this.options.fullValue()) {
34
+ this.setInitValue(data[0]);
35
+ }
36
+ else {
37
+ this.setInitValue(data[0][this.options.valueField()]);
38
+ }
39
+ }
40
+ });
41
+ }
42
+ else {
43
+ this.setInitValue(null);
44
+ }
45
+ });
46
+ }
47
+ options = new RadioOptions();
48
+ displayValue = computed(() => this.buildDisplay(), ...(ngDevMode ? [{ debugName: "displayValue" }] : []));
49
+ radioValue = model(...(ngDevMode ? [undefined, { debugName: "radioValue" }] : []));
50
+ writeValue(value) {
51
+ super.writeValue(value);
52
+ this.valueToRadioValue();
53
+ }
54
+ setInitValue(value) {
55
+ super.setInitValue(value);
56
+ this.valueToRadioValue();
57
+ }
58
+ valueToRadioValue() {
59
+ if (this.value() != undefined) {
60
+ if (this.options.fullValue()) {
61
+ this.radioValue.set(this.value()[this.options.valueField()]);
62
+ }
63
+ else {
64
+ this.radioValue.set(this.value());
65
+ }
66
+ return;
67
+ }
68
+ this.radioValue.set(this.value());
69
+ }
70
+ onRadioChange(value) {
71
+ if (this.options.fullValue()) {
72
+ this.value.set(this.options.data().find((item) => item[this.options.valueField()] == value));
73
+ }
74
+ else {
75
+ this.value.set(value);
76
+ }
77
+ this.onChange?.(this.value());
78
+ }
79
+ buildDisplay() {
80
+ if (this.options.fullValue()) {
81
+ return this.value()[this.options.labelField()];
82
+ }
83
+ else {
84
+ return this.options.data().find((r) => this.value() == r[this.options.valueField()])?.[this.options.labelField()];
85
+ }
86
+ }
87
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: Radio, deps: [], target: i0.ɵɵFactoryTarget.Component });
88
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.4", type: Radio, isStandalone: true, selector: "axis-radio", inputs: { radioValue: { classPropertyName: "radioValue", publicName: "radioValue", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { radioValue: "radioValueChange" }, usesInheritance: true, ngImport: i0, template: "@if (options.readonly()) {\n{{displayValue()}}\n}@else {\n<nz-radio-group [(ngModel)]=\"radioValue\" (ngModelChange)=\"onRadioChange($event)\" [nzSize]=\"options.size()\"\n [nzDisabled]=\"options.disabled()\" [class]=\"options.direction()\" [nzButtonStyle]=\"options.buttonStyle()\">\n @for (item of options.data(); track item[options.valueField()]) {\n @if (options.buttonMode()) {\n <label nz-radio-button [nzValue]=\"item[options.valueField()]\"\n [nzDisabled]=\"item[options.disabledField()]\">{{item[options.labelField()]}}</label>\n }@else {\n <label nz-radio [nzValue]=\"item[options.valueField()]\"\n [nzDisabled]=\"item[options.disabledField()]\">{{item[options.labelField()]}}</label>\n }\n }\n</nz-radio-group>\n}", styles: [":host{display:block}.vertical [nz-radio]{display:block}\n"], dependencies: [{ kind: "ngmodule", type: NzRadioModule }, { kind: "component", type: i1.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus", "nz-radio-button"], exportAs: ["nzRadio"] }, { kind: "component", type: i1.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
89
+ }
90
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: Radio, decorators: [{
91
+ type: Component,
92
+ args: [{ selector: 'axis-radio', imports: [NzRadioModule, FormsModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (options.readonly()) {\n{{displayValue()}}\n}@else {\n<nz-radio-group [(ngModel)]=\"radioValue\" (ngModelChange)=\"onRadioChange($event)\" [nzSize]=\"options.size()\"\n [nzDisabled]=\"options.disabled()\" [class]=\"options.direction()\" [nzButtonStyle]=\"options.buttonStyle()\">\n @for (item of options.data(); track item[options.valueField()]) {\n @if (options.buttonMode()) {\n <label nz-radio-button [nzValue]=\"item[options.valueField()]\"\n [nzDisabled]=\"item[options.disabledField()]\">{{item[options.labelField()]}}</label>\n }@else {\n <label nz-radio [nzValue]=\"item[options.valueField()]\"\n [nzDisabled]=\"item[options.disabledField()]\">{{item[options.labelField()]}}</label>\n }\n }\n</nz-radio-group>\n}", styles: [":host{display:block}.vertical [nz-radio]{display:block}\n"] }]
93
+ }], ctorParameters: () => [] });
94
+
95
+ /**
96
+ * Generated bundle index. Do not edit.
97
+ */
98
+
99
+ export { Radio };
100
+ //# sourceMappingURL=ngx-axis-appforge-axis-components-radio.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-axis-appforge-axis-components-radio.mjs","sources":["../../../axis-components/radio/radio.options.ts","../../../axis-components/radio/radio.ts","../../../axis-components/radio/radio.html","../../../axis-components/radio/ngx-axis-appforge-axis-components-radio.ts"],"sourcesContent":["import { signal } from \"@angular/core\";\nimport { ValueAccessOptions } from \"ngx-axis-appforge/core\";\n\nexport class RadioOptions extends ValueAccessOptions {\n\n readonly labelField = signal(\"title\");\n readonly valueField = signal(\"key\");\n readonly disabledField = signal(\"disabled\");\n readonly fullValue = signal(false);\n readonly defaultFirst = signal(false);\n readonly data = signal<any>(undefined);\n\n readonly buttonMode = signal(false);\n readonly buttonStyle = signal<'outline' | 'solid'>(\"outline\");\n readonly size = signal<'large' | 'small' | 'default'>('default');\n readonly direction = signal<\"horizontal\" | \"vertical\">(\"horizontal\");\n\n}","import { ChangeDetectionStrategy, Component, computed, effect, model, untracked } from '@angular/core';\nimport { ValueAccess } from 'ngx-axis-appforge/core';\nimport { NzRadioModule } from 'ng-zorro-antd/radio';\nimport { FormsModule } from '@angular/forms';\nimport { RadioOptions } from './radio.options';\n\n@Component({\n selector: 'axis-radio',\n imports: [NzRadioModule, FormsModule],\n templateUrl: './radio.html',\n styleUrl: './radio.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Radio extends ValueAccess<RadioOptions> {\n\n constructor() {\n super();\n effect(() => {\n const data = this.options.data();\n if (Array.isArray(data) && data.length) {\n untracked(() => {\n if (this.radioValue() != null && data.every(r => r[this.options.valueField()] != this.radioValue()) && !this.options.defaultFirst()) {\n this.setInitValue(null);\n } else if (this.options.defaultFirst()) {\n if (this.options.fullValue()) {\n this.setInitValue(data[0]);\n } else {\n this.setInitValue(data[0][this.options.valueField()]);\n }\n }\n })\n } else {\n this.setInitValue(null);\n }\n });\n }\n\n override options: RadioOptions = new RadioOptions();\n\n readonly displayValue = computed(() => this.buildDisplay());\n readonly radioValue = model<any[]>();\n\n override writeValue(value: any): void {\n super.writeValue(value);\n this.valueToRadioValue();\n }\n\n override setInitValue(value: any): void {\n super.setInitValue(value);\n this.valueToRadioValue();\n }\n\n private valueToRadioValue() {\n if (this.value() != undefined) {\n if (this.options.fullValue()) {\n this.radioValue.set(this.value()[this.options.valueField()]);\n } else {\n this.radioValue.set(this.value());\n }\n return;\n }\n this.radioValue.set(this.value());\n }\n\n onRadioChange(value: any) {\n if (this.options.fullValue()) {\n this.value.set(this.options.data().find((item: any) => item[this.options.valueField()] == value));\n } else {\n this.value.set(value);\n }\n this.onChange?.(this.value());\n }\n\n private buildDisplay(): string {\n if (this.options.fullValue()) {\n return this.value()[this.options.labelField()];\n } else {\n return this.options.data().find((r: any) => this.value() == r[this.options.valueField()])?.[this.options.labelField()];\n }\n }\n}\n","@if (options.readonly()) {\n{{displayValue()}}\n}@else {\n<nz-radio-group [(ngModel)]=\"radioValue\" (ngModelChange)=\"onRadioChange($event)\" [nzSize]=\"options.size()\"\n [nzDisabled]=\"options.disabled()\" [class]=\"options.direction()\" [nzButtonStyle]=\"options.buttonStyle()\">\n @for (item of options.data(); track item[options.valueField()]) {\n @if (options.buttonMode()) {\n <label nz-radio-button [nzValue]=\"item[options.valueField()]\"\n [nzDisabled]=\"item[options.disabledField()]\">{{item[options.labelField()]}}</label>\n }@else {\n <label nz-radio [nzValue]=\"item[options.valueField()]\"\n [nzDisabled]=\"item[options.disabledField()]\">{{item[options.labelField()]}}</label>\n }\n }\n</nz-radio-group>\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './radio';\n"],"names":[],"mappings":";;;;;;;;AAGM,MAAO,YAAa,SAAQ,kBAAkB,CAAA;AAEvC,IAAA,UAAU,GAAG,MAAM,CAAC,OAAO,sDAAC;A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,EAAA,UAAA,EAAA,YAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,OAAA,EAAA,EAAA,UAAA,EAAA,kBAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECblB,4vBAeC,EAAA,MAAA,EAAA,CAAA,2DAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDPW,aAAa,kYAAE,WAAW,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,2CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,qDAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,UAAA,EAAA,SAAA,EAAA,gBAAA,CAAA,EAAA,OAAA,EAAA,CAAA,eAAA,CAAA,EAAA,QAAA,EAAA,CAAA,SAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FAKzB,KAAK,EAAA,UAAA,EAAA,CAAA;kBAPjB,SAAS;+BACE,YAAY,EAAA,OAAA,EACb,CAAC,aAAa,EAAE,WAAW,CAAC,EAAA,eAAA,EAGpB,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,4vBAAA,EAAA,MAAA,EAAA,CAAA,2DAAA,CAAA,EAAA;;;AEXjD;;AAEG;;;;"}
@@ -0,0 +1,80 @@
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 i5 from 'ng-zorro-antd/form';
9
+ import { NzFormModule } from 'ng-zorro-antd/form';
10
+ import { NzInputModule } from 'ng-zorro-antd/input';
11
+ import * as i3 from 'ng-zorro-antd/input-number';
12
+ import { NzInputNumberModule } from 'ng-zorro-antd/input-number';
13
+ import { NzRadioModule } from 'ng-zorro-antd/radio';
14
+ import { NzSelectModule } from 'ng-zorro-antd/select';
15
+ import * as i6 from 'ng-zorro-antd/switch';
16
+ import { NzSwitchModule } from 'ng-zorro-antd/switch';
17
+ import * as i4 from 'ng-zorro-antd/grid';
18
+
19
+ class Setting extends FunFieldValueBase {
20
+ fg = this.fb.group({
21
+ ...baseFbConfig,
22
+ ...valueFbConfig,
23
+ allowClear: [undefined, FormValidators.requiredFun],
24
+ allowHalf: [undefined, FormValidators.requiredFun],
25
+ count: [undefined, FormValidators.requiredFun],
26
+ });
27
+ funFields = {
28
+ ...baseFunField,
29
+ ...valueFunField,
30
+ allowClear: {
31
+ defaultValue: true
32
+ },
33
+ allowHalf: {
34
+ defaultValue: true
35
+ },
36
+ count: {
37
+ defaultValue: 5
38
+ },
39
+ };
40
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: Setting, deps: null, target: i0.ɵɵFactoryTarget.Component });
41
+ 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=\"\u57FA\u672C\u8BBE\u7F6E\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5141\u8BB8\u6E05\u7A7A\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"allowClear\">\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 \u5141\u8BB8\u534A\u9009\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"allowHalf\">\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 \u6570\u91CF\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"count\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"2\">\n </nz-input-number>\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.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: "ngmodule", type: NzFormModule }, { kind: "directive", type: i4.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: i4.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "directive", type: i5.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzForm"] }, { kind: "component", type: i5.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i5.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i5.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: i6.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: ValueDesignSetting, selector: "axis-value-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { kind: "ngmodule", type: NzSelectModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
42
+ }
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: Setting, decorators: [{
44
+ type: Component,
45
+ 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=\"\u57FA\u672C\u8BBE\u7F6E\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5141\u8BB8\u6E05\u7A7A\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"allowClear\">\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 \u5141\u8BB8\u534A\u9009\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"allowHalf\">\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 \u6570\u91CF\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"count\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"2\">\n </nz-input-number>\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>" }]
46
+ }] });
47
+
48
+ const Config = {
49
+ componentName: "评分",
50
+ buildOptionsNodes(nextInfo) {
51
+ return {
52
+ treeNode: new OptionsNode({
53
+ parentId: nextInfo.parentId,
54
+ scopeId: nextInfo.scopeId,
55
+ name: "评分",
56
+ canSetting: true,
57
+ canDrag: true,
58
+ dragType: "component",
59
+ parentObj: nextInfo.parentObject,
60
+ indexOfParentObj: nextInfo.indexOfParent,
61
+ rootOptions: nextInfo.currentObject,
62
+ settingType: Setting,
63
+ contextMenu: SimpleMenu,
64
+ icon: "star",
65
+ }),
66
+ };
67
+ },
68
+ bindElementsOptionsNode(element, options) {
69
+ return {
70
+ [options.id]: { element }
71
+ };
72
+ },
73
+ };
74
+
75
+ /**
76
+ * Generated bundle index. Do not edit.
77
+ */
78
+
79
+ export { Config };
80
+ //# sourceMappingURL=ngx-axis-appforge-axis-components-rate-design.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-axis-appforge-axis-components-rate-design.mjs","sources":["../../../axis-components/rate/design/setting/setting.ts","../../../axis-components/rate/design/setting/setting.html","../../../axis-components/rate/design/config.ts","../../../axis-components/rate/design/ngx-axis-appforge-axis-components-rate-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 allowClear: [undefined, FormValidators.requiredFun],\n allowHalf: [undefined, FormValidators.requiredFun],\n count: [undefined, FormValidators.requiredFun],\n });\n\n protected override funFields: FunFieldOptions = {\n ...baseFunField,\n ...valueFunField,\n allowClear: {\n defaultValue: true\n },\n allowHalf: {\n defaultValue: true\n },\n count: {\n defaultValue: 5\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=\"allowClear\">\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 <axis-fun-field formControlName=\"allowHalf\">\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 <axis-fun-field formControlName=\"count\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"2\">\n </nz-input-number>\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: \"star\",\n }),\n };\n },\n bindElementsOptionsNode(element: HTMLElement, options: any): DesignBindElementsResult {\n return {\n [options.id]: { element }\n }\n },\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './config';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAkBM,MAAO,OAAQ,SAAQ,iBAAiB,CAAA;AAEnC,IAAA,EAAE,GAAqB,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC;AAC5C,QAAA,GAAG,YAAY;AACf,QAAA,GAAG,aAAa;AAChB,QAAA,UAAU,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AACnD,QAAA,SAAS,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AAClD,QAAA,KAAK,EAAE,CAAC,SAAS,EAAE,cAAc,CAAC,WAAW,CAAC;AAC/C,KAAA,CAAC;AAEiB,IAAA,SAAS,GAAoB;AAC9C,QAAA,GAAG,YAAY;AACf,QAAA,GAAG,aAAa;AAChB,QAAA,UAAU,EAAE;AACV,YAAA,YAAY,EAAE;AACf,SAAA;AACD,QAAA,SAAS,EAAE;AACT,YAAA,YAAY,EAAE;AACf,SAAA;AACD,QAAA,KAAK,EAAE;AACL,YAAA,YAAY,EAAE;AACf,SAAA;KACF;uGAtBU,OAAO,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AACvB,gBAAA,IAAI,EAAE,MAAM;aACf,CAAC;SACL;IACL,CAAC;IACD,uBAAuB,CAAC,OAAoB,EAAE,OAAY,EAAA;QACtD,OAAO;AACH,YAAA,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,OAAO;SAC1B;IACL,CAAC;;;AC5BL;;AAEG;;;;"}
@@ -0,0 +1,30 @@
1
+ import * as i0 from '@angular/core';
2
+ import { signal, ChangeDetectionStrategy, Component } from '@angular/core';
3
+ import { ValueAccessOptions, ValueAccess } from 'ngx-axis-appforge/core';
4
+ import * as i1 from '@angular/forms';
5
+ import { FormsModule } from '@angular/forms';
6
+ import * as i2 from 'ng-zorro-antd/rate';
7
+ import { NzRateModule } from 'ng-zorro-antd/rate';
8
+
9
+ class RateOptions extends ValueAccessOptions {
10
+ allowClear = signal(true, ...(ngDevMode ? [{ debugName: "allowClear" }] : []));
11
+ allowHalf = signal(false, ...(ngDevMode ? [{ debugName: "allowHalf" }] : []));
12
+ count = signal(5, ...(ngDevMode ? [{ debugName: "count" }] : []));
13
+ }
14
+
15
+ class Rate extends ValueAccess {
16
+ options = new RateOptions();
17
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: Rate, deps: null, target: i0.ɵɵFactoryTarget.Component });
18
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.4", type: Rate, isStandalone: true, selector: "axis-rate", usesInheritance: true, ngImport: i0, template: "<nz-rate [nzAllowClear]=\"options.allowClear()\" [nzAllowHalf]=\"options.allowHalf()\" [nzCount]=\"options.count()\"\n [nzDisabled]=\"options.disabled() || options.readonly()\" [(ngModel)]=\"value\"\n (ngModelChange)=\"onChange?.($event)\"></nz-rate>", styles: [":host{display:block;width:100%}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NzRateModule }, { kind: "component", type: i2.NzRateComponent, selector: "nz-rate", inputs: ["nzAllowClear", "nzAllowHalf", "nzDisabled", "nzAutoFocus", "nzCharacter", "nzCount", "nzTooltips"], outputs: ["nzOnBlur", "nzOnFocus", "nzOnHoverChange", "nzOnKeyDown"], exportAs: ["nzRate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
19
+ }
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: Rate, decorators: [{
21
+ type: Component,
22
+ args: [{ selector: 'axis-rate', imports: [FormsModule, NzRateModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<nz-rate [nzAllowClear]=\"options.allowClear()\" [nzAllowHalf]=\"options.allowHalf()\" [nzCount]=\"options.count()\"\n [nzDisabled]=\"options.disabled() || options.readonly()\" [(ngModel)]=\"value\"\n (ngModelChange)=\"onChange?.($event)\"></nz-rate>", styles: [":host{display:block;width:100%}\n"] }]
23
+ }] });
24
+
25
+ /**
26
+ * Generated bundle index. Do not edit.
27
+ */
28
+
29
+ export { Rate };
30
+ //# sourceMappingURL=ngx-axis-appforge-axis-components-rate.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-axis-appforge-axis-components-rate.mjs","sources":["../../../axis-components/rate/rate.options.ts","../../../axis-components/rate/rate.ts","../../../axis-components/rate/rate.html","../../../axis-components/rate/ngx-axis-appforge-axis-components-rate.ts"],"sourcesContent":["import { signal } from \"@angular/core\";\nimport { ValueAccessOptions } from \"ngx-axis-appforge/core\";\n\nexport class RateOptions extends ValueAccessOptions {\n\n readonly allowClear = signal(true);\n readonly allowHalf = signal(false);\n readonly count = signal(5);\n\n}","import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { RateOptions } from './rate.options';\nimport { ValueAccess } from 'ngx-axis-appforge/core';\nimport { FormsModule } from '@angular/forms';\nimport { NzRateModule } from 'ng-zorro-antd/rate';\n\n@Component({\n selector: 'axis-rate',\n imports: [FormsModule, NzRateModule],\n templateUrl: './rate.html',\n styleUrl: './rate.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Rate extends ValueAccess<RateOptions> {\n\n override options: RateOptions = new RateOptions();\n\n}\n","<nz-rate [nzAllowClear]=\"options.allowClear()\" [nzAllowHalf]=\"options.allowHalf()\" [nzCount]=\"options.count()\"\n [nzDisabled]=\"options.disabled() || options.readonly()\" [(ngModel)]=\"value\"\n (ngModelChange)=\"onChange?.($event)\"></nz-rate>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './rate';\n"],"names":[],"mappings":";;;;;;;;AAGM,MAAO,WAAY,SAAQ,kBAAkB,CAAA;AAEtC,IAAA,UAAU,GAAG,MAAM,CAAC,IAAI,sDAAC;AACzB,IAAA,SAAS,GAAG,MAAM,CAAC,KAAK,qDAAC;AACzB,IAAA,KAAK,GAAG,MAAM,CAAC,CAAC,iDAAC;AAE7B;;ACIK,MAAO,IAAK,SAAQ,WAAwB,CAAA;AAEvC,IAAA,OAAO,GAAgB,IAAI,WAAW,EAAE;uGAFtC,IAAI,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAJ,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,IAAI,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,WAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECbjB,kQAEmD,EAAA,MAAA,EAAA,CAAA,mCAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDMvC,WAAW,8VAAE,YAAY,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,cAAA,EAAA,aAAA,EAAA,YAAA,EAAA,aAAA,EAAA,aAAA,EAAA,SAAA,EAAA,YAAA,CAAA,EAAA,OAAA,EAAA,CAAA,UAAA,EAAA,WAAA,EAAA,iBAAA,EAAA,aAAA,CAAA,EAAA,QAAA,EAAA,CAAA,QAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FAKxB,IAAI,EAAA,UAAA,EAAA,CAAA;kBAPhB,SAAS;+BACE,WAAW,EAAA,OAAA,EACZ,CAAC,WAAW,EAAE,YAAY,CAAC,EAAA,eAAA,EAGnB,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,kQAAA,EAAA,MAAA,EAAA,CAAA,mCAAA,CAAA,EAAA;;;AEXjD;;AAEG;;;;"}
@@ -0,0 +1,76 @@
1
+ import { FunFieldValueBase, FormValidators, valueFbConfig, baseFbConfig, valueFunField, baseFunField, FunField, BaseDesignSetting, InputTrigger, ValueDesignSetting, DynamicDirective, 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 i5 from 'ng-zorro-antd/form';
9
+ import { NzFormModule } from 'ng-zorro-antd/form';
10
+ import * as i3 from 'ng-zorro-antd/input';
11
+ import { NzInputModule } from 'ng-zorro-antd/input';
12
+ import * as i4 from 'ng-zorro-antd/grid';
13
+
14
+ class Setting extends FunFieldValueBase {
15
+ fg = this.fb.group({
16
+ ...baseFbConfig,
17
+ ...valueFbConfig,
18
+ fileUploadUrl: [undefined, FormValidators.requiredFun],
19
+ fileUploadFormName: [undefined, FormValidators.requiredFun],
20
+ fileUploadResponseFn: [],
21
+ tinymceOptions: [],
22
+ });
23
+ funFields = {
24
+ ...baseFunField,
25
+ ...valueFunField,
26
+ fileUploadUrl: {
27
+ defaultValue: undefined,
28
+ },
29
+ fileUploadFormName: {
30
+ defaultValue: "file"
31
+ },
32
+ tinymceOptions: {
33
+ defaultValue: undefined
34
+ }
35
+ };
36
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: Setting, deps: null, target: i0.ɵɵFactoryTarget.Component });
37
+ 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=\"\u57FA\u672C\u8BBE\u7F6E\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u4E0A\u4F20\u5730\u5740\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"fileUploadUrl\">\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 \u4E0A\u4F20\u8868\u5355\u540D\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"fileUploadFormName\">\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\">\n \u4E0A\u4F20\u54CD\u5E94\u51FD\u6570\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"fileUploadResponseFn\"\n [scopes]=\"[{scopeId:'__uploadResponse',scopeName:'\u4E0A\u4F20\u63A5\u53E3\u54CD\u5E94',ds:{apiResponse:{tip:'\u793A\u4F8B\u6570\u636E'}}}]\"\n [noListen]=\"true\" [onlyFun]=\"true\"\n editTip=\"\u8BF7\u8FD4\u56DE\u4E00\u4E2A\u5BF9\u8C61\uFF0C\u7C7B\u578B\uFF1A{success:boolean,errmsg?:string,url?:string}\"></axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n TinyMCE\u914D\u7F6E\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"tinymceOptions\">\n <ng-container [axisDynamic]=\"{component:'axis-components/input-json',inuse:true}\"\n [standalone]=\"true\" ngModel [ngModelOptions]=\"{standalone:true}\"></ng-container>\n </axis-fun-field>\n <span style=\"font-size: 13px;color:rgba(0,0,0,.54)\">\u914D\u7F6E\u8BF4\u660E\u67E5\u770B<a\n href=\"https://www.tiny.cloud/docs/tinymce/latest/\" target=\"_blank\">Tiny\u5B98\u65B9\u6587\u6863</a></span>\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: 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: NzInputModule }, { kind: "directive", type: i3.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzVariant", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "ngmodule", type: NzFormModule }, { kind: "directive", type: i4.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: i4.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "directive", type: i5.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzForm"] }, { kind: "component", type: i5.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i5.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i5.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: "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: "component", type: ValueDesignSetting, selector: "axis-value-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { kind: "directive", type: DynamicDirective, selector: "[axisDynamic]", inputs: ["axisDynamic", "standalone", "isDesign"], outputs: ["onRegisteValueAccess"], exportAs: ["axisDynamic"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
38
+ }
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: Setting, decorators: [{
40
+ type: Component,
41
+ args: [{ selector: 'axis-design-input-setting', imports: [FormsModule, NzCollapseModule, ReactiveFormsModule, NzInputModule, NzFormModule, FunField, BaseDesignSetting, InputTrigger, ValueDesignSetting, DynamicDirective], 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 \u4E0A\u4F20\u5730\u5740\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"fileUploadUrl\">\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 \u4E0A\u4F20\u8868\u5355\u540D\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"fileUploadFormName\">\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\">\n \u4E0A\u4F20\u54CD\u5E94\u51FD\u6570\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"fileUploadResponseFn\"\n [scopes]=\"[{scopeId:'__uploadResponse',scopeName:'\u4E0A\u4F20\u63A5\u53E3\u54CD\u5E94',ds:{apiResponse:{tip:'\u793A\u4F8B\u6570\u636E'}}}]\"\n [noListen]=\"true\" [onlyFun]=\"true\"\n editTip=\"\u8BF7\u8FD4\u56DE\u4E00\u4E2A\u5BF9\u8C61\uFF0C\u7C7B\u578B\uFF1A{success:boolean,errmsg?:string,url?:string}\"></axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n TinyMCE\u914D\u7F6E\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"tinymceOptions\">\n <ng-container [axisDynamic]=\"{component:'axis-components/input-json',inuse:true}\"\n [standalone]=\"true\" ngModel [ngModelOptions]=\"{standalone:true}\"></ng-container>\n </axis-fun-field>\n <span style=\"font-size: 13px;color:rgba(0,0,0,.54)\">\u914D\u7F6E\u8BF4\u660E\u67E5\u770B<a\n href=\"https://www.tiny.cloud/docs/tinymce/latest/\" target=\"_blank\">Tiny\u5B98\u65B9\u6587\u6863</a></span>\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>" }]
42
+ }] });
43
+
44
+ const Config = {
45
+ componentName: "富文本编辑器",
46
+ buildOptionsNodes(nextInfo) {
47
+ return {
48
+ treeNode: new OptionsNode({
49
+ parentId: nextInfo.parentId,
50
+ scopeId: nextInfo.scopeId,
51
+ name: "富文本编辑器",
52
+ canSetting: true,
53
+ canDrag: true,
54
+ dragType: "component",
55
+ parentObj: nextInfo.parentObject,
56
+ indexOfParentObj: nextInfo.indexOfParent,
57
+ rootOptions: nextInfo.currentObject,
58
+ settingType: Setting,
59
+ contextMenu: SimpleMenu,
60
+ icon: "font-colors",
61
+ }),
62
+ };
63
+ },
64
+ bindElementsOptionsNode(element, options) {
65
+ return {
66
+ [options.id]: { element }
67
+ };
68
+ },
69
+ };
70
+
71
+ /**
72
+ * Generated bundle index. Do not edit.
73
+ */
74
+
75
+ export { Config };
76
+ //# sourceMappingURL=ngx-axis-appforge-axis-components-rich-text-editor-design.mjs.map