@sap/ux-specification 1.96.4 → 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 (165) hide show
  1. package/CHANGELOG.md +95 -0
  2. package/dist/documentation/runDocu-min.js +1 -1
  3. package/dist/documentation/styleDocu.css +7 -14
  4. package/dist/documentation/v2/v2-AnalyticalListPage.html +1 -1
  5. package/dist/documentation/v2/v2-ApplicationV2.html +1 -1
  6. package/dist/documentation/v2/v2-ListReport.html +1 -1
  7. package/dist/documentation/v2/v2-ObjectPage.html +1 -1
  8. package/dist/documentation/v2/v2-OverviewPage.html +1 -1
  9. package/dist/documentation/v4/v4-ApplicationV4.html +1 -1
  10. package/dist/documentation/v4/v4-ListReport.html +1 -1
  11. package/dist/documentation/v4/v4-ObjectPage.html +1 -1
  12. package/dist/index-min.js +1 -1
  13. package/dist/schemas/v2/AnalyticalListPageConfig.json +48 -24
  14. package/dist/schemas/v2/ApplicationV2.json +14 -14
  15. package/dist/schemas/v2/ListReportConfig.json +48 -24
  16. package/dist/schemas/v2/OverviewPageConfig.json +29 -28
  17. package/dist/schemas/v4/ApplicationV4.json +9 -5
  18. package/dist/schemas/v4/ListReportConfig.json +609 -209
  19. package/dist/schemas/v4/ObjectPageConfig.json +6 -38
  20. package/dist/specification/v2/index-min.js +1 -1
  21. package/dist/specification/v4/index-min.js +1 -1
  22. package/dist/src/api.d.ts +3 -3
  23. package/dist/src/apiTypes.d.ts +17 -20
  24. package/dist/src/extensionLogger.d.ts +1 -1
  25. package/dist/src/project.d.ts +1 -1
  26. package/dist/src/specification/common/Application.d.ts +24 -4
  27. package/dist/src/specification/common/page.d.ts +1 -1
  28. package/dist/src/specification/common/webapp/manifest/Manifest.d.ts +6 -6
  29. package/dist/src/specification/common/webapp/manifest/sapUi5.d.ts +1 -1
  30. package/dist/src/specification/schemaAccess.d.ts +1 -1
  31. package/dist/src/specification/v2/ApplicationV2.d.ts +3 -17
  32. package/dist/src/specification/v2/controls/Facets.d.ts +1 -1
  33. package/dist/src/specification/v2/controls/FilterBar.d.ts +47 -31
  34. package/dist/src/specification/v2/controls/Footer.d.ts +2 -2
  35. package/dist/src/specification/v2/controls/ObjectPageForm.d.ts +1 -1
  36. package/dist/src/specification/v2/controls/ObjectPageHeader.d.ts +1 -1
  37. package/dist/src/specification/v2/controls/ObjectPageSection.d.ts +2 -2
  38. package/dist/src/specification/v2/controls/ObjectPageTable.d.ts +2 -2
  39. package/dist/src/specification/v2/controls/ObjectPageToolBar.d.ts +1 -1
  40. package/dist/src/specification/v2/controls/Table.d.ts +3 -3
  41. package/dist/src/specification/v2/controls/ToolBar.d.ts +1 -1
  42. package/dist/src/specification/v2/page.d.ts +1 -1
  43. package/dist/src/specification/v2/pages/AnalyticalListPageConfig.d.ts +4 -4
  44. package/dist/src/specification/v2/pages/ListReportConfig.d.ts +2 -2
  45. package/dist/src/specification/v2/pages/ObjectPageConfig.d.ts +3 -3
  46. package/dist/src/specification/v2/pages/OverviewPageConfig.d.ts +38 -4
  47. package/dist/src/specification/v2/webapp/manifest/sapUi5.d.ts +2 -2
  48. package/dist/src/specification/v2/webapp/manifest/sapUiPageV2.d.ts +2 -2
  49. package/dist/src/specification/v4/ApplicationV4.d.ts +4 -14
  50. package/dist/src/specification/v4/controls/ObjectPageHeader.d.ts +1 -1
  51. package/dist/src/specification/v4/controls/ObjectPageHeaderSection.d.ts +2 -14
  52. package/dist/src/specification/v4/controls/ObjectPageSection.d.ts +2 -2
  53. package/dist/src/specification/v4/controls/ObjectPageTable.d.ts +3 -3
  54. package/dist/src/specification/v4/controls/ObjectPageToolBar.d.ts +1 -1
  55. package/dist/src/specification/v4/controls/Table.d.ts +162 -25
  56. package/dist/src/specification/v4/controls/ToolBar.d.ts +26 -1
  57. package/dist/src/specification/v4/page.d.ts +2 -2
  58. package/dist/src/specification/v4/pages/ListReportConfig.d.ts +17 -3
  59. package/dist/src/specification/v4/pages/ObjectPageConfig.d.ts +2 -2
  60. package/dist/src/specification/v4/pages/index.d.ts +0 -1
  61. package/dist/src/specification/v4/webapp/manifest/ManifestSettings.d.ts +77 -0
  62. package/dist/src/specification/v4/webapp/manifest/sapUi5.d.ts +12 -3
  63. package/dist/src/specification/v4/webapp/manifest/sapUiPageV4.d.ts +20 -1
  64. package/dist/src/sync/common/appProvider.d.ts +6 -5
  65. package/dist/src/sync/common/decoration/control.d.ts +1 -1
  66. package/dist/src/sync/common/decoration/decorators.d.ts +1 -1
  67. package/dist/src/sync/common/decoration/factory.d.ts +3 -3
  68. package/dist/src/sync/common/decoration/flex.d.ts +3 -3
  69. package/dist/src/sync/common/flexUtils.d.ts +4 -4
  70. package/dist/src/sync/common/generate/objectPage.d.ts +5 -3
  71. package/dist/src/sync/common/generate/utils.d.ts +43 -9
  72. package/dist/src/sync/common/import/utils.d.ts +4 -3
  73. package/dist/src/sync/common/importProject.d.ts +4 -4
  74. package/dist/src/sync/common/types.d.ts +28 -6
  75. package/dist/src/sync/common/utils.d.ts +18 -8
  76. package/dist/src/sync/i18n.d.ts +1 -1
  77. package/dist/src/sync/v2/application.d.ts +2 -2
  78. package/dist/src/sync/v2/export/controls/Action.d.ts +1 -1
  79. package/dist/src/sync/v2/export/controls/AnalyticalListPageChart.d.ts +1 -1
  80. package/dist/src/sync/v2/export/controls/AnalyticalListPageKPI.d.ts +1 -1
  81. package/dist/src/sync/v2/export/controls/Card.d.ts +1 -1
  82. package/dist/src/sync/v2/export/controls/Field.d.ts +1 -1
  83. package/dist/src/sync/v2/export/controls/FilterBar.d.ts +17 -4
  84. package/dist/src/sync/v2/export/controls/FormAction.d.ts +1 -1
  85. package/dist/src/sync/v2/export/controls/Fragment.d.ts +5 -11
  86. package/dist/src/sync/v2/export/controls/ObjectPageChart.d.ts +1 -1
  87. package/dist/src/sync/v2/export/controls/ObjectPageCustomSection.d.ts +3 -3
  88. package/dist/src/sync/v2/export/controls/ObjectPageFooterAction.d.ts +1 -1
  89. package/dist/src/sync/v2/export/controls/ObjectPageHeader.d.ts +1 -1
  90. package/dist/src/sync/v2/export/controls/ObjectPageHeaderAction.d.ts +1 -1
  91. package/dist/src/sync/v2/export/controls/ObjectPageLayout.d.ts +1 -1
  92. package/dist/src/sync/v2/export/controls/ObjectPageSectionsV2.d.ts +6 -6
  93. package/dist/src/sync/v2/export/controls/ObjectPageTable.d.ts +3 -3
  94. package/dist/src/sync/v2/export/controls/ObjectPageToolBarAction.d.ts +1 -1
  95. package/dist/src/sync/v2/export/controls/Table.d.ts +3 -2
  96. package/dist/src/sync/v2/export/controls/TableColumn.d.ts +2 -2
  97. package/dist/src/sync/v2/export/controls/ToolBar.d.ts +1 -1
  98. package/dist/src/sync/v2/export/export.d.ts +3 -3
  99. package/dist/src/sync/v2/export/exportPage.d.ts +2 -2
  100. package/dist/src/sync/v2/export/factory.d.ts +2 -1
  101. package/dist/src/sync/v2/export/manifest.d.ts +1 -1
  102. package/dist/src/sync/v2/export/pages/AnalyticalListPage.d.ts +4 -4
  103. package/dist/src/sync/v2/export/pages/ListReport.d.ts +2 -2
  104. package/dist/src/sync/v2/export/pages/ObjectPage.d.ts +3 -3
  105. package/dist/src/sync/v2/export/pages/OverviewPage.d.ts +3 -2
  106. package/dist/src/sync/v2/export/view-controller-generator.d.ts +2 -2
  107. package/dist/src/sync/v2/generate/analyticalListReport.d.ts +1 -1
  108. package/dist/src/sync/v2/generate/generate.d.ts +2 -2
  109. package/dist/src/sync/v2/generate/listReport.d.ts +7 -4
  110. package/dist/src/sync/v2/generate/objectPage.d.ts +1 -1
  111. package/dist/src/sync/v2/generate/overviewPage.d.ts +1 -1
  112. package/dist/src/sync/v2/generate/utils.d.ts +12 -5
  113. package/dist/src/sync/v2/import/app/appProvider.d.ts +4 -4
  114. package/dist/src/sync/v2/import/app/ovpProvider.d.ts +3 -3
  115. package/dist/src/sync/v2/import/common/index.d.ts +6 -5
  116. package/dist/src/sync/v2/import/controls/table.d.ts +1 -1
  117. package/dist/src/sync/v2/import/pages/analyticalListPage.d.ts +2 -2
  118. package/dist/src/sync/v2/import/pages/listReport.d.ts +2 -2
  119. package/dist/src/sync/v2/import/pages/objectPage.d.ts +1 -1
  120. package/dist/src/sync/v2/import/pages/overviewPage.d.ts +2 -2
  121. package/dist/src/sync/v2/import/utils.d.ts +3 -2
  122. package/dist/src/sync/v2/types.d.ts +7 -7
  123. package/dist/src/sync/v4/application.d.ts +9 -5
  124. package/dist/src/sync/v4/export/controls/FilterBar.d.ts +1 -1
  125. package/dist/src/sync/v4/export/controls/ObjectPageCustomSection.d.ts +2 -1
  126. package/dist/src/sync/v4/export/controls/ObjectPageHeader.d.ts +1 -1
  127. package/dist/src/sync/v4/export/controls/ObjectPageHeaderSection.d.ts +1 -1
  128. package/dist/src/sync/v4/export/controls/ObjectPageLayout.d.ts +1 -1
  129. package/dist/src/sync/v4/export/controls/ObjectPageTable.d.ts +1 -1
  130. package/dist/src/sync/v4/export/controls/ObjectPageTableColumn.d.ts +1 -1
  131. package/dist/src/sync/v4/export/controls/ObjectPageToolBarAction.d.ts +1 -1
  132. package/dist/src/sync/v4/export/controls/Table.d.ts +125 -9
  133. package/dist/src/sync/v4/export/controls/TableColumn.d.ts +39 -1
  134. package/dist/src/sync/v4/export/controls/ToolBar.d.ts +1 -1
  135. package/dist/src/sync/v4/export/controls/ToolBarAction.d.ts +4 -1
  136. package/dist/src/sync/v4/export/export.d.ts +2 -2
  137. package/dist/src/sync/v4/export/exportCustomColumn.d.ts +2 -2
  138. package/dist/src/sync/v4/export/factory.d.ts +2 -1
  139. package/dist/src/sync/v4/export/flexibleColumnLayout.d.ts +1 -1
  140. package/dist/src/sync/v4/export/manifest.d.ts +2 -2
  141. package/dist/src/sync/v4/export/pages/ListReport.d.ts +8 -3
  142. package/dist/src/sync/v4/export/pages/ObjectPage.d.ts +2 -2
  143. package/dist/src/sync/v4/export/pages/index.d.ts +0 -1
  144. package/dist/src/sync/v4/export/types.d.ts +7 -5
  145. package/dist/src/sync/v4/export/utils.d.ts +1 -1
  146. package/dist/src/sync/v4/generate/generate.d.ts +5 -4
  147. package/dist/src/sync/v4/generate/listReport.d.ts +2 -4
  148. package/dist/src/sync/v4/generate/objectPage.d.ts +1 -1
  149. package/dist/src/sync/v4/import/app/appProvider.d.ts +6 -5
  150. package/dist/src/sync/v4/import/fragment.d.ts +2 -2
  151. package/dist/src/sync/v4/import/index.d.ts +0 -1
  152. package/dist/src/sync/v4/import/pages/listReport.d.ts +8 -7
  153. package/dist/src/sync/v4/import/pages/objectPage.d.ts +2 -2
  154. package/dist/src/sync/v4/import/utils.d.ts +2 -2
  155. package/dist/src/sync/v4/types.d.ts +2 -2
  156. package/dist/src/sync/v4/utils/utils.d.ts +14 -12
  157. package/dist/test/test-data/flexChange/v2/stta.prod.man/index.d.ts +1 -1
  158. package/dist/test/test-projects/index.d.ts +1 -1
  159. package/dist/test/test-utils/utils.d.ts +5 -4
  160. package/package.json +12 -12
  161. package/dist/documentation/v4/v4-AnalyticalListPage.html +0 -49
  162. package/dist/schemas/v4/AnalyticalListPageConfig.json +0 -481
  163. package/dist/src/specification/v4/pages/AnalyticalListPageConfig.d.ts +0 -13
  164. package/dist/src/sync/v4/export/pages/AnalyticalListPage.d.ts +0 -8
  165. package/dist/src/sync/v4/import/pages/analyticalListPage.d.ts +0 -11
@@ -1,8 +1,9 @@
1
- import { Application, Manifest as ManifestV2, FioriElementsVersion, PagesBase } from '../../specification/common';
2
- import { AppSettings as AppSettingsV2 } from '../../specification/v2';
3
- import { Manifest as ManifestV4, AppSettings as AppSettingsV4 } from '../../specification/v4';
4
- import { Files } from './types';
5
- import { ExtensionLogger } from '../..';
1
+ import type { Application, Manifest as ManifestV2, PagesBase } from '../../specification/common';
2
+ import { FioriElementsVersion } from '../../specification/common';
3
+ import type { AppSettings as AppSettingsV2 } from '../../specification/v2';
4
+ import type { Manifest as ManifestV4, AppSettings as AppSettingsV4 } from '../../specification/v4';
5
+ import type { Files } from './types';
6
+ import type { ExtensionLogger } from '../..';
6
7
  export interface Controllers {
7
8
  [key: string]: string;
8
9
  }
@@ -1,4 +1,4 @@
1
- import { ControlTypeFunction } from '../types';
1
+ import type { ControlTypeFunction } from '../types';
2
2
  /**
3
3
  * General export rule, joining all given breadcrumbs to the base ID
4
4
  * @param baseId - base ID, first part of the stable ID
@@ -1,5 +1,5 @@
1
1
  import 'reflect-metadata';
2
- import { SyncRule, PageLayoutInformation, ValidityInformation } from '../types';
2
+ import type { SyncRule, PageLayoutInformation, ValidityInformation } from '../types';
3
3
  export declare const reflectMetadataKey: unique symbol;
4
4
  export declare const syncRule: (propSpec: SyncRule) => any;
5
5
  export declare function getReflectMetadata(target: any, propertyName: string): SyncRule;
@@ -1,6 +1,6 @@
1
- import { PageType, PageTypeV4 } from '../../../specification/common';
2
- import { V2Controls, V2Pages } from '../../v2/types';
3
- import { V4Controls, V4Pages } from '../../v4/types';
1
+ import type { PageType, PageTypeV4 } from '../../../specification/common';
2
+ import type { V2Controls, V2Pages } from '../../v2/types';
3
+ import type { V4Controls, V4Pages } from '../../v4/types';
4
4
  /**
5
5
  * Common interface that is used for all instantiations of (reflect) metadata classes
6
6
  */
@@ -1,6 +1,6 @@
1
- import { ChangeDefinitionInCreation } from '../types';
2
- import { Manifest as ManifestV2 } from '../../../v2';
3
- import { Manifest as ManifestV4 } from '../../../v4';
1
+ import type { ChangeDefinitionInCreation } from '../types';
2
+ import type { Manifest as ManifestV2 } from '../../../v2';
3
+ import type { Manifest as ManifestV4 } from '../../../v4';
4
4
  declare type Manifest = ManifestV2 | ManifestV4;
5
5
  export declare function exportToFlexChange(change: ChangeDefinitionInCreation, manifest: Manifest): string;
6
6
  export {};
@@ -1,7 +1,7 @@
1
- import { ChangeDefinition, ChangeDefinitionInCreation } from './types';
2
- import { Manifest as ManifestV2, UI5Version } from '../../../src';
3
- import { Manifest as ManifestV4 } from '../../v4';
4
- import { SyncRule } from '../common';
1
+ import type { ChangeDefinition, ChangeDefinitionInCreation } from './types';
2
+ import type { Manifest as ManifestV2, UI5Version } from '../../../src';
3
+ import type { Manifest as ManifestV4 } from '../../v4';
4
+ import type { SyncRule } from '../common';
5
5
  declare type Manifest = ManifestV2 | ManifestV4;
6
6
  /**
7
7
  * Create a change as string (calls changeUtils from ui5-flexibility-utils)
@@ -1,13 +1,15 @@
1
- import { ConverterOutput, EntityType } from '@sap-ux/vocabularies-types';
1
+ import type { ConverterOutput, EntityType } from '@sap-ux/vocabularies-types';
2
2
  import { FioriElementsVersion } from '../../../specification/common';
3
- import { FacetConfig, SectionType } from '..';
4
- import { EntitySet } from '@sap-ux/annotation-converter';
3
+ import type { FacetConfig } from '..';
4
+ import { SectionType } from '..';
5
+ import type { EntitySet } from '@sap-ux/annotation-converter';
5
6
  /**
6
7
  * Adds definitions for forms in object page sections to the app schema
7
8
  * @param {SectionType} sectionType - prefix to distinguish Section and HeaderSection
8
9
  * @param {FacetConfig} section - facet or section in the FE core model
9
10
  * @param {object} appSchemaSection - current definition of facet or section in the JSON schema
10
11
  * @param {object} appSchema - app specific schema that gets enhanced
12
+ * @param {FioriElementsVersion} version - Fiori Elements version
11
13
  */
12
14
  export declare function handleForm(sectionType: SectionType, section: FacetConfig, appSchemaSection: object, appSchema: object, version: FioriElementsVersion, withActions?: boolean): void;
13
15
  /**
@@ -1,27 +1,29 @@
1
- import { EntityType } from '@sap-ux/annotation-converter';
2
- import { AnnotationTerm, ConverterOutput, LineItem, UIAnnotationTerms } from '@sap-ux/vocabularies-types';
3
- import { FacetSection } from '..';
1
+ import type { EntitySet, EntityType } from '@sap-ux/annotation-converter';
2
+ import type { AnnotationTerm, ConverterOutput, LineItem } from '@sap-ux/vocabularies-types';
3
+ import { UIAnnotationTerms } from '@sap-ux/vocabularies-types';
4
+ import type { Definition } from 'typescript-json-schema';
5
+ import type { FacetSection } from '..';
4
6
  /**
5
7
  * Adds an enum filled with existing UI annotations of the given list (validAnnotations)
6
8
  * @param {EntityType} entityType
7
9
  * @param {UIAnnotationTerms[]} validAnnotations
8
- * @param annoPath - the annotation path property in the app schema where the enum shall be added
10
+ * @param {Definition} annoPath - the annotation path property in the app schema where the enum shall be added
9
11
  */
10
- export declare function addEnumForValidAnnotations(entityType: EntityType, validAnnotations: UIAnnotationTerms[], annoPath: object): void;
12
+ export declare function addEnumForValidAnnotations(entityType: EntityType, validAnnotations: UIAnnotationTerms[], annoPath: Definition): void;
11
13
  /**
12
14
  * Adds an enum filled with existing UI annotations for single-tab variants of a table
13
15
  * @param {EntityType} entityType
14
- * @param appSchema - app specific JSOn schema
16
+ * @param {Definition} appSchema - app specific JSON schema
15
17
  * @param definitionName - name of the definition in the app schema
16
18
  */
17
- export declare function addEnumForSingleTabVariant(entityType: EntityType, appSchema: object, definitionName: string): void;
19
+ export declare function addEnumForSingleTabVariant(entityType: EntityType, appSchema: Definition, definitionName: string): void;
18
20
  /**
19
21
  * Adds an enum filled with existing UI annotations for multi-tab variants of a table
20
- * @param {ConverterOutput} oDataServiceAVT - combined service metadata, as returned by annotation vocabularies tools
21
22
  * @param appSchema - app specific JSOn schema
22
23
  * @param definitionName - name of the definition in the app schema
24
+ * @param {EntitySet} entitySet - current entity set of the page or view
23
25
  */
24
- export declare function addEnumForMultiTabVariant(oDataServiceAVT: ConverterOutput, appSchema: object, definitionName: string): void;
26
+ export declare function addEnumForMultiTabVariant(appSchema: object, definitionName: string, entitySet: EntitySet): void;
25
27
  /**
26
28
  * Adds the enume values for entitySet as part of the multiple view scenario
27
29
  * @param {ConverterOutput} oDataServiceAVT - combined service metadata, as returned by annotation vocabularies tools
@@ -67,3 +69,35 @@ export declare function addCommonLineItemDefinitions(appSchema: object, lineItem
67
69
  * @param {string=} floorplanSuffix - floorplan specific suffix (optional)
68
70
  */
69
71
  export declare function addFieldsType(appSchema: object, entityType: EntityType, floorplanSuffix?: string): void;
72
+ export declare enum DataType {
73
+ String = "String",
74
+ Rating = "Rating",
75
+ Progress = "Progress",
76
+ DataPoint = "DataPoint",
77
+ Contact = "Contact",
78
+ Address = "Address",
79
+ Chart = "Chart",
80
+ FieldGroup = "FieldGroup",
81
+ IntentBasedNavigation = "IntentBasedNavigation"
82
+ }
83
+ /**
84
+ * Determines the dataType of the target that shall be added to a property in schema
85
+ * @param target - the given target
86
+ * @returns - the dataType as string
87
+ */
88
+ export declare function determineDataTypeOfTarget(target: any): string | undefined;
89
+ /**
90
+ * Determines the dataType that shall be added to a property in schema, for any kind of field like
91
+ * - field of a field group
92
+ * - line item record
93
+ * - selection field
94
+ * @param field - the given field
95
+ * @returns - the dataType as string
96
+ */
97
+ export declare function determineDataType(field: object): string | undefined;
98
+ /**
99
+ * Adds the dataType to the given schema field definition, if the data type cane be determined
100
+ * @param definition - given schema definition
101
+ * @param field - given field definition = annotation property, at AVT
102
+ */
103
+ export declare function addDataTypeToDefinition(definition: object, field: object): void;
@@ -1,5 +1,5 @@
1
- import { DeprecatedProperties, SyncRule } from '../';
2
- import { ExtensionLogger } from '../../../apiTypes';
1
+ import type { DeprecatedProperties, SyncRule } from '../';
2
+ import type { ExtensionLogger } from '../../../apiTypes';
3
3
  /**
4
4
  * Transfers the value of a single manifest setting to the config
5
5
  * @param syncRule - Metadata rule
@@ -7,10 +7,11 @@ import { ExtensionLogger } from '../../../apiTypes';
7
7
  * @param propertyKey - Key of the property or setting
8
8
  * @param configPart - Part of the config JSON
9
9
  * @param sectionId - Section or facet ID
10
+ * @param breadcrumbs - list of breadcrumbs or id's describing the keys of all hierarchy levels
10
11
  */
11
12
  export declare function importProperty(syncRule: SyncRule, manifestSection: {}, propertyKey: string, configPart: {
12
13
  [key: string]: any;
13
- }, sectionId?: string): void;
14
+ }, sectionId?: string, breadcrumbs?: string[]): void;
14
15
  /**
15
16
  * Validation during import: check if properties are marked as deprecated.
16
17
  * If so, log them.
@@ -1,7 +1,7 @@
1
- import { ConverterOutput } from '@sap-ux/vocabularies-types';
2
- import { EntitySet } from '@sap-ux/vocabularies-types/dist/Converter';
3
- import { ImportProjectParameters } from '../../apiTypes';
4
- import { File } from './types';
1
+ import type { ConverterOutput } from '@sap-ux/vocabularies-types';
2
+ import type { EntitySet } from '@sap-ux/vocabularies-types/dist/Converter';
3
+ import type { ImportProjectParameters } from '../../apiTypes';
4
+ import type { File } from './types';
5
5
  export declare function getEntitySetByEntitySetName(entitySetName: string, oDataServiceAVT: ConverterOutput): EntitySet;
6
6
  /**
7
7
  * Import the schema and config files for a given project
@@ -1,10 +1,14 @@
1
- import { Manifest } from '../../specification/common/webapp/manifest';
2
- import { EntityType } from '@sap-ux/vocabularies-types';
3
- import { ManifestSettingsType } from '../../specification/common/types';
1
+ import type { Manifest } from '../../specification/common/webapp/manifest';
2
+ import type { EntityType } from '@sap-ux/vocabularies-types';
3
+ import type { ManifestSettingsType } from '../../specification/common/types';
4
4
  export declare enum ExportArtifacts {
5
5
  flex = "flex",
6
6
  manifest = "manifest"
7
7
  }
8
+ export declare enum ALPViewType {
9
+ Primary = "primary",
10
+ Secondary = "secondary"
11
+ }
8
12
  export declare enum DirName {
9
13
  Sapux = "src",
10
14
  Schemas = ".schemas",
@@ -108,8 +112,8 @@ export declare type ManifestPath = (pageKeys?: string[], manifest?: Manifest, ..
108
112
  export interface ManifestConverter {
109
113
  path: ManifestPath;
110
114
  key?: string;
111
- import?: ((manifestSection: unknown, sectionId?: string) => unknown) | boolean;
112
- export?: ((manifestSection: unknown, configObject: unknown, key: string, manifestKey?: string) => unknown) | boolean;
115
+ import?: ((manifestSection: unknown, sectionId?: string, propertyKey?: string, breadcrumbs?: string[]) => unknown) | boolean;
116
+ export?: ((manifestSection: unknown, configObject: unknown, key: string, manifestKey?: string, ...pathParts: string[]) => unknown) | boolean;
113
117
  delete?: (manifestSection: unknown, configObject: unknown, key: string, manifestKey: string) => unknown;
114
118
  }
115
119
  export interface SyncRule {
@@ -215,16 +219,34 @@ export declare enum ViewTemplateType {
215
219
  }
216
220
  export declare enum DefinitionName {
217
221
  TableColumn = "TableColumn",
222
+ ViewTableColumn = "ViewTableColumn",
218
223
  ObjectPageTable = "ObjectPageTable",
219
224
  ObjectPageTableColumn = "ObjectPageTableColumn",
220
225
  ToolBarLR = "ToolBar<LineItems>",
226
+ ToolBar = "ToolBar",
221
227
  CustomColumns = "TableCustomColumns",
222
228
  CustomColumn = "TableCustomColumn",
229
+ ViewCustomColumn = "ViewTableCustomColumn",
223
230
  CustomColumnOP = "TableCustomColumnOP",
224
231
  Position = "Position",
225
232
  PositionOP = "PositionOP",
226
233
  ListReportFilterBar = "ListReportFilterBar",
227
- AnalyticalListPageFilterBar = "AnalyticalListPageFilterBar"
234
+ AnalyticalListPageFilterBar = "AnalyticalListPageFilterBar",
235
+ ALPChart = "ALPChart",
236
+ ALPChartView = "ALPChartView",
237
+ ViewChartToolBar = "ViewChartToolBar",
238
+ Table = "Table",
239
+ LRTableView = "LRTableView",
240
+ LRChartView = "LRChartView",
241
+ Actions = "Actions",
242
+ ViewToolBarAction = "ViewToolBarAction",
243
+ ChartToolBarAction = "ChartToolBarAction",
244
+ ToolBarAction = "ToolBarAction",
245
+ ObjectPageToolBarAction = "ObjectPageToolBarAction",
246
+ MultiTableModeV4 = "MultiTableModeV4",
247
+ AnnotationPathAsObject = "AnnotationPathAsObject",
248
+ ALPTable = "ALPTable",
249
+ ALPTableView = "ALPTableView"
228
250
  }
229
251
  export declare const METADATAPATH = "webapp/localService/metadata.xml";
230
252
  export declare const MANIFESTPATH = "webapp/manifest.json";
@@ -1,9 +1,10 @@
1
- import { FacetConfigs, FileData, FacetConfig, FacetSection, SchemaFilePath } from './types';
2
- import { AnnotationTerm, CollectionFacet, ConverterOutput, DataFieldAbstractTypes, EntityType, PropertyAnnotations, PropertyPath, ReferenceFacet, ReferenceURLFacet } from '@sap-ux/vocabularies-types';
3
- import { FioriElementsVersion, Manifest, PageType, PageTypeV4 } from '../../specification/common';
1
+ import type { FacetConfigs, FileData, FacetConfig, FacetSection, SchemaFilePath } from './types';
2
+ import type { AnnotationTerm, CollectionFacet, ConverterOutput, DataFieldAbstractTypes, EntityType, PropertyAnnotations, PropertyPath, ReferenceFacet, ReferenceURLFacet } from '@sap-ux/vocabularies-types';
3
+ import type { Manifest } from '../../specification/common';
4
+ import { FioriElementsVersion, PageType, PageTypeV4 } from '../../specification/common';
4
5
  import { SchemaType } from '../../specification/schemaAccess';
5
- import { ExtensionLogger } from '../../apiTypes';
6
- import { MetadataInstanceInterface } from './decoration/factory';
6
+ import type { ExtensionLogger } from '../../apiTypes';
7
+ import type { MetadataInstanceInterface } from './decoration/factory';
7
8
  export declare enum TemplateType {
8
9
  ListReportObjectPageV2 = "ListReportObjectPageV2",
9
10
  ListReportObjectPageV4 = "ListReportObjectPageV4",
@@ -82,15 +83,17 @@ export declare function findAlias(namespace: string, oDataServiceAVT: ConverterO
82
83
  */
83
84
  export declare function getSectionFacet(facetDefinition: AnnotationTerm<CollectionFacet> | AnnotationTerm<ReferenceFacet> | AnnotationTerm<ReferenceURLFacet>, sourceEntityType: EntityType, oDataServiceAVT: ConverterOutput, logger?: ExtensionLogger, oDataVersion?: FioriElementsVersion, keyForRelatedFacetKeys?: boolean): FacetSection | undefined;
84
85
  /**
85
- * Finds the alias for a given namespace in the references' section of the converted service metadata
86
- * @param {object} exportResultManifest - manifest that is being modified during export
86
+ * Finds the alias for a given namespace in the references' section of the converted service metadata.
87
+ * An empty object is created if the path element does not exist yet.
88
+ * Exception: if an empty array is the next element of the 'path' definition, an empty array is created instaed of an empty object.
89
+ * @param {object} manifest - manifest that is being modified during export
87
90
  * @param {string} path - path of the property in the manifest
88
91
  * @param {string} targetAnnotation - target annotation (optional)
89
92
  * @param {string} targetAnnotationEncoded - target annotation in its encoded form, as used in manifest settings
90
93
  * @param {boolean} importScenario - indicates if the function is called for the import, else it is the export
91
94
  * @returns returns section of the manifest based on path, generates an empty object in case it does not exists
92
95
  */
93
- export declare const getManifestSectionByPathV4: (exportResultManifest: object, path: string, targetAnnotation?: string, targetAnnotationEncoded?: string, importScenario?: boolean) => object;
96
+ export declare const getManifestSectionByPathV4: (manifest: object, path: string, targetAnnotation?: string, targetAnnotationEncoded?: string, importScenario?: boolean) => object;
94
97
  export declare function getSchemaKeyOfLineItemRecord(lineItemRecord: DataFieldAbstractTypes): string;
95
98
  /**
96
99
  * Retrieve header facet configurations that can be used to generate ObjectPage schemas
@@ -142,6 +145,13 @@ export declare function getTemplateTypeFromManifest(manifest: Manifest, fioriEle
142
145
  * @param facetKey - key of the facet
143
146
  */
144
147
  export declare function addSectionTitleAndDescription(facet: FacetConfig, section: object, facetKey: string): void;
148
+ /**
149
+ * Adds target title or description to a section or header section in an app schema
150
+ * @param facet - intermediate facet structure comprising annotation information
151
+ * @param section - section in the app schema
152
+ * @param facetKey - key of the facet
153
+ */
154
+ export declare function addTargetTitleAndSectionDescription(facet: FacetConfig, section: object, facetKey: string): void;
145
155
  /**
146
156
  * Creates a default object for a new section or subsection, and adds the ID as title if present.
147
157
  * @param facet Facet configuration, to be analyzed
@@ -1,2 +1,2 @@
1
- import { i18n } from 'i18next';
1
+ import type { i18n } from 'i18next';
2
2
  export declare function initI18n(i18nInstance: i18n): void;
@@ -1,5 +1,5 @@
1
- import { AppSettings as CommonSettingsV2, Pages, TableColumnVerticalAlignment, StatePreservationMode, DraftDiscardConfirmationSettings } from '../../specification/v2';
2
- import { Target, Application, FlexibleColumnLayout, Manifest } from '../../specification/common';
1
+ import type { AppSettings as CommonSettingsV2, Pages, TableColumnVerticalAlignment, StatePreservationMode, DraftDiscardConfirmationSettings } from '../../specification/v2';
2
+ import type { Target, Application, FlexibleColumnLayout, Manifest } from '../../specification/common';
3
3
  export declare const getAppSettingPathV2: (pageKeys: string[]) => string;
4
4
  export declare const getTableSettingPathV2: (pageKeys: string[]) => string;
5
5
  export declare const getChartSettingPathV2: (pageKeys: string[]) => string;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="@sapui5/ts-types" />
2
- import { Action as ActionConfig } from '../../../../specification/v2';
2
+ import type { Action as ActionConfig } from '../../../../specification/v2';
3
3
  /**
4
4
  * Create stable ID for Intent Based Action button
5
5
  *
@@ -1,4 +1,4 @@
1
- import { ChartSettings as ChartConfig, ChartType } from '../../../../specification/v2/controls/AnalyticalListPageChart';
1
+ import type { ChartSettings as ChartConfig, ChartType } from '../../../../specification/v2/controls/AnalyticalListPageChart';
2
2
  export declare const getSmartChartControlId: (baseId: string) => string;
3
3
  export declare class ChartSettings implements ChartConfig {
4
4
  showLegendButton?: boolean;
@@ -1,4 +1,4 @@
1
- import { KPISettings as KPIConfig } from '../../../../specification/v2/controls/AnalyticalListPageKPI';
1
+ import type { KPISettings as KPIConfig } from '../../../../specification/v2/controls/AnalyticalListPageKPI';
2
2
  export declare class KPISettings implements KPIConfig {
3
3
  model: string;
4
4
  entitySet?: string;
@@ -1,4 +1,4 @@
1
- import { CustomCard as CustomCardConfig, ListCard as ListCardConfig, AnalyticalCard as AnalyticalCardConfig, StackCard as StackCardConfig, LinklistCard as LinklistCardConfig, TableCard as TableCardConfig, AnalyticalCardSettings, AnalyticalCardSettingsv4, TableCardSettings, LinkListCardSettings, ListCardSettings, StackCardSettings, TabSetting, CustomCardSettings, CommonCardSettings as CommonCardConfig, DefaultSpanDef, StaticContent, CardTemplateType, PlotAreaDef } from '../../../../specification/v2/controls/Card';
1
+ import type { CustomCard as CustomCardConfig, ListCard as ListCardConfig, AnalyticalCard as AnalyticalCardConfig, StackCard as StackCardConfig, LinklistCard as LinklistCardConfig, TableCard as TableCardConfig, AnalyticalCardSettings, AnalyticalCardSettingsv4, TableCardSettings, LinkListCardSettings, ListCardSettings, StackCardSettings, TabSetting, CustomCardSettings, CommonCardSettings as CommonCardConfig, DefaultSpanDef, StaticContent, CardTemplateType, PlotAreaDef } from '../../../../specification/v2/controls/Card';
2
2
  export declare class CommonCardSettings implements CommonCardConfig {
3
3
  entitySet?: string;
4
4
  title: string;
@@ -1,4 +1,4 @@
1
- import { Field as ObjectPageFieldConfig } from '../../../../specification/v2';
1
+ import type { Field as ObjectPageFieldConfig } from '../../../../specification/v2';
2
2
  export declare class Field implements ObjectPageFieldConfig {
3
3
  visible?: boolean;
4
4
  }
@@ -1,13 +1,25 @@
1
- import { DateRangeType, SelectedValues, DateRange as DateRangeInterface, CommonFilterBar as FilterBarConfig, ListReportFilterBar as ListReportFilterBarIF, AnalyticalListPageFilterBar as AnalyticalListPageFilterBarIF } from '../../../../specification/v2';
1
+ import type { FilterType, DateRangeType, DefaultDateRangeValueType, DateRange as DateRangeInterface, CommonFilterBar as FilterBarConfig, SelectionFields as SelectionFieldsConfig, DefaultDateRange as DefaultDateRangeConfig, ListReportFilterBar as ListReportFilterBarIF, AnalyticalListPageFilterBar as AnalyticalListPageFilterBarIF, SelectionFieldDateSettings as SelectionFieldDateSettingsConfig } from '../../../../specification/v2';
2
+ import { SelectionField } from '../../../../specification/v2';
2
3
  export declare function importDateSettings(manifestSection: object): DateRange;
3
4
  export declare function exportDateSettings(manifestSection: unknown, configPart: DateRange, key: string): void;
5
+ export declare function exportDateSettingsField(manifestSection: unknown, configPart: DateRange, key: string): void;
4
6
  export declare class DateRange implements DateRangeInterface {
5
7
  useDateRange?: boolean;
6
8
  selectedValues?: DateRangeType[];
7
9
  exclude?: boolean;
8
- fields?: {
9
- [field: string]: SelectedValues;
10
- };
10
+ }
11
+ export declare class DefaultDateRange implements DefaultDateRangeConfig {
12
+ operation: DefaultDateRangeValueType;
13
+ }
14
+ export declare class SelectionFieldDateSettings implements SelectionFieldDateSettingsConfig {
15
+ selectedValues?: DateRangeType[];
16
+ exclude?: boolean;
17
+ customDateRangeImplementation?: string;
18
+ filter?: FilterType[];
19
+ defaultValue?: DefaultDateRange;
20
+ }
21
+ export declare class SelectionFields implements SelectionFieldsConfig {
22
+ [key: string]: SelectionField | SelectionFieldDateSettings;
11
23
  }
12
24
  export declare class CommonFilterBar implements FilterBarConfig {
13
25
  smartVariantManagement?: boolean;
@@ -15,6 +27,7 @@ export declare class CommonFilterBar implements FilterBarConfig {
15
27
  variantManagementHidden: boolean;
16
28
  subTitleIfVariantMgmtHidden?: string;
17
29
  dateSettings?: DateRange;
30
+ selectionFields?: SelectionFields;
18
31
  showClearOnFB?: boolean;
19
32
  showFilterConfiguration?: boolean;
20
33
  showRestoreOnFB?: boolean;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="@sapui5/ts-types" />
2
- import { FormAction as FormActionConfig } from '../../../../specification/v2';
2
+ import type { FormAction as FormActionConfig } from '../../../../specification/v2';
3
3
  export declare class FormAction implements FormActionConfig {
4
4
  visible: boolean;
5
5
  tooltip?: string;
@@ -1,15 +1,9 @@
1
- import { FileData, ViewTemplateType } from '../../../common/types';
2
- import { ExportResults, ExtensionLogger } from '../../../../v2';
3
- import { TableCustomColumns, SapUiAppPageV2 } from '../../../../specification/v2';
1
+ import type { TableCustomColumns, SapUiAppPageV2 } from '../../../../specification/v2';
2
+ import type { ExportResults, ExtensionLogger } from '../../../../v2';
3
+ import type { FileData } from '../../../common/types';
4
+ import { ViewTemplateType } from '../../../common/types';
4
5
  export declare const FRAGMENT_DEFINITION = "core:FragmentDefinition";
5
- /**
6
- * Method which receives fragment definition node and returns 'tag' name of root column definition.
7
- * There is different column definition names - method resolves them.
8
- * For example 'Column', 'table:Column', etc.
9
- * @param {unknown} definition - Application or Page Config object.
10
- * @returns {unknown | undefined} Root column tag name.
11
- */
12
- export declare function getTagNameFromFragmentJSON(definition: unknown): string | undefined;
6
+ export declare const SAP_UI_TABLE = "sap.ui.table";
13
7
  /**
14
8
  * Method which receives fragment definition node and reads root column definition.
15
9
  * @param {unknown} definition - Application or Page Config object.
@@ -1,4 +1,4 @@
1
- import { ObjectPageChart as ObjectPageChartConfig, GlobalChartSettings as GlobalChartSettingsConfig } from '../../../../specification/v2/index';
1
+ import type { ObjectPageChart as ObjectPageChartConfig, GlobalChartSettings as GlobalChartSettingsConfig } from '../../../../specification/v2/index';
2
2
  export declare class ObjectPageChart implements ObjectPageChartConfig {
3
3
  variantManagement?: boolean;
4
4
  }
@@ -1,6 +1,6 @@
1
- import { SectionPosition, ObjectPageCustomSectionView as ViewCustomSectionConfig, ObjectPageCustomSectionFragment as FragmentCustomSectionConfig, ObjectPageCustomSectionBase as BaseCustomSectionConfig, ExtensionFragmentTypes } from '../../../../specification/v2';
2
- import { SAPUI5_FRAGMENT_CLASS, SAPUI5_VIEW_CLASS } from '../../../../specification/common';
3
- import { ViewTypes } from '../../../../specification/common/webapp/manifest/sapUi5';
1
+ import type { SectionPosition, ObjectPageCustomSectionView as ViewCustomSectionConfig, ObjectPageCustomSectionFragment as FragmentCustomSectionConfig, ObjectPageCustomSectionBase as BaseCustomSectionConfig, ExtensionFragmentTypes } from '../../../../specification/v2';
2
+ import type { SAPUI5_FRAGMENT_CLASS, SAPUI5_VIEW_CLASS } from '../../../../specification/common';
3
+ import type { ViewTypes } from '../../../../specification/common/webapp/manifest/sapUi5';
4
4
  export declare class BaseCustomSection implements BaseCustomSectionConfig {
5
5
  relatedFacet: string;
6
6
  relativePosition: SectionPosition;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="@sapui5/ts-types" />
2
- import { ObjectPageFooterAction as FooterActionConfig } from '../../../../specification/v2';
2
+ import type { ObjectPageFooterAction as FooterActionConfig } from '../../../../specification/v2';
3
3
  export declare class ObjectPageFooterAction implements FooterActionConfig {
4
4
  visible: boolean;
5
5
  tooltip?: string;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="@sapui5/ts-types" />
2
- import { ObjectPageHeader as ObjectPageHeaderConfig, GenericActions } from '../../../../specification/v2/controls/ObjectPageHeader';
2
+ import type { ObjectPageHeader as ObjectPageHeaderConfig, GenericActions } from '../../../../specification/v2/controls/ObjectPageHeader';
3
3
  export declare class ObjectPageHeader<ACT = GenericActions> implements ObjectPageHeaderConfig<ACT> {
4
4
  showRelatedApps?: boolean;
5
5
  editableHeaderContent?: boolean;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="@sapui5/ts-types" />
2
- import { HeaderAction as HeaderActionConfig } from '../../../../specification/v2';
2
+ import type { HeaderAction as HeaderActionConfig } from '../../../../specification/v2';
3
3
  export declare class HeaderAction implements HeaderActionConfig {
4
4
  visible: boolean;
5
5
  tooltip?: string;
@@ -1,4 +1,4 @@
1
- import { ObjectPageLayout as ObjectPageLayoutConfig } from '../../../../specification/v2/controls/ObjectPageLayout';
1
+ import type { ObjectPageLayout as ObjectPageLayoutConfig } from '../../../../specification/v2/controls/ObjectPageLayout';
2
2
  export declare class ObjectPageLayout implements ObjectPageLayoutConfig {
3
3
  showHeaderContent?: boolean;
4
4
  showAnchorBar?: boolean;
@@ -1,11 +1,11 @@
1
- import { ObjectPageSectionFormV2 as ObjectPageSectionFormV2Config, ObjectPageSectionChartV2 as ObjectPageSectionChartV2Config, ObjectPageSectionTableV2 as ObjectPageSectionTableV2Config, ObjectPageSubSectionV2 as ObjectPageSubSectionV2Config } from '../../../../specification/v2/index';
2
- import { ControlTypeFunction } from '../../../common';
1
+ import type { ObjectPageSectionFormV2 as ObjectPageSectionFormV2Config, ObjectPageSectionChartV2 as ObjectPageSectionChartV2Config, ObjectPageSectionTableV2 as ObjectPageSectionTableV2Config, ObjectPageSubSectionV2 as ObjectPageSubSectionV2Config } from '../../../../specification/v2/index';
2
+ import type { ControlTypeFunction } from '../../../common';
3
3
  export declare const FacetTitlePrefix = "Facet ID: ";
4
- export declare const getTableSectionControlId: (baseId: string, idBreadcrumbs: string[], breadcrumbs: string[], controlType: ControlTypeFunction, facetID: string) => string;
5
- export declare const getFormSectionControlId: (baseId: string, idBreadcrumbs: string[], breadcrumbs: string[], controlType: ControlTypeFunction, title: string) => string;
4
+ export declare const getTableSectionControlId: (baseId: string, idBreadcrumbs: string[], breadcrumbs: string[], controlType: ControlTypeFunction, facetId: string) => string;
5
+ export declare const getFormSectionControlId: (baseId: string, idBreadcrumbs: string[], breadcrumbs: string[], controlType: ControlTypeFunction, facetId: string) => string;
6
6
  export declare const getChartSectionControlId: (baseId: string, idBreadcrumbs: string[], breadcrumbs: string[], controlType: ControlTypeFunction, facetID: string) => string;
7
- export declare const getSectionControlId: (baseId: string, idBreadcrumbs: string[], breadcrumbs: string[], controlType: ControlTypeFunction, title: string) => string;
8
- export declare const getSubSectionControlId: (baseId: string, idBreadcrumbs: string[], breadcrumbs: string[], controlType: ControlTypeFunction, title: string) => string;
7
+ export declare const getSectionControlId: (baseId: string, idBreadcrumbs: string[], breadcrumbs: string[], controlType: ControlTypeFunction, facetId: string) => string;
8
+ export declare const getSubSectionControlId: (baseId: string, idBreadcrumbs: string[], breadcrumbs: string[], controlType: ControlTypeFunction, facetId: string) => string;
9
9
  export declare class ObjectPageSectionV2 implements ObjectPageSubSectionV2Config {
10
10
  visible?: boolean;
11
11
  }
@@ -1,7 +1,7 @@
1
1
  /// <reference types="@sapui5/ts-types" />
2
- import { GenericColumns, CreateMode, TableTypeV2, Fields4Dialog, QuickVariant, FieldPathOP as FieldPathOPInterface, CreationFieldKeys, ObjectPageToolBar } from '../../../../specification/v2';
3
- import { ObjectPageCommonTableSettings as ObjectPageCommonTableConfig, ObjectPageResponsiveTable as ObjectPageResponsiveTableConfig, ObjectPageAnalyticalTable as ObjectPageAnalyticalTableConfig, ObjectPageGridTable as ObjectPageGridTableConfig, ObjectPageTreeTable as ObjectPageTreeTableConfig } from '../../../../specification/v2/controls/ObjectPageTable';
4
- import { DeprecatedProperties } from '../../../common';
2
+ import type { GenericColumns, CreateMode, TableTypeV2, Fields4Dialog, QuickVariant, FieldPathOP as FieldPathOPInterface, CreationFieldKeys, ObjectPageToolBar } from '../../../../specification/v2';
3
+ import type { ObjectPageCommonTableSettings as ObjectPageCommonTableConfig, ObjectPageResponsiveTable as ObjectPageResponsiveTableConfig, ObjectPageAnalyticalTable as ObjectPageAnalyticalTableConfig, ObjectPageGridTable as ObjectPageGridTableConfig, ObjectPageTreeTable as ObjectPageTreeTableConfig } from '../../../../specification/v2/controls/ObjectPageTable';
4
+ import type { DeprecatedProperties } from '../../../common';
5
5
  export declare class QuickVariantSelectionOP {
6
6
  showCounts?: boolean;
7
7
  variants: {
@@ -1,5 +1,5 @@
1
1
  /// <reference types="@sapui5/ts-types" />
2
- import { ObjectPageToolBarAction as ToolBarActionConfig } from '../../../../specification/v2';
2
+ import type { ObjectPageToolBarAction as ToolBarActionConfig } from '../../../../specification/v2';
3
3
  export declare class ObjectPageToolBarAction implements ToolBarActionConfig {
4
4
  visible: boolean;
5
5
  tooltip?: string;
@@ -1,6 +1,7 @@
1
1
  /// <reference types="@sapui5/ts-types" />
2
- import { AnalyticalTable as AnalyticalTableConfig, TableALP as TableALPConfig, CommonTableSettings as CommonTableConfig, DefaultContentView, DefaultFilterMode, GenericColumns, GridTable as GridTableConfig, LoadDataOnAppLaunchSettings, QuickVariantSelectionX as QuickVariantSelectionXInterface, ResponsiveTable as ResponsiveTableConfig, TableTypeV2, TreeTable as TreeTableConfig, Strategy, FieldPath as FieldPathInterface, QuickVariant, QuickVariantX, CreationFieldKeys, ToolBar } from '../../../../specification/v2';
3
- import { ControlTypeFunction, DeprecatedProperties } from '../../../common';
2
+ import type { AnalyticalTable as AnalyticalTableConfig, TableALP as TableALPConfig, CommonTableSettings as CommonTableConfig, DefaultContentView, DefaultFilterMode, GenericColumns, GridTable as GridTableConfig, LoadDataOnAppLaunchSettings, QuickVariantSelectionX as QuickVariantSelectionXInterface, ResponsiveTable as ResponsiveTableConfig, TreeTable as TreeTableConfig, Strategy, FieldPath as FieldPathInterface, QuickVariant, QuickVariantX, CreationFieldKeys, ToolBar } from '../../../../specification/v2';
3
+ import { TableTypeV2 } from '../../../../specification/v2';
4
+ import type { ControlTypeFunction, DeprecatedProperties } from '../../../common';
4
5
  export declare const getSmartTableControlId: (baseId: string, idBreadcrumbs: string[], _breadcrumbs: string[], controlType: ControlTypeFunction) => string;
5
6
  export declare function importCreateParameters(manifestSection: object): object;
6
7
  export declare function exportCreateParameters(manifestSection: unknown, configPart: Fields4Dialog): void;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="@sapui5/ts-types" />
2
- import { TableColumn as TableColumnConfig, TableColumnAction as TableColumnActionConfig, TableCustomColumn as TableCustomColumnConfig, TableColumnExtensionTypeV2 } from '../../../../specification/v2';
3
- import { SAPUI5_FRAGMENT_CLASS } from '../../../../specification/common/webapp/manifest';
2
+ import type { TableColumn as TableColumnConfig, TableColumnAction as TableColumnActionConfig, TableCustomColumn as TableCustomColumnConfig, TableColumnExtensionTypeV2 } from '../../../../specification/v2';
3
+ import type { SAPUI5_FRAGMENT_CLASS } from '../../../../specification/common/webapp/manifest';
4
4
  export declare class TableColumn implements TableColumnConfig {
5
5
  width?: string;
6
6
  hAlign?: sap.ui.core.TextAlign;
@@ -1,4 +1,4 @@
1
- import { ToolBar as ToolBarConfig, Actions } from '../../../../specification/v2';
1
+ import type { ToolBar as ToolBarConfig, Actions } from '../../../../specification/v2';
2
2
  export declare class ToolBar implements ToolBarConfig {
3
3
  actions: Actions;
4
4
  }
@@ -1,6 +1,6 @@
1
- import { ExportResults } from '../../../v2';
2
- import { MetadataInstanceInterface } from '../../common/decoration/factory';
3
- import { TransferParameterTypeV2 } from '../types';
1
+ import type { ExportResults } from '../../../v2';
2
+ import type { MetadataInstanceInterface } from '../../common/decoration/factory';
3
+ import type { TransferParameterTypeV2 } from '../types';
4
4
  /**
5
5
  * Private recursive function that traverses the content of the current object. It reads decorators and fills manifest entries and flex changes
6
6
  * @param configObject - current object to traverse
@@ -1,5 +1,5 @@
1
- import { UI5Version, ExportParametersV2, FioriElementsVersion } from '../../..';
2
- import { ExportResults } from '../../common';
1
+ import type { UI5Version, ExportParametersV2, FioriElementsVersion } from '../../..';
2
+ import type { ExportResults } from '../../common';
3
3
  /**
4
4
  * Exports a Fiori Element V2 page.
5
5
  * It converts the entries of the input page (config file) to corresponding manifest settings and flex changes
@@ -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
  * V2 specific factory class for creating instances of (reflect) metadata classes
4
5
  */
@@ -1,4 +1,4 @@
1
- import { Pages } from '../../../specification/v2';
1
+ import type { Pages } from '../../../specification/v2';
2
2
  export declare const getManifestSectionByPathV2: (manifest: object, path: string) => object;
3
3
  export declare const deleteManifestSectionByPathV2: (manifest: object, path: string) => void;
4
4
  export declare function transformPageToNewManifestV2(pageId: string, configPages: Pages, manifestPage: object): void;