@rxap/schematic-angular 16.2.0-dev.20 → 16.2.0-dev.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/README.md +1 -1
- package/collection.json +10 -0
- package/package.json +4 -4
- 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/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 +8 -0
- package/src/lib/form/control/form-control-kind.js +13 -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 +40 -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 +1673 -1415
- package/src/schematic-input.schema.json +90 -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 +602 -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 +486 -111
- package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.json +458 -83
- 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 +602 -81
- package/src/schematics/data-grid-item.schema.json +3 -3
- 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 +823 -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 +666 -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 +519 -62
- 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 +664 -60
- 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 +823 -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 +64 -55
- 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 +667 -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 +735 -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 +470 -95
- 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 +453 -78
- 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 +39 -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,120 +3,144 @@
|
|
|
3
3
|
"$id": "select-form-control-schematic",
|
|
4
4
|
"allOf": [
|
|
5
5
|
{
|
|
6
|
-
"$ref": "#/definitions/
|
|
6
|
+
"$ref": "#/definitions/angular"
|
|
7
7
|
},
|
|
8
8
|
{
|
|
9
9
|
"$ref": "#/definitions/selectFormControl"
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
"definitions": {
|
|
13
|
-
"formControl": {
|
|
10
|
+
},
|
|
11
|
+
{
|
|
14
12
|
"type": "object",
|
|
15
13
|
"properties": {
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"description": "The name of the control"
|
|
19
|
-
},
|
|
20
|
-
"type": {
|
|
21
|
-
"$ref": "#/definitions/type"
|
|
22
|
-
},
|
|
23
|
-
"isArray": {
|
|
24
|
-
"type": "boolean",
|
|
25
|
-
"description": "Whether the control value is an array",
|
|
26
|
-
"default": false
|
|
27
|
-
},
|
|
28
|
-
"state": {
|
|
14
|
+
"formName": {
|
|
15
|
+
"alias": "form",
|
|
29
16
|
"type": "string",
|
|
30
|
-
"description": "The
|
|
31
|
-
},
|
|
32
|
-
"isRequired": {
|
|
33
|
-
"type": "boolean",
|
|
34
|
-
"description": "Whether the control value is required",
|
|
35
|
-
"default": false
|
|
36
|
-
},
|
|
37
|
-
"isReadonly": {
|
|
38
|
-
"type": "boolean",
|
|
39
|
-
"description": "Whether the control value is readonly",
|
|
40
|
-
"default": false
|
|
41
|
-
},
|
|
42
|
-
"isDisabled": {
|
|
43
|
-
"type": "boolean",
|
|
44
|
-
"description": "Whether the control value is disabled",
|
|
45
|
-
"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"
|
|
17
|
+
"description": "The name of the form where the form control should be added"
|
|
67
18
|
}
|
|
68
19
|
},
|
|
69
20
|
"required": [
|
|
70
|
-
"
|
|
71
|
-
]
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
21
|
+
"formName"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"definitions": {
|
|
26
|
+
"abstractControl": {
|
|
75
27
|
"allOf": [
|
|
76
28
|
{
|
|
77
|
-
"$ref": "#/definitions/
|
|
29
|
+
"$ref": "#/definitions/property"
|
|
78
30
|
},
|
|
79
31
|
{
|
|
80
32
|
"type": "object",
|
|
81
33
|
"properties": {
|
|
82
|
-
"
|
|
83
|
-
"
|
|
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"
|
|
84
46
|
},
|
|
85
|
-
"
|
|
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": {
|
|
86
63
|
"type": "array",
|
|
87
64
|
"items": {
|
|
88
|
-
"type": "
|
|
89
|
-
"properties": {
|
|
90
|
-
"display": {
|
|
91
|
-
"type": "string"
|
|
92
|
-
},
|
|
93
|
-
"value": {
|
|
94
|
-
"oneOf": [
|
|
95
|
-
{
|
|
96
|
-
"type": "string"
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"type": "number"
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"type": "boolean"
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"type": "object",
|
|
106
|
-
"additionalProperties": true
|
|
107
|
-
}
|
|
108
|
-
]
|
|
109
|
-
}
|
|
110
|
-
}
|
|
65
|
+
"type": "string"
|
|
111
66
|
}
|
|
112
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
|
+
},
|
|
113
123
|
"backend": {
|
|
114
124
|
"$ref": "#/definitions/backend"
|
|
115
125
|
},
|
|
116
|
-
"
|
|
117
|
-
"
|
|
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": {
|
|
118
131
|
"type": "boolean",
|
|
119
|
-
"description": "Whether the
|
|
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
|
|
120
144
|
}
|
|
121
145
|
}
|
|
122
146
|
}
|
|
@@ -133,6 +157,26 @@
|
|
|
133
157
|
],
|
|
134
158
|
"default": "none"
|
|
135
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
|
+
},
|
|
136
180
|
"button": {
|
|
137
181
|
"type": "object",
|
|
138
182
|
"properties": {
|
|
@@ -173,6 +217,121 @@
|
|
|
173
217
|
}
|
|
174
218
|
}
|
|
175
219
|
},
|
|
220
|
+
"general": {
|
|
221
|
+
"type": "object",
|
|
222
|
+
"properties": {
|
|
223
|
+
"project": {
|
|
224
|
+
"type": "string",
|
|
225
|
+
"description": "Project name where the files should be generated"
|
|
226
|
+
},
|
|
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",
|
|
244
|
+
"default": false
|
|
245
|
+
},
|
|
246
|
+
"overwriteHtml": {
|
|
247
|
+
"type": "boolean",
|
|
248
|
+
"default": false
|
|
249
|
+
},
|
|
250
|
+
"replace": {
|
|
251
|
+
"type": "boolean",
|
|
252
|
+
"default": false
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
"property": {
|
|
257
|
+
"oneOf": [
|
|
258
|
+
{
|
|
259
|
+
"type": "string"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"type": "object",
|
|
263
|
+
"properties": {
|
|
264
|
+
"name": {
|
|
265
|
+
"type": "string"
|
|
266
|
+
},
|
|
267
|
+
"type": {
|
|
268
|
+
"$ref": "#/definitions/type"
|
|
269
|
+
},
|
|
270
|
+
"isArray": {
|
|
271
|
+
"type": "boolean"
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
"required": [
|
|
275
|
+
"name"
|
|
276
|
+
]
|
|
277
|
+
}
|
|
278
|
+
]
|
|
279
|
+
},
|
|
280
|
+
"selectFormControl": {
|
|
281
|
+
"allOf": [
|
|
282
|
+
{
|
|
283
|
+
"$ref": "#/definitions/baseFormControl"
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"type": "object",
|
|
287
|
+
"properties": {
|
|
288
|
+
"formField": {
|
|
289
|
+
"$ref": "#/definitions/formField"
|
|
290
|
+
},
|
|
291
|
+
"kind": {
|
|
292
|
+
"type": "string",
|
|
293
|
+
"const": "select"
|
|
294
|
+
},
|
|
295
|
+
"optionList": {
|
|
296
|
+
"type": "array",
|
|
297
|
+
"items": {
|
|
298
|
+
"type": "object",
|
|
299
|
+
"properties": {
|
|
300
|
+
"display": {
|
|
301
|
+
"type": "string"
|
|
302
|
+
},
|
|
303
|
+
"value": {
|
|
304
|
+
"oneOf": [
|
|
305
|
+
{
|
|
306
|
+
"type": "string"
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"type": "number"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"type": "boolean"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"type": "object",
|
|
316
|
+
"additionalProperties": true
|
|
317
|
+
}
|
|
318
|
+
]
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
"backend": {
|
|
324
|
+
"$ref": "#/definitions/backend"
|
|
325
|
+
},
|
|
326
|
+
"multiple": {
|
|
327
|
+
"alias": "multi",
|
|
328
|
+
"type": "boolean",
|
|
329
|
+
"description": "Whether the select form control is multiple mode"
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
]
|
|
334
|
+
},
|
|
176
335
|
"type": {
|
|
177
336
|
"oneOf": [
|
|
178
337
|
{
|
|
@@ -3,15 +3,28 @@
|
|
|
3
3
|
"$id": "select-form-control-schematic",
|
|
4
4
|
"allOf": [
|
|
5
5
|
{
|
|
6
|
-
"$ref": "#/definitions/
|
|
6
|
+
"$ref": "#/definitions/angular"
|
|
7
7
|
},
|
|
8
8
|
{
|
|
9
9
|
"$ref": "#/definitions/selectFormControl"
|
|
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
|
"selectFormControl": {
|
|
17
30
|
"$ref": "../../../select-form-control.schema.json"
|
|
@@ -1,15 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Normalized } from '@rxap/utilities';
|
|
1
|
+
import { NonNullableSelected, Normalized } from '@rxap/utilities';
|
|
3
2
|
import { WriterFunction } from 'ts-morph';
|
|
4
|
-
import { NormalizedTableSelectColumn, NormalizedTableSelectFormControl } from '../../../../lib/form-control';
|
|
3
|
+
import { NormalizedTableSelectColumn, NormalizedTableSelectFormControl } from '../../../../lib/form/control/table-select-form-control';
|
|
5
4
|
import { NormalizedFormControlOptions } from '../../form-control';
|
|
6
5
|
import { TableSelectFormControlOptions } from './schema';
|
|
7
|
-
export
|
|
8
|
-
controllerName: string;
|
|
9
|
-
resolver: {
|
|
10
|
-
upstream: NormalizedUpstreamOptions | null;
|
|
11
|
-
} | null;
|
|
12
|
-
}
|
|
6
|
+
export type NormalizedTableSelectFormControlOptions = NonNullableSelected<Readonly<Normalized<Omit<TableSelectFormControlOptions, 'columnList' | 'propertyList'>>> & NormalizedFormControlOptions & NormalizedTableSelectFormControl, 'controllerName'>;
|
|
13
7
|
export declare function NormalizeTableSelectFormControlOptions(options: TableSelectFormControlOptions): NormalizedTableSelectFormControlOptions;
|
|
14
8
|
export declare function TableColumnToTableSelectColumn(column: NormalizedTableSelectColumn): WriterFunction;
|
|
15
9
|
export declare function TableColumnListToTableSelectColumnMap(columnList: Array<NormalizedTableSelectColumn>): WriterFunction;
|
|
@@ -9,11 +9,11 @@ const utilities_1 = require("@rxap/utilities");
|
|
|
9
9
|
const path_1 = require("path");
|
|
10
10
|
const ts_morph_2 = require("ts-morph");
|
|
11
11
|
const angular_options_1 = require("../../../../lib/angular-options");
|
|
12
|
-
const
|
|
13
|
-
const
|
|
12
|
+
const table_select_form_control_1 = require("../../../../lib/form/control/table-select-form-control");
|
|
13
|
+
const form_control_1 = require("../../form-control");
|
|
14
14
|
function NormalizeTableSelectFormControlOptions(options) {
|
|
15
|
-
const normalizedOptions = (0,
|
|
16
|
-
return Object.freeze(Object.assign(Object.assign(Object.assign({}, normalizedOptions), (0,
|
|
15
|
+
const normalizedOptions = (0, form_control_1.NormalizeFormControlOptions)(options);
|
|
16
|
+
return Object.freeze(Object.assign(Object.assign(Object.assign({}, normalizedOptions), (0, table_select_form_control_1.NormalizeTableSelectFormControl)(options)), { controllerName: (0, schematics_ts_morph_1.BuildNestControllerName)(normalizedOptions) }));
|
|
17
17
|
}
|
|
18
18
|
exports.NormalizeTableSelectFormControlOptions = NormalizeTableSelectFormControlOptions;
|
|
19
19
|
function TableColumnToTableSelectColumn(column) {
|
|
@@ -35,22 +35,22 @@ function printOptions(options) {
|
|
|
35
35
|
(0, angular_options_1.PrintAngularOptions)('table-select-form-control', options);
|
|
36
36
|
}
|
|
37
37
|
function buildOptionsOperationName({ name }) {
|
|
38
|
-
return ['get', name, 'control', 'table-select', 'page'].join('-');
|
|
38
|
+
return ['get', (0, schematics_utilities_1.dasherize)(name), 'control', 'table-select', 'page'].join('-');
|
|
39
39
|
}
|
|
40
40
|
function buildOptionsOperationPath({ name }) {
|
|
41
|
-
return ['control', name, 'table-select', 'page'].join('/');
|
|
41
|
+
return ['control', (0, schematics_utilities_1.dasherize)(name), 'table-select', 'page'].join('/');
|
|
42
42
|
}
|
|
43
43
|
function buildOptionsOperationId(normalizedOptions) {
|
|
44
44
|
return (0, schematics_ts_morph_1.buildOperationId)(normalizedOptions, buildOptionsOperationName(normalizedOptions), (0, schematics_ts_morph_1.BuildNestControllerName)(normalizedOptions));
|
|
45
45
|
}
|
|
46
46
|
function buildDtoSuffix({ context, name }) {
|
|
47
|
-
return (0, utilities_1.joinWithDash)([context, name, 'table-select']);
|
|
47
|
+
return (0, utilities_1.joinWithDash)([context, (0, schematics_utilities_1.dasherize)(name), 'table-select']);
|
|
48
48
|
}
|
|
49
49
|
function tableSelectResolveRule(normalizedOptions) {
|
|
50
|
-
const { name, project, feature, directory, formName, type, isArray, state, isRequired, validatorList, nestModule, controllerName, shared, context, scope, resolver,
|
|
50
|
+
const { name, project, feature, directory, formName, type, isArray, state, isRequired, validatorList, nestModule, controllerName, shared, context, scope, resolver, propertyList, toDisplay, toValue, role, isOptional, source, } = normalizedOptions;
|
|
51
51
|
const { upstream } = resolver !== null && resolver !== void 0 ? resolver : {};
|
|
52
|
-
const resolveValueOperationName = ['resolve', name, 'control', 'value'].join('-');
|
|
53
|
-
const resolveValueOperationPath = ['control', name, 'resolve', ':value'].join('/');
|
|
52
|
+
const resolveValueOperationName = ['resolve', (0, schematics_utilities_1.dasherize)(name), 'control', 'value'].join('-');
|
|
53
|
+
const resolveValueOperationPath = ['control', (0, schematics_utilities_1.dasherize)(name), 'resolve', ':value'].join('/');
|
|
54
54
|
const resolveValueOperationId = (0, schematics_ts_morph_1.buildOperationId)(normalizedOptions, resolveValueOperationName, (0, schematics_ts_morph_1.BuildNestControllerName)({
|
|
55
55
|
controllerName,
|
|
56
56
|
nestModule,
|
|
@@ -96,6 +96,9 @@ function tableSelectResolveRule(normalizedOptions) {
|
|
|
96
96
|
operationId: resolveValueOperationId,
|
|
97
97
|
}),
|
|
98
98
|
(0, schematics_ts_morph_1.CoerceFormDefinitionControl)({
|
|
99
|
+
role,
|
|
100
|
+
isOptional,
|
|
101
|
+
source,
|
|
99
102
|
project,
|
|
100
103
|
feature,
|
|
101
104
|
directory,
|
|
@@ -106,8 +109,8 @@ function tableSelectResolveRule(normalizedOptions) {
|
|
|
106
109
|
state,
|
|
107
110
|
isRequired,
|
|
108
111
|
validatorList,
|
|
109
|
-
coerceFormControl: (sourceFile, classDeclaration, control) => {
|
|
110
|
-
const { propertyDeclaration, decoratorDeclaration, } = (0, schematics_ts_morph_1.CoerceFormControl)(sourceFile, classDeclaration, control);
|
|
112
|
+
coerceFormControl: (sourceFile, classDeclaration, formTypeName, control) => {
|
|
113
|
+
const { propertyDeclaration, decoratorDeclaration, } = (0, schematics_ts_morph_1.CoerceFormControl)(sourceFile, classDeclaration, formTypeName, control);
|
|
111
114
|
(0, ts_morph_1.CoerceDecorator)(propertyDeclaration, 'UseTableSelectMethod').set({
|
|
112
115
|
arguments: [resolveValueMethodName],
|
|
113
116
|
});
|
|
@@ -130,11 +133,11 @@ function tableSelectResolveRule(normalizedOptions) {
|
|
|
130
133
|
]);
|
|
131
134
|
}
|
|
132
135
|
function tableSelectDataSourceRule(normalizedOptions) {
|
|
133
|
-
const { name, project, feature, directory, formName, type, isArray, state, isRequired, validatorList, nestModule, controllerName, columnList, shared, context, scope, toDisplay, toValue, propertyList, upstream, } = normalizedOptions;
|
|
136
|
+
const { name, project, feature, directory, formName, type, isArray, state, isRequired, validatorList, nestModule, controllerName, columnList, shared, context, scope, toDisplay, toValue, propertyList, upstream, role, isOptional, source, } = normalizedOptions;
|
|
134
137
|
const optionsOperationName = buildOptionsOperationName(normalizedOptions);
|
|
135
138
|
const optionsOperationPath = buildOptionsOperationPath(normalizedOptions);
|
|
136
139
|
const optionsOperationId = buildOptionsOperationId(normalizedOptions);
|
|
137
|
-
const tableDataSourceName = (0, schematics_utilities_1.classify)([name, 'select-table', 'data-source'].join('-'));
|
|
140
|
+
const tableDataSourceName = (0, schematics_utilities_1.classify)([(0, schematics_utilities_1.dasherize)(name), 'select-table', 'data-source'].join('-'));
|
|
138
141
|
const tableDataSourceImportPath = `./data-sources/${(0, schematics_utilities_1.dasherize)(name)}-select-table.data-source`;
|
|
139
142
|
const tableDataSourceDirectory = (0, path_1.join)(directory !== null && directory !== void 0 ? directory : '', 'data-sources');
|
|
140
143
|
return (0, schematics_1.chain)([
|
|
@@ -170,10 +173,13 @@ function tableSelectDataSourceRule(normalizedOptions) {
|
|
|
170
173
|
feature,
|
|
171
174
|
directory: tableDataSourceDirectory,
|
|
172
175
|
shared,
|
|
173
|
-
name: [name, 'select-table'].join('-'),
|
|
176
|
+
name: [(0, schematics_utilities_1.dasherize)(name), 'select-table'].join('-'),
|
|
174
177
|
operationId: optionsOperationId,
|
|
175
178
|
}),
|
|
176
179
|
(0, schematics_ts_morph_1.CoerceFormDefinitionControl)({
|
|
180
|
+
role,
|
|
181
|
+
isOptional,
|
|
182
|
+
source,
|
|
177
183
|
project,
|
|
178
184
|
feature,
|
|
179
185
|
directory,
|
|
@@ -184,8 +190,8 @@ function tableSelectDataSourceRule(normalizedOptions) {
|
|
|
184
190
|
state,
|
|
185
191
|
isRequired,
|
|
186
192
|
validatorList,
|
|
187
|
-
coerceFormControl: (sourceFile, classDeclaration, control) => {
|
|
188
|
-
const { propertyDeclaration, decoratorDeclaration, } = (0, schematics_ts_morph_1.CoerceFormControl)(sourceFile, classDeclaration, control);
|
|
193
|
+
coerceFormControl: (sourceFile, classDeclaration, formTypeName, control) => {
|
|
194
|
+
const { propertyDeclaration, decoratorDeclaration, } = (0, schematics_ts_morph_1.CoerceFormControl)(sourceFile, classDeclaration, formTypeName, control);
|
|
189
195
|
const tableSelectOperationResponseClassName = (0, ts_morph_1.OperationIdToResponseClassName)(optionsOperationId);
|
|
190
196
|
(0, ts_morph_1.CoerceImports)(sourceFile, {
|
|
191
197
|
namedImports: [tableSelectOperationResponseClassName],
|
|
@@ -229,7 +235,7 @@ function default_1(options) {
|
|
|
229
235
|
printOptions(normalizedOptions);
|
|
230
236
|
return () => {
|
|
231
237
|
return (0, schematics_1.chain)([
|
|
232
|
-
() => console.group('
|
|
238
|
+
() => console.group('[@rxap/schematics-angular:table-select-form-control]'.green),
|
|
233
239
|
tableSelectDataSourceRule(normalizedOptions),
|
|
234
240
|
tableSelectResolveRule(normalizedOptions),
|
|
235
241
|
(0, schematics_ts_morph_1.EnforceUseFormControlOrderRule)(normalizedOptions),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../packages/schematic/angular/src/schematics/form/control/table-select-form-control/index.ts"],"names":[],"mappings":";;;AAAA,2DAAmD;AACnD,mEAYmC;AACnC,qEAIoC;AACpC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../packages/schematic/angular/src/schematics/form/control/table-select-form-control/index.ts"],"names":[],"mappings":";;;AAAA,2DAAmD;AACnD,mEAYmC;AACnC,qEAIoC;AACpC,6CAKwB;AACxB,+CAIyB;AACzB,+BAA4B;AAC5B,uCAKkB;AAClB,qEAAsE;AACtE,sGAIgE;AAChE,qDAG4B;AAK5B,SAAgB,sCAAsC,CACpD,OAAsC;IAEtC,MAAM,iBAAiB,GAAG,IAAA,0CAA2B,EAAC,OAAO,CAAC,CAAC;IAC/D,OAAO,MAAM,CAAC,MAAM,+CACf,iBAAiB,GACjB,IAAA,2DAA+B,EAAC,OAAO,CAAC,KAC3C,cAAc,EAAE,IAAA,6CAAuB,EAAC,iBAAiB,CAAC,IAC1D,CAAC;AACL,CAAC;AATD,wFASC;AAED,SAAgB,8BAA8B,CAAC,MAAmC;IAChF,MAAM,EACJ,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,SAAS,GACV,GAAG,MAAM,CAAC;IACX,MAAM,UAAU,GAA4C,EAAE,CAAC;IAC/D,UAAU,CAAC,OAAO,CAAC,GAAG,cAAe,KAAK,aAAL,KAAK,cAAL,KAAK,GAAI,IAAA,iCAAU,EAAC,IAAI,CAAE,IAAI,CAAC;IACpE,IAAI,SAAS,EAAE;QACb,UAAU,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;KAC/B;IACD,UA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;oBACL,mBAAmB;oBACnB,oBAAoB;iBACrB,CAAC;YACJ,CAAC;SACF,CAAC;KACH,CAAC,CAAC;AAEL,CAAC;AAED,mBAAyB,OAAsC;IAC7D,MAAM,iBAAiB,GAAG,sCAAsC,CAAC,OAAO,CAAC,CAAC;IAC1E,YAAY,CAAC,iBAAiB,CAAC,CAAC;IAEhC,OAAO,GAAG,EAAE;QACV,OAAO,IAAA,kBAAK,EAAC;YACX,GAAG,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,sDAAsD,CAAC,KAAK,CAAC;YACjF,yBAAyB,CAAC,iBAAiB,CAAC;YAC5C,sBAAsB,CAAC,iBAAiB,CAAC;YACzC,IAAA,oDAA8B,EAAC,iBAAiB,CAAC;YACjD,GAAG,EAAE,CAAC,OAAO,CAAC,QAAQ,EAAE;SACzB,CAAC,CAAC;IACL,CAAC,CAAC;AACJ,CAAC;AAbD,4BAaC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { TableSelectFormControl } from '../../../../lib/form-control';
|
|
1
|
+
import { TableSelectFormControl } from '../../../../lib/form/control/table-select-form-control';
|
|
2
2
|
import { FormControlOptions } from '../../form-control/schema';
|
|
3
3
|
|
|
4
|
-
export
|
|
5
|
-
}
|
|
4
|
+
export type TableSelectFormControlOptions = FormControlOptions & TableSelectFormControl;
|