@rxap/schematic-angular 16.2.0-dev.14 → 16.2.0-dev.15
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 +17 -0
- package/package.json +2 -2
- package/src/lib/accordion-item.d.ts +13 -6
- package/src/lib/accordion-item.js +10 -1
- 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 +3 -0
- package/src/lib/data-grid-options.js +2 -0
- package/src/lib/data-grid-options.js.map +1 -1
- package/src/lib/form-control.d.ts +2 -2
- package/src/lib/form-control.js +14 -43
- package/src/lib/form-control.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/table-column.d.ts +9 -5
- package/src/lib/table-column.js +37 -59
- package/src/lib/table-column.js.map +1 -1
- package/src/schema.json +2347 -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 +321 -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.js +17 -16
- package/src/schematics/data-grid-component/index.js.map +1 -1
- package/src/schematics/data-grid-component/schema.json +212 -378
- 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 +10 -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.js +1 -1
- 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 +93 -296
- package/src/schematics/form/control/table-select-form-control/template.schema.json +3 -6
- package/src/schematics/form/form-component/schema.json +136 -238
- 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 +3 -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 +283 -321
- 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 +1 -1
- package/src/schematics/table/table-component/index.js +2 -0
- 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,27 +3,18 @@
|
|
|
3
3
|
"$id": "data-grid-component-schematic",
|
|
4
4
|
"allOf": [
|
|
5
5
|
{
|
|
6
|
-
"$ref": "
|
|
6
|
+
"$ref": "#/definitions/angular"
|
|
7
7
|
},
|
|
8
8
|
{
|
|
9
|
-
"$ref": "
|
|
9
|
+
"$ref": "#/definitions/dataGrid"
|
|
10
10
|
}
|
|
11
11
|
],
|
|
12
12
|
"definitions": {
|
|
13
|
-
"
|
|
14
|
-
"$ref": "../
|
|
15
|
-
},
|
|
16
|
-
"property": {
|
|
17
|
-
"$ref": "../property.schema.json"
|
|
18
|
-
},
|
|
19
|
-
"button": {
|
|
20
|
-
"$ref": "../button.schema.json"
|
|
21
|
-
},
|
|
22
|
-
"pipe": {
|
|
23
|
-
"$ref": "../pipe.schema.json"
|
|
13
|
+
"angular": {
|
|
14
|
+
"$ref": "../angular.schema.json"
|
|
24
15
|
},
|
|
25
|
-
"
|
|
26
|
-
"$ref": "../
|
|
16
|
+
"dataGrid": {
|
|
17
|
+
"$ref": "../data-grid.schema.json"
|
|
27
18
|
}
|
|
28
19
|
}
|
|
29
20
|
}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
"formControl": {
|
|
21
|
-
"$ref": "
|
|
21
|
+
"$ref": "#/definitions/formControl"
|
|
22
22
|
},
|
|
23
23
|
"template": {
|
|
24
24
|
"type": "string"
|
|
@@ -42,6 +42,9 @@
|
|
|
42
42
|
},
|
|
43
43
|
"pipe": {
|
|
44
44
|
"$ref": "./pipe.schema.json"
|
|
45
|
+
},
|
|
46
|
+
"formControl": {
|
|
47
|
+
"$ref": "./form-control.schema.json"
|
|
45
48
|
}
|
|
46
49
|
}
|
|
47
50
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/schema",
|
|
3
|
-
"$id": "data-grid
|
|
3
|
+
"$id": "data-grid",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
6
6
|
"mode": {
|
|
@@ -27,18 +27,24 @@
|
|
|
27
27
|
"alias": "item",
|
|
28
28
|
"type": "array",
|
|
29
29
|
"items": {
|
|
30
|
-
"$ref": "
|
|
30
|
+
"$ref": "#/definitions/dataGridItem"
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"inCard": {
|
|
34
34
|
"type": "boolean",
|
|
35
35
|
"description": "Whether the data grid is used in a card.",
|
|
36
36
|
"default": true
|
|
37
|
+
},
|
|
38
|
+
"upstream": {
|
|
39
|
+
"$ref": "#/definitions/upstream"
|
|
37
40
|
}
|
|
38
41
|
},
|
|
39
42
|
"definitions": {
|
|
40
|
-
"
|
|
41
|
-
"$ref": "./
|
|
43
|
+
"dataGridItem": {
|
|
44
|
+
"$ref": "./data-grid-item.schema.json"
|
|
45
|
+
},
|
|
46
|
+
"upstream": {
|
|
47
|
+
"$ref": "./upstream.schema.json"
|
|
42
48
|
}
|
|
43
49
|
}
|
|
44
50
|
}
|
|
@@ -3,99 +3,7 @@
|
|
|
3
3
|
"$id": "dialog-component-schematic",
|
|
4
4
|
"allOf": [
|
|
5
5
|
{
|
|
6
|
-
"
|
|
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
|
-
]
|
|
6
|
+
"$ref": "#/definitions/angular"
|
|
99
7
|
},
|
|
100
8
|
{
|
|
101
9
|
"type": "object",
|
|
@@ -147,95 +55,101 @@
|
|
|
147
55
|
}
|
|
148
56
|
],
|
|
149
57
|
"definitions": {
|
|
150
|
-
"
|
|
151
|
-
"
|
|
58
|
+
"angular": {
|
|
59
|
+
"allOf": [
|
|
152
60
|
{
|
|
153
|
-
"
|
|
61
|
+
"$ref": "#/definitions/general"
|
|
154
62
|
},
|
|
155
63
|
{
|
|
156
64
|
"type": "object",
|
|
157
65
|
"properties": {
|
|
66
|
+
"componentName": {
|
|
67
|
+
"type": "string"
|
|
68
|
+
},
|
|
158
69
|
"name": {
|
|
159
70
|
"type": "string"
|
|
160
71
|
},
|
|
161
|
-
"
|
|
162
|
-
"type": "
|
|
72
|
+
"context": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"description": "The context use to generate proper names for class, files, etc"
|
|
163
75
|
},
|
|
164
|
-
"
|
|
165
|
-
"type": "string"
|
|
76
|
+
"nestModule": {
|
|
77
|
+
"type": "string",
|
|
78
|
+
"description": "The module name for the table nest operations"
|
|
166
79
|
},
|
|
167
|
-
"
|
|
80
|
+
"controllerName": {
|
|
168
81
|
"type": "string"
|
|
169
82
|
},
|
|
170
|
-
"
|
|
83
|
+
"backend": {
|
|
84
|
+
"$ref": "#/definitions/backend"
|
|
85
|
+
},
|
|
86
|
+
"directory": {
|
|
87
|
+
"type": "string",
|
|
88
|
+
"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"
|
|
89
|
+
},
|
|
90
|
+
"shared": {
|
|
91
|
+
"type": "boolean",
|
|
92
|
+
"description": "Whether the generated code is used across the project",
|
|
93
|
+
"default": false
|
|
94
|
+
},
|
|
95
|
+
"scope": {
|
|
171
96
|
"type": "string"
|
|
172
97
|
},
|
|
173
|
-
"
|
|
98
|
+
"prefix": {
|
|
174
99
|
"type": "string"
|
|
100
|
+
},
|
|
101
|
+
"openApi": {
|
|
102
|
+
"type": "object",
|
|
103
|
+
"additionalProperties": true
|
|
175
104
|
}
|
|
176
|
-
}
|
|
177
|
-
"required": [
|
|
178
|
-
"name"
|
|
179
|
-
]
|
|
105
|
+
}
|
|
180
106
|
}
|
|
181
107
|
]
|
|
182
108
|
},
|
|
183
|
-
"
|
|
184
|
-
"
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
"name": {
|
|
192
|
-
"type": "string"
|
|
193
|
-
},
|
|
194
|
-
"type": {
|
|
195
|
-
"$ref": "#/definitions/type"
|
|
196
|
-
},
|
|
197
|
-
"isArray": {
|
|
198
|
-
"type": "boolean"
|
|
199
|
-
}
|
|
200
|
-
},
|
|
201
|
-
"required": [
|
|
202
|
-
"name"
|
|
203
|
-
]
|
|
204
|
-
}
|
|
109
|
+
"backend": {
|
|
110
|
+
"type": "string",
|
|
111
|
+
"description": "The backend that should be used to handel data",
|
|
112
|
+
"enum": [
|
|
113
|
+
"none",
|
|
114
|
+
"nestjs",
|
|
115
|
+
"open-api",
|
|
116
|
+
"local"
|
|
205
117
|
],
|
|
206
|
-
"
|
|
207
|
-
|
|
208
|
-
|
|
118
|
+
"default": "none"
|
|
119
|
+
},
|
|
120
|
+
"general": {
|
|
121
|
+
"type": "object",
|
|
122
|
+
"properties": {
|
|
123
|
+
"project": {
|
|
124
|
+
"type": "string",
|
|
125
|
+
"description": "Project name where the files should be generated"
|
|
126
|
+
},
|
|
127
|
+
"feature": {
|
|
128
|
+
"type": "string",
|
|
129
|
+
"description": "Feature name where the files should be generated"
|
|
130
|
+
},
|
|
131
|
+
"overwrite": {
|
|
132
|
+
"anyOf": [
|
|
209
133
|
{
|
|
210
|
-
"type": "
|
|
134
|
+
"type": "boolean"
|
|
211
135
|
},
|
|
212
136
|
{
|
|
213
|
-
"type": "
|
|
214
|
-
"
|
|
215
|
-
"
|
|
216
|
-
|
|
217
|
-
},
|
|
218
|
-
"isTypeOnly": {
|
|
219
|
-
"type": "boolean"
|
|
220
|
-
},
|
|
221
|
-
"moduleSpecifier": {
|
|
222
|
-
"type": "string"
|
|
223
|
-
},
|
|
224
|
-
"namedImport": {
|
|
225
|
-
"type": "string"
|
|
226
|
-
},
|
|
227
|
-
"namespaceImport": {
|
|
228
|
-
"type": "string"
|
|
229
|
-
},
|
|
230
|
-
"defaultImport": {
|
|
231
|
-
"type": "string"
|
|
232
|
-
}
|
|
233
|
-
},
|
|
234
|
-
"required": [
|
|
235
|
-
"name"
|
|
236
|
-
]
|
|
137
|
+
"type": "array",
|
|
138
|
+
"items": {
|
|
139
|
+
"type": "string"
|
|
140
|
+
}
|
|
237
141
|
}
|
|
238
|
-
]
|
|
142
|
+
],
|
|
143
|
+
"description": "Overwrite existing files",
|
|
144
|
+
"default": false
|
|
145
|
+
},
|
|
146
|
+
"overwriteHtml": {
|
|
147
|
+
"type": "boolean",
|
|
148
|
+
"default": false
|
|
149
|
+
},
|
|
150
|
+
"replace": {
|
|
151
|
+
"type": "boolean",
|
|
152
|
+
"default": false
|
|
239
153
|
}
|
|
240
154
|
}
|
|
241
155
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"$id": "dialog-component-schematic",
|
|
4
4
|
"allOf": [
|
|
5
5
|
{
|
|
6
|
-
"$ref": "
|
|
6
|
+
"$ref": "#/definitions/angular"
|
|
7
7
|
},
|
|
8
8
|
{
|
|
9
9
|
"type": "object",
|
|
@@ -55,11 +55,8 @@
|
|
|
55
55
|
}
|
|
56
56
|
],
|
|
57
57
|
"definitions": {
|
|
58
|
-
"
|
|
59
|
-
"$ref": "../
|
|
60
|
-
},
|
|
61
|
-
"property": {
|
|
62
|
-
"$ref": "../property.schema.json"
|
|
58
|
+
"angular": {
|
|
59
|
+
"$ref": "../angular.schema.json"
|
|
63
60
|
}
|
|
64
61
|
}
|
|
65
62
|
}
|