@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.
Files changed (103) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +1 -1
  3. package/package.json +13 -13
  4. package/src/lib/accordion-header.js +7 -4
  5. package/src/lib/accordion-header.js.map +1 -1
  6. package/src/lib/accordion-identifier.d.ts +2 -2
  7. package/src/lib/accordion-identifier.js +2 -1
  8. package/src/lib/accordion-identifier.js.map +1 -1
  9. package/src/lib/accordion-item.js +17 -17
  10. package/src/lib/accordion-item.js.map +1 -1
  11. package/src/lib/coerce-form-component.js +3 -2
  12. package/src/lib/coerce-form-component.js.map +1 -1
  13. package/src/lib/css-class.d.ts +8 -0
  14. package/src/lib/css-class.js +28 -0
  15. package/src/lib/css-class.js.map +1 -0
  16. package/src/lib/data-grid-item.js +15 -10
  17. package/src/lib/data-grid-item.js.map +1 -1
  18. package/src/lib/form/control/autocomplete-table-select-form-control.js +11 -1
  19. package/src/lib/form/control/autocomplete-table-select-form-control.js.map +1 -1
  20. package/src/lib/form/control/table-select-form-control.d.ts +3 -0
  21. package/src/lib/form/control/table-select-form-control.js +11 -1
  22. package/src/lib/form/control/table-select-form-control.js.map +1 -1
  23. package/src/lib/load-handlebars-template.d.ts +1 -0
  24. package/src/lib/load-handlebars-template.js +5 -1
  25. package/src/lib/load-handlebars-template.js.map +1 -1
  26. package/src/lib/minimum-table-options.d.ts +6 -0
  27. package/src/lib/minimum-table-options.js +9 -0
  28. package/src/lib/minimum-table-options.js.map +1 -1
  29. package/src/lib/table/table-filter-column-rule.js +2 -3
  30. package/src/lib/table/table-filter-column-rule.js.map +1 -1
  31. package/src/lib/table-action.js.map +1 -1
  32. package/src/lib/table-column.d.ts +3 -1
  33. package/src/lib/table-column.js +7 -3
  34. package/src/lib/table-column.js.map +1 -1
  35. package/src/lib/table-row-action.d.ts +4 -2
  36. package/src/lib/table-row-action.js +8 -7
  37. package/src/lib/table-row-action.js.map +1 -1
  38. package/src/schema.json +279 -167
  39. package/src/schematics/accordion/accordion-component/schema.json +1427 -116
  40. package/src/schematics/accordion/accordion-item-component/schema.json +1427 -116
  41. package/src/schematics/accordion/item/accordion-item-data-grid-component/schema.json +72 -62
  42. package/src/schematics/accordion/item/accordion-item-data-grid-component/template.schema.json +3 -14
  43. package/src/schematics/accordion/item/accordion-item-switch-component/schema.json +1411 -166
  44. package/src/schematics/accordion/item/accordion-item-switch-component/template.schema.json +3 -64
  45. package/src/schematics/accordion/item/accordion-item-table-component/schema.json +119 -77
  46. package/src/schematics/accordion/item/accordion-item-table-component/template.schema.json +3 -26
  47. package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.json +119 -77
  48. package/src/schematics/accordion/item/accordion-item-tree-table-component/template.schema.json +3 -26
  49. package/src/schematics/accordion-identifier.schema.json +1 -2
  50. package/src/schematics/accordion-item.schema.json +43 -50
  51. package/src/schematics/autocomplete-table-select-form-control.schema.json +1 -1
  52. package/src/schematics/base-accordion-item.schema.json +52 -0
  53. package/src/schematics/css-class.schema.json +34 -0
  54. package/src/schematics/data-grid-accordion-item.schema.json +34 -0
  55. package/src/schematics/data-grid-component/index.js +9 -4
  56. package/src/schematics/data-grid-component/index.js.map +1 -1
  57. package/src/schematics/data-grid-component/schema.json +6 -7
  58. package/src/schematics/form/control/autocomplete-table-select-form-control/index.js +8 -6
  59. package/src/schematics/form/control/autocomplete-table-select-form-control/index.js.map +1 -1
  60. package/src/schematics/form/control/autocomplete-table-select-form-control/schema.json +2 -5
  61. package/src/schematics/form/control/input-form-control/schema.json +1 -4
  62. package/src/schematics/form/control/select-form-control/schema.json +1 -4
  63. package/src/schematics/form/control/table-select-form-control/index.js +8 -6
  64. package/src/schematics/form/control/table-select-form-control/index.js.map +1 -1
  65. package/src/schematics/form/control/table-select-form-control/schema.json +21 -4
  66. package/src/schematics/form/form-array/schema.json +22 -5
  67. package/src/schematics/form/form-component/schema.json +6 -7
  68. package/src/schematics/form/form-control/schema.json +22 -5
  69. package/src/schematics/form/form-definition/schema.json +22 -5
  70. package/src/schematics/form/form-group/schema.json +22 -5
  71. package/src/schematics/minimum-table.schema.json +12 -0
  72. package/src/schematics/property.schema.json +1 -4
  73. package/src/schematics/switch-accordion-item.schema.json +82 -0
  74. package/src/schematics/table/action/dialog-table-action/schema.json +33 -2
  75. package/src/schematics/table/action/form-table-action/schema.json +39 -9
  76. package/src/schematics/table/action/navigation-table-action/schema.json +33 -2
  77. package/src/schematics/table/action/open-api-table-action/schema.json +33 -2
  78. package/src/schematics/table/action/operation-table-action/schema.json +33 -2
  79. package/src/schematics/table/header-button/form-table-header-button/schema.json +6 -7
  80. package/src/schematics/table/table-action/schema.json +33 -2
  81. package/src/schematics/table/table-component/files/component/__componentName__.component.html.hbs +11 -9
  82. package/src/schematics/table/table-component/index.d.ts +0 -3
  83. package/src/schematics/table/table-component/index.js +2 -9
  84. package/src/schematics/table/table-component/index.js.map +1 -1
  85. package/src/schematics/table/table-component/schema.json +62 -8
  86. package/src/schematics/table/templates/boolean-table-column.hbs +3 -2
  87. package/src/schematics/table/templates/component-table-column.hbs +3 -2
  88. package/src/schematics/table/templates/copy-to-clipboard-table-column.hbs +3 -2
  89. package/src/schematics/table/templates/date-table-column.hbs +3 -2
  90. package/src/schematics/table/templates/default-table-column.hbs +4 -1
  91. package/src/schematics/table/templates/icon-table-column.hbs +3 -2
  92. package/src/schematics/table/templates/link-table-column.hbs +3 -2
  93. package/src/schematics/table/tree-table-component/files/component/__componentName__.component.html.hbs +13 -11
  94. package/src/schematics/table/tree-table-component/index.js +1 -0
  95. package/src/schematics/table/tree-table-component/index.js.map +1 -1
  96. package/src/schematics/table/tree-table-component/schema.json +62 -8
  97. package/src/schematics/table-accordion-item.schema.json +41 -0
  98. package/src/schematics/table-action.schema.json +7 -3
  99. package/src/schematics/table-column.schema.json +4 -1
  100. package/src/schematics/table-select-form-control.schema.json +6 -0
  101. package/src/schematics/templates/css-class.hbs +1 -0
  102. package/src/schematics/tree-table-accordion-item.schema.json +41 -0
  103. package/src/template.schema.json +18 -0
@@ -6,15 +6,7 @@
6
6
  "$ref": "#/definitions/angular"
7
7
  },
8
8
  {
9
- "$ref": "#/definitions/accordionItem"
10
- },
11
- {
12
- "type": "object",
13
- "properties": {
14
- "dataGrid": {
15
- "$ref": "#/definitions/dataGrid"
16
- }
17
- }
9
+ "$ref": "#/definitions/dataGridAccordionItem"
18
10
  }
19
11
  ],
20
12
  "definitions": {
@@ -100,60 +92,13 @@
100
92
  "type": "string",
101
93
  "enum": [
102
94
  "route"
103
- ],
104
- "default": "route"
95
+ ]
105
96
  }
106
97
  },
107
98
  "required": [
108
99
  "property"
109
100
  ]
110
101
  },
111
- "accordionItem": {
112
- "type": "object",
113
- "properties": {
114
- "kind": {
115
- "type": "string",
116
- "enum": [
117
- "default",
118
- "table",
119
- "data-grid",
120
- "data-grid-collection",
121
- "tree-table",
122
- "switch"
123
- ],
124
- "description": "The type of the accordion item",
125
- "default": "panel"
126
- },
127
- "modifiers": {
128
- "alias": "modifier",
129
- "type": "array",
130
- "items": {
131
- "type": "string"
132
- },
133
- "description": "The modifiers to apply to the accordion item type"
134
- },
135
- "identifier": {
136
- "$ref": "#/definitions/accordionIdentifier"
137
- },
138
- "title": {
139
- "type": "string"
140
- },
141
- "description": {
142
- "type": "string"
143
- },
144
- "upstream": {
145
- "$ref": "#/definitions/upstream"
146
- },
147
- "propertyList": {
148
- "alias": "property",
149
- "type": "array",
150
- "items": {
151
- "$ref": "#/definitions/property"
152
- }
153
- }
154
- },
155
- "additionalProperties": true
156
- },
157
102
  "angular": {
158
103
  "allOf": [
159
104
  {
@@ -218,7 +163,7 @@
218
163
  },
219
164
  "kind": {
220
165
  "type": "string",
221
- "const": "table-select"
166
+ "const": "autocomplete-table-select"
222
167
  },
223
168
  "placeholder": {
224
169
  "type": "string"
@@ -296,6 +241,47 @@
296
241
  ],
297
242
  "default": "none"
298
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
+ },
299
285
  "baseFormArray": {
300
286
  "allOf": [
301
287
  {
@@ -492,6 +478,30 @@
492
478
  }
493
479
  }
494
480
  },
481
+ "dataGridAccordionItem": {
482
+ "allOf": [
483
+ {
484
+ "$ref": "#/definitions/baseAccordionItem"
485
+ },
486
+ {
487
+ "type": "object",
488
+ "properties": {
489
+ "kind": {
490
+ "type": "string",
491
+ "const": "data-grid"
492
+ }
493
+ }
494
+ },
495
+ {
496
+ "type": "object",
497
+ "properties": {
498
+ "dataGrid": {
499
+ "$ref": "#/definitions/dataGrid"
500
+ }
501
+ }
502
+ }
503
+ ]
504
+ },
495
505
  "dataGridItem": {
496
506
  "type": "object",
497
507
  "properties": {
@@ -802,10 +812,7 @@
802
812
  "isArray": {
803
813
  "type": "boolean"
804
814
  }
805
- },
806
- "required": [
807
- "name"
808
- ]
815
+ }
809
816
  }
810
817
  ]
811
818
  },
@@ -962,6 +969,9 @@
962
969
  "$ref": "#/definitions/upstream"
963
970
  }
964
971
  }
972
+ },
973
+ "identifier": {
974
+ "$ref": "#/definitions/accordionIdentifier"
965
975
  }
966
976
  }
967
977
  }
@@ -6,26 +6,15 @@
6
6
  "$ref": "#/definitions/angular"
7
7
  },
8
8
  {
9
- "$ref": "#/definitions/accordionItem"
10
- },
11
- {
12
- "type": "object",
13
- "properties": {
14
- "dataGrid": {
15
- "$ref": "#/definitions/dataGrid"
16
- }
17
- }
9
+ "$ref": "#/definitions/dataGridAccordionItem"
18
10
  }
19
11
  ],
20
12
  "definitions": {
21
- "accordionItem": {
22
- "$ref": "../../../accordion-item.schema.json"
13
+ "dataGridAccordionItem": {
14
+ "$ref": "../../../data-grid-accordion-item.schema.json"
23
15
  },
24
16
  "angular": {
25
17
  "$ref": "../../../angular.schema.json"
26
- },
27
- "dataGrid": {
28
- "$ref": "../../../data-grid.schema.json"
29
18
  }
30
19
  }
31
20
  }