@sap-ux/preview-middleware 0.16.14 → 0.16.16
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.
|
@@ -105,8 +105,8 @@ sap.ui.define(["./utils", "sap/ui/VersionInfo"], function (___utils, VersionInfo
|
|
|
105
105
|
}
|
|
106
106
|
if (isAdp && isExtPoint) {
|
|
107
107
|
const {
|
|
108
|
-
defaultContent,
|
|
109
|
-
createdControls
|
|
108
|
+
defaultContent = [],
|
|
109
|
+
createdControls = []
|
|
110
110
|
} = current.extensionPointInfo;
|
|
111
111
|
let children = [];
|
|
112
112
|
// We can combine both because there can only be either defaultContent or createdControls for one extension point node.
|
|
@@ -155,8 +155,8 @@ sap.ui.define(["./utils", "sap/ui/VersionInfo"], function (___utils, VersionInfo
|
|
|
155
155
|
children.forEach(child => {
|
|
156
156
|
if (child.type === 'extensionPoint') {
|
|
157
157
|
const {
|
|
158
|
-
defaultContent,
|
|
159
|
-
createdControls
|
|
158
|
+
defaultContent = [],
|
|
159
|
+
createdControls = []
|
|
160
160
|
} = child.extensionPointInfo;
|
|
161
161
|
[...defaultContent, ...createdControls].forEach(id => extPointIDs.add(id));
|
|
162
162
|
}
|
|
@@ -120,7 +120,7 @@ export async function transformNodes(
|
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
if (isAdp && isExtPoint) {
|
|
123
|
-
const { defaultContent, createdControls } = current.extensionPointInfo;
|
|
123
|
+
const { defaultContent = [], createdControls = [] } = current.extensionPointInfo;
|
|
124
124
|
|
|
125
125
|
let children: OutlineNode[] = [];
|
|
126
126
|
// We can combine both because there can only be either defaultContent or createdControls for one extension point node.
|
|
@@ -180,7 +180,7 @@ export async function handleDuplicateNodes(
|
|
|
180
180
|
|
|
181
181
|
children.forEach((child: OutlineViewNode) => {
|
|
182
182
|
if (child.type === 'extensionPoint') {
|
|
183
|
-
const { defaultContent, createdControls } = child.extensionPointInfo;
|
|
183
|
+
const { defaultContent = [], createdControls = [] } = child.extensionPointInfo;
|
|
184
184
|
[...defaultContent, ...createdControls].forEach((id) => extPointIDs.add(id));
|
|
185
185
|
}
|
|
186
186
|
});
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"bugs": {
|
|
10
10
|
"url": "https://github.com/SAP/open-ux-tools/issues?q=is%3Aopen+is%3Aissue+label%3Abug+label%3Apreview-middleware"
|
|
11
11
|
},
|
|
12
|
-
"version": "0.16.
|
|
12
|
+
"version": "0.16.16",
|
|
13
13
|
"license": "Apache-2.0",
|
|
14
14
|
"author": "@SAP/ux-tools-team",
|
|
15
15
|
"main": "dist/index.js",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"mem-fs-editor": "9.4.0",
|
|
28
28
|
"@sap-ux/logger": "0.6.0",
|
|
29
29
|
"@sap-ux/btp-utils": "0.15.0",
|
|
30
|
-
"@sap-ux/adp-tooling": "0.12.
|
|
30
|
+
"@sap-ux/adp-tooling": "0.12.10",
|
|
31
31
|
"@sap-ux/control-property-editor-sources": "npm:@sap-ux/control-property-editor@0.4.25",
|
|
32
|
-
"@sap-ux/project-access": "1.25.
|
|
32
|
+
"@sap-ux/project-access": "1.25.5"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/ejs": "3.1.2",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"supertest": "6.3.3",
|
|
46
46
|
"@sap-ux-private/playwright": "0.1.0",
|
|
47
47
|
"dotenv": "16.3.1",
|
|
48
|
-
"@private/preview-middleware-client": "npm:@sap-ux-private/preview-middleware-client@0.10.
|
|
48
|
+
"@private/preview-middleware-client": "npm:@sap-ux-private/preview-middleware-client@0.10.3",
|
|
49
49
|
"@sap-ux/axios-extension": "1.15.1",
|
|
50
50
|
"@sap-ux/store": "0.7.0",
|
|
51
51
|
"@sap-ux/ui5-info": "0.6.0",
|