@rxap/schematic-angular 16.1.0-dev.5 → 16.1.0-dev.51

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 (166) hide show
  1. package/CHANGELOG.md +343 -0
  2. package/README.md +1 -1
  3. package/collection.json +21 -1
  4. package/package.json +48 -40
  5. package/src/lib/accordion-item.d.ts +2 -2
  6. package/src/lib/accordion-item.js +4 -4
  7. package/src/lib/accordion-item.js.map +1 -1
  8. package/src/lib/adapter-options.d.ts +11 -5
  9. package/src/lib/adapter-options.js +8 -5
  10. package/src/lib/adapter-options.js.map +1 -1
  11. package/src/lib/angular-options.js +7 -1
  12. package/src/lib/angular-options.js.map +1 -1
  13. package/src/lib/data-grid-item.d.ts +1 -1
  14. package/src/lib/data-grid-item.js +2 -2
  15. package/src/lib/data-grid-item.js.map +1 -1
  16. package/src/lib/data-grid-options.d.ts +3 -3
  17. package/src/lib/data-grid-options.js +1 -1
  18. package/src/lib/data-grid-options.js.map +1 -1
  19. package/src/lib/dialog-action.d.ts +1 -1
  20. package/src/lib/dialog-action.js +2 -2
  21. package/src/lib/dialog-action.js.map +1 -1
  22. package/src/lib/existing-method.d.ts +11 -2
  23. package/src/lib/existing-method.js +8 -2
  24. package/src/lib/existing-method.js.map +1 -1
  25. package/src/lib/form-component-control.d.ts +1 -1
  26. package/src/lib/form-component-control.js +2 -2
  27. package/src/lib/form-component-control.js.map +1 -1
  28. package/src/lib/form-definition-control.d.ts +1 -1
  29. package/src/lib/form-definition-control.js +6 -4
  30. package/src/lib/form-definition-control.js.map +1 -1
  31. package/src/lib/minimum-table-component-options.d.ts +5 -3
  32. package/src/lib/minimum-table-component-options.js +95 -140
  33. package/src/lib/minimum-table-component-options.js.map +1 -1
  34. package/src/lib/minimum-table-options.d.ts +9 -6
  35. package/src/lib/minimum-table-options.js +7 -4
  36. package/src/lib/minimum-table-options.js.map +1 -1
  37. package/src/lib/table-action.d.ts +1 -1
  38. package/src/lib/table-action.js +11 -5
  39. package/src/lib/table-action.js.map +1 -1
  40. package/src/lib/table-column.d.ts +16 -4
  41. package/src/lib/table-column.js +93 -6
  42. package/src/lib/table-column.js.map +1 -1
  43. package/src/lib/table-header-button.d.ts +9 -2
  44. package/src/lib/table-header-button.js +22 -2
  45. package/src/lib/table-header-button.js.map +1 -1
  46. package/src/lib/table-open-api-options.d.ts +3 -2
  47. package/src/lib/table-open-api-options.js +1 -1
  48. package/src/lib/table-open-api-options.js.map +1 -1
  49. package/src/lib/table-options.d.ts +9 -5
  50. package/src/lib/table-options.js +1 -1
  51. package/src/lib/table-options.js.map +1 -1
  52. package/src/lib/table-property.d.ts +14 -0
  53. package/src/lib/table-property.js +46 -0
  54. package/src/lib/table-property.js.map +1 -0
  55. package/src/lib/table-row-action.d.ts +5 -1
  56. package/src/lib/table-row-action.js +9 -7
  57. package/src/lib/table-row-action.js.map +1 -1
  58. package/src/lib/tree-table-options.d.ts +10 -6
  59. package/src/lib/tree-table-options.js +2 -2
  60. package/src/lib/tree-table-options.js.map +1 -1
  61. package/src/lib/type-import.d.ts +4 -0
  62. package/src/lib/type-import.js +38 -0
  63. package/src/lib/type-import.js.map +1 -0
  64. package/src/schematics/accordion/accordion-component/files/component/__componentName__.component.ts.template +1 -1
  65. package/src/schematics/accordion/accordion-component/index.d.ts +3 -1
  66. package/src/schematics/accordion/accordion-component/index.js +2 -2
  67. package/src/schematics/accordion/accordion-component/index.js.map +1 -1
  68. package/src/schematics/accordion/accordion-component/schema.json +13 -3
  69. package/src/schematics/accordion/accordion-item-component/files/component/__componentName__.component.html.template +1 -1
  70. package/src/schematics/accordion/accordion-item-component/index.js +2 -2
  71. package/src/schematics/accordion/accordion-item-component/index.js.map +1 -1
  72. package/src/schematics/accordion/accordion-item-component/schema.json +13 -3
  73. package/src/schematics/accordion/item/accordion-item-data-grid-component/index.d.ts +3 -3
  74. package/src/schematics/accordion/item/accordion-item-data-grid-component/index.js +5 -5
  75. package/src/schematics/accordion/item/accordion-item-data-grid-component/index.js.map +1 -1
  76. package/src/schematics/accordion/item/accordion-item-data-grid-component/schema.json +13 -3
  77. package/src/schematics/accordion/item/accordion-item-table-component/index.d.ts +7 -4
  78. package/src/schematics/accordion/item/accordion-item-table-component/index.js +5 -5
  79. package/src/schematics/accordion/item/accordion-item-table-component/index.js.map +1 -1
  80. package/src/schematics/accordion/item/accordion-item-table-component/schema.json +57 -8
  81. package/src/schematics/accordion/item/accordion-item-tree-table-component/index.d.ts +4 -1
  82. package/src/schematics/accordion/item/accordion-item-tree-table-component/index.js +1 -1
  83. package/src/schematics/accordion/item/accordion-item-tree-table-component/index.js.map +1 -1
  84. package/src/schematics/accordion/item/accordion-item-tree-table-component/schema.json +62 -9
  85. package/src/schematics/angular.schema.json +61 -0
  86. package/src/schematics/data-grid-component/index.d.ts +1 -1
  87. package/src/schematics/data-grid-component/index.js +1 -1
  88. package/src/schematics/data-grid-component/index.js.map +1 -1
  89. package/src/schematics/data-grid-component/schema.json +13 -3
  90. package/src/schematics/dialog-component/index.js +3 -3
  91. package/src/schematics/dialog-component/index.js.map +1 -1
  92. package/src/schematics/dialog-component/schema.json +13 -3
  93. package/src/schematics/form/control/input-form-control/index.d.ts +2 -2
  94. package/src/schematics/form/control/input-form-control/index.js +8 -4
  95. package/src/schematics/form/control/input-form-control/index.js.map +1 -1
  96. package/src/schematics/form/control/select-form-control/index.js +3 -1
  97. package/src/schematics/form/control/select-form-control/index.js.map +1 -1
  98. package/src/schematics/form/control/table-select-form-control/index.d.ts +2 -2
  99. package/src/schematics/form/control/table-select-form-control/index.js +5 -3
  100. package/src/schematics/form/control/table-select-form-control/index.js.map +1 -1
  101. package/src/schematics/form/form-component/index.d.ts +1 -1
  102. package/src/schematics/form/form-component/index.js +22 -9
  103. package/src/schematics/form/form-component/index.js.map +1 -1
  104. package/src/schematics/form/form-component/schema.json +3 -6
  105. package/src/schematics/form/form-control/index.js +3 -1
  106. package/src/schematics/form/form-control/index.js.map +1 -1
  107. package/src/schematics/form/form-definition/index.d.ts +4 -4
  108. package/src/schematics/form/form-definition/index.js +24 -10
  109. package/src/schematics/form/form-definition/index.js.map +1 -1
  110. package/src/schematics/form/form-definition/schema.d.ts +2 -1
  111. package/src/schematics/form/form-definition/schema.json +5 -0
  112. package/src/schematics/general.schema.json +41 -0
  113. package/src/schematics/table/action/dialog-table-action/index.d.ts +3 -1
  114. package/src/schematics/table/action/dialog-table-action/index.js +3 -1
  115. package/src/schematics/table/action/dialog-table-action/index.js.map +1 -1
  116. package/src/schematics/table/action/dialog-table-action/schema.json +12 -2
  117. package/src/schematics/table/action/form-table-action/index.d.ts +6 -3
  118. package/src/schematics/table/action/form-table-action/index.js +68 -18
  119. package/src/schematics/table/action/form-table-action/index.js.map +1 -1
  120. package/src/schematics/table/action/form-table-action/schema.d.ts +13 -1
  121. package/src/schematics/table/action/form-table-action/schema.json +71 -3
  122. package/src/schematics/table/action/navigation-table-action/index.js +6 -3
  123. package/src/schematics/table/action/navigation-table-action/index.js.map +1 -1
  124. package/src/schematics/table/action/navigation-table-action/schema.d.ts +1 -0
  125. package/src/schematics/table/action/navigation-table-action/schema.json +5 -0
  126. package/src/schematics/table/action/open-api-table-action/index.d.ts +10 -0
  127. package/src/schematics/table/action/open-api-table-action/index.js +50 -0
  128. package/src/schematics/table/action/open-api-table-action/index.js.map +1 -0
  129. package/src/schematics/table/action/open-api-table-action/schema.d.ts +9 -0
  130. package/src/schematics/table/action/open-api-table-action/schema.json +121 -0
  131. package/src/schematics/table/action/operation-table-action/index.js +3 -1
  132. package/src/schematics/table/action/operation-table-action/index.js.map +1 -1
  133. package/src/schematics/table/header-button/form-table-header-button/index.d.ts +18 -0
  134. package/src/schematics/table/header-button/form-table-header-button/index.js +92 -0
  135. package/src/schematics/table/header-button/form-table-header-button/index.js.map +1 -0
  136. package/src/schematics/table/header-button/form-table-header-button/schema.d.ts +15 -0
  137. package/src/schematics/table/header-button/form-table-header-button/schema.json +139 -0
  138. package/src/schematics/table/header-button/navigation-table-header-button/index.d.ts +8 -0
  139. package/src/schematics/table/header-button/navigation-table-header-button/index.js +84 -0
  140. package/src/schematics/table/header-button/navigation-table-header-button/index.js.map +1 -0
  141. package/src/schematics/table/header-button/navigation-table-header-button/schema.d.ts +7 -0
  142. package/src/schematics/table/header-button/navigation-table-header-button/schema.json +87 -0
  143. package/src/schematics/table/table-action/index.js +3 -1
  144. package/src/schematics/table/table-action/index.js.map +1 -1
  145. package/src/schematics/table/table-action/schema.json +8 -0
  146. package/src/schematics/table/table-component/files/component/__componentName__.component.html.template +34 -48
  147. package/src/schematics/table/table-component/files/component/__componentName__.component.ts.template +19 -5
  148. package/src/schematics/table/table-component/index.d.ts +6 -8
  149. package/src/schematics/table/table-component/index.js +43 -28
  150. package/src/schematics/table/table-component/index.js.map +1 -1
  151. package/src/schematics/table/table-component/schema.json +267 -215
  152. package/src/schematics/table/table-header-button/index.d.ts +8 -0
  153. package/src/schematics/table/table-header-button/index.js +50 -0
  154. package/src/schematics/table/table-header-button/index.js.map +1 -0
  155. package/src/schematics/table/table-header-button/schema.d.ts +8 -0
  156. package/src/schematics/table/table-header-button/schema.json +80 -0
  157. package/src/schematics/table/tree-table-component/files/component/__componentName__.component.html.template +94 -82
  158. package/src/schematics/table/tree-table-component/files/component/__componentName__.component.ts.template +17 -4
  159. package/src/schematics/table/tree-table-component/index.d.ts +1 -1
  160. package/src/schematics/table/tree-table-component/index.js +19 -24
  161. package/src/schematics/table/tree-table-component/index.js.map +1 -1
  162. package/src/schematics/table/tree-table-component/schema.json +60 -7
  163. package/src/schematics/tree-component/index.d.ts +2 -2
  164. package/src/schematics/tree-component/index.js +2 -2
  165. package/src/schematics/tree-component/index.js.map +1 -1
  166. package/src/schematics/tree-component/schema.json +11 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,349 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [16.1.0-dev.51](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.50...@rxap/schematic-angular@16.1.0-dev.51) (2023-11-19)
7
+
8
+ ### Bug Fixes
9
+
10
+ - simplify the table action form name ([af8012e](https://gitlab.com/rxap/packages/commit/af8012e60602d4a8bcb191e97af18b93dc1fe32b))
11
+
12
+ # [16.1.0-dev.50](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.49...@rxap/schematic-angular@16.1.0-dev.50) (2023-11-19)
13
+
14
+ ### Bug Fixes
15
+
16
+ - include property list in operation dto generation ([db77bdd](https://gitlab.com/rxap/packages/commit/db77bddfceb5858a6468830d62133aff49bfea65))
17
+
18
+ # [16.1.0-dev.49](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.48...@rxap/schematic-angular@16.1.0-dev.49) (2023-11-19)
19
+
20
+ ### Bug Fixes
21
+
22
+ - preserve table column name prefix ([6ad3d2b](https://gitlab.com/rxap/packages/commit/6ad3d2b528a9d5ae022ad3fef7a0aa60220cf6d4))
23
+
24
+ # [16.1.0-dev.48](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.47...@rxap/schematic-angular@16.1.0-dev.48) (2023-11-19)
25
+
26
+ ### Features
27
+
28
+ - support complex and importable types ([1636580](https://gitlab.com/rxap/packages/commit/1636580713961324683ea0246e109e35e7efc6c1))
29
+
30
+ # [16.1.0-dev.47](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.46...@rxap/schematic-angular@16.1.0-dev.47) (2023-11-19)
31
+
32
+ ### Bug Fixes
33
+
34
+ - use Object.freeze instead of Object.seal ([630008f](https://gitlab.com/rxap/packages/commit/630008fe0eed3ec9f4670cfe6ba8e25cc8b3e42f))
35
+
36
+ ### Features
37
+
38
+ - support complex and importable types ([b8b6e16](https://gitlab.com/rxap/packages/commit/b8b6e16fcdf6544681f84aa5d9ddf302c1ac34db))
39
+
40
+ # [16.1.0-dev.46](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.45...@rxap/schematic-angular@16.1.0-dev.46) (2023-11-18)
41
+
42
+ ### Bug Fixes
43
+
44
+ - support custom form components ([7df7f07](https://gitlab.com/rxap/packages/commit/7df7f07c2de91d77116d5c190ff8b538be1eeac2))
45
+
46
+ # [16.1.0-dev.45](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.44...@rxap/schematic-angular@16.1.0-dev.45) (2023-11-18)
47
+
48
+ ### Bug Fixes
49
+
50
+ - support custom table interface properties ([746bd42](https://gitlab.com/rxap/packages/commit/746bd42632ccb699b471ffea25543a76445501ff))
51
+
52
+ # [16.1.0-dev.44](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.43...@rxap/schematic-angular@16.1.0-dev.44) (2023-11-18)
53
+
54
+ ### Bug Fixes
55
+
56
+ - support relativeTo parameter ([0f1e690](https://gitlab.com/rxap/packages/commit/0f1e690f74802761efee09fa73ffb8036b3cefcd))
57
+
58
+ # [16.1.0-dev.43](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.42...@rxap/schematic-angular@16.1.0-dev.43) (2023-11-17)
59
+
60
+ ### Features
61
+
62
+ - support custom column template and pipes ([d45ccab](https://gitlab.com/rxap/packages/commit/d45ccab1ea86b0139e49c5c42ea0131d5fcb5028))
63
+
64
+ # [16.1.0-dev.42](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.41...@rxap/schematic-angular@16.1.0-dev.42) (2023-11-17)
65
+
66
+ ### Bug Fixes
67
+
68
+ - ensure the custom component are imported ([9757656](https://gitlab.com/rxap/packages/commit/9757656618ea6723dfd0b348a1ea25c3700032c2))
69
+
70
+ # [16.1.0-dev.41](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.40...@rxap/schematic-angular@16.1.0-dev.41) (2023-11-17)
71
+
72
+ ### Bug Fixes
73
+
74
+ - ensure the custom component are imported ([6ebab4b](https://gitlab.com/rxap/packages/commit/6ebab4b626d1ed41df6dc16e3c3a9371c975b89c))
75
+
76
+ # [16.1.0-dev.40](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.39...@rxap/schematic-angular@16.1.0-dev.40) (2023-11-17)
77
+
78
+ ### Bug Fixes
79
+
80
+ - auto detect the best matching column type ([75f748b](https://gitlab.com/rxap/packages/commit/75f748b841d0495b0a2faa46836e2ad19455c735))
81
+
82
+ # [16.1.0-dev.39](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.38...@rxap/schematic-angular@16.1.0-dev.39) (2023-11-17)
83
+
84
+ ### Bug Fixes
85
+
86
+ - update table templates ([9e463da](https://gitlab.com/rxap/packages/commit/9e463daa7af811b5f9da7dcf6d1f82ea37f4631f))
87
+ - use prop role for the type of table column ([45759f4](https://gitlab.com/rxap/packages/commit/45759f4ce099aaeee7e31bfc1b85c67cc674db78))
88
+
89
+ # [16.1.0-dev.38](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.37...@rxap/schematic-angular@16.1.0-dev.38) (2023-11-17)
90
+
91
+ ### Bug Fixes
92
+
93
+ - use dynamic prefix ([67808c0](https://gitlab.com/rxap/packages/commit/67808c0e8c0e708c4179793d38df20435373d1d4))
94
+
95
+ # [16.1.0-dev.37](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.36...@rxap/schematic-angular@16.1.0-dev.37) (2023-11-17)
96
+
97
+ ### Bug Fixes
98
+
99
+ - support custom form component ([28e26ab](https://gitlab.com/rxap/packages/commit/28e26abb2ef171b9a5c54909dfcc33285c121545))
100
+ - support custom form options ([04c74e6](https://gitlab.com/rxap/packages/commit/04c74e608a93ae37831f72194acc1a5c22b0001d))
101
+
102
+ # [16.1.0-dev.36](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.35...@rxap/schematic-angular@16.1.0-dev.36) (2023-11-17)
103
+
104
+ ### Bug Fixes
105
+
106
+ - resolve minor template issues ([1f13b90](https://gitlab.com/rxap/packages/commit/1f13b9084fd3de7e97e803f8ca8dfae7feb5cfac))
107
+
108
+ # [16.1.0-dev.35](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.34...@rxap/schematic-angular@16.1.0-dev.35) (2023-11-17)
109
+
110
+ ### Bug Fixes
111
+
112
+ - use correct path ([30ad62c](https://gitlab.com/rxap/packages/commit/30ad62c1a944a8388e31c41c7d606d686df084b6))
113
+
114
+ # [16.1.0-dev.34](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.33...@rxap/schematic-angular@16.1.0-dev.34) (2023-11-17)
115
+
116
+ ### Bug Fixes
117
+
118
+ - support custom form component ([6c1a9b7](https://gitlab.com/rxap/packages/commit/6c1a9b7e996aa5bac073a5867b30819748230a84))
119
+
120
+ # [16.1.0-dev.33](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.32...@rxap/schematic-angular@16.1.0-dev.33) (2023-11-17)
121
+
122
+ ### Bug Fixes
123
+
124
+ - support navigation ([16ce11f](https://gitlab.com/rxap/packages/commit/16ce11f2c60d47fef463259944b659b0a750f1dd))
125
+
126
+ # [16.1.0-dev.32](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.31...@rxap/schematic-angular@16.1.0-dev.32) (2023-11-17)
127
+
128
+ ### Bug Fixes
129
+
130
+ - support navigation ([2b3542b](https://gitlab.com/rxap/packages/commit/2b3542b50dda823330e1c8f4b0108a1669a607f9))
131
+
132
+ # [16.1.0-dev.31](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.30...@rxap/schematic-angular@16.1.0-dev.31) (2023-11-17)
133
+
134
+ ### Bug Fixes
135
+
136
+ - support role alias ([284fa94](https://gitlab.com/rxap/packages/commit/284fa94d256e9bcc39a981dbc179d5f810aad330))
137
+
138
+ # [16.1.0-dev.30](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.29...@rxap/schematic-angular@16.1.0-dev.30) (2023-11-17)
139
+
140
+ ### Bug Fixes
141
+
142
+ - support complex overwrite values ([c2fc6b9](https://gitlab.com/rxap/packages/commit/c2fc6b91c71d99496a2448e75287ea61f49e11c4))
143
+
144
+ # [16.1.0-dev.29](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.28...@rxap/schematic-angular@16.1.0-dev.29) (2023-11-17)
145
+
146
+ ### Bug Fixes
147
+
148
+ - improve table template ([ddc5469](https://gitlab.com/rxap/packages/commit/ddc546991ef5450893617fa34af590c10997bb92))
149
+ - support custom css class for actions and columns ([f5363df](https://gitlab.com/rxap/packages/commit/f5363dffb13be7f668d41ce606e33aba7f404437))
150
+
151
+ ### Features
152
+
153
+ - add open api table action ([ceee1d8](https://gitlab.com/rxap/packages/commit/ceee1d81d7633d1115010691e631f2974e335805))
154
+
155
+ # [16.1.0-dev.28](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.27...@rxap/schematic-angular@16.1.0-dev.28) (2023-11-16)
156
+
157
+ ### Bug Fixes
158
+
159
+ - support mat card inline ([0e42a58](https://gitlab.com/rxap/packages/commit/0e42a58206b0c522dd5b5e597ce5657b8ce14c5b))
160
+
161
+ # [16.1.0-dev.27](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.26...@rxap/schematic-angular@16.1.0-dev.27) (2023-11-16)
162
+
163
+ ### Bug Fixes
164
+
165
+ - only export component as default if root level feature ([fd1515b](https://gitlab.com/rxap/packages/commit/fd1515b3fab4298d9d00b7725922ec12140ad2f2))
166
+
167
+ # [16.1.0-dev.26](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.25...@rxap/schematic-angular@16.1.0-dev.26) (2023-11-16)
168
+
169
+ ### Bug Fixes
170
+
171
+ - support nested column properties ([8e98214](https://gitlab.com/rxap/packages/commit/8e9821427996fd8445f039a5683dc5ed910c056d))
172
+
173
+ # [16.1.0-dev.25](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.24...@rxap/schematic-angular@16.1.0-dev.25) (2023-10-11)
174
+
175
+ **Note:** Version bump only for package @rxap/schematic-angular
176
+
177
+ # [16.1.0-dev.24](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.24...@rxap/schematic-angular@16.1.0-dev.24) (2023-10-11)
178
+
179
+ **Note:** Version bump only for package @rxap/schematic-angular
180
+
181
+ # 16.1.0-dev.24 (2023-10-11)
182
+
183
+ ### Bug Fixes
184
+
185
+ - add generator termination indicator ([15ca23c](https://gitlab.com/rxap/packages/commit/15ca23cd732ca3372a5eba7fba941a6fa1e5278c))
186
+ - add licence file to publishable packages ([d7de1cb](https://gitlab.com/rxap/packages/commit/d7de1cb9db1bd1628f37084e3b0ffd1755aa75f6))
187
+ - add missing import ([2e1c1d0](https://gitlab.com/rxap/packages/commit/2e1c1d0bef2de65c0abc8fff2c411b90a0c03f02))
188
+ - allow new role types ([1a2d6d0](https://gitlab.com/rxap/packages/commit/1a2d6d034d2b4ea66181a1e46fa30a927aad4e00))
189
+ - allow null or undefined for scope parameter ([949d4d0](https://gitlab.com/rxap/packages/commit/949d4d04a25644a54cbfabc081e83719ace885f2))
190
+ - build controller name for tables ([14d6d94](https://gitlab.com/rxap/packages/commit/14d6d94c30e18eb1ceb876815a99c414f82a172a))
191
+ - change from commonjs to es2022 ([cf675a7](https://gitlab.com/rxap/packages/commit/cf675a7254de9ce4b269264df59794dd42fcbd8b))
192
+ - change overscroll-contain to overscroll-auto ([8834055](https://gitlab.com/rxap/packages/commit/88340559e9dcaa45f8d88c4468e77965ba92e2d3))
193
+ - check with role ([99c9ca8](https://gitlab.com/rxap/packages/commit/99c9ca8cd4f71347ee9d66f9b0b59790924140bb))
194
+ - controller name composition ([ad2c82d](https://gitlab.com/rxap/packages/commit/ad2c82df5db0036efedd3bdbb5143483a4a3deb4))
195
+ - controller naming and route ([38054d3](https://gitlab.com/rxap/packages/commit/38054d3ee106e1f50f806e1596da674f268cb4aa))
196
+ - ensure required packages are added to package.json ([a5d5996](https://gitlab.com/rxap/packages/commit/a5d5996709e58f8b9991f276513857e7ce2939cb))
197
+ - ensure required packages are installed ([0c96f09](https://gitlab.com/rxap/packages/commit/0c96f096c85b9192531a353e5ec110b73a0af155))
198
+ - ensure table action respect then backend type ([9f1e659](https://gitlab.com/rxap/packages/commit/9f1e659475926506ba4c083c5c75f6d5d11b9de1))
199
+ - ensure the project name is not included in the project tag list ([46d4479](https://gitlab.com/rxap/packages/commit/46d44798258ea1b20df9d4408b9c0809f55027b2))
200
+ - extend debug output ([61d4369](https://gitlab.com/rxap/packages/commit/61d4369e3fcb32bd0993c0251be14b4ac8bec927))
201
+ - generate a valid implementation for navigation execution ([9c605b4](https://gitlab.com/rxap/packages/commit/9c605b4dd25091ad50c88cb45239f413ab58d29b))
202
+ - generate readme with peer dependencies to install ([27c2cd7](https://gitlab.com/rxap/packages/commit/27c2cd7d98f0c8a499b8c30719f49d69e4970ae9))
203
+ - generate window specific methods ([baa38c3](https://gitlab.com/rxap/packages/commit/baa38c38b6db6f98170b6d0afab28dacf601a275))
204
+ - move additional table header options into the options object ([bb3aa5b](https://gitlab.com/rxap/packages/commit/bb3aa5b8c827dd10250a9d7c764f3226d8310557))
205
+ - move additional table header options into the options object ([1810762](https://gitlab.com/rxap/packages/commit/18107623efb019cb55d3ee882fd757feae0b4a17))
206
+ - only set to unknown type if type property is empty or object ([717cae1](https://gitlab.com/rxap/packages/commit/717cae14da2ccb091c3138910859060322f486f0))
207
+ - peer dependency issue ([ee95415](https://gitlab.com/rxap/packages/commit/ee95415370d9ef2396916d6c25061a0df791034a))
208
+ - remove css class usage of container ([472cc12](https://gitlab.com/rxap/packages/commit/472cc12f824acc10bca596e4a34e8bc13e809eaa))
209
+ - remove custom controller name generation ([753d702](https://gitlab.com/rxap/packages/commit/753d70223ddf3db5fa985d69d4d506d3639ae93b))
210
+ - remove deprecated code ([ed61f38](https://gitlab.com/rxap/packages/commit/ed61f38ddd6b11f12b9c886ae94683c56b125457))
211
+ - remove old mat tooltip i18n ([5292efe](https://gitlab.com/rxap/packages/commit/5292efe674feb8e863f40775a1cabd838173523c))
212
+ - schema ref urls ([864229b](https://gitlab.com/rxap/packages/commit/864229bead46725c3d5a4acdee95342209c907fc))
213
+ - table button component generation ([b76453d](https://gitlab.com/rxap/packages/commit/b76453d4077f61840cc83aff732b8fdeff479457))
214
+ - update table action generator to new concept ([fadb1f6](https://gitlab.com/rxap/packages/commit/fadb1f68763a842cc3b363429c7f1dcfd1a5266c))
215
+ - use role for sub schematic decision ([cb215f5](https://gitlab.com/rxap/packages/commit/cb215f510dbcc13be92c14d6f69dce0bd264d58f))
216
+ - use table type as base for the form filter type ([ef00fe0](https://gitlab.com/rxap/packages/commit/ef00fe0628642a1d02b6452c6b6a1f5ea5236baa))
217
+
218
+ ### Features
219
+
220
+ - add navigation header button schematic ([02ef47c](https://gitlab.com/rxap/packages/commit/02ef47c6f22d25e69c1b468f65cdcaa93e97a26b))
221
+ - support custom table action options pass through ([2a502de](https://gitlab.com/rxap/packages/commit/2a502def23628bf54cdc73b18b55cd3886ec6a45))
222
+ - support non standalone form definitions ([7fbb153](https://gitlab.com/rxap/packages/commit/7fbb153bf6f0c5544fb512f7710a87401b15f6c9))
223
+ - support open api backend ([71dac49](https://gitlab.com/rxap/packages/commit/71dac49b866ebc9fbf4fbee683a29255efee7abb))
224
+ - support overwrite array ([2696160](https://gitlab.com/rxap/packages/commit/2696160aef2cf384edca3235aa0aaadc3afb97cc))
225
+
226
+ ### Performance Improvements
227
+
228
+ - improve ts-morph transform performance ([737d375](https://gitlab.com/rxap/packages/commit/737d37553f6ced9646e12deb1e7bad56b77efc9d))
229
+
230
+ ### Reverts
231
+
232
+ - change from commonjs to es2022 ([50eca61](https://gitlab.com/rxap/packages/commit/50eca61e9a89388d1cfeefb8b1029b302b6f307e))
233
+
234
+ # [16.1.0-dev.23](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.22...@rxap/schematic-angular@16.1.0-dev.23) (2023-10-09)
235
+
236
+ ### Bug Fixes
237
+
238
+ - schema ref urls ([dd1f3a0](https://gitlab.com/rxap/packages/commit/dd1f3a012bbba3f1725e2b41eda139fc18bd5f13))
239
+
240
+ # [16.1.0-dev.22](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.21...@rxap/schematic-angular@16.1.0-dev.22) (2023-10-09)
241
+
242
+ ### Bug Fixes
243
+
244
+ - only set to unknown type if type property is empty or object ([44cd819](https://gitlab.com/rxap/packages/commit/44cd81935248d5941e55e6fbb4a983ccdbbd590c))
245
+
246
+ ### Features
247
+
248
+ - support overwrite array ([e528c87](https://gitlab.com/rxap/packages/commit/e528c87fd5fb49898583e0c08c191942e7e2f8e4))
249
+
250
+ # [16.1.0-dev.21](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.20...@rxap/schematic-angular@16.1.0-dev.21) (2023-10-08)
251
+
252
+ ### Features
253
+
254
+ - support non standalone form definitions ([45f88c6](https://gitlab.com/rxap/packages/commit/45f88c6409439ea7b8dfb87e2c4a445570ae425e))
255
+
256
+ # [16.1.0-dev.20](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.19...@rxap/schematic-angular@16.1.0-dev.20) (2023-10-02)
257
+
258
+ ### Bug Fixes
259
+
260
+ - ensure required packages are installed ([fbef16e](https://gitlab.com/rxap/packages/commit/fbef16edb34530ed4414a5c597096c1e0ecd537e))
261
+
262
+ # [16.1.0-dev.19](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.18...@rxap/schematic-angular@16.1.0-dev.19) (2023-10-02)
263
+
264
+ ### Bug Fixes
265
+
266
+ - add generator termination indicator ([aa34baf](https://gitlab.com/rxap/packages/commit/aa34baf92397cf320859845fb7b5a4765b77d4d9))
267
+ - ensure required packages are added to package.json ([ebe0858](https://gitlab.com/rxap/packages/commit/ebe085822edb94a276f7f79dd70d28c9872f7b32))
268
+ - generate a valid implementation for navigation execution ([d9d13d1](https://gitlab.com/rxap/packages/commit/d9d13d11c56bc5b0c5c130c21281e2c2d91e575a))
269
+
270
+ # [16.1.0-dev.18](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.17...@rxap/schematic-angular@16.1.0-dev.18) (2023-10-01)
271
+
272
+ ### Bug Fixes
273
+
274
+ - move additional table header options into the options object ([3284d7c](https://gitlab.com/rxap/packages/commit/3284d7cd7aba7ae41255bd2bcd8b9dd6c37f92f6))
275
+
276
+ # [16.1.0-dev.17](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.16...@rxap/schematic-angular@16.1.0-dev.17) (2023-10-01)
277
+
278
+ ### Bug Fixes
279
+
280
+ - move additional table header options into the options object ([731702b](https://gitlab.com/rxap/packages/commit/731702baac87997ebce3248c68d48ed083fa138f))
281
+
282
+ # [16.1.0-dev.16](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.15...@rxap/schematic-angular@16.1.0-dev.16) (2023-09-21)
283
+
284
+ ### Bug Fixes
285
+
286
+ - change overscroll-contain to overscroll-auto ([0a8db9f](https://gitlab.com/rxap/packages/commit/0a8db9ff3d131b98d207ad40aef411927ebdc837))
287
+
288
+ # [16.1.0-dev.15](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.14...@rxap/schematic-angular@16.1.0-dev.15) (2023-09-14)
289
+
290
+ ### Bug Fixes
291
+
292
+ - remove css class usage of container ([9a1969f](https://gitlab.com/rxap/packages/commit/9a1969f8748a08d6d948f9e7d4f4b511c1349352))
293
+
294
+ # [16.1.0-dev.14](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.13...@rxap/schematic-angular@16.1.0-dev.14) (2023-09-12)
295
+
296
+ ### Bug Fixes
297
+
298
+ - peer dependency issue ([e67e2b8](https://gitlab.com/rxap/packages/commit/e67e2b8eb884b598536d16c2c544a9ad9be5b53e))
299
+
300
+ # [16.1.0-dev.13](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.12...@rxap/schematic-angular@16.1.0-dev.13) (2023-09-12)
301
+
302
+ **Note:** Version bump only for package @rxap/schematic-angular
303
+
304
+ # [16.1.0-dev.12](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.11...@rxap/schematic-angular@16.1.0-dev.12) (2023-09-07)
305
+
306
+ **Note:** Version bump only for package @rxap/schematic-angular
307
+
308
+ # [16.1.0-dev.11](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.10...@rxap/schematic-angular@16.1.0-dev.11) (2023-09-03)
309
+
310
+ **Note:** Version bump only for package @rxap/schematic-angular
311
+
312
+ # [16.1.0-dev.10](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.9...@rxap/schematic-angular@16.1.0-dev.10) (2023-09-03)
313
+
314
+ ### Bug Fixes
315
+
316
+ - remove deprecated code ([8c3fda1](https://gitlab.com/rxap/packages/commit/8c3fda114efa98adbdde8417f6a5d793b5db1f77))
317
+
318
+ # [16.1.0-dev.9](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.8...@rxap/schematic-angular@16.1.0-dev.9) (2023-08-31)
319
+
320
+ ### Bug Fixes
321
+
322
+ - ensure the project name is not included in the project tag list ([b131ac3](https://gitlab.com/rxap/packages/commit/b131ac3bd92b3b8799d62f15bbd30a1997d7c753))
323
+
324
+ # [16.1.0-dev.8](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.7...@rxap/schematic-angular@16.1.0-dev.8) (2023-08-17)
325
+
326
+ ### Reverts
327
+
328
+ - change from commonjs to es2022 ([747a381](https://gitlab.com/rxap/packages/commit/747a381a090f0a276cf363da61bb19ed0c9cb5b7))
329
+
330
+ # [16.1.0-dev.7](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.6...@rxap/schematic-angular@16.1.0-dev.7) (2023-08-16)
331
+
332
+ ### Bug Fixes
333
+
334
+ - change from commonjs to es2022 ([fd0f2ba](https://gitlab.com/rxap/packages/commit/fd0f2bae24eae7c854e96f630076cd5598c30be6))
335
+
336
+ # [16.1.0-dev.6](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.5...@rxap/schematic-angular@16.1.0-dev.6) (2023-08-14)
337
+
338
+ ### Bug Fixes
339
+
340
+ - controller name composition ([d7c89a4](https://gitlab.com/rxap/packages/commit/d7c89a41dd3bfa6ab599e1eded3a1f2be92828e7))
341
+ - remove custom controller name generation ([525554b](https://gitlab.com/rxap/packages/commit/525554b252be90339cec8a7d25845b08ae9a7b32))
342
+ - remove old mat tooltip i18n ([fbffc23](https://gitlab.com/rxap/packages/commit/fbffc23fc346b5f5b6636f2b2735e088763c437f))
343
+ - table button component generation ([da7da39](https://gitlab.com/rxap/packages/commit/da7da39788dda48d23d7befcdc8395201e5caafe))
344
+
345
+ ### Features
346
+
347
+ - add navigation header button schematic ([5293374](https://gitlab.com/rxap/packages/commit/5293374546ce02201abe987dc1f1901c753d55ca))
348
+
6
349
  # [16.1.0-dev.5](https://gitlab.com/rxap/packages/compare/@rxap/schematic-angular@16.1.0-dev.4...@rxap/schematic-angular@16.1.0-dev.5) (2023-08-14)
7
350
 
8
351
  ### Bug Fixes
package/README.md CHANGED
@@ -17,5 +17,5 @@ yarn add @rxap/schematic-angular
17
17
  ```
18
18
  **Install peer dependencies:**
19
19
  ```bash
20
- yarn add @angular-devkit/core@^16.1.4 @angular-devkit/schematics@^16.1.4 @rxap/schematics-ts-morph@^16.0.0-dev.8 @rxap/schematics-utilities@^16.0.0-dev.7 @rxap/utilities@^16.0.0-dev.7 ts-morph@^18.0.0
20
+ yarn add @angular-devkit/core@^16.1.4 @angular-devkit/schematics@^16.1.4 @rxap/schematics-ts-morph@^16.0.0-dev.39 @rxap/schematics-utilities@^16.0.0-dev.21 @rxap/ts-morph@^0.1.0-dev.21 @rxap/utilities@^16.0.0-dev.23 ts-morph@^18.0.0 tslib@2.6.2
21
21
  ```
package/collection.json CHANGED
@@ -25,6 +25,21 @@
25
25
  "schema": "./src/schematics/table/table-action/schema.json",
26
26
  "description": "Generates a table action."
27
27
  },
28
+ "table-header-button": {
29
+ "factory": "./src/schematics/table/table-header-button/index",
30
+ "schema": "./src/schematics/table/table-header-button/schema.json",
31
+ "description": "Generates a table header-button."
32
+ },
33
+ "form-table-header-button": {
34
+ "factory": "./src/schematics/table/header-button/form-table-header-button/index",
35
+ "schema": "./src/schematics/table/header-button/form-table-header-button/schema.json",
36
+ "description": "Generates a table form header-button."
37
+ },
38
+ "navigation-table-header-button": {
39
+ "factory": "./src/schematics/table/header-button/navigation-table-header-button/index",
40
+ "schema": "./src/schematics/table/header-button/navigation-table-header-button/schema.json",
41
+ "description": "Generates a table navigation header-button."
42
+ },
28
43
  "accordion-component": {
29
44
  "schema": "./src/schematics/accordion/accordion-component/schema.json",
30
45
  "factory": "./src/schematics/accordion/accordion-component/index",
@@ -90,6 +105,11 @@
90
105
  "factory": "./src/schematics/table/action/operation-table-action/index",
91
106
  "description": "The operation-table-action schematic"
92
107
  },
108
+ "open-api-table-action": {
109
+ "schema": "./src/schematics/table/action/open-api-table-action/schema.json",
110
+ "factory": "./src/schematics/table/action/open-api-table-action/index",
111
+ "description": "The open-api-table-action schematic"
112
+ },
93
113
  "tree-component": {
94
114
  "schema": "./src/schematics/tree-component/schema.json",
95
115
  "factory": "./src/schematics/tree-component/index",
@@ -106,4 +126,4 @@
106
126
  "description": "The accordion-item-tree-table-component schematic"
107
127
  }
108
128
  }
109
- }
129
+ }
package/package.json CHANGED
@@ -1,63 +1,60 @@
1
1
  {
2
+ "version": "16.1.0-dev.51",
2
3
  "name": "@rxap/schematic-angular",
3
- "version": "16.1.0-dev.5",
4
- "type": "commonjs",
5
- "schematics": "./collection.json",
6
- "publishConfig": {
7
- "access": "public",
8
- "directory": "../../../dist/packages/schematic/angular"
9
- },
10
- "keywords": [
11
- "rxap",
12
- "packages",
13
- "schematic",
14
- "angular"
15
- ],
16
- "homepage": "https:/gitlab.com/rxap/packages/packages/schematic/angular",
17
- "bugs": {
18
- "url": "https://gitlab.com/rxap/packages/-/issues",
19
- "email": "incoming+rxap-packages-14898188-issue-@incoming.gitlab.com"
20
- },
21
4
  "license": "GPL-3.0-or-later",
22
- "repository": {
23
- "type": "git",
24
- "url": "https://gitlab.com/rxap/packages.git",
25
- "directory": "packages/schematic/angular"
26
- },
27
- "author": {
28
- "name": "Merzough Münker",
29
- "email": "mmuenker@digitaix.com"
30
- },
31
5
  "dependencies": {
32
- "ignore": "^5.2.4",
6
+ "ignore": "5.2.4",
33
7
  "process": "0.11.10",
34
- "semver": "^7.3.5",
35
- "tslib": "2.6.1"
8
+ "semver": "7.5.3",
9
+ "tslib": "2.6.2",
10
+ "yaml": "2.3.1"
36
11
  },
37
12
  "peerDependencies": {
38
13
  "@angular-devkit/core": "^16.1.4",
39
14
  "@angular-devkit/schematics": "^16.1.4",
40
- "@rxap/schematics-ts-morph": "^16.0.0-dev.8",
41
- "@rxap/schematics-utilities": "^16.0.0-dev.7",
42
- "@rxap/utilities": "^16.0.0-dev.7",
15
+ "@rxap/schematics-ts-morph": "^16.0.0-dev.39",
16
+ "@rxap/schematics-utilities": "^16.0.0-dev.21",
17
+ "@rxap/ts-morph": "^0.1.0-dev.21",
18
+ "@rxap/utilities": "^16.0.0-dev.23",
43
19
  "ts-morph": "^18.0.0",
44
- "@rxap/node-utilities": "1.1.0-dev.1",
45
- "@rxap/workspace-ts-morph": "0.1.0-dev.0",
46
- "@rxap/workspace-utilities": "0.1.0-dev.3"
20
+ "tslib": "2.6.2",
21
+ "@rxap/node-utilities": "1.1.0-dev.15",
22
+ "@rxap/workspace-ts-morph": "0.1.0-dev.12",
23
+ "@rxap/workspace-utilities": "0.1.0-dev.26"
24
+ },
25
+ "author": {
26
+ "name": "Merzough Münker",
27
+ "email": "mmuenker@digitaix.com"
28
+ },
29
+ "bugs": {
30
+ "url": "https://gitlab.com/rxap/packages/-/issues",
31
+ "email": "incoming+rxap-packages-14898188-issue-@incoming.gitlab.com"
47
32
  },
33
+ "homepage": "https:/gitlab.com/rxap/packages/packages/schematic/angular",
34
+ "keywords": [
35
+ "angular",
36
+ "packages",
37
+ "rxap",
38
+ "schematic",
39
+ "schematic-angular"
40
+ ],
48
41
  "nx-migrations": {
49
42
  "packageGroup": [
50
43
  {
51
44
  "package": "@rxap/schematics-ts-morph",
52
- "version": "16.0.0-dev.8"
45
+ "version": "16.0.0-dev.39"
53
46
  },
54
47
  {
55
48
  "package": "@rxap/schematics-utilities",
56
- "version": "16.0.0-dev.7"
49
+ "version": "16.0.0-dev.21"
50
+ },
51
+ {
52
+ "package": "@rxap/ts-morph",
53
+ "version": "0.1.0-dev.21"
57
54
  },
58
55
  {
59
56
  "package": "@rxap/utilities",
60
- "version": "16.0.0-dev.7"
57
+ "version": "16.0.0-dev.23"
61
58
  },
62
59
  {
63
60
  "package": "@rxap/workspace-utilities",
@@ -65,7 +62,18 @@
65
62
  }
66
63
  ]
67
64
  },
68
- "gitHead": "2e18c42848d760a0e64ac7022730018c0f135bf5",
65
+ "publishConfig": {
66
+ "access": "public",
67
+ "directory": "../../../dist/packages/schematic/angular"
68
+ },
69
+ "repository": {
70
+ "type": "git",
71
+ "url": "https://gitlab.com/rxap/packages.git",
72
+ "directory": "packages/schematic/angular"
73
+ },
74
+ "schematics": "./collection.json",
75
+ "type": "commonjs",
76
+ "gitHead": "ebeb8c7e59533c50a84d04e30e4ee40b5b6b8315",
69
77
  "main": "./src/index.js",
70
78
  "types": "./src/index.d.ts"
71
79
  }
@@ -1,5 +1,5 @@
1
- import { AccordionItemTypes } from './accordion-itme-types';
2
1
  import { NonNullableSelected, Normalized } from '@rxap/utilities';
2
+ import { AccordionItemTypes } from './accordion-itme-types';
3
3
  export interface AccordionItem {
4
4
  name: string;
5
5
  type: AccordionItemTypes;
@@ -7,4 +7,4 @@ export interface AccordionItem {
7
7
  }
8
8
  export type NormalizedAccordionItem = Readonly<NonNullableSelected<Normalized<AccordionItem>, 'type'>>;
9
9
  export declare function NormalizeAccordionItem(item: string | AccordionItem): NormalizedAccordionItem;
10
- export declare function NormalizeAccordionItemList(itemList?: Array<string | AccordionItem>): NormalizedAccordionItem[];
10
+ export declare function NormalizeAccordionItemList(itemList?: Array<string | AccordionItem>): ReadonlyArray<NormalizedAccordionItem>;
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.NormalizeAccordionItemList = exports.NormalizeAccordionItem = void 0;
4
- const accordion_itme_types_1 = require("./accordion-itme-types");
5
- const utilities_1 = require("@rxap/utilities");
6
4
  const schematics_1 = require("@angular-devkit/schematics");
5
+ const utilities_1 = require("@rxap/utilities");
6
+ const accordion_itme_types_1 = require("./accordion-itme-types");
7
7
  function NormalizeAccordionItem(item) {
8
8
  var _a, _b, _c;
9
9
  let name;
@@ -25,12 +25,12 @@ function NormalizeAccordionItem(item) {
25
25
  if (!(0, accordion_itme_types_1.IsAccordionItemType)(type)) {
26
26
  throw new schematics_1.SchematicsException(`The item type '${type}' for item '${name}' is not supported`);
27
27
  }
28
- return Object.seal(Object.assign(Object.assign({}, additional), { name: (0, utilities_1.dasherize)(name), type,
28
+ return Object.freeze(Object.assign(Object.assign({}, additional), { name: (0, utilities_1.dasherize)(name), type,
29
29
  modifiers }));
30
30
  }
31
31
  exports.NormalizeAccordionItem = NormalizeAccordionItem;
32
32
  function NormalizeAccordionItemList(itemList) {
33
- return Object.seal((itemList !== null && itemList !== void 0 ? itemList : []).map(NormalizeAccordionItem));
33
+ return Object.freeze((itemList !== null && itemList !== void 0 ? itemList : []).map(NormalizeAccordionItem));
34
34
  }
35
35
  exports.NormalizeAccordionItemList = NormalizeAccordionItemList;
36
36
  //# sourceMappingURL=accordion-item.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"accordion-item.js","sourceRoot":"","sources":["../../../../../../packages/schematic/angular/src/lib/accordion-item.ts"],"names":[],"mappings":";;;AAAA,iEAGgC;AAChC,+CAIyB;AACzB,2DAAiE;AAUjE,SAAgB,sBAAsB,CAAC,IAA4B;;IACjE,IAAI,IAAY,CAAC;IACjB,IAAI,IAAI,GAAG,OAAO,CAAC;IACnB,IAAI,SAAS,GAAa,EAAE,CAAC;IAC7B,IAAI,UAAU,GAAwB,EAAE,CAAC;IACzC,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;QAC5B,MAAM,SAAS,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAClC,IAAI,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;QACpB,IAAI,GAAG,MAAA,SAAS,CAAC,CAAC,CAAC,mCAAI,IAAI,CAAC;QAC5B,SAAS,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;KAC5E;SAAM;QACL,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;QACjB,IAAI,GAAG,MAAA,IAAI,CAAC,IAAI,mCAAI,IAAI,CAAC;QACzB,SAAS,GAAG,MAAA,IAAI,CAAC,SAAS,mCAAI,SAAS,CAAC;QACxC,UAAU,GAAG,IAAI,CAAC;KACnB;IACD,IAAI,CAAC,IAAA,0CAAmB,EAAC,IAAI,CAAC,EAAE;QAC9B,MAAM,IAAI,gCAAmB,CAC3B,kBAAmB,IAAK,eAAgB,IAAK,oBAAoB,CAClE,CAAC;KACH;IACD,OAAO,MAAM,CAAC,IAAI,iCACb,UAAU,KACb,IAAI,EAAE,IAAA,qBAAS,EAAC,IAAI,CAAC,EACrB,IAAI;QACJ,SAAS,IACT,CAAC;AACL,CAAC;AA3BD,wDA2BC;AAED,SAAgB,0BAA0B,CAAC,QAAwC;IACjF,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC,QAAQ,aAAR,QAAQ,cAAR,QAAQ,GAAI,EAAE,CAAC,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAC,CAAC;AACnE,CAAC;AAFD,gEAEC"}
1
+ {"version":3,"file":"accordion-item.js","sourceRoot":"","sources":["../../../../../../packages/schematic/angular/src/lib/accordion-item.ts"],"names":[],"mappings":";;;AAAA,2DAAiE;AACjE,+CAIyB;AACzB,iEAGgC;AAUhC,SAAgB,sBAAsB,CAAC,IAA4B;;IACjE,IAAI,IAAY,CAAC;IACjB,IAAI,IAAI,GAAG,OAAO,CAAC;IACnB,IAAI,SAAS,GAAa,EAAE,CAAC;IAC7B,IAAI,UAAU,GAAwB,EAAE,CAAC;IACzC,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;QAC5B,MAAM,SAAS,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAClC,IAAI,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;QACpB,IAAI,GAAG,MAAA,SAAS,CAAC,CAAC,CAAC,mCAAI,IAAI,CAAC;QAC5B,SAAS,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;KAC5E;SAAM;QACL,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;QACjB,IAAI,GAAG,MAAA,IAAI,CAAC,IAAI,mCAAI,IAAI,CAAC;QACzB,SAAS,GAAG,MAAA,IAAI,CAAC,SAAS,mCAAI,SAAS,CAAC;QACxC,UAAU,GAAG,IAAI,CAAC;KACnB;IACD,IAAI,CAAC,IAAA,0CAAmB,EAAC,IAAI,CAAC,EAAE;QAC9B,MAAM,IAAI,gCAAmB,CAC3B,kBAAmB,IAAK,eAAgB,IAAK,oBAAoB,CAClE,CAAC;KACH;IACD,OAAO,MAAM,CAAC,MAAM,iCACf,UAAU,KACb,IAAI,EAAE,IAAA,qBAAS,EAAC,IAAI,CAAC,EACrB,IAAI;QACJ,SAAS,IACT,CAAC;AACL,CAAC;AA3BD,wDA2BC;AAED,SAAgB,0BAA0B,CAAC,QAAwC;IACjF,OAAO,MAAM,CAAC,MAAM,CAAC,CACnB,QAAQ,aAAR,QAAQ,cAAR,QAAQ,GAAI,EAAE,CACf,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAC,CAAC;AACjC,CAAC;AAJD,gEAIC"}
@@ -1,8 +1,14 @@
1
- import { Normalized } from '@rxap/utilities';
2
- export interface AdapterOptions {
1
+ import { TypeImport } from '@rxap/ts-morph';
2
+ import { NormalizedTypeImport } from './type-import';
3
+ export interface AdapterOptions extends TypeImport {
4
+ /**
5
+ * @deprecated use name instead
6
+ */
3
7
  className: string;
8
+ /**
9
+ * @deprecated use moduleSpecifier instead
10
+ */
4
11
  importPath: string;
5
12
  }
6
- export interface NormalizedAdapterOptions extends Readonly<Normalized<AdapterOptions>> {
7
- }
8
- export declare function NormalizeAdapterOptions(options?: Readonly<AdapterOptions>): NormalizedAdapterOptions | null;
13
+ export type NormalizedAdapterOptions = NormalizedTypeImport;
14
+ export declare function NormalizeAdapterOptions(options?: AdapterOptions): NormalizedAdapterOptions | null;
@@ -1,16 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.NormalizeAdapterOptions = void 0;
4
+ const type_import_1 = require("./type-import");
4
5
  function NormalizeAdapterOptions(options) {
6
+ var _a, _b;
7
+ if (options) {
8
+ (_a = options.name) !== null && _a !== void 0 ? _a : (options.name = options.className);
9
+ (_b = options.moduleSpecifier) !== null && _b !== void 0 ? _b : (options.moduleSpecifier = options.importPath);
10
+ }
5
11
  // check if the className and importPath is set. The schematic options parse will build an object with all property set to undefined
6
12
  // if the user does not set the object properties. If the className or importPath is not set the adapter options should be null
7
- if (!(options === null || options === void 0 ? void 0 : options.className) || !(options === null || options === void 0 ? void 0 : options.importPath)) {
13
+ if (!options || !options.name) {
8
14
  return null;
9
15
  }
10
- return Object.seal({
11
- className: options.className,
12
- importPath: options.importPath,
13
- });
16
+ return (0, type_import_1.NormalizeTypeImport)(options);
14
17
  }
15
18
  exports.NormalizeAdapterOptions = NormalizeAdapterOptions;
16
19
  //# sourceMappingURL=adapter-options.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"adapter-options.js","sourceRoot":"","sources":["../../../../../../packages/schematic/angular/src/lib/adapter-options.ts"],"names":[],"mappings":";;;AAUA,SAAgB,uBAAuB,CAAC,OAAkC;IACxE,oIAAoI;IACpI,+HAA+H;IAC/H,IAAI,CAAC,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,SAAS,CAAA,IAAI,CAAC,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,UAAU,CAAA,EAAE;QAC/C,OAAO,IAAI,CAAC;KACb;IACD,OAAO,MAAM,CAAC,IAAI,CAAC;QACjB,SAAS,EAAE,OAAO,CAAC,SAAS;QAC5B,UAAU,EAAE,OAAO,CAAC,UAAU;KAC/B,CAAC,CAAC;AACL,CAAC;AAVD,0DAUC"}
1
+ {"version":3,"file":"adapter-options.js","sourceRoot":"","sources":["../../../../../../packages/schematic/angular/src/lib/adapter-options.ts"],"names":[],"mappings":";;;AACA,+CAGuB;AAevB,SAAgB,uBAAuB,CAAC,OAAwB;;IAC9D,IAAI,OAAO,EAAE;QACX,MAAA,OAAO,CAAC,IAAI,oCAAZ,OAAO,CAAC,IAAI,GAAK,OAAO,CAAC,SAAS,EAAC;QACnC,MAAA,OAAO,CAAC,eAAe,oCAAvB,OAAO,CAAC,eAAe,GAAK,OAAO,CAAC,UAAU,EAAC;KAChD;IACD,oIAAoI;IACpI,+HAA+H;IAC/H,IAAI,CAAC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE;QAC7B,OAAO,IAAI,CAAC;KACb;IACD,OAAO,IAAA,iCAAmB,EAAC,OAAO,CAAC,CAAC;AACtC,CAAC;AAXD,0DAWC"}