@rxap/schematic-angular 16.2.0-dev.20 → 16.2.0-dev.21

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 (179) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +1 -1
  3. package/collection.json +10 -0
  4. package/package.json +4 -4
  5. package/src/lib/coerce-form-component.js +15 -3
  6. package/src/lib/coerce-form-component.js.map +1 -1
  7. package/src/lib/data-grid-item.d.ts +3 -3
  8. package/src/lib/data-grid-item.js +2 -2
  9. package/src/lib/data-grid-item.js.map +1 -1
  10. package/src/lib/form/abstract-control.d.ts +29 -0
  11. package/src/lib/form/abstract-control.js +37 -0
  12. package/src/lib/form/abstract-control.js.map +1 -0
  13. package/src/lib/form/array/base-form-array.d.ts +18 -0
  14. package/src/lib/form/array/base-form-array.js +40 -0
  15. package/src/lib/form/array/base-form-array.js.map +1 -0
  16. package/src/lib/form/array/form-array-kind.d.ts +3 -0
  17. package/src/lib/form/array/form-array-kind.js +8 -0
  18. package/src/lib/form/array/form-array-kind.js.map +1 -0
  19. package/src/lib/form/array/form-array.d.ts +12 -0
  20. package/src/lib/form/array/form-array.js +18 -0
  21. package/src/lib/form/array/form-array.js.map +1 -0
  22. package/src/lib/form/coerce-control-component-imports.d.ts +3 -0
  23. package/src/lib/form/coerce-control-component-imports.js +18 -0
  24. package/src/lib/form/coerce-control-component-imports.js.map +1 -0
  25. package/src/lib/form/control/base-form-control.d.ts +14 -0
  26. package/src/lib/form/control/base-form-control.js +19 -0
  27. package/src/lib/form/control/base-form-control.js.map +1 -0
  28. package/src/lib/form/control/checkbox-form-control.d.ts +11 -0
  29. package/src/lib/form/control/checkbox-form-control.js +23 -0
  30. package/src/lib/form/control/checkbox-form-control.js.map +1 -0
  31. package/src/lib/form/control/form-control-kind.d.ts +8 -0
  32. package/src/lib/form/control/form-control-kind.js +13 -0
  33. package/src/lib/form/control/form-control-kind.js.map +1 -0
  34. package/src/lib/form/control/form-control.d.ts +18 -0
  35. package/src/lib/form/control/form-control.js +40 -0
  36. package/src/lib/form/control/form-control.js.map +1 -0
  37. package/src/lib/form/control/form-field-form-control.d.ts +33 -0
  38. package/src/lib/form/control/form-field-form-control.js +76 -0
  39. package/src/lib/form/control/form-field-form-control.js.map +1 -0
  40. package/src/lib/form/control/input-form-control.d.ts +14 -0
  41. package/src/lib/form/control/input-form-control.js +71 -0
  42. package/src/lib/form/control/input-form-control.js.map +1 -0
  43. package/src/lib/form/control/select-form-control.d.ts +18 -0
  44. package/src/lib/form/control/select-form-control.js +29 -0
  45. package/src/lib/form/control/select-form-control.js.map +1 -0
  46. package/src/lib/form/control/slide-toggle-form-control.d.ts +11 -0
  47. package/src/lib/form/control/slide-toggle-form-control.js +23 -0
  48. package/src/lib/form/control/slide-toggle-form-control.js.map +1 -0
  49. package/src/lib/form/control/table-select-form-control.d.ts +43 -0
  50. package/src/lib/form/control/table-select-form-control.js +69 -0
  51. package/src/lib/form/control/table-select-form-control.js.map +1 -0
  52. package/src/lib/form/control.d.ts +8 -0
  53. package/src/lib/form/control.js +38 -0
  54. package/src/lib/form/control.js.map +1 -0
  55. package/src/lib/form/generate-form-template.d.ts +2 -2
  56. package/src/lib/form/group/base-form-group.d.ts +17 -0
  57. package/src/lib/form/group/base-form-group.js +20 -0
  58. package/src/lib/form/group/base-form-group.js.map +1 -0
  59. package/src/lib/form/group/form-group-kind.d.ts +3 -0
  60. package/src/lib/form/group/form-group-kind.js +8 -0
  61. package/src/lib/form/group/form-group-kind.js.map +1 -0
  62. package/src/lib/form/group/form-group.d.ts +12 -0
  63. package/src/lib/form/group/form-group.js +18 -0
  64. package/src/lib/form/group/form-group.js.map +1 -0
  65. package/src/lib/table-column.d.ts +4 -3
  66. package/src/lib/table-column.js +5 -4
  67. package/src/lib/table-column.js.map +1 -1
  68. package/src/schema.json +1673 -1415
  69. package/src/schematic-input.schema.json +90 -156
  70. package/src/schematics/abstract-control.schema.json +78 -0
  71. package/src/schematics/accordion/accordion-component/schema.json +127 -127
  72. package/src/schematics/accordion/accordion-item-component/schema.json +18 -18
  73. package/src/schematics/accordion/item/accordion-item-data-grid-component/schema.json +602 -81
  74. package/src/schematics/accordion/item/accordion-item-switch-component/schema.json +76 -76
  75. package/src/schematics/accordion/item/accordion-item-table-component/schema.json +486 -111
  76. package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.json +458 -83
  77. package/src/schematics/base-form-array.schema.json +45 -0
  78. package/src/schematics/base-form-control.schema.json +27 -0
  79. package/src/schematics/base-form-group.schema.json +42 -0
  80. package/src/schematics/checkbox-form-control.schema.json +30 -0
  81. package/src/schematics/control.schema.json +26 -0
  82. package/src/schematics/data-grid-component/index.js +4 -0
  83. package/src/schematics/data-grid-component/index.js.map +1 -1
  84. package/src/schematics/data-grid-component/schema.json +602 -81
  85. package/src/schematics/data-grid-item.schema.json +3 -3
  86. package/src/schematics/form/control/input-form-control/index.d.ts +1 -1
  87. package/src/schematics/form/control/input-form-control/index.js +4 -4
  88. package/src/schematics/form/control/input-form-control/index.js.map +1 -1
  89. package/src/schematics/form/control/input-form-control/schema.d.ts +2 -2
  90. package/src/schematics/form/control/input-form-control/schema.json +256 -86
  91. package/src/schematics/form/control/input-form-control/template.schema.json +16 -3
  92. package/src/schematics/form/control/select-form-control/index.d.ts +2 -2
  93. package/src/schematics/form/control/select-form-control/index.js +21 -14
  94. package/src/schematics/form/control/select-form-control/index.js.map +1 -1
  95. package/src/schematics/form/control/select-form-control/schema.d.ts +2 -3
  96. package/src/schematics/form/control/select-form-control/schema.json +249 -90
  97. package/src/schematics/form/control/select-form-control/template.schema.json +16 -3
  98. package/src/schematics/form/control/table-select-form-control/index.d.ts +3 -9
  99. package/src/schematics/form/control/table-select-form-control/index.js +24 -18
  100. package/src/schematics/form/control/table-select-form-control/index.js.map +1 -1
  101. package/src/schematics/form/control/table-select-form-control/schema.d.ts +2 -3
  102. package/src/schematics/form/control/table-select-form-control/schema.json +325 -123
  103. package/src/schematics/form/control/table-select-form-control/template.schema.json +16 -60
  104. package/src/schematics/form/form-array/index.d.ts +9 -0
  105. package/src/schematics/form/form-array/index.js +54 -0
  106. package/src/schematics/form/form-array/index.js.map +1 -0
  107. package/src/schematics/form/form-array/schema.d.ts +4 -0
  108. package/src/schematics/form/form-array/schema.json +823 -0
  109. package/src/schematics/form/form-array/template.schema.json +33 -0
  110. package/src/schematics/form/form-component/files/component/__componentName__.component.html.hbs +4 -1
  111. package/src/schematics/form/form-component/index.d.ts +2 -4
  112. package/src/schematics/form/form-component/index.js +8 -24
  113. package/src/schematics/form/form-component/index.js.map +1 -1
  114. package/src/schematics/form/form-component/schema.d.ts +2 -2
  115. package/src/schematics/form/form-component/schema.json +666 -86
  116. package/src/schematics/form/form-control/index.d.ts +3 -5
  117. package/src/schematics/form/form-control/index.js +8 -20
  118. package/src/schematics/form/form-control/index.js.map +1 -1
  119. package/src/schematics/form/form-control/schema.d.ts +2 -4
  120. package/src/schematics/form/form-control/schema.json +519 -62
  121. package/src/schematics/form/form-control/template.schema.json +1 -2
  122. package/src/schematics/form/form-definition/index.d.ts +2 -2
  123. package/src/schematics/form/form-definition/index.js +28 -15
  124. package/src/schematics/form/form-definition/index.js.map +1 -1
  125. package/src/schematics/form/form-definition/schema.d.ts +2 -2
  126. package/src/schematics/form/form-definition/schema.json +664 -60
  127. package/src/schematics/form/form-group/index.d.ts +9 -0
  128. package/src/schematics/form/form-group/index.js +54 -0
  129. package/src/schematics/form/form-group/index.js.map +1 -0
  130. package/src/schematics/form/form-group/schema.d.ts +4 -0
  131. package/src/schematics/form/form-group/schema.json +823 -0
  132. package/src/schematics/form/form-group/template.schema.json +33 -0
  133. package/src/schematics/form/templates/checkbox-form-control.hbs +1 -1
  134. package/src/schematics/form/templates/default-form-array.hbs +27 -0
  135. package/src/schematics/form/templates/default-form-group.hbs +13 -0
  136. package/src/schematics/form/templates/input-form-control.hbs +7 -7
  137. package/src/schematics/form/templates/select-form-control.hbs +5 -0
  138. package/src/schematics/form/templates/table-select-form-control.hbs +16 -16
  139. package/src/schematics/form-array.schema.json +40 -0
  140. package/src/schematics/form-control.schema.json +64 -55
  141. package/src/schematics/form-definition.schema.json +3 -3
  142. package/src/schematics/form-group.schema.json +40 -0
  143. package/src/schematics/input-form-control.schema.json +10 -6
  144. package/src/schematics/select-form-control.schema.json +8 -4
  145. package/src/schematics/slide-toggle-form-control.schema.json +30 -0
  146. package/src/schematics/table/action/dialog-table-action/schema.json +20 -20
  147. package/src/schematics/table/action/form-table-action/index.d.ts +2 -2
  148. package/src/schematics/table/action/form-table-action/index.js +3 -4
  149. package/src/schematics/table/action/form-table-action/index.js.map +1 -1
  150. package/src/schematics/table/action/form-table-action/schema.d.ts +2 -2
  151. package/src/schematics/table/action/form-table-action/schema.json +667 -87
  152. package/src/schematics/table/action/navigation-table-action/schema.json +20 -20
  153. package/src/schematics/table/action/open-api-table-action/schema.json +20 -20
  154. package/src/schematics/table/action/operation-table-action/schema.json +20 -20
  155. package/src/schematics/table/header-button/form-table-header-button/index.d.ts +2 -2
  156. package/src/schematics/table/header-button/form-table-header-button/index.js +2 -2
  157. package/src/schematics/table/header-button/form-table-header-button/index.js.map +1 -1
  158. package/src/schematics/table/header-button/form-table-header-button/schema.d.ts +2 -2
  159. package/src/schematics/table/header-button/form-table-header-button/schema.json +735 -81
  160. package/src/schematics/table/header-button/form-table-header-button/template.schema.json +4 -22
  161. package/src/schematics/table/header-button/navigation-table-header-button/schema.json +20 -20
  162. package/src/schematics/table/table-action/schema.json +47 -47
  163. package/src/schematics/table/table-component/index.d.ts +2 -2
  164. package/src/schematics/table/table-component/schema.json +470 -95
  165. package/src/schematics/table/table-header-button/schema.json +40 -40
  166. package/src/schematics/table/tree-table-component/files/component/__componentName__.component.html.hbs +1 -1
  167. package/src/schematics/table/tree-table-component/schema.json +453 -78
  168. package/src/schematics/table-select-form-control.schema.json +96 -0
  169. package/src/schematics/textarea-form-control.schema.json +32 -0
  170. package/src/template.schema.json +39 -0
  171. package/src/lib/form-component-control.d.ts +0 -8
  172. package/src/lib/form-component-control.js +0 -15
  173. package/src/lib/form-component-control.js.map +0 -1
  174. package/src/lib/form-control.d.ts +0 -136
  175. package/src/lib/form-control.js +0 -265
  176. package/src/lib/form-control.js.map +0 -1
  177. package/src/lib/form-definition-control.d.ts +0 -5
  178. package/src/lib/form-definition-control.js +0 -30
  179. package/src/lib/form-definition-control.js.map +0 -1
@@ -8,15 +8,11 @@
8
8
  "properties": {
9
9
  "package": {
10
10
  "type": "string",
11
- "enum": [
12
- "@rxap/schematic-angular"
13
- ]
11
+ "const": "@rxap/schematic-angular"
14
12
  },
15
13
  "name": {
16
14
  "type": "string",
17
- "enum": [
18
- "table-component"
19
- ]
15
+ "const": "table-component"
20
16
  },
21
17
  "options": {
22
18
  "$ref": "#/definitions/tableComponentSchematic"
@@ -28,15 +24,11 @@
28
24
  "properties": {
29
25
  "package": {
30
26
  "type": "string",
31
- "enum": [
32
- "@rxap/schematic-angular"
33
- ]
27
+ "const": "@rxap/schematic-angular"
34
28
  },
35
29
  "name": {
36
30
  "type": "string",
37
- "enum": [
38
- "tree-table-component"
39
- ]
31
+ "const": "tree-table-component"
40
32
  },
41
33
  "options": {
42
34
  "$ref": "#/definitions/treeTableComponentSchematic"
@@ -48,15 +40,11 @@
48
40
  "properties": {
49
41
  "package": {
50
42
  "type": "string",
51
- "enum": [
52
- "@rxap/schematic-angular"
53
- ]
43
+ "const": "@rxap/schematic-angular"
54
44
  },
55
45
  "name": {
56
46
  "type": "string",
57
- "enum": [
58
- "form-component"
59
- ]
47
+ "const": "form-component"
60
48
  },
61
49
  "options": {
62
50
  "$ref": "#/definitions/formComponentSchematic"
@@ -68,15 +56,11 @@
68
56
  "properties": {
69
57
  "package": {
70
58
  "type": "string",
71
- "enum": [
72
- "@rxap/schematic-angular"
73
- ]
59
+ "const": "@rxap/schematic-angular"
74
60
  },
75
61
  "name": {
76
62
  "type": "string",
77
- "enum": [
78
- "form-definition"
79
- ]
63
+ "const": "form-definition"
80
64
  },
81
65
  "options": {
82
66
  "$ref": "#/definitions/formDefinitionSchematic"
@@ -88,15 +72,11 @@
88
72
  "properties": {
89
73
  "package": {
90
74
  "type": "string",
91
- "enum": [
92
- "@rxap/schematic-angular"
93
- ]
75
+ "const": "@rxap/schematic-angular"
94
76
  },
95
77
  "name": {
96
78
  "type": "string",
97
- "enum": [
98
- "table-action"
99
- ]
79
+ "const": "table-action"
100
80
  },
101
81
  "options": {
102
82
  "$ref": "#/definitions/tableActionSchematic"
@@ -108,15 +88,11 @@
108
88
  "properties": {
109
89
  "package": {
110
90
  "type": "string",
111
- "enum": [
112
- "@rxap/schematic-angular"
113
- ]
91
+ "const": "@rxap/schematic-angular"
114
92
  },
115
93
  "name": {
116
94
  "type": "string",
117
- "enum": [
118
- "table-header-button"
119
- ]
95
+ "const": "table-header-button"
120
96
  },
121
97
  "options": {
122
98
  "$ref": "#/definitions/tableHeaderButtonSchematic"
@@ -128,15 +104,11 @@
128
104
  "properties": {
129
105
  "package": {
130
106
  "type": "string",
131
- "enum": [
132
- "@rxap/schematic-angular"
133
- ]
107
+ "const": "@rxap/schematic-angular"
134
108
  },
135
109
  "name": {
136
110
  "type": "string",
137
- "enum": [
138
- "form-table-header-button"
139
- ]
111
+ "const": "form-table-header-button"
140
112
  },
141
113
  "options": {
142
114
  "$ref": "#/definitions/formTableHeaderButtonSchematic"
@@ -148,15 +120,11 @@
148
120
  "properties": {
149
121
  "package": {
150
122
  "type": "string",
151
- "enum": [
152
- "@rxap/schematic-angular"
153
- ]
123
+ "const": "@rxap/schematic-angular"
154
124
  },
155
125
  "name": {
156
126
  "type": "string",
157
- "enum": [
158
- "navigation-table-header-button"
159
- ]
127
+ "const": "navigation-table-header-button"
160
128
  },
161
129
  "options": {
162
130
  "$ref": "#/definitions/navigationTableHeaderButtonSchematic"
@@ -168,15 +136,11 @@
168
136
  "properties": {
169
137
  "package": {
170
138
  "type": "string",
171
- "enum": [
172
- "@rxap/schematic-angular"
173
- ]
139
+ "const": "@rxap/schematic-angular"
174
140
  },
175
141
  "name": {
176
142
  "type": "string",
177
- "enum": [
178
- "accordion-component"
179
- ]
143
+ "const": "accordion-component"
180
144
  },
181
145
  "options": {
182
146
  "$ref": "#/definitions/accordionComponentSchematic"
@@ -188,15 +152,11 @@
188
152
  "properties": {
189
153
  "package": {
190
154
  "type": "string",
191
- "enum": [
192
- "@rxap/schematic-angular"
193
- ]
155
+ "const": "@rxap/schematic-angular"
194
156
  },
195
157
  "name": {
196
158
  "type": "string",
197
- "enum": [
198
- "accordion-item-component"
199
- ]
159
+ "const": "accordion-item-component"
200
160
  },
201
161
  "options": {
202
162
  "$ref": "#/definitions/accordionItemComponentSchematic"
@@ -208,15 +168,11 @@
208
168
  "properties": {
209
169
  "package": {
210
170
  "type": "string",
211
- "enum": [
212
- "@rxap/schematic-angular"
213
- ]
171
+ "const": "@rxap/schematic-angular"
214
172
  },
215
173
  "name": {
216
174
  "type": "string",
217
- "enum": [
218
- "accordion-item-table-component"
219
- ]
175
+ "const": "accordion-item-table-component"
220
176
  },
221
177
  "options": {
222
178
  "$ref": "#/definitions/accordionItemTableComponentSchematic"
@@ -228,15 +184,11 @@
228
184
  "properties": {
229
185
  "package": {
230
186
  "type": "string",
231
- "enum": [
232
- "@rxap/schematic-angular"
233
- ]
187
+ "const": "@rxap/schematic-angular"
234
188
  },
235
189
  "name": {
236
190
  "type": "string",
237
- "enum": [
238
- "accordion-item-switch-component"
239
- ]
191
+ "const": "accordion-item-switch-component"
240
192
  },
241
193
  "options": {
242
194
  "$ref": "#/definitions/accordionItemSwitchComponentSchematic"
@@ -248,15 +200,11 @@
248
200
  "properties": {
249
201
  "package": {
250
202
  "type": "string",
251
- "enum": [
252
- "@rxap/schematic-angular"
253
- ]
203
+ "const": "@rxap/schematic-angular"
254
204
  },
255
205
  "name": {
256
206
  "type": "string",
257
- "enum": [
258
- "data-grid-component"
259
- ]
207
+ "const": "data-grid-component"
260
208
  },
261
209
  "options": {
262
210
  "$ref": "#/definitions/dataGridComponentSchematic"
@@ -268,15 +216,11 @@
268
216
  "properties": {
269
217
  "package": {
270
218
  "type": "string",
271
- "enum": [
272
- "@rxap/schematic-angular"
273
- ]
219
+ "const": "@rxap/schematic-angular"
274
220
  },
275
221
  "name": {
276
222
  "type": "string",
277
- "enum": [
278
- "dialog-component"
279
- ]
223
+ "const": "dialog-component"
280
224
  },
281
225
  "options": {
282
226
  "$ref": "#/definitions/dialogComponentSchematic"
@@ -288,15 +232,11 @@
288
232
  "properties": {
289
233
  "package": {
290
234
  "type": "string",
291
- "enum": [
292
- "@rxap/schematic-angular"
293
- ]
235
+ "const": "@rxap/schematic-angular"
294
236
  },
295
237
  "name": {
296
238
  "type": "string",
297
- "enum": [
298
- "input-form-control"
299
- ]
239
+ "const": "input-form-control"
300
240
  },
301
241
  "options": {
302
242
  "$ref": "#/definitions/inputFormControlSchematic"
@@ -308,15 +248,11 @@
308
248
  "properties": {
309
249
  "package": {
310
250
  "type": "string",
311
- "enum": [
312
- "@rxap/schematic-angular"
313
- ]
251
+ "const": "@rxap/schematic-angular"
314
252
  },
315
253
  "name": {
316
254
  "type": "string",
317
- "enum": [
318
- "select-form-control"
319
- ]
255
+ "const": "select-form-control"
320
256
  },
321
257
  "options": {
322
258
  "$ref": "#/definitions/selectFormControlSchematic"
@@ -328,15 +264,11 @@
328
264
  "properties": {
329
265
  "package": {
330
266
  "type": "string",
331
- "enum": [
332
- "@rxap/schematic-angular"
333
- ]
267
+ "const": "@rxap/schematic-angular"
334
268
  },
335
269
  "name": {
336
270
  "type": "string",
337
- "enum": [
338
- "table-select-form-control"
339
- ]
271
+ "const": "table-select-form-control"
340
272
  },
341
273
  "options": {
342
274
  "$ref": "#/definitions/tableSelectFormControlSchematic"
@@ -348,15 +280,11 @@
348
280
  "properties": {
349
281
  "package": {
350
282
  "type": "string",
351
- "enum": [
352
- "@rxap/schematic-angular"
353
- ]
283
+ "const": "@rxap/schematic-angular"
354
284
  },
355
285
  "name": {
356
286
  "type": "string",
357
- "enum": [
358
- "form-control"
359
- ]
287
+ "const": "form-control"
360
288
  },
361
289
  "options": {
362
290
  "$ref": "#/definitions/formControlSchematic"
@@ -368,15 +296,43 @@
368
296
  "properties": {
369
297
  "package": {
370
298
  "type": "string",
371
- "enum": [
372
- "@rxap/schematic-angular"
373
- ]
299
+ "const": "@rxap/schematic-angular"
374
300
  },
375
301
  "name": {
376
302
  "type": "string",
377
- "enum": [
378
- "dialog-table-action"
379
- ]
303
+ "const": "form-group"
304
+ },
305
+ "options": {
306
+ "$ref": "#/definitions/formGroupSchematic"
307
+ }
308
+ }
309
+ },
310
+ {
311
+ "type": "object",
312
+ "properties": {
313
+ "package": {
314
+ "type": "string",
315
+ "const": "@rxap/schematic-angular"
316
+ },
317
+ "name": {
318
+ "type": "string",
319
+ "const": "form-array"
320
+ },
321
+ "options": {
322
+ "$ref": "#/definitions/formArraySchematic"
323
+ }
324
+ }
325
+ },
326
+ {
327
+ "type": "object",
328
+ "properties": {
329
+ "package": {
330
+ "type": "string",
331
+ "const": "@rxap/schematic-angular"
332
+ },
333
+ "name": {
334
+ "type": "string",
335
+ "const": "dialog-table-action"
380
336
  },
381
337
  "options": {
382
338
  "$ref": "#/definitions/dialogTableActionSchematic"
@@ -388,15 +344,11 @@
388
344
  "properties": {
389
345
  "package": {
390
346
  "type": "string",
391
- "enum": [
392
- "@rxap/schematic-angular"
393
- ]
347
+ "const": "@rxap/schematic-angular"
394
348
  },
395
349
  "name": {
396
350
  "type": "string",
397
- "enum": [
398
- "form-table-action"
399
- ]
351
+ "const": "form-table-action"
400
352
  },
401
353
  "options": {
402
354
  "$ref": "#/definitions/formTableActionSchematic"
@@ -408,15 +360,11 @@
408
360
  "properties": {
409
361
  "package": {
410
362
  "type": "string",
411
- "enum": [
412
- "@rxap/schematic-angular"
413
- ]
363
+ "const": "@rxap/schematic-angular"
414
364
  },
415
365
  "name": {
416
366
  "type": "string",
417
- "enum": [
418
- "navigation-table-action"
419
- ]
367
+ "const": "navigation-table-action"
420
368
  },
421
369
  "options": {
422
370
  "$ref": "#/definitions/navigationTableActionSchematic"
@@ -428,15 +376,11 @@
428
376
  "properties": {
429
377
  "package": {
430
378
  "type": "string",
431
- "enum": [
432
- "@rxap/schematic-angular"
433
- ]
379
+ "const": "@rxap/schematic-angular"
434
380
  },
435
381
  "name": {
436
382
  "type": "string",
437
- "enum": [
438
- "operation-table-action"
439
- ]
383
+ "const": "operation-table-action"
440
384
  },
441
385
  "options": {
442
386
  "$ref": "#/definitions/operationTableActionSchematic"
@@ -448,15 +392,11 @@
448
392
  "properties": {
449
393
  "package": {
450
394
  "type": "string",
451
- "enum": [
452
- "@rxap/schematic-angular"
453
- ]
395
+ "const": "@rxap/schematic-angular"
454
396
  },
455
397
  "name": {
456
398
  "type": "string",
457
- "enum": [
458
- "open-api-table-action"
459
- ]
399
+ "const": "open-api-table-action"
460
400
  },
461
401
  "options": {
462
402
  "$ref": "#/definitions/openApiTableActionSchematic"
@@ -468,15 +408,11 @@
468
408
  "properties": {
469
409
  "package": {
470
410
  "type": "string",
471
- "enum": [
472
- "@rxap/schematic-angular"
473
- ]
411
+ "const": "@rxap/schematic-angular"
474
412
  },
475
413
  "name": {
476
414
  "type": "string",
477
- "enum": [
478
- "tree-component"
479
- ]
415
+ "const": "tree-component"
480
416
  },
481
417
  "options": {
482
418
  "$ref": "#/definitions/treeComponentSchematic"
@@ -488,15 +424,11 @@
488
424
  "properties": {
489
425
  "package": {
490
426
  "type": "string",
491
- "enum": [
492
- "@rxap/schematic-angular"
493
- ]
427
+ "const": "@rxap/schematic-angular"
494
428
  },
495
429
  "name": {
496
430
  "type": "string",
497
- "enum": [
498
- "accordion-item-data-grid-component"
499
- ]
431
+ "const": "accordion-item-data-grid-component"
500
432
  },
501
433
  "options": {
502
434
  "$ref": "#/definitions/accordionItemDataGridComponentSchematic"
@@ -508,15 +440,11 @@
508
440
  "properties": {
509
441
  "package": {
510
442
  "type": "string",
511
- "enum": [
512
- "@rxap/schematic-angular"
513
- ]
443
+ "const": "@rxap/schematic-angular"
514
444
  },
515
445
  "name": {
516
446
  "type": "string",
517
- "enum": [
518
- "accordion-item-tree-table-component"
519
- ]
447
+ "const": "accordion-item-tree-table-component"
520
448
  },
521
449
  "options": {
522
450
  "$ref": "#/definitions/accordionItemTreeTableComponentSchematic"
@@ -579,6 +507,12 @@
579
507
  "formControlSchematic": {
580
508
  "$ref": "schematics/form/form-control/template.schema.json"
581
509
  },
510
+ "formGroupSchematic": {
511
+ "$ref": "schematics/form/form-group/template.schema.json"
512
+ },
513
+ "formArraySchematic": {
514
+ "$ref": "schematics/form/form-array/template.schema.json"
515
+ },
582
516
  "dialogTableActionSchematic": {
583
517
  "$ref": "schematics/table/action/dialog-table-action/template.schema.json"
584
518
  },
@@ -0,0 +1,78 @@
1
+ {
2
+ "$schema": "http://json-schema.org/schema",
3
+ "$id": "abstract-control",
4
+ "allOf": [
5
+ {
6
+ "$ref": "#/definitions/property"
7
+ },
8
+ {
9
+ "type": "object",
10
+ "properties": {
11
+ "name": {
12
+ "type": "string",
13
+ "description": "The name of the control"
14
+ },
15
+ "isArray": {
16
+ "type": "boolean",
17
+ "description": "Whether the control value is an array",
18
+ "default": false
19
+ },
20
+ "state": {
21
+ "type": "string",
22
+ "description": "The initial state of the control"
23
+ },
24
+ "isRequired": {
25
+ "type": "boolean",
26
+ "description": "Whether the control value is required",
27
+ "default": false
28
+ },
29
+ "isReadonly": {
30
+ "type": "boolean",
31
+ "description": "Whether the control value is readonly",
32
+ "default": false
33
+ },
34
+ "isDisabled": {
35
+ "type": "boolean",
36
+ "description": "Whether the control value is disabled",
37
+ "default": false
38
+ },
39
+ "validatorList": {
40
+ "type": "array",
41
+ "items": {
42
+ "type": "string"
43
+ }
44
+ },
45
+ "kind": {
46
+ "type": "string",
47
+ "description": "The kind of the control",
48
+ "default": "default"
49
+ },
50
+ "importList": {
51
+ "type": "array",
52
+ "items": {
53
+ "$ref": "#/definitions/type"
54
+ }
55
+ },
56
+ "template": {
57
+ "type": "string",
58
+ "description": "The template of the control"
59
+ },
60
+ "role": {
61
+ "type": "string",
62
+ "description": "The role of the control",
63
+ "enum": ["control", "group", "array"],
64
+ "default": "control"
65
+ }
66
+ },
67
+ "additionalProperties": true
68
+ }
69
+ ],
70
+ "definitions": {
71
+ "type": {
72
+ "$ref": "./type.schema.json"
73
+ },
74
+ "property": {
75
+ "$ref": "./property.schema.json"
76
+ }
77
+ }
78
+ }