@sap/ux-specification 1.120.4 → 1.120.6
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.
- package/CHANGELOG.md +62 -0
- package/README.md +17 -18
- package/dist/documentation/runDocu-min.js +5 -5
- package/dist/documentation/runDocu-min.js.map +4 -4
- package/dist/documentation/styleDocu.css +2 -1
- package/dist/documentation/v2/v2-AnalyticalListPage.html +2 -2
- package/dist/documentation/v2/v2-ApplicationV2.html +2 -2
- package/dist/documentation/v2/v2-ListReport.html +2 -2
- package/dist/documentation/v2/v2-ObjectPage.html +2 -2
- package/dist/documentation/v2/v2-OverviewPage.html +2 -2
- package/dist/documentation/v4/v4-ApplicationV4.html +2 -2
- package/dist/documentation/v4/v4-BuildingBlocks.html +2 -2
- package/dist/documentation/v4/v4-FreestylePage.html +2 -2
- package/dist/documentation/v4/v4-ListReport.html +2 -2
- package/dist/documentation/v4/v4-ObjectPage.html +2 -2
- package/dist/index-min.js +106 -106
- package/dist/index-min.js.map +4 -4
- package/dist/package.json +6 -7
- package/dist/schemas/v2/AnalyticalListPageConfig.json +3 -3
- package/dist/schemas/v2/ListReportConfig.json +5 -5
- package/dist/schemas/v2/ObjectPageConfig.json +118 -13
- package/dist/src/api.d.ts +20 -3
- package/dist/src/api.d.ts.map +1 -1
- package/dist/src/api.js +60 -5
- package/dist/src/api.js.map +1 -1
- package/dist/src/specification/schemaAccess.d.ts +1 -0
- package/dist/src/specification/schemaAccess.d.ts.map +1 -1
- package/dist/src/specification/schemaAccess.js +1 -0
- package/dist/src/specification/schemaAccess.js.map +1 -1
- package/dist/src/sync/common/utils.d.ts +10 -6
- package/dist/src/sync/common/utils.d.ts.map +1 -1
- package/dist/src/sync/common/utils.js +23 -13
- package/dist/src/sync/common/utils.js.map +1 -1
- package/dist/src/sync/v2/export/controls/Fragment.d.ts.map +1 -1
- package/dist/src/sync/v2/export/controls/Fragment.js +11 -2
- package/dist/src/sync/v2/export/controls/Fragment.js.map +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageHeader.d.ts +1 -0
- package/dist/src/sync/v2/export/controls/ObjectPageHeader.d.ts.map +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageHeader.js +10 -0
- package/dist/src/sync/v2/export/controls/ObjectPageHeader.js.map +1 -1
- package/dist/src/sync/v2/export/controls/ObjectPageHeaderSection.d.ts +20 -0
- package/dist/src/sync/v2/export/controls/ObjectPageHeaderSection.d.ts.map +1 -0
- package/dist/src/sync/v2/export/controls/ObjectPageHeaderSection.js +127 -0
- package/dist/src/sync/v2/export/controls/ObjectPageHeaderSection.js.map +1 -0
- package/dist/src/sync/v2/export/controls/index.d.ts +1 -0
- package/dist/src/sync/v2/export/controls/index.d.ts.map +1 -1
- package/dist/src/sync/v2/export/controls/index.js +1 -0
- package/dist/src/sync/v2/export/controls/index.js.map +1 -1
- package/dist/src/sync/v2/export/export.d.ts +3 -1
- package/dist/src/sync/v2/export/export.d.ts.map +1 -1
- package/dist/src/sync/v2/export/export.js +37 -14
- package/dist/src/sync/v2/export/export.js.map +1 -1
- package/dist/src/sync/v2/export/exportPage.d.ts +40 -4
- package/dist/src/sync/v2/export/exportPage.d.ts.map +1 -1
- package/dist/src/sync/v2/export/exportPage.js +106 -44
- package/dist/src/sync/v2/export/exportPage.js.map +1 -1
- package/dist/src/sync/v2/generate/objectPage.d.ts.map +1 -1
- package/dist/src/sync/v2/generate/objectPage.js +107 -14
- package/dist/src/sync/v2/generate/objectPage.js.map +1 -1
- package/dist/src/sync/v2/generate/utils.d.ts.map +1 -1
- package/dist/src/sync/v2/generate/utils.js +5 -9
- package/dist/src/sync/v2/generate/utils.js.map +1 -1
- package/dist/src/sync/v2/import/pages/objectPage.d.ts.map +1 -1
- package/dist/src/sync/v2/import/pages/objectPage.js +61 -8
- package/dist/src/sync/v2/import/pages/objectPage.js.map +1 -1
- package/dist/src/sync/v2/types.d.ts +10 -1
- package/dist/src/sync/v2/types.d.ts.map +1 -1
- package/dist/src/sync/v2/types.js +7 -0
- package/dist/src/sync/v2/types.js.map +1 -1
- package/dist/src/sync/v4/export/export.d.ts +12 -7
- package/dist/src/sync/v4/export/export.d.ts.map +1 -1
- package/dist/src/sync/v4/export/export.js +120 -112
- package/dist/src/sync/v4/export/export.js.map +1 -1
- package/dist/src/sync/v4/export/fpmCustomPage.d.ts.map +1 -1
- package/dist/src/sync/v4/export/fpmCustomPage.js +2 -1
- package/dist/src/sync/v4/export/fpmCustomPage.js.map +1 -1
- package/dist/src/sync/v4/export/types.d.ts +2 -0
- package/dist/src/sync/v4/export/types.d.ts.map +1 -1
- package/dist/src/sync/v4/generate/listReport.d.ts.map +1 -1
- package/dist/src/sync/v4/generate/listReport.js +0 -4
- package/dist/src/sync/v4/generate/listReport.js.map +1 -1
- package/package.json +6 -7
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,68 @@ This project adheres to [Semantic Versioning](http://semver.org/) and the change
|
|
|
8
8
|
|
|
9
9
|
[NodeJS](https://nodejs.org/en/download/) Version `18.18.0` or higher
|
|
10
10
|
|
|
11
|
+
## [1.120.6] - 2024-03-07
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- New API functions exportConfigEntityByPath and deleteConfigEntityByPath have been added that allow a selective export or deletion of a single property or section from a config.json. The additional parameter entityPath must be applied. The new functions are released for List Report, Object Page and Analytical List Page of OData V2 and V4.
|
|
16
|
+
- In the API result a change indicator is added that shows if the manifest was changed. In case of the new functions exportConfigEntityByPath and deleteConfigEntityByPath, only updated fragment files are returned (V2 flexibility changes are still returned completely due to compatibility, deletion is indicated by newValue = null).
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- Increased `fe-fpm-writer` api version to include fix for controller extension namespace
|
|
21
|
+
- Actualization of the README file.
|
|
22
|
+
|
|
23
|
+
### Removed
|
|
24
|
+
|
|
25
|
+
### Deprecated
|
|
26
|
+
|
|
27
|
+
### Fixed
|
|
28
|
+
|
|
29
|
+
- An invalid app schema had been generated before, in case of table custom columns
|
|
30
|
+
|
|
31
|
+
### Quality
|
|
32
|
+
|
|
33
|
+
- Update transitive dependencies
|
|
34
|
+
|
|
35
|
+
Upgrades
|
|
36
|
+
|
|
37
|
+
- eslint to v8.57.0
|
|
38
|
+
- @types/semver: obsolete dependency deleted
|
|
39
|
+
- esbuild to v0.20.1
|
|
40
|
+
|
|
41
|
+
## [1.120.5] - 2024-02-21
|
|
42
|
+
|
|
43
|
+
### Added
|
|
44
|
+
|
|
45
|
+
- OData V2:
|
|
46
|
+
- Support of Header facets on Object Page
|
|
47
|
+
- UX adjustments of inplace documentation:
|
|
48
|
+
- Support for Screen Readers and Arrow Navigation
|
|
49
|
+
|
|
50
|
+
### Changed
|
|
51
|
+
|
|
52
|
+
- Increased `fe-fpm-writer` api version
|
|
53
|
+
|
|
54
|
+
### Removed
|
|
55
|
+
|
|
56
|
+
### Deprecated
|
|
57
|
+
|
|
58
|
+
### Fixed
|
|
59
|
+
|
|
60
|
+
### Quality
|
|
61
|
+
|
|
62
|
+
- Update transitive dependencies
|
|
63
|
+
|
|
64
|
+
Upgrades
|
|
65
|
+
|
|
66
|
+
- @sapui5/ts-types-esm to v1.120.6
|
|
67
|
+
- @sap-ux/fe-fpm-writer to v0.24.7
|
|
68
|
+
- @sap-ux/vocabularies-types to 0.10.5
|
|
69
|
+
- @sap-ux/annotation-converter to 0.8.6
|
|
70
|
+
- @types/semver to v7.5.7
|
|
71
|
+
- @ui5/manifest to v1.62.1
|
|
72
|
+
|
|
11
73
|
## [1.120.4] - 2024-02-08
|
|
12
74
|
|
|
13
75
|
### Added
|
package/README.md
CHANGED
|
@@ -1,41 +1,40 @@
|
|
|
1
1
|
# @sap/ux-specification
|
|
2
2
|
|
|
3
|
-
This package specifies the structure of SAP Fiori
|
|
4
|
-
|
|
3
|
+
This package specifies the structure of SAP Fiori elements templates in form of typescript types and JSON schema files. You can find the JSON schemas under dist/schema.
|
|
4
|
+
This package is used by SAP Fiori tools (see documentation link below) but can also be used independently of this application.
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
Each major version of this specification package corresponds to one or more major versions of SAPUI5. A new major version is usually set up for each SAPUI5 version that has a long-term maintenance. The major versions of @sap/ux-specification differ in the scope of supported properties and capabilities, in analogy with the SAP Fiori elements' capabilities of the SAPUI5 major version.
|
|
7
|
+
The relevant SAPUI5 versions of a specification version are linked by tags.
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
`@sap/ux-specification@1.76.x` specifies the Fiori elements that are delivered with SAPUI5 version 1.76.x
|
|
10
|
-
|
|
11
|
-
The module supports both the OData V2 and the OData V4 version of the templates (aka FioriElementsVersion), you thus can find two different access points for the typescript definitions:
|
|
9
|
+
The module supports both the OData V2 and the OData V4 version of the templates (aka FioriElementsVersion), so you can find two different access points for the typescript definitions:
|
|
12
10
|
|
|
13
11
|
- src/v2.ts comprises the OData V2 definitions
|
|
14
12
|
- src/v4.ts comprises the OData V4 definitions
|
|
15
13
|
|
|
16
|
-
JSON schemas are
|
|
14
|
+
(Generic) JSON schemas are generated from the typescript definitions for the following schema types (enum TemplateType):
|
|
17
15
|
|
|
18
|
-
- FioriElementsVersion.v2: Application, ObjectPage, ListReport and OverviewPage
|
|
19
|
-
- FioriElementsVersion.v4: Application, ObjectPage, ListReport
|
|
16
|
+
- FioriElementsVersion.v2: Application, ObjectPage, ListReport, AnalyticalListPage and OverviewPage
|
|
17
|
+
- FioriElementsVersion.v4: Application, ObjectPage, ListReport, AnalyticalListPage and FreestylePage
|
|
20
18
|
|
|
21
|
-
Further schema or template types are planned within the next releases.
|
|
22
19
|
You can retrieve any generic schema via schemaAccess.ts.
|
|
23
20
|
|
|
24
|
-
Besides the
|
|
21
|
+
Besides the type definitions and schemas, src/api.(d.)ts provides functions that can be used by SAP Fiori apps in connection with the JSON schemas:
|
|
25
22
|
|
|
26
|
-
- generateSchema: converts one generic schema to an application specific one, enriched by app
|
|
23
|
+
- generateSchema: converts one generic schema to an application specific one, enriched by app-specific information such as the annotations (as far as they are relevant for setting up the schematic view of the app, for instance collections like facets, columns, actions).
|
|
27
24
|
- importConfig: imports information from the app, like manifest settings or SAPUI5 flexibility changes, into one JSON configuration file that relates to a given schema (representing the central settings of the app or of a page of the app).
|
|
28
|
-
- exportConfig: exports from one JSON configuration file, returning an updated manifest.json file and a list of SAPUI5 flexibility changes.
|
|
25
|
+
- exportConfig: exports from one JSON configuration file, returning an updated manifest.json file and a complete list of all current SAPUI5 flexibility changes and view or fragments.
|
|
26
|
+
- exportConfigEntityByPath: exports a single property or section from the given config.json that is specified by a path expression, returns only the updated artifacts. Supported for List Report, Object Page and Analytical List Page.
|
|
27
|
+
- deleteConfigEntityByPath: deletes a single property or section from the given config.json that is specified by a path expression. Supported for List Report, Object Page and Analytical List Page.
|
|
29
28
|
- importProject: imports information from the app and generates all schemas and JSON configuration files.
|
|
30
29
|
- importProjectSchema: imports information from the app and generates all schemas but no JSON configuration files.
|
|
31
|
-
- getApiVersion: returns the given API version. The API version starts with 1 and will
|
|
32
|
-
- generateCustomExtension: generates custom extensions, e.g.
|
|
30
|
+
- getApiVersion: returns the given API version. The API version starts with 1 and will be increased in case of incompatible changes to which the consumption layer must react.
|
|
31
|
+
- generateCustomExtension: generates custom extensions, e.g. custom pages, custom Columns etc. for a V4 application by using the `@sap-ux/fe-fpm-writer`.
|
|
33
32
|
|
|
34
33
|
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.
|
|
35
34
|
|
|
36
35
|
## Constraints
|
|
37
36
|
|
|
38
|
-
The
|
|
37
|
+
The API functions do not modify any OData annotations.
|
|
39
38
|
|
|
40
39
|
## Support
|
|
41
40
|
|
|
@@ -44,7 +43,7 @@ Please assign tag: _SAP Fiori tools_.
|
|
|
44
43
|
|
|
45
44
|
To log an issue with SAP Fiori tools, please see [Contact SAP Support](https://help.sap.com/viewer/1bb01966b27a429ebf62fa2e45354fea/Latest/en-US).
|
|
46
45
|
|
|
47
|
-
## Documentation
|
|
46
|
+
## Documentation
|
|
48
47
|
|
|
49
48
|
- Visit **SAP Help Portal** for [SAP Fiori tools](https://help.sap.com/viewer/product/SAP_FIORI_tools/Latest/en-US) documentation.
|
|
50
49
|
|