@sap/ux-specification 1.96.14 → 1.96.17

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 (49) hide show
  1. package/CHANGELOG.md +102 -19
  2. package/dist/documentation/runDocu-min.js +1 -1
  3. package/dist/documentation/v2/v2-AnalyticalListPage.html +1 -1
  4. package/dist/documentation/v2/v2-ApplicationV2.html +1 -1
  5. package/dist/documentation/v2/v2-ListReport.html +1 -1
  6. package/dist/documentation/v2/v2-ObjectPage.html +1 -1
  7. package/dist/documentation/v2/v2-OverviewPage.html +1 -1
  8. package/dist/documentation/v4/v4-ApplicationV4.html +1 -1
  9. package/dist/documentation/v4/v4-FreestylePage.html +48 -0
  10. package/dist/documentation/v4/v4-ListReport.html +1 -1
  11. package/dist/documentation/v4/v4-ObjectPage.html +1 -1
  12. package/dist/index-min.js +1 -1
  13. package/dist/schemas/v2/AnalyticalListPageConfig.json +1 -0
  14. package/dist/schemas/v2/ListReportConfig.json +1 -0
  15. package/dist/schemas/v2/ObjectPageConfig.json +1 -0
  16. package/dist/schemas/v4/ApplicationV4.json +4 -0
  17. package/dist/schemas/v4/FreestylePageConfig.json +10 -0
  18. package/dist/src/apiTypes.d.ts +13 -4
  19. package/dist/src/specification/schemaAccess.d.ts +2 -1
  20. package/dist/src/specification/v2/controls/Table.d.ts +1 -0
  21. package/dist/src/specification/v2/controls/index.d.ts +1 -0
  22. package/dist/src/specification/v4/ApplicationV4.d.ts +4 -0
  23. package/dist/src/specification/v4/pages/FreestylePageConfig.d.ts +2 -0
  24. package/dist/src/specification/v4/pages/index.d.ts +1 -0
  25. package/dist/src/specification/v4/webapp/manifest/sapUi5.d.ts +2 -0
  26. package/dist/src/sync/common/appProvider.d.ts +1 -1
  27. package/dist/src/sync/common/generate/utils.d.ts +16 -16
  28. package/dist/src/sync/common/types.d.ts +6 -1
  29. package/dist/src/sync/common/utils.d.ts +17 -2
  30. package/dist/src/sync/v2/export/controls/Fragment.d.ts +2 -1
  31. package/dist/src/sync/v2/export/controls/Table.d.ts +1 -2
  32. package/dist/src/sync/v2/export/export.d.ts +2 -1
  33. package/dist/src/sync/v2/import/common/index.d.ts +1 -0
  34. package/dist/src/sync/v2/import/controls/table.d.ts +3 -1
  35. package/dist/src/sync/v2/types.d.ts +4 -3
  36. package/dist/src/sync/v4/export/pages/FreestylePage.d.ts +5 -0
  37. package/dist/src/sync/v4/export/pages/index.d.ts +1 -0
  38. package/dist/src/sync/v4/export/utils.d.ts +6 -0
  39. package/dist/src/sync/v4/generate/freestylePage.d.ts +10 -0
  40. package/dist/src/sync/v4/generate/generate.d.ts +12 -0
  41. package/dist/src/sync/v4/generate/index.d.ts +2 -1
  42. package/dist/src/sync/v4/import/app/appProvider.d.ts +4 -17
  43. package/dist/src/sync/v4/import/app/baseAppProvider.d.ts +45 -0
  44. package/dist/src/sync/v4/import/app/freestyleProvider.d.ts +7 -0
  45. package/dist/src/sync/v4/import/app/index.d.ts +3 -0
  46. package/dist/src/sync/v4/utils/utils.d.ts +2 -2
  47. package/dist/test/unit/generateAppSchema/generateAppSchemaFFV4.test.d.ts +1 -0
  48. package/dist/test/unit/generateGenericSchema/generateGenericSchemaFFV4.test.d.ts +1 -0
  49. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -4,56 +4,136 @@ 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.96.17] - 2022-07-14
8
+ ### Added
9
+
10
+ ### Changed
11
+
12
+ - OData V4: In case of PresentationVariant definitions for charts or line items, an intermediate node had originally been introduced in the Object Page schema that represents the PresentationVariant. This multi-level propagation of references caused issues in the consuming UI, thus the intermediate node got deleted again. The PresentationVariant must be determined by the consuming application if necessary.
13
+
14
+ ### Removed
15
+
16
+ ### Deprecated
17
+
18
+ ### Fixed
19
+
20
+ - OData V2:
21
+
22
+ - OData V4:
23
+ - Properties of custom columns on object page had not been exported correctly if the table is associated to another entity type via navigation path or is using a PresentationVariant.
24
+ The value help of the anchor in LSP (config JSON) also did not show the right values.
25
+ - Object Page: Fixed an issue with the schema that `annotationPath` for Object Page Table Sections did not contain `qualifier`;
26
+ wrong `annotationPath` and `isViewNode` settings are adjusted.
27
+ - Fixed an issue with export that multiple changes to view's `key` property created duplicated entries in manifest.json
28
+
29
+ ### Quality
30
+
31
+ - Switch from nexus repository to artifactory
32
+
33
+ ## [1.96.16] - 2022-06-29
34
+
35
+ ### Added
36
+
37
+ - OData V4:
38
+ - Extend pagemap support for freestyle apps using FPM library
39
+
40
+ ### Fixed
41
+
42
+ - OData V2:
43
+ - OVP: LSP for `model` property of a card now lists models from sap.ui5 section of manifest.json
44
+ - Table type property is now set to blank in case not maintained in manifest.json
45
+ - If two sections of object page referred to an element (e.g. action, table column) of the same name, they had been sync'd by the program logic: changes of one property had also been refelected in the other.
46
+ - One UI adaptation or flexibility change may have been shown multiple times in the config, at different sections.
47
+ - No sorting by time took place before for flexibility changes, as a result an older change of the same property may have shown up instead of the newer one.
48
+ - If several flexibility changes existed for the same control property, secondary ones had not been imported correctly: you could find them under a wrong property name in the config JSON file.
49
+
50
+ ## [1.96.15] - 2022-06-16
51
+
52
+ ### Added
53
+
54
+ - Missing exposure of type definitions was added.
55
+
56
+ ### Changed
57
+
58
+ OData V2:
59
+
60
+ - Custom column property "columnIndex". Schema enhancement by defining range using "minimum=0".
61
+
62
+ ### Removed
63
+
64
+ OData V4:
65
+
66
+ - In case of List Report views, non-applicable table properties are removed.
67
+
68
+ ### Fixed
69
+
70
+ OData V4:
71
+
72
+ - In case of List Report views, custom columns with navigation property are considered for the correct view.
73
+ - Avoid creation of empty personalization object
74
+
75
+ OData V2:
76
+
77
+ - Custom column issue with Grid/Tree/Analytical table types - empty second custom column is added in xml files
78
+
7
79
  ## [1.96.14] - 2022-06-02
8
80
 
9
81
  ### Added
82
+
10
83
  OData V4:
84
+
11
85
  - In case of a default (without qualifier) Selection-/PresentationVariant, the table settings and columns are now considered on list report page.
12
86
 
13
87
  ### Changed
88
+
14
89
  OData V4:
90
+
15
91
  - Titles of charts in sections and header sections now correspond to the run-time.
16
92
  - Add "annotationPath" schema property to schema for "Table" definition in simple list report.
17
93
 
18
- ### Removed
19
-
20
- ### Deprecated
21
-
22
94
  ### Fixed
95
+
23
96
  OData V4:
97
+
24
98
  - If `defaultAnnotationPath` is used, corresponding custom columns were not considered on list report page.
25
99
 
26
100
  ### Quality
101
+
27
102
  Upgrade node & node-version to 14.x
28
103
 
29
104
  ## [1.96.13] - 2022-05-19
30
105
 
31
106
  ### Changed
32
- - OData V4:
33
- - For list report views, the content of title and description in the schema got exchanged.
34
- - Custom columns having an invalid anchor are not filtered out anymore but added to the schema (at the end of the columns' list). This better supports fixing the situation and is necessary so that the import fills the properties correctly.
35
- - LR: If views are enabled, generic table columns won't be used/filled.
107
+
108
+ - OData V4:
109
+ - For list report views, the content of title and description in the schema got exchanged.
110
+ - Custom columns having an invalid anchor are not filtered out anymore but added to the schema (at the end of the columns' list). This better supports fixing the situation and is necessary so that the import fills the properties correctly.
111
+ - LR: If views are enabled, generic table columns won't be used/filled.
36
112
 
37
113
  ### Fixed
38
- - OData V4:
39
- - If the table setting creationMode existed in the outdated string format, the export just had overwritten the string. Now, an implicit conversion to the new object format takes place.
40
- - In case of multiple custom columns with an invalid anchor the app schema generation ran into an endless loop.
41
- - No import of property annotationPath was happening at chart views of List Report.
42
- - In the app specific schema, the description was missing for charts in sections.
43
- - Tag 'hidden' was added to the property annotationPath of the ALP chart view in app schema.
44
- - If defaultTemplateAnnotationPath is maintained and refers to an annotation other than UI.LineItem, the table settings and columns of the referred definition are now imported correctly.
114
+
115
+ - OData V4:
116
+ - If the table setting creationMode existed in the outdated string format, the export just had overwritten the string. Now, an implicit conversion to the new object format takes place.
117
+ - In case of multiple custom columns with an invalid anchor the app schema generation ran into an endless loop.
118
+ - No import of property annotationPath was happening at chart views of List Report.
119
+ - In the app specific schema, the description was missing for charts in sections.
120
+ - Tag 'hidden' was added to the property annotationPath of the ALP chart view in app schema.
121
+ - If defaultTemplateAnnotationPath is maintained and refers to an annotation other than UI.LineItem, the table settings and columns of the referred definition are now imported correctly.
45
122
 
46
123
  ### Quality
124
+
47
125
  - Code smells fixed, as reported by sonarQube.
48
126
  - Upgrade of annotation vocabularies tools.
49
127
 
50
128
  ## [1.96.12] - 2022-05-05
51
129
 
52
130
  ### Added
53
- - OData V4:
131
+
132
+ - OData V4:
54
133
  - The title of ALP or List Report views is now following the same criteria as the UI5 run-time.
55
134
 
56
135
  ### Fixed
136
+
57
137
  - OData V4:
58
138
  - Problems with deletion of ListReport table views.
59
139
  - Unknown properties removed from custom section definition in 'manifest.json'.
@@ -65,6 +145,7 @@ Upgrade node & node-version to 14.x
65
145
  - Facet or section references with multi-level navigation had not been handled correctly.
66
146
 
67
147
  ### Quality
148
+
68
149
  - Switch consumption of "@sapui5/ts-types" to "@sapui5/ts-types-esm".
69
150
 
70
151
  ## [1.96.11] - 2022-04-21
@@ -73,22 +154,24 @@ Upgrade node & node-version to 14.x
73
154
 
74
155
  - OData V2:
75
156
  - LR: Old settings for table type (tableType) had been ignored in newer specification releases. As a consequence, you may have found the table type twice in manifest, once with the old syntax and an additional entry with the new syntax, after switching to a newer UI5 version.
76
- Now an implicit conversion to the new tableSettings takes place, and the old setting gets automatically replaced during the export.
157
+ Now an implicit conversion to the new tableSettings takes place, and the old setting gets automatically replaced during the export.
77
158
  - OData V4:
78
159
  - OP: Added support for presentation variants with chart or table visualization
79
160
 
80
161
  - Documentation actualized with regards to the new release version 1.100.
81
162
 
82
163
  ### Fixed
83
- - OData V4:
164
+
165
+ - OData V4:
84
166
  - Exception in case of multi-tab views in manifest that referred to a SelectionVariant.
85
- - Export of table settings of list report was targeting the wrong manifest settings if a defaultTemplateAnnotationPath is defined, pointing to a SelectionPresentationVariant.
167
+ - Export of table settings of list report was targeting the wrong manifest settings if a defaultTemplateAnnotationPath is defined, pointing to a SelectionPresentationVariant.
86
168
  - List report with multiple views: insert and reordering was not supported correctly.
87
169
  - OData V2:
88
170
  - After an entry of quickVariantSelectionX got deleted, the entry still was present in manifest.json.
89
171
  - Sections of subordinate object pages had not been added correctly to the app schema in all cases.
90
172
 
91
173
  ### Quality
174
+
92
175
  - upgrade ejs to 3.1.7
93
176
  - SonarQube: issued solved with regards to cognitive complexity
94
177