@rxap/schematic-angular 16.2.0-dev.6 → 16.2.0-dev.61

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