@rxap/schematic-angular 16.2.0-dev.20 → 16.2.0-dev.22
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 +19 -0
- package/README.md +1 -1
- package/collection.json +15 -0
- package/package.json +7 -7
- package/src/lib/coerce-form-component.js +15 -3
- package/src/lib/coerce-form-component.js.map +1 -1
- package/src/lib/data-grid-item.d.ts +3 -3
- package/src/lib/data-grid-item.js +2 -2
- package/src/lib/data-grid-item.js.map +1 -1
- package/src/lib/form/abstract-control.d.ts +29 -0
- package/src/lib/form/abstract-control.js +37 -0
- package/src/lib/form/abstract-control.js.map +1 -0
- package/src/lib/form/array/base-form-array.d.ts +18 -0
- package/src/lib/form/array/base-form-array.js +40 -0
- package/src/lib/form/array/base-form-array.js.map +1 -0
- package/src/lib/form/array/form-array-kind.d.ts +3 -0
- package/src/lib/form/array/form-array-kind.js +8 -0
- package/src/lib/form/array/form-array-kind.js.map +1 -0
- package/src/lib/form/array/form-array.d.ts +12 -0
- package/src/lib/form/array/form-array.js +18 -0
- package/src/lib/form/array/form-array.js.map +1 -0
- package/src/lib/form/coerce-control-component-imports.d.ts +3 -0
- package/src/lib/form/coerce-control-component-imports.js +18 -0
- package/src/lib/form/coerce-control-component-imports.js.map +1 -0
- package/src/lib/form/control/autocomplete-table-select-form-control.d.ts +6 -0
- package/src/lib/form/control/autocomplete-table-select-form-control.js +34 -0
- package/src/lib/form/control/autocomplete-table-select-form-control.js.map +1 -0
- package/src/lib/form/control/base-form-control.d.ts +14 -0
- package/src/lib/form/control/base-form-control.js +19 -0
- package/src/lib/form/control/base-form-control.js.map +1 -0
- package/src/lib/form/control/checkbox-form-control.d.ts +11 -0
- package/src/lib/form/control/checkbox-form-control.js +23 -0
- package/src/lib/form/control/checkbox-form-control.js.map +1 -0
- package/src/lib/form/control/form-control-kind.d.ts +9 -0
- package/src/lib/form/control/form-control-kind.js +14 -0
- package/src/lib/form/control/form-control-kind.js.map +1 -0
- package/src/lib/form/control/form-control.d.ts +18 -0
- package/src/lib/form/control/form-control.js +43 -0
- package/src/lib/form/control/form-control.js.map +1 -0
- package/src/lib/form/control/form-field-form-control.d.ts +33 -0
- package/src/lib/form/control/form-field-form-control.js +76 -0
- package/src/lib/form/control/form-field-form-control.js.map +1 -0
- package/src/lib/form/control/input-form-control.d.ts +14 -0
- package/src/lib/form/control/input-form-control.js +71 -0
- package/src/lib/form/control/input-form-control.js.map +1 -0
- package/src/lib/form/control/select-form-control.d.ts +18 -0
- package/src/lib/form/control/select-form-control.js +29 -0
- package/src/lib/form/control/select-form-control.js.map +1 -0
- package/src/lib/form/control/slide-toggle-form-control.d.ts +11 -0
- package/src/lib/form/control/slide-toggle-form-control.js +23 -0
- package/src/lib/form/control/slide-toggle-form-control.js.map +1 -0
- package/src/lib/form/control/table-select-form-control.d.ts +43 -0
- package/src/lib/form/control/table-select-form-control.js +69 -0
- package/src/lib/form/control/table-select-form-control.js.map +1 -0
- package/src/lib/form/control.d.ts +8 -0
- package/src/lib/form/control.js +38 -0
- package/src/lib/form/control.js.map +1 -0
- package/src/lib/form/generate-form-template.d.ts +2 -2
- package/src/lib/form/group/base-form-group.d.ts +17 -0
- package/src/lib/form/group/base-form-group.js +20 -0
- package/src/lib/form/group/base-form-group.js.map +1 -0
- package/src/lib/form/group/form-group-kind.d.ts +3 -0
- package/src/lib/form/group/form-group-kind.js +8 -0
- package/src/lib/form/group/form-group-kind.js.map +1 -0
- package/src/lib/form/group/form-group.d.ts +12 -0
- package/src/lib/form/group/form-group.js +18 -0
- package/src/lib/form/group/form-group.js.map +1 -0
- package/src/lib/table-column.d.ts +4 -3
- package/src/lib/table-column.js +5 -4
- package/src/lib/table-column.js.map +1 -1
- package/src/schema.json +1691 -1311
- package/src/schematic-input.schema.json +109 -156
- package/src/schematics/abstract-control.schema.json +78 -0
- package/src/schematics/accordion/accordion-component/schema.json +127 -127
- package/src/schematics/accordion/accordion-item-component/schema.json +18 -18
- package/src/schematics/accordion/item/accordion-item-data-grid-component/schema.json +685 -81
- package/src/schematics/accordion/item/accordion-item-switch-component/schema.json +76 -76
- package/src/schematics/accordion/item/accordion-item-table-component/schema.json +555 -97
- package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.json +537 -79
- package/src/schematics/autocomplete-table-select-form-control.schema.json +96 -0
- package/src/schematics/base-form-array.schema.json +45 -0
- package/src/schematics/base-form-control.schema.json +27 -0
- package/src/schematics/base-form-group.schema.json +42 -0
- package/src/schematics/checkbox-form-control.schema.json +30 -0
- package/src/schematics/control.schema.json +26 -0
- package/src/schematics/data-grid-component/index.js +4 -0
- package/src/schematics/data-grid-component/index.js.map +1 -1
- package/src/schematics/data-grid-component/schema.json +685 -81
- package/src/schematics/data-grid-item.schema.json +3 -3
- package/src/schematics/form/control/autocomplete-table-select-form-control/index.d.ts +10 -0
- package/src/schematics/form/control/autocomplete-table-select-form-control/index.js +247 -0
- package/src/schematics/form/control/autocomplete-table-select-form-control/index.js.map +1 -0
- package/src/schematics/form/control/autocomplete-table-select-form-control/schema.d.ts +4 -0
- package/src/schematics/form/control/autocomplete-table-select-form-control/schema.json +453 -0
- package/src/schematics/form/control/autocomplete-table-select-form-control/template.schema.json +39 -0
- package/src/schematics/form/control/input-form-control/index.d.ts +1 -1
- package/src/schematics/form/control/input-form-control/index.js +4 -4
- 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 -2
- package/src/schematics/form/control/input-form-control/schema.json +256 -86
- package/src/schematics/form/control/input-form-control/template.schema.json +16 -3
- package/src/schematics/form/control/select-form-control/index.d.ts +2 -2
- package/src/schematics/form/control/select-form-control/index.js +21 -14
- 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/schema.json +249 -90
- package/src/schematics/form/control/select-form-control/template.schema.json +16 -3
- package/src/schematics/form/control/table-select-form-control/index.d.ts +3 -9
- package/src/schematics/form/control/table-select-form-control/index.js +24 -18
- 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 -3
- package/src/schematics/form/control/table-select-form-control/schema.json +325 -123
- package/src/schematics/form/control/table-select-form-control/template.schema.json +16 -60
- package/src/schematics/form/form-array/index.d.ts +9 -0
- package/src/schematics/form/form-array/index.js +54 -0
- package/src/schematics/form/form-array/index.js.map +1 -0
- package/src/schematics/form/form-array/schema.d.ts +4 -0
- package/src/schematics/form/form-array/schema.json +906 -0
- package/src/schematics/form/form-array/template.schema.json +33 -0
- package/src/schematics/form/form-component/files/component/__componentName__.component.html.hbs +4 -1
- package/src/schematics/form/form-component/index.d.ts +2 -4
- package/src/schematics/form/form-component/index.js +8 -24
- package/src/schematics/form/form-component/index.js.map +1 -1
- package/src/schematics/form/form-component/schema.d.ts +2 -2
- package/src/schematics/form/form-component/schema.json +749 -86
- package/src/schematics/form/form-control/index.d.ts +3 -5
- package/src/schematics/form/form-control/index.js +8 -20
- package/src/schematics/form/form-control/index.js.map +1 -1
- package/src/schematics/form/form-control/schema.d.ts +2 -4
- package/src/schematics/form/form-control/schema.json +599 -59
- package/src/schematics/form/form-control/template.schema.json +1 -2
- package/src/schematics/form/form-definition/index.d.ts +2 -2
- package/src/schematics/form/form-definition/index.js +28 -15
- package/src/schematics/form/form-definition/index.js.map +1 -1
- package/src/schematics/form/form-definition/schema.d.ts +2 -2
- package/src/schematics/form/form-definition/schema.json +743 -56
- package/src/schematics/form/form-group/index.d.ts +9 -0
- package/src/schematics/form/form-group/index.js +54 -0
- package/src/schematics/form/form-group/index.js.map +1 -0
- package/src/schematics/form/form-group/schema.d.ts +4 -0
- package/src/schematics/form/form-group/schema.json +906 -0
- package/src/schematics/form/form-group/template.schema.json +33 -0
- package/src/schematics/form/templates/checkbox-form-control.hbs +1 -1
- package/src/schematics/form/templates/default-form-array.hbs +27 -0
- package/src/schematics/form/templates/default-form-group.hbs +13 -0
- package/src/schematics/form/templates/input-form-control.hbs +7 -7
- package/src/schematics/form/templates/select-form-control.hbs +5 -0
- package/src/schematics/form/templates/table-select-form-control.hbs +16 -16
- package/src/schematics/form-array.schema.json +40 -0
- package/src/schematics/form-control.schema.json +69 -54
- package/src/schematics/form-definition.schema.json +3 -3
- package/src/schematics/form-group.schema.json +40 -0
- package/src/schematics/input-form-control.schema.json +10 -6
- package/src/schematics/select-form-control.schema.json +8 -4
- package/src/schematics/slide-toggle-form-control.schema.json +30 -0
- package/src/schematics/table/action/dialog-table-action/schema.json +20 -20
- package/src/schematics/table/action/form-table-action/index.d.ts +2 -2
- package/src/schematics/table/action/form-table-action/index.js +3 -4
- package/src/schematics/table/action/form-table-action/index.js.map +1 -1
- package/src/schematics/table/action/form-table-action/schema.d.ts +2 -2
- package/src/schematics/table/action/form-table-action/schema.json +750 -87
- package/src/schematics/table/action/navigation-table-action/schema.json +20 -20
- package/src/schematics/table/action/open-api-table-action/schema.json +20 -20
- package/src/schematics/table/action/operation-table-action/schema.json +20 -20
- package/src/schematics/table/header-button/form-table-header-button/index.d.ts +2 -2
- package/src/schematics/table/header-button/form-table-header-button/index.js +2 -2
- package/src/schematics/table/header-button/form-table-header-button/index.js.map +1 -1
- package/src/schematics/table/header-button/form-table-header-button/schema.d.ts +2 -2
- package/src/schematics/table/header-button/form-table-header-button/schema.json +818 -81
- package/src/schematics/table/header-button/form-table-header-button/template.schema.json +4 -22
- package/src/schematics/table/header-button/navigation-table-header-button/schema.json +20 -20
- package/src/schematics/table/table-action/schema.json +47 -47
- package/src/schematics/table/table-component/index.d.ts +2 -2
- package/src/schematics/table/table-component/schema.json +537 -79
- package/src/schematics/table/table-header-button/schema.json +40 -40
- package/src/schematics/table/tree-table-component/files/component/__componentName__.component.html.hbs +1 -1
- package/src/schematics/table/tree-table-component/schema.json +521 -63
- package/src/schematics/table-select-form-control.schema.json +96 -0
- package/src/schematics/textarea-form-control.schema.json +32 -0
- package/src/template.schema.json +45 -0
- package/src/lib/form-component-control.d.ts +0 -8
- package/src/lib/form-component-control.js +0 -15
- package/src/lib/form-component-control.js.map +0 -1
- package/src/lib/form-control.d.ts +0 -136
- package/src/lib/form-control.js +0 -265
- package/src/lib/form-control.js.map +0 -1
- package/src/lib/form-definition-control.d.ts +0 -5
- package/src/lib/form-definition-control.js +0 -30
- package/src/lib/form-definition-control.js.map +0 -1
|
@@ -3,82 +3,271 @@
|
|
|
3
3
|
"$id": "input-form-control-schematic",
|
|
4
4
|
"allOf": [
|
|
5
5
|
{
|
|
6
|
-
"$ref": "#/definitions/
|
|
6
|
+
"$ref": "#/definitions/angular"
|
|
7
7
|
},
|
|
8
8
|
{
|
|
9
9
|
"$ref": "#/definitions/inputFormControl"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"type": "object",
|
|
13
|
+
"properties": {
|
|
14
|
+
"formName": {
|
|
15
|
+
"alias": "form",
|
|
16
|
+
"type": "string",
|
|
17
|
+
"description": "The name of the form where the form control should be added"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"required": [
|
|
21
|
+
"formName"
|
|
22
|
+
]
|
|
10
23
|
}
|
|
11
24
|
],
|
|
12
25
|
"definitions": {
|
|
13
|
-
"
|
|
26
|
+
"abstractControl": {
|
|
27
|
+
"allOf": [
|
|
28
|
+
{
|
|
29
|
+
"$ref": "#/definitions/property"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"type": "object",
|
|
33
|
+
"properties": {
|
|
34
|
+
"name": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"description": "The name of the control"
|
|
37
|
+
},
|
|
38
|
+
"isArray": {
|
|
39
|
+
"type": "boolean",
|
|
40
|
+
"description": "Whether the control value is an array",
|
|
41
|
+
"default": false
|
|
42
|
+
},
|
|
43
|
+
"state": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"description": "The initial state of the control"
|
|
46
|
+
},
|
|
47
|
+
"isRequired": {
|
|
48
|
+
"type": "boolean",
|
|
49
|
+
"description": "Whether the control value is required",
|
|
50
|
+
"default": false
|
|
51
|
+
},
|
|
52
|
+
"isReadonly": {
|
|
53
|
+
"type": "boolean",
|
|
54
|
+
"description": "Whether the control value is readonly",
|
|
55
|
+
"default": false
|
|
56
|
+
},
|
|
57
|
+
"isDisabled": {
|
|
58
|
+
"type": "boolean",
|
|
59
|
+
"description": "Whether the control value is disabled",
|
|
60
|
+
"default": false
|
|
61
|
+
},
|
|
62
|
+
"validatorList": {
|
|
63
|
+
"type": "array",
|
|
64
|
+
"items": {
|
|
65
|
+
"type": "string"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"kind": {
|
|
69
|
+
"type": "string",
|
|
70
|
+
"description": "The kind of the control",
|
|
71
|
+
"default": "default"
|
|
72
|
+
},
|
|
73
|
+
"importList": {
|
|
74
|
+
"type": "array",
|
|
75
|
+
"items": {
|
|
76
|
+
"$ref": "#/definitions/type"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"template": {
|
|
80
|
+
"type": "string",
|
|
81
|
+
"description": "The template of the control"
|
|
82
|
+
},
|
|
83
|
+
"role": {
|
|
84
|
+
"type": "string",
|
|
85
|
+
"description": "The role of the control",
|
|
86
|
+
"enum": [
|
|
87
|
+
"control",
|
|
88
|
+
"group",
|
|
89
|
+
"array"
|
|
90
|
+
],
|
|
91
|
+
"default": "control"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"additionalProperties": true
|
|
95
|
+
}
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
"angular": {
|
|
99
|
+
"allOf": [
|
|
100
|
+
{
|
|
101
|
+
"$ref": "#/definitions/general"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"type": "object",
|
|
105
|
+
"properties": {
|
|
106
|
+
"componentName": {
|
|
107
|
+
"type": "string"
|
|
108
|
+
},
|
|
109
|
+
"name": {
|
|
110
|
+
"type": "string"
|
|
111
|
+
},
|
|
112
|
+
"context": {
|
|
113
|
+
"type": "string",
|
|
114
|
+
"description": "The context use to generate proper names for class, files, etc"
|
|
115
|
+
},
|
|
116
|
+
"nestModule": {
|
|
117
|
+
"type": "string",
|
|
118
|
+
"description": "The module name for the table nest operations"
|
|
119
|
+
},
|
|
120
|
+
"controllerName": {
|
|
121
|
+
"type": "string"
|
|
122
|
+
},
|
|
123
|
+
"backend": {
|
|
124
|
+
"$ref": "#/definitions/backend"
|
|
125
|
+
},
|
|
126
|
+
"directory": {
|
|
127
|
+
"type": "string",
|
|
128
|
+
"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"
|
|
129
|
+
},
|
|
130
|
+
"shared": {
|
|
131
|
+
"type": "boolean",
|
|
132
|
+
"description": "Whether the generated code is used across the project",
|
|
133
|
+
"default": false
|
|
134
|
+
},
|
|
135
|
+
"scope": {
|
|
136
|
+
"type": "string"
|
|
137
|
+
},
|
|
138
|
+
"prefix": {
|
|
139
|
+
"type": "string"
|
|
140
|
+
},
|
|
141
|
+
"openApi": {
|
|
142
|
+
"type": "object",
|
|
143
|
+
"additionalProperties": true
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
]
|
|
148
|
+
},
|
|
149
|
+
"backend": {
|
|
150
|
+
"type": "string",
|
|
151
|
+
"description": "The backend that should be used to handel data",
|
|
152
|
+
"enum": [
|
|
153
|
+
"none",
|
|
154
|
+
"nestjs",
|
|
155
|
+
"open-api",
|
|
156
|
+
"local"
|
|
157
|
+
],
|
|
158
|
+
"default": "none"
|
|
159
|
+
},
|
|
160
|
+
"baseFormControl": {
|
|
161
|
+
"allOf": [
|
|
162
|
+
{
|
|
163
|
+
"$ref": "#/definitions/abstractControl"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"type": "object",
|
|
167
|
+
"properties": {
|
|
168
|
+
"label": {
|
|
169
|
+
"type": "string",
|
|
170
|
+
"description": "The label of the control"
|
|
171
|
+
},
|
|
172
|
+
"role": {
|
|
173
|
+
"type": "string",
|
|
174
|
+
"const": "control"
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
]
|
|
179
|
+
},
|
|
180
|
+
"button": {
|
|
14
181
|
"type": "object",
|
|
15
182
|
"properties": {
|
|
16
|
-
"
|
|
17
|
-
"type": "string"
|
|
18
|
-
"description": "The name of the control"
|
|
183
|
+
"svgIcon": {
|
|
184
|
+
"type": "string"
|
|
19
185
|
},
|
|
20
|
-
"
|
|
21
|
-
"
|
|
186
|
+
"icon": {
|
|
187
|
+
"type": "string"
|
|
22
188
|
},
|
|
23
|
-
"
|
|
24
|
-
"type": "
|
|
25
|
-
"
|
|
26
|
-
|
|
189
|
+
"directiveList": {
|
|
190
|
+
"type": "array",
|
|
191
|
+
"items": {
|
|
192
|
+
"$ref": "#/definitions/type"
|
|
193
|
+
}
|
|
27
194
|
},
|
|
28
|
-
"
|
|
195
|
+
"importList": {
|
|
196
|
+
"type": "array",
|
|
197
|
+
"items": {
|
|
198
|
+
"$ref": "#/definitions/type"
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
"formField": {
|
|
204
|
+
"type": "object",
|
|
205
|
+
"properties": {
|
|
206
|
+
"label": {
|
|
207
|
+
"type": "string"
|
|
208
|
+
},
|
|
209
|
+
"prefixButton": {
|
|
210
|
+
"$ref": "#/definitions/button"
|
|
211
|
+
},
|
|
212
|
+
"suffixButton": {
|
|
213
|
+
"$ref": "#/definitions/button"
|
|
214
|
+
},
|
|
215
|
+
"hasClearButton": {
|
|
216
|
+
"type": "boolean"
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
"general": {
|
|
221
|
+
"type": "object",
|
|
222
|
+
"properties": {
|
|
223
|
+
"project": {
|
|
29
224
|
"type": "string",
|
|
30
|
-
"description": "
|
|
225
|
+
"description": "Project name where the files should be generated"
|
|
31
226
|
},
|
|
32
|
-
"
|
|
33
|
-
"type": "
|
|
34
|
-
"description": "
|
|
227
|
+
"feature": {
|
|
228
|
+
"type": "string",
|
|
229
|
+
"description": "Feature name where the files should be generated"
|
|
230
|
+
},
|
|
231
|
+
"overwrite": {
|
|
232
|
+
"anyOf": [
|
|
233
|
+
{
|
|
234
|
+
"type": "boolean"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"type": "array",
|
|
238
|
+
"items": {
|
|
239
|
+
"type": "string"
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
],
|
|
243
|
+
"description": "Overwrite existing files",
|
|
35
244
|
"default": false
|
|
36
245
|
},
|
|
37
|
-
"
|
|
246
|
+
"overwriteHtml": {
|
|
38
247
|
"type": "boolean",
|
|
39
|
-
"description": "Whether the control value is readonly",
|
|
40
248
|
"default": false
|
|
41
249
|
},
|
|
42
|
-
"
|
|
250
|
+
"replace": {
|
|
43
251
|
"type": "boolean",
|
|
44
|
-
"description": "Whether the control value is disabled",
|
|
45
252
|
"default": false
|
|
46
|
-
},
|
|
47
|
-
"validatorList": {
|
|
48
|
-
"type": "array",
|
|
49
|
-
"items": {
|
|
50
|
-
"type": "string"
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
"kind": {
|
|
54
|
-
"type": "string",
|
|
55
|
-
"description": "The name of the template",
|
|
56
|
-
"enum": [
|
|
57
|
-
"default",
|
|
58
|
-
"input",
|
|
59
|
-
"select",
|
|
60
|
-
"checkbox",
|
|
61
|
-
"autocomplete-table-select",
|
|
62
|
-
"table-select",
|
|
63
|
-
"textarea",
|
|
64
|
-
"slide-toggle"
|
|
65
|
-
],
|
|
66
|
-
"default": "default"
|
|
67
253
|
}
|
|
68
|
-
}
|
|
69
|
-
"required": [
|
|
70
|
-
"name"
|
|
71
|
-
],
|
|
72
|
-
"additionalProperties": true
|
|
254
|
+
}
|
|
73
255
|
},
|
|
74
256
|
"inputFormControl": {
|
|
75
257
|
"allOf": [
|
|
76
258
|
{
|
|
77
|
-
"$ref": "#/definitions/
|
|
259
|
+
"$ref": "#/definitions/baseFormControl"
|
|
78
260
|
},
|
|
79
261
|
{
|
|
80
262
|
"type": "object",
|
|
81
263
|
"properties": {
|
|
264
|
+
"kind": {
|
|
265
|
+
"type": "string",
|
|
266
|
+
"const": "input"
|
|
267
|
+
},
|
|
268
|
+
"formField": {
|
|
269
|
+
"$ref": "#/definitions/formField"
|
|
270
|
+
},
|
|
82
271
|
"inputType": {
|
|
83
272
|
"type": "string",
|
|
84
273
|
"enum": [
|
|
@@ -108,53 +297,34 @@
|
|
|
108
297
|
},
|
|
109
298
|
"placeholder": {
|
|
110
299
|
"type": "string"
|
|
111
|
-
},
|
|
112
|
-
"formField": {
|
|
113
|
-
"$ref": "#/definitions/formField"
|
|
114
300
|
}
|
|
115
301
|
}
|
|
116
302
|
}
|
|
117
303
|
]
|
|
118
304
|
},
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
|
|
122
|
-
"svgIcon": {
|
|
123
|
-
"type": "string"
|
|
124
|
-
},
|
|
125
|
-
"icon": {
|
|
126
|
-
"type": "string"
|
|
127
|
-
},
|
|
128
|
-
"directiveList": {
|
|
129
|
-
"type": "array",
|
|
130
|
-
"items": {
|
|
131
|
-
"$ref": "#/definitions/type"
|
|
132
|
-
}
|
|
133
|
-
},
|
|
134
|
-
"importList": {
|
|
135
|
-
"type": "array",
|
|
136
|
-
"items": {
|
|
137
|
-
"$ref": "#/definitions/type"
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
},
|
|
142
|
-
"formField": {
|
|
143
|
-
"type": "object",
|
|
144
|
-
"properties": {
|
|
145
|
-
"label": {
|
|
305
|
+
"property": {
|
|
306
|
+
"oneOf": [
|
|
307
|
+
{
|
|
146
308
|
"type": "string"
|
|
147
309
|
},
|
|
148
|
-
|
|
149
|
-
"
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
310
|
+
{
|
|
311
|
+
"type": "object",
|
|
312
|
+
"properties": {
|
|
313
|
+
"name": {
|
|
314
|
+
"type": "string"
|
|
315
|
+
},
|
|
316
|
+
"type": {
|
|
317
|
+
"$ref": "#/definitions/type"
|
|
318
|
+
},
|
|
319
|
+
"isArray": {
|
|
320
|
+
"type": "boolean"
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
"required": [
|
|
324
|
+
"name"
|
|
325
|
+
]
|
|
156
326
|
}
|
|
157
|
-
|
|
327
|
+
]
|
|
158
328
|
},
|
|
159
329
|
"type": {
|
|
160
330
|
"oneOf": [
|
|
@@ -3,15 +3,28 @@
|
|
|
3
3
|
"$id": "input-form-control-schematic",
|
|
4
4
|
"allOf": [
|
|
5
5
|
{
|
|
6
|
-
"$ref": "#/definitions/
|
|
6
|
+
"$ref": "#/definitions/angular"
|
|
7
7
|
},
|
|
8
8
|
{
|
|
9
9
|
"$ref": "#/definitions/inputFormControl"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"type": "object",
|
|
13
|
+
"properties": {
|
|
14
|
+
"formName": {
|
|
15
|
+
"alias": "form",
|
|
16
|
+
"type": "string",
|
|
17
|
+
"description": "The name of the form where the form control should be added"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"required": [
|
|
21
|
+
"formName"
|
|
22
|
+
]
|
|
10
23
|
}
|
|
11
24
|
],
|
|
12
25
|
"definitions": {
|
|
13
|
-
"
|
|
14
|
-
"$ref": "
|
|
26
|
+
"angular": {
|
|
27
|
+
"$ref": "../../../angular.schema.json"
|
|
15
28
|
},
|
|
16
29
|
"inputFormControl": {
|
|
17
30
|
"$ref": "../../../input-form-control.schema.json"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Rule } from '@angular-devkit/schematics';
|
|
2
2
|
import { Normalized } from '@rxap/utilities';
|
|
3
|
-
import { NormalizedSelectFormControl } from '../../../../lib/form-control';
|
|
3
|
+
import { NormalizedSelectFormControl } from '../../../../lib/form/control/select-form-control';
|
|
4
4
|
import { NormalizedFormControlOptions } from '../../form-control';
|
|
5
5
|
import { SelectFormControlOptions } from './schema';
|
|
6
|
-
export type NormalizedSelectFormControlOptions = Readonly<Normalized<Omit<SelectFormControlOptions, '
|
|
6
|
+
export type NormalizedSelectFormControlOptions = Readonly<Normalized<Omit<SelectFormControlOptions, 'optionList'>>> & NormalizedFormControlOptions & NormalizedSelectFormControl;
|
|
7
7
|
export declare function NormalizeSelectFormControlOptions(options: SelectFormControlOptions): NormalizedSelectFormControlOptions;
|
|
8
8
|
export default function (options: SelectFormControlOptions): () => Rule;
|
|
@@ -8,26 +8,27 @@ const path_1 = require("path");
|
|
|
8
8
|
const ts_morph_1 = require("ts-morph");
|
|
9
9
|
const angular_options_1 = require("../../../../lib/angular-options");
|
|
10
10
|
const backend_types_1 = require("../../../../lib/backend-types");
|
|
11
|
-
const
|
|
12
|
-
const
|
|
11
|
+
const select_form_control_1 = require("../../../../lib/form/control/select-form-control");
|
|
12
|
+
const form_control_1 = require("../../form-control");
|
|
13
13
|
function NormalizeSelectFormControlOptions(options) {
|
|
14
|
-
return Object.freeze(Object.assign(Object.assign({}, (0,
|
|
14
|
+
return Object.freeze(Object.assign(Object.assign({}, (0, form_control_1.NormalizeFormControlOptions)(options)), (0, select_form_control_1.NormalizeSelectFormControl)(options)));
|
|
15
15
|
}
|
|
16
16
|
exports.NormalizeSelectFormControlOptions = NormalizeSelectFormControlOptions;
|
|
17
17
|
function printOptions(options) {
|
|
18
18
|
(0, angular_options_1.PrintAngularOptions)('select-form-control', options);
|
|
19
19
|
}
|
|
20
20
|
function noneBackendOptionsRule(normalizedOptions) {
|
|
21
|
-
const { name, project, feature, directory, formName, type, isArray, state, isRequired, validatorList, } = normalizedOptions;
|
|
21
|
+
const { name, project, feature, directory, formName, type, isArray, state, isRequired, validatorList, role, isOptional, source, optionList, } = normalizedOptions;
|
|
22
22
|
const optionsDataSourceDirectory = (0, path_1.join)(directory !== null && directory !== void 0 ? directory : '', 'data-sources');
|
|
23
|
-
const optionsDataSourceName = (0, schematics_utilities_1.classify)([name, 'options', 'data-source'].join('-'));
|
|
23
|
+
const optionsDataSourceName = (0, schematics_utilities_1.classify)([(0, schematics_utilities_1.dasherize)(name), 'options', 'data-source'].join('-'));
|
|
24
24
|
const optionsDataSourceImportPath = `./data-sources/${(0, schematics_utilities_1.dasherize)(name)}-options.data-source`;
|
|
25
25
|
return (0, schematics_1.chain)([
|
|
26
26
|
(0, schematics_ts_morph_1.CoerceOptionsDataSourceRule)({
|
|
27
27
|
project,
|
|
28
28
|
feature,
|
|
29
|
+
optionList: optionList !== null && optionList !== void 0 ? optionList : [],
|
|
29
30
|
directory: optionsDataSourceDirectory,
|
|
30
|
-
name: [name, 'options'].join('-'),
|
|
31
|
+
name: [(0, schematics_utilities_1.dasherize)(name), 'options'].join('-'),
|
|
31
32
|
}),
|
|
32
33
|
(0, schematics_ts_morph_1.CoerceFormProviderRule)({
|
|
33
34
|
project,
|
|
@@ -42,6 +43,9 @@ function noneBackendOptionsRule(normalizedOptions) {
|
|
|
42
43
|
],
|
|
43
44
|
}),
|
|
44
45
|
(0, schematics_ts_morph_1.CoerceFormDefinitionControl)({
|
|
46
|
+
role,
|
|
47
|
+
isOptional,
|
|
48
|
+
source,
|
|
45
49
|
project,
|
|
46
50
|
feature,
|
|
47
51
|
directory,
|
|
@@ -52,8 +56,8 @@ function noneBackendOptionsRule(normalizedOptions) {
|
|
|
52
56
|
state,
|
|
53
57
|
isRequired,
|
|
54
58
|
validatorList,
|
|
55
|
-
coerceFormControl: (sourceFile, classDeclaration, control) => {
|
|
56
|
-
const { propertyDeclaration, decoratorDeclaration, } = (0, schematics_ts_morph_1.CoerceFormControl)(sourceFile, classDeclaration, control);
|
|
59
|
+
coerceFormControl: (sourceFile, classDeclaration, formTypeName, control) => {
|
|
60
|
+
const { propertyDeclaration, decoratorDeclaration, } = (0, schematics_ts_morph_1.CoerceFormControl)(sourceFile, classDeclaration, formTypeName, control);
|
|
57
61
|
(0, schematics_ts_morph_1.CoerceDecorator)(propertyDeclaration, 'UseOptionsDataSource').set({
|
|
58
62
|
arguments: [optionsDataSourceName],
|
|
59
63
|
});
|
|
@@ -74,9 +78,9 @@ function noneBackendOptionsRule(normalizedOptions) {
|
|
|
74
78
|
]);
|
|
75
79
|
}
|
|
76
80
|
function nestJsBackendOptionsRule(normalizedOptions) {
|
|
77
|
-
const { name, project, feature, directory, formName, type, isArray, state, isRequired, validatorList, nestModule, controllerName, context, scope, } = normalizedOptions;
|
|
78
|
-
const optionsOperationPath = ['options', name].join('/');
|
|
79
|
-
const optionsOperationName = ['get', name, 'options'].join('-');
|
|
81
|
+
const { name, project, feature, directory, formName, type, isArray, state, isRequired, validatorList, nestModule, controllerName, context, scope, role, isOptional, source, } = normalizedOptions;
|
|
82
|
+
const optionsOperationPath = ['options', (0, schematics_utilities_1.dasherize)(name)].join('/');
|
|
83
|
+
const optionsOperationName = ['get', (0, schematics_utilities_1.dasherize)(name), 'options'].join('-');
|
|
80
84
|
const optionsOperationId = (0, schematics_ts_morph_1.buildOperationId)(normalizedOptions, optionsOperationName, (0, schematics_ts_morph_1.BuildNestControllerName)({
|
|
81
85
|
controllerName,
|
|
82
86
|
nestModule,
|
|
@@ -93,6 +97,9 @@ function nestJsBackendOptionsRule(normalizedOptions) {
|
|
|
93
97
|
context,
|
|
94
98
|
}),
|
|
95
99
|
(0, schematics_ts_morph_1.CoerceFormDefinitionControl)({
|
|
100
|
+
role,
|
|
101
|
+
isOptional,
|
|
102
|
+
source,
|
|
96
103
|
project,
|
|
97
104
|
feature,
|
|
98
105
|
directory,
|
|
@@ -103,8 +110,8 @@ function nestJsBackendOptionsRule(normalizedOptions) {
|
|
|
103
110
|
state,
|
|
104
111
|
isRequired,
|
|
105
112
|
validatorList,
|
|
106
|
-
coerceFormControl: (sourceFile, classDeclaration, control) => {
|
|
107
|
-
const { propertyDeclaration, decoratorDeclaration, } = (0, schematics_ts_morph_1.CoerceFormControl)(sourceFile, classDeclaration, control);
|
|
113
|
+
coerceFormControl: (sourceFile, classDeclaration, formTypeName, control) => {
|
|
114
|
+
const { propertyDeclaration, decoratorDeclaration, } = (0, schematics_ts_morph_1.CoerceFormControl)(sourceFile, classDeclaration, formTypeName, control);
|
|
108
115
|
(0, schematics_ts_morph_1.CoerceDecorator)(propertyDeclaration, 'UseOptionsMethod').set({
|
|
109
116
|
arguments: [
|
|
110
117
|
(0, schematics_ts_morph_1.OperationIdToClassName)(optionsOperationId),
|
|
@@ -151,7 +158,7 @@ function default_1(options) {
|
|
|
151
158
|
printOptions(normalizedOptions);
|
|
152
159
|
return () => {
|
|
153
160
|
return (0, schematics_1.chain)([
|
|
154
|
-
() => console.group('
|
|
161
|
+
() => console.group('[@rxap/schematics-angular:select-form-control]'.green),
|
|
155
162
|
optionsRule(normalizedOptions),
|
|
156
163
|
(0, schematics_ts_morph_1.EnforceUseFormControlOrderRule)(normalizedOptions),
|
|
157
164
|
() => console.groupEnd(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../packages/schematic/angular/src/schematics/form/control/select-form-control/index.ts"],"names":[],"mappings":";;;AAAA,2DAIoC;AACpC,mEAcmC;AACnC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../packages/schematic/angular/src/schematics/form/control/select-form-control/index.ts"],"names":[],"mappings":";;;AAAA,2DAIoC;AACpC,mEAcmC;AACnC,qEAGoC;AAEpC,+BAA4B;AAC5B,uCAIkB;AAClB,qEAAsE;AACtE,iEAA6D;AAC7D,0FAG0D;AAC1D,qDAG4B;AAM5B,SAAgB,iCAAiC,CAC/C,OAAiC;IAEjC,OAAO,MAAM,CAAC,MAAM,iCACf,IAAA,0CAA2B,EAAC,OAAO,CAAC,GACpC,IAAA,gDAA0B,EAAC,OAAO,CAAC,EACtC,CAAC;AACL,CAAC;AAPD,8EAOC;AAED,SAAS,YAAY,CAAC,OAA2C;IAC/D,IAAA,qCAA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,4BAWC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { SelectFormControl } from '../../../../lib/form-control';
|
|
1
|
+
import { SelectFormControl } from '../../../../lib/form/control/select-form-control';
|
|
2
2
|
import { FormControlOptions } from '../../form-control/schema';
|
|
3
3
|
|
|
4
|
-
export
|
|
5
|
-
}
|
|
4
|
+
export type SelectFormControlOptions = FormControlOptions & SelectFormControl;
|