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