@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.
- package/CHANGELOG.md +4 -0
- package/package.json +2 -2
- package/src/schematics/accordion/accordion-component/schema.json +372 -0
- package/src/schematics/accordion/accordion-item-component/schema.json +295 -0
- package/src/schematics/accordion/item/accordion-item-data-grid-component/schema.json +396 -0
- package/src/schematics/accordion/item/accordion-item-switch-component/schema.json +352 -0
- package/src/schematics/accordion/item/accordion-item-table-component/schema.json +654 -0
- package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.json +637 -0
- package/src/schematics/data-grid-component/schema.json +358 -0
- package/src/schematics/dialog-component/schema.json +240 -0
- package/src/schematics/form/control/input-form-control/schema.json +388 -0
- package/src/schematics/form/control/select-form-control/schema.json +394 -0
- package/src/schematics/form/control/table-select-form-control/schema.json +443 -0
- package/src/schematics/form/form-component/schema.json +352 -0
- package/src/schematics/form/form-control/schema.json +325 -0
- package/src/schematics/form/form-definition/schema.json +333 -0
- package/src/schematics/table/action/dialog-table-action/schema.json +309 -0
- package/src/schematics/table/action/form-table-action/schema.json +422 -0
- package/src/schematics/table/action/navigation-table-action/schema.json +279 -0
- package/src/schematics/table/action/open-api-table-action/schema.json +307 -0
- package/src/schematics/table/action/operation-table-action/schema.json +265 -0
- package/src/schematics/table/header-button/form-table-header-button/schema.json +338 -0
- package/src/schematics/table/header-button/navigation-table-header-button/schema.json +260 -0
- package/src/schematics/table/table-action/schema.json +261 -0
- package/src/schematics/table/table-component/schema.json +604 -0
- package/src/schematics/table/table-header-button/schema.json +242 -0
- package/src/schematics/table/tree-table-component/schema.json +587 -0
- package/src/schematics/tree-component/schema.json +123 -0
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "table-header-button-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
|
+
"permission": {
|
|
104
|
+
"type": "string"
|
|
105
|
+
},
|
|
106
|
+
"icon": {
|
|
107
|
+
"type": "string"
|
|
108
|
+
},
|
|
109
|
+
"svgIcon": {
|
|
110
|
+
"type": "string"
|
|
111
|
+
},
|
|
112
|
+
"refresh": {
|
|
113
|
+
"type": "boolean",
|
|
114
|
+
"description": "Whether the table action should refresh the table after execution",
|
|
115
|
+
"default": false
|
|
116
|
+
},
|
|
117
|
+
"confirm": {
|
|
118
|
+
"type": "boolean",
|
|
119
|
+
"description": "Whether the table action should confirm before execution",
|
|
120
|
+
"default": false
|
|
121
|
+
},
|
|
122
|
+
"tooltip": {
|
|
123
|
+
"type": "string",
|
|
124
|
+
"description": "The tooltip for the table action"
|
|
125
|
+
},
|
|
126
|
+
"errorMessage": {
|
|
127
|
+
"type": "string",
|
|
128
|
+
"description": "The error message for the table action"
|
|
129
|
+
},
|
|
130
|
+
"successMessage": {
|
|
131
|
+
"type": "string",
|
|
132
|
+
"description": "The success message for the table action"
|
|
133
|
+
},
|
|
134
|
+
"options": {
|
|
135
|
+
"type": "object",
|
|
136
|
+
"additionalProperties": true
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"type": "object",
|
|
142
|
+
"properties": {
|
|
143
|
+
"tableName": {
|
|
144
|
+
"alias": "table",
|
|
145
|
+
"type": "string",
|
|
146
|
+
"description": "The name of the table action"
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
],
|
|
151
|
+
"definitions": {
|
|
152
|
+
"type": {
|
|
153
|
+
"oneOf": [
|
|
154
|
+
{
|
|
155
|
+
"type": "string"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"type": "object",
|
|
159
|
+
"properties": {
|
|
160
|
+
"name": {
|
|
161
|
+
"type": "string"
|
|
162
|
+
},
|
|
163
|
+
"isTypeOnly": {
|
|
164
|
+
"type": "boolean"
|
|
165
|
+
},
|
|
166
|
+
"moduleSpecifier": {
|
|
167
|
+
"type": "string"
|
|
168
|
+
},
|
|
169
|
+
"namedImport": {
|
|
170
|
+
"type": "string"
|
|
171
|
+
},
|
|
172
|
+
"namespaceImport": {
|
|
173
|
+
"type": "string"
|
|
174
|
+
},
|
|
175
|
+
"defaultImport": {
|
|
176
|
+
"type": "string"
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
"required": [
|
|
180
|
+
"name"
|
|
181
|
+
]
|
|
182
|
+
}
|
|
183
|
+
]
|
|
184
|
+
},
|
|
185
|
+
"property": {
|
|
186
|
+
"oneOf": [
|
|
187
|
+
{
|
|
188
|
+
"type": "string"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"type": "object",
|
|
192
|
+
"properties": {
|
|
193
|
+
"name": {
|
|
194
|
+
"type": "string"
|
|
195
|
+
},
|
|
196
|
+
"type": {
|
|
197
|
+
"$ref": "#/definitions/type"
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
"required": [
|
|
201
|
+
"name"
|
|
202
|
+
]
|
|
203
|
+
}
|
|
204
|
+
],
|
|
205
|
+
"definitions": {
|
|
206
|
+
"type": {
|
|
207
|
+
"oneOf": [
|
|
208
|
+
{
|
|
209
|
+
"type": "string"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"type": "object",
|
|
213
|
+
"properties": {
|
|
214
|
+
"name": {
|
|
215
|
+
"type": "string"
|
|
216
|
+
},
|
|
217
|
+
"isTypeOnly": {
|
|
218
|
+
"type": "boolean"
|
|
219
|
+
},
|
|
220
|
+
"moduleSpecifier": {
|
|
221
|
+
"type": "string"
|
|
222
|
+
},
|
|
223
|
+
"namedImport": {
|
|
224
|
+
"type": "string"
|
|
225
|
+
},
|
|
226
|
+
"namespaceImport": {
|
|
227
|
+
"type": "string"
|
|
228
|
+
},
|
|
229
|
+
"defaultImport": {
|
|
230
|
+
"type": "string"
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
"required": [
|
|
234
|
+
"name"
|
|
235
|
+
]
|
|
236
|
+
}
|
|
237
|
+
]
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}
|