@rxap/schematic-angular 16.2.0-dev.14 → 16.2.0-dev.16
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 +27 -0
- package/README.md +1 -1
- package/package.json +8 -8
- package/src/lib/accordion-identifier.d.ts +4 -0
- package/src/lib/accordion-identifier.js.map +1 -1
- package/src/lib/accordion-item.d.ts +13 -6
- package/src/lib/accordion-item.js +19 -4
- package/src/lib/accordion-item.js.map +1 -1
- package/src/lib/coerce-accordion-component.js +1 -1
- package/src/lib/coerce-accordion-component.js.map +1 -1
- package/src/lib/coerce-accordion-item-table-component.js +1 -1
- package/src/lib/coerce-accordion-item-table-component.js.map +1 -1
- package/src/lib/data-grid-options.d.ts +9 -1
- package/src/lib/data-grid-options.js +36 -6
- package/src/lib/data-grid-options.js.map +1 -1
- package/src/lib/form-control.d.ts +9 -3
- package/src/lib/form-control.js +19 -54
- package/src/lib/form-control.js.map +1 -1
- package/src/lib/merge-with-column-list.js +3 -1
- package/src/lib/merge-with-column-list.js.map +1 -1
- package/src/lib/minimum-table-component-options.js +2 -2
- package/src/lib/minimum-table-component-options.js.map +1 -1
- package/src/lib/pipe-option.js +0 -2
- package/src/lib/pipe-option.js.map +1 -1
- package/src/lib/table-column.d.ts +9 -5
- package/src/lib/table-column.js +36 -60
- package/src/lib/table-column.js.map +1 -1
- package/src/schema.json +2368 -0
- package/src/schematic-input.schema.json +607 -0
- package/src/schematics/accordion/accordion-component/index.d.ts +5 -2
- package/src/schematics/accordion/accordion-component/index.js +51 -25
- package/src/schematics/accordion/accordion-component/index.js.map +1 -1
- package/src/schematics/accordion/accordion-component/schema.d.ts +6 -0
- package/src/schematics/accordion/accordion-component/schema.json +183 -360
- package/src/schematics/accordion/accordion-component/template.schema.json +22 -25
- package/src/schematics/accordion/accordion-item-component/index.d.ts +7 -2
- package/src/schematics/accordion/accordion-item-component/index.js +70 -49
- package/src/schematics/accordion/accordion-item-component/index.js.map +1 -1
- package/src/schematics/accordion/accordion-item-component/schema.json +167 -336
- package/src/schematics/accordion/accordion-item-component/template.schema.json +8 -15
- package/src/schematics/accordion/item/accordion-item-data-grid-component/index.d.ts +1 -1
- package/src/schematics/accordion/item/accordion-item-data-grid-component/index.js +21 -25
- package/src/schematics/accordion/item/accordion-item-data-grid-component/index.js.map +1 -1
- package/src/schematics/accordion/item/accordion-item-data-grid-component/schema.json +331 -429
- package/src/schematics/accordion/item/accordion-item-data-grid-component/template.schema.json +9 -15
- package/src/schematics/accordion/item/accordion-item-switch-component/index.d.ts +1 -1
- package/src/schematics/accordion/item/accordion-item-switch-component/index.js +14 -6
- package/src/schematics/accordion/item/accordion-item-switch-component/index.js.map +1 -1
- package/src/schematics/accordion/item/accordion-item-switch-component/schema.json +174 -346
- package/src/schematics/accordion/item/accordion-item-switch-component/template.schema.json +6 -15
- package/src/schematics/accordion/item/accordion-item-table-component/index.d.ts +1 -1
- package/src/schematics/accordion/item/accordion-item-table-component/index.js +11 -13
- package/src/schematics/accordion/item/accordion-item-table-component/index.js.map +1 -1
- package/src/schematics/accordion/item/accordion-item-table-component/schema.json +453 -614
- package/src/schematics/accordion/item/accordion-item-table-component/template.schema.json +9 -18
- package/src/schematics/accordion/item/accordion-item-tree-table-component/index.d.ts +1 -1
- package/src/schematics/accordion/item/accordion-item-tree-table-component/index.js +37 -61
- package/src/schematics/accordion/item/accordion-item-tree-table-component/index.js.map +1 -1
- package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.json +431 -592
- package/src/schematics/accordion/item/accordion-item-tree-table-component/template.schema.json +10 -19
- package/src/schematics/accordion-identifier.schema.json +25 -0
- package/src/schematics/accordion-item.schema.json +24 -0
- package/src/schematics/angular.schema.json +11 -3
- package/src/schematics/button.schema.json +1 -1
- package/src/schematics/data-grid-component/index.d.ts +2 -3
- package/src/schematics/data-grid-component/index.js +42 -45
- package/src/schematics/data-grid-component/index.js.map +1 -1
- package/src/schematics/data-grid-component/schema.json +261 -375
- package/src/schematics/data-grid-component/template.schema.json +6 -15
- package/src/schematics/data-grid-item.schema.json +4 -1
- package/src/schematics/data-grid.schema.json +26 -4
- package/src/schematics/dialog-component/schema.json +72 -158
- package/src/schematics/dialog-component/template.schema.json +3 -6
- package/src/schematics/form/control/input-form-control/schema.json +108 -306
- package/src/schematics/form/control/input-form-control/template.schema.json +6 -9
- package/src/schematics/form/control/select-form-control/schema.json +120 -307
- package/src/schematics/form/control/select-form-control/template.schema.json +6 -9
- package/src/schematics/form/control/table-select-form-control/index.d.ts +7 -1
- package/src/schematics/form/control/table-select-form-control/index.js +195 -149
- package/src/schematics/form/control/table-select-form-control/index.js.map +1 -1
- package/src/schematics/form/control/table-select-form-control/schema.json +101 -296
- package/src/schematics/form/control/table-select-form-control/template.schema.json +11 -6
- package/src/schematics/form/form-component/index.d.ts +2 -0
- package/src/schematics/form/form-component/index.js +6 -4
- package/src/schematics/form/form-component/index.js.map +1 -1
- package/src/schematics/form/form-component/schema.d.ts +3 -1
- package/src/schematics/form/form-component/schema.json +176 -233
- package/src/schematics/form/form-component/template.schema.json +6 -9
- package/src/schematics/form/form-control/schema.json +68 -176
- package/src/schematics/form/form-control/template.schema.json +6 -9
- package/src/schematics/form/form-definition/schema.json +125 -230
- package/src/schematics/form/form-definition/template.schema.json +6 -9
- package/src/schematics/form-component.schema.json +9 -3
- package/src/schematics/form-definition.schema.json +3 -3
- package/src/schematics/general.schema.json +1 -4
- package/src/schematics/input-form-control.schema.json +11 -3
- package/src/schematics/minimum-table.schema.json +11 -5
- package/src/schematics/pipe.schema.json +1 -1
- package/src/schematics/select-form-control.schema.json +15 -4
- package/src/schematics/table/action/dialog-table-action/schema.json +150 -230
- package/src/schematics/table/action/dialog-table-action/template.schema.json +3 -6
- package/src/schematics/table/action/form-table-action/schema.json +317 -310
- package/src/schematics/table/action/form-table-action/template.schema.json +6 -6
- package/src/schematics/table/action/navigation-table-action/schema.json +150 -230
- package/src/schematics/table/action/navigation-table-action/template.schema.json +3 -6
- package/src/schematics/table/action/open-api-table-action/schema.json +150 -230
- package/src/schematics/table/action/open-api-table-action/template.schema.json +3 -6
- package/src/schematics/table/action/operation-table-action/schema.json +138 -218
- package/src/schematics/table/action/operation-table-action/template.schema.json +3 -6
- package/src/schematics/table/header-button/form-table-header-button/schema.json +217 -261
- package/src/schematics/table/header-button/form-table-header-button/template.schema.json +6 -6
- package/src/schematics/table/header-button/navigation-table-header-button/schema.json +131 -211
- package/src/schematics/table/header-button/navigation-table-header-button/template.schema.json +3 -6
- package/src/schematics/table/table-action/schema.json +56 -139
- package/src/schematics/table/table-action/template.schema.json +6 -6
- package/src/schematics/table/table-component/index.d.ts +10 -2
- package/src/schematics/table/table-component/index.js +13 -1
- package/src/schematics/table/table-component/index.js.map +1 -1
- package/src/schematics/table/table-component/schema.json +352 -547
- package/src/schematics/table/table-component/template.schema.json +6 -18
- package/src/schematics/table/table-header-button/schema.json +56 -139
- package/src/schematics/table/table-header-button/template.schema.json +6 -6
- package/src/schematics/table/tree-table-component/files/component/__componentName__.component.html.hbs +6 -0
- package/src/schematics/table/tree-table-component/index.d.ts +3 -0
- package/src/schematics/table/tree-table-component/index.js +11 -3
- package/src/schematics/table/tree-table-component/index.js.map +1 -1
- package/src/schematics/table/tree-table-component/schema.json +352 -547
- package/src/schematics/table/tree-table-component/template.schema.json +6 -18
- package/src/schematics/table-column.schema.json +4 -1
- package/src/schematics/table.schema.json +4 -1
- package/src/schematics/tree-component/schema.json +70 -62
- package/src/schematics/tree-component/template.schema.json +7 -2
- package/src/schematics/tree-table.schema.json +3 -3
- package/src/schematics/value.schema.json +1 -1
- package/src/template.schema.json +173 -0
|
@@ -3,45 +3,17 @@
|
|
|
3
3
|
"$id": "data-grid-component-schematic",
|
|
4
4
|
"allOf": [
|
|
5
5
|
{
|
|
6
|
+
"$ref": "#/definitions/angular"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"$ref": "#/definitions/dataGrid"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"definitions": {
|
|
13
|
+
"angular": {
|
|
6
14
|
"allOf": [
|
|
7
15
|
{
|
|
8
|
-
"
|
|
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
|
-
]
|
|
16
|
+
"$ref": "#/definitions/general"
|
|
45
17
|
},
|
|
46
18
|
{
|
|
47
19
|
"type": "object",
|
|
@@ -64,15 +36,7 @@
|
|
|
64
36
|
"type": "string"
|
|
65
37
|
},
|
|
66
38
|
"backend": {
|
|
67
|
-
"
|
|
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"
|
|
39
|
+
"$ref": "#/definitions/backend"
|
|
76
40
|
},
|
|
77
41
|
"directory": {
|
|
78
42
|
"type": "string",
|
|
@@ -97,7 +61,7 @@
|
|
|
97
61
|
}
|
|
98
62
|
]
|
|
99
63
|
},
|
|
100
|
-
{
|
|
64
|
+
"dataGrid": {
|
|
101
65
|
"type": "object",
|
|
102
66
|
"properties": {
|
|
103
67
|
"mode": {
|
|
@@ -124,262 +88,194 @@
|
|
|
124
88
|
"alias": "item",
|
|
125
89
|
"type": "array",
|
|
126
90
|
"items": {
|
|
127
|
-
"
|
|
128
|
-
"properties": {
|
|
129
|
-
"name": {
|
|
130
|
-
"type": "string",
|
|
131
|
-
"description": "The name of the data grid item"
|
|
132
|
-
},
|
|
133
|
-
"header": {
|
|
134
|
-
"type": "string",
|
|
135
|
-
"description": "The name of the control"
|
|
136
|
-
},
|
|
137
|
-
"pipeList": {
|
|
138
|
-
"type": "array",
|
|
139
|
-
"items": {
|
|
140
|
-
"$ref": "#/definitions/pipe"
|
|
141
|
-
}
|
|
142
|
-
},
|
|
143
|
-
"formControl": {
|
|
144
|
-
"type": "object",
|
|
145
|
-
"properties": {
|
|
146
|
-
"name": {
|
|
147
|
-
"type": "string",
|
|
148
|
-
"description": "The name of the control"
|
|
149
|
-
},
|
|
150
|
-
"type": {
|
|
151
|
-
"$ref": "#/definitions/type"
|
|
152
|
-
},
|
|
153
|
-
"isArray": {
|
|
154
|
-
"type": "boolean",
|
|
155
|
-
"description": "Whether the control value is an array",
|
|
156
|
-
"default": false
|
|
157
|
-
},
|
|
158
|
-
"state": {
|
|
159
|
-
"type": "string",
|
|
160
|
-
"description": "The initial state of the control"
|
|
161
|
-
},
|
|
162
|
-
"isRequired": {
|
|
163
|
-
"type": "boolean",
|
|
164
|
-
"description": "Whether the control value is required",
|
|
165
|
-
"default": false
|
|
166
|
-
},
|
|
167
|
-
"isReadonly": {
|
|
168
|
-
"type": "boolean",
|
|
169
|
-
"description": "Whether the control value is readonly",
|
|
170
|
-
"default": false
|
|
171
|
-
},
|
|
172
|
-
"isDisabled": {
|
|
173
|
-
"type": "boolean",
|
|
174
|
-
"description": "Whether the control value is disabled",
|
|
175
|
-
"default": false
|
|
176
|
-
},
|
|
177
|
-
"validatorList": {
|
|
178
|
-
"type": "array",
|
|
179
|
-
"items": {
|
|
180
|
-
"type": "string"
|
|
181
|
-
}
|
|
182
|
-
},
|
|
183
|
-
"kind": {
|
|
184
|
-
"type": "string",
|
|
185
|
-
"description": "The name of the template",
|
|
186
|
-
"enum": [
|
|
187
|
-
"default",
|
|
188
|
-
"input",
|
|
189
|
-
"select",
|
|
190
|
-
"checkbox",
|
|
191
|
-
"autocomplete-table-select",
|
|
192
|
-
"table-select",
|
|
193
|
-
"textarea",
|
|
194
|
-
"slide-toggle"
|
|
195
|
-
],
|
|
196
|
-
"default": "default"
|
|
197
|
-
}
|
|
198
|
-
},
|
|
199
|
-
"required": [
|
|
200
|
-
"name"
|
|
201
|
-
],
|
|
202
|
-
"additionalProperties": true
|
|
203
|
-
},
|
|
204
|
-
"template": {
|
|
205
|
-
"type": "string"
|
|
206
|
-
},
|
|
207
|
-
"kind": {
|
|
208
|
-
"type": "string",
|
|
209
|
-
"enum": [
|
|
210
|
-
"default",
|
|
211
|
-
"link"
|
|
212
|
-
],
|
|
213
|
-
"default": "default"
|
|
214
|
-
},
|
|
215
|
-
"type": {
|
|
216
|
-
"$ref": "#/definitions/type"
|
|
217
|
-
},
|
|
218
|
-
"isArray": {
|
|
219
|
-
"type": "boolean"
|
|
220
|
-
}
|
|
221
|
-
},
|
|
222
|
-
"required": [
|
|
223
|
-
"name"
|
|
224
|
-
]
|
|
91
|
+
"$ref": "#/definitions/dataGridItem"
|
|
225
92
|
}
|
|
226
93
|
},
|
|
227
94
|
"inCard": {
|
|
228
95
|
"type": "boolean",
|
|
229
96
|
"description": "Whether the data grid is used in a card.",
|
|
230
97
|
"default": true
|
|
98
|
+
},
|
|
99
|
+
"upstream": {
|
|
100
|
+
"$ref": "#/definitions/upstream"
|
|
101
|
+
},
|
|
102
|
+
"propertyList": {
|
|
103
|
+
"alias": "property",
|
|
104
|
+
"type": "array",
|
|
105
|
+
"items": {
|
|
106
|
+
"$ref": "#/definitions/property"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"identifier": {
|
|
110
|
+
"$ref": "#/definitions/accordionIdentifier"
|
|
231
111
|
}
|
|
232
112
|
}
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
"type": "string"
|
|
113
|
+
},
|
|
114
|
+
"accordionIdentifier": {
|
|
115
|
+
"type": "object",
|
|
116
|
+
"properties": {
|
|
117
|
+
"property": {
|
|
118
|
+
"$ref": "#/definitions/property"
|
|
240
119
|
},
|
|
241
|
-
{
|
|
242
|
-
"type": "
|
|
243
|
-
"
|
|
244
|
-
"
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
"isTypeOnly": {
|
|
248
|
-
"type": "boolean"
|
|
249
|
-
},
|
|
250
|
-
"moduleSpecifier": {
|
|
251
|
-
"type": "string"
|
|
252
|
-
},
|
|
253
|
-
"namedImport": {
|
|
254
|
-
"type": "string"
|
|
255
|
-
},
|
|
256
|
-
"namespaceImport": {
|
|
257
|
-
"type": "string"
|
|
258
|
-
},
|
|
259
|
-
"defaultImport": {
|
|
260
|
-
"type": "string"
|
|
261
|
-
}
|
|
262
|
-
},
|
|
263
|
-
"required": [
|
|
264
|
-
"name"
|
|
265
|
-
]
|
|
120
|
+
"source": {
|
|
121
|
+
"type": "string",
|
|
122
|
+
"enum": [
|
|
123
|
+
"route"
|
|
124
|
+
],
|
|
125
|
+
"default": "route"
|
|
266
126
|
}
|
|
127
|
+
},
|
|
128
|
+
"required": [
|
|
129
|
+
"property"
|
|
267
130
|
]
|
|
268
131
|
},
|
|
269
|
-
"
|
|
270
|
-
"
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
"name": {
|
|
278
|
-
"type": "string"
|
|
279
|
-
},
|
|
280
|
-
"type": {
|
|
281
|
-
"$ref": "#/definitions/type"
|
|
282
|
-
},
|
|
283
|
-
"isArray": {
|
|
284
|
-
"type": "boolean"
|
|
285
|
-
}
|
|
286
|
-
},
|
|
287
|
-
"required": [
|
|
288
|
-
"name"
|
|
289
|
-
]
|
|
290
|
-
}
|
|
132
|
+
"backend": {
|
|
133
|
+
"type": "string",
|
|
134
|
+
"description": "The backend that should be used to handel data",
|
|
135
|
+
"enum": [
|
|
136
|
+
"none",
|
|
137
|
+
"nestjs",
|
|
138
|
+
"open-api",
|
|
139
|
+
"local"
|
|
291
140
|
],
|
|
292
|
-
"
|
|
293
|
-
"type": {
|
|
294
|
-
"oneOf": [
|
|
295
|
-
{
|
|
296
|
-
"type": "string"
|
|
297
|
-
},
|
|
298
|
-
{
|
|
299
|
-
"type": "object",
|
|
300
|
-
"properties": {
|
|
301
|
-
"name": {
|
|
302
|
-
"type": "string"
|
|
303
|
-
},
|
|
304
|
-
"isTypeOnly": {
|
|
305
|
-
"type": "boolean"
|
|
306
|
-
},
|
|
307
|
-
"moduleSpecifier": {
|
|
308
|
-
"type": "string"
|
|
309
|
-
},
|
|
310
|
-
"namedImport": {
|
|
311
|
-
"type": "string"
|
|
312
|
-
},
|
|
313
|
-
"namespaceImport": {
|
|
314
|
-
"type": "string"
|
|
315
|
-
},
|
|
316
|
-
"defaultImport": {
|
|
317
|
-
"type": "string"
|
|
318
|
-
}
|
|
319
|
-
},
|
|
320
|
-
"required": [
|
|
321
|
-
"name"
|
|
322
|
-
]
|
|
323
|
-
}
|
|
324
|
-
]
|
|
325
|
-
}
|
|
326
|
-
}
|
|
141
|
+
"default": "none"
|
|
327
142
|
},
|
|
328
|
-
"
|
|
143
|
+
"dataGridItem": {
|
|
329
144
|
"type": "object",
|
|
330
145
|
"properties": {
|
|
331
|
-
"
|
|
332
|
-
"type": "string"
|
|
146
|
+
"name": {
|
|
147
|
+
"type": "string",
|
|
148
|
+
"description": "The name of the data grid item"
|
|
333
149
|
},
|
|
334
|
-
"
|
|
335
|
-
"type": "string"
|
|
150
|
+
"header": {
|
|
151
|
+
"type": "string",
|
|
152
|
+
"description": "The name of the control"
|
|
336
153
|
},
|
|
337
|
-
"
|
|
154
|
+
"pipeList": {
|
|
338
155
|
"type": "array",
|
|
339
156
|
"items": {
|
|
340
|
-
"$ref": "#/definitions/
|
|
157
|
+
"$ref": "#/definitions/pipe"
|
|
341
158
|
}
|
|
342
159
|
},
|
|
343
|
-
"
|
|
160
|
+
"formControl": {
|
|
161
|
+
"$ref": "#/definitions/formControl"
|
|
162
|
+
},
|
|
163
|
+
"template": {
|
|
164
|
+
"type": "string"
|
|
165
|
+
},
|
|
166
|
+
"kind": {
|
|
167
|
+
"type": "string",
|
|
168
|
+
"enum": [
|
|
169
|
+
"default",
|
|
170
|
+
"link"
|
|
171
|
+
],
|
|
172
|
+
"default": "default"
|
|
173
|
+
},
|
|
174
|
+
"type": {
|
|
175
|
+
"$ref": "#/definitions/type"
|
|
176
|
+
},
|
|
177
|
+
"isArray": {
|
|
178
|
+
"type": "boolean"
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
"required": [
|
|
182
|
+
"name"
|
|
183
|
+
]
|
|
184
|
+
},
|
|
185
|
+
"formControl": {
|
|
186
|
+
"type": "object",
|
|
187
|
+
"properties": {
|
|
188
|
+
"name": {
|
|
189
|
+
"type": "string",
|
|
190
|
+
"description": "The name of the control"
|
|
191
|
+
},
|
|
192
|
+
"type": {
|
|
193
|
+
"$ref": "#/definitions/type"
|
|
194
|
+
},
|
|
195
|
+
"isArray": {
|
|
196
|
+
"type": "boolean",
|
|
197
|
+
"description": "Whether the control value is an array",
|
|
198
|
+
"default": false
|
|
199
|
+
},
|
|
200
|
+
"state": {
|
|
201
|
+
"type": "string",
|
|
202
|
+
"description": "The initial state of the control"
|
|
203
|
+
},
|
|
204
|
+
"isRequired": {
|
|
205
|
+
"type": "boolean",
|
|
206
|
+
"description": "Whether the control value is required",
|
|
207
|
+
"default": false
|
|
208
|
+
},
|
|
209
|
+
"isReadonly": {
|
|
210
|
+
"type": "boolean",
|
|
211
|
+
"description": "Whether the control value is readonly",
|
|
212
|
+
"default": false
|
|
213
|
+
},
|
|
214
|
+
"isDisabled": {
|
|
215
|
+
"type": "boolean",
|
|
216
|
+
"description": "Whether the control value is disabled",
|
|
217
|
+
"default": false
|
|
218
|
+
},
|
|
219
|
+
"validatorList": {
|
|
344
220
|
"type": "array",
|
|
345
221
|
"items": {
|
|
346
|
-
"
|
|
222
|
+
"type": "string"
|
|
347
223
|
}
|
|
224
|
+
},
|
|
225
|
+
"kind": {
|
|
226
|
+
"type": "string",
|
|
227
|
+
"description": "The name of the template",
|
|
228
|
+
"enum": [
|
|
229
|
+
"default",
|
|
230
|
+
"input",
|
|
231
|
+
"select",
|
|
232
|
+
"checkbox",
|
|
233
|
+
"autocomplete-table-select",
|
|
234
|
+
"table-select",
|
|
235
|
+
"textarea",
|
|
236
|
+
"slide-toggle"
|
|
237
|
+
],
|
|
238
|
+
"default": "default"
|
|
348
239
|
}
|
|
349
240
|
},
|
|
350
|
-
"
|
|
351
|
-
"
|
|
352
|
-
|
|
241
|
+
"required": [
|
|
242
|
+
"name"
|
|
243
|
+
],
|
|
244
|
+
"additionalProperties": true
|
|
245
|
+
},
|
|
246
|
+
"general": {
|
|
247
|
+
"type": "object",
|
|
248
|
+
"properties": {
|
|
249
|
+
"project": {
|
|
250
|
+
"type": "string",
|
|
251
|
+
"description": "Project name where the files should be generated"
|
|
252
|
+
},
|
|
253
|
+
"feature": {
|
|
254
|
+
"type": "string",
|
|
255
|
+
"description": "Feature name where the files should be generated"
|
|
256
|
+
},
|
|
257
|
+
"overwrite": {
|
|
258
|
+
"anyOf": [
|
|
353
259
|
{
|
|
354
|
-
"type": "
|
|
260
|
+
"type": "boolean"
|
|
355
261
|
},
|
|
356
262
|
{
|
|
357
|
-
"type": "
|
|
358
|
-
"
|
|
359
|
-
"
|
|
360
|
-
|
|
361
|
-
},
|
|
362
|
-
"isTypeOnly": {
|
|
363
|
-
"type": "boolean"
|
|
364
|
-
},
|
|
365
|
-
"moduleSpecifier": {
|
|
366
|
-
"type": "string"
|
|
367
|
-
},
|
|
368
|
-
"namedImport": {
|
|
369
|
-
"type": "string"
|
|
370
|
-
},
|
|
371
|
-
"namespaceImport": {
|
|
372
|
-
"type": "string"
|
|
373
|
-
},
|
|
374
|
-
"defaultImport": {
|
|
375
|
-
"type": "string"
|
|
376
|
-
}
|
|
377
|
-
},
|
|
378
|
-
"required": [
|
|
379
|
-
"name"
|
|
380
|
-
]
|
|
263
|
+
"type": "array",
|
|
264
|
+
"items": {
|
|
265
|
+
"type": "string"
|
|
266
|
+
}
|
|
381
267
|
}
|
|
382
|
-
]
|
|
268
|
+
],
|
|
269
|
+
"description": "Overwrite existing files",
|
|
270
|
+
"default": false
|
|
271
|
+
},
|
|
272
|
+
"overwriteHtml": {
|
|
273
|
+
"type": "boolean",
|
|
274
|
+
"default": false
|
|
275
|
+
},
|
|
276
|
+
"replace": {
|
|
277
|
+
"type": "boolean",
|
|
278
|
+
"default": false
|
|
383
279
|
}
|
|
384
280
|
}
|
|
385
281
|
},
|
|
@@ -409,98 +305,123 @@
|
|
|
409
305
|
}
|
|
410
306
|
]
|
|
411
307
|
}
|
|
412
|
-
]
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
308
|
+
]
|
|
309
|
+
},
|
|
310
|
+
"property": {
|
|
311
|
+
"oneOf": [
|
|
312
|
+
{
|
|
313
|
+
"type": "string"
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"type": "object",
|
|
317
|
+
"properties": {
|
|
318
|
+
"name": {
|
|
417
319
|
"type": "string"
|
|
418
320
|
},
|
|
419
|
-
{
|
|
321
|
+
"type": {
|
|
322
|
+
"$ref": "#/definitions/type"
|
|
323
|
+
},
|
|
324
|
+
"isArray": {
|
|
325
|
+
"type": "boolean"
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
"required": [
|
|
329
|
+
"name"
|
|
330
|
+
]
|
|
331
|
+
}
|
|
332
|
+
]
|
|
333
|
+
},
|
|
334
|
+
"type": {
|
|
335
|
+
"oneOf": [
|
|
336
|
+
{
|
|
337
|
+
"type": "string"
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"type": "object",
|
|
341
|
+
"properties": {
|
|
342
|
+
"name": {
|
|
343
|
+
"type": "string"
|
|
344
|
+
},
|
|
345
|
+
"isTypeOnly": {
|
|
346
|
+
"type": "boolean"
|
|
347
|
+
},
|
|
348
|
+
"moduleSpecifier": {
|
|
349
|
+
"type": "string"
|
|
350
|
+
},
|
|
351
|
+
"namedImport": {
|
|
352
|
+
"type": "string"
|
|
353
|
+
},
|
|
354
|
+
"namespaceImport": {
|
|
355
|
+
"type": "string"
|
|
356
|
+
},
|
|
357
|
+
"defaultImport": {
|
|
358
|
+
"type": "string"
|
|
359
|
+
}
|
|
360
|
+
},
|
|
361
|
+
"required": [
|
|
362
|
+
"name"
|
|
363
|
+
]
|
|
364
|
+
}
|
|
365
|
+
]
|
|
366
|
+
},
|
|
367
|
+
"upstream": {
|
|
368
|
+
"oneOf": [
|
|
369
|
+
{
|
|
370
|
+
"type": "object",
|
|
371
|
+
"properties": {
|
|
372
|
+
"kind": {
|
|
373
|
+
"type": "string",
|
|
374
|
+
"enum": [
|
|
375
|
+
"open-api"
|
|
376
|
+
]
|
|
377
|
+
},
|
|
378
|
+
"operationId": {
|
|
379
|
+
"type": "string"
|
|
380
|
+
},
|
|
381
|
+
"scope": {
|
|
382
|
+
"type": "string"
|
|
383
|
+
},
|
|
384
|
+
"mapper": {
|
|
420
385
|
"type": "object",
|
|
421
386
|
"properties": {
|
|
422
|
-
"
|
|
387
|
+
"pageIndex": {
|
|
423
388
|
"type": "string"
|
|
424
389
|
},
|
|
425
|
-
"
|
|
426
|
-
"type": "boolean"
|
|
427
|
-
},
|
|
428
|
-
"moduleSpecifier": {
|
|
390
|
+
"pageSize": {
|
|
429
391
|
"type": "string"
|
|
430
392
|
},
|
|
431
|
-
"
|
|
393
|
+
"sortBy": {
|
|
432
394
|
"type": "string"
|
|
433
395
|
},
|
|
434
|
-
"
|
|
396
|
+
"sortDirection": {
|
|
435
397
|
"type": "string"
|
|
436
398
|
},
|
|
437
|
-
"
|
|
399
|
+
"list": {
|
|
438
400
|
"type": "string"
|
|
439
|
-
}
|
|
440
|
-
},
|
|
441
|
-
"required": [
|
|
442
|
-
"name"
|
|
443
|
-
]
|
|
444
|
-
}
|
|
445
|
-
]
|
|
446
|
-
},
|
|
447
|
-
"value": {
|
|
448
|
-
"oneOf": [
|
|
449
|
-
{
|
|
450
|
-
"type": "string"
|
|
451
|
-
},
|
|
452
|
-
{
|
|
453
|
-
"type": "object",
|
|
454
|
-
"properties": {
|
|
455
|
-
"type": {
|
|
456
|
-
"$ref": "#/definitions/type"
|
|
457
401
|
},
|
|
458
|
-
"
|
|
459
|
-
"type": "string"
|
|
460
|
-
}
|
|
461
|
-
},
|
|
462
|
-
"required": [
|
|
463
|
-
"value"
|
|
464
|
-
]
|
|
465
|
-
}
|
|
466
|
-
],
|
|
467
|
-
"definitions": {
|
|
468
|
-
"type": {
|
|
469
|
-
"oneOf": [
|
|
470
|
-
{
|
|
402
|
+
"total": {
|
|
471
403
|
"type": "string"
|
|
472
404
|
},
|
|
473
|
-
{
|
|
405
|
+
"filter": {
|
|
474
406
|
"type": "object",
|
|
475
407
|
"properties": {
|
|
476
|
-
"
|
|
408
|
+
"eq": {
|
|
477
409
|
"type": "string"
|
|
478
410
|
},
|
|
479
|
-
"
|
|
480
|
-
"type": "boolean"
|
|
481
|
-
},
|
|
482
|
-
"moduleSpecifier": {
|
|
483
|
-
"type": "string"
|
|
484
|
-
},
|
|
485
|
-
"namedImport": {
|
|
486
|
-
"type": "string"
|
|
487
|
-
},
|
|
488
|
-
"namespaceImport": {
|
|
489
|
-
"type": "string"
|
|
490
|
-
},
|
|
491
|
-
"defaultImport": {
|
|
411
|
+
"join": {
|
|
492
412
|
"type": "string"
|
|
493
413
|
}
|
|
494
|
-
}
|
|
495
|
-
"required": [
|
|
496
|
-
"name"
|
|
497
|
-
]
|
|
414
|
+
}
|
|
498
415
|
}
|
|
499
|
-
|
|
416
|
+
}
|
|
500
417
|
}
|
|
501
|
-
}
|
|
418
|
+
},
|
|
419
|
+
"required": [
|
|
420
|
+
"kind",
|
|
421
|
+
"operationId"
|
|
422
|
+
]
|
|
502
423
|
}
|
|
503
|
-
|
|
424
|
+
]
|
|
504
425
|
},
|
|
505
426
|
"value": {
|
|
506
427
|
"oneOf": [
|
|
@@ -521,42 +442,7 @@
|
|
|
521
442
|
"value"
|
|
522
443
|
]
|
|
523
444
|
}
|
|
524
|
-
]
|
|
525
|
-
"definitions": {
|
|
526
|
-
"type": {
|
|
527
|
-
"oneOf": [
|
|
528
|
-
{
|
|
529
|
-
"type": "string"
|
|
530
|
-
},
|
|
531
|
-
{
|
|
532
|
-
"type": "object",
|
|
533
|
-
"properties": {
|
|
534
|
-
"name": {
|
|
535
|
-
"type": "string"
|
|
536
|
-
},
|
|
537
|
-
"isTypeOnly": {
|
|
538
|
-
"type": "boolean"
|
|
539
|
-
},
|
|
540
|
-
"moduleSpecifier": {
|
|
541
|
-
"type": "string"
|
|
542
|
-
},
|
|
543
|
-
"namedImport": {
|
|
544
|
-
"type": "string"
|
|
545
|
-
},
|
|
546
|
-
"namespaceImport": {
|
|
547
|
-
"type": "string"
|
|
548
|
-
},
|
|
549
|
-
"defaultImport": {
|
|
550
|
-
"type": "string"
|
|
551
|
-
}
|
|
552
|
-
},
|
|
553
|
-
"required": [
|
|
554
|
-
"name"
|
|
555
|
-
]
|
|
556
|
-
}
|
|
557
|
-
]
|
|
558
|
-
}
|
|
559
|
-
}
|
|
445
|
+
]
|
|
560
446
|
}
|
|
561
447
|
}
|
|
562
448
|
}
|