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