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