@rxap/schematic-angular 16.2.0-dev.14 → 16.2.0-dev.15

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