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