@sap-ux/fe-fpm-writer 0.33.19 → 0.33.22

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.
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  var __importDefault = (this && this.__importDefault) || function (mod) {
26
36
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
37
  };
@@ -14,9 +14,12 @@ function enhanceData(data, manifest) {
14
14
  const config = {
15
15
  ...data,
16
16
  settings: (0, common_1.initializeTargetSettings)(data, data.settings),
17
- name: types_1.PageType.ObjectPage,
18
- ...(0, common_1.getFclConfig)(manifest)
17
+ name: types_1.PageType.ObjectPage
19
18
  };
19
+ // set FCL configuration
20
+ const fclConfig = (0, common_1.getFclConfig)(manifest, config.navigation);
21
+ config.fcl = fclConfig.fcl;
22
+ config.controlAggregation = fclConfig.controlAggregation;
20
23
  // set library dependencies
21
24
  config.libraries = (0, common_1.getLibraryDependencies)(types_1.PageType.ObjectPage);
22
25
  // use standard file name if i18n enhancement required
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.33.19",
4
+ "version": "0.33.22",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -31,7 +31,7 @@
31
31
  "semver": "7.5.4",
32
32
  "xml-formatter": "2.6.1",
33
33
  "xpath": "0.0.33",
34
- "@sap-ux/fiori-annotation-api": "0.4.22",
34
+ "@sap-ux/fiori-annotation-api": "0.4.24",
35
35
  "@sap-ux/project-access": "1.29.18"
36
36
  },
37
37
  "devDependencies": {
@@ -43,7 +43,7 @@
43
43
  "@types/semver": "7.5.2",
44
44
  "@types/vinyl": "2.0.7",
45
45
  "@sap-ux/i18n": "0.2.3",
46
- "@sap-ux/ui-prompting": "0.3.25"
46
+ "@sap-ux/ui-prompting": "0.3.28"
47
47
  },
48
48
  "engines": {
49
49
  "node": ">=18.x"