@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,153 +3,7 @@
|
|
|
3
3
|
"$id": "form-table-header-button-schematic",
|
|
4
4
|
"allOf": [
|
|
5
5
|
{
|
|
6
|
-
"
|
|
7
|
-
{
|
|
8
|
-
"allOf": [
|
|
9
|
-
{
|
|
10
|
-
"type": "object",
|
|
11
|
-
"properties": {
|
|
12
|
-
"project": {
|
|
13
|
-
"type": "string",
|
|
14
|
-
"description": "Project name where the files should be generated"
|
|
15
|
-
},
|
|
16
|
-
"feature": {
|
|
17
|
-
"type": "string",
|
|
18
|
-
"description": "Feature name where the files should be generated"
|
|
19
|
-
},
|
|
20
|
-
"overwrite": {
|
|
21
|
-
"anyOf": [
|
|
22
|
-
{
|
|
23
|
-
"type": "boolean"
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"type": "array",
|
|
27
|
-
"items": {
|
|
28
|
-
"type": "string"
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
],
|
|
32
|
-
"description": "Overwrite existing files",
|
|
33
|
-
"default": false
|
|
34
|
-
},
|
|
35
|
-
"overwriteHtml": {
|
|
36
|
-
"type": "boolean",
|
|
37
|
-
"default": false
|
|
38
|
-
},
|
|
39
|
-
"replace": {
|
|
40
|
-
"type": "boolean",
|
|
41
|
-
"default": false
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
"required": [
|
|
45
|
-
"project"
|
|
46
|
-
]
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"type": "object",
|
|
50
|
-
"properties": {
|
|
51
|
-
"componentName": {
|
|
52
|
-
"type": "string"
|
|
53
|
-
},
|
|
54
|
-
"name": {
|
|
55
|
-
"type": "string"
|
|
56
|
-
},
|
|
57
|
-
"context": {
|
|
58
|
-
"type": "string",
|
|
59
|
-
"description": "The context use to generate proper names for class, files, etc"
|
|
60
|
-
},
|
|
61
|
-
"nestModule": {
|
|
62
|
-
"type": "string",
|
|
63
|
-
"description": "The module name for the table nest operations"
|
|
64
|
-
},
|
|
65
|
-
"controllerName": {
|
|
66
|
-
"type": "string"
|
|
67
|
-
},
|
|
68
|
-
"backend": {
|
|
69
|
-
"type": "string",
|
|
70
|
-
"description": "The backend that should be used to handel data",
|
|
71
|
-
"enum": [
|
|
72
|
-
"none",
|
|
73
|
-
"nestjs",
|
|
74
|
-
"open-api",
|
|
75
|
-
"local"
|
|
76
|
-
],
|
|
77
|
-
"default": "none"
|
|
78
|
-
},
|
|
79
|
-
"directory": {
|
|
80
|
-
"type": "string",
|
|
81
|
-
"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"
|
|
82
|
-
},
|
|
83
|
-
"shared": {
|
|
84
|
-
"type": "boolean",
|
|
85
|
-
"description": "Whether the generated code is used across the project",
|
|
86
|
-
"default": false
|
|
87
|
-
},
|
|
88
|
-
"scope": {
|
|
89
|
-
"type": "string"
|
|
90
|
-
},
|
|
91
|
-
"prefix": {
|
|
92
|
-
"type": "string"
|
|
93
|
-
},
|
|
94
|
-
"openApi": {
|
|
95
|
-
"type": "object",
|
|
96
|
-
"additionalProperties": true
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
]
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
"type": "object",
|
|
104
|
-
"properties": {
|
|
105
|
-
"permission": {
|
|
106
|
-
"type": "string"
|
|
107
|
-
},
|
|
108
|
-
"icon": {
|
|
109
|
-
"type": "string"
|
|
110
|
-
},
|
|
111
|
-
"svgIcon": {
|
|
112
|
-
"type": "string"
|
|
113
|
-
},
|
|
114
|
-
"refresh": {
|
|
115
|
-
"type": "boolean",
|
|
116
|
-
"description": "Whether the table action should refresh the table after execution",
|
|
117
|
-
"default": false
|
|
118
|
-
},
|
|
119
|
-
"confirm": {
|
|
120
|
-
"type": "boolean",
|
|
121
|
-
"description": "Whether the table action should confirm before execution",
|
|
122
|
-
"default": false
|
|
123
|
-
},
|
|
124
|
-
"tooltip": {
|
|
125
|
-
"type": "string",
|
|
126
|
-
"description": "The tooltip for the table action"
|
|
127
|
-
},
|
|
128
|
-
"errorMessage": {
|
|
129
|
-
"type": "string",
|
|
130
|
-
"description": "The error message for the table action"
|
|
131
|
-
},
|
|
132
|
-
"successMessage": {
|
|
133
|
-
"type": "string",
|
|
134
|
-
"description": "The success message for the table action"
|
|
135
|
-
},
|
|
136
|
-
"options": {
|
|
137
|
-
"type": "object",
|
|
138
|
-
"additionalProperties": true
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
"type": "object",
|
|
144
|
-
"properties": {
|
|
145
|
-
"tableName": {
|
|
146
|
-
"alias": "table",
|
|
147
|
-
"type": "string",
|
|
148
|
-
"description": "The name of the table action"
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
]
|
|
6
|
+
"$ref": "#/definitions/tableHeaderButtonSchematic"
|
|
153
7
|
},
|
|
154
8
|
{
|
|
155
9
|
"type": "object",
|
|
@@ -177,65 +31,7 @@
|
|
|
177
31
|
"alias": "control",
|
|
178
32
|
"type": "array",
|
|
179
33
|
"items": {
|
|
180
|
-
"
|
|
181
|
-
"properties": {
|
|
182
|
-
"name": {
|
|
183
|
-
"type": "string",
|
|
184
|
-
"description": "The name of the control"
|
|
185
|
-
},
|
|
186
|
-
"type": {
|
|
187
|
-
"$ref": "#/definitions/type"
|
|
188
|
-
},
|
|
189
|
-
"isArray": {
|
|
190
|
-
"type": "boolean",
|
|
191
|
-
"description": "Whether the control value is an array",
|
|
192
|
-
"default": false
|
|
193
|
-
},
|
|
194
|
-
"state": {
|
|
195
|
-
"type": "string",
|
|
196
|
-
"description": "The initial state of the control"
|
|
197
|
-
},
|
|
198
|
-
"isRequired": {
|
|
199
|
-
"type": "boolean",
|
|
200
|
-
"description": "Whether the control value is required",
|
|
201
|
-
"default": false
|
|
202
|
-
},
|
|
203
|
-
"isReadonly": {
|
|
204
|
-
"type": "boolean",
|
|
205
|
-
"description": "Whether the control value is readonly",
|
|
206
|
-
"default": false
|
|
207
|
-
},
|
|
208
|
-
"isDisabled": {
|
|
209
|
-
"type": "boolean",
|
|
210
|
-
"description": "Whether the control value is disabled",
|
|
211
|
-
"default": false
|
|
212
|
-
},
|
|
213
|
-
"validatorList": {
|
|
214
|
-
"type": "array",
|
|
215
|
-
"items": {
|
|
216
|
-
"type": "string"
|
|
217
|
-
}
|
|
218
|
-
},
|
|
219
|
-
"kind": {
|
|
220
|
-
"type": "string",
|
|
221
|
-
"description": "The name of the template",
|
|
222
|
-
"enum": [
|
|
223
|
-
"default",
|
|
224
|
-
"input",
|
|
225
|
-
"select",
|
|
226
|
-
"checkbox",
|
|
227
|
-
"autocomplete-table-select",
|
|
228
|
-
"table-select",
|
|
229
|
-
"textarea",
|
|
230
|
-
"slide-toggle"
|
|
231
|
-
],
|
|
232
|
-
"default": "default"
|
|
233
|
-
}
|
|
234
|
-
},
|
|
235
|
-
"required": [
|
|
236
|
-
"name"
|
|
237
|
-
],
|
|
238
|
-
"additionalProperties": true
|
|
34
|
+
"$ref": "#/definitions/formControl"
|
|
239
35
|
}
|
|
240
36
|
}
|
|
241
37
|
},
|
|
@@ -245,40 +41,226 @@
|
|
|
245
41
|
}
|
|
246
42
|
],
|
|
247
43
|
"definitions": {
|
|
248
|
-
"
|
|
249
|
-
"
|
|
44
|
+
"formControl": {
|
|
45
|
+
"type": "object",
|
|
46
|
+
"properties": {
|
|
47
|
+
"name": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"description": "The name of the control"
|
|
50
|
+
},
|
|
51
|
+
"type": {
|
|
52
|
+
"$ref": "#/definitions/type"
|
|
53
|
+
},
|
|
54
|
+
"isArray": {
|
|
55
|
+
"type": "boolean",
|
|
56
|
+
"description": "Whether the control value is an array",
|
|
57
|
+
"default": false
|
|
58
|
+
},
|
|
59
|
+
"state": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"description": "The initial state of the control"
|
|
62
|
+
},
|
|
63
|
+
"isRequired": {
|
|
64
|
+
"type": "boolean",
|
|
65
|
+
"description": "Whether the control value is required",
|
|
66
|
+
"default": false
|
|
67
|
+
},
|
|
68
|
+
"isReadonly": {
|
|
69
|
+
"type": "boolean",
|
|
70
|
+
"description": "Whether the control value is readonly",
|
|
71
|
+
"default": false
|
|
72
|
+
},
|
|
73
|
+
"isDisabled": {
|
|
74
|
+
"type": "boolean",
|
|
75
|
+
"description": "Whether the control value is disabled",
|
|
76
|
+
"default": false
|
|
77
|
+
},
|
|
78
|
+
"validatorList": {
|
|
79
|
+
"type": "array",
|
|
80
|
+
"items": {
|
|
81
|
+
"type": "string"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"kind": {
|
|
85
|
+
"type": "string",
|
|
86
|
+
"description": "The name of the template",
|
|
87
|
+
"enum": [
|
|
88
|
+
"default",
|
|
89
|
+
"input",
|
|
90
|
+
"select",
|
|
91
|
+
"checkbox",
|
|
92
|
+
"autocomplete-table-select",
|
|
93
|
+
"table-select",
|
|
94
|
+
"textarea",
|
|
95
|
+
"slide-toggle"
|
|
96
|
+
],
|
|
97
|
+
"default": "default"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"required": [
|
|
101
|
+
"name"
|
|
102
|
+
],
|
|
103
|
+
"additionalProperties": true
|
|
104
|
+
},
|
|
105
|
+
"tableHeaderButtonSchematic": {
|
|
106
|
+
"allOf": [
|
|
250
107
|
{
|
|
251
|
-
"
|
|
108
|
+
"$ref": "#/definitions/angular"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"$ref": "#/definitions/headerButton"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"type": "object",
|
|
115
|
+
"properties": {
|
|
116
|
+
"tableName": {
|
|
117
|
+
"alias": "table",
|
|
118
|
+
"type": "string",
|
|
119
|
+
"description": "The name of the table action"
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
]
|
|
124
|
+
},
|
|
125
|
+
"angular": {
|
|
126
|
+
"allOf": [
|
|
127
|
+
{
|
|
128
|
+
"$ref": "#/definitions/general"
|
|
252
129
|
},
|
|
253
130
|
{
|
|
254
131
|
"type": "object",
|
|
255
132
|
"properties": {
|
|
133
|
+
"componentName": {
|
|
134
|
+
"type": "string"
|
|
135
|
+
},
|
|
256
136
|
"name": {
|
|
257
137
|
"type": "string"
|
|
258
138
|
},
|
|
259
|
-
"
|
|
260
|
-
"type": "
|
|
139
|
+
"context": {
|
|
140
|
+
"type": "string",
|
|
141
|
+
"description": "The context use to generate proper names for class, files, etc"
|
|
261
142
|
},
|
|
262
|
-
"
|
|
263
|
-
"type": "string"
|
|
143
|
+
"nestModule": {
|
|
144
|
+
"type": "string",
|
|
145
|
+
"description": "The module name for the table nest operations"
|
|
264
146
|
},
|
|
265
|
-
"
|
|
147
|
+
"controllerName": {
|
|
266
148
|
"type": "string"
|
|
267
149
|
},
|
|
268
|
-
"
|
|
150
|
+
"backend": {
|
|
151
|
+
"$ref": "#/definitions/backend"
|
|
152
|
+
},
|
|
153
|
+
"directory": {
|
|
154
|
+
"type": "string",
|
|
155
|
+
"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"
|
|
156
|
+
},
|
|
157
|
+
"shared": {
|
|
158
|
+
"type": "boolean",
|
|
159
|
+
"description": "Whether the generated code is used across the project",
|
|
160
|
+
"default": false
|
|
161
|
+
},
|
|
162
|
+
"scope": {
|
|
269
163
|
"type": "string"
|
|
270
164
|
},
|
|
271
|
-
"
|
|
165
|
+
"prefix": {
|
|
272
166
|
"type": "string"
|
|
167
|
+
},
|
|
168
|
+
"openApi": {
|
|
169
|
+
"type": "object",
|
|
170
|
+
"additionalProperties": true
|
|
273
171
|
}
|
|
274
|
-
}
|
|
275
|
-
"required": [
|
|
276
|
-
"name"
|
|
277
|
-
]
|
|
172
|
+
}
|
|
278
173
|
}
|
|
279
174
|
]
|
|
280
175
|
},
|
|
281
|
-
"
|
|
176
|
+
"backend": {
|
|
177
|
+
"type": "string",
|
|
178
|
+
"description": "The backend that should be used to handel data",
|
|
179
|
+
"enum": [
|
|
180
|
+
"none",
|
|
181
|
+
"nestjs",
|
|
182
|
+
"open-api",
|
|
183
|
+
"local"
|
|
184
|
+
],
|
|
185
|
+
"default": "none"
|
|
186
|
+
},
|
|
187
|
+
"general": {
|
|
188
|
+
"type": "object",
|
|
189
|
+
"properties": {
|
|
190
|
+
"project": {
|
|
191
|
+
"type": "string",
|
|
192
|
+
"description": "Project name where the files should be generated"
|
|
193
|
+
},
|
|
194
|
+
"feature": {
|
|
195
|
+
"type": "string",
|
|
196
|
+
"description": "Feature name where the files should be generated"
|
|
197
|
+
},
|
|
198
|
+
"overwrite": {
|
|
199
|
+
"anyOf": [
|
|
200
|
+
{
|
|
201
|
+
"type": "boolean"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"type": "array",
|
|
205
|
+
"items": {
|
|
206
|
+
"type": "string"
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
],
|
|
210
|
+
"description": "Overwrite existing files",
|
|
211
|
+
"default": false
|
|
212
|
+
},
|
|
213
|
+
"overwriteHtml": {
|
|
214
|
+
"type": "boolean",
|
|
215
|
+
"default": false
|
|
216
|
+
},
|
|
217
|
+
"replace": {
|
|
218
|
+
"type": "boolean",
|
|
219
|
+
"default": false
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
"headerButton": {
|
|
224
|
+
"type": "object",
|
|
225
|
+
"properties": {
|
|
226
|
+
"permission": {
|
|
227
|
+
"type": "string"
|
|
228
|
+
},
|
|
229
|
+
"icon": {
|
|
230
|
+
"type": "string"
|
|
231
|
+
},
|
|
232
|
+
"svgIcon": {
|
|
233
|
+
"type": "string"
|
|
234
|
+
},
|
|
235
|
+
"refresh": {
|
|
236
|
+
"type": "boolean",
|
|
237
|
+
"description": "Whether the table action should refresh the table after execution",
|
|
238
|
+
"default": false
|
|
239
|
+
},
|
|
240
|
+
"confirm": {
|
|
241
|
+
"type": "boolean",
|
|
242
|
+
"description": "Whether the table action should confirm before execution",
|
|
243
|
+
"default": false
|
|
244
|
+
},
|
|
245
|
+
"tooltip": {
|
|
246
|
+
"type": "string",
|
|
247
|
+
"description": "The tooltip for the table action"
|
|
248
|
+
},
|
|
249
|
+
"errorMessage": {
|
|
250
|
+
"type": "string",
|
|
251
|
+
"description": "The error message for the table action"
|
|
252
|
+
},
|
|
253
|
+
"successMessage": {
|
|
254
|
+
"type": "string",
|
|
255
|
+
"description": "The success message for the table action"
|
|
256
|
+
},
|
|
257
|
+
"options": {
|
|
258
|
+
"type": "object",
|
|
259
|
+
"additionalProperties": true
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
"type": {
|
|
282
264
|
"oneOf": [
|
|
283
265
|
{
|
|
284
266
|
"type": "string"
|
|
@@ -289,53 +271,27 @@
|
|
|
289
271
|
"name": {
|
|
290
272
|
"type": "string"
|
|
291
273
|
},
|
|
292
|
-
"
|
|
293
|
-
"$ref": "#/definitions/type"
|
|
294
|
-
},
|
|
295
|
-
"isArray": {
|
|
274
|
+
"isTypeOnly": {
|
|
296
275
|
"type": "boolean"
|
|
276
|
+
},
|
|
277
|
+
"moduleSpecifier": {
|
|
278
|
+
"type": "string"
|
|
279
|
+
},
|
|
280
|
+
"namedImport": {
|
|
281
|
+
"type": "string"
|
|
282
|
+
},
|
|
283
|
+
"namespaceImport": {
|
|
284
|
+
"type": "string"
|
|
285
|
+
},
|
|
286
|
+
"defaultImport": {
|
|
287
|
+
"type": "string"
|
|
297
288
|
}
|
|
298
289
|
},
|
|
299
290
|
"required": [
|
|
300
291
|
"name"
|
|
301
292
|
]
|
|
302
293
|
}
|
|
303
|
-
]
|
|
304
|
-
"definitions": {
|
|
305
|
-
"type": {
|
|
306
|
-
"oneOf": [
|
|
307
|
-
{
|
|
308
|
-
"type": "string"
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
"type": "object",
|
|
312
|
-
"properties": {
|
|
313
|
-
"name": {
|
|
314
|
-
"type": "string"
|
|
315
|
-
},
|
|
316
|
-
"isTypeOnly": {
|
|
317
|
-
"type": "boolean"
|
|
318
|
-
},
|
|
319
|
-
"moduleSpecifier": {
|
|
320
|
-
"type": "string"
|
|
321
|
-
},
|
|
322
|
-
"namedImport": {
|
|
323
|
-
"type": "string"
|
|
324
|
-
},
|
|
325
|
-
"namespaceImport": {
|
|
326
|
-
"type": "string"
|
|
327
|
-
},
|
|
328
|
-
"defaultImport": {
|
|
329
|
-
"type": "string"
|
|
330
|
-
}
|
|
331
|
-
},
|
|
332
|
-
"required": [
|
|
333
|
-
"name"
|
|
334
|
-
]
|
|
335
|
-
}
|
|
336
|
-
]
|
|
337
|
-
}
|
|
338
|
-
}
|
|
294
|
+
]
|
|
339
295
|
}
|
|
340
296
|
}
|
|
341
297
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"$id": "form-table-header-button-schematic",
|
|
4
4
|
"allOf": [
|
|
5
5
|
{
|
|
6
|
-
"$ref": "
|
|
6
|
+
"$ref": "#/definitions/tableHeaderButtonSchematic"
|
|
7
7
|
},
|
|
8
8
|
{
|
|
9
9
|
"type": "object",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"alias": "control",
|
|
32
32
|
"type": "array",
|
|
33
33
|
"items": {
|
|
34
|
-
"$ref": "
|
|
34
|
+
"$ref": "#/definitions/formControl"
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
},
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
}
|
|
42
42
|
],
|
|
43
43
|
"definitions": {
|
|
44
|
-
"
|
|
45
|
-
"$ref": "../../../
|
|
44
|
+
"formControl": {
|
|
45
|
+
"$ref": "../../../form-control.schema.json"
|
|
46
46
|
},
|
|
47
|
-
"
|
|
48
|
-
"$ref": "
|
|
47
|
+
"tableHeaderButtonSchematic": {
|
|
48
|
+
"$ref": "../../table-header-button/template.schema.json"
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
}
|