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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (420) hide show
  1. package/CHANGELOG.md +367 -0
  2. package/README.md +1 -1
  3. package/collection.json +20 -0
  4. package/package.json +16 -14
  5. package/src/lib/accordion-header.d.ts +5 -0
  6. package/src/lib/accordion-header.js +14 -5
  7. package/src/lib/accordion-header.js.map +1 -1
  8. package/src/lib/accordion-identifier.d.ts +6 -2
  9. package/src/lib/accordion-identifier.js +2 -1
  10. package/src/lib/accordion-identifier.js.map +1 -1
  11. package/src/lib/accordion-item.d.ts +25 -17
  12. package/src/lib/accordion-item.js +81 -42
  13. package/src/lib/accordion-item.js.map +1 -1
  14. package/src/lib/accordion-itme-kinds.d.ts +8 -0
  15. package/src/lib/accordion-itme-kinds.js +16 -0
  16. package/src/lib/accordion-itme-kinds.js.map +1 -0
  17. package/src/lib/angular-options.d.ts +2 -2
  18. package/src/lib/angular-options.js.map +1 -1
  19. package/src/lib/coerce-accordion-component.js +6 -4
  20. package/src/lib/coerce-accordion-component.js.map +1 -1
  21. package/src/lib/coerce-accordion-item-table-component.js +1 -1
  22. package/src/lib/coerce-accordion-item-table-component.js.map +1 -1
  23. package/src/lib/coerce-form-component.js +18 -2
  24. package/src/lib/coerce-form-component.js.map +1 -1
  25. package/src/lib/coerce-minimum-table-component.js +22 -7
  26. package/src/lib/coerce-minimum-table-component.js.map +1 -1
  27. package/src/lib/coerce-tree-table-component.js +15 -3
  28. package/src/lib/coerce-tree-table-component.js.map +1 -1
  29. package/src/lib/component-options.d.ts +10 -0
  30. package/src/lib/component-options.js +14 -0
  31. package/src/lib/component-options.js.map +1 -0
  32. package/src/lib/css-class.d.ts +9 -0
  33. package/src/lib/css-class.js +52 -0
  34. package/src/lib/css-class.js.map +1 -0
  35. package/src/lib/data-grid-item.d.ts +46 -11
  36. package/src/lib/data-grid-item.js +102 -6
  37. package/src/lib/data-grid-item.js.map +1 -1
  38. package/src/lib/data-grid-mode.d.ts +4 -0
  39. package/src/lib/data-grid-mode.js +9 -0
  40. package/src/lib/data-grid-mode.js.map +1 -0
  41. package/src/lib/data-grid-options.d.ts +12 -5
  42. package/src/lib/data-grid-options.js +44 -13
  43. package/src/lib/data-grid-options.js.map +1 -1
  44. package/src/lib/form/abstract-control.d.ts +31 -0
  45. package/src/lib/form/abstract-control.js +48 -0
  46. package/src/lib/form/abstract-control.js.map +1 -0
  47. package/src/lib/form/array/base-form-array.d.ts +18 -0
  48. package/src/lib/form/array/base-form-array.js +41 -0
  49. package/src/lib/form/array/base-form-array.js.map +1 -0
  50. package/src/lib/form/array/form-array-kind.d.ts +3 -0
  51. package/src/lib/form/array/form-array-kind.js +8 -0
  52. package/src/lib/form/array/form-array-kind.js.map +1 -0
  53. package/src/lib/form/array/form-array.d.ts +12 -0
  54. package/src/lib/form/array/form-array.js +18 -0
  55. package/src/lib/form/array/form-array.js.map +1 -0
  56. package/src/lib/form/coerce-control-component-imports.d.ts +3 -0
  57. package/src/lib/form/coerce-control-component-imports.js +18 -0
  58. package/src/lib/form/coerce-control-component-imports.js.map +1 -0
  59. package/src/lib/form/control/autocomplete-table-select-form-control.d.ts +9 -0
  60. package/src/lib/form/control/autocomplete-table-select-form-control.js +58 -0
  61. package/src/lib/form/control/autocomplete-table-select-form-control.js.map +1 -0
  62. package/src/lib/form/control/base-form-control.d.ts +15 -0
  63. package/src/lib/form/control/base-form-control.js +19 -0
  64. package/src/lib/form/control/base-form-control.js.map +1 -0
  65. package/src/lib/form/control/checkbox-form-control.d.ts +11 -0
  66. package/src/lib/form/control/checkbox-form-control.js +23 -0
  67. package/src/lib/form/control/checkbox-form-control.js.map +1 -0
  68. package/src/lib/form/control/form-control-kind.d.ts +10 -0
  69. package/src/lib/form/control/form-control-kind.js +15 -0
  70. package/src/lib/form/control/form-control-kind.js.map +1 -0
  71. package/src/lib/form/control/form-control.d.ts +20 -0
  72. package/src/lib/form/control/form-control.js +46 -0
  73. package/src/lib/form/control/form-control.js.map +1 -0
  74. package/src/lib/form/control/form-field-form-control.d.ts +39 -0
  75. package/src/lib/form/control/form-field-form-control.js +87 -0
  76. package/src/lib/form/control/form-field-form-control.js.map +1 -0
  77. package/src/lib/form/control/input-form-control.d.ts +15 -0
  78. package/src/lib/form/control/input-form-control.js +75 -0
  79. package/src/lib/form/control/input-form-control.js.map +1 -0
  80. package/src/lib/form/control/select-form-control.d.ts +22 -0
  81. package/src/lib/form/control/select-form-control.js +47 -0
  82. package/src/lib/form/control/select-form-control.js.map +1 -0
  83. package/src/lib/form/control/slide-toggle-form-control.d.ts +11 -0
  84. package/src/lib/form/control/slide-toggle-form-control.js +23 -0
  85. package/src/lib/form/control/slide-toggle-form-control.js.map +1 -0
  86. package/src/lib/form/control/table-select-form-control.d.ts +46 -0
  87. package/src/lib/form/control/table-select-form-control.js +82 -0
  88. package/src/lib/form/control/table-select-form-control.js.map +1 -0
  89. package/src/lib/form/control/textarea-form-control.d.ts +22 -0
  90. package/src/lib/form/control/textarea-form-control.js +52 -0
  91. package/src/lib/form/control/textarea-form-control.js.map +1 -0
  92. package/src/lib/form/control.d.ts +8 -0
  93. package/src/lib/form/control.js +38 -0
  94. package/src/lib/form/control.js.map +1 -0
  95. package/src/lib/form/generate-form-template.d.ts +5 -0
  96. package/src/lib/form/generate-form-template.js +12 -0
  97. package/src/lib/form/generate-form-template.js.map +1 -0
  98. package/src/lib/form/group/base-form-group.d.ts +17 -0
  99. package/src/lib/form/group/base-form-group.js +20 -0
  100. package/src/lib/form/group/base-form-group.js.map +1 -0
  101. package/src/lib/form/group/form-group-kind.d.ts +3 -0
  102. package/src/lib/form/group/form-group-kind.js +8 -0
  103. package/src/lib/form/group/form-group-kind.js.map +1 -0
  104. package/src/lib/form/group/form-group.d.ts +12 -0
  105. package/src/lib/form/group/form-group.js +18 -0
  106. package/src/lib/form/group/form-group.js.map +1 -0
  107. package/src/lib/load-handlebars-template.d.ts +6 -0
  108. package/src/lib/load-handlebars-template.js +36 -0
  109. package/src/lib/load-handlebars-template.js.map +1 -0
  110. package/src/lib/minimum-table-component-options.d.ts +2 -2
  111. package/src/lib/minimum-table-component-options.js +22 -15
  112. package/src/lib/minimum-table-component-options.js.map +1 -1
  113. package/src/lib/minimum-table-options.d.ts +18 -4
  114. package/src/lib/minimum-table-options.js +33 -6
  115. package/src/lib/minimum-table-options.js.map +1 -1
  116. package/src/lib/pipe-option.d.ts +11 -0
  117. package/src/lib/pipe-option.js +75 -0
  118. package/src/lib/pipe-option.js.map +1 -0
  119. package/src/lib/route-component.d.ts +16 -0
  120. package/src/lib/route-component.js +15 -0
  121. package/src/lib/route-component.js.map +1 -0
  122. package/src/lib/table/column/base-table-column.d.ts +61 -0
  123. package/src/lib/table/column/base-table-column.js +309 -0
  124. package/src/lib/table/column/base-table-column.js.map +1 -0
  125. package/src/lib/table/column/date-table-column.d.ts +11 -0
  126. package/src/lib/table/column/date-table-column.js +11 -0
  127. package/src/lib/table/column/date-table-column.js.map +1 -0
  128. package/src/lib/table/table-column-kind.d.ts +12 -0
  129. package/src/lib/table/table-column-kind.js +20 -0
  130. package/src/lib/table/table-column-kind.js.map +1 -0
  131. package/src/lib/table/table-column-modifier.d.ts +12 -0
  132. package/src/lib/table/table-column-modifier.js +20 -0
  133. package/src/lib/table/table-column-modifier.js.map +1 -0
  134. package/src/lib/table/table-column-pipe.d.ts +4 -0
  135. package/src/lib/table/table-column-pipe.js +3 -0
  136. package/src/lib/table/table-column-pipe.js.map +1 -0
  137. package/src/lib/table/table-column-sticky.d.ts +5 -0
  138. package/src/lib/table/table-column-sticky.js +13 -0
  139. package/src/lib/table/table-column-sticky.js.map +1 -0
  140. package/src/lib/table/table-column.d.ts +6 -0
  141. package/src/lib/table/table-column.js +30 -0
  142. package/src/lib/table/table-column.js.map +1 -0
  143. package/src/lib/table/table-filter-column-rule.js +5 -4
  144. package/src/lib/table/table-filter-column-rule.js.map +1 -1
  145. package/src/lib/table-action.js.map +1 -1
  146. package/src/lib/table-options.d.ts +4 -3
  147. package/src/lib/table-options.js +23 -3
  148. package/src/lib/table-options.js.map +1 -1
  149. package/src/lib/table-row-action.d.ts +4 -2
  150. package/src/lib/table-row-action.js +8 -7
  151. package/src/lib/table-row-action.js.map +1 -1
  152. package/src/lib/tree-table-options.d.ts +4 -3
  153. package/src/lib/tree-table-options.js +40 -3
  154. package/src/lib/tree-table-options.js.map +1 -1
  155. package/src/lib/use-pick-from-table-interface-as-form-type.d.ts +1 -1
  156. package/src/lib/value-option.d.ts +12 -0
  157. package/src/lib/value-option.js +66 -0
  158. package/src/lib/value-option.js.map +1 -0
  159. package/src/schema.json +3189 -0
  160. package/src/schematic-input.schema.json +579 -0
  161. package/src/schematics/abstract-control.schema.json +78 -0
  162. package/src/schematics/accordion/accordion-component/files/component/__componentName__.component.html.hbs +34 -0
  163. package/src/schematics/accordion/accordion-component/index.d.ts +6 -2
  164. package/src/schematics/accordion/accordion-component/index.js +77 -139
  165. package/src/schematics/accordion/accordion-component/index.js.map +1 -1
  166. package/src/schematics/accordion/accordion-component/schema.d.ts +6 -0
  167. package/src/schematics/accordion/accordion-component/schema.json +1882 -128
  168. package/src/schematics/accordion/accordion-component/template.schema.json +105 -0
  169. package/src/schematics/accordion/accordion-item-component/index.d.ts +9 -4
  170. package/src/schematics/accordion/accordion-item-component/index.js +115 -87
  171. package/src/schematics/accordion/accordion-item-component/index.js.map +1 -1
  172. package/src/schematics/accordion/accordion-item-component/schema.d.ts +2 -2
  173. package/src/schematics/accordion/accordion-item-component/schema.json +1845 -61
  174. package/src/schematics/accordion/accordion-item-component/template.schema.json +32 -0
  175. package/src/schematics/accordion/item/accordion-item-data-grid-component/index.d.ts +1 -1
  176. package/src/schematics/accordion/item/accordion-item-data-grid-component/index.js +32 -62
  177. package/src/schematics/accordion/item/accordion-item-data-grid-component/index.js.map +1 -1
  178. package/src/schematics/accordion/item/accordion-item-data-grid-component/schema.d.ts +1 -1
  179. package/src/schematics/accordion/item/accordion-item-data-grid-component/schema.json +1158 -72
  180. package/src/schematics/accordion/item/accordion-item-data-grid-component/template.schema.json +20 -0
  181. package/src/schematics/accordion/item/accordion-item-switch-component/index.d.ts +1 -1
  182. package/src/schematics/accordion/item/accordion-item-switch-component/index.js +16 -8
  183. package/src/schematics/accordion/item/accordion-item-switch-component/index.js.map +1 -1
  184. package/src/schematics/accordion/item/accordion-item-switch-component/schema.d.ts +1 -1
  185. package/src/schematics/accordion/item/accordion-item-switch-component/schema.json +1816 -178
  186. package/src/schematics/accordion/item/accordion-item-switch-component/template.schema.json +20 -0
  187. package/src/schematics/accordion/item/accordion-item-table-component/index.d.ts +1 -1
  188. package/src/schematics/accordion/item/accordion-item-table-component/index.js +9 -56
  189. package/src/schematics/accordion/item/accordion-item-table-component/index.js.map +1 -1
  190. package/src/schematics/accordion/item/accordion-item-table-component/schema.d.ts +1 -1
  191. package/src/schematics/accordion/item/accordion-item-table-component/schema.json +1384 -292
  192. package/src/schematics/accordion/item/accordion-item-table-component/template.schema.json +20 -0
  193. package/src/schematics/accordion/item/accordion-item-tree-table-component/index.d.ts +1 -1
  194. package/src/schematics/accordion/item/accordion-item-tree-table-component/index.js +25 -84
  195. package/src/schematics/accordion/item/accordion-item-tree-table-component/index.js.map +1 -1
  196. package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.d.ts +1 -1
  197. package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.json +1367 -287
  198. package/src/schematics/accordion/item/accordion-item-tree-table-component/template.schema.json +20 -0
  199. package/src/schematics/accordion/templates/accordion-header.hbs +10 -0
  200. package/src/schematics/accordion/templates/data-grid-accordion-item.hbs +15 -0
  201. package/src/schematics/accordion/templates/default-accordion-item.hbs +15 -0
  202. package/src/schematics/accordion/templates/switch-accordion-item.hbs +29 -0
  203. package/src/schematics/accordion/templates/table-accordion-item.hbs +15 -0
  204. package/src/schematics/accordion/templates/tree-table-accordion-item.hbs +15 -0
  205. package/src/schematics/accordion-identifier.schema.json +24 -0
  206. package/src/schematics/accordion-item.schema.json +52 -0
  207. package/src/schematics/angular.schema.json +11 -11
  208. package/src/schematics/autocomplete-table-select-form-control.schema.json +96 -0
  209. package/src/schematics/backend.schema.json +13 -0
  210. package/src/schematics/base-accordion-item.schema.json +52 -0
  211. package/src/schematics/base-form-array.schema.json +45 -0
  212. package/src/schematics/base-form-control.schema.json +27 -0
  213. package/src/schematics/base-form-group.schema.json +42 -0
  214. package/src/schematics/base-table-column.schema.json +81 -0
  215. package/src/schematics/boolean-table-column.schema.json +23 -0
  216. package/src/schematics/button.schema.json +30 -0
  217. package/src/schematics/checkbox-form-control.schema.json +30 -0
  218. package/src/schematics/component-table-column.schema.json +23 -0
  219. package/src/schematics/component.schema.json +16 -0
  220. package/src/schematics/control.schema.json +26 -0
  221. package/src/schematics/copy-to-clipboard-table-column.schema.json +23 -0
  222. package/src/schematics/css-class.schema.json +34 -0
  223. package/src/schematics/data-grid-accordion-item.schema.json +34 -0
  224. package/src/schematics/data-grid-component/files/component/__componentName__.component.html.hbs +41 -0
  225. package/src/schematics/data-grid-component/index.d.ts +2 -4
  226. package/src/schematics/data-grid-component/index.js +105 -68
  227. package/src/schematics/data-grid-component/index.js.map +1 -1
  228. package/src/schematics/data-grid-component/schema.json +1107 -129
  229. package/src/schematics/data-grid-component/template.schema.json +20 -0
  230. package/src/schematics/data-grid-component/templates/default-data-grid-item.hbs +3 -0
  231. package/src/schematics/data-grid-component/templates/link-data-grid-item.hbs +8 -0
  232. package/src/schematics/data-grid-item.schema.json +50 -0
  233. package/src/schematics/data-grid.schema.json +66 -0
  234. package/src/schematics/date-table-column.schema.json +26 -0
  235. package/src/schematics/dialog-component/schema.json +141 -65
  236. package/src/schematics/dialog-component/template.schema.json +62 -0
  237. package/src/schematics/form/control/autocomplete-table-select-form-control/index.d.ts +10 -0
  238. package/src/schematics/form/control/autocomplete-table-select-form-control/index.js +285 -0
  239. package/src/schematics/form/control/autocomplete-table-select-form-control/index.js.map +1 -0
  240. package/src/schematics/form/control/autocomplete-table-select-form-control/schema.d.ts +4 -0
  241. package/src/schematics/form/control/autocomplete-table-select-form-control/schema.json +539 -0
  242. package/src/schematics/form/control/autocomplete-table-select-form-control/template.schema.json +39 -0
  243. package/src/schematics/form/control/input-form-control/index.d.ts +2 -2
  244. package/src/schematics/form/control/input-form-control/index.js +4 -27
  245. package/src/schematics/form/control/input-form-control/index.js.map +1 -1
  246. package/src/schematics/form/control/input-form-control/schema.d.ts +2 -3
  247. package/src/schematics/form/control/input-form-control/schema.json +384 -93
  248. package/src/schematics/form/control/input-form-control/template.schema.json +33 -0
  249. package/src/schematics/form/control/select-form-control/index.d.ts +4 -2
  250. package/src/schematics/form/control/select-form-control/index.js +141 -98
  251. package/src/schematics/form/control/select-form-control/index.js.map +1 -1
  252. package/src/schematics/form/control/select-form-control/schema.d.ts +2 -4
  253. package/src/schematics/form/control/select-form-control/schema.json +494 -79
  254. package/src/schematics/form/control/select-form-control/template.schema.json +33 -0
  255. package/src/schematics/form/control/table-select-form-control/index.d.ts +5 -7
  256. package/src/schematics/form/control/table-select-form-control/index.js +209 -143
  257. package/src/schematics/form/control/table-select-form-control/index.js.map +1 -1
  258. package/src/schematics/form/control/table-select-form-control/schema.d.ts +2 -5
  259. package/src/schematics/form/control/table-select-form-control/schema.json +536 -83
  260. package/src/schematics/form/control/table-select-form-control/template.schema.json +39 -0
  261. package/src/schematics/form/form-array/index.d.ts +9 -0
  262. package/src/schematics/form/form-array/index.js +54 -0
  263. package/src/schematics/form/form-array/index.js.map +1 -0
  264. package/src/schematics/form/form-array/schema.d.ts +4 -0
  265. package/src/schematics/form/form-array/schema.json +1026 -0
  266. package/src/schematics/form/form-array/template.schema.json +33 -0
  267. package/src/schematics/form/form-component/files/component/{__componentName__.component.html.template → __componentName__.component.html.hbs} +7 -4
  268. package/src/schematics/form/form-component/index.d.ts +4 -4
  269. package/src/schematics/form/form-component/index.js +23 -23
  270. package/src/schematics/form/form-component/index.js.map +1 -1
  271. package/src/schematics/form/form-component/schema.d.ts +4 -2
  272. package/src/schematics/form/form-component/schema.json +1026 -136
  273. package/src/schematics/form/form-component/template.schema.json +20 -0
  274. package/src/schematics/form/form-control/index.d.ts +6 -6
  275. package/src/schematics/form/form-control/index.js +25 -24
  276. package/src/schematics/form/form-control/index.js.map +1 -1
  277. package/src/schematics/form/form-control/schema.d.ts +2 -4
  278. package/src/schematics/form/form-control/schema.json +855 -67
  279. package/src/schematics/form/form-control/template.schema.json +33 -0
  280. package/src/schematics/form/form-definition/index.d.ts +2 -2
  281. package/src/schematics/form/form-definition/index.js +30 -4
  282. package/src/schematics/form/form-definition/index.js.map +1 -1
  283. package/src/schematics/form/form-definition/schema.d.ts +2 -2
  284. package/src/schematics/form/form-definition/schema.json +1007 -117
  285. package/src/schematics/form/form-definition/template.schema.json +30 -0
  286. package/src/schematics/form/form-group/index.d.ts +9 -0
  287. package/src/schematics/form/form-group/index.js +54 -0
  288. package/src/schematics/form/form-group/index.js.map +1 -0
  289. package/src/schematics/form/form-group/schema.d.ts +4 -0
  290. package/src/schematics/form/form-group/schema.json +1026 -0
  291. package/src/schematics/form/form-group/template.schema.json +33 -0
  292. package/src/schematics/form/templates/autocomplete-table-select-form-control.hbs +34 -0
  293. package/src/schematics/form/templates/checkbox-form-control.hbs +11 -0
  294. package/src/schematics/form/templates/default-form-array.hbs +29 -0
  295. package/src/schematics/form/templates/default-form-control.hbs +2 -0
  296. package/src/schematics/form/templates/default-form-group.hbs +15 -0
  297. package/src/schematics/form/templates/input-form-control.hbs +16 -0
  298. package/src/schematics/form/templates/mat-form-field.hbs +31 -0
  299. package/src/schematics/form/templates/select-form-control.hbs +18 -0
  300. package/src/schematics/form/templates/slide-toggle-form-control.hbs +10 -0
  301. package/src/schematics/form/templates/table-select-form-control.hbs +25 -0
  302. package/src/schematics/form/templates/textarea-form-control.hbs +25 -0
  303. package/src/schematics/form-array.schema.json +40 -0
  304. package/src/schematics/form-component.schema.json +45 -0
  305. package/src/schematics/form-control.schema.json +83 -0
  306. package/src/schematics/form-definition.schema.json +22 -0
  307. package/src/schematics/form-field.schema.json +30 -0
  308. package/src/schematics/form-group.schema.json +40 -0
  309. package/src/schematics/general.schema.json +1 -4
  310. package/src/schematics/header-button.schema.json +42 -0
  311. package/src/schematics/icon-table-column.schema.json +23 -0
  312. package/src/schematics/input-form-control.schema.json +59 -0
  313. package/src/schematics/link-table-column.schema.json +23 -0
  314. package/src/schematics/minimum-table.schema.json +76 -0
  315. package/src/schematics/pipe.schema.json +38 -0
  316. package/src/schematics/property.schema.json +38 -0
  317. package/src/schematics/route-component/files/component/__componentName__.component.html.hbs +1 -0
  318. package/src/schematics/route-component/index.d.ts +8 -0
  319. package/src/schematics/route-component/index.js +101 -0
  320. package/src/schematics/route-component/index.js.map +1 -0
  321. package/src/schematics/route-component/schema.d.ts +5 -0
  322. package/src/schematics/route-component/schema.json +154 -0
  323. package/src/schematics/route-component/template.schema.json +20 -0
  324. package/src/schematics/route-component.schema.json +35 -0
  325. package/src/schematics/select-form-control.schema.json +74 -0
  326. package/src/schematics/slide-toggle-form-control.schema.json +30 -0
  327. package/src/schematics/spinner-table-column.schema.json +23 -0
  328. package/src/schematics/switch-accordion-item.schema.json +82 -0
  329. package/src/schematics/table/action/dialog-table-action/index.js +1 -0
  330. package/src/schematics/table/action/dialog-table-action/index.js.map +1 -1
  331. package/src/schematics/table/action/dialog-table-action/schema.json +234 -119
  332. package/src/schematics/table/action/dialog-table-action/template.schema.json +58 -0
  333. package/src/schematics/table/action/form-table-action/index.d.ts +2 -2
  334. package/src/schematics/table/action/form-table-action/index.js +6 -5
  335. package/src/schematics/table/action/form-table-action/index.js.map +1 -1
  336. package/src/schematics/table/action/form-table-action/schema.d.ts +2 -2
  337. package/src/schematics/table/action/form-table-action/schema.json +1132 -138
  338. package/src/schematics/table/action/form-table-action/template.schema.json +75 -0
  339. package/src/schematics/table/action/navigation-table-action/schema.json +218 -80
  340. package/src/schematics/table/action/navigation-table-action/template.schema.json +28 -0
  341. package/src/schematics/table/action/open-api-table-action/schema.json +232 -92
  342. package/src/schematics/table/action/open-api-table-action/template.schema.json +56 -0
  343. package/src/schematics/table/action/operation-table-action/index.js +2 -1
  344. package/src/schematics/table/action/operation-table-action/index.js.map +1 -1
  345. package/src/schematics/table/action/operation-table-action/schema.json +205 -84
  346. package/src/schematics/table/action/operation-table-action/template.schema.json +14 -0
  347. package/src/schematics/table/header-button/form-table-header-button/index.d.ts +2 -2
  348. package/src/schematics/table/header-button/form-table-header-button/index.js +2 -2
  349. package/src/schematics/table/header-button/form-table-header-button/index.js.map +1 -1
  350. package/src/schematics/table/header-button/form-table-header-button/schema.d.ts +2 -2
  351. package/src/schematics/table/header-button/form-table-header-button/schema.json +1095 -98
  352. package/src/schematics/table/header-button/form-table-header-button/template.schema.json +33 -0
  353. package/src/schematics/table/header-button/navigation-table-header-button/schema.json +167 -71
  354. package/src/schematics/table/header-button/navigation-table-header-button/template.schema.json +28 -0
  355. package/src/schematics/table/table-action/schema.json +195 -77
  356. package/src/schematics/table/table-action/template.schema.json +30 -0
  357. package/src/schematics/table/table-component/files/component/__componentName__.component.html.hbs +286 -0
  358. package/src/schematics/table/table-component/index.d.ts +0 -5
  359. package/src/schematics/table/table-component/index.js +20 -33
  360. package/src/schematics/table/table-component/index.js.map +1 -1
  361. package/src/schematics/table/table-component/schema.json +1306 -292
  362. package/src/schematics/table/table-component/template.schema.json +20 -0
  363. package/src/schematics/table/table-header-button/schema.json +145 -63
  364. package/src/schematics/table/table-header-button/template.schema.json +30 -0
  365. package/src/schematics/table/templates/boolean-table-column.hbs +23 -0
  366. package/src/schematics/table/templates/component-table-column.hbs +25 -0
  367. package/src/schematics/table/templates/copy-to-clipboard-table-column.hbs +23 -0
  368. package/src/schematics/table/templates/date-table-column.hbs +24 -0
  369. package/src/schematics/table/templates/default-table-column.hbs +23 -0
  370. package/src/schematics/table/templates/icon-table-column.hbs +23 -0
  371. package/src/schematics/table/templates/link-table-column.hbs +23 -0
  372. package/src/schematics/table/templates/mat-column-def.hbs +3 -0
  373. package/src/schematics/table/templates/spinner-table-column.hbs +27 -0
  374. package/src/schematics/table/templates/tree-table-column.hbs +21 -0
  375. package/src/schematics/table/tree-table-component/files/component/__componentName__.component.html.hbs +286 -0
  376. package/src/schematics/table/tree-table-component/index.d.ts +3 -0
  377. package/src/schematics/table/tree-table-component/index.js +30 -9
  378. package/src/schematics/table/tree-table-component/index.js.map +1 -1
  379. package/src/schematics/table/tree-table-component/schema.json +1287 -261
  380. package/src/schematics/table/tree-table-component/template.schema.json +20 -0
  381. package/src/schematics/table-accordion-item.schema.json +41 -0
  382. package/src/schematics/table-action.schema.json +65 -0
  383. package/src/schematics/table-column.schema.json +76 -0
  384. package/src/schematics/table-select-form-control.schema.json +102 -0
  385. package/src/schematics/table.schema.json +58 -0
  386. package/src/schematics/templates/css-class.hbs +1 -0
  387. package/src/schematics/templates/pipe.hbs +4 -0
  388. package/src/schematics/textarea-form-control.schema.json +43 -0
  389. package/src/schematics/tree-component/index.js +2 -1
  390. package/src/schematics/tree-component/index.js.map +1 -1
  391. package/src/schematics/tree-component/schema.json +115 -70
  392. package/src/schematics/tree-component/template.schema.json +36 -0
  393. package/src/schematics/tree-table-accordion-item.schema.json +41 -0
  394. package/src/schematics/tree-table-column.schema.json +23 -0
  395. package/src/schematics/tree-table.schema.json +41 -0
  396. package/src/schematics/type.schema.json +35 -0
  397. package/src/schematics/upstream.schema.json +95 -0
  398. package/src/schematics/value.schema.json +26 -0
  399. package/src/template.schema.json +272 -0
  400. package/src/lib/accordion-itme-types.d.ts +0 -8
  401. package/src/lib/accordion-itme-types.js +0 -16
  402. package/src/lib/accordion-itme-types.js.map +0 -1
  403. package/src/lib/form-component-control.d.ts +0 -12
  404. package/src/lib/form-component-control.js +0 -15
  405. package/src/lib/form-component-control.js.map +0 -1
  406. package/src/lib/form-definition-control.d.ts +0 -59
  407. package/src/lib/form-definition-control.js +0 -156
  408. package/src/lib/form-definition-control.js.map +0 -1
  409. package/src/lib/merge-with-column-list.d.ts +0 -3
  410. package/src/lib/merge-with-column-list.js +0 -18
  411. package/src/lib/merge-with-column-list.js.map +0 -1
  412. package/src/lib/table-column.d.ts +0 -56
  413. package/src/lib/table-column.js +0 -294
  414. package/src/lib/table-column.js.map +0 -1
  415. package/src/schematics/accordion/accordion-component/files/component/__componentName__.component.html.template +0 -94
  416. package/src/schematics/accordion/accordion-component/files/header-component/accordion-header.component.html.template +0 -10
  417. package/src/schematics/data-grid-component/files/form/__componentName__.component.html.template +0 -42
  418. package/src/schematics/data-grid-component/files/plain/__componentName__.component.html.template +0 -25
  419. package/src/schematics/table/table-component/files/component/__componentName__.component.html.template +0 -299
  420. package/src/schematics/table/tree-table-component/files/component/__componentName__.component.html.template +0 -259
@@ -1,92 +1,1876 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/schema",
3
- "$id": "accordion-item-component",
4
- "type": "object",
5
- "properties": {
6
- "itemName": {
7
- "alias": "name",
8
- "type": "string",
9
- "description": "The name of the accordion item",
10
- "x-prompt": "Which name should the accordion item module have?"
3
+ "$id": "accordion-item-component-schematic",
4
+ "allOf": [
5
+ {
6
+ "$ref": "#/definitions/angular"
11
7
  },
12
- "project": {
13
- "type": "string",
14
- "description": "The target project where the accordion item module should be added.",
15
- "x-prompt": "To which project should the accordion item module be added?"
8
+ {
9
+ "$ref": "#/definitions/accordionItem"
16
10
  },
17
- "feature": {
18
- "type": "string",
19
- "description": "The feature name where the accordion item module should be added.",
20
- "x-prompt": "To which feature should the accordion item module be added?"
11
+ {
12
+ "type": "object",
13
+ "properties": {
14
+ "accordionName": {
15
+ "type": "string",
16
+ "description": "The name of the accordion module where the item should be added."
17
+ }
18
+ },
19
+ "required": [
20
+ "accordionName"
21
+ ]
22
+ }
23
+ ],
24
+ "definitions": {
25
+ "abstractControl": {
26
+ "allOf": [
27
+ {
28
+ "$ref": "#/definitions/property"
29
+ },
30
+ {
31
+ "type": "object",
32
+ "properties": {
33
+ "name": {
34
+ "type": "string",
35
+ "description": "The name of the control"
36
+ },
37
+ "isArray": {
38
+ "type": "boolean",
39
+ "description": "Whether the control value is an array",
40
+ "default": false
41
+ },
42
+ "state": {
43
+ "type": "string",
44
+ "description": "The initial state of the control"
45
+ },
46
+ "isRequired": {
47
+ "type": "boolean",
48
+ "description": "Whether the control value is required",
49
+ "default": false
50
+ },
51
+ "isReadonly": {
52
+ "type": "boolean",
53
+ "description": "Whether the control value is readonly",
54
+ "default": false
55
+ },
56
+ "isDisabled": {
57
+ "type": "boolean",
58
+ "description": "Whether the control value is disabled",
59
+ "default": false
60
+ },
61
+ "validatorList": {
62
+ "type": "array",
63
+ "items": {
64
+ "type": "string"
65
+ }
66
+ },
67
+ "kind": {
68
+ "type": "string",
69
+ "description": "The kind of the control",
70
+ "default": "default"
71
+ },
72
+ "importList": {
73
+ "type": "array",
74
+ "items": {
75
+ "$ref": "#/definitions/type"
76
+ }
77
+ },
78
+ "template": {
79
+ "type": "string",
80
+ "description": "The template of the control"
81
+ },
82
+ "role": {
83
+ "type": "string",
84
+ "description": "The role of the control",
85
+ "enum": [
86
+ "control",
87
+ "group",
88
+ "array"
89
+ ],
90
+ "default": "control"
91
+ }
92
+ },
93
+ "additionalProperties": true
94
+ }
95
+ ]
96
+ },
97
+ "accordionIdentifier": {
98
+ "type": "object",
99
+ "properties": {
100
+ "property": {
101
+ "$ref": "#/definitions/property"
102
+ },
103
+ "source": {
104
+ "type": "string",
105
+ "enum": [
106
+ "route"
107
+ ]
108
+ }
109
+ },
110
+ "required": [
111
+ "property"
112
+ ]
113
+ },
114
+ "accordionItem": {
115
+ "oneOf": [
116
+ {
117
+ "allOf": [
118
+ {
119
+ "$ref": "#/definitions/baseAccordionItem"
120
+ },
121
+ {
122
+ "type": "object",
123
+ "properties": {
124
+ "kind": {
125
+ "type": "string",
126
+ "const": "default",
127
+ "default": "default"
128
+ }
129
+ }
130
+ }
131
+ ]
132
+ },
133
+ {
134
+ "$ref": "#/definitions/switchAccordionItem"
135
+ },
136
+ {
137
+ "$ref": "#/definitions/tableAccordionItem"
138
+ },
139
+ {
140
+ "$ref": "#/definitions/dataGridAccordionItem"
141
+ },
142
+ {
143
+ "$ref": "#/definitions/treeTableAccordionItem"
144
+ }
145
+ ]
146
+ },
147
+ "angular": {
148
+ "allOf": [
149
+ {
150
+ "$ref": "#/definitions/general"
151
+ },
152
+ {
153
+ "type": "object",
154
+ "properties": {
155
+ "componentName": {
156
+ "type": "string"
157
+ },
158
+ "name": {
159
+ "type": "string"
160
+ },
161
+ "context": {
162
+ "type": "string",
163
+ "description": "The context use to generate proper names for class, files, etc"
164
+ },
165
+ "nestModule": {
166
+ "type": "string",
167
+ "description": "The module name for the table nest operations"
168
+ },
169
+ "controllerName": {
170
+ "type": "string"
171
+ },
172
+ "backend": {
173
+ "$ref": "#/definitions/backend"
174
+ },
175
+ "directory": {
176
+ "type": "string",
177
+ "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"
178
+ },
179
+ "shared": {
180
+ "type": "boolean",
181
+ "description": "Whether the generated code is used across the project",
182
+ "default": false
183
+ },
184
+ "scope": {
185
+ "type": "string"
186
+ },
187
+ "prefix": {
188
+ "type": "string"
189
+ },
190
+ "openApi": {
191
+ "type": "object",
192
+ "additionalProperties": true
193
+ }
194
+ }
195
+ }
196
+ ]
197
+ },
198
+ "autocompleteTableSelectFormControl": {
199
+ "allOf": [
200
+ {
201
+ "$ref": "#/definitions/baseFormControl"
202
+ },
203
+ {
204
+ "type": "object",
205
+ "properties": {
206
+ "formField": {
207
+ "$ref": "#/definitions/formField"
208
+ },
209
+ "kind": {
210
+ "type": "string",
211
+ "const": "autocomplete-table-select"
212
+ },
213
+ "placeholder": {
214
+ "type": "string"
215
+ },
216
+ "columnList": {
217
+ "alias": "column",
218
+ "type": "array",
219
+ "items": {
220
+ "description": "table column name",
221
+ "type": "object",
222
+ "properties": {
223
+ "name": {
224
+ "type": "string",
225
+ "description": "table column name"
226
+ },
227
+ "title": {
228
+ "type": "string",
229
+ "description": "table column label"
230
+ },
231
+ "hasFilter": {
232
+ "type": "boolean",
233
+ "description": "Whether the column has a filter"
234
+ },
235
+ "kind": {
236
+ "type": "string",
237
+ "description": "The kind of data in the column"
238
+ }
239
+ }
240
+ },
241
+ "description": "List of table column names"
242
+ },
243
+ "title": {
244
+ "type": "string",
245
+ "description": "The title of the table select window"
246
+ },
247
+ "toDisplay": {
248
+ "type": "object",
249
+ "properties": {
250
+ "property": {
251
+ "$ref": "#/definitions/property"
252
+ }
253
+ }
254
+ },
255
+ "toValue": {
256
+ "type": "object",
257
+ "properties": {
258
+ "property": {
259
+ "$ref": "#/definitions/property"
260
+ }
261
+ }
262
+ },
263
+ "upstream": {
264
+ "$ref": "#/definitions/upstream"
265
+ },
266
+ "resolver": {
267
+ "type": "object",
268
+ "properties": {
269
+ "upstream": {
270
+ "$ref": "#/definitions/upstream"
271
+ }
272
+ }
273
+ }
274
+ }
275
+ }
276
+ ]
21
277
  },
22
278
  "backend": {
23
279
  "type": "string",
24
280
  "description": "The backend that should be used to handel data",
25
281
  "enum": [
26
282
  "none",
27
- "local",
28
283
  "nestjs",
29
- "open-api"
284
+ "open-api",
285
+ "local"
30
286
  ],
31
287
  "default": "none"
32
288
  },
33
- "accordionName": {
34
- "type": "string",
35
- "description": "The name of the accordion module where the item should be added."
289
+ "baseAccordionItem": {
290
+ "type": "object",
291
+ "properties": {
292
+ "name": {
293
+ "type": "string"
294
+ },
295
+ "kind": {
296
+ "type": "string"
297
+ },
298
+ "modifiers": {
299
+ "alias": "modifier",
300
+ "type": "array",
301
+ "items": {
302
+ "type": "string"
303
+ },
304
+ "description": "The modifiers to apply to the accordion item type"
305
+ },
306
+ "identifier": {
307
+ "$ref": "#/definitions/accordionIdentifier"
308
+ },
309
+ "title": {
310
+ "type": "string"
311
+ },
312
+ "description": {
313
+ "type": "string"
314
+ },
315
+ "upstream": {
316
+ "$ref": "#/definitions/upstream"
317
+ },
318
+ "propertyList": {
319
+ "alias": "property",
320
+ "type": "array",
321
+ "items": {
322
+ "$ref": "#/definitions/property"
323
+ }
324
+ }
325
+ },
326
+ "required": [
327
+ "name"
328
+ ]
36
329
  },
37
- "shared": {
38
- "type": "boolean",
39
- "default": false,
40
- "description": "Whether the item is based of a shared component"
330
+ "baseFormArray": {
331
+ "allOf": [
332
+ {
333
+ "$ref": "#/definitions/abstractControl"
334
+ },
335
+ {
336
+ "type": "object",
337
+ "properties": {
338
+ "controlList": {
339
+ "type": "array",
340
+ "description": "The list of controls in the group",
341
+ "items": {
342
+ "$ref": "#/definitions/control"
343
+ }
344
+ },
345
+ "legend": {
346
+ "type": "string"
347
+ },
348
+ "groupLegend": {
349
+ "type": "string"
350
+ },
351
+ "kind": {
352
+ "type": "string",
353
+ "description": "The kind of the array",
354
+ "const": "default",
355
+ "default": "default"
356
+ },
357
+ "role": {
358
+ "type": "string",
359
+ "const": "array"
360
+ }
361
+ }
362
+ }
363
+ ]
41
364
  },
42
- "type": {
43
- "type": "string",
44
- "enum": [
45
- "panel",
46
- "table",
47
- "data-grid",
48
- "data-grid-collection",
49
- "tree-table",
50
- "switch"
51
- ],
52
- "description": "The type of the accordion item",
53
- "x-prompt": "Select the type of the accordion item",
54
- "default": "panel"
55
- },
56
- "modifiers": {
57
- "alias": "modifier",
58
- "type": "array",
59
- "items": {
60
- "type": "string"
365
+ "baseFormControl": {
366
+ "allOf": [
367
+ {
368
+ "$ref": "#/definitions/abstractControl"
369
+ },
370
+ {
371
+ "type": "object",
372
+ "properties": {
373
+ "label": {
374
+ "type": "string",
375
+ "description": "The label of the control"
376
+ },
377
+ "role": {
378
+ "type": "string",
379
+ "const": "control"
380
+ }
381
+ }
382
+ }
383
+ ]
384
+ },
385
+ "baseFormGroup": {
386
+ "allOf": [
387
+ {
388
+ "$ref": "#/definitions/abstractControl"
389
+ },
390
+ {
391
+ "type": "object",
392
+ "properties": {
393
+ "controlList": {
394
+ "type": "array",
395
+ "description": "The list of controls in the group",
396
+ "items": {
397
+ "$ref": "#/definitions/control"
398
+ }
399
+ },
400
+ "legend": {
401
+ "type": "string"
402
+ },
403
+ "kind": {
404
+ "type": "string",
405
+ "description": "The kind of the group",
406
+ "const": "default",
407
+ "default": "default"
408
+ },
409
+ "role": {
410
+ "type": "string",
411
+ "const": "group"
412
+ }
413
+ }
414
+ }
415
+ ]
416
+ },
417
+ "baseTableColumn": {
418
+ "type": "object",
419
+ "properties": {
420
+ "name": {
421
+ "type": "string"
422
+ },
423
+ "type": {
424
+ "$ref": "#/definitions/type"
425
+ },
426
+ "kind": {
427
+ "type": "string"
428
+ },
429
+ "modifiers": {
430
+ "type": "array",
431
+ "items": {
432
+ "type": "string"
433
+ }
434
+ },
435
+ "template": {
436
+ "type": "string"
437
+ },
438
+ "pipeList": {
439
+ "type": "array",
440
+ "items": {
441
+ "$ref": "#/definitions/pipe"
442
+ }
443
+ },
444
+ "hasFilter": {
445
+ "type": "boolean"
446
+ },
447
+ "sortable": {
448
+ "type": "boolean"
449
+ },
450
+ "nowrap": {
451
+ "type": "boolean"
452
+ },
453
+ "cssClass": {
454
+ "$ref": "#/definitions/cssClass"
455
+ },
456
+ "title": {
457
+ "type": "string"
458
+ },
459
+ "propertyPath": {
460
+ "type": "string"
461
+ },
462
+ "hidden": {
463
+ "type": "boolean"
464
+ },
465
+ "active": {
466
+ "type": "boolean"
467
+ },
468
+ "inactive": {
469
+ "type": "boolean"
470
+ },
471
+ "show": {
472
+ "type": "boolean"
473
+ },
474
+ "filterControl": {
475
+ "$ref": "#/definitions/formControl"
476
+ }
61
477
  },
62
- "description": "The modifiers to apply to the accordion item type"
478
+ "required": [
479
+ "name"
480
+ ]
481
+ },
482
+ "booleanTableColumn": {
483
+ "allOf": [
484
+ {
485
+ "$ref": "#/definitions/baseTableColumn"
486
+ },
487
+ {
488
+ "type": "object",
489
+ "properties": {
490
+ "kind": {
491
+ "type": "string",
492
+ "const": "boolean"
493
+ }
494
+ }
495
+ }
496
+ ]
497
+ },
498
+ "button": {
499
+ "type": "object",
500
+ "properties": {
501
+ "svgIcon": {
502
+ "type": "string"
503
+ },
504
+ "icon": {
505
+ "type": "string"
506
+ },
507
+ "directiveList": {
508
+ "type": "array",
509
+ "items": {
510
+ "$ref": "#/definitions/type"
511
+ }
512
+ },
513
+ "importList": {
514
+ "type": "array",
515
+ "items": {
516
+ "$ref": "#/definitions/type"
517
+ }
518
+ }
519
+ }
63
520
  },
64
- "title": {
65
- "type": "string"
521
+ "checkboxFormControl": {
522
+ "allOf": [
523
+ {
524
+ "$ref": "#/definitions/baseFormControl"
525
+ },
526
+ {
527
+ "type": "object",
528
+ "properties": {
529
+ "kind": {
530
+ "type": "string",
531
+ "const": "checkbox"
532
+ },
533
+ "labelPosition": {
534
+ "type": "string",
535
+ "enum": [
536
+ "before",
537
+ "after"
538
+ ]
539
+ }
540
+ }
541
+ }
542
+ ]
543
+ },
544
+ "componentTableColumn": {
545
+ "allOf": [
546
+ {
547
+ "$ref": "#/definitions/baseTableColumn"
548
+ },
549
+ {
550
+ "type": "object",
551
+ "properties": {
552
+ "kind": {
553
+ "type": "string",
554
+ "const": "component"
555
+ }
556
+ }
557
+ }
558
+ ]
559
+ },
560
+ "control": {
561
+ "oneOf": [
562
+ {
563
+ "$ref": "#/definitions/formGroup"
564
+ },
565
+ {
566
+ "$ref": "#/definitions/formArray"
567
+ },
568
+ {
569
+ "$ref": "#/definitions/formControl"
570
+ }
571
+ ]
572
+ },
573
+ "copyToClipboardTableColumn": {
574
+ "allOf": [
575
+ {
576
+ "$ref": "#/definitions/baseTableColumn"
577
+ },
578
+ {
579
+ "type": "object",
580
+ "properties": {
581
+ "kind": {
582
+ "type": "string",
583
+ "const": "copy-to-clipboard"
584
+ }
585
+ }
586
+ }
587
+ ]
588
+ },
589
+ "cssClass": {
590
+ "oneOf": [
591
+ {
592
+ "type": "string"
593
+ },
594
+ {
595
+ "type": "array",
596
+ "items": {
597
+ "type": "string"
598
+ }
599
+ },
600
+ {
601
+ "type": "object",
602
+ "properties": {
603
+ "name": {
604
+ "type": "string"
605
+ }
606
+ }
607
+ },
608
+ {
609
+ "type": "array",
610
+ "items": {
611
+ "type": "object",
612
+ "properties": {
613
+ "name": {
614
+ "type": "string"
615
+ }
616
+ }
617
+ }
618
+ }
619
+ ]
66
620
  },
67
- "description": {
68
- "type": "string"
621
+ "dataGrid": {
622
+ "type": "object",
623
+ "properties": {
624
+ "mode": {
625
+ "type": "string",
626
+ "description": "The mode of the form",
627
+ "enum": [
628
+ "form",
629
+ "plain"
630
+ ]
631
+ },
632
+ "collection": {
633
+ "type": "boolean",
634
+ "description": "Whether the data grid is used as collection."
635
+ },
636
+ "title": {
637
+ "type": "string",
638
+ "description": "The title of the data grid card component"
639
+ },
640
+ "subtitle": {
641
+ "type": "string",
642
+ "description": "The subtitle of the data grid card component"
643
+ },
644
+ "itemList": {
645
+ "alias": "item",
646
+ "type": "array",
647
+ "items": {
648
+ "$ref": "#/definitions/dataGridItem"
649
+ }
650
+ },
651
+ "inCard": {
652
+ "type": "boolean",
653
+ "description": "Whether the data grid is used in a card.",
654
+ "default": true
655
+ },
656
+ "upstream": {
657
+ "$ref": "#/definitions/upstream"
658
+ },
659
+ "propertyList": {
660
+ "alias": "property",
661
+ "type": "array",
662
+ "items": {
663
+ "$ref": "#/definitions/property"
664
+ }
665
+ },
666
+ "identifier": {
667
+ "$ref": "#/definitions/accordionIdentifier"
668
+ }
669
+ }
69
670
  },
70
- "overwrite": {
71
- "anyOf": [
671
+ "dataGridAccordionItem": {
672
+ "allOf": [
673
+ {
674
+ "$ref": "#/definitions/baseAccordionItem"
675
+ },
72
676
  {
677
+ "type": "object",
678
+ "properties": {
679
+ "kind": {
680
+ "type": "string",
681
+ "const": "data-grid"
682
+ }
683
+ }
684
+ },
685
+ {
686
+ "type": "object",
687
+ "properties": {
688
+ "dataGrid": {
689
+ "$ref": "#/definitions/dataGrid"
690
+ }
691
+ }
692
+ }
693
+ ]
694
+ },
695
+ "dataGridItem": {
696
+ "type": "object",
697
+ "properties": {
698
+ "name": {
699
+ "type": "string",
700
+ "description": "The name of the data grid item"
701
+ },
702
+ "header": {
703
+ "type": "string",
704
+ "description": "The name of the control"
705
+ },
706
+ "pipeList": {
707
+ "type": "array",
708
+ "items": {
709
+ "$ref": "#/definitions/pipe"
710
+ }
711
+ },
712
+ "formControl": {
713
+ "$ref": "#/definitions/control"
714
+ },
715
+ "template": {
716
+ "type": "string"
717
+ },
718
+ "kind": {
719
+ "type": "string",
720
+ "enum": [
721
+ "default",
722
+ "link"
723
+ ],
724
+ "default": "default"
725
+ },
726
+ "type": {
727
+ "$ref": "#/definitions/type"
728
+ },
729
+ "isArray": {
73
730
  "type": "boolean"
731
+ }
732
+ },
733
+ "required": [
734
+ "name"
735
+ ]
736
+ },
737
+ "dateTableColumn": {
738
+ "allOf": [
739
+ {
740
+ "$ref": "#/definitions/baseTableColumn"
74
741
  },
75
742
  {
743
+ "type": "object",
744
+ "properties": {
745
+ "kind": {
746
+ "type": "string",
747
+ "const": "date"
748
+ },
749
+ "format": {
750
+ "type": "string"
751
+ }
752
+ }
753
+ }
754
+ ]
755
+ },
756
+ "formArray": {
757
+ "allOf": [
758
+ {
759
+ "type": "object",
760
+ "properties": {
761
+ "role": {
762
+ "type": "string",
763
+ "const": "array"
764
+ }
765
+ }
766
+ },
767
+ {
768
+ "oneOf": [
769
+ {
770
+ "allOf": [
771
+ {
772
+ "$ref": "#/definitions/baseFormArray"
773
+ },
774
+ {
775
+ "type": "object",
776
+ "properties": {
777
+ "kind": {
778
+ "type": "string",
779
+ "const": "default"
780
+ }
781
+ }
782
+ }
783
+ ]
784
+ }
785
+ ]
786
+ }
787
+ ]
788
+ },
789
+ "formControl": {
790
+ "allOf": [
791
+ {
792
+ "type": "object",
793
+ "properties": {
794
+ "role": {
795
+ "type": "string",
796
+ "const": "control",
797
+ "default": "control"
798
+ }
799
+ }
800
+ },
801
+ {
802
+ "oneOf": [
803
+ {
804
+ "allOf": [
805
+ {
806
+ "$ref": "#/definitions/baseFormControl"
807
+ },
808
+ {
809
+ "type": "object",
810
+ "properties": {
811
+ "kind": {
812
+ "type": "string",
813
+ "const": "default"
814
+ }
815
+ }
816
+ }
817
+ ]
818
+ },
819
+ {
820
+ "$ref": "#/definitions/inputFormControl"
821
+ },
822
+ {
823
+ "$ref": "#/definitions/selectFormControl"
824
+ },
825
+ {
826
+ "$ref": "#/definitions/checkboxFormControl"
827
+ },
828
+ {
829
+ "$ref": "#/definitions/textareaFormControl"
830
+ },
831
+ {
832
+ "$ref": "#/definitions/tableSelectFormControl"
833
+ },
834
+ {
835
+ "$ref": "#/definitions/slideToggleFormControl"
836
+ },
837
+ {
838
+ "$ref": "#/definitions/autocompleteTableSelectFormControl"
839
+ }
840
+ ]
841
+ }
842
+ ]
843
+ },
844
+ "formField": {
845
+ "type": "object",
846
+ "properties": {
847
+ "label": {
848
+ "type": "string"
849
+ },
850
+ "prefixButton": {
851
+ "$ref": "#/definitions/button"
852
+ },
853
+ "suffixButton": {
854
+ "$ref": "#/definitions/button"
855
+ },
856
+ "hasClearButton": {
857
+ "type": "boolean"
858
+ },
859
+ "cssClass": {
860
+ "$ref": "#/definitions/cssClass"
861
+ }
862
+ }
863
+ },
864
+ "formGroup": {
865
+ "allOf": [
866
+ {
867
+ "type": "object",
868
+ "properties": {
869
+ "role": {
870
+ "type": "string",
871
+ "const": "group"
872
+ }
873
+ }
874
+ },
875
+ {
876
+ "oneOf": [
877
+ {
878
+ "allOf": [
879
+ {
880
+ "$ref": "#/definitions/baseFormGroup"
881
+ },
882
+ {
883
+ "type": "object",
884
+ "properties": {
885
+ "kind": {
886
+ "type": "string",
887
+ "const": "default"
888
+ }
889
+ }
890
+ }
891
+ ]
892
+ }
893
+ ]
894
+ }
895
+ ]
896
+ },
897
+ "general": {
898
+ "type": "object",
899
+ "properties": {
900
+ "project": {
901
+ "type": "string",
902
+ "description": "Project name where the files should be generated"
903
+ },
904
+ "feature": {
905
+ "type": "string",
906
+ "description": "Feature name where the files should be generated"
907
+ },
908
+ "overwrite": {
909
+ "anyOf": [
910
+ {
911
+ "type": "boolean"
912
+ },
913
+ {
914
+ "type": "array",
915
+ "items": {
916
+ "type": "string"
917
+ }
918
+ }
919
+ ],
920
+ "description": "Overwrite existing files",
921
+ "default": false
922
+ },
923
+ "overwriteHtml": {
924
+ "type": "boolean",
925
+ "default": false
926
+ },
927
+ "replace": {
928
+ "type": "boolean",
929
+ "default": false
930
+ }
931
+ }
932
+ },
933
+ "headerButton": {
934
+ "type": "object",
935
+ "properties": {
936
+ "permission": {
937
+ "type": "string"
938
+ },
939
+ "icon": {
940
+ "type": "string"
941
+ },
942
+ "svgIcon": {
943
+ "type": "string"
944
+ },
945
+ "refresh": {
946
+ "type": "boolean",
947
+ "description": "Whether the table action should refresh the table after execution",
948
+ "default": false
949
+ },
950
+ "confirm": {
951
+ "type": "boolean",
952
+ "description": "Whether the table action should confirm before execution",
953
+ "default": false
954
+ },
955
+ "tooltip": {
956
+ "type": "string",
957
+ "description": "The tooltip for the table action"
958
+ },
959
+ "errorMessage": {
960
+ "type": "string",
961
+ "description": "The error message for the table action"
962
+ },
963
+ "successMessage": {
964
+ "type": "string",
965
+ "description": "The success message for the table action"
966
+ },
967
+ "options": {
968
+ "type": "object",
969
+ "additionalProperties": true
970
+ }
971
+ }
972
+ },
973
+ "iconTableColumn": {
974
+ "allOf": [
975
+ {
976
+ "$ref": "#/definitions/baseTableColumn"
977
+ },
978
+ {
979
+ "type": "object",
980
+ "properties": {
981
+ "kind": {
982
+ "type": "string",
983
+ "const": "icon"
984
+ }
985
+ }
986
+ }
987
+ ]
988
+ },
989
+ "inputFormControl": {
990
+ "allOf": [
991
+ {
992
+ "$ref": "#/definitions/baseFormControl"
993
+ },
994
+ {
995
+ "type": "object",
996
+ "properties": {
997
+ "kind": {
998
+ "type": "string",
999
+ "const": "input"
1000
+ },
1001
+ "formField": {
1002
+ "$ref": "#/definitions/formField"
1003
+ },
1004
+ "inputType": {
1005
+ "type": "string",
1006
+ "enum": [
1007
+ "text",
1008
+ "password",
1009
+ "email",
1010
+ "number",
1011
+ "tel",
1012
+ "url",
1013
+ "checkbox",
1014
+ "color",
1015
+ "date",
1016
+ "time",
1017
+ "datetime-local",
1018
+ "file",
1019
+ "hidden",
1020
+ "image",
1021
+ "month",
1022
+ "radio",
1023
+ "reset",
1024
+ "button",
1025
+ "search",
1026
+ "submit",
1027
+ "week",
1028
+ "range"
1029
+ ]
1030
+ },
1031
+ "placeholder": {
1032
+ "type": "string"
1033
+ }
1034
+ }
1035
+ }
1036
+ ]
1037
+ },
1038
+ "linkTableColumn": {
1039
+ "allOf": [
1040
+ {
1041
+ "$ref": "#/definitions/baseTableColumn"
1042
+ },
1043
+ {
1044
+ "type": "object",
1045
+ "properties": {
1046
+ "kind": {
1047
+ "type": "string",
1048
+ "const": "link"
1049
+ }
1050
+ }
1051
+ }
1052
+ ]
1053
+ },
1054
+ "minimumTable": {
1055
+ "type": "object",
1056
+ "properties": {
1057
+ "propertyList": {
1058
+ "alias": "property",
1059
+ "type": "array",
1060
+ "items": {
1061
+ "$ref": "#/definitions/property"
1062
+ }
1063
+ },
1064
+ "upstream": {
1065
+ "$ref": "#/definitions/upstream"
1066
+ },
1067
+ "columnList": {
1068
+ "alias": "column",
1069
+ "type": "array",
1070
+ "items": {
1071
+ "$ref": "#/definitions/tableColumn"
1072
+ },
1073
+ "description": "List of table column names"
1074
+ },
1075
+ "actionList": {
1076
+ "alias": "action",
1077
+ "type": "array",
1078
+ "items": {
1079
+ "$ref": "#/definitions/tableAction"
1080
+ }
1081
+ },
1082
+ "headerButton": {
1083
+ "$ref": "#/definitions/headerButton"
1084
+ },
1085
+ "modifiers": {
1086
+ "alias": "modifier",
76
1087
  "type": "array",
77
1088
  "items": {
78
1089
  "type": "string"
1090
+ },
1091
+ "description": "The table modifiers"
1092
+ },
1093
+ "cssClass": {
1094
+ "$ref": "#/definitions/cssClass"
1095
+ },
1096
+ "identifier": {
1097
+ "$ref": "#/definitions/accordionIdentifier"
1098
+ },
1099
+ "sortable": {
1100
+ "type": "boolean",
1101
+ "description": "Whether the table is sortable"
1102
+ }
1103
+ }
1104
+ },
1105
+ "pipe": {
1106
+ "oneOf": [
1107
+ {
1108
+ "type": "string"
1109
+ },
1110
+ {
1111
+ "allOf": [
1112
+ {
1113
+ "$ref": "#/definitions/type"
1114
+ },
1115
+ {
1116
+ "type": "object",
1117
+ "properties": {
1118
+ "argumentList": {
1119
+ "type": "array",
1120
+ "items": {
1121
+ "$ref": "#/definitions/value"
1122
+ }
1123
+ }
1124
+ },
1125
+ "required": [
1126
+ "name"
1127
+ ]
1128
+ }
1129
+ ]
1130
+ }
1131
+ ]
1132
+ },
1133
+ "property": {
1134
+ "oneOf": [
1135
+ {
1136
+ "type": "string"
1137
+ },
1138
+ {
1139
+ "type": "object",
1140
+ "properties": {
1141
+ "name": {
1142
+ "type": "string"
1143
+ },
1144
+ "type": {
1145
+ "$ref": "#/definitions/type"
1146
+ },
1147
+ "isArray": {
1148
+ "type": "boolean"
1149
+ },
1150
+ "isRequired": {
1151
+ "type": "boolean"
1152
+ },
1153
+ "source": {
1154
+ "type": "string"
1155
+ },
1156
+ "memberList": {
1157
+ "type": "array",
1158
+ "items": {
1159
+ "additionalProperties": true
1160
+ }
1161
+ }
1162
+ }
1163
+ }
1164
+ ]
1165
+ },
1166
+ "selectFormControl": {
1167
+ "allOf": [
1168
+ {
1169
+ "$ref": "#/definitions/baseFormControl"
1170
+ },
1171
+ {
1172
+ "type": "object",
1173
+ "properties": {
1174
+ "formField": {
1175
+ "$ref": "#/definitions/formField"
1176
+ },
1177
+ "kind": {
1178
+ "type": "string",
1179
+ "const": "select"
1180
+ },
1181
+ "upstream": {
1182
+ "$ref": "#/definitions/upstream"
1183
+ },
1184
+ "optionList": {
1185
+ "type": "array",
1186
+ "items": {
1187
+ "type": "object",
1188
+ "properties": {
1189
+ "display": {
1190
+ "type": "string"
1191
+ },
1192
+ "value": {
1193
+ "oneOf": [
1194
+ {
1195
+ "type": "string"
1196
+ },
1197
+ {
1198
+ "type": "number"
1199
+ },
1200
+ {
1201
+ "type": "boolean"
1202
+ },
1203
+ {
1204
+ "type": "object",
1205
+ "additionalProperties": true
1206
+ }
1207
+ ]
1208
+ }
1209
+ }
1210
+ }
1211
+ },
1212
+ "backend": {
1213
+ "$ref": "#/definitions/backend"
1214
+ },
1215
+ "multiple": {
1216
+ "alias": "multi",
1217
+ "type": "boolean",
1218
+ "description": "Whether the select form control is multiple mode"
1219
+ }
1220
+ }
1221
+ }
1222
+ ]
1223
+ },
1224
+ "slideToggleFormControl": {
1225
+ "allOf": [
1226
+ {
1227
+ "$ref": "#/definitions/baseFormControl"
1228
+ },
1229
+ {
1230
+ "type": "object",
1231
+ "properties": {
1232
+ "kind": {
1233
+ "type": "string",
1234
+ "const": "slide-toggle"
1235
+ },
1236
+ "labelPosition": {
1237
+ "type": "string",
1238
+ "enum": [
1239
+ "before",
1240
+ "after"
1241
+ ]
1242
+ }
1243
+ }
1244
+ }
1245
+ ]
1246
+ },
1247
+ "spinnerTableColumn": {
1248
+ "allOf": [
1249
+ {
1250
+ "$ref": "#/definitions/baseTableColumn"
1251
+ },
1252
+ {
1253
+ "type": "object",
1254
+ "properties": {
1255
+ "kind": {
1256
+ "type": "string",
1257
+ "const": "spinner"
1258
+ }
1259
+ }
1260
+ }
1261
+ ]
1262
+ },
1263
+ "switchAccordionItem": {
1264
+ "allOf": [
1265
+ {
1266
+ "$ref": "#/definitions/baseAccordionItem"
1267
+ },
1268
+ {
1269
+ "type": "object",
1270
+ "properties": {
1271
+ "kind": {
1272
+ "type": "string",
1273
+ "const": "switch"
1274
+ },
1275
+ "switch": {
1276
+ "type": "object",
1277
+ "properties": {
1278
+ "property": {
1279
+ "$ref": "#/definitions/property"
1280
+ },
1281
+ "defaultCase": {
1282
+ "type": "object",
1283
+ "properties": {
1284
+ "itemList": {
1285
+ "alias": "item",
1286
+ "type": "array",
1287
+ "items": {
1288
+ "$ref": "#/definitions/accordionItem"
1289
+ },
1290
+ "description": "The list of accordion expansion panels"
1291
+ }
1292
+ },
1293
+ "required": [
1294
+ "itemList"
1295
+ ]
1296
+ },
1297
+ "case": {
1298
+ "type": "array",
1299
+ "items": {
1300
+ "type": "object",
1301
+ "properties": {
1302
+ "test": {
1303
+ "anyOf": [
1304
+ {
1305
+ "type": "string"
1306
+ },
1307
+ {
1308
+ "type": "number"
1309
+ },
1310
+ {
1311
+ "type": "boolean"
1312
+ }
1313
+ ]
1314
+ },
1315
+ "itemList": {
1316
+ "alias": "item",
1317
+ "type": "array",
1318
+ "items": {
1319
+ "$ref": "#/definitions/accordionItem"
1320
+ },
1321
+ "description": "The list of accordion expansion panels"
1322
+ }
1323
+ },
1324
+ "required": [
1325
+ "test",
1326
+ "itemList"
1327
+ ]
1328
+ }
1329
+ }
1330
+ },
1331
+ "required": [
1332
+ "property"
1333
+ ]
1334
+ }
1335
+ }
1336
+ }
1337
+ ]
1338
+ },
1339
+ "table": {
1340
+ "allOf": [
1341
+ {
1342
+ "$ref": "#/definitions/minimumTable"
1343
+ },
1344
+ {
1345
+ "type": "object",
1346
+ "properties": {
1347
+ "tableMethod": {
1348
+ "$ref": "#/definitions/type"
1349
+ },
1350
+ "openApi": {
1351
+ "type": "object",
1352
+ "properties": {
1353
+ "operationId": {
1354
+ "type": "string",
1355
+ "description": "The operationId for the open api operation"
1356
+ },
1357
+ "adapter": {
1358
+ "$ref": "#/definitions/type"
1359
+ }
1360
+ },
1361
+ "required": [
1362
+ "operationId"
1363
+ ]
1364
+ },
1365
+ "modifiers": {
1366
+ "alias": "modifier",
1367
+ "type": "array",
1368
+ "items": {
1369
+ "type": "string",
1370
+ "enum": [
1371
+ "navigation-back-header",
1372
+ "without-title",
1373
+ "show-archived-slide",
1374
+ "with-header"
1375
+ ]
1376
+ },
1377
+ "description": "The table modifiers"
1378
+ },
1379
+ "selectColumn": {
1380
+ "type": "boolean",
1381
+ "description": "Whether to add a select column to the table"
1382
+ }
1383
+ }
1384
+ }
1385
+ ]
1386
+ },
1387
+ "tableAccordionItem": {
1388
+ "allOf": [
1389
+ {
1390
+ "$ref": "#/definitions/baseAccordionItem"
1391
+ },
1392
+ {
1393
+ "type": "object",
1394
+ "properties": {
1395
+ "kind": {
1396
+ "type": "string",
1397
+ "const": "table"
1398
+ },
1399
+ "modifiers": {
1400
+ "alias": "modifier",
1401
+ "type": "array",
1402
+ "items": {
1403
+ "type": "string",
1404
+ "enum": [
1405
+ "navigation-back-header",
1406
+ "without-title"
1407
+ ]
1408
+ },
1409
+ "description": "The table modifiers"
1410
+ },
1411
+ "table": {
1412
+ "$ref": "#/definitions/table"
1413
+ }
1414
+ }
1415
+ }
1416
+ ]
1417
+ },
1418
+ "tableAction": {
1419
+ "type": "object",
1420
+ "properties": {
1421
+ "type": {
1422
+ "type": "string"
1423
+ },
1424
+ "refresh": {
1425
+ "type": "boolean"
1426
+ },
1427
+ "confirm": {
1428
+ "type": "boolean"
1429
+ },
1430
+ "tooltip": {
1431
+ "type": "string"
1432
+ },
1433
+ "errorMessage": {
1434
+ "type": "string"
1435
+ },
1436
+ "successMessage": {
1437
+ "type": "string"
1438
+ },
1439
+ "priority": {
1440
+ "type": "number"
1441
+ },
1442
+ "checkFunction": {
1443
+ "type": "string"
1444
+ },
1445
+ "inHeader": {
1446
+ "type": "boolean"
1447
+ },
1448
+ "role": {
1449
+ "type": "string"
1450
+ },
1451
+ "icon": {
1452
+ "type": "string"
1453
+ },
1454
+ "svgIcon": {
1455
+ "type": "string"
1456
+ },
1457
+ "permission": {
1458
+ "type": "string"
1459
+ },
1460
+ "color": {
1461
+ "type": "string",
1462
+ "description": "Value for the color input of the mat-button / mat-icon component"
1463
+ },
1464
+ "cssClass": {
1465
+ "$ref": "#/definitions/cssClass"
1466
+ },
1467
+ "options": {
1468
+ "type": "object",
1469
+ "additionalProperties": true
1470
+ }
1471
+ },
1472
+ "required": [
1473
+ "type"
1474
+ ]
1475
+ },
1476
+ "tableColumn": {
1477
+ "type": "object",
1478
+ "oneOf": [
1479
+ {
1480
+ "allOf": [
1481
+ {
1482
+ "$ref": "#/definitions/baseTableColumn"
1483
+ },
1484
+ {
1485
+ "type": "object",
1486
+ "properties": {
1487
+ "kind": {
1488
+ "type": "string",
1489
+ "const": "default"
1490
+ }
1491
+ }
1492
+ }
1493
+ ]
1494
+ },
1495
+ {
1496
+ "$ref": "#/definitions/dateTableColumn"
1497
+ },
1498
+ {
1499
+ "$ref": "#/definitions/linkTableColumn"
1500
+ },
1501
+ {
1502
+ "$ref": "#/definitions/iconTableColumn"
1503
+ },
1504
+ {
1505
+ "$ref": "#/definitions/booleanTableColumn"
1506
+ },
1507
+ {
1508
+ "$ref": "#/definitions/componentTableColumn"
1509
+ },
1510
+ {
1511
+ "$ref": "#/definitions/copyToClipboardTableColumn"
1512
+ },
1513
+ {
1514
+ "$ref": "#/definitions/treeTableColumn"
1515
+ },
1516
+ {
1517
+ "$ref": "#/definitions/spinnerTableColumn"
1518
+ }
1519
+ ]
1520
+ },
1521
+ "tableSelectFormControl": {
1522
+ "allOf": [
1523
+ {
1524
+ "$ref": "#/definitions/baseFormControl"
1525
+ },
1526
+ {
1527
+ "type": "object",
1528
+ "properties": {
1529
+ "formField": {
1530
+ "$ref": "#/definitions/formField"
1531
+ },
1532
+ "kind": {
1533
+ "type": "string",
1534
+ "const": "table-select"
1535
+ },
1536
+ "placeholder": {
1537
+ "type": "string"
1538
+ },
1539
+ "columnList": {
1540
+ "alias": "column",
1541
+ "type": "array",
1542
+ "items": {
1543
+ "description": "table column name",
1544
+ "type": "object",
1545
+ "properties": {
1546
+ "name": {
1547
+ "type": "string",
1548
+ "description": "table column name"
1549
+ },
1550
+ "title": {
1551
+ "type": "string",
1552
+ "description": "table column label"
1553
+ },
1554
+ "hasFilter": {
1555
+ "type": "boolean",
1556
+ "description": "Whether the column has a filter"
1557
+ },
1558
+ "kind": {
1559
+ "type": "string",
1560
+ "description": "The kind of data in the column"
1561
+ }
1562
+ }
1563
+ },
1564
+ "description": "List of table column names"
1565
+ },
1566
+ "title": {
1567
+ "type": "string",
1568
+ "description": "The title of the table select window"
1569
+ },
1570
+ "toDisplay": {
1571
+ "type": "object",
1572
+ "properties": {
1573
+ "property": {
1574
+ "$ref": "#/definitions/property"
1575
+ }
1576
+ }
1577
+ },
1578
+ "toValue": {
1579
+ "type": "object",
1580
+ "properties": {
1581
+ "property": {
1582
+ "$ref": "#/definitions/property"
1583
+ }
1584
+ }
1585
+ },
1586
+ "upstream": {
1587
+ "$ref": "#/definitions/upstream"
1588
+ },
1589
+ "resolver": {
1590
+ "type": "object",
1591
+ "properties": {
1592
+ "upstream": {
1593
+ "$ref": "#/definitions/upstream"
1594
+ }
1595
+ }
1596
+ },
1597
+ "identifier": {
1598
+ "$ref": "#/definitions/accordionIdentifier"
1599
+ }
1600
+ }
1601
+ }
1602
+ ]
1603
+ },
1604
+ "textareaFormControl": {
1605
+ "allOf": [
1606
+ {
1607
+ "$ref": "#/definitions/baseFormControl"
1608
+ },
1609
+ {
1610
+ "type": "object",
1611
+ "properties": {
1612
+ "formField": {
1613
+ "$ref": "#/definitions/formField"
1614
+ },
1615
+ "kind": {
1616
+ "type": "string",
1617
+ "const": "textarea"
1618
+ },
1619
+ "placeholder": {
1620
+ "type": "string"
1621
+ },
1622
+ "autosize": {
1623
+ "type": "object",
1624
+ "properties": {
1625
+ "minRows": {
1626
+ "type": "number"
1627
+ },
1628
+ "maxRows": {
1629
+ "type": "number"
1630
+ }
1631
+ }
1632
+ }
1633
+ }
1634
+ }
1635
+ ]
1636
+ },
1637
+ "treeTable": {
1638
+ "allOf": [
1639
+ {
1640
+ "$ref": "#/definitions/minimumTable"
1641
+ },
1642
+ {
1643
+ "type": "object",
1644
+ "properties": {
1645
+ "modifiers": {
1646
+ "alias": "modifier",
1647
+ "type": "array",
1648
+ "items": {
1649
+ "type": "string",
1650
+ "enum": [
1651
+ "navigation-back-header",
1652
+ "without-title",
1653
+ "with-header"
1654
+ ]
1655
+ },
1656
+ "description": "The table modifiers"
1657
+ },
1658
+ "tableRootMethod": {
1659
+ "$ref": "#/definitions/type"
1660
+ },
1661
+ "tableChildMethod": {
1662
+ "$ref": "#/definitions/type"
1663
+ }
79
1664
  }
80
1665
  }
81
1666
  ],
82
- "description": "Overwrite existing files",
83
- "default": false
1667
+ "definitions": {
1668
+ "minimumTable": {
1669
+ "ref": "./minimum-table.schema.json"
1670
+ }
1671
+ }
1672
+ },
1673
+ "treeTableAccordionItem": {
1674
+ "allOf": [
1675
+ {
1676
+ "$ref": "#/definitions/baseAccordionItem"
1677
+ },
1678
+ {
1679
+ "type": "object",
1680
+ "properties": {
1681
+ "kind": {
1682
+ "type": "string",
1683
+ "const": "tree-table"
1684
+ },
1685
+ "modifiers": {
1686
+ "alias": "modifier",
1687
+ "type": "array",
1688
+ "items": {
1689
+ "type": "string",
1690
+ "enum": [
1691
+ "navigation-back-header",
1692
+ "without-title"
1693
+ ]
1694
+ },
1695
+ "description": "The table modifiers"
1696
+ },
1697
+ "table": {
1698
+ "$ref": "#/definitions/treeTable"
1699
+ }
1700
+ }
1701
+ }
1702
+ ]
1703
+ },
1704
+ "treeTableColumn": {
1705
+ "allOf": [
1706
+ {
1707
+ "$ref": "#/definitions/baseTableColumn"
1708
+ },
1709
+ {
1710
+ "type": "object",
1711
+ "properties": {
1712
+ "kind": {
1713
+ "type": "string",
1714
+ "const": "tree"
1715
+ }
1716
+ }
1717
+ }
1718
+ ]
1719
+ },
1720
+ "type": {
1721
+ "oneOf": [
1722
+ {
1723
+ "type": "string"
1724
+ },
1725
+ {
1726
+ "type": "object",
1727
+ "properties": {
1728
+ "name": {
1729
+ "type": "string"
1730
+ },
1731
+ "isTypeOnly": {
1732
+ "type": "boolean"
1733
+ },
1734
+ "moduleSpecifier": {
1735
+ "type": "string"
1736
+ },
1737
+ "namedImport": {
1738
+ "type": "string"
1739
+ },
1740
+ "namespaceImport": {
1741
+ "type": "string"
1742
+ },
1743
+ "defaultImport": {
1744
+ "type": "string"
1745
+ }
1746
+ },
1747
+ "required": [
1748
+ "name"
1749
+ ]
1750
+ }
1751
+ ]
1752
+ },
1753
+ "upstream": {
1754
+ "oneOf": [
1755
+ {
1756
+ "type": "object",
1757
+ "properties": {
1758
+ "kind": {
1759
+ "type": "string",
1760
+ "enum": [
1761
+ "open-api"
1762
+ ]
1763
+ },
1764
+ "operationId": {
1765
+ "type": "string"
1766
+ },
1767
+ "scope": {
1768
+ "type": "string"
1769
+ },
1770
+ "mapper": {
1771
+ "oneOf": [
1772
+ {
1773
+ "type": "object",
1774
+ "properties": {
1775
+ "kind": {
1776
+ "type": "string",
1777
+ "const": "paged"
1778
+ },
1779
+ "pageIndex": {
1780
+ "type": "string"
1781
+ },
1782
+ "pageSize": {
1783
+ "type": "string"
1784
+ },
1785
+ "sortBy": {
1786
+ "type": "string"
1787
+ },
1788
+ "sortDirection": {
1789
+ "type": "string"
1790
+ },
1791
+ "list": {
1792
+ "type": "string"
1793
+ },
1794
+ "total": {
1795
+ "type": "string"
1796
+ },
1797
+ "filter": {
1798
+ "type": "object",
1799
+ "properties": {
1800
+ "eq": {
1801
+ "type": "string"
1802
+ },
1803
+ "join": {
1804
+ "type": "string"
1805
+ }
1806
+ }
1807
+ }
1808
+ }
1809
+ },
1810
+ {
1811
+ "type": "object",
1812
+ "properties": {
1813
+ "kind": {
1814
+ "type": "string",
1815
+ "const": "options"
1816
+ },
1817
+ "toFunction": {
1818
+ "type": "string",
1819
+ "enum": [
1820
+ "ToOptions",
1821
+ "ToOptionsFromObject"
1822
+ ]
1823
+ },
1824
+ "toValue": {
1825
+ "type": "string"
1826
+ },
1827
+ "toDisplay": {
1828
+ "type": "string"
1829
+ }
1830
+ }
1831
+ },
1832
+ {
1833
+ "type": "object",
1834
+ "properties": {
1835
+ "kind": {
1836
+ "type": "string",
1837
+ "const": "resolve"
1838
+ },
1839
+ "value": {
1840
+ "type": "string"
1841
+ }
1842
+ }
1843
+ }
1844
+ ]
1845
+ }
1846
+ },
1847
+ "required": [
1848
+ "kind",
1849
+ "operationId"
1850
+ ]
1851
+ }
1852
+ ]
1853
+ },
1854
+ "value": {
1855
+ "oneOf": [
1856
+ {
1857
+ "type": "string"
1858
+ },
1859
+ {
1860
+ "type": "object",
1861
+ "properties": {
1862
+ "type": {
1863
+ "$ref": "#/definitions/type"
1864
+ },
1865
+ "value": {
1866
+ "type": "string"
1867
+ }
1868
+ },
1869
+ "required": [
1870
+ "value"
1871
+ ]
1872
+ }
1873
+ ]
84
1874
  }
85
- },
86
- "additionalProperties": true,
87
- "required": [
88
- "itemName",
89
- "project",
90
- "feature"
91
- ]
92
- }
1875
+ }
1876
+ }