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

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