@sap/ux-specification 1.90.15 → 1.96.2

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 +25 -309
  2. package/README.md +1 -0
  3. package/dist/documentation/runDocu-min.js +1 -1
  4. package/dist/documentation/styleDocu.css +4 -5
  5. package/dist/documentation/v2/v2-AnalyticalListPage.html +1 -1
  6. package/dist/documentation/v2/v2-ApplicationV2.html +1 -1
  7. package/dist/documentation/v2/v2-ListReport.html +1 -1
  8. package/dist/documentation/v2/v2-ObjectPage.html +1 -1
  9. package/dist/documentation/v2/v2-OverviewPage.html +1 -1
  10. package/dist/documentation/v4/v4-AnalyticalListPage.html +1 -1
  11. package/dist/documentation/v4/v4-ApplicationV4.html +1 -1
  12. package/dist/documentation/v4/v4-ListReport.html +1 -1
  13. package/dist/documentation/v4/v4-ObjectPage.html +1 -1
  14. package/dist/index-min.js +1 -1
  15. package/dist/index-min.js.LICENSE.txt +71 -0
  16. package/dist/schemas/v2/AnalyticalListPageConfig.json +10 -38
  17. package/dist/schemas/v2/ListReportConfig.json +12 -30
  18. package/dist/schemas/v2/ObjectPageConfig.json +150 -48
  19. package/dist/schemas/v2/OverviewPageConfig.json +258 -196
  20. package/dist/schemas/v4/AnalyticalListPageConfig.json +21 -2
  21. package/dist/schemas/v4/ListReportConfig.json +21 -2
  22. package/dist/schemas/v4/ObjectPageConfig.json +0 -20
  23. package/dist/scripts/extractDocu.js +18 -8
  24. package/dist/scripts/extractDocu.js.map +1 -1
  25. package/dist/scripts/runDocu.js +105 -89
  26. package/dist/scripts/runDocu.js.map +1 -1
  27. package/dist/specification/v2/index-min.js +1 -1
  28. package/dist/specification/v4/index-min.js +1 -1
  29. package/dist/src/api.d.ts +9 -1
  30. package/dist/src/api.js +18 -1
  31. package/dist/src/api.js.map +1 -1
  32. package/dist/src/apiTypes.d.ts +16 -0
  33. package/dist/src/apiTypes.js +12 -0
  34. package/dist/src/apiTypes.js.map +1 -1
  35. package/dist/src/index.js +1 -0
  36. package/dist/src/index.js.map +1 -1
  37. package/dist/src/specification/v2/controls/{ObjectPageHeaderAction.d.ts → Action.d.ts} +30 -3
  38. package/dist/src/specification/v2/controls/{FormAction.js → Action.js} +1 -1
  39. package/dist/src/specification/v2/controls/Action.js.map +1 -0
  40. package/dist/src/specification/v2/controls/Card.d.ts +20 -72
  41. package/dist/src/specification/v2/controls/Card.js.map +1 -1
  42. package/dist/src/specification/v2/controls/FilterBar.d.ts +16 -6
  43. package/dist/src/specification/v2/controls/ObjectPageFooter.d.ts +2 -2
  44. package/dist/src/specification/v2/controls/{FormAction.d.ts → ObjectPageFooterAction.d.ts} +4 -3
  45. package/dist/src/specification/v2/controls/{ObjectPageHeaderAction.js → ObjectPageFooterAction.js} +1 -1
  46. package/dist/src/specification/v2/controls/ObjectPageFooterAction.js.map +1 -0
  47. package/dist/src/specification/v2/controls/ObjectPageForm.d.ts +1 -2
  48. package/dist/src/specification/v2/controls/ObjectPageHeader.d.ts +1 -1
  49. package/dist/src/specification/v2/controls/ObjectPageToolBar.d.ts +1 -5
  50. package/dist/src/specification/v2/controls/Table.d.ts +1 -9
  51. package/dist/src/specification/v2/controls/ToolBar.d.ts +2 -2
  52. package/dist/src/specification/v2/controls/index.d.ts +8 -9
  53. package/dist/src/specification/v2/controls/index.js +2 -2
  54. package/dist/src/specification/v2/controls/index.js.map +1 -1
  55. package/dist/src/specification/v2/pages/ListReportConfig.d.ts +2 -2
  56. package/dist/src/specification/v4/controls/ObjectPageTable.d.ts +2 -2
  57. package/dist/src/specification/v4/controls/Table.d.ts +3 -2
  58. package/dist/src/specification/v4/webapp/manifest/ManifestSettings.d.ts +8 -19
  59. package/dist/src/specification/v4/webapp/manifest/sapUiPageV4.d.ts +2 -1
  60. package/dist/src/specification/v4/webapp/manifest/sapUiPageV4.js.map +1 -1
  61. package/dist/src/sync/common/generate/index.d.ts +1 -0
  62. package/dist/src/sync/common/generate/index.js +1 -0
  63. package/dist/src/sync/common/generate/index.js.map +1 -1
  64. package/dist/src/sync/common/generate/objectPage.js +12 -8
  65. package/dist/src/sync/common/generate/objectPage.js.map +1 -1
  66. package/dist/src/sync/common/generate/utils.d.ts +66 -0
  67. package/dist/src/sync/common/generate/utils.js +205 -0
  68. package/dist/src/sync/common/generate/utils.js.map +1 -0
  69. package/dist/src/sync/common/importProject.js +8 -8
  70. package/dist/src/sync/common/importProject.js.map +1 -1
  71. package/dist/src/sync/common/utils.d.ts +2 -30
  72. package/dist/src/sync/common/utils.js +12 -115
  73. package/dist/src/sync/common/utils.js.map +1 -1
  74. package/dist/src/sync/v2/export/controls/Action.d.ts +14 -0
  75. package/dist/src/sync/v2/export/controls/Action.js +74 -0
  76. package/dist/src/sync/v2/export/controls/Action.js.map +1 -0
  77. package/dist/src/sync/v2/export/controls/Card.d.ts +3 -7
  78. package/dist/src/sync/v2/export/controls/Card.js +15 -43
  79. package/dist/src/sync/v2/export/controls/Card.js.map +1 -1
  80. package/dist/src/sync/v2/export/controls/FilterBar.d.ts +7 -3
  81. package/dist/src/sync/v2/export/controls/FilterBar.js +34 -11
  82. package/dist/src/sync/v2/export/controls/FilterBar.js.map +1 -1
  83. package/dist/src/sync/v2/export/controls/Fragment.js +5 -4
  84. package/dist/src/sync/v2/export/controls/Fragment.js.map +1 -1
  85. package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.d.ts +9 -0
  86. package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.js +62 -0
  87. package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.js.map +1 -0
  88. package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.js +11 -29
  89. package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.js.map +1 -1
  90. package/dist/src/sync/v2/export/controls/ObjectPageTable.d.ts +2 -1
  91. package/dist/src/sync/v2/export/controls/ObjectPageTable.js +3 -0
  92. package/dist/src/sync/v2/export/controls/ObjectPageTable.js.map +1 -1
  93. package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.d.ts +9 -0
  94. package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.js +59 -0
  95. package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.js.map +1 -0
  96. package/dist/src/sync/v2/export/controls/Table.d.ts +3 -4
  97. package/dist/src/sync/v2/export/controls/Table.js +4 -21
  98. package/dist/src/sync/v2/export/controls/Table.js.map +1 -1
  99. package/dist/src/sync/v2/export/controls/ToolBar.d.ts +4 -0
  100. package/dist/src/sync/v2/export/controls/ToolBar.js +6 -0
  101. package/dist/src/sync/v2/export/controls/ToolBar.js.map +1 -0
  102. package/dist/src/sync/v2/export/controls/index.d.ts +12 -8
  103. package/dist/src/sync/v2/export/controls/index.js +12 -8
  104. package/dist/src/sync/v2/export/controls/index.js.map +1 -1
  105. package/dist/src/sync/v2/export/export.js +1 -1
  106. package/dist/src/sync/v2/export/export.js.map +1 -1
  107. package/dist/src/sync/v2/export/exportPage.js +3 -2
  108. package/dist/src/sync/v2/export/exportPage.js.map +1 -1
  109. package/dist/src/sync/v2/export/pages/ListReport.d.ts +2 -2
  110. package/dist/src/sync/v2/export/pages/ListReport.js.map +1 -1
  111. package/dist/src/sync/v2/generate/analyticalListReport.js +6 -3
  112. package/dist/src/sync/v2/generate/analyticalListReport.js.map +1 -1
  113. package/dist/src/sync/v2/generate/listReport.d.ts +8 -0
  114. package/dist/src/sync/v2/generate/listReport.js +18 -3
  115. package/dist/src/sync/v2/generate/listReport.js.map +1 -1
  116. package/dist/src/sync/v2/generate/objectPage.d.ts +0 -1
  117. package/dist/src/sync/v2/generate/objectPage.js +202 -120
  118. package/dist/src/sync/v2/generate/objectPage.js.map +1 -1
  119. package/dist/src/sync/v2/generate/utils.d.ts +3 -3
  120. package/dist/src/sync/v2/generate/utils.js +22 -14
  121. package/dist/src/sync/v2/generate/utils.js.map +1 -1
  122. package/dist/src/sync/v2/import/common/index.d.ts +8 -1
  123. package/dist/src/sync/v2/import/common/index.js +107 -43
  124. package/dist/src/sync/v2/import/common/index.js.map +1 -1
  125. package/dist/src/sync/v2/import/pages/listReport.js +33 -2
  126. package/dist/src/sync/v2/import/pages/listReport.js.map +1 -1
  127. package/dist/src/sync/v2/import/pages/objectPage.d.ts +1 -1
  128. package/dist/src/sync/v2/import/pages/objectPage.js +303 -238
  129. package/dist/src/sync/v2/import/pages/objectPage.js.map +1 -1
  130. package/dist/src/sync/v2/import/utils.d.ts +1 -1
  131. package/dist/src/sync/v2/import/utils.js +2 -2
  132. package/dist/src/sync/v2/import/utils.js.map +1 -1
  133. package/dist/src/sync/v2/types.d.ts +21 -2
  134. package/dist/src/sync/v2/types.js +7 -0
  135. package/dist/src/sync/v2/types.js.map +1 -1
  136. package/dist/src/sync/v4/export/controls/ObjectPageCustomSection.js +5 -1
  137. package/dist/src/sync/v4/export/controls/ObjectPageCustomSection.js.map +1 -1
  138. package/dist/src/sync/v4/export/controls/ObjectPageTable.js +2 -2
  139. package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts +3 -2
  140. package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.js +3 -10
  141. package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.js.map +1 -1
  142. package/dist/src/sync/v4/export/controls/Table.js +1 -1
  143. package/dist/src/sync/v4/export/controls/TableColumn.d.ts +3 -1
  144. package/dist/src/sync/v4/export/controls/TableColumn.js +5 -2
  145. package/dist/src/sync/v4/export/controls/TableColumn.js.map +1 -1
  146. package/dist/src/sync/v4/export/export.js +21 -14
  147. package/dist/src/sync/v4/export/export.js.map +1 -1
  148. package/dist/src/sync/v4/export/types.d.ts +1 -0
  149. package/dist/src/sync/v4/generate/listReport.d.ts +2 -1
  150. package/dist/src/sync/v4/generate/listReport.js +47 -1
  151. package/dist/src/sync/v4/generate/listReport.js.map +1 -1
  152. package/dist/src/sync/v4/generate/objectPage.js +96 -47
  153. package/dist/src/sync/v4/generate/objectPage.js.map +1 -1
  154. package/dist/src/sync/v4/import/app/appProvider.js +2 -2
  155. package/dist/src/sync/v4/import/app/appProvider.js.map +1 -1
  156. package/dist/src/sync/v4/import/pages/listReport.d.ts +1 -3
  157. package/dist/src/sync/v4/import/pages/listReport.js +27 -17
  158. package/dist/src/sync/v4/import/pages/listReport.js.map +1 -1
  159. package/dist/src/sync/v4/import/pages/objectPage.js +10 -12
  160. package/dist/src/sync/v4/import/pages/objectPage.js.map +1 -1
  161. package/dist/src/sync/v4/utils/utils.d.ts +1 -8
  162. package/dist/src/sync/v4/utils/utils.js +6 -43
  163. package/dist/src/sync/v4/utils/utils.js.map +1 -1
  164. package/package.json +9 -5
  165. package/dist/src/specification/v2/controls/FormAction.js.map +0 -1
  166. package/dist/src/specification/v2/controls/ObjectPageHeaderAction.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -4,345 +4,61 @@ All notable changes to this project are documented in this file.
4
4
 
5
5
  This project adheres to [Semantic Versioning](http://semver.org/) and the changelog is formatted based on [Keep a Changelog](http://keepachangelog.com/).
6
6
 
7
- ## [1.90.15] - 2021-11-17
8
-
9
- ### Added
10
-
11
- - OData V4: Enhance schema with `dataType`, `annotationPath` information for display on columns, fields and selection fields in Page editor
12
-
13
- ### Changed
14
-
15
- ### Removed
16
-
17
- ### Deprecated
18
-
19
- ### Fixed
20
-
21
- - Invalid references in generated schemas have been fixed.
22
-
23
- ### Quality
24
-
25
- - Use of "@sapui5/ts-types": "1.90.9", replacement of own type definitions in case of suitable sapui5 type.
26
-
27
- ## [1.90.14] - 2021-11-03
28
-
29
- ### Changed
30
-
31
- - In the JSON schema, the description of DataPoints as part of sections or header facets now reflects the Title of the target annotation.
32
-
33
- ### Quality
34
-
35
- - Code smell solved: "Define a constant instead of duplicating this literal n times."
36
-
37
- ## [1.90.13] - 2021-10-20
7
+ ## [1.96.2] - 2022-01-12
38
8
 
39
9
  ### Added
40
10
 
41
11
  - OData V2:
42
- - Support for (Sub)Section properties: `visible`.
43
- - ALP: Schema now comprises of entity properties for config `createWithParameterDialog`->`fields`
44
- - OP: Added support for multiple flex changes in Form and Header Actions
45
- - V2 & V4: Footer actions are now part of the schema. A node for header actions is visible even if there are no actions yet.
12
+ - OP: properties of footer actions are displayed and supported in side panel
13
+ - properties of toolbar actions are displayed and supported in side panel
14
+ - OVP: The property `showLineItemDetail` is now supported for List and Table cards
15
+ - OP: Schema now supports column extensions for TreeTable
46
16
 
47
17
  ### Changed
48
18
 
49
- - OData V2:
50
- - Enhanced sync logic to use generic approach for handling unknown properties. As a result sync logic is more robust and handles more unknown properties.
51
-
52
- ### Removed
53
-
54
19
  - OData V2:
55
- - OVP: Removed `tab` property from `Stack` and `Link List` cards as view switch control is not supported
56
-
57
- ### Deprecated
58
-
59
- ### Fixed
60
-
20
+ - property `filterDefaultsFromSelectionVariant` is now only supported for AnalyticalListPage floorplan
21
+ - OVP: The property `tabs` and `addOdataSelect` can now be confirued for all cards
61
22
  - OData V4:
62
- - Pages Schema. Exception if path in UI.SelectionFields is not valid.
63
- - Object page sections referring to UI.Identification with qualifer shall show actions besides the fields.
64
- - V2 & V4:
65
- - replace alias of namespace definitions of header actions even for references that are not related to OData vocabularies.
66
- - Add `visible` property to DataField types
67
- - annotationPath definitions of header and footer actions.
68
-
69
- ### Quality
70
-
71
- - Settings for sonarlint have been added.
72
- - Upgrade of Annotation Vocabularies Tools.
73
- - Fix of code smells reported by SonarQube.
74
-
75
- ## [1.90.12] - 2021-10-18
76
-
77
- ### Fixed
78
-
79
- For some V4 apps, the export of property changes failed due to invalid schema definitions.
80
-
81
- ## [1.90.11] - 2021-10-06
82
-
83
- ### Added
84
-
85
- - Annotation path com.sap.vocabularies.UI.v1.HeaderInfo added to ObjectPageHeader in V2 and V4.
86
- - Added `i18nClassification` for `title`, `description` properties for `App.json` schema in V2 and V4.
87
- - OData V4: Header actions are now part of the Object Page schema.
88
- - OData V2:
89
- - OVP: Added support for property `annotationPath` in Linklist card settings.
90
- - OVP: property `requireAppAuthorization` is now supported for all card types.
91
-
92
- ### Changed
93
-
94
- - README file updated.
95
- - Order and naming of view nodes for the V2 Object Page adapted.
96
- - Pattern for binding changes in V2: there are now two different patterns for List Report and Object Page; the one for the Object Page provides the additional enum values "{ui>/editable}" and "{= !${ui>/editable}}"
97
-
98
- ### Fixed
99
-
100
- - V4: if one section comprises a field group without qualifier, and one referred to UI.Identification, the properties of the field group had been displayed for Identification section of header facet as well.
101
-
102
- ### Quality
103
-
104
- - Fix of vulnerabilities by upgrade of npm modules.
105
- - Fix of bugs nd code smells reported by SonarQube.
106
-
107
- ## [1.90.10] - 2021-09-22
108
-
109
- ### Added
23
+ - property `afterExecution` of table columns now is only visible for actions but not for other record types
24
+ - deprecated `name` property and support new `template` property for custom sections in manifest
25
+
26
+ ### Removed
110
27
 
111
- - New html files showing a graphical representation of the content of each generic schema.
112
28
  - OData V2:
113
- - We show field groups and fields now as part of the object page schema, and allow the maintenance of the visible property for fields.
114
- - Support of property `flexEnabled`on app level.
115
-
116
- ### Changed
117
-
118
- - The default for titles and labels of schema nodes - in case of missing annotation labels - has been adapted, for facets and header facets. There will be node-specific content now in all cases instead of generic defaults like "Form".
119
-
120
- ### Removed
29
+ - OVP: removed `tabs` property from card level
121
30
 
122
31
  ### Deprecated
123
32
 
124
33
  ### Fixed
125
34
 
126
- - OData V2:
127
- - Invalid flexChanges are now ignored during sync, hence configs and pages files are created.
128
- - OData V4:
129
- - Exception occurred in case of invalid custom page definitions in manifest
130
- - Page determination went wrong in case of irregular ordering of routing targets
131
-
132
- ### Quality
133
-
134
- - Bugs & code smells removed that had been detected by SonarQube
135
-
136
- ## [1.90.9] - 2021-09-08
137
-
138
- ### Added
139
-
140
- - OData V4:
141
- - Header Facets are now shown in the schemas and configs, along with their actual manifest settings.
142
35
  - OData V2:
143
- - OVP: Added support for property `dataPointAnnotationPath` in ListCard settings
144
- - OVP: Added support for OData V4 Link List Card
145
-
146
- ### Fixed
147
-
148
- - OData V4: Import and export of Custom Page properties could get out of sync when specific properties were missing.
149
-
150
- ## [1.90.8] - 2021-08-25
151
-
152
- ### Added
153
-
36
+ - correct schema generation in case multiple facets are referring to lineitem annotation of same entity
37
+ - Facet Id is considered for import and export of manifest settings
38
+ - Fixed sync issues in case no text is provided for custom columns
154
39
  - OData V4:
155
- - Added support for `AnayticalTable`
156
- - Enhanced sync logic to avoid export of properties unknown to specification module to avoid modification in manifest.json
157
- - Added support for new Custom Page syntax
158
- - Added test for function `convertInterfaces` to increase test coverage
159
- - Added flexchange layer information to API interface
40
+ - Avoid exporting empty arrays to manifest.json
160
41
 
161
- ### Changed
162
-
163
- - OData V2: Unresolvable facets are not returned by schema to avoid creation of corrupted custom sections
164
-
165
- ### Fixed
166
-
167
- - Object Page schema generation crash when 'Facets' entry is not defined for 'CollectionFacet'
168
- - Page schema generation - `annotationPath` was missing for `table/toolbar`
169
-
170
- ## [1.90.7] - 2021-08-12
171
-
172
- ### Added
173
-
174
- - OData V2:
175
- - Added description property to header actions in schema
176
- - Table toolbar as structure node
177
- - Added properties showClearOnFB, showFilterConfiguration and showRestoreOnFB to the FilterBar
178
-
179
- - OData V4:
180
- - Table toolbar as structure node
181
- - enableOnSelect as property for table toolbar
182
-
183
- - Developer guide for contributors to this module
184
-
185
- - Actualization of JS-DOC
186
-
187
- - Enhanced error handling of API functions.
188
-
189
- - The generic schema is enhanced by the following information:
190
- - artifact type (manifest setting, flex change or annotation)
191
- - in case of flex change: control name
192
-
193
- ### Changed
194
-
195
- - The node Selection Fields was renamed to Filter Fields, in accordance with the UI.
196
-
197
- - The generic schemas now already comprise anyOf definitions for enums of type string that allow binding changes. Previously this was only added during the generation of app specific schemas.
198
-
199
- ### Fixed
200
-
201
- - A common function was introduced to resolve path references of Common.Label annotations; endless loop references are interjected, the variable value or key is returned in this case.
202
- - Enhance function determineTableType to also check for presence of old tableType flag in manifest.json
203
- - OData V2:
204
- - ALP: Use correct Id for flex changes generated in case of Filter Bar
205
42
 
206
43
  ### Quality
207
44
 
208
- - Refactor interfaces and class definitions for ALP tables
45
+ - Upgrade of trim-off-newlines
46
+ - Upgrade of yarn classic
47
+ - New whitesource endpoint
48
+ - Upgrade of follow-redirects
209
49
 
210
- ## [1.90.6] - 2021-07-28
211
-
212
- ### Added
213
-
214
- - OData V2: dateSettings property of Filterbar now supports addtional values
215
- - OData V2: Added growingThreshold property to Responsive Tables
216
-
217
- ### Fixed
218
-
219
- - When starting the app modeler for certain CDS projects, an exception occurs, and no pages nor schemas are listed.
220
- - Modified regex used in binding properties to avoid issues with Shebang plugin during consumption of specification module.
221
-
222
- ### Quality
223
-
224
- - Upgrade of Annotation Vocabularies Tools to version 0.3.28
225
-
226
- ## [1.90.5] - 2021-07-14
227
-
228
- ### Added
229
-
230
- - annotationPath is added to the selectionFields node.
231
-
232
- ### Changed
233
-
234
- - The import functions for filling the content of config files are now instantiating the required metadata based on factory classes (that had been introduced for the export before).
235
-
236
- ### Fixed
237
-
238
- - In the annotationPath of columns, qualifiers had not been added.
239
- - The namespace of the entity type is now present in all annotation paths.
240
- - Changing binding value to false removed flex changes from the file system.
241
- - The logic for section generation in app schemas did not consider qualifiers correctly.
50
+ ## [1.96.1] - 2021-12-06
242
51
 
243
52
  ### Quality
244
53
 
245
- - Missing path to types in package.json was added. This is required because after introducing bundling with webpack, the index.d.ts file is not next to index-min.js
246
-
247
- ## [1.90.4] - 2021-06-30
248
-
249
- ### Added
250
-
251
- - New structure elements at the Filterbar that represent the selection fields resulting from the UI.SelectionFields annotation.
252
-
253
- ### Changed
254
-
255
- - In the annotationPath information of the generated JSON schemas all alias definitions are now replaced by the full vocabulary name.
256
- - Descriptions in the schema now follow the following paradigm:
257
- - For facets we need use title and description, the export logic takes the title and extracts the facet key from it for concatenating the stable ID. The text that shall be shown in the Page Editor shall be the description.
258
- - Thus we now generalise: all view nodes (isViewNode = true) have a description (but do not necessarily need a title).
259
- - Properties (no isViewNode tag) are not listed in the outline, but in the properties panel. Here, the title shall be used as a label, and the description shall be shown on hover (old UI) or rendered directly (new UI).
260
-
261
- ### Removed
262
-
263
- - OData V4: remove initialLoad property from Object Page config
264
-
265
- ### Fixed
266
-
267
- - The deletion of a custom section from the config file was not reflected in manifest.json.
268
- - New page export fails if parent page does not have navigation property defined.
269
- - Navigation is not cleared if we remove last associated page.
270
- - The import of unknow flex change properties into the config is now avoided.
271
- - The export of flex changes sometimes generated multiple flex changes into the dev workspace.
272
- - The script for extracting documentation had neglected patternProperties of the schemas.
273
- - An exception occurred in case of invalid annotation references, the schemas and config files were not generated in this case.
274
- - Too many actions had been listed as table columns: now it is restricted to the inline actions.
275
-
276
- ## [1.90.3] - 2021-06-28
277
-
278
- ### Fixed
279
-
280
- - The build result did not comprise the type definitions anymore. They are available again now.
281
-
282
- ## [1.90.2] - 2021-06-17
283
-
284
- ### Added
285
-
286
- - annotationPath added as metadata to the columns in JSON schema.
287
-
288
- ### Changed
289
-
290
- - The enum for fragment names of column extension is more restrictive now, it does not comprise cells anymore.
291
- - webpack uglify function names.
292
-
293
- ### Fixed
294
-
295
- - During the export of V4 configs, manifest sections were created from scratch; this led to a deletion of properties that are not considered (yet) by the specification module.
296
- - Fix for launch config Import project which can be used to debug the import of a project.
297
- - During the export, fragments are not deleted anymore, as they may comprise customer coding.
298
- - If a fragment is not present yet, it gets created now, i.e. added with a <root> prefix to the list of fragments.
299
- - yarn watch allows debugging of custom extensions now, as the templates are available again in the dist folder.
300
- - Correct sync logic to make sure that config changes are written only to desired places in manifest.json
301
- - An exception had occured in case of invalid target annotation paths, this is caught now.
302
- - OData V4 - Correct sync logic so that custom sections entry in manifest.json gets deleted if entry is deleted from page config
303
- - OData V4 - Correct sync logic, page add was not added if 'navigation' property missing in 'manifest.json'.
304
- - OData V4 - Correct sync logic, page deletion, 'navigation' property was not cleared if there was no an navigation left.
305
- - OData V2 - Flex changes not supported by specification module remain unaffected by the sync logic
306
- - OData V2 - Fix sync logic to avoid creation of duplicate flex changes in case of Object Page tables
307
- - OData V2 - ALP: Improved sync logic as some of the supported flex chagnes were not imported to config files
308
-
309
- ## [1.90.1] - 2021-06-03
310
-
311
- ### Changed
312
-
313
- - The access to reflect metadata is now centralized in factory classes and thus runs in a generic way in most situations.
314
-
315
- ### Fixed
316
-
317
- - Path references of labels had not been resolved correctly. Common.label annotations of the target reference are now considered correctly.
318
- - The regex pattern for binding changes was incomplete, resulting in validation errrors.
319
- - OData V4: Enhance sync logic to ensure only properties that are supported by specification module are modified in the manifest.json
320
-
321
- ### Quality
322
-
323
- Upgrades of dependencies to:
324
-
325
- - "ts-loader": 9.1.2
326
- - node version 12
327
- - "webpack": 5.37.1
328
- - "chalk": "4.1.1"
329
- - "ejs": "3.1.6"
330
- - "i18next": "20.3.1"
331
- - "ts-json-schema-generator": "0.93.0"
332
-
333
- Added resolutions for
334
-
335
- - "glob-parent": "^5.1.2"
336
- - "normalize-url": "^6.0.1"
337
- - "ws": "^7.4.6"
338
- - "trim-newlines": "^3.0.1"
54
+ - Update of pipeline configuration
339
55
 
340
- ## [1.90.0] - 2021-05-20
56
+ ## [1.96.0] - 2021-12-02
341
57
 
342
58
  ### Added
343
59
 
344
- First specification version for SAPUI5 release 1.90 and later.
60
+ In comparison to release 1.90, this release also comprises an API generateCustomExtension, refer to the README.
345
61
 
346
62
  ### Changed
347
63
 
348
- - The initialLoad setting of V4 tables is now an enum with three different options, in accordance with sap.fe.
64
+ The api version (getApiVersion) is increased to 2 to reflect the presence of the new generateCustomExtension API.
package/README.md CHANGED
@@ -29,6 +29,7 @@ Besides the specification, src/api.ts provides functions that can be used with S
29
29
  - importProject: imports information from the app and generates all schemas and JSON configuration files.
30
30
  - importProjectSchema: imports information from the app and generates all schemas but no JSON configuration files.
31
31
  - getApiVersion: returns the given API version. The API version starts with 1 and will only be increased in case of incompatible changes where the consumption layer must react on.
32
+ - generateCustomExtension: generates custom extensions, e.g. Custom Page, Custom Column etc. for a V4 application by using the `@sap-ux/fe-fpm-writer`.
32
33
 
33
34
  When calling any API function you may pass a logger instance for collecting any messages. The interface of your logger must fit to the ExtensionLogger definition. If no logger is passed, the output channel for messages is the console.
34
35