@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,6 +30,96 @@
30
30
  }
31
31
  ],
32
32
  "definitions": {
33
+ "abstractControl": {
34
+ "allOf": [
35
+ {
36
+ "$ref": "#/definitions/property"
37
+ },
38
+ {
39
+ "type": "object",
40
+ "properties": {
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": {
70
+ "type": "array",
71
+ "items": {
72
+ "type": "string"
73
+ }
74
+ },
75
+ "kind": {
76
+ "type": "string",
77
+ "description": "The kind of the control",
78
+ "default": "default"
79
+ },
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"
99
+ }
100
+ },
101
+ "additionalProperties": true
102
+ }
103
+ ]
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
+ },
33
123
  "accordionItem": {
34
124
  "type": "object",
35
125
  "properties": {
@@ -127,142 +217,151 @@
127
217
  }
128
218
  ]
129
219
  },
130
- "table": {
220
+ "backend": {
221
+ "type": "string",
222
+ "description": "The backend that should be used to handel data",
223
+ "enum": [
224
+ "none",
225
+ "nestjs",
226
+ "open-api",
227
+ "local"
228
+ ],
229
+ "default": "none"
230
+ },
231
+ "baseFormControl": {
131
232
  "allOf": [
132
233
  {
133
- "$ref": "#/definitions/minimumTable"
234
+ "$ref": "#/definitions/abstractControl"
134
235
  },
135
236
  {
136
237
  "type": "object",
137
238
  "properties": {
138
- "tableMethod": {
139
- "$ref": "#/definitions/type"
140
- },
141
- "openApi": {
142
- "type": "object",
143
- "properties": {
144
- "operationId": {
145
- "type": "string",
146
- "description": "The operationId for the open api operation"
147
- },
148
- "adapter": {
149
- "$ref": "#/definitions/type"
150
- }
151
- },
152
- "required": [
153
- "operationId"
154
- ]
155
- },
156
- "modifiers": {
157
- "alias": "modifier",
158
- "type": "array",
159
- "items": {
160
- "type": "string",
161
- "enum": [
162
- "navigation-back-header",
163
- "without-title",
164
- "show-archived-slide"
165
- ]
166
- },
167
- "description": "The table modifiers"
239
+ "label": {
240
+ "type": "string",
241
+ "description": "The label of the control"
168
242
  },
169
- "selectColumn": {
170
- "type": "boolean",
171
- "description": "Whether to add a select column to the table"
243
+ "role": {
244
+ "type": "string",
245
+ "const": "control"
172
246
  }
173
247
  }
174
248
  }
175
249
  ]
176
250
  },
177
- "accordionIdentifier": {
251
+ "button": {
178
252
  "type": "object",
179
253
  "properties": {
180
- "property": {
181
- "$ref": "#/definitions/property"
254
+ "svgIcon": {
255
+ "type": "string"
182
256
  },
183
- "source": {
184
- "type": "string",
185
- "enum": [
186
- "route"
187
- ],
188
- "default": "route"
257
+ "icon": {
258
+ "type": "string"
259
+ },
260
+ "directiveList": {
261
+ "type": "array",
262
+ "items": {
263
+ "$ref": "#/definitions/type"
264
+ }
265
+ },
266
+ "importList": {
267
+ "type": "array",
268
+ "items": {
269
+ "$ref": "#/definitions/type"
270
+ }
189
271
  }
190
- },
191
- "required": [
192
- "property"
193
- ]
272
+ }
194
273
  },
195
- "backend": {
196
- "type": "string",
197
- "description": "The backend that should be used to handel data",
198
- "enum": [
199
- "none",
200
- "nestjs",
201
- "open-api",
202
- "local"
203
- ],
204
- "default": "none"
274
+ "checkboxFormControl": {
275
+ "allOf": [
276
+ {
277
+ "$ref": "#/definitions/baseFormControl"
278
+ },
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
+ ]
205
296
  },
206
297
  "formControl": {
298
+ "allOf": [
299
+ {
300
+ "type": "object",
301
+ "properties": {
302
+ "role": {
303
+ "type": "string",
304
+ "const": "control",
305
+ "default": "control"
306
+ }
307
+ }
308
+ },
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": {
207
350
  "type": "object",
208
351
  "properties": {
209
- "name": {
210
- "type": "string",
211
- "description": "The name of the control"
212
- },
213
- "type": {
214
- "$ref": "#/definitions/type"
215
- },
216
- "isArray": {
217
- "type": "boolean",
218
- "description": "Whether the control value is an array",
219
- "default": false
220
- },
221
- "state": {
222
- "type": "string",
223
- "description": "The initial state of the control"
224
- },
225
- "isRequired": {
226
- "type": "boolean",
227
- "description": "Whether the control value is required",
228
- "default": false
229
- },
230
- "isReadonly": {
231
- "type": "boolean",
232
- "description": "Whether the control value is readonly",
233
- "default": false
352
+ "label": {
353
+ "type": "string"
234
354
  },
235
- "isDisabled": {
236
- "type": "boolean",
237
- "description": "Whether the control value is disabled",
238
- "default": false
355
+ "prefixButton": {
356
+ "$ref": "#/definitions/button"
239
357
  },
240
- "validatorList": {
241
- "type": "array",
242
- "items": {
243
- "type": "string"
244
- }
358
+ "suffixButton": {
359
+ "$ref": "#/definitions/button"
245
360
  },
246
- "kind": {
247
- "type": "string",
248
- "description": "The name of the template",
249
- "enum": [
250
- "default",
251
- "input",
252
- "select",
253
- "checkbox",
254
- "autocomplete-table-select",
255
- "table-select",
256
- "textarea",
257
- "slide-toggle"
258
- ],
259
- "default": "default"
361
+ "hasClearButton": {
362
+ "type": "boolean"
260
363
  }
261
- },
262
- "required": [
263
- "name"
264
- ],
265
- "additionalProperties": true
364
+ }
266
365
  },
267
366
  "general": {
268
367
  "type": "object",
@@ -340,6 +439,55 @@
340
439
  }
341
440
  }
342
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
+ },
343
491
  "minimumTable": {
344
492
  "type": "object",
345
493
  "properties": {
@@ -433,6 +581,131 @@
433
581
  }
434
582
  ]
435
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
+ },
662
+ "table": {
663
+ "allOf": [
664
+ {
665
+ "$ref": "#/definitions/minimumTable"
666
+ },
667
+ {
668
+ "type": "object",
669
+ "properties": {
670
+ "tableMethod": {
671
+ "$ref": "#/definitions/type"
672
+ },
673
+ "openApi": {
674
+ "type": "object",
675
+ "properties": {
676
+ "operationId": {
677
+ "type": "string",
678
+ "description": "The operationId for the open api operation"
679
+ },
680
+ "adapter": {
681
+ "$ref": "#/definitions/type"
682
+ }
683
+ },
684
+ "required": [
685
+ "operationId"
686
+ ]
687
+ },
688
+ "modifiers": {
689
+ "alias": "modifier",
690
+ "type": "array",
691
+ "items": {
692
+ "type": "string",
693
+ "enum": [
694
+ "navigation-back-header",
695
+ "without-title",
696
+ "show-archived-slide"
697
+ ]
698
+ },
699
+ "description": "The table modifiers"
700
+ },
701
+ "selectColumn": {
702
+ "type": "boolean",
703
+ "description": "Whether to add a select column to the table"
704
+ }
705
+ }
706
+ }
707
+ ]
708
+ },
436
709
  "tableAction": {
437
710
  "type": "object",
438
711
  "properties": {
@@ -554,6 +827,108 @@
554
827
  "name"
555
828
  ]
556
829
  },
830
+ "tableSelectFormControl": {
831
+ "allOf": [
832
+ {
833
+ "$ref": "#/definitions/baseFormControl"
834
+ },
835
+ {
836
+ "type": "object",
837
+ "properties": {
838
+ "formField": {
839
+ "$ref": "#/definitions/formField"
840
+ },
841
+ "kind": {
842
+ "type": "string",
843
+ "const": "table-select"
844
+ },
845
+ "placeholder": {
846
+ "type": "string"
847
+ },
848
+ "columnList": {
849
+ "alias": "column",
850
+ "type": "array",
851
+ "items": {
852
+ "description": "table column name",
853
+ "type": "object",
854
+ "properties": {
855
+ "name": {
856
+ "type": "string",
857
+ "description": "table column name"
858
+ },
859
+ "title": {
860
+ "type": "string",
861
+ "description": "table column label"
862
+ },
863
+ "hasFilter": {
864
+ "type": "boolean",
865
+ "description": "Whether the column has a filter"
866
+ },
867
+ "kind": {
868
+ "type": "string",
869
+ "description": "The kind of data in the column"
870
+ }
871
+ }
872
+ },
873
+ "description": "List of table column names"
874
+ },
875
+ "title": {
876
+ "type": "string",
877
+ "description": "The title of the table select window"
878
+ },
879
+ "toDisplay": {
880
+ "type": "object",
881
+ "properties": {
882
+ "property": {
883
+ "$ref": "#/definitions/property"
884
+ }
885
+ }
886
+ },
887
+ "toValue": {
888
+ "type": "object",
889
+ "properties": {
890
+ "property": {
891
+ "$ref": "#/definitions/property"
892
+ }
893
+ }
894
+ },
895
+ "upstream": {
896
+ "$ref": "#/definitions/upstream"
897
+ },
898
+ "resolver": {
899
+ "type": "object",
900
+ "properties": {
901
+ "upstream": {
902
+ "$ref": "#/definitions/upstream"
903
+ }
904
+ }
905
+ }
906
+ }
907
+ }
908
+ ]
909
+ },
910
+ "textareaFormControl": {
911
+ "allOf": [
912
+ {
913
+ "$ref": "#/definitions/baseFormControl"
914
+ },
915
+ {
916
+ "type": "object",
917
+ "properties": {
918
+ "formField": {
919
+ "$ref": "#/definitions/formField"
920
+ },
921
+ "kind": {
922
+ "type": "string",
923
+ "const": "textarea"
924
+ },
925
+ "placeholder": {
926
+ "type": "string"
927
+ }
928
+ }
929
+ }
930
+ ]
931
+ },
557
932
  "type": {
558
933
  "oneOf": [
559
934
  {