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