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