@rxap/schematic-angular 16.2.0-dev.8 → 16.2.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 (406) hide show
  1. package/CHANGELOG.md +398 -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.map +1 -1
  15. package/src/lib/coerce-accordion-component.js +4 -2
  16. package/src/lib/coerce-accordion-component.js.map +1 -1
  17. package/src/lib/coerce-accordion-item-table-component.js +1 -1
  18. package/src/lib/coerce-accordion-item-table-component.js.map +1 -1
  19. package/src/lib/coerce-form-component.js +16 -3
  20. package/src/lib/coerce-form-component.js.map +1 -1
  21. package/src/lib/coerce-minimum-table-component.js +16 -5
  22. package/src/lib/coerce-minimum-table-component.js.map +1 -1
  23. package/src/lib/coerce-tree-table-component.js +1 -5
  24. package/src/lib/coerce-tree-table-component.js.map +1 -1
  25. package/src/lib/component-options.d.ts +10 -0
  26. package/src/lib/component-options.js +14 -0
  27. package/src/lib/component-options.js.map +1 -0
  28. package/src/lib/css-class.d.ts +9 -0
  29. package/src/lib/css-class.js +52 -0
  30. package/src/lib/css-class.js.map +1 -0
  31. package/src/lib/data-grid-item.d.ts +45 -7
  32. package/src/lib/data-grid-item.js +102 -6
  33. package/src/lib/data-grid-item.js.map +1 -1
  34. package/src/lib/data-grid-mode.d.ts +4 -0
  35. package/src/lib/data-grid-mode.js +9 -0
  36. package/src/lib/data-grid-mode.js.map +1 -0
  37. package/src/lib/data-grid-options.d.ts +10 -5
  38. package/src/lib/data-grid-options.js +42 -15
  39. package/src/lib/data-grid-options.js.map +1 -1
  40. package/src/lib/form/abstract-control.d.ts +31 -0
  41. package/src/lib/form/abstract-control.js +48 -0
  42. package/src/lib/form/abstract-control.js.map +1 -0
  43. package/src/lib/form/array/base-form-array.d.ts +18 -0
  44. package/src/lib/form/array/base-form-array.js +41 -0
  45. package/src/lib/form/array/base-form-array.js.map +1 -0
  46. package/src/lib/form/array/form-array-kind.d.ts +3 -0
  47. package/src/lib/form/array/form-array-kind.js +8 -0
  48. package/src/lib/form/array/form-array-kind.js.map +1 -0
  49. package/src/lib/form/array/form-array.d.ts +12 -0
  50. package/src/lib/form/array/form-array.js +18 -0
  51. package/src/lib/form/array/form-array.js.map +1 -0
  52. package/src/lib/form/coerce-control-component-imports.d.ts +3 -0
  53. package/src/lib/form/coerce-control-component-imports.js +18 -0
  54. package/src/lib/form/coerce-control-component-imports.js.map +1 -0
  55. package/src/lib/form/control/autocomplete-table-select-form-control.d.ts +9 -0
  56. package/src/lib/form/control/autocomplete-table-select-form-control.js +58 -0
  57. package/src/lib/form/control/autocomplete-table-select-form-control.js.map +1 -0
  58. package/src/lib/form/control/base-form-control.d.ts +15 -0
  59. package/src/lib/form/control/base-form-control.js +19 -0
  60. package/src/lib/form/control/base-form-control.js.map +1 -0
  61. package/src/lib/form/control/checkbox-form-control.d.ts +11 -0
  62. package/src/lib/form/control/checkbox-form-control.js +23 -0
  63. package/src/lib/form/control/checkbox-form-control.js.map +1 -0
  64. package/src/lib/form/control/form-control-kind.d.ts +10 -0
  65. package/src/lib/form/control/form-control-kind.js +15 -0
  66. package/src/lib/form/control/form-control-kind.js.map +1 -0
  67. package/src/lib/form/control/form-control.d.ts +20 -0
  68. package/src/lib/form/control/form-control.js +46 -0
  69. package/src/lib/form/control/form-control.js.map +1 -0
  70. package/src/lib/form/control/form-field-form-control.d.ts +39 -0
  71. package/src/lib/form/control/form-field-form-control.js +87 -0
  72. package/src/lib/form/control/form-field-form-control.js.map +1 -0
  73. package/src/lib/form/control/input-form-control.d.ts +15 -0
  74. package/src/lib/form/control/input-form-control.js +75 -0
  75. package/src/lib/form/control/input-form-control.js.map +1 -0
  76. package/src/lib/form/control/select-form-control.d.ts +22 -0
  77. package/src/lib/form/control/select-form-control.js +47 -0
  78. package/src/lib/form/control/select-form-control.js.map +1 -0
  79. package/src/lib/form/control/slide-toggle-form-control.d.ts +11 -0
  80. package/src/lib/form/control/slide-toggle-form-control.js +23 -0
  81. package/src/lib/form/control/slide-toggle-form-control.js.map +1 -0
  82. package/src/lib/form/control/table-select-form-control.d.ts +46 -0
  83. package/src/lib/form/control/table-select-form-control.js +82 -0
  84. package/src/lib/form/control/table-select-form-control.js.map +1 -0
  85. package/src/lib/form/control/textarea-form-control.d.ts +22 -0
  86. package/src/lib/form/control/textarea-form-control.js +52 -0
  87. package/src/lib/form/control/textarea-form-control.js.map +1 -0
  88. package/src/lib/form/control.d.ts +8 -0
  89. package/src/lib/form/control.js +38 -0
  90. package/src/lib/form/control.js.map +1 -0
  91. package/src/lib/form/generate-form-template.d.ts +2 -2
  92. package/src/lib/form/group/base-form-group.d.ts +17 -0
  93. package/src/lib/form/group/base-form-group.js +20 -0
  94. package/src/lib/form/group/base-form-group.js.map +1 -0
  95. package/src/lib/form/group/form-group-kind.d.ts +3 -0
  96. package/src/lib/form/group/form-group-kind.js +8 -0
  97. package/src/lib/form/group/form-group-kind.js.map +1 -0
  98. package/src/lib/form/group/form-group.d.ts +12 -0
  99. package/src/lib/form/group/form-group.js +18 -0
  100. package/src/lib/form/group/form-group.js.map +1 -0
  101. package/src/lib/load-handlebars-template.d.ts +3 -0
  102. package/src/lib/load-handlebars-template.js +13 -1
  103. package/src/lib/load-handlebars-template.js.map +1 -1
  104. package/src/lib/minimum-table-component-options.d.ts +1 -1
  105. package/src/lib/minimum-table-component-options.js +22 -15
  106. package/src/lib/minimum-table-component-options.js.map +1 -1
  107. package/src/lib/minimum-table-options.d.ts +22 -4
  108. package/src/lib/minimum-table-options.js +40 -6
  109. package/src/lib/minimum-table-options.js.map +1 -1
  110. package/src/lib/pipe-option.d.ts +11 -0
  111. package/src/lib/pipe-option.js +75 -0
  112. package/src/lib/pipe-option.js.map +1 -0
  113. package/src/lib/route-component.d.ts +16 -0
  114. package/src/lib/route-component.js +15 -0
  115. package/src/lib/route-component.js.map +1 -0
  116. package/src/lib/table/column/base-table-column.d.ts +61 -0
  117. package/src/lib/table/column/base-table-column.js +309 -0
  118. package/src/lib/table/column/base-table-column.js.map +1 -0
  119. package/src/lib/table/column/boolean-table-column.d.ts +8 -0
  120. package/src/lib/table/column/boolean-table-column.js +10 -0
  121. package/src/lib/table/column/boolean-table-column.js.map +1 -0
  122. package/src/lib/table/column/custom-table-column.d.ts +11 -0
  123. package/src/lib/table/column/custom-table-column.js +11 -0
  124. package/src/lib/table/column/custom-table-column.js.map +1 -0
  125. package/src/lib/table/column/date-table-column.d.ts +11 -0
  126. package/src/lib/table/column/date-table-column.js +11 -0
  127. package/src/lib/table/column/date-table-column.js.map +1 -0
  128. package/src/lib/table/sortable.d.ts +16 -0
  129. package/src/lib/table/sortable.js +27 -0
  130. package/src/lib/table/sortable.js.map +1 -0
  131. package/src/lib/table/table-column-kind.d.ts +13 -0
  132. package/src/lib/table/table-column-kind.js +21 -0
  133. package/src/lib/table/table-column-kind.js.map +1 -0
  134. package/src/lib/table/table-column-modifier.d.ts +12 -0
  135. package/src/lib/table/table-column-modifier.js +20 -0
  136. package/src/lib/table/table-column-modifier.js.map +1 -0
  137. package/src/lib/table/table-column-pipe.d.ts +4 -0
  138. package/src/lib/table/table-column-pipe.js +3 -0
  139. package/src/lib/table/table-column-pipe.js.map +1 -0
  140. package/src/lib/table/table-column-sticky.d.ts +5 -0
  141. package/src/lib/table/table-column-sticky.js +13 -0
  142. package/src/lib/table/table-column-sticky.js.map +1 -0
  143. package/src/lib/table/table-column.d.ts +6 -0
  144. package/src/lib/table/table-column.js +36 -0
  145. package/src/lib/table/table-column.js.map +1 -0
  146. package/src/lib/table/table-filter-column-rule.js +5 -4
  147. package/src/lib/table/table-filter-column-rule.js.map +1 -1
  148. package/src/lib/table-action.js.map +1 -1
  149. package/src/lib/table-options.d.ts +4 -3
  150. package/src/lib/table-options.js +23 -3
  151. package/src/lib/table-options.js.map +1 -1
  152. package/src/lib/table-row-action.d.ts +4 -2
  153. package/src/lib/table-row-action.js +8 -7
  154. package/src/lib/table-row-action.js.map +1 -1
  155. package/src/lib/tree-table-options.d.ts +4 -3
  156. package/src/lib/tree-table-options.js +40 -3
  157. package/src/lib/tree-table-options.js.map +1 -1
  158. package/src/lib/use-pick-from-table-interface-as-form-type.d.ts +1 -1
  159. package/src/lib/value-option.d.ts +12 -0
  160. package/src/lib/value-option.js +66 -0
  161. package/src/lib/value-option.js.map +1 -0
  162. package/src/schema.json +3319 -0
  163. package/src/schematic-input.schema.json +579 -0
  164. package/src/schematics/abstract-control.schema.json +78 -0
  165. package/src/schematics/accordion/accordion-component/files/component/__componentName__.component.html.hbs +16 -7
  166. package/src/schematics/accordion/accordion-component/index.d.ts +6 -2
  167. package/src/schematics/accordion/accordion-component/index.js +72 -42
  168. package/src/schematics/accordion/accordion-component/index.js.map +1 -1
  169. package/src/schematics/accordion/accordion-component/schema.d.ts +6 -0
  170. package/src/schematics/accordion/accordion-component/schema.json +2075 -0
  171. package/src/schematics/accordion/accordion-component/template.schema.json +23 -20
  172. package/src/schematics/accordion/accordion-item-component/index.d.ts +7 -2
  173. package/src/schematics/accordion/accordion-item-component/index.js +79 -51
  174. package/src/schematics/accordion/accordion-item-component/index.js.map +1 -1
  175. package/src/schematics/accordion/accordion-item-component/schema.json +2006 -0
  176. package/src/schematics/accordion/accordion-item-component/template.schema.json +8 -9
  177. package/src/schematics/accordion/item/accordion-item-data-grid-component/index.d.ts +1 -1
  178. package/src/schematics/accordion/item/accordion-item-data-grid-component/index.js +20 -38
  179. package/src/schematics/accordion/item/accordion-item-data-grid-component/index.js.map +1 -1
  180. package/src/schematics/accordion/item/accordion-item-data-grid-component/schema.json +1252 -0
  181. package/src/schematics/accordion/item/accordion-item-data-grid-component/template.schema.json +6 -17
  182. package/src/schematics/accordion/item/accordion-item-switch-component/index.d.ts +1 -1
  183. package/src/schematics/accordion/item/accordion-item-switch-component/index.js +14 -6
  184. package/src/schematics/accordion/item/accordion-item-switch-component/index.js.map +1 -1
  185. package/src/schematics/accordion/item/accordion-item-switch-component/schema.json +1994 -0
  186. package/src/schematics/accordion/item/accordion-item-switch-component/template.schema.json +7 -71
  187. package/src/schematics/accordion/item/accordion-item-table-component/index.d.ts +1 -1
  188. package/src/schematics/accordion/item/accordion-item-table-component/index.js +5 -52
  189. package/src/schematics/accordion/item/accordion-item-table-component/index.js.map +1 -1
  190. package/src/schematics/accordion/item/accordion-item-table-component/schema.json +1539 -0
  191. package/src/schematics/accordion/item/accordion-item-table-component/template.schema.json +6 -32
  192. package/src/schematics/accordion/item/accordion-item-tree-table-component/index.d.ts +1 -1
  193. package/src/schematics/accordion/item/accordion-item-tree-table-component/index.js +21 -80
  194. package/src/schematics/accordion/item/accordion-item-tree-table-component/index.js.map +1 -1
  195. package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.json +1527 -0
  196. package/src/schematics/accordion/item/accordion-item-tree-table-component/template.schema.json +7 -33
  197. package/src/schematics/accordion/templates/accordion-header.hbs +7 -3
  198. package/src/schematics/accordion/templates/switch-accordion-item.hbs +12 -4
  199. package/src/schematics/accordion-identifier.schema.json +24 -0
  200. package/src/schematics/accordion-item.schema.json +47 -30
  201. package/src/schematics/angular.schema.json +11 -3
  202. package/src/schematics/autocomplete-table-select-form-control.schema.json +97 -0
  203. package/src/schematics/base-accordion-item.schema.json +52 -0
  204. package/src/schematics/base-form-array.schema.json +45 -0
  205. package/src/schematics/base-form-control.schema.json +27 -0
  206. package/src/schematics/base-form-group.schema.json +42 -0
  207. package/src/schematics/base-table-column.schema.json +81 -0
  208. package/src/schematics/boolean-table-column.schema.json +24 -0
  209. package/src/schematics/button.schema.json +1 -1
  210. package/src/schematics/checkbox-form-control.schema.json +31 -0
  211. package/src/schematics/component-table-column.schema.json +24 -0
  212. package/src/schematics/component.schema.json +16 -0
  213. package/src/schematics/control.schema.json +26 -0
  214. package/src/schematics/copy-to-clipboard-table-column.schema.json +24 -0
  215. package/src/schematics/css-class.schema.json +34 -0
  216. package/src/schematics/custom-table-column.schema.json +27 -0
  217. package/src/schematics/data-grid-accordion-item.schema.json +35 -0
  218. package/src/schematics/data-grid-component/files/component/__componentName__.component.html.hbs +15 -8
  219. package/src/schematics/data-grid-component/index.d.ts +2 -3
  220. package/src/schematics/data-grid-component/index.js +87 -64
  221. package/src/schematics/data-grid-component/index.js.map +1 -1
  222. package/src/schematics/data-grid-component/schema.json +1184 -0
  223. package/src/schematics/data-grid-component/template.schema.json +6 -9
  224. package/src/schematics/data-grid-component/templates/default-data-grid-item.hbs +3 -0
  225. package/src/schematics/data-grid-component/templates/link-data-grid-item.hbs +8 -0
  226. package/src/schematics/data-grid-item.schema.json +39 -12
  227. package/src/schematics/data-grid.schema.json +26 -4
  228. package/src/schematics/date-table-column.schema.json +27 -0
  229. package/src/schematics/dialog-component/schema.json +157 -0
  230. package/src/schematics/dialog-component/template.schema.json +3 -6
  231. package/src/schematics/form/control/autocomplete-table-select-form-control/index.d.ts +10 -0
  232. package/src/schematics/form/control/autocomplete-table-select-form-control/index.js +286 -0
  233. package/src/schematics/form/control/autocomplete-table-select-form-control/index.js.map +1 -0
  234. package/src/schematics/form/control/autocomplete-table-select-form-control/schema.d.ts +4 -0
  235. package/src/schematics/form/control/autocomplete-table-select-form-control/schema.json +542 -0
  236. package/src/schematics/form/control/autocomplete-table-select-form-control/template.schema.json +39 -0
  237. package/src/schematics/form/control/input-form-control/index.d.ts +1 -1
  238. package/src/schematics/form/control/input-form-control/index.js +4 -4
  239. package/src/schematics/form/control/input-form-control/index.js.map +1 -1
  240. package/src/schematics/form/control/input-form-control/schema.d.ts +2 -2
  241. package/src/schematics/form/control/input-form-control/schema.json +410 -0
  242. package/src/schematics/form/control/input-form-control/template.schema.json +19 -9
  243. package/src/schematics/form/control/select-form-control/index.d.ts +2 -2
  244. package/src/schematics/form/control/select-form-control/index.js +23 -16
  245. package/src/schematics/form/control/select-form-control/index.js.map +1 -1
  246. package/src/schematics/form/control/select-form-control/schema.d.ts +2 -3
  247. package/src/schematics/form/control/select-form-control/schema.json +520 -0
  248. package/src/schematics/form/control/select-form-control/template.schema.json +19 -9
  249. package/src/schematics/form/control/table-select-form-control/index.d.ts +3 -3
  250. package/src/schematics/form/control/table-select-form-control/index.js +210 -155
  251. package/src/schematics/form/control/table-select-form-control/index.js.map +1 -1
  252. package/src/schematics/form/control/table-select-form-control/schema.d.ts +2 -3
  253. package/src/schematics/form/control/table-select-form-control/schema.json +562 -0
  254. package/src/schematics/form/control/table-select-form-control/template.schema.json +16 -55
  255. package/src/schematics/form/form-array/index.d.ts +9 -0
  256. package/src/schematics/form/form-array/index.js +54 -0
  257. package/src/schematics/form/form-array/index.js.map +1 -0
  258. package/src/schematics/form/form-array/schema.d.ts +4 -0
  259. package/src/schematics/form/form-array/schema.json +1056 -0
  260. package/src/schematics/form/form-array/template.schema.json +33 -0
  261. package/src/schematics/form/form-component/files/component/__componentName__.component.html.hbs +4 -1
  262. package/src/schematics/form/form-component/index.d.ts +4 -4
  263. package/src/schematics/form/form-component/index.js +19 -22
  264. package/src/schematics/form/form-component/index.js.map +1 -1
  265. package/src/schematics/form/form-component/schema.d.ts +4 -2
  266. package/src/schematics/form/form-component/schema.json +1093 -0
  267. package/src/schematics/form/form-component/template.schema.json +6 -9
  268. package/src/schematics/form/form-control/index.d.ts +3 -5
  269. package/src/schematics/form/form-control/index.js +10 -20
  270. package/src/schematics/form/form-control/index.js.map +1 -1
  271. package/src/schematics/form/form-control/schema.d.ts +2 -4
  272. package/src/schematics/form/form-control/schema.json +902 -0
  273. package/src/schematics/form/form-control/template.schema.json +7 -11
  274. package/src/schematics/form/form-definition/index.d.ts +2 -2
  275. package/src/schematics/form/form-definition/index.js +28 -15
  276. package/src/schematics/form/form-definition/index.js.map +1 -1
  277. package/src/schematics/form/form-definition/schema.d.ts +2 -2
  278. package/src/schematics/form/form-definition/schema.json +1068 -0
  279. package/src/schematics/form/form-definition/template.schema.json +6 -9
  280. package/src/schematics/form/form-group/index.d.ts +9 -0
  281. package/src/schematics/form/form-group/index.js +54 -0
  282. package/src/schematics/form/form-group/index.js.map +1 -0
  283. package/src/schematics/form/form-group/schema.d.ts +4 -0
  284. package/src/schematics/form/form-group/schema.json +1056 -0
  285. package/src/schematics/form/form-group/template.schema.json +33 -0
  286. package/src/schematics/form/templates/autocomplete-table-select-form-control.hbs +34 -0
  287. package/src/schematics/form/templates/checkbox-form-control.hbs +4 -2
  288. package/src/schematics/form/templates/default-form-array.hbs +29 -0
  289. package/src/schematics/form/templates/default-form-group.hbs +15 -0
  290. package/src/schematics/form/templates/input-form-control.hbs +14 -7
  291. package/src/schematics/form/templates/mat-form-field.hbs +6 -6
  292. package/src/schematics/form/templates/select-form-control.hbs +18 -0
  293. package/src/schematics/form/templates/slide-toggle-form-control.hbs +3 -1
  294. package/src/schematics/form/templates/table-select-form-control.hbs +23 -16
  295. package/src/schematics/form/templates/textarea-form-control.hbs +25 -0
  296. package/src/schematics/form-array.schema.json +42 -0
  297. package/src/schematics/form-component.schema.json +9 -3
  298. package/src/schematics/form-control.schema.json +70 -54
  299. package/src/schematics/form-definition.schema.json +3 -3
  300. package/src/schematics/form-field.schema.json +6 -0
  301. package/src/schematics/form-group.schema.json +42 -0
  302. package/src/schematics/general.schema.json +1 -4
  303. package/src/schematics/icon-table-column.schema.json +24 -0
  304. package/src/schematics/input-form-control.schema.json +19 -6
  305. package/src/schematics/link-table-column.schema.json +24 -0
  306. package/src/schematics/minimum-table.schema.json +59 -5
  307. package/src/schematics/pipe.schema.json +38 -0
  308. package/src/schematics/property.schema.json +14 -4
  309. package/src/schematics/route-component/files/component/__componentName__.component.html.hbs +1 -0
  310. package/src/schematics/route-component/index.d.ts +8 -0
  311. package/src/schematics/route-component/index.js +109 -0
  312. package/src/schematics/route-component/index.js.map +1 -0
  313. package/src/schematics/route-component/schema.d.ts +5 -0
  314. package/src/schematics/route-component/schema.json +154 -0
  315. package/src/schematics/route-component/template.schema.json +20 -0
  316. package/src/schematics/route-component.schema.json +35 -0
  317. package/src/schematics/select-form-control.schema.json +28 -6
  318. package/src/schematics/slide-toggle-form-control.schema.json +31 -0
  319. package/src/schematics/spinner-table-column.schema.json +24 -0
  320. package/src/schematics/switch-accordion-item.schema.json +83 -0
  321. package/src/schematics/table/action/dialog-table-action/index.js +1 -0
  322. package/src/schematics/table/action/dialog-table-action/index.js.map +1 -1
  323. package/src/schematics/table/action/dialog-table-action/schema.json +263 -0
  324. package/src/schematics/table/action/dialog-table-action/template.schema.json +3 -6
  325. package/src/schematics/table/action/form-table-action/index.d.ts +2 -2
  326. package/src/schematics/table/action/form-table-action/index.js +6 -5
  327. package/src/schematics/table/action/form-table-action/index.js.map +1 -1
  328. package/src/schematics/table/action/form-table-action/schema.d.ts +2 -2
  329. package/src/schematics/table/action/form-table-action/schema.json +1226 -0
  330. package/src/schematics/table/action/form-table-action/template.schema.json +6 -6
  331. package/src/schematics/table/action/navigation-table-action/schema.json +233 -0
  332. package/src/schematics/table/action/navigation-table-action/template.schema.json +3 -6
  333. package/src/schematics/table/action/open-api-table-action/schema.json +261 -0
  334. package/src/schematics/table/action/open-api-table-action/template.schema.json +3 -6
  335. package/src/schematics/table/action/operation-table-action/index.js +2 -1
  336. package/src/schematics/table/action/operation-table-action/index.js.map +1 -1
  337. package/src/schematics/table/action/operation-table-action/schema.json +219 -0
  338. package/src/schematics/table/action/operation-table-action/template.schema.json +3 -6
  339. package/src/schematics/table/header-button/form-table-header-button/index.d.ts +2 -2
  340. package/src/schematics/table/header-button/form-table-header-button/index.js +2 -2
  341. package/src/schematics/table/header-button/form-table-header-button/index.js.map +1 -1
  342. package/src/schematics/table/header-button/form-table-header-button/schema.d.ts +2 -2
  343. package/src/schematics/table/header-button/form-table-header-button/schema.json +1166 -0
  344. package/src/schematics/table/header-button/form-table-header-button/template.schema.json +6 -24
  345. package/src/schematics/table/header-button/navigation-table-header-button/schema.json +183 -0
  346. package/src/schematics/table/header-button/navigation-table-header-button/template.schema.json +3 -6
  347. package/src/schematics/table/table-action/schema.json +212 -0
  348. package/src/schematics/table/table-action/template.schema.json +6 -6
  349. package/src/schematics/table/table-component/files/component/__componentName__.component.html.hbs +84 -33
  350. package/src/schematics/table/table-component/index.d.ts +0 -5
  351. package/src/schematics/table/table-component/index.js +21 -33
  352. package/src/schematics/table/table-component/index.js.map +1 -1
  353. package/src/schematics/table/table-component/schema.json +1464 -0
  354. package/src/schematics/table/table-component/template.schema.json +6 -12
  355. package/src/schematics/table/table-header-button/schema.json +162 -0
  356. package/src/schematics/table/table-header-button/template.schema.json +6 -6
  357. package/src/schematics/table/templates/boolean-table-column.hbs +18 -5
  358. package/src/schematics/table/templates/component-table-column.hbs +19 -6
  359. package/src/schematics/table/templates/copy-to-clipboard-table-column.hbs +18 -5
  360. package/src/schematics/table/templates/custom-table-column.hbs +23 -0
  361. package/src/schematics/table/templates/date-table-column.hbs +18 -5
  362. package/src/schematics/table/templates/default-table-column.hbs +20 -5
  363. package/src/schematics/table/templates/icon-table-column.hbs +18 -5
  364. package/src/schematics/table/templates/link-table-column.hbs +18 -5
  365. package/src/schematics/table/templates/mat-column-def.hbs +3 -0
  366. package/src/schematics/table/templates/spinner-table-column.hbs +27 -0
  367. package/src/schematics/table/templates/tree-table-column.hbs +21 -0
  368. package/src/schematics/table/tree-table-component/files/component/__componentName__.component.html.hbs +93 -50
  369. package/src/schematics/table/tree-table-component/index.d.ts +3 -0
  370. package/src/schematics/table/tree-table-component/index.js +30 -9
  371. package/src/schematics/table/tree-table-component/index.js.map +1 -1
  372. package/src/schematics/table/tree-table-component/schema.json +1452 -0
  373. package/src/schematics/table/tree-table-component/template.schema.json +6 -12
  374. package/src/schematics/table-accordion-item.schema.json +42 -0
  375. package/src/schematics/table-action.schema.json +7 -3
  376. package/src/schematics/table-column.schema.json +61 -47
  377. package/src/schematics/table-select-form-control.schema.json +103 -0
  378. package/src/schematics/table.schema.json +6 -2
  379. package/src/schematics/templates/css-class.hbs +1 -0
  380. package/src/schematics/templates/pipe.hbs +4 -0
  381. package/src/schematics/textarea-form-control.schema.json +44 -0
  382. package/src/schematics/tree-component/index.js +2 -1
  383. package/src/schematics/tree-component/index.js.map +1 -1
  384. package/src/schematics/tree-component/schema.json +131 -0
  385. package/src/schematics/tree-component/template.schema.json +7 -2
  386. package/src/schematics/tree-table-accordion-item.schema.json +42 -0
  387. package/src/schematics/tree-table-column.schema.json +24 -0
  388. package/src/schematics/tree-table.schema.json +5 -4
  389. package/src/schematics/upstream.schema.json +62 -23
  390. package/src/schematics/value.schema.json +26 -0
  391. package/src/template.schema.json +275 -0
  392. package/src/lib/form-component-control.d.ts +0 -8
  393. package/src/lib/form-component-control.js +0 -15
  394. package/src/lib/form-component-control.js.map +0 -1
  395. package/src/lib/form-control.d.ts +0 -125
  396. package/src/lib/form-control.js +0 -303
  397. package/src/lib/form-control.js.map +0 -1
  398. package/src/lib/form-definition-control.d.ts +0 -5
  399. package/src/lib/form-definition-control.js +0 -30
  400. package/src/lib/form-definition-control.js.map +0 -1
  401. package/src/lib/merge-with-column-list.d.ts +0 -3
  402. package/src/lib/merge-with-column-list.js +0 -18
  403. package/src/lib/merge-with-column-list.js.map +0 -1
  404. package/src/lib/table-column.d.ts +0 -62
  405. package/src/lib/table-column.js +0 -313
  406. package/src/lib/table-column.js.map +0 -1
@@ -0,0 +1,1226 @@
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "$id": "form-table-action-schematic",
4
+ "allOf": [
5
+ {
6
+ "$ref": "#/definitions/tableActionSchematic"
7
+ },
8
+ {
9
+ "type": "object",
10
+ "properties": {
11
+ "formInitial": {
12
+ "type": "object",
13
+ "description": "The mapping from the row object to the form initial object"
14
+ },
15
+ "formComponent": {
16
+ "type": "string"
17
+ },
18
+ "customComponent": {
19
+ "type": "boolean",
20
+ "default": false,
21
+ "description": "If true the schematic will not coerce the form component"
22
+ },
23
+ "loadFrom": {
24
+ "type": "object",
25
+ "properties": {
26
+ "operationId": {
27
+ "type": "string"
28
+ },
29
+ "scope": {
30
+ "type": "string",
31
+ "description": "The scope of package for the openapi classes"
32
+ },
33
+ "body": {
34
+ "oneOf": [
35
+ {
36
+ "type": "boolean",
37
+ "description": "Pass the full row as body for the operation request"
38
+ },
39
+ {
40
+ "type": "object",
41
+ "description": "Mapping of table columns to body properties - [request property]: [table column]",
42
+ "additionalProperties": true
43
+ }
44
+ ]
45
+ },
46
+ "parameters": {
47
+ "oneOf": [
48
+ {
49
+ "type": "boolean",
50
+ "description": "Pass the full row as parameters for the operation request"
51
+ },
52
+ {
53
+ "type": "object",
54
+ "description": "Mapping of table columns to parameters properties - [request property]: [table column]",
55
+ "additionalProperties": true
56
+ }
57
+ ]
58
+ }
59
+ }
60
+ },
61
+ "formOptions": {
62
+ "$ref": "#/definitions/formComponent"
63
+ }
64
+ }
65
+ }
66
+ ],
67
+ "definitions": {
68
+ "abstractControl": {
69
+ "allOf": [
70
+ {
71
+ "$ref": "#/definitions/property"
72
+ },
73
+ {
74
+ "type": "object",
75
+ "properties": {
76
+ "name": {
77
+ "type": "string",
78
+ "description": "The name of the control"
79
+ },
80
+ "isArray": {
81
+ "type": "boolean",
82
+ "description": "Whether the control value is an array",
83
+ "default": false
84
+ },
85
+ "state": {
86
+ "type": "string",
87
+ "description": "The initial state of the control"
88
+ },
89
+ "isRequired": {
90
+ "type": "boolean",
91
+ "description": "Whether the control value is required",
92
+ "default": false
93
+ },
94
+ "isReadonly": {
95
+ "type": "boolean",
96
+ "description": "Whether the control value is readonly",
97
+ "default": false
98
+ },
99
+ "isDisabled": {
100
+ "type": "boolean",
101
+ "description": "Whether the control value is disabled",
102
+ "default": false
103
+ },
104
+ "validatorList": {
105
+ "type": "array",
106
+ "items": {
107
+ "type": "string"
108
+ }
109
+ },
110
+ "kind": {
111
+ "type": "string",
112
+ "description": "The kind of the control",
113
+ "default": "default"
114
+ },
115
+ "importList": {
116
+ "type": "array",
117
+ "items": {
118
+ "$ref": "#/definitions/type"
119
+ }
120
+ },
121
+ "template": {
122
+ "type": "string",
123
+ "description": "The template of the control"
124
+ },
125
+ "role": {
126
+ "type": "string",
127
+ "description": "The role of the control",
128
+ "enum": [
129
+ "control",
130
+ "group",
131
+ "array"
132
+ ],
133
+ "default": "control"
134
+ }
135
+ },
136
+ "additionalProperties": true
137
+ }
138
+ ]
139
+ },
140
+ "accordionIdentifier": {
141
+ "type": "object",
142
+ "properties": {
143
+ "property": {
144
+ "$ref": "#/definitions/property"
145
+ },
146
+ "source": {
147
+ "type": "string",
148
+ "enum": [
149
+ "route"
150
+ ]
151
+ }
152
+ },
153
+ "required": [
154
+ "property"
155
+ ]
156
+ },
157
+ "angular": {
158
+ "allOf": [
159
+ {
160
+ "$ref": "#/definitions/general"
161
+ },
162
+ {
163
+ "type": "object",
164
+ "properties": {
165
+ "componentName": {
166
+ "type": "string"
167
+ },
168
+ "name": {
169
+ "type": "string"
170
+ },
171
+ "context": {
172
+ "type": "string",
173
+ "description": "The context use to generate proper names for class, files, etc"
174
+ },
175
+ "nestModule": {
176
+ "type": "string",
177
+ "description": "The module name for the table nest operations"
178
+ },
179
+ "controllerName": {
180
+ "type": "string"
181
+ },
182
+ "backend": {
183
+ "$ref": "#/definitions/backend"
184
+ },
185
+ "directory": {
186
+ "type": "string",
187
+ "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"
188
+ },
189
+ "shared": {
190
+ "type": "boolean",
191
+ "description": "Whether the generated code is used across the project",
192
+ "default": false
193
+ },
194
+ "scope": {
195
+ "type": "string"
196
+ },
197
+ "prefix": {
198
+ "type": "string"
199
+ },
200
+ "openApi": {
201
+ "type": "object",
202
+ "additionalProperties": true
203
+ }
204
+ }
205
+ }
206
+ ]
207
+ },
208
+ "autocompleteTableSelectFormControl": {
209
+ "allOf": [
210
+ {
211
+ "$ref": "#/definitions/baseFormControl"
212
+ },
213
+ {
214
+ "type": "object",
215
+ "properties": {
216
+ "formField": {
217
+ "$ref": "#/definitions/formField"
218
+ },
219
+ "kind": {
220
+ "type": "string",
221
+ "const": "autocomplete-table-select"
222
+ },
223
+ "placeholder": {
224
+ "type": "string"
225
+ },
226
+ "columnList": {
227
+ "alias": "column",
228
+ "type": "array",
229
+ "items": {
230
+ "description": "table column name",
231
+ "type": "object",
232
+ "properties": {
233
+ "name": {
234
+ "type": "string",
235
+ "description": "table column name"
236
+ },
237
+ "title": {
238
+ "type": "string",
239
+ "description": "table column label"
240
+ },
241
+ "hasFilter": {
242
+ "type": "boolean",
243
+ "description": "Whether the column has a filter"
244
+ },
245
+ "kind": {
246
+ "type": "string",
247
+ "description": "The kind of data in the column"
248
+ }
249
+ }
250
+ },
251
+ "description": "List of table column names"
252
+ },
253
+ "title": {
254
+ "type": "string",
255
+ "description": "The title of the table select window"
256
+ },
257
+ "toDisplay": {
258
+ "type": "object",
259
+ "properties": {
260
+ "property": {
261
+ "$ref": "#/definitions/property"
262
+ }
263
+ }
264
+ },
265
+ "toValue": {
266
+ "type": "object",
267
+ "properties": {
268
+ "property": {
269
+ "$ref": "#/definitions/property"
270
+ }
271
+ }
272
+ },
273
+ "upstream": {
274
+ "$ref": "#/definitions/upstream"
275
+ },
276
+ "resolver": {
277
+ "type": "object",
278
+ "properties": {
279
+ "upstream": {
280
+ "$ref": "#/definitions/upstream"
281
+ }
282
+ }
283
+ }
284
+ },
285
+ "required": [
286
+ "kind"
287
+ ]
288
+ }
289
+ ]
290
+ },
291
+ "backend": {
292
+ "type": "string",
293
+ "description": "The backend that should be used to handel data",
294
+ "enum": [
295
+ "none",
296
+ "nestjs",
297
+ "open-api",
298
+ "local"
299
+ ],
300
+ "default": "none"
301
+ },
302
+ "baseFormArray": {
303
+ "allOf": [
304
+ {
305
+ "$ref": "#/definitions/abstractControl"
306
+ },
307
+ {
308
+ "type": "object",
309
+ "properties": {
310
+ "controlList": {
311
+ "type": "array",
312
+ "description": "The list of controls in the group",
313
+ "items": {
314
+ "$ref": "#/definitions/control"
315
+ }
316
+ },
317
+ "legend": {
318
+ "type": "string"
319
+ },
320
+ "groupLegend": {
321
+ "type": "string"
322
+ },
323
+ "kind": {
324
+ "type": "string",
325
+ "description": "The kind of the array",
326
+ "const": "default",
327
+ "default": "default"
328
+ },
329
+ "role": {
330
+ "type": "string",
331
+ "const": "array"
332
+ }
333
+ }
334
+ }
335
+ ]
336
+ },
337
+ "baseFormControl": {
338
+ "allOf": [
339
+ {
340
+ "$ref": "#/definitions/abstractControl"
341
+ },
342
+ {
343
+ "type": "object",
344
+ "properties": {
345
+ "label": {
346
+ "type": "string",
347
+ "description": "The label of the control"
348
+ },
349
+ "role": {
350
+ "type": "string",
351
+ "const": "control"
352
+ }
353
+ }
354
+ }
355
+ ]
356
+ },
357
+ "baseFormGroup": {
358
+ "allOf": [
359
+ {
360
+ "$ref": "#/definitions/abstractControl"
361
+ },
362
+ {
363
+ "type": "object",
364
+ "properties": {
365
+ "controlList": {
366
+ "type": "array",
367
+ "description": "The list of controls in the group",
368
+ "items": {
369
+ "$ref": "#/definitions/control"
370
+ }
371
+ },
372
+ "legend": {
373
+ "type": "string"
374
+ },
375
+ "kind": {
376
+ "type": "string",
377
+ "description": "The kind of the group",
378
+ "const": "default",
379
+ "default": "default"
380
+ },
381
+ "role": {
382
+ "type": "string",
383
+ "const": "group"
384
+ }
385
+ }
386
+ }
387
+ ]
388
+ },
389
+ "button": {
390
+ "type": "object",
391
+ "properties": {
392
+ "svgIcon": {
393
+ "type": "string"
394
+ },
395
+ "icon": {
396
+ "type": "string"
397
+ },
398
+ "directiveList": {
399
+ "type": "array",
400
+ "items": {
401
+ "$ref": "#/definitions/type"
402
+ }
403
+ },
404
+ "importList": {
405
+ "type": "array",
406
+ "items": {
407
+ "$ref": "#/definitions/type"
408
+ }
409
+ }
410
+ }
411
+ },
412
+ "checkboxFormControl": {
413
+ "allOf": [
414
+ {
415
+ "$ref": "#/definitions/baseFormControl"
416
+ },
417
+ {
418
+ "type": "object",
419
+ "properties": {
420
+ "kind": {
421
+ "type": "string",
422
+ "const": "checkbox"
423
+ },
424
+ "labelPosition": {
425
+ "type": "string",
426
+ "enum": [
427
+ "before",
428
+ "after"
429
+ ]
430
+ }
431
+ },
432
+ "required": [
433
+ "kind"
434
+ ]
435
+ }
436
+ ]
437
+ },
438
+ "control": {
439
+ "oneOf": [
440
+ {
441
+ "$ref": "#/definitions/formGroup"
442
+ },
443
+ {
444
+ "$ref": "#/definitions/formArray"
445
+ },
446
+ {
447
+ "$ref": "#/definitions/formControl"
448
+ }
449
+ ]
450
+ },
451
+ "cssClass": {
452
+ "oneOf": [
453
+ {
454
+ "type": "string"
455
+ },
456
+ {
457
+ "type": "array",
458
+ "items": {
459
+ "type": "string"
460
+ }
461
+ },
462
+ {
463
+ "type": "object",
464
+ "properties": {
465
+ "name": {
466
+ "type": "string"
467
+ }
468
+ }
469
+ },
470
+ {
471
+ "type": "array",
472
+ "items": {
473
+ "type": "object",
474
+ "properties": {
475
+ "name": {
476
+ "type": "string"
477
+ }
478
+ }
479
+ }
480
+ }
481
+ ]
482
+ },
483
+ "formArray": {
484
+ "allOf": [
485
+ {
486
+ "type": "object",
487
+ "properties": {
488
+ "role": {
489
+ "type": "string",
490
+ "const": "array"
491
+ }
492
+ },
493
+ "required": [
494
+ "role"
495
+ ]
496
+ },
497
+ {
498
+ "oneOf": [
499
+ {
500
+ "allOf": [
501
+ {
502
+ "$ref": "#/definitions/baseFormArray"
503
+ },
504
+ {
505
+ "type": "object",
506
+ "properties": {
507
+ "kind": {
508
+ "type": "string",
509
+ "const": "default",
510
+ "default": "default"
511
+ }
512
+ }
513
+ }
514
+ ]
515
+ }
516
+ ]
517
+ }
518
+ ]
519
+ },
520
+ "formComponent": {
521
+ "allOf": [
522
+ {
523
+ "$ref": "#/definitions/formDefinition"
524
+ },
525
+ {
526
+ "type": "object",
527
+ "properties": {
528
+ "window": {
529
+ "type": "boolean",
530
+ "description": "Whether the form can be opened in a window"
531
+ },
532
+ "role": {
533
+ "type": "string",
534
+ "description": "Define the role of the form"
535
+ },
536
+ "matFormFieldDefaultOptions": {
537
+ "appearance": {
538
+ "type": "string",
539
+ "description": "The appearance of the mat form field",
540
+ "enum": [
541
+ "legacy",
542
+ "standard",
543
+ "fill",
544
+ "outline"
545
+ ]
546
+ }
547
+ },
548
+ "identifier": {
549
+ "$ref": "#/definitions/accordionIdentifier"
550
+ }
551
+ }
552
+ }
553
+ ]
554
+ },
555
+ "formControl": {
556
+ "allOf": [
557
+ {
558
+ "type": "object",
559
+ "properties": {
560
+ "role": {
561
+ "type": "string",
562
+ "const": "control",
563
+ "default": "control"
564
+ }
565
+ }
566
+ },
567
+ {
568
+ "oneOf": [
569
+ {
570
+ "allOf": [
571
+ {
572
+ "$ref": "#/definitions/baseFormControl"
573
+ },
574
+ {
575
+ "type": "object",
576
+ "properties": {
577
+ "kind": {
578
+ "type": "string",
579
+ "const": "default",
580
+ "default": "default"
581
+ }
582
+ }
583
+ }
584
+ ]
585
+ },
586
+ {
587
+ "$ref": "#/definitions/inputFormControl"
588
+ },
589
+ {
590
+ "$ref": "#/definitions/selectFormControl"
591
+ },
592
+ {
593
+ "$ref": "#/definitions/checkboxFormControl"
594
+ },
595
+ {
596
+ "$ref": "#/definitions/textareaFormControl"
597
+ },
598
+ {
599
+ "$ref": "#/definitions/tableSelectFormControl"
600
+ },
601
+ {
602
+ "$ref": "#/definitions/slideToggleFormControl"
603
+ },
604
+ {
605
+ "$ref": "#/definitions/autocompleteTableSelectFormControl"
606
+ }
607
+ ]
608
+ }
609
+ ]
610
+ },
611
+ "formDefinition": {
612
+ "type": "object",
613
+ "properties": {
614
+ "controlList": {
615
+ "alias": "control",
616
+ "type": "array",
617
+ "items": {
618
+ "$ref": "#/definitions/control"
619
+ }
620
+ }
621
+ },
622
+ "required": [
623
+ "controlList"
624
+ ]
625
+ },
626
+ "formField": {
627
+ "type": "object",
628
+ "properties": {
629
+ "label": {
630
+ "type": "string"
631
+ },
632
+ "prefixButton": {
633
+ "$ref": "#/definitions/button"
634
+ },
635
+ "suffixButton": {
636
+ "$ref": "#/definitions/button"
637
+ },
638
+ "hasClearButton": {
639
+ "type": "boolean"
640
+ },
641
+ "cssClass": {
642
+ "$ref": "#/definitions/cssClass"
643
+ }
644
+ }
645
+ },
646
+ "formGroup": {
647
+ "allOf": [
648
+ {
649
+ "type": "object",
650
+ "properties": {
651
+ "role": {
652
+ "type": "string",
653
+ "const": "group"
654
+ }
655
+ },
656
+ "required": [
657
+ "role"
658
+ ]
659
+ },
660
+ {
661
+ "oneOf": [
662
+ {
663
+ "allOf": [
664
+ {
665
+ "$ref": "#/definitions/baseFormGroup"
666
+ },
667
+ {
668
+ "type": "object",
669
+ "properties": {
670
+ "kind": {
671
+ "type": "string",
672
+ "const": "default",
673
+ "default": "default"
674
+ }
675
+ }
676
+ }
677
+ ]
678
+ }
679
+ ]
680
+ }
681
+ ]
682
+ },
683
+ "general": {
684
+ "type": "object",
685
+ "properties": {
686
+ "project": {
687
+ "type": "string",
688
+ "description": "Project name where the files should be generated"
689
+ },
690
+ "feature": {
691
+ "type": "string",
692
+ "description": "Feature name where the files should be generated"
693
+ },
694
+ "overwrite": {
695
+ "anyOf": [
696
+ {
697
+ "type": "boolean"
698
+ },
699
+ {
700
+ "type": "array",
701
+ "items": {
702
+ "type": "string"
703
+ }
704
+ }
705
+ ],
706
+ "description": "Overwrite existing files",
707
+ "default": false
708
+ },
709
+ "overwriteHtml": {
710
+ "type": "boolean",
711
+ "default": false
712
+ },
713
+ "replace": {
714
+ "type": "boolean",
715
+ "default": false
716
+ }
717
+ }
718
+ },
719
+ "inputFormControl": {
720
+ "allOf": [
721
+ {
722
+ "$ref": "#/definitions/baseFormControl"
723
+ },
724
+ {
725
+ "type": "object",
726
+ "properties": {
727
+ "kind": {
728
+ "type": "string",
729
+ "const": "input"
730
+ },
731
+ "formField": {
732
+ "$ref": "#/definitions/formField"
733
+ },
734
+ "inputType": {
735
+ "type": "string",
736
+ "enum": [
737
+ "text",
738
+ "password",
739
+ "email",
740
+ "number",
741
+ "tel",
742
+ "url",
743
+ "checkbox",
744
+ "color",
745
+ "date",
746
+ "time",
747
+ "datetime-local",
748
+ "file",
749
+ "hidden",
750
+ "image",
751
+ "month",
752
+ "radio",
753
+ "reset",
754
+ "button",
755
+ "search",
756
+ "submit",
757
+ "week",
758
+ "range"
759
+ ]
760
+ },
761
+ "placeholder": {
762
+ "type": "string"
763
+ }
764
+ },
765
+ "required": [
766
+ "kind"
767
+ ]
768
+ }
769
+ ]
770
+ },
771
+ "property": {
772
+ "oneOf": [
773
+ {
774
+ "type": "string"
775
+ },
776
+ {
777
+ "type": "object",
778
+ "properties": {
779
+ "name": {
780
+ "type": "string"
781
+ },
782
+ "type": {
783
+ "$ref": "#/definitions/type"
784
+ },
785
+ "isArray": {
786
+ "type": "boolean"
787
+ },
788
+ "isRequired": {
789
+ "type": "boolean"
790
+ },
791
+ "source": {
792
+ "type": "string"
793
+ },
794
+ "memberList": {
795
+ "type": "array",
796
+ "items": {
797
+ "additionalProperties": true
798
+ }
799
+ }
800
+ }
801
+ }
802
+ ]
803
+ },
804
+ "selectFormControl": {
805
+ "allOf": [
806
+ {
807
+ "$ref": "#/definitions/baseFormControl"
808
+ },
809
+ {
810
+ "type": "object",
811
+ "properties": {
812
+ "formField": {
813
+ "$ref": "#/definitions/formField"
814
+ },
815
+ "kind": {
816
+ "type": "string",
817
+ "const": "select"
818
+ },
819
+ "upstream": {
820
+ "$ref": "#/definitions/upstream"
821
+ },
822
+ "optionList": {
823
+ "type": "array",
824
+ "items": {
825
+ "type": "object",
826
+ "properties": {
827
+ "display": {
828
+ "type": "string"
829
+ },
830
+ "value": {
831
+ "oneOf": [
832
+ {
833
+ "type": "string"
834
+ },
835
+ {
836
+ "type": "number"
837
+ },
838
+ {
839
+ "type": "boolean"
840
+ },
841
+ {
842
+ "type": "object",
843
+ "additionalProperties": true
844
+ }
845
+ ]
846
+ }
847
+ }
848
+ }
849
+ },
850
+ "backend": {
851
+ "$ref": "#/definitions/backend"
852
+ },
853
+ "multiple": {
854
+ "alias": "multi",
855
+ "type": "boolean",
856
+ "description": "Whether the select form control is multiple mode"
857
+ }
858
+ },
859
+ "required": [
860
+ "kind"
861
+ ]
862
+ }
863
+ ]
864
+ },
865
+ "slideToggleFormControl": {
866
+ "allOf": [
867
+ {
868
+ "$ref": "#/definitions/baseFormControl"
869
+ },
870
+ {
871
+ "type": "object",
872
+ "properties": {
873
+ "kind": {
874
+ "type": "string",
875
+ "const": "slide-toggle"
876
+ },
877
+ "labelPosition": {
878
+ "type": "string",
879
+ "enum": [
880
+ "before",
881
+ "after"
882
+ ]
883
+ }
884
+ },
885
+ "required": [
886
+ "kind"
887
+ ]
888
+ }
889
+ ]
890
+ },
891
+ "tableAction": {
892
+ "type": "object",
893
+ "properties": {
894
+ "type": {
895
+ "type": "string"
896
+ },
897
+ "refresh": {
898
+ "type": "boolean"
899
+ },
900
+ "confirm": {
901
+ "type": "boolean"
902
+ },
903
+ "tooltip": {
904
+ "type": "string"
905
+ },
906
+ "errorMessage": {
907
+ "type": "string"
908
+ },
909
+ "successMessage": {
910
+ "type": "string"
911
+ },
912
+ "priority": {
913
+ "type": "number"
914
+ },
915
+ "checkFunction": {
916
+ "type": "string"
917
+ },
918
+ "inHeader": {
919
+ "type": "boolean"
920
+ },
921
+ "role": {
922
+ "type": "string"
923
+ },
924
+ "icon": {
925
+ "type": "string"
926
+ },
927
+ "svgIcon": {
928
+ "type": "string"
929
+ },
930
+ "permission": {
931
+ "type": "string"
932
+ },
933
+ "color": {
934
+ "type": "string",
935
+ "description": "Value for the color input of the mat-button / mat-icon component"
936
+ },
937
+ "cssClass": {
938
+ "$ref": "#/definitions/cssClass"
939
+ },
940
+ "options": {
941
+ "type": "object",
942
+ "additionalProperties": true
943
+ }
944
+ },
945
+ "required": [
946
+ "type"
947
+ ]
948
+ },
949
+ "tableActionSchematic": {
950
+ "allOf": [
951
+ {
952
+ "$ref": "#/definitions/angular"
953
+ },
954
+ {
955
+ "$ref": "#/definitions/tableAction"
956
+ },
957
+ {
958
+ "type": "object",
959
+ "properties": {
960
+ "tableName": {
961
+ "alias": "table",
962
+ "type": "string",
963
+ "description": "The name of the table action"
964
+ }
965
+ }
966
+ }
967
+ ]
968
+ },
969
+ "tableSelectFormControl": {
970
+ "allOf": [
971
+ {
972
+ "$ref": "#/definitions/baseFormControl"
973
+ },
974
+ {
975
+ "type": "object",
976
+ "properties": {
977
+ "formField": {
978
+ "$ref": "#/definitions/formField"
979
+ },
980
+ "kind": {
981
+ "type": "string",
982
+ "const": "table-select"
983
+ },
984
+ "placeholder": {
985
+ "type": "string"
986
+ },
987
+ "columnList": {
988
+ "alias": "column",
989
+ "type": "array",
990
+ "items": {
991
+ "description": "table column name",
992
+ "type": "object",
993
+ "properties": {
994
+ "name": {
995
+ "type": "string",
996
+ "description": "table column name"
997
+ },
998
+ "title": {
999
+ "type": "string",
1000
+ "description": "table column label"
1001
+ },
1002
+ "hasFilter": {
1003
+ "type": "boolean",
1004
+ "description": "Whether the column has a filter"
1005
+ },
1006
+ "kind": {
1007
+ "type": "string",
1008
+ "description": "The kind of data in the column"
1009
+ }
1010
+ }
1011
+ },
1012
+ "description": "List of table column names"
1013
+ },
1014
+ "title": {
1015
+ "type": "string",
1016
+ "description": "The title of the table select window"
1017
+ },
1018
+ "toDisplay": {
1019
+ "type": "object",
1020
+ "properties": {
1021
+ "property": {
1022
+ "$ref": "#/definitions/property"
1023
+ }
1024
+ }
1025
+ },
1026
+ "toValue": {
1027
+ "type": "object",
1028
+ "properties": {
1029
+ "property": {
1030
+ "$ref": "#/definitions/property"
1031
+ }
1032
+ }
1033
+ },
1034
+ "upstream": {
1035
+ "$ref": "#/definitions/upstream"
1036
+ },
1037
+ "resolver": {
1038
+ "type": "object",
1039
+ "properties": {
1040
+ "upstream": {
1041
+ "$ref": "#/definitions/upstream"
1042
+ }
1043
+ }
1044
+ },
1045
+ "identifier": {
1046
+ "$ref": "#/definitions/accordionIdentifier"
1047
+ }
1048
+ },
1049
+ "required": [
1050
+ "kind"
1051
+ ]
1052
+ }
1053
+ ]
1054
+ },
1055
+ "textareaFormControl": {
1056
+ "allOf": [
1057
+ {
1058
+ "$ref": "#/definitions/baseFormControl"
1059
+ },
1060
+ {
1061
+ "type": "object",
1062
+ "properties": {
1063
+ "formField": {
1064
+ "$ref": "#/definitions/formField"
1065
+ },
1066
+ "kind": {
1067
+ "type": "string",
1068
+ "const": "textarea"
1069
+ },
1070
+ "placeholder": {
1071
+ "type": "string"
1072
+ },
1073
+ "autosize": {
1074
+ "type": "object",
1075
+ "properties": {
1076
+ "minRows": {
1077
+ "type": "number"
1078
+ },
1079
+ "maxRows": {
1080
+ "type": "number"
1081
+ }
1082
+ }
1083
+ }
1084
+ },
1085
+ "required": [
1086
+ "kind"
1087
+ ]
1088
+ }
1089
+ ]
1090
+ },
1091
+ "type": {
1092
+ "oneOf": [
1093
+ {
1094
+ "type": "string"
1095
+ },
1096
+ {
1097
+ "type": "object",
1098
+ "properties": {
1099
+ "name": {
1100
+ "type": "string"
1101
+ },
1102
+ "isTypeOnly": {
1103
+ "type": "boolean"
1104
+ },
1105
+ "moduleSpecifier": {
1106
+ "type": "string"
1107
+ },
1108
+ "namedImport": {
1109
+ "type": "string"
1110
+ },
1111
+ "namespaceImport": {
1112
+ "type": "string"
1113
+ },
1114
+ "defaultImport": {
1115
+ "type": "string"
1116
+ }
1117
+ },
1118
+ "required": [
1119
+ "name"
1120
+ ]
1121
+ }
1122
+ ]
1123
+ },
1124
+ "upstream": {
1125
+ "oneOf": [
1126
+ {
1127
+ "type": "object",
1128
+ "properties": {
1129
+ "kind": {
1130
+ "type": "string",
1131
+ "enum": [
1132
+ "open-api"
1133
+ ]
1134
+ },
1135
+ "operationId": {
1136
+ "type": "string"
1137
+ },
1138
+ "scope": {
1139
+ "type": "string"
1140
+ },
1141
+ "mapper": {
1142
+ "oneOf": [
1143
+ {
1144
+ "type": "object",
1145
+ "properties": {
1146
+ "kind": {
1147
+ "type": "string",
1148
+ "const": "paged"
1149
+ },
1150
+ "pageIndex": {
1151
+ "type": "string"
1152
+ },
1153
+ "pageSize": {
1154
+ "type": "string"
1155
+ },
1156
+ "sortBy": {
1157
+ "type": "string"
1158
+ },
1159
+ "sortDirection": {
1160
+ "type": "string"
1161
+ },
1162
+ "list": {
1163
+ "type": "string"
1164
+ },
1165
+ "total": {
1166
+ "type": "string"
1167
+ },
1168
+ "filter": {
1169
+ "type": "object",
1170
+ "properties": {
1171
+ "eq": {
1172
+ "type": "string"
1173
+ },
1174
+ "join": {
1175
+ "type": "string"
1176
+ }
1177
+ }
1178
+ }
1179
+ }
1180
+ },
1181
+ {
1182
+ "type": "object",
1183
+ "properties": {
1184
+ "kind": {
1185
+ "type": "string",
1186
+ "const": "options"
1187
+ },
1188
+ "toFunction": {
1189
+ "type": "string",
1190
+ "enum": [
1191
+ "ToOptions",
1192
+ "ToOptionsFromObject"
1193
+ ]
1194
+ },
1195
+ "toValue": {
1196
+ "type": "string"
1197
+ },
1198
+ "toDisplay": {
1199
+ "type": "string"
1200
+ }
1201
+ }
1202
+ },
1203
+ {
1204
+ "type": "object",
1205
+ "properties": {
1206
+ "kind": {
1207
+ "type": "string",
1208
+ "const": "resolve"
1209
+ },
1210
+ "value": {
1211
+ "type": "string"
1212
+ }
1213
+ }
1214
+ }
1215
+ ]
1216
+ }
1217
+ },
1218
+ "required": [
1219
+ "kind",
1220
+ "operationId"
1221
+ ]
1222
+ }
1223
+ ]
1224
+ }
1225
+ }
1226
+ }