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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (179) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +1 -1
  3. package/collection.json +10 -0
  4. package/package.json +4 -4
  5. package/src/lib/coerce-form-component.js +15 -3
  6. package/src/lib/coerce-form-component.js.map +1 -1
  7. package/src/lib/data-grid-item.d.ts +3 -3
  8. package/src/lib/data-grid-item.js +2 -2
  9. package/src/lib/data-grid-item.js.map +1 -1
  10. package/src/lib/form/abstract-control.d.ts +29 -0
  11. package/src/lib/form/abstract-control.js +37 -0
  12. package/src/lib/form/abstract-control.js.map +1 -0
  13. package/src/lib/form/array/base-form-array.d.ts +18 -0
  14. package/src/lib/form/array/base-form-array.js +40 -0
  15. package/src/lib/form/array/base-form-array.js.map +1 -0
  16. package/src/lib/form/array/form-array-kind.d.ts +3 -0
  17. package/src/lib/form/array/form-array-kind.js +8 -0
  18. package/src/lib/form/array/form-array-kind.js.map +1 -0
  19. package/src/lib/form/array/form-array.d.ts +12 -0
  20. package/src/lib/form/array/form-array.js +18 -0
  21. package/src/lib/form/array/form-array.js.map +1 -0
  22. package/src/lib/form/coerce-control-component-imports.d.ts +3 -0
  23. package/src/lib/form/coerce-control-component-imports.js +18 -0
  24. package/src/lib/form/coerce-control-component-imports.js.map +1 -0
  25. package/src/lib/form/control/base-form-control.d.ts +14 -0
  26. package/src/lib/form/control/base-form-control.js +19 -0
  27. package/src/lib/form/control/base-form-control.js.map +1 -0
  28. package/src/lib/form/control/checkbox-form-control.d.ts +11 -0
  29. package/src/lib/form/control/checkbox-form-control.js +23 -0
  30. package/src/lib/form/control/checkbox-form-control.js.map +1 -0
  31. package/src/lib/form/control/form-control-kind.d.ts +8 -0
  32. package/src/lib/form/control/form-control-kind.js +13 -0
  33. package/src/lib/form/control/form-control-kind.js.map +1 -0
  34. package/src/lib/form/control/form-control.d.ts +18 -0
  35. package/src/lib/form/control/form-control.js +40 -0
  36. package/src/lib/form/control/form-control.js.map +1 -0
  37. package/src/lib/form/control/form-field-form-control.d.ts +33 -0
  38. package/src/lib/form/control/form-field-form-control.js +76 -0
  39. package/src/lib/form/control/form-field-form-control.js.map +1 -0
  40. package/src/lib/form/control/input-form-control.d.ts +14 -0
  41. package/src/lib/form/control/input-form-control.js +71 -0
  42. package/src/lib/form/control/input-form-control.js.map +1 -0
  43. package/src/lib/form/control/select-form-control.d.ts +18 -0
  44. package/src/lib/form/control/select-form-control.js +29 -0
  45. package/src/lib/form/control/select-form-control.js.map +1 -0
  46. package/src/lib/form/control/slide-toggle-form-control.d.ts +11 -0
  47. package/src/lib/form/control/slide-toggle-form-control.js +23 -0
  48. package/src/lib/form/control/slide-toggle-form-control.js.map +1 -0
  49. package/src/lib/form/control/table-select-form-control.d.ts +43 -0
  50. package/src/lib/form/control/table-select-form-control.js +69 -0
  51. package/src/lib/form/control/table-select-form-control.js.map +1 -0
  52. package/src/lib/form/control.d.ts +8 -0
  53. package/src/lib/form/control.js +38 -0
  54. package/src/lib/form/control.js.map +1 -0
  55. package/src/lib/form/generate-form-template.d.ts +2 -2
  56. package/src/lib/form/group/base-form-group.d.ts +17 -0
  57. package/src/lib/form/group/base-form-group.js +20 -0
  58. package/src/lib/form/group/base-form-group.js.map +1 -0
  59. package/src/lib/form/group/form-group-kind.d.ts +3 -0
  60. package/src/lib/form/group/form-group-kind.js +8 -0
  61. package/src/lib/form/group/form-group-kind.js.map +1 -0
  62. package/src/lib/form/group/form-group.d.ts +12 -0
  63. package/src/lib/form/group/form-group.js +18 -0
  64. package/src/lib/form/group/form-group.js.map +1 -0
  65. package/src/lib/table-column.d.ts +4 -3
  66. package/src/lib/table-column.js +5 -4
  67. package/src/lib/table-column.js.map +1 -1
  68. package/src/schema.json +1673 -1415
  69. package/src/schematic-input.schema.json +90 -156
  70. package/src/schematics/abstract-control.schema.json +78 -0
  71. package/src/schematics/accordion/accordion-component/schema.json +127 -127
  72. package/src/schematics/accordion/accordion-item-component/schema.json +18 -18
  73. package/src/schematics/accordion/item/accordion-item-data-grid-component/schema.json +602 -81
  74. package/src/schematics/accordion/item/accordion-item-switch-component/schema.json +76 -76
  75. package/src/schematics/accordion/item/accordion-item-table-component/schema.json +486 -111
  76. package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.json +458 -83
  77. package/src/schematics/base-form-array.schema.json +45 -0
  78. package/src/schematics/base-form-control.schema.json +27 -0
  79. package/src/schematics/base-form-group.schema.json +42 -0
  80. package/src/schematics/checkbox-form-control.schema.json +30 -0
  81. package/src/schematics/control.schema.json +26 -0
  82. package/src/schematics/data-grid-component/index.js +4 -0
  83. package/src/schematics/data-grid-component/index.js.map +1 -1
  84. package/src/schematics/data-grid-component/schema.json +602 -81
  85. package/src/schematics/data-grid-item.schema.json +3 -3
  86. package/src/schematics/form/control/input-form-control/index.d.ts +1 -1
  87. package/src/schematics/form/control/input-form-control/index.js +4 -4
  88. package/src/schematics/form/control/input-form-control/index.js.map +1 -1
  89. package/src/schematics/form/control/input-form-control/schema.d.ts +2 -2
  90. package/src/schematics/form/control/input-form-control/schema.json +256 -86
  91. package/src/schematics/form/control/input-form-control/template.schema.json +16 -3
  92. package/src/schematics/form/control/select-form-control/index.d.ts +2 -2
  93. package/src/schematics/form/control/select-form-control/index.js +21 -14
  94. package/src/schematics/form/control/select-form-control/index.js.map +1 -1
  95. package/src/schematics/form/control/select-form-control/schema.d.ts +2 -3
  96. package/src/schematics/form/control/select-form-control/schema.json +249 -90
  97. package/src/schematics/form/control/select-form-control/template.schema.json +16 -3
  98. package/src/schematics/form/control/table-select-form-control/index.d.ts +3 -9
  99. package/src/schematics/form/control/table-select-form-control/index.js +24 -18
  100. package/src/schematics/form/control/table-select-form-control/index.js.map +1 -1
  101. package/src/schematics/form/control/table-select-form-control/schema.d.ts +2 -3
  102. package/src/schematics/form/control/table-select-form-control/schema.json +325 -123
  103. package/src/schematics/form/control/table-select-form-control/template.schema.json +16 -60
  104. package/src/schematics/form/form-array/index.d.ts +9 -0
  105. package/src/schematics/form/form-array/index.js +54 -0
  106. package/src/schematics/form/form-array/index.js.map +1 -0
  107. package/src/schematics/form/form-array/schema.d.ts +4 -0
  108. package/src/schematics/form/form-array/schema.json +823 -0
  109. package/src/schematics/form/form-array/template.schema.json +33 -0
  110. package/src/schematics/form/form-component/files/component/__componentName__.component.html.hbs +4 -1
  111. package/src/schematics/form/form-component/index.d.ts +2 -4
  112. package/src/schematics/form/form-component/index.js +8 -24
  113. package/src/schematics/form/form-component/index.js.map +1 -1
  114. package/src/schematics/form/form-component/schema.d.ts +2 -2
  115. package/src/schematics/form/form-component/schema.json +666 -86
  116. package/src/schematics/form/form-control/index.d.ts +3 -5
  117. package/src/schematics/form/form-control/index.js +8 -20
  118. package/src/schematics/form/form-control/index.js.map +1 -1
  119. package/src/schematics/form/form-control/schema.d.ts +2 -4
  120. package/src/schematics/form/form-control/schema.json +519 -62
  121. package/src/schematics/form/form-control/template.schema.json +1 -2
  122. package/src/schematics/form/form-definition/index.d.ts +2 -2
  123. package/src/schematics/form/form-definition/index.js +28 -15
  124. package/src/schematics/form/form-definition/index.js.map +1 -1
  125. package/src/schematics/form/form-definition/schema.d.ts +2 -2
  126. package/src/schematics/form/form-definition/schema.json +664 -60
  127. package/src/schematics/form/form-group/index.d.ts +9 -0
  128. package/src/schematics/form/form-group/index.js +54 -0
  129. package/src/schematics/form/form-group/index.js.map +1 -0
  130. package/src/schematics/form/form-group/schema.d.ts +4 -0
  131. package/src/schematics/form/form-group/schema.json +823 -0
  132. package/src/schematics/form/form-group/template.schema.json +33 -0
  133. package/src/schematics/form/templates/checkbox-form-control.hbs +1 -1
  134. package/src/schematics/form/templates/default-form-array.hbs +27 -0
  135. package/src/schematics/form/templates/default-form-group.hbs +13 -0
  136. package/src/schematics/form/templates/input-form-control.hbs +7 -7
  137. package/src/schematics/form/templates/select-form-control.hbs +5 -0
  138. package/src/schematics/form/templates/table-select-form-control.hbs +16 -16
  139. package/src/schematics/form-array.schema.json +40 -0
  140. package/src/schematics/form-control.schema.json +64 -55
  141. package/src/schematics/form-definition.schema.json +3 -3
  142. package/src/schematics/form-group.schema.json +40 -0
  143. package/src/schematics/input-form-control.schema.json +10 -6
  144. package/src/schematics/select-form-control.schema.json +8 -4
  145. package/src/schematics/slide-toggle-form-control.schema.json +30 -0
  146. package/src/schematics/table/action/dialog-table-action/schema.json +20 -20
  147. package/src/schematics/table/action/form-table-action/index.d.ts +2 -2
  148. package/src/schematics/table/action/form-table-action/index.js +3 -4
  149. package/src/schematics/table/action/form-table-action/index.js.map +1 -1
  150. package/src/schematics/table/action/form-table-action/schema.d.ts +2 -2
  151. package/src/schematics/table/action/form-table-action/schema.json +667 -87
  152. package/src/schematics/table/action/navigation-table-action/schema.json +20 -20
  153. package/src/schematics/table/action/open-api-table-action/schema.json +20 -20
  154. package/src/schematics/table/action/operation-table-action/schema.json +20 -20
  155. package/src/schematics/table/header-button/form-table-header-button/index.d.ts +2 -2
  156. package/src/schematics/table/header-button/form-table-header-button/index.js +2 -2
  157. package/src/schematics/table/header-button/form-table-header-button/index.js.map +1 -1
  158. package/src/schematics/table/header-button/form-table-header-button/schema.d.ts +2 -2
  159. package/src/schematics/table/header-button/form-table-header-button/schema.json +735 -81
  160. package/src/schematics/table/header-button/form-table-header-button/template.schema.json +4 -22
  161. package/src/schematics/table/header-button/navigation-table-header-button/schema.json +20 -20
  162. package/src/schematics/table/table-action/schema.json +47 -47
  163. package/src/schematics/table/table-component/index.d.ts +2 -2
  164. package/src/schematics/table/table-component/schema.json +470 -95
  165. package/src/schematics/table/table-header-button/schema.json +40 -40
  166. package/src/schematics/table/tree-table-component/files/component/__componentName__.component.html.hbs +1 -1
  167. package/src/schematics/table/tree-table-component/schema.json +453 -78
  168. package/src/schematics/table-select-form-control.schema.json +96 -0
  169. package/src/schematics/textarea-form-control.schema.json +32 -0
  170. package/src/template.schema.json +39 -0
  171. package/src/lib/form-component-control.d.ts +0 -8
  172. package/src/lib/form-component-control.js +0 -15
  173. package/src/lib/form-component-control.js.map +0 -1
  174. package/src/lib/form-control.d.ts +0 -136
  175. package/src/lib/form-control.js +0 -265
  176. package/src/lib/form-control.js.map +0 -1
  177. package/src/lib/form-definition-control.d.ts +0 -5
  178. package/src/lib/form-definition-control.js +0 -30
  179. package/src/lib/form-definition-control.js.map +0 -1
@@ -30,36 +30,96 @@
30
30
  }
31
31
  ],
32
32
  "definitions": {
33
- "treeTable": {
33
+ "abstractControl": {
34
34
  "allOf": [
35
35
  {
36
- "$ref": "#/definitions/minimumTable"
36
+ "$ref": "#/definitions/property"
37
37
  },
38
38
  {
39
39
  "type": "object",
40
40
  "properties": {
41
- "modifiers": {
42
- "alias": "modifier",
41
+ "name": {
42
+ "type": "string",
43
+ "description": "The name of the control"
44
+ },
45
+ "isArray": {
46
+ "type": "boolean",
47
+ "description": "Whether the control value is an array",
48
+ "default": false
49
+ },
50
+ "state": {
51
+ "type": "string",
52
+ "description": "The initial state of the control"
53
+ },
54
+ "isRequired": {
55
+ "type": "boolean",
56
+ "description": "Whether the control value is required",
57
+ "default": false
58
+ },
59
+ "isReadonly": {
60
+ "type": "boolean",
61
+ "description": "Whether the control value is readonly",
62
+ "default": false
63
+ },
64
+ "isDisabled": {
65
+ "type": "boolean",
66
+ "description": "Whether the control value is disabled",
67
+ "default": false
68
+ },
69
+ "validatorList": {
43
70
  "type": "array",
44
71
  "items": {
45
- "type": "string",
46
- "enum": [
47
- "navigation-back-header",
48
- "without-title"
49
- ]
50
- },
51
- "description": "The table modifiers"
72
+ "type": "string"
73
+ }
52
74
  },
53
- "tableRootMethod": {
54
- "$ref": "#/definitions/type"
75
+ "kind": {
76
+ "type": "string",
77
+ "description": "The kind of the control",
78
+ "default": "default"
55
79
  },
56
- "tableChildMethod": {
57
- "$ref": "#/definitions/type"
80
+ "importList": {
81
+ "type": "array",
82
+ "items": {
83
+ "$ref": "#/definitions/type"
84
+ }
85
+ },
86
+ "template": {
87
+ "type": "string",
88
+ "description": "The template of the control"
89
+ },
90
+ "role": {
91
+ "type": "string",
92
+ "description": "The role of the control",
93
+ "enum": [
94
+ "control",
95
+ "group",
96
+ "array"
97
+ ],
98
+ "default": "control"
58
99
  }
59
- }
100
+ },
101
+ "additionalProperties": true
60
102
  }
61
103
  ]
62
104
  },
105
+ "accordionIdentifier": {
106
+ "type": "object",
107
+ "properties": {
108
+ "property": {
109
+ "$ref": "#/definitions/property"
110
+ },
111
+ "source": {
112
+ "type": "string",
113
+ "enum": [
114
+ "route"
115
+ ],
116
+ "default": "route"
117
+ }
118
+ },
119
+ "required": [
120
+ "property"
121
+ ]
122
+ },
63
123
  "accordionItem": {
64
124
  "type": "object",
65
125
  "properties": {
@@ -157,24 +217,6 @@
157
217
  }
158
218
  ]
159
219
  },
160
- "accordionIdentifier": {
161
- "type": "object",
162
- "properties": {
163
- "property": {
164
- "$ref": "#/definitions/property"
165
- },
166
- "source": {
167
- "type": "string",
168
- "enum": [
169
- "route"
170
- ],
171
- "default": "route"
172
- }
173
- },
174
- "required": [
175
- "property"
176
- ]
177
- },
178
220
  "backend": {
179
221
  "type": "string",
180
222
  "description": "The backend that should be used to handel data",
@@ -186,66 +228,140 @@
186
228
  ],
187
229
  "default": "none"
188
230
  },
189
- "formControl": {
231
+ "baseFormControl": {
232
+ "allOf": [
233
+ {
234
+ "$ref": "#/definitions/abstractControl"
235
+ },
236
+ {
237
+ "type": "object",
238
+ "properties": {
239
+ "label": {
240
+ "type": "string",
241
+ "description": "The label of the control"
242
+ },
243
+ "role": {
244
+ "type": "string",
245
+ "const": "control"
246
+ }
247
+ }
248
+ }
249
+ ]
250
+ },
251
+ "button": {
190
252
  "type": "object",
191
253
  "properties": {
192
- "name": {
193
- "type": "string",
194
- "description": "The name of the control"
254
+ "svgIcon": {
255
+ "type": "string"
195
256
  },
196
- "type": {
197
- "$ref": "#/definitions/type"
257
+ "icon": {
258
+ "type": "string"
198
259
  },
199
- "isArray": {
200
- "type": "boolean",
201
- "description": "Whether the control value is an array",
202
- "default": false
260
+ "directiveList": {
261
+ "type": "array",
262
+ "items": {
263
+ "$ref": "#/definitions/type"
264
+ }
203
265
  },
204
- "state": {
205
- "type": "string",
206
- "description": "The initial state of the control"
266
+ "importList": {
267
+ "type": "array",
268
+ "items": {
269
+ "$ref": "#/definitions/type"
270
+ }
271
+ }
272
+ }
273
+ },
274
+ "checkboxFormControl": {
275
+ "allOf": [
276
+ {
277
+ "$ref": "#/definitions/baseFormControl"
207
278
  },
208
- "isRequired": {
209
- "type": "boolean",
210
- "description": "Whether the control value is required",
211
- "default": false
279
+ {
280
+ "type": "object",
281
+ "properties": {
282
+ "kind": {
283
+ "type": "string",
284
+ "const": "checkbox"
285
+ },
286
+ "labelPosition": {
287
+ "type": "string",
288
+ "enum": [
289
+ "before",
290
+ "after"
291
+ ]
292
+ }
293
+ }
294
+ }
295
+ ]
296
+ },
297
+ "formControl": {
298
+ "allOf": [
299
+ {
300
+ "type": "object",
301
+ "properties": {
302
+ "role": {
303
+ "type": "string",
304
+ "const": "control",
305
+ "default": "control"
306
+ }
307
+ }
212
308
  },
213
- "isReadonly": {
214
- "type": "boolean",
215
- "description": "Whether the control value is readonly",
216
- "default": false
309
+ {
310
+ "oneOf": [
311
+ {
312
+ "allOf": [
313
+ {
314
+ "$ref": "#/definitions/baseFormControl"
315
+ },
316
+ {
317
+ "type": "object",
318
+ "properties": {
319
+ "kind": {
320
+ "type": "string",
321
+ "const": "default"
322
+ }
323
+ }
324
+ }
325
+ ]
326
+ },
327
+ {
328
+ "$ref": "#/definitions/inputFormControl"
329
+ },
330
+ {
331
+ "$ref": "#/definitions/selectFormControl"
332
+ },
333
+ {
334
+ "$ref": "#/definitions/checkboxFormControl"
335
+ },
336
+ {
337
+ "$ref": "#/definitions/textareaFormControl"
338
+ },
339
+ {
340
+ "$ref": "#/definitions/tableSelectFormControl"
341
+ },
342
+ {
343
+ "$ref": "#/definitions/slideToggleFormControl"
344
+ }
345
+ ]
346
+ }
347
+ ]
348
+ },
349
+ "formField": {
350
+ "type": "object",
351
+ "properties": {
352
+ "label": {
353
+ "type": "string"
217
354
  },
218
- "isDisabled": {
219
- "type": "boolean",
220
- "description": "Whether the control value is disabled",
221
- "default": false
355
+ "prefixButton": {
356
+ "$ref": "#/definitions/button"
222
357
  },
223
- "validatorList": {
224
- "type": "array",
225
- "items": {
226
- "type": "string"
227
- }
358
+ "suffixButton": {
359
+ "$ref": "#/definitions/button"
228
360
  },
229
- "kind": {
230
- "type": "string",
231
- "description": "The name of the template",
232
- "enum": [
233
- "default",
234
- "input",
235
- "select",
236
- "checkbox",
237
- "autocomplete-table-select",
238
- "table-select",
239
- "textarea",
240
- "slide-toggle"
241
- ],
242
- "default": "default"
361
+ "hasClearButton": {
362
+ "type": "boolean"
243
363
  }
244
- },
245
- "required": [
246
- "name"
247
- ],
248
- "additionalProperties": true
364
+ }
249
365
  },
250
366
  "general": {
251
367
  "type": "object",
@@ -323,6 +439,55 @@
323
439
  }
324
440
  }
325
441
  },
442
+ "inputFormControl": {
443
+ "allOf": [
444
+ {
445
+ "$ref": "#/definitions/baseFormControl"
446
+ },
447
+ {
448
+ "type": "object",
449
+ "properties": {
450
+ "kind": {
451
+ "type": "string",
452
+ "const": "input"
453
+ },
454
+ "formField": {
455
+ "$ref": "#/definitions/formField"
456
+ },
457
+ "inputType": {
458
+ "type": "string",
459
+ "enum": [
460
+ "text",
461
+ "password",
462
+ "email",
463
+ "number",
464
+ "tel",
465
+ "url",
466
+ "checkbox",
467
+ "color",
468
+ "date",
469
+ "time",
470
+ "datetime-local",
471
+ "file",
472
+ "hidden",
473
+ "image",
474
+ "month",
475
+ "radio",
476
+ "reset",
477
+ "button",
478
+ "search",
479
+ "submit",
480
+ "week",
481
+ "range"
482
+ ]
483
+ },
484
+ "placeholder": {
485
+ "type": "string"
486
+ }
487
+ }
488
+ }
489
+ ]
490
+ },
326
491
  "minimumTable": {
327
492
  "type": "object",
328
493
  "properties": {
@@ -416,6 +581,84 @@
416
581
  }
417
582
  ]
418
583
  },
584
+ "selectFormControl": {
585
+ "allOf": [
586
+ {
587
+ "$ref": "#/definitions/baseFormControl"
588
+ },
589
+ {
590
+ "type": "object",
591
+ "properties": {
592
+ "formField": {
593
+ "$ref": "#/definitions/formField"
594
+ },
595
+ "kind": {
596
+ "type": "string",
597
+ "const": "select"
598
+ },
599
+ "optionList": {
600
+ "type": "array",
601
+ "items": {
602
+ "type": "object",
603
+ "properties": {
604
+ "display": {
605
+ "type": "string"
606
+ },
607
+ "value": {
608
+ "oneOf": [
609
+ {
610
+ "type": "string"
611
+ },
612
+ {
613
+ "type": "number"
614
+ },
615
+ {
616
+ "type": "boolean"
617
+ },
618
+ {
619
+ "type": "object",
620
+ "additionalProperties": true
621
+ }
622
+ ]
623
+ }
624
+ }
625
+ }
626
+ },
627
+ "backend": {
628
+ "$ref": "#/definitions/backend"
629
+ },
630
+ "multiple": {
631
+ "alias": "multi",
632
+ "type": "boolean",
633
+ "description": "Whether the select form control is multiple mode"
634
+ }
635
+ }
636
+ }
637
+ ]
638
+ },
639
+ "slideToggleFormControl": {
640
+ "allOf": [
641
+ {
642
+ "$ref": "#/definitions/baseFormControl"
643
+ },
644
+ {
645
+ "type": "object",
646
+ "properties": {
647
+ "kind": {
648
+ "type": "string",
649
+ "const": "slide-toggle"
650
+ },
651
+ "labelPosition": {
652
+ "type": "string",
653
+ "enum": [
654
+ "before",
655
+ "after"
656
+ ]
657
+ }
658
+ }
659
+ }
660
+ ]
661
+ },
419
662
  "tableAction": {
420
663
  "type": "object",
421
664
  "properties": {
@@ -537,6 +780,138 @@
537
780
  "name"
538
781
  ]
539
782
  },
783
+ "tableSelectFormControl": {
784
+ "allOf": [
785
+ {
786
+ "$ref": "#/definitions/baseFormControl"
787
+ },
788
+ {
789
+ "type": "object",
790
+ "properties": {
791
+ "formField": {
792
+ "$ref": "#/definitions/formField"
793
+ },
794
+ "kind": {
795
+ "type": "string",
796
+ "const": "table-select"
797
+ },
798
+ "placeholder": {
799
+ "type": "string"
800
+ },
801
+ "columnList": {
802
+ "alias": "column",
803
+ "type": "array",
804
+ "items": {
805
+ "description": "table column name",
806
+ "type": "object",
807
+ "properties": {
808
+ "name": {
809
+ "type": "string",
810
+ "description": "table column name"
811
+ },
812
+ "title": {
813
+ "type": "string",
814
+ "description": "table column label"
815
+ },
816
+ "hasFilter": {
817
+ "type": "boolean",
818
+ "description": "Whether the column has a filter"
819
+ },
820
+ "kind": {
821
+ "type": "string",
822
+ "description": "The kind of data in the column"
823
+ }
824
+ }
825
+ },
826
+ "description": "List of table column names"
827
+ },
828
+ "title": {
829
+ "type": "string",
830
+ "description": "The title of the table select window"
831
+ },
832
+ "toDisplay": {
833
+ "type": "object",
834
+ "properties": {
835
+ "property": {
836
+ "$ref": "#/definitions/property"
837
+ }
838
+ }
839
+ },
840
+ "toValue": {
841
+ "type": "object",
842
+ "properties": {
843
+ "property": {
844
+ "$ref": "#/definitions/property"
845
+ }
846
+ }
847
+ },
848
+ "upstream": {
849
+ "$ref": "#/definitions/upstream"
850
+ },
851
+ "resolver": {
852
+ "type": "object",
853
+ "properties": {
854
+ "upstream": {
855
+ "$ref": "#/definitions/upstream"
856
+ }
857
+ }
858
+ }
859
+ }
860
+ }
861
+ ]
862
+ },
863
+ "textareaFormControl": {
864
+ "allOf": [
865
+ {
866
+ "$ref": "#/definitions/baseFormControl"
867
+ },
868
+ {
869
+ "type": "object",
870
+ "properties": {
871
+ "formField": {
872
+ "$ref": "#/definitions/formField"
873
+ },
874
+ "kind": {
875
+ "type": "string",
876
+ "const": "textarea"
877
+ },
878
+ "placeholder": {
879
+ "type": "string"
880
+ }
881
+ }
882
+ }
883
+ ]
884
+ },
885
+ "treeTable": {
886
+ "allOf": [
887
+ {
888
+ "$ref": "#/definitions/minimumTable"
889
+ },
890
+ {
891
+ "type": "object",
892
+ "properties": {
893
+ "modifiers": {
894
+ "alias": "modifier",
895
+ "type": "array",
896
+ "items": {
897
+ "type": "string",
898
+ "enum": [
899
+ "navigation-back-header",
900
+ "without-title"
901
+ ]
902
+ },
903
+ "description": "The table modifiers"
904
+ },
905
+ "tableRootMethod": {
906
+ "$ref": "#/definitions/type"
907
+ },
908
+ "tableChildMethod": {
909
+ "$ref": "#/definitions/type"
910
+ }
911
+ }
912
+ }
913
+ ]
914
+ },
540
915
  "type": {
541
916
  "oneOf": [
542
917
  {
@@ -0,0 +1,45 @@
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "$id": "base-form-array",
4
+ "allOf": [
5
+ {
6
+ "$ref": "#/definitions/abstractControl"
7
+ },
8
+ {
9
+ "type": "object",
10
+ "properties": {
11
+ "controlList": {
12
+ "type": "array",
13
+ "description": "The list of controls in the group",
14
+ "items": {
15
+ "$ref": "#/definitions/control"
16
+ }
17
+ },
18
+ "legend": {
19
+ "type": "string"
20
+ },
21
+ "groupLegend": {
22
+ "type": "string"
23
+ },
24
+ "kind": {
25
+ "type": "string",
26
+ "description": "The kind of the array",
27
+ "const": "default",
28
+ "default": "default"
29
+ },
30
+ "role": {
31
+ "type": "string",
32
+ "const": "array"
33
+ }
34
+ }
35
+ }
36
+ ],
37
+ "definitions": {
38
+ "abstractControl": {
39
+ "$ref": "./abstract-control.schema.json"
40
+ },
41
+ "control": {
42
+ "$ref": "./control.schema.json"
43
+ }
44
+ }
45
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "$id": "base-form-control",
4
+ "allOf": [
5
+ {
6
+ "$ref": "#/definitions/abstractControl"
7
+ },
8
+ {
9
+ "type": "object",
10
+ "properties": {
11
+ "label": {
12
+ "type": "string",
13
+ "description": "The label of the control"
14
+ },
15
+ "role": {
16
+ "type": "string",
17
+ "const": "control"
18
+ }
19
+ }
20
+ }
21
+ ],
22
+ "definitions": {
23
+ "abstractControl": {
24
+ "$ref": "./abstract-control.schema.json"
25
+ }
26
+ }
27
+ }