@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,259 +1,427 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/schema",
3
- "$id": "template-table-module",
3
+ "$id": "table-component-schematic",
4
4
  "allOf": [
5
5
  {
6
- "$ref": "https://unpkg.com/@rxap/schematic-angular@16.1.0-dev.23/src/schematics/angular.schema.json"
6
+ "$ref": "#/definitions/angular"
7
7
  },
8
8
  {
9
- "type": "object",
10
- "properties": {
11
- "name": {
12
- "type": "string",
13
- "description": "The name of the table",
14
- "x-prompt": "Which name should the table module have?"
9
+ "$ref": "#/definitions/table"
10
+ }
11
+ ],
12
+ "definitions": {
13
+ "abstractControl": {
14
+ "allOf": [
15
+ {
16
+ "$ref": "#/definitions/property"
15
17
  },
16
- "tableMethod": {
18
+ {
17
19
  "type": "object",
18
20
  "properties": {
19
21
  "name": {
20
22
  "type": "string",
21
- "description": "The name of the table method class"
23
+ "description": "The name of the control"
22
24
  },
23
- "moduleSpecifier": {
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": {
24
71
  "type": "string",
25
- "description": "The import path for the table method class"
72
+ "description": "The role of the control",
73
+ "enum": [
74
+ "control",
75
+ "group",
76
+ "array"
77
+ ],
78
+ "default": "control"
26
79
  }
27
80
  },
28
- "required": [
29
- "name",
30
- "moduleSpecifier"
31
- ]
81
+ "additionalProperties": true
82
+ }
83
+ ]
84
+ },
85
+ "angular": {
86
+ "allOf": [
87
+ {
88
+ "$ref": "#/definitions/general"
32
89
  },
33
- "openApi": {
90
+ {
34
91
  "type": "object",
35
92
  "properties": {
36
- "operationId": {
93
+ "componentName": {
94
+ "type": "string"
95
+ },
96
+ "name": {
97
+ "type": "string"
98
+ },
99
+ "context": {
37
100
  "type": "string",
38
- "description": "The operationId for the open api operation"
101
+ "description": "The context use to generate proper names for class, files, etc"
39
102
  },
40
- "adapter": {
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": {
41
129
  "type": "object",
42
- "properties": {
43
- "name": {
44
- "type": "string",
45
- "description": "The name of the open api adapter class"
46
- },
47
- "moduleSpecifier": {
48
- "type": "string",
49
- "description": "The import path for the open api adapter class"
50
- }
51
- },
52
- "required": [
53
- "name",
54
- "moduleSpecifier"
55
- ]
130
+ "additionalProperties": true
56
131
  }
57
- },
58
- "required": [
59
- "operationId"
60
- ]
132
+ }
133
+ }
134
+ ]
135
+ },
136
+ "backend": {
137
+ "type": "string",
138
+ "description": "The backend that should be used to handel data",
139
+ "enum": [
140
+ "none",
141
+ "nestjs",
142
+ "open-api",
143
+ "local"
144
+ ],
145
+ "default": "none"
146
+ },
147
+ "baseFormControl": {
148
+ "allOf": [
149
+ {
150
+ "$ref": "#/definitions/abstractControl"
61
151
  },
62
- "modifiers": {
63
- "alias": "modifier",
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
+ ]
166
+ },
167
+ "button": {
168
+ "type": "object",
169
+ "properties": {
170
+ "svgIcon": {
171
+ "type": "string"
172
+ },
173
+ "icon": {
174
+ "type": "string"
175
+ },
176
+ "directiveList": {
64
177
  "type": "array",
65
178
  "items": {
66
- "type": "string",
67
- "enum": [
68
- "navigation-back-header",
69
- "without-title",
70
- "show-archived-slide"
71
- ]
72
- },
73
- "description": "The table modifiers"
179
+ "$ref": "#/definitions/type"
180
+ }
74
181
  },
75
- "headerButton": {
76
- "oneOf": [
77
- {
78
- "type": "string"
182
+ "importList": {
183
+ "type": "array",
184
+ "items": {
185
+ "$ref": "#/definitions/type"
186
+ }
187
+ }
188
+ }
189
+ },
190
+ "checkboxFormControl": {
191
+ "allOf": [
192
+ {
193
+ "$ref": "#/definitions/baseFormControl"
194
+ },
195
+ {
196
+ "type": "object",
197
+ "properties": {
198
+ "kind": {
199
+ "type": "string",
200
+ "const": "checkbox"
79
201
  },
202
+ "labelPosition": {
203
+ "type": "string",
204
+ "enum": [
205
+ "before",
206
+ "after"
207
+ ]
208
+ }
209
+ }
210
+ }
211
+ ]
212
+ },
213
+ "formControl": {
214
+ "allOf": [
215
+ {
216
+ "type": "object",
217
+ "properties": {
218
+ "role": {
219
+ "type": "string",
220
+ "const": "control",
221
+ "default": "control"
222
+ }
223
+ }
224
+ },
225
+ {
226
+ "oneOf": [
80
227
  {
81
- "type": "object",
82
- "properties": {
83
- "role": {
84
- "type": "string",
85
- "enum": [
86
- "form",
87
- "navigation",
88
- "method"
89
- ]
90
- },
91
- "permission": {
92
- "type": "string"
93
- },
94
- "icon": {
95
- "type": "string"
96
- },
97
- "svgIcon": {
98
- "type": "string"
228
+ "allOf": [
229
+ {
230
+ "$ref": "#/definitions/baseFormControl"
99
231
  },
100
- "options": {
232
+ {
101
233
  "type": "object",
102
- "additionalProperties": true
234
+ "properties": {
235
+ "kind": {
236
+ "type": "string",
237
+ "const": "default"
238
+ }
239
+ }
103
240
  }
104
- },
105
- "additionalProperties": true
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"
260
+ }
261
+ ]
262
+ }
263
+ ]
264
+ },
265
+ "formField": {
266
+ "type": "object",
267
+ "properties": {
268
+ "label": {
269
+ "type": "string"
270
+ },
271
+ "prefixButton": {
272
+ "$ref": "#/definitions/button"
273
+ },
274
+ "suffixButton": {
275
+ "$ref": "#/definitions/button"
276
+ },
277
+ "hasClearButton": {
278
+ "type": "boolean"
279
+ }
280
+ }
281
+ },
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": {
301
+ "type": "string"
302
+ }
106
303
  }
107
304
  ],
108
- "description": "The header button configuration"
305
+ "description": "Overwrite existing files",
306
+ "default": false
307
+ },
308
+ "overwriteHtml": {
309
+ "type": "boolean",
310
+ "default": false
311
+ },
312
+ "replace": {
313
+ "type": "boolean",
314
+ "default": false
315
+ }
316
+ }
317
+ },
318
+ "headerButton": {
319
+ "type": "object",
320
+ "properties": {
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": {
341
+ "type": "string",
342
+ "description": "The tooltip for the table action"
343
+ },
344
+ "errorMessage": {
345
+ "type": "string",
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"
109
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
+ }
404
+ }
405
+ ]
406
+ },
407
+ "minimumTable": {
408
+ "type": "object",
409
+ "properties": {
110
410
  "propertyList": {
111
411
  "alias": "property",
112
412
  "type": "array",
113
413
  "items": {
114
- "oneOf": [
115
- {
116
- "type": "string"
117
- },
118
- {
119
- "type": "object",
120
- "properties": {
121
- "name": {
122
- "type": "string"
123
- },
124
- "type": {
125
- "type": "string"
126
- }
127
- },
128
- "required": [
129
- "name"
130
- ]
131
- }
132
- ]
414
+ "$ref": "#/definitions/property"
133
415
  }
134
416
  },
417
+ "upstream": {
418
+ "$ref": "#/definitions/upstream"
419
+ },
135
420
  "columnList": {
136
421
  "alias": "column",
137
422
  "type": "array",
138
423
  "items": {
139
- "oneOf": [
140
- {
141
- "type": "string"
142
- },
143
- {
144
- "type": "object",
145
- "properties": {
146
- "name": {
147
- "type": "string"
148
- },
149
- "type": {
150
- "oneOf": [
151
- {
152
- "type": "string"
153
- },
154
- {
155
- "type": "object",
156
- "properties": {
157
- "name": {
158
- "type": "string"
159
- },
160
- "isTypeOnly": {
161
- "type": "boolean"
162
- },
163
- "moduleSpecifier": {
164
- "type": "string"
165
- },
166
- "namedImport": {
167
- "type": "string"
168
- },
169
- "namespaceImport": {
170
- "type": "string"
171
- },
172
- "defaultImport": {
173
- "type": "string"
174
- }
175
- },
176
- "required": [
177
- "name"
178
- ]
179
- }
180
- ]
181
- },
182
- "role": {
183
- "type": "string"
184
- },
185
- "modifiers": {
186
- "type": "array",
187
- "items": {
188
- "type": "string"
189
- }
190
- },
191
- "template": {
192
- "type": "string"
193
- },
194
- "pipeList": {
195
- "type": "array",
196
- "items": {
197
- "oneOf": [
198
- {
199
- "type": "string"
200
- },
201
- {
202
- "type": "object",
203
- "properties": {
204
- "name": {
205
- "type": "string"
206
- },
207
- "namedImport": {
208
- "type": "string"
209
- },
210
- "moduleSpecifier": {
211
- "type": "string"
212
- }
213
- },
214
- "required": [
215
- "name",
216
- "namedImport",
217
- "moduleSpecifier"
218
- ]
219
- }
220
- ]
221
- }
222
- },
223
- "hasFilter": {
224
- "type": "boolean"
225
- },
226
- "nowrap": {
227
- "type": "boolean"
228
- },
229
- "cssClass": {
230
- "type": "string"
231
- },
232
- "title": {
233
- "type": "string"
234
- },
235
- "propertyPath": {
236
- "type": "string"
237
- },
238
- "hidden": {
239
- "type": "boolean"
240
- },
241
- "active": {
242
- "type": "boolean"
243
- },
244
- "inactive": {
245
- "type": "boolean"
246
- },
247
- "show": {
248
- "type": "boolean"
249
- }
250
- },
251
- "required": [
252
- "name"
253
- ]
254
- }
255
- ],
256
- "description": "table column name"
424
+ "$ref": "#/definitions/tableColumn"
257
425
  },
258
426
  "description": "List of table column names"
259
427
  },
@@ -261,80 +429,534 @@
261
429
  "alias": "action",
262
430
  "type": "array",
263
431
  "items": {
264
- "oneOf": [
265
- {
266
- "type": "string"
267
- },
268
- {
269
- "type": "object",
270
- "properties": {
271
- "type": {
272
- "type": "string"
273
- },
274
- "refresh": {
275
- "type": "boolean"
276
- },
277
- "confirm": {
278
- "type": "boolean"
279
- },
280
- "tooltip": {
281
- "type": "string"
282
- },
283
- "errorMessage": {
284
- "type": "string"
285
- },
286
- "successMessage": {
287
- "type": "string"
288
- },
289
- "priority": {
290
- "type": "number"
291
- },
292
- "checkFunction": {
293
- "type": "string"
294
- },
295
- "inHeader": {
296
- "type": "boolean"
297
- },
298
- "role": {
299
- "type": "string"
300
- },
301
- "icon": {
302
- "type": "string"
303
- },
304
- "svgIcon": {
305
- "type": "string"
306
- },
307
- "permission": {
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": {
308
521
  "type": "string"
309
522
  },
310
- "color": {
311
- "type": "string",
312
- "description": "Value for the color input of the mat-button / mat-icon component"
313
- },
314
- "cssClass": {
315
- "type": "string",
316
- "description": "Additional CSS classes added to the button element"
317
- },
318
- "options": {
319
- "type": "object",
320
- "additionalProperties": true
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
+ ]
321
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
+ "table": {
579
+ "allOf": [
580
+ {
581
+ "$ref": "#/definitions/minimumTable"
582
+ },
583
+ {
584
+ "type": "object",
585
+ "properties": {
586
+ "tableMethod": {
587
+ "$ref": "#/definitions/type"
588
+ },
589
+ "openApi": {
590
+ "type": "object",
591
+ "properties": {
592
+ "operationId": {
593
+ "type": "string",
594
+ "description": "The operationId for the open api operation"
322
595
  },
323
- "required": [
324
- "type"
596
+ "adapter": {
597
+ "$ref": "#/definitions/type"
598
+ }
599
+ },
600
+ "required": [
601
+ "operationId"
602
+ ]
603
+ },
604
+ "modifiers": {
605
+ "alias": "modifier",
606
+ "type": "array",
607
+ "items": {
608
+ "type": "string",
609
+ "enum": [
610
+ "navigation-back-header",
611
+ "without-title",
612
+ "show-archived-slide"
325
613
  ]
326
- }
327
- ]
614
+ },
615
+ "description": "The table modifiers"
616
+ },
617
+ "selectColumn": {
618
+ "type": "boolean",
619
+ "description": "Whether to add a select column to the table"
620
+ }
328
621
  }
622
+ }
623
+ ]
624
+ },
625
+ "tableAction": {
626
+ "type": "object",
627
+ "properties": {
628
+ "type": {
629
+ "type": "string"
329
630
  },
330
- "selectColumn": {
331
- "type": "boolean",
332
- "description": "Whether to add a select column to the table"
631
+ "refresh": {
632
+ "type": "boolean"
633
+ },
634
+ "confirm": {
635
+ "type": "boolean"
636
+ },
637
+ "tooltip": {
638
+ "type": "string"
639
+ },
640
+ "errorMessage": {
641
+ "type": "string"
642
+ },
643
+ "successMessage": {
644
+ "type": "string"
645
+ },
646
+ "priority": {
647
+ "type": "number"
648
+ },
649
+ "checkFunction": {
650
+ "type": "string"
651
+ },
652
+ "inHeader": {
653
+ "type": "boolean"
654
+ },
655
+ "role": {
656
+ "type": "string"
657
+ },
658
+ "icon": {
659
+ "type": "string"
660
+ },
661
+ "svgIcon": {
662
+ "type": "string"
663
+ },
664
+ "permission": {
665
+ "type": "string"
666
+ },
667
+ "color": {
668
+ "type": "string",
669
+ "description": "Value for the color input of the mat-button / mat-icon component"
670
+ },
671
+ "cssClass": {
672
+ "type": "string",
673
+ "description": "Additional CSS classes added to the button element"
674
+ },
675
+ "options": {
676
+ "type": "object",
677
+ "additionalProperties": true
678
+ }
679
+ },
680
+ "required": [
681
+ "type"
682
+ ]
683
+ },
684
+ "tableColumn": {
685
+ "type": "object",
686
+ "properties": {
687
+ "name": {
688
+ "type": "string"
689
+ },
690
+ "type": {
691
+ "$ref": "#/definitions/type"
692
+ },
693
+ "kind": {
694
+ "type": "string"
695
+ },
696
+ "modifiers": {
697
+ "type": "array",
698
+ "items": {
699
+ "type": "string"
700
+ }
701
+ },
702
+ "template": {
703
+ "type": "string"
704
+ },
705
+ "pipeList": {
706
+ "type": "array",
707
+ "items": {
708
+ "$ref": "#/definitions/pipe"
709
+ }
710
+ },
711
+ "hasFilter": {
712
+ "type": "boolean"
713
+ },
714
+ "nowrap": {
715
+ "type": "boolean"
716
+ },
717
+ "cssClass": {
718
+ "type": "string"
719
+ },
720
+ "title": {
721
+ "type": "string"
722
+ },
723
+ "propertyPath": {
724
+ "type": "string"
725
+ },
726
+ "hidden": {
727
+ "type": "boolean"
728
+ },
729
+ "active": {
730
+ "type": "boolean"
731
+ },
732
+ "inactive": {
733
+ "type": "boolean"
734
+ },
735
+ "show": {
736
+ "type": "boolean"
737
+ },
738
+ "filterControl": {
739
+ "$ref": "#/definitions/formControl"
333
740
  }
334
741
  },
335
742
  "required": [
336
743
  "name"
337
744
  ]
745
+ },
746
+ "tableSelectFormControl": {
747
+ "allOf": [
748
+ {
749
+ "$ref": "#/definitions/baseFormControl"
750
+ },
751
+ {
752
+ "type": "object",
753
+ "properties": {
754
+ "formField": {
755
+ "$ref": "#/definitions/formField"
756
+ },
757
+ "kind": {
758
+ "type": "string",
759
+ "const": "table-select"
760
+ },
761
+ "placeholder": {
762
+ "type": "string"
763
+ },
764
+ "columnList": {
765
+ "alias": "column",
766
+ "type": "array",
767
+ "items": {
768
+ "description": "table column name",
769
+ "type": "object",
770
+ "properties": {
771
+ "name": {
772
+ "type": "string",
773
+ "description": "table column name"
774
+ },
775
+ "title": {
776
+ "type": "string",
777
+ "description": "table column label"
778
+ },
779
+ "hasFilter": {
780
+ "type": "boolean",
781
+ "description": "Whether the column has a filter"
782
+ },
783
+ "kind": {
784
+ "type": "string",
785
+ "description": "The kind of data in the column"
786
+ }
787
+ }
788
+ },
789
+ "description": "List of table column names"
790
+ },
791
+ "title": {
792
+ "type": "string",
793
+ "description": "The title of the table select window"
794
+ },
795
+ "toDisplay": {
796
+ "type": "object",
797
+ "properties": {
798
+ "property": {
799
+ "$ref": "#/definitions/property"
800
+ }
801
+ }
802
+ },
803
+ "toValue": {
804
+ "type": "object",
805
+ "properties": {
806
+ "property": {
807
+ "$ref": "#/definitions/property"
808
+ }
809
+ }
810
+ },
811
+ "upstream": {
812
+ "$ref": "#/definitions/upstream"
813
+ },
814
+ "resolver": {
815
+ "type": "object",
816
+ "properties": {
817
+ "upstream": {
818
+ "$ref": "#/definitions/upstream"
819
+ }
820
+ }
821
+ }
822
+ }
823
+ }
824
+ ]
825
+ },
826
+ "textareaFormControl": {
827
+ "allOf": [
828
+ {
829
+ "$ref": "#/definitions/baseFormControl"
830
+ },
831
+ {
832
+ "type": "object",
833
+ "properties": {
834
+ "formField": {
835
+ "$ref": "#/definitions/formField"
836
+ },
837
+ "kind": {
838
+ "type": "string",
839
+ "const": "textarea"
840
+ },
841
+ "placeholder": {
842
+ "type": "string"
843
+ }
844
+ }
845
+ }
846
+ ]
847
+ },
848
+ "type": {
849
+ "oneOf": [
850
+ {
851
+ "type": "string"
852
+ },
853
+ {
854
+ "type": "object",
855
+ "properties": {
856
+ "name": {
857
+ "type": "string"
858
+ },
859
+ "isTypeOnly": {
860
+ "type": "boolean"
861
+ },
862
+ "moduleSpecifier": {
863
+ "type": "string"
864
+ },
865
+ "namedImport": {
866
+ "type": "string"
867
+ },
868
+ "namespaceImport": {
869
+ "type": "string"
870
+ },
871
+ "defaultImport": {
872
+ "type": "string"
873
+ }
874
+ },
875
+ "required": [
876
+ "name"
877
+ ]
878
+ }
879
+ ]
880
+ },
881
+ "upstream": {
882
+ "oneOf": [
883
+ {
884
+ "type": "object",
885
+ "properties": {
886
+ "kind": {
887
+ "type": "string",
888
+ "enum": [
889
+ "open-api"
890
+ ]
891
+ },
892
+ "operationId": {
893
+ "type": "string"
894
+ },
895
+ "scope": {
896
+ "type": "string"
897
+ },
898
+ "mapper": {
899
+ "type": "object",
900
+ "properties": {
901
+ "pageIndex": {
902
+ "type": "string"
903
+ },
904
+ "pageSize": {
905
+ "type": "string"
906
+ },
907
+ "sortBy": {
908
+ "type": "string"
909
+ },
910
+ "sortDirection": {
911
+ "type": "string"
912
+ },
913
+ "list": {
914
+ "type": "string"
915
+ },
916
+ "total": {
917
+ "type": "string"
918
+ },
919
+ "filter": {
920
+ "type": "object",
921
+ "properties": {
922
+ "eq": {
923
+ "type": "string"
924
+ },
925
+ "join": {
926
+ "type": "string"
927
+ }
928
+ }
929
+ }
930
+ }
931
+ }
932
+ },
933
+ "required": [
934
+ "kind",
935
+ "operationId"
936
+ ]
937
+ }
938
+ ]
939
+ },
940
+ "value": {
941
+ "oneOf": [
942
+ {
943
+ "type": "string"
944
+ },
945
+ {
946
+ "type": "object",
947
+ "properties": {
948
+ "type": {
949
+ "$ref": "#/definitions/type"
950
+ },
951
+ "value": {
952
+ "type": "string"
953
+ }
954
+ },
955
+ "required": [
956
+ "value"
957
+ ]
958
+ }
959
+ ]
338
960
  }
339
- ]
340
- }
961
+ }
962
+ }