@sap-ux/fe-fpm-writer 0.31.14 → 0.31.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.
@@ -5,6 +5,7 @@ const i18n_1 = require("../../../i18n");
5
5
  const utils_1 = require("../utils");
6
6
  const types_1 = require("../../types");
7
7
  const building_blocks_1 = require("./building-blocks");
8
+ const i18n_2 = require("@sap-ux/i18n");
8
9
  const MANIFEST_LIBRARIES_GROUP = (0, building_blocks_1.getManifestPromptsGroup)();
9
10
  const groupIds = {
10
11
  commonTableBuildingBlockProperties: 'tableBuildingBlockProperties',
@@ -165,7 +166,10 @@ async function getTableBuildingBlockPrompts(context) {
165
166
  message: t('header.message'),
166
167
  guiOptions: {
167
168
  groupId: groupIds.visualisationProperties,
168
- translatable: true
169
+ translationProperties: {
170
+ type: i18n_2.SapShortTextType.TableTitle,
171
+ annotation: t('header.translationAnnotation')
172
+ }
169
173
  }
170
174
  },
171
175
  {
@@ -179,7 +179,11 @@
179
179
  }
180
180
  },
181
181
  "headerVisible": "Display Header",
182
- "header": { "message": "Table Header Text", "validation": "Enter a Table Header Text" },
182
+ "header": {
183
+ "message": "Table Header Text",
184
+ "validation": "Enter a Table Header Text",
185
+ "translationAnnotation": "Header of the table"
186
+ },
183
187
  "personalization": {
184
188
  "message": "Table Personalization",
185
189
  "choices": {
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.31.14",
4
+ "version": "0.31.16",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -31,8 +31,8 @@
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.2.14",
35
- "@sap-ux/project-access": "1.28.5"
34
+ "@sap-ux/fiori-annotation-api": "0.2.15",
35
+ "@sap-ux/project-access": "1.28.6"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@types/inquirer": "8.2.6",
@@ -42,7 +42,8 @@
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.2.13"
45
+ "@sap-ux/i18n": "0.2.0",
46
+ "@sap-ux/ui-prompting": "0.3.0"
46
47
  },
47
48
  "engines": {
48
49
  "node": ">=18.x"