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

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