@sap-ux/fe-fpm-writer 0.24.3 → 0.24.5
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/action/types.js +1 -1
- package/dist/building-block/types.js +1 -1
- package/dist/column/types.js +2 -2
- package/dist/common/types.js +1 -1
- package/dist/controller-extension/types.js +1 -1
- package/dist/page/common.js +1 -1
- package/dist/section/types.js +2 -2
- package/package.json +2 -2
- package/templates/controller-extension/Controller.ts +1 -1
- package/templates/page/custom/1.84/ext/Controller.ts +1 -1
- package/templates/page/custom/1.94/ext/Controller.ts +1 -1
package/dist/action/types.js
CHANGED
|
@@ -7,5 +7,5 @@ var TargetControl;
|
|
|
7
7
|
TargetControl["footer"] = "footer";
|
|
8
8
|
TargetControl["section"] = "@com.sap.vocabularies.UI.v1.FieldGroup";
|
|
9
9
|
TargetControl["table"] = "@com.sap.vocabularies.UI.v1.LineItem";
|
|
10
|
-
})(TargetControl
|
|
10
|
+
})(TargetControl || (exports.TargetControl = TargetControl = {}));
|
|
11
11
|
//# sourceMappingURL=types.js.map
|
|
@@ -12,5 +12,5 @@ var BuildingBlockType;
|
|
|
12
12
|
BuildingBlockType["Chart"] = "chart";
|
|
13
13
|
BuildingBlockType["Field"] = "field";
|
|
14
14
|
BuildingBlockType["Table"] = "table";
|
|
15
|
-
})(BuildingBlockType
|
|
15
|
+
})(BuildingBlockType || (exports.BuildingBlockType = BuildingBlockType = {}));
|
|
16
16
|
//# sourceMappingURL=types.js.map
|
package/dist/column/types.js
CHANGED
|
@@ -6,11 +6,11 @@ var Availability;
|
|
|
6
6
|
Availability["Default"] = "Default";
|
|
7
7
|
Availability["Adaptation"] = "Adaptation";
|
|
8
8
|
Availability["Hidden"] = "Hidden";
|
|
9
|
-
})(Availability
|
|
9
|
+
})(Availability || (exports.Availability = Availability = {}));
|
|
10
10
|
var HorizontalAlign;
|
|
11
11
|
(function (HorizontalAlign) {
|
|
12
12
|
HorizontalAlign["Begin"] = "Begin";
|
|
13
13
|
HorizontalAlign["Center"] = "Center";
|
|
14
14
|
HorizontalAlign["End"] = "End";
|
|
15
|
-
})(HorizontalAlign
|
|
15
|
+
})(HorizontalAlign || (exports.HorizontalAlign = HorizontalAlign = {}));
|
|
16
16
|
//# sourceMappingURL=types.js.map
|
package/dist/common/types.js
CHANGED
|
@@ -9,5 +9,5 @@ var Placement;
|
|
|
9
9
|
Placement["After"] = "After";
|
|
10
10
|
Placement["Before"] = "Before";
|
|
11
11
|
Placement["End"] = "End";
|
|
12
|
-
})(Placement
|
|
12
|
+
})(Placement || (exports.Placement = Placement = {}));
|
|
13
13
|
//# sourceMappingURL=types.js.map
|
|
@@ -10,5 +10,5 @@ var ControllerExtensionPageType;
|
|
|
10
10
|
(function (ControllerExtensionPageType) {
|
|
11
11
|
ControllerExtensionPageType["ObjectPage"] = "ObjectPage";
|
|
12
12
|
ControllerExtensionPageType["ListReport"] = "ListReport";
|
|
13
|
-
})(ControllerExtensionPageType
|
|
13
|
+
})(ControllerExtensionPageType || (exports.ControllerExtensionPageType = ControllerExtensionPageType = {}));
|
|
14
14
|
//# sourceMappingURL=types.js.map
|
package/dist/page/common.js
CHANGED
|
@@ -175,7 +175,7 @@ function validatePageConfig(basePath, config, fs) {
|
|
|
175
175
|
Object.assign(routes, (_k = (_j = (_h = manifest['sap.ui5']) === null || _h === void 0 ? void 0 : _h.routing) === null || _j === void 0 ? void 0 : _j.routes) !== null && _k !== void 0 ? _k : {});
|
|
176
176
|
}
|
|
177
177
|
const route = routes[config.navigation.sourcePage];
|
|
178
|
-
if (!route ||
|
|
178
|
+
if (!(route === null || route === void 0 ? void 0 : route.pattern) || !route.target) {
|
|
179
179
|
throw new Error(`Invalid routing configuration for navigation source ${config.navigation.sourcePage}!`);
|
|
180
180
|
}
|
|
181
181
|
}
|
package/dist/section/types.js
CHANGED
|
@@ -7,7 +7,7 @@ var RequestGroupId;
|
|
|
7
7
|
RequestGroupId["Decoration"] = "Decoration";
|
|
8
8
|
RequestGroupId["Workers"] = "Workers";
|
|
9
9
|
RequestGroupId["LongRunners"] = "LongRunners";
|
|
10
|
-
})(RequestGroupId
|
|
10
|
+
})(RequestGroupId || (exports.RequestGroupId = RequestGroupId = {}));
|
|
11
11
|
var DesignTime;
|
|
12
12
|
(function (DesignTime) {
|
|
13
13
|
DesignTime["Default"] = "Default";
|
|
@@ -15,5 +15,5 @@ var DesignTime;
|
|
|
15
15
|
DesignTime["NotAdaptable"] = "not-adaptable";
|
|
16
16
|
DesignTime["NotAdaptableTree"] = "not-adaptable-tree";
|
|
17
17
|
DesignTime["NotRemovable"] = "not-removable";
|
|
18
|
-
})(DesignTime
|
|
18
|
+
})(DesignTime || (exports.DesignTime = DesignTime = {}));
|
|
19
19
|
//# sourceMappingURL=types.js.map
|
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.24.
|
|
4
|
+
"version": "0.24.5",
|
|
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/mem-fs": "1.1.2",
|
|
34
34
|
"@types/mem-fs-editor": "7.0.1",
|
|
35
35
|
"@types/semver": "7.5.2",
|
|
36
|
-
"@sap-ux/project-access": "1.
|
|
36
|
+
"@sap-ux/project-access": "1.17.0"
|
|
37
37
|
},
|
|
38
38
|
"engines": {
|
|
39
39
|
"pnpm": ">=6.26.1 < 7.0.0 || >=7.1.0",
|
|
@@ -2,7 +2,7 @@ import ControllerExtension from 'sap/ui/core/mvc/ControllerExtension';
|
|
|
2
2
|
import ExtensionAPI from 'sap/fe/<%- typeof extension === "object" ? `templates/${extension.pageType}` : "core" -%>/ExtensionAPI';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
|
-
* @namespace <%- ns
|
|
5
|
+
* @namespace <%- ns %>
|
|
6
6
|
* @controller
|
|
7
7
|
*/
|
|
8
8
|
export default class <%- name %> extends ControllerExtension<ExtensionAPI> {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Controller from 'sap/ui/core/mvc/Controller'; /** If UI5 version 1.94 or newer can be used, the change the base controller to sap/fe/core/PageController to get full FEv4 FPM support */
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* @namespace <%- ns
|
|
4
|
+
* @namespace <%- ns %>
|
|
5
5
|
*/
|
|
6
6
|
export default class <%- name %> extends Controller {
|
|
7
7
|
|