@rxap/schematic-angular 16.2.0-dev.7 → 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 (31) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +1 -1
  3. package/package.json +8 -8
  4. package/src/lib/table-column.js +43 -41
  5. package/src/lib/table-column.js.map +1 -1
  6. package/src/schematics/accordion/accordion-component/schema.json +372 -0
  7. package/src/schematics/accordion/accordion-item-component/schema.json +295 -0
  8. package/src/schematics/accordion/item/accordion-item-data-grid-component/schema.json +396 -0
  9. package/src/schematics/accordion/item/accordion-item-switch-component/schema.json +352 -0
  10. package/src/schematics/accordion/item/accordion-item-table-component/schema.json +654 -0
  11. package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.json +637 -0
  12. package/src/schematics/data-grid-component/schema.json +358 -0
  13. package/src/schematics/dialog-component/schema.json +240 -0
  14. package/src/schematics/form/control/input-form-control/schema.json +388 -0
  15. package/src/schematics/form/control/select-form-control/schema.json +394 -0
  16. package/src/schematics/form/control/table-select-form-control/schema.json +443 -0
  17. package/src/schematics/form/form-component/schema.json +352 -0
  18. package/src/schematics/form/form-control/schema.json +325 -0
  19. package/src/schematics/form/form-definition/schema.json +333 -0
  20. package/src/schematics/table/action/dialog-table-action/schema.json +309 -0
  21. package/src/schematics/table/action/form-table-action/schema.json +422 -0
  22. package/src/schematics/table/action/navigation-table-action/schema.json +279 -0
  23. package/src/schematics/table/action/open-api-table-action/schema.json +307 -0
  24. package/src/schematics/table/action/operation-table-action/schema.json +265 -0
  25. package/src/schematics/table/header-button/form-table-header-button/schema.json +338 -0
  26. package/src/schematics/table/header-button/navigation-table-header-button/schema.json +260 -0
  27. package/src/schematics/table/table-action/schema.json +261 -0
  28. package/src/schematics/table/table-component/schema.json +604 -0
  29. package/src/schematics/table/table-header-button/schema.json +242 -0
  30. package/src/schematics/table/tree-table-component/schema.json +587 -0
  31. package/src/schematics/tree-component/schema.json +123 -0
@@ -0,0 +1,352 @@
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "$id": "accordion-item-table-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
+ "$ref": "#/definitions/accordionItem"
102
+ },
103
+ {
104
+ "type": "object",
105
+ "properties": {
106
+ "switch": {
107
+ "type": "object",
108
+ "properties": {
109
+ "property": {
110
+ "$ref": "#/definitions/property"
111
+ },
112
+ "defaultCase": {
113
+ "type": "object",
114
+ "properties": {
115
+ "itemList": {
116
+ "alias": "item",
117
+ "type": "array",
118
+ "items": {
119
+ "$ref": "#/definitions/accordionItem"
120
+ },
121
+ "description": "The list of accordion expansion panels"
122
+ }
123
+ },
124
+ "required": [
125
+ "itemList"
126
+ ]
127
+ },
128
+ "case": {
129
+ "type": "array",
130
+ "items": {
131
+ "type": "object",
132
+ "properties": {
133
+ "test": {
134
+ "anyOf": [
135
+ {
136
+ "type": "string"
137
+ },
138
+ {
139
+ "type": "number"
140
+ },
141
+ {
142
+ "type": "boolean"
143
+ }
144
+ ]
145
+ },
146
+ "itemList": {
147
+ "alias": "item",
148
+ "type": "array",
149
+ "items": {
150
+ "$ref": "#/definitions/accordionItem"
151
+ },
152
+ "description": "The list of accordion expansion panels"
153
+ }
154
+ },
155
+ "required": [
156
+ "test",
157
+ "itemList"
158
+ ]
159
+ }
160
+ }
161
+ },
162
+ "required": [
163
+ "property",
164
+ "case"
165
+ ]
166
+ }
167
+ }
168
+ }
169
+ ],
170
+ "definitions": {
171
+ "accordionItem": {
172
+ "type": "object",
173
+ "properties": {
174
+ "kind": {
175
+ "type": "string",
176
+ "enum": [
177
+ "default",
178
+ "table",
179
+ "data-grid",
180
+ "data-grid-collection",
181
+ "tree-table",
182
+ "switch"
183
+ ],
184
+ "description": "The type of the accordion item",
185
+ "default": "panel"
186
+ },
187
+ "modifiers": {
188
+ "alias": "modifier",
189
+ "type": "array",
190
+ "items": {
191
+ "type": "string"
192
+ },
193
+ "description": "The modifiers to apply to the accordion item type"
194
+ },
195
+ "title": {
196
+ "type": "string"
197
+ },
198
+ "description": {
199
+ "type": "string"
200
+ }
201
+ },
202
+ "additionalProperties": true
203
+ },
204
+ "type": {
205
+ "oneOf": [
206
+ {
207
+ "type": "string"
208
+ },
209
+ {
210
+ "type": "object",
211
+ "properties": {
212
+ "name": {
213
+ "type": "string"
214
+ },
215
+ "isTypeOnly": {
216
+ "type": "boolean"
217
+ },
218
+ "moduleSpecifier": {
219
+ "type": "string"
220
+ },
221
+ "namedImport": {
222
+ "type": "string"
223
+ },
224
+ "namespaceImport": {
225
+ "type": "string"
226
+ },
227
+ "defaultImport": {
228
+ "type": "string"
229
+ }
230
+ },
231
+ "required": [
232
+ "name"
233
+ ]
234
+ }
235
+ ]
236
+ },
237
+ "property": {
238
+ "oneOf": [
239
+ {
240
+ "type": "string"
241
+ },
242
+ {
243
+ "type": "object",
244
+ "properties": {
245
+ "name": {
246
+ "type": "string"
247
+ },
248
+ "type": {
249
+ "$ref": "#/definitions/type"
250
+ }
251
+ },
252
+ "required": [
253
+ "name"
254
+ ]
255
+ }
256
+ ],
257
+ "definitions": {
258
+ "type": {
259
+ "oneOf": [
260
+ {
261
+ "type": "string"
262
+ },
263
+ {
264
+ "type": "object",
265
+ "properties": {
266
+ "name": {
267
+ "type": "string"
268
+ },
269
+ "isTypeOnly": {
270
+ "type": "boolean"
271
+ },
272
+ "moduleSpecifier": {
273
+ "type": "string"
274
+ },
275
+ "namedImport": {
276
+ "type": "string"
277
+ },
278
+ "namespaceImport": {
279
+ "type": "string"
280
+ },
281
+ "defaultImport": {
282
+ "type": "string"
283
+ }
284
+ },
285
+ "required": [
286
+ "name"
287
+ ]
288
+ }
289
+ ]
290
+ }
291
+ }
292
+ },
293
+ "button": {
294
+ "type": "object",
295
+ "properties": {
296
+ "svgIcon": {
297
+ "type": "string"
298
+ },
299
+ "icon": {
300
+ "type": "string"
301
+ },
302
+ "directiveList": {
303
+ "type": "array",
304
+ "items": {
305
+ "$ref": "#/definitions/type"
306
+ }
307
+ },
308
+ "importList": {
309
+ "type": "array",
310
+ "items": {
311
+ "$ref": "#/definitions/type"
312
+ }
313
+ }
314
+ },
315
+ "definitions": {
316
+ "type": {
317
+ "oneOf": [
318
+ {
319
+ "type": "string"
320
+ },
321
+ {
322
+ "type": "object",
323
+ "properties": {
324
+ "name": {
325
+ "type": "string"
326
+ },
327
+ "isTypeOnly": {
328
+ "type": "boolean"
329
+ },
330
+ "moduleSpecifier": {
331
+ "type": "string"
332
+ },
333
+ "namedImport": {
334
+ "type": "string"
335
+ },
336
+ "namespaceImport": {
337
+ "type": "string"
338
+ },
339
+ "defaultImport": {
340
+ "type": "string"
341
+ }
342
+ },
343
+ "required": [
344
+ "name"
345
+ ]
346
+ }
347
+ ]
348
+ }
349
+ }
350
+ }
351
+ }
352
+ }