@sap-ux/fe-fpm-writer 0.17.0 → 0.17.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.
package/dist/app/index.js
CHANGED
|
@@ -39,8 +39,8 @@ function enableFPM(basePath, config = {}, fs) {
|
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
41
|
// if a minUI5Version is set and it is smaller than the minimum required, increase it
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
const minUI5Version = (_e = (_d = manifest['sap.ui5']) === null || _d === void 0 ? void 0 : _d.dependencies) === null || _e === void 0 ? void 0 : _e.minUI5Version;
|
|
43
|
+
if (minUI5Version && semver_1.valid(minUI5Version) && semver_1.lt(minUI5Version, exports.MIN_VERSION)) {
|
|
44
44
|
fs.extendJSON(manifestPath, {
|
|
45
45
|
'sap.ui5': {
|
|
46
46
|
dependencies: {
|
package/dist/page/list.js
CHANGED
|
@@ -27,7 +27,8 @@ function enhanceData(data, manifest) {
|
|
|
27
27
|
// move table settings into the correct structure
|
|
28
28
|
if (config.settings.tableSettings) {
|
|
29
29
|
config.settings.controlConfiguration = (_a = config.settings.controlConfiguration) !== null && _a !== void 0 ? _a : {};
|
|
30
|
-
config.settings.controlConfiguration['@com.sap.vocabularies.UI.v1.LineItem'] =
|
|
30
|
+
config.settings.controlConfiguration['@com.sap.vocabularies.UI.v1.LineItem'] =
|
|
31
|
+
(_b = config.settings.controlConfiguration['@com.sap.vocabularies.UI.v1.LineItem']) !== null && _b !== void 0 ? _b : {};
|
|
31
32
|
config.settings.controlConfiguration['@com.sap.vocabularies.UI.v1.LineItem'].tableSettings =
|
|
32
33
|
config.settings.tableSettings;
|
|
33
34
|
delete config.settings.tableSettings;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap-ux/fe-fpm-writer",
|
|
3
3
|
"description": "SAP Fiori elements flexible programming model writer",
|
|
4
|
-
"version": "0.17.
|
|
4
|
+
"version": "0.17.2",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@types/semver": "7.3.9",
|
|
34
34
|
"@types/mem-fs-editor": "7.0.1",
|
|
35
35
|
"@types/mem-fs": "1.1.2",
|
|
36
|
-
"@sap-ux/ui5-config": "0.
|
|
36
|
+
"@sap-ux/ui5-config": "0.15.0"
|
|
37
37
|
},
|
|
38
38
|
"engines": {
|
|
39
39
|
"pnpm": ">=6.26.1 < 7.0.0 || >=7.1.0",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<mvc:View xmlns:core="sap.ui.core" xmlns:mvc="sap.ui.core.mvc" xmlns="sap.m"
|
|
1
|
+
<mvc:View xmlns:core="sap.ui.core" xmlns:mvc="sap.ui.core.mvc" xmlns="sap.m" xmlns:macros="sap.fe.macros"
|
|
2
2
|
xmlns:html="http://www.w3.org/1999/xhtml" controllerName="<%- ns %>.<%- name %>">
|
|
3
3
|
<Page id="<%- name %>" title="<%- view.title %>">
|
|
4
4
|
<content></content>
|