@rxap/schematic-angular 16.2.0-dev.8 → 16.2.0-dev.9

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 (28) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/package.json +2 -2
  3. package/src/schematics/accordion/accordion-component/schema.json +372 -0
  4. package/src/schematics/accordion/accordion-item-component/schema.json +295 -0
  5. package/src/schematics/accordion/item/accordion-item-data-grid-component/schema.json +396 -0
  6. package/src/schematics/accordion/item/accordion-item-switch-component/schema.json +352 -0
  7. package/src/schematics/accordion/item/accordion-item-table-component/schema.json +654 -0
  8. package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.json +637 -0
  9. package/src/schematics/data-grid-component/schema.json +358 -0
  10. package/src/schematics/dialog-component/schema.json +240 -0
  11. package/src/schematics/form/control/input-form-control/schema.json +388 -0
  12. package/src/schematics/form/control/select-form-control/schema.json +394 -0
  13. package/src/schematics/form/control/table-select-form-control/schema.json +443 -0
  14. package/src/schematics/form/form-component/schema.json +352 -0
  15. package/src/schematics/form/form-control/schema.json +325 -0
  16. package/src/schematics/form/form-definition/schema.json +333 -0
  17. package/src/schematics/table/action/dialog-table-action/schema.json +309 -0
  18. package/src/schematics/table/action/form-table-action/schema.json +422 -0
  19. package/src/schematics/table/action/navigation-table-action/schema.json +279 -0
  20. package/src/schematics/table/action/open-api-table-action/schema.json +307 -0
  21. package/src/schematics/table/action/operation-table-action/schema.json +265 -0
  22. package/src/schematics/table/header-button/form-table-header-button/schema.json +338 -0
  23. package/src/schematics/table/header-button/navigation-table-header-button/schema.json +260 -0
  24. package/src/schematics/table/table-action/schema.json +261 -0
  25. package/src/schematics/table/table-component/schema.json +604 -0
  26. package/src/schematics/table/table-header-button/schema.json +242 -0
  27. package/src/schematics/table/tree-table-component/schema.json +587 -0
  28. package/src/schematics/tree-component/schema.json +123 -0
@@ -0,0 +1,396 @@
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "$id": "accordion-item-data-grid-component-schematic",
4
+ "allOf": [
5
+ {
6
+ "allOf": [
7
+ {
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
+ ]
45
+ },
46
+ {
47
+ "type": "object",
48
+ "properties": {
49
+ "componentName": {
50
+ "type": "string"
51
+ },
52
+ "name": {
53
+ "type": "string"
54
+ },
55
+ "context": {
56
+ "type": "string",
57
+ "description": "The context use to generate proper names for class, files, etc"
58
+ },
59
+ "nestModule": {
60
+ "type": "string",
61
+ "description": "The module name for the table nest operations"
62
+ },
63
+ "controllerName": {
64
+ "type": "string"
65
+ },
66
+ "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"
76
+ },
77
+ "directory": {
78
+ "type": "string",
79
+ "description": "A directory name or absolute path where the files should be generated. Relative to the project and feature base path if a feature is defined"
80
+ },
81
+ "shared": {
82
+ "type": "boolean",
83
+ "description": "Whether the generated code is used across the project",
84
+ "default": false
85
+ },
86
+ "scope": {
87
+ "type": "string"
88
+ },
89
+ "prefix": {
90
+ "type": "string"
91
+ },
92
+ "openApi": {
93
+ "type": "object",
94
+ "additionalProperties": true
95
+ }
96
+ }
97
+ }
98
+ ]
99
+ },
100
+ {
101
+ "type": "object",
102
+ "properties": {
103
+ "kind": {
104
+ "type": "string",
105
+ "enum": [
106
+ "default",
107
+ "table",
108
+ "data-grid",
109
+ "data-grid-collection",
110
+ "tree-table",
111
+ "switch"
112
+ ],
113
+ "description": "The type of the accordion item",
114
+ "default": "panel"
115
+ },
116
+ "modifiers": {
117
+ "alias": "modifier",
118
+ "type": "array",
119
+ "items": {
120
+ "type": "string"
121
+ },
122
+ "description": "The modifiers to apply to the accordion item type"
123
+ },
124
+ "title": {
125
+ "type": "string"
126
+ },
127
+ "description": {
128
+ "type": "string"
129
+ }
130
+ },
131
+ "additionalProperties": true
132
+ },
133
+ {
134
+ "type": "object",
135
+ "properties": {
136
+ "dataGrid": {
137
+ "type": "object",
138
+ "properties": {
139
+ "mode": {
140
+ "type": "string",
141
+ "description": "The mode of the form",
142
+ "enum": [
143
+ "form",
144
+ "plain"
145
+ ]
146
+ },
147
+ "collection": {
148
+ "type": "boolean",
149
+ "description": "Whether the data grid is used as collection."
150
+ },
151
+ "title": {
152
+ "type": "string",
153
+ "description": "The title of the data grid card component"
154
+ },
155
+ "subtitle": {
156
+ "type": "string",
157
+ "description": "The subtitle of the data grid card component"
158
+ },
159
+ "itemList": {
160
+ "alias": "item",
161
+ "type": "array",
162
+ "items": {
163
+ "allOf": [
164
+ {
165
+ "type": "object",
166
+ "properties": {
167
+ "name": {
168
+ "type": "string",
169
+ "description": "The name of the control"
170
+ },
171
+ "type": {
172
+ "$ref": "#/definitions/type"
173
+ },
174
+ "isArray": {
175
+ "type": "boolean",
176
+ "description": "Whether the control value is an array",
177
+ "default": false
178
+ },
179
+ "state": {
180
+ "type": "string",
181
+ "description": "The initial state of the control"
182
+ },
183
+ "isRequired": {
184
+ "type": "boolean",
185
+ "description": "Whether the control value is required",
186
+ "default": false
187
+ },
188
+ "isReadonly": {
189
+ "type": "boolean",
190
+ "description": "Whether the control value is readonly",
191
+ "default": false
192
+ },
193
+ "isDisabled": {
194
+ "type": "boolean",
195
+ "description": "Whether the control value is disabled",
196
+ "default": false
197
+ },
198
+ "validatorList": {
199
+ "type": "array",
200
+ "items": {
201
+ "type": "string"
202
+ }
203
+ },
204
+ "kind": {
205
+ "type": "string",
206
+ "description": "The name of the template",
207
+ "enum": [
208
+ "default",
209
+ "input",
210
+ "select",
211
+ "checkbox",
212
+ "autocomplete-table-select",
213
+ "table-select",
214
+ "textarea",
215
+ "slide-toggle"
216
+ ],
217
+ "default": "default"
218
+ }
219
+ },
220
+ "required": [
221
+ "name"
222
+ ],
223
+ "additionalProperties": true
224
+ },
225
+ {
226
+ "type": "object",
227
+ "properties": {
228
+ "header": {
229
+ "type": "string",
230
+ "description": "The name of the control"
231
+ }
232
+ }
233
+ }
234
+ ]
235
+ }
236
+ },
237
+ "inCard": {
238
+ "type": "boolean",
239
+ "description": "Whether the data grid is used in a card.",
240
+ "default": true
241
+ }
242
+ }
243
+ }
244
+ }
245
+ }
246
+ ],
247
+ "definitions": {
248
+ "type": {
249
+ "oneOf": [
250
+ {
251
+ "type": "string"
252
+ },
253
+ {
254
+ "type": "object",
255
+ "properties": {
256
+ "name": {
257
+ "type": "string"
258
+ },
259
+ "isTypeOnly": {
260
+ "type": "boolean"
261
+ },
262
+ "moduleSpecifier": {
263
+ "type": "string"
264
+ },
265
+ "namedImport": {
266
+ "type": "string"
267
+ },
268
+ "namespaceImport": {
269
+ "type": "string"
270
+ },
271
+ "defaultImport": {
272
+ "type": "string"
273
+ }
274
+ },
275
+ "required": [
276
+ "name"
277
+ ]
278
+ }
279
+ ]
280
+ },
281
+ "property": {
282
+ "oneOf": [
283
+ {
284
+ "type": "string"
285
+ },
286
+ {
287
+ "type": "object",
288
+ "properties": {
289
+ "name": {
290
+ "type": "string"
291
+ },
292
+ "type": {
293
+ "$ref": "#/definitions/type"
294
+ }
295
+ },
296
+ "required": [
297
+ "name"
298
+ ]
299
+ }
300
+ ],
301
+ "definitions": {
302
+ "type": {
303
+ "oneOf": [
304
+ {
305
+ "type": "string"
306
+ },
307
+ {
308
+ "type": "object",
309
+ "properties": {
310
+ "name": {
311
+ "type": "string"
312
+ },
313
+ "isTypeOnly": {
314
+ "type": "boolean"
315
+ },
316
+ "moduleSpecifier": {
317
+ "type": "string"
318
+ },
319
+ "namedImport": {
320
+ "type": "string"
321
+ },
322
+ "namespaceImport": {
323
+ "type": "string"
324
+ },
325
+ "defaultImport": {
326
+ "type": "string"
327
+ }
328
+ },
329
+ "required": [
330
+ "name"
331
+ ]
332
+ }
333
+ ]
334
+ }
335
+ }
336
+ },
337
+ "button": {
338
+ "type": "object",
339
+ "properties": {
340
+ "svgIcon": {
341
+ "type": "string"
342
+ },
343
+ "icon": {
344
+ "type": "string"
345
+ },
346
+ "directiveList": {
347
+ "type": "array",
348
+ "items": {
349
+ "$ref": "#/definitions/type"
350
+ }
351
+ },
352
+ "importList": {
353
+ "type": "array",
354
+ "items": {
355
+ "$ref": "#/definitions/type"
356
+ }
357
+ }
358
+ },
359
+ "definitions": {
360
+ "type": {
361
+ "oneOf": [
362
+ {
363
+ "type": "string"
364
+ },
365
+ {
366
+ "type": "object",
367
+ "properties": {
368
+ "name": {
369
+ "type": "string"
370
+ },
371
+ "isTypeOnly": {
372
+ "type": "boolean"
373
+ },
374
+ "moduleSpecifier": {
375
+ "type": "string"
376
+ },
377
+ "namedImport": {
378
+ "type": "string"
379
+ },
380
+ "namespaceImport": {
381
+ "type": "string"
382
+ },
383
+ "defaultImport": {
384
+ "type": "string"
385
+ }
386
+ },
387
+ "required": [
388
+ "name"
389
+ ]
390
+ }
391
+ ]
392
+ }
393
+ }
394
+ }
395
+ }
396
+ }