@rxap/schematic-angular 16.1.1-dev.0 → 16.2.0-dev.1
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 +44 -0
- package/README.md +1 -1
- package/collection.json +5 -0
- package/package.json +8 -7
- package/src/lib/accordion-header.d.ts +27 -0
- package/src/lib/accordion-header.js +48 -0
- package/src/lib/accordion-header.js.map +1 -0
- package/src/lib/accordion-identifier.d.ts +10 -0
- package/src/lib/accordion-identifier.js +15 -0
- package/src/lib/accordion-identifier.js.map +1 -0
- package/src/lib/accordion-item.d.ts +77 -4
- package/src/lib/accordion-item.js +151 -20
- package/src/lib/accordion-item.js.map +1 -1
- package/src/lib/accordion-itme-types.d.ts +2 -1
- package/src/lib/accordion-itme-types.js +1 -0
- package/src/lib/accordion-itme-types.js.map +1 -1
- package/src/lib/adapter-options.d.ts +1 -1
- package/src/lib/adapter-options.js +2 -2
- package/src/lib/adapter-options.js.map +1 -1
- package/src/lib/coerce-accordion-component.d.ts +6 -0
- package/src/lib/coerce-accordion-component.js +65 -0
- package/src/lib/coerce-accordion-component.js.map +1 -0
- package/src/lib/coerce-accordion-item-table-component.d.ts +7 -0
- package/src/lib/coerce-accordion-item-table-component.js +41 -0
- package/src/lib/coerce-accordion-item-table-component.js.map +1 -0
- package/src/lib/coerce-form-component.d.ts +6 -0
- package/src/lib/coerce-form-component.js +68 -0
- package/src/lib/coerce-form-component.js.map +1 -0
- package/src/lib/coerce-minimum-table-component.d.ts +6 -0
- package/src/lib/coerce-minimum-table-component.js +95 -0
- package/src/lib/coerce-minimum-table-component.js.map +1 -0
- package/src/lib/coerce-tree-table-component.d.ts +6 -0
- package/src/lib/coerce-tree-table-component.js +12 -0
- package/src/lib/coerce-tree-table-component.js.map +1 -0
- package/src/lib/data-grid-item.d.ts +11 -5
- package/src/lib/data-grid-item.js +4 -18
- package/src/lib/data-grid-item.js.map +1 -1
- package/src/lib/data-grid-options.d.ts +1 -1
- package/src/lib/existing-method.d.ts +1 -1
- package/src/lib/existing-method.js +2 -2
- package/src/lib/existing-method.js.map +1 -1
- package/src/lib/form-component-control.d.ts +9 -10
- package/src/lib/form-component-control.js +3 -34
- package/src/lib/form-component-control.js.map +1 -1
- package/src/lib/form-definition-control.d.ts +50 -6
- package/src/lib/form-definition-control.js +133 -38
- package/src/lib/form-definition-control.js.map +1 -1
- package/src/lib/mat-form-field-default-options.d.ts +7 -0
- package/src/lib/mat-form-field-default-options.js +10 -0
- package/src/lib/mat-form-field-default-options.js.map +1 -0
- package/src/lib/merge-with-column-list.d.ts +3 -0
- package/src/lib/merge-with-column-list.js +18 -0
- package/src/lib/merge-with-column-list.js.map +1 -0
- package/src/lib/minimum-table-component-options.d.ts +3 -3
- package/src/lib/minimum-table-component-options.js +4 -3
- package/src/lib/minimum-table-component-options.js.map +1 -1
- package/src/lib/minimum-table-options.d.ts +11 -6
- package/src/lib/minimum-table-options.js +17 -5
- package/src/lib/minimum-table-options.js.map +1 -1
- package/src/lib/persistent.d.ts +30 -0
- package/src/lib/persistent.js +39 -0
- package/src/lib/persistent.js.map +1 -0
- package/src/lib/table-action.d.ts +3 -1
- package/src/lib/table-action.js.map +1 -1
- package/src/lib/table-column.d.ts +32 -6
- package/src/lib/table-column.js +131 -45
- package/src/lib/table-column.js.map +1 -1
- package/src/lib/table-options.d.ts +10 -3
- package/src/lib/table-options.js +13 -2
- package/src/lib/table-options.js.map +1 -1
- package/src/lib/tree-table-options.d.ts +9 -3
- package/src/lib/tree-table-options.js +12 -2
- package/src/lib/tree-table-options.js.map +1 -1
- package/src/schematics/accordion/accordion-component/files/component/__componentName__.component.html.template +67 -3
- package/src/schematics/accordion/accordion-component/files/header-component/accordion-header.component.html.template +6 -1
- package/src/schematics/accordion/accordion-component/index.d.ts +10 -3
- package/src/schematics/accordion/accordion-component/index.js +125 -54
- package/src/schematics/accordion/accordion-component/index.js.map +1 -1
- package/src/schematics/accordion/accordion-component/schema.d.ts +8 -2
- package/src/schematics/accordion/accordion-component/schema.json +118 -28
- package/src/schematics/accordion/accordion-item-component/index.d.ts +2 -1
- package/src/schematics/accordion/accordion-item-component/index.js +49 -86
- package/src/schematics/accordion/accordion-item-component/index.js.map +1 -1
- package/src/schematics/accordion/accordion-item-component/schema.d.ts +2 -4
- package/src/schematics/accordion/accordion-item-component/schema.json +9 -1
- package/src/schematics/accordion/item/accordion-item-data-grid-component/index.d.ts +2 -3
- package/src/schematics/accordion/item/accordion-item-data-grid-component/index.js +32 -28
- package/src/schematics/accordion/item/accordion-item-data-grid-component/index.js.map +1 -1
- package/src/schematics/accordion/item/accordion-item-data-grid-component/schema.d.ts +2 -5
- package/src/schematics/accordion/item/accordion-item-switch-component/index.d.ts +9 -0
- package/src/schematics/accordion/item/accordion-item-switch-component/index.js +54 -0
- package/src/schematics/accordion/item/accordion-item-switch-component/index.js.map +1 -0
- package/src/schematics/accordion/item/accordion-item-switch-component/schema.d.ts +4 -0
- package/src/schematics/accordion/item/accordion-item-switch-component/schema.json +226 -0
- package/src/schematics/accordion/item/accordion-item-table-component/index.d.ts +2 -3
- package/src/schematics/accordion/item/accordion-item-table-component/index.js +7 -4
- package/src/schematics/accordion/item/accordion-item-table-component/index.js.map +1 -1
- package/src/schematics/accordion/item/accordion-item-table-component/schema.d.ts +2 -5
- package/src/schematics/accordion/item/accordion-item-table-component/schema.json +37 -1
- package/src/schematics/accordion/item/accordion-item-tree-table-component/index.d.ts +2 -3
- package/src/schematics/accordion/item/accordion-item-tree-table-component/index.js +8 -4
- package/src/schematics/accordion/item/accordion-item-tree-table-component/index.js.map +1 -1
- package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.d.ts +2 -5
- package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.json +92 -69
- package/src/schematics/data-grid-component/files/form/__componentName__.component.html.template +1 -1
- package/src/schematics/data-grid-component/files/plain/__componentName__.component.html.template +1 -1
- package/src/schematics/data-grid-component/index.js +54 -24
- package/src/schematics/data-grid-component/index.js.map +1 -1
- package/src/schematics/data-grid-component/schema.json +82 -29
- package/src/schematics/form/control/input-form-control/index.js +7 -2
- package/src/schematics/form/control/input-form-control/index.js.map +1 -1
- package/src/schematics/form/form-component/index.d.ts +4 -2
- package/src/schematics/form/form-component/index.js +5 -2
- package/src/schematics/form/form-component/index.js.map +1 -1
- package/src/schematics/form/form-component/schema.d.ts +3 -1
- package/src/schematics/form/form-component/schema.json +92 -24
- package/src/schematics/form/form-definition/schema.d.ts +1 -1
- package/src/schematics/form/form-definition/schema.json +84 -39
- package/src/schematics/table/table-component/index.d.ts +2 -2
- package/src/schematics/table/table-component/index.js +6 -3
- package/src/schematics/table/table-component/index.js.map +1 -1
- package/src/schematics/table/tree-table-component/index.js +5 -3
- package/src/schematics/table/tree-table-component/index.js.map +1 -1
- package/src/schematics/table/tree-table-component/schema.json +88 -95
- package/src/lib/table-property.d.ts +0 -14
- package/src/lib/table-property.js +0 -46
- package/src/lib/table-property.js.map +0 -1
- package/src/lib/type-import.d.ts +0 -4
- package/src/lib/type-import.js +0 -38
- package/src/lib/type-import.js.map +0 -1
- package/src/schematics/accordion/accordion-component/files/component/__componentName__.component.ts.template +0 -54
- package/src/schematics/accordion/accordion-component/files/header-component/accordion-header.component.ts.template +0 -14
- package/src/schematics/accordion/accordion-item-component/files/component/__componentName__.component.ts.template +0 -30
- package/src/schematics/accordion/item/accordion-item-data-grid-component/files/data-grid/__componentName__.component.ts.template +0 -14
- package/src/schematics/accordion/item/accordion-item-data-grid-component/files/data-grid-collection/__componentName__.component.ts.template +0 -32
- package/src/schematics/accordion/item/accordion-item-table-component/files/component/__componentName__.component.ts.template +0 -35
- package/src/schematics/accordion/item/accordion-item-tree-table-component/files/component/__componentName__.component.ts.template +0 -34
- package/src/schematics/data-grid-component/files/form/__componentName__.component.ts.template +0 -43
- package/src/schematics/data-grid-component/files/plain/__componentName__.component.ts.template +0 -36
- package/src/schematics/form/form-component/files/component/__componentName__.component.ts.template +0 -50
- package/src/schematics/table/table-component/files/component/__componentName__.component.ts.template +0 -112
- package/src/schematics/table/tree-table-component/files/component/__componentName__.component.ts.template +0 -113
|
@@ -0,0 +1,226 @@
|
|
|
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
|
+
"overwrite": {
|
|
33
|
+
"anyOf": [
|
|
34
|
+
{
|
|
35
|
+
"type": "boolean"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"type": "array",
|
|
39
|
+
"items": {
|
|
40
|
+
"type": "string"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"description": "Overwrite existing files",
|
|
45
|
+
"default": false
|
|
46
|
+
},
|
|
47
|
+
"switch": {
|
|
48
|
+
"type": "object",
|
|
49
|
+
"properties": {
|
|
50
|
+
"property": {
|
|
51
|
+
"type": "object",
|
|
52
|
+
"properties": {
|
|
53
|
+
"name": {
|
|
54
|
+
"type": "string"
|
|
55
|
+
},
|
|
56
|
+
"type": {
|
|
57
|
+
"oneOf": [
|
|
58
|
+
{
|
|
59
|
+
"type": "string"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"type": "object",
|
|
63
|
+
"properties": {
|
|
64
|
+
"name": {
|
|
65
|
+
"type": "string"
|
|
66
|
+
},
|
|
67
|
+
"isTypeOnly": {
|
|
68
|
+
"type": "boolean"
|
|
69
|
+
},
|
|
70
|
+
"moduleSpecifier": {
|
|
71
|
+
"type": "string"
|
|
72
|
+
},
|
|
73
|
+
"namedImport": {
|
|
74
|
+
"type": "string"
|
|
75
|
+
},
|
|
76
|
+
"namespaceImport": {
|
|
77
|
+
"type": "string"
|
|
78
|
+
},
|
|
79
|
+
"defaultImport": {
|
|
80
|
+
"type": "string"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"required": [
|
|
84
|
+
"name"
|
|
85
|
+
]
|
|
86
|
+
}
|
|
87
|
+
]
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"required": [
|
|
91
|
+
"name"
|
|
92
|
+
]
|
|
93
|
+
},
|
|
94
|
+
"defaultCase": {
|
|
95
|
+
"type": "object",
|
|
96
|
+
"properties": {
|
|
97
|
+
"itemList": {
|
|
98
|
+
"alias": "item",
|
|
99
|
+
"type": "array",
|
|
100
|
+
"items": {
|
|
101
|
+
"oneOf": [
|
|
102
|
+
{
|
|
103
|
+
"type": "string"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"type": "object",
|
|
107
|
+
"properties": {
|
|
108
|
+
"name": {
|
|
109
|
+
"type": "string"
|
|
110
|
+
},
|
|
111
|
+
"type": {
|
|
112
|
+
"type": "string",
|
|
113
|
+
"enum": [
|
|
114
|
+
"panel",
|
|
115
|
+
"table",
|
|
116
|
+
"data-grid",
|
|
117
|
+
"data-grid-collection",
|
|
118
|
+
"tree-table",
|
|
119
|
+
"switch"
|
|
120
|
+
]
|
|
121
|
+
},
|
|
122
|
+
"modifiers": {
|
|
123
|
+
"type": "array",
|
|
124
|
+
"default": [],
|
|
125
|
+
"items": {
|
|
126
|
+
"type": "string"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"title": {
|
|
130
|
+
"type": "string"
|
|
131
|
+
},
|
|
132
|
+
"description": {
|
|
133
|
+
"type": "string"
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"additionalProperties": true,
|
|
137
|
+
"required": ["name"]
|
|
138
|
+
}
|
|
139
|
+
],
|
|
140
|
+
"description": "The name of the accordion expansion panel"
|
|
141
|
+
},
|
|
142
|
+
"description": "The list of accordion expansion panels"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"required": ["itemList"]
|
|
146
|
+
},
|
|
147
|
+
"case": {
|
|
148
|
+
"type": "array",
|
|
149
|
+
"items": {
|
|
150
|
+
"type": "object",
|
|
151
|
+
"properties": {
|
|
152
|
+
"test": {
|
|
153
|
+
"anyOf": [
|
|
154
|
+
{
|
|
155
|
+
"type": "string"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"type": "number"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"type": "boolean"
|
|
162
|
+
}
|
|
163
|
+
]
|
|
164
|
+
},
|
|
165
|
+
"itemList": {
|
|
166
|
+
"alias": "item",
|
|
167
|
+
"type": "array",
|
|
168
|
+
"items": {
|
|
169
|
+
"oneOf": [
|
|
170
|
+
{
|
|
171
|
+
"type": "string"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"type": "object",
|
|
175
|
+
"properties": {
|
|
176
|
+
"name": {
|
|
177
|
+
"type": "string"
|
|
178
|
+
},
|
|
179
|
+
"type": {
|
|
180
|
+
"type": "string",
|
|
181
|
+
"enum": [
|
|
182
|
+
"panel",
|
|
183
|
+
"table",
|
|
184
|
+
"data-grid",
|
|
185
|
+
"data-grid-collection",
|
|
186
|
+
"tree-table",
|
|
187
|
+
"switch"
|
|
188
|
+
]
|
|
189
|
+
},
|
|
190
|
+
"modifiers": {
|
|
191
|
+
"type": "array",
|
|
192
|
+
"default": [],
|
|
193
|
+
"items": {
|
|
194
|
+
"type": "string"
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
"title": {
|
|
198
|
+
"type": "string"
|
|
199
|
+
},
|
|
200
|
+
"description": {
|
|
201
|
+
"type": "string"
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
"additionalProperties": true,
|
|
205
|
+
"required": ["name"]
|
|
206
|
+
}
|
|
207
|
+
],
|
|
208
|
+
"description": "The name of the accordion expansion panel"
|
|
209
|
+
},
|
|
210
|
+
"description": "The list of accordion expansion panels"
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"required": ["test", "itemList"]
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
"required": ["property", "case"]
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
"required": [
|
|
221
|
+
"itemName",
|
|
222
|
+
"project",
|
|
223
|
+
"feature",
|
|
224
|
+
"accordionName"
|
|
225
|
+
]
|
|
226
|
+
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { Normalized } from '@rxap/utilities';
|
|
2
|
+
import { NormalizedTableAccordionItem } from '../../../../lib/accordion-item';
|
|
2
3
|
import { NormalizedAngularOptions } from '../../../../lib/angular-options';
|
|
3
|
-
import { NormalizedTableOptions } from '../../../../lib/table-options';
|
|
4
4
|
import { NormalizedAccordionItemStandaloneComponentOptions } from '../../accordion-item-component';
|
|
5
5
|
import { AccordionItemTableComponentOptions } from './schema';
|
|
6
|
-
export interface NormalizedAccordionItemTableComponentOptions extends Omit<Readonly<Normalized<AccordionItemTableComponentOptions> & NormalizedAngularOptions & NormalizedAccordionItemStandaloneComponentOptions>, 'table'> {
|
|
7
|
-
table: NormalizedTableOptions;
|
|
6
|
+
export interface NormalizedAccordionItemTableComponentOptions extends Omit<Readonly<Normalized<AccordionItemTableComponentOptions> & NormalizedAngularOptions & NormalizedAccordionItemStandaloneComponentOptions>, 'table' | 'importList'>, Omit<NormalizedTableAccordionItem, 'type'> {
|
|
8
7
|
}
|
|
9
8
|
export declare function NormalizeAccordionItemTableComponentOptions(options: Readonly<AccordionItemTableComponentOptions>): Readonly<NormalizedAccordionItemTableComponentOptions>;
|
|
10
9
|
export default function (options: AccordionItemTableComponentOptions): () => import("@angular-devkit/schematics").Rule;
|
|
@@ -5,14 +5,16 @@ const core_1 = require("@angular-devkit/core");
|
|
|
5
5
|
const schematics_1 = require("@angular-devkit/schematics");
|
|
6
6
|
const schematics_ts_morph_1 = require("@rxap/schematics-ts-morph");
|
|
7
7
|
const schematics_utilities_1 = require("@rxap/schematics-utilities");
|
|
8
|
+
const accordion_item_1 = require("../../../../lib/accordion-item");
|
|
9
|
+
const accordion_itme_types_1 = require("../../../../lib/accordion-itme-types");
|
|
8
10
|
const angular_options_1 = require("../../../../lib/angular-options");
|
|
9
11
|
const backend_types_1 = require("../../../../lib/backend-types");
|
|
12
|
+
const coerce_accordion_item_table_component_1 = require("../../../../lib/coerce-accordion-item-table-component");
|
|
10
13
|
const table_options_1 = require("../../../../lib/table-options");
|
|
11
14
|
const accordion_item_component_1 = require("../../accordion-item-component");
|
|
12
15
|
function NormalizeAccordionItemTableComponentOptions(options) {
|
|
13
16
|
const normalizedAccordionItemComponentOptions = (0, accordion_item_component_1.NormalizeAccordionItemStandaloneComponentOptions)(options);
|
|
14
|
-
|
|
15
|
-
return Object.freeze(Object.assign(Object.assign({}, normalizedAccordionItemComponentOptions), { table: (0, table_options_1.NormalizeTableOptions)(options.table, itemName) }));
|
|
17
|
+
return Object.freeze(Object.assign(Object.assign({}, normalizedAccordionItemComponentOptions), (0, accordion_item_1.NormalizeTableAccordionItem)(Object.assign(Object.assign({}, options), { type: accordion_itme_types_1.AccordionItemTypes.Table }))));
|
|
16
18
|
}
|
|
17
19
|
exports.NormalizeAccordionItemTableComponentOptions = NormalizeAccordionItemTableComponentOptions;
|
|
18
20
|
function printOptions(options) {
|
|
@@ -23,7 +25,8 @@ function componentRule(normalizedOptions) {
|
|
|
23
25
|
const templateOptions = Object.assign(Object.assign(Object.assign(Object.assign({}, core_1.strings), normalizedOptions), { name: itemName }), (0, accordion_item_component_1.GetItemOptions)(normalizedOptions));
|
|
24
26
|
return (0, schematics_1.chain)([
|
|
25
27
|
() => console.log(`Coerce accordion item component ...`),
|
|
26
|
-
(0,
|
|
28
|
+
(0, coerce_accordion_item_table_component_1.CoerceAccordionItemTableComponentRule)({
|
|
29
|
+
accordionItem: normalizedOptions,
|
|
27
30
|
name: componentName,
|
|
28
31
|
project,
|
|
29
32
|
feature,
|
|
@@ -49,7 +52,7 @@ function tableComponentSchematicRule(normalizedOptions) {
|
|
|
49
52
|
feature,
|
|
50
53
|
directory: hasSharedModifier ? undefined : directory,
|
|
51
54
|
nestModule: hasSharedModifier ? undefined : nestModule,
|
|
52
|
-
modifiers: [
|
|
55
|
+
modifiers: [table_options_1.TableModifiers.WITHOUT_TITLE, ...(_a = table === null || table === void 0 ? void 0 : table.modifiers) !== null && _a !== void 0 ? _a : []],
|
|
53
56
|
overwrite,
|
|
54
57
|
backend,
|
|
55
58
|
columnList: (_b = table === null || table === void 0 ? void 0 : table.columnList) !== null && _b !== void 0 ? _b : [],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../packages/schematic/angular/src/schematics/accordion/item/accordion-item-table-component/index.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,2DAGoC;AACpC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../packages/schematic/angular/src/schematics/accordion/item/accordion-item-table-component/index.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,2DAGoC;AACpC,mEAAmE;AACnE,qEAA8D;AAE9D,mEAGwC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,IAAA,4CAAsB,EAAC;YACrB,cAAc,EAAE,QAAQ;YACxB,UAAU,EAAE,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,UAAU;YACtD,OAAO;YACP,OAAO;YACP,MAAM,EAAE,iBAAiB;YACzB,SAAS,EAAE;gBACT;oBACE,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE,QAAQ;oBACd,UAAU,EAAE,CAAC,iBAAiB;iBAC/B;aACF;YACD,YAAY,EAAE,EAAE;YAChB,UAAU,EAAE,IAAI;SACjB,CAAC;KACH,CAAC,CAAC;AAEL,CAAC;AAED,SAAS,WAAW,CAAC,iBAA+D;IAElF,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,OAA2C;IAClE,MAAM,iBAAiB,GAAG,2CAA2C,CAAC,OAAO,CAAC,CAAC;IAC/E,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,oDAAoD,CAAC;YACvE,2BAA2B,CAAC,iBAAiB,CAAC;YAC9C,WAAW,CAAC,iBAAiB,CAAC;SAC/B,CAAC,CAAC;IACL,CAAC,CAAC;AACJ,CAAC;AAXD,4BAWC"}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
+
import { TableAccordionItem } from '../../../../lib/accordion-item';
|
|
1
2
|
import { AccordionItemComponentOptions } from '../../accordion-item-component/schema';
|
|
2
|
-
import { TableOptions } from '../../../../lib/table-options';
|
|
3
3
|
|
|
4
|
-
export
|
|
5
|
-
extends Omit<AccordionItemComponentOptions, 'type'> {
|
|
6
|
-
table: TableOptions;
|
|
7
|
-
}
|
|
4
|
+
export type AccordionItemTableComponentOptions = Omit<TableAccordionItem & AccordionItemComponentOptions, 'type'>;
|
|
@@ -124,7 +124,37 @@
|
|
|
124
124
|
"type": "string"
|
|
125
125
|
},
|
|
126
126
|
"type": {
|
|
127
|
-
"
|
|
127
|
+
"oneOf": [
|
|
128
|
+
{
|
|
129
|
+
"type": "string"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"type": "object",
|
|
133
|
+
"properties": {
|
|
134
|
+
"name": {
|
|
135
|
+
"type": "string"
|
|
136
|
+
},
|
|
137
|
+
"isTypeOnly": {
|
|
138
|
+
"type": "boolean"
|
|
139
|
+
},
|
|
140
|
+
"moduleSpecifier": {
|
|
141
|
+
"type": "string"
|
|
142
|
+
},
|
|
143
|
+
"namedImport": {
|
|
144
|
+
"type": "string"
|
|
145
|
+
},
|
|
146
|
+
"namespaceImport": {
|
|
147
|
+
"type": "string"
|
|
148
|
+
},
|
|
149
|
+
"defaultImport": {
|
|
150
|
+
"type": "string"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"required": [
|
|
154
|
+
"name"
|
|
155
|
+
]
|
|
156
|
+
}
|
|
157
|
+
]
|
|
128
158
|
},
|
|
129
159
|
"role": {
|
|
130
160
|
"type": "string"
|
|
@@ -170,6 +200,12 @@
|
|
|
170
200
|
"hasFilter": {
|
|
171
201
|
"type": "boolean"
|
|
172
202
|
},
|
|
203
|
+
"nowrap": {
|
|
204
|
+
"type": "boolean"
|
|
205
|
+
},
|
|
206
|
+
"cssClass": {
|
|
207
|
+
"type": "string"
|
|
208
|
+
},
|
|
173
209
|
"title": {
|
|
174
210
|
"type": "string"
|
|
175
211
|
},
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { Normalized } from '@rxap/utilities';
|
|
2
|
+
import { NormalizedTreeTableAccordionItem } from '../../../../lib/accordion-item';
|
|
2
3
|
import { NormalizedAngularOptions } from '../../../../lib/angular-options';
|
|
3
|
-
import { NormalizedTreeTableOptions } from '../../../../lib/tree-table-options';
|
|
4
4
|
import { NormalizedAccordionItemStandaloneComponentOptions } from '../../accordion-item-component';
|
|
5
5
|
import { AccordionItemTreeTableComponentOptions } from './schema';
|
|
6
|
-
export interface NormalizedAccordionItemTreeTableComponentOptions extends Omit<Readonly<Normalized<AccordionItemTreeTableComponentOptions> & NormalizedAngularOptions & NormalizedAccordionItemStandaloneComponentOptions>, 'table'> {
|
|
7
|
-
table: NormalizedTreeTableOptions;
|
|
6
|
+
export interface NormalizedAccordionItemTreeTableComponentOptions extends Omit<Readonly<Normalized<AccordionItemTreeTableComponentOptions> & NormalizedAngularOptions & NormalizedAccordionItemStandaloneComponentOptions>, 'table' | 'importList'>, Omit<NormalizedTreeTableAccordionItem, 'type'> {
|
|
8
7
|
}
|
|
9
8
|
export declare function NormalizeAccordionItemTreeTableComponentOptions(options: Readonly<AccordionItemTreeTableComponentOptions>): Readonly<NormalizedAccordionItemTreeTableComponentOptions>;
|
|
10
9
|
export default function (options: AccordionItemTreeTableComponentOptions): () => import("@angular-devkit/schematics").Rule;
|
|
@@ -6,14 +6,16 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
6
6
|
const schematics_ts_morph_1 = require("@rxap/schematics-ts-morph");
|
|
7
7
|
const schematics_utilities_1 = require("@rxap/schematics-utilities");
|
|
8
8
|
const ts_morph_1 = require("ts-morph");
|
|
9
|
+
const accordion_item_1 = require("../../../../lib/accordion-item");
|
|
10
|
+
const accordion_itme_types_1 = require("../../../../lib/accordion-itme-types");
|
|
9
11
|
const angular_options_1 = require("../../../../lib/angular-options");
|
|
10
12
|
const backend_types_1 = require("../../../../lib/backend-types");
|
|
13
|
+
const coerce_accordion_item_table_component_1 = require("../../../../lib/coerce-accordion-item-table-component");
|
|
11
14
|
const tree_table_options_1 = require("../../../../lib/tree-table-options");
|
|
12
15
|
const accordion_item_component_1 = require("../../accordion-item-component");
|
|
13
16
|
function NormalizeAccordionItemTreeTableComponentOptions(options) {
|
|
14
17
|
const normalizedAccordionItemComponentOptions = (0, accordion_item_component_1.NormalizeAccordionItemStandaloneComponentOptions)(options);
|
|
15
|
-
|
|
16
|
-
return Object.freeze(Object.assign(Object.assign({}, normalizedAccordionItemComponentOptions), { table: (0, tree_table_options_1.NormalizeTreeTableOptions)(options.table, itemName) }));
|
|
18
|
+
return Object.freeze(Object.assign(Object.assign({}, normalizedAccordionItemComponentOptions), (0, accordion_item_1.NormalizeTreeTableAccordionItem)(Object.assign(Object.assign({}, options), { type: accordion_itme_types_1.AccordionItemTypes.TreeTable }))));
|
|
17
19
|
}
|
|
18
20
|
exports.NormalizeAccordionItemTreeTableComponentOptions = NormalizeAccordionItemTreeTableComponentOptions;
|
|
19
21
|
function printOptions(options) {
|
|
@@ -24,7 +26,9 @@ function componentRule(normalizedOptions) {
|
|
|
24
26
|
const templateOptions = Object.assign(Object.assign(Object.assign(Object.assign({}, core_1.strings), normalizedOptions), { name: itemName }), (0, accordion_item_component_1.GetItemOptions)(normalizedOptions));
|
|
25
27
|
return (0, schematics_1.chain)([
|
|
26
28
|
() => console.log(`Coerce accordion item component ...`),
|
|
27
|
-
(0,
|
|
29
|
+
(0, coerce_accordion_item_table_component_1.CoerceAccordionItemTableComponentRule)({
|
|
30
|
+
accordionItem: normalizedOptions,
|
|
31
|
+
tableComponentSuffix: 'tree-table',
|
|
28
32
|
name: componentName,
|
|
29
33
|
project,
|
|
30
34
|
feature,
|
|
@@ -54,7 +58,7 @@ function treeTableComponentSchematicRule(normalizedOptions) {
|
|
|
54
58
|
title: table === null || table === void 0 ? void 0 : table.title,
|
|
55
59
|
headerButton: table === null || table === void 0 ? void 0 : table.headerButton,
|
|
56
60
|
nestModule: hasSharedModifier ? undefined : nestModule,
|
|
57
|
-
modifiers: [
|
|
61
|
+
modifiers: [tree_table_options_1.TreeTableModifiers.WITHOUT_TITLE, ...(_c = table === null || table === void 0 ? void 0 : table.modifiers) !== null && _c !== void 0 ? _c : []],
|
|
58
62
|
tableChildMethod: table.tableChildMethod,
|
|
59
63
|
tableRootMethod: table.tableRootMethod,
|
|
60
64
|
overwrite,
|
|
@@ -1 +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,
|
|
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,mEAUmC;AACnC,qEAGoC;AAEpC,uCAKkB;AAClB,mEAGwC;AACxC,+EAA0E;AAC1E,qEAGyC;AACzC,iEAA6D;AAC7D,iHAA8G;AAC9G,2EAAwE;AACxE,6EAIwC;AAOxC,SAAgB,+CAA+C,CAC7D,OAAyD;IAEzD,MAAM,uCAAuC,GAAG,IAAA,2EAAgD,EAAC,OAAO,CAAC,CAAC;IAC1G,OAAO,MAAM,CAAC,MAAM,iCACf,uCAAuC,GACvC,IAAA,gDAA+B,kCAC7B,OAAO,KACV,IAAI,EAAE,yCAAkB,CAAC,SAAS,IAClC,EACF,CAAC;AACL,CAAC;AAXD,0GAWC;AAED,SAAS,YAAY,CAAC,OAAyD;IAC7E,IAAA,qCAAmB,EAAC,qCAAqC,EAAE,OAAO,CAAC,CAAC;AACtE,CAAC;AAGD,SAAS,aAAa,CAAC,iBAAmE;IACxF,MAAM,EACJ,aAAa,EACb,OAAO,EACP,OAAO,EACP,SAAS,EACT,MAAM,EACN,SAAS,EACT,QAAQ,GACT,GAAG,iBAAiB,CAAC;IACtB,MAAM,eAAe,+DAChB,cAAO,GACP,iBAAiB,KACpB,IAAI,EAAE,QAAQ,KACX,IAAA,yCAAc,EAAC,iBAAiB,CAAC,CACrC,CAAC;IACF,OAAO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AACJ,CAAC;AAXD,4BAWC"}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
+
import { TreeTableAccordionItem } from '../../../../lib/accordion-item';
|
|
1
2
|
import { AccordionItemComponentOptions } from '../../accordion-item-component/schema';
|
|
2
|
-
import { TreeTableOptions } from '../../../../lib/tree-table-options';
|
|
3
3
|
|
|
4
|
-
export
|
|
5
|
-
extends Omit<AccordionItemComponentOptions, 'type'> {
|
|
6
|
-
table: TreeTableOptions;
|
|
7
|
-
}
|
|
4
|
+
export type AccordionItemTreeTableComponentOptions = Omit<TreeTableAccordionItem & AccordionItemComponentOptions, 'type'>
|
|
@@ -130,86 +130,109 @@
|
|
|
130
130
|
"alias": "column",
|
|
131
131
|
"type": "array",
|
|
132
132
|
"items": {
|
|
133
|
-
"
|
|
134
|
-
|
|
133
|
+
"type": "object",
|
|
134
|
+
"properties": {
|
|
135
|
+
"name": {
|
|
135
136
|
"type": "string"
|
|
136
137
|
},
|
|
137
|
-
{
|
|
138
|
-
"
|
|
139
|
-
|
|
140
|
-
"name": {
|
|
141
|
-
"type": "string"
|
|
142
|
-
},
|
|
143
|
-
"type": {
|
|
138
|
+
"type": {
|
|
139
|
+
"oneOf": [
|
|
140
|
+
{
|
|
144
141
|
"type": "string"
|
|
145
142
|
},
|
|
146
|
-
|
|
147
|
-
"type": "
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
143
|
+
{
|
|
144
|
+
"type": "object",
|
|
145
|
+
"properties": {
|
|
146
|
+
"name": {
|
|
147
|
+
"type": "string"
|
|
148
|
+
},
|
|
149
|
+
"isTypeOnly": {
|
|
150
|
+
"type": "boolean"
|
|
151
|
+
},
|
|
152
|
+
"moduleSpecifier": {
|
|
153
|
+
"type": "string"
|
|
154
|
+
},
|
|
155
|
+
"namedImport": {
|
|
156
|
+
"type": "string"
|
|
157
|
+
},
|
|
158
|
+
"namespaceImport": {
|
|
159
|
+
"type": "string"
|
|
160
|
+
},
|
|
161
|
+
"defaultImport": {
|
|
162
|
+
"type": "string"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"required": [
|
|
166
|
+
"name"
|
|
167
|
+
]
|
|
168
|
+
}
|
|
169
|
+
]
|
|
170
|
+
},
|
|
171
|
+
"role": {
|
|
172
|
+
"type": "string"
|
|
173
|
+
},
|
|
174
|
+
"modifiers": {
|
|
175
|
+
"type": "array",
|
|
176
|
+
"items": {
|
|
177
|
+
"type": "string"
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
"template": {
|
|
181
|
+
"type": "string"
|
|
182
|
+
},
|
|
183
|
+
"pipeList": {
|
|
184
|
+
"type": "array",
|
|
185
|
+
"items": {
|
|
186
|
+
"oneOf": [
|
|
187
|
+
{
|
|
152
188
|
"type": "string"
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
"pipeList": {
|
|
159
|
-
"type": "array",
|
|
160
|
-
"items": {
|
|
161
|
-
"oneOf": [
|
|
162
|
-
{
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"type": "object",
|
|
192
|
+
"properties": {
|
|
193
|
+
"name": {
|
|
163
194
|
"type": "string"
|
|
164
195
|
},
|
|
165
|
-
{
|
|
166
|
-
"type": "
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
},
|
|
171
|
-
"namedImport": {
|
|
172
|
-
"type": "string"
|
|
173
|
-
},
|
|
174
|
-
"moduleSpecifier": {
|
|
175
|
-
"type": "string"
|
|
176
|
-
}
|
|
177
|
-
},
|
|
178
|
-
"required": [
|
|
179
|
-
"name",
|
|
180
|
-
"namedImport",
|
|
181
|
-
"moduleSpecifier"
|
|
182
|
-
]
|
|
196
|
+
"namedImport": {
|
|
197
|
+
"type": "string"
|
|
198
|
+
},
|
|
199
|
+
"moduleSpecifier": {
|
|
200
|
+
"type": "string"
|
|
183
201
|
}
|
|
202
|
+
},
|
|
203
|
+
"required": [
|
|
204
|
+
"name",
|
|
205
|
+
"namedImport",
|
|
206
|
+
"moduleSpecifier"
|
|
184
207
|
]
|
|
185
208
|
}
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
"required": [
|
|
210
|
-
"name"
|
|
211
|
-
]
|
|
209
|
+
]
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
"hasFilter": {
|
|
213
|
+
"type": "boolean"
|
|
214
|
+
},
|
|
215
|
+
"title": {
|
|
216
|
+
"type": "string"
|
|
217
|
+
},
|
|
218
|
+
"propertyPath": {
|
|
219
|
+
"type": "string"
|
|
220
|
+
},
|
|
221
|
+
"hidden": {
|
|
222
|
+
"type": "boolean"
|
|
223
|
+
},
|
|
224
|
+
"active": {
|
|
225
|
+
"type": "boolean"
|
|
226
|
+
},
|
|
227
|
+
"inactive": {
|
|
228
|
+
"type": "boolean"
|
|
229
|
+
},
|
|
230
|
+
"show": {
|
|
231
|
+
"type": "boolean"
|
|
212
232
|
}
|
|
233
|
+
},
|
|
234
|
+
"required": [
|
|
235
|
+
"name"
|
|
213
236
|
],
|
|
214
237
|
"description": "table column name"
|
|
215
238
|
},
|