@rxap/schematic-angular 16.0.1-dev.0
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 +8 -0
- package/GETSTARTED.md +0 -0
- package/GUIDES.md +0 -0
- package/README.md +21 -0
- package/collection.json +109 -0
- package/package.json +70 -0
- package/src/index.d.ts +0 -0
- package/src/index.js +2 -0
- package/src/index.js.map +1 -0
- package/src/lib/accordion-item.d.ts +10 -0
- package/src/lib/accordion-item.js +36 -0
- package/src/lib/accordion-item.js.map +1 -0
- package/src/lib/accordion-itme-types.d.ts +7 -0
- package/src/lib/accordion-itme-types.js +15 -0
- package/src/lib/accordion-itme-types.js.map +1 -0
- package/src/lib/angular-options.d.ts +20 -0
- package/src/lib/angular-options.js +57 -0
- package/src/lib/angular-options.js.map +1 -0
- package/src/lib/assert-table-component-exists.d.ts +8 -0
- package/src/lib/assert-table-component-exists.js +18 -0
- package/src/lib/assert-table-component-exists.js.map +1 -0
- package/src/lib/backend-types.d.ts +5 -0
- package/src/lib/backend-types.js +10 -0
- package/src/lib/backend-types.js.map +1 -0
- package/src/lib/data-grid-item.d.ts +9 -0
- package/src/lib/data-grid-item.js +31 -0
- package/src/lib/data-grid-item.js.map +1 -0
- package/src/lib/data-grid-options.d.ts +18 -0
- package/src/lib/data-grid-options.js +25 -0
- package/src/lib/data-grid-options.js.map +1 -0
- package/src/lib/dialog-action.d.ts +9 -0
- package/src/lib/dialog-action.js +33 -0
- package/src/lib/dialog-action.js.map +1 -0
- package/src/lib/existing-method.d.ts +5 -0
- package/src/lib/existing-method.js +11 -0
- package/src/lib/existing-method.js.map +1 -0
- package/src/lib/form-component-control.d.ts +13 -0
- package/src/lib/form-component-control.js +46 -0
- package/src/lib/form-component-control.js.map +1 -0
- package/src/lib/form-definition-control.d.ts +15 -0
- package/src/lib/form-definition-control.js +59 -0
- package/src/lib/form-definition-control.js.map +1 -0
- package/src/lib/minimum-table-component-options.d.ts +17 -0
- package/src/lib/minimum-table-component-options.js +343 -0
- package/src/lib/minimum-table-component-options.js.map +1 -0
- package/src/lib/minimum-table-options.d.ts +18 -0
- package/src/lib/minimum-table-options.js +27 -0
- package/src/lib/minimum-table-options.js.map +1 -0
- package/src/lib/table-action.d.ts +11 -0
- package/src/lib/table-action.js +93 -0
- package/src/lib/table-action.js.map +1 -0
- package/src/lib/table-column.d.ts +18 -0
- package/src/lib/table-column.js +73 -0
- package/src/lib/table-column.js.map +1 -0
- package/src/lib/table-header-button.d.ts +9 -0
- package/src/lib/table-header-button.js +58 -0
- package/src/lib/table-header-button.js.map +1 -0
- package/src/lib/table-options.d.ts +15 -0
- package/src/lib/table-options.js +16 -0
- package/src/lib/table-options.js.map +1 -0
- package/src/lib/table-row-action.d.ts +14 -0
- package/src/lib/table-row-action.js +21 -0
- package/src/lib/table-row-action.js.map +1 -0
- package/src/lib/to-title.d.ts +1 -0
- package/src/lib/to-title.js +12 -0
- package/src/lib/to-title.js.map +1 -0
- package/src/lib/tree-table-options.d.ts +15 -0
- package/src/lib/tree-table-options.js +15 -0
- package/src/lib/tree-table-options.js.map +1 -0
- package/src/schematics/accordion/accordion-component/files/component/__componentName__.component.html.template +30 -0
- package/src/schematics/accordion/accordion-component/files/component/__componentName__.component.ts.template +54 -0
- package/src/schematics/accordion/accordion-component/files/header-component/accordion-header.component.html.template +5 -0
- package/src/schematics/accordion/accordion-component/files/header-component/accordion-header.component.ts.template +14 -0
- package/src/schematics/accordion/accordion-component/index.d.ts +8 -0
- package/src/schematics/accordion/accordion-component/index.js +350 -0
- package/src/schematics/accordion/accordion-component/index.js.map +1 -0
- package/src/schematics/accordion/accordion-component/schema.d.ts +7 -0
- package/src/schematics/accordion/accordion-component/schema.json +90 -0
- package/src/schematics/accordion/accordion-item-component/files/component/__componentName__.component.html.template +7 -0
- package/src/schematics/accordion/accordion-item-component/files/component/__componentName__.component.ts.template +32 -0
- package/src/schematics/accordion/accordion-item-component/index.d.ts +21 -0
- package/src/schematics/accordion/accordion-item-component/index.js +319 -0
- package/src/schematics/accordion/accordion-item-component/index.js.map +1 -0
- package/src/schematics/accordion/accordion-item-component/schema.d.ts +9 -0
- package/src/schematics/accordion/accordion-item-component/schema.json +73 -0
- package/src/schematics/accordion/item/accordion-item-data-grid-component/files/data-grid/__componentName__.component.html.template +1 -0
- package/src/schematics/accordion/item/accordion-item-data-grid-component/files/data-grid/__componentName__.component.ts.template +14 -0
- package/src/schematics/accordion/item/accordion-item-data-grid-component/files/data-grid-collection/__componentName__.component.html.template +10 -0
- package/src/schematics/accordion/item/accordion-item-data-grid-component/files/data-grid-collection/__componentName__.component.ts.template +32 -0
- package/src/schematics/accordion/item/accordion-item-data-grid-component/index.d.ts +10 -0
- package/src/schematics/accordion/item/accordion-item-data-grid-component/index.js +211 -0
- package/src/schematics/accordion/item/accordion-item-data-grid-component/index.js.map +1 -0
- package/src/schematics/accordion/item/accordion-item-data-grid-component/schema.d.ts +7 -0
- package/src/schematics/accordion/item/accordion-item-data-grid-component/schema.json +122 -0
- package/src/schematics/accordion/item/accordion-item-table-component/files/component/__componentName__.component.html.template +1 -0
- package/src/schematics/accordion/item/accordion-item-table-component/files/component/__componentName__.component.ts.template +35 -0
- package/src/schematics/accordion/item/accordion-item-table-component/index.d.ts +7 -0
- package/src/schematics/accordion/item/accordion-item-table-component/index.js +108 -0
- package/src/schematics/accordion/item/accordion-item-table-component/index.js.map +1 -0
- package/src/schematics/accordion/item/accordion-item-table-component/schema.d.ts +7 -0
- package/src/schematics/accordion/item/accordion-item-table-component/schema.json +248 -0
- package/src/schematics/accordion/item/accordion-item-tree-table-component/files/component/__componentName__.component.html.template +1 -0
- package/src/schematics/accordion/item/accordion-item-tree-table-component/files/component/__componentName__.component.ts.template +34 -0
- package/src/schematics/accordion/item/accordion-item-tree-table-component/index.d.ts +7 -0
- package/src/schematics/accordion/item/accordion-item-tree-table-component/index.js +182 -0
- package/src/schematics/accordion/item/accordion-item-tree-table-component/index.js.map +1 -0
- package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.d.ts +7 -0
- package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.json +257 -0
- package/src/schematics/data-grid-component/files/form/__componentName__.component.html.template +42 -0
- package/src/schematics/data-grid-component/files/form/__componentName__.component.ts.template +43 -0
- package/src/schematics/data-grid-component/files/plain/__componentName__.component.html.template +25 -0
- package/src/schematics/data-grid-component/files/plain/__componentName__.component.ts.template +36 -0
- package/src/schematics/data-grid-component/index.d.ts +16 -0
- package/src/schematics/data-grid-component/index.js +320 -0
- package/src/schematics/data-grid-component/index.js.map +1 -0
- package/src/schematics/data-grid-component/schema.d.ts +4 -0
- package/src/schematics/data-grid-component/schema.json +112 -0
- package/src/schematics/dialog-component/files/component/__componentName__.component.html.template +23 -0
- package/src/schematics/dialog-component/index.d.ts +2 -0
- package/src/schematics/dialog-component/index.js +43 -0
- package/src/schematics/dialog-component/index.js.map +1 -0
- package/src/schematics/dialog-component/schema.d.ts +9 -0
- package/src/schematics/dialog-component/schema.json +71 -0
- package/src/schematics/form/control/input-form-control/index.d.ts +7 -0
- package/src/schematics/form/control/input-form-control/index.js +40 -0
- package/src/schematics/form/control/input-form-control/index.js.map +1 -0
- package/src/schematics/form/control/input-form-control/schema.d.ts +5 -0
- package/src/schematics/form/control/input-form-control/schema.json +115 -0
- package/src/schematics/form/control/select-form-control/index.d.ts +6 -0
- package/src/schematics/form/control/select-form-control/index.js +124 -0
- package/src/schematics/form/control/select-form-control/index.js.map +1 -0
- package/src/schematics/form/control/select-form-control/schema.d.ts +6 -0
- package/src/schematics/form/control/select-form-control/schema.json +101 -0
- package/src/schematics/form/control/table-select-form-control/index.d.ts +12 -0
- package/src/schematics/form/control/table-select-form-control/index.js +183 -0
- package/src/schematics/form/control/table-select-form-control/index.js.map +1 -0
- package/src/schematics/form/control/table-select-form-control/schema.d.ts +7 -0
- package/src/schematics/form/control/table-select-form-control/schema.json +105 -0
- package/src/schematics/form/form-component/files/component/__componentName__.component.html.template +12 -0
- package/src/schematics/form/form-component/files/component/__componentName__.component.ts.template +52 -0
- package/src/schematics/form/form-component/files/window/open-__name__-form-window.method.ts.template +29 -0
- package/src/schematics/form/form-component/index.d.ts +16 -0
- package/src/schematics/form/form-component/index.js +149 -0
- package/src/schematics/form/form-component/index.js.map +1 -0
- package/src/schematics/form/form-component/schema.d.ts +8 -0
- package/src/schematics/form/form-component/schema.json +107 -0
- package/src/schematics/form/form-control/index.d.ts +9 -0
- package/src/schematics/form/form-control/index.js +54 -0
- package/src/schematics/form/form-control/index.js.map +1 -0
- package/src/schematics/form/form-control/schema.d.ts +6 -0
- package/src/schematics/form/form-control/schema.json +91 -0
- package/src/schematics/form/form-definition/index.d.ts +10 -0
- package/src/schematics/form/form-definition/index.js +43 -0
- package/src/schematics/form/form-definition/index.js.map +1 -0
- package/src/schematics/form/form-definition/schema.d.ts +6 -0
- package/src/schematics/form/form-definition/schema.json +97 -0
- package/src/schematics/table/action/dialog-table-action/index.d.ts +8 -0
- package/src/schematics/table/action/dialog-table-action/index.js +99 -0
- package/src/schematics/table/action/dialog-table-action/index.js.map +1 -0
- package/src/schematics/table/action/dialog-table-action/schema.d.ts +8 -0
- package/src/schematics/table/action/dialog-table-action/schema.json +133 -0
- package/src/schematics/table/action/form-table-action/index.d.ts +9 -0
- package/src/schematics/table/action/form-table-action/index.js +146 -0
- package/src/schematics/table/action/form-table-action/index.js.map +1 -0
- package/src/schematics/table/action/form-table-action/schema.d.ts +4 -0
- package/src/schematics/table/action/form-table-action/schema.json +94 -0
- package/src/schematics/table/action/navigation-table-action/index.d.ts +7 -0
- package/src/schematics/table/action/navigation-table-action/index.js +46 -0
- package/src/schematics/table/action/navigation-table-action/index.js.map +1 -0
- package/src/schematics/table/action/navigation-table-action/schema.d.ts +5 -0
- package/src/schematics/table/action/navigation-table-action/schema.json +85 -0
- package/src/schematics/table/action/operation-table-action/index.d.ts +11 -0
- package/src/schematics/table/action/operation-table-action/index.js +87 -0
- package/src/schematics/table/action/operation-table-action/index.js.map +1 -0
- package/src/schematics/table/action/operation-table-action/schema.d.ts +4 -0
- package/src/schematics/table/action/operation-table-action/schema.json +93 -0
- package/src/schematics/table/table-action/index.d.ts +7 -0
- package/src/schematics/table/table-action/index.js +46 -0
- package/src/schematics/table/table-action/index.js.map +1 -0
- package/src/schematics/table/table-action/schema.d.ts +7 -0
- package/src/schematics/table/table-action/schema.json +81 -0
- package/src/schematics/table/table-component/files/component/__componentName__.component.html.template +311 -0
- package/src/schematics/table/table-component/files/component/__componentName__.component.ts.template +100 -0
- package/src/schematics/table/table-component/index.d.ts +17 -0
- package/src/schematics/table/table-component/index.js +329 -0
- package/src/schematics/table/table-component/index.js.map +1 -0
- package/src/schematics/table/table-component/schema.d.ts +4 -0
- package/src/schematics/table/table-component/schema.json +230 -0
- package/src/schematics/table/tree-table-component/files/component/__componentName__.component.html.template +201 -0
- package/src/schematics/table/tree-table-component/files/component/__componentName__.component.ts.template +102 -0
- package/src/schematics/table/tree-table-component/index.d.ts +9 -0
- package/src/schematics/table/tree-table-component/index.js +314 -0
- package/src/schematics/table/tree-table-component/index.js.map +1 -0
- package/src/schematics/table/tree-table-component/schema.d.ts +4 -0
- package/src/schematics/table/tree-table-component/schema.json +239 -0
- package/src/schematics/tree-component/index.d.ts +10 -0
- package/src/schematics/tree-component/index.js +33 -0
- package/src/schematics/tree-component/index.js.map +1 -0
- package/src/schematics/tree-component/schema.d.ts +6 -0
- package/src/schematics/tree-component/schema.json +75 -0
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "accordion-item-table-component",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"itemName": {
|
|
7
|
+
"alias": "name",
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "The name of the accordion item",
|
|
10
|
+
"x-prompt": "Which name should the accordion item module have?"
|
|
11
|
+
},
|
|
12
|
+
"project": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "The target project where the accordion item module should be added.",
|
|
15
|
+
"x-prompt": "To which project should the accordion item module be added?"
|
|
16
|
+
},
|
|
17
|
+
"feature": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"description": "The feature name where the accordion item module should be added.",
|
|
20
|
+
"x-prompt": "To which feature should the accordion item module be added?"
|
|
21
|
+
},
|
|
22
|
+
"accordionName": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"description": "The name of the accordion module where the item should be added.",
|
|
25
|
+
"x-prompt": "To which accordion module should the accordion item module be added?"
|
|
26
|
+
},
|
|
27
|
+
"shared": {
|
|
28
|
+
"type": "boolean",
|
|
29
|
+
"default": false,
|
|
30
|
+
"description": "Whether the item is based of a shared component"
|
|
31
|
+
},
|
|
32
|
+
"backend": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"description": "The backend that should be used to handel data",
|
|
35
|
+
"enum": [
|
|
36
|
+
"none",
|
|
37
|
+
"local",
|
|
38
|
+
"nestjs"
|
|
39
|
+
],
|
|
40
|
+
"default": "none"
|
|
41
|
+
},
|
|
42
|
+
"modifiers": {
|
|
43
|
+
"alias": "modifier",
|
|
44
|
+
"type": "array",
|
|
45
|
+
"items": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"enum": [
|
|
48
|
+
"navigation-back-header",
|
|
49
|
+
"without-title"
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
"description": "The table modifiers"
|
|
53
|
+
},
|
|
54
|
+
"table": {
|
|
55
|
+
"type": "object",
|
|
56
|
+
"properties": {
|
|
57
|
+
"tableMethod": {
|
|
58
|
+
"type": "object",
|
|
59
|
+
"properties": {
|
|
60
|
+
"className": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"description": "The name of the table method class"
|
|
63
|
+
},
|
|
64
|
+
"importPath": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"description": "The import path for the table method class"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"modifiers": {
|
|
71
|
+
"alias": "modifier",
|
|
72
|
+
"type": "array",
|
|
73
|
+
"items": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"enum": [
|
|
76
|
+
"navigation-back-header",
|
|
77
|
+
"without-title"
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
"description": "The table modifiers"
|
|
81
|
+
},
|
|
82
|
+
"headerButton": {
|
|
83
|
+
"oneOf": [
|
|
84
|
+
{
|
|
85
|
+
"type": "string"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"type": "object",
|
|
89
|
+
"properties": {
|
|
90
|
+
"role": {
|
|
91
|
+
"type": "string"
|
|
92
|
+
},
|
|
93
|
+
"permission": {
|
|
94
|
+
"type": "string"
|
|
95
|
+
},
|
|
96
|
+
"icon": {
|
|
97
|
+
"type": "string"
|
|
98
|
+
},
|
|
99
|
+
"svgIcon": {
|
|
100
|
+
"type": "string"
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
],
|
|
105
|
+
"description": "The header button configuration"
|
|
106
|
+
},
|
|
107
|
+
"columnList": {
|
|
108
|
+
"alias": "column",
|
|
109
|
+
"type": "array",
|
|
110
|
+
"items": {
|
|
111
|
+
"oneOf": [
|
|
112
|
+
{
|
|
113
|
+
"type": "string"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"type": "object",
|
|
117
|
+
"properties": {
|
|
118
|
+
"name": {
|
|
119
|
+
"type": "string"
|
|
120
|
+
},
|
|
121
|
+
"type": {
|
|
122
|
+
"type": "string"
|
|
123
|
+
},
|
|
124
|
+
"modifiers": {
|
|
125
|
+
"type": "array",
|
|
126
|
+
"items": {
|
|
127
|
+
"type": "string"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"hasFilter": {
|
|
131
|
+
"type": "boolean"
|
|
132
|
+
},
|
|
133
|
+
"title": {
|
|
134
|
+
"type": "string"
|
|
135
|
+
},
|
|
136
|
+
"propertyPath": {
|
|
137
|
+
"type": "string"
|
|
138
|
+
},
|
|
139
|
+
"hidden": {
|
|
140
|
+
"type": "boolean"
|
|
141
|
+
},
|
|
142
|
+
"active": {
|
|
143
|
+
"type": "boolean"
|
|
144
|
+
},
|
|
145
|
+
"inactive": {
|
|
146
|
+
"type": "boolean"
|
|
147
|
+
},
|
|
148
|
+
"show": {
|
|
149
|
+
"type": "boolean"
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"required": [
|
|
153
|
+
"name"
|
|
154
|
+
]
|
|
155
|
+
}
|
|
156
|
+
],
|
|
157
|
+
"description": "table column name"
|
|
158
|
+
},
|
|
159
|
+
"description": "List of table column names"
|
|
160
|
+
},
|
|
161
|
+
"actionList": {
|
|
162
|
+
"alias": "action",
|
|
163
|
+
"type": "array",
|
|
164
|
+
"items": {
|
|
165
|
+
"oneOf": [
|
|
166
|
+
{
|
|
167
|
+
"type": "string"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"type": "object",
|
|
171
|
+
"properties": {
|
|
172
|
+
"type": {
|
|
173
|
+
"type": "string"
|
|
174
|
+
},
|
|
175
|
+
"refresh": {
|
|
176
|
+
"type": "boolean"
|
|
177
|
+
},
|
|
178
|
+
"confirm": {
|
|
179
|
+
"type": "boolean"
|
|
180
|
+
},
|
|
181
|
+
"tooltip": {
|
|
182
|
+
"type": "string"
|
|
183
|
+
},
|
|
184
|
+
"errorMessage": {
|
|
185
|
+
"type": "string"
|
|
186
|
+
},
|
|
187
|
+
"successMessage": {
|
|
188
|
+
"type": "string"
|
|
189
|
+
},
|
|
190
|
+
"priority": {
|
|
191
|
+
"type": "number"
|
|
192
|
+
},
|
|
193
|
+
"checkFunction": {
|
|
194
|
+
"type": "string"
|
|
195
|
+
},
|
|
196
|
+
"inHeader": {
|
|
197
|
+
"type": "boolean"
|
|
198
|
+
},
|
|
199
|
+
"role": {
|
|
200
|
+
"type": "string",
|
|
201
|
+
"enum": [
|
|
202
|
+
"form",
|
|
203
|
+
"link",
|
|
204
|
+
"method",
|
|
205
|
+
"custom"
|
|
206
|
+
]
|
|
207
|
+
},
|
|
208
|
+
"icon": {
|
|
209
|
+
"type": "string"
|
|
210
|
+
},
|
|
211
|
+
"svgIcon": {
|
|
212
|
+
"type": "string"
|
|
213
|
+
},
|
|
214
|
+
"permission": {
|
|
215
|
+
"type": "string"
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
"required": [
|
|
219
|
+
"type",
|
|
220
|
+
"role"
|
|
221
|
+
]
|
|
222
|
+
}
|
|
223
|
+
]
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
"selectColumn": {
|
|
227
|
+
"type": "boolean",
|
|
228
|
+
"description": "Whether to add a select column to the table"
|
|
229
|
+
},
|
|
230
|
+
"context": {
|
|
231
|
+
"type": "string",
|
|
232
|
+
"description": "The context use to generate proper names for class, files, etc"
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
"overwrite": {
|
|
237
|
+
"type": "boolean",
|
|
238
|
+
"default": false,
|
|
239
|
+
"description": "Whether to overwrite existing files"
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
"required": [
|
|
243
|
+
"itemName",
|
|
244
|
+
"project",
|
|
245
|
+
"feature",
|
|
246
|
+
"accordionName"
|
|
247
|
+
]
|
|
248
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<<%= prefix %>-<%= name %>-table [parameters]="parameters$"></<%= prefix %>-<%= name %>-table>
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { map } from 'rxjs/operators';
|
|
5
|
+
import { throwIfEmpty } from '@rxap/rxjs';
|
|
6
|
+
<% if (hasSharedModifier) { %>
|
|
7
|
+
import { <%= classify(name) %>TableComponent } from '<%= scope %>/shared/feature/<%= feature %>/<%= name %>-table/<%= name %>-table.component';
|
|
8
|
+
<% } else { %>
|
|
9
|
+
import { <%= classify(name) %>TableComponent } from './<%= name %>-table/<%= name %>-table.component';
|
|
10
|
+
<% } %>
|
|
11
|
+
|
|
12
|
+
@Component({
|
|
13
|
+
selector: '<%= prefix %>-<%= componentName %>',
|
|
14
|
+
templateUrl: './<%= componentName %>.component.html',
|
|
15
|
+
styleUrls: [ './<%= componentName %>.component.scss' ],
|
|
16
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
17
|
+
standalone: true,
|
|
18
|
+
imports: [
|
|
19
|
+
<%= classify(name) %>TableComponent,
|
|
20
|
+
],
|
|
21
|
+
})
|
|
22
|
+
export class <%= classify(componentName) %>Component {
|
|
23
|
+
|
|
24
|
+
public readonly parameters$: Observable<{ uuid: string }>;
|
|
25
|
+
|
|
26
|
+
constructor(private readonly route: ActivatedRoute) {
|
|
27
|
+
this.parameters$ = this.route.params.pipe(
|
|
28
|
+
map(({ uuid }) => uuid),
|
|
29
|
+
throwIfEmpty('Could not extract the uuid from route'),
|
|
30
|
+
map((uuid) => ({ uuid })),
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Normalized } from '@rxap/utilities';
|
|
2
|
+
import { NormalizedAngularOptions } from '../../../../lib/angular-options';
|
|
3
|
+
import { NormalizedAccordionItemStandaloneComponentOptions } from '../../accordion-item-component';
|
|
4
|
+
import { AccordionItemTreeTableComponentOptions } from './schema';
|
|
5
|
+
export type NormalizedAccordionItemTreeTableComponentOptions = Readonly<Normalized<AccordionItemTreeTableComponentOptions> & NormalizedAngularOptions & NormalizedAccordionItemStandaloneComponentOptions>;
|
|
6
|
+
export declare function NormalizeAccordionItemTreeTableComponentOptions(options: Readonly<AccordionItemTreeTableComponentOptions>): Readonly<NormalizedAccordionItemTreeTableComponentOptions>;
|
|
7
|
+
export default function (options: AccordionItemTreeTableComponentOptions): () => import("@angular-devkit/schematics").Rule;
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NormalizeAccordionItemTreeTableComponentOptions = void 0;
|
|
4
|
+
const core_1 = require("@angular-devkit/core");
|
|
5
|
+
const schematics_1 = require("@angular-devkit/schematics");
|
|
6
|
+
const schematics_ts_morph_1 = require("@rxap/schematics-ts-morph");
|
|
7
|
+
const schematics_utilities_1 = require("@rxap/schematics-utilities");
|
|
8
|
+
const ts_morph_1 = require("ts-morph");
|
|
9
|
+
const angular_options_1 = require("../../../../lib/angular-options");
|
|
10
|
+
const backend_types_1 = require("../../../../lib/backend-types");
|
|
11
|
+
const tree_table_options_1 = require("../../../../lib/tree-table-options");
|
|
12
|
+
const accordion_item_component_1 = require("../../accordion-item-component");
|
|
13
|
+
function NormalizeAccordionItemTreeTableComponentOptions(options) {
|
|
14
|
+
const normalizedAccordionItemComponentOptions = (0, accordion_item_component_1.NormalizeAccordionItemStandaloneComponentOptions)(options);
|
|
15
|
+
const { itemName } = normalizedAccordionItemComponentOptions;
|
|
16
|
+
return Object.seal(Object.assign(Object.assign({}, normalizedAccordionItemComponentOptions), { table: (0, tree_table_options_1.NormalizeTreeTableOptions)(options.table, itemName) }));
|
|
17
|
+
}
|
|
18
|
+
exports.NormalizeAccordionItemTreeTableComponentOptions = NormalizeAccordionItemTreeTableComponentOptions;
|
|
19
|
+
function printOptions(options) {
|
|
20
|
+
(0, angular_options_1.PrintAngularOptions)('accordion-item-tree-table-component', options);
|
|
21
|
+
}
|
|
22
|
+
function componentRule(normalizedOptions) {
|
|
23
|
+
const { componentName, project, feature, directory, shared, overwrite, itemName, } = normalizedOptions;
|
|
24
|
+
const templateOptions = Object.assign(Object.assign(Object.assign(Object.assign({}, core_1.strings), normalizedOptions), { name: itemName }), (0, accordion_item_component_1.GetItemOptions)(normalizedOptions));
|
|
25
|
+
return (0, schematics_1.chain)([
|
|
26
|
+
() => console.log(`Coerce accordion item component ...`),
|
|
27
|
+
(0, schematics_ts_morph_1.CoerceComponentRule)({
|
|
28
|
+
name: componentName,
|
|
29
|
+
project,
|
|
30
|
+
feature,
|
|
31
|
+
directory,
|
|
32
|
+
shared,
|
|
33
|
+
overwrite,
|
|
34
|
+
template: {
|
|
35
|
+
options: templateOptions,
|
|
36
|
+
},
|
|
37
|
+
}),
|
|
38
|
+
]);
|
|
39
|
+
}
|
|
40
|
+
function treeTableComponentSchematicRule(normalizedOptions) {
|
|
41
|
+
var _a, _b, _c;
|
|
42
|
+
const { directory, nestModule, itemName, project, feature, table, overwrite, backend, } = normalizedOptions;
|
|
43
|
+
const { hasSharedModifier } = (0, accordion_item_component_1.GetItemOptions)(normalizedOptions);
|
|
44
|
+
return (0, schematics_1.chain)([
|
|
45
|
+
() => console.log(`Generate tree table component ...`),
|
|
46
|
+
(0, schematics_utilities_1.ExecuteSchematic)('tree-table-component', {
|
|
47
|
+
shared: hasSharedModifier,
|
|
48
|
+
name: itemName,
|
|
49
|
+
project,
|
|
50
|
+
feature,
|
|
51
|
+
directory: hasSharedModifier ? undefined : directory,
|
|
52
|
+
columnList: (_a = table === null || table === void 0 ? void 0 : table.columnList) !== null && _a !== void 0 ? _a : [],
|
|
53
|
+
actionList: (_b = table === null || table === void 0 ? void 0 : table.actionList) !== null && _b !== void 0 ? _b : [],
|
|
54
|
+
title: table === null || table === void 0 ? void 0 : table.title,
|
|
55
|
+
headerButton: table === null || table === void 0 ? void 0 : table.headerButton,
|
|
56
|
+
nestModule: hasSharedModifier ? undefined : nestModule,
|
|
57
|
+
modifiers: ['without-title', ...(_c = table === null || table === void 0 ? void 0 : table.modifiers) !== null && _c !== void 0 ? _c : []],
|
|
58
|
+
tableChildMethod: table.tableChildMethod,
|
|
59
|
+
tableRootMethod: table.tableRootMethod,
|
|
60
|
+
overwrite,
|
|
61
|
+
backend,
|
|
62
|
+
}),
|
|
63
|
+
]);
|
|
64
|
+
}
|
|
65
|
+
function nestjsBackendRule(normalizedOptions) {
|
|
66
|
+
const { itemName, nestModule, directory, project, feature, shared, scope, } = normalizedOptions;
|
|
67
|
+
const { hasSharedModifier, } = (0, accordion_item_component_1.GetItemOptions)(normalizedOptions);
|
|
68
|
+
const controllerName = (0, schematics_ts_morph_1.BuildNestControllerName)({
|
|
69
|
+
controllerName: (0, schematics_utilities_1.CoerceSuffix)(itemName, '-tree-table'),
|
|
70
|
+
nestModule: hasSharedModifier ? undefined : nestModule,
|
|
71
|
+
});
|
|
72
|
+
return (0, schematics_1.chain)([
|
|
73
|
+
() => console.log(`Modify the get root operation ...`),
|
|
74
|
+
(0, schematics_ts_morph_1.CoerceGetRootOperation)({
|
|
75
|
+
controllerName: itemName,
|
|
76
|
+
nestModule: hasSharedModifier ? undefined : nestModule,
|
|
77
|
+
project,
|
|
78
|
+
feature,
|
|
79
|
+
shared: hasSharedModifier,
|
|
80
|
+
paramList: [
|
|
81
|
+
{
|
|
82
|
+
name: 'uuid',
|
|
83
|
+
type: 'string',
|
|
84
|
+
fromParent: !hasSharedModifier,
|
|
85
|
+
},
|
|
86
|
+
],
|
|
87
|
+
skipCoerce: true,
|
|
88
|
+
}),
|
|
89
|
+
() => console.log(`Modify the get children operation ...`),
|
|
90
|
+
(0, schematics_ts_morph_1.CoerceGetChildrenOperation)({
|
|
91
|
+
controllerName: itemName,
|
|
92
|
+
nestModule: hasSharedModifier ? undefined : nestModule,
|
|
93
|
+
project,
|
|
94
|
+
feature,
|
|
95
|
+
shared: hasSharedModifier,
|
|
96
|
+
paramList: [
|
|
97
|
+
{
|
|
98
|
+
name: 'uuid',
|
|
99
|
+
type: 'string',
|
|
100
|
+
fromParent: !hasSharedModifier,
|
|
101
|
+
},
|
|
102
|
+
],
|
|
103
|
+
skipCoerce: true,
|
|
104
|
+
}),
|
|
105
|
+
() => console.log(`Modify the get root proxy method ...`),
|
|
106
|
+
(0, schematics_ts_morph_1.CoerceTreeTableRootProxyRemoteMethodClass)({
|
|
107
|
+
project,
|
|
108
|
+
feature,
|
|
109
|
+
shared,
|
|
110
|
+
directory,
|
|
111
|
+
scope,
|
|
112
|
+
getRootOperationId: (0, schematics_ts_morph_1.buildOperationId)(normalizedOptions, 'get-root', controllerName),
|
|
113
|
+
tsMorphTransform: (project, sourceFile, classDeclaration) => {
|
|
114
|
+
(0, schematics_ts_morph_1.CoerceImports)(sourceFile, {
|
|
115
|
+
moduleSpecifier: '@angular/router',
|
|
116
|
+
namedImports: ['ActivatedRoute'],
|
|
117
|
+
});
|
|
118
|
+
const [constructorDeclaration] = (0, schematics_ts_morph_1.CoerceClassConstructor)(classDeclaration);
|
|
119
|
+
(0, schematics_ts_morph_1.CoerceParameterDeclaration)(constructorDeclaration, 'route').set({
|
|
120
|
+
type: 'ActivatedRoute',
|
|
121
|
+
isReadonly: true,
|
|
122
|
+
scope: ts_morph_1.Scope.Private,
|
|
123
|
+
});
|
|
124
|
+
return {
|
|
125
|
+
statements: [
|
|
126
|
+
'const { uuid } = this.route.snapshot.params;',
|
|
127
|
+
'return { parameters: { uuid } };',
|
|
128
|
+
],
|
|
129
|
+
};
|
|
130
|
+
},
|
|
131
|
+
}),
|
|
132
|
+
() => console.log(`Modify the get children proxy method ...`),
|
|
133
|
+
(0, schematics_ts_morph_1.CoerceTreeTableChildrenProxyRemoteMethodClass)({
|
|
134
|
+
project,
|
|
135
|
+
feature,
|
|
136
|
+
shared,
|
|
137
|
+
directory,
|
|
138
|
+
scope,
|
|
139
|
+
getChildrenOperationId: (0, schematics_ts_morph_1.buildOperationId)(normalizedOptions, 'get-children', controllerName),
|
|
140
|
+
tsMorphTransform: (project, sourceFile, classDeclaration) => {
|
|
141
|
+
(0, schematics_ts_morph_1.CoerceImports)(sourceFile, {
|
|
142
|
+
moduleSpecifier: '@angular/router',
|
|
143
|
+
namedImports: ['ActivatedRoute'],
|
|
144
|
+
});
|
|
145
|
+
const [constructorDeclaration] = (0, schematics_ts_morph_1.CoerceClassConstructor)(classDeclaration);
|
|
146
|
+
(0, schematics_ts_morph_1.CoerceParameterDeclaration)(constructorDeclaration, 'route').set({
|
|
147
|
+
type: 'ActivatedRoute',
|
|
148
|
+
isReadonly: true,
|
|
149
|
+
scope: ts_morph_1.Scope.Private,
|
|
150
|
+
});
|
|
151
|
+
return {
|
|
152
|
+
statements: [
|
|
153
|
+
'const { uuid } = this.route.snapshot.params;',
|
|
154
|
+
'return { parameters: { uuid, parentUuid: source.id } };',
|
|
155
|
+
],
|
|
156
|
+
};
|
|
157
|
+
},
|
|
158
|
+
}),
|
|
159
|
+
]);
|
|
160
|
+
}
|
|
161
|
+
function backendRule(normalizedOptions) {
|
|
162
|
+
const { backend } = normalizedOptions;
|
|
163
|
+
switch (backend) {
|
|
164
|
+
case backend_types_1.BackendTypes.NESTJS:
|
|
165
|
+
return nestjsBackendRule(normalizedOptions);
|
|
166
|
+
}
|
|
167
|
+
return (0, schematics_1.noop)();
|
|
168
|
+
}
|
|
169
|
+
function default_1(options) {
|
|
170
|
+
const normalizedOptions = NormalizeAccordionItemTreeTableComponentOptions(options);
|
|
171
|
+
printOptions(normalizedOptions);
|
|
172
|
+
return () => {
|
|
173
|
+
return (0, schematics_1.chain)([
|
|
174
|
+
componentRule(normalizedOptions),
|
|
175
|
+
() => console.log(`Modify accordion item component for type tree table ...`),
|
|
176
|
+
treeTableComponentSchematicRule(normalizedOptions),
|
|
177
|
+
backendRule(normalizedOptions),
|
|
178
|
+
]);
|
|
179
|
+
};
|
|
180
|
+
}
|
|
181
|
+
exports.default = default_1;
|
|
182
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../packages/schematic/angular/src/schematics/accordion/item/accordion-item-tree-table-component/index.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,2DAGoC;AACpC,mEAWmC;AACnC,qEAGoC;AAEpC,uCAKkB;AAClB,qEAGyC;AACzC,iEAA6D;AAC7D,2EA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;KACH,CAAC,CAAC;AAEL,CAAC;AAED,SAAS,WAAW,CAAC,iBAAmE;IAEtF,MAAM,EAAE,OAAO,EAAE,GAAG,iBAAiB,CAAC;IAEtC,QAAQ,OAAO,EAAE;QAEf,KAAK,4BAAY,CAAC,MAAM;YACtB,OAAO,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;KAE/C;IAED,OAAO,IAAA,iBAAI,GAAE,CAAC;AAEhB,CAAC;AAED,mBAAyB,OAA+C;IACtE,MAAM,iBAAiB,GAAG,+CAA+C,CAAC,OAAO,CAAC,CAAC;IACnF,YAAY,CAAC,iBAAiB,CAAC,CAAC;IAChC,OAAO,GAAG,EAAE;QACV,OAAO,IAAA,kBAAK,EAAC;YACX,aAAa,CAAC,iBAAiB,CAAC;YAChC,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,yDAAyD,CAAC;YAC5E,+BAA+B,CAAC,iBAAiB,CAAC;YAClD,WAAW,CAAC,iBAAiB,CAAC;SAC/B,CAAC,CAAC;IACL,CAAC,CAAC;AACJ,CAAC;AAXD,4BAWC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AccordionItemComponentOptions } from '../../accordion-item-component/schema';
|
|
2
|
+
import { TreeTableOptions } from '../../../../lib/tree-table-options';
|
|
3
|
+
|
|
4
|
+
export interface AccordionItemTreeTableComponentOptions
|
|
5
|
+
extends Omit<AccordionItemComponentOptions, 'type'> {
|
|
6
|
+
table: TreeTableOptions;
|
|
7
|
+
}
|