@rxap/schematic-angular 16.2.0-dev.6 → 16.2.0-dev.8
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 +29 -0
- package/README.md +1 -1
- package/package.json +10 -8
- package/src/lib/accordion-header.d.ts +5 -0
- package/src/lib/accordion-header.js +8 -2
- package/src/lib/accordion-header.js.map +1 -1
- package/src/lib/accordion-item.d.ts +17 -16
- package/src/lib/accordion-item.js +44 -32
- package/src/lib/accordion-item.js.map +1 -1
- package/src/lib/accordion-itme-kinds.d.ts +8 -0
- package/src/lib/accordion-itme-kinds.js +16 -0
- package/src/lib/accordion-itme-kinds.js.map +1 -0
- package/src/lib/coerce-accordion-component.js +2 -2
- package/src/lib/coerce-accordion-component.js.map +1 -1
- package/src/lib/coerce-form-component.js +5 -2
- package/src/lib/coerce-form-component.js.map +1 -1
- package/src/lib/coerce-minimum-table-component.js +6 -3
- package/src/lib/coerce-minimum-table-component.js.map +1 -1
- package/src/lib/coerce-tree-table-component.js +2 -0
- package/src/lib/coerce-tree-table-component.js.map +1 -1
- package/src/lib/data-grid-item.d.ts +4 -7
- package/src/lib/data-grid-item.js.map +1 -1
- package/src/lib/data-grid-options.d.ts +2 -0
- package/src/lib/data-grid-options.js +7 -3
- package/src/lib/data-grid-options.js.map +1 -1
- package/src/lib/form/generate-form-template.d.ts +5 -0
- package/src/lib/form/generate-form-template.js +12 -0
- package/src/lib/form/generate-form-template.js.map +1 -0
- package/src/lib/form-component-control.d.ts +2 -6
- package/src/lib/form-component-control.js.map +1 -1
- package/src/lib/form-control.d.ts +125 -0
- package/src/lib/form-control.js +303 -0
- package/src/lib/form-control.js.map +1 -0
- package/src/lib/form-definition-control.d.ts +3 -57
- package/src/lib/form-definition-control.js +18 -144
- package/src/lib/form-definition-control.js.map +1 -1
- package/src/lib/load-handlebars-template.d.ts +3 -0
- package/src/lib/load-handlebars-template.js +24 -0
- package/src/lib/load-handlebars-template.js.map +1 -0
- package/src/lib/minimum-table-component-options.d.ts +1 -1
- package/src/lib/minimum-table-component-options.js +3 -3
- package/src/lib/minimum-table-component-options.js.map +1 -1
- package/src/lib/table-column.d.ts +8 -2
- package/src/lib/table-column.js +63 -44
- package/src/lib/table-column.js.map +1 -1
- package/src/schematics/accordion/accordion-component/files/component/__componentName__.component.html.hbs +25 -0
- package/src/schematics/accordion/accordion-component/index.js +6 -98
- package/src/schematics/accordion/accordion-component/index.js.map +1 -1
- package/src/schematics/accordion/accordion-component/template.schema.json +102 -0
- package/src/schematics/accordion/accordion-item-component/index.d.ts +2 -2
- package/src/schematics/accordion/accordion-item-component/index.js +42 -42
- package/src/schematics/accordion/accordion-item-component/index.js.map +1 -1
- package/src/schematics/accordion/accordion-item-component/schema.d.ts +2 -2
- package/src/schematics/accordion/accordion-item-component/template.schema.json +33 -0
- 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 +17 -29
- 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.d.ts +1 -1
- package/src/schematics/accordion/item/accordion-item-data-grid-component/template.schema.json +31 -0
- 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 +4 -4
- package/src/schematics/accordion/item/accordion-item-switch-component/index.js.map +1 -1
- package/src/schematics/accordion/item/accordion-item-switch-component/schema.d.ts +1 -1
- package/src/schematics/accordion/item/accordion-item-switch-component/template.schema.json +84 -0
- 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 +8 -8
- package/src/schematics/accordion/item/accordion-item-table-component/index.js.map +1 -1
- package/src/schematics/accordion/item/accordion-item-table-component/schema.d.ts +1 -1
- package/src/schematics/accordion/item/accordion-item-table-component/template.schema.json +46 -0
- 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 +10 -10
- 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.d.ts +1 -1
- package/src/schematics/accordion/item/accordion-item-tree-table-component/template.schema.json +46 -0
- package/src/schematics/accordion/templates/accordion-header.hbs +6 -0
- package/src/schematics/accordion/templates/data-grid-accordion-item.hbs +15 -0
- package/src/schematics/accordion/templates/default-accordion-item.hbs +15 -0
- package/src/schematics/accordion/templates/switch-accordion-item.hbs +21 -0
- package/src/schematics/accordion/templates/table-accordion-item.hbs +15 -0
- package/src/schematics/accordion/templates/tree-table-accordion-item.hbs +15 -0
- package/src/schematics/accordion-item.schema.json +35 -0
- package/src/schematics/angular.schema.json +2 -10
- package/src/schematics/backend.schema.json +13 -0
- package/src/schematics/button.schema.json +30 -0
- package/src/schematics/data-grid-component/files/component/__componentName__.component.html.hbs +34 -0
- package/src/schematics/data-grid-component/index.d.ts +0 -1
- package/src/schematics/data-grid-component/index.js +21 -7
- package/src/schematics/data-grid-component/index.js.map +1 -1
- package/src/schematics/data-grid-component/template.schema.json +23 -0
- package/src/schematics/data-grid-item.schema.json +23 -0
- package/src/schematics/data-grid.schema.json +44 -0
- package/src/schematics/dialog-component/template.schema.json +65 -0
- package/src/schematics/form/control/input-form-control/index.d.ts +2 -2
- package/src/schematics/form/control/input-form-control/index.js +4 -27
- package/src/schematics/form/control/input-form-control/index.js.map +1 -1
- package/src/schematics/form/control/input-form-control/schema.d.ts +2 -3
- package/src/schematics/form/control/input-form-control/template.schema.json +23 -0
- package/src/schematics/form/control/select-form-control/index.d.ts +4 -2
- package/src/schematics/form/control/select-form-control/index.js +132 -96
- package/src/schematics/form/control/select-form-control/index.js.map +1 -1
- package/src/schematics/form/control/select-form-control/schema.d.ts +2 -3
- package/src/schematics/form/control/select-form-control/template.schema.json +23 -0
- package/src/schematics/form/control/table-select-form-control/index.d.ts +4 -6
- package/src/schematics/form/control/table-select-form-control/index.js +80 -68
- package/src/schematics/form/control/table-select-form-control/index.js.map +1 -1
- package/src/schematics/form/control/table-select-form-control/schema.d.ts +2 -4
- package/src/schematics/form/control/table-select-form-control/template.schema.json +78 -0
- package/src/schematics/form/form-component/files/component/{__componentName__.component.html.template → __componentName__.component.html.hbs} +3 -3
- package/src/schematics/form/form-component/index.js +4 -1
- package/src/schematics/form/form-component/index.js.map +1 -1
- package/src/schematics/form/form-component/template.schema.json +23 -0
- package/src/schematics/form/form-control/index.d.ts +3 -1
- package/src/schematics/form/form-control/index.js +19 -8
- package/src/schematics/form/form-control/index.js.map +1 -1
- package/src/schematics/form/form-control/template.schema.json +37 -0
- package/src/schematics/form/form-definition/index.js +14 -1
- package/src/schematics/form/form-definition/index.js.map +1 -1
- package/src/schematics/form/form-definition/template.schema.json +33 -0
- package/src/schematics/form/templates/checkbox-form-control.hbs +9 -0
- package/src/schematics/form/templates/default-form-control.hbs +2 -0
- package/src/schematics/form/templates/input-form-control.hbs +9 -0
- package/src/schematics/form/templates/mat-form-field.hbs +31 -0
- package/src/schematics/form/templates/slide-toggle-form-control.hbs +8 -0
- package/src/schematics/form/templates/table-select-form-control.hbs +18 -0
- package/src/schematics/form-component.schema.json +39 -0
- package/src/schematics/form-control.schema.json +68 -0
- package/src/schematics/form-definition.schema.json +22 -0
- package/src/schematics/form-field.schema.json +24 -0
- package/src/schematics/header-button.schema.json +42 -0
- package/src/schematics/input-form-control.schema.json +47 -0
- package/src/schematics/minimum-table.schema.json +54 -0
- package/src/schematics/property.schema.json +28 -0
- package/src/schematics/select-form-control.schema.json +53 -0
- package/src/schematics/table/action/dialog-table-action/template.schema.json +61 -0
- package/src/schematics/table/action/form-table-action/template.schema.json +75 -0
- package/src/schematics/table/action/navigation-table-action/template.schema.json +31 -0
- package/src/schematics/table/action/open-api-table-action/template.schema.json +59 -0
- package/src/schematics/table/action/operation-table-action/template.schema.json +17 -0
- package/src/schematics/table/header-button/form-table-header-button/template.schema.json +51 -0
- package/src/schematics/table/header-button/navigation-table-header-button/template.schema.json +31 -0
- package/src/schematics/table/table-action/template.schema.json +30 -0
- package/src/schematics/table/table-component/files/component/__componentName__.component.html.hbs +241 -0
- package/src/schematics/table/table-component/index.d.ts +1 -1
- package/src/schematics/table/table-component/index.js +2 -2
- package/src/schematics/table/table-component/index.js.map +1 -1
- package/src/schematics/table/table-component/template.schema.json +26 -0
- package/src/schematics/table/table-header-button/template.schema.json +30 -0
- package/src/schematics/table/templates/boolean-table-column.hbs +10 -0
- package/src/schematics/table/templates/component-table-column.hbs +12 -0
- package/src/schematics/table/templates/copy-to-clipboard-table-column.hbs +10 -0
- package/src/schematics/table/templates/date-table-column.hbs +11 -0
- package/src/schematics/table/templates/default-table-column.hbs +8 -0
- package/src/schematics/table/templates/icon-table-column.hbs +10 -0
- package/src/schematics/table/templates/link-table-column.hbs +10 -0
- package/src/schematics/table/tree-table-component/files/component/__componentName__.component.html.hbs +249 -0
- package/src/schematics/table/tree-table-component/template.schema.json +26 -0
- package/src/schematics/table-action.schema.json +61 -0
- package/src/schematics/table-column.schema.json +69 -0
- package/src/schematics/table.schema.json +54 -0
- package/src/schematics/tree-component/template.schema.json +31 -0
- package/src/schematics/tree-table.schema.json +40 -0
- package/src/schematics/type.schema.json +35 -0
- package/src/schematics/upstream.schema.json +56 -0
- package/src/lib/accordion-itme-types.d.ts +0 -8
- package/src/lib/accordion-itme-types.js +0 -16
- package/src/lib/accordion-itme-types.js.map +0 -1
- package/src/schematics/accordion/accordion-component/files/component/__componentName__.component.html.template +0 -94
- package/src/schematics/accordion/accordion-component/files/header-component/accordion-header.component.html.template +0 -10
- package/src/schematics/accordion/accordion-component/schema.json +0 -191
- package/src/schematics/accordion/accordion-item-component/schema.json +0 -92
- package/src/schematics/accordion/item/accordion-item-data-grid-component/schema.json +0 -133
- package/src/schematics/accordion/item/accordion-item-switch-component/schema.json +0 -226
- package/src/schematics/accordion/item/accordion-item-table-component/schema.json +0 -334
- package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.json +0 -334
- package/src/schematics/data-grid-component/files/form/__componentName__.component.html.template +0 -42
- package/src/schematics/data-grid-component/files/plain/__componentName__.component.html.template +0 -25
- package/src/schematics/data-grid-component/schema.json +0 -176
- package/src/schematics/dialog-component/schema.json +0 -81
- package/src/schematics/form/control/input-form-control/schema.json +0 -116
- package/src/schematics/form/control/select-form-control/schema.json +0 -102
- package/src/schematics/form/control/table-select-form-control/schema.json +0 -106
- package/src/schematics/form/form-component/schema.json +0 -173
- package/src/schematics/form/form-control/schema.json +0 -92
- package/src/schematics/form/form-definition/schema.json +0 -148
- package/src/schematics/table/action/dialog-table-action/schema.json +0 -148
- package/src/schematics/table/action/form-table-action/schema.json +0 -202
- package/src/schematics/table/action/navigation-table-action/schema.json +0 -95
- package/src/schematics/table/action/open-api-table-action/schema.json +0 -121
- package/src/schematics/table/action/operation-table-action/schema.json +0 -98
- package/src/schematics/table/header-button/form-table-header-button/schema.json +0 -139
- package/src/schematics/table/header-button/navigation-table-header-button/schema.json +0 -87
- package/src/schematics/table/table-action/schema.json +0 -94
- package/src/schematics/table/table-component/files/component/__componentName__.component.html.template +0 -299
- package/src/schematics/table/table-component/schema.json +0 -340
- package/src/schematics/table/table-header-button/schema.json +0 -80
- package/src/schematics/table/tree-table-component/files/component/__componentName__.component.html.template +0 -259
- package/src/schematics/table/tree-table-component/schema.json +0 -316
- package/src/schematics/tree-component/schema.json +0 -86
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema",
|
|
3
|
-
"$id": "form-definition",
|
|
4
|
-
"type": "object",
|
|
5
|
-
"properties": {
|
|
6
|
-
"name": {
|
|
7
|
-
"type": "string",
|
|
8
|
-
"description": "The name of the form definition",
|
|
9
|
-
"x-prompt": "Which name should the form definition have?"
|
|
10
|
-
},
|
|
11
|
-
"project": {
|
|
12
|
-
"type": "string",
|
|
13
|
-
"description": "The target project where the accordion module should be added.",
|
|
14
|
-
"x-prompt": "To which project should the accordion module be added?"
|
|
15
|
-
},
|
|
16
|
-
"directory": {
|
|
17
|
-
"type": "string",
|
|
18
|
-
"description": "Relative path to the directory where the form definition should be created."
|
|
19
|
-
},
|
|
20
|
-
"backend": {
|
|
21
|
-
"type": "string",
|
|
22
|
-
"description": "The backend that should be used to handel data",
|
|
23
|
-
"enum": [
|
|
24
|
-
"none",
|
|
25
|
-
"local",
|
|
26
|
-
"nestjs",
|
|
27
|
-
"open-api"
|
|
28
|
-
],
|
|
29
|
-
"default": "none"
|
|
30
|
-
},
|
|
31
|
-
"shared": {
|
|
32
|
-
"type": "boolean",
|
|
33
|
-
"description": "Whether the form definition should be created in the shared project.",
|
|
34
|
-
"default": false
|
|
35
|
-
},
|
|
36
|
-
"feature": {
|
|
37
|
-
"type": "string",
|
|
38
|
-
"description": "The feature name where the accordion module should be added.",
|
|
39
|
-
"x-prompt": "To which feature should the accordion module be added?"
|
|
40
|
-
},
|
|
41
|
-
"standalone": {
|
|
42
|
-
"type": "boolean",
|
|
43
|
-
"description": "Whether the form definition has a form.provider file",
|
|
44
|
-
"default": true
|
|
45
|
-
},
|
|
46
|
-
"controlList": {
|
|
47
|
-
"alias": "control",
|
|
48
|
-
"type": "array",
|
|
49
|
-
"items": {
|
|
50
|
-
"type": "object",
|
|
51
|
-
"properties": {
|
|
52
|
-
"name": {
|
|
53
|
-
"type": "string",
|
|
54
|
-
"description": "The name of the control"
|
|
55
|
-
},
|
|
56
|
-
"type": {
|
|
57
|
-
"oneOf": [
|
|
58
|
-
{
|
|
59
|
-
"type": "string"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"type": "object",
|
|
63
|
-
"properties": {
|
|
64
|
-
"name": {
|
|
65
|
-
"type": "string"
|
|
66
|
-
},
|
|
67
|
-
"isTypeOnly": {
|
|
68
|
-
"type": "boolean"
|
|
69
|
-
},
|
|
70
|
-
"moduleSpecifier": {
|
|
71
|
-
"type": "string"
|
|
72
|
-
},
|
|
73
|
-
"namedImport": {
|
|
74
|
-
"type": "string"
|
|
75
|
-
},
|
|
76
|
-
"namespaceImport": {
|
|
77
|
-
"type": "string"
|
|
78
|
-
},
|
|
79
|
-
"defaultImport": {
|
|
80
|
-
"type": "string"
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
"required": [
|
|
84
|
-
"name"
|
|
85
|
-
]
|
|
86
|
-
}
|
|
87
|
-
]
|
|
88
|
-
},
|
|
89
|
-
"isArray": {
|
|
90
|
-
"type": "boolean",
|
|
91
|
-
"description": "Whether the control value is an array",
|
|
92
|
-
"default": false
|
|
93
|
-
},
|
|
94
|
-
"state": {
|
|
95
|
-
"type": "string",
|
|
96
|
-
"description": "The initial state of the control"
|
|
97
|
-
},
|
|
98
|
-
"isRequired": {
|
|
99
|
-
"type": "boolean",
|
|
100
|
-
"description": "Whether the control value is required",
|
|
101
|
-
"default": false
|
|
102
|
-
},
|
|
103
|
-
"isReadonly": {
|
|
104
|
-
"type": "boolean",
|
|
105
|
-
"description": "Whether the control value is readonly",
|
|
106
|
-
"default": false
|
|
107
|
-
},
|
|
108
|
-
"isDisabled": {
|
|
109
|
-
"type": "boolean",
|
|
110
|
-
"description": "Whether the control value is disabled",
|
|
111
|
-
"default": false
|
|
112
|
-
},
|
|
113
|
-
"validatorList": {
|
|
114
|
-
"type": "array",
|
|
115
|
-
"items": {
|
|
116
|
-
"type": "string"
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
"template": {
|
|
120
|
-
"type": "object",
|
|
121
|
-
"properties": {
|
|
122
|
-
"name": {
|
|
123
|
-
"type": "string",
|
|
124
|
-
"description": "The name of the template",
|
|
125
|
-
"enum": [
|
|
126
|
-
"default",
|
|
127
|
-
"input",
|
|
128
|
-
"select"
|
|
129
|
-
]
|
|
130
|
-
}
|
|
131
|
-
},
|
|
132
|
-
"additionalProperties": true,
|
|
133
|
-
"required": ["name"]
|
|
134
|
-
}
|
|
135
|
-
},
|
|
136
|
-
"required": [
|
|
137
|
-
"name"
|
|
138
|
-
]
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
},
|
|
142
|
-
"required": [
|
|
143
|
-
"project",
|
|
144
|
-
"feature",
|
|
145
|
-
"name",
|
|
146
|
-
"controlList"
|
|
147
|
-
]
|
|
148
|
-
}
|
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema",
|
|
3
|
-
"$id": "dialog-table-action",
|
|
4
|
-
"type": "object",
|
|
5
|
-
"properties": {
|
|
6
|
-
"tableName": {
|
|
7
|
-
"alias": "table",
|
|
8
|
-
"type": "string",
|
|
9
|
-
"description": "The name of the table action"
|
|
10
|
-
},
|
|
11
|
-
"type": {
|
|
12
|
-
"alias": "actionType",
|
|
13
|
-
"type": "string",
|
|
14
|
-
"description": "The table action type string",
|
|
15
|
-
"x-prompt": "Enter the table action type string?"
|
|
16
|
-
},
|
|
17
|
-
"project": {
|
|
18
|
-
"type": "string",
|
|
19
|
-
"description": "The target project where the table action should be added."
|
|
20
|
-
},
|
|
21
|
-
"feature": {
|
|
22
|
-
"type": "string",
|
|
23
|
-
"description": "The feature name where the table action should be added.",
|
|
24
|
-
"x-prompt": "To which feature should the table action be added?"
|
|
25
|
-
},
|
|
26
|
-
"backend": {
|
|
27
|
-
"type": "string",
|
|
28
|
-
"description": "The backend that should be used to handel data",
|
|
29
|
-
"enum": [
|
|
30
|
-
"none",
|
|
31
|
-
"local",
|
|
32
|
-
"nestjs",
|
|
33
|
-
"open-api"
|
|
34
|
-
],
|
|
35
|
-
"default": "none"
|
|
36
|
-
},
|
|
37
|
-
"shared": {
|
|
38
|
-
"type": "boolean",
|
|
39
|
-
"description": "Whether the table action is shared across applications",
|
|
40
|
-
"default": false
|
|
41
|
-
},
|
|
42
|
-
"refresh": {
|
|
43
|
-
"type": "boolean",
|
|
44
|
-
"description": "Whether the table action should refresh the table after execution",
|
|
45
|
-
"default": false
|
|
46
|
-
},
|
|
47
|
-
"confirm": {
|
|
48
|
-
"type": "boolean",
|
|
49
|
-
"description": "Whether the table action should confirm before execution",
|
|
50
|
-
"default": false
|
|
51
|
-
},
|
|
52
|
-
"tooltip": {
|
|
53
|
-
"type": "string",
|
|
54
|
-
"description": "The tooltip for the table action"
|
|
55
|
-
},
|
|
56
|
-
"errorMessage": {
|
|
57
|
-
"type": "string",
|
|
58
|
-
"description": "The error message for the table action"
|
|
59
|
-
},
|
|
60
|
-
"successMessage": {
|
|
61
|
-
"type": "string",
|
|
62
|
-
"description": "The success message for the table action"
|
|
63
|
-
},
|
|
64
|
-
"checkFunction": {
|
|
65
|
-
"type": "string",
|
|
66
|
-
"description": "The check function for the table action"
|
|
67
|
-
},
|
|
68
|
-
"priority": {
|
|
69
|
-
"type": "number",
|
|
70
|
-
"description": "The priority of the table action"
|
|
71
|
-
},
|
|
72
|
-
"directory": {
|
|
73
|
-
"type": "string",
|
|
74
|
-
"description": "A directory name or absolute path for the table action. relative to the feature base path"
|
|
75
|
-
},
|
|
76
|
-
"nestModule": {
|
|
77
|
-
"type": "string",
|
|
78
|
-
"description": "The module name for the table nest operations"
|
|
79
|
-
},
|
|
80
|
-
"withoutBody": {
|
|
81
|
-
"type": "boolean",
|
|
82
|
-
"description": "Whether the table action operation should be without body",
|
|
83
|
-
"default": false
|
|
84
|
-
},
|
|
85
|
-
"actionList": {
|
|
86
|
-
"alias": "action",
|
|
87
|
-
"type": "array",
|
|
88
|
-
"description": "The list of actions to be added to the dialog",
|
|
89
|
-
"items": {
|
|
90
|
-
"oneOf": [
|
|
91
|
-
{
|
|
92
|
-
"type": "string"
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"type": "object",
|
|
96
|
-
"properties": {
|
|
97
|
-
"label": {
|
|
98
|
-
"type": "string"
|
|
99
|
-
},
|
|
100
|
-
"color": {
|
|
101
|
-
"type": "string"
|
|
102
|
-
},
|
|
103
|
-
"role": {
|
|
104
|
-
"type": "string",
|
|
105
|
-
"enum": [
|
|
106
|
-
"submit",
|
|
107
|
-
"close"
|
|
108
|
-
]
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
]
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
"title": {
|
|
116
|
-
"type": "string",
|
|
117
|
-
"description": "The title for the dialog"
|
|
118
|
-
},
|
|
119
|
-
"overwrite": {
|
|
120
|
-
"anyOf": [
|
|
121
|
-
{
|
|
122
|
-
"type": "boolean"
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
"type": "array",
|
|
126
|
-
"items": {
|
|
127
|
-
"type": "string"
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
],
|
|
131
|
-
"description": "Overwrite existing files",
|
|
132
|
-
"default": false
|
|
133
|
-
},
|
|
134
|
-
"context": {
|
|
135
|
-
"type": "string",
|
|
136
|
-
"description": "The context use to generate proper names for class, files, etc"
|
|
137
|
-
},
|
|
138
|
-
"options": {
|
|
139
|
-
"type": "object",
|
|
140
|
-
"additionalProperties": true
|
|
141
|
-
}
|
|
142
|
-
},
|
|
143
|
-
"required": [
|
|
144
|
-
"type",
|
|
145
|
-
"project",
|
|
146
|
-
"feature"
|
|
147
|
-
]
|
|
148
|
-
}
|
|
@@ -1,202 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema",
|
|
3
|
-
"$id": "form-table-action",
|
|
4
|
-
"type": "object",
|
|
5
|
-
"properties": {
|
|
6
|
-
"tableName": {
|
|
7
|
-
"alias": "table",
|
|
8
|
-
"type": "string",
|
|
9
|
-
"description": "The name of the table action"
|
|
10
|
-
},
|
|
11
|
-
"type": {
|
|
12
|
-
"alias": "actionType",
|
|
13
|
-
"type": "string",
|
|
14
|
-
"description": "The table action type string",
|
|
15
|
-
"x-prompt": "Enter the table action type string?"
|
|
16
|
-
},
|
|
17
|
-
"project": {
|
|
18
|
-
"type": "string",
|
|
19
|
-
"description": "The target project where the table action should be added."
|
|
20
|
-
},
|
|
21
|
-
"feature": {
|
|
22
|
-
"type": "string",
|
|
23
|
-
"description": "The feature name where the table action should be added.",
|
|
24
|
-
"x-prompt": "To which feature should the table action be added?"
|
|
25
|
-
},
|
|
26
|
-
"backend": {
|
|
27
|
-
"type": "string",
|
|
28
|
-
"description": "The backend that should be used to handel data",
|
|
29
|
-
"enum": [
|
|
30
|
-
"none",
|
|
31
|
-
"local",
|
|
32
|
-
"nestjs",
|
|
33
|
-
"open-api"
|
|
34
|
-
],
|
|
35
|
-
"default": "none"
|
|
36
|
-
},
|
|
37
|
-
"shared": {
|
|
38
|
-
"type": "boolean",
|
|
39
|
-
"description": "Whether the table action is shared across applications",
|
|
40
|
-
"default": false
|
|
41
|
-
},
|
|
42
|
-
"refresh": {
|
|
43
|
-
"type": "boolean",
|
|
44
|
-
"description": "Whether the table action should refresh the table after execution",
|
|
45
|
-
"default": false
|
|
46
|
-
},
|
|
47
|
-
"confirm": {
|
|
48
|
-
"type": "boolean",
|
|
49
|
-
"description": "Whether the table action should confirm before execution",
|
|
50
|
-
"default": false
|
|
51
|
-
},
|
|
52
|
-
"tooltip": {
|
|
53
|
-
"type": "string",
|
|
54
|
-
"description": "The tooltip for the table action"
|
|
55
|
-
},
|
|
56
|
-
"errorMessage": {
|
|
57
|
-
"type": "string",
|
|
58
|
-
"description": "The error message for the table action"
|
|
59
|
-
},
|
|
60
|
-
"successMessage": {
|
|
61
|
-
"type": "string",
|
|
62
|
-
"description": "The success message for the table action"
|
|
63
|
-
},
|
|
64
|
-
"checkFunction": {
|
|
65
|
-
"type": "string",
|
|
66
|
-
"description": "The check function for the table action"
|
|
67
|
-
},
|
|
68
|
-
"priority": {
|
|
69
|
-
"type": "number",
|
|
70
|
-
"description": "The priority of the table action"
|
|
71
|
-
},
|
|
72
|
-
"directory": {
|
|
73
|
-
"type": "string",
|
|
74
|
-
"description": "A directory name or absolute path for the table action. relative to the feature base path"
|
|
75
|
-
},
|
|
76
|
-
"nestModule": {
|
|
77
|
-
"type": "string",
|
|
78
|
-
"description": "The module name for the table nest operations"
|
|
79
|
-
},
|
|
80
|
-
"overwrite": {
|
|
81
|
-
"anyOf": [
|
|
82
|
-
{
|
|
83
|
-
"type": "boolean"
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"type": "array",
|
|
87
|
-
"items": {
|
|
88
|
-
"type": "string"
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
],
|
|
92
|
-
"description": "Overwrite existing files",
|
|
93
|
-
"default": false
|
|
94
|
-
},
|
|
95
|
-
"context": {
|
|
96
|
-
"type": "string",
|
|
97
|
-
"description": "The context use to generate proper names for class, files, etc"
|
|
98
|
-
},
|
|
99
|
-
"formInitial": {
|
|
100
|
-
"type": "object",
|
|
101
|
-
"description": "The mapping from the row object to the form initial object"
|
|
102
|
-
},
|
|
103
|
-
"formComponent": {
|
|
104
|
-
"type": "string"
|
|
105
|
-
},
|
|
106
|
-
"customComponent": {
|
|
107
|
-
"type": "boolean",
|
|
108
|
-
"default": false,
|
|
109
|
-
"description": "If true the schematic will not coerce the form component"
|
|
110
|
-
},
|
|
111
|
-
"loadFrom": {
|
|
112
|
-
"type": "object",
|
|
113
|
-
"properties": {
|
|
114
|
-
"operationId": {
|
|
115
|
-
"type": "string"
|
|
116
|
-
},
|
|
117
|
-
"scope": {
|
|
118
|
-
"type": "string",
|
|
119
|
-
"description": "The scope of package for the openapi classes"
|
|
120
|
-
},
|
|
121
|
-
"body": {
|
|
122
|
-
"oneOf": [
|
|
123
|
-
{
|
|
124
|
-
"type": "boolean",
|
|
125
|
-
"description": "Pass the full row as body for the operation request"
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
"type": "object",
|
|
129
|
-
"description": "Mapping of table columns to body properties - [request property]: [table column]",
|
|
130
|
-
"additionalProperties": true
|
|
131
|
-
}
|
|
132
|
-
]
|
|
133
|
-
},
|
|
134
|
-
"parameters": {
|
|
135
|
-
"oneOf": [
|
|
136
|
-
{
|
|
137
|
-
"type": "boolean",
|
|
138
|
-
"description": "Pass the full row as parameters for the operation request"
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
"type": "object",
|
|
142
|
-
"description": "Mapping of table columns to parameters properties - [request property]: [table column]",
|
|
143
|
-
"additionalProperties": true
|
|
144
|
-
}
|
|
145
|
-
]
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
},
|
|
149
|
-
"formOptions": {
|
|
150
|
-
"type": "object",
|
|
151
|
-
"properties": {
|
|
152
|
-
"role": {
|
|
153
|
-
"type": "string",
|
|
154
|
-
"description": "Define the role of the form"
|
|
155
|
-
},
|
|
156
|
-
"window": {
|
|
157
|
-
"type": "boolean",
|
|
158
|
-
"description": "Whether the form can be opened in a window"
|
|
159
|
-
},
|
|
160
|
-
"controlList": {
|
|
161
|
-
"alias": "control",
|
|
162
|
-
"type": "array",
|
|
163
|
-
"items": {
|
|
164
|
-
"type": "object",
|
|
165
|
-
"properties": {
|
|
166
|
-
"type": {
|
|
167
|
-
"type": "string"
|
|
168
|
-
},
|
|
169
|
-
"name": {
|
|
170
|
-
"type": "string"
|
|
171
|
-
},
|
|
172
|
-
"state": {
|
|
173
|
-
"type": "string",
|
|
174
|
-
"description": "The initial state of the control"
|
|
175
|
-
},
|
|
176
|
-
"isRequired": {
|
|
177
|
-
"type": "boolean",
|
|
178
|
-
"description": "Whether the control value is required",
|
|
179
|
-
"default": false
|
|
180
|
-
},
|
|
181
|
-
"validatorList": {
|
|
182
|
-
"type": "array",
|
|
183
|
-
"items": {
|
|
184
|
-
"type": "string"
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
},
|
|
188
|
-
"required": [
|
|
189
|
-
"name"
|
|
190
|
-
]
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
},
|
|
194
|
-
"additionalProperties": true
|
|
195
|
-
}
|
|
196
|
-
},
|
|
197
|
-
"required": [
|
|
198
|
-
"type",
|
|
199
|
-
"project",
|
|
200
|
-
"feature"
|
|
201
|
-
]
|
|
202
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema",
|
|
3
|
-
"$id": "navigation-table-action",
|
|
4
|
-
"type": "object",
|
|
5
|
-
"properties": {
|
|
6
|
-
"tableName": {
|
|
7
|
-
"alias": "table",
|
|
8
|
-
"type": "string",
|
|
9
|
-
"description": "The name of the table action"
|
|
10
|
-
},
|
|
11
|
-
"type": {
|
|
12
|
-
"alias": "actionType",
|
|
13
|
-
"type": "string",
|
|
14
|
-
"description": "The table action type string",
|
|
15
|
-
"x-prompt": "Enter the table action type string?"
|
|
16
|
-
},
|
|
17
|
-
"project": {
|
|
18
|
-
"type": "string",
|
|
19
|
-
"description": "The target project where the table action should be added."
|
|
20
|
-
},
|
|
21
|
-
"feature": {
|
|
22
|
-
"type": "string",
|
|
23
|
-
"description": "The feature name where the table action should be added.",
|
|
24
|
-
"x-prompt": "To which feature should the table action be added?"
|
|
25
|
-
},
|
|
26
|
-
"backend": {
|
|
27
|
-
"type": "string",
|
|
28
|
-
"description": "The backend that should be used to handel data",
|
|
29
|
-
"enum": [
|
|
30
|
-
"none",
|
|
31
|
-
"local",
|
|
32
|
-
"nestjs",
|
|
33
|
-
"open-api"
|
|
34
|
-
],
|
|
35
|
-
"default": "none"
|
|
36
|
-
},
|
|
37
|
-
"shared": {
|
|
38
|
-
"type": "boolean",
|
|
39
|
-
"description": "Whether the table action is shared across applications",
|
|
40
|
-
"default": false
|
|
41
|
-
},
|
|
42
|
-
"refresh": {
|
|
43
|
-
"type": "boolean",
|
|
44
|
-
"description": "Whether the table action should refresh the table after execution",
|
|
45
|
-
"default": false
|
|
46
|
-
},
|
|
47
|
-
"confirm": {
|
|
48
|
-
"type": "boolean",
|
|
49
|
-
"description": "Whether the table action should confirm before execution",
|
|
50
|
-
"default": false
|
|
51
|
-
},
|
|
52
|
-
"tooltip": {
|
|
53
|
-
"type": "string",
|
|
54
|
-
"description": "The tooltip for the table action"
|
|
55
|
-
},
|
|
56
|
-
"errorMessage": {
|
|
57
|
-
"type": "string",
|
|
58
|
-
"description": "The error message for the table action"
|
|
59
|
-
},
|
|
60
|
-
"successMessage": {
|
|
61
|
-
"type": "string",
|
|
62
|
-
"description": "The success message for the table action"
|
|
63
|
-
},
|
|
64
|
-
"checkFunction": {
|
|
65
|
-
"type": "string",
|
|
66
|
-
"description": "The check function for the table action"
|
|
67
|
-
},
|
|
68
|
-
"priority": {
|
|
69
|
-
"type": "number",
|
|
70
|
-
"description": "The priority of the table action"
|
|
71
|
-
},
|
|
72
|
-
"directory": {
|
|
73
|
-
"type": "string",
|
|
74
|
-
"description": "A directory name or absolute path for the table action. relative to the feature base path"
|
|
75
|
-
},
|
|
76
|
-
"route": {
|
|
77
|
-
"type": "string",
|
|
78
|
-
"description": "The route for the table action"
|
|
79
|
-
},
|
|
80
|
-
"relativeTo": {
|
|
81
|
-
"type": "boolean",
|
|
82
|
-
"description": "Use the current ActivatedRoute to resolve the route or not",
|
|
83
|
-
"default": false
|
|
84
|
-
},
|
|
85
|
-
"options": {
|
|
86
|
-
"type": "object",
|
|
87
|
-
"additionalProperties": true
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
"required": [
|
|
91
|
-
"type",
|
|
92
|
-
"project",
|
|
93
|
-
"feature"
|
|
94
|
-
]
|
|
95
|
-
}
|