@sap-ux/fe-fpm-writer 0.27.4 → 0.27.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.
|
@@ -5,7 +5,8 @@ const i18n_1 = require("../../../i18n");
|
|
|
5
5
|
const utils_1 = require("../utils");
|
|
6
6
|
const types_1 = require("../../types");
|
|
7
7
|
const defaultAnswers = {
|
|
8
|
-
id: 'FilterBar'
|
|
8
|
+
id: 'FilterBar',
|
|
9
|
+
bindingContextType: 'absolute'
|
|
9
10
|
};
|
|
10
11
|
/**
|
|
11
12
|
* Returns a list of prompts required to generate a filterbar building block.
|
|
@@ -32,6 +33,14 @@ async function getFilterBarBuildingBlockPrompts(context) {
|
|
|
32
33
|
mandatory: true
|
|
33
34
|
}
|
|
34
35
|
}),
|
|
36
|
+
(0, utils_1.getBindingContextTypePrompt)({
|
|
37
|
+
message: t('bindingContextType'),
|
|
38
|
+
default: defaultAnswers.bindingContextType,
|
|
39
|
+
guiOptions: {
|
|
40
|
+
mandatory: true,
|
|
41
|
+
dependantPromptNames: ['buildingBlockData.metaPath.qualifier']
|
|
42
|
+
}
|
|
43
|
+
}),
|
|
35
44
|
...(project && (0, utils_1.isCapProject)(project)
|
|
36
45
|
? [
|
|
37
46
|
await (0, utils_1.getCAPServicePrompt)(context, {
|
|
@@ -103,7 +103,8 @@
|
|
|
103
103
|
"qualifier": "Selection Fields Qualifier",
|
|
104
104
|
"qualifierPlaceholder": "Select selection fields qualifier",
|
|
105
105
|
"aggregation": "Aggregation Path",
|
|
106
|
-
"valuesDependentOnEntityTypeInfo": "Values are dependent on entity type"
|
|
106
|
+
"valuesDependentOnEntityTypeInfo": "Values are dependent on entity type",
|
|
107
|
+
"bindingContextType": "Binding Context Path Type"
|
|
107
108
|
},
|
|
108
109
|
"table": {
|
|
109
110
|
"tableBuildingBlockPropertiesTitle": "Table Building Block Properties",
|
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.27.
|
|
4
|
+
"version": "0.27.5",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/SAP/open-ux-tools.git",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@types/mem-fs-editor": "7.0.1",
|
|
43
43
|
"@types/semver": "7.5.2",
|
|
44
44
|
"@types/vinyl": "2.0.7",
|
|
45
|
-
"@sap-ux/ui-prompting": "0.1.
|
|
45
|
+
"@sap-ux/ui-prompting": "0.1.4"
|
|
46
46
|
},
|
|
47
47
|
"engines": {
|
|
48
48
|
"node": ">=18.x"
|