@sap-ux/preview-middleware 0.23.123 → 0.23.125
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.
|
@@ -89,10 +89,11 @@ sap.ui.define(["../../../utils/core", "sap/ui/rta/command/CommandFactory", "../.
|
|
|
89
89
|
* @param table - table control
|
|
90
90
|
* @returns string
|
|
91
91
|
*/
|
|
92
|
+
|
|
92
93
|
function getActionsPropertyPath(table) {
|
|
93
94
|
const macroTable = table.getParent();
|
|
94
95
|
const configPath = '';
|
|
95
|
-
if (macroTable && isA('sap.fe.macros.table.TableAPI', macroTable)) {
|
|
96
|
+
if (macroTable && (isA('sap.fe.macros.Table', macroTable) || isA('sap.fe.macros.table.TableAPI', macroTable))) {
|
|
96
97
|
const lineItemAnnotation = getLineItemAnnotation(macroTable);
|
|
97
98
|
const navigationPath = macroTable.metaPath.split(macroTable.getProperty('contextPath'))[1];
|
|
98
99
|
if (!lineItemAnnotation) {
|
|
@@ -108,10 +108,15 @@ function getLineItemAnnotation(table: MacroTable): string | undefined {
|
|
|
108
108
|
* @param table - table control
|
|
109
109
|
* @returns string
|
|
110
110
|
*/
|
|
111
|
+
|
|
111
112
|
export function getActionsPropertyPath(table: UI5Element): string | undefined {
|
|
112
113
|
const macroTable = table.getParent();
|
|
113
114
|
const configPath = '';
|
|
114
|
-
if (
|
|
115
|
+
if (
|
|
116
|
+
macroTable &&
|
|
117
|
+
(isA<MacroTable>('sap.fe.macros.Table', macroTable) ||
|
|
118
|
+
isA<MacroTable>('sap.fe.macros.table.TableAPI', macroTable))
|
|
119
|
+
) {
|
|
115
120
|
const lineItemAnnotation = getLineItemAnnotation(macroTable);
|
|
116
121
|
|
|
117
122
|
const navigationPath = macroTable.metaPath.split(macroTable.getProperty('contextPath'))[1];
|
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.23.
|
|
12
|
+
"version": "0.23.125",
|
|
13
13
|
"license": "Apache-2.0",
|
|
14
14
|
"author": "@SAP/ux-tools-team",
|
|
15
15
|
"main": "dist/index.js",
|
|
@@ -27,14 +27,14 @@
|
|
|
27
27
|
"mem-fs-editor": "9.4.0",
|
|
28
28
|
"qrcode": "1.5.4",
|
|
29
29
|
"@sap/bas-sdk": "3.13.3",
|
|
30
|
-
"@sap-ux/adp-tooling": "0.18.
|
|
30
|
+
"@sap-ux/adp-tooling": "0.18.66",
|
|
31
|
+
"@sap-ux/btp-utils": "1.1.9",
|
|
31
32
|
"@sap-ux/control-property-editor-sources": "npm:@sap-ux/control-property-editor@0.7.11",
|
|
32
33
|
"@sap-ux/feature-toggle": "0.3.6",
|
|
33
|
-
"@sap-ux/btp-utils": "1.1.9",
|
|
34
|
-
"@sap-ux/project-access": "1.35.4",
|
|
35
|
-
"@sap-ux/i18n": "0.3.7",
|
|
36
34
|
"@sap-ux/logger": "0.8.1",
|
|
37
|
-
"@sap-ux/
|
|
35
|
+
"@sap-ux/project-access": "1.35.5",
|
|
36
|
+
"@sap-ux/system-access": "0.6.54",
|
|
37
|
+
"@sap-ux/i18n": "0.3.7"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@sap-ux-private/playwright": "0.2.6",
|
|
@@ -53,10 +53,10 @@
|
|
|
53
53
|
"nock": "13.4.0",
|
|
54
54
|
"npm-run-all2": "6.2.0",
|
|
55
55
|
"supertest": "7.1.4",
|
|
56
|
-
"@private/preview-middleware-client": "npm:@sap-ux-private/preview-middleware-client@0.18.
|
|
56
|
+
"@private/preview-middleware-client": "npm:@sap-ux-private/preview-middleware-client@0.18.19",
|
|
57
|
+
"@sap-ux/axios-extension": "1.25.14",
|
|
57
58
|
"@sap-ux/store": "1.5.6",
|
|
58
|
-
"@sap-ux/ui5-info": "0.13.12"
|
|
59
|
-
"@sap-ux/axios-extension": "1.25.13"
|
|
59
|
+
"@sap-ux/ui5-info": "0.13.12"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
62
|
"express": "4"
|