@sap-ux/adp-tooling 0.12.52 → 0.12.54
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.
|
@@ -6,6 +6,7 @@ const project_access_1 = require("@sap-ux/project-access");
|
|
|
6
6
|
const ejs_1 = require("ejs");
|
|
7
7
|
const crypto_1 = require("crypto");
|
|
8
8
|
const OBJECT_PAGE_CUSTOM_SECTION = 'OBJECT_PAGE_CUSTOM_SECTION';
|
|
9
|
+
const CUSTOM_ACTION = 'CUSTOM_ACTION';
|
|
9
10
|
const OBJECT_PAGE_HEADER_FIELD = 'OBJECT_PAGE_HEADER_FIELD';
|
|
10
11
|
const fragmentTemplateDefinitions = {
|
|
11
12
|
[OBJECT_PAGE_CUSTOM_SECTION]: {
|
|
@@ -21,6 +22,17 @@ const fragmentTemplateDefinitions = {
|
|
|
21
22
|
};
|
|
22
23
|
}
|
|
23
24
|
},
|
|
25
|
+
[CUSTOM_ACTION]: {
|
|
26
|
+
path: 'common/custom-action.xml',
|
|
27
|
+
getData: () => {
|
|
28
|
+
const uuid = (0, crypto_1.randomBytes)(4).toString('hex');
|
|
29
|
+
return {
|
|
30
|
+
ids: {
|
|
31
|
+
toolbarActionButton: `btn-${uuid}`
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
},
|
|
24
36
|
[OBJECT_PAGE_HEADER_FIELD]: {
|
|
25
37
|
path: 'common/header-field.xml',
|
|
26
38
|
getData: () => {
|
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%3Aadp-tooling"
|
|
11
11
|
},
|
|
12
|
-
"version": "0.12.
|
|
12
|
+
"version": "0.12.54",
|
|
13
13
|
"license": "Apache-2.0",
|
|
14
14
|
"author": "@SAP/ux-tools-team",
|
|
15
15
|
"main": "dist/index.js",
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"@sap-ux/btp-utils": "0.15.2",
|
|
37
37
|
"@sap-ux/inquirer-common": "0.4.6",
|
|
38
38
|
"@sap-ux/logger": "0.6.0",
|
|
39
|
-
"@sap-ux/project-access": "1.27.
|
|
40
|
-
"@sap-ux/system-access": "0.5.11",
|
|
39
|
+
"@sap-ux/project-access": "1.27.5",
|
|
41
40
|
"@sap-ux/project-input-validator": "0.3.3",
|
|
41
|
+
"@sap-ux/system-access": "0.5.11",
|
|
42
42
|
"@sap-ux/ui5-config": "0.25.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|