@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,261 @@
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "$id": "table-action-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
+ "type": {
104
+ "type": "string"
105
+ },
106
+ "refresh": {
107
+ "type": "boolean"
108
+ },
109
+ "confirm": {
110
+ "type": "boolean"
111
+ },
112
+ "tooltip": {
113
+ "type": "string"
114
+ },
115
+ "errorMessage": {
116
+ "type": "string"
117
+ },
118
+ "successMessage": {
119
+ "type": "string"
120
+ },
121
+ "priority": {
122
+ "type": "number"
123
+ },
124
+ "checkFunction": {
125
+ "type": "string"
126
+ },
127
+ "inHeader": {
128
+ "type": "boolean"
129
+ },
130
+ "role": {
131
+ "type": "string"
132
+ },
133
+ "icon": {
134
+ "type": "string"
135
+ },
136
+ "svgIcon": {
137
+ "type": "string"
138
+ },
139
+ "permission": {
140
+ "type": "string"
141
+ },
142
+ "color": {
143
+ "type": "string",
144
+ "description": "Value for the color input of the mat-button / mat-icon component"
145
+ },
146
+ "cssClass": {
147
+ "type": "string",
148
+ "description": "Additional CSS classes added to the button element"
149
+ },
150
+ "options": {
151
+ "type": "object",
152
+ "additionalProperties": true
153
+ }
154
+ },
155
+ "required": [
156
+ "type"
157
+ ]
158
+ },
159
+ {
160
+ "type": "object",
161
+ "properties": {
162
+ "tableName": {
163
+ "alias": "table",
164
+ "type": "string",
165
+ "description": "The name of the table action"
166
+ }
167
+ }
168
+ }
169
+ ],
170
+ "definitions": {
171
+ "type": {
172
+ "oneOf": [
173
+ {
174
+ "type": "string"
175
+ },
176
+ {
177
+ "type": "object",
178
+ "properties": {
179
+ "name": {
180
+ "type": "string"
181
+ },
182
+ "isTypeOnly": {
183
+ "type": "boolean"
184
+ },
185
+ "moduleSpecifier": {
186
+ "type": "string"
187
+ },
188
+ "namedImport": {
189
+ "type": "string"
190
+ },
191
+ "namespaceImport": {
192
+ "type": "string"
193
+ },
194
+ "defaultImport": {
195
+ "type": "string"
196
+ }
197
+ },
198
+ "required": [
199
+ "name"
200
+ ]
201
+ }
202
+ ]
203
+ },
204
+ "property": {
205
+ "oneOf": [
206
+ {
207
+ "type": "string"
208
+ },
209
+ {
210
+ "type": "object",
211
+ "properties": {
212
+ "name": {
213
+ "type": "string"
214
+ },
215
+ "type": {
216
+ "$ref": "#/definitions/type"
217
+ }
218
+ },
219
+ "required": [
220
+ "name"
221
+ ]
222
+ }
223
+ ],
224
+ "definitions": {
225
+ "type": {
226
+ "oneOf": [
227
+ {
228
+ "type": "string"
229
+ },
230
+ {
231
+ "type": "object",
232
+ "properties": {
233
+ "name": {
234
+ "type": "string"
235
+ },
236
+ "isTypeOnly": {
237
+ "type": "boolean"
238
+ },
239
+ "moduleSpecifier": {
240
+ "type": "string"
241
+ },
242
+ "namedImport": {
243
+ "type": "string"
244
+ },
245
+ "namespaceImport": {
246
+ "type": "string"
247
+ },
248
+ "defaultImport": {
249
+ "type": "string"
250
+ }
251
+ },
252
+ "required": [
253
+ "name"
254
+ ]
255
+ }
256
+ ]
257
+ }
258
+ }
259
+ }
260
+ }
261
+ }