@sap-ux/fiori-elements-writer 3.0.60 → 3.1.1

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.
package/dist/fpmConfig.js CHANGED
@@ -15,7 +15,8 @@ export async function generateFpmConfig(feApp, basePath, fs) {
15
15
  name: config.pageName,
16
16
  minUI5Version: feApp.ui5?.minUI5Version,
17
17
  typescript: feApp.appOptions?.typescript,
18
- pageBuildingBlockTitle: config.pageBuildingBlockTitle
18
+ pageBuildingBlockTitle: config.pageBuildingBlockTitle,
19
+ pageBuildingBlockTemplateType: config.pageBuildingBlockTemplateType
19
20
  }, fs);
20
21
  }
21
22
  //# sourceMappingURL=fpmConfig.js.map
package/dist/types.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import type { Ui5App, App, AppOptions } from '@sap-ux/ui5-application-writer';
2
2
  import type { OdataService } from '@sap-ux/odata-service-writer';
3
3
  import type { CapServiceCdsInfo } from '@sap-ux/cap-config-writer';
4
+ import type { PageTemplateType } from '@sap-ux/fe-fpm-writer';
4
5
  export declare const TemplateType: {
5
6
  readonly Worklist: "worklist";
6
7
  readonly ListReportObjectPage: "lrop";
@@ -95,6 +96,11 @@ export interface FPMSettings {
95
96
  * This value will be displayed as the title of the generated custom page.
96
97
  */
97
98
  pageBuildingBlockTitle?: string;
99
+ /**
100
+ * The template type for the page building block ('full' or 'basic').
101
+ * 'full' generates an enhanced layout with all aggregations; 'basic' generates a minimal layout with page title and description.
102
+ */
103
+ pageBuildingBlockTemplateType?: PageTemplateType;
98
104
  /**
99
105
  * Name of the custom page.
100
106
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sap-ux/fiori-elements-writer",
3
3
  "description": "SAP Fiori elements application writer",
4
- "version": "3.0.60",
4
+ "version": "3.1.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -29,10 +29,10 @@
29
29
  "read-pkg-up": "7.0.1",
30
30
  "semver": "7.8.4",
31
31
  "@sap-ux/odata-service-writer": "1.0.12",
32
- "@sap-ux/ui5-application-writer": "2.1.0",
33
- "@sap-ux/fe-fpm-writer": "1.2.1",
32
+ "@sap-ux/fe-fpm-writer": "1.3.1",
34
33
  "@sap-ux/ui5-config": "1.0.5",
35
34
  "@sap-ux/ui5-test-writer": "1.2.24",
35
+ "@sap-ux/ui5-application-writer": "2.1.0",
36
36
  "@sap-ux/fiori-generator-shared": "1.2.0",
37
37
  "@sap-ux/cap-config-writer": "1.0.22",
38
38
  "@sap-ux/annotation-generator": "1.0.15",