@sap-ux/odata-service-inquirer 3.0.24 → 3.0.25

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.
@@ -193,7 +193,7 @@ function getPageBuildingBlockQuestions() {
193
193
  *
194
194
  * @param templateType used to determine if the tree table option should be included
195
195
  * @param odataVersion used to determine if the hierarchy qualifier is required when the selected table type is TreeTable
196
- * @param isCapService used to determine if the tree table option should be included
196
+ * @param isCapService used to determine analytical table requirements (CAP doesn't require all 8 transformations)
197
197
  * @param metadata the metadata (edmx) string of the service
198
198
  * @returns the table layout questions
199
199
  */
@@ -203,7 +203,9 @@ function getTableLayoutQuestions(templateType, odataVersion, isCapService, metad
203
203
  { name: t('prompts.tableType.choiceGrid'), value: 'GridTable' },
204
204
  { name: t('prompts.tableType.choiceResponsive'), value: 'ResponsiveTable' }
205
205
  ];
206
- if (templateType !== 'alp' && !isCapService) {
206
+ // TreeTable is supported for LROP and Worklist templates (not ALP)
207
+ // CAP now supports tree tables via @hierarchy annotation (GA July 2025)
208
+ if (templateType !== 'alp') {
207
209
  tableTypeChoices.push({ name: t('prompts.tableType.choiceTree'), value: 'TreeTable' });
208
210
  }
209
211
  const tableLayoutQuestions = [];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sap-ux/odata-service-inquirer",
3
3
  "description": "Prompts module that can prompt users for inputs required for odata service writing",
4
- "version": "3.0.24",
4
+ "version": "3.0.25",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -33,9 +33,9 @@
33
33
  "@sap-devx/yeoman-ui-types": "1.25.0",
34
34
  "@sap-ux/axios-extension": "2.0.7",
35
35
  "@sap-ux/btp-utils": "2.0.5",
36
+ "@sap-ux/fiori-generator-shared": "1.1.0",
36
37
  "@sap-ux/guided-answers-helper": "1.0.1",
37
38
  "@sap-ux/telemetry": "1.0.18",
38
- "@sap-ux/fiori-generator-shared": "1.1.0",
39
39
  "@sap-ux/inquirer-common": "1.0.22",
40
40
  "@sap-ux/logger": "1.0.3",
41
41
  "@sap-ux/nodejs-utils": "1.0.7",
@@ -52,8 +52,8 @@
52
52
  "@sap-ux/fiori-generator-shared": "1.1.0",
53
53
  "@sap-ux/fiori-elements-writer": "3.0.57",
54
54
  "@sap-ux/fiori-freestyle-writer": "3.0.51",
55
- "@sap-ux/odata-service-writer": "1.0.12",
56
55
  "@sap-ux/feature-toggle": "1.0.5",
56
+ "@sap-ux/odata-service-writer": "1.0.12",
57
57
  "@sap-ux/cap-config-writer": "1.0.21"
58
58
  },
59
59
  "engines": {