@rxap/schematic-angular 16.2.0-dev.2 → 16.2.0-dev.21

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 (332) hide show
  1. package/CHANGELOG.md +159 -0
  2. package/README.md +1 -1
  3. package/collection.json +10 -0
  4. package/package.json +11 -9
  5. package/src/lib/accordion-header.d.ts +5 -0
  6. package/src/lib/accordion-header.js +9 -3
  7. package/src/lib/accordion-header.js.map +1 -1
  8. package/src/lib/accordion-identifier.d.ts +4 -0
  9. package/src/lib/accordion-identifier.js.map +1 -1
  10. package/src/lib/accordion-item.d.ts +25 -17
  11. package/src/lib/accordion-item.js +72 -33
  12. package/src/lib/accordion-item.js.map +1 -1
  13. package/src/lib/accordion-itme-kinds.d.ts +8 -0
  14. package/src/lib/accordion-itme-kinds.js +16 -0
  15. package/src/lib/accordion-itme-kinds.js.map +1 -0
  16. package/src/lib/coerce-accordion-component.js +7 -3
  17. package/src/lib/coerce-accordion-component.js.map +1 -1
  18. package/src/lib/coerce-accordion-item-table-component.js +1 -1
  19. package/src/lib/coerce-accordion-item-table-component.js.map +1 -1
  20. package/src/lib/coerce-form-component.js +17 -2
  21. package/src/lib/coerce-form-component.js.map +1 -1
  22. package/src/lib/coerce-minimum-table-component.js +9 -3
  23. package/src/lib/coerce-minimum-table-component.js.map +1 -1
  24. package/src/lib/coerce-tree-table-component.js +16 -0
  25. package/src/lib/coerce-tree-table-component.js.map +1 -1
  26. package/src/lib/data-grid-item.d.ts +46 -11
  27. package/src/lib/data-grid-item.js +81 -6
  28. package/src/lib/data-grid-item.js.map +1 -1
  29. package/src/lib/data-grid-mode.d.ts +4 -0
  30. package/src/lib/data-grid-mode.js +9 -0
  31. package/src/lib/data-grid-mode.js.map +1 -0
  32. package/src/lib/data-grid-options.d.ts +12 -5
  33. package/src/lib/data-grid-options.js +43 -13
  34. package/src/lib/data-grid-options.js.map +1 -1
  35. package/src/lib/form/abstract-control.d.ts +29 -0
  36. package/src/lib/form/abstract-control.js +37 -0
  37. package/src/lib/form/abstract-control.js.map +1 -0
  38. package/src/lib/form/array/base-form-array.d.ts +18 -0
  39. package/src/lib/form/array/base-form-array.js +40 -0
  40. package/src/lib/form/array/base-form-array.js.map +1 -0
  41. package/src/lib/form/array/form-array-kind.d.ts +3 -0
  42. package/src/lib/form/array/form-array-kind.js +8 -0
  43. package/src/lib/form/array/form-array-kind.js.map +1 -0
  44. package/src/lib/form/array/form-array.d.ts +12 -0
  45. package/src/lib/form/array/form-array.js +18 -0
  46. package/src/lib/form/array/form-array.js.map +1 -0
  47. package/src/lib/form/coerce-control-component-imports.d.ts +3 -0
  48. package/src/lib/form/coerce-control-component-imports.js +18 -0
  49. package/src/lib/form/coerce-control-component-imports.js.map +1 -0
  50. package/src/lib/form/control/base-form-control.d.ts +14 -0
  51. package/src/lib/form/control/base-form-control.js +19 -0
  52. package/src/lib/form/control/base-form-control.js.map +1 -0
  53. package/src/lib/form/control/checkbox-form-control.d.ts +11 -0
  54. package/src/lib/form/control/checkbox-form-control.js +23 -0
  55. package/src/lib/form/control/checkbox-form-control.js.map +1 -0
  56. package/src/lib/form/control/form-control-kind.d.ts +8 -0
  57. package/src/lib/form/control/form-control-kind.js +13 -0
  58. package/src/lib/form/control/form-control-kind.js.map +1 -0
  59. package/src/lib/form/control/form-control.d.ts +18 -0
  60. package/src/lib/form/control/form-control.js +40 -0
  61. package/src/lib/form/control/form-control.js.map +1 -0
  62. package/src/lib/form/control/form-field-form-control.d.ts +33 -0
  63. package/src/lib/form/control/form-field-form-control.js +76 -0
  64. package/src/lib/form/control/form-field-form-control.js.map +1 -0
  65. package/src/lib/form/control/input-form-control.d.ts +14 -0
  66. package/src/lib/form/control/input-form-control.js +71 -0
  67. package/src/lib/form/control/input-form-control.js.map +1 -0
  68. package/src/lib/form/control/select-form-control.d.ts +18 -0
  69. package/src/lib/form/control/select-form-control.js +29 -0
  70. package/src/lib/form/control/select-form-control.js.map +1 -0
  71. package/src/lib/form/control/slide-toggle-form-control.d.ts +11 -0
  72. package/src/lib/form/control/slide-toggle-form-control.js +23 -0
  73. package/src/lib/form/control/slide-toggle-form-control.js.map +1 -0
  74. package/src/lib/form/control/table-select-form-control.d.ts +43 -0
  75. package/src/lib/form/control/table-select-form-control.js +69 -0
  76. package/src/lib/form/control/table-select-form-control.js.map +1 -0
  77. package/src/lib/form/control.d.ts +8 -0
  78. package/src/lib/form/control.js +38 -0
  79. package/src/lib/form/control.js.map +1 -0
  80. package/src/lib/form/generate-form-template.d.ts +5 -0
  81. package/src/lib/form/generate-form-template.js +12 -0
  82. package/src/lib/form/generate-form-template.js.map +1 -0
  83. package/src/lib/form/group/base-form-group.d.ts +17 -0
  84. package/src/lib/form/group/base-form-group.js +20 -0
  85. package/src/lib/form/group/base-form-group.js.map +1 -0
  86. package/src/lib/form/group/form-group-kind.d.ts +3 -0
  87. package/src/lib/form/group/form-group-kind.js +8 -0
  88. package/src/lib/form/group/form-group-kind.js.map +1 -0
  89. package/src/lib/form/group/form-group.d.ts +12 -0
  90. package/src/lib/form/group/form-group.js +18 -0
  91. package/src/lib/form/group/form-group.js.map +1 -0
  92. package/src/lib/load-handlebars-template.d.ts +4 -0
  93. package/src/lib/load-handlebars-template.js +28 -0
  94. package/src/lib/load-handlebars-template.js.map +1 -0
  95. package/src/lib/merge-with-column-list.js +3 -1
  96. package/src/lib/merge-with-column-list.js.map +1 -1
  97. package/src/lib/minimum-table-component-options.d.ts +12 -2
  98. package/src/lib/minimum-table-component-options.js +14 -17
  99. package/src/lib/minimum-table-component-options.js.map +1 -1
  100. package/src/lib/minimum-table-options.d.ts +1 -1
  101. package/src/lib/minimum-table-options.js +2 -2
  102. package/src/lib/minimum-table-options.js.map +1 -1
  103. package/src/lib/pipe-option.d.ts +11 -0
  104. package/src/lib/pipe-option.js +75 -0
  105. package/src/lib/pipe-option.js.map +1 -0
  106. package/src/lib/table/table-filter-column-rule.d.ts +13 -0
  107. package/src/lib/table/table-filter-column-rule.js +88 -0
  108. package/src/lib/table/table-filter-column-rule.js.map +1 -0
  109. package/src/lib/table-column.d.ts +20 -9
  110. package/src/lib/table-column.js +133 -113
  111. package/src/lib/table-column.js.map +1 -1
  112. package/src/lib/table-options.d.ts +1 -1
  113. package/src/lib/tree-table-options.d.ts +1 -1
  114. package/src/lib/use-pick-from-table-interface-as-form-type.d.ts +10 -0
  115. package/src/lib/use-pick-from-table-interface-as-form-type.js +32 -0
  116. package/src/lib/use-pick-from-table-interface-as-form-type.js.map +1 -0
  117. package/src/lib/value-option.d.ts +12 -0
  118. package/src/lib/value-option.js +66 -0
  119. package/src/lib/value-option.js.map +1 -0
  120. package/src/schema.json +2626 -0
  121. package/src/schematic-input.schema.json +541 -0
  122. package/src/schematics/abstract-control.schema.json +78 -0
  123. package/src/schematics/accordion/accordion-component/files/component/__componentName__.component.html.hbs +25 -0
  124. package/src/schematics/accordion/accordion-component/index.d.ts +5 -2
  125. package/src/schematics/accordion/accordion-component/index.js +56 -122
  126. package/src/schematics/accordion/accordion-component/index.js.map +1 -1
  127. package/src/schematics/accordion/accordion-component/schema.d.ts +6 -0
  128. package/src/schematics/accordion/accordion-component/schema.json +321 -139
  129. package/src/schematics/accordion/accordion-component/template.schema.json +105 -0
  130. package/src/schematics/accordion/accordion-item-component/index.d.ts +9 -4
  131. package/src/schematics/accordion/accordion-item-component/index.js +112 -86
  132. package/src/schematics/accordion/accordion-item-component/index.js.map +1 -1
  133. package/src/schematics/accordion/accordion-item-component/schema.d.ts +2 -2
  134. package/src/schematics/accordion/accordion-item-component/schema.json +282 -70
  135. package/src/schematics/accordion/accordion-item-component/template.schema.json +32 -0
  136. package/src/schematics/accordion/item/accordion-item-data-grid-component/index.d.ts +1 -1
  137. package/src/schematics/accordion/item/accordion-item-data-grid-component/index.js +35 -51
  138. package/src/schematics/accordion/item/accordion-item-data-grid-component/index.js.map +1 -1
  139. package/src/schematics/accordion/item/accordion-item-data-grid-component/schema.d.ts +1 -1
  140. package/src/schematics/accordion/item/accordion-item-data-grid-component/schema.json +963 -73
  141. package/src/schematics/accordion/item/accordion-item-data-grid-component/template.schema.json +31 -0
  142. package/src/schematics/accordion/item/accordion-item-switch-component/index.d.ts +1 -1
  143. package/src/schematics/accordion/item/accordion-item-switch-component/index.js +16 -8
  144. package/src/schematics/accordion/item/accordion-item-switch-component/index.js.map +1 -1
  145. package/src/schematics/accordion/item/accordion-item-switch-component/schema.d.ts +1 -1
  146. package/src/schematics/accordion/item/accordion-item-switch-component/schema.json +321 -189
  147. package/src/schematics/accordion/item/accordion-item-switch-component/template.schema.json +81 -0
  148. package/src/schematics/accordion/item/accordion-item-table-component/index.d.ts +1 -1
  149. package/src/schematics/accordion/item/accordion-item-table-component/index.js +16 -19
  150. package/src/schematics/accordion/item/accordion-item-table-component/index.js.map +1 -1
  151. package/src/schematics/accordion/item/accordion-item-table-component/schema.d.ts +1 -1
  152. package/src/schematics/accordion/item/accordion-item-table-component/schema.json +1005 -293
  153. package/src/schematics/accordion/item/accordion-item-table-component/template.schema.json +43 -0
  154. package/src/schematics/accordion/item/accordion-item-tree-table-component/index.d.ts +1 -1
  155. package/src/schematics/accordion/item/accordion-item-tree-table-component/index.js +48 -84
  156. package/src/schematics/accordion/item/accordion-item-tree-table-component/index.js.map +1 -1
  157. package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.d.ts +1 -1
  158. package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.json +968 -273
  159. package/src/schematics/accordion/item/accordion-item-tree-table-component/template.schema.json +43 -0
  160. package/src/schematics/accordion/templates/accordion-header.hbs +6 -0
  161. package/src/schematics/accordion/templates/data-grid-accordion-item.hbs +15 -0
  162. package/src/schematics/accordion/templates/default-accordion-item.hbs +15 -0
  163. package/src/schematics/accordion/templates/switch-accordion-item.hbs +21 -0
  164. package/src/schematics/accordion/templates/table-accordion-item.hbs +15 -0
  165. package/src/schematics/accordion/templates/tree-table-accordion-item.hbs +15 -0
  166. package/src/schematics/accordion-identifier.schema.json +25 -0
  167. package/src/schematics/accordion-item.schema.json +59 -0
  168. package/src/schematics/angular.schema.json +11 -11
  169. package/src/schematics/backend.schema.json +13 -0
  170. package/src/schematics/base-form-array.schema.json +45 -0
  171. package/src/schematics/base-form-control.schema.json +27 -0
  172. package/src/schematics/base-form-group.schema.json +42 -0
  173. package/src/schematics/button.schema.json +30 -0
  174. package/src/schematics/checkbox-form-control.schema.json +30 -0
  175. package/src/schematics/control.schema.json +26 -0
  176. package/src/schematics/data-grid-component/files/component/__componentName__.component.html.hbs +35 -0
  177. package/src/schematics/data-grid-component/index.d.ts +2 -4
  178. package/src/schematics/data-grid-component/index.js +87 -52
  179. package/src/schematics/data-grid-component/index.js.map +1 -1
  180. package/src/schematics/data-grid-component/schema.json +924 -131
  181. package/src/schematics/data-grid-component/template.schema.json +20 -0
  182. package/src/schematics/data-grid-component/templates/default-data-grid-item.hbs +3 -0
  183. package/src/schematics/data-grid-component/templates/link-data-grid-item.hbs +8 -0
  184. package/src/schematics/data-grid-item.schema.json +50 -0
  185. package/src/schematics/data-grid.schema.json +66 -0
  186. package/src/schematics/dialog-component/schema.json +141 -65
  187. package/src/schematics/dialog-component/template.schema.json +62 -0
  188. package/src/schematics/form/control/input-form-control/index.d.ts +2 -2
  189. package/src/schematics/form/control/input-form-control/index.js +4 -27
  190. package/src/schematics/form/control/input-form-control/index.js.map +1 -1
  191. package/src/schematics/form/control/input-form-control/schema.d.ts +2 -3
  192. package/src/schematics/form/control/input-form-control/schema.json +341 -94
  193. package/src/schematics/form/control/input-form-control/template.schema.json +33 -0
  194. package/src/schematics/form/control/select-form-control/index.d.ts +4 -2
  195. package/src/schematics/form/control/select-form-control/index.js +140 -97
  196. package/src/schematics/form/control/select-form-control/index.js.map +1 -1
  197. package/src/schematics/form/control/select-form-control/schema.d.ts +2 -4
  198. package/src/schematics/form/control/select-form-control/schema.json +348 -81
  199. package/src/schematics/form/control/select-form-control/template.schema.json +33 -0
  200. package/src/schematics/form/control/table-select-form-control/index.d.ts +5 -7
  201. package/src/schematics/form/control/table-select-form-control/index.js +205 -143
  202. package/src/schematics/form/control/table-select-form-control/index.js.map +1 -1
  203. package/src/schematics/form/control/table-select-form-control/schema.d.ts +2 -5
  204. package/src/schematics/form/control/table-select-form-control/schema.json +431 -84
  205. package/src/schematics/form/control/table-select-form-control/template.schema.json +39 -0
  206. package/src/schematics/form/form-array/index.d.ts +9 -0
  207. package/src/schematics/form/form-array/index.js +54 -0
  208. package/src/schematics/form/form-array/index.js.map +1 -0
  209. package/src/schematics/form/form-array/schema.d.ts +4 -0
  210. package/src/schematics/form/form-array/schema.json +823 -0
  211. package/src/schematics/form/form-array/template.schema.json +33 -0
  212. package/src/schematics/form/form-component/files/component/{__componentName__.component.html.template → __componentName__.component.html.hbs} +7 -4
  213. package/src/schematics/form/form-component/index.d.ts +4 -4
  214. package/src/schematics/form/form-component/index.js +22 -23
  215. package/src/schematics/form/form-component/index.js.map +1 -1
  216. package/src/schematics/form/form-component/schema.d.ts +4 -2
  217. package/src/schematics/form/form-component/schema.json +841 -136
  218. package/src/schematics/form/form-component/template.schema.json +20 -0
  219. package/src/schematics/form/form-control/index.d.ts +6 -6
  220. package/src/schematics/form/form-control/index.js +23 -24
  221. package/src/schematics/form/form-control/index.js.map +1 -1
  222. package/src/schematics/form/form-control/schema.d.ts +2 -4
  223. package/src/schematics/form/form-control/schema.json +652 -67
  224. package/src/schematics/form/form-control/template.schema.json +33 -0
  225. package/src/schematics/form/form-definition/index.d.ts +2 -2
  226. package/src/schematics/form/form-definition/index.js +30 -4
  227. package/src/schematics/form/form-definition/index.js.map +1 -1
  228. package/src/schematics/form/form-definition/schema.d.ts +2 -2
  229. package/src/schematics/form/form-definition/schema.json +805 -118
  230. package/src/schematics/form/form-definition/template.schema.json +30 -0
  231. package/src/schematics/form/form-group/index.d.ts +9 -0
  232. package/src/schematics/form/form-group/index.js +54 -0
  233. package/src/schematics/form/form-group/index.js.map +1 -0
  234. package/src/schematics/form/form-group/schema.d.ts +4 -0
  235. package/src/schematics/form/form-group/schema.json +823 -0
  236. package/src/schematics/form/form-group/template.schema.json +33 -0
  237. package/src/schematics/form/templates/checkbox-form-control.hbs +9 -0
  238. package/src/schematics/form/templates/default-form-array.hbs +27 -0
  239. package/src/schematics/form/templates/default-form-control.hbs +2 -0
  240. package/src/schematics/form/templates/default-form-group.hbs +13 -0
  241. package/src/schematics/form/templates/input-form-control.hbs +9 -0
  242. package/src/schematics/form/templates/mat-form-field.hbs +31 -0
  243. package/src/schematics/form/templates/select-form-control.hbs +5 -0
  244. package/src/schematics/form/templates/slide-toggle-form-control.hbs +8 -0
  245. package/src/schematics/form/templates/table-select-form-control.hbs +18 -0
  246. package/src/schematics/form-array.schema.json +40 -0
  247. package/src/schematics/form-component.schema.json +45 -0
  248. package/src/schematics/form-control.schema.json +77 -0
  249. package/src/schematics/form-definition.schema.json +22 -0
  250. package/src/schematics/form-field.schema.json +24 -0
  251. package/src/schematics/form-group.schema.json +40 -0
  252. package/src/schematics/general.schema.json +1 -4
  253. package/src/schematics/header-button.schema.json +42 -0
  254. package/src/schematics/input-form-control.schema.json +59 -0
  255. package/src/schematics/minimum-table.schema.json +60 -0
  256. package/src/schematics/pipe.schema.json +38 -0
  257. package/src/schematics/property.schema.json +31 -0
  258. package/src/schematics/select-form-control.schema.json +68 -0
  259. package/src/schematics/slide-toggle-form-control.schema.json +30 -0
  260. package/src/schematics/table/action/dialog-table-action/schema.json +207 -123
  261. package/src/schematics/table/action/dialog-table-action/template.schema.json +58 -0
  262. package/src/schematics/table/action/form-table-action/index.d.ts +2 -2
  263. package/src/schematics/table/action/form-table-action/index.js +3 -4
  264. package/src/schematics/table/action/form-table-action/index.js.map +1 -1
  265. package/src/schematics/table/action/form-table-action/schema.d.ts +2 -2
  266. package/src/schematics/table/action/form-table-action/schema.json +949 -139
  267. package/src/schematics/table/action/form-table-action/template.schema.json +75 -0
  268. package/src/schematics/table/action/navigation-table-action/schema.json +187 -80
  269. package/src/schematics/table/action/navigation-table-action/template.schema.json +28 -0
  270. package/src/schematics/table/action/open-api-table-action/schema.json +203 -94
  271. package/src/schematics/table/action/open-api-table-action/template.schema.json +56 -0
  272. package/src/schematics/table/action/operation-table-action/schema.json +174 -84
  273. package/src/schematics/table/action/operation-table-action/template.schema.json +14 -0
  274. package/src/schematics/table/header-button/form-table-header-button/index.d.ts +2 -2
  275. package/src/schematics/table/header-button/form-table-header-button/index.js +2 -2
  276. package/src/schematics/table/header-button/form-table-header-button/index.js.map +1 -1
  277. package/src/schematics/table/header-button/form-table-header-button/schema.d.ts +2 -2
  278. package/src/schematics/table/header-button/form-table-header-button/schema.json +910 -98
  279. package/src/schematics/table/header-button/form-table-header-button/template.schema.json +33 -0
  280. package/src/schematics/table/header-button/navigation-table-header-button/schema.json +167 -71
  281. package/src/schematics/table/header-button/navigation-table-header-button/template.schema.json +28 -0
  282. package/src/schematics/table/table-action/schema.json +165 -78
  283. package/src/schematics/table/table-action/template.schema.json +30 -0
  284. package/src/schematics/table/table-component/files/component/__componentName__.component.html.hbs +241 -0
  285. package/src/schematics/table/table-component/index.d.ts +2 -4
  286. package/src/schematics/table/table-component/index.js +14 -120
  287. package/src/schematics/table/table-component/index.js.map +1 -1
  288. package/src/schematics/table/table-component/schema.json +898 -276
  289. package/src/schematics/table/table-component/template.schema.json +20 -0
  290. package/src/schematics/table/table-header-button/schema.json +145 -63
  291. package/src/schematics/table/table-header-button/template.schema.json +30 -0
  292. package/src/schematics/table/templates/boolean-table-column.hbs +10 -0
  293. package/src/schematics/table/templates/component-table-column.hbs +12 -0
  294. package/src/schematics/table/templates/copy-to-clipboard-table-column.hbs +10 -0
  295. package/src/schematics/table/templates/date-table-column.hbs +11 -0
  296. package/src/schematics/table/templates/default-table-column.hbs +8 -0
  297. package/src/schematics/table/templates/icon-table-column.hbs +10 -0
  298. package/src/schematics/table/templates/link-table-column.hbs +10 -0
  299. package/src/schematics/table/tree-table-component/files/component/__componentName__.component.html.hbs +255 -0
  300. package/src/schematics/table/tree-table-component/index.d.ts +3 -0
  301. package/src/schematics/table/tree-table-component/index.js +28 -7
  302. package/src/schematics/table/tree-table-component/index.js.map +1 -1
  303. package/src/schematics/table/tree-table-component/schema.json +889 -260
  304. package/src/schematics/table/tree-table-component/template.schema.json +20 -0
  305. package/src/schematics/table-action.schema.json +61 -0
  306. package/src/schematics/table-column.schema.json +75 -0
  307. package/src/schematics/table-select-form-control.schema.json +96 -0
  308. package/src/schematics/table.schema.json +57 -0
  309. package/src/schematics/templates/pipe.hbs +4 -0
  310. package/src/schematics/textarea-form-control.schema.json +32 -0
  311. package/src/schematics/tree-component/schema.json +115 -70
  312. package/src/schematics/tree-component/template.schema.json +36 -0
  313. package/src/schematics/tree-table.schema.json +40 -0
  314. package/src/schematics/type.schema.json +35 -0
  315. package/src/schematics/upstream.schema.json +56 -0
  316. package/src/schematics/value.schema.json +26 -0
  317. package/src/template.schema.json +212 -0
  318. package/src/lib/accordion-itme-types.d.ts +0 -8
  319. package/src/lib/accordion-itme-types.js +0 -16
  320. package/src/lib/accordion-itme-types.js.map +0 -1
  321. package/src/lib/form-component-control.d.ts +0 -12
  322. package/src/lib/form-component-control.js +0 -15
  323. package/src/lib/form-component-control.js.map +0 -1
  324. package/src/lib/form-definition-control.d.ts +0 -59
  325. package/src/lib/form-definition-control.js +0 -156
  326. package/src/lib/form-definition-control.js.map +0 -1
  327. package/src/schematics/accordion/accordion-component/files/component/__componentName__.component.html.template +0 -94
  328. package/src/schematics/accordion/accordion-component/files/header-component/accordion-header.component.html.template +0 -10
  329. package/src/schematics/data-grid-component/files/form/__componentName__.component.html.template +0 -42
  330. package/src/schematics/data-grid-component/files/plain/__componentName__.component.html.template +0 -25
  331. package/src/schematics/table/table-component/files/component/__componentName__.component.html.template +0 -299
  332. package/src/schematics/table/tree-table-component/files/component/__componentName__.component.html.template +0 -213
@@ -1,316 +1,945 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/schema",
3
- "$id": "tree-table-component",
4
- "type": "object",
5
- "properties": {
6
- "name": {
7
- "type": "string",
8
- "description": "The name of the table",
9
- "x-prompt": "Which name should the table module have?"
10
- },
11
- "project": {
12
- "type": "string",
13
- "description": "The target project where the table module should be added."
3
+ "$id": "tree-table-component-schematic",
4
+ "allOf": [
5
+ {
6
+ "$ref": "#/definitions/angular"
14
7
  },
15
- "feature": {
16
- "type": "string",
17
- "description": "The feature name where the table module should be added.",
18
- "x-prompt": "To which feature should the table module be added?"
8
+ {
9
+ "$ref": "#/definitions/treeTable"
10
+ }
11
+ ],
12
+ "definitions": {
13
+ "abstractControl": {
14
+ "allOf": [
15
+ {
16
+ "$ref": "#/definitions/property"
17
+ },
18
+ {
19
+ "type": "object",
20
+ "properties": {
21
+ "name": {
22
+ "type": "string",
23
+ "description": "The name of the control"
24
+ },
25
+ "isArray": {
26
+ "type": "boolean",
27
+ "description": "Whether the control value is an array",
28
+ "default": false
29
+ },
30
+ "state": {
31
+ "type": "string",
32
+ "description": "The initial state of the control"
33
+ },
34
+ "isRequired": {
35
+ "type": "boolean",
36
+ "description": "Whether the control value is required",
37
+ "default": false
38
+ },
39
+ "isReadonly": {
40
+ "type": "boolean",
41
+ "description": "Whether the control value is readonly",
42
+ "default": false
43
+ },
44
+ "isDisabled": {
45
+ "type": "boolean",
46
+ "description": "Whether the control value is disabled",
47
+ "default": false
48
+ },
49
+ "validatorList": {
50
+ "type": "array",
51
+ "items": {
52
+ "type": "string"
53
+ }
54
+ },
55
+ "kind": {
56
+ "type": "string",
57
+ "description": "The kind of the control",
58
+ "default": "default"
59
+ },
60
+ "importList": {
61
+ "type": "array",
62
+ "items": {
63
+ "$ref": "#/definitions/type"
64
+ }
65
+ },
66
+ "template": {
67
+ "type": "string",
68
+ "description": "The template of the control"
69
+ },
70
+ "role": {
71
+ "type": "string",
72
+ "description": "The role of the control",
73
+ "enum": [
74
+ "control",
75
+ "group",
76
+ "array"
77
+ ],
78
+ "default": "control"
79
+ }
80
+ },
81
+ "additionalProperties": true
82
+ }
83
+ ]
19
84
  },
20
- "shared": {
21
- "type": "boolean",
22
- "description": "Whether the table is shared across applications",
23
- "default": false
85
+ "angular": {
86
+ "allOf": [
87
+ {
88
+ "$ref": "#/definitions/general"
89
+ },
90
+ {
91
+ "type": "object",
92
+ "properties": {
93
+ "componentName": {
94
+ "type": "string"
95
+ },
96
+ "name": {
97
+ "type": "string"
98
+ },
99
+ "context": {
100
+ "type": "string",
101
+ "description": "The context use to generate proper names for class, files, etc"
102
+ },
103
+ "nestModule": {
104
+ "type": "string",
105
+ "description": "The module name for the table nest operations"
106
+ },
107
+ "controllerName": {
108
+ "type": "string"
109
+ },
110
+ "backend": {
111
+ "$ref": "#/definitions/backend"
112
+ },
113
+ "directory": {
114
+ "type": "string",
115
+ "description": "A directory name or absolute path where the files should be generated. Relative to the project and feature base path if a feature is defined"
116
+ },
117
+ "shared": {
118
+ "type": "boolean",
119
+ "description": "Whether the generated code is used across the project",
120
+ "default": false
121
+ },
122
+ "scope": {
123
+ "type": "string"
124
+ },
125
+ "prefix": {
126
+ "type": "string"
127
+ },
128
+ "openApi": {
129
+ "type": "object",
130
+ "additionalProperties": true
131
+ }
132
+ }
133
+ }
134
+ ]
24
135
  },
25
136
  "backend": {
26
137
  "type": "string",
27
138
  "description": "The backend that should be used to handel data",
28
139
  "enum": [
29
140
  "none",
30
- "local",
31
141
  "nestjs",
32
- "open-api"
142
+ "open-api",
143
+ "local"
33
144
  ],
34
145
  "default": "none"
35
146
  },
36
- "directory": {
37
- "type": "string",
38
- "description": "A directory name or absolute path for the table module. relative to the feature base path"
39
- },
40
- "nestModule": {
41
- "type": "string",
42
- "description": "The module name for the table nest operations"
147
+ "baseFormControl": {
148
+ "allOf": [
149
+ {
150
+ "$ref": "#/definitions/abstractControl"
151
+ },
152
+ {
153
+ "type": "object",
154
+ "properties": {
155
+ "label": {
156
+ "type": "string",
157
+ "description": "The label of the control"
158
+ },
159
+ "role": {
160
+ "type": "string",
161
+ "const": "control"
162
+ }
163
+ }
164
+ }
165
+ ]
43
166
  },
44
- "modifiers": {
45
- "alias": "modifier",
46
- "type": "array",
47
- "items": {
48
- "type": "string",
49
- "enum": [
50
- "navigation-back-header",
51
- "without-title"
52
- ]
53
- },
54
- "description": "The table modifiers"
167
+ "button": {
168
+ "type": "object",
169
+ "properties": {
170
+ "svgIcon": {
171
+ "type": "string"
172
+ },
173
+ "icon": {
174
+ "type": "string"
175
+ },
176
+ "directiveList": {
177
+ "type": "array",
178
+ "items": {
179
+ "$ref": "#/definitions/type"
180
+ }
181
+ },
182
+ "importList": {
183
+ "type": "array",
184
+ "items": {
185
+ "$ref": "#/definitions/type"
186
+ }
187
+ }
188
+ }
55
189
  },
56
- "headerButton": {
57
- "oneOf": [
190
+ "checkboxFormControl": {
191
+ "allOf": [
58
192
  {
59
- "type": "string"
193
+ "$ref": "#/definitions/baseFormControl"
60
194
  },
61
195
  {
62
196
  "type": "object",
63
197
  "properties": {
64
- "role": {
65
- "type": "string"
66
- },
67
- "permission": {
68
- "type": "string"
69
- },
70
- "icon": {
71
- "type": "string"
198
+ "kind": {
199
+ "type": "string",
200
+ "const": "checkbox"
72
201
  },
73
- "svgIcon": {
74
- "type": "string"
202
+ "labelPosition": {
203
+ "type": "string",
204
+ "enum": [
205
+ "before",
206
+ "after"
207
+ ]
75
208
  }
76
209
  }
77
210
  }
78
- ],
79
- "description": "The header button configuration"
211
+ ]
80
212
  },
81
- "columnList": {
82
- "alias": "column",
83
- "type": "array",
84
- "items": {
85
- "type": "object",
86
- "properties": {
87
- "name": {
88
- "type": "string"
89
- },
90
- "type": {
91
- "oneOf": [
92
- {
93
- "type": "string"
94
- },
95
- {
96
- "type": "object",
97
- "properties": {
98
- "name": {
99
- "type": "string"
100
- },
101
- "isTypeOnly": {
102
- "type": "boolean"
103
- },
104
- "moduleSpecifier": {
105
- "type": "string"
106
- },
107
- "namedImport": {
108
- "type": "string"
109
- },
110
- "namespaceImport": {
111
- "type": "string"
112
- },
113
- "defaultImport": {
114
- "type": "string"
115
- }
116
- },
117
- "required": [
118
- "name"
119
- ]
120
- }
121
- ]
122
- },
123
- "role": {
124
- "type": "string"
125
- },
126
- "modifiers": {
127
- "type": "array",
128
- "items": {
129
- "type": "string"
213
+ "formControl": {
214
+ "allOf": [
215
+ {
216
+ "type": "object",
217
+ "properties": {
218
+ "role": {
219
+ "type": "string",
220
+ "const": "control",
221
+ "default": "control"
130
222
  }
131
- },
132
- "template": {
133
- "type": "string"
134
- },
135
- "pipeList": {
136
- "type": "array",
137
- "items": {
138
- "oneOf": [
223
+ }
224
+ },
225
+ {
226
+ "oneOf": [
227
+ {
228
+ "allOf": [
139
229
  {
140
- "type": "string"
230
+ "$ref": "#/definitions/baseFormControl"
141
231
  },
142
232
  {
143
233
  "type": "object",
144
234
  "properties": {
145
- "name": {
146
- "type": "string"
147
- },
148
- "namedImport": {
149
- "type": "string"
150
- },
151
- "moduleSpecifier": {
152
- "type": "string"
235
+ "kind": {
236
+ "type": "string",
237
+ "const": "default"
153
238
  }
154
- },
155
- "required": [
156
- "name",
157
- "namedImport",
158
- "moduleSpecifier"
159
- ]
239
+ }
160
240
  }
161
241
  ]
242
+ },
243
+ {
244
+ "$ref": "#/definitions/inputFormControl"
245
+ },
246
+ {
247
+ "$ref": "#/definitions/selectFormControl"
248
+ },
249
+ {
250
+ "$ref": "#/definitions/checkboxFormControl"
251
+ },
252
+ {
253
+ "$ref": "#/definitions/textareaFormControl"
254
+ },
255
+ {
256
+ "$ref": "#/definitions/tableSelectFormControl"
257
+ },
258
+ {
259
+ "$ref": "#/definitions/slideToggleFormControl"
162
260
  }
163
- },
164
- "hasFilter": {
165
- "type": "boolean"
166
- },
167
- "title": {
168
- "type": "string"
169
- },
170
- "propertyPath": {
171
- "type": "string"
172
- },
173
- "hidden": {
174
- "type": "boolean"
175
- },
176
- "active": {
177
- "type": "boolean"
178
- },
179
- "inactive": {
180
- "type": "boolean"
181
- },
182
- "show": {
183
- "type": "boolean"
184
- }
261
+ ]
262
+ }
263
+ ]
264
+ },
265
+ "formField": {
266
+ "type": "object",
267
+ "properties": {
268
+ "label": {
269
+ "type": "string"
185
270
  },
186
- "required": [
187
- "name"
188
- ],
189
- "description": "table column name"
190
- },
191
- "description": "List of table column names"
271
+ "prefixButton": {
272
+ "$ref": "#/definitions/button"
273
+ },
274
+ "suffixButton": {
275
+ "$ref": "#/definitions/button"
276
+ },
277
+ "hasClearButton": {
278
+ "type": "boolean"
279
+ }
280
+ }
192
281
  },
193
- "actionList": {
194
- "alias": "action",
195
- "type": "array",
196
- "items": {
197
- "oneOf": [
198
- {
199
- "type": "string"
200
- },
201
- {
202
- "type": "object",
203
- "properties": {
204
- "type": {
205
- "type": "string"
206
- },
207
- "refresh": {
208
- "type": "boolean"
209
- },
210
- "confirm": {
211
- "type": "boolean"
212
- },
213
- "tooltip": {
214
- "type": "string"
215
- },
216
- "errorMessage": {
217
- "type": "string"
218
- },
219
- "successMessage": {
220
- "type": "string"
221
- },
222
- "priority": {
223
- "type": "number"
224
- },
225
- "checkFunction": {
226
- "type": "string"
227
- },
228
- "inHeader": {
229
- "type": "boolean"
230
- },
231
- "role": {
232
- "type": "string",
233
- "enum": [
234
- "form",
235
- "link",
236
- "method",
237
- "custom"
238
- ]
239
- },
240
- "icon": {
241
- "type": "string"
242
- },
243
- "svgIcon": {
244
- "type": "string"
245
- },
246
- "permission": {
282
+ "general": {
283
+ "type": "object",
284
+ "properties": {
285
+ "project": {
286
+ "type": "string",
287
+ "description": "Project name where the files should be generated"
288
+ },
289
+ "feature": {
290
+ "type": "string",
291
+ "description": "Feature name where the files should be generated"
292
+ },
293
+ "overwrite": {
294
+ "anyOf": [
295
+ {
296
+ "type": "boolean"
297
+ },
298
+ {
299
+ "type": "array",
300
+ "items": {
247
301
  "type": "string"
248
302
  }
249
- },
250
- "required": [
251
- "type",
252
- "role"
253
- ]
254
- }
255
- ]
256
- }
257
- },
258
- "overwrite": {
259
- "anyOf": [
260
- {
261
- "type": "boolean"
303
+ }
304
+ ],
305
+ "description": "Overwrite existing files",
306
+ "default": false
262
307
  },
263
- {
264
- "type": "array",
265
- "items": {
266
- "type": "string"
267
- }
308
+ "overwriteHtml": {
309
+ "type": "boolean",
310
+ "default": false
311
+ },
312
+ "replace": {
313
+ "type": "boolean",
314
+ "default": false
268
315
  }
269
- ],
270
- "description": "Overwrite existing files",
271
- "default": false
272
- },
273
- "context": {
274
- "type": "string",
275
- "description": "The context use to generate proper names for class, files, etc"
316
+ }
276
317
  },
277
- "tableRootMethod": {
318
+ "headerButton": {
278
319
  "type": "object",
279
320
  "properties": {
280
- "name": {
321
+ "permission": {
322
+ "type": "string"
323
+ },
324
+ "icon": {
325
+ "type": "string"
326
+ },
327
+ "svgIcon": {
328
+ "type": "string"
329
+ },
330
+ "refresh": {
331
+ "type": "boolean",
332
+ "description": "Whether the table action should refresh the table after execution",
333
+ "default": false
334
+ },
335
+ "confirm": {
336
+ "type": "boolean",
337
+ "description": "Whether the table action should confirm before execution",
338
+ "default": false
339
+ },
340
+ "tooltip": {
281
341
  "type": "string",
282
- "description": "The name of the table method class"
342
+ "description": "The tooltip for the table action"
283
343
  },
284
- "moduleSpecifier": {
344
+ "errorMessage": {
285
345
  "type": "string",
286
- "description": "The import path for the table method class"
346
+ "description": "The error message for the table action"
347
+ },
348
+ "successMessage": {
349
+ "type": "string",
350
+ "description": "The success message for the table action"
351
+ },
352
+ "options": {
353
+ "type": "object",
354
+ "additionalProperties": true
355
+ }
356
+ }
357
+ },
358
+ "inputFormControl": {
359
+ "allOf": [
360
+ {
361
+ "$ref": "#/definitions/baseFormControl"
362
+ },
363
+ {
364
+ "type": "object",
365
+ "properties": {
366
+ "kind": {
367
+ "type": "string",
368
+ "const": "input"
369
+ },
370
+ "formField": {
371
+ "$ref": "#/definitions/formField"
372
+ },
373
+ "inputType": {
374
+ "type": "string",
375
+ "enum": [
376
+ "text",
377
+ "password",
378
+ "email",
379
+ "number",
380
+ "tel",
381
+ "url",
382
+ "checkbox",
383
+ "color",
384
+ "date",
385
+ "time",
386
+ "datetime-local",
387
+ "file",
388
+ "hidden",
389
+ "image",
390
+ "month",
391
+ "radio",
392
+ "reset",
393
+ "button",
394
+ "search",
395
+ "submit",
396
+ "week",
397
+ "range"
398
+ ]
399
+ },
400
+ "placeholder": {
401
+ "type": "string"
402
+ }
403
+ }
287
404
  }
288
- },
289
- "required": [
290
- "name",
291
- "moduleSpecifier"
292
405
  ]
293
406
  },
294
- "tableChildMethod": {
407
+ "minimumTable": {
295
408
  "type": "object",
296
409
  "properties": {
297
- "name": {
298
- "type": "string",
299
- "description": "The name of the table method class"
410
+ "propertyList": {
411
+ "alias": "property",
412
+ "type": "array",
413
+ "items": {
414
+ "$ref": "#/definitions/property"
415
+ }
300
416
  },
301
- "moduleSpecifier": {
302
- "type": "string",
303
- "description": "The import path for the table method class"
304
- }
305
- },
306
- "required": [
307
- "name",
308
- "moduleSpecifier"
417
+ "upstream": {
418
+ "$ref": "#/definitions/upstream"
419
+ },
420
+ "columnList": {
421
+ "alias": "column",
422
+ "type": "array",
423
+ "items": {
424
+ "$ref": "#/definitions/tableColumn"
425
+ },
426
+ "description": "List of table column names"
427
+ },
428
+ "actionList": {
429
+ "alias": "action",
430
+ "type": "array",
431
+ "items": {
432
+ "$ref": "#/definitions/tableAction"
433
+ }
434
+ },
435
+ "headerButton": {
436
+ "$ref": "#/definitions/headerButton"
437
+ },
438
+ "modifiers": {
439
+ "alias": "modifier",
440
+ "type": "array",
441
+ "items": {
442
+ "type": "string"
443
+ },
444
+ "description": "The table modifiers"
445
+ }
446
+ }
447
+ },
448
+ "pipe": {
449
+ "oneOf": [
450
+ {
451
+ "type": "string"
452
+ },
453
+ {
454
+ "allOf": [
455
+ {
456
+ "$ref": "#/definitions/type"
457
+ },
458
+ {
459
+ "type": "object",
460
+ "properties": {
461
+ "argumentList": {
462
+ "type": "array",
463
+ "items": {
464
+ "$ref": "#/definitions/value"
465
+ }
466
+ }
467
+ },
468
+ "required": [
469
+ "name"
470
+ ]
471
+ }
472
+ ]
473
+ }
474
+ ]
475
+ },
476
+ "property": {
477
+ "oneOf": [
478
+ {
479
+ "type": "string"
480
+ },
481
+ {
482
+ "type": "object",
483
+ "properties": {
484
+ "name": {
485
+ "type": "string"
486
+ },
487
+ "type": {
488
+ "$ref": "#/definitions/type"
489
+ },
490
+ "isArray": {
491
+ "type": "boolean"
492
+ }
493
+ },
494
+ "required": [
495
+ "name"
496
+ ]
497
+ }
498
+ ]
499
+ },
500
+ "selectFormControl": {
501
+ "allOf": [
502
+ {
503
+ "$ref": "#/definitions/baseFormControl"
504
+ },
505
+ {
506
+ "type": "object",
507
+ "properties": {
508
+ "formField": {
509
+ "$ref": "#/definitions/formField"
510
+ },
511
+ "kind": {
512
+ "type": "string",
513
+ "const": "select"
514
+ },
515
+ "optionList": {
516
+ "type": "array",
517
+ "items": {
518
+ "type": "object",
519
+ "properties": {
520
+ "display": {
521
+ "type": "string"
522
+ },
523
+ "value": {
524
+ "oneOf": [
525
+ {
526
+ "type": "string"
527
+ },
528
+ {
529
+ "type": "number"
530
+ },
531
+ {
532
+ "type": "boolean"
533
+ },
534
+ {
535
+ "type": "object",
536
+ "additionalProperties": true
537
+ }
538
+ ]
539
+ }
540
+ }
541
+ }
542
+ },
543
+ "backend": {
544
+ "$ref": "#/definitions/backend"
545
+ },
546
+ "multiple": {
547
+ "alias": "multi",
548
+ "type": "boolean",
549
+ "description": "Whether the select form control is multiple mode"
550
+ }
551
+ }
552
+ }
553
+ ]
554
+ },
555
+ "slideToggleFormControl": {
556
+ "allOf": [
557
+ {
558
+ "$ref": "#/definitions/baseFormControl"
559
+ },
560
+ {
561
+ "type": "object",
562
+ "properties": {
563
+ "kind": {
564
+ "type": "string",
565
+ "const": "slide-toggle"
566
+ },
567
+ "labelPosition": {
568
+ "type": "string",
569
+ "enum": [
570
+ "before",
571
+ "after"
572
+ ]
573
+ }
574
+ }
575
+ }
576
+ ]
577
+ },
578
+ "tableAction": {
579
+ "type": "object",
580
+ "properties": {
581
+ "type": {
582
+ "type": "string"
583
+ },
584
+ "refresh": {
585
+ "type": "boolean"
586
+ },
587
+ "confirm": {
588
+ "type": "boolean"
589
+ },
590
+ "tooltip": {
591
+ "type": "string"
592
+ },
593
+ "errorMessage": {
594
+ "type": "string"
595
+ },
596
+ "successMessage": {
597
+ "type": "string"
598
+ },
599
+ "priority": {
600
+ "type": "number"
601
+ },
602
+ "checkFunction": {
603
+ "type": "string"
604
+ },
605
+ "inHeader": {
606
+ "type": "boolean"
607
+ },
608
+ "role": {
609
+ "type": "string"
610
+ },
611
+ "icon": {
612
+ "type": "string"
613
+ },
614
+ "svgIcon": {
615
+ "type": "string"
616
+ },
617
+ "permission": {
618
+ "type": "string"
619
+ },
620
+ "color": {
621
+ "type": "string",
622
+ "description": "Value for the color input of the mat-button / mat-icon component"
623
+ },
624
+ "cssClass": {
625
+ "type": "string",
626
+ "description": "Additional CSS classes added to the button element"
627
+ },
628
+ "options": {
629
+ "type": "object",
630
+ "additionalProperties": true
631
+ }
632
+ },
633
+ "required": [
634
+ "type"
635
+ ]
636
+ },
637
+ "tableColumn": {
638
+ "type": "object",
639
+ "properties": {
640
+ "name": {
641
+ "type": "string"
642
+ },
643
+ "type": {
644
+ "$ref": "#/definitions/type"
645
+ },
646
+ "kind": {
647
+ "type": "string"
648
+ },
649
+ "modifiers": {
650
+ "type": "array",
651
+ "items": {
652
+ "type": "string"
653
+ }
654
+ },
655
+ "template": {
656
+ "type": "string"
657
+ },
658
+ "pipeList": {
659
+ "type": "array",
660
+ "items": {
661
+ "$ref": "#/definitions/pipe"
662
+ }
663
+ },
664
+ "hasFilter": {
665
+ "type": "boolean"
666
+ },
667
+ "nowrap": {
668
+ "type": "boolean"
669
+ },
670
+ "cssClass": {
671
+ "type": "string"
672
+ },
673
+ "title": {
674
+ "type": "string"
675
+ },
676
+ "propertyPath": {
677
+ "type": "string"
678
+ },
679
+ "hidden": {
680
+ "type": "boolean"
681
+ },
682
+ "active": {
683
+ "type": "boolean"
684
+ },
685
+ "inactive": {
686
+ "type": "boolean"
687
+ },
688
+ "show": {
689
+ "type": "boolean"
690
+ },
691
+ "filterControl": {
692
+ "$ref": "#/definitions/formControl"
693
+ }
694
+ },
695
+ "required": [
696
+ "name"
697
+ ]
698
+ },
699
+ "tableSelectFormControl": {
700
+ "allOf": [
701
+ {
702
+ "$ref": "#/definitions/baseFormControl"
703
+ },
704
+ {
705
+ "type": "object",
706
+ "properties": {
707
+ "formField": {
708
+ "$ref": "#/definitions/formField"
709
+ },
710
+ "kind": {
711
+ "type": "string",
712
+ "const": "table-select"
713
+ },
714
+ "placeholder": {
715
+ "type": "string"
716
+ },
717
+ "columnList": {
718
+ "alias": "column",
719
+ "type": "array",
720
+ "items": {
721
+ "description": "table column name",
722
+ "type": "object",
723
+ "properties": {
724
+ "name": {
725
+ "type": "string",
726
+ "description": "table column name"
727
+ },
728
+ "title": {
729
+ "type": "string",
730
+ "description": "table column label"
731
+ },
732
+ "hasFilter": {
733
+ "type": "boolean",
734
+ "description": "Whether the column has a filter"
735
+ },
736
+ "kind": {
737
+ "type": "string",
738
+ "description": "The kind of data in the column"
739
+ }
740
+ }
741
+ },
742
+ "description": "List of table column names"
743
+ },
744
+ "title": {
745
+ "type": "string",
746
+ "description": "The title of the table select window"
747
+ },
748
+ "toDisplay": {
749
+ "type": "object",
750
+ "properties": {
751
+ "property": {
752
+ "$ref": "#/definitions/property"
753
+ }
754
+ }
755
+ },
756
+ "toValue": {
757
+ "type": "object",
758
+ "properties": {
759
+ "property": {
760
+ "$ref": "#/definitions/property"
761
+ }
762
+ }
763
+ },
764
+ "upstream": {
765
+ "$ref": "#/definitions/upstream"
766
+ },
767
+ "resolver": {
768
+ "type": "object",
769
+ "properties": {
770
+ "upstream": {
771
+ "$ref": "#/definitions/upstream"
772
+ }
773
+ }
774
+ }
775
+ }
776
+ }
777
+ ]
778
+ },
779
+ "textareaFormControl": {
780
+ "allOf": [
781
+ {
782
+ "$ref": "#/definitions/baseFormControl"
783
+ },
784
+ {
785
+ "type": "object",
786
+ "properties": {
787
+ "formField": {
788
+ "$ref": "#/definitions/formField"
789
+ },
790
+ "kind": {
791
+ "type": "string",
792
+ "const": "textarea"
793
+ },
794
+ "placeholder": {
795
+ "type": "string"
796
+ }
797
+ }
798
+ }
799
+ ]
800
+ },
801
+ "treeTable": {
802
+ "allOf": [
803
+ {
804
+ "$ref": "#/definitions/minimumTable"
805
+ },
806
+ {
807
+ "type": "object",
808
+ "properties": {
809
+ "modifiers": {
810
+ "alias": "modifier",
811
+ "type": "array",
812
+ "items": {
813
+ "type": "string",
814
+ "enum": [
815
+ "navigation-back-header",
816
+ "without-title"
817
+ ]
818
+ },
819
+ "description": "The table modifiers"
820
+ },
821
+ "tableRootMethod": {
822
+ "$ref": "#/definitions/type"
823
+ },
824
+ "tableChildMethod": {
825
+ "$ref": "#/definitions/type"
826
+ }
827
+ }
828
+ }
829
+ ]
830
+ },
831
+ "type": {
832
+ "oneOf": [
833
+ {
834
+ "type": "string"
835
+ },
836
+ {
837
+ "type": "object",
838
+ "properties": {
839
+ "name": {
840
+ "type": "string"
841
+ },
842
+ "isTypeOnly": {
843
+ "type": "boolean"
844
+ },
845
+ "moduleSpecifier": {
846
+ "type": "string"
847
+ },
848
+ "namedImport": {
849
+ "type": "string"
850
+ },
851
+ "namespaceImport": {
852
+ "type": "string"
853
+ },
854
+ "defaultImport": {
855
+ "type": "string"
856
+ }
857
+ },
858
+ "required": [
859
+ "name"
860
+ ]
861
+ }
862
+ ]
863
+ },
864
+ "upstream": {
865
+ "oneOf": [
866
+ {
867
+ "type": "object",
868
+ "properties": {
869
+ "kind": {
870
+ "type": "string",
871
+ "enum": [
872
+ "open-api"
873
+ ]
874
+ },
875
+ "operationId": {
876
+ "type": "string"
877
+ },
878
+ "scope": {
879
+ "type": "string"
880
+ },
881
+ "mapper": {
882
+ "type": "object",
883
+ "properties": {
884
+ "pageIndex": {
885
+ "type": "string"
886
+ },
887
+ "pageSize": {
888
+ "type": "string"
889
+ },
890
+ "sortBy": {
891
+ "type": "string"
892
+ },
893
+ "sortDirection": {
894
+ "type": "string"
895
+ },
896
+ "list": {
897
+ "type": "string"
898
+ },
899
+ "total": {
900
+ "type": "string"
901
+ },
902
+ "filter": {
903
+ "type": "object",
904
+ "properties": {
905
+ "eq": {
906
+ "type": "string"
907
+ },
908
+ "join": {
909
+ "type": "string"
910
+ }
911
+ }
912
+ }
913
+ }
914
+ }
915
+ },
916
+ "required": [
917
+ "kind",
918
+ "operationId"
919
+ ]
920
+ }
921
+ ]
922
+ },
923
+ "value": {
924
+ "oneOf": [
925
+ {
926
+ "type": "string"
927
+ },
928
+ {
929
+ "type": "object",
930
+ "properties": {
931
+ "type": {
932
+ "$ref": "#/definitions/type"
933
+ },
934
+ "value": {
935
+ "type": "string"
936
+ }
937
+ },
938
+ "required": [
939
+ "value"
940
+ ]
941
+ }
309
942
  ]
310
943
  }
311
- },
312
- "required": [
313
- "name",
314
- "feature"
315
- ]
316
- }
944
+ }
945
+ }