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

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