@rxap/schematic-angular 16.2.0-dev.5 → 16.2.0-dev.50

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