@rxap/schematic-angular 16.2.0-dev.2 → 16.2.0-dev.21

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 (332) hide show
  1. package/CHANGELOG.md +159 -0
  2. package/README.md +1 -1
  3. package/collection.json +10 -0
  4. package/package.json +11 -9
  5. package/src/lib/accordion-header.d.ts +5 -0
  6. package/src/lib/accordion-header.js +9 -3
  7. package/src/lib/accordion-header.js.map +1 -1
  8. package/src/lib/accordion-identifier.d.ts +4 -0
  9. package/src/lib/accordion-identifier.js.map +1 -1
  10. package/src/lib/accordion-item.d.ts +25 -17
  11. package/src/lib/accordion-item.js +72 -33
  12. package/src/lib/accordion-item.js.map +1 -1
  13. package/src/lib/accordion-itme-kinds.d.ts +8 -0
  14. package/src/lib/accordion-itme-kinds.js +16 -0
  15. package/src/lib/accordion-itme-kinds.js.map +1 -0
  16. package/src/lib/coerce-accordion-component.js +7 -3
  17. package/src/lib/coerce-accordion-component.js.map +1 -1
  18. package/src/lib/coerce-accordion-item-table-component.js +1 -1
  19. package/src/lib/coerce-accordion-item-table-component.js.map +1 -1
  20. package/src/lib/coerce-form-component.js +17 -2
  21. package/src/lib/coerce-form-component.js.map +1 -1
  22. package/src/lib/coerce-minimum-table-component.js +9 -3
  23. package/src/lib/coerce-minimum-table-component.js.map +1 -1
  24. package/src/lib/coerce-tree-table-component.js +16 -0
  25. package/src/lib/coerce-tree-table-component.js.map +1 -1
  26. package/src/lib/data-grid-item.d.ts +46 -11
  27. package/src/lib/data-grid-item.js +81 -6
  28. package/src/lib/data-grid-item.js.map +1 -1
  29. package/src/lib/data-grid-mode.d.ts +4 -0
  30. package/src/lib/data-grid-mode.js +9 -0
  31. package/src/lib/data-grid-mode.js.map +1 -0
  32. package/src/lib/data-grid-options.d.ts +12 -5
  33. package/src/lib/data-grid-options.js +43 -13
  34. package/src/lib/data-grid-options.js.map +1 -1
  35. package/src/lib/form/abstract-control.d.ts +29 -0
  36. package/src/lib/form/abstract-control.js +37 -0
  37. package/src/lib/form/abstract-control.js.map +1 -0
  38. package/src/lib/form/array/base-form-array.d.ts +18 -0
  39. package/src/lib/form/array/base-form-array.js +40 -0
  40. package/src/lib/form/array/base-form-array.js.map +1 -0
  41. package/src/lib/form/array/form-array-kind.d.ts +3 -0
  42. package/src/lib/form/array/form-array-kind.js +8 -0
  43. package/src/lib/form/array/form-array-kind.js.map +1 -0
  44. package/src/lib/form/array/form-array.d.ts +12 -0
  45. package/src/lib/form/array/form-array.js +18 -0
  46. package/src/lib/form/array/form-array.js.map +1 -0
  47. package/src/lib/form/coerce-control-component-imports.d.ts +3 -0
  48. package/src/lib/form/coerce-control-component-imports.js +18 -0
  49. package/src/lib/form/coerce-control-component-imports.js.map +1 -0
  50. package/src/lib/form/control/base-form-control.d.ts +14 -0
  51. package/src/lib/form/control/base-form-control.js +19 -0
  52. package/src/lib/form/control/base-form-control.js.map +1 -0
  53. package/src/lib/form/control/checkbox-form-control.d.ts +11 -0
  54. package/src/lib/form/control/checkbox-form-control.js +23 -0
  55. package/src/lib/form/control/checkbox-form-control.js.map +1 -0
  56. package/src/lib/form/control/form-control-kind.d.ts +8 -0
  57. package/src/lib/form/control/form-control-kind.js +13 -0
  58. package/src/lib/form/control/form-control-kind.js.map +1 -0
  59. package/src/lib/form/control/form-control.d.ts +18 -0
  60. package/src/lib/form/control/form-control.js +40 -0
  61. package/src/lib/form/control/form-control.js.map +1 -0
  62. package/src/lib/form/control/form-field-form-control.d.ts +33 -0
  63. package/src/lib/form/control/form-field-form-control.js +76 -0
  64. package/src/lib/form/control/form-field-form-control.js.map +1 -0
  65. package/src/lib/form/control/input-form-control.d.ts +14 -0
  66. package/src/lib/form/control/input-form-control.js +71 -0
  67. package/src/lib/form/control/input-form-control.js.map +1 -0
  68. package/src/lib/form/control/select-form-control.d.ts +18 -0
  69. package/src/lib/form/control/select-form-control.js +29 -0
  70. package/src/lib/form/control/select-form-control.js.map +1 -0
  71. package/src/lib/form/control/slide-toggle-form-control.d.ts +11 -0
  72. package/src/lib/form/control/slide-toggle-form-control.js +23 -0
  73. package/src/lib/form/control/slide-toggle-form-control.js.map +1 -0
  74. package/src/lib/form/control/table-select-form-control.d.ts +43 -0
  75. package/src/lib/form/control/table-select-form-control.js +69 -0
  76. package/src/lib/form/control/table-select-form-control.js.map +1 -0
  77. package/src/lib/form/control.d.ts +8 -0
  78. package/src/lib/form/control.js +38 -0
  79. package/src/lib/form/control.js.map +1 -0
  80. package/src/lib/form/generate-form-template.d.ts +5 -0
  81. package/src/lib/form/generate-form-template.js +12 -0
  82. package/src/lib/form/generate-form-template.js.map +1 -0
  83. package/src/lib/form/group/base-form-group.d.ts +17 -0
  84. package/src/lib/form/group/base-form-group.js +20 -0
  85. package/src/lib/form/group/base-form-group.js.map +1 -0
  86. package/src/lib/form/group/form-group-kind.d.ts +3 -0
  87. package/src/lib/form/group/form-group-kind.js +8 -0
  88. package/src/lib/form/group/form-group-kind.js.map +1 -0
  89. package/src/lib/form/group/form-group.d.ts +12 -0
  90. package/src/lib/form/group/form-group.js +18 -0
  91. package/src/lib/form/group/form-group.js.map +1 -0
  92. package/src/lib/load-handlebars-template.d.ts +4 -0
  93. package/src/lib/load-handlebars-template.js +28 -0
  94. package/src/lib/load-handlebars-template.js.map +1 -0
  95. package/src/lib/merge-with-column-list.js +3 -1
  96. package/src/lib/merge-with-column-list.js.map +1 -1
  97. package/src/lib/minimum-table-component-options.d.ts +12 -2
  98. package/src/lib/minimum-table-component-options.js +14 -17
  99. package/src/lib/minimum-table-component-options.js.map +1 -1
  100. package/src/lib/minimum-table-options.d.ts +1 -1
  101. package/src/lib/minimum-table-options.js +2 -2
  102. package/src/lib/minimum-table-options.js.map +1 -1
  103. package/src/lib/pipe-option.d.ts +11 -0
  104. package/src/lib/pipe-option.js +75 -0
  105. package/src/lib/pipe-option.js.map +1 -0
  106. package/src/lib/table/table-filter-column-rule.d.ts +13 -0
  107. package/src/lib/table/table-filter-column-rule.js +88 -0
  108. package/src/lib/table/table-filter-column-rule.js.map +1 -0
  109. package/src/lib/table-column.d.ts +20 -9
  110. package/src/lib/table-column.js +133 -113
  111. package/src/lib/table-column.js.map +1 -1
  112. package/src/lib/table-options.d.ts +1 -1
  113. package/src/lib/tree-table-options.d.ts +1 -1
  114. package/src/lib/use-pick-from-table-interface-as-form-type.d.ts +10 -0
  115. package/src/lib/use-pick-from-table-interface-as-form-type.js +32 -0
  116. package/src/lib/use-pick-from-table-interface-as-form-type.js.map +1 -0
  117. package/src/lib/value-option.d.ts +12 -0
  118. package/src/lib/value-option.js +66 -0
  119. package/src/lib/value-option.js.map +1 -0
  120. package/src/schema.json +2626 -0
  121. package/src/schematic-input.schema.json +541 -0
  122. package/src/schematics/abstract-control.schema.json +78 -0
  123. package/src/schematics/accordion/accordion-component/files/component/__componentName__.component.html.hbs +25 -0
  124. package/src/schematics/accordion/accordion-component/index.d.ts +5 -2
  125. package/src/schematics/accordion/accordion-component/index.js +56 -122
  126. package/src/schematics/accordion/accordion-component/index.js.map +1 -1
  127. package/src/schematics/accordion/accordion-component/schema.d.ts +6 -0
  128. package/src/schematics/accordion/accordion-component/schema.json +321 -139
  129. package/src/schematics/accordion/accordion-component/template.schema.json +105 -0
  130. package/src/schematics/accordion/accordion-item-component/index.d.ts +9 -4
  131. package/src/schematics/accordion/accordion-item-component/index.js +112 -86
  132. package/src/schematics/accordion/accordion-item-component/index.js.map +1 -1
  133. package/src/schematics/accordion/accordion-item-component/schema.d.ts +2 -2
  134. package/src/schematics/accordion/accordion-item-component/schema.json +282 -70
  135. package/src/schematics/accordion/accordion-item-component/template.schema.json +32 -0
  136. package/src/schematics/accordion/item/accordion-item-data-grid-component/index.d.ts +1 -1
  137. package/src/schematics/accordion/item/accordion-item-data-grid-component/index.js +35 -51
  138. package/src/schematics/accordion/item/accordion-item-data-grid-component/index.js.map +1 -1
  139. package/src/schematics/accordion/item/accordion-item-data-grid-component/schema.d.ts +1 -1
  140. package/src/schematics/accordion/item/accordion-item-data-grid-component/schema.json +963 -73
  141. package/src/schematics/accordion/item/accordion-item-data-grid-component/template.schema.json +31 -0
  142. package/src/schematics/accordion/item/accordion-item-switch-component/index.d.ts +1 -1
  143. package/src/schematics/accordion/item/accordion-item-switch-component/index.js +16 -8
  144. package/src/schematics/accordion/item/accordion-item-switch-component/index.js.map +1 -1
  145. package/src/schematics/accordion/item/accordion-item-switch-component/schema.d.ts +1 -1
  146. package/src/schematics/accordion/item/accordion-item-switch-component/schema.json +321 -189
  147. package/src/schematics/accordion/item/accordion-item-switch-component/template.schema.json +81 -0
  148. package/src/schematics/accordion/item/accordion-item-table-component/index.d.ts +1 -1
  149. package/src/schematics/accordion/item/accordion-item-table-component/index.js +16 -19
  150. package/src/schematics/accordion/item/accordion-item-table-component/index.js.map +1 -1
  151. package/src/schematics/accordion/item/accordion-item-table-component/schema.d.ts +1 -1
  152. package/src/schematics/accordion/item/accordion-item-table-component/schema.json +1005 -293
  153. package/src/schematics/accordion/item/accordion-item-table-component/template.schema.json +43 -0
  154. package/src/schematics/accordion/item/accordion-item-tree-table-component/index.d.ts +1 -1
  155. package/src/schematics/accordion/item/accordion-item-tree-table-component/index.js +48 -84
  156. package/src/schematics/accordion/item/accordion-item-tree-table-component/index.js.map +1 -1
  157. package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.d.ts +1 -1
  158. package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.json +968 -273
  159. package/src/schematics/accordion/item/accordion-item-tree-table-component/template.schema.json +43 -0
  160. package/src/schematics/accordion/templates/accordion-header.hbs +6 -0
  161. package/src/schematics/accordion/templates/data-grid-accordion-item.hbs +15 -0
  162. package/src/schematics/accordion/templates/default-accordion-item.hbs +15 -0
  163. package/src/schematics/accordion/templates/switch-accordion-item.hbs +21 -0
  164. package/src/schematics/accordion/templates/table-accordion-item.hbs +15 -0
  165. package/src/schematics/accordion/templates/tree-table-accordion-item.hbs +15 -0
  166. package/src/schematics/accordion-identifier.schema.json +25 -0
  167. package/src/schematics/accordion-item.schema.json +59 -0
  168. package/src/schematics/angular.schema.json +11 -11
  169. package/src/schematics/backend.schema.json +13 -0
  170. package/src/schematics/base-form-array.schema.json +45 -0
  171. package/src/schematics/base-form-control.schema.json +27 -0
  172. package/src/schematics/base-form-group.schema.json +42 -0
  173. package/src/schematics/button.schema.json +30 -0
  174. package/src/schematics/checkbox-form-control.schema.json +30 -0
  175. package/src/schematics/control.schema.json +26 -0
  176. package/src/schematics/data-grid-component/files/component/__componentName__.component.html.hbs +35 -0
  177. package/src/schematics/data-grid-component/index.d.ts +2 -4
  178. package/src/schematics/data-grid-component/index.js +87 -52
  179. package/src/schematics/data-grid-component/index.js.map +1 -1
  180. package/src/schematics/data-grid-component/schema.json +924 -131
  181. package/src/schematics/data-grid-component/template.schema.json +20 -0
  182. package/src/schematics/data-grid-component/templates/default-data-grid-item.hbs +3 -0
  183. package/src/schematics/data-grid-component/templates/link-data-grid-item.hbs +8 -0
  184. package/src/schematics/data-grid-item.schema.json +50 -0
  185. package/src/schematics/data-grid.schema.json +66 -0
  186. package/src/schematics/dialog-component/schema.json +141 -65
  187. package/src/schematics/dialog-component/template.schema.json +62 -0
  188. package/src/schematics/form/control/input-form-control/index.d.ts +2 -2
  189. package/src/schematics/form/control/input-form-control/index.js +4 -27
  190. package/src/schematics/form/control/input-form-control/index.js.map +1 -1
  191. package/src/schematics/form/control/input-form-control/schema.d.ts +2 -3
  192. package/src/schematics/form/control/input-form-control/schema.json +341 -94
  193. package/src/schematics/form/control/input-form-control/template.schema.json +33 -0
  194. package/src/schematics/form/control/select-form-control/index.d.ts +4 -2
  195. package/src/schematics/form/control/select-form-control/index.js +140 -97
  196. package/src/schematics/form/control/select-form-control/index.js.map +1 -1
  197. package/src/schematics/form/control/select-form-control/schema.d.ts +2 -4
  198. package/src/schematics/form/control/select-form-control/schema.json +348 -81
  199. package/src/schematics/form/control/select-form-control/template.schema.json +33 -0
  200. package/src/schematics/form/control/table-select-form-control/index.d.ts +5 -7
  201. package/src/schematics/form/control/table-select-form-control/index.js +205 -143
  202. package/src/schematics/form/control/table-select-form-control/index.js.map +1 -1
  203. package/src/schematics/form/control/table-select-form-control/schema.d.ts +2 -5
  204. package/src/schematics/form/control/table-select-form-control/schema.json +431 -84
  205. package/src/schematics/form/control/table-select-form-control/template.schema.json +39 -0
  206. package/src/schematics/form/form-array/index.d.ts +9 -0
  207. package/src/schematics/form/form-array/index.js +54 -0
  208. package/src/schematics/form/form-array/index.js.map +1 -0
  209. package/src/schematics/form/form-array/schema.d.ts +4 -0
  210. package/src/schematics/form/form-array/schema.json +823 -0
  211. package/src/schematics/form/form-array/template.schema.json +33 -0
  212. package/src/schematics/form/form-component/files/component/{__componentName__.component.html.template → __componentName__.component.html.hbs} +7 -4
  213. package/src/schematics/form/form-component/index.d.ts +4 -4
  214. package/src/schematics/form/form-component/index.js +22 -23
  215. package/src/schematics/form/form-component/index.js.map +1 -1
  216. package/src/schematics/form/form-component/schema.d.ts +4 -2
  217. package/src/schematics/form/form-component/schema.json +841 -136
  218. package/src/schematics/form/form-component/template.schema.json +20 -0
  219. package/src/schematics/form/form-control/index.d.ts +6 -6
  220. package/src/schematics/form/form-control/index.js +23 -24
  221. package/src/schematics/form/form-control/index.js.map +1 -1
  222. package/src/schematics/form/form-control/schema.d.ts +2 -4
  223. package/src/schematics/form/form-control/schema.json +652 -67
  224. package/src/schematics/form/form-control/template.schema.json +33 -0
  225. package/src/schematics/form/form-definition/index.d.ts +2 -2
  226. package/src/schematics/form/form-definition/index.js +30 -4
  227. package/src/schematics/form/form-definition/index.js.map +1 -1
  228. package/src/schematics/form/form-definition/schema.d.ts +2 -2
  229. package/src/schematics/form/form-definition/schema.json +805 -118
  230. package/src/schematics/form/form-definition/template.schema.json +30 -0
  231. package/src/schematics/form/form-group/index.d.ts +9 -0
  232. package/src/schematics/form/form-group/index.js +54 -0
  233. package/src/schematics/form/form-group/index.js.map +1 -0
  234. package/src/schematics/form/form-group/schema.d.ts +4 -0
  235. package/src/schematics/form/form-group/schema.json +823 -0
  236. package/src/schematics/form/form-group/template.schema.json +33 -0
  237. package/src/schematics/form/templates/checkbox-form-control.hbs +9 -0
  238. package/src/schematics/form/templates/default-form-array.hbs +27 -0
  239. package/src/schematics/form/templates/default-form-control.hbs +2 -0
  240. package/src/schematics/form/templates/default-form-group.hbs +13 -0
  241. package/src/schematics/form/templates/input-form-control.hbs +9 -0
  242. package/src/schematics/form/templates/mat-form-field.hbs +31 -0
  243. package/src/schematics/form/templates/select-form-control.hbs +5 -0
  244. package/src/schematics/form/templates/slide-toggle-form-control.hbs +8 -0
  245. package/src/schematics/form/templates/table-select-form-control.hbs +18 -0
  246. package/src/schematics/form-array.schema.json +40 -0
  247. package/src/schematics/form-component.schema.json +45 -0
  248. package/src/schematics/form-control.schema.json +77 -0
  249. package/src/schematics/form-definition.schema.json +22 -0
  250. package/src/schematics/form-field.schema.json +24 -0
  251. package/src/schematics/form-group.schema.json +40 -0
  252. package/src/schematics/general.schema.json +1 -4
  253. package/src/schematics/header-button.schema.json +42 -0
  254. package/src/schematics/input-form-control.schema.json +59 -0
  255. package/src/schematics/minimum-table.schema.json +60 -0
  256. package/src/schematics/pipe.schema.json +38 -0
  257. package/src/schematics/property.schema.json +31 -0
  258. package/src/schematics/select-form-control.schema.json +68 -0
  259. package/src/schematics/slide-toggle-form-control.schema.json +30 -0
  260. package/src/schematics/table/action/dialog-table-action/schema.json +207 -123
  261. package/src/schematics/table/action/dialog-table-action/template.schema.json +58 -0
  262. package/src/schematics/table/action/form-table-action/index.d.ts +2 -2
  263. package/src/schematics/table/action/form-table-action/index.js +3 -4
  264. package/src/schematics/table/action/form-table-action/index.js.map +1 -1
  265. package/src/schematics/table/action/form-table-action/schema.d.ts +2 -2
  266. package/src/schematics/table/action/form-table-action/schema.json +949 -139
  267. package/src/schematics/table/action/form-table-action/template.schema.json +75 -0
  268. package/src/schematics/table/action/navigation-table-action/schema.json +187 -80
  269. package/src/schematics/table/action/navigation-table-action/template.schema.json +28 -0
  270. package/src/schematics/table/action/open-api-table-action/schema.json +203 -94
  271. package/src/schematics/table/action/open-api-table-action/template.schema.json +56 -0
  272. package/src/schematics/table/action/operation-table-action/schema.json +174 -84
  273. package/src/schematics/table/action/operation-table-action/template.schema.json +14 -0
  274. package/src/schematics/table/header-button/form-table-header-button/index.d.ts +2 -2
  275. package/src/schematics/table/header-button/form-table-header-button/index.js +2 -2
  276. package/src/schematics/table/header-button/form-table-header-button/index.js.map +1 -1
  277. package/src/schematics/table/header-button/form-table-header-button/schema.d.ts +2 -2
  278. package/src/schematics/table/header-button/form-table-header-button/schema.json +910 -98
  279. package/src/schematics/table/header-button/form-table-header-button/template.schema.json +33 -0
  280. package/src/schematics/table/header-button/navigation-table-header-button/schema.json +167 -71
  281. package/src/schematics/table/header-button/navigation-table-header-button/template.schema.json +28 -0
  282. package/src/schematics/table/table-action/schema.json +165 -78
  283. package/src/schematics/table/table-action/template.schema.json +30 -0
  284. package/src/schematics/table/table-component/files/component/__componentName__.component.html.hbs +241 -0
  285. package/src/schematics/table/table-component/index.d.ts +2 -4
  286. package/src/schematics/table/table-component/index.js +14 -120
  287. package/src/schematics/table/table-component/index.js.map +1 -1
  288. package/src/schematics/table/table-component/schema.json +898 -276
  289. package/src/schematics/table/table-component/template.schema.json +20 -0
  290. package/src/schematics/table/table-header-button/schema.json +145 -63
  291. package/src/schematics/table/table-header-button/template.schema.json +30 -0
  292. package/src/schematics/table/templates/boolean-table-column.hbs +10 -0
  293. package/src/schematics/table/templates/component-table-column.hbs +12 -0
  294. package/src/schematics/table/templates/copy-to-clipboard-table-column.hbs +10 -0
  295. package/src/schematics/table/templates/date-table-column.hbs +11 -0
  296. package/src/schematics/table/templates/default-table-column.hbs +8 -0
  297. package/src/schematics/table/templates/icon-table-column.hbs +10 -0
  298. package/src/schematics/table/templates/link-table-column.hbs +10 -0
  299. package/src/schematics/table/tree-table-component/files/component/__componentName__.component.html.hbs +255 -0
  300. package/src/schematics/table/tree-table-component/index.d.ts +3 -0
  301. package/src/schematics/table/tree-table-component/index.js +28 -7
  302. package/src/schematics/table/tree-table-component/index.js.map +1 -1
  303. package/src/schematics/table/tree-table-component/schema.json +889 -260
  304. package/src/schematics/table/tree-table-component/template.schema.json +20 -0
  305. package/src/schematics/table-action.schema.json +61 -0
  306. package/src/schematics/table-column.schema.json +75 -0
  307. package/src/schematics/table-select-form-control.schema.json +96 -0
  308. package/src/schematics/table.schema.json +57 -0
  309. package/src/schematics/templates/pipe.hbs +4 -0
  310. package/src/schematics/textarea-form-control.schema.json +32 -0
  311. package/src/schematics/tree-component/schema.json +115 -70
  312. package/src/schematics/tree-component/template.schema.json +36 -0
  313. package/src/schematics/tree-table.schema.json +40 -0
  314. package/src/schematics/type.schema.json +35 -0
  315. package/src/schematics/upstream.schema.json +56 -0
  316. package/src/schematics/value.schema.json +26 -0
  317. package/src/template.schema.json +212 -0
  318. package/src/lib/accordion-itme-types.d.ts +0 -8
  319. package/src/lib/accordion-itme-types.js +0 -16
  320. package/src/lib/accordion-itme-types.js.map +0 -1
  321. package/src/lib/form-component-control.d.ts +0 -12
  322. package/src/lib/form-component-control.js +0 -15
  323. package/src/lib/form-component-control.js.map +0 -1
  324. package/src/lib/form-definition-control.d.ts +0 -59
  325. package/src/lib/form-definition-control.js +0 -156
  326. package/src/lib/form-definition-control.js.map +0 -1
  327. package/src/schematics/accordion/accordion-component/files/component/__componentName__.component.html.template +0 -94
  328. package/src/schematics/accordion/accordion-component/files/header-component/accordion-header.component.html.template +0 -10
  329. package/src/schematics/data-grid-component/files/form/__componentName__.component.html.template +0 -42
  330. package/src/schematics/data-grid-component/files/plain/__componentName__.component.html.template +0 -25
  331. package/src/schematics/table/table-component/files/component/__componentName__.component.html.template +0 -299
  332. package/src/schematics/table/tree-table-component/files/component/__componentName__.component.html.template +0 -213
@@ -0,0 +1,2626 @@
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "$id": "schematic-angular",
4
+ "oneOf": [
5
+ {
6
+ "type": "array",
7
+ "items": {
8
+ "$ref": "#/definitions/schematicInput"
9
+ }
10
+ },
11
+ {
12
+ "$ref": "#/definitions/schematicInput"
13
+ }
14
+ ],
15
+ "definitions": {
16
+ "abstractControl": {
17
+ "allOf": [
18
+ {
19
+ "$ref": "#/definitions/property"
20
+ },
21
+ {
22
+ "type": "object",
23
+ "properties": {
24
+ "name": {
25
+ "type": "string",
26
+ "description": "The name of the control"
27
+ },
28
+ "isArray": {
29
+ "type": "boolean",
30
+ "description": "Whether the control value is an array",
31
+ "default": false
32
+ },
33
+ "state": {
34
+ "type": "string",
35
+ "description": "The initial state of the control"
36
+ },
37
+ "isRequired": {
38
+ "type": "boolean",
39
+ "description": "Whether the control value is required",
40
+ "default": false
41
+ },
42
+ "isReadonly": {
43
+ "type": "boolean",
44
+ "description": "Whether the control value is readonly",
45
+ "default": false
46
+ },
47
+ "isDisabled": {
48
+ "type": "boolean",
49
+ "description": "Whether the control value is disabled",
50
+ "default": false
51
+ },
52
+ "validatorList": {
53
+ "type": "array",
54
+ "items": {
55
+ "type": "string"
56
+ }
57
+ },
58
+ "kind": {
59
+ "type": "string",
60
+ "description": "The kind of the control",
61
+ "default": "default"
62
+ },
63
+ "importList": {
64
+ "type": "array",
65
+ "items": {
66
+ "$ref": "#/definitions/type"
67
+ }
68
+ },
69
+ "template": {
70
+ "type": "string",
71
+ "description": "The template of the control"
72
+ },
73
+ "role": {
74
+ "type": "string",
75
+ "description": "The role of the control",
76
+ "enum": [
77
+ "control",
78
+ "group",
79
+ "array"
80
+ ],
81
+ "default": "control"
82
+ }
83
+ },
84
+ "additionalProperties": true
85
+ }
86
+ ]
87
+ },
88
+ "accordionComponentSchematic": {
89
+ "allOf": [
90
+ {
91
+ "$ref": "#/definitions/angular"
92
+ },
93
+ {
94
+ "type": "object",
95
+ "properties": {
96
+ "multiple": {
97
+ "type": "boolean",
98
+ "description": "Whether the accordion should allow multiple panels to be expanded at the same time",
99
+ "default": false,
100
+ "alias": "multi"
101
+ },
102
+ "persistent": {
103
+ "oneOf": [
104
+ {
105
+ "type": "object",
106
+ "properties": {
107
+ "key": {
108
+ "type": "string"
109
+ }
110
+ },
111
+ "required": [
112
+ "key"
113
+ ]
114
+ },
115
+ {
116
+ "type": "object",
117
+ "properties": {
118
+ "property": {
119
+ "$ref": "#/definitions/property"
120
+ }
121
+ },
122
+ "required": [
123
+ "property"
124
+ ]
125
+ }
126
+ ]
127
+ },
128
+ "identifier": {
129
+ "$ref": "#/definitions/accordionIdentifier"
130
+ },
131
+ "header": {
132
+ "oneOf": [
133
+ {
134
+ "type": "object",
135
+ "properties": {
136
+ "title": {
137
+ "type": "string"
138
+ }
139
+ },
140
+ "required": [
141
+ "title"
142
+ ]
143
+ },
144
+ {
145
+ "type": "object",
146
+ "properties": {
147
+ "property": {
148
+ "$ref": "#/definitions/property"
149
+ }
150
+ },
151
+ "required": [
152
+ "property"
153
+ ]
154
+ }
155
+ ]
156
+ },
157
+ "itemList": {
158
+ "alias": "item",
159
+ "type": "array",
160
+ "items": {
161
+ "$ref": "#/definitions/accordionItem"
162
+ },
163
+ "description": "The list of accordion expansion panels"
164
+ },
165
+ "upstream": {
166
+ "$ref": "#/definitions/upstream"
167
+ },
168
+ "propertyList": {
169
+ "alias": "property",
170
+ "type": "array",
171
+ "items": {
172
+ "$ref": "#/definitions/property"
173
+ }
174
+ }
175
+ }
176
+ }
177
+ ]
178
+ },
179
+ "accordionIdentifier": {
180
+ "type": "object",
181
+ "properties": {
182
+ "property": {
183
+ "$ref": "#/definitions/property"
184
+ },
185
+ "source": {
186
+ "type": "string",
187
+ "enum": [
188
+ "route"
189
+ ],
190
+ "default": "route"
191
+ }
192
+ },
193
+ "required": [
194
+ "property"
195
+ ]
196
+ },
197
+ "accordionItem": {
198
+ "type": "object",
199
+ "properties": {
200
+ "kind": {
201
+ "type": "string",
202
+ "enum": [
203
+ "default",
204
+ "table",
205
+ "data-grid",
206
+ "data-grid-collection",
207
+ "tree-table",
208
+ "switch"
209
+ ],
210
+ "description": "The type of the accordion item",
211
+ "default": "panel"
212
+ },
213
+ "modifiers": {
214
+ "alias": "modifier",
215
+ "type": "array",
216
+ "items": {
217
+ "type": "string"
218
+ },
219
+ "description": "The modifiers to apply to the accordion item type"
220
+ },
221
+ "identifier": {
222
+ "$ref": "#/definitions/accordionIdentifier"
223
+ },
224
+ "title": {
225
+ "type": "string"
226
+ },
227
+ "description": {
228
+ "type": "string"
229
+ },
230
+ "upstream": {
231
+ "$ref": "#/definitions/upstream"
232
+ },
233
+ "propertyList": {
234
+ "alias": "property",
235
+ "type": "array",
236
+ "items": {
237
+ "$ref": "#/definitions/property"
238
+ }
239
+ }
240
+ },
241
+ "additionalProperties": true
242
+ },
243
+ "accordionItemComponentSchematic": {
244
+ "allOf": [
245
+ {
246
+ "$ref": "#/definitions/angular"
247
+ },
248
+ {
249
+ "$ref": "#/definitions/accordionItem"
250
+ },
251
+ {
252
+ "type": "object",
253
+ "properties": {
254
+ "accordionName": {
255
+ "type": "string",
256
+ "description": "The name of the accordion module where the item should be added."
257
+ }
258
+ },
259
+ "required": [
260
+ "accordionName"
261
+ ]
262
+ }
263
+ ]
264
+ },
265
+ "accordionItemDataGridComponentSchematic": {
266
+ "allOf": [
267
+ {
268
+ "$ref": "#/definitions/angular"
269
+ },
270
+ {
271
+ "$ref": "#/definitions/accordionItem"
272
+ },
273
+ {
274
+ "type": "object",
275
+ "properties": {
276
+ "dataGrid": {
277
+ "$ref": "#/definitions/dataGrid"
278
+ }
279
+ }
280
+ }
281
+ ]
282
+ },
283
+ "accordionItemSwitchComponentSchematic": {
284
+ "allOf": [
285
+ {
286
+ "$ref": "#/definitions/angular"
287
+ },
288
+ {
289
+ "$ref": "#/definitions/accordionItem"
290
+ },
291
+ {
292
+ "type": "object",
293
+ "properties": {
294
+ "switch": {
295
+ "type": "object",
296
+ "properties": {
297
+ "property": {
298
+ "$ref": "#/definitions/property"
299
+ },
300
+ "defaultCase": {
301
+ "type": "object",
302
+ "properties": {
303
+ "itemList": {
304
+ "alias": "item",
305
+ "type": "array",
306
+ "items": {
307
+ "$ref": "#/definitions/accordionItem"
308
+ },
309
+ "description": "The list of accordion expansion panels"
310
+ }
311
+ },
312
+ "required": [
313
+ "itemList"
314
+ ]
315
+ },
316
+ "case": {
317
+ "type": "array",
318
+ "items": {
319
+ "type": "object",
320
+ "properties": {
321
+ "test": {
322
+ "anyOf": [
323
+ {
324
+ "type": "string"
325
+ },
326
+ {
327
+ "type": "number"
328
+ },
329
+ {
330
+ "type": "boolean"
331
+ }
332
+ ]
333
+ },
334
+ "itemList": {
335
+ "alias": "item",
336
+ "type": "array",
337
+ "items": {
338
+ "$ref": "#/definitions/accordionItem"
339
+ },
340
+ "description": "The list of accordion expansion panels"
341
+ }
342
+ },
343
+ "required": [
344
+ "test",
345
+ "itemList"
346
+ ]
347
+ }
348
+ }
349
+ },
350
+ "required": [
351
+ "property",
352
+ "case"
353
+ ]
354
+ }
355
+ }
356
+ }
357
+ ]
358
+ },
359
+ "accordionItemTableComponentSchematic": {
360
+ "allOf": [
361
+ {
362
+ "$ref": "#/definitions/angular"
363
+ },
364
+ {
365
+ "$ref": "#/definitions/accordionItem"
366
+ },
367
+ {
368
+ "type": "object",
369
+ "properties": {
370
+ "modifiers": {
371
+ "alias": "modifier",
372
+ "type": "array",
373
+ "items": {
374
+ "type": "string",
375
+ "enum": [
376
+ "navigation-back-header",
377
+ "without-title"
378
+ ]
379
+ },
380
+ "description": "The table modifiers"
381
+ },
382
+ "table": {
383
+ "$ref": "#/definitions/table"
384
+ }
385
+ }
386
+ }
387
+ ]
388
+ },
389
+ "accordionItemTreeTableComponentSchematic": {
390
+ "allOf": [
391
+ {
392
+ "$ref": "#/definitions/angular"
393
+ },
394
+ {
395
+ "$ref": "#/definitions/accordionItem"
396
+ },
397
+ {
398
+ "type": "object",
399
+ "properties": {
400
+ "modifiers": {
401
+ "alias": "modifier",
402
+ "type": "array",
403
+ "items": {
404
+ "type": "string",
405
+ "enum": [
406
+ "navigation-back-header",
407
+ "without-title"
408
+ ]
409
+ },
410
+ "description": "The table modifiers"
411
+ },
412
+ "table": {
413
+ "$ref": "#/definitions/treeTable"
414
+ }
415
+ }
416
+ }
417
+ ]
418
+ },
419
+ "angular": {
420
+ "allOf": [
421
+ {
422
+ "$ref": "#/definitions/general"
423
+ },
424
+ {
425
+ "type": "object",
426
+ "properties": {
427
+ "componentName": {
428
+ "type": "string"
429
+ },
430
+ "name": {
431
+ "type": "string"
432
+ },
433
+ "context": {
434
+ "type": "string",
435
+ "description": "The context use to generate proper names for class, files, etc"
436
+ },
437
+ "nestModule": {
438
+ "type": "string",
439
+ "description": "The module name for the table nest operations"
440
+ },
441
+ "controllerName": {
442
+ "type": "string"
443
+ },
444
+ "backend": {
445
+ "$ref": "#/definitions/backend"
446
+ },
447
+ "directory": {
448
+ "type": "string",
449
+ "description": "A directory name or absolute path where the files should be generated. Relative to the project and feature base path if a feature is defined"
450
+ },
451
+ "shared": {
452
+ "type": "boolean",
453
+ "description": "Whether the generated code is used across the project",
454
+ "default": false
455
+ },
456
+ "scope": {
457
+ "type": "string"
458
+ },
459
+ "prefix": {
460
+ "type": "string"
461
+ },
462
+ "openApi": {
463
+ "type": "object",
464
+ "additionalProperties": true
465
+ }
466
+ }
467
+ }
468
+ ]
469
+ },
470
+ "backend": {
471
+ "type": "string",
472
+ "description": "The backend that should be used to handel data",
473
+ "enum": [
474
+ "none",
475
+ "nestjs",
476
+ "open-api",
477
+ "local"
478
+ ],
479
+ "default": "none"
480
+ },
481
+ "baseFormArray": {
482
+ "allOf": [
483
+ {
484
+ "$ref": "#/definitions/abstractControl"
485
+ },
486
+ {
487
+ "type": "object",
488
+ "properties": {
489
+ "controlList": {
490
+ "type": "array",
491
+ "description": "The list of controls in the group",
492
+ "items": {
493
+ "$ref": "#/definitions/control"
494
+ }
495
+ },
496
+ "legend": {
497
+ "type": "string"
498
+ },
499
+ "groupLegend": {
500
+ "type": "string"
501
+ },
502
+ "kind": {
503
+ "type": "string",
504
+ "description": "The kind of the array",
505
+ "const": "default",
506
+ "default": "default"
507
+ },
508
+ "role": {
509
+ "type": "string",
510
+ "const": "array"
511
+ }
512
+ }
513
+ }
514
+ ]
515
+ },
516
+ "baseFormControl": {
517
+ "allOf": [
518
+ {
519
+ "$ref": "#/definitions/abstractControl"
520
+ },
521
+ {
522
+ "type": "object",
523
+ "properties": {
524
+ "label": {
525
+ "type": "string",
526
+ "description": "The label of the control"
527
+ },
528
+ "role": {
529
+ "type": "string",
530
+ "const": "control"
531
+ }
532
+ }
533
+ }
534
+ ]
535
+ },
536
+ "baseFormGroup": {
537
+ "allOf": [
538
+ {
539
+ "$ref": "#/definitions/abstractControl"
540
+ },
541
+ {
542
+ "type": "object",
543
+ "properties": {
544
+ "controlList": {
545
+ "type": "array",
546
+ "description": "The list of controls in the group",
547
+ "items": {
548
+ "$ref": "#/definitions/control"
549
+ }
550
+ },
551
+ "legend": {
552
+ "type": "string"
553
+ },
554
+ "kind": {
555
+ "type": "string",
556
+ "description": "The kind of the group",
557
+ "const": "default",
558
+ "default": "default"
559
+ },
560
+ "role": {
561
+ "type": "string",
562
+ "const": "group"
563
+ }
564
+ }
565
+ }
566
+ ]
567
+ },
568
+ "button": {
569
+ "type": "object",
570
+ "properties": {
571
+ "svgIcon": {
572
+ "type": "string"
573
+ },
574
+ "icon": {
575
+ "type": "string"
576
+ },
577
+ "directiveList": {
578
+ "type": "array",
579
+ "items": {
580
+ "$ref": "#/definitions/type"
581
+ }
582
+ },
583
+ "importList": {
584
+ "type": "array",
585
+ "items": {
586
+ "$ref": "#/definitions/type"
587
+ }
588
+ }
589
+ }
590
+ },
591
+ "checkboxFormControl": {
592
+ "allOf": [
593
+ {
594
+ "$ref": "#/definitions/baseFormControl"
595
+ },
596
+ {
597
+ "type": "object",
598
+ "properties": {
599
+ "kind": {
600
+ "type": "string",
601
+ "const": "checkbox"
602
+ },
603
+ "labelPosition": {
604
+ "type": "string",
605
+ "enum": [
606
+ "before",
607
+ "after"
608
+ ]
609
+ }
610
+ }
611
+ }
612
+ ]
613
+ },
614
+ "control": {
615
+ "oneOf": [
616
+ {
617
+ "$ref": "#/definitions/formGroup"
618
+ },
619
+ {
620
+ "$ref": "#/definitions/formArray"
621
+ },
622
+ {
623
+ "$ref": "#/definitions/formControl"
624
+ }
625
+ ]
626
+ },
627
+ "dataGrid": {
628
+ "type": "object",
629
+ "properties": {
630
+ "mode": {
631
+ "type": "string",
632
+ "description": "The mode of the form",
633
+ "enum": [
634
+ "form",
635
+ "plain"
636
+ ]
637
+ },
638
+ "collection": {
639
+ "type": "boolean",
640
+ "description": "Whether the data grid is used as collection."
641
+ },
642
+ "title": {
643
+ "type": "string",
644
+ "description": "The title of the data grid card component"
645
+ },
646
+ "subtitle": {
647
+ "type": "string",
648
+ "description": "The subtitle of the data grid card component"
649
+ },
650
+ "itemList": {
651
+ "alias": "item",
652
+ "type": "array",
653
+ "items": {
654
+ "$ref": "#/definitions/dataGridItem"
655
+ }
656
+ },
657
+ "inCard": {
658
+ "type": "boolean",
659
+ "description": "Whether the data grid is used in a card.",
660
+ "default": true
661
+ },
662
+ "upstream": {
663
+ "$ref": "#/definitions/upstream"
664
+ },
665
+ "propertyList": {
666
+ "alias": "property",
667
+ "type": "array",
668
+ "items": {
669
+ "$ref": "#/definitions/property"
670
+ }
671
+ },
672
+ "identifier": {
673
+ "$ref": "#/definitions/accordionIdentifier"
674
+ }
675
+ }
676
+ },
677
+ "dataGridComponentSchematic": {
678
+ "allOf": [
679
+ {
680
+ "$ref": "#/definitions/angular"
681
+ },
682
+ {
683
+ "$ref": "#/definitions/dataGrid"
684
+ }
685
+ ]
686
+ },
687
+ "dataGridItem": {
688
+ "type": "object",
689
+ "properties": {
690
+ "name": {
691
+ "type": "string",
692
+ "description": "The name of the data grid item"
693
+ },
694
+ "header": {
695
+ "type": "string",
696
+ "description": "The name of the control"
697
+ },
698
+ "pipeList": {
699
+ "type": "array",
700
+ "items": {
701
+ "$ref": "#/definitions/pipe"
702
+ }
703
+ },
704
+ "formControl": {
705
+ "$ref": "#/definitions/control"
706
+ },
707
+ "template": {
708
+ "type": "string"
709
+ },
710
+ "kind": {
711
+ "type": "string",
712
+ "enum": [
713
+ "default",
714
+ "link"
715
+ ],
716
+ "default": "default"
717
+ },
718
+ "type": {
719
+ "$ref": "#/definitions/type"
720
+ },
721
+ "isArray": {
722
+ "type": "boolean"
723
+ }
724
+ },
725
+ "required": [
726
+ "name"
727
+ ]
728
+ },
729
+ "dialogComponentSchematic": {
730
+ "allOf": [
731
+ {
732
+ "$ref": "#/definitions/angular"
733
+ },
734
+ {
735
+ "type": "object",
736
+ "properties": {
737
+ "dialogName": {
738
+ "alias": "name",
739
+ "type": "string",
740
+ "description": "The name of the dialog",
741
+ "x-prompt": "Which name should the dialog module have?"
742
+ },
743
+ "title": {
744
+ "type": "string",
745
+ "description": "The title of the dialog"
746
+ },
747
+ "actionList": {
748
+ "alias": "action",
749
+ "type": "array",
750
+ "description": "The list of actions to be added to the dialog",
751
+ "items": {
752
+ "oneOf": [
753
+ {
754
+ "type": "string"
755
+ },
756
+ {
757
+ "type": "object",
758
+ "properties": {
759
+ "label": {
760
+ "type": "string"
761
+ },
762
+ "color": {
763
+ "type": "string"
764
+ },
765
+ "role": {
766
+ "type": "string",
767
+ "enum": [
768
+ "submit",
769
+ "close"
770
+ ]
771
+ }
772
+ }
773
+ }
774
+ ]
775
+ }
776
+ }
777
+ },
778
+ "required": [
779
+ "dialogName"
780
+ ]
781
+ }
782
+ ]
783
+ },
784
+ "dialogTableActionSchematic": {
785
+ "allOf": [
786
+ {
787
+ "$ref": "#/definitions/tableActionSchematic"
788
+ },
789
+ {
790
+ "type": "object",
791
+ "properties": {
792
+ "withoutBody": {
793
+ "type": "boolean",
794
+ "description": "Whether the table action operation should be without body",
795
+ "default": false
796
+ },
797
+ "actionList": {
798
+ "alias": "action",
799
+ "type": "array",
800
+ "description": "The list of actions to be added to the dialog",
801
+ "items": {
802
+ "oneOf": [
803
+ {
804
+ "type": "string"
805
+ },
806
+ {
807
+ "type": "object",
808
+ "properties": {
809
+ "label": {
810
+ "type": "string"
811
+ },
812
+ "color": {
813
+ "type": "string"
814
+ },
815
+ "role": {
816
+ "type": "string",
817
+ "enum": [
818
+ "submit",
819
+ "close"
820
+ ]
821
+ }
822
+ }
823
+ }
824
+ ]
825
+ }
826
+ },
827
+ "title": {
828
+ "type": "string",
829
+ "description": "The title for the dialog"
830
+ }
831
+ }
832
+ }
833
+ ]
834
+ },
835
+ "formArray": {
836
+ "allOf": [
837
+ {
838
+ "type": "object",
839
+ "properties": {
840
+ "role": {
841
+ "type": "string",
842
+ "const": "array"
843
+ }
844
+ }
845
+ },
846
+ {
847
+ "oneOf": [
848
+ {
849
+ "allOf": [
850
+ {
851
+ "$ref": "#/definitions/baseFormArray"
852
+ },
853
+ {
854
+ "type": "object",
855
+ "properties": {
856
+ "kind": {
857
+ "type": "string",
858
+ "const": "default"
859
+ }
860
+ }
861
+ }
862
+ ]
863
+ }
864
+ ]
865
+ }
866
+ ]
867
+ },
868
+ "formArraySchematic": {
869
+ "allOf": [
870
+ {
871
+ "$ref": "#/definitions/angular"
872
+ },
873
+ {
874
+ "$ref": "#/definitions/formArray"
875
+ },
876
+ {
877
+ "type": "object",
878
+ "properties": {
879
+ "formName": {
880
+ "alias": "form",
881
+ "type": "string",
882
+ "description": "The name of the form where the form control should be added"
883
+ }
884
+ },
885
+ "required": [
886
+ "formName"
887
+ ]
888
+ }
889
+ ]
890
+ },
891
+ "formComponent": {
892
+ "allOf": [
893
+ {
894
+ "$ref": "#/definitions/formDefinition"
895
+ },
896
+ {
897
+ "type": "object",
898
+ "properties": {
899
+ "window": {
900
+ "type": "boolean",
901
+ "description": "Whether the form can be opened in a window"
902
+ },
903
+ "role": {
904
+ "type": "string",
905
+ "description": "Define the role of the form"
906
+ },
907
+ "matFormFieldDefaultOptions": {
908
+ "appearance": {
909
+ "type": "string",
910
+ "description": "The appearance of the mat form field",
911
+ "enum": [
912
+ "legacy",
913
+ "standard",
914
+ "fill",
915
+ "outline"
916
+ ]
917
+ }
918
+ },
919
+ "identifier": {
920
+ "$ref": "#/definitions/accordionIdentifier"
921
+ }
922
+ }
923
+ }
924
+ ]
925
+ },
926
+ "formComponentSchematic": {
927
+ "allOf": [
928
+ {
929
+ "$ref": "#/definitions/angular"
930
+ },
931
+ {
932
+ "$ref": "#/definitions/formComponent"
933
+ }
934
+ ]
935
+ },
936
+ "formControl": {
937
+ "allOf": [
938
+ {
939
+ "type": "object",
940
+ "properties": {
941
+ "role": {
942
+ "type": "string",
943
+ "const": "control",
944
+ "default": "control"
945
+ }
946
+ }
947
+ },
948
+ {
949
+ "oneOf": [
950
+ {
951
+ "allOf": [
952
+ {
953
+ "$ref": "#/definitions/baseFormControl"
954
+ },
955
+ {
956
+ "type": "object",
957
+ "properties": {
958
+ "kind": {
959
+ "type": "string",
960
+ "const": "default"
961
+ }
962
+ }
963
+ }
964
+ ]
965
+ },
966
+ {
967
+ "$ref": "#/definitions/inputFormControl"
968
+ },
969
+ {
970
+ "$ref": "#/definitions/selectFormControl"
971
+ },
972
+ {
973
+ "$ref": "#/definitions/checkboxFormControl"
974
+ },
975
+ {
976
+ "$ref": "#/definitions/textareaFormControl"
977
+ },
978
+ {
979
+ "$ref": "#/definitions/tableSelectFormControl"
980
+ },
981
+ {
982
+ "$ref": "#/definitions/slideToggleFormControl"
983
+ }
984
+ ]
985
+ }
986
+ ]
987
+ },
988
+ "formControlSchematic": {
989
+ "allOf": [
990
+ {
991
+ "$ref": "#/definitions/angular"
992
+ },
993
+ {
994
+ "$ref": "#/definitions/formControl"
995
+ },
996
+ {
997
+ "type": "object",
998
+ "properties": {
999
+ "formName": {
1000
+ "alias": "form",
1001
+ "type": "string",
1002
+ "description": "The name of the form where the form control should be added"
1003
+ }
1004
+ },
1005
+ "required": [
1006
+ "formName"
1007
+ ]
1008
+ }
1009
+ ]
1010
+ },
1011
+ "formDefinition": {
1012
+ "type": "object",
1013
+ "properties": {
1014
+ "controlList": {
1015
+ "alias": "control",
1016
+ "type": "array",
1017
+ "items": {
1018
+ "$ref": "#/definitions/control"
1019
+ }
1020
+ }
1021
+ },
1022
+ "required": [
1023
+ "controlList"
1024
+ ]
1025
+ },
1026
+ "formDefinitionSchematic": {
1027
+ "allOf": [
1028
+ {
1029
+ "$ref": "#/definitions/angular"
1030
+ },
1031
+ {
1032
+ "$ref": "#/definitions/formDefinition"
1033
+ },
1034
+ {
1035
+ "type": "object",
1036
+ "properties": {
1037
+ "standalone": {
1038
+ "type": "boolean",
1039
+ "description": "Whether the form definition has a form.provider file",
1040
+ "default": true
1041
+ }
1042
+ }
1043
+ }
1044
+ ]
1045
+ },
1046
+ "formField": {
1047
+ "type": "object",
1048
+ "properties": {
1049
+ "label": {
1050
+ "type": "string"
1051
+ },
1052
+ "prefixButton": {
1053
+ "$ref": "#/definitions/button"
1054
+ },
1055
+ "suffixButton": {
1056
+ "$ref": "#/definitions/button"
1057
+ },
1058
+ "hasClearButton": {
1059
+ "type": "boolean"
1060
+ }
1061
+ }
1062
+ },
1063
+ "formGroup": {
1064
+ "allOf": [
1065
+ {
1066
+ "type": "object",
1067
+ "properties": {
1068
+ "role": {
1069
+ "type": "string",
1070
+ "const": "group"
1071
+ }
1072
+ }
1073
+ },
1074
+ {
1075
+ "oneOf": [
1076
+ {
1077
+ "allOf": [
1078
+ {
1079
+ "$ref": "#/definitions/baseFormGroup"
1080
+ },
1081
+ {
1082
+ "type": "object",
1083
+ "properties": {
1084
+ "kind": {
1085
+ "type": "string",
1086
+ "const": "default"
1087
+ }
1088
+ }
1089
+ }
1090
+ ]
1091
+ }
1092
+ ]
1093
+ }
1094
+ ]
1095
+ },
1096
+ "formGroupSchematic": {
1097
+ "allOf": [
1098
+ {
1099
+ "$ref": "#/definitions/angular"
1100
+ },
1101
+ {
1102
+ "$ref": "#/definitions/formGroup"
1103
+ },
1104
+ {
1105
+ "type": "object",
1106
+ "properties": {
1107
+ "formName": {
1108
+ "alias": "form",
1109
+ "type": "string",
1110
+ "description": "The name of the form where the form control should be added"
1111
+ }
1112
+ },
1113
+ "required": [
1114
+ "formName"
1115
+ ]
1116
+ }
1117
+ ]
1118
+ },
1119
+ "formTableActionSchematic": {
1120
+ "allOf": [
1121
+ {
1122
+ "$ref": "#/definitions/tableActionSchematic"
1123
+ },
1124
+ {
1125
+ "type": "object",
1126
+ "properties": {
1127
+ "formInitial": {
1128
+ "type": "object",
1129
+ "description": "The mapping from the row object to the form initial object"
1130
+ },
1131
+ "formComponent": {
1132
+ "type": "string"
1133
+ },
1134
+ "customComponent": {
1135
+ "type": "boolean",
1136
+ "default": false,
1137
+ "description": "If true the schematic will not coerce the form component"
1138
+ },
1139
+ "loadFrom": {
1140
+ "type": "object",
1141
+ "properties": {
1142
+ "operationId": {
1143
+ "type": "string"
1144
+ },
1145
+ "scope": {
1146
+ "type": "string",
1147
+ "description": "The scope of package for the openapi classes"
1148
+ },
1149
+ "body": {
1150
+ "oneOf": [
1151
+ {
1152
+ "type": "boolean",
1153
+ "description": "Pass the full row as body for the operation request"
1154
+ },
1155
+ {
1156
+ "type": "object",
1157
+ "description": "Mapping of table columns to body properties - [request property]: [table column]",
1158
+ "additionalProperties": true
1159
+ }
1160
+ ]
1161
+ },
1162
+ "parameters": {
1163
+ "oneOf": [
1164
+ {
1165
+ "type": "boolean",
1166
+ "description": "Pass the full row as parameters for the operation request"
1167
+ },
1168
+ {
1169
+ "type": "object",
1170
+ "description": "Mapping of table columns to parameters properties - [request property]: [table column]",
1171
+ "additionalProperties": true
1172
+ }
1173
+ ]
1174
+ }
1175
+ }
1176
+ },
1177
+ "formOptions": {
1178
+ "$ref": "#/definitions/formComponent"
1179
+ }
1180
+ }
1181
+ }
1182
+ ]
1183
+ },
1184
+ "formTableHeaderButtonSchematic": {
1185
+ "allOf": [
1186
+ {
1187
+ "$ref": "#/definitions/tableHeaderButtonSchematic"
1188
+ },
1189
+ {
1190
+ "type": "object",
1191
+ "properties": {
1192
+ "formComponent": {
1193
+ "type": "string"
1194
+ },
1195
+ "customComponent": {
1196
+ "type": "boolean",
1197
+ "default": false,
1198
+ "description": "If true the schematic will not coerce the form component"
1199
+ },
1200
+ "formOptions": {
1201
+ "$ref": "#/definitions/formComponent"
1202
+ }
1203
+ }
1204
+ }
1205
+ ]
1206
+ },
1207
+ "general": {
1208
+ "type": "object",
1209
+ "properties": {
1210
+ "project": {
1211
+ "type": "string",
1212
+ "description": "Project name where the files should be generated"
1213
+ },
1214
+ "feature": {
1215
+ "type": "string",
1216
+ "description": "Feature name where the files should be generated"
1217
+ },
1218
+ "overwrite": {
1219
+ "anyOf": [
1220
+ {
1221
+ "type": "boolean"
1222
+ },
1223
+ {
1224
+ "type": "array",
1225
+ "items": {
1226
+ "type": "string"
1227
+ }
1228
+ }
1229
+ ],
1230
+ "description": "Overwrite existing files",
1231
+ "default": false
1232
+ },
1233
+ "overwriteHtml": {
1234
+ "type": "boolean",
1235
+ "default": false
1236
+ },
1237
+ "replace": {
1238
+ "type": "boolean",
1239
+ "default": false
1240
+ }
1241
+ }
1242
+ },
1243
+ "headerButton": {
1244
+ "type": "object",
1245
+ "properties": {
1246
+ "permission": {
1247
+ "type": "string"
1248
+ },
1249
+ "icon": {
1250
+ "type": "string"
1251
+ },
1252
+ "svgIcon": {
1253
+ "type": "string"
1254
+ },
1255
+ "refresh": {
1256
+ "type": "boolean",
1257
+ "description": "Whether the table action should refresh the table after execution",
1258
+ "default": false
1259
+ },
1260
+ "confirm": {
1261
+ "type": "boolean",
1262
+ "description": "Whether the table action should confirm before execution",
1263
+ "default": false
1264
+ },
1265
+ "tooltip": {
1266
+ "type": "string",
1267
+ "description": "The tooltip for the table action"
1268
+ },
1269
+ "errorMessage": {
1270
+ "type": "string",
1271
+ "description": "The error message for the table action"
1272
+ },
1273
+ "successMessage": {
1274
+ "type": "string",
1275
+ "description": "The success message for the table action"
1276
+ },
1277
+ "options": {
1278
+ "type": "object",
1279
+ "additionalProperties": true
1280
+ }
1281
+ }
1282
+ },
1283
+ "inputFormControl": {
1284
+ "allOf": [
1285
+ {
1286
+ "$ref": "#/definitions/baseFormControl"
1287
+ },
1288
+ {
1289
+ "type": "object",
1290
+ "properties": {
1291
+ "kind": {
1292
+ "type": "string",
1293
+ "const": "input"
1294
+ },
1295
+ "formField": {
1296
+ "$ref": "#/definitions/formField"
1297
+ },
1298
+ "inputType": {
1299
+ "type": "string",
1300
+ "enum": [
1301
+ "text",
1302
+ "password",
1303
+ "email",
1304
+ "number",
1305
+ "tel",
1306
+ "url",
1307
+ "checkbox",
1308
+ "color",
1309
+ "date",
1310
+ "time",
1311
+ "datetime-local",
1312
+ "file",
1313
+ "hidden",
1314
+ "image",
1315
+ "month",
1316
+ "radio",
1317
+ "reset",
1318
+ "button",
1319
+ "search",
1320
+ "submit",
1321
+ "week",
1322
+ "range"
1323
+ ]
1324
+ },
1325
+ "placeholder": {
1326
+ "type": "string"
1327
+ }
1328
+ }
1329
+ }
1330
+ ]
1331
+ },
1332
+ "inputFormControlSchematic": {
1333
+ "allOf": [
1334
+ {
1335
+ "$ref": "#/definitions/angular"
1336
+ },
1337
+ {
1338
+ "$ref": "#/definitions/inputFormControl"
1339
+ },
1340
+ {
1341
+ "type": "object",
1342
+ "properties": {
1343
+ "formName": {
1344
+ "alias": "form",
1345
+ "type": "string",
1346
+ "description": "The name of the form where the form control should be added"
1347
+ }
1348
+ },
1349
+ "required": [
1350
+ "formName"
1351
+ ]
1352
+ }
1353
+ ]
1354
+ },
1355
+ "minimumTable": {
1356
+ "type": "object",
1357
+ "properties": {
1358
+ "propertyList": {
1359
+ "alias": "property",
1360
+ "type": "array",
1361
+ "items": {
1362
+ "$ref": "#/definitions/property"
1363
+ }
1364
+ },
1365
+ "upstream": {
1366
+ "$ref": "#/definitions/upstream"
1367
+ },
1368
+ "columnList": {
1369
+ "alias": "column",
1370
+ "type": "array",
1371
+ "items": {
1372
+ "$ref": "#/definitions/tableColumn"
1373
+ },
1374
+ "description": "List of table column names"
1375
+ },
1376
+ "actionList": {
1377
+ "alias": "action",
1378
+ "type": "array",
1379
+ "items": {
1380
+ "$ref": "#/definitions/tableAction"
1381
+ }
1382
+ },
1383
+ "headerButton": {
1384
+ "$ref": "#/definitions/headerButton"
1385
+ },
1386
+ "modifiers": {
1387
+ "alias": "modifier",
1388
+ "type": "array",
1389
+ "items": {
1390
+ "type": "string"
1391
+ },
1392
+ "description": "The table modifiers"
1393
+ }
1394
+ }
1395
+ },
1396
+ "navigationTableActionSchematic": {
1397
+ "allOf": [
1398
+ {
1399
+ "$ref": "#/definitions/tableActionSchematic"
1400
+ },
1401
+ {
1402
+ "type": "object",
1403
+ "properties": {
1404
+ "route": {
1405
+ "type": "string",
1406
+ "description": "The route for the table action"
1407
+ },
1408
+ "relativeTo": {
1409
+ "type": "boolean",
1410
+ "description": "Use the current ActivatedRoute to resolve the route or not",
1411
+ "default": false
1412
+ }
1413
+ }
1414
+ }
1415
+ ]
1416
+ },
1417
+ "navigationTableHeaderButtonSchematic": {
1418
+ "allOf": [
1419
+ {
1420
+ "$ref": "#/definitions/tableHeaderButtonSchematic"
1421
+ },
1422
+ {
1423
+ "type": "object",
1424
+ "properties": {
1425
+ "route": {
1426
+ "type": "string",
1427
+ "description": "The route path for the table action"
1428
+ },
1429
+ "relativeTo": {
1430
+ "type": "boolean",
1431
+ "description": "Indicates if the route path should be relative to the current activated route",
1432
+ "default": false
1433
+ }
1434
+ }
1435
+ }
1436
+ ]
1437
+ },
1438
+ "openApiTableActionSchematic": {
1439
+ "allOf": [
1440
+ {
1441
+ "$ref": "#/definitions/tableActionSchematic"
1442
+ },
1443
+ {
1444
+ "type": "object",
1445
+ "properties": {
1446
+ "operationId": {
1447
+ "type": "string",
1448
+ "description": "The open api operationId for the table action"
1449
+ },
1450
+ "scope": {
1451
+ "type": "string",
1452
+ "description": "The scope of package for the openapi classes"
1453
+ },
1454
+ "body": {
1455
+ "oneOf": [
1456
+ {
1457
+ "type": "boolean",
1458
+ "description": "Pass the full row as body for the operation request"
1459
+ },
1460
+ {
1461
+ "type": "object",
1462
+ "description": "Mapping of table columns to body properties - [request property]: [table column]",
1463
+ "additionalProperties": true
1464
+ }
1465
+ ]
1466
+ },
1467
+ "parameters": {
1468
+ "oneOf": [
1469
+ {
1470
+ "type": "boolean",
1471
+ "description": "Pass the full row as parameters for the operation request"
1472
+ },
1473
+ {
1474
+ "type": "object",
1475
+ "description": "Mapping of table columns to parameters properties - [request property]: [table column]",
1476
+ "additionalProperties": true
1477
+ }
1478
+ ]
1479
+ }
1480
+ },
1481
+ "required": [
1482
+ "operationId"
1483
+ ]
1484
+ }
1485
+ ]
1486
+ },
1487
+ "operationTableActionSchematic": {
1488
+ "allOf": [
1489
+ {
1490
+ "$ref": "#/definitions/tableActionSchematic"
1491
+ }
1492
+ ]
1493
+ },
1494
+ "pipe": {
1495
+ "oneOf": [
1496
+ {
1497
+ "type": "string"
1498
+ },
1499
+ {
1500
+ "allOf": [
1501
+ {
1502
+ "$ref": "#/definitions/type"
1503
+ },
1504
+ {
1505
+ "type": "object",
1506
+ "properties": {
1507
+ "argumentList": {
1508
+ "type": "array",
1509
+ "items": {
1510
+ "$ref": "#/definitions/value"
1511
+ }
1512
+ }
1513
+ },
1514
+ "required": [
1515
+ "name"
1516
+ ]
1517
+ }
1518
+ ]
1519
+ }
1520
+ ]
1521
+ },
1522
+ "property": {
1523
+ "oneOf": [
1524
+ {
1525
+ "type": "string"
1526
+ },
1527
+ {
1528
+ "type": "object",
1529
+ "properties": {
1530
+ "name": {
1531
+ "type": "string"
1532
+ },
1533
+ "type": {
1534
+ "$ref": "#/definitions/type"
1535
+ },
1536
+ "isArray": {
1537
+ "type": "boolean"
1538
+ }
1539
+ },
1540
+ "required": [
1541
+ "name"
1542
+ ]
1543
+ }
1544
+ ]
1545
+ },
1546
+ "schematicInput": {
1547
+ "type": "object",
1548
+ "oneOf": [
1549
+ {
1550
+ "type": "object",
1551
+ "properties": {
1552
+ "package": {
1553
+ "type": "string",
1554
+ "const": "@rxap/schematic-angular"
1555
+ },
1556
+ "name": {
1557
+ "type": "string",
1558
+ "const": "table-component"
1559
+ },
1560
+ "options": {
1561
+ "$ref": "#/definitions/tableComponentSchematic"
1562
+ }
1563
+ }
1564
+ },
1565
+ {
1566
+ "type": "object",
1567
+ "properties": {
1568
+ "package": {
1569
+ "type": "string",
1570
+ "const": "@rxap/schematic-angular"
1571
+ },
1572
+ "name": {
1573
+ "type": "string",
1574
+ "const": "tree-table-component"
1575
+ },
1576
+ "options": {
1577
+ "$ref": "#/definitions/treeTableComponentSchematic"
1578
+ }
1579
+ }
1580
+ },
1581
+ {
1582
+ "type": "object",
1583
+ "properties": {
1584
+ "package": {
1585
+ "type": "string",
1586
+ "const": "@rxap/schematic-angular"
1587
+ },
1588
+ "name": {
1589
+ "type": "string",
1590
+ "const": "form-component"
1591
+ },
1592
+ "options": {
1593
+ "$ref": "#/definitions/formComponentSchematic"
1594
+ }
1595
+ }
1596
+ },
1597
+ {
1598
+ "type": "object",
1599
+ "properties": {
1600
+ "package": {
1601
+ "type": "string",
1602
+ "const": "@rxap/schematic-angular"
1603
+ },
1604
+ "name": {
1605
+ "type": "string",
1606
+ "const": "form-definition"
1607
+ },
1608
+ "options": {
1609
+ "$ref": "#/definitions/formDefinitionSchematic"
1610
+ }
1611
+ }
1612
+ },
1613
+ {
1614
+ "type": "object",
1615
+ "properties": {
1616
+ "package": {
1617
+ "type": "string",
1618
+ "const": "@rxap/schematic-angular"
1619
+ },
1620
+ "name": {
1621
+ "type": "string",
1622
+ "const": "table-action"
1623
+ },
1624
+ "options": {
1625
+ "$ref": "#/definitions/tableActionSchematic"
1626
+ }
1627
+ }
1628
+ },
1629
+ {
1630
+ "type": "object",
1631
+ "properties": {
1632
+ "package": {
1633
+ "type": "string",
1634
+ "const": "@rxap/schematic-angular"
1635
+ },
1636
+ "name": {
1637
+ "type": "string",
1638
+ "const": "table-header-button"
1639
+ },
1640
+ "options": {
1641
+ "$ref": "#/definitions/tableHeaderButtonSchematic"
1642
+ }
1643
+ }
1644
+ },
1645
+ {
1646
+ "type": "object",
1647
+ "properties": {
1648
+ "package": {
1649
+ "type": "string",
1650
+ "const": "@rxap/schematic-angular"
1651
+ },
1652
+ "name": {
1653
+ "type": "string",
1654
+ "const": "form-table-header-button"
1655
+ },
1656
+ "options": {
1657
+ "$ref": "#/definitions/formTableHeaderButtonSchematic"
1658
+ }
1659
+ }
1660
+ },
1661
+ {
1662
+ "type": "object",
1663
+ "properties": {
1664
+ "package": {
1665
+ "type": "string",
1666
+ "const": "@rxap/schematic-angular"
1667
+ },
1668
+ "name": {
1669
+ "type": "string",
1670
+ "const": "navigation-table-header-button"
1671
+ },
1672
+ "options": {
1673
+ "$ref": "#/definitions/navigationTableHeaderButtonSchematic"
1674
+ }
1675
+ }
1676
+ },
1677
+ {
1678
+ "type": "object",
1679
+ "properties": {
1680
+ "package": {
1681
+ "type": "string",
1682
+ "const": "@rxap/schematic-angular"
1683
+ },
1684
+ "name": {
1685
+ "type": "string",
1686
+ "const": "accordion-component"
1687
+ },
1688
+ "options": {
1689
+ "$ref": "#/definitions/accordionComponentSchematic"
1690
+ }
1691
+ }
1692
+ },
1693
+ {
1694
+ "type": "object",
1695
+ "properties": {
1696
+ "package": {
1697
+ "type": "string",
1698
+ "const": "@rxap/schematic-angular"
1699
+ },
1700
+ "name": {
1701
+ "type": "string",
1702
+ "const": "accordion-item-component"
1703
+ },
1704
+ "options": {
1705
+ "$ref": "#/definitions/accordionItemComponentSchematic"
1706
+ }
1707
+ }
1708
+ },
1709
+ {
1710
+ "type": "object",
1711
+ "properties": {
1712
+ "package": {
1713
+ "type": "string",
1714
+ "const": "@rxap/schematic-angular"
1715
+ },
1716
+ "name": {
1717
+ "type": "string",
1718
+ "const": "accordion-item-table-component"
1719
+ },
1720
+ "options": {
1721
+ "$ref": "#/definitions/accordionItemTableComponentSchematic"
1722
+ }
1723
+ }
1724
+ },
1725
+ {
1726
+ "type": "object",
1727
+ "properties": {
1728
+ "package": {
1729
+ "type": "string",
1730
+ "const": "@rxap/schematic-angular"
1731
+ },
1732
+ "name": {
1733
+ "type": "string",
1734
+ "const": "accordion-item-switch-component"
1735
+ },
1736
+ "options": {
1737
+ "$ref": "#/definitions/accordionItemSwitchComponentSchematic"
1738
+ }
1739
+ }
1740
+ },
1741
+ {
1742
+ "type": "object",
1743
+ "properties": {
1744
+ "package": {
1745
+ "type": "string",
1746
+ "const": "@rxap/schematic-angular"
1747
+ },
1748
+ "name": {
1749
+ "type": "string",
1750
+ "const": "data-grid-component"
1751
+ },
1752
+ "options": {
1753
+ "$ref": "#/definitions/dataGridComponentSchematic"
1754
+ }
1755
+ }
1756
+ },
1757
+ {
1758
+ "type": "object",
1759
+ "properties": {
1760
+ "package": {
1761
+ "type": "string",
1762
+ "const": "@rxap/schematic-angular"
1763
+ },
1764
+ "name": {
1765
+ "type": "string",
1766
+ "const": "dialog-component"
1767
+ },
1768
+ "options": {
1769
+ "$ref": "#/definitions/dialogComponentSchematic"
1770
+ }
1771
+ }
1772
+ },
1773
+ {
1774
+ "type": "object",
1775
+ "properties": {
1776
+ "package": {
1777
+ "type": "string",
1778
+ "const": "@rxap/schematic-angular"
1779
+ },
1780
+ "name": {
1781
+ "type": "string",
1782
+ "const": "input-form-control"
1783
+ },
1784
+ "options": {
1785
+ "$ref": "#/definitions/inputFormControlSchematic"
1786
+ }
1787
+ }
1788
+ },
1789
+ {
1790
+ "type": "object",
1791
+ "properties": {
1792
+ "package": {
1793
+ "type": "string",
1794
+ "const": "@rxap/schematic-angular"
1795
+ },
1796
+ "name": {
1797
+ "type": "string",
1798
+ "const": "select-form-control"
1799
+ },
1800
+ "options": {
1801
+ "$ref": "#/definitions/selectFormControlSchematic"
1802
+ }
1803
+ }
1804
+ },
1805
+ {
1806
+ "type": "object",
1807
+ "properties": {
1808
+ "package": {
1809
+ "type": "string",
1810
+ "const": "@rxap/schematic-angular"
1811
+ },
1812
+ "name": {
1813
+ "type": "string",
1814
+ "const": "table-select-form-control"
1815
+ },
1816
+ "options": {
1817
+ "$ref": "#/definitions/tableSelectFormControlSchematic"
1818
+ }
1819
+ }
1820
+ },
1821
+ {
1822
+ "type": "object",
1823
+ "properties": {
1824
+ "package": {
1825
+ "type": "string",
1826
+ "const": "@rxap/schematic-angular"
1827
+ },
1828
+ "name": {
1829
+ "type": "string",
1830
+ "const": "form-control"
1831
+ },
1832
+ "options": {
1833
+ "$ref": "#/definitions/formControlSchematic"
1834
+ }
1835
+ }
1836
+ },
1837
+ {
1838
+ "type": "object",
1839
+ "properties": {
1840
+ "package": {
1841
+ "type": "string",
1842
+ "const": "@rxap/schematic-angular"
1843
+ },
1844
+ "name": {
1845
+ "type": "string",
1846
+ "const": "form-group"
1847
+ },
1848
+ "options": {
1849
+ "$ref": "#/definitions/formGroupSchematic"
1850
+ }
1851
+ }
1852
+ },
1853
+ {
1854
+ "type": "object",
1855
+ "properties": {
1856
+ "package": {
1857
+ "type": "string",
1858
+ "const": "@rxap/schematic-angular"
1859
+ },
1860
+ "name": {
1861
+ "type": "string",
1862
+ "const": "form-array"
1863
+ },
1864
+ "options": {
1865
+ "$ref": "#/definitions/formArraySchematic"
1866
+ }
1867
+ }
1868
+ },
1869
+ {
1870
+ "type": "object",
1871
+ "properties": {
1872
+ "package": {
1873
+ "type": "string",
1874
+ "const": "@rxap/schematic-angular"
1875
+ },
1876
+ "name": {
1877
+ "type": "string",
1878
+ "const": "dialog-table-action"
1879
+ },
1880
+ "options": {
1881
+ "$ref": "#/definitions/dialogTableActionSchematic"
1882
+ }
1883
+ }
1884
+ },
1885
+ {
1886
+ "type": "object",
1887
+ "properties": {
1888
+ "package": {
1889
+ "type": "string",
1890
+ "const": "@rxap/schematic-angular"
1891
+ },
1892
+ "name": {
1893
+ "type": "string",
1894
+ "const": "form-table-action"
1895
+ },
1896
+ "options": {
1897
+ "$ref": "#/definitions/formTableActionSchematic"
1898
+ }
1899
+ }
1900
+ },
1901
+ {
1902
+ "type": "object",
1903
+ "properties": {
1904
+ "package": {
1905
+ "type": "string",
1906
+ "const": "@rxap/schematic-angular"
1907
+ },
1908
+ "name": {
1909
+ "type": "string",
1910
+ "const": "navigation-table-action"
1911
+ },
1912
+ "options": {
1913
+ "$ref": "#/definitions/navigationTableActionSchematic"
1914
+ }
1915
+ }
1916
+ },
1917
+ {
1918
+ "type": "object",
1919
+ "properties": {
1920
+ "package": {
1921
+ "type": "string",
1922
+ "const": "@rxap/schematic-angular"
1923
+ },
1924
+ "name": {
1925
+ "type": "string",
1926
+ "const": "operation-table-action"
1927
+ },
1928
+ "options": {
1929
+ "$ref": "#/definitions/operationTableActionSchematic"
1930
+ }
1931
+ }
1932
+ },
1933
+ {
1934
+ "type": "object",
1935
+ "properties": {
1936
+ "package": {
1937
+ "type": "string",
1938
+ "const": "@rxap/schematic-angular"
1939
+ },
1940
+ "name": {
1941
+ "type": "string",
1942
+ "const": "open-api-table-action"
1943
+ },
1944
+ "options": {
1945
+ "$ref": "#/definitions/openApiTableActionSchematic"
1946
+ }
1947
+ }
1948
+ },
1949
+ {
1950
+ "type": "object",
1951
+ "properties": {
1952
+ "package": {
1953
+ "type": "string",
1954
+ "const": "@rxap/schematic-angular"
1955
+ },
1956
+ "name": {
1957
+ "type": "string",
1958
+ "const": "tree-component"
1959
+ },
1960
+ "options": {
1961
+ "$ref": "#/definitions/treeComponentSchematic"
1962
+ }
1963
+ }
1964
+ },
1965
+ {
1966
+ "type": "object",
1967
+ "properties": {
1968
+ "package": {
1969
+ "type": "string",
1970
+ "const": "@rxap/schematic-angular"
1971
+ },
1972
+ "name": {
1973
+ "type": "string",
1974
+ "const": "accordion-item-data-grid-component"
1975
+ },
1976
+ "options": {
1977
+ "$ref": "#/definitions/accordionItemDataGridComponentSchematic"
1978
+ }
1979
+ }
1980
+ },
1981
+ {
1982
+ "type": "object",
1983
+ "properties": {
1984
+ "package": {
1985
+ "type": "string",
1986
+ "const": "@rxap/schematic-angular"
1987
+ },
1988
+ "name": {
1989
+ "type": "string",
1990
+ "const": "accordion-item-tree-table-component"
1991
+ },
1992
+ "options": {
1993
+ "$ref": "#/definitions/accordionItemTreeTableComponentSchematic"
1994
+ }
1995
+ }
1996
+ }
1997
+ ]
1998
+ },
1999
+ "selectFormControl": {
2000
+ "allOf": [
2001
+ {
2002
+ "$ref": "#/definitions/baseFormControl"
2003
+ },
2004
+ {
2005
+ "type": "object",
2006
+ "properties": {
2007
+ "formField": {
2008
+ "$ref": "#/definitions/formField"
2009
+ },
2010
+ "kind": {
2011
+ "type": "string",
2012
+ "const": "select"
2013
+ },
2014
+ "optionList": {
2015
+ "type": "array",
2016
+ "items": {
2017
+ "type": "object",
2018
+ "properties": {
2019
+ "display": {
2020
+ "type": "string"
2021
+ },
2022
+ "value": {
2023
+ "oneOf": [
2024
+ {
2025
+ "type": "string"
2026
+ },
2027
+ {
2028
+ "type": "number"
2029
+ },
2030
+ {
2031
+ "type": "boolean"
2032
+ },
2033
+ {
2034
+ "type": "object",
2035
+ "additionalProperties": true
2036
+ }
2037
+ ]
2038
+ }
2039
+ }
2040
+ }
2041
+ },
2042
+ "backend": {
2043
+ "$ref": "#/definitions/backend"
2044
+ },
2045
+ "multiple": {
2046
+ "alias": "multi",
2047
+ "type": "boolean",
2048
+ "description": "Whether the select form control is multiple mode"
2049
+ }
2050
+ }
2051
+ }
2052
+ ]
2053
+ },
2054
+ "selectFormControlSchematic": {
2055
+ "allOf": [
2056
+ {
2057
+ "$ref": "#/definitions/angular"
2058
+ },
2059
+ {
2060
+ "$ref": "#/definitions/selectFormControl"
2061
+ },
2062
+ {
2063
+ "type": "object",
2064
+ "properties": {
2065
+ "formName": {
2066
+ "alias": "form",
2067
+ "type": "string",
2068
+ "description": "The name of the form where the form control should be added"
2069
+ }
2070
+ },
2071
+ "required": [
2072
+ "formName"
2073
+ ]
2074
+ }
2075
+ ]
2076
+ },
2077
+ "slideToggleFormControl": {
2078
+ "allOf": [
2079
+ {
2080
+ "$ref": "#/definitions/baseFormControl"
2081
+ },
2082
+ {
2083
+ "type": "object",
2084
+ "properties": {
2085
+ "kind": {
2086
+ "type": "string",
2087
+ "const": "slide-toggle"
2088
+ },
2089
+ "labelPosition": {
2090
+ "type": "string",
2091
+ "enum": [
2092
+ "before",
2093
+ "after"
2094
+ ]
2095
+ }
2096
+ }
2097
+ }
2098
+ ]
2099
+ },
2100
+ "table": {
2101
+ "allOf": [
2102
+ {
2103
+ "$ref": "#/definitions/minimumTable"
2104
+ },
2105
+ {
2106
+ "type": "object",
2107
+ "properties": {
2108
+ "tableMethod": {
2109
+ "$ref": "#/definitions/type"
2110
+ },
2111
+ "openApi": {
2112
+ "type": "object",
2113
+ "properties": {
2114
+ "operationId": {
2115
+ "type": "string",
2116
+ "description": "The operationId for the open api operation"
2117
+ },
2118
+ "adapter": {
2119
+ "$ref": "#/definitions/type"
2120
+ }
2121
+ },
2122
+ "required": [
2123
+ "operationId"
2124
+ ]
2125
+ },
2126
+ "modifiers": {
2127
+ "alias": "modifier",
2128
+ "type": "array",
2129
+ "items": {
2130
+ "type": "string",
2131
+ "enum": [
2132
+ "navigation-back-header",
2133
+ "without-title",
2134
+ "show-archived-slide"
2135
+ ]
2136
+ },
2137
+ "description": "The table modifiers"
2138
+ },
2139
+ "selectColumn": {
2140
+ "type": "boolean",
2141
+ "description": "Whether to add a select column to the table"
2142
+ }
2143
+ }
2144
+ }
2145
+ ]
2146
+ },
2147
+ "tableAction": {
2148
+ "type": "object",
2149
+ "properties": {
2150
+ "type": {
2151
+ "type": "string"
2152
+ },
2153
+ "refresh": {
2154
+ "type": "boolean"
2155
+ },
2156
+ "confirm": {
2157
+ "type": "boolean"
2158
+ },
2159
+ "tooltip": {
2160
+ "type": "string"
2161
+ },
2162
+ "errorMessage": {
2163
+ "type": "string"
2164
+ },
2165
+ "successMessage": {
2166
+ "type": "string"
2167
+ },
2168
+ "priority": {
2169
+ "type": "number"
2170
+ },
2171
+ "checkFunction": {
2172
+ "type": "string"
2173
+ },
2174
+ "inHeader": {
2175
+ "type": "boolean"
2176
+ },
2177
+ "role": {
2178
+ "type": "string"
2179
+ },
2180
+ "icon": {
2181
+ "type": "string"
2182
+ },
2183
+ "svgIcon": {
2184
+ "type": "string"
2185
+ },
2186
+ "permission": {
2187
+ "type": "string"
2188
+ },
2189
+ "color": {
2190
+ "type": "string",
2191
+ "description": "Value for the color input of the mat-button / mat-icon component"
2192
+ },
2193
+ "cssClass": {
2194
+ "type": "string",
2195
+ "description": "Additional CSS classes added to the button element"
2196
+ },
2197
+ "options": {
2198
+ "type": "object",
2199
+ "additionalProperties": true
2200
+ }
2201
+ },
2202
+ "required": [
2203
+ "type"
2204
+ ]
2205
+ },
2206
+ "tableActionSchematic": {
2207
+ "allOf": [
2208
+ {
2209
+ "$ref": "#/definitions/angular"
2210
+ },
2211
+ {
2212
+ "$ref": "#/definitions/tableAction"
2213
+ },
2214
+ {
2215
+ "type": "object",
2216
+ "properties": {
2217
+ "tableName": {
2218
+ "alias": "table",
2219
+ "type": "string",
2220
+ "description": "The name of the table action"
2221
+ }
2222
+ }
2223
+ }
2224
+ ]
2225
+ },
2226
+ "tableColumn": {
2227
+ "type": "object",
2228
+ "properties": {
2229
+ "name": {
2230
+ "type": "string"
2231
+ },
2232
+ "type": {
2233
+ "$ref": "#/definitions/type"
2234
+ },
2235
+ "kind": {
2236
+ "type": "string"
2237
+ },
2238
+ "modifiers": {
2239
+ "type": "array",
2240
+ "items": {
2241
+ "type": "string"
2242
+ }
2243
+ },
2244
+ "template": {
2245
+ "type": "string"
2246
+ },
2247
+ "pipeList": {
2248
+ "type": "array",
2249
+ "items": {
2250
+ "$ref": "#/definitions/pipe"
2251
+ }
2252
+ },
2253
+ "hasFilter": {
2254
+ "type": "boolean"
2255
+ },
2256
+ "nowrap": {
2257
+ "type": "boolean"
2258
+ },
2259
+ "cssClass": {
2260
+ "type": "string"
2261
+ },
2262
+ "title": {
2263
+ "type": "string"
2264
+ },
2265
+ "propertyPath": {
2266
+ "type": "string"
2267
+ },
2268
+ "hidden": {
2269
+ "type": "boolean"
2270
+ },
2271
+ "active": {
2272
+ "type": "boolean"
2273
+ },
2274
+ "inactive": {
2275
+ "type": "boolean"
2276
+ },
2277
+ "show": {
2278
+ "type": "boolean"
2279
+ },
2280
+ "filterControl": {
2281
+ "$ref": "#/definitions/formControl"
2282
+ }
2283
+ },
2284
+ "required": [
2285
+ "name"
2286
+ ]
2287
+ },
2288
+ "tableComponentSchematic": {
2289
+ "allOf": [
2290
+ {
2291
+ "$ref": "#/definitions/angular"
2292
+ },
2293
+ {
2294
+ "$ref": "#/definitions/table"
2295
+ }
2296
+ ]
2297
+ },
2298
+ "tableHeaderButtonSchematic": {
2299
+ "allOf": [
2300
+ {
2301
+ "$ref": "#/definitions/angular"
2302
+ },
2303
+ {
2304
+ "$ref": "#/definitions/headerButton"
2305
+ },
2306
+ {
2307
+ "type": "object",
2308
+ "properties": {
2309
+ "tableName": {
2310
+ "alias": "table",
2311
+ "type": "string",
2312
+ "description": "The name of the table action"
2313
+ }
2314
+ }
2315
+ }
2316
+ ]
2317
+ },
2318
+ "tableSelectFormControl": {
2319
+ "allOf": [
2320
+ {
2321
+ "$ref": "#/definitions/baseFormControl"
2322
+ },
2323
+ {
2324
+ "type": "object",
2325
+ "properties": {
2326
+ "formField": {
2327
+ "$ref": "#/definitions/formField"
2328
+ },
2329
+ "kind": {
2330
+ "type": "string",
2331
+ "const": "table-select"
2332
+ },
2333
+ "placeholder": {
2334
+ "type": "string"
2335
+ },
2336
+ "columnList": {
2337
+ "alias": "column",
2338
+ "type": "array",
2339
+ "items": {
2340
+ "description": "table column name",
2341
+ "type": "object",
2342
+ "properties": {
2343
+ "name": {
2344
+ "type": "string",
2345
+ "description": "table column name"
2346
+ },
2347
+ "title": {
2348
+ "type": "string",
2349
+ "description": "table column label"
2350
+ },
2351
+ "hasFilter": {
2352
+ "type": "boolean",
2353
+ "description": "Whether the column has a filter"
2354
+ },
2355
+ "kind": {
2356
+ "type": "string",
2357
+ "description": "The kind of data in the column"
2358
+ }
2359
+ }
2360
+ },
2361
+ "description": "List of table column names"
2362
+ },
2363
+ "title": {
2364
+ "type": "string",
2365
+ "description": "The title of the table select window"
2366
+ },
2367
+ "toDisplay": {
2368
+ "type": "object",
2369
+ "properties": {
2370
+ "property": {
2371
+ "$ref": "#/definitions/property"
2372
+ }
2373
+ }
2374
+ },
2375
+ "toValue": {
2376
+ "type": "object",
2377
+ "properties": {
2378
+ "property": {
2379
+ "$ref": "#/definitions/property"
2380
+ }
2381
+ }
2382
+ },
2383
+ "upstream": {
2384
+ "$ref": "#/definitions/upstream"
2385
+ },
2386
+ "resolver": {
2387
+ "type": "object",
2388
+ "properties": {
2389
+ "upstream": {
2390
+ "$ref": "#/definitions/upstream"
2391
+ }
2392
+ }
2393
+ }
2394
+ }
2395
+ }
2396
+ ]
2397
+ },
2398
+ "tableSelectFormControlSchematic": {
2399
+ "allOf": [
2400
+ {
2401
+ "$ref": "#/definitions/angular"
2402
+ },
2403
+ {
2404
+ "$ref": "#/definitions/tableSelectFormControl"
2405
+ },
2406
+ {
2407
+ "type": "object",
2408
+ "properties": {
2409
+ "formName": {
2410
+ "alias": "form",
2411
+ "type": "string",
2412
+ "description": "The name of the form where the form control should be added"
2413
+ }
2414
+ },
2415
+ "required": [
2416
+ "formName"
2417
+ ]
2418
+ }
2419
+ ]
2420
+ },
2421
+ "textareaFormControl": {
2422
+ "allOf": [
2423
+ {
2424
+ "$ref": "#/definitions/baseFormControl"
2425
+ },
2426
+ {
2427
+ "type": "object",
2428
+ "properties": {
2429
+ "formField": {
2430
+ "$ref": "#/definitions/formField"
2431
+ },
2432
+ "kind": {
2433
+ "type": "string",
2434
+ "const": "textarea"
2435
+ },
2436
+ "placeholder": {
2437
+ "type": "string"
2438
+ }
2439
+ }
2440
+ }
2441
+ ]
2442
+ },
2443
+ "treeComponentSchematic": {
2444
+ "allOf": [
2445
+ {
2446
+ "$ref": "#/definitions/angular"
2447
+ },
2448
+ {
2449
+ "type": "object",
2450
+ "properties": {
2451
+ "modifiers": {
2452
+ "alias": "modifier",
2453
+ "type": "array",
2454
+ "items": {
2455
+ "type": "string",
2456
+ "enum": [
2457
+ "navigation-back-header",
2458
+ "without-title"
2459
+ ]
2460
+ },
2461
+ "description": "The tree modifiers"
2462
+ },
2463
+ "fullTree": {
2464
+ "type": "boolean",
2465
+ "description": "Whether the tree should be a full tree",
2466
+ "default": true
2467
+ }
2468
+ }
2469
+ }
2470
+ ]
2471
+ },
2472
+ "treeTable": {
2473
+ "allOf": [
2474
+ {
2475
+ "$ref": "#/definitions/minimumTable"
2476
+ },
2477
+ {
2478
+ "type": "object",
2479
+ "properties": {
2480
+ "modifiers": {
2481
+ "alias": "modifier",
2482
+ "type": "array",
2483
+ "items": {
2484
+ "type": "string",
2485
+ "enum": [
2486
+ "navigation-back-header",
2487
+ "without-title"
2488
+ ]
2489
+ },
2490
+ "description": "The table modifiers"
2491
+ },
2492
+ "tableRootMethod": {
2493
+ "$ref": "#/definitions/type"
2494
+ },
2495
+ "tableChildMethod": {
2496
+ "$ref": "#/definitions/type"
2497
+ }
2498
+ }
2499
+ }
2500
+ ]
2501
+ },
2502
+ "treeTableComponentSchematic": {
2503
+ "allOf": [
2504
+ {
2505
+ "$ref": "#/definitions/angular"
2506
+ },
2507
+ {
2508
+ "$ref": "#/definitions/treeTable"
2509
+ }
2510
+ ]
2511
+ },
2512
+ "type": {
2513
+ "oneOf": [
2514
+ {
2515
+ "type": "string"
2516
+ },
2517
+ {
2518
+ "type": "object",
2519
+ "properties": {
2520
+ "name": {
2521
+ "type": "string"
2522
+ },
2523
+ "isTypeOnly": {
2524
+ "type": "boolean"
2525
+ },
2526
+ "moduleSpecifier": {
2527
+ "type": "string"
2528
+ },
2529
+ "namedImport": {
2530
+ "type": "string"
2531
+ },
2532
+ "namespaceImport": {
2533
+ "type": "string"
2534
+ },
2535
+ "defaultImport": {
2536
+ "type": "string"
2537
+ }
2538
+ },
2539
+ "required": [
2540
+ "name"
2541
+ ]
2542
+ }
2543
+ ]
2544
+ },
2545
+ "upstream": {
2546
+ "oneOf": [
2547
+ {
2548
+ "type": "object",
2549
+ "properties": {
2550
+ "kind": {
2551
+ "type": "string",
2552
+ "enum": [
2553
+ "open-api"
2554
+ ]
2555
+ },
2556
+ "operationId": {
2557
+ "type": "string"
2558
+ },
2559
+ "scope": {
2560
+ "type": "string"
2561
+ },
2562
+ "mapper": {
2563
+ "type": "object",
2564
+ "properties": {
2565
+ "pageIndex": {
2566
+ "type": "string"
2567
+ },
2568
+ "pageSize": {
2569
+ "type": "string"
2570
+ },
2571
+ "sortBy": {
2572
+ "type": "string"
2573
+ },
2574
+ "sortDirection": {
2575
+ "type": "string"
2576
+ },
2577
+ "list": {
2578
+ "type": "string"
2579
+ },
2580
+ "total": {
2581
+ "type": "string"
2582
+ },
2583
+ "filter": {
2584
+ "type": "object",
2585
+ "properties": {
2586
+ "eq": {
2587
+ "type": "string"
2588
+ },
2589
+ "join": {
2590
+ "type": "string"
2591
+ }
2592
+ }
2593
+ }
2594
+ }
2595
+ }
2596
+ },
2597
+ "required": [
2598
+ "kind",
2599
+ "operationId"
2600
+ ]
2601
+ }
2602
+ ]
2603
+ },
2604
+ "value": {
2605
+ "oneOf": [
2606
+ {
2607
+ "type": "string"
2608
+ },
2609
+ {
2610
+ "type": "object",
2611
+ "properties": {
2612
+ "type": {
2613
+ "$ref": "#/definitions/type"
2614
+ },
2615
+ "value": {
2616
+ "type": "string"
2617
+ }
2618
+ },
2619
+ "required": [
2620
+ "value"
2621
+ ]
2622
+ }
2623
+ ]
2624
+ }
2625
+ }
2626
+ }