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

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 (135) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +1 -1
  3. package/package.json +8 -8
  4. package/src/lib/accordion-identifier.d.ts +4 -0
  5. package/src/lib/accordion-identifier.js.map +1 -1
  6. package/src/lib/accordion-item.d.ts +13 -6
  7. package/src/lib/accordion-item.js +19 -4
  8. package/src/lib/accordion-item.js.map +1 -1
  9. package/src/lib/coerce-accordion-component.js +1 -1
  10. package/src/lib/coerce-accordion-component.js.map +1 -1
  11. package/src/lib/coerce-accordion-item-table-component.js +1 -1
  12. package/src/lib/coerce-accordion-item-table-component.js.map +1 -1
  13. package/src/lib/data-grid-options.d.ts +9 -1
  14. package/src/lib/data-grid-options.js +36 -6
  15. package/src/lib/data-grid-options.js.map +1 -1
  16. package/src/lib/form-control.d.ts +9 -3
  17. package/src/lib/form-control.js +19 -54
  18. package/src/lib/form-control.js.map +1 -1
  19. package/src/lib/merge-with-column-list.js +3 -1
  20. package/src/lib/merge-with-column-list.js.map +1 -1
  21. package/src/lib/minimum-table-component-options.js +2 -2
  22. package/src/lib/minimum-table-component-options.js.map +1 -1
  23. package/src/lib/pipe-option.js +0 -2
  24. package/src/lib/pipe-option.js.map +1 -1
  25. package/src/lib/table-column.d.ts +9 -5
  26. package/src/lib/table-column.js +36 -60
  27. package/src/lib/table-column.js.map +1 -1
  28. package/src/schema.json +2368 -0
  29. package/src/schematic-input.schema.json +607 -0
  30. package/src/schematics/accordion/accordion-component/index.d.ts +5 -2
  31. package/src/schematics/accordion/accordion-component/index.js +51 -25
  32. package/src/schematics/accordion/accordion-component/index.js.map +1 -1
  33. package/src/schematics/accordion/accordion-component/schema.d.ts +6 -0
  34. package/src/schematics/accordion/accordion-component/schema.json +183 -360
  35. package/src/schematics/accordion/accordion-component/template.schema.json +22 -25
  36. package/src/schematics/accordion/accordion-item-component/index.d.ts +7 -2
  37. package/src/schematics/accordion/accordion-item-component/index.js +70 -49
  38. package/src/schematics/accordion/accordion-item-component/index.js.map +1 -1
  39. package/src/schematics/accordion/accordion-item-component/schema.json +167 -336
  40. package/src/schematics/accordion/accordion-item-component/template.schema.json +8 -15
  41. package/src/schematics/accordion/item/accordion-item-data-grid-component/index.d.ts +1 -1
  42. package/src/schematics/accordion/item/accordion-item-data-grid-component/index.js +21 -25
  43. package/src/schematics/accordion/item/accordion-item-data-grid-component/index.js.map +1 -1
  44. package/src/schematics/accordion/item/accordion-item-data-grid-component/schema.json +331 -429
  45. package/src/schematics/accordion/item/accordion-item-data-grid-component/template.schema.json +9 -15
  46. package/src/schematics/accordion/item/accordion-item-switch-component/index.d.ts +1 -1
  47. package/src/schematics/accordion/item/accordion-item-switch-component/index.js +14 -6
  48. package/src/schematics/accordion/item/accordion-item-switch-component/index.js.map +1 -1
  49. package/src/schematics/accordion/item/accordion-item-switch-component/schema.json +174 -346
  50. package/src/schematics/accordion/item/accordion-item-switch-component/template.schema.json +6 -15
  51. package/src/schematics/accordion/item/accordion-item-table-component/index.d.ts +1 -1
  52. package/src/schematics/accordion/item/accordion-item-table-component/index.js +11 -13
  53. package/src/schematics/accordion/item/accordion-item-table-component/index.js.map +1 -1
  54. package/src/schematics/accordion/item/accordion-item-table-component/schema.json +453 -614
  55. package/src/schematics/accordion/item/accordion-item-table-component/template.schema.json +9 -18
  56. package/src/schematics/accordion/item/accordion-item-tree-table-component/index.d.ts +1 -1
  57. package/src/schematics/accordion/item/accordion-item-tree-table-component/index.js +37 -61
  58. package/src/schematics/accordion/item/accordion-item-tree-table-component/index.js.map +1 -1
  59. package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.json +431 -592
  60. package/src/schematics/accordion/item/accordion-item-tree-table-component/template.schema.json +10 -19
  61. package/src/schematics/accordion-identifier.schema.json +25 -0
  62. package/src/schematics/accordion-item.schema.json +24 -0
  63. package/src/schematics/angular.schema.json +11 -3
  64. package/src/schematics/button.schema.json +1 -1
  65. package/src/schematics/data-grid-component/index.d.ts +2 -3
  66. package/src/schematics/data-grid-component/index.js +42 -45
  67. package/src/schematics/data-grid-component/index.js.map +1 -1
  68. package/src/schematics/data-grid-component/schema.json +261 -375
  69. package/src/schematics/data-grid-component/template.schema.json +6 -15
  70. package/src/schematics/data-grid-item.schema.json +4 -1
  71. package/src/schematics/data-grid.schema.json +26 -4
  72. package/src/schematics/dialog-component/schema.json +72 -158
  73. package/src/schematics/dialog-component/template.schema.json +3 -6
  74. package/src/schematics/form/control/input-form-control/schema.json +108 -306
  75. package/src/schematics/form/control/input-form-control/template.schema.json +6 -9
  76. package/src/schematics/form/control/select-form-control/schema.json +120 -307
  77. package/src/schematics/form/control/select-form-control/template.schema.json +6 -9
  78. package/src/schematics/form/control/table-select-form-control/index.d.ts +7 -1
  79. package/src/schematics/form/control/table-select-form-control/index.js +195 -149
  80. package/src/schematics/form/control/table-select-form-control/index.js.map +1 -1
  81. package/src/schematics/form/control/table-select-form-control/schema.json +101 -296
  82. package/src/schematics/form/control/table-select-form-control/template.schema.json +11 -6
  83. package/src/schematics/form/form-component/index.d.ts +2 -0
  84. package/src/schematics/form/form-component/index.js +6 -4
  85. package/src/schematics/form/form-component/index.js.map +1 -1
  86. package/src/schematics/form/form-component/schema.d.ts +3 -1
  87. package/src/schematics/form/form-component/schema.json +176 -233
  88. package/src/schematics/form/form-component/template.schema.json +6 -9
  89. package/src/schematics/form/form-control/schema.json +68 -176
  90. package/src/schematics/form/form-control/template.schema.json +6 -9
  91. package/src/schematics/form/form-definition/schema.json +125 -230
  92. package/src/schematics/form/form-definition/template.schema.json +6 -9
  93. package/src/schematics/form-component.schema.json +9 -3
  94. package/src/schematics/form-definition.schema.json +3 -3
  95. package/src/schematics/general.schema.json +1 -4
  96. package/src/schematics/input-form-control.schema.json +11 -3
  97. package/src/schematics/minimum-table.schema.json +11 -5
  98. package/src/schematics/pipe.schema.json +1 -1
  99. package/src/schematics/select-form-control.schema.json +15 -4
  100. package/src/schematics/table/action/dialog-table-action/schema.json +150 -230
  101. package/src/schematics/table/action/dialog-table-action/template.schema.json +3 -6
  102. package/src/schematics/table/action/form-table-action/schema.json +317 -310
  103. package/src/schematics/table/action/form-table-action/template.schema.json +6 -6
  104. package/src/schematics/table/action/navigation-table-action/schema.json +150 -230
  105. package/src/schematics/table/action/navigation-table-action/template.schema.json +3 -6
  106. package/src/schematics/table/action/open-api-table-action/schema.json +150 -230
  107. package/src/schematics/table/action/open-api-table-action/template.schema.json +3 -6
  108. package/src/schematics/table/action/operation-table-action/schema.json +138 -218
  109. package/src/schematics/table/action/operation-table-action/template.schema.json +3 -6
  110. package/src/schematics/table/header-button/form-table-header-button/schema.json +217 -261
  111. package/src/schematics/table/header-button/form-table-header-button/template.schema.json +6 -6
  112. package/src/schematics/table/header-button/navigation-table-header-button/schema.json +131 -211
  113. package/src/schematics/table/header-button/navigation-table-header-button/template.schema.json +3 -6
  114. package/src/schematics/table/table-action/schema.json +56 -139
  115. package/src/schematics/table/table-action/template.schema.json +6 -6
  116. package/src/schematics/table/table-component/index.d.ts +10 -2
  117. package/src/schematics/table/table-component/index.js +13 -1
  118. package/src/schematics/table/table-component/index.js.map +1 -1
  119. package/src/schematics/table/table-component/schema.json +352 -547
  120. package/src/schematics/table/table-component/template.schema.json +6 -18
  121. package/src/schematics/table/table-header-button/schema.json +56 -139
  122. package/src/schematics/table/table-header-button/template.schema.json +6 -6
  123. package/src/schematics/table/tree-table-component/files/component/__componentName__.component.html.hbs +6 -0
  124. package/src/schematics/table/tree-table-component/index.d.ts +3 -0
  125. package/src/schematics/table/tree-table-component/index.js +11 -3
  126. package/src/schematics/table/tree-table-component/index.js.map +1 -1
  127. package/src/schematics/table/tree-table-component/schema.json +352 -547
  128. package/src/schematics/table/tree-table-component/template.schema.json +6 -18
  129. package/src/schematics/table-column.schema.json +4 -1
  130. package/src/schematics/table.schema.json +4 -1
  131. package/src/schematics/tree-component/schema.json +70 -62
  132. package/src/schematics/tree-component/template.schema.json +7 -2
  133. package/src/schematics/tree-table.schema.json +3 -3
  134. package/src/schematics/value.schema.json +1 -1
  135. package/src/template.schema.json +173 -0
@@ -3,45 +3,83 @@
3
3
  "$id": "accordion-item-table-component-schematic",
4
4
  "allOf": [
5
5
  {
6
+ "$ref": "#/definitions/angular"
7
+ },
8
+ {
9
+ "$ref": "#/definitions/accordionItem"
10
+ },
11
+ {
12
+ "type": "object",
13
+ "properties": {
14
+ "modifiers": {
15
+ "alias": "modifier",
16
+ "type": "array",
17
+ "items": {
18
+ "type": "string",
19
+ "enum": [
20
+ "navigation-back-header",
21
+ "without-title"
22
+ ]
23
+ },
24
+ "description": "The table modifiers"
25
+ },
26
+ "table": {
27
+ "$ref": "#/definitions/table"
28
+ }
29
+ }
30
+ }
31
+ ],
32
+ "definitions": {
33
+ "accordionItem": {
34
+ "type": "object",
35
+ "properties": {
36
+ "kind": {
37
+ "type": "string",
38
+ "enum": [
39
+ "default",
40
+ "table",
41
+ "data-grid",
42
+ "data-grid-collection",
43
+ "tree-table",
44
+ "switch"
45
+ ],
46
+ "description": "The type of the accordion item",
47
+ "default": "panel"
48
+ },
49
+ "modifiers": {
50
+ "alias": "modifier",
51
+ "type": "array",
52
+ "items": {
53
+ "type": "string"
54
+ },
55
+ "description": "The modifiers to apply to the accordion item type"
56
+ },
57
+ "identifier": {
58
+ "$ref": "#/definitions/accordionIdentifier"
59
+ },
60
+ "title": {
61
+ "type": "string"
62
+ },
63
+ "description": {
64
+ "type": "string"
65
+ },
66
+ "upstream": {
67
+ "$ref": "#/definitions/upstream"
68
+ },
69
+ "propertyList": {
70
+ "alias": "property",
71
+ "type": "array",
72
+ "items": {
73
+ "$ref": "#/definitions/property"
74
+ }
75
+ }
76
+ },
77
+ "additionalProperties": true
78
+ },
79
+ "angular": {
6
80
  "allOf": [
7
81
  {
8
- "type": "object",
9
- "properties": {
10
- "project": {
11
- "type": "string",
12
- "description": "Project name where the files should be generated"
13
- },
14
- "feature": {
15
- "type": "string",
16
- "description": "Feature name where the files should be generated"
17
- },
18
- "overwrite": {
19
- "anyOf": [
20
- {
21
- "type": "boolean"
22
- },
23
- {
24
- "type": "array",
25
- "items": {
26
- "type": "string"
27
- }
28
- }
29
- ],
30
- "description": "Overwrite existing files",
31
- "default": false
32
- },
33
- "overwriteHtml": {
34
- "type": "boolean",
35
- "default": false
36
- },
37
- "replace": {
38
- "type": "boolean",
39
- "default": false
40
- }
41
- },
42
- "required": [
43
- "project"
44
- ]
82
+ "$ref": "#/definitions/general"
45
83
  },
46
84
  {
47
85
  "type": "object",
@@ -64,15 +102,7 @@
64
102
  "type": "string"
65
103
  },
66
104
  "backend": {
67
- "type": "string",
68
- "description": "The backend that should be used to handel data",
69
- "enum": [
70
- "none",
71
- "nestjs",
72
- "open-api",
73
- "local"
74
- ],
75
- "default": "none"
105
+ "$ref": "#/definitions/backend"
76
106
  },
77
107
  "directory": {
78
108
  "type": "string",
@@ -97,382 +127,284 @@
97
127
  }
98
128
  ]
99
129
  },
100
- {
130
+ "table": {
131
+ "allOf": [
132
+ {
133
+ "$ref": "#/definitions/minimumTable"
134
+ },
135
+ {
136
+ "type": "object",
137
+ "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"
168
+ },
169
+ "selectColumn": {
170
+ "type": "boolean",
171
+ "description": "Whether to add a select column to the table"
172
+ }
173
+ }
174
+ }
175
+ ]
176
+ },
177
+ "accordionIdentifier": {
101
178
  "type": "object",
102
179
  "properties": {
103
- "kind": {
180
+ "property": {
181
+ "$ref": "#/definitions/property"
182
+ },
183
+ "source": {
104
184
  "type": "string",
105
185
  "enum": [
106
- "default",
107
- "table",
108
- "data-grid",
109
- "data-grid-collection",
110
- "tree-table",
111
- "switch"
186
+ "route"
112
187
  ],
113
- "description": "The type of the accordion item",
114
- "default": "panel"
188
+ "default": "route"
189
+ }
190
+ },
191
+ "required": [
192
+ "property"
193
+ ]
194
+ },
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"
205
+ },
206
+ "formControl": {
207
+ "type": "object",
208
+ "properties": {
209
+ "name": {
210
+ "type": "string",
211
+ "description": "The name of the control"
115
212
  },
116
- "modifiers": {
117
- "alias": "modifier",
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
234
+ },
235
+ "isDisabled": {
236
+ "type": "boolean",
237
+ "description": "Whether the control value is disabled",
238
+ "default": false
239
+ },
240
+ "validatorList": {
118
241
  "type": "array",
119
242
  "items": {
120
243
  "type": "string"
121
- },
122
- "description": "The modifiers to apply to the accordion item type"
244
+ }
123
245
  },
124
- "title": {
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"
260
+ }
261
+ },
262
+ "required": [
263
+ "name"
264
+ ],
265
+ "additionalProperties": true
266
+ },
267
+ "general": {
268
+ "type": "object",
269
+ "properties": {
270
+ "project": {
271
+ "type": "string",
272
+ "description": "Project name where the files should be generated"
273
+ },
274
+ "feature": {
275
+ "type": "string",
276
+ "description": "Feature name where the files should be generated"
277
+ },
278
+ "overwrite": {
279
+ "anyOf": [
280
+ {
281
+ "type": "boolean"
282
+ },
283
+ {
284
+ "type": "array",
285
+ "items": {
286
+ "type": "string"
287
+ }
288
+ }
289
+ ],
290
+ "description": "Overwrite existing files",
291
+ "default": false
292
+ },
293
+ "overwriteHtml": {
294
+ "type": "boolean",
295
+ "default": false
296
+ },
297
+ "replace": {
298
+ "type": "boolean",
299
+ "default": false
300
+ }
301
+ }
302
+ },
303
+ "headerButton": {
304
+ "type": "object",
305
+ "properties": {
306
+ "permission": {
125
307
  "type": "string"
126
308
  },
127
- "description": {
309
+ "icon": {
310
+ "type": "string"
311
+ },
312
+ "svgIcon": {
128
313
  "type": "string"
314
+ },
315
+ "refresh": {
316
+ "type": "boolean",
317
+ "description": "Whether the table action should refresh the table after execution",
318
+ "default": false
319
+ },
320
+ "confirm": {
321
+ "type": "boolean",
322
+ "description": "Whether the table action should confirm before execution",
323
+ "default": false
324
+ },
325
+ "tooltip": {
326
+ "type": "string",
327
+ "description": "The tooltip for the table action"
328
+ },
329
+ "errorMessage": {
330
+ "type": "string",
331
+ "description": "The error message for the table action"
332
+ },
333
+ "successMessage": {
334
+ "type": "string",
335
+ "description": "The success message for the table action"
336
+ },
337
+ "options": {
338
+ "type": "object",
339
+ "additionalProperties": true
129
340
  }
130
- },
131
- "additionalProperties": true
341
+ }
132
342
  },
133
- {
343
+ "minimumTable": {
134
344
  "type": "object",
135
345
  "properties": {
346
+ "propertyList": {
347
+ "alias": "property",
348
+ "type": "array",
349
+ "items": {
350
+ "$ref": "#/definitions/property"
351
+ }
352
+ },
353
+ "upstream": {
354
+ "$ref": "#/definitions/upstream"
355
+ },
356
+ "columnList": {
357
+ "alias": "column",
358
+ "type": "array",
359
+ "items": {
360
+ "$ref": "#/definitions/tableColumn"
361
+ },
362
+ "description": "List of table column names"
363
+ },
364
+ "actionList": {
365
+ "alias": "action",
366
+ "type": "array",
367
+ "items": {
368
+ "$ref": "#/definitions/tableAction"
369
+ }
370
+ },
371
+ "headerButton": {
372
+ "$ref": "#/definitions/headerButton"
373
+ },
136
374
  "modifiers": {
137
375
  "alias": "modifier",
138
376
  "type": "array",
139
377
  "items": {
140
- "type": "string",
141
- "enum": [
142
- "navigation-back-header",
143
- "without-title"
144
- ]
378
+ "type": "string"
145
379
  },
146
380
  "description": "The table modifiers"
381
+ }
382
+ }
383
+ },
384
+ "pipe": {
385
+ "oneOf": [
386
+ {
387
+ "type": "string"
147
388
  },
148
- "table": {
389
+ {
149
390
  "allOf": [
150
391
  {
151
- "type": "object",
152
- "properties": {
153
- "propertyList": {
154
- "alias": "property",
155
- "type": "array",
156
- "items": {
157
- "$ref": "#/definitions/property"
158
- }
159
- },
160
- "upstream": {
161
- "$ref": "#/definitions/upstream"
162
- },
163
- "columnList": {
164
- "alias": "column",
165
- "type": "array",
166
- "items": {
167
- "type": "object",
168
- "properties": {
169
- "name": {
170
- "type": "string"
171
- },
172
- "type": {
173
- "$ref": "#/definitions/type"
174
- },
175
- "kind": {
176
- "type": "string"
177
- },
178
- "modifiers": {
179
- "type": "array",
180
- "items": {
181
- "type": "string"
182
- }
183
- },
184
- "template": {
185
- "type": "string"
186
- },
187
- "pipeList": {
188
- "type": "array",
189
- "items": {
190
- "$ref": "#/definitions/pipe"
191
- }
192
- },
193
- "hasFilter": {
194
- "type": "boolean"
195
- },
196
- "nowrap": {
197
- "type": "boolean"
198
- },
199
- "cssClass": {
200
- "type": "string"
201
- },
202
- "title": {
203
- "type": "string"
204
- },
205
- "propertyPath": {
206
- "type": "string"
207
- },
208
- "hidden": {
209
- "type": "boolean"
210
- },
211
- "active": {
212
- "type": "boolean"
213
- },
214
- "inactive": {
215
- "type": "boolean"
216
- },
217
- "show": {
218
- "type": "boolean"
219
- },
220
- "filterControl": {
221
- "type": "object",
222
- "properties": {
223
- "name": {
224
- "type": "string",
225
- "description": "The name of the control"
226
- },
227
- "type": {
228
- "$ref": "#/definitions/type"
229
- },
230
- "isArray": {
231
- "type": "boolean",
232
- "description": "Whether the control value is an array",
233
- "default": false
234
- },
235
- "state": {
236
- "type": "string",
237
- "description": "The initial state of the control"
238
- },
239
- "isRequired": {
240
- "type": "boolean",
241
- "description": "Whether the control value is required",
242
- "default": false
243
- },
244
- "isReadonly": {
245
- "type": "boolean",
246
- "description": "Whether the control value is readonly",
247
- "default": false
248
- },
249
- "isDisabled": {
250
- "type": "boolean",
251
- "description": "Whether the control value is disabled",
252
- "default": false
253
- },
254
- "validatorList": {
255
- "type": "array",
256
- "items": {
257
- "type": "string"
258
- }
259
- },
260
- "kind": {
261
- "type": "string",
262
- "description": "The name of the template",
263
- "enum": [
264
- "default",
265
- "input",
266
- "select",
267
- "checkbox",
268
- "autocomplete-table-select",
269
- "table-select",
270
- "textarea",
271
- "slide-toggle"
272
- ],
273
- "default": "default"
274
- }
275
- },
276
- "required": [
277
- "name"
278
- ],
279
- "additionalProperties": true
280
- }
281
- },
282
- "required": [
283
- "name"
284
- ]
285
- },
286
- "description": "List of table column names"
287
- },
288
- "actionList": {
289
- "alias": "action",
290
- "type": "array",
291
- "items": {
292
- "type": "object",
293
- "properties": {
294
- "type": {
295
- "type": "string"
296
- },
297
- "refresh": {
298
- "type": "boolean"
299
- },
300
- "confirm": {
301
- "type": "boolean"
302
- },
303
- "tooltip": {
304
- "type": "string"
305
- },
306
- "errorMessage": {
307
- "type": "string"
308
- },
309
- "successMessage": {
310
- "type": "string"
311
- },
312
- "priority": {
313
- "type": "number"
314
- },
315
- "checkFunction": {
316
- "type": "string"
317
- },
318
- "inHeader": {
319
- "type": "boolean"
320
- },
321
- "role": {
322
- "type": "string"
323
- },
324
- "icon": {
325
- "type": "string"
326
- },
327
- "svgIcon": {
328
- "type": "string"
329
- },
330
- "permission": {
331
- "type": "string"
332
- },
333
- "color": {
334
- "type": "string",
335
- "description": "Value for the color input of the mat-button / mat-icon component"
336
- },
337
- "cssClass": {
338
- "type": "string",
339
- "description": "Additional CSS classes added to the button element"
340
- },
341
- "options": {
342
- "type": "object",
343
- "additionalProperties": true
344
- }
345
- },
346
- "required": [
347
- "type"
348
- ]
349
- }
350
- },
351
- "headerButton": {
352
- "type": "object",
353
- "properties": {
354
- "permission": {
355
- "type": "string"
356
- },
357
- "icon": {
358
- "type": "string"
359
- },
360
- "svgIcon": {
361
- "type": "string"
362
- },
363
- "refresh": {
364
- "type": "boolean",
365
- "description": "Whether the table action should refresh the table after execution",
366
- "default": false
367
- },
368
- "confirm": {
369
- "type": "boolean",
370
- "description": "Whether the table action should confirm before execution",
371
- "default": false
372
- },
373
- "tooltip": {
374
- "type": "string",
375
- "description": "The tooltip for the table action"
376
- },
377
- "errorMessage": {
378
- "type": "string",
379
- "description": "The error message for the table action"
380
- },
381
- "successMessage": {
382
- "type": "string",
383
- "description": "The success message for the table action"
384
- },
385
- "options": {
386
- "type": "object",
387
- "additionalProperties": true
388
- }
389
- }
390
- },
391
- "modifiers": {
392
- "alias": "modifier",
393
- "type": "array",
394
- "items": {
395
- "type": "string"
396
- },
397
- "description": "The table modifiers"
398
- }
399
- }
392
+ "$ref": "#/definitions/type"
400
393
  },
401
394
  {
402
395
  "type": "object",
403
396
  "properties": {
404
- "tableMethod": {
405
- "$ref": "#/definitions/type"
406
- },
407
- "openApi": {
408
- "type": "object",
409
- "properties": {
410
- "operationId": {
411
- "type": "string",
412
- "description": "The operationId for the open api operation"
413
- },
414
- "adapter": {
415
- "$ref": "#/definitions/type"
416
- }
417
- },
418
- "required": [
419
- "operationId"
420
- ]
421
- },
422
- "modifiers": {
423
- "alias": "modifier",
397
+ "argumentList": {
424
398
  "type": "array",
425
399
  "items": {
426
- "type": "string",
427
- "enum": [
428
- "navigation-back-header",
429
- "without-title",
430
- "show-archived-slide"
431
- ]
432
- },
433
- "description": "The table modifiers"
434
- },
435
- "selectColumn": {
436
- "type": "boolean",
437
- "description": "Whether to add a select column to the table"
400
+ "$ref": "#/definitions/value"
401
+ }
438
402
  }
439
- }
440
- }
441
- ]
442
- }
443
- }
444
- }
445
- ],
446
- "definitions": {
447
- "type": {
448
- "oneOf": [
449
- {
450
- "type": "string"
451
- },
452
- {
453
- "type": "object",
454
- "properties": {
455
- "name": {
456
- "type": "string"
457
- },
458
- "isTypeOnly": {
459
- "type": "boolean"
460
- },
461
- "moduleSpecifier": {
462
- "type": "string"
463
- },
464
- "namedImport": {
465
- "type": "string"
466
- },
467
- "namespaceImport": {
468
- "type": "string"
469
- },
470
- "defaultImport": {
471
- "type": "string"
403
+ },
404
+ "required": [
405
+ "name"
406
+ ]
472
407
  }
473
- },
474
- "required": [
475
- "name"
476
408
  ]
477
409
  }
478
410
  ]
@@ -499,100 +431,161 @@
499
431
  "name"
500
432
  ]
501
433
  }
502
- ],
503
- "definitions": {
434
+ ]
435
+ },
436
+ "tableAction": {
437
+ "type": "object",
438
+ "properties": {
504
439
  "type": {
505
- "oneOf": [
506
- {
507
- "type": "string"
508
- },
509
- {
510
- "type": "object",
511
- "properties": {
512
- "name": {
513
- "type": "string"
514
- },
515
- "isTypeOnly": {
516
- "type": "boolean"
517
- },
518
- "moduleSpecifier": {
519
- "type": "string"
520
- },
521
- "namedImport": {
522
- "type": "string"
523
- },
524
- "namespaceImport": {
525
- "type": "string"
526
- },
527
- "defaultImport": {
528
- "type": "string"
529
- }
530
- },
531
- "required": [
532
- "name"
533
- ]
534
- }
535
- ]
440
+ "type": "string"
441
+ },
442
+ "refresh": {
443
+ "type": "boolean"
444
+ },
445
+ "confirm": {
446
+ "type": "boolean"
447
+ },
448
+ "tooltip": {
449
+ "type": "string"
450
+ },
451
+ "errorMessage": {
452
+ "type": "string"
453
+ },
454
+ "successMessage": {
455
+ "type": "string"
456
+ },
457
+ "priority": {
458
+ "type": "number"
459
+ },
460
+ "checkFunction": {
461
+ "type": "string"
462
+ },
463
+ "inHeader": {
464
+ "type": "boolean"
465
+ },
466
+ "role": {
467
+ "type": "string"
468
+ },
469
+ "icon": {
470
+ "type": "string"
471
+ },
472
+ "svgIcon": {
473
+ "type": "string"
474
+ },
475
+ "permission": {
476
+ "type": "string"
477
+ },
478
+ "color": {
479
+ "type": "string",
480
+ "description": "Value for the color input of the mat-button / mat-icon component"
481
+ },
482
+ "cssClass": {
483
+ "type": "string",
484
+ "description": "Additional CSS classes added to the button element"
485
+ },
486
+ "options": {
487
+ "type": "object",
488
+ "additionalProperties": true
536
489
  }
537
- }
490
+ },
491
+ "required": [
492
+ "type"
493
+ ]
538
494
  },
539
- "button": {
495
+ "tableColumn": {
540
496
  "type": "object",
541
497
  "properties": {
542
- "svgIcon": {
498
+ "name": {
543
499
  "type": "string"
544
500
  },
545
- "icon": {
501
+ "type": {
502
+ "$ref": "#/definitions/type"
503
+ },
504
+ "kind": {
546
505
  "type": "string"
547
506
  },
548
- "directiveList": {
507
+ "modifiers": {
549
508
  "type": "array",
550
509
  "items": {
551
- "$ref": "#/definitions/type"
510
+ "type": "string"
552
511
  }
553
512
  },
554
- "importList": {
513
+ "template": {
514
+ "type": "string"
515
+ },
516
+ "pipeList": {
555
517
  "type": "array",
556
518
  "items": {
557
- "$ref": "#/definitions/type"
519
+ "$ref": "#/definitions/pipe"
558
520
  }
521
+ },
522
+ "hasFilter": {
523
+ "type": "boolean"
524
+ },
525
+ "nowrap": {
526
+ "type": "boolean"
527
+ },
528
+ "cssClass": {
529
+ "type": "string"
530
+ },
531
+ "title": {
532
+ "type": "string"
533
+ },
534
+ "propertyPath": {
535
+ "type": "string"
536
+ },
537
+ "hidden": {
538
+ "type": "boolean"
539
+ },
540
+ "active": {
541
+ "type": "boolean"
542
+ },
543
+ "inactive": {
544
+ "type": "boolean"
545
+ },
546
+ "show": {
547
+ "type": "boolean"
548
+ },
549
+ "filterControl": {
550
+ "$ref": "#/definitions/formControl"
559
551
  }
560
552
  },
561
- "definitions": {
562
- "type": {
563
- "oneOf": [
564
- {
553
+ "required": [
554
+ "name"
555
+ ]
556
+ },
557
+ "type": {
558
+ "oneOf": [
559
+ {
560
+ "type": "string"
561
+ },
562
+ {
563
+ "type": "object",
564
+ "properties": {
565
+ "name": {
565
566
  "type": "string"
566
567
  },
567
- {
568
- "type": "object",
569
- "properties": {
570
- "name": {
571
- "type": "string"
572
- },
573
- "isTypeOnly": {
574
- "type": "boolean"
575
- },
576
- "moduleSpecifier": {
577
- "type": "string"
578
- },
579
- "namedImport": {
580
- "type": "string"
581
- },
582
- "namespaceImport": {
583
- "type": "string"
584
- },
585
- "defaultImport": {
586
- "type": "string"
587
- }
588
- },
589
- "required": [
590
- "name"
591
- ]
568
+ "isTypeOnly": {
569
+ "type": "boolean"
570
+ },
571
+ "moduleSpecifier": {
572
+ "type": "string"
573
+ },
574
+ "namedImport": {
575
+ "type": "string"
576
+ },
577
+ "namespaceImport": {
578
+ "type": "string"
579
+ },
580
+ "defaultImport": {
581
+ "type": "string"
592
582
  }
583
+ },
584
+ "required": [
585
+ "name"
593
586
  ]
594
587
  }
595
- }
588
+ ]
596
589
  },
597
590
  "upstream": {
598
591
  "oneOf": [
@@ -653,125 +646,6 @@
653
646
  }
654
647
  ]
655
648
  },
656
- "pipe": {
657
- "oneOf": [
658
- {
659
- "type": "string"
660
- },
661
- {
662
- "allOf": [
663
- {
664
- "$ref": "#/definitions/type"
665
- },
666
- {
667
- "type": "object",
668
- "properties": {
669
- "argumentList": {
670
- "type": "array",
671
- "items": {
672
- "$ref": "#/definitions/value"
673
- }
674
- }
675
- },
676
- "required": [
677
- "name"
678
- ]
679
- }
680
- ]
681
- }
682
- ],
683
- "definitions": {
684
- "type": {
685
- "oneOf": [
686
- {
687
- "type": "string"
688
- },
689
- {
690
- "type": "object",
691
- "properties": {
692
- "name": {
693
- "type": "string"
694
- },
695
- "isTypeOnly": {
696
- "type": "boolean"
697
- },
698
- "moduleSpecifier": {
699
- "type": "string"
700
- },
701
- "namedImport": {
702
- "type": "string"
703
- },
704
- "namespaceImport": {
705
- "type": "string"
706
- },
707
- "defaultImport": {
708
- "type": "string"
709
- }
710
- },
711
- "required": [
712
- "name"
713
- ]
714
- }
715
- ]
716
- },
717
- "value": {
718
- "oneOf": [
719
- {
720
- "type": "string"
721
- },
722
- {
723
- "type": "object",
724
- "properties": {
725
- "type": {
726
- "$ref": "#/definitions/type"
727
- },
728
- "value": {
729
- "type": "string"
730
- }
731
- },
732
- "required": [
733
- "value"
734
- ]
735
- }
736
- ],
737
- "definitions": {
738
- "type": {
739
- "oneOf": [
740
- {
741
- "type": "string"
742
- },
743
- {
744
- "type": "object",
745
- "properties": {
746
- "name": {
747
- "type": "string"
748
- },
749
- "isTypeOnly": {
750
- "type": "boolean"
751
- },
752
- "moduleSpecifier": {
753
- "type": "string"
754
- },
755
- "namedImport": {
756
- "type": "string"
757
- },
758
- "namespaceImport": {
759
- "type": "string"
760
- },
761
- "defaultImport": {
762
- "type": "string"
763
- }
764
- },
765
- "required": [
766
- "name"
767
- ]
768
- }
769
- ]
770
- }
771
- }
772
- }
773
- }
774
- },
775
649
  "value": {
776
650
  "oneOf": [
777
651
  {
@@ -791,42 +665,7 @@
791
665
  "value"
792
666
  ]
793
667
  }
794
- ],
795
- "definitions": {
796
- "type": {
797
- "oneOf": [
798
- {
799
- "type": "string"
800
- },
801
- {
802
- "type": "object",
803
- "properties": {
804
- "name": {
805
- "type": "string"
806
- },
807
- "isTypeOnly": {
808
- "type": "boolean"
809
- },
810
- "moduleSpecifier": {
811
- "type": "string"
812
- },
813
- "namedImport": {
814
- "type": "string"
815
- },
816
- "namespaceImport": {
817
- "type": "string"
818
- },
819
- "defaultImport": {
820
- "type": "string"
821
- }
822
- },
823
- "required": [
824
- "name"
825
- ]
826
- }
827
- ]
828
- }
829
- }
668
+ ]
830
669
  }
831
670
  }
832
671
  }