ngx-axis-appforge 0.0.2 → 0.0.3

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 (580) hide show
  1. package/axis-components/badge/design/index.d.ts +5 -0
  2. package/axis-components/badge/index.d.ts +27 -0
  3. package/axis-components/button/design/index.d.ts +5 -0
  4. package/axis-components/button/index.d.ts +32 -0
  5. package/axis-components/desc/design/index.d.ts +5 -0
  6. package/axis-components/desc/index.d.ts +30 -0
  7. package/axis-components/design/design/index.d.ts +5 -0
  8. package/axis-components/design/index.d.ts +246 -0
  9. package/axis-components/dynamic-container/design/index.d.ts +5 -0
  10. package/axis-components/dynamic-container/index.d.ts +14 -0
  11. package/axis-components/editor/index.d.ts +33 -0
  12. package/axis-components/flex/design/index.d.ts +5 -0
  13. package/axis-components/flex/index.d.ts +20 -0
  14. package/axis-components/form/design/index.d.ts +5 -0
  15. package/axis-components/form/index.d.ts +30 -0
  16. package/axis-components/form-item/design/index.d.ts +5 -0
  17. package/axis-components/form-item/index.d.ts +34 -0
  18. package/axis-components/icon/design/index.d.ts +5 -0
  19. package/axis-components/icon/index.d.ts +16 -0
  20. package/axis-components/image/design/index.d.ts +5 -0
  21. package/axis-components/image/index.d.ts +16 -0
  22. package/axis-components/index.d.ts +5 -0
  23. package/axis-components/input/design/index.d.ts +5 -0
  24. package/axis-components/input/index.d.ts +27 -0
  25. package/axis-components/input-component/design/index.d.ts +5 -0
  26. package/axis-components/input-component/index.d.ts +33 -0
  27. package/axis-components/input-icon/design/index.d.ts +5 -0
  28. package/axis-components/input-icon/index.d.ts +24 -0
  29. package/axis-components/input-json/design/index.d.ts +5 -0
  30. package/axis-components/input-json/index.d.ts +24 -0
  31. package/axis-components/input-number/design/index.d.ts +5 -0
  32. package/axis-components/input-number/index.d.ts +25 -0
  33. package/axis-components/modal/design/index.d.ts +5 -0
  34. package/axis-components/modal/index.d.ts +33 -0
  35. package/axis-components/scope/design/index.d.ts +5 -0
  36. package/axis-components/scope/index.d.ts +24 -0
  37. package/axis-components/single-selector/design/index.d.ts +5 -0
  38. package/axis-components/single-selector/index.d.ts +37 -0
  39. package/axis-components/splitter/design/index.d.ts +5 -0
  40. package/axis-components/splitter/index.d.ts +28 -0
  41. package/axis-components/table/design/index.d.ts +5 -0
  42. package/axis-components/table/index.d.ts +183 -0
  43. package/axis-components/text/design/index.d.ts +5 -0
  44. package/axis-components/text/index.d.ts +24 -0
  45. package/axis-components/textarea/design/index.d.ts +5 -0
  46. package/axis-components/textarea/index.d.ts +25 -0
  47. package/axis-components/tree-selector/design/index.d.ts +5 -0
  48. package/axis-components/tree-selector/index.d.ts +76 -0
  49. package/axis-components/upload/design/index.d.ts +5 -0
  50. package/axis-components/upload/index.d.ts +51 -0
  51. package/core/index.d.ts +773 -0
  52. package/fesm2022/ngx-axis-appforge-axis-components-badge-design.mjs +191 -0
  53. package/fesm2022/ngx-axis-appforge-axis-components-badge-design.mjs.map +1 -0
  54. package/fesm2022/ngx-axis-appforge-axis-components-badge.mjs +39 -0
  55. package/fesm2022/ngx-axis-appforge-axis-components-badge.mjs.map +1 -0
  56. package/fesm2022/ngx-axis-appforge-axis-components-button-design.mjs +116 -0
  57. package/fesm2022/ngx-axis-appforge-axis-components-button-design.mjs.map +1 -0
  58. package/fesm2022/ngx-axis-appforge-axis-components-button.mjs +78 -0
  59. package/fesm2022/ngx-axis-appforge-axis-components-button.mjs.map +1 -0
  60. package/fesm2022/ngx-axis-appforge-axis-components-desc-design.mjs +224 -0
  61. package/fesm2022/ngx-axis-appforge-axis-components-desc-design.mjs.map +1 -0
  62. package/fesm2022/ngx-axis-appforge-axis-components-desc.mjs +51 -0
  63. package/fesm2022/ngx-axis-appforge-axis-components-desc.mjs.map +1 -0
  64. package/fesm2022/ngx-axis-appforge-axis-components-design-design.mjs +69 -0
  65. package/fesm2022/ngx-axis-appforge-axis-components-design-design.mjs.map +1 -0
  66. package/fesm2022/ngx-axis-appforge-axis-components-design.mjs +1746 -0
  67. package/fesm2022/ngx-axis-appforge-axis-components-design.mjs.map +1 -0
  68. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container-design.mjs +65 -0
  69. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container-design.mjs.map +1 -0
  70. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container.mjs +26 -0
  71. package/fesm2022/ngx-axis-appforge-axis-components-dynamic-container.mjs.map +1 -0
  72. package/fesm2022/ngx-axis-appforge-axis-components-editor.mjs +99 -0
  73. package/fesm2022/ngx-axis-appforge-axis-components-editor.mjs.map +1 -0
  74. package/fesm2022/ngx-axis-appforge-axis-components-flex-design.mjs +98 -0
  75. package/fesm2022/ngx-axis-appforge-axis-components-flex-design.mjs.map +1 -0
  76. package/fesm2022/ngx-axis-appforge-axis-components-flex.mjs +31 -0
  77. package/fesm2022/ngx-axis-appforge-axis-components-flex.mjs.map +1 -0
  78. package/fesm2022/ngx-axis-appforge-axis-components-form-design.mjs +108 -0
  79. package/fesm2022/ngx-axis-appforge-axis-components-form-design.mjs.map +1 -0
  80. package/fesm2022/ngx-axis-appforge-axis-components-form-item-design.mjs +242 -0
  81. package/fesm2022/ngx-axis-appforge-axis-components-form-item-design.mjs.map +1 -0
  82. package/fesm2022/ngx-axis-appforge-axis-components-form-item.mjs +144 -0
  83. package/fesm2022/ngx-axis-appforge-axis-components-form-item.mjs.map +1 -0
  84. package/fesm2022/ngx-axis-appforge-axis-components-form.mjs +132 -0
  85. package/fesm2022/ngx-axis-appforge-axis-components-form.mjs.map +1 -0
  86. package/fesm2022/ngx-axis-appforge-axis-components-icon-design.mjs +88 -0
  87. package/fesm2022/ngx-axis-appforge-axis-components-icon-design.mjs.map +1 -0
  88. package/fesm2022/ngx-axis-appforge-axis-components-icon.mjs +28 -0
  89. package/fesm2022/ngx-axis-appforge-axis-components-icon.mjs.map +1 -0
  90. package/fesm2022/ngx-axis-appforge-axis-components-image-design.mjs +75 -0
  91. package/fesm2022/ngx-axis-appforge-axis-components-image-design.mjs.map +1 -0
  92. package/fesm2022/ngx-axis-appforge-axis-components-image.mjs +43 -0
  93. package/fesm2022/ngx-axis-appforge-axis-components-image.mjs.map +1 -0
  94. package/fesm2022/ngx-axis-appforge-axis-components-input-component-design.mjs +70 -0
  95. package/fesm2022/ngx-axis-appforge-axis-components-input-component-design.mjs.map +1 -0
  96. package/fesm2022/ngx-axis-appforge-axis-components-input-component.mjs +61 -0
  97. package/fesm2022/ngx-axis-appforge-axis-components-input-component.mjs.map +1 -0
  98. package/fesm2022/ngx-axis-appforge-axis-components-input-design.mjs +142 -0
  99. package/fesm2022/ngx-axis-appforge-axis-components-input-design.mjs.map +1 -0
  100. package/fesm2022/ngx-axis-appforge-axis-components-input-icon-design.mjs +71 -0
  101. package/fesm2022/ngx-axis-appforge-axis-components-input-icon-design.mjs.map +1 -0
  102. package/fesm2022/ngx-axis-appforge-axis-components-input-icon.mjs +64 -0
  103. package/fesm2022/ngx-axis-appforge-axis-components-input-icon.mjs.map +1 -0
  104. package/fesm2022/ngx-axis-appforge-axis-components-input-json-design.mjs +60 -0
  105. package/fesm2022/ngx-axis-appforge-axis-components-input-json-design.mjs.map +1 -0
  106. package/fesm2022/ngx-axis-appforge-axis-components-input-json.mjs +70 -0
  107. package/fesm2022/ngx-axis-appforge-axis-components-input-json.mjs.map +1 -0
  108. package/fesm2022/ngx-axis-appforge-axis-components-input-number-design.mjs +107 -0
  109. package/fesm2022/ngx-axis-appforge-axis-components-input-number-design.mjs.map +1 -0
  110. package/fesm2022/ngx-axis-appforge-axis-components-input-number.mjs +48 -0
  111. package/fesm2022/ngx-axis-appforge-axis-components-input-number.mjs.map +1 -0
  112. package/fesm2022/ngx-axis-appforge-axis-components-input.mjs +68 -0
  113. package/fesm2022/ngx-axis-appforge-axis-components-input.mjs.map +1 -0
  114. package/fesm2022/ngx-axis-appforge-axis-components-modal-design.mjs +181 -0
  115. package/fesm2022/ngx-axis-appforge-axis-components-modal-design.mjs.map +1 -0
  116. package/fesm2022/ngx-axis-appforge-axis-components-modal.mjs +74 -0
  117. package/fesm2022/ngx-axis-appforge-axis-components-modal.mjs.map +1 -0
  118. package/fesm2022/ngx-axis-appforge-axis-components-scope-design.mjs +330 -0
  119. package/fesm2022/ngx-axis-appforge-axis-components-scope-design.mjs.map +1 -0
  120. package/fesm2022/ngx-axis-appforge-axis-components-scope.mjs +55 -0
  121. package/fesm2022/ngx-axis-appforge-axis-components-scope.mjs.map +1 -0
  122. package/fesm2022/ngx-axis-appforge-axis-components-single-selector-design.mjs +120 -0
  123. package/fesm2022/ngx-axis-appforge-axis-components-single-selector-design.mjs.map +1 -0
  124. package/fesm2022/ngx-axis-appforge-axis-components-single-selector.mjs +102 -0
  125. package/fesm2022/ngx-axis-appforge-axis-components-single-selector.mjs.map +1 -0
  126. package/fesm2022/ngx-axis-appforge-axis-components-splitter-design.mjs +178 -0
  127. package/fesm2022/ngx-axis-appforge-axis-components-splitter-design.mjs.map +1 -0
  128. package/fesm2022/ngx-axis-appforge-axis-components-splitter.mjs +49 -0
  129. package/fesm2022/ngx-axis-appforge-axis-components-splitter.mjs.map +1 -0
  130. package/fesm2022/ngx-axis-appforge-axis-components-table-design.mjs +442 -0
  131. package/fesm2022/ngx-axis-appforge-axis-components-table-design.mjs.map +1 -0
  132. package/fesm2022/ngx-axis-appforge-axis-components-table.mjs +452 -0
  133. package/fesm2022/ngx-axis-appforge-axis-components-table.mjs.map +1 -0
  134. package/fesm2022/ngx-axis-appforge-axis-components-text-design.mjs +95 -0
  135. package/fesm2022/ngx-axis-appforge-axis-components-text-design.mjs.map +1 -0
  136. package/fesm2022/ngx-axis-appforge-axis-components-text.mjs +64 -0
  137. package/fesm2022/ngx-axis-appforge-axis-components-text.mjs.map +1 -0
  138. package/fesm2022/ngx-axis-appforge-axis-components-textarea-design.mjs +94 -0
  139. package/fesm2022/ngx-axis-appforge-axis-components-textarea-design.mjs.map +1 -0
  140. package/fesm2022/ngx-axis-appforge-axis-components-textarea.mjs +64 -0
  141. package/fesm2022/ngx-axis-appforge-axis-components-textarea.mjs.map +1 -0
  142. package/fesm2022/ngx-axis-appforge-axis-components-tree-selector-design.mjs +222 -0
  143. package/fesm2022/ngx-axis-appforge-axis-components-tree-selector-design.mjs.map +1 -0
  144. package/fesm2022/ngx-axis-appforge-axis-components-tree-selector.mjs +295 -0
  145. package/fesm2022/ngx-axis-appforge-axis-components-tree-selector.mjs.map +1 -0
  146. package/fesm2022/ngx-axis-appforge-axis-components-upload-design.mjs +146 -0
  147. package/fesm2022/ngx-axis-appforge-axis-components-upload-design.mjs.map +1 -0
  148. package/fesm2022/ngx-axis-appforge-axis-components-upload.mjs +156 -0
  149. package/fesm2022/ngx-axis-appforge-axis-components-upload.mjs.map +1 -0
  150. package/fesm2022/ngx-axis-appforge-axis-components.mjs +988 -0
  151. package/fesm2022/ngx-axis-appforge-axis-components.mjs.map +1 -0
  152. package/fesm2022/ngx-axis-appforge-core.mjs +3169 -0
  153. package/fesm2022/ngx-axis-appforge-core.mjs.map +1 -0
  154. package/{providers/providers.ts → fesm2022/ngx-axis-appforge-providers.mjs} +16 -8
  155. package/fesm2022/ngx-axis-appforge-providers.mjs.map +1 -0
  156. package/fesm2022/ngx-axis-appforge.mjs +6 -0
  157. package/fesm2022/ngx-axis-appforge.mjs.map +1 -0
  158. package/index.d.ts +2 -0
  159. package/package.json +217 -16
  160. package/providers/index.d.ts +13 -0
  161. package/.editorconfig +0 -17
  162. package/angular.json +0 -40
  163. package/axis-components/badge/badge.css +0 -3
  164. package/axis-components/badge/badge.html +0 -20
  165. package/axis-components/badge/badge.options.ts +0 -23
  166. package/axis-components/badge/badge.ts +0 -17
  167. package/axis-components/badge/design/config.ts +0 -52
  168. package/axis-components/badge/design/ng-package.json +0 -5
  169. package/axis-components/badge/design/setting/setting.css +0 -0
  170. package/axis-components/badge/design/setting/setting.html +0 -181
  171. package/axis-components/badge/design/setting/setting.ts +0 -126
  172. package/axis-components/badge/ng-package.json +0 -5
  173. package/axis-components/button/button.css +0 -3
  174. package/axis-components/button/button.html +0 -13
  175. package/axis-components/button/button.options.ts +0 -17
  176. package/axis-components/button/button.ts +0 -56
  177. package/axis-components/button/design/config.ts +0 -30
  178. package/axis-components/button/design/ng-package.json +0 -5
  179. package/axis-components/button/design/setting/setting.css +0 -0
  180. package/axis-components/button/design/setting/setting.html +0 -151
  181. package/axis-components/button/design/setting/setting.ts +0 -76
  182. package/axis-components/button/ng-package.json +0 -5
  183. package/axis-components/cmp-map.ts +0 -52
  184. package/axis-components/cmplib.ts +0 -9
  185. package/axis-components/desc/desc.css +0 -8
  186. package/axis-components/desc/desc.html +0 -19
  187. package/axis-components/desc/desc.options.ts +0 -24
  188. package/axis-components/desc/desc.ts +0 -29
  189. package/axis-components/desc/design/config.ts +0 -113
  190. package/axis-components/desc/design/desc-item-setting/desc-item-setting.css +0 -0
  191. package/axis-components/desc/design/desc-item-setting/desc-item-setting.html +0 -47
  192. package/axis-components/desc/design/desc-item-setting/desc-item-setting.ts +0 -40
  193. package/axis-components/desc/design/desc-items-menu/desc-items-menu.css +0 -0
  194. package/axis-components/desc/design/desc-items-menu/desc-items-menu.html +0 -9
  195. package/axis-components/desc/design/desc-items-menu/desc-items-menu.ts +0 -23
  196. package/axis-components/desc/design/desc-setting/desc-setting.css +0 -0
  197. package/axis-components/desc/design/desc-setting/desc-setting.html +0 -76
  198. package/axis-components/desc/design/desc-setting/desc-setting.ts +0 -51
  199. package/axis-components/desc/design/ng-package.json +0 -5
  200. package/axis-components/desc/ng-package.json +0 -5
  201. package/axis-components/design/cmplib/cmplib.css +0 -5
  202. package/axis-components/design/cmplib/cmplib.html +0 -52
  203. package/axis-components/design/cmplib/cmplib.ts +0 -96
  204. package/axis-components/design/design/config.ts +0 -29
  205. package/axis-components/design/design/ng-package.json +0 -5
  206. package/axis-components/design/design/setting/setting.css +0 -0
  207. package/axis-components/design/design/setting/setting.html +0 -33
  208. package/axis-components/design/design/setting/setting.ts +0 -33
  209. package/axis-components/design/design.css +0 -15
  210. package/axis-components/design/design.html +0 -51
  211. package/axis-components/design/design.options.ts +0 -9
  212. package/axis-components/design/design.ts +0 -509
  213. package/axis-components/design/ng-package.json +0 -5
  214. package/axis-components/design/preview/drag.service.ts +0 -148
  215. package/axis-components/design/preview/drop-handler.ts +0 -56
  216. package/axis-components/design/preview/preview.css +0 -3
  217. package/axis-components/design/preview/preview.html +0 -1
  218. package/axis-components/design/preview/preview.ts +0 -250
  219. package/axis-components/design/preview/select.service.ts +0 -140
  220. package/axis-components/design/shortcut-key.ts +0 -160
  221. package/axis-components/design/toolbar/toolbar.css +0 -24
  222. package/axis-components/design/toolbar/toolbar.html +0 -96
  223. package/axis-components/design/toolbar/toolbar.ts +0 -65
  224. package/axis-components/design/tree/drag-drop.ts +0 -125
  225. package/axis-components/design/tree/tree.css +0 -30
  226. package/axis-components/design/tree/tree.html +0 -49
  227. package/axis-components/design/tree/tree.ts +0 -292
  228. package/axis-components/dynamic-container/design/config.ts +0 -30
  229. package/axis-components/dynamic-container/design/ng-package.json +0 -5
  230. package/axis-components/dynamic-container/design/setting/setting.css +0 -0
  231. package/axis-components/dynamic-container/design/setting/setting.html +0 -20
  232. package/axis-components/dynamic-container/design/setting/setting.ts +0 -30
  233. package/axis-components/dynamic-container/dynamic-container.css +0 -3
  234. package/axis-components/dynamic-container/dynamic-container.html +0 -2
  235. package/axis-components/dynamic-container/dynamic-container.options.ts +0 -6
  236. package/axis-components/dynamic-container/dynamic-container.ts +0 -17
  237. package/axis-components/dynamic-container/ng-package.json +0 -5
  238. package/axis-components/editor/editor.css +0 -47
  239. package/axis-components/editor/editor.html +0 -10
  240. package/axis-components/editor/editor.options.ts +0 -10
  241. package/axis-components/editor/editor.ts +0 -86
  242. package/axis-components/editor/ng-package.json +0 -5
  243. package/axis-components/examples/examples/badge.ts +0 -17
  244. package/axis-components/examples/examples/button.ts +0 -38
  245. package/axis-components/examples/examples/desc.ts +0 -31
  246. package/axis-components/examples/examples/design.ts +0 -15
  247. package/axis-components/examples/examples/dynamic-container.ts +0 -21
  248. package/axis-components/examples/examples/flex.ts +0 -18
  249. package/axis-components/examples/examples/form-item.ts +0 -39
  250. package/axis-components/examples/examples/form.ts +0 -315
  251. package/axis-components/examples/examples/icon.ts +0 -16
  252. package/axis-components/examples/examples/image.ts +0 -15
  253. package/axis-components/examples/examples/input-component.ts +0 -15
  254. package/axis-components/examples/examples/input-icon.ts +0 -15
  255. package/axis-components/examples/examples/input-json.ts +0 -15
  256. package/axis-components/examples/examples/input-number.ts +0 -15
  257. package/axis-components/examples/examples/input.ts +0 -15
  258. package/axis-components/examples/examples/modal.ts +0 -15
  259. package/axis-components/examples/examples/scope.ts +0 -17
  260. package/axis-components/examples/examples/single-selector.ts +0 -25
  261. package/axis-components/examples/examples/splitter.ts +0 -36
  262. package/axis-components/examples/examples/table.ts +0 -126
  263. package/axis-components/examples/examples/text.ts +0 -15
  264. package/axis-components/examples/examples/textarea.ts +0 -15
  265. package/axis-components/examples/examples/tree-selector.ts +0 -35
  266. package/axis-components/examples/examples/upload.ts +0 -15
  267. package/axis-components/examples/examples.ts +0 -73
  268. package/axis-components/flex/design/config.ts +0 -49
  269. package/axis-components/flex/design/ng-package.json +0 -5
  270. package/axis-components/flex/design/setting/setting.css +0 -0
  271. package/axis-components/flex/design/setting/setting.html +0 -72
  272. package/axis-components/flex/design/setting/setting.ts +0 -43
  273. package/axis-components/flex/flex.css +0 -5
  274. package/axis-components/flex/flex.html +0 -6
  275. package/axis-components/flex/flex.options.ts +0 -12
  276. package/axis-components/flex/flex.ts +0 -15
  277. package/axis-components/flex/ng-package.json +0 -5
  278. package/axis-components/form/design/config.ts +0 -71
  279. package/axis-components/form/design/ng-package.json +0 -5
  280. package/axis-components/form/design/setting/setting.css +0 -0
  281. package/axis-components/form/design/setting/setting.html +0 -21
  282. package/axis-components/form/design/setting/setting.ts +0 -31
  283. package/axis-components/form/form.css +0 -3
  284. package/axis-components/form/form.html +0 -3
  285. package/axis-components/form/form.options.ts +0 -9
  286. package/axis-components/form/form.ts +0 -121
  287. package/axis-components/form/ng-package.json +0 -5
  288. package/axis-components/form-item/design/config.ts +0 -43
  289. package/axis-components/form-item/design/ng-package.json +0 -5
  290. package/axis-components/form-item/design/setting/input-validator/input-validator.css +0 -8
  291. package/axis-components/form-item/design/setting/input-validator/input-validator.html +0 -140
  292. package/axis-components/form-item/design/setting/input-validator/input-validator.ts +0 -158
  293. package/axis-components/form-item/design/setting/setting.css +0 -0
  294. package/axis-components/form-item/design/setting/setting.html +0 -39
  295. package/axis-components/form-item/design/setting/setting.ts +0 -40
  296. package/axis-components/form-item/form-item.css +0 -4
  297. package/axis-components/form-item/form-item.html +0 -16
  298. package/axis-components/form-item/form-item.options.ts +0 -12
  299. package/axis-components/form-item/form-item.ts +0 -128
  300. package/axis-components/form-item/ng-package.json +0 -5
  301. package/axis-components/icon/design/config.ts +0 -29
  302. package/axis-components/icon/design/ng-package.json +0 -5
  303. package/axis-components/icon/design/setting/setting.css +0 -0
  304. package/axis-components/icon/design/setting/setting.html +0 -67
  305. package/axis-components/icon/design/setting/setting.ts +0 -48
  306. package/axis-components/icon/icon.css +0 -0
  307. package/axis-components/icon/icon.html +0 -7
  308. package/axis-components/icon/icon.options.ts +0 -10
  309. package/axis-components/icon/icon.ts +0 -17
  310. package/axis-components/icon/ng-package.json +0 -5
  311. package/axis-components/image/design/config.ts +0 -30
  312. package/axis-components/image/design/ng-package.json +0 -5
  313. package/axis-components/image/design/setting/setting.css +0 -0
  314. package/axis-components/image/design/setting/setting.html +0 -42
  315. package/axis-components/image/design/setting/setting.ts +0 -37
  316. package/axis-components/image/image.css +0 -58
  317. package/axis-components/image/image.html +0 -14
  318. package/axis-components/image/image.options.ts +0 -8
  319. package/axis-components/image/image.ts +0 -29
  320. package/axis-components/image/ng-package.json +0 -5
  321. package/axis-components/input/design/config.ts +0 -80
  322. package/axis-components/input/design/ng-package.json +0 -5
  323. package/axis-components/input/design/setting/setting.css +0 -0
  324. package/axis-components/input/design/setting/setting.html +0 -79
  325. package/axis-components/input/design/setting/setting.ts +0 -51
  326. package/axis-components/input/input.css +0 -4
  327. package/axis-components/input/input.html +0 -32
  328. package/axis-components/input/input.options.ts +0 -14
  329. package/axis-components/input/input.ts +0 -53
  330. package/axis-components/input/ng-package.json +0 -5
  331. package/axis-components/input-component/design/config.ts +0 -30
  332. package/axis-components/input-component/design/ng-package.json +0 -5
  333. package/axis-components/input-component/design/setting/setting.css +0 -0
  334. package/axis-components/input-component/design/setting/setting.html +0 -33
  335. package/axis-components/input-component/design/setting/setting.ts +0 -33
  336. package/axis-components/input-component/input-component.css +0 -4
  337. package/axis-components/input-component/input-component.html +0 -25
  338. package/axis-components/input-component/input-component.options.ts +0 -7
  339. package/axis-components/input-component/input-component.ts +0 -50
  340. package/axis-components/input-component/ng-package.json +0 -5
  341. package/axis-components/input-icon/design/config.ts +0 -30
  342. package/axis-components/input-icon/design/ng-package.json +0 -5
  343. package/axis-components/input-icon/design/setting/setting.css +0 -0
  344. package/axis-components/input-icon/design/setting/setting.html +0 -29
  345. package/axis-components/input-icon/design/setting/setting.ts +0 -33
  346. package/axis-components/input-icon/input-icon.css +0 -4
  347. package/axis-components/input-icon/input-icon.html +0 -70
  348. package/axis-components/input-icon/input-icon.options.ts +0 -7
  349. package/axis-components/input-icon/input-icon.ts +0 -51
  350. package/axis-components/input-icon/ng-package.json +0 -5
  351. package/axis-components/input-json/design/config.ts +0 -29
  352. package/axis-components/input-json/design/ng-package.json +0 -5
  353. package/axis-components/input-json/design/setting/setting.css +0 -0
  354. package/axis-components/input-json/design/setting/setting.html +0 -7
  355. package/axis-components/input-json/design/setting/setting.ts +0 -26
  356. package/axis-components/input-json/input-json.css +0 -4
  357. package/axis-components/input-json/input-json.html +0 -19
  358. package/axis-components/input-json/input-json.ts +0 -67
  359. package/axis-components/input-json/ng-package.json +0 -5
  360. package/axis-components/input-number/design/config.ts +0 -30
  361. package/axis-components/input-number/design/ng-package.json +0 -5
  362. package/axis-components/input-number/design/setting/setting.css +0 -0
  363. package/axis-components/input-number/design/setting/setting.html +0 -118
  364. package/axis-components/input-number/design/setting/setting.ts +0 -66
  365. package/axis-components/input-number/input-number.css +0 -22
  366. package/axis-components/input-number/input-number.html +0 -11
  367. package/axis-components/input-number/input-number.options.ts +0 -17
  368. package/axis-components/input-number/input-number.ts +0 -30
  369. package/axis-components/input-number/ng-package.json +0 -5
  370. package/axis-components/modal/design/config.ts +0 -50
  371. package/axis-components/modal/design/ng-package.json +0 -5
  372. package/axis-components/modal/design/set-modal-visible-handler/set-modal-visible-handler.css +0 -0
  373. package/axis-components/modal/design/set-modal-visible-handler/set-modal-visible-handler.html +0 -15
  374. package/axis-components/modal/design/set-modal-visible-handler/set-modal-visible-handler.ts +0 -34
  375. package/axis-components/modal/design/setting/setting.css +0 -0
  376. package/axis-components/modal/design/setting/setting.html +0 -139
  377. package/axis-components/modal/design/setting/setting.ts +0 -92
  378. package/axis-components/modal/modal.css +0 -0
  379. package/axis-components/modal/modal.html +0 -7
  380. package/axis-components/modal/modal.options.ts +0 -20
  381. package/axis-components/modal/modal.ts +0 -57
  382. package/axis-components/modal/ng-package.json +0 -5
  383. package/axis-components/ng-package.json +0 -5
  384. package/axis-components/scope/design/config.ts +0 -59
  385. package/axis-components/scope/design/ng-package.json +0 -5
  386. package/axis-components/scope/design/setting/datasource-editor/datasource-editor.css +0 -28
  387. package/axis-components/scope/design/setting/datasource-editor/datasource-editor.html +0 -188
  388. package/axis-components/scope/design/setting/datasource-editor/datasource-editor.ts +0 -245
  389. package/axis-components/scope/design/setting/setting.css +0 -0
  390. package/axis-components/scope/design/setting/setting.html +0 -19
  391. package/axis-components/scope/design/setting/setting.ts +0 -30
  392. package/axis-components/scope/ng-package.json +0 -5
  393. package/axis-components/scope/scope.css +0 -6
  394. package/axis-components/scope/scope.html +0 -4
  395. package/axis-components/scope/scope.options.ts +0 -8
  396. package/axis-components/scope/scope.ts +0 -48
  397. package/axis-components/single-selector/design/config.ts +0 -30
  398. package/axis-components/single-selector/design/ng-package.json +0 -5
  399. package/axis-components/single-selector/design/setting/setting.css +0 -0
  400. package/axis-components/single-selector/design/setting/setting.html +0 -164
  401. package/axis-components/single-selector/design/setting/setting.ts +0 -80
  402. package/axis-components/single-selector/ng-package.json +0 -5
  403. package/axis-components/single-selector/single-selector.css +0 -8
  404. package/axis-components/single-selector/single-selector.html +0 -51
  405. package/axis-components/single-selector/single-selector.options.ts +0 -22
  406. package/axis-components/single-selector/single-selector.ts +0 -80
  407. package/axis-components/splitter/design/config.ts +0 -84
  408. package/axis-components/splitter/design/ng-package.json +0 -5
  409. package/axis-components/splitter/design/splitter-menu/splitter-menu.css +0 -0
  410. package/axis-components/splitter/design/splitter-menu/splitter-menu.html +0 -10
  411. package/axis-components/splitter/design/splitter-menu/splitter-menu.ts +0 -22
  412. package/axis-components/splitter/design/splitter-panel-setting/splitter-panel-setting.css +0 -0
  413. package/axis-components/splitter/design/splitter-panel-setting/splitter-panel-setting.html +0 -66
  414. package/axis-components/splitter/design/splitter-panel-setting/splitter-panel-setting.ts +0 -47
  415. package/axis-components/splitter/design/splitter-setting/splitter-setting.css +0 -0
  416. package/axis-components/splitter/design/splitter-setting/splitter-setting.html +0 -28
  417. package/axis-components/splitter/design/splitter-setting/splitter-setting.ts +0 -30
  418. package/axis-components/splitter/ng-package.json +0 -5
  419. package/axis-components/splitter/splitter.css +0 -7
  420. package/axis-components/splitter/splitter.html +0 -12
  421. package/axis-components/splitter/splitter.options.ts +0 -18
  422. package/axis-components/splitter/splitter.ts +0 -29
  423. package/axis-components/table/design/config.ts +0 -147
  424. package/axis-components/table/design/ng-package.json +0 -5
  425. package/axis-components/table/design/table-field-setting/table-field-setting.css +0 -0
  426. package/axis-components/table/design/table-field-setting/table-field-setting.html +0 -259
  427. package/axis-components/table/design/table-field-setting/table-field-setting.ts +0 -105
  428. package/axis-components/table/design/table-fields-menu/table-fields-menu.css +0 -0
  429. package/axis-components/table/design/table-fields-menu/table-fields-menu.html +0 -9
  430. package/axis-components/table/design/table-fields-menu/table-fields-menu.ts +0 -24
  431. package/axis-components/table/design/table-setting/table-setting.css +0 -0
  432. package/axis-components/table/design/table-setting/table-setting.html +0 -417
  433. package/axis-components/table/design/table-setting/table-setting.ts +0 -173
  434. package/axis-components/table/expand.ts +0 -12
  435. package/axis-components/table/ng-package.json +0 -5
  436. package/axis-components/table/select.ts +0 -66
  437. package/axis-components/table/table-setter/table-setter.css +0 -55
  438. package/axis-components/table/table-setter/table-setter.html +0 -38
  439. package/axis-components/table/table-setter/table-setter.ts +0 -121
  440. package/axis-components/table/table.css +0 -5
  441. package/axis-components/table/table.html +0 -191
  442. package/axis-components/table/table.options.ts +0 -72
  443. package/axis-components/table/table.ts +0 -204
  444. package/axis-components/text/design/config.ts +0 -30
  445. package/axis-components/text/design/ng-package.json +0 -5
  446. package/axis-components/text/design/setting/setting.css +0 -0
  447. package/axis-components/text/design/setting/setting.html +0 -84
  448. package/axis-components/text/design/setting/setting.ts +0 -54
  449. package/axis-components/text/ng-package.json +0 -5
  450. package/axis-components/text/text.css +0 -3
  451. package/axis-components/text/text.html +0 -17
  452. package/axis-components/text/text.options.ts +0 -10
  453. package/axis-components/text/text.ts +0 -54
  454. package/axis-components/textarea/design/config.ts +0 -30
  455. package/axis-components/textarea/design/ng-package.json +0 -5
  456. package/axis-components/textarea/design/setting/setting.css +0 -0
  457. package/axis-components/textarea/design/setting/setting.html +0 -76
  458. package/axis-components/textarea/design/setting/setting.ts +0 -55
  459. package/axis-components/textarea/ng-package.json +0 -5
  460. package/axis-components/textarea/textarea.css +0 -4
  461. package/axis-components/textarea/textarea.html +0 -11
  462. package/axis-components/textarea/textarea.options.ts +0 -13
  463. package/axis-components/textarea/textarea.ts +0 -49
  464. package/axis-components/tree-selector/design/config.ts +0 -55
  465. package/axis-components/tree-selector/design/ng-package.json +0 -5
  466. package/axis-components/tree-selector/design/tree-selector-menu/tree-selector-menu.css +0 -0
  467. package/axis-components/tree-selector/design/tree-selector-menu/tree-selector-menu.html +0 -9
  468. package/axis-components/tree-selector/design/tree-selector-menu/tree-selector-menu.ts +0 -26
  469. package/axis-components/tree-selector/design/tree-selector-menu-setting/tree-selector-menu-setting.css +0 -0
  470. package/axis-components/tree-selector/design/tree-selector-menu-setting/tree-selector-menu-setting.html +0 -80
  471. package/axis-components/tree-selector/design/tree-selector-menu-setting/tree-selector-menu-setting.ts +0 -58
  472. package/axis-components/tree-selector/design/tree-selector-setting/tree-selector-setting.css +0 -0
  473. package/axis-components/tree-selector/design/tree-selector-setting/tree-selector-setting.html +0 -235
  474. package/axis-components/tree-selector/design/tree-selector-setting/tree-selector-setting.ts +0 -87
  475. package/axis-components/tree-selector/ng-package.json +0 -5
  476. package/axis-components/tree-selector/tree-selector.css +0 -43
  477. package/axis-components/tree-selector/tree-selector.html +0 -65
  478. package/axis-components/tree-selector/tree-selector.options.ts +0 -50
  479. package/axis-components/tree-selector/tree-selector.ts +0 -252
  480. package/axis-components/upload/design/config.ts +0 -37
  481. package/axis-components/upload/design/ng-package.json +0 -5
  482. package/axis-components/upload/design/setting/setting.css +0 -0
  483. package/axis-components/upload/design/setting/setting.html +0 -288
  484. package/axis-components/upload/design/setting/setting.ts +0 -96
  485. package/axis-components/upload/ng-package.json +0 -5
  486. package/axis-components/upload/upload.css +0 -3
  487. package/axis-components/upload/upload.html +0 -36
  488. package/axis-components/upload/upload.options.ts +0 -29
  489. package/axis-components/upload/upload.ts +0 -130
  490. package/core/base/base-menu.ts +0 -22
  491. package/core/base/base.ts +0 -143
  492. package/core/base/design-builder.ts +0 -8
  493. package/core/base/funfield-base.ts +0 -106
  494. package/core/base/funfield-value-base.ts +0 -53
  495. package/core/base/value-access.ts +0 -70
  496. package/core/directives/dynamic.ts +0 -216
  497. package/core/directives/scope.ts +0 -432
  498. package/core/models/api.options.ts +0 -5
  499. package/core/models/base.options.ts +0 -11
  500. package/core/models/cmplib.ts +0 -7
  501. package/core/models/data-source.options.ts +0 -11
  502. package/core/models/data.options.ts +0 -6
  503. package/core/models/design-build.ts +0 -26
  504. package/core/models/design-config.ts +0 -14
  505. package/core/models/design-tree-node.ts +0 -16
  506. package/core/models/event-desc.ts +0 -28
  507. package/core/models/event-handler.ts +0 -6
  508. package/core/models/event.options.ts +0 -14
  509. package/core/models/examples.ts +0 -21
  510. package/core/models/form-registe.options.ts +0 -12
  511. package/core/models/fun-field.options.ts +0 -6
  512. package/core/models/initobs.ts +0 -8
  513. package/core/models/options-node.ts +0 -149
  514. package/core/models/static-data-source.options.ts +0 -4
  515. package/core/models/trigge-events.options.ts +0 -3
  516. package/core/models/value-access.options.ts +0 -10
  517. package/core/ng-package.json +0 -5
  518. package/core/pipes/how-long.pipe.ts +0 -69
  519. package/core/public-api.ts +0 -39
  520. package/core/share/api-handler/api-handler.css +0 -0
  521. package/core/share/api-handler/api-handler.html +0 -38
  522. package/core/share/api-handler/api-handler.ts +0 -51
  523. package/core/share/array-filter-handler/array-filter-handler.css +0 -0
  524. package/core/share/array-filter-handler/array-filter-handler.html +0 -26
  525. package/core/share/array-filter-handler/array-filter-handler.ts +0 -65
  526. package/core/share/array-filter-handler/input-filter-options/filter-options.css +0 -19
  527. package/core/share/array-filter-handler/input-filter-options/filter-options.html +0 -57
  528. package/core/share/array-filter-handler/input-filter-options/filter-options.ts +0 -100
  529. package/core/share/base-design-setting/base-design-setting.css +0 -0
  530. package/core/share/base-design-setting/base-design-setting.html +0 -50
  531. package/core/share/base-design-setting/base-design-setting.ts +0 -55
  532. package/core/share/base-event-handler-descs.ts +0 -100
  533. package/core/share/common-menu/common-menu.css +0 -0
  534. package/core/share/common-menu/common-menu.html +0 -21
  535. package/core/share/common-menu/common-menu.ts +0 -73
  536. package/core/share/data-handler/data-handler.css +0 -0
  537. package/core/share/data-handler/data-handler.html +0 -13
  538. package/core/share/data-handler/data-handler.ts +0 -39
  539. package/core/share/events-handler.service.ts +0 -185
  540. package/core/share/fun-field/fun-field.css +0 -55
  541. package/core/share/fun-field/fun-field.html +0 -175
  542. package/core/share/fun-field/fun-field.ts +0 -363
  543. package/core/share/input-trigger/input-trigger.css +0 -16
  544. package/core/share/input-trigger/input-trigger.html +0 -114
  545. package/core/share/input-trigger/input-trigger.ts +0 -394
  546. package/core/share/msg-tip-handler/msg-tip-handler.css +0 -0
  547. package/core/share/msg-tip-handler/msg-tip-handler.html +0 -40
  548. package/core/share/msg-tip-handler/msg-tip-handler.ts +0 -46
  549. package/core/share/refresh-data-source-handler/refresh-data-source-handler.css +0 -0
  550. package/core/share/refresh-data-source-handler/refresh-data-source-handler.html +0 -29
  551. package/core/share/refresh-data-source-handler/refresh-data-source-handler.ts +0 -55
  552. package/core/share/route-handler/route-handler.css +0 -0
  553. package/core/share/route-handler/route-handler.html +0 -49
  554. package/core/share/route-handler/route-handler.ts +0 -51
  555. package/core/share/set-data-source-handler/set-data-source-handler.css +0 -0
  556. package/core/share/set-data-source-handler/set-data-source-handler.html +0 -23
  557. package/core/share/set-data-source-handler/set-data-source-handler.ts +0 -44
  558. package/core/share/simple-menu/simple-menu.css +0 -0
  559. package/core/share/simple-menu/simple-menu.html +0 -5
  560. package/core/share/simple-menu/simple-menu.ts +0 -17
  561. package/core/share/tokens.ts +0 -29
  562. package/core/share/value-design-setting/value-design-setting.css +0 -0
  563. package/core/share/value-design-setting/value-design-setting.html +0 -48
  564. package/core/share/value-design-setting/value-design-setting.ts +0 -54
  565. package/core/utils/code-name.utils.ts +0 -19
  566. package/core/utils/components-loader.ts +0 -29
  567. package/core/utils/declaration.utils.ts +0 -38
  568. package/core/utils/dynamic.util.ts +0 -57
  569. package/core/utils/form-validators.ts +0 -160
  570. package/core/utils/form.util.ts +0 -25
  571. package/core/utils/http.utils.ts +0 -8
  572. package/core/utils/object.utils.ts +0 -182
  573. package/core/utils/scripts-loader.ts +0 -25
  574. package/ng-package.json +0 -13
  575. package/providers/ng-package.json +0 -5
  576. package/providers/public-api.ts +0 -1
  577. package/public-api.ts +0 -1
  578. package/tsconfig.json +0 -35
  579. package/tsconfig.lib.json +0 -19
  580. package/tsconfig.lib.prod.json +0 -11
@@ -0,0 +1,70 @@
1
+ import { FunFieldValueBase, valueFbConfig, baseFbConfig, valueFunField, baseFunField, BaseDesignSetting, InputTrigger, ValueDesignSetting, DynamicDirective, FunField, OptionsNode, SimpleMenu } from 'ngx-axis-appforge/core';
2
+ import * as i0 from '@angular/core';
3
+ import { ChangeDetectionStrategy, Component } from '@angular/core';
4
+ import * as i1 from '@angular/forms';
5
+ import { FormsModule, ReactiveFormsModule } from '@angular/forms';
6
+ import * as i3 from 'ng-zorro-antd/form';
7
+ import { NzFormModule } from 'ng-zorro-antd/form';
8
+ import { NzInputModule } from 'ng-zorro-antd/input';
9
+ import * as i4 from 'ng-zorro-antd/collapse';
10
+ import { NzCollapseModule } from 'ng-zorro-antd/collapse';
11
+ import * as i2 from 'ng-zorro-antd/grid';
12
+
13
+ class Setting extends FunFieldValueBase {
14
+ fg = this.fb.group(({
15
+ ...baseFbConfig,
16
+ ...valueFbConfig,
17
+ injectData: [],
18
+ allPermissions: []
19
+ }));
20
+ funFields = {
21
+ ...baseFunField,
22
+ ...valueFunField,
23
+ injectData: {
24
+ defaultValue: {}
25
+ },
26
+ allPermissions: {
27
+ defaultValue: {}
28
+ }
29
+ };
30
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: Setting, deps: null, target: i0.ɵɵFactoryTarget.Component });
31
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.2", type: Setting, isStandalone: true, selector: "axis-design-input-icon-setting", usesInheritance: true, ngImport: i0, template: "<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"\u57FA\u672C\u8BBE\u7F6E\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzTooltipTitle=\"\u6CE8\u5165\u7684\u6570\u636E\u5BF9\u8C61\uFF0C\u683C\u5F0F\uFF1A{\u6570\u636E\u540D:\u6570\u636E}\">\n \u6570\u636E\u6CE8\u5165\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"injectData\">\n <ng-container ngModel [ngModelOptions]=\"{standalone:true}\"\n [axisDynamic]=\"{component:'axis-components/input-json',inuse:true}\"\n [standalone]=\"true\"></ng-container>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzTooltipTitle=\"\u53EF\u4EE5\u9009\u62E9\u7684\u6743\u9650\u5217\u8868\uFF0C\u683C\u5F0F\uFF1A{\u6743\u9650\u7F16\u7801:\u6743\u9650\u540D\u5B57}\">\n \u6743\u9650\u5217\u8868\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"allPermissions\">\n <ng-container ngModel [ngModelOptions]=\"{standalone:true}\"\n [axisDynamic]=\"{component:'axis-components/input-json',inuse:true}\"\n [standalone]=\"true\"></ng-container>\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: NzFormModule }, { kind: "directive", type: i2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "directive", type: i3.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzForm"] }, { kind: "component", type: i3.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i3.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i3.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: NzCollapseModule }, { kind: "component", type: i4.NzCollapsePanelComponent, selector: "nz-collapse-panel", inputs: ["nzActive", "nzDisabled", "nzShowArrow", "nzExtra", "nzHeader", "nzExpandedIcon"], outputs: ["nzActiveChange"], exportAs: ["nzCollapsePanel"] }, { kind: "component", type: i4.NzCollapseComponent, selector: "nz-collapse", inputs: ["nzAccordion", "nzBordered", "nzGhost", "nzExpandIconPosition"], exportAs: ["nzCollapse"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "component", type: BaseDesignSetting, selector: "axis-base-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { kind: "component", type: InputTrigger, selector: "axis-input-trigger", inputs: ["internalTriggers", "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"], exportAs: ["axisDynamic"] }, { 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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
32
+ }
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: Setting, decorators: [{
34
+ type: Component,
35
+ args: [{ selector: 'axis-design-input-icon-setting', imports: [FormsModule, NzFormModule, ReactiveFormsModule, NzCollapseModule, NzInputModule, BaseDesignSetting, InputTrigger, ValueDesignSetting, DynamicDirective, FunField], 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\" nzTooltipTitle=\"\u6CE8\u5165\u7684\u6570\u636E\u5BF9\u8C61\uFF0C\u683C\u5F0F\uFF1A{\u6570\u636E\u540D:\u6570\u636E}\">\n \u6570\u636E\u6CE8\u5165\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"injectData\">\n <ng-container ngModel [ngModelOptions]=\"{standalone:true}\"\n [axisDynamic]=\"{component:'axis-components/input-json',inuse:true}\"\n [standalone]=\"true\"></ng-container>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzTooltipTitle=\"\u53EF\u4EE5\u9009\u62E9\u7684\u6743\u9650\u5217\u8868\uFF0C\u683C\u5F0F\uFF1A{\u6743\u9650\u7F16\u7801:\u6743\u9650\u540D\u5B57}\">\n \u6743\u9650\u5217\u8868\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"allPermissions\">\n <ng-container ngModel [ngModelOptions]=\"{standalone:true}\"\n [axisDynamic]=\"{component:'axis-components/input-json',inuse:true}\"\n [standalone]=\"true\"></ng-container>\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>" }]
36
+ }] });
37
+
38
+ const Config = {
39
+ componentName: "组件输入框",
40
+ buildOptionsNodes(nextInfo) {
41
+ return {
42
+ treeNode: new OptionsNode({
43
+ parentId: nextInfo.parentId,
44
+ scopeId: nextInfo.scopeId,
45
+ name: "组件输入框",
46
+ canSetting: true,
47
+ canDrag: true,
48
+ dragType: "component",
49
+ parentObj: nextInfo.parentObject,
50
+ indexOfParentObj: nextInfo.indexOfParent,
51
+ rootOptions: nextInfo.currentObject,
52
+ settingType: Setting,
53
+ contextMenu: SimpleMenu,
54
+ icon: "build"
55
+ })
56
+ };
57
+ },
58
+ bindElementsOptionsNode(element, options) {
59
+ return {
60
+ [options.id]: { element }
61
+ };
62
+ },
63
+ };
64
+
65
+ /**
66
+ * Generated bundle index. Do not edit.
67
+ */
68
+
69
+ export { Config };
70
+ //# sourceMappingURL=ngx-axis-appforge-axis-components-input-component-design.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-axis-appforge-axis-components-input-component-design.mjs","sources":["../../../axis-components/input-component/design/setting/setting.ts","../../../axis-components/input-component/design/setting/setting.html","../../../axis-components/input-component/design/config.ts","../../../axis-components/input-component/design/ngx-axis-appforge-axis-components-input-component-design.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule, UntypedFormGroup } from '@angular/forms';\nimport { NzFormModule } from 'ng-zorro-antd/form';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport { BaseDesignSetting, baseFbConfig, baseFunField, DynamicDirective, FunField, FunFieldOptions, FunFieldValueBase, InputTrigger, ValueDesignSetting, valueFbConfig, valueFunField } from 'ngx-axis-appforge/core';\nimport { NzCollapseModule } from 'ng-zorro-antd/collapse';\n\n@Component({\n selector: 'axis-design-input-icon-setting',\n imports: [FormsModule, NzFormModule, ReactiveFormsModule, NzCollapseModule, NzInputModule, BaseDesignSetting, InputTrigger, ValueDesignSetting, DynamicDirective, FunField],\n templateUrl: './setting.html',\n styleUrl: './setting.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Setting extends FunFieldValueBase {\n override fg: UntypedFormGroup = this.fb.group(({\n ...baseFbConfig,\n ...valueFbConfig,\n injectData: [],\n allPermissions: []\n }));\n\n protected override funFields: FunFieldOptions = {\n ...baseFunField,\n ...valueFunField,\n injectData: {\n defaultValue: {}\n },\n allPermissions: {\n defaultValue: {}\n }\n };\n}\n","<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"基本设置\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzTooltipTitle=\"注入的数据对象,格式:{数据名:数据}\">\n 数据注入\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"injectData\">\n <ng-container ngModel [ngModelOptions]=\"{standalone:true}\"\n [axisDynamic]=\"{component:'axis-components/input-json',inuse:true}\"\n [standalone]=\"true\"></ng-container>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzTooltipTitle=\"可以选择的权限列表,格式:{权限编码:权限名字}\">\n 权限列表\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"allPermissions\">\n <ng-container ngModel [ngModelOptions]=\"{standalone:true}\"\n [axisDynamic]=\"{component:'axis-components/input-json',inuse:true}\"\n [standalone]=\"true\"></ng-container>\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: \"build\"\n })\n };\n },\n bindElementsOptionsNode(element: HTMLElement, options: any): DesignBindElementsResult {\n return {\n [options.id]: { element }\n }\n },\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './config';\n"],"names":[],"mappings":";;;;;;;;;;;;AAcM,MAAO,OAAQ,SAAQ,iBAAiB,CAAA;AACn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AiB,EAAE,YAAY,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,QAAQ,CAAC,EAAA,eAAA,EAG1J,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,+9DAAA,EAAA;;;AET1C,MAAM,MAAM,GAAiB;AAEhC,IAAA,aAAa,EAAE,OAAO;AACtB,IAAA,iBAAiB,CAAC,QAAkB,EAAA;QAChC,OAAO;YACH,QAAQ,EAAE,IAAI,WAAW,CAAC;gBACtB,QAAQ,EAAE,QAAQ,CAAC,QAAQ;gBAC3B,OAAO,EAAE,QAAQ,CAAC,OAAO;AACzB,gBAAA,IAAI,EAAE,OAAO;AACb,gBAAA,UAAU,EAAE,IAAI;AAChB,gBAAA,OAAO,EAAE,IAAI;AACb,gBAAA,QAAQ,EAAE,WAAW;gBACrB,SAAS,EAAE,QAAQ,CAAC,YAAY;gBAChC,gBAAgB,EAAE,QAAQ,CAAC,aAAa;gBACxC,WAAW,EAAE,QAAQ,CAAC,aAAa;AACnC,gBAAA,WAAW,EAAE,OAAO;AACpB,gBAAA,WAAW,EAAE,UAAU;AACvB,gBAAA,IAAI,EAAE;aACT;SACJ;KACJ;IACD,uBAAuB,CAAC,OAAoB,EAAE,OAAY,EAAA;QACtD,OAAO;AACH,YAAA,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,OAAO;SAC1B;KACJ;;;AC5BL;;AAEG;;;;"}
@@ -0,0 +1,61 @@
1
+ import * as i0 from '@angular/core';
2
+ import { signal, model, computed, ViewChild, ChangeDetectionStrategy, Component } from '@angular/core';
3
+ import { NzFormModule } from 'ng-zorro-antd/form';
4
+ import * as i1 from 'ng-zorro-antd/input';
5
+ import { NzInputModule } from 'ng-zorro-antd/input';
6
+ import { ValueAccessOptions, ValueAccess, DynamicDirective } from 'ngx-axis-appforge/core';
7
+ import * as i3 from '@angular/forms';
8
+ import { ReactiveFormsModule, FormsModule } from '@angular/forms';
9
+ import * as i2 from 'ng-zorro-antd/modal';
10
+ import { NzModalModule } from 'ng-zorro-antd/modal';
11
+ import * as i4 from 'ng-zorro-antd/icon';
12
+ import { NzIconModule } from 'ng-zorro-antd/icon';
13
+
14
+ class InputComponentOptions extends ValueAccessOptions {
15
+ injectData = signal({}, ...(ngDevMode ? [{ debugName: "injectData" }] : []));
16
+ allPermissions = signal({}, ...(ngDevMode ? [{ debugName: "allPermissions" }] : []));
17
+ }
18
+
19
+ class InputComponent extends ValueAccess {
20
+ options = new InputComponentOptions();
21
+ isVisible = model(false, ...(ngDevMode ? [{ debugName: "isVisible" }] : []));
22
+ designValue = model(...(ngDevMode ? [undefined, { debugName: "designValue" }] : []));
23
+ designOptions = computed(() => ({ component: 'axis-components/design', inuse: true, injectData: this.options.injectData(), allPermissions: this.options.allPermissions() }), ...(ngDevMode ? [{ debugName: "designOptions" }] : []));
24
+ content;
25
+ writeValue(value) {
26
+ super.writeValue(value);
27
+ this.designValue.set(this.value());
28
+ }
29
+ setInitValue(value) {
30
+ super.setInitValue(value);
31
+ if (this.value() !== undefined) {
32
+ this.designValue.set(this.value());
33
+ }
34
+ }
35
+ afterOpen() {
36
+ setTimeout(() => {
37
+ this.content?.nativeElement.focus();
38
+ }, 100);
39
+ }
40
+ onOk() {
41
+ this.value.set({ ...this.designValue() });
42
+ this.onChange?.(this.value());
43
+ this.isVisible.set(false);
44
+ }
45
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: InputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
46
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.2", type: InputComponent, isStandalone: true, selector: "axis-input-component", inputs: { isVisible: { classPropertyName: "isVisible", publicName: "isVisible", isSignal: true, isRequired: false, transformFunction: null }, designValue: { classPropertyName: "designValue", publicName: "designValue", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { isVisible: "isVisibleChange", designValue: "designValueChange" }, viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<nz-input-group (click)=\"isVisible.set(!options.disabled())\" [nzPrefix]=\"prefix\" [nzSuffix]=\"suffix\">\n <input nz-input [disabled]=\"options.disabled()\" [placeholder]=\"options.readonly()?'\u67E5\u770B\u7EC4\u4EF6':'\u914D\u7F6E\u7EC4\u4EF6'\" readonly />\n</nz-input-group>\n<ng-template #prefix>\n <i nz-icon nzType=\"build\"></i>\n</ng-template>\n<ng-template #suffix>\n <i nz-icon [nzType]=\"options.readonly()?'eye':'edit'\"></i>\n</ng-template>\n<nz-modal [(nzVisible)]=\"isVisible\" (nzOnOk)=\"onOk()\" (nzOnCancel)=\"isVisible.set(false)\" nzWidth=\"800\"\n [nzBodyStyle]=\"{padding:'0',height:'70vh',overflow:'hidden',position:'relative'}\" (nzAfterOpen)=\"afterOpen()\">\n <ng-container *nzModalTitle>\n <div tabindex=\"-1\" autofocus=\"true\" (keydown.escape)=\"isVisible.set(false)\">\n <i nz-icon nzType=\"build\"></i> {{options.readonly()?'\u67E5\u770B\u7EC4\u4EF6':'\u914D\u7F6E\u7EC4\u4EF6'}}\n </div>\n </ng-container>\n <div *nzModalContent #content style=\"height: 100%;\" tabindex=\"-1\" autofocus=\"true\"\n (keydown.escape)=\"isVisible.set(false)\">\n @if (!options.readonly()) {\n <ng-container [axisDynamic]=\"designOptions()\" [standalone]=\"true\" [(ngModel)]=\"designValue\"></ng-container>\n }@else {\n <ng-container [axisDynamic]=\"value()\" [standalone]=\"true\"></ng-container>\n }\n </div>\n</nz-modal>", styles: [":host{display:block;width:100%}\n"], dependencies: [{ kind: "ngmodule", type: NzFormModule }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i1.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzVariant", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "component", type: i1.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch"], exportAs: ["nzInputGroup"] }, { kind: "directive", type: i1.NzInputGroupWhitSuffixOrPrefixDirective, selector: "nz-input-group[nzSuffix], nz-input-group[nzPrefix]" }, { kind: "directive", type: DynamicDirective, selector: "[axisDynamic]", inputs: ["axisDynamic", "standalone", "isDesign"], exportAs: ["axisDynamic"] }, { kind: "ngmodule", type: NzModalModule }, { kind: "component", type: i2.NzModalComponent, selector: "nz-modal", inputs: ["nzMask", "nzMaskClosable", "nzCloseOnNavigation", "nzVisible", "nzClosable", "nzOkLoading", "nzOkDisabled", "nzCancelDisabled", "nzCancelLoading", "nzKeyboard", "nzNoAnimation", "nzCentered", "nzDraggable", "nzContent", "nzFooter", "nzZIndex", "nzWidth", "nzWrapClassName", "nzClassName", "nzStyle", "nzTitle", "nzCloseIcon", "nzMaskStyle", "nzBodyStyle", "nzOkText", "nzCancelText", "nzOkType", "nzOkDanger", "nzIconType", "nzModalType", "nzAutofocus", "nzOnOk", "nzOnCancel"], outputs: ["nzOnOk", "nzOnCancel", "nzAfterOpen", "nzAfterClose", "nzVisibleChange"], exportAs: ["nzModal"] }, { kind: "directive", type: i2.NzModalContentDirective, selector: "[nzModalContent]", exportAs: ["nzModalContent"] }, { kind: "directive", type: i2.NzModalTitleDirective, selector: "[nzModalTitle]", exportAs: ["nzModalTitle"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i4.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
47
+ }
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: InputComponent, decorators: [{
49
+ type: Component,
50
+ args: [{ selector: 'axis-input-component', imports: [NzFormModule, NzInputModule, NzFormModule, DynamicDirective, NzModalModule, ReactiveFormsModule, NzIconModule, FormsModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<nz-input-group (click)=\"isVisible.set(!options.disabled())\" [nzPrefix]=\"prefix\" [nzSuffix]=\"suffix\">\n <input nz-input [disabled]=\"options.disabled()\" [placeholder]=\"options.readonly()?'\u67E5\u770B\u7EC4\u4EF6':'\u914D\u7F6E\u7EC4\u4EF6'\" readonly />\n</nz-input-group>\n<ng-template #prefix>\n <i nz-icon nzType=\"build\"></i>\n</ng-template>\n<ng-template #suffix>\n <i nz-icon [nzType]=\"options.readonly()?'eye':'edit'\"></i>\n</ng-template>\n<nz-modal [(nzVisible)]=\"isVisible\" (nzOnOk)=\"onOk()\" (nzOnCancel)=\"isVisible.set(false)\" nzWidth=\"800\"\n [nzBodyStyle]=\"{padding:'0',height:'70vh',overflow:'hidden',position:'relative'}\" (nzAfterOpen)=\"afterOpen()\">\n <ng-container *nzModalTitle>\n <div tabindex=\"-1\" autofocus=\"true\" (keydown.escape)=\"isVisible.set(false)\">\n <i nz-icon nzType=\"build\"></i> {{options.readonly()?'\u67E5\u770B\u7EC4\u4EF6':'\u914D\u7F6E\u7EC4\u4EF6'}}\n </div>\n </ng-container>\n <div *nzModalContent #content style=\"height: 100%;\" tabindex=\"-1\" autofocus=\"true\"\n (keydown.escape)=\"isVisible.set(false)\">\n @if (!options.readonly()) {\n <ng-container [axisDynamic]=\"designOptions()\" [standalone]=\"true\" [(ngModel)]=\"designValue\"></ng-container>\n }@else {\n <ng-container [axisDynamic]=\"value()\" [standalone]=\"true\"></ng-container>\n }\n </div>\n</nz-modal>", styles: [":host{display:block;width:100%}\n"] }]
51
+ }], propDecorators: { content: [{
52
+ type: ViewChild,
53
+ args: ["content"]
54
+ }] } });
55
+
56
+ /**
57
+ * Generated bundle index. Do not edit.
58
+ */
59
+
60
+ export { InputComponent };
61
+ //# sourceMappingURL=ngx-axis-appforge-axis-components-input-component.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-axis-appforge-axis-components-input-component.mjs","sources":["../../../axis-components/input-component/input-component.options.ts","../../../axis-components/input-component/input-component.ts","../../../axis-components/input-component/input-component.html","../../../axis-components/input-component/ngx-axis-appforge-axis-components-input-component.ts"],"sourcesContent":["import { signal } from \"@angular/core\";\nimport { ValueAccessOptions } from \"ngx-axis-appforge/core\";\n\nexport class InputComponentOptions extends ValueAccessOptions {\n readonly injectData = signal<any>({});\n readonly allPermissions = signal<{ [permission: string]: string }>({});\n}","import { ChangeDetectionStrategy, Component, computed, ElementRef, model, ViewChild } from '@angular/core';\nimport { NzFormModule } from 'ng-zorro-antd/form';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport { InputComponentOptions } from './input-component.options';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { DynamicDirective, ValueAccess } from 'ngx-axis-appforge/core';\nimport { NzModalModule } from 'ng-zorro-antd/modal';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\n\n@Component({\n selector: 'axis-input-component',\n imports: [NzFormModule, NzInputModule, NzFormModule, DynamicDirective, NzModalModule, ReactiveFormsModule, NzIconModule, FormsModule],\n templateUrl: './input-component.html',\n styleUrl: './input-component.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InputComponent extends ValueAccess<InputComponentOptions> {\n protected override options: InputComponentOptions = new InputComponentOptions();\n\n readonly isVisible = model(false);\n readonly designValue = model<any>();\n readonly designOptions = computed(() => ({ component: 'axis-components/design', inuse: true, injectData: this.options.injectData(), allPermissions: this.options.allPermissions() }));\n\n @ViewChild(\"content\")\n content?: ElementRef<HTMLElement>;\n\n override writeValue(value: any): void {\n super.writeValue(value);\n this.designValue.set(this.value());\n }\n\n override setInitValue(value: any): void {\n super.setInitValue(value);\n if (this.value() !== undefined) {\n this.designValue.set(this.value());\n }\n }\n\n afterOpen() {\n setTimeout(() => {\n this.content?.nativeElement.focus();\n }, 100);\n }\n\n onOk() {\n this.value.set({ ...this.designValue() });\n this.onChange?.(this.value())\n this.isVisible.set(false);\n }\n}\n","<nz-input-group (click)=\"isVisible.set(!options.disabled())\" [nzPrefix]=\"prefix\" [nzSuffix]=\"suffix\">\n <input nz-input [disabled]=\"options.disabled()\" [placeholder]=\"options.readonly()?'查看组件':'配置组件'\" readonly />\n</nz-input-group>\n<ng-template #prefix>\n <i nz-icon nzType=\"build\"></i>\n</ng-template>\n<ng-template #suffix>\n <i nz-icon [nzType]=\"options.readonly()?'eye':'edit'\"></i>\n</ng-template>\n<nz-modal [(nzVisible)]=\"isVisible\" (nzOnOk)=\"onOk()\" (nzOnCancel)=\"isVisible.set(false)\" nzWidth=\"800\"\n [nzBodyStyle]=\"{padding:'0',height:'70vh',overflow:'hidden',position:'relative'}\" (nzAfterOpen)=\"afterOpen()\">\n <ng-container *nzModalTitle>\n <div tabindex=\"-1\" autofocus=\"true\" (keydown.escape)=\"isVisible.set(false)\">\n <i nz-icon nzType=\"build\"></i> {{options.readonly()?'查看组件':'配置组件'}}\n </div>\n </ng-container>\n <div *nzModalContent #content style=\"height: 100%;\" tabindex=\"-1\" autofocus=\"true\"\n (keydown.escape)=\"isVisible.set(false)\">\n @if (!options.readonly()) {\n <ng-container [axisDynamic]=\"designOptions()\" [standalone]=\"true\" [(ngModel)]=\"designValue\"></ng-container>\n }@else {\n <ng-container [axisDynamic]=\"value()\" [standalone]=\"true\"></ng-container>\n }\n </div>\n</nz-modal>","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './input-component';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGM,MAAO,qBAAsB,SAAQ,k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BAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,05CAAA,EAAA,MAAA,EAAA,CAAA,mCAAA,CAAA,EAAA;8BAU/C,OAAO,EAAA,CAAA;sBADN,SAAS;uBAAC,SAAS;;;AEvBtB;;AAEG;;;;"}
@@ -0,0 +1,142 @@
1
+ import { FunFieldValueBase, FormValidators, valueFbConfig, baseFbConfig, valueFunField, baseFunField, FunField, BaseDesignSetting, InputTrigger, ValueDesignSetting, OptionsNode, SimpleMenu } from 'ngx-axis-appforge/core';
2
+ import * as i0 from '@angular/core';
3
+ import { ChangeDetectionStrategy, Component } from '@angular/core';
4
+ import * as i1 from '@angular/forms';
5
+ import { FormsModule, ReactiveFormsModule } from '@angular/forms';
6
+ import * as i2 from 'ng-zorro-antd/collapse';
7
+ import { NzCollapseModule } from 'ng-zorro-antd/collapse';
8
+ import * as i6 from 'ng-zorro-antd/form';
9
+ import { NzFormModule } from 'ng-zorro-antd/form';
10
+ import * as i4 from 'ng-zorro-antd/input';
11
+ import { NzInputModule } from 'ng-zorro-antd/input';
12
+ import * as i3 from 'ng-zorro-antd/input-number';
13
+ import { NzInputNumberModule } from 'ng-zorro-antd/input-number';
14
+ import * as i8 from 'ng-zorro-antd/radio';
15
+ import { NzRadioModule } from 'ng-zorro-antd/radio';
16
+ import * as i9 from 'ng-zorro-antd/select';
17
+ import { NzSelectModule } from 'ng-zorro-antd/select';
18
+ import * as i7 from 'ng-zorro-antd/switch';
19
+ import { NzSwitchModule } from 'ng-zorro-antd/switch';
20
+ import * as i5 from 'ng-zorro-antd/grid';
21
+
22
+ class Setting extends FunFieldValueBase {
23
+ fg = this.fb.group({
24
+ ...baseFbConfig,
25
+ ...valueFbConfig,
26
+ type: [undefined, FormValidators.requiredFun],
27
+ placeholder: [],
28
+ variant: ["outlined", FormValidators.required],
29
+ maxlength: [null],
30
+ debounceTime: [],
31
+ autofocus: [undefined, FormValidators.requiredFun],
32
+ });
33
+ funFields = {
34
+ ...baseFunField,
35
+ ...valueFunField,
36
+ type: {
37
+ defaultValue: "text"
38
+ },
39
+ placeholder: {
40
+ defaultValue: ""
41
+ },
42
+ maxlength: {
43
+ defaultValue: null
44
+ },
45
+ debounceTime: {
46
+ defaultValue: ""
47
+ },
48
+ autofocus: {
49
+ defaultValue: false
50
+ }
51
+ };
52
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: Setting, deps: null, target: i0.ɵɵFactoryTarget.Component });
53
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.2", type: Setting, isStandalone: true, selector: "axis-design-input-setting", usesInheritance: true, ngImport: i0, template: "<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"\u8F93\u5165\u8BBE\u7F6E\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u8F93\u5165\u7C7B\u578B\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"type\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\">\n <label nz-radio-button nzValue=\"text\">\u6587\u672C</label>\n <label nz-radio-button nzValue=\"password\">\u5BC6\u7801</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6700\u5927\u957F\u5EA6\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"maxlength\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"1\">\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u9632\u6296\u65F6\u95F4\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"debounceTime\">\n <nz-input-number style=\"width: 100%;\" nzPlaceHolder=\"\u6BEB\u79D2\" ngModel\n [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"1\">\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u81EA\u52A8\u7126\u70B9\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"autofocus\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5F62\u6001\u53D8\u4F53\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <nz-select formControlName=\"variant\">\n <nz-option nzValue=\"outlined\" nzLabel=\"\u5916\u8FB9\u6846\"></nz-option>\n <nz-option nzValue=\"borderless\" nzLabel=\"\u65E0\u8FB9\u6846\"></nz-option>\n <nz-option nzValue=\"filled\" nzLabel=\"\u586B\u5145\"></nz-option>\n <nz-option nzValue=\"underlined\" nzLabel=\"\u4E0B\u8FB9\u7EBF\"></nz-option>\n </nz-select>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u5360\u4F4D\u7B26\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"placeholder\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <axis-value-design-setting [fg]=\"fg\"></axis-value-design-setting>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n <axis-input-trigger formControlName=\"triggeEvents\" [internalTriggers]=\"['valueChange']\"\n [eventDesc]=\"[{name:'enterKeydown',title:'\u6309\u4E0B\u56DE\u8F66'}]\"></axis-input-trigger>\n </nz-collapse>\n</form>", styles: [""], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NzCollapseModule }, { kind: "component", type: i2.NzCollapsePanelComponent, selector: "nz-collapse-panel", inputs: ["nzActive", "nzDisabled", "nzShowArrow", "nzExtra", "nzHeader", "nzExpandedIcon"], outputs: ["nzActiveChange"], exportAs: ["nzCollapsePanel"] }, { kind: "component", type: i2.NzCollapseComponent, selector: "nz-collapse", inputs: ["nzAccordion", "nzBordered", "nzGhost", "nzExpandIconPosition"], exportAs: ["nzCollapse"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: NzInputNumberModule }, { kind: "component", type: i3.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzId", "nzSize", "nzPlaceHolder", "nzStatus", "nzVariant", "nzStep", "nzMin", "nzMax", "nzPrecision", "nzParser", "nzFormatter", "nzDisabled", "nzReadOnly", "nzAutoFocus", "nzBordered", "nzKeyboard", "nzControls"], outputs: ["nzBlur", "nzFocus", "nzOnStep"], exportAs: ["nzInputNumber"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i4.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzVariant", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "ngmodule", type: NzFormModule }, { kind: "directive", type: i5.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i5.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "directive", type: i6.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzForm"] }, { kind: "component", type: i6.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i6.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i6.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "component", type: FunField, selector: "axis-fun-field", inputs: ["scopes", "exclude", "scopeId", "onlyFun", "noListen", "disabled", "editTip", "value", "open", "showCreateListenModal", "createListenDataSourceName"], outputs: ["valueChange", "openChange", "showCreateListenModalChange", "createListenDataSourceNameChange"] }, { kind: "ngmodule", type: NzSwitchModule }, { kind: "component", type: i7.NzSwitchComponent, selector: "nz-switch", inputs: ["nzLoading", "nzDisabled", "nzControl", "nzCheckedChildren", "nzUnCheckedChildren", "nzSize", "nzId"], exportAs: ["nzSwitch"] }, { kind: "component", type: BaseDesignSetting, selector: "axis-base-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { kind: "component", type: InputTrigger, selector: "axis-input-trigger", inputs: ["internalTriggers", "value", "eventDesc", "isVisibleHandlerModal", "editEventHandler"], outputs: ["valueChange", "isVisibleHandlerModalChange", "editEventHandlerChange"] }, { kind: "ngmodule", type: NzRadioModule }, { kind: "component", type: i8.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus", "nz-radio-button"], exportAs: ["nzRadio"] }, { kind: "component", type: i8.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }, { kind: "component", type: ValueDesignSetting, selector: "axis-value-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { kind: "ngmodule", type: NzSelectModule }, { kind: "component", type: i9.NzOptionComponent, selector: "nz-option", inputs: ["nzTitle", "nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i9.NzSelectComponent, selector: "nz-select", inputs: ["nzId", "nzSize", "nzStatus", "nzVariant", "nzOptionHeightPx", "nzOptionOverflowSize", "nzDropdownClassName", "nzDropdownMatchSelectWidth", "nzDropdownStyle", "nzNotFoundContent", "nzPlaceHolder", "nzPlacement", "nzMaxTagCount", "nzDropdownRender", "nzCustomTemplate", "nzSuffixIcon", "nzClearIcon", "nzRemoveIcon", "nzMenuItemSelectedIcon", "nzTokenSeparators", "nzMaxTagPlaceholder", "nzMaxMultipleCount", "nzMode", "nzFilterOption", "compareWith", "nzAllowClear", "nzBorderless", "nzShowSearch", "nzLoading", "nzAutoFocus", "nzAutoClearSearchValue", "nzServerSearch", "nzDisabled", "nzOpen", "nzSelectOnTab", "nzBackdrop", "nzOptions", "nzShowArrow"], outputs: ["nzOnSearch", "nzScrollToBottom", "nzOpenChange", "nzBlur", "nzFocus", "nzOnClear"], exportAs: ["nzSelect"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
54
+ }
55
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: Setting, decorators: [{
56
+ type: Component,
57
+ args: [{ selector: 'axis-design-input-setting', imports: [FormsModule, NzCollapseModule, ReactiveFormsModule, NzInputNumberModule, NzInputModule, NzFormModule, FunField, NzSwitchModule, BaseDesignSetting, InputTrigger, NzRadioModule, ValueDesignSetting, NzSelectModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"\u8F93\u5165\u8BBE\u7F6E\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u8F93\u5165\u7C7B\u578B\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"type\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\">\n <label nz-radio-button nzValue=\"text\">\u6587\u672C</label>\n <label nz-radio-button nzValue=\"password\">\u5BC6\u7801</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u6700\u5927\u957F\u5EA6\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"maxlength\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"1\">\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u9632\u6296\u65F6\u95F4\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"debounceTime\">\n <nz-input-number style=\"width: 100%;\" nzPlaceHolder=\"\u6BEB\u79D2\" ngModel\n [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"1\">\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u81EA\u52A8\u7126\u70B9\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"autofocus\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5F62\u6001\u53D8\u4F53\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <nz-select formControlName=\"variant\">\n <nz-option nzValue=\"outlined\" nzLabel=\"\u5916\u8FB9\u6846\"></nz-option>\n <nz-option nzValue=\"borderless\" nzLabel=\"\u65E0\u8FB9\u6846\"></nz-option>\n <nz-option nzValue=\"filled\" nzLabel=\"\u586B\u5145\"></nz-option>\n <nz-option nzValue=\"underlined\" nzLabel=\"\u4E0B\u8FB9\u7EBF\"></nz-option>\n </nz-select>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n \u5360\u4F4D\u7B26\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"placeholder\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <axis-value-design-setting [fg]=\"fg\"></axis-value-design-setting>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n <axis-input-trigger formControlName=\"triggeEvents\" [internalTriggers]=\"['valueChange']\"\n [eventDesc]=\"[{name:'enterKeydown',title:'\u6309\u4E0B\u56DE\u8F66'}]\"></axis-input-trigger>\n </nz-collapse>\n</form>" }]
58
+ }] });
59
+
60
+ const Config = {
61
+ componentName: "文本输入框",
62
+ buildOptionsNodes(nextInfo) {
63
+ const children = [];
64
+ const next = [];
65
+ if (!nextInfo.currentObject.variant || nextInfo.currentObject.variant == "outlined") {
66
+ children.push(new OptionsNode({
67
+ id: nextInfo.currentObject.id + ".prefix",
68
+ parentId: nextInfo.currentObject.id,
69
+ scopeId: nextInfo.scopeId,
70
+ name: "前缀",
71
+ contextMenu: SimpleMenu,
72
+ canDrop: true,
73
+ dropType: "component",
74
+ dropObj: nextInfo.currentObject,
75
+ defaultDropIndex: "prefix",
76
+ indexOfParentObj: "prefix",
77
+ rootOptions: nextInfo.currentObject,
78
+ children: [],
79
+ }));
80
+ next.push({
81
+ parentId: nextInfo.currentObject.id + ".prefix",
82
+ parentObject: nextInfo.currentObject,
83
+ indexOfParent: "prefix",
84
+ scopeId: nextInfo.scopeId,
85
+ });
86
+ children.push(new OptionsNode({
87
+ id: nextInfo.currentObject.id + ".suffix",
88
+ parentId: nextInfo.currentObject.id,
89
+ scopeId: nextInfo.scopeId,
90
+ name: "后缀",
91
+ contextMenu: SimpleMenu,
92
+ canDrop: true,
93
+ dropType: "component",
94
+ dropObj: nextInfo.currentObject,
95
+ defaultDropIndex: "suffix",
96
+ indexOfParentObj: "suffix",
97
+ rootOptions: nextInfo.currentObject,
98
+ children: [],
99
+ }));
100
+ next.push({
101
+ parentId: nextInfo.currentObject.id + ".suffix",
102
+ parentObject: nextInfo.currentObject,
103
+ indexOfParent: "suffix",
104
+ scopeId: nextInfo.scopeId,
105
+ });
106
+ }
107
+ return {
108
+ treeNode: new OptionsNode({
109
+ parentId: nextInfo.parentId,
110
+ scopeId: nextInfo.scopeId,
111
+ name: "文本输入框",
112
+ canSetting: true,
113
+ canDrag: true,
114
+ dragType: "component",
115
+ parentObj: nextInfo.parentObject,
116
+ indexOfParentObj: nextInfo.indexOfParent,
117
+ rootOptions: nextInfo.currentObject,
118
+ settingType: Setting,
119
+ contextMenu: SimpleMenu,
120
+ icon: "field-string",
121
+ children: children
122
+ }),
123
+ next: next,
124
+ };
125
+ },
126
+ bindElementsOptionsNode(element, options) {
127
+ const prefix = element.querySelector(".prefix-container");
128
+ const suffix = element.querySelector(".suffix-container");
129
+ return {
130
+ [options.id]: { element },
131
+ [`${options.id}.prefix`]: { element: prefix, dropElement: prefix },
132
+ [`${options.id}.suffix`]: { element: suffix, dropElement: suffix }
133
+ };
134
+ },
135
+ };
136
+
137
+ /**
138
+ * Generated bundle index. Do not edit.
139
+ */
140
+
141
+ export { Config };
142
+ //# sourceMappingURL=ngx-axis-appforge-axis-components-input-design.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-axis-appforge-axis-components-input-design.mjs","sources":["../../../axis-components/input/design/setting/setting.ts","../../../axis-components/input/design/setting/setting.html","../../../axis-components/input/design/config.ts","../../../axis-components/input/design/ngx-axis-appforge-axis-components-input-design.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule, UntypedFormGroup } from '@angular/forms';\nimport { NzCollapseModule } from 'ng-zorro-antd/collapse';\nimport { NzFormModule } from 'ng-zorro-antd/form';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport { NzInputNumberModule } from 'ng-zorro-antd/input-number';\nimport { NzRadioModule } from 'ng-zorro-antd/radio';\nimport { NzSelectModule } from 'ng-zorro-antd/select';\nimport { NzSwitchModule } from 'ng-zorro-antd/switch';\nimport { BaseDesignSetting, baseFbConfig, baseFunField, FormValidators, FunField, FunFieldOptions, FunFieldValueBase, InputTrigger, ValueDesignSetting, valueFbConfig, valueFunField } from 'ngx-axis-appforge/core';\n\n@Component({\n selector: 'axis-design-input-setting',\n imports: [FormsModule, NzCollapseModule, ReactiveFormsModule, NzInputNumberModule, NzInputModule, NzFormModule, FunField, NzSwitchModule, BaseDesignSetting, InputTrigger, NzRadioModule, ValueDesignSetting, NzSelectModule],\n templateUrl: './setting.html',\n styleUrl: './setting.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Setting extends FunFieldValueBase {\n\n override fg: UntypedFormGroup = this.fb.group({\n ...baseFbConfig,\n ...valueFbConfig,\n type: [undefined, FormValidators.requiredFun],\n placeholder: [],\n variant: [\"outlined\", FormValidators.required],\n maxlength: [null],\n debounceTime: [],\n autofocus: [undefined, FormValidators.requiredFun],\n });\n\n protected override funFields: FunFieldOptions = {\n ...baseFunField,\n ...valueFunField,\n type: {\n defaultValue: \"text\"\n },\n placeholder: {\n defaultValue: \"\"\n },\n maxlength: {\n defaultValue: null\n },\n debounceTime: {\n defaultValue: \"\"\n },\n autofocus: {\n defaultValue: false\n }\n };\n}\n","<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"输入设置\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 输入类型\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"type\">\n <nz-radio-group ngModel [ngModelOptions]=\"{standalone:true}\">\n <label nz-radio-button nzValue=\"text\">文本</label>\n <label nz-radio-button nzValue=\"password\">密码</label>\n </nz-radio-group>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n 最大长度\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"maxlength\">\n <nz-input-number style=\"width: 100%;\" ngModel [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"1\">\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n 防抖时间\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"debounceTime\">\n <nz-input-number style=\"width: 100%;\" nzPlaceHolder=\"毫秒\" ngModel\n [ngModelOptions]=\"{standalone:true}\" [nzMin]=\"1\">\n </nz-input-number>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 自动焦点\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"autofocus\">\n <nz-switch ngModel [ngModelOptions]=\"{standalone:true}\"></nz-switch>\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 形态变体\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <nz-select formControlName=\"variant\">\n <nz-option nzValue=\"outlined\" nzLabel=\"外边框\"></nz-option>\n <nz-option nzValue=\"borderless\" nzLabel=\"无边框\"></nz-option>\n <nz-option nzValue=\"filled\" nzLabel=\"填充\"></nz-option>\n <nz-option nzValue=\"underlined\" nzLabel=\"下边线\"></nz-option>\n </nz-select>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\">\n 占位符\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"placeholder\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <axis-value-design-setting [fg]=\"fg\"></axis-value-design-setting>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n <axis-input-trigger formControlName=\"triggeEvents\" [internalTriggers]=\"['valueChange']\"\n [eventDesc]=\"[{name:'enterKeydown',title:'按下回车'}]\"></axis-input-trigger>\n </nz-collapse>\n</form>","import { NextInfo, DesignBuildResult, DesignBindElementsResult, DesignConfig, OptionsNode, SimpleMenu } from \"ngx-axis-appforge/core\";\nimport { Setting } from \"./setting/setting\";\n\nexport const Config: DesignConfig = {\n\n componentName: \"文本输入框\",\n buildOptionsNodes(nextInfo: NextInfo): DesignBuildResult {\n const children: OptionsNode[] = [];\n const next: NextInfo[] = [];\n if (!nextInfo.currentObject.variant || nextInfo.currentObject.variant == \"outlined\") {\n children.push(new OptionsNode({\n id: nextInfo.currentObject.id + \".prefix\",\n parentId: nextInfo.currentObject.id,\n scopeId: nextInfo.scopeId,\n name: \"前缀\",\n contextMenu: SimpleMenu,\n canDrop: true,\n dropType: \"component\",\n dropObj: nextInfo.currentObject,\n defaultDropIndex: \"prefix\",\n indexOfParentObj: \"prefix\",\n rootOptions: nextInfo.currentObject,\n children: [],\n }));\n next.push({\n parentId: nextInfo.currentObject.id + \".prefix\",\n parentObject: nextInfo.currentObject,\n indexOfParent: \"prefix\",\n scopeId: nextInfo.scopeId,\n });\n children.push(new OptionsNode({\n id: nextInfo.currentObject.id + \".suffix\",\n parentId: nextInfo.currentObject.id,\n scopeId: nextInfo.scopeId,\n name: \"后缀\",\n contextMenu: SimpleMenu,\n canDrop: true,\n dropType: \"component\",\n dropObj: nextInfo.currentObject,\n defaultDropIndex: \"suffix\",\n indexOfParentObj: \"suffix\",\n rootOptions: nextInfo.currentObject,\n children: [],\n }));\n next.push({\n parentId: nextInfo.currentObject.id + \".suffix\",\n parentObject: nextInfo.currentObject,\n indexOfParent: \"suffix\",\n scopeId: nextInfo.scopeId,\n });\n }\n return {\n treeNode: new OptionsNode({\n parentId: nextInfo.parentId,\n scopeId: nextInfo.scopeId,\n name: \"文本输入框\",\n canSetting: true,\n canDrag: true,\n dragType: \"component\",\n parentObj: nextInfo.parentObject,\n indexOfParentObj: nextInfo.indexOfParent,\n rootOptions: nextInfo.currentObject,\n settingType: Setting,\n contextMenu: SimpleMenu,\n icon: \"field-string\",\n children: children\n }),\n next: next,\n };\n },\n bindElementsOptionsNode(element: HTMLElement, options: any): DesignBindElementsResult {\n const prefix: HTMLElement = element.querySelector(\".prefix-container\") as HTMLElement;\n const suffix: HTMLElement = element.querySelector(\".suffix-container\") as HTMLElement;\n return {\n [options.id]: { element },\n [`${options.id}.prefix`]: { element: prefix, dropElement: prefix },\n [`${options.id}.suffix`]: { element: suffix, dropElement: suffix }\n }\n },\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './config';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;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ig, valueFunField, baseFunField, BaseDesignSetting, FunField, InputTrigger, ValueDesignSetting, OptionsNode, SimpleMenu } from 'ngx-axis-appforge/core';
2
+ import * as i0 from '@angular/core';
3
+ import { ChangeDetectionStrategy, Component } from '@angular/core';
4
+ import * as i1 from '@angular/forms';
5
+ import { FormsModule, ReactiveFormsModule } from '@angular/forms';
6
+ import * as i3 from 'ng-zorro-antd/form';
7
+ import { NzFormModule } from 'ng-zorro-antd/form';
8
+ import * as i5 from 'ng-zorro-antd/input';
9
+ import { NzInputModule } from 'ng-zorro-antd/input';
10
+ import * as i4 from 'ng-zorro-antd/collapse';
11
+ import { NzCollapseModule } from 'ng-zorro-antd/collapse';
12
+ import * as i2 from 'ng-zorro-antd/grid';
13
+
14
+ class Setting extends FunFieldValueBase {
15
+ fg = this.fb.group(({
16
+ ...baseFbConfig,
17
+ ...valueFbConfig,
18
+ placeholder: [],
19
+ modalTitle: [],
20
+ }));
21
+ funFields = {
22
+ ...baseFunField,
23
+ ...valueFunField,
24
+ placeholder: {
25
+ defaultValue: "设置图标"
26
+ },
27
+ modalTitle: {
28
+ defaultValue: "设置图标"
29
+ },
30
+ };
31
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: Setting, deps: null, target: i0.ɵɵFactoryTarget.Component });
32
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.2", type: Setting, isStandalone: true, selector: "axis-design-input-icon-setting", usesInheritance: true, ngImport: i0, template: "<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"\u57FA\u672C\u8BBE\u7F6E\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u63D0\u793A\u6587\u672C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"placeholder\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5F39\u7A97\u6807\u9898\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"modalTitle\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <axis-value-design-setting [fg]=\"fg\"></axis-value-design-setting>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n <axis-input-trigger formControlName=\"triggeEvents\" [internalTriggers]=\"['valueChange']\"></axis-input-trigger>\n </nz-collapse>\n</form>", styles: [""], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NzFormModule }, { kind: "directive", type: i2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "directive", type: i3.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzForm"] }, { kind: "component", type: i3.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { kind: "component", type: i3.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzFor", "nzRequired", "nzNoColon", "nzTooltipTitle", "nzTooltipIcon", "nzLabelAlign", "nzLabelWrap"], exportAs: ["nzFormLabel"] }, { kind: "component", type: i3.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra", "nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus"], exportAs: ["nzFormControl"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: NzCollapseModule }, { kind: "component", type: i4.NzCollapsePanelComponent, selector: "nz-collapse-panel", inputs: ["nzActive", "nzDisabled", "nzShowArrow", "nzExtra", "nzHeader", "nzExpandedIcon"], outputs: ["nzActiveChange"], exportAs: ["nzCollapsePanel"] }, { kind: "component", type: i4.NzCollapseComponent, selector: "nz-collapse", inputs: ["nzAccordion", "nzBordered", "nzGhost", "nzExpandIconPosition"], exportAs: ["nzCollapse"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i5.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzVariant", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "component", type: BaseDesignSetting, selector: "axis-base-design-setting", inputs: ["scopeId", "exclude", "fg"] }, { kind: "component", type: FunField, selector: "axis-fun-field", inputs: ["scopes", "exclude", "scopeId", "onlyFun", "noListen", "disabled", "editTip", "value", "open", "showCreateListenModal", "createListenDataSourceName"], outputs: ["valueChange", "openChange", "showCreateListenModalChange", "createListenDataSourceNameChange"] }, { kind: "component", type: InputTrigger, selector: "axis-input-trigger", inputs: ["internalTriggers", "value", "eventDesc", "isVisibleHandlerModal", "editEventHandler"], outputs: ["valueChange", "isVisibleHandlerModalChange", "editEventHandlerChange"] }, { kind: "component", type: ValueDesignSetting, selector: "axis-value-design-setting", inputs: ["scopeId", "exclude", "fg"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
33
+ }
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: Setting, decorators: [{
35
+ type: Component,
36
+ args: [{ selector: 'axis-design-input-icon-setting', imports: [FormsModule, NzFormModule, ReactiveFormsModule, NzCollapseModule, NzInputModule, BaseDesignSetting, FunField, InputTrigger, ValueDesignSetting], changeDetection: ChangeDetectionStrategy.OnPush, template: "<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"\u57FA\u672C\u8BBE\u7F6E\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u63D0\u793A\u6587\u672C\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"placeholder\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n \u5F39\u7A97\u6807\u9898\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"modalTitle\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <axis-value-design-setting [fg]=\"fg\"></axis-value-design-setting>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n <axis-input-trigger formControlName=\"triggeEvents\" [internalTriggers]=\"['valueChange']\"></axis-input-trigger>\n </nz-collapse>\n</form>" }]
37
+ }] });
38
+
39
+ const Config = {
40
+ componentName: "图标输入框",
41
+ buildOptionsNodes(nextInfo) {
42
+ return {
43
+ treeNode: new OptionsNode({
44
+ parentId: nextInfo.parentId,
45
+ scopeId: nextInfo.scopeId,
46
+ name: "图标输入框",
47
+ canSetting: true,
48
+ canDrag: true,
49
+ dragType: "component",
50
+ parentObj: nextInfo.parentObject,
51
+ indexOfParentObj: nextInfo.indexOfParent,
52
+ rootOptions: nextInfo.currentObject,
53
+ settingType: Setting,
54
+ contextMenu: SimpleMenu,
55
+ icon: "highlight"
56
+ })
57
+ };
58
+ },
59
+ bindElementsOptionsNode(element, options) {
60
+ return {
61
+ [options.id]: { element }
62
+ };
63
+ },
64
+ };
65
+
66
+ /**
67
+ * Generated bundle index. Do not edit.
68
+ */
69
+
70
+ export { Config };
71
+ //# sourceMappingURL=ngx-axis-appforge-axis-components-input-icon-design.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ngx-axis-appforge-axis-components-input-icon-design.mjs","sources":["../../../axis-components/input-icon/design/setting/setting.ts","../../../axis-components/input-icon/design/setting/setting.html","../../../axis-components/input-icon/design/config.ts","../../../axis-components/input-icon/design/ngx-axis-appforge-axis-components-input-icon-design.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule, UntypedFormGroup } from '@angular/forms';\nimport { NzFormModule } from 'ng-zorro-antd/form';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport { BaseDesignSetting, baseFbConfig, baseFunField, FunField, FunFieldOptions, FunFieldValueBase, InputTrigger, ValueDesignSetting, valueFbConfig, valueFunField } from 'ngx-axis-appforge/core';\nimport { NzCollapseModule } from 'ng-zorro-antd/collapse';\n\n@Component({\n selector: 'axis-design-input-icon-setting',\n imports: [FormsModule, NzFormModule, ReactiveFormsModule, NzCollapseModule, NzInputModule, BaseDesignSetting, FunField, InputTrigger, ValueDesignSetting],\n templateUrl: './setting.html',\n styleUrl: './setting.css',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Setting extends FunFieldValueBase {\n override fg: UntypedFormGroup = this.fb.group(({\n ...baseFbConfig,\n ...valueFbConfig,\n placeholder: [],\n modalTitle: [],\n }));\n\n protected override funFields: FunFieldOptions = {\n ...baseFunField,\n ...valueFunField,\n placeholder: {\n defaultValue: \"设置图标\"\n },\n modalTitle: {\n defaultValue: \"设置图标\"\n },\n };\n}\n","<form [formGroup]=\"fg\" nz-form>\n <nz-collapse [nzBordered]=\"false\">\n <nz-collapse-panel nzHeader=\"基本设置\" nzActive>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 提示文本\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"placeholder\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label nzSpan=\"8\" nzRequired>\n 弹窗标题\n </nz-form-label>\n <nz-form-control nzSpan=\"16\">\n <axis-fun-field formControlName=\"modalTitle\">\n <input nz-input ngModel [ngModelOptions]=\"{standalone:true}\" />\n </axis-fun-field>\n </nz-form-control>\n </nz-form-item>\n </nz-collapse-panel>\n <axis-value-design-setting [fg]=\"fg\"></axis-value-design-setting>\n <axis-base-design-setting [fg]=\"fg\"></axis-base-design-setting>\n <axis-input-trigger formControlName=\"triggeEvents\" [internalTriggers]=\"['valueChange']\"></axis-input-trigger>\n </nz-collapse>\n</form>","import { NextInfo, DesignBuildResult, DesignBindElementsResult, DesignConfig, OptionsNode, SimpleMenu } from \"ngx-axis-appforge/core\";\nimport { Setting } from \"./setting/setting\";\n\nexport const Config: DesignConfig = {\n\n componentName: \"图标输入框\",\n buildOptionsNodes(nextInfo: NextInfo): DesignBuildResult {\n return {\n treeNode: new OptionsNode({\n parentId: nextInfo.parentId,\n scopeId: nextInfo.scopeId,\n name: \"图标输入框\",\n canSetting: true,\n canDrag: true,\n dragType: \"component\",\n parentObj: nextInfo.parentObject,\n indexOfParentObj: nextInfo.indexOfParent,\n rootOptions: nextInfo.currentObject,\n settingType: Setting,\n contextMenu: SimpleMenu,\n icon: \"highlight\"\n })\n };\n },\n bindElementsOptionsNode(element: HTMLElement, options: any): DesignBindElementsResult {\n return {\n [options.id]: { element }\n }\n },\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './config';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAcM,MAAO,OAAQ,SAAQ,iBAAiB,CAAA;AACnC,IAAA,EAAE,GAAqB,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE;AAC7C,QAAA,GAAG,YAAY;AACf,QAAA,GAAG,aAAa;AAChB,QAAA,WAAW,EAAE,EAAE;AACf,QAAA,UAAU,EAAE,EAAE;AACf,KAAA,EAAE;AAEgB,IAAA,SAAS,GAAoB;AAC9C,QAAA,GAAG,YAAY;AACf,QAAA,GAAG,aAAa;AAChB,QAAA,WAAW,EAAE;AACX,YAAA,YAAY,EAAE;AACf,SAAA;AACD,QAAA,UAAU,EAAE;AACV,YAAA,YAAY,EAAE;AACf,SAAA;KACF;uGAjBU,OAAO,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAP,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,OAAO,iHCdpB,o6CA4BO,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDnBK,WAAW,EAAA,EAAA,EAAA,IAA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