@sap/ux-specification 1.96.6 → 1.96.9

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.
Files changed (157) hide show
  1. package/CHANGELOG.md +44 -1
  2. package/dist/documentation/v2/v2-AnalyticalListPage.html +1 -1
  3. package/dist/documentation/v2/v2-ApplicationV2.html +1 -1
  4. package/dist/documentation/v2/v2-ListReport.html +1 -1
  5. package/dist/documentation/v2/v2-ObjectPage.html +1 -1
  6. package/dist/documentation/v2/v2-OverviewPage.html +1 -1
  7. package/dist/documentation/v4/v4-ApplicationV4.html +1 -1
  8. package/dist/documentation/v4/v4-ListReport.html +1 -1
  9. package/dist/documentation/v4/v4-ObjectPage.html +1 -1
  10. package/dist/index-min.js +1 -1
  11. package/dist/schemas/v2/ApplicationV2.json +14 -14
  12. package/dist/schemas/v4/ApplicationV4.json +9 -5
  13. package/dist/schemas/v4/ListReportConfig.json +609 -209
  14. package/dist/specification/v2/index-min.js +1 -1
  15. package/dist/specification/v4/index-min.js +1 -1
  16. package/dist/src/api.d.ts +3 -3
  17. package/dist/src/apiTypes.d.ts +16 -20
  18. package/dist/src/extensionLogger.d.ts +1 -1
  19. package/dist/src/project.d.ts +1 -1
  20. package/dist/src/specification/common/Application.d.ts +24 -4
  21. package/dist/src/specification/common/page.d.ts +1 -1
  22. package/dist/src/specification/common/webapp/manifest/Manifest.d.ts +6 -6
  23. package/dist/src/specification/common/webapp/manifest/sapUi5.d.ts +1 -1
  24. package/dist/src/specification/schemaAccess.d.ts +1 -1
  25. package/dist/src/specification/v2/ApplicationV2.d.ts +3 -17
  26. package/dist/src/specification/v2/controls/Facets.d.ts +1 -1
  27. package/dist/src/specification/v2/controls/Footer.d.ts +2 -2
  28. package/dist/src/specification/v2/controls/ObjectPageForm.d.ts +1 -1
  29. package/dist/src/specification/v2/controls/ObjectPageHeader.d.ts +1 -1
  30. package/dist/src/specification/v2/controls/ObjectPageSection.d.ts +2 -2
  31. package/dist/src/specification/v2/controls/ObjectPageTable.d.ts +2 -2
  32. package/dist/src/specification/v2/controls/ObjectPageToolBar.d.ts +1 -1
  33. package/dist/src/specification/v2/controls/Table.d.ts +3 -3
  34. package/dist/src/specification/v2/controls/ToolBar.d.ts +1 -1
  35. package/dist/src/specification/v2/page.d.ts +1 -1
  36. package/dist/src/specification/v2/pages/AnalyticalListPageConfig.d.ts +4 -4
  37. package/dist/src/specification/v2/pages/ListReportConfig.d.ts +2 -2
  38. package/dist/src/specification/v2/pages/ObjectPageConfig.d.ts +3 -3
  39. package/dist/src/specification/v2/pages/OverviewPageConfig.d.ts +3 -3
  40. package/dist/src/specification/v2/webapp/manifest/sapUi5.d.ts +2 -2
  41. package/dist/src/specification/v2/webapp/manifest/sapUiPageV2.d.ts +2 -2
  42. package/dist/src/specification/v4/ApplicationV4.d.ts +4 -14
  43. package/dist/src/specification/v4/controls/ObjectPageHeader.d.ts +1 -1
  44. package/dist/src/specification/v4/controls/ObjectPageSection.d.ts +2 -2
  45. package/dist/src/specification/v4/controls/ObjectPageTable.d.ts +3 -3
  46. package/dist/src/specification/v4/controls/ObjectPageToolBar.d.ts +1 -1
  47. package/dist/src/specification/v4/controls/Table.d.ts +162 -25
  48. package/dist/src/specification/v4/controls/ToolBar.d.ts +26 -1
  49. package/dist/src/specification/v4/page.d.ts +2 -2
  50. package/dist/src/specification/v4/pages/ListReportConfig.d.ts +17 -3
  51. package/dist/src/specification/v4/pages/ObjectPageConfig.d.ts +2 -2
  52. package/dist/src/specification/v4/pages/index.d.ts +0 -1
  53. package/dist/src/specification/v4/webapp/manifest/ManifestSettings.d.ts +77 -0
  54. package/dist/src/specification/v4/webapp/manifest/sapUi5.d.ts +12 -3
  55. package/dist/src/specification/v4/webapp/manifest/sapUiPageV4.d.ts +20 -1
  56. package/dist/src/sync/common/appProvider.d.ts +6 -5
  57. package/dist/src/sync/common/decoration/control.d.ts +1 -1
  58. package/dist/src/sync/common/decoration/decorators.d.ts +1 -1
  59. package/dist/src/sync/common/decoration/factory.d.ts +3 -3
  60. package/dist/src/sync/common/decoration/flex.d.ts +3 -3
  61. package/dist/src/sync/common/flexUtils.d.ts +4 -4
  62. package/dist/src/sync/common/generate/objectPage.d.ts +4 -3
  63. package/dist/src/sync/common/generate/utils.d.ts +11 -9
  64. package/dist/src/sync/common/import/utils.d.ts +4 -3
  65. package/dist/src/sync/common/importProject.d.ts +4 -4
  66. package/dist/src/sync/common/types.d.ts +28 -6
  67. package/dist/src/sync/common/utils.d.ts +11 -8
  68. package/dist/src/sync/i18n.d.ts +1 -1
  69. package/dist/src/sync/v2/application.d.ts +2 -2
  70. package/dist/src/sync/v2/export/controls/Action.d.ts +1 -1
  71. package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.d.ts +1 -1
  72. package/dist/src/sync/v2/export/controls/AnalyticalListPageKPI.d.ts +1 -1
  73. package/dist/src/sync/v2/export/controls/Card.d.ts +1 -1
  74. package/dist/src/sync/v2/export/controls/Field.d.ts +1 -1
  75. package/dist/src/sync/v2/export/controls/FilterBar.d.ts +2 -1
  76. package/dist/src/sync/v2/export/controls/FormAction.d.ts +1 -1
  77. package/dist/src/sync/v2/export/controls/Fragment.d.ts +5 -11
  78. package/dist/src/sync/v2/export/controls/ObjectPageChart.d.ts +1 -1
  79. package/dist/src/sync/v2/export/controls/ObjectPageCustomSection.d.ts +3 -3
  80. package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.d.ts +1 -1
  81. package/dist/src/sync/v2/export/controls/ObjectPageHeader.d.ts +1 -1
  82. package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.d.ts +1 -1
  83. package/dist/src/sync/v2/export/controls/ObjectPageLayout.d.ts +1 -1
  84. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.d.ts +2 -2
  85. package/dist/src/sync/v2/export/controls/ObjectPageTable.d.ts +3 -3
  86. package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.d.ts +1 -1
  87. package/dist/src/sync/v2/export/controls/Table.d.ts +3 -2
  88. package/dist/src/sync/v2/export/controls/TableColumn.d.ts +2 -2
  89. package/dist/src/sync/v2/export/controls/ToolBar.d.ts +1 -1
  90. package/dist/src/sync/v2/export/export.d.ts +3 -3
  91. package/dist/src/sync/v2/export/exportPage.d.ts +2 -2
  92. package/dist/src/sync/v2/export/factory.d.ts +2 -1
  93. package/dist/src/sync/v2/export/manifest.d.ts +1 -1
  94. package/dist/src/sync/v2/export/pages/AnalyticalListPage.d.ts +4 -4
  95. package/dist/src/sync/v2/export/pages/ListReport.d.ts +2 -2
  96. package/dist/src/sync/v2/export/pages/ObjectPage.d.ts +3 -3
  97. package/dist/src/sync/v2/export/pages/OverviewPage.d.ts +2 -2
  98. package/dist/src/sync/v2/export/view-controller-generator.d.ts +2 -2
  99. package/dist/src/sync/v2/generate/analyticalListReport.d.ts +1 -1
  100. package/dist/src/sync/v2/generate/generate.d.ts +2 -2
  101. package/dist/src/sync/v2/generate/listReport.d.ts +7 -4
  102. package/dist/src/sync/v2/generate/objectPage.d.ts +1 -1
  103. package/dist/src/sync/v2/generate/overviewPage.d.ts +1 -1
  104. package/dist/src/sync/v2/generate/utils.d.ts +5 -5
  105. package/dist/src/sync/v2/import/app/appProvider.d.ts +4 -4
  106. package/dist/src/sync/v2/import/app/ovpProvider.d.ts +3 -3
  107. package/dist/src/sync/v2/import/common/index.d.ts +6 -5
  108. package/dist/src/sync/v2/import/controls/table.d.ts +1 -1
  109. package/dist/src/sync/v2/import/pages/analyticalListPage.d.ts +2 -2
  110. package/dist/src/sync/v2/import/pages/listReport.d.ts +2 -2
  111. package/dist/src/sync/v2/import/pages/objectPage.d.ts +1 -1
  112. package/dist/src/sync/v2/import/pages/overviewPage.d.ts +2 -2
  113. package/dist/src/sync/v2/import/utils.d.ts +3 -2
  114. package/dist/src/sync/v2/types.d.ts +7 -7
  115. package/dist/src/sync/v4/application.d.ts +8 -4
  116. package/dist/src/sync/v4/export/controls/FilterBar.d.ts +1 -1
  117. package/dist/src/sync/v4/export/controls/ObjectPageCustomSection.d.ts +2 -1
  118. package/dist/src/sync/v4/export/controls/ObjectPageHeader.d.ts +1 -1
  119. package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.d.ts +1 -1
  120. package/dist/src/sync/v4/export/controls/ObjectPageLayout.d.ts +1 -1
  121. package/dist/src/sync/v4/export/controls/ObjectPageTable.d.ts +1 -1
  122. package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts +1 -1
  123. package/dist/src/sync/v4/export/controls/ObjectPageToolBarAction.d.ts +1 -1
  124. package/dist/src/sync/v4/export/controls/Table.d.ts +125 -9
  125. package/dist/src/sync/v4/export/controls/TableColumn.d.ts +39 -1
  126. package/dist/src/sync/v4/export/controls/ToolBar.d.ts +1 -1
  127. package/dist/src/sync/v4/export/controls/ToolBarAction.d.ts +4 -1
  128. package/dist/src/sync/v4/export/export.d.ts +2 -2
  129. package/dist/src/sync/v4/export/exportCustomColumn.d.ts +2 -2
  130. package/dist/src/sync/v4/export/factory.d.ts +2 -1
  131. package/dist/src/sync/v4/export/flexibleColumnLayout.d.ts +1 -1
  132. package/dist/src/sync/v4/export/manifest.d.ts +1 -1
  133. package/dist/src/sync/v4/export/pages/ListReport.d.ts +8 -3
  134. package/dist/src/sync/v4/export/pages/ObjectPage.d.ts +2 -2
  135. package/dist/src/sync/v4/export/pages/index.d.ts +0 -1
  136. package/dist/src/sync/v4/export/types.d.ts +7 -5
  137. package/dist/src/sync/v4/export/utils.d.ts +1 -1
  138. package/dist/src/sync/v4/generate/generate.d.ts +5 -4
  139. package/dist/src/sync/v4/generate/listReport.d.ts +2 -4
  140. package/dist/src/sync/v4/generate/objectPage.d.ts +1 -1
  141. package/dist/src/sync/v4/import/app/appProvider.d.ts +6 -5
  142. package/dist/src/sync/v4/import/fragment.d.ts +2 -2
  143. package/dist/src/sync/v4/import/index.d.ts +0 -1
  144. package/dist/src/sync/v4/import/pages/listReport.d.ts +8 -7
  145. package/dist/src/sync/v4/import/pages/objectPage.d.ts +2 -2
  146. package/dist/src/sync/v4/import/utils.d.ts +2 -2
  147. package/dist/src/sync/v4/types.d.ts +2 -2
  148. package/dist/src/sync/v4/utils/utils.d.ts +14 -5
  149. package/dist/test/test-data/flexChange/v2/stta.prod.man/index.d.ts +1 -1
  150. package/dist/test/test-projects/index.d.ts +1 -1
  151. package/dist/test/test-utils/utils.d.ts +5 -4
  152. package/package.json +12 -9
  153. package/dist/documentation/v4/v4-AnalyticalListPage.html +0 -49
  154. package/dist/schemas/v4/AnalyticalListPageConfig.json +0 -481
  155. package/dist/src/specification/v4/pages/AnalyticalListPageConfig.d.ts +0 -13
  156. package/dist/src/sync/v4/export/pages/AnalyticalListPage.d.ts +0 -8
  157. package/dist/src/sync/v4/import/pages/analyticalListPage.d.ts +0 -11
@@ -1,10 +1,10 @@
1
- import { UI5Version, PageType, ExtensionLogger } from '../..';
2
- import { ObjectPageConfig, SapUiAppPageV2 } from '../../v2';
3
- import { FlexChangesForTransfer } from './import/controls/table';
4
- import { MetadataFactory, MetadataInstanceInterface } from '../common/decoration/factory';
5
- import { ExportResults } from '../common';
6
- import * as v2controls from './export/controls';
7
- import * as v2pages from './export/pages';
1
+ import type { UI5Version, PageType, ExtensionLogger } from '../..';
2
+ import type { ObjectPageConfig, SapUiAppPageV2 } from '../../v2';
3
+ import type { FlexChangesForTransfer } from './import/controls/table';
4
+ import type { MetadataFactory, MetadataInstanceInterface } from '../common/decoration/factory';
5
+ import type { ExportResults } from '../common';
6
+ import type * as v2controls from './export/controls';
7
+ import type * as v2pages from './export/pages';
8
8
  export declare type V2Controls = typeof v2controls;
9
9
  export declare type V2Pages = typeof v2pages;
10
10
  export declare type TransferParameterTypeV2 = {
@@ -1,14 +1,17 @@
1
- import { AppSettings as CommonSettingsV4, FlexibleColumnLayoutV4 } from '../../specification/v4/ApplicationV4';
2
- import { Application } from '../../specification/common/Application';
3
- import { Target, Manifest } from '../../specification/common';
4
- import { Pages } from '../../specification/v4';
1
+ import type { AppSettings as CommonSettingsV4, FlexibleColumnLayoutV4 } from '../../specification/v4/ApplicationV4';
2
+ import type { Application } from '../../specification/common/Application';
3
+ import type { Target, Manifest } from '../../specification/common';
4
+ import type { Pages } from '../../specification/v4';
5
5
  export declare const getSettingsPathForPage: (pageName: string[]) => string;
6
+ export declare const getSettingsPathForLRViewsPaths: (pageName: string[]) => string;
6
7
  export declare const getSettingsPathForHeaderOP: (pageName: string[]) => string;
7
8
  export declare const getControlConfigurationPath: (pageName: string[]) => string;
8
9
  export declare const getHeaderFacetSettingPath: (pageName: string[], manifest: Manifest, sectionId: string) => string;
9
10
  export declare const getTableSettingsPathForLR: (pageName: string[]) => string;
10
11
  export declare const getColumnsPathForLR: (pageName: string[], manifest: Manifest, sectionId: string, columnKey: string) => string;
12
+ export declare const getColumnsPathForView: (pageName: string[], manifest: Manifest, targetAnnotationEncoded: string, columnKey: string, targetAnnotation: string) => string;
11
13
  export declare const getActionsPathForLR: (pageName: string[], manifest: Manifest, sectionId: string, columnKey: string) => string;
14
+ export declare const getActionsPathForView: (pageName: string[], manifest: Manifest, targetAnnotationEncoded: string, columnKey: string, targetAnnotation: string) => string;
12
15
  export declare const getColumnsPathForOP: (pageName: string[], manifest: Manifest, sectionId: string, columnKey: string) => string;
13
16
  export declare const getActionsPathForOP: (pageName: string[], manifest: Manifest, sectionId: string, columnKey: string) => string;
14
17
  export declare const getTableSettingsPathForOP: (pageName: string[], manifest: Manifest, sectionId: string) => string;
@@ -25,4 +28,5 @@ export declare class AppSettings implements CommonSettingsV4 {
25
28
  title?: string;
26
29
  description?: string;
27
30
  flexibleColumnLayout?: FlexibleColumnLayoutV4;
31
+ flexEnabled?: boolean;
28
32
  }
@@ -1,4 +1,4 @@
1
- import { FilterBar as FilterBarConfig, SelectionFields } from '../../../../specification/v4';
1
+ import type { FilterBar as FilterBarConfig, SelectionFields } from '../../../../specification/v4';
2
2
  export declare class FilterBar implements FilterBarConfig {
3
3
  selectionFields?: SelectionFields;
4
4
  }
@@ -1,4 +1,5 @@
1
- import { SectionPosition, ObjectPageCustomSectionFragment as FragmentCustomSectionConfig, CustomSectionViewTypesV4 } from '../../../../specification/v4';
1
+ import type { SectionPosition, ObjectPageCustomSectionFragment as FragmentCustomSectionConfig } from '../../../../specification/v4';
2
+ import { CustomSectionViewTypesV4 } from '../../../../specification/v4';
2
3
  import { SAPUI5_FRAGMENT_CLASS } from '../../../../specification/common';
3
4
  export declare class ObjectPageCustomSectionFragment implements FragmentCustomSectionConfig {
4
5
  relatedFacet: string;
@@ -1,4 +1,4 @@
1
- import { ObjectPageHeader as ObjectPageHeaderConfig, HeaderSections } from '../../../../specification/v4/controls';
1
+ import type { ObjectPageHeader as ObjectPageHeaderConfig, HeaderSections } from '../../../../specification/v4/controls';
2
2
  export declare class ObjectPageHeader implements ObjectPageHeaderConfig {
3
3
  editableHeaderContent?: boolean;
4
4
  showRelatedApps?: boolean;
@@ -1,4 +1,4 @@
1
- import { ObjectPageHeaderSectionForm as ObjectPageHeaderSectionFormIF, ObjectPageHeaderSectionChart as ObjectPageHeaderSectionChartIF, ObjectPageHeaderSectionDataPoint as ObjectPageHeaderSectionDataPointIF, ObjectPageHeaderSectionContact as ObjectPageHeaderSectionContactIF, ObjectPageHeaderSectionAddress as ObjectPageHeaderSectionAddressIF, CommonHeaderFacetSettings as CommonHeaderFacetSettingsIF, HeaderSections as HeaderSectionsIF, FlexSettings as FlexSettingsIF, DesigntimeValues } from '../../../../specification/v4/controls';
1
+ import type { ObjectPageHeaderSectionForm as ObjectPageHeaderSectionFormIF, ObjectPageHeaderSectionChart as ObjectPageHeaderSectionChartIF, ObjectPageHeaderSectionDataPoint as ObjectPageHeaderSectionDataPointIF, ObjectPageHeaderSectionContact as ObjectPageHeaderSectionContactIF, ObjectPageHeaderSectionAddress as ObjectPageHeaderSectionAddressIF, CommonHeaderFacetSettings as CommonHeaderFacetSettingsIF, HeaderSections as HeaderSectionsIF, FlexSettings as FlexSettingsIF, DesigntimeValues } from '../../../../specification/v4/controls';
2
2
  export declare class FlexSettings implements FlexSettingsIF {
3
3
  designtime?: DesigntimeValues;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { ObjectPageLayout as ObjectPageLayoutConfig, SectionLayoutType } from '../../../../specification/v4/controls/ObjectPageLayout';
1
+ import type { ObjectPageLayout as ObjectPageLayoutConfig, SectionLayoutType } from '../../../../specification/v4/controls/ObjectPageLayout';
2
2
  export declare class ObjectPageLayout implements ObjectPageLayoutConfig {
3
3
  sectionLayout?: SectionLayoutType;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { ObjectPageTable as ObjectPageTableConfig, TableTypeV4, SelectionMode, TableCreationModeType, AnnotationPathAsObject, TableCreationMode, PersonalizationType, QuickVariantSelectionV4 } from '../../../../specification/v4';
1
+ import type { ObjectPageTable as ObjectPageTableConfig, TableTypeV4, SelectionMode, TableCreationModeType, AnnotationPathAsObject, TableCreationMode, PersonalizationType, QuickVariantSelectionV4 } from '../../../../specification/v4';
2
2
  export declare class TableCreationModeOP implements TableCreationMode {
3
3
  name?: TableCreationModeType;
4
4
  createAtEnd?: boolean;
@@ -1,4 +1,4 @@
1
- import { ObjectPageTableColumn as ObjectPageTableColumnIF, TableCustomColumnOP as TableCustomColumnIF, ObjectPageTableColumnAction as ObjectPageTableColumnActionIF, Availability, ActionAfterExecutionConfigurationOP as ActionAfterExecutionConfigurationIF, PositionOP as PositionIF, HorizontalAlign, ColumnPropertiesType, Placement } from '../../../../specification/v4';
1
+ import type { ObjectPageTableColumn as ObjectPageTableColumnIF, TableCustomColumnOP as TableCustomColumnIF, ObjectPageTableColumnAction as ObjectPageTableColumnActionIF, Availability, ActionAfterExecutionConfigurationOP as ActionAfterExecutionConfigurationIF, PositionOP as PositionIF, HorizontalAlign, ColumnPropertiesType, Placement } from '../../../../specification/v4';
2
2
  export declare class ActionAfterExecutionConfigurationOP implements ActionAfterExecutionConfigurationIF {
3
3
  navigateToInstance?: boolean;
4
4
  enableAutoScroll?: boolean;
@@ -1,4 +1,4 @@
1
- import { ObjectPageToolBarAction as ToolBarActionIF, SelectType } from '../../../../specification/v4';
1
+ import type { ObjectPageToolBarAction as ToolBarActionIF, SelectType } from '../../../../specification/v4';
2
2
  export declare class ObjectPageToolBarAction implements ToolBarActionIF {
3
3
  enableOnSelect?: SelectType;
4
4
  }
@@ -1,29 +1,86 @@
1
- import { Table as TableConfig, TableTypeV4, TableCreationModeType, SelectionMode, InitialLoadType, AnnotationPathAsObject, AnnotationPathWithKey } from '../../../../specification/v4';
1
+ import type { TableSettings as TableSettingsIF, Table as TableInterface, TableCreationMode as TableCreationModeIF, ViewTableCreationMode as ViewTableCreationModeIF, PersonalizationType as PersonalizationTypeIF, ViewPersonalizationType as ViewPersonalizationTypeIF, QuickVariantSelectionV4 as QuickVariantSelectionV4IF, ALPChartView as ALPChartIF, LRChartView as LRChartViewIF, ALPTableView as ALPTableIF, LRTableView as LRTableViewIF, TableTypeV4, TableCreationModeType, ViewChartToolBar, SelectionMode, InitialLoadType, AnnotationPathAsObject, MultiTableModeV4 as MultiTableModeIF } from '../../../../specification/v4';
2
+ import type { ToolBar } from './ToolBar';
3
+ /**
4
+ * sync rule function for export of creationMode.name
5
+ * @param manifestSection - section in manifest comprising the table settings
6
+ * @param configObject - section in config.json describing the table settings
7
+ * @param key - key or property in config.json
8
+ * @param manifestKey - key or property in manifest
9
+ */
2
10
  export declare function exportCreationModeName(manifestSection: unknown, configObject: unknown, key: string, manifestKey: string): void;
11
+ /**
12
+ * common sync rule function for export of personalization properties
13
+ * @param manifestSection - section in manifest comprising the table settings
14
+ * @param configObject - section in config.json describing the table settings
15
+ * @param key - key or property in config.json
16
+ * @param manifestKey - key or property in manifest
17
+ */
3
18
  export declare function exportPersonalizationProperty(manifestSection: unknown, configObject: unknown, key: string, manifestKey: string): void;
19
+ /**
20
+ * sync rule function for the deletion of creationMode.name
21
+ * @param manifestSection - section in manifest comprising the table settings
22
+ * @param manifestKey - key or property in manifest
23
+ */
4
24
  export declare function deleteCreationModeName(manifestSection: unknown, manifestKey: string): void;
25
+ /**
26
+ * common sync rule function for the deletion of any property of personalization
27
+ * @param manifestSection - section in manifest comprising the table settings
28
+ * @param manifestKey - key or property in manifest
29
+ */
5
30
  export declare function deletePersonalizationProperty(manifestSection: unknown, manifestKey: string): void;
31
+ /**
32
+ * sync rule function for export of creationMode.createAtEnd
33
+ * @param manifestSection - section in manifest comprising the table settings
34
+ * @param configObject - section in config.json describing the table settings
35
+ * @param key - key or property in config.json
36
+ * @param manifestKey - key or property in manifest
37
+ */
6
38
  export declare function exportCreationModeCreateAtEnd(manifestSection: unknown, configObject: unknown, key: string, manifestKey: string): void;
39
+ /**
40
+ * sync rule function for the deletion of creationMode.createAtEnd
41
+ * @param manifestSection - section in manifest comprising the table settings
42
+ * @param manifestKey - key or property in manifest
43
+ */
7
44
  export declare function deleteCreationModeCreateAtEnd(manifestSection: unknown, manifestKey: string): void;
8
- export declare class TableCreationMode {
45
+ /**********************************
46
+ * Sync class for TableCreationMode
47
+ */
48
+ export declare class TableCreationMode implements TableCreationModeIF {
9
49
  name?: TableCreationModeType;
10
50
  createAtEnd?: boolean;
11
51
  }
12
- export declare class PersonalizationType {
52
+ /**********************************
53
+ * Sync class for TableCreationMode
54
+ */
55
+ export declare class ViewTableCreationMode implements ViewTableCreationModeIF {
56
+ name?: TableCreationModeType;
57
+ createAtEnd?: boolean;
58
+ }
59
+ /************************************
60
+ * Sync class for PersonalizationType
61
+ */
62
+ export declare class PersonalizationType implements PersonalizationTypeIF {
63
+ column?: boolean;
64
+ sort?: boolean;
65
+ filter?: boolean;
66
+ }
67
+ export declare class ViewPersonalizationType implements ViewPersonalizationTypeIF {
13
68
  column?: boolean;
14
69
  sort?: boolean;
15
70
  filter?: boolean;
16
71
  }
17
- export declare class QuickVariantSelectionV4 {
72
+ /****************************************
73
+ * Sync class for QuickVariantSelectionV4
74
+ */
75
+ export declare class QuickVariantSelectionV4 implements QuickVariantSelectionV4IF {
18
76
  paths: AnnotationPathAsObject[];
19
77
  hideTableTitle?: boolean;
20
78
  showCounts?: boolean;
21
79
  }
22
- export declare class MultiTableModeV4 {
23
- paths: AnnotationPathWithKey[];
24
- showCounts?: boolean;
25
- }
26
- export declare class Table implements TableConfig {
80
+ /****************************************
81
+ * Sync class for TableSettings
82
+ */
83
+ export declare class TableSettings implements TableSettingsIF {
27
84
  type?: TableTypeV4;
28
85
  creationMode?: TableCreationMode;
29
86
  personalization?: PersonalizationType;
@@ -31,8 +88,67 @@ export declare class Table implements TableConfig {
31
88
  selectAll?: boolean;
32
89
  selectionLimit?: number;
33
90
  enableExport?: boolean;
91
+ quickVariantSelection?: QuickVariantSelectionV4;
34
92
  condensedTableLayout?: boolean;
93
+ }
94
+ /****************************************
95
+ * Sync class for ALPChartView (renamed due to indirection in app schema)
96
+ */
97
+ export declare class ALPChart implements ALPChartIF {
98
+ annotationPath: string;
99
+ toolBar?: ViewChartToolBar;
100
+ }
101
+ /****************************************
102
+ * Sync class for view table settings
103
+ */
104
+ export declare class TableViewSettings implements TableSettingsIF {
105
+ type?: TableTypeV4;
106
+ creationMode?: TableCreationMode;
107
+ personalization?: ViewPersonalizationType;
108
+ selectionMode?: SelectionMode;
109
+ selectAll?: boolean;
110
+ selectionLimit?: number;
111
+ enableExport?: boolean;
35
112
  quickVariantSelection?: QuickVariantSelectionV4;
113
+ condensedTableLayout?: boolean;
114
+ }
115
+ /****************************************
116
+ * Sync class for ALPTableView (renamed due to indirection in app schema)
117
+ */
118
+ export declare class ALPTable extends TableViewSettings implements ALPTableIF {
119
+ annotationPath: string;
120
+ initialLoad?: InitialLoadType;
121
+ toolBar?: ToolBar;
122
+ }
123
+ /****************************************
124
+ * Sync class for LRChartView
125
+ */
126
+ export declare class LRChartView implements LRChartViewIF {
127
+ annotationPath: string;
128
+ entitySet?: string;
129
+ toolBar?: ViewChartToolBar;
130
+ }
131
+ /****************************************
132
+ * Sync class for LRTableView
133
+ */
134
+ export declare class LRTableView extends TableViewSettings implements LRTableViewIF {
135
+ annotationPath: string;
136
+ keepPreviousPersonalization?: boolean;
137
+ entitySet?: string;
138
+ toolBar?: ToolBar;
139
+ }
140
+ /**
141
+ * LR mulit-view: own class for properties on views' level
142
+ */
143
+ export declare class MultiTableModeV4 implements MultiTableModeIF {
144
+ [key: string]: LRTableView | LRChartView | boolean;
145
+ showCounts?: boolean;
146
+ }
147
+ /****************************************
148
+ * Sync class for Table
149
+ */
150
+ export declare class Table extends TableSettings implements TableInterface {
36
151
  views?: MultiTableModeV4;
37
152
  initialLoad?: InitialLoadType;
153
+ toolBar?: ToolBar;
38
154
  }
@@ -1,19 +1,45 @@
1
- import { TableColumn as TableColumnIF, TableColumnAction as TableColumnActionIF, TableCustomColumn as TableCustomColumnIF, Availability, ActionAfterExecutionConfiguration as ActionAfterExecutionConfigurationIF, ColumnPropertiesType, HorizontalAlign, Position as PositionIF, Placement } from '../../../../specification/v4';
1
+ import type { TableColumn as TableColumnIF, ViewTableColumn as ViewTableColumnIF, TableColumnAction as TableColumnActionIF, ViewTableColumnAction as ViewTableColumnActionIF, TableCustomColumn as TableCustomColumnIF, ViewTableCustomColumn as ViewTableCustomColumnIF, Availability, ActionAfterExecutionConfiguration as ActionAfterExecutionConfigurationIF, ColumnPropertiesType, HorizontalAlign, Position as PositionIF, ViewPosition as ViewPositionIF, Placement } from '../../../../specification/v4';
2
2
  export declare class ActionAfterExecutionConfiguration implements ActionAfterExecutionConfigurationIF {
3
3
  navigateToInstance?: boolean;
4
4
  enableAutoScroll?: boolean;
5
5
  }
6
+ /************************************
7
+ * Sync class for TableColumn
8
+ */
6
9
  export declare class TableColumn implements TableColumnIF {
7
10
  width?: string;
8
11
  availability?: Availability;
9
12
  }
13
+ /************************************
14
+ * Sync class for ViewTableColumn
15
+ */
16
+ export declare class ViewTableColumn implements ViewTableColumnIF {
17
+ width?: string;
18
+ availability?: Availability;
19
+ }
10
20
  export declare class TableColumnAction extends TableColumn implements TableColumnActionIF {
11
21
  afterExecution?: ActionAfterExecutionConfiguration;
12
22
  }
23
+ export declare class ViewTableColumnAction extends ViewTableColumn implements ViewTableColumnActionIF {
24
+ afterExecution?: ActionAfterExecutionConfiguration;
25
+ }
26
+ /**
27
+ * Sync class for Position
28
+ */
13
29
  export declare class Position implements PositionIF {
14
30
  anchor?: string;
15
31
  placement: Placement;
16
32
  }
33
+ /**
34
+ * Sync class for ViewPosition
35
+ */
36
+ export declare class ViewPosition implements ViewPositionIF {
37
+ anchor?: string;
38
+ placement: Placement;
39
+ }
40
+ /**
41
+ * Sync class for TableCustomColumn
42
+ */
17
43
  export declare class TableCustomColumn implements TableCustomColumnIF {
18
44
  position?: Position;
19
45
  header: string;
@@ -23,3 +49,15 @@ export declare class TableCustomColumn implements TableCustomColumnIF {
23
49
  availability?: Availability;
24
50
  properties?: ColumnPropertiesType;
25
51
  }
52
+ /**
53
+ * Sync class for ViewTableCustomColumn
54
+ */
55
+ export declare class ViewTableCustomColumn implements ViewTableCustomColumnIF {
56
+ position?: Position;
57
+ header: string;
58
+ width?: string;
59
+ template: string;
60
+ horizontalAlign?: HorizontalAlign;
61
+ availability?: Availability;
62
+ properties?: ColumnPropertiesType;
63
+ }
@@ -1,4 +1,4 @@
1
- import { ToolBar as ToolBarIF, Actions as ActionsIF } from '../../../../specification/v4';
1
+ import type { ToolBar as ToolBarIF, Actions as ActionsIF } from '../../../../specification/v4';
2
2
  import { ToolBarAction } from './ToolBarAction';
3
3
  export declare class Actions implements ActionsIF {
4
4
  [key: string]: ToolBarAction;
@@ -1,4 +1,7 @@
1
- import { ToolBarAction as ToolBarActionIF, SelectType } from '../../../../specification/v4';
1
+ import type { ToolBarAction as ToolBarActionIF, ViewToolBarAction as ViewToolBarActionIF, SelectType } from '../../../../specification/v4';
2
2
  export declare class ToolBarAction implements ToolBarActionIF {
3
3
  enableOnSelect?: SelectType;
4
4
  }
5
+ export declare class ViewToolBarAction implements ViewToolBarActionIF {
6
+ enableOnSelect?: SelectType;
7
+ }
@@ -1,5 +1,5 @@
1
- import { ExportResults } from '../../common';
2
- import { UI5Version } from '../../..';
1
+ import type { ExportResults } from '../../common';
2
+ import type { UI5Version } from '../../..';
3
3
  /**
4
4
  * General API for the export of a V4 config page
5
5
  * Export means the transfer of the properties and values of the given config to manifest entries or flex changes
@@ -1,5 +1,5 @@
1
- import { TransferParameterTypeV4 } from './types';
2
- import { ExtensionLogger } from '../../../apiTypes';
1
+ import type { TransferParameterTypeV4 } from './types';
2
+ import type { ExtensionLogger } from '../../../apiTypes';
3
3
  /**
4
4
  * Function creates a new custom column with aid of the FPM writer
5
5
  * @param propertyDefinition - Definition of the given property in JSON schema
@@ -1,4 +1,5 @@
1
- import { MetadataInstanceInterface, MetadataFactory } from '../../common/decoration/factory';
1
+ import type { MetadataInstanceInterface } from '../../common/decoration/factory';
2
+ import { MetadataFactory } from '../../common/decoration/factory';
2
3
  /**
3
4
  * V4 specific factory class for creating instances of (reflect) metadata classes
4
5
  */
@@ -1,4 +1,4 @@
1
- import { SapUi5V4, ApplicationV4 } from '../../../specification/v4';
1
+ import type { SapUi5V4, ApplicationV4 } from '../../../specification/v4';
2
2
  /**
3
3
  * Method updates Manifest depending on is FCL ON or OFF.
4
4
  * @param {SapUi5} manifestUI5 - SAPUI5 manifest data.
@@ -1,4 +1,4 @@
1
- import { Pages, SapUi5RoutingV4 } from '../../../v4';
1
+ import type { Pages, SapUi5RoutingV4 } from '../../../v4';
2
2
  export declare enum Constants {
3
3
  OptionalQuery = ":?query:",
4
4
  Component = "sap/fe/AppComponent",
@@ -1,7 +1,12 @@
1
- import { ListReportConfig as ListReportConfigV4, VariantManagementTypeListReport } from '../../../../specification/v4';
2
- import { Table, FilterBar } from '../controls';
1
+ import type { ALPTableView, ALPChartView, DefaultPathType, ListReportConfig as ListReportConfigV4, VariantManagementTypeListReport } from '../../../../specification/v4';
2
+ import type { Table, FilterBar } from '../controls';
3
+ /**
4
+ * Sync class for import and export of V4 list report
5
+ */
3
6
  export declare class ListReport implements ListReportConfigV4 {
4
- table?: Table;
7
+ chart?: ALPChartView;
8
+ table?: ALPTableView | Table;
5
9
  variantManagement?: VariantManagementTypeListReport;
10
+ defaultPath?: DefaultPathType;
6
11
  filterbar?: FilterBar;
7
12
  }
@@ -1,5 +1,5 @@
1
- import { ObjectPageHeader, ObjectPageLayout } from '../controls';
2
- import { ObjectPageConfig as ObjectPageConfigV4, GenericSections, VariantManagementTypeObjectPage, CustomSections } from '../../../../specification/v4';
1
+ import type { ObjectPageHeader, ObjectPageLayout } from '../controls';
2
+ import type { ObjectPageConfig as ObjectPageConfigV4, GenericSections, VariantManagementTypeObjectPage, CustomSections } from '../../../../specification/v4';
3
3
  export declare class ObjectPage implements ObjectPageConfigV4 {
4
4
  header?: ObjectPageHeader;
5
5
  layout?: ObjectPageLayout;
@@ -1,3 +1,2 @@
1
1
  export * from './ListReport';
2
2
  export * from './ObjectPage';
3
- export * from './AnalyticalListPage';
@@ -1,8 +1,9 @@
1
- import { ExtensionLogger } from '../../..';
2
- import { PageType } from '../../../specification/common';
3
- import { UI5Version } from '../../../v2';
4
- import { MetadataFactory } from '../../common/decoration/factory';
5
- import { ExportResults, FlexAdapter } from '../../common/types';
1
+ import type { ExtensionLogger } from '../../..';
2
+ import type { PageType } from '../../../specification/common';
3
+ import type { UI5Version } from '../../../v2';
4
+ import type { TemplateType } from '../../common';
5
+ import type { MetadataFactory } from '../../common/decoration/factory';
6
+ import type { ExportResults, FlexAdapter } from '../../common/types';
6
7
  export declare type ManifestPathSection = (path: string, targetAnnotationPath: string) => string;
7
8
  export interface ManifestConverter4Section {
8
9
  path: ManifestPathSection;
@@ -23,4 +24,5 @@ export declare type TransferParameterTypeV4 = {
23
24
  title: string;
24
25
  appRootPath?: string;
25
26
  logger?: ExtensionLogger;
27
+ templateType: TemplateType;
26
28
  };
@@ -1,4 +1,4 @@
1
- import { SapUi5V4 } from '../../../specification/v4';
1
+ import type { SapUi5V4 } from '../../../specification/v4';
2
2
  /**
3
3
  * Method updates passed dependency lib in passed manifest.
4
4
  * @param {SapUi5V4} manifest - Manifest "sap.ui5" object.
@@ -1,5 +1,6 @@
1
- import { FileData } from '../../common/types';
2
- import { ExtensionLogger } from '../../../apiTypes';
1
+ import type { FileData } from '../../common/types';
2
+ import { TemplateType } from '../../common/utils';
3
+ import type { ExtensionLogger } from '../../../apiTypes';
3
4
  /**
4
5
  * Generates the app specific schema of an object page out of the generic schema for the same page.
5
6
  * Generic types are replaced by information from the app specific annotations.
@@ -17,7 +18,7 @@ export declare function generateObjectPageInterfaceV4(genericSchema: object, ent
17
18
  /**
18
19
  * Generates the app specific schema of a list report out of the generic schema.
19
20
  * Generic types are replaced by information from the app specific annotations.
20
- *
21
+ * @param {TemplateType} templateType - the template type allows distinguishing LR and ALP
21
22
  * @param genericSchema - generic JSON schema of a list report
22
23
  * @param entitySetName - the base entity set of the given page
23
24
  * @param annotations - list of all annotation files (file content plus URI as identifier)
@@ -26,4 +27,4 @@ export declare function generateObjectPageInterfaceV4(genericSchema: object, ent
26
27
  *
27
28
  * @returns the app specific JSON schema
28
29
  */
29
- export declare function generateListReportInterfaceV4(genericSchema: object, entitySetName: string, annotations: FileData[], logger?: ExtensionLogger, manifest?: object): object;
30
+ export declare function generateListReportInterfaceV4(templateType: TemplateType, genericSchema: object, entitySetName: string, annotations: FileData[], logger?: ExtensionLogger, manifest?: object): object;
@@ -1,7 +1,5 @@
1
- import { GenerateAppSchemaParameters } from '../../../apiTypes';
2
- import { EntitySet } from '@sap-ux/annotation-converter';
3
- import { ConverterOutput, EntityType } from '@sap-ux/vocabularies-types';
4
- export declare function addEnumForVariantPaths(entityType: EntityType, appSchema: object, oDataServiceAVT: ConverterOutput): void;
1
+ import type { GenerateAppSchemaParameters } from '../../../apiTypes';
2
+ import type { EntitySet } from '@sap-ux/annotation-converter';
5
3
  /**
6
4
  * Generates an app specific schema for the FE V4 Listreport from the generic schema.
7
5
  * Generic types are replaced by information from the app specific annotations.
@@ -1,4 +1,4 @@
1
- import { GenerateAppSchemaParameters } from '../../../v4';
1
+ import type { GenerateAppSchemaParameters } from '../../../v4';
2
2
  /**
3
3
  * Generates an app specific schema out of the generic schema.
4
4
  * Generic types are replaced by information from the app specific annotations.
@@ -1,7 +1,8 @@
1
1
  import { AppProvider } from '../../../common/appProvider';
2
- import { Files } from '../../../common';
3
- import { SapUiAppPagesV4, Manifest, Pages } from '../../../../specification/v4';
4
- import { ExtensionLogger } from '../../../..';
2
+ import type { Files } from '../../../common';
3
+ import { TemplateType } from '../../../common';
4
+ import type { SapUiAppPagesV4, Manifest, Pages } from '../../../../specification/v4';
5
+ import type { ExtensionLogger } from '../../../..';
5
6
  export declare enum Constants {
6
7
  OptionalQuery = ":?query:",
7
8
  Component = "sap/fe/AppComponent",
@@ -12,8 +13,8 @@ export declare enum Constants {
12
13
  * @param manifest - manifest.json of the app
13
14
  * @param schemas - list of JSON schemas of all pages
14
15
  */
15
- export declare function getPagesAndConfigs(manifest: Manifest, schemas: Files, logger?: ExtensionLogger): Pages;
16
+ export declare function getPagesAndConfigs(manifest: Manifest, schemas: Files, templateType: TemplateType, logger?: ExtensionLogger): Pages;
16
17
  export declare class V4AppProvider extends AppProvider {
17
- constructor(manifest: Manifest, schemas: Files, logger?: ExtensionLogger);
18
+ constructor(manifest: Manifest, schemas: Files, templateType: TemplateType, logger?: ExtensionLogger);
18
19
  }
19
20
  export declare function getPages(manifest: Manifest, targetName: string): SapUiAppPagesV4;
@@ -1,5 +1,5 @@
1
- import { FileData } from '../../common';
2
- import { Manifest } from '../../../v4';
1
+ import type { FileData } from '../../common';
2
+ import type { Manifest } from '../../../v4';
3
3
  export interface FragmentData {
4
4
  manifestPart: object;
5
5
  fragmentFileContent: string;
@@ -1,3 +1,2 @@
1
1
  export * from './pages/listReport';
2
2
  export * from './pages/objectPage';
3
- export * from './pages/analyticalListPage';
@@ -1,20 +1,21 @@
1
- import { PageTypeV4 } from '../../../../specification/common';
2
- import { ListReportConfig as ListReportConfigV4, SapUiAppPageV4, AnalyticalListPageConfig as AnalyticalListPageConfigV4 } from '../../../../specification/v4';
3
- import { ImportListReportV4Parameters } from '../../../../apiTypes';
4
- import { MetadataInstanceInterface } from '../../../common/decoration/factory';
1
+ import { PageTypeV4, SchemaType } from '../../../../specification/common';
2
+ import type { ListReportConfig as ListReportConfigV4 } from '../../../../specification/v4';
3
+ import type { ImportListReportV4Parameters } from '../../../../apiTypes';
4
+ import type { MetadataInstanceInterface } from '../../../common/decoration/factory';
5
5
  /**
6
6
  * Adds manifest settings to the config.json of LR or ALP V4
7
7
  * @param {ImportListReportV4Parameters} importParameters - object comprising all input data
8
8
  * @param {ListReportConfig | AnalyticalListPageConfig} config - the configuration to be filled
9
9
  * @param {MetadataInstanceInterface} factory - factory, for generating the access to reflect-metadata
10
- * @param {SapUiAppPageV4} page - page in manifest
11
10
  * @param {PageTypeV4} pageType - page type
11
+ * @param {string} routingId - page key in manifest
12
+ * @param {SchemaType} schemaType - allows distinction of LR and ALP scenario
12
13
  */
13
- export declare function addSettings(importParameters: ImportListReportV4Parameters, config: ListReportConfigV4 | AnalyticalListPageConfigV4, factory: MetadataInstanceInterface, page: SapUiAppPageV4, pageType: PageTypeV4): void;
14
+ export declare function addSettings(importParameters: ImportListReportV4Parameters, config: ListReportConfigV4, factory: MetadataInstanceInterface, pageType: PageTypeV4, routingId: string, schemaType: SchemaType): void;
14
15
  /**
15
16
  * Creates the configuration file content for a list report V4
16
17
  * @param {ImportListReportV4Parameters} importParameters - object comprising all input data
17
18
  *
18
19
  * @returns {ListReportConfig} - the configuration (JSON) for the list report
19
20
  */
20
- export declare function createListReportConfig(importParameters: ImportListReportV4Parameters): ListReportConfigV4 | undefined;
21
+ export declare function createListReportConfig(importParameters: ImportListReportV4Parameters, schemaType: SchemaType): ListReportConfigV4 | undefined;
@@ -1,5 +1,5 @@
1
- import { ObjectPageConfig as ObjectPageConfigV4 } from '../../../../specification/v4/';
2
- import { ImportObjectPageV4Parameters } from '../../../../apiTypes';
1
+ import type { ObjectPageConfig as ObjectPageConfigV4 } from '../../../../specification/v4/';
2
+ import type { ImportObjectPageV4Parameters } from '../../../../apiTypes';
3
3
  /**
4
4
  * External API: Create configuration (file content) for a V4 object page
5
5
  * @param {ImportObjectPageV4Parameters} importParameters - object comprising all input data
@@ -1,5 +1,5 @@
1
- import { Manifest } from '../../../specification/common/webapp/manifest/Manifest';
2
- import { ExtensionLogger } from '../../..';
1
+ import type { Manifest } from '../../../specification/common/webapp/manifest/Manifest';
2
+ import type { ExtensionLogger } from '../../..';
3
3
  /**
4
4
  * Transfers settings from manifest to object page config
5
5
  * @param configPart - part of the configuration to be filled
@@ -1,4 +1,4 @@
1
- import * as v4controls from './export/controls';
2
- import * as v4pages from './export/pages';
1
+ import type * as v4controls from './export/controls';
2
+ import type * as v4pages from './export/pages';
3
3
  export declare type V4Controls = typeof v4controls;
4
4
  export declare type V4Pages = typeof v4pages;
@@ -1,7 +1,9 @@
1
- import { AnnotationTerm, ConverterOutput, EntityType, LineItem, DataFieldForActionAbstractTypes } from '@sap-ux/vocabularies-types';
2
- import { EntitySet } from '@sap-ux/annotation-converter';
3
- import { ExtensionLogger } from '../../..';
4
- import { DefinitionName, SapUiAppPageV4 } from '../../../v4';
1
+ import type { AnnotationTerm, ConverterOutput, EntityType, LineItem, DataFieldForActionAbstractTypes } from '@sap-ux/vocabularies-types';
2
+ import type { EntitySet } from '@sap-ux/annotation-converter';
3
+ import type { ExtensionLogger } from '../../..';
4
+ import type { GenerateAppSchemaParameters, SapUiAppPageV4 } from '../../../v4';
5
+ import { DefinitionName } from '../../../v4';
6
+ import type { Definition } from 'typescript-json-schema';
5
7
  /**
6
8
  * Common function for enhancing the LineItems definiton of app schema by custom columns
7
9
  * @param appSchema - app-specific JSON schema
@@ -47,8 +49,15 @@ export declare function addFragmentEnumForAnchor(appSchema: object, lineItemId:
47
49
  * Find the relevant V4 page under the routing targets of manifest,json
48
50
  * @param pages - list of all pages in manifest
49
51
  * @param pageName - search criterion: page name
50
- * @param entitySet - search criterion: entty set
52
+ * @param entitySet - search criterion: entity set
51
53
  * @param logger - logger for messages
52
54
  * @returns the page definition in manifest (if found)
53
55
  */
54
56
  export declare function findPageV4(pages: SapUiAppPageV4[], pageName: string, entitySet: EntitySet, logger: ExtensionLogger): SapUiAppPageV4 | undefined;
57
+ /**
58
+ * Depending on the template type, strip down the app schema so that only the relevant views are part of it
59
+ * @param {Definition} appSchema - app specific JSON schema, to be adjusted
60
+ * @param {GenerateAppSchemaParameters} generateParameters - object comprising all input parameters
61
+ * @returns the right definition name for the table in the schema
62
+ */
63
+ export declare function alignSchemaWithTemplateType(appSchema: Definition, generateParameters: GenerateAppSchemaParameters): string;