@rxap/schematic-angular 16.2.0-dev.5 → 16.2.0-dev.51

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