@sap/ux-specification 1.84.40 → 1.84.43

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 (79) hide show
  1. package/CHANGELOG.md +85 -16
  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-ListReport.html +1 -1
  10. package/dist/documentation/v4/v4-ObjectPage.html +1 -1
  11. package/dist/index-min.js +1 -1
  12. package/dist/schemas/v2/AnalyticalListPageConfig.json +1 -0
  13. package/dist/schemas/v2/ListReportConfig.json +1 -0
  14. package/dist/schemas/v2/ObjectPageConfig.json +1 -0
  15. package/dist/scripts/to-json-schema.js +1 -1
  16. package/dist/scripts/to-json-schema.js.map +1 -1
  17. package/dist/src/specification/v2/controls/Table.d.ts +1 -0
  18. package/dist/src/specification/v2/controls/Table.js.map +1 -1
  19. package/dist/src/specification/v2/controls/index.d.ts +1 -0
  20. package/dist/src/specification/v2/controls/index.js.map +1 -1
  21. package/dist/src/sync/common/generate/utils.d.ts +16 -16
  22. package/dist/src/sync/common/generate/utils.js +50 -38
  23. package/dist/src/sync/common/generate/utils.js.map +1 -1
  24. package/dist/src/sync/common/types.d.ts +6 -1
  25. package/dist/src/sync/common/types.js +5 -0
  26. package/dist/src/sync/common/types.js.map +1 -1
  27. package/dist/src/sync/common/utils.d.ts +13 -0
  28. package/dist/src/sync/common/utils.js +22 -0
  29. package/dist/src/sync/common/utils.js.map +1 -1
  30. package/dist/src/sync/v2/export/controls/Action.js +3 -3
  31. package/dist/src/sync/v2/export/controls/Action.js.map +1 -1
  32. package/dist/src/sync/v2/export/controls/Fragment.d.ts +2 -1
  33. package/dist/src/sync/v2/export/controls/Fragment.js +29 -10
  34. package/dist/src/sync/v2/export/controls/Fragment.js.map +1 -1
  35. package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.js +1 -1
  36. package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.js.map +1 -1
  37. package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.js +2 -2
  38. package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.js.map +1 -1
  39. package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.js +1 -1
  40. package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.js.map +1 -1
  41. package/dist/src/sync/v2/export/controls/Table.d.ts +1 -2
  42. package/dist/src/sync/v2/export/controls/Table.js +2 -14
  43. package/dist/src/sync/v2/export/controls/Table.js.map +1 -1
  44. package/dist/src/sync/v2/export/export.d.ts +2 -1
  45. package/dist/src/sync/v2/export/export.js +3 -4
  46. package/dist/src/sync/v2/export/export.js.map +1 -1
  47. package/dist/src/sync/v2/generate/objectPage.js +5 -5
  48. package/dist/src/sync/v2/generate/objectPage.js.map +1 -1
  49. package/dist/src/sync/v2/generate/overviewPage.js +7 -10
  50. package/dist/src/sync/v2/generate/overviewPage.js.map +1 -1
  51. package/dist/src/sync/v2/generate/utils.js +11 -4
  52. package/dist/src/sync/v2/generate/utils.js.map +1 -1
  53. package/dist/src/sync/v2/import/common/index.d.ts +1 -0
  54. package/dist/src/sync/v2/import/common/index.js +11 -6
  55. package/dist/src/sync/v2/import/common/index.js.map +1 -1
  56. package/dist/src/sync/v2/import/controls/table.d.ts +3 -1
  57. package/dist/src/sync/v2/import/controls/table.js +1 -1
  58. package/dist/src/sync/v2/import/controls/table.js.map +1 -1
  59. package/dist/src/sync/v2/import/pages/analyticalListPage.js +19 -18
  60. package/dist/src/sync/v2/import/pages/analyticalListPage.js.map +1 -1
  61. package/dist/src/sync/v2/import/pages/listReport.js +61 -38
  62. package/dist/src/sync/v2/import/pages/listReport.js.map +1 -1
  63. package/dist/src/sync/v2/import/pages/objectPage.js +144 -99
  64. package/dist/src/sync/v2/import/pages/objectPage.js.map +1 -1
  65. package/dist/src/sync/v2/types.d.ts +4 -3
  66. package/dist/src/sync/v4/export/controls/Table.js +2 -2
  67. package/dist/src/sync/v4/export/controls/Table.js.map +1 -1
  68. package/dist/src/sync/v4/export/export.js +14 -8
  69. package/dist/src/sync/v4/export/export.js.map +1 -1
  70. package/dist/src/sync/v4/export/utils.d.ts +6 -0
  71. package/dist/src/sync/v4/export/utils.js +17 -0
  72. package/dist/src/sync/v4/export/utils.js.map +1 -1
  73. package/dist/src/sync/v4/generate/listReport.js +10 -6
  74. package/dist/src/sync/v4/generate/listReport.js.map +1 -1
  75. package/dist/src/sync/v4/generate/objectPage.js +119 -113
  76. package/dist/src/sync/v4/generate/objectPage.js.map +1 -1
  77. package/dist/src/sync/v4/import/pages/objectPage.js +3 -3
  78. package/dist/src/sync/v4/import/pages/objectPage.js.map +1 -1
  79. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -8,16 +8,13 @@ This project adheres to [Semantic Versioning](http://semver.org/) and the change
8
8
 
9
9
  *Official support of OData V4*
10
10
 
11
- ## [1.84.40] - 2022-06-02
11
+ ## [1.84.43] - 2022-07-14
12
12
 
13
13
  ### Added
14
- OData V4:
15
- - In case of a default (without qualifier) Selection-/PresentationVariant, the table settings and columns are now considered on list report page.
16
14
 
17
15
  ### Changed
18
- OData V4:
19
- - Titles of charts in sections and header sections now correspond to the run-time.
20
- - Add "annotationPath" schema property to schema for "Table" definition in simple list report.
16
+
17
+ - 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.
21
18
 
22
19
  ### Removed
23
20
 
@@ -25,19 +22,85 @@ OData V4:
25
22
 
26
23
  ### Fixed
27
24
 
25
+ - OData V2:
26
+
27
+ - OData V4:
28
+ - 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.
29
+ The value help of the anchor in LSP (config JSON) also did not show the right values.
30
+ - Object Page: Fixed an issue with the schema that `annotationPath` for Object Page Table Sections did not contain `qualifier`;
31
+ wrong `annotationPath` and `isViewNode` settings are adjusted.
32
+ - Fixed an issue with export that multiple changes to view's `key` property created duplicated entries in manifest.json
33
+
28
34
  ### Quality
29
- Upgrade node & node-version to 14.x
30
35
 
36
+ - Switch from nexus repository to artifactory
37
+
38
+ ## [1.84.42] - 2022-06-29
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.84.41] - 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 V2:
71
+
72
+ - Custom column issue with Grid/Tree/Analytical table types - empty second custom column is added in xml files
73
+
74
+ ## [1.84.40] - 2022-06-02
75
+
76
+ ### Added
77
+
78
+ OData V4:
79
+
80
+ - In case of a default (without qualifier) Selection-/PresentationVariant, the table settings and columns are now considered on list report page.
81
+
82
+ ### Changed
83
+
84
+ OData V4:
85
+
86
+ - Titles of charts in sections and header sections now correspond to the run-time.
87
+ - Add "annotationPath" schema property to schema for "Table" definition in simple list report.
88
+
89
+ ### Quality
90
+
91
+ Upgrade node & node-version to 14.x
31
92
 
32
93
  ## [1.84.39] - 2022-05-19
33
94
 
34
95
  ### Changed
35
- - OData V4:
36
- - For list report views, the content of title and description in the schema got exchanged.
37
- - LR: If views are enabled, generic table columns won't be used/filled.
96
+
97
+ - OData V4:
98
+ - For list report views, the content of title and description in the schema got exchanged.
99
+ - LR: If views are enabled, generic table columns won't be used/filled.
38
100
 
39
101
  ### Fixed
40
- - OData V4:
102
+
103
+ - OData V4:
41
104
  - 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.
42
105
  - No import of property annotationPath was happening at chart views of List Report.
43
106
  - In the app specific schema, the description was missing for charts in sections.
@@ -45,16 +108,20 @@ Upgrade node & node-version to 14.x
45
108
  - 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.
46
109
 
47
110
  ### Quality
111
+
48
112
  - Code smells fixed, as reported by sonarQube.
49
113
  - Upgrade of annotation vocabularies tools.
50
114
 
51
115
  ## [1.84.38] - 2022-05-05
52
116
 
53
117
  ### Added
54
- OData V4:
118
+
119
+ OData V4:
120
+
55
121
  - The title of ALP or List Report views is now following the same criteria than the UI5 run-time.
56
122
 
57
123
  ### Fixed
124
+
58
125
  - OData V4:
59
126
  - Problems with deletion of ListReport table views.
60
127
  - Unknown properties removed from custom section definition in 'manifest.json'.
@@ -63,30 +130,32 @@ OData V4:
63
130
 
64
131
  - OData V2:
65
132
  - Sections and subsections with a reference to Communication.Contact or Communication.Address had not been shown, support of flexibility changes for them.
66
- - Facet or section references with multi-level navigation had not been handled correctly.
133
+ - Facet or section references with multi-level navigation had not been handled correctly.
67
134
 
68
135
  ## [1.84.37] - 2022-04-21
69
136
 
70
137
  ### Added
138
+
71
139
  - Documentation actualised with regards to the new release version 1.100.
72
140
 
73
141
  - OData V2:
74
142
  - 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.
75
- Now an implicit conversion to the new tableSettings takes place, and the old setting gets automatically replaced during the export.
143
+ Now an implicit conversion to the new tableSettings takes place, and the old setting gets automatically replaced during the export.
76
144
  - OData V4:
77
145
  - OP: Added support for presentation variants with chart or table visualization
78
146
 
79
147
  ### Fixed
80
148
 
81
- - OData V4:
149
+ - OData V4:
82
150
  - Exception in case of multi-tab views in manifest that referred to a SelectionVariant.
83
- - Export of table settings of list report was targeting the wrong manifest settings if a defaultTemplateAnnotationPath is defined, pointing to a SelectionPresentationVariant.
151
+ - Export of table settings of list report was targeting the wrong manifest settings if a defaultTemplateAnnotationPath is defined, pointing to a SelectionPresentationVariant.
84
152
  - List report with multiple views: insert and reordering was not supported correctly.
85
153
  - OData V2:
86
154
  - After an entry of quickVariantSelectionX got deleted, the entry still was present in manifest.json.
87
155
  - Sections of subordinate object pages had not been added correctly to the app schema in all cases.
88
156
 
89
157
  ### Quality
158
+
90
159
  - upgrade ejs to 3.1.7
91
160
  - SonarQube: issued solved with regards to cognitive complexity
92
161