@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
package/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [16.2.0-dev.9](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.2.0-dev.8...@rxap/schematic-angular@16.2.0-dev.9) (2024-02-26)
7
+
8
+ **Note:** Version bump only for package @rxap/schematic-angular
9
+
6
10
  # [16.2.0-dev.8](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.2.0-dev.7...@rxap/schematic-angular@16.2.0-dev.8) (2024-02-26)
7
11
 
8
12
  **Note:** Version bump only for package @rxap/schematic-angular
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "16.2.0-dev.8",
2
+ "version": "16.2.0-dev.9",
3
3
  "name": "@rxap/schematic-angular",
4
4
  "license": "GPL-3.0-or-later",
5
5
  "dependencies": {
@@ -76,7 +76,7 @@
76
76
  },
77
77
  "schematics": "./collection.json",
78
78
  "type": "commonjs",
79
- "gitHead": "0862419585eeeace6a7d2c2944402633738f050a",
79
+ "gitHead": "999cd6e36f776aa1a996a7a4111b953359047e76",
80
80
  "main": "./src/index.js",
81
81
  "types": "./src/index.d.ts"
82
82
  }
@@ -0,0 +1,372 @@
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "$id": "accordion-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
+ "multiple": {
104
+ "type": "boolean",
105
+ "description": "Whether the accordion should allow multiple panels to be expanded at the same time",
106
+ "default": false,
107
+ "alias": "multi"
108
+ },
109
+ "persistent": {
110
+ "oneOf": [
111
+ {
112
+ "type": "object",
113
+ "properties": {
114
+ "key": {
115
+ "type": "string"
116
+ }
117
+ },
118
+ "required": [
119
+ "key"
120
+ ]
121
+ },
122
+ {
123
+ "type": "object",
124
+ "properties": {
125
+ "property": {
126
+ "$ref": "#/definitions/property"
127
+ }
128
+ },
129
+ "required": [
130
+ "property"
131
+ ]
132
+ }
133
+ ]
134
+ },
135
+ "identifier": {
136
+ "type": "object",
137
+ "properties": {
138
+ "property": {
139
+ "$ref": "#/definitions/property"
140
+ },
141
+ "source": {
142
+ "type": "string",
143
+ "enum": [
144
+ "route"
145
+ ],
146
+ "default": "route"
147
+ }
148
+ },
149
+ "required": [
150
+ "property"
151
+ ]
152
+ },
153
+ "header": {
154
+ "oneOf": [
155
+ {
156
+ "type": "object",
157
+ "properties": {
158
+ "title": {
159
+ "type": "string"
160
+ }
161
+ },
162
+ "required": [
163
+ "title"
164
+ ]
165
+ },
166
+ {
167
+ "type": "object",
168
+ "properties": {
169
+ "property": {
170
+ "$ref": "#/definitions/property"
171
+ }
172
+ },
173
+ "required": [
174
+ "property"
175
+ ]
176
+ }
177
+ ]
178
+ },
179
+ "itemList": {
180
+ "alias": "item",
181
+ "type": "array",
182
+ "items": {
183
+ "$ref": "#/definitions/accordionItem"
184
+ },
185
+ "description": "The list of accordion expansion panels"
186
+ }
187
+ }
188
+ }
189
+ ],
190
+ "definitions": {
191
+ "accordionItem": {
192
+ "type": "object",
193
+ "properties": {
194
+ "kind": {
195
+ "type": "string",
196
+ "enum": [
197
+ "default",
198
+ "table",
199
+ "data-grid",
200
+ "data-grid-collection",
201
+ "tree-table",
202
+ "switch"
203
+ ],
204
+ "description": "The type of the accordion item",
205
+ "default": "panel"
206
+ },
207
+ "modifiers": {
208
+ "alias": "modifier",
209
+ "type": "array",
210
+ "items": {
211
+ "type": "string"
212
+ },
213
+ "description": "The modifiers to apply to the accordion item type"
214
+ },
215
+ "title": {
216
+ "type": "string"
217
+ },
218
+ "description": {
219
+ "type": "string"
220
+ }
221
+ },
222
+ "additionalProperties": true
223
+ },
224
+ "type": {
225
+ "oneOf": [
226
+ {
227
+ "type": "string"
228
+ },
229
+ {
230
+ "type": "object",
231
+ "properties": {
232
+ "name": {
233
+ "type": "string"
234
+ },
235
+ "isTypeOnly": {
236
+ "type": "boolean"
237
+ },
238
+ "moduleSpecifier": {
239
+ "type": "string"
240
+ },
241
+ "namedImport": {
242
+ "type": "string"
243
+ },
244
+ "namespaceImport": {
245
+ "type": "string"
246
+ },
247
+ "defaultImport": {
248
+ "type": "string"
249
+ }
250
+ },
251
+ "required": [
252
+ "name"
253
+ ]
254
+ }
255
+ ]
256
+ },
257
+ "property": {
258
+ "oneOf": [
259
+ {
260
+ "type": "string"
261
+ },
262
+ {
263
+ "type": "object",
264
+ "properties": {
265
+ "name": {
266
+ "type": "string"
267
+ },
268
+ "type": {
269
+ "$ref": "#/definitions/type"
270
+ }
271
+ },
272
+ "required": [
273
+ "name"
274
+ ]
275
+ }
276
+ ],
277
+ "definitions": {
278
+ "type": {
279
+ "oneOf": [
280
+ {
281
+ "type": "string"
282
+ },
283
+ {
284
+ "type": "object",
285
+ "properties": {
286
+ "name": {
287
+ "type": "string"
288
+ },
289
+ "isTypeOnly": {
290
+ "type": "boolean"
291
+ },
292
+ "moduleSpecifier": {
293
+ "type": "string"
294
+ },
295
+ "namedImport": {
296
+ "type": "string"
297
+ },
298
+ "namespaceImport": {
299
+ "type": "string"
300
+ },
301
+ "defaultImport": {
302
+ "type": "string"
303
+ }
304
+ },
305
+ "required": [
306
+ "name"
307
+ ]
308
+ }
309
+ ]
310
+ }
311
+ }
312
+ },
313
+ "button": {
314
+ "type": "object",
315
+ "properties": {
316
+ "svgIcon": {
317
+ "type": "string"
318
+ },
319
+ "icon": {
320
+ "type": "string"
321
+ },
322
+ "directiveList": {
323
+ "type": "array",
324
+ "items": {
325
+ "$ref": "#/definitions/type"
326
+ }
327
+ },
328
+ "importList": {
329
+ "type": "array",
330
+ "items": {
331
+ "$ref": "#/definitions/type"
332
+ }
333
+ }
334
+ },
335
+ "definitions": {
336
+ "type": {
337
+ "oneOf": [
338
+ {
339
+ "type": "string"
340
+ },
341
+ {
342
+ "type": "object",
343
+ "properties": {
344
+ "name": {
345
+ "type": "string"
346
+ },
347
+ "isTypeOnly": {
348
+ "type": "boolean"
349
+ },
350
+ "moduleSpecifier": {
351
+ "type": "string"
352
+ },
353
+ "namedImport": {
354
+ "type": "string"
355
+ },
356
+ "namespaceImport": {
357
+ "type": "string"
358
+ },
359
+ "defaultImport": {
360
+ "type": "string"
361
+ }
362
+ },
363
+ "required": [
364
+ "name"
365
+ ]
366
+ }
367
+ ]
368
+ }
369
+ }
370
+ }
371
+ }
372
+ }
@@ -0,0 +1,295 @@
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "$id": "accordion-item-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
+ "accordionName": {
137
+ "type": "string",
138
+ "description": "The name of the accordion module where the item should be added."
139
+ }
140
+ },
141
+ "required": [
142
+ "accordionName"
143
+ ]
144
+ }
145
+ ],
146
+ "definitions": {
147
+ "type": {
148
+ "oneOf": [
149
+ {
150
+ "type": "string"
151
+ },
152
+ {
153
+ "type": "object",
154
+ "properties": {
155
+ "name": {
156
+ "type": "string"
157
+ },
158
+ "isTypeOnly": {
159
+ "type": "boolean"
160
+ },
161
+ "moduleSpecifier": {
162
+ "type": "string"
163
+ },
164
+ "namedImport": {
165
+ "type": "string"
166
+ },
167
+ "namespaceImport": {
168
+ "type": "string"
169
+ },
170
+ "defaultImport": {
171
+ "type": "string"
172
+ }
173
+ },
174
+ "required": [
175
+ "name"
176
+ ]
177
+ }
178
+ ]
179
+ },
180
+ "property": {
181
+ "oneOf": [
182
+ {
183
+ "type": "string"
184
+ },
185
+ {
186
+ "type": "object",
187
+ "properties": {
188
+ "name": {
189
+ "type": "string"
190
+ },
191
+ "type": {
192
+ "$ref": "#/definitions/type"
193
+ }
194
+ },
195
+ "required": [
196
+ "name"
197
+ ]
198
+ }
199
+ ],
200
+ "definitions": {
201
+ "type": {
202
+ "oneOf": [
203
+ {
204
+ "type": "string"
205
+ },
206
+ {
207
+ "type": "object",
208
+ "properties": {
209
+ "name": {
210
+ "type": "string"
211
+ },
212
+ "isTypeOnly": {
213
+ "type": "boolean"
214
+ },
215
+ "moduleSpecifier": {
216
+ "type": "string"
217
+ },
218
+ "namedImport": {
219
+ "type": "string"
220
+ },
221
+ "namespaceImport": {
222
+ "type": "string"
223
+ },
224
+ "defaultImport": {
225
+ "type": "string"
226
+ }
227
+ },
228
+ "required": [
229
+ "name"
230
+ ]
231
+ }
232
+ ]
233
+ }
234
+ }
235
+ },
236
+ "button": {
237
+ "type": "object",
238
+ "properties": {
239
+ "svgIcon": {
240
+ "type": "string"
241
+ },
242
+ "icon": {
243
+ "type": "string"
244
+ },
245
+ "directiveList": {
246
+ "type": "array",
247
+ "items": {
248
+ "$ref": "#/definitions/type"
249
+ }
250
+ },
251
+ "importList": {
252
+ "type": "array",
253
+ "items": {
254
+ "$ref": "#/definitions/type"
255
+ }
256
+ }
257
+ },
258
+ "definitions": {
259
+ "type": {
260
+ "oneOf": [
261
+ {
262
+ "type": "string"
263
+ },
264
+ {
265
+ "type": "object",
266
+ "properties": {
267
+ "name": {
268
+ "type": "string"
269
+ },
270
+ "isTypeOnly": {
271
+ "type": "boolean"
272
+ },
273
+ "moduleSpecifier": {
274
+ "type": "string"
275
+ },
276
+ "namedImport": {
277
+ "type": "string"
278
+ },
279
+ "namespaceImport": {
280
+ "type": "string"
281
+ },
282
+ "defaultImport": {
283
+ "type": "string"
284
+ }
285
+ },
286
+ "required": [
287
+ "name"
288
+ ]
289
+ }
290
+ ]
291
+ }
292
+ }
293
+ }
294
+ }
295
+ }