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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (406) hide show
  1. package/CHANGELOG.md +394 -0
  2. package/README.md +1 -1
  3. package/collection.json +20 -0
  4. package/package.json +19 -20
  5. package/src/lib/accordion-header.js +8 -5
  6. package/src/lib/accordion-header.js.map +1 -1
  7. package/src/lib/accordion-identifier.d.ts +8 -4
  8. package/src/lib/accordion-identifier.js +4 -3
  9. package/src/lib/accordion-identifier.js.map +1 -1
  10. package/src/lib/accordion-item.d.ts +13 -6
  11. package/src/lib/accordion-item.js +42 -15
  12. package/src/lib/accordion-item.js.map +1 -1
  13. package/src/lib/angular-options.d.ts +2 -2
  14. package/src/lib/angular-options.js.map +1 -1
  15. package/src/lib/coerce-accordion-component.js +4 -2
  16. package/src/lib/coerce-accordion-component.js.map +1 -1
  17. package/src/lib/coerce-accordion-item-table-component.js +1 -1
  18. package/src/lib/coerce-accordion-item-table-component.js.map +1 -1
  19. package/src/lib/coerce-form-component.js +16 -3
  20. package/src/lib/coerce-form-component.js.map +1 -1
  21. package/src/lib/coerce-minimum-table-component.js +16 -5
  22. package/src/lib/coerce-minimum-table-component.js.map +1 -1
  23. package/src/lib/coerce-tree-table-component.js +1 -5
  24. package/src/lib/coerce-tree-table-component.js.map +1 -1
  25. package/src/lib/component-options.d.ts +10 -0
  26. package/src/lib/component-options.js +14 -0
  27. package/src/lib/component-options.js.map +1 -0
  28. package/src/lib/css-class.d.ts +9 -0
  29. package/src/lib/css-class.js +52 -0
  30. package/src/lib/css-class.js.map +1 -0
  31. package/src/lib/data-grid-item.d.ts +45 -7
  32. package/src/lib/data-grid-item.js +102 -6
  33. package/src/lib/data-grid-item.js.map +1 -1
  34. package/src/lib/data-grid-mode.d.ts +4 -0
  35. package/src/lib/data-grid-mode.js +9 -0
  36. package/src/lib/data-grid-mode.js.map +1 -0
  37. package/src/lib/data-grid-options.d.ts +10 -5
  38. package/src/lib/data-grid-options.js +42 -15
  39. package/src/lib/data-grid-options.js.map +1 -1
  40. package/src/lib/form/abstract-control.d.ts +31 -0
  41. package/src/lib/form/abstract-control.js +48 -0
  42. package/src/lib/form/abstract-control.js.map +1 -0
  43. package/src/lib/form/array/base-form-array.d.ts +18 -0
  44. package/src/lib/form/array/base-form-array.js +41 -0
  45. package/src/lib/form/array/base-form-array.js.map +1 -0
  46. package/src/lib/form/array/form-array-kind.d.ts +3 -0
  47. package/src/lib/form/array/form-array-kind.js +8 -0
  48. package/src/lib/form/array/form-array-kind.js.map +1 -0
  49. package/src/lib/form/array/form-array.d.ts +12 -0
  50. package/src/lib/form/array/form-array.js +18 -0
  51. package/src/lib/form/array/form-array.js.map +1 -0
  52. package/src/lib/form/coerce-control-component-imports.d.ts +3 -0
  53. package/src/lib/form/coerce-control-component-imports.js +18 -0
  54. package/src/lib/form/coerce-control-component-imports.js.map +1 -0
  55. package/src/lib/form/control/autocomplete-table-select-form-control.d.ts +9 -0
  56. package/src/lib/form/control/autocomplete-table-select-form-control.js +58 -0
  57. package/src/lib/form/control/autocomplete-table-select-form-control.js.map +1 -0
  58. package/src/lib/form/control/base-form-control.d.ts +15 -0
  59. package/src/lib/form/control/base-form-control.js +19 -0
  60. package/src/lib/form/control/base-form-control.js.map +1 -0
  61. package/src/lib/form/control/checkbox-form-control.d.ts +11 -0
  62. package/src/lib/form/control/checkbox-form-control.js +23 -0
  63. package/src/lib/form/control/checkbox-form-control.js.map +1 -0
  64. package/src/lib/form/control/form-control-kind.d.ts +10 -0
  65. package/src/lib/form/control/form-control-kind.js +15 -0
  66. package/src/lib/form/control/form-control-kind.js.map +1 -0
  67. package/src/lib/form/control/form-control.d.ts +20 -0
  68. package/src/lib/form/control/form-control.js +46 -0
  69. package/src/lib/form/control/form-control.js.map +1 -0
  70. package/src/lib/form/control/form-field-form-control.d.ts +39 -0
  71. package/src/lib/form/control/form-field-form-control.js +87 -0
  72. package/src/lib/form/control/form-field-form-control.js.map +1 -0
  73. package/src/lib/form/control/input-form-control.d.ts +15 -0
  74. package/src/lib/form/control/input-form-control.js +75 -0
  75. package/src/lib/form/control/input-form-control.js.map +1 -0
  76. package/src/lib/form/control/select-form-control.d.ts +22 -0
  77. package/src/lib/form/control/select-form-control.js +47 -0
  78. package/src/lib/form/control/select-form-control.js.map +1 -0
  79. package/src/lib/form/control/slide-toggle-form-control.d.ts +11 -0
  80. package/src/lib/form/control/slide-toggle-form-control.js +23 -0
  81. package/src/lib/form/control/slide-toggle-form-control.js.map +1 -0
  82. package/src/lib/form/control/table-select-form-control.d.ts +46 -0
  83. package/src/lib/form/control/table-select-form-control.js +82 -0
  84. package/src/lib/form/control/table-select-form-control.js.map +1 -0
  85. package/src/lib/form/control/textarea-form-control.d.ts +22 -0
  86. package/src/lib/form/control/textarea-form-control.js +52 -0
  87. package/src/lib/form/control/textarea-form-control.js.map +1 -0
  88. package/src/lib/form/control.d.ts +8 -0
  89. package/src/lib/form/control.js +38 -0
  90. package/src/lib/form/control.js.map +1 -0
  91. package/src/lib/form/generate-form-template.d.ts +2 -2
  92. package/src/lib/form/group/base-form-group.d.ts +17 -0
  93. package/src/lib/form/group/base-form-group.js +20 -0
  94. package/src/lib/form/group/base-form-group.js.map +1 -0
  95. package/src/lib/form/group/form-group-kind.d.ts +3 -0
  96. package/src/lib/form/group/form-group-kind.js +8 -0
  97. package/src/lib/form/group/form-group-kind.js.map +1 -0
  98. package/src/lib/form/group/form-group.d.ts +12 -0
  99. package/src/lib/form/group/form-group.js +18 -0
  100. package/src/lib/form/group/form-group.js.map +1 -0
  101. package/src/lib/load-handlebars-template.d.ts +3 -0
  102. package/src/lib/load-handlebars-template.js +13 -1
  103. package/src/lib/load-handlebars-template.js.map +1 -1
  104. package/src/lib/minimum-table-component-options.d.ts +1 -1
  105. package/src/lib/minimum-table-component-options.js +22 -15
  106. package/src/lib/minimum-table-component-options.js.map +1 -1
  107. package/src/lib/minimum-table-options.d.ts +22 -4
  108. package/src/lib/minimum-table-options.js +40 -6
  109. package/src/lib/minimum-table-options.js.map +1 -1
  110. package/src/lib/pipe-option.d.ts +11 -0
  111. package/src/lib/pipe-option.js +75 -0
  112. package/src/lib/pipe-option.js.map +1 -0
  113. package/src/lib/route-component.d.ts +16 -0
  114. package/src/lib/route-component.js +15 -0
  115. package/src/lib/route-component.js.map +1 -0
  116. package/src/lib/table/column/base-table-column.d.ts +61 -0
  117. package/src/lib/table/column/base-table-column.js +309 -0
  118. package/src/lib/table/column/base-table-column.js.map +1 -0
  119. package/src/lib/table/column/boolean-table-column.d.ts +8 -0
  120. package/src/lib/table/column/boolean-table-column.js +10 -0
  121. package/src/lib/table/column/boolean-table-column.js.map +1 -0
  122. package/src/lib/table/column/custom-table-column.d.ts +11 -0
  123. package/src/lib/table/column/custom-table-column.js +11 -0
  124. package/src/lib/table/column/custom-table-column.js.map +1 -0
  125. package/src/lib/table/column/date-table-column.d.ts +11 -0
  126. package/src/lib/table/column/date-table-column.js +11 -0
  127. package/src/lib/table/column/date-table-column.js.map +1 -0
  128. package/src/lib/table/sortable.d.ts +16 -0
  129. package/src/lib/table/sortable.js +27 -0
  130. package/src/lib/table/sortable.js.map +1 -0
  131. package/src/lib/table/table-column-kind.d.ts +13 -0
  132. package/src/lib/table/table-column-kind.js +21 -0
  133. package/src/lib/table/table-column-kind.js.map +1 -0
  134. package/src/lib/table/table-column-modifier.d.ts +12 -0
  135. package/src/lib/table/table-column-modifier.js +20 -0
  136. package/src/lib/table/table-column-modifier.js.map +1 -0
  137. package/src/lib/table/table-column-pipe.d.ts +4 -0
  138. package/src/lib/table/table-column-pipe.js +3 -0
  139. package/src/lib/table/table-column-pipe.js.map +1 -0
  140. package/src/lib/table/table-column-sticky.d.ts +5 -0
  141. package/src/lib/table/table-column-sticky.js +13 -0
  142. package/src/lib/table/table-column-sticky.js.map +1 -0
  143. package/src/lib/table/table-column.d.ts +6 -0
  144. package/src/lib/table/table-column.js +36 -0
  145. package/src/lib/table/table-column.js.map +1 -0
  146. package/src/lib/table/table-filter-column-rule.js +5 -4
  147. package/src/lib/table/table-filter-column-rule.js.map +1 -1
  148. package/src/lib/table-action.js.map +1 -1
  149. package/src/lib/table-options.d.ts +4 -3
  150. package/src/lib/table-options.js +23 -3
  151. package/src/lib/table-options.js.map +1 -1
  152. package/src/lib/table-row-action.d.ts +4 -2
  153. package/src/lib/table-row-action.js +8 -7
  154. package/src/lib/table-row-action.js.map +1 -1
  155. package/src/lib/tree-table-options.d.ts +4 -3
  156. package/src/lib/tree-table-options.js +40 -3
  157. package/src/lib/tree-table-options.js.map +1 -1
  158. package/src/lib/use-pick-from-table-interface-as-form-type.d.ts +1 -1
  159. package/src/lib/value-option.d.ts +12 -0
  160. package/src/lib/value-option.js +66 -0
  161. package/src/lib/value-option.js.map +1 -0
  162. package/src/schema.json +3319 -0
  163. package/src/schematic-input.schema.json +579 -0
  164. package/src/schematics/abstract-control.schema.json +78 -0
  165. package/src/schematics/accordion/accordion-component/files/component/__componentName__.component.html.hbs +16 -7
  166. package/src/schematics/accordion/accordion-component/index.d.ts +6 -2
  167. package/src/schematics/accordion/accordion-component/index.js +72 -42
  168. package/src/schematics/accordion/accordion-component/index.js.map +1 -1
  169. package/src/schematics/accordion/accordion-component/schema.d.ts +6 -0
  170. package/src/schematics/accordion/accordion-component/schema.json +1920 -217
  171. package/src/schematics/accordion/accordion-component/template.schema.json +23 -20
  172. package/src/schematics/accordion/accordion-item-component/index.d.ts +7 -2
  173. package/src/schematics/accordion/accordion-item-component/index.js +79 -51
  174. package/src/schematics/accordion/accordion-item-component/index.js.map +1 -1
  175. package/src/schematics/accordion/accordion-item-component/schema.json +1861 -150
  176. package/src/schematics/accordion/accordion-item-component/template.schema.json +8 -9
  177. package/src/schematics/accordion/item/accordion-item-data-grid-component/index.d.ts +1 -1
  178. package/src/schematics/accordion/item/accordion-item-data-grid-component/index.js +20 -38
  179. package/src/schematics/accordion/item/accordion-item-data-grid-component/index.js.map +1 -1
  180. package/src/schematics/accordion/item/accordion-item-data-grid-component/schema.json +1107 -251
  181. package/src/schematics/accordion/item/accordion-item-data-grid-component/template.schema.json +6 -17
  182. package/src/schematics/accordion/item/accordion-item-switch-component/index.d.ts +1 -1
  183. package/src/schematics/accordion/item/accordion-item-switch-component/index.js +14 -6
  184. package/src/schematics/accordion/item/accordion-item-switch-component/index.js.map +1 -1
  185. package/src/schematics/accordion/item/accordion-item-switch-component/schema.json +1836 -194
  186. package/src/schematics/accordion/item/accordion-item-switch-component/template.schema.json +7 -71
  187. package/src/schematics/accordion/item/accordion-item-table-component/index.d.ts +1 -1
  188. package/src/schematics/accordion/item/accordion-item-table-component/index.js +5 -52
  189. package/src/schematics/accordion/item/accordion-item-table-component/index.js.map +1 -1
  190. package/src/schematics/accordion/item/accordion-item-table-component/schema.json +1338 -453
  191. package/src/schematics/accordion/item/accordion-item-table-component/template.schema.json +6 -32
  192. package/src/schematics/accordion/item/accordion-item-tree-table-component/index.d.ts +1 -1
  193. package/src/schematics/accordion/item/accordion-item-tree-table-component/index.js +21 -80
  194. package/src/schematics/accordion/item/accordion-item-tree-table-component/index.js.map +1 -1
  195. package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.json +1329 -439
  196. package/src/schematics/accordion/item/accordion-item-tree-table-component/template.schema.json +7 -33
  197. package/src/schematics/accordion/templates/accordion-header.hbs +7 -3
  198. package/src/schematics/accordion/templates/switch-accordion-item.hbs +12 -4
  199. package/src/schematics/accordion-identifier.schema.json +24 -0
  200. package/src/schematics/accordion-item.schema.json +47 -30
  201. package/src/schematics/angular.schema.json +11 -3
  202. package/src/schematics/autocomplete-table-select-form-control.schema.json +97 -0
  203. package/src/schematics/base-accordion-item.schema.json +52 -0
  204. package/src/schematics/base-form-array.schema.json +45 -0
  205. package/src/schematics/base-form-control.schema.json +27 -0
  206. package/src/schematics/base-form-group.schema.json +42 -0
  207. package/src/schematics/base-table-column.schema.json +81 -0
  208. package/src/schematics/boolean-table-column.schema.json +24 -0
  209. package/src/schematics/button.schema.json +1 -1
  210. package/src/schematics/checkbox-form-control.schema.json +31 -0
  211. package/src/schematics/component-table-column.schema.json +24 -0
  212. package/src/schematics/component.schema.json +16 -0
  213. package/src/schematics/control.schema.json +26 -0
  214. package/src/schematics/copy-to-clipboard-table-column.schema.json +24 -0
  215. package/src/schematics/css-class.schema.json +34 -0
  216. package/src/schematics/custom-table-column.schema.json +27 -0
  217. package/src/schematics/data-grid-accordion-item.schema.json +35 -0
  218. package/src/schematics/data-grid-component/files/component/__componentName__.component.html.hbs +15 -8
  219. package/src/schematics/data-grid-component/index.d.ts +2 -3
  220. package/src/schematics/data-grid-component/index.js +87 -64
  221. package/src/schematics/data-grid-component/index.js.map +1 -1
  222. package/src/schematics/data-grid-component/schema.json +1041 -215
  223. package/src/schematics/data-grid-component/template.schema.json +6 -9
  224. package/src/schematics/data-grid-component/templates/default-data-grid-item.hbs +3 -0
  225. package/src/schematics/data-grid-component/templates/link-data-grid-item.hbs +8 -0
  226. package/src/schematics/data-grid-item.schema.json +39 -12
  227. package/src/schematics/data-grid.schema.json +26 -4
  228. package/src/schematics/date-table-column.schema.json +27 -0
  229. package/src/schematics/dialog-component/schema.json +72 -155
  230. package/src/schematics/dialog-component/template.schema.json +3 -6
  231. package/src/schematics/form/control/autocomplete-table-select-form-control/index.d.ts +10 -0
  232. package/src/schematics/form/control/autocomplete-table-select-form-control/index.js +286 -0
  233. package/src/schematics/form/control/autocomplete-table-select-form-control/index.js.map +1 -0
  234. package/src/schematics/form/control/autocomplete-table-select-form-control/schema.d.ts +4 -0
  235. package/src/schematics/form/control/autocomplete-table-select-form-control/schema.json +542 -0
  236. package/src/schematics/form/control/autocomplete-table-select-form-control/template.schema.json +39 -0
  237. package/src/schematics/form/control/input-form-control/index.d.ts +1 -1
  238. package/src/schematics/form/control/input-form-control/index.js +4 -4
  239. package/src/schematics/form/control/input-form-control/index.js.map +1 -1
  240. package/src/schematics/form/control/input-form-control/schema.d.ts +2 -2
  241. package/src/schematics/form/control/input-form-control/schema.json +272 -250
  242. package/src/schematics/form/control/input-form-control/template.schema.json +19 -9
  243. package/src/schematics/form/control/select-form-control/index.d.ts +2 -2
  244. package/src/schematics/form/control/select-form-control/index.js +23 -16
  245. package/src/schematics/form/control/select-form-control/index.js.map +1 -1
  246. package/src/schematics/form/control/select-form-control/schema.d.ts +2 -3
  247. package/src/schematics/form/control/select-form-control/schema.json +363 -237
  248. package/src/schematics/form/control/select-form-control/template.schema.json +19 -9
  249. package/src/schematics/form/control/table-select-form-control/index.d.ts +3 -3
  250. package/src/schematics/form/control/table-select-form-control/index.js +210 -155
  251. package/src/schematics/form/control/table-select-form-control/index.js.map +1 -1
  252. package/src/schematics/form/control/table-select-form-control/schema.d.ts +2 -3
  253. package/src/schematics/form/control/table-select-form-control/schema.json +404 -285
  254. package/src/schematics/form/control/table-select-form-control/template.schema.json +16 -55
  255. package/src/schematics/form/form-array/index.d.ts +9 -0
  256. package/src/schematics/form/form-array/index.js +54 -0
  257. package/src/schematics/form/form-array/index.js.map +1 -0
  258. package/src/schematics/form/form-array/schema.d.ts +4 -0
  259. package/src/schematics/form/form-array/schema.json +1056 -0
  260. package/src/schematics/form/form-array/template.schema.json +33 -0
  261. package/src/schematics/form/form-component/files/component/__componentName__.component.html.hbs +4 -1
  262. package/src/schematics/form/form-component/index.d.ts +4 -4
  263. package/src/schematics/form/form-component/index.js +19 -22
  264. package/src/schematics/form/form-component/index.js.map +1 -1
  265. package/src/schematics/form/form-component/schema.d.ts +4 -2
  266. package/src/schematics/form/form-component/schema.json +940 -199
  267. package/src/schematics/form/form-component/template.schema.json +6 -9
  268. package/src/schematics/form/form-control/index.d.ts +3 -5
  269. package/src/schematics/form/form-control/index.js +10 -20
  270. package/src/schematics/form/form-control/index.js.map +1 -1
  271. package/src/schematics/form/form-control/schema.d.ts +2 -4
  272. package/src/schematics/form/form-control/schema.json +753 -176
  273. package/src/schematics/form/form-control/template.schema.json +7 -11
  274. package/src/schematics/form/form-definition/index.d.ts +2 -2
  275. package/src/schematics/form/form-definition/index.js +28 -15
  276. package/src/schematics/form/form-definition/index.js.map +1 -1
  277. package/src/schematics/form/form-definition/schema.d.ts +2 -2
  278. package/src/schematics/form/form-definition/schema.json +935 -200
  279. package/src/schematics/form/form-definition/template.schema.json +6 -9
  280. package/src/schematics/form/form-group/index.d.ts +9 -0
  281. package/src/schematics/form/form-group/index.js +54 -0
  282. package/src/schematics/form/form-group/index.js.map +1 -0
  283. package/src/schematics/form/form-group/schema.d.ts +4 -0
  284. package/src/schematics/form/form-group/schema.json +1056 -0
  285. package/src/schematics/form/form-group/template.schema.json +33 -0
  286. package/src/schematics/form/templates/autocomplete-table-select-form-control.hbs +34 -0
  287. package/src/schematics/form/templates/checkbox-form-control.hbs +4 -2
  288. package/src/schematics/form/templates/default-form-array.hbs +29 -0
  289. package/src/schematics/form/templates/default-form-group.hbs +15 -0
  290. package/src/schematics/form/templates/input-form-control.hbs +14 -7
  291. package/src/schematics/form/templates/mat-form-field.hbs +6 -6
  292. package/src/schematics/form/templates/select-form-control.hbs +18 -0
  293. package/src/schematics/form/templates/slide-toggle-form-control.hbs +3 -1
  294. package/src/schematics/form/templates/table-select-form-control.hbs +23 -16
  295. package/src/schematics/form/templates/textarea-form-control.hbs +25 -0
  296. package/src/schematics/form-array.schema.json +42 -0
  297. package/src/schematics/form-component.schema.json +9 -3
  298. package/src/schematics/form-control.schema.json +70 -54
  299. package/src/schematics/form-definition.schema.json +3 -3
  300. package/src/schematics/form-field.schema.json +6 -0
  301. package/src/schematics/form-group.schema.json +42 -0
  302. package/src/schematics/general.schema.json +1 -4
  303. package/src/schematics/icon-table-column.schema.json +24 -0
  304. package/src/schematics/input-form-control.schema.json +19 -6
  305. package/src/schematics/link-table-column.schema.json +24 -0
  306. package/src/schematics/minimum-table.schema.json +59 -5
  307. package/src/schematics/pipe.schema.json +38 -0
  308. package/src/schematics/property.schema.json +14 -4
  309. package/src/schematics/route-component/files/component/__componentName__.component.html.hbs +1 -0
  310. package/src/schematics/route-component/index.d.ts +8 -0
  311. package/src/schematics/route-component/index.js +109 -0
  312. package/src/schematics/route-component/index.js.map +1 -0
  313. package/src/schematics/route-component/schema.d.ts +5 -0
  314. package/src/schematics/route-component/schema.json +154 -0
  315. package/src/schematics/route-component/template.schema.json +20 -0
  316. package/src/schematics/route-component.schema.json +35 -0
  317. package/src/schematics/select-form-control.schema.json +28 -6
  318. package/src/schematics/slide-toggle-form-control.schema.json +31 -0
  319. package/src/schematics/spinner-table-column.schema.json +24 -0
  320. package/src/schematics/switch-accordion-item.schema.json +83 -0
  321. package/src/schematics/table/action/dialog-table-action/index.js +1 -0
  322. package/src/schematics/table/action/dialog-table-action/index.js.map +1 -1
  323. package/src/schematics/table/action/dialog-table-action/schema.json +172 -218
  324. package/src/schematics/table/action/dialog-table-action/template.schema.json +3 -6
  325. package/src/schematics/table/action/form-table-action/index.d.ts +2 -2
  326. package/src/schematics/table/action/form-table-action/index.js +6 -5
  327. package/src/schematics/table/action/form-table-action/index.js.map +1 -1
  328. package/src/schematics/table/action/form-table-action/schema.d.ts +2 -2
  329. package/src/schematics/table/action/form-table-action/schema.json +1107 -303
  330. package/src/schematics/table/action/form-table-action/template.schema.json +6 -6
  331. package/src/schematics/table/action/navigation-table-action/schema.json +171 -217
  332. package/src/schematics/table/action/navigation-table-action/template.schema.json +3 -6
  333. package/src/schematics/table/action/open-api-table-action/schema.json +172 -218
  334. package/src/schematics/table/action/open-api-table-action/template.schema.json +3 -6
  335. package/src/schematics/table/action/operation-table-action/index.js +2 -1
  336. package/src/schematics/table/action/operation-table-action/index.js.map +1 -1
  337. package/src/schematics/table/action/operation-table-action/schema.json +162 -208
  338. package/src/schematics/table/action/operation-table-action/template.schema.json +3 -6
  339. package/src/schematics/table/header-button/form-table-header-button/index.d.ts +2 -2
  340. package/src/schematics/table/header-button/form-table-header-button/index.js +2 -2
  341. package/src/schematics/table/header-button/form-table-header-button/index.js.map +1 -1
  342. package/src/schematics/table/header-button/form-table-header-button/schema.d.ts +2 -2
  343. package/src/schematics/table/header-button/form-table-header-button/schema.json +1043 -215
  344. package/src/schematics/table/header-button/form-table-header-button/template.schema.json +6 -24
  345. package/src/schematics/table/header-button/navigation-table-header-button/schema.json +130 -207
  346. package/src/schematics/table/header-button/navigation-table-header-button/template.schema.json +3 -6
  347. package/src/schematics/table/table-action/schema.json +101 -150
  348. package/src/schematics/table/table-action/template.schema.json +6 -6
  349. package/src/schematics/table/table-component/files/component/__componentName__.component.html.hbs +84 -33
  350. package/src/schematics/table/table-component/index.d.ts +0 -5
  351. package/src/schematics/table/table-component/index.js +21 -33
  352. package/src/schematics/table/table-component/index.js.map +1 -1
  353. package/src/schematics/table/table-component/schema.json +1285 -425
  354. package/src/schematics/table/table-component/template.schema.json +6 -12
  355. package/src/schematics/table/table-header-button/schema.json +68 -148
  356. package/src/schematics/table/table-header-button/template.schema.json +6 -6
  357. package/src/schematics/table/templates/boolean-table-column.hbs +18 -5
  358. package/src/schematics/table/templates/component-table-column.hbs +19 -6
  359. package/src/schematics/table/templates/copy-to-clipboard-table-column.hbs +18 -5
  360. package/src/schematics/table/templates/custom-table-column.hbs +23 -0
  361. package/src/schematics/table/templates/date-table-column.hbs +18 -5
  362. package/src/schematics/table/templates/default-table-column.hbs +20 -5
  363. package/src/schematics/table/templates/icon-table-column.hbs +18 -5
  364. package/src/schematics/table/templates/link-table-column.hbs +18 -5
  365. package/src/schematics/table/templates/mat-column-def.hbs +3 -0
  366. package/src/schematics/table/templates/spinner-table-column.hbs +27 -0
  367. package/src/schematics/table/templates/tree-table-column.hbs +21 -0
  368. package/src/schematics/table/tree-table-component/files/component/__componentName__.component.html.hbs +93 -50
  369. package/src/schematics/table/tree-table-component/index.d.ts +3 -0
  370. package/src/schematics/table/tree-table-component/index.js +30 -9
  371. package/src/schematics/table/tree-table-component/index.js.map +1 -1
  372. package/src/schematics/table/tree-table-component/schema.json +1279 -414
  373. package/src/schematics/table/tree-table-component/template.schema.json +6 -12
  374. package/src/schematics/table-accordion-item.schema.json +42 -0
  375. package/src/schematics/table-action.schema.json +7 -3
  376. package/src/schematics/table-column.schema.json +61 -47
  377. package/src/schematics/table-select-form-control.schema.json +103 -0
  378. package/src/schematics/table.schema.json +6 -2
  379. package/src/schematics/templates/css-class.hbs +1 -0
  380. package/src/schematics/templates/pipe.hbs +4 -0
  381. package/src/schematics/textarea-form-control.schema.json +44 -0
  382. package/src/schematics/tree-component/index.js +2 -1
  383. package/src/schematics/tree-component/index.js.map +1 -1
  384. package/src/schematics/tree-component/schema.json +70 -62
  385. package/src/schematics/tree-component/template.schema.json +7 -2
  386. package/src/schematics/tree-table-accordion-item.schema.json +42 -0
  387. package/src/schematics/tree-table-column.schema.json +24 -0
  388. package/src/schematics/tree-table.schema.json +5 -4
  389. package/src/schematics/upstream.schema.json +62 -23
  390. package/src/schematics/value.schema.json +26 -0
  391. package/src/template.schema.json +275 -0
  392. package/src/lib/form-component-control.d.ts +0 -8
  393. package/src/lib/form-component-control.js +0 -15
  394. package/src/lib/form-component-control.js.map +0 -1
  395. package/src/lib/form-control.d.ts +0 -125
  396. package/src/lib/form-control.js +0 -303
  397. package/src/lib/form-control.js.map +0 -1
  398. package/src/lib/form-definition-control.d.ts +0 -5
  399. package/src/lib/form-definition-control.js +0 -30
  400. package/src/lib/form-definition-control.js.map +0 -1
  401. package/src/lib/merge-with-column-list.d.ts +0 -3
  402. package/src/lib/merge-with-column-list.js +0 -18
  403. package/src/lib/merge-with-column-list.js.map +0 -1
  404. package/src/lib/table-column.d.ts +0 -62
  405. package/src/lib/table-column.js +0 -313
  406. package/src/lib/table-column.js.map +0 -1
@@ -3,46 +3,152 @@
3
3
  "$id": "accordion-item-component-schematic",
4
4
  "allOf": [
5
5
  {
6
+ "$ref": "#/definitions/angular"
7
+ },
8
+ {
9
+ "$ref": "#/definitions/accordionItem"
10
+ },
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": {
6
26
  "allOf": [
27
+ {
28
+ "$ref": "#/definitions/property"
29
+ },
7
30
  {
8
31
  "type": "object",
9
32
  "properties": {
10
- "project": {
33
+ "name": {
11
34
  "type": "string",
12
- "description": "Project name where the files should be generated"
35
+ "description": "The name of the control"
13
36
  },
14
- "feature": {
37
+ "isArray": {
38
+ "type": "boolean",
39
+ "description": "Whether the control value is an array",
40
+ "default": false
41
+ },
42
+ "state": {
15
43
  "type": "string",
16
- "description": "Feature name where the files should be generated"
44
+ "description": "The initial state of the control"
17
45
  },
18
- "overwrite": {
19
- "anyOf": [
20
- {
21
- "type": "boolean"
22
- },
23
- {
24
- "type": "array",
25
- "items": {
26
- "type": "string"
27
- }
28
- }
29
- ],
30
- "description": "Overwrite existing files",
46
+ "isRequired": {
47
+ "type": "boolean",
48
+ "description": "Whether the control value is required",
31
49
  "default": false
32
50
  },
33
- "overwriteHtml": {
51
+ "isReadonly": {
34
52
  "type": "boolean",
53
+ "description": "Whether the control value is readonly",
35
54
  "default": false
36
55
  },
37
- "replace": {
56
+ "isDisabled": {
38
57
  "type": "boolean",
58
+ "description": "Whether the control value is disabled",
39
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"
40
91
  }
41
92
  },
42
- "required": [
43
- "project"
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
+ }
44
131
  ]
45
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
+ },
46
152
  {
47
153
  "type": "object",
48
154
  "properties": {
@@ -64,15 +170,7 @@
64
170
  "type": "string"
65
171
  },
66
172
  "backend": {
67
- "type": "string",
68
- "description": "The backend that should be used to handel data",
69
- "enum": [
70
- "none",
71
- "nestjs",
72
- "open-api",
73
- "local"
74
- ],
75
- "default": "none"
173
+ "$ref": "#/definitions/backend"
76
174
  },
77
175
  "directory": {
78
176
  "type": "string",
@@ -97,21 +195,108 @@
97
195
  }
98
196
  ]
99
197
  },
100
- {
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
+ ]
280
+ },
281
+ "backend": {
282
+ "type": "string",
283
+ "description": "The backend that should be used to handel data",
284
+ "enum": [
285
+ "none",
286
+ "nestjs",
287
+ "open-api",
288
+ "local"
289
+ ],
290
+ "default": "none"
291
+ },
292
+ "baseAccordionItem": {
101
293
  "type": "object",
102
294
  "properties": {
295
+ "name": {
296
+ "type": "string"
297
+ },
103
298
  "kind": {
104
- "type": "string",
105
- "enum": [
106
- "default",
107
- "table",
108
- "data-grid",
109
- "data-grid-collection",
110
- "tree-table",
111
- "switch"
112
- ],
113
- "description": "The type of the accordion item",
114
- "default": "panel"
299
+ "type": "string"
115
300
  },
116
301
  "modifiers": {
117
302
  "alias": "modifier",
@@ -121,175 +306,1701 @@
121
306
  },
122
307
  "description": "The modifiers to apply to the accordion item type"
123
308
  },
309
+ "identifier": {
310
+ "$ref": "#/definitions/accordionIdentifier"
311
+ },
124
312
  "title": {
125
313
  "type": "string"
126
314
  },
127
315
  "description": {
128
316
  "type": "string"
129
- }
130
- },
131
- "additionalProperties": true
132
- },
133
- {
134
- "type": "object",
135
- "properties": {
136
- "accordionName": {
137
- "type": "string",
138
- "description": "The name of the accordion module where the item should be added."
317
+ },
318
+ "upstream": {
319
+ "$ref": "#/definitions/upstream"
320
+ },
321
+ "propertyList": {
322
+ "alias": "property",
323
+ "type": "array",
324
+ "items": {
325
+ "$ref": "#/definitions/property"
326
+ }
139
327
  }
140
328
  },
141
329
  "required": [
142
- "accordionName"
330
+ "name"
143
331
  ]
144
- }
145
- ],
146
- "definitions": {
147
- "type": {
148
- "oneOf": [
332
+ },
333
+ "baseFormArray": {
334
+ "allOf": [
149
335
  {
150
- "type": "string"
336
+ "$ref": "#/definitions/abstractControl"
151
337
  },
152
338
  {
153
339
  "type": "object",
154
340
  "properties": {
155
- "name": {
156
- "type": "string"
157
- },
158
- "isTypeOnly": {
159
- "type": "boolean"
341
+ "controlList": {
342
+ "type": "array",
343
+ "description": "The list of controls in the group",
344
+ "items": {
345
+ "$ref": "#/definitions/control"
346
+ }
160
347
  },
161
- "moduleSpecifier": {
348
+ "legend": {
162
349
  "type": "string"
163
350
  },
164
- "namedImport": {
351
+ "groupLegend": {
165
352
  "type": "string"
166
353
  },
167
- "namespaceImport": {
168
- "type": "string"
354
+ "kind": {
355
+ "type": "string",
356
+ "description": "The kind of the array",
357
+ "const": "default",
358
+ "default": "default"
169
359
  },
170
- "defaultImport": {
171
- "type": "string"
360
+ "role": {
361
+ "type": "string",
362
+ "const": "array"
172
363
  }
173
- },
174
- "required": [
175
- "name"
176
- ]
364
+ }
177
365
  }
178
366
  ]
179
367
  },
180
- "property": {
181
- "oneOf": [
368
+ "baseFormControl": {
369
+ "allOf": [
182
370
  {
183
- "type": "string"
371
+ "$ref": "#/definitions/abstractControl"
184
372
  },
185
373
  {
186
374
  "type": "object",
187
375
  "properties": {
188
- "name": {
189
- "type": "string"
376
+ "label": {
377
+ "type": "string",
378
+ "description": "The label of the control"
190
379
  },
191
- "type": {
192
- "$ref": "#/definitions/type"
380
+ "role": {
381
+ "type": "string",
382
+ "const": "control"
193
383
  }
194
- },
195
- "required": [
196
- "name"
197
- ]
384
+ }
198
385
  }
199
- ],
200
- "definitions": {
201
- "type": {
202
- "oneOf": [
203
- {
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": {
204
404
  "type": "string"
205
405
  },
206
- {
207
- "type": "object",
208
- "properties": {
209
- "name": {
210
- "type": "string"
211
- },
212
- "isTypeOnly": {
213
- "type": "boolean"
214
- },
215
- "moduleSpecifier": {
216
- "type": "string"
217
- },
218
- "namedImport": {
219
- "type": "string"
220
- },
221
- "namespaceImport": {
222
- "type": "string"
223
- },
224
- "defaultImport": {
225
- "type": "string"
226
- }
227
- },
228
- "required": [
229
- "name"
230
- ]
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"
231
415
  }
232
- ]
416
+ }
233
417
  }
234
- }
418
+ ]
235
419
  },
236
- "button": {
420
+ "baseTableColumn": {
237
421
  "type": "object",
238
422
  "properties": {
239
- "svgIcon": {
423
+ "name": {
240
424
  "type": "string"
241
425
  },
242
- "icon": {
426
+ "type": {
427
+ "$ref": "#/definitions/type"
428
+ },
429
+ "kind": {
243
430
  "type": "string"
244
431
  },
245
- "directiveList": {
432
+ "modifiers": {
246
433
  "type": "array",
247
434
  "items": {
248
- "$ref": "#/definitions/type"
435
+ "type": "string"
249
436
  }
250
437
  },
251
- "importList": {
438
+ "template": {
439
+ "type": "string"
440
+ },
441
+ "pipeList": {
252
442
  "type": "array",
253
443
  "items": {
254
- "$ref": "#/definitions/type"
444
+ "$ref": "#/definitions/pipe"
255
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"
256
479
  }
257
480
  },
258
- "definitions": {
259
- "type": {
260
- "oneOf": [
261
- {
262
- "type": "string"
263
- },
264
- {
265
- "type": "object",
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
+ }
773
+ },
774
+ "required": [
775
+ "name"
776
+ ]
777
+ },
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
+ ]
799
+ },
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
+ ]
836
+ },
837
+ "formControl": {
838
+ "allOf": [
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": {
906
+ "type": "boolean"
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
+ },
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",
1152
+ "type": "array",
1153
+ "items": {
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
+ "description": "Whether the table is sortable",
1166
+ "oneOf": [
1167
+ {
1168
+ "type": "boolean"
1169
+ },
1170
+ {
1171
+ "type": "object",
1172
+ "properties": {
1173
+ "enabled": {
1174
+ "type": "boolean",
1175
+ "description": "Whether the table is sortable",
1176
+ "default": true
1177
+ },
1178
+ "default": {
1179
+ "type": "object",
1180
+ "properties": {
1181
+ "active": {
1182
+ "type": "string",
1183
+ "description": "The default active column"
1184
+ },
1185
+ "direction": {
1186
+ "type": "string",
1187
+ "description": "The default sort direction",
1188
+ "enum": [
1189
+ "asc",
1190
+ "desc"
1191
+ ]
1192
+ }
1193
+ }
1194
+ }
1195
+ },
1196
+ "required": [
1197
+ "enabled"
1198
+ ]
1199
+ }
1200
+ ]
1201
+ }
1202
+ }
1203
+ },
1204
+ "pipe": {
1205
+ "oneOf": [
1206
+ {
1207
+ "type": "string"
1208
+ },
1209
+ {
1210
+ "allOf": [
1211
+ {
1212
+ "$ref": "#/definitions/type"
1213
+ },
1214
+ {
1215
+ "type": "object",
1216
+ "properties": {
1217
+ "argumentList": {
1218
+ "type": "array",
1219
+ "items": {
1220
+ "$ref": "#/definitions/value"
1221
+ }
1222
+ }
1223
+ },
1224
+ "required": [
1225
+ "name"
1226
+ ]
1227
+ }
1228
+ ]
1229
+ }
1230
+ ]
1231
+ },
1232
+ "property": {
1233
+ "oneOf": [
1234
+ {
1235
+ "type": "string"
1236
+ },
1237
+ {
1238
+ "type": "object",
1239
+ "properties": {
1240
+ "name": {
1241
+ "type": "string"
1242
+ },
1243
+ "type": {
1244
+ "$ref": "#/definitions/type"
1245
+ },
1246
+ "isArray": {
1247
+ "type": "boolean"
1248
+ },
1249
+ "isRequired": {
1250
+ "type": "boolean"
1251
+ },
1252
+ "source": {
1253
+ "type": "string"
1254
+ },
1255
+ "memberList": {
1256
+ "type": "array",
1257
+ "items": {
1258
+ "additionalProperties": true
1259
+ }
1260
+ }
1261
+ }
1262
+ }
1263
+ ]
1264
+ },
1265
+ "selectFormControl": {
1266
+ "allOf": [
1267
+ {
1268
+ "$ref": "#/definitions/baseFormControl"
1269
+ },
1270
+ {
1271
+ "type": "object",
1272
+ "properties": {
1273
+ "formField": {
1274
+ "$ref": "#/definitions/formField"
1275
+ },
1276
+ "kind": {
1277
+ "type": "string",
1278
+ "const": "select"
1279
+ },
1280
+ "upstream": {
1281
+ "$ref": "#/definitions/upstream"
1282
+ },
1283
+ "optionList": {
1284
+ "type": "array",
1285
+ "items": {
1286
+ "type": "object",
1287
+ "properties": {
1288
+ "display": {
1289
+ "type": "string"
1290
+ },
1291
+ "value": {
1292
+ "oneOf": [
1293
+ {
1294
+ "type": "string"
1295
+ },
1296
+ {
1297
+ "type": "number"
1298
+ },
1299
+ {
1300
+ "type": "boolean"
1301
+ },
1302
+ {
1303
+ "type": "object",
1304
+ "additionalProperties": true
1305
+ }
1306
+ ]
1307
+ }
1308
+ }
1309
+ }
1310
+ },
1311
+ "backend": {
1312
+ "$ref": "#/definitions/backend"
1313
+ },
1314
+ "multiple": {
1315
+ "alias": "multi",
1316
+ "type": "boolean",
1317
+ "description": "Whether the select form control is multiple mode"
1318
+ }
1319
+ },
1320
+ "required": [
1321
+ "kind"
1322
+ ]
1323
+ }
1324
+ ]
1325
+ },
1326
+ "slideToggleFormControl": {
1327
+ "allOf": [
1328
+ {
1329
+ "$ref": "#/definitions/baseFormControl"
1330
+ },
1331
+ {
1332
+ "type": "object",
1333
+ "properties": {
1334
+ "kind": {
1335
+ "type": "string",
1336
+ "const": "slide-toggle"
1337
+ },
1338
+ "labelPosition": {
1339
+ "type": "string",
1340
+ "enum": [
1341
+ "before",
1342
+ "after"
1343
+ ]
1344
+ }
1345
+ },
1346
+ "required": [
1347
+ "kind"
1348
+ ]
1349
+ }
1350
+ ]
1351
+ },
1352
+ "spinnerTableColumn": {
1353
+ "allOf": [
1354
+ {
1355
+ "$ref": "#/definitions/baseTableColumn"
1356
+ },
1357
+ {
1358
+ "type": "object",
1359
+ "properties": {
1360
+ "kind": {
1361
+ "type": "string",
1362
+ "const": "spinner"
1363
+ }
1364
+ },
1365
+ "required": [
1366
+ "kind"
1367
+ ]
1368
+ }
1369
+ ]
1370
+ },
1371
+ "switchAccordionItem": {
1372
+ "allOf": [
1373
+ {
1374
+ "$ref": "#/definitions/baseAccordionItem"
1375
+ },
1376
+ {
1377
+ "type": "object",
1378
+ "properties": {
1379
+ "kind": {
1380
+ "type": "string",
1381
+ "const": "switch"
1382
+ },
1383
+ "switch": {
1384
+ "type": "object",
1385
+ "properties": {
1386
+ "property": {
1387
+ "$ref": "#/definitions/property"
1388
+ },
1389
+ "defaultCase": {
1390
+ "type": "object",
1391
+ "properties": {
1392
+ "itemList": {
1393
+ "alias": "item",
1394
+ "type": "array",
1395
+ "items": {
1396
+ "$ref": "#/definitions/accordionItem"
1397
+ },
1398
+ "description": "The list of accordion expansion panels"
1399
+ }
1400
+ },
1401
+ "required": [
1402
+ "itemList"
1403
+ ]
1404
+ },
1405
+ "case": {
1406
+ "type": "array",
1407
+ "items": {
1408
+ "type": "object",
1409
+ "properties": {
1410
+ "test": {
1411
+ "anyOf": [
1412
+ {
1413
+ "type": "string"
1414
+ },
1415
+ {
1416
+ "type": "number"
1417
+ },
1418
+ {
1419
+ "type": "boolean"
1420
+ }
1421
+ ]
1422
+ },
1423
+ "itemList": {
1424
+ "alias": "item",
1425
+ "type": "array",
1426
+ "items": {
1427
+ "$ref": "#/definitions/accordionItem"
1428
+ },
1429
+ "description": "The list of accordion expansion panels"
1430
+ }
1431
+ },
1432
+ "required": [
1433
+ "test",
1434
+ "itemList"
1435
+ ]
1436
+ }
1437
+ }
1438
+ },
1439
+ "required": [
1440
+ "property"
1441
+ ]
1442
+ }
1443
+ },
1444
+ "required": [
1445
+ "kind"
1446
+ ]
1447
+ }
1448
+ ]
1449
+ },
1450
+ "table": {
1451
+ "allOf": [
1452
+ {
1453
+ "$ref": "#/definitions/minimumTable"
1454
+ },
1455
+ {
1456
+ "type": "object",
1457
+ "properties": {
1458
+ "tableMethod": {
1459
+ "$ref": "#/definitions/type"
1460
+ },
1461
+ "openApi": {
1462
+ "type": "object",
1463
+ "properties": {
1464
+ "operationId": {
1465
+ "type": "string",
1466
+ "description": "The operationId for the open api operation"
1467
+ },
1468
+ "adapter": {
1469
+ "$ref": "#/definitions/type"
1470
+ }
1471
+ },
1472
+ "required": [
1473
+ "operationId"
1474
+ ]
1475
+ },
1476
+ "modifiers": {
1477
+ "alias": "modifier",
1478
+ "type": "array",
1479
+ "items": {
1480
+ "type": "string",
1481
+ "enum": [
1482
+ "navigation-back-header",
1483
+ "without-title",
1484
+ "show-archived-slide",
1485
+ "with-header"
1486
+ ]
1487
+ },
1488
+ "description": "The table modifiers"
1489
+ },
1490
+ "selectColumn": {
1491
+ "type": "boolean",
1492
+ "description": "Whether to add a select column to the table"
1493
+ }
1494
+ }
1495
+ }
1496
+ ]
1497
+ },
1498
+ "tableAccordionItem": {
1499
+ "allOf": [
1500
+ {
1501
+ "$ref": "#/definitions/baseAccordionItem"
1502
+ },
1503
+ {
1504
+ "type": "object",
1505
+ "properties": {
1506
+ "kind": {
1507
+ "type": "string",
1508
+ "const": "table"
1509
+ },
1510
+ "modifiers": {
1511
+ "alias": "modifier",
1512
+ "type": "array",
1513
+ "items": {
1514
+ "type": "string",
1515
+ "enum": [
1516
+ "navigation-back-header",
1517
+ "without-title"
1518
+ ]
1519
+ },
1520
+ "description": "The table modifiers"
1521
+ },
1522
+ "table": {
1523
+ "$ref": "#/definitions/table"
1524
+ }
1525
+ },
1526
+ "required": [
1527
+ "kind"
1528
+ ]
1529
+ }
1530
+ ]
1531
+ },
1532
+ "tableAction": {
1533
+ "type": "object",
1534
+ "properties": {
1535
+ "type": {
1536
+ "type": "string"
1537
+ },
1538
+ "refresh": {
1539
+ "type": "boolean"
1540
+ },
1541
+ "confirm": {
1542
+ "type": "boolean"
1543
+ },
1544
+ "tooltip": {
1545
+ "type": "string"
1546
+ },
1547
+ "errorMessage": {
1548
+ "type": "string"
1549
+ },
1550
+ "successMessage": {
1551
+ "type": "string"
1552
+ },
1553
+ "priority": {
1554
+ "type": "number"
1555
+ },
1556
+ "checkFunction": {
1557
+ "type": "string"
1558
+ },
1559
+ "inHeader": {
1560
+ "type": "boolean"
1561
+ },
1562
+ "role": {
1563
+ "type": "string"
1564
+ },
1565
+ "icon": {
1566
+ "type": "string"
1567
+ },
1568
+ "svgIcon": {
1569
+ "type": "string"
1570
+ },
1571
+ "permission": {
1572
+ "type": "string"
1573
+ },
1574
+ "color": {
1575
+ "type": "string",
1576
+ "description": "Value for the color input of the mat-button / mat-icon component"
1577
+ },
1578
+ "cssClass": {
1579
+ "$ref": "#/definitions/cssClass"
1580
+ },
1581
+ "options": {
1582
+ "type": "object",
1583
+ "additionalProperties": true
1584
+ }
1585
+ },
1586
+ "required": [
1587
+ "type"
1588
+ ]
1589
+ },
1590
+ "tableColumn": {
1591
+ "type": "object",
1592
+ "oneOf": [
1593
+ {
1594
+ "allOf": [
1595
+ {
1596
+ "$ref": "#/definitions/baseTableColumn"
1597
+ },
1598
+ {
1599
+ "type": "object",
266
1600
  "properties": {
267
- "name": {
268
- "type": "string"
269
- },
270
- "isTypeOnly": {
271
- "type": "boolean"
272
- },
273
- "moduleSpecifier": {
274
- "type": "string"
1601
+ "kind": {
1602
+ "type": "string",
1603
+ "const": "default",
1604
+ "default": "default"
1605
+ }
1606
+ }
1607
+ }
1608
+ ]
1609
+ },
1610
+ {
1611
+ "$ref": "#/definitions/dateTableColumn"
1612
+ },
1613
+ {
1614
+ "$ref": "#/definitions/customTableColumn"
1615
+ },
1616
+ {
1617
+ "$ref": "#/definitions/linkTableColumn"
1618
+ },
1619
+ {
1620
+ "$ref": "#/definitions/iconTableColumn"
1621
+ },
1622
+ {
1623
+ "$ref": "#/definitions/booleanTableColumn"
1624
+ },
1625
+ {
1626
+ "$ref": "#/definitions/componentTableColumn"
1627
+ },
1628
+ {
1629
+ "$ref": "#/definitions/copyToClipboardTableColumn"
1630
+ },
1631
+ {
1632
+ "$ref": "#/definitions/treeTableColumn"
1633
+ },
1634
+ {
1635
+ "$ref": "#/definitions/spinnerTableColumn"
1636
+ }
1637
+ ]
1638
+ },
1639
+ "tableSelectFormControl": {
1640
+ "allOf": [
1641
+ {
1642
+ "$ref": "#/definitions/baseFormControl"
1643
+ },
1644
+ {
1645
+ "type": "object",
1646
+ "properties": {
1647
+ "formField": {
1648
+ "$ref": "#/definitions/formField"
1649
+ },
1650
+ "kind": {
1651
+ "type": "string",
1652
+ "const": "table-select"
1653
+ },
1654
+ "placeholder": {
1655
+ "type": "string"
1656
+ },
1657
+ "columnList": {
1658
+ "alias": "column",
1659
+ "type": "array",
1660
+ "items": {
1661
+ "description": "table column name",
1662
+ "type": "object",
1663
+ "properties": {
1664
+ "name": {
1665
+ "type": "string",
1666
+ "description": "table column name"
1667
+ },
1668
+ "title": {
1669
+ "type": "string",
1670
+ "description": "table column label"
1671
+ },
1672
+ "hasFilter": {
1673
+ "type": "boolean",
1674
+ "description": "Whether the column has a filter"
1675
+ },
1676
+ "kind": {
1677
+ "type": "string",
1678
+ "description": "The kind of data in the column"
1679
+ }
1680
+ }
1681
+ },
1682
+ "description": "List of table column names"
1683
+ },
1684
+ "title": {
1685
+ "type": "string",
1686
+ "description": "The title of the table select window"
1687
+ },
1688
+ "toDisplay": {
1689
+ "type": "object",
1690
+ "properties": {
1691
+ "property": {
1692
+ "$ref": "#/definitions/property"
1693
+ }
1694
+ }
1695
+ },
1696
+ "toValue": {
1697
+ "type": "object",
1698
+ "properties": {
1699
+ "property": {
1700
+ "$ref": "#/definitions/property"
1701
+ }
1702
+ }
1703
+ },
1704
+ "upstream": {
1705
+ "$ref": "#/definitions/upstream"
1706
+ },
1707
+ "resolver": {
1708
+ "type": "object",
1709
+ "properties": {
1710
+ "upstream": {
1711
+ "$ref": "#/definitions/upstream"
1712
+ }
1713
+ }
1714
+ },
1715
+ "identifier": {
1716
+ "$ref": "#/definitions/accordionIdentifier"
1717
+ }
1718
+ },
1719
+ "required": [
1720
+ "kind"
1721
+ ]
1722
+ }
1723
+ ]
1724
+ },
1725
+ "textareaFormControl": {
1726
+ "allOf": [
1727
+ {
1728
+ "$ref": "#/definitions/baseFormControl"
1729
+ },
1730
+ {
1731
+ "type": "object",
1732
+ "properties": {
1733
+ "formField": {
1734
+ "$ref": "#/definitions/formField"
1735
+ },
1736
+ "kind": {
1737
+ "type": "string",
1738
+ "const": "textarea"
1739
+ },
1740
+ "placeholder": {
1741
+ "type": "string"
1742
+ },
1743
+ "autosize": {
1744
+ "type": "object",
1745
+ "properties": {
1746
+ "minRows": {
1747
+ "type": "number"
275
1748
  },
276
- "namedImport": {
277
- "type": "string"
1749
+ "maxRows": {
1750
+ "type": "number"
1751
+ }
1752
+ }
1753
+ }
1754
+ },
1755
+ "required": [
1756
+ "kind"
1757
+ ]
1758
+ }
1759
+ ]
1760
+ },
1761
+ "treeTable": {
1762
+ "allOf": [
1763
+ {
1764
+ "$ref": "#/definitions/minimumTable"
1765
+ },
1766
+ {
1767
+ "type": "object",
1768
+ "properties": {
1769
+ "modifiers": {
1770
+ "alias": "modifier",
1771
+ "type": "array",
1772
+ "items": {
1773
+ "type": "string",
1774
+ "enum": [
1775
+ "navigation-back-header",
1776
+ "without-title",
1777
+ "with-header"
1778
+ ]
1779
+ },
1780
+ "description": "The table modifiers"
1781
+ },
1782
+ "tableRootMethod": {
1783
+ "$ref": "#/definitions/type"
1784
+ },
1785
+ "tableChildMethod": {
1786
+ "$ref": "#/definitions/type"
1787
+ }
1788
+ }
1789
+ }
1790
+ ],
1791
+ "definitions": {
1792
+ "minimumTable": {
1793
+ "ref": "./minimum-table.schema.json"
1794
+ }
1795
+ }
1796
+ },
1797
+ "treeTableAccordionItem": {
1798
+ "allOf": [
1799
+ {
1800
+ "$ref": "#/definitions/baseAccordionItem"
1801
+ },
1802
+ {
1803
+ "type": "object",
1804
+ "properties": {
1805
+ "kind": {
1806
+ "type": "string",
1807
+ "const": "tree-table"
1808
+ },
1809
+ "modifiers": {
1810
+ "alias": "modifier",
1811
+ "type": "array",
1812
+ "items": {
1813
+ "type": "string",
1814
+ "enum": [
1815
+ "navigation-back-header",
1816
+ "without-title"
1817
+ ]
1818
+ },
1819
+ "description": "The table modifiers"
1820
+ },
1821
+ "table": {
1822
+ "$ref": "#/definitions/treeTable"
1823
+ }
1824
+ },
1825
+ "required": [
1826
+ "kind"
1827
+ ]
1828
+ }
1829
+ ]
1830
+ },
1831
+ "treeTableColumn": {
1832
+ "allOf": [
1833
+ {
1834
+ "$ref": "#/definitions/baseTableColumn"
1835
+ },
1836
+ {
1837
+ "type": "object",
1838
+ "properties": {
1839
+ "kind": {
1840
+ "type": "string",
1841
+ "const": "tree"
1842
+ }
1843
+ },
1844
+ "required": [
1845
+ "kind"
1846
+ ]
1847
+ }
1848
+ ]
1849
+ },
1850
+ "type": {
1851
+ "oneOf": [
1852
+ {
1853
+ "type": "string"
1854
+ },
1855
+ {
1856
+ "type": "object",
1857
+ "properties": {
1858
+ "name": {
1859
+ "type": "string"
1860
+ },
1861
+ "isTypeOnly": {
1862
+ "type": "boolean"
1863
+ },
1864
+ "moduleSpecifier": {
1865
+ "type": "string"
1866
+ },
1867
+ "namedImport": {
1868
+ "type": "string"
1869
+ },
1870
+ "namespaceImport": {
1871
+ "type": "string"
1872
+ },
1873
+ "defaultImport": {
1874
+ "type": "string"
1875
+ }
1876
+ },
1877
+ "required": [
1878
+ "name"
1879
+ ]
1880
+ }
1881
+ ]
1882
+ },
1883
+ "upstream": {
1884
+ "oneOf": [
1885
+ {
1886
+ "type": "object",
1887
+ "properties": {
1888
+ "kind": {
1889
+ "type": "string",
1890
+ "enum": [
1891
+ "open-api"
1892
+ ]
1893
+ },
1894
+ "operationId": {
1895
+ "type": "string"
1896
+ },
1897
+ "scope": {
1898
+ "type": "string"
1899
+ },
1900
+ "mapper": {
1901
+ "oneOf": [
1902
+ {
1903
+ "type": "object",
1904
+ "properties": {
1905
+ "kind": {
1906
+ "type": "string",
1907
+ "const": "paged"
1908
+ },
1909
+ "pageIndex": {
1910
+ "type": "string"
1911
+ },
1912
+ "pageSize": {
1913
+ "type": "string"
1914
+ },
1915
+ "sortBy": {
1916
+ "type": "string"
1917
+ },
1918
+ "sortDirection": {
1919
+ "type": "string"
1920
+ },
1921
+ "list": {
1922
+ "type": "string"
1923
+ },
1924
+ "total": {
1925
+ "type": "string"
1926
+ },
1927
+ "filter": {
1928
+ "type": "object",
1929
+ "properties": {
1930
+ "eq": {
1931
+ "type": "string"
1932
+ },
1933
+ "join": {
1934
+ "type": "string"
1935
+ }
1936
+ }
1937
+ }
1938
+ }
278
1939
  },
279
- "namespaceImport": {
280
- "type": "string"
1940
+ {
1941
+ "type": "object",
1942
+ "properties": {
1943
+ "kind": {
1944
+ "type": "string",
1945
+ "const": "options"
1946
+ },
1947
+ "toFunction": {
1948
+ "type": "string",
1949
+ "enum": [
1950
+ "ToOptions",
1951
+ "ToOptionsFromObject"
1952
+ ]
1953
+ },
1954
+ "toValue": {
1955
+ "type": "string"
1956
+ },
1957
+ "toDisplay": {
1958
+ "type": "string"
1959
+ }
1960
+ }
281
1961
  },
282
- "defaultImport": {
283
- "type": "string"
1962
+ {
1963
+ "type": "object",
1964
+ "properties": {
1965
+ "kind": {
1966
+ "type": "string",
1967
+ "const": "resolve"
1968
+ },
1969
+ "value": {
1970
+ "type": "string"
1971
+ }
1972
+ }
284
1973
  }
285
- },
286
- "required": [
287
- "name"
288
1974
  ]
289
1975
  }
1976
+ },
1977
+ "required": [
1978
+ "kind",
1979
+ "operationId"
290
1980
  ]
291
1981
  }
292
- }
1982
+ ]
1983
+ },
1984
+ "value": {
1985
+ "oneOf": [
1986
+ {
1987
+ "type": "string"
1988
+ },
1989
+ {
1990
+ "type": "object",
1991
+ "properties": {
1992
+ "type": {
1993
+ "$ref": "#/definitions/type"
1994
+ },
1995
+ "value": {
1996
+ "type": "string"
1997
+ }
1998
+ },
1999
+ "required": [
2000
+ "value"
2001
+ ]
2002
+ }
2003
+ ]
293
2004
  }
294
2005
  }
295
2006
  }