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

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