@rxap/schematic-angular 16.2.0-dev.22 → 16.2.0-dev.24
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 +20 -0
- package/README.md +1 -1
- package/package.json +13 -13
- package/src/lib/accordion-header.js +7 -4
- package/src/lib/accordion-header.js.map +1 -1
- package/src/lib/accordion-identifier.d.ts +2 -2
- package/src/lib/accordion-identifier.js +2 -1
- package/src/lib/accordion-identifier.js.map +1 -1
- package/src/lib/accordion-item.js +17 -17
- package/src/lib/accordion-item.js.map +1 -1
- package/src/lib/coerce-form-component.js +3 -2
- package/src/lib/coerce-form-component.js.map +1 -1
- package/src/lib/css-class.d.ts +8 -0
- package/src/lib/css-class.js +28 -0
- package/src/lib/css-class.js.map +1 -0
- package/src/lib/data-grid-item.js +15 -10
- package/src/lib/data-grid-item.js.map +1 -1
- package/src/lib/form/control/autocomplete-table-select-form-control.js +11 -1
- package/src/lib/form/control/autocomplete-table-select-form-control.js.map +1 -1
- package/src/lib/form/control/table-select-form-control.d.ts +3 -0
- package/src/lib/form/control/table-select-form-control.js +11 -1
- package/src/lib/form/control/table-select-form-control.js.map +1 -1
- package/src/lib/load-handlebars-template.d.ts +1 -0
- package/src/lib/load-handlebars-template.js +5 -1
- package/src/lib/load-handlebars-template.js.map +1 -1
- package/src/lib/minimum-table-options.d.ts +6 -0
- package/src/lib/minimum-table-options.js +9 -0
- package/src/lib/minimum-table-options.js.map +1 -1
- package/src/lib/table/table-filter-column-rule.js +2 -3
- package/src/lib/table/table-filter-column-rule.js.map +1 -1
- package/src/lib/table-action.js.map +1 -1
- package/src/lib/table-column.d.ts +3 -1
- package/src/lib/table-column.js +7 -3
- package/src/lib/table-column.js.map +1 -1
- package/src/lib/table-row-action.d.ts +4 -2
- package/src/lib/table-row-action.js +8 -7
- package/src/lib/table-row-action.js.map +1 -1
- package/src/schema.json +279 -167
- package/src/schematics/accordion/accordion-component/schema.json +1427 -116
- package/src/schematics/accordion/accordion-item-component/schema.json +1427 -116
- package/src/schematics/accordion/item/accordion-item-data-grid-component/schema.json +72 -62
- package/src/schematics/accordion/item/accordion-item-data-grid-component/template.schema.json +3 -14
- package/src/schematics/accordion/item/accordion-item-switch-component/schema.json +1411 -166
- package/src/schematics/accordion/item/accordion-item-switch-component/template.schema.json +3 -64
- package/src/schematics/accordion/item/accordion-item-table-component/schema.json +119 -77
- package/src/schematics/accordion/item/accordion-item-table-component/template.schema.json +3 -26
- package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.json +119 -77
- package/src/schematics/accordion/item/accordion-item-tree-table-component/template.schema.json +3 -26
- package/src/schematics/accordion-identifier.schema.json +1 -2
- package/src/schematics/accordion-item.schema.json +43 -50
- package/src/schematics/autocomplete-table-select-form-control.schema.json +1 -1
- package/src/schematics/base-accordion-item.schema.json +52 -0
- package/src/schematics/css-class.schema.json +34 -0
- package/src/schematics/data-grid-accordion-item.schema.json +34 -0
- package/src/schematics/data-grid-component/index.js +9 -4
- package/src/schematics/data-grid-component/index.js.map +1 -1
- package/src/schematics/data-grid-component/schema.json +6 -7
- package/src/schematics/form/control/autocomplete-table-select-form-control/index.js +8 -6
- package/src/schematics/form/control/autocomplete-table-select-form-control/index.js.map +1 -1
- package/src/schematics/form/control/autocomplete-table-select-form-control/schema.json +2 -5
- package/src/schematics/form/control/input-form-control/schema.json +1 -4
- package/src/schematics/form/control/select-form-control/schema.json +1 -4
- package/src/schematics/form/control/table-select-form-control/index.js +8 -6
- package/src/schematics/form/control/table-select-form-control/index.js.map +1 -1
- package/src/schematics/form/control/table-select-form-control/schema.json +21 -4
- package/src/schematics/form/form-array/schema.json +22 -5
- package/src/schematics/form/form-component/schema.json +6 -7
- package/src/schematics/form/form-control/schema.json +22 -5
- package/src/schematics/form/form-definition/schema.json +22 -5
- package/src/schematics/form/form-group/schema.json +22 -5
- package/src/schematics/minimum-table.schema.json +12 -0
- package/src/schematics/property.schema.json +1 -4
- package/src/schematics/switch-accordion-item.schema.json +82 -0
- package/src/schematics/table/action/dialog-table-action/schema.json +33 -2
- package/src/schematics/table/action/form-table-action/schema.json +39 -9
- package/src/schematics/table/action/navigation-table-action/schema.json +33 -2
- package/src/schematics/table/action/open-api-table-action/schema.json +33 -2
- package/src/schematics/table/action/operation-table-action/schema.json +33 -2
- package/src/schematics/table/header-button/form-table-header-button/schema.json +6 -7
- package/src/schematics/table/table-action/schema.json +33 -2
- package/src/schematics/table/table-component/files/component/__componentName__.component.html.hbs +11 -9
- package/src/schematics/table/table-component/index.d.ts +0 -3
- package/src/schematics/table/table-component/index.js +2 -9
- package/src/schematics/table/table-component/index.js.map +1 -1
- package/src/schematics/table/table-component/schema.json +62 -8
- package/src/schematics/table/templates/boolean-table-column.hbs +3 -2
- package/src/schematics/table/templates/component-table-column.hbs +3 -2
- package/src/schematics/table/templates/copy-to-clipboard-table-column.hbs +3 -2
- package/src/schematics/table/templates/date-table-column.hbs +3 -2
- package/src/schematics/table/templates/default-table-column.hbs +4 -1
- package/src/schematics/table/templates/icon-table-column.hbs +3 -2
- package/src/schematics/table/templates/link-table-column.hbs +3 -2
- package/src/schematics/table/tree-table-component/files/component/__componentName__.component.html.hbs +13 -11
- package/src/schematics/table/tree-table-component/index.js +1 -0
- package/src/schematics/table/tree-table-component/index.js.map +1 -1
- package/src/schematics/table/tree-table-component/schema.json +62 -8
- package/src/schematics/table-accordion-item.schema.json +41 -0
- package/src/schematics/table-action.schema.json +7 -3
- package/src/schematics/table-column.schema.json +4 -1
- package/src/schematics/table-select-form-control.schema.json +6 -0
- package/src/schematics/templates/css-class.hbs +1 -0
- package/src/schematics/tree-table-accordion-item.schema.json +41 -0
- package/src/template.schema.json +18 -0
|
@@ -82,6 +82,23 @@
|
|
|
82
82
|
}
|
|
83
83
|
]
|
|
84
84
|
},
|
|
85
|
+
"accordionIdentifier": {
|
|
86
|
+
"type": "object",
|
|
87
|
+
"properties": {
|
|
88
|
+
"property": {
|
|
89
|
+
"$ref": "#/definitions/property"
|
|
90
|
+
},
|
|
91
|
+
"source": {
|
|
92
|
+
"type": "string",
|
|
93
|
+
"enum": [
|
|
94
|
+
"route"
|
|
95
|
+
]
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"required": [
|
|
99
|
+
"property"
|
|
100
|
+
]
|
|
101
|
+
},
|
|
85
102
|
"angular": {
|
|
86
103
|
"allOf": [
|
|
87
104
|
{
|
|
@@ -146,7 +163,7 @@
|
|
|
146
163
|
},
|
|
147
164
|
"kind": {
|
|
148
165
|
"type": "string",
|
|
149
|
-
"const": "table-select"
|
|
166
|
+
"const": "autocomplete-table-select"
|
|
150
167
|
},
|
|
151
168
|
"placeholder": {
|
|
152
169
|
"type": "string"
|
|
@@ -290,6 +307,38 @@
|
|
|
290
307
|
}
|
|
291
308
|
]
|
|
292
309
|
},
|
|
310
|
+
"cssClass": {
|
|
311
|
+
"oneOf": [
|
|
312
|
+
{
|
|
313
|
+
"type": "string"
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"type": "array",
|
|
317
|
+
"items": {
|
|
318
|
+
"type": "string"
|
|
319
|
+
}
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"type": "object",
|
|
323
|
+
"properties": {
|
|
324
|
+
"name": {
|
|
325
|
+
"type": "string"
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"type": "array",
|
|
331
|
+
"items": {
|
|
332
|
+
"type": "object",
|
|
333
|
+
"properties": {
|
|
334
|
+
"name": {
|
|
335
|
+
"type": "string"
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
]
|
|
341
|
+
},
|
|
293
342
|
"formControl": {
|
|
294
343
|
"allOf": [
|
|
295
344
|
{
|
|
@@ -525,6 +574,12 @@
|
|
|
525
574
|
"type": "string"
|
|
526
575
|
},
|
|
527
576
|
"description": "The table modifiers"
|
|
577
|
+
},
|
|
578
|
+
"cssClass": {
|
|
579
|
+
"$ref": "#/definitions/cssClass"
|
|
580
|
+
},
|
|
581
|
+
"identifier": {
|
|
582
|
+
"$ref": "#/definitions/accordionIdentifier"
|
|
528
583
|
}
|
|
529
584
|
}
|
|
530
585
|
},
|
|
@@ -573,10 +628,7 @@
|
|
|
573
628
|
"isArray": {
|
|
574
629
|
"type": "boolean"
|
|
575
630
|
}
|
|
576
|
-
}
|
|
577
|
-
"required": [
|
|
578
|
-
"name"
|
|
579
|
-
]
|
|
631
|
+
}
|
|
580
632
|
}
|
|
581
633
|
]
|
|
582
634
|
},
|
|
@@ -705,8 +757,7 @@
|
|
|
705
757
|
"description": "Value for the color input of the mat-button / mat-icon component"
|
|
706
758
|
},
|
|
707
759
|
"cssClass": {
|
|
708
|
-
"
|
|
709
|
-
"description": "Additional CSS classes added to the button element"
|
|
760
|
+
"$ref": "#/definitions/cssClass"
|
|
710
761
|
},
|
|
711
762
|
"options": {
|
|
712
763
|
"type": "object",
|
|
@@ -751,7 +802,7 @@
|
|
|
751
802
|
"type": "boolean"
|
|
752
803
|
},
|
|
753
804
|
"cssClass": {
|
|
754
|
-
"
|
|
805
|
+
"$ref": "#/definitions/cssClass"
|
|
755
806
|
},
|
|
756
807
|
"title": {
|
|
757
808
|
"type": "string"
|
|
@@ -854,6 +905,9 @@
|
|
|
854
905
|
"$ref": "#/definitions/upstream"
|
|
855
906
|
}
|
|
856
907
|
}
|
|
908
|
+
},
|
|
909
|
+
"identifier": {
|
|
910
|
+
"$ref": "#/definitions/accordionIdentifier"
|
|
857
911
|
}
|
|
858
912
|
}
|
|
859
913
|
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "table-accordion-item",
|
|
4
|
+
"allOf": [
|
|
5
|
+
{
|
|
6
|
+
"$ref": "#/definitions/baseAccordionItem"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"kind": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"const": "table"
|
|
14
|
+
},
|
|
15
|
+
"modifiers": {
|
|
16
|
+
"alias": "modifier",
|
|
17
|
+
"type": "array",
|
|
18
|
+
"items": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"enum": [
|
|
21
|
+
"navigation-back-header",
|
|
22
|
+
"without-title"
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
"description": "The table modifiers"
|
|
26
|
+
},
|
|
27
|
+
"table": {
|
|
28
|
+
"$ref": "#/definitions/table"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"definitions": {
|
|
34
|
+
"baseAccordionItem": {
|
|
35
|
+
"$ref": "./base-accordion-item.schema.json"
|
|
36
|
+
},
|
|
37
|
+
"table": {
|
|
38
|
+
"$ref": "./table.schema.json"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -47,8 +47,7 @@
|
|
|
47
47
|
"description": "Value for the color input of the mat-button / mat-icon component"
|
|
48
48
|
},
|
|
49
49
|
"cssClass": {
|
|
50
|
-
"
|
|
51
|
-
"description": "Additional CSS classes added to the button element"
|
|
50
|
+
"$ref": "#/definitions/cssClass"
|
|
52
51
|
},
|
|
53
52
|
"options": {
|
|
54
53
|
"type": "object",
|
|
@@ -57,5 +56,10 @@
|
|
|
57
56
|
},
|
|
58
57
|
"required": [
|
|
59
58
|
"type"
|
|
60
|
-
]
|
|
59
|
+
],
|
|
60
|
+
"definitions": {
|
|
61
|
+
"cssClass": {
|
|
62
|
+
"$ref": "./css-class.schema.json"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
61
65
|
}
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"type": "boolean"
|
|
35
35
|
},
|
|
36
36
|
"cssClass": {
|
|
37
|
-
"
|
|
37
|
+
"$ref": "#/definitions/cssClass"
|
|
38
38
|
},
|
|
39
39
|
"title": {
|
|
40
40
|
"type": "string"
|
|
@@ -70,6 +70,9 @@
|
|
|
70
70
|
},
|
|
71
71
|
"pipe": {
|
|
72
72
|
"$ref": "./pipe.schema.json"
|
|
73
|
+
},
|
|
74
|
+
"cssClass": {
|
|
75
|
+
"$ref": "./css-class.schema.json"
|
|
73
76
|
}
|
|
74
77
|
}
|
|
75
78
|
}
|
|
@@ -75,6 +75,9 @@
|
|
|
75
75
|
"$ref": "#/definitions/upstream"
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
+
},
|
|
79
|
+
"identifier": {
|
|
80
|
+
"$ref": "#/definitions/accordionIdentifier"
|
|
78
81
|
}
|
|
79
82
|
}
|
|
80
83
|
}
|
|
@@ -91,6 +94,9 @@
|
|
|
91
94
|
},
|
|
92
95
|
"baseFormControl": {
|
|
93
96
|
"$ref": "./base-form-control.schema.json"
|
|
97
|
+
},
|
|
98
|
+
"accordionIdentifier": {
|
|
99
|
+
"$ref": "./accordion-identifier.schema.json"
|
|
94
100
|
}
|
|
95
101
|
}
|
|
96
102
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
class="{{#each cssClass}}{{this.name}}{{#unless @last}} {{/unless}}{{/each}}"
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "tree-table-accordion-item",
|
|
4
|
+
"allOf": [
|
|
5
|
+
{
|
|
6
|
+
"$ref": "#/definitions/baseAccordionItem"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"kind": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"const": "tree-table"
|
|
14
|
+
},
|
|
15
|
+
"modifiers": {
|
|
16
|
+
"alias": "modifier",
|
|
17
|
+
"type": "array",
|
|
18
|
+
"items": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"enum": [
|
|
21
|
+
"navigation-back-header",
|
|
22
|
+
"without-title"
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
"description": "The table modifiers"
|
|
26
|
+
},
|
|
27
|
+
"table": {
|
|
28
|
+
"$ref": "#/definitions/treeTable"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"definitions": {
|
|
34
|
+
"baseAccordionItem": {
|
|
35
|
+
"$ref": "./base-accordion-item.schema.json"
|
|
36
|
+
},
|
|
37
|
+
"treeTable": {
|
|
38
|
+
"$ref": "./tree-table.schema.json"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
package/src/template.schema.json
CHANGED
|
@@ -118,6 +118,9 @@
|
|
|
118
118
|
"backend": {
|
|
119
119
|
"$ref": "schematics/backend.schema.json"
|
|
120
120
|
},
|
|
121
|
+
"baseAccordionItem": {
|
|
122
|
+
"$ref": "schematics/base-accordion-item.schema.json"
|
|
123
|
+
},
|
|
121
124
|
"baseFormArray": {
|
|
122
125
|
"$ref": "schematics/base-form-array.schema.json"
|
|
123
126
|
},
|
|
@@ -136,6 +139,12 @@
|
|
|
136
139
|
"control": {
|
|
137
140
|
"$ref": "schematics/control.schema.json"
|
|
138
141
|
},
|
|
142
|
+
"cssClass": {
|
|
143
|
+
"$ref": "schematics/css-class.schema.json"
|
|
144
|
+
},
|
|
145
|
+
"dataGridAccordionItem": {
|
|
146
|
+
"$ref": "schematics/data-grid-accordion-item.schema.json"
|
|
147
|
+
},
|
|
139
148
|
"dataGridItem": {
|
|
140
149
|
"$ref": "schematics/data-grid-item.schema.json"
|
|
141
150
|
},
|
|
@@ -184,6 +193,12 @@
|
|
|
184
193
|
"slideToggleFormControl": {
|
|
185
194
|
"$ref": "schematics/slide-toggle-form-control.schema.json"
|
|
186
195
|
},
|
|
196
|
+
"switchAccordionItem": {
|
|
197
|
+
"$ref": "schematics/switch-accordion-item.schema.json"
|
|
198
|
+
},
|
|
199
|
+
"tableAccordionItem": {
|
|
200
|
+
"$ref": "schematics/table-accordion-item.schema.json"
|
|
201
|
+
},
|
|
187
202
|
"tableAction": {
|
|
188
203
|
"$ref": "schematics/table-action.schema.json"
|
|
189
204
|
},
|
|
@@ -199,6 +214,9 @@
|
|
|
199
214
|
"textareaFormControl": {
|
|
200
215
|
"$ref": "schematics/textarea-form-control.schema.json"
|
|
201
216
|
},
|
|
217
|
+
"treeTableAccordionItem": {
|
|
218
|
+
"$ref": "schematics/tree-table-accordion-item.schema.json"
|
|
219
|
+
},
|
|
202
220
|
"treeTable": {
|
|
203
221
|
"$ref": "schematics/tree-table.schema.json"
|
|
204
222
|
},
|