@rxap/schematic-angular 16.2.0-dev.23 → 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.
Files changed (69) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/README.md +1 -1
  3. package/package.json +10 -10
  4. package/src/lib/accordion-identifier.d.ts +2 -2
  5. package/src/lib/accordion-identifier.js +2 -1
  6. package/src/lib/accordion-identifier.js.map +1 -1
  7. package/src/lib/data-grid-item.js +5 -3
  8. package/src/lib/data-grid-item.js.map +1 -1
  9. package/src/lib/form/control/autocomplete-table-select-form-control.js +11 -1
  10. package/src/lib/form/control/autocomplete-table-select-form-control.js.map +1 -1
  11. package/src/lib/form/control/table-select-form-control.d.ts +3 -0
  12. package/src/lib/form/control/table-select-form-control.js +11 -1
  13. package/src/lib/form/control/table-select-form-control.js.map +1 -1
  14. package/src/lib/minimum-table-options.d.ts +3 -0
  15. package/src/lib/minimum-table-options.js +7 -0
  16. package/src/lib/minimum-table-options.js.map +1 -1
  17. package/src/lib/table/table-filter-column-rule.js +2 -3
  18. package/src/lib/table/table-filter-column-rule.js.map +1 -1
  19. package/src/lib/table-column.js +5 -1
  20. package/src/lib/table-column.js.map +1 -1
  21. package/src/schema.json +242 -164
  22. package/src/schematics/accordion/accordion-component/schema.json +1427 -116
  23. package/src/schematics/accordion/accordion-item-component/schema.json +1427 -116
  24. package/src/schematics/accordion/item/accordion-item-data-grid-component/schema.json +72 -62
  25. package/src/schematics/accordion/item/accordion-item-data-grid-component/template.schema.json +3 -14
  26. package/src/schematics/accordion/item/accordion-item-switch-component/schema.json +1411 -166
  27. package/src/schematics/accordion/item/accordion-item-switch-component/template.schema.json +3 -64
  28. package/src/schematics/accordion/item/accordion-item-table-component/schema.json +82 -74
  29. package/src/schematics/accordion/item/accordion-item-table-component/template.schema.json +3 -26
  30. package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.json +82 -74
  31. package/src/schematics/accordion/item/accordion-item-tree-table-component/template.schema.json +3 -26
  32. package/src/schematics/accordion-identifier.schema.json +1 -2
  33. package/src/schematics/accordion-item.schema.json +43 -50
  34. package/src/schematics/autocomplete-table-select-form-control.schema.json +1 -1
  35. package/src/schematics/base-accordion-item.schema.json +52 -0
  36. package/src/schematics/data-grid-accordion-item.schema.json +34 -0
  37. package/src/schematics/data-grid-component/index.js +8 -4
  38. package/src/schematics/data-grid-component/index.js.map +1 -1
  39. package/src/schematics/data-grid-component/schema.json +6 -7
  40. package/src/schematics/form/control/autocomplete-table-select-form-control/index.js +8 -6
  41. package/src/schematics/form/control/autocomplete-table-select-form-control/index.js.map +1 -1
  42. package/src/schematics/form/control/autocomplete-table-select-form-control/schema.json +2 -5
  43. package/src/schematics/form/control/input-form-control/schema.json +1 -4
  44. package/src/schematics/form/control/select-form-control/schema.json +1 -4
  45. package/src/schematics/form/control/table-select-form-control/index.js +8 -6
  46. package/src/schematics/form/control/table-select-form-control/index.js.map +1 -1
  47. package/src/schematics/form/control/table-select-form-control/schema.json +21 -4
  48. package/src/schematics/form/form-array/schema.json +22 -5
  49. package/src/schematics/form/form-component/schema.json +6 -7
  50. package/src/schematics/form/form-control/schema.json +22 -5
  51. package/src/schematics/form/form-definition/schema.json +22 -5
  52. package/src/schematics/form/form-group/schema.json +22 -5
  53. package/src/schematics/minimum-table.schema.json +6 -0
  54. package/src/schematics/property.schema.json +1 -4
  55. package/src/schematics/switch-accordion-item.schema.json +82 -0
  56. package/src/schematics/table/action/form-table-action/schema.json +6 -7
  57. package/src/schematics/table/header-button/form-table-header-button/schema.json +6 -7
  58. package/src/schematics/table/table-component/files/component/__componentName__.component.html.hbs +4 -4
  59. package/src/schematics/table/table-component/index.d.ts +0 -3
  60. package/src/schematics/table/table-component/index.js +1 -9
  61. package/src/schematics/table/table-component/index.js.map +1 -1
  62. package/src/schematics/table/table-component/schema.json +25 -5
  63. package/src/schematics/table/templates/default-table-column.hbs +4 -1
  64. package/src/schematics/table/tree-table-component/files/component/__componentName__.component.html.hbs +6 -6
  65. package/src/schematics/table/tree-table-component/schema.json +25 -5
  66. package/src/schematics/table-accordion-item.schema.json +41 -0
  67. package/src/schematics/table-select-form-control.schema.json +6 -0
  68. package/src/schematics/tree-table-accordion-item.schema.json +41 -0
  69. package/src/template.schema.json +15 -0
@@ -6,76 +6,15 @@
6
6
  "$ref": "#/definitions/angular"
7
7
  },
8
8
  {
9
- "$ref": "#/definitions/accordionItem"
10
- },
11
- {
12
- "type": "object",
13
- "properties": {
14
- "switch": {
15
- "type": "object",
16
- "properties": {
17
- "property": {
18
- "$ref": "#/definitions/property"
19
- },
20
- "defaultCase": {
21
- "type": "object",
22
- "properties": {
23
- "itemList": {
24
- "alias": "item",
25
- "type": "array",
26
- "items": {
27
- "$ref": "#/definitions/accordionItem"
28
- },
29
- "description": "The list of accordion expansion panels"
30
- }
31
- },
32
- "required": ["itemList"]
33
- },
34
- "case": {
35
- "type": "array",
36
- "items": {
37
- "type": "object",
38
- "properties": {
39
- "test": {
40
- "anyOf": [
41
- {
42
- "type": "string"
43
- },
44
- {
45
- "type": "number"
46
- },
47
- {
48
- "type": "boolean"
49
- }
50
- ]
51
- },
52
- "itemList": {
53
- "alias": "item",
54
- "type": "array",
55
- "items": {
56
- "$ref": "#/definitions/accordionItem"
57
- },
58
- "description": "The list of accordion expansion panels"
59
- }
60
- },
61
- "required": ["test", "itemList"]
62
- }
63
- }
64
- },
65
- "required": ["property", "case"]
66
- }
67
- }
9
+ "$ref": "#/definitions/switchAccordionItem"
68
10
  }
69
11
  ],
70
12
  "definitions": {
71
13
  "angular": {
72
14
  "$ref": "../../../angular.schema.json"
73
15
  },
74
- "accordionItem": {
75
- "$ref": "../../../accordion-item.schema.json"
76
- },
77
- "property": {
78
- "$ref": "../../../property.schema.json"
16
+ "switchAccordionItem": {
17
+ "$ref": "../../../switch-accordion-item.schema.json"
79
18
  }
80
19
  }
81
20
  }
@@ -6,27 +6,7 @@
6
6
  "$ref": "#/definitions/angular"
7
7
  },
8
8
  {
9
- "$ref": "#/definitions/accordionItem"
10
- },
11
- {
12
- "type": "object",
13
- "properties": {
14
- "modifiers": {
15
- "alias": "modifier",
16
- "type": "array",
17
- "items": {
18
- "type": "string",
19
- "enum": [
20
- "navigation-back-header",
21
- "without-title"
22
- ]
23
- },
24
- "description": "The table modifiers"
25
- },
26
- "table": {
27
- "$ref": "#/definitions/table"
28
- }
29
- }
9
+ "$ref": "#/definitions/tableAccordionItem"
30
10
  }
31
11
  ],
32
12
  "definitions": {
@@ -112,60 +92,13 @@
112
92
  "type": "string",
113
93
  "enum": [
114
94
  "route"
115
- ],
116
- "default": "route"
95
+ ]
117
96
  }
118
97
  },
119
98
  "required": [
120
99
  "property"
121
100
  ]
122
101
  },
123
- "accordionItem": {
124
- "type": "object",
125
- "properties": {
126
- "kind": {
127
- "type": "string",
128
- "enum": [
129
- "default",
130
- "table",
131
- "data-grid",
132
- "data-grid-collection",
133
- "tree-table",
134
- "switch"
135
- ],
136
- "description": "The type of the accordion item",
137
- "default": "panel"
138
- },
139
- "modifiers": {
140
- "alias": "modifier",
141
- "type": "array",
142
- "items": {
143
- "type": "string"
144
- },
145
- "description": "The modifiers to apply to the accordion item type"
146
- },
147
- "identifier": {
148
- "$ref": "#/definitions/accordionIdentifier"
149
- },
150
- "title": {
151
- "type": "string"
152
- },
153
- "description": {
154
- "type": "string"
155
- },
156
- "upstream": {
157
- "$ref": "#/definitions/upstream"
158
- },
159
- "propertyList": {
160
- "alias": "property",
161
- "type": "array",
162
- "items": {
163
- "$ref": "#/definitions/property"
164
- }
165
- }
166
- },
167
- "additionalProperties": true
168
- },
169
102
  "angular": {
170
103
  "allOf": [
171
104
  {
@@ -230,7 +163,7 @@
230
163
  },
231
164
  "kind": {
232
165
  "type": "string",
233
- "const": "table-select"
166
+ "const": "autocomplete-table-select"
234
167
  },
235
168
  "placeholder": {
236
169
  "type": "string"
@@ -308,6 +241,47 @@
308
241
  ],
309
242
  "default": "none"
310
243
  },
244
+ "baseAccordionItem": {
245
+ "type": "object",
246
+ "properties": {
247
+ "name": {
248
+ "type": "string"
249
+ },
250
+ "kind": {
251
+ "type": "string"
252
+ },
253
+ "modifiers": {
254
+ "alias": "modifier",
255
+ "type": "array",
256
+ "items": {
257
+ "type": "string"
258
+ },
259
+ "description": "The modifiers to apply to the accordion item type"
260
+ },
261
+ "identifier": {
262
+ "$ref": "#/definitions/accordionIdentifier"
263
+ },
264
+ "title": {
265
+ "type": "string"
266
+ },
267
+ "description": {
268
+ "type": "string"
269
+ },
270
+ "upstream": {
271
+ "$ref": "#/definitions/upstream"
272
+ },
273
+ "propertyList": {
274
+ "alias": "property",
275
+ "type": "array",
276
+ "items": {
277
+ "$ref": "#/definitions/property"
278
+ }
279
+ }
280
+ },
281
+ "required": [
282
+ "name"
283
+ ]
284
+ },
311
285
  "baseFormControl": {
312
286
  "allOf": [
313
287
  {
@@ -644,6 +618,9 @@
644
618
  },
645
619
  "cssClass": {
646
620
  "$ref": "#/definitions/cssClass"
621
+ },
622
+ "identifier": {
623
+ "$ref": "#/definitions/accordionIdentifier"
647
624
  }
648
625
  }
649
626
  },
@@ -692,10 +669,7 @@
692
669
  "isArray": {
693
670
  "type": "boolean"
694
671
  }
695
- },
696
- "required": [
697
- "name"
698
- ]
672
+ }
699
673
  }
700
674
  ]
701
675
  },
@@ -824,6 +798,37 @@
824
798
  }
825
799
  ]
826
800
  },
801
+ "tableAccordionItem": {
802
+ "allOf": [
803
+ {
804
+ "$ref": "#/definitions/baseAccordionItem"
805
+ },
806
+ {
807
+ "type": "object",
808
+ "properties": {
809
+ "kind": {
810
+ "type": "string",
811
+ "const": "table"
812
+ },
813
+ "modifiers": {
814
+ "alias": "modifier",
815
+ "type": "array",
816
+ "items": {
817
+ "type": "string",
818
+ "enum": [
819
+ "navigation-back-header",
820
+ "without-title"
821
+ ]
822
+ },
823
+ "description": "The table modifiers"
824
+ },
825
+ "table": {
826
+ "$ref": "#/definitions/table"
827
+ }
828
+ }
829
+ }
830
+ ]
831
+ },
827
832
  "tableAction": {
828
833
  "type": "object",
829
834
  "properties": {
@@ -1019,6 +1024,9 @@
1019
1024
  "$ref": "#/definitions/upstream"
1020
1025
  }
1021
1026
  }
1027
+ },
1028
+ "identifier": {
1029
+ "$ref": "#/definitions/accordionIdentifier"
1022
1030
  }
1023
1031
  }
1024
1032
  }
@@ -6,38 +6,15 @@
6
6
  "$ref": "#/definitions/angular"
7
7
  },
8
8
  {
9
- "$ref": "#/definitions/accordionItem"
10
- },
11
- {
12
- "type": "object",
13
- "properties": {
14
- "modifiers": {
15
- "alias": "modifier",
16
- "type": "array",
17
- "items": {
18
- "type": "string",
19
- "enum": [
20
- "navigation-back-header",
21
- "without-title"
22
- ]
23
- },
24
- "description": "The table modifiers"
25
- },
26
- "table": {
27
- "$ref": "#/definitions/table"
28
- }
29
- }
9
+ "$ref": "#/definitions/tableAccordionItem"
30
10
  }
31
11
  ],
32
12
  "definitions": {
33
- "accordionItem": {
34
- "$ref": "../../../accordion-item.schema.json"
13
+ "tableAccordionItem": {
14
+ "$ref": "../../../table-accordion-item.schema.json"
35
15
  },
36
16
  "angular": {
37
17
  "$ref": "../../../angular.schema.json"
38
- },
39
- "table": {
40
- "$ref": "../../../table.schema.json"
41
18
  }
42
19
  }
43
20
  }
@@ -6,27 +6,7 @@
6
6
  "$ref": "#/definitions/angular"
7
7
  },
8
8
  {
9
- "$ref": "#/definitions/accordionItem"
10
- },
11
- {
12
- "type": "object",
13
- "properties": {
14
- "modifiers": {
15
- "alias": "modifier",
16
- "type": "array",
17
- "items": {
18
- "type": "string",
19
- "enum": [
20
- "navigation-back-header",
21
- "without-title"
22
- ]
23
- },
24
- "description": "The table modifiers"
25
- },
26
- "table": {
27
- "$ref": "#/definitions/treeTable"
28
- }
29
- }
9
+ "$ref": "#/definitions/treeTableAccordionItem"
30
10
  }
31
11
  ],
32
12
  "definitions": {
@@ -112,60 +92,13 @@
112
92
  "type": "string",
113
93
  "enum": [
114
94
  "route"
115
- ],
116
- "default": "route"
95
+ ]
117
96
  }
118
97
  },
119
98
  "required": [
120
99
  "property"
121
100
  ]
122
101
  },
123
- "accordionItem": {
124
- "type": "object",
125
- "properties": {
126
- "kind": {
127
- "type": "string",
128
- "enum": [
129
- "default",
130
- "table",
131
- "data-grid",
132
- "data-grid-collection",
133
- "tree-table",
134
- "switch"
135
- ],
136
- "description": "The type of the accordion item",
137
- "default": "panel"
138
- },
139
- "modifiers": {
140
- "alias": "modifier",
141
- "type": "array",
142
- "items": {
143
- "type": "string"
144
- },
145
- "description": "The modifiers to apply to the accordion item type"
146
- },
147
- "identifier": {
148
- "$ref": "#/definitions/accordionIdentifier"
149
- },
150
- "title": {
151
- "type": "string"
152
- },
153
- "description": {
154
- "type": "string"
155
- },
156
- "upstream": {
157
- "$ref": "#/definitions/upstream"
158
- },
159
- "propertyList": {
160
- "alias": "property",
161
- "type": "array",
162
- "items": {
163
- "$ref": "#/definitions/property"
164
- }
165
- }
166
- },
167
- "additionalProperties": true
168
- },
169
102
  "angular": {
170
103
  "allOf": [
171
104
  {
@@ -230,7 +163,7 @@
230
163
  },
231
164
  "kind": {
232
165
  "type": "string",
233
- "const": "table-select"
166
+ "const": "autocomplete-table-select"
234
167
  },
235
168
  "placeholder": {
236
169
  "type": "string"
@@ -308,6 +241,47 @@
308
241
  ],
309
242
  "default": "none"
310
243
  },
244
+ "baseAccordionItem": {
245
+ "type": "object",
246
+ "properties": {
247
+ "name": {
248
+ "type": "string"
249
+ },
250
+ "kind": {
251
+ "type": "string"
252
+ },
253
+ "modifiers": {
254
+ "alias": "modifier",
255
+ "type": "array",
256
+ "items": {
257
+ "type": "string"
258
+ },
259
+ "description": "The modifiers to apply to the accordion item type"
260
+ },
261
+ "identifier": {
262
+ "$ref": "#/definitions/accordionIdentifier"
263
+ },
264
+ "title": {
265
+ "type": "string"
266
+ },
267
+ "description": {
268
+ "type": "string"
269
+ },
270
+ "upstream": {
271
+ "$ref": "#/definitions/upstream"
272
+ },
273
+ "propertyList": {
274
+ "alias": "property",
275
+ "type": "array",
276
+ "items": {
277
+ "$ref": "#/definitions/property"
278
+ }
279
+ }
280
+ },
281
+ "required": [
282
+ "name"
283
+ ]
284
+ },
311
285
  "baseFormControl": {
312
286
  "allOf": [
313
287
  {
@@ -644,6 +618,9 @@
644
618
  },
645
619
  "cssClass": {
646
620
  "$ref": "#/definitions/cssClass"
621
+ },
622
+ "identifier": {
623
+ "$ref": "#/definitions/accordionIdentifier"
647
624
  }
648
625
  }
649
626
  },
@@ -692,10 +669,7 @@
692
669
  "isArray": {
693
670
  "type": "boolean"
694
671
  }
695
- },
696
- "required": [
697
- "name"
698
- ]
672
+ }
699
673
  }
700
674
  ]
701
675
  },
@@ -972,6 +946,9 @@
972
946
  "$ref": "#/definitions/upstream"
973
947
  }
974
948
  }
949
+ },
950
+ "identifier": {
951
+ "$ref": "#/definitions/accordionIdentifier"
975
952
  }
976
953
  }
977
954
  }
@@ -1029,6 +1006,37 @@
1029
1006
  }
1030
1007
  ]
1031
1008
  },
1009
+ "treeTableAccordionItem": {
1010
+ "allOf": [
1011
+ {
1012
+ "$ref": "#/definitions/baseAccordionItem"
1013
+ },
1014
+ {
1015
+ "type": "object",
1016
+ "properties": {
1017
+ "kind": {
1018
+ "type": "string",
1019
+ "const": "tree-table"
1020
+ },
1021
+ "modifiers": {
1022
+ "alias": "modifier",
1023
+ "type": "array",
1024
+ "items": {
1025
+ "type": "string",
1026
+ "enum": [
1027
+ "navigation-back-header",
1028
+ "without-title"
1029
+ ]
1030
+ },
1031
+ "description": "The table modifiers"
1032
+ },
1033
+ "table": {
1034
+ "$ref": "#/definitions/treeTable"
1035
+ }
1036
+ }
1037
+ }
1038
+ ]
1039
+ },
1032
1040
  "type": {
1033
1041
  "oneOf": [
1034
1042
  {
@@ -6,35 +6,12 @@
6
6
  "$ref": "#/definitions/angular"
7
7
  },
8
8
  {
9
- "$ref": "#/definitions/accordionItem"
10
- },
11
- {
12
- "type": "object",
13
- "properties": {
14
- "modifiers": {
15
- "alias": "modifier",
16
- "type": "array",
17
- "items": {
18
- "type": "string",
19
- "enum": [
20
- "navigation-back-header",
21
- "without-title"
22
- ]
23
- },
24
- "description": "The table modifiers"
25
- },
26
- "table": {
27
- "$ref": "#/definitions/treeTable"
28
- }
29
- }
9
+ "$ref": "#/definitions/treeTableAccordionItem"
30
10
  }
31
11
  ],
32
12
  "definitions": {
33
- "treeTable": {
34
- "$ref": "../../../tree-table.schema.json"
35
- },
36
- "accordionItem": {
37
- "$ref": "../../../accordion-item.schema.json"
13
+ "treeTableAccordionItem": {
14
+ "$ref": "../../../tree-table-accordion-item.schema.json"
38
15
  },
39
16
  "angular": {
40
17
  "$ref": "../../../angular.schema.json"
@@ -10,8 +10,7 @@
10
10
  "type": "string",
11
11
  "enum": [
12
12
  "route"
13
- ],
14
- "default": "route"
13
+ ]
15
14
  }
16
15
  },
17
16
  "required": [