@sap/ux-specification 1.100.4 → 1.102.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 (50) hide show
  1. package/CHANGELOG.md +39 -75
  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 +10 -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/controls/Table.d.ts +8 -0
  37. package/dist/src/sync/v4/export/pages/FreestylePage.d.ts +5 -0
  38. package/dist/src/sync/v4/export/pages/index.d.ts +1 -0
  39. package/dist/src/sync/v4/export/utils.d.ts +6 -0
  40. package/dist/src/sync/v4/generate/freestylePage.d.ts +10 -0
  41. package/dist/src/sync/v4/generate/generate.d.ts +12 -0
  42. package/dist/src/sync/v4/generate/index.d.ts +2 -1
  43. package/dist/src/sync/v4/import/app/appProvider.d.ts +4 -17
  44. package/dist/src/sync/v4/import/app/baseAppProvider.d.ts +45 -0
  45. package/dist/src/sync/v4/import/app/freestyleProvider.d.ts +7 -0
  46. package/dist/src/sync/v4/import/app/index.d.ts +3 -0
  47. package/dist/src/sync/v4/utils/utils.d.ts +2 -2
  48. package/dist/test/unit/generateAppSchema/generateAppSchemaFFV4.test.d.ts +1 -0
  49. package/dist/test/unit/generateGenericSchema/generateGenericSchemaFFV4.test.d.ts +1 -0
  50. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -4,112 +4,76 @@ 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.100.4] - 2022-06-02
7
+ ## [1.102.2] - 2022-07-14
8
8
 
9
9
  ### Added
10
- OData V4:
11
- - In case of a default (without qualifier) Selection-/PresentationVariant, the table settings and columns are now considered on list report page.
12
10
 
13
11
  ### Changed
14
- OData V4:
15
- - Titles of charts in sections and header sections now correspond to the run-time.
16
- - Add "annotationPath" schema property to schema for "Table" definition in simple list report.
12
+
13
+ - 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.
17
14
 
18
15
  ### Removed
19
16
 
17
+ - OData V4:
18
+
20
19
  ### Deprecated
21
20
 
22
21
  ### Fixed
23
- OData V4:
24
- - If `defaultAnnotationPath` is used, corresponding custom columns were not considered on list report page.
25
-
26
- ### Quality
27
- Upgrade node & node-version to 14.x
28
-
29
- ## [1.100.3] - 2022-05-19
30
22
 
31
- ### 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.
23
+ - OData V2:
24
+ - OVP:
36
25
 
26
+ - OData V4:
27
+ - 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.
28
+ The value help of the anchor in LSP (config JSON) also did not show the right values.
29
+ - Object Page: Fixed an issue with the schema that `annotationPath` for Object Page Table Sections did not contain `qualifier`;
30
+ wrong `annotationPath` and `isViewNode` settings are adjusted.
31
+ - Fixed an issue with export that multiple changes to view's `key` property created duplicated entries in manifest.json
37
32
 
38
- ### Fixed
39
- - OData V4:
40
- - 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.
41
- - In case of multiple custom columns with an invalid anchor the app schema generation ran into an endless loop.
42
- - No import of property annotationPath was happening at chart views of List Report.
43
- - In the app specific schema, the description was missing for charts in sections.
44
- - Tag 'hidden' was added to the property annotationPath of the ALP chart view in app schema.
45
- - 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
-
47
33
  ### Quality
48
- - Code smells fixed, as reported by sonarQube.
49
- - Upgrade of annotation vocabularies tools.
50
34
 
51
- ## [1.100.2] - 2022-05-05
35
+ - Switch from nexus repository to artifactory
36
+
37
+ ## [1.102.1] - 2022-06-29
52
38
 
53
39
  ### Added
54
- - OData V4:
55
- - The title of ALP or List Report views is now following the same criteria as the UI5 run-time.
40
+
41
+ - OData V4:
42
+ - Extend pagemap support for freestyle apps using FPM library
56
43
 
57
44
  ### Fixed
58
- - OData V4:
59
- - Problems with deletion of ListReport table views.
60
- - Unknown properties removed from custom section definition in 'manifest.json'.
61
- - delete 'table/personalization' object property in 'manifest.json' if last property was removed.
62
- - Export. Delete of entries from `table/views` - views were not deleted during export if entries in annotation file were deleted as first.
63
- - When changing the table type in the page editor for LRP (V4), the respective manifest setting is not updated as long as this page is configured with the primary and secondary views
64
- - OData V2:
65
- - 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.
67
45
 
68
- ### Quality
69
- - Switch consumption of "@sapui5/ts-types" to "@sapui5/ts-types-esm".
46
+ - OData V2:
47
+ - OVP: LSP for `model` property of a card now lists models from sap.ui5 section of manifest.json
48
+ - Table type property is now set to blank in case not maintained in manifest.json
49
+ - 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.
50
+ - One UI adaptation or flexibility change may have been shown multiple times in the config, at different sections.
51
+ - 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.
52
+ - 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.
70
53
 
71
- ## [1.100.1] - 2022-04-21
54
+ ## [1.102.0] - 2022-06-16
72
55
 
73
56
  ### Added
74
57
 
75
- - OData V2:
76
- - 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.
77
- Now an implicit conversion to the new tableSettings takes place, and the old setting gets automatically replaced during the export.
78
- - OData V4:
79
- - OP: Added support for presentationVariants with chart or lineItem visualization
58
+ - Missing exposure of type definitions was added.
80
59
 
81
- - Documentation actualized with regards to the new release version 1.100.
60
+ ### Changed
82
61
 
83
- ### Fixed
84
- - OData V4:
85
- - Exception in case of multi-tab views in manifest that referred to a SelectionVariant.
86
- - Export of table settings of list report was targeting the wrong manifest settings if a defaultTemplateAnnotationPath is defined, pointing to a SelectionPresentationVariant.
87
- - List report with multiple views: insert and reordering was not supported correctly.
88
- - OData V2:
89
- - After an entry of quickVariantSelectionX got deleted, the entry still was present in manifest.json.
90
- - Sections of subordinate object pages had not been added correctly to the app schema in all cases.
62
+ OData V2:
91
63
 
92
- ### Quality
93
- - upgrade ejs to 3.1.7
94
- - SonarQube: issued solved with regards to cognitive complexity
95
- - upgrade ejs to 3.1.7
64
+ - Custom column property "columnIndex". Schema enhancement by defining range using "minimum=0".
96
65
 
97
- ## [1.100.0] - 2022-04-07
66
+ ### Removed
98
67
 
99
- ### Added
68
+ OData V4:
100
69
 
101
- - OData V2:
102
- - LR: Added support for `multiEdit` property to enable mass edit feature.
103
- - OData V4:
104
- - LR: Added support for property `hideFilterBar`
105
- - Support of defaultTemplateAnnotationPath as property; consider defaultTemplateAnnotationPath when retrieving the relevant table settings and while switching to ALP flavour.
70
+ - In case of List Report views, non-applicable table properties are removed.
106
71
 
107
72
  ### Fixed
108
73
 
109
- - OData V2:
110
- - Extensions - empty "extensions" object was created in "sap.ui5/"extends"/"extensions"/"sap.ui.viewExtensions"/"sap.suite.ui.generic.template.ListReport.view.ListReport".
111
-
112
- ### Quality
74
+ OData V4:
113
75
 
114
- - Replace type object for schemas by Definition from 'typescript-json-schema'.
115
- - Upgrade of async.
76
+ - In case of List Report views, custom columns with navigation property are considered for the correct view.
77
+ - Avoid creation of empty personalization object
78
+ OData V2:
79
+ - Custom column issue with Grid/Tree/Analytical table types - empty second custom column is added in xml files