@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,116 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema",
|
|
3
|
-
"$id": "input-form-control",
|
|
4
|
-
"type": "object",
|
|
5
|
-
"properties": {
|
|
6
|
-
"name": {
|
|
7
|
-
"type": "string",
|
|
8
|
-
"description": "The name of form control",
|
|
9
|
-
"x-prompt": "Enter the name of the form control?"
|
|
10
|
-
},
|
|
11
|
-
"formName": {
|
|
12
|
-
"alias": "form",
|
|
13
|
-
"type": "string",
|
|
14
|
-
"description": "The name of the form where the form control should be added",
|
|
15
|
-
"x-prompt": "Enter the name of the form where the form control should be added"
|
|
16
|
-
},
|
|
17
|
-
"project": {
|
|
18
|
-
"type": "string",
|
|
19
|
-
"description": "The project where the form control should be added",
|
|
20
|
-
"x-prompt": "Enter project name where the form control should be added"
|
|
21
|
-
},
|
|
22
|
-
"backend": {
|
|
23
|
-
"type": "string",
|
|
24
|
-
"description": "The backend that should be used to handel data",
|
|
25
|
-
"enum": [
|
|
26
|
-
"none",
|
|
27
|
-
"local",
|
|
28
|
-
"nestjs",
|
|
29
|
-
"open-api"
|
|
30
|
-
],
|
|
31
|
-
"default": "none"
|
|
32
|
-
},
|
|
33
|
-
"feature": {
|
|
34
|
-
"type": "string",
|
|
35
|
-
"description": "The feature where the form control should be added",
|
|
36
|
-
"x-prompt": "Enter feature name where the form control should be added"
|
|
37
|
-
},
|
|
38
|
-
"shared": {
|
|
39
|
-
"type": "boolean",
|
|
40
|
-
"description": "Whether the form is shared across applications",
|
|
41
|
-
"default": false
|
|
42
|
-
},
|
|
43
|
-
"directory": {
|
|
44
|
-
"type": "string",
|
|
45
|
-
"description": "A path suffix added to the base path"
|
|
46
|
-
},
|
|
47
|
-
"nestModule": {
|
|
48
|
-
"type": "string",
|
|
49
|
-
"description": "Name of the nest module where the controller is created"
|
|
50
|
-
},
|
|
51
|
-
"controllerName": {
|
|
52
|
-
"type": "string",
|
|
53
|
-
"description": "Name of the nest controller"
|
|
54
|
-
},
|
|
55
|
-
"type": {
|
|
56
|
-
"type": "string",
|
|
57
|
-
"description": "The data type of the form control"
|
|
58
|
-
},
|
|
59
|
-
"validatorList": {
|
|
60
|
-
"alias": "validator",
|
|
61
|
-
"type": "array",
|
|
62
|
-
"items": {
|
|
63
|
-
"type": "string"
|
|
64
|
-
},
|
|
65
|
-
"description": "List of validators to be added to the form control"
|
|
66
|
-
},
|
|
67
|
-
"isRequired": {
|
|
68
|
-
"alias": "required",
|
|
69
|
-
"type": "boolean",
|
|
70
|
-
"description": "Whether the form control value is required"
|
|
71
|
-
},
|
|
72
|
-
"state": {
|
|
73
|
-
"type": "string",
|
|
74
|
-
"description": "The initial state of the form control"
|
|
75
|
-
},
|
|
76
|
-
"isArray": {
|
|
77
|
-
"alias": "array",
|
|
78
|
-
"type": "boolean",
|
|
79
|
-
"description": "Whether the form control is an array"
|
|
80
|
-
},
|
|
81
|
-
"inputType": {
|
|
82
|
-
"type": "string",
|
|
83
|
-
"description": "The type of the input control",
|
|
84
|
-
"enum": [
|
|
85
|
-
"checkbox",
|
|
86
|
-
"color",
|
|
87
|
-
"date",
|
|
88
|
-
"datetime-local",
|
|
89
|
-
"email",
|
|
90
|
-
"file",
|
|
91
|
-
"image",
|
|
92
|
-
"month",
|
|
93
|
-
"number",
|
|
94
|
-
"password",
|
|
95
|
-
"radio",
|
|
96
|
-
"range",
|
|
97
|
-
"search",
|
|
98
|
-
"tel",
|
|
99
|
-
"text",
|
|
100
|
-
"time",
|
|
101
|
-
"url",
|
|
102
|
-
"week"
|
|
103
|
-
]
|
|
104
|
-
},
|
|
105
|
-
"context": {
|
|
106
|
-
"type": "string",
|
|
107
|
-
"description": "The context use to generate proper names for class, files, etc"
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
"required": [
|
|
111
|
-
"name",
|
|
112
|
-
"formName",
|
|
113
|
-
"project",
|
|
114
|
-
"feature"
|
|
115
|
-
]
|
|
116
|
-
}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema",
|
|
3
|
-
"$id": "select-form-control",
|
|
4
|
-
"type": "object",
|
|
5
|
-
"properties": {
|
|
6
|
-
"name": {
|
|
7
|
-
"type": "string",
|
|
8
|
-
"description": "The name of form control",
|
|
9
|
-
"x-prompt": "Enter the name of the form control?"
|
|
10
|
-
},
|
|
11
|
-
"formName": {
|
|
12
|
-
"alias": "form",
|
|
13
|
-
"type": "string",
|
|
14
|
-
"description": "The name of the form where the form control should be added",
|
|
15
|
-
"x-prompt": "Enter the name of the form where the form control should be added"
|
|
16
|
-
},
|
|
17
|
-
"project": {
|
|
18
|
-
"type": "string",
|
|
19
|
-
"description": "The project where the form control should be added",
|
|
20
|
-
"x-prompt": "Enter project name where the form control should be added"
|
|
21
|
-
},
|
|
22
|
-
"backend": {
|
|
23
|
-
"type": "string",
|
|
24
|
-
"description": "The backend that should be used to handel data",
|
|
25
|
-
"enum": [
|
|
26
|
-
"none",
|
|
27
|
-
"local",
|
|
28
|
-
"nestjs",
|
|
29
|
-
"open-api"
|
|
30
|
-
],
|
|
31
|
-
"default": "none"
|
|
32
|
-
},
|
|
33
|
-
"feature": {
|
|
34
|
-
"type": "string",
|
|
35
|
-
"description": "The feature where the form control should be added",
|
|
36
|
-
"x-prompt": "Enter feature name where the form control should be added"
|
|
37
|
-
},
|
|
38
|
-
"shared": {
|
|
39
|
-
"type": "boolean",
|
|
40
|
-
"description": "Whether the form is shared across applications",
|
|
41
|
-
"default": false
|
|
42
|
-
},
|
|
43
|
-
"directory": {
|
|
44
|
-
"type": "string",
|
|
45
|
-
"description": "A path suffix added to the base path"
|
|
46
|
-
},
|
|
47
|
-
"nestModule": {
|
|
48
|
-
"type": "string",
|
|
49
|
-
"description": "Name of the nest module where the controller is created"
|
|
50
|
-
},
|
|
51
|
-
"controllerName": {
|
|
52
|
-
"type": "string",
|
|
53
|
-
"description": "Name of the nest controller"
|
|
54
|
-
},
|
|
55
|
-
"type": {
|
|
56
|
-
"type": "string",
|
|
57
|
-
"description": "The data type of the form control"
|
|
58
|
-
},
|
|
59
|
-
"validatorList": {
|
|
60
|
-
"alias": "validator",
|
|
61
|
-
"type": "array",
|
|
62
|
-
"items": {
|
|
63
|
-
"type": "string"
|
|
64
|
-
},
|
|
65
|
-
"description": "List of validators to be added to the form control"
|
|
66
|
-
},
|
|
67
|
-
"isRequired": {
|
|
68
|
-
"alias": "required",
|
|
69
|
-
"type": "boolean",
|
|
70
|
-
"description": "Whether the form control value is required"
|
|
71
|
-
},
|
|
72
|
-
"state": {
|
|
73
|
-
"type": "string",
|
|
74
|
-
"description": "The initial state of the form control"
|
|
75
|
-
},
|
|
76
|
-
"isArray": {
|
|
77
|
-
"alias": "array",
|
|
78
|
-
"type": "boolean",
|
|
79
|
-
"description": "Whether the form control is an array"
|
|
80
|
-
},
|
|
81
|
-
"staticDataSource": {
|
|
82
|
-
"alias": "static",
|
|
83
|
-
"type": "boolean",
|
|
84
|
-
"description": "Whether the options data source is static"
|
|
85
|
-
},
|
|
86
|
-
"multiple": {
|
|
87
|
-
"alias": "multi",
|
|
88
|
-
"type": "boolean",
|
|
89
|
-
"description": "Whether the select form control is multiple mode"
|
|
90
|
-
},
|
|
91
|
-
"context": {
|
|
92
|
-
"type": "string",
|
|
93
|
-
"description": "The context use to generate proper names for class, files, etc"
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
"required": [
|
|
97
|
-
"name",
|
|
98
|
-
"formName",
|
|
99
|
-
"project",
|
|
100
|
-
"feature"
|
|
101
|
-
]
|
|
102
|
-
}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema",
|
|
3
|
-
"$id": "table-select-form-control",
|
|
4
|
-
"type": "object",
|
|
5
|
-
"properties": {
|
|
6
|
-
"name": {
|
|
7
|
-
"type": "string",
|
|
8
|
-
"description": "The name of form control",
|
|
9
|
-
"x-prompt": "Enter the name of the form control?"
|
|
10
|
-
},
|
|
11
|
-
"formName": {
|
|
12
|
-
"alias": "form",
|
|
13
|
-
"type": "string",
|
|
14
|
-
"description": "The name of the form where the form control should be added",
|
|
15
|
-
"x-prompt": "Enter the name of the form where the form control should be added"
|
|
16
|
-
},
|
|
17
|
-
"project": {
|
|
18
|
-
"type": "string",
|
|
19
|
-
"description": "The project where the form control should be added",
|
|
20
|
-
"x-prompt": "Enter project name where the form control should be added"
|
|
21
|
-
},
|
|
22
|
-
"backend": {
|
|
23
|
-
"type": "string",
|
|
24
|
-
"description": "The backend that should be used to handel data",
|
|
25
|
-
"enum": [
|
|
26
|
-
"none",
|
|
27
|
-
"local",
|
|
28
|
-
"nestjs",
|
|
29
|
-
"open-api"
|
|
30
|
-
],
|
|
31
|
-
"default": "none"
|
|
32
|
-
},
|
|
33
|
-
"feature": {
|
|
34
|
-
"type": "string",
|
|
35
|
-
"description": "The feature where the form control should be added",
|
|
36
|
-
"x-prompt": "Enter feature name where the form control should be added"
|
|
37
|
-
},
|
|
38
|
-
"shared": {
|
|
39
|
-
"type": "boolean",
|
|
40
|
-
"description": "Whether the form is shared across applications",
|
|
41
|
-
"default": false
|
|
42
|
-
},
|
|
43
|
-
"directory": {
|
|
44
|
-
"type": "string",
|
|
45
|
-
"description": "A path suffix added to the base path"
|
|
46
|
-
},
|
|
47
|
-
"nestModule": {
|
|
48
|
-
"type": "string",
|
|
49
|
-
"description": "Name of the nest module where the controller is created"
|
|
50
|
-
},
|
|
51
|
-
"controllerName": {
|
|
52
|
-
"type": "string",
|
|
53
|
-
"description": "Name of the nest controller"
|
|
54
|
-
},
|
|
55
|
-
"type": {
|
|
56
|
-
"type": "string",
|
|
57
|
-
"description": "The data type of the form control"
|
|
58
|
-
},
|
|
59
|
-
"validatorList": {
|
|
60
|
-
"alias": "validator",
|
|
61
|
-
"type": "array",
|
|
62
|
-
"items": {
|
|
63
|
-
"type": "string"
|
|
64
|
-
},
|
|
65
|
-
"description": "List of validators to be added to the form control"
|
|
66
|
-
},
|
|
67
|
-
"isRequired": {
|
|
68
|
-
"alias": "required",
|
|
69
|
-
"type": "boolean",
|
|
70
|
-
"description": "Whether the form control value is required"
|
|
71
|
-
},
|
|
72
|
-
"state": {
|
|
73
|
-
"type": "string",
|
|
74
|
-
"description": "The initial state of the form control"
|
|
75
|
-
},
|
|
76
|
-
"isArray": {
|
|
77
|
-
"alias": "array",
|
|
78
|
-
"type": "boolean",
|
|
79
|
-
"description": "Whether the form control is an array"
|
|
80
|
-
},
|
|
81
|
-
"multiple": {
|
|
82
|
-
"alias": "multi",
|
|
83
|
-
"type": "boolean",
|
|
84
|
-
"description": "Whether the select form control is multiple mode"
|
|
85
|
-
},
|
|
86
|
-
"columnList": {
|
|
87
|
-
"alias": "column",
|
|
88
|
-
"type": "array",
|
|
89
|
-
"items": {
|
|
90
|
-
"type": "string",
|
|
91
|
-
"description": "table column name"
|
|
92
|
-
},
|
|
93
|
-
"description": "List of table column names"
|
|
94
|
-
},
|
|
95
|
-
"context": {
|
|
96
|
-
"type": "string",
|
|
97
|
-
"description": "The context use to generate proper names for class, files, etc"
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
"required": [
|
|
101
|
-
"name",
|
|
102
|
-
"formName",
|
|
103
|
-
"project",
|
|
104
|
-
"feature"
|
|
105
|
-
]
|
|
106
|
-
}
|
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema",
|
|
3
|
-
"$id": "form-component",
|
|
4
|
-
"type": "object",
|
|
5
|
-
"properties": {
|
|
6
|
-
"name": {
|
|
7
|
-
"type": "string",
|
|
8
|
-
"description": "The name of form",
|
|
9
|
-
"x-prompt": "Enter the name of the form?"
|
|
10
|
-
},
|
|
11
|
-
"project": {
|
|
12
|
-
"type": "string",
|
|
13
|
-
"description": "The project where the module should be created",
|
|
14
|
-
"x-prompt": "Enter project name where the module should be created"
|
|
15
|
-
},
|
|
16
|
-
"feature": {
|
|
17
|
-
"type": "string",
|
|
18
|
-
"description": "The feature where the module should be created",
|
|
19
|
-
"x-prompt": "Enter feature name where the module should be created"
|
|
20
|
-
},
|
|
21
|
-
"backend": {
|
|
22
|
-
"type": "string",
|
|
23
|
-
"description": "The backend that should be used to handel data",
|
|
24
|
-
"enum": [
|
|
25
|
-
"none",
|
|
26
|
-
"local",
|
|
27
|
-
"nestjs",
|
|
28
|
-
"open-api"
|
|
29
|
-
],
|
|
30
|
-
"default": "none"
|
|
31
|
-
},
|
|
32
|
-
"shared": {
|
|
33
|
-
"type": "boolean",
|
|
34
|
-
"description": "Whether the form is shared across applications"
|
|
35
|
-
},
|
|
36
|
-
"window": {
|
|
37
|
-
"type": "boolean",
|
|
38
|
-
"description": "Whether the form can be opened in a window"
|
|
39
|
-
},
|
|
40
|
-
"directory": {
|
|
41
|
-
"type": "string",
|
|
42
|
-
"description": "A path suffix added to the base path"
|
|
43
|
-
},
|
|
44
|
-
"role": {
|
|
45
|
-
"type": "string",
|
|
46
|
-
"description": "Define the role of the form"
|
|
47
|
-
},
|
|
48
|
-
"nestModule": {
|
|
49
|
-
"type": "string",
|
|
50
|
-
"description": "Name of the nest module where the controller is created"
|
|
51
|
-
},
|
|
52
|
-
"controllerName": {
|
|
53
|
-
"type": "string",
|
|
54
|
-
"description": "Name of the nest controller"
|
|
55
|
-
},
|
|
56
|
-
"matFormFieldDefaultOptions": {
|
|
57
|
-
"appearance": {
|
|
58
|
-
"type": "string",
|
|
59
|
-
"description": "The appearance of the mat form field",
|
|
60
|
-
"enum": [
|
|
61
|
-
"legacy",
|
|
62
|
-
"standard",
|
|
63
|
-
"fill",
|
|
64
|
-
"outline"
|
|
65
|
-
]
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
"controlList": {
|
|
69
|
-
"alias": "control",
|
|
70
|
-
"type": "array",
|
|
71
|
-
"items": {
|
|
72
|
-
"type": "object",
|
|
73
|
-
"properties": {
|
|
74
|
-
"name": {
|
|
75
|
-
"type": "string",
|
|
76
|
-
"description": "The name of the control"
|
|
77
|
-
},
|
|
78
|
-
"type": {
|
|
79
|
-
"oneOf": [
|
|
80
|
-
{
|
|
81
|
-
"type": "string"
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"type": "object",
|
|
85
|
-
"properties": {
|
|
86
|
-
"name": {
|
|
87
|
-
"type": "string"
|
|
88
|
-
},
|
|
89
|
-
"isTypeOnly": {
|
|
90
|
-
"type": "boolean"
|
|
91
|
-
},
|
|
92
|
-
"moduleSpecifier": {
|
|
93
|
-
"type": "string"
|
|
94
|
-
},
|
|
95
|
-
"namedImport": {
|
|
96
|
-
"type": "string"
|
|
97
|
-
},
|
|
98
|
-
"namespaceImport": {
|
|
99
|
-
"type": "string"
|
|
100
|
-
},
|
|
101
|
-
"defaultImport": {
|
|
102
|
-
"type": "string"
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
"required": [
|
|
106
|
-
"name"
|
|
107
|
-
]
|
|
108
|
-
}
|
|
109
|
-
]
|
|
110
|
-
},
|
|
111
|
-
"isArray": {
|
|
112
|
-
"type": "boolean",
|
|
113
|
-
"description": "Whether the control value is an array",
|
|
114
|
-
"default": false
|
|
115
|
-
},
|
|
116
|
-
"state": {
|
|
117
|
-
"type": "string",
|
|
118
|
-
"description": "The initial state of the control"
|
|
119
|
-
},
|
|
120
|
-
"isRequired": {
|
|
121
|
-
"type": "boolean",
|
|
122
|
-
"description": "Whether the control value is required",
|
|
123
|
-
"default": false
|
|
124
|
-
},
|
|
125
|
-
"isReadonly": {
|
|
126
|
-
"type": "boolean",
|
|
127
|
-
"description": "Whether the control value is readonly",
|
|
128
|
-
"default": false
|
|
129
|
-
},
|
|
130
|
-
"isDisabled": {
|
|
131
|
-
"type": "boolean",
|
|
132
|
-
"description": "Whether the control value is disabled",
|
|
133
|
-
"default": false
|
|
134
|
-
},
|
|
135
|
-
"validatorList": {
|
|
136
|
-
"type": "array",
|
|
137
|
-
"items": {
|
|
138
|
-
"type": "string"
|
|
139
|
-
}
|
|
140
|
-
},
|
|
141
|
-
"template": {
|
|
142
|
-
"type": "object",
|
|
143
|
-
"properties": {
|
|
144
|
-
"name": {
|
|
145
|
-
"type": "string",
|
|
146
|
-
"description": "The name of the template",
|
|
147
|
-
"enum": [
|
|
148
|
-
"default",
|
|
149
|
-
"input",
|
|
150
|
-
"select"
|
|
151
|
-
]
|
|
152
|
-
}
|
|
153
|
-
},
|
|
154
|
-
"additionalProperties": true,
|
|
155
|
-
"required": ["name"]
|
|
156
|
-
}
|
|
157
|
-
},
|
|
158
|
-
"required": [
|
|
159
|
-
"name"
|
|
160
|
-
]
|
|
161
|
-
}
|
|
162
|
-
},
|
|
163
|
-
"context": {
|
|
164
|
-
"type": "string",
|
|
165
|
-
"description": "The context use to generate proper names for class, files, etc"
|
|
166
|
-
}
|
|
167
|
-
},
|
|
168
|
-
"required": [
|
|
169
|
-
"name",
|
|
170
|
-
"project",
|
|
171
|
-
"feature"
|
|
172
|
-
]
|
|
173
|
-
}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/schema",
|
|
3
|
-
"$id": "form-control",
|
|
4
|
-
"type": "object",
|
|
5
|
-
"properties": {
|
|
6
|
-
"name": {
|
|
7
|
-
"type": "string",
|
|
8
|
-
"description": "The name of form control",
|
|
9
|
-
"x-prompt": "Enter the name of the form control?"
|
|
10
|
-
},
|
|
11
|
-
"formName": {
|
|
12
|
-
"alias": "form",
|
|
13
|
-
"type": "string",
|
|
14
|
-
"description": "The name of the form where the form control should be added",
|
|
15
|
-
"x-prompt": "Enter the name of the form where the form control should be added"
|
|
16
|
-
},
|
|
17
|
-
"project": {
|
|
18
|
-
"type": "string",
|
|
19
|
-
"description": "The project where the form control should be added",
|
|
20
|
-
"x-prompt": "Enter project name where the form control should be added"
|
|
21
|
-
},
|
|
22
|
-
"backend": {
|
|
23
|
-
"type": "string",
|
|
24
|
-
"description": "The backend that should be used to handel data",
|
|
25
|
-
"enum": [
|
|
26
|
-
"none",
|
|
27
|
-
"local",
|
|
28
|
-
"nestjs",
|
|
29
|
-
"open-api"
|
|
30
|
-
],
|
|
31
|
-
"default": "none"
|
|
32
|
-
},
|
|
33
|
-
"feature": {
|
|
34
|
-
"type": "string",
|
|
35
|
-
"description": "The feature where the form control should be added",
|
|
36
|
-
"x-prompt": "Enter feature name where the form control should be added"
|
|
37
|
-
},
|
|
38
|
-
"shared": {
|
|
39
|
-
"type": "boolean",
|
|
40
|
-
"description": "Whether the form is shared across applications",
|
|
41
|
-
"default": false
|
|
42
|
-
},
|
|
43
|
-
"directory": {
|
|
44
|
-
"type": "string",
|
|
45
|
-
"description": "A path suffix added to the base path"
|
|
46
|
-
},
|
|
47
|
-
"nestModule": {
|
|
48
|
-
"type": "string",
|
|
49
|
-
"description": "Name of the nest module where the controller is created"
|
|
50
|
-
},
|
|
51
|
-
"controllerName": {
|
|
52
|
-
"type": "string",
|
|
53
|
-
"description": "Name of the nest controller"
|
|
54
|
-
},
|
|
55
|
-
"type": {
|
|
56
|
-
"type": "string",
|
|
57
|
-
"description": "The data type of the form control"
|
|
58
|
-
},
|
|
59
|
-
"validatorList": {
|
|
60
|
-
"alias": "validator",
|
|
61
|
-
"type": "array",
|
|
62
|
-
"items": {
|
|
63
|
-
"type": "string"
|
|
64
|
-
},
|
|
65
|
-
"description": "List of validators to be added to the form control"
|
|
66
|
-
},
|
|
67
|
-
"isRequired": {
|
|
68
|
-
"alias": "required",
|
|
69
|
-
"type": "boolean",
|
|
70
|
-
"description": "Whether the form control value is required"
|
|
71
|
-
},
|
|
72
|
-
"state": {
|
|
73
|
-
"type": "string",
|
|
74
|
-
"description": "The initial state of the form control"
|
|
75
|
-
},
|
|
76
|
-
"isArray": {
|
|
77
|
-
"alias": "array",
|
|
78
|
-
"type": "boolean",
|
|
79
|
-
"description": "Whether the form control is an array"
|
|
80
|
-
},
|
|
81
|
-
"context": {
|
|
82
|
-
"type": "string",
|
|
83
|
-
"description": "The context use to generate proper names for class, files, etc"
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
"required": [
|
|
87
|
-
"name",
|
|
88
|
-
"formName",
|
|
89
|
-
"project",
|
|
90
|
-
"feature"
|
|
91
|
-
]
|
|
92
|
-
}
|