@rxap/schematic-angular 16.2.0-dev.9 → 16.3.0-dev.0

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