@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,17 @@
3
3
  "$id": "table-component-schematic",
4
4
  "allOf": [
5
5
  {
6
+ "$ref": "#/definitions/angular"
7
+ },
8
+ {
9
+ "$ref": "#/definitions/table"
10
+ }
11
+ ],
12
+ "definitions": {
13
+ "angular": {
6
14
  "allOf": [
7
15
  {
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
- ]
16
+ "$ref": "#/definitions/general"
45
17
  },
46
18
  {
47
19
  "type": "object",
@@ -64,15 +36,7 @@
64
36
  "type": "string"
65
37
  },
66
38
  "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"
39
+ "$ref": "#/definitions/backend"
76
40
  },
77
41
  "directory": {
78
42
  "type": "string",
@@ -97,258 +61,10 @@
97
61
  }
98
62
  ]
99
63
  },
100
- {
64
+ "table": {
101
65
  "allOf": [
102
66
  {
103
- "type": "object",
104
- "properties": {
105
- "propertyList": {
106
- "alias": "property",
107
- "type": "array",
108
- "items": {
109
- "$ref": "#/definitions/property"
110
- }
111
- },
112
- "upstream": {
113
- "$ref": "#/definitions/upstream"
114
- },
115
- "columnList": {
116
- "alias": "column",
117
- "type": "array",
118
- "items": {
119
- "type": "object",
120
- "properties": {
121
- "name": {
122
- "type": "string"
123
- },
124
- "type": {
125
- "$ref": "#/definitions/type"
126
- },
127
- "kind": {
128
- "type": "string"
129
- },
130
- "modifiers": {
131
- "type": "array",
132
- "items": {
133
- "type": "string"
134
- }
135
- },
136
- "template": {
137
- "type": "string"
138
- },
139
- "pipeList": {
140
- "type": "array",
141
- "items": {
142
- "$ref": "#/definitions/pipe"
143
- }
144
- },
145
- "hasFilter": {
146
- "type": "boolean"
147
- },
148
- "nowrap": {
149
- "type": "boolean"
150
- },
151
- "cssClass": {
152
- "type": "string"
153
- },
154
- "title": {
155
- "type": "string"
156
- },
157
- "propertyPath": {
158
- "type": "string"
159
- },
160
- "hidden": {
161
- "type": "boolean"
162
- },
163
- "active": {
164
- "type": "boolean"
165
- },
166
- "inactive": {
167
- "type": "boolean"
168
- },
169
- "show": {
170
- "type": "boolean"
171
- },
172
- "filterControl": {
173
- "type": "object",
174
- "properties": {
175
- "name": {
176
- "type": "string",
177
- "description": "The name of the control"
178
- },
179
- "type": {
180
- "$ref": "#/definitions/type"
181
- },
182
- "isArray": {
183
- "type": "boolean",
184
- "description": "Whether the control value is an array",
185
- "default": false
186
- },
187
- "state": {
188
- "type": "string",
189
- "description": "The initial state of the control"
190
- },
191
- "isRequired": {
192
- "type": "boolean",
193
- "description": "Whether the control value is required",
194
- "default": false
195
- },
196
- "isReadonly": {
197
- "type": "boolean",
198
- "description": "Whether the control value is readonly",
199
- "default": false
200
- },
201
- "isDisabled": {
202
- "type": "boolean",
203
- "description": "Whether the control value is disabled",
204
- "default": false
205
- },
206
- "validatorList": {
207
- "type": "array",
208
- "items": {
209
- "type": "string"
210
- }
211
- },
212
- "kind": {
213
- "type": "string",
214
- "description": "The name of the template",
215
- "enum": [
216
- "default",
217
- "input",
218
- "select",
219
- "checkbox",
220
- "autocomplete-table-select",
221
- "table-select",
222
- "textarea",
223
- "slide-toggle"
224
- ],
225
- "default": "default"
226
- }
227
- },
228
- "required": [
229
- "name"
230
- ],
231
- "additionalProperties": true
232
- }
233
- },
234
- "required": [
235
- "name"
236
- ]
237
- },
238
- "description": "List of table column names"
239
- },
240
- "actionList": {
241
- "alias": "action",
242
- "type": "array",
243
- "items": {
244
- "type": "object",
245
- "properties": {
246
- "type": {
247
- "type": "string"
248
- },
249
- "refresh": {
250
- "type": "boolean"
251
- },
252
- "confirm": {
253
- "type": "boolean"
254
- },
255
- "tooltip": {
256
- "type": "string"
257
- },
258
- "errorMessage": {
259
- "type": "string"
260
- },
261
- "successMessage": {
262
- "type": "string"
263
- },
264
- "priority": {
265
- "type": "number"
266
- },
267
- "checkFunction": {
268
- "type": "string"
269
- },
270
- "inHeader": {
271
- "type": "boolean"
272
- },
273
- "role": {
274
- "type": "string"
275
- },
276
- "icon": {
277
- "type": "string"
278
- },
279
- "svgIcon": {
280
- "type": "string"
281
- },
282
- "permission": {
283
- "type": "string"
284
- },
285
- "color": {
286
- "type": "string",
287
- "description": "Value for the color input of the mat-button / mat-icon component"
288
- },
289
- "cssClass": {
290
- "type": "string",
291
- "description": "Additional CSS classes added to the button element"
292
- },
293
- "options": {
294
- "type": "object",
295
- "additionalProperties": true
296
- }
297
- },
298
- "required": [
299
- "type"
300
- ]
301
- }
302
- },
303
- "headerButton": {
304
- "type": "object",
305
- "properties": {
306
- "permission": {
307
- "type": "string"
308
- },
309
- "icon": {
310
- "type": "string"
311
- },
312
- "svgIcon": {
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
340
- }
341
- }
342
- },
343
- "modifiers": {
344
- "alias": "modifier",
345
- "type": "array",
346
- "items": {
347
- "type": "string"
348
- },
349
- "description": "The table modifiers"
350
- }
351
- }
67
+ "$ref": "#/definitions/minimumTable"
352
68
  },
353
69
  {
354
70
  "type": "object",
@@ -391,38 +107,220 @@
391
107
  }
392
108
  }
393
109
  ]
394
- }
395
- ],
396
- "definitions": {
397
- "type": {
110
+ },
111
+ "backend": {
112
+ "type": "string",
113
+ "description": "The backend that should be used to handel data",
114
+ "enum": [
115
+ "none",
116
+ "nestjs",
117
+ "open-api",
118
+ "local"
119
+ ],
120
+ "default": "none"
121
+ },
122
+ "formControl": {
123
+ "type": "object",
124
+ "properties": {
125
+ "name": {
126
+ "type": "string",
127
+ "description": "The name of the control"
128
+ },
129
+ "type": {
130
+ "$ref": "#/definitions/type"
131
+ },
132
+ "isArray": {
133
+ "type": "boolean",
134
+ "description": "Whether the control value is an array",
135
+ "default": false
136
+ },
137
+ "state": {
138
+ "type": "string",
139
+ "description": "The initial state of the control"
140
+ },
141
+ "isRequired": {
142
+ "type": "boolean",
143
+ "description": "Whether the control value is required",
144
+ "default": false
145
+ },
146
+ "isReadonly": {
147
+ "type": "boolean",
148
+ "description": "Whether the control value is readonly",
149
+ "default": false
150
+ },
151
+ "isDisabled": {
152
+ "type": "boolean",
153
+ "description": "Whether the control value is disabled",
154
+ "default": false
155
+ },
156
+ "validatorList": {
157
+ "type": "array",
158
+ "items": {
159
+ "type": "string"
160
+ }
161
+ },
162
+ "kind": {
163
+ "type": "string",
164
+ "description": "The name of the template",
165
+ "enum": [
166
+ "default",
167
+ "input",
168
+ "select",
169
+ "checkbox",
170
+ "autocomplete-table-select",
171
+ "table-select",
172
+ "textarea",
173
+ "slide-toggle"
174
+ ],
175
+ "default": "default"
176
+ }
177
+ },
178
+ "required": [
179
+ "name"
180
+ ],
181
+ "additionalProperties": true
182
+ },
183
+ "general": {
184
+ "type": "object",
185
+ "properties": {
186
+ "project": {
187
+ "type": "string",
188
+ "description": "Project name where the files should be generated"
189
+ },
190
+ "feature": {
191
+ "type": "string",
192
+ "description": "Feature name where the files should be generated"
193
+ },
194
+ "overwrite": {
195
+ "anyOf": [
196
+ {
197
+ "type": "boolean"
198
+ },
199
+ {
200
+ "type": "array",
201
+ "items": {
202
+ "type": "string"
203
+ }
204
+ }
205
+ ],
206
+ "description": "Overwrite existing files",
207
+ "default": false
208
+ },
209
+ "overwriteHtml": {
210
+ "type": "boolean",
211
+ "default": false
212
+ },
213
+ "replace": {
214
+ "type": "boolean",
215
+ "default": false
216
+ }
217
+ }
218
+ },
219
+ "headerButton": {
220
+ "type": "object",
221
+ "properties": {
222
+ "permission": {
223
+ "type": "string"
224
+ },
225
+ "icon": {
226
+ "type": "string"
227
+ },
228
+ "svgIcon": {
229
+ "type": "string"
230
+ },
231
+ "refresh": {
232
+ "type": "boolean",
233
+ "description": "Whether the table action should refresh the table after execution",
234
+ "default": false
235
+ },
236
+ "confirm": {
237
+ "type": "boolean",
238
+ "description": "Whether the table action should confirm before execution",
239
+ "default": false
240
+ },
241
+ "tooltip": {
242
+ "type": "string",
243
+ "description": "The tooltip for the table action"
244
+ },
245
+ "errorMessage": {
246
+ "type": "string",
247
+ "description": "The error message for the table action"
248
+ },
249
+ "successMessage": {
250
+ "type": "string",
251
+ "description": "The success message for the table action"
252
+ },
253
+ "options": {
254
+ "type": "object",
255
+ "additionalProperties": true
256
+ }
257
+ }
258
+ },
259
+ "minimumTable": {
260
+ "type": "object",
261
+ "properties": {
262
+ "propertyList": {
263
+ "alias": "property",
264
+ "type": "array",
265
+ "items": {
266
+ "$ref": "#/definitions/property"
267
+ }
268
+ },
269
+ "upstream": {
270
+ "$ref": "#/definitions/upstream"
271
+ },
272
+ "columnList": {
273
+ "alias": "column",
274
+ "type": "array",
275
+ "items": {
276
+ "$ref": "#/definitions/tableColumn"
277
+ },
278
+ "description": "List of table column names"
279
+ },
280
+ "actionList": {
281
+ "alias": "action",
282
+ "type": "array",
283
+ "items": {
284
+ "$ref": "#/definitions/tableAction"
285
+ }
286
+ },
287
+ "headerButton": {
288
+ "$ref": "#/definitions/headerButton"
289
+ },
290
+ "modifiers": {
291
+ "alias": "modifier",
292
+ "type": "array",
293
+ "items": {
294
+ "type": "string"
295
+ },
296
+ "description": "The table modifiers"
297
+ }
298
+ }
299
+ },
300
+ "pipe": {
398
301
  "oneOf": [
399
302
  {
400
303
  "type": "string"
401
304
  },
402
305
  {
403
- "type": "object",
404
- "properties": {
405
- "name": {
406
- "type": "string"
407
- },
408
- "isTypeOnly": {
409
- "type": "boolean"
410
- },
411
- "moduleSpecifier": {
412
- "type": "string"
413
- },
414
- "namedImport": {
415
- "type": "string"
416
- },
417
- "namespaceImport": {
418
- "type": "string"
306
+ "allOf": [
307
+ {
308
+ "$ref": "#/definitions/type"
419
309
  },
420
- "defaultImport": {
421
- "type": "string"
310
+ {
311
+ "type": "object",
312
+ "properties": {
313
+ "argumentList": {
314
+ "type": "array",
315
+ "items": {
316
+ "$ref": "#/definitions/value"
317
+ }
318
+ }
319
+ },
320
+ "required": [
321
+ "name"
322
+ ]
422
323
  }
423
- },
424
- "required": [
425
- "name"
426
324
  ]
427
325
  }
428
326
  ]
@@ -449,100 +347,161 @@
449
347
  "name"
450
348
  ]
451
349
  }
452
- ],
453
- "definitions": {
350
+ ]
351
+ },
352
+ "tableAction": {
353
+ "type": "object",
354
+ "properties": {
454
355
  "type": {
455
- "oneOf": [
456
- {
457
- "type": "string"
458
- },
459
- {
460
- "type": "object",
461
- "properties": {
462
- "name": {
463
- "type": "string"
464
- },
465
- "isTypeOnly": {
466
- "type": "boolean"
467
- },
468
- "moduleSpecifier": {
469
- "type": "string"
470
- },
471
- "namedImport": {
472
- "type": "string"
473
- },
474
- "namespaceImport": {
475
- "type": "string"
476
- },
477
- "defaultImport": {
478
- "type": "string"
479
- }
480
- },
481
- "required": [
482
- "name"
483
- ]
484
- }
485
- ]
356
+ "type": "string"
357
+ },
358
+ "refresh": {
359
+ "type": "boolean"
360
+ },
361
+ "confirm": {
362
+ "type": "boolean"
363
+ },
364
+ "tooltip": {
365
+ "type": "string"
366
+ },
367
+ "errorMessage": {
368
+ "type": "string"
369
+ },
370
+ "successMessage": {
371
+ "type": "string"
372
+ },
373
+ "priority": {
374
+ "type": "number"
375
+ },
376
+ "checkFunction": {
377
+ "type": "string"
378
+ },
379
+ "inHeader": {
380
+ "type": "boolean"
381
+ },
382
+ "role": {
383
+ "type": "string"
384
+ },
385
+ "icon": {
386
+ "type": "string"
387
+ },
388
+ "svgIcon": {
389
+ "type": "string"
390
+ },
391
+ "permission": {
392
+ "type": "string"
393
+ },
394
+ "color": {
395
+ "type": "string",
396
+ "description": "Value for the color input of the mat-button / mat-icon component"
397
+ },
398
+ "cssClass": {
399
+ "type": "string",
400
+ "description": "Additional CSS classes added to the button element"
401
+ },
402
+ "options": {
403
+ "type": "object",
404
+ "additionalProperties": true
486
405
  }
487
- }
406
+ },
407
+ "required": [
408
+ "type"
409
+ ]
488
410
  },
489
- "button": {
411
+ "tableColumn": {
490
412
  "type": "object",
491
413
  "properties": {
492
- "svgIcon": {
414
+ "name": {
493
415
  "type": "string"
494
416
  },
495
- "icon": {
417
+ "type": {
418
+ "$ref": "#/definitions/type"
419
+ },
420
+ "kind": {
496
421
  "type": "string"
497
422
  },
498
- "directiveList": {
423
+ "modifiers": {
499
424
  "type": "array",
500
425
  "items": {
501
- "$ref": "#/definitions/type"
426
+ "type": "string"
502
427
  }
503
428
  },
504
- "importList": {
429
+ "template": {
430
+ "type": "string"
431
+ },
432
+ "pipeList": {
505
433
  "type": "array",
506
434
  "items": {
507
- "$ref": "#/definitions/type"
435
+ "$ref": "#/definitions/pipe"
508
436
  }
437
+ },
438
+ "hasFilter": {
439
+ "type": "boolean"
440
+ },
441
+ "nowrap": {
442
+ "type": "boolean"
443
+ },
444
+ "cssClass": {
445
+ "type": "string"
446
+ },
447
+ "title": {
448
+ "type": "string"
449
+ },
450
+ "propertyPath": {
451
+ "type": "string"
452
+ },
453
+ "hidden": {
454
+ "type": "boolean"
455
+ },
456
+ "active": {
457
+ "type": "boolean"
458
+ },
459
+ "inactive": {
460
+ "type": "boolean"
461
+ },
462
+ "show": {
463
+ "type": "boolean"
464
+ },
465
+ "filterControl": {
466
+ "$ref": "#/definitions/formControl"
509
467
  }
510
468
  },
511
- "definitions": {
512
- "type": {
513
- "oneOf": [
514
- {
469
+ "required": [
470
+ "name"
471
+ ]
472
+ },
473
+ "type": {
474
+ "oneOf": [
475
+ {
476
+ "type": "string"
477
+ },
478
+ {
479
+ "type": "object",
480
+ "properties": {
481
+ "name": {
515
482
  "type": "string"
516
483
  },
517
- {
518
- "type": "object",
519
- "properties": {
520
- "name": {
521
- "type": "string"
522
- },
523
- "isTypeOnly": {
524
- "type": "boolean"
525
- },
526
- "moduleSpecifier": {
527
- "type": "string"
528
- },
529
- "namedImport": {
530
- "type": "string"
531
- },
532
- "namespaceImport": {
533
- "type": "string"
534
- },
535
- "defaultImport": {
536
- "type": "string"
537
- }
538
- },
539
- "required": [
540
- "name"
541
- ]
484
+ "isTypeOnly": {
485
+ "type": "boolean"
486
+ },
487
+ "moduleSpecifier": {
488
+ "type": "string"
489
+ },
490
+ "namedImport": {
491
+ "type": "string"
492
+ },
493
+ "namespaceImport": {
494
+ "type": "string"
495
+ },
496
+ "defaultImport": {
497
+ "type": "string"
542
498
  }
499
+ },
500
+ "required": [
501
+ "name"
543
502
  ]
544
503
  }
545
- }
504
+ ]
546
505
  },
547
506
  "upstream": {
548
507
  "oneOf": [
@@ -603,125 +562,6 @@
603
562
  }
604
563
  ]
605
564
  },
606
- "pipe": {
607
- "oneOf": [
608
- {
609
- "type": "string"
610
- },
611
- {
612
- "allOf": [
613
- {
614
- "$ref": "#/definitions/type"
615
- },
616
- {
617
- "type": "object",
618
- "properties": {
619
- "argumentList": {
620
- "type": "array",
621
- "items": {
622
- "$ref": "#/definitions/value"
623
- }
624
- }
625
- },
626
- "required": [
627
- "name"
628
- ]
629
- }
630
- ]
631
- }
632
- ],
633
- "definitions": {
634
- "type": {
635
- "oneOf": [
636
- {
637
- "type": "string"
638
- },
639
- {
640
- "type": "object",
641
- "properties": {
642
- "name": {
643
- "type": "string"
644
- },
645
- "isTypeOnly": {
646
- "type": "boolean"
647
- },
648
- "moduleSpecifier": {
649
- "type": "string"
650
- },
651
- "namedImport": {
652
- "type": "string"
653
- },
654
- "namespaceImport": {
655
- "type": "string"
656
- },
657
- "defaultImport": {
658
- "type": "string"
659
- }
660
- },
661
- "required": [
662
- "name"
663
- ]
664
- }
665
- ]
666
- },
667
- "value": {
668
- "oneOf": [
669
- {
670
- "type": "string"
671
- },
672
- {
673
- "type": "object",
674
- "properties": {
675
- "type": {
676
- "$ref": "#/definitions/type"
677
- },
678
- "value": {
679
- "type": "string"
680
- }
681
- },
682
- "required": [
683
- "value"
684
- ]
685
- }
686
- ],
687
- "definitions": {
688
- "type": {
689
- "oneOf": [
690
- {
691
- "type": "string"
692
- },
693
- {
694
- "type": "object",
695
- "properties": {
696
- "name": {
697
- "type": "string"
698
- },
699
- "isTypeOnly": {
700
- "type": "boolean"
701
- },
702
- "moduleSpecifier": {
703
- "type": "string"
704
- },
705
- "namedImport": {
706
- "type": "string"
707
- },
708
- "namespaceImport": {
709
- "type": "string"
710
- },
711
- "defaultImport": {
712
- "type": "string"
713
- }
714
- },
715
- "required": [
716
- "name"
717
- ]
718
- }
719
- ]
720
- }
721
- }
722
- }
723
- }
724
- },
725
565
  "value": {
726
566
  "oneOf": [
727
567
  {
@@ -741,42 +581,7 @@
741
581
  "value"
742
582
  ]
743
583
  }
744
- ],
745
- "definitions": {
746
- "type": {
747
- "oneOf": [
748
- {
749
- "type": "string"
750
- },
751
- {
752
- "type": "object",
753
- "properties": {
754
- "name": {
755
- "type": "string"
756
- },
757
- "isTypeOnly": {
758
- "type": "boolean"
759
- },
760
- "moduleSpecifier": {
761
- "type": "string"
762
- },
763
- "namedImport": {
764
- "type": "string"
765
- },
766
- "namespaceImport": {
767
- "type": "string"
768
- },
769
- "defaultImport": {
770
- "type": "string"
771
- }
772
- },
773
- "required": [
774
- "name"
775
- ]
776
- }
777
- ]
778
- }
779
- }
584
+ ]
780
585
  }
781
586
  }
782
587
  }