@rxap/schematic-angular 16.2.0-dev.5 → 16.2.0-dev.50

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